@flowio/types 11.9.6 → 11.10.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.
@@ -73,6 +73,119 @@ declare namespace io.flow.tracking.internal.v0.models {
73
73
  declare namespace io.flow.tracking.internal.v0.unions {
74
74
  type CarrierCredentials = io.flow.tracking.internal.v0.models.SfExpress | io.flow.tracking.internal.v0.models.DhlEcommerce | io.flow.tracking.internal.v0.models.Landmark | io.flow.tracking.internal.v0.models.Dhl | io.flow.tracking.internal.v0.models.FedexCrossborder | io.flow.tracking.internal.v0.models.Ups | io.flow.tracking.internal.v0.models.Fedex;
75
75
  }
76
+ declare namespace io.flow.ups.license.v0.models {
77
+ interface AccessLicenceAgreementRequest {
78
+ readonly Request: io.flow.ups.license.v0.models.UpsLicenseRequest;
79
+ readonly DeveloperLicenseNumber: string;
80
+ readonly AccessLicenseProfile: io.flow.ups.license.v0.models.AccessLicenseProfile;
81
+ }
82
+ interface AccessLicenceAgreementRequestWrapper {
83
+ readonly UPSSecurity: io.flow.ups.license.v0.models.UpsSecurity;
84
+ readonly AccessLicenseAgreementRequest: io.flow.ups.license.v0.models.AccessLicenceAgreementRequest;
85
+ }
86
+ interface AccessLicenceAgreementResponse {
87
+ readonly Response: io.flow.ups.license.v0.models.UpsLicenseResponse;
88
+ readonly AccessLicenseText: string;
89
+ }
90
+ interface AccessLicenceAgreementResponseWrapper {
91
+ readonly AccessLicenseAgreementResponse?: io.flow.ups.license.v0.models.AccessLicenceAgreementResponse;
92
+ readonly Fault?: io.flow.ups.license.v0.models.Fault;
93
+ }
94
+ interface AccessLicenceRequest {
95
+ readonly Request: io.flow.ups.license.v0.models.UpsLicenseRequest;
96
+ readonly CompanyName: string;
97
+ readonly Address: io.flow.ups.license.v0.models.RequestAddress;
98
+ readonly PrimaryContact: io.flow.ups.license.v0.models.RequestContact;
99
+ readonly SecondaryContact?: io.flow.ups.license.v0.models.RequestContact;
100
+ readonly CompanyURL: string;
101
+ readonly ShipperNumber?: string;
102
+ readonly DeveloperLicenseNumber: string;
103
+ readonly AccessLicenseProfile: io.flow.ups.license.v0.models.AccessLicenseProfile;
104
+ readonly ClientSoftwareProfile: io.flow.ups.license.v0.models.ClientSoftwareProfile;
105
+ }
106
+ interface AccessLicenceResponse {
107
+ readonly Response?: io.flow.ups.license.v0.models.UpsLicenseResponse;
108
+ readonly AccessLicenseNumber?: string;
109
+ }
110
+ interface AccessLicenseProfile {
111
+ readonly CountryCode: string;
112
+ readonly LanguageCode: string;
113
+ readonly AccessLicenseText?: string;
114
+ }
115
+ interface AccessLicenseRequestWrapper {
116
+ readonly UPSSecurity: io.flow.ups.license.v0.models.UpsSecurity;
117
+ readonly AccessLicenseRequest: io.flow.ups.license.v0.models.AccessLicenceRequest;
118
+ }
119
+ interface AccessLicenseResponseWrapper {
120
+ readonly AccessLicenseResponse?: io.flow.ups.license.v0.models.AccessLicenceResponse;
121
+ readonly Fault?: io.flow.ups.license.v0.models.Fault;
122
+ }
123
+ interface ClientSoftwareProfile {
124
+ readonly SoftwareInstaller: string;
125
+ readonly SoftwareProductName: string;
126
+ readonly SoftwareProvider: string;
127
+ readonly SoftwareVersionNumber: string;
128
+ }
129
+ interface Fault {
130
+ readonly faultcode: string;
131
+ readonly faultstring: string;
132
+ readonly detail: io.flow.ups.license.v0.models.UpsLicenseDetail;
133
+ }
134
+ interface PrimaryErrorCode {
135
+ readonly Code: string;
136
+ readonly Description: string;
137
+ }
138
+ interface RequestAddress {
139
+ readonly AddressLine1: string;
140
+ readonly AddressLine2?: string;
141
+ readonly AddressLine3?: string;
142
+ readonly City: string;
143
+ readonly StateProvinceCode: string;
144
+ readonly PostalCode: string;
145
+ readonly CountryCode: string;
146
+ }
147
+ interface RequestContact {
148
+ readonly Name: string;
149
+ readonly Title: string;
150
+ readonly EMailAddress: string;
151
+ readonly PhoneNumber: string;
152
+ readonly FaxNumber?: string;
153
+ }
154
+ interface TransactionReference {
155
+ readonly CustomerContext: string;
156
+ readonly TransactionIdentifier?: string;
157
+ }
158
+ interface UpsLicenseDetail {
159
+ readonly Errors: io.flow.ups.license.v0.models.UpsLicenseErrors;
160
+ }
161
+ interface UpsLicenseErrorDetail {
162
+ readonly Severity: string;
163
+ readonly PrimaryErrorCode: io.flow.ups.license.v0.models.PrimaryErrorCode;
164
+ }
165
+ interface UpsLicenseErrors {
166
+ readonly ErrorDetail: io.flow.ups.license.v0.models.UpsLicenseErrorDetail;
167
+ }
168
+ interface UpsLicenseRequest {
169
+ readonly RequestOption: string;
170
+ readonly TransactionReference: io.flow.ups.license.v0.models.TransactionReference;
171
+ }
172
+ interface UpsLicenseResponse {
173
+ readonly ResponseStatus: io.flow.ups.license.v0.models.UpsLicenseResponseStatus;
174
+ readonly TransactionReference: io.flow.ups.license.v0.models.TransactionReference;
175
+ }
176
+ interface UpsLicenseResponseStatus {
177
+ readonly Code: string;
178
+ readonly Description: string;
179
+ }
180
+ interface UpsSecurity {
181
+ readonly UsernameToken: io.flow.ups.license.v0.models.UsernameToken;
182
+ readonly ServiceAccessToken: string;
183
+ }
184
+ interface UsernameToken {
185
+ readonly Username: string;
186
+ readonly Password: string;
187
+ }
188
+ }
76
189
  declare namespace io.flow.item.dimension.estimate.v0.models {
77
190
  interface ItemDimensionEstimate {
78
191
  readonly id: string;
@@ -2003,7 +2116,7 @@ declare namespace io.flow.stripe.v0.models {
2003
2116
  readonly payment_method_options?: io.flow.stripe.v0.models.PaymentMethodOptions;
2004
2117
  readonly payment_method_types?: string[];
2005
2118
  readonly receipt_email?: string;
2006
- readonly save_payment_method?: boolean;
2119
+ readonly save_payment_method: boolean;
2007
2120
  readonly setup_future_usage?: io.flow.stripe.v0.enums.SetupFutureUsage;
2008
2121
  }
2009
2122
  interface PaymentIntentForm {
@@ -2023,7 +2136,7 @@ declare namespace io.flow.stripe.v0.models {
2023
2136
  readonly payment_method_types?: string[];
2024
2137
  readonly receipt_email?: string;
2025
2138
  readonly return_url?: string;
2026
- readonly save_payment_method?: boolean;
2139
+ readonly save_payment_method: boolean;
2027
2140
  readonly setup_future_usage?: io.flow.stripe.v0.enums.SetupFutureUsage;
2028
2141
  readonly statement_descriptor?: string;
2029
2142
  readonly statement_descriptor_suffix?: string;
@@ -2039,7 +2152,7 @@ declare namespace io.flow.stripe.v0.models {
2039
2152
  readonly payment_method?: string;
2040
2153
  readonly payment_method_types?: string[];
2041
2154
  readonly receipt_email?: string;
2042
- readonly save_payment_method?: boolean;
2155
+ readonly save_payment_method: boolean;
2043
2156
  readonly statement_descriptor?: string;
2044
2157
  readonly statement_descriptor_suffix?: string;
2045
2158
  readonly transfer_data?: io.flow.stripe.v0.models.TransferData;
@@ -2514,6 +2627,32 @@ declare namespace io.flow.label.v0.models {
2514
2627
  readonly items: io.flow.common.v0.models.LineItemForm[];
2515
2628
  readonly center_key?: string;
2516
2629
  }
2630
+ interface UpsLicense {
2631
+ readonly access_license_number: string;
2632
+ readonly address: io.flow.common.v0.models.BillingAddress;
2633
+ readonly contact: io.flow.common.v0.models.Contact;
2634
+ readonly secondary_contact?: io.flow.common.v0.models.Contact;
2635
+ readonly company_url: string;
2636
+ }
2637
+ interface UpsLicenseForm {
2638
+ readonly address: io.flow.common.v0.models.BillingAddress;
2639
+ readonly contact: io.flow.common.v0.models.Contact;
2640
+ readonly secondary_contact?: io.flow.common.v0.models.Contact;
2641
+ readonly developer_license_number: string;
2642
+ readonly company_url: string;
2643
+ }
2644
+ interface UpsRegistration {
2645
+ readonly username: string;
2646
+ readonly address: io.flow.common.v0.models.BillingAddress;
2647
+ readonly contact: io.flow.common.v0.models.Contact;
2648
+ readonly suggest_username_indicator?: string;
2649
+ }
2650
+ interface UpsRegistrationForm {
2651
+ readonly username: string;
2652
+ readonly password: string;
2653
+ readonly address: io.flow.common.v0.models.BillingAddress;
2654
+ readonly contact: io.flow.common.v0.models.Contact;
2655
+ }
2517
2656
  }
2518
2657
  declare namespace io.flow.label.v0.unions {
2519
2658
  type ShippingLabelForm = io.flow.label.v0.models.DetailedShippingLabelForm | io.flow.label.v0.models.SummaryShippingLabelForm;
@@ -8040,6 +8179,10 @@ declare namespace io.flow.inventory.v0.models {
8040
8179
  interface InventoryExperienceReference {
8041
8180
  readonly key: string;
8042
8181
  }
8182
+ interface InventoryFollowEcommercePlatform {
8183
+ readonly discriminator: 'inventory_follow_ecommerce_platform';
8184
+ readonly quantity: number;
8185
+ }
8043
8186
  interface InventoryItemReference {
8044
8187
  readonly number: string;
8045
8188
  }
@@ -8159,7 +8302,7 @@ declare namespace io.flow.inventory.v0.models {
8159
8302
  }
8160
8303
  }
8161
8304
  declare namespace io.flow.inventory.v0.unions {
8162
- type InventoryStrategy = io.flow.inventory.v0.models.InventoryBackorder | io.flow.inventory.v0.models.InventoryStock | io.flow.inventory.v0.models.InventoryUnlimited;
8305
+ type InventoryStrategy = io.flow.inventory.v0.models.InventoryBackorder | io.flow.inventory.v0.models.InventoryStock | io.flow.inventory.v0.models.InventoryUnlimited | io.flow.inventory.v0.models.InventoryFollowEcommercePlatform;
8163
8306
  type ReservationError = io.flow.inventory.v0.models.NoInventoryReservationError | io.flow.inventory.v0.models.ExternalApiTimeoutReservationError | io.flow.inventory.v0.models.GenericReservationError;
8164
8307
  }
8165
8308
  declare namespace io.flow.permission.v0.enums {
@@ -10042,10 +10185,9 @@ declare namespace io.flow.checkout.protocol.v0.enums {
10042
10185
  type CheckoutInfoAddressConfigurationFormDataKeyField = 'country';
10043
10186
  type CheckoutInfoAddressPredictionsKeyField = 'input';
10044
10187
  type CheckoutInfoContentKeyField = 'locale';
10045
- type CheckoutInfoDeliveriesFormDataKeyField = 'country' | 'lines';
10188
+ type CheckoutInfoDeliveriesFormDataKeyField = 'country' | 'lines' | 'shipping_country' | 'shipping_province' | 'shipping_postal';
10046
10189
  type CheckoutInfoNationalIdNumberConfigurationFormDataKeyField = 'shipping_country';
10047
10190
  type CheckoutInfoOrderSummaryKeyField = 'shipping_country' | 'shipping_province' | 'shipping_postal' | 'delivery_option_id';
10048
- type CheckoutInfoPaymentAuthorizationParametersKeyField = 'value' | 'currency' | 'shipping_country';
10049
10191
  type CheckoutInfoPaymentDetailsKeyField = 'value' | 'currency' | 'payment_method_id';
10050
10192
  type CheckoutInfoPaymentsFormDataKeyField = 'value' | 'currency' | 'shipping_country';
10051
10193
  type CheckoutInitiatePaymentErrorCode = 'payment_failed' | 'authorization_form_not_supported' | 'authorization_invalid_amount' | 'authorization_invalid_currency' | 'authorization_amount_exceeds_balance' | 'address_street1_required';
@@ -10271,15 +10413,6 @@ declare namespace io.flow.checkout.protocol.v0.models {
10271
10413
  readonly field: io.flow.checkout.protocol.v0.enums.CheckoutInfoOrderSummaryKeyField;
10272
10414
  readonly value: string;
10273
10415
  }
10274
- interface CheckoutInfoPaymentAuthorizationParameters {
10275
- readonly discriminator: 'checkout_info_payment_authorization_parameters';
10276
- readonly key: io.flow.checkout.protocol.v0.models.CheckoutInfoPaymentAuthorizationParametersKey[];
10277
- readonly data: io.flow.payment.internal.v0.models.AuthorizationParameters[];
10278
- }
10279
- interface CheckoutInfoPaymentAuthorizationParametersKey {
10280
- readonly field: io.flow.checkout.protocol.v0.enums.CheckoutInfoPaymentAuthorizationParametersKeyField;
10281
- readonly value: string;
10282
- }
10283
10416
  interface CheckoutInfoPaymentDetails {
10284
10417
  readonly discriminator: 'checkout_info_payment_details';
10285
10418
  readonly key: io.flow.checkout.protocol.v0.models.CheckoutInfoPaymentDetailsKey[];
@@ -10792,7 +10925,7 @@ declare namespace io.flow.checkout.protocol.v0.unions {
10792
10925
  type CheckoutCreateBySessionResponse = io.flow.checkout.protocol.v0.models.CheckoutCreateBySessionResponseError | io.flow.checkout.protocol.v0.models.CheckoutCreateBySessionResponseSuccess;
10793
10926
  type CheckoutFeaturesResponse = io.flow.checkout.protocol.v0.models.CheckoutFeaturesResponseError | io.flow.checkout.protocol.v0.models.CheckoutFeaturesResponseSuccess;
10794
10927
  type CheckoutGetResponse = io.flow.checkout.protocol.v0.models.CheckoutGetResponseError | io.flow.checkout.protocol.v0.models.CheckoutGetResponseSuccess;
10795
- 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.CheckoutInfoPaymentAuthorizationParameters | io.flow.checkout.protocol.v0.models.CheckoutInfoPaymentDetails | io.flow.checkout.protocol.v0.models.CheckoutInfoPaymentsFormData | io.flow.checkout.protocol.v0.models.CheckoutInfoPublicKey;
10928
+ 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;
10796
10929
  type CheckoutInput = io.flow.checkout.protocol.v0.models.CheckoutInputAddAttributes | io.flow.checkout.protocol.v0.models.CheckoutInputDeleteAddressStreet | io.flow.checkout.protocol.v0.models.CheckoutInputSetAddressCity | io.flow.checkout.protocol.v0.models.CheckoutInputSetAddressCountry | io.flow.checkout.protocol.v0.models.CheckoutInputSetAddressName | io.flow.checkout.protocol.v0.models.CheckoutInputSetAddressPostal | io.flow.checkout.protocol.v0.models.CheckoutInputSetAddressProvince | io.flow.checkout.protocol.v0.models.CheckoutInputSetAddressStreet | io.flow.checkout.protocol.v0.models.CheckoutInputSetAttributes | io.flow.checkout.protocol.v0.models.CheckoutInputSetContactEmail | io.flow.checkout.protocol.v0.models.CheckoutInputSetContactPhone | io.flow.checkout.protocol.v0.models.CheckoutInputSetCurrency | io.flow.checkout.protocol.v0.models.CheckoutInputSetDeliveryOption | io.flow.checkout.protocol.v0.models.CheckoutInputSetLanguage | io.flow.checkout.protocol.v0.models.CheckoutInputSetLocale | io.flow.checkout.protocol.v0.models.CheckoutInputSetNationalIdNumber | io.flow.checkout.protocol.v0.models.CheckoutInputSetOptinPrompt;
10797
10930
  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;
10798
10931
  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;
@@ -13155,6 +13288,89 @@ declare namespace io.flow.experiment.internal.v0.unions {
13155
13288
  type Variant = io.flow.experiment.internal.v0.models.ExperienceVariant | io.flow.experiment.internal.v0.models.FeatureVariant;
13156
13289
  type VariantForm = io.flow.experiment.internal.v0.models.ExperienceVariantForm | io.flow.experiment.internal.v0.models.FeatureVariantForm;
13157
13290
  }
13291
+ declare namespace io.flow.ups.registration.v0.models {
13292
+ interface Fault {
13293
+ readonly faultcode: string;
13294
+ readonly faultstring: string;
13295
+ readonly detail: io.flow.ups.registration.v0.models.UpsRegistrationDetail;
13296
+ }
13297
+ interface PrimaryErrorCode {
13298
+ readonly Code: string;
13299
+ readonly Description: string;
13300
+ }
13301
+ interface RegisterResponse {
13302
+ readonly Response: io.flow.ups.registration.v0.models.UpsRegistrationResponse;
13303
+ readonly SuggestedUsername: string;
13304
+ }
13305
+ interface Request {
13306
+ readonly RequestOption: string;
13307
+ readonly TransactionReference: io.flow.ups.registration.v0.models.TransactionReference;
13308
+ }
13309
+ interface RequestAddress {
13310
+ readonly AddressLine: string[];
13311
+ readonly City: string;
13312
+ readonly StateProvinceCode?: string;
13313
+ readonly PostalCode?: string;
13314
+ readonly CountryCode: string;
13315
+ }
13316
+ interface ResponseStatus {
13317
+ readonly Code: string;
13318
+ readonly Description: string;
13319
+ }
13320
+ interface ServiceAccessToken {
13321
+ readonly AccessLicenseNumber: string;
13322
+ }
13323
+ interface TransactionReference {
13324
+ readonly CustomerContext: string;
13325
+ readonly TransactionIdentifier?: string;
13326
+ }
13327
+ interface UpsRegistrationDetail {
13328
+ readonly Errors: io.flow.ups.registration.v0.models.UpsRegistrationErrors;
13329
+ }
13330
+ interface UpsRegistrationErrorDetail {
13331
+ readonly Severity: string;
13332
+ readonly PrimaryErrorCode: io.flow.ups.registration.v0.models.PrimaryErrorCode;
13333
+ }
13334
+ interface UpsRegistrationErrors {
13335
+ readonly ErrorDetail: io.flow.ups.registration.v0.models.UpsRegistrationErrorDetail;
13336
+ }
13337
+ interface UpsRegistrationRequest {
13338
+ readonly Request: io.flow.ups.registration.v0.models.Request;
13339
+ readonly Username: string;
13340
+ readonly Password: string;
13341
+ readonly CompanyName: string;
13342
+ readonly CustomerName: string;
13343
+ readonly EndUserIPAddress: string;
13344
+ readonly Title?: string;
13345
+ readonly Address: io.flow.ups.registration.v0.models.RequestAddress;
13346
+ readonly PhoneNumber: string;
13347
+ readonly PhoneExtension?: string;
13348
+ readonly EmailAddress: string;
13349
+ readonly NotificationCode: string;
13350
+ readonly DeviceIdentity?: string;
13351
+ readonly SuggestUsernameIndicator: string;
13352
+ }
13353
+ interface UpsRegistrationRequestWrapper {
13354
+ readonly UPSSecurity: io.flow.ups.registration.v0.models.UpsSecurity;
13355
+ readonly RegisterRequest: io.flow.ups.registration.v0.models.UpsRegistrationRequest;
13356
+ }
13357
+ interface UpsRegistrationResponse {
13358
+ readonly ResponseStatus: io.flow.ups.registration.v0.models.ResponseStatus;
13359
+ readonly TransactionReference: io.flow.ups.registration.v0.models.TransactionReference;
13360
+ }
13361
+ interface UpsRegistrationResponseWrapper {
13362
+ readonly RegisterResponse?: io.flow.ups.registration.v0.models.RegisterResponse;
13363
+ readonly Fault?: io.flow.ups.registration.v0.models.Fault;
13364
+ }
13365
+ interface UpsSecurity {
13366
+ readonly UsernameToken: io.flow.ups.registration.v0.models.UsernameToken;
13367
+ readonly ServiceAccessToken: io.flow.ups.registration.v0.models.ServiceAccessToken;
13368
+ }
13369
+ interface UsernameToken {
13370
+ readonly Username: string;
13371
+ readonly Password: string;
13372
+ }
13373
+ }
13158
13374
  declare namespace io.flow.internal.v0.enums {
13159
13375
  type AddressConfigurationSettingProvinceCode = 'iso_3166_2' | 'name';
13160
13376
  type BillingAllocationKey = 'freight_cost' | 'adjustment' | 'vat_deminimis' | 'duty_deminimis' | 'duties_item_price' | 'duties_freight' | 'duties_insurance' | 'vat_item_price' | 'vat_freight' | 'vat_insurance' | 'vat_duties_item_price' | 'vat_duties_freight' | 'vat_duties_insurance' | 'item_price' | 'item_discount' | 'rounding' | 'insurance' | 'shipping' | 'order_discount' | 'subtotal_percent_sales_margin' | 'subtotal_vat_percent_sales_margin' | 'subtotal_duty_percent_sales_margin' | 'vat_subsidy' | 'duty_subsidy' | 'fuel_surcharge' | 'remote_area_surcharge';
@@ -13191,10 +13407,9 @@ declare namespace io.flow.internal.v0.enums {
13191
13407
  type CheckoutInfoAddressConfigurationFormDataKeyField = 'country';
13192
13408
  type CheckoutInfoAddressPredictionsKeyField = 'input';
13193
13409
  type CheckoutInfoContentKeyField = 'locale';
13194
- type CheckoutInfoDeliveriesFormDataKeyField = 'country' | 'lines';
13410
+ type CheckoutInfoDeliveriesFormDataKeyField = 'country' | 'lines' | 'shipping_country' | 'shipping_province' | 'shipping_postal';
13195
13411
  type CheckoutInfoNationalIdNumberConfigurationFormDataKeyField = 'shipping_country';
13196
13412
  type CheckoutInfoOrderSummaryKeyField = 'shipping_country' | 'shipping_province' | 'shipping_postal' | 'delivery_option_id';
13197
- type CheckoutInfoPaymentAuthorizationParametersKeyField = 'value' | 'currency' | 'shipping_country';
13198
13413
  type CheckoutInfoPaymentDetailsKeyField = 'value' | 'currency' | 'payment_method_id';
13199
13414
  type CheckoutInfoPaymentsFormDataKeyField = 'value' | 'currency' | 'shipping_country';
13200
13415
  type CheckoutInitiatePaymentErrorCode = 'payment_failed' | 'authorization_form_not_supported' | 'authorization_invalid_amount' | 'authorization_invalid_currency' | 'authorization_amount_exceeds_balance' | 'address_street1_required';
@@ -14781,15 +14996,6 @@ declare namespace io.flow.internal.v0.models {
14781
14996
  readonly field: io.flow.internal.v0.enums.CheckoutInfoOrderSummaryKeyField;
14782
14997
  readonly value: string;
14783
14998
  }
14784
- interface CheckoutInfoPaymentAuthorizationParameters {
14785
- readonly discriminator: 'checkout_info_payment_authorization_parameters';
14786
- readonly key: io.flow.internal.v0.models.CheckoutInfoPaymentAuthorizationParametersKey[];
14787
- readonly data: io.flow.payment.internal.v0.models.AuthorizationParameters[];
14788
- }
14789
- interface CheckoutInfoPaymentAuthorizationParametersKey {
14790
- readonly field: io.flow.internal.v0.enums.CheckoutInfoPaymentAuthorizationParametersKeyField;
14791
- readonly value: string;
14792
- }
14793
14999
  interface CheckoutInfoPaymentDetails {
14794
15000
  readonly discriminator: 'checkout_info_payment_details';
14795
15001
  readonly key: io.flow.internal.v0.models.CheckoutInfoPaymentDetailsKey[];
@@ -18169,6 +18375,7 @@ declare namespace io.flow.internal.v0.models {
18169
18375
  readonly organization: string;
18170
18376
  readonly id: string;
18171
18377
  readonly item: io.flow.catalog.v0.models.Item;
18378
+ readonly item_schedule?: io.flow.price.v0.models.PriceBookItemSchedule;
18172
18379
  }
18173
18380
  interface LocalizedItemsExportSettings {
18174
18381
  readonly full_export_schedule?: io.flow.internal.v0.unions.ExportSchedule;
@@ -20563,6 +20770,10 @@ declare namespace io.flow.internal.v0.models {
20563
20770
  readonly discriminator: 'whole_order_action_form';
20564
20771
  readonly action: io.flow.internal.v0.enums.OrderAction;
20565
20772
  }
20773
+ interface XborderOrder {
20774
+ readonly shopify_order: io.flow.shopify.external.v0.models.ShopifyOrder;
20775
+ readonly flow_authorization: io.flow.payment.v0.unions.Authorization;
20776
+ }
20566
20777
  }
20567
20778
  declare namespace io.flow.internal.v0.unions {
20568
20779
  type AuthorizationPayload = io.flow.internal.v0.models.ApplePayAuthorizationPayload | io.flow.internal.v0.models.PaypalAuthorizationPayload;
@@ -20580,7 +20791,7 @@ declare namespace io.flow.internal.v0.unions {
20580
20791
  type CheckoutFeaturesResponse = io.flow.internal.v0.models.CheckoutFeaturesResponseError | io.flow.internal.v0.models.CheckoutFeaturesResponseSuccess;
20581
20792
  type CheckoutForm = io.flow.internal.v0.models.CheckoutOrderForm | io.flow.internal.v0.models.CheckoutOrderNumberForm;
20582
20793
  type CheckoutGetResponse = io.flow.internal.v0.models.CheckoutGetResponseError | io.flow.internal.v0.models.CheckoutGetResponseSuccess;
20583
- 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.CheckoutInfoPaymentAuthorizationParameters | io.flow.internal.v0.models.CheckoutInfoPaymentDetails | io.flow.internal.v0.models.CheckoutInfoPaymentsFormData | io.flow.internal.v0.models.CheckoutInfoPublicKey;
20794
+ 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;
20584
20795
  type CheckoutInitiatePaymentForm = io.flow.internal.v0.models.CheckoutInitiateRedirectPaymentForm | io.flow.internal.v0.models.CheckoutInitiateInlinePaymentForm;
20585
20796
  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.CheckoutInputSetAddressCountry | 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;
20586
20797
  type CheckoutOrder = io.flow.internal.v0.models.CheckoutOpenOrder | io.flow.internal.v0.models.CheckoutSubmittedOrder;
@@ -21010,9 +21221,6 @@ export declare type CheckoutInfoOptins = io.flow.internal.v0.models.CheckoutInfo
21010
21221
  export declare type CheckoutInfoOrderSummary = io.flow.internal.v0.models.CheckoutInfoOrderSummary;
21011
21222
  export declare type CheckoutInfoOrderSummaryKey = io.flow.internal.v0.models.CheckoutInfoOrderSummaryKey;
21012
21223
  export declare type CheckoutInfoOrderSummaryKeyField = io.flow.internal.v0.enums.CheckoutInfoOrderSummaryKeyField;
21013
- export declare type CheckoutInfoPaymentAuthorizationParameters = io.flow.internal.v0.models.CheckoutInfoPaymentAuthorizationParameters;
21014
- export declare type CheckoutInfoPaymentAuthorizationParametersKey = io.flow.internal.v0.models.CheckoutInfoPaymentAuthorizationParametersKey;
21015
- export declare type CheckoutInfoPaymentAuthorizationParametersKeyField = io.flow.internal.v0.enums.CheckoutInfoPaymentAuthorizationParametersKeyField;
21016
21224
  export declare type CheckoutInfoPaymentDetails = io.flow.internal.v0.models.CheckoutInfoPaymentDetails;
21017
21225
  export declare type CheckoutInfoPaymentDetailsKey = io.flow.internal.v0.models.CheckoutInfoPaymentDetailsKey;
21018
21226
  export declare type CheckoutInfoPaymentDetailsKeyField = io.flow.internal.v0.enums.CheckoutInfoPaymentDetailsKeyField;
@@ -22172,4 +22380,5 @@ export declare type VirtualCardTransaction = io.flow.internal.v0.models.VirtualC
22172
22380
  export declare type WasteElectricalAndElectronicEquipmentComplianceData = io.flow.internal.v0.models.WasteElectricalAndElectronicEquipmentComplianceData;
22173
22381
  export declare type WasteElectricalAndElectronicEquipmentComplianceForm = io.flow.internal.v0.models.WasteElectricalAndElectronicEquipmentComplianceForm;
22174
22382
  export declare type WholeOrderActionForm = io.flow.internal.v0.models.WholeOrderActionForm;
22383
+ export declare type XborderOrder = io.flow.internal.v0.models.XborderOrder;
22175
22384
  export {};
package/dist/api.d.ts CHANGED
@@ -3630,6 +3630,10 @@ declare namespace io.flow.v0.models {
3630
3630
  interface InventoryExperienceReference {
3631
3631
  readonly key: string;
3632
3632
  }
3633
+ interface InventoryFollowEcommercePlatform {
3634
+ readonly discriminator: 'inventory_follow_ecommerce_platform';
3635
+ readonly quantity: number;
3636
+ }
3633
3637
  interface InventoryItemReference {
3634
3638
  readonly number: string;
3635
3639
  }
@@ -7588,7 +7592,7 @@ declare namespace io.flow.v0.unions {
7588
7592
  type GatewayAuthenticationDataForm = io.flow.v0.models.StripeAuthenticationDataForm;
7589
7593
  type InlineActionConfiguration = io.flow.v0.models.BrowserInlineActionConfiguration;
7590
7594
  type InputSpecificationLimitation = io.flow.v0.models.InputSpecificationLimitationMax;
7591
- type InventoryStrategy = io.flow.v0.models.InventoryBackorder | io.flow.v0.models.InventoryStock | io.flow.v0.models.InventoryUnlimited;
7595
+ type InventoryStrategy = io.flow.v0.models.InventoryBackorder | io.flow.v0.models.InventoryStock | io.flow.v0.models.InventoryUnlimited | io.flow.v0.models.InventoryFollowEcommercePlatform;
7592
7596
  type LocalizedPrice = io.flow.v0.models.LocalizedItemPrice | io.flow.v0.models.LocalizedItemVat | io.flow.v0.models.LocalizedItemDuty | io.flow.v0.models.LocalizedTotal;
7593
7597
  type OnlineAuthorizationDetails = io.flow.v0.models.CryptopayAuthorizationDetails | io.flow.v0.models.PaypalAuthorizationDetails | io.flow.v0.models.RedirectAuthorizationDetails | io.flow.v0.models.InlineAuthorizationDetails;
7594
7598
  type OrderNumberGenerator = io.flow.v0.models.OrderNumberGeneratorUuid | io.flow.v0.models.OrderNumberGeneratorHexadecimal | io.flow.v0.models.OrderNumberGeneratorPrefixSuffix;
@@ -8181,6 +8185,7 @@ export declare type InventoryCenterReference = io.flow.v0.models.InventoryCenter
8181
8185
  export declare type InventoryCheckResponse = io.flow.v0.models.InventoryCheckResponse;
8182
8186
  export declare type InventoryCheckResponseItem = io.flow.v0.models.InventoryCheckResponseItem;
8183
8187
  export declare type InventoryExperienceReference = io.flow.v0.models.InventoryExperienceReference;
8188
+ export declare type InventoryFollowEcommercePlatform = io.flow.v0.models.InventoryFollowEcommercePlatform;
8184
8189
  export declare type InventoryItemReference = io.flow.v0.models.InventoryItemReference;
8185
8190
  export declare type InventoryRequest = io.flow.v0.models.InventoryRequest;
8186
8191
  export declare type InventoryRequestItem = io.flow.v0.models.InventoryRequestItem;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@flowio/types",
3
- "version": "11.9.6",
3
+ "version": "11.10.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": "a0d0163b850c3fb93821d750061d1e38fc6cd04b"
28
+ "gitHead": "c24c67216e9529dd803b2fd29eb87e482f79f93f"
29
29
  }
@@ -92,6 +92,142 @@ declare namespace io.flow.tracking.internal.v0.unions {
92
92
  | io.flow.tracking.internal.v0.models.Fedex;
93
93
  }
94
94
 
95
+ declare namespace io.flow.ups.license.v0.models {
96
+ interface AccessLicenceAgreementRequest {
97
+ readonly Request: io.flow.ups.license.v0.models.UpsLicenseRequest;
98
+ readonly DeveloperLicenseNumber: string;
99
+ readonly AccessLicenseProfile: io.flow.ups.license.v0.models.AccessLicenseProfile;
100
+ }
101
+
102
+ interface AccessLicenceAgreementRequestWrapper {
103
+ readonly UPSSecurity: io.flow.ups.license.v0.models.UpsSecurity;
104
+ readonly AccessLicenseAgreementRequest: io.flow.ups.license.v0.models.AccessLicenceAgreementRequest;
105
+ }
106
+
107
+ interface AccessLicenceAgreementResponse {
108
+ readonly Response: io.flow.ups.license.v0.models.UpsLicenseResponse;
109
+ readonly AccessLicenseText: string;
110
+ }
111
+
112
+ interface AccessLicenceAgreementResponseWrapper {
113
+ readonly AccessLicenseAgreementResponse?: io.flow.ups.license.v0.models.AccessLicenceAgreementResponse;
114
+ readonly Fault?: io.flow.ups.license.v0.models.Fault;
115
+ }
116
+
117
+ interface AccessLicenceRequest {
118
+ readonly Request: io.flow.ups.license.v0.models.UpsLicenseRequest;
119
+ readonly CompanyName: string;
120
+ readonly Address: io.flow.ups.license.v0.models.RequestAddress;
121
+ readonly PrimaryContact: io.flow.ups.license.v0.models.RequestContact;
122
+ readonly SecondaryContact?: io.flow.ups.license.v0.models.RequestContact;
123
+ readonly CompanyURL: string;
124
+ readonly ShipperNumber?: string;
125
+ readonly DeveloperLicenseNumber: string;
126
+ readonly AccessLicenseProfile: io.flow.ups.license.v0.models.AccessLicenseProfile;
127
+ readonly ClientSoftwareProfile: io.flow.ups.license.v0.models.ClientSoftwareProfile;
128
+ }
129
+
130
+ interface AccessLicenceResponse {
131
+ readonly Response?: io.flow.ups.license.v0.models.UpsLicenseResponse;
132
+ readonly AccessLicenseNumber?: string;
133
+ }
134
+
135
+ interface AccessLicenseProfile {
136
+ readonly CountryCode: string;
137
+ readonly LanguageCode: string;
138
+ readonly AccessLicenseText?: string;
139
+ }
140
+
141
+ interface AccessLicenseRequestWrapper {
142
+ readonly UPSSecurity: io.flow.ups.license.v0.models.UpsSecurity;
143
+ readonly AccessLicenseRequest: io.flow.ups.license.v0.models.AccessLicenceRequest;
144
+ }
145
+
146
+ interface AccessLicenseResponseWrapper {
147
+ readonly AccessLicenseResponse?: io.flow.ups.license.v0.models.AccessLicenceResponse;
148
+ readonly Fault?: io.flow.ups.license.v0.models.Fault;
149
+ }
150
+
151
+ interface ClientSoftwareProfile {
152
+ readonly SoftwareInstaller: string;
153
+ readonly SoftwareProductName: string;
154
+ readonly SoftwareProvider: string;
155
+ readonly SoftwareVersionNumber: string;
156
+ }
157
+
158
+ interface Fault {
159
+ readonly faultcode: string;
160
+ readonly faultstring: string;
161
+ readonly detail: io.flow.ups.license.v0.models.UpsLicenseDetail;
162
+ }
163
+
164
+ interface PrimaryErrorCode {
165
+ readonly Code: string;
166
+ readonly Description: string;
167
+ }
168
+
169
+ interface RequestAddress {
170
+ readonly AddressLine1: string;
171
+ readonly AddressLine2?: string;
172
+ readonly AddressLine3?: string;
173
+ readonly City: string;
174
+ readonly StateProvinceCode: string;
175
+ readonly PostalCode: string;
176
+ readonly CountryCode: string;
177
+ }
178
+
179
+ interface RequestContact {
180
+ readonly Name: string;
181
+ readonly Title: string;
182
+ readonly EMailAddress: string;
183
+ readonly PhoneNumber: string;
184
+ readonly FaxNumber?: string;
185
+ }
186
+
187
+ interface TransactionReference {
188
+ readonly CustomerContext: string;
189
+ readonly TransactionIdentifier?: string;
190
+ }
191
+
192
+ interface UpsLicenseDetail {
193
+ readonly Errors: io.flow.ups.license.v0.models.UpsLicenseErrors;
194
+ }
195
+
196
+ interface UpsLicenseErrorDetail {
197
+ readonly Severity: string;
198
+ readonly PrimaryErrorCode: io.flow.ups.license.v0.models.PrimaryErrorCode;
199
+ }
200
+
201
+ interface UpsLicenseErrors {
202
+ readonly ErrorDetail: io.flow.ups.license.v0.models.UpsLicenseErrorDetail;
203
+ }
204
+
205
+ interface UpsLicenseRequest {
206
+ readonly RequestOption: string;
207
+ readonly TransactionReference: io.flow.ups.license.v0.models.TransactionReference;
208
+ }
209
+
210
+ interface UpsLicenseResponse {
211
+ readonly ResponseStatus: io.flow.ups.license.v0.models.UpsLicenseResponseStatus;
212
+ readonly TransactionReference: io.flow.ups.license.v0.models.TransactionReference;
213
+ }
214
+
215
+ interface UpsLicenseResponseStatus {
216
+ readonly Code: string;
217
+ readonly Description: string;
218
+ }
219
+
220
+ interface UpsSecurity {
221
+ readonly UsernameToken: io.flow.ups.license.v0.models.UsernameToken;
222
+ readonly ServiceAccessToken: string;
223
+ }
224
+
225
+ interface UsernameToken {
226
+ readonly Username: string;
227
+ readonly Password: string;
228
+ }
229
+ }
230
+
95
231
  declare namespace io.flow.item.dimension.estimate.v0.models {
96
232
  interface ItemDimensionEstimate {
97
233
  readonly id: string;
@@ -2637,7 +2773,7 @@ declare namespace io.flow.stripe.v0.models {
2637
2773
  readonly payment_method_options?: io.flow.stripe.v0.models.PaymentMethodOptions;
2638
2774
  readonly payment_method_types?: string[];
2639
2775
  readonly receipt_email?: string;
2640
- readonly save_payment_method?: boolean;
2776
+ readonly save_payment_method: boolean;
2641
2777
  readonly setup_future_usage?: io.flow.stripe.v0.enums.SetupFutureUsage;
2642
2778
  }
2643
2779
 
@@ -2658,7 +2794,7 @@ declare namespace io.flow.stripe.v0.models {
2658
2794
  readonly payment_method_types?: string[];
2659
2795
  readonly receipt_email?: string;
2660
2796
  readonly return_url?: string;
2661
- readonly save_payment_method?: boolean;
2797
+ readonly save_payment_method: boolean;
2662
2798
  readonly setup_future_usage?: io.flow.stripe.v0.enums.SetupFutureUsage;
2663
2799
  readonly statement_descriptor?: string;
2664
2800
  readonly statement_descriptor_suffix?: string;
@@ -2675,7 +2811,7 @@ declare namespace io.flow.stripe.v0.models {
2675
2811
  readonly payment_method?: string;
2676
2812
  readonly payment_method_types?: string[];
2677
2813
  readonly receipt_email?: string;
2678
- readonly save_payment_method?: boolean;
2814
+ readonly save_payment_method: boolean;
2679
2815
  readonly statement_descriptor?: string;
2680
2816
  readonly statement_descriptor_suffix?: string;
2681
2817
  readonly transfer_data?: io.flow.stripe.v0.models.TransferData;
@@ -3214,6 +3350,36 @@ declare namespace io.flow.label.v0.models {
3214
3350
  readonly items: io.flow.common.v0.models.LineItemForm[];
3215
3351
  readonly center_key?: string;
3216
3352
  }
3353
+
3354
+ interface UpsLicense {
3355
+ readonly access_license_number: string;
3356
+ readonly address: io.flow.common.v0.models.BillingAddress;
3357
+ readonly contact: io.flow.common.v0.models.Contact;
3358
+ readonly secondary_contact?: io.flow.common.v0.models.Contact;
3359
+ readonly company_url: string;
3360
+ }
3361
+
3362
+ interface UpsLicenseForm {
3363
+ readonly address: io.flow.common.v0.models.BillingAddress;
3364
+ readonly contact: io.flow.common.v0.models.Contact;
3365
+ readonly secondary_contact?: io.flow.common.v0.models.Contact;
3366
+ readonly developer_license_number: string;
3367
+ readonly company_url: string;
3368
+ }
3369
+
3370
+ interface UpsRegistration {
3371
+ readonly username: string;
3372
+ readonly address: io.flow.common.v0.models.BillingAddress;
3373
+ readonly contact: io.flow.common.v0.models.Contact;
3374
+ readonly suggest_username_indicator?: string;
3375
+ }
3376
+
3377
+ interface UpsRegistrationForm {
3378
+ readonly username: string;
3379
+ readonly password: string;
3380
+ readonly address: io.flow.common.v0.models.BillingAddress;
3381
+ readonly contact: io.flow.common.v0.models.Contact;
3382
+ }
3217
3383
  }
3218
3384
 
3219
3385
  declare namespace io.flow.label.v0.unions {
@@ -10431,6 +10597,11 @@ declare namespace io.flow.inventory.v0.models {
10431
10597
  readonly key: string;
10432
10598
  }
10433
10599
 
10600
+ interface InventoryFollowEcommercePlatform {
10601
+ readonly discriminator: 'inventory_follow_ecommerce_platform';
10602
+ readonly quantity: number;
10603
+ }
10604
+
10434
10605
  interface InventoryItemReference {
10435
10606
  readonly number: string;
10436
10607
  }
@@ -10580,7 +10751,8 @@ declare namespace io.flow.inventory.v0.unions {
10580
10751
  type InventoryStrategy =
10581
10752
  | io.flow.inventory.v0.models.InventoryBackorder
10582
10753
  | io.flow.inventory.v0.models.InventoryStock
10583
- | io.flow.inventory.v0.models.InventoryUnlimited;
10754
+ | io.flow.inventory.v0.models.InventoryUnlimited
10755
+ | io.flow.inventory.v0.models.InventoryFollowEcommercePlatform;
10584
10756
  type ReservationError =
10585
10757
  | io.flow.inventory.v0.models.NoInventoryReservationError
10586
10758
  | io.flow.inventory.v0.models.ExternalApiTimeoutReservationError
@@ -12985,17 +13157,18 @@ declare namespace io.flow.checkout.protocol.v0.enums {
12985
13157
  type CheckoutInfoAddressConfigurationFormDataKeyField = 'country';
12986
13158
  type CheckoutInfoAddressPredictionsKeyField = 'input';
12987
13159
  type CheckoutInfoContentKeyField = 'locale';
12988
- type CheckoutInfoDeliveriesFormDataKeyField = 'country' | 'lines';
13160
+ type CheckoutInfoDeliveriesFormDataKeyField =
13161
+ | 'country'
13162
+ | 'lines'
13163
+ | 'shipping_country'
13164
+ | 'shipping_province'
13165
+ | 'shipping_postal';
12989
13166
  type CheckoutInfoNationalIdNumberConfigurationFormDataKeyField = 'shipping_country';
12990
13167
  type CheckoutInfoOrderSummaryKeyField =
12991
13168
  | 'shipping_country'
12992
13169
  | 'shipping_province'
12993
13170
  | 'shipping_postal'
12994
13171
  | 'delivery_option_id';
12995
- type CheckoutInfoPaymentAuthorizationParametersKeyField =
12996
- | 'value'
12997
- | 'currency'
12998
- | 'shipping_country';
12999
13172
  type CheckoutInfoPaymentDetailsKeyField =
13000
13173
  | 'value'
13001
13174
  | 'currency'
@@ -13380,17 +13553,6 @@ declare namespace io.flow.checkout.protocol.v0.models {
13380
13553
  readonly value: string;
13381
13554
  }
13382
13555
 
13383
- interface CheckoutInfoPaymentAuthorizationParameters {
13384
- readonly discriminator: 'checkout_info_payment_authorization_parameters';
13385
- readonly key: io.flow.checkout.protocol.v0.models.CheckoutInfoPaymentAuthorizationParametersKey[];
13386
- readonly data: io.flow.payment.internal.v0.models.AuthorizationParameters[];
13387
- }
13388
-
13389
- interface CheckoutInfoPaymentAuthorizationParametersKey {
13390
- readonly field: io.flow.checkout.protocol.v0.enums.CheckoutInfoPaymentAuthorizationParametersKeyField;
13391
- readonly value: string;
13392
- }
13393
-
13394
13556
  interface CheckoutInfoPaymentDetails {
13395
13557
  readonly discriminator: 'checkout_info_payment_details';
13396
13558
  readonly key: io.flow.checkout.protocol.v0.models.CheckoutInfoPaymentDetailsKey[];
@@ -14044,7 +14206,6 @@ declare namespace io.flow.checkout.protocol.v0.unions {
14044
14206
  | io.flow.checkout.protocol.v0.models.CheckoutInfoNationalIdNumberConfigurationFormData
14045
14207
  | io.flow.checkout.protocol.v0.models.CheckoutInfoOptins
14046
14208
  | io.flow.checkout.protocol.v0.models.CheckoutInfoOrderSummary
14047
- | io.flow.checkout.protocol.v0.models.CheckoutInfoPaymentAuthorizationParameters
14048
14209
  | io.flow.checkout.protocol.v0.models.CheckoutInfoPaymentDetails
14049
14210
  | io.flow.checkout.protocol.v0.models.CheckoutInfoPaymentsFormData
14050
14211
  | io.flow.checkout.protocol.v0.models.CheckoutInfoPublicKey;
@@ -17110,6 +17271,106 @@ declare namespace io.flow.experiment.internal.v0.unions {
17110
17271
  | io.flow.experiment.internal.v0.models.FeatureVariantForm;
17111
17272
  }
17112
17273
 
17274
+ declare namespace io.flow.ups.registration.v0.models {
17275
+ interface Fault {
17276
+ readonly faultcode: string;
17277
+ readonly faultstring: string;
17278
+ readonly detail: io.flow.ups.registration.v0.models.UpsRegistrationDetail;
17279
+ }
17280
+
17281
+ interface PrimaryErrorCode {
17282
+ readonly Code: string;
17283
+ readonly Description: string;
17284
+ }
17285
+
17286
+ interface RegisterResponse {
17287
+ readonly Response: io.flow.ups.registration.v0.models.UpsRegistrationResponse;
17288
+ readonly SuggestedUsername: string;
17289
+ }
17290
+
17291
+ interface Request {
17292
+ readonly RequestOption: string;
17293
+ readonly TransactionReference: io.flow.ups.registration.v0.models.TransactionReference;
17294
+ }
17295
+
17296
+ interface RequestAddress {
17297
+ readonly AddressLine: string[];
17298
+ readonly City: string;
17299
+ readonly StateProvinceCode?: string;
17300
+ readonly PostalCode?: string;
17301
+ readonly CountryCode: string;
17302
+ }
17303
+
17304
+ interface ResponseStatus {
17305
+ readonly Code: string;
17306
+ readonly Description: string;
17307
+ }
17308
+
17309
+ interface ServiceAccessToken {
17310
+ readonly AccessLicenseNumber: string;
17311
+ }
17312
+
17313
+ interface TransactionReference {
17314
+ readonly CustomerContext: string;
17315
+ readonly TransactionIdentifier?: string;
17316
+ }
17317
+
17318
+ interface UpsRegistrationDetail {
17319
+ readonly Errors: io.flow.ups.registration.v0.models.UpsRegistrationErrors;
17320
+ }
17321
+
17322
+ interface UpsRegistrationErrorDetail {
17323
+ readonly Severity: string;
17324
+ readonly PrimaryErrorCode: io.flow.ups.registration.v0.models.PrimaryErrorCode;
17325
+ }
17326
+
17327
+ interface UpsRegistrationErrors {
17328
+ readonly ErrorDetail: io.flow.ups.registration.v0.models.UpsRegistrationErrorDetail;
17329
+ }
17330
+
17331
+ interface UpsRegistrationRequest {
17332
+ readonly Request: io.flow.ups.registration.v0.models.Request;
17333
+ readonly Username: string;
17334
+ readonly Password: string;
17335
+ readonly CompanyName: string;
17336
+ readonly CustomerName: string;
17337
+ readonly EndUserIPAddress: string;
17338
+ readonly Title?: string;
17339
+ readonly Address: io.flow.ups.registration.v0.models.RequestAddress;
17340
+ readonly PhoneNumber: string;
17341
+ readonly PhoneExtension?: string;
17342
+ readonly EmailAddress: string;
17343
+ readonly NotificationCode: string;
17344
+ readonly DeviceIdentity?: string;
17345
+ readonly SuggestUsernameIndicator: string;
17346
+ }
17347
+
17348
+ interface UpsRegistrationRequestWrapper {
17349
+ readonly UPSSecurity: io.flow.ups.registration.v0.models.UpsSecurity;
17350
+ readonly RegisterRequest: io.flow.ups.registration.v0.models.UpsRegistrationRequest;
17351
+ }
17352
+
17353
+ interface UpsRegistrationResponse {
17354
+ readonly ResponseStatus: io.flow.ups.registration.v0.models.ResponseStatus;
17355
+ readonly TransactionReference: io.flow.ups.registration.v0.models.TransactionReference;
17356
+ }
17357
+
17358
+ interface UpsRegistrationResponseWrapper {
17359
+ readonly RegisterResponse?: io.flow.ups.registration.v0.models.RegisterResponse;
17360
+ readonly Fault?: io.flow.ups.registration.v0.models.Fault;
17361
+ }
17362
+
17363
+ interface UpsSecurity {
17364
+ readonly UsernameToken: io.flow.ups.registration.v0.models.UsernameToken;
17365
+ readonly ServiceAccessToken: io.flow.ups.registration.v0.models.ServiceAccessToken;
17366
+ }
17367
+
17368
+ interface UsernameToken {
17369
+ readonly Username: string;
17370
+ readonly Password: string;
17371
+ }
17372
+ }
17373
+
17113
17374
  declare namespace io.flow.internal.v0.enums {
17114
17375
  type AddressConfigurationSettingProvinceCode = 'iso_3166_2' | 'name';
17115
17376
  type BillingAllocationKey =
@@ -17253,17 +17514,18 @@ declare namespace io.flow.internal.v0.enums {
17253
17514
  type CheckoutInfoAddressConfigurationFormDataKeyField = 'country';
17254
17515
  type CheckoutInfoAddressPredictionsKeyField = 'input';
17255
17516
  type CheckoutInfoContentKeyField = 'locale';
17256
- type CheckoutInfoDeliveriesFormDataKeyField = 'country' | 'lines';
17517
+ type CheckoutInfoDeliveriesFormDataKeyField =
17518
+ | 'country'
17519
+ | 'lines'
17520
+ | 'shipping_country'
17521
+ | 'shipping_province'
17522
+ | 'shipping_postal';
17257
17523
  type CheckoutInfoNationalIdNumberConfigurationFormDataKeyField = 'shipping_country';
17258
17524
  type CheckoutInfoOrderSummaryKeyField =
17259
17525
  | 'shipping_country'
17260
17526
  | 'shipping_province'
17261
17527
  | 'shipping_postal'
17262
17528
  | 'delivery_option_id';
17263
- type CheckoutInfoPaymentAuthorizationParametersKeyField =
17264
- | 'value'
17265
- | 'currency'
17266
- | 'shipping_country';
17267
17529
  type CheckoutInfoPaymentDetailsKeyField =
17268
17530
  | 'value'
17269
17531
  | 'currency'
@@ -19561,17 +19823,6 @@ declare namespace io.flow.internal.v0.models {
19561
19823
  readonly value: string;
19562
19824
  }
19563
19825
 
19564
- interface CheckoutInfoPaymentAuthorizationParameters {
19565
- readonly discriminator: 'checkout_info_payment_authorization_parameters';
19566
- readonly key: io.flow.internal.v0.models.CheckoutInfoPaymentAuthorizationParametersKey[];
19567
- readonly data: io.flow.payment.internal.v0.models.AuthorizationParameters[];
19568
- }
19569
-
19570
- interface CheckoutInfoPaymentAuthorizationParametersKey {
19571
- readonly field: io.flow.internal.v0.enums.CheckoutInfoPaymentAuthorizationParametersKeyField;
19572
- readonly value: string;
19573
- }
19574
-
19575
19826
  interface CheckoutInfoPaymentDetails {
19576
19827
  readonly discriminator: 'checkout_info_payment_details';
19577
19828
  readonly key: io.flow.internal.v0.models.CheckoutInfoPaymentDetailsKey[];
@@ -23514,6 +23765,7 @@ declare namespace io.flow.internal.v0.models {
23514
23765
  readonly organization: string;
23515
23766
  readonly id: string;
23516
23767
  readonly item: io.flow.catalog.v0.models.Item;
23768
+ readonly item_schedule?: io.flow.price.v0.models.PriceBookItemSchedule;
23517
23769
  }
23518
23770
 
23519
23771
  interface LocalizedItemsExportSettings {
@@ -26288,6 +26540,11 @@ declare namespace io.flow.internal.v0.models {
26288
26540
  readonly discriminator: 'whole_order_action_form';
26289
26541
  readonly action: io.flow.internal.v0.enums.OrderAction;
26290
26542
  }
26543
+
26544
+ interface XborderOrder {
26545
+ readonly shopify_order: io.flow.shopify.external.v0.models.ShopifyOrder;
26546
+ readonly flow_authorization: io.flow.payment.v0.unions.Authorization;
26547
+ }
26291
26548
  }
26292
26549
 
26293
26550
  declare namespace io.flow.internal.v0.unions {
@@ -26360,7 +26617,6 @@ declare namespace io.flow.internal.v0.unions {
26360
26617
  | io.flow.internal.v0.models.CheckoutInfoNationalIdNumberConfigurationFormData
26361
26618
  | io.flow.internal.v0.models.CheckoutInfoOptins
26362
26619
  | io.flow.internal.v0.models.CheckoutInfoOrderSummary
26363
- | io.flow.internal.v0.models.CheckoutInfoPaymentAuthorizationParameters
26364
26620
  | io.flow.internal.v0.models.CheckoutInfoPaymentDetails
26365
26621
  | io.flow.internal.v0.models.CheckoutInfoPaymentsFormData
26366
26622
  | io.flow.internal.v0.models.CheckoutInfoPublicKey;
@@ -27297,9 +27553,6 @@ export type CheckoutInfoOptins = io.flow.internal.v0.models.CheckoutInfoOptins;
27297
27553
  export type CheckoutInfoOrderSummary = io.flow.internal.v0.models.CheckoutInfoOrderSummary;
27298
27554
  export type CheckoutInfoOrderSummaryKey = io.flow.internal.v0.models.CheckoutInfoOrderSummaryKey;
27299
27555
  export type CheckoutInfoOrderSummaryKeyField = io.flow.internal.v0.enums.CheckoutInfoOrderSummaryKeyField;
27300
- export type CheckoutInfoPaymentAuthorizationParameters = io.flow.internal.v0.models.CheckoutInfoPaymentAuthorizationParameters;
27301
- export type CheckoutInfoPaymentAuthorizationParametersKey = io.flow.internal.v0.models.CheckoutInfoPaymentAuthorizationParametersKey;
27302
- export type CheckoutInfoPaymentAuthorizationParametersKeyField = io.flow.internal.v0.enums.CheckoutInfoPaymentAuthorizationParametersKeyField;
27303
27556
  export type CheckoutInfoPaymentDetails = io.flow.internal.v0.models.CheckoutInfoPaymentDetails;
27304
27557
  export type CheckoutInfoPaymentDetailsKey = io.flow.internal.v0.models.CheckoutInfoPaymentDetailsKey;
27305
27558
  export type CheckoutInfoPaymentDetailsKeyField = io.flow.internal.v0.enums.CheckoutInfoPaymentDetailsKeyField;
@@ -28459,3 +28712,4 @@ export type VirtualCardTransaction = io.flow.internal.v0.models.VirtualCardTrans
28459
28712
  export type WasteElectricalAndElectronicEquipmentComplianceData = io.flow.internal.v0.models.WasteElectricalAndElectronicEquipmentComplianceData;
28460
28713
  export type WasteElectricalAndElectronicEquipmentComplianceForm = io.flow.internal.v0.models.WasteElectricalAndElectronicEquipmentComplianceForm;
28461
28714
  export type WholeOrderActionForm = io.flow.internal.v0.models.WholeOrderActionForm;
28715
+ export type XborderOrder = io.flow.internal.v0.models.XborderOrder;
package/src/api.ts CHANGED
@@ -4784,6 +4784,11 @@ declare namespace io.flow.v0.models {
4784
4784
  readonly key: string;
4785
4785
  }
4786
4786
 
4787
+ interface InventoryFollowEcommercePlatform {
4788
+ readonly discriminator: 'inventory_follow_ecommerce_platform';
4789
+ readonly quantity: number;
4790
+ }
4791
+
4787
4792
  interface InventoryItemReference {
4788
4793
  readonly number: string;
4789
4794
  }
@@ -9614,7 +9619,8 @@ declare namespace io.flow.v0.unions {
9614
9619
  type InventoryStrategy =
9615
9620
  | io.flow.v0.models.InventoryBackorder
9616
9621
  | io.flow.v0.models.InventoryStock
9617
- | io.flow.v0.models.InventoryUnlimited;
9622
+ | io.flow.v0.models.InventoryUnlimited
9623
+ | io.flow.v0.models.InventoryFollowEcommercePlatform;
9618
9624
  type LocalizedPrice =
9619
9625
  | io.flow.v0.models.LocalizedItemPrice
9620
9626
  | io.flow.v0.models.LocalizedItemVat
@@ -10280,6 +10286,7 @@ export type InventoryCenterReference = io.flow.v0.models.InventoryCenterReferenc
10280
10286
  export type InventoryCheckResponse = io.flow.v0.models.InventoryCheckResponse;
10281
10287
  export type InventoryCheckResponseItem = io.flow.v0.models.InventoryCheckResponseItem;
10282
10288
  export type InventoryExperienceReference = io.flow.v0.models.InventoryExperienceReference;
10289
+ export type InventoryFollowEcommercePlatform = io.flow.v0.models.InventoryFollowEcommercePlatform;
10283
10290
  export type InventoryItemReference = io.flow.v0.models.InventoryItemReference;
10284
10291
  export type InventoryRequest = io.flow.v0.models.InventoryRequest;
10285
10292
  export type InventoryRequestItem = io.flow.v0.models.InventoryRequestItem;