@onkernel/sdk 0.117.0 → 0.119.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/CHANGELOG.md +15 -0
- package/package.json +1 -1
- package/resources/vaults/index.d.mts +1 -1
- package/resources/vaults/index.d.mts.map +1 -1
- package/resources/vaults/index.d.ts +1 -1
- package/resources/vaults/index.d.ts.map +1 -1
- package/resources/vaults/index.js.map +1 -1
- package/resources/vaults/index.mjs.map +1 -1
- package/resources/vaults/items.d.mts +225 -32
- package/resources/vaults/items.d.mts.map +1 -1
- package/resources/vaults/items.d.ts +225 -32
- package/resources/vaults/items.d.ts.map +1 -1
- package/resources/vaults/items.js +10 -6
- package/resources/vaults/items.js.map +1 -1
- package/resources/vaults/items.mjs +10 -6
- package/resources/vaults/items.mjs.map +1 -1
- package/resources/vaults/vaults.d.mts +11 -5
- package/resources/vaults/vaults.d.mts.map +1 -1
- package/resources/vaults/vaults.d.ts +11 -5
- package/resources/vaults/vaults.d.ts.map +1 -1
- package/resources/vaults/vaults.js +5 -3
- package/resources/vaults/vaults.js.map +1 -1
- package/resources/vaults/vaults.mjs +5 -3
- package/resources/vaults/vaults.mjs.map +1 -1
- package/src/resources/vaults/index.ts +8 -0
- package/src/resources/vaults/items.ts +283 -31
- package/src/resources/vaults/vaults.ts +27 -4
- package/src/version.ts +1 -1
- package/version.d.mts +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/version.mjs +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,20 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [0.119.0](https://github.com/kernel/kernel-node-sdk/compare/v0.118.0...v0.119.0) (2026-10-02)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Features
|
|
7
|
+
|
|
8
|
+
* Add managed auth provider to vault credential items ([6a23c73](https://github.com/kernel/kernel-node-sdk/commit/6a23c73ccc4716c40fff473e2234194e76a354e0))
|
|
9
|
+
|
|
10
|
+
## [0.118.0](https://github.com/kernel/kernel-node-sdk/compare/v0.117.0...v0.118.0) (2026-10-02)
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
### Features
|
|
14
|
+
|
|
15
|
+
* Add a query filter to the vault list endpoint ([2a9d2e8](https://github.com/kernel/kernel-node-sdk/commit/2a9d2e844cb301f882f807a304b7fb6dc82ea077))
|
|
16
|
+
* Add Kernel wallets backed by VGS agentic network tokens, with hosted card capture ([3fced64](https://github.com/kernel/kernel-node-sdk/commit/3fced64a6872afc6dd92f22713c61716cc75ecaa))
|
|
17
|
+
|
|
3
18
|
## [0.117.0](https://github.com/kernel/kernel-node-sdk/compare/v0.116.0...v0.117.0) (2026-10-02)
|
|
4
19
|
|
|
5
20
|
|
package/package.json
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { Items, type AgentcardCheckoutAuthorization, type AgentcardCheckoutPreparation, type AgentcardPreparedProcessor, type AuthorizeVaultItemOperationRequest, type CardVaultItemSpec, type CardVaultItemState, type CollectVaultItemOperationRequest, type CredentialAccountVaultItem, type CredentialAccountVaultItemRequest, type CredentialCollectionAction, type CredentialVaultFieldDefinition, type CredentialVaultFieldInput, type CredentialVaultFieldState, type CredentialVaultFieldType, type CredentialVaultFieldUpdate, type CredentialVaultItem, type CredentialVaultItemRequest, type CredentialVaultItemSpec, type CredentialVaultItemSpecInput, type CredentialVaultItemSpecUpdate, type CredentialVaultItemState, type CredentialVaultItemUpdateRequest, type FillVaultItemOperationRequest, type FillVaultItemOperationResult, type KernelCredentialVaultItemSpec, type KernelCredentialVaultItemSpecInput, type KernelCredentialVaultItemState, type OnePasswordCredentialAccountSpec, type OnePasswordCredentialAccountState, type OnePasswordCredentialVaultItemSpec, type OnePasswordCredentialVaultItemSpecInput, type OnePasswordCredentialVaultItemState, type OnePasswordFillVaultItemOperationRequest, type OnePasswordFillVaultItemOperationResult, type OnePasswordOAuthAction, type OnePasswordRecoverVaultItemOperationRequest, type OnePasswordRequestAccessVaultItemOperationRequest, type PrepareCheckoutVaultItemOperationRequest, type VaultCardAliases, type VaultCardFillField, type VaultCheckoutContext, type VaultFillField, type VaultFillFieldResult, type VaultItem, type VaultItemAction, type VaultItemEvent, type VaultItemOperationResponse, type VaultPaymentMethod, type VaultWebmcpBinding, type WalletVaultItemSpec, type WalletVaultItemState, type WebmcpInvokeVaultItemOperationRequest, type WebmcpInvokeVaultItemOperationResult, type ItemListResponse, type ItemEventsResponse, type ItemRetrieveParams, type ItemUpdateParams, type ItemDeleteParams, type ItemEventsParams, type ItemPerformOperationParams, type ItemUpsertParams, } from "./items.mjs";
|
|
1
|
+
export { Items, type AgentcardCheckoutAuthorization, type AgentcardCheckoutPreparation, type AgentcardPreparedProcessor, type AuthorizeVaultItemOperationRequest, type CardVaultItemSpec, type CardVaultItemState, type CollectVaultItemOperationRequest, type CredentialAccountVaultItem, type CredentialAccountVaultItemRequest, type CredentialCollectionAction, type CredentialVaultFieldDefinition, type CredentialVaultFieldInput, type CredentialVaultFieldState, type CredentialVaultFieldType, type CredentialVaultFieldUpdate, type CredentialVaultItem, type CredentialVaultItemRequest, type CredentialVaultItemSpec, type CredentialVaultItemSpecInput, type CredentialVaultItemSpecUpdate, type CredentialVaultItemState, type CredentialVaultItemUpdateRequest, type FillVaultItemOperationRequest, type FillVaultItemOperationResult, type KernelCardState, type KernelCardVaultItemSpec, type KernelCredentialVaultItemSpec, type KernelCredentialVaultItemSpecInput, type KernelCredentialVaultItemState, type KernelWalletState, type KernelWalletVaultItemSpec, type ManagedAuthCredentialVaultField, type ManagedAuthCredentialVaultItemSpec, type ManagedAuthCredentialVaultItemSpecInput, type ManagedAuthCredentialVaultItemState, type OnePasswordCredentialAccountSpec, type OnePasswordCredentialAccountState, type OnePasswordCredentialVaultItemSpec, type OnePasswordCredentialVaultItemSpecInput, type OnePasswordCredentialVaultItemState, type OnePasswordFillVaultItemOperationRequest, type OnePasswordFillVaultItemOperationResult, type OnePasswordOAuthAction, type OnePasswordRecoverVaultItemOperationRequest, type OnePasswordRequestAccessVaultItemOperationRequest, type PrepareCheckoutVaultItemOperationRequest, type VaultCardAliases, type VaultCardFillField, type VaultCheckoutContext, type VaultFillField, type VaultFillFieldResult, type VaultItem, type VaultItemAction, type VaultItemEvent, type VaultItemOperationResponse, type VaultPaymentMethod, type VaultWebmcpBinding, type WalletVaultItemSpec, type WalletVaultItemState, type WebmcpInvokeVaultItemOperationRequest, type WebmcpInvokeVaultItemOperationResult, type ItemListResponse, type ItemEventsResponse, type ItemRetrieveParams, type ItemUpdateParams, type ItemDeleteParams, type ItemEventsParams, type ItemPerformOperationParams, type ItemUpsertParams, } from "./items.mjs";
|
|
2
2
|
export { Vaults, type Vault, type VaultListParams, type VaultUpsertParams, type VaultsOffsetPagination, } from "./vaults.mjs";
|
|
3
3
|
//# sourceMappingURL=index.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../../src/resources/vaults/index.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,KAAK,EACL,KAAK,8BAA8B,EACnC,KAAK,4BAA4B,EACjC,KAAK,0BAA0B,EAC/B,KAAK,kCAAkC,EACvC,KAAK,iBAAiB,EACtB,KAAK,kBAAkB,EACvB,KAAK,gCAAgC,EACrC,KAAK,0BAA0B,EAC/B,KAAK,iCAAiC,EACtC,KAAK,0BAA0B,EAC/B,KAAK,8BAA8B,EACnC,KAAK,yBAAyB,EAC9B,KAAK,yBAAyB,EAC9B,KAAK,wBAAwB,EAC7B,KAAK,0BAA0B,EAC/B,KAAK,mBAAmB,EACxB,KAAK,0BAA0B,EAC/B,KAAK,uBAAuB,EAC5B,KAAK,4BAA4B,EACjC,KAAK,6BAA6B,EAClC,KAAK,wBAAwB,EAC7B,KAAK,gCAAgC,EACrC,KAAK,6BAA6B,EAClC,KAAK,4BAA4B,EACjC,KAAK,6BAA6B,EAClC,KAAK,kCAAkC,EACvC,KAAK,8BAA8B,EACnC,KAAK,gCAAgC,EACrC,KAAK,iCAAiC,EACtC,KAAK,kCAAkC,EACvC,KAAK,uCAAuC,EAC5C,KAAK,mCAAmC,EACxC,KAAK,wCAAwC,EAC7C,KAAK,uCAAuC,EAC5C,KAAK,sBAAsB,EAC3B,KAAK,2CAA2C,EAChD,KAAK,iDAAiD,EACtD,KAAK,wCAAwC,EAC7C,KAAK,gBAAgB,EACrB,KAAK,kBAAkB,EACvB,KAAK,oBAAoB,EACzB,KAAK,cAAc,EACnB,KAAK,oBAAoB,EACzB,KAAK,SAAS,EACd,KAAK,eAAe,EACpB,KAAK,cAAc,EACnB,KAAK,0BAA0B,EAC/B,KAAK,kBAAkB,EACvB,KAAK,kBAAkB,EACvB,KAAK,mBAAmB,EACxB,KAAK,oBAAoB,EACzB,KAAK,qCAAqC,EAC1C,KAAK,oCAAoC,EACzC,KAAK,gBAAgB,EACrB,KAAK,kBAAkB,EACvB,KAAK,kBAAkB,EACvB,KAAK,gBAAgB,EACrB,KAAK,gBAAgB,EACrB,KAAK,gBAAgB,EACrB,KAAK,0BAA0B,EAC/B,KAAK,gBAAgB,GACtB,oBAAgB;AACjB,OAAO,EACL,MAAM,EACN,KAAK,KAAK,EACV,KAAK,eAAe,EACpB,KAAK,iBAAiB,EACtB,KAAK,sBAAsB,GAC5B,qBAAiB"}
|
|
1
|
+
{"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../../src/resources/vaults/index.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,KAAK,EACL,KAAK,8BAA8B,EACnC,KAAK,4BAA4B,EACjC,KAAK,0BAA0B,EAC/B,KAAK,kCAAkC,EACvC,KAAK,iBAAiB,EACtB,KAAK,kBAAkB,EACvB,KAAK,gCAAgC,EACrC,KAAK,0BAA0B,EAC/B,KAAK,iCAAiC,EACtC,KAAK,0BAA0B,EAC/B,KAAK,8BAA8B,EACnC,KAAK,yBAAyB,EAC9B,KAAK,yBAAyB,EAC9B,KAAK,wBAAwB,EAC7B,KAAK,0BAA0B,EAC/B,KAAK,mBAAmB,EACxB,KAAK,0BAA0B,EAC/B,KAAK,uBAAuB,EAC5B,KAAK,4BAA4B,EACjC,KAAK,6BAA6B,EAClC,KAAK,wBAAwB,EAC7B,KAAK,gCAAgC,EACrC,KAAK,6BAA6B,EAClC,KAAK,4BAA4B,EACjC,KAAK,eAAe,EACpB,KAAK,uBAAuB,EAC5B,KAAK,6BAA6B,EAClC,KAAK,kCAAkC,EACvC,KAAK,8BAA8B,EACnC,KAAK,iBAAiB,EACtB,KAAK,yBAAyB,EAC9B,KAAK,+BAA+B,EACpC,KAAK,kCAAkC,EACvC,KAAK,uCAAuC,EAC5C,KAAK,mCAAmC,EACxC,KAAK,gCAAgC,EACrC,KAAK,iCAAiC,EACtC,KAAK,kCAAkC,EACvC,KAAK,uCAAuC,EAC5C,KAAK,mCAAmC,EACxC,KAAK,wCAAwC,EAC7C,KAAK,uCAAuC,EAC5C,KAAK,sBAAsB,EAC3B,KAAK,2CAA2C,EAChD,KAAK,iDAAiD,EACtD,KAAK,wCAAwC,EAC7C,KAAK,gBAAgB,EACrB,KAAK,kBAAkB,EACvB,KAAK,oBAAoB,EACzB,KAAK,cAAc,EACnB,KAAK,oBAAoB,EACzB,KAAK,SAAS,EACd,KAAK,eAAe,EACpB,KAAK,cAAc,EACnB,KAAK,0BAA0B,EAC/B,KAAK,kBAAkB,EACvB,KAAK,kBAAkB,EACvB,KAAK,mBAAmB,EACxB,KAAK,oBAAoB,EACzB,KAAK,qCAAqC,EAC1C,KAAK,oCAAoC,EACzC,KAAK,gBAAgB,EACrB,KAAK,kBAAkB,EACvB,KAAK,kBAAkB,EACvB,KAAK,gBAAgB,EACrB,KAAK,gBAAgB,EACrB,KAAK,gBAAgB,EACrB,KAAK,0BAA0B,EAC/B,KAAK,gBAAgB,GACtB,oBAAgB;AACjB,OAAO,EACL,MAAM,EACN,KAAK,KAAK,EACV,KAAK,eAAe,EACpB,KAAK,iBAAiB,EACtB,KAAK,sBAAsB,GAC5B,qBAAiB"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { Items, type AgentcardCheckoutAuthorization, type AgentcardCheckoutPreparation, type AgentcardPreparedProcessor, type AuthorizeVaultItemOperationRequest, type CardVaultItemSpec, type CardVaultItemState, type CollectVaultItemOperationRequest, type CredentialAccountVaultItem, type CredentialAccountVaultItemRequest, type CredentialCollectionAction, type CredentialVaultFieldDefinition, type CredentialVaultFieldInput, type CredentialVaultFieldState, type CredentialVaultFieldType, type CredentialVaultFieldUpdate, type CredentialVaultItem, type CredentialVaultItemRequest, type CredentialVaultItemSpec, type CredentialVaultItemSpecInput, type CredentialVaultItemSpecUpdate, type CredentialVaultItemState, type CredentialVaultItemUpdateRequest, type FillVaultItemOperationRequest, type FillVaultItemOperationResult, type KernelCredentialVaultItemSpec, type KernelCredentialVaultItemSpecInput, type KernelCredentialVaultItemState, type OnePasswordCredentialAccountSpec, type OnePasswordCredentialAccountState, type OnePasswordCredentialVaultItemSpec, type OnePasswordCredentialVaultItemSpecInput, type OnePasswordCredentialVaultItemState, type OnePasswordFillVaultItemOperationRequest, type OnePasswordFillVaultItemOperationResult, type OnePasswordOAuthAction, type OnePasswordRecoverVaultItemOperationRequest, type OnePasswordRequestAccessVaultItemOperationRequest, type PrepareCheckoutVaultItemOperationRequest, type VaultCardAliases, type VaultCardFillField, type VaultCheckoutContext, type VaultFillField, type VaultFillFieldResult, type VaultItem, type VaultItemAction, type VaultItemEvent, type VaultItemOperationResponse, type VaultPaymentMethod, type VaultWebmcpBinding, type WalletVaultItemSpec, type WalletVaultItemState, type WebmcpInvokeVaultItemOperationRequest, type WebmcpInvokeVaultItemOperationResult, type ItemListResponse, type ItemEventsResponse, type ItemRetrieveParams, type ItemUpdateParams, type ItemDeleteParams, type ItemEventsParams, type ItemPerformOperationParams, type ItemUpsertParams, } from "./items.js";
|
|
1
|
+
export { Items, type AgentcardCheckoutAuthorization, type AgentcardCheckoutPreparation, type AgentcardPreparedProcessor, type AuthorizeVaultItemOperationRequest, type CardVaultItemSpec, type CardVaultItemState, type CollectVaultItemOperationRequest, type CredentialAccountVaultItem, type CredentialAccountVaultItemRequest, type CredentialCollectionAction, type CredentialVaultFieldDefinition, type CredentialVaultFieldInput, type CredentialVaultFieldState, type CredentialVaultFieldType, type CredentialVaultFieldUpdate, type CredentialVaultItem, type CredentialVaultItemRequest, type CredentialVaultItemSpec, type CredentialVaultItemSpecInput, type CredentialVaultItemSpecUpdate, type CredentialVaultItemState, type CredentialVaultItemUpdateRequest, type FillVaultItemOperationRequest, type FillVaultItemOperationResult, type KernelCardState, type KernelCardVaultItemSpec, type KernelCredentialVaultItemSpec, type KernelCredentialVaultItemSpecInput, type KernelCredentialVaultItemState, type KernelWalletState, type KernelWalletVaultItemSpec, type ManagedAuthCredentialVaultField, type ManagedAuthCredentialVaultItemSpec, type ManagedAuthCredentialVaultItemSpecInput, type ManagedAuthCredentialVaultItemState, type OnePasswordCredentialAccountSpec, type OnePasswordCredentialAccountState, type OnePasswordCredentialVaultItemSpec, type OnePasswordCredentialVaultItemSpecInput, type OnePasswordCredentialVaultItemState, type OnePasswordFillVaultItemOperationRequest, type OnePasswordFillVaultItemOperationResult, type OnePasswordOAuthAction, type OnePasswordRecoverVaultItemOperationRequest, type OnePasswordRequestAccessVaultItemOperationRequest, type PrepareCheckoutVaultItemOperationRequest, type VaultCardAliases, type VaultCardFillField, type VaultCheckoutContext, type VaultFillField, type VaultFillFieldResult, type VaultItem, type VaultItemAction, type VaultItemEvent, type VaultItemOperationResponse, type VaultPaymentMethod, type VaultWebmcpBinding, type WalletVaultItemSpec, type WalletVaultItemState, type WebmcpInvokeVaultItemOperationRequest, type WebmcpInvokeVaultItemOperationResult, type ItemListResponse, type ItemEventsResponse, type ItemRetrieveParams, type ItemUpdateParams, type ItemDeleteParams, type ItemEventsParams, type ItemPerformOperationParams, type ItemUpsertParams, } from "./items.js";
|
|
2
2
|
export { Vaults, type Vault, type VaultListParams, type VaultUpsertParams, type VaultsOffsetPagination, } from "./vaults.js";
|
|
3
3
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/resources/vaults/index.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,KAAK,EACL,KAAK,8BAA8B,EACnC,KAAK,4BAA4B,EACjC,KAAK,0BAA0B,EAC/B,KAAK,kCAAkC,EACvC,KAAK,iBAAiB,EACtB,KAAK,kBAAkB,EACvB,KAAK,gCAAgC,EACrC,KAAK,0BAA0B,EAC/B,KAAK,iCAAiC,EACtC,KAAK,0BAA0B,EAC/B,KAAK,8BAA8B,EACnC,KAAK,yBAAyB,EAC9B,KAAK,yBAAyB,EAC9B,KAAK,wBAAwB,EAC7B,KAAK,0BAA0B,EAC/B,KAAK,mBAAmB,EACxB,KAAK,0BAA0B,EAC/B,KAAK,uBAAuB,EAC5B,KAAK,4BAA4B,EACjC,KAAK,6BAA6B,EAClC,KAAK,wBAAwB,EAC7B,KAAK,gCAAgC,EACrC,KAAK,6BAA6B,EAClC,KAAK,4BAA4B,EACjC,KAAK,6BAA6B,EAClC,KAAK,kCAAkC,EACvC,KAAK,8BAA8B,EACnC,KAAK,gCAAgC,EACrC,KAAK,iCAAiC,EACtC,KAAK,kCAAkC,EACvC,KAAK,uCAAuC,EAC5C,KAAK,mCAAmC,EACxC,KAAK,wCAAwC,EAC7C,KAAK,uCAAuC,EAC5C,KAAK,sBAAsB,EAC3B,KAAK,2CAA2C,EAChD,KAAK,iDAAiD,EACtD,KAAK,wCAAwC,EAC7C,KAAK,gBAAgB,EACrB,KAAK,kBAAkB,EACvB,KAAK,oBAAoB,EACzB,KAAK,cAAc,EACnB,KAAK,oBAAoB,EACzB,KAAK,SAAS,EACd,KAAK,eAAe,EACpB,KAAK,cAAc,EACnB,KAAK,0BAA0B,EAC/B,KAAK,kBAAkB,EACvB,KAAK,kBAAkB,EACvB,KAAK,mBAAmB,EACxB,KAAK,oBAAoB,EACzB,KAAK,qCAAqC,EAC1C,KAAK,oCAAoC,EACzC,KAAK,gBAAgB,EACrB,KAAK,kBAAkB,EACvB,KAAK,kBAAkB,EACvB,KAAK,gBAAgB,EACrB,KAAK,gBAAgB,EACrB,KAAK,gBAAgB,EACrB,KAAK,0BAA0B,EAC/B,KAAK,gBAAgB,GACtB,mBAAgB;AACjB,OAAO,EACL,MAAM,EACN,KAAK,KAAK,EACV,KAAK,eAAe,EACpB,KAAK,iBAAiB,EACtB,KAAK,sBAAsB,GAC5B,oBAAiB"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/resources/vaults/index.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,KAAK,EACL,KAAK,8BAA8B,EACnC,KAAK,4BAA4B,EACjC,KAAK,0BAA0B,EAC/B,KAAK,kCAAkC,EACvC,KAAK,iBAAiB,EACtB,KAAK,kBAAkB,EACvB,KAAK,gCAAgC,EACrC,KAAK,0BAA0B,EAC/B,KAAK,iCAAiC,EACtC,KAAK,0BAA0B,EAC/B,KAAK,8BAA8B,EACnC,KAAK,yBAAyB,EAC9B,KAAK,yBAAyB,EAC9B,KAAK,wBAAwB,EAC7B,KAAK,0BAA0B,EAC/B,KAAK,mBAAmB,EACxB,KAAK,0BAA0B,EAC/B,KAAK,uBAAuB,EAC5B,KAAK,4BAA4B,EACjC,KAAK,6BAA6B,EAClC,KAAK,wBAAwB,EAC7B,KAAK,gCAAgC,EACrC,KAAK,6BAA6B,EAClC,KAAK,4BAA4B,EACjC,KAAK,eAAe,EACpB,KAAK,uBAAuB,EAC5B,KAAK,6BAA6B,EAClC,KAAK,kCAAkC,EACvC,KAAK,8BAA8B,EACnC,KAAK,iBAAiB,EACtB,KAAK,yBAAyB,EAC9B,KAAK,+BAA+B,EACpC,KAAK,kCAAkC,EACvC,KAAK,uCAAuC,EAC5C,KAAK,mCAAmC,EACxC,KAAK,gCAAgC,EACrC,KAAK,iCAAiC,EACtC,KAAK,kCAAkC,EACvC,KAAK,uCAAuC,EAC5C,KAAK,mCAAmC,EACxC,KAAK,wCAAwC,EAC7C,KAAK,uCAAuC,EAC5C,KAAK,sBAAsB,EAC3B,KAAK,2CAA2C,EAChD,KAAK,iDAAiD,EACtD,KAAK,wCAAwC,EAC7C,KAAK,gBAAgB,EACrB,KAAK,kBAAkB,EACvB,KAAK,oBAAoB,EACzB,KAAK,cAAc,EACnB,KAAK,oBAAoB,EACzB,KAAK,SAAS,EACd,KAAK,eAAe,EACpB,KAAK,cAAc,EACnB,KAAK,0BAA0B,EAC/B,KAAK,kBAAkB,EACvB,KAAK,kBAAkB,EACvB,KAAK,mBAAmB,EACxB,KAAK,oBAAoB,EACzB,KAAK,qCAAqC,EAC1C,KAAK,oCAAoC,EACzC,KAAK,gBAAgB,EACrB,KAAK,kBAAkB,EACvB,KAAK,kBAAkB,EACvB,KAAK,gBAAgB,EACrB,KAAK,gBAAgB,EACrB,KAAK,gBAAgB,EACrB,KAAK,0BAA0B,EAC/B,KAAK,gBAAgB,GACtB,mBAAgB;AACjB,OAAO,EACL,MAAM,EACN,KAAK,KAAK,EACV,KAAK,eAAe,EACpB,KAAK,iBAAiB,EACtB,KAAK,sBAAsB,GAC5B,oBAAiB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/resources/vaults/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/resources/vaults/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,oCAuEiB;AAtEf,8FAAA,KAAK,OAAA;AAuEP,sCAMkB;AALhB,gGAAA,MAAM,OAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.mjs","sourceRoot":"","sources":["../../src/resources/vaults/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EACL,KAAK,
|
|
1
|
+
{"version":3,"file":"index.mjs","sourceRoot":"","sources":["../../src/resources/vaults/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EACL,KAAK,GAsEN,oBAAgB;AACjB,OAAO,EACL,MAAM,GAKP,qBAAiB"}
|
|
@@ -71,10 +71,14 @@ export declare class Items extends APIResource {
|
|
|
71
71
|
list(idOrName: string, options?: RequestOptions): APIPromise<ItemListResponse>;
|
|
72
72
|
/**
|
|
73
73
|
* Unresolved payment operations normally block deletion, including operations on
|
|
74
|
-
* child cards of a wallet.
|
|
75
|
-
*
|
|
76
|
-
*
|
|
77
|
-
*
|
|
74
|
+
* child cards of a wallet. Deleting a connected Kernel wallet first blocks new
|
|
75
|
+
* payments on it, then removes its enrolled card. If that fails, the wallet is
|
|
76
|
+
* kept and keeps refusing payments; retry the deletion. An AgentCard card in
|
|
77
|
+
* recovery_required whose checkout create response returned no authorization ID
|
|
78
|
+
* may be explicitly abandoned by deleting that card directly; deleting its wallet
|
|
79
|
+
* or vault remains blocked. Deleting or recreating an item is not proof that a
|
|
80
|
+
* payment did not occur. Deleting a managed auth credential item leaves the
|
|
81
|
+
* connection and its saved credential unchanged.
|
|
78
82
|
*
|
|
79
83
|
* @example
|
|
80
84
|
* ```ts
|
|
@@ -143,8 +147,8 @@ export declare class Items extends APIResource {
|
|
|
143
147
|
* ```ts
|
|
144
148
|
* const vaultItem = await client.vaults.items.upsert('x', {
|
|
145
149
|
* id_or_name: 'id_or_name',
|
|
146
|
-
* spec: { provider: '
|
|
147
|
-
* type: '
|
|
150
|
+
* spec: { provider: 'managed_auth' },
|
|
151
|
+
* type: 'credential',
|
|
148
152
|
* });
|
|
149
153
|
* ```
|
|
150
154
|
*/
|
|
@@ -222,8 +226,8 @@ export interface AgentcardCheckoutPreparation {
|
|
|
222
226
|
}
|
|
223
227
|
export type AgentcardPreparedProcessor = 'square' | 'braintree' | 'worldpay' | 'bambora' | 'mercado_pago' | 'adyen';
|
|
224
228
|
/**
|
|
225
|
-
* Authorize a Link card using its existing purchase specification. Use
|
|
226
|
-
* explicit user approval and when the item advertises authorize. Do not
|
|
229
|
+
* Authorize a Link or Kernel card using its existing purchase specification. Use
|
|
230
|
+
* only after explicit user approval and when the item advertises authorize. Do not
|
|
227
231
|
* automatically retry provider failures or indeterminate outcomes. Checkout
|
|
228
232
|
* context is not accepted.
|
|
229
233
|
*/
|
|
@@ -233,7 +237,7 @@ export interface AuthorizeVaultItemOperationRequest {
|
|
|
233
237
|
/**
|
|
234
238
|
* Live payment card. Test-mode card creation is not supported.
|
|
235
239
|
*/
|
|
236
|
-
export type CardVaultItemSpec = CardVaultItemSpec.LinkCardVaultItemSpec | CardVaultItemSpec.AgentCardCardVaultItemSpec;
|
|
240
|
+
export type CardVaultItemSpec = CardVaultItemSpec.LinkCardVaultItemSpec | CardVaultItemSpec.AgentCardCardVaultItemSpec | KernelCardVaultItemSpec;
|
|
237
241
|
export declare namespace CardVaultItemSpec {
|
|
238
242
|
/**
|
|
239
243
|
* Live payment card. Test-mode card creation is not supported.
|
|
@@ -344,7 +348,7 @@ export declare namespace CardVaultItemSpec {
|
|
|
344
348
|
* Issued Link cards retain encrypted card material for the fill operation. Link
|
|
345
349
|
* cards do not expose aliases or support egress substitution.
|
|
346
350
|
*/
|
|
347
|
-
export type CardVaultItemState = CardVaultItemState.LinkCardState | CardVaultItemState.AgentCardCardState;
|
|
351
|
+
export type CardVaultItemState = CardVaultItemState.LinkCardState | CardVaultItemState.AgentCardCardState | KernelCardState;
|
|
348
352
|
export declare namespace CardVaultItemState {
|
|
349
353
|
/**
|
|
350
354
|
* Issued Link cards retain encrypted card material for the fill operation. Link
|
|
@@ -368,6 +372,10 @@ export declare namespace CardVaultItemState {
|
|
|
368
372
|
interface Masks {
|
|
369
373
|
brand?: string;
|
|
370
374
|
last4?: string;
|
|
375
|
+
/**
|
|
376
|
+
* Last four digits of the network token presented to the merchant.
|
|
377
|
+
*/
|
|
378
|
+
token_last4?: string;
|
|
371
379
|
[k: string]: string | undefined;
|
|
372
380
|
}
|
|
373
381
|
}
|
|
@@ -406,6 +414,10 @@ export declare namespace CardVaultItemState {
|
|
|
406
414
|
interface Masks {
|
|
407
415
|
brand?: string;
|
|
408
416
|
last4?: string;
|
|
417
|
+
/**
|
|
418
|
+
* Last four digits of the network token presented to the merchant.
|
|
419
|
+
*/
|
|
420
|
+
token_last4?: string;
|
|
409
421
|
[k: string]: string | undefined;
|
|
410
422
|
}
|
|
411
423
|
}
|
|
@@ -620,7 +632,8 @@ export interface CredentialVaultItem {
|
|
|
620
632
|
* Kernel credentials advertise collect and fill when eligible. 1Password
|
|
621
633
|
* credentials advertise 1pw_create_access_request until a request is made,
|
|
622
634
|
* 1pw_access_request_status while its approval is pending, and 1pw_fill after
|
|
623
|
-
* access is granted.
|
|
635
|
+
* access is granted. Managed auth credentials advertise fill while ready and
|
|
636
|
+
* nothing otherwise.
|
|
624
637
|
*/
|
|
625
638
|
available_operations: Array<CredentialVaultItem.AvailableOperation>;
|
|
626
639
|
created_at: string;
|
|
@@ -638,7 +651,8 @@ export interface CredentialVaultItem {
|
|
|
638
651
|
updated_at: string;
|
|
639
652
|
/**
|
|
640
653
|
* Starts at 1 and increments on PATCH and successful hosted submission, but not
|
|
641
|
-
* collection-link renewal.
|
|
654
|
+
* collection-link renewal. Managed auth credentials stay at 1; changes to the
|
|
655
|
+
* underlying credential are read at fill time and do not change the version.
|
|
642
656
|
*/
|
|
643
657
|
version: number;
|
|
644
658
|
/**
|
|
@@ -711,7 +725,9 @@ export declare namespace CredentialVaultItem {
|
|
|
711
725
|
* declare fields and may enter pending_collection. 1Password credentials either
|
|
712
726
|
* reference a connected credential_account or store a supplied access token and
|
|
713
727
|
* integration key encrypted on the item. They store no login values or selectors.
|
|
714
|
-
*
|
|
728
|
+
* Managed auth credentials reference a managed auth connection in the same project
|
|
729
|
+
* that already has a saved credential, and read it at fill time; they store no
|
|
730
|
+
* values. Repeating the original creation request returns the current item without
|
|
715
731
|
* overwriting later state. A different request at the same key returns 409.
|
|
716
732
|
*/
|
|
717
733
|
export interface CredentialVaultItemRequest {
|
|
@@ -729,7 +745,7 @@ export interface CredentialVaultItemRequest {
|
|
|
729
745
|
* Stored-token credentials omit account and never return access_token or
|
|
730
746
|
* integration_key.
|
|
731
747
|
*/
|
|
732
|
-
export type CredentialVaultItemSpec = KernelCredentialVaultItemSpec | OnePasswordCredentialVaultItemSpec;
|
|
748
|
+
export type CredentialVaultItemSpec = KernelCredentialVaultItemSpec | OnePasswordCredentialVaultItemSpec | ManagedAuthCredentialVaultItemSpec;
|
|
733
749
|
/**
|
|
734
750
|
* Credential fields are for login and other non-payment credentials. Do not store,
|
|
735
751
|
* collect, or fill credit card data in credential items. Use wallet and card item
|
|
@@ -737,7 +753,7 @@ export type CredentialVaultItemSpec = KernelCredentialVaultItemSpec | OnePasswor
|
|
|
737
753
|
* the user-facing collection form, so list fields in the same top-to-bottom order
|
|
738
754
|
* as the website.
|
|
739
755
|
*/
|
|
740
|
-
export type CredentialVaultItemSpecInput = KernelCredentialVaultItemSpecInput | OnePasswordCredentialVaultItemSpecInput;
|
|
756
|
+
export type CredentialVaultItemSpecInput = KernelCredentialVaultItemSpecInput | OnePasswordCredentialVaultItemSpecInput | ManagedAuthCredentialVaultItemSpecInput;
|
|
741
757
|
export interface CredentialVaultItemSpecUpdate {
|
|
742
758
|
/**
|
|
743
759
|
* Recognizable site or service name used as the form title, without suffixes such
|
|
@@ -749,7 +765,7 @@ export interface CredentialVaultItemSpecUpdate {
|
|
|
749
765
|
[key: string]: CredentialVaultFieldUpdate;
|
|
750
766
|
};
|
|
751
767
|
}
|
|
752
|
-
export type CredentialVaultItemState = KernelCredentialVaultItemState | OnePasswordCredentialVaultItemState;
|
|
768
|
+
export type CredentialVaultItemState = KernelCredentialVaultItemState | OnePasswordCredentialVaultItemState | ManagedAuthCredentialVaultItemState;
|
|
753
769
|
/**
|
|
754
770
|
* Atomically update description and selected values. Omitted properties are
|
|
755
771
|
* preserved. Field names, types, required flags, and sensitivity cannot change.
|
|
@@ -758,7 +774,8 @@ export type CredentialVaultItemState = KernelCredentialVaultItemState | OnePassw
|
|
|
758
774
|
* invalidates outstanding Kernel-hosted collection sessions. If required values
|
|
759
775
|
* remain missing, return pending_collection and a fresh collection action.
|
|
760
776
|
* Otherwise return ready without an action; collect can open the form again
|
|
761
|
-
* without clearing values. Customer URLs have no Kernel-managed expiry.
|
|
777
|
+
* without clearing values. Customer URLs have no Kernel-managed expiry. 1Password
|
|
778
|
+
* and managed auth credentials return 409.
|
|
762
779
|
*/
|
|
763
780
|
export interface CredentialVaultItemUpdateRequest {
|
|
764
781
|
spec: CredentialVaultItemSpecUpdate;
|
|
@@ -776,11 +793,11 @@ export interface CredentialVaultItemUpdateRequest {
|
|
|
776
793
|
expected_item_id?: string;
|
|
777
794
|
}
|
|
778
795
|
/**
|
|
779
|
-
* Fill selected fields from one ready credential or ready, unexpired Link
|
|
780
|
-
* into a browser linked to its vault. Only invoke when the item
|
|
781
|
-
* Browser and vault must belong to the same project. Kernel
|
|
782
|
-
* allowed destinations before filling; providing a page URL does
|
|
783
|
-
* destination.
|
|
796
|
+
* Fill selected fields from one ready credential or ready, unexpired Link or
|
|
797
|
+
* Kernel card into a browser linked to its vault. Only invoke when the item
|
|
798
|
+
* advertises `fill`. Browser and vault must belong to the same project. Kernel
|
|
799
|
+
* checks access and allowed destinations before filling; providing a page URL does
|
|
800
|
+
* not authorize a destination.
|
|
784
801
|
*
|
|
785
802
|
* Find exactly one open page matching `page_url`. Credential items may omit
|
|
786
803
|
* `page_url` to require exactly one open page; cards require an HTTPS page URL.
|
|
@@ -796,9 +813,10 @@ export interface CredentialVaultItemUpdateRequest {
|
|
|
796
813
|
*
|
|
797
814
|
* Fill in request order and stop on the first failure. This operation is not
|
|
798
815
|
* atomic: previously filled fields are not rolled back. Never submit the form or
|
|
799
|
-
* click buttons, though input/change events may trigger site behavior. Link
|
|
800
|
-
* use fill for browser checkout and do not expose aliases or support
|
|
801
|
-
* substitution. Do not automatically retry a failed or indeterminate
|
|
816
|
+
* click buttons, though input/change events may trigger site behavior. Link and
|
|
817
|
+
* Kernel cards use fill for browser checkout and do not expose aliases or support
|
|
818
|
+
* egress substitution. Do not automatically retry a failed or indeterminate
|
|
819
|
+
* operation.
|
|
802
820
|
*
|
|
803
821
|
* Secret values are never returned or included in operation logs, traces, audit
|
|
804
822
|
* events, or error details. This does not prevent an agent with unrestricted
|
|
@@ -842,6 +860,76 @@ export interface FillVaultItemOperationResult {
|
|
|
842
860
|
status: 'completed' | 'failed' | 'unknown';
|
|
843
861
|
type: 'fill';
|
|
844
862
|
}
|
|
863
|
+
/**
|
|
864
|
+
* A ready Kernel card retains its encrypted network token and one-time code for
|
|
865
|
+
* the fill operation until the item's expires_at. Fill and submit checkout before
|
|
866
|
+
* then. Visa cards can be enrolled, but Visa purchases are not yet supported and
|
|
867
|
+
* authorize returns 400; supported Mastercard purchases need no cardholder
|
|
868
|
+
* approval. masks.last4 is the enrolled card's last four digits; masks.token_last4
|
|
869
|
+
* is the network token's last four digits shown to the merchant. Kernel cards do
|
|
870
|
+
* not expose aliases or support egress substitution. Kernel does not observe
|
|
871
|
+
* whether the merchant charged the card.
|
|
872
|
+
*/
|
|
873
|
+
export interface KernelCardState {
|
|
874
|
+
provider: 'kernel';
|
|
875
|
+
/**
|
|
876
|
+
* recovery_required means issuing the one-time code has an unresolved outcome.
|
|
877
|
+
* Kernel never issues another code for the item automatically, and the item cannot
|
|
878
|
+
* be deleted or replaced until the original attempt is reconciled with support.
|
|
879
|
+
* When status_reason says the provider refused retrieval before acceptance, no
|
|
880
|
+
* code was issued and a later read retries.
|
|
881
|
+
*/
|
|
882
|
+
status: 'requested' | 'pending_authorization' | 'ready' | 'consumed' | 'expired' | 'declined' | 'recovery_required';
|
|
883
|
+
/**
|
|
884
|
+
* Informational registrable domain. Fill is locked to merchant_url's exact origin.
|
|
885
|
+
*/
|
|
886
|
+
domains?: Array<string>;
|
|
887
|
+
masks?: KernelCardState.Masks;
|
|
888
|
+
status_reason?: string;
|
|
889
|
+
}
|
|
890
|
+
export declare namespace KernelCardState {
|
|
891
|
+
interface Masks {
|
|
892
|
+
brand?: string;
|
|
893
|
+
last4?: string;
|
|
894
|
+
/**
|
|
895
|
+
* Last four digits of the network token presented to the merchant.
|
|
896
|
+
*/
|
|
897
|
+
token_last4?: string;
|
|
898
|
+
[k: string]: string | undefined;
|
|
899
|
+
}
|
|
900
|
+
}
|
|
901
|
+
/**
|
|
902
|
+
* One live purchase with a Kernel-enrolled card. Authorization obtains an agentic
|
|
903
|
+
* network token number, expiry and one-time 3-digit code. They are stored
|
|
904
|
+
* encrypted for the fill operation, which types them only on merchant_url's
|
|
905
|
+
* origin; the merchant's own checkout submits the payment. The one-time code is
|
|
906
|
+
* valid until the item's expires_at; fill and submit checkout before then. Visa
|
|
907
|
+
* cards can be enrolled, but Visa purchases are not yet supported: authorize
|
|
908
|
+
* returns 400. Supported Mastercard purchases need no cardholder approval. Card
|
|
909
|
+
* updates are not supported; delete and create a new item instead.
|
|
910
|
+
*/
|
|
911
|
+
export interface KernelCardVaultItemSpec {
|
|
912
|
+
/**
|
|
913
|
+
* Integer amount in minor currency units (at most 50000), bound to the one-time
|
|
914
|
+
* code.
|
|
915
|
+
*/
|
|
916
|
+
amount: number;
|
|
917
|
+
/**
|
|
918
|
+
* ISO 4217 code. Supported: aud, brl, cad, chf, czk, dkk, eur, gbp, hkd, inr, jpy,
|
|
919
|
+
* krw, mxn, nok, nzd, pln, sek, sgd, usd, zar.
|
|
920
|
+
*/
|
|
921
|
+
currency: string;
|
|
922
|
+
merchant_name: string;
|
|
923
|
+
/**
|
|
924
|
+
* Merchant checkout URL. Fill is allowed only on this URL's origin.
|
|
925
|
+
*/
|
|
926
|
+
merchant_url: string;
|
|
927
|
+
provider: 'kernel';
|
|
928
|
+
/**
|
|
929
|
+
* Key of the Kernel wallet item whose enrolled card pays.
|
|
930
|
+
*/
|
|
931
|
+
wallet: string;
|
|
932
|
+
}
|
|
845
933
|
export interface KernelCredentialVaultItemSpec {
|
|
846
934
|
/**
|
|
847
935
|
* Ordered field definitions rendered in this order by credential collection forms.
|
|
@@ -891,6 +979,109 @@ export interface KernelCredentialVaultItemState {
|
|
|
891
979
|
*/
|
|
892
980
|
status: 'pending_collection' | 'ready';
|
|
893
981
|
}
|
|
982
|
+
export interface KernelWalletState {
|
|
983
|
+
provider: 'kernel';
|
|
984
|
+
/**
|
|
985
|
+
* pending_authorization asks the cardholder to use the card_enrollment action.
|
|
986
|
+
* connected is ready for supported purchases. reconnect_required asks the
|
|
987
|
+
* cardholder to use a new card_enrollment action after an uncertain enrollment was
|
|
988
|
+
* safely removed. degraded means the enrollment outcome is unknown and the wallet
|
|
989
|
+
* must be deleted before adding another card.
|
|
990
|
+
*/
|
|
991
|
+
status: 'pending_authorization' | 'connected' | 'reconnect_required' | 'degraded';
|
|
992
|
+
status_reason?: string;
|
|
993
|
+
}
|
|
994
|
+
/**
|
|
995
|
+
* One card Kernel enrolls for Visa or Mastercard agentic network tokens using
|
|
996
|
+
* Kernel-managed credentials. Creation returns a card_enrollment action: the
|
|
997
|
+
* cardholder enters the card and their email on a Kernel-hosted page, then Kernel
|
|
998
|
+
* enrolls the securely stored card. The card number never reaches Kernel. The
|
|
999
|
+
* connected wallet's payment_methods expansion lists the enrolled card. Visa cards
|
|
1000
|
+
* can be enrolled, but Visa purchases are not yet supported: authorize
|
|
1001
|
+
* returns 400.
|
|
1002
|
+
*/
|
|
1003
|
+
export interface KernelWalletVaultItemSpec {
|
|
1004
|
+
provider: 'kernel';
|
|
1005
|
+
}
|
|
1006
|
+
export interface ManagedAuthCredentialVaultField {
|
|
1007
|
+
/**
|
|
1008
|
+
* Text, email, and password have form inputs; totp does not and is omitted from
|
|
1009
|
+
* both Kernel-hosted and customer React forms. Password and totp must be
|
|
1010
|
+
* sensitive. A totp value is an RFC 4648 Base32 generator seed (case-insensitive,
|
|
1011
|
+
* optional trailing padding), not an otpauth URI or current code. Reject invalid
|
|
1012
|
+
* or empty decoded seeds. Browser fill generates an RFC 6238 code at execution
|
|
1013
|
+
* time using HMAC-SHA1, 6 digits, and a 30-second period. Preserve leading zeros;
|
|
1014
|
+
* never fill the seed. Custom algorithms, digits, periods, and form enrollment are
|
|
1015
|
+
* unsupported.
|
|
1016
|
+
*/
|
|
1017
|
+
type: CredentialVaultFieldType;
|
|
1018
|
+
}
|
|
1019
|
+
export interface ManagedAuthCredentialVaultItemSpec {
|
|
1020
|
+
/**
|
|
1021
|
+
* ID of the managed auth connection whose saved credential this item reads. List
|
|
1022
|
+
* connections with `GET /auth/connections`.
|
|
1023
|
+
*/
|
|
1024
|
+
connection_id: string;
|
|
1025
|
+
provider: 'managed_auth';
|
|
1026
|
+
/**
|
|
1027
|
+
* Display text supplied when the item was created. Omitted when none was given.
|
|
1028
|
+
*/
|
|
1029
|
+
description?: string;
|
|
1030
|
+
}
|
|
1031
|
+
/**
|
|
1032
|
+
* A credential backed by a managed auth connection. The item stores no values: it
|
|
1033
|
+
* reads the connection's saved credential at fill time, so updates made through
|
|
1034
|
+
* managed auth apply immediately. The connection must be in the vault's project
|
|
1035
|
+
* and hold a saved Kernel credential. The check is the saved credential, not
|
|
1036
|
+
* connection status: a connection that needs re-authentication qualifies, and an
|
|
1037
|
+
* authenticated one without a saved credential does not. Returns 404 for an
|
|
1038
|
+
* unknown connection, and 409 when the connection is in another project, has no
|
|
1039
|
+
* saved credential yet, or uses an external credential provider such as 1Password.
|
|
1040
|
+
* No collection form is offered; managed auth collects the login.
|
|
1041
|
+
*/
|
|
1042
|
+
export interface ManagedAuthCredentialVaultItemSpecInput {
|
|
1043
|
+
/**
|
|
1044
|
+
* ID of the managed auth connection whose saved credential this item reads. List
|
|
1045
|
+
* connections with `GET /auth/connections`.
|
|
1046
|
+
*/
|
|
1047
|
+
connection_id: string;
|
|
1048
|
+
provider: 'managed_auth';
|
|
1049
|
+
/**
|
|
1050
|
+
* Optional display text for the item, such as the site or service name. Set at
|
|
1051
|
+
* creation and cannot be changed later; repeating the request with a different
|
|
1052
|
+
* description returns 409. At most 16 KiB in UTF-8 bytes.
|
|
1053
|
+
*/
|
|
1054
|
+
description?: string;
|
|
1055
|
+
}
|
|
1056
|
+
export interface ManagedAuthCredentialVaultItemState {
|
|
1057
|
+
provider: 'managed_auth';
|
|
1058
|
+
/**
|
|
1059
|
+
* Items are created ready, which means the connection has a saved Kernel
|
|
1060
|
+
* credential that stores values or a TOTP seed (what has_values or has_totp_secret
|
|
1061
|
+
* report on credentials), not that a login succeeded. Unavailable means it no
|
|
1062
|
+
* longer does; such items advertise no operations.
|
|
1063
|
+
*/
|
|
1064
|
+
status: 'ready' | 'unavailable';
|
|
1065
|
+
/**
|
|
1066
|
+
* One entry per non-empty value on the connection's saved credential, keyed by the
|
|
1067
|
+
* field name to use in fill bindings. Included on single-item responses (create
|
|
1068
|
+
* and get) and omitted from list responses, like `value_keys` on credentials.
|
|
1069
|
+
* Empty when unavailable or when every stored value is empty. A stored value named
|
|
1070
|
+
* totp_secret is never listed or filled. Values are never returned. A totp entry
|
|
1071
|
+
* is present when the credential has a TOTP seed; fill writes a generated code for
|
|
1072
|
+
* it. Entries follow the connection's credential.
|
|
1073
|
+
*/
|
|
1074
|
+
fields?: {
|
|
1075
|
+
[key: string]: ManagedAuthCredentialVaultField;
|
|
1076
|
+
};
|
|
1077
|
+
/**
|
|
1078
|
+
* Present when status is unavailable. connection_not_found means the connection
|
|
1079
|
+
* was deleted. no_credential means the connection's credential was deleted or
|
|
1080
|
+
* emptied after the item was created. external_credential means the connection was
|
|
1081
|
+
* moved to an external credential provider.
|
|
1082
|
+
*/
|
|
1083
|
+
status_reason?: 'connection_not_found' | 'no_credential' | 'external_credential';
|
|
1084
|
+
}
|
|
894
1085
|
export interface OnePasswordCredentialAccountSpec {
|
|
895
1086
|
authorization: OnePasswordCredentialAccountSpec.Authorization;
|
|
896
1087
|
provider: '1password';
|
|
@@ -1296,8 +1487,9 @@ export interface VaultCheckoutContext {
|
|
|
1296
1487
|
}
|
|
1297
1488
|
export interface VaultFillField {
|
|
1298
1489
|
/**
|
|
1299
|
-
* A
|
|
1300
|
-
*
|
|
1490
|
+
* A credential field name from the item's declared fields (Kernel) or state.fields
|
|
1491
|
+
* from a single-item read (managed auth), or a supported card field. Unset
|
|
1492
|
+
* credential fields cannot be filled.
|
|
1301
1493
|
*/
|
|
1302
1494
|
field: string;
|
|
1303
1495
|
selector: string;
|
|
@@ -1623,7 +1815,7 @@ export interface VaultWebmcpBinding {
|
|
|
1623
1815
|
* connects. user_id may only reference a user already enrolled by a wallet in this
|
|
1624
1816
|
* organization under the same configuration.
|
|
1625
1817
|
*/
|
|
1626
|
-
export type WalletVaultItemSpec = WalletVaultItemSpec.LinkWalletVaultItemSpec | WalletVaultItemSpec.AgentCardWalletVaultItemSpec;
|
|
1818
|
+
export type WalletVaultItemSpec = WalletVaultItemSpec.LinkWalletVaultItemSpec | WalletVaultItemSpec.AgentCardWalletVaultItemSpec | KernelWalletVaultItemSpec;
|
|
1627
1819
|
export declare namespace WalletVaultItemSpec {
|
|
1628
1820
|
interface LinkWalletVaultItemSpec {
|
|
1629
1821
|
authorization: LinkWalletVaultItemSpec.Authorization;
|
|
@@ -1688,7 +1880,7 @@ export declare namespace WalletVaultItemSpec {
|
|
|
1688
1880
|
}
|
|
1689
1881
|
}
|
|
1690
1882
|
}
|
|
1691
|
-
export type WalletVaultItemState = WalletVaultItemState.LinkWalletState | WalletVaultItemState.AgentCardWalletState;
|
|
1883
|
+
export type WalletVaultItemState = WalletVaultItemState.LinkWalletState | WalletVaultItemState.AgentCardWalletState | KernelWalletState;
|
|
1692
1884
|
export declare namespace WalletVaultItemState {
|
|
1693
1885
|
interface LinkWalletState {
|
|
1694
1886
|
provider: 'link';
|
|
@@ -1791,7 +1983,8 @@ export interface ItemRetrieveParams {
|
|
|
1791
1983
|
* authorization, approval, or credential collection. Return the current item when
|
|
1792
1984
|
* ready or when the wait elapses. This does not wait for edits to an already-ready
|
|
1793
1985
|
* credential; poll GET without wait and compare version to observe changes after
|
|
1794
|
-
* collect.
|
|
1986
|
+
* collect. Managed auth credentials are created ready, so wait returns
|
|
1987
|
+
* immediately.
|
|
1795
1988
|
*/
|
|
1796
1989
|
wait?: number;
|
|
1797
1990
|
}
|
|
@@ -2082,7 +2275,7 @@ export declare namespace ItemUpsertParams {
|
|
|
2082
2275
|
* user connects. user_id may only reference a user already enrolled by a wallet in
|
|
2083
2276
|
* this organization under the same configuration.
|
|
2084
2277
|
*/
|
|
2085
|
-
spec: WalletVaultItemRequest.LinkWalletVaultItemRequestSpec | WalletVaultItemRequest.AgentCardWalletVaultItemSpec;
|
|
2278
|
+
spec: WalletVaultItemRequest.LinkWalletVaultItemRequestSpec | WalletVaultItemRequest.AgentCardWalletVaultItemSpec | KernelWalletVaultItemSpec;
|
|
2086
2279
|
/**
|
|
2087
2280
|
* Body param
|
|
2088
2281
|
*/
|
|
@@ -2259,6 +2452,6 @@ export declare namespace ItemUpsertParams {
|
|
|
2259
2452
|
}
|
|
2260
2453
|
}
|
|
2261
2454
|
export declare namespace Items {
|
|
2262
|
-
export { type AgentcardCheckoutAuthorization as AgentcardCheckoutAuthorization, type AgentcardCheckoutPreparation as AgentcardCheckoutPreparation, type AgentcardPreparedProcessor as AgentcardPreparedProcessor, type AuthorizeVaultItemOperationRequest as AuthorizeVaultItemOperationRequest, type CardVaultItemSpec as CardVaultItemSpec, type CardVaultItemState as CardVaultItemState, type CollectVaultItemOperationRequest as CollectVaultItemOperationRequest, type CredentialAccountVaultItem as CredentialAccountVaultItem, type CredentialAccountVaultItemRequest as CredentialAccountVaultItemRequest, type CredentialCollectionAction as CredentialCollectionAction, type CredentialVaultFieldDefinition as CredentialVaultFieldDefinition, type CredentialVaultFieldInput as CredentialVaultFieldInput, type CredentialVaultFieldState as CredentialVaultFieldState, type CredentialVaultFieldType as CredentialVaultFieldType, type CredentialVaultFieldUpdate as CredentialVaultFieldUpdate, type CredentialVaultItem as CredentialVaultItem, type CredentialVaultItemRequest as CredentialVaultItemRequest, type CredentialVaultItemSpec as CredentialVaultItemSpec, type CredentialVaultItemSpecInput as CredentialVaultItemSpecInput, type CredentialVaultItemSpecUpdate as CredentialVaultItemSpecUpdate, type CredentialVaultItemState as CredentialVaultItemState, type CredentialVaultItemUpdateRequest as CredentialVaultItemUpdateRequest, type FillVaultItemOperationRequest as FillVaultItemOperationRequest, type FillVaultItemOperationResult as FillVaultItemOperationResult, type KernelCredentialVaultItemSpec as KernelCredentialVaultItemSpec, type KernelCredentialVaultItemSpecInput as KernelCredentialVaultItemSpecInput, type KernelCredentialVaultItemState as KernelCredentialVaultItemState, type OnePasswordCredentialAccountSpec as OnePasswordCredentialAccountSpec, type OnePasswordCredentialAccountState as OnePasswordCredentialAccountState, type OnePasswordCredentialVaultItemSpec as OnePasswordCredentialVaultItemSpec, type OnePasswordCredentialVaultItemSpecInput as OnePasswordCredentialVaultItemSpecInput, type OnePasswordCredentialVaultItemState as OnePasswordCredentialVaultItemState, type OnePasswordFillVaultItemOperationRequest as OnePasswordFillVaultItemOperationRequest, type OnePasswordFillVaultItemOperationResult as OnePasswordFillVaultItemOperationResult, type OnePasswordOAuthAction as OnePasswordOAuthAction, type OnePasswordRecoverVaultItemOperationRequest as OnePasswordRecoverVaultItemOperationRequest, type OnePasswordRequestAccessVaultItemOperationRequest as OnePasswordRequestAccessVaultItemOperationRequest, type PrepareCheckoutVaultItemOperationRequest as PrepareCheckoutVaultItemOperationRequest, type VaultCardAliases as VaultCardAliases, type VaultCardFillField as VaultCardFillField, type VaultCheckoutContext as VaultCheckoutContext, type VaultFillField as VaultFillField, type VaultFillFieldResult as VaultFillFieldResult, type VaultItem as VaultItem, type VaultItemAction as VaultItemAction, type VaultItemEvent as VaultItemEvent, type VaultItemOperationResponse as VaultItemOperationResponse, type VaultPaymentMethod as VaultPaymentMethod, type VaultWebmcpBinding as VaultWebmcpBinding, type WalletVaultItemSpec as WalletVaultItemSpec, type WalletVaultItemState as WalletVaultItemState, type WebmcpInvokeVaultItemOperationRequest as WebmcpInvokeVaultItemOperationRequest, type WebmcpInvokeVaultItemOperationResult as WebmcpInvokeVaultItemOperationResult, type ItemListResponse as ItemListResponse, type ItemEventsResponse as ItemEventsResponse, type ItemRetrieveParams as ItemRetrieveParams, type ItemUpdateParams as ItemUpdateParams, type ItemDeleteParams as ItemDeleteParams, type ItemEventsParams as ItemEventsParams, type ItemPerformOperationParams as ItemPerformOperationParams, type ItemUpsertParams as ItemUpsertParams, };
|
|
2455
|
+
export { type AgentcardCheckoutAuthorization as AgentcardCheckoutAuthorization, type AgentcardCheckoutPreparation as AgentcardCheckoutPreparation, type AgentcardPreparedProcessor as AgentcardPreparedProcessor, type AuthorizeVaultItemOperationRequest as AuthorizeVaultItemOperationRequest, type CardVaultItemSpec as CardVaultItemSpec, type CardVaultItemState as CardVaultItemState, type CollectVaultItemOperationRequest as CollectVaultItemOperationRequest, type CredentialAccountVaultItem as CredentialAccountVaultItem, type CredentialAccountVaultItemRequest as CredentialAccountVaultItemRequest, type CredentialCollectionAction as CredentialCollectionAction, type CredentialVaultFieldDefinition as CredentialVaultFieldDefinition, type CredentialVaultFieldInput as CredentialVaultFieldInput, type CredentialVaultFieldState as CredentialVaultFieldState, type CredentialVaultFieldType as CredentialVaultFieldType, type CredentialVaultFieldUpdate as CredentialVaultFieldUpdate, type CredentialVaultItem as CredentialVaultItem, type CredentialVaultItemRequest as CredentialVaultItemRequest, type CredentialVaultItemSpec as CredentialVaultItemSpec, type CredentialVaultItemSpecInput as CredentialVaultItemSpecInput, type CredentialVaultItemSpecUpdate as CredentialVaultItemSpecUpdate, type CredentialVaultItemState as CredentialVaultItemState, type CredentialVaultItemUpdateRequest as CredentialVaultItemUpdateRequest, type FillVaultItemOperationRequest as FillVaultItemOperationRequest, type FillVaultItemOperationResult as FillVaultItemOperationResult, type KernelCardState as KernelCardState, type KernelCardVaultItemSpec as KernelCardVaultItemSpec, type KernelCredentialVaultItemSpec as KernelCredentialVaultItemSpec, type KernelCredentialVaultItemSpecInput as KernelCredentialVaultItemSpecInput, type KernelCredentialVaultItemState as KernelCredentialVaultItemState, type KernelWalletState as KernelWalletState, type KernelWalletVaultItemSpec as KernelWalletVaultItemSpec, type ManagedAuthCredentialVaultField as ManagedAuthCredentialVaultField, type ManagedAuthCredentialVaultItemSpec as ManagedAuthCredentialVaultItemSpec, type ManagedAuthCredentialVaultItemSpecInput as ManagedAuthCredentialVaultItemSpecInput, type ManagedAuthCredentialVaultItemState as ManagedAuthCredentialVaultItemState, type OnePasswordCredentialAccountSpec as OnePasswordCredentialAccountSpec, type OnePasswordCredentialAccountState as OnePasswordCredentialAccountState, type OnePasswordCredentialVaultItemSpec as OnePasswordCredentialVaultItemSpec, type OnePasswordCredentialVaultItemSpecInput as OnePasswordCredentialVaultItemSpecInput, type OnePasswordCredentialVaultItemState as OnePasswordCredentialVaultItemState, type OnePasswordFillVaultItemOperationRequest as OnePasswordFillVaultItemOperationRequest, type OnePasswordFillVaultItemOperationResult as OnePasswordFillVaultItemOperationResult, type OnePasswordOAuthAction as OnePasswordOAuthAction, type OnePasswordRecoverVaultItemOperationRequest as OnePasswordRecoverVaultItemOperationRequest, type OnePasswordRequestAccessVaultItemOperationRequest as OnePasswordRequestAccessVaultItemOperationRequest, type PrepareCheckoutVaultItemOperationRequest as PrepareCheckoutVaultItemOperationRequest, type VaultCardAliases as VaultCardAliases, type VaultCardFillField as VaultCardFillField, type VaultCheckoutContext as VaultCheckoutContext, type VaultFillField as VaultFillField, type VaultFillFieldResult as VaultFillFieldResult, type VaultItem as VaultItem, type VaultItemAction as VaultItemAction, type VaultItemEvent as VaultItemEvent, type VaultItemOperationResponse as VaultItemOperationResponse, type VaultPaymentMethod as VaultPaymentMethod, type VaultWebmcpBinding as VaultWebmcpBinding, type WalletVaultItemSpec as WalletVaultItemSpec, type WalletVaultItemState as WalletVaultItemState, type WebmcpInvokeVaultItemOperationRequest as WebmcpInvokeVaultItemOperationRequest, type WebmcpInvokeVaultItemOperationResult as WebmcpInvokeVaultItemOperationResult, type ItemListResponse as ItemListResponse, type ItemEventsResponse as ItemEventsResponse, type ItemRetrieveParams as ItemRetrieveParams, type ItemUpdateParams as ItemUpdateParams, type ItemDeleteParams as ItemDeleteParams, type ItemEventsParams as ItemEventsParams, type ItemPerformOperationParams as ItemPerformOperationParams, type ItemUpsertParams as ItemUpsertParams, };
|
|
2263
2456
|
}
|
|
2264
2457
|
//# sourceMappingURL=items.d.mts.map
|