@flowio/types 11.23.1 → 11.23.3

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/src/api.ts CHANGED
@@ -3327,6 +3327,40 @@ declare namespace io.flow.v0.enums {
3327
3327
  | 'unsupported_currency';
3328
3328
  type MerchantOfRecord = 'flow' | 'organization';
3329
3329
  type Method = 'post';
3330
+ type OnboardingDangerousGoods =
3331
+ | 'aerosols'
3332
+ | 'air_bag_inflators_or_seat_belt_pretensioners'
3333
+ | 'alcoholic_beverages_containing_more_than_24_percent_alcohol_by_volume'
3334
+ | 'batteries'
3335
+ | 'carbon_dioxide_or_dry_ice'
3336
+ | 'corrosives'
3337
+ | 'cannabidiol_products'
3338
+ | 'cologne_or_perfume'
3339
+ | 'currency_or_gift_cards_or_monetary_instruments'
3340
+ | 'exotic_leather_goods'
3341
+ | 'environmental_waste'
3342
+ | 'explosives_or_ammunition'
3343
+ | 'flammable_liquids'
3344
+ | 'gases'
3345
+ | 'hazardous_or_combustible_materials'
3346
+ | 'infectious_or_biological_substances'
3347
+ | 'knives'
3348
+ | 'matches_or_lighter_or_lighter_refills'
3349
+ | 'nail_polish'
3350
+ | 'oxidizing_materials_or_organic_peroxides'
3351
+ | 'pornography'
3352
+ | 'prohibited_carriage'
3353
+ | 'pesticides_or_toxic_herbicides_or_insecticides_or_poisonous_toxic_substances';
3354
+ type OnboardingTradeSector =
3355
+ | 'apparel_and_accessories'
3356
+ | 'beauty_and_cosmetics'
3357
+ | 'electronics'
3358
+ | 'food_or_perishables'
3359
+ | 'jewellery_and_watches'
3360
+ | 'paper_and_art'
3361
+ | 'sports_and_fitness'
3362
+ | 'toys_hobbies_gifts'
3363
+ | 'other';
3330
3364
  type OptinResponseType = 'not_shown' | 'opted_in' | 'opted_out';
3331
3365
  type OrderChangeSource =
3332
3366
  | 'consumer'
@@ -3442,6 +3476,8 @@ declare namespace io.flow.v0.enums {
3442
3476
  | 'provisioned';
3443
3477
  type PaymentActionType =
3444
3478
  | 'redirect'
3479
+ | 'redirect_get'
3480
+ | 'redirect_post'
3445
3481
  | 'use_sdk_klarna_v1'
3446
3482
  | 'use_sdk_applepay_js'
3447
3483
  | 'use_sdk_googlepay'
@@ -3495,6 +3531,7 @@ declare namespace io.flow.v0.enums {
3495
3531
  | 'paypal'
3496
3532
  | 'applepay'
3497
3533
  | 'ideal'
3534
+ | 'sofort'
3498
3535
  | 'afterpay';
3499
3536
  type PermittedHttpMethod = 'GET' | 'POST' | 'PUT' | 'DELETE' | 'PATCH';
3500
3537
  type PhysicalDeliverySpecialSerivce =
@@ -3677,6 +3714,7 @@ declare namespace io.flow.v0.enums {
3677
3714
  | 'expired';
3678
3715
  type TradeAgreementName = 'USMCA' | 'T-MEC' | 'CUSMA' | 'TCA';
3679
3716
  type TradeAgreementStatus = 'supported' | 'not_supported';
3717
+ type UncertainBoolean = 'yes' | 'no' | 'i_dont_know';
3680
3718
  type UnitOfMeasurement =
3681
3719
  | 'millimeter'
3682
3720
  | 'centimeter'
@@ -3809,6 +3847,11 @@ declare namespace io.flow.v0.models {
3809
3847
  readonly script: string;
3810
3848
  }
3811
3849
 
3850
+ interface ActionIdealSelectIssuer {
3851
+ readonly type: 'select_ideal_issuer';
3852
+ readonly issuers: io.flow.v0.models.IdealIssuer[];
3853
+ }
3854
+
3812
3855
  interface ActionRedirect {
3813
3856
  readonly type: 'redirect';
3814
3857
  readonly expires_at?: string;
@@ -7068,6 +7111,12 @@ declare namespace io.flow.v0.models {
7068
7111
  readonly code: string;
7069
7112
  }
7070
7113
 
7114
+ interface IdealIssuer {
7115
+ readonly id: string;
7116
+ readonly name: string;
7117
+ readonly images?: io.flow.v0.models.PaymentMethodImages;
7118
+ }
7119
+
7071
7120
  interface IdentifierForm {
7072
7121
  readonly primary?: boolean;
7073
7122
  readonly name: string;
@@ -8124,6 +8173,128 @@ declare namespace io.flow.v0.models {
8124
8173
  readonly max: number;
8125
8174
  }
8126
8175
 
8176
+ interface OnboardingBankAccount {
8177
+ readonly id: string;
8178
+ readonly name?: string;
8179
+ readonly address?: io.flow.v0.models.Address;
8180
+ readonly contact?: io.flow.v0.models.Contact;
8181
+ readonly account_number: string;
8182
+ readonly aba_routing_transit_number: string;
8183
+ readonly created_at: string;
8184
+ }
8185
+
8186
+ interface OnboardingBankAccountForm {
8187
+ readonly name?: string;
8188
+ readonly address?: io.flow.v0.models.Address;
8189
+ readonly contact?: io.flow.v0.models.Contact;
8190
+ readonly account_number: string;
8191
+ readonly aba_routing_transit_number: string;
8192
+ }
8193
+
8194
+ interface OnboardingClassification {
8195
+ readonly id: string;
8196
+ readonly country_of_origin_populated: boolean;
8197
+ readonly created_at: string;
8198
+ }
8199
+
8200
+ interface OnboardingClassificationForm {
8201
+ readonly country_of_origin_populated: boolean;
8202
+ }
8203
+
8204
+ interface OnboardingIncorporation {
8205
+ readonly country: string;
8206
+ readonly state?: string;
8207
+ readonly province?: string;
8208
+ readonly jurisdiction?: string;
8209
+ }
8210
+
8211
+ interface OnboardingPayment {
8212
+ readonly id: string;
8213
+ readonly legal_name: string;
8214
+ readonly incorporation: io.flow.v0.models.OnboardingIncorporation;
8215
+ readonly indirect_tax_number?: number;
8216
+ readonly subsidiary_company?: io.flow.v0.models.OnboardingSubsidiaryCompany;
8217
+ readonly beneficiary: string;
8218
+ readonly business_url: string;
8219
+ readonly business_description: string;
8220
+ readonly business_address: io.flow.v0.models.Address;
8221
+ readonly refund_percentage: number;
8222
+ readonly chargeback_percentage: number;
8223
+ readonly created_at: string;
8224
+ }
8225
+
8226
+ interface OnboardingPaymentForm {
8227
+ readonly legal_name: string;
8228
+ readonly incorporation: io.flow.v0.models.OnboardingIncorporation;
8229
+ readonly indirect_tax_number?: number;
8230
+ readonly subsidiary_company?: io.flow.v0.models.OnboardingSubsidiaryCompany;
8231
+ readonly beneficiary: string;
8232
+ readonly business_url: string;
8233
+ readonly business_description: string;
8234
+ readonly business_address: io.flow.v0.models.Address;
8235
+ readonly refund_percentage: number;
8236
+ readonly chargeback_percentage: number;
8237
+ }
8238
+
8239
+ interface OnboardingPreparerDetails {
8240
+ readonly id: string;
8241
+ readonly name?: string;
8242
+ readonly title?: string;
8243
+ readonly company?: string;
8244
+ readonly created_at: string;
8245
+ }
8246
+
8247
+ interface OnboardingPreparerDetailsForm {
8248
+ readonly name?: string;
8249
+ readonly title?: string;
8250
+ readonly company?: string;
8251
+ }
8252
+
8253
+ interface OnboardingProductLogistics {
8254
+ readonly id: string;
8255
+ readonly trade_sector: io.flow.v0.enums.OnboardingTradeSector[];
8256
+ readonly other_trade_sector?: string;
8257
+ readonly shipped_prohibited_products_before: boolean;
8258
+ readonly third_party_logistics_partner: io.flow.v0.models.ThirdPartyLogisticsPartner;
8259
+ readonly third_party_logistics_pick_up_time_window: io.flow.v0.models.ThirdPartyLogisticsPickUpTimeWindow;
8260
+ readonly pickup_location: io.flow.v0.models.BillingAddress;
8261
+ readonly pickup_instructions?: string;
8262
+ readonly operations_contact: io.flow.v0.models.Contact;
8263
+ readonly average_order_weight?: number;
8264
+ readonly package_dimensions: io.flow.v0.models.Dimensions;
8265
+ readonly average_order_value?: number;
8266
+ readonly maximum_order_value: number;
8267
+ readonly monthly_average_volume: number;
8268
+ readonly monthly_average_transactions: number;
8269
+ readonly sells_dangerous_goods: io.flow.v0.enums.UncertainBoolean;
8270
+ readonly dangerous_goods: io.flow.v0.enums.OnboardingDangerousGoods[];
8271
+ readonly created_at: string;
8272
+ }
8273
+
8274
+ interface OnboardingProductLogisticsForm {
8275
+ readonly trade_sector: io.flow.v0.enums.OnboardingTradeSector[];
8276
+ readonly other_trade_sector?: string;
8277
+ readonly shipped_prohibited_products_before: boolean;
8278
+ readonly third_party_logistics_partner: io.flow.v0.models.ThirdPartyLogisticsPartner;
8279
+ readonly third_party_logistics_pick_up_time_window: io.flow.v0.models.ThirdPartyLogisticsPickUpTimeWindow;
8280
+ readonly pickup_location: io.flow.v0.models.BillingAddress;
8281
+ readonly pickup_instructions?: string;
8282
+ readonly operations_contact: io.flow.v0.models.Contact;
8283
+ readonly average_order_weight?: number;
8284
+ readonly package_dimensions: io.flow.v0.models.Dimensions;
8285
+ readonly average_order_value?: number;
8286
+ readonly maximum_order_value: number;
8287
+ readonly monthly_average_volume: number;
8288
+ readonly monthly_average_transactions: number;
8289
+ readonly sells_dangerous_goods: io.flow.v0.enums.UncertainBoolean;
8290
+ readonly dangerous_goods: io.flow.v0.enums.OnboardingDangerousGoods[];
8291
+ }
8292
+
8293
+ interface OnboardingSubsidiaryCompany {
8294
+ readonly legal_name?: string;
8295
+ readonly incorporation_country?: io.flow.v0.models.OnboardingIncorporation;
8296
+ }
8297
+
8127
8298
  interface OnlineAuthorization {
8128
8299
  readonly discriminator: 'online_authorization';
8129
8300
  readonly id: string;
@@ -9473,6 +9644,11 @@ declare namespace io.flow.v0.models {
9473
9644
  readonly placeholder?: string;
9474
9645
  }
9475
9646
 
9647
+ interface PaymentMethodDataInitSofort {
9648
+ readonly type: 'init_sofort';
9649
+ readonly placeholder?: string;
9650
+ }
9651
+
9476
9652
  interface PaymentMethodDataValidateApplepay {
9477
9653
  readonly type: 'validate_applepay';
9478
9654
  readonly validation_url: string;
@@ -9549,6 +9725,11 @@ declare namespace io.flow.v0.models {
9549
9725
  readonly merchant_of_record: io.flow.v0.enums.MerchantOfRecord;
9550
9726
  }
9551
9727
 
9728
+ interface PaymentMethodSummarySofort {
9729
+ readonly type: 'sofort';
9730
+ readonly merchant_of_record: io.flow.v0.enums.MerchantOfRecord;
9731
+ }
9732
+
9552
9733
  interface PaymentOrderDetailsLineItem {
9553
9734
  readonly id: string;
9554
9735
  readonly description: string;
@@ -11925,7 +12106,6 @@ declare namespace io.flow.v0.models {
11925
12106
  interface TaxDutyCalculatorValidationError {
11926
12107
  readonly code: io.flow.v0.enums.TaxDutyCalculatorValidationErrorCode;
11927
12108
  readonly messages: string[];
11928
- readonly codes: io.flow.v0.enums.TaxDutyCalculatorValidationErrorCode[];
11929
12109
  }
11930
12110
 
11931
12111
  interface TaxDutyQuote {
@@ -12032,6 +12212,16 @@ declare namespace io.flow.v0.models {
12032
12212
  readonly email_recipients?: string[];
12033
12213
  }
12034
12214
 
12215
+ interface ThirdPartyLogisticsPartner {
12216
+ readonly warehouse_address: io.flow.v0.models.BillingAddress;
12217
+ readonly warehouse_url?: string;
12218
+ }
12219
+
12220
+ interface ThirdPartyLogisticsPickUpTimeWindow {
12221
+ readonly from: string;
12222
+ readonly to: string;
12223
+ }
12224
+
12035
12225
  interface ThreeDSecure {
12036
12226
  readonly code: io.flow.v0.enums.ThreeDSecureCode;
12037
12227
  readonly description?: string;
@@ -12572,6 +12762,7 @@ declare namespace io.flow.v0.unions {
12572
12762
  | io.flow.v0.models.ActionUseSdkStripeV3
12573
12763
  | io.flow.v0.models.ActionUseSdkAdyenV3
12574
12764
  | io.flow.v0.models.ActionUseSdkAdyenV4
12765
+ | io.flow.v0.models.ActionIdealSelectIssuer
12575
12766
  | io.flow.v0.models.ActionExecuteScript
12576
12767
  | io.flow.v0.models.ActionDisplayInlineWindow
12577
12768
  | io.flow.v0.models.ActionWait;
@@ -12940,6 +13131,7 @@ declare namespace io.flow.v0.unions {
12940
13131
  | io.flow.v0.models.PaymentMethodDataInitGooglepay
12941
13132
  | io.flow.v0.models.PaymentMethodDataInitPaypal
12942
13133
  | io.flow.v0.models.PaymentMethodDataInitIdeal
13134
+ | io.flow.v0.models.PaymentMethodDataInitSofort
12943
13135
  | io.flow.v0.models.PaymentMethodDataValidateApplepay
12944
13136
  | io.flow.v0.models.PaymentMethodDataAuthorizeCard
12945
13137
  | io.flow.v0.models.PaymentMethodDataAuthorizeGooglepay
@@ -12957,7 +13149,8 @@ declare namespace io.flow.v0.unions {
12957
13149
  | io.flow.v0.models.PaymentMethodSummaryApplepay
12958
13150
  | io.flow.v0.models.PaymentMethodSummaryGooglepay
12959
13151
  | io.flow.v0.models.PaymentMethodSummaryPaypal
12960
- | io.flow.v0.models.PaymentMethodSummaryIdeal;
13152
+ | io.flow.v0.models.PaymentMethodSummaryIdeal
13153
+ | io.flow.v0.models.PaymentMethodSummarySofort;
12961
13154
 
12962
13155
  type PaymentMethodTag =
12963
13156
  | {
@@ -13089,6 +13282,7 @@ export type Action = io.flow.v0.unions.Action;
13089
13282
  export type ActionDisplayInlineWindow =
13090
13283
  io.flow.v0.models.ActionDisplayInlineWindow;
13091
13284
  export type ActionExecuteScript = io.flow.v0.models.ActionExecuteScript;
13285
+ export type ActionIdealSelectIssuer = io.flow.v0.models.ActionIdealSelectIssuer;
13092
13286
  export type ActionRedirect = io.flow.v0.models.ActionRedirect;
13093
13287
  export type ActionUseSdkAdyenV3 = io.flow.v0.models.ActionUseSdkAdyenV3;
13094
13288
  export type ActionUseSdkAdyenV4 = io.flow.v0.models.ActionUseSdkAdyenV4;
@@ -13820,6 +14014,7 @@ export type Hs10Version = io.flow.v0.models.Hs10Version;
13820
14014
  export type Hs6 = io.flow.v0.models.Hs6;
13821
14015
  export type Hs6CodeDeleted = io.flow.v0.models.Hs6CodeDeleted;
13822
14016
  export type Hs6CodeUpserted = io.flow.v0.models.Hs6CodeUpserted;
14017
+ export type IdealIssuer = io.flow.v0.models.IdealIssuer;
13823
14018
  export type IdentifierForm = io.flow.v0.models.IdentifierForm;
13824
14019
  export type Image = io.flow.v0.models.Image;
13825
14020
  export type ImageForm = io.flow.v0.models.ImageForm;
@@ -14021,6 +14216,29 @@ export type NoInventoryReservationErrorItem =
14021
14216
  export type NotificationDeletedV2 = io.flow.v0.models.NotificationDeletedV2;
14022
14217
  export type NotificationUpsertedV2 = io.flow.v0.models.NotificationUpsertedV2;
14023
14218
  export type NumberRange = io.flow.v0.models.NumberRange;
14219
+ export type OnboardingBankAccount = io.flow.v0.models.OnboardingBankAccount;
14220
+ export type OnboardingBankAccountForm =
14221
+ io.flow.v0.models.OnboardingBankAccountForm;
14222
+ export type OnboardingClassification =
14223
+ io.flow.v0.models.OnboardingClassification;
14224
+ export type OnboardingClassificationForm =
14225
+ io.flow.v0.models.OnboardingClassificationForm;
14226
+ export type OnboardingDangerousGoods =
14227
+ io.flow.v0.enums.OnboardingDangerousGoods;
14228
+ export type OnboardingIncorporation = io.flow.v0.models.OnboardingIncorporation;
14229
+ export type OnboardingPayment = io.flow.v0.models.OnboardingPayment;
14230
+ export type OnboardingPaymentForm = io.flow.v0.models.OnboardingPaymentForm;
14231
+ export type OnboardingPreparerDetails =
14232
+ io.flow.v0.models.OnboardingPreparerDetails;
14233
+ export type OnboardingPreparerDetailsForm =
14234
+ io.flow.v0.models.OnboardingPreparerDetailsForm;
14235
+ export type OnboardingProductLogistics =
14236
+ io.flow.v0.models.OnboardingProductLogistics;
14237
+ export type OnboardingProductLogisticsForm =
14238
+ io.flow.v0.models.OnboardingProductLogisticsForm;
14239
+ export type OnboardingSubsidiaryCompany =
14240
+ io.flow.v0.models.OnboardingSubsidiaryCompany;
14241
+ export type OnboardingTradeSector = io.flow.v0.enums.OnboardingTradeSector;
14024
14242
  export type OnlineAuthorization = io.flow.v0.models.OnlineAuthorization;
14025
14243
  export type OnlineAuthorizationDeletedV2 =
14026
14244
  io.flow.v0.models.OnlineAuthorizationDeletedV2;
@@ -14318,6 +14536,8 @@ export type PaymentMethodDataInitKlarna =
14318
14536
  io.flow.v0.models.PaymentMethodDataInitKlarna;
14319
14537
  export type PaymentMethodDataInitPaypal =
14320
14538
  io.flow.v0.models.PaymentMethodDataInitPaypal;
14539
+ export type PaymentMethodDataInitSofort =
14540
+ io.flow.v0.models.PaymentMethodDataInitSofort;
14321
14541
  export type PaymentMethodDataValidateApplepay =
14322
14542
  io.flow.v0.models.PaymentMethodDataValidateApplepay;
14323
14543
  export type PaymentMethodImage = io.flow.v0.models.PaymentMethodImage;
@@ -14343,6 +14563,8 @@ export type PaymentMethodSummaryKlarna =
14343
14563
  io.flow.v0.models.PaymentMethodSummaryKlarna;
14344
14564
  export type PaymentMethodSummaryPaypal =
14345
14565
  io.flow.v0.models.PaymentMethodSummaryPaypal;
14566
+ export type PaymentMethodSummarySofort =
14567
+ io.flow.v0.models.PaymentMethodSummarySofort;
14346
14568
  export type PaymentMethodTag = io.flow.v0.unions.PaymentMethodTag;
14347
14569
  export type PaymentMethodType = io.flow.v0.enums.PaymentMethodType;
14348
14570
  export type PaymentOrderDetailsLineItem =
@@ -14847,6 +15069,10 @@ export type TaxSetting = io.flow.v0.unions.TaxSetting;
14847
15069
  export type TaxVerificationResult = io.flow.v0.enums.TaxVerificationResult;
14848
15070
  export type TaxabilityType = io.flow.v0.enums.TaxabilityType;
14849
15071
  export type TaxabilityValue = io.flow.v0.enums.TaxabilityValue;
15072
+ export type ThirdPartyLogisticsPartner =
15073
+ io.flow.v0.models.ThirdPartyLogisticsPartner;
15074
+ export type ThirdPartyLogisticsPickUpTimeWindow =
15075
+ io.flow.v0.models.ThirdPartyLogisticsPickUpTimeWindow;
14850
15076
  export type ThreeDSecure = io.flow.v0.models.ThreeDSecure;
14851
15077
  export type ThreeDSecureCode = io.flow.v0.enums.ThreeDSecureCode;
14852
15078
  export type ThreedsChallengeAction = io.flow.v0.unions.ThreedsChallengeAction;
@@ -14910,6 +15136,7 @@ export type TradeAgreementName = io.flow.v0.enums.TradeAgreementName;
14910
15136
  export type TradeAgreementStatus = io.flow.v0.enums.TradeAgreementStatus;
14911
15137
  export type TransitEstimate = io.flow.v0.models.TransitEstimate;
14912
15138
  export type TransitWindow = io.flow.v0.models.TransitWindow;
15139
+ export type UncertainBoolean = io.flow.v0.enums.UncertainBoolean;
14913
15140
  export type UnharmonizedItemExportType =
14914
15141
  io.flow.v0.models.UnharmonizedItemExportType;
14915
15142
  export type UnitOfMeasurement = io.flow.v0.enums.UnitOfMeasurement;