@onkernel/sdk 0.135.0 → 0.137.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.
Files changed (88) hide show
  1. package/CHANGELOG.md +19 -0
  2. package/client.d.mts +2 -5
  3. package/client.d.mts.map +1 -1
  4. package/client.d.ts +2 -5
  5. package/client.d.ts.map +1 -1
  6. package/client.js +0 -3
  7. package/client.js.map +1 -1
  8. package/client.mjs +0 -3
  9. package/client.mjs.map +1 -1
  10. package/lib/browser-routing.d.mts.map +1 -1
  11. package/lib/browser-routing.d.ts.map +1 -1
  12. package/lib/browser-routing.js +2 -0
  13. package/lib/browser-routing.js.map +1 -1
  14. package/lib/browser-routing.mjs +2 -0
  15. package/lib/browser-routing.mjs.map +1 -1
  16. package/package.json +1 -1
  17. package/resources/browsers/browsers.d.mts +17 -1
  18. package/resources/browsers/browsers.d.mts.map +1 -1
  19. package/resources/browsers/browsers.d.ts +17 -1
  20. package/resources/browsers/browsers.d.ts.map +1 -1
  21. package/resources/browsers/browsers.js.map +1 -1
  22. package/resources/browsers/browsers.mjs.map +1 -1
  23. package/resources/browsers/index.d.mts +1 -1
  24. package/resources/browsers/index.d.mts.map +1 -1
  25. package/resources/browsers/index.d.ts +1 -1
  26. package/resources/browsers/index.d.ts.map +1 -1
  27. package/resources/browsers/index.js.map +1 -1
  28. package/resources/browsers/index.mjs.map +1 -1
  29. package/resources/browsers/telemetry.d.mts +4 -3
  30. package/resources/browsers/telemetry.d.mts.map +1 -1
  31. package/resources/browsers/telemetry.d.ts +4 -3
  32. package/resources/browsers/telemetry.d.ts.map +1 -1
  33. package/resources/index.d.mts +1 -1
  34. package/resources/index.d.mts.map +1 -1
  35. package/resources/index.d.ts +1 -1
  36. package/resources/index.d.ts.map +1 -1
  37. package/resources/index.js.map +1 -1
  38. package/resources/index.mjs.map +1 -1
  39. package/resources/projects/limits.d.mts +0 -2
  40. package/resources/projects/limits.d.mts.map +1 -1
  41. package/resources/projects/limits.d.ts +0 -2
  42. package/resources/projects/limits.d.ts.map +1 -1
  43. package/resources/projects/limits.js +0 -2
  44. package/resources/projects/limits.js.map +1 -1
  45. package/resources/projects/limits.mjs +0 -2
  46. package/resources/projects/limits.mjs.map +1 -1
  47. package/resources/projects/projects.d.mts +0 -2
  48. package/resources/projects/projects.d.mts.map +1 -1
  49. package/resources/projects/projects.d.ts +0 -2
  50. package/resources/projects/projects.d.ts.map +1 -1
  51. package/resources/projects/projects.js +0 -2
  52. package/resources/projects/projects.js.map +1 -1
  53. package/resources/projects/projects.mjs +0 -2
  54. package/resources/projects/projects.mjs.map +1 -1
  55. package/resources/vaults/index.d.mts +1 -1
  56. package/resources/vaults/index.d.mts.map +1 -1
  57. package/resources/vaults/index.d.ts +1 -1
  58. package/resources/vaults/index.d.ts.map +1 -1
  59. package/resources/vaults/index.js.map +1 -1
  60. package/resources/vaults/index.mjs.map +1 -1
  61. package/resources/vaults/items.d.mts +240 -34
  62. package/resources/vaults/items.d.mts.map +1 -1
  63. package/resources/vaults/items.d.ts +240 -34
  64. package/resources/vaults/items.d.ts.map +1 -1
  65. package/resources/vaults/items.js +7 -7
  66. package/resources/vaults/items.mjs +7 -7
  67. package/resources/vaults/vaults.d.mts +2 -2
  68. package/resources/vaults/vaults.d.mts.map +1 -1
  69. package/resources/vaults/vaults.d.ts +2 -2
  70. package/resources/vaults/vaults.d.ts.map +1 -1
  71. package/resources/vaults/vaults.js.map +1 -1
  72. package/resources/vaults/vaults.mjs.map +1 -1
  73. package/src/client.ts +2 -3
  74. package/src/lib/browser-routing.ts +2 -0
  75. package/src/resources/browsers/browsers.ts +19 -0
  76. package/src/resources/browsers/index.ts +1 -0
  77. package/src/resources/browsers/telemetry.ts +4 -2
  78. package/src/resources/index.ts +1 -0
  79. package/src/resources/projects/limits.ts +0 -2
  80. package/src/resources/projects/projects.ts +0 -2
  81. package/src/resources/vaults/index.ts +4 -0
  82. package/src/resources/vaults/items.ts +303 -31
  83. package/src/resources/vaults/vaults.ts +8 -0
  84. package/src/version.ts +1 -1
  85. package/version.d.mts +1 -1
  86. package/version.d.ts +1 -1
  87. package/version.js +1 -1
  88. package/version.mjs +1 -1
@@ -91,13 +91,13 @@ export class Items extends APIResource {
91
91
  * Unresolved payment operations normally block deletion, including operations on
92
92
  * child cards of a wallet. Deleting a connected Kernel wallet first blocks new
93
93
  * payments on it, then removes its enrolled card. If that fails, the wallet is
94
- * kept and keeps refusing payments; retry the deletion. A Link or Kernel card in
95
- * recovery_required for issuance, or an AgentCard card in recovery_required whose
96
- * checkout create response returned no authorization ID, may be explicitly
97
- * abandoned by deleting that card directly; deleting its wallet or vault remains
98
- * blocked until the card is deleted. Deleting or recreating an item is not proof
99
- * that a payment did not occur. Deleting a managed auth credential item leaves the
100
- * connection and its saved credential unchanged.
94
+ * kept and keeps refusing payments; retry the deletion. A Link, Kernel or Shop Pay
95
+ * card in recovery_required for issuance, or an AgentCard card in
96
+ * recovery_required whose checkout create response returned no authorization ID,
97
+ * may be explicitly abandoned by deleting that card directly; deleting its wallet
98
+ * or vault remains blocked until the card is deleted. Deleting or recreating an
99
+ * item is not proof that a payment did not occur. Deleting a managed auth
100
+ * credential item leaves the connection and its saved credential unchanged.
101
101
  *
102
102
  * @example
103
103
  * ```ts
@@ -383,17 +383,19 @@ export interface ArmPasskeyVaultItemOperationRequest {
383
383
  }
384
384
 
385
385
  /**
386
- * Authorize a Link or Kernel card using its existing purchase specification. Use
387
- * only after explicit user approval and when the item advertises authorize; follow
388
- * the advertised operation's description. For a Link card, pass browser_id and
389
- * page_url together while the browser is on the final checkout page: Kernel
390
- * inspects that checkout, chooses how the credential is delivered, and limits fill
391
- * to that checkout's origin in any browser with this vault attached. Omitting both
392
- * issues a virtual card that fills any page on the merchant origin. Once approval
393
- * has been requested, browser_id and page_url are ignored and authorize only
394
- * re-checks the request. Browser and checkout inspection errors occur before any
395
- * provider request and can be retried once the browser is on the checkout page.
396
- * Kernel cards do not accept browser_id or page_url.
386
+ * Authorize a Link, Kernel or Shop Pay card using its existing purchase
387
+ * specification. Use only after explicit user approval and when the item
388
+ * advertises authorize; follow the advertised operation's description. For a Link
389
+ * or Shop Pay card, pass browser_id and page_url together while the browser is on
390
+ * the final checkout page: Kernel confirms that checkout is open, sends it to the
391
+ * provider as the merchant, and limits fill to that checkout's origin in any
392
+ * browser with this vault attached. For Link it also chooses how the credential is
393
+ * delivered. Omitting both issues a virtual card that fills any page on the
394
+ * merchant origin. Once approval has been requested, browser_id and page_url are
395
+ * ignored and authorize only re-checks the request. Browser and checkout
396
+ * inspection errors occur before any provider request and can be retried once the
397
+ * browser is on the checkout page. Kernel cards do not accept browser_id or
398
+ * page_url.
397
399
  */
398
400
  export interface AuthorizeVaultItemOperationRequest {
399
401
  type: 'authorize';
@@ -421,7 +423,8 @@ export interface AuthorizeVaultItemOperationRequest {
421
423
  export type CardVaultItemSpec =
422
424
  | CardVaultItemSpec.LinkCardVaultItemSpec
423
425
  | CardVaultItemSpec.AgentCardCardVaultItemSpec
424
- | KernelCardVaultItemSpec;
426
+ | KernelCardVaultItemSpec
427
+ | ShopPayCardVaultItemSpec;
425
428
 
426
429
  export namespace CardVaultItemSpec {
427
430
  /**
@@ -604,7 +607,8 @@ export namespace CardVaultItemSpec {
604
607
  export type CardVaultItemState =
605
608
  | CardVaultItemState.LinkCardState
606
609
  | CardVaultItemState.AgentCardCardState
607
- | KernelCardState;
610
+ | KernelCardState
611
+ | ShopPayCardState;
608
612
 
609
613
  export namespace CardVaultItemState {
610
614
  /**
@@ -736,11 +740,12 @@ export interface CollectVaultItemOperationRequest {
736
740
  }
737
741
 
738
742
  /**
739
- * Report a real merchant transaction outcome for an issued Kernel Visa credential.
740
- * Never infer success from filling checkout or receiving a credential. Supply the
741
- * observed status, transaction type, actual amount, currency and timestamp.
742
- * Unknown outcomes require manual reconciliation, not retry. Each purchase accepts
743
- * one report.
743
+ * Report a real merchant transaction outcome for an issued Kernel Visa or Shop Pay
744
+ * credential. Shop Pay accepts PURCHASE, AUTHORIZATION and CAPTURE. Never infer
745
+ * success from filling checkout or receiving a credential. Supply the observed
746
+ * status, transaction type, actual amount, currency and timestamp. Unknown
747
+ * outcomes require manual reconciliation, not retry. Each purchase accepts one
748
+ * report.
744
749
  */
745
750
  export interface ConfirmTransactionVaultItemOperationRequest {
746
751
  /**
@@ -771,6 +776,26 @@ export interface ConfirmTransactionVaultItemOperationRequest {
771
776
  | 'FRAUD';
772
777
 
773
778
  type: 'confirm_transaction';
779
+
780
+ /**
781
+ * Why the purchase did not succeed, for any other outcome, such as 3ds_challenge,
782
+ * captcha, login_required, timeout or site_error. payment_declined goes only with
783
+ * DECLINED, which takes no other code. Shop Pay reports it; other providers ignore
784
+ * it.
785
+ */
786
+ failure_code?: string;
787
+
788
+ /**
789
+ * The merchant's order number, for an APPROVED outcome. Shop Pay reports it; other
790
+ * providers ignore it.
791
+ */
792
+ order_id?: string;
793
+
794
+ /**
795
+ * The merchant's https order page, for an APPROVED outcome. Shop Pay reports it;
796
+ * other providers ignore it.
797
+ */
798
+ order_url?: string;
774
799
  }
775
800
 
776
801
  export interface CredentialAccountVaultItem {
@@ -2113,6 +2138,12 @@ export namespace OnePasswordCredentialVaultItemSpec {
2113
2138
  */
2114
2139
  type: string;
2115
2140
 
2141
+ /**
2142
+ * 1Password's ID for this entry in an access request you created. Supply it only
2143
+ * with resolved.
2144
+ */
2145
+ id?: string;
2146
+
2116
2147
  keywords?: Array<string>;
2117
2148
 
2118
2149
  reason?: string;
@@ -2131,11 +2162,20 @@ export namespace OnePasswordCredentialVaultItemSpec {
2131
2162
  * customer-supplied access token and matching integration key. Supply either
2132
2163
  * account or both secrets, never both. Supplied secrets are write-only and never
2133
2164
  * returned. Supply requests for new items; website remains supported for existing
2134
- * account-backed callers.
2165
+ * account-backed callers. To use an access request you already created and the
2166
+ * user approved with the same access token and integration key, also supply
2167
+ * access_request_id, resolved, and each requests entry's id; the item is created
2168
+ * ready and Kernel doesn't create an access request.
2135
2169
  */
2136
2170
  export interface OnePasswordCredentialVaultItemSpecInput {
2137
2171
  provider: '1password';
2138
2172
 
2173
+ /**
2174
+ * ID of an approved access request you created with this access_token and
2175
+ * integration_key. Requires resolved.
2176
+ */
2177
+ access_request_id?: string;
2178
+
2139
2179
  /**
2140
2180
  * Customer-supplied 1Password broker token. Requires integration_key; stored
2141
2181
  * encrypted on this item. Omit if providing a connected credential_account item
@@ -2168,6 +2208,14 @@ export interface OnePasswordCredentialVaultItemSpecInput {
2168
2208
  */
2169
2209
  requests?: OnePasswordCredentialVaultItemSpecInput.Requests;
2170
2210
 
2211
+ /**
2212
+ * Granted logins from 1Password's status for access_request_id, as returned by the
2213
+ * 1Password SDK or extension. Requires access_request_id and an id on every
2214
+ * requests entry. entryId may be omitted only when requests has one entry. Kernel
2215
+ * doesn't verify the references; 1Password checks them when filling.
2216
+ */
2217
+ resolved?: Array<OnePasswordCredentialVaultItemSpecInput.Resolved>;
2218
+
2171
2219
  /**
2172
2220
  * @deprecated Legacy single-login shorthand. Supply requests instead.
2173
2221
  */
@@ -2199,6 +2247,12 @@ export namespace OnePasswordCredentialVaultItemSpecInput {
2199
2247
  */
2200
2248
  type: string;
2201
2249
 
2250
+ /**
2251
+ * 1Password's ID for this entry in an access request you created. Supply it only
2252
+ * with resolved.
2253
+ */
2254
+ id?: string;
2255
+
2202
2256
  keywords?: Array<string>;
2203
2257
 
2204
2258
  reason?: string;
@@ -2210,6 +2264,19 @@ export namespace OnePasswordCredentialVaultItemSpecInput {
2210
2264
  }
2211
2265
  }
2212
2266
  }
2267
+
2268
+ export interface Resolved {
2269
+ /**
2270
+ * 1Password credential reference. Pass it unchanged as resourcePath to the
2271
+ * extension's fillCredential or to the 1Password SDK.
2272
+ */
2273
+ reference: string;
2274
+
2275
+ /**
2276
+ * The requested entry this login satisfies, when known.
2277
+ */
2278
+ entryId?: string;
2279
+ }
2213
2280
  }
2214
2281
 
2215
2282
  export interface OnePasswordCredentialVaultItemState {
@@ -2842,6 +2909,170 @@ export interface RestartVerificationVaultItemOperationRequest {
2842
2909
  type: 'restart_verification';
2843
2910
  }
2844
2911
 
2912
+ /**
2913
+ * Issued Shop Pay cards retain encrypted card material for the fill operation.
2914
+ */
2915
+ export interface ShopPayCardState {
2916
+ provider: 'shop_pay';
2917
+
2918
+ /**
2919
+ * declined covers a request the shopper declined or that was cancelled. consumed
2920
+ * means the transaction outcome was reported with confirm_transaction; the card is
2921
+ * no longer stored and cannot be filled again, whatever the outcome.
2922
+ * recovery_required means a provider operation has an unresolved outcome and the
2923
+ * card cannot be used. When status_reason says the provider refused retrieval
2924
+ * before acceptance, no card was issued and a later read retries. Otherwise follow
2925
+ * status_reason: recovery for issuance can be abandoned by deleting the card and
2926
+ * creating a new one, and the shopper approves the new purchase separately.
2927
+ * Recovery while reporting a merchant transaction cannot be deleted and must be
2928
+ * reconciled with support.
2929
+ */
2930
+ status:
2931
+ | 'requested'
2932
+ | 'pending_authorization'
2933
+ | 'ready'
2934
+ | 'consumed'
2935
+ | 'expired'
2936
+ | 'declined'
2937
+ | 'recovery_required';
2938
+
2939
+ domains?: Array<string>;
2940
+
2941
+ masks?: ShopPayCardState.Masks;
2942
+
2943
+ status_reason?: string;
2944
+ }
2945
+
2946
+ export namespace ShopPayCardState {
2947
+ export interface Masks {
2948
+ brand?: string;
2949
+
2950
+ last4?: string;
2951
+
2952
+ /**
2953
+ * Last four digits of the network token presented to the merchant.
2954
+ */
2955
+ token_last4?: string;
2956
+
2957
+ [k: string]: string | undefined;
2958
+ }
2959
+ }
2960
+
2961
+ /**
2962
+ * Shop Pay purchase. amount is the limit the shopper approves; totals must include
2963
+ * exactly one positive total no higher than it. context is shown to the shopper
2964
+ * when they approve. Authorize it with the browser at final checkout: Kernel sends
2965
+ * that page to Shop as the merchant and the card fills only on its origin. Without
2966
+ * browser_id and page_url it authorizes for merchant_url. authorize returns an
2967
+ * approval action for the shopper, who approves the purchase in Shop; share its
2968
+ * URL unchanged when present. Report the merchant outcome with
2969
+ * confirm_transaction, which ends the card.
2970
+ */
2971
+ export interface ShopPayCardVaultItemSpec {
2972
+ /**
2973
+ * Approval limit in minor currency units, at most 1000000.
2974
+ */
2975
+ amount: number;
2976
+
2977
+ /**
2978
+ * What is being bought and why, written for the shopper.
2979
+ */
2980
+ context: string;
2981
+
2982
+ /**
2983
+ * Shop accepts USD spend requests only.
2984
+ */
2985
+ currency: string;
2986
+
2987
+ merchant_name: string;
2988
+
2989
+ /**
2990
+ * The merchant's https URL.
2991
+ */
2992
+ merchant_url: string;
2993
+
2994
+ provider: 'shop_pay';
2995
+
2996
+ totals: Array<ShopPayCardVaultItemSpec.Total>;
2997
+
2998
+ /**
2999
+ * Connected Shop Pay wallet item key.
3000
+ */
3001
+ wallet: string;
3002
+
3003
+ line_items?: Array<ShopPayCardVaultItemSpec.LineItem>;
3004
+
3005
+ /**
3006
+ * ISO 3166-1 alpha-2 country of the merchant.
3007
+ */
3008
+ merchant_country?: string;
3009
+
3010
+ /**
3011
+ * Card ID from the wallet's payment_methods expansion. Omit it to use the
3012
+ * shopper's preferred card.
3013
+ */
3014
+ payment_method_id?: string;
3015
+ }
3016
+
3017
+ export namespace ShopPayCardVaultItemSpec {
3018
+ export interface Total {
3019
+ /**
3020
+ * Amount in minor currency units; discounts are negative.
3021
+ */
3022
+ amount: number;
3023
+
3024
+ /**
3025
+ * For example subtotal, fulfillment, tax, discount or total.
3026
+ */
3027
+ type: string;
3028
+ }
3029
+
3030
+ export interface LineItem {
3031
+ name: string;
3032
+
3033
+ quantity: number;
3034
+
3035
+ /**
3036
+ * Unit price in minor currency units.
3037
+ */
3038
+ unit_amount: number;
3039
+ }
3040
+ }
3041
+
3042
+ export interface ShopPayWalletState {
3043
+ provider: 'shop_pay';
3044
+
3045
+ status: 'pending_authorization' | 'connected' | 'declined' | 'reconnect_required' | 'degraded';
3046
+
3047
+ status_reason?: string;
3048
+ }
3049
+
3050
+ /**
3051
+ * Shop Pay wallet connected through Kernel's Shop app. Creation returns a
3052
+ * shop_pay_oauth action: the shopper signs in to Shop and approves the connection,
3053
+ * and the wallet connects. The connected wallet's payment_methods expansion lists
3054
+ * the shopper's saved Shop Pay cards.
3055
+ */
3056
+ export interface ShopPayWalletVaultItemSpec {
3057
+ authorization: ShopPayWalletVaultItemSpec.Authorization;
3058
+
3059
+ provider: 'shop_pay';
3060
+ }
3061
+
3062
+ export namespace ShopPayWalletVaultItemSpec {
3063
+ export interface Authorization {
3064
+ client: Authorization.Client;
3065
+
3066
+ method: 'oauth';
3067
+ }
3068
+
3069
+ export namespace Authorization {
3070
+ export interface Client {
3071
+ type: 'kernel_managed';
3072
+ }
3073
+ }
3074
+ }
3075
+
2845
3076
  export interface VaultCardAliases {
2846
3077
  cvc: string;
2847
3078
 
@@ -2865,8 +3096,10 @@ export namespace VaultCardFillField {
2865
3096
  /**
2866
3097
  * Field in the decrypted card, not an alias. Number and CVC preserve leading
2867
3098
  * zeros; month uses two digits and year uses four digits. Billing fields use the
2868
- * provider's stored billing address (name, line1, line2, city, state, postal_code,
2869
- * country) without reformatting. Request only needed billing fields. An absent or
3099
+ * provider's stored billing address (name, first and last name, line1, line2,
3100
+ * city, state, postal_code, country) without reformatting. First and last name are
3101
+ * available only when the provider returns them separately, such as Shop Pay;
3102
+ * billing_name is never split. Request only needed billing fields. An absent or
2870
3103
  * empty requested billing field returns 400 field_unavailable before any browser
2871
3104
  * writes; it does not make other card fields unavailable.
2872
3105
  */
@@ -2876,6 +3109,8 @@ export namespace VaultCardFillField {
2876
3109
  | 'exp_year'
2877
3110
  | 'cvc'
2878
3111
  | 'billing_name'
3112
+ | 'billing_first_name'
3113
+ | 'billing_last_name'
2879
3114
  | 'billing_line1'
2880
3115
  | 'billing_line2'
2881
3116
  | 'billing_city'
@@ -3194,6 +3429,7 @@ export namespace VaultItem {
3194
3429
 
3195
3430
  export type VaultItemAction =
3196
3431
  | VaultItemAction.LinkOAuthAction
3432
+ | VaultItemAction.ShopPayOAuthAction
3197
3433
  | OnePasswordOAuthAction
3198
3434
  | VaultItemAction.SpendApprovalAction
3199
3435
  | VaultItemAction.PushApprovalAction
@@ -3209,6 +3445,15 @@ export namespace VaultItemAction {
3209
3445
  url: string;
3210
3446
  }
3211
3447
 
3448
+ export interface ShopPayOAuthAction {
3449
+ name: 'shop_pay_oauth';
3450
+
3451
+ /**
3452
+ * Shop sign-in page where the shopper connects their Shop account to Kernel.
3453
+ */
3454
+ url: string;
3455
+ }
3456
+
3212
3457
  export interface SpendApprovalAction {
3213
3458
  name: 'spend_approval';
3214
3459
 
@@ -3601,7 +3846,8 @@ export interface VaultWebmcpBinding {
3601
3846
  export type WalletVaultItemSpec =
3602
3847
  | WalletVaultItemSpec.LinkWalletVaultItemSpec
3603
3848
  | WalletVaultItemSpec.AgentCardWalletVaultItemSpec
3604
- | KernelWalletVaultItemSpec;
3849
+ | KernelWalletVaultItemSpec
3850
+ | ShopPayWalletVaultItemSpec;
3605
3851
 
3606
3852
  export namespace WalletVaultItemSpec {
3607
3853
  export interface LinkWalletVaultItemSpec {
@@ -3692,7 +3938,8 @@ export namespace WalletVaultItemSpec {
3692
3938
  export type WalletVaultItemState =
3693
3939
  | WalletVaultItemState.LinkWalletState
3694
3940
  | WalletVaultItemState.AgentCardWalletState
3695
- | KernelWalletState;
3941
+ | KernelWalletState
3942
+ | ShopPayWalletState;
3696
3943
 
3697
3944
  export namespace WalletVaultItemState {
3698
3945
  export interface LinkWalletState {
@@ -4025,6 +4272,26 @@ export declare namespace ItemPerformOperationParams {
4025
4272
  * Body param
4026
4273
  */
4027
4274
  type: 'confirm_transaction';
4275
+
4276
+ /**
4277
+ * Body param: Why the purchase did not succeed, for any other outcome, such as
4278
+ * 3ds_challenge, captcha, login_required, timeout or site_error. payment_declined
4279
+ * goes only with DECLINED, which takes no other code. Shop Pay reports it; other
4280
+ * providers ignore it.
4281
+ */
4282
+ failure_code?: string;
4283
+
4284
+ /**
4285
+ * Body param: The merchant's order number, for an APPROVED outcome. Shop Pay
4286
+ * reports it; other providers ignore it.
4287
+ */
4288
+ order_id?: string;
4289
+
4290
+ /**
4291
+ * Body param: The merchant's https order page, for an APPROVED outcome. Shop Pay
4292
+ * reports it; other providers ignore it.
4293
+ */
4294
+ order_url?: string;
4028
4295
  }
4029
4296
 
4030
4297
  export interface CollectVaultItemOperationRequest {
@@ -4402,7 +4669,8 @@ export declare namespace ItemUpsertParams {
4402
4669
  spec:
4403
4670
  | WalletVaultItemRequest.LinkWalletVaultItemRequestSpec
4404
4671
  | WalletVaultItemRequest.AgentCardWalletVaultItemSpec
4405
- | KernelWalletVaultItemSpec;
4672
+ | KernelWalletVaultItemSpec
4673
+ | ShopPayWalletVaultItemSpec;
4406
4674
 
4407
4675
  /**
4408
4676
  * Body param
@@ -4710,6 +4978,10 @@ export declare namespace Items {
4710
4978
  type RemovePaymentMethodVaultItemOperationRequest as RemovePaymentMethodVaultItemOperationRequest,
4711
4979
  type RemovePaymentMethodVaultItemOperationResult as RemovePaymentMethodVaultItemOperationResult,
4712
4980
  type RestartVerificationVaultItemOperationRequest as RestartVerificationVaultItemOperationRequest,
4981
+ type ShopPayCardState as ShopPayCardState,
4982
+ type ShopPayCardVaultItemSpec as ShopPayCardVaultItemSpec,
4983
+ type ShopPayWalletState as ShopPayWalletState,
4984
+ type ShopPayWalletVaultItemSpec as ShopPayWalletVaultItemSpec,
4713
4985
  type VaultCardAliases as VaultCardAliases,
4714
4986
  type VaultCardFillField as VaultCardFillField,
4715
4987
  type VaultCheckoutContext as VaultCheckoutContext,
@@ -75,6 +75,10 @@ import {
75
75
  RemovePaymentMethodVaultItemOperationRequest,
76
76
  RemovePaymentMethodVaultItemOperationResult,
77
77
  RestartVerificationVaultItemOperationRequest,
78
+ ShopPayCardState,
79
+ ShopPayCardVaultItemSpec,
80
+ ShopPayWalletState,
81
+ ShopPayWalletVaultItemSpec,
78
82
  VaultCardAliases,
79
83
  VaultCardFillField,
80
84
  VaultCheckoutContext,
@@ -343,6 +347,10 @@ export declare namespace Vaults {
343
347
  type RemovePaymentMethodVaultItemOperationRequest as RemovePaymentMethodVaultItemOperationRequest,
344
348
  type RemovePaymentMethodVaultItemOperationResult as RemovePaymentMethodVaultItemOperationResult,
345
349
  type RestartVerificationVaultItemOperationRequest as RestartVerificationVaultItemOperationRequest,
350
+ type ShopPayCardState as ShopPayCardState,
351
+ type ShopPayCardVaultItemSpec as ShopPayCardVaultItemSpec,
352
+ type ShopPayWalletState as ShopPayWalletState,
353
+ type ShopPayWalletVaultItemSpec as ShopPayWalletVaultItemSpec,
346
354
  type VaultCardAliases as VaultCardAliases,
347
355
  type VaultCardFillField as VaultCardFillField,
348
356
  type VaultCheckoutContext as VaultCheckoutContext,
package/src/version.ts CHANGED
@@ -1 +1 @@
1
- export const VERSION = '0.135.0'; // x-release-please-version
1
+ export const VERSION = '0.137.0'; // x-release-please-version
package/version.d.mts CHANGED
@@ -1,2 +1,2 @@
1
- export declare const VERSION = "0.135.0";
1
+ export declare const VERSION = "0.137.0";
2
2
  //# sourceMappingURL=version.d.mts.map
package/version.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- export declare const VERSION = "0.135.0";
1
+ export declare const VERSION = "0.137.0";
2
2
  //# sourceMappingURL=version.d.ts.map
package/version.js CHANGED
@@ -1,5 +1,5 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.VERSION = void 0;
4
- exports.VERSION = '0.135.0'; // x-release-please-version
4
+ exports.VERSION = '0.137.0'; // x-release-please-version
5
5
  //# sourceMappingURL=version.js.map
package/version.mjs CHANGED
@@ -1,2 +1,2 @@
1
- export const VERSION = '0.135.0'; // x-release-please-version
1
+ export const VERSION = '0.137.0'; // x-release-please-version
2
2
  //# sourceMappingURL=version.mjs.map