@the-ai-company/cbio-node-runtime 1.55.1 → 1.56.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.
- package/README.md +29 -10
- package/dist/clients/owner/client.d.ts +2 -2
- package/dist/clients/owner/client.js +45 -11
- package/dist/clients/owner/client.js.map +1 -1
- package/dist/clients/owner/contracts.d.ts +12 -1
- package/dist/clients/owner/index.d.ts +1 -1
- package/dist/runtime/index.d.ts +3 -1
- package/dist/runtime/index.js +1 -0
- package/dist/runtime/index.js.map +1 -1
- package/dist/runtime/owner-session.d.ts +26 -0
- package/dist/runtime/owner-session.js +89 -0
- package/dist/runtime/owner-session.js.map +1 -0
- package/dist/vault-core/core.d.ts +1 -0
- package/dist/vault-core/core.js +69 -7
- package/dist/vault-core/core.js.map +1 -1
- package/dist/vault-core/persistence.js +1 -1
- package/dist/vault-core/persistence.js.map +1 -1
- package/docs/MIGRATION-1.51.md +3 -0
- package/docs/REFERENCE.md +18 -2
- package/docs/api/README.md +7 -2
- package/docs/api/classes/IdentityError.md +1 -1
- package/docs/api/classes/OwnerClientError.md +1 -1
- package/docs/api/classes/VaultCore.md +1 -1
- package/docs/api/classes/VaultCoreError.md +1 -1
- package/docs/api/enumerations/IdentityErrorCode.md +1 -1
- package/docs/api/enumerations/OwnerClientErrorCode.md +1 -1
- package/docs/api/functions/createAgentClient.md +1 -1
- package/docs/api/functions/createIdentity.md +1 -1
- package/docs/api/functions/createOwnerHttpFlowBoundary.md +1 -1
- package/docs/api/functions/createOwnerSession.md +37 -0
- package/docs/api/functions/createPersistentVaultCoreDependencies.md +1 -1
- package/docs/api/functions/createStandardAcquireBoundary.md +1 -1
- package/docs/api/functions/createStandardDispatchBoundary.md +1 -1
- package/docs/api/functions/createVault.md +1 -1
- package/docs/api/functions/createVaultClient.md +1 -1
- package/docs/api/functions/createVaultCore.md +1 -1
- package/docs/api/functions/createVaultCoreDependencies.md +1 -1
- package/docs/api/functions/createVaultService.md +1 -1
- package/docs/api/functions/createWorkspaceStorage.md +1 -1
- package/docs/api/functions/deriveIdentityId.md +1 -1
- package/docs/api/functions/deriveVaultWorkingKeyFromPassword.md +1 -1
- package/docs/api/functions/getDefaultWorkspaceDir.md +1 -1
- package/docs/api/functions/handleVaultAgentControlHttp.md +1 -1
- package/docs/api/functions/handleVaultHttpDispatch.md +1 -1
- package/docs/api/functions/initializeVaultCustody.md +1 -1
- package/docs/api/functions/listVaults.md +1 -1
- package/docs/api/functions/readVaultProfile.md +1 -1
- package/docs/api/functions/recoverVault.md +1 -1
- package/docs/api/functions/recoverVaultWorkingKey.md +1 -1
- package/docs/api/functions/restoreIdentity.md +1 -1
- package/docs/api/functions/updateVaultMetadata.md +1 -1
- package/docs/api/functions/wrapVaultCoreAsVaultService.md +1 -1
- package/docs/api/functions/writeVaultProfile.md +1 -1
- package/docs/api/interfaces/AgentClient.md +1 -1
- package/docs/api/interfaces/AgentDispatchIntent.md +1 -1
- package/docs/api/interfaces/AgentDispatchTransport.md +1 -1
- package/docs/api/interfaces/AgentIdentity.md +1 -1
- package/docs/api/interfaces/AgentSigner.md +1 -1
- package/docs/api/interfaces/AgentSubmitCapabilityRequestInput.md +1 -1
- package/docs/api/interfaces/CbioRuntime.md +39 -1
- package/docs/api/interfaces/CreateAgentClientOptions.md +1 -1
- package/docs/api/interfaces/CreateIdentityOptions.md +1 -1
- package/docs/api/interfaces/CreateOwnerSessionOptions.md +245 -0
- package/docs/api/interfaces/CreatePersistentVaultCoreDependenciesOptions.md +1 -1
- package/docs/api/interfaces/CreateVaultClientOptions.md +1 -1
- package/docs/api/interfaces/CreateVaultOptions.md +1 -1
- package/docs/api/interfaces/CreatedVault.md +1 -1
- package/docs/api/interfaces/DefaultPolicyEngineOptions.md +1 -1
- package/docs/api/interfaces/IStorageProvider.md +1 -1
- package/docs/api/interfaces/InitializeVaultCustodyOptions.md +1 -1
- package/docs/api/interfaces/InitializedVaultCustody.md +1 -1
- package/docs/api/interfaces/OwnerAgentProvisionResult.md +1 -1
- package/docs/api/interfaces/OwnerDefineSecretTargetsInput.md +1 -1
- package/docs/api/interfaces/OwnerSecretTargetBinding.md +1 -1
- package/docs/api/interfaces/OwnerSensitiveActionConfirmation.md +1 -1
- package/docs/api/interfaces/OwnerSensitiveActionContext.md +1 -1
- package/docs/api/interfaces/OwnerSession.md +95 -0
- package/docs/api/interfaces/OwnerStoreSecretInput.md +1 -1
- package/docs/api/interfaces/OwnerWriteSecretInput.md +1 -1
- package/docs/api/interfaces/RecoverVaultOptions.md +5 -1
- package/docs/api/interfaces/RecoveredVault.md +1 -1
- package/docs/api/interfaces/RestoreIdentityOptions.md +1 -1
- package/docs/api/interfaces/Signer.md +1 -1
- package/docs/api/interfaces/VaultApproveCapabilityRequestInput.md +1 -1
- package/docs/api/interfaces/VaultApproveDispatchInput.md +1 -1
- package/docs/api/interfaces/VaultAuditQueryInput.md +1 -1
- package/docs/api/interfaces/VaultClient.md +2 -2
- package/docs/api/interfaces/VaultCoreDependenciesOptions.md +1 -1
- package/docs/api/interfaces/VaultCreateAgentInput.md +1 -1
- package/docs/api/interfaces/VaultDeleteSecretInput.md +1 -1
- package/docs/api/interfaces/VaultExportSecretInput.md +1 -1
- package/docs/api/interfaces/VaultGrantCapabilityInput.md +25 -1
- package/docs/api/interfaces/VaultGrantCapabilityRequest.md +23 -0
- package/docs/api/interfaces/VaultIdentity.md +1 -1
- package/docs/api/interfaces/VaultImportAgentInput.md +1 -1
- package/docs/api/interfaces/VaultIssueSessionTokenInput.md +1 -1
- package/docs/api/interfaces/VaultListAgentsInput.md +1 -1
- package/docs/api/interfaces/VaultListCapabilitiesInput.md +1 -1
- package/docs/api/interfaces/VaultListSecretsInput.md +1 -1
- package/docs/api/interfaces/VaultMetadata.md +1 -1
- package/docs/api/interfaces/VaultObject.md +1 -1
- package/docs/api/interfaces/VaultProfile.md +1 -1
- package/docs/api/interfaces/VaultReadAgentPrivateKeyInput.md +1 -1
- package/docs/api/interfaces/VaultReadSecretPlaintextInput.md +1 -1
- package/docs/api/interfaces/VaultRegisterFlowInput.md +1 -1
- package/docs/api/interfaces/VaultRevokeCapabilityInput.md +1 -1
- package/docs/api/interfaces/VaultRevokeSessionTokenInput.md +1 -1
- package/docs/api/interfaces/VaultSigner.md +1 -1
- package/docs/api/interfaces/VaultSubmitCapabilityRequestInput.md +1 -1
- package/docs/api/interfaces/VaultUpdateAgentInput.md +1 -1
- package/docs/api/type-aliases/AgentCapabilityEnvelope.md +1 -1
- package/docs/api/type-aliases/AgentVisibleSecretRecord.md +1 -1
- package/docs/api/type-aliases/CbioRuntimeModule.md +1 -1
- package/docs/api/type-aliases/OwnerGrantCapabilityInput.md +7 -0
- package/docs/api/variables/DEFAULT_VAULT_KEY_CUSTODY_BLOB_KEY.md +1 -1
- package/docs/es/README.md +6 -9
- package/docs/fr/README.md +6 -10
- package/docs/ja/README.md +6 -9
- package/docs/ko/README.md +6 -9
- package/docs/pt/README.md +6 -9
- package/docs/zh/README.md +89 -42
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
[**CBIO Node Runtime Agent API v1.
|
|
1
|
+
[**CBIO Node Runtime Agent API v1.56.0**](../README.md)
|
|
2
2
|
|
|
3
3
|
***
|
|
4
4
|
|
|
@@ -91,6 +91,44 @@ console.log(identity.identityId);
|
|
|
91
91
|
|
|
92
92
|
***
|
|
93
93
|
|
|
94
|
+
### createOwnerSession
|
|
95
|
+
|
|
96
|
+
> **createOwnerSession**: \{(`storage`, `options`): [`OwnerSession`](OwnerSession.md); (`options`): [`OwnerSession`](OwnerSession.md); \}
|
|
97
|
+
|
|
98
|
+
#### Call Signature
|
|
99
|
+
|
|
100
|
+
> (`storage`, `options`): [`OwnerSession`](OwnerSession.md)
|
|
101
|
+
|
|
102
|
+
##### Parameters
|
|
103
|
+
|
|
104
|
+
###### storage
|
|
105
|
+
|
|
106
|
+
`string` \| [`IStorageProvider`](IStorageProvider.md)
|
|
107
|
+
|
|
108
|
+
###### options
|
|
109
|
+
|
|
110
|
+
[`CreateOwnerSessionOptions`](CreateOwnerSessionOptions.md)
|
|
111
|
+
|
|
112
|
+
##### Returns
|
|
113
|
+
|
|
114
|
+
[`OwnerSession`](OwnerSession.md)
|
|
115
|
+
|
|
116
|
+
#### Call Signature
|
|
117
|
+
|
|
118
|
+
> (`options`): [`OwnerSession`](OwnerSession.md)
|
|
119
|
+
|
|
120
|
+
##### Parameters
|
|
121
|
+
|
|
122
|
+
###### options
|
|
123
|
+
|
|
124
|
+
[`CreateOwnerSessionOptions`](CreateOwnerSessionOptions.md)
|
|
125
|
+
|
|
126
|
+
##### Returns
|
|
127
|
+
|
|
128
|
+
[`OwnerSession`](OwnerSession.md)
|
|
129
|
+
|
|
130
|
+
***
|
|
131
|
+
|
|
94
132
|
### createStandardAcquireBoundary
|
|
95
133
|
|
|
96
134
|
> **createStandardAcquireBoundary**: (`input`) => `OwnerHttpFlowBoundary`
|
|
@@ -0,0 +1,245 @@
|
|
|
1
|
+
[**CBIO Node Runtime Agent API v1.56.0**](../README.md)
|
|
2
|
+
|
|
3
|
+
***
|
|
4
|
+
|
|
5
|
+
# Interface: CreateOwnerSessionOptions
|
|
6
|
+
|
|
7
|
+
## Extends
|
|
8
|
+
|
|
9
|
+
- [`RecoverVaultOptions`](RecoverVaultOptions.md)
|
|
10
|
+
|
|
11
|
+
## Properties
|
|
12
|
+
|
|
13
|
+
### authHeaderName?
|
|
14
|
+
|
|
15
|
+
> `optional` **authHeaderName?**: `string`
|
|
16
|
+
|
|
17
|
+
#### Inherited from
|
|
18
|
+
|
|
19
|
+
[`VaultCoreDependenciesOptions`](VaultCoreDependenciesOptions.md).[`authHeaderName`](VaultCoreDependenciesOptions.md#authheadername)
|
|
20
|
+
|
|
21
|
+
***
|
|
22
|
+
|
|
23
|
+
### authPrefix?
|
|
24
|
+
|
|
25
|
+
> `optional` **authPrefix?**: `string`
|
|
26
|
+
|
|
27
|
+
#### Inherited from
|
|
28
|
+
|
|
29
|
+
[`VaultCoreDependenciesOptions`](VaultCoreDependenciesOptions.md).[`authPrefix`](VaultCoreDependenciesOptions.md#authprefix)
|
|
30
|
+
|
|
31
|
+
***
|
|
32
|
+
|
|
33
|
+
### clock?
|
|
34
|
+
|
|
35
|
+
> `optional` **clock?**: `Clock`
|
|
36
|
+
|
|
37
|
+
#### Overrides
|
|
38
|
+
|
|
39
|
+
[`VaultCoreDependenciesOptions`](VaultCoreDependenciesOptions.md).[`clock`](VaultCoreDependenciesOptions.md#clock)
|
|
40
|
+
|
|
41
|
+
***
|
|
42
|
+
|
|
43
|
+
### fetchImpl?
|
|
44
|
+
|
|
45
|
+
> `optional` **fetchImpl?**: \{(`input`, `init?`): `Promise`\<`Response`\>; (`input`, `init?`): `Promise`\<`Response`\>; \}
|
|
46
|
+
|
|
47
|
+
#### Call Signature
|
|
48
|
+
|
|
49
|
+
> (`input`, `init?`): `Promise`\<`Response`\>
|
|
50
|
+
|
|
51
|
+
[MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/fetch)
|
|
52
|
+
|
|
53
|
+
##### Parameters
|
|
54
|
+
|
|
55
|
+
###### input
|
|
56
|
+
|
|
57
|
+
`URL` \| `RequestInfo`
|
|
58
|
+
|
|
59
|
+
###### init?
|
|
60
|
+
|
|
61
|
+
`RequestInit`
|
|
62
|
+
|
|
63
|
+
##### Returns
|
|
64
|
+
|
|
65
|
+
`Promise`\<`Response`\>
|
|
66
|
+
|
|
67
|
+
#### Call Signature
|
|
68
|
+
|
|
69
|
+
> (`input`, `init?`): `Promise`\<`Response`\>
|
|
70
|
+
|
|
71
|
+
[MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/fetch)
|
|
72
|
+
|
|
73
|
+
##### Parameters
|
|
74
|
+
|
|
75
|
+
###### input
|
|
76
|
+
|
|
77
|
+
`string` \| `URL` \| `Request`
|
|
78
|
+
|
|
79
|
+
###### init?
|
|
80
|
+
|
|
81
|
+
`RequestInit`
|
|
82
|
+
|
|
83
|
+
##### Returns
|
|
84
|
+
|
|
85
|
+
`Promise`\<`Response`\>
|
|
86
|
+
|
|
87
|
+
#### Inherited from
|
|
88
|
+
|
|
89
|
+
[`VaultCoreDependenciesOptions`](VaultCoreDependenciesOptions.md).[`fetchImpl`](VaultCoreDependenciesOptions.md#fetchimpl)
|
|
90
|
+
|
|
91
|
+
***
|
|
92
|
+
|
|
93
|
+
### ownerIdentity?
|
|
94
|
+
|
|
95
|
+
> `optional` **ownerIdentity?**: `CreatedIdentity` \| [`VaultIdentity`](VaultIdentity.md)
|
|
96
|
+
|
|
97
|
+
***
|
|
98
|
+
|
|
99
|
+
### password
|
|
100
|
+
|
|
101
|
+
> **password**: `string`
|
|
102
|
+
|
|
103
|
+
#### Inherited from
|
|
104
|
+
|
|
105
|
+
[`RecoverVaultOptions`](RecoverVaultOptions.md).[`password`](RecoverVaultOptions.md#password)
|
|
106
|
+
|
|
107
|
+
***
|
|
108
|
+
|
|
109
|
+
### policy?
|
|
110
|
+
|
|
111
|
+
> `optional` **policy?**: [`DefaultPolicyEngineOptions`](DefaultPolicyEngineOptions.md)
|
|
112
|
+
|
|
113
|
+
#### Inherited from
|
|
114
|
+
|
|
115
|
+
[`VaultCoreDependenciesOptions`](VaultCoreDependenciesOptions.md).[`policy`](VaultCoreDependenciesOptions.md#policy)
|
|
116
|
+
|
|
117
|
+
***
|
|
118
|
+
|
|
119
|
+
### proofVerifier?
|
|
120
|
+
|
|
121
|
+
> `optional` **proofVerifier?**: `SignatureAgentProofVerifierOptions`
|
|
122
|
+
|
|
123
|
+
#### Inherited from
|
|
124
|
+
|
|
125
|
+
[`VaultCoreDependenciesOptions`](VaultCoreDependenciesOptions.md).[`proofVerifier`](VaultCoreDependenciesOptions.md#proofverifier)
|
|
126
|
+
|
|
127
|
+
***
|
|
128
|
+
|
|
129
|
+
### replayGuard?
|
|
130
|
+
|
|
131
|
+
> `optional` **replayGuard?**: `ReplayGuard`
|
|
132
|
+
|
|
133
|
+
#### Inherited from
|
|
134
|
+
|
|
135
|
+
[`VaultCoreDependenciesOptions`](VaultCoreDependenciesOptions.md).[`replayGuard`](VaultCoreDependenciesOptions.md#replayguard)
|
|
136
|
+
|
|
137
|
+
***
|
|
138
|
+
|
|
139
|
+
### sensitiveActionVerifier?
|
|
140
|
+
|
|
141
|
+
> `optional` **sensitiveActionVerifier?**: (`confirmation`, `context`) => `boolean` \| `Promise`\<`boolean`\>
|
|
142
|
+
|
|
143
|
+
#### Parameters
|
|
144
|
+
|
|
145
|
+
##### confirmation
|
|
146
|
+
|
|
147
|
+
[`OwnerSensitiveActionConfirmation`](OwnerSensitiveActionConfirmation.md)
|
|
148
|
+
|
|
149
|
+
##### context
|
|
150
|
+
|
|
151
|
+
[`OwnerSensitiveActionContext`](OwnerSensitiveActionContext.md)
|
|
152
|
+
|
|
153
|
+
#### Returns
|
|
154
|
+
|
|
155
|
+
`boolean` \| `Promise`\<`boolean`\>
|
|
156
|
+
|
|
157
|
+
***
|
|
158
|
+
|
|
159
|
+
### sessionTokens?
|
|
160
|
+
|
|
161
|
+
> `optional` **sessionTokens?**: `ISessionTokenRegistry`
|
|
162
|
+
|
|
163
|
+
#### Inherited from
|
|
164
|
+
|
|
165
|
+
[`VaultCoreDependenciesOptions`](VaultCoreDependenciesOptions.md).[`sessionTokens`](VaultCoreDependenciesOptions.md#sessiontokens)
|
|
166
|
+
|
|
167
|
+
***
|
|
168
|
+
|
|
169
|
+
### signer?
|
|
170
|
+
|
|
171
|
+
> `optional` **signer?**: [`VaultSigner`](VaultSigner.md)
|
|
172
|
+
|
|
173
|
+
***
|
|
174
|
+
|
|
175
|
+
### skipWarmup?
|
|
176
|
+
|
|
177
|
+
> `optional` **skipWarmup?**: `boolean`
|
|
178
|
+
|
|
179
|
+
***
|
|
180
|
+
|
|
181
|
+
### vault?
|
|
182
|
+
|
|
183
|
+
> `optional` **vault?**: `object`
|
|
184
|
+
|
|
185
|
+
#### customFlows?
|
|
186
|
+
|
|
187
|
+
> `optional` **customFlows?**: `VaultCustomFlowResolver`
|
|
188
|
+
|
|
189
|
+
#### fetchImpl?
|
|
190
|
+
|
|
191
|
+
> `optional` **fetchImpl?**: \{(`input`, `init?`): `Promise`\<`Response`\>; (`input`, `init?`): `Promise`\<`Response`\>; \}
|
|
192
|
+
|
|
193
|
+
##### Call Signature
|
|
194
|
+
|
|
195
|
+
> (`input`, `init?`): `Promise`\<`Response`\>
|
|
196
|
+
|
|
197
|
+
[MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/fetch)
|
|
198
|
+
|
|
199
|
+
###### Parameters
|
|
200
|
+
|
|
201
|
+
###### input
|
|
202
|
+
|
|
203
|
+
`URL` \| `RequestInfo`
|
|
204
|
+
|
|
205
|
+
###### init?
|
|
206
|
+
|
|
207
|
+
`RequestInit`
|
|
208
|
+
|
|
209
|
+
###### Returns
|
|
210
|
+
|
|
211
|
+
`Promise`\<`Response`\>
|
|
212
|
+
|
|
213
|
+
##### Call Signature
|
|
214
|
+
|
|
215
|
+
> (`input`, `init?`): `Promise`\<`Response`\>
|
|
216
|
+
|
|
217
|
+
[MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/fetch)
|
|
218
|
+
|
|
219
|
+
###### Parameters
|
|
220
|
+
|
|
221
|
+
###### input
|
|
222
|
+
|
|
223
|
+
`string` \| `URL` \| `Request`
|
|
224
|
+
|
|
225
|
+
###### init?
|
|
226
|
+
|
|
227
|
+
`RequestInit`
|
|
228
|
+
|
|
229
|
+
###### Returns
|
|
230
|
+
|
|
231
|
+
`Promise`\<`Response`\>
|
|
232
|
+
|
|
233
|
+
#### Inherited from
|
|
234
|
+
|
|
235
|
+
[`RecoverVaultOptions`](RecoverVaultOptions.md).[`vault`](RecoverVaultOptions.md#vault)
|
|
236
|
+
|
|
237
|
+
***
|
|
238
|
+
|
|
239
|
+
### vaultId
|
|
240
|
+
|
|
241
|
+
> **vaultId**: `string`
|
|
242
|
+
|
|
243
|
+
#### Inherited from
|
|
244
|
+
|
|
245
|
+
[`RecoverVaultOptions`](RecoverVaultOptions.md).[`vaultId`](RecoverVaultOptions.md#vaultid)
|
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
[**CBIO Node Runtime Agent API v1.56.0**](../README.md)
|
|
2
|
+
|
|
3
|
+
***
|
|
4
|
+
|
|
5
|
+
# Interface: OwnerSession
|
|
6
|
+
|
|
7
|
+
## Properties
|
|
8
|
+
|
|
9
|
+
### nickname?
|
|
10
|
+
|
|
11
|
+
> `readonly` `optional` **nickname?**: `string`
|
|
12
|
+
|
|
13
|
+
***
|
|
14
|
+
|
|
15
|
+
### storage
|
|
16
|
+
|
|
17
|
+
> `readonly` **storage**: [`IStorageProvider`](IStorageProvider.md)
|
|
18
|
+
|
|
19
|
+
***
|
|
20
|
+
|
|
21
|
+
### vaultId
|
|
22
|
+
|
|
23
|
+
> `readonly` **vaultId**: `string`
|
|
24
|
+
|
|
25
|
+
## Methods
|
|
26
|
+
|
|
27
|
+
### client()
|
|
28
|
+
|
|
29
|
+
> **client**(): `Promise`\<[`VaultClient`](VaultClient.md)\>
|
|
30
|
+
|
|
31
|
+
#### Returns
|
|
32
|
+
|
|
33
|
+
`Promise`\<[`VaultClient`](VaultClient.md)\>
|
|
34
|
+
|
|
35
|
+
***
|
|
36
|
+
|
|
37
|
+
### invalidate()
|
|
38
|
+
|
|
39
|
+
> **invalidate**(): `void`
|
|
40
|
+
|
|
41
|
+
#### Returns
|
|
42
|
+
|
|
43
|
+
`void`
|
|
44
|
+
|
|
45
|
+
***
|
|
46
|
+
|
|
47
|
+
### isValid()
|
|
48
|
+
|
|
49
|
+
> **isValid**(): `boolean`
|
|
50
|
+
|
|
51
|
+
#### Returns
|
|
52
|
+
|
|
53
|
+
`boolean`
|
|
54
|
+
|
|
55
|
+
***
|
|
56
|
+
|
|
57
|
+
### refresh()
|
|
58
|
+
|
|
59
|
+
> **refresh**(): `Promise`\<[`RecoveredVault`](RecoveredVault.md)\>
|
|
60
|
+
|
|
61
|
+
#### Returns
|
|
62
|
+
|
|
63
|
+
`Promise`\<[`RecoveredVault`](RecoveredVault.md)\>
|
|
64
|
+
|
|
65
|
+
***
|
|
66
|
+
|
|
67
|
+
### vault()
|
|
68
|
+
|
|
69
|
+
> **vault**(): `Promise`\<[`RecoveredVault`](RecoveredVault.md)\>
|
|
70
|
+
|
|
71
|
+
#### Returns
|
|
72
|
+
|
|
73
|
+
`Promise`\<[`RecoveredVault`](RecoveredVault.md)\>
|
|
74
|
+
|
|
75
|
+
***
|
|
76
|
+
|
|
77
|
+
### withClient()
|
|
78
|
+
|
|
79
|
+
> **withClient**\<`T`\>(`callback`): `Promise`\<`T`\>
|
|
80
|
+
|
|
81
|
+
#### Type Parameters
|
|
82
|
+
|
|
83
|
+
##### T
|
|
84
|
+
|
|
85
|
+
`T`
|
|
86
|
+
|
|
87
|
+
#### Parameters
|
|
88
|
+
|
|
89
|
+
##### callback
|
|
90
|
+
|
|
91
|
+
(`client`, `vault`) => `T` \| `Promise`\<`T`\>
|
|
92
|
+
|
|
93
|
+
#### Returns
|
|
94
|
+
|
|
95
|
+
`Promise`\<`T`\>
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
[**CBIO Node Runtime Agent API v1.
|
|
1
|
+
[**CBIO Node Runtime Agent API v1.56.0**](../README.md)
|
|
2
2
|
|
|
3
3
|
***
|
|
4
4
|
|
|
@@ -8,6 +8,10 @@
|
|
|
8
8
|
|
|
9
9
|
- `Omit`\<[`CreatePersistentVaultCoreDependenciesOptions`](CreatePersistentVaultCoreDependenciesOptions.md), `"vaultWorkingKey"` \| `"vaultId"`\>
|
|
10
10
|
|
|
11
|
+
## Extended by
|
|
12
|
+
|
|
13
|
+
- [`CreateOwnerSessionOptions`](CreateOwnerSessionOptions.md)
|
|
14
|
+
|
|
11
15
|
## Properties
|
|
12
16
|
|
|
13
17
|
### authHeaderName?
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
[**CBIO Node Runtime Agent API v1.
|
|
1
|
+
[**CBIO Node Runtime Agent API v1.56.0**](../README.md)
|
|
2
2
|
|
|
3
3
|
***
|
|
4
4
|
|
|
@@ -124,7 +124,7 @@ Grants a specific capability to an agent.
|
|
|
124
124
|
|
|
125
125
|
##### input
|
|
126
126
|
|
|
127
|
-
[`
|
|
127
|
+
[`OwnerGrantCapabilityInput`](../type-aliases/OwnerGrantCapabilityInput.md)
|
|
128
128
|
|
|
129
129
|
#### Returns
|
|
130
130
|
|