@flowio/api-internal-prop-types 9.15.1 → 9.16.0
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 +92 -10
- package/lib/api-internal.js +1 -1
- package/package.json +2 -2
- package/src/api-internal.d.ts +92 -10
- package/src/api-internal.js +111 -4
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@flowio/api-internal-prop-types",
|
|
3
|
-
"version": "9.
|
|
3
|
+
"version": "9.16.0",
|
|
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": "4f33dd3511d45000dd2c832ede028d2388f13ff4"
|
|
34
34
|
}
|
package/src/api-internal.d.ts
CHANGED
|
@@ -1458,6 +1458,32 @@ declare namespace io.flow.shopify.xborder.v0.models {
|
|
|
1458
1458
|
readonly 'tax_lines': io.flow.shopify.xborder.v0.models.ShopifyOrderTaxLine[];
|
|
1459
1459
|
}
|
|
1460
1460
|
|
|
1461
|
+
interface ShopifyOrderEdit {
|
|
1462
|
+
readonly 'id': number;
|
|
1463
|
+
readonly 'created_at': string;
|
|
1464
|
+
readonly 'notify_customer': boolean;
|
|
1465
|
+
readonly 'order_id': number;
|
|
1466
|
+
readonly 'staff_note': string;
|
|
1467
|
+
readonly 'user_id'?: number;
|
|
1468
|
+
readonly 'line_items': io.flow.shopify.xborder.v0.models.ShopifyOrderEditLineItems;
|
|
1469
|
+
readonly 'discounts': any/*object*/;
|
|
1470
|
+
readonly 'shipping_lines': any/*object*/;
|
|
1471
|
+
}
|
|
1472
|
+
|
|
1473
|
+
interface ShopifyOrderEditLineItems {
|
|
1474
|
+
readonly 'additions': io.flow.shopify.xborder.v0.models.ShopifyOrderEditLineItemsChange[];
|
|
1475
|
+
readonly 'removals': io.flow.shopify.xborder.v0.models.ShopifyOrderEditLineItemsChange[];
|
|
1476
|
+
}
|
|
1477
|
+
|
|
1478
|
+
interface ShopifyOrderEditLineItemsChange {
|
|
1479
|
+
readonly 'id': number;
|
|
1480
|
+
readonly 'delta': number;
|
|
1481
|
+
}
|
|
1482
|
+
|
|
1483
|
+
interface ShopifyOrderEditWrapper {
|
|
1484
|
+
readonly 'order_edit': io.flow.shopify.xborder.v0.models.ShopifyOrderEdit;
|
|
1485
|
+
}
|
|
1486
|
+
|
|
1461
1487
|
interface ShopifyOrderFulfillment {
|
|
1462
1488
|
readonly 'created_at'?: string;
|
|
1463
1489
|
readonly 'id'?: number;
|
|
@@ -12244,7 +12270,7 @@ declare namespace io.flow.checkout.protocol.v0.enums {
|
|
|
12244
12270
|
type CheckoutAddPaymentDetailsErrorCode = 'payment_failed' | 'authorization_form_not_supported' | 'authorization_invalid_amount' | 'authorization_invalid_currency' | 'authorization_amount_exceeds_balance' | 'address_street1_required';
|
|
12245
12271
|
type CheckoutCreateAuthorizationDetailsErrorCode = 'checkout_not_found' | 'authorization_details_payment_not_found';
|
|
12246
12272
|
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' | '
|
|
12273
|
+
type CheckoutCreateBySessionByOrderErrorCode = 'session_not_found' | 'session_experience_required' | 'order_not_found' | 'country_not_supported';
|
|
12248
12274
|
type CheckoutCreateBySessionErrorCode = 'session_not_found' | 'session_experience_required' | 'country_not_supported';
|
|
12249
12275
|
type CheckoutDeleteAddressStreetErrorCode = 'address_line_number_invalid';
|
|
12250
12276
|
type CheckoutDeleteLineErrorCode = 'line_not_found';
|
|
@@ -12261,6 +12287,7 @@ declare namespace io.flow.checkout.protocol.v0.enums {
|
|
|
12261
12287
|
type CheckoutInfoOrderSummaryKeyField = 'shipping_country' | 'shipping_province' | 'shipping_postal' | 'delivery_option_id';
|
|
12262
12288
|
type CheckoutInfoPaymentDetailsKeyField = 'value' | 'currency' | 'payment_method_id';
|
|
12263
12289
|
type CheckoutInfoPaymentsFormDataKeyField = 'value' | 'currency' | 'shipping_country';
|
|
12290
|
+
type CheckoutInfoTranslationsKeyField = 'locale';
|
|
12264
12291
|
type CheckoutInitiatePaymentErrorCode = 'payment_failed' | 'authorization_form_not_supported' | 'authorization_invalid_amount' | 'authorization_invalid_currency' | 'authorization_amount_exceeds_balance' | 'address_street1_required';
|
|
12265
12292
|
type CheckoutPaymentAuthorizationParametersErrorCode = 'order_balance_not_available';
|
|
12266
12293
|
type CheckoutSetAddressCityErrorCode = 'address_city_invalid' | 'address_city_required';
|
|
@@ -12349,10 +12376,22 @@ declare namespace io.flow.checkout.protocol.v0.models {
|
|
|
12349
12376
|
readonly 'message': string;
|
|
12350
12377
|
}
|
|
12351
12378
|
|
|
12379
|
+
interface CheckoutCreateBySessionByOrderRequestForm {
|
|
12380
|
+
readonly 'discriminator': 'checkout_create_by_session_by_order_request_form';
|
|
12381
|
+
readonly 'session_id': string;
|
|
12382
|
+
readonly 'order_number': string;
|
|
12383
|
+
}
|
|
12384
|
+
|
|
12352
12385
|
interface CheckoutCreateBySessionByOrderResponseError {
|
|
12386
|
+
readonly 'discriminator': 'checkout_create_by_session_by_order_response_error';
|
|
12353
12387
|
readonly 'errors': io.flow.checkout.protocol.v0.models.CheckoutCreateBySessionByOrderError[];
|
|
12354
12388
|
}
|
|
12355
12389
|
|
|
12390
|
+
interface CheckoutCreateBySessionByOrderResponseSuccess {
|
|
12391
|
+
readonly 'discriminator': 'checkout_create_by_session_by_order_response_success';
|
|
12392
|
+
readonly 'checkout': io.flow.checkout.backend.v0.models.V2Checkout;
|
|
12393
|
+
}
|
|
12394
|
+
|
|
12356
12395
|
interface CheckoutCreateBySessionError {
|
|
12357
12396
|
readonly 'code': io.flow.checkout.protocol.v0.enums.CheckoutCreateBySessionErrorCode;
|
|
12358
12397
|
readonly 'message': string;
|
|
@@ -12570,6 +12609,17 @@ declare namespace io.flow.checkout.protocol.v0.models {
|
|
|
12570
12609
|
readonly 'data': io.flow.payment.v0.models.PublicKey;
|
|
12571
12610
|
}
|
|
12572
12611
|
|
|
12612
|
+
interface CheckoutInfoTranslations {
|
|
12613
|
+
readonly 'discriminator': 'checkout_info_translations';
|
|
12614
|
+
readonly 'key': io.flow.checkout.protocol.v0.models.CheckoutInfoTranslationsKey[];
|
|
12615
|
+
readonly 'data': any/*object*/;
|
|
12616
|
+
}
|
|
12617
|
+
|
|
12618
|
+
interface CheckoutInfoTranslationsKey {
|
|
12619
|
+
readonly 'field': io.flow.checkout.protocol.v0.enums.CheckoutInfoTranslationsKeyField;
|
|
12620
|
+
readonly 'value': string;
|
|
12621
|
+
}
|
|
12622
|
+
|
|
12573
12623
|
interface CheckoutInitiatePaymentError {
|
|
12574
12624
|
readonly 'code': io.flow.checkout.protocol.v0.enums.CheckoutInitiatePaymentErrorCode;
|
|
12575
12625
|
readonly 'message': string;
|
|
@@ -13227,13 +13277,14 @@ declare namespace io.flow.checkout.protocol.v0.models {
|
|
|
13227
13277
|
|
|
13228
13278
|
declare namespace io.flow.checkout.protocol.v0.unions {
|
|
13229
13279
|
type CheckoutCreateAuthorizationDetailsResponse = (io.flow.checkout.protocol.v0.models.CheckoutCreateAuthorizationDetailsResponseError | io.flow.checkout.protocol.v0.models.CheckoutCreateAuthorizationDetailsResponseSuccess);
|
|
13280
|
+
type CheckoutCreateBySessionByOrderResponse = (io.flow.checkout.protocol.v0.models.CheckoutCreateBySessionByOrderResponseError | io.flow.checkout.protocol.v0.models.CheckoutCreateBySessionByOrderResponseSuccess);
|
|
13230
13281
|
type CheckoutCreateBySessionResponse = (io.flow.checkout.protocol.v0.models.CheckoutCreateBySessionResponseError | io.flow.checkout.protocol.v0.models.CheckoutCreateBySessionResponseSuccess);
|
|
13231
13282
|
type CheckoutFeaturesResponse = (io.flow.checkout.protocol.v0.models.CheckoutFeaturesResponseError | io.flow.checkout.protocol.v0.models.CheckoutFeaturesResponseSuccess);
|
|
13232
13283
|
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);
|
|
13284
|
+
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
13285
|
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);
|
|
13286
|
+
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);
|
|
13287
|
+
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
13288
|
type CheckoutSequencedAddAuthorizationResponse = (io.flow.checkout.protocol.v0.models.CheckoutSequencedAddAuthorizationResponseError | io.flow.checkout.protocol.v0.models.CheckoutSequencedAddAuthorizationResponseSuccess);
|
|
13238
13289
|
type CheckoutSequencedAddGiftCardAndPromotionCodeResponse = (io.flow.checkout.protocol.v0.models.CheckoutSequencedAddGiftCardAndPromotionCodeResponseError);
|
|
13239
13290
|
type CheckoutSequencedAddGiftCardResponse = (io.flow.checkout.protocol.v0.models.CheckoutSequencedAddGiftCardResponseError);
|
|
@@ -16160,7 +16211,7 @@ declare namespace io.flow.internal.v0.enums {
|
|
|
16160
16211
|
type CheckoutAssetType = 'stylesheet' | 'javascript';
|
|
16161
16212
|
type CheckoutCreateAuthorizationDetailsErrorCode = 'checkout_not_found' | 'authorization_details_payment_not_found';
|
|
16162
16213
|
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' | '
|
|
16214
|
+
type CheckoutCreateBySessionByOrderErrorCode = 'session_not_found' | 'session_experience_required' | 'order_not_found' | 'country_not_supported';
|
|
16164
16215
|
type CheckoutCreateBySessionErrorCode = 'session_not_found' | 'session_experience_required' | 'country_not_supported';
|
|
16165
16216
|
type CheckoutDeleteAddressStreetErrorCode = 'address_line_number_invalid';
|
|
16166
16217
|
type CheckoutDeleteLineErrorCode = 'line_not_found';
|
|
@@ -16179,6 +16230,7 @@ declare namespace io.flow.internal.v0.enums {
|
|
|
16179
16230
|
type CheckoutInfoOrderSummaryKeyField = 'shipping_country' | 'shipping_province' | 'shipping_postal' | 'delivery_option_id';
|
|
16180
16231
|
type CheckoutInfoPaymentDetailsKeyField = 'value' | 'currency' | 'payment_method_id';
|
|
16181
16232
|
type CheckoutInfoPaymentsFormDataKeyField = 'value' | 'currency' | 'shipping_country';
|
|
16233
|
+
type CheckoutInfoTranslationsKeyField = 'locale';
|
|
16182
16234
|
type CheckoutInitiatePaymentErrorCode = 'payment_failed' | 'authorization_form_not_supported' | 'authorization_invalid_amount' | 'authorization_invalid_currency' | 'authorization_amount_exceeds_balance' | 'address_street1_required';
|
|
16183
16235
|
type CheckoutLineErrorCode = 'line_quantity_invalid' | 'line_item_number_invalid' | 'line_item_number_not_available' | 'line_value_threshold_exceeded';
|
|
16184
16236
|
type CheckoutPaymentAuthorizationParametersErrorCode = 'order_balance_not_available';
|
|
@@ -17305,14 +17357,14 @@ declare namespace io.flow.internal.v0.models {
|
|
|
17305
17357
|
readonly 'carrier': io.flow.fulfillment.v0.models.CarrierReference;
|
|
17306
17358
|
readonly 'credentials': io.flow.tracking.internal.v0.unions.CarrierCredentials;
|
|
17307
17359
|
readonly 'q'?: string;
|
|
17308
|
-
readonly 'position'
|
|
17360
|
+
readonly 'position': number;
|
|
17309
17361
|
}
|
|
17310
17362
|
|
|
17311
17363
|
interface CarrierAccountForm {
|
|
17312
17364
|
readonly 'carrier_id': string;
|
|
17313
17365
|
readonly 'credentials': io.flow.tracking.internal.v0.unions.CarrierCredentials;
|
|
17314
17366
|
readonly 'q'?: string;
|
|
17315
|
-
readonly 'position'
|
|
17367
|
+
readonly 'position': number;
|
|
17316
17368
|
}
|
|
17317
17369
|
|
|
17318
17370
|
interface CarrierAccountUpserted {
|
|
@@ -17771,10 +17823,22 @@ declare namespace io.flow.internal.v0.models {
|
|
|
17771
17823
|
readonly 'message': string;
|
|
17772
17824
|
}
|
|
17773
17825
|
|
|
17826
|
+
interface CheckoutCreateBySessionByOrderRequestForm {
|
|
17827
|
+
readonly 'discriminator': 'checkout_create_by_session_by_order_request_form';
|
|
17828
|
+
readonly 'session_id': string;
|
|
17829
|
+
readonly 'order_number': string;
|
|
17830
|
+
}
|
|
17831
|
+
|
|
17774
17832
|
interface CheckoutCreateBySessionByOrderResponseError {
|
|
17833
|
+
readonly 'discriminator': 'checkout_create_by_session_by_order_response_error';
|
|
17775
17834
|
readonly 'errors': io.flow.internal.v0.models.CheckoutCreateBySessionByOrderError[];
|
|
17776
17835
|
}
|
|
17777
17836
|
|
|
17837
|
+
interface CheckoutCreateBySessionByOrderResponseSuccess {
|
|
17838
|
+
readonly 'discriminator': 'checkout_create_by_session_by_order_response_success';
|
|
17839
|
+
readonly 'checkout': io.flow.checkout.backend.v0.models.V2Checkout;
|
|
17840
|
+
}
|
|
17841
|
+
|
|
17778
17842
|
interface CheckoutCreateBySessionError {
|
|
17779
17843
|
readonly 'code': io.flow.internal.v0.enums.CheckoutCreateBySessionErrorCode;
|
|
17780
17844
|
readonly 'message': string;
|
|
@@ -18089,6 +18153,17 @@ declare namespace io.flow.internal.v0.models {
|
|
|
18089
18153
|
readonly 'data': io.flow.payment.v0.models.PublicKey;
|
|
18090
18154
|
}
|
|
18091
18155
|
|
|
18156
|
+
interface CheckoutInfoTranslations {
|
|
18157
|
+
readonly 'discriminator': 'checkout_info_translations';
|
|
18158
|
+
readonly 'key': io.flow.internal.v0.models.CheckoutInfoTranslationsKey[];
|
|
18159
|
+
readonly 'data': any/*object*/;
|
|
18160
|
+
}
|
|
18161
|
+
|
|
18162
|
+
interface CheckoutInfoTranslationsKey {
|
|
18163
|
+
readonly 'field': io.flow.internal.v0.enums.CheckoutInfoTranslationsKeyField;
|
|
18164
|
+
readonly 'value': string;
|
|
18165
|
+
}
|
|
18166
|
+
|
|
18092
18167
|
interface CheckoutInitiateDirectPaymentForm {
|
|
18093
18168
|
readonly 'discriminator': 'initiate_direct_payment_form';
|
|
18094
18169
|
readonly 'token': string;
|
|
@@ -25024,12 +25099,13 @@ declare namespace io.flow.internal.v0.unions {
|
|
|
25024
25099
|
type CheckoutAnalyticsPayment = (io.flow.internal.v0.models.CheckoutAnalyticsPaymentCard | io.flow.internal.v0.models.CheckoutAnalyticsPaymentGiftCard | io.flow.internal.v0.models.CheckoutAnalyticsPaymentOnline);
|
|
25025
25100
|
type CheckoutConfirmationDetails = (io.flow.internal.v0.models.CheckoutDirectDebit);
|
|
25026
25101
|
type CheckoutCreateAuthorizationDetailsResponse = (io.flow.internal.v0.models.CheckoutCreateAuthorizationDetailsResponseError | io.flow.internal.v0.models.CheckoutCreateAuthorizationDetailsResponseSuccess);
|
|
25102
|
+
type CheckoutCreateBySessionByOrderResponse = (io.flow.internal.v0.models.CheckoutCreateBySessionByOrderResponseError | io.flow.internal.v0.models.CheckoutCreateBySessionByOrderResponseSuccess);
|
|
25027
25103
|
type CheckoutCreateBySessionResponse = (io.flow.internal.v0.models.CheckoutCreateBySessionResponseError | io.flow.internal.v0.models.CheckoutCreateBySessionResponseSuccess);
|
|
25028
25104
|
type CheckoutDeliveryWindow = (io.flow.internal.v0.models.CheckoutDeliveryWindowStatic | io.flow.internal.v0.models.CheckoutDeliveryWindowEstimate);
|
|
25029
25105
|
type CheckoutFeaturesResponse = (io.flow.internal.v0.models.CheckoutFeaturesResponseError | io.flow.internal.v0.models.CheckoutFeaturesResponseSuccess);
|
|
25030
25106
|
type CheckoutForm = (io.flow.internal.v0.models.CheckoutOrderForm | io.flow.internal.v0.models.CheckoutOrderNumberForm);
|
|
25031
25107
|
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);
|
|
25108
|
+
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
25109
|
type CheckoutInitiatePaymentForm = (io.flow.internal.v0.models.CheckoutInitiateRedirectPaymentForm | io.flow.internal.v0.models.CheckoutInitiateInlinePaymentForm | io.flow.internal.v0.models.CheckoutInitiateDirectPaymentForm);
|
|
25034
25110
|
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
25111
|
type CheckoutOrder = (io.flow.internal.v0.models.CheckoutOpenOrder | io.flow.internal.v0.models.CheckoutSubmittedOrder);
|
|
@@ -25040,8 +25116,8 @@ declare namespace io.flow.internal.v0.unions {
|
|
|
25040
25116
|
type CheckoutPaymentActionRequirement = (io.flow.internal.v0.models.CheckoutRedirectAuthorizationRequirement | io.flow.internal.v0.models.CheckoutInlineAuthorizationRequirement | io.flow.internal.v0.models.CheckoutDirectAuthorizationRequirement);
|
|
25041
25117
|
type CheckoutPaymentDetailsForm = (io.flow.internal.v0.models.CheckoutPaypalAuthorizationPayload | io.flow.internal.v0.models.CheckoutGooglePayAuthorizationPayload | io.flow.internal.v0.models.CheckoutCreditPaymentPayload);
|
|
25042
25118
|
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);
|
|
25119
|
+
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);
|
|
25120
|
+
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
25121
|
type CheckoutSequencedAddAuthorizationResponse = (io.flow.internal.v0.models.CheckoutSequencedAddAuthorizationResponseError | io.flow.internal.v0.models.CheckoutSequencedAddAuthorizationResponseSuccess);
|
|
25046
25122
|
type CheckoutSequencedAddGiftCardAndPromotionCodeResponse = (io.flow.internal.v0.models.CheckoutSequencedAddGiftCardAndPromotionCodeResponseError);
|
|
25047
25123
|
type CheckoutSequencedAddGiftCardResponse = (io.flow.internal.v0.models.CheckoutSequencedAddGiftCardResponseError);
|
|
@@ -25188,6 +25264,7 @@ export const checkoutInfoNationalIdNumberConfigurationFormDataKeyField: PropType
|
|
|
25188
25264
|
export const checkoutInfoOrderSummaryKeyField: PropTypes.Requireable<io.flow.internal.v0.enums.CheckoutInfoOrderSummaryKeyField>;
|
|
25189
25265
|
export const checkoutInfoPaymentDetailsKeyField: PropTypes.Requireable<io.flow.internal.v0.enums.CheckoutInfoPaymentDetailsKeyField>;
|
|
25190
25266
|
export const checkoutInfoPaymentsFormDataKeyField: PropTypes.Requireable<io.flow.internal.v0.enums.CheckoutInfoPaymentsFormDataKeyField>;
|
|
25267
|
+
export const checkoutInfoTranslationsKeyField: PropTypes.Requireable<io.flow.internal.v0.enums.CheckoutInfoTranslationsKeyField>;
|
|
25191
25268
|
export const checkoutInitiatePaymentErrorCode: PropTypes.Requireable<io.flow.internal.v0.enums.CheckoutInitiatePaymentErrorCode>;
|
|
25192
25269
|
export const checkoutLineErrorCode: PropTypes.Requireable<io.flow.internal.v0.enums.CheckoutLineErrorCode>;
|
|
25193
25270
|
export const checkoutPaymentAuthorizationParametersErrorCode: PropTypes.Requireable<io.flow.internal.v0.enums.CheckoutPaymentAuthorizationParametersErrorCode>;
|
|
@@ -25539,7 +25616,9 @@ export const checkoutCreateAuthorizationDetailsResponseError: PropTypes.Requirea
|
|
|
25539
25616
|
export const checkoutCreateAuthorizationDetailsResponseSuccess: PropTypes.Requireable<io.flow.internal.v0.models.CheckoutCreateAuthorizationDetailsResponseSuccess>;
|
|
25540
25617
|
export const checkoutCreateAuthorizationError: PropTypes.Requireable<io.flow.internal.v0.models.CheckoutCreateAuthorizationError>;
|
|
25541
25618
|
export const checkoutCreateBySessionByOrderError: PropTypes.Requireable<io.flow.internal.v0.models.CheckoutCreateBySessionByOrderError>;
|
|
25619
|
+
export const checkoutCreateBySessionByOrderRequestForm: PropTypes.Requireable<io.flow.internal.v0.models.CheckoutCreateBySessionByOrderRequestForm>;
|
|
25542
25620
|
export const checkoutCreateBySessionByOrderResponseError: PropTypes.Requireable<io.flow.internal.v0.models.CheckoutCreateBySessionByOrderResponseError>;
|
|
25621
|
+
export const checkoutCreateBySessionByOrderResponseSuccess: PropTypes.Requireable<io.flow.internal.v0.models.CheckoutCreateBySessionByOrderResponseSuccess>;
|
|
25543
25622
|
export const checkoutCreateBySessionError: PropTypes.Requireable<io.flow.internal.v0.models.CheckoutCreateBySessionError>;
|
|
25544
25623
|
export const checkoutCreateBySessionRequestForm: PropTypes.Requireable<io.flow.internal.v0.models.CheckoutCreateBySessionRequestForm>;
|
|
25545
25624
|
export const checkoutCreateBySessionResponseError: PropTypes.Requireable<io.flow.internal.v0.models.CheckoutCreateBySessionResponseError>;
|
|
@@ -25599,6 +25678,8 @@ export const checkoutInfoPaymentDetailsKey: PropTypes.Requireable<io.flow.intern
|
|
|
25599
25678
|
export const checkoutInfoPaymentsFormData: PropTypes.Requireable<io.flow.internal.v0.models.CheckoutInfoPaymentsFormData>;
|
|
25600
25679
|
export const checkoutInfoPaymentsFormDataKey: PropTypes.Requireable<io.flow.internal.v0.models.CheckoutInfoPaymentsFormDataKey>;
|
|
25601
25680
|
export const checkoutInfoPublicKey: PropTypes.Requireable<io.flow.internal.v0.models.CheckoutInfoPublicKey>;
|
|
25681
|
+
export const checkoutInfoTranslations: PropTypes.Requireable<io.flow.internal.v0.models.CheckoutInfoTranslations>;
|
|
25682
|
+
export const checkoutInfoTranslationsKey: PropTypes.Requireable<io.flow.internal.v0.models.CheckoutInfoTranslationsKey>;
|
|
25602
25683
|
export const checkoutInitiateDirectPaymentForm: PropTypes.Requireable<io.flow.internal.v0.models.CheckoutInitiateDirectPaymentForm>;
|
|
25603
25684
|
export const checkoutInitiateInlinePaymentForm: PropTypes.Requireable<io.flow.internal.v0.models.CheckoutInitiateInlinePaymentForm>;
|
|
25604
25685
|
export const checkoutInitiatePaymentError: PropTypes.Requireable<io.flow.internal.v0.models.CheckoutInitiatePaymentError>;
|
|
@@ -26559,6 +26640,7 @@ export const checkoutAnalyticsOrder: PropTypes.Requireable<io.flow.internal.v0.u
|
|
|
26559
26640
|
export const checkoutAnalyticsPayment: PropTypes.Requireable<io.flow.internal.v0.unions.CheckoutAnalyticsPayment>;
|
|
26560
26641
|
export const checkoutConfirmationDetails: PropTypes.Requireable<io.flow.internal.v0.unions.CheckoutConfirmationDetails>;
|
|
26561
26642
|
export const checkoutCreateAuthorizationDetailsResponse: PropTypes.Requireable<io.flow.internal.v0.unions.CheckoutCreateAuthorizationDetailsResponse>;
|
|
26643
|
+
export const checkoutCreateBySessionByOrderResponse: PropTypes.Requireable<io.flow.internal.v0.unions.CheckoutCreateBySessionByOrderResponse>;
|
|
26562
26644
|
export const checkoutCreateBySessionResponse: PropTypes.Requireable<io.flow.internal.v0.unions.CheckoutCreateBySessionResponse>;
|
|
26563
26645
|
export const checkoutDeliveryWindow: PropTypes.Requireable<io.flow.internal.v0.unions.CheckoutDeliveryWindow>;
|
|
26564
26646
|
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']);
|
|
@@ -7954,6 +7974,38 @@ T['io.flow.shopify.xborder.v0.models.shopify_webhook_request_wrapper'] = PropTyp
|
|
|
7954
7974
|
});
|
|
7955
7975
|
|
|
7956
7976
|
T['io.flow.shopify.xborder.v0.enums.shopify_order_restock_type'] = PropTypes.oneOf(['no_restock', 'cancel', 'return']);
|
|
7977
|
+
|
|
7978
|
+
T['io.flow.shopify.xborder.v0.models.shopify_order_edit_line_items_change'] = PropTypes.exact({
|
|
7979
|
+
id: PropTypes.number.isRequired,
|
|
7980
|
+
delta: PropTypes.number.isRequired,
|
|
7981
|
+
});
|
|
7982
|
+
|
|
7983
|
+
T['io.flow.shopify.xborder.v0.models.shopify_order_edit_line_items'] = PropTypes.exact({
|
|
7984
|
+
additions: PropTypes.arrayOf(
|
|
7985
|
+
T['io.flow.shopify.xborder.v0.models.shopify_order_edit_line_items_change'],
|
|
7986
|
+
).isRequired,
|
|
7987
|
+
|
|
7988
|
+
removals: PropTypes.arrayOf(
|
|
7989
|
+
T['io.flow.shopify.xborder.v0.models.shopify_order_edit_line_items_change'],
|
|
7990
|
+
).isRequired,
|
|
7991
|
+
});
|
|
7992
|
+
|
|
7993
|
+
T['io.flow.shopify.xborder.v0.models.shopify_order_edit'] = PropTypes.exact({
|
|
7994
|
+
id: PropTypes.number.isRequired,
|
|
7995
|
+
created_at: PropTypes.string.isRequired,
|
|
7996
|
+
notify_customer: PropTypes.bool.isRequired,
|
|
7997
|
+
order_id: PropTypes.number.isRequired,
|
|
7998
|
+
staff_note: PropTypes.string.isRequired,
|
|
7999
|
+
user_id: PropTypes.number,
|
|
8000
|
+
line_items: T['io.flow.shopify.xborder.v0.models.shopify_order_edit_line_items'].isRequired,
|
|
8001
|
+
discounts: PropTypes.object.isRequired,
|
|
8002
|
+
shipping_lines: PropTypes.object.isRequired,
|
|
8003
|
+
});
|
|
8004
|
+
|
|
8005
|
+
T['io.flow.shopify.xborder.v0.models.shopify_order_edit_wrapper'] = PropTypes.exact({
|
|
8006
|
+
order_edit: T['io.flow.shopify.xborder.v0.models.shopify_order_edit'].isRequired,
|
|
8007
|
+
});
|
|
8008
|
+
|
|
7957
8009
|
T['io.flow.shopify.xborder.v0.enums.shopify_order_value_type'] = PropTypes.oneOf(['string', 'integer']);
|
|
7958
8010
|
|
|
7959
8011
|
T['io.flow.shopify.xborder.v0.models.shopify_order_metafield_form'] = PropTypes.exact({
|
|
@@ -8519,6 +8571,8 @@ T['io.flow.checkout.protocol.v0.models.checkout_create_by_session_by_order_error
|
|
|
8519
8571
|
});
|
|
8520
8572
|
|
|
8521
8573
|
T['io.flow.checkout.protocol.v0.models.checkout_create_by_session_by_order_response_error'] = PropTypes.exact({
|
|
8574
|
+
discriminator: PropTypes.oneOf(['checkout_create_by_session_by_order_response_error']).isRequired,
|
|
8575
|
+
|
|
8522
8576
|
errors: PropTypes.arrayOf(
|
|
8523
8577
|
T['io.flow.checkout.protocol.v0.models.checkout_create_by_session_by_order_error'],
|
|
8524
8578
|
).isRequired,
|
|
@@ -9953,6 +10007,12 @@ T['io.flow.internal.v0.models.checkout_create_by_session_request_form'] = PropTy
|
|
|
9953
10007
|
session_id: PropTypes.string.isRequired,
|
|
9954
10008
|
});
|
|
9955
10009
|
|
|
10010
|
+
T['io.flow.internal.v0.models.checkout_create_by_session_by_order_request_form'] = PropTypes.exact({
|
|
10011
|
+
discriminator: PropTypes.oneOf(['checkout_create_by_session_by_order_request_form']).isRequired,
|
|
10012
|
+
session_id: PropTypes.string.isRequired,
|
|
10013
|
+
order_number: PropTypes.string.isRequired,
|
|
10014
|
+
});
|
|
10015
|
+
|
|
9956
10016
|
T['io.flow.internal.v0.models.checkout_create_authorization_details_request_form'] = PropTypes.exact({
|
|
9957
10017
|
discriminator: PropTypes.oneOf(['checkout_create_authorization_details_request_form']).isRequired,
|
|
9958
10018
|
checkout_id: PropTypes.string.isRequired,
|
|
@@ -9962,6 +10022,7 @@ T['io.flow.internal.v0.models.checkout_create_authorization_details_request_form
|
|
|
9962
10022
|
|
|
9963
10023
|
T['io.flow.internal.v0.unions.checkout_request_form'] = PropTypes.oneOfType([
|
|
9964
10024
|
T['io.flow.internal.v0.models.checkout_create_authorization_details_request_form'],
|
|
10025
|
+
T['io.flow.internal.v0.models.checkout_create_by_session_by_order_request_form'],
|
|
9965
10026
|
T['io.flow.internal.v0.models.checkout_create_by_session_request_form'],
|
|
9966
10027
|
T['io.flow.internal.v0.models.checkout_features_request_form'],
|
|
9967
10028
|
T['io.flow.internal.v0.models.checkout_get_request_form'],
|
|
@@ -16499,6 +16560,19 @@ T['io.flow.internal.v0.unions.checkout_initiate_payment_form'] = PropTypes.oneOf
|
|
|
16499
16560
|
T['io.flow.internal.v0.models.checkout_initiate_direct_payment_form'],
|
|
16500
16561
|
]);
|
|
16501
16562
|
|
|
16563
|
+
T['io.flow.internal.v0.enums.checkout_info_translations_key_field'] = PropTypes.oneOf(['locale']);
|
|
16564
|
+
|
|
16565
|
+
T['io.flow.internal.v0.models.checkout_info_translations_key'] = PropTypes.exact({
|
|
16566
|
+
field: T['io.flow.internal.v0.enums.checkout_info_translations_key_field'].isRequired,
|
|
16567
|
+
value: PropTypes.string.isRequired,
|
|
16568
|
+
});
|
|
16569
|
+
|
|
16570
|
+
T['io.flow.internal.v0.models.checkout_info_translations'] = PropTypes.exact({
|
|
16571
|
+
discriminator: PropTypes.oneOf(['checkout_info_translations']).isRequired,
|
|
16572
|
+
key: PropTypes.arrayOf(T['io.flow.internal.v0.models.checkout_info_translations_key']).isRequired,
|
|
16573
|
+
data: PropTypes.object.isRequired,
|
|
16574
|
+
});
|
|
16575
|
+
|
|
16502
16576
|
T['io.flow.payment.v0.models.public_key'] = PropTypes.exact({
|
|
16503
16577
|
id: PropTypes.string.isRequired,
|
|
16504
16578
|
});
|
|
@@ -17896,8 +17970,8 @@ T['io.flow.internal.v0.models.checkout_create_by_session_response_error'] = Prop
|
|
|
17896
17970
|
T['io.flow.internal.v0.enums.checkout_create_by_session_by_order_error_code'] = PropTypes.oneOf([
|
|
17897
17971
|
'session_not_found',
|
|
17898
17972
|
'session_experience_required',
|
|
17899
|
-
'country_not_supported',
|
|
17900
17973
|
'order_not_found',
|
|
17974
|
+
'country_not_supported',
|
|
17901
17975
|
]);
|
|
17902
17976
|
|
|
17903
17977
|
T['io.flow.internal.v0.models.checkout_create_by_session_by_order_error'] = PropTypes.exact({
|
|
@@ -17906,6 +17980,7 @@ T['io.flow.internal.v0.models.checkout_create_by_session_by_order_error'] = Prop
|
|
|
17906
17980
|
});
|
|
17907
17981
|
|
|
17908
17982
|
T['io.flow.internal.v0.models.checkout_create_by_session_by_order_response_error'] = PropTypes.exact({
|
|
17983
|
+
discriminator: PropTypes.oneOf(['checkout_create_by_session_by_order_response_error']).isRequired,
|
|
17909
17984
|
errors: PropTypes.arrayOf(T['io.flow.internal.v0.models.checkout_create_by_session_by_order_error']).isRequired,
|
|
17910
17985
|
});
|
|
17911
17986
|
|
|
@@ -18875,6 +18950,16 @@ T['io.flow.checkout.protocol.v0.unions.checkout_create_by_session_response'] = P
|
|
|
18875
18950
|
T['io.flow.checkout.protocol.v0.models.checkout_create_by_session_response_success'],
|
|
18876
18951
|
]);
|
|
18877
18952
|
|
|
18953
|
+
T['io.flow.checkout.protocol.v0.models.checkout_create_by_session_by_order_response_success'] = PropTypes.exact({
|
|
18954
|
+
discriminator: PropTypes.oneOf(['checkout_create_by_session_by_order_response_success']).isRequired,
|
|
18955
|
+
checkout: T['io.flow.checkout.backend.v0.models.v2_checkout'].isRequired,
|
|
18956
|
+
});
|
|
18957
|
+
|
|
18958
|
+
T['io.flow.checkout.protocol.v0.unions.checkout_create_by_session_by_order_response'] = PropTypes.oneOfType([
|
|
18959
|
+
T['io.flow.checkout.protocol.v0.models.checkout_create_by_session_by_order_response_error'],
|
|
18960
|
+
T['io.flow.checkout.protocol.v0.models.checkout_create_by_session_by_order_response_success'],
|
|
18961
|
+
]);
|
|
18962
|
+
|
|
18878
18963
|
T['io.flow.internal.v0.models.checkout_create_by_session_response_success'] = PropTypes.exact({
|
|
18879
18964
|
discriminator: PropTypes.oneOf(['checkout_create_by_session_response_success']).isRequired,
|
|
18880
18965
|
checkout: T['io.flow.checkout.backend.v0.models.v2_checkout'].isRequired,
|
|
@@ -18885,6 +18970,16 @@ T['io.flow.internal.v0.unions.checkout_create_by_session_response'] = PropTypes.
|
|
|
18885
18970
|
T['io.flow.internal.v0.models.checkout_create_by_session_response_success'],
|
|
18886
18971
|
]);
|
|
18887
18972
|
|
|
18973
|
+
T['io.flow.internal.v0.models.checkout_create_by_session_by_order_response_success'] = PropTypes.exact({
|
|
18974
|
+
discriminator: PropTypes.oneOf(['checkout_create_by_session_by_order_response_success']).isRequired,
|
|
18975
|
+
checkout: T['io.flow.checkout.backend.v0.models.v2_checkout'].isRequired,
|
|
18976
|
+
});
|
|
18977
|
+
|
|
18978
|
+
T['io.flow.internal.v0.unions.checkout_create_by_session_by_order_response'] = PropTypes.oneOfType([
|
|
18979
|
+
T['io.flow.internal.v0.models.checkout_create_by_session_by_order_response_error'],
|
|
18980
|
+
T['io.flow.internal.v0.models.checkout_create_by_session_by_order_response_success'],
|
|
18981
|
+
]);
|
|
18982
|
+
|
|
18888
18983
|
T['io.flow.internal.v0.models.checkout_analytics_session_visit'] = PropTypes.exact({
|
|
18889
18984
|
id: PropTypes.string.isRequired,
|
|
18890
18985
|
});
|
|
@@ -20854,7 +20949,7 @@ T['io.flow.internal.v0.models.carrier_account_form'] = PropTypes.exact({
|
|
|
20854
20949
|
carrier_id: PropTypes.string.isRequired,
|
|
20855
20950
|
credentials: T['io.flow.tracking.internal.v0.unions.carrier_credentials'].isRequired,
|
|
20856
20951
|
q: PropTypes.string,
|
|
20857
|
-
position: PropTypes.number,
|
|
20952
|
+
position: PropTypes.number.isRequired,
|
|
20858
20953
|
});
|
|
20859
20954
|
|
|
20860
20955
|
T['io.flow.fulfillment.v0.models.carrier_reference'] = PropTypes.exact({
|
|
@@ -20897,7 +20992,7 @@ T['io.flow.internal.v0.models.carrier_account'] = PropTypes.exact({
|
|
|
20897
20992
|
carrier: T['io.flow.fulfillment.v0.models.carrier_reference'].isRequired,
|
|
20898
20993
|
credentials: T['io.flow.tracking.internal.v0.unions.carrier_credentials'].isRequired,
|
|
20899
20994
|
q: PropTypes.string,
|
|
20900
|
-
position: PropTypes.number,
|
|
20995
|
+
position: PropTypes.number.isRequired,
|
|
20901
20996
|
});
|
|
20902
20997
|
|
|
20903
20998
|
T['io.flow.internal.v0.models.browser_bundle_payment_method_form'] = PropTypes.exact({
|
|
@@ -24732,6 +24827,7 @@ T['io.flow.checkout.protocol.v0.unions.checkout_info'] = PropTypes.oneOfType([
|
|
|
24732
24827
|
T['io.flow.checkout.protocol.v0.models.checkout_info_payment_details'],
|
|
24733
24828
|
T['io.flow.checkout.protocol.v0.models.checkout_info_payments_form_data'],
|
|
24734
24829
|
T['io.flow.checkout.protocol.v0.models.checkout_info_public_key'],
|
|
24830
|
+
T['io.flow.checkout.protocol.v0.models.checkout_info_translations'],
|
|
24735
24831
|
]);
|
|
24736
24832
|
|
|
24737
24833
|
T['io.flow.checkout.protocol.v0.models.checkout_get_response_success'] = PropTypes.exact({
|
|
@@ -24745,6 +24841,8 @@ T['io.flow.checkout.protocol.v0.models.checkout_get_response_success'] = PropTyp
|
|
|
24745
24841
|
T['io.flow.checkout.protocol.v0.unions.checkout_response'] = PropTypes.oneOfType([
|
|
24746
24842
|
T['io.flow.checkout.protocol.v0.models.checkout_create_authorization_details_response_error'],
|
|
24747
24843
|
T['io.flow.checkout.protocol.v0.models.checkout_create_authorization_details_response_success'],
|
|
24844
|
+
T['io.flow.checkout.protocol.v0.models.checkout_create_by_session_by_order_response_error'],
|
|
24845
|
+
T['io.flow.checkout.protocol.v0.models.checkout_create_by_session_by_order_response_success'],
|
|
24748
24846
|
T['io.flow.checkout.protocol.v0.models.checkout_create_by_session_response_error'],
|
|
24749
24847
|
T['io.flow.checkout.protocol.v0.models.checkout_create_by_session_response_success'],
|
|
24750
24848
|
T['io.flow.checkout.protocol.v0.models.checkout_features_response_error'],
|
|
@@ -24774,6 +24872,8 @@ T['io.flow.internal.v0.models.checkout_get_response_success'] = PropTypes.exact(
|
|
|
24774
24872
|
T['io.flow.internal.v0.unions.checkout_response'] = PropTypes.oneOfType([
|
|
24775
24873
|
T['io.flow.internal.v0.models.checkout_create_authorization_details_response_error'],
|
|
24776
24874
|
T['io.flow.internal.v0.models.checkout_create_authorization_details_response_success'],
|
|
24875
|
+
T['io.flow.internal.v0.models.checkout_create_by_session_by_order_response_error'],
|
|
24876
|
+
T['io.flow.internal.v0.models.checkout_create_by_session_by_order_response_success'],
|
|
24777
24877
|
T['io.flow.internal.v0.models.checkout_create_by_session_response_error'],
|
|
24778
24878
|
T['io.flow.internal.v0.models.checkout_create_by_session_response_success'],
|
|
24779
24879
|
T['io.flow.internal.v0.models.checkout_features_response_error'],
|
|
@@ -24809,6 +24909,7 @@ T['io.flow.internal.v0.unions.checkout_info'] = PropTypes.oneOfType([
|
|
|
24809
24909
|
T['io.flow.internal.v0.models.checkout_info_payment_details'],
|
|
24810
24910
|
T['io.flow.internal.v0.models.checkout_info_payments_form_data'],
|
|
24811
24911
|
T['io.flow.internal.v0.models.checkout_info_public_key'],
|
|
24912
|
+
T['io.flow.internal.v0.models.checkout_info_translations'],
|
|
24812
24913
|
]);
|
|
24813
24914
|
|
|
24814
24915
|
T['io.flow.experience.v0.models.order_summary_line_item'] = PropTypes.exact({
|
|
@@ -29114,7 +29215,10 @@ export const checkoutCreateAuthorizationError = T['io.flow.internal.v0.models.ch
|
|
|
29114
29215
|
export const checkoutCreateAuthorizationErrorCode = T['io.flow.internal.v0.enums.checkout_create_authorization_error_code'];
|
|
29115
29216
|
export const checkoutCreateBySessionByOrderError = T['io.flow.internal.v0.models.checkout_create_by_session_by_order_error'];
|
|
29116
29217
|
export const checkoutCreateBySessionByOrderErrorCode = T['io.flow.internal.v0.enums.checkout_create_by_session_by_order_error_code'];
|
|
29218
|
+
export const checkoutCreateBySessionByOrderRequestForm = T['io.flow.internal.v0.models.checkout_create_by_session_by_order_request_form'];
|
|
29219
|
+
export const checkoutCreateBySessionByOrderResponse = T['io.flow.internal.v0.unions.checkout_create_by_session_by_order_response'];
|
|
29117
29220
|
export const checkoutCreateBySessionByOrderResponseError = T['io.flow.internal.v0.models.checkout_create_by_session_by_order_response_error'];
|
|
29221
|
+
export const checkoutCreateBySessionByOrderResponseSuccess = T['io.flow.internal.v0.models.checkout_create_by_session_by_order_response_success'];
|
|
29118
29222
|
export const checkoutCreateBySessionError = T['io.flow.internal.v0.models.checkout_create_by_session_error'];
|
|
29119
29223
|
export const checkoutCreateBySessionErrorCode = T['io.flow.internal.v0.enums.checkout_create_by_session_error_code'];
|
|
29120
29224
|
export const checkoutCreateBySessionRequestForm = T['io.flow.internal.v0.models.checkout_create_by_session_request_form'];
|
|
@@ -29198,6 +29302,9 @@ export const checkoutInfoPaymentsFormData = T['io.flow.internal.v0.models.checko
|
|
|
29198
29302
|
export const checkoutInfoPaymentsFormDataKey = T['io.flow.internal.v0.models.checkout_info_payments_form_data_key'];
|
|
29199
29303
|
export const checkoutInfoPaymentsFormDataKeyField = T['io.flow.internal.v0.enums.checkout_info_payments_form_data_key_field'];
|
|
29200
29304
|
export const checkoutInfoPublicKey = T['io.flow.internal.v0.models.checkout_info_public_key'];
|
|
29305
|
+
export const checkoutInfoTranslations = T['io.flow.internal.v0.models.checkout_info_translations'];
|
|
29306
|
+
export const checkoutInfoTranslationsKey = T['io.flow.internal.v0.models.checkout_info_translations_key'];
|
|
29307
|
+
export const checkoutInfoTranslationsKeyField = T['io.flow.internal.v0.enums.checkout_info_translations_key_field'];
|
|
29201
29308
|
export const checkoutInitiateDirectPaymentForm = T['io.flow.internal.v0.models.checkout_initiate_direct_payment_form'];
|
|
29202
29309
|
export const checkoutInitiateInlinePaymentForm = T['io.flow.internal.v0.models.checkout_initiate_inline_payment_form'];
|
|
29203
29310
|
export const checkoutInitiatePaymentError = T['io.flow.internal.v0.models.checkout_initiate_payment_error'];
|