@flowio/types 11.24.88 → 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.
@@ -203,6 +203,224 @@ declare namespace io.flow.invoice.v0.models {
203
203
  }
204
204
  }
205
205
 
206
+ declare namespace io.flow.billing.accounting.v0.models {
207
+ interface Fulfillment {
208
+ readonly id: string;
209
+ readonly order: io.flow.billing.accounting.v0.models.OrderSummary;
210
+ readonly shopper: io.flow.billing.accounting.v0.models.ShopperSummary;
211
+ readonly remittance: io.flow.billing.accounting.v0.models.RemittanceResponsibility;
212
+ readonly merchant: io.flow.billing.accounting.v0.models.MerchantSummary;
213
+ readonly sequence_number: number;
214
+ readonly posting_cutoff: string;
215
+ readonly trigger: io.flow.billing.accounting.v0.unions.FulfillmentTrigger;
216
+ readonly fulfilled_at: string;
217
+ readonly owner: io.flow.billing.internal.v0.enums.ResponsibleParty;
218
+ readonly origin?: io.flow.billing.accounting.v0.models.FulfillmentOrigin;
219
+ readonly business?: io.flow.billing.accounting.v0.models.FulfillmentBusiness;
220
+ readonly completes_order: boolean;
221
+ }
222
+
223
+ interface FulfillmentBusiness {
224
+ readonly vat_registration_number: string;
225
+ }
226
+
227
+ interface FulfillmentOrigin {
228
+ readonly country: string;
229
+ readonly province_code?: string;
230
+ }
231
+
232
+ interface FulfillmentProofExternalFulfillmentProofReference {
233
+ readonly discriminator: 'external_fulfillment';
234
+ readonly id: string;
235
+ readonly carrier_id?: string;
236
+ readonly carrier_service_id?: string;
237
+ readonly carrier_tracking_number?: string;
238
+ readonly label_id?: string;
239
+ readonly created_at?: string;
240
+ }
241
+
242
+ interface FulfillmentProofLabelTrackingReference {
243
+ readonly discriminator: 'label_tracking';
244
+ readonly id: string;
245
+ readonly carrier_id?: string;
246
+ readonly carrier_service_id?: string;
247
+ readonly carrier_tracking_number?: string;
248
+ readonly label_id?: string;
249
+ readonly created_at?: string;
250
+ }
251
+
252
+ interface FulfillmentProofOrderCombinedShipmentReference {
253
+ readonly discriminator: 'order_combined_shipment';
254
+ readonly id: string;
255
+ readonly carrier_id?: string;
256
+ readonly carrier_service_id?: string;
257
+ readonly carrier_tracking_number?: string;
258
+ readonly label_id?: string;
259
+ readonly created_at?: string;
260
+ }
261
+
262
+ interface FulfillmentProofShippingNotificationReference {
263
+ readonly discriminator: 'shipping_notification';
264
+ readonly id: string;
265
+ readonly carrier_id?: string;
266
+ readonly carrier_service_id?: string;
267
+ readonly carrier_tracking_number?: string;
268
+ readonly label_id?: string;
269
+ readonly created_at?: string;
270
+ }
271
+
272
+ interface FulfillmentReference {
273
+ readonly id: string;
274
+ }
275
+
276
+ interface FulfillmentSubsidyBreakdown {
277
+ readonly tax: number;
278
+ readonly duty: number;
279
+ readonly total: number;
280
+ }
281
+
282
+ interface FulfillmentTriggerProof {
283
+ readonly discriminator: 'by_proof';
284
+ readonly proof: io.flow.billing.accounting.v0.unions.FulfillmentProof;
285
+ }
286
+
287
+ interface FulfillmentTriggerTime {
288
+ readonly discriminator: 'by_time';
289
+ readonly placeholder?: string;
290
+ }
291
+
292
+ interface ItemSummary {
293
+ readonly number: string;
294
+ readonly fulfillment_method: io.flow.catalog.v0.enums.FulfillmentMethodValue;
295
+ readonly country_of_origin?: string;
296
+ readonly tarriff_code?: string;
297
+ readonly inferred?: boolean;
298
+ }
299
+
300
+ interface MerchantFees {
301
+ readonly duty_guarantee: number;
302
+ readonly mor: number;
303
+ readonly fraud: number;
304
+ readonly fx: number;
305
+ readonly processing: number;
306
+ readonly rate_lock: number;
307
+ readonly transfer: number;
308
+ readonly total: number;
309
+ }
310
+
311
+ interface MerchantSubsidies {
312
+ readonly fees: io.flow.billing.accounting.v0.models.ShopperFees;
313
+ readonly tax: number;
314
+ readonly duty: number;
315
+ readonly total: number;
316
+ }
317
+
318
+ interface MerchantSummary {
319
+ readonly subsidies: io.flow.billing.accounting.v0.models.MerchantSubsidies;
320
+ readonly fees: io.flow.billing.accounting.v0.models.MerchantFees;
321
+ readonly transactions: io.flow.billing.accounting.v0.models.MerchantTransactions;
322
+ readonly total: number;
323
+ }
324
+
325
+ interface MerchantTransactions {
326
+ readonly adjustment: number;
327
+ readonly reversal: number;
328
+ readonly tax: number;
329
+ readonly duty: number;
330
+ readonly freight: number;
331
+ readonly total: number;
332
+ }
333
+
334
+ interface OrderSummary {
335
+ readonly id: string;
336
+ readonly organization: io.flow.common.v0.models.OrganizationReference;
337
+ readonly number: string;
338
+ readonly type: io.flow.experience.v0.enums.OrderType;
339
+ readonly submitted_at: string;
340
+ readonly delivered_duty: io.flow.common.v0.enums.DeliveredDuty;
341
+ readonly currency: string;
342
+ }
343
+
344
+ interface RemittanceResponsibility {
345
+ readonly tax: io.flow.billing.internal.v0.enums.ResponsibleParty;
346
+ readonly duty: io.flow.billing.internal.v0.enums.ResponsibleParty;
347
+ }
348
+
349
+ interface Return {
350
+ readonly id: string;
351
+ readonly order: io.flow.billing.accounting.v0.models.OrderSummary;
352
+ readonly shopper: io.flow.billing.accounting.v0.models.ShopperSummary;
353
+ readonly remittance: io.flow.billing.accounting.v0.models.RemittanceResponsibility;
354
+ readonly merchant: io.flow.billing.accounting.v0.models.MerchantSummary;
355
+ readonly sequence_number: number;
356
+ readonly posting_cutoff: string;
357
+ readonly trigger: io.flow.billing.accounting.v0.unions.ReturnTrigger;
358
+ readonly returned_at: string;
359
+ readonly completes_order: boolean;
360
+ }
361
+
362
+ interface ReturnTriggerRefund {
363
+ readonly discriminator: 'by_refund';
364
+ readonly refund: io.flow.payment.v0.models.RefundReference;
365
+ }
366
+
367
+ interface ShopperFees {
368
+ readonly fuel: number;
369
+ readonly remote_area: number;
370
+ readonly oversize: number;
371
+ readonly ccf: number;
372
+ readonly emergency: number;
373
+ readonly peak: number;
374
+ readonly total: number;
375
+ }
376
+
377
+ interface ShopperFreight {
378
+ readonly price: number;
379
+ readonly discount: number;
380
+ readonly tax: number;
381
+ readonly duty: number;
382
+ readonly subsidies: io.flow.billing.accounting.v0.models.FulfillmentSubsidyBreakdown;
383
+ readonly total: number;
384
+ }
385
+
386
+ interface ShopperLine {
387
+ readonly item: io.flow.billing.accounting.v0.models.ItemSummary;
388
+ readonly quantity: number;
389
+ readonly unit_price: number;
390
+ readonly price: number;
391
+ readonly discount: number;
392
+ readonly tax: number;
393
+ readonly duty: number;
394
+ readonly subsidies: io.flow.billing.accounting.v0.models.FulfillmentSubsidyBreakdown;
395
+ readonly total: number;
396
+ }
397
+
398
+ interface ShopperLines {
399
+ readonly lines: io.flow.billing.accounting.v0.models.ShopperLine[];
400
+ readonly total: number;
401
+ }
402
+
403
+ interface ShopperSummary {
404
+ readonly product: io.flow.billing.accounting.v0.models.ShopperLines;
405
+ readonly fees: io.flow.billing.accounting.v0.models.ShopperFees;
406
+ readonly freight: io.flow.billing.accounting.v0.models.ShopperFreight;
407
+ readonly order_discount: number;
408
+ readonly total: number;
409
+ }
410
+ }
411
+
412
+ declare namespace io.flow.billing.accounting.v0.unions {
413
+ type FulfillmentProof =
414
+ | io.flow.billing.accounting.v0.models.FulfillmentProofLabelTrackingReference
415
+ | io.flow.billing.accounting.v0.models.FulfillmentProofShippingNotificationReference
416
+ | io.flow.billing.accounting.v0.models.FulfillmentProofExternalFulfillmentProofReference
417
+ | io.flow.billing.accounting.v0.models.FulfillmentProofOrderCombinedShipmentReference;
418
+ type FulfillmentTrigger =
419
+ | io.flow.billing.accounting.v0.models.FulfillmentTriggerProof
420
+ | io.flow.billing.accounting.v0.models.FulfillmentTriggerTime;
421
+ type ReturnTrigger = io.flow.billing.accounting.v0.models.ReturnTriggerRefund;
422
+ }
423
+
206
424
  declare namespace io.flow.RESERVED_WORD_export.v0.enums {
207
425
  type ExportStatus = 'created' | 'processing' | 'completed' | 'failed';
208
426
  type ItemIdentifier = 'item_number' | 'sku';
@@ -2391,6 +2609,7 @@ declare namespace io.flow.billing.csv.v0.models {
2391
2609
  readonly processing: number;
2392
2610
  readonly rate_lock: number;
2393
2611
  readonly transfer: number;
2612
+ readonly negative_balance: number;
2394
2613
  }
2395
2614
 
2396
2615
  interface BillingCsvTransactionIdentifiers {
@@ -2411,6 +2630,7 @@ declare namespace io.flow.billing.csv.v0.models {
2411
2630
  readonly label_created_at: string;
2412
2631
  readonly carrier_id: string;
2413
2632
  readonly carrier_tracking_number: string;
2633
+ readonly revenue_share_percentage: number;
2414
2634
  readonly outbound_transaction_id?: string;
2415
2635
  }
2416
2636
 
@@ -2727,7 +2947,7 @@ declare namespace io.flow.stripe.v0.enums {
2727
2947
  | 'pay_now'
2728
2948
  | 'pay_with_financing'
2729
2949
  | 'pay_in_installments';
2730
- type PaymentMethodType = 'card' | 'card_present';
2950
+ type PaymentMethodType = 'card' | 'card_present' | 'klarna';
2731
2951
  type PaymentOutcomeType =
2732
2952
  | 'authorized'
2733
2953
  | 'manual_review'
@@ -3083,6 +3303,12 @@ declare namespace io.flow.stripe.v0.models {
3083
3303
  readonly marketplace_seller_info?: io.flow.stripe.v0.models.KlarnaMarketplaceSellerInfo[];
3084
3304
  }
3085
3305
 
3306
+ interface KlarnaDobForm {
3307
+ readonly day: number;
3308
+ readonly month: number;
3309
+ readonly year: number;
3310
+ }
3311
+
3086
3312
  interface KlarnaMarketplaceSellerInfo {
3087
3313
  readonly sub_merchant_id?: string;
3088
3314
  readonly product_category?: string;
@@ -3092,6 +3318,12 @@ declare namespace io.flow.stripe.v0.models {
3092
3318
  readonly additional_owners?: io.flow.stripe.v0.models.Owner[];
3093
3319
  }
3094
3320
 
3321
+ interface MarketplaceSellerInfo {
3322
+ readonly name: string;
3323
+ readonly id?: string;
3324
+ readonly product_category?: string;
3325
+ }
3326
+
3095
3327
  interface Masterpass {
3096
3328
  readonly type: 'masterpass';
3097
3329
  readonly masterpass: io.flow.stripe.v0.models.MasterpassInformation;
@@ -3180,6 +3412,10 @@ declare namespace io.flow.stripe.v0.models {
3180
3412
  readonly verified_phone?: string;
3181
3413
  }
3182
3414
 
3415
+ interface PaymentDetails {
3416
+ readonly marketplace_seller_info?: io.flow.stripe.v0.models.MarketplaceSellerInfo;
3417
+ }
3418
+
3183
3419
  interface PaymentIntent {
3184
3420
  readonly id: string;
3185
3421
  readonly object: string;
@@ -3304,6 +3540,7 @@ declare namespace io.flow.stripe.v0.models {
3304
3540
  readonly billing_details?: io.flow.stripe.v0.models.PaymentMethodBillingDetails;
3305
3541
  readonly card?: io.flow.stripe.v0.models.PaymentMethodCardDetails;
3306
3542
  readonly card_present?: any /*object*/;
3543
+ readonly klarna?: any /*object*/;
3307
3544
  readonly created: number;
3308
3545
  readonly customer?: string;
3309
3546
  readonly livemode: boolean;
@@ -3344,6 +3581,13 @@ declare namespace io.flow.stripe.v0.models {
3344
3581
  readonly card: io.flow.stripe.v0.models.PaymentMethodCardForm;
3345
3582
  }
3346
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
+
3347
3591
  interface PaymentMethodDetailsCard {
3348
3592
  readonly type: 'card';
3349
3593
  readonly card: io.flow.stripe.v0.models.PaymentMethodDetailsCardInformation;
@@ -3392,8 +3636,20 @@ declare namespace io.flow.stripe.v0.models {
3392
3636
  readonly card: io.flow.stripe.v0.models.PaymentMethodCardForm;
3393
3637
  }
3394
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
+
3395
3650
  interface PaymentMethodOptions {
3396
3651
  readonly card?: io.flow.stripe.v0.models.PaymentMethodOptionsCard;
3652
+ readonly klarna?: io.flow.stripe.v0.models.PaymentMethodOptionsKlarna;
3397
3653
  }
3398
3654
 
3399
3655
  interface PaymentMethodOptionsCard {
@@ -3413,6 +3669,21 @@ declare namespace io.flow.stripe.v0.models {
3413
3669
 
3414
3670
  interface PaymentMethodOptionsForm {
3415
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;
3416
3687
  }
3417
3688
 
3418
3689
  interface PaymentOutcome {
@@ -3713,11 +3984,15 @@ declare namespace io.flow.stripe.v0.unions {
3713
3984
  | io.flow.stripe.v0.models.Masterpass
3714
3985
  | io.flow.stripe.v0.models.ApplePay
3715
3986
  | io.flow.stripe.v0.models.VisaCheckout;
3716
- 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;
3717
3990
  type PaymentMethodDetails =
3718
3991
  | io.flow.stripe.v0.models.PaymentMethodDetailsCard
3719
3992
  | io.flow.stripe.v0.models.PaymentMethodDetailsKlarna;
3720
- 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;
3721
3996
  }
3722
3997
 
3723
3998
  declare namespace io.flow.customer.v0.enums {
@@ -9259,6 +9534,7 @@ declare namespace io.flow.channel.internal.v0.models {
9259
9534
  readonly channel_id: string;
9260
9535
  readonly external_order_reference: string;
9261
9536
  readonly payment_request_id?: string;
9537
+ readonly order_edit_payment_request_ids?: string[];
9262
9538
  readonly status: io.flow.channel.internal.v0.enums.ChannelOrderAcceptanceStatus;
9263
9539
  readonly reasons: io.flow.channel.internal.v0.models.ChannelOrderAcceptanceReason[];
9264
9540
  readonly next_action_from?: io.flow.channel.internal.v0.enums.ChannelOrderAcceptanceNextActionFrom;
@@ -10205,6 +10481,7 @@ declare namespace io.flow.billing.reporting.v0.models {
10205
10481
  }
10206
10482
 
10207
10483
  interface ReportingShipment {
10484
+ readonly remittance?: io.flow.billing.accounting.v0.models.RemittanceResponsibility;
10208
10485
  readonly carrier: string;
10209
10486
  readonly tracking_number?: string;
10210
10487
  }
@@ -12611,6 +12888,17 @@ declare namespace io.flow.payment.request.bundle.v0.models {
12611
12888
  }
12612
12889
 
12613
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
+
12614
12902
  interface CrossdockRatecardFee {
12615
12903
  readonly discriminator: 'crossdock_ratecard_fee';
12616
12904
  readonly amount: io.flow.common.v0.models.Money;
@@ -12655,6 +12943,17 @@ declare namespace io.flow.ratecard.v0.models {
12655
12943
  readonly ends_at?: string;
12656
12944
  }
12657
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
+
12658
12957
  interface EmergencySituationSurchargeRatecardFee {
12659
12958
  readonly discriminator: 'emergency_situation_surcharge_ratecard_fee';
12660
12959
  readonly amount: io.flow.common.v0.models.Money;
@@ -12680,6 +12979,31 @@ declare namespace io.flow.ratecard.v0.models {
12680
12979
  readonly unit: io.flow.common.v0.enums.UnitOfMeasurement;
12681
12980
  }
12682
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
+
12683
13007
  interface FuelSurchargeAmountByWeightServiceFee {
12684
13008
  readonly discriminator: 'fuel_surcharge_amount_by_weight_service_fee';
12685
13009
  readonly amount: io.flow.common.v0.models.Money;
@@ -12750,6 +13074,15 @@ declare namespace io.flow.ratecard.v0.models {
12750
13074
  readonly ratecard: io.flow.ratecard.v0.models.RatecardSummary;
12751
13075
  }
12752
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
+
12753
13086
  interface OversizePieceSurchargeRatecardFee {
12754
13087
  readonly discriminator: 'oversize_piece_surcharge_ratecard_fee';
12755
13088
  readonly dimensional_threshold?: number;
@@ -13001,6 +13334,12 @@ declare namespace io.flow.ratecard.v0.models {
13001
13334
  readonly ratecard: io.flow.ratecard.v0.models.Ratecard;
13002
13335
  }
13003
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
+
13004
13343
  interface RemoteAreaRatecardFee {
13005
13344
  readonly discriminator: 'remote_area_ratecard_fee';
13006
13345
  readonly amount: io.flow.common.v0.models.Money;
@@ -13016,6 +13355,17 @@ declare namespace io.flow.ratecard.v0.models {
13016
13355
  readonly amount: number;
13017
13356
  }
13018
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
+
13019
13369
  interface ShipmentWindow {
13020
13370
  readonly from: number;
13021
13371
  readonly to: number;
@@ -13040,7 +13390,11 @@ declare namespace io.flow.ratecard.v0.unions {
13040
13390
  | io.flow.ratecard.v0.models.RemoteAreaRatecardFee
13041
13391
  | io.flow.ratecard.v0.models.EmergencySituationSurchargeRatecardFee
13042
13392
  | io.flow.ratecard.v0.models.PeakSurchargeRatecardFee
13043
- | 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;
13044
13398
  type ServiceFee =
13045
13399
  | io.flow.ratecard.v0.models.FuelSurchargeServiceFee
13046
13400
  | io.flow.ratecard.v0.models.FuelSurchargeAmountByWeightServiceFee
@@ -13049,7 +13403,14 @@ declare namespace io.flow.ratecard.v0.unions {
13049
13403
  | io.flow.ratecard.v0.models.PeakSurchargeServiceFee
13050
13404
  | io.flow.ratecard.v0.models.PeakSurchargeByWeightServiceFee
13051
13405
  | io.flow.ratecard.v0.models.DutiesTaxesPaidSurchargeServiceFee
13052
- | 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;
13053
13414
  }
13054
13415
 
13055
13416
  declare namespace io.flow.token.v0.models {
@@ -13609,7 +13970,11 @@ declare namespace io.flow.trueup.v0.enums {
13609
13970
  | 'duties_paid'
13610
13971
  | 'emergency'
13611
13972
  | 'peak'
13612
- | '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';
13613
13978
  }
13614
13979
 
13615
13980
  declare namespace io.flow.trueup.v0.models {
@@ -14687,6 +15052,7 @@ declare namespace io.flow.permission.v0.enums {
14687
15052
  | 'organization_fulfillment'
14688
15053
  | 'organization_marketing'
14689
15054
  | 'organization_finance'
15055
+ | 'organization_classification'
14690
15056
  | 'flow_operations'
14691
15057
  | 'channel_admin'
14692
15058
  | 'channel_organization_admin';
@@ -14851,6 +15217,7 @@ declare namespace io.flow.item.v0.models {
14851
15217
 
14852
15218
  declare namespace io.flow.billing.internal.v0.enums {
14853
15219
  type AccountSettingLiabilitiesMethod = 'withholding' | 'transaction';
15220
+ type AccountStatus = 'active' | 'inactive';
14854
15221
  type AccountType = 'channel' | 'organization';
14855
15222
  type AdjustmentTransactionType = 'adjustment' | 'reversal';
14856
15223
  type BankPaymentPromiseCompletedMethod = 'credit' | 'time';
@@ -14925,7 +15292,11 @@ declare namespace io.flow.billing.internal.v0.enums {
14925
15292
  | 'duty'
14926
15293
  | 'trueup'
14927
15294
  | 'carrier_charge';
14928
- type CarrierChargeTransactionType = 'adjustment' | 'reversal' | 'charge';
15295
+ type CarrierChargeTransactionType =
15296
+ | 'adjustment'
15297
+ | 'reversal'
15298
+ | 'charge'
15299
+ | 'revenue_share';
14929
15300
  type ChannelBilledTransactionType =
14930
15301
  | 'adjustment'
14931
15302
  | 'reversal'
@@ -15041,7 +15412,7 @@ declare namespace io.flow.billing.internal.v0.models {
15041
15412
  readonly merchant_of_record_fee?: number;
15042
15413
  readonly duty_guarantee_fee?: number;
15043
15414
  readonly transfer_fee?: number;
15044
- readonly negative_balance_guarantee_fee?: number;
15415
+ readonly negative_balance_fee?: number;
15045
15416
  readonly order_service_fee?: io.flow.billing.internal.v0.models.TieredFee;
15046
15417
  readonly label_fees?: io.flow.billing.internal.v0.models.AccountSettingLabelFees;
15047
15418
  readonly charge_label_cost_directly: boolean;
@@ -15226,6 +15597,7 @@ declare namespace io.flow.billing.internal.v0.models {
15226
15597
  readonly b2b_tax_remittance_days?: number;
15227
15598
  readonly mor_fee?: number;
15228
15599
  readonly duty_guarantee_fee?: number;
15600
+ readonly negative_balance_fee?: number;
15229
15601
  readonly order_service_fee?: io.flow.billing.internal.v0.models.TieredFee;
15230
15602
  readonly label_fee?: io.flow.billing.internal.v0.models.TieredFee;
15231
15603
  }
@@ -15323,6 +15695,7 @@ declare namespace io.flow.billing.internal.v0.models {
15323
15695
  readonly channel: io.flow.common.v0.models.ChannelReference;
15324
15696
  readonly id: string;
15325
15697
  readonly key?: string;
15698
+ readonly status: io.flow.billing.internal.v0.enums.AccountStatus;
15326
15699
  readonly origin?: io.flow.billing.internal.v0.models.AccountOrigin;
15327
15700
  readonly currency: string;
15328
15701
  readonly updated_at: string;
@@ -15539,6 +15912,7 @@ declare namespace io.flow.billing.internal.v0.models {
15539
15912
  readonly source: io.flow.billing.internal.v0.models.AccountSource;
15540
15913
  readonly id: string;
15541
15914
  readonly key?: string;
15915
+ readonly status: io.flow.billing.internal.v0.enums.AccountStatus;
15542
15916
  readonly origin?: io.flow.billing.internal.v0.models.AccountOrigin;
15543
15917
  readonly currency: string;
15544
15918
  readonly updated_at: string;
@@ -15553,6 +15927,18 @@ declare namespace io.flow.billing.internal.v0.models {
15553
15927
  readonly created_at: string;
15554
15928
  }
15555
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
+
15556
15942
  interface FxFee {
15557
15943
  readonly base: io.flow.common.v0.models.Money;
15558
15944
  readonly local: io.flow.common.v0.models.Money;
@@ -15723,6 +16109,7 @@ declare namespace io.flow.billing.internal.v0.models {
15723
16109
  readonly organization: io.flow.common.v0.models.OrganizationReference;
15724
16110
  readonly id: string;
15725
16111
  readonly key?: string;
16112
+ readonly status: io.flow.billing.internal.v0.enums.AccountStatus;
15726
16113
  readonly origin?: io.flow.billing.internal.v0.models.AccountOrigin;
15727
16114
  readonly currency: string;
15728
16115
  readonly updated_at: string;
@@ -16096,9 +16483,10 @@ declare namespace io.flow.billing.v0.enums {
16096
16483
  | 'reversal'
16097
16484
  | 'shipping_label'
16098
16485
  | 'shipping_label_service'
16486
+ | 'shipping_label_revenue_share'
16099
16487
  | 'trueup'
16100
16488
  | 'carrier_charge'
16101
- | 'shipping_label_revenue_share'
16489
+ | 'carrier_charge_revenue_share'
16102
16490
  | 'platform_fee'
16103
16491
  | 'tax'
16104
16492
  | 'duty'
@@ -16115,6 +16503,10 @@ declare namespace io.flow.billing.v0.enums {
16115
16503
  }
16116
16504
 
16117
16505
  declare namespace io.flow.billing.v0.models {
16506
+ interface AccountIdReference {
16507
+ readonly id: string;
16508
+ }
16509
+
16118
16510
  interface AccountReference {
16119
16511
  readonly id: string;
16120
16512
  readonly currency: string;
@@ -16211,6 +16603,7 @@ declare namespace io.flow.billing.v0.models {
16211
16603
  interface ChannelTransaction {
16212
16604
  readonly statement?: io.flow.billing.v0.models.BillingChannelStatementReference;
16213
16605
  readonly id: string;
16606
+ readonly account: io.flow.billing.v0.models.AccountIdReference;
16214
16607
  readonly metadata?: io.flow.billing.v0.unions.TransactionMetadata;
16215
16608
  readonly order?: io.flow.billing.v0.models.BillingChannelOrderSummary;
16216
16609
  readonly payment_request?: io.flow.billing.v0.models.BillingChannelPaymentRequestReference;
@@ -16237,6 +16630,26 @@ declare namespace io.flow.billing.v0.models {
16237
16630
  readonly description?: string;
16238
16631
  }
16239
16632
 
16633
+ interface FlowTransaction {
16634
+ readonly statement?: io.flow.billing.v0.models.BillingChannelStatementReference;
16635
+ readonly id: string;
16636
+ readonly account: io.flow.billing.v0.models.AccountIdReference;
16637
+ readonly metadata?: io.flow.billing.v0.unions.TransactionMetadata;
16638
+ readonly order?: io.flow.billing.v0.models.BillingChannelOrderSummary;
16639
+ readonly payment_request?: io.flow.billing.v0.models.BillingChannelPaymentRequestReference;
16640
+ readonly currency: string;
16641
+ readonly source: io.flow.billing.v0.enums.TransactionSource;
16642
+ readonly parent?: io.flow.billing.v0.models.ParentTransactionSummary;
16643
+ readonly gross: number;
16644
+ readonly fees: io.flow.billing.v0.models.FeeDeduction[];
16645
+ readonly withholdings: io.flow.billing.v0.models.WithholdingDeduction[];
16646
+ readonly discounts: io.flow.billing.v0.models.BillingDiscount[];
16647
+ readonly net: number;
16648
+ readonly identifiers: Record<string, string>;
16649
+ readonly created_at: string;
16650
+ readonly updated_at: string;
16651
+ }
16652
+
16240
16653
  interface OrganizationBankAccount {
16241
16654
  readonly id: string;
16242
16655
  readonly key: string;
@@ -16300,6 +16713,7 @@ declare namespace io.flow.billing.v0.models {
16300
16713
 
16301
16714
  interface PayoutTransaction {
16302
16715
  readonly id: string;
16716
+ readonly account: io.flow.billing.v0.models.AccountIdReference;
16303
16717
  readonly metadata?: io.flow.billing.v0.unions.TransactionMetadata;
16304
16718
  readonly order?: io.flow.billing.v0.models.BillingChannelOrderSummary;
16305
16719
  readonly payment_request?: io.flow.billing.v0.models.BillingChannelPaymentRequestReference;
@@ -16349,6 +16763,7 @@ declare namespace io.flow.billing.v0.models {
16349
16763
  interface Transaction {
16350
16764
  readonly statement?: io.flow.billing.v0.models.BillingChannelStatementReference;
16351
16765
  readonly id: string;
16766
+ readonly account: io.flow.billing.v0.models.AccountIdReference;
16352
16767
  readonly metadata?: io.flow.billing.v0.unions.TransactionMetadata;
16353
16768
  readonly order?: io.flow.billing.v0.models.BillingChannelOrderSummary;
16354
16769
  readonly payment_request?: io.flow.billing.v0.models.BillingChannelPaymentRequestReference;
@@ -16371,6 +16786,7 @@ declare namespace io.flow.billing.v0.models {
16371
16786
  readonly label_created_at: string;
16372
16787
  readonly carrier_id: string;
16373
16788
  readonly carrier_tracking_number: string;
16789
+ readonly revenue_share_percentage: number;
16374
16790
  readonly outbound?: io.flow.billing.v0.models.TransactionMetadataCarrierChargeOutbound;
16375
16791
  }
16376
16792
 
@@ -17776,6 +18192,7 @@ declare namespace io.flow.checkout.v0.unions {
17776
18192
  }
17777
18193
 
17778
18194
  declare namespace io.flow.organization.onboarding.state.v0.enums {
18195
+ type MerchantDisabledReason = 'merchant_deactivated' | 'merchant_rejected';
17779
18196
  type MerchantRejectedReason =
17780
18197
  | 'merchant_ubo_is_pep'
17781
18198
  | 'merchant_catalog_is_unsupportable'
@@ -17785,7 +18202,8 @@ declare namespace io.flow.organization.onboarding.state.v0.enums {
17785
18202
  | 'street_address_is_po_box_3pl'
17786
18203
  | 'business_street_address_is_blank'
17787
18204
  | 'business_street_address_is_po_box'
17788
- | 'exception_merchant';
18205
+ | 'exception_merchant'
18206
+ | 'application_missing';
17789
18207
  }
17790
18208
 
17791
18209
  declare namespace io.flow.organization.onboarding.state.v0.models {
@@ -17812,6 +18230,11 @@ declare namespace io.flow.organization.onboarding.state.v0.models {
17812
18230
  readonly reason: string;
17813
18231
  }
17814
18232
 
18233
+ interface MerchantDisabled {
18234
+ readonly discriminator: 'merchant_disabled';
18235
+ readonly reason: io.flow.organization.onboarding.state.v0.enums.MerchantDisabledReason;
18236
+ }
18237
+
17815
18238
  interface MerchantRejected {
17816
18239
  readonly discriminator: 'merchant_rejected';
17817
18240
  readonly reason: io.flow.organization.onboarding.state.v0.enums.MerchantRejectedReason;
@@ -17862,7 +18285,8 @@ declare namespace io.flow.organization.onboarding.state.v0.unions {
17862
18285
  | io.flow.organization.onboarding.state.v0.models.SetupBlocked
17863
18286
  | io.flow.organization.onboarding.state.v0.models.SetupCompleted
17864
18287
  | io.flow.organization.onboarding.state.v0.models.MerchantActivated
17865
- | 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;
17866
18290
  }
17867
18291
 
17868
18292
  declare namespace io.flow.fraud.v0.enums {
@@ -18239,6 +18663,7 @@ declare namespace io.flow.billing.bank.account.v0.unions {
18239
18663
 
18240
18664
  declare namespace io.flow.internal.v0.enums {
18241
18665
  type AccountSettingLiabilitiesMethod = 'withholding' | 'transaction';
18666
+ type AccountStatus = 'active' | 'inactive';
18242
18667
  type AccountType = 'channel' | 'organization';
18243
18668
  type AddressConfigurationSettingProvinceCode = 'iso_3166_2' | 'name';
18244
18669
  type AdjustmentTransactionType = 'adjustment' | 'reversal';
@@ -18380,7 +18805,10 @@ declare namespace io.flow.internal.v0.enums {
18380
18805
  | 'negative_balance_total'
18381
18806
  | 'negative_balance_total_with_order_in_past_30_days'
18382
18807
  | 'negative_balance_total_without_order_in_past_30_days'
18383
- | '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';
18384
18812
  type BillingStatementAttachmentKey =
18385
18813
  | 'invoice'
18386
18814
  | 'statement'
@@ -18439,7 +18867,11 @@ declare namespace io.flow.internal.v0.enums {
18439
18867
  | 'dtce_with_deminimis'
18440
18868
  | 'dtce_merged_with_tax'
18441
18869
  | 'dtce_with_inclusive_pricing';
18442
- type CarrierChargeTransactionType = 'adjustment' | 'reversal' | 'charge';
18870
+ type CarrierChargeTransactionType =
18871
+ | 'adjustment'
18872
+ | 'reversal'
18873
+ | 'charge'
18874
+ | 'revenue_share';
18443
18875
  type CarrierChargeType = 'label' | 'other';
18444
18876
  type CarrierLabelGenerationMethod = 'direct' | 'easypost';
18445
18877
  type CarrierValidationStatus = 'success' | 'error';
@@ -18878,7 +19310,6 @@ declare namespace io.flow.internal.v0.enums {
18878
19310
  | 'processing_transaction_upserted'
18879
19311
  | 'processing_transaction_deleted'
18880
19312
  | 'bank_payment_upserted'
18881
- | 'bank_payment_deleted'
18882
19313
  | 'bank_payment_upserted_v2'
18883
19314
  | 'bank_payment_deleted_v2'
18884
19315
  | 'channel_transaction_upserted'
@@ -19175,6 +19606,8 @@ declare namespace io.flow.internal.v0.enums {
19175
19606
  | 'svitlana_item_deleted'
19176
19607
  | 'colm_item_upserted'
19177
19608
  | 'colm_item_deleted'
19609
+ | 'matias_item_upserted'
19610
+ | 'matias_item_deleted'
19178
19611
  | 'shruti_demo_item_upserted'
19179
19612
  | 'shruti_demo_item_deleted'
19180
19613
  | 'tam_item_upserted'
@@ -19328,6 +19761,7 @@ declare namespace io.flow.internal.v0.enums {
19328
19761
  | 'facebook_primary'
19329
19762
  | 'facebook_country_override'
19330
19763
  | 'supplemental';
19764
+ type MatiasItemType = 'physical' | 'digital';
19331
19765
  type MixedBagWeight = '0' | '1' | '2';
19332
19766
  type NatureOfSale =
19333
19767
  | 'consumer'
@@ -19404,7 +19838,11 @@ declare namespace io.flow.internal.v0.enums {
19404
19838
  | 'shipment_exhausted';
19405
19839
  type OrderLifecycleEvent = 'order_placed' | 'ready_to_fulfill';
19406
19840
  type OrderTransactionType = 'adjustment' | 'reversal' | 'order_service';
19407
- type OrderValidationStatus = 'success' | 'failed' | 'unresolvable';
19841
+ type OrderValidationStatus =
19842
+ | 'success'
19843
+ | 'failed'
19844
+ | 'label_created'
19845
+ | 'unresolvable';
19408
19846
  type OrganizationCapability = 'organization' | 'flow' | 'dynamic';
19409
19847
  type OrganizationMetricType =
19410
19848
  | 'organization_restriction_snapshot'
@@ -19785,7 +20223,7 @@ declare namespace io.flow.internal.v0.models {
19785
20223
  readonly merchant_of_record_fee?: number;
19786
20224
  readonly duty_guarantee_fee?: number;
19787
20225
  readonly transfer_fee?: number;
19788
- readonly negative_balance_guarantee_fee?: number;
20226
+ readonly negative_balance_fee?: number;
19789
20227
  readonly order_service_fee?: io.flow.internal.v0.models.TieredFee;
19790
20228
  readonly label_fees?: io.flow.internal.v0.models.AccountSettingLabelFees;
19791
20229
  readonly charge_label_cost_directly: boolean;
@@ -19873,6 +20311,12 @@ declare namespace io.flow.internal.v0.models {
19873
20311
  readonly quantity: number;
19874
20312
  }
19875
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
+
19876
20320
  interface AddressConfigurationProvinceSetting {
19877
20321
  readonly code: io.flow.internal.v0.enums.AddressConfigurationSettingProvinceCode;
19878
20322
  }
@@ -20446,14 +20890,6 @@ declare namespace io.flow.internal.v0.models {
20446
20890
  readonly total: io.flow.common.v0.models.Price;
20447
20891
  }
20448
20892
 
20449
- interface BankPaymentDeleted {
20450
- readonly discriminator: 'bank_payment_deleted';
20451
- readonly event_id: string;
20452
- readonly timestamp: string;
20453
- readonly organization: string;
20454
- readonly bank_payment: io.flow.internal.v0.models.BankPayment;
20455
- }
20456
-
20457
20893
  interface BankPaymentDeletedV2 {
20458
20894
  readonly discriminator: 'bank_payment_deleted_v2';
20459
20895
  readonly event_id: string;
@@ -20610,6 +21046,7 @@ declare namespace io.flow.internal.v0.models {
20610
21046
  readonly b2b_tax_remittance_days?: number;
20611
21047
  readonly mor_fee?: number;
20612
21048
  readonly duty_guarantee_fee?: number;
21049
+ readonly negative_balance_fee?: number;
20613
21050
  readonly order_service_fee?: io.flow.internal.v0.models.TieredFee;
20614
21051
  readonly label_fee?: io.flow.internal.v0.models.TieredFee;
20615
21052
  }
@@ -21039,6 +21476,51 @@ declare namespace io.flow.internal.v0.models {
21039
21476
  readonly name: string;
21040
21477
  }
21041
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
+
21042
21524
  interface CalculatorDtcePostBody {
21043
21525
  readonly products: io.flow.internal.v0.models.CalculatorDtceProduct[];
21044
21526
  readonly countryCodeFrom: string;
@@ -21365,6 +21847,7 @@ declare namespace io.flow.internal.v0.models {
21365
21847
  readonly channel: io.flow.common.v0.models.ChannelReference;
21366
21848
  readonly id: string;
21367
21849
  readonly key?: string;
21850
+ readonly status: io.flow.internal.v0.enums.AccountStatus;
21368
21851
  readonly origin?: io.flow.internal.v0.models.AccountOrigin;
21369
21852
  readonly currency: string;
21370
21853
  readonly updated_at: string;
@@ -21536,6 +22019,7 @@ declare namespace io.flow.internal.v0.models {
21536
22019
  readonly tracking_numbers?: string[];
21537
22020
  readonly carrier?: io.flow.reference.v0.models.CarrierService;
21538
22021
  readonly duty_paid: boolean;
22022
+ readonly shop_id?: string;
21539
22023
  }
21540
22024
 
21541
22025
  interface ChannelOrderAcceptance {
@@ -21545,6 +22029,7 @@ declare namespace io.flow.internal.v0.models {
21545
22029
  readonly channel_id: string;
21546
22030
  readonly external_order_reference: string;
21547
22031
  readonly payment_request_id?: string;
22032
+ readonly order_edit_payment_request_ids?: string[];
21548
22033
  readonly status: io.flow.internal.v0.enums.ChannelOrderAcceptanceStatus;
21549
22034
  readonly reasons: io.flow.internal.v0.models.ChannelOrderAcceptanceReason[];
21550
22035
  readonly next_action_from?: io.flow.internal.v0.enums.ChannelOrderAcceptanceNextActionFrom;
@@ -24049,7 +24534,7 @@ declare namespace io.flow.internal.v0.models {
24049
24534
  readonly invoice_reference: string;
24050
24535
  readonly signature_url: string;
24051
24536
  readonly signature_date: string;
24052
- readonly signature_name: string;
24537
+ readonly signature_name?: string;
24053
24538
  readonly line_items: io.flow.internal.v0.models.InvoiceLineItem[];
24054
24539
  readonly currency: string;
24055
24540
  readonly delivered_duty: string;
@@ -24099,6 +24584,12 @@ declare namespace io.flow.internal.v0.models {
24099
24584
  readonly invoice: io.flow.internal.v0.models.CommercialInvoiceInternal;
24100
24585
  }
24101
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
+
24102
24593
  interface CompanyReference {
24103
24594
  readonly id: string;
24104
24595
  }
@@ -25026,6 +25517,9 @@ declare namespace io.flow.internal.v0.models {
25026
25517
  readonly bank_code: string;
25027
25518
  readonly id: string;
25028
25519
  readonly tax_code?: string;
25520
+ readonly tax_code_2?: string;
25521
+ readonly debit_entry_code?: string;
25522
+ readonly credit_entry_code?: string;
25029
25523
  readonly vat_flag?: string;
25030
25524
  readonly w_tax_percent?: string;
25031
25525
  readonly iban?: string;
@@ -25073,6 +25567,9 @@ declare namespace io.flow.internal.v0.models {
25073
25567
  readonly id: string;
25074
25568
  readonly acc_des?: string;
25075
25569
  readonly tax_code?: string;
25570
+ readonly tax_code_2?: string;
25571
+ readonly debit_entry_code?: string;
25572
+ readonly credit_entry_code?: string;
25076
25573
  readonly vat_flag?: string;
25077
25574
  readonly country_name?: string;
25078
25575
  readonly w_tax_percent?: string;
@@ -25689,6 +26186,7 @@ declare namespace io.flow.internal.v0.models {
25689
26186
  readonly fx?: io.flow.internal.v0.models.Fee;
25690
26187
  readonly duty_guarantee?: io.flow.internal.v0.models.Fee;
25691
26188
  readonly transfer?: io.flow.internal.v0.models.Fee;
26189
+ readonly negative_balance?: io.flow.internal.v0.models.Fee;
25692
26190
  }
25693
26191
 
25694
26192
  interface FinanceBankAccount {
@@ -25831,6 +26329,7 @@ declare namespace io.flow.internal.v0.models {
25831
26329
  readonly source: io.flow.internal.v0.models.AccountSource;
25832
26330
  readonly id: string;
25833
26331
  readonly key?: string;
26332
+ readonly status: io.flow.internal.v0.enums.AccountStatus;
25834
26333
  readonly origin?: io.flow.internal.v0.models.AccountOrigin;
25835
26334
  readonly currency: string;
25836
26335
  readonly updated_at: string;
@@ -25845,6 +26344,18 @@ declare namespace io.flow.internal.v0.models {
25845
26344
  readonly created_at: string;
25846
26345
  }
25847
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
+
25848
26359
  interface FlowChannelOrganization {
25849
26360
  readonly placeholder?: string;
25850
26361
  }
@@ -26102,7 +26613,7 @@ declare namespace io.flow.internal.v0.models {
26102
26613
  readonly id: string;
26103
26614
  readonly order: io.flow.internal.v0.models.OrderSummary;
26104
26615
  readonly shopper: io.flow.internal.v0.models.ShopperSummary;
26105
- readonly remittance?: io.flow.internal.v0.models.RemittanceResponsibility;
26616
+ readonly remittance: io.flow.internal.v0.models.RemittanceResponsibility;
26106
26617
  readonly merchant: io.flow.internal.v0.models.MerchantSummary;
26107
26618
  readonly sequence_number: number;
26108
26619
  readonly posting_cutoff: string;
@@ -27673,6 +28184,7 @@ declare namespace io.flow.internal.v0.models {
27673
28184
  readonly number: string;
27674
28185
  readonly fulfillment_method: io.flow.catalog.v0.enums.FulfillmentMethodValue;
27675
28186
  readonly country_of_origin?: string;
28187
+ readonly tarriff_code?: string;
27676
28188
  readonly inferred?: boolean;
27677
28189
  }
27678
28190
 
@@ -28650,6 +29162,37 @@ declare namespace io.flow.internal.v0.models {
28650
29162
  readonly flow_authorization?: io.flow.payment.v0.unions.Authorization;
28651
29163
  }
28652
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
+
28653
29196
  interface Merchant {
28654
29197
  readonly id: string;
28655
29198
  readonly account: io.flow.internal.v0.models.AccountReference;
@@ -28769,6 +29312,11 @@ declare namespace io.flow.internal.v0.models {
28769
29312
  readonly merchant: io.flow.internal.v0.models.Merchant;
28770
29313
  }
28771
29314
 
29315
+ interface MessageStamp {
29316
+ readonly discriminator: 'message_stamp';
29317
+ readonly message: string;
29318
+ }
29319
+
28772
29320
  interface MetadataProposition {
28773
29321
  readonly shipping_method: io.flow.internal.v0.models.ShippingMethodReference;
28774
29322
  readonly name: string;
@@ -29252,6 +29800,7 @@ declare namespace io.flow.internal.v0.models {
29252
29800
  readonly organization: io.flow.common.v0.models.OrganizationReference;
29253
29801
  readonly id: string;
29254
29802
  readonly key?: string;
29803
+ readonly status: io.flow.internal.v0.enums.AccountStatus;
29255
29804
  readonly origin?: io.flow.internal.v0.models.AccountOrigin;
29256
29805
  readonly currency: string;
29257
29806
  readonly updated_at: string;
@@ -31072,6 +31621,7 @@ declare namespace io.flow.internal.v0.models {
31072
31621
  }
31073
31622
 
31074
31623
  interface ReportingShipment {
31624
+ readonly remittance?: io.flow.internal.v0.models.RemittanceResponsibility;
31075
31625
  readonly carrier: string;
31076
31626
  readonly tracking_number?: string;
31077
31627
  }
@@ -31371,7 +31921,7 @@ declare namespace io.flow.internal.v0.models {
31371
31921
  readonly id: string;
31372
31922
  readonly order: io.flow.internal.v0.models.OrderSummary;
31373
31923
  readonly shopper: io.flow.internal.v0.models.ShopperSummary;
31374
- readonly remittance?: io.flow.internal.v0.models.RemittanceResponsibility;
31924
+ readonly remittance: io.flow.internal.v0.models.RemittanceResponsibility;
31375
31925
  readonly merchant: io.flow.internal.v0.models.MerchantSummary;
31376
31926
  readonly sequence_number: number;
31377
31927
  readonly posting_cutoff: string;
@@ -33567,6 +34117,9 @@ declare namespace io.flow.internal.v0.unions {
33567
34117
  | io.flow.internal.v0.models.BlazeApplepayAvailabilityRequest
33568
34118
  | io.flow.internal.v0.models.BlazePaymentAuthStartMessage
33569
34119
  | io.flow.internal.v0.models.BlazePaymentAuthCompleteMessage;
34120
+ type CalculatorStamp =
34121
+ | io.flow.internal.v0.models.MessageStamp
34122
+ | io.flow.internal.v0.models.CalculationStep;
33570
34123
  type CarrierChargeForm =
33571
34124
  | io.flow.internal.v0.models.CarrierChargeFormLabel
33572
34125
  | io.flow.internal.v0.models.CarrierChargeFormOther;
@@ -34021,7 +34574,6 @@ declare namespace io.flow.internal.v0.unions {
34021
34574
  | io.flow.internal.v0.models.ProcessingTransactionUpserted
34022
34575
  | io.flow.internal.v0.models.ProcessingTransactionDeleted
34023
34576
  | io.flow.internal.v0.models.BankPaymentUpserted
34024
- | io.flow.internal.v0.models.BankPaymentDeleted
34025
34577
  | io.flow.internal.v0.models.BankPaymentUpsertedV2
34026
34578
  | io.flow.internal.v0.models.BankPaymentDeletedV2
34027
34579
  | io.flow.internal.v0.models.ChannelTransactionUpserted
@@ -34318,6 +34870,8 @@ declare namespace io.flow.internal.v0.unions {
34318
34870
  | io.flow.internal.v0.models.SvitlanaItemDeleted
34319
34871
  | io.flow.internal.v0.models.ColmItemUpserted
34320
34872
  | io.flow.internal.v0.models.ColmItemDeleted
34873
+ | io.flow.internal.v0.models.MatiasItemUpserted
34874
+ | io.flow.internal.v0.models.MatiasItemDeleted
34321
34875
  | io.flow.internal.v0.models.ShrutiDemoItemUpserted
34322
34876
  | io.flow.internal.v0.models.ShrutiDemoItemDeleted
34323
34877
  | io.flow.internal.v0.models.TamItemUpserted
@@ -34645,6 +35199,7 @@ export type AccountSettingsUpserted =
34645
35199
  io.flow.internal.v0.models.AccountSettingsUpserted;
34646
35200
  export type AccountSource = io.flow.internal.v0.models.AccountSource;
34647
35201
  export type AccountStatistics = io.flow.internal.v0.models.AccountStatistics;
35202
+ export type AccountStatus = io.flow.internal.v0.enums.AccountStatus;
34648
35203
  export type AccountSummary = io.flow.internal.v0.models.AccountSummary;
34649
35204
  export type AccountTransactionsExportRequest =
34650
35205
  io.flow.internal.v0.models.AccountTransactionsExportRequest;
@@ -34652,6 +35207,8 @@ export type AccountType = io.flow.internal.v0.enums.AccountType;
34652
35207
  export type AccountUpserted = io.flow.internal.v0.models.AccountUpserted;
34653
35208
  export type AccountUpsertedV2 = io.flow.internal.v0.models.AccountUpsertedV2;
34654
35209
  export type ActionQuantity = io.flow.internal.v0.models.ActionQuantity;
35210
+ export type AdditionalImportTax =
35211
+ io.flow.internal.v0.models.AdditionalImportTax;
34655
35212
  export type AddressConfigurationProvinceSetting =
34656
35213
  io.flow.internal.v0.models.AddressConfigurationProvinceSetting;
34657
35214
  export type AddressConfigurationSetting =
@@ -34807,7 +35364,6 @@ export type BackfillForm = io.flow.internal.v0.models.BackfillForm;
34807
35364
  export type BankAccountReference =
34808
35365
  io.flow.internal.v0.models.BankAccountReference;
34809
35366
  export type BankPayment = io.flow.internal.v0.models.BankPayment;
34810
- export type BankPaymentDeleted = io.flow.internal.v0.models.BankPaymentDeleted;
34811
35367
  export type BankPaymentDeletedV2 =
34812
35368
  io.flow.internal.v0.models.BankPaymentDeletedV2;
34813
35369
  export type BankPaymentForm = io.flow.internal.v0.models.BankPaymentForm;
@@ -34994,6 +35550,12 @@ export type BulkClassificationAction =
34994
35550
  export type ByRuleSnapshot = io.flow.internal.v0.models.ByRuleSnapshot;
34995
35551
  export type CalculatedTaxAmount =
34996
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;
34997
35559
  export type CalculatorDtcePostBody =
34998
35560
  io.flow.internal.v0.models.CalculatorDtcePostBody;
34999
35561
  export type CalculatorDtceProduct =
@@ -35007,6 +35569,7 @@ export type CalculatorOrganizationSettingsForm =
35007
35569
  io.flow.internal.v0.models.CalculatorOrganizationSettingsForm;
35008
35570
  export type CalculatorOrganizationSettingsUpserted =
35009
35571
  io.flow.internal.v0.models.CalculatorOrganizationSettingsUpserted;
35572
+ export type CalculatorStamp = io.flow.internal.v0.unions.CalculatorStamp;
35010
35573
  export type CarrierAccount = io.flow.internal.v0.models.CarrierAccount;
35011
35574
  export type CarrierAccountDeleted =
35012
35575
  io.flow.internal.v0.models.CarrierAccountDeleted;
@@ -36272,6 +36835,8 @@ export type CommercialInvoiceInternalDeleted =
36272
36835
  io.flow.internal.v0.models.CommercialInvoiceInternalDeleted;
36273
36836
  export type CommercialInvoiceInternalUpserted =
36274
36837
  io.flow.internal.v0.models.CommercialInvoiceInternalUpserted;
36838
+ export type CommercialInvoiceSummary =
36839
+ io.flow.internal.v0.models.CommercialInvoiceSummary;
36275
36840
  export type CompanyReference = io.flow.internal.v0.models.CompanyReference;
36276
36841
  export type Compliance = io.flow.internal.v0.models.Compliance;
36277
36842
  export type ComplianceData = io.flow.internal.v0.unions.ComplianceData;
@@ -36692,7 +37257,11 @@ export type FiservMerchantModificationForm =
36692
37257
  export type FiservMerchantPutForm =
36693
37258
  io.flow.internal.v0.models.FiservMerchantPutForm;
36694
37259
  export type FlowAccount = io.flow.internal.v0.models.FlowAccount;
37260
+ export type FlowAccountStatusForm =
37261
+ io.flow.internal.v0.models.FlowAccountStatusForm;
36695
37262
  export type FlowApp = io.flow.internal.v0.enums.FlowApp;
37263
+ export type FlowBillingStatement =
37264
+ io.flow.internal.v0.models.FlowBillingStatement;
36696
37265
  export type FlowChannelOrganization =
36697
37266
  io.flow.internal.v0.models.FlowChannelOrganization;
36698
37267
  export type FlowLabProject = io.flow.internal.v0.models.FlowLabProject;
@@ -37348,6 +37917,11 @@ export type MarketingGatewaySourceSummary =
37348
37917
  export type MarketingGatewaySupportedChannelDetails =
37349
37918
  io.flow.internal.v0.models.MarketingGatewaySupportedChannelDetails;
37350
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;
37351
37925
  export type Merchant = io.flow.internal.v0.models.Merchant;
37352
37926
  export type MerchantApplicationSummaries =
37353
37927
  io.flow.internal.v0.models.MerchantApplicationSummaries;
@@ -37372,6 +37946,7 @@ export type MerchantSummary = io.flow.internal.v0.models.MerchantSummary;
37372
37946
  export type MerchantTransactions =
37373
37947
  io.flow.internal.v0.models.MerchantTransactions;
37374
37948
  export type MerchantUpserted = io.flow.internal.v0.models.MerchantUpserted;
37949
+ export type MessageStamp = io.flow.internal.v0.models.MessageStamp;
37375
37950
  export type MetadataProposition =
37376
37951
  io.flow.internal.v0.models.MetadataProposition;
37377
37952
  export type MetadataRatecard = io.flow.internal.v0.models.MetadataRatecard;