@flowio/types 11.15.1 → 11.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/dist/api-internal.d.ts +80 -10
- package/package.json +2 -2
- package/src/api-internal.ts +102 -8
package/dist/api-internal.d.ts
CHANGED
|
@@ -1261,6 +1261,28 @@ declare namespace io.flow.shopify.xborder.v0.models {
|
|
|
1261
1261
|
readonly shop_money: io.flow.shopify.xborder.v0.models.ShopifyOrderMoney;
|
|
1262
1262
|
readonly tax_lines: io.flow.shopify.xborder.v0.models.ShopifyOrderTaxLine[];
|
|
1263
1263
|
}
|
|
1264
|
+
interface ShopifyOrderEdit {
|
|
1265
|
+
readonly id: number;
|
|
1266
|
+
readonly created_at: string;
|
|
1267
|
+
readonly notify_customer: boolean;
|
|
1268
|
+
readonly order_id: number;
|
|
1269
|
+
readonly staff_note: string;
|
|
1270
|
+
readonly user_id?: number;
|
|
1271
|
+
readonly line_items: io.flow.shopify.xborder.v0.models.ShopifyOrderEditLineItems;
|
|
1272
|
+
readonly discounts: any;
|
|
1273
|
+
readonly shipping_lines: any;
|
|
1274
|
+
}
|
|
1275
|
+
interface ShopifyOrderEditLineItems {
|
|
1276
|
+
readonly additions: io.flow.shopify.xborder.v0.models.ShopifyOrderEditLineItemsChange[];
|
|
1277
|
+
readonly removals: io.flow.shopify.xborder.v0.models.ShopifyOrderEditLineItemsChange[];
|
|
1278
|
+
}
|
|
1279
|
+
interface ShopifyOrderEditLineItemsChange {
|
|
1280
|
+
readonly id: number;
|
|
1281
|
+
readonly delta: number;
|
|
1282
|
+
}
|
|
1283
|
+
interface ShopifyOrderEditWrapper {
|
|
1284
|
+
readonly order_edit: io.flow.shopify.xborder.v0.models.ShopifyOrderEdit;
|
|
1285
|
+
}
|
|
1264
1286
|
interface ShopifyOrderFulfillment {
|
|
1265
1287
|
readonly created_at?: string;
|
|
1266
1288
|
readonly id?: number;
|
|
@@ -10644,7 +10666,7 @@ declare namespace io.flow.checkout.protocol.v0.enums {
|
|
|
10644
10666
|
type CheckoutAddPaymentDetailsErrorCode = 'payment_failed' | 'authorization_form_not_supported' | 'authorization_invalid_amount' | 'authorization_invalid_currency' | 'authorization_amount_exceeds_balance' | 'address_street1_required';
|
|
10645
10667
|
type CheckoutCreateAuthorizationDetailsErrorCode = 'checkout_not_found' | 'authorization_details_payment_not_found';
|
|
10646
10668
|
type CheckoutCreateAuthorizationErrorCode = 'authorization_form_not_supported' | 'authorization_invalid_amount' | 'authorization_invalid_currency' | 'authorization_amount_exceeds_balance' | 'address_street1_required';
|
|
10647
|
-
type CheckoutCreateBySessionByOrderErrorCode = 'session_not_found' | 'session_experience_required' | '
|
|
10669
|
+
type CheckoutCreateBySessionByOrderErrorCode = 'session_not_found' | 'session_experience_required' | 'order_not_found' | 'country_not_supported';
|
|
10648
10670
|
type CheckoutCreateBySessionErrorCode = 'session_not_found' | 'session_experience_required' | 'country_not_supported';
|
|
10649
10671
|
type CheckoutDeleteAddressStreetErrorCode = 'address_line_number_invalid';
|
|
10650
10672
|
type CheckoutDeleteLineErrorCode = 'line_not_found';
|
|
@@ -10661,6 +10683,7 @@ declare namespace io.flow.checkout.protocol.v0.enums {
|
|
|
10661
10683
|
type CheckoutInfoOrderSummaryKeyField = 'shipping_country' | 'shipping_province' | 'shipping_postal' | 'delivery_option_id';
|
|
10662
10684
|
type CheckoutInfoPaymentDetailsKeyField = 'value' | 'currency' | 'payment_method_id';
|
|
10663
10685
|
type CheckoutInfoPaymentsFormDataKeyField = 'value' | 'currency' | 'shipping_country';
|
|
10686
|
+
type CheckoutInfoTranslationsKeyField = 'locale';
|
|
10664
10687
|
type CheckoutInitiatePaymentErrorCode = 'payment_failed' | 'authorization_form_not_supported' | 'authorization_invalid_amount' | 'authorization_invalid_currency' | 'authorization_amount_exceeds_balance' | 'address_street1_required';
|
|
10665
10688
|
type CheckoutPaymentAuthorizationParametersErrorCode = 'order_balance_not_available';
|
|
10666
10689
|
type CheckoutSetAddressCityErrorCode = 'address_city_invalid' | 'address_city_required';
|
|
@@ -10736,9 +10759,19 @@ declare namespace io.flow.checkout.protocol.v0.models {
|
|
|
10736
10759
|
readonly code: io.flow.checkout.protocol.v0.enums.CheckoutCreateBySessionByOrderErrorCode;
|
|
10737
10760
|
readonly message: string;
|
|
10738
10761
|
}
|
|
10762
|
+
interface CheckoutCreateBySessionByOrderRequestForm {
|
|
10763
|
+
readonly discriminator: 'checkout_create_by_session_by_order_request_form';
|
|
10764
|
+
readonly session_id: string;
|
|
10765
|
+
readonly order_number: string;
|
|
10766
|
+
}
|
|
10739
10767
|
interface CheckoutCreateBySessionByOrderResponseError {
|
|
10768
|
+
readonly discriminator: 'checkout_create_by_session_by_order_response_error';
|
|
10740
10769
|
readonly errors: io.flow.checkout.protocol.v0.models.CheckoutCreateBySessionByOrderError[];
|
|
10741
10770
|
}
|
|
10771
|
+
interface CheckoutCreateBySessionByOrderResponseSuccess {
|
|
10772
|
+
readonly discriminator: 'checkout_create_by_session_by_order_response_success';
|
|
10773
|
+
readonly checkout: io.flow.checkout.backend.v0.models.V2Checkout;
|
|
10774
|
+
}
|
|
10742
10775
|
interface CheckoutCreateBySessionError {
|
|
10743
10776
|
readonly code: io.flow.checkout.protocol.v0.enums.CheckoutCreateBySessionErrorCode;
|
|
10744
10777
|
readonly message: string;
|
|
@@ -10915,6 +10948,15 @@ declare namespace io.flow.checkout.protocol.v0.models {
|
|
|
10915
10948
|
readonly discriminator: 'checkout_info_public_key';
|
|
10916
10949
|
readonly data: io.flow.payment.v0.models.PublicKey;
|
|
10917
10950
|
}
|
|
10951
|
+
interface CheckoutInfoTranslations {
|
|
10952
|
+
readonly discriminator: 'checkout_info_translations';
|
|
10953
|
+
readonly key: io.flow.checkout.protocol.v0.models.CheckoutInfoTranslationsKey[];
|
|
10954
|
+
readonly data: any;
|
|
10955
|
+
}
|
|
10956
|
+
interface CheckoutInfoTranslationsKey {
|
|
10957
|
+
readonly field: io.flow.checkout.protocol.v0.enums.CheckoutInfoTranslationsKeyField;
|
|
10958
|
+
readonly value: string;
|
|
10959
|
+
}
|
|
10918
10960
|
interface CheckoutInitiatePaymentError {
|
|
10919
10961
|
readonly code: io.flow.checkout.protocol.v0.enums.CheckoutInitiatePaymentErrorCode;
|
|
10920
10962
|
readonly message: string;
|
|
@@ -11447,13 +11489,14 @@ declare namespace io.flow.checkout.protocol.v0.models {
|
|
|
11447
11489
|
}
|
|
11448
11490
|
declare namespace io.flow.checkout.protocol.v0.unions {
|
|
11449
11491
|
type CheckoutCreateAuthorizationDetailsResponse = io.flow.checkout.protocol.v0.models.CheckoutCreateAuthorizationDetailsResponseError | io.flow.checkout.protocol.v0.models.CheckoutCreateAuthorizationDetailsResponseSuccess;
|
|
11492
|
+
type CheckoutCreateBySessionByOrderResponse = io.flow.checkout.protocol.v0.models.CheckoutCreateBySessionByOrderResponseError | io.flow.checkout.protocol.v0.models.CheckoutCreateBySessionByOrderResponseSuccess;
|
|
11450
11493
|
type CheckoutCreateBySessionResponse = io.flow.checkout.protocol.v0.models.CheckoutCreateBySessionResponseError | io.flow.checkout.protocol.v0.models.CheckoutCreateBySessionResponseSuccess;
|
|
11451
11494
|
type CheckoutFeaturesResponse = io.flow.checkout.protocol.v0.models.CheckoutFeaturesResponseError | io.flow.checkout.protocol.v0.models.CheckoutFeaturesResponseSuccess;
|
|
11452
11495
|
type CheckoutGetResponse = io.flow.checkout.protocol.v0.models.CheckoutGetResponseError | io.flow.checkout.protocol.v0.models.CheckoutGetResponseSuccess;
|
|
11453
|
-
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;
|
|
11496
|
+
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;
|
|
11454
11497
|
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;
|
|
11455
|
-
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;
|
|
11456
|
-
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;
|
|
11498
|
+
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;
|
|
11499
|
+
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;
|
|
11457
11500
|
type CheckoutSequencedAddAuthorizationResponse = io.flow.checkout.protocol.v0.models.CheckoutSequencedAddAuthorizationResponseError | io.flow.checkout.protocol.v0.models.CheckoutSequencedAddAuthorizationResponseSuccess;
|
|
11458
11501
|
type CheckoutSequencedAddGiftCardAndPromotionCodeResponse = io.flow.checkout.protocol.v0.models.CheckoutSequencedAddGiftCardAndPromotionCodeResponseError;
|
|
11459
11502
|
type CheckoutSequencedAddGiftCardResponse = io.flow.checkout.protocol.v0.models.CheckoutSequencedAddGiftCardResponseError;
|
|
@@ -13959,7 +14002,7 @@ declare namespace io.flow.internal.v0.enums {
|
|
|
13959
14002
|
type CheckoutAssetType = 'stylesheet' | 'javascript';
|
|
13960
14003
|
type CheckoutCreateAuthorizationDetailsErrorCode = 'checkout_not_found' | 'authorization_details_payment_not_found';
|
|
13961
14004
|
type CheckoutCreateAuthorizationErrorCode = 'authorization_form_not_supported' | 'authorization_invalid_amount' | 'authorization_invalid_currency' | 'authorization_amount_exceeds_balance' | 'address_street1_required';
|
|
13962
|
-
type CheckoutCreateBySessionByOrderErrorCode = 'session_not_found' | 'session_experience_required' | '
|
|
14005
|
+
type CheckoutCreateBySessionByOrderErrorCode = 'session_not_found' | 'session_experience_required' | 'order_not_found' | 'country_not_supported';
|
|
13963
14006
|
type CheckoutCreateBySessionErrorCode = 'session_not_found' | 'session_experience_required' | 'country_not_supported';
|
|
13964
14007
|
type CheckoutDeleteAddressStreetErrorCode = 'address_line_number_invalid';
|
|
13965
14008
|
type CheckoutDeleteLineErrorCode = 'line_not_found';
|
|
@@ -13978,6 +14021,7 @@ declare namespace io.flow.internal.v0.enums {
|
|
|
13978
14021
|
type CheckoutInfoOrderSummaryKeyField = 'shipping_country' | 'shipping_province' | 'shipping_postal' | 'delivery_option_id';
|
|
13979
14022
|
type CheckoutInfoPaymentDetailsKeyField = 'value' | 'currency' | 'payment_method_id';
|
|
13980
14023
|
type CheckoutInfoPaymentsFormDataKeyField = 'value' | 'currency' | 'shipping_country';
|
|
14024
|
+
type CheckoutInfoTranslationsKeyField = 'locale';
|
|
13981
14025
|
type CheckoutInitiatePaymentErrorCode = 'payment_failed' | 'authorization_form_not_supported' | 'authorization_invalid_amount' | 'authorization_invalid_currency' | 'authorization_amount_exceeds_balance' | 'address_street1_required';
|
|
13982
14026
|
type CheckoutLineErrorCode = 'line_quantity_invalid' | 'line_item_number_invalid' | 'line_item_number_not_available' | 'line_value_threshold_exceeded';
|
|
13983
14027
|
type CheckoutPaymentAuthorizationParametersErrorCode = 'order_balance_not_available';
|
|
@@ -14966,13 +15010,13 @@ declare namespace io.flow.internal.v0.models {
|
|
|
14966
15010
|
readonly carrier: io.flow.fulfillment.v0.models.CarrierReference;
|
|
14967
15011
|
readonly credentials: io.flow.tracking.internal.v0.unions.CarrierCredentials;
|
|
14968
15012
|
readonly q?: string;
|
|
14969
|
-
readonly position
|
|
15013
|
+
readonly position: number;
|
|
14970
15014
|
}
|
|
14971
15015
|
interface CarrierAccountForm {
|
|
14972
15016
|
readonly carrier_id: string;
|
|
14973
15017
|
readonly credentials: io.flow.tracking.internal.v0.unions.CarrierCredentials;
|
|
14974
15018
|
readonly q?: string;
|
|
14975
|
-
readonly position
|
|
15019
|
+
readonly position: number;
|
|
14976
15020
|
}
|
|
14977
15021
|
interface CarrierAccountUpserted {
|
|
14978
15022
|
readonly discriminator: 'carrier_account_upserted';
|
|
@@ -15354,9 +15398,19 @@ declare namespace io.flow.internal.v0.models {
|
|
|
15354
15398
|
readonly code: io.flow.internal.v0.enums.CheckoutCreateBySessionByOrderErrorCode;
|
|
15355
15399
|
readonly message: string;
|
|
15356
15400
|
}
|
|
15401
|
+
interface CheckoutCreateBySessionByOrderRequestForm {
|
|
15402
|
+
readonly discriminator: 'checkout_create_by_session_by_order_request_form';
|
|
15403
|
+
readonly session_id: string;
|
|
15404
|
+
readonly order_number: string;
|
|
15405
|
+
}
|
|
15357
15406
|
interface CheckoutCreateBySessionByOrderResponseError {
|
|
15407
|
+
readonly discriminator: 'checkout_create_by_session_by_order_response_error';
|
|
15358
15408
|
readonly errors: io.flow.internal.v0.models.CheckoutCreateBySessionByOrderError[];
|
|
15359
15409
|
}
|
|
15410
|
+
interface CheckoutCreateBySessionByOrderResponseSuccess {
|
|
15411
|
+
readonly discriminator: 'checkout_create_by_session_by_order_response_success';
|
|
15412
|
+
readonly checkout: io.flow.checkout.backend.v0.models.V2Checkout;
|
|
15413
|
+
}
|
|
15360
15414
|
interface CheckoutCreateBySessionError {
|
|
15361
15415
|
readonly code: io.flow.internal.v0.enums.CheckoutCreateBySessionErrorCode;
|
|
15362
15416
|
readonly message: string;
|
|
@@ -15612,6 +15666,15 @@ declare namespace io.flow.internal.v0.models {
|
|
|
15612
15666
|
readonly discriminator: 'checkout_info_public_key';
|
|
15613
15667
|
readonly data: io.flow.payment.v0.models.PublicKey;
|
|
15614
15668
|
}
|
|
15669
|
+
interface CheckoutInfoTranslations {
|
|
15670
|
+
readonly discriminator: 'checkout_info_translations';
|
|
15671
|
+
readonly key: io.flow.internal.v0.models.CheckoutInfoTranslationsKey[];
|
|
15672
|
+
readonly data: any;
|
|
15673
|
+
}
|
|
15674
|
+
interface CheckoutInfoTranslationsKey {
|
|
15675
|
+
readonly field: io.flow.internal.v0.enums.CheckoutInfoTranslationsKeyField;
|
|
15676
|
+
readonly value: string;
|
|
15677
|
+
}
|
|
15615
15678
|
interface CheckoutInitiateDirectPaymentForm {
|
|
15616
15679
|
readonly discriminator: 'initiate_direct_payment_form';
|
|
15617
15680
|
readonly token: string;
|
|
@@ -21597,12 +21660,13 @@ declare namespace io.flow.internal.v0.unions {
|
|
|
21597
21660
|
type CheckoutAnalyticsPayment = io.flow.internal.v0.models.CheckoutAnalyticsPaymentCard | io.flow.internal.v0.models.CheckoutAnalyticsPaymentGiftCard | io.flow.internal.v0.models.CheckoutAnalyticsPaymentOnline;
|
|
21598
21661
|
type CheckoutConfirmationDetails = io.flow.internal.v0.models.CheckoutDirectDebit;
|
|
21599
21662
|
type CheckoutCreateAuthorizationDetailsResponse = io.flow.internal.v0.models.CheckoutCreateAuthorizationDetailsResponseError | io.flow.internal.v0.models.CheckoutCreateAuthorizationDetailsResponseSuccess;
|
|
21663
|
+
type CheckoutCreateBySessionByOrderResponse = io.flow.internal.v0.models.CheckoutCreateBySessionByOrderResponseError | io.flow.internal.v0.models.CheckoutCreateBySessionByOrderResponseSuccess;
|
|
21600
21664
|
type CheckoutCreateBySessionResponse = io.flow.internal.v0.models.CheckoutCreateBySessionResponseError | io.flow.internal.v0.models.CheckoutCreateBySessionResponseSuccess;
|
|
21601
21665
|
type CheckoutDeliveryWindow = io.flow.internal.v0.models.CheckoutDeliveryWindowStatic | io.flow.internal.v0.models.CheckoutDeliveryWindowEstimate;
|
|
21602
21666
|
type CheckoutFeaturesResponse = io.flow.internal.v0.models.CheckoutFeaturesResponseError | io.flow.internal.v0.models.CheckoutFeaturesResponseSuccess;
|
|
21603
21667
|
type CheckoutForm = io.flow.internal.v0.models.CheckoutOrderForm | io.flow.internal.v0.models.CheckoutOrderNumberForm;
|
|
21604
21668
|
type CheckoutGetResponse = io.flow.internal.v0.models.CheckoutGetResponseError | io.flow.internal.v0.models.CheckoutGetResponseSuccess;
|
|
21605
|
-
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;
|
|
21669
|
+
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;
|
|
21606
21670
|
type CheckoutInitiatePaymentForm = io.flow.internal.v0.models.CheckoutInitiateRedirectPaymentForm | io.flow.internal.v0.models.CheckoutInitiateInlinePaymentForm | io.flow.internal.v0.models.CheckoutInitiateDirectPaymentForm;
|
|
21607
21671
|
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;
|
|
21608
21672
|
type CheckoutOrder = io.flow.internal.v0.models.CheckoutOpenOrder | io.flow.internal.v0.models.CheckoutSubmittedOrder;
|
|
@@ -21613,8 +21677,8 @@ declare namespace io.flow.internal.v0.unions {
|
|
|
21613
21677
|
type CheckoutPaymentActionRequirement = io.flow.internal.v0.models.CheckoutRedirectAuthorizationRequirement | io.flow.internal.v0.models.CheckoutInlineAuthorizationRequirement | io.flow.internal.v0.models.CheckoutDirectAuthorizationRequirement;
|
|
21614
21678
|
type CheckoutPaymentDetailsForm = io.flow.internal.v0.models.CheckoutPaypalAuthorizationPayload | io.flow.internal.v0.models.CheckoutGooglePayAuthorizationPayload | io.flow.internal.v0.models.CheckoutCreditPaymentPayload;
|
|
21615
21679
|
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;
|
|
21616
|
-
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;
|
|
21617
|
-
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;
|
|
21680
|
+
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;
|
|
21681
|
+
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;
|
|
21618
21682
|
type CheckoutSequencedAddAuthorizationResponse = io.flow.internal.v0.models.CheckoutSequencedAddAuthorizationResponseError | io.flow.internal.v0.models.CheckoutSequencedAddAuthorizationResponseSuccess;
|
|
21619
21683
|
type CheckoutSequencedAddGiftCardAndPromotionCodeResponse = io.flow.internal.v0.models.CheckoutSequencedAddGiftCardAndPromotionCodeResponseError;
|
|
21620
21684
|
type CheckoutSequencedAddGiftCardResponse = io.flow.internal.v0.models.CheckoutSequencedAddGiftCardResponseError;
|
|
@@ -21965,7 +22029,10 @@ export declare type CheckoutCreateAuthorizationError = io.flow.internal.v0.model
|
|
|
21965
22029
|
export declare type CheckoutCreateAuthorizationErrorCode = io.flow.internal.v0.enums.CheckoutCreateAuthorizationErrorCode;
|
|
21966
22030
|
export declare type CheckoutCreateBySessionByOrderError = io.flow.internal.v0.models.CheckoutCreateBySessionByOrderError;
|
|
21967
22031
|
export declare type CheckoutCreateBySessionByOrderErrorCode = io.flow.internal.v0.enums.CheckoutCreateBySessionByOrderErrorCode;
|
|
22032
|
+
export declare type CheckoutCreateBySessionByOrderRequestForm = io.flow.internal.v0.models.CheckoutCreateBySessionByOrderRequestForm;
|
|
22033
|
+
export declare type CheckoutCreateBySessionByOrderResponse = io.flow.internal.v0.unions.CheckoutCreateBySessionByOrderResponse;
|
|
21968
22034
|
export declare type CheckoutCreateBySessionByOrderResponseError = io.flow.internal.v0.models.CheckoutCreateBySessionByOrderResponseError;
|
|
22035
|
+
export declare type CheckoutCreateBySessionByOrderResponseSuccess = io.flow.internal.v0.models.CheckoutCreateBySessionByOrderResponseSuccess;
|
|
21969
22036
|
export declare type CheckoutCreateBySessionError = io.flow.internal.v0.models.CheckoutCreateBySessionError;
|
|
21970
22037
|
export declare type CheckoutCreateBySessionErrorCode = io.flow.internal.v0.enums.CheckoutCreateBySessionErrorCode;
|
|
21971
22038
|
export declare type CheckoutCreateBySessionRequestForm = io.flow.internal.v0.models.CheckoutCreateBySessionRequestForm;
|
|
@@ -22049,6 +22116,9 @@ export declare type CheckoutInfoPaymentsFormData = io.flow.internal.v0.models.Ch
|
|
|
22049
22116
|
export declare type CheckoutInfoPaymentsFormDataKey = io.flow.internal.v0.models.CheckoutInfoPaymentsFormDataKey;
|
|
22050
22117
|
export declare type CheckoutInfoPaymentsFormDataKeyField = io.flow.internal.v0.enums.CheckoutInfoPaymentsFormDataKeyField;
|
|
22051
22118
|
export declare type CheckoutInfoPublicKey = io.flow.internal.v0.models.CheckoutInfoPublicKey;
|
|
22119
|
+
export declare type CheckoutInfoTranslations = io.flow.internal.v0.models.CheckoutInfoTranslations;
|
|
22120
|
+
export declare type CheckoutInfoTranslationsKey = io.flow.internal.v0.models.CheckoutInfoTranslationsKey;
|
|
22121
|
+
export declare type CheckoutInfoTranslationsKeyField = io.flow.internal.v0.enums.CheckoutInfoTranslationsKeyField;
|
|
22052
22122
|
export declare type CheckoutInitiateDirectPaymentForm = io.flow.internal.v0.models.CheckoutInitiateDirectPaymentForm;
|
|
22053
22123
|
export declare type CheckoutInitiateInlinePaymentForm = io.flow.internal.v0.models.CheckoutInitiateInlinePaymentForm;
|
|
22054
22124
|
export declare type CheckoutInitiatePaymentError = io.flow.internal.v0.models.CheckoutInitiatePaymentError;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@flowio/types",
|
|
3
|
-
"version": "11.
|
|
3
|
+
"version": "11.16.0",
|
|
4
4
|
"description": "TypeScript type definitions for custom types found in Flow API",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -25,5 +25,5 @@
|
|
|
25
25
|
"maintainers": [
|
|
26
26
|
"Christian Muñoz <christian.munoz@flow.io>"
|
|
27
27
|
],
|
|
28
|
-
"gitHead": "
|
|
28
|
+
"gitHead": "4f33dd3511d45000dd2c832ede028d2388f13ff4"
|
|
29
29
|
}
|
package/src/api-internal.ts
CHANGED
|
@@ -1636,6 +1636,32 @@ declare namespace io.flow.shopify.xborder.v0.models {
|
|
|
1636
1636
|
readonly tax_lines: io.flow.shopify.xborder.v0.models.ShopifyOrderTaxLine[];
|
|
1637
1637
|
}
|
|
1638
1638
|
|
|
1639
|
+
interface ShopifyOrderEdit {
|
|
1640
|
+
readonly id: number;
|
|
1641
|
+
readonly created_at: string;
|
|
1642
|
+
readonly notify_customer: boolean;
|
|
1643
|
+
readonly order_id: number;
|
|
1644
|
+
readonly staff_note: string;
|
|
1645
|
+
readonly user_id?: number;
|
|
1646
|
+
readonly line_items: io.flow.shopify.xborder.v0.models.ShopifyOrderEditLineItems;
|
|
1647
|
+
readonly discounts: any /*object*/;
|
|
1648
|
+
readonly shipping_lines: any /*object*/;
|
|
1649
|
+
}
|
|
1650
|
+
|
|
1651
|
+
interface ShopifyOrderEditLineItems {
|
|
1652
|
+
readonly additions: io.flow.shopify.xborder.v0.models.ShopifyOrderEditLineItemsChange[];
|
|
1653
|
+
readonly removals: io.flow.shopify.xborder.v0.models.ShopifyOrderEditLineItemsChange[];
|
|
1654
|
+
}
|
|
1655
|
+
|
|
1656
|
+
interface ShopifyOrderEditLineItemsChange {
|
|
1657
|
+
readonly id: number;
|
|
1658
|
+
readonly delta: number;
|
|
1659
|
+
}
|
|
1660
|
+
|
|
1661
|
+
interface ShopifyOrderEditWrapper {
|
|
1662
|
+
readonly order_edit: io.flow.shopify.xborder.v0.models.ShopifyOrderEdit;
|
|
1663
|
+
}
|
|
1664
|
+
|
|
1639
1665
|
interface ShopifyOrderFulfillment {
|
|
1640
1666
|
readonly created_at?: string;
|
|
1641
1667
|
readonly id?: number;
|
|
@@ -13752,8 +13778,8 @@ declare namespace io.flow.checkout.protocol.v0.enums {
|
|
|
13752
13778
|
type CheckoutCreateBySessionByOrderErrorCode =
|
|
13753
13779
|
| 'session_not_found'
|
|
13754
13780
|
| 'session_experience_required'
|
|
13755
|
-
| '
|
|
13756
|
-
| '
|
|
13781
|
+
| 'order_not_found'
|
|
13782
|
+
| 'country_not_supported';
|
|
13757
13783
|
type CheckoutCreateBySessionErrorCode =
|
|
13758
13784
|
| 'session_not_found'
|
|
13759
13785
|
| 'session_experience_required'
|
|
@@ -13795,6 +13821,7 @@ declare namespace io.flow.checkout.protocol.v0.enums {
|
|
|
13795
13821
|
| 'value'
|
|
13796
13822
|
| 'currency'
|
|
13797
13823
|
| 'shipping_country';
|
|
13824
|
+
type CheckoutInfoTranslationsKeyField = 'locale';
|
|
13798
13825
|
type CheckoutInitiatePaymentErrorCode =
|
|
13799
13826
|
| 'payment_failed'
|
|
13800
13827
|
| 'authorization_form_not_supported'
|
|
@@ -13996,10 +14023,22 @@ declare namespace io.flow.checkout.protocol.v0.models {
|
|
|
13996
14023
|
readonly message: string;
|
|
13997
14024
|
}
|
|
13998
14025
|
|
|
14026
|
+
interface CheckoutCreateBySessionByOrderRequestForm {
|
|
14027
|
+
readonly discriminator: 'checkout_create_by_session_by_order_request_form';
|
|
14028
|
+
readonly session_id: string;
|
|
14029
|
+
readonly order_number: string;
|
|
14030
|
+
}
|
|
14031
|
+
|
|
13999
14032
|
interface CheckoutCreateBySessionByOrderResponseError {
|
|
14033
|
+
readonly discriminator: 'checkout_create_by_session_by_order_response_error';
|
|
14000
14034
|
readonly errors: io.flow.checkout.protocol.v0.models.CheckoutCreateBySessionByOrderError[];
|
|
14001
14035
|
}
|
|
14002
14036
|
|
|
14037
|
+
interface CheckoutCreateBySessionByOrderResponseSuccess {
|
|
14038
|
+
readonly discriminator: 'checkout_create_by_session_by_order_response_success';
|
|
14039
|
+
readonly checkout: io.flow.checkout.backend.v0.models.V2Checkout;
|
|
14040
|
+
}
|
|
14041
|
+
|
|
14003
14042
|
interface CheckoutCreateBySessionError {
|
|
14004
14043
|
readonly code: io.flow.checkout.protocol.v0.enums.CheckoutCreateBySessionErrorCode;
|
|
14005
14044
|
readonly message: string;
|
|
@@ -14217,6 +14256,17 @@ declare namespace io.flow.checkout.protocol.v0.models {
|
|
|
14217
14256
|
readonly data: io.flow.payment.v0.models.PublicKey;
|
|
14218
14257
|
}
|
|
14219
14258
|
|
|
14259
|
+
interface CheckoutInfoTranslations {
|
|
14260
|
+
readonly discriminator: 'checkout_info_translations';
|
|
14261
|
+
readonly key: io.flow.checkout.protocol.v0.models.CheckoutInfoTranslationsKey[];
|
|
14262
|
+
readonly data: any /*object*/;
|
|
14263
|
+
}
|
|
14264
|
+
|
|
14265
|
+
interface CheckoutInfoTranslationsKey {
|
|
14266
|
+
readonly field: io.flow.checkout.protocol.v0.enums.CheckoutInfoTranslationsKeyField;
|
|
14267
|
+
readonly value: string;
|
|
14268
|
+
}
|
|
14269
|
+
|
|
14220
14270
|
interface CheckoutInitiatePaymentError {
|
|
14221
14271
|
readonly code: io.flow.checkout.protocol.v0.enums.CheckoutInitiatePaymentErrorCode;
|
|
14222
14272
|
readonly message: string;
|
|
@@ -14876,6 +14926,9 @@ declare namespace io.flow.checkout.protocol.v0.unions {
|
|
|
14876
14926
|
type CheckoutCreateAuthorizationDetailsResponse =
|
|
14877
14927
|
| io.flow.checkout.protocol.v0.models.CheckoutCreateAuthorizationDetailsResponseError
|
|
14878
14928
|
| io.flow.checkout.protocol.v0.models.CheckoutCreateAuthorizationDetailsResponseSuccess;
|
|
14929
|
+
type CheckoutCreateBySessionByOrderResponse =
|
|
14930
|
+
| io.flow.checkout.protocol.v0.models.CheckoutCreateBySessionByOrderResponseError
|
|
14931
|
+
| io.flow.checkout.protocol.v0.models.CheckoutCreateBySessionByOrderResponseSuccess;
|
|
14879
14932
|
type CheckoutCreateBySessionResponse =
|
|
14880
14933
|
| io.flow.checkout.protocol.v0.models.CheckoutCreateBySessionResponseError
|
|
14881
14934
|
| io.flow.checkout.protocol.v0.models.CheckoutCreateBySessionResponseSuccess;
|
|
@@ -14900,7 +14953,8 @@ declare namespace io.flow.checkout.protocol.v0.unions {
|
|
|
14900
14953
|
| io.flow.checkout.protocol.v0.models.CheckoutInfoOrderSummary
|
|
14901
14954
|
| io.flow.checkout.protocol.v0.models.CheckoutInfoPaymentDetails
|
|
14902
14955
|
| io.flow.checkout.protocol.v0.models.CheckoutInfoPaymentsFormData
|
|
14903
|
-
| io.flow.checkout.protocol.v0.models.CheckoutInfoPublicKey
|
|
14956
|
+
| io.flow.checkout.protocol.v0.models.CheckoutInfoPublicKey
|
|
14957
|
+
| io.flow.checkout.protocol.v0.models.CheckoutInfoTranslations;
|
|
14904
14958
|
type CheckoutInput =
|
|
14905
14959
|
| io.flow.checkout.protocol.v0.models.CheckoutInputAddAttributes
|
|
14906
14960
|
| io.flow.checkout.protocol.v0.models.CheckoutInputDeleteAddressStreet
|
|
@@ -14924,12 +14978,15 @@ declare namespace io.flow.checkout.protocol.v0.unions {
|
|
|
14924
14978
|
| io.flow.checkout.protocol.v0.models.CheckoutInputSetOptinPrompt;
|
|
14925
14979
|
type CheckoutRequestForm =
|
|
14926
14980
|
| io.flow.checkout.protocol.v0.models.CheckoutCreateAuthorizationDetailsRequestForm
|
|
14981
|
+
| io.flow.checkout.protocol.v0.models.CheckoutCreateBySessionByOrderRequestForm
|
|
14927
14982
|
| io.flow.checkout.protocol.v0.models.CheckoutCreateBySessionRequestForm
|
|
14928
14983
|
| io.flow.checkout.protocol.v0.models.CheckoutFeaturesRequestForm
|
|
14929
14984
|
| io.flow.checkout.protocol.v0.models.CheckoutGetRequestForm;
|
|
14930
14985
|
type CheckoutResponse =
|
|
14931
14986
|
| io.flow.checkout.protocol.v0.models.CheckoutCreateAuthorizationDetailsResponseError
|
|
14932
14987
|
| io.flow.checkout.protocol.v0.models.CheckoutCreateAuthorizationDetailsResponseSuccess
|
|
14988
|
+
| io.flow.checkout.protocol.v0.models.CheckoutCreateBySessionByOrderResponseError
|
|
14989
|
+
| io.flow.checkout.protocol.v0.models.CheckoutCreateBySessionByOrderResponseSuccess
|
|
14933
14990
|
| io.flow.checkout.protocol.v0.models.CheckoutCreateBySessionResponseError
|
|
14934
14991
|
| io.flow.checkout.protocol.v0.models.CheckoutCreateBySessionResponseSuccess
|
|
14935
14992
|
| io.flow.checkout.protocol.v0.models.CheckoutFeaturesResponseError
|
|
@@ -18229,8 +18286,8 @@ declare namespace io.flow.internal.v0.enums {
|
|
|
18229
18286
|
type CheckoutCreateBySessionByOrderErrorCode =
|
|
18230
18287
|
| 'session_not_found'
|
|
18231
18288
|
| 'session_experience_required'
|
|
18232
|
-
| '
|
|
18233
|
-
| '
|
|
18289
|
+
| 'order_not_found'
|
|
18290
|
+
| 'country_not_supported';
|
|
18234
18291
|
type CheckoutCreateBySessionErrorCode =
|
|
18235
18292
|
| 'session_not_found'
|
|
18236
18293
|
| 'session_experience_required'
|
|
@@ -18288,6 +18345,7 @@ declare namespace io.flow.internal.v0.enums {
|
|
|
18288
18345
|
| 'value'
|
|
18289
18346
|
| 'currency'
|
|
18290
18347
|
| 'shipping_country';
|
|
18348
|
+
type CheckoutInfoTranslationsKeyField = 'locale';
|
|
18291
18349
|
type CheckoutInitiatePaymentErrorCode =
|
|
18292
18350
|
| 'payment_failed'
|
|
18293
18351
|
| 'authorization_form_not_supported'
|
|
@@ -19863,14 +19921,14 @@ declare namespace io.flow.internal.v0.models {
|
|
|
19863
19921
|
readonly carrier: io.flow.fulfillment.v0.models.CarrierReference;
|
|
19864
19922
|
readonly credentials: io.flow.tracking.internal.v0.unions.CarrierCredentials;
|
|
19865
19923
|
readonly q?: string;
|
|
19866
|
-
readonly position
|
|
19924
|
+
readonly position: number;
|
|
19867
19925
|
}
|
|
19868
19926
|
|
|
19869
19927
|
interface CarrierAccountForm {
|
|
19870
19928
|
readonly carrier_id: string;
|
|
19871
19929
|
readonly credentials: io.flow.tracking.internal.v0.unions.CarrierCredentials;
|
|
19872
19930
|
readonly q?: string;
|
|
19873
|
-
readonly position
|
|
19931
|
+
readonly position: number;
|
|
19874
19932
|
}
|
|
19875
19933
|
|
|
19876
19934
|
interface CarrierAccountUpserted {
|
|
@@ -20329,10 +20387,22 @@ declare namespace io.flow.internal.v0.models {
|
|
|
20329
20387
|
readonly message: string;
|
|
20330
20388
|
}
|
|
20331
20389
|
|
|
20390
|
+
interface CheckoutCreateBySessionByOrderRequestForm {
|
|
20391
|
+
readonly discriminator: 'checkout_create_by_session_by_order_request_form';
|
|
20392
|
+
readonly session_id: string;
|
|
20393
|
+
readonly order_number: string;
|
|
20394
|
+
}
|
|
20395
|
+
|
|
20332
20396
|
interface CheckoutCreateBySessionByOrderResponseError {
|
|
20397
|
+
readonly discriminator: 'checkout_create_by_session_by_order_response_error';
|
|
20333
20398
|
readonly errors: io.flow.internal.v0.models.CheckoutCreateBySessionByOrderError[];
|
|
20334
20399
|
}
|
|
20335
20400
|
|
|
20401
|
+
interface CheckoutCreateBySessionByOrderResponseSuccess {
|
|
20402
|
+
readonly discriminator: 'checkout_create_by_session_by_order_response_success';
|
|
20403
|
+
readonly checkout: io.flow.checkout.backend.v0.models.V2Checkout;
|
|
20404
|
+
}
|
|
20405
|
+
|
|
20336
20406
|
interface CheckoutCreateBySessionError {
|
|
20337
20407
|
readonly code: io.flow.internal.v0.enums.CheckoutCreateBySessionErrorCode;
|
|
20338
20408
|
readonly message: string;
|
|
@@ -20647,6 +20717,17 @@ declare namespace io.flow.internal.v0.models {
|
|
|
20647
20717
|
readonly data: io.flow.payment.v0.models.PublicKey;
|
|
20648
20718
|
}
|
|
20649
20719
|
|
|
20720
|
+
interface CheckoutInfoTranslations {
|
|
20721
|
+
readonly discriminator: 'checkout_info_translations';
|
|
20722
|
+
readonly key: io.flow.internal.v0.models.CheckoutInfoTranslationsKey[];
|
|
20723
|
+
readonly data: any /*object*/;
|
|
20724
|
+
}
|
|
20725
|
+
|
|
20726
|
+
interface CheckoutInfoTranslationsKey {
|
|
20727
|
+
readonly field: io.flow.internal.v0.enums.CheckoutInfoTranslationsKeyField;
|
|
20728
|
+
readonly value: string;
|
|
20729
|
+
}
|
|
20730
|
+
|
|
20650
20731
|
interface CheckoutInitiateDirectPaymentForm {
|
|
20651
20732
|
readonly discriminator: 'initiate_direct_payment_form';
|
|
20652
20733
|
readonly token: string;
|
|
@@ -27639,6 +27720,9 @@ declare namespace io.flow.internal.v0.unions {
|
|
|
27639
27720
|
type CheckoutCreateAuthorizationDetailsResponse =
|
|
27640
27721
|
| io.flow.internal.v0.models.CheckoutCreateAuthorizationDetailsResponseError
|
|
27641
27722
|
| io.flow.internal.v0.models.CheckoutCreateAuthorizationDetailsResponseSuccess;
|
|
27723
|
+
type CheckoutCreateBySessionByOrderResponse =
|
|
27724
|
+
| io.flow.internal.v0.models.CheckoutCreateBySessionByOrderResponseError
|
|
27725
|
+
| io.flow.internal.v0.models.CheckoutCreateBySessionByOrderResponseSuccess;
|
|
27642
27726
|
type CheckoutCreateBySessionResponse =
|
|
27643
27727
|
| io.flow.internal.v0.models.CheckoutCreateBySessionResponseError
|
|
27644
27728
|
| io.flow.internal.v0.models.CheckoutCreateBySessionResponseSuccess;
|
|
@@ -27669,7 +27753,8 @@ declare namespace io.flow.internal.v0.unions {
|
|
|
27669
27753
|
| io.flow.internal.v0.models.CheckoutInfoOrderSummary
|
|
27670
27754
|
| io.flow.internal.v0.models.CheckoutInfoPaymentDetails
|
|
27671
27755
|
| io.flow.internal.v0.models.CheckoutInfoPaymentsFormData
|
|
27672
|
-
| io.flow.internal.v0.models.CheckoutInfoPublicKey
|
|
27756
|
+
| io.flow.internal.v0.models.CheckoutInfoPublicKey
|
|
27757
|
+
| io.flow.internal.v0.models.CheckoutInfoTranslations;
|
|
27673
27758
|
type CheckoutInitiatePaymentForm =
|
|
27674
27759
|
| io.flow.internal.v0.models.CheckoutInitiateRedirectPaymentForm
|
|
27675
27760
|
| io.flow.internal.v0.models.CheckoutInitiateInlinePaymentForm
|
|
@@ -27727,12 +27812,15 @@ declare namespace io.flow.internal.v0.unions {
|
|
|
27727
27812
|
| io.flow.internal.v0.models.CheckoutPriceEstimated;
|
|
27728
27813
|
type CheckoutRequestForm =
|
|
27729
27814
|
| io.flow.internal.v0.models.CheckoutCreateAuthorizationDetailsRequestForm
|
|
27815
|
+
| io.flow.internal.v0.models.CheckoutCreateBySessionByOrderRequestForm
|
|
27730
27816
|
| io.flow.internal.v0.models.CheckoutCreateBySessionRequestForm
|
|
27731
27817
|
| io.flow.internal.v0.models.CheckoutFeaturesRequestForm
|
|
27732
27818
|
| io.flow.internal.v0.models.CheckoutGetRequestForm;
|
|
27733
27819
|
type CheckoutResponse =
|
|
27734
27820
|
| io.flow.internal.v0.models.CheckoutCreateAuthorizationDetailsResponseError
|
|
27735
27821
|
| io.flow.internal.v0.models.CheckoutCreateAuthorizationDetailsResponseSuccess
|
|
27822
|
+
| io.flow.internal.v0.models.CheckoutCreateBySessionByOrderResponseError
|
|
27823
|
+
| io.flow.internal.v0.models.CheckoutCreateBySessionByOrderResponseSuccess
|
|
27736
27824
|
| io.flow.internal.v0.models.CheckoutCreateBySessionResponseError
|
|
27737
27825
|
| io.flow.internal.v0.models.CheckoutCreateBySessionResponseSuccess
|
|
27738
27826
|
| io.flow.internal.v0.models.CheckoutFeaturesResponseError
|
|
@@ -28551,7 +28639,10 @@ export type CheckoutCreateAuthorizationError = io.flow.internal.v0.models.Checko
|
|
|
28551
28639
|
export type CheckoutCreateAuthorizationErrorCode = io.flow.internal.v0.enums.CheckoutCreateAuthorizationErrorCode;
|
|
28552
28640
|
export type CheckoutCreateBySessionByOrderError = io.flow.internal.v0.models.CheckoutCreateBySessionByOrderError;
|
|
28553
28641
|
export type CheckoutCreateBySessionByOrderErrorCode = io.flow.internal.v0.enums.CheckoutCreateBySessionByOrderErrorCode;
|
|
28642
|
+
export type CheckoutCreateBySessionByOrderRequestForm = io.flow.internal.v0.models.CheckoutCreateBySessionByOrderRequestForm;
|
|
28643
|
+
export type CheckoutCreateBySessionByOrderResponse = io.flow.internal.v0.unions.CheckoutCreateBySessionByOrderResponse;
|
|
28554
28644
|
export type CheckoutCreateBySessionByOrderResponseError = io.flow.internal.v0.models.CheckoutCreateBySessionByOrderResponseError;
|
|
28645
|
+
export type CheckoutCreateBySessionByOrderResponseSuccess = io.flow.internal.v0.models.CheckoutCreateBySessionByOrderResponseSuccess;
|
|
28555
28646
|
export type CheckoutCreateBySessionError = io.flow.internal.v0.models.CheckoutCreateBySessionError;
|
|
28556
28647
|
export type CheckoutCreateBySessionErrorCode = io.flow.internal.v0.enums.CheckoutCreateBySessionErrorCode;
|
|
28557
28648
|
export type CheckoutCreateBySessionRequestForm = io.flow.internal.v0.models.CheckoutCreateBySessionRequestForm;
|
|
@@ -28635,6 +28726,9 @@ export type CheckoutInfoPaymentsFormData = io.flow.internal.v0.models.CheckoutIn
|
|
|
28635
28726
|
export type CheckoutInfoPaymentsFormDataKey = io.flow.internal.v0.models.CheckoutInfoPaymentsFormDataKey;
|
|
28636
28727
|
export type CheckoutInfoPaymentsFormDataKeyField = io.flow.internal.v0.enums.CheckoutInfoPaymentsFormDataKeyField;
|
|
28637
28728
|
export type CheckoutInfoPublicKey = io.flow.internal.v0.models.CheckoutInfoPublicKey;
|
|
28729
|
+
export type CheckoutInfoTranslations = io.flow.internal.v0.models.CheckoutInfoTranslations;
|
|
28730
|
+
export type CheckoutInfoTranslationsKey = io.flow.internal.v0.models.CheckoutInfoTranslationsKey;
|
|
28731
|
+
export type CheckoutInfoTranslationsKeyField = io.flow.internal.v0.enums.CheckoutInfoTranslationsKeyField;
|
|
28638
28732
|
export type CheckoutInitiateDirectPaymentForm = io.flow.internal.v0.models.CheckoutInitiateDirectPaymentForm;
|
|
28639
28733
|
export type CheckoutInitiateInlinePaymentForm = io.flow.internal.v0.models.CheckoutInitiateInlinePaymentForm;
|
|
28640
28734
|
export type CheckoutInitiatePaymentError = io.flow.internal.v0.models.CheckoutInitiatePaymentError;
|