@onkernel/sdk 0.136.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.
- package/CHANGELOG.md +12 -0
- package/client.d.mts +2 -5
- package/client.d.mts.map +1 -1
- package/client.d.ts +2 -5
- package/client.d.ts.map +1 -1
- package/client.js +0 -3
- package/client.js.map +1 -1
- package/client.mjs +0 -3
- package/client.mjs.map +1 -1
- package/lib/browser-routing.d.mts.map +1 -1
- package/lib/browser-routing.d.ts.map +1 -1
- package/lib/browser-routing.js +2 -0
- package/lib/browser-routing.js.map +1 -1
- package/lib/browser-routing.mjs +2 -0
- package/lib/browser-routing.mjs.map +1 -1
- package/package.json +1 -1
- package/resources/browsers/browsers.d.mts +17 -1
- package/resources/browsers/browsers.d.mts.map +1 -1
- package/resources/browsers/browsers.d.ts +17 -1
- package/resources/browsers/browsers.d.ts.map +1 -1
- package/resources/browsers/browsers.js.map +1 -1
- package/resources/browsers/browsers.mjs.map +1 -1
- package/resources/browsers/index.d.mts +1 -1
- package/resources/browsers/index.d.mts.map +1 -1
- package/resources/browsers/index.d.ts +1 -1
- package/resources/browsers/index.d.ts.map +1 -1
- package/resources/browsers/index.js.map +1 -1
- package/resources/browsers/index.mjs.map +1 -1
- package/resources/browsers/telemetry.d.mts +4 -3
- package/resources/browsers/telemetry.d.mts.map +1 -1
- package/resources/browsers/telemetry.d.ts +4 -3
- package/resources/browsers/telemetry.d.ts.map +1 -1
- package/resources/index.d.mts +1 -1
- package/resources/index.d.mts.map +1 -1
- package/resources/index.d.ts +1 -1
- package/resources/index.d.ts.map +1 -1
- package/resources/index.js.map +1 -1
- package/resources/index.mjs.map +1 -1
- package/resources/projects/limits.d.mts +0 -2
- package/resources/projects/limits.d.mts.map +1 -1
- package/resources/projects/limits.d.ts +0 -2
- package/resources/projects/limits.d.ts.map +1 -1
- package/resources/projects/limits.js +0 -2
- package/resources/projects/limits.js.map +1 -1
- package/resources/projects/limits.mjs +0 -2
- package/resources/projects/limits.mjs.map +1 -1
- package/resources/projects/projects.d.mts +0 -2
- package/resources/projects/projects.d.mts.map +1 -1
- package/resources/projects/projects.d.ts +0 -2
- package/resources/projects/projects.d.ts.map +1 -1
- package/resources/projects/projects.js +0 -2
- package/resources/projects/projects.js.map +1 -1
- package/resources/projects/projects.mjs +0 -2
- package/resources/projects/projects.mjs.map +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 +203 -33
- package/resources/vaults/items.d.mts.map +1 -1
- package/resources/vaults/items.d.ts +203 -33
- package/resources/vaults/items.d.ts.map +1 -1
- package/resources/vaults/items.js +7 -7
- package/resources/vaults/items.mjs +7 -7
- 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/client.ts +2 -3
- package/src/lib/browser-routing.ts +2 -0
- package/src/resources/browsers/browsers.ts +19 -0
- package/src/resources/browsers/index.ts +1 -0
- package/src/resources/browsers/telemetry.ts +4 -2
- package/src/resources/index.ts +1 -0
- package/src/resources/projects/limits.ts +0 -2
- package/src/resources/projects/projects.ts +0 -2
- package/src/resources/vaults/index.ts +4 -0
- package/src/resources/vaults/items.ts +260 -30
- package/src/resources/vaults/vaults.ts +8 -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
|
@@ -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
|
|
95
|
-
* recovery_required for issuance, or an AgentCard card in
|
|
96
|
-
* checkout create response returned no authorization ID,
|
|
97
|
-
* abandoned by deleting that card directly; deleting its wallet
|
|
98
|
-
* blocked until the card is deleted. Deleting or recreating an
|
|
99
|
-
* that a payment did not occur. Deleting a managed auth
|
|
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
|
|
387
|
-
* only after explicit user approval and when the item
|
|
388
|
-
* the advertised operation's description. For a Link
|
|
389
|
-
* page_url together while the browser is on
|
|
390
|
-
*
|
|
391
|
-
* to that checkout's origin in any
|
|
392
|
-
*
|
|
393
|
-
*
|
|
394
|
-
*
|
|
395
|
-
*
|
|
396
|
-
*
|
|
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
|
|
740
|
-
*
|
|
741
|
-
*
|
|
742
|
-
*
|
|
743
|
-
*
|
|
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 {
|
|
@@ -2884,6 +2909,170 @@ export interface RestartVerificationVaultItemOperationRequest {
|
|
|
2884
2909
|
type: 'restart_verification';
|
|
2885
2910
|
}
|
|
2886
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
|
+
|
|
2887
3076
|
export interface VaultCardAliases {
|
|
2888
3077
|
cvc: string;
|
|
2889
3078
|
|
|
@@ -2907,8 +3096,10 @@ export namespace VaultCardFillField {
|
|
|
2907
3096
|
/**
|
|
2908
3097
|
* Field in the decrypted card, not an alias. Number and CVC preserve leading
|
|
2909
3098
|
* zeros; month uses two digits and year uses four digits. Billing fields use the
|
|
2910
|
-
* provider's stored billing address (name,
|
|
2911
|
-
* country) without reformatting.
|
|
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
|
|
2912
3103
|
* empty requested billing field returns 400 field_unavailable before any browser
|
|
2913
3104
|
* writes; it does not make other card fields unavailable.
|
|
2914
3105
|
*/
|
|
@@ -2918,6 +3109,8 @@ export namespace VaultCardFillField {
|
|
|
2918
3109
|
| 'exp_year'
|
|
2919
3110
|
| 'cvc'
|
|
2920
3111
|
| 'billing_name'
|
|
3112
|
+
| 'billing_first_name'
|
|
3113
|
+
| 'billing_last_name'
|
|
2921
3114
|
| 'billing_line1'
|
|
2922
3115
|
| 'billing_line2'
|
|
2923
3116
|
| 'billing_city'
|
|
@@ -3236,6 +3429,7 @@ export namespace VaultItem {
|
|
|
3236
3429
|
|
|
3237
3430
|
export type VaultItemAction =
|
|
3238
3431
|
| VaultItemAction.LinkOAuthAction
|
|
3432
|
+
| VaultItemAction.ShopPayOAuthAction
|
|
3239
3433
|
| OnePasswordOAuthAction
|
|
3240
3434
|
| VaultItemAction.SpendApprovalAction
|
|
3241
3435
|
| VaultItemAction.PushApprovalAction
|
|
@@ -3251,6 +3445,15 @@ export namespace VaultItemAction {
|
|
|
3251
3445
|
url: string;
|
|
3252
3446
|
}
|
|
3253
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
|
+
|
|
3254
3457
|
export interface SpendApprovalAction {
|
|
3255
3458
|
name: 'spend_approval';
|
|
3256
3459
|
|
|
@@ -3643,7 +3846,8 @@ export interface VaultWebmcpBinding {
|
|
|
3643
3846
|
export type WalletVaultItemSpec =
|
|
3644
3847
|
| WalletVaultItemSpec.LinkWalletVaultItemSpec
|
|
3645
3848
|
| WalletVaultItemSpec.AgentCardWalletVaultItemSpec
|
|
3646
|
-
| KernelWalletVaultItemSpec
|
|
3849
|
+
| KernelWalletVaultItemSpec
|
|
3850
|
+
| ShopPayWalletVaultItemSpec;
|
|
3647
3851
|
|
|
3648
3852
|
export namespace WalletVaultItemSpec {
|
|
3649
3853
|
export interface LinkWalletVaultItemSpec {
|
|
@@ -3734,7 +3938,8 @@ export namespace WalletVaultItemSpec {
|
|
|
3734
3938
|
export type WalletVaultItemState =
|
|
3735
3939
|
| WalletVaultItemState.LinkWalletState
|
|
3736
3940
|
| WalletVaultItemState.AgentCardWalletState
|
|
3737
|
-
| KernelWalletState
|
|
3941
|
+
| KernelWalletState
|
|
3942
|
+
| ShopPayWalletState;
|
|
3738
3943
|
|
|
3739
3944
|
export namespace WalletVaultItemState {
|
|
3740
3945
|
export interface LinkWalletState {
|
|
@@ -4067,6 +4272,26 @@ export declare namespace ItemPerformOperationParams {
|
|
|
4067
4272
|
* Body param
|
|
4068
4273
|
*/
|
|
4069
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;
|
|
4070
4295
|
}
|
|
4071
4296
|
|
|
4072
4297
|
export interface CollectVaultItemOperationRequest {
|
|
@@ -4444,7 +4669,8 @@ export declare namespace ItemUpsertParams {
|
|
|
4444
4669
|
spec:
|
|
4445
4670
|
| WalletVaultItemRequest.LinkWalletVaultItemRequestSpec
|
|
4446
4671
|
| WalletVaultItemRequest.AgentCardWalletVaultItemSpec
|
|
4447
|
-
| KernelWalletVaultItemSpec
|
|
4672
|
+
| KernelWalletVaultItemSpec
|
|
4673
|
+
| ShopPayWalletVaultItemSpec;
|
|
4448
4674
|
|
|
4449
4675
|
/**
|
|
4450
4676
|
* Body param
|
|
@@ -4752,6 +4978,10 @@ export declare namespace Items {
|
|
|
4752
4978
|
type RemovePaymentMethodVaultItemOperationRequest as RemovePaymentMethodVaultItemOperationRequest,
|
|
4753
4979
|
type RemovePaymentMethodVaultItemOperationResult as RemovePaymentMethodVaultItemOperationResult,
|
|
4754
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,
|
|
4755
4985
|
type VaultCardAliases as VaultCardAliases,
|
|
4756
4986
|
type VaultCardFillField as VaultCardFillField,
|
|
4757
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.
|
|
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.
|
|
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.
|
|
1
|
+
export declare const VERSION = "0.137.0";
|
|
2
2
|
//# sourceMappingURL=version.d.ts.map
|
package/version.js
CHANGED
package/version.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export const VERSION = '0.
|
|
1
|
+
export const VERSION = '0.137.0'; // x-release-please-version
|
|
2
2
|
//# sourceMappingURL=version.mjs.map
|