@cimplify/sdk 0.106.2 → 0.107.1
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/dist/advanced.d.mts +3 -3
- package/dist/advanced.d.ts +3 -3
- package/dist/advanced.js +22 -22
- package/dist/advanced.mjs +3 -3
- package/dist/{catalogue-CVKH9faR.d.mts → catalogue-AmW4XjaN.d.ts} +45 -38
- package/dist/{catalogue-ChBjPPME.d.ts → catalogue-rWd71Xi-.d.mts} +45 -38
- package/dist/{chunk-AVXA4F6G.js → chunk-ANT574FD.js} +29 -0
- package/dist/{chunk-BCLGREHS.js → chunk-CEML2737.js} +245 -219
- package/dist/{chunk-NYDVVNZI.mjs → chunk-JRGK3NXR.mjs} +1 -1
- package/dist/{chunk-NJYR6GGM.mjs → chunk-KG3WT4PR.mjs} +29 -1
- package/dist/{chunk-4VTFTLH7.mjs → chunk-NZMU7UUA.mjs} +3 -3
- package/dist/{chunk-B7JH5D3J.js → chunk-ONII7K3T.js} +262 -303
- package/dist/{chunk-T3MXI7JD.mjs → chunk-OTPLI3JY.mjs} +87 -128
- package/dist/{chunk-LJAZ7H4I.mjs → chunk-T4OU77DM.mjs} +108 -83
- package/dist/{chunk-7O2BBPDM.js → chunk-THSYGWUA.js} +70 -70
- package/dist/{chunk-NJK3THWT.js → chunk-UVRPC2P7.js} +90 -62
- package/dist/{chunk-UYFTOIFW.js → chunk-V32BCG7M.js} +6 -6
- package/dist/{chunk-L4XKIMUO.mjs → chunk-XBL3TMPC.mjs} +31 -3
- package/dist/{client-BfKFK7cn.d.mts → client-DlTJ2hUM.d.mts} +2 -2
- package/dist/{client-DoczTJbs.d.ts → client-ni-CfOSO.d.ts} +2 -2
- package/dist/{checkout-XoV4HNg2.d.mts → elements-BF1Y4aOi.d.mts} +575 -502
- package/dist/{checkout-XoV4HNg2.d.ts → elements-BF1Y4aOi.d.ts} +575 -502
- package/dist/{index-DweR60Cv.d.ts → index-CZ0bJm6k.d.ts} +2 -2
- package/dist/{index-DRMBo26v.d.mts → index-DML_W635.d.mts} +2 -2
- package/dist/{index-Dn6xCpDe.d.ts → index-DU7vffby.d.ts} +2 -2
- package/dist/{index-DEUorPUO.d.mts → index-DopYJKDL.d.mts} +2 -2
- package/dist/index.d.mts +7 -7
- package/dist/index.d.ts +7 -7
- package/dist/index.js +159 -151
- package/dist/index.mjs +5 -5
- package/dist/mock/cli.mjs +33 -2
- package/dist/mock/library.js +33 -2
- package/dist/mock/library.mjs +33 -2
- package/dist/mock/msw.js +33 -2
- package/dist/mock/msw.mjs +33 -2
- package/dist/{price-De-sxcuj.d.ts → price-B5t2mpsE.d.ts} +1 -1
- package/dist/{price-CUGIYRtD.d.mts → price-DI_U5oXU.d.mts} +1 -1
- package/dist/react.d.mts +3 -3
- package/dist/react.d.ts +3 -3
- package/dist/react.js +154 -154
- package/dist/react.mjs +7 -7
- package/dist/{server-7soMMUgP.d.ts → server-BItJAUTD.d.ts} +1 -1
- package/dist/{server-DDEJ7e9s.d.mts → server-Dq70vD7z.d.mts} +1 -1
- package/dist/server.d.mts +3 -3
- package/dist/server.d.ts +3 -3
- package/dist/server.js +10 -10
- package/dist/server.mjs +4 -4
- package/dist/testing/msw.d.mts +2 -2
- package/dist/testing/msw.d.ts +2 -2
- package/dist/testing/msw.js +3 -3
- package/dist/testing/msw.mjs +2 -2
- package/dist/testing/suite.d.mts +5 -5
- package/dist/testing/suite.d.ts +5 -5
- package/dist/testing/suite.js +26 -26
- package/dist/testing/suite.mjs +6 -6
- package/dist/testing.d.mts +4 -4
- package/dist/testing.d.ts +4 -4
- package/dist/testing.js +118 -118
- package/dist/testing.mjs +7 -7
- package/dist/utils.d.mts +3 -3
- package/dist/utils.d.ts +3 -3
- package/dist/utils.js +32 -32
- package/dist/utils.mjs +2 -2
- package/package.json +1 -1
|
@@ -522,6 +522,8 @@ interface components {
|
|
|
522
522
|
AutocompletePrediction: {
|
|
523
523
|
description: string;
|
|
524
524
|
place_id: string;
|
|
525
|
+
/** @description The provider's primary label (a venue or street name) when it splits one out. */
|
|
526
|
+
name?: string | null;
|
|
525
527
|
};
|
|
526
528
|
AutocompleteResult: {
|
|
527
529
|
predictions: components["schemas"]["AutocompletePrediction"][];
|
|
@@ -1737,16 +1739,27 @@ interface components {
|
|
|
1737
1739
|
};
|
|
1738
1740
|
ClaimConversationResponse: {
|
|
1739
1741
|
session_token: string;
|
|
1742
|
+
customer: components["schemas"]["ClaimedCustomer"];
|
|
1743
|
+
cart?: null | components["schemas"]["UICart"];
|
|
1740
1744
|
thread: components["schemas"]["ChatThreadProjection"];
|
|
1741
1745
|
customer_name: string;
|
|
1742
|
-
/** @description One PII-minimal result per launch-claimable WhatsApp envelope. */
|
|
1743
1746
|
external_claims: components["schemas"]["ClaimedExternalChat"][];
|
|
1744
|
-
/**
|
|
1745
|
-
* @description True only when candidate discovery itself was unavailable. Individual
|
|
1746
|
-
* envelope failures are represented in `external_claims` instead.
|
|
1747
|
-
*/
|
|
1748
1747
|
external_claims_unavailable: boolean;
|
|
1749
1748
|
};
|
|
1749
|
+
ClaimSessionBody: {
|
|
1750
|
+
access_token: string;
|
|
1751
|
+
};
|
|
1752
|
+
ClaimSessionResponse: {
|
|
1753
|
+
session_token: string;
|
|
1754
|
+
customer: components["schemas"]["ClaimedCustomer"];
|
|
1755
|
+
cart?: null | components["schemas"]["UICart"];
|
|
1756
|
+
};
|
|
1757
|
+
ClaimedCustomer: {
|
|
1758
|
+
id: string;
|
|
1759
|
+
name: string;
|
|
1760
|
+
email?: string | null;
|
|
1761
|
+
phone?: string | null;
|
|
1762
|
+
};
|
|
1750
1763
|
ClaimedExternalChat: {
|
|
1751
1764
|
status: components["schemas"]["ExternalClaimDisposition"];
|
|
1752
1765
|
thread_id?: string | null;
|
|
@@ -2166,6 +2179,7 @@ interface components {
|
|
|
2166
2179
|
status: "offer_ended";
|
|
2167
2180
|
} | {
|
|
2168
2181
|
intent_id: string;
|
|
2182
|
+
reason: components["schemas"]["SourceRefusal"];
|
|
2169
2183
|
/** @enum {string} */
|
|
2170
2184
|
status: "source_unavailable";
|
|
2171
2185
|
};
|
|
@@ -2563,7 +2577,34 @@ interface components {
|
|
|
2563
2577
|
applied_discount_ids: string[];
|
|
2564
2578
|
applied_discount_codes: string[];
|
|
2565
2579
|
discount_details: components["schemas"]["DiscountDetails"];
|
|
2580
|
+
discount_notices?: components["schemas"]["DiscountNotice"][];
|
|
2566
2581
|
};
|
|
2582
|
+
DiscountNotice: {
|
|
2583
|
+
discount_id: string;
|
|
2584
|
+
discount_code?: string | null;
|
|
2585
|
+
reason: components["schemas"]["DiscountSkipReason"];
|
|
2586
|
+
};
|
|
2587
|
+
DiscountSkipReason: "not_found" | "other_business" | "code_mismatch" | "code_evidence_missing" | "disabled" | "inactive" | "not_started" | "expired" | "location_excluded" | {
|
|
2588
|
+
below_minimum_order: {
|
|
2589
|
+
minimum: string;
|
|
2590
|
+
};
|
|
2591
|
+
} | "requires_customer" | "group_excluded" | {
|
|
2592
|
+
insufficient_loyalty_points: {
|
|
2593
|
+
period: components["schemas"]["LoyaltyPointsPeriod"];
|
|
2594
|
+
required: string;
|
|
2595
|
+
};
|
|
2596
|
+
} | "redemption_limit_reached" | "total_discount_cap_reached" | {
|
|
2597
|
+
customer_limit_reached: {
|
|
2598
|
+
/** Format: int64 */
|
|
2599
|
+
used: number;
|
|
2600
|
+
/** Format: int64 */
|
|
2601
|
+
max: number;
|
|
2602
|
+
};
|
|
2603
|
+
} | "no_targeted_items" | "zero_amount" | {
|
|
2604
|
+
not_stackable: {
|
|
2605
|
+
blocked_by: string;
|
|
2606
|
+
};
|
|
2607
|
+
} | "manual_discount_not_permitted" | "sale_no_longer_applies";
|
|
2567
2608
|
DiscountValidationView: {
|
|
2568
2609
|
is_eligible: boolean;
|
|
2569
2610
|
discount_amount?: string | null;
|
|
@@ -2648,6 +2689,16 @@ interface components {
|
|
|
2648
2689
|
origin: components["schemas"]["Origin"];
|
|
2649
2690
|
status: components["schemas"]["OrderStatus"];
|
|
2650
2691
|
lifecycle_phase: components["schemas"]["LifecyclePhase"];
|
|
2692
|
+
/**
|
|
2693
|
+
* Format: int32
|
|
2694
|
+
* @description Optimistic-concurrency version; amendment preview/apply fence on it exactly.
|
|
2695
|
+
*/
|
|
2696
|
+
version: number;
|
|
2697
|
+
/**
|
|
2698
|
+
* Format: int64
|
|
2699
|
+
* @description Commercial (money) revision; amendment preview/apply fence on it exactly.
|
|
2700
|
+
*/
|
|
2701
|
+
commercial_revision: number;
|
|
2651
2702
|
/**
|
|
2652
2703
|
* @description Forward status transitions the backend accepts from `status`.
|
|
2653
2704
|
* Cancellation is not a transition; see `available_dispositions`.
|
|
@@ -3131,6 +3182,8 @@ interface components {
|
|
|
3131
3182
|
message: string;
|
|
3132
3183
|
action: string;
|
|
3133
3184
|
};
|
|
3185
|
+
/** @enum {string} */
|
|
3186
|
+
LoyaltyPointsPeriod: "lifetime" | "week" | "month" | "year";
|
|
3134
3187
|
/** @description Marketing communication rules */
|
|
3135
3188
|
MarketingRules: {
|
|
3136
3189
|
/** @description Whether marketing communications are allowed */
|
|
@@ -3780,6 +3833,7 @@ interface components {
|
|
|
3780
3833
|
/** @enum {string} */
|
|
3781
3834
|
PersonaType: "account" | "business" | "service";
|
|
3782
3835
|
PlaceDetails: {
|
|
3836
|
+
name?: string | null;
|
|
3783
3837
|
formatted_address: string;
|
|
3784
3838
|
street_address?: string | null;
|
|
3785
3839
|
apartment?: string | null;
|
|
@@ -5267,6 +5321,8 @@ interface components {
|
|
|
5267
5321
|
*/
|
|
5268
5322
|
can_moderate: boolean;
|
|
5269
5323
|
};
|
|
5324
|
+
/** @enum {string} */
|
|
5325
|
+
SourceRefusal: "invalid_identifier" | "cart_not_active" | "cart_converted" | "cart_expired" | "cart_currency_missing" | "cart_changed" | "seller_mismatch" | "buyer_mismatch" | "attribution_mismatch" | "evidence_mismatch" | "lines_mismatch" | "line_shape_invalid" | "source_not_found" | "source_kind_mismatch" | "surface_mismatch" | "product_selection_missing" | "social_handoff_invalid" | "staff_authority_missing" | "terms_missing" | "terms_window_elapsed" | "commercial_authority_stale" | "missing_location" | "missing_seller_origin" | "delivery_country_missing" | "voucher_scope_mismatch" | "transaction_mismatch";
|
|
5270
5326
|
StaffInfo: {
|
|
5271
5327
|
staff_id: string;
|
|
5272
5328
|
name: string;
|
|
@@ -7345,128 +7401,6 @@ interface CartSummary {
|
|
|
7345
7401
|
currency: CurrencyCode;
|
|
7346
7402
|
}
|
|
7347
7403
|
|
|
7348
|
-
type PaymentStatus = "initialized" | "pending" | "processing" | "authorized" | "captured" | "not_required" | "failed" | "cancelled" | "refunded" | "unknown" | "voided" | "requires_action" | "abandoned" | "reversed" | "disputed" | "refund_pending";
|
|
7349
|
-
type PaymentProvider = "stripe" | "paystack" | "cellulant" | "mtn_momo" | "offline" | "mtn" | "vodafone" | "airtel" | "cash" | "manual";
|
|
7350
|
-
type PaymentMethodType = "card" | "bank_transfer" | "cash" | {
|
|
7351
|
-
mobile_money: {
|
|
7352
|
-
provider: string;
|
|
7353
|
-
phone_number: string;
|
|
7354
|
-
};
|
|
7355
|
-
} | {
|
|
7356
|
-
ussd: {
|
|
7357
|
-
provider: string;
|
|
7358
|
-
};
|
|
7359
|
-
} | {
|
|
7360
|
-
bank: {
|
|
7361
|
-
bank_code: string;
|
|
7362
|
-
account_number: string;
|
|
7363
|
-
account_name?: string;
|
|
7364
|
-
bank_name?: string;
|
|
7365
|
-
};
|
|
7366
|
-
} | {
|
|
7367
|
-
qr: {
|
|
7368
|
-
provider: string;
|
|
7369
|
-
};
|
|
7370
|
-
} | {
|
|
7371
|
-
wallet: {
|
|
7372
|
-
provider: string;
|
|
7373
|
-
};
|
|
7374
|
-
} | {
|
|
7375
|
-
crypto: {
|
|
7376
|
-
currency: string;
|
|
7377
|
-
};
|
|
7378
|
-
} | {
|
|
7379
|
-
custom: string;
|
|
7380
|
-
};
|
|
7381
|
-
interface AddressAuthorizationData {
|
|
7382
|
-
address: string;
|
|
7383
|
-
city: string;
|
|
7384
|
-
state: string;
|
|
7385
|
-
zip_code: string;
|
|
7386
|
-
}
|
|
7387
|
-
type PaymentAuthorizationKind = "otp" | "pin" | "phone" | "birthday" | "address";
|
|
7388
|
-
type AuthorizationType = Exclude<PaymentAuthorizationKind, "address"> | {
|
|
7389
|
-
address: AddressAuthorizationData;
|
|
7390
|
-
};
|
|
7391
|
-
/** Customer input for one provider-requested authorization challenge. */
|
|
7392
|
-
type PaymentAuthorizationSubmission = {
|
|
7393
|
-
type: Exclude<PaymentAuthorizationKind, "address">;
|
|
7394
|
-
value: string;
|
|
7395
|
-
} | ({
|
|
7396
|
-
type: "address";
|
|
7397
|
-
} & AddressAuthorizationData);
|
|
7398
|
-
type PaymentProcessingState = "initial" | "preparing" | "processing" | "verifying" | "awaiting_authorization" | "success" | "error" | "timeout";
|
|
7399
|
-
interface PaymentMethod {
|
|
7400
|
-
type: PaymentMethodType;
|
|
7401
|
-
provider?: string;
|
|
7402
|
-
phone_number?: string;
|
|
7403
|
-
card_last_four?: string;
|
|
7404
|
-
custom_value?: string;
|
|
7405
|
-
}
|
|
7406
|
-
interface Payment {
|
|
7407
|
-
id: string;
|
|
7408
|
-
order_id: string;
|
|
7409
|
-
business_id: string;
|
|
7410
|
-
amount: Money;
|
|
7411
|
-
currency: CurrencyCode;
|
|
7412
|
-
payment_method: PaymentMethod;
|
|
7413
|
-
status: PaymentStatus;
|
|
7414
|
-
provider: PaymentProvider;
|
|
7415
|
-
provider_reference?: string;
|
|
7416
|
-
failure_reason?: string;
|
|
7417
|
-
created_at: string;
|
|
7418
|
-
updated_at: string;
|
|
7419
|
-
}
|
|
7420
|
-
interface InitializePaymentResult {
|
|
7421
|
-
payment_id: string;
|
|
7422
|
-
status: PaymentStatus;
|
|
7423
|
-
redirect_url?: string;
|
|
7424
|
-
authorization_url?: string;
|
|
7425
|
-
reference: string;
|
|
7426
|
-
provider: PaymentProvider;
|
|
7427
|
-
}
|
|
7428
|
-
interface PaymentResponse {
|
|
7429
|
-
method: string;
|
|
7430
|
-
provider: string;
|
|
7431
|
-
requires_action: boolean;
|
|
7432
|
-
public_key?: string;
|
|
7433
|
-
client_secret?: string;
|
|
7434
|
-
access_code?: string;
|
|
7435
|
-
redirect_url?: string;
|
|
7436
|
-
transaction_id?: string;
|
|
7437
|
-
order_id?: string;
|
|
7438
|
-
reference?: string;
|
|
7439
|
-
metadata?: Record<string, unknown>;
|
|
7440
|
-
instructions?: string;
|
|
7441
|
-
display_text?: string;
|
|
7442
|
-
requires_authorization?: boolean;
|
|
7443
|
-
authorization_type?: AuthorizationType;
|
|
7444
|
-
provider_payment_id?: string;
|
|
7445
|
-
}
|
|
7446
|
-
interface PaymentStatusResponse {
|
|
7447
|
-
status: PaymentStatus;
|
|
7448
|
-
paid: boolean;
|
|
7449
|
-
amount: Money;
|
|
7450
|
-
currency: string;
|
|
7451
|
-
reference?: string;
|
|
7452
|
-
message: string;
|
|
7453
|
-
}
|
|
7454
|
-
interface PaymentErrorDetails {
|
|
7455
|
-
code: string;
|
|
7456
|
-
message: string;
|
|
7457
|
-
recoverable: boolean;
|
|
7458
|
-
technical?: string;
|
|
7459
|
-
}
|
|
7460
|
-
interface SubmitAuthorizationInput {
|
|
7461
|
-
/**
|
|
7462
|
-
* Opaque payment id returned by this CheckoutService instance's `process()`
|
|
7463
|
-
* action response. The deprecated adapter resolves it only to the matching
|
|
7464
|
-
* in-memory purchase-intent + attempt authority.
|
|
7465
|
-
*/
|
|
7466
|
-
payment_id: string;
|
|
7467
|
-
authorization: PaymentAuthorizationSubmission;
|
|
7468
|
-
}
|
|
7469
|
-
|
|
7470
7404
|
declare const CHECKOUT_MODE: {
|
|
7471
7405
|
readonly LINK: "link";
|
|
7472
7406
|
readonly GUEST: "guest";
|
|
@@ -7798,67 +7732,189 @@ interface AuthResponse {
|
|
|
7798
7732
|
message: string;
|
|
7799
7733
|
}
|
|
7800
7734
|
|
|
7801
|
-
|
|
7802
|
-
|
|
7803
|
-
|
|
7804
|
-
|
|
7805
|
-
|
|
7806
|
-
|
|
7807
|
-
|
|
7808
|
-
readonly CHAT: "chat";
|
|
7809
|
-
readonly MANUAL: "manual";
|
|
7810
|
-
};
|
|
7811
|
-
/** The durable commerce object a shopper is agreeing to buy. */
|
|
7812
|
-
type PurchaseIntentSourceInput = {
|
|
7813
|
-
kind: typeof PURCHASE_INTENT_SOURCE_KIND.PRODUCT;
|
|
7814
|
-
product_id: string;
|
|
7735
|
+
type PaymentStatus = "initialized" | "pending" | "processing" | "authorized" | "captured" | "not_required" | "failed" | "cancelled" | "refunded" | "unknown" | "voided" | "requires_action" | "abandoned" | "reversed" | "disputed" | "refund_pending";
|
|
7736
|
+
type PaymentProvider = "stripe" | "paystack" | "cellulant" | "mtn_momo" | "offline" | "mtn" | "vodafone" | "airtel" | "cash" | "manual";
|
|
7737
|
+
type PaymentMethodType = "card" | "bank_transfer" | "cash" | {
|
|
7738
|
+
mobile_money: {
|
|
7739
|
+
provider: string;
|
|
7740
|
+
phone_number: string;
|
|
7741
|
+
};
|
|
7815
7742
|
} | {
|
|
7816
|
-
|
|
7817
|
-
|
|
7743
|
+
ussd: {
|
|
7744
|
+
provider: string;
|
|
7745
|
+
};
|
|
7818
7746
|
} | {
|
|
7819
|
-
|
|
7820
|
-
|
|
7747
|
+
bank: {
|
|
7748
|
+
bank_code: string;
|
|
7749
|
+
account_number: string;
|
|
7750
|
+
account_name?: string;
|
|
7751
|
+
bank_name?: string;
|
|
7752
|
+
};
|
|
7821
7753
|
} | {
|
|
7822
|
-
|
|
7823
|
-
|
|
7754
|
+
qr: {
|
|
7755
|
+
provider: string;
|
|
7756
|
+
};
|
|
7824
7757
|
} | {
|
|
7825
|
-
|
|
7826
|
-
|
|
7827
|
-
|
|
7758
|
+
wallet: {
|
|
7759
|
+
provider: string;
|
|
7760
|
+
};
|
|
7828
7761
|
} | {
|
|
7829
|
-
|
|
7830
|
-
|
|
7762
|
+
crypto: {
|
|
7763
|
+
currency: string;
|
|
7764
|
+
};
|
|
7831
7765
|
} | {
|
|
7832
|
-
|
|
7833
|
-
thread_id: string;
|
|
7766
|
+
custom: string;
|
|
7834
7767
|
};
|
|
7835
|
-
|
|
7836
|
-
|
|
7837
|
-
|
|
7838
|
-
|
|
7839
|
-
|
|
7768
|
+
interface AddressAuthorizationData {
|
|
7769
|
+
address: string;
|
|
7770
|
+
city: string;
|
|
7771
|
+
state: string;
|
|
7772
|
+
zip_code: string;
|
|
7773
|
+
}
|
|
7774
|
+
type PaymentAuthorizationKind = "otp" | "pin" | "phone" | "birthday" | "address";
|
|
7775
|
+
type AuthorizationType = Exclude<PaymentAuthorizationKind, "address"> | {
|
|
7776
|
+
address: AddressAuthorizationData;
|
|
7840
7777
|
};
|
|
7841
|
-
/**
|
|
7842
|
-
type
|
|
7843
|
-
|
|
7844
|
-
|
|
7845
|
-
} | {
|
|
7846
|
-
|
|
7778
|
+
/** Customer input for one provider-requested authorization challenge. */
|
|
7779
|
+
type PaymentAuthorizationSubmission = {
|
|
7780
|
+
type: Exclude<PaymentAuthorizationKind, "address">;
|
|
7781
|
+
value: string;
|
|
7782
|
+
} | ({
|
|
7783
|
+
type: "address";
|
|
7784
|
+
} & AddressAuthorizationData);
|
|
7785
|
+
type PaymentProcessingState = "initial" | "preparing" | "processing" | "verifying" | "awaiting_authorization" | "success" | "error" | "timeout";
|
|
7786
|
+
interface PaymentMethod {
|
|
7787
|
+
type: PaymentMethodType;
|
|
7788
|
+
provider?: string;
|
|
7789
|
+
phone_number?: string;
|
|
7790
|
+
card_last_four?: string;
|
|
7791
|
+
custom_value?: string;
|
|
7792
|
+
}
|
|
7793
|
+
interface Payment {
|
|
7794
|
+
id: string;
|
|
7795
|
+
order_id: string;
|
|
7847
7796
|
business_id: string;
|
|
7848
|
-
|
|
7849
|
-
|
|
7850
|
-
|
|
7851
|
-
|
|
7852
|
-
|
|
7853
|
-
|
|
7854
|
-
|
|
7855
|
-
|
|
7856
|
-
|
|
7857
|
-
|
|
7858
|
-
|
|
7859
|
-
|
|
7860
|
-
|
|
7861
|
-
|
|
7797
|
+
amount: Money;
|
|
7798
|
+
currency: CurrencyCode;
|
|
7799
|
+
payment_method: PaymentMethod;
|
|
7800
|
+
status: PaymentStatus;
|
|
7801
|
+
provider: PaymentProvider;
|
|
7802
|
+
provider_reference?: string;
|
|
7803
|
+
failure_reason?: string;
|
|
7804
|
+
created_at: string;
|
|
7805
|
+
updated_at: string;
|
|
7806
|
+
}
|
|
7807
|
+
interface InitializePaymentResult {
|
|
7808
|
+
payment_id: string;
|
|
7809
|
+
status: PaymentStatus;
|
|
7810
|
+
redirect_url?: string;
|
|
7811
|
+
authorization_url?: string;
|
|
7812
|
+
reference: string;
|
|
7813
|
+
provider: PaymentProvider;
|
|
7814
|
+
}
|
|
7815
|
+
interface PaymentResponse {
|
|
7816
|
+
method: string;
|
|
7817
|
+
provider: string;
|
|
7818
|
+
requires_action: boolean;
|
|
7819
|
+
public_key?: string;
|
|
7820
|
+
client_secret?: string;
|
|
7821
|
+
access_code?: string;
|
|
7822
|
+
redirect_url?: string;
|
|
7823
|
+
transaction_id?: string;
|
|
7824
|
+
order_id?: string;
|
|
7825
|
+
reference?: string;
|
|
7826
|
+
metadata?: Record<string, unknown>;
|
|
7827
|
+
instructions?: string;
|
|
7828
|
+
display_text?: string;
|
|
7829
|
+
requires_authorization?: boolean;
|
|
7830
|
+
authorization_type?: AuthorizationType;
|
|
7831
|
+
provider_payment_id?: string;
|
|
7832
|
+
}
|
|
7833
|
+
interface PaymentStatusResponse {
|
|
7834
|
+
status: PaymentStatus;
|
|
7835
|
+
paid: boolean;
|
|
7836
|
+
amount: Money;
|
|
7837
|
+
currency: string;
|
|
7838
|
+
reference?: string;
|
|
7839
|
+
message: string;
|
|
7840
|
+
}
|
|
7841
|
+
interface PaymentErrorDetails {
|
|
7842
|
+
code: string;
|
|
7843
|
+
message: string;
|
|
7844
|
+
recoverable: boolean;
|
|
7845
|
+
technical?: string;
|
|
7846
|
+
}
|
|
7847
|
+
interface SubmitAuthorizationInput {
|
|
7848
|
+
/**
|
|
7849
|
+
* Opaque payment id returned by this CheckoutService instance's `process()`
|
|
7850
|
+
* action response. The deprecated adapter resolves it only to the matching
|
|
7851
|
+
* in-memory purchase-intent + attempt authority.
|
|
7852
|
+
*/
|
|
7853
|
+
payment_id: string;
|
|
7854
|
+
authorization: PaymentAuthorizationSubmission;
|
|
7855
|
+
}
|
|
7856
|
+
|
|
7857
|
+
declare const PURCHASE_INTENT_SOURCE_KIND: {
|
|
7858
|
+
readonly PRODUCT: "product";
|
|
7859
|
+
readonly COLLECTION: "collection";
|
|
7860
|
+
readonly SALE: "sale";
|
|
7861
|
+
readonly POST: "post";
|
|
7862
|
+
readonly LIVE: "live";
|
|
7863
|
+
readonly CART: "cart";
|
|
7864
|
+
readonly CHAT: "chat";
|
|
7865
|
+
readonly MANUAL: "manual";
|
|
7866
|
+
};
|
|
7867
|
+
/** The durable commerce object a shopper is agreeing to buy. */
|
|
7868
|
+
type PurchaseIntentSourceInput = {
|
|
7869
|
+
kind: typeof PURCHASE_INTENT_SOURCE_KIND.PRODUCT;
|
|
7870
|
+
product_id: string;
|
|
7871
|
+
} | {
|
|
7872
|
+
kind: typeof PURCHASE_INTENT_SOURCE_KIND.COLLECTION;
|
|
7873
|
+
collection_id: string;
|
|
7874
|
+
} | {
|
|
7875
|
+
kind: typeof PURCHASE_INTENT_SOURCE_KIND.SALE;
|
|
7876
|
+
sale_id: string;
|
|
7877
|
+
} | {
|
|
7878
|
+
kind: typeof PURCHASE_INTENT_SOURCE_KIND.POST;
|
|
7879
|
+
signed_handoff: string;
|
|
7880
|
+
} | {
|
|
7881
|
+
kind: typeof PURCHASE_INTENT_SOURCE_KIND.LIVE;
|
|
7882
|
+
signed_handoff: string;
|
|
7883
|
+
signed_beat_identity: string;
|
|
7884
|
+
} | {
|
|
7885
|
+
kind: typeof PURCHASE_INTENT_SOURCE_KIND.CART;
|
|
7886
|
+
cart_id: string;
|
|
7887
|
+
} | {
|
|
7888
|
+
kind: typeof PURCHASE_INTENT_SOURCE_KIND.CHAT;
|
|
7889
|
+
thread_id: string;
|
|
7890
|
+
};
|
|
7891
|
+
declare const PURCHASING_PRINCIPAL_KIND: {
|
|
7892
|
+
readonly ACCOUNT: "account";
|
|
7893
|
+
readonly BUSINESS: "business";
|
|
7894
|
+
readonly GUEST: "guest";
|
|
7895
|
+
readonly RECOGNISED: "recognised";
|
|
7896
|
+
};
|
|
7897
|
+
/** Public buyer classification. Contact, customer, and session authority stay server-side. */
|
|
7898
|
+
type PurchasingPrincipal = {
|
|
7899
|
+
kind: typeof PURCHASING_PRINCIPAL_KIND.ACCOUNT;
|
|
7900
|
+
account_id: string;
|
|
7901
|
+
} | {
|
|
7902
|
+
kind: typeof PURCHASING_PRINCIPAL_KIND.BUSINESS;
|
|
7903
|
+
business_id: string;
|
|
7904
|
+
} | {
|
|
7905
|
+
kind: typeof PURCHASING_PRINCIPAL_KIND.GUEST;
|
|
7906
|
+
} | {
|
|
7907
|
+
kind: typeof PURCHASING_PRINCIPAL_KIND.RECOGNISED;
|
|
7908
|
+
verified: boolean;
|
|
7909
|
+
};
|
|
7910
|
+
type CheckoutSourceKind = (typeof PURCHASE_INTENT_SOURCE_KIND)[keyof typeof PURCHASE_INTENT_SOURCE_KIND];
|
|
7911
|
+
declare const PURCHASE_INTENT_STATUS: {
|
|
7912
|
+
readonly DRAFT: "draft";
|
|
7913
|
+
readonly OPEN: "open";
|
|
7914
|
+
readonly CONVERTED: "converted";
|
|
7915
|
+
readonly CANCELLED: "cancelled";
|
|
7916
|
+
readonly EXPIRED: "expired";
|
|
7917
|
+
};
|
|
7862
7918
|
type PurchaseIntentStatus = (typeof PURCHASE_INTENT_STATUS)[keyof typeof PURCHASE_INTENT_STATUS];
|
|
7863
7919
|
declare const PURCHASE_INTENT_SELLABLE_KIND: {
|
|
7864
7920
|
readonly PRODUCT: "product";
|
|
@@ -8354,6 +8410,35 @@ declare const PURCHASE_INTENT_ERROR_CODE: {
|
|
|
8354
8410
|
readonly OFFER_ENDED: "OFFER_ENDED";
|
|
8355
8411
|
readonly SOURCE_UNAVAILABLE: "SOURCE_UNAVAILABLE";
|
|
8356
8412
|
};
|
|
8413
|
+
declare const SOURCE_REFUSAL: {
|
|
8414
|
+
readonly INVALID_IDENTIFIER: "invalid_identifier";
|
|
8415
|
+
readonly CART_NOT_ACTIVE: "cart_not_active";
|
|
8416
|
+
readonly CART_CONVERTED: "cart_converted";
|
|
8417
|
+
readonly CART_EXPIRED: "cart_expired";
|
|
8418
|
+
readonly CART_CURRENCY_MISSING: "cart_currency_missing";
|
|
8419
|
+
readonly CART_CHANGED: "cart_changed";
|
|
8420
|
+
readonly SELLER_MISMATCH: "seller_mismatch";
|
|
8421
|
+
readonly BUYER_MISMATCH: "buyer_mismatch";
|
|
8422
|
+
readonly ATTRIBUTION_MISMATCH: "attribution_mismatch";
|
|
8423
|
+
readonly EVIDENCE_MISMATCH: "evidence_mismatch";
|
|
8424
|
+
readonly LINES_MISMATCH: "lines_mismatch";
|
|
8425
|
+
readonly LINE_SHAPE_INVALID: "line_shape_invalid";
|
|
8426
|
+
readonly SOURCE_NOT_FOUND: "source_not_found";
|
|
8427
|
+
readonly SOURCE_KIND_MISMATCH: "source_kind_mismatch";
|
|
8428
|
+
readonly SURFACE_MISMATCH: "surface_mismatch";
|
|
8429
|
+
readonly PRODUCT_SELECTION_MISSING: "product_selection_missing";
|
|
8430
|
+
readonly SOCIAL_HANDOFF_INVALID: "social_handoff_invalid";
|
|
8431
|
+
readonly STAFF_AUTHORITY_MISSING: "staff_authority_missing";
|
|
8432
|
+
readonly TERMS_MISSING: "terms_missing";
|
|
8433
|
+
readonly TERMS_WINDOW_ELAPSED: "terms_window_elapsed";
|
|
8434
|
+
readonly COMMERCIAL_AUTHORITY_STALE: "commercial_authority_stale";
|
|
8435
|
+
readonly MISSING_LOCATION: "missing_location";
|
|
8436
|
+
readonly MISSING_SELLER_ORIGIN: "missing_seller_origin";
|
|
8437
|
+
readonly DELIVERY_COUNTRY_MISSING: "delivery_country_missing";
|
|
8438
|
+
readonly VOUCHER_SCOPE_MISMATCH: "voucher_scope_mismatch";
|
|
8439
|
+
readonly TRANSACTION_MISMATCH: "transaction_mismatch";
|
|
8440
|
+
};
|
|
8441
|
+
type SourceRefusal = (typeof SOURCE_REFUSAL)[keyof typeof SOURCE_REFUSAL];
|
|
8357
8442
|
type ConfirmPurchaseIntentResponse = (CommittedIntentResponse & {
|
|
8358
8443
|
status: typeof PURCHASE_INTENT_CONFIRM_STATUS.ORDER_CREATED;
|
|
8359
8444
|
}) | (CommittedIntentResponse & {
|
|
@@ -8390,6 +8475,7 @@ type ConfirmPurchaseIntentResponse = (CommittedIntentResponse & {
|
|
|
8390
8475
|
} | {
|
|
8391
8476
|
status: typeof PURCHASE_INTENT_CONFIRM_STATUS.SOURCE_UNAVAILABLE;
|
|
8392
8477
|
intent_id: string;
|
|
8478
|
+
reason: SourceRefusal;
|
|
8393
8479
|
};
|
|
8394
8480
|
type PurchaseIntentActionResponse = Extract<ConfirmPurchaseIntentResponse, {
|
|
8395
8481
|
status: typeof PURCHASE_INTENT_CONFIRM_STATUS.REDIRECT_REQUIRED | typeof PURCHASE_INTENT_CONFIRM_STATUS.CARD_POPUP_REQUIRED | typeof PURCHASE_INTENT_CONFIRM_STATUS.AUTHORIZATION_REQUIRED;
|
|
@@ -8428,119 +8514,322 @@ type PurchaseIntentResolution = {
|
|
|
8428
8514
|
}>;
|
|
8429
8515
|
};
|
|
8430
8516
|
|
|
8431
|
-
type
|
|
8432
|
-
|
|
8433
|
-
|
|
8434
|
-
|
|
8435
|
-
|
|
8436
|
-
|
|
8437
|
-
|
|
8438
|
-
|
|
8439
|
-
|
|
8440
|
-
|
|
8441
|
-
|
|
8442
|
-
|
|
8443
|
-
|
|
8444
|
-
readonly SESSION_CLEARED: "session_cleared";
|
|
8445
|
-
readonly SET_CART: "set_cart";
|
|
8446
|
-
readonly GET_DATA: "get_data";
|
|
8447
|
-
readonly NAVIGATE: "navigate";
|
|
8448
|
-
readonly REFRESH_TOKEN: "refresh_token";
|
|
8449
|
-
readonly LOGOUT: "logout";
|
|
8450
|
-
readonly PROCESS_CHECKOUT: "process_checkout";
|
|
8451
|
-
readonly ABORT_CHECKOUT: "abort_checkout";
|
|
8452
|
-
readonly READY: "ready";
|
|
8453
|
-
readonly HEIGHT_CHANGE: "height_change";
|
|
8454
|
-
readonly ERROR: "error";
|
|
8455
|
-
readonly ADDRESS_CHANGED: "address_changed";
|
|
8456
|
-
readonly ADDRESS_SELECTED: "address_selected";
|
|
8457
|
-
readonly PAYMENT_METHOD_SELECTED: "payment_method_selected";
|
|
8458
|
-
readonly LOGOUT_COMPLETE: "logout_complete";
|
|
8459
|
-
readonly AUTH_REQUESTED: "auth_requested";
|
|
8460
|
-
readonly SESSION_ESTABLISHED: "session_established";
|
|
8461
|
-
readonly SESSION_ESTABLISHMENT_FAILED: "session_establishment_failed";
|
|
8462
|
-
readonly CONTINUE_WITHOUT_SAVED_DETAILS: "continue_without_saved_details";
|
|
8463
|
-
readonly CONTACT_PROVIDED: "contact_provided";
|
|
8464
|
-
readonly CHECKOUT_STATUS: "checkout_status";
|
|
8465
|
-
readonly CHECKOUT_COMPLETE: "checkout_complete";
|
|
8466
|
-
readonly TERMS_CHANGED: "terms_changed";
|
|
8467
|
-
readonly SELECTION_UNAVAILABLE: "selection_unavailable";
|
|
8468
|
-
readonly ORDER_TYPE_CHANGED: "order_type_changed";
|
|
8469
|
-
readonly REQUEST_SUBMIT: "request_submit";
|
|
8517
|
+
type CheckoutMode = (typeof CHECKOUT_MODE)[keyof typeof CHECKOUT_MODE];
|
|
8518
|
+
type CheckoutOrderType = (typeof ORDER_TYPE)[keyof typeof ORDER_TYPE];
|
|
8519
|
+
type CheckoutPaymentMethod = (typeof PAYMENT_METHOD)[keyof typeof PAYMENT_METHOD];
|
|
8520
|
+
type CheckoutStep = (typeof CHECKOUT_STEP)[keyof typeof CHECKOUT_STEP];
|
|
8521
|
+
type PickupTimeType = (typeof PICKUP_TIME_TYPE)[keyof typeof PICKUP_TIME_TYPE];
|
|
8522
|
+
type CheckoutCollectionMethod = (typeof PAYMENT_METHOD)[keyof typeof PAYMENT_METHOD];
|
|
8523
|
+
/** Storefront-safe collection capability. Provider and route identities stay server-side. */
|
|
8524
|
+
type CheckoutCollectionOption = {
|
|
8525
|
+
method: typeof PAYMENT_METHOD.CARD;
|
|
8526
|
+
network: null;
|
|
8527
|
+
} | {
|
|
8528
|
+
method: typeof PAYMENT_METHOD.MOBILE_MONEY;
|
|
8529
|
+
network: string;
|
|
8470
8530
|
};
|
|
8471
|
-
interface
|
|
8472
|
-
|
|
8473
|
-
|
|
8474
|
-
auth?: ElementsAuthOptions;
|
|
8475
|
-
}
|
|
8476
|
-
interface ElementsAuthOptions {
|
|
8477
|
-
clientId?: string;
|
|
8478
|
-
redirectUri?: string;
|
|
8479
|
-
callbackUri?: string;
|
|
8480
|
-
scope?: string;
|
|
8481
|
-
issuer?: string;
|
|
8482
|
-
authUrl?: string;
|
|
8483
|
-
}
|
|
8484
|
-
interface ElementAppearance {
|
|
8485
|
-
theme?: "light" | "dark";
|
|
8486
|
-
variables?: {
|
|
8487
|
-
primaryColor?: string;
|
|
8488
|
-
fontFamily?: string;
|
|
8489
|
-
borderRadius?: string;
|
|
8490
|
-
};
|
|
8531
|
+
interface CheckoutCollectionOptions {
|
|
8532
|
+
presentment_currency: CurrencyCode;
|
|
8533
|
+
options: CheckoutCollectionOption[];
|
|
8491
8534
|
}
|
|
8492
|
-
interface
|
|
8493
|
-
|
|
8494
|
-
|
|
8495
|
-
amount?: number;
|
|
8496
|
-
currency?: CurrencyCode;
|
|
8497
|
-
orderTypes?: OrderType[];
|
|
8498
|
-
defaultOrderType?: OrderType;
|
|
8499
|
-
submitLabel?: string;
|
|
8500
|
-
/** Existing hosted/paylink authority rendered by the checkout element. */
|
|
8501
|
-
intentId?: string;
|
|
8502
|
-
/** Exact hosted-session route owner for prepare/confirm/replay/action calls. */
|
|
8503
|
-
hostedSessionId?: string;
|
|
8504
|
-
/** Immutable display hint; confirmation still re-reads server authority. */
|
|
8505
|
-
initialTerms?: CheckoutTermsView;
|
|
8535
|
+
interface PickupTime {
|
|
8536
|
+
type: PickupTimeType;
|
|
8537
|
+
scheduled_time?: string;
|
|
8506
8538
|
}
|
|
8507
|
-
interface
|
|
8508
|
-
|
|
8509
|
-
latitude?: number;
|
|
8510
|
-
longitude?: number;
|
|
8511
|
-
street_address: string;
|
|
8539
|
+
interface CheckoutAddressInfo {
|
|
8540
|
+
street_address?: string;
|
|
8512
8541
|
apartment?: string;
|
|
8513
|
-
city
|
|
8514
|
-
region
|
|
8542
|
+
city?: string;
|
|
8543
|
+
region?: string;
|
|
8515
8544
|
postal_code?: string;
|
|
8516
8545
|
country?: string;
|
|
8517
8546
|
delivery_instructions?: string;
|
|
8518
8547
|
phone_for_delivery?: string;
|
|
8548
|
+
latitude?: number;
|
|
8549
|
+
longitude?: number;
|
|
8550
|
+
pickup_time?: string;
|
|
8551
|
+
guest_count?: number;
|
|
8552
|
+
seating_time?: string;
|
|
8553
|
+
seating_requests?: string;
|
|
8519
8554
|
}
|
|
8520
|
-
interface
|
|
8521
|
-
|
|
8522
|
-
|
|
8523
|
-
|
|
8524
|
-
last_four?: string;
|
|
8525
|
-
phone_number?: string;
|
|
8526
|
-
label?: string;
|
|
8555
|
+
interface MobileMoneyDetails {
|
|
8556
|
+
phone_number: string;
|
|
8557
|
+
provider: MobileMoneyProvider;
|
|
8558
|
+
provider_other?: string;
|
|
8527
8559
|
}
|
|
8528
|
-
interface
|
|
8560
|
+
interface CheckoutCustomerInfo {
|
|
8529
8561
|
name: string;
|
|
8530
|
-
email: string
|
|
8531
|
-
phone: string
|
|
8562
|
+
email: string;
|
|
8563
|
+
phone: string;
|
|
8564
|
+
notes?: string;
|
|
8565
|
+
save_details: boolean;
|
|
8532
8566
|
}
|
|
8533
|
-
|
|
8534
|
-
|
|
8535
|
-
|
|
8536
|
-
|
|
8537
|
-
|
|
8538
|
-
|
|
8539
|
-
|
|
8540
|
-
|
|
8541
|
-
|
|
8542
|
-
|
|
8543
|
-
|
|
8567
|
+
interface CheckoutFormData {
|
|
8568
|
+
cart_id: string;
|
|
8569
|
+
location_id?: string;
|
|
8570
|
+
customer: CheckoutCustomerInfo;
|
|
8571
|
+
order_type: CheckoutOrderType;
|
|
8572
|
+
address_info: CheckoutAddressInfo;
|
|
8573
|
+
/** Named delivery rate the customer selected (from `delivery.getOptions`).
|
|
8574
|
+
* Selection only — the fee is always recomputed server-side. Omit for the
|
|
8575
|
+
* merchant's default option. */
|
|
8576
|
+
delivery_rate_id?: string;
|
|
8577
|
+
payment_method: string;
|
|
8578
|
+
mobile_money_details?: MobileMoneyDetails;
|
|
8579
|
+
special_instructions?: string;
|
|
8580
|
+
link_address_id?: string;
|
|
8581
|
+
link_payment_method_id?: string;
|
|
8582
|
+
idempotency_key?: string;
|
|
8583
|
+
metadata?: Record<string, unknown>;
|
|
8584
|
+
pay_currency?: CurrencyCode;
|
|
8585
|
+
fx_quote_id?: string;
|
|
8586
|
+
/** Apply the shopper's available store credit (capped at the amount owed) as a
|
|
8587
|
+
* fee-exempt tender before charging the rail. */
|
|
8588
|
+
use_store_credit?: boolean;
|
|
8589
|
+
/** Bearer voucher / gift code to allocate to this order. Its frozen amount
|
|
8590
|
+
* remains distinct from saved account balance in accepted terms. */
|
|
8591
|
+
voucher_code?: string;
|
|
8592
|
+
/** Pay only the required deposit now (balance collected later) instead of the
|
|
8593
|
+
* full total. Only honored when the order is deposit-eligible and paying in
|
|
8594
|
+
* the order's native currency. */
|
|
8595
|
+
pay_deposit?: boolean;
|
|
8596
|
+
}
|
|
8597
|
+
type NextAction = {
|
|
8598
|
+
type: typeof CHECKOUT_NEXT_ACTION.NONE;
|
|
8599
|
+
} | {
|
|
8600
|
+
type: typeof CHECKOUT_NEXT_ACTION.CARD_POPUP;
|
|
8601
|
+
provider: string;
|
|
8602
|
+
client_secret: string;
|
|
8603
|
+
public_key: string;
|
|
8604
|
+
provider_account_id?: string;
|
|
8605
|
+
} | {
|
|
8606
|
+
type: typeof CHECKOUT_NEXT_ACTION.REDIRECT;
|
|
8607
|
+
authorization_url: string;
|
|
8608
|
+
} | {
|
|
8609
|
+
type: typeof CHECKOUT_NEXT_ACTION.AUTHORIZATION;
|
|
8610
|
+
authorization_type: AuthorizationType;
|
|
8611
|
+
display_text?: string;
|
|
8612
|
+
} | {
|
|
8613
|
+
type: typeof CHECKOUT_NEXT_ACTION.TERMS_CHANGED;
|
|
8614
|
+
replacement: CheckoutTermsView;
|
|
8615
|
+
deltas: CheckoutTermsDelta[];
|
|
8616
|
+
} | {
|
|
8617
|
+
type: typeof CHECKOUT_NEXT_ACTION.SELECTION_UNAVAILABLE;
|
|
8618
|
+
lines: UnavailableLine[];
|
|
8619
|
+
} | {
|
|
8620
|
+
type: typeof CHECKOUT_NEXT_ACTION.POLL;
|
|
8621
|
+
};
|
|
8622
|
+
interface CheckoutResult {
|
|
8623
|
+
/** Durable purchase intent authority behind the compatibility projection. */
|
|
8624
|
+
intent_id?: string;
|
|
8625
|
+
/** Durable confirmation attempt used for exact replay and recovery. */
|
|
8626
|
+
attempt_id?: string;
|
|
8627
|
+
order_id: string;
|
|
8628
|
+
order_number: string;
|
|
8629
|
+
bill_token?: string;
|
|
8630
|
+
/** Tenant-scoped Cimplify payment id used for payment mutations. */
|
|
8631
|
+
payment_id?: string;
|
|
8632
|
+
payment_reference?: string;
|
|
8633
|
+
payment_status: string;
|
|
8634
|
+
requires_authorization: boolean;
|
|
8635
|
+
authorization_type?: AuthorizationType;
|
|
8636
|
+
authorization_url?: string;
|
|
8637
|
+
display_text?: string;
|
|
8638
|
+
provider?: string;
|
|
8639
|
+
client_secret?: string;
|
|
8640
|
+
public_key?: string;
|
|
8641
|
+
next_action?: NextAction;
|
|
8642
|
+
fx?: {
|
|
8643
|
+
base_currency: CurrencyCode;
|
|
8644
|
+
base_amount: Money;
|
|
8645
|
+
pay_currency: CurrencyCode;
|
|
8646
|
+
pay_amount: Money;
|
|
8647
|
+
rate: number;
|
|
8648
|
+
quote_id: string;
|
|
8649
|
+
};
|
|
8650
|
+
}
|
|
8651
|
+
type CheckoutStatus = (typeof CHECKOUT_STATUS)[keyof typeof CHECKOUT_STATUS];
|
|
8652
|
+
interface CheckoutStatusContext {
|
|
8653
|
+
display_text?: string;
|
|
8654
|
+
authorization_type?: PaymentAuthorizationKind;
|
|
8655
|
+
poll_attempt?: number;
|
|
8656
|
+
max_poll_attempts?: number;
|
|
8657
|
+
order_id?: string;
|
|
8658
|
+
order_number?: string;
|
|
8659
|
+
provider?: string;
|
|
8660
|
+
intent_id?: string;
|
|
8661
|
+
replacement_terms?: CheckoutTermsView;
|
|
8662
|
+
terms_deltas?: CheckoutTermsDelta[];
|
|
8663
|
+
unavailable_lines?: UnavailableLine[];
|
|
8664
|
+
}
|
|
8665
|
+
interface ProcessCheckoutOptions {
|
|
8666
|
+
/** Cart presentation source; optional only when confirming an existing intent. */
|
|
8667
|
+
cart_id?: string;
|
|
8668
|
+
/** Existing durable authority (hosted sessions/paylinks); never mint a replacement. */
|
|
8669
|
+
intent_id?: string;
|
|
8670
|
+
/** Exact hosted-session route owner; never coerced to the storefront API session. */
|
|
8671
|
+
hosted_session_id?: string;
|
|
8672
|
+
/** Display hint only. The iframe re-reads/revalidates server authority before confirm. */
|
|
8673
|
+
initial_terms?: CheckoutTermsView;
|
|
8674
|
+
order_type: OrderType;
|
|
8675
|
+
location_id?: string;
|
|
8676
|
+
notes?: string;
|
|
8677
|
+
scheduled_time?: string;
|
|
8678
|
+
tip_amount?: number;
|
|
8679
|
+
enroll_in_link?: boolean;
|
|
8680
|
+
pay_currency?: CurrencyCode;
|
|
8681
|
+
timeout_ms?: number;
|
|
8682
|
+
on_status_change?: (status: CheckoutStatus, context: CheckoutStatusContext) => void;
|
|
8683
|
+
}
|
|
8684
|
+
interface ProcessCheckoutResult {
|
|
8685
|
+
success: boolean;
|
|
8686
|
+
order?: {
|
|
8687
|
+
id: string;
|
|
8688
|
+
order_number: string;
|
|
8689
|
+
status: string;
|
|
8690
|
+
total: string;
|
|
8691
|
+
currency: CurrencyCode;
|
|
8692
|
+
};
|
|
8693
|
+
error?: {
|
|
8694
|
+
code: string;
|
|
8695
|
+
message: string;
|
|
8696
|
+
recoverable: boolean;
|
|
8697
|
+
docs_url?: string;
|
|
8698
|
+
suggestion?: string;
|
|
8699
|
+
};
|
|
8700
|
+
enrolled_in_link?: boolean;
|
|
8701
|
+
}
|
|
8702
|
+
interface ProcessAndResolveOptions {
|
|
8703
|
+
enroll_in_link?: boolean;
|
|
8704
|
+
allow_popups?: boolean;
|
|
8705
|
+
poll_interval_ms?: number;
|
|
8706
|
+
max_poll_attempts?: number;
|
|
8707
|
+
on_status_change?: (status: CheckoutStatus, context: CheckoutStatusContext) => void;
|
|
8708
|
+
/**
|
|
8709
|
+
* Reports the lifetime of provider-owned authorization UI. Hosts with their
|
|
8710
|
+
* own modal focus boundary can suspend it while the provider surface is open.
|
|
8711
|
+
*/
|
|
8712
|
+
on_authorization_ui_change?: (open: boolean) => void;
|
|
8713
|
+
on_authorization_required?: (type: PaymentAuthorizationKind, submit: (authorization: PaymentAuthorizationSubmission) => Promise<void>) => void | Promise<void>;
|
|
8714
|
+
return_url?: string;
|
|
8715
|
+
signal?: AbortSignal;
|
|
8716
|
+
}
|
|
8717
|
+
type AbortablePromise<T> = Promise<T> & {
|
|
8718
|
+
abort: () => void;
|
|
8719
|
+
};
|
|
8720
|
+
|
|
8721
|
+
type OrderType = (typeof ORDER_TYPE)[keyof typeof ORDER_TYPE];
|
|
8722
|
+
declare const ELEMENT_TYPES: {
|
|
8723
|
+
readonly AUTH: "auth";
|
|
8724
|
+
readonly ADDRESS: "address";
|
|
8725
|
+
readonly PAYMENT: "payment";
|
|
8726
|
+
readonly CHECKOUT: "checkout";
|
|
8727
|
+
readonly ACCOUNT: "account";
|
|
8728
|
+
};
|
|
8729
|
+
type ElementType = (typeof ELEMENT_TYPES)[keyof typeof ELEMENT_TYPES];
|
|
8730
|
+
declare const MESSAGE_TYPES: {
|
|
8731
|
+
readonly INIT: "init";
|
|
8732
|
+
readonly IDENTITY: "identity";
|
|
8733
|
+
readonly SESSION_CLEARED: "session_cleared";
|
|
8734
|
+
readonly SET_CART: "set_cart";
|
|
8735
|
+
readonly GET_DATA: "get_data";
|
|
8736
|
+
readonly LOGOUT: "logout";
|
|
8737
|
+
readonly PROCESS_CHECKOUT: "process_checkout";
|
|
8738
|
+
readonly ABORT_CHECKOUT: "abort_checkout";
|
|
8739
|
+
readonly READY: "ready";
|
|
8740
|
+
readonly HEIGHT_CHANGE: "height_change";
|
|
8741
|
+
readonly ERROR: "error";
|
|
8742
|
+
readonly ADDRESS_CHANGED: "address_changed";
|
|
8743
|
+
readonly ADDRESS_SELECTED: "address_selected";
|
|
8744
|
+
readonly PAYMENT_METHOD_SELECTED: "payment_method_selected";
|
|
8745
|
+
readonly LOGOUT_COMPLETE: "logout_complete";
|
|
8746
|
+
readonly AUTH_REQUESTED: "auth_requested";
|
|
8747
|
+
readonly SESSION_ESTABLISHED: "session_established";
|
|
8748
|
+
readonly CONTINUE_WITHOUT_SAVED_DETAILS: "continue_without_saved_details";
|
|
8749
|
+
readonly CONTACT_PROVIDED: "contact_provided";
|
|
8750
|
+
readonly CHECKOUT_STATUS: "checkout_status";
|
|
8751
|
+
readonly CHECKOUT_COMPLETE: "checkout_complete";
|
|
8752
|
+
readonly TERMS_CHANGED: "terms_changed";
|
|
8753
|
+
readonly SELECTION_UNAVAILABLE: "selection_unavailable";
|
|
8754
|
+
readonly ORDER_TYPE_CHANGED: "order_type_changed";
|
|
8755
|
+
readonly REQUEST_SUBMIT: "request_submit";
|
|
8756
|
+
};
|
|
8757
|
+
interface ElementsOptions {
|
|
8758
|
+
linkUrl?: string;
|
|
8759
|
+
appearance?: ElementAppearance;
|
|
8760
|
+
auth?: ElementsAuthOptions;
|
|
8761
|
+
}
|
|
8762
|
+
interface ElementsAuthOptions {
|
|
8763
|
+
clientId?: string;
|
|
8764
|
+
redirectUri?: string;
|
|
8765
|
+
callbackUri?: string;
|
|
8766
|
+
scope?: string;
|
|
8767
|
+
issuer?: string;
|
|
8768
|
+
authUrl?: string;
|
|
8769
|
+
}
|
|
8770
|
+
interface ElementAppearance {
|
|
8771
|
+
theme?: "light" | "dark";
|
|
8772
|
+
variables?: {
|
|
8773
|
+
primaryColor?: string;
|
|
8774
|
+
fontFamily?: string;
|
|
8775
|
+
borderRadius?: string;
|
|
8776
|
+
};
|
|
8777
|
+
}
|
|
8778
|
+
interface ElementOptions {
|
|
8779
|
+
mode?: "shipping" | "billing";
|
|
8780
|
+
prefillEmail?: string;
|
|
8781
|
+
amount?: number;
|
|
8782
|
+
currency?: CurrencyCode;
|
|
8783
|
+
orderTypes?: OrderType[];
|
|
8784
|
+
defaultOrderType?: OrderType;
|
|
8785
|
+
submitLabel?: string;
|
|
8786
|
+
/** Existing hosted/paylink authority rendered by the checkout element. */
|
|
8787
|
+
intentId?: string;
|
|
8788
|
+
/** Exact hosted-session route owner for prepare/confirm/replay/action calls. */
|
|
8789
|
+
hostedSessionId?: string;
|
|
8790
|
+
/** Immutable display hint; confirmation still re-reads server authority. */
|
|
8791
|
+
initialTerms?: CheckoutTermsView;
|
|
8792
|
+
}
|
|
8793
|
+
interface AddressInfo {
|
|
8794
|
+
id?: string;
|
|
8795
|
+
latitude?: number;
|
|
8796
|
+
longitude?: number;
|
|
8797
|
+
street_address: string;
|
|
8798
|
+
apartment?: string;
|
|
8799
|
+
city: string;
|
|
8800
|
+
region: string;
|
|
8801
|
+
postal_code?: string;
|
|
8802
|
+
country?: string;
|
|
8803
|
+
delivery_instructions?: string;
|
|
8804
|
+
phone_for_delivery?: string;
|
|
8805
|
+
}
|
|
8806
|
+
interface PaymentMethodInfo {
|
|
8807
|
+
id?: string;
|
|
8808
|
+
type: "mobile_money" | "card" | "cash";
|
|
8809
|
+
provider?: string;
|
|
8810
|
+
last_four?: string;
|
|
8811
|
+
phone_number?: string;
|
|
8812
|
+
label?: string;
|
|
8813
|
+
}
|
|
8814
|
+
interface AuthenticatedCustomer {
|
|
8815
|
+
name: string;
|
|
8816
|
+
email: string | null;
|
|
8817
|
+
phone: string | null;
|
|
8818
|
+
}
|
|
8819
|
+
interface ClaimedCustomer extends AuthenticatedCustomer {
|
|
8820
|
+
id: string;
|
|
8821
|
+
}
|
|
8822
|
+
type ElementsCustomerInfo = {
|
|
8823
|
+
name: string;
|
|
8824
|
+
email: string | null;
|
|
8825
|
+
phone: string | null;
|
|
8826
|
+
} | null;
|
|
8827
|
+
declare const ELEMENTS_AUTH_CONTACT_TYPES: {
|
|
8828
|
+
readonly EMAIL: "email";
|
|
8829
|
+
readonly PHONE: "phone";
|
|
8830
|
+
};
|
|
8831
|
+
type ElementsAuthContactType = (typeof ELEMENTS_AUTH_CONTACT_TYPES)[keyof typeof ELEMENTS_AUTH_CONTACT_TYPES];
|
|
8832
|
+
declare const ELEMENTS_AUTH_PROMPTS: {
|
|
8544
8833
|
readonly LOGIN: "login";
|
|
8545
8834
|
};
|
|
8546
8835
|
type ElementsAuthPrompt = (typeof ELEMENTS_AUTH_PROMPTS)[keyof typeof ELEMENTS_AUTH_PROMPTS];
|
|
@@ -8641,34 +8930,20 @@ type ParentToIframeMessage = {
|
|
|
8641
8930
|
token?: string;
|
|
8642
8931
|
merchantName?: string;
|
|
8643
8932
|
} | {
|
|
8644
|
-
type: typeof MESSAGE_TYPES.
|
|
8645
|
-
token: string;
|
|
8646
|
-
} | {
|
|
8647
|
-
/** Host could not claim the iframe-verified Link identity. The echoed
|
|
8648
|
-
* bearer correlates this response to the still-current OTP handoff. */
|
|
8649
|
-
type: typeof MESSAGE_TYPES.SESSION_ESTABLISHMENT_FAILED;
|
|
8650
|
-
accessToken: string;
|
|
8651
|
-
code: string;
|
|
8652
|
-
message: string;
|
|
8653
|
-
} | {
|
|
8654
|
-
/** Host cart session; the iframe adopts it so destination quotes read the host's cart. */
|
|
8655
|
-
type: typeof MESSAGE_TYPES.SET_SESSION;
|
|
8933
|
+
type: typeof MESSAGE_TYPES.IDENTITY;
|
|
8656
8934
|
sessionToken: string;
|
|
8935
|
+
accessToken: string | null;
|
|
8936
|
+
customer: ClaimedCustomer | null;
|
|
8657
8937
|
} | {
|
|
8658
8938
|
/** The host rotated back to anonymous authority. Every sibling iframe
|
|
8659
8939
|
* must discard its bearer and identity-derived projections. */
|
|
8660
8940
|
type: typeof MESSAGE_TYPES.SESSION_CLEARED;
|
|
8661
8941
|
sessionToken: string;
|
|
8662
|
-
} | {
|
|
8663
|
-
type: typeof MESSAGE_TYPES.NAVIGATE;
|
|
8664
|
-
path: string;
|
|
8665
8942
|
} | {
|
|
8666
8943
|
type: typeof MESSAGE_TYPES.SET_CART;
|
|
8667
8944
|
cart: CheckoutCartData;
|
|
8668
8945
|
} | {
|
|
8669
8946
|
type: typeof MESSAGE_TYPES.GET_DATA;
|
|
8670
|
-
} | {
|
|
8671
|
-
type: typeof MESSAGE_TYPES.REFRESH_TOKEN;
|
|
8672
8947
|
} | {
|
|
8673
8948
|
type: typeof MESSAGE_TYPES.LOGOUT;
|
|
8674
8949
|
} | {
|
|
@@ -8726,8 +9001,10 @@ type IframeToParentMessage = {
|
|
|
8726
9001
|
contactType: ElementsAuthContactType;
|
|
8727
9002
|
} | {
|
|
8728
9003
|
type: typeof MESSAGE_TYPES.SESSION_ESTABLISHED;
|
|
9004
|
+
sessionToken: string;
|
|
8729
9005
|
accessToken: string;
|
|
8730
9006
|
refreshToken?: string;
|
|
9007
|
+
customer: ClaimedCustomer;
|
|
8731
9008
|
} | {
|
|
8732
9009
|
type: typeof MESSAGE_TYPES.AUTH_REQUESTED;
|
|
8733
9010
|
loginHint?: string;
|
|
@@ -8782,208 +9059,4 @@ declare const EVENT_TYPES: {
|
|
|
8782
9059
|
type ElementEventType = (typeof EVENT_TYPES)[keyof typeof EVENT_TYPES];
|
|
8783
9060
|
type ElementEventHandler<T = unknown> = (data: T) => void;
|
|
8784
9061
|
|
|
8785
|
-
type CheckoutMode = (typeof CHECKOUT_MODE)[keyof typeof CHECKOUT_MODE];
|
|
8786
|
-
type CheckoutOrderType = (typeof ORDER_TYPE)[keyof typeof ORDER_TYPE];
|
|
8787
|
-
type CheckoutPaymentMethod = (typeof PAYMENT_METHOD)[keyof typeof PAYMENT_METHOD];
|
|
8788
|
-
type CheckoutStep = (typeof CHECKOUT_STEP)[keyof typeof CHECKOUT_STEP];
|
|
8789
|
-
type PickupTimeType = (typeof PICKUP_TIME_TYPE)[keyof typeof PICKUP_TIME_TYPE];
|
|
8790
|
-
type CheckoutCollectionMethod = (typeof PAYMENT_METHOD)[keyof typeof PAYMENT_METHOD];
|
|
8791
|
-
/** Storefront-safe collection capability. Provider and route identities stay server-side. */
|
|
8792
|
-
type CheckoutCollectionOption = {
|
|
8793
|
-
method: typeof PAYMENT_METHOD.CARD;
|
|
8794
|
-
network: null;
|
|
8795
|
-
} | {
|
|
8796
|
-
method: typeof PAYMENT_METHOD.MOBILE_MONEY;
|
|
8797
|
-
network: string;
|
|
8798
|
-
};
|
|
8799
|
-
interface CheckoutCollectionOptions {
|
|
8800
|
-
presentment_currency: CurrencyCode;
|
|
8801
|
-
options: CheckoutCollectionOption[];
|
|
8802
|
-
}
|
|
8803
|
-
interface PickupTime {
|
|
8804
|
-
type: PickupTimeType;
|
|
8805
|
-
scheduled_time?: string;
|
|
8806
|
-
}
|
|
8807
|
-
interface CheckoutAddressInfo {
|
|
8808
|
-
street_address?: string;
|
|
8809
|
-
apartment?: string;
|
|
8810
|
-
city?: string;
|
|
8811
|
-
region?: string;
|
|
8812
|
-
postal_code?: string;
|
|
8813
|
-
country?: string;
|
|
8814
|
-
delivery_instructions?: string;
|
|
8815
|
-
phone_for_delivery?: string;
|
|
8816
|
-
latitude?: number;
|
|
8817
|
-
longitude?: number;
|
|
8818
|
-
pickup_time?: string;
|
|
8819
|
-
guest_count?: number;
|
|
8820
|
-
seating_time?: string;
|
|
8821
|
-
seating_requests?: string;
|
|
8822
|
-
}
|
|
8823
|
-
interface MobileMoneyDetails {
|
|
8824
|
-
phone_number: string;
|
|
8825
|
-
provider: MobileMoneyProvider;
|
|
8826
|
-
provider_other?: string;
|
|
8827
|
-
}
|
|
8828
|
-
interface CheckoutCustomerInfo {
|
|
8829
|
-
name: string;
|
|
8830
|
-
email: string;
|
|
8831
|
-
phone: string;
|
|
8832
|
-
notes?: string;
|
|
8833
|
-
save_details: boolean;
|
|
8834
|
-
}
|
|
8835
|
-
interface CheckoutFormData {
|
|
8836
|
-
cart_id: string;
|
|
8837
|
-
location_id?: string;
|
|
8838
|
-
customer: CheckoutCustomerInfo;
|
|
8839
|
-
order_type: CheckoutOrderType;
|
|
8840
|
-
address_info: CheckoutAddressInfo;
|
|
8841
|
-
/** Named delivery rate the customer selected (from `delivery.getOptions`).
|
|
8842
|
-
* Selection only — the fee is always recomputed server-side. Omit for the
|
|
8843
|
-
* merchant's default option. */
|
|
8844
|
-
delivery_rate_id?: string;
|
|
8845
|
-
payment_method: string;
|
|
8846
|
-
mobile_money_details?: MobileMoneyDetails;
|
|
8847
|
-
special_instructions?: string;
|
|
8848
|
-
link_address_id?: string;
|
|
8849
|
-
link_payment_method_id?: string;
|
|
8850
|
-
idempotency_key?: string;
|
|
8851
|
-
metadata?: Record<string, unknown>;
|
|
8852
|
-
pay_currency?: CurrencyCode;
|
|
8853
|
-
fx_quote_id?: string;
|
|
8854
|
-
/** Apply the shopper's available store credit (capped at the amount owed) as a
|
|
8855
|
-
* fee-exempt tender before charging the rail. */
|
|
8856
|
-
use_store_credit?: boolean;
|
|
8857
|
-
/** Bearer voucher / gift code to allocate to this order. Its frozen amount
|
|
8858
|
-
* remains distinct from saved account balance in accepted terms. */
|
|
8859
|
-
voucher_code?: string;
|
|
8860
|
-
/** Pay only the required deposit now (balance collected later) instead of the
|
|
8861
|
-
* full total. Only honored when the order is deposit-eligible and paying in
|
|
8862
|
-
* the order's native currency. */
|
|
8863
|
-
pay_deposit?: boolean;
|
|
8864
|
-
}
|
|
8865
|
-
type NextAction = {
|
|
8866
|
-
type: typeof CHECKOUT_NEXT_ACTION.NONE;
|
|
8867
|
-
} | {
|
|
8868
|
-
type: typeof CHECKOUT_NEXT_ACTION.CARD_POPUP;
|
|
8869
|
-
provider: string;
|
|
8870
|
-
client_secret: string;
|
|
8871
|
-
public_key: string;
|
|
8872
|
-
provider_account_id?: string;
|
|
8873
|
-
} | {
|
|
8874
|
-
type: typeof CHECKOUT_NEXT_ACTION.REDIRECT;
|
|
8875
|
-
authorization_url: string;
|
|
8876
|
-
} | {
|
|
8877
|
-
type: typeof CHECKOUT_NEXT_ACTION.AUTHORIZATION;
|
|
8878
|
-
authorization_type: AuthorizationType;
|
|
8879
|
-
display_text?: string;
|
|
8880
|
-
} | {
|
|
8881
|
-
type: typeof CHECKOUT_NEXT_ACTION.TERMS_CHANGED;
|
|
8882
|
-
replacement: CheckoutTermsView;
|
|
8883
|
-
deltas: CheckoutTermsDelta[];
|
|
8884
|
-
} | {
|
|
8885
|
-
type: typeof CHECKOUT_NEXT_ACTION.SELECTION_UNAVAILABLE;
|
|
8886
|
-
lines: UnavailableLine[];
|
|
8887
|
-
} | {
|
|
8888
|
-
type: typeof CHECKOUT_NEXT_ACTION.POLL;
|
|
8889
|
-
};
|
|
8890
|
-
interface CheckoutResult {
|
|
8891
|
-
/** Durable purchase intent authority behind the compatibility projection. */
|
|
8892
|
-
intent_id?: string;
|
|
8893
|
-
/** Durable confirmation attempt used for exact replay and recovery. */
|
|
8894
|
-
attempt_id?: string;
|
|
8895
|
-
order_id: string;
|
|
8896
|
-
order_number: string;
|
|
8897
|
-
bill_token?: string;
|
|
8898
|
-
/** Tenant-scoped Cimplify payment id used for payment mutations. */
|
|
8899
|
-
payment_id?: string;
|
|
8900
|
-
payment_reference?: string;
|
|
8901
|
-
payment_status: string;
|
|
8902
|
-
requires_authorization: boolean;
|
|
8903
|
-
authorization_type?: AuthorizationType;
|
|
8904
|
-
authorization_url?: string;
|
|
8905
|
-
display_text?: string;
|
|
8906
|
-
provider?: string;
|
|
8907
|
-
client_secret?: string;
|
|
8908
|
-
public_key?: string;
|
|
8909
|
-
next_action?: NextAction;
|
|
8910
|
-
fx?: {
|
|
8911
|
-
base_currency: CurrencyCode;
|
|
8912
|
-
base_amount: Money;
|
|
8913
|
-
pay_currency: CurrencyCode;
|
|
8914
|
-
pay_amount: Money;
|
|
8915
|
-
rate: number;
|
|
8916
|
-
quote_id: string;
|
|
8917
|
-
};
|
|
8918
|
-
}
|
|
8919
|
-
type CheckoutStatus = (typeof CHECKOUT_STATUS)[keyof typeof CHECKOUT_STATUS];
|
|
8920
|
-
interface CheckoutStatusContext {
|
|
8921
|
-
display_text?: string;
|
|
8922
|
-
authorization_type?: PaymentAuthorizationKind;
|
|
8923
|
-
poll_attempt?: number;
|
|
8924
|
-
max_poll_attempts?: number;
|
|
8925
|
-
order_id?: string;
|
|
8926
|
-
order_number?: string;
|
|
8927
|
-
provider?: string;
|
|
8928
|
-
intent_id?: string;
|
|
8929
|
-
replacement_terms?: CheckoutTermsView;
|
|
8930
|
-
terms_deltas?: CheckoutTermsDelta[];
|
|
8931
|
-
unavailable_lines?: UnavailableLine[];
|
|
8932
|
-
}
|
|
8933
|
-
interface ProcessCheckoutOptions {
|
|
8934
|
-
/** Cart presentation source; optional only when confirming an existing intent. */
|
|
8935
|
-
cart_id?: string;
|
|
8936
|
-
/** Existing durable authority (hosted sessions/paylinks); never mint a replacement. */
|
|
8937
|
-
intent_id?: string;
|
|
8938
|
-
/** Exact hosted-session route owner; never coerced to the storefront API session. */
|
|
8939
|
-
hosted_session_id?: string;
|
|
8940
|
-
/** Display hint only. The iframe re-reads/revalidates server authority before confirm. */
|
|
8941
|
-
initial_terms?: CheckoutTermsView;
|
|
8942
|
-
order_type: OrderType;
|
|
8943
|
-
location_id?: string;
|
|
8944
|
-
notes?: string;
|
|
8945
|
-
scheduled_time?: string;
|
|
8946
|
-
tip_amount?: number;
|
|
8947
|
-
enroll_in_link?: boolean;
|
|
8948
|
-
pay_currency?: CurrencyCode;
|
|
8949
|
-
timeout_ms?: number;
|
|
8950
|
-
on_status_change?: (status: CheckoutStatus, context: CheckoutStatusContext) => void;
|
|
8951
|
-
}
|
|
8952
|
-
interface ProcessCheckoutResult {
|
|
8953
|
-
success: boolean;
|
|
8954
|
-
order?: {
|
|
8955
|
-
id: string;
|
|
8956
|
-
order_number: string;
|
|
8957
|
-
status: string;
|
|
8958
|
-
total: string;
|
|
8959
|
-
currency: CurrencyCode;
|
|
8960
|
-
};
|
|
8961
|
-
error?: {
|
|
8962
|
-
code: string;
|
|
8963
|
-
message: string;
|
|
8964
|
-
recoverable: boolean;
|
|
8965
|
-
docs_url?: string;
|
|
8966
|
-
suggestion?: string;
|
|
8967
|
-
};
|
|
8968
|
-
enrolled_in_link?: boolean;
|
|
8969
|
-
}
|
|
8970
|
-
interface ProcessAndResolveOptions {
|
|
8971
|
-
enroll_in_link?: boolean;
|
|
8972
|
-
allow_popups?: boolean;
|
|
8973
|
-
poll_interval_ms?: number;
|
|
8974
|
-
max_poll_attempts?: number;
|
|
8975
|
-
on_status_change?: (status: CheckoutStatus, context: CheckoutStatusContext) => void;
|
|
8976
|
-
/**
|
|
8977
|
-
* Reports the lifetime of provider-owned authorization UI. Hosts with their
|
|
8978
|
-
* own modal focus boundary can suspend it while the provider surface is open.
|
|
8979
|
-
*/
|
|
8980
|
-
on_authorization_ui_change?: (open: boolean) => void;
|
|
8981
|
-
on_authorization_required?: (type: PaymentAuthorizationKind, submit: (authorization: PaymentAuthorizationSubmission) => Promise<void>) => void | Promise<void>;
|
|
8982
|
-
return_url?: string;
|
|
8983
|
-
signal?: AbortSignal;
|
|
8984
|
-
}
|
|
8985
|
-
type AbortablePromise<T> = Promise<T> & {
|
|
8986
|
-
abort: () => void;
|
|
8987
|
-
};
|
|
8988
|
-
|
|
8989
|
-
export { type BundleProduct as $, type ApiError as A, type AttributeAppliesTo as B, type CurrencyCode as C, type DurationUnit as D, type AttributeType as E, type AttributeValidationRules as F, type AttributeVisibility as G, type AuthResponse as H, type AuthenticatedCustomer as I, type AuthenticatedData as J, type AuthorizationType as K, BOUNDARY_KIND as L, type BenefitType as M, type BillingFrequency as N, type BillingMarkupType as O, type Product as P, type BillingPlanType as Q, type BoundaryKind as R, type SaleInfo as S, type TaxPriceDisplayMode as T, type UpcomingSale as U, type Bundle as V, type BundleComponentData as W, type BundleComponentInfo as X, type BundleComponentVariantView as Y, type BundleComponentView as Z, type BundlePriceType as _, type ChosenPrice as a, type CollectionProduct as a$, type BundleSelectionData as a0, type BundleSelectionInput as a1, type BundleStoredSelection as a2, type BundleSummary as a3, type BundleWithDetails as a4, CHECKOUT_COMPLIANCE_LANE as a5, CHECKOUT_COMPLIANCE_REASON as a6, CHECKOUT_INVALIDATION_REASON as a7, CHECKOUT_MATERIAL_TERMS_COMPONENT as a8, CHECKOUT_MODE as a9, type CheckoutCollectionMethod as aA, type CheckoutCollectionOption as aB, type CheckoutCollectionOptions as aC, type CheckoutComplianceDecision as aD, type CheckoutComplianceLane as aE, type CheckoutComplianceReasonCode as aF, type CheckoutCustomerInfo as aG, type CheckoutDestinationInput as aH, type CheckoutFormData as aI, type CheckoutInvalidationReason as aJ, type CheckoutMaterialTerms as aK, type CheckoutMaterialTermsComponent as aL, type CheckoutMode as aM, type CheckoutMoneyComponents as aN, type CheckoutOfferKind as aO, type CheckoutOrderType as aP, type CheckoutPaymentMethod as aQ, type CheckoutProtectionStatus as aR, type CheckoutProtectionView as aS, type CheckoutPurchaseSurface as aT, type CheckoutResult as aU, type CheckoutSourceKind as aV, type CheckoutStatus as aW, type CheckoutStatusContext as aX, type CheckoutStep as aY, type CheckoutTermsComponent as aZ, type CheckoutTermsDelta as a_, CHECKOUT_MUTATION as aa, CHECKOUT_NEXT_ACTION as ab, CHECKOUT_ORDER_RESULT_STATUS as ac, CHECKOUT_PROTECTION_STATUS as ad, CHECKOUT_PURCHASE_SURFACE as ae, CHECKOUT_STATUS as af, CHECKOUT_STEP as ag, CHECKOUT_TERMS_COMPONENT as ah, CHECKOUT_TERMS_DELTA_KIND as ai, CONTACT_TYPE as aj, type CanonicalSourceAuthority as ak, type Cart as al, type CartAddOn as am, type CartChannel as an, type CartIntentCheckoutInput as ao, type CartItem as ap, type CartItemDetails as aq, type CartMutationResult as ar, type CartNotice as as, type CartStatus as at, type CartSummary as au, type CartTotals as av, type CategorySummary as aw, type CheckoutAddressInfo as ax, type CheckoutCartData as ay, type CheckoutCartItem as az, type Category as b, type ElementsAuthPrompt as b$, type CollectionSummary as b0, type ComponentGroup as b1, type ComponentGroupWithComponents as b2, type ComponentPriceBreakdown as b3, type ComponentSchedulingData as b4, type ComponentSelectionInput as b5, type ComponentSourceType as b6, type Composite as b7, type CompositeComponent as b8, type CompositeComponentView as b9, type DestinationQuote as bA, type DestinationQuoteAddress as bB, type DestinationQuoteInput as bC, type DeviceType as bD, type DigitalProductType as bE, type DiscountBreakdown as bF, type DiscountDetails as bG, type DiscountValidation as bH, type DisplayAddOn as bI, type DisplayAddOnOption as bJ, type DisplayCart as bK, type DisplayCartItem as bL, type DisplayMode as bM, ELEMENTS_AUTH_CONTACT_TYPES as bN, ELEMENTS_AUTH_MODES as bO, ELEMENTS_AUTH_PROMPTS as bP, ELEMENT_TYPES as bQ, ERROR_HINTS as bR, EVENT_TYPES as bS, type ElementAppearance as bT, type ElementEventHandler as bU, type ElementEventType as bV, type ElementOptions as bW, type ElementType as bX, type ElementsAuthContactType as bY, type ElementsAuthMode as bZ, type ElementsAuthOptions as b_, type CompositeGroupView as ba, type CompositePriceBreakdown as bb, type CompositePriceResult as bc, type CompositePricingMode as bd, type CompositeSelectionData as be, type CompositeStoredSelection as bf, type CompositeWithDetails as bg, type ConfirmPurchaseIntentResponse as bh, type ContactType as bi, type CreateAddressInput as bj, type CreateMobileMoneyInput as bk, type CustomAttributeDefinition as bl, type CustomAttributeValue as bm, type Customer as bn, type CustomerAddress as bo, type CustomerInputValue as bp, type CustomerLinkPreferences as bq, type CustomerMobileMoney as br, DEFAULT_COUNTRY as bs, DEFAULT_CURRENCY as bt, DEVICE_TYPE as bu, DURATION_UNIT as bv, type DateRangeValue as bw, type Deal as bx, type DealBenefitType as by, type DepositType as bz, CimplifyError as c, PURCHASE_INTENT_CONFIRM_STATUS as c$, type ElementsCheckoutData as c0, type ElementsCheckoutResult as c1, type ElementsCustomerInfo as c2, type ElementsOptions as c3, type EligiblePlansQuery as c4, type EnrollAndLinkOrderInput as c5, type EnrollAndLinkOrderResult as c6, type EnrollmentData as c7, ErrorCode as c8, type ErrorCodeType as c9, MOBILE_MONEY_TENDER_AUTHORITY_KIND as cA, type MeasurementValue as cB, type MintPurchaseIntentRequest as cC, type MobileMoneyData as cD, type MobileMoneyDetails as cE, type MobileMoneyProvider as cF, type MobileMoneyTenderPreference as cG, type Money as cH, NATIVE_PURCHASE_PLATFORM as cI, type NativeAddOnSelection as cJ, type NativePurchasePlatform as cK, type NextAction as cL, ORDER_MUTATION as cM, ORDER_TYPE as cN, type OfferRef as cO, type OrderType as cP, PAYMENT_COLLECTION_MODE as cQ, PAYMENT_INSTRUMENT_DISPLAY_KIND as cR, PAYMENT_METHOD as cS, PAYMENT_MUTATION as cT, PAYMENT_OPTION_NEXT_ACTION as cU, PAYMENT_OPTION_STATUS as cV, PAYMENT_STATE as cW, PICKUP_TIME_TYPE as cX, PRODUCT_TYPE as cY, PURCHASE_DISPOSITION as cZ, PURCHASE_INTENT_ACTION_DECISION as c_, type ErrorHint as ca, type FacetValue as cb, type FormattedPlanOption as cc, type GroupPricingBehavior as cd, INPUT_FIELD_TYPE as ce, IdempotencyMismatchError as cf, type IframeToParentMessage as cg, type InitializePaymentResult as ch, type InputFieldType as ci, type InputFieldValidation as cj, type InventoryType as ck, type KnowledgeArticle as cl, LEGACY_CHECKOUT_PAYMENT_METHOD_ALIAS as cm, LEGACY_CHECKOUT_PAYMENT_STATUS as cn, LINK_MUTATION as co, LINK_QUERY as cp, type LineConfiguration as cq, type LinkData as cr, type LinkEnrollResult as cs, type LinkSession as ct, type LinkStatusResult as cu, type LocationProductPrice as cv, type LocationValue as cw, MAX_PAYMENT_AUTHORIZATION_STEPS as cx, MESSAGE_TYPES as cy, MOBILE_MONEY_PROVIDER as cz, type Collection as d, type PurchaseIntentActionResponse as d$, PURCHASE_INTENT_ERROR_CODE as d0, PURCHASE_INTENT_LINE_CONFIGURATION_KIND as d1, PURCHASE_INTENT_MOBILE_MONEY_NETWORK as d2, PURCHASE_INTENT_OFFER_KIND as d3, PURCHASE_INTENT_PAYMENT_METHOD as d4, PURCHASE_INTENT_PAYMENT_PROVIDER as d5, PURCHASE_INTENT_RESOLUTION_KIND as d6, PURCHASE_INTENT_RESOLVE_STATUS as d7, PURCHASE_INTENT_SELLABLE_KIND as d8, PURCHASE_INTENT_SOURCE_KIND as d9, type PickupTimeType as dA, type PreparePurchaseIntentRequest as dB, type Price as dC, type PriceAdjustment as dD, type PriceDecisionPath as dE, type PriceEntryType as dF, type PricePathTaxInfo as dG, type PriceSource as dH, type ProcessAndResolveOptions as dI, type ProcessCheckoutOptions as dJ, type ProcessCheckoutResult as dK, type ProductAddOn as dL, type ProductAvailability as dM, type ProductAvailabilityNow as dN, type ProductBillingPlan as dO, type ProductDealInfo as dP, type ProductInputField as dQ, type ProductProperty as dR, type ProductRenderHint as dS, type ProductTaxonomy as dT, type ProductTimeProfile as dU, type ProductType as dV, type ProductVariant as dW, type ProductVariantValue as dX, type PropertyFacet as dY, type PropertySource as dZ, type PurchaseDisposition as d_, PURCHASE_INTENT_STATUS as da, PURCHASE_SURFACE as db, PURCHASING_PRINCIPAL_KIND as dc, type Pagination as dd, type PaginationParams as de, type ParentToIframeMessage as df, type Payment as dg, type PaymentAuthorizationKind as dh, type PaymentAuthorizationSubmission as di, type PaymentCollectionMode as dj, type PaymentErrorDetails as dk, type PaymentInstrumentDisplay as dl, type PaymentMethod as dm, type PaymentMethodInfo as dn, type PaymentMethodType as dp, type PaymentNextActionKind as dq, type PaymentOptionStatus as dr, type PaymentProcessingState as ds, type PaymentProvider as dt, type PaymentProviderKind as du, type PaymentResponse as dv, type PaymentStatus as dw, type PaymentStatusResponse as dx, type PhoneValue as dy, type PickupTime as dz, type ProductWithDetails as e, type VariantStrategy as e$, type PurchaseIntentCustomerInput as e0, type PurchaseIntentLineConfiguration as e1, type PurchaseIntentLineInput as e2, type PurchaseIntentLinePricingView as e3, type PurchaseIntentLineView as e4, type PurchaseIntentMobileMoneyNetwork as e5, type PurchaseIntentResolution as e6, type PurchaseIntentReviewResponse as e7, type PurchaseIntentSimpleLineConfiguration as e8, type PurchaseIntentSourceInput as e9, type SubscriptionInvoice as eA, type SubscriptionItem as eB, type SubscriptionStatus as eC, type SubscriptionWithDetails as eD, type Tag as eE, type TagsResponse as eF, type TaxPathComponent as eG, type TaxonomyAttributeTemplate as eH, type TaxonomyWithChildren as eI, type UICart as eJ, type UICartBusiness as eK, type UICartCustomer as eL, type UICartLocation as eM, type UICartPricing as eN, type UnavailableLine as eO, type UpdateAddressInput as eP, type UpdateCartItemInput as eQ, type VariantAxis as eR, type VariantAxisSelection as eS, type VariantAxisValue as eT, type VariantAxisValueView as eU, type VariantAxisView as eV, type VariantAxisWithValues as eW, type VariantDetails as eX, type VariantDetailsDTO as eY, type VariantDisplayAttribute as eZ, type VariantLocationAvailability as e_, type PurchaseIntentStatus as ea, type PurchaseIntentTenderPreference as eb, type PurchaseIntentTerminalResponse as ec, type PurchaseIntentView as ed, type PurchasePolicyContext as ee, type PurchaseSurface as ef, type PurchasingPrincipal as eg, type QuantityPricingTier as eh, RENDER_HINT as ei, type RefreshCheckoutTermsRequest as ej, type RelatedProductView as ek, type RequestOtpInput as el, type RequestOtpResult as em, type RevokeAllSessionsResult as en, type RevokeSessionResult as eo, type SaleCapInfo as ep, type SalesChannel as eq, type SchedulingMode as er, type SelectedAddOnOption as es, type SellableKind as et, type SellableRef as eu, type SemanticKind as ev, type SignatureValue as ew, type SubmitAuthorizationInput as ex, type SubmitPurchaseIntentActionRequest as ey, type Subscription as ez, type CheckoutPaymentMethodKind as f, type VariantView as f0, type VerifyOtpInput as f1, ZERO as f2, currencyCode as f3, enrichError as f4, getErrorHint as f5, isCimplifyError as f6, isIdempotencyMismatchError as f7, isQuoteConflictRequiringConsent as f8, isQuoteError as f9, isRetryableError as fa, isSupportedCurrency as fb, money as fc, moneyFromNumber as fd, type components as fe, type CheckoutTermsView as g, type PaymentOptionView as h, type ConfirmPurchaseIntentRequest as i, AUTHORIZATION_TYPE as j, AUTH_MUTATION as k, type AbortablePromise as l, type AddOn as m, type AddOnDetails as n, type AddOnGroupDetails as o, type AddOnOption as p, type AddOnOptionDetails as q, type AddOnOptionPrice as r, type AddOnWithOptions as s, type AddToCartInput as t, type AddressAuthorizationData as u, type AddressData as v, type AddressInfo as w, type AddressValue as x, type AdjustmentType as y, type AppliedDiscount as z };
|
|
9062
|
+
export { type BundleProduct as $, type ApiError as A, type AttributeAppliesTo as B, type CurrencyCode as C, type DurationUnit as D, type AttributeType as E, type AttributeValidationRules as F, type AttributeVisibility as G, type AuthResponse as H, type AuthenticatedCustomer as I, type AuthenticatedData as J, type AuthorizationType as K, BOUNDARY_KIND as L, type BenefitType as M, type BillingFrequency as N, type BillingMarkupType as O, type Product as P, type BillingPlanType as Q, type BoundaryKind as R, type SaleInfo as S, type TaxPriceDisplayMode as T, type UpcomingSale as U, type Bundle as V, type BundleComponentData as W, type BundleComponentInfo as X, type BundleComponentVariantView as Y, type BundleComponentView as Z, type BundlePriceType as _, type ChosenPrice as a, type ClaimedCustomer as a$, type BundleSelectionData as a0, type BundleSelectionInput as a1, type BundleStoredSelection as a2, type BundleSummary as a3, type BundleWithDetails as a4, CHECKOUT_COMPLIANCE_LANE as a5, CHECKOUT_COMPLIANCE_REASON as a6, CHECKOUT_INVALIDATION_REASON as a7, CHECKOUT_MATERIAL_TERMS_COMPONENT as a8, CHECKOUT_MODE as a9, type CheckoutCollectionMethod as aA, type CheckoutCollectionOption as aB, type CheckoutCollectionOptions as aC, type CheckoutComplianceDecision as aD, type CheckoutComplianceLane as aE, type CheckoutComplianceReasonCode as aF, type CheckoutCustomerInfo as aG, type CheckoutDestinationInput as aH, type CheckoutFormData as aI, type CheckoutInvalidationReason as aJ, type CheckoutMaterialTerms as aK, type CheckoutMaterialTermsComponent as aL, type CheckoutMode as aM, type CheckoutMoneyComponents as aN, type CheckoutOfferKind as aO, type CheckoutOrderType as aP, type CheckoutPaymentMethod as aQ, type CheckoutProtectionStatus as aR, type CheckoutProtectionView as aS, type CheckoutPurchaseSurface as aT, type CheckoutResult as aU, type CheckoutSourceKind as aV, type CheckoutStatus as aW, type CheckoutStatusContext as aX, type CheckoutStep as aY, type CheckoutTermsComponent as aZ, type CheckoutTermsDelta as a_, CHECKOUT_MUTATION as aa, CHECKOUT_NEXT_ACTION as ab, CHECKOUT_ORDER_RESULT_STATUS as ac, CHECKOUT_PROTECTION_STATUS as ad, CHECKOUT_PURCHASE_SURFACE as ae, CHECKOUT_STATUS as af, CHECKOUT_STEP as ag, CHECKOUT_TERMS_COMPONENT as ah, CHECKOUT_TERMS_DELTA_KIND as ai, CONTACT_TYPE as aj, type CanonicalSourceAuthority as ak, type Cart as al, type CartAddOn as am, type CartChannel as an, type CartIntentCheckoutInput as ao, type CartItem as ap, type CartItemDetails as aq, type CartMutationResult as ar, type CartNotice as as, type CartStatus as at, type CartSummary as au, type CartTotals as av, type CategorySummary as aw, type CheckoutAddressInfo as ax, type CheckoutCartData as ay, type CheckoutCartItem as az, type Category as b, type ElementsAuthOptions as b$, type CollectionProduct as b0, type CollectionSummary as b1, type ComponentGroup as b2, type ComponentGroupWithComponents as b3, type ComponentPriceBreakdown as b4, type ComponentSchedulingData as b5, type ComponentSelectionInput as b6, type ComponentSourceType as b7, type Composite as b8, type CompositeComponent as b9, type DepositType as bA, type DestinationQuote as bB, type DestinationQuoteAddress as bC, type DestinationQuoteInput as bD, type DeviceType as bE, type DigitalProductType as bF, type DiscountBreakdown as bG, type DiscountDetails as bH, type DiscountValidation as bI, type DisplayAddOn as bJ, type DisplayAddOnOption as bK, type DisplayCart as bL, type DisplayCartItem as bM, type DisplayMode as bN, ELEMENTS_AUTH_CONTACT_TYPES as bO, ELEMENTS_AUTH_MODES as bP, ELEMENTS_AUTH_PROMPTS as bQ, ELEMENT_TYPES as bR, ERROR_HINTS as bS, EVENT_TYPES as bT, type ElementAppearance as bU, type ElementEventHandler as bV, type ElementEventType as bW, type ElementOptions as bX, type ElementType as bY, type ElementsAuthContactType as bZ, type ElementsAuthMode as b_, type CompositeComponentView as ba, type CompositeGroupView as bb, type CompositePriceBreakdown as bc, type CompositePriceResult as bd, type CompositePricingMode as be, type CompositeSelectionData as bf, type CompositeStoredSelection as bg, type CompositeWithDetails as bh, type ConfirmPurchaseIntentResponse as bi, type ContactType as bj, type CreateAddressInput as bk, type CreateMobileMoneyInput as bl, type CustomAttributeDefinition as bm, type CustomAttributeValue as bn, type Customer as bo, type CustomerAddress as bp, type CustomerInputValue as bq, type CustomerLinkPreferences as br, type CustomerMobileMoney as bs, DEFAULT_COUNTRY as bt, DEFAULT_CURRENCY as bu, DEVICE_TYPE as bv, DURATION_UNIT as bw, type DateRangeValue as bx, type Deal as by, type DealBenefitType as bz, CimplifyError as c, PURCHASE_INTENT_ACTION_DECISION as c$, type ElementsAuthPrompt as c0, type ElementsCheckoutData as c1, type ElementsCheckoutResult as c2, type ElementsCustomerInfo as c3, type ElementsOptions as c4, type EligiblePlansQuery as c5, type EnrollAndLinkOrderInput as c6, type EnrollAndLinkOrderResult as c7, type EnrollmentData as c8, ErrorCode as c9, MOBILE_MONEY_PROVIDER as cA, MOBILE_MONEY_TENDER_AUTHORITY_KIND as cB, type MeasurementValue as cC, type MintPurchaseIntentRequest as cD, type MobileMoneyData as cE, type MobileMoneyDetails as cF, type MobileMoneyProvider as cG, type MobileMoneyTenderPreference as cH, type Money as cI, NATIVE_PURCHASE_PLATFORM as cJ, type NativeAddOnSelection as cK, type NativePurchasePlatform as cL, type NextAction as cM, ORDER_MUTATION as cN, ORDER_TYPE as cO, type OfferRef as cP, type OrderType as cQ, PAYMENT_COLLECTION_MODE as cR, PAYMENT_INSTRUMENT_DISPLAY_KIND as cS, PAYMENT_METHOD as cT, PAYMENT_MUTATION as cU, PAYMENT_OPTION_NEXT_ACTION as cV, PAYMENT_OPTION_STATUS as cW, PAYMENT_STATE as cX, PICKUP_TIME_TYPE as cY, PRODUCT_TYPE as cZ, PURCHASE_DISPOSITION as c_, type ErrorCodeType as ca, type ErrorHint as cb, type FacetValue as cc, type FormattedPlanOption as cd, type GroupPricingBehavior as ce, INPUT_FIELD_TYPE as cf, IdempotencyMismatchError as cg, type IframeToParentMessage as ch, type InitializePaymentResult as ci, type InputFieldType as cj, type InputFieldValidation as ck, type InventoryType as cl, type KnowledgeArticle as cm, LEGACY_CHECKOUT_PAYMENT_METHOD_ALIAS as cn, LEGACY_CHECKOUT_PAYMENT_STATUS as co, LINK_MUTATION as cp, LINK_QUERY as cq, type LineConfiguration as cr, type LinkData as cs, type LinkEnrollResult as ct, type LinkSession as cu, type LinkStatusResult as cv, type LocationProductPrice as cw, type LocationValue as cx, MAX_PAYMENT_AUTHORIZATION_STEPS as cy, MESSAGE_TYPES as cz, type Collection as d, type PurchaseDisposition as d$, PURCHASE_INTENT_CONFIRM_STATUS as d0, PURCHASE_INTENT_ERROR_CODE as d1, PURCHASE_INTENT_LINE_CONFIGURATION_KIND as d2, PURCHASE_INTENT_MOBILE_MONEY_NETWORK as d3, PURCHASE_INTENT_OFFER_KIND as d4, PURCHASE_INTENT_PAYMENT_METHOD as d5, PURCHASE_INTENT_PAYMENT_PROVIDER as d6, PURCHASE_INTENT_RESOLUTION_KIND as d7, PURCHASE_INTENT_RESOLVE_STATUS as d8, PURCHASE_INTENT_SELLABLE_KIND as d9, type PickupTime as dA, type PickupTimeType as dB, type PreparePurchaseIntentRequest as dC, type Price as dD, type PriceAdjustment as dE, type PriceDecisionPath as dF, type PriceEntryType as dG, type PricePathTaxInfo as dH, type PriceSource as dI, type ProcessAndResolveOptions as dJ, type ProcessCheckoutOptions as dK, type ProcessCheckoutResult as dL, type ProductAddOn as dM, type ProductAvailability as dN, type ProductAvailabilityNow as dO, type ProductBillingPlan as dP, type ProductDealInfo as dQ, type ProductInputField as dR, type ProductProperty as dS, type ProductRenderHint as dT, type ProductTaxonomy as dU, type ProductTimeProfile as dV, type ProductType as dW, type ProductVariant as dX, type ProductVariantValue as dY, type PropertyFacet as dZ, type PropertySource as d_, PURCHASE_INTENT_SOURCE_KIND as da, PURCHASE_INTENT_STATUS as db, PURCHASE_SURFACE as dc, PURCHASING_PRINCIPAL_KIND as dd, type Pagination as de, type PaginationParams as df, type ParentToIframeMessage as dg, type Payment as dh, type PaymentAuthorizationKind as di, type PaymentAuthorizationSubmission as dj, type PaymentCollectionMode as dk, type PaymentErrorDetails as dl, type PaymentInstrumentDisplay as dm, type PaymentMethod as dn, type PaymentMethodInfo as dp, type PaymentMethodType as dq, type PaymentNextActionKind as dr, type PaymentOptionStatus as ds, type PaymentProcessingState as dt, type PaymentProvider as du, type PaymentProviderKind as dv, type PaymentResponse as dw, type PaymentStatus as dx, type PaymentStatusResponse as dy, type PhoneValue as dz, type ProductWithDetails as e, type VariantDetailsDTO as e$, type PurchaseIntentActionResponse as e0, type PurchaseIntentCustomerInput as e1, type PurchaseIntentLineConfiguration as e2, type PurchaseIntentLineInput as e3, type PurchaseIntentLinePricingView as e4, type PurchaseIntentLineView as e5, type PurchaseIntentMobileMoneyNetwork as e6, type PurchaseIntentResolution as e7, type PurchaseIntentReviewResponse as e8, type PurchaseIntentSimpleLineConfiguration as e9, type SubmitAuthorizationInput as eA, type SubmitPurchaseIntentActionRequest as eB, type Subscription as eC, type SubscriptionInvoice as eD, type SubscriptionItem as eE, type SubscriptionStatus as eF, type SubscriptionWithDetails as eG, type Tag as eH, type TagsResponse as eI, type TaxPathComponent as eJ, type TaxonomyAttributeTemplate as eK, type TaxonomyWithChildren as eL, type UICart as eM, type UICartBusiness as eN, type UICartCustomer as eO, type UICartLocation as eP, type UICartPricing as eQ, type UnavailableLine as eR, type UpdateAddressInput as eS, type UpdateCartItemInput as eT, type VariantAxis as eU, type VariantAxisSelection as eV, type VariantAxisValue as eW, type VariantAxisValueView as eX, type VariantAxisView as eY, type VariantAxisWithValues as eZ, type VariantDetails as e_, type PurchaseIntentSourceInput as ea, type PurchaseIntentStatus as eb, type PurchaseIntentTenderPreference as ec, type PurchaseIntentTerminalResponse as ed, type PurchaseIntentView as ee, type PurchasePolicyContext as ef, type PurchaseSurface as eg, type PurchasingPrincipal as eh, type QuantityPricingTier as ei, RENDER_HINT as ej, type RefreshCheckoutTermsRequest as ek, type RelatedProductView as el, type RequestOtpInput as em, type RequestOtpResult as en, type RevokeAllSessionsResult as eo, type RevokeSessionResult as ep, SOURCE_REFUSAL as eq, type SaleCapInfo as er, type SalesChannel as es, type SchedulingMode as et, type SelectedAddOnOption as eu, type SellableKind as ev, type SellableRef as ew, type SemanticKind as ex, type SignatureValue as ey, type SourceRefusal as ez, type CheckoutPaymentMethodKind as f, type VariantDisplayAttribute as f0, type VariantLocationAvailability as f1, type VariantStrategy as f2, type VariantView as f3, type VerifyOtpInput as f4, ZERO as f5, currencyCode as f6, enrichError as f7, getErrorHint as f8, isCimplifyError as f9, isIdempotencyMismatchError as fa, isQuoteConflictRequiringConsent as fb, isQuoteError as fc, isRetryableError as fd, isSupportedCurrency as fe, money as ff, moneyFromNumber as fg, type components as fh, type CheckoutTermsView as g, type PaymentOptionView as h, type ConfirmPurchaseIntentRequest as i, AUTHORIZATION_TYPE as j, AUTH_MUTATION as k, type AbortablePromise as l, type AddOn as m, type AddOnDetails as n, type AddOnGroupDetails as o, type AddOnOption as p, type AddOnOptionDetails as q, type AddOnOptionPrice as r, type AddOnWithOptions as s, type AddToCartInput as t, type AddressAuthorizationData as u, type AddressData as v, type AddressInfo as w, type AddressValue as x, type AdjustmentType as y, type AppliedDiscount as z };
|