@onkernel/sdk 0.129.0 → 0.130.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 +7 -0
- package/core/pagination.d.mts.map +1 -1
- package/core/pagination.d.ts.map +1 -1
- package/core/pagination.js +7 -1
- package/core/pagination.js.map +1 -1
- package/core/pagination.mjs +7 -1
- package/core/pagination.mjs.map +1 -1
- 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 +228 -19
- package/resources/vaults/items.d.mts.map +1 -1
- package/resources/vaults/items.d.ts +228 -19
- package/resources/vaults/items.d.ts.map +1 -1
- package/resources/vaults/vaults.d.mts +2 -2
- package/resources/vaults/vaults.d.mts.map +1 -1
- package/resources/vaults/vaults.d.ts +2 -2
- package/resources/vaults/vaults.d.ts.map +1 -1
- package/resources/vaults/vaults.js.map +1 -1
- package/resources/vaults/vaults.mjs.map +1 -1
- package/src/core/pagination.ts +7 -1
- package/src/resources/vaults/index.ts +2 -0
- package/src/resources/vaults/items.ts +278 -18
- package/src/resources/vaults/vaults.ts +4 -0
- 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,12 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [0.130.0](https://github.com/kernel/kernel-node-sdk/compare/v0.129.0...v0.130.0) (2026-10-24)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Features
|
|
7
|
+
|
|
8
|
+
* Support Link recurring spend requests on vault Link cards ([6becbe5](https://github.com/kernel/kernel-node-sdk/commit/6becbe5b788088db5334548a1b488208447181df))
|
|
9
|
+
|
|
3
10
|
## [0.129.0](https://github.com/kernel/kernel-node-sdk/compare/v0.128.0...v0.129.0) (2026-10-21)
|
|
4
11
|
|
|
5
12
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pagination.d.mts","sourceRoot":"","sources":["../src/core/pagination.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,mBAAmB,EAAE,wCAAoC;AAElE,OAAO,EAAE,KAAK,MAAM,EAAE,sBAAkB;AACxC,OAAO,EAAE,UAAU,EAAE,0BAAsB;AAC3C,OAAO,EAAE,KAAK,gBAAgB,EAAE,8BAA0B;AAG1D,MAAM,MAAM,kBAAkB,GAAG,IAAI,CAAC,mBAAmB,EAAE,OAAO,GAAG,SAAS,GAAG,MAAM,GAAG,MAAM,GAAG,QAAQ,CAAC,CAAC;AAE7G,8BAAsB,YAAY,CAAC,IAAI,CAAE,YAAW,aAAa,CAAC,IAAI,CAAC;;IAErE,SAAS,CAAC,OAAO,EAAE,mBAAmB,CAAC;IAEvC,SAAS,CAAC,QAAQ,EAAE,QAAQ,CAAC;IAC7B,SAAS,CAAC,IAAI,EAAE,OAAO,CAAC;gBAEZ,MAAM,EAAE,MAAM,EAAE,QAAQ,EAAE,QAAQ,EAAE,IAAI,EAAE,OAAO,EAAE,OAAO,EAAE,mBAAmB;IAO3F,QAAQ,CAAC,sBAAsB,IAAI,kBAAkB,GAAG,IAAI;IAE5D,QAAQ,CAAC,iBAAiB,IAAI,IAAI,EAAE;IAEpC,WAAW,IAAI,OAAO;IAMhB,WAAW,IAAI,OAAO,CAAC,IAAI,CAAC;IAW3B,SAAS,IAAI,cAAc,CAAC,IAAI,CAAC;IASjC,CAAC,MAAM,CAAC,aAAa,CAAC,IAAI,cAAc,CAAC,IAAI,CAAC;CAOtD;AAED;;;;;;;;GAQG;AACH,qBAAa,WAAW,CACpB,SAAS,SAAS,YAAY,CAAC,IAAI,CAAC,EACpC,IAAI,GAAG,UAAU,CAAC,SAAS,CAAC,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AAI,CAAC;IAC/D,KAAK,EAAE,KAAK,CAAC,IAAI,CAAC,CAAC;IAEnB,eAAe,EAAE,MAAM,GAAG,IAAI,CAAC;IAE/B,QAAQ,EAAE,OAAO,GAAG,IAAI,CAAC;gBAGvB,MAAM,EAAE,MAAM,EACd,QAAQ,EAAE,QAAQ,EAClB,IAAI,EAAE,2BAA2B,CAAC,IAAI,CAAC,EACvC,OAAO,EAAE,mBAAmB;IAS9B,iBAAiB,IAAI,IAAI,EAAE;IAIlB,WAAW,IAAI,OAAO;IAQ/B,sBAAsB,IAAI,kBAAkB,GAAG,IAAI;CAcpD;AAED,MAAM,MAAM,wBAAwB,CAAC,IAAI,IAAI,IAAI,EAAE,CAAC;AAEpD,MAAM,WAAW,sBAAsB;IACrC,MAAM,CAAC,EAAE,MAAM,CAAC;IAEhB,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED,qBAAa,gBAAgB,CAAC,IAAI,CAAE,SAAQ,YAAY,CAAC,IAAI,CAAC;IAC5D,KAAK,EAAE,KAAK,CAAC,IAAI,CAAC,CAAC;IAEnB,QAAQ,EAAE,OAAO,GAAG,IAAI,CAAC;IAEzB,WAAW,EAAE,MAAM,GAAG,IAAI,CAAC;gBAGzB,MAAM,EAAE,MAAM,EACd,QAAQ,EAAE,QAAQ,EAClB,IAAI,EAAE,wBAAwB,CAAC,IAAI,CAAC,EACpC,OAAO,EAAE,mBAAmB;IAS9B,iBAAiB,IAAI,IAAI,EAAE;IAIlB,WAAW,IAAI,OAAO;IAQ/B,sBAAsB,IAAI,kBAAkB,GAAG,IAAI;CAiCpD"}
|
package/core/pagination.js
CHANGED
|
@@ -119,7 +119,7 @@ class OffsetPagination extends AbstractPage {
|
|
|
119
119
|
if (this.has_more === false) {
|
|
120
120
|
return false;
|
|
121
121
|
}
|
|
122
|
-
return
|
|
122
|
+
return this.nextPageRequestOptions() != null;
|
|
123
123
|
}
|
|
124
124
|
nextPageRequestOptions() {
|
|
125
125
|
// X-Next-Offset is the absolute start of the next page, or 0 on the last
|
|
@@ -137,6 +137,12 @@ class OffsetPagination extends AbstractPage {
|
|
|
137
137
|
if (offset === 0) {
|
|
138
138
|
return null;
|
|
139
139
|
}
|
|
140
|
+
// Cursors can move in either direction. Stop only when the server repeats
|
|
141
|
+
// the cursor and would re-request the same page.
|
|
142
|
+
const requestOffset = this.options.query?.offset;
|
|
143
|
+
if (typeof requestOffset === 'number' && offset === requestOffset) {
|
|
144
|
+
return null;
|
|
145
|
+
}
|
|
140
146
|
return {
|
|
141
147
|
...this.options,
|
|
142
148
|
query: {
|
package/core/pagination.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pagination.js","sourceRoot":"","sources":["../src/core/pagination.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;;;AAEtF,sCAAsC;AAEtC,gDAAyD;AAEzD,kDAA2C;AAE3C,wDAA4F;AAI5F,MAAsB,YAAY;IAOhC,YAAY,MAAc,EAAE,QAAkB,EAAE,IAAa,EAAE,OAA4B;QAN3F,uCAAgB;QAOd,+BAAA,IAAI,wBAAW,MAAM,MAAA,CAAC;QACtB,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;QACvB,IAAI,CAAC,QAAQ,GAAG,QAAQ,CAAC;QACzB,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;IACnB,CAAC;IAMD,WAAW;QACT,MAAM,KAAK,GAAG,IAAI,CAAC,iBAAiB,EAAE,CAAC;QACvC,IAAI,CAAC,KAAK,CAAC,MAAM;YAAE,OAAO,KAAK,CAAC;QAChC,OAAO,IAAI,CAAC,sBAAsB,EAAE,IAAI,IAAI,CAAC;IAC/C,CAAC;IAED,KAAK,CAAC,WAAW;QACf,MAAM,WAAW,GAAG,IAAI,CAAC,sBAAsB,EAAE,CAAC;QAClD,IAAI,CAAC,WAAW,EAAE,CAAC;YACjB,MAAM,IAAI,mBAAW,CACnB,uFAAuF,CACxF,CAAC;QACJ,CAAC;QAED,OAAO,MAAM,+BAA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,GAAG,IAAI,CAAC,OAAO;YACf,KAAK,EAAE;gBACL,GAAG,IAAA,iBAAQ,EAAC,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC;gBAC/B,MAAM;aACP;SACF,CAAC;IACJ,CAAC;CACF;AAjED,4CAiEC"}
|
package/core/pagination.mjs
CHANGED
|
@@ -113,7 +113,7 @@ export class OffsetPagination extends AbstractPage {
|
|
|
113
113
|
if (this.has_more === false) {
|
|
114
114
|
return false;
|
|
115
115
|
}
|
|
116
|
-
return
|
|
116
|
+
return this.nextPageRequestOptions() != null;
|
|
117
117
|
}
|
|
118
118
|
nextPageRequestOptions() {
|
|
119
119
|
// X-Next-Offset is the absolute start of the next page, or 0 on the last
|
|
@@ -131,6 +131,12 @@ export class OffsetPagination extends AbstractPage {
|
|
|
131
131
|
if (offset === 0) {
|
|
132
132
|
return null;
|
|
133
133
|
}
|
|
134
|
+
// Cursors can move in either direction. Stop only when the server repeats
|
|
135
|
+
// the cursor and would re-request the same page.
|
|
136
|
+
const requestOffset = this.options.query?.offset;
|
|
137
|
+
if (typeof requestOffset === 'number' && offset === requestOffset) {
|
|
138
|
+
return null;
|
|
139
|
+
}
|
|
134
140
|
return {
|
|
135
141
|
...this.options,
|
|
136
142
|
query: {
|
package/core/pagination.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pagination.mjs","sourceRoot":"","sources":["../src/core/pagination.ts"],"names":[],"mappings":"AAAA,sFAAsF;;;AAEtF,OAAO,EAAE,WAAW,EAAE,oBAAgB;AAEtC,OAAO,EAAE,oBAAoB,EAAE,8BAA0B;AAEzD,OAAO,EAAE,UAAU,EAAE,0BAAsB;AAE3C,OAAO,EAAE,kBAAkB,EAAE,kBAAkB,EAAE,QAAQ,EAAE,qCAAiC;AAI5F,MAAM,OAAgB,YAAY;IAOhC,YAAY,MAAc,EAAE,QAAkB,EAAE,IAAa,EAAE,OAA4B;QAN3F,uCAAgB;QAOd,uBAAA,IAAI,wBAAW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E;QACrE,sEAAsE;QACtE,2DAA2D;QAC3D,MAAM,MAAM,GAAG,IAAI,CAAC,WAAW,CAAC;QAChC,IAAI,MAAM,IAAI,IAAI,EAAE,CAAC;YACnB,IAAI,IAAI,CAAC,QAAQ,EAAE,CAAC;gBAClB,MAAM,IAAI,WAAW,CACnB,4GAA4G,CAC7G,CAAC;YACJ,CAAC;YACD,OAAO,IAAI,CAAC;QACd,CAAC;QACD,IAAI,MAAM,KAAK,CAAC,EAAE,CAAC;YACjB,OAAO,IAAI,CAAC;QACd,CAAC;QACD,0EAA0E;QAC1E,iDAAiD;QACjD,MAAM,aAAa,GAAI,IAAI,CAAC,OAAO,CAAC,KAA4C,EAAE,MAAM,CAAC;QACzF,IAAI,OAAO,aAAa,KAAK,QAAQ,IAAI,MAAM,KAAK,aAAa,EAAE,CAAC;YAClE,OAAO,IAAI,CAAC;QACd,CAAC;QAED,OAAO;YACL,GAAG,IAAI,CAAC,OAAO;YACf,KAAK,EAAE;gBACL,GAAG,QAAQ,CAAC,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC;gBAC/B,MAAM;aACP;SACF,CAAC;IACJ,CAAC;CACF"}
|
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 ConfirmTransactionVaultItemOperationRequest, type CredentialAccountVaultItem, type CredentialAccountVaultItemRequest, type CredentialCollectionAction, type CredentialVaultFieldDefinition, type CredentialVaultFieldDefinitionInput, 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 RestartVerificationVaultItemOperationRequest, 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 ConfirmTransactionVaultItemOperationRequest, type CredentialAccountVaultItem, type CredentialAccountVaultItemRequest, type CredentialCollectionAction, type CredentialVaultFieldDefinition, type CredentialVaultFieldDefinitionInput, 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 LinkShippingAddress, type LinkUserInfo, 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 RestartVerificationVaultItemOperationRequest, 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 VaultEncryptionKey, 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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,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,kBAAkB,EACvB,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,2CAA2C,EAChD,KAAK,0BAA0B,EAC/B,KAAK,iCAAiC,EACtC,KAAK,0BAA0B,EAC/B,KAAK,8BAA8B,EACnC,KAAK,mCAAmC,EACxC,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,mBAAmB,EACxB,KAAK,YAAY,EACjB,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,4CAA4C,EACjD,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,kBAAkB,EACvB,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 ConfirmTransactionVaultItemOperationRequest, type CredentialAccountVaultItem, type CredentialAccountVaultItemRequest, type CredentialCollectionAction, type CredentialVaultFieldDefinition, type CredentialVaultFieldDefinitionInput, 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 RestartVerificationVaultItemOperationRequest, 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 ConfirmTransactionVaultItemOperationRequest, type CredentialAccountVaultItem, type CredentialAccountVaultItemRequest, type CredentialCollectionAction, type CredentialVaultFieldDefinition, type CredentialVaultFieldDefinitionInput, 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 LinkShippingAddress, type LinkUserInfo, 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 RestartVerificationVaultItemOperationRequest, 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 VaultEncryptionKey, 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,2CAA2C,EAChD,KAAK,0BAA0B,EAC/B,KAAK,iCAAiC,EACtC,KAAK,0BAA0B,EAC/B,KAAK,8BAA8B,EACnC,KAAK,mCAAmC,EACxC,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,4CAA4C,EACjD,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,kBAAkB,EACvB,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,2CAA2C,EAChD,KAAK,0BAA0B,EAC/B,KAAK,iCAAiC,EACtC,KAAK,0BAA0B,EAC/B,KAAK,8BAA8B,EACnC,KAAK,mCAAmC,EACxC,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,g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Root":"","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,oCA4EiB;AA3Ef,8FAAA,KAAK,OAAA;AA4EP,sCAOkB;AANhB,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,GA2EN,oBAAgB;AACjB,OAAO,EACL,MAAM,GAMP,qBAAiB"}
|
|
@@ -279,7 +279,8 @@ export declare namespace CardVaultItemSpec {
|
|
|
279
279
|
*/
|
|
280
280
|
interface LinkCardVaultItemSpec {
|
|
281
281
|
/**
|
|
282
|
-
* Integer amount in minor currency units, at most 50000.
|
|
282
|
+
* Integer amount in minor currency units, at most 50000. With recurring, the
|
|
283
|
+
* spending limit per period, not a lifetime total.
|
|
283
284
|
*/
|
|
284
285
|
amount: number;
|
|
285
286
|
context: string;
|
|
@@ -301,6 +302,18 @@ export declare namespace CardVaultItemSpec {
|
|
|
301
302
|
metadata?: {
|
|
302
303
|
[key: string]: string;
|
|
303
304
|
};
|
|
305
|
+
/**
|
|
306
|
+
* Recurring terms for a subscription or other repeated purchase. The amount
|
|
307
|
+
* becomes the spending limit for each period of interval_count intervals, for
|
|
308
|
+
* example every 2 weeks. The merchant schedules charges. The card stays ready
|
|
309
|
+
* after each charge until it expires or is deleted; do not create a new card each
|
|
310
|
+
* period. Deleting the card, its wallet or its vault first cancels the credential
|
|
311
|
+
* with Link, so later charges decline; if Link cannot be reached, deletion returns
|
|
312
|
+
* 409 provider_revocation_pending and should be retried. Deletion does not cancel
|
|
313
|
+
* the subscription with the merchant. Recurring terms cannot be changed once the
|
|
314
|
+
* card is authorized.
|
|
315
|
+
*/
|
|
316
|
+
recurring?: LinkCardVaultItemSpec.Recurring;
|
|
304
317
|
totals?: Array<LinkCardVaultItemSpec.Total>;
|
|
305
318
|
}
|
|
306
319
|
namespace LinkCardVaultItemSpec {
|
|
@@ -328,6 +341,24 @@ export declare namespace CardVaultItemSpec {
|
|
|
328
341
|
type: string;
|
|
329
342
|
}
|
|
330
343
|
}
|
|
344
|
+
/**
|
|
345
|
+
* Recurring terms for a subscription or other repeated purchase. The amount
|
|
346
|
+
* becomes the spending limit for each period of interval_count intervals, for
|
|
347
|
+
* example every 2 weeks. The merchant schedules charges. The card stays ready
|
|
348
|
+
* after each charge until it expires or is deleted; do not create a new card each
|
|
349
|
+
* period. Deleting the card, its wallet or its vault first cancels the credential
|
|
350
|
+
* with Link, so later charges decline; if Link cannot be reached, deletion returns
|
|
351
|
+
* 409 provider_revocation_pending and should be retried. Deletion does not cancel
|
|
352
|
+
* the subscription with the merchant. Recurring terms cannot be changed once the
|
|
353
|
+
* card is authorized.
|
|
354
|
+
*/
|
|
355
|
+
interface Recurring {
|
|
356
|
+
interval: 'day' | 'week' | 'month' | 'year';
|
|
357
|
+
/**
|
|
358
|
+
* Number of intervals per period. Link defaults it to 1.
|
|
359
|
+
*/
|
|
360
|
+
interval_count?: number;
|
|
361
|
+
}
|
|
331
362
|
interface Total {
|
|
332
363
|
/**
|
|
333
364
|
* Total amount in minor currency units.
|
|
@@ -525,7 +556,7 @@ export declare namespace CredentialAccountVaultItem {
|
|
|
525
556
|
*/
|
|
526
557
|
interface AvailableExpansion {
|
|
527
558
|
description: string;
|
|
528
|
-
type: 'payment_methods';
|
|
559
|
+
type: 'payment_methods' | 'link_user_info' | 'link_shipping_addresses';
|
|
529
560
|
}
|
|
530
561
|
/**
|
|
531
562
|
* An operation that is currently valid for this item. Read the description before
|
|
@@ -846,7 +877,7 @@ export declare namespace CredentialVaultItem {
|
|
|
846
877
|
*/
|
|
847
878
|
interface AvailableExpansion {
|
|
848
879
|
description: string;
|
|
849
|
-
type: 'payment_methods';
|
|
880
|
+
type: 'payment_methods' | 'link_user_info' | 'link_shipping_addresses';
|
|
850
881
|
}
|
|
851
882
|
/**
|
|
852
883
|
* An operation that is currently valid for this item. Read the description before
|
|
@@ -1007,7 +1038,8 @@ export interface FillVaultItemOperationRequest {
|
|
|
1007
1038
|
*/
|
|
1008
1039
|
page_url?: string;
|
|
1009
1040
|
/**
|
|
1010
|
-
*
|
|
1041
|
+
* @deprecated Ignored. Fill sets no operation deadline; typing pace adapts to the
|
|
1042
|
+
* length of the values instead. Accepted for compatibility.
|
|
1011
1043
|
*/
|
|
1012
1044
|
timeout_ms?: number;
|
|
1013
1045
|
}
|
|
@@ -1038,8 +1070,11 @@ export interface FillVaultItemOperationResult {
|
|
|
1038
1070
|
export interface KernelCardState {
|
|
1039
1071
|
provider: 'kernel';
|
|
1040
1072
|
/**
|
|
1041
|
-
* pending_authorization
|
|
1042
|
-
*
|
|
1073
|
+
* pending_authorization waits for cardholder approval on Visa purchases or fresh
|
|
1074
|
+
* security-code collection on alias-mode purchases through the spend_approval
|
|
1075
|
+
* action; an unused link expires after 30 minutes. Alias-mode cards become ready
|
|
1076
|
+
* after collection and expire at the temporary security-code alias deadline, by
|
|
1077
|
+
* default five minutes later. An expired alias purchase requires a new card.
|
|
1043
1078
|
* recovery_required means verification, approving the purchase or issuing the
|
|
1044
1079
|
* one-time code has an unresolved outcome. A server-classified initial attestation
|
|
1045
1080
|
* failure before intent dispatch may advertise restart_verification to prepare a
|
|
@@ -1082,12 +1117,13 @@ export declare namespace KernelCardState {
|
|
|
1082
1117
|
* spend_approval action: the cardholder approves it with a Visa passkey, and
|
|
1083
1118
|
* Kernel registers a Visa intent for one transaction up to the amount before
|
|
1084
1119
|
* issuing the code. For supported cards whose network cannot be enrolled for
|
|
1085
|
-
* agentic tokens, authorize
|
|
1086
|
-
*
|
|
1087
|
-
*
|
|
1088
|
-
*
|
|
1089
|
-
*
|
|
1090
|
-
*
|
|
1120
|
+
* agentic tokens, authorize returns pending_authorization with a spend_approval
|
|
1121
|
+
* action to collect a fresh security code in a hosted field. Once collected, the
|
|
1122
|
+
* card is ready and can be filled before its expires_at, by default five minutes
|
|
1123
|
+
* after collection. An expired card requires a new purchase. Fill types those
|
|
1124
|
+
* details on merchant_url's origin. The amount, merchant_url and merchant_country
|
|
1125
|
+
* are recorded but do not restrict payment requests sent by the browser. Card
|
|
1126
|
+
* updates are not supported; delete and create a new item instead.
|
|
1091
1127
|
*/
|
|
1092
1128
|
export interface KernelCardVaultItemSpec {
|
|
1093
1129
|
/**
|
|
@@ -1203,6 +1239,154 @@ export interface KernelWalletState {
|
|
|
1203
1239
|
export interface KernelWalletVaultItemSpec {
|
|
1204
1240
|
provider: 'kernel';
|
|
1205
1241
|
}
|
|
1242
|
+
/**
|
|
1243
|
+
* One entry of Link's `GET /shipping_addresses` response, passed through as Link
|
|
1244
|
+
* reports it. Kernel never stores it.
|
|
1245
|
+
*/
|
|
1246
|
+
export interface LinkShippingAddress {
|
|
1247
|
+
/**
|
|
1248
|
+
* Link shipping address ID.
|
|
1249
|
+
*/
|
|
1250
|
+
id: string;
|
|
1251
|
+
is_default: boolean;
|
|
1252
|
+
nickname: string | null;
|
|
1253
|
+
/**
|
|
1254
|
+
* Link's nullable postal address fields. Omitted from the shipping address when
|
|
1255
|
+
* Link reports null.
|
|
1256
|
+
*/
|
|
1257
|
+
address?: LinkShippingAddress.Address;
|
|
1258
|
+
}
|
|
1259
|
+
export declare namespace LinkShippingAddress {
|
|
1260
|
+
/**
|
|
1261
|
+
* Link's nullable postal address fields. Omitted from the shipping address when
|
|
1262
|
+
* Link reports null.
|
|
1263
|
+
*/
|
|
1264
|
+
interface Address {
|
|
1265
|
+
/**
|
|
1266
|
+
* State, province or region.
|
|
1267
|
+
*/
|
|
1268
|
+
administrative_area: string | null;
|
|
1269
|
+
country_code: string | null;
|
|
1270
|
+
dependent_locality: string | null;
|
|
1271
|
+
line_1: string | null;
|
|
1272
|
+
line_2: string | null;
|
|
1273
|
+
/**
|
|
1274
|
+
* City or town.
|
|
1275
|
+
*/
|
|
1276
|
+
locality: string | null;
|
|
1277
|
+
name: string | null;
|
|
1278
|
+
postal_code: string | null;
|
|
1279
|
+
sorting_code: string | null;
|
|
1280
|
+
}
|
|
1281
|
+
}
|
|
1282
|
+
/**
|
|
1283
|
+
* Link's `GET /userinfo` response for the connected wallet, passed through as Link
|
|
1284
|
+
* reports it when the `link_user_info` expansion is requested. Kernel never stores
|
|
1285
|
+
* it. Null fields are null at Link; omitted fields were not reported. Amounts are
|
|
1286
|
+
* in the minor unit of `default_spend_request_currency`.
|
|
1287
|
+
*/
|
|
1288
|
+
export interface LinkUserInfo {
|
|
1289
|
+
/**
|
|
1290
|
+
* Stable Link user ID.
|
|
1291
|
+
*/
|
|
1292
|
+
id: string | null;
|
|
1293
|
+
email: string | null;
|
|
1294
|
+
first_name: string | null;
|
|
1295
|
+
last_name: string | null;
|
|
1296
|
+
name: string | null;
|
|
1297
|
+
phone: string | null;
|
|
1298
|
+
/**
|
|
1299
|
+
* The Link user's postal address. Omitted when Link reports none.
|
|
1300
|
+
*/
|
|
1301
|
+
address?: LinkUserInfo.Address;
|
|
1302
|
+
/**
|
|
1303
|
+
* Link's agent wallet spend limits, per transaction and over rolling periods.
|
|
1304
|
+
*/
|
|
1305
|
+
agent_wallet_spend_limits?: LinkUserInfo.AgentWalletSpendLimits;
|
|
1306
|
+
/**
|
|
1307
|
+
* Verification Link requires from the user before the agent wallet can spend.
|
|
1308
|
+
*/
|
|
1309
|
+
agent_wallet_step_up?: LinkUserInfo.AgentWalletStepUp;
|
|
1310
|
+
/**
|
|
1311
|
+
* Lowercase ISO currency Link applies to a spend request created without one.
|
|
1312
|
+
*/
|
|
1313
|
+
default_spend_request_currency?: string;
|
|
1314
|
+
/**
|
|
1315
|
+
* Whether the user can fund purchases from a Link balance.
|
|
1316
|
+
*/
|
|
1317
|
+
eligible_for_balance?: boolean;
|
|
1318
|
+
}
|
|
1319
|
+
export declare namespace LinkUserInfo {
|
|
1320
|
+
/**
|
|
1321
|
+
* The Link user's postal address. Omitted when Link reports none.
|
|
1322
|
+
*/
|
|
1323
|
+
interface Address {
|
|
1324
|
+
city: string | null;
|
|
1325
|
+
country: string | null;
|
|
1326
|
+
line1: string | null;
|
|
1327
|
+
line2: string | null;
|
|
1328
|
+
postal_code: string | null;
|
|
1329
|
+
state: string | null;
|
|
1330
|
+
}
|
|
1331
|
+
/**
|
|
1332
|
+
* Link's agent wallet spend limits, per transaction and over rolling periods.
|
|
1333
|
+
*/
|
|
1334
|
+
interface AgentWalletSpendLimits {
|
|
1335
|
+
daily: AgentWalletSpendLimits.Daily;
|
|
1336
|
+
per_transaction: AgentWalletSpendLimits.PerTransaction;
|
|
1337
|
+
thirty_day: AgentWalletSpendLimits.ThirtyDay;
|
|
1338
|
+
}
|
|
1339
|
+
namespace AgentWalletSpendLimits {
|
|
1340
|
+
interface Daily {
|
|
1341
|
+
/**
|
|
1342
|
+
* Null means unlimited.
|
|
1343
|
+
*/
|
|
1344
|
+
limit: number | null;
|
|
1345
|
+
/**
|
|
1346
|
+
* Amount still available in the rolling period; null means unlimited.
|
|
1347
|
+
*/
|
|
1348
|
+
remaining: number | null;
|
|
1349
|
+
/**
|
|
1350
|
+
* Amount already spent in the rolling period.
|
|
1351
|
+
*/
|
|
1352
|
+
used: number;
|
|
1353
|
+
}
|
|
1354
|
+
interface PerTransaction {
|
|
1355
|
+
/**
|
|
1356
|
+
* Null means unlimited.
|
|
1357
|
+
*/
|
|
1358
|
+
limit: number | null;
|
|
1359
|
+
}
|
|
1360
|
+
interface ThirtyDay {
|
|
1361
|
+
/**
|
|
1362
|
+
* Null means unlimited.
|
|
1363
|
+
*/
|
|
1364
|
+
limit: number | null;
|
|
1365
|
+
/**
|
|
1366
|
+
* Amount still available in the rolling period; null means unlimited.
|
|
1367
|
+
*/
|
|
1368
|
+
remaining: number | null;
|
|
1369
|
+
/**
|
|
1370
|
+
* Amount already spent in the rolling period.
|
|
1371
|
+
*/
|
|
1372
|
+
used: number;
|
|
1373
|
+
}
|
|
1374
|
+
}
|
|
1375
|
+
/**
|
|
1376
|
+
* Verification Link requires from the user before the agent wallet can spend.
|
|
1377
|
+
*/
|
|
1378
|
+
interface AgentWalletStepUp {
|
|
1379
|
+
/**
|
|
1380
|
+
* URL where the user completes verification; null when no action is available.
|
|
1381
|
+
*/
|
|
1382
|
+
action_url: string | null;
|
|
1383
|
+
/**
|
|
1384
|
+
* Link status such as not_required, ssn_verification, identity_verification,
|
|
1385
|
+
* contact_support or complete.
|
|
1386
|
+
*/
|
|
1387
|
+
status: string;
|
|
1388
|
+
}
|
|
1389
|
+
}
|
|
1206
1390
|
export interface ManagedAuthCredentialVaultField {
|
|
1207
1391
|
/**
|
|
1208
1392
|
* Text, email, and password have form inputs; totp and passkey do not and are
|
|
@@ -1780,7 +1964,7 @@ export declare namespace VaultItem {
|
|
|
1780
1964
|
*/
|
|
1781
1965
|
interface AvailableExpansion {
|
|
1782
1966
|
description: string;
|
|
1783
|
-
type: 'payment_methods';
|
|
1967
|
+
type: 'payment_methods' | 'link_user_info' | 'link_shipping_addresses';
|
|
1784
1968
|
}
|
|
1785
1969
|
/**
|
|
1786
1970
|
* An operation that is currently valid for this item. Read the description before
|
|
@@ -1794,6 +1978,18 @@ export declare namespace VaultItem {
|
|
|
1794
1978
|
* Live, non-persisted data requested through the item GET expand parameter.
|
|
1795
1979
|
*/
|
|
1796
1980
|
interface Expanded {
|
|
1981
|
+
/**
|
|
1982
|
+
* Link's saved shipping addresses, present when the `link_shipping_addresses`
|
|
1983
|
+
* expansion is requested.
|
|
1984
|
+
*/
|
|
1985
|
+
link_shipping_addresses?: Array<ItemsAPI.LinkShippingAddress>;
|
|
1986
|
+
/**
|
|
1987
|
+
* Link's `GET /userinfo` response for the connected wallet, passed through as Link
|
|
1988
|
+
* reports it when the `link_user_info` expansion is requested. Kernel never stores
|
|
1989
|
+
* it. Null fields are null at Link; omitted fields were not reported. Amounts are
|
|
1990
|
+
* in the minor unit of `default_spend_request_currency`.
|
|
1991
|
+
*/
|
|
1992
|
+
link_user_info?: ItemsAPI.LinkUserInfo;
|
|
1797
1993
|
payment_methods?: Array<ItemsAPI.VaultPaymentMethod>;
|
|
1798
1994
|
}
|
|
1799
1995
|
}
|
|
@@ -1832,7 +2028,7 @@ export declare namespace VaultItem {
|
|
|
1832
2028
|
*/
|
|
1833
2029
|
interface AvailableExpansion {
|
|
1834
2030
|
description: string;
|
|
1835
|
-
type: 'payment_methods';
|
|
2031
|
+
type: 'payment_methods' | 'link_user_info' | 'link_shipping_addresses';
|
|
1836
2032
|
}
|
|
1837
2033
|
/**
|
|
1838
2034
|
* An operation that is currently valid for this item. Read the description before
|
|
@@ -1943,7 +2139,7 @@ export declare namespace VaultItemOperationResponse {
|
|
|
1943
2139
|
*/
|
|
1944
2140
|
interface AvailableExpansion {
|
|
1945
2141
|
description: string;
|
|
1946
|
-
type: 'payment_methods';
|
|
2142
|
+
type: 'payment_methods' | 'link_user_info' | 'link_shipping_addresses';
|
|
1947
2143
|
}
|
|
1948
2144
|
/**
|
|
1949
2145
|
* An operation that is currently valid for this item. Read the description before
|
|
@@ -1957,6 +2153,18 @@ export declare namespace VaultItemOperationResponse {
|
|
|
1957
2153
|
* Live, non-persisted data requested through the item GET expand parameter.
|
|
1958
2154
|
*/
|
|
1959
2155
|
interface Expanded {
|
|
2156
|
+
/**
|
|
2157
|
+
* Link's saved shipping addresses, present when the `link_shipping_addresses`
|
|
2158
|
+
* expansion is requested.
|
|
2159
|
+
*/
|
|
2160
|
+
link_shipping_addresses?: Array<ItemsAPI.LinkShippingAddress>;
|
|
2161
|
+
/**
|
|
2162
|
+
* Link's `GET /userinfo` response for the connected wallet, passed through as Link
|
|
2163
|
+
* reports it when the `link_user_info` expansion is requested. Kernel never stores
|
|
2164
|
+
* it. Null fields are null at Link; omitted fields were not reported. Amounts are
|
|
2165
|
+
* in the minor unit of `default_spend_request_currency`.
|
|
2166
|
+
*/
|
|
2167
|
+
link_user_info?: ItemsAPI.LinkUserInfo;
|
|
1960
2168
|
payment_methods?: Array<ItemsAPI.VaultPaymentMethod>;
|
|
1961
2169
|
}
|
|
1962
2170
|
}
|
|
@@ -1995,7 +2203,7 @@ export declare namespace VaultItemOperationResponse {
|
|
|
1995
2203
|
*/
|
|
1996
2204
|
interface AvailableExpansion {
|
|
1997
2205
|
description: string;
|
|
1998
|
-
type: 'payment_methods';
|
|
2206
|
+
type: 'payment_methods' | 'link_user_info' | 'link_shipping_addresses';
|
|
1999
2207
|
}
|
|
2000
2208
|
/**
|
|
2001
2209
|
* An operation that is currently valid for this item. Read the description before
|
|
@@ -2249,7 +2457,7 @@ export interface ItemRetrieveParams {
|
|
|
2249
2457
|
* Query param: Live fields advertised by `available_expansions` to include in
|
|
2250
2458
|
* `expanded`.
|
|
2251
2459
|
*/
|
|
2252
|
-
expand?: Array<'payment_methods'>;
|
|
2460
|
+
expand?: Array<'payment_methods' | 'link_user_info' | 'link_shipping_addresses'>;
|
|
2253
2461
|
/**
|
|
2254
2462
|
* Query param: Hold for up to this many seconds while the item is pending
|
|
2255
2463
|
* authorization, approval, or credential collection. Return the current item when
|
|
@@ -2448,7 +2656,8 @@ export declare namespace ItemPerformOperationParams {
|
|
|
2448
2656
|
*/
|
|
2449
2657
|
page_url?: string;
|
|
2450
2658
|
/**
|
|
2451
|
-
* Body param:
|
|
2659
|
+
* @deprecated Body param: Ignored. Fill sets no operation deadline; typing pace
|
|
2660
|
+
* adapts to the length of the values instead. Accepted for compatibility.
|
|
2452
2661
|
*/
|
|
2453
2662
|
timeout_ms?: number;
|
|
2454
2663
|
}
|
|
@@ -2798,6 +3007,6 @@ export declare namespace ItemUpsertParams {
|
|
|
2798
3007
|
}
|
|
2799
3008
|
}
|
|
2800
3009
|
export declare namespace Items {
|
|
2801
|
-
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 ConfirmTransactionVaultItemOperationRequest as ConfirmTransactionVaultItemOperationRequest, type CredentialAccountVaultItem as CredentialAccountVaultItem, type CredentialAccountVaultItemRequest as CredentialAccountVaultItemRequest, type CredentialCollectionAction as CredentialCollectionAction, type CredentialVaultFieldDefinition as CredentialVaultFieldDefinition, type CredentialVaultFieldDefinitionInput as CredentialVaultFieldDefinitionInput, 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 RestartVerificationVaultItemOperationRequest as RestartVerificationVaultItemOperationRequest, 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, };
|
|
3010
|
+
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 ConfirmTransactionVaultItemOperationRequest as ConfirmTransactionVaultItemOperationRequest, type CredentialAccountVaultItem as CredentialAccountVaultItem, type CredentialAccountVaultItemRequest as CredentialAccountVaultItemRequest, type CredentialCollectionAction as CredentialCollectionAction, type CredentialVaultFieldDefinition as CredentialVaultFieldDefinition, type CredentialVaultFieldDefinitionInput as CredentialVaultFieldDefinitionInput, 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 LinkShippingAddress as LinkShippingAddress, type LinkUserInfo as LinkUserInfo, 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 RestartVerificationVaultItemOperationRequest as RestartVerificationVaultItemOperationRequest, 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, };
|
|
2802
3011
|
}
|
|
2803
3012
|
//# sourceMappingURL=items.d.mts.map
|