@flowio/types 11.12.0 → 11.12.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/api-internal.d.ts +165 -16
- package/dist/api.d.ts +395 -1
- package/package.json +2 -2
- package/src/api-internal.ts +225 -6
- package/src/api.ts +515 -1
package/src/api-internal.ts
CHANGED
|
@@ -365,6 +365,8 @@ declare namespace io.flow.experience.v0.models {
|
|
|
365
365
|
readonly field_validation: io.flow.experience.v0.models.AddressFieldValidation;
|
|
366
366
|
readonly provinces: io.flow.experience.v0.models.AddressConfigurationProvince[];
|
|
367
367
|
readonly formats?: io.flow.experience.v0.models.AddressConfigurationFormat[];
|
|
368
|
+
readonly province_type?: io.flow.reference.v0.enums.ProvinceType;
|
|
369
|
+
readonly postal_type?: io.flow.reference.v0.enums.PostalType;
|
|
368
370
|
}
|
|
369
371
|
|
|
370
372
|
interface AddressConfigurationFieldPlacement {
|
|
@@ -1411,10 +1413,16 @@ declare namespace io.flow.shopify.xborder.v0.enums {
|
|
|
1411
1413
|
| 'refunds/create'
|
|
1412
1414
|
| 'fulfillment_events/create'
|
|
1413
1415
|
| 'fulfillment_events/delete'
|
|
1416
|
+
| 'themes/create'
|
|
1417
|
+
| 'themes/publish'
|
|
1414
1418
|
| 'themes/update';
|
|
1415
1419
|
}
|
|
1416
1420
|
|
|
1417
1421
|
declare namespace io.flow.shopify.xborder.v0.models {
|
|
1422
|
+
interface ShopifyError {
|
|
1423
|
+
readonly errors: any /*object*/;
|
|
1424
|
+
}
|
|
1425
|
+
|
|
1418
1426
|
interface ShopifyOrder {
|
|
1419
1427
|
readonly id: number;
|
|
1420
1428
|
readonly order_number: number;
|
|
@@ -1838,15 +1846,23 @@ declare namespace io.flow.shopify.xborder.v0.models {
|
|
|
1838
1846
|
declare namespace io.flow.reference.v0.enums {
|
|
1839
1847
|
type PaymentMethodCapability = 'credit' | 'debit';
|
|
1840
1848
|
type PaymentMethodType = 'card' | 'online' | 'offline';
|
|
1849
|
+
type PostalType = 'eircode' | 'pin' | 'postal' | 'zip';
|
|
1841
1850
|
type ProvinceType =
|
|
1851
|
+
| 'area'
|
|
1842
1852
|
| 'city'
|
|
1853
|
+
| 'county'
|
|
1854
|
+
| 'department'
|
|
1843
1855
|
| 'dependency'
|
|
1844
1856
|
| 'district'
|
|
1857
|
+
| 'do_si'
|
|
1845
1858
|
| 'emirate'
|
|
1846
1859
|
| 'entity'
|
|
1860
|
+
| 'island'
|
|
1847
1861
|
| 'municipality'
|
|
1862
|
+
| 'oblast'
|
|
1848
1863
|
| 'outlying_area'
|
|
1849
1864
|
| 'parish'
|
|
1865
|
+
| 'prefecture'
|
|
1850
1866
|
| 'province'
|
|
1851
1867
|
| 'state'
|
|
1852
1868
|
| 'territory'
|
|
@@ -7973,7 +7989,7 @@ declare namespace io.flow.common.v0.enums {
|
|
|
7973
7989
|
| 'saturday';
|
|
7974
7990
|
type DeliveredDuty = 'paid' | 'unpaid';
|
|
7975
7991
|
type DiscountTarget = 'item' | 'shipping';
|
|
7976
|
-
type EntityIdentifierType = 'ioss';
|
|
7992
|
+
type EntityIdentifierType = 'ioss' | 'voec';
|
|
7977
7993
|
type Environment = 'sandbox' | 'production';
|
|
7978
7994
|
type ExceptionType = 'open' | 'closed';
|
|
7979
7995
|
type GoodsSupply = 'export' | 'intra_community' | 'local';
|
|
@@ -10771,12 +10787,14 @@ declare namespace io.flow.label.internal.v0.models {
|
|
|
10771
10787
|
readonly address: io.flow.common.v0.models.BillingAddress;
|
|
10772
10788
|
readonly contact: io.flow.common.v0.models.Contact;
|
|
10773
10789
|
readonly suggest_username_indicator?: string;
|
|
10790
|
+
readonly shipper_account_status?: string;
|
|
10774
10791
|
}
|
|
10775
10792
|
|
|
10776
10793
|
interface UpsRegistrationForm {
|
|
10777
10794
|
readonly username: string;
|
|
10778
10795
|
readonly password: string;
|
|
10779
10796
|
readonly access_license_number: string;
|
|
10797
|
+
readonly account_number: string;
|
|
10780
10798
|
readonly address: io.flow.common.v0.models.BillingAddress;
|
|
10781
10799
|
readonly contact: io.flow.common.v0.models.Contact;
|
|
10782
10800
|
readonly shipper_account?: io.flow.label.internal.v0.models.ShipperAccountInfoForm;
|
|
@@ -13733,6 +13751,12 @@ declare namespace io.flow.checkout.protocol.v0.enums {
|
|
|
13733
13751
|
| 'address_country_invalid'
|
|
13734
13752
|
| 'address_country_required'
|
|
13735
13753
|
| 'country_not_supported';
|
|
13754
|
+
type CheckoutSetAddressFirstNameErrorCode =
|
|
13755
|
+
| 'first_name_required'
|
|
13756
|
+
| 'first_name_invalid';
|
|
13757
|
+
type CheckoutSetAddressLastNameErrorCode =
|
|
13758
|
+
| 'last_name_required'
|
|
13759
|
+
| 'last_name_invalid';
|
|
13736
13760
|
type CheckoutSetAddressNameErrorCode =
|
|
13737
13761
|
| 'name_missing_first_or_last'
|
|
13738
13762
|
| 'name_required';
|
|
@@ -13817,11 +13841,15 @@ declare namespace io.flow.checkout.protocol.v0.enums {
|
|
|
13817
13841
|
| 'delivery_option_not_found'
|
|
13818
13842
|
| 'delivery_option_not_supported'
|
|
13819
13843
|
| 'delivery_option_required'
|
|
13844
|
+
| 'first_name_invalid'
|
|
13845
|
+
| 'first_name_required'
|
|
13820
13846
|
| 'gift_card_insufficient_funds'
|
|
13821
13847
|
| 'gift_card_invalid_number'
|
|
13822
13848
|
| 'gift_card_not_supported'
|
|
13823
13849
|
| 'invalid_prediction'
|
|
13824
13850
|
| 'language_invalid'
|
|
13851
|
+
| 'last_name_invalid'
|
|
13852
|
+
| 'last_name_required'
|
|
13825
13853
|
| 'line_item_number_invalid'
|
|
13826
13854
|
| 'line_item_number_not_available'
|
|
13827
13855
|
| 'line_not_found'
|
|
@@ -14143,12 +14171,30 @@ declare namespace io.flow.checkout.protocol.v0.models {
|
|
|
14143
14171
|
readonly city: string;
|
|
14144
14172
|
}
|
|
14145
14173
|
|
|
14174
|
+
interface CheckoutInputSetAddressCompany {
|
|
14175
|
+
readonly discriminator: 'checkout_input_set_address_company';
|
|
14176
|
+
readonly type: io.flow.checkout.backend.v0.enums.CheckoutAddressType;
|
|
14177
|
+
readonly company: string;
|
|
14178
|
+
}
|
|
14179
|
+
|
|
14146
14180
|
interface CheckoutInputSetAddressCountry {
|
|
14147
14181
|
readonly discriminator: 'checkout_input_set_address_country';
|
|
14148
14182
|
readonly type: io.flow.checkout.backend.v0.enums.CheckoutAddressType;
|
|
14149
14183
|
readonly country: string;
|
|
14150
14184
|
}
|
|
14151
14185
|
|
|
14186
|
+
interface CheckoutInputSetAddressFirstName {
|
|
14187
|
+
readonly discriminator: 'checkout_input_set_address_first_name';
|
|
14188
|
+
readonly type: io.flow.checkout.backend.v0.enums.CheckoutAddressType;
|
|
14189
|
+
readonly first_name: string;
|
|
14190
|
+
}
|
|
14191
|
+
|
|
14192
|
+
interface CheckoutInputSetAddressLastName {
|
|
14193
|
+
readonly discriminator: 'checkout_input_set_address_last_name';
|
|
14194
|
+
readonly type: io.flow.checkout.backend.v0.enums.CheckoutAddressType;
|
|
14195
|
+
readonly last_name: string;
|
|
14196
|
+
}
|
|
14197
|
+
|
|
14152
14198
|
interface CheckoutInputSetAddressName {
|
|
14153
14199
|
readonly discriminator: 'checkout_input_set_address_name';
|
|
14154
14200
|
readonly type: io.flow.checkout.backend.v0.enums.CheckoutAddressType;
|
|
@@ -14416,6 +14462,12 @@ declare namespace io.flow.checkout.protocol.v0.models {
|
|
|
14416
14462
|
readonly errors: io.flow.checkout.protocol.v0.models.CheckoutSetAddressCityError[];
|
|
14417
14463
|
}
|
|
14418
14464
|
|
|
14465
|
+
interface CheckoutSequencedSetAddressCompanyRequestForm {
|
|
14466
|
+
readonly discriminator: 'checkout_sequenced_set_address_company_request_form';
|
|
14467
|
+
readonly type: io.flow.checkout.backend.v0.enums.CheckoutAddressType;
|
|
14468
|
+
readonly company: string;
|
|
14469
|
+
}
|
|
14470
|
+
|
|
14419
14471
|
interface CheckoutSequencedSetAddressCountryRequestForm {
|
|
14420
14472
|
readonly discriminator: 'checkout_sequenced_set_address_country_request_form';
|
|
14421
14473
|
readonly type: io.flow.checkout.backend.v0.enums.CheckoutAddressType;
|
|
@@ -14427,6 +14479,28 @@ declare namespace io.flow.checkout.protocol.v0.models {
|
|
|
14427
14479
|
readonly errors: io.flow.checkout.protocol.v0.models.CheckoutSetAddressCountryError[];
|
|
14428
14480
|
}
|
|
14429
14481
|
|
|
14482
|
+
interface CheckoutSequencedSetAddressFirstNameRequestForm {
|
|
14483
|
+
readonly discriminator: 'checkout_sequenced_set_address_first_name_request_form';
|
|
14484
|
+
readonly type: io.flow.checkout.backend.v0.enums.CheckoutAddressType;
|
|
14485
|
+
readonly first_name: string;
|
|
14486
|
+
}
|
|
14487
|
+
|
|
14488
|
+
interface CheckoutSequencedSetAddressFirstNameResponseError {
|
|
14489
|
+
readonly discriminator: 'checkout_sequenced_set_address_first_name_response_error';
|
|
14490
|
+
readonly errors: io.flow.checkout.protocol.v0.models.CheckoutSetAddressFirstNameError[];
|
|
14491
|
+
}
|
|
14492
|
+
|
|
14493
|
+
interface CheckoutSequencedSetAddressLastNameRequestForm {
|
|
14494
|
+
readonly discriminator: 'checkout_sequenced_set_address_last_name_request_form';
|
|
14495
|
+
readonly type: io.flow.checkout.backend.v0.enums.CheckoutAddressType;
|
|
14496
|
+
readonly last_name: string;
|
|
14497
|
+
}
|
|
14498
|
+
|
|
14499
|
+
interface CheckoutSequencedSetAddressLastNameResponseError {
|
|
14500
|
+
readonly discriminator: 'checkout_sequenced_set_address_last_name_response_error';
|
|
14501
|
+
readonly errors: io.flow.checkout.protocol.v0.models.CheckoutSetAddressLastNameError[];
|
|
14502
|
+
}
|
|
14503
|
+
|
|
14430
14504
|
interface CheckoutSequencedSetAddressNameRequestForm {
|
|
14431
14505
|
readonly discriminator: 'checkout_sequenced_set_address_name_request_form';
|
|
14432
14506
|
readonly type: io.flow.checkout.backend.v0.enums.CheckoutAddressType;
|
|
@@ -14626,6 +14700,16 @@ declare namespace io.flow.checkout.protocol.v0.models {
|
|
|
14626
14700
|
readonly message: string;
|
|
14627
14701
|
}
|
|
14628
14702
|
|
|
14703
|
+
interface CheckoutSetAddressFirstNameError {
|
|
14704
|
+
readonly code: io.flow.checkout.protocol.v0.enums.CheckoutSetAddressFirstNameErrorCode;
|
|
14705
|
+
readonly message: string;
|
|
14706
|
+
}
|
|
14707
|
+
|
|
14708
|
+
interface CheckoutSetAddressLastNameError {
|
|
14709
|
+
readonly code: io.flow.checkout.protocol.v0.enums.CheckoutSetAddressLastNameErrorCode;
|
|
14710
|
+
readonly message: string;
|
|
14711
|
+
}
|
|
14712
|
+
|
|
14629
14713
|
interface CheckoutSetAddressNameError {
|
|
14630
14714
|
readonly code: io.flow.checkout.protocol.v0.enums.CheckoutSetAddressNameErrorCode;
|
|
14631
14715
|
readonly message: string;
|
|
@@ -14753,7 +14837,10 @@ declare namespace io.flow.checkout.protocol.v0.unions {
|
|
|
14753
14837
|
| io.flow.checkout.protocol.v0.models.CheckoutInputAddAttributes
|
|
14754
14838
|
| io.flow.checkout.protocol.v0.models.CheckoutInputDeleteAddressStreet
|
|
14755
14839
|
| io.flow.checkout.protocol.v0.models.CheckoutInputSetAddressCity
|
|
14840
|
+
| io.flow.checkout.protocol.v0.models.CheckoutInputSetAddressCompany
|
|
14756
14841
|
| io.flow.checkout.protocol.v0.models.CheckoutInputSetAddressCountry
|
|
14842
|
+
| io.flow.checkout.protocol.v0.models.CheckoutInputSetAddressFirstName
|
|
14843
|
+
| io.flow.checkout.protocol.v0.models.CheckoutInputSetAddressLastName
|
|
14757
14844
|
| io.flow.checkout.protocol.v0.models.CheckoutInputSetAddressName
|
|
14758
14845
|
| io.flow.checkout.protocol.v0.models.CheckoutInputSetAddressPostal
|
|
14759
14846
|
| io.flow.checkout.protocol.v0.models.CheckoutInputSetAddressProvince
|
|
@@ -14824,7 +14911,10 @@ declare namespace io.flow.checkout.protocol.v0.unions {
|
|
|
14824
14911
|
| io.flow.checkout.protocol.v0.models.CheckoutSequencedInitiatePaymentRequestForm
|
|
14825
14912
|
| io.flow.checkout.protocol.v0.models.CheckoutSequencedPaymentAuthorizationParametersRequestForm
|
|
14826
14913
|
| io.flow.checkout.protocol.v0.models.CheckoutSequencedSetAddressCityRequestForm
|
|
14914
|
+
| io.flow.checkout.protocol.v0.models.CheckoutSequencedSetAddressCompanyRequestForm
|
|
14827
14915
|
| io.flow.checkout.protocol.v0.models.CheckoutSequencedSetAddressCountryRequestForm
|
|
14916
|
+
| io.flow.checkout.protocol.v0.models.CheckoutSequencedSetAddressFirstNameRequestForm
|
|
14917
|
+
| io.flow.checkout.protocol.v0.models.CheckoutSequencedSetAddressLastNameRequestForm
|
|
14828
14918
|
| io.flow.checkout.protocol.v0.models.CheckoutSequencedSetAddressNameRequestForm
|
|
14829
14919
|
| io.flow.checkout.protocol.v0.models.CheckoutSequencedSetAddressPostalRequestForm
|
|
14830
14920
|
| io.flow.checkout.protocol.v0.models.CheckoutSequencedSetAddressProvinceRequestForm
|
|
@@ -14866,6 +14956,8 @@ declare namespace io.flow.checkout.protocol.v0.unions {
|
|
|
14866
14956
|
| io.flow.checkout.protocol.v0.models.CheckoutSequencedPaymentAuthorizationParametersResponseSuccess
|
|
14867
14957
|
| io.flow.checkout.protocol.v0.models.CheckoutSequencedSetAddressCityResponseError
|
|
14868
14958
|
| io.flow.checkout.protocol.v0.models.CheckoutSequencedSetAddressCountryResponseError
|
|
14959
|
+
| io.flow.checkout.protocol.v0.models.CheckoutSequencedSetAddressFirstNameResponseError
|
|
14960
|
+
| io.flow.checkout.protocol.v0.models.CheckoutSequencedSetAddressLastNameResponseError
|
|
14869
14961
|
| io.flow.checkout.protocol.v0.models.CheckoutSequencedSetAddressNameResponseError
|
|
14870
14962
|
| io.flow.checkout.protocol.v0.models.CheckoutSequencedSetAddressPostalResponseError
|
|
14871
14963
|
| io.flow.checkout.protocol.v0.models.CheckoutSequencedSetAddressProvinceResponseError
|
|
@@ -14886,6 +14978,8 @@ declare namespace io.flow.checkout.protocol.v0.unions {
|
|
|
14886
14978
|
| io.flow.checkout.protocol.v0.models.CheckoutSequencedSubmitResponseSuccess;
|
|
14887
14979
|
type CheckoutSequencedSetAddressCityResponse = io.flow.checkout.protocol.v0.models.CheckoutSequencedSetAddressCityResponseError;
|
|
14888
14980
|
type CheckoutSequencedSetAddressCountryResponse = io.flow.checkout.protocol.v0.models.CheckoutSequencedSetAddressCountryResponseError;
|
|
14981
|
+
type CheckoutSequencedSetAddressFirstNameResponse = io.flow.checkout.protocol.v0.models.CheckoutSequencedSetAddressFirstNameResponseError;
|
|
14982
|
+
type CheckoutSequencedSetAddressLastNameResponse = io.flow.checkout.protocol.v0.models.CheckoutSequencedSetAddressLastNameResponseError;
|
|
14889
14983
|
type CheckoutSequencedSetAddressNameResponse = io.flow.checkout.protocol.v0.models.CheckoutSequencedSetAddressNameResponseError;
|
|
14890
14984
|
type CheckoutSequencedSetAddressPostalResponse = io.flow.checkout.protocol.v0.models.CheckoutSequencedSetAddressPostalResponseError;
|
|
14891
14985
|
type CheckoutSequencedSetAddressProvinceResponse = io.flow.checkout.protocol.v0.models.CheckoutSequencedSetAddressProvinceResponseError;
|
|
@@ -16728,6 +16822,11 @@ declare namespace io.flow.checkout.backend.v0.models {
|
|
|
16728
16822
|
readonly message: string;
|
|
16729
16823
|
}
|
|
16730
16824
|
|
|
16825
|
+
interface CheckoutDirectAuthorizationRequirement {
|
|
16826
|
+
readonly discriminator: 'checkout_direct_authorization_requirement';
|
|
16827
|
+
readonly authorization_result: io.flow.payment.v0.models.AuthorizationResult;
|
|
16828
|
+
}
|
|
16829
|
+
|
|
16731
16830
|
interface CheckoutDirectDebit {
|
|
16732
16831
|
readonly discriminator: 'checkout_direct_debit';
|
|
16733
16832
|
readonly routing_number: string;
|
|
@@ -16757,6 +16856,14 @@ declare namespace io.flow.checkout.backend.v0.models {
|
|
|
16757
16856
|
readonly url: string;
|
|
16758
16857
|
}
|
|
16759
16858
|
|
|
16859
|
+
interface CheckoutInitiateDirectPaymentForm {
|
|
16860
|
+
readonly discriminator: 'initiate_direct_payment_form';
|
|
16861
|
+
readonly token: string;
|
|
16862
|
+
readonly redirect_urls?: io.flow.payment.v0.models.PostPaymentRedirectUrls;
|
|
16863
|
+
readonly browser_info?: io.flow.payment.v0.models.BrowserInfo;
|
|
16864
|
+
readonly inline_action_configuration?: io.flow.payment.v0.unions.InlineActionConfiguration;
|
|
16865
|
+
}
|
|
16866
|
+
|
|
16760
16867
|
interface CheckoutInitiateInlinePaymentForm {
|
|
16761
16868
|
readonly discriminator: 'initiate_inline_payment_form';
|
|
16762
16869
|
readonly payment_method_id: string;
|
|
@@ -17111,7 +17218,8 @@ declare namespace io.flow.checkout.backend.v0.unions {
|
|
|
17111
17218
|
| io.flow.checkout.backend.v0.models.CheckoutDeliveryWindowEstimate;
|
|
17112
17219
|
type CheckoutInitiatePaymentForm =
|
|
17113
17220
|
| io.flow.checkout.backend.v0.models.CheckoutInitiateRedirectPaymentForm
|
|
17114
|
-
| io.flow.checkout.backend.v0.models.CheckoutInitiateInlinePaymentForm
|
|
17221
|
+
| io.flow.checkout.backend.v0.models.CheckoutInitiateInlinePaymentForm
|
|
17222
|
+
| io.flow.checkout.backend.v0.models.CheckoutInitiateDirectPaymentForm;
|
|
17115
17223
|
type CheckoutOrder =
|
|
17116
17224
|
| io.flow.checkout.backend.v0.models.CheckoutOpenOrder
|
|
17117
17225
|
| io.flow.checkout.backend.v0.models.CheckoutSubmittedOrder;
|
|
@@ -17130,7 +17238,8 @@ declare namespace io.flow.checkout.backend.v0.unions {
|
|
|
17130
17238
|
| io.flow.checkout.backend.v0.models.CheckoutOrderPromotionFreeShipping;
|
|
17131
17239
|
type CheckoutPaymentActionRequirement =
|
|
17132
17240
|
| io.flow.checkout.backend.v0.models.CheckoutRedirectAuthorizationRequirement
|
|
17133
|
-
| io.flow.checkout.backend.v0.models.CheckoutInlineAuthorizationRequirement
|
|
17241
|
+
| io.flow.checkout.backend.v0.models.CheckoutInlineAuthorizationRequirement
|
|
17242
|
+
| io.flow.checkout.backend.v0.models.CheckoutDirectAuthorizationRequirement;
|
|
17134
17243
|
type CheckoutPaymentDetailsForm =
|
|
17135
17244
|
| io.flow.checkout.backend.v0.models.CheckoutPaypalAuthorizationPayload
|
|
17136
17245
|
| io.flow.checkout.backend.v0.models.CheckoutGooglePayAuthorizationPayload
|
|
@@ -17825,7 +17934,8 @@ declare namespace io.flow.ups.registration.v0.models {
|
|
|
17825
17934
|
|
|
17826
17935
|
interface RegisterResponse {
|
|
17827
17936
|
readonly Response: io.flow.ups.registration.v0.models.UpsRegistrationResponse;
|
|
17828
|
-
readonly SuggestedUsername
|
|
17937
|
+
readonly SuggestedUsername?: string;
|
|
17938
|
+
readonly ShipperAccountStatus?: io.flow.ups.registration.v0.models.ResponseStatus;
|
|
17829
17939
|
}
|
|
17830
17940
|
|
|
17831
17941
|
interface Request {
|
|
@@ -18115,6 +18225,12 @@ declare namespace io.flow.internal.v0.enums {
|
|
|
18115
18225
|
| 'address_country_invalid'
|
|
18116
18226
|
| 'address_country_required'
|
|
18117
18227
|
| 'country_not_supported';
|
|
18228
|
+
type CheckoutSetAddressFirstNameErrorCode =
|
|
18229
|
+
| 'first_name_required'
|
|
18230
|
+
| 'first_name_invalid';
|
|
18231
|
+
type CheckoutSetAddressLastNameErrorCode =
|
|
18232
|
+
| 'last_name_required'
|
|
18233
|
+
| 'last_name_invalid';
|
|
18118
18234
|
type CheckoutSetAddressNameErrorCode =
|
|
18119
18235
|
| 'name_missing_first_or_last'
|
|
18120
18236
|
| 'name_required';
|
|
@@ -18200,11 +18316,15 @@ declare namespace io.flow.internal.v0.enums {
|
|
|
18200
18316
|
| 'delivery_option_not_found'
|
|
18201
18317
|
| 'delivery_option_not_supported'
|
|
18202
18318
|
| 'delivery_option_required'
|
|
18319
|
+
| 'first_name_invalid'
|
|
18320
|
+
| 'first_name_required'
|
|
18203
18321
|
| 'gift_card_insufficient_funds'
|
|
18204
18322
|
| 'gift_card_invalid_number'
|
|
18205
18323
|
| 'gift_card_not_supported'
|
|
18206
18324
|
| 'invalid_prediction'
|
|
18207
18325
|
| 'language_invalid'
|
|
18326
|
+
| 'last_name_invalid'
|
|
18327
|
+
| 'last_name_required'
|
|
18208
18328
|
| 'line_item_number_invalid'
|
|
18209
18329
|
| 'line_item_number_not_available'
|
|
18210
18330
|
| 'line_not_found'
|
|
@@ -20161,6 +20281,11 @@ declare namespace io.flow.internal.v0.models {
|
|
|
20161
20281
|
readonly message: string;
|
|
20162
20282
|
}
|
|
20163
20283
|
|
|
20284
|
+
interface CheckoutDirectAuthorizationRequirement {
|
|
20285
|
+
readonly discriminator: 'checkout_direct_authorization_requirement';
|
|
20286
|
+
readonly authorization_result: io.flow.payment.v0.models.AuthorizationResult;
|
|
20287
|
+
}
|
|
20288
|
+
|
|
20164
20289
|
interface CheckoutDirectDebit {
|
|
20165
20290
|
readonly discriminator: 'checkout_direct_debit';
|
|
20166
20291
|
readonly routing_number: string;
|
|
@@ -20409,6 +20534,14 @@ declare namespace io.flow.internal.v0.models {
|
|
|
20409
20534
|
readonly data: io.flow.payment.v0.models.PublicKey;
|
|
20410
20535
|
}
|
|
20411
20536
|
|
|
20537
|
+
interface CheckoutInitiateDirectPaymentForm {
|
|
20538
|
+
readonly discriminator: 'initiate_direct_payment_form';
|
|
20539
|
+
readonly token: string;
|
|
20540
|
+
readonly redirect_urls?: io.flow.payment.v0.models.PostPaymentRedirectUrls;
|
|
20541
|
+
readonly browser_info?: io.flow.payment.v0.models.BrowserInfo;
|
|
20542
|
+
readonly inline_action_configuration?: io.flow.payment.v0.unions.InlineActionConfiguration;
|
|
20543
|
+
}
|
|
20544
|
+
|
|
20412
20545
|
interface CheckoutInitiateInlinePaymentForm {
|
|
20413
20546
|
readonly discriminator: 'initiate_inline_payment_form';
|
|
20414
20547
|
readonly payment_method_id: string;
|
|
@@ -20450,12 +20583,30 @@ declare namespace io.flow.internal.v0.models {
|
|
|
20450
20583
|
readonly city: string;
|
|
20451
20584
|
}
|
|
20452
20585
|
|
|
20586
|
+
interface CheckoutInputSetAddressCompany {
|
|
20587
|
+
readonly discriminator: 'checkout_input_set_address_company';
|
|
20588
|
+
readonly type: io.flow.checkout.backend.v0.enums.CheckoutAddressType;
|
|
20589
|
+
readonly company: string;
|
|
20590
|
+
}
|
|
20591
|
+
|
|
20453
20592
|
interface CheckoutInputSetAddressCountry {
|
|
20454
20593
|
readonly discriminator: 'checkout_input_set_address_country';
|
|
20455
20594
|
readonly type: io.flow.checkout.backend.v0.enums.CheckoutAddressType;
|
|
20456
20595
|
readonly country: string;
|
|
20457
20596
|
}
|
|
20458
20597
|
|
|
20598
|
+
interface CheckoutInputSetAddressFirstName {
|
|
20599
|
+
readonly discriminator: 'checkout_input_set_address_first_name';
|
|
20600
|
+
readonly type: io.flow.checkout.backend.v0.enums.CheckoutAddressType;
|
|
20601
|
+
readonly first_name: string;
|
|
20602
|
+
}
|
|
20603
|
+
|
|
20604
|
+
interface CheckoutInputSetAddressLastName {
|
|
20605
|
+
readonly discriminator: 'checkout_input_set_address_last_name';
|
|
20606
|
+
readonly type: io.flow.checkout.backend.v0.enums.CheckoutAddressType;
|
|
20607
|
+
readonly last_name: string;
|
|
20608
|
+
}
|
|
20609
|
+
|
|
20459
20610
|
interface CheckoutInputSetAddressName {
|
|
20460
20611
|
readonly discriminator: 'checkout_input_set_address_name';
|
|
20461
20612
|
readonly type: io.flow.checkout.backend.v0.enums.CheckoutAddressType;
|
|
@@ -21095,6 +21246,12 @@ declare namespace io.flow.internal.v0.models {
|
|
|
21095
21246
|
readonly errors: io.flow.internal.v0.models.CheckoutSetAddressCityError[];
|
|
21096
21247
|
}
|
|
21097
21248
|
|
|
21249
|
+
interface CheckoutSequencedSetAddressCompanyRequestForm {
|
|
21250
|
+
readonly discriminator: 'checkout_sequenced_set_address_company_request_form';
|
|
21251
|
+
readonly type: io.flow.checkout.backend.v0.enums.CheckoutAddressType;
|
|
21252
|
+
readonly company: string;
|
|
21253
|
+
}
|
|
21254
|
+
|
|
21098
21255
|
interface CheckoutSequencedSetAddressCountryRequestForm {
|
|
21099
21256
|
readonly discriminator: 'checkout_sequenced_set_address_country_request_form';
|
|
21100
21257
|
readonly type: io.flow.checkout.backend.v0.enums.CheckoutAddressType;
|
|
@@ -21106,6 +21263,28 @@ declare namespace io.flow.internal.v0.models {
|
|
|
21106
21263
|
readonly errors: io.flow.internal.v0.models.CheckoutSetAddressCountryError[];
|
|
21107
21264
|
}
|
|
21108
21265
|
|
|
21266
|
+
interface CheckoutSequencedSetAddressFirstNameRequestForm {
|
|
21267
|
+
readonly discriminator: 'checkout_sequenced_set_address_first_name_request_form';
|
|
21268
|
+
readonly type: io.flow.checkout.backend.v0.enums.CheckoutAddressType;
|
|
21269
|
+
readonly first_name: string;
|
|
21270
|
+
}
|
|
21271
|
+
|
|
21272
|
+
interface CheckoutSequencedSetAddressFirstNameResponseError {
|
|
21273
|
+
readonly discriminator: 'checkout_sequenced_set_address_first_name_response_error';
|
|
21274
|
+
readonly errors: io.flow.internal.v0.models.CheckoutSetAddressFirstNameError[];
|
|
21275
|
+
}
|
|
21276
|
+
|
|
21277
|
+
interface CheckoutSequencedSetAddressLastNameRequestForm {
|
|
21278
|
+
readonly discriminator: 'checkout_sequenced_set_address_last_name_request_form';
|
|
21279
|
+
readonly type: io.flow.checkout.backend.v0.enums.CheckoutAddressType;
|
|
21280
|
+
readonly last_name: string;
|
|
21281
|
+
}
|
|
21282
|
+
|
|
21283
|
+
interface CheckoutSequencedSetAddressLastNameResponseError {
|
|
21284
|
+
readonly discriminator: 'checkout_sequenced_set_address_last_name_response_error';
|
|
21285
|
+
readonly errors: io.flow.internal.v0.models.CheckoutSetAddressLastNameError[];
|
|
21286
|
+
}
|
|
21287
|
+
|
|
21109
21288
|
interface CheckoutSequencedSetAddressNameRequestForm {
|
|
21110
21289
|
readonly discriminator: 'checkout_sequenced_set_address_name_request_form';
|
|
21111
21290
|
readonly type: io.flow.checkout.backend.v0.enums.CheckoutAddressType;
|
|
@@ -21305,6 +21484,16 @@ declare namespace io.flow.internal.v0.models {
|
|
|
21305
21484
|
readonly message: string;
|
|
21306
21485
|
}
|
|
21307
21486
|
|
|
21487
|
+
interface CheckoutSetAddressFirstNameError {
|
|
21488
|
+
readonly code: io.flow.internal.v0.enums.CheckoutSetAddressFirstNameErrorCode;
|
|
21489
|
+
readonly message: string;
|
|
21490
|
+
}
|
|
21491
|
+
|
|
21492
|
+
interface CheckoutSetAddressLastNameError {
|
|
21493
|
+
readonly code: io.flow.internal.v0.enums.CheckoutSetAddressLastNameErrorCode;
|
|
21494
|
+
readonly message: string;
|
|
21495
|
+
}
|
|
21496
|
+
|
|
21308
21497
|
interface CheckoutSetAddressNameError {
|
|
21309
21498
|
readonly code: io.flow.internal.v0.enums.CheckoutSetAddressNameErrorCode;
|
|
21310
21499
|
readonly message: string;
|
|
@@ -27095,12 +27284,14 @@ declare namespace io.flow.internal.v0.models {
|
|
|
27095
27284
|
readonly address: io.flow.common.v0.models.BillingAddress;
|
|
27096
27285
|
readonly contact: io.flow.common.v0.models.Contact;
|
|
27097
27286
|
readonly suggest_username_indicator?: string;
|
|
27287
|
+
readonly shipper_account_status?: string;
|
|
27098
27288
|
}
|
|
27099
27289
|
|
|
27100
27290
|
interface UpsRegistrationForm {
|
|
27101
27291
|
readonly username: string;
|
|
27102
27292
|
readonly password: string;
|
|
27103
27293
|
readonly access_license_number: string;
|
|
27294
|
+
readonly account_number: string;
|
|
27104
27295
|
readonly address: io.flow.common.v0.models.BillingAddress;
|
|
27105
27296
|
readonly contact: io.flow.common.v0.models.Contact;
|
|
27106
27297
|
readonly shipper_account?: io.flow.internal.v0.models.ShipperAccountInfoForm;
|
|
@@ -27293,12 +27484,16 @@ declare namespace io.flow.internal.v0.unions {
|
|
|
27293
27484
|
| io.flow.internal.v0.models.CheckoutInfoPublicKey;
|
|
27294
27485
|
type CheckoutInitiatePaymentForm =
|
|
27295
27486
|
| io.flow.internal.v0.models.CheckoutInitiateRedirectPaymentForm
|
|
27296
|
-
| io.flow.internal.v0.models.CheckoutInitiateInlinePaymentForm
|
|
27487
|
+
| io.flow.internal.v0.models.CheckoutInitiateInlinePaymentForm
|
|
27488
|
+
| io.flow.internal.v0.models.CheckoutInitiateDirectPaymentForm;
|
|
27297
27489
|
type CheckoutInput =
|
|
27298
27490
|
| io.flow.internal.v0.models.CheckoutInputAddAttributes
|
|
27299
27491
|
| io.flow.internal.v0.models.CheckoutInputDeleteAddressStreet
|
|
27300
27492
|
| io.flow.internal.v0.models.CheckoutInputSetAddressCity
|
|
27493
|
+
| io.flow.internal.v0.models.CheckoutInputSetAddressCompany
|
|
27301
27494
|
| io.flow.internal.v0.models.CheckoutInputSetAddressCountry
|
|
27495
|
+
| io.flow.internal.v0.models.CheckoutInputSetAddressFirstName
|
|
27496
|
+
| io.flow.internal.v0.models.CheckoutInputSetAddressLastName
|
|
27302
27497
|
| io.flow.internal.v0.models.CheckoutInputSetAddressName
|
|
27303
27498
|
| io.flow.internal.v0.models.CheckoutInputSetAddressPostal
|
|
27304
27499
|
| io.flow.internal.v0.models.CheckoutInputSetAddressProvince
|
|
@@ -27330,7 +27525,8 @@ declare namespace io.flow.internal.v0.unions {
|
|
|
27330
27525
|
| io.flow.internal.v0.models.CheckoutOrderPromotionFreeShipping;
|
|
27331
27526
|
type CheckoutPaymentActionRequirement =
|
|
27332
27527
|
| io.flow.internal.v0.models.CheckoutRedirectAuthorizationRequirement
|
|
27333
|
-
| io.flow.internal.v0.models.CheckoutInlineAuthorizationRequirement
|
|
27528
|
+
| io.flow.internal.v0.models.CheckoutInlineAuthorizationRequirement
|
|
27529
|
+
| io.flow.internal.v0.models.CheckoutDirectAuthorizationRequirement;
|
|
27334
27530
|
type CheckoutPaymentDetailsForm =
|
|
27335
27531
|
| io.flow.internal.v0.models.CheckoutPaypalAuthorizationPayload
|
|
27336
27532
|
| io.flow.internal.v0.models.CheckoutGooglePayAuthorizationPayload
|
|
@@ -27397,7 +27593,10 @@ declare namespace io.flow.internal.v0.unions {
|
|
|
27397
27593
|
| io.flow.internal.v0.models.CheckoutSequencedInitiatePaymentRequestForm
|
|
27398
27594
|
| io.flow.internal.v0.models.CheckoutSequencedPaymentAuthorizationParametersRequestForm
|
|
27399
27595
|
| io.flow.internal.v0.models.CheckoutSequencedSetAddressCityRequestForm
|
|
27596
|
+
| io.flow.internal.v0.models.CheckoutSequencedSetAddressCompanyRequestForm
|
|
27400
27597
|
| io.flow.internal.v0.models.CheckoutSequencedSetAddressCountryRequestForm
|
|
27598
|
+
| io.flow.internal.v0.models.CheckoutSequencedSetAddressFirstNameRequestForm
|
|
27599
|
+
| io.flow.internal.v0.models.CheckoutSequencedSetAddressLastNameRequestForm
|
|
27401
27600
|
| io.flow.internal.v0.models.CheckoutSequencedSetAddressNameRequestForm
|
|
27402
27601
|
| io.flow.internal.v0.models.CheckoutSequencedSetAddressPostalRequestForm
|
|
27403
27602
|
| io.flow.internal.v0.models.CheckoutSequencedSetAddressProvinceRequestForm
|
|
@@ -27439,6 +27638,8 @@ declare namespace io.flow.internal.v0.unions {
|
|
|
27439
27638
|
| io.flow.internal.v0.models.CheckoutSequencedPaymentAuthorizationParametersResponseSuccess
|
|
27440
27639
|
| io.flow.internal.v0.models.CheckoutSequencedSetAddressCityResponseError
|
|
27441
27640
|
| io.flow.internal.v0.models.CheckoutSequencedSetAddressCountryResponseError
|
|
27641
|
+
| io.flow.internal.v0.models.CheckoutSequencedSetAddressFirstNameResponseError
|
|
27642
|
+
| io.flow.internal.v0.models.CheckoutSequencedSetAddressLastNameResponseError
|
|
27442
27643
|
| io.flow.internal.v0.models.CheckoutSequencedSetAddressNameResponseError
|
|
27443
27644
|
| io.flow.internal.v0.models.CheckoutSequencedSetAddressPostalResponseError
|
|
27444
27645
|
| io.flow.internal.v0.models.CheckoutSequencedSetAddressProvinceResponseError
|
|
@@ -27459,6 +27660,8 @@ declare namespace io.flow.internal.v0.unions {
|
|
|
27459
27660
|
| io.flow.internal.v0.models.CheckoutSequencedSubmitResponseSuccess;
|
|
27460
27661
|
type CheckoutSequencedSetAddressCityResponse = io.flow.internal.v0.models.CheckoutSequencedSetAddressCityResponseError;
|
|
27461
27662
|
type CheckoutSequencedSetAddressCountryResponse = io.flow.internal.v0.models.CheckoutSequencedSetAddressCountryResponseError;
|
|
27663
|
+
type CheckoutSequencedSetAddressFirstNameResponse = io.flow.internal.v0.models.CheckoutSequencedSetAddressFirstNameResponseError;
|
|
27664
|
+
type CheckoutSequencedSetAddressLastNameResponse = io.flow.internal.v0.models.CheckoutSequencedSetAddressLastNameResponseError;
|
|
27462
27665
|
type CheckoutSequencedSetAddressNameResponse = io.flow.internal.v0.models.CheckoutSequencedSetAddressNameResponseError;
|
|
27463
27666
|
type CheckoutSequencedSetAddressPostalResponse = io.flow.internal.v0.models.CheckoutSequencedSetAddressPostalResponseError;
|
|
27464
27667
|
type CheckoutSequencedSetAddressProvinceResponse = io.flow.internal.v0.models.CheckoutSequencedSetAddressProvinceResponseError;
|
|
@@ -28172,6 +28375,7 @@ export type CheckoutDeliveryWindow = io.flow.internal.v0.unions.CheckoutDelivery
|
|
|
28172
28375
|
export type CheckoutDeliveryWindowEstimate = io.flow.internal.v0.models.CheckoutDeliveryWindowEstimate;
|
|
28173
28376
|
export type CheckoutDeliveryWindowEstimateDays = io.flow.internal.v0.models.CheckoutDeliveryWindowEstimateDays;
|
|
28174
28377
|
export type CheckoutDeliveryWindowStatic = io.flow.internal.v0.models.CheckoutDeliveryWindowStatic;
|
|
28378
|
+
export type CheckoutDirectAuthorizationRequirement = io.flow.internal.v0.models.CheckoutDirectAuthorizationRequirement;
|
|
28175
28379
|
export type CheckoutDirectDebit = io.flow.internal.v0.models.CheckoutDirectDebit;
|
|
28176
28380
|
export type CheckoutError = io.flow.internal.v0.models.CheckoutError;
|
|
28177
28381
|
export type CheckoutErrorCode = io.flow.internal.v0.enums.CheckoutErrorCode;
|
|
@@ -28235,6 +28439,7 @@ export type CheckoutInfoPaymentsFormData = io.flow.internal.v0.models.CheckoutIn
|
|
|
28235
28439
|
export type CheckoutInfoPaymentsFormDataKey = io.flow.internal.v0.models.CheckoutInfoPaymentsFormDataKey;
|
|
28236
28440
|
export type CheckoutInfoPaymentsFormDataKeyField = io.flow.internal.v0.enums.CheckoutInfoPaymentsFormDataKeyField;
|
|
28237
28441
|
export type CheckoutInfoPublicKey = io.flow.internal.v0.models.CheckoutInfoPublicKey;
|
|
28442
|
+
export type CheckoutInitiateDirectPaymentForm = io.flow.internal.v0.models.CheckoutInitiateDirectPaymentForm;
|
|
28238
28443
|
export type CheckoutInitiateInlinePaymentForm = io.flow.internal.v0.models.CheckoutInitiateInlinePaymentForm;
|
|
28239
28444
|
export type CheckoutInitiatePaymentError = io.flow.internal.v0.models.CheckoutInitiatePaymentError;
|
|
28240
28445
|
export type CheckoutInitiatePaymentErrorCode = io.flow.internal.v0.enums.CheckoutInitiatePaymentErrorCode;
|
|
@@ -28245,7 +28450,10 @@ export type CheckoutInput = io.flow.internal.v0.unions.CheckoutInput;
|
|
|
28245
28450
|
export type CheckoutInputAddAttributes = io.flow.internal.v0.models.CheckoutInputAddAttributes;
|
|
28246
28451
|
export type CheckoutInputDeleteAddressStreet = io.flow.internal.v0.models.CheckoutInputDeleteAddressStreet;
|
|
28247
28452
|
export type CheckoutInputSetAddressCity = io.flow.internal.v0.models.CheckoutInputSetAddressCity;
|
|
28453
|
+
export type CheckoutInputSetAddressCompany = io.flow.internal.v0.models.CheckoutInputSetAddressCompany;
|
|
28248
28454
|
export type CheckoutInputSetAddressCountry = io.flow.internal.v0.models.CheckoutInputSetAddressCountry;
|
|
28455
|
+
export type CheckoutInputSetAddressFirstName = io.flow.internal.v0.models.CheckoutInputSetAddressFirstName;
|
|
28456
|
+
export type CheckoutInputSetAddressLastName = io.flow.internal.v0.models.CheckoutInputSetAddressLastName;
|
|
28249
28457
|
export type CheckoutInputSetAddressName = io.flow.internal.v0.models.CheckoutInputSetAddressName;
|
|
28250
28458
|
export type CheckoutInputSetAddressPostal = io.flow.internal.v0.models.CheckoutInputSetAddressPostal;
|
|
28251
28459
|
export type CheckoutInputSetAddressProvince = io.flow.internal.v0.models.CheckoutInputSetAddressProvince;
|
|
@@ -28388,9 +28596,16 @@ export type CheckoutSequencedResponse = io.flow.internal.v0.unions.CheckoutSeque
|
|
|
28388
28596
|
export type CheckoutSequencedSetAddressCityRequestForm = io.flow.internal.v0.models.CheckoutSequencedSetAddressCityRequestForm;
|
|
28389
28597
|
export type CheckoutSequencedSetAddressCityResponse = io.flow.internal.v0.unions.CheckoutSequencedSetAddressCityResponse;
|
|
28390
28598
|
export type CheckoutSequencedSetAddressCityResponseError = io.flow.internal.v0.models.CheckoutSequencedSetAddressCityResponseError;
|
|
28599
|
+
export type CheckoutSequencedSetAddressCompanyRequestForm = io.flow.internal.v0.models.CheckoutSequencedSetAddressCompanyRequestForm;
|
|
28391
28600
|
export type CheckoutSequencedSetAddressCountryRequestForm = io.flow.internal.v0.models.CheckoutSequencedSetAddressCountryRequestForm;
|
|
28392
28601
|
export type CheckoutSequencedSetAddressCountryResponse = io.flow.internal.v0.unions.CheckoutSequencedSetAddressCountryResponse;
|
|
28393
28602
|
export type CheckoutSequencedSetAddressCountryResponseError = io.flow.internal.v0.models.CheckoutSequencedSetAddressCountryResponseError;
|
|
28603
|
+
export type CheckoutSequencedSetAddressFirstNameRequestForm = io.flow.internal.v0.models.CheckoutSequencedSetAddressFirstNameRequestForm;
|
|
28604
|
+
export type CheckoutSequencedSetAddressFirstNameResponse = io.flow.internal.v0.unions.CheckoutSequencedSetAddressFirstNameResponse;
|
|
28605
|
+
export type CheckoutSequencedSetAddressFirstNameResponseError = io.flow.internal.v0.models.CheckoutSequencedSetAddressFirstNameResponseError;
|
|
28606
|
+
export type CheckoutSequencedSetAddressLastNameRequestForm = io.flow.internal.v0.models.CheckoutSequencedSetAddressLastNameRequestForm;
|
|
28607
|
+
export type CheckoutSequencedSetAddressLastNameResponse = io.flow.internal.v0.unions.CheckoutSequencedSetAddressLastNameResponse;
|
|
28608
|
+
export type CheckoutSequencedSetAddressLastNameResponseError = io.flow.internal.v0.models.CheckoutSequencedSetAddressLastNameResponseError;
|
|
28394
28609
|
export type CheckoutSequencedSetAddressNameRequestForm = io.flow.internal.v0.models.CheckoutSequencedSetAddressNameRequestForm;
|
|
28395
28610
|
export type CheckoutSequencedSetAddressNameResponse = io.flow.internal.v0.unions.CheckoutSequencedSetAddressNameResponse;
|
|
28396
28611
|
export type CheckoutSequencedSetAddressNameResponseError = io.flow.internal.v0.models.CheckoutSequencedSetAddressNameResponseError;
|
|
@@ -28448,6 +28663,10 @@ export type CheckoutSetAddressCityError = io.flow.internal.v0.models.CheckoutSet
|
|
|
28448
28663
|
export type CheckoutSetAddressCityErrorCode = io.flow.internal.v0.enums.CheckoutSetAddressCityErrorCode;
|
|
28449
28664
|
export type CheckoutSetAddressCountryError = io.flow.internal.v0.models.CheckoutSetAddressCountryError;
|
|
28450
28665
|
export type CheckoutSetAddressCountryErrorCode = io.flow.internal.v0.enums.CheckoutSetAddressCountryErrorCode;
|
|
28666
|
+
export type CheckoutSetAddressFirstNameError = io.flow.internal.v0.models.CheckoutSetAddressFirstNameError;
|
|
28667
|
+
export type CheckoutSetAddressFirstNameErrorCode = io.flow.internal.v0.enums.CheckoutSetAddressFirstNameErrorCode;
|
|
28668
|
+
export type CheckoutSetAddressLastNameError = io.flow.internal.v0.models.CheckoutSetAddressLastNameError;
|
|
28669
|
+
export type CheckoutSetAddressLastNameErrorCode = io.flow.internal.v0.enums.CheckoutSetAddressLastNameErrorCode;
|
|
28451
28670
|
export type CheckoutSetAddressNameError = io.flow.internal.v0.models.CheckoutSetAddressNameError;
|
|
28452
28671
|
export type CheckoutSetAddressNameErrorCode = io.flow.internal.v0.enums.CheckoutSetAddressNameErrorCode;
|
|
28453
28672
|
export type CheckoutSetAddressPostalError = io.flow.internal.v0.models.CheckoutSetAddressPostalError;
|