@flowio/types 11.24.89 → 11.24.90

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.
@@ -293,6 +293,7 @@ declare namespace io.flow.billing.accounting.v0.models {
293
293
  readonly number: string;
294
294
  readonly fulfillment_method: io.flow.catalog.v0.enums.FulfillmentMethodValue;
295
295
  readonly country_of_origin?: string;
296
+ readonly tarriff_code?: string;
296
297
  readonly inferred?: boolean;
297
298
  }
298
299
 
@@ -2608,6 +2609,7 @@ declare namespace io.flow.billing.csv.v0.models {
2608
2609
  readonly processing: number;
2609
2610
  readonly rate_lock: number;
2610
2611
  readonly transfer: number;
2612
+ readonly negative_balance: number;
2611
2613
  }
2612
2614
 
2613
2615
  interface BillingCsvTransactionIdentifiers {
@@ -2628,6 +2630,7 @@ declare namespace io.flow.billing.csv.v0.models {
2628
2630
  readonly label_created_at: string;
2629
2631
  readonly carrier_id: string;
2630
2632
  readonly carrier_tracking_number: string;
2633
+ readonly revenue_share_percentage: number;
2631
2634
  readonly outbound_transaction_id?: string;
2632
2635
  }
2633
2636
 
@@ -2944,7 +2947,7 @@ declare namespace io.flow.stripe.v0.enums {
2944
2947
  | 'pay_now'
2945
2948
  | 'pay_with_financing'
2946
2949
  | 'pay_in_installments';
2947
- type PaymentMethodType = 'card' | 'card_present';
2950
+ type PaymentMethodType = 'card' | 'card_present' | 'klarna';
2948
2951
  type PaymentOutcomeType =
2949
2952
  | 'authorized'
2950
2953
  | 'manual_review'
@@ -3300,6 +3303,12 @@ declare namespace io.flow.stripe.v0.models {
3300
3303
  readonly marketplace_seller_info?: io.flow.stripe.v0.models.KlarnaMarketplaceSellerInfo[];
3301
3304
  }
3302
3305
 
3306
+ interface KlarnaDobForm {
3307
+ readonly day: number;
3308
+ readonly month: number;
3309
+ readonly year: number;
3310
+ }
3311
+
3303
3312
  interface KlarnaMarketplaceSellerInfo {
3304
3313
  readonly sub_merchant_id?: string;
3305
3314
  readonly product_category?: string;
@@ -3309,6 +3318,12 @@ declare namespace io.flow.stripe.v0.models {
3309
3318
  readonly additional_owners?: io.flow.stripe.v0.models.Owner[];
3310
3319
  }
3311
3320
 
3321
+ interface MarketplaceSellerInfo {
3322
+ readonly name: string;
3323
+ readonly id?: string;
3324
+ readonly product_category?: string;
3325
+ }
3326
+
3312
3327
  interface Masterpass {
3313
3328
  readonly type: 'masterpass';
3314
3329
  readonly masterpass: io.flow.stripe.v0.models.MasterpassInformation;
@@ -3397,6 +3412,10 @@ declare namespace io.flow.stripe.v0.models {
3397
3412
  readonly verified_phone?: string;
3398
3413
  }
3399
3414
 
3415
+ interface PaymentDetails {
3416
+ readonly marketplace_seller_info?: io.flow.stripe.v0.models.MarketplaceSellerInfo;
3417
+ }
3418
+
3400
3419
  interface PaymentIntent {
3401
3420
  readonly id: string;
3402
3421
  readonly object: string;
@@ -3521,6 +3540,7 @@ declare namespace io.flow.stripe.v0.models {
3521
3540
  readonly billing_details?: io.flow.stripe.v0.models.PaymentMethodBillingDetails;
3522
3541
  readonly card?: io.flow.stripe.v0.models.PaymentMethodCardDetails;
3523
3542
  readonly card_present?: any /*object*/;
3543
+ readonly klarna?: any /*object*/;
3524
3544
  readonly created: number;
3525
3545
  readonly customer?: string;
3526
3546
  readonly livemode: boolean;
@@ -3561,6 +3581,13 @@ declare namespace io.flow.stripe.v0.models {
3561
3581
  readonly card: io.flow.stripe.v0.models.PaymentMethodCardForm;
3562
3582
  }
3563
3583
 
3584
+ interface PaymentMethodDataKlarna {
3585
+ readonly type: 'klarna';
3586
+ readonly billing_details?: io.flow.stripe.v0.models.PaymentMethodBillingDetails;
3587
+ readonly metadata?: any /*object*/;
3588
+ readonly klarna: io.flow.stripe.v0.models.PaymentMethodKlarnaForm;
3589
+ }
3590
+
3564
3591
  interface PaymentMethodDetailsCard {
3565
3592
  readonly type: 'card';
3566
3593
  readonly card: io.flow.stripe.v0.models.PaymentMethodDetailsCardInformation;
@@ -3609,8 +3636,20 @@ declare namespace io.flow.stripe.v0.models {
3609
3636
  readonly card: io.flow.stripe.v0.models.PaymentMethodCardForm;
3610
3637
  }
3611
3638
 
3639
+ interface PaymentMethodFormKlarna {
3640
+ readonly type: 'klarna';
3641
+ readonly billing_details?: io.flow.stripe.v0.models.PaymentMethodBillingDetails;
3642
+ readonly metadata?: any /*object*/;
3643
+ readonly klarna: io.flow.stripe.v0.models.PaymentMethodKlarnaForm;
3644
+ }
3645
+
3646
+ interface PaymentMethodKlarnaForm {
3647
+ readonly dob?: io.flow.stripe.v0.models.KlarnaDobForm;
3648
+ }
3649
+
3612
3650
  interface PaymentMethodOptions {
3613
3651
  readonly card?: io.flow.stripe.v0.models.PaymentMethodOptionsCard;
3652
+ readonly klarna?: io.flow.stripe.v0.models.PaymentMethodOptionsKlarna;
3614
3653
  }
3615
3654
 
3616
3655
  interface PaymentMethodOptionsCard {
@@ -3630,6 +3669,21 @@ declare namespace io.flow.stripe.v0.models {
3630
3669
 
3631
3670
  interface PaymentMethodOptionsForm {
3632
3671
  readonly card?: io.flow.stripe.v0.models.PaymentMethodOptionsCardForm;
3672
+ readonly klarna?: io.flow.stripe.v0.models.PaymentMethodOptionsKlarnaForm;
3673
+ }
3674
+
3675
+ interface PaymentMethodOptionsKlarna {
3676
+ readonly capture_method?: io.flow.stripe.v0.enums.CaptureMethod;
3677
+ readonly preferred_locale?: io.flow.stripe.v0.enums.PreferredLocaleKlarna;
3678
+ readonly setup_future_usage?: io.flow.stripe.v0.enums.SetupFutureUsage;
3679
+ readonly payment_details?: io.flow.stripe.v0.models.PaymentDetails;
3680
+ }
3681
+
3682
+ interface PaymentMethodOptionsKlarnaForm {
3683
+ readonly capture_method?: io.flow.stripe.v0.enums.CaptureMethod;
3684
+ readonly preferred_locale?: io.flow.stripe.v0.enums.PreferredLocaleKlarna;
3685
+ readonly setup_future_usage?: io.flow.stripe.v0.enums.SetupFutureUsage;
3686
+ readonly payment_details?: io.flow.stripe.v0.models.PaymentDetails;
3633
3687
  }
3634
3688
 
3635
3689
  interface PaymentOutcome {
@@ -3930,11 +3984,15 @@ declare namespace io.flow.stripe.v0.unions {
3930
3984
  | io.flow.stripe.v0.models.Masterpass
3931
3985
  | io.flow.stripe.v0.models.ApplePay
3932
3986
  | io.flow.stripe.v0.models.VisaCheckout;
3933
- type PaymentMethodData = io.flow.stripe.v0.models.PaymentMethodDataCard;
3987
+ type PaymentMethodData =
3988
+ | io.flow.stripe.v0.models.PaymentMethodDataCard
3989
+ | io.flow.stripe.v0.models.PaymentMethodDataKlarna;
3934
3990
  type PaymentMethodDetails =
3935
3991
  | io.flow.stripe.v0.models.PaymentMethodDetailsCard
3936
3992
  | io.flow.stripe.v0.models.PaymentMethodDetailsKlarna;
3937
- type PaymentMethodForm = io.flow.stripe.v0.models.PaymentMethodFormCard;
3993
+ type PaymentMethodForm =
3994
+ | io.flow.stripe.v0.models.PaymentMethodFormCard
3995
+ | io.flow.stripe.v0.models.PaymentMethodFormKlarna;
3938
3996
  }
3939
3997
 
3940
3998
  declare namespace io.flow.customer.v0.enums {
@@ -9476,6 +9534,7 @@ declare namespace io.flow.channel.internal.v0.models {
9476
9534
  readonly channel_id: string;
9477
9535
  readonly external_order_reference: string;
9478
9536
  readonly payment_request_id?: string;
9537
+ readonly order_edit_payment_request_ids?: string[];
9479
9538
  readonly status: io.flow.channel.internal.v0.enums.ChannelOrderAcceptanceStatus;
9480
9539
  readonly reasons: io.flow.channel.internal.v0.models.ChannelOrderAcceptanceReason[];
9481
9540
  readonly next_action_from?: io.flow.channel.internal.v0.enums.ChannelOrderAcceptanceNextActionFrom;
@@ -12829,6 +12888,17 @@ declare namespace io.flow.payment.request.bundle.v0.models {
12829
12888
  }
12830
12889
 
12831
12890
  declare namespace io.flow.ratecard.v0.models {
12891
+ interface AdditionalHandlingServiceFee {
12892
+ readonly discriminator: 'additional_handling_service_fee';
12893
+ readonly length_girth_threshold?: number;
12894
+ readonly length_threshold?: number;
12895
+ readonly width_threshold?: number;
12896
+ readonly dimensional_unit?: io.flow.common.v0.enums.UnitOfMeasurement;
12897
+ readonly weight_threshold?: number;
12898
+ readonly weight_unit?: io.flow.common.v0.enums.UnitOfMeasurement;
12899
+ readonly amount: io.flow.common.v0.models.Money;
12900
+ }
12901
+
12832
12902
  interface CrossdockRatecardFee {
12833
12903
  readonly discriminator: 'crossdock_ratecard_fee';
12834
12904
  readonly amount: io.flow.common.v0.models.Money;
@@ -12873,6 +12943,17 @@ declare namespace io.flow.ratecard.v0.models {
12873
12943
  readonly ends_at?: string;
12874
12944
  }
12875
12945
 
12946
+ interface EeiFilingRatecardFee {
12947
+ readonly discriminator: 'eei_filing_ratecard_fee';
12948
+ readonly amount: io.flow.common.v0.models.Money;
12949
+ }
12950
+
12951
+ interface EeiFilingServiceFee {
12952
+ readonly discriminator: 'eei_filing_service_fee';
12953
+ readonly amount: io.flow.common.v0.models.Money;
12954
+ readonly value_threshold: io.flow.common.v0.models.Money;
12955
+ }
12956
+
12876
12957
  interface EmergencySituationSurchargeRatecardFee {
12877
12958
  readonly discriminator: 'emergency_situation_surcharge_ratecard_fee';
12878
12959
  readonly amount: io.flow.common.v0.models.Money;
@@ -12898,6 +12979,31 @@ declare namespace io.flow.ratecard.v0.models {
12898
12979
  readonly unit: io.flow.common.v0.enums.UnitOfMeasurement;
12899
12980
  }
12900
12981
 
12982
+ interface FixedCurrencyConversionRatecardFee {
12983
+ readonly discriminator: 'fixed_currency_conversion_ratecard_fee';
12984
+ readonly amount: io.flow.common.v0.models.Money;
12985
+ }
12986
+
12987
+ interface FixedCurrencyConversionServiceFee {
12988
+ readonly discriminator: 'fixed_currency_conversion_service_fee';
12989
+ readonly conditions: io.flow.ratecard.v0.models.FixedFeeCondition[];
12990
+ }
12991
+
12992
+ interface FixedDdpRatecardFee {
12993
+ readonly discriminator: 'fixed_ddp_ratecard_fee';
12994
+ readonly amount: io.flow.common.v0.models.Money;
12995
+ }
12996
+
12997
+ interface FixedDdpServiceFee {
12998
+ readonly discriminator: 'fixed_ddp_service_fee';
12999
+ readonly conditions: io.flow.ratecard.v0.models.FixedFeeCondition[];
13000
+ }
13001
+
13002
+ interface FixedFeeCondition {
13003
+ readonly countries: string[];
13004
+ readonly amount: io.flow.common.v0.models.Money;
13005
+ }
13006
+
12901
13007
  interface FuelSurchargeAmountByWeightServiceFee {
12902
13008
  readonly discriminator: 'fuel_surcharge_amount_by_weight_service_fee';
12903
13009
  readonly amount: io.flow.common.v0.models.Money;
@@ -12968,6 +13074,15 @@ declare namespace io.flow.ratecard.v0.models {
12968
13074
  readonly ratecard: io.flow.ratecard.v0.models.RatecardSummary;
12969
13075
  }
12970
13076
 
13077
+ interface LargePackageServiceFee {
13078
+ readonly discriminator: 'large_package_service_fee';
13079
+ readonly length_girth_threshold?: number;
13080
+ readonly dimensional_unit?: io.flow.common.v0.enums.UnitOfMeasurement;
13081
+ readonly weight_threshold?: number;
13082
+ readonly weight_unit?: io.flow.common.v0.enums.UnitOfMeasurement;
13083
+ readonly amount: io.flow.common.v0.models.Money;
13084
+ }
13085
+
12971
13086
  interface OversizePieceSurchargeRatecardFee {
12972
13087
  readonly discriminator: 'oversize_piece_surcharge_ratecard_fee';
12973
13088
  readonly dimensional_threshold?: number;
@@ -13219,6 +13334,12 @@ declare namespace io.flow.ratecard.v0.models {
13219
13334
  readonly ratecard: io.flow.ratecard.v0.models.Ratecard;
13220
13335
  }
13221
13336
 
13337
+ interface RemoteAreaByWeightServiceFee {
13338
+ readonly discriminator: 'remote_area_by_weight_service_fee';
13339
+ readonly amount: io.flow.common.v0.models.Money;
13340
+ readonly weight_unit: io.flow.common.v0.enums.UnitOfMeasurement;
13341
+ }
13342
+
13222
13343
  interface RemoteAreaRatecardFee {
13223
13344
  readonly discriminator: 'remote_area_ratecard_fee';
13224
13345
  readonly amount: io.flow.common.v0.models.Money;
@@ -13234,6 +13355,17 @@ declare namespace io.flow.ratecard.v0.models {
13234
13355
  readonly amount: number;
13235
13356
  }
13236
13357
 
13358
+ interface SecurityRatecardFee {
13359
+ readonly discriminator: 'security_ratecard_fee';
13360
+ readonly amount: io.flow.common.v0.models.Money;
13361
+ }
13362
+
13363
+ interface SecurityServiceFee {
13364
+ readonly discriminator: 'security_service_fee';
13365
+ readonly amount: io.flow.common.v0.models.Money;
13366
+ readonly countries: string[];
13367
+ }
13368
+
13237
13369
  interface ShipmentWindow {
13238
13370
  readonly from: number;
13239
13371
  readonly to: number;
@@ -13258,7 +13390,11 @@ declare namespace io.flow.ratecard.v0.unions {
13258
13390
  | io.flow.ratecard.v0.models.RemoteAreaRatecardFee
13259
13391
  | io.flow.ratecard.v0.models.EmergencySituationSurchargeRatecardFee
13260
13392
  | io.flow.ratecard.v0.models.PeakSurchargeRatecardFee
13261
- | io.flow.ratecard.v0.models.DutiesTaxesPaidSurchargeRatecardFee;
13393
+ | io.flow.ratecard.v0.models.DutiesTaxesPaidSurchargeRatecardFee
13394
+ | io.flow.ratecard.v0.models.SecurityRatecardFee
13395
+ | io.flow.ratecard.v0.models.EeiFilingRatecardFee
13396
+ | io.flow.ratecard.v0.models.FixedDdpRatecardFee
13397
+ | io.flow.ratecard.v0.models.FixedCurrencyConversionRatecardFee;
13262
13398
  type ServiceFee =
13263
13399
  | io.flow.ratecard.v0.models.FuelSurchargeServiceFee
13264
13400
  | io.flow.ratecard.v0.models.FuelSurchargeAmountByWeightServiceFee
@@ -13267,7 +13403,14 @@ declare namespace io.flow.ratecard.v0.unions {
13267
13403
  | io.flow.ratecard.v0.models.PeakSurchargeServiceFee
13268
13404
  | io.flow.ratecard.v0.models.PeakSurchargeByWeightServiceFee
13269
13405
  | io.flow.ratecard.v0.models.DutiesTaxesPaidSurchargeServiceFee
13270
- | io.flow.ratecard.v0.models.OversizePieceSurchargeServiceFee;
13406
+ | io.flow.ratecard.v0.models.OversizePieceSurchargeServiceFee
13407
+ | io.flow.ratecard.v0.models.RemoteAreaByWeightServiceFee
13408
+ | io.flow.ratecard.v0.models.AdditionalHandlingServiceFee
13409
+ | io.flow.ratecard.v0.models.LargePackageServiceFee
13410
+ | io.flow.ratecard.v0.models.SecurityServiceFee
13411
+ | io.flow.ratecard.v0.models.FixedDdpServiceFee
13412
+ | io.flow.ratecard.v0.models.FixedCurrencyConversionServiceFee
13413
+ | io.flow.ratecard.v0.models.EeiFilingServiceFee;
13271
13414
  }
13272
13415
 
13273
13416
  declare namespace io.flow.token.v0.models {
@@ -13827,7 +13970,11 @@ declare namespace io.flow.trueup.v0.enums {
13827
13970
  | 'duties_paid'
13828
13971
  | 'emergency'
13829
13972
  | 'peak'
13830
- | 'address_correction';
13973
+ | 'address_correction'
13974
+ | 'security_ratecard_fee'
13975
+ | 'eei_filing_ratecard_fee'
13976
+ | 'fixed_ddp_ratecard_fee'
13977
+ | 'fixed_currency_conversion_ratecard_fee';
13831
13978
  }
13832
13979
 
13833
13980
  declare namespace io.flow.trueup.v0.models {
@@ -14905,6 +15052,7 @@ declare namespace io.flow.permission.v0.enums {
14905
15052
  | 'organization_fulfillment'
14906
15053
  | 'organization_marketing'
14907
15054
  | 'organization_finance'
15055
+ | 'organization_classification'
14908
15056
  | 'flow_operations'
14909
15057
  | 'channel_admin'
14910
15058
  | 'channel_organization_admin';
@@ -15069,6 +15217,7 @@ declare namespace io.flow.item.v0.models {
15069
15217
 
15070
15218
  declare namespace io.flow.billing.internal.v0.enums {
15071
15219
  type AccountSettingLiabilitiesMethod = 'withholding' | 'transaction';
15220
+ type AccountStatus = 'active' | 'inactive';
15072
15221
  type AccountType = 'channel' | 'organization';
15073
15222
  type AdjustmentTransactionType = 'adjustment' | 'reversal';
15074
15223
  type BankPaymentPromiseCompletedMethod = 'credit' | 'time';
@@ -15143,7 +15292,11 @@ declare namespace io.flow.billing.internal.v0.enums {
15143
15292
  | 'duty'
15144
15293
  | 'trueup'
15145
15294
  | 'carrier_charge';
15146
- type CarrierChargeTransactionType = 'adjustment' | 'reversal' | 'charge';
15295
+ type CarrierChargeTransactionType =
15296
+ | 'adjustment'
15297
+ | 'reversal'
15298
+ | 'charge'
15299
+ | 'revenue_share';
15147
15300
  type ChannelBilledTransactionType =
15148
15301
  | 'adjustment'
15149
15302
  | 'reversal'
@@ -15259,7 +15412,7 @@ declare namespace io.flow.billing.internal.v0.models {
15259
15412
  readonly merchant_of_record_fee?: number;
15260
15413
  readonly duty_guarantee_fee?: number;
15261
15414
  readonly transfer_fee?: number;
15262
- readonly negative_balance_guarantee_fee?: number;
15415
+ readonly negative_balance_fee?: number;
15263
15416
  readonly order_service_fee?: io.flow.billing.internal.v0.models.TieredFee;
15264
15417
  readonly label_fees?: io.flow.billing.internal.v0.models.AccountSettingLabelFees;
15265
15418
  readonly charge_label_cost_directly: boolean;
@@ -15444,6 +15597,7 @@ declare namespace io.flow.billing.internal.v0.models {
15444
15597
  readonly b2b_tax_remittance_days?: number;
15445
15598
  readonly mor_fee?: number;
15446
15599
  readonly duty_guarantee_fee?: number;
15600
+ readonly negative_balance_fee?: number;
15447
15601
  readonly order_service_fee?: io.flow.billing.internal.v0.models.TieredFee;
15448
15602
  readonly label_fee?: io.flow.billing.internal.v0.models.TieredFee;
15449
15603
  }
@@ -15541,6 +15695,7 @@ declare namespace io.flow.billing.internal.v0.models {
15541
15695
  readonly channel: io.flow.common.v0.models.ChannelReference;
15542
15696
  readonly id: string;
15543
15697
  readonly key?: string;
15698
+ readonly status: io.flow.billing.internal.v0.enums.AccountStatus;
15544
15699
  readonly origin?: io.flow.billing.internal.v0.models.AccountOrigin;
15545
15700
  readonly currency: string;
15546
15701
  readonly updated_at: string;
@@ -15757,6 +15912,7 @@ declare namespace io.flow.billing.internal.v0.models {
15757
15912
  readonly source: io.flow.billing.internal.v0.models.AccountSource;
15758
15913
  readonly id: string;
15759
15914
  readonly key?: string;
15915
+ readonly status: io.flow.billing.internal.v0.enums.AccountStatus;
15760
15916
  readonly origin?: io.flow.billing.internal.v0.models.AccountOrigin;
15761
15917
  readonly currency: string;
15762
15918
  readonly updated_at: string;
@@ -15771,6 +15927,18 @@ declare namespace io.flow.billing.internal.v0.models {
15771
15927
  readonly created_at: string;
15772
15928
  }
15773
15929
 
15930
+ interface FlowAccountStatusForm {
15931
+ readonly status: io.flow.billing.internal.v0.enums.AccountStatus;
15932
+ }
15933
+
15934
+ interface FlowBillingStatement {
15935
+ readonly id: string;
15936
+ readonly account: io.flow.billing.v0.models.AccountReference;
15937
+ readonly period: io.flow.common.v0.models.DatetimeRange;
15938
+ readonly totals: io.flow.billing.internal.v0.models.BillingStatementTotals;
15939
+ readonly attachments: io.flow.billing.internal.v0.models.BillingStatementAttachment[];
15940
+ }
15941
+
15774
15942
  interface FxFee {
15775
15943
  readonly base: io.flow.common.v0.models.Money;
15776
15944
  readonly local: io.flow.common.v0.models.Money;
@@ -15941,6 +16109,7 @@ declare namespace io.flow.billing.internal.v0.models {
15941
16109
  readonly organization: io.flow.common.v0.models.OrganizationReference;
15942
16110
  readonly id: string;
15943
16111
  readonly key?: string;
16112
+ readonly status: io.flow.billing.internal.v0.enums.AccountStatus;
15944
16113
  readonly origin?: io.flow.billing.internal.v0.models.AccountOrigin;
15945
16114
  readonly currency: string;
15946
16115
  readonly updated_at: string;
@@ -18023,6 +18192,7 @@ declare namespace io.flow.checkout.v0.unions {
18023
18192
  }
18024
18193
 
18025
18194
  declare namespace io.flow.organization.onboarding.state.v0.enums {
18195
+ type MerchantDisabledReason = 'merchant_deactivated' | 'merchant_rejected';
18026
18196
  type MerchantRejectedReason =
18027
18197
  | 'merchant_ubo_is_pep'
18028
18198
  | 'merchant_catalog_is_unsupportable'
@@ -18032,7 +18202,8 @@ declare namespace io.flow.organization.onboarding.state.v0.enums {
18032
18202
  | 'street_address_is_po_box_3pl'
18033
18203
  | 'business_street_address_is_blank'
18034
18204
  | 'business_street_address_is_po_box'
18035
- | 'exception_merchant';
18205
+ | 'exception_merchant'
18206
+ | 'application_missing';
18036
18207
  }
18037
18208
 
18038
18209
  declare namespace io.flow.organization.onboarding.state.v0.models {
@@ -18059,6 +18230,11 @@ declare namespace io.flow.organization.onboarding.state.v0.models {
18059
18230
  readonly reason: string;
18060
18231
  }
18061
18232
 
18233
+ interface MerchantDisabled {
18234
+ readonly discriminator: 'merchant_disabled';
18235
+ readonly reason: io.flow.organization.onboarding.state.v0.enums.MerchantDisabledReason;
18236
+ }
18237
+
18062
18238
  interface MerchantRejected {
18063
18239
  readonly discriminator: 'merchant_rejected';
18064
18240
  readonly reason: io.flow.organization.onboarding.state.v0.enums.MerchantRejectedReason;
@@ -18109,7 +18285,8 @@ declare namespace io.flow.organization.onboarding.state.v0.unions {
18109
18285
  | io.flow.organization.onboarding.state.v0.models.SetupBlocked
18110
18286
  | io.flow.organization.onboarding.state.v0.models.SetupCompleted
18111
18287
  | io.flow.organization.onboarding.state.v0.models.MerchantActivated
18112
- | io.flow.organization.onboarding.state.v0.models.MerchantDeactivated;
18288
+ | io.flow.organization.onboarding.state.v0.models.MerchantDeactivated
18289
+ | io.flow.organization.onboarding.state.v0.models.MerchantDisabled;
18113
18290
  }
18114
18291
 
18115
18292
  declare namespace io.flow.fraud.v0.enums {
@@ -18486,6 +18663,7 @@ declare namespace io.flow.billing.bank.account.v0.unions {
18486
18663
 
18487
18664
  declare namespace io.flow.internal.v0.enums {
18488
18665
  type AccountSettingLiabilitiesMethod = 'withholding' | 'transaction';
18666
+ type AccountStatus = 'active' | 'inactive';
18489
18667
  type AccountType = 'channel' | 'organization';
18490
18668
  type AddressConfigurationSettingProvinceCode = 'iso_3166_2' | 'name';
18491
18669
  type AdjustmentTransactionType = 'adjustment' | 'reversal';
@@ -18627,7 +18805,10 @@ declare namespace io.flow.internal.v0.enums {
18627
18805
  | 'negative_balance_total'
18628
18806
  | 'negative_balance_total_with_order_in_past_30_days'
18629
18807
  | 'negative_balance_total_without_order_in_past_30_days'
18630
- | 'negative_balance_single_account_max';
18808
+ | 'negative_balance_single_account_max'
18809
+ | 'inactive_accounts_count'
18810
+ | 'inactive_account_pending_payment_promise_count'
18811
+ | 'inactive_account_pending_payment_promise_total';
18631
18812
  type BillingStatementAttachmentKey =
18632
18813
  | 'invoice'
18633
18814
  | 'statement'
@@ -19425,6 +19606,8 @@ declare namespace io.flow.internal.v0.enums {
19425
19606
  | 'svitlana_item_deleted'
19426
19607
  | 'colm_item_upserted'
19427
19608
  | 'colm_item_deleted'
19609
+ | 'matias_item_upserted'
19610
+ | 'matias_item_deleted'
19428
19611
  | 'shruti_demo_item_upserted'
19429
19612
  | 'shruti_demo_item_deleted'
19430
19613
  | 'tam_item_upserted'
@@ -19578,6 +19761,7 @@ declare namespace io.flow.internal.v0.enums {
19578
19761
  | 'facebook_primary'
19579
19762
  | 'facebook_country_override'
19580
19763
  | 'supplemental';
19764
+ type MatiasItemType = 'physical' | 'digital';
19581
19765
  type MixedBagWeight = '0' | '1' | '2';
19582
19766
  type NatureOfSale =
19583
19767
  | 'consumer'
@@ -20039,7 +20223,7 @@ declare namespace io.flow.internal.v0.models {
20039
20223
  readonly merchant_of_record_fee?: number;
20040
20224
  readonly duty_guarantee_fee?: number;
20041
20225
  readonly transfer_fee?: number;
20042
- readonly negative_balance_guarantee_fee?: number;
20226
+ readonly negative_balance_fee?: number;
20043
20227
  readonly order_service_fee?: io.flow.internal.v0.models.TieredFee;
20044
20228
  readonly label_fees?: io.flow.internal.v0.models.AccountSettingLabelFees;
20045
20229
  readonly charge_label_cost_directly: boolean;
@@ -20127,6 +20311,12 @@ declare namespace io.flow.internal.v0.models {
20127
20311
  readonly quantity: number;
20128
20312
  }
20129
20313
 
20314
+ interface AdditionalImportTax {
20315
+ readonly name?: string;
20316
+ readonly additional_import_tax_value?: io.flow.common.v0.models.Money;
20317
+ readonly rate?: number;
20318
+ }
20319
+
20130
20320
  interface AddressConfigurationProvinceSetting {
20131
20321
  readonly code: io.flow.internal.v0.enums.AddressConfigurationSettingProvinceCode;
20132
20322
  }
@@ -20856,6 +21046,7 @@ declare namespace io.flow.internal.v0.models {
20856
21046
  readonly b2b_tax_remittance_days?: number;
20857
21047
  readonly mor_fee?: number;
20858
21048
  readonly duty_guarantee_fee?: number;
21049
+ readonly negative_balance_fee?: number;
20859
21050
  readonly order_service_fee?: io.flow.internal.v0.models.TieredFee;
20860
21051
  readonly label_fee?: io.flow.internal.v0.models.TieredFee;
20861
21052
  }
@@ -21285,6 +21476,51 @@ declare namespace io.flow.internal.v0.models {
21285
21476
  readonly name: string;
21286
21477
  }
21287
21478
 
21479
+ interface CalculationStampingLineItem {
21480
+ readonly id?: string;
21481
+ readonly hs_code?: string;
21482
+ readonly duty: io.flow.common.v0.models.Money;
21483
+ readonly duty_rate: number;
21484
+ readonly sales_tax: io.flow.common.v0.models.Money;
21485
+ readonly sales_tax_rate: number;
21486
+ readonly additional_tax?: io.flow.common.v0.models.Money;
21487
+ readonly additional_tax_rate?: number;
21488
+ readonly total: io.flow.common.v0.models.Money;
21489
+ }
21490
+
21491
+ interface CalculationStampingShippingLine {
21492
+ readonly first_ship_from?: string;
21493
+ readonly duty?: number;
21494
+ readonly duty_rate?: number;
21495
+ readonly tax?: number;
21496
+ readonly tax_rate?: number;
21497
+ readonly price?: number;
21498
+ readonly duty_rate_on_shipping?: number;
21499
+ readonly tax_rate_on_shipping?: number;
21500
+ readonly import_fee?: number;
21501
+ }
21502
+
21503
+ interface CalculationStep {
21504
+ readonly discriminator: 'calculation_step';
21505
+ readonly primary_identifier: string;
21506
+ readonly line_item: io.flow.internal.v0.models.CalculationStampingLineItem[];
21507
+ readonly shipping_line_item: io.flow.internal.v0.models.CalculationStampingShippingLine;
21508
+ readonly total: io.flow.internal.v0.models.CalculationTotal;
21509
+ readonly explanation?: string;
21510
+ }
21511
+
21512
+ interface CalculationTotal {
21513
+ readonly customs_value_name: string;
21514
+ readonly customs_value_amount: io.flow.common.v0.models.Money;
21515
+ readonly additional_import_included?: boolean;
21516
+ readonly additional_import_value?: io.flow.common.v0.models.Money;
21517
+ readonly duty: io.flow.common.v0.models.Money;
21518
+ readonly sales_tax: io.flow.common.v0.models.Money;
21519
+ readonly additional_tax_import_included: boolean;
21520
+ readonly additional_tax?: io.flow.common.v0.models.Money;
21521
+ readonly additional_import_tax?: io.flow.internal.v0.models.AdditionalImportTax[];
21522
+ }
21523
+
21288
21524
  interface CalculatorDtcePostBody {
21289
21525
  readonly products: io.flow.internal.v0.models.CalculatorDtceProduct[];
21290
21526
  readonly countryCodeFrom: string;
@@ -21611,6 +21847,7 @@ declare namespace io.flow.internal.v0.models {
21611
21847
  readonly channel: io.flow.common.v0.models.ChannelReference;
21612
21848
  readonly id: string;
21613
21849
  readonly key?: string;
21850
+ readonly status: io.flow.internal.v0.enums.AccountStatus;
21614
21851
  readonly origin?: io.flow.internal.v0.models.AccountOrigin;
21615
21852
  readonly currency: string;
21616
21853
  readonly updated_at: string;
@@ -21782,6 +22019,7 @@ declare namespace io.flow.internal.v0.models {
21782
22019
  readonly tracking_numbers?: string[];
21783
22020
  readonly carrier?: io.flow.reference.v0.models.CarrierService;
21784
22021
  readonly duty_paid: boolean;
22022
+ readonly shop_id?: string;
21785
22023
  }
21786
22024
 
21787
22025
  interface ChannelOrderAcceptance {
@@ -21791,6 +22029,7 @@ declare namespace io.flow.internal.v0.models {
21791
22029
  readonly channel_id: string;
21792
22030
  readonly external_order_reference: string;
21793
22031
  readonly payment_request_id?: string;
22032
+ readonly order_edit_payment_request_ids?: string[];
21794
22033
  readonly status: io.flow.internal.v0.enums.ChannelOrderAcceptanceStatus;
21795
22034
  readonly reasons: io.flow.internal.v0.models.ChannelOrderAcceptanceReason[];
21796
22035
  readonly next_action_from?: io.flow.internal.v0.enums.ChannelOrderAcceptanceNextActionFrom;
@@ -24345,6 +24584,12 @@ declare namespace io.flow.internal.v0.models {
24345
24584
  readonly invoice: io.flow.internal.v0.models.CommercialInvoiceInternal;
24346
24585
  }
24347
24586
 
24587
+ interface CommercialInvoiceSummary {
24588
+ readonly id: string;
24589
+ readonly label_id: string;
24590
+ readonly line_items: io.flow.internal.v0.models.InvoiceLineItem[];
24591
+ }
24592
+
24348
24593
  interface CompanyReference {
24349
24594
  readonly id: string;
24350
24595
  }
@@ -25272,6 +25517,9 @@ declare namespace io.flow.internal.v0.models {
25272
25517
  readonly bank_code: string;
25273
25518
  readonly id: string;
25274
25519
  readonly tax_code?: string;
25520
+ readonly tax_code_2?: string;
25521
+ readonly debit_entry_code?: string;
25522
+ readonly credit_entry_code?: string;
25275
25523
  readonly vat_flag?: string;
25276
25524
  readonly w_tax_percent?: string;
25277
25525
  readonly iban?: string;
@@ -25319,6 +25567,9 @@ declare namespace io.flow.internal.v0.models {
25319
25567
  readonly id: string;
25320
25568
  readonly acc_des?: string;
25321
25569
  readonly tax_code?: string;
25570
+ readonly tax_code_2?: string;
25571
+ readonly debit_entry_code?: string;
25572
+ readonly credit_entry_code?: string;
25322
25573
  readonly vat_flag?: string;
25323
25574
  readonly country_name?: string;
25324
25575
  readonly w_tax_percent?: string;
@@ -25935,6 +26186,7 @@ declare namespace io.flow.internal.v0.models {
25935
26186
  readonly fx?: io.flow.internal.v0.models.Fee;
25936
26187
  readonly duty_guarantee?: io.flow.internal.v0.models.Fee;
25937
26188
  readonly transfer?: io.flow.internal.v0.models.Fee;
26189
+ readonly negative_balance?: io.flow.internal.v0.models.Fee;
25938
26190
  }
25939
26191
 
25940
26192
  interface FinanceBankAccount {
@@ -26077,6 +26329,7 @@ declare namespace io.flow.internal.v0.models {
26077
26329
  readonly source: io.flow.internal.v0.models.AccountSource;
26078
26330
  readonly id: string;
26079
26331
  readonly key?: string;
26332
+ readonly status: io.flow.internal.v0.enums.AccountStatus;
26080
26333
  readonly origin?: io.flow.internal.v0.models.AccountOrigin;
26081
26334
  readonly currency: string;
26082
26335
  readonly updated_at: string;
@@ -26091,6 +26344,18 @@ declare namespace io.flow.internal.v0.models {
26091
26344
  readonly created_at: string;
26092
26345
  }
26093
26346
 
26347
+ interface FlowAccountStatusForm {
26348
+ readonly status: io.flow.internal.v0.enums.AccountStatus;
26349
+ }
26350
+
26351
+ interface FlowBillingStatement {
26352
+ readonly id: string;
26353
+ readonly account: io.flow.billing.v0.models.AccountReference;
26354
+ readonly period: io.flow.common.v0.models.DatetimeRange;
26355
+ readonly totals: io.flow.internal.v0.models.BillingStatementTotals;
26356
+ readonly attachments: io.flow.internal.v0.models.BillingStatementAttachment[];
26357
+ }
26358
+
26094
26359
  interface FlowChannelOrganization {
26095
26360
  readonly placeholder?: string;
26096
26361
  }
@@ -27919,6 +28184,7 @@ declare namespace io.flow.internal.v0.models {
27919
28184
  readonly number: string;
27920
28185
  readonly fulfillment_method: io.flow.catalog.v0.enums.FulfillmentMethodValue;
27921
28186
  readonly country_of_origin?: string;
28187
+ readonly tarriff_code?: string;
27922
28188
  readonly inferred?: boolean;
27923
28189
  }
27924
28190
 
@@ -28896,6 +29162,37 @@ declare namespace io.flow.internal.v0.models {
28896
29162
  readonly flow_authorization?: io.flow.payment.v0.unions.Authorization;
28897
29163
  }
28898
29164
 
29165
+ interface MatiasItem {
29166
+ readonly id: string;
29167
+ readonly number: string;
29168
+ readonly amount: io.flow.common.v0.models.Price;
29169
+ readonly description?: string;
29170
+ readonly type: io.flow.internal.v0.enums.MatiasItemType;
29171
+ readonly added_on: string;
29172
+ }
29173
+
29174
+ interface MatiasItemDeleted {
29175
+ readonly discriminator: 'matias_item_deleted';
29176
+ readonly event_id: string;
29177
+ readonly timestamp: string;
29178
+ readonly id: string;
29179
+ }
29180
+
29181
+ interface MatiasItemForm {
29182
+ readonly number: string;
29183
+ readonly amount: io.flow.common.v0.models.Price;
29184
+ readonly description?: string;
29185
+ readonly type: io.flow.internal.v0.enums.MatiasItemType;
29186
+ readonly added_on: string;
29187
+ }
29188
+
29189
+ interface MatiasItemUpserted {
29190
+ readonly discriminator: 'matias_item_upserted';
29191
+ readonly event_id: string;
29192
+ readonly timestamp: string;
29193
+ readonly item: io.flow.internal.v0.models.MatiasItem;
29194
+ }
29195
+
28899
29196
  interface Merchant {
28900
29197
  readonly id: string;
28901
29198
  readonly account: io.flow.internal.v0.models.AccountReference;
@@ -29015,6 +29312,11 @@ declare namespace io.flow.internal.v0.models {
29015
29312
  readonly merchant: io.flow.internal.v0.models.Merchant;
29016
29313
  }
29017
29314
 
29315
+ interface MessageStamp {
29316
+ readonly discriminator: 'message_stamp';
29317
+ readonly message: string;
29318
+ }
29319
+
29018
29320
  interface MetadataProposition {
29019
29321
  readonly shipping_method: io.flow.internal.v0.models.ShippingMethodReference;
29020
29322
  readonly name: string;
@@ -29498,6 +29800,7 @@ declare namespace io.flow.internal.v0.models {
29498
29800
  readonly organization: io.flow.common.v0.models.OrganizationReference;
29499
29801
  readonly id: string;
29500
29802
  readonly key?: string;
29803
+ readonly status: io.flow.internal.v0.enums.AccountStatus;
29501
29804
  readonly origin?: io.flow.internal.v0.models.AccountOrigin;
29502
29805
  readonly currency: string;
29503
29806
  readonly updated_at: string;
@@ -33814,6 +34117,9 @@ declare namespace io.flow.internal.v0.unions {
33814
34117
  | io.flow.internal.v0.models.BlazeApplepayAvailabilityRequest
33815
34118
  | io.flow.internal.v0.models.BlazePaymentAuthStartMessage
33816
34119
  | io.flow.internal.v0.models.BlazePaymentAuthCompleteMessage;
34120
+ type CalculatorStamp =
34121
+ | io.flow.internal.v0.models.MessageStamp
34122
+ | io.flow.internal.v0.models.CalculationStep;
33817
34123
  type CarrierChargeForm =
33818
34124
  | io.flow.internal.v0.models.CarrierChargeFormLabel
33819
34125
  | io.flow.internal.v0.models.CarrierChargeFormOther;
@@ -34564,6 +34870,8 @@ declare namespace io.flow.internal.v0.unions {
34564
34870
  | io.flow.internal.v0.models.SvitlanaItemDeleted
34565
34871
  | io.flow.internal.v0.models.ColmItemUpserted
34566
34872
  | io.flow.internal.v0.models.ColmItemDeleted
34873
+ | io.flow.internal.v0.models.MatiasItemUpserted
34874
+ | io.flow.internal.v0.models.MatiasItemDeleted
34567
34875
  | io.flow.internal.v0.models.ShrutiDemoItemUpserted
34568
34876
  | io.flow.internal.v0.models.ShrutiDemoItemDeleted
34569
34877
  | io.flow.internal.v0.models.TamItemUpserted
@@ -34891,6 +35199,7 @@ export type AccountSettingsUpserted =
34891
35199
  io.flow.internal.v0.models.AccountSettingsUpserted;
34892
35200
  export type AccountSource = io.flow.internal.v0.models.AccountSource;
34893
35201
  export type AccountStatistics = io.flow.internal.v0.models.AccountStatistics;
35202
+ export type AccountStatus = io.flow.internal.v0.enums.AccountStatus;
34894
35203
  export type AccountSummary = io.flow.internal.v0.models.AccountSummary;
34895
35204
  export type AccountTransactionsExportRequest =
34896
35205
  io.flow.internal.v0.models.AccountTransactionsExportRequest;
@@ -34898,6 +35207,8 @@ export type AccountType = io.flow.internal.v0.enums.AccountType;
34898
35207
  export type AccountUpserted = io.flow.internal.v0.models.AccountUpserted;
34899
35208
  export type AccountUpsertedV2 = io.flow.internal.v0.models.AccountUpsertedV2;
34900
35209
  export type ActionQuantity = io.flow.internal.v0.models.ActionQuantity;
35210
+ export type AdditionalImportTax =
35211
+ io.flow.internal.v0.models.AdditionalImportTax;
34901
35212
  export type AddressConfigurationProvinceSetting =
34902
35213
  io.flow.internal.v0.models.AddressConfigurationProvinceSetting;
34903
35214
  export type AddressConfigurationSetting =
@@ -35239,6 +35550,12 @@ export type BulkClassificationAction =
35239
35550
  export type ByRuleSnapshot = io.flow.internal.v0.models.ByRuleSnapshot;
35240
35551
  export type CalculatedTaxAmount =
35241
35552
  io.flow.internal.v0.models.CalculatedTaxAmount;
35553
+ export type CalculationStampingLineItem =
35554
+ io.flow.internal.v0.models.CalculationStampingLineItem;
35555
+ export type CalculationStampingShippingLine =
35556
+ io.flow.internal.v0.models.CalculationStampingShippingLine;
35557
+ export type CalculationStep = io.flow.internal.v0.models.CalculationStep;
35558
+ export type CalculationTotal = io.flow.internal.v0.models.CalculationTotal;
35242
35559
  export type CalculatorDtcePostBody =
35243
35560
  io.flow.internal.v0.models.CalculatorDtcePostBody;
35244
35561
  export type CalculatorDtceProduct =
@@ -35252,6 +35569,7 @@ export type CalculatorOrganizationSettingsForm =
35252
35569
  io.flow.internal.v0.models.CalculatorOrganizationSettingsForm;
35253
35570
  export type CalculatorOrganizationSettingsUpserted =
35254
35571
  io.flow.internal.v0.models.CalculatorOrganizationSettingsUpserted;
35572
+ export type CalculatorStamp = io.flow.internal.v0.unions.CalculatorStamp;
35255
35573
  export type CarrierAccount = io.flow.internal.v0.models.CarrierAccount;
35256
35574
  export type CarrierAccountDeleted =
35257
35575
  io.flow.internal.v0.models.CarrierAccountDeleted;
@@ -36517,6 +36835,8 @@ export type CommercialInvoiceInternalDeleted =
36517
36835
  io.flow.internal.v0.models.CommercialInvoiceInternalDeleted;
36518
36836
  export type CommercialInvoiceInternalUpserted =
36519
36837
  io.flow.internal.v0.models.CommercialInvoiceInternalUpserted;
36838
+ export type CommercialInvoiceSummary =
36839
+ io.flow.internal.v0.models.CommercialInvoiceSummary;
36520
36840
  export type CompanyReference = io.flow.internal.v0.models.CompanyReference;
36521
36841
  export type Compliance = io.flow.internal.v0.models.Compliance;
36522
36842
  export type ComplianceData = io.flow.internal.v0.unions.ComplianceData;
@@ -36937,7 +37257,11 @@ export type FiservMerchantModificationForm =
36937
37257
  export type FiservMerchantPutForm =
36938
37258
  io.flow.internal.v0.models.FiservMerchantPutForm;
36939
37259
  export type FlowAccount = io.flow.internal.v0.models.FlowAccount;
37260
+ export type FlowAccountStatusForm =
37261
+ io.flow.internal.v0.models.FlowAccountStatusForm;
36940
37262
  export type FlowApp = io.flow.internal.v0.enums.FlowApp;
37263
+ export type FlowBillingStatement =
37264
+ io.flow.internal.v0.models.FlowBillingStatement;
36941
37265
  export type FlowChannelOrganization =
36942
37266
  io.flow.internal.v0.models.FlowChannelOrganization;
36943
37267
  export type FlowLabProject = io.flow.internal.v0.models.FlowLabProject;
@@ -37593,6 +37917,11 @@ export type MarketingGatewaySourceSummary =
37593
37917
  export type MarketingGatewaySupportedChannelDetails =
37594
37918
  io.flow.internal.v0.models.MarketingGatewaySupportedChannelDetails;
37595
37919
  export type MarketsOrder = io.flow.internal.v0.models.MarketsOrder;
37920
+ export type MatiasItem = io.flow.internal.v0.models.MatiasItem;
37921
+ export type MatiasItemDeleted = io.flow.internal.v0.models.MatiasItemDeleted;
37922
+ export type MatiasItemForm = io.flow.internal.v0.models.MatiasItemForm;
37923
+ export type MatiasItemType = io.flow.internal.v0.enums.MatiasItemType;
37924
+ export type MatiasItemUpserted = io.flow.internal.v0.models.MatiasItemUpserted;
37596
37925
  export type Merchant = io.flow.internal.v0.models.Merchant;
37597
37926
  export type MerchantApplicationSummaries =
37598
37927
  io.flow.internal.v0.models.MerchantApplicationSummaries;
@@ -37617,6 +37946,7 @@ export type MerchantSummary = io.flow.internal.v0.models.MerchantSummary;
37617
37946
  export type MerchantTransactions =
37618
37947
  io.flow.internal.v0.models.MerchantTransactions;
37619
37948
  export type MerchantUpserted = io.flow.internal.v0.models.MerchantUpserted;
37949
+ export type MessageStamp = io.flow.internal.v0.models.MessageStamp;
37620
37950
  export type MetadataProposition =
37621
37951
  io.flow.internal.v0.models.MetadataProposition;
37622
37952
  export type MetadataRatecard = io.flow.internal.v0.models.MetadataRatecard;