@flowio/types 10.10.0 → 11.0.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.
@@ -1222,7 +1222,7 @@ declare namespace io.flow.tax.internal.v0.unions {
1222
1222
  type TaxAmount = io.flow.tax.internal.v0.models.CalculatedTaxAmount | io.flow.tax.internal.v0.models.NoCalculatedTaxAmount;
1223
1223
  }
1224
1224
  declare namespace io.flow.checkout.protocol.v0.enums {
1225
- type CheckoutAddGiftCardAndPromotionCodeErrorCode = 'gift_card_not_supported' | 'gift_card_insufficient_funds' | 'gift_card_invalid_number' | 'promotion_code_not_supported' | 'promotion_code_invalid' | 'promotion_code_expired' | 'promotion_code_does_not_meet_requirements';
1225
+ type CheckoutAddGiftCardAndPromotionCodeErrorCode = 'gift_card_not_supported' | 'gift_card_insufficient_funds' | 'gift_card_invalid_number' | 'promotion_code_not_supported' | 'promotion_code_invalid' | 'promotion_code_expired' | 'promotion_code_does_not_meet_requirements' | 'promotion_code_order_item_not_available';
1226
1226
  type CheckoutAddGiftCardErrorCode = 'gift_card_not_supported' | 'gift_card_insufficient_funds' | 'gift_card_invalid_number';
1227
1227
  type CheckoutAddLineErrorCode = 'line_quantity_invalid' | 'line_item_number_invalid' | 'line_item_number_not_available' | 'line_value_threshold_exceeded';
1228
1228
  type CheckoutAddOrderIdentifierErrorCode = 'order_identifier_invalid';
@@ -1232,7 +1232,7 @@ declare namespace io.flow.checkout.protocol.v0.enums {
1232
1232
  type CheckoutDeleteAddressStreetErrorCode = 'address_line_number_invalid';
1233
1233
  type CheckoutDeleteLineErrorCode = 'line_not_found';
1234
1234
  type CheckoutDeletePaymentErrorCode = 'payment_not_found' | 'payment_type_does_not_support_delete';
1235
- type CheckoutDeletePromotionCodeErrorCode = 'promotion_code_not_supported' | 'promotion_code_invalid' | 'promotion_code_expired' | 'promotion_code_does_not_meet_requirements';
1235
+ type CheckoutDeletePromotionCodeErrorCode = 'promotion_code_not_supported' | 'promotion_code_invalid' | 'promotion_code_expired' | 'promotion_code_does_not_meet_requirements' | 'promotion_code_order_item_not_available';
1236
1236
  type CheckoutFeaturesErrorCode = 'checkout_not_found';
1237
1237
  type CheckoutGetAddressPredictionErrorCode = 'invalid_prediction';
1238
1238
  type CheckoutGetErrorCode = 'checkout_not_found';
@@ -1258,8 +1258,8 @@ declare namespace io.flow.checkout.protocol.v0.enums {
1258
1258
  type CheckoutSetLinesErrorCode = 'line_quantity_invalid' | 'line_item_number_invalid' | 'line_item_number_not_available' | 'line_value_threshold_exceeded' | 'checkout_requires_at_least_one_line';
1259
1259
  type CheckoutSetLocaleErrorCode = 'locale_invalid';
1260
1260
  type CheckoutSetOptinPromptErrorCode = 'optin_prompt_not_found' | 'optin_prompt_consent_required' | 'optin_prompt_invalid_value';
1261
- type CheckoutSetPromotionCodeErrorCode = 'promotion_code_not_supported' | 'promotion_code_invalid' | 'promotion_code_expired' | 'promotion_code_does_not_meet_requirements';
1262
- type CheckoutSubmitErrorCode = 'balance_not_zero' | 'address_city_invalid' | 'address_city_required' | 'address_country_invalid' | 'address_country_required' | 'address_line_number_invalid' | 'address_postal_invalid' | 'address_postal_required' | 'address_province_invalid' | 'address_province_required' | 'address_street1_invalid' | 'address_street1_required' | 'address_street2_invalid' | 'address_street2_required' | 'address_streets_must_be_unique' | 'authorization_amount_exceeds_balance' | 'authorization_form_not_supported' | 'authorization_invalid_amount' | 'authorization_invalid_currency' | 'checkout_requires_at_least_one_line' | 'contact_email_invalid' | 'contact_email_required' | 'contact_phone_invalid' | 'contact_phone_required' | 'country_not_supported' | 'currency_invalid' | 'delivery_not_found' | 'delivery_option_not_found' | 'delivery_option_not_supported' | 'delivery_option_required' | 'gift_card_insufficient_funds' | 'gift_card_invalid_number' | 'gift_card_not_supported' | 'invalid_prediction' | 'language_invalid' | 'line_item_number_invalid' | 'line_item_number_not_available' | 'line_not_found' | 'line_quantity_invalid' | 'line_value_threshold_exceeded' | 'locale_invalid' | 'name_missing_first_or_last' | 'name_required' | 'optin_prompt_consent_required' | 'optin_prompt_invalid_value' | 'optin_prompt_not_found' | 'order_identifier_invalid' | 'payment_not_found' | 'payment_type_does_not_support_delete' | 'promotion_code_does_not_meet_requirements' | 'promotion_code_expired' | 'promotion_code_invalid' | 'promotion_code_not_supported';
1261
+ type CheckoutSetPromotionCodeErrorCode = 'promotion_code_not_supported' | 'promotion_code_invalid' | 'promotion_code_expired' | 'promotion_code_does_not_meet_requirements' | 'promotion_code_order_item_not_available';
1262
+ type CheckoutSubmitErrorCode = 'balance_not_zero' | 'address_city_invalid' | 'address_city_required' | 'address_country_invalid' | 'address_country_required' | 'address_line_number_invalid' | 'address_postal_invalid' | 'address_postal_required' | 'address_province_invalid' | 'address_province_required' | 'address_street1_invalid' | 'address_street1_required' | 'address_street2_invalid' | 'address_street2_required' | 'address_streets_must_be_unique' | 'authorization_amount_exceeds_balance' | 'authorization_form_not_supported' | 'authorization_invalid_amount' | 'authorization_invalid_currency' | 'checkout_requires_at_least_one_line' | 'contact_email_invalid' | 'contact_email_required' | 'contact_phone_invalid' | 'contact_phone_required' | 'country_not_supported' | 'currency_invalid' | 'delivery_not_found' | 'delivery_option_not_found' | 'delivery_option_not_supported' | 'delivery_option_required' | 'gift_card_insufficient_funds' | 'gift_card_invalid_number' | 'gift_card_not_supported' | 'invalid_prediction' | 'language_invalid' | 'line_item_number_invalid' | 'line_item_number_not_available' | 'line_not_found' | 'line_quantity_invalid' | 'line_value_threshold_exceeded' | 'locale_invalid' | 'name_missing_first_or_last' | 'name_required' | 'optin_prompt_consent_required' | 'optin_prompt_invalid_value' | 'optin_prompt_not_found' | 'order_identifier_invalid' | 'payment_not_found' | 'payment_type_does_not_support_delete' | 'promotion_code_does_not_meet_requirements' | 'promotion_code_expired' | 'promotion_code_invalid' | 'promotion_code_not_supported' | 'promotion_code_order_item_not_available';
1263
1263
  }
1264
1264
  declare namespace io.flow.checkout.protocol.v0.models {
1265
1265
  interface CheckoutAddGiftCardAndPromotionCodeError {
@@ -9698,11 +9698,6 @@ declare namespace io.flow.harmonization.v0.models {
9698
9698
  readonly company_name_match_result: io.flow.harmonization.v0.enums.TaxVerificationResult;
9699
9699
  readonly company_name_match_result_reason?: string;
9700
9700
  }
9701
- interface HarmonizedCategory {
9702
- readonly id: string;
9703
- readonly name: string;
9704
- readonly parent?: io.flow.harmonization.v0.models.HarmonizedCategoryReference;
9705
- }
9706
9701
  interface HarmonizedCategoryReference {
9707
9702
  readonly id: string;
9708
9703
  }
@@ -11162,6 +11157,18 @@ declare namespace io.flow.checkout.analytics.v0.models {
11162
11157
  readonly visit_id?: string;
11163
11158
  readonly visitor_id?: string;
11164
11159
  }
11160
+ interface HeapPaymentMethodSelected {
11161
+ readonly discriminator: 'payment_method_selected';
11162
+ readonly payment_method_key: string;
11163
+ readonly checkout_id?: string;
11164
+ readonly experience_key?: string;
11165
+ readonly experiment_key?: string;
11166
+ readonly experiment_variant_key?: string;
11167
+ readonly order_number?: string;
11168
+ readonly organization_id?: string;
11169
+ readonly visit_id?: string;
11170
+ readonly visitor_id?: string;
11171
+ }
11165
11172
  interface HeapPerformance {
11166
11173
  readonly discriminator: 'performance';
11167
11174
  readonly checkout_id?: string;
@@ -11268,7 +11275,7 @@ declare namespace io.flow.checkout.analytics.v0.unions {
11268
11275
  type CheckoutAnalyticsDeliveryOption = io.flow.checkout.analytics.v0.models.CheckoutAnalyticsPhysicalDeliveryOption | io.flow.checkout.analytics.v0.models.CheckoutAnalyticsDigitalDeliveryOption;
11269
11276
  type CheckoutAnalyticsOrder = io.flow.checkout.analytics.v0.models.CheckoutAnalyticsOpenOrder | io.flow.checkout.analytics.v0.models.CheckoutAnalyticsSubmittedOrder;
11270
11277
  type CheckoutAnalyticsPayment = io.flow.checkout.analytics.v0.models.CheckoutAnalyticsPaymentCard | io.flow.checkout.analytics.v0.models.CheckoutAnalyticsPaymentGiftCard | io.flow.checkout.analytics.v0.models.CheckoutAnalyticsPaymentOnline;
11271
- type HeapEvent = io.flow.checkout.analytics.v0.models.HeapAddressPredictionClick | io.flow.checkout.analytics.v0.models.HeapCheckoutProgress | io.flow.checkout.analytics.v0.models.HeapContinueClick | io.flow.checkout.analytics.v0.models.HeapDeliveryFormDataReceived | io.flow.checkout.analytics.v0.models.HeapDeliveryFormDataTimeout | io.flow.checkout.analytics.v0.models.HeapExitCheckout | io.flow.checkout.analytics.v0.models.HeapFieldBlur | io.flow.checkout.analytics.v0.models.HeapFieldFocus | io.flow.checkout.analytics.v0.models.HeapFieldValidation | io.flow.checkout.analytics.v0.models.HeapGiftCardApply | io.flow.checkout.analytics.v0.models.HeapGiftCardOpen | io.flow.checkout.analytics.v0.models.HeapGiftCardWithPin | io.flow.checkout.analytics.v0.models.HeapPayClick | io.flow.checkout.analytics.v0.models.HeapPaymentFormDataReceived | io.flow.checkout.analytics.v0.models.HeapPaymentFormDataTimeout | io.flow.checkout.analytics.v0.models.HeapPerformance | io.flow.checkout.analytics.v0.models.HeapPromoCodeApply | io.flow.checkout.analytics.v0.models.HeapPromoCodeError | io.flow.checkout.analytics.v0.models.HeapPromoCodeOpen | io.flow.checkout.analytics.v0.models.HeapPurchase | io.flow.checkout.analytics.v0.models.HeapRageClick | io.flow.checkout.analytics.v0.models.HeapScriptError | io.flow.checkout.analytics.v0.models.HeapStartCheckout;
11278
+ type HeapEvent = io.flow.checkout.analytics.v0.models.HeapAddressPredictionClick | io.flow.checkout.analytics.v0.models.HeapCheckoutProgress | io.flow.checkout.analytics.v0.models.HeapContinueClick | io.flow.checkout.analytics.v0.models.HeapDeliveryFormDataReceived | io.flow.checkout.analytics.v0.models.HeapDeliveryFormDataTimeout | io.flow.checkout.analytics.v0.models.HeapExitCheckout | io.flow.checkout.analytics.v0.models.HeapFieldBlur | io.flow.checkout.analytics.v0.models.HeapFieldFocus | io.flow.checkout.analytics.v0.models.HeapFieldValidation | io.flow.checkout.analytics.v0.models.HeapGiftCardApply | io.flow.checkout.analytics.v0.models.HeapGiftCardOpen | io.flow.checkout.analytics.v0.models.HeapGiftCardWithPin | io.flow.checkout.analytics.v0.models.HeapPayClick | io.flow.checkout.analytics.v0.models.HeapPaymentFormDataReceived | io.flow.checkout.analytics.v0.models.HeapPaymentFormDataTimeout | io.flow.checkout.analytics.v0.models.HeapPaymentMethodSelected | io.flow.checkout.analytics.v0.models.HeapPerformance | io.flow.checkout.analytics.v0.models.HeapPromoCodeApply | io.flow.checkout.analytics.v0.models.HeapPromoCodeError | io.flow.checkout.analytics.v0.models.HeapPromoCodeOpen | io.flow.checkout.analytics.v0.models.HeapPurchase | io.flow.checkout.analytics.v0.models.HeapRageClick | io.flow.checkout.analytics.v0.models.HeapScriptError | io.flow.checkout.analytics.v0.models.HeapStartCheckout;
11272
11279
  }
11273
11280
  declare namespace io.flow.currency.v0.enums {
11274
11281
  type RateType = 'flow' | 'organization';
@@ -12250,6 +12257,7 @@ declare namespace io.flow.payment.v0.unions {
12250
12257
  declare namespace io.flow.checkout.backend.v0.enums {
12251
12258
  type CheckoutAddressType = 'shipping' | 'invoicing';
12252
12259
  type CheckoutPaymentGroupType = 'credit' | 'debit' | 'all_cards';
12260
+ type InitialInputDataSource = 'session_persistence';
12253
12261
  type PregenDataKeyField = 'shipping_country' | 'shipping_province' | 'invoicing_country' | 'delivery_option_id';
12254
12262
  }
12255
12263
  declare namespace io.flow.checkout.backend.v0.models {
@@ -13089,12 +13097,13 @@ declare namespace io.flow.internal.v0.enums {
13089
13097
  type BillingStatementReviewStatus = 'approved' | 'pending';
13090
13098
  type BillingTransactionStatus = 'pending' | 'posted';
13091
13099
  type BillingTransactionType = 'manual' | 'subscription' | 'invoice' | 'transfer' | 'adjustment' | 'capture' | 'refund' | 'virtual_card_capture' | 'virtual_card_refund' | 'tax_remittance' | 'fully_subsidized_order' | 'credit_payment';
13100
+ type BlazeCheckoutStep = 'contact' | 'shipping' | 'delivery' | 'payment';
13092
13101
  type BrowserBundleErrorCode = 'generic_error' | 'country_invalid';
13093
13102
  type CarrierLabelGenerationMethod = 'direct' | 'easypost';
13094
13103
  type CatalogImportType = 'catalog_items' | 'item_form_overlays' | 'item_prices' | 'price_book_items_import' | 'price_book_items_query_import';
13095
13104
  type ChargebackPaymentStatus = 'captured' | 'refunded';
13096
13105
  type ChargebackProcessStatus = 'inquiry' | 'open' | 'closed';
13097
- type CheckoutAddGiftCardAndPromotionCodeErrorCode = 'gift_card_not_supported' | 'gift_card_insufficient_funds' | 'gift_card_invalid_number' | 'promotion_code_not_supported' | 'promotion_code_invalid' | 'promotion_code_expired' | 'promotion_code_does_not_meet_requirements';
13106
+ type CheckoutAddGiftCardAndPromotionCodeErrorCode = 'gift_card_not_supported' | 'gift_card_insufficient_funds' | 'gift_card_invalid_number' | 'promotion_code_not_supported' | 'promotion_code_invalid' | 'promotion_code_expired' | 'promotion_code_does_not_meet_requirements' | 'promotion_code_order_item_not_available';
13098
13107
  type CheckoutAddGiftCardErrorCode = 'gift_card_not_supported' | 'gift_card_insufficient_funds' | 'gift_card_invalid_number';
13099
13108
  type CheckoutAddLineErrorCode = 'line_quantity_invalid' | 'line_item_number_invalid' | 'line_item_number_not_available' | 'line_value_threshold_exceeded';
13100
13109
  type CheckoutAddOrderIdentifierErrorCode = 'order_identifier_invalid';
@@ -13106,7 +13115,7 @@ declare namespace io.flow.internal.v0.enums {
13106
13115
  type CheckoutDeleteAddressStreetErrorCode = 'address_line_number_invalid';
13107
13116
  type CheckoutDeleteLineErrorCode = 'line_not_found';
13108
13117
  type CheckoutDeletePaymentErrorCode = 'payment_not_found' | 'payment_type_does_not_support_delete';
13109
- type CheckoutDeletePromotionCodeErrorCode = 'promotion_code_not_supported' | 'promotion_code_invalid' | 'promotion_code_expired' | 'promotion_code_does_not_meet_requirements';
13118
+ type CheckoutDeletePromotionCodeErrorCode = 'promotion_code_not_supported' | 'promotion_code_invalid' | 'promotion_code_expired' | 'promotion_code_does_not_meet_requirements' | 'promotion_code_order_item_not_available';
13110
13119
  type CheckoutErrorCode = 'generic_error' | 'order_identifier_invalid' | 'url_invalid' | 'organization_invalid' | 'session_invalid' | 'session_missing' | 'session_organization_invalid' | 'country_invalid' | 'currency_invalid' | 'language_invalid' | 'checkout_invalid';
13111
13120
  type CheckoutFeaturesErrorCode = 'checkout_not_found';
13112
13121
  type CheckoutGetAddressPredictionErrorCode = 'invalid_prediction';
@@ -13137,9 +13146,9 @@ declare namespace io.flow.internal.v0.enums {
13137
13146
  type CheckoutSetLinesErrorCode = 'line_quantity_invalid' | 'line_item_number_invalid' | 'line_item_number_not_available' | 'line_value_threshold_exceeded' | 'checkout_requires_at_least_one_line';
13138
13147
  type CheckoutSetLocaleErrorCode = 'locale_invalid';
13139
13148
  type CheckoutSetOptinPromptErrorCode = 'optin_prompt_not_found' | 'optin_prompt_consent_required' | 'optin_prompt_invalid_value';
13140
- type CheckoutSetPromotionCodeErrorCode = 'promotion_code_not_supported' | 'promotion_code_invalid' | 'promotion_code_expired' | 'promotion_code_does_not_meet_requirements';
13149
+ type CheckoutSetPromotionCodeErrorCode = 'promotion_code_not_supported' | 'promotion_code_invalid' | 'promotion_code_expired' | 'promotion_code_does_not_meet_requirements' | 'promotion_code_order_item_not_available';
13141
13150
  type CheckoutShippingMethodPromptBehavior = 'always' | 'multiple';
13142
- type CheckoutSubmitErrorCode = 'balance_not_zero' | 'address_city_invalid' | 'address_city_required' | 'address_country_invalid' | 'address_country_required' | 'address_line_number_invalid' | 'address_postal_invalid' | 'address_postal_required' | 'address_province_invalid' | 'address_province_required' | 'address_street1_invalid' | 'address_street1_required' | 'address_street2_invalid' | 'address_street2_required' | 'address_streets_must_be_unique' | 'authorization_amount_exceeds_balance' | 'authorization_form_not_supported' | 'authorization_invalid_amount' | 'authorization_invalid_currency' | 'checkout_requires_at_least_one_line' | 'contact_email_invalid' | 'contact_email_required' | 'contact_phone_invalid' | 'contact_phone_required' | 'country_not_supported' | 'currency_invalid' | 'delivery_not_found' | 'delivery_option_not_found' | 'delivery_option_not_supported' | 'delivery_option_required' | 'gift_card_insufficient_funds' | 'gift_card_invalid_number' | 'gift_card_not_supported' | 'invalid_prediction' | 'language_invalid' | 'line_item_number_invalid' | 'line_item_number_not_available' | 'line_not_found' | 'line_quantity_invalid' | 'line_value_threshold_exceeded' | 'locale_invalid' | 'name_missing_first_or_last' | 'name_required' | 'optin_prompt_consent_required' | 'optin_prompt_invalid_value' | 'optin_prompt_not_found' | 'order_identifier_invalid' | 'payment_not_found' | 'payment_type_does_not_support_delete' | 'promotion_code_does_not_meet_requirements' | 'promotion_code_expired' | 'promotion_code_invalid' | 'promotion_code_not_supported';
13151
+ type CheckoutSubmitErrorCode = 'balance_not_zero' | 'address_city_invalid' | 'address_city_required' | 'address_country_invalid' | 'address_country_required' | 'address_line_number_invalid' | 'address_postal_invalid' | 'address_postal_required' | 'address_province_invalid' | 'address_province_required' | 'address_street1_invalid' | 'address_street1_required' | 'address_street2_invalid' | 'address_street2_required' | 'address_streets_must_be_unique' | 'authorization_amount_exceeds_balance' | 'authorization_form_not_supported' | 'authorization_invalid_amount' | 'authorization_invalid_currency' | 'checkout_requires_at_least_one_line' | 'contact_email_invalid' | 'contact_email_required' | 'contact_phone_invalid' | 'contact_phone_required' | 'country_not_supported' | 'currency_invalid' | 'delivery_not_found' | 'delivery_option_not_found' | 'delivery_option_not_supported' | 'delivery_option_required' | 'gift_card_insufficient_funds' | 'gift_card_invalid_number' | 'gift_card_not_supported' | 'invalid_prediction' | 'language_invalid' | 'line_item_number_invalid' | 'line_item_number_not_available' | 'line_not_found' | 'line_quantity_invalid' | 'line_value_threshold_exceeded' | 'locale_invalid' | 'name_missing_first_or_last' | 'name_required' | 'optin_prompt_consent_required' | 'optin_prompt_invalid_value' | 'optin_prompt_not_found' | 'order_identifier_invalid' | 'payment_not_found' | 'payment_type_does_not_support_delete' | 'promotion_code_does_not_meet_requirements' | 'promotion_code_expired' | 'promotion_code_invalid' | 'promotion_code_not_supported' | 'promotion_code_order_item_not_available';
13143
13152
  type CheckoutUrlType = 'continue_shopping' | 'confirmation' | 'invalid_checkout';
13144
13153
  type ComplianceType = 'weee';
13145
13154
  type ContentElementType = 'markdown' | 'html' | 'plain_text' | 'href';
@@ -13173,6 +13182,7 @@ declare namespace io.flow.internal.v0.enums {
13173
13182
  type FtpProtocol = 'sftp' | 'ftp';
13174
13183
  type GoogleAnalyticsPlugin = 'ec';
13175
13184
  type HttpMethod = 'get' | 'post';
13185
+ type InitialInputDataSource = 'session_persistence';
13176
13186
  type InventoryCheckService = 'sfcc' | 'gymboree';
13177
13187
  type InventoryReservation = 'synchronous-on-submit';
13178
13188
  type ItemClassificationAction = 'ACCEPT' | 'MANUAL' | 'REJECT';
@@ -13920,6 +13930,72 @@ declare namespace io.flow.internal.v0.models {
13920
13930
  readonly public_key: string;
13921
13931
  readonly secret_key: string;
13922
13932
  }
13933
+ interface BlazeAddOrderAttributesMessage {
13934
+ readonly discriminator: 'add_order_attributes';
13935
+ readonly attributes: Record<string, string>;
13936
+ }
13937
+ interface BlazeAddToCartMessage {
13938
+ readonly discriminator: 'add_to_cart';
13939
+ readonly item: io.flow.internal.v0.models.BlazeCheckoutItem;
13940
+ }
13941
+ interface BlazeCheckoutCompleteMessage {
13942
+ readonly discriminator: 'checkout_complete';
13943
+ readonly affiliation: string;
13944
+ readonly checkout_id: string;
13945
+ readonly currency: string;
13946
+ readonly duty?: number;
13947
+ readonly lines: io.flow.internal.v0.models.BlazeCheckoutLine[];
13948
+ readonly promotion?: string;
13949
+ readonly revenue: number;
13950
+ readonly shipping?: number;
13951
+ readonly tax?: number;
13952
+ }
13953
+ interface BlazeCheckoutItem {
13954
+ readonly attributes: Record<string, string>;
13955
+ readonly item_number: string;
13956
+ readonly quantity: number;
13957
+ }
13958
+ interface BlazeCheckoutLine {
13959
+ readonly number: string;
13960
+ readonly name?: string;
13961
+ readonly brand?: string;
13962
+ readonly category?: string;
13963
+ readonly currency?: string;
13964
+ readonly price?: number;
13965
+ readonly quantity?: number;
13966
+ }
13967
+ interface BlazeCheckoutProgressMessage {
13968
+ readonly discriminator: 'checkout_progress';
13969
+ readonly checkout_id: string;
13970
+ readonly lines: io.flow.internal.v0.models.BlazeCheckoutLine[];
13971
+ readonly promotion?: string;
13972
+ readonly step: io.flow.internal.v0.enums.BlazeCheckoutStep;
13973
+ }
13974
+ interface BlazeExitCheckoutMessage {
13975
+ readonly discriminator: 'exit_checkout';
13976
+ }
13977
+ interface BlazeInitializeMessage {
13978
+ readonly discriminator: 'initialize';
13979
+ readonly session_id: string;
13980
+ }
13981
+ interface BlazeRedirectConfirmationMessage {
13982
+ readonly discriminator: 'redirect_confirmation';
13983
+ readonly url: string;
13984
+ }
13985
+ interface BlazeSetCartItemsMessage {
13986
+ readonly discriminator: 'set_cart_items';
13987
+ readonly items: io.flow.internal.v0.models.BlazeCheckoutItem[];
13988
+ }
13989
+ interface BlazeStartCheckoutMessage {
13990
+ readonly discriminator: 'start_checkout';
13991
+ }
13992
+ interface BlazeSynInitializeMessage {
13993
+ readonly discriminator: 'syn_initialize';
13994
+ }
13995
+ interface BlazeUpdateCartItemsMessage {
13996
+ readonly discriminator: 'update_cart_items';
13997
+ readonly items: io.flow.internal.v0.models.BlazeCheckoutItem[];
13998
+ }
13923
13999
  interface BooleanFeatureDefaultValue {
13924
14000
  readonly discriminator: 'boolean';
13925
14001
  readonly value: boolean;
@@ -16742,6 +16818,18 @@ declare namespace io.flow.internal.v0.models {
16742
16818
  readonly visit_id?: string;
16743
16819
  readonly visitor_id?: string;
16744
16820
  }
16821
+ interface HeapPaymentMethodSelected {
16822
+ readonly discriminator: 'payment_method_selected';
16823
+ readonly payment_method_key: string;
16824
+ readonly checkout_id?: string;
16825
+ readonly experience_key?: string;
16826
+ readonly experiment_key?: string;
16827
+ readonly experiment_variant_key?: string;
16828
+ readonly order_number?: string;
16829
+ readonly organization_id?: string;
16830
+ readonly visit_id?: string;
16831
+ readonly visitor_id?: string;
16832
+ }
16745
16833
  interface HeapPerformance {
16746
16834
  readonly discriminator: 'performance';
16747
16835
  readonly checkout_id?: string;
@@ -19799,6 +19887,8 @@ declare namespace io.flow.internal.v0.models {
19799
19887
  declare namespace io.flow.internal.v0.unions {
19800
19888
  type AuthorizationPayload = io.flow.internal.v0.models.ApplePayAuthorizationPayload | io.flow.internal.v0.models.PaypalAuthorizationPayload;
19801
19889
  type AuthorizedOrderCharge = io.flow.internal.v0.models.AuthorizedShippingCharge;
19890
+ type BlazeConsumerMessage = io.flow.internal.v0.models.BlazeAddOrderAttributesMessage | io.flow.internal.v0.models.BlazeAddToCartMessage | io.flow.internal.v0.models.BlazeInitializeMessage | io.flow.internal.v0.models.BlazeSetCartItemsMessage | io.flow.internal.v0.models.BlazeStartCheckoutMessage | io.flow.internal.v0.models.BlazeUpdateCartItemsMessage;
19891
+ type BlazeProviderMessage = io.flow.internal.v0.models.BlazeCheckoutCompleteMessage | io.flow.internal.v0.models.BlazeCheckoutProgressMessage | io.flow.internal.v0.models.BlazeExitCheckoutMessage | io.flow.internal.v0.models.BlazeRedirectConfirmationMessage | io.flow.internal.v0.models.BlazeSynInitializeMessage;
19802
19892
  type CarrierCredentials = io.flow.internal.v0.models.SfExpress | io.flow.internal.v0.models.DhlEcommerce | io.flow.internal.v0.models.Landmark | io.flow.internal.v0.models.Dhl | io.flow.internal.v0.models.FedexCrossborder | io.flow.internal.v0.models.Ups | io.flow.internal.v0.models.Fedex;
19803
19893
  type CheckoutAnalyticsDeliveryOption = io.flow.internal.v0.models.CheckoutAnalyticsPhysicalDeliveryOption | io.flow.internal.v0.models.CheckoutAnalyticsDigitalDeliveryOption;
19804
19894
  type CheckoutAnalyticsOrder = io.flow.internal.v0.models.CheckoutAnalyticsOpenOrder | io.flow.internal.v0.models.CheckoutAnalyticsSubmittedOrder;
@@ -19871,7 +19961,7 @@ declare namespace io.flow.internal.v0.unions {
19871
19961
  type FeatureTaskData = io.flow.internal.v0.models.FeatureTaskDataSyncFeature | io.flow.internal.v0.models.FeatureTaskDataSyncOrganization;
19872
19962
  type FeatureValue = io.flow.internal.v0.models.BooleanFeatureValue | io.flow.internal.v0.models.StringFeatureValue;
19873
19963
  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;
19874
- type HeapEvent = io.flow.internal.v0.models.HeapAddressPredictionClick | io.flow.internal.v0.models.HeapCheckoutProgress | io.flow.internal.v0.models.HeapContinueClick | io.flow.internal.v0.models.HeapDeliveryFormDataReceived | io.flow.internal.v0.models.HeapDeliveryFormDataTimeout | io.flow.internal.v0.models.HeapExitCheckout | io.flow.internal.v0.models.HeapFieldBlur | 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.HeapPayClick | io.flow.internal.v0.models.HeapPaymentFormDataReceived | io.flow.internal.v0.models.HeapPaymentFormDataTimeout | 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.HeapStartCheckout;
19964
+ type HeapEvent = io.flow.internal.v0.models.HeapAddressPredictionClick | io.flow.internal.v0.models.HeapCheckoutProgress | io.flow.internal.v0.models.HeapContinueClick | io.flow.internal.v0.models.HeapDeliveryFormDataReceived | io.flow.internal.v0.models.HeapDeliveryFormDataTimeout | io.flow.internal.v0.models.HeapExitCheckout | io.flow.internal.v0.models.HeapFieldBlur | 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.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.HeapStartCheckout;
19875
19965
  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;
19876
19966
  type InlineAuthorizationParameters = io.flow.internal.v0.models.KlarnaAuthorizationParameters;
19877
19967
  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;
@@ -20021,6 +20111,22 @@ export declare type BitpayAccountPutForm = io.flow.internal.v0.models.BitpayAcco
20021
20111
  export declare type BitpayAuthentication = io.flow.internal.v0.models.BitpayAuthentication;
20022
20112
  export declare type BitpayAuthenticationDataReference = io.flow.internal.v0.models.BitpayAuthenticationDataReference;
20023
20113
  export declare type BitpayAuthenticationForm = io.flow.internal.v0.models.BitpayAuthenticationForm;
20114
+ export declare type BlazeAddOrderAttributesMessage = io.flow.internal.v0.models.BlazeAddOrderAttributesMessage;
20115
+ export declare type BlazeAddToCartMessage = io.flow.internal.v0.models.BlazeAddToCartMessage;
20116
+ export declare type BlazeCheckoutCompleteMessage = io.flow.internal.v0.models.BlazeCheckoutCompleteMessage;
20117
+ export declare type BlazeCheckoutItem = io.flow.internal.v0.models.BlazeCheckoutItem;
20118
+ export declare type BlazeCheckoutLine = io.flow.internal.v0.models.BlazeCheckoutLine;
20119
+ export declare type BlazeCheckoutProgressMessage = io.flow.internal.v0.models.BlazeCheckoutProgressMessage;
20120
+ export declare type BlazeCheckoutStep = io.flow.internal.v0.enums.BlazeCheckoutStep;
20121
+ export declare type BlazeConsumerMessage = io.flow.internal.v0.unions.BlazeConsumerMessage;
20122
+ export declare type BlazeExitCheckoutMessage = io.flow.internal.v0.models.BlazeExitCheckoutMessage;
20123
+ export declare type BlazeInitializeMessage = io.flow.internal.v0.models.BlazeInitializeMessage;
20124
+ export declare type BlazeProviderMessage = io.flow.internal.v0.unions.BlazeProviderMessage;
20125
+ export declare type BlazeRedirectConfirmationMessage = io.flow.internal.v0.models.BlazeRedirectConfirmationMessage;
20126
+ export declare type BlazeSetCartItemsMessage = io.flow.internal.v0.models.BlazeSetCartItemsMessage;
20127
+ export declare type BlazeStartCheckoutMessage = io.flow.internal.v0.models.BlazeStartCheckoutMessage;
20128
+ export declare type BlazeSynInitializeMessage = io.flow.internal.v0.models.BlazeSynInitializeMessage;
20129
+ export declare type BlazeUpdateCartItemsMessage = io.flow.internal.v0.models.BlazeUpdateCartItemsMessage;
20024
20130
  export declare type BooleanFeatureDefaultValue = io.flow.internal.v0.models.BooleanFeatureDefaultValue;
20025
20131
  export declare type BooleanFeatureRule = io.flow.internal.v0.models.BooleanFeatureRule;
20026
20132
  export declare type BooleanFeatureRuleForm = io.flow.internal.v0.models.BooleanFeatureRuleForm;
@@ -20681,6 +20787,7 @@ export declare type HeapGiftCardWithPin = io.flow.internal.v0.models.HeapGiftCar
20681
20787
  export declare type HeapPayClick = io.flow.internal.v0.models.HeapPayClick;
20682
20788
  export declare type HeapPaymentFormDataReceived = io.flow.internal.v0.models.HeapPaymentFormDataReceived;
20683
20789
  export declare type HeapPaymentFormDataTimeout = io.flow.internal.v0.models.HeapPaymentFormDataTimeout;
20790
+ export declare type HeapPaymentMethodSelected = io.flow.internal.v0.models.HeapPaymentMethodSelected;
20684
20791
  export declare type HeapPerformance = io.flow.internal.v0.models.HeapPerformance;
20685
20792
  export declare type HeapPromoCodeApply = io.flow.internal.v0.models.HeapPromoCodeApply;
20686
20793
  export declare type HeapPromoCodeError = io.flow.internal.v0.models.HeapPromoCodeError;
@@ -20694,6 +20801,7 @@ export declare type HttpMethod = io.flow.internal.v0.enums.HttpMethod;
20694
20801
  export declare type ImportCompleted = io.flow.internal.v0.models.ImportCompleted;
20695
20802
  export declare type ImportFailed = io.flow.internal.v0.models.ImportFailed;
20696
20803
  export declare type IndexTaskType = io.flow.internal.v0.unions.IndexTaskType;
20804
+ export declare type InitialInputDataSource = io.flow.internal.v0.enums.InitialInputDataSource;
20697
20805
  export declare type InlineAuthorizationParameters = io.flow.internal.v0.unions.InlineAuthorizationParameters;
20698
20806
  export declare type InstallForm = io.flow.internal.v0.models.InstallForm;
20699
20807
  export declare type InternalAdyenAuthorizationDetails = io.flow.internal.v0.models.InternalAdyenAuthorizationDetails;
package/dist/api.d.ts CHANGED
@@ -1754,7 +1754,6 @@ declare namespace io.flow.v0.models {
1754
1754
  readonly event_id: string;
1755
1755
  readonly timestamp: string;
1756
1756
  readonly organization: string;
1757
- readonly catalog: string;
1758
1757
  }
1759
1758
  interface CatalogItemDeleted {
1760
1759
  readonly discriminator: 'catalog_item_deleted';
@@ -1762,7 +1761,6 @@ declare namespace io.flow.v0.models {
1762
1761
  readonly timestamp: string;
1763
1762
  readonly organization: string;
1764
1763
  readonly number: string;
1765
- readonly catalog: string;
1766
1764
  }
1767
1765
  interface CatalogItemDeletedV2 {
1768
1766
  readonly discriminator: 'catalog_item_deleted_v2';
@@ -1804,7 +1802,6 @@ declare namespace io.flow.v0.models {
1804
1802
  readonly timestamp: string;
1805
1803
  readonly organization: string;
1806
1804
  readonly number: string;
1807
- readonly catalog: string;
1808
1805
  readonly locale: string;
1809
1806
  readonly name: string;
1810
1807
  readonly currency: string;
@@ -1842,7 +1839,6 @@ declare namespace io.flow.v0.models {
1842
1839
  readonly event_id: string;
1843
1840
  readonly timestamp: string;
1844
1841
  readonly organization: string;
1845
- readonly catalog: string;
1846
1842
  }
1847
1843
  interface CatalogVersion {
1848
1844
  readonly id: string;
@@ -3358,11 +3354,6 @@ declare namespace io.flow.v0.models {
3358
3354
  readonly discriminator: 'harmonization_tariff_codes_export_type';
3359
3355
  readonly sort?: string;
3360
3356
  }
3361
- interface HarmonizedCategory {
3362
- readonly id: string;
3363
- readonly name: string;
3364
- readonly parent?: io.flow.v0.models.HarmonizedCategoryReference;
3365
- }
3366
3357
  interface HarmonizedCategoryReference {
3367
3358
  readonly id: string;
3368
3359
  }
@@ -6859,7 +6850,6 @@ declare namespace io.flow.v0.models {
6859
6850
  readonly event_id: string;
6860
6851
  readonly timestamp: string;
6861
6852
  readonly organization: string;
6862
- readonly catalog: string;
6863
6853
  readonly subcatalog_id: string;
6864
6854
  }
6865
6855
  interface SubcatalogForm {
@@ -6876,7 +6866,6 @@ declare namespace io.flow.v0.models {
6876
6866
  readonly timestamp: string;
6877
6867
  readonly organization: string;
6878
6868
  readonly number: string;
6879
- readonly catalog: string;
6880
6869
  readonly subcatalog_id: string;
6881
6870
  }
6882
6871
  interface SubcatalogItemUpserted {
@@ -6885,7 +6874,6 @@ declare namespace io.flow.v0.models {
6885
6874
  readonly timestamp: string;
6886
6875
  readonly organization: string;
6887
6876
  readonly number: string;
6888
- readonly catalog: string;
6889
6877
  readonly subcatalog_id: string;
6890
6878
  readonly status: string;
6891
6879
  }
@@ -6917,7 +6905,6 @@ declare namespace io.flow.v0.models {
6917
6905
  readonly event_id: string;
6918
6906
  readonly timestamp: string;
6919
6907
  readonly organization: string;
6920
- readonly catalog: string;
6921
6908
  readonly subcatalog_id: string;
6922
6909
  }
6923
6910
  interface SubcatalogVersion {
@@ -8038,7 +8025,6 @@ export declare type HarmonizationHs10ExportType = io.flow.v0.models.Harmonizatio
8038
8025
  export declare type HarmonizationHs6ExportType = io.flow.v0.models.HarmonizationHs6ExportType;
8039
8026
  export declare type HarmonizationOverviewExportType = io.flow.v0.models.HarmonizationOverviewExportType;
8040
8027
  export declare type HarmonizationTariffCodesExportType = io.flow.v0.models.HarmonizationTariffCodesExportType;
8041
- export declare type HarmonizedCategory = io.flow.v0.models.HarmonizedCategory;
8042
8028
  export declare type HarmonizedCategoryReference = io.flow.v0.models.HarmonizedCategoryReference;
8043
8029
  export declare type HarmonizedItem = io.flow.v0.models.HarmonizedItem;
8044
8030
  export declare type HarmonizedItemForm = io.flow.v0.models.HarmonizedItemForm;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@flowio/types",
3
- "version": "10.10.0",
3
+ "version": "11.0.1",
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": "f91b9a07340e2ffbad7f05ca0304c778ea14016e"
28
+ "gitHead": "2778381a74747b55b2e3b8d87be4b762075d5f68"
29
29
  }
@@ -1562,7 +1562,8 @@ declare namespace io.flow.checkout.protocol.v0.enums {
1562
1562
  | 'promotion_code_not_supported'
1563
1563
  | 'promotion_code_invalid'
1564
1564
  | 'promotion_code_expired'
1565
- | 'promotion_code_does_not_meet_requirements';
1565
+ | 'promotion_code_does_not_meet_requirements'
1566
+ | 'promotion_code_order_item_not_available';
1566
1567
  type CheckoutAddGiftCardErrorCode =
1567
1568
  | 'gift_card_not_supported'
1568
1569
  | 'gift_card_insufficient_funds'
@@ -1595,7 +1596,8 @@ declare namespace io.flow.checkout.protocol.v0.enums {
1595
1596
  | 'promotion_code_not_supported'
1596
1597
  | 'promotion_code_invalid'
1597
1598
  | 'promotion_code_expired'
1598
- | 'promotion_code_does_not_meet_requirements';
1599
+ | 'promotion_code_does_not_meet_requirements'
1600
+ | 'promotion_code_order_item_not_available';
1599
1601
  type CheckoutFeaturesErrorCode = 'checkout_not_found';
1600
1602
  type CheckoutGetAddressPredictionErrorCode = 'invalid_prediction';
1601
1603
  type CheckoutGetErrorCode = 'checkout_not_found';
@@ -1667,7 +1669,8 @@ declare namespace io.flow.checkout.protocol.v0.enums {
1667
1669
  | 'promotion_code_not_supported'
1668
1670
  | 'promotion_code_invalid'
1669
1671
  | 'promotion_code_expired'
1670
- | 'promotion_code_does_not_meet_requirements';
1672
+ | 'promotion_code_does_not_meet_requirements'
1673
+ | 'promotion_code_order_item_not_available';
1671
1674
  type CheckoutSubmitErrorCode =
1672
1675
  | 'balance_not_zero'
1673
1676
  | 'address_city_invalid'
@@ -1721,7 +1724,8 @@ declare namespace io.flow.checkout.protocol.v0.enums {
1721
1724
  | 'promotion_code_does_not_meet_requirements'
1722
1725
  | 'promotion_code_expired'
1723
1726
  | 'promotion_code_invalid'
1724
- | 'promotion_code_not_supported';
1727
+ | 'promotion_code_not_supported'
1728
+ | 'promotion_code_order_item_not_available';
1725
1729
  }
1726
1730
 
1727
1731
  declare namespace io.flow.checkout.protocol.v0.models {
@@ -12759,12 +12763,6 @@ declare namespace io.flow.harmonization.v0.models {
12759
12763
  readonly company_name_match_result_reason?: string;
12760
12764
  }
12761
12765
 
12762
- interface HarmonizedCategory {
12763
- readonly id: string;
12764
- readonly name: string;
12765
- readonly parent?: io.flow.harmonization.v0.models.HarmonizedCategoryReference;
12766
- }
12767
-
12768
12766
  interface HarmonizedCategoryReference {
12769
12767
  readonly id: string;
12770
12768
  }
@@ -14520,6 +14518,19 @@ declare namespace io.flow.checkout.analytics.v0.models {
14520
14518
  readonly visitor_id?: string;
14521
14519
  }
14522
14520
 
14521
+ interface HeapPaymentMethodSelected {
14522
+ readonly discriminator: 'payment_method_selected';
14523
+ readonly payment_method_key: string;
14524
+ readonly checkout_id?: string;
14525
+ readonly experience_key?: string;
14526
+ readonly experiment_key?: string;
14527
+ readonly experiment_variant_key?: string;
14528
+ readonly order_number?: string;
14529
+ readonly organization_id?: string;
14530
+ readonly visit_id?: string;
14531
+ readonly visitor_id?: string;
14532
+ }
14533
+
14523
14534
  interface HeapPerformance {
14524
14535
  readonly discriminator: 'performance';
14525
14536
  readonly checkout_id?: string;
@@ -14657,6 +14668,7 @@ declare namespace io.flow.checkout.analytics.v0.unions {
14657
14668
  | io.flow.checkout.analytics.v0.models.HeapPayClick
14658
14669
  | io.flow.checkout.analytics.v0.models.HeapPaymentFormDataReceived
14659
14670
  | io.flow.checkout.analytics.v0.models.HeapPaymentFormDataTimeout
14671
+ | io.flow.checkout.analytics.v0.models.HeapPaymentMethodSelected
14660
14672
  | io.flow.checkout.analytics.v0.models.HeapPerformance
14661
14673
  | io.flow.checkout.analytics.v0.models.HeapPromoCodeApply
14662
14674
  | io.flow.checkout.analytics.v0.models.HeapPromoCodeError
@@ -15899,6 +15911,7 @@ declare namespace io.flow.payment.v0.unions {
15899
15911
  declare namespace io.flow.checkout.backend.v0.enums {
15900
15912
  type CheckoutAddressType = 'shipping' | 'invoicing';
15901
15913
  type CheckoutPaymentGroupType = 'credit' | 'debit' | 'all_cards';
15914
+ type InitialInputDataSource = 'session_persistence';
15902
15915
  type PregenDataKeyField =
15903
15916
  | 'shipping_country'
15904
15917
  | 'shipping_province'
@@ -16984,6 +16997,7 @@ declare namespace io.flow.internal.v0.enums {
16984
16997
  | 'tax_remittance'
16985
16998
  | 'fully_subsidized_order'
16986
16999
  | 'credit_payment';
17000
+ type BlazeCheckoutStep = 'contact' | 'shipping' | 'delivery' | 'payment';
16987
17001
  type BrowserBundleErrorCode = 'generic_error' | 'country_invalid';
16988
17002
  type CarrierLabelGenerationMethod = 'direct' | 'easypost';
16989
17003
  type CatalogImportType =
@@ -17001,7 +17015,8 @@ declare namespace io.flow.internal.v0.enums {
17001
17015
  | 'promotion_code_not_supported'
17002
17016
  | 'promotion_code_invalid'
17003
17017
  | 'promotion_code_expired'
17004
- | 'promotion_code_does_not_meet_requirements';
17018
+ | 'promotion_code_does_not_meet_requirements'
17019
+ | 'promotion_code_order_item_not_available';
17005
17020
  type CheckoutAddGiftCardErrorCode =
17006
17021
  | 'gift_card_not_supported'
17007
17022
  | 'gift_card_insufficient_funds'
@@ -17036,7 +17051,8 @@ declare namespace io.flow.internal.v0.enums {
17036
17051
  | 'promotion_code_not_supported'
17037
17052
  | 'promotion_code_invalid'
17038
17053
  | 'promotion_code_expired'
17039
- | 'promotion_code_does_not_meet_requirements';
17054
+ | 'promotion_code_does_not_meet_requirements'
17055
+ | 'promotion_code_order_item_not_available';
17040
17056
  type CheckoutErrorCode =
17041
17057
  | 'generic_error'
17042
17058
  | 'order_identifier_invalid'
@@ -17127,7 +17143,8 @@ declare namespace io.flow.internal.v0.enums {
17127
17143
  | 'promotion_code_not_supported'
17128
17144
  | 'promotion_code_invalid'
17129
17145
  | 'promotion_code_expired'
17130
- | 'promotion_code_does_not_meet_requirements';
17146
+ | 'promotion_code_does_not_meet_requirements'
17147
+ | 'promotion_code_order_item_not_available';
17131
17148
  type CheckoutShippingMethodPromptBehavior = 'always' | 'multiple';
17132
17149
  type CheckoutSubmitErrorCode =
17133
17150
  | 'balance_not_zero'
@@ -17182,7 +17199,8 @@ declare namespace io.flow.internal.v0.enums {
17182
17199
  | 'promotion_code_does_not_meet_requirements'
17183
17200
  | 'promotion_code_expired'
17184
17201
  | 'promotion_code_invalid'
17185
- | 'promotion_code_not_supported';
17202
+ | 'promotion_code_not_supported'
17203
+ | 'promotion_code_order_item_not_available';
17186
17204
  type CheckoutUrlType =
17187
17205
  | 'continue_shopping'
17188
17206
  | 'confirmation'
@@ -17411,6 +17429,7 @@ declare namespace io.flow.internal.v0.enums {
17411
17429
  type FtpProtocol = 'sftp' | 'ftp';
17412
17430
  type GoogleAnalyticsPlugin = 'ec';
17413
17431
  type HttpMethod = 'get' | 'post';
17432
+ type InitialInputDataSource = 'session_persistence';
17414
17433
  type InventoryCheckService = 'sfcc' | 'gymboree';
17415
17434
  type InventoryReservation = 'synchronous-on-submit';
17416
17435
  type ItemClassificationAction = 'ACCEPT' | 'MANUAL' | 'REJECT';
@@ -18392,6 +18411,85 @@ declare namespace io.flow.internal.v0.models {
18392
18411
  readonly secret_key: string;
18393
18412
  }
18394
18413
 
18414
+ interface BlazeAddOrderAttributesMessage {
18415
+ readonly discriminator: 'add_order_attributes';
18416
+ readonly attributes: Record<string, string>;
18417
+ }
18418
+
18419
+ interface BlazeAddToCartMessage {
18420
+ readonly discriminator: 'add_to_cart';
18421
+ readonly item: io.flow.internal.v0.models.BlazeCheckoutItem;
18422
+ }
18423
+
18424
+ interface BlazeCheckoutCompleteMessage {
18425
+ readonly discriminator: 'checkout_complete';
18426
+ readonly affiliation: string;
18427
+ readonly checkout_id: string;
18428
+ readonly currency: string;
18429
+ readonly duty?: number;
18430
+ readonly lines: io.flow.internal.v0.models.BlazeCheckoutLine[];
18431
+ readonly promotion?: string;
18432
+ readonly revenue: number;
18433
+ readonly shipping?: number;
18434
+ readonly tax?: number;
18435
+ }
18436
+
18437
+ interface BlazeCheckoutItem {
18438
+ readonly attributes: Record<string, string>;
18439
+ readonly item_number: string;
18440
+ readonly quantity: number;
18441
+ }
18442
+
18443
+ interface BlazeCheckoutLine {
18444
+ readonly number: string;
18445
+ readonly name?: string;
18446
+ readonly brand?: string;
18447
+ readonly category?: string;
18448
+ readonly currency?: string;
18449
+ readonly price?: number;
18450
+ readonly quantity?: number;
18451
+ }
18452
+
18453
+ interface BlazeCheckoutProgressMessage {
18454
+ readonly discriminator: 'checkout_progress';
18455
+ readonly checkout_id: string;
18456
+ readonly lines: io.flow.internal.v0.models.BlazeCheckoutLine[];
18457
+ readonly promotion?: string;
18458
+ readonly step: io.flow.internal.v0.enums.BlazeCheckoutStep;
18459
+ }
18460
+
18461
+ interface BlazeExitCheckoutMessage {
18462
+ readonly discriminator: 'exit_checkout';
18463
+ }
18464
+
18465
+ interface BlazeInitializeMessage {
18466
+ readonly discriminator: 'initialize';
18467
+ readonly session_id: string;
18468
+ }
18469
+
18470
+ interface BlazeRedirectConfirmationMessage {
18471
+ readonly discriminator: 'redirect_confirmation';
18472
+ readonly url: string;
18473
+ }
18474
+
18475
+ interface BlazeSetCartItemsMessage {
18476
+ readonly discriminator: 'set_cart_items';
18477
+ readonly items: io.flow.internal.v0.models.BlazeCheckoutItem[];
18478
+ }
18479
+
18480
+ interface BlazeStartCheckoutMessage {
18481
+ readonly discriminator: 'start_checkout';
18482
+ }
18483
+
18484
+ interface BlazeSynInitializeMessage {
18485
+ readonly discriminator: 'syn_initialize';
18486
+ }
18487
+
18488
+ interface BlazeUpdateCartItemsMessage {
18489
+ readonly discriminator: 'update_cart_items';
18490
+ readonly items: io.flow.internal.v0.models.BlazeCheckoutItem[];
18491
+ }
18492
+
18395
18493
  interface BooleanFeatureDefaultValue {
18396
18494
  readonly discriminator: 'boolean';
18397
18495
  readonly value: boolean;
@@ -21736,6 +21834,19 @@ declare namespace io.flow.internal.v0.models {
21736
21834
  readonly visitor_id?: string;
21737
21835
  }
21738
21836
 
21837
+ interface HeapPaymentMethodSelected {
21838
+ readonly discriminator: 'payment_method_selected';
21839
+ readonly payment_method_key: string;
21840
+ readonly checkout_id?: string;
21841
+ readonly experience_key?: string;
21842
+ readonly experiment_key?: string;
21843
+ readonly experiment_variant_key?: string;
21844
+ readonly order_number?: string;
21845
+ readonly organization_id?: string;
21846
+ readonly visit_id?: string;
21847
+ readonly visitor_id?: string;
21848
+ }
21849
+
21739
21850
  interface HeapPerformance {
21740
21851
  readonly discriminator: 'performance';
21741
21852
  readonly checkout_id?: string;
@@ -25280,6 +25391,19 @@ declare namespace io.flow.internal.v0.unions {
25280
25391
  | io.flow.internal.v0.models.ApplePayAuthorizationPayload
25281
25392
  | io.flow.internal.v0.models.PaypalAuthorizationPayload;
25282
25393
  type AuthorizedOrderCharge = io.flow.internal.v0.models.AuthorizedShippingCharge;
25394
+ type BlazeConsumerMessage =
25395
+ | io.flow.internal.v0.models.BlazeAddOrderAttributesMessage
25396
+ | io.flow.internal.v0.models.BlazeAddToCartMessage
25397
+ | io.flow.internal.v0.models.BlazeInitializeMessage
25398
+ | io.flow.internal.v0.models.BlazeSetCartItemsMessage
25399
+ | io.flow.internal.v0.models.BlazeStartCheckoutMessage
25400
+ | io.flow.internal.v0.models.BlazeUpdateCartItemsMessage;
25401
+ type BlazeProviderMessage =
25402
+ | io.flow.internal.v0.models.BlazeCheckoutCompleteMessage
25403
+ | io.flow.internal.v0.models.BlazeCheckoutProgressMessage
25404
+ | io.flow.internal.v0.models.BlazeExitCheckoutMessage
25405
+ | io.flow.internal.v0.models.BlazeRedirectConfirmationMessage
25406
+ | io.flow.internal.v0.models.BlazeSynInitializeMessage;
25283
25407
  type CarrierCredentials =
25284
25408
  | io.flow.internal.v0.models.SfExpress
25285
25409
  | io.flow.internal.v0.models.DhlEcommerce
@@ -25723,6 +25847,7 @@ declare namespace io.flow.internal.v0.unions {
25723
25847
  | io.flow.internal.v0.models.HeapPayClick
25724
25848
  | io.flow.internal.v0.models.HeapPaymentFormDataReceived
25725
25849
  | io.flow.internal.v0.models.HeapPaymentFormDataTimeout
25850
+ | io.flow.internal.v0.models.HeapPaymentMethodSelected
25726
25851
  | io.flow.internal.v0.models.HeapPerformance
25727
25852
  | io.flow.internal.v0.models.HeapPromoCodeApply
25728
25853
  | io.flow.internal.v0.models.HeapPromoCodeError
@@ -25983,6 +26108,22 @@ export type BitpayAccountPutForm = io.flow.internal.v0.models.BitpayAccountPutFo
25983
26108
  export type BitpayAuthentication = io.flow.internal.v0.models.BitpayAuthentication;
25984
26109
  export type BitpayAuthenticationDataReference = io.flow.internal.v0.models.BitpayAuthenticationDataReference;
25985
26110
  export type BitpayAuthenticationForm = io.flow.internal.v0.models.BitpayAuthenticationForm;
26111
+ export type BlazeAddOrderAttributesMessage = io.flow.internal.v0.models.BlazeAddOrderAttributesMessage;
26112
+ export type BlazeAddToCartMessage = io.flow.internal.v0.models.BlazeAddToCartMessage;
26113
+ export type BlazeCheckoutCompleteMessage = io.flow.internal.v0.models.BlazeCheckoutCompleteMessage;
26114
+ export type BlazeCheckoutItem = io.flow.internal.v0.models.BlazeCheckoutItem;
26115
+ export type BlazeCheckoutLine = io.flow.internal.v0.models.BlazeCheckoutLine;
26116
+ export type BlazeCheckoutProgressMessage = io.flow.internal.v0.models.BlazeCheckoutProgressMessage;
26117
+ export type BlazeCheckoutStep = io.flow.internal.v0.enums.BlazeCheckoutStep;
26118
+ export type BlazeConsumerMessage = io.flow.internal.v0.unions.BlazeConsumerMessage;
26119
+ export type BlazeExitCheckoutMessage = io.flow.internal.v0.models.BlazeExitCheckoutMessage;
26120
+ export type BlazeInitializeMessage = io.flow.internal.v0.models.BlazeInitializeMessage;
26121
+ export type BlazeProviderMessage = io.flow.internal.v0.unions.BlazeProviderMessage;
26122
+ export type BlazeRedirectConfirmationMessage = io.flow.internal.v0.models.BlazeRedirectConfirmationMessage;
26123
+ export type BlazeSetCartItemsMessage = io.flow.internal.v0.models.BlazeSetCartItemsMessage;
26124
+ export type BlazeStartCheckoutMessage = io.flow.internal.v0.models.BlazeStartCheckoutMessage;
26125
+ export type BlazeSynInitializeMessage = io.flow.internal.v0.models.BlazeSynInitializeMessage;
26126
+ export type BlazeUpdateCartItemsMessage = io.flow.internal.v0.models.BlazeUpdateCartItemsMessage;
25986
26127
  export type BooleanFeatureDefaultValue = io.flow.internal.v0.models.BooleanFeatureDefaultValue;
25987
26128
  export type BooleanFeatureRule = io.flow.internal.v0.models.BooleanFeatureRule;
25988
26129
  export type BooleanFeatureRuleForm = io.flow.internal.v0.models.BooleanFeatureRuleForm;
@@ -26643,6 +26784,7 @@ export type HeapGiftCardWithPin = io.flow.internal.v0.models.HeapGiftCardWithPin
26643
26784
  export type HeapPayClick = io.flow.internal.v0.models.HeapPayClick;
26644
26785
  export type HeapPaymentFormDataReceived = io.flow.internal.v0.models.HeapPaymentFormDataReceived;
26645
26786
  export type HeapPaymentFormDataTimeout = io.flow.internal.v0.models.HeapPaymentFormDataTimeout;
26787
+ export type HeapPaymentMethodSelected = io.flow.internal.v0.models.HeapPaymentMethodSelected;
26646
26788
  export type HeapPerformance = io.flow.internal.v0.models.HeapPerformance;
26647
26789
  export type HeapPromoCodeApply = io.flow.internal.v0.models.HeapPromoCodeApply;
26648
26790
  export type HeapPromoCodeError = io.flow.internal.v0.models.HeapPromoCodeError;
@@ -26656,6 +26798,7 @@ export type HttpMethod = io.flow.internal.v0.enums.HttpMethod;
26656
26798
  export type ImportCompleted = io.flow.internal.v0.models.ImportCompleted;
26657
26799
  export type ImportFailed = io.flow.internal.v0.models.ImportFailed;
26658
26800
  export type IndexTaskType = io.flow.internal.v0.unions.IndexTaskType;
26801
+ export type InitialInputDataSource = io.flow.internal.v0.enums.InitialInputDataSource;
26659
26802
  export type InlineAuthorizationParameters = io.flow.internal.v0.unions.InlineAuthorizationParameters;
26660
26803
  export type InstallForm = io.flow.internal.v0.models.InstallForm;
26661
26804
  export type InternalAdyenAuthorizationDetails = io.flow.internal.v0.models.InternalAdyenAuthorizationDetails;
package/src/api.ts CHANGED
@@ -2571,7 +2571,6 @@ declare namespace io.flow.v0.models {
2571
2571
  readonly event_id: string;
2572
2572
  readonly timestamp: string;
2573
2573
  readonly organization: string;
2574
- readonly catalog: string;
2575
2574
  }
2576
2575
 
2577
2576
  interface CatalogItemDeleted {
@@ -2580,7 +2579,6 @@ declare namespace io.flow.v0.models {
2580
2579
  readonly timestamp: string;
2581
2580
  readonly organization: string;
2582
2581
  readonly number: string;
2583
- readonly catalog: string;
2584
2582
  }
2585
2583
 
2586
2584
  interface CatalogItemDeletedV2 {
@@ -2629,7 +2627,6 @@ declare namespace io.flow.v0.models {
2629
2627
  readonly timestamp: string;
2630
2628
  readonly organization: string;
2631
2629
  readonly number: string;
2632
- readonly catalog: string;
2633
2630
  readonly locale: string;
2634
2631
  readonly name: string;
2635
2632
  readonly currency: string;
@@ -2672,7 +2669,6 @@ declare namespace io.flow.v0.models {
2672
2669
  readonly event_id: string;
2673
2670
  readonly timestamp: string;
2674
2671
  readonly organization: string;
2675
- readonly catalog: string;
2676
2672
  }
2677
2673
 
2678
2674
  interface CatalogVersion {
@@ -4451,12 +4447,6 @@ declare namespace io.flow.v0.models {
4451
4447
  readonly sort?: string;
4452
4448
  }
4453
4449
 
4454
- interface HarmonizedCategory {
4455
- readonly id: string;
4456
- readonly name: string;
4457
- readonly parent?: io.flow.v0.models.HarmonizedCategoryReference;
4458
- }
4459
-
4460
4450
  interface HarmonizedCategoryReference {
4461
4451
  readonly id: string;
4462
4452
  }
@@ -8503,7 +8493,6 @@ declare namespace io.flow.v0.models {
8503
8493
  readonly event_id: string;
8504
8494
  readonly timestamp: string;
8505
8495
  readonly organization: string;
8506
- readonly catalog: string;
8507
8496
  readonly subcatalog_id: string;
8508
8497
  }
8509
8498
 
@@ -8523,7 +8512,6 @@ declare namespace io.flow.v0.models {
8523
8512
  readonly timestamp: string;
8524
8513
  readonly organization: string;
8525
8514
  readonly number: string;
8526
- readonly catalog: string;
8527
8515
  readonly subcatalog_id: string;
8528
8516
  }
8529
8517
 
@@ -8533,7 +8521,6 @@ declare namespace io.flow.v0.models {
8533
8521
  readonly timestamp: string;
8534
8522
  readonly organization: string;
8535
8523
  readonly number: string;
8536
- readonly catalog: string;
8537
8524
  readonly subcatalog_id: string;
8538
8525
  readonly status: string;
8539
8526
  }
@@ -8571,7 +8558,6 @@ declare namespace io.flow.v0.models {
8571
8558
  readonly event_id: string;
8572
8559
  readonly timestamp: string;
8573
8560
  readonly organization: string;
8574
- readonly catalog: string;
8575
8561
  readonly subcatalog_id: string;
8576
8562
  }
8577
8563
 
@@ -10102,7 +10088,6 @@ export type HarmonizationHs10ExportType = io.flow.v0.models.HarmonizationHs10Exp
10102
10088
  export type HarmonizationHs6ExportType = io.flow.v0.models.HarmonizationHs6ExportType;
10103
10089
  export type HarmonizationOverviewExportType = io.flow.v0.models.HarmonizationOverviewExportType;
10104
10090
  export type HarmonizationTariffCodesExportType = io.flow.v0.models.HarmonizationTariffCodesExportType;
10105
- export type HarmonizedCategory = io.flow.v0.models.HarmonizedCategory;
10106
10091
  export type HarmonizedCategoryReference = io.flow.v0.models.HarmonizedCategoryReference;
10107
10092
  export type HarmonizedItem = io.flow.v0.models.HarmonizedItem;
10108
10093
  export type HarmonizedItemForm = io.flow.v0.models.HarmonizedItemForm;