@flowio/api-internal-prop-types 8.9.0 → 9.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.
- package/lib/api-internal.d.ts +138 -16
- package/lib/api-internal.js +1 -1
- package/package.json +2 -2
- package/src/api-internal.d.ts +138 -16
- package/src/api-internal.js +159 -10
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@flowio/api-internal-prop-types",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "9.0.1",
|
|
4
4
|
"description": "PropType validators that work with internal Flow API",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"flow",
|
|
@@ -30,5 +30,5 @@
|
|
|
30
30
|
"peerDependencies": {
|
|
31
31
|
"prop-types": "^15.7.0"
|
|
32
32
|
},
|
|
33
|
-
"gitHead": "
|
|
33
|
+
"gitHead": "2778381a74747b55b2e3b8d87be4b762075d5f68"
|
|
34
34
|
}
|
package/src/api-internal.d.ts
CHANGED
|
@@ -1419,7 +1419,7 @@ declare namespace io.flow.tax.internal.v0.unions {
|
|
|
1419
1419
|
}
|
|
1420
1420
|
|
|
1421
1421
|
declare namespace io.flow.checkout.protocol.v0.enums {
|
|
1422
|
-
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';
|
|
1422
|
+
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';
|
|
1423
1423
|
type CheckoutAddGiftCardErrorCode = 'gift_card_not_supported' | 'gift_card_insufficient_funds' | 'gift_card_invalid_number';
|
|
1424
1424
|
type CheckoutAddLineErrorCode = 'line_quantity_invalid' | 'line_item_number_invalid' | 'line_item_number_not_available' | 'line_value_threshold_exceeded';
|
|
1425
1425
|
type CheckoutAddOrderIdentifierErrorCode = 'order_identifier_invalid';
|
|
@@ -1429,7 +1429,7 @@ declare namespace io.flow.checkout.protocol.v0.enums {
|
|
|
1429
1429
|
type CheckoutDeleteAddressStreetErrorCode = 'address_line_number_invalid';
|
|
1430
1430
|
type CheckoutDeleteLineErrorCode = 'line_not_found';
|
|
1431
1431
|
type CheckoutDeletePaymentErrorCode = 'payment_not_found' | 'payment_type_does_not_support_delete';
|
|
1432
|
-
type CheckoutDeletePromotionCodeErrorCode = 'promotion_code_not_supported' | 'promotion_code_invalid' | 'promotion_code_expired' | 'promotion_code_does_not_meet_requirements';
|
|
1432
|
+
type CheckoutDeletePromotionCodeErrorCode = 'promotion_code_not_supported' | 'promotion_code_invalid' | 'promotion_code_expired' | 'promotion_code_does_not_meet_requirements' | 'promotion_code_order_item_not_available';
|
|
1433
1433
|
type CheckoutFeaturesErrorCode = 'checkout_not_found';
|
|
1434
1434
|
type CheckoutGetAddressPredictionErrorCode = 'invalid_prediction';
|
|
1435
1435
|
type CheckoutGetErrorCode = 'checkout_not_found';
|
|
@@ -1455,8 +1455,8 @@ declare namespace io.flow.checkout.protocol.v0.enums {
|
|
|
1455
1455
|
type CheckoutSetLinesErrorCode = 'line_quantity_invalid' | 'line_item_number_invalid' | 'line_item_number_not_available' | 'line_value_threshold_exceeded' | 'checkout_requires_at_least_one_line';
|
|
1456
1456
|
type CheckoutSetLocaleErrorCode = 'locale_invalid';
|
|
1457
1457
|
type CheckoutSetOptinPromptErrorCode = 'optin_prompt_not_found' | 'optin_prompt_consent_required' | 'optin_prompt_invalid_value';
|
|
1458
|
-
type CheckoutSetPromotionCodeErrorCode = 'promotion_code_not_supported' | 'promotion_code_invalid' | 'promotion_code_expired' | 'promotion_code_does_not_meet_requirements';
|
|
1459
|
-
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';
|
|
1458
|
+
type CheckoutSetPromotionCodeErrorCode = 'promotion_code_not_supported' | 'promotion_code_invalid' | 'promotion_code_expired' | 'promotion_code_does_not_meet_requirements' | 'promotion_code_order_item_not_available';
|
|
1459
|
+
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';
|
|
1460
1460
|
}
|
|
1461
1461
|
|
|
1462
1462
|
declare namespace io.flow.checkout.protocol.v0.models {
|
|
@@ -11198,12 +11198,6 @@ declare namespace io.flow.harmonization.v0.models {
|
|
|
11198
11198
|
readonly 'company_name_match_result_reason'?: string;
|
|
11199
11199
|
}
|
|
11200
11200
|
|
|
11201
|
-
interface HarmonizedCategory {
|
|
11202
|
-
readonly 'id': string;
|
|
11203
|
-
readonly 'name': string;
|
|
11204
|
-
readonly 'parent'?: io.flow.harmonization.v0.models.HarmonizedCategoryReference;
|
|
11205
|
-
}
|
|
11206
|
-
|
|
11207
11201
|
interface HarmonizedCategoryReference {
|
|
11208
11202
|
readonly 'id': string;
|
|
11209
11203
|
}
|
|
@@ -12894,6 +12888,19 @@ declare namespace io.flow.checkout.analytics.v0.models {
|
|
|
12894
12888
|
readonly 'visitor_id'?: string;
|
|
12895
12889
|
}
|
|
12896
12890
|
|
|
12891
|
+
interface HeapPaymentMethodSelected {
|
|
12892
|
+
readonly 'discriminator': 'payment_method_selected';
|
|
12893
|
+
readonly 'payment_method_key': string;
|
|
12894
|
+
readonly 'checkout_id'?: string;
|
|
12895
|
+
readonly 'experience_key'?: string;
|
|
12896
|
+
readonly 'experiment_key'?: string;
|
|
12897
|
+
readonly 'experiment_variant_key'?: string;
|
|
12898
|
+
readonly 'order_number'?: string;
|
|
12899
|
+
readonly 'organization_id'?: string;
|
|
12900
|
+
readonly 'visit_id'?: string;
|
|
12901
|
+
readonly 'visitor_id'?: string;
|
|
12902
|
+
}
|
|
12903
|
+
|
|
12897
12904
|
interface HeapPerformance {
|
|
12898
12905
|
readonly 'discriminator': 'performance';
|
|
12899
12906
|
readonly 'checkout_id'?: string;
|
|
@@ -13008,7 +13015,7 @@ declare namespace io.flow.checkout.analytics.v0.unions {
|
|
|
13008
13015
|
type CheckoutAnalyticsDeliveryOption = (io.flow.checkout.analytics.v0.models.CheckoutAnalyticsPhysicalDeliveryOption | io.flow.checkout.analytics.v0.models.CheckoutAnalyticsDigitalDeliveryOption);
|
|
13009
13016
|
type CheckoutAnalyticsOrder = (io.flow.checkout.analytics.v0.models.CheckoutAnalyticsOpenOrder | io.flow.checkout.analytics.v0.models.CheckoutAnalyticsSubmittedOrder);
|
|
13010
13017
|
type CheckoutAnalyticsPayment = (io.flow.checkout.analytics.v0.models.CheckoutAnalyticsPaymentCard | io.flow.checkout.analytics.v0.models.CheckoutAnalyticsPaymentGiftCard | io.flow.checkout.analytics.v0.models.CheckoutAnalyticsPaymentOnline);
|
|
13011
|
-
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);
|
|
13018
|
+
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);
|
|
13012
13019
|
}
|
|
13013
13020
|
|
|
13014
13021
|
declare namespace io.flow.currency.v0.enums {
|
|
@@ -14144,6 +14151,7 @@ declare namespace io.flow.payment.v0.unions {
|
|
|
14144
14151
|
declare namespace io.flow.checkout.backend.v0.enums {
|
|
14145
14152
|
type CheckoutAddressType = 'shipping' | 'invoicing';
|
|
14146
14153
|
type CheckoutPaymentGroupType = 'credit' | 'debit' | 'all_cards';
|
|
14154
|
+
type InitialInputDataSource = 'session_persistence';
|
|
14147
14155
|
type PregenDataKeyField = 'shipping_country' | 'shipping_province' | 'invoicing_country' | 'delivery_option_id';
|
|
14148
14156
|
}
|
|
14149
14157
|
|
|
@@ -15133,12 +15141,13 @@ declare namespace io.flow.internal.v0.enums {
|
|
|
15133
15141
|
type BillingStatementReviewStatus = 'approved' | 'pending';
|
|
15134
15142
|
type BillingTransactionStatus = 'pending' | 'posted';
|
|
15135
15143
|
type BillingTransactionType = 'manual' | 'subscription' | 'invoice' | 'transfer' | 'adjustment' | 'capture' | 'refund' | 'virtual_card_capture' | 'virtual_card_refund' | 'tax_remittance' | 'fully_subsidized_order' | 'credit_payment';
|
|
15144
|
+
type BlazeCheckoutStep = 'contact' | 'shipping' | 'delivery' | 'payment';
|
|
15136
15145
|
type BrowserBundleErrorCode = 'generic_error' | 'country_invalid';
|
|
15137
15146
|
type CarrierLabelGenerationMethod = 'direct' | 'easypost';
|
|
15138
15147
|
type CatalogImportType = 'catalog_items' | 'item_form_overlays' | 'item_prices' | 'price_book_items_import' | 'price_book_items_query_import';
|
|
15139
15148
|
type ChargebackPaymentStatus = 'captured' | 'refunded';
|
|
15140
15149
|
type ChargebackProcessStatus = 'inquiry' | 'open' | 'closed';
|
|
15141
|
-
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';
|
|
15150
|
+
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';
|
|
15142
15151
|
type CheckoutAddGiftCardErrorCode = 'gift_card_not_supported' | 'gift_card_insufficient_funds' | 'gift_card_invalid_number';
|
|
15143
15152
|
type CheckoutAddLineErrorCode = 'line_quantity_invalid' | 'line_item_number_invalid' | 'line_item_number_not_available' | 'line_value_threshold_exceeded';
|
|
15144
15153
|
type CheckoutAddOrderIdentifierErrorCode = 'order_identifier_invalid';
|
|
@@ -15150,7 +15159,7 @@ declare namespace io.flow.internal.v0.enums {
|
|
|
15150
15159
|
type CheckoutDeleteAddressStreetErrorCode = 'address_line_number_invalid';
|
|
15151
15160
|
type CheckoutDeleteLineErrorCode = 'line_not_found';
|
|
15152
15161
|
type CheckoutDeletePaymentErrorCode = 'payment_not_found' | 'payment_type_does_not_support_delete';
|
|
15153
|
-
type CheckoutDeletePromotionCodeErrorCode = 'promotion_code_not_supported' | 'promotion_code_invalid' | 'promotion_code_expired' | 'promotion_code_does_not_meet_requirements';
|
|
15162
|
+
type CheckoutDeletePromotionCodeErrorCode = 'promotion_code_not_supported' | 'promotion_code_invalid' | 'promotion_code_expired' | 'promotion_code_does_not_meet_requirements' | 'promotion_code_order_item_not_available';
|
|
15154
15163
|
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';
|
|
15155
15164
|
type CheckoutFeaturesErrorCode = 'checkout_not_found';
|
|
15156
15165
|
type CheckoutGetAddressPredictionErrorCode = 'invalid_prediction';
|
|
@@ -15181,9 +15190,9 @@ declare namespace io.flow.internal.v0.enums {
|
|
|
15181
15190
|
type CheckoutSetLinesErrorCode = 'line_quantity_invalid' | 'line_item_number_invalid' | 'line_item_number_not_available' | 'line_value_threshold_exceeded' | 'checkout_requires_at_least_one_line';
|
|
15182
15191
|
type CheckoutSetLocaleErrorCode = 'locale_invalid';
|
|
15183
15192
|
type CheckoutSetOptinPromptErrorCode = 'optin_prompt_not_found' | 'optin_prompt_consent_required' | 'optin_prompt_invalid_value';
|
|
15184
|
-
type CheckoutSetPromotionCodeErrorCode = 'promotion_code_not_supported' | 'promotion_code_invalid' | 'promotion_code_expired' | 'promotion_code_does_not_meet_requirements';
|
|
15193
|
+
type CheckoutSetPromotionCodeErrorCode = 'promotion_code_not_supported' | 'promotion_code_invalid' | 'promotion_code_expired' | 'promotion_code_does_not_meet_requirements' | 'promotion_code_order_item_not_available';
|
|
15185
15194
|
type CheckoutShippingMethodPromptBehavior = 'always' | 'multiple';
|
|
15186
|
-
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';
|
|
15195
|
+
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';
|
|
15187
15196
|
type CheckoutUrlType = 'continue_shopping' | 'confirmation' | 'invalid_checkout';
|
|
15188
15197
|
type ComplianceType = 'weee';
|
|
15189
15198
|
type ContentElementType = 'markdown' | 'html' | 'plain_text' | 'href';
|
|
@@ -15217,6 +15226,7 @@ declare namespace io.flow.internal.v0.enums {
|
|
|
15217
15226
|
type FtpProtocol = 'sftp' | 'ftp';
|
|
15218
15227
|
type GoogleAnalyticsPlugin = 'ec';
|
|
15219
15228
|
type HttpMethod = 'get' | 'post';
|
|
15229
|
+
type InitialInputDataSource = 'session_persistence';
|
|
15220
15230
|
type InventoryCheckService = 'sfcc' | 'gymboree';
|
|
15221
15231
|
type InventoryReservation = 'synchronous-on-submit';
|
|
15222
15232
|
type ItemClassificationAction = 'ACCEPT' | 'MANUAL' | 'REJECT';
|
|
@@ -16067,6 +16077,85 @@ declare namespace io.flow.internal.v0.models {
|
|
|
16067
16077
|
readonly 'secret_key': string;
|
|
16068
16078
|
}
|
|
16069
16079
|
|
|
16080
|
+
interface BlazeAddOrderAttributesMessage {
|
|
16081
|
+
readonly 'discriminator': 'add_order_attributes';
|
|
16082
|
+
readonly 'attributes': Record<string, string>;
|
|
16083
|
+
}
|
|
16084
|
+
|
|
16085
|
+
interface BlazeAddToCartMessage {
|
|
16086
|
+
readonly 'discriminator': 'add_to_cart';
|
|
16087
|
+
readonly 'item': io.flow.internal.v0.models.BlazeCheckoutItem;
|
|
16088
|
+
}
|
|
16089
|
+
|
|
16090
|
+
interface BlazeCheckoutCompleteMessage {
|
|
16091
|
+
readonly 'discriminator': 'checkout_complete';
|
|
16092
|
+
readonly 'affiliation': string;
|
|
16093
|
+
readonly 'checkout_id': string;
|
|
16094
|
+
readonly 'currency': string;
|
|
16095
|
+
readonly 'duty'?: number;
|
|
16096
|
+
readonly 'lines': io.flow.internal.v0.models.BlazeCheckoutLine[];
|
|
16097
|
+
readonly 'promotion'?: string;
|
|
16098
|
+
readonly 'revenue': number;
|
|
16099
|
+
readonly 'shipping'?: number;
|
|
16100
|
+
readonly 'tax'?: number;
|
|
16101
|
+
}
|
|
16102
|
+
|
|
16103
|
+
interface BlazeCheckoutItem {
|
|
16104
|
+
readonly 'attributes': Record<string, string>;
|
|
16105
|
+
readonly 'item_number': string;
|
|
16106
|
+
readonly 'quantity': number;
|
|
16107
|
+
}
|
|
16108
|
+
|
|
16109
|
+
interface BlazeCheckoutLine {
|
|
16110
|
+
readonly 'number': string;
|
|
16111
|
+
readonly 'name'?: string;
|
|
16112
|
+
readonly 'brand'?: string;
|
|
16113
|
+
readonly 'category'?: string;
|
|
16114
|
+
readonly 'currency'?: string;
|
|
16115
|
+
readonly 'price'?: number;
|
|
16116
|
+
readonly 'quantity'?: number;
|
|
16117
|
+
}
|
|
16118
|
+
|
|
16119
|
+
interface BlazeCheckoutProgressMessage {
|
|
16120
|
+
readonly 'discriminator': 'checkout_progress';
|
|
16121
|
+
readonly 'checkout_id': string;
|
|
16122
|
+
readonly 'lines': io.flow.internal.v0.models.BlazeCheckoutLine[];
|
|
16123
|
+
readonly 'promotion'?: string;
|
|
16124
|
+
readonly 'step': io.flow.internal.v0.enums.BlazeCheckoutStep;
|
|
16125
|
+
}
|
|
16126
|
+
|
|
16127
|
+
interface BlazeExitCheckoutMessage {
|
|
16128
|
+
readonly 'discriminator': 'exit_checkout';
|
|
16129
|
+
}
|
|
16130
|
+
|
|
16131
|
+
interface BlazeInitializeMessage {
|
|
16132
|
+
readonly 'discriminator': 'initialize';
|
|
16133
|
+
readonly 'session_id': string;
|
|
16134
|
+
}
|
|
16135
|
+
|
|
16136
|
+
interface BlazeRedirectConfirmationMessage {
|
|
16137
|
+
readonly 'discriminator': 'redirect_confirmation';
|
|
16138
|
+
readonly 'url': string;
|
|
16139
|
+
}
|
|
16140
|
+
|
|
16141
|
+
interface BlazeSetCartItemsMessage {
|
|
16142
|
+
readonly 'discriminator': 'set_cart_items';
|
|
16143
|
+
readonly 'items': io.flow.internal.v0.models.BlazeCheckoutItem[];
|
|
16144
|
+
}
|
|
16145
|
+
|
|
16146
|
+
interface BlazeStartCheckoutMessage {
|
|
16147
|
+
readonly 'discriminator': 'start_checkout';
|
|
16148
|
+
}
|
|
16149
|
+
|
|
16150
|
+
interface BlazeSynInitializeMessage {
|
|
16151
|
+
readonly 'discriminator': 'syn_initialize';
|
|
16152
|
+
}
|
|
16153
|
+
|
|
16154
|
+
interface BlazeUpdateCartItemsMessage {
|
|
16155
|
+
readonly 'discriminator': 'update_cart_items';
|
|
16156
|
+
readonly 'items': io.flow.internal.v0.models.BlazeCheckoutItem[];
|
|
16157
|
+
}
|
|
16158
|
+
|
|
16070
16159
|
interface BooleanFeatureDefaultValue {
|
|
16071
16160
|
readonly 'discriminator': 'boolean';
|
|
16072
16161
|
readonly 'value': boolean;
|
|
@@ -19396,6 +19485,19 @@ declare namespace io.flow.internal.v0.models {
|
|
|
19396
19485
|
readonly 'visitor_id'?: string;
|
|
19397
19486
|
}
|
|
19398
19487
|
|
|
19488
|
+
interface HeapPaymentMethodSelected {
|
|
19489
|
+
readonly 'discriminator': 'payment_method_selected';
|
|
19490
|
+
readonly 'payment_method_key': string;
|
|
19491
|
+
readonly 'checkout_id'?: string;
|
|
19492
|
+
readonly 'experience_key'?: string;
|
|
19493
|
+
readonly 'experiment_key'?: string;
|
|
19494
|
+
readonly 'experiment_variant_key'?: string;
|
|
19495
|
+
readonly 'order_number'?: string;
|
|
19496
|
+
readonly 'organization_id'?: string;
|
|
19497
|
+
readonly 'visit_id'?: string;
|
|
19498
|
+
readonly 'visitor_id'?: string;
|
|
19499
|
+
}
|
|
19500
|
+
|
|
19399
19501
|
interface HeapPerformance {
|
|
19400
19502
|
readonly 'discriminator': 'performance';
|
|
19401
19503
|
readonly 'checkout_id'?: string;
|
|
@@ -22929,6 +23031,8 @@ declare namespace io.flow.internal.v0.models {
|
|
|
22929
23031
|
declare namespace io.flow.internal.v0.unions {
|
|
22930
23032
|
type AuthorizationPayload = (io.flow.internal.v0.models.ApplePayAuthorizationPayload | io.flow.internal.v0.models.PaypalAuthorizationPayload);
|
|
22931
23033
|
type AuthorizedOrderCharge = (io.flow.internal.v0.models.AuthorizedShippingCharge);
|
|
23034
|
+
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);
|
|
23035
|
+
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);
|
|
22932
23036
|
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);
|
|
22933
23037
|
type CheckoutAnalyticsDeliveryOption = (io.flow.internal.v0.models.CheckoutAnalyticsPhysicalDeliveryOption | io.flow.internal.v0.models.CheckoutAnalyticsDigitalDeliveryOption);
|
|
22934
23038
|
type CheckoutAnalyticsOrder = (io.flow.internal.v0.models.CheckoutAnalyticsOpenOrder | io.flow.internal.v0.models.CheckoutAnalyticsSubmittedOrder);
|
|
@@ -23003,7 +23107,7 @@ declare namespace io.flow.internal.v0.unions {
|
|
|
23003
23107
|
type FeatureTaskData = (io.flow.internal.v0.models.FeatureTaskDataSyncFeature | io.flow.internal.v0.models.FeatureTaskDataSyncOrganization);
|
|
23004
23108
|
type FeatureValue = (io.flow.internal.v0.models.BooleanFeatureValue | io.flow.internal.v0.models.StringFeatureValue);
|
|
23005
23109
|
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);
|
|
23006
|
-
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);
|
|
23110
|
+
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);
|
|
23007
23111
|
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);
|
|
23008
23112
|
type InlineAuthorizationParameters = (io.flow.internal.v0.models.KlarnaAuthorizationParameters);
|
|
23009
23113
|
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);
|
|
@@ -23050,6 +23154,7 @@ export const billingStatementAttachmentKey: PropTypes.Requireable<io.flow.intern
|
|
|
23050
23154
|
export const billingStatementReviewStatus: PropTypes.Requireable<io.flow.internal.v0.enums.BillingStatementReviewStatus>;
|
|
23051
23155
|
export const billingTransactionStatus: PropTypes.Requireable<io.flow.internal.v0.enums.BillingTransactionStatus>;
|
|
23052
23156
|
export const billingTransactionType: PropTypes.Requireable<io.flow.internal.v0.enums.BillingTransactionType>;
|
|
23157
|
+
export const blazeCheckoutStep: PropTypes.Requireable<io.flow.internal.v0.enums.BlazeCheckoutStep>;
|
|
23053
23158
|
export const browserBundleErrorCode: PropTypes.Requireable<io.flow.internal.v0.enums.BrowserBundleErrorCode>;
|
|
23054
23159
|
export const carrierLabelGenerationMethod: PropTypes.Requireable<io.flow.internal.v0.enums.CarrierLabelGenerationMethod>;
|
|
23055
23160
|
export const catalogImportType: PropTypes.Requireable<io.flow.internal.v0.enums.CatalogImportType>;
|
|
@@ -23134,6 +23239,7 @@ export const ftpIntent: PropTypes.Requireable<io.flow.internal.v0.enums.FtpInten
|
|
|
23134
23239
|
export const ftpProtocol: PropTypes.Requireable<io.flow.internal.v0.enums.FtpProtocol>;
|
|
23135
23240
|
export const googleAnalyticsPlugin: PropTypes.Requireable<io.flow.internal.v0.enums.GoogleAnalyticsPlugin>;
|
|
23136
23241
|
export const httpMethod: PropTypes.Requireable<io.flow.internal.v0.enums.HttpMethod>;
|
|
23242
|
+
export const initialInputDataSource: PropTypes.Requireable<io.flow.internal.v0.enums.InitialInputDataSource>;
|
|
23137
23243
|
export const inventoryCheckService: PropTypes.Requireable<io.flow.internal.v0.enums.InventoryCheckService>;
|
|
23138
23244
|
export const inventoryReservation: PropTypes.Requireable<io.flow.internal.v0.enums.InventoryReservation>;
|
|
23139
23245
|
export const itemClassificationAction: PropTypes.Requireable<io.flow.internal.v0.enums.ItemClassificationAction>;
|
|
@@ -23305,6 +23411,19 @@ export const bitpayAccountPutForm: PropTypes.Requireable<io.flow.internal.v0.mod
|
|
|
23305
23411
|
export const bitpayAuthentication: PropTypes.Requireable<io.flow.internal.v0.models.BitpayAuthentication>;
|
|
23306
23412
|
export const bitpayAuthenticationDataReference: PropTypes.Requireable<io.flow.internal.v0.models.BitpayAuthenticationDataReference>;
|
|
23307
23413
|
export const bitpayAuthenticationForm: PropTypes.Requireable<io.flow.internal.v0.models.BitpayAuthenticationForm>;
|
|
23414
|
+
export const blazeAddOrderAttributesMessage: PropTypes.Requireable<io.flow.internal.v0.models.BlazeAddOrderAttributesMessage>;
|
|
23415
|
+
export const blazeAddToCartMessage: PropTypes.Requireable<io.flow.internal.v0.models.BlazeAddToCartMessage>;
|
|
23416
|
+
export const blazeCheckoutCompleteMessage: PropTypes.Requireable<io.flow.internal.v0.models.BlazeCheckoutCompleteMessage>;
|
|
23417
|
+
export const blazeCheckoutItem: PropTypes.Requireable<io.flow.internal.v0.models.BlazeCheckoutItem>;
|
|
23418
|
+
export const blazeCheckoutLine: PropTypes.Requireable<io.flow.internal.v0.models.BlazeCheckoutLine>;
|
|
23419
|
+
export const blazeCheckoutProgressMessage: PropTypes.Requireable<io.flow.internal.v0.models.BlazeCheckoutProgressMessage>;
|
|
23420
|
+
export const blazeExitCheckoutMessage: PropTypes.Requireable<io.flow.internal.v0.models.BlazeExitCheckoutMessage>;
|
|
23421
|
+
export const blazeInitializeMessage: PropTypes.Requireable<io.flow.internal.v0.models.BlazeInitializeMessage>;
|
|
23422
|
+
export const blazeRedirectConfirmationMessage: PropTypes.Requireable<io.flow.internal.v0.models.BlazeRedirectConfirmationMessage>;
|
|
23423
|
+
export const blazeSetCartItemsMessage: PropTypes.Requireable<io.flow.internal.v0.models.BlazeSetCartItemsMessage>;
|
|
23424
|
+
export const blazeStartCheckoutMessage: PropTypes.Requireable<io.flow.internal.v0.models.BlazeStartCheckoutMessage>;
|
|
23425
|
+
export const blazeSynInitializeMessage: PropTypes.Requireable<io.flow.internal.v0.models.BlazeSynInitializeMessage>;
|
|
23426
|
+
export const blazeUpdateCartItemsMessage: PropTypes.Requireable<io.flow.internal.v0.models.BlazeUpdateCartItemsMessage>;
|
|
23308
23427
|
export const booleanFeatureDefaultValue: PropTypes.Requireable<io.flow.internal.v0.models.BooleanFeatureDefaultValue>;
|
|
23309
23428
|
export const booleanFeatureRule: PropTypes.Requireable<io.flow.internal.v0.models.BooleanFeatureRule>;
|
|
23310
23429
|
export const booleanFeatureRuleForm: PropTypes.Requireable<io.flow.internal.v0.models.BooleanFeatureRuleForm>;
|
|
@@ -23812,6 +23931,7 @@ export const heapGiftCardWithPin: PropTypes.Requireable<io.flow.internal.v0.mode
|
|
|
23812
23931
|
export const heapPayClick: PropTypes.Requireable<io.flow.internal.v0.models.HeapPayClick>;
|
|
23813
23932
|
export const heapPaymentFormDataReceived: PropTypes.Requireable<io.flow.internal.v0.models.HeapPaymentFormDataReceived>;
|
|
23814
23933
|
export const heapPaymentFormDataTimeout: PropTypes.Requireable<io.flow.internal.v0.models.HeapPaymentFormDataTimeout>;
|
|
23934
|
+
export const heapPaymentMethodSelected: PropTypes.Requireable<io.flow.internal.v0.models.HeapPaymentMethodSelected>;
|
|
23815
23935
|
export const heapPerformance: PropTypes.Requireable<io.flow.internal.v0.models.HeapPerformance>;
|
|
23816
23936
|
export const heapPromoCodeApply: PropTypes.Requireable<io.flow.internal.v0.models.HeapPromoCodeApply>;
|
|
23817
23937
|
export const heapPromoCodeError: PropTypes.Requireable<io.flow.internal.v0.models.HeapPromoCodeError>;
|
|
@@ -24290,6 +24410,8 @@ export const wasteElectricalAndElectronicEquipmentComplianceForm: PropTypes.Requ
|
|
|
24290
24410
|
export const wholeOrderActionForm: PropTypes.Requireable<io.flow.internal.v0.models.WholeOrderActionForm>;
|
|
24291
24411
|
export const authorizationPayload: PropTypes.Requireable<io.flow.internal.v0.unions.AuthorizationPayload>;
|
|
24292
24412
|
export const authorizedOrderCharge: PropTypes.Requireable<io.flow.internal.v0.unions.AuthorizedOrderCharge>;
|
|
24413
|
+
export const blazeConsumerMessage: PropTypes.Requireable<io.flow.internal.v0.unions.BlazeConsumerMessage>;
|
|
24414
|
+
export const blazeProviderMessage: PropTypes.Requireable<io.flow.internal.v0.unions.BlazeProviderMessage>;
|
|
24293
24415
|
export const carrierCredentials: PropTypes.Requireable<io.flow.internal.v0.unions.CarrierCredentials>;
|
|
24294
24416
|
export const checkoutAnalyticsDeliveryOption: PropTypes.Requireable<io.flow.internal.v0.unions.CheckoutAnalyticsDeliveryOption>;
|
|
24295
24417
|
export const checkoutAnalyticsOrder: PropTypes.Requireable<io.flow.internal.v0.unions.CheckoutAnalyticsOrder>;
|