@onkernel/sdk 0.116.0 → 0.118.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 +264 -31
- package/resources/vaults/items.d.mts.map +1 -1
- package/resources/vaults/items.d.ts +264 -31
- package/resources/vaults/items.d.ts.map +1 -1
- package/resources/vaults/items.js +7 -4
- package/resources/vaults/items.js.map +1 -1
- package/resources/vaults/items.mjs +7 -4
- 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 +7 -0
- package/src/resources/vaults/items.ts +332 -30
- package/src/resources/vaults/vaults.ts +25 -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.118.0](https://github.com/kernel/kernel-node-sdk/compare/v0.117.0...v0.118.0) (2026-10-02)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Features
|
|
7
|
+
|
|
8
|
+
* Add a query filter to the vault list endpoint ([2a9d2e8](https://github.com/kernel/kernel-node-sdk/commit/2a9d2e844cb301f882f807a304b7fb6dc82ea077))
|
|
9
|
+
* Add Kernel wallets backed by VGS agentic network tokens, with hosted card capture ([3fced64](https://github.com/kernel/kernel-node-sdk/commit/3fced64a6872afc6dd92f22713c61716cc75ecaa))
|
|
10
|
+
|
|
11
|
+
## [0.117.0](https://github.com/kernel/kernel-node-sdk/compare/v0.116.0...v0.117.0) (2026-10-02)
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
### Features
|
|
15
|
+
|
|
16
|
+
* Invoke WebMCP tools with vault item fields ([c05cf49](https://github.com/kernel/kernel-node-sdk/commit/c05cf4977c3fa33b2525e61eebd74728991e5e36))
|
|
17
|
+
|
|
3
18
|
## [0.116.0](https://github.com/kernel/kernel-node-sdk/compare/v0.115.0...v0.116.0) (2026-10-01)
|
|
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 WalletVaultItemSpec, type WalletVaultItemState, 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 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,mBAAmB,EACxB,KAAK,oBAAoB,EACzB,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,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 WalletVaultItemSpec, type WalletVaultItemState, 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 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,mBAAmB,EACxB,KAAK,oBAAoB,EACzB,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,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,oCAmEiB;AAlEf,8FAAA,KAAK,OAAA;AAmEP,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,GAkEN,oBAAgB;AACjB,OAAO,EACL,MAAM,GAKP,qBAAiB"}
|
|
@@ -71,10 +71,13 @@ 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.
|
|
78
81
|
*
|
|
79
82
|
* @example
|
|
80
83
|
* ```ts
|
|
@@ -222,8 +225,8 @@ export interface AgentcardCheckoutPreparation {
|
|
|
222
225
|
}
|
|
223
226
|
export type AgentcardPreparedProcessor = 'square' | 'braintree' | 'worldpay' | 'bambora' | 'mercado_pago' | 'adyen';
|
|
224
227
|
/**
|
|
225
|
-
* Authorize a Link card using its existing purchase specification. Use
|
|
226
|
-
* explicit user approval and when the item advertises authorize. Do not
|
|
228
|
+
* Authorize a Link or Kernel card using its existing purchase specification. Use
|
|
229
|
+
* only after explicit user approval and when the item advertises authorize. Do not
|
|
227
230
|
* automatically retry provider failures or indeterminate outcomes. Checkout
|
|
228
231
|
* context is not accepted.
|
|
229
232
|
*/
|
|
@@ -233,7 +236,7 @@ export interface AuthorizeVaultItemOperationRequest {
|
|
|
233
236
|
/**
|
|
234
237
|
* Live payment card. Test-mode card creation is not supported.
|
|
235
238
|
*/
|
|
236
|
-
export type CardVaultItemSpec = CardVaultItemSpec.LinkCardVaultItemSpec | CardVaultItemSpec.AgentCardCardVaultItemSpec;
|
|
239
|
+
export type CardVaultItemSpec = CardVaultItemSpec.LinkCardVaultItemSpec | CardVaultItemSpec.AgentCardCardVaultItemSpec | KernelCardVaultItemSpec;
|
|
237
240
|
export declare namespace CardVaultItemSpec {
|
|
238
241
|
/**
|
|
239
242
|
* Live payment card. Test-mode card creation is not supported.
|
|
@@ -344,7 +347,7 @@ export declare namespace CardVaultItemSpec {
|
|
|
344
347
|
* Issued Link cards retain encrypted card material for the fill operation. Link
|
|
345
348
|
* cards do not expose aliases or support egress substitution.
|
|
346
349
|
*/
|
|
347
|
-
export type CardVaultItemState = CardVaultItemState.LinkCardState | CardVaultItemState.AgentCardCardState;
|
|
350
|
+
export type CardVaultItemState = CardVaultItemState.LinkCardState | CardVaultItemState.AgentCardCardState | KernelCardState;
|
|
348
351
|
export declare namespace CardVaultItemState {
|
|
349
352
|
/**
|
|
350
353
|
* Issued Link cards retain encrypted card material for the fill operation. Link
|
|
@@ -368,6 +371,10 @@ export declare namespace CardVaultItemState {
|
|
|
368
371
|
interface Masks {
|
|
369
372
|
brand?: string;
|
|
370
373
|
last4?: string;
|
|
374
|
+
/**
|
|
375
|
+
* Last four digits of the network token presented to the merchant.
|
|
376
|
+
*/
|
|
377
|
+
token_last4?: string;
|
|
371
378
|
[k: string]: string | undefined;
|
|
372
379
|
}
|
|
373
380
|
}
|
|
@@ -406,6 +413,10 @@ export declare namespace CardVaultItemState {
|
|
|
406
413
|
interface Masks {
|
|
407
414
|
brand?: string;
|
|
408
415
|
last4?: string;
|
|
416
|
+
/**
|
|
417
|
+
* Last four digits of the network token presented to the merchant.
|
|
418
|
+
*/
|
|
419
|
+
token_last4?: string;
|
|
409
420
|
[k: string]: string | undefined;
|
|
410
421
|
}
|
|
411
422
|
}
|
|
@@ -463,7 +474,7 @@ export declare namespace CredentialAccountVaultItem {
|
|
|
463
474
|
*/
|
|
464
475
|
interface AvailableOperation {
|
|
465
476
|
description: string;
|
|
466
|
-
type: 'authorize' | 'collect' | 'prepare_checkout' | 'fill' | '1pw_create_access_request' | '1pw_access_request_status' | '1pw_fill' | '1pw_recover' | '1pw_update_access_token';
|
|
477
|
+
type: 'authorize' | 'collect' | 'prepare_checkout' | 'fill' | '1pw_create_access_request' | '1pw_access_request_status' | '1pw_fill' | '1pw_recover' | '1pw_update_access_token' | 'webmcp_invoke';
|
|
467
478
|
}
|
|
468
479
|
}
|
|
469
480
|
export interface CredentialAccountVaultItemRequest {
|
|
@@ -685,7 +696,7 @@ export declare namespace CredentialVaultItem {
|
|
|
685
696
|
*/
|
|
686
697
|
interface AvailableOperation {
|
|
687
698
|
description: string;
|
|
688
|
-
type: 'authorize' | 'collect' | 'prepare_checkout' | 'fill' | '1pw_create_access_request' | '1pw_access_request_status' | '1pw_fill' | '1pw_recover' | '1pw_update_access_token';
|
|
699
|
+
type: 'authorize' | 'collect' | 'prepare_checkout' | 'fill' | '1pw_create_access_request' | '1pw_access_request_status' | '1pw_fill' | '1pw_recover' | '1pw_update_access_token' | 'webmcp_invoke';
|
|
689
700
|
}
|
|
690
701
|
interface OnePasswordAccessApprovalAction {
|
|
691
702
|
/**
|
|
@@ -776,11 +787,11 @@ export interface CredentialVaultItemUpdateRequest {
|
|
|
776
787
|
expected_item_id?: string;
|
|
777
788
|
}
|
|
778
789
|
/**
|
|
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.
|
|
790
|
+
* Fill selected fields from one ready credential or ready, unexpired Link or
|
|
791
|
+
* Kernel card into a browser linked to its vault. Only invoke when the item
|
|
792
|
+
* advertises `fill`. Browser and vault must belong to the same project. Kernel
|
|
793
|
+
* checks access and allowed destinations before filling; providing a page URL does
|
|
794
|
+
* not authorize a destination.
|
|
784
795
|
*
|
|
785
796
|
* Find exactly one open page matching `page_url`. Credential items may omit
|
|
786
797
|
* `page_url` to require exactly one open page; cards require an HTTPS page URL.
|
|
@@ -796,9 +807,10 @@ export interface CredentialVaultItemUpdateRequest {
|
|
|
796
807
|
*
|
|
797
808
|
* Fill in request order and stop on the first failure. This operation is not
|
|
798
809
|
* 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
|
|
810
|
+
* click buttons, though input/change events may trigger site behavior. Link and
|
|
811
|
+
* Kernel cards use fill for browser checkout and do not expose aliases or support
|
|
812
|
+
* egress substitution. Do not automatically retry a failed or indeterminate
|
|
813
|
+
* operation.
|
|
802
814
|
*
|
|
803
815
|
* Secret values are never returned or included in operation logs, traces, audit
|
|
804
816
|
* events, or error details. This does not prevent an agent with unrestricted
|
|
@@ -842,6 +854,76 @@ export interface FillVaultItemOperationResult {
|
|
|
842
854
|
status: 'completed' | 'failed' | 'unknown';
|
|
843
855
|
type: 'fill';
|
|
844
856
|
}
|
|
857
|
+
/**
|
|
858
|
+
* A ready Kernel card retains its encrypted network token and one-time code for
|
|
859
|
+
* the fill operation until the item's expires_at. Fill and submit checkout before
|
|
860
|
+
* then. Visa cards can be enrolled, but Visa purchases are not yet supported and
|
|
861
|
+
* authorize returns 400; supported Mastercard purchases need no cardholder
|
|
862
|
+
* approval. masks.last4 is the enrolled card's last four digits; masks.token_last4
|
|
863
|
+
* is the network token's last four digits shown to the merchant. Kernel cards do
|
|
864
|
+
* not expose aliases or support egress substitution. Kernel does not observe
|
|
865
|
+
* whether the merchant charged the card.
|
|
866
|
+
*/
|
|
867
|
+
export interface KernelCardState {
|
|
868
|
+
provider: 'kernel';
|
|
869
|
+
/**
|
|
870
|
+
* recovery_required means issuing the one-time code has an unresolved outcome.
|
|
871
|
+
* Kernel never issues another code for the item automatically, and the item cannot
|
|
872
|
+
* be deleted or replaced until the original attempt is reconciled with support.
|
|
873
|
+
* When status_reason says the provider refused retrieval before acceptance, no
|
|
874
|
+
* code was issued and a later read retries.
|
|
875
|
+
*/
|
|
876
|
+
status: 'requested' | 'pending_authorization' | 'ready' | 'consumed' | 'expired' | 'declined' | 'recovery_required';
|
|
877
|
+
/**
|
|
878
|
+
* Informational registrable domain. Fill is locked to merchant_url's exact origin.
|
|
879
|
+
*/
|
|
880
|
+
domains?: Array<string>;
|
|
881
|
+
masks?: KernelCardState.Masks;
|
|
882
|
+
status_reason?: string;
|
|
883
|
+
}
|
|
884
|
+
export declare namespace KernelCardState {
|
|
885
|
+
interface Masks {
|
|
886
|
+
brand?: string;
|
|
887
|
+
last4?: string;
|
|
888
|
+
/**
|
|
889
|
+
* Last four digits of the network token presented to the merchant.
|
|
890
|
+
*/
|
|
891
|
+
token_last4?: string;
|
|
892
|
+
[k: string]: string | undefined;
|
|
893
|
+
}
|
|
894
|
+
}
|
|
895
|
+
/**
|
|
896
|
+
* One live purchase with a Kernel-enrolled card. Authorization obtains an agentic
|
|
897
|
+
* network token number, expiry and one-time 3-digit code. They are stored
|
|
898
|
+
* encrypted for the fill operation, which types them only on merchant_url's
|
|
899
|
+
* origin; the merchant's own checkout submits the payment. The one-time code is
|
|
900
|
+
* valid until the item's expires_at; fill and submit checkout before then. Visa
|
|
901
|
+
* cards can be enrolled, but Visa purchases are not yet supported: authorize
|
|
902
|
+
* returns 400. Supported Mastercard purchases need no cardholder approval. Card
|
|
903
|
+
* updates are not supported; delete and create a new item instead.
|
|
904
|
+
*/
|
|
905
|
+
export interface KernelCardVaultItemSpec {
|
|
906
|
+
/**
|
|
907
|
+
* Integer amount in minor currency units (at most 50000), bound to the one-time
|
|
908
|
+
* code.
|
|
909
|
+
*/
|
|
910
|
+
amount: number;
|
|
911
|
+
/**
|
|
912
|
+
* ISO 4217 code. Supported: aud, brl, cad, chf, czk, dkk, eur, gbp, hkd, inr, jpy,
|
|
913
|
+
* krw, mxn, nok, nzd, pln, sek, sgd, usd, zar.
|
|
914
|
+
*/
|
|
915
|
+
currency: string;
|
|
916
|
+
merchant_name: string;
|
|
917
|
+
/**
|
|
918
|
+
* Merchant checkout URL. Fill is allowed only on this URL's origin.
|
|
919
|
+
*/
|
|
920
|
+
merchant_url: string;
|
|
921
|
+
provider: 'kernel';
|
|
922
|
+
/**
|
|
923
|
+
* Key of the Kernel wallet item whose enrolled card pays.
|
|
924
|
+
*/
|
|
925
|
+
wallet: string;
|
|
926
|
+
}
|
|
845
927
|
export interface KernelCredentialVaultItemSpec {
|
|
846
928
|
/**
|
|
847
929
|
* Ordered field definitions rendered in this order by credential collection forms.
|
|
@@ -891,6 +973,30 @@ export interface KernelCredentialVaultItemState {
|
|
|
891
973
|
*/
|
|
892
974
|
status: 'pending_collection' | 'ready';
|
|
893
975
|
}
|
|
976
|
+
export interface KernelWalletState {
|
|
977
|
+
provider: 'kernel';
|
|
978
|
+
/**
|
|
979
|
+
* pending_authorization asks the cardholder to use the card_enrollment action.
|
|
980
|
+
* connected is ready for supported purchases. reconnect_required asks the
|
|
981
|
+
* cardholder to use a new card_enrollment action after an uncertain enrollment was
|
|
982
|
+
* safely removed. degraded means the enrollment outcome is unknown and the wallet
|
|
983
|
+
* must be deleted before adding another card.
|
|
984
|
+
*/
|
|
985
|
+
status: 'pending_authorization' | 'connected' | 'reconnect_required' | 'degraded';
|
|
986
|
+
status_reason?: string;
|
|
987
|
+
}
|
|
988
|
+
/**
|
|
989
|
+
* One card Kernel enrolls for Visa or Mastercard agentic network tokens using
|
|
990
|
+
* Kernel-managed credentials. Creation returns a card_enrollment action: the
|
|
991
|
+
* cardholder enters the card and their email on a Kernel-hosted page, then Kernel
|
|
992
|
+
* enrolls the securely stored card. The card number never reaches Kernel. The
|
|
993
|
+
* connected wallet's payment_methods expansion lists the enrolled card. Visa cards
|
|
994
|
+
* can be enrolled, but Visa purchases are not yet supported: authorize
|
|
995
|
+
* returns 400.
|
|
996
|
+
*/
|
|
997
|
+
export interface KernelWalletVaultItemSpec {
|
|
998
|
+
provider: 'kernel';
|
|
999
|
+
}
|
|
894
1000
|
export interface OnePasswordCredentialAccountSpec {
|
|
895
1001
|
authorization: OnePasswordCredentialAccountSpec.Authorization;
|
|
896
1002
|
provider: '1password';
|
|
@@ -1368,7 +1474,7 @@ export declare namespace VaultItem {
|
|
|
1368
1474
|
*/
|
|
1369
1475
|
interface AvailableOperation {
|
|
1370
1476
|
description: string;
|
|
1371
|
-
type: 'authorize' | 'collect' | 'prepare_checkout' | 'fill' | '1pw_create_access_request' | '1pw_access_request_status' | '1pw_fill' | '1pw_recover' | '1pw_update_access_token';
|
|
1477
|
+
type: 'authorize' | 'collect' | 'prepare_checkout' | 'fill' | '1pw_create_access_request' | '1pw_access_request_status' | '1pw_fill' | '1pw_recover' | '1pw_update_access_token' | 'webmcp_invoke';
|
|
1372
1478
|
}
|
|
1373
1479
|
/**
|
|
1374
1480
|
* Live, non-persisted data requested through the item GET expand parameter.
|
|
@@ -1415,7 +1521,7 @@ export declare namespace VaultItem {
|
|
|
1415
1521
|
*/
|
|
1416
1522
|
interface AvailableOperation {
|
|
1417
1523
|
description: string;
|
|
1418
|
-
type: 'authorize' | 'collect' | 'prepare_checkout' | 'fill' | '1pw_create_access_request' | '1pw_access_request_status' | '1pw_fill' | '1pw_recover' | '1pw_update_access_token';
|
|
1524
|
+
type: 'authorize' | 'collect' | 'prepare_checkout' | 'fill' | '1pw_create_access_request' | '1pw_access_request_status' | '1pw_fill' | '1pw_recover' | '1pw_update_access_token' | 'webmcp_invoke';
|
|
1419
1525
|
}
|
|
1420
1526
|
}
|
|
1421
1527
|
}
|
|
@@ -1459,11 +1565,11 @@ export interface VaultItemEvent {
|
|
|
1459
1565
|
};
|
|
1460
1566
|
}
|
|
1461
1567
|
/**
|
|
1462
|
-
*
|
|
1463
|
-
*
|
|
1464
|
-
*
|
|
1568
|
+
* Authorization and preparation return the existing item shape. Fill returns a
|
|
1569
|
+
* value-free result; WebMCP invocation returns the tool's output. Neither persists
|
|
1570
|
+
* transient outcomes on the item.
|
|
1465
1571
|
*/
|
|
1466
|
-
export type VaultItemOperationResponse = VaultItemOperationResponse.WalletVaultItem | VaultItemOperationResponse.CardVaultItem | CredentialAccountVaultItem | CredentialVaultItem | FillVaultItemOperationResult | OnePasswordFillVaultItemOperationResult;
|
|
1572
|
+
export type VaultItemOperationResponse = VaultItemOperationResponse.WalletVaultItem | VaultItemOperationResponse.CardVaultItem | CredentialAccountVaultItem | CredentialVaultItem | FillVaultItemOperationResult | OnePasswordFillVaultItemOperationResult | WebmcpInvokeVaultItemOperationResult;
|
|
1467
1573
|
export declare namespace VaultItemOperationResponse {
|
|
1468
1574
|
interface WalletVaultItem {
|
|
1469
1575
|
id: string;
|
|
@@ -1508,7 +1614,7 @@ export declare namespace VaultItemOperationResponse {
|
|
|
1508
1614
|
*/
|
|
1509
1615
|
interface AvailableOperation {
|
|
1510
1616
|
description: string;
|
|
1511
|
-
type: 'authorize' | 'collect' | 'prepare_checkout' | 'fill' | '1pw_create_access_request' | '1pw_access_request_status' | '1pw_fill' | '1pw_recover' | '1pw_update_access_token';
|
|
1617
|
+
type: 'authorize' | 'collect' | 'prepare_checkout' | 'fill' | '1pw_create_access_request' | '1pw_access_request_status' | '1pw_fill' | '1pw_recover' | '1pw_update_access_token' | 'webmcp_invoke';
|
|
1512
1618
|
}
|
|
1513
1619
|
/**
|
|
1514
1620
|
* Live, non-persisted data requested through the item GET expand parameter.
|
|
@@ -1555,7 +1661,7 @@ export declare namespace VaultItemOperationResponse {
|
|
|
1555
1661
|
*/
|
|
1556
1662
|
interface AvailableOperation {
|
|
1557
1663
|
description: string;
|
|
1558
|
-
type: 'authorize' | 'collect' | 'prepare_checkout' | 'fill' | '1pw_create_access_request' | '1pw_access_request_status' | '1pw_fill' | '1pw_recover' | '1pw_update_access_token';
|
|
1664
|
+
type: 'authorize' | 'collect' | 'prepare_checkout' | 'fill' | '1pw_create_access_request' | '1pw_access_request_status' | '1pw_fill' | '1pw_recover' | '1pw_update_access_token' | 'webmcp_invoke';
|
|
1559
1665
|
}
|
|
1560
1666
|
}
|
|
1561
1667
|
}
|
|
@@ -1597,6 +1703,24 @@ export declare namespace VaultPaymentMethod {
|
|
|
1597
1703
|
last4?: string;
|
|
1598
1704
|
}
|
|
1599
1705
|
}
|
|
1706
|
+
export interface VaultWebmcpBinding {
|
|
1707
|
+
/**
|
|
1708
|
+
* A declared, populated credential field or supported card field. A TOTP field
|
|
1709
|
+
* supplies a fresh code, never its seed.
|
|
1710
|
+
*/
|
|
1711
|
+
field: string;
|
|
1712
|
+
/**
|
|
1713
|
+
* RFC 6901 JSON Pointer to an existing null value in input. Object keys are exact;
|
|
1714
|
+
* array indices must be canonical and in range. No root or array-append paths.
|
|
1715
|
+
* Each path and each field may occur only once.
|
|
1716
|
+
*/
|
|
1717
|
+
input_path: string;
|
|
1718
|
+
/**
|
|
1719
|
+
* Required for card expiration (MM/YY or MM/YYYY), forbidden for other fields.
|
|
1720
|
+
* Invalid formats are rejected before invocation.
|
|
1721
|
+
*/
|
|
1722
|
+
format?: string;
|
|
1723
|
+
}
|
|
1600
1724
|
/**
|
|
1601
1725
|
* AgentCard wallet. Omit provider_config to use Kernel-managed credentials, or
|
|
1602
1726
|
* select a customer-owned configuration. Mode (sandbox vs live) is determined by
|
|
@@ -1605,7 +1729,7 @@ export declare namespace VaultPaymentMethod {
|
|
|
1605
1729
|
* connects. user_id may only reference a user already enrolled by a wallet in this
|
|
1606
1730
|
* organization under the same configuration.
|
|
1607
1731
|
*/
|
|
1608
|
-
export type WalletVaultItemSpec = WalletVaultItemSpec.LinkWalletVaultItemSpec | WalletVaultItemSpec.AgentCardWalletVaultItemSpec;
|
|
1732
|
+
export type WalletVaultItemSpec = WalletVaultItemSpec.LinkWalletVaultItemSpec | WalletVaultItemSpec.AgentCardWalletVaultItemSpec | KernelWalletVaultItemSpec;
|
|
1609
1733
|
export declare namespace WalletVaultItemSpec {
|
|
1610
1734
|
interface LinkWalletVaultItemSpec {
|
|
1611
1735
|
authorization: LinkWalletVaultItemSpec.Authorization;
|
|
@@ -1670,7 +1794,7 @@ export declare namespace WalletVaultItemSpec {
|
|
|
1670
1794
|
}
|
|
1671
1795
|
}
|
|
1672
1796
|
}
|
|
1673
|
-
export type WalletVaultItemState = WalletVaultItemState.LinkWalletState | WalletVaultItemState.AgentCardWalletState;
|
|
1797
|
+
export type WalletVaultItemState = WalletVaultItemState.LinkWalletState | WalletVaultItemState.AgentCardWalletState | KernelWalletState;
|
|
1674
1798
|
export declare namespace WalletVaultItemState {
|
|
1675
1799
|
interface LinkWalletState {
|
|
1676
1800
|
provider: 'link';
|
|
@@ -1687,6 +1811,75 @@ export declare namespace WalletVaultItemState {
|
|
|
1687
1811
|
user_id?: string;
|
|
1688
1812
|
}
|
|
1689
1813
|
}
|
|
1814
|
+
/**
|
|
1815
|
+
* Invoke a WebMCP tool using values from a vaulted item. The browser must be
|
|
1816
|
+
* attached to the item's vault. Discover the tool_ref, inputSchema, and source
|
|
1817
|
+
* with GET /browsers/{id_or_name}/webmcp/tools or webmcp.listTools() in the
|
|
1818
|
+
* Browser REPL (POST /browsers/{id_or_name}/repl) before invoking it. Input paths
|
|
1819
|
+
* replace existing null slots in input. Tool output is returned without redaction
|
|
1820
|
+
* and may include the supplied values. The tool may submit or perform other side
|
|
1821
|
+
* effects. Any item destination restrictions apply to the tool's top-level page
|
|
1822
|
+
* and registering frame (if any).
|
|
1823
|
+
*/
|
|
1824
|
+
export interface WebmcpInvokeVaultItemOperationRequest {
|
|
1825
|
+
bindings: Array<VaultWebmcpBinding>;
|
|
1826
|
+
/**
|
|
1827
|
+
* Browser session ID, not a reusable browser name.
|
|
1828
|
+
*/
|
|
1829
|
+
browser_id: string;
|
|
1830
|
+
/**
|
|
1831
|
+
* Public tool arguments with an existing null slot at each binding path. At most
|
|
1832
|
+
* 64 KiB after JSON serialization, including substituted values. Never include
|
|
1833
|
+
* vault values here.
|
|
1834
|
+
*/
|
|
1835
|
+
input: {
|
|
1836
|
+
[key: string]: unknown;
|
|
1837
|
+
};
|
|
1838
|
+
/**
|
|
1839
|
+
* Exact top-level URL from the discovered tool source (fragment omitted). This
|
|
1840
|
+
* pins the target page; it does not authorize a destination.
|
|
1841
|
+
*/
|
|
1842
|
+
page_url: string;
|
|
1843
|
+
/**
|
|
1844
|
+
* Opaque reference to the exact live WebMCP registration.
|
|
1845
|
+
*/
|
|
1846
|
+
tool_ref: string;
|
|
1847
|
+
type: 'webmcp_invoke';
|
|
1848
|
+
/**
|
|
1849
|
+
* Tool invocation timeout in seconds; preflight and response handling have an
|
|
1850
|
+
* additional bounded allowance. An indeterminate outcome is not retried.
|
|
1851
|
+
*/
|
|
1852
|
+
timeout_sec?: number;
|
|
1853
|
+
}
|
|
1854
|
+
/**
|
|
1855
|
+
* Returns the same tool result fields as the browser WebMCP invoke API, plus the
|
|
1856
|
+
* vault operation discriminator. Output and error text are untrusted page-provided
|
|
1857
|
+
* data, returned without redaction; tools may include supplied vault values.
|
|
1858
|
+
* Inspect the browser page to determine whether the intended site action
|
|
1859
|
+
* succeeded.
|
|
1860
|
+
*/
|
|
1861
|
+
export interface WebmcpInvokeVaultItemOperationResult {
|
|
1862
|
+
/**
|
|
1863
|
+
* Unknown means invocation may have run; do not retry automatically. No status
|
|
1864
|
+
* confirms that the website accepted the action.
|
|
1865
|
+
*/
|
|
1866
|
+
status: 'completed' | 'canceled' | 'error' | 'awaiting_submission' | 'unknown';
|
|
1867
|
+
type: 'webmcp_invoke';
|
|
1868
|
+
/**
|
|
1869
|
+
* Untrusted page-provided error text, returned without redaction. May contain
|
|
1870
|
+
* supplied vault values.
|
|
1871
|
+
*/
|
|
1872
|
+
error_text?: string;
|
|
1873
|
+
/**
|
|
1874
|
+
* Present when the browser reported one.
|
|
1875
|
+
*/
|
|
1876
|
+
invocation_id?: string;
|
|
1877
|
+
/**
|
|
1878
|
+
* Untrusted page-provided output, returned without redaction. May contain supplied
|
|
1879
|
+
* vault values.
|
|
1880
|
+
*/
|
|
1881
|
+
output?: unknown;
|
|
1882
|
+
}
|
|
1690
1883
|
export type ItemListResponse = Array<VaultItem>;
|
|
1691
1884
|
export type ItemEventsResponse = Array<VaultItemEvent>;
|
|
1692
1885
|
export interface ItemRetrieveParams {
|
|
@@ -1767,7 +1960,7 @@ export interface ItemEventsParams {
|
|
|
1767
1960
|
*/
|
|
1768
1961
|
wait?: number;
|
|
1769
1962
|
}
|
|
1770
|
-
export type ItemPerformOperationParams = ItemPerformOperationParams.AuthorizeVaultItemOperationRequest | ItemPerformOperationParams.CollectVaultItemOperationRequest | ItemPerformOperationParams.PrepareCheckoutVaultItemOperationRequest | ItemPerformOperationParams.FillVaultItemOperationRequest | ItemPerformOperationParams.OnePasswordRequestAccessVaultItemOperationRequest | ItemPerformOperationParams.OnePasswordPollAccessVaultItemOperationRequest | ItemPerformOperationParams.OnePasswordFillVaultItemOperationRequest | ItemPerformOperationParams.OnePasswordRecoverVaultItemOperationRequest | ItemPerformOperationParams.OnePasswordUpdateAccessTokenVaultItemOperationRequest;
|
|
1963
|
+
export type ItemPerformOperationParams = ItemPerformOperationParams.AuthorizeVaultItemOperationRequest | ItemPerformOperationParams.CollectVaultItemOperationRequest | ItemPerformOperationParams.PrepareCheckoutVaultItemOperationRequest | ItemPerformOperationParams.FillVaultItemOperationRequest | ItemPerformOperationParams.OnePasswordRequestAccessVaultItemOperationRequest | ItemPerformOperationParams.OnePasswordPollAccessVaultItemOperationRequest | ItemPerformOperationParams.OnePasswordFillVaultItemOperationRequest | ItemPerformOperationParams.OnePasswordRecoverVaultItemOperationRequest | ItemPerformOperationParams.OnePasswordUpdateAccessTokenVaultItemOperationRequest | ItemPerformOperationParams.WebmcpInvokeVaultItemOperationRequest;
|
|
1771
1964
|
export declare namespace ItemPerformOperationParams {
|
|
1772
1965
|
interface AuthorizeVaultItemOperationRequest {
|
|
1773
1966
|
/**
|
|
@@ -1939,6 +2132,46 @@ export declare namespace ItemPerformOperationParams {
|
|
|
1939
2132
|
*/
|
|
1940
2133
|
access_token_expires_at?: string;
|
|
1941
2134
|
}
|
|
2135
|
+
interface WebmcpInvokeVaultItemOperationRequest {
|
|
2136
|
+
/**
|
|
2137
|
+
* Path param
|
|
2138
|
+
*/
|
|
2139
|
+
id_or_name: string;
|
|
2140
|
+
/**
|
|
2141
|
+
* Body param
|
|
2142
|
+
*/
|
|
2143
|
+
bindings: Array<VaultWebmcpBinding>;
|
|
2144
|
+
/**
|
|
2145
|
+
* Body param: Browser session ID, not a reusable browser name.
|
|
2146
|
+
*/
|
|
2147
|
+
browser_id: string;
|
|
2148
|
+
/**
|
|
2149
|
+
* Body param: Public tool arguments with an existing null slot at each binding
|
|
2150
|
+
* path. At most 64 KiB after JSON serialization, including substituted values.
|
|
2151
|
+
* Never include vault values here.
|
|
2152
|
+
*/
|
|
2153
|
+
input: {
|
|
2154
|
+
[key: string]: unknown;
|
|
2155
|
+
};
|
|
2156
|
+
/**
|
|
2157
|
+
* Body param: Exact top-level URL from the discovered tool source (fragment
|
|
2158
|
+
* omitted). This pins the target page; it does not authorize a destination.
|
|
2159
|
+
*/
|
|
2160
|
+
page_url: string;
|
|
2161
|
+
/**
|
|
2162
|
+
* Body param: Opaque reference to the exact live WebMCP registration.
|
|
2163
|
+
*/
|
|
2164
|
+
tool_ref: string;
|
|
2165
|
+
/**
|
|
2166
|
+
* Body param
|
|
2167
|
+
*/
|
|
2168
|
+
type: 'webmcp_invoke';
|
|
2169
|
+
/**
|
|
2170
|
+
* Body param: Tool invocation timeout in seconds; preflight and response handling
|
|
2171
|
+
* have an additional bounded allowance. An indeterminate outcome is not retried.
|
|
2172
|
+
*/
|
|
2173
|
+
timeout_sec?: number;
|
|
2174
|
+
}
|
|
1942
2175
|
}
|
|
1943
2176
|
export type ItemUpsertParams = ItemUpsertParams.WalletVaultItemRequest | ItemUpsertParams.CardVaultItemRequest | ItemUpsertParams.CredentialAccountVaultItemRequest | ItemUpsertParams.CredentialVaultItemRequest;
|
|
1944
2177
|
export declare namespace ItemUpsertParams {
|
|
@@ -1955,7 +2188,7 @@ export declare namespace ItemUpsertParams {
|
|
|
1955
2188
|
* user connects. user_id may only reference a user already enrolled by a wallet in
|
|
1956
2189
|
* this organization under the same configuration.
|
|
1957
2190
|
*/
|
|
1958
|
-
spec: WalletVaultItemRequest.LinkWalletVaultItemRequestSpec | WalletVaultItemRequest.AgentCardWalletVaultItemSpec;
|
|
2191
|
+
spec: WalletVaultItemRequest.LinkWalletVaultItemRequestSpec | WalletVaultItemRequest.AgentCardWalletVaultItemSpec | KernelWalletVaultItemSpec;
|
|
1959
2192
|
/**
|
|
1960
2193
|
* Body param
|
|
1961
2194
|
*/
|
|
@@ -2132,6 +2365,6 @@ export declare namespace ItemUpsertParams {
|
|
|
2132
2365
|
}
|
|
2133
2366
|
}
|
|
2134
2367
|
export declare namespace Items {
|
|
2135
|
-
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 WalletVaultItemSpec as WalletVaultItemSpec, type WalletVaultItemState as WalletVaultItemState, 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, };
|
|
2368
|
+
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 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, };
|
|
2136
2369
|
}
|
|
2137
2370
|
//# sourceMappingURL=items.d.mts.map
|