@the-ai-company/cbio-node-runtime 1.45.5 → 1.46.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (199) hide show
  1. package/dist/clients/owner/client.d.ts +4 -10
  2. package/dist/clients/owner/client.js +39 -182
  3. package/dist/clients/owner/client.js.map +1 -1
  4. package/dist/protocol/crypto.d.ts +5 -0
  5. package/dist/protocol/crypto.js +11 -0
  6. package/dist/protocol/crypto.js.map +1 -1
  7. package/dist/runtime/bootstrap.d.ts +7 -20
  8. package/dist/runtime/bootstrap.js +15 -61
  9. package/dist/runtime/bootstrap.js.map +1 -1
  10. package/dist/runtime/identity.d.ts +1 -23
  11. package/dist/runtime/identity.js +2 -74
  12. package/dist/runtime/identity.js.map +1 -1
  13. package/dist/runtime/index.d.ts +8 -22
  14. package/dist/runtime/index.js +6 -10
  15. package/dist/runtime/index.js.map +1 -1
  16. package/dist/runtime/vault-metadata.d.ts +4 -16
  17. package/dist/runtime/vault-metadata.js +8 -43
  18. package/dist/runtime/vault-metadata.js.map +1 -1
  19. package/dist/vault-core/contracts.d.ts +0 -23
  20. package/dist/vault-core/contracts.js +0 -1
  21. package/dist/vault-core/contracts.js.map +1 -1
  22. package/dist/vault-core/core.d.ts +4 -4
  23. package/dist/vault-core/core.js +10 -76
  24. package/dist/vault-core/core.js.map +1 -1
  25. package/dist/vault-core/defaults.d.ts +4 -52
  26. package/dist/vault-core/defaults.js +2 -300
  27. package/dist/vault-core/defaults.js.map +1 -1
  28. package/dist/vault-core/index.d.ts +5 -5
  29. package/dist/vault-core/index.js +3 -3
  30. package/dist/vault-core/index.js.map +1 -1
  31. package/dist/vault-core/persistence.d.ts +5 -34
  32. package/dist/vault-core/persistence.js +8 -38
  33. package/dist/vault-core/persistence.js.map +1 -1
  34. package/dist/vault-core/ports.d.ts +2 -51
  35. package/dist/vault-ingress/index.d.ts +1 -2
  36. package/dist/vault-ingress/index.js +0 -5
  37. package/dist/vault-ingress/index.js.map +1 -1
  38. package/docs/api/README.md +6 -91
  39. package/docs/api/classes/IdentityError.md +1 -1
  40. package/docs/api/classes/VaultCore.md +320 -0
  41. package/docs/api/classes/VaultCoreError.md +1 -1
  42. package/docs/api/enumerations/IdentityErrorCode.md +1 -1
  43. package/docs/api/functions/createAgentClient.md +1 -1
  44. package/docs/api/functions/createIdentity.md +2 -2
  45. package/docs/api/functions/createOwnerHttpFlowBoundary.md +4 -4
  46. package/docs/api/functions/createPersistentVaultCoreDependencies.md +3 -67
  47. package/docs/api/functions/createStandardAcquireBoundary.md +3 -3
  48. package/docs/api/functions/createStandardDispatchBoundary.md +3 -3
  49. package/docs/api/functions/createVault.md +1 -1
  50. package/docs/api/functions/createVaultClient.md +2 -2
  51. package/docs/api/functions/createVaultCore.md +4 -4
  52. package/docs/api/functions/createVaultCoreDependencies.md +17 -0
  53. package/docs/api/functions/createVaultService.md +6 -6
  54. package/docs/api/functions/createWorkspaceStorage.md +1 -1
  55. package/docs/api/functions/deriveIdentityId.md +1 -1
  56. package/docs/api/functions/deriveVaultWorkingKeyFromPassword.md +24 -0
  57. package/docs/api/functions/getDefaultWorkspaceDir.md +1 -1
  58. package/docs/api/functions/handleVaultHttpDispatch.md +4 -4
  59. package/docs/api/functions/initializeVaultCustody.md +1 -1
  60. package/docs/api/functions/listVaults.md +3 -3
  61. package/docs/api/functions/readVaultProfile.md +3 -3
  62. package/docs/api/functions/recoverVault.md +1 -1
  63. package/docs/api/functions/recoverVaultWorkingKey.md +1 -1
  64. package/docs/api/functions/restoreIdentity.md +1 -1
  65. package/docs/api/functions/updateVaultMetadata.md +7 -7
  66. package/docs/api/functions/wrapVaultCoreAsVaultService.md +6 -6
  67. package/docs/api/functions/writeVaultProfile.md +3 -3
  68. package/docs/api/interfaces/AgentClient.md +3 -3
  69. package/docs/api/interfaces/AgentDispatchIntent.md +1 -1
  70. package/docs/api/interfaces/AgentDispatchTransport.md +4 -4
  71. package/docs/api/interfaces/AgentIdentity.md +1 -1
  72. package/docs/api/interfaces/AgentSigner.md +1 -1
  73. package/docs/api/interfaces/CbioRuntime.md +48 -389
  74. package/docs/api/interfaces/CreateAgentClientOptions.md +4 -4
  75. package/docs/api/interfaces/CreateIdentityOptions.md +1 -5
  76. package/docs/api/interfaces/CreatePersistentVaultCoreDependenciesOptions.md +9 -9
  77. package/docs/api/interfaces/CreateVaultClientOptions.md +5 -5
  78. package/docs/api/interfaces/CreateVaultOptions.md +16 -16
  79. package/docs/api/interfaces/CreatedVault.md +3 -3
  80. package/docs/api/interfaces/DefaultPolicyEngineOptions.md +3 -3
  81. package/docs/api/interfaces/IStorageProvider.md +1 -1
  82. package/docs/api/interfaces/InitializeVaultCustodyOptions.md +1 -1
  83. package/docs/api/interfaces/InitializedVaultCustody.md +1 -1
  84. package/docs/api/interfaces/OwnerDefineSecretTargetsInput.md +1 -1
  85. package/docs/api/interfaces/OwnerSecretTargetBinding.md +1 -1
  86. package/docs/api/interfaces/OwnerStoreSecretInput.md +1 -1
  87. package/docs/api/interfaces/OwnerWriteSecretInput.md +1 -1
  88. package/docs/api/interfaces/RecoverVaultOptions.md +10 -10
  89. package/docs/api/interfaces/RecoveredVault.md +3 -3
  90. package/docs/api/interfaces/RestoreIdentityOptions.md +1 -1
  91. package/docs/api/interfaces/Signer.md +1 -1
  92. package/docs/api/interfaces/VaultAuditQueryInput.md +1 -1
  93. package/docs/api/interfaces/VaultClient.md +17 -27
  94. package/docs/api/interfaces/{CreateDefaultVaultCoreDependenciesOptions.md → VaultCoreDependenciesOptions.md} +3 -3
  95. package/docs/api/interfaces/VaultDeleteSecretInput.md +1 -1
  96. package/docs/api/interfaces/VaultExportSecretInput.md +1 -1
  97. package/docs/api/interfaces/VaultGrantCapabilityInput.md +2 -2
  98. package/docs/api/interfaces/VaultIdentity.md +1 -1
  99. package/docs/api/interfaces/VaultListAgentsInput.md +1 -1
  100. package/docs/api/interfaces/VaultListCapabilitiesInput.md +1 -1
  101. package/docs/api/interfaces/VaultObject.md +3 -3
  102. package/docs/api/interfaces/VaultProfile.md +7 -11
  103. package/docs/api/interfaces/VaultPublicMetadata.md +1 -1
  104. package/docs/api/interfaces/VaultRegisterAgentInput.md +1 -1
  105. package/docs/api/interfaces/VaultRegisterFlowInput.md +7 -7
  106. package/docs/api/interfaces/VaultRevokeCapabilityInput.md +1 -1
  107. package/docs/api/interfaces/VaultSigner.md +1 -1
  108. package/docs/api/type-aliases/AgentCapabilityEnvelope.md +2 -2
  109. package/docs/api/type-aliases/CbioRuntimeModule.md +1 -1
  110. package/docs/api/variables/DEFAULT_VAULT_KEY_CUSTODY_BLOB_KEY.md +1 -1
  111. package/package.json +1 -1
  112. package/docs/api/classes/InMemoryReplayGuard.md +0 -45
  113. package/docs/api/enumerations/AuditAction.md +0 -95
  114. package/docs/api/enumerations/AuditOutcome.md +0 -29
  115. package/docs/api/enumerations/DispatchStatus.md +0 -23
  116. package/docs/api/functions/createChildIdentity.md +0 -25
  117. package/docs/api/functions/createDefaultVaultCoreDependencies.md +0 -77
  118. package/docs/api/functions/deriveChildIdentity.md +0 -41
  119. package/docs/api/functions/ensureIdentityPrivateVault.md +0 -21
  120. package/docs/api/functions/identityPrivateVaultChildrenKey.md +0 -17
  121. package/docs/api/functions/identityPrivateVaultPrefix.md +0 -17
  122. package/docs/api/functions/identityPrivateVaultProfileKey.md +0 -17
  123. package/docs/api/functions/identityPrivateVaultPublicSealedKey.md +0 -17
  124. package/docs/api/functions/listIdentities.md +0 -19
  125. package/docs/api/functions/readIdentityMetadata.md +0 -29
  126. package/docs/api/functions/readIdentityPrivateVaultChildrenState.md +0 -21
  127. package/docs/api/functions/readIdentityPrivateVaultProfile.md +0 -21
  128. package/docs/api/functions/readVaultPublicMetadata.md +0 -23
  129. package/docs/api/functions/toOwnerHttpFlowBoundary.md +0 -17
  130. package/docs/api/interfaces/AgentCapability.md +0 -103
  131. package/docs/api/interfaces/AgentIdentityRecord.md +0 -23
  132. package/docs/api/interfaces/AgentIdentityRegistry.md +0 -57
  133. package/docs/api/interfaces/AgentProof.md +0 -29
  134. package/docs/api/interfaces/AgentProofVerifier.md +0 -21
  135. package/docs/api/interfaces/AuditEntry.md +0 -89
  136. package/docs/api/interfaces/AuditLog.md +0 -37
  137. package/docs/api/interfaces/AuditQuery.md +0 -29
  138. package/docs/api/interfaces/CapabilityRegistry.md +0 -65
  139. package/docs/api/interfaces/CapabilityRevocationRegistry.md +0 -53
  140. package/docs/api/interfaces/ChildIdentity.md +0 -77
  141. package/docs/api/interfaces/Clock.md +0 -15
  142. package/docs/api/interfaces/CreateChildIdentityOptions.md +0 -19
  143. package/docs/api/interfaces/CustomHttpFlowDefinition.md +0 -71
  144. package/docs/api/interfaces/CustomHttpFlowRegistry.md +0 -41
  145. package/docs/api/interfaces/DeriveIdentityOptions.md +0 -11
  146. package/docs/api/interfaces/DispatchAuthorization.md +0 -35
  147. package/docs/api/interfaces/DispatchInstruction.md +0 -47
  148. package/docs/api/interfaces/DispatchRequest.md +0 -77
  149. package/docs/api/interfaces/DispatchResult.md +0 -53
  150. package/docs/api/interfaces/IdGenerator.md +0 -39
  151. package/docs/api/interfaces/IdentityPrivateVaultChildRecord.md +0 -35
  152. package/docs/api/interfaces/IdentityPrivateVaultChildrenState.md +0 -17
  153. package/docs/api/interfaces/IdentityPrivateVaultProfile.md +0 -35
  154. package/docs/api/interfaces/IssuerWriteSecretCommand.md +0 -59
  155. package/docs/api/interfaces/OwnerAuditRequest.md +0 -47
  156. package/docs/api/interfaces/OwnerDefineSecretTargetsCommand.md +0 -53
  157. package/docs/api/interfaces/OwnerDeleteSecretCommand.md +0 -47
  158. package/docs/api/interfaces/OwnerExportSecretRequest.md +0 -47
  159. package/docs/api/interfaces/OwnerHttpFlowBoundary.md +0 -51
  160. package/docs/api/interfaces/OwnerIdentityRecord.md +0 -23
  161. package/docs/api/interfaces/OwnerIdentityRegistry.md +0 -57
  162. package/docs/api/interfaces/OwnerListAgentsRequest.md +0 -41
  163. package/docs/api/interfaces/OwnerListCapabilitiesRequest.md +0 -47
  164. package/docs/api/interfaces/OwnerProof.md +0 -29
  165. package/docs/api/interfaces/OwnerProofVerifier.md +0 -181
  166. package/docs/api/interfaces/OwnerRegisterAgentIdentityCommand.md +0 -47
  167. package/docs/api/interfaces/OwnerRegisterCapabilityCommand.md +0 -47
  168. package/docs/api/interfaces/OwnerRegisterCustomHttpFlowCommand.md +0 -83
  169. package/docs/api/interfaces/OwnerRevokeCapabilityCommand.md +0 -53
  170. package/docs/api/interfaces/OwnerSecretExport.md +0 -35
  171. package/docs/api/interfaces/OwnerWriteSecretCommand.md +0 -65
  172. package/docs/api/interfaces/PolicyEngine.md +0 -81
  173. package/docs/api/interfaces/RateLimitStore.md +0 -33
  174. package/docs/api/interfaces/ReplayGuard.md +0 -21
  175. package/docs/api/interfaces/SecretAlias.md +0 -11
  176. package/docs/api/interfaces/SecretCustody.md +0 -57
  177. package/docs/api/interfaces/SecretId.md +0 -11
  178. package/docs/api/interfaces/SecretRecord.md +0 -53
  179. package/docs/api/interfaces/SecretRepository.md +0 -69
  180. package/docs/api/interfaces/SecretVersion.md +0 -11
  181. package/docs/api/interfaces/SignatureAgentProofVerifierOptions.md +0 -21
  182. package/docs/api/interfaces/TrustedExecutor.md +0 -31
  183. package/docs/api/interfaces/VaultAcquireSecretInput.md +0 -53
  184. package/docs/api/interfaces/VaultAcquireSecretResult.md +0 -41
  185. package/docs/api/interfaces/VaultAgentDispatchErrorResponse.md +0 -25
  186. package/docs/api/interfaces/VaultAgentDispatchRequest.md +0 -75
  187. package/docs/api/interfaces/VaultAgentDispatchResponse.md +0 -17
  188. package/docs/api/interfaces/VaultCore.md +0 -311
  189. package/docs/api/interfaces/VaultCoreDependencies.md +0 -95
  190. package/docs/api/interfaces/VaultCustomFlowResolver.md +0 -25
  191. package/docs/api/interfaces/VaultId.md +0 -11
  192. package/docs/api/interfaces/VaultPrincipal.md +0 -17
  193. package/docs/api/interfaces/VaultService.md +0 -251
  194. package/docs/api/interfaces/VaultTargetBinding.md +0 -35
  195. package/docs/api/type-aliases/IdentityPrivateVaultAccess.md +0 -7
  196. package/docs/api/type-aliases/RedactedResponseShape.md +0 -7
  197. package/docs/api/type-aliases/VaultAcquireSecretFlow.md +0 -7
  198. package/docs/api/type-aliases/VaultPrincipalKind.md +0 -7
  199. package/docs/api/type-aliases/VaultWriteSecretCommand.md +0 -7
@@ -1,81 +0,0 @@
1
- [**CBIO Node Runtime Agent API v1.45.5**](../README.md)
2
-
3
- ***
4
-
5
- # Interface: PolicyEngine
6
-
7
- ## Methods
8
-
9
- ### authorizeDefineSecretTargets()
10
-
11
- > **authorizeDefineSecretTargets**(`command`): `Promise`\<`void`\>
12
-
13
- #### Parameters
14
-
15
- ##### command
16
-
17
- [`OwnerDefineSecretTargetsCommand`](OwnerDefineSecretTargetsCommand.md)
18
-
19
- #### Returns
20
-
21
- `Promise`\<`void`\>
22
-
23
- ***
24
-
25
- ### authorizeDispatch()
26
-
27
- > **authorizeDispatch**(`request`, `record?`): `Promise`\<`void`\>
28
-
29
- #### Parameters
30
-
31
- ##### request
32
-
33
- [`DispatchRequest`](DispatchRequest.md)
34
-
35
- ##### record?
36
-
37
- [`SecretRecord`](SecretRecord.md) \| `null`
38
-
39
- #### Returns
40
-
41
- `Promise`\<`void`\>
42
-
43
- ***
44
-
45
- ### authorizeWrite()
46
-
47
- > **authorizeWrite**(`command`): `Promise`\<`void`\>
48
-
49
- #### Parameters
50
-
51
- ##### command
52
-
53
- [`VaultWriteSecretCommand`](../type-aliases/VaultWriteSecretCommand.md)
54
-
55
- #### Returns
56
-
57
- `Promise`\<`void`\>
58
-
59
- ***
60
-
61
- ### revokeCapability()
62
-
63
- > **revokeCapability**(`vaultId`, `agentId`, `capabilityId`): `Promise`\<`number`\>
64
-
65
- #### Parameters
66
-
67
- ##### vaultId
68
-
69
- [`VaultId`](VaultId.md)
70
-
71
- ##### agentId
72
-
73
- `string`
74
-
75
- ##### capabilityId
76
-
77
- `string`
78
-
79
- #### Returns
80
-
81
- `Promise`\<`number`\>
@@ -1,33 +0,0 @@
1
- [**CBIO Node Runtime Agent API v1.45.5**](../README.md)
2
-
3
- ***
4
-
5
- # Interface: RateLimitStore
6
-
7
- ## Methods
8
-
9
- ### consume()
10
-
11
- > **consume**(`key`, `maxRequests`, `windowMs`, `nowMs`): `Promise`\<`void`\>
12
-
13
- #### Parameters
14
-
15
- ##### key
16
-
17
- `string`
18
-
19
- ##### maxRequests
20
-
21
- `number`
22
-
23
- ##### windowMs
24
-
25
- `number`
26
-
27
- ##### nowMs
28
-
29
- `number`
30
-
31
- #### Returns
32
-
33
- `Promise`\<`void`\>
@@ -1,21 +0,0 @@
1
- [**CBIO Node Runtime Agent API v1.45.5**](../README.md)
2
-
3
- ***
4
-
5
- # Interface: ReplayGuard
6
-
7
- ## Methods
8
-
9
- ### assertNotReplayed()
10
-
11
- > **assertNotReplayed**(`request`): `Promise`\<`void`\>
12
-
13
- #### Parameters
14
-
15
- ##### request
16
-
17
- [`DispatchRequest`](DispatchRequest.md)
18
-
19
- #### Returns
20
-
21
- `Promise`\<`void`\>
@@ -1,11 +0,0 @@
1
- [**CBIO Node Runtime Agent API v1.45.5**](../README.md)
2
-
3
- ***
4
-
5
- # Interface: SecretAlias
6
-
7
- ## Properties
8
-
9
- ### value
10
-
11
- > `readonly` **value**: `string`
@@ -1,57 +0,0 @@
1
- [**CBIO Node Runtime Agent API v1.45.5**](../README.md)
2
-
3
- ***
4
-
5
- # Interface: SecretCustody
6
-
7
- ## Methods
8
-
9
- ### delete()
10
-
11
- > **delete**(`secretId`): `Promise`\<`void`\>
12
-
13
- #### Parameters
14
-
15
- ##### secretId
16
-
17
- [`SecretId`](SecretId.md)
18
-
19
- #### Returns
20
-
21
- `Promise`\<`void`\>
22
-
23
- ***
24
-
25
- ### load()
26
-
27
- > **load**(`secretId`): `Promise`\<`string` \| `null`\>
28
-
29
- #### Parameters
30
-
31
- ##### secretId
32
-
33
- [`SecretId`](SecretId.md)
34
-
35
- #### Returns
36
-
37
- `Promise`\<`string` \| `null`\>
38
-
39
- ***
40
-
41
- ### store()
42
-
43
- > **store**(`secretId`, `plaintext`): `Promise`\<`void`\>
44
-
45
- #### Parameters
46
-
47
- ##### secretId
48
-
49
- [`SecretId`](SecretId.md)
50
-
51
- ##### plaintext
52
-
53
- `string`
54
-
55
- #### Returns
56
-
57
- `Promise`\<`void`\>
@@ -1,11 +0,0 @@
1
- [**CBIO Node Runtime Agent API v1.45.5**](../README.md)
2
-
3
- ***
4
-
5
- # Interface: SecretId
6
-
7
- ## Properties
8
-
9
- ### value
10
-
11
- > `readonly` **value**: `string`
@@ -1,53 +0,0 @@
1
- [**CBIO Node Runtime Agent API v1.45.5**](../README.md)
2
-
3
- ***
4
-
5
- # Interface: SecretRecord
6
-
7
- ## Properties
8
-
9
- ### alias
10
-
11
- > **alias**: [`SecretAlias`](SecretAlias.md)
12
-
13
- ***
14
-
15
- ### createdAt
16
-
17
- > **createdAt**: `string`
18
-
19
- ***
20
-
21
- ### issuerId
22
-
23
- > **issuerId**: `string` \| `null`
24
-
25
- ***
26
-
27
- ### secretId
28
-
29
- > **secretId**: [`SecretId`](SecretId.md)
30
-
31
- ***
32
-
33
- ### targetBindings
34
-
35
- > **targetBindings**: [`VaultTargetBinding`](VaultTargetBinding.md)[]
36
-
37
- ***
38
-
39
- ### updatedAt
40
-
41
- > **updatedAt**: `string`
42
-
43
- ***
44
-
45
- ### vaultId
46
-
47
- > **vaultId**: [`VaultId`](VaultId.md)
48
-
49
- ***
50
-
51
- ### version
52
-
53
- > **version**: [`SecretVersion`](SecretVersion.md)
@@ -1,69 +0,0 @@
1
- [**CBIO Node Runtime Agent API v1.45.5**](../README.md)
2
-
3
- ***
4
-
5
- # Interface: SecretRepository
6
-
7
- ## Methods
8
-
9
- ### delete()
10
-
11
- > **delete**(`secretId`): `Promise`\<`void`\>
12
-
13
- #### Parameters
14
-
15
- ##### secretId
16
-
17
- [`SecretId`](SecretId.md)
18
-
19
- #### Returns
20
-
21
- `Promise`\<`void`\>
22
-
23
- ***
24
-
25
- ### getByAlias()
26
-
27
- > **getByAlias**(`alias`): `Promise`\<[`SecretRecord`](SecretRecord.md) \| `null`\>
28
-
29
- #### Parameters
30
-
31
- ##### alias
32
-
33
- [`SecretAlias`](SecretAlias.md)
34
-
35
- #### Returns
36
-
37
- `Promise`\<[`SecretRecord`](SecretRecord.md) \| `null`\>
38
-
39
- ***
40
-
41
- ### getById()
42
-
43
- > **getById**(`secretId`): `Promise`\<[`SecretRecord`](SecretRecord.md) \| `null`\>
44
-
45
- #### Parameters
46
-
47
- ##### secretId
48
-
49
- [`SecretId`](SecretId.md)
50
-
51
- #### Returns
52
-
53
- `Promise`\<[`SecretRecord`](SecretRecord.md) \| `null`\>
54
-
55
- ***
56
-
57
- ### save()
58
-
59
- > **save**(`record`): `Promise`\<`void`\>
60
-
61
- #### Parameters
62
-
63
- ##### record
64
-
65
- [`SecretRecord`](SecretRecord.md)
66
-
67
- #### Returns
68
-
69
- `Promise`\<`void`\>
@@ -1,11 +0,0 @@
1
- [**CBIO Node Runtime Agent API v1.45.5**](../README.md)
2
-
3
- ***
4
-
5
- # Interface: SecretVersion
6
-
7
- ## Properties
8
-
9
- ### value
10
-
11
- > `readonly` **value**: `string`
@@ -1,21 +0,0 @@
1
- [**CBIO Node Runtime Agent API v1.45.5**](../README.md)
2
-
3
- ***
4
-
5
- # Interface: SignatureAgentProofVerifierOptions
6
-
7
- ## Properties
8
-
9
- ### maxSkewMs?
10
-
11
- > `optional` **maxSkewMs?**: `number`
12
-
13
- ***
14
-
15
- ### now?
16
-
17
- > `optional` **now?**: () => `Date`
18
-
19
- #### Returns
20
-
21
- `Date`
@@ -1,31 +0,0 @@
1
- [**CBIO Node Runtime Agent API v1.45.5**](../README.md)
2
-
3
- ***
4
-
5
- # Interface: TrustedExecutor
6
-
7
- ## Methods
8
-
9
- ### dispatch()
10
-
11
- > **dispatch**(`instruction`, `secret`): `Promise`\<[`DispatchResult`](DispatchResult.md)\>
12
-
13
- #### Parameters
14
-
15
- ##### instruction
16
-
17
- [`DispatchInstruction`](DispatchInstruction.md)
18
-
19
- ##### secret
20
-
21
- ###### plaintext
22
-
23
- `string`
24
-
25
- ###### record
26
-
27
- [`SecretRecord`](SecretRecord.md)
28
-
29
- #### Returns
30
-
31
- `Promise`\<[`DispatchResult`](DispatchResult.md)\>
@@ -1,53 +0,0 @@
1
- [**CBIO Node Runtime Agent API v1.45.5**](../README.md)
2
-
3
- ***
4
-
5
- # Interface: VaultAcquireSecretInput
6
-
7
- ## Properties
8
-
9
- ### alias
10
-
11
- > **alias**: `string`
12
-
13
- ***
14
-
15
- ### body?
16
-
17
- > `optional` **body?**: `string`
18
-
19
- ***
20
-
21
- ### flow
22
-
23
- > **flow**: [`VaultAcquireSecretFlow`](../type-aliases/VaultAcquireSecretFlow.md)
24
-
25
- ***
26
-
27
- ### headers?
28
-
29
- > `optional` **headers?**: `Record`\<`string`, `string`\>
30
-
31
- ***
32
-
33
- ### issuerId
34
-
35
- > **issuerId**: `string`
36
-
37
- ***
38
-
39
- ### method?
40
-
41
- > `optional` **method?**: `string`
42
-
43
- ***
44
-
45
- ### requestedAt?
46
-
47
- > `optional` **requestedAt?**: `string`
48
-
49
- ***
50
-
51
- ### url
52
-
53
- > **url**: `string`
@@ -1,41 +0,0 @@
1
- [**CBIO Node Runtime Agent API v1.45.5**](../README.md)
2
-
3
- ***
4
-
5
- # Interface: VaultAcquireSecretResult
6
-
7
- ## Properties
8
-
9
- ### alias
10
-
11
- > **alias**: `string`
12
-
13
- ***
14
-
15
- ### contentType
16
-
17
- > **contentType**: `string` \| `null`
18
-
19
- ***
20
-
21
- ### responseShape
22
-
23
- > **responseShape**: [`RedactedResponseShape`](../type-aliases/RedactedResponseShape.md)
24
-
25
- ***
26
-
27
- ### responseStatus
28
-
29
- > **responseStatus**: `number`
30
-
31
- ***
32
-
33
- ### status
34
-
35
- > **status**: `"stored"`
36
-
37
- ***
38
-
39
- ### vaultId
40
-
41
- > **vaultId**: [`VaultId`](VaultId.md)
@@ -1,25 +0,0 @@
1
- [**CBIO Node Runtime Agent API v1.45.5**](../README.md)
2
-
3
- ***
4
-
5
- # Interface: VaultAgentDispatchErrorResponse
6
-
7
- ## Properties
8
-
9
- ### error
10
-
11
- > **error**: `object`
12
-
13
- #### code
14
-
15
- > **code**: `string`
16
-
17
- #### message
18
-
19
- > **message**: `string`
20
-
21
- ***
22
-
23
- ### ok
24
-
25
- > **ok**: `false`
@@ -1,75 +0,0 @@
1
- [**CBIO Node Runtime Agent API v1.45.5**](../README.md)
2
-
3
- ***
4
-
5
- # Interface: VaultAgentDispatchRequest
6
-
7
- ## Properties
8
-
9
- ### agentId
10
-
11
- > **agentId**: `string`
12
-
13
- ***
14
-
15
- ### body?
16
-
17
- > `optional` **body?**: `string`
18
-
19
- ***
20
-
21
- ### capabilityId
22
-
23
- > **capabilityId**: `string`
24
-
25
- ***
26
-
27
- ### headers?
28
-
29
- > `optional` **headers?**: `Record`\<`string`, `string`\>
30
-
31
- ***
32
-
33
- ### method
34
-
35
- > **method**: `string`
36
-
37
- ***
38
-
39
- ### proof
40
-
41
- > **proof**: `object`
42
-
43
- #### signature
44
-
45
- > **signature**: `string`
46
-
47
- ***
48
-
49
- ### requestedAt
50
-
51
- > **requestedAt**: `string`
52
-
53
- ***
54
-
55
- ### requestId
56
-
57
- > **requestId**: `string`
58
-
59
- ***
60
-
61
- ### secretAlias?
62
-
63
- > `optional` **secretAlias?**: `string`
64
-
65
- ***
66
-
67
- ### targetUrl
68
-
69
- > **targetUrl**: `string`
70
-
71
- ***
72
-
73
- ### vaultId
74
-
75
- > **vaultId**: `string`
@@ -1,17 +0,0 @@
1
- [**CBIO Node Runtime Agent API v1.45.5**](../README.md)
2
-
3
- ***
4
-
5
- # Interface: VaultAgentDispatchResponse
6
-
7
- ## Properties
8
-
9
- ### ok
10
-
11
- > **ok**: `true`
12
-
13
- ***
14
-
15
- ### result
16
-
17
- > **result**: [`DispatchResult`](DispatchResult.md)