@flowio/api-internal-prop-types 9.15.1 → 9.15.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/lib/api-internal.d.ts +66 -10
- package/lib/api-internal.js +1 -1
- package/package.json +2 -2
- package/src/api-internal.d.ts +66 -10
- package/src/api-internal.js +79 -4
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@flowio/api-internal-prop-types",
|
|
3
|
-
"version": "9.15.
|
|
3
|
+
"version": "9.15.2",
|
|
4
4
|
"description": "PropType validators that work with internal Flow API",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"flow",
|
|
@@ -30,5 +30,5 @@
|
|
|
30
30
|
"peerDependencies": {
|
|
31
31
|
"prop-types": "^15.7.0"
|
|
32
32
|
},
|
|
33
|
-
"gitHead": "
|
|
33
|
+
"gitHead": "de096f16a03eb9ee19da8f28f9c85a721d809abd"
|
|
34
34
|
}
|
package/src/api-internal.d.ts
CHANGED
|
@@ -12244,7 +12244,7 @@ declare namespace io.flow.checkout.protocol.v0.enums {
|
|
|
12244
12244
|
type CheckoutAddPaymentDetailsErrorCode = 'payment_failed' | 'authorization_form_not_supported' | 'authorization_invalid_amount' | 'authorization_invalid_currency' | 'authorization_amount_exceeds_balance' | 'address_street1_required';
|
|
12245
12245
|
type CheckoutCreateAuthorizationDetailsErrorCode = 'checkout_not_found' | 'authorization_details_payment_not_found';
|
|
12246
12246
|
type CheckoutCreateAuthorizationErrorCode = 'authorization_form_not_supported' | 'authorization_invalid_amount' | 'authorization_invalid_currency' | 'authorization_amount_exceeds_balance' | 'address_street1_required';
|
|
12247
|
-
type CheckoutCreateBySessionByOrderErrorCode = 'session_not_found' | 'session_experience_required' | '
|
|
12247
|
+
type CheckoutCreateBySessionByOrderErrorCode = 'session_not_found' | 'session_experience_required' | 'order_not_found' | 'country_not_supported';
|
|
12248
12248
|
type CheckoutCreateBySessionErrorCode = 'session_not_found' | 'session_experience_required' | 'country_not_supported';
|
|
12249
12249
|
type CheckoutDeleteAddressStreetErrorCode = 'address_line_number_invalid';
|
|
12250
12250
|
type CheckoutDeleteLineErrorCode = 'line_not_found';
|
|
@@ -12261,6 +12261,7 @@ declare namespace io.flow.checkout.protocol.v0.enums {
|
|
|
12261
12261
|
type CheckoutInfoOrderSummaryKeyField = 'shipping_country' | 'shipping_province' | 'shipping_postal' | 'delivery_option_id';
|
|
12262
12262
|
type CheckoutInfoPaymentDetailsKeyField = 'value' | 'currency' | 'payment_method_id';
|
|
12263
12263
|
type CheckoutInfoPaymentsFormDataKeyField = 'value' | 'currency' | 'shipping_country';
|
|
12264
|
+
type CheckoutInfoTranslationsKeyField = 'locale';
|
|
12264
12265
|
type CheckoutInitiatePaymentErrorCode = 'payment_failed' | 'authorization_form_not_supported' | 'authorization_invalid_amount' | 'authorization_invalid_currency' | 'authorization_amount_exceeds_balance' | 'address_street1_required';
|
|
12265
12266
|
type CheckoutPaymentAuthorizationParametersErrorCode = 'order_balance_not_available';
|
|
12266
12267
|
type CheckoutSetAddressCityErrorCode = 'address_city_invalid' | 'address_city_required';
|
|
@@ -12349,10 +12350,22 @@ declare namespace io.flow.checkout.protocol.v0.models {
|
|
|
12349
12350
|
readonly 'message': string;
|
|
12350
12351
|
}
|
|
12351
12352
|
|
|
12353
|
+
interface CheckoutCreateBySessionByOrderRequestForm {
|
|
12354
|
+
readonly 'discriminator': 'checkout_create_by_session_by_order_request_form';
|
|
12355
|
+
readonly 'session_id': string;
|
|
12356
|
+
readonly 'order_number': string;
|
|
12357
|
+
}
|
|
12358
|
+
|
|
12352
12359
|
interface CheckoutCreateBySessionByOrderResponseError {
|
|
12360
|
+
readonly 'discriminator': 'checkout_create_by_session_by_order_response_error';
|
|
12353
12361
|
readonly 'errors': io.flow.checkout.protocol.v0.models.CheckoutCreateBySessionByOrderError[];
|
|
12354
12362
|
}
|
|
12355
12363
|
|
|
12364
|
+
interface CheckoutCreateBySessionByOrderResponseSuccess {
|
|
12365
|
+
readonly 'discriminator': 'checkout_create_by_session_by_order_response_success';
|
|
12366
|
+
readonly 'checkout': io.flow.checkout.backend.v0.models.V2Checkout;
|
|
12367
|
+
}
|
|
12368
|
+
|
|
12356
12369
|
interface CheckoutCreateBySessionError {
|
|
12357
12370
|
readonly 'code': io.flow.checkout.protocol.v0.enums.CheckoutCreateBySessionErrorCode;
|
|
12358
12371
|
readonly 'message': string;
|
|
@@ -12570,6 +12583,17 @@ declare namespace io.flow.checkout.protocol.v0.models {
|
|
|
12570
12583
|
readonly 'data': io.flow.payment.v0.models.PublicKey;
|
|
12571
12584
|
}
|
|
12572
12585
|
|
|
12586
|
+
interface CheckoutInfoTranslations {
|
|
12587
|
+
readonly 'discriminator': 'checkout_info_translations';
|
|
12588
|
+
readonly 'key': io.flow.checkout.protocol.v0.models.CheckoutInfoTranslationsKey[];
|
|
12589
|
+
readonly 'data': any/*object*/;
|
|
12590
|
+
}
|
|
12591
|
+
|
|
12592
|
+
interface CheckoutInfoTranslationsKey {
|
|
12593
|
+
readonly 'field': io.flow.checkout.protocol.v0.enums.CheckoutInfoTranslationsKeyField;
|
|
12594
|
+
readonly 'value': string;
|
|
12595
|
+
}
|
|
12596
|
+
|
|
12573
12597
|
interface CheckoutInitiatePaymentError {
|
|
12574
12598
|
readonly 'code': io.flow.checkout.protocol.v0.enums.CheckoutInitiatePaymentErrorCode;
|
|
12575
12599
|
readonly 'message': string;
|
|
@@ -13227,13 +13251,14 @@ declare namespace io.flow.checkout.protocol.v0.models {
|
|
|
13227
13251
|
|
|
13228
13252
|
declare namespace io.flow.checkout.protocol.v0.unions {
|
|
13229
13253
|
type CheckoutCreateAuthorizationDetailsResponse = (io.flow.checkout.protocol.v0.models.CheckoutCreateAuthorizationDetailsResponseError | io.flow.checkout.protocol.v0.models.CheckoutCreateAuthorizationDetailsResponseSuccess);
|
|
13254
|
+
type CheckoutCreateBySessionByOrderResponse = (io.flow.checkout.protocol.v0.models.CheckoutCreateBySessionByOrderResponseError | io.flow.checkout.protocol.v0.models.CheckoutCreateBySessionByOrderResponseSuccess);
|
|
13230
13255
|
type CheckoutCreateBySessionResponse = (io.flow.checkout.protocol.v0.models.CheckoutCreateBySessionResponseError | io.flow.checkout.protocol.v0.models.CheckoutCreateBySessionResponseSuccess);
|
|
13231
13256
|
type CheckoutFeaturesResponse = (io.flow.checkout.protocol.v0.models.CheckoutFeaturesResponseError | io.flow.checkout.protocol.v0.models.CheckoutFeaturesResponseSuccess);
|
|
13232
13257
|
type CheckoutGetResponse = (io.flow.checkout.protocol.v0.models.CheckoutGetResponseError | io.flow.checkout.protocol.v0.models.CheckoutGetResponseSuccess);
|
|
13233
|
-
type CheckoutInfo = (io.flow.checkout.protocol.v0.models.CheckoutInfoAddressConfigurationFormData | io.flow.checkout.protocol.v0.models.CheckoutInfoAddressPredictions | io.flow.checkout.protocol.v0.models.CheckoutInfoAnalyticsOrder | io.flow.checkout.protocol.v0.models.CheckoutInfoAnalyticsSession | io.flow.checkout.protocol.v0.models.CheckoutInfoContent | io.flow.checkout.protocol.v0.models.CheckoutInfoCountriesFormData | io.flow.checkout.protocol.v0.models.CheckoutInfoDeliveriesFormData | io.flow.checkout.protocol.v0.models.CheckoutInfoHostedConfirmationPage | io.flow.checkout.protocol.v0.models.CheckoutInfoMustUseOrder | io.flow.checkout.protocol.v0.models.CheckoutInfoNationalIdNumberConfigurationFormData | io.flow.checkout.protocol.v0.models.CheckoutInfoOptins | io.flow.checkout.protocol.v0.models.CheckoutInfoOrderSummary | io.flow.checkout.protocol.v0.models.CheckoutInfoPaymentDetails | io.flow.checkout.protocol.v0.models.CheckoutInfoPaymentsFormData | io.flow.checkout.protocol.v0.models.CheckoutInfoPublicKey);
|
|
13258
|
+
type CheckoutInfo = (io.flow.checkout.protocol.v0.models.CheckoutInfoAddressConfigurationFormData | io.flow.checkout.protocol.v0.models.CheckoutInfoAddressPredictions | io.flow.checkout.protocol.v0.models.CheckoutInfoAnalyticsOrder | io.flow.checkout.protocol.v0.models.CheckoutInfoAnalyticsSession | io.flow.checkout.protocol.v0.models.CheckoutInfoContent | io.flow.checkout.protocol.v0.models.CheckoutInfoCountriesFormData | io.flow.checkout.protocol.v0.models.CheckoutInfoDeliveriesFormData | io.flow.checkout.protocol.v0.models.CheckoutInfoHostedConfirmationPage | io.flow.checkout.protocol.v0.models.CheckoutInfoMustUseOrder | io.flow.checkout.protocol.v0.models.CheckoutInfoNationalIdNumberConfigurationFormData | io.flow.checkout.protocol.v0.models.CheckoutInfoOptins | io.flow.checkout.protocol.v0.models.CheckoutInfoOrderSummary | io.flow.checkout.protocol.v0.models.CheckoutInfoPaymentDetails | io.flow.checkout.protocol.v0.models.CheckoutInfoPaymentsFormData | io.flow.checkout.protocol.v0.models.CheckoutInfoPublicKey | io.flow.checkout.protocol.v0.models.CheckoutInfoTranslations);
|
|
13234
13259
|
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.CheckoutInputSetAddressCompany | io.flow.checkout.protocol.v0.models.CheckoutInputSetAddressCountry | io.flow.checkout.protocol.v0.models.CheckoutInputSetAddressFirstName | io.flow.checkout.protocol.v0.models.CheckoutInputSetAddressLastName | 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.CheckoutInputSetNationalIdNumber | io.flow.checkout.protocol.v0.models.CheckoutInputSetOptinPrompt);
|
|
13235
|
-
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);
|
|
13236
|
-
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);
|
|
13260
|
+
type CheckoutRequestForm = (io.flow.checkout.protocol.v0.models.CheckoutCreateAuthorizationDetailsRequestForm | io.flow.checkout.protocol.v0.models.CheckoutCreateBySessionByOrderRequestForm | io.flow.checkout.protocol.v0.models.CheckoutCreateBySessionRequestForm | io.flow.checkout.protocol.v0.models.CheckoutFeaturesRequestForm | io.flow.checkout.protocol.v0.models.CheckoutGetRequestForm);
|
|
13261
|
+
type CheckoutResponse = (io.flow.checkout.protocol.v0.models.CheckoutCreateAuthorizationDetailsResponseError | io.flow.checkout.protocol.v0.models.CheckoutCreateAuthorizationDetailsResponseSuccess | io.flow.checkout.protocol.v0.models.CheckoutCreateBySessionByOrderResponseError | io.flow.checkout.protocol.v0.models.CheckoutCreateBySessionByOrderResponseSuccess | 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);
|
|
13237
13262
|
type CheckoutSequencedAddAuthorizationResponse = (io.flow.checkout.protocol.v0.models.CheckoutSequencedAddAuthorizationResponseError | io.flow.checkout.protocol.v0.models.CheckoutSequencedAddAuthorizationResponseSuccess);
|
|
13238
13263
|
type CheckoutSequencedAddGiftCardAndPromotionCodeResponse = (io.flow.checkout.protocol.v0.models.CheckoutSequencedAddGiftCardAndPromotionCodeResponseError);
|
|
13239
13264
|
type CheckoutSequencedAddGiftCardResponse = (io.flow.checkout.protocol.v0.models.CheckoutSequencedAddGiftCardResponseError);
|
|
@@ -16160,7 +16185,7 @@ declare namespace io.flow.internal.v0.enums {
|
|
|
16160
16185
|
type CheckoutAssetType = 'stylesheet' | 'javascript';
|
|
16161
16186
|
type CheckoutCreateAuthorizationDetailsErrorCode = 'checkout_not_found' | 'authorization_details_payment_not_found';
|
|
16162
16187
|
type CheckoutCreateAuthorizationErrorCode = 'authorization_form_not_supported' | 'authorization_invalid_amount' | 'authorization_invalid_currency' | 'authorization_amount_exceeds_balance' | 'address_street1_required';
|
|
16163
|
-
type CheckoutCreateBySessionByOrderErrorCode = 'session_not_found' | 'session_experience_required' | '
|
|
16188
|
+
type CheckoutCreateBySessionByOrderErrorCode = 'session_not_found' | 'session_experience_required' | 'order_not_found' | 'country_not_supported';
|
|
16164
16189
|
type CheckoutCreateBySessionErrorCode = 'session_not_found' | 'session_experience_required' | 'country_not_supported';
|
|
16165
16190
|
type CheckoutDeleteAddressStreetErrorCode = 'address_line_number_invalid';
|
|
16166
16191
|
type CheckoutDeleteLineErrorCode = 'line_not_found';
|
|
@@ -16179,6 +16204,7 @@ declare namespace io.flow.internal.v0.enums {
|
|
|
16179
16204
|
type CheckoutInfoOrderSummaryKeyField = 'shipping_country' | 'shipping_province' | 'shipping_postal' | 'delivery_option_id';
|
|
16180
16205
|
type CheckoutInfoPaymentDetailsKeyField = 'value' | 'currency' | 'payment_method_id';
|
|
16181
16206
|
type CheckoutInfoPaymentsFormDataKeyField = 'value' | 'currency' | 'shipping_country';
|
|
16207
|
+
type CheckoutInfoTranslationsKeyField = 'locale';
|
|
16182
16208
|
type CheckoutInitiatePaymentErrorCode = 'payment_failed' | 'authorization_form_not_supported' | 'authorization_invalid_amount' | 'authorization_invalid_currency' | 'authorization_amount_exceeds_balance' | 'address_street1_required';
|
|
16183
16209
|
type CheckoutLineErrorCode = 'line_quantity_invalid' | 'line_item_number_invalid' | 'line_item_number_not_available' | 'line_value_threshold_exceeded';
|
|
16184
16210
|
type CheckoutPaymentAuthorizationParametersErrorCode = 'order_balance_not_available';
|
|
@@ -17305,14 +17331,14 @@ declare namespace io.flow.internal.v0.models {
|
|
|
17305
17331
|
readonly 'carrier': io.flow.fulfillment.v0.models.CarrierReference;
|
|
17306
17332
|
readonly 'credentials': io.flow.tracking.internal.v0.unions.CarrierCredentials;
|
|
17307
17333
|
readonly 'q'?: string;
|
|
17308
|
-
readonly 'position'
|
|
17334
|
+
readonly 'position': number;
|
|
17309
17335
|
}
|
|
17310
17336
|
|
|
17311
17337
|
interface CarrierAccountForm {
|
|
17312
17338
|
readonly 'carrier_id': string;
|
|
17313
17339
|
readonly 'credentials': io.flow.tracking.internal.v0.unions.CarrierCredentials;
|
|
17314
17340
|
readonly 'q'?: string;
|
|
17315
|
-
readonly 'position'
|
|
17341
|
+
readonly 'position': number;
|
|
17316
17342
|
}
|
|
17317
17343
|
|
|
17318
17344
|
interface CarrierAccountUpserted {
|
|
@@ -17771,10 +17797,22 @@ declare namespace io.flow.internal.v0.models {
|
|
|
17771
17797
|
readonly 'message': string;
|
|
17772
17798
|
}
|
|
17773
17799
|
|
|
17800
|
+
interface CheckoutCreateBySessionByOrderRequestForm {
|
|
17801
|
+
readonly 'discriminator': 'checkout_create_by_session_by_order_request_form';
|
|
17802
|
+
readonly 'session_id': string;
|
|
17803
|
+
readonly 'order_number': string;
|
|
17804
|
+
}
|
|
17805
|
+
|
|
17774
17806
|
interface CheckoutCreateBySessionByOrderResponseError {
|
|
17807
|
+
readonly 'discriminator': 'checkout_create_by_session_by_order_response_error';
|
|
17775
17808
|
readonly 'errors': io.flow.internal.v0.models.CheckoutCreateBySessionByOrderError[];
|
|
17776
17809
|
}
|
|
17777
17810
|
|
|
17811
|
+
interface CheckoutCreateBySessionByOrderResponseSuccess {
|
|
17812
|
+
readonly 'discriminator': 'checkout_create_by_session_by_order_response_success';
|
|
17813
|
+
readonly 'checkout': io.flow.checkout.backend.v0.models.V2Checkout;
|
|
17814
|
+
}
|
|
17815
|
+
|
|
17778
17816
|
interface CheckoutCreateBySessionError {
|
|
17779
17817
|
readonly 'code': io.flow.internal.v0.enums.CheckoutCreateBySessionErrorCode;
|
|
17780
17818
|
readonly 'message': string;
|
|
@@ -18089,6 +18127,17 @@ declare namespace io.flow.internal.v0.models {
|
|
|
18089
18127
|
readonly 'data': io.flow.payment.v0.models.PublicKey;
|
|
18090
18128
|
}
|
|
18091
18129
|
|
|
18130
|
+
interface CheckoutInfoTranslations {
|
|
18131
|
+
readonly 'discriminator': 'checkout_info_translations';
|
|
18132
|
+
readonly 'key': io.flow.internal.v0.models.CheckoutInfoTranslationsKey[];
|
|
18133
|
+
readonly 'data': any/*object*/;
|
|
18134
|
+
}
|
|
18135
|
+
|
|
18136
|
+
interface CheckoutInfoTranslationsKey {
|
|
18137
|
+
readonly 'field': io.flow.internal.v0.enums.CheckoutInfoTranslationsKeyField;
|
|
18138
|
+
readonly 'value': string;
|
|
18139
|
+
}
|
|
18140
|
+
|
|
18092
18141
|
interface CheckoutInitiateDirectPaymentForm {
|
|
18093
18142
|
readonly 'discriminator': 'initiate_direct_payment_form';
|
|
18094
18143
|
readonly 'token': string;
|
|
@@ -25024,12 +25073,13 @@ declare namespace io.flow.internal.v0.unions {
|
|
|
25024
25073
|
type CheckoutAnalyticsPayment = (io.flow.internal.v0.models.CheckoutAnalyticsPaymentCard | io.flow.internal.v0.models.CheckoutAnalyticsPaymentGiftCard | io.flow.internal.v0.models.CheckoutAnalyticsPaymentOnline);
|
|
25025
25074
|
type CheckoutConfirmationDetails = (io.flow.internal.v0.models.CheckoutDirectDebit);
|
|
25026
25075
|
type CheckoutCreateAuthorizationDetailsResponse = (io.flow.internal.v0.models.CheckoutCreateAuthorizationDetailsResponseError | io.flow.internal.v0.models.CheckoutCreateAuthorizationDetailsResponseSuccess);
|
|
25076
|
+
type CheckoutCreateBySessionByOrderResponse = (io.flow.internal.v0.models.CheckoutCreateBySessionByOrderResponseError | io.flow.internal.v0.models.CheckoutCreateBySessionByOrderResponseSuccess);
|
|
25027
25077
|
type CheckoutCreateBySessionResponse = (io.flow.internal.v0.models.CheckoutCreateBySessionResponseError | io.flow.internal.v0.models.CheckoutCreateBySessionResponseSuccess);
|
|
25028
25078
|
type CheckoutDeliveryWindow = (io.flow.internal.v0.models.CheckoutDeliveryWindowStatic | io.flow.internal.v0.models.CheckoutDeliveryWindowEstimate);
|
|
25029
25079
|
type CheckoutFeaturesResponse = (io.flow.internal.v0.models.CheckoutFeaturesResponseError | io.flow.internal.v0.models.CheckoutFeaturesResponseSuccess);
|
|
25030
25080
|
type CheckoutForm = (io.flow.internal.v0.models.CheckoutOrderForm | io.flow.internal.v0.models.CheckoutOrderNumberForm);
|
|
25031
25081
|
type CheckoutGetResponse = (io.flow.internal.v0.models.CheckoutGetResponseError | io.flow.internal.v0.models.CheckoutGetResponseSuccess);
|
|
25032
|
-
type CheckoutInfo = (io.flow.internal.v0.models.CheckoutInfoAddressConfigurationFormData | io.flow.internal.v0.models.CheckoutInfoAddressPredictions | io.flow.internal.v0.models.CheckoutInfoAnalyticsOrder | io.flow.internal.v0.models.CheckoutInfoAnalyticsSession | io.flow.internal.v0.models.CheckoutInfoContent | io.flow.internal.v0.models.CheckoutInfoCountriesFormData | io.flow.internal.v0.models.CheckoutInfoDeliveriesFormData | io.flow.internal.v0.models.CheckoutInfoHostedConfirmationPage | io.flow.internal.v0.models.CheckoutInfoMustUseOrder | io.flow.internal.v0.models.CheckoutInfoNationalIdNumberConfigurationFormData | io.flow.internal.v0.models.CheckoutInfoOptins | io.flow.internal.v0.models.CheckoutInfoOrderSummary | io.flow.internal.v0.models.CheckoutInfoPaymentDetails | io.flow.internal.v0.models.CheckoutInfoPaymentsFormData | io.flow.internal.v0.models.CheckoutInfoPublicKey);
|
|
25082
|
+
type CheckoutInfo = (io.flow.internal.v0.models.CheckoutInfoAddressConfigurationFormData | io.flow.internal.v0.models.CheckoutInfoAddressPredictions | io.flow.internal.v0.models.CheckoutInfoAnalyticsOrder | io.flow.internal.v0.models.CheckoutInfoAnalyticsSession | io.flow.internal.v0.models.CheckoutInfoContent | io.flow.internal.v0.models.CheckoutInfoCountriesFormData | io.flow.internal.v0.models.CheckoutInfoDeliveriesFormData | io.flow.internal.v0.models.CheckoutInfoHostedConfirmationPage | io.flow.internal.v0.models.CheckoutInfoMustUseOrder | io.flow.internal.v0.models.CheckoutInfoNationalIdNumberConfigurationFormData | io.flow.internal.v0.models.CheckoutInfoOptins | io.flow.internal.v0.models.CheckoutInfoOrderSummary | io.flow.internal.v0.models.CheckoutInfoPaymentDetails | io.flow.internal.v0.models.CheckoutInfoPaymentsFormData | io.flow.internal.v0.models.CheckoutInfoPublicKey | io.flow.internal.v0.models.CheckoutInfoTranslations);
|
|
25033
25083
|
type CheckoutInitiatePaymentForm = (io.flow.internal.v0.models.CheckoutInitiateRedirectPaymentForm | io.flow.internal.v0.models.CheckoutInitiateInlinePaymentForm | io.flow.internal.v0.models.CheckoutInitiateDirectPaymentForm);
|
|
25034
25084
|
type CheckoutInput = (io.flow.internal.v0.models.CheckoutInputAddAttributes | io.flow.internal.v0.models.CheckoutInputDeleteAddressStreet | io.flow.internal.v0.models.CheckoutInputSetAddressCity | io.flow.internal.v0.models.CheckoutInputSetAddressCompany | io.flow.internal.v0.models.CheckoutInputSetAddressCountry | io.flow.internal.v0.models.CheckoutInputSetAddressFirstName | io.flow.internal.v0.models.CheckoutInputSetAddressLastName | io.flow.internal.v0.models.CheckoutInputSetAddressName | io.flow.internal.v0.models.CheckoutInputSetAddressPostal | io.flow.internal.v0.models.CheckoutInputSetAddressProvince | io.flow.internal.v0.models.CheckoutInputSetAddressStreet | io.flow.internal.v0.models.CheckoutInputSetAttributes | io.flow.internal.v0.models.CheckoutInputSetContactEmail | io.flow.internal.v0.models.CheckoutInputSetContactPhone | io.flow.internal.v0.models.CheckoutInputSetCurrency | io.flow.internal.v0.models.CheckoutInputSetDeliveryOption | io.flow.internal.v0.models.CheckoutInputSetLanguage | io.flow.internal.v0.models.CheckoutInputSetLocale | io.flow.internal.v0.models.CheckoutInputSetNationalIdNumber | io.flow.internal.v0.models.CheckoutInputSetOptinPrompt);
|
|
25035
25085
|
type CheckoutOrder = (io.flow.internal.v0.models.CheckoutOpenOrder | io.flow.internal.v0.models.CheckoutSubmittedOrder);
|
|
@@ -25040,8 +25090,8 @@ declare namespace io.flow.internal.v0.unions {
|
|
|
25040
25090
|
type CheckoutPaymentActionRequirement = (io.flow.internal.v0.models.CheckoutRedirectAuthorizationRequirement | io.flow.internal.v0.models.CheckoutInlineAuthorizationRequirement | io.flow.internal.v0.models.CheckoutDirectAuthorizationRequirement);
|
|
25041
25091
|
type CheckoutPaymentDetailsForm = (io.flow.internal.v0.models.CheckoutPaypalAuthorizationPayload | io.flow.internal.v0.models.CheckoutGooglePayAuthorizationPayload | io.flow.internal.v0.models.CheckoutCreditPaymentPayload);
|
|
25042
25092
|
type CheckoutPrice = (io.flow.internal.v0.models.CheckoutPriceFree | io.flow.internal.v0.models.CheckoutPriceNotYetKnown | io.flow.internal.v0.models.CheckoutPriceIncluded | io.flow.internal.v0.models.CheckoutPriceStandard | io.flow.internal.v0.models.CheckoutPriceEstimated);
|
|
25043
|
-
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);
|
|
25044
|
-
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);
|
|
25093
|
+
type CheckoutRequestForm = (io.flow.internal.v0.models.CheckoutCreateAuthorizationDetailsRequestForm | io.flow.internal.v0.models.CheckoutCreateBySessionByOrderRequestForm | io.flow.internal.v0.models.CheckoutCreateBySessionRequestForm | io.flow.internal.v0.models.CheckoutFeaturesRequestForm | io.flow.internal.v0.models.CheckoutGetRequestForm);
|
|
25094
|
+
type CheckoutResponse = (io.flow.internal.v0.models.CheckoutCreateAuthorizationDetailsResponseError | io.flow.internal.v0.models.CheckoutCreateAuthorizationDetailsResponseSuccess | io.flow.internal.v0.models.CheckoutCreateBySessionByOrderResponseError | io.flow.internal.v0.models.CheckoutCreateBySessionByOrderResponseSuccess | io.flow.internal.v0.models.CheckoutCreateBySessionResponseError | io.flow.internal.v0.models.CheckoutCreateBySessionResponseSuccess | io.flow.internal.v0.models.CheckoutFeaturesResponseError | io.flow.internal.v0.models.CheckoutFeaturesResponseSuccess | io.flow.internal.v0.models.CheckoutGetResponseError | io.flow.internal.v0.models.CheckoutGetResponseSuccess);
|
|
25045
25095
|
type CheckoutSequencedAddAuthorizationResponse = (io.flow.internal.v0.models.CheckoutSequencedAddAuthorizationResponseError | io.flow.internal.v0.models.CheckoutSequencedAddAuthorizationResponseSuccess);
|
|
25046
25096
|
type CheckoutSequencedAddGiftCardAndPromotionCodeResponse = (io.flow.internal.v0.models.CheckoutSequencedAddGiftCardAndPromotionCodeResponseError);
|
|
25047
25097
|
type CheckoutSequencedAddGiftCardResponse = (io.flow.internal.v0.models.CheckoutSequencedAddGiftCardResponseError);
|
|
@@ -25188,6 +25238,7 @@ export const checkoutInfoNationalIdNumberConfigurationFormDataKeyField: PropType
|
|
|
25188
25238
|
export const checkoutInfoOrderSummaryKeyField: PropTypes.Requireable<io.flow.internal.v0.enums.CheckoutInfoOrderSummaryKeyField>;
|
|
25189
25239
|
export const checkoutInfoPaymentDetailsKeyField: PropTypes.Requireable<io.flow.internal.v0.enums.CheckoutInfoPaymentDetailsKeyField>;
|
|
25190
25240
|
export const checkoutInfoPaymentsFormDataKeyField: PropTypes.Requireable<io.flow.internal.v0.enums.CheckoutInfoPaymentsFormDataKeyField>;
|
|
25241
|
+
export const checkoutInfoTranslationsKeyField: PropTypes.Requireable<io.flow.internal.v0.enums.CheckoutInfoTranslationsKeyField>;
|
|
25191
25242
|
export const checkoutInitiatePaymentErrorCode: PropTypes.Requireable<io.flow.internal.v0.enums.CheckoutInitiatePaymentErrorCode>;
|
|
25192
25243
|
export const checkoutLineErrorCode: PropTypes.Requireable<io.flow.internal.v0.enums.CheckoutLineErrorCode>;
|
|
25193
25244
|
export const checkoutPaymentAuthorizationParametersErrorCode: PropTypes.Requireable<io.flow.internal.v0.enums.CheckoutPaymentAuthorizationParametersErrorCode>;
|
|
@@ -25539,7 +25590,9 @@ export const checkoutCreateAuthorizationDetailsResponseError: PropTypes.Requirea
|
|
|
25539
25590
|
export const checkoutCreateAuthorizationDetailsResponseSuccess: PropTypes.Requireable<io.flow.internal.v0.models.CheckoutCreateAuthorizationDetailsResponseSuccess>;
|
|
25540
25591
|
export const checkoutCreateAuthorizationError: PropTypes.Requireable<io.flow.internal.v0.models.CheckoutCreateAuthorizationError>;
|
|
25541
25592
|
export const checkoutCreateBySessionByOrderError: PropTypes.Requireable<io.flow.internal.v0.models.CheckoutCreateBySessionByOrderError>;
|
|
25593
|
+
export const checkoutCreateBySessionByOrderRequestForm: PropTypes.Requireable<io.flow.internal.v0.models.CheckoutCreateBySessionByOrderRequestForm>;
|
|
25542
25594
|
export const checkoutCreateBySessionByOrderResponseError: PropTypes.Requireable<io.flow.internal.v0.models.CheckoutCreateBySessionByOrderResponseError>;
|
|
25595
|
+
export const checkoutCreateBySessionByOrderResponseSuccess: PropTypes.Requireable<io.flow.internal.v0.models.CheckoutCreateBySessionByOrderResponseSuccess>;
|
|
25543
25596
|
export const checkoutCreateBySessionError: PropTypes.Requireable<io.flow.internal.v0.models.CheckoutCreateBySessionError>;
|
|
25544
25597
|
export const checkoutCreateBySessionRequestForm: PropTypes.Requireable<io.flow.internal.v0.models.CheckoutCreateBySessionRequestForm>;
|
|
25545
25598
|
export const checkoutCreateBySessionResponseError: PropTypes.Requireable<io.flow.internal.v0.models.CheckoutCreateBySessionResponseError>;
|
|
@@ -25599,6 +25652,8 @@ export const checkoutInfoPaymentDetailsKey: PropTypes.Requireable<io.flow.intern
|
|
|
25599
25652
|
export const checkoutInfoPaymentsFormData: PropTypes.Requireable<io.flow.internal.v0.models.CheckoutInfoPaymentsFormData>;
|
|
25600
25653
|
export const checkoutInfoPaymentsFormDataKey: PropTypes.Requireable<io.flow.internal.v0.models.CheckoutInfoPaymentsFormDataKey>;
|
|
25601
25654
|
export const checkoutInfoPublicKey: PropTypes.Requireable<io.flow.internal.v0.models.CheckoutInfoPublicKey>;
|
|
25655
|
+
export const checkoutInfoTranslations: PropTypes.Requireable<io.flow.internal.v0.models.CheckoutInfoTranslations>;
|
|
25656
|
+
export const checkoutInfoTranslationsKey: PropTypes.Requireable<io.flow.internal.v0.models.CheckoutInfoTranslationsKey>;
|
|
25602
25657
|
export const checkoutInitiateDirectPaymentForm: PropTypes.Requireable<io.flow.internal.v0.models.CheckoutInitiateDirectPaymentForm>;
|
|
25603
25658
|
export const checkoutInitiateInlinePaymentForm: PropTypes.Requireable<io.flow.internal.v0.models.CheckoutInitiateInlinePaymentForm>;
|
|
25604
25659
|
export const checkoutInitiatePaymentError: PropTypes.Requireable<io.flow.internal.v0.models.CheckoutInitiatePaymentError>;
|
|
@@ -26559,6 +26614,7 @@ export const checkoutAnalyticsOrder: PropTypes.Requireable<io.flow.internal.v0.u
|
|
|
26559
26614
|
export const checkoutAnalyticsPayment: PropTypes.Requireable<io.flow.internal.v0.unions.CheckoutAnalyticsPayment>;
|
|
26560
26615
|
export const checkoutConfirmationDetails: PropTypes.Requireable<io.flow.internal.v0.unions.CheckoutConfirmationDetails>;
|
|
26561
26616
|
export const checkoutCreateAuthorizationDetailsResponse: PropTypes.Requireable<io.flow.internal.v0.unions.CheckoutCreateAuthorizationDetailsResponse>;
|
|
26617
|
+
export const checkoutCreateBySessionByOrderResponse: PropTypes.Requireable<io.flow.internal.v0.unions.CheckoutCreateBySessionByOrderResponse>;
|
|
26562
26618
|
export const checkoutCreateBySessionResponse: PropTypes.Requireable<io.flow.internal.v0.unions.CheckoutCreateBySessionResponse>;
|
|
26563
26619
|
export const checkoutDeliveryWindow: PropTypes.Requireable<io.flow.internal.v0.unions.CheckoutDeliveryWindow>;
|
|
26564
26620
|
export const checkoutFeaturesResponse: PropTypes.Requireable<io.flow.internal.v0.unions.CheckoutFeaturesResponse>;
|
package/src/api-internal.js
CHANGED
|
@@ -1168,6 +1168,12 @@ T['io.flow.checkout.protocol.v0.models.checkout_create_by_session_request_form']
|
|
|
1168
1168
|
session_id: PropTypes.string.isRequired,
|
|
1169
1169
|
});
|
|
1170
1170
|
|
|
1171
|
+
T['io.flow.checkout.protocol.v0.models.checkout_create_by_session_by_order_request_form'] = PropTypes.exact({
|
|
1172
|
+
discriminator: PropTypes.oneOf(['checkout_create_by_session_by_order_request_form']).isRequired,
|
|
1173
|
+
session_id: PropTypes.string.isRequired,
|
|
1174
|
+
order_number: PropTypes.string.isRequired,
|
|
1175
|
+
});
|
|
1176
|
+
|
|
1171
1177
|
T['io.flow.checkout.protocol.v0.models.checkout_create_authorization_details_request_form'] = PropTypes.exact({
|
|
1172
1178
|
discriminator: PropTypes.oneOf(['checkout_create_authorization_details_request_form']).isRequired,
|
|
1173
1179
|
checkout_id: PropTypes.string.isRequired,
|
|
@@ -1177,6 +1183,7 @@ T['io.flow.checkout.protocol.v0.models.checkout_create_authorization_details_req
|
|
|
1177
1183
|
|
|
1178
1184
|
T['io.flow.checkout.protocol.v0.unions.checkout_request_form'] = PropTypes.oneOfType([
|
|
1179
1185
|
T['io.flow.checkout.protocol.v0.models.checkout_create_authorization_details_request_form'],
|
|
1186
|
+
T['io.flow.checkout.protocol.v0.models.checkout_create_by_session_by_order_request_form'],
|
|
1180
1187
|
T['io.flow.checkout.protocol.v0.models.checkout_create_by_session_request_form'],
|
|
1181
1188
|
T['io.flow.checkout.protocol.v0.models.checkout_features_request_form'],
|
|
1182
1189
|
T['io.flow.checkout.protocol.v0.models.checkout_get_request_form'],
|
|
@@ -1446,6 +1453,19 @@ T['io.flow.checkout.protocol.v0.models.checkout_initiate_payment_error'] = PropT
|
|
|
1446
1453
|
message: PropTypes.string.isRequired,
|
|
1447
1454
|
});
|
|
1448
1455
|
|
|
1456
|
+
T['io.flow.checkout.protocol.v0.enums.checkout_info_translations_key_field'] = PropTypes.oneOf(['locale']);
|
|
1457
|
+
|
|
1458
|
+
T['io.flow.checkout.protocol.v0.models.checkout_info_translations_key'] = PropTypes.exact({
|
|
1459
|
+
field: T['io.flow.checkout.protocol.v0.enums.checkout_info_translations_key_field'].isRequired,
|
|
1460
|
+
value: PropTypes.string.isRequired,
|
|
1461
|
+
});
|
|
1462
|
+
|
|
1463
|
+
T['io.flow.checkout.protocol.v0.models.checkout_info_translations'] = PropTypes.exact({
|
|
1464
|
+
discriminator: PropTypes.oneOf(['checkout_info_translations']).isRequired,
|
|
1465
|
+
key: PropTypes.arrayOf(T['io.flow.checkout.protocol.v0.models.checkout_info_translations_key']).isRequired,
|
|
1466
|
+
data: PropTypes.object.isRequired,
|
|
1467
|
+
});
|
|
1468
|
+
|
|
1449
1469
|
T['io.flow.checkout.protocol.v0.enums.checkout_info_payments_form_data_key_field'] = PropTypes.oneOf(['value', 'currency', 'shipping_country']);
|
|
1450
1470
|
|
|
1451
1471
|
T['io.flow.checkout.protocol.v0.models.checkout_info_payments_form_data_key'] = PropTypes.exact({
|
|
@@ -1639,8 +1659,8 @@ T['io.flow.checkout.protocol.v0.enums.checkout_create_by_session_error_code'] =
|
|
|
1639
1659
|
T['io.flow.checkout.protocol.v0.enums.checkout_create_by_session_by_order_error_code'] = PropTypes.oneOf([
|
|
1640
1660
|
'session_not_found',
|
|
1641
1661
|
'session_experience_required',
|
|
1642
|
-
'country_not_supported',
|
|
1643
1662
|
'order_not_found',
|
|
1663
|
+
'country_not_supported',
|
|
1644
1664
|
]);
|
|
1645
1665
|
|
|
1646
1666
|
T['io.flow.checkout.protocol.v0.enums.checkout_create_authorization_details_error_code'] = PropTypes.oneOf(['checkout_not_found', 'authorization_details_payment_not_found']);
|
|
@@ -8519,6 +8539,8 @@ T['io.flow.checkout.protocol.v0.models.checkout_create_by_session_by_order_error
|
|
|
8519
8539
|
});
|
|
8520
8540
|
|
|
8521
8541
|
T['io.flow.checkout.protocol.v0.models.checkout_create_by_session_by_order_response_error'] = PropTypes.exact({
|
|
8542
|
+
discriminator: PropTypes.oneOf(['checkout_create_by_session_by_order_response_error']).isRequired,
|
|
8543
|
+
|
|
8522
8544
|
errors: PropTypes.arrayOf(
|
|
8523
8545
|
T['io.flow.checkout.protocol.v0.models.checkout_create_by_session_by_order_error'],
|
|
8524
8546
|
).isRequired,
|
|
@@ -9953,6 +9975,12 @@ T['io.flow.internal.v0.models.checkout_create_by_session_request_form'] = PropTy
|
|
|
9953
9975
|
session_id: PropTypes.string.isRequired,
|
|
9954
9976
|
});
|
|
9955
9977
|
|
|
9978
|
+
T['io.flow.internal.v0.models.checkout_create_by_session_by_order_request_form'] = PropTypes.exact({
|
|
9979
|
+
discriminator: PropTypes.oneOf(['checkout_create_by_session_by_order_request_form']).isRequired,
|
|
9980
|
+
session_id: PropTypes.string.isRequired,
|
|
9981
|
+
order_number: PropTypes.string.isRequired,
|
|
9982
|
+
});
|
|
9983
|
+
|
|
9956
9984
|
T['io.flow.internal.v0.models.checkout_create_authorization_details_request_form'] = PropTypes.exact({
|
|
9957
9985
|
discriminator: PropTypes.oneOf(['checkout_create_authorization_details_request_form']).isRequired,
|
|
9958
9986
|
checkout_id: PropTypes.string.isRequired,
|
|
@@ -9962,6 +9990,7 @@ T['io.flow.internal.v0.models.checkout_create_authorization_details_request_form
|
|
|
9962
9990
|
|
|
9963
9991
|
T['io.flow.internal.v0.unions.checkout_request_form'] = PropTypes.oneOfType([
|
|
9964
9992
|
T['io.flow.internal.v0.models.checkout_create_authorization_details_request_form'],
|
|
9993
|
+
T['io.flow.internal.v0.models.checkout_create_by_session_by_order_request_form'],
|
|
9965
9994
|
T['io.flow.internal.v0.models.checkout_create_by_session_request_form'],
|
|
9966
9995
|
T['io.flow.internal.v0.models.checkout_features_request_form'],
|
|
9967
9996
|
T['io.flow.internal.v0.models.checkout_get_request_form'],
|
|
@@ -16499,6 +16528,19 @@ T['io.flow.internal.v0.unions.checkout_initiate_payment_form'] = PropTypes.oneOf
|
|
|
16499
16528
|
T['io.flow.internal.v0.models.checkout_initiate_direct_payment_form'],
|
|
16500
16529
|
]);
|
|
16501
16530
|
|
|
16531
|
+
T['io.flow.internal.v0.enums.checkout_info_translations_key_field'] = PropTypes.oneOf(['locale']);
|
|
16532
|
+
|
|
16533
|
+
T['io.flow.internal.v0.models.checkout_info_translations_key'] = PropTypes.exact({
|
|
16534
|
+
field: T['io.flow.internal.v0.enums.checkout_info_translations_key_field'].isRequired,
|
|
16535
|
+
value: PropTypes.string.isRequired,
|
|
16536
|
+
});
|
|
16537
|
+
|
|
16538
|
+
T['io.flow.internal.v0.models.checkout_info_translations'] = PropTypes.exact({
|
|
16539
|
+
discriminator: PropTypes.oneOf(['checkout_info_translations']).isRequired,
|
|
16540
|
+
key: PropTypes.arrayOf(T['io.flow.internal.v0.models.checkout_info_translations_key']).isRequired,
|
|
16541
|
+
data: PropTypes.object.isRequired,
|
|
16542
|
+
});
|
|
16543
|
+
|
|
16502
16544
|
T['io.flow.payment.v0.models.public_key'] = PropTypes.exact({
|
|
16503
16545
|
id: PropTypes.string.isRequired,
|
|
16504
16546
|
});
|
|
@@ -17896,8 +17938,8 @@ T['io.flow.internal.v0.models.checkout_create_by_session_response_error'] = Prop
|
|
|
17896
17938
|
T['io.flow.internal.v0.enums.checkout_create_by_session_by_order_error_code'] = PropTypes.oneOf([
|
|
17897
17939
|
'session_not_found',
|
|
17898
17940
|
'session_experience_required',
|
|
17899
|
-
'country_not_supported',
|
|
17900
17941
|
'order_not_found',
|
|
17942
|
+
'country_not_supported',
|
|
17901
17943
|
]);
|
|
17902
17944
|
|
|
17903
17945
|
T['io.flow.internal.v0.models.checkout_create_by_session_by_order_error'] = PropTypes.exact({
|
|
@@ -17906,6 +17948,7 @@ T['io.flow.internal.v0.models.checkout_create_by_session_by_order_error'] = Prop
|
|
|
17906
17948
|
});
|
|
17907
17949
|
|
|
17908
17950
|
T['io.flow.internal.v0.models.checkout_create_by_session_by_order_response_error'] = PropTypes.exact({
|
|
17951
|
+
discriminator: PropTypes.oneOf(['checkout_create_by_session_by_order_response_error']).isRequired,
|
|
17909
17952
|
errors: PropTypes.arrayOf(T['io.flow.internal.v0.models.checkout_create_by_session_by_order_error']).isRequired,
|
|
17910
17953
|
});
|
|
17911
17954
|
|
|
@@ -18875,6 +18918,16 @@ T['io.flow.checkout.protocol.v0.unions.checkout_create_by_session_response'] = P
|
|
|
18875
18918
|
T['io.flow.checkout.protocol.v0.models.checkout_create_by_session_response_success'],
|
|
18876
18919
|
]);
|
|
18877
18920
|
|
|
18921
|
+
T['io.flow.checkout.protocol.v0.models.checkout_create_by_session_by_order_response_success'] = PropTypes.exact({
|
|
18922
|
+
discriminator: PropTypes.oneOf(['checkout_create_by_session_by_order_response_success']).isRequired,
|
|
18923
|
+
checkout: T['io.flow.checkout.backend.v0.models.v2_checkout'].isRequired,
|
|
18924
|
+
});
|
|
18925
|
+
|
|
18926
|
+
T['io.flow.checkout.protocol.v0.unions.checkout_create_by_session_by_order_response'] = PropTypes.oneOfType([
|
|
18927
|
+
T['io.flow.checkout.protocol.v0.models.checkout_create_by_session_by_order_response_error'],
|
|
18928
|
+
T['io.flow.checkout.protocol.v0.models.checkout_create_by_session_by_order_response_success'],
|
|
18929
|
+
]);
|
|
18930
|
+
|
|
18878
18931
|
T['io.flow.internal.v0.models.checkout_create_by_session_response_success'] = PropTypes.exact({
|
|
18879
18932
|
discriminator: PropTypes.oneOf(['checkout_create_by_session_response_success']).isRequired,
|
|
18880
18933
|
checkout: T['io.flow.checkout.backend.v0.models.v2_checkout'].isRequired,
|
|
@@ -18885,6 +18938,16 @@ T['io.flow.internal.v0.unions.checkout_create_by_session_response'] = PropTypes.
|
|
|
18885
18938
|
T['io.flow.internal.v0.models.checkout_create_by_session_response_success'],
|
|
18886
18939
|
]);
|
|
18887
18940
|
|
|
18941
|
+
T['io.flow.internal.v0.models.checkout_create_by_session_by_order_response_success'] = PropTypes.exact({
|
|
18942
|
+
discriminator: PropTypes.oneOf(['checkout_create_by_session_by_order_response_success']).isRequired,
|
|
18943
|
+
checkout: T['io.flow.checkout.backend.v0.models.v2_checkout'].isRequired,
|
|
18944
|
+
});
|
|
18945
|
+
|
|
18946
|
+
T['io.flow.internal.v0.unions.checkout_create_by_session_by_order_response'] = PropTypes.oneOfType([
|
|
18947
|
+
T['io.flow.internal.v0.models.checkout_create_by_session_by_order_response_error'],
|
|
18948
|
+
T['io.flow.internal.v0.models.checkout_create_by_session_by_order_response_success'],
|
|
18949
|
+
]);
|
|
18950
|
+
|
|
18888
18951
|
T['io.flow.internal.v0.models.checkout_analytics_session_visit'] = PropTypes.exact({
|
|
18889
18952
|
id: PropTypes.string.isRequired,
|
|
18890
18953
|
});
|
|
@@ -20854,7 +20917,7 @@ T['io.flow.internal.v0.models.carrier_account_form'] = PropTypes.exact({
|
|
|
20854
20917
|
carrier_id: PropTypes.string.isRequired,
|
|
20855
20918
|
credentials: T['io.flow.tracking.internal.v0.unions.carrier_credentials'].isRequired,
|
|
20856
20919
|
q: PropTypes.string,
|
|
20857
|
-
position: PropTypes.number,
|
|
20920
|
+
position: PropTypes.number.isRequired,
|
|
20858
20921
|
});
|
|
20859
20922
|
|
|
20860
20923
|
T['io.flow.fulfillment.v0.models.carrier_reference'] = PropTypes.exact({
|
|
@@ -20897,7 +20960,7 @@ T['io.flow.internal.v0.models.carrier_account'] = PropTypes.exact({
|
|
|
20897
20960
|
carrier: T['io.flow.fulfillment.v0.models.carrier_reference'].isRequired,
|
|
20898
20961
|
credentials: T['io.flow.tracking.internal.v0.unions.carrier_credentials'].isRequired,
|
|
20899
20962
|
q: PropTypes.string,
|
|
20900
|
-
position: PropTypes.number,
|
|
20963
|
+
position: PropTypes.number.isRequired,
|
|
20901
20964
|
});
|
|
20902
20965
|
|
|
20903
20966
|
T['io.flow.internal.v0.models.browser_bundle_payment_method_form'] = PropTypes.exact({
|
|
@@ -24732,6 +24795,7 @@ T['io.flow.checkout.protocol.v0.unions.checkout_info'] = PropTypes.oneOfType([
|
|
|
24732
24795
|
T['io.flow.checkout.protocol.v0.models.checkout_info_payment_details'],
|
|
24733
24796
|
T['io.flow.checkout.protocol.v0.models.checkout_info_payments_form_data'],
|
|
24734
24797
|
T['io.flow.checkout.protocol.v0.models.checkout_info_public_key'],
|
|
24798
|
+
T['io.flow.checkout.protocol.v0.models.checkout_info_translations'],
|
|
24735
24799
|
]);
|
|
24736
24800
|
|
|
24737
24801
|
T['io.flow.checkout.protocol.v0.models.checkout_get_response_success'] = PropTypes.exact({
|
|
@@ -24745,6 +24809,8 @@ T['io.flow.checkout.protocol.v0.models.checkout_get_response_success'] = PropTyp
|
|
|
24745
24809
|
T['io.flow.checkout.protocol.v0.unions.checkout_response'] = PropTypes.oneOfType([
|
|
24746
24810
|
T['io.flow.checkout.protocol.v0.models.checkout_create_authorization_details_response_error'],
|
|
24747
24811
|
T['io.flow.checkout.protocol.v0.models.checkout_create_authorization_details_response_success'],
|
|
24812
|
+
T['io.flow.checkout.protocol.v0.models.checkout_create_by_session_by_order_response_error'],
|
|
24813
|
+
T['io.flow.checkout.protocol.v0.models.checkout_create_by_session_by_order_response_success'],
|
|
24748
24814
|
T['io.flow.checkout.protocol.v0.models.checkout_create_by_session_response_error'],
|
|
24749
24815
|
T['io.flow.checkout.protocol.v0.models.checkout_create_by_session_response_success'],
|
|
24750
24816
|
T['io.flow.checkout.protocol.v0.models.checkout_features_response_error'],
|
|
@@ -24774,6 +24840,8 @@ T['io.flow.internal.v0.models.checkout_get_response_success'] = PropTypes.exact(
|
|
|
24774
24840
|
T['io.flow.internal.v0.unions.checkout_response'] = PropTypes.oneOfType([
|
|
24775
24841
|
T['io.flow.internal.v0.models.checkout_create_authorization_details_response_error'],
|
|
24776
24842
|
T['io.flow.internal.v0.models.checkout_create_authorization_details_response_success'],
|
|
24843
|
+
T['io.flow.internal.v0.models.checkout_create_by_session_by_order_response_error'],
|
|
24844
|
+
T['io.flow.internal.v0.models.checkout_create_by_session_by_order_response_success'],
|
|
24777
24845
|
T['io.flow.internal.v0.models.checkout_create_by_session_response_error'],
|
|
24778
24846
|
T['io.flow.internal.v0.models.checkout_create_by_session_response_success'],
|
|
24779
24847
|
T['io.flow.internal.v0.models.checkout_features_response_error'],
|
|
@@ -24809,6 +24877,7 @@ T['io.flow.internal.v0.unions.checkout_info'] = PropTypes.oneOfType([
|
|
|
24809
24877
|
T['io.flow.internal.v0.models.checkout_info_payment_details'],
|
|
24810
24878
|
T['io.flow.internal.v0.models.checkout_info_payments_form_data'],
|
|
24811
24879
|
T['io.flow.internal.v0.models.checkout_info_public_key'],
|
|
24880
|
+
T['io.flow.internal.v0.models.checkout_info_translations'],
|
|
24812
24881
|
]);
|
|
24813
24882
|
|
|
24814
24883
|
T['io.flow.experience.v0.models.order_summary_line_item'] = PropTypes.exact({
|
|
@@ -29114,7 +29183,10 @@ export const checkoutCreateAuthorizationError = T['io.flow.internal.v0.models.ch
|
|
|
29114
29183
|
export const checkoutCreateAuthorizationErrorCode = T['io.flow.internal.v0.enums.checkout_create_authorization_error_code'];
|
|
29115
29184
|
export const checkoutCreateBySessionByOrderError = T['io.flow.internal.v0.models.checkout_create_by_session_by_order_error'];
|
|
29116
29185
|
export const checkoutCreateBySessionByOrderErrorCode = T['io.flow.internal.v0.enums.checkout_create_by_session_by_order_error_code'];
|
|
29186
|
+
export const checkoutCreateBySessionByOrderRequestForm = T['io.flow.internal.v0.models.checkout_create_by_session_by_order_request_form'];
|
|
29187
|
+
export const checkoutCreateBySessionByOrderResponse = T['io.flow.internal.v0.unions.checkout_create_by_session_by_order_response'];
|
|
29117
29188
|
export const checkoutCreateBySessionByOrderResponseError = T['io.flow.internal.v0.models.checkout_create_by_session_by_order_response_error'];
|
|
29189
|
+
export const checkoutCreateBySessionByOrderResponseSuccess = T['io.flow.internal.v0.models.checkout_create_by_session_by_order_response_success'];
|
|
29118
29190
|
export const checkoutCreateBySessionError = T['io.flow.internal.v0.models.checkout_create_by_session_error'];
|
|
29119
29191
|
export const checkoutCreateBySessionErrorCode = T['io.flow.internal.v0.enums.checkout_create_by_session_error_code'];
|
|
29120
29192
|
export const checkoutCreateBySessionRequestForm = T['io.flow.internal.v0.models.checkout_create_by_session_request_form'];
|
|
@@ -29198,6 +29270,9 @@ export const checkoutInfoPaymentsFormData = T['io.flow.internal.v0.models.checko
|
|
|
29198
29270
|
export const checkoutInfoPaymentsFormDataKey = T['io.flow.internal.v0.models.checkout_info_payments_form_data_key'];
|
|
29199
29271
|
export const checkoutInfoPaymentsFormDataKeyField = T['io.flow.internal.v0.enums.checkout_info_payments_form_data_key_field'];
|
|
29200
29272
|
export const checkoutInfoPublicKey = T['io.flow.internal.v0.models.checkout_info_public_key'];
|
|
29273
|
+
export const checkoutInfoTranslations = T['io.flow.internal.v0.models.checkout_info_translations'];
|
|
29274
|
+
export const checkoutInfoTranslationsKey = T['io.flow.internal.v0.models.checkout_info_translations_key'];
|
|
29275
|
+
export const checkoutInfoTranslationsKeyField = T['io.flow.internal.v0.enums.checkout_info_translations_key_field'];
|
|
29201
29276
|
export const checkoutInitiateDirectPaymentForm = T['io.flow.internal.v0.models.checkout_initiate_direct_payment_form'];
|
|
29202
29277
|
export const checkoutInitiateInlinePaymentForm = T['io.flow.internal.v0.models.checkout_initiate_inline_payment_form'];
|
|
29203
29278
|
export const checkoutInitiatePaymentError = T['io.flow.internal.v0.models.checkout_initiate_payment_error'];
|