@flowio/types 11.19.31 → 11.19.33
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/api-internal.d.ts +76 -3
- package/package.json +2 -2
- package/src/api-internal.ts +104 -1
package/dist/api-internal.d.ts
CHANGED
|
@@ -1948,6 +1948,7 @@ declare namespace io.flow.RESERVED_WORD_export.v0.models {
|
|
|
1948
1948
|
readonly item: io.flow.catalog.v0.models.LocalizedItemPrice;
|
|
1949
1949
|
readonly vat?: io.flow.catalog.v0.models.LocalizedItemVat;
|
|
1950
1950
|
readonly duty?: io.flow.catalog.v0.models.LocalizedItemDuty;
|
|
1951
|
+
readonly shipping_price?: io.flow.common.v0.models.Price;
|
|
1951
1952
|
readonly price_attributes: Record<string, io.flow.common.v0.models.PriceWithBase>;
|
|
1952
1953
|
}
|
|
1953
1954
|
interface ExportVersion {
|
|
@@ -9364,8 +9365,11 @@ declare namespace io.flow.internal.v0.enums {
|
|
|
9364
9365
|
type CheckoutAddressSource = 'inputs' | 'address_book';
|
|
9365
9366
|
type CheckoutAddressType = 'shipping' | 'invoicing';
|
|
9366
9367
|
type CheckoutAssetType = 'stylesheet' | 'javascript';
|
|
9368
|
+
type CheckoutBootstrapByOrderQuoteErrorCode = 'order_quote_not_found';
|
|
9369
|
+
type CheckoutBootstrapBySessionErrorCode = 'session_not_found' | 'session_experience_required' | 'country_not_supported';
|
|
9367
9370
|
type CheckoutCreateAuthorizationDetailsErrorCode = 'checkout_not_found' | 'authorization_details_payment_not_found';
|
|
9368
9371
|
type CheckoutCreateAuthorizationErrorCode = 'authorization_form_not_supported' | 'authorization_invalid_amount' | 'authorization_invalid_currency' | 'authorization_amount_exceeds_balance' | 'address_street1_required';
|
|
9372
|
+
type CheckoutCreateByOrderQuoteErrorCode = 'order_quote_not_found';
|
|
9369
9373
|
type CheckoutCreateBySessionByCustomerTokenErrorCode = 'session_not_found' | 'session_experience_required' | 'customer_token_invalid' | 'country_not_supported';
|
|
9370
9374
|
type CheckoutCreateBySessionByOrderErrorCode = 'session_not_found' | 'session_experience_required' | 'order_not_found' | 'country_not_supported';
|
|
9371
9375
|
type CheckoutCreateBySessionErrorCode = 'session_not_found' | 'session_experience_required' | 'country_not_supported';
|
|
@@ -10905,6 +10909,38 @@ declare namespace io.flow.internal.v0.models {
|
|
|
10905
10909
|
interface CheckoutBehaviorShippingMethod {
|
|
10906
10910
|
readonly prompt: io.flow.internal.v0.enums.CheckoutShippingMethodPromptBehavior;
|
|
10907
10911
|
}
|
|
10912
|
+
interface CheckoutBootstrapByOrderQuoteError {
|
|
10913
|
+
readonly code: io.flow.internal.v0.enums.CheckoutBootstrapByOrderQuoteErrorCode;
|
|
10914
|
+
readonly message: string;
|
|
10915
|
+
}
|
|
10916
|
+
interface CheckoutBootstrapByOrderQuoteRequestForm {
|
|
10917
|
+
readonly discriminator: 'checkout_bootstrap_by_order_quote_request_form';
|
|
10918
|
+
readonly order_quote_id: string;
|
|
10919
|
+
}
|
|
10920
|
+
interface CheckoutBootstrapByOrderQuoteResponseError {
|
|
10921
|
+
readonly discriminator: 'checkout_bootstrap_by_order_quote_response_error';
|
|
10922
|
+
readonly errors: io.flow.internal.v0.models.CheckoutBootstrapByOrderQuoteError[];
|
|
10923
|
+
}
|
|
10924
|
+
interface CheckoutBootstrapByOrderQuoteResponseSuccess {
|
|
10925
|
+
readonly discriminator: 'checkout_bootstrap_by_order_quote_response_success';
|
|
10926
|
+
readonly checkout: io.flow.internal.v0.models.V2Checkout;
|
|
10927
|
+
}
|
|
10928
|
+
interface CheckoutBootstrapBySessionError {
|
|
10929
|
+
readonly code: io.flow.internal.v0.enums.CheckoutBootstrapBySessionErrorCode;
|
|
10930
|
+
readonly message: string;
|
|
10931
|
+
}
|
|
10932
|
+
interface CheckoutBootstrapBySessionRequestForm {
|
|
10933
|
+
readonly discriminator: 'checkout_bootstrap_by_session_request_form';
|
|
10934
|
+
readonly session_id: string;
|
|
10935
|
+
}
|
|
10936
|
+
interface CheckoutBootstrapBySessionResponseError {
|
|
10937
|
+
readonly discriminator: 'checkout_bootstrap_by_session_response_error';
|
|
10938
|
+
readonly errors: io.flow.internal.v0.models.CheckoutBootstrapBySessionError[];
|
|
10939
|
+
}
|
|
10940
|
+
interface CheckoutBootstrapBySessionResponseSuccess {
|
|
10941
|
+
readonly discriminator: 'checkout_bootstrap_by_session_response_success';
|
|
10942
|
+
readonly checkout: io.flow.internal.v0.models.V2Checkout;
|
|
10943
|
+
}
|
|
10908
10944
|
interface CheckoutBundle {
|
|
10909
10945
|
readonly cart?: io.flow.shopify.v0.models.ShopifyCart;
|
|
10910
10946
|
readonly order: io.flow.experience.v0.models.Order;
|
|
@@ -11003,6 +11039,22 @@ declare namespace io.flow.internal.v0.models {
|
|
|
11003
11039
|
readonly code: io.flow.internal.v0.enums.CheckoutCreateAuthorizationErrorCode;
|
|
11004
11040
|
readonly message: string;
|
|
11005
11041
|
}
|
|
11042
|
+
interface CheckoutCreateByOrderQuoteError {
|
|
11043
|
+
readonly code: io.flow.internal.v0.enums.CheckoutCreateByOrderQuoteErrorCode;
|
|
11044
|
+
readonly message: string;
|
|
11045
|
+
}
|
|
11046
|
+
interface CheckoutCreateByOrderQuoteRequestForm {
|
|
11047
|
+
readonly discriminator: 'checkout_create_by_order_quote_request_form';
|
|
11048
|
+
readonly order_quote_id: string;
|
|
11049
|
+
}
|
|
11050
|
+
interface CheckoutCreateByOrderQuoteResponseError {
|
|
11051
|
+
readonly discriminator: 'checkout_create_by_order_quote_response_error';
|
|
11052
|
+
readonly errors: io.flow.internal.v0.models.CheckoutCreateByOrderQuoteError[];
|
|
11053
|
+
}
|
|
11054
|
+
interface CheckoutCreateByOrderQuoteResponseSuccess {
|
|
11055
|
+
readonly discriminator: 'checkout_create_by_order_quote_response_success';
|
|
11056
|
+
readonly checkout: io.flow.internal.v0.models.V2Checkout;
|
|
11057
|
+
}
|
|
11006
11058
|
interface CheckoutCreateBySessionByCustomerTokenError {
|
|
11007
11059
|
readonly code: io.flow.internal.v0.enums.CheckoutCreateBySessionByCustomerTokenErrorCode;
|
|
11008
11060
|
readonly message: string;
|
|
@@ -13971,7 +14023,7 @@ declare namespace io.flow.internal.v0.models {
|
|
|
13971
14023
|
}
|
|
13972
14024
|
interface HeapCheckoutEvent {
|
|
13973
14025
|
readonly discriminator: 'checkout_event';
|
|
13974
|
-
readonly
|
|
14026
|
+
readonly event_type?: io.flow.internal.v0.enums.BlazeCheckoutEvent;
|
|
13975
14027
|
readonly checkout_id?: string;
|
|
13976
14028
|
readonly experience_key?: string;
|
|
13977
14029
|
readonly experiment_key?: string;
|
|
@@ -17920,8 +17972,11 @@ declare namespace io.flow.internal.v0.unions {
|
|
|
17920
17972
|
type CheckoutAnalyticsDeliveryOption = io.flow.internal.v0.models.CheckoutAnalyticsPhysicalDeliveryOption | io.flow.internal.v0.models.CheckoutAnalyticsDigitalDeliveryOption;
|
|
17921
17973
|
type CheckoutAnalyticsOrder = io.flow.internal.v0.models.CheckoutAnalyticsOpenOrder | io.flow.internal.v0.models.CheckoutAnalyticsSubmittedOrder;
|
|
17922
17974
|
type CheckoutAnalyticsPayment = io.flow.internal.v0.models.CheckoutAnalyticsPaymentCard | io.flow.internal.v0.models.CheckoutAnalyticsPaymentGiftCard | io.flow.internal.v0.models.CheckoutAnalyticsPaymentOnline;
|
|
17975
|
+
type CheckoutBootstrapByOrderQuoteResponse = io.flow.internal.v0.models.CheckoutBootstrapByOrderQuoteResponseError | io.flow.internal.v0.models.CheckoutBootstrapByOrderQuoteResponseSuccess;
|
|
17976
|
+
type CheckoutBootstrapBySessionResponse = io.flow.internal.v0.models.CheckoutBootstrapBySessionResponseError | io.flow.internal.v0.models.CheckoutBootstrapBySessionResponseSuccess;
|
|
17923
17977
|
type CheckoutConfirmationDetails = io.flow.internal.v0.models.CheckoutDirectDebit;
|
|
17924
17978
|
type CheckoutCreateAuthorizationDetailsResponse = io.flow.internal.v0.models.CheckoutCreateAuthorizationDetailsResponseError | io.flow.internal.v0.models.CheckoutCreateAuthorizationDetailsResponseSuccess;
|
|
17979
|
+
type CheckoutCreateByOrderQuoteResponse = io.flow.internal.v0.models.CheckoutCreateByOrderQuoteResponseError | io.flow.internal.v0.models.CheckoutCreateByOrderQuoteResponseSuccess;
|
|
17925
17980
|
type CheckoutCreateBySessionByCustomerTokenResponse = io.flow.internal.v0.models.CheckoutCreateBySessionByCustomerTokenResponseError | io.flow.internal.v0.models.CheckoutCreateBySessionByCustomerTokenResponseSuccess;
|
|
17926
17981
|
type CheckoutCreateBySessionByOrderResponse = io.flow.internal.v0.models.CheckoutCreateBySessionByOrderResponseError | io.flow.internal.v0.models.CheckoutCreateBySessionByOrderResponseSuccess;
|
|
17927
17982
|
type CheckoutCreateBySessionResponse = io.flow.internal.v0.models.CheckoutCreateBySessionResponseError | io.flow.internal.v0.models.CheckoutCreateBySessionResponseSuccess;
|
|
@@ -17940,8 +17995,8 @@ declare namespace io.flow.internal.v0.unions {
|
|
|
17940
17995
|
type CheckoutPaymentActionRequirement = io.flow.internal.v0.models.CheckoutRedirectAuthorizationRequirement | io.flow.internal.v0.models.CheckoutInlineAuthorizationRequirement | io.flow.internal.v0.models.CheckoutDirectAuthorizationRequirement;
|
|
17941
17996
|
type CheckoutPaymentDetailsForm = io.flow.internal.v0.models.CheckoutPaypalAuthorizationPayload | io.flow.internal.v0.models.CheckoutGooglePayAuthorizationPayload | io.flow.internal.v0.models.CheckoutCreditPaymentPayload;
|
|
17942
17997
|
type CheckoutPrice = io.flow.internal.v0.models.CheckoutPriceFree | io.flow.internal.v0.models.CheckoutPriceNotYetKnown | io.flow.internal.v0.models.CheckoutPriceIncluded | io.flow.internal.v0.models.CheckoutPriceStandard | io.flow.internal.v0.models.CheckoutPriceEstimated;
|
|
17943
|
-
type CheckoutRequestForm = io.flow.internal.v0.models.CheckoutCreateAuthorizationDetailsRequestForm | io.flow.internal.v0.models.CheckoutCreateBySessionByCustomerTokenRequestForm | io.flow.internal.v0.models.CheckoutCreateBySessionByOrderRequestForm | io.flow.internal.v0.models.CheckoutCreateBySessionRequestForm | io.flow.internal.v0.models.CheckoutFeaturesRequestForm | io.flow.internal.v0.models.CheckoutGetRequestForm;
|
|
17944
|
-
type CheckoutResponse = io.flow.internal.v0.models.CheckoutCreateAuthorizationDetailsResponseError | io.flow.internal.v0.models.CheckoutCreateAuthorizationDetailsResponseSuccess | io.flow.internal.v0.models.CheckoutCreateBySessionByCustomerTokenResponseError | io.flow.internal.v0.models.CheckoutCreateBySessionByCustomerTokenResponseSuccess | io.flow.internal.v0.models.CheckoutCreateBySessionByOrderResponseError | io.flow.internal.v0.models.CheckoutCreateBySessionByOrderResponseSuccess | io.flow.internal.v0.models.CheckoutCreateBySessionResponseError | io.flow.internal.v0.models.CheckoutCreateBySessionResponseSuccess | io.flow.internal.v0.models.CheckoutFeaturesResponseError | io.flow.internal.v0.models.CheckoutFeaturesResponseSuccess | io.flow.internal.v0.models.CheckoutGetResponseError | io.flow.internal.v0.models.CheckoutGetResponseSuccess;
|
|
17998
|
+
type CheckoutRequestForm = io.flow.internal.v0.models.CheckoutBootstrapByOrderQuoteRequestForm | io.flow.internal.v0.models.CheckoutBootstrapBySessionRequestForm | io.flow.internal.v0.models.CheckoutCreateAuthorizationDetailsRequestForm | io.flow.internal.v0.models.CheckoutCreateByOrderQuoteRequestForm | io.flow.internal.v0.models.CheckoutCreateBySessionByCustomerTokenRequestForm | io.flow.internal.v0.models.CheckoutCreateBySessionByOrderRequestForm | io.flow.internal.v0.models.CheckoutCreateBySessionRequestForm | io.flow.internal.v0.models.CheckoutFeaturesRequestForm | io.flow.internal.v0.models.CheckoutGetRequestForm;
|
|
17999
|
+
type CheckoutResponse = io.flow.internal.v0.models.CheckoutBootstrapByOrderQuoteResponseError | io.flow.internal.v0.models.CheckoutBootstrapByOrderQuoteResponseSuccess | io.flow.internal.v0.models.CheckoutBootstrapBySessionResponseError | io.flow.internal.v0.models.CheckoutBootstrapBySessionResponseSuccess | io.flow.internal.v0.models.CheckoutCreateAuthorizationDetailsResponseError | io.flow.internal.v0.models.CheckoutCreateAuthorizationDetailsResponseSuccess | io.flow.internal.v0.models.CheckoutCreateByOrderQuoteResponseError | io.flow.internal.v0.models.CheckoutCreateByOrderQuoteResponseSuccess | io.flow.internal.v0.models.CheckoutCreateBySessionByCustomerTokenResponseError | io.flow.internal.v0.models.CheckoutCreateBySessionByCustomerTokenResponseSuccess | io.flow.internal.v0.models.CheckoutCreateBySessionByOrderResponseError | io.flow.internal.v0.models.CheckoutCreateBySessionByOrderResponseSuccess | io.flow.internal.v0.models.CheckoutCreateBySessionResponseError | io.flow.internal.v0.models.CheckoutCreateBySessionResponseSuccess | io.flow.internal.v0.models.CheckoutFeaturesResponseError | io.flow.internal.v0.models.CheckoutFeaturesResponseSuccess | io.flow.internal.v0.models.CheckoutGetResponseError | io.flow.internal.v0.models.CheckoutGetResponseSuccess;
|
|
17945
18000
|
type CheckoutSequencedAddAuthorizationResponse = io.flow.internal.v0.models.CheckoutSequencedAddAuthorizationResponseError | io.flow.internal.v0.models.CheckoutSequencedAddAuthorizationResponseSuccess;
|
|
17946
18001
|
type CheckoutSequencedAddGiftCardAndPromotionCodeResponse = io.flow.internal.v0.models.CheckoutSequencedAddGiftCardAndPromotionCodeResponseError;
|
|
17947
18002
|
type CheckoutSequencedAddGiftCardResponse = io.flow.internal.v0.models.CheckoutSequencedAddGiftCardResponseError;
|
|
@@ -18320,6 +18375,18 @@ export declare type CheckoutBehaviorCustomerInfo = io.flow.internal.v0.models.Ch
|
|
|
18320
18375
|
export declare type CheckoutBehaviorCustomerInfoEmail = io.flow.internal.v0.models.CheckoutBehaviorCustomerInfoEmail;
|
|
18321
18376
|
export declare type CheckoutBehaviorShippingAddress = io.flow.internal.v0.models.CheckoutBehaviorShippingAddress;
|
|
18322
18377
|
export declare type CheckoutBehaviorShippingMethod = io.flow.internal.v0.models.CheckoutBehaviorShippingMethod;
|
|
18378
|
+
export declare type CheckoutBootstrapByOrderQuoteError = io.flow.internal.v0.models.CheckoutBootstrapByOrderQuoteError;
|
|
18379
|
+
export declare type CheckoutBootstrapByOrderQuoteErrorCode = io.flow.internal.v0.enums.CheckoutBootstrapByOrderQuoteErrorCode;
|
|
18380
|
+
export declare type CheckoutBootstrapByOrderQuoteRequestForm = io.flow.internal.v0.models.CheckoutBootstrapByOrderQuoteRequestForm;
|
|
18381
|
+
export declare type CheckoutBootstrapByOrderQuoteResponse = io.flow.internal.v0.unions.CheckoutBootstrapByOrderQuoteResponse;
|
|
18382
|
+
export declare type CheckoutBootstrapByOrderQuoteResponseError = io.flow.internal.v0.models.CheckoutBootstrapByOrderQuoteResponseError;
|
|
18383
|
+
export declare type CheckoutBootstrapByOrderQuoteResponseSuccess = io.flow.internal.v0.models.CheckoutBootstrapByOrderQuoteResponseSuccess;
|
|
18384
|
+
export declare type CheckoutBootstrapBySessionError = io.flow.internal.v0.models.CheckoutBootstrapBySessionError;
|
|
18385
|
+
export declare type CheckoutBootstrapBySessionErrorCode = io.flow.internal.v0.enums.CheckoutBootstrapBySessionErrorCode;
|
|
18386
|
+
export declare type CheckoutBootstrapBySessionRequestForm = io.flow.internal.v0.models.CheckoutBootstrapBySessionRequestForm;
|
|
18387
|
+
export declare type CheckoutBootstrapBySessionResponse = io.flow.internal.v0.unions.CheckoutBootstrapBySessionResponse;
|
|
18388
|
+
export declare type CheckoutBootstrapBySessionResponseError = io.flow.internal.v0.models.CheckoutBootstrapBySessionResponseError;
|
|
18389
|
+
export declare type CheckoutBootstrapBySessionResponseSuccess = io.flow.internal.v0.models.CheckoutBootstrapBySessionResponseSuccess;
|
|
18323
18390
|
export declare type CheckoutBundle = io.flow.internal.v0.models.CheckoutBundle;
|
|
18324
18391
|
export declare type CheckoutBundleMetadata = io.flow.internal.v0.models.CheckoutBundleMetadata;
|
|
18325
18392
|
export declare type CheckoutConfiguration = io.flow.internal.v0.models.CheckoutConfiguration;
|
|
@@ -18341,6 +18408,12 @@ export declare type CheckoutCreateAuthorizationDetailsResponseError = io.flow.in
|
|
|
18341
18408
|
export declare type CheckoutCreateAuthorizationDetailsResponseSuccess = io.flow.internal.v0.models.CheckoutCreateAuthorizationDetailsResponseSuccess;
|
|
18342
18409
|
export declare type CheckoutCreateAuthorizationError = io.flow.internal.v0.models.CheckoutCreateAuthorizationError;
|
|
18343
18410
|
export declare type CheckoutCreateAuthorizationErrorCode = io.flow.internal.v0.enums.CheckoutCreateAuthorizationErrorCode;
|
|
18411
|
+
export declare type CheckoutCreateByOrderQuoteError = io.flow.internal.v0.models.CheckoutCreateByOrderQuoteError;
|
|
18412
|
+
export declare type CheckoutCreateByOrderQuoteErrorCode = io.flow.internal.v0.enums.CheckoutCreateByOrderQuoteErrorCode;
|
|
18413
|
+
export declare type CheckoutCreateByOrderQuoteRequestForm = io.flow.internal.v0.models.CheckoutCreateByOrderQuoteRequestForm;
|
|
18414
|
+
export declare type CheckoutCreateByOrderQuoteResponse = io.flow.internal.v0.unions.CheckoutCreateByOrderQuoteResponse;
|
|
18415
|
+
export declare type CheckoutCreateByOrderQuoteResponseError = io.flow.internal.v0.models.CheckoutCreateByOrderQuoteResponseError;
|
|
18416
|
+
export declare type CheckoutCreateByOrderQuoteResponseSuccess = io.flow.internal.v0.models.CheckoutCreateByOrderQuoteResponseSuccess;
|
|
18344
18417
|
export declare type CheckoutCreateBySessionByCustomerTokenError = io.flow.internal.v0.models.CheckoutCreateBySessionByCustomerTokenError;
|
|
18345
18418
|
export declare type CheckoutCreateBySessionByCustomerTokenErrorCode = io.flow.internal.v0.enums.CheckoutCreateBySessionByCustomerTokenErrorCode;
|
|
18346
18419
|
export declare type CheckoutCreateBySessionByCustomerTokenRequestForm = io.flow.internal.v0.models.CheckoutCreateBySessionByCustomerTokenRequestForm;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@flowio/types",
|
|
3
|
-
"version": "11.19.
|
|
3
|
+
"version": "11.19.33",
|
|
4
4
|
"description": "TypeScript type definitions for custom types found in Flow API",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -25,5 +25,5 @@
|
|
|
25
25
|
"maintainers": [
|
|
26
26
|
"Christian Muñoz <christian.munoz@flow.io>"
|
|
27
27
|
],
|
|
28
|
-
"gitHead": "
|
|
28
|
+
"gitHead": "8a48fda35625671b87498128b88f238457500d78"
|
|
29
29
|
}
|
package/src/api-internal.ts
CHANGED
|
@@ -2499,6 +2499,7 @@ declare namespace io.flow.RESERVED_WORD_export.v0.models {
|
|
|
2499
2499
|
readonly item: io.flow.catalog.v0.models.LocalizedItemPrice;
|
|
2500
2500
|
readonly vat?: io.flow.catalog.v0.models.LocalizedItemVat;
|
|
2501
2501
|
readonly duty?: io.flow.catalog.v0.models.LocalizedItemDuty;
|
|
2502
|
+
readonly shipping_price?: io.flow.common.v0.models.Price;
|
|
2502
2503
|
readonly price_attributes: Record<
|
|
2503
2504
|
string,
|
|
2504
2505
|
io.flow.common.v0.models.PriceWithBase
|
|
@@ -12256,6 +12257,11 @@ declare namespace io.flow.internal.v0.enums {
|
|
|
12256
12257
|
type CheckoutAddressSource = 'inputs' | 'address_book';
|
|
12257
12258
|
type CheckoutAddressType = 'shipping' | 'invoicing';
|
|
12258
12259
|
type CheckoutAssetType = 'stylesheet' | 'javascript';
|
|
12260
|
+
type CheckoutBootstrapByOrderQuoteErrorCode = 'order_quote_not_found';
|
|
12261
|
+
type CheckoutBootstrapBySessionErrorCode =
|
|
12262
|
+
| 'session_not_found'
|
|
12263
|
+
| 'session_experience_required'
|
|
12264
|
+
| 'country_not_supported';
|
|
12259
12265
|
type CheckoutCreateAuthorizationDetailsErrorCode =
|
|
12260
12266
|
| 'checkout_not_found'
|
|
12261
12267
|
| 'authorization_details_payment_not_found';
|
|
@@ -12265,6 +12271,7 @@ declare namespace io.flow.internal.v0.enums {
|
|
|
12265
12271
|
| 'authorization_invalid_currency'
|
|
12266
12272
|
| 'authorization_amount_exceeds_balance'
|
|
12267
12273
|
| 'address_street1_required';
|
|
12274
|
+
type CheckoutCreateByOrderQuoteErrorCode = 'order_quote_not_found';
|
|
12268
12275
|
type CheckoutCreateBySessionByCustomerTokenErrorCode =
|
|
12269
12276
|
| 'session_not_found'
|
|
12270
12277
|
| 'session_experience_required'
|
|
@@ -14605,6 +14612,46 @@ declare namespace io.flow.internal.v0.models {
|
|
|
14605
14612
|
readonly prompt: io.flow.internal.v0.enums.CheckoutShippingMethodPromptBehavior;
|
|
14606
14613
|
}
|
|
14607
14614
|
|
|
14615
|
+
interface CheckoutBootstrapByOrderQuoteError {
|
|
14616
|
+
readonly code: io.flow.internal.v0.enums.CheckoutBootstrapByOrderQuoteErrorCode;
|
|
14617
|
+
readonly message: string;
|
|
14618
|
+
}
|
|
14619
|
+
|
|
14620
|
+
interface CheckoutBootstrapByOrderQuoteRequestForm {
|
|
14621
|
+
readonly discriminator: 'checkout_bootstrap_by_order_quote_request_form';
|
|
14622
|
+
readonly order_quote_id: string;
|
|
14623
|
+
}
|
|
14624
|
+
|
|
14625
|
+
interface CheckoutBootstrapByOrderQuoteResponseError {
|
|
14626
|
+
readonly discriminator: 'checkout_bootstrap_by_order_quote_response_error';
|
|
14627
|
+
readonly errors: io.flow.internal.v0.models.CheckoutBootstrapByOrderQuoteError[];
|
|
14628
|
+
}
|
|
14629
|
+
|
|
14630
|
+
interface CheckoutBootstrapByOrderQuoteResponseSuccess {
|
|
14631
|
+
readonly discriminator: 'checkout_bootstrap_by_order_quote_response_success';
|
|
14632
|
+
readonly checkout: io.flow.internal.v0.models.V2Checkout;
|
|
14633
|
+
}
|
|
14634
|
+
|
|
14635
|
+
interface CheckoutBootstrapBySessionError {
|
|
14636
|
+
readonly code: io.flow.internal.v0.enums.CheckoutBootstrapBySessionErrorCode;
|
|
14637
|
+
readonly message: string;
|
|
14638
|
+
}
|
|
14639
|
+
|
|
14640
|
+
interface CheckoutBootstrapBySessionRequestForm {
|
|
14641
|
+
readonly discriminator: 'checkout_bootstrap_by_session_request_form';
|
|
14642
|
+
readonly session_id: string;
|
|
14643
|
+
}
|
|
14644
|
+
|
|
14645
|
+
interface CheckoutBootstrapBySessionResponseError {
|
|
14646
|
+
readonly discriminator: 'checkout_bootstrap_by_session_response_error';
|
|
14647
|
+
readonly errors: io.flow.internal.v0.models.CheckoutBootstrapBySessionError[];
|
|
14648
|
+
}
|
|
14649
|
+
|
|
14650
|
+
interface CheckoutBootstrapBySessionResponseSuccess {
|
|
14651
|
+
readonly discriminator: 'checkout_bootstrap_by_session_response_success';
|
|
14652
|
+
readonly checkout: io.flow.internal.v0.models.V2Checkout;
|
|
14653
|
+
}
|
|
14654
|
+
|
|
14608
14655
|
interface CheckoutBundle {
|
|
14609
14656
|
readonly cart?: io.flow.shopify.v0.models.ShopifyCart;
|
|
14610
14657
|
readonly order: io.flow.experience.v0.models.Order;
|
|
@@ -14720,6 +14767,26 @@ declare namespace io.flow.internal.v0.models {
|
|
|
14720
14767
|
readonly message: string;
|
|
14721
14768
|
}
|
|
14722
14769
|
|
|
14770
|
+
interface CheckoutCreateByOrderQuoteError {
|
|
14771
|
+
readonly code: io.flow.internal.v0.enums.CheckoutCreateByOrderQuoteErrorCode;
|
|
14772
|
+
readonly message: string;
|
|
14773
|
+
}
|
|
14774
|
+
|
|
14775
|
+
interface CheckoutCreateByOrderQuoteRequestForm {
|
|
14776
|
+
readonly discriminator: 'checkout_create_by_order_quote_request_form';
|
|
14777
|
+
readonly order_quote_id: string;
|
|
14778
|
+
}
|
|
14779
|
+
|
|
14780
|
+
interface CheckoutCreateByOrderQuoteResponseError {
|
|
14781
|
+
readonly discriminator: 'checkout_create_by_order_quote_response_error';
|
|
14782
|
+
readonly errors: io.flow.internal.v0.models.CheckoutCreateByOrderQuoteError[];
|
|
14783
|
+
}
|
|
14784
|
+
|
|
14785
|
+
interface CheckoutCreateByOrderQuoteResponseSuccess {
|
|
14786
|
+
readonly discriminator: 'checkout_create_by_order_quote_response_success';
|
|
14787
|
+
readonly checkout: io.flow.internal.v0.models.V2Checkout;
|
|
14788
|
+
}
|
|
14789
|
+
|
|
14723
14790
|
interface CheckoutCreateBySessionByCustomerTokenError {
|
|
14724
14791
|
readonly code: io.flow.internal.v0.enums.CheckoutCreateBySessionByCustomerTokenErrorCode;
|
|
14725
14792
|
readonly message: string;
|
|
@@ -18252,7 +18319,7 @@ declare namespace io.flow.internal.v0.models {
|
|
|
18252
18319
|
|
|
18253
18320
|
interface HeapCheckoutEvent {
|
|
18254
18321
|
readonly discriminator: 'checkout_event';
|
|
18255
|
-
readonly
|
|
18322
|
+
readonly event_type?: io.flow.internal.v0.enums.BlazeCheckoutEvent;
|
|
18256
18323
|
readonly checkout_id?: string;
|
|
18257
18324
|
readonly experience_key?: string;
|
|
18258
18325
|
readonly experiment_key?: string;
|
|
@@ -22828,10 +22895,19 @@ declare namespace io.flow.internal.v0.unions {
|
|
|
22828
22895
|
| io.flow.internal.v0.models.CheckoutAnalyticsPaymentCard
|
|
22829
22896
|
| io.flow.internal.v0.models.CheckoutAnalyticsPaymentGiftCard
|
|
22830
22897
|
| io.flow.internal.v0.models.CheckoutAnalyticsPaymentOnline;
|
|
22898
|
+
type CheckoutBootstrapByOrderQuoteResponse =
|
|
22899
|
+
| io.flow.internal.v0.models.CheckoutBootstrapByOrderQuoteResponseError
|
|
22900
|
+
| io.flow.internal.v0.models.CheckoutBootstrapByOrderQuoteResponseSuccess;
|
|
22901
|
+
type CheckoutBootstrapBySessionResponse =
|
|
22902
|
+
| io.flow.internal.v0.models.CheckoutBootstrapBySessionResponseError
|
|
22903
|
+
| io.flow.internal.v0.models.CheckoutBootstrapBySessionResponseSuccess;
|
|
22831
22904
|
type CheckoutConfirmationDetails = io.flow.internal.v0.models.CheckoutDirectDebit;
|
|
22832
22905
|
type CheckoutCreateAuthorizationDetailsResponse =
|
|
22833
22906
|
| io.flow.internal.v0.models.CheckoutCreateAuthorizationDetailsResponseError
|
|
22834
22907
|
| io.flow.internal.v0.models.CheckoutCreateAuthorizationDetailsResponseSuccess;
|
|
22908
|
+
type CheckoutCreateByOrderQuoteResponse =
|
|
22909
|
+
| io.flow.internal.v0.models.CheckoutCreateByOrderQuoteResponseError
|
|
22910
|
+
| io.flow.internal.v0.models.CheckoutCreateByOrderQuoteResponseSuccess;
|
|
22835
22911
|
type CheckoutCreateBySessionByCustomerTokenResponse =
|
|
22836
22912
|
| io.flow.internal.v0.models.CheckoutCreateBySessionByCustomerTokenResponseError
|
|
22837
22913
|
| io.flow.internal.v0.models.CheckoutCreateBySessionByCustomerTokenResponseSuccess;
|
|
@@ -22935,15 +23011,24 @@ declare namespace io.flow.internal.v0.unions {
|
|
|
22935
23011
|
| io.flow.internal.v0.models.CheckoutPriceStandard
|
|
22936
23012
|
| io.flow.internal.v0.models.CheckoutPriceEstimated;
|
|
22937
23013
|
type CheckoutRequestForm =
|
|
23014
|
+
| io.flow.internal.v0.models.CheckoutBootstrapByOrderQuoteRequestForm
|
|
23015
|
+
| io.flow.internal.v0.models.CheckoutBootstrapBySessionRequestForm
|
|
22938
23016
|
| io.flow.internal.v0.models.CheckoutCreateAuthorizationDetailsRequestForm
|
|
23017
|
+
| io.flow.internal.v0.models.CheckoutCreateByOrderQuoteRequestForm
|
|
22939
23018
|
| io.flow.internal.v0.models.CheckoutCreateBySessionByCustomerTokenRequestForm
|
|
22940
23019
|
| io.flow.internal.v0.models.CheckoutCreateBySessionByOrderRequestForm
|
|
22941
23020
|
| io.flow.internal.v0.models.CheckoutCreateBySessionRequestForm
|
|
22942
23021
|
| io.flow.internal.v0.models.CheckoutFeaturesRequestForm
|
|
22943
23022
|
| io.flow.internal.v0.models.CheckoutGetRequestForm;
|
|
22944
23023
|
type CheckoutResponse =
|
|
23024
|
+
| io.flow.internal.v0.models.CheckoutBootstrapByOrderQuoteResponseError
|
|
23025
|
+
| io.flow.internal.v0.models.CheckoutBootstrapByOrderQuoteResponseSuccess
|
|
23026
|
+
| io.flow.internal.v0.models.CheckoutBootstrapBySessionResponseError
|
|
23027
|
+
| io.flow.internal.v0.models.CheckoutBootstrapBySessionResponseSuccess
|
|
22945
23028
|
| io.flow.internal.v0.models.CheckoutCreateAuthorizationDetailsResponseError
|
|
22946
23029
|
| io.flow.internal.v0.models.CheckoutCreateAuthorizationDetailsResponseSuccess
|
|
23030
|
+
| io.flow.internal.v0.models.CheckoutCreateByOrderQuoteResponseError
|
|
23031
|
+
| io.flow.internal.v0.models.CheckoutCreateByOrderQuoteResponseSuccess
|
|
22947
23032
|
| io.flow.internal.v0.models.CheckoutCreateBySessionByCustomerTokenResponseError
|
|
22948
23033
|
| io.flow.internal.v0.models.CheckoutCreateBySessionByCustomerTokenResponseSuccess
|
|
22949
23034
|
| io.flow.internal.v0.models.CheckoutCreateBySessionByOrderResponseError
|
|
@@ -23851,6 +23936,18 @@ export type CheckoutBehaviorCustomerInfo = io.flow.internal.v0.models.CheckoutBe
|
|
|
23851
23936
|
export type CheckoutBehaviorCustomerInfoEmail = io.flow.internal.v0.models.CheckoutBehaviorCustomerInfoEmail;
|
|
23852
23937
|
export type CheckoutBehaviorShippingAddress = io.flow.internal.v0.models.CheckoutBehaviorShippingAddress;
|
|
23853
23938
|
export type CheckoutBehaviorShippingMethod = io.flow.internal.v0.models.CheckoutBehaviorShippingMethod;
|
|
23939
|
+
export type CheckoutBootstrapByOrderQuoteError = io.flow.internal.v0.models.CheckoutBootstrapByOrderQuoteError;
|
|
23940
|
+
export type CheckoutBootstrapByOrderQuoteErrorCode = io.flow.internal.v0.enums.CheckoutBootstrapByOrderQuoteErrorCode;
|
|
23941
|
+
export type CheckoutBootstrapByOrderQuoteRequestForm = io.flow.internal.v0.models.CheckoutBootstrapByOrderQuoteRequestForm;
|
|
23942
|
+
export type CheckoutBootstrapByOrderQuoteResponse = io.flow.internal.v0.unions.CheckoutBootstrapByOrderQuoteResponse;
|
|
23943
|
+
export type CheckoutBootstrapByOrderQuoteResponseError = io.flow.internal.v0.models.CheckoutBootstrapByOrderQuoteResponseError;
|
|
23944
|
+
export type CheckoutBootstrapByOrderQuoteResponseSuccess = io.flow.internal.v0.models.CheckoutBootstrapByOrderQuoteResponseSuccess;
|
|
23945
|
+
export type CheckoutBootstrapBySessionError = io.flow.internal.v0.models.CheckoutBootstrapBySessionError;
|
|
23946
|
+
export type CheckoutBootstrapBySessionErrorCode = io.flow.internal.v0.enums.CheckoutBootstrapBySessionErrorCode;
|
|
23947
|
+
export type CheckoutBootstrapBySessionRequestForm = io.flow.internal.v0.models.CheckoutBootstrapBySessionRequestForm;
|
|
23948
|
+
export type CheckoutBootstrapBySessionResponse = io.flow.internal.v0.unions.CheckoutBootstrapBySessionResponse;
|
|
23949
|
+
export type CheckoutBootstrapBySessionResponseError = io.flow.internal.v0.models.CheckoutBootstrapBySessionResponseError;
|
|
23950
|
+
export type CheckoutBootstrapBySessionResponseSuccess = io.flow.internal.v0.models.CheckoutBootstrapBySessionResponseSuccess;
|
|
23854
23951
|
export type CheckoutBundle = io.flow.internal.v0.models.CheckoutBundle;
|
|
23855
23952
|
export type CheckoutBundleMetadata = io.flow.internal.v0.models.CheckoutBundleMetadata;
|
|
23856
23953
|
export type CheckoutConfiguration = io.flow.internal.v0.models.CheckoutConfiguration;
|
|
@@ -23872,6 +23969,12 @@ export type CheckoutCreateAuthorizationDetailsResponseError = io.flow.internal.v
|
|
|
23872
23969
|
export type CheckoutCreateAuthorizationDetailsResponseSuccess = io.flow.internal.v0.models.CheckoutCreateAuthorizationDetailsResponseSuccess;
|
|
23873
23970
|
export type CheckoutCreateAuthorizationError = io.flow.internal.v0.models.CheckoutCreateAuthorizationError;
|
|
23874
23971
|
export type CheckoutCreateAuthorizationErrorCode = io.flow.internal.v0.enums.CheckoutCreateAuthorizationErrorCode;
|
|
23972
|
+
export type CheckoutCreateByOrderQuoteError = io.flow.internal.v0.models.CheckoutCreateByOrderQuoteError;
|
|
23973
|
+
export type CheckoutCreateByOrderQuoteErrorCode = io.flow.internal.v0.enums.CheckoutCreateByOrderQuoteErrorCode;
|
|
23974
|
+
export type CheckoutCreateByOrderQuoteRequestForm = io.flow.internal.v0.models.CheckoutCreateByOrderQuoteRequestForm;
|
|
23975
|
+
export type CheckoutCreateByOrderQuoteResponse = io.flow.internal.v0.unions.CheckoutCreateByOrderQuoteResponse;
|
|
23976
|
+
export type CheckoutCreateByOrderQuoteResponseError = io.flow.internal.v0.models.CheckoutCreateByOrderQuoteResponseError;
|
|
23977
|
+
export type CheckoutCreateByOrderQuoteResponseSuccess = io.flow.internal.v0.models.CheckoutCreateByOrderQuoteResponseSuccess;
|
|
23875
23978
|
export type CheckoutCreateBySessionByCustomerTokenError = io.flow.internal.v0.models.CheckoutCreateBySessionByCustomerTokenError;
|
|
23876
23979
|
export type CheckoutCreateBySessionByCustomerTokenErrorCode = io.flow.internal.v0.enums.CheckoutCreateBySessionByCustomerTokenErrorCode;
|
|
23877
23980
|
export type CheckoutCreateBySessionByCustomerTokenRequestForm = io.flow.internal.v0.models.CheckoutCreateBySessionByCustomerTokenRequestForm;
|