@flowio/types 11.7.1 → 11.7.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/api-internal.d.ts +52 -7
- package/dist/api.d.ts +20 -3
- package/package.json +2 -2
- package/src/api-internal.ts +72 -1
- package/src/api.ts +24 -1
package/dist/api-internal.d.ts
CHANGED
|
@@ -1320,10 +1320,11 @@ declare namespace io.flow.RESERVED_WORD_export.v0.models {
|
|
|
1320
1320
|
}
|
|
1321
1321
|
interface ExportLocalizedItemPrices {
|
|
1322
1322
|
readonly organization: io.flow.common.v0.models.OrganizationReference;
|
|
1323
|
-
readonly experience: io.flow.
|
|
1323
|
+
readonly experience: io.flow.common.v0.models.ExperienceSummary;
|
|
1324
1324
|
readonly item: io.flow.common.v0.models.CatalogItemReference;
|
|
1325
1325
|
readonly prices: io.flow.RESERVED_WORD_export.v0.models.ExportLocalizedItemPricesDetail;
|
|
1326
1326
|
readonly status?: io.flow.catalog.v0.enums.SubcatalogItemStatus;
|
|
1327
|
+
readonly rates?: io.flow.currency.v0.models.Rate[];
|
|
1327
1328
|
}
|
|
1328
1329
|
interface ExportLocalizedItemPricesDetail {
|
|
1329
1330
|
readonly item: io.flow.catalog.v0.models.LocalizedItemPrice;
|
|
@@ -9930,6 +9931,7 @@ declare namespace io.flow.fulfillment.v0.unions {
|
|
|
9930
9931
|
type TierRuleOutcomeForm = io.flow.fulfillment.v0.models.AmountMarginForm | io.flow.fulfillment.v0.models.FlatRateForm | io.flow.fulfillment.v0.models.AtCost | io.flow.fulfillment.v0.models.PercentMargin;
|
|
9931
9932
|
}
|
|
9932
9933
|
declare namespace io.flow.checkout.protocol.v0.enums {
|
|
9934
|
+
type CheckoutAddAuthorizationErrorCode = 'checkout_not_found' | 'authorization_not_found';
|
|
9933
9935
|
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';
|
|
9934
9936
|
type CheckoutAddGiftCardErrorCode = 'gift_card_not_supported' | 'gift_card_insufficient_funds' | 'gift_card_invalid_number';
|
|
9935
9937
|
type CheckoutAddLineErrorCode = 'line_quantity_invalid' | 'line_item_number_invalid' | 'line_item_number_not_available' | 'line_value_threshold_exceeded';
|
|
@@ -9970,9 +9972,13 @@ declare namespace io.flow.checkout.protocol.v0.enums {
|
|
|
9970
9972
|
type CheckoutSetLocaleErrorCode = 'locale_invalid';
|
|
9971
9973
|
type CheckoutSetOptinPromptErrorCode = 'optin_prompt_not_found' | 'optin_prompt_consent_required' | 'optin_prompt_invalid_value';
|
|
9972
9974
|
type CheckoutSetPromotionCodeErrorCode = 'promotion_code_not_supported' | 'promotion_code_invalid' | 'promotion_code_expired' | 'promotion_code_does_not_meet_requirements' | 'promotion_code_order_item_not_available';
|
|
9973
|
-
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_failed' | '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';
|
|
9975
|
+
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' | 'authorization_not_found' | 'checkout_not_found' | '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_failed' | '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';
|
|
9974
9976
|
}
|
|
9975
9977
|
declare namespace io.flow.checkout.protocol.v0.models {
|
|
9978
|
+
interface CheckoutAddAuthorizationError {
|
|
9979
|
+
readonly code: io.flow.checkout.protocol.v0.enums.CheckoutAddAuthorizationErrorCode;
|
|
9980
|
+
readonly message: string;
|
|
9981
|
+
}
|
|
9976
9982
|
interface CheckoutAddGiftCardAndPromotionCodeError {
|
|
9977
9983
|
readonly code: io.flow.checkout.protocol.v0.enums.CheckoutAddGiftCardAndPromotionCodeErrorCode;
|
|
9978
9984
|
readonly message: string;
|
|
@@ -10268,6 +10274,19 @@ declare namespace io.flow.checkout.protocol.v0.models {
|
|
|
10268
10274
|
readonly discriminator: 'checkout_sequenced_add_attributes_request_form';
|
|
10269
10275
|
readonly attributes: Record<string, string>;
|
|
10270
10276
|
}
|
|
10277
|
+
interface CheckoutSequencedAddAuthorizationRequestForm {
|
|
10278
|
+
readonly discriminator: 'checkout_sequenced_add_authorization_request_form';
|
|
10279
|
+
readonly checkout_id: string;
|
|
10280
|
+
readonly authorization_key: string;
|
|
10281
|
+
}
|
|
10282
|
+
interface CheckoutSequencedAddAuthorizationResponseError {
|
|
10283
|
+
readonly discriminator: 'checkout_sequenced_add_authorization_response_error';
|
|
10284
|
+
readonly errors: io.flow.checkout.protocol.v0.models.CheckoutAddAuthorizationError[];
|
|
10285
|
+
}
|
|
10286
|
+
interface CheckoutSequencedAddAuthorizationResponseSuccess {
|
|
10287
|
+
readonly discriminator: 'checkout_sequenced_add_authorization_response_success';
|
|
10288
|
+
readonly authorization: io.flow.checkout.backend.v0.models.CheckoutPaymentAuthorizationSummary;
|
|
10289
|
+
}
|
|
10271
10290
|
interface CheckoutSequencedAddGiftCardAndPromotionCodeRequestForm {
|
|
10272
10291
|
readonly discriminator: 'checkout_sequenced_add_gift_card_and_promotion_code_request_form';
|
|
10273
10292
|
readonly value: string;
|
|
@@ -10630,6 +10649,7 @@ declare namespace io.flow.checkout.protocol.v0.unions {
|
|
|
10630
10649
|
type CheckoutInput = io.flow.checkout.protocol.v0.models.CheckoutInputAddAttributes | io.flow.checkout.protocol.v0.models.CheckoutInputDeleteAddressStreet | io.flow.checkout.protocol.v0.models.CheckoutInputSetAddressCity | io.flow.checkout.protocol.v0.models.CheckoutInputSetAddressCountry | io.flow.checkout.protocol.v0.models.CheckoutInputSetAddressName | io.flow.checkout.protocol.v0.models.CheckoutInputSetAddressPostal | io.flow.checkout.protocol.v0.models.CheckoutInputSetAddressProvince | io.flow.checkout.protocol.v0.models.CheckoutInputSetAddressStreet | io.flow.checkout.protocol.v0.models.CheckoutInputSetAttributes | io.flow.checkout.protocol.v0.models.CheckoutInputSetContactEmail | io.flow.checkout.protocol.v0.models.CheckoutInputSetContactPhone | io.flow.checkout.protocol.v0.models.CheckoutInputSetCurrency | io.flow.checkout.protocol.v0.models.CheckoutInputSetDeliveryOption | io.flow.checkout.protocol.v0.models.CheckoutInputSetLanguage | io.flow.checkout.protocol.v0.models.CheckoutInputSetLocale | io.flow.checkout.protocol.v0.models.CheckoutInputSetOptinPrompt;
|
|
10631
10650
|
type CheckoutRequestForm = io.flow.checkout.protocol.v0.models.CheckoutCreateAuthorizationDetailsRequestForm | io.flow.checkout.protocol.v0.models.CheckoutCreateBySessionRequestForm | io.flow.checkout.protocol.v0.models.CheckoutFeaturesRequestForm | io.flow.checkout.protocol.v0.models.CheckoutGetRequestForm;
|
|
10632
10651
|
type CheckoutResponse = io.flow.checkout.protocol.v0.models.CheckoutCreateAuthorizationDetailsResponseError | io.flow.checkout.protocol.v0.models.CheckoutCreateAuthorizationDetailsResponseSuccess | io.flow.checkout.protocol.v0.models.CheckoutCreateBySessionResponseError | io.flow.checkout.protocol.v0.models.CheckoutCreateBySessionResponseSuccess | io.flow.checkout.protocol.v0.models.CheckoutFeaturesResponseError | io.flow.checkout.protocol.v0.models.CheckoutFeaturesResponseSuccess | io.flow.checkout.protocol.v0.models.CheckoutGetResponseError | io.flow.checkout.protocol.v0.models.CheckoutGetResponseSuccess;
|
|
10652
|
+
type CheckoutSequencedAddAuthorizationResponse = io.flow.checkout.protocol.v0.models.CheckoutSequencedAddAuthorizationResponseError | io.flow.checkout.protocol.v0.models.CheckoutSequencedAddAuthorizationResponseSuccess;
|
|
10633
10653
|
type CheckoutSequencedAddGiftCardAndPromotionCodeResponse = io.flow.checkout.protocol.v0.models.CheckoutSequencedAddGiftCardAndPromotionCodeResponseError;
|
|
10634
10654
|
type CheckoutSequencedAddGiftCardResponse = io.flow.checkout.protocol.v0.models.CheckoutSequencedAddGiftCardResponseError;
|
|
10635
10655
|
type CheckoutSequencedAddLineResponse = io.flow.checkout.protocol.v0.models.CheckoutSequencedAddLineResponseError;
|
|
@@ -10642,8 +10662,8 @@ declare namespace io.flow.checkout.protocol.v0.unions {
|
|
|
10642
10662
|
type CheckoutSequencedDeletePromotionCodeResponse = io.flow.checkout.protocol.v0.models.CheckoutSequencedDeletePromotionCodeResponseError;
|
|
10643
10663
|
type CheckoutSequencedGetAddressPredictionResponse = io.flow.checkout.protocol.v0.models.CheckoutSequencedGetAddressPredictionResponseError | io.flow.checkout.protocol.v0.models.CheckoutSequencedGetAddressPredictionResponseSuccess;
|
|
10644
10664
|
type CheckoutSequencedInitiatePaymentResponse = io.flow.checkout.protocol.v0.models.CheckoutSequencedInitiatePaymentResponseError | io.flow.checkout.protocol.v0.models.CheckoutSequencedInitiatePaymentResponseSuccess;
|
|
10645
|
-
type CheckoutSequencedRequestForm = io.flow.checkout.protocol.v0.models.CheckoutSequencedAddAttributesRequestForm | io.flow.checkout.protocol.v0.models.CheckoutSequencedAddGiftCardAndPromotionCodeRequestForm | io.flow.checkout.protocol.v0.models.CheckoutSequencedAddGiftCardRequestForm | io.flow.checkout.protocol.v0.models.CheckoutSequencedAddLineRequestForm | io.flow.checkout.protocol.v0.models.CheckoutSequencedAddOrderIdentifierRequestForm | io.flow.checkout.protocol.v0.models.CheckoutSequencedAddPaymentDetailsRequestForm | io.flow.checkout.protocol.v0.models.CheckoutSequencedCreateAuthorizationRequestForm | io.flow.checkout.protocol.v0.models.CheckoutSequencedDeleteAddressStreetRequestForm | io.flow.checkout.protocol.v0.models.CheckoutSequencedDeleteLineRequestForm | io.flow.checkout.protocol.v0.models.CheckoutSequencedDeletePaymentRequestForm | io.flow.checkout.protocol.v0.models.CheckoutSequencedDeletePromotionCodeRequestForm | io.flow.checkout.protocol.v0.models.CheckoutSequencedGetAddressPredictionRequestForm | io.flow.checkout.protocol.v0.models.CheckoutSequencedInitiatePaymentRequestForm | io.flow.checkout.protocol.v0.models.CheckoutSequencedSetAddressCityRequestForm | io.flow.checkout.protocol.v0.models.CheckoutSequencedSetAddressCountryRequestForm | io.flow.checkout.protocol.v0.models.CheckoutSequencedSetAddressNameRequestForm | io.flow.checkout.protocol.v0.models.CheckoutSequencedSetAddressPostalRequestForm | io.flow.checkout.protocol.v0.models.CheckoutSequencedSetAddressProvinceRequestForm | io.flow.checkout.protocol.v0.models.CheckoutSequencedSetAddressStreetRequestForm | io.flow.checkout.protocol.v0.models.CheckoutSequencedSetAttributesRequestForm | io.flow.checkout.protocol.v0.models.CheckoutSequencedSetContactEmailRequestForm | io.flow.checkout.protocol.v0.models.CheckoutSequencedSetContactPhoneRequestForm | io.flow.checkout.protocol.v0.models.CheckoutSequencedSetCurrencyRequestForm | io.flow.checkout.protocol.v0.models.CheckoutSequencedSetDeliveryOptionRequestForm | io.flow.checkout.protocol.v0.models.CheckoutSequencedSetLanguageRequestForm | io.flow.checkout.protocol.v0.models.CheckoutSequencedSetLineAttributesRequestForm | io.flow.checkout.protocol.v0.models.CheckoutSequencedSetLineQuantityRequestForm | io.flow.checkout.protocol.v0.models.CheckoutSequencedSetLinesRequestForm | io.flow.checkout.protocol.v0.models.CheckoutSequencedSetLocaleRequestForm | io.flow.checkout.protocol.v0.models.CheckoutSequencedSetOptinPromptRequestForm | io.flow.checkout.protocol.v0.models.CheckoutSequencedSetPromotionCodeRequestForm | io.flow.checkout.protocol.v0.models.CheckoutSequencedSubmitRequestForm;
|
|
10646
|
-
type CheckoutSequencedResponse = io.flow.checkout.protocol.v0.models.CheckoutSequencedAddGiftCardAndPromotionCodeResponseError | io.flow.checkout.protocol.v0.models.CheckoutSequencedAddGiftCardResponseError | io.flow.checkout.protocol.v0.models.CheckoutSequencedAddLineResponseError | io.flow.checkout.protocol.v0.models.CheckoutSequencedAddOrderIdentifierResponseError | io.flow.checkout.protocol.v0.models.CheckoutSequencedAddPaymentDetailsResponseError | io.flow.checkout.protocol.v0.models.CheckoutSequencedCreateAuthorizationResponseError | io.flow.checkout.protocol.v0.models.CheckoutSequencedCreateAuthorizationResponseSuccess | io.flow.checkout.protocol.v0.models.CheckoutSequencedDeleteAddressStreetResponseError | io.flow.checkout.protocol.v0.models.CheckoutSequencedDeleteLineResponseError | io.flow.checkout.protocol.v0.models.CheckoutSequencedDeletePaymentResponseError | io.flow.checkout.protocol.v0.models.CheckoutSequencedDeletePromotionCodeResponseError | io.flow.checkout.protocol.v0.models.CheckoutSequencedGetAddressPredictionResponseError | io.flow.checkout.protocol.v0.models.CheckoutSequencedGetAddressPredictionResponseSuccess | io.flow.checkout.protocol.v0.models.CheckoutSequencedInitiatePaymentResponseError | io.flow.checkout.protocol.v0.models.CheckoutSequencedInitiatePaymentResponseSuccess | io.flow.checkout.protocol.v0.models.CheckoutSequencedSetAddressCityResponseError | io.flow.checkout.protocol.v0.models.CheckoutSequencedSetAddressCountryResponseError | io.flow.checkout.protocol.v0.models.CheckoutSequencedSetAddressNameResponseError | io.flow.checkout.protocol.v0.models.CheckoutSequencedSetAddressPostalResponseError | io.flow.checkout.protocol.v0.models.CheckoutSequencedSetAddressProvinceResponseError | io.flow.checkout.protocol.v0.models.CheckoutSequencedSetAddressStreetResponseError | io.flow.checkout.protocol.v0.models.CheckoutSequencedSetContactEmailResponseError | io.flow.checkout.protocol.v0.models.CheckoutSequencedSetContactPhoneResponseError | io.flow.checkout.protocol.v0.models.CheckoutSequencedSetCurrencyResponseError | io.flow.checkout.protocol.v0.models.CheckoutSequencedSetDeliveryOptionResponseError | io.flow.checkout.protocol.v0.models.CheckoutSequencedSetLanguageResponseError | io.flow.checkout.protocol.v0.models.CheckoutSequencedSetLineAttributesResponseError | io.flow.checkout.protocol.v0.models.CheckoutSequencedSetLineQuantityResponseError | io.flow.checkout.protocol.v0.models.CheckoutSequencedSetLinesResponseError | io.flow.checkout.protocol.v0.models.CheckoutSequencedSetLocaleResponseError | io.flow.checkout.protocol.v0.models.CheckoutSequencedSetOptinPromptResponseError | io.flow.checkout.protocol.v0.models.CheckoutSequencedSetPromotionCodeResponseError | io.flow.checkout.protocol.v0.models.CheckoutSequencedSubmitResponseError | io.flow.checkout.protocol.v0.models.CheckoutSequencedSubmitResponseSuccess;
|
|
10665
|
+
type CheckoutSequencedRequestForm = io.flow.checkout.protocol.v0.models.CheckoutSequencedAddAttributesRequestForm | io.flow.checkout.protocol.v0.models.CheckoutSequencedAddAuthorizationRequestForm | io.flow.checkout.protocol.v0.models.CheckoutSequencedAddGiftCardAndPromotionCodeRequestForm | io.flow.checkout.protocol.v0.models.CheckoutSequencedAddGiftCardRequestForm | io.flow.checkout.protocol.v0.models.CheckoutSequencedAddLineRequestForm | io.flow.checkout.protocol.v0.models.CheckoutSequencedAddOrderIdentifierRequestForm | io.flow.checkout.protocol.v0.models.CheckoutSequencedAddPaymentDetailsRequestForm | io.flow.checkout.protocol.v0.models.CheckoutSequencedCreateAuthorizationRequestForm | io.flow.checkout.protocol.v0.models.CheckoutSequencedDeleteAddressStreetRequestForm | io.flow.checkout.protocol.v0.models.CheckoutSequencedDeleteLineRequestForm | io.flow.checkout.protocol.v0.models.CheckoutSequencedDeletePaymentRequestForm | io.flow.checkout.protocol.v0.models.CheckoutSequencedDeletePromotionCodeRequestForm | io.flow.checkout.protocol.v0.models.CheckoutSequencedGetAddressPredictionRequestForm | io.flow.checkout.protocol.v0.models.CheckoutSequencedInitiatePaymentRequestForm | io.flow.checkout.protocol.v0.models.CheckoutSequencedSetAddressCityRequestForm | io.flow.checkout.protocol.v0.models.CheckoutSequencedSetAddressCountryRequestForm | io.flow.checkout.protocol.v0.models.CheckoutSequencedSetAddressNameRequestForm | io.flow.checkout.protocol.v0.models.CheckoutSequencedSetAddressPostalRequestForm | io.flow.checkout.protocol.v0.models.CheckoutSequencedSetAddressProvinceRequestForm | io.flow.checkout.protocol.v0.models.CheckoutSequencedSetAddressStreetRequestForm | io.flow.checkout.protocol.v0.models.CheckoutSequencedSetAttributesRequestForm | io.flow.checkout.protocol.v0.models.CheckoutSequencedSetContactEmailRequestForm | io.flow.checkout.protocol.v0.models.CheckoutSequencedSetContactPhoneRequestForm | io.flow.checkout.protocol.v0.models.CheckoutSequencedSetCurrencyRequestForm | io.flow.checkout.protocol.v0.models.CheckoutSequencedSetDeliveryOptionRequestForm | io.flow.checkout.protocol.v0.models.CheckoutSequencedSetLanguageRequestForm | io.flow.checkout.protocol.v0.models.CheckoutSequencedSetLineAttributesRequestForm | io.flow.checkout.protocol.v0.models.CheckoutSequencedSetLineQuantityRequestForm | io.flow.checkout.protocol.v0.models.CheckoutSequencedSetLinesRequestForm | io.flow.checkout.protocol.v0.models.CheckoutSequencedSetLocaleRequestForm | io.flow.checkout.protocol.v0.models.CheckoutSequencedSetOptinPromptRequestForm | io.flow.checkout.protocol.v0.models.CheckoutSequencedSetPromotionCodeRequestForm | io.flow.checkout.protocol.v0.models.CheckoutSequencedSubmitRequestForm;
|
|
10666
|
+
type CheckoutSequencedResponse = io.flow.checkout.protocol.v0.models.CheckoutSequencedAddAuthorizationResponseError | io.flow.checkout.protocol.v0.models.CheckoutSequencedAddAuthorizationResponseSuccess | io.flow.checkout.protocol.v0.models.CheckoutSequencedAddGiftCardAndPromotionCodeResponseError | io.flow.checkout.protocol.v0.models.CheckoutSequencedAddGiftCardResponseError | io.flow.checkout.protocol.v0.models.CheckoutSequencedAddLineResponseError | io.flow.checkout.protocol.v0.models.CheckoutSequencedAddOrderIdentifierResponseError | io.flow.checkout.protocol.v0.models.CheckoutSequencedAddPaymentDetailsResponseError | io.flow.checkout.protocol.v0.models.CheckoutSequencedCreateAuthorizationResponseError | io.flow.checkout.protocol.v0.models.CheckoutSequencedCreateAuthorizationResponseSuccess | io.flow.checkout.protocol.v0.models.CheckoutSequencedDeleteAddressStreetResponseError | io.flow.checkout.protocol.v0.models.CheckoutSequencedDeleteLineResponseError | io.flow.checkout.protocol.v0.models.CheckoutSequencedDeletePaymentResponseError | io.flow.checkout.protocol.v0.models.CheckoutSequencedDeletePromotionCodeResponseError | io.flow.checkout.protocol.v0.models.CheckoutSequencedGetAddressPredictionResponseError | io.flow.checkout.protocol.v0.models.CheckoutSequencedGetAddressPredictionResponseSuccess | io.flow.checkout.protocol.v0.models.CheckoutSequencedInitiatePaymentResponseError | io.flow.checkout.protocol.v0.models.CheckoutSequencedInitiatePaymentResponseSuccess | io.flow.checkout.protocol.v0.models.CheckoutSequencedSetAddressCityResponseError | io.flow.checkout.protocol.v0.models.CheckoutSequencedSetAddressCountryResponseError | io.flow.checkout.protocol.v0.models.CheckoutSequencedSetAddressNameResponseError | io.flow.checkout.protocol.v0.models.CheckoutSequencedSetAddressPostalResponseError | io.flow.checkout.protocol.v0.models.CheckoutSequencedSetAddressProvinceResponseError | io.flow.checkout.protocol.v0.models.CheckoutSequencedSetAddressStreetResponseError | io.flow.checkout.protocol.v0.models.CheckoutSequencedSetContactEmailResponseError | io.flow.checkout.protocol.v0.models.CheckoutSequencedSetContactPhoneResponseError | io.flow.checkout.protocol.v0.models.CheckoutSequencedSetCurrencyResponseError | io.flow.checkout.protocol.v0.models.CheckoutSequencedSetDeliveryOptionResponseError | io.flow.checkout.protocol.v0.models.CheckoutSequencedSetLanguageResponseError | io.flow.checkout.protocol.v0.models.CheckoutSequencedSetLineAttributesResponseError | io.flow.checkout.protocol.v0.models.CheckoutSequencedSetLineQuantityResponseError | io.flow.checkout.protocol.v0.models.CheckoutSequencedSetLinesResponseError | io.flow.checkout.protocol.v0.models.CheckoutSequencedSetLocaleResponseError | io.flow.checkout.protocol.v0.models.CheckoutSequencedSetOptinPromptResponseError | io.flow.checkout.protocol.v0.models.CheckoutSequencedSetPromotionCodeResponseError | io.flow.checkout.protocol.v0.models.CheckoutSequencedSubmitResponseError | io.flow.checkout.protocol.v0.models.CheckoutSequencedSubmitResponseSuccess;
|
|
10647
10667
|
type CheckoutSequencedSetAddressCityResponse = io.flow.checkout.protocol.v0.models.CheckoutSequencedSetAddressCityResponseError;
|
|
10648
10668
|
type CheckoutSequencedSetAddressCountryResponse = io.flow.checkout.protocol.v0.models.CheckoutSequencedSetAddressCountryResponseError;
|
|
10649
10669
|
type CheckoutSequencedSetAddressNameResponse = io.flow.checkout.protocol.v0.models.CheckoutSequencedSetAddressNameResponseError;
|
|
@@ -13026,6 +13046,7 @@ declare namespace io.flow.internal.v0.enums {
|
|
|
13026
13046
|
type CatalogImportType = 'catalog_items' | 'item_form_overlays' | 'item_prices' | 'price_book_items_import' | 'price_book_items_query_import';
|
|
13027
13047
|
type ChargebackPaymentStatus = 'captured' | 'refunded';
|
|
13028
13048
|
type ChargebackProcessStatus = 'inquiry' | 'open' | 'closed';
|
|
13049
|
+
type CheckoutAddAuthorizationErrorCode = 'checkout_not_found' | 'authorization_not_found';
|
|
13029
13050
|
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';
|
|
13030
13051
|
type CheckoutAddGiftCardErrorCode = 'gift_card_not_supported' | 'gift_card_insufficient_funds' | 'gift_card_invalid_number';
|
|
13031
13052
|
type CheckoutAddLineErrorCode = 'line_quantity_invalid' | 'line_item_number_invalid' | 'line_item_number_not_available' | 'line_value_threshold_exceeded';
|
|
@@ -13075,7 +13096,7 @@ declare namespace io.flow.internal.v0.enums {
|
|
|
13075
13096
|
type CheckoutSetOptinPromptErrorCode = 'optin_prompt_not_found' | 'optin_prompt_consent_required' | 'optin_prompt_invalid_value';
|
|
13076
13097
|
type CheckoutSetPromotionCodeErrorCode = 'promotion_code_not_supported' | 'promotion_code_invalid' | 'promotion_code_expired' | 'promotion_code_does_not_meet_requirements' | 'promotion_code_order_item_not_available';
|
|
13077
13098
|
type CheckoutShippingMethodPromptBehavior = 'always' | 'multiple';
|
|
13078
|
-
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_failed' | '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';
|
|
13099
|
+
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' | 'authorization_not_found' | 'checkout_not_found' | '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_failed' | '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';
|
|
13079
13100
|
type CheckoutUrlType = 'continue_shopping' | 'confirmation' | 'invalid_checkout';
|
|
13080
13101
|
type ComplianceType = 'weee';
|
|
13081
13102
|
type ContentElementType = 'markdown' | 'html' | 'plain_text' | 'href';
|
|
@@ -14135,6 +14156,10 @@ declare namespace io.flow.internal.v0.models {
|
|
|
14135
14156
|
readonly checked_by_default: boolean;
|
|
14136
14157
|
readonly required: boolean;
|
|
14137
14158
|
}
|
|
14159
|
+
interface CheckoutAddAuthorizationError {
|
|
14160
|
+
readonly code: io.flow.internal.v0.enums.CheckoutAddAuthorizationErrorCode;
|
|
14161
|
+
readonly message: string;
|
|
14162
|
+
}
|
|
14138
14163
|
interface CheckoutAddGiftCardAndPromotionCodeError {
|
|
14139
14164
|
readonly code: io.flow.internal.v0.enums.CheckoutAddGiftCardAndPromotionCodeErrorCode;
|
|
14140
14165
|
readonly message: string;
|
|
@@ -15029,6 +15054,19 @@ declare namespace io.flow.internal.v0.models {
|
|
|
15029
15054
|
readonly discriminator: 'checkout_sequenced_add_attributes_request_form';
|
|
15030
15055
|
readonly attributes: Record<string, string>;
|
|
15031
15056
|
}
|
|
15057
|
+
interface CheckoutSequencedAddAuthorizationRequestForm {
|
|
15058
|
+
readonly discriminator: 'checkout_sequenced_add_authorization_request_form';
|
|
15059
|
+
readonly checkout_id: string;
|
|
15060
|
+
readonly authorization_key: string;
|
|
15061
|
+
}
|
|
15062
|
+
interface CheckoutSequencedAddAuthorizationResponseError {
|
|
15063
|
+
readonly discriminator: 'checkout_sequenced_add_authorization_response_error';
|
|
15064
|
+
readonly errors: io.flow.internal.v0.models.CheckoutAddAuthorizationError[];
|
|
15065
|
+
}
|
|
15066
|
+
interface CheckoutSequencedAddAuthorizationResponseSuccess {
|
|
15067
|
+
readonly discriminator: 'checkout_sequenced_add_authorization_response_success';
|
|
15068
|
+
readonly authorization: io.flow.checkout.backend.v0.models.CheckoutPaymentAuthorizationSummary;
|
|
15069
|
+
}
|
|
15032
15070
|
interface CheckoutSequencedAddGiftCardAndPromotionCodeRequestForm {
|
|
15033
15071
|
readonly discriminator: 'checkout_sequenced_add_gift_card_and_promotion_code_request_form';
|
|
15034
15072
|
readonly value: string;
|
|
@@ -20211,6 +20249,7 @@ declare namespace io.flow.internal.v0.unions {
|
|
|
20211
20249
|
type CheckoutPrice = io.flow.internal.v0.models.CheckoutPriceFree | io.flow.internal.v0.models.CheckoutPriceNotYetKnown | io.flow.internal.v0.models.CheckoutPriceIncluded | io.flow.internal.v0.models.CheckoutPriceStandard;
|
|
20212
20250
|
type CheckoutRequestForm = io.flow.internal.v0.models.CheckoutCreateAuthorizationDetailsRequestForm | io.flow.internal.v0.models.CheckoutCreateBySessionRequestForm | io.flow.internal.v0.models.CheckoutFeaturesRequestForm | io.flow.internal.v0.models.CheckoutGetRequestForm;
|
|
20213
20251
|
type CheckoutResponse = io.flow.internal.v0.models.CheckoutCreateAuthorizationDetailsResponseError | io.flow.internal.v0.models.CheckoutCreateAuthorizationDetailsResponseSuccess | io.flow.internal.v0.models.CheckoutCreateBySessionResponseError | io.flow.internal.v0.models.CheckoutCreateBySessionResponseSuccess | io.flow.internal.v0.models.CheckoutFeaturesResponseError | io.flow.internal.v0.models.CheckoutFeaturesResponseSuccess | io.flow.internal.v0.models.CheckoutGetResponseError | io.flow.internal.v0.models.CheckoutGetResponseSuccess;
|
|
20252
|
+
type CheckoutSequencedAddAuthorizationResponse = io.flow.internal.v0.models.CheckoutSequencedAddAuthorizationResponseError | io.flow.internal.v0.models.CheckoutSequencedAddAuthorizationResponseSuccess;
|
|
20214
20253
|
type CheckoutSequencedAddGiftCardAndPromotionCodeResponse = io.flow.internal.v0.models.CheckoutSequencedAddGiftCardAndPromotionCodeResponseError;
|
|
20215
20254
|
type CheckoutSequencedAddGiftCardResponse = io.flow.internal.v0.models.CheckoutSequencedAddGiftCardResponseError;
|
|
20216
20255
|
type CheckoutSequencedAddLineResponse = io.flow.internal.v0.models.CheckoutSequencedAddLineResponseError;
|
|
@@ -20223,8 +20262,8 @@ declare namespace io.flow.internal.v0.unions {
|
|
|
20223
20262
|
type CheckoutSequencedDeletePromotionCodeResponse = io.flow.internal.v0.models.CheckoutSequencedDeletePromotionCodeResponseError;
|
|
20224
20263
|
type CheckoutSequencedGetAddressPredictionResponse = io.flow.internal.v0.models.CheckoutSequencedGetAddressPredictionResponseError | io.flow.internal.v0.models.CheckoutSequencedGetAddressPredictionResponseSuccess;
|
|
20225
20264
|
type CheckoutSequencedInitiatePaymentResponse = io.flow.internal.v0.models.CheckoutSequencedInitiatePaymentResponseError | io.flow.internal.v0.models.CheckoutSequencedInitiatePaymentResponseSuccess;
|
|
20226
|
-
type CheckoutSequencedRequestForm = io.flow.internal.v0.models.CheckoutSequencedAddAttributesRequestForm | io.flow.internal.v0.models.CheckoutSequencedAddGiftCardAndPromotionCodeRequestForm | io.flow.internal.v0.models.CheckoutSequencedAddGiftCardRequestForm | io.flow.internal.v0.models.CheckoutSequencedAddLineRequestForm | io.flow.internal.v0.models.CheckoutSequencedAddOrderIdentifierRequestForm | io.flow.internal.v0.models.CheckoutSequencedAddPaymentDetailsRequestForm | io.flow.internal.v0.models.CheckoutSequencedCreateAuthorizationRequestForm | io.flow.internal.v0.models.CheckoutSequencedDeleteAddressStreetRequestForm | io.flow.internal.v0.models.CheckoutSequencedDeleteLineRequestForm | io.flow.internal.v0.models.CheckoutSequencedDeletePaymentRequestForm | io.flow.internal.v0.models.CheckoutSequencedDeletePromotionCodeRequestForm | io.flow.internal.v0.models.CheckoutSequencedGetAddressPredictionRequestForm | io.flow.internal.v0.models.CheckoutSequencedInitiatePaymentRequestForm | io.flow.internal.v0.models.CheckoutSequencedSetAddressCityRequestForm | io.flow.internal.v0.models.CheckoutSequencedSetAddressCountryRequestForm | io.flow.internal.v0.models.CheckoutSequencedSetAddressNameRequestForm | io.flow.internal.v0.models.CheckoutSequencedSetAddressPostalRequestForm | io.flow.internal.v0.models.CheckoutSequencedSetAddressProvinceRequestForm | io.flow.internal.v0.models.CheckoutSequencedSetAddressStreetRequestForm | io.flow.internal.v0.models.CheckoutSequencedSetAttributesRequestForm | io.flow.internal.v0.models.CheckoutSequencedSetContactEmailRequestForm | io.flow.internal.v0.models.CheckoutSequencedSetContactPhoneRequestForm | io.flow.internal.v0.models.CheckoutSequencedSetCurrencyRequestForm | io.flow.internal.v0.models.CheckoutSequencedSetDeliveryOptionRequestForm | io.flow.internal.v0.models.CheckoutSequencedSetLanguageRequestForm | io.flow.internal.v0.models.CheckoutSequencedSetLineAttributesRequestForm | io.flow.internal.v0.models.CheckoutSequencedSetLineQuantityRequestForm | io.flow.internal.v0.models.CheckoutSequencedSetLinesRequestForm | io.flow.internal.v0.models.CheckoutSequencedSetLocaleRequestForm | io.flow.internal.v0.models.CheckoutSequencedSetOptinPromptRequestForm | io.flow.internal.v0.models.CheckoutSequencedSetPromotionCodeRequestForm | io.flow.internal.v0.models.CheckoutSequencedSubmitRequestForm;
|
|
20227
|
-
type CheckoutSequencedResponse = io.flow.internal.v0.models.CheckoutSequencedAddGiftCardAndPromotionCodeResponseError | io.flow.internal.v0.models.CheckoutSequencedAddGiftCardResponseError | io.flow.internal.v0.models.CheckoutSequencedAddLineResponseError | io.flow.internal.v0.models.CheckoutSequencedAddOrderIdentifierResponseError | io.flow.internal.v0.models.CheckoutSequencedAddPaymentDetailsResponseError | io.flow.internal.v0.models.CheckoutSequencedCreateAuthorizationResponseError | io.flow.internal.v0.models.CheckoutSequencedCreateAuthorizationResponseSuccess | io.flow.internal.v0.models.CheckoutSequencedDeleteAddressStreetResponseError | io.flow.internal.v0.models.CheckoutSequencedDeleteLineResponseError | io.flow.internal.v0.models.CheckoutSequencedDeletePaymentResponseError | io.flow.internal.v0.models.CheckoutSequencedDeletePromotionCodeResponseError | io.flow.internal.v0.models.CheckoutSequencedGetAddressPredictionResponseError | io.flow.internal.v0.models.CheckoutSequencedGetAddressPredictionResponseSuccess | io.flow.internal.v0.models.CheckoutSequencedInitiatePaymentResponseError | io.flow.internal.v0.models.CheckoutSequencedInitiatePaymentResponseSuccess | io.flow.internal.v0.models.CheckoutSequencedSetAddressCityResponseError | io.flow.internal.v0.models.CheckoutSequencedSetAddressCountryResponseError | io.flow.internal.v0.models.CheckoutSequencedSetAddressNameResponseError | io.flow.internal.v0.models.CheckoutSequencedSetAddressPostalResponseError | io.flow.internal.v0.models.CheckoutSequencedSetAddressProvinceResponseError | io.flow.internal.v0.models.CheckoutSequencedSetAddressStreetResponseError | io.flow.internal.v0.models.CheckoutSequencedSetContactEmailResponseError | io.flow.internal.v0.models.CheckoutSequencedSetContactPhoneResponseError | io.flow.internal.v0.models.CheckoutSequencedSetCurrencyResponseError | io.flow.internal.v0.models.CheckoutSequencedSetDeliveryOptionResponseError | io.flow.internal.v0.models.CheckoutSequencedSetLanguageResponseError | io.flow.internal.v0.models.CheckoutSequencedSetLineAttributesResponseError | io.flow.internal.v0.models.CheckoutSequencedSetLineQuantityResponseError | io.flow.internal.v0.models.CheckoutSequencedSetLinesResponseError | io.flow.internal.v0.models.CheckoutSequencedSetLocaleResponseError | io.flow.internal.v0.models.CheckoutSequencedSetOptinPromptResponseError | io.flow.internal.v0.models.CheckoutSequencedSetPromotionCodeResponseError | io.flow.internal.v0.models.CheckoutSequencedSubmitResponseError | io.flow.internal.v0.models.CheckoutSequencedSubmitResponseSuccess;
|
|
20265
|
+
type CheckoutSequencedRequestForm = io.flow.internal.v0.models.CheckoutSequencedAddAttributesRequestForm | io.flow.internal.v0.models.CheckoutSequencedAddAuthorizationRequestForm | io.flow.internal.v0.models.CheckoutSequencedAddGiftCardAndPromotionCodeRequestForm | io.flow.internal.v0.models.CheckoutSequencedAddGiftCardRequestForm | io.flow.internal.v0.models.CheckoutSequencedAddLineRequestForm | io.flow.internal.v0.models.CheckoutSequencedAddOrderIdentifierRequestForm | io.flow.internal.v0.models.CheckoutSequencedAddPaymentDetailsRequestForm | io.flow.internal.v0.models.CheckoutSequencedCreateAuthorizationRequestForm | io.flow.internal.v0.models.CheckoutSequencedDeleteAddressStreetRequestForm | io.flow.internal.v0.models.CheckoutSequencedDeleteLineRequestForm | io.flow.internal.v0.models.CheckoutSequencedDeletePaymentRequestForm | io.flow.internal.v0.models.CheckoutSequencedDeletePromotionCodeRequestForm | io.flow.internal.v0.models.CheckoutSequencedGetAddressPredictionRequestForm | io.flow.internal.v0.models.CheckoutSequencedInitiatePaymentRequestForm | io.flow.internal.v0.models.CheckoutSequencedSetAddressCityRequestForm | io.flow.internal.v0.models.CheckoutSequencedSetAddressCountryRequestForm | io.flow.internal.v0.models.CheckoutSequencedSetAddressNameRequestForm | io.flow.internal.v0.models.CheckoutSequencedSetAddressPostalRequestForm | io.flow.internal.v0.models.CheckoutSequencedSetAddressProvinceRequestForm | io.flow.internal.v0.models.CheckoutSequencedSetAddressStreetRequestForm | io.flow.internal.v0.models.CheckoutSequencedSetAttributesRequestForm | io.flow.internal.v0.models.CheckoutSequencedSetContactEmailRequestForm | io.flow.internal.v0.models.CheckoutSequencedSetContactPhoneRequestForm | io.flow.internal.v0.models.CheckoutSequencedSetCurrencyRequestForm | io.flow.internal.v0.models.CheckoutSequencedSetDeliveryOptionRequestForm | io.flow.internal.v0.models.CheckoutSequencedSetLanguageRequestForm | io.flow.internal.v0.models.CheckoutSequencedSetLineAttributesRequestForm | io.flow.internal.v0.models.CheckoutSequencedSetLineQuantityRequestForm | io.flow.internal.v0.models.CheckoutSequencedSetLinesRequestForm | io.flow.internal.v0.models.CheckoutSequencedSetLocaleRequestForm | io.flow.internal.v0.models.CheckoutSequencedSetOptinPromptRequestForm | io.flow.internal.v0.models.CheckoutSequencedSetPromotionCodeRequestForm | io.flow.internal.v0.models.CheckoutSequencedSubmitRequestForm;
|
|
20266
|
+
type CheckoutSequencedResponse = io.flow.internal.v0.models.CheckoutSequencedAddAuthorizationResponseError | io.flow.internal.v0.models.CheckoutSequencedAddAuthorizationResponseSuccess | io.flow.internal.v0.models.CheckoutSequencedAddGiftCardAndPromotionCodeResponseError | io.flow.internal.v0.models.CheckoutSequencedAddGiftCardResponseError | io.flow.internal.v0.models.CheckoutSequencedAddLineResponseError | io.flow.internal.v0.models.CheckoutSequencedAddOrderIdentifierResponseError | io.flow.internal.v0.models.CheckoutSequencedAddPaymentDetailsResponseError | io.flow.internal.v0.models.CheckoutSequencedCreateAuthorizationResponseError | io.flow.internal.v0.models.CheckoutSequencedCreateAuthorizationResponseSuccess | io.flow.internal.v0.models.CheckoutSequencedDeleteAddressStreetResponseError | io.flow.internal.v0.models.CheckoutSequencedDeleteLineResponseError | io.flow.internal.v0.models.CheckoutSequencedDeletePaymentResponseError | io.flow.internal.v0.models.CheckoutSequencedDeletePromotionCodeResponseError | io.flow.internal.v0.models.CheckoutSequencedGetAddressPredictionResponseError | io.flow.internal.v0.models.CheckoutSequencedGetAddressPredictionResponseSuccess | io.flow.internal.v0.models.CheckoutSequencedInitiatePaymentResponseError | io.flow.internal.v0.models.CheckoutSequencedInitiatePaymentResponseSuccess | io.flow.internal.v0.models.CheckoutSequencedSetAddressCityResponseError | io.flow.internal.v0.models.CheckoutSequencedSetAddressCountryResponseError | io.flow.internal.v0.models.CheckoutSequencedSetAddressNameResponseError | io.flow.internal.v0.models.CheckoutSequencedSetAddressPostalResponseError | io.flow.internal.v0.models.CheckoutSequencedSetAddressProvinceResponseError | io.flow.internal.v0.models.CheckoutSequencedSetAddressStreetResponseError | io.flow.internal.v0.models.CheckoutSequencedSetContactEmailResponseError | io.flow.internal.v0.models.CheckoutSequencedSetContactPhoneResponseError | io.flow.internal.v0.models.CheckoutSequencedSetCurrencyResponseError | io.flow.internal.v0.models.CheckoutSequencedSetDeliveryOptionResponseError | io.flow.internal.v0.models.CheckoutSequencedSetLanguageResponseError | io.flow.internal.v0.models.CheckoutSequencedSetLineAttributesResponseError | io.flow.internal.v0.models.CheckoutSequencedSetLineQuantityResponseError | io.flow.internal.v0.models.CheckoutSequencedSetLinesResponseError | io.flow.internal.v0.models.CheckoutSequencedSetLocaleResponseError | io.flow.internal.v0.models.CheckoutSequencedSetOptinPromptResponseError | io.flow.internal.v0.models.CheckoutSequencedSetPromotionCodeResponseError | io.flow.internal.v0.models.CheckoutSequencedSubmitResponseError | io.flow.internal.v0.models.CheckoutSequencedSubmitResponseSuccess;
|
|
20228
20267
|
type CheckoutSequencedSetAddressCityResponse = io.flow.internal.v0.models.CheckoutSequencedSetAddressCityResponseError;
|
|
20229
20268
|
type CheckoutSequencedSetAddressCountryResponse = io.flow.internal.v0.models.CheckoutSequencedSetAddressCountryResponseError;
|
|
20230
20269
|
type CheckoutSequencedSetAddressNameResponse = io.flow.internal.v0.models.CheckoutSequencedSetAddressNameResponseError;
|
|
@@ -20477,6 +20516,8 @@ export declare type ChargebackProcessStatus = io.flow.internal.v0.enums.Chargeba
|
|
|
20477
20516
|
export declare type ChargebackUpserted = io.flow.internal.v0.models.ChargebackUpserted;
|
|
20478
20517
|
export declare type ChargebackVersion = io.flow.internal.v0.models.ChargebackVersion;
|
|
20479
20518
|
export declare type Checkbox = io.flow.internal.v0.models.Checkbox;
|
|
20519
|
+
export declare type CheckoutAddAuthorizationError = io.flow.internal.v0.models.CheckoutAddAuthorizationError;
|
|
20520
|
+
export declare type CheckoutAddAuthorizationErrorCode = io.flow.internal.v0.enums.CheckoutAddAuthorizationErrorCode;
|
|
20480
20521
|
export declare type CheckoutAddGiftCardAndPromotionCodeError = io.flow.internal.v0.models.CheckoutAddGiftCardAndPromotionCodeError;
|
|
20481
20522
|
export declare type CheckoutAddGiftCardAndPromotionCodeErrorCode = io.flow.internal.v0.enums.CheckoutAddGiftCardAndPromotionCodeErrorCode;
|
|
20482
20523
|
export declare type CheckoutAddGiftCardError = io.flow.internal.v0.models.CheckoutAddGiftCardError;
|
|
@@ -20719,6 +20760,10 @@ export declare type CheckoutReferenceForm = io.flow.internal.v0.models.CheckoutR
|
|
|
20719
20760
|
export declare type CheckoutRequestForm = io.flow.internal.v0.unions.CheckoutRequestForm;
|
|
20720
20761
|
export declare type CheckoutResponse = io.flow.internal.v0.unions.CheckoutResponse;
|
|
20721
20762
|
export declare type CheckoutSequencedAddAttributesRequestForm = io.flow.internal.v0.models.CheckoutSequencedAddAttributesRequestForm;
|
|
20763
|
+
export declare type CheckoutSequencedAddAuthorizationRequestForm = io.flow.internal.v0.models.CheckoutSequencedAddAuthorizationRequestForm;
|
|
20764
|
+
export declare type CheckoutSequencedAddAuthorizationResponse = io.flow.internal.v0.unions.CheckoutSequencedAddAuthorizationResponse;
|
|
20765
|
+
export declare type CheckoutSequencedAddAuthorizationResponseError = io.flow.internal.v0.models.CheckoutSequencedAddAuthorizationResponseError;
|
|
20766
|
+
export declare type CheckoutSequencedAddAuthorizationResponseSuccess = io.flow.internal.v0.models.CheckoutSequencedAddAuthorizationResponseSuccess;
|
|
20722
20767
|
export declare type CheckoutSequencedAddGiftCardAndPromotionCodeRequestForm = io.flow.internal.v0.models.CheckoutSequencedAddGiftCardAndPromotionCodeRequestForm;
|
|
20723
20768
|
export declare type CheckoutSequencedAddGiftCardAndPromotionCodeResponse = io.flow.internal.v0.unions.CheckoutSequencedAddGiftCardAndPromotionCodeResponse;
|
|
20724
20769
|
export declare type CheckoutSequencedAddGiftCardAndPromotionCodeResponseError = io.flow.internal.v0.models.CheckoutSequencedAddGiftCardAndPromotionCodeResponseError;
|
package/dist/api.d.ts
CHANGED
|
@@ -852,7 +852,7 @@ declare namespace io.flow.v0.enums {
|
|
|
852
852
|
type EcommercePlatformType = 'commercetools' | 'custom' | 'magento' | 'shopify' | 'sfcc' | 'solidus' | 'workarea';
|
|
853
853
|
type EconomicTitleLocation = 'high_seas' | 'origination' | 'destination';
|
|
854
854
|
type Environment = 'sandbox' | 'production';
|
|
855
|
-
type EventType = 'attribute_upserted' | 'attribute_deleted' | 'attribute_upserted_v2' | 'attribute_deleted_v2' | 'catalog_upserted' | 'catalog_deleted' | 'subcatalog_upserted' | 'subcatalog_deleted' | 'catalog_item_upserted' | 'catalog_item_deleted' | 'catalog_item_upserted_v2' | 'catalog_item_deleted_v2' | 'subcatalog_item_upserted' | 'subcatalog_item_deleted' | 'b2b_invoice_upserted' | 'b2b_invoice_deleted' | 'b2b_credit_memo_upserted' | 'b2b_credit_memo_deleted' | 'consumer_invoice_upserted' | 'consumer_invoice_deleted' | 'credit_memo_upserted' | 'credit_memo_deleted' | 'crossdock_shipment_upserted' | 'rate_deleted' | 'rate_upserted' | 'rate_deleted_v3' | 'rate_upserted_v3' | 'customer_upserted' | 'customer_deleted' | 'customer_address_book_contact_upserted' | 'customer_address_book_contact_deleted' | 'email_notification_upserted' | 'email_notification_deleted' | 'available_promotions_upserted' | 'available_promotions_deleted' | 'available_promotions_upserted_v2' | 'available_promotions_deleted_v2' | 'allocation_deleted_v2' | 'allocation_upserted_v2' | 'currency_format_deleted' | 'currency_format_upserted' | 'experience_deleted' | 'experience_upserted' | 'experience_deleted_v2' | 'experience_upserted_v2' | 'country_status_upserted' | 'country_status_deleted' | 'experience_price_book_mapping_deleted' | 'experience_price_book_mapping_upserted' | 'experience_logistics_settings_upserted' | 'experience_logistics_settings_deleted' | 'item_margin_deleted' | 'item_margin_upserted' | 'item_sales_margin_deleted' | 'item_sales_margin_upserted' | 'label_format_deleted' | 'label_format_upserted' | 'order_deleted' | 'order_upserted' | 'order_deleted_v2' | 'order_upserted_v2' | 'order_identifier_deleted' | 'order_identifier_upserted' | 'order_identifier_deleted_v2' | 'order_identifier_upserted_v2' | 'order_identifier_upserted_v3' | 'pricing_deleted' | 'pricing_upserted' | 'order_service_change_request' | 'fraud_status_changed' | 'center_upserted' | 'center_deleted' | 'shipping_configuration_upserted' | 'shipping_configuration_deleted' | 'tier_upserted_v2' | 'tier_deleted_v2' | 'shipping_lane_upserted' | 'shipping_lane_deleted' | 'shipping_configuration_item_availability_upserted' | 'shipping_configuration_item_availability_deleted' | 'shipping_configuration_item_shipping_pricing_upserted' | 'shipping_configuration_item_shipping_pricing_deleted' | 'hs6_code_upserted' | 'hs6_code_deleted' | 'hs10_code_upserted' | 'hs10_code_deleted' | 'item_origin_upserted' | 'item_origin_deleted' | 'harmonized_landed_cost_upserted' | 'fully_harmonized_item_upserted' | 'rule_upserted' | 'rule_deleted' | 'snapshot_upserted' | 'snapshot_deleted' | 'label_upserted' | 'label_deleted_v2' | 'label_upserted_v2' | 'notification_upserted' | 'notification_deleted' | 'manifested_label_upserted' | 'manifested_label_deleted' | 'local_item_upserted' | 'local_item_deleted' | 'checkout_optin_responses_upserted' | 'checkout_optin_responses_deleted' | 'browse_optin_responses_upserted' | 'browse_optin_responses_deleted' | 'order_placed' | 'order_placed_v2' | 'ready_to_fulfill' | 'membership_upserted_v2' | 'membership_deleted_v2' | 'organization_upserted' | 'organization_deleted' | 'organization_upserted_v2' | 'organization_deleted_v2' | 'organization_short_id_upserted' | 'organization_short_id_deleted' | 'organization_default_configurations_upserted' | 'organization_default_configurations_deleted' | 'ecommerce_platform_upserted' | 'ecommerce_platform_deleted' | 'authorization_deleted_v2' | 'authorization_status_changed' | 'card_authorization_upserted_v2' | 'card_authorization_deleted_v2' | 'online_authorization_upserted_v2' | 'online_authorization_deleted_v2' | 'capture_upserted_v2' | 'capture_deleted' | 'card_upserted_v2' | 'card_deleted' | 'payment_upserted' | 'payment_deleted' | 'refund_upserted_v2' | 'refund_deleted_v2' | 'refund_capture_upserted_v2' | 'reversal_upserted' | 'reversal_deleted' | 'capture_identifier_upserted' | 'capture_identifier_deleted' | 'refund_identifier_upserted' | 'refund_identifier_deleted' | 'virtual_card_capture_upserted' | 'virtual_card_capture_deleted' | 'virtual_card_refund_upserted' | 'virtual_card_refund_deleted' | 'price_book_upserted' | 'price_book_deleted' | 'price_book_item_upserted' | 'price_book_item_deleted' | 'organization_rates_published' | 'ratecard_lane_upserted' | 'ratecard_lane_deleted' | 'ratecard_upserted' | 'ratecard_deleted' | 'return_upserted' | 'return_deleted' | 'return_upserted_v2' | 'return_deleted_v2' | 'shopify_localization_setting_upserted' | 'shopify_localization_setting_deleted' | 'tracking_label_event_upserted';
|
|
855
|
+
type EventType = 'attribute_upserted' | 'attribute_deleted' | 'attribute_upserted_v2' | 'attribute_deleted_v2' | 'catalog_upserted' | 'catalog_deleted' | 'subcatalog_upserted' | 'subcatalog_deleted' | 'catalog_item_upserted' | 'catalog_item_deleted' | 'catalog_item_upserted_v2' | 'catalog_item_deleted_v2' | 'subcatalog_item_upserted' | 'subcatalog_item_deleted' | 'b2b_invoice_upserted' | 'b2b_invoice_deleted' | 'b2b_credit_memo_upserted' | 'b2b_credit_memo_deleted' | 'consumer_invoice_upserted' | 'consumer_invoice_deleted' | 'credit_memo_upserted' | 'credit_memo_deleted' | 'crossdock_shipment_upserted' | 'rate_deleted' | 'rate_upserted' | 'rate_deleted_v3' | 'rate_upserted_v3' | 'customer_upserted' | 'customer_deleted' | 'customer_address_book_contact_upserted' | 'customer_address_book_contact_deleted' | 'email_notification_upserted' | 'email_notification_deleted' | 'available_promotions_upserted' | 'available_promotions_deleted' | 'available_promotions_upserted_v2' | 'available_promotions_deleted_v2' | 'allocation_deleted_v2' | 'allocation_upserted_v2' | 'currency_format_deleted' | 'currency_format_upserted' | 'experience_deleted' | 'experience_upserted' | 'experience_deleted_v2' | 'experience_upserted_v2' | 'country_status_upserted' | 'country_status_deleted' | 'experience_price_book_mapping_deleted' | 'experience_price_book_mapping_upserted' | 'experience_logistics_settings_upserted' | 'experience_logistics_settings_deleted' | 'item_margin_deleted_v2' | 'item_margin_upserted_v2' | 'item_margin_deleted' | 'item_margin_upserted' | 'item_sales_margin_deleted' | 'item_sales_margin_upserted' | 'label_format_deleted' | 'label_format_upserted' | 'order_deleted' | 'order_upserted' | 'order_deleted_v2' | 'order_upserted_v2' | 'order_identifier_deleted' | 'order_identifier_upserted' | 'order_identifier_deleted_v2' | 'order_identifier_upserted_v2' | 'order_identifier_upserted_v3' | 'pricing_deleted' | 'pricing_upserted' | 'order_service_change_request' | 'fraud_status_changed' | 'center_upserted' | 'center_deleted' | 'shipping_configuration_upserted' | 'shipping_configuration_deleted' | 'tier_upserted_v2' | 'tier_deleted_v2' | 'shipping_lane_upserted' | 'shipping_lane_deleted' | 'shipping_configuration_item_availability_upserted' | 'shipping_configuration_item_availability_deleted' | 'shipping_configuration_item_shipping_pricing_upserted' | 'shipping_configuration_item_shipping_pricing_deleted' | 'hs6_code_upserted' | 'hs6_code_deleted' | 'hs10_code_upserted' | 'hs10_code_deleted' | 'item_origin_upserted' | 'item_origin_deleted' | 'harmonized_landed_cost_upserted' | 'fully_harmonized_item_upserted' | 'rule_upserted' | 'rule_deleted' | 'snapshot_upserted' | 'snapshot_deleted' | 'label_upserted' | 'label_deleted_v2' | 'label_upserted_v2' | 'notification_upserted' | 'notification_deleted' | 'manifested_label_upserted' | 'manifested_label_deleted' | 'local_item_upserted' | 'local_item_deleted' | 'checkout_optin_responses_upserted' | 'checkout_optin_responses_deleted' | 'browse_optin_responses_upserted' | 'browse_optin_responses_deleted' | 'order_placed' | 'order_placed_v2' | 'ready_to_fulfill' | 'membership_upserted_v2' | 'membership_deleted_v2' | 'organization_upserted' | 'organization_deleted' | 'organization_upserted_v2' | 'organization_deleted_v2' | 'organization_short_id_upserted' | 'organization_short_id_deleted' | 'organization_default_configurations_upserted' | 'organization_default_configurations_deleted' | 'ecommerce_platform_upserted' | 'ecommerce_platform_deleted' | 'authorization_deleted_v2' | 'authorization_status_changed' | 'card_authorization_upserted_v2' | 'card_authorization_deleted_v2' | 'online_authorization_upserted_v2' | 'online_authorization_deleted_v2' | 'capture_upserted_v2' | 'capture_deleted' | 'card_upserted_v2' | 'card_deleted' | 'payment_upserted' | 'payment_deleted' | 'refund_upserted_v2' | 'refund_deleted_v2' | 'refund_capture_upserted_v2' | 'reversal_upserted' | 'reversal_deleted' | 'capture_identifier_upserted' | 'capture_identifier_deleted' | 'refund_identifier_upserted' | 'refund_identifier_deleted' | 'virtual_card_capture_upserted' | 'virtual_card_capture_deleted' | 'virtual_card_refund_upserted' | 'virtual_card_refund_deleted' | 'price_book_upserted' | 'price_book_deleted' | 'price_book_item_upserted' | 'price_book_item_deleted' | 'organization_rates_published' | 'ratecard_lane_upserted' | 'ratecard_lane_deleted' | 'ratecard_upserted' | 'ratecard_deleted' | 'return_upserted' | 'return_deleted' | 'return_upserted_v2' | 'return_deleted_v2' | 'shopify_localization_setting_upserted' | 'shopify_localization_setting_deleted' | 'tracking_label_event_upserted';
|
|
856
856
|
type ExceptionType = 'open' | 'closed';
|
|
857
857
|
type ExclusionRuleState = 'current' | 'deleting' | 'updating';
|
|
858
858
|
type ExperienceCloneStatus = 'pending' | 'updating' | 'completed' | 'failed';
|
|
@@ -3110,10 +3110,11 @@ declare namespace io.flow.v0.models {
|
|
|
3110
3110
|
}
|
|
3111
3111
|
interface ExportLocalizedItemPrices {
|
|
3112
3112
|
readonly organization: io.flow.v0.models.OrganizationReference;
|
|
3113
|
-
readonly experience: io.flow.v0.models.
|
|
3113
|
+
readonly experience: io.flow.v0.models.ExperienceSummary;
|
|
3114
3114
|
readonly item: io.flow.v0.models.CatalogItemReference;
|
|
3115
3115
|
readonly prices: io.flow.v0.models.ExportLocalizedItemPricesDetail;
|
|
3116
3116
|
readonly status?: io.flow.v0.enums.SubcatalogItemStatus;
|
|
3117
|
+
readonly rates?: io.flow.v0.models.Rate[];
|
|
3117
3118
|
}
|
|
3118
3119
|
interface ExportLocalizedItemPricesDetail {
|
|
3119
3120
|
readonly item: io.flow.v0.models.LocalizedItemPrice;
|
|
@@ -3802,6 +3803,13 @@ declare namespace io.flow.v0.models {
|
|
|
3802
3803
|
readonly organization_id: string;
|
|
3803
3804
|
readonly experience_key: string;
|
|
3804
3805
|
}
|
|
3806
|
+
interface ItemMarginDeletedV2 {
|
|
3807
|
+
readonly discriminator: 'item_margin_deleted_v2';
|
|
3808
|
+
readonly event_id: string;
|
|
3809
|
+
readonly timestamp: string;
|
|
3810
|
+
readonly organization: string;
|
|
3811
|
+
readonly item_margin: io.flow.v0.models.ItemMargin;
|
|
3812
|
+
}
|
|
3805
3813
|
interface ItemMarginPostForm {
|
|
3806
3814
|
readonly name: string;
|
|
3807
3815
|
readonly q: string;
|
|
@@ -3831,6 +3839,13 @@ declare namespace io.flow.v0.models {
|
|
|
3831
3839
|
readonly position: number;
|
|
3832
3840
|
readonly key?: string;
|
|
3833
3841
|
}
|
|
3842
|
+
interface ItemMarginUpsertedV2 {
|
|
3843
|
+
readonly discriminator: 'item_margin_upserted_v2';
|
|
3844
|
+
readonly event_id: string;
|
|
3845
|
+
readonly timestamp: string;
|
|
3846
|
+
readonly organization: string;
|
|
3847
|
+
readonly item_margin: io.flow.v0.models.ItemMargin;
|
|
3848
|
+
}
|
|
3834
3849
|
interface ItemMarginVersion {
|
|
3835
3850
|
readonly id: string;
|
|
3836
3851
|
readonly timestamp: string;
|
|
@@ -7520,7 +7535,7 @@ declare namespace io.flow.v0.unions {
|
|
|
7520
7535
|
type DiscountRuleEntitlement = io.flow.v0.models.DiscountRuleSubsidyEntitlement;
|
|
7521
7536
|
type Document = io.flow.v0.models.CatalogItemDocument | io.flow.v0.models.HarmonizationDocument;
|
|
7522
7537
|
type EmailNotificationData = io.flow.v0.models.EmailNotificationDataRefund | io.flow.v0.models.EmailNotificationAbandonedOrder;
|
|
7523
|
-
type Event = io.flow.v0.models.AttributeUpserted | io.flow.v0.models.AttributeDeleted | io.flow.v0.models.AttributeUpsertedV2 | io.flow.v0.models.AttributeDeletedV2 | io.flow.v0.models.CatalogUpserted | io.flow.v0.models.CatalogDeleted | io.flow.v0.models.SubcatalogUpserted | io.flow.v0.models.SubcatalogDeleted | io.flow.v0.models.CatalogItemUpserted | io.flow.v0.models.CatalogItemDeleted | io.flow.v0.models.CatalogItemUpsertedV2 | io.flow.v0.models.CatalogItemDeletedV2 | io.flow.v0.models.SubcatalogItemUpserted | io.flow.v0.models.SubcatalogItemDeleted | io.flow.v0.models.B2BInvoiceUpserted | io.flow.v0.models.B2BInvoiceDeleted | io.flow.v0.models.B2BCreditMemoUpserted | io.flow.v0.models.B2BCreditMemoDeleted | io.flow.v0.models.ConsumerInvoiceUpserted | io.flow.v0.models.ConsumerInvoiceDeleted | io.flow.v0.models.CreditMemoUpserted | io.flow.v0.models.CreditMemoDeleted | io.flow.v0.models.CrossdockShipmentUpserted | io.flow.v0.models.RateDeleted | io.flow.v0.models.RateUpserted | io.flow.v0.models.RateDeletedV3 | io.flow.v0.models.RateUpsertedV3 | io.flow.v0.models.CustomerUpserted | io.flow.v0.models.CustomerDeleted | io.flow.v0.models.CustomerAddressBookContactUpserted | io.flow.v0.models.CustomerAddressBookContactDeleted | io.flow.v0.models.EmailNotificationUpserted | io.flow.v0.models.EmailNotificationDeleted | io.flow.v0.models.AvailablePromotionsUpserted | io.flow.v0.models.AvailablePromotionsDeleted | io.flow.v0.models.AvailablePromotionsUpsertedV2 | io.flow.v0.models.AvailablePromotionsDeletedV2 | io.flow.v0.models.AllocationDeletedV2 | io.flow.v0.models.AllocationUpsertedV2 | io.flow.v0.models.CurrencyFormatDeleted | io.flow.v0.models.CurrencyFormatUpserted | io.flow.v0.models.ExperienceDeleted | io.flow.v0.models.ExperienceUpserted | io.flow.v0.models.ExperienceDeletedV2 | io.flow.v0.models.ExperienceUpsertedV2 | io.flow.v0.models.CountryStatusUpserted | io.flow.v0.models.CountryStatusDeleted | io.flow.v0.models.ExperiencePriceBookMappingDeleted | io.flow.v0.models.ExperiencePriceBookMappingUpserted | io.flow.v0.models.ExperienceLogisticsSettingsUpserted | io.flow.v0.models.ExperienceLogisticsSettingsDeleted | io.flow.v0.models.ItemMarginDeleted | io.flow.v0.models.ItemMarginUpserted | io.flow.v0.models.ItemSalesMarginDeleted | io.flow.v0.models.ItemSalesMarginUpserted | io.flow.v0.models.LabelFormatDeleted | io.flow.v0.models.LabelFormatUpserted | io.flow.v0.models.OrderDeleted | io.flow.v0.models.OrderUpserted | io.flow.v0.models.OrderDeletedV2 | io.flow.v0.models.OrderUpsertedV2 | io.flow.v0.models.OrderIdentifierDeleted | io.flow.v0.models.OrderIdentifierUpserted | io.flow.v0.models.OrderIdentifierDeletedV2 | io.flow.v0.models.OrderIdentifierUpsertedV2 | io.flow.v0.models.OrderIdentifierUpsertedV3 | io.flow.v0.models.PricingDeleted | io.flow.v0.models.PricingUpserted | io.flow.v0.models.OrderServiceChangeRequest | io.flow.v0.models.FraudStatusChanged | io.flow.v0.models.CenterUpserted | io.flow.v0.models.CenterDeleted | io.flow.v0.models.ShippingConfigurationUpserted | io.flow.v0.models.ShippingConfigurationDeleted | io.flow.v0.models.TierUpsertedV2 | io.flow.v0.models.TierDeletedV2 | io.flow.v0.models.ShippingLaneUpserted | io.flow.v0.models.ShippingLaneDeleted | io.flow.v0.models.ShippingConfigurationItemAvailabilityUpserted | io.flow.v0.models.ShippingConfigurationItemAvailabilityDeleted | io.flow.v0.models.ShippingConfigurationItemShippingPricingUpserted | io.flow.v0.models.ShippingConfigurationItemShippingPricingDeleted | io.flow.v0.models.Hs6CodeUpserted | io.flow.v0.models.Hs6CodeDeleted | io.flow.v0.models.Hs10CodeUpserted | io.flow.v0.models.Hs10CodeDeleted | io.flow.v0.models.ItemOriginUpserted | io.flow.v0.models.ItemOriginDeleted | io.flow.v0.models.HarmonizedLandedCostUpserted | io.flow.v0.models.FullyHarmonizedItemUpserted | io.flow.v0.models.RuleUpserted | io.flow.v0.models.RuleDeleted | io.flow.v0.models.SnapshotUpserted | io.flow.v0.models.SnapshotDeleted | io.flow.v0.models.LabelUpserted | io.flow.v0.models.LabelDeletedV2 | io.flow.v0.models.LabelUpsertedV2 | io.flow.v0.models.NotificationUpserted | io.flow.v0.models.NotificationDeleted | io.flow.v0.models.ManifestedLabelUpserted | io.flow.v0.models.ManifestedLabelDeleted | io.flow.v0.models.LocalItemUpserted | io.flow.v0.models.LocalItemDeleted | io.flow.v0.models.CheckoutOptinResponsesUpserted | io.flow.v0.models.CheckoutOptinResponsesDeleted | io.flow.v0.models.BrowseOptinResponsesUpserted | io.flow.v0.models.BrowseOptinResponsesDeleted | io.flow.v0.models.OrderPlaced | io.flow.v0.models.OrderPlacedV2 | io.flow.v0.models.ReadyToFulfill | io.flow.v0.models.MembershipUpsertedV2 | io.flow.v0.models.MembershipDeletedV2 | io.flow.v0.models.OrganizationUpserted | io.flow.v0.models.OrganizationDeleted | io.flow.v0.models.OrganizationUpsertedV2 | io.flow.v0.models.OrganizationDeletedV2 | io.flow.v0.models.OrganizationShortIdUpserted | io.flow.v0.models.OrganizationShortIdDeleted | io.flow.v0.models.OrganizationDefaultConfigurationsUpserted | io.flow.v0.models.OrganizationDefaultConfigurationsDeleted | io.flow.v0.models.EcommercePlatformUpserted | io.flow.v0.models.EcommercePlatformDeleted | io.flow.v0.models.AuthorizationDeletedV2 | io.flow.v0.models.AuthorizationStatusChanged | io.flow.v0.models.CardAuthorizationUpsertedV2 | io.flow.v0.models.CardAuthorizationDeletedV2 | io.flow.v0.models.OnlineAuthorizationUpsertedV2 | io.flow.v0.models.OnlineAuthorizationDeletedV2 | io.flow.v0.models.CaptureUpsertedV2 | io.flow.v0.models.CaptureDeleted | io.flow.v0.models.CardUpsertedV2 | io.flow.v0.models.CardDeleted | io.flow.v0.models.PaymentUpserted | io.flow.v0.models.PaymentDeleted | io.flow.v0.models.RefundUpsertedV2 | io.flow.v0.models.RefundDeletedV2 | io.flow.v0.models.RefundCaptureUpsertedV2 | io.flow.v0.models.ReversalUpserted | io.flow.v0.models.ReversalDeleted | io.flow.v0.models.CaptureIdentifierUpserted | io.flow.v0.models.CaptureIdentifierDeleted | io.flow.v0.models.RefundIdentifierUpserted | io.flow.v0.models.RefundIdentifierDeleted | io.flow.v0.models.VirtualCardCaptureUpserted | io.flow.v0.models.VirtualCardCaptureDeleted | io.flow.v0.models.VirtualCardRefundUpserted | io.flow.v0.models.VirtualCardRefundDeleted | io.flow.v0.models.PriceBookUpserted | io.flow.v0.models.PriceBookDeleted | io.flow.v0.models.PriceBookItemUpserted | io.flow.v0.models.PriceBookItemDeleted | io.flow.v0.models.OrganizationRatesPublished | io.flow.v0.models.RatecardLaneUpserted | io.flow.v0.models.RatecardLaneDeleted | io.flow.v0.models.RatecardUpserted | io.flow.v0.models.RatecardDeleted | io.flow.v0.models.ReturnUpserted | io.flow.v0.models.ReturnDeleted | io.flow.v0.models.ReturnUpsertedV2 | io.flow.v0.models.ReturnDeletedV2 | io.flow.v0.models.ShopifyLocalizationSettingUpserted | io.flow.v0.models.ShopifyLocalizationSettingDeleted | io.flow.v0.models.TrackingLabelEventUpserted;
|
|
7538
|
+
type Event = io.flow.v0.models.AttributeUpserted | io.flow.v0.models.AttributeDeleted | io.flow.v0.models.AttributeUpsertedV2 | io.flow.v0.models.AttributeDeletedV2 | io.flow.v0.models.CatalogUpserted | io.flow.v0.models.CatalogDeleted | io.flow.v0.models.SubcatalogUpserted | io.flow.v0.models.SubcatalogDeleted | io.flow.v0.models.CatalogItemUpserted | io.flow.v0.models.CatalogItemDeleted | io.flow.v0.models.CatalogItemUpsertedV2 | io.flow.v0.models.CatalogItemDeletedV2 | io.flow.v0.models.SubcatalogItemUpserted | io.flow.v0.models.SubcatalogItemDeleted | io.flow.v0.models.B2BInvoiceUpserted | io.flow.v0.models.B2BInvoiceDeleted | io.flow.v0.models.B2BCreditMemoUpserted | io.flow.v0.models.B2BCreditMemoDeleted | io.flow.v0.models.ConsumerInvoiceUpserted | io.flow.v0.models.ConsumerInvoiceDeleted | io.flow.v0.models.CreditMemoUpserted | io.flow.v0.models.CreditMemoDeleted | io.flow.v0.models.CrossdockShipmentUpserted | io.flow.v0.models.RateDeleted | io.flow.v0.models.RateUpserted | io.flow.v0.models.RateDeletedV3 | io.flow.v0.models.RateUpsertedV3 | io.flow.v0.models.CustomerUpserted | io.flow.v0.models.CustomerDeleted | io.flow.v0.models.CustomerAddressBookContactUpserted | io.flow.v0.models.CustomerAddressBookContactDeleted | io.flow.v0.models.EmailNotificationUpserted | io.flow.v0.models.EmailNotificationDeleted | io.flow.v0.models.AvailablePromotionsUpserted | io.flow.v0.models.AvailablePromotionsDeleted | io.flow.v0.models.AvailablePromotionsUpsertedV2 | io.flow.v0.models.AvailablePromotionsDeletedV2 | io.flow.v0.models.AllocationDeletedV2 | io.flow.v0.models.AllocationUpsertedV2 | io.flow.v0.models.CurrencyFormatDeleted | io.flow.v0.models.CurrencyFormatUpserted | io.flow.v0.models.ExperienceDeleted | io.flow.v0.models.ExperienceUpserted | io.flow.v0.models.ExperienceDeletedV2 | io.flow.v0.models.ExperienceUpsertedV2 | io.flow.v0.models.CountryStatusUpserted | io.flow.v0.models.CountryStatusDeleted | io.flow.v0.models.ExperiencePriceBookMappingDeleted | io.flow.v0.models.ExperiencePriceBookMappingUpserted | io.flow.v0.models.ExperienceLogisticsSettingsUpserted | io.flow.v0.models.ExperienceLogisticsSettingsDeleted | io.flow.v0.models.ItemMarginDeletedV2 | io.flow.v0.models.ItemMarginUpsertedV2 | io.flow.v0.models.ItemMarginDeleted | io.flow.v0.models.ItemMarginUpserted | io.flow.v0.models.ItemSalesMarginDeleted | io.flow.v0.models.ItemSalesMarginUpserted | io.flow.v0.models.LabelFormatDeleted | io.flow.v0.models.LabelFormatUpserted | io.flow.v0.models.OrderDeleted | io.flow.v0.models.OrderUpserted | io.flow.v0.models.OrderDeletedV2 | io.flow.v0.models.OrderUpsertedV2 | io.flow.v0.models.OrderIdentifierDeleted | io.flow.v0.models.OrderIdentifierUpserted | io.flow.v0.models.OrderIdentifierDeletedV2 | io.flow.v0.models.OrderIdentifierUpsertedV2 | io.flow.v0.models.OrderIdentifierUpsertedV3 | io.flow.v0.models.PricingDeleted | io.flow.v0.models.PricingUpserted | io.flow.v0.models.OrderServiceChangeRequest | io.flow.v0.models.FraudStatusChanged | io.flow.v0.models.CenterUpserted | io.flow.v0.models.CenterDeleted | io.flow.v0.models.ShippingConfigurationUpserted | io.flow.v0.models.ShippingConfigurationDeleted | io.flow.v0.models.TierUpsertedV2 | io.flow.v0.models.TierDeletedV2 | io.flow.v0.models.ShippingLaneUpserted | io.flow.v0.models.ShippingLaneDeleted | io.flow.v0.models.ShippingConfigurationItemAvailabilityUpserted | io.flow.v0.models.ShippingConfigurationItemAvailabilityDeleted | io.flow.v0.models.ShippingConfigurationItemShippingPricingUpserted | io.flow.v0.models.ShippingConfigurationItemShippingPricingDeleted | io.flow.v0.models.Hs6CodeUpserted | io.flow.v0.models.Hs6CodeDeleted | io.flow.v0.models.Hs10CodeUpserted | io.flow.v0.models.Hs10CodeDeleted | io.flow.v0.models.ItemOriginUpserted | io.flow.v0.models.ItemOriginDeleted | io.flow.v0.models.HarmonizedLandedCostUpserted | io.flow.v0.models.FullyHarmonizedItemUpserted | io.flow.v0.models.RuleUpserted | io.flow.v0.models.RuleDeleted | io.flow.v0.models.SnapshotUpserted | io.flow.v0.models.SnapshotDeleted | io.flow.v0.models.LabelUpserted | io.flow.v0.models.LabelDeletedV2 | io.flow.v0.models.LabelUpsertedV2 | io.flow.v0.models.NotificationUpserted | io.flow.v0.models.NotificationDeleted | io.flow.v0.models.ManifestedLabelUpserted | io.flow.v0.models.ManifestedLabelDeleted | io.flow.v0.models.LocalItemUpserted | io.flow.v0.models.LocalItemDeleted | io.flow.v0.models.CheckoutOptinResponsesUpserted | io.flow.v0.models.CheckoutOptinResponsesDeleted | io.flow.v0.models.BrowseOptinResponsesUpserted | io.flow.v0.models.BrowseOptinResponsesDeleted | io.flow.v0.models.OrderPlaced | io.flow.v0.models.OrderPlacedV2 | io.flow.v0.models.ReadyToFulfill | io.flow.v0.models.MembershipUpsertedV2 | io.flow.v0.models.MembershipDeletedV2 | io.flow.v0.models.OrganizationUpserted | io.flow.v0.models.OrganizationDeleted | io.flow.v0.models.OrganizationUpsertedV2 | io.flow.v0.models.OrganizationDeletedV2 | io.flow.v0.models.OrganizationShortIdUpserted | io.flow.v0.models.OrganizationShortIdDeleted | io.flow.v0.models.OrganizationDefaultConfigurationsUpserted | io.flow.v0.models.OrganizationDefaultConfigurationsDeleted | io.flow.v0.models.EcommercePlatformUpserted | io.flow.v0.models.EcommercePlatformDeleted | io.flow.v0.models.AuthorizationDeletedV2 | io.flow.v0.models.AuthorizationStatusChanged | io.flow.v0.models.CardAuthorizationUpsertedV2 | io.flow.v0.models.CardAuthorizationDeletedV2 | io.flow.v0.models.OnlineAuthorizationUpsertedV2 | io.flow.v0.models.OnlineAuthorizationDeletedV2 | io.flow.v0.models.CaptureUpsertedV2 | io.flow.v0.models.CaptureDeleted | io.flow.v0.models.CardUpsertedV2 | io.flow.v0.models.CardDeleted | io.flow.v0.models.PaymentUpserted | io.flow.v0.models.PaymentDeleted | io.flow.v0.models.RefundUpsertedV2 | io.flow.v0.models.RefundDeletedV2 | io.flow.v0.models.RefundCaptureUpsertedV2 | io.flow.v0.models.ReversalUpserted | io.flow.v0.models.ReversalDeleted | io.flow.v0.models.CaptureIdentifierUpserted | io.flow.v0.models.CaptureIdentifierDeleted | io.flow.v0.models.RefundIdentifierUpserted | io.flow.v0.models.RefundIdentifierDeleted | io.flow.v0.models.VirtualCardCaptureUpserted | io.flow.v0.models.VirtualCardCaptureDeleted | io.flow.v0.models.VirtualCardRefundUpserted | io.flow.v0.models.VirtualCardRefundDeleted | io.flow.v0.models.PriceBookUpserted | io.flow.v0.models.PriceBookDeleted | io.flow.v0.models.PriceBookItemUpserted | io.flow.v0.models.PriceBookItemDeleted | io.flow.v0.models.OrganizationRatesPublished | io.flow.v0.models.RatecardLaneUpserted | io.flow.v0.models.RatecardLaneDeleted | io.flow.v0.models.RatecardUpserted | io.flow.v0.models.RatecardDeleted | io.flow.v0.models.ReturnUpserted | io.flow.v0.models.ReturnDeleted | io.flow.v0.models.ReturnUpsertedV2 | io.flow.v0.models.ReturnDeletedV2 | io.flow.v0.models.ShopifyLocalizationSettingUpserted | io.flow.v0.models.ShopifyLocalizationSettingDeleted | io.flow.v0.models.TrackingLabelEventUpserted;
|
|
7524
7539
|
type ExpandableCard = io.flow.v0.models.Card | io.flow.v0.models.CardReference | io.flow.v0.models.CardSummary;
|
|
7525
7540
|
type ExpandableCenter = io.flow.v0.models.Center | io.flow.v0.models.CenterReference;
|
|
7526
7541
|
type ExpandableExperience = io.flow.v0.models.Experience | io.flow.v0.models.ExperienceReference;
|
|
@@ -8159,9 +8174,11 @@ export declare type ItemFormOverlayForm = io.flow.v0.models.ItemFormOverlayForm;
|
|
|
8159
8174
|
export declare type ItemIdentifier = io.flow.v0.enums.ItemIdentifier;
|
|
8160
8175
|
export declare type ItemMargin = io.flow.v0.models.ItemMargin;
|
|
8161
8176
|
export declare type ItemMarginDeleted = io.flow.v0.models.ItemMarginDeleted;
|
|
8177
|
+
export declare type ItemMarginDeletedV2 = io.flow.v0.models.ItemMarginDeletedV2;
|
|
8162
8178
|
export declare type ItemMarginPostForm = io.flow.v0.models.ItemMarginPostForm;
|
|
8163
8179
|
export declare type ItemMarginPutForm = io.flow.v0.models.ItemMarginPutForm;
|
|
8164
8180
|
export declare type ItemMarginUpserted = io.flow.v0.models.ItemMarginUpserted;
|
|
8181
|
+
export declare type ItemMarginUpsertedV2 = io.flow.v0.models.ItemMarginUpsertedV2;
|
|
8165
8182
|
export declare type ItemMarginVersion = io.flow.v0.models.ItemMarginVersion;
|
|
8166
8183
|
export declare type ItemOriginDeleted = io.flow.v0.models.ItemOriginDeleted;
|
|
8167
8184
|
export declare type ItemOriginUpserted = io.flow.v0.models.ItemOriginUpserted;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@flowio/types",
|
|
3
|
-
"version": "11.7.
|
|
3
|
+
"version": "11.7.2",
|
|
4
4
|
"description": "TypeScript type definitions for custom types found in Flow API",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -25,5 +25,5 @@
|
|
|
25
25
|
"maintainers": [
|
|
26
26
|
"Christian Muñoz <christian.munoz@flow.io>"
|
|
27
27
|
],
|
|
28
|
-
"gitHead": "
|
|
28
|
+
"gitHead": "5a38bd822c2a0170560926fd52b25030f44bbc9a"
|
|
29
29
|
}
|
package/src/api-internal.ts
CHANGED
|
@@ -1664,10 +1664,11 @@ declare namespace io.flow.RESERVED_WORD_export.v0.models {
|
|
|
1664
1664
|
|
|
1665
1665
|
interface ExportLocalizedItemPrices {
|
|
1666
1666
|
readonly organization: io.flow.common.v0.models.OrganizationReference;
|
|
1667
|
-
readonly experience: io.flow.
|
|
1667
|
+
readonly experience: io.flow.common.v0.models.ExperienceSummary;
|
|
1668
1668
|
readonly item: io.flow.common.v0.models.CatalogItemReference;
|
|
1669
1669
|
readonly prices: io.flow.RESERVED_WORD_export.v0.models.ExportLocalizedItemPricesDetail;
|
|
1670
1670
|
readonly status?: io.flow.catalog.v0.enums.SubcatalogItemStatus;
|
|
1671
|
+
readonly rates?: io.flow.currency.v0.models.Rate[];
|
|
1671
1672
|
}
|
|
1672
1673
|
|
|
1673
1674
|
interface ExportLocalizedItemPricesDetail {
|
|
@@ -12811,6 +12812,9 @@ declare namespace io.flow.fulfillment.v0.unions {
|
|
|
12811
12812
|
}
|
|
12812
12813
|
|
|
12813
12814
|
declare namespace io.flow.checkout.protocol.v0.enums {
|
|
12815
|
+
type CheckoutAddAuthorizationErrorCode =
|
|
12816
|
+
| 'checkout_not_found'
|
|
12817
|
+
| 'authorization_not_found';
|
|
12814
12818
|
type CheckoutAddGiftCardAndPromotionCodeErrorCode =
|
|
12815
12819
|
| 'gift_card_not_supported'
|
|
12816
12820
|
| 'gift_card_insufficient_funds'
|
|
@@ -12965,6 +12969,8 @@ declare namespace io.flow.checkout.protocol.v0.enums {
|
|
|
12965
12969
|
| 'authorization_form_not_supported'
|
|
12966
12970
|
| 'authorization_invalid_amount'
|
|
12967
12971
|
| 'authorization_invalid_currency'
|
|
12972
|
+
| 'authorization_not_found'
|
|
12973
|
+
| 'checkout_not_found'
|
|
12968
12974
|
| 'checkout_requires_at_least_one_line'
|
|
12969
12975
|
| 'contact_email_invalid'
|
|
12970
12976
|
| 'contact_email_required'
|
|
@@ -13004,6 +13010,11 @@ declare namespace io.flow.checkout.protocol.v0.enums {
|
|
|
13004
13010
|
}
|
|
13005
13011
|
|
|
13006
13012
|
declare namespace io.flow.checkout.protocol.v0.models {
|
|
13013
|
+
interface CheckoutAddAuthorizationError {
|
|
13014
|
+
readonly code: io.flow.checkout.protocol.v0.enums.CheckoutAddAuthorizationErrorCode;
|
|
13015
|
+
readonly message: string;
|
|
13016
|
+
}
|
|
13017
|
+
|
|
13007
13018
|
interface CheckoutAddGiftCardAndPromotionCodeError {
|
|
13008
13019
|
readonly code: io.flow.checkout.protocol.v0.enums.CheckoutAddGiftCardAndPromotionCodeErrorCode;
|
|
13009
13020
|
readonly message: string;
|
|
@@ -13367,6 +13378,22 @@ declare namespace io.flow.checkout.protocol.v0.models {
|
|
|
13367
13378
|
readonly attributes: Record<string, string>;
|
|
13368
13379
|
}
|
|
13369
13380
|
|
|
13381
|
+
interface CheckoutSequencedAddAuthorizationRequestForm {
|
|
13382
|
+
readonly discriminator: 'checkout_sequenced_add_authorization_request_form';
|
|
13383
|
+
readonly checkout_id: string;
|
|
13384
|
+
readonly authorization_key: string;
|
|
13385
|
+
}
|
|
13386
|
+
|
|
13387
|
+
interface CheckoutSequencedAddAuthorizationResponseError {
|
|
13388
|
+
readonly discriminator: 'checkout_sequenced_add_authorization_response_error';
|
|
13389
|
+
readonly errors: io.flow.checkout.protocol.v0.models.CheckoutAddAuthorizationError[];
|
|
13390
|
+
}
|
|
13391
|
+
|
|
13392
|
+
interface CheckoutSequencedAddAuthorizationResponseSuccess {
|
|
13393
|
+
readonly discriminator: 'checkout_sequenced_add_authorization_response_success';
|
|
13394
|
+
readonly authorization: io.flow.checkout.backend.v0.models.CheckoutPaymentAuthorizationSummary;
|
|
13395
|
+
}
|
|
13396
|
+
|
|
13370
13397
|
interface CheckoutSequencedAddGiftCardAndPromotionCodeRequestForm {
|
|
13371
13398
|
readonly discriminator: 'checkout_sequenced_add_gift_card_and_promotion_code_request_form';
|
|
13372
13399
|
readonly value: string;
|
|
@@ -13865,6 +13892,9 @@ declare namespace io.flow.checkout.protocol.v0.unions {
|
|
|
13865
13892
|
| io.flow.checkout.protocol.v0.models.CheckoutFeaturesResponseSuccess
|
|
13866
13893
|
| io.flow.checkout.protocol.v0.models.CheckoutGetResponseError
|
|
13867
13894
|
| io.flow.checkout.protocol.v0.models.CheckoutGetResponseSuccess;
|
|
13895
|
+
type CheckoutSequencedAddAuthorizationResponse =
|
|
13896
|
+
| io.flow.checkout.protocol.v0.models.CheckoutSequencedAddAuthorizationResponseError
|
|
13897
|
+
| io.flow.checkout.protocol.v0.models.CheckoutSequencedAddAuthorizationResponseSuccess;
|
|
13868
13898
|
type CheckoutSequencedAddGiftCardAndPromotionCodeResponse = io.flow.checkout.protocol.v0.models.CheckoutSequencedAddGiftCardAndPromotionCodeResponseError;
|
|
13869
13899
|
type CheckoutSequencedAddGiftCardResponse = io.flow.checkout.protocol.v0.models.CheckoutSequencedAddGiftCardResponseError;
|
|
13870
13900
|
type CheckoutSequencedAddLineResponse = io.flow.checkout.protocol.v0.models.CheckoutSequencedAddLineResponseError;
|
|
@@ -13885,6 +13915,7 @@ declare namespace io.flow.checkout.protocol.v0.unions {
|
|
|
13885
13915
|
| io.flow.checkout.protocol.v0.models.CheckoutSequencedInitiatePaymentResponseSuccess;
|
|
13886
13916
|
type CheckoutSequencedRequestForm =
|
|
13887
13917
|
| io.flow.checkout.protocol.v0.models.CheckoutSequencedAddAttributesRequestForm
|
|
13918
|
+
| io.flow.checkout.protocol.v0.models.CheckoutSequencedAddAuthorizationRequestForm
|
|
13888
13919
|
| io.flow.checkout.protocol.v0.models.CheckoutSequencedAddGiftCardAndPromotionCodeRequestForm
|
|
13889
13920
|
| io.flow.checkout.protocol.v0.models.CheckoutSequencedAddGiftCardRequestForm
|
|
13890
13921
|
| io.flow.checkout.protocol.v0.models.CheckoutSequencedAddLineRequestForm
|
|
@@ -13917,6 +13948,8 @@ declare namespace io.flow.checkout.protocol.v0.unions {
|
|
|
13917
13948
|
| io.flow.checkout.protocol.v0.models.CheckoutSequencedSetPromotionCodeRequestForm
|
|
13918
13949
|
| io.flow.checkout.protocol.v0.models.CheckoutSequencedSubmitRequestForm;
|
|
13919
13950
|
type CheckoutSequencedResponse =
|
|
13951
|
+
| io.flow.checkout.protocol.v0.models.CheckoutSequencedAddAuthorizationResponseError
|
|
13952
|
+
| io.flow.checkout.protocol.v0.models.CheckoutSequencedAddAuthorizationResponseSuccess
|
|
13920
13953
|
| io.flow.checkout.protocol.v0.models.CheckoutSequencedAddGiftCardAndPromotionCodeResponseError
|
|
13921
13954
|
| io.flow.checkout.protocol.v0.models.CheckoutSequencedAddGiftCardResponseError
|
|
13922
13955
|
| io.flow.checkout.protocol.v0.models.CheckoutSequencedAddLineResponseError
|
|
@@ -16978,6 +17011,9 @@ declare namespace io.flow.internal.v0.enums {
|
|
|
16978
17011
|
| 'price_book_items_query_import';
|
|
16979
17012
|
type ChargebackPaymentStatus = 'captured' | 'refunded';
|
|
16980
17013
|
type ChargebackProcessStatus = 'inquiry' | 'open' | 'closed';
|
|
17014
|
+
type CheckoutAddAuthorizationErrorCode =
|
|
17015
|
+
| 'checkout_not_found'
|
|
17016
|
+
| 'authorization_not_found';
|
|
16981
17017
|
type CheckoutAddGiftCardAndPromotionCodeErrorCode =
|
|
16982
17018
|
| 'gift_card_not_supported'
|
|
16983
17019
|
| 'gift_card_insufficient_funds'
|
|
@@ -17155,6 +17191,8 @@ declare namespace io.flow.internal.v0.enums {
|
|
|
17155
17191
|
| 'authorization_form_not_supported'
|
|
17156
17192
|
| 'authorization_invalid_amount'
|
|
17157
17193
|
| 'authorization_invalid_currency'
|
|
17194
|
+
| 'authorization_not_found'
|
|
17195
|
+
| 'checkout_not_found'
|
|
17158
17196
|
| 'checkout_requires_at_least_one_line'
|
|
17159
17197
|
| 'contact_email_invalid'
|
|
17160
17198
|
| 'contact_email_required'
|
|
@@ -18728,6 +18766,11 @@ declare namespace io.flow.internal.v0.models {
|
|
|
18728
18766
|
readonly required: boolean;
|
|
18729
18767
|
}
|
|
18730
18768
|
|
|
18769
|
+
interface CheckoutAddAuthorizationError {
|
|
18770
|
+
readonly code: io.flow.internal.v0.enums.CheckoutAddAuthorizationErrorCode;
|
|
18771
|
+
readonly message: string;
|
|
18772
|
+
}
|
|
18773
|
+
|
|
18731
18774
|
interface CheckoutAddGiftCardAndPromotionCodeError {
|
|
18732
18775
|
readonly code: io.flow.internal.v0.enums.CheckoutAddGiftCardAndPromotionCodeErrorCode;
|
|
18733
18776
|
readonly message: string;
|
|
@@ -19813,6 +19856,22 @@ declare namespace io.flow.internal.v0.models {
|
|
|
19813
19856
|
readonly attributes: Record<string, string>;
|
|
19814
19857
|
}
|
|
19815
19858
|
|
|
19859
|
+
interface CheckoutSequencedAddAuthorizationRequestForm {
|
|
19860
|
+
readonly discriminator: 'checkout_sequenced_add_authorization_request_form';
|
|
19861
|
+
readonly checkout_id: string;
|
|
19862
|
+
readonly authorization_key: string;
|
|
19863
|
+
}
|
|
19864
|
+
|
|
19865
|
+
interface CheckoutSequencedAddAuthorizationResponseError {
|
|
19866
|
+
readonly discriminator: 'checkout_sequenced_add_authorization_response_error';
|
|
19867
|
+
readonly errors: io.flow.internal.v0.models.CheckoutAddAuthorizationError[];
|
|
19868
|
+
}
|
|
19869
|
+
|
|
19870
|
+
interface CheckoutSequencedAddAuthorizationResponseSuccess {
|
|
19871
|
+
readonly discriminator: 'checkout_sequenced_add_authorization_response_success';
|
|
19872
|
+
readonly authorization: io.flow.checkout.backend.v0.models.CheckoutPaymentAuthorizationSummary;
|
|
19873
|
+
}
|
|
19874
|
+
|
|
19816
19875
|
interface CheckoutSequencedAddGiftCardAndPromotionCodeRequestForm {
|
|
19817
19876
|
readonly discriminator: 'checkout_sequenced_add_gift_card_and_promotion_code_request_form';
|
|
19818
19877
|
readonly value: string;
|
|
@@ -25922,6 +25981,9 @@ declare namespace io.flow.internal.v0.unions {
|
|
|
25922
25981
|
| io.flow.internal.v0.models.CheckoutFeaturesResponseSuccess
|
|
25923
25982
|
| io.flow.internal.v0.models.CheckoutGetResponseError
|
|
25924
25983
|
| io.flow.internal.v0.models.CheckoutGetResponseSuccess;
|
|
25984
|
+
type CheckoutSequencedAddAuthorizationResponse =
|
|
25985
|
+
| io.flow.internal.v0.models.CheckoutSequencedAddAuthorizationResponseError
|
|
25986
|
+
| io.flow.internal.v0.models.CheckoutSequencedAddAuthorizationResponseSuccess;
|
|
25925
25987
|
type CheckoutSequencedAddGiftCardAndPromotionCodeResponse = io.flow.internal.v0.models.CheckoutSequencedAddGiftCardAndPromotionCodeResponseError;
|
|
25926
25988
|
type CheckoutSequencedAddGiftCardResponse = io.flow.internal.v0.models.CheckoutSequencedAddGiftCardResponseError;
|
|
25927
25989
|
type CheckoutSequencedAddLineResponse = io.flow.internal.v0.models.CheckoutSequencedAddLineResponseError;
|
|
@@ -25942,6 +26004,7 @@ declare namespace io.flow.internal.v0.unions {
|
|
|
25942
26004
|
| io.flow.internal.v0.models.CheckoutSequencedInitiatePaymentResponseSuccess;
|
|
25943
26005
|
type CheckoutSequencedRequestForm =
|
|
25944
26006
|
| io.flow.internal.v0.models.CheckoutSequencedAddAttributesRequestForm
|
|
26007
|
+
| io.flow.internal.v0.models.CheckoutSequencedAddAuthorizationRequestForm
|
|
25945
26008
|
| io.flow.internal.v0.models.CheckoutSequencedAddGiftCardAndPromotionCodeRequestForm
|
|
25946
26009
|
| io.flow.internal.v0.models.CheckoutSequencedAddGiftCardRequestForm
|
|
25947
26010
|
| io.flow.internal.v0.models.CheckoutSequencedAddLineRequestForm
|
|
@@ -25974,6 +26037,8 @@ declare namespace io.flow.internal.v0.unions {
|
|
|
25974
26037
|
| io.flow.internal.v0.models.CheckoutSequencedSetPromotionCodeRequestForm
|
|
25975
26038
|
| io.flow.internal.v0.models.CheckoutSequencedSubmitRequestForm;
|
|
25976
26039
|
type CheckoutSequencedResponse =
|
|
26040
|
+
| io.flow.internal.v0.models.CheckoutSequencedAddAuthorizationResponseError
|
|
26041
|
+
| io.flow.internal.v0.models.CheckoutSequencedAddAuthorizationResponseSuccess
|
|
25977
26042
|
| io.flow.internal.v0.models.CheckoutSequencedAddGiftCardAndPromotionCodeResponseError
|
|
25978
26043
|
| io.flow.internal.v0.models.CheckoutSequencedAddGiftCardResponseError
|
|
25979
26044
|
| io.flow.internal.v0.models.CheckoutSequencedAddLineResponseError
|
|
@@ -26615,6 +26680,8 @@ export type ChargebackProcessStatus = io.flow.internal.v0.enums.ChargebackProces
|
|
|
26615
26680
|
export type ChargebackUpserted = io.flow.internal.v0.models.ChargebackUpserted;
|
|
26616
26681
|
export type ChargebackVersion = io.flow.internal.v0.models.ChargebackVersion;
|
|
26617
26682
|
export type Checkbox = io.flow.internal.v0.models.Checkbox;
|
|
26683
|
+
export type CheckoutAddAuthorizationError = io.flow.internal.v0.models.CheckoutAddAuthorizationError;
|
|
26684
|
+
export type CheckoutAddAuthorizationErrorCode = io.flow.internal.v0.enums.CheckoutAddAuthorizationErrorCode;
|
|
26618
26685
|
export type CheckoutAddGiftCardAndPromotionCodeError = io.flow.internal.v0.models.CheckoutAddGiftCardAndPromotionCodeError;
|
|
26619
26686
|
export type CheckoutAddGiftCardAndPromotionCodeErrorCode = io.flow.internal.v0.enums.CheckoutAddGiftCardAndPromotionCodeErrorCode;
|
|
26620
26687
|
export type CheckoutAddGiftCardError = io.flow.internal.v0.models.CheckoutAddGiftCardError;
|
|
@@ -26857,6 +26924,10 @@ export type CheckoutReferenceForm = io.flow.internal.v0.models.CheckoutReference
|
|
|
26857
26924
|
export type CheckoutRequestForm = io.flow.internal.v0.unions.CheckoutRequestForm;
|
|
26858
26925
|
export type CheckoutResponse = io.flow.internal.v0.unions.CheckoutResponse;
|
|
26859
26926
|
export type CheckoutSequencedAddAttributesRequestForm = io.flow.internal.v0.models.CheckoutSequencedAddAttributesRequestForm;
|
|
26927
|
+
export type CheckoutSequencedAddAuthorizationRequestForm = io.flow.internal.v0.models.CheckoutSequencedAddAuthorizationRequestForm;
|
|
26928
|
+
export type CheckoutSequencedAddAuthorizationResponse = io.flow.internal.v0.unions.CheckoutSequencedAddAuthorizationResponse;
|
|
26929
|
+
export type CheckoutSequencedAddAuthorizationResponseError = io.flow.internal.v0.models.CheckoutSequencedAddAuthorizationResponseError;
|
|
26930
|
+
export type CheckoutSequencedAddAuthorizationResponseSuccess = io.flow.internal.v0.models.CheckoutSequencedAddAuthorizationResponseSuccess;
|
|
26860
26931
|
export type CheckoutSequencedAddGiftCardAndPromotionCodeRequestForm = io.flow.internal.v0.models.CheckoutSequencedAddGiftCardAndPromotionCodeRequestForm;
|
|
26861
26932
|
export type CheckoutSequencedAddGiftCardAndPromotionCodeResponse = io.flow.internal.v0.unions.CheckoutSequencedAddGiftCardAndPromotionCodeResponse;
|
|
26862
26933
|
export type CheckoutSequencedAddGiftCardAndPromotionCodeResponseError = io.flow.internal.v0.models.CheckoutSequencedAddGiftCardAndPromotionCodeResponseError;
|
package/src/api.ts
CHANGED
|
@@ -1229,6 +1229,8 @@ declare namespace io.flow.v0.enums {
|
|
|
1229
1229
|
| 'experience_price_book_mapping_upserted'
|
|
1230
1230
|
| 'experience_logistics_settings_upserted'
|
|
1231
1231
|
| 'experience_logistics_settings_deleted'
|
|
1232
|
+
| 'item_margin_deleted_v2'
|
|
1233
|
+
| 'item_margin_upserted_v2'
|
|
1232
1234
|
| 'item_margin_deleted'
|
|
1233
1235
|
| 'item_margin_upserted'
|
|
1234
1236
|
| 'item_sales_margin_deleted'
|
|
@@ -4163,10 +4165,11 @@ declare namespace io.flow.v0.models {
|
|
|
4163
4165
|
|
|
4164
4166
|
interface ExportLocalizedItemPrices {
|
|
4165
4167
|
readonly organization: io.flow.v0.models.OrganizationReference;
|
|
4166
|
-
readonly experience: io.flow.v0.models.
|
|
4168
|
+
readonly experience: io.flow.v0.models.ExperienceSummary;
|
|
4167
4169
|
readonly item: io.flow.v0.models.CatalogItemReference;
|
|
4168
4170
|
readonly prices: io.flow.v0.models.ExportLocalizedItemPricesDetail;
|
|
4169
4171
|
readonly status?: io.flow.v0.enums.SubcatalogItemStatus;
|
|
4172
|
+
readonly rates?: io.flow.v0.models.Rate[];
|
|
4170
4173
|
}
|
|
4171
4174
|
|
|
4172
4175
|
interface ExportLocalizedItemPricesDetail {
|
|
@@ -4977,6 +4980,14 @@ declare namespace io.flow.v0.models {
|
|
|
4977
4980
|
readonly experience_key: string;
|
|
4978
4981
|
}
|
|
4979
4982
|
|
|
4983
|
+
interface ItemMarginDeletedV2 {
|
|
4984
|
+
readonly discriminator: 'item_margin_deleted_v2';
|
|
4985
|
+
readonly event_id: string;
|
|
4986
|
+
readonly timestamp: string;
|
|
4987
|
+
readonly organization: string;
|
|
4988
|
+
readonly item_margin: io.flow.v0.models.ItemMargin;
|
|
4989
|
+
}
|
|
4990
|
+
|
|
4980
4991
|
interface ItemMarginPostForm {
|
|
4981
4992
|
readonly name: string;
|
|
4982
4993
|
readonly q: string;
|
|
@@ -5009,6 +5020,14 @@ declare namespace io.flow.v0.models {
|
|
|
5009
5020
|
readonly key?: string;
|
|
5010
5021
|
}
|
|
5011
5022
|
|
|
5023
|
+
interface ItemMarginUpsertedV2 {
|
|
5024
|
+
readonly discriminator: 'item_margin_upserted_v2';
|
|
5025
|
+
readonly event_id: string;
|
|
5026
|
+
readonly timestamp: string;
|
|
5027
|
+
readonly organization: string;
|
|
5028
|
+
readonly item_margin: io.flow.v0.models.ItemMargin;
|
|
5029
|
+
}
|
|
5030
|
+
|
|
5012
5031
|
interface ItemMarginVersion {
|
|
5013
5032
|
readonly id: string;
|
|
5014
5033
|
readonly timestamp: string;
|
|
@@ -9377,6 +9396,8 @@ declare namespace io.flow.v0.unions {
|
|
|
9377
9396
|
| io.flow.v0.models.ExperiencePriceBookMappingUpserted
|
|
9378
9397
|
| io.flow.v0.models.ExperienceLogisticsSettingsUpserted
|
|
9379
9398
|
| io.flow.v0.models.ExperienceLogisticsSettingsDeleted
|
|
9399
|
+
| io.flow.v0.models.ItemMarginDeletedV2
|
|
9400
|
+
| io.flow.v0.models.ItemMarginUpsertedV2
|
|
9380
9401
|
| io.flow.v0.models.ItemMarginDeleted
|
|
9381
9402
|
| io.flow.v0.models.ItemMarginUpserted
|
|
9382
9403
|
| io.flow.v0.models.ItemSalesMarginDeleted
|
|
@@ -10240,9 +10261,11 @@ export type ItemFormOverlayForm = io.flow.v0.models.ItemFormOverlayForm;
|
|
|
10240
10261
|
export type ItemIdentifier = io.flow.v0.enums.ItemIdentifier;
|
|
10241
10262
|
export type ItemMargin = io.flow.v0.models.ItemMargin;
|
|
10242
10263
|
export type ItemMarginDeleted = io.flow.v0.models.ItemMarginDeleted;
|
|
10264
|
+
export type ItemMarginDeletedV2 = io.flow.v0.models.ItemMarginDeletedV2;
|
|
10243
10265
|
export type ItemMarginPostForm = io.flow.v0.models.ItemMarginPostForm;
|
|
10244
10266
|
export type ItemMarginPutForm = io.flow.v0.models.ItemMarginPutForm;
|
|
10245
10267
|
export type ItemMarginUpserted = io.flow.v0.models.ItemMarginUpserted;
|
|
10268
|
+
export type ItemMarginUpsertedV2 = io.flow.v0.models.ItemMarginUpsertedV2;
|
|
10246
10269
|
export type ItemMarginVersion = io.flow.v0.models.ItemMarginVersion;
|
|
10247
10270
|
export type ItemOriginDeleted = io.flow.v0.models.ItemOriginDeleted;
|
|
10248
10271
|
export type ItemOriginUpserted = io.flow.v0.models.ItemOriginUpserted;
|