@flowio/types 11.19.30 → 11.19.32

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.
@@ -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;
@@ -13969,6 +14021,18 @@ declare namespace io.flow.internal.v0.models {
13969
14021
  readonly visit_id?: string;
13970
14022
  readonly visitor_id?: string;
13971
14023
  }
14024
+ interface HeapCheckoutEvent {
14025
+ readonly discriminator: 'checkout_event';
14026
+ readonly message: io.flow.internal.v0.models.BlazeCheckoutEventMessage;
14027
+ readonly checkout_id?: string;
14028
+ readonly experience_key?: string;
14029
+ readonly experiment_key?: string;
14030
+ readonly experiment_variant_key?: string;
14031
+ readonly order_number?: string;
14032
+ readonly organization_id?: string;
14033
+ readonly visit_id?: string;
14034
+ readonly visitor_id?: string;
14035
+ }
13972
14036
  interface HeapCheckoutProgress {
13973
14037
  readonly discriminator: 'checkout_progress';
13974
14038
  readonly checkout_id?: string;
@@ -17908,8 +17972,11 @@ declare namespace io.flow.internal.v0.unions {
17908
17972
  type CheckoutAnalyticsDeliveryOption = io.flow.internal.v0.models.CheckoutAnalyticsPhysicalDeliveryOption | io.flow.internal.v0.models.CheckoutAnalyticsDigitalDeliveryOption;
17909
17973
  type CheckoutAnalyticsOrder = io.flow.internal.v0.models.CheckoutAnalyticsOpenOrder | io.flow.internal.v0.models.CheckoutAnalyticsSubmittedOrder;
17910
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;
17911
17977
  type CheckoutConfirmationDetails = io.flow.internal.v0.models.CheckoutDirectDebit;
17912
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;
17913
17980
  type CheckoutCreateBySessionByCustomerTokenResponse = io.flow.internal.v0.models.CheckoutCreateBySessionByCustomerTokenResponseError | io.flow.internal.v0.models.CheckoutCreateBySessionByCustomerTokenResponseSuccess;
17914
17981
  type CheckoutCreateBySessionByOrderResponse = io.flow.internal.v0.models.CheckoutCreateBySessionByOrderResponseError | io.flow.internal.v0.models.CheckoutCreateBySessionByOrderResponseSuccess;
17915
17982
  type CheckoutCreateBySessionResponse = io.flow.internal.v0.models.CheckoutCreateBySessionResponseError | io.flow.internal.v0.models.CheckoutCreateBySessionResponseSuccess;
@@ -17928,8 +17995,8 @@ declare namespace io.flow.internal.v0.unions {
17928
17995
  type CheckoutPaymentActionRequirement = io.flow.internal.v0.models.CheckoutRedirectAuthorizationRequirement | io.flow.internal.v0.models.CheckoutInlineAuthorizationRequirement | io.flow.internal.v0.models.CheckoutDirectAuthorizationRequirement;
17929
17996
  type CheckoutPaymentDetailsForm = io.flow.internal.v0.models.CheckoutPaypalAuthorizationPayload | io.flow.internal.v0.models.CheckoutGooglePayAuthorizationPayload | io.flow.internal.v0.models.CheckoutCreditPaymentPayload;
17930
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;
17931
- 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;
17932
- 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;
17933
18000
  type CheckoutSequencedAddAuthorizationResponse = io.flow.internal.v0.models.CheckoutSequencedAddAuthorizationResponseError | io.flow.internal.v0.models.CheckoutSequencedAddAuthorizationResponseSuccess;
17934
18001
  type CheckoutSequencedAddGiftCardAndPromotionCodeResponse = io.flow.internal.v0.models.CheckoutSequencedAddGiftCardAndPromotionCodeResponseError;
17935
18002
  type CheckoutSequencedAddGiftCardResponse = io.flow.internal.v0.models.CheckoutSequencedAddGiftCardResponseError;
@@ -18000,7 +18067,7 @@ declare namespace io.flow.internal.v0.unions {
18000
18067
  type FraudProviderConfiguration = io.flow.internal.v0.models.FraudProviderConfigurationRiskified;
18001
18068
  type FraudProviderConfigurationForm = io.flow.internal.v0.models.FraudProviderConfigurationFormRiskified;
18002
18069
  type GlobalSearchResult = io.flow.internal.v0.models.SearchExperienceSummary | io.flow.internal.v0.models.SearchExperimentSummary | io.flow.internal.v0.models.SearchOrderSummary | io.flow.internal.v0.models.SearchItemSummary;
18003
- type HeapEvent = io.flow.internal.v0.models.HeapAddressPredictionClick | io.flow.internal.v0.models.HeapAfterpayPopupOpened | io.flow.internal.v0.models.HeapAfterpayPopupClosed | io.flow.internal.v0.models.HeapAuthorizationDeclined | io.flow.internal.v0.models.HeapAuthorizationError | io.flow.internal.v0.models.HeapCardError | io.flow.internal.v0.models.HeapCheckoutProgress | io.flow.internal.v0.models.HeapCheckoutStarted | io.flow.internal.v0.models.HeapContinueClick | io.flow.internal.v0.models.HeapDeliveryFormDataReceived | io.flow.internal.v0.models.HeapDeliveryFormDataTimeout | io.flow.internal.v0.models.HeapDeliveryOptionCount | io.flow.internal.v0.models.HeapDeliveryOptionSelected | io.flow.internal.v0.models.HeapExitCheckout | io.flow.internal.v0.models.HeapFieldBlur | io.flow.internal.v0.models.HeapFieldErrorTooltipShown | io.flow.internal.v0.models.HeapFieldFocus | io.flow.internal.v0.models.HeapFieldValidation | io.flow.internal.v0.models.HeapGiftCardApply | io.flow.internal.v0.models.HeapGiftCardOpen | io.flow.internal.v0.models.HeapGiftCardWithPin | io.flow.internal.v0.models.HeapOptinPromptDeselected | io.flow.internal.v0.models.HeapOptinPromptSelected | io.flow.internal.v0.models.HeapOrderSummaryClose | io.flow.internal.v0.models.HeapOrderSummaryOpen | io.flow.internal.v0.models.HeapPayClick | io.flow.internal.v0.models.HeapPaymentFormDataReceived | io.flow.internal.v0.models.HeapPaymentFormDataTimeout | io.flow.internal.v0.models.HeapPaymentMethodSelected | io.flow.internal.v0.models.HeapPerformance | io.flow.internal.v0.models.HeapPromoCodeApply | io.flow.internal.v0.models.HeapPromoCodeError | io.flow.internal.v0.models.HeapPromoCodeOpen | io.flow.internal.v0.models.HeapPurchase | io.flow.internal.v0.models.HeapRageClick | io.flow.internal.v0.models.HeapScriptError | io.flow.internal.v0.models.HeapSequencedError | io.flow.internal.v0.models.HeapSequencedTiming | io.flow.internal.v0.models.HeapSplitLoaded | io.flow.internal.v0.models.HeapSplitTimeout | io.flow.internal.v0.models.HeapStartCheckout | io.flow.internal.v0.models.HeapStreamError | io.flow.internal.v0.models.HeapSubmitError | io.flow.internal.v0.models.HeapWebsocketClose | io.flow.internal.v0.models.HeapWebsocketConnectionLost | io.flow.internal.v0.models.HeapWebsocketError | io.flow.internal.v0.models.HeapWebsocketGiveUp | io.flow.internal.v0.models.HeapWebsocketOpen | io.flow.internal.v0.models.HeapWebsocketRequest | io.flow.internal.v0.models.HeapWebsocketResponse | io.flow.internal.v0.models.HeapWebsocketRetry;
18070
+ type HeapEvent = io.flow.internal.v0.models.HeapAddressPredictionClick | io.flow.internal.v0.models.HeapAfterpayPopupOpened | io.flow.internal.v0.models.HeapAfterpayPopupClosed | io.flow.internal.v0.models.HeapAuthorizationDeclined | io.flow.internal.v0.models.HeapAuthorizationError | io.flow.internal.v0.models.HeapCardError | io.flow.internal.v0.models.HeapCheckoutEvent | io.flow.internal.v0.models.HeapCheckoutProgress | io.flow.internal.v0.models.HeapCheckoutStarted | io.flow.internal.v0.models.HeapContinueClick | io.flow.internal.v0.models.HeapDeliveryFormDataReceived | io.flow.internal.v0.models.HeapDeliveryFormDataTimeout | io.flow.internal.v0.models.HeapDeliveryOptionCount | io.flow.internal.v0.models.HeapDeliveryOptionSelected | io.flow.internal.v0.models.HeapExitCheckout | io.flow.internal.v0.models.HeapFieldBlur | io.flow.internal.v0.models.HeapFieldErrorTooltipShown | io.flow.internal.v0.models.HeapFieldFocus | io.flow.internal.v0.models.HeapFieldValidation | io.flow.internal.v0.models.HeapGiftCardApply | io.flow.internal.v0.models.HeapGiftCardOpen | io.flow.internal.v0.models.HeapGiftCardWithPin | io.flow.internal.v0.models.HeapOptinPromptDeselected | io.flow.internal.v0.models.HeapOptinPromptSelected | io.flow.internal.v0.models.HeapOrderSummaryClose | io.flow.internal.v0.models.HeapOrderSummaryOpen | io.flow.internal.v0.models.HeapPayClick | io.flow.internal.v0.models.HeapPaymentFormDataReceived | io.flow.internal.v0.models.HeapPaymentFormDataTimeout | io.flow.internal.v0.models.HeapPaymentMethodSelected | io.flow.internal.v0.models.HeapPerformance | io.flow.internal.v0.models.HeapPromoCodeApply | io.flow.internal.v0.models.HeapPromoCodeError | io.flow.internal.v0.models.HeapPromoCodeOpen | io.flow.internal.v0.models.HeapPurchase | io.flow.internal.v0.models.HeapRageClick | io.flow.internal.v0.models.HeapScriptError | io.flow.internal.v0.models.HeapSequencedError | io.flow.internal.v0.models.HeapSequencedTiming | io.flow.internal.v0.models.HeapSplitLoaded | io.flow.internal.v0.models.HeapSplitTimeout | io.flow.internal.v0.models.HeapStartCheckout | io.flow.internal.v0.models.HeapStreamError | io.flow.internal.v0.models.HeapSubmitError | io.flow.internal.v0.models.HeapWebsocketClose | io.flow.internal.v0.models.HeapWebsocketConnectionLost | io.flow.internal.v0.models.HeapWebsocketError | io.flow.internal.v0.models.HeapWebsocketGiveUp | io.flow.internal.v0.models.HeapWebsocketOpen | io.flow.internal.v0.models.HeapWebsocketRequest | io.flow.internal.v0.models.HeapWebsocketResponse | io.flow.internal.v0.models.HeapWebsocketRetry;
18004
18071
  type IndexTaskType = io.flow.internal.v0.models.CatalogItemIndexTask | io.flow.internal.v0.models.CatalogItemBatchIndexTask | io.flow.internal.v0.models.CatalogItemDeleteIndexTask | io.flow.internal.v0.models.ChangeSettingsIndexTask | io.flow.internal.v0.models.DeleteIndexTask;
18005
18072
  type InlineAuthorizationParameters = io.flow.internal.v0.models.KlarnaAuthorizationParameters;
18006
18073
  type InternalAuthorizationDetails = io.flow.internal.v0.models.InternalPaypalAuthorizationDetails | io.flow.internal.v0.models.InternalBitpayAuthorizationDetails | io.flow.internal.v0.models.InternalStripeAuthorizationDetails | io.flow.internal.v0.models.InternalAdyenAuthorizationDetails | io.flow.internal.v0.models.InternalAfterpayAuthorizationDetails | io.flow.internal.v0.models.InternalFiservAuthorizationDetails;
@@ -18308,6 +18375,18 @@ export declare type CheckoutBehaviorCustomerInfo = io.flow.internal.v0.models.Ch
18308
18375
  export declare type CheckoutBehaviorCustomerInfoEmail = io.flow.internal.v0.models.CheckoutBehaviorCustomerInfoEmail;
18309
18376
  export declare type CheckoutBehaviorShippingAddress = io.flow.internal.v0.models.CheckoutBehaviorShippingAddress;
18310
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;
18311
18390
  export declare type CheckoutBundle = io.flow.internal.v0.models.CheckoutBundle;
18312
18391
  export declare type CheckoutBundleMetadata = io.flow.internal.v0.models.CheckoutBundleMetadata;
18313
18392
  export declare type CheckoutConfiguration = io.flow.internal.v0.models.CheckoutConfiguration;
@@ -18329,6 +18408,12 @@ export declare type CheckoutCreateAuthorizationDetailsResponseError = io.flow.in
18329
18408
  export declare type CheckoutCreateAuthorizationDetailsResponseSuccess = io.flow.internal.v0.models.CheckoutCreateAuthorizationDetailsResponseSuccess;
18330
18409
  export declare type CheckoutCreateAuthorizationError = io.flow.internal.v0.models.CheckoutCreateAuthorizationError;
18331
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;
18332
18417
  export declare type CheckoutCreateBySessionByCustomerTokenError = io.flow.internal.v0.models.CheckoutCreateBySessionByCustomerTokenError;
18333
18418
  export declare type CheckoutCreateBySessionByCustomerTokenErrorCode = io.flow.internal.v0.enums.CheckoutCreateBySessionByCustomerTokenErrorCode;
18334
18419
  export declare type CheckoutCreateBySessionByCustomerTokenRequestForm = io.flow.internal.v0.models.CheckoutCreateBySessionByCustomerTokenRequestForm;
@@ -19065,6 +19150,7 @@ export declare type HeapAfterpayPopupOpened = io.flow.internal.v0.models.HeapAft
19065
19150
  export declare type HeapAuthorizationDeclined = io.flow.internal.v0.models.HeapAuthorizationDeclined;
19066
19151
  export declare type HeapAuthorizationError = io.flow.internal.v0.models.HeapAuthorizationError;
19067
19152
  export declare type HeapCardError = io.flow.internal.v0.models.HeapCardError;
19153
+ export declare type HeapCheckoutEvent = io.flow.internal.v0.models.HeapCheckoutEvent;
19068
19154
  export declare type HeapCheckoutProgress = io.flow.internal.v0.models.HeapCheckoutProgress;
19069
19155
  export declare type HeapCheckoutStarted = io.flow.internal.v0.models.HeapCheckoutStarted;
19070
19156
  export declare type HeapContinueClick = io.flow.internal.v0.models.HeapContinueClick;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@flowio/types",
3
- "version": "11.19.30",
3
+ "version": "11.19.32",
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": "7ec8282a95c8fe500f0be61bf601d7ddb8033f6f"
28
+ "gitHead": "64031457bab9440303f4ab6ce53be9a774540887"
29
29
  }
@@ -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;
@@ -18250,6 +18317,19 @@ declare namespace io.flow.internal.v0.models {
18250
18317
  readonly visitor_id?: string;
18251
18318
  }
18252
18319
 
18320
+ interface HeapCheckoutEvent {
18321
+ readonly discriminator: 'checkout_event';
18322
+ readonly message: io.flow.internal.v0.models.BlazeCheckoutEventMessage;
18323
+ readonly checkout_id?: string;
18324
+ readonly experience_key?: string;
18325
+ readonly experiment_key?: string;
18326
+ readonly experiment_variant_key?: string;
18327
+ readonly order_number?: string;
18328
+ readonly organization_id?: string;
18329
+ readonly visit_id?: string;
18330
+ readonly visitor_id?: string;
18331
+ }
18332
+
18253
18333
  interface HeapCheckoutProgress {
18254
18334
  readonly discriminator: 'checkout_progress';
18255
18335
  readonly checkout_id?: string;
@@ -22815,10 +22895,19 @@ declare namespace io.flow.internal.v0.unions {
22815
22895
  | io.flow.internal.v0.models.CheckoutAnalyticsPaymentCard
22816
22896
  | io.flow.internal.v0.models.CheckoutAnalyticsPaymentGiftCard
22817
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;
22818
22904
  type CheckoutConfirmationDetails = io.flow.internal.v0.models.CheckoutDirectDebit;
22819
22905
  type CheckoutCreateAuthorizationDetailsResponse =
22820
22906
  | io.flow.internal.v0.models.CheckoutCreateAuthorizationDetailsResponseError
22821
22907
  | io.flow.internal.v0.models.CheckoutCreateAuthorizationDetailsResponseSuccess;
22908
+ type CheckoutCreateByOrderQuoteResponse =
22909
+ | io.flow.internal.v0.models.CheckoutCreateByOrderQuoteResponseError
22910
+ | io.flow.internal.v0.models.CheckoutCreateByOrderQuoteResponseSuccess;
22822
22911
  type CheckoutCreateBySessionByCustomerTokenResponse =
22823
22912
  | io.flow.internal.v0.models.CheckoutCreateBySessionByCustomerTokenResponseError
22824
22913
  | io.flow.internal.v0.models.CheckoutCreateBySessionByCustomerTokenResponseSuccess;
@@ -22922,15 +23011,24 @@ declare namespace io.flow.internal.v0.unions {
22922
23011
  | io.flow.internal.v0.models.CheckoutPriceStandard
22923
23012
  | io.flow.internal.v0.models.CheckoutPriceEstimated;
22924
23013
  type CheckoutRequestForm =
23014
+ | io.flow.internal.v0.models.CheckoutBootstrapByOrderQuoteRequestForm
23015
+ | io.flow.internal.v0.models.CheckoutBootstrapBySessionRequestForm
22925
23016
  | io.flow.internal.v0.models.CheckoutCreateAuthorizationDetailsRequestForm
23017
+ | io.flow.internal.v0.models.CheckoutCreateByOrderQuoteRequestForm
22926
23018
  | io.flow.internal.v0.models.CheckoutCreateBySessionByCustomerTokenRequestForm
22927
23019
  | io.flow.internal.v0.models.CheckoutCreateBySessionByOrderRequestForm
22928
23020
  | io.flow.internal.v0.models.CheckoutCreateBySessionRequestForm
22929
23021
  | io.flow.internal.v0.models.CheckoutFeaturesRequestForm
22930
23022
  | io.flow.internal.v0.models.CheckoutGetRequestForm;
22931
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
22932
23028
  | io.flow.internal.v0.models.CheckoutCreateAuthorizationDetailsResponseError
22933
23029
  | io.flow.internal.v0.models.CheckoutCreateAuthorizationDetailsResponseSuccess
23030
+ | io.flow.internal.v0.models.CheckoutCreateByOrderQuoteResponseError
23031
+ | io.flow.internal.v0.models.CheckoutCreateByOrderQuoteResponseSuccess
22934
23032
  | io.flow.internal.v0.models.CheckoutCreateBySessionByCustomerTokenResponseError
22935
23033
  | io.flow.internal.v0.models.CheckoutCreateBySessionByCustomerTokenResponseSuccess
22936
23034
  | io.flow.internal.v0.models.CheckoutCreateBySessionByOrderResponseError
@@ -23377,6 +23475,7 @@ declare namespace io.flow.internal.v0.unions {
23377
23475
  | io.flow.internal.v0.models.HeapAuthorizationDeclined
23378
23476
  | io.flow.internal.v0.models.HeapAuthorizationError
23379
23477
  | io.flow.internal.v0.models.HeapCardError
23478
+ | io.flow.internal.v0.models.HeapCheckoutEvent
23380
23479
  | io.flow.internal.v0.models.HeapCheckoutProgress
23381
23480
  | io.flow.internal.v0.models.HeapCheckoutStarted
23382
23481
  | io.flow.internal.v0.models.HeapContinueClick
@@ -23837,6 +23936,18 @@ export type CheckoutBehaviorCustomerInfo = io.flow.internal.v0.models.CheckoutBe
23837
23936
  export type CheckoutBehaviorCustomerInfoEmail = io.flow.internal.v0.models.CheckoutBehaviorCustomerInfoEmail;
23838
23937
  export type CheckoutBehaviorShippingAddress = io.flow.internal.v0.models.CheckoutBehaviorShippingAddress;
23839
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;
23840
23951
  export type CheckoutBundle = io.flow.internal.v0.models.CheckoutBundle;
23841
23952
  export type CheckoutBundleMetadata = io.flow.internal.v0.models.CheckoutBundleMetadata;
23842
23953
  export type CheckoutConfiguration = io.flow.internal.v0.models.CheckoutConfiguration;
@@ -23858,6 +23969,12 @@ export type CheckoutCreateAuthorizationDetailsResponseError = io.flow.internal.v
23858
23969
  export type CheckoutCreateAuthorizationDetailsResponseSuccess = io.flow.internal.v0.models.CheckoutCreateAuthorizationDetailsResponseSuccess;
23859
23970
  export type CheckoutCreateAuthorizationError = io.flow.internal.v0.models.CheckoutCreateAuthorizationError;
23860
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;
23861
23978
  export type CheckoutCreateBySessionByCustomerTokenError = io.flow.internal.v0.models.CheckoutCreateBySessionByCustomerTokenError;
23862
23979
  export type CheckoutCreateBySessionByCustomerTokenErrorCode = io.flow.internal.v0.enums.CheckoutCreateBySessionByCustomerTokenErrorCode;
23863
23980
  export type CheckoutCreateBySessionByCustomerTokenRequestForm = io.flow.internal.v0.models.CheckoutCreateBySessionByCustomerTokenRequestForm;
@@ -24594,6 +24711,7 @@ export type HeapAfterpayPopupOpened = io.flow.internal.v0.models.HeapAfterpayPop
24594
24711
  export type HeapAuthorizationDeclined = io.flow.internal.v0.models.HeapAuthorizationDeclined;
24595
24712
  export type HeapAuthorizationError = io.flow.internal.v0.models.HeapAuthorizationError;
24596
24713
  export type HeapCardError = io.flow.internal.v0.models.HeapCardError;
24714
+ export type HeapCheckoutEvent = io.flow.internal.v0.models.HeapCheckoutEvent;
24597
24715
  export type HeapCheckoutProgress = io.flow.internal.v0.models.HeapCheckoutProgress;
24598
24716
  export type HeapCheckoutStarted = io.flow.internal.v0.models.HeapCheckoutStarted;
24599
24717
  export type HeapContinueClick = io.flow.internal.v0.models.HeapContinueClick;