@flowio/types 11.24.73 → 11.24.74

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.
@@ -177,6 +177,17 @@ declare namespace io.flow.order.price.v0.models {
177
177
  }
178
178
  }
179
179
 
180
+ declare namespace io.flow.error.v0.enums {
181
+ type GenericErrorCode = 'generic_error' | 'client_error' | 'server_error';
182
+ }
183
+
184
+ declare namespace io.flow.error.v0.models {
185
+ interface GenericError {
186
+ readonly code: io.flow.error.v0.enums.GenericErrorCode;
187
+ readonly messages: string[];
188
+ }
189
+ }
190
+
180
191
  declare namespace io.flow.channel.v0.enums {
181
192
  type ChannelCurrencyCapability =
182
193
  | 'payment_authorizations'
@@ -242,140 +253,6 @@ declare namespace io.flow.channel.v0.models {
242
253
  }
243
254
  }
244
255
 
245
- declare namespace io.flow.reference.v0.enums {
246
- type PaymentMethodCapability = 'credit' | 'debit';
247
- type PaymentMethodType = 'card' | 'online' | 'offline';
248
- type PostalType = 'eircode' | 'pin' | 'postal' | 'zip';
249
- type ProvinceType =
250
- | 'area'
251
- | 'city'
252
- | 'county'
253
- | 'department'
254
- | 'dependency'
255
- | 'district'
256
- | 'do_si'
257
- | 'emirate'
258
- | 'entity'
259
- | 'island'
260
- | 'municipality'
261
- | 'oblast'
262
- | 'outlying_area'
263
- | 'parish'
264
- | 'prefecture'
265
- | 'province'
266
- | 'state'
267
- | 'territory'
268
- | 'other';
269
- }
270
-
271
- declare namespace io.flow.reference.v0.models {
272
- interface Carrier {
273
- readonly id: string;
274
- readonly name: string;
275
- readonly tracking_url: string;
276
- }
277
-
278
- interface CarrierService {
279
- readonly id: string;
280
- readonly carrier: io.flow.reference.v0.models.Carrier;
281
- readonly name: string;
282
- }
283
-
284
- interface Country {
285
- readonly name: string;
286
- readonly iso_3166_2: string;
287
- readonly iso_3166_3: string;
288
- readonly languages: string[];
289
- readonly measurement_system: string;
290
- readonly default_currency?: string;
291
- readonly default_language?: string;
292
- readonly timezones: string[];
293
- readonly default_delivered_duty?: string;
294
- }
295
-
296
- interface Currency {
297
- readonly name: string;
298
- readonly iso_4217_3: string;
299
- readonly number_decimals: number;
300
- readonly symbols?: io.flow.reference.v0.models.CurrencySymbols;
301
- readonly default_locale?: string;
302
- }
303
-
304
- interface CurrencySymbols {
305
- readonly primary: string;
306
- readonly narrow?: string;
307
- }
308
-
309
- interface Language {
310
- readonly name: string;
311
- readonly iso_639_2: string;
312
- }
313
-
314
- interface Locale {
315
- readonly id: string;
316
- readonly name: string;
317
- readonly country: string;
318
- readonly language: string;
319
- readonly numbers: io.flow.reference.v0.models.LocaleNumbers;
320
- }
321
-
322
- interface LocaleNumbers {
323
- readonly decimal: string;
324
- readonly group: string;
325
- }
326
-
327
- interface LocalizedTranslation {
328
- readonly locale: io.flow.reference.v0.models.Locale;
329
- readonly name: string;
330
- }
331
-
332
- interface PaymentMethod {
333
- readonly id: string;
334
- readonly type: io.flow.reference.v0.enums.PaymentMethodType;
335
- readonly name: string;
336
- readonly images: io.flow.reference.v0.models.PaymentMethodImages;
337
- readonly regions: string[];
338
- readonly capabilities?: io.flow.reference.v0.enums.PaymentMethodCapability[];
339
- }
340
-
341
- interface PaymentMethodImage {
342
- readonly url: string;
343
- readonly width: number;
344
- readonly height: number;
345
- }
346
-
347
- interface PaymentMethodImages {
348
- readonly small: io.flow.reference.v0.models.PaymentMethodImage;
349
- readonly medium: io.flow.reference.v0.models.PaymentMethodImage;
350
- readonly large: io.flow.reference.v0.models.PaymentMethodImage;
351
- }
352
-
353
- interface Province {
354
- readonly id: string;
355
- readonly iso_3166_2: string;
356
- readonly name: string;
357
- readonly country: string;
358
- readonly province_type: io.flow.reference.v0.enums.ProvinceType;
359
- readonly translations?: io.flow.reference.v0.models.LocalizedTranslation[];
360
- }
361
-
362
- interface Region {
363
- readonly id: string;
364
- readonly name: string;
365
- readonly countries: string[];
366
- readonly currencies: string[];
367
- readonly languages: string[];
368
- readonly measurement_systems: string[];
369
- readonly timezones: string[];
370
- }
371
-
372
- interface Timezone {
373
- readonly name: string;
374
- readonly description: string;
375
- readonly offset: number;
376
- }
377
- }
378
-
379
256
  declare namespace io.flow.invoice.v0.enums {
380
257
  type PaymentTerm = 'net7' | 'net15' | 'net30';
381
258
  }
@@ -1656,6 +1533,7 @@ declare namespace io.flow.payment.v0.models {
1656
1533
  readonly processor: string;
1657
1534
  readonly operation_identifier?: io.flow.payment.v0.models.PaymentProcessorIdentifier;
1658
1535
  readonly account?: io.flow.payment.v0.models.PaymentProcessorAccount;
1536
+ readonly transaction_details?: io.flow.payment.v0.unions.PaymentProcessorTransactionDetails;
1659
1537
  }
1660
1538
 
1661
1539
  interface PaymentProcessorAccount {
@@ -1680,6 +1558,17 @@ declare namespace io.flow.payment.v0.models {
1680
1558
  readonly processor: string;
1681
1559
  }
1682
1560
 
1561
+ interface PaymentProcessorTransactionDetailsCard {
1562
+ readonly discriminator: 'card';
1563
+ readonly transaction_identifier?: string;
1564
+ readonly method_type?: string;
1565
+ readonly result_status?: string;
1566
+ readonly reason_code?: string;
1567
+ readonly avs_result_code?: string;
1568
+ readonly cvv_result_code?: string;
1569
+ readonly threeds_result_code?: string;
1570
+ }
1571
+
1683
1572
  interface PaymentReference {
1684
1573
  readonly id: string;
1685
1574
  }
@@ -2062,6 +1951,8 @@ declare namespace io.flow.payment.v0.unions {
2062
1951
  type PaymentOrderReference =
2063
1952
  | io.flow.payment.v0.models.AuthorizationOrderReference
2064
1953
  | io.flow.payment.v0.models.PaymentPaymentRequestReference;
1954
+ type PaymentProcessorTransactionDetails =
1955
+ io.flow.payment.v0.models.PaymentProcessorTransactionDetailsCard;
2065
1956
  type PaymentSource = io.flow.payment.v0.models.CardPaymentSource;
2066
1957
  type PaymentSourceForm = io.flow.payment.v0.models.CardPaymentSourceForm;
2067
1958
  type ThreedsChallengeAction =
@@ -2533,9 +2424,8 @@ declare namespace io.flow.billing.csv.v0.models {
2533
2424
  readonly id: string;
2534
2425
  readonly type: io.flow.billing.internal.v0.enums.BillingTransactionType;
2535
2426
  readonly account: io.flow.billing.csv.v0.models.BillingCsvTransactionAccount;
2536
- readonly metadata?: io.flow.billing.v0.unions.TransactionMetadata;
2537
- readonly order?: io.flow.billing.v0.models.BillingChannelOrderSummary;
2538
- readonly payment_request?: io.flow.billing.v0.models.BillingChannelPaymentRequestReference;
2427
+ readonly metadata?: io.flow.billing.csv.v0.models.BillingCsvTransactionMetadata;
2428
+ readonly order?: io.flow.billing.csv.v0.models.BillingCsvTransactionOrderSummary;
2539
2429
  readonly currency: string;
2540
2430
  readonly source: io.flow.billing.v0.enums.TransactionSource;
2541
2431
  readonly parent?: io.flow.billing.v0.models.ParentTransactionSummary;
@@ -2544,7 +2434,7 @@ declare namespace io.flow.billing.csv.v0.models {
2544
2434
  readonly withholdings: io.flow.billing.csv.v0.models.BillingCsvTransactionWithholdings;
2545
2435
  readonly discount: io.flow.billing.csv.v0.models.BillingCsvTransactionDiscount;
2546
2436
  readonly net: number;
2547
- readonly identifiers: Record<string, string>;
2437
+ readonly identifiers: io.flow.billing.csv.v0.models.BillingCsvTransactionIdentifiers;
2548
2438
  readonly created_at: string;
2549
2439
  readonly updated_at: string;
2550
2440
  }
@@ -2575,6 +2465,44 @@ declare namespace io.flow.billing.csv.v0.models {
2575
2465
  readonly transfer: number;
2576
2466
  }
2577
2467
 
2468
+ interface BillingCsvTransactionIdentifiers {
2469
+ readonly reference_id?: string;
2470
+ }
2471
+
2472
+ interface BillingCsvTransactionMetadata {
2473
+ readonly channel?: io.flow.billing.csv.v0.models.BillingCsvTransactionMetadataChannel;
2474
+ readonly shipping_label?: io.flow.billing.csv.v0.models.BillingCsvTransactionMetadataShippingLabel;
2475
+ readonly trueup?: io.flow.billing.csv.v0.models.BillingCsvTransactionMetadataTrueup;
2476
+ readonly manual?: io.flow.billing.csv.v0.models.BillingCsvTransactionMetadataManual;
2477
+ }
2478
+
2479
+ interface BillingCsvTransactionMetadataChannel {
2480
+ readonly method: string;
2481
+ readonly card?: io.flow.billing.v0.models.TransactionMetadataChannelCardMetadata;
2482
+ }
2483
+
2484
+ interface BillingCsvTransactionMetadataManual {
2485
+ readonly original: io.flow.billing.v0.models.TransactionMetadataOriginalTransaction;
2486
+ }
2487
+
2488
+ interface BillingCsvTransactionMetadataShippingLabel {
2489
+ readonly request_method?: io.flow.label.v0.enums.LabelRequestMethod;
2490
+ }
2491
+
2492
+ interface BillingCsvTransactionMetadataTrueup {
2493
+ readonly original: io.flow.billing.v0.models.TransactionMetadataOriginalTransaction;
2494
+ }
2495
+
2496
+ interface BillingCsvTransactionOrderSummary {
2497
+ readonly organization: io.flow.common.v0.models.OrganizationReference;
2498
+ readonly number: string;
2499
+ readonly identifiers: io.flow.billing.csv.v0.models.BillingCsvTransactionOrderSummaryIdentifiers;
2500
+ }
2501
+
2502
+ interface BillingCsvTransactionOrderSummaryIdentifiers {
2503
+ readonly shopify_order_id?: string;
2504
+ }
2505
+
2578
2506
  interface BillingCsvTransactionWithholdings {
2579
2507
  readonly tax: number;
2580
2508
  readonly duty: number;
@@ -3437,6 +3365,7 @@ declare namespace io.flow.stripe.v0.models {
3437
3365
  readonly network?: string;
3438
3366
  readonly request_three_d_secure?: io.flow.stripe.v0.enums.RequestThreeDSecureType;
3439
3367
  readonly stored_credential_transaction_type?: io.flow.stripe.v0.enums.StoredCredentialTransactionType;
3368
+ readonly mcc?: string;
3440
3369
  }
3441
3370
 
3442
3371
  interface PaymentOutcome {
@@ -3973,9 +3902,9 @@ declare namespace io.flow.label.v0.models {
3973
3902
  }
3974
3903
 
3975
3904
  interface ShippingLabelHopCostItemizedEstimate {
3976
- readonly units: io.flow.billing.RESERVED_WORD_true.up.v0.models.LabelUnits;
3977
- readonly base: io.flow.billing.RESERVED_WORD_true.up.v0.models.LabelBase;
3978
- readonly surcharges: io.flow.billing.RESERVED_WORD_true.up.v0.models.LabelSurcharge[];
3905
+ readonly units: io.flow.trueup.v0.models.LabelUnits;
3906
+ readonly base: io.flow.trueup.v0.models.LabelBase;
3907
+ readonly surcharges: io.flow.trueup.v0.models.LabelSurcharge[];
3979
3908
  }
3980
3909
 
3981
3910
  interface ShippingLabelHopSummary {
@@ -3987,6 +3916,7 @@ declare namespace io.flow.label.v0.models {
3987
3916
  interface ShippingLabelLaneSummary {
3988
3917
  readonly id?: string;
3989
3918
  readonly ratecard: io.flow.label.v0.models.ShippingLabelRatecardSummary;
3919
+ readonly weight_break?: number;
3990
3920
  }
3991
3921
 
3992
3922
  interface ShippingLabelPackage {
@@ -4261,6 +4191,29 @@ declare namespace io.flow.external.paypal.v1.enums {
4261
4191
  | 'UNDER_REVIEW'
4262
4192
  | 'RESOLVED'
4263
4193
  | 'OTHER';
4194
+ type EventType =
4195
+ | 'PAYMENT.AUTHORIZATION.CREATED'
4196
+ | 'PAYMENT.AUTHORIZATION.VOIDED'
4197
+ | 'PAYMENT.CAPTURE.DECLINED'
4198
+ | 'PAYMENT.CAPTURE.COMPLETED'
4199
+ | 'PAYMENT.CAPTURE.PENDING'
4200
+ | 'PAYMENT.CAPTURE.REVERSED'
4201
+ | 'PAYMENT.CAPTURE.DENIED'
4202
+ | 'PAYMENT.ORDER.CANCELLED'
4203
+ | 'PAYMENT.ORDER.CREATED'
4204
+ | 'PAYMENT.SALE.COMPLETED'
4205
+ | 'PAYMENT.SALE.DENIED'
4206
+ | 'PAYMENT.SALE.PENDING'
4207
+ | 'PAYMENT.SALE.REFUNDED'
4208
+ | 'PAYMENT.SALE.REVERSED'
4209
+ | 'PAYMENTS.PAYMENT.CREATED'
4210
+ | 'CHECKOUT.ORDER.APPROVED'
4211
+ | 'CHECKOUT.CHECKOUT.BUYER-APPROVED'
4212
+ | 'CHECKOUT.ORDER.COMPLETED'
4213
+ | 'CUSTOMER.DISPUTE.CREATED'
4214
+ | 'CUSTOMER.DISPUTE.RESOLVED'
4215
+ | 'CUSTOMER.DISPUTE.UPDATED'
4216
+ | 'CHECKOUT.PAYMENT-APPROVAL.REVERSED';
4264
4217
  type EvidenceType =
4265
4218
  | 'PROOF_OF_FULFILLMENT'
4266
4219
  | 'PROOF_OF_REFUND'
@@ -4380,6 +4333,12 @@ declare namespace io.flow.external.paypal.v1.enums {
4380
4333
  | 'EMPTY_PACKAGE_OR_DIFFERENT'
4381
4334
  | 'MISSING_ITEMS';
4382
4335
  type ReturnMode = 'SHIPPED' | 'IN_PERSON';
4336
+ type SaleState =
4337
+ | 'pending'
4338
+ | 'completed'
4339
+ | 'denied'
4340
+ | 'partially_refunded'
4341
+ | 'refunded';
4383
4342
  type ServiceStarted = 'YES' | 'NO' | 'RETURNED';
4384
4343
  type ShippingDisplayPreference =
4385
4344
  | 'NO_SHIPPING'
@@ -4742,24 +4701,24 @@ declare namespace io.flow.external.paypal.v1.models {
4742
4701
 
4743
4702
  interface Refund {
4744
4703
  readonly id: string;
4745
- readonly amount: io.flow.external.paypal.v1.models.RefundAmount;
4704
+ readonly amount?: io.flow.external.paypal.v1.models.SimpleAmount;
4746
4705
  readonly state: io.flow.external.paypal.v1.enums.RefundState;
4747
4706
  readonly sale_id: string;
4748
- readonly invoice_number: string;
4707
+ readonly invoice_number?: string;
4749
4708
  readonly capture_id?: string;
4750
4709
  readonly parent_payment?: string;
4751
4710
  readonly reason_code?: string;
4752
4711
  readonly refund_reason_code?: string;
4753
4712
  readonly refund_funding_type?: string;
4754
- readonly create_time: string;
4713
+ readonly refund_from_received_amount?: io.flow.external.paypal.v1.models.Money;
4714
+ readonly refund_from_transaction_fee?: io.flow.external.paypal.v1.models.Money;
4715
+ readonly total_refunded_amount?: io.flow.external.paypal.v1.models.Money;
4716
+ readonly refund_to_payer?: io.flow.external.paypal.v1.models.Money;
4717
+ readonly custom?: string;
4718
+ readonly create_time?: string;
4755
4719
  readonly update_time?: string;
4756
4720
  }
4757
4721
 
4758
- interface RefundAmount {
4759
- readonly total: string;
4760
- readonly currency: string;
4761
- }
4762
-
4763
4722
  interface RefundDetails {
4764
4723
  readonly allowed_refund_amount?: io.flow.external.paypal.v1.models.Money;
4765
4724
  }
@@ -4769,7 +4728,7 @@ declare namespace io.flow.external.paypal.v1.models {
4769
4728
  }
4770
4729
 
4771
4730
  interface RefundRequest {
4772
- readonly amount: io.flow.external.paypal.v1.models.RefundAmount;
4731
+ readonly amount: io.flow.external.paypal.v1.models.SimpleAmount;
4773
4732
  readonly invoice_number: string;
4774
4733
  }
4775
4734
 
@@ -4781,6 +4740,28 @@ declare namespace io.flow.external.paypal.v1.models {
4781
4740
  readonly returned?: boolean;
4782
4741
  }
4783
4742
 
4743
+ interface Sale {
4744
+ readonly id: string;
4745
+ readonly state: io.flow.external.paypal.v1.enums.SaleState;
4746
+ readonly parent_payment: string;
4747
+ readonly invoice_number?: string;
4748
+ readonly amount?: io.flow.external.paypal.v1.models.SimpleAmount;
4749
+ readonly payment_mode?: string;
4750
+ readonly reason_code?: string;
4751
+ readonly protection_eligibility?: string;
4752
+ readonly protection_eligibility_type?: string;
4753
+ readonly receipt_id?: string;
4754
+ readonly soft_descriptor?: string;
4755
+ readonly exchange_rate?: string;
4756
+ readonly payment_hold_status?: string;
4757
+ readonly payment_hold_reasons?: string[];
4758
+ readonly transaction_fee?: io.flow.external.paypal.v1.models.Money;
4759
+ readonly receivable_amount?: io.flow.external.paypal.v1.models.Money;
4760
+ readonly custom?: string;
4761
+ readonly create_time?: string;
4762
+ readonly update_time?: string;
4763
+ }
4764
+
4784
4765
  interface Seller {
4785
4766
  readonly email?: string;
4786
4767
  readonly merchant_id?: string;
@@ -4806,6 +4787,11 @@ declare namespace io.flow.external.paypal.v1.models {
4806
4787
  readonly state?: string;
4807
4788
  }
4808
4789
 
4790
+ interface SimpleAmount {
4791
+ readonly total: string;
4792
+ readonly currency: string;
4793
+ }
4794
+
4809
4795
  interface SupportingInfo {
4810
4796
  readonly notes?: string;
4811
4797
  readonly source?: io.flow.external.paypal.v1.enums.SupportingInfoSource;
@@ -7096,7 +7082,8 @@ declare namespace io.flow.shopify.markets.v0.enums {
7096
7082
  | 'direct'
7097
7083
  | 'manual'
7098
7084
  | 'offsite'
7099
- | 'express';
7085
+ | 'express'
7086
+ | 'deferred_payment';
7100
7087
  type ShopifyOrderRestockType = 'no_restock' | 'cancel' | 'return';
7101
7088
  type ShopifyOrderStatusType = 'open' | 'closed' | 'cancelled' | 'any';
7102
7089
  type ShopifyOrderTransactionErrorCode =
@@ -10521,11 +10508,6 @@ declare namespace io.flow.billing.reporting.csv.v0.models {
10521
10508
  readonly debug_console_order_link: string;
10522
10509
  }
10523
10510
 
10524
- interface ReportingAddenda {
10525
- readonly allocation_order_totals_delta?: number;
10526
- readonly allocation_order_item_discount_delta?: number;
10527
- }
10528
-
10529
10511
  interface ReportingAuthorizationReference {
10530
10512
  readonly id: string;
10531
10513
  }
@@ -10555,7 +10537,16 @@ declare namespace io.flow.billing.reporting.csv.v0.models {
10555
10537
 
10556
10538
  interface ReportingDebug {
10557
10539
  readonly console_order_link: string;
10558
- readonly addenda?: io.flow.billing.reporting.csv.v0.models.ReportingAddenda;
10540
+ readonly allocation_order_totals_delta?: number;
10541
+ readonly allocation_order_item_discount_delta?: number;
10542
+ readonly missing_item_subsidies?: io.flow.billing.reporting.csv.v0.models.ReportingDebugMissingSubsidies;
10543
+ readonly missing_shipping_subsidies?: io.flow.billing.reporting.csv.v0.models.ReportingDebugMissingSubsidies;
10544
+ }
10545
+
10546
+ interface ReportingDebugMissingSubsidies {
10547
+ readonly price?: boolean;
10548
+ readonly tax?: boolean;
10549
+ readonly duty?: boolean;
10559
10550
  }
10560
10551
 
10561
10552
  interface ReportingDestination {
@@ -10642,6 +10633,14 @@ declare namespace io.flow.billing.reporting.csv.v0.models {
10642
10633
  readonly ccf: io.flow.billing.reporting.csv.v0.models.ReportingMonetaryValue;
10643
10634
  }
10644
10635
 
10636
+ interface ReportingMerchantTransactions {
10637
+ readonly adjustment: io.flow.billing.reporting.csv.v0.models.ReportingMonetaryValue;
10638
+ readonly reversal: io.flow.billing.reporting.csv.v0.models.ReportingMonetaryValue;
10639
+ readonly tax: io.flow.billing.reporting.csv.v0.models.ReportingMonetaryValue;
10640
+ readonly duty: io.flow.billing.reporting.csv.v0.models.ReportingMonetaryValue;
10641
+ readonly freight: io.flow.billing.reporting.csv.v0.models.ReportingMonetaryValue;
10642
+ }
10643
+
10645
10644
  interface ReportingMonetaryValue {
10646
10645
  readonly transaction: number;
10647
10646
  readonly merchant: number;
@@ -10712,6 +10711,7 @@ declare namespace io.flow.billing.reporting.csv.v0.models {
10712
10711
  readonly marked_as_final: io.flow.billing.reporting.csv.v0.models.MarkedAsFinal;
10713
10712
  readonly merchant_subsidies: io.flow.billing.reporting.csv.v0.models.ReportingMerchantSubsidies;
10714
10713
  readonly merchant_fees: io.flow.billing.reporting.csv.v0.models.ReportingMerchantFees;
10714
+ readonly merchant_transactions: io.flow.billing.reporting.csv.v0.models.ReportingMerchantTransactions;
10715
10715
  readonly vat_remittance: io.flow.billing.reporting.csv.v0.models.ReportingVatRemittance;
10716
10716
  readonly debug: io.flow.billing.reporting.csv.v0.models.ReportingDebug;
10717
10717
  }
@@ -12005,9 +12005,21 @@ declare namespace io.flow.ratecard.v0.models {
12005
12005
  readonly ends_at?: string;
12006
12006
  }
12007
12007
 
12008
+ interface FuelSurchargeByWeight {
12009
+ readonly discriminator: 'fuel_surcharge_by_weight';
12010
+ readonly amount: number;
12011
+ readonly weight_unit: io.flow.common.v0.enums.UnitOfMeasurement;
12012
+ }
12013
+
12014
+ interface FuelSurchargePercent {
12015
+ readonly discriminator: 'fuel_surcharge_percent';
12016
+ readonly percent: number;
12017
+ }
12018
+
12008
12019
  interface FuelSurchargeRatecardFee {
12009
12020
  readonly discriminator: 'fuel_surcharge_ratecard_fee';
12010
12021
  readonly amount: io.flow.common.v0.models.Money;
12022
+ readonly fuel_surcharge_rate?: io.flow.ratecard.v0.unions.FuelSurchargeRate;
12011
12023
  }
12012
12024
 
12013
12025
  interface FuelSurchargeServiceFee {
@@ -12039,6 +12051,7 @@ declare namespace io.flow.ratecard.v0.models {
12039
12051
  readonly currency: string;
12040
12052
  readonly amount: number;
12041
12053
  readonly fees: io.flow.ratecard.v0.unions.RatecardFee[];
12054
+ readonly weight_break?: number;
12042
12055
  readonly total: number;
12043
12056
  readonly lane: io.flow.ratecard.v0.models.LaneSummary;
12044
12057
  }
@@ -12324,6 +12337,9 @@ declare namespace io.flow.ratecard.v0.models {
12324
12337
  }
12325
12338
 
12326
12339
  declare namespace io.flow.ratecard.v0.unions {
12340
+ type FuelSurchargeRate =
12341
+ | io.flow.ratecard.v0.models.FuelSurchargePercent
12342
+ | io.flow.ratecard.v0.models.FuelSurchargeByWeight;
12327
12343
  type RatecardEstimate =
12328
12344
  | io.flow.ratecard.v0.models.RatecardEstimateV1
12329
12345
  | io.flow.ratecard.v0.models.RatecardEstimateV2
@@ -12640,194 +12656,6 @@ declare namespace io.flow.crypto.v0.models {
12640
12656
  }
12641
12657
  }
12642
12658
 
12643
- declare namespace io.flow.error.v0.enums {
12644
- type GenericErrorCode = 'generic_error' | 'client_error' | 'server_error';
12645
- }
12646
-
12647
- declare namespace io.flow.error.v0.models {
12648
- interface GenericError {
12649
- readonly code: io.flow.error.v0.enums.GenericErrorCode;
12650
- readonly messages: string[];
12651
- }
12652
- }
12653
-
12654
- declare namespace io.flow.billing.RESERVED_WORD_true.up.v0.enums {
12655
- type TrueUpSurchargeType =
12656
- | 'fuel'
12657
- | 'remote_area'
12658
- | 'oversize'
12659
- | 'duties_paid'
12660
- | 'emergency'
12661
- | 'peak'
12662
- | 'address_correction';
12663
- }
12664
-
12665
- declare namespace io.flow.billing.RESERVED_WORD_true.up.v0.models {
12666
- interface CarrierChargeFile {
12667
- readonly id: string;
12668
- readonly url: string;
12669
- readonly created_at: string;
12670
- readonly result?: io.flow.billing.RESERVED_WORD_true.up.v0.models.CarrierChargeFileResult;
12671
- }
12672
-
12673
- interface CarrierChargeFileForm {
12674
- readonly url: string;
12675
- }
12676
-
12677
- interface CarrierChargeFileResult {
12678
- readonly processed_at: string;
12679
- readonly number_lines_successful: number;
12680
- readonly number_lines_with_errors: number;
12681
- readonly errors_url?: string;
12682
- }
12683
-
12684
- interface CarrierChargeFormLabel {
12685
- readonly discriminator: 'label';
12686
- readonly id: string;
12687
- readonly label_invoice_request_id: string;
12688
- readonly units: io.flow.billing.RESERVED_WORD_true.up.v0.models.CarrierChargeUnits;
12689
- readonly base: io.flow.billing.RESERVED_WORD_true.up.v0.models.LabelBase;
12690
- readonly surcharges: io.flow.billing.RESERVED_WORD_true.up.v0.models.LabelSurchargeForm;
12691
- readonly total: number;
12692
- readonly attributes?: Record<string, string>;
12693
- }
12694
-
12695
- interface CarrierChargeFormReturnToOrigin {
12696
- readonly discriminator: 'return_to_origin';
12697
- readonly id: string;
12698
- readonly carrier_id: string;
12699
- readonly carrier_tracking_number: string;
12700
- readonly units: io.flow.billing.RESERVED_WORD_true.up.v0.models.CarrierChargeUnits;
12701
- readonly base: io.flow.billing.RESERVED_WORD_true.up.v0.models.LabelBase;
12702
- readonly surcharges: io.flow.billing.RESERVED_WORD_true.up.v0.models.LabelSurchargeForm;
12703
- readonly total: number;
12704
- readonly attributes?: Record<string, string>;
12705
- }
12706
-
12707
- interface CarrierChargeUnits {
12708
- readonly currency: string;
12709
- readonly weight: io.flow.units.v0.enums.UnitOfWeight;
12710
- readonly length?: io.flow.units.v0.enums.UnitOfLength;
12711
- }
12712
-
12713
- interface LabelBase {
12714
- readonly amount: number;
12715
- readonly weight: number;
12716
- }
12717
-
12718
- interface LabelDestination {
12719
- readonly country: string;
12720
- }
12721
-
12722
- interface LabelInvoiceRequest {
12723
- readonly id: string;
12724
- readonly label: io.flow.billing.RESERVED_WORD_true.up.v0.models.TrueUpLabelSummary;
12725
- readonly units: io.flow.billing.RESERVED_WORD_true.up.v0.models.LabelUnits;
12726
- readonly base: io.flow.billing.RESERVED_WORD_true.up.v0.models.LabelBase;
12727
- readonly surcharges: io.flow.billing.RESERVED_WORD_true.up.v0.models.LabelSurcharge[];
12728
- readonly total: number;
12729
- readonly destination: io.flow.billing.RESERVED_WORD_true.up.v0.models.LabelDestination;
12730
- readonly metadata: io.flow.billing.RESERVED_WORD_true.up.v0.models.LabelMetadata;
12731
- }
12732
-
12733
- interface LabelMetadata {
12734
- readonly ratecard: io.flow.billing.RESERVED_WORD_true.up.v0.models.MetadataRatecard;
12735
- readonly weights: io.flow.billing.RESERVED_WORD_true.up.v0.models.MetadataWeights;
12736
- }
12737
-
12738
- interface LabelSurcharge {
12739
- readonly amount: number;
12740
- readonly type: io.flow.billing.RESERVED_WORD_true.up.v0.enums.TrueUpSurchargeType;
12741
- readonly detail: io.flow.billing.RESERVED_WORD_true.up.v0.unions.LabelSurchargeDetail;
12742
- }
12743
-
12744
- interface LabelSurchargeDetailFlat {
12745
- readonly discriminator: 'flat';
12746
- readonly placeholder?: string;
12747
- }
12748
-
12749
- interface LabelSurchargeDetailPerWeightUnit {
12750
- readonly discriminator: 'per_weight_unit';
12751
- readonly fee: number;
12752
- }
12753
-
12754
- interface LabelSurchargeDetailPercentage {
12755
- readonly discriminator: 'percentage';
12756
- readonly percentage: number;
12757
- }
12758
-
12759
- interface LabelSurchargeForm {
12760
- readonly fuel?: io.flow.billing.RESERVED_WORD_true.up.v0.models.LabelSurchargeSingleForm;
12761
- readonly remote_area?: io.flow.billing.RESERVED_WORD_true.up.v0.models.LabelSurchargeSingleForm;
12762
- readonly oversize?: io.flow.billing.RESERVED_WORD_true.up.v0.models.LabelSurchargeSingleForm;
12763
- readonly duties_paid?: io.flow.billing.RESERVED_WORD_true.up.v0.models.LabelSurchargeSingleForm;
12764
- readonly emergency?: io.flow.billing.RESERVED_WORD_true.up.v0.models.LabelSurchargeSingleForm;
12765
- readonly peak?: io.flow.billing.RESERVED_WORD_true.up.v0.models.LabelSurchargeSingleForm;
12766
- readonly address_correction?: io.flow.billing.RESERVED_WORD_true.up.v0.models.LabelSurchargeSingleForm;
12767
- }
12768
-
12769
- interface LabelSurchargeSingleForm {
12770
- readonly amount: number;
12771
- readonly percentage?: number;
12772
- readonly fee_per_weight_unit?: number;
12773
- }
12774
-
12775
- interface LabelUnits {
12776
- readonly currency: string;
12777
- readonly weight: io.flow.units.v0.enums.UnitOfWeight;
12778
- readonly length: io.flow.units.v0.enums.UnitOfLength;
12779
- }
12780
-
12781
- interface MetadataProposition {
12782
- readonly shipping_method: io.flow.billing.RESERVED_WORD_true.up.v0.models.ShippingMethodReference;
12783
- readonly name: string;
12784
- }
12785
-
12786
- interface MetadataRatecard {
12787
- readonly id: string;
12788
- readonly proposition: io.flow.billing.RESERVED_WORD_true.up.v0.models.MetadataProposition;
12789
- }
12790
-
12791
- interface MetadataWeights {
12792
- readonly dead?: io.flow.billing.RESERVED_WORD_true.up.v0.models.WeightsDead;
12793
- readonly dimensional?: io.flow.billing.RESERVED_WORD_true.up.v0.models.WeightsDimensional;
12794
- }
12795
-
12796
- interface ShippingMethodReference {
12797
- readonly id: string;
12798
- }
12799
-
12800
- interface TrueUpLabelSummary {
12801
- readonly id: string;
12802
- readonly carrier_service_id: string;
12803
- readonly carrier_tracking_number: string;
12804
- readonly flow_tracking_number: string;
12805
- readonly source: io.flow.label.v0.enums.CostEstimateSource;
12806
- readonly created_at: string;
12807
- }
12808
-
12809
- interface WeightsDead {
12810
- readonly weight: number;
12811
- }
12812
-
12813
- interface WeightsDimensional {
12814
- readonly weight: number;
12815
- readonly length: number;
12816
- readonly width: number;
12817
- readonly height: number;
12818
- }
12819
- }
12820
-
12821
- declare namespace io.flow.billing.RESERVED_WORD_true.up.v0.unions {
12822
- type CarrierChargeForm =
12823
- | io.flow.billing.RESERVED_WORD_true.up.v0.models.CarrierChargeFormLabel
12824
- | io.flow.billing.RESERVED_WORD_true.up.v0.models.CarrierChargeFormReturnToOrigin;
12825
- type LabelSurchargeDetail =
12826
- | io.flow.billing.RESERVED_WORD_true.up.v0.models.LabelSurchargeDetailFlat
12827
- | io.flow.billing.RESERVED_WORD_true.up.v0.models.LabelSurchargeDetailPercentage
12828
- | io.flow.billing.RESERVED_WORD_true.up.v0.models.LabelSurchargeDetailPerWeightUnit;
12829
- }
12830
-
12831
12659
  declare namespace io.flow.shopify.merchant.config.v0.models {
12832
12660
  interface Company {
12833
12661
  readonly discriminator: 'company';
@@ -13086,6 +12914,203 @@ declare namespace io.flow.price.v0.unions {
13086
12914
  | io.flow.price.v0.models.DeminimisPerItem;
13087
12915
  }
13088
12916
 
12917
+ declare namespace io.flow.trueup.v0.enums {
12918
+ type TrueupSurchargeType =
12919
+ | 'fuel'
12920
+ | 'remote_area'
12921
+ | 'oversize'
12922
+ | 'duties_paid'
12923
+ | 'emergency'
12924
+ | 'peak'
12925
+ | 'address_correction';
12926
+ }
12927
+
12928
+ declare namespace io.flow.trueup.v0.models {
12929
+ interface DeadWeight {
12930
+ readonly weight: number;
12931
+ }
12932
+
12933
+ interface DimensionalWeight {
12934
+ readonly weight: number;
12935
+ readonly length?: number;
12936
+ readonly width?: number;
12937
+ readonly height?: number;
12938
+ }
12939
+
12940
+ interface LabelBase {
12941
+ readonly amount: number;
12942
+ readonly weight: number;
12943
+ }
12944
+
12945
+ interface LabelSurcharge {
12946
+ readonly amount: number;
12947
+ readonly type: io.flow.trueup.v0.enums.TrueupSurchargeType;
12948
+ readonly detail: io.flow.trueup.v0.unions.LabelSurchargeDetail;
12949
+ }
12950
+
12951
+ interface LabelSurchargeDetailFlat {
12952
+ readonly discriminator: 'flat';
12953
+ readonly placeholder?: string;
12954
+ }
12955
+
12956
+ interface LabelSurchargeDetailPerWeightUnit {
12957
+ readonly discriminator: 'per_weight_unit';
12958
+ readonly fee: number;
12959
+ }
12960
+
12961
+ interface LabelSurchargeDetailPercentage {
12962
+ readonly discriminator: 'percentage';
12963
+ readonly percentage: number;
12964
+ }
12965
+
12966
+ interface LabelUnits {
12967
+ readonly currency: string;
12968
+ readonly weight: io.flow.units.v0.enums.UnitOfWeight;
12969
+ readonly length: io.flow.units.v0.enums.UnitOfLength;
12970
+ }
12971
+ }
12972
+
12973
+ declare namespace io.flow.trueup.v0.unions {
12974
+ type LabelSurchargeDetail =
12975
+ | io.flow.trueup.v0.models.LabelSurchargeDetailFlat
12976
+ | io.flow.trueup.v0.models.LabelSurchargeDetailPercentage
12977
+ | io.flow.trueup.v0.models.LabelSurchargeDetailPerWeightUnit;
12978
+ }
12979
+
12980
+ declare namespace io.flow.reference.v0.enums {
12981
+ type PaymentMethodCapability = 'credit' | 'debit';
12982
+ type PaymentMethodType = 'card' | 'online' | 'offline';
12983
+ type PostalType = 'eircode' | 'pin' | 'postal' | 'zip';
12984
+ type ProvinceType =
12985
+ | 'area'
12986
+ | 'city'
12987
+ | 'county'
12988
+ | 'department'
12989
+ | 'dependency'
12990
+ | 'district'
12991
+ | 'do_si'
12992
+ | 'emirate'
12993
+ | 'entity'
12994
+ | 'island'
12995
+ | 'municipality'
12996
+ | 'oblast'
12997
+ | 'outlying_area'
12998
+ | 'parish'
12999
+ | 'prefecture'
13000
+ | 'province'
13001
+ | 'state'
13002
+ | 'territory'
13003
+ | 'other';
13004
+ }
13005
+
13006
+ declare namespace io.flow.reference.v0.models {
13007
+ interface Carrier {
13008
+ readonly id: string;
13009
+ readonly name: string;
13010
+ readonly tracking_url: string;
13011
+ }
13012
+
13013
+ interface CarrierService {
13014
+ readonly id: string;
13015
+ readonly carrier: io.flow.reference.v0.models.Carrier;
13016
+ readonly name: string;
13017
+ }
13018
+
13019
+ interface Country {
13020
+ readonly name: string;
13021
+ readonly iso_3166_2: string;
13022
+ readonly iso_3166_3: string;
13023
+ readonly languages: string[];
13024
+ readonly measurement_system: string;
13025
+ readonly default_currency?: string;
13026
+ readonly default_language?: string;
13027
+ readonly timezones: string[];
13028
+ readonly default_delivered_duty?: string;
13029
+ }
13030
+
13031
+ interface Currency {
13032
+ readonly name: string;
13033
+ readonly iso_4217_3: string;
13034
+ readonly number_decimals: number;
13035
+ readonly symbols?: io.flow.reference.v0.models.CurrencySymbols;
13036
+ readonly default_locale?: string;
13037
+ }
13038
+
13039
+ interface CurrencySymbols {
13040
+ readonly primary: string;
13041
+ readonly narrow?: string;
13042
+ }
13043
+
13044
+ interface Language {
13045
+ readonly name: string;
13046
+ readonly iso_639_2: string;
13047
+ }
13048
+
13049
+ interface Locale {
13050
+ readonly id: string;
13051
+ readonly name: string;
13052
+ readonly country: string;
13053
+ readonly language: string;
13054
+ readonly numbers: io.flow.reference.v0.models.LocaleNumbers;
13055
+ }
13056
+
13057
+ interface LocaleNumbers {
13058
+ readonly decimal: string;
13059
+ readonly group: string;
13060
+ }
13061
+
13062
+ interface LocalizedTranslation {
13063
+ readonly locale: io.flow.reference.v0.models.Locale;
13064
+ readonly name: string;
13065
+ }
13066
+
13067
+ interface PaymentMethod {
13068
+ readonly id: string;
13069
+ readonly type: io.flow.reference.v0.enums.PaymentMethodType;
13070
+ readonly name: string;
13071
+ readonly images: io.flow.reference.v0.models.PaymentMethodImages;
13072
+ readonly regions: string[];
13073
+ readonly capabilities?: io.flow.reference.v0.enums.PaymentMethodCapability[];
13074
+ }
13075
+
13076
+ interface PaymentMethodImage {
13077
+ readonly url: string;
13078
+ readonly width: number;
13079
+ readonly height: number;
13080
+ }
13081
+
13082
+ interface PaymentMethodImages {
13083
+ readonly small: io.flow.reference.v0.models.PaymentMethodImage;
13084
+ readonly medium: io.flow.reference.v0.models.PaymentMethodImage;
13085
+ readonly large: io.flow.reference.v0.models.PaymentMethodImage;
13086
+ }
13087
+
13088
+ interface Province {
13089
+ readonly id: string;
13090
+ readonly iso_3166_2: string;
13091
+ readonly name: string;
13092
+ readonly country: string;
13093
+ readonly province_type: io.flow.reference.v0.enums.ProvinceType;
13094
+ readonly translations?: io.flow.reference.v0.models.LocalizedTranslation[];
13095
+ }
13096
+
13097
+ interface Region {
13098
+ readonly id: string;
13099
+ readonly name: string;
13100
+ readonly countries: string[];
13101
+ readonly currencies: string[];
13102
+ readonly languages: string[];
13103
+ readonly measurement_systems: string[];
13104
+ readonly timezones: string[];
13105
+ }
13106
+
13107
+ interface Timezone {
13108
+ readonly name: string;
13109
+ readonly description: string;
13110
+ readonly offset: number;
13111
+ }
13112
+ }
13113
+
13089
13114
  declare namespace io.flow.tracking.v0.enums {
13090
13115
  type TrackingStatus =
13091
13116
  | 'label_created'
@@ -14233,7 +14258,8 @@ declare namespace io.flow.billing.internal.v0.enums {
14233
14258
  | 'partial_refund'
14234
14259
  | 'platform_fee'
14235
14260
  | 'shipping_true_up'
14236
- | 'tax_credit';
14261
+ | 'tax_credit'
14262
+ | 'carrier_credit';
14237
14263
  type OrderCancellationInitiatedBy = 'flow' | 'organization';
14238
14264
  type OrderTransactionType = 'adjustment' | 'reversal' | 'order_service';
14239
14265
  type PreferredBillingSchedule = 'monthly' | 'bi-monthly';
@@ -14252,20 +14278,23 @@ declare namespace io.flow.billing.internal.v0.enums {
14252
14278
  | 'fulfillment_shipping_notification'
14253
14279
  | 'fulfillment_external'
14254
14280
  | 'fulfillment_order_cancellation'
14281
+ | 'fulfillment_order_combined_shipment'
14282
+ | 'fulfillment_order_time'
14255
14283
  | 'label_tracking_summary'
14256
14284
  | 'label_invoice_request'
14257
14285
  | 'carrier_charge'
14258
14286
  | 'carrier_charge_file'
14259
- | 'label_origin'
14260
14287
  | 'order'
14261
14288
  | 'order_identifier'
14262
14289
  | 'organization_onboarding_state'
14290
+ | 'posting_proof'
14263
14291
  | 'refund'
14264
14292
  | 'refund_over_capture'
14265
14293
  | 'sales_record'
14266
14294
  | 'statement_batch'
14267
14295
  | 'statement_email'
14268
- | 'statement_summary_email';
14296
+ | 'statement_summary_email'
14297
+ | 'pending_payout_transaction_event';
14269
14298
  type ResponsibleParty = 'flow' | 'organization';
14270
14299
  type StatementTransferTransactionLocation = 'transactions_file' | 'summary';
14271
14300
  type SubscriptionFrequency = 'yearly' | 'monthly';
@@ -14899,6 +14928,7 @@ declare namespace io.flow.billing.internal.v0.models {
14899
14928
  interface ManualTransaction {
14900
14929
  readonly discriminator: 'manual_transaction';
14901
14930
  readonly category?: io.flow.billing.internal.v0.enums.ManualTransactionCategory;
14931
+ readonly original_transaction?: io.flow.billing.internal.v0.models.TransactionReference;
14902
14932
  readonly order?: io.flow.billing.internal.v0.models.BillingOrderTransactionOrderReference;
14903
14933
  readonly attributes?: Record<string, string>;
14904
14934
  readonly id: string;
@@ -14918,6 +14948,7 @@ declare namespace io.flow.billing.internal.v0.models {
14918
14948
  readonly category?: io.flow.billing.internal.v0.enums.ManualTransactionCategory;
14919
14949
  readonly posted_at?: string;
14920
14950
  readonly order?: io.flow.billing.internal.v0.models.ManualTransactionFormOrder;
14951
+ readonly original_transaction_id?: string;
14921
14952
  readonly attributes?: Record<string, string>;
14922
14953
  }
14923
14954
 
@@ -15104,6 +15135,11 @@ declare namespace io.flow.billing.internal.v0.models {
15104
15135
  readonly order_cancellation_id: string;
15105
15136
  }
15106
15137
 
15138
+ interface ProofOfPostingOrderCombinedShipment {
15139
+ readonly discriminator: 'order_combined_shipment';
15140
+ readonly order_combined_shipment_id: string;
15141
+ }
15142
+
15107
15143
  interface ProofOfPostingShippingNotification {
15108
15144
  readonly discriminator: 'shipping_notification';
15109
15145
  readonly shipping_notification_id: string;
@@ -15287,7 +15323,8 @@ declare namespace io.flow.billing.internal.v0.unions {
15287
15323
  | io.flow.billing.internal.v0.models.ProofOfPostingFulfilled
15288
15324
  | io.flow.billing.internal.v0.models.ProofOfPostingExternallyFulfilled
15289
15325
  | io.flow.billing.internal.v0.models.ProofOfPostingShippingNotification
15290
- | io.flow.billing.internal.v0.models.ProofOfPostingOrderCancellation;
15326
+ | io.flow.billing.internal.v0.models.ProofOfPostingOrderCancellation
15327
+ | io.flow.billing.internal.v0.models.ProofOfPostingOrderCombinedShipment;
15291
15328
  type SpotRateMetadata =
15292
15329
  | io.flow.billing.internal.v0.models.SpotRateMetadataIdentity
15293
15330
  | io.flow.billing.internal.v0.models.SpotRateMetadataRate;
@@ -15328,7 +15365,7 @@ declare namespace io.flow.billing.v0.enums {
15328
15365
  | 'waiting_for_fulfillment'
15329
15366
  | 'waiting_for_in_transit'
15330
15367
  | 'waiting_for_next_payout_date'
15331
- | 'external_fulfillment_missing_tracking_info'
15368
+ | 'waiting_for_tracking_info'
15332
15369
  | 'waiting_for_positive_account_balance';
15333
15370
  type StatementAttachmentType = 'csv';
15334
15371
  type TransactionSource =
@@ -15353,14 +15390,6 @@ declare namespace io.flow.billing.v0.enums {
15353
15390
  | 'virtual_card_capture'
15354
15391
  | 'virtual_card_refund';
15355
15392
  type TrueupSource = 'flow' | 'channel' | 'dhl-parcel' | 'dhl';
15356
- type TrueupSurchargeType =
15357
- | 'fuel'
15358
- | 'remote_area'
15359
- | 'oversize'
15360
- | 'duties_paid'
15361
- | 'emergency'
15362
- | 'peak'
15363
- | 'address_correction';
15364
15393
  type WithholdingDeductionType = 'tax' | 'duty' | 'freight' | 'insurance';
15365
15394
  }
15366
15395
 
@@ -15444,6 +15473,9 @@ declare namespace io.flow.billing.v0.models {
15444
15473
  readonly id: string;
15445
15474
  readonly reason: io.flow.billing.v0.models.PendingPayoutTransactionReason;
15446
15475
  readonly timeout?: io.flow.billing.v0.models.PendingPayoutTransactionTimeout;
15476
+ readonly created_at: string;
15477
+ readonly updated_at: string;
15478
+ readonly deleted_at?: string;
15447
15479
  }
15448
15480
 
15449
15481
  interface ChannelStatement {
@@ -15510,6 +15542,9 @@ declare namespace io.flow.billing.v0.models {
15510
15542
  readonly id: string;
15511
15543
  readonly reason: io.flow.billing.v0.models.PendingPayoutTransactionReason;
15512
15544
  readonly timeout?: io.flow.billing.v0.models.PendingPayoutTransactionTimeout;
15545
+ readonly created_at: string;
15546
+ readonly updated_at: string;
15547
+ readonly deleted_at?: string;
15513
15548
  }
15514
15549
 
15515
15550
  interface ParentTransactionSummary {
@@ -15625,14 +15660,29 @@ declare namespace io.flow.billing.v0.models {
15625
15660
  readonly country: string;
15626
15661
  }
15627
15662
 
15663
+ interface TransactionMetadataManual {
15664
+ readonly discriminator: 'manual';
15665
+ readonly original: io.flow.billing.v0.models.TransactionMetadataOriginalTransaction;
15666
+ }
15667
+
15668
+ interface TransactionMetadataOriginalTransaction {
15669
+ readonly id: string;
15670
+ }
15671
+
15628
15672
  interface TransactionMetadataShippingLabel {
15629
15673
  readonly discriminator: 'shipping_label';
15630
15674
  readonly request_method?: io.flow.label.v0.enums.LabelRequestMethod;
15675
+ readonly carrier: io.flow.billing.v0.models.TransactionMetadataShippingLabelCarrier;
15676
+ }
15677
+
15678
+ interface TransactionMetadataShippingLabelCarrier {
15679
+ readonly id: string;
15680
+ readonly tracking_number: string;
15631
15681
  }
15632
15682
 
15633
15683
  interface TransactionMetadataTrueup {
15634
15684
  readonly discriminator: 'trueup';
15635
- readonly original: io.flow.billing.v0.models.TransactionMetadataTrueupOriginalTransaction;
15685
+ readonly original: io.flow.billing.v0.models.TransactionMetadataOriginalTransaction;
15636
15686
  readonly estimate: io.flow.billing.v0.models.TransactionMetadataTrueupData;
15637
15687
  readonly actual: io.flow.billing.v0.models.TransactionMetadataTrueupData;
15638
15688
  }
@@ -15643,10 +15693,8 @@ declare namespace io.flow.billing.v0.models {
15643
15693
  readonly base: io.flow.billing.v0.models.TrueupLabelBase;
15644
15694
  readonly surcharges: io.flow.billing.v0.models.TrueupLabelSurcharge[];
15645
15695
  readonly total: number;
15646
- }
15647
-
15648
- interface TransactionMetadataTrueupOriginalTransaction {
15649
- readonly id: string;
15696
+ readonly dead?: io.flow.trueup.v0.models.DeadWeight;
15697
+ readonly dimensional?: io.flow.trueup.v0.models.DimensionalWeight;
15650
15698
  }
15651
15699
 
15652
15700
  interface TransactionReference {
@@ -15660,7 +15708,7 @@ declare namespace io.flow.billing.v0.models {
15660
15708
 
15661
15709
  interface TrueupLabelSurcharge {
15662
15710
  readonly amount: number;
15663
- readonly type: io.flow.billing.v0.enums.TrueupSurchargeType;
15711
+ readonly type: io.flow.trueup.v0.enums.TrueupSurchargeType;
15664
15712
  readonly percentage?: number;
15665
15713
  readonly per_weight_unit?: number;
15666
15714
  }
@@ -15691,7 +15739,8 @@ declare namespace io.flow.billing.v0.unions {
15691
15739
  type TransactionMetadata =
15692
15740
  | io.flow.billing.v0.models.TransactionMetadataShippingLabel
15693
15741
  | io.flow.billing.v0.models.TransactionMetadataChannel
15694
- | io.flow.billing.v0.models.TransactionMetadataTrueup;
15742
+ | io.flow.billing.v0.models.TransactionMetadataTrueup
15743
+ | io.flow.billing.v0.models.TransactionMetadataManual;
15695
15744
  }
15696
15745
 
15697
15746
  declare namespace io.flow.harmonization.v0.enums {
@@ -17668,6 +17717,11 @@ declare namespace io.flow.internal.v0.enums {
17668
17717
  | 'unsupported_virtual_goods'
17669
17718
  | 'non_matching_currencies';
17670
17719
  type ChannelOrderAcceptanceStatus = 'accepted' | 'rejected' | 'review';
17720
+ type ChannelOrderFulfillmentStatusCode =
17721
+ | 'unfulfilled'
17722
+ | 'fulfilled'
17723
+ | 'partial'
17724
+ | 'cancelled';
17671
17725
  type ChannelTransactionType = 'adjustment' | 'reversal' | 'processing';
17672
17726
  type ChargebackPaymentStatus = 'captured' | 'refunded';
17673
17727
  type ChargebackProcessStatus = 'inquiry' | 'open' | 'closed';
@@ -17964,6 +18018,7 @@ declare namespace io.flow.internal.v0.enums {
17964
18018
  type ContentType = 'text' | 'html';
17965
18019
  type ContentTypeCast = 'markdown_to_html' | 'markdown_to_text';
17966
18020
  type CrossdockTrackingStatus = 'notified' | 'received' | 'shipped';
18021
+ type DebugAccountingTransactionType = 'fulfillment';
17967
18022
  type DeliveredDutyOptionMessageType = 'warning' | 'notification';
17968
18023
  type DeminimisAdjustmentType = 'none' | 'duty' | 'vat' | 'vat_and_duty';
17969
18024
  type DiscountRequestOrderEntitlementKey = 'subtotal';
@@ -18013,6 +18068,8 @@ declare namespace io.flow.internal.v0.enums {
18013
18068
  | 'adyen_refund_upserted'
18014
18069
  | 'index_assignment_upserted'
18015
18070
  | 'index_assignment_deleted'
18071
+ | 'merchant_upserted'
18072
+ | 'merchant_deleted'
18016
18073
  | 'account_upserted'
18017
18074
  | 'account_upserted_v2'
18018
18075
  | 'account_deleted_v2'
@@ -18060,8 +18117,6 @@ declare namespace io.flow.internal.v0.enums {
18060
18117
  | 'daily_value_deleted'
18061
18118
  | 'sales_record_upserted'
18062
18119
  | 'sales_record_deleted'
18063
- | 'label_invoice_request_upserted'
18064
- | 'label_invoice_request_deleted'
18065
18120
  | 'calculator_organization_settings_upserted'
18066
18121
  | 'calculator_organization_settings_deleted'
18067
18122
  | 'carrier_account_upserted_v2'
@@ -18156,6 +18211,8 @@ declare namespace io.flow.internal.v0.enums {
18156
18211
  | 'organization_bank_account_deleted'
18157
18212
  | 'billing_csv_transaction_upserted'
18158
18213
  | 'billing_csv_transaction_deleted'
18214
+ | 'label_invoice_request_upserted'
18215
+ | 'label_invoice_request_deleted'
18159
18216
  | 'fraud_review_upserted'
18160
18217
  | 'fraud_review_deleted'
18161
18218
  | 'fraud_pending_review_upserted'
@@ -18304,6 +18361,8 @@ declare namespace io.flow.internal.v0.enums {
18304
18361
  | 'shopify_markets_shop_statistics_deleted'
18305
18362
  | 'shopify_markets_metrics_upserted'
18306
18363
  | 'shopify_markets_metrics_deleted'
18364
+ | 'channel_order_summary_upserted'
18365
+ | 'channel_order_summary_deleted'
18307
18366
  | 'shopify_monitoring_order_monitor_event_upserted'
18308
18367
  | 'shopify_monitoring_order_monitor_event_deleted'
18309
18368
  | 'shopify_order_fulfillments_snapshot_upserted'
@@ -18417,7 +18476,8 @@ declare namespace io.flow.internal.v0.enums {
18417
18476
  | 'partial_refund'
18418
18477
  | 'platform_fee'
18419
18478
  | 'shipping_true_up'
18420
- | 'tax_credit';
18479
+ | 'tax_credit'
18480
+ | 'carrier_credit';
18421
18481
  type MarketingGatewayAccountConnectionStatus =
18422
18482
  | 'not_connected'
18423
18483
  | 'connecting'
@@ -18520,6 +18580,8 @@ declare namespace io.flow.internal.v0.enums {
18520
18580
  | 'unit_test'
18521
18581
  | 'api'
18522
18582
  | 'api_activation'
18583
+ | 'audit_auto_activation'
18584
+ | 'api_deactivation'
18523
18585
  | 'api_sandbox_setup'
18524
18586
  | 'api_internal'
18525
18587
  | 'api_internal_block'
@@ -18616,20 +18678,23 @@ declare namespace io.flow.internal.v0.enums {
18616
18678
  | 'fulfillment_shipping_notification'
18617
18679
  | 'fulfillment_external'
18618
18680
  | 'fulfillment_order_cancellation'
18681
+ | 'fulfillment_order_combined_shipment'
18682
+ | 'fulfillment_order_time'
18619
18683
  | 'label_tracking_summary'
18620
18684
  | 'label_invoice_request'
18621
18685
  | 'carrier_charge'
18622
18686
  | 'carrier_charge_file'
18623
- | 'label_origin'
18624
18687
  | 'order'
18625
18688
  | 'order_identifier'
18626
18689
  | 'organization_onboarding_state'
18690
+ | 'posting_proof'
18627
18691
  | 'refund'
18628
18692
  | 'refund_over_capture'
18629
18693
  | 'sales_record'
18630
18694
  | 'statement_batch'
18631
18695
  | 'statement_email'
18632
- | 'statement_summary_email';
18696
+ | 'statement_summary_email'
18697
+ | 'pending_payout_transaction_event';
18633
18698
  type QuoteRequestType =
18634
18699
  | 'generate'
18635
18700
  | 'delete'
@@ -18656,6 +18721,7 @@ declare namespace io.flow.internal.v0.enums {
18656
18721
  | 'completed'
18657
18722
  | 'completed_no_records'
18658
18723
  | 'failed';
18724
+ type ReportType = 'sales_record' | 'trueup_overview';
18659
18725
  type ReportingScheme =
18660
18726
  | 'immediate_reporting_to_tax_authority'
18661
18727
  | 'periodic_reporting_to_tax_authority'
@@ -18782,14 +18848,6 @@ declare namespace io.flow.internal.v0.enums {
18782
18848
  type TrackingIntegrationType = 'api' | 'bulk' | 'aftership';
18783
18849
  type TransactionPostingMethod = 'time' | 'proof';
18784
18850
  type TransferMethod = 'ach';
18785
- type TrueUpSurchargeType =
18786
- | 'fuel'
18787
- | 'remote_area'
18788
- | 'oversize'
18789
- | 'duties_paid'
18790
- | 'emergency'
18791
- | 'peak'
18792
- | 'address_correction';
18793
18851
  type TrueupTransactionType = 'adjustment' | 'reversal' | 'trueup';
18794
18852
  type UnclassifiedProductStatus =
18795
18853
  | 'ignored'
@@ -18915,6 +18973,10 @@ declare namespace io.flow.internal.v0.models {
18915
18973
  readonly rates: io.flow.internal.v0.models.AccountProcessingRates;
18916
18974
  }
18917
18975
 
18976
+ interface AccountReference {
18977
+ readonly id: string;
18978
+ }
18979
+
18918
18980
  interface AccountSettingLabelFees {
18919
18981
  readonly flow?: io.flow.internal.v0.models.TieredFee;
18920
18982
  readonly organization?: io.flow.internal.v0.models.TieredFee;
@@ -20265,21 +20327,28 @@ declare namespace io.flow.internal.v0.models {
20265
20327
  readonly id: string;
20266
20328
  readonly label_invoice_request_id: string;
20267
20329
  readonly units: io.flow.internal.v0.models.CarrierChargeUnits;
20268
- readonly base: io.flow.internal.v0.models.LabelBase;
20330
+ readonly base: io.flow.trueup.v0.models.LabelBase;
20269
20331
  readonly surcharges: io.flow.internal.v0.models.LabelSurchargeForm;
20270
20332
  readonly total: number;
20333
+ readonly dead?: io.flow.trueup.v0.models.DeadWeight;
20334
+ readonly dimensional?: io.flow.trueup.v0.models.DimensionalWeight;
20271
20335
  readonly attributes?: Record<string, string>;
20272
20336
  }
20273
20337
 
20274
20338
  interface CarrierChargeFormReturnToOrigin {
20275
20339
  readonly discriminator: 'return_to_origin';
20276
20340
  readonly id: string;
20341
+ readonly organization_id: string;
20342
+ readonly order_number: string;
20277
20343
  readonly carrier_id: string;
20278
20344
  readonly carrier_tracking_number: string;
20345
+ readonly label_created_at: string;
20279
20346
  readonly units: io.flow.internal.v0.models.CarrierChargeUnits;
20280
- readonly base: io.flow.internal.v0.models.LabelBase;
20347
+ readonly base: io.flow.trueup.v0.models.LabelBase;
20281
20348
  readonly surcharges: io.flow.internal.v0.models.LabelSurchargeForm;
20282
20349
  readonly total: number;
20350
+ readonly dead?: io.flow.trueup.v0.models.DeadWeight;
20351
+ readonly dimensional?: io.flow.trueup.v0.models.DimensionalWeight;
20283
20352
  readonly attributes?: Record<string, string>;
20284
20353
  }
20285
20354
 
@@ -20561,6 +20630,19 @@ declare namespace io.flow.internal.v0.models {
20561
20630
  readonly role?: io.flow.common.v0.enums.Role;
20562
20631
  }
20563
20632
 
20633
+ interface ChannelOrder {
20634
+ readonly org_id: string;
20635
+ readonly flow_order_number: string;
20636
+ readonly shopify_order_number: string;
20637
+ readonly order_submission_date?: string;
20638
+ readonly order_item_count: number;
20639
+ readonly total: io.flow.catalog.v0.models.LocalizedTotal;
20640
+ readonly merchant_total: number;
20641
+ readonly tracking_numbers?: string[];
20642
+ readonly carrier?: io.flow.reference.v0.models.CarrierService;
20643
+ readonly duty_paid: boolean;
20644
+ }
20645
+
20564
20646
  interface ChannelOrderAcceptance {
20565
20647
  readonly id: string;
20566
20648
  readonly organization_id: string;
@@ -20572,6 +20654,7 @@ declare namespace io.flow.internal.v0.models {
20572
20654
  readonly reasons: io.flow.internal.v0.models.ChannelOrderAcceptanceReason[];
20573
20655
  readonly next_action_from?: io.flow.internal.v0.enums.ChannelOrderAcceptanceNextActionFrom;
20574
20656
  readonly order_created_at?: string;
20657
+ readonly order_updated_at?: string;
20575
20658
  }
20576
20659
 
20577
20660
  interface ChannelOrderAcceptanceDeleted {
@@ -20601,6 +20684,35 @@ declare namespace io.flow.internal.v0.models {
20601
20684
  readonly channel_order_acceptance: io.flow.internal.v0.models.ChannelOrderAcceptance;
20602
20685
  }
20603
20686
 
20687
+ interface ChannelOrderSummary {
20688
+ readonly id: string;
20689
+ readonly organization: io.flow.common.v0.models.OrganizationReference;
20690
+ readonly external_order_reference: string;
20691
+ readonly order_number: string;
20692
+ readonly fulfullment_details: io.flow.internal.v0.models.ChannelOrderSummaryFulfillmentDetails;
20693
+ }
20694
+
20695
+ interface ChannelOrderSummaryDeleted {
20696
+ readonly discriminator: 'channel_order_summary_deleted';
20697
+ readonly event_id: string;
20698
+ readonly timestamp: string;
20699
+ readonly channel_id: string;
20700
+ readonly id: string;
20701
+ }
20702
+
20703
+ interface ChannelOrderSummaryFulfillmentDetails {
20704
+ readonly fulfillment_status: io.flow.internal.v0.enums.ChannelOrderFulfillmentStatusCode;
20705
+ readonly timestamp: string;
20706
+ }
20707
+
20708
+ interface ChannelOrderSummaryUpserted {
20709
+ readonly discriminator: 'channel_order_summary_upserted';
20710
+ readonly event_id: string;
20711
+ readonly timestamp: string;
20712
+ readonly channel_id: string;
20713
+ readonly channel_order_summary: io.flow.internal.v0.models.ChannelOrderSummary;
20714
+ }
20715
+
20604
20716
  interface ChannelOrganizationShopify {
20605
20717
  readonly organization: io.flow.channel.v0.models.ChannelOrganization;
20606
20718
  readonly tokens: io.flow.internal.v0.models.ShopifyChannelOrganizationTokens[];
@@ -23324,12 +23436,25 @@ declare namespace io.flow.internal.v0.models {
23324
23436
  readonly daily_value: io.flow.internal.v0.models.DailyValue;
23325
23437
  }
23326
23438
 
23439
+ interface DebugAccountingTransaction {
23440
+ readonly type: io.flow.internal.v0.enums.DebugAccountingTransactionType;
23441
+ readonly type_id: string;
23442
+ readonly transaction_id: string;
23443
+ }
23444
+
23327
23445
  interface DebugDetails {
23328
23446
  readonly labels: io.flow.internal.v0.models.DebugLabel[];
23329
23447
  readonly captures: io.flow.internal.v0.models.DebugPaymentTransactionSummary[];
23330
23448
  readonly refunds: io.flow.internal.v0.models.DebugPaymentTransactionSummary[];
23331
23449
  }
23332
23450
 
23451
+ interface DebugFulfillmentDelta {
23452
+ readonly posted_transactions_net: number;
23453
+ readonly fulfillments_net: number;
23454
+ readonly delta_amount: number;
23455
+ readonly delta_percent: number;
23456
+ }
23457
+
23333
23458
  interface DebugLabel {
23334
23459
  readonly carrier_id: string;
23335
23460
  readonly carrier_tracking_number: string;
@@ -23370,6 +23495,7 @@ declare namespace io.flow.internal.v0.models {
23370
23495
  readonly label_tracking_summary_id?: string;
23371
23496
  readonly shipping_notification_id?: string;
23372
23497
  readonly external_fulfillment_proof_id?: string;
23498
+ readonly order_cancellation_id?: string;
23373
23499
  }
23374
23500
 
23375
23501
  interface DebugOrderTransactionFormOrderIdentifier {
@@ -24964,11 +25090,9 @@ declare namespace io.flow.internal.v0.models {
24964
25090
  readonly currency: string;
24965
25091
  readonly order: io.flow.internal.v0.models.OrderSummary;
24966
25092
  readonly origin?: io.flow.internal.v0.models.FulfillmentOrigin;
24967
- readonly lines: io.flow.internal.v0.models.FulfillmentLine[];
24968
25093
  readonly shopper: io.flow.internal.v0.models.ShopperSummary;
24969
25094
  readonly merchant: io.flow.internal.v0.models.MerchantSummary;
24970
- readonly proof: io.flow.internal.v0.unions.FulfillmentProof;
24971
- readonly responsible_party: io.flow.internal.v0.enums.ResponsibleParty;
25095
+ readonly trigger: io.flow.internal.v0.unions.FulfillmentTrigger;
24972
25096
  readonly completes_order: boolean;
24973
25097
  readonly sequence_number: number;
24974
25098
  readonly posting_cutoff: string;
@@ -25003,17 +25127,6 @@ declare namespace io.flow.internal.v0.models {
25003
25127
  readonly key: string;
25004
25128
  }
25005
25129
 
25006
- interface FulfillmentLine {
25007
- readonly item: io.flow.internal.v0.models.ItemSummary;
25008
- readonly quantity: number;
25009
- readonly unit_price: number;
25010
- readonly price: number;
25011
- readonly discount: number;
25012
- readonly tax: number;
25013
- readonly duty: number;
25014
- readonly subsidies: io.flow.internal.v0.models.FulfillmentSubsidyBreakdown;
25015
- }
25016
-
25017
25130
  interface FulfillmentOrigin {
25018
25131
  readonly country: string;
25019
25132
  readonly province_code?: string;
@@ -25026,6 +25139,7 @@ declare namespace io.flow.internal.v0.models {
25026
25139
  readonly carrier_service_id?: string;
25027
25140
  readonly carrier_tracking_number?: string;
25028
25141
  readonly label_id?: string;
25142
+ readonly created_at?: string;
25029
25143
  }
25030
25144
 
25031
25145
  interface FulfillmentProofLabelTrackingReference {
@@ -25035,6 +25149,17 @@ declare namespace io.flow.internal.v0.models {
25035
25149
  readonly carrier_service_id?: string;
25036
25150
  readonly carrier_tracking_number?: string;
25037
25151
  readonly label_id?: string;
25152
+ readonly created_at?: string;
25153
+ }
25154
+
25155
+ interface FulfillmentProofOrderCombinedShipmentReference {
25156
+ readonly discriminator: 'order_combined_shipment';
25157
+ readonly id: string;
25158
+ readonly carrier_id?: string;
25159
+ readonly carrier_service_id?: string;
25160
+ readonly carrier_tracking_number?: string;
25161
+ readonly label_id?: string;
25162
+ readonly created_at?: string;
25038
25163
  }
25039
25164
 
25040
25165
  interface FulfillmentProofShippingNotificationReference {
@@ -25044,6 +25169,7 @@ declare namespace io.flow.internal.v0.models {
25044
25169
  readonly carrier_service_id?: string;
25045
25170
  readonly carrier_tracking_number?: string;
25046
25171
  readonly label_id?: string;
25172
+ readonly created_at?: string;
25047
25173
  }
25048
25174
 
25049
25175
  interface FulfillmentReference {
@@ -25071,6 +25197,17 @@ declare namespace io.flow.internal.v0.models {
25071
25197
  interface FulfillmentSubsidyBreakdown {
25072
25198
  readonly tax: number;
25073
25199
  readonly duty: number;
25200
+ readonly total: number;
25201
+ }
25202
+
25203
+ interface FulfillmentTriggerProof {
25204
+ readonly discriminator: 'by_proof';
25205
+ readonly proof: io.flow.internal.v0.unions.FulfillmentProof;
25206
+ }
25207
+
25208
+ interface FulfillmentTriggerTime {
25209
+ readonly discriminator: 'by_time';
25210
+ readonly placeholder?: string;
25074
25211
  }
25075
25212
 
25076
25213
  interface FxFee {
@@ -26559,11 +26696,6 @@ declare namespace io.flow.internal.v0.models {
26559
26696
  readonly constructions: Record<string, string[]>;
26560
26697
  }
26561
26698
 
26562
- interface LabelBase {
26563
- readonly amount: number;
26564
- readonly weight: number;
26565
- }
26566
-
26567
26699
  interface LabelCancellationError {
26568
26700
  readonly code: io.flow.internal.v0.enums.LabelCancellationErrorCode;
26569
26701
  readonly messages: string[];
@@ -26595,6 +26727,7 @@ declare namespace io.flow.internal.v0.models {
26595
26727
 
26596
26728
  interface LabelDestination {
26597
26729
  readonly country: string;
26730
+ readonly postal?: string;
26598
26731
  }
26599
26732
 
26600
26733
  interface LabelGenerationAddressFailureStatusUpdateForm {
@@ -26642,13 +26775,14 @@ declare namespace io.flow.internal.v0.models {
26642
26775
 
26643
26776
  interface LabelInvoiceRequest {
26644
26777
  readonly id: string;
26645
- readonly label: io.flow.internal.v0.models.TrueUpLabelSummary;
26646
- readonly units: io.flow.internal.v0.models.LabelUnits;
26647
- readonly base: io.flow.internal.v0.models.LabelBase;
26648
- readonly surcharges: io.flow.internal.v0.models.LabelSurcharge[];
26778
+ readonly label: io.flow.internal.v0.models.TrueupLabelSummary;
26779
+ readonly units: io.flow.trueup.v0.models.LabelUnits;
26780
+ readonly base: io.flow.trueup.v0.models.LabelBase;
26781
+ readonly surcharges: io.flow.trueup.v0.models.LabelSurcharge[];
26649
26782
  readonly total: number;
26650
26783
  readonly destination: io.flow.internal.v0.models.LabelDestination;
26651
26784
  readonly metadata: io.flow.internal.v0.models.LabelMetadata;
26785
+ readonly created_at: string;
26652
26786
  }
26653
26787
 
26654
26788
  interface LabelInvoiceRequestDeleted {
@@ -26669,7 +26803,8 @@ declare namespace io.flow.internal.v0.models {
26669
26803
 
26670
26804
  interface LabelMetadata {
26671
26805
  readonly ratecard: io.flow.internal.v0.models.MetadataRatecard;
26672
- readonly weights: io.flow.internal.v0.models.MetadataWeights;
26806
+ readonly dead?: io.flow.trueup.v0.models.DeadWeight;
26807
+ readonly dimensional?: io.flow.trueup.v0.models.DimensionalWeight;
26673
26808
  }
26674
26809
 
26675
26810
  interface LabelRequestError {
@@ -26716,27 +26851,6 @@ declare namespace io.flow.internal.v0.models {
26716
26851
  readonly service?: io.flow.reference.v0.models.CarrierService;
26717
26852
  }
26718
26853
 
26719
- interface LabelSurcharge {
26720
- readonly amount: number;
26721
- readonly type: io.flow.internal.v0.enums.TrueUpSurchargeType;
26722
- readonly detail: io.flow.internal.v0.unions.LabelSurchargeDetail;
26723
- }
26724
-
26725
- interface LabelSurchargeDetailFlat {
26726
- readonly discriminator: 'flat';
26727
- readonly placeholder?: string;
26728
- }
26729
-
26730
- interface LabelSurchargeDetailPerWeightUnit {
26731
- readonly discriminator: 'per_weight_unit';
26732
- readonly fee: number;
26733
- }
26734
-
26735
- interface LabelSurchargeDetailPercentage {
26736
- readonly discriminator: 'percentage';
26737
- readonly percentage: number;
26738
- }
26739
-
26740
26854
  interface LabelSurchargeForm {
26741
26855
  readonly fuel?: io.flow.internal.v0.models.LabelSurchargeSingleForm;
26742
26856
  readonly remote_area?: io.flow.internal.v0.models.LabelSurchargeSingleForm;
@@ -26809,12 +26923,6 @@ declare namespace io.flow.internal.v0.models {
26809
26923
  readonly label_transaction: io.flow.internal.v0.models.LabelTransaction;
26810
26924
  }
26811
26925
 
26812
- interface LabelUnits {
26813
- readonly currency: string;
26814
- readonly weight: io.flow.units.v0.enums.UnitOfWeight;
26815
- readonly length: io.flow.units.v0.enums.UnitOfLength;
26816
- }
26817
-
26818
26926
  interface LabeledContent {
26819
26927
  readonly label: io.flow.internal.v0.models.ContentLabel;
26820
26928
  readonly contents: io.flow.internal.v0.unions.ContentItem[];
@@ -27212,6 +27320,7 @@ declare namespace io.flow.internal.v0.models {
27212
27320
  interface ManualTransaction {
27213
27321
  readonly discriminator: 'manual_transaction';
27214
27322
  readonly category?: io.flow.internal.v0.enums.ManualTransactionCategory;
27323
+ readonly original_transaction?: io.flow.internal.v0.models.TransactionReference;
27215
27324
  readonly order?: io.flow.internal.v0.models.BillingOrderTransactionOrderReference;
27216
27325
  readonly attributes?: Record<string, string>;
27217
27326
  readonly id: string;
@@ -27231,6 +27340,7 @@ declare namespace io.flow.internal.v0.models {
27231
27340
  readonly category?: io.flow.internal.v0.enums.ManualTransactionCategory;
27232
27341
  readonly posted_at?: string;
27233
27342
  readonly order?: io.flow.internal.v0.models.ManualTransactionFormOrder;
27343
+ readonly original_transaction_id?: string;
27234
27344
  readonly attributes?: Record<string, string>;
27235
27345
  }
27236
27346
 
@@ -27499,6 +27609,11 @@ declare namespace io.flow.internal.v0.models {
27499
27609
  readonly flow_authorization?: io.flow.payment.v0.unions.Authorization;
27500
27610
  }
27501
27611
 
27612
+ interface Merchant {
27613
+ readonly id: string;
27614
+ readonly account: io.flow.internal.v0.models.AccountReference;
27615
+ }
27616
+
27502
27617
  interface MerchantApplicationSummaries {
27503
27618
  readonly summaries: io.flow.internal.v0.models.MerchantApplicationSummary[];
27504
27619
  readonly total: number;
@@ -27509,6 +27624,13 @@ declare namespace io.flow.internal.v0.models {
27509
27624
  readonly organization_reference: io.flow.common.v0.models.Organization;
27510
27625
  }
27511
27626
 
27627
+ interface MerchantDeleted {
27628
+ readonly discriminator: 'merchant_deleted';
27629
+ readonly event_id: string;
27630
+ readonly timestamp: string;
27631
+ readonly id: string;
27632
+ }
27633
+
27512
27634
  interface MerchantFees {
27513
27635
  readonly duty_guarantee: number;
27514
27636
  readonly mor: number;
@@ -27570,6 +27692,7 @@ declare namespace io.flow.internal.v0.models {
27570
27692
  interface MerchantSearchResult {
27571
27693
  readonly organization_id: string;
27572
27694
  readonly shop_name?: string;
27695
+ readonly shop_id?: string;
27573
27696
  readonly legal_name: string;
27574
27697
  readonly onboarding_current_state: io.flow.organization.onboarding.state.v0.unions.OnboardingState;
27575
27698
  }
@@ -27578,7 +27701,6 @@ declare namespace io.flow.internal.v0.models {
27578
27701
  readonly fees: io.flow.internal.v0.models.ShopperFees;
27579
27702
  readonly tax: number;
27580
27703
  readonly duty: number;
27581
- readonly freight: number;
27582
27704
  readonly total: number;
27583
27705
  }
27584
27706
 
@@ -27586,7 +27708,7 @@ declare namespace io.flow.internal.v0.models {
27586
27708
  readonly subsidies: io.flow.internal.v0.models.MerchantSubsidies;
27587
27709
  readonly fees: io.flow.internal.v0.models.MerchantFees;
27588
27710
  readonly transactions: io.flow.internal.v0.models.MerchantTransactions;
27589
- readonly discounts: number;
27711
+ readonly total: number;
27590
27712
  }
27591
27713
 
27592
27714
  interface MerchantTransactions {
@@ -27598,6 +27720,13 @@ declare namespace io.flow.internal.v0.models {
27598
27720
  readonly total: number;
27599
27721
  }
27600
27722
 
27723
+ interface MerchantUpserted {
27724
+ readonly discriminator: 'merchant_upserted';
27725
+ readonly event_id: string;
27726
+ readonly timestamp: string;
27727
+ readonly merchant: io.flow.internal.v0.models.Merchant;
27728
+ }
27729
+
27601
27730
  interface MetadataProposition {
27602
27731
  readonly shipping_method: io.flow.internal.v0.models.ShippingMethodReference;
27603
27732
  readonly name: string;
@@ -27608,11 +27737,6 @@ declare namespace io.flow.internal.v0.models {
27608
27737
  readonly proposition: io.flow.internal.v0.models.MetadataProposition;
27609
27738
  }
27610
27739
 
27611
- interface MetadataWeights {
27612
- readonly dead?: io.flow.internal.v0.models.WeightsDead;
27613
- readonly dimensional?: io.flow.internal.v0.models.WeightsDimensional;
27614
- }
27615
-
27616
27740
  interface NextBillingStatement {
27617
27741
  readonly date: string;
27618
27742
  readonly amount: io.flow.common.v0.models.Price;
@@ -28170,6 +28294,7 @@ declare namespace io.flow.internal.v0.models {
28170
28294
  readonly deactivate_at: string;
28171
28295
  readonly created_at: string;
28172
28296
  readonly reason?: string;
28297
+ readonly processed_at?: string;
28173
28298
  }
28174
28299
 
28175
28300
  interface OrganizationDeactivationDeleted {
@@ -29103,6 +29228,11 @@ declare namespace io.flow.internal.v0.models {
29103
29228
  readonly order_cancellation_id: string;
29104
29229
  }
29105
29230
 
29231
+ interface ProofOfPostingOrderCombinedShipment {
29232
+ readonly discriminator: 'order_combined_shipment';
29233
+ readonly order_combined_shipment_id: string;
29234
+ }
29235
+
29106
29236
  interface ProofOfPostingShippingNotification {
29107
29237
  readonly discriminator: 'shipping_notification';
29108
29238
  readonly shipping_notification_id: string;
@@ -29570,20 +29700,19 @@ declare namespace io.flow.internal.v0.models {
29570
29700
  }
29571
29701
 
29572
29702
  interface Report {
29573
- readonly key: string;
29703
+ readonly id: string;
29574
29704
  readonly status: io.flow.internal.v0.enums.ReportStatus;
29705
+ readonly type: io.flow.internal.v0.enums.ReportType;
29575
29706
  readonly from: string;
29576
29707
  readonly to: string;
29577
- readonly organization_id?: string;
29578
- readonly sales_url?: string;
29579
- readonly refunds_url?: string;
29708
+ readonly url?: string;
29709
+ readonly processed_at?: string;
29580
29710
  }
29581
29711
 
29582
29712
  interface ReportForm {
29583
- readonly key?: string;
29584
29713
  readonly from: string;
29585
29714
  readonly to: string;
29586
- readonly organization_id?: string;
29715
+ readonly type: io.flow.internal.v0.enums.ReportType;
29587
29716
  }
29588
29717
 
29589
29718
  interface ReportRuleDecision {
@@ -29598,6 +29727,9 @@ declare namespace io.flow.internal.v0.models {
29598
29727
  }
29599
29728
 
29600
29729
  interface ReportingDetails {
29730
+ readonly accounting_transactions?: any /*object*/[];
29731
+ readonly fulfillments?: any /*object*/[];
29732
+ readonly fulfillment_delta?: io.flow.internal.v0.models.DebugFulfillmentDelta;
29601
29733
  readonly sales_records?: any /*object*/[];
29602
29734
  readonly refund_records?: any /*object*/[];
29603
29735
  }
@@ -29676,6 +29808,12 @@ declare namespace io.flow.internal.v0.models {
29676
29808
  readonly decision: io.flow.internal.v0.enums.RestrictionDecision;
29677
29809
  }
29678
29810
 
29811
+ interface RestrictionItemReviewSummary {
29812
+ readonly rule: io.flow.internal.v0.models.RestrictionRuleSummary;
29813
+ readonly status: io.flow.internal.v0.enums.RestrictionStatus;
29814
+ readonly updated_at: string;
29815
+ }
29816
+
29679
29817
  interface RestrictionKeywordMetadata {
29680
29818
  readonly keyword: string;
29681
29819
  readonly type: io.flow.internal.v0.enums.KeywordType;
@@ -29752,6 +29890,7 @@ declare namespace io.flow.internal.v0.models {
29752
29890
  readonly name: string;
29753
29891
  readonly price: io.flow.common.v0.models.Price;
29754
29892
  readonly item_numbers: string[];
29893
+ readonly primary_item_number?: string;
29755
29894
  readonly description: string;
29756
29895
  readonly categories: string[];
29757
29896
  readonly images: io.flow.catalog.v0.models.Image[];
@@ -29776,6 +29915,11 @@ declare namespace io.flow.internal.v0.models {
29776
29915
  readonly product_name_query?: string;
29777
29916
  }
29778
29917
 
29918
+ interface RestrictionProductSummary {
29919
+ readonly name: string;
29920
+ readonly restrictions: io.flow.internal.v0.models.RestrictionItemReviewSummary[];
29921
+ }
29922
+
29779
29923
  interface RestrictionRule {
29780
29924
  readonly id: string;
29781
29925
  readonly name: string;
@@ -30238,6 +30382,18 @@ declare namespace io.flow.internal.v0.models {
30238
30382
  readonly discrepancy_data: io.flow.internal.v0.models.ShopifyMarketsDiscrepancyData;
30239
30383
  }
30240
30384
 
30385
+ interface ShopifyMarketsQueuedRecord {
30386
+ readonly id: string;
30387
+ readonly type: string;
30388
+ readonly type_id: string;
30389
+ readonly organization_id: string;
30390
+ readonly environment?: string;
30391
+ readonly num_attempts: number;
30392
+ readonly next_attempt_at: string;
30393
+ readonly errors?: string[];
30394
+ readonly stacktrace?: string;
30395
+ }
30396
+
30241
30397
  interface ShopifyMarketsShop {
30242
30398
  readonly id: string;
30243
30399
  readonly shopify_shop_id?: string;
@@ -30649,11 +30805,32 @@ declare namespace io.flow.internal.v0.models {
30649
30805
  readonly tax: number;
30650
30806
  readonly duty: number;
30651
30807
  readonly subsidies: io.flow.internal.v0.models.FulfillmentSubsidyBreakdown;
30808
+ readonly total: number;
30809
+ }
30810
+
30811
+ interface ShopperLine {
30812
+ readonly item: io.flow.internal.v0.models.ItemSummary;
30813
+ readonly quantity: number;
30814
+ readonly unit_price: number;
30815
+ readonly price: number;
30816
+ readonly discount: number;
30817
+ readonly tax: number;
30818
+ readonly duty: number;
30819
+ readonly subsidies: io.flow.internal.v0.models.FulfillmentSubsidyBreakdown;
30820
+ readonly total: number;
30821
+ }
30822
+
30823
+ interface ShopperLines {
30824
+ readonly lines: io.flow.internal.v0.models.ShopperLine[];
30825
+ readonly total: number;
30652
30826
  }
30653
30827
 
30654
30828
  interface ShopperSummary {
30829
+ readonly fulfilled: io.flow.internal.v0.models.ShopperLines;
30655
30830
  readonly fees: io.flow.internal.v0.models.ShopperFees;
30656
30831
  readonly freight: io.flow.internal.v0.models.ShopperFreight;
30832
+ readonly order_discount: number;
30833
+ readonly total: number;
30657
30834
  }
30658
30835
 
30659
30836
  interface SimpleAccountReference {
@@ -31527,8 +31704,10 @@ declare namespace io.flow.internal.v0.models {
31527
31704
  readonly description: string;
31528
31705
  }
31529
31706
 
31530
- interface TrueUpLabelSummary {
31707
+ interface TrueupLabelSummary {
31531
31708
  readonly id: string;
31709
+ readonly organization: io.flow.common.v0.models.OrganizationReference;
31710
+ readonly carrier_id: string;
31532
31711
  readonly carrier_service_id: string;
31533
31712
  readonly carrier_tracking_number: string;
31534
31713
  readonly flow_tracking_number: string;
@@ -31604,40 +31783,6 @@ declare namespace io.flow.internal.v0.models {
31604
31783
  readonly direct_feed_location_code?: string;
31605
31784
  }
31606
31785
 
31607
- interface UpsLicense {
31608
- readonly access_license_number: string;
31609
- readonly address: io.flow.common.v0.models.BillingAddress;
31610
- readonly contact: io.flow.common.v0.models.Contact;
31611
- readonly secondary_contact?: io.flow.common.v0.models.Contact;
31612
- readonly company_url: string;
31613
- }
31614
-
31615
- interface UpsLicenseForm {
31616
- readonly address: io.flow.common.v0.models.BillingAddress;
31617
- readonly contact: io.flow.common.v0.models.Contact;
31618
- readonly secondary_contact?: io.flow.common.v0.models.Contact;
31619
- readonly developer_license_number: string;
31620
- readonly company_url: string;
31621
- }
31622
-
31623
- interface UpsRegistration {
31624
- readonly username: string;
31625
- readonly address: io.flow.common.v0.models.BillingAddress;
31626
- readonly contact: io.flow.common.v0.models.Contact;
31627
- readonly suggest_username_indicator?: string;
31628
- readonly shipper_account_status?: string;
31629
- }
31630
-
31631
- interface UpsRegistrationForm {
31632
- readonly username: string;
31633
- readonly password: string;
31634
- readonly access_license_number: string;
31635
- readonly account_number: string;
31636
- readonly address: io.flow.common.v0.models.BillingAddress;
31637
- readonly contact: io.flow.common.v0.models.Contact;
31638
- readonly shipper_account?: io.flow.internal.v0.models.ShipperAccountInfoForm;
31639
- }
31640
-
31641
31786
  interface UsdSpotRate {
31642
31787
  readonly id: string;
31643
31788
  readonly effective_at: string;
@@ -31806,17 +31951,6 @@ declare namespace io.flow.internal.v0.models {
31806
31951
  readonly placeholder?: any /*json*/;
31807
31952
  }
31808
31953
 
31809
- interface WeightsDead {
31810
- readonly weight: number;
31811
- }
31812
-
31813
- interface WeightsDimensional {
31814
- readonly weight: number;
31815
- readonly length: number;
31816
- readonly width: number;
31817
- readonly height: number;
31818
- }
31819
-
31820
31954
  interface WholeOrderActionForm {
31821
31955
  readonly discriminator: 'whole_order_action_form';
31822
31956
  readonly action: io.flow.internal.v0.enums.OrderAction;
@@ -32284,6 +32418,8 @@ declare namespace io.flow.internal.v0.unions {
32284
32418
  | io.flow.internal.v0.models.AdyenRefundUpserted
32285
32419
  | io.flow.internal.v0.models.IndexAssignmentUpserted
32286
32420
  | io.flow.internal.v0.models.IndexAssignmentDeleted
32421
+ | io.flow.internal.v0.models.MerchantUpserted
32422
+ | io.flow.internal.v0.models.MerchantDeleted
32287
32423
  | io.flow.internal.v0.models.AccountUpserted
32288
32424
  | io.flow.internal.v0.models.AccountUpsertedV2
32289
32425
  | io.flow.internal.v0.models.AccountDeletedV2
@@ -32331,8 +32467,6 @@ declare namespace io.flow.internal.v0.unions {
32331
32467
  | io.flow.internal.v0.models.DailyValueDeleted
32332
32468
  | io.flow.internal.v0.models.SalesRecordUpserted
32333
32469
  | io.flow.internal.v0.models.SalesRecordDeleted
32334
- | io.flow.internal.v0.models.LabelInvoiceRequestUpserted
32335
- | io.flow.internal.v0.models.LabelInvoiceRequestDeleted
32336
32470
  | io.flow.internal.v0.models.CalculatorOrganizationSettingsUpserted
32337
32471
  | io.flow.internal.v0.models.CalculatorOrganizationSettingsDeleted
32338
32472
  | io.flow.internal.v0.models.CarrierAccountUpsertedV2
@@ -32427,6 +32561,8 @@ declare namespace io.flow.internal.v0.unions {
32427
32561
  | io.flow.internal.v0.models.OrganizationBankAccountDeleted
32428
32562
  | io.flow.internal.v0.models.BillingCsvTransactionUpserted
32429
32563
  | io.flow.internal.v0.models.BillingCsvTransactionDeleted
32564
+ | io.flow.internal.v0.models.LabelInvoiceRequestUpserted
32565
+ | io.flow.internal.v0.models.LabelInvoiceRequestDeleted
32430
32566
  | io.flow.internal.v0.models.FraudReviewUpserted
32431
32567
  | io.flow.internal.v0.models.FraudReviewDeleted
32432
32568
  | io.flow.internal.v0.models.FraudPendingReviewUpserted
@@ -32575,6 +32711,8 @@ declare namespace io.flow.internal.v0.unions {
32575
32711
  | io.flow.internal.v0.models.ShopifyMarketsShopStatisticsDeleted
32576
32712
  | io.flow.internal.v0.models.ShopifyMarketsMetricsUpserted
32577
32713
  | io.flow.internal.v0.models.ShopifyMarketsMetricsDeleted
32714
+ | io.flow.internal.v0.models.ChannelOrderSummaryUpserted
32715
+ | io.flow.internal.v0.models.ChannelOrderSummaryDeleted
32578
32716
  | io.flow.internal.v0.models.ShopifyMonitoringOrderMonitorEventUpserted
32579
32717
  | io.flow.internal.v0.models.ShopifyMonitoringOrderMonitorEventDeleted
32580
32718
  | io.flow.internal.v0.models.ShopifyOrderFulfillmentsSnapshotUpserted
@@ -32632,7 +32770,11 @@ declare namespace io.flow.internal.v0.unions {
32632
32770
  type FulfillmentProof =
32633
32771
  | io.flow.internal.v0.models.FulfillmentProofLabelTrackingReference
32634
32772
  | io.flow.internal.v0.models.FulfillmentProofShippingNotificationReference
32635
- | io.flow.internal.v0.models.FulfillmentProofExternalFulfillmentProofReference;
32773
+ | io.flow.internal.v0.models.FulfillmentProofExternalFulfillmentProofReference
32774
+ | io.flow.internal.v0.models.FulfillmentProofOrderCombinedShipmentReference;
32775
+ type FulfillmentTrigger =
32776
+ | io.flow.internal.v0.models.FulfillmentTriggerProof
32777
+ | io.flow.internal.v0.models.FulfillmentTriggerTime;
32636
32778
  type GenerateLoad =
32637
32779
  | io.flow.internal.v0.models.GenerateLoadSingleOrg
32638
32780
  | io.flow.internal.v0.models.GenerateLoadMultipleOrgs;
@@ -32717,10 +32859,6 @@ declare namespace io.flow.internal.v0.unions {
32717
32859
  type InternalRefundForm = io.flow.internal.v0.models.AdyenRefundForm;
32718
32860
  type InternalTransactionDetails =
32719
32861
  io.flow.internal.v0.models.InternalTransactionDetailsCard;
32720
- type LabelSurchargeDetail =
32721
- | io.flow.internal.v0.models.LabelSurchargeDetailFlat
32722
- | io.flow.internal.v0.models.LabelSurchargeDetailPercentage
32723
- | io.flow.internal.v0.models.LabelSurchargeDetailPerWeightUnit;
32724
32862
  type LocalizableContent =
32725
32863
  | io.flow.internal.v0.models.LocalizableContentReference
32726
32864
  | io.flow.internal.v0.models.Localization;
@@ -32803,7 +32941,8 @@ declare namespace io.flow.internal.v0.unions {
32803
32941
  | io.flow.internal.v0.models.ProofOfPostingFulfilled
32804
32942
  | io.flow.internal.v0.models.ProofOfPostingExternallyFulfilled
32805
32943
  | io.flow.internal.v0.models.ProofOfPostingShippingNotification
32806
- | io.flow.internal.v0.models.ProofOfPostingOrderCancellation;
32944
+ | io.flow.internal.v0.models.ProofOfPostingOrderCancellation
32945
+ | io.flow.internal.v0.models.ProofOfPostingOrderCombinedShipment;
32807
32946
  type RoutingEntity =
32808
32947
  | io.flow.internal.v0.models.RoutingProcessor
32809
32948
  | io.flow.internal.v0.models.RoutingAccount
@@ -32899,6 +33038,7 @@ export type AccountProcessingRatesForm =
32899
33038
  io.flow.internal.v0.models.AccountProcessingRatesForm;
32900
33039
  export type AccountProcessingRatesUpserted =
32901
33040
  io.flow.internal.v0.models.AccountProcessingRatesUpserted;
33041
+ export type AccountReference = io.flow.internal.v0.models.AccountReference;
32902
33042
  export type AccountSettingLabelFees =
32903
33043
  io.flow.internal.v0.models.AccountSettingLabelFees;
32904
33044
  export type AccountSettingLiabilitiesMethod =
@@ -33356,6 +33496,7 @@ export type ChannelMembershipForm =
33356
33496
  io.flow.internal.v0.models.ChannelMembershipForm;
33357
33497
  export type ChannelMembershipPutForm =
33358
33498
  io.flow.internal.v0.models.ChannelMembershipPutForm;
33499
+ export type ChannelOrder = io.flow.internal.v0.models.ChannelOrder;
33359
33500
  export type ChannelOrderAcceptance =
33360
33501
  io.flow.internal.v0.models.ChannelOrderAcceptance;
33361
33502
  export type ChannelOrderAcceptanceDeleted =
@@ -33374,6 +33515,16 @@ export type ChannelOrderAcceptanceStatus =
33374
33515
  io.flow.internal.v0.enums.ChannelOrderAcceptanceStatus;
33375
33516
  export type ChannelOrderAcceptanceUpserted =
33376
33517
  io.flow.internal.v0.models.ChannelOrderAcceptanceUpserted;
33518
+ export type ChannelOrderFulfillmentStatusCode =
33519
+ io.flow.internal.v0.enums.ChannelOrderFulfillmentStatusCode;
33520
+ export type ChannelOrderSummary =
33521
+ io.flow.internal.v0.models.ChannelOrderSummary;
33522
+ export type ChannelOrderSummaryDeleted =
33523
+ io.flow.internal.v0.models.ChannelOrderSummaryDeleted;
33524
+ export type ChannelOrderSummaryFulfillmentDetails =
33525
+ io.flow.internal.v0.models.ChannelOrderSummaryFulfillmentDetails;
33526
+ export type ChannelOrderSummaryUpserted =
33527
+ io.flow.internal.v0.models.ChannelOrderSummaryUpserted;
33377
33528
  export type ChannelOrganizationShopify =
33378
33529
  io.flow.internal.v0.models.ChannelOrganizationShopify;
33379
33530
  export type ChannelOrganizationShopifyForm =
@@ -34563,7 +34714,13 @@ export type DailyExperimentResultsUpserted =
34563
34714
  export type DailyValue = io.flow.internal.v0.models.DailyValue;
34564
34715
  export type DailyValueDeleted = io.flow.internal.v0.models.DailyValueDeleted;
34565
34716
  export type DailyValueUpserted = io.flow.internal.v0.models.DailyValueUpserted;
34717
+ export type DebugAccountingTransaction =
34718
+ io.flow.internal.v0.models.DebugAccountingTransaction;
34719
+ export type DebugAccountingTransactionType =
34720
+ io.flow.internal.v0.enums.DebugAccountingTransactionType;
34566
34721
  export type DebugDetails = io.flow.internal.v0.models.DebugDetails;
34722
+ export type DebugFulfillmentDelta =
34723
+ io.flow.internal.v0.models.DebugFulfillmentDelta;
34567
34724
  export type DebugLabel = io.flow.internal.v0.models.DebugLabel;
34568
34725
  export type DebugLabelTransactionSummary =
34569
34726
  io.flow.internal.v0.models.DebugLabelTransactionSummary;
@@ -34966,13 +35123,14 @@ export type FulfillmentBusiness =
34966
35123
  export type FulfillmentCancel = io.flow.internal.v0.models.FulfillmentCancel;
34967
35124
  export type FulfillmentInternalExperienceReference =
34968
35125
  io.flow.internal.v0.models.FulfillmentInternalExperienceReference;
34969
- export type FulfillmentLine = io.flow.internal.v0.models.FulfillmentLine;
34970
35126
  export type FulfillmentOrigin = io.flow.internal.v0.models.FulfillmentOrigin;
34971
35127
  export type FulfillmentProof = io.flow.internal.v0.unions.FulfillmentProof;
34972
35128
  export type FulfillmentProofExternalFulfillmentProofReference =
34973
35129
  io.flow.internal.v0.models.FulfillmentProofExternalFulfillmentProofReference;
34974
35130
  export type FulfillmentProofLabelTrackingReference =
34975
35131
  io.flow.internal.v0.models.FulfillmentProofLabelTrackingReference;
35132
+ export type FulfillmentProofOrderCombinedShipmentReference =
35133
+ io.flow.internal.v0.models.FulfillmentProofOrderCombinedShipmentReference;
34976
35134
  export type FulfillmentProofShippingNotificationReference =
34977
35135
  io.flow.internal.v0.models.FulfillmentProofShippingNotificationReference;
34978
35136
  export type FulfillmentReference =
@@ -34983,6 +35141,11 @@ export type FulfillmentSnapshot =
34983
35141
  io.flow.internal.v0.models.FulfillmentSnapshot;
34984
35142
  export type FulfillmentSubsidyBreakdown =
34985
35143
  io.flow.internal.v0.models.FulfillmentSubsidyBreakdown;
35144
+ export type FulfillmentTrigger = io.flow.internal.v0.unions.FulfillmentTrigger;
35145
+ export type FulfillmentTriggerProof =
35146
+ io.flow.internal.v0.models.FulfillmentTriggerProof;
35147
+ export type FulfillmentTriggerTime =
35148
+ io.flow.internal.v0.models.FulfillmentTriggerTime;
34986
35149
  export type FxFee = io.flow.internal.v0.models.FxFee;
34987
35150
  export type FxRevenueRecognition =
34988
35151
  io.flow.internal.v0.models.FxRevenueRecognition;
@@ -35283,7 +35446,6 @@ export type LabProjectSettingsFormAcceptance =
35283
35446
  io.flow.internal.v0.models.LabProjectSettingsFormAcceptance;
35284
35447
  export type LabelAliases = io.flow.internal.v0.models.LabelAliases;
35285
35448
  export type LabelAssociation = io.flow.internal.v0.models.LabelAssociation;
35286
- export type LabelBase = io.flow.internal.v0.models.LabelBase;
35287
35449
  export type LabelBillingStrategy =
35288
35450
  io.flow.internal.v0.enums.LabelBillingStrategy;
35289
35451
  export type LabelCancellationError =
@@ -35326,15 +35488,6 @@ export type LabelRequestErrorHandlingResponsibility =
35326
35488
  export type LabelRequestErrorUpserted =
35327
35489
  io.flow.internal.v0.models.LabelRequestErrorUpserted;
35328
35490
  export type LabelSummary = io.flow.internal.v0.models.LabelSummary;
35329
- export type LabelSurcharge = io.flow.internal.v0.models.LabelSurcharge;
35330
- export type LabelSurchargeDetail =
35331
- io.flow.internal.v0.unions.LabelSurchargeDetail;
35332
- export type LabelSurchargeDetailFlat =
35333
- io.flow.internal.v0.models.LabelSurchargeDetailFlat;
35334
- export type LabelSurchargeDetailPerWeightUnit =
35335
- io.flow.internal.v0.models.LabelSurchargeDetailPerWeightUnit;
35336
- export type LabelSurchargeDetailPercentage =
35337
- io.flow.internal.v0.models.LabelSurchargeDetailPercentage;
35338
35491
  export type LabelSurchargeForm = io.flow.internal.v0.models.LabelSurchargeForm;
35339
35492
  export type LabelSurchargeSingleForm =
35340
35493
  io.flow.internal.v0.models.LabelSurchargeSingleForm;
@@ -35350,7 +35503,6 @@ export type LabelTransactionType =
35350
35503
  io.flow.internal.v0.enums.LabelTransactionType;
35351
35504
  export type LabelTransactionUpserted =
35352
35505
  io.flow.internal.v0.models.LabelTransactionUpserted;
35353
- export type LabelUnits = io.flow.internal.v0.models.LabelUnits;
35354
35506
  export type LabeledContent = io.flow.internal.v0.models.LabeledContent;
35355
35507
  export type LabelsPrediction = io.flow.internal.v0.models.LabelsPrediction;
35356
35508
  export type LandedCostItem = io.flow.internal.v0.models.LandedCostItem;
@@ -35551,10 +35703,12 @@ export type MarketingGatewaySourceSummary =
35551
35703
  export type MarketingGatewaySupportedChannelDetails =
35552
35704
  io.flow.internal.v0.models.MarketingGatewaySupportedChannelDetails;
35553
35705
  export type MarketsOrder = io.flow.internal.v0.models.MarketsOrder;
35706
+ export type Merchant = io.flow.internal.v0.models.Merchant;
35554
35707
  export type MerchantApplicationSummaries =
35555
35708
  io.flow.internal.v0.models.MerchantApplicationSummaries;
35556
35709
  export type MerchantApplicationSummary =
35557
35710
  io.flow.internal.v0.models.MerchantApplicationSummary;
35711
+ export type MerchantDeleted = io.flow.internal.v0.models.MerchantDeleted;
35558
35712
  export type MerchantFees = io.flow.internal.v0.models.MerchantFees;
35559
35713
  export type MerchantGuidAssignment =
35560
35714
  io.flow.internal.v0.models.MerchantGuidAssignment;
@@ -35572,10 +35726,10 @@ export type MerchantSubsidies = io.flow.internal.v0.models.MerchantSubsidies;
35572
35726
  export type MerchantSummary = io.flow.internal.v0.models.MerchantSummary;
35573
35727
  export type MerchantTransactions =
35574
35728
  io.flow.internal.v0.models.MerchantTransactions;
35729
+ export type MerchantUpserted = io.flow.internal.v0.models.MerchantUpserted;
35575
35730
  export type MetadataProposition =
35576
35731
  io.flow.internal.v0.models.MetadataProposition;
35577
35732
  export type MetadataRatecard = io.flow.internal.v0.models.MetadataRatecard;
35578
- export type MetadataWeights = io.flow.internal.v0.models.MetadataWeights;
35579
35733
  export type MixedBagWeight = io.flow.internal.v0.enums.MixedBagWeight;
35580
35734
  export type NatureOfSale = io.flow.internal.v0.enums.NatureOfSale;
35581
35735
  export type NextBillingStatement =
@@ -36009,6 +36163,8 @@ export type ProofOfPostingFulfilled =
36009
36163
  io.flow.internal.v0.models.ProofOfPostingFulfilled;
36010
36164
  export type ProofOfPostingOrderCancellation =
36011
36165
  io.flow.internal.v0.models.ProofOfPostingOrderCancellation;
36166
+ export type ProofOfPostingOrderCombinedShipment =
36167
+ io.flow.internal.v0.models.ProofOfPostingOrderCombinedShipment;
36012
36168
  export type ProofOfPostingShippingNotification =
36013
36169
  io.flow.internal.v0.models.ProofOfPostingShippingNotification;
36014
36170
  export type QueuedRecord = io.flow.internal.v0.models.QueuedRecord;
@@ -36127,6 +36283,7 @@ export type ReportInterval = io.flow.internal.v0.enums.ReportInterval;
36127
36283
  export type ReportRuleDecision = io.flow.internal.v0.models.ReportRuleDecision;
36128
36284
  export type ReportStatus = io.flow.internal.v0.enums.ReportStatus;
36129
36285
  export type ReportSummary = io.flow.internal.v0.models.ReportSummary;
36286
+ export type ReportType = io.flow.internal.v0.enums.ReportType;
36130
36287
  export type ReportingDetails = io.flow.internal.v0.models.ReportingDetails;
36131
36288
  export type ReportingScheme = io.flow.internal.v0.enums.ReportingScheme;
36132
36289
  export type RequeueRequestForm = io.flow.internal.v0.models.RequeueRequestForm;
@@ -36145,6 +36302,8 @@ export type RestrictionItemReview =
36145
36302
  io.flow.internal.v0.models.RestrictionItemReview;
36146
36303
  export type RestrictionItemReviewDecisionForm =
36147
36304
  io.flow.internal.v0.models.RestrictionItemReviewDecisionForm;
36305
+ export type RestrictionItemReviewSummary =
36306
+ io.flow.internal.v0.models.RestrictionItemReviewSummary;
36148
36307
  export type RestrictionKeywordMetadata =
36149
36308
  io.flow.internal.v0.models.RestrictionKeywordMetadata;
36150
36309
  export type RestrictionKeywords =
@@ -36165,6 +36324,8 @@ export type RestrictionProductDecisionForm =
36165
36324
  io.flow.internal.v0.models.RestrictionProductDecisionForm;
36166
36325
  export type RestrictionProductRequestForm =
36167
36326
  io.flow.internal.v0.models.RestrictionProductRequestForm;
36327
+ export type RestrictionProductSummary =
36328
+ io.flow.internal.v0.models.RestrictionProductSummary;
36168
36329
  export type RestrictionRule = io.flow.internal.v0.models.RestrictionRule;
36169
36330
  export type RestrictionRuleDecisionForm =
36170
36331
  io.flow.internal.v0.models.RestrictionRuleDecisionForm;
@@ -36300,6 +36461,8 @@ export type ShopifyMarketsOrderUpserted =
36300
36461
  io.flow.internal.v0.models.ShopifyMarketsOrderUpserted;
36301
36462
  export type ShopifyMarketsOrdersMetrics =
36302
36463
  io.flow.internal.v0.models.ShopifyMarketsOrdersMetrics;
36464
+ export type ShopifyMarketsQueuedRecord =
36465
+ io.flow.internal.v0.models.ShopifyMarketsQueuedRecord;
36303
36466
  export type ShopifyMarketsQueuedRecordType =
36304
36467
  io.flow.internal.v0.enums.ShopifyMarketsQueuedRecordType;
36305
36468
  export type ShopifyMarketsShop = io.flow.internal.v0.models.ShopifyMarketsShop;
@@ -36440,6 +36603,8 @@ export type ShopifyWebhookEvent =
36440
36603
  export type ShopifyWebhookForm = io.flow.internal.v0.models.ShopifyWebhookForm;
36441
36604
  export type ShopperFees = io.flow.internal.v0.models.ShopperFees;
36442
36605
  export type ShopperFreight = io.flow.internal.v0.models.ShopperFreight;
36606
+ export type ShopperLine = io.flow.internal.v0.models.ShopperLine;
36607
+ export type ShopperLines = io.flow.internal.v0.models.ShopperLines;
36443
36608
  export type ShopperSummary = io.flow.internal.v0.models.ShopperSummary;
36444
36609
  export type SignificanceAction = io.flow.internal.v0.enums.SignificanceAction;
36445
36610
  export type SimpleAccountReference =
@@ -36665,8 +36830,7 @@ export type TransferTransactionUpserted =
36665
36830
  export type TransferTransactionUpsertedV2 =
36666
36831
  io.flow.internal.v0.models.TransferTransactionUpsertedV2;
36667
36832
  export type Tribe = io.flow.internal.v0.models.Tribe;
36668
- export type TrueUpLabelSummary = io.flow.internal.v0.models.TrueUpLabelSummary;
36669
- export type TrueUpSurchargeType = io.flow.internal.v0.enums.TrueUpSurchargeType;
36833
+ export type TrueupLabelSummary = io.flow.internal.v0.models.TrueupLabelSummary;
36670
36834
  export type TrueupTransaction = io.flow.internal.v0.models.TrueupTransaction;
36671
36835
  export type TrueupTransactionType =
36672
36836
  io.flow.internal.v0.enums.TrueupTransactionType;
@@ -36689,11 +36853,6 @@ export type UnharmonizedItemsExport =
36689
36853
  export type UnphrasedProductsExport =
36690
36854
  io.flow.internal.v0.models.UnphrasedProductsExport;
36691
36855
  export type Ups = io.flow.internal.v0.models.Ups;
36692
- export type UpsLicense = io.flow.internal.v0.models.UpsLicense;
36693
- export type UpsLicenseForm = io.flow.internal.v0.models.UpsLicenseForm;
36694
- export type UpsRegistration = io.flow.internal.v0.models.UpsRegistration;
36695
- export type UpsRegistrationForm =
36696
- io.flow.internal.v0.models.UpsRegistrationForm;
36697
36856
  export type UsdSpotRate = io.flow.internal.v0.models.UsdSpotRate;
36698
36857
  export type UsdSpotRateDeleted = io.flow.internal.v0.models.UsdSpotRateDeleted;
36699
36858
  export type UsdSpotRateUpserted =
@@ -36731,7 +36890,5 @@ export type WasteElectricalAndElectronicEquipmentComplianceData =
36731
36890
  export type WasteElectricalAndElectronicEquipmentComplianceForm =
36732
36891
  io.flow.internal.v0.models.WasteElectricalAndElectronicEquipmentComplianceForm;
36733
36892
  export type Webhook = io.flow.internal.v0.models.Webhook;
36734
- export type WeightsDead = io.flow.internal.v0.models.WeightsDead;
36735
- export type WeightsDimensional = io.flow.internal.v0.models.WeightsDimensional;
36736
36893
  export type WholeOrderActionForm =
36737
36894
  io.flow.internal.v0.models.WholeOrderActionForm;