@the-ai-company/cbio-node-runtime 1.63.3 → 1.63.5

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 (234) hide show
  1. package/README.md +48 -209
  2. package/dist/clients/agent/client.d.ts +18 -40
  3. package/dist/clients/agent/client.js +22 -109
  4. package/dist/clients/agent/client.js.map +1 -1
  5. package/dist/clients/agent/contracts.d.ts +1 -8
  6. package/dist/clients/agent/index.d.ts +1 -1
  7. package/dist/clients/owner/client.d.ts +2 -102
  8. package/dist/clients/owner/client.js +119 -240
  9. package/dist/clients/owner/client.js.map +1 -1
  10. package/dist/clients/owner/contracts.d.ts +37 -70
  11. package/dist/clients/owner/index.d.ts +2 -4
  12. package/dist/clients/owner/index.js +1 -2
  13. package/dist/clients/owner/index.js.map +1 -1
  14. package/dist/internal/id-factory.d.ts +0 -2
  15. package/dist/internal/id-factory.js +0 -6
  16. package/dist/internal/id-factory.js.map +1 -1
  17. package/dist/protocol/identity.d.ts +1 -1
  18. package/dist/protocol/identity.js +3 -3
  19. package/dist/protocol/identity.js.map +1 -1
  20. package/dist/public-types.d.ts +5 -14
  21. package/dist/public-types.js +1 -8
  22. package/dist/public-types.js.map +1 -1
  23. package/dist/runtime/bootstrap.js.map +1 -1
  24. package/dist/runtime/identity.d.ts +2 -2
  25. package/dist/runtime/identity.js +3 -5
  26. package/dist/runtime/identity.js.map +1 -1
  27. package/dist/runtime/index.d.ts +10 -12
  28. package/dist/runtime/index.js +7 -8
  29. package/dist/runtime/index.js.map +1 -1
  30. package/dist/runtime/owner-session.d.ts +7 -6
  31. package/dist/runtime/owner-session.js +5 -6
  32. package/dist/runtime/owner-session.js.map +1 -1
  33. package/dist/storage/fs.d.ts +3 -2
  34. package/dist/storage/fs.js +8 -5
  35. package/dist/storage/fs.js.map +1 -1
  36. package/dist/storage/prefix.d.ts +1 -0
  37. package/dist/storage/prefix.js +7 -0
  38. package/dist/storage/prefix.js.map +1 -1
  39. package/dist/storage/provider.d.ts +2 -0
  40. package/dist/vault-core/contracts.d.ts +112 -193
  41. package/dist/vault-core/contracts.js +5 -8
  42. package/dist/vault-core/contracts.js.map +1 -1
  43. package/dist/vault-core/core.d.ts +127 -62
  44. package/dist/vault-core/core.js +500 -1182
  45. package/dist/vault-core/core.js.map +1 -1
  46. package/dist/vault-core/defaults.d.ts +26 -42
  47. package/dist/vault-core/defaults.js +73 -229
  48. package/dist/vault-core/defaults.js.map +1 -1
  49. package/dist/vault-core/errors.d.ts +3 -2
  50. package/dist/vault-core/errors.js.map +1 -1
  51. package/dist/vault-core/index.d.ts +5 -5
  52. package/dist/vault-core/index.js +2 -2
  53. package/dist/vault-core/index.js.map +1 -1
  54. package/dist/vault-core/persistence.d.ts +78 -118
  55. package/dist/vault-core/persistence.js +329 -421
  56. package/dist/vault-core/persistence.js.map +1 -1
  57. package/dist/vault-core/ports.d.ts +19 -24
  58. package/dist/vault-core/read-policy.d.ts +3 -2
  59. package/dist/vault-core/read-policy.js.map +1 -1
  60. package/dist/vault-core/tool-metadata.js +2 -2
  61. package/dist/vault-core/tool-metadata.js.map +1 -1
  62. package/dist/vault-ingress/defaults.d.ts +4 -2
  63. package/dist/vault-ingress/defaults.js +14 -8
  64. package/dist/vault-ingress/defaults.js.map +1 -1
  65. package/dist/vault-ingress/index.d.ts +43 -117
  66. package/dist/vault-ingress/index.js +98 -453
  67. package/dist/vault-ingress/index.js.map +1 -1
  68. package/dist/vault-ingress/remote-transport.d.ts +5 -3
  69. package/dist/vault-ingress/remote-transport.js +8 -28
  70. package/dist/vault-ingress/remote-transport.js.map +1 -1
  71. package/docs/ARCHITECTURE.md +39 -22
  72. package/docs/CUSTODY_MODEL.md +1 -1
  73. package/docs/IDENTITY_MODEL.md +5 -5
  74. package/docs/MIGRATION-1.51.md +19 -19
  75. package/docs/MIGRATION-1.65.md +61 -0
  76. package/docs/PROCESS_ISOLATION.md +2 -2
  77. package/docs/REFERENCE.md +42 -224
  78. package/docs/api/README.md +50 -29
  79. package/docs/api/classes/IdentityError.md +1 -1
  80. package/docs/api/classes/OwnerClientError.md +1 -1
  81. package/docs/api/classes/PersistentVaultAgentIdentityRegistry.md +89 -0
  82. package/docs/api/classes/PersistentVaultAgentSecretGrantRegistry.md +125 -0
  83. package/docs/api/classes/PersistentVaultAuditLog.md +65 -0
  84. package/docs/api/classes/PersistentVaultCustomHttpFlowRegistry.md +69 -0
  85. package/docs/api/classes/PersistentVaultSecretCustody.md +93 -0
  86. package/docs/api/classes/PersistentVaultSecretDestinationGrantRegistry.md +125 -0
  87. package/docs/api/classes/PersistentVaultSecretRepository.md +127 -0
  88. package/docs/api/classes/VaultCore.md +299 -214
  89. package/docs/api/classes/VaultCoreError.md +3 -3
  90. package/docs/api/enumerations/AuditAction.md +143 -0
  91. package/docs/api/enumerations/AuditOutcome.md +35 -0
  92. package/docs/api/enumerations/DispatchStatus.md +35 -0
  93. package/docs/api/enumerations/IdentityErrorCode.md +1 -1
  94. package/docs/api/enumerations/OwnerClientErrorCode.md +1 -1
  95. package/docs/api/functions/createAgentClient.md +1 -15
  96. package/docs/api/functions/createIdentity.md +2 -2
  97. package/docs/api/functions/createOwnerClient.md +17 -0
  98. package/docs/api/functions/createOwnerSession.md +1 -1
  99. package/docs/api/functions/createPersistentVaultCoreDependencies.md +4 -4
  100. package/docs/api/functions/createVault.md +1 -1
  101. package/docs/api/functions/createVaultCore.md +1 -1
  102. package/docs/api/functions/createVaultCoreDependencies.md +1 -1
  103. package/docs/api/functions/createVaultService.md +5 -9
  104. package/docs/api/functions/createWorkspaceStorage.md +1 -1
  105. package/docs/api/functions/deriveRootAgentId.md +17 -0
  106. package/docs/api/functions/deriveVaultWorkingKeyFromPassword.md +1 -1
  107. package/docs/api/functions/getDefaultWorkspaceDir.md +1 -1
  108. package/docs/api/functions/handleVaultAgentControlHttp.md +2 -2
  109. package/docs/api/functions/handleVaultHttpDispatch.md +2 -2
  110. package/docs/api/functions/initializeVaultCustody.md +7 -3
  111. package/docs/api/functions/listVaults.md +1 -1
  112. package/docs/api/functions/readVaultProfile.md +1 -1
  113. package/docs/api/functions/recoverVault.md +1 -1
  114. package/docs/api/functions/recoverVaultWorkingKey.md +4 -8
  115. package/docs/api/functions/restoreIdentity.md +1 -1
  116. package/docs/api/functions/updateVaultMetadata.md +1 -1
  117. package/docs/api/functions/writeVaultProfile.md +1 -1
  118. package/docs/api/interfaces/AgentClient.md +20 -59
  119. package/docs/api/interfaces/AgentDispatchIntent.md +1 -1
  120. package/docs/api/interfaces/AgentDispatchTransport.md +12 -44
  121. package/docs/api/interfaces/AgentIdentity.md +3 -3
  122. package/docs/api/interfaces/AgentIdentityRecord.md +47 -0
  123. package/docs/api/interfaces/AgentRequestResult.md +35 -0
  124. package/docs/api/interfaces/AgentRuntimeManifest.md +55 -0
  125. package/docs/api/interfaces/AgentSecretGrant.md +41 -0
  126. package/docs/api/interfaces/AgentSigner.md +1 -1
  127. package/docs/api/interfaces/AgentVisibleRequestRecord.md +53 -0
  128. package/docs/api/interfaces/AgentVisibleSecretRecord.md +65 -0
  129. package/docs/api/interfaces/AuditEntry.md +83 -0
  130. package/docs/api/interfaces/CbioRuntime.md +13 -150
  131. package/docs/api/interfaces/CreateAgentClientOptions.md +4 -10
  132. package/docs/api/interfaces/CreateIdentityOptions.md +1 -1
  133. package/docs/api/interfaces/{CreateVaultClientOptions.md → CreateOwnerClientOptions.md} +9 -11
  134. package/docs/api/interfaces/CreateOwnerSessionOptions.md +3 -117
  135. package/docs/api/interfaces/CreatePersistentVaultCoreDependenciesOptions.md +3 -131
  136. package/docs/api/interfaces/CreateVaultOptions.md +1 -121
  137. package/docs/api/interfaces/CreatedVault.md +2 -2
  138. package/docs/api/interfaces/CustomHttpFlowDefinition.md +71 -0
  139. package/docs/api/interfaces/DefaultPolicyEngineOptions.md +1 -13
  140. package/docs/api/interfaces/DispatchAuthorization.md +43 -0
  141. package/docs/api/interfaces/DispatchInstruction.md +47 -0
  142. package/docs/api/interfaces/DispatchRequest.md +83 -0
  143. package/docs/api/interfaces/DispatchResult.md +53 -0
  144. package/docs/api/interfaces/IStorageProvider.md +13 -1
  145. package/docs/api/interfaces/InitializeVaultCustodyOptions.md +31 -11
  146. package/docs/api/interfaces/InitializedVaultCustody.md +1 -7
  147. package/docs/api/interfaces/OwnerAgentProvisionResult.md +2 -2
  148. package/docs/api/interfaces/OwnerClient.md +417 -0
  149. package/docs/api/interfaces/OwnerCreateSecretInput.md +1 -1
  150. package/docs/api/interfaces/OwnerRemoveSecretInput.md +1 -1
  151. package/docs/api/interfaces/OwnerRequestRecord.md +97 -0
  152. package/docs/api/interfaces/OwnerSensitiveActionConfirmation.md +1 -1
  153. package/docs/api/interfaces/OwnerSensitiveActionContext.md +1 -1
  154. package/docs/api/interfaces/OwnerSession.md +3 -3
  155. package/docs/api/interfaces/OwnerUpdateSecretInput.md +1 -1
  156. package/docs/api/interfaces/OwnerVisibleRequestRecord.md +73 -0
  157. package/docs/api/interfaces/RecoverVaultOptions.md +1 -121
  158. package/docs/api/interfaces/RecoveredVault.md +2 -2
  159. package/docs/api/interfaces/RequestRecord.md +107 -0
  160. package/docs/api/interfaces/RestoreIdentityOptions.md +1 -1
  161. package/docs/api/interfaces/SecretAlias.md +11 -0
  162. package/docs/api/interfaces/SecretDestinationGrant.md +41 -0
  163. package/docs/api/interfaces/SecretId.md +11 -0
  164. package/docs/api/interfaces/SecretRecord.md +89 -0
  165. package/docs/api/interfaces/Signer.md +1 -1
  166. package/docs/api/interfaces/VaultApproveDispatchInput.md +3 -9
  167. package/docs/api/interfaces/VaultAuditQueryInput.md +1 -1
  168. package/docs/api/interfaces/VaultCoreDependenciesOptions.md +1 -5
  169. package/docs/api/interfaces/VaultCreateAgentInput.md +1 -1
  170. package/docs/api/interfaces/VaultExportSecretInput.md +1 -1
  171. package/docs/api/interfaces/VaultGetRequestInput.md +17 -0
  172. package/docs/api/interfaces/VaultGrantAgentSecretInput.md +23 -0
  173. package/docs/api/interfaces/VaultGrantSecretDestinationInput.md +23 -0
  174. package/docs/api/interfaces/VaultId.md +11 -0
  175. package/docs/api/interfaces/VaultImportAgentInput.md +1 -1
  176. package/docs/api/interfaces/VaultIssueSessionTokenInput.md +5 -5
  177. package/docs/api/interfaces/VaultListAgentsInput.md +1 -1
  178. package/docs/api/interfaces/VaultListGrantsInput.md +23 -0
  179. package/docs/api/interfaces/VaultListRequestsInput.md +17 -0
  180. package/docs/api/interfaces/VaultListSecretsInput.md +1 -1
  181. package/docs/api/interfaces/VaultMetadata.md +1 -1
  182. package/docs/api/interfaces/VaultObject.md +2 -2
  183. package/docs/api/interfaces/VaultPrincipal.md +17 -0
  184. package/docs/api/interfaces/VaultProfile.md +1 -1
  185. package/docs/api/interfaces/VaultReadAgentPrivateKeyInput.md +7 -7
  186. package/docs/api/interfaces/VaultReadSecretPlaintextInput.md +1 -1
  187. package/docs/api/interfaces/VaultRegisterFlowInput.md +1 -1
  188. package/docs/api/interfaces/VaultRevokeAgentSecretInput.md +23 -0
  189. package/docs/api/interfaces/VaultRevokeSecretDestinationInput.md +23 -0
  190. package/docs/api/interfaces/VaultRevokeSessionTokenInput.md +1 -1
  191. package/docs/api/interfaces/VaultService.md +547 -0
  192. package/docs/api/interfaces/VaultUpdateAgentInput.md +7 -7
  193. package/docs/api/type-aliases/AgentId.md +7 -0
  194. package/docs/api/type-aliases/CbioRuntimeModule.md +1 -1
  195. package/docs/api/type-aliases/DispatchApprovalDecision.md +7 -0
  196. package/docs/api/type-aliases/GrantStatus.md +7 -0
  197. package/docs/api/type-aliases/SecretLifecycleStatus.md +7 -0
  198. package/docs/api/type-aliases/VaultPrincipalKind.md +7 -0
  199. package/docs/api/variables/DEFAULT_VAULT_KEY_CUSTODY_BLOB_KEY.md +2 -2
  200. package/docs/es/README.md +3 -3
  201. package/docs/fr/README.md +3 -3
  202. package/docs/ja/README.md +5 -5
  203. package/docs/ko/README.md +5 -5
  204. package/docs/pt/README.md +3 -3
  205. package/docs/zh/PROCESS_ISOLATION.md +2 -2
  206. package/docs/zh/README.md +23 -24
  207. package/examples/process-isolation.ts +26 -35
  208. package/package.json +1 -1
  209. package/docs/api/functions/createOwnerHttpFlowBoundary.md +0 -17
  210. package/docs/api/functions/createStandardAcquireBoundary.md +0 -31
  211. package/docs/api/functions/createStandardDispatchBoundary.md +0 -23
  212. package/docs/api/functions/createVaultClient.md +0 -32
  213. package/docs/api/functions/deriveIdentityId.md +0 -17
  214. package/docs/api/functions/wrapVaultCoreAsVaultService.md +0 -31
  215. package/docs/api/interfaces/AgentSubmitCapabilityRequestInput.md +0 -41
  216. package/docs/api/interfaces/VaultApproveCapabilityRequestInput.md +0 -23
  217. package/docs/api/interfaces/VaultClient.md +0 -473
  218. package/docs/api/interfaces/VaultGrantCapabilityInput.md +0 -79
  219. package/docs/api/interfaces/VaultGrantCapabilityRequest.md +0 -23
  220. package/docs/api/interfaces/VaultIdentity.md +0 -11
  221. package/docs/api/interfaces/VaultListCapabilitiesInput.md +0 -17
  222. package/docs/api/interfaces/VaultRevokeCapabilityInput.md +0 -23
  223. package/docs/api/interfaces/VaultSigner.md +0 -21
  224. package/docs/api/interfaces/VaultSubmitCapabilityRequestInput.md +0 -73
  225. package/docs/api/type-aliases/AgentCapabilityEnvelope.md +0 -7
  226. package/docs/api/type-aliases/AgentVisibleSecretRecord.md +0 -7
  227. package/docs/api/type-aliases/CreateOwnerClientOptions.md +0 -7
  228. package/docs/api/type-aliases/OwnerAgentView.md +0 -7
  229. package/docs/api/type-aliases/OwnerClient.md +0 -13
  230. package/docs/api/type-aliases/OwnerGrantCapabilityInput.md +0 -7
  231. package/docs/api/type-aliases/OwnerPendingApprovalView.md +0 -7
  232. package/docs/api/type-aliases/OwnerRequestDetailView.md +0 -7
  233. package/docs/api/type-aliases/OwnerRequestSummaryView.md +0 -7
  234. package/docs/api/type-aliases/OwnerSecretView.md +0 -7
@@ -1,21 +1,18 @@
1
- [**CBIO Node Runtime Agent API v1.63.3**](../README.md)
1
+ [**CBIO Node Runtime Agent API v1.63.5**](../README.md)
2
2
 
3
3
  ***
4
4
 
5
5
  # Class: VaultCore
6
6
 
7
- The Sovereign Vault Core.
8
- This is the primary implementation of the Vault logic.
9
-
10
7
  ## Constructors
11
8
 
12
9
  ### Constructor
13
10
 
14
- > **new VaultCore**(`_deps`): `VaultCore`
11
+ > **new VaultCore**(`deps`): `VaultCore`
15
12
 
16
13
  #### Parameters
17
14
 
18
- ##### \_deps
15
+ ##### deps
19
16
 
20
17
  `VaultCoreDependencies`
21
18
 
@@ -29,47 +26,23 @@ This is the primary implementation of the Vault logic.
29
26
 
30
27
  #### Get Signature
31
28
 
32
- > **get** **vaultId**(): `VaultId`
29
+ > **get** **vaultId**(): [`VaultId`](../interfaces/VaultId.md)
33
30
 
34
31
  ##### Returns
35
32
 
36
- `VaultId`
33
+ [`VaultId`](../interfaces/VaultId.md)
37
34
 
38
35
  ## Methods
39
36
 
40
- ### \_getCapability()
41
-
42
- > **\_getCapability**(`vaultId`, `agentId`, `capabilityId`): `Promise`\<`AgentCapability` \| `null`\>
43
-
44
- #### Parameters
45
-
46
- ##### vaultId
47
-
48
- `VaultId`
49
-
50
- ##### agentId
51
-
52
- `string`
53
-
54
- ##### capabilityId
55
-
56
- `string`
57
-
58
- #### Returns
59
-
60
- `Promise`\<`AgentCapability` \| `null`\>
61
-
62
- ***
63
-
64
37
  ### \_storeCustomFlowSecret()
65
38
 
66
- > **\_storeCustomFlowSecret**(`flow`, `alias`, `plaintext`): `Promise`\<`SecretRecord`\>
39
+ > **\_storeCustomFlowSecret**(`flow`, `alias`, `plaintext`): `Promise`\<`void`\>
67
40
 
68
41
  #### Parameters
69
42
 
70
43
  ##### flow
71
44
 
72
- `CustomHttpFlowDefinition`
45
+ [`CustomHttpFlowDefinition`](../interfaces/CustomHttpFlowDefinition.md)
73
46
 
74
47
  ##### alias
75
48
 
@@ -81,189 +54,193 @@ This is the primary implementation of the Vault logic.
81
54
 
82
55
  #### Returns
83
56
 
84
- `Promise`\<`SecretRecord`\>
57
+ `Promise`\<`void`\>
85
58
 
86
59
  ***
87
60
 
88
61
  ### agentAuthorizeDispatch()
89
62
 
90
- > **agentAuthorizeDispatch**(`request`): `Promise`\<`DispatchAuthorization`\>
63
+ > **agentAuthorizeDispatch**(`request`): `Promise`\<[`DispatchAuthorization`](../interfaces/DispatchAuthorization.md)\>
91
64
 
92
65
  #### Parameters
93
66
 
94
67
  ##### request
95
68
 
96
- `DispatchRequest`
69
+ [`DispatchRequest`](../interfaces/DispatchRequest.md)
97
70
 
98
71
  #### Returns
99
72
 
100
- `Promise`\<`DispatchAuthorization`\>
73
+ `Promise`\<[`DispatchAuthorization`](../interfaces/DispatchAuthorization.md)\>
101
74
 
102
75
  ***
103
76
 
104
77
  ### agentDispatchSecret()
105
78
 
106
- > **agentDispatchSecret**(`request`): `Promise`\<`DispatchResult`\>
79
+ > **agentDispatchSecret**(`request`): `Promise`\<[`DispatchResult`](../interfaces/DispatchResult.md)\>
107
80
 
108
81
  #### Parameters
109
82
 
110
83
  ##### request
111
84
 
112
- `DispatchRequest`
85
+ [`DispatchRequest`](../interfaces/DispatchRequest.md)
113
86
 
114
87
  #### Returns
115
88
 
116
- `Promise`\<`DispatchResult`\>
89
+ `Promise`\<[`DispatchResult`](../interfaces/DispatchResult.md)\>
117
90
 
118
91
  ***
119
92
 
120
93
  ### agentGetRequest()
121
94
 
122
- > **agentGetRequest**(`request`): `Promise`\<`AgentRequestResult`\>
95
+ > **agentGetRequest**(`command`): `Promise`\<`any`\>
123
96
 
124
97
  #### Parameters
125
98
 
126
- ##### request
99
+ ##### command
127
100
 
128
- `AgentGetRequestRequest`
101
+ ###### agent
129
102
 
130
- #### Returns
103
+ [`VaultPrincipal`](../interfaces/VaultPrincipal.md) & `object`
131
104
 
132
- `Promise`\<`AgentRequestResult`\>
105
+ ###### proof
133
106
 
134
- ***
107
+ `any`
135
108
 
136
- ### agentGetRuntimeManifest()
109
+ ###### requestedAt
137
110
 
138
- > **agentGetRuntimeManifest**(`command`): `Promise`\<`AgentRuntimeManifest`\>
111
+ `string`
139
112
 
140
- #### Parameters
113
+ ###### requestId
141
114
 
142
- ##### command
115
+ `string`
143
116
 
144
- `AgentGetRuntimeManifestRequest`
117
+ ###### targetRequestId
118
+
119
+ `string`
145
120
 
146
121
  #### Returns
147
122
 
148
- `Promise`\<`AgentRuntimeManifest`\>
123
+ `Promise`\<`any`\>
149
124
 
150
125
  ***
151
126
 
152
- ### agentListCapabilities()
127
+ ### agentGetRuntimeManifest()
153
128
 
154
- > **agentListCapabilities**(`request`): `Promise`\<readonly `AgentCapabilityState`[]\>
129
+ > **agentGetRuntimeManifest**(`command`): `Promise`\<[`AgentRuntimeManifest`](../interfaces/AgentRuntimeManifest.md)\>
155
130
 
156
131
  #### Parameters
157
132
 
158
- ##### request
159
-
160
- `AgentListCapabilitiesRequest`
133
+ ##### command
161
134
 
162
- #### Returns
135
+ ###### agent
163
136
 
164
- `Promise`\<readonly `AgentCapabilityState`[]\>
137
+ [`VaultPrincipal`](../interfaces/VaultPrincipal.md) & `object`
165
138
 
166
- ***
139
+ ###### proof
167
140
 
168
- ### agentListRequests()
141
+ `any`
169
142
 
170
- > **agentListRequests**(`request`): `Promise`\<readonly `AgentVisibleRequestRecord`[]\>
143
+ ###### requestedAt
171
144
 
172
- #### Parameters
145
+ `string`
173
146
 
174
- ##### request
147
+ ###### requestId
175
148
 
176
- `AgentListRequestsRequest`
149
+ `string`
177
150
 
178
151
  #### Returns
179
152
 
180
- `Promise`\<readonly `AgentVisibleRequestRecord`[]\>
153
+ `Promise`\<[`AgentRuntimeManifest`](../interfaces/AgentRuntimeManifest.md)\>
181
154
 
182
155
  ***
183
156
 
184
- ### agentListSecrets()
157
+ ### agentListRequests()
185
158
 
186
- > **agentListSecrets**(`request`): `Promise`\<readonly `AgentVisibleSecretRecord`[]\>
159
+ > **agentListRequests**(`command`): `Promise`\<readonly [`AgentVisibleRequestRecord`](../interfaces/AgentVisibleRequestRecord.md)[]\>
187
160
 
188
161
  #### Parameters
189
162
 
190
- ##### request
163
+ ##### command
191
164
 
192
- `AgentListSecretsRequest`
165
+ ###### agent
193
166
 
194
- #### Returns
167
+ [`VaultPrincipal`](../interfaces/VaultPrincipal.md) & `object`
195
168
 
196
- `Promise`\<readonly `AgentVisibleSecretRecord`[]\>
169
+ ###### proof
197
170
 
198
- ***
171
+ `any`
199
172
 
200
- ### agentSubmitCapabilityRequest()
173
+ ###### requestedAt
201
174
 
202
- > **agentSubmitCapabilityRequest**(`command`): `Promise`\<`CapabilityStateRecord`\>
203
-
204
- #### Parameters
175
+ `string`
205
176
 
206
- ##### command
177
+ ###### requestId
207
178
 
208
- `AgentSubmitCapabilityRequestCommand`
179
+ `string`
209
180
 
210
181
  #### Returns
211
182
 
212
- `Promise`\<`CapabilityStateRecord`\>
183
+ `Promise`\<readonly [`AgentVisibleRequestRecord`](../interfaces/AgentVisibleRequestRecord.md)[]\>
213
184
 
214
185
  ***
215
186
 
216
- ### ownerAllowAlways()
187
+ ### agentListSecrets()
217
188
 
218
- > **ownerAllowAlways**(`command`): `Promise`\<`DispatchResult`\>
189
+ > **agentListSecrets**(`command`): `Promise`\<readonly [`AgentVisibleSecretRecord`](../interfaces/AgentVisibleSecretRecord.md)[]\>
219
190
 
220
191
  #### Parameters
221
192
 
222
193
  ##### command
223
194
 
224
- `OwnerAllowAlwaysCommand`
195
+ ###### agent
225
196
 
226
- #### Returns
197
+ [`VaultPrincipal`](../interfaces/VaultPrincipal.md) & `object`
227
198
 
228
- `Promise`\<`DispatchResult`\>
199
+ ###### proof
229
200
 
230
- ***
231
-
232
- ### ownerAllowOnce()
201
+ `any`
233
202
 
234
- > **ownerAllowOnce**(`command`): `Promise`\<`DispatchResult`\>
203
+ ###### requestedAt
235
204
 
236
- #### Parameters
205
+ `string`
237
206
 
238
- ##### command
207
+ ###### requestId
239
208
 
240
- `OwnerAllowOnceCommand`
209
+ `string`
241
210
 
242
211
  #### Returns
243
212
 
244
- `Promise`\<`DispatchResult`\>
213
+ `Promise`\<readonly [`AgentVisibleSecretRecord`](../interfaces/AgentVisibleSecretRecord.md)[]\>
245
214
 
246
215
  ***
247
216
 
248
- ### ownerApproveCapabilityRead()
217
+ ### ownerApproveDispatch()
249
218
 
250
- > **ownerApproveCapabilityRead**(`command`): `Promise`\<`CapabilityStateRecord`\>
219
+ > **ownerApproveDispatch**(`actor`, `requestId`, `decision`): `Promise`\<[`DispatchResult`](../interfaces/DispatchResult.md) \| `null`\>
251
220
 
252
221
  #### Parameters
253
222
 
254
- ##### command
223
+ ##### actor
224
+
225
+ [`VaultPrincipal`](../interfaces/VaultPrincipal.md) & `object`
255
226
 
256
- `OwnerApproveCapabilityReadCommand`
227
+ ##### requestId
228
+
229
+ `string`
230
+
231
+ ##### decision
232
+
233
+ [`DispatchApprovalDecision`](../type-aliases/DispatchApprovalDecision.md)
257
234
 
258
235
  #### Returns
259
236
 
260
- `Promise`\<`CapabilityStateRecord`\>
237
+ `Promise`\<[`DispatchResult`](../interfaces/DispatchResult.md) \| `null`\>
261
238
 
262
239
  ***
263
240
 
264
241
  ### ownerCreateSecret()
265
242
 
266
- > **ownerCreateSecret**(`command`): `Promise`\<`SecretRecord`\>
243
+ > **ownerCreateSecret**(`command`): `Promise`\<[`SecretRecord`](../interfaces/SecretRecord.md)\>
267
244
 
268
245
  #### Parameters
269
246
 
@@ -273,231 +250,247 @@ This is the primary implementation of the Vault logic.
273
250
 
274
251
  #### Returns
275
252
 
276
- `Promise`\<`SecretRecord`\>
253
+ `Promise`\<[`SecretRecord`](../interfaces/SecretRecord.md)\>
277
254
 
278
255
  ***
279
256
 
280
- ### ownerDeleteSecret()
257
+ ### ownerExportSecret()
281
258
 
282
- > **ownerDeleteSecret**(`command`): `Promise`\<`void`\>
259
+ > **ownerExportSecret**(`actor`, `alias`): `Promise`\<`any`\>
283
260
 
284
261
  #### Parameters
285
262
 
286
- ##### command
263
+ ##### actor
264
+
265
+ [`VaultPrincipal`](../interfaces/VaultPrincipal.md) & `object`
287
266
 
288
- `OwnerDeleteSecretCommand`
267
+ ##### alias
268
+
269
+ `string`
289
270
 
290
271
  #### Returns
291
272
 
292
- `Promise`\<`void`\>
273
+ `Promise`\<`any`\>
293
274
 
294
275
  ***
295
276
 
296
- ### ownerDeny()
277
+ ### ownerGetRequest()
297
278
 
298
- > **ownerDeny**(`command`): `Promise`\<`CapabilityStateRecord`\>
279
+ > **ownerGetRequest**(`actor`, `requestId`): `Promise`\<[`OwnerRequestRecord`](../interfaces/OwnerRequestRecord.md)\>
299
280
 
300
281
  #### Parameters
301
282
 
302
- ##### command
283
+ ##### actor
284
+
285
+ [`VaultPrincipal`](../interfaces/VaultPrincipal.md) & `object`
303
286
 
304
- `OwnerDenyCommand`
287
+ ##### requestId
288
+
289
+ `string`
305
290
 
306
291
  #### Returns
307
292
 
308
- `Promise`\<`CapabilityStateRecord`\>
293
+ `Promise`\<[`OwnerRequestRecord`](../interfaces/OwnerRequestRecord.md)\>
309
294
 
310
295
  ***
311
296
 
312
- ### ownerExportSecret()
297
+ ### ownerGrantAgentSecret()
313
298
 
314
- > **ownerExportSecret**(`actor`, `alias`, `request?`): `Promise`\<`OwnerSecretExport`\>
299
+ > **ownerGrantAgentSecret**(`actor`, `rootAgentId`, `secretAlias`, `request?`): `Promise`\<[`AgentSecretGrant`](../interfaces/AgentSecretGrant.md)\>
315
300
 
316
301
  #### Parameters
317
302
 
318
303
  ##### actor
319
304
 
320
- `VaultPrincipal` & `object`
305
+ [`VaultPrincipal`](../interfaces/VaultPrincipal.md) & `object`
321
306
 
322
- ##### alias
307
+ ##### rootAgentId
308
+
309
+ `string`
310
+
311
+ ##### secretAlias
323
312
 
324
313
  `string`
325
314
 
326
315
  ##### request?
327
316
 
328
- `Omit`\<`OwnerExportSecretRequest`, `"vaultId"` \| `"actor"` \| `"alias"`\>
317
+ ###### requestId?
318
+
319
+ `string`
329
320
 
330
321
  #### Returns
331
322
 
332
- `Promise`\<`OwnerSecretExport`\>
323
+ `Promise`\<[`AgentSecretGrant`](../interfaces/AgentSecretGrant.md)\>
333
324
 
334
325
  ***
335
326
 
336
- ### ownerGetRequest()
327
+ ### ownerGrantSecretDestination()
337
328
 
338
- > **ownerGetRequest**(`actor`, `targetRequestId`, `request?`): `Promise`\<`OwnerRequestRecord`\>
329
+ > **ownerGrantSecretDestination**(`actor`, `secretAlias`, `domain`, `request?`): `Promise`\<[`SecretDestinationGrant`](../interfaces/SecretDestinationGrant.md)\>
339
330
 
340
331
  #### Parameters
341
332
 
342
333
  ##### actor
343
334
 
344
- `VaultPrincipal` & `object`
335
+ [`VaultPrincipal`](../interfaces/VaultPrincipal.md) & `object`
336
+
337
+ ##### secretAlias
338
+
339
+ `string`
345
340
 
346
- ##### targetRequestId
341
+ ##### domain
347
342
 
348
343
  `string`
349
344
 
350
345
  ##### request?
351
346
 
352
- `Omit`\<`OwnerGetRequestRequest`, `"vaultId"` \| `"actor"` \| `"targetRequestId"`\>
347
+ ###### requestId?
348
+
349
+ `string`
353
350
 
354
351
  #### Returns
355
352
 
356
- `Promise`\<`OwnerRequestRecord`\>
353
+ `Promise`\<[`SecretDestinationGrant`](../interfaces/SecretDestinationGrant.md)\>
357
354
 
358
355
  ***
359
356
 
360
357
  ### ownerIssueAllAgentSessionTokens()
361
358
 
362
- > **ownerIssueAllAgentSessionTokens**(`actor`): `Promise`\<`OwnerSessionToken`[]\>
359
+ > **ownerIssueAllAgentSessionTokens**(`actor`): `Promise`\<`object`[]\>
363
360
 
364
361
  #### Parameters
365
362
 
366
363
  ##### actor
367
364
 
368
- `VaultPrincipal` & `object`
365
+ [`VaultPrincipal`](../interfaces/VaultPrincipal.md) & `object`
369
366
 
370
367
  #### Returns
371
368
 
372
- `Promise`\<`OwnerSessionToken`[]\>
369
+ `Promise`\<`object`[]\>
373
370
 
374
371
  ***
375
372
 
376
373
  ### ownerIssueSessionToken()
377
374
 
378
- > **ownerIssueSessionToken**(`request`): `Promise`\<`OwnerSessionToken`\>
375
+ > **ownerIssueSessionToken**(`request`): `Promise`\<\{ `issuedAt`: `string`; `rootAgentId`: `string`; `token`: `string`; \}\>
379
376
 
380
377
  #### Parameters
381
378
 
382
379
  ##### request
383
380
 
384
- `OwnerIssueSessionTokenRequest`
381
+ ###### actor
382
+
383
+ [`VaultPrincipal`](../interfaces/VaultPrincipal.md)
384
+
385
+ ###### rootAgentId
386
+
387
+ `string`
388
+
389
+ ###### vaultId
390
+
391
+ [`VaultId`](../interfaces/VaultId.md)
385
392
 
386
393
  #### Returns
387
394
 
388
- `Promise`\<`OwnerSessionToken`\>
395
+ `Promise`\<\{ `issuedAt`: `string`; `rootAgentId`: `string`; `token`: `string`; \}\>
389
396
 
390
397
  ***
391
398
 
392
399
  ### ownerListAgents()
393
400
 
394
- > **ownerListAgents**(`actor`, `request?`): `Promise`\<readonly `AgentIdentityRecord`[]\>
401
+ > **ownerListAgents**(`actor`): `Promise`\<readonly [`AgentIdentityRecord`](../interfaces/AgentIdentityRecord.md)[]\>
395
402
 
396
403
  #### Parameters
397
404
 
398
405
  ##### actor
399
406
 
400
- `VaultPrincipal` & `object`
401
-
402
- ##### request?
403
-
404
- `Omit`\<`OwnerListAgentsRequest`, `"vaultId"` \| `"actor"`\>
407
+ [`VaultPrincipal`](../interfaces/VaultPrincipal.md) & `object`
405
408
 
406
409
  #### Returns
407
410
 
408
- `Promise`\<readonly `AgentIdentityRecord`[]\>
411
+ `Promise`\<readonly [`AgentIdentityRecord`](../interfaces/AgentIdentityRecord.md)[]\>
409
412
 
410
413
  ***
411
414
 
412
- ### ownerListCapabilities()
415
+ ### ownerListGrants()
413
416
 
414
- > **ownerListCapabilities**(`actor`, `agentId?`, `request?`): `Promise`\<readonly `AgentCapability`[]\>
417
+ > **ownerListGrants**(`actor`, `rootAgentId?`, `secretAlias?`): `Promise`\<\{ `agentSecrets`: readonly [`AgentSecretGrant`](../interfaces/AgentSecretGrant.md)[]; `secretDestinations`: readonly [`SecretDestinationGrant`](../interfaces/SecretDestinationGrant.md)[]; \}\>
415
418
 
416
419
  #### Parameters
417
420
 
418
421
  ##### actor
419
422
 
420
- `VaultPrincipal` & `object`
423
+ [`VaultPrincipal`](../interfaces/VaultPrincipal.md) & `object`
421
424
 
422
- ##### agentId?
425
+ ##### rootAgentId?
423
426
 
424
427
  `string`
425
428
 
426
- ##### request?
429
+ ##### secretAlias?
427
430
 
428
- `Omit`\<`OwnerListCapabilitiesRequest`, `"agentId"` \| `"vaultId"` \| `"actor"`\>
431
+ `string`
429
432
 
430
433
  #### Returns
431
434
 
432
- `Promise`\<readonly `AgentCapability`[]\>
435
+ `Promise`\<\{ `agentSecrets`: readonly [`AgentSecretGrant`](../interfaces/AgentSecretGrant.md)[]; `secretDestinations`: readonly [`SecretDestinationGrant`](../interfaces/SecretDestinationGrant.md)[]; \}\>
433
436
 
434
437
  ***
435
438
 
436
- ### ownerListCapabilityStates()
439
+ ### ownerListRequests()
437
440
 
438
- > **ownerListCapabilityStates**(`command`): `Promise`\<readonly `CapabilityStateRecord`[]\>
441
+ > **ownerListRequests**(`actor`, `rootAgentId?`): `Promise`\<readonly [`OwnerVisibleRequestRecord`](../interfaces/OwnerVisibleRequestRecord.md)[]\>
439
442
 
440
443
  #### Parameters
441
444
 
442
- ##### command
445
+ ##### actor
446
+
447
+ [`VaultPrincipal`](../interfaces/VaultPrincipal.md) & `object`
448
+
449
+ ##### rootAgentId?
443
450
 
444
- `OwnerListCapabilityStatesRequest`
451
+ `string`
445
452
 
446
453
  #### Returns
447
454
 
448
- `Promise`\<readonly `CapabilityStateRecord`[]\>
455
+ `Promise`\<readonly [`OwnerVisibleRequestRecord`](../interfaces/OwnerVisibleRequestRecord.md)[]\>
449
456
 
450
457
  ***
451
458
 
452
- ### ownerListRequests()
459
+ ### ownerListSecrets()
453
460
 
454
- > **ownerListRequests**(`actor`, `agentId?`, `request?`): `Promise`\<readonly `OwnerVisibleRequestRecord`[]\>
461
+ > **ownerListSecrets**(`actor`): `Promise`\<readonly [`AgentVisibleSecretRecord`](../interfaces/AgentVisibleSecretRecord.md)[]\>
455
462
 
456
463
  #### Parameters
457
464
 
458
465
  ##### actor
459
466
 
460
- `VaultPrincipal` & `object`
461
-
462
- ##### agentId?
463
-
464
- `string`
465
-
466
- ##### request?
467
-
468
- `Omit`\<`OwnerListRequestsRequest`, `"agentId"` \| `"vaultId"` \| `"actor"`\>
467
+ [`VaultPrincipal`](../interfaces/VaultPrincipal.md) & `object`
469
468
 
470
469
  #### Returns
471
470
 
472
- `Promise`\<readonly `OwnerVisibleRequestRecord`[]\>
471
+ `Promise`\<readonly [`AgentVisibleSecretRecord`](../interfaces/AgentVisibleSecretRecord.md)[]\>
473
472
 
474
473
  ***
475
474
 
476
- ### ownerListSecrets()
475
+ ### ownerOnGrantState()
477
476
 
478
- > **ownerListSecrets**(`actor`, `request?`): `Promise`\<readonly `AgentVisibleSecretRecord`[]\>
477
+ > **ownerOnGrantState**(`callback`): () => `void`
479
478
 
480
479
  #### Parameters
481
480
 
482
- ##### actor
483
-
484
- `VaultPrincipal` & `object`
485
-
486
- ##### request?
487
-
488
- ###### requestId?
481
+ ##### callback
489
482
 
490
- `string`
483
+ (`record`) => `void`
491
484
 
492
485
  #### Returns
493
486
 
494
- `Promise`\<readonly `AgentVisibleSecretRecord`[]\>
487
+ () => `void`
495
488
 
496
489
  ***
497
490
 
498
- ### ownerOnCapabilityState()
491
+ ### ownerOnPendingDispatch()
499
492
 
500
- > **ownerOnCapabilityState**(`callback`): () => `void`
493
+ > **ownerOnPendingDispatch**(`callback`): () => `void`
501
494
 
502
495
  #### Parameters
503
496
 
@@ -513,25 +506,21 @@ This is the primary implementation of the Vault logic.
513
506
 
514
507
  ### ownerReadAudit()
515
508
 
516
- > **ownerReadAudit**(`actor`, `query`, `request?`): `Promise`\<readonly `AuditEntry`[]\>
509
+ > **ownerReadAudit**(`actor`, `query`): `Promise`\<readonly [`AuditEntry`](../interfaces/AuditEntry.md)[]\>
517
510
 
518
511
  #### Parameters
519
512
 
520
513
  ##### actor
521
514
 
522
- `VaultPrincipal` & `object`
515
+ [`VaultPrincipal`](../interfaces/VaultPrincipal.md) & `object`
523
516
 
524
517
  ##### query
525
518
 
526
519
  `AuditQuery`
527
520
 
528
- ##### request?
529
-
530
- `Omit`\<`OwnerAuditRequest`, `"vaultId"` \| `"actor"` \| `"query"`\>
531
-
532
521
  #### Returns
533
522
 
534
- `Promise`\<readonly `AuditEntry`[]\>
523
+ `Promise`\<readonly [`AuditEntry`](../interfaces/AuditEntry.md)[]\>
535
524
 
536
525
  ***
537
526
 
@@ -543,23 +532,25 @@ This is the primary implementation of the Vault logic.
543
532
 
544
533
  ##### command
545
534
 
546
- `OwnerRegisterAgentIdentityCommand`
535
+ ###### agentRecord
547
536
 
548
- #### Returns
537
+ [`AgentIdentityRecord`](../interfaces/AgentIdentityRecord.md)
549
538
 
550
- `Promise`\<`void`\>
539
+ ###### owner
551
540
 
552
- ***
541
+ [`VaultPrincipal`](../interfaces/VaultPrincipal.md)
553
542
 
554
- ### ownerRegisterCapability()
543
+ ###### requestedAt
555
544
 
556
- > **ownerRegisterCapability**(`command`): `Promise`\<`void`\>
545
+ `string`
557
546
 
558
- #### Parameters
547
+ ###### requestId
559
548
 
560
- ##### command
549
+ `string`
550
+
551
+ ###### vaultId
561
552
 
562
- `OwnerRegisterCapabilityCommand`
553
+ [`VaultId`](../interfaces/VaultId.md)
563
554
 
564
555
  #### Returns
565
556
 
@@ -575,7 +566,25 @@ This is the primary implementation of the Vault logic.
575
566
 
576
567
  ##### command
577
568
 
578
- `OwnerRegisterCustomHttpFlowCommand`
569
+ ###### flow
570
+
571
+ `any`
572
+
573
+ ###### owner
574
+
575
+ [`VaultPrincipal`](../interfaces/VaultPrincipal.md)
576
+
577
+ ###### requestedAt
578
+
579
+ `string`
580
+
581
+ ###### requestId
582
+
583
+ `string`
584
+
585
+ ###### vaultId
586
+
587
+ [`VaultId`](../interfaces/VaultId.md)
579
588
 
580
589
  #### Returns
581
590
 
@@ -591,7 +600,29 @@ This is the primary implementation of the Vault logic.
591
600
 
592
601
  ##### command
593
602
 
594
- `OwnerDeleteSecretCommand`
603
+ ###### alias
604
+
605
+ `string`
606
+
607
+ ###### kind
608
+
609
+ `"owner.remove_secret"`
610
+
611
+ ###### owner
612
+
613
+ [`VaultPrincipal`](../interfaces/VaultPrincipal.md)
614
+
615
+ ###### requestedAt
616
+
617
+ `string`
618
+
619
+ ###### requestId
620
+
621
+ `string`
622
+
623
+ ###### vaultId
624
+
625
+ [`VaultId`](../interfaces/VaultId.md)
595
626
 
596
627
  #### Returns
597
628
 
@@ -599,15 +630,59 @@ This is the primary implementation of the Vault logic.
599
630
 
600
631
  ***
601
632
 
602
- ### ownerRevokeCapability()
633
+ ### ownerRevokeAgentSecret()
603
634
 
604
- > **ownerRevokeCapability**(`command`): `Promise`\<`void`\>
635
+ > **ownerRevokeAgentSecret**(`actor`, `rootAgentId`, `secretAlias`, `request?`): `Promise`\<`void`\>
605
636
 
606
637
  #### Parameters
607
638
 
608
- ##### command
639
+ ##### actor
640
+
641
+ [`VaultPrincipal`](../interfaces/VaultPrincipal.md) & `object`
642
+
643
+ ##### rootAgentId
644
+
645
+ `string`
609
646
 
610
- `OwnerRevokeCapabilityCommand`
647
+ ##### secretAlias
648
+
649
+ `string`
650
+
651
+ ##### request?
652
+
653
+ ###### requestId?
654
+
655
+ `string`
656
+
657
+ #### Returns
658
+
659
+ `Promise`\<`void`\>
660
+
661
+ ***
662
+
663
+ ### ownerRevokeSecretDestination()
664
+
665
+ > **ownerRevokeSecretDestination**(`actor`, `secretAlias`, `domain`, `request?`): `Promise`\<`void`\>
666
+
667
+ #### Parameters
668
+
669
+ ##### actor
670
+
671
+ [`VaultPrincipal`](../interfaces/VaultPrincipal.md) & `object`
672
+
673
+ ##### secretAlias
674
+
675
+ `string`
676
+
677
+ ##### domain
678
+
679
+ `string`
680
+
681
+ ##### request?
682
+
683
+ ###### requestId?
684
+
685
+ `string`
611
686
 
612
687
  #### Returns
613
688
 
@@ -625,7 +700,7 @@ This is the primary implementation of the Vault logic.
625
700
 
626
701
  ###### actor
627
702
 
628
- `VaultPrincipal` & `object`
703
+ [`VaultPrincipal`](../interfaces/VaultPrincipal.md)
629
704
 
630
705
  ###### token
631
706
 
@@ -633,7 +708,7 @@ This is the primary implementation of the Vault logic.
633
708
 
634
709
  ###### vaultId
635
710
 
636
- `VaultId`
711
+ [`VaultId`](../interfaces/VaultId.md)
637
712
 
638
713
  #### Returns
639
714
 
@@ -641,41 +716,51 @@ This is the primary implementation of the Vault logic.
641
716
 
642
717
  ***
643
718
 
644
- ### ownerSubmitCapabilityRequest()
719
+ ### ownerUpdateAgentIdentity()
645
720
 
646
- > **ownerSubmitCapabilityRequest**(`command`): `Promise`\<`CapabilityStateRecord`\>
721
+ > **ownerUpdateAgentIdentity**(`command`): `Promise`\<[`AgentIdentityRecord`](../interfaces/AgentIdentityRecord.md)\>
647
722
 
648
723
  #### Parameters
649
724
 
650
725
  ##### command
651
726
 
652
- `SubmitCapabilityRequestCommand`
727
+ ###### metadata?
653
728
 
654
- #### Returns
729
+ `Record`\<`string`, `any`\>
655
730
 
656
- `Promise`\<`CapabilityStateRecord`\>
731
+ ###### nickname?
657
732
 
658
- ***
733
+ `string`
659
734
 
660
- ### ownerUpdateAgentIdentity()
735
+ ###### owner
661
736
 
662
- > **ownerUpdateAgentIdentity**(`command`): `Promise`\<`AgentIdentityRecord`\>
737
+ [`VaultPrincipal`](../interfaces/VaultPrincipal.md)
663
738
 
664
- #### Parameters
739
+ ###### requestedAt
665
740
 
666
- ##### command
741
+ `string`
742
+
743
+ ###### requestId
744
+
745
+ `string`
746
+
747
+ ###### rootAgentId
748
+
749
+ `string`
750
+
751
+ ###### vaultId
667
752
 
668
- `OwnerUpdateAgentIdentityCommand`
753
+ [`VaultId`](../interfaces/VaultId.md)
669
754
 
670
755
  #### Returns
671
756
 
672
- `Promise`\<`AgentIdentityRecord`\>
757
+ `Promise`\<[`AgentIdentityRecord`](../interfaces/AgentIdentityRecord.md)\>
673
758
 
674
759
  ***
675
760
 
676
761
  ### ownerUpdateSecret()
677
762
 
678
- > **ownerUpdateSecret**(`command`): `Promise`\<`SecretRecord`\>
763
+ > **ownerUpdateSecret**(`command`): `Promise`\<[`SecretRecord`](../interfaces/SecretRecord.md)\>
679
764
 
680
765
  #### Parameters
681
766
 
@@ -685,20 +770,20 @@ This is the primary implementation of the Vault logic.
685
770
 
686
771
  #### Returns
687
772
 
688
- `Promise`\<`SecretRecord`\>
773
+ `Promise`\<[`SecretRecord`](../interfaces/SecretRecord.md)\>
689
774
 
690
775
  ***
691
776
 
692
777
  ### ownerWriteSecret()
693
778
 
694
- > **ownerWriteSecret**(`command`): `Promise`\<`SecretRecord`\>
779
+ > **ownerWriteSecret**(`command`): `Promise`\<[`SecretRecord`](../interfaces/SecretRecord.md)\>
695
780
 
696
781
  #### Parameters
697
782
 
698
783
  ##### command
699
784
 
700
- `VaultWriteSecretCommand`
785
+ `any`
701
786
 
702
787
  #### Returns
703
788
 
704
- `Promise`\<`SecretRecord`\>
789
+ `Promise`\<[`SecretRecord`](../interfaces/SecretRecord.md)\>