@flowio/types 11.24.73 → 11.24.75

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.
@@ -105,75 +105,14 @@ declare namespace io.flow.RESERVED_WORD_return.v0.unions {
105
105
  | io.flow.RESERVED_WORD_return.v0.models.ReturnSourceExternalVendor;
106
106
  }
107
107
 
108
- declare namespace io.flow.units.v0.enums {
109
- type UnitOfLength = 'millimeter' | 'centimeter' | 'inch' | 'foot' | 'meter';
110
- type UnitOfVolume = 'cubic_inch' | 'cubic_meter';
111
- type UnitOfWeight = 'gram' | 'kilogram' | 'ounce' | 'pound';
112
- }
113
-
114
- declare namespace io.flow.order.price.v0.enums {
115
- type OrderPriceDetailComponentKey =
116
- | 'adjustment'
117
- | 'vat_deminimis'
118
- | 'duty_deminimis'
119
- | 'duties_item_price'
120
- | 'duties_freight'
121
- | 'duties_insurance'
122
- | 'vat_item_price'
123
- | 'vat_freight'
124
- | 'vat_insurance'
125
- | 'vat_duties_item_price'
126
- | 'vat_duties_freight'
127
- | 'vat_duties_insurance'
128
- | 'item_price'
129
- | 'item_discount'
130
- | 'rounding'
131
- | 'insurance'
132
- | 'shipping'
133
- | 'shipping_discount'
134
- | 'order_discount'
135
- | 'subtotal_percent_sales_margin'
136
- | 'subtotal_vat_percent_sales_margin'
137
- | 'subtotal_duty_percent_sales_margin'
138
- | 'vat_subsidy'
139
- | 'duty_subsidy'
140
- | 'remote_area_surcharge'
141
- | 'fuel_surcharge'
142
- | 'emergency_situation_surcharge'
143
- | 'peak_surcharge'
144
- | 'duties_taxes_paid_surcharge';
145
- type OrderPriceDetailKey =
146
- | 'adjustment'
147
- | 'subtotal'
148
- | 'vat'
149
- | 'duty'
150
- | 'shipping'
151
- | 'insurance'
152
- | 'discount'
153
- | 'surcharges';
108
+ declare namespace io.flow.error.v0.enums {
109
+ type GenericErrorCode = 'generic_error' | 'client_error' | 'server_error';
154
110
  }
155
111
 
156
- declare namespace io.flow.order.price.v0.models {
157
- interface OrderPriceDetail {
158
- readonly key: io.flow.order.price.v0.enums.OrderPriceDetailKey;
159
- readonly currency: string;
160
- readonly amount: number;
161
- readonly label: string;
162
- readonly base: io.flow.common.v0.models.Price;
163
- readonly components: io.flow.order.price.v0.models.OrderPriceDetailComponent[];
164
- readonly name?: string;
165
- readonly rate?: number;
166
- readonly accuracy?: io.flow.price.v0.enums.PriceAccuracy;
167
- readonly rate_label?: string;
168
- }
169
-
170
- interface OrderPriceDetailComponent {
171
- readonly key: io.flow.order.price.v0.enums.OrderPriceDetailComponentKey;
172
- readonly currency: string;
173
- readonly amount: number;
174
- readonly label: string;
175
- readonly base: io.flow.common.v0.models.Price;
176
- readonly name?: string;
112
+ declare namespace io.flow.error.v0.models {
113
+ interface GenericError {
114
+ readonly code: io.flow.error.v0.enums.GenericErrorCode;
115
+ readonly messages: string[];
177
116
  }
178
117
  }
179
118
 
@@ -242,140 +181,6 @@ declare namespace io.flow.channel.v0.models {
242
181
  }
243
182
  }
244
183
 
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
184
  declare namespace io.flow.invoice.v0.enums {
380
185
  type PaymentTerm = 'net7' | 'net15' | 'net30';
381
186
  }
@@ -1656,6 +1461,7 @@ declare namespace io.flow.payment.v0.models {
1656
1461
  readonly processor: string;
1657
1462
  readonly operation_identifier?: io.flow.payment.v0.models.PaymentProcessorIdentifier;
1658
1463
  readonly account?: io.flow.payment.v0.models.PaymentProcessorAccount;
1464
+ readonly transaction_details?: io.flow.payment.v0.unions.PaymentProcessorTransactionDetails;
1659
1465
  }
1660
1466
 
1661
1467
  interface PaymentProcessorAccount {
@@ -1680,6 +1486,17 @@ declare namespace io.flow.payment.v0.models {
1680
1486
  readonly processor: string;
1681
1487
  }
1682
1488
 
1489
+ interface PaymentProcessorTransactionDetailsCard {
1490
+ readonly discriminator: 'card';
1491
+ readonly transaction_identifier?: string;
1492
+ readonly method_type?: string;
1493
+ readonly result_status?: string;
1494
+ readonly reason_code?: string;
1495
+ readonly avs_result_code?: string;
1496
+ readonly cvv_result_code?: string;
1497
+ readonly threeds_result_code?: string;
1498
+ }
1499
+
1683
1500
  interface PaymentReference {
1684
1501
  readonly id: string;
1685
1502
  }
@@ -2062,6 +1879,8 @@ declare namespace io.flow.payment.v0.unions {
2062
1879
  type PaymentOrderReference =
2063
1880
  | io.flow.payment.v0.models.AuthorizationOrderReference
2064
1881
  | io.flow.payment.v0.models.PaymentPaymentRequestReference;
1882
+ type PaymentProcessorTransactionDetails =
1883
+ io.flow.payment.v0.models.PaymentProcessorTransactionDetailsCard;
2065
1884
  type PaymentSource = io.flow.payment.v0.models.CardPaymentSource;
2066
1885
  type PaymentSourceForm = io.flow.payment.v0.models.CardPaymentSourceForm;
2067
1886
  type ThreedsChallengeAction =
@@ -2533,9 +2352,8 @@ declare namespace io.flow.billing.csv.v0.models {
2533
2352
  readonly id: string;
2534
2353
  readonly type: io.flow.billing.internal.v0.enums.BillingTransactionType;
2535
2354
  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;
2355
+ readonly metadata?: io.flow.billing.csv.v0.models.BillingCsvTransactionMetadata;
2356
+ readonly order?: io.flow.billing.csv.v0.models.BillingCsvTransactionOrderSummary;
2539
2357
  readonly currency: string;
2540
2358
  readonly source: io.flow.billing.v0.enums.TransactionSource;
2541
2359
  readonly parent?: io.flow.billing.v0.models.ParentTransactionSummary;
@@ -2544,7 +2362,7 @@ declare namespace io.flow.billing.csv.v0.models {
2544
2362
  readonly withholdings: io.flow.billing.csv.v0.models.BillingCsvTransactionWithholdings;
2545
2363
  readonly discount: io.flow.billing.csv.v0.models.BillingCsvTransactionDiscount;
2546
2364
  readonly net: number;
2547
- readonly identifiers: Record<string, string>;
2365
+ readonly identifiers: io.flow.billing.csv.v0.models.BillingCsvTransactionIdentifiers;
2548
2366
  readonly created_at: string;
2549
2367
  readonly updated_at: string;
2550
2368
  }
@@ -2575,6 +2393,45 @@ declare namespace io.flow.billing.csv.v0.models {
2575
2393
  readonly transfer: number;
2576
2394
  }
2577
2395
 
2396
+ interface BillingCsvTransactionIdentifiers {
2397
+ readonly reference_id?: string;
2398
+ }
2399
+
2400
+ interface BillingCsvTransactionMetadata {
2401
+ readonly channel?: io.flow.billing.csv.v0.models.BillingCsvTransactionMetadataChannel;
2402
+ readonly shipping_label?: io.flow.billing.csv.v0.models.BillingCsvTransactionMetadataShippingLabel;
2403
+ readonly trueup?: io.flow.billing.csv.v0.models.BillingCsvTransactionMetadataTrueup;
2404
+ readonly manual?: io.flow.billing.csv.v0.models.BillingCsvTransactionMetadataManual;
2405
+ }
2406
+
2407
+ interface BillingCsvTransactionMetadataChannel {
2408
+ readonly method: string;
2409
+ readonly card?: io.flow.billing.v0.models.TransactionMetadataChannelCardMetadata;
2410
+ }
2411
+
2412
+ interface BillingCsvTransactionMetadataManual {
2413
+ readonly original?: io.flow.billing.v0.models.TransactionMetadataOriginalTransaction;
2414
+ readonly url?: string;
2415
+ }
2416
+
2417
+ interface BillingCsvTransactionMetadataShippingLabel {
2418
+ readonly request_method?: io.flow.label.v0.enums.LabelRequestMethod;
2419
+ }
2420
+
2421
+ interface BillingCsvTransactionMetadataTrueup {
2422
+ readonly original: io.flow.billing.v0.models.TransactionMetadataOriginalTransaction;
2423
+ }
2424
+
2425
+ interface BillingCsvTransactionOrderSummary {
2426
+ readonly organization: io.flow.common.v0.models.OrganizationReference;
2427
+ readonly number: string;
2428
+ readonly identifiers: io.flow.billing.csv.v0.models.BillingCsvTransactionOrderSummaryIdentifiers;
2429
+ }
2430
+
2431
+ interface BillingCsvTransactionOrderSummaryIdentifiers {
2432
+ readonly shopify_order_id?: string;
2433
+ }
2434
+
2578
2435
  interface BillingCsvTransactionWithholdings {
2579
2436
  readonly tax: number;
2580
2437
  readonly duty: number;
@@ -3265,6 +3122,7 @@ declare namespace io.flow.stripe.v0.models {
3265
3122
  readonly status: io.flow.stripe.v0.enums.PaymentIntentStatus;
3266
3123
  readonly transfer_data?: io.flow.stripe.v0.models.TransferData;
3267
3124
  readonly transfer_group?: string;
3125
+ readonly shipping?: io.flow.stripe.v0.models.PaymentIntentShipping;
3268
3126
  }
3269
3127
 
3270
3128
  interface PaymentIntentCancellationForm {
@@ -3321,6 +3179,13 @@ declare namespace io.flow.stripe.v0.models {
3321
3179
  readonly statement_descriptor_suffix?: string;
3322
3180
  readonly transfer_data?: io.flow.stripe.v0.models.TransferData;
3323
3181
  readonly transfer_group?: string;
3182
+ readonly shipping?: io.flow.stripe.v0.models.PaymentIntentShipping;
3183
+ }
3184
+
3185
+ interface PaymentIntentShipping {
3186
+ readonly address: io.flow.stripe.v0.models.Address;
3187
+ readonly name: string;
3188
+ readonly phone?: string;
3324
3189
  }
3325
3190
 
3326
3191
  interface PaymentIntentUpdateForm {
@@ -3437,6 +3302,7 @@ declare namespace io.flow.stripe.v0.models {
3437
3302
  readonly network?: string;
3438
3303
  readonly request_three_d_secure?: io.flow.stripe.v0.enums.RequestThreeDSecureType;
3439
3304
  readonly stored_credential_transaction_type?: io.flow.stripe.v0.enums.StoredCredentialTransactionType;
3305
+ readonly mcc?: string;
3440
3306
  }
3441
3307
 
3442
3308
  interface PaymentOutcome {
@@ -3973,9 +3839,9 @@ declare namespace io.flow.label.v0.models {
3973
3839
  }
3974
3840
 
3975
3841
  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[];
3842
+ readonly units: io.flow.trueup.v0.models.LabelUnits;
3843
+ readonly base: io.flow.trueup.v0.models.LabelBase;
3844
+ readonly surcharges: io.flow.trueup.v0.models.LabelSurcharge[];
3979
3845
  }
3980
3846
 
3981
3847
  interface ShippingLabelHopSummary {
@@ -3987,6 +3853,7 @@ declare namespace io.flow.label.v0.models {
3987
3853
  interface ShippingLabelLaneSummary {
3988
3854
  readonly id?: string;
3989
3855
  readonly ratecard: io.flow.label.v0.models.ShippingLabelRatecardSummary;
3856
+ readonly weight_break?: number;
3990
3857
  }
3991
3858
 
3992
3859
  interface ShippingLabelPackage {
@@ -4261,6 +4128,29 @@ declare namespace io.flow.external.paypal.v1.enums {
4261
4128
  | 'UNDER_REVIEW'
4262
4129
  | 'RESOLVED'
4263
4130
  | 'OTHER';
4131
+ type EventType =
4132
+ | 'PAYMENT.AUTHORIZATION.CREATED'
4133
+ | 'PAYMENT.AUTHORIZATION.VOIDED'
4134
+ | 'PAYMENT.CAPTURE.DECLINED'
4135
+ | 'PAYMENT.CAPTURE.COMPLETED'
4136
+ | 'PAYMENT.CAPTURE.PENDING'
4137
+ | 'PAYMENT.CAPTURE.REVERSED'
4138
+ | 'PAYMENT.CAPTURE.DENIED'
4139
+ | 'PAYMENT.ORDER.CANCELLED'
4140
+ | 'PAYMENT.ORDER.CREATED'
4141
+ | 'PAYMENT.SALE.COMPLETED'
4142
+ | 'PAYMENT.SALE.DENIED'
4143
+ | 'PAYMENT.SALE.PENDING'
4144
+ | 'PAYMENT.SALE.REFUNDED'
4145
+ | 'PAYMENT.SALE.REVERSED'
4146
+ | 'PAYMENTS.PAYMENT.CREATED'
4147
+ | 'CHECKOUT.ORDER.APPROVED'
4148
+ | 'CHECKOUT.CHECKOUT.BUYER-APPROVED'
4149
+ | 'CHECKOUT.ORDER.COMPLETED'
4150
+ | 'CUSTOMER.DISPUTE.CREATED'
4151
+ | 'CUSTOMER.DISPUTE.RESOLVED'
4152
+ | 'CUSTOMER.DISPUTE.UPDATED'
4153
+ | 'CHECKOUT.PAYMENT-APPROVAL.REVERSED';
4264
4154
  type EvidenceType =
4265
4155
  | 'PROOF_OF_FULFILLMENT'
4266
4156
  | 'PROOF_OF_REFUND'
@@ -4380,6 +4270,12 @@ declare namespace io.flow.external.paypal.v1.enums {
4380
4270
  | 'EMPTY_PACKAGE_OR_DIFFERENT'
4381
4271
  | 'MISSING_ITEMS';
4382
4272
  type ReturnMode = 'SHIPPED' | 'IN_PERSON';
4273
+ type SaleState =
4274
+ | 'pending'
4275
+ | 'completed'
4276
+ | 'denied'
4277
+ | 'partially_refunded'
4278
+ | 'refunded';
4383
4279
  type ServiceStarted = 'YES' | 'NO' | 'RETURNED';
4384
4280
  type ShippingDisplayPreference =
4385
4281
  | 'NO_SHIPPING'
@@ -4742,24 +4638,24 @@ declare namespace io.flow.external.paypal.v1.models {
4742
4638
 
4743
4639
  interface Refund {
4744
4640
  readonly id: string;
4745
- readonly amount: io.flow.external.paypal.v1.models.RefundAmount;
4641
+ readonly amount?: io.flow.external.paypal.v1.models.SimpleAmount;
4746
4642
  readonly state: io.flow.external.paypal.v1.enums.RefundState;
4747
4643
  readonly sale_id: string;
4748
- readonly invoice_number: string;
4644
+ readonly invoice_number?: string;
4749
4645
  readonly capture_id?: string;
4750
4646
  readonly parent_payment?: string;
4751
4647
  readonly reason_code?: string;
4752
4648
  readonly refund_reason_code?: string;
4753
4649
  readonly refund_funding_type?: string;
4754
- readonly create_time: string;
4650
+ readonly refund_from_received_amount?: io.flow.external.paypal.v1.models.Money;
4651
+ readonly refund_from_transaction_fee?: io.flow.external.paypal.v1.models.Money;
4652
+ readonly total_refunded_amount?: io.flow.external.paypal.v1.models.Money;
4653
+ readonly refund_to_payer?: io.flow.external.paypal.v1.models.Money;
4654
+ readonly custom?: string;
4655
+ readonly create_time?: string;
4755
4656
  readonly update_time?: string;
4756
4657
  }
4757
4658
 
4758
- interface RefundAmount {
4759
- readonly total: string;
4760
- readonly currency: string;
4761
- }
4762
-
4763
4659
  interface RefundDetails {
4764
4660
  readonly allowed_refund_amount?: io.flow.external.paypal.v1.models.Money;
4765
4661
  }
@@ -4769,7 +4665,7 @@ declare namespace io.flow.external.paypal.v1.models {
4769
4665
  }
4770
4666
 
4771
4667
  interface RefundRequest {
4772
- readonly amount: io.flow.external.paypal.v1.models.RefundAmount;
4668
+ readonly amount: io.flow.external.paypal.v1.models.SimpleAmount;
4773
4669
  readonly invoice_number: string;
4774
4670
  }
4775
4671
 
@@ -4781,6 +4677,28 @@ declare namespace io.flow.external.paypal.v1.models {
4781
4677
  readonly returned?: boolean;
4782
4678
  }
4783
4679
 
4680
+ interface Sale {
4681
+ readonly id: string;
4682
+ readonly state: io.flow.external.paypal.v1.enums.SaleState;
4683
+ readonly parent_payment: string;
4684
+ readonly invoice_number?: string;
4685
+ readonly amount?: io.flow.external.paypal.v1.models.SimpleAmount;
4686
+ readonly payment_mode?: string;
4687
+ readonly reason_code?: string;
4688
+ readonly protection_eligibility?: string;
4689
+ readonly protection_eligibility_type?: string;
4690
+ readonly receipt_id?: string;
4691
+ readonly soft_descriptor?: string;
4692
+ readonly exchange_rate?: string;
4693
+ readonly payment_hold_status?: string;
4694
+ readonly payment_hold_reasons?: string[];
4695
+ readonly transaction_fee?: io.flow.external.paypal.v1.models.Money;
4696
+ readonly receivable_amount?: io.flow.external.paypal.v1.models.Money;
4697
+ readonly custom?: string;
4698
+ readonly create_time?: string;
4699
+ readonly update_time?: string;
4700
+ }
4701
+
4784
4702
  interface Seller {
4785
4703
  readonly email?: string;
4786
4704
  readonly merchant_id?: string;
@@ -4806,6 +4724,11 @@ declare namespace io.flow.external.paypal.v1.models {
4806
4724
  readonly state?: string;
4807
4725
  }
4808
4726
 
4727
+ interface SimpleAmount {
4728
+ readonly total: string;
4729
+ readonly currency: string;
4730
+ }
4731
+
4809
4732
  interface SupportingInfo {
4810
4733
  readonly notes?: string;
4811
4734
  readonly source?: io.flow.external.paypal.v1.enums.SupportingInfoSource;
@@ -5227,6 +5150,241 @@ declare namespace io.flow.brickftp.v0.unions {
5227
5150
  | io.flow.brickftp.v0.models.FileSummary;
5228
5151
  }
5229
5152
 
5153
+ declare namespace io.flow.units.v0.enums {
5154
+ type UnitOfLength = 'millimeter' | 'centimeter' | 'inch' | 'foot' | 'meter';
5155
+ type UnitOfVolume = 'cubic_inch' | 'cubic_meter';
5156
+ type UnitOfWeight = 'gram' | 'kilogram' | 'ounce' | 'pound';
5157
+ }
5158
+
5159
+ declare namespace io.flow.shopify.markets.internal.v0.enums {
5160
+ type AnyDangerousGoods = 'yes' | 'no' | 'i_dont_know';
5161
+ type ApiCallReferenceId =
5162
+ | 'duty_rates_data_event'
5163
+ | 'integration_test'
5164
+ | 'unit_test';
5165
+ type ChannelOrderFulfillmentStatusCode =
5166
+ | 'unfulfilled'
5167
+ | 'fulfilled'
5168
+ | 'partial'
5169
+ | 'cancelled';
5170
+ type ProductStatus = 'active' | 'archived' | 'draft';
5171
+ type ShopifyMarketsDangerousGoods =
5172
+ | 'aerosols'
5173
+ | 'air_bag_inflators_or_seat_belt_pretensioners'
5174
+ | 'alcoholic_beverages_containing_more_than_24_percent_alcohol_by_volume'
5175
+ | 'batteries'
5176
+ | 'carbon_dioxide_or_dry_ice'
5177
+ | 'corrosives'
5178
+ | 'cannabidiol_products'
5179
+ | 'cologne_or_perfume'
5180
+ | 'currency_or_gift_cards_or_monetary_instruments'
5181
+ | 'exotic_leather_goods'
5182
+ | 'environmental_waste'
5183
+ | 'explosives_or_ammunition'
5184
+ | 'flammable_liquids'
5185
+ | 'gases'
5186
+ | 'hazardous_or_combustible_materials'
5187
+ | 'infectious_or_biological_substances'
5188
+ | 'knives'
5189
+ | 'matches_or_lighter_or_lighter_refills'
5190
+ | 'nail_polish'
5191
+ | 'oxidizing_materials_or_organic_peroxides'
5192
+ | 'pornography'
5193
+ | 'prohibited_carriage'
5194
+ | 'pesticides_or_toxic_herbicides_or_insecticides_or_poisonous_toxic_substances';
5195
+ type ShopifyMarketsHtsNumberAvailable = 'yes' | 'no' | 'i_dont_know';
5196
+ type ShopifyMarketsTradeSector =
5197
+ | 'apparel_and_accessories'
5198
+ | 'beauty_and_cosmetics'
5199
+ | 'electronics'
5200
+ | 'food_or_perishables'
5201
+ | 'jewellery_and_watches'
5202
+ | 'paper_and_art'
5203
+ | 'sports_and_fitness'
5204
+ | 'toys_hobbies_gifts'
5205
+ | 'other';
5206
+ }
5207
+
5208
+ declare namespace io.flow.shopify.markets.internal.v0.models {
5209
+ interface CatalogPublicationSyncValidationError {
5210
+ readonly message: string;
5211
+ readonly reason: string;
5212
+ readonly next_action_from: io.flow.channel.internal.v0.enums.ChannelOrderAcceptanceNextActionFrom;
5213
+ }
5214
+
5215
+ interface ChannelOrderSummary {
5216
+ readonly id: string;
5217
+ readonly organization: io.flow.common.v0.models.OrganizationReference;
5218
+ readonly external_order_reference: string;
5219
+ readonly order_number: string;
5220
+ readonly fulfullment_details: io.flow.shopify.markets.internal.v0.models.ChannelOrderSummaryFulfillmentDetails;
5221
+ }
5222
+
5223
+ interface ChannelOrderSummaryFulfillmentDetails {
5224
+ readonly fulfillment_status: io.flow.shopify.markets.internal.v0.enums.ChannelOrderFulfillmentStatusCode;
5225
+ readonly timestamp: string;
5226
+ }
5227
+
5228
+ interface FlowShopValidationError {
5229
+ readonly message: string;
5230
+ readonly reason: string;
5231
+ readonly next_action_from: io.flow.channel.internal.v0.enums.ChannelOrderAcceptanceNextActionFrom;
5232
+ }
5233
+
5234
+ interface GenericValidationError {
5235
+ readonly message: string;
5236
+ readonly reason: string;
5237
+ readonly next_action_from: io.flow.channel.internal.v0.enums.ChannelOrderAcceptanceNextActionFrom;
5238
+ }
5239
+
5240
+ interface MarketsOrder {
5241
+ readonly shopify_order: io.flow.shopify.markets.v0.models.ShopifyOrder;
5242
+ readonly flow_authorization?: io.flow.payment.v0.unions.Authorization;
5243
+ }
5244
+
5245
+ interface OrderValidationError {
5246
+ readonly message: string;
5247
+ readonly reason: io.flow.channel.internal.v0.enums.ChannelOrderAcceptanceRejectionReason;
5248
+ readonly action?: io.flow.channel.internal.v0.enums.ChannelOrderAcceptanceErrorAction;
5249
+ readonly next_action_from: io.flow.channel.internal.v0.enums.ChannelOrderAcceptanceNextActionFrom;
5250
+ }
5251
+
5252
+ interface ProductRestrictionResultValidationError {
5253
+ readonly message: string;
5254
+ readonly reason: string;
5255
+ readonly next_action_from: io.flow.channel.internal.v0.enums.ChannelOrderAcceptanceNextActionFrom;
5256
+ }
5257
+
5258
+ interface ShippingLane {
5259
+ readonly origin: string;
5260
+ readonly destination: string;
5261
+ }
5262
+
5263
+ interface ShopifyMarketsDiscrepancy {
5264
+ readonly organization_id: string;
5265
+ readonly count: number;
5266
+ }
5267
+
5268
+ interface ShopifyMarketsDiscrepancyData {
5269
+ readonly total_count: number;
5270
+ readonly discrepancies: io.flow.shopify.markets.internal.v0.models.ShopifyMarketsDiscrepancy[];
5271
+ }
5272
+
5273
+ interface ShopifyMarketsIncorporationCountry {
5274
+ readonly country: string;
5275
+ readonly state?: string;
5276
+ readonly province?: string;
5277
+ readonly jurisdiction?: string;
5278
+ }
5279
+
5280
+ interface ShopifyMarketsInternalOrderMetrics {
5281
+ readonly total_order_count: number;
5282
+ }
5283
+
5284
+ interface ShopifyMarketsOrdersMetrics {
5285
+ readonly id: string;
5286
+ readonly range: io.flow.common.v0.models.DatetimeRange;
5287
+ readonly shopify: io.flow.shopify.markets.internal.v0.models.ShopifyMarketsShopifyOrderMetrics;
5288
+ readonly internal: io.flow.shopify.markets.internal.v0.models.ShopifyMarketsInternalOrderMetrics;
5289
+ readonly discrepancy_data: io.flow.shopify.markets.internal.v0.models.ShopifyMarketsDiscrepancyData;
5290
+ }
5291
+
5292
+ interface ShopifyMarketsQueuedRecord {
5293
+ readonly id: string;
5294
+ readonly type: string;
5295
+ readonly type_id: string;
5296
+ readonly organization_id: string;
5297
+ readonly environment?: string;
5298
+ readonly num_attempts: number;
5299
+ readonly next_attempt_at: string;
5300
+ readonly errors?: string[];
5301
+ readonly stacktrace?: string;
5302
+ }
5303
+
5304
+ interface ShopifyMarketsShop {
5305
+ readonly id: string;
5306
+ readonly shopify_shop_id?: string;
5307
+ readonly channel: io.flow.common.v0.models.ChannelReference;
5308
+ readonly domain: string;
5309
+ readonly myshopify_domain: string;
5310
+ readonly organization_id: string;
5311
+ readonly shop: string;
5312
+ readonly created_at: string;
5313
+ readonly shared_secret_masked: string;
5314
+ readonly api_key_masked?: string;
5315
+ readonly api_password_masked?: string;
5316
+ readonly access_token_masked?: string;
5317
+ }
5318
+
5319
+ interface ShopifyMarketsShopForm {
5320
+ readonly shop: string;
5321
+ readonly domain: string;
5322
+ readonly myshopify_domain: string;
5323
+ readonly shared_secret: string;
5324
+ readonly api_key?: string;
5325
+ readonly api_password?: string;
5326
+ readonly access_token?: string;
5327
+ }
5328
+
5329
+ interface ShopifyMarketsShopSummary {
5330
+ readonly organization: io.flow.common.v0.models.OrganizationSummary;
5331
+ readonly channel: io.flow.common.v0.models.ChannelReference;
5332
+ }
5333
+
5334
+ interface ShopifyMarketsShopifyOrderMetrics {
5335
+ readonly total_order_count: number;
5336
+ }
5337
+
5338
+ interface ShopifyMarketsSubsidiaryCompany {
5339
+ readonly legal_name?: string;
5340
+ readonly incorporation_country?: io.flow.shopify.markets.internal.v0.models.ShopifyMarketsIncorporationCountry;
5341
+ }
5342
+
5343
+ interface ShopifyMarketsSync {
5344
+ readonly force_resync?: boolean;
5345
+ }
5346
+
5347
+ interface ShopifyMarketsWebhookRegistration {
5348
+ readonly id: string;
5349
+ readonly response: io.flow.shopify.markets.v0.models.ShopifyWebhookResponse;
5350
+ }
5351
+
5352
+ interface ShopifyOrderCancelForm {
5353
+ readonly note?: string;
5354
+ }
5355
+
5356
+ interface ShopifyOrderCancelResponse {
5357
+ readonly shopify_order_cancellation_id: string;
5358
+ readonly shopify_order_id: number;
5359
+ readonly message: string;
5360
+ }
5361
+
5362
+ interface ShopifyOrderDestinationForm {
5363
+ readonly destination: io.flow.common.v0.models.Address;
5364
+ }
5365
+
5366
+ interface ShopifyShopStatistics {
5367
+ readonly id: string;
5368
+ readonly initial_catalog_synced_at?: string;
5369
+ readonly catalog_sync_duration?: number;
5370
+ readonly catalog_products_count?: number;
5371
+ }
5372
+
5373
+ interface ThirdPartyLogisticsPartner {
5374
+ readonly warehouse_address: io.flow.common.v0.models.BillingAddress;
5375
+ readonly warehouse_url?: string;
5376
+ }
5377
+
5378
+ interface ThirdPartyLogisticsPickUpTimeWindow {
5379
+ readonly from: string;
5380
+ readonly to: string;
5381
+ }
5382
+
5383
+ interface Webhook {
5384
+ readonly placeholder?: any /*json*/;
5385
+ }
5386
+ }
5387
+
5230
5388
  declare namespace io.flow.consumer.invoice.v0.enums {
5231
5389
  type B2BInvoiceType = 'self_bill_invoice' | 'invoice';
5232
5390
  type ConsumerInvoiceCustomerType =
@@ -7096,7 +7254,8 @@ declare namespace io.flow.shopify.markets.v0.enums {
7096
7254
  | 'direct'
7097
7255
  | 'manual'
7098
7256
  | 'offsite'
7099
- | 'express';
7257
+ | 'express'
7258
+ | 'deferred_payment';
7100
7259
  type ShopifyOrderRestockType = 'no_restock' | 'cancel' | 'return';
7101
7260
  type ShopifyOrderStatusType = 'open' | 'closed' | 'cancelled' | 'any';
7102
7261
  type ShopifyOrderTransactionErrorCode =
@@ -8802,6 +8961,159 @@ declare namespace io.flow.payment.gateway.v0.unions {
8802
8961
  | io.flow.payment.gateway.v0.models.AdyenV3ChallengeToken;
8803
8962
  }
8804
8963
 
8964
+ declare namespace io.flow.order.price.v0.enums {
8965
+ type OrderPriceDetailComponentKey =
8966
+ | 'adjustment'
8967
+ | 'vat_deminimis'
8968
+ | 'duty_deminimis'
8969
+ | 'duties_item_price'
8970
+ | 'duties_freight'
8971
+ | 'duties_insurance'
8972
+ | 'vat_item_price'
8973
+ | 'vat_freight'
8974
+ | 'vat_insurance'
8975
+ | 'vat_duties_item_price'
8976
+ | 'vat_duties_freight'
8977
+ | 'vat_duties_insurance'
8978
+ | 'item_price'
8979
+ | 'item_discount'
8980
+ | 'rounding'
8981
+ | 'insurance'
8982
+ | 'shipping'
8983
+ | 'shipping_discount'
8984
+ | 'order_discount'
8985
+ | 'subtotal_percent_sales_margin'
8986
+ | 'subtotal_vat_percent_sales_margin'
8987
+ | 'subtotal_duty_percent_sales_margin'
8988
+ | 'vat_subsidy'
8989
+ | 'duty_subsidy'
8990
+ | 'remote_area_surcharge'
8991
+ | 'fuel_surcharge'
8992
+ | 'emergency_situation_surcharge'
8993
+ | 'peak_surcharge'
8994
+ | 'duties_taxes_paid_surcharge';
8995
+ type OrderPriceDetailKey =
8996
+ | 'adjustment'
8997
+ | 'subtotal'
8998
+ | 'vat'
8999
+ | 'duty'
9000
+ | 'shipping'
9001
+ | 'insurance'
9002
+ | 'discount'
9003
+ | 'surcharges';
9004
+ }
9005
+
9006
+ declare namespace io.flow.order.price.v0.models {
9007
+ interface OrderPriceDetail {
9008
+ readonly key: io.flow.order.price.v0.enums.OrderPriceDetailKey;
9009
+ readonly currency: string;
9010
+ readonly amount: number;
9011
+ readonly label: string;
9012
+ readonly base: io.flow.common.v0.models.Price;
9013
+ readonly components: io.flow.order.price.v0.models.OrderPriceDetailComponent[];
9014
+ readonly name?: string;
9015
+ readonly rate?: number;
9016
+ readonly accuracy?: io.flow.price.v0.enums.PriceAccuracy;
9017
+ readonly rate_label?: string;
9018
+ }
9019
+
9020
+ interface OrderPriceDetailComponent {
9021
+ readonly key: io.flow.order.price.v0.enums.OrderPriceDetailComponentKey;
9022
+ readonly currency: string;
9023
+ readonly amount: number;
9024
+ readonly label: string;
9025
+ readonly base: io.flow.common.v0.models.Price;
9026
+ readonly name?: string;
9027
+ }
9028
+ }
9029
+
9030
+ declare namespace io.flow.channel.internal.v0.enums {
9031
+ type ChannelOrderAcceptanceErrorAction = 'auto_reject' | 'auto_accept';
9032
+ type ChannelOrderAcceptanceNextActionFrom =
9033
+ | 'cx_team'
9034
+ | 'core_team'
9035
+ | 'core_team_investigate'
9036
+ | 'mex_team'
9037
+ | 'payments_team'
9038
+ | 'tc_team'
9039
+ | 'logistics_team';
9040
+ type ChannelOrderAcceptanceRejectionReason =
9041
+ | 'unsupported_origin_country'
9042
+ | 'unsupported_destination_country'
9043
+ | 'domestic_order'
9044
+ | 'order_contains_gift_card'
9045
+ | 'order_contains_restricted_goods'
9046
+ | 'missing_order_information'
9047
+ | 'unsupported_payment_information'
9048
+ | 'unsupported_shop_currency'
9049
+ | 'unsupported_free_order'
9050
+ | 'extracting_distribution_info_failed'
9051
+ | 'shipping_estimation_failed'
9052
+ | 'payment_authorization_failed'
9053
+ | 'unsupported_subsidized_order'
9054
+ | 'unsupported_virtual_goods'
9055
+ | 'non_matching_currencies';
9056
+ type ChannelOrderAcceptanceStatus = 'accepted' | 'rejected' | 'review';
9057
+ }
9058
+
9059
+ declare namespace io.flow.channel.internal.v0.models {
9060
+ interface ChannelCurrencyForm {
9061
+ readonly currency: string;
9062
+ readonly channel_id: string;
9063
+ readonly capabilities: io.flow.channel.v0.enums.ChannelCurrencyCapability[];
9064
+ }
9065
+
9066
+ interface ChannelForm {
9067
+ readonly name: string;
9068
+ readonly environment: io.flow.common.v0.enums.Environment;
9069
+ readonly organization_id_prefix?: string;
9070
+ }
9071
+
9072
+ interface ChannelMembership {
9073
+ readonly id: string;
9074
+ readonly channel: io.flow.common.v0.models.ChannelReference;
9075
+ readonly user: io.flow.common.v0.unions.ExpandableUser;
9076
+ readonly role?: io.flow.common.v0.enums.Role;
9077
+ }
9078
+
9079
+ interface ChannelMembershipForm {
9080
+ readonly channel_id: string;
9081
+ readonly user_id: string;
9082
+ readonly role?: io.flow.common.v0.enums.Role;
9083
+ }
9084
+
9085
+ interface ChannelMembershipPutForm {
9086
+ readonly role?: io.flow.common.v0.enums.Role;
9087
+ }
9088
+
9089
+ interface ChannelOrderAcceptance {
9090
+ readonly id: string;
9091
+ readonly organization_id: string;
9092
+ readonly order_number: string;
9093
+ readonly channel_id: string;
9094
+ readonly external_order_reference: string;
9095
+ readonly payment_request_id?: string;
9096
+ readonly status: io.flow.channel.internal.v0.enums.ChannelOrderAcceptanceStatus;
9097
+ readonly reasons: io.flow.channel.internal.v0.models.ChannelOrderAcceptanceReason[];
9098
+ readonly next_action_from?: io.flow.channel.internal.v0.enums.ChannelOrderAcceptanceNextActionFrom;
9099
+ readonly order_created_at?: string;
9100
+ readonly order_updated_at?: string;
9101
+ }
9102
+
9103
+ interface ChannelOrderAcceptanceForm {
9104
+ readonly status: io.flow.channel.internal.v0.enums.ChannelOrderAcceptanceStatus;
9105
+ }
9106
+
9107
+ interface ChannelOrderAcceptanceReason {
9108
+ readonly description: string;
9109
+ readonly rejection_reason?: io.flow.channel.internal.v0.enums.ChannelOrderAcceptanceRejectionReason;
9110
+ }
9111
+
9112
+ interface FlowChannelOrganization {
9113
+ readonly placeholder?: string;
9114
+ }
9115
+ }
9116
+
8805
9117
  declare namespace io.flow.payment.internal.v0.enums {
8806
9118
  type AdyenIntegrationType =
8807
9119
  | 'hosted_payment_page'
@@ -10521,11 +10833,6 @@ declare namespace io.flow.billing.reporting.csv.v0.models {
10521
10833
  readonly debug_console_order_link: string;
10522
10834
  }
10523
10835
 
10524
- interface ReportingAddenda {
10525
- readonly allocation_order_totals_delta?: number;
10526
- readonly allocation_order_item_discount_delta?: number;
10527
- }
10528
-
10529
10836
  interface ReportingAuthorizationReference {
10530
10837
  readonly id: string;
10531
10838
  }
@@ -10555,7 +10862,16 @@ declare namespace io.flow.billing.reporting.csv.v0.models {
10555
10862
 
10556
10863
  interface ReportingDebug {
10557
10864
  readonly console_order_link: string;
10558
- readonly addenda?: io.flow.billing.reporting.csv.v0.models.ReportingAddenda;
10865
+ readonly allocation_order_totals_delta?: number;
10866
+ readonly allocation_order_item_discount_delta?: number;
10867
+ readonly missing_item_subsidies?: io.flow.billing.reporting.csv.v0.models.ReportingDebugMissingSubsidies;
10868
+ readonly missing_shipping_subsidies?: io.flow.billing.reporting.csv.v0.models.ReportingDebugMissingSubsidies;
10869
+ }
10870
+
10871
+ interface ReportingDebugMissingSubsidies {
10872
+ readonly price?: boolean;
10873
+ readonly tax?: boolean;
10874
+ readonly duty?: boolean;
10559
10875
  }
10560
10876
 
10561
10877
  interface ReportingDestination {
@@ -10642,6 +10958,14 @@ declare namespace io.flow.billing.reporting.csv.v0.models {
10642
10958
  readonly ccf: io.flow.billing.reporting.csv.v0.models.ReportingMonetaryValue;
10643
10959
  }
10644
10960
 
10961
+ interface ReportingMerchantTransactions {
10962
+ readonly adjustment: io.flow.billing.reporting.csv.v0.models.ReportingMonetaryValue;
10963
+ readonly reversal: io.flow.billing.reporting.csv.v0.models.ReportingMonetaryValue;
10964
+ readonly tax: io.flow.billing.reporting.csv.v0.models.ReportingMonetaryValue;
10965
+ readonly duty: io.flow.billing.reporting.csv.v0.models.ReportingMonetaryValue;
10966
+ readonly freight: io.flow.billing.reporting.csv.v0.models.ReportingMonetaryValue;
10967
+ }
10968
+
10645
10969
  interface ReportingMonetaryValue {
10646
10970
  readonly transaction: number;
10647
10971
  readonly merchant: number;
@@ -10712,6 +11036,7 @@ declare namespace io.flow.billing.reporting.csv.v0.models {
10712
11036
  readonly marked_as_final: io.flow.billing.reporting.csv.v0.models.MarkedAsFinal;
10713
11037
  readonly merchant_subsidies: io.flow.billing.reporting.csv.v0.models.ReportingMerchantSubsidies;
10714
11038
  readonly merchant_fees: io.flow.billing.reporting.csv.v0.models.ReportingMerchantFees;
11039
+ readonly merchant_transactions: io.flow.billing.reporting.csv.v0.models.ReportingMerchantTransactions;
10715
11040
  readonly vat_remittance: io.flow.billing.reporting.csv.v0.models.ReportingVatRemittance;
10716
11041
  readonly debug: io.flow.billing.reporting.csv.v0.models.ReportingDebug;
10717
11042
  }
@@ -10783,6 +11108,123 @@ declare namespace io.flow.order.management.event.v0.unions {
10783
11108
  | io.flow.order.management.event.v0.models.ReadyToFulfillV2;
10784
11109
  }
10785
11110
 
11111
+ declare namespace io.flow.shopify.markets.internal.event.v0.models {
11112
+ interface ChannelOrderSummaryDeleted {
11113
+ readonly discriminator: 'channel_order_summary_deleted';
11114
+ readonly event_id: string;
11115
+ readonly timestamp: string;
11116
+ readonly channel_id: string;
11117
+ readonly id: string;
11118
+ }
11119
+
11120
+ interface ChannelOrderSummaryUpserted {
11121
+ readonly discriminator: 'channel_order_summary_upserted';
11122
+ readonly event_id: string;
11123
+ readonly timestamp: string;
11124
+ readonly channel_id: string;
11125
+ readonly channel_order_summary: io.flow.shopify.markets.internal.v0.models.ChannelOrderSummary;
11126
+ }
11127
+
11128
+ interface ShopifyMarketsMetricsDeleted {
11129
+ readonly discriminator: 'shopify_markets_metrics_deleted';
11130
+ readonly event_id: string;
11131
+ readonly timestamp: string;
11132
+ readonly id: string;
11133
+ }
11134
+
11135
+ interface ShopifyMarketsMetricsUpserted {
11136
+ readonly discriminator: 'shopify_markets_metrics_upserted';
11137
+ readonly event_id: string;
11138
+ readonly timestamp: string;
11139
+ readonly shopify_markets_metrics: io.flow.shopify.markets.internal.v0.models.ShopifyMarketsOrdersMetrics;
11140
+ }
11141
+
11142
+ interface ShopifyMarketsOrder {
11143
+ readonly id: string;
11144
+ readonly model: io.flow.shopify.markets.v0.models.ShopifyOrder;
11145
+ }
11146
+
11147
+ interface ShopifyMarketsOrderDeleted {
11148
+ readonly discriminator: 'shopify_markets_order_deleted';
11149
+ readonly event_id: string;
11150
+ readonly timestamp: string;
11151
+ readonly organization: string;
11152
+ readonly shopify_markets_order: io.flow.shopify.markets.internal.event.v0.models.ShopifyMarketsOrder;
11153
+ }
11154
+
11155
+ interface ShopifyMarketsOrderUpserted {
11156
+ readonly discriminator: 'shopify_markets_order_upserted';
11157
+ readonly event_id: string;
11158
+ readonly timestamp: string;
11159
+ readonly organization: string;
11160
+ readonly shopify_markets_order: io.flow.shopify.markets.internal.event.v0.models.ShopifyMarketsOrder;
11161
+ }
11162
+
11163
+ interface ShopifyMarketsShopDeleted {
11164
+ readonly discriminator: 'shopify_markets_shop_deleted';
11165
+ readonly event_id: string;
11166
+ readonly timestamp: string;
11167
+ readonly organization: string;
11168
+ readonly id: string;
11169
+ }
11170
+
11171
+ interface ShopifyMarketsShopStatisticsDeleted {
11172
+ readonly discriminator: 'shopify_markets_shop_statistics_deleted';
11173
+ readonly event_id: string;
11174
+ readonly timestamp: string;
11175
+ readonly organization: string;
11176
+ readonly id: string;
11177
+ }
11178
+
11179
+ interface ShopifyMarketsShopStatisticsUpserted {
11180
+ readonly discriminator: 'shopify_markets_shop_statistics_upserted';
11181
+ readonly event_id: string;
11182
+ readonly timestamp: string;
11183
+ readonly organization: string;
11184
+ readonly shopify_markets_shop_statistics: io.flow.shopify.markets.internal.v0.models.ShopifyShopStatistics;
11185
+ }
11186
+
11187
+ interface ShopifyMarketsShopUpserted {
11188
+ readonly discriminator: 'shopify_markets_shop_upserted';
11189
+ readonly event_id: string;
11190
+ readonly timestamp: string;
11191
+ readonly organization: string;
11192
+ readonly shopify_markets_shop: io.flow.shopify.markets.internal.v0.models.ShopifyMarketsShop;
11193
+ }
11194
+
11195
+ interface ShopifyMarketsWebhookRegistrationDeleted {
11196
+ readonly discriminator: 'shopify_markets_webhook_registration_deleted';
11197
+ readonly event_id: string;
11198
+ readonly timestamp: string;
11199
+ readonly organization: string;
11200
+ readonly id: string;
11201
+ }
11202
+
11203
+ interface ShopifyMarketsWebhookRegistrationUpserted {
11204
+ readonly discriminator: 'shopify_markets_webhook_registration_upserted';
11205
+ readonly event_id: string;
11206
+ readonly timestamp: string;
11207
+ readonly organization: string;
11208
+ readonly registration: io.flow.shopify.markets.internal.v0.models.ShopifyMarketsWebhookRegistration;
11209
+ }
11210
+ }
11211
+
11212
+ declare namespace io.flow.shopify.markets.internal.event.v0.unions {
11213
+ type ShopifyMarketsInternalEvent =
11214
+ | io.flow.shopify.markets.internal.event.v0.models.ShopifyMarketsOrderUpserted
11215
+ | io.flow.shopify.markets.internal.event.v0.models.ShopifyMarketsOrderDeleted
11216
+ | io.flow.shopify.markets.internal.event.v0.models.ShopifyMarketsShopUpserted
11217
+ | io.flow.shopify.markets.internal.event.v0.models.ShopifyMarketsShopDeleted
11218
+ | io.flow.shopify.markets.internal.event.v0.models.ShopifyMarketsWebhookRegistrationUpserted
11219
+ | io.flow.shopify.markets.internal.event.v0.models.ShopifyMarketsWebhookRegistrationDeleted
11220
+ | io.flow.shopify.markets.internal.event.v0.models.ShopifyMarketsShopStatisticsUpserted
11221
+ | io.flow.shopify.markets.internal.event.v0.models.ShopifyMarketsShopStatisticsDeleted
11222
+ | io.flow.shopify.markets.internal.event.v0.models.ShopifyMarketsMetricsUpserted
11223
+ | io.flow.shopify.markets.internal.event.v0.models.ShopifyMarketsMetricsDeleted
11224
+ | io.flow.shopify.markets.internal.event.v0.models.ChannelOrderSummaryUpserted
11225
+ | io.flow.shopify.markets.internal.event.v0.models.ChannelOrderSummaryDeleted;
11226
+ }
11227
+
10786
11228
  declare namespace io.flow.experience.v0.enums {
10787
11229
  type AddressFieldName =
10788
11230
  | 'first_name'
@@ -12005,9 +12447,21 @@ declare namespace io.flow.ratecard.v0.models {
12005
12447
  readonly ends_at?: string;
12006
12448
  }
12007
12449
 
12450
+ interface FuelSurchargeByWeight {
12451
+ readonly discriminator: 'fuel_surcharge_by_weight';
12452
+ readonly amount: number;
12453
+ readonly weight_unit: io.flow.common.v0.enums.UnitOfMeasurement;
12454
+ }
12455
+
12456
+ interface FuelSurchargePercent {
12457
+ readonly discriminator: 'fuel_surcharge_percent';
12458
+ readonly percent: number;
12459
+ }
12460
+
12008
12461
  interface FuelSurchargeRatecardFee {
12009
12462
  readonly discriminator: 'fuel_surcharge_ratecard_fee';
12010
12463
  readonly amount: io.flow.common.v0.models.Money;
12464
+ readonly fuel_surcharge_rate?: io.flow.ratecard.v0.unions.FuelSurchargeRate;
12011
12465
  }
12012
12466
 
12013
12467
  interface FuelSurchargeServiceFee {
@@ -12039,6 +12493,7 @@ declare namespace io.flow.ratecard.v0.models {
12039
12493
  readonly currency: string;
12040
12494
  readonly amount: number;
12041
12495
  readonly fees: io.flow.ratecard.v0.unions.RatecardFee[];
12496
+ readonly weight_break?: number;
12042
12497
  readonly total: number;
12043
12498
  readonly lane: io.flow.ratecard.v0.models.LaneSummary;
12044
12499
  }
@@ -12324,6 +12779,9 @@ declare namespace io.flow.ratecard.v0.models {
12324
12779
  }
12325
12780
 
12326
12781
  declare namespace io.flow.ratecard.v0.unions {
12782
+ type FuelSurchargeRate =
12783
+ | io.flow.ratecard.v0.models.FuelSurchargePercent
12784
+ | io.flow.ratecard.v0.models.FuelSurchargeByWeight;
12327
12785
  type RatecardEstimate =
12328
12786
  | io.flow.ratecard.v0.models.RatecardEstimateV1
12329
12787
  | io.flow.ratecard.v0.models.RatecardEstimateV2
@@ -12640,194 +13098,6 @@ declare namespace io.flow.crypto.v0.models {
12640
13098
  }
12641
13099
  }
12642
13100
 
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
13101
  declare namespace io.flow.shopify.merchant.config.v0.models {
12832
13102
  interface Company {
12833
13103
  readonly discriminator: 'company';
@@ -13086,6 +13356,203 @@ declare namespace io.flow.price.v0.unions {
13086
13356
  | io.flow.price.v0.models.DeminimisPerItem;
13087
13357
  }
13088
13358
 
13359
+ declare namespace io.flow.trueup.v0.enums {
13360
+ type TrueupSurchargeType =
13361
+ | 'fuel'
13362
+ | 'remote_area'
13363
+ | 'oversize'
13364
+ | 'duties_paid'
13365
+ | 'emergency'
13366
+ | 'peak'
13367
+ | 'address_correction';
13368
+ }
13369
+
13370
+ declare namespace io.flow.trueup.v0.models {
13371
+ interface DeadWeight {
13372
+ readonly weight: number;
13373
+ }
13374
+
13375
+ interface DimensionalWeight {
13376
+ readonly weight: number;
13377
+ readonly length?: number;
13378
+ readonly width?: number;
13379
+ readonly height?: number;
13380
+ }
13381
+
13382
+ interface LabelBase {
13383
+ readonly amount: number;
13384
+ readonly weight: number;
13385
+ }
13386
+
13387
+ interface LabelSurcharge {
13388
+ readonly amount: number;
13389
+ readonly type: io.flow.trueup.v0.enums.TrueupSurchargeType;
13390
+ readonly detail: io.flow.trueup.v0.unions.LabelSurchargeDetail;
13391
+ }
13392
+
13393
+ interface LabelSurchargeDetailFlat {
13394
+ readonly discriminator: 'flat';
13395
+ readonly placeholder?: string;
13396
+ }
13397
+
13398
+ interface LabelSurchargeDetailPerWeightUnit {
13399
+ readonly discriminator: 'per_weight_unit';
13400
+ readonly fee: number;
13401
+ }
13402
+
13403
+ interface LabelSurchargeDetailPercentage {
13404
+ readonly discriminator: 'percentage';
13405
+ readonly percentage: number;
13406
+ }
13407
+
13408
+ interface LabelUnits {
13409
+ readonly currency: string;
13410
+ readonly weight: io.flow.units.v0.enums.UnitOfWeight;
13411
+ readonly length: io.flow.units.v0.enums.UnitOfLength;
13412
+ }
13413
+ }
13414
+
13415
+ declare namespace io.flow.trueup.v0.unions {
13416
+ type LabelSurchargeDetail =
13417
+ | io.flow.trueup.v0.models.LabelSurchargeDetailFlat
13418
+ | io.flow.trueup.v0.models.LabelSurchargeDetailPercentage
13419
+ | io.flow.trueup.v0.models.LabelSurchargeDetailPerWeightUnit;
13420
+ }
13421
+
13422
+ declare namespace io.flow.reference.v0.enums {
13423
+ type PaymentMethodCapability = 'credit' | 'debit';
13424
+ type PaymentMethodType = 'card' | 'online' | 'offline';
13425
+ type PostalType = 'eircode' | 'pin' | 'postal' | 'zip';
13426
+ type ProvinceType =
13427
+ | 'area'
13428
+ | 'city'
13429
+ | 'county'
13430
+ | 'department'
13431
+ | 'dependency'
13432
+ | 'district'
13433
+ | 'do_si'
13434
+ | 'emirate'
13435
+ | 'entity'
13436
+ | 'island'
13437
+ | 'municipality'
13438
+ | 'oblast'
13439
+ | 'outlying_area'
13440
+ | 'parish'
13441
+ | 'prefecture'
13442
+ | 'province'
13443
+ | 'state'
13444
+ | 'territory'
13445
+ | 'other';
13446
+ }
13447
+
13448
+ declare namespace io.flow.reference.v0.models {
13449
+ interface Carrier {
13450
+ readonly id: string;
13451
+ readonly name: string;
13452
+ readonly tracking_url: string;
13453
+ }
13454
+
13455
+ interface CarrierService {
13456
+ readonly id: string;
13457
+ readonly carrier: io.flow.reference.v0.models.Carrier;
13458
+ readonly name: string;
13459
+ }
13460
+
13461
+ interface Country {
13462
+ readonly name: string;
13463
+ readonly iso_3166_2: string;
13464
+ readonly iso_3166_3: string;
13465
+ readonly languages: string[];
13466
+ readonly measurement_system: string;
13467
+ readonly default_currency?: string;
13468
+ readonly default_language?: string;
13469
+ readonly timezones: string[];
13470
+ readonly default_delivered_duty?: string;
13471
+ }
13472
+
13473
+ interface Currency {
13474
+ readonly name: string;
13475
+ readonly iso_4217_3: string;
13476
+ readonly number_decimals: number;
13477
+ readonly symbols?: io.flow.reference.v0.models.CurrencySymbols;
13478
+ readonly default_locale?: string;
13479
+ }
13480
+
13481
+ interface CurrencySymbols {
13482
+ readonly primary: string;
13483
+ readonly narrow?: string;
13484
+ }
13485
+
13486
+ interface Language {
13487
+ readonly name: string;
13488
+ readonly iso_639_2: string;
13489
+ }
13490
+
13491
+ interface Locale {
13492
+ readonly id: string;
13493
+ readonly name: string;
13494
+ readonly country: string;
13495
+ readonly language: string;
13496
+ readonly numbers: io.flow.reference.v0.models.LocaleNumbers;
13497
+ }
13498
+
13499
+ interface LocaleNumbers {
13500
+ readonly decimal: string;
13501
+ readonly group: string;
13502
+ }
13503
+
13504
+ interface LocalizedTranslation {
13505
+ readonly locale: io.flow.reference.v0.models.Locale;
13506
+ readonly name: string;
13507
+ }
13508
+
13509
+ interface PaymentMethod {
13510
+ readonly id: string;
13511
+ readonly type: io.flow.reference.v0.enums.PaymentMethodType;
13512
+ readonly name: string;
13513
+ readonly images: io.flow.reference.v0.models.PaymentMethodImages;
13514
+ readonly regions: string[];
13515
+ readonly capabilities?: io.flow.reference.v0.enums.PaymentMethodCapability[];
13516
+ }
13517
+
13518
+ interface PaymentMethodImage {
13519
+ readonly url: string;
13520
+ readonly width: number;
13521
+ readonly height: number;
13522
+ }
13523
+
13524
+ interface PaymentMethodImages {
13525
+ readonly small: io.flow.reference.v0.models.PaymentMethodImage;
13526
+ readonly medium: io.flow.reference.v0.models.PaymentMethodImage;
13527
+ readonly large: io.flow.reference.v0.models.PaymentMethodImage;
13528
+ }
13529
+
13530
+ interface Province {
13531
+ readonly id: string;
13532
+ readonly iso_3166_2: string;
13533
+ readonly name: string;
13534
+ readonly country: string;
13535
+ readonly province_type: io.flow.reference.v0.enums.ProvinceType;
13536
+ readonly translations?: io.flow.reference.v0.models.LocalizedTranslation[];
13537
+ }
13538
+
13539
+ interface Region {
13540
+ readonly id: string;
13541
+ readonly name: string;
13542
+ readonly countries: string[];
13543
+ readonly currencies: string[];
13544
+ readonly languages: string[];
13545
+ readonly measurement_systems: string[];
13546
+ readonly timezones: string[];
13547
+ }
13548
+
13549
+ interface Timezone {
13550
+ readonly name: string;
13551
+ readonly description: string;
13552
+ readonly offset: number;
13553
+ }
13554
+ }
13555
+
13089
13556
  declare namespace io.flow.tracking.v0.enums {
13090
13557
  type TrackingStatus =
13091
13558
  | 'label_created'
@@ -14233,7 +14700,9 @@ declare namespace io.flow.billing.internal.v0.enums {
14233
14700
  | 'partial_refund'
14234
14701
  | 'platform_fee'
14235
14702
  | 'shipping_true_up'
14236
- | 'tax_credit';
14703
+ | 'tax_credit'
14704
+ | 'carrier_credit'
14705
+ | 'negative_balance_guarantee';
14237
14706
  type OrderCancellationInitiatedBy = 'flow' | 'organization';
14238
14707
  type OrderTransactionType = 'adjustment' | 'reversal' | 'order_service';
14239
14708
  type PreferredBillingSchedule = 'monthly' | 'bi-monthly';
@@ -14251,21 +14720,25 @@ declare namespace io.flow.billing.internal.v0.enums {
14251
14720
  | 'fulfillment_in_transit'
14252
14721
  | 'fulfillment_shipping_notification'
14253
14722
  | 'fulfillment_external'
14254
- | 'fulfillment_order_cancellation'
14723
+ | 'fulfillment_order_combined_shipment'
14724
+ | 'fulfillment_order_time'
14255
14725
  | 'label_tracking_summary'
14256
14726
  | 'label_invoice_request'
14257
14727
  | 'carrier_charge'
14258
14728
  | 'carrier_charge_file'
14259
- | 'label_origin'
14260
14729
  | 'order'
14261
14730
  | 'order_identifier'
14262
14731
  | 'organization_onboarding_state'
14732
+ | 'posting_proof'
14263
14733
  | 'refund'
14264
14734
  | 'refund_over_capture'
14265
14735
  | 'sales_record'
14266
14736
  | 'statement_batch'
14267
14737
  | 'statement_email'
14268
- | 'statement_summary_email';
14738
+ | 'statement_summary_email'
14739
+ | 'pending_payout_transaction_event'
14740
+ | 'credit_and_subsidy'
14741
+ | 'negative_balance_guarantee';
14269
14742
  type ResponsibleParty = 'flow' | 'organization';
14270
14743
  type StatementTransferTransactionLocation = 'transactions_file' | 'summary';
14271
14744
  type SubscriptionFrequency = 'yearly' | 'monthly';
@@ -14345,6 +14818,7 @@ declare namespace io.flow.billing.internal.v0.models {
14345
14818
  readonly merchant_of_record_fee?: number;
14346
14819
  readonly duty_guarantee_fee?: number;
14347
14820
  readonly transfer_fee?: number;
14821
+ readonly negative_balance_guarantee_fee?: number;
14348
14822
  readonly order_service_fee?: io.flow.billing.internal.v0.models.TieredFee;
14349
14823
  readonly label_fees?: io.flow.billing.internal.v0.models.AccountSettingLabelFees;
14350
14824
  readonly charge_label_cost_directly: boolean;
@@ -14899,6 +15373,7 @@ declare namespace io.flow.billing.internal.v0.models {
14899
15373
  interface ManualTransaction {
14900
15374
  readonly discriminator: 'manual_transaction';
14901
15375
  readonly category?: io.flow.billing.internal.v0.enums.ManualTransactionCategory;
15376
+ readonly original_transaction?: io.flow.billing.internal.v0.models.TransactionReference;
14902
15377
  readonly order?: io.flow.billing.internal.v0.models.BillingOrderTransactionOrderReference;
14903
15378
  readonly attributes?: Record<string, string>;
14904
15379
  readonly id: string;
@@ -14918,6 +15393,7 @@ declare namespace io.flow.billing.internal.v0.models {
14918
15393
  readonly category?: io.flow.billing.internal.v0.enums.ManualTransactionCategory;
14919
15394
  readonly posted_at?: string;
14920
15395
  readonly order?: io.flow.billing.internal.v0.models.ManualTransactionFormOrder;
15396
+ readonly original_transaction_id?: string;
14921
15397
  readonly attributes?: Record<string, string>;
14922
15398
  }
14923
15399
 
@@ -15104,6 +15580,11 @@ declare namespace io.flow.billing.internal.v0.models {
15104
15580
  readonly order_cancellation_id: string;
15105
15581
  }
15106
15582
 
15583
+ interface ProofOfPostingOrderCombinedShipment {
15584
+ readonly discriminator: 'order_combined_shipment';
15585
+ readonly order_combined_shipment_id: string;
15586
+ }
15587
+
15107
15588
  interface ProofOfPostingShippingNotification {
15108
15589
  readonly discriminator: 'shipping_notification';
15109
15590
  readonly shipping_notification_id: string;
@@ -15287,7 +15768,8 @@ declare namespace io.flow.billing.internal.v0.unions {
15287
15768
  | io.flow.billing.internal.v0.models.ProofOfPostingFulfilled
15288
15769
  | io.flow.billing.internal.v0.models.ProofOfPostingExternallyFulfilled
15289
15770
  | io.flow.billing.internal.v0.models.ProofOfPostingShippingNotification
15290
- | io.flow.billing.internal.v0.models.ProofOfPostingOrderCancellation;
15771
+ | io.flow.billing.internal.v0.models.ProofOfPostingOrderCancellation
15772
+ | io.flow.billing.internal.v0.models.ProofOfPostingOrderCombinedShipment;
15291
15773
  type SpotRateMetadata =
15292
15774
  | io.flow.billing.internal.v0.models.SpotRateMetadataIdentity
15293
15775
  | io.flow.billing.internal.v0.models.SpotRateMetadataRate;
@@ -15328,7 +15810,7 @@ declare namespace io.flow.billing.v0.enums {
15328
15810
  | 'waiting_for_fulfillment'
15329
15811
  | 'waiting_for_in_transit'
15330
15812
  | 'waiting_for_next_payout_date'
15331
- | 'external_fulfillment_missing_tracking_info'
15813
+ | 'waiting_for_tracking_info'
15332
15814
  | 'waiting_for_positive_account_balance';
15333
15815
  type StatementAttachmentType = 'csv';
15334
15816
  type TransactionSource =
@@ -15353,14 +15835,6 @@ declare namespace io.flow.billing.v0.enums {
15353
15835
  | 'virtual_card_capture'
15354
15836
  | 'virtual_card_refund';
15355
15837
  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
15838
  type WithholdingDeductionType = 'tax' | 'duty' | 'freight' | 'insurance';
15365
15839
  }
15366
15840
 
@@ -15444,6 +15918,9 @@ declare namespace io.flow.billing.v0.models {
15444
15918
  readonly id: string;
15445
15919
  readonly reason: io.flow.billing.v0.models.PendingPayoutTransactionReason;
15446
15920
  readonly timeout?: io.flow.billing.v0.models.PendingPayoutTransactionTimeout;
15921
+ readonly created_at: string;
15922
+ readonly updated_at: string;
15923
+ readonly deleted_at?: string;
15447
15924
  }
15448
15925
 
15449
15926
  interface ChannelStatement {
@@ -15510,6 +15987,9 @@ declare namespace io.flow.billing.v0.models {
15510
15987
  readonly id: string;
15511
15988
  readonly reason: io.flow.billing.v0.models.PendingPayoutTransactionReason;
15512
15989
  readonly timeout?: io.flow.billing.v0.models.PendingPayoutTransactionTimeout;
15990
+ readonly created_at: string;
15991
+ readonly updated_at: string;
15992
+ readonly deleted_at?: string;
15513
15993
  }
15514
15994
 
15515
15995
  interface ParentTransactionSummary {
@@ -15625,14 +16105,30 @@ declare namespace io.flow.billing.v0.models {
15625
16105
  readonly country: string;
15626
16106
  }
15627
16107
 
16108
+ interface TransactionMetadataManual {
16109
+ readonly discriminator: 'manual';
16110
+ readonly original?: io.flow.billing.v0.models.TransactionMetadataOriginalTransaction;
16111
+ readonly url?: string;
16112
+ }
16113
+
16114
+ interface TransactionMetadataOriginalTransaction {
16115
+ readonly id: string;
16116
+ }
16117
+
15628
16118
  interface TransactionMetadataShippingLabel {
15629
16119
  readonly discriminator: 'shipping_label';
15630
16120
  readonly request_method?: io.flow.label.v0.enums.LabelRequestMethod;
16121
+ readonly carrier: io.flow.billing.v0.models.TransactionMetadataShippingLabelCarrier;
16122
+ }
16123
+
16124
+ interface TransactionMetadataShippingLabelCarrier {
16125
+ readonly id: string;
16126
+ readonly tracking_number: string;
15631
16127
  }
15632
16128
 
15633
16129
  interface TransactionMetadataTrueup {
15634
16130
  readonly discriminator: 'trueup';
15635
- readonly original: io.flow.billing.v0.models.TransactionMetadataTrueupOriginalTransaction;
16131
+ readonly original: io.flow.billing.v0.models.TransactionMetadataOriginalTransaction;
15636
16132
  readonly estimate: io.flow.billing.v0.models.TransactionMetadataTrueupData;
15637
16133
  readonly actual: io.flow.billing.v0.models.TransactionMetadataTrueupData;
15638
16134
  }
@@ -15643,10 +16139,8 @@ declare namespace io.flow.billing.v0.models {
15643
16139
  readonly base: io.flow.billing.v0.models.TrueupLabelBase;
15644
16140
  readonly surcharges: io.flow.billing.v0.models.TrueupLabelSurcharge[];
15645
16141
  readonly total: number;
15646
- }
15647
-
15648
- interface TransactionMetadataTrueupOriginalTransaction {
15649
- readonly id: string;
16142
+ readonly dead?: io.flow.trueup.v0.models.DeadWeight;
16143
+ readonly dimensional?: io.flow.trueup.v0.models.DimensionalWeight;
15650
16144
  }
15651
16145
 
15652
16146
  interface TransactionReference {
@@ -15660,7 +16154,7 @@ declare namespace io.flow.billing.v0.models {
15660
16154
 
15661
16155
  interface TrueupLabelSurcharge {
15662
16156
  readonly amount: number;
15663
- readonly type: io.flow.billing.v0.enums.TrueupSurchargeType;
16157
+ readonly type: io.flow.trueup.v0.enums.TrueupSurchargeType;
15664
16158
  readonly percentage?: number;
15665
16159
  readonly per_weight_unit?: number;
15666
16160
  }
@@ -15691,7 +16185,8 @@ declare namespace io.flow.billing.v0.unions {
15691
16185
  type TransactionMetadata =
15692
16186
  | io.flow.billing.v0.models.TransactionMetadataShippingLabel
15693
16187
  | io.flow.billing.v0.models.TransactionMetadataChannel
15694
- | io.flow.billing.v0.models.TransactionMetadataTrueup;
16188
+ | io.flow.billing.v0.models.TransactionMetadataTrueup
16189
+ | io.flow.billing.v0.models.TransactionMetadataManual;
15695
16190
  }
15696
16191
 
15697
16192
  declare namespace io.flow.harmonization.v0.enums {
@@ -17574,7 +18069,12 @@ declare namespace io.flow.internal.v0.enums {
17574
18069
  | 'payouts_failed_count'
17575
18070
  | 'payouts_failed_total'
17576
18071
  | 'average_payout_amount'
17577
- | 'capture_transaction_with_zero_fees_and_no_channel_transaction_count';
18072
+ | 'capture_transaction_with_zero_fees_and_no_channel_transaction_count'
18073
+ | 'percentage_billable_label_transactions_with_carrier_charge_10_days'
18074
+ | 'percentage_billable_label_transactions_with_carrier_charge_20_days'
18075
+ | 'percentage_billable_label_transactions_with_carrier_charge_30_days'
18076
+ | 'percentage_billable_label_transactions_with_carrier_charge_60_days'
18077
+ | 'percentage_billable_label_transactions_with_carrier_charge_90_days';
17578
18078
  type BillingStatementAttachmentKey =
17579
18079
  | 'invoice'
17580
18080
  | 'statement'
@@ -17630,6 +18130,7 @@ declare namespace io.flow.internal.v0.enums {
17630
18130
  | 'dtce_two_calls'
17631
18131
  | 'dtce_with_deminimis'
17632
18132
  | 'dtce_merged_with_tax';
18133
+ type CarrierChargeOtherReason = 'return_to_origin' | 'other';
17633
18134
  type CarrierLabelGenerationMethod = 'direct' | 'easypost';
17634
18135
  type CarrierValidationStatus = 'success' | 'error';
17635
18136
  type CatalogImportType =
@@ -17668,6 +18169,11 @@ declare namespace io.flow.internal.v0.enums {
17668
18169
  | 'unsupported_virtual_goods'
17669
18170
  | 'non_matching_currencies';
17670
18171
  type ChannelOrderAcceptanceStatus = 'accepted' | 'rejected' | 'review';
18172
+ type ChannelOrderFulfillmentStatusCode =
18173
+ | 'unfulfilled'
18174
+ | 'fulfilled'
18175
+ | 'partial'
18176
+ | 'cancelled';
17671
18177
  type ChannelTransactionType = 'adjustment' | 'reversal' | 'processing';
17672
18178
  type ChargebackPaymentStatus = 'captured' | 'refunded';
17673
18179
  type ChargebackProcessStatus = 'inquiry' | 'open' | 'closed';
@@ -17964,6 +18470,7 @@ declare namespace io.flow.internal.v0.enums {
17964
18470
  type ContentType = 'text' | 'html';
17965
18471
  type ContentTypeCast = 'markdown_to_html' | 'markdown_to_text';
17966
18472
  type CrossdockTrackingStatus = 'notified' | 'received' | 'shipped';
18473
+ type DebugAccountingTransactionType = 'fulfillment';
17967
18474
  type DeliveredDutyOptionMessageType = 'warning' | 'notification';
17968
18475
  type DeminimisAdjustmentType = 'none' | 'duty' | 'vat' | 'vat_and_duty';
17969
18476
  type DiscountRequestOrderEntitlementKey = 'subtotal';
@@ -18013,6 +18520,8 @@ declare namespace io.flow.internal.v0.enums {
18013
18520
  | 'adyen_refund_upserted'
18014
18521
  | 'index_assignment_upserted'
18015
18522
  | 'index_assignment_deleted'
18523
+ | 'merchant_upserted'
18524
+ | 'merchant_deleted'
18016
18525
  | 'account_upserted'
18017
18526
  | 'account_upserted_v2'
18018
18527
  | 'account_deleted_v2'
@@ -18060,8 +18569,6 @@ declare namespace io.flow.internal.v0.enums {
18060
18569
  | 'daily_value_deleted'
18061
18570
  | 'sales_record_upserted'
18062
18571
  | 'sales_record_deleted'
18063
- | 'label_invoice_request_upserted'
18064
- | 'label_invoice_request_deleted'
18065
18572
  | 'calculator_organization_settings_upserted'
18066
18573
  | 'calculator_organization_settings_deleted'
18067
18574
  | 'carrier_account_upserted_v2'
@@ -18156,6 +18663,8 @@ declare namespace io.flow.internal.v0.enums {
18156
18663
  | 'organization_bank_account_deleted'
18157
18664
  | 'billing_csv_transaction_upserted'
18158
18665
  | 'billing_csv_transaction_deleted'
18666
+ | 'label_invoice_request_upserted'
18667
+ | 'label_invoice_request_deleted'
18159
18668
  | 'fraud_review_upserted'
18160
18669
  | 'fraud_review_deleted'
18161
18670
  | 'fraud_pending_review_upserted'
@@ -18304,6 +18813,8 @@ declare namespace io.flow.internal.v0.enums {
18304
18813
  | 'shopify_markets_shop_statistics_deleted'
18305
18814
  | 'shopify_markets_metrics_upserted'
18306
18815
  | 'shopify_markets_metrics_deleted'
18816
+ | 'channel_order_summary_upserted'
18817
+ | 'channel_order_summary_deleted'
18307
18818
  | 'shopify_monitoring_order_monitor_event_upserted'
18308
18819
  | 'shopify_monitoring_order_monitor_event_deleted'
18309
18820
  | 'shopify_order_fulfillments_snapshot_upserted'
@@ -18407,6 +18918,7 @@ declare namespace io.flow.internal.v0.enums {
18407
18918
  | 'low_value_goods_tax'
18408
18919
  | 'high_value_goods_tax'
18409
18920
  | 'duties';
18921
+ type LogisticsResponsibility = 'organization' | 'flow';
18410
18922
  type MainTransactionStatus = 'scheduled' | 'pending_proof';
18411
18923
  type ManualReviewRuleStatus = 'active' | 'archived';
18412
18924
  type ManualTransactionCategory =
@@ -18417,7 +18929,9 @@ declare namespace io.flow.internal.v0.enums {
18417
18929
  | 'partial_refund'
18418
18930
  | 'platform_fee'
18419
18931
  | 'shipping_true_up'
18420
- | 'tax_credit';
18932
+ | 'tax_credit'
18933
+ | 'carrier_credit'
18934
+ | 'negative_balance_guarantee';
18421
18935
  type MarketingGatewayAccountConnectionStatus =
18422
18936
  | 'not_connected'
18423
18937
  | 'connecting'
@@ -18520,6 +19034,8 @@ declare namespace io.flow.internal.v0.enums {
18520
19034
  | 'unit_test'
18521
19035
  | 'api'
18522
19036
  | 'api_activation'
19037
+ | 'audit_auto_activation'
19038
+ | 'api_deactivation'
18523
19039
  | 'api_sandbox_setup'
18524
19040
  | 'api_internal'
18525
19041
  | 'api_internal_block'
@@ -18615,21 +19131,25 @@ declare namespace io.flow.internal.v0.enums {
18615
19131
  | 'fulfillment_in_transit'
18616
19132
  | 'fulfillment_shipping_notification'
18617
19133
  | 'fulfillment_external'
18618
- | 'fulfillment_order_cancellation'
19134
+ | 'fulfillment_order_combined_shipment'
19135
+ | 'fulfillment_order_time'
18619
19136
  | 'label_tracking_summary'
18620
19137
  | 'label_invoice_request'
18621
19138
  | 'carrier_charge'
18622
19139
  | 'carrier_charge_file'
18623
- | 'label_origin'
18624
19140
  | 'order'
18625
19141
  | 'order_identifier'
18626
19142
  | 'organization_onboarding_state'
19143
+ | 'posting_proof'
18627
19144
  | 'refund'
18628
19145
  | 'refund_over_capture'
18629
19146
  | 'sales_record'
18630
19147
  | 'statement_batch'
18631
19148
  | 'statement_email'
18632
- | 'statement_summary_email';
19149
+ | 'statement_summary_email'
19150
+ | 'pending_payout_transaction_event'
19151
+ | 'credit_and_subsidy'
19152
+ | 'negative_balance_guarantee';
18633
19153
  type QuoteRequestType =
18634
19154
  | 'generate'
18635
19155
  | 'delete'
@@ -18656,6 +19176,10 @@ declare namespace io.flow.internal.v0.enums {
18656
19176
  | 'completed'
18657
19177
  | 'completed_no_records'
18658
19178
  | 'failed';
19179
+ type ReportType =
19180
+ | 'sales_record'
19181
+ | 'trueup_overview'
19182
+ | 'non_channel_payment_bank_account';
18659
19183
  type ReportingScheme =
18660
19184
  | 'immediate_reporting_to_tax_authority'
18661
19185
  | 'periodic_reporting_to_tax_authority'
@@ -18782,14 +19306,6 @@ declare namespace io.flow.internal.v0.enums {
18782
19306
  type TrackingIntegrationType = 'api' | 'bulk' | 'aftership';
18783
19307
  type TransactionPostingMethod = 'time' | 'proof';
18784
19308
  type TransferMethod = 'ach';
18785
- type TrueUpSurchargeType =
18786
- | 'fuel'
18787
- | 'remote_area'
18788
- | 'oversize'
18789
- | 'duties_paid'
18790
- | 'emergency'
18791
- | 'peak'
18792
- | 'address_correction';
18793
19309
  type TrueupTransactionType = 'adjustment' | 'reversal' | 'trueup';
18794
19310
  type UnclassifiedProductStatus =
18795
19311
  | 'ignored'
@@ -18915,6 +19431,10 @@ declare namespace io.flow.internal.v0.models {
18915
19431
  readonly rates: io.flow.internal.v0.models.AccountProcessingRates;
18916
19432
  }
18917
19433
 
19434
+ interface AccountReference {
19435
+ readonly id: string;
19436
+ }
19437
+
18918
19438
  interface AccountSettingLabelFees {
18919
19439
  readonly flow?: io.flow.internal.v0.models.TieredFee;
18920
19440
  readonly organization?: io.flow.internal.v0.models.TieredFee;
@@ -18934,6 +19454,7 @@ declare namespace io.flow.internal.v0.models {
18934
19454
  readonly merchant_of_record_fee?: number;
18935
19455
  readonly duty_guarantee_fee?: number;
18936
19456
  readonly transfer_fee?: number;
19457
+ readonly negative_balance_guarantee_fee?: number;
18937
19458
  readonly order_service_fee?: io.flow.internal.v0.models.TieredFee;
18938
19459
  readonly label_fees?: io.flow.internal.v0.models.AccountSettingLabelFees;
18939
19460
  readonly charge_label_cost_directly: boolean;
@@ -20265,21 +20786,29 @@ declare namespace io.flow.internal.v0.models {
20265
20786
  readonly id: string;
20266
20787
  readonly label_invoice_request_id: string;
20267
20788
  readonly units: io.flow.internal.v0.models.CarrierChargeUnits;
20268
- readonly base: io.flow.internal.v0.models.LabelBase;
20789
+ readonly base: io.flow.trueup.v0.models.LabelBase;
20269
20790
  readonly surcharges: io.flow.internal.v0.models.LabelSurchargeForm;
20270
20791
  readonly total: number;
20792
+ readonly dead?: io.flow.trueup.v0.models.DeadWeight;
20793
+ readonly dimensional?: io.flow.trueup.v0.models.DimensionalWeight;
20271
20794
  readonly attributes?: Record<string, string>;
20272
20795
  }
20273
20796
 
20274
- interface CarrierChargeFormReturnToOrigin {
20275
- readonly discriminator: 'return_to_origin';
20797
+ interface CarrierChargeFormOther {
20798
+ readonly discriminator: 'other';
20276
20799
  readonly id: string;
20800
+ readonly reason: io.flow.internal.v0.enums.CarrierChargeOtherReason;
20801
+ readonly organization_id: string;
20802
+ readonly order_number: string;
20277
20803
  readonly carrier_id: string;
20278
20804
  readonly carrier_tracking_number: string;
20805
+ readonly label_created_at: string;
20279
20806
  readonly units: io.flow.internal.v0.models.CarrierChargeUnits;
20280
- readonly base: io.flow.internal.v0.models.LabelBase;
20807
+ readonly base: io.flow.trueup.v0.models.LabelBase;
20281
20808
  readonly surcharges: io.flow.internal.v0.models.LabelSurchargeForm;
20282
20809
  readonly total: number;
20810
+ readonly dead?: io.flow.trueup.v0.models.DeadWeight;
20811
+ readonly dimensional?: io.flow.trueup.v0.models.DimensionalWeight;
20283
20812
  readonly attributes?: Record<string, string>;
20284
20813
  }
20285
20814
 
@@ -20561,6 +21090,19 @@ declare namespace io.flow.internal.v0.models {
20561
21090
  readonly role?: io.flow.common.v0.enums.Role;
20562
21091
  }
20563
21092
 
21093
+ interface ChannelOrder {
21094
+ readonly org_id: string;
21095
+ readonly flow_order_number: string;
21096
+ readonly shopify_order_number: string;
21097
+ readonly order_submission_date?: string;
21098
+ readonly order_item_count: number;
21099
+ readonly total: io.flow.catalog.v0.models.LocalizedTotal;
21100
+ readonly merchant_total: number;
21101
+ readonly tracking_numbers?: string[];
21102
+ readonly carrier?: io.flow.reference.v0.models.CarrierService;
21103
+ readonly duty_paid: boolean;
21104
+ }
21105
+
20564
21106
  interface ChannelOrderAcceptance {
20565
21107
  readonly id: string;
20566
21108
  readonly organization_id: string;
@@ -20572,6 +21114,7 @@ declare namespace io.flow.internal.v0.models {
20572
21114
  readonly reasons: io.flow.internal.v0.models.ChannelOrderAcceptanceReason[];
20573
21115
  readonly next_action_from?: io.flow.internal.v0.enums.ChannelOrderAcceptanceNextActionFrom;
20574
21116
  readonly order_created_at?: string;
21117
+ readonly order_updated_at?: string;
20575
21118
  }
20576
21119
 
20577
21120
  interface ChannelOrderAcceptanceDeleted {
@@ -20601,6 +21144,35 @@ declare namespace io.flow.internal.v0.models {
20601
21144
  readonly channel_order_acceptance: io.flow.internal.v0.models.ChannelOrderAcceptance;
20602
21145
  }
20603
21146
 
21147
+ interface ChannelOrderSummary {
21148
+ readonly id: string;
21149
+ readonly organization: io.flow.common.v0.models.OrganizationReference;
21150
+ readonly external_order_reference: string;
21151
+ readonly order_number: string;
21152
+ readonly fulfullment_details: io.flow.internal.v0.models.ChannelOrderSummaryFulfillmentDetails;
21153
+ }
21154
+
21155
+ interface ChannelOrderSummaryDeleted {
21156
+ readonly discriminator: 'channel_order_summary_deleted';
21157
+ readonly event_id: string;
21158
+ readonly timestamp: string;
21159
+ readonly channel_id: string;
21160
+ readonly id: string;
21161
+ }
21162
+
21163
+ interface ChannelOrderSummaryFulfillmentDetails {
21164
+ readonly fulfillment_status: io.flow.internal.v0.enums.ChannelOrderFulfillmentStatusCode;
21165
+ readonly timestamp: string;
21166
+ }
21167
+
21168
+ interface ChannelOrderSummaryUpserted {
21169
+ readonly discriminator: 'channel_order_summary_upserted';
21170
+ readonly event_id: string;
21171
+ readonly timestamp: string;
21172
+ readonly channel_id: string;
21173
+ readonly channel_order_summary: io.flow.internal.v0.models.ChannelOrderSummary;
21174
+ }
21175
+
20604
21176
  interface ChannelOrganizationShopify {
20605
21177
  readonly organization: io.flow.channel.v0.models.ChannelOrganization;
20606
21178
  readonly tokens: io.flow.internal.v0.models.ShopifyChannelOrganizationTokens[];
@@ -23324,12 +23896,25 @@ declare namespace io.flow.internal.v0.models {
23324
23896
  readonly daily_value: io.flow.internal.v0.models.DailyValue;
23325
23897
  }
23326
23898
 
23899
+ interface DebugAccountingTransaction {
23900
+ readonly type: io.flow.internal.v0.enums.DebugAccountingTransactionType;
23901
+ readonly type_id: string;
23902
+ readonly transaction_id: string;
23903
+ }
23904
+
23327
23905
  interface DebugDetails {
23328
23906
  readonly labels: io.flow.internal.v0.models.DebugLabel[];
23329
23907
  readonly captures: io.flow.internal.v0.models.DebugPaymentTransactionSummary[];
23330
23908
  readonly refunds: io.flow.internal.v0.models.DebugPaymentTransactionSummary[];
23331
23909
  }
23332
23910
 
23911
+ interface DebugFulfillmentDelta {
23912
+ readonly posted_transactions_net: number;
23913
+ readonly fulfillments_net: number;
23914
+ readonly delta_amount: number;
23915
+ readonly delta_percent: number;
23916
+ }
23917
+
23333
23918
  interface DebugLabel {
23334
23919
  readonly carrier_id: string;
23335
23920
  readonly carrier_tracking_number: string;
@@ -23370,6 +23955,7 @@ declare namespace io.flow.internal.v0.models {
23370
23955
  readonly label_tracking_summary_id?: string;
23371
23956
  readonly shipping_notification_id?: string;
23372
23957
  readonly external_fulfillment_proof_id?: string;
23958
+ readonly order_cancellation_id?: string;
23373
23959
  }
23374
23960
 
23375
23961
  interface DebugOrderTransactionFormOrderIdentifier {
@@ -24961,14 +25547,13 @@ declare namespace io.flow.internal.v0.models {
24961
25547
  interface Fulfillment {
24962
25548
  readonly id: string;
24963
25549
  readonly fulfilled_at: string;
25550
+ readonly owner: io.flow.internal.v0.enums.LogisticsResponsibility;
24964
25551
  readonly currency: string;
24965
25552
  readonly order: io.flow.internal.v0.models.OrderSummary;
24966
25553
  readonly origin?: io.flow.internal.v0.models.FulfillmentOrigin;
24967
- readonly lines: io.flow.internal.v0.models.FulfillmentLine[];
24968
25554
  readonly shopper: io.flow.internal.v0.models.ShopperSummary;
24969
25555
  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;
25556
+ readonly trigger: io.flow.internal.v0.unions.FulfillmentTrigger;
24972
25557
  readonly completes_order: boolean;
24973
25558
  readonly sequence_number: number;
24974
25559
  readonly posting_cutoff: string;
@@ -25003,17 +25588,6 @@ declare namespace io.flow.internal.v0.models {
25003
25588
  readonly key: string;
25004
25589
  }
25005
25590
 
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
25591
  interface FulfillmentOrigin {
25018
25592
  readonly country: string;
25019
25593
  readonly province_code?: string;
@@ -25026,6 +25600,7 @@ declare namespace io.flow.internal.v0.models {
25026
25600
  readonly carrier_service_id?: string;
25027
25601
  readonly carrier_tracking_number?: string;
25028
25602
  readonly label_id?: string;
25603
+ readonly created_at?: string;
25029
25604
  }
25030
25605
 
25031
25606
  interface FulfillmentProofLabelTrackingReference {
@@ -25035,6 +25610,17 @@ declare namespace io.flow.internal.v0.models {
25035
25610
  readonly carrier_service_id?: string;
25036
25611
  readonly carrier_tracking_number?: string;
25037
25612
  readonly label_id?: string;
25613
+ readonly created_at?: string;
25614
+ }
25615
+
25616
+ interface FulfillmentProofOrderCombinedShipmentReference {
25617
+ readonly discriminator: 'order_combined_shipment';
25618
+ readonly id: string;
25619
+ readonly carrier_id?: string;
25620
+ readonly carrier_service_id?: string;
25621
+ readonly carrier_tracking_number?: string;
25622
+ readonly label_id?: string;
25623
+ readonly created_at?: string;
25038
25624
  }
25039
25625
 
25040
25626
  interface FulfillmentProofShippingNotificationReference {
@@ -25044,6 +25630,7 @@ declare namespace io.flow.internal.v0.models {
25044
25630
  readonly carrier_service_id?: string;
25045
25631
  readonly carrier_tracking_number?: string;
25046
25632
  readonly label_id?: string;
25633
+ readonly created_at?: string;
25047
25634
  }
25048
25635
 
25049
25636
  interface FulfillmentReference {
@@ -25071,6 +25658,17 @@ declare namespace io.flow.internal.v0.models {
25071
25658
  interface FulfillmentSubsidyBreakdown {
25072
25659
  readonly tax: number;
25073
25660
  readonly duty: number;
25661
+ readonly total: number;
25662
+ }
25663
+
25664
+ interface FulfillmentTriggerProof {
25665
+ readonly discriminator: 'by_proof';
25666
+ readonly proof: io.flow.internal.v0.unions.FulfillmentProof;
25667
+ }
25668
+
25669
+ interface FulfillmentTriggerTime {
25670
+ readonly discriminator: 'by_time';
25671
+ readonly placeholder?: string;
25074
25672
  }
25075
25673
 
25076
25674
  interface FxFee {
@@ -26559,11 +27157,6 @@ declare namespace io.flow.internal.v0.models {
26559
27157
  readonly constructions: Record<string, string[]>;
26560
27158
  }
26561
27159
 
26562
- interface LabelBase {
26563
- readonly amount: number;
26564
- readonly weight: number;
26565
- }
26566
-
26567
27160
  interface LabelCancellationError {
26568
27161
  readonly code: io.flow.internal.v0.enums.LabelCancellationErrorCode;
26569
27162
  readonly messages: string[];
@@ -26595,6 +27188,7 @@ declare namespace io.flow.internal.v0.models {
26595
27188
 
26596
27189
  interface LabelDestination {
26597
27190
  readonly country: string;
27191
+ readonly postal?: string;
26598
27192
  }
26599
27193
 
26600
27194
  interface LabelGenerationAddressFailureStatusUpdateForm {
@@ -26642,13 +27236,14 @@ declare namespace io.flow.internal.v0.models {
26642
27236
 
26643
27237
  interface LabelInvoiceRequest {
26644
27238
  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[];
27239
+ readonly label: io.flow.internal.v0.models.TrueupLabelSummary;
27240
+ readonly units: io.flow.trueup.v0.models.LabelUnits;
27241
+ readonly base: io.flow.trueup.v0.models.LabelBase;
27242
+ readonly surcharges: io.flow.trueup.v0.models.LabelSurcharge[];
26649
27243
  readonly total: number;
26650
27244
  readonly destination: io.flow.internal.v0.models.LabelDestination;
26651
27245
  readonly metadata: io.flow.internal.v0.models.LabelMetadata;
27246
+ readonly created_at: string;
26652
27247
  }
26653
27248
 
26654
27249
  interface LabelInvoiceRequestDeleted {
@@ -26669,7 +27264,8 @@ declare namespace io.flow.internal.v0.models {
26669
27264
 
26670
27265
  interface LabelMetadata {
26671
27266
  readonly ratecard: io.flow.internal.v0.models.MetadataRatecard;
26672
- readonly weights: io.flow.internal.v0.models.MetadataWeights;
27267
+ readonly dead?: io.flow.trueup.v0.models.DeadWeight;
27268
+ readonly dimensional?: io.flow.trueup.v0.models.DimensionalWeight;
26673
27269
  }
26674
27270
 
26675
27271
  interface LabelRequestError {
@@ -26716,27 +27312,6 @@ declare namespace io.flow.internal.v0.models {
26716
27312
  readonly service?: io.flow.reference.v0.models.CarrierService;
26717
27313
  }
26718
27314
 
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
27315
  interface LabelSurchargeForm {
26741
27316
  readonly fuel?: io.flow.internal.v0.models.LabelSurchargeSingleForm;
26742
27317
  readonly remote_area?: io.flow.internal.v0.models.LabelSurchargeSingleForm;
@@ -26809,12 +27384,6 @@ declare namespace io.flow.internal.v0.models {
26809
27384
  readonly label_transaction: io.flow.internal.v0.models.LabelTransaction;
26810
27385
  }
26811
27386
 
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
27387
  interface LabeledContent {
26819
27388
  readonly label: io.flow.internal.v0.models.ContentLabel;
26820
27389
  readonly contents: io.flow.internal.v0.unions.ContentItem[];
@@ -27212,6 +27781,7 @@ declare namespace io.flow.internal.v0.models {
27212
27781
  interface ManualTransaction {
27213
27782
  readonly discriminator: 'manual_transaction';
27214
27783
  readonly category?: io.flow.internal.v0.enums.ManualTransactionCategory;
27784
+ readonly original_transaction?: io.flow.internal.v0.models.TransactionReference;
27215
27785
  readonly order?: io.flow.internal.v0.models.BillingOrderTransactionOrderReference;
27216
27786
  readonly attributes?: Record<string, string>;
27217
27787
  readonly id: string;
@@ -27231,6 +27801,7 @@ declare namespace io.flow.internal.v0.models {
27231
27801
  readonly category?: io.flow.internal.v0.enums.ManualTransactionCategory;
27232
27802
  readonly posted_at?: string;
27233
27803
  readonly order?: io.flow.internal.v0.models.ManualTransactionFormOrder;
27804
+ readonly original_transaction_id?: string;
27234
27805
  readonly attributes?: Record<string, string>;
27235
27806
  }
27236
27807
 
@@ -27499,6 +28070,11 @@ declare namespace io.flow.internal.v0.models {
27499
28070
  readonly flow_authorization?: io.flow.payment.v0.unions.Authorization;
27500
28071
  }
27501
28072
 
28073
+ interface Merchant {
28074
+ readonly id: string;
28075
+ readonly account: io.flow.internal.v0.models.AccountReference;
28076
+ }
28077
+
27502
28078
  interface MerchantApplicationSummaries {
27503
28079
  readonly summaries: io.flow.internal.v0.models.MerchantApplicationSummary[];
27504
28080
  readonly total: number;
@@ -27509,6 +28085,13 @@ declare namespace io.flow.internal.v0.models {
27509
28085
  readonly organization_reference: io.flow.common.v0.models.Organization;
27510
28086
  }
27511
28087
 
28088
+ interface MerchantDeleted {
28089
+ readonly discriminator: 'merchant_deleted';
28090
+ readonly event_id: string;
28091
+ readonly timestamp: string;
28092
+ readonly id: string;
28093
+ }
28094
+
27512
28095
  interface MerchantFees {
27513
28096
  readonly duty_guarantee: number;
27514
28097
  readonly mor: number;
@@ -27570,6 +28153,7 @@ declare namespace io.flow.internal.v0.models {
27570
28153
  interface MerchantSearchResult {
27571
28154
  readonly organization_id: string;
27572
28155
  readonly shop_name?: string;
28156
+ readonly shop_id?: string;
27573
28157
  readonly legal_name: string;
27574
28158
  readonly onboarding_current_state: io.flow.organization.onboarding.state.v0.unions.OnboardingState;
27575
28159
  }
@@ -27578,7 +28162,6 @@ declare namespace io.flow.internal.v0.models {
27578
28162
  readonly fees: io.flow.internal.v0.models.ShopperFees;
27579
28163
  readonly tax: number;
27580
28164
  readonly duty: number;
27581
- readonly freight: number;
27582
28165
  readonly total: number;
27583
28166
  }
27584
28167
 
@@ -27586,7 +28169,7 @@ declare namespace io.flow.internal.v0.models {
27586
28169
  readonly subsidies: io.flow.internal.v0.models.MerchantSubsidies;
27587
28170
  readonly fees: io.flow.internal.v0.models.MerchantFees;
27588
28171
  readonly transactions: io.flow.internal.v0.models.MerchantTransactions;
27589
- readonly discounts: number;
28172
+ readonly total: number;
27590
28173
  }
27591
28174
 
27592
28175
  interface MerchantTransactions {
@@ -27598,6 +28181,13 @@ declare namespace io.flow.internal.v0.models {
27598
28181
  readonly total: number;
27599
28182
  }
27600
28183
 
28184
+ interface MerchantUpserted {
28185
+ readonly discriminator: 'merchant_upserted';
28186
+ readonly event_id: string;
28187
+ readonly timestamp: string;
28188
+ readonly merchant: io.flow.internal.v0.models.Merchant;
28189
+ }
28190
+
27601
28191
  interface MetadataProposition {
27602
28192
  readonly shipping_method: io.flow.internal.v0.models.ShippingMethodReference;
27603
28193
  readonly name: string;
@@ -27608,11 +28198,6 @@ declare namespace io.flow.internal.v0.models {
27608
28198
  readonly proposition: io.flow.internal.v0.models.MetadataProposition;
27609
28199
  }
27610
28200
 
27611
- interface MetadataWeights {
27612
- readonly dead?: io.flow.internal.v0.models.WeightsDead;
27613
- readonly dimensional?: io.flow.internal.v0.models.WeightsDimensional;
27614
- }
27615
-
27616
28201
  interface NextBillingStatement {
27617
28202
  readonly date: string;
27618
28203
  readonly amount: io.flow.common.v0.models.Price;
@@ -27629,6 +28214,12 @@ declare namespace io.flow.internal.v0.models {
27629
28214
  readonly harmonization_status: io.flow.internal.v0.enums.ItemHarmonizationStatus;
27630
28215
  }
27631
28216
 
28217
+ interface NonChannelPaymentBankAccount {
28218
+ readonly payment: io.flow.internal.v0.models.ReportPayment;
28219
+ readonly bank_account: io.flow.internal.v0.models.ReportBankAccount;
28220
+ readonly account: io.flow.internal.v0.models.ReportAccount;
28221
+ }
28222
+
27632
28223
  interface Notification {
27633
28224
  readonly order: io.flow.internal.v0.models.Decision;
27634
28225
  }
@@ -28170,6 +28761,7 @@ declare namespace io.flow.internal.v0.models {
28170
28761
  readonly deactivate_at: string;
28171
28762
  readonly created_at: string;
28172
28763
  readonly reason?: string;
28764
+ readonly processed_at?: string;
28173
28765
  }
28174
28766
 
28175
28767
  interface OrganizationDeactivationDeleted {
@@ -29103,6 +29695,11 @@ declare namespace io.flow.internal.v0.models {
29103
29695
  readonly order_cancellation_id: string;
29104
29696
  }
29105
29697
 
29698
+ interface ProofOfPostingOrderCombinedShipment {
29699
+ readonly discriminator: 'order_combined_shipment';
29700
+ readonly order_combined_shipment_id: string;
29701
+ }
29702
+
29106
29703
  interface ProofOfPostingShippingNotification {
29107
29704
  readonly discriminator: 'shipping_notification';
29108
29705
  readonly shipping_notification_id: string;
@@ -29570,20 +30167,34 @@ declare namespace io.flow.internal.v0.models {
29570
30167
  }
29571
30168
 
29572
30169
  interface Report {
29573
- readonly key: string;
30170
+ readonly id: string;
29574
30171
  readonly status: io.flow.internal.v0.enums.ReportStatus;
30172
+ readonly type: io.flow.internal.v0.enums.ReportType;
29575
30173
  readonly from: string;
29576
30174
  readonly to: string;
29577
- readonly organization_id?: string;
29578
- readonly sales_url?: string;
29579
- readonly refunds_url?: string;
30175
+ readonly url?: string;
30176
+ readonly processed_at?: string;
30177
+ }
30178
+
30179
+ interface ReportAccount {
30180
+ readonly id: string;
30181
+ readonly source: io.flow.internal.v0.models.AccountSource;
30182
+ }
30183
+
30184
+ interface ReportBankAccount {
30185
+ readonly id?: string;
30186
+ readonly last4?: string;
29580
30187
  }
29581
30188
 
29582
30189
  interface ReportForm {
29583
- readonly key?: string;
29584
30190
  readonly from: string;
29585
30191
  readonly to: string;
29586
- readonly organization_id?: string;
30192
+ readonly type: io.flow.internal.v0.enums.ReportType;
30193
+ }
30194
+
30195
+ interface ReportPayment {
30196
+ readonly id: string;
30197
+ readonly created_at: string;
29587
30198
  }
29588
30199
 
29589
30200
  interface ReportRuleDecision {
@@ -29598,6 +30209,9 @@ declare namespace io.flow.internal.v0.models {
29598
30209
  }
29599
30210
 
29600
30211
  interface ReportingDetails {
30212
+ readonly accounting_transactions?: any /*object*/[];
30213
+ readonly fulfillments?: any /*object*/[];
30214
+ readonly fulfillment_delta?: io.flow.internal.v0.models.DebugFulfillmentDelta;
29601
30215
  readonly sales_records?: any /*object*/[];
29602
30216
  readonly refund_records?: any /*object*/[];
29603
30217
  }
@@ -29676,6 +30290,12 @@ declare namespace io.flow.internal.v0.models {
29676
30290
  readonly decision: io.flow.internal.v0.enums.RestrictionDecision;
29677
30291
  }
29678
30292
 
30293
+ interface RestrictionItemReviewSummary {
30294
+ readonly rule: io.flow.internal.v0.models.RestrictionRuleSummary;
30295
+ readonly status: io.flow.internal.v0.enums.RestrictionStatus;
30296
+ readonly updated_at: string;
30297
+ }
30298
+
29679
30299
  interface RestrictionKeywordMetadata {
29680
30300
  readonly keyword: string;
29681
30301
  readonly type: io.flow.internal.v0.enums.KeywordType;
@@ -29752,6 +30372,7 @@ declare namespace io.flow.internal.v0.models {
29752
30372
  readonly name: string;
29753
30373
  readonly price: io.flow.common.v0.models.Price;
29754
30374
  readonly item_numbers: string[];
30375
+ readonly primary_item_number?: string;
29755
30376
  readonly description: string;
29756
30377
  readonly categories: string[];
29757
30378
  readonly images: io.flow.catalog.v0.models.Image[];
@@ -29776,6 +30397,11 @@ declare namespace io.flow.internal.v0.models {
29776
30397
  readonly product_name_query?: string;
29777
30398
  }
29778
30399
 
30400
+ interface RestrictionProductSummary {
30401
+ readonly name: string;
30402
+ readonly restrictions: io.flow.internal.v0.models.RestrictionItemReviewSummary[];
30403
+ }
30404
+
29779
30405
  interface RestrictionRule {
29780
30406
  readonly id: string;
29781
30407
  readonly name: string;
@@ -30049,14 +30675,6 @@ declare namespace io.flow.internal.v0.models {
30049
30675
  readonly total: io.flow.common.v0.models.PriceWithBase;
30050
30676
  }
30051
30677
 
30052
- interface ShipperAccountInfoForm {
30053
- readonly account_name?: string;
30054
- readonly account_number: string;
30055
- readonly postal: string;
30056
- readonly country: string;
30057
- readonly invoice_info?: io.flow.internal.v0.models.InvoiceInfoForm;
30058
- }
30059
-
30060
30678
  interface ShippingLane {
30061
30679
  readonly origin: string;
30062
30680
  readonly destination: string;
@@ -30230,6 +30848,13 @@ declare namespace io.flow.internal.v0.models {
30230
30848
  readonly shopify_markets_order: io.flow.internal.v0.models.ShopifyMarketsOrder;
30231
30849
  }
30232
30850
 
30851
+ interface ShopifyMarketsOrderVersion {
30852
+ readonly id: string;
30853
+ readonly timestamp: string;
30854
+ readonly type: io.flow.common.v0.enums.ChangeType;
30855
+ readonly shopify_markets_order: io.flow.shopify.markets.internal.event.v0.models.ShopifyMarketsOrder;
30856
+ }
30857
+
30233
30858
  interface ShopifyMarketsOrdersMetrics {
30234
30859
  readonly id: string;
30235
30860
  readonly range: io.flow.common.v0.models.DatetimeRange;
@@ -30238,6 +30863,18 @@ declare namespace io.flow.internal.v0.models {
30238
30863
  readonly discrepancy_data: io.flow.internal.v0.models.ShopifyMarketsDiscrepancyData;
30239
30864
  }
30240
30865
 
30866
+ interface ShopifyMarketsQueuedRecord {
30867
+ readonly id: string;
30868
+ readonly type: string;
30869
+ readonly type_id: string;
30870
+ readonly organization_id: string;
30871
+ readonly environment?: string;
30872
+ readonly num_attempts: number;
30873
+ readonly next_attempt_at: string;
30874
+ readonly errors?: string[];
30875
+ readonly stacktrace?: string;
30876
+ }
30877
+
30241
30878
  interface ShopifyMarketsShop {
30242
30879
  readonly id: string;
30243
30880
  readonly shopify_shop_id?: string;
@@ -30649,11 +31286,32 @@ declare namespace io.flow.internal.v0.models {
30649
31286
  readonly tax: number;
30650
31287
  readonly duty: number;
30651
31288
  readonly subsidies: io.flow.internal.v0.models.FulfillmentSubsidyBreakdown;
31289
+ readonly total: number;
31290
+ }
31291
+
31292
+ interface ShopperLine {
31293
+ readonly item: io.flow.internal.v0.models.ItemSummary;
31294
+ readonly quantity: number;
31295
+ readonly unit_price: number;
31296
+ readonly price: number;
31297
+ readonly discount: number;
31298
+ readonly tax: number;
31299
+ readonly duty: number;
31300
+ readonly subsidies: io.flow.internal.v0.models.FulfillmentSubsidyBreakdown;
31301
+ readonly total: number;
31302
+ }
31303
+
31304
+ interface ShopperLines {
31305
+ readonly lines: io.flow.internal.v0.models.ShopperLine[];
31306
+ readonly total: number;
30652
31307
  }
30653
31308
 
30654
31309
  interface ShopperSummary {
31310
+ readonly fulfilled: io.flow.internal.v0.models.ShopperLines;
30655
31311
  readonly fees: io.flow.internal.v0.models.ShopperFees;
30656
31312
  readonly freight: io.flow.internal.v0.models.ShopperFreight;
31313
+ readonly order_discount: number;
31314
+ readonly total: number;
30657
31315
  }
30658
31316
 
30659
31317
  interface SimpleAccountReference {
@@ -31527,8 +32185,11 @@ declare namespace io.flow.internal.v0.models {
31527
32185
  readonly description: string;
31528
32186
  }
31529
32187
 
31530
- interface TrueUpLabelSummary {
32188
+ interface TrueupLabelSummary {
31531
32189
  readonly id: string;
32190
+ readonly organization: io.flow.common.v0.models.OrganizationReference;
32191
+ readonly order_number: string;
32192
+ readonly carrier_id: string;
31532
32193
  readonly carrier_service_id: string;
31533
32194
  readonly carrier_tracking_number: string;
31534
32195
  readonly flow_tracking_number: string;
@@ -31597,45 +32258,9 @@ declare namespace io.flow.internal.v0.models {
31597
32258
 
31598
32259
  interface Ups {
31599
32260
  readonly discriminator: 'ups';
31600
- readonly username: string;
31601
- readonly password: string;
31602
- readonly access_license_number: string;
31603
- readonly account_number: string;
31604
- readonly direct_feed_location_code?: string;
31605
- }
31606
-
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;
32261
+ readonly client_id: string;
32262
+ readonly client_secret: string;
31635
32263
  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
32264
  }
31640
32265
 
31641
32266
  interface UsdSpotRate {
@@ -31806,17 +32431,6 @@ declare namespace io.flow.internal.v0.models {
31806
32431
  readonly placeholder?: any /*json*/;
31807
32432
  }
31808
32433
 
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
32434
  interface WholeOrderActionForm {
31821
32435
  readonly discriminator: 'whole_order_action_form';
31822
32436
  readonly action: io.flow.internal.v0.enums.OrderAction;
@@ -31863,7 +32477,7 @@ declare namespace io.flow.internal.v0.unions {
31863
32477
  | io.flow.internal.v0.models.BlazePaymentAuthCompleteMessage;
31864
32478
  type CarrierChargeForm =
31865
32479
  | io.flow.internal.v0.models.CarrierChargeFormLabel
31866
- | io.flow.internal.v0.models.CarrierChargeFormReturnToOrigin;
32480
+ | io.flow.internal.v0.models.CarrierChargeFormOther;
31867
32481
  type CarrierCredentials =
31868
32482
  | io.flow.internal.v0.models.SfExpress
31869
32483
  | io.flow.internal.v0.models.DhlEcommerce
@@ -32284,6 +32898,8 @@ declare namespace io.flow.internal.v0.unions {
32284
32898
  | io.flow.internal.v0.models.AdyenRefundUpserted
32285
32899
  | io.flow.internal.v0.models.IndexAssignmentUpserted
32286
32900
  | io.flow.internal.v0.models.IndexAssignmentDeleted
32901
+ | io.flow.internal.v0.models.MerchantUpserted
32902
+ | io.flow.internal.v0.models.MerchantDeleted
32287
32903
  | io.flow.internal.v0.models.AccountUpserted
32288
32904
  | io.flow.internal.v0.models.AccountUpsertedV2
32289
32905
  | io.flow.internal.v0.models.AccountDeletedV2
@@ -32331,8 +32947,6 @@ declare namespace io.flow.internal.v0.unions {
32331
32947
  | io.flow.internal.v0.models.DailyValueDeleted
32332
32948
  | io.flow.internal.v0.models.SalesRecordUpserted
32333
32949
  | io.flow.internal.v0.models.SalesRecordDeleted
32334
- | io.flow.internal.v0.models.LabelInvoiceRequestUpserted
32335
- | io.flow.internal.v0.models.LabelInvoiceRequestDeleted
32336
32950
  | io.flow.internal.v0.models.CalculatorOrganizationSettingsUpserted
32337
32951
  | io.flow.internal.v0.models.CalculatorOrganizationSettingsDeleted
32338
32952
  | io.flow.internal.v0.models.CarrierAccountUpsertedV2
@@ -32427,6 +33041,8 @@ declare namespace io.flow.internal.v0.unions {
32427
33041
  | io.flow.internal.v0.models.OrganizationBankAccountDeleted
32428
33042
  | io.flow.internal.v0.models.BillingCsvTransactionUpserted
32429
33043
  | io.flow.internal.v0.models.BillingCsvTransactionDeleted
33044
+ | io.flow.internal.v0.models.LabelInvoiceRequestUpserted
33045
+ | io.flow.internal.v0.models.LabelInvoiceRequestDeleted
32430
33046
  | io.flow.internal.v0.models.FraudReviewUpserted
32431
33047
  | io.flow.internal.v0.models.FraudReviewDeleted
32432
33048
  | io.flow.internal.v0.models.FraudPendingReviewUpserted
@@ -32575,6 +33191,8 @@ declare namespace io.flow.internal.v0.unions {
32575
33191
  | io.flow.internal.v0.models.ShopifyMarketsShopStatisticsDeleted
32576
33192
  | io.flow.internal.v0.models.ShopifyMarketsMetricsUpserted
32577
33193
  | io.flow.internal.v0.models.ShopifyMarketsMetricsDeleted
33194
+ | io.flow.internal.v0.models.ChannelOrderSummaryUpserted
33195
+ | io.flow.internal.v0.models.ChannelOrderSummaryDeleted
32578
33196
  | io.flow.internal.v0.models.ShopifyMonitoringOrderMonitorEventUpserted
32579
33197
  | io.flow.internal.v0.models.ShopifyMonitoringOrderMonitorEventDeleted
32580
33198
  | io.flow.internal.v0.models.ShopifyOrderFulfillmentsSnapshotUpserted
@@ -32632,7 +33250,11 @@ declare namespace io.flow.internal.v0.unions {
32632
33250
  type FulfillmentProof =
32633
33251
  | io.flow.internal.v0.models.FulfillmentProofLabelTrackingReference
32634
33252
  | io.flow.internal.v0.models.FulfillmentProofShippingNotificationReference
32635
- | io.flow.internal.v0.models.FulfillmentProofExternalFulfillmentProofReference;
33253
+ | io.flow.internal.v0.models.FulfillmentProofExternalFulfillmentProofReference
33254
+ | io.flow.internal.v0.models.FulfillmentProofOrderCombinedShipmentReference;
33255
+ type FulfillmentTrigger =
33256
+ | io.flow.internal.v0.models.FulfillmentTriggerProof
33257
+ | io.flow.internal.v0.models.FulfillmentTriggerTime;
32636
33258
  type GenerateLoad =
32637
33259
  | io.flow.internal.v0.models.GenerateLoadSingleOrg
32638
33260
  | io.flow.internal.v0.models.GenerateLoadMultipleOrgs;
@@ -32717,10 +33339,6 @@ declare namespace io.flow.internal.v0.unions {
32717
33339
  type InternalRefundForm = io.flow.internal.v0.models.AdyenRefundForm;
32718
33340
  type InternalTransactionDetails =
32719
33341
  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
33342
  type LocalizableContent =
32725
33343
  | io.flow.internal.v0.models.LocalizableContentReference
32726
33344
  | io.flow.internal.v0.models.Localization;
@@ -32803,7 +33421,8 @@ declare namespace io.flow.internal.v0.unions {
32803
33421
  | io.flow.internal.v0.models.ProofOfPostingFulfilled
32804
33422
  | io.flow.internal.v0.models.ProofOfPostingExternallyFulfilled
32805
33423
  | io.flow.internal.v0.models.ProofOfPostingShippingNotification
32806
- | io.flow.internal.v0.models.ProofOfPostingOrderCancellation;
33424
+ | io.flow.internal.v0.models.ProofOfPostingOrderCancellation
33425
+ | io.flow.internal.v0.models.ProofOfPostingOrderCombinedShipment;
32807
33426
  type RoutingEntity =
32808
33427
  | io.flow.internal.v0.models.RoutingProcessor
32809
33428
  | io.flow.internal.v0.models.RoutingAccount
@@ -32899,6 +33518,7 @@ export type AccountProcessingRatesForm =
32899
33518
  io.flow.internal.v0.models.AccountProcessingRatesForm;
32900
33519
  export type AccountProcessingRatesUpserted =
32901
33520
  io.flow.internal.v0.models.AccountProcessingRatesUpserted;
33521
+ export type AccountReference = io.flow.internal.v0.models.AccountReference;
32902
33522
  export type AccountSettingLabelFees =
32903
33523
  io.flow.internal.v0.models.AccountSettingLabelFees;
32904
33524
  export type AccountSettingLiabilitiesMethod =
@@ -33275,8 +33895,10 @@ export type CarrierChargeFileResult =
33275
33895
  export type CarrierChargeForm = io.flow.internal.v0.unions.CarrierChargeForm;
33276
33896
  export type CarrierChargeFormLabel =
33277
33897
  io.flow.internal.v0.models.CarrierChargeFormLabel;
33278
- export type CarrierChargeFormReturnToOrigin =
33279
- io.flow.internal.v0.models.CarrierChargeFormReturnToOrigin;
33898
+ export type CarrierChargeFormOther =
33899
+ io.flow.internal.v0.models.CarrierChargeFormOther;
33900
+ export type CarrierChargeOtherReason =
33901
+ io.flow.internal.v0.enums.CarrierChargeOtherReason;
33280
33902
  export type CarrierChargeUnits = io.flow.internal.v0.models.CarrierChargeUnits;
33281
33903
  export type CarrierCredentials = io.flow.internal.v0.unions.CarrierCredentials;
33282
33904
  export type CarrierInvoice = io.flow.internal.v0.models.CarrierInvoice;
@@ -33356,6 +33978,7 @@ export type ChannelMembershipForm =
33356
33978
  io.flow.internal.v0.models.ChannelMembershipForm;
33357
33979
  export type ChannelMembershipPutForm =
33358
33980
  io.flow.internal.v0.models.ChannelMembershipPutForm;
33981
+ export type ChannelOrder = io.flow.internal.v0.models.ChannelOrder;
33359
33982
  export type ChannelOrderAcceptance =
33360
33983
  io.flow.internal.v0.models.ChannelOrderAcceptance;
33361
33984
  export type ChannelOrderAcceptanceDeleted =
@@ -33374,6 +33997,16 @@ export type ChannelOrderAcceptanceStatus =
33374
33997
  io.flow.internal.v0.enums.ChannelOrderAcceptanceStatus;
33375
33998
  export type ChannelOrderAcceptanceUpserted =
33376
33999
  io.flow.internal.v0.models.ChannelOrderAcceptanceUpserted;
34000
+ export type ChannelOrderFulfillmentStatusCode =
34001
+ io.flow.internal.v0.enums.ChannelOrderFulfillmentStatusCode;
34002
+ export type ChannelOrderSummary =
34003
+ io.flow.internal.v0.models.ChannelOrderSummary;
34004
+ export type ChannelOrderSummaryDeleted =
34005
+ io.flow.internal.v0.models.ChannelOrderSummaryDeleted;
34006
+ export type ChannelOrderSummaryFulfillmentDetails =
34007
+ io.flow.internal.v0.models.ChannelOrderSummaryFulfillmentDetails;
34008
+ export type ChannelOrderSummaryUpserted =
34009
+ io.flow.internal.v0.models.ChannelOrderSummaryUpserted;
33377
34010
  export type ChannelOrganizationShopify =
33378
34011
  io.flow.internal.v0.models.ChannelOrganizationShopify;
33379
34012
  export type ChannelOrganizationShopifyForm =
@@ -34563,7 +35196,13 @@ export type DailyExperimentResultsUpserted =
34563
35196
  export type DailyValue = io.flow.internal.v0.models.DailyValue;
34564
35197
  export type DailyValueDeleted = io.flow.internal.v0.models.DailyValueDeleted;
34565
35198
  export type DailyValueUpserted = io.flow.internal.v0.models.DailyValueUpserted;
35199
+ export type DebugAccountingTransaction =
35200
+ io.flow.internal.v0.models.DebugAccountingTransaction;
35201
+ export type DebugAccountingTransactionType =
35202
+ io.flow.internal.v0.enums.DebugAccountingTransactionType;
34566
35203
  export type DebugDetails = io.flow.internal.v0.models.DebugDetails;
35204
+ export type DebugFulfillmentDelta =
35205
+ io.flow.internal.v0.models.DebugFulfillmentDelta;
34567
35206
  export type DebugLabel = io.flow.internal.v0.models.DebugLabel;
34568
35207
  export type DebugLabelTransactionSummary =
34569
35208
  io.flow.internal.v0.models.DebugLabelTransactionSummary;
@@ -34966,13 +35605,14 @@ export type FulfillmentBusiness =
34966
35605
  export type FulfillmentCancel = io.flow.internal.v0.models.FulfillmentCancel;
34967
35606
  export type FulfillmentInternalExperienceReference =
34968
35607
  io.flow.internal.v0.models.FulfillmentInternalExperienceReference;
34969
- export type FulfillmentLine = io.flow.internal.v0.models.FulfillmentLine;
34970
35608
  export type FulfillmentOrigin = io.flow.internal.v0.models.FulfillmentOrigin;
34971
35609
  export type FulfillmentProof = io.flow.internal.v0.unions.FulfillmentProof;
34972
35610
  export type FulfillmentProofExternalFulfillmentProofReference =
34973
35611
  io.flow.internal.v0.models.FulfillmentProofExternalFulfillmentProofReference;
34974
35612
  export type FulfillmentProofLabelTrackingReference =
34975
35613
  io.flow.internal.v0.models.FulfillmentProofLabelTrackingReference;
35614
+ export type FulfillmentProofOrderCombinedShipmentReference =
35615
+ io.flow.internal.v0.models.FulfillmentProofOrderCombinedShipmentReference;
34976
35616
  export type FulfillmentProofShippingNotificationReference =
34977
35617
  io.flow.internal.v0.models.FulfillmentProofShippingNotificationReference;
34978
35618
  export type FulfillmentReference =
@@ -34983,6 +35623,11 @@ export type FulfillmentSnapshot =
34983
35623
  io.flow.internal.v0.models.FulfillmentSnapshot;
34984
35624
  export type FulfillmentSubsidyBreakdown =
34985
35625
  io.flow.internal.v0.models.FulfillmentSubsidyBreakdown;
35626
+ export type FulfillmentTrigger = io.flow.internal.v0.unions.FulfillmentTrigger;
35627
+ export type FulfillmentTriggerProof =
35628
+ io.flow.internal.v0.models.FulfillmentTriggerProof;
35629
+ export type FulfillmentTriggerTime =
35630
+ io.flow.internal.v0.models.FulfillmentTriggerTime;
34986
35631
  export type FxFee = io.flow.internal.v0.models.FxFee;
34987
35632
  export type FxRevenueRecognition =
34988
35633
  io.flow.internal.v0.models.FxRevenueRecognition;
@@ -35283,7 +35928,6 @@ export type LabProjectSettingsFormAcceptance =
35283
35928
  io.flow.internal.v0.models.LabProjectSettingsFormAcceptance;
35284
35929
  export type LabelAliases = io.flow.internal.v0.models.LabelAliases;
35285
35930
  export type LabelAssociation = io.flow.internal.v0.models.LabelAssociation;
35286
- export type LabelBase = io.flow.internal.v0.models.LabelBase;
35287
35931
  export type LabelBillingStrategy =
35288
35932
  io.flow.internal.v0.enums.LabelBillingStrategy;
35289
35933
  export type LabelCancellationError =
@@ -35326,15 +35970,6 @@ export type LabelRequestErrorHandlingResponsibility =
35326
35970
  export type LabelRequestErrorUpserted =
35327
35971
  io.flow.internal.v0.models.LabelRequestErrorUpserted;
35328
35972
  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
35973
  export type LabelSurchargeForm = io.flow.internal.v0.models.LabelSurchargeForm;
35339
35974
  export type LabelSurchargeSingleForm =
35340
35975
  io.flow.internal.v0.models.LabelSurchargeSingleForm;
@@ -35350,7 +35985,6 @@ export type LabelTransactionType =
35350
35985
  io.flow.internal.v0.enums.LabelTransactionType;
35351
35986
  export type LabelTransactionUpserted =
35352
35987
  io.flow.internal.v0.models.LabelTransactionUpserted;
35353
- export type LabelUnits = io.flow.internal.v0.models.LabelUnits;
35354
35988
  export type LabeledContent = io.flow.internal.v0.models.LabeledContent;
35355
35989
  export type LabelsPrediction = io.flow.internal.v0.models.LabelsPrediction;
35356
35990
  export type LandedCostItem = io.flow.internal.v0.models.LandedCostItem;
@@ -35410,6 +36044,8 @@ export type LocalizedPriceBookItemDeleted =
35410
36044
  export type LocalizedPriceBookItemUpserted =
35411
36045
  io.flow.internal.v0.models.LocalizedPriceBookItemUpserted;
35412
36046
  export type Location = io.flow.internal.v0.models.Location;
36047
+ export type LogisticsResponsibility =
36048
+ io.flow.internal.v0.enums.LogisticsResponsibility;
35413
36049
  export type Logo = io.flow.internal.v0.models.Logo;
35414
36050
  export type LoyaltyProgram = io.flow.internal.v0.models.LoyaltyProgram;
35415
36051
  export type LoyaltyProgramMessage =
@@ -35551,10 +36187,12 @@ export type MarketingGatewaySourceSummary =
35551
36187
  export type MarketingGatewaySupportedChannelDetails =
35552
36188
  io.flow.internal.v0.models.MarketingGatewaySupportedChannelDetails;
35553
36189
  export type MarketsOrder = io.flow.internal.v0.models.MarketsOrder;
36190
+ export type Merchant = io.flow.internal.v0.models.Merchant;
35554
36191
  export type MerchantApplicationSummaries =
35555
36192
  io.flow.internal.v0.models.MerchantApplicationSummaries;
35556
36193
  export type MerchantApplicationSummary =
35557
36194
  io.flow.internal.v0.models.MerchantApplicationSummary;
36195
+ export type MerchantDeleted = io.flow.internal.v0.models.MerchantDeleted;
35558
36196
  export type MerchantFees = io.flow.internal.v0.models.MerchantFees;
35559
36197
  export type MerchantGuidAssignment =
35560
36198
  io.flow.internal.v0.models.MerchantGuidAssignment;
@@ -35572,10 +36210,10 @@ export type MerchantSubsidies = io.flow.internal.v0.models.MerchantSubsidies;
35572
36210
  export type MerchantSummary = io.flow.internal.v0.models.MerchantSummary;
35573
36211
  export type MerchantTransactions =
35574
36212
  io.flow.internal.v0.models.MerchantTransactions;
36213
+ export type MerchantUpserted = io.flow.internal.v0.models.MerchantUpserted;
35575
36214
  export type MetadataProposition =
35576
36215
  io.flow.internal.v0.models.MetadataProposition;
35577
36216
  export type MetadataRatecard = io.flow.internal.v0.models.MetadataRatecard;
35578
- export type MetadataWeights = io.flow.internal.v0.models.MetadataWeights;
35579
36217
  export type MixedBagWeight = io.flow.internal.v0.enums.MixedBagWeight;
35580
36218
  export type NatureOfSale = io.flow.internal.v0.enums.NatureOfSale;
35581
36219
  export type NextBillingStatement =
@@ -35586,6 +36224,8 @@ export type NoClassificationForm =
35586
36224
  io.flow.internal.v0.models.NoClassificationForm;
35587
36225
  export type NoLiabilityReasonCode =
35588
36226
  io.flow.internal.v0.enums.NoLiabilityReasonCode;
36227
+ export type NonChannelPaymentBankAccount =
36228
+ io.flow.internal.v0.models.NonChannelPaymentBankAccount;
35589
36229
  export type Notification = io.flow.internal.v0.models.Notification;
35590
36230
  export type OnboardingAuditMessage =
35591
36231
  io.flow.internal.v0.models.OnboardingAuditMessage;
@@ -36009,6 +36649,8 @@ export type ProofOfPostingFulfilled =
36009
36649
  io.flow.internal.v0.models.ProofOfPostingFulfilled;
36010
36650
  export type ProofOfPostingOrderCancellation =
36011
36651
  io.flow.internal.v0.models.ProofOfPostingOrderCancellation;
36652
+ export type ProofOfPostingOrderCombinedShipment =
36653
+ io.flow.internal.v0.models.ProofOfPostingOrderCombinedShipment;
36012
36654
  export type ProofOfPostingShippingNotification =
36013
36655
  io.flow.internal.v0.models.ProofOfPostingShippingNotification;
36014
36656
  export type QueuedRecord = io.flow.internal.v0.models.QueuedRecord;
@@ -36122,11 +36764,15 @@ export type RegisteredExporterTariffEligibilityForm =
36122
36764
  io.flow.internal.v0.models.RegisteredExporterTariffEligibilityForm;
36123
36765
  export type RejectionReason = io.flow.internal.v0.enums.RejectionReason;
36124
36766
  export type Report = io.flow.internal.v0.models.Report;
36767
+ export type ReportAccount = io.flow.internal.v0.models.ReportAccount;
36768
+ export type ReportBankAccount = io.flow.internal.v0.models.ReportBankAccount;
36125
36769
  export type ReportForm = io.flow.internal.v0.models.ReportForm;
36126
36770
  export type ReportInterval = io.flow.internal.v0.enums.ReportInterval;
36771
+ export type ReportPayment = io.flow.internal.v0.models.ReportPayment;
36127
36772
  export type ReportRuleDecision = io.flow.internal.v0.models.ReportRuleDecision;
36128
36773
  export type ReportStatus = io.flow.internal.v0.enums.ReportStatus;
36129
36774
  export type ReportSummary = io.flow.internal.v0.models.ReportSummary;
36775
+ export type ReportType = io.flow.internal.v0.enums.ReportType;
36130
36776
  export type ReportingDetails = io.flow.internal.v0.models.ReportingDetails;
36131
36777
  export type ReportingScheme = io.flow.internal.v0.enums.ReportingScheme;
36132
36778
  export type RequeueRequestForm = io.flow.internal.v0.models.RequeueRequestForm;
@@ -36145,6 +36791,8 @@ export type RestrictionItemReview =
36145
36791
  io.flow.internal.v0.models.RestrictionItemReview;
36146
36792
  export type RestrictionItemReviewDecisionForm =
36147
36793
  io.flow.internal.v0.models.RestrictionItemReviewDecisionForm;
36794
+ export type RestrictionItemReviewSummary =
36795
+ io.flow.internal.v0.models.RestrictionItemReviewSummary;
36148
36796
  export type RestrictionKeywordMetadata =
36149
36797
  io.flow.internal.v0.models.RestrictionKeywordMetadata;
36150
36798
  export type RestrictionKeywords =
@@ -36165,6 +36813,8 @@ export type RestrictionProductDecisionForm =
36165
36813
  io.flow.internal.v0.models.RestrictionProductDecisionForm;
36166
36814
  export type RestrictionProductRequestForm =
36167
36815
  io.flow.internal.v0.models.RestrictionProductRequestForm;
36816
+ export type RestrictionProductSummary =
36817
+ io.flow.internal.v0.models.RestrictionProductSummary;
36168
36818
  export type RestrictionRule = io.flow.internal.v0.models.RestrictionRule;
36169
36819
  export type RestrictionRuleDecisionForm =
36170
36820
  io.flow.internal.v0.models.RestrictionRuleDecisionForm;
@@ -36237,8 +36887,6 @@ export type SessionRolloutForm = io.flow.internal.v0.models.SessionRolloutForm;
36237
36887
  export type SetupBlockPutForm = io.flow.internal.v0.models.SetupBlockPutForm;
36238
36888
  export type SfExpress = io.flow.internal.v0.models.SfExpress;
36239
36889
  export type ShippedItemValue = io.flow.internal.v0.models.ShippedItemValue;
36240
- export type ShipperAccountInfoForm =
36241
- io.flow.internal.v0.models.ShipperAccountInfoForm;
36242
36890
  export type ShippingLane = io.flow.internal.v0.models.ShippingLane;
36243
36891
  export type ShippingMethodReference =
36244
36892
  io.flow.internal.v0.models.ShippingMethodReference;
@@ -36298,8 +36946,12 @@ export type ShopifyMarketsOrderDeleted =
36298
36946
  io.flow.internal.v0.models.ShopifyMarketsOrderDeleted;
36299
36947
  export type ShopifyMarketsOrderUpserted =
36300
36948
  io.flow.internal.v0.models.ShopifyMarketsOrderUpserted;
36949
+ export type ShopifyMarketsOrderVersion =
36950
+ io.flow.internal.v0.models.ShopifyMarketsOrderVersion;
36301
36951
  export type ShopifyMarketsOrdersMetrics =
36302
36952
  io.flow.internal.v0.models.ShopifyMarketsOrdersMetrics;
36953
+ export type ShopifyMarketsQueuedRecord =
36954
+ io.flow.internal.v0.models.ShopifyMarketsQueuedRecord;
36303
36955
  export type ShopifyMarketsQueuedRecordType =
36304
36956
  io.flow.internal.v0.enums.ShopifyMarketsQueuedRecordType;
36305
36957
  export type ShopifyMarketsShop = io.flow.internal.v0.models.ShopifyMarketsShop;
@@ -36440,6 +37092,8 @@ export type ShopifyWebhookEvent =
36440
37092
  export type ShopifyWebhookForm = io.flow.internal.v0.models.ShopifyWebhookForm;
36441
37093
  export type ShopperFees = io.flow.internal.v0.models.ShopperFees;
36442
37094
  export type ShopperFreight = io.flow.internal.v0.models.ShopperFreight;
37095
+ export type ShopperLine = io.flow.internal.v0.models.ShopperLine;
37096
+ export type ShopperLines = io.flow.internal.v0.models.ShopperLines;
36443
37097
  export type ShopperSummary = io.flow.internal.v0.models.ShopperSummary;
36444
37098
  export type SignificanceAction = io.flow.internal.v0.enums.SignificanceAction;
36445
37099
  export type SimpleAccountReference =
@@ -36665,8 +37319,7 @@ export type TransferTransactionUpserted =
36665
37319
  export type TransferTransactionUpsertedV2 =
36666
37320
  io.flow.internal.v0.models.TransferTransactionUpsertedV2;
36667
37321
  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;
37322
+ export type TrueupLabelSummary = io.flow.internal.v0.models.TrueupLabelSummary;
36670
37323
  export type TrueupTransaction = io.flow.internal.v0.models.TrueupTransaction;
36671
37324
  export type TrueupTransactionType =
36672
37325
  io.flow.internal.v0.enums.TrueupTransactionType;
@@ -36689,11 +37342,6 @@ export type UnharmonizedItemsExport =
36689
37342
  export type UnphrasedProductsExport =
36690
37343
  io.flow.internal.v0.models.UnphrasedProductsExport;
36691
37344
  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
37345
  export type UsdSpotRate = io.flow.internal.v0.models.UsdSpotRate;
36698
37346
  export type UsdSpotRateDeleted = io.flow.internal.v0.models.UsdSpotRateDeleted;
36699
37347
  export type UsdSpotRateUpserted =
@@ -36731,7 +37379,5 @@ export type WasteElectricalAndElectronicEquipmentComplianceData =
36731
37379
  export type WasteElectricalAndElectronicEquipmentComplianceForm =
36732
37380
  io.flow.internal.v0.models.WasteElectricalAndElectronicEquipmentComplianceForm;
36733
37381
  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
37382
  export type WholeOrderActionForm =
36737
37383
  io.flow.internal.v0.models.WholeOrderActionForm;