@flowio/types 11.24.129 → 11.24.131

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.
@@ -937,6 +937,7 @@ declare namespace io.flow.payment.gateway.v0.models {
937
937
  readonly supported_actions: io.flow.payment.gateway.v0.enums.PaymentActionType[];
938
938
  readonly payment_capture_option?: io.flow.payment.gateway.v0.unions.PaymentCaptureOption;
939
939
  readonly review?: io.flow.payment.gateway.v0.models.PaymentRequestReview;
940
+ readonly client_secret?: string;
940
941
  }
941
942
 
942
943
  interface PaymentRequestCancellationReasonOrderMissing {
@@ -1252,6 +1253,47 @@ declare namespace io.flow.channel.v0.models {
1252
1253
  }
1253
1254
  }
1254
1255
 
1256
+ declare namespace io.flow.restrictions.v0.enums {
1257
+ type RestrictedReviewStatus = 'in_review' | 'reviewed';
1258
+ type RestrictionEnvironment = 'sandbox' | 'production' | 'qa';
1259
+ type ReviewStatus = 'high_risk_in_review' | 'low_risk_in_review' | 'reviewed';
1260
+ }
1261
+
1262
+ declare namespace io.flow.restrictions.v0.models {
1263
+ interface CarrierRestrictions {
1264
+ readonly carrier: string;
1265
+ readonly regions: string[];
1266
+ }
1267
+
1268
+ interface NeedsActionAttributes {
1269
+ readonly reason_code: string;
1270
+ readonly category_metafield_handles: string[];
1271
+ readonly require_msds?: boolean;
1272
+ }
1273
+
1274
+ interface ProductRestrictionResult {
1275
+ readonly id: string;
1276
+ readonly product_id: string;
1277
+ readonly item_numbers: string[];
1278
+ readonly prohibited_regions: string[];
1279
+ readonly sellability_restricted_regions?: string[];
1280
+ readonly reasons_per_region?: io.flow.restrictions.v0.models.ReasonsPerRegion[];
1281
+ readonly review_status?: io.flow.restrictions.v0.enums.ReviewStatus;
1282
+ readonly rules?: string[];
1283
+ readonly updated_by?: string;
1284
+ readonly product_restriction_id?: string;
1285
+ readonly hs_code?: string;
1286
+ readonly restricted_regions_by_type?: io.flow.sellability.v0.models.SellabilityRegionResult[];
1287
+ readonly needs_action_attributes?: io.flow.restrictions.v0.models.NeedsActionAttributes[];
1288
+ }
1289
+
1290
+ interface ReasonsPerRegion {
1291
+ readonly region: string;
1292
+ readonly reasons: string[];
1293
+ readonly review_status: io.flow.restrictions.v0.enums.RestrictedReviewStatus;
1294
+ }
1295
+ }
1296
+
1255
1297
  declare namespace io.flow.fulfillment.v0.enums {
1256
1298
  type CenterCapability =
1257
1299
  | 'international'
@@ -5261,6 +5303,7 @@ declare namespace io.flow.stripe.v0.unions {
5261
5303
  }
5262
5304
 
5263
5305
  declare namespace io.flow.label.v0.enums {
5306
+ type CommercialInvoiceMode = 'direct' | 'indirect';
5264
5307
  type CostEstimateSource = 'flow' | 'channel';
5265
5308
  type Direction = 'outbound' | 'return';
5266
5309
  type LabelRequestMethod =
@@ -7038,6 +7081,14 @@ declare namespace io.flow.shopify.markets.internal.v0.models {
7038
7081
  readonly shopify: io.flow.shopify.markets.internal.v0.models.ShopifyMarketsShopifyOrderMetrics;
7039
7082
  readonly internal: io.flow.shopify.markets.internal.v0.models.ShopifyMarketsInternalOrderMetrics;
7040
7083
  readonly discrepancy_data: io.flow.shopify.markets.internal.v0.models.ShopifyMarketsDiscrepancyData;
7084
+ readonly organization_metrics?: io.flow.shopify.markets.internal.v0.models.ShopifyMarketsOrganizationOrderMetrics[];
7085
+ }
7086
+
7087
+ interface ShopifyMarketsOrganizationOrderMetrics {
7088
+ readonly organization_id: string;
7089
+ readonly shopify_order_count: number;
7090
+ readonly internal_order_count: number;
7091
+ readonly discrepancy_count?: number;
7041
7092
  }
7042
7093
 
7043
7094
  interface ShopifyMarketsQueuedRecord {
@@ -7180,6 +7231,260 @@ declare namespace io.flow.shopify.markets.internal.v0.models {
7180
7231
  }
7181
7232
  }
7182
7233
 
7234
+ declare namespace io.flow.consumer.invoice.v0.enums {
7235
+ type B2BInvoiceType = 'self_bill_invoice' | 'invoice';
7236
+ type ConsumerInvoiceCustomerType =
7237
+ | 'business_eu_verified'
7238
+ | 'business_non_verified'
7239
+ | 'individual';
7240
+ type ConsumerInvoiceDocumentType = 'pdf';
7241
+ type ConsumerInvoiceStatus = 'pending' | 'available' | 'invalid';
7242
+ type TaxJurisdictionType = 'country' | 'province';
7243
+ type TaxType = 'vat' | 'gst' | 'hst' | 'pst' | 'qst' | 'sales_tax';
7244
+ }
7245
+
7246
+ declare namespace io.flow.consumer.invoice.v0.models {
7247
+ interface B2BCreditMemo {
7248
+ readonly id: string;
7249
+ readonly number: string;
7250
+ readonly buyer: io.flow.common.v0.models.MerchantOfRecordEntity;
7251
+ readonly seller: io.flow.common.v0.models.MerchantOfRecordEntity;
7252
+ readonly status: io.flow.consumer.invoice.v0.enums.ConsumerInvoiceStatus;
7253
+ readonly date: string;
7254
+ readonly key: string;
7255
+ readonly invoice: io.flow.consumer.invoice.v0.models.B2BInvoiceReference;
7256
+ readonly lines: io.flow.consumer.invoice.v0.unions.ConsumerInvoiceLine[];
7257
+ readonly tax_lines?: io.flow.consumer.invoice.v0.models.InvoiceTaxLine[];
7258
+ readonly tax?: io.flow.common.v0.models.Money;
7259
+ readonly documents: io.flow.consumer.invoice.v0.models.ConsumerInvoiceDocument[];
7260
+ readonly attributes: Record<string, string>;
7261
+ readonly b2b_invoice_type: io.flow.consumer.invoice.v0.enums.B2BInvoiceType;
7262
+ readonly center?: io.flow.consumer.invoice.v0.models.ConsumerInvoiceCenterReference;
7263
+ readonly order?: io.flow.consumer.invoice.v0.models.ConsumerInvoiceOrderSummary;
7264
+ }
7265
+
7266
+ interface B2BInvoice {
7267
+ readonly id: string;
7268
+ readonly number: string;
7269
+ readonly buyer: io.flow.common.v0.models.MerchantOfRecordEntity;
7270
+ readonly seller: io.flow.common.v0.models.MerchantOfRecordEntity;
7271
+ readonly status: io.flow.consumer.invoice.v0.enums.ConsumerInvoiceStatus;
7272
+ readonly date: string;
7273
+ readonly key: string;
7274
+ readonly order: io.flow.consumer.invoice.v0.models.ConsumerInvoiceOrderSummary;
7275
+ readonly economic_title_location: io.flow.merchant.of.record.v0.enums.EconomicTitleLocation;
7276
+ readonly center?: io.flow.consumer.invoice.v0.models.ConsumerInvoiceCenterReference;
7277
+ readonly destination?: io.flow.experience.v0.models.OrderAddress;
7278
+ readonly tax: io.flow.common.v0.models.Money;
7279
+ readonly tax_lines?: io.flow.consumer.invoice.v0.models.InvoiceTaxLine[];
7280
+ readonly lines: io.flow.consumer.invoice.v0.unions.ConsumerInvoiceLine[];
7281
+ readonly documents: io.flow.consumer.invoice.v0.models.ConsumerInvoiceDocument[];
7282
+ readonly attributes: Record<string, string>;
7283
+ readonly estimated_delivery_date?: string;
7284
+ readonly b2b_invoice_type: io.flow.consumer.invoice.v0.enums.B2BInvoiceType;
7285
+ }
7286
+
7287
+ interface B2BInvoiceReference {
7288
+ readonly id: string;
7289
+ readonly key: string;
7290
+ readonly number: string;
7291
+ }
7292
+
7293
+ interface ConsumerInvoice {
7294
+ readonly id: string;
7295
+ readonly number: string;
7296
+ readonly status: io.flow.consumer.invoice.v0.enums.ConsumerInvoiceStatus;
7297
+ readonly date: string;
7298
+ readonly key: string;
7299
+ readonly order: io.flow.consumer.invoice.v0.models.ConsumerInvoiceOrderSummary;
7300
+ readonly entity: io.flow.common.v0.models.MerchantOfRecordEntity;
7301
+ readonly payments: io.flow.consumer.invoice.v0.models.ConsumerInvoicePayment[];
7302
+ readonly center?: io.flow.consumer.invoice.v0.models.ConsumerInvoiceCenterReference;
7303
+ readonly destination: io.flow.experience.v0.models.OrderAddress;
7304
+ readonly billing_address?: io.flow.common.v0.models.BillingAddress;
7305
+ readonly lines: io.flow.consumer.invoice.v0.unions.ConsumerInvoiceLine[];
7306
+ readonly documents: io.flow.consumer.invoice.v0.models.ConsumerInvoiceDocument[];
7307
+ readonly attributes: Record<string, string>;
7308
+ readonly tax_registration?: io.flow.harmonization.v0.models.TaxRegistration;
7309
+ readonly customer_type?: io.flow.consumer.invoice.v0.enums.ConsumerInvoiceCustomerType;
7310
+ readonly estimated_delivery_date?: string;
7311
+ }
7312
+
7313
+ interface ConsumerInvoiceCenterReference {
7314
+ readonly id: string;
7315
+ readonly key: string;
7316
+ readonly name: string;
7317
+ readonly address: io.flow.common.v0.models.Address;
7318
+ }
7319
+
7320
+ interface ConsumerInvoiceDocument {
7321
+ readonly type: io.flow.consumer.invoice.v0.enums.ConsumerInvoiceDocumentType;
7322
+ readonly language: string;
7323
+ readonly url: string;
7324
+ }
7325
+
7326
+ interface ConsumerInvoiceForm {
7327
+ readonly order_number: string;
7328
+ readonly attributes?: Record<string, string>;
7329
+ }
7330
+
7331
+ interface ConsumerInvoiceFormByOrder {
7332
+ readonly attributes?: Record<string, string>;
7333
+ }
7334
+
7335
+ interface ConsumerInvoiceLevy {
7336
+ readonly rate: number;
7337
+ readonly value: io.flow.common.v0.models.Price;
7338
+ }
7339
+
7340
+ interface ConsumerInvoiceLevyForm {
7341
+ readonly rate: number;
7342
+ readonly amount: number;
7343
+ }
7344
+
7345
+ interface ConsumerInvoiceLineDiscount {
7346
+ readonly discriminator: 'discount';
7347
+ readonly line_id?: string;
7348
+ readonly price: io.flow.common.v0.models.Price;
7349
+ }
7350
+
7351
+ interface ConsumerInvoiceLineDiscountForm {
7352
+ readonly discriminator: 'discount';
7353
+ readonly price: number;
7354
+ }
7355
+
7356
+ interface ConsumerInvoiceLineItem {
7357
+ readonly discriminator: 'item';
7358
+ readonly line_id?: string;
7359
+ readonly item: io.flow.common.v0.models.ItemReference;
7360
+ readonly description: string;
7361
+ readonly quantity: number;
7362
+ readonly unit_price: io.flow.common.v0.models.Price;
7363
+ readonly unit_discount?: io.flow.common.v0.models.Price;
7364
+ readonly unit_tax?: io.flow.consumer.invoice.v0.models.ConsumerInvoiceLevy;
7365
+ readonly unit_duty?: io.flow.consumer.invoice.v0.models.ConsumerInvoiceLevy;
7366
+ }
7367
+
7368
+ interface ConsumerInvoiceLineItemForm {
7369
+ readonly discriminator: 'item';
7370
+ readonly item_number: string;
7371
+ readonly quantity: number;
7372
+ readonly unit_price: number;
7373
+ readonly unit_discount?: number;
7374
+ readonly unit_tax?: io.flow.consumer.invoice.v0.models.ConsumerInvoiceLevyForm;
7375
+ readonly unit_duty?: io.flow.consumer.invoice.v0.models.ConsumerInvoiceLevyForm;
7376
+ }
7377
+
7378
+ interface ConsumerInvoiceLineShipping {
7379
+ readonly discriminator: 'shipping';
7380
+ readonly line_id?: string;
7381
+ readonly price: io.flow.common.v0.models.Price;
7382
+ readonly discount?: io.flow.common.v0.models.Price;
7383
+ readonly tax?: io.flow.consumer.invoice.v0.models.ConsumerInvoiceLevy;
7384
+ readonly duty?: io.flow.consumer.invoice.v0.models.ConsumerInvoiceLevy;
7385
+ }
7386
+
7387
+ interface ConsumerInvoiceLineShippingForm {
7388
+ readonly discriminator: 'shipping';
7389
+ readonly price: number;
7390
+ readonly discount?: number;
7391
+ readonly tax?: io.flow.consumer.invoice.v0.models.ConsumerInvoiceLevyForm;
7392
+ readonly duty?: io.flow.consumer.invoice.v0.models.ConsumerInvoiceLevyForm;
7393
+ }
7394
+
7395
+ interface ConsumerInvoiceLineTip {
7396
+ readonly discriminator: 'tip';
7397
+ readonly line_id?: string;
7398
+ readonly price: io.flow.common.v0.models.Price;
7399
+ readonly tax?: io.flow.consumer.invoice.v0.models.ConsumerInvoiceLevy;
7400
+ }
7401
+
7402
+ interface ConsumerInvoiceLineTipForm {
7403
+ readonly discriminator: 'tip';
7404
+ readonly price: number;
7405
+ readonly tax?: io.flow.consumer.invoice.v0.models.ConsumerInvoiceLevyForm;
7406
+ }
7407
+
7408
+ interface ConsumerInvoiceOrderSummary {
7409
+ readonly id: string;
7410
+ readonly number: string;
7411
+ readonly submitted_at: string;
7412
+ }
7413
+
7414
+ interface ConsumerInvoicePayment {
7415
+ readonly date: string;
7416
+ readonly description: string;
7417
+ readonly value: io.flow.common.v0.models.Price;
7418
+ readonly billing_address?: io.flow.common.v0.models.BillingAddress;
7419
+ }
7420
+
7421
+ interface ConsumerInvoiceReference {
7422
+ readonly id: string;
7423
+ readonly key: string;
7424
+ readonly number: string;
7425
+ }
7426
+
7427
+ interface CreditMemo {
7428
+ readonly id: string;
7429
+ readonly number?: string;
7430
+ readonly status: io.flow.consumer.invoice.v0.enums.ConsumerInvoiceStatus;
7431
+ readonly date: string;
7432
+ readonly key: string;
7433
+ readonly invoice: io.flow.consumer.invoice.v0.models.ConsumerInvoiceReference;
7434
+ readonly entity: io.flow.common.v0.models.MerchantOfRecordEntity;
7435
+ readonly payments: io.flow.consumer.invoice.v0.models.ConsumerInvoicePayment[];
7436
+ readonly lines: io.flow.consumer.invoice.v0.unions.ConsumerInvoiceLine[];
7437
+ readonly documents: io.flow.consumer.invoice.v0.models.ConsumerInvoiceDocument[];
7438
+ readonly attributes: Record<string, string>;
7439
+ readonly tax_registration?: io.flow.harmonization.v0.models.TaxRegistration;
7440
+ readonly center?: io.flow.consumer.invoice.v0.models.ConsumerInvoiceCenterReference;
7441
+ readonly order?: io.flow.consumer.invoice.v0.models.ConsumerInvoiceOrderSummary;
7442
+ }
7443
+
7444
+ interface CreditMemoForm {
7445
+ readonly refund_id?: string;
7446
+ readonly refund_key?: string;
7447
+ readonly refund_identifier?: string;
7448
+ readonly lines: io.flow.consumer.invoice.v0.unions.ConsumerInvoiceLineForm[];
7449
+ readonly attributes?: Record<string, string>;
7450
+ }
7451
+
7452
+ interface InvoiceExport {
7453
+ readonly id: string;
7454
+ }
7455
+
7456
+ interface InvoiceExportForm {
7457
+ readonly date_from?: string;
7458
+ readonly date_to?: string;
7459
+ }
7460
+
7461
+ interface InvoiceTaxLine {
7462
+ readonly line_id: string;
7463
+ readonly tax_breakdown: io.flow.consumer.invoice.v0.models.TaxBreakdown[];
7464
+ }
7465
+
7466
+ interface TaxBreakdown {
7467
+ readonly label: string;
7468
+ readonly calculated_tax: io.flow.common.v0.models.Money;
7469
+ readonly rate: number;
7470
+ readonly line_total: io.flow.common.v0.models.Money;
7471
+ readonly jurisdiction_type: io.flow.consumer.invoice.v0.enums.TaxJurisdictionType;
7472
+ }
7473
+ }
7474
+
7475
+ declare namespace io.flow.consumer.invoice.v0.unions {
7476
+ type ConsumerInvoiceLine =
7477
+ | io.flow.consumer.invoice.v0.models.ConsumerInvoiceLineItem
7478
+ | io.flow.consumer.invoice.v0.models.ConsumerInvoiceLineDiscount
7479
+ | io.flow.consumer.invoice.v0.models.ConsumerInvoiceLineShipping
7480
+ | io.flow.consumer.invoice.v0.models.ConsumerInvoiceLineTip;
7481
+ type ConsumerInvoiceLineForm =
7482
+ | io.flow.consumer.invoice.v0.models.ConsumerInvoiceLineItemForm
7483
+ | io.flow.consumer.invoice.v0.models.ConsumerInvoiceLineDiscountForm
7484
+ | io.flow.consumer.invoice.v0.models.ConsumerInvoiceLineShippingForm
7485
+ | io.flow.consumer.invoice.v0.models.ConsumerInvoiceLineTipForm;
7486
+ }
7487
+
7183
7488
  declare namespace io.flow.adyen.v0.enums {
7184
7489
  type Channel = 'web';
7185
7490
  type Contract = 'RECURRING';
@@ -9429,6 +9734,7 @@ declare namespace io.flow.shopify.markets.v0.models {
9429
9734
  readonly metafields?: io.flow.shopify.markets.v0.models.ShopifyOrderMetafield[];
9430
9735
  readonly merchant_of_record_app_id?: number;
9431
9736
  readonly total_shipping_price_set?: io.flow.shopify.markets.v0.models.ShopifyOrderMoneySet;
9737
+ readonly current_shipping_price_set?: io.flow.shopify.markets.v0.models.ShopifyOrderMoneySet;
9432
9738
  readonly total_tip_received?: string;
9433
9739
  }
9434
9740
 
@@ -10033,6 +10339,7 @@ declare namespace io.flow.channel.internal.v0.enums {
10033
10339
  | 'unsupported_virtual_goods'
10034
10340
  | 'non_matching_currencies'
10035
10341
  | 'unsupported_order_edit'
10342
+ | 'order_allocation_duties_mismatch'
10036
10343
  | 'order_missing';
10037
10344
  type ChannelOrderAcceptanceStatus =
10038
10345
  | 'accepted'
@@ -10094,6 +10401,7 @@ declare namespace io.flow.channel.internal.v0.models {
10094
10401
  readonly order_updated_at?: string;
10095
10402
  readonly order_edit_summary?: io.flow.channel.internal.v0.models.OrderEditSummary;
10096
10403
  readonly payment_source?: io.flow.channel.internal.v0.enums.OrderPaymentSourceType;
10404
+ readonly external_order_summary?: io.flow.channel.shopify.v0.models.ExternalOrderSummary;
10097
10405
  }
10098
10406
 
10099
10407
  interface ChannelOrderAcceptanceDetails {
@@ -10119,9 +10427,9 @@ declare namespace io.flow.channel.internal.v0.models {
10119
10427
  readonly rejection_reason?: io.flow.channel.internal.v0.enums.ChannelOrderAcceptanceRejectionReason;
10120
10428
  }
10121
10429
 
10122
- interface ChannelOrganizationDomain {
10430
+ interface ChannelOrganizationDomains {
10123
10431
  readonly internal: string;
10124
- readonly public: string;
10432
+ readonly external: string;
10125
10433
  }
10126
10434
 
10127
10435
  interface ChannelOrganizationInstallation {
@@ -10135,7 +10443,7 @@ declare namespace io.flow.channel.internal.v0.models {
10135
10443
  }
10136
10444
 
10137
10445
  interface ChannelOrganizationMetadata {
10138
- readonly domain: io.flow.channel.internal.v0.models.ChannelOrganizationDomain;
10446
+ readonly domain: io.flow.channel.internal.v0.models.ChannelOrganizationDomains;
10139
10447
  readonly token: string;
10140
10448
  }
10141
10449
 
@@ -10624,6 +10932,8 @@ declare namespace io.flow.common.v0.models {
10624
10932
  interface MerchantOfRecordEntityRegistration {
10625
10933
  readonly number: string;
10626
10934
  readonly country: string;
10935
+ readonly province_number?: string;
10936
+ readonly province?: string;
10627
10937
  }
10628
10938
 
10629
10939
  interface Money {
@@ -12385,6 +12695,7 @@ declare namespace io.flow.ratecard.v0.models {
12385
12695
  readonly amount: io.flow.common.v0.models.Money;
12386
12696
  readonly origin_region?: io.flow.ratecard.v0.models.RatecardRegionReference;
12387
12697
  readonly destination_region?: io.flow.ratecard.v0.models.RatecardRegionReference;
12698
+ readonly destination_regions?: io.flow.ratecard.v0.models.RatecardRegionReference[];
12388
12699
  readonly interval_unit?: io.flow.common.v0.enums.UnitOfMeasurement;
12389
12700
  }
12390
12701
 
@@ -12589,6 +12900,7 @@ declare namespace io.flow.ratecard.v0.models {
12589
12900
  readonly center_id?: string;
12590
12901
  readonly taxes_owed?: io.flow.common.v0.models.Money;
12591
12902
  readonly duties_owed?: io.flow.common.v0.models.Money;
12903
+ readonly commercial_invoice_mode?: io.flow.label.v0.enums.CommercialInvoiceMode;
12592
12904
  }
12593
12905
 
12594
12906
  interface RatecardEstimateSummaryForm {
@@ -12808,6 +13120,43 @@ declare namespace io.flow.ratecard.v0.models {
12808
13120
  readonly from: number;
12809
13121
  readonly to: number;
12810
13122
  }
13123
+
13124
+ interface ShippingRateEstimate {
13125
+ readonly origin_address: io.flow.common.v0.models.Address;
13126
+ readonly destination_address: io.flow.common.v0.models.Address;
13127
+ readonly shipping_date_time: string;
13128
+ readonly services: string[];
13129
+ readonly available: io.flow.ratecard.v0.models.ShippingRateEstimateAvailable[];
13130
+ readonly unavailable?: io.flow.ratecard.v0.models.ShippingRateEstimateUnavailable[];
13131
+ }
13132
+
13133
+ interface ShippingRateEstimateAvailable {
13134
+ readonly service: io.flow.ratecard.v0.models.RatecardServiceSummary;
13135
+ readonly delivered_duty: io.flow.common.v0.enums.DeliveredDuty;
13136
+ readonly shipment_window: io.flow.ratecard.v0.models.ShipmentWindow;
13137
+ readonly total_amount: io.flow.common.v0.models.Money;
13138
+ readonly base_amount: io.flow.common.v0.models.Money;
13139
+ readonly fees: io.flow.ratecard.v0.unions.RatecardFee[];
13140
+ readonly dimensional_weight?: io.flow.common.v0.models.Measurement;
13141
+ readonly gravitational_weight?: io.flow.common.v0.models.Measurement;
13142
+ readonly weight_break?: number;
13143
+ }
13144
+
13145
+ interface ShippingRateEstimateRequest {
13146
+ readonly origin_address: io.flow.common.v0.models.Address;
13147
+ readonly destination_address: io.flow.common.v0.models.Address;
13148
+ readonly package_dimensions: io.flow.common.v0.models.Dimension;
13149
+ readonly shipping_date_time: string;
13150
+ readonly delivered_duty?: io.flow.common.v0.enums.DeliveredDuty;
13151
+ readonly duties_owed?: io.flow.common.v0.models.Money;
13152
+ readonly taxes_owed?: io.flow.common.v0.models.Money;
13153
+ readonly line_items?: io.flow.common.v0.models.LineItemForm[];
13154
+ }
13155
+
13156
+ interface ShippingRateEstimateUnavailable {
13157
+ readonly service: string;
13158
+ readonly reason: string;
13159
+ }
12811
13160
  }
12812
13161
 
12813
13162
  declare namespace io.flow.ratecard.v0.unions {
@@ -13118,6 +13467,35 @@ declare namespace io.flow.crypto.v0.models {
13118
13467
  }
13119
13468
  }
13120
13469
 
13470
+ declare namespace io.flow.channel.shopify.v0.enums {
13471
+ type ChannelShopifyOrderStateReasonCode = 'placeholder_reason_code';
13472
+ }
13473
+
13474
+ declare namespace io.flow.channel.shopify.v0.models {
13475
+ interface ChannelShopifyOrderState {
13476
+ readonly id: string;
13477
+ readonly shopify_order_summary: io.flow.channel.shopify.v0.models.ChannelShopifyOrderSummary;
13478
+ readonly status: io.flow.channel.internal.v0.enums.ChannelOrderAcceptanceStatus;
13479
+ readonly reasons?: io.flow.channel.shopify.v0.models.ChannelShopifyOrderStateReason[];
13480
+ readonly external_order_summary?: io.flow.channel.shopify.v0.models.ExternalOrderSummary;
13481
+ }
13482
+
13483
+ interface ChannelShopifyOrderStateReason {
13484
+ readonly code: io.flow.channel.shopify.v0.enums.ChannelShopifyOrderStateReasonCode;
13485
+ readonly message: string;
13486
+ }
13487
+
13488
+ interface ChannelShopifyOrderSummary {
13489
+ readonly order_id: number;
13490
+ readonly shop_id: number;
13491
+ }
13492
+
13493
+ interface ExternalOrderSummary {
13494
+ readonly id: string;
13495
+ readonly edit_ids: string[];
13496
+ }
13497
+ }
13498
+
13121
13499
  declare namespace io.flow.shopify.merchant.config.v0.models {
13122
13500
  interface Company {
13123
13501
  readonly discriminator: 'company';
@@ -13846,22 +14224,94 @@ declare namespace io.flow.merchant.onboarding.v0.enums {
13846
14224
  }
13847
14225
 
13848
14226
  declare namespace io.flow.merchant.onboarding.v0.models {
13849
- interface IndirectTax {
13850
- readonly number?: string;
13851
- readonly id?: string;
14227
+ interface CommonMerchantApplication {
14228
+ readonly discriminator: 'common_merchant_application';
14229
+ readonly id: string;
14230
+ readonly organization_id: string;
14231
+ readonly organization_reference: io.flow.merchant.onboarding.v0.models.OnboardingOrganizationReference;
14232
+ readonly status: io.flow.merchant.onboarding.v0.enums.OnboardingApplicationStatus;
14233
+ readonly company?: io.flow.merchant.onboarding.v0.models.MerchantInfo;
14234
+ readonly indirect_tax?: io.flow.merchant.onboarding.v0.models.IndirectTax;
14235
+ readonly ultimate_beneficiary_owner?: io.flow.merchant.onboarding.v0.models.UltimateBeneficiaryOwner;
14236
+ readonly business_url?: string;
14237
+ readonly business_description?: string;
14238
+ readonly business_address?: io.flow.common.v0.models.Address;
14239
+ readonly refund_percentage?: number;
14240
+ readonly chargeback_percentage?: number;
14241
+ readonly beneficiary_details?: io.flow.merchant.onboarding.v0.models.MerchantOnboardingBeneficiaryDetails;
14242
+ readonly other_trade_sector?: string;
14243
+ readonly center_contact?: io.flow.merchant.onboarding.v0.models.OperationsContact;
14244
+ readonly center_address?: io.flow.common.v0.models.Address;
14245
+ readonly average_order_weight?: number;
14246
+ readonly average_order_weight_unit?: io.flow.common.v0.enums.UnitOfMeasurement;
14247
+ readonly package_dimensions?: io.flow.common.v0.models.Dimension[];
14248
+ readonly monthly_average?: io.flow.merchant.onboarding.v0.models.MonthlyAverage;
14249
+ readonly default_country_of_origin?: string;
14250
+ readonly rate_card: string;
14251
+ readonly shop?: io.flow.merchant.onboarding.v0.models.Shop;
14252
+ readonly created_at: string;
14253
+ readonly last_year_xborder_gmv?: io.flow.common.v0.models.Money;
14254
+ readonly last_month_xborder_gmv?: io.flow.common.v0.models.Money;
14255
+ readonly average_order_value?: io.flow.common.v0.models.Money;
14256
+ readonly mcc_codes?: number[];
13852
14257
  }
13853
14258
 
13854
- interface LogisticsFormat {
13855
- readonly preference: io.flow.merchant.onboarding.v0.enums.LogisticsFormatPreference;
13856
- readonly description?: string;
14259
+ interface CommonMerchantApplicationForm {
14260
+ readonly discriminator: 'common_merchant_application_form';
14261
+ readonly company?: io.flow.merchant.onboarding.v0.models.MerchantInfo;
14262
+ readonly indirect_tax?: io.flow.merchant.onboarding.v0.models.IndirectTax;
14263
+ readonly ultimate_beneficiary_owner?: io.flow.merchant.onboarding.v0.models.UltimateBeneficiaryOwner;
14264
+ readonly business_url?: string;
14265
+ readonly business_description?: string;
14266
+ readonly business_address?: io.flow.common.v0.models.Address;
14267
+ readonly refund_percentage?: number;
14268
+ readonly chargeback_percentage?: number;
14269
+ readonly beneficiary_details?: io.flow.merchant.onboarding.v0.models.MerchantOnboardingBeneficiaryDetails;
14270
+ readonly other_trade_sector?: string;
14271
+ readonly center_contact?: io.flow.merchant.onboarding.v0.models.OperationsContact;
14272
+ readonly center_address?: io.flow.common.v0.models.Address;
14273
+ readonly average_order_weight?: number;
14274
+ readonly average_order_weight_unit?: io.flow.common.v0.enums.UnitOfMeasurement;
14275
+ readonly package_dimensions?: io.flow.common.v0.models.Dimension[];
14276
+ readonly monthly_average_volume_amount?: number;
14277
+ readonly monthly_average_volume_currency?: string;
14278
+ readonly monthly_average_number_transactions?: number;
14279
+ readonly default_country_of_origin?: string;
14280
+ readonly shop?: io.flow.merchant.onboarding.v0.models.Shop;
14281
+ readonly rate_card?: string;
14282
+ readonly last_year_xborder_gmv?: io.flow.common.v0.models.Money;
14283
+ readonly last_month_xborder_gmv?: io.flow.common.v0.models.Money;
14284
+ readonly average_order_value?: io.flow.common.v0.models.Money;
14285
+ readonly mcc_codes?: number[];
13857
14286
  }
13858
14287
 
13859
- interface MerchantInfo {
14288
+ interface CommonMerchantApplicationPutForm {
14289
+ readonly discriminator: 'common_merchant_application_put_form';
14290
+ readonly status?: io.flow.merchant.onboarding.v0.enums.OnboardingApplicationStatus;
14291
+ }
14292
+
14293
+ interface CommonMerchantApplicationsSummary {
14294
+ readonly discriminator: 'common_merchant_applications_summary';
14295
+ readonly total: number;
14296
+ }
14297
+
14298
+ interface IndirectTax {
14299
+ readonly number?: string;
14300
+ readonly id?: string;
14301
+ }
14302
+
14303
+ interface LogisticsFormat {
14304
+ readonly preference: io.flow.merchant.onboarding.v0.enums.LogisticsFormatPreference;
14305
+ readonly description?: string;
14306
+ }
14307
+
14308
+ interface MerchantInfo {
13860
14309
  readonly legal_name?: string;
13861
14310
  readonly country: string;
13862
14311
  readonly region?: io.flow.merchant.onboarding.v0.enums.RegionType;
13863
14312
  readonly region_value?: string;
13864
14313
  readonly category_code?: string;
14314
+ readonly description?: string;
13865
14315
  }
13866
14316
 
13867
14317
  interface MerchantOnboardingAddress {
@@ -13873,6 +14323,17 @@ declare namespace io.flow.merchant.onboarding.v0.models {
13873
14323
  readonly country?: string;
13874
14324
  }
13875
14325
 
14326
+ interface MerchantOnboardingBeneficiaryDetails {
14327
+ readonly name?: string;
14328
+ readonly address?: io.flow.common.v0.models.Address;
14329
+ readonly phone?: string;
14330
+ readonly email?: string;
14331
+ readonly bank_account_number?: string;
14332
+ readonly bank_routing_number?: string;
14333
+ readonly bank_name?: string;
14334
+ readonly bank_address?: io.flow.common.v0.models.Address;
14335
+ }
14336
+
13876
14337
  interface MonthlyAverage {
13877
14338
  readonly volume?: io.flow.merchant.onboarding.v0.models.MonthlyAverageVolume;
13878
14339
  readonly number_transactions?: number;
@@ -13937,6 +14398,7 @@ declare namespace io.flow.merchant.onboarding.v0.models {
13937
14398
  readonly third_party_logistics_partners?: io.flow.merchant.onboarding.v0.models.ThirdPartyLogisticsPartner[];
13938
14399
  readonly center_contact?: io.flow.merchant.onboarding.v0.models.OperationsContact;
13939
14400
  readonly average_order_weight?: number;
14401
+ readonly average_order_weight_unit?: io.flow.common.v0.enums.UnitOfMeasurement;
13940
14402
  readonly package_dimensions?: io.flow.common.v0.models.Dimension[];
13941
14403
  readonly monthly_average?: io.flow.merchant.onboarding.v0.models.MonthlyAverage;
13942
14404
  readonly default_country_of_origin?: string;
@@ -13970,6 +14432,7 @@ declare namespace io.flow.merchant.onboarding.v0.models {
13970
14432
  readonly third_party_logistics_partners?: io.flow.merchant.onboarding.v0.models.ThirdPartyLogisticsPartner[];
13971
14433
  readonly center_contact?: io.flow.merchant.onboarding.v0.models.OperationsContact;
13972
14434
  readonly average_order_weight?: number;
14435
+ readonly average_order_weight_unit?: io.flow.common.v0.enums.UnitOfMeasurement;
13973
14436
  readonly package_dimensions?: io.flow.common.v0.models.Dimension[];
13974
14437
  readonly monthly_average_volume_amount?: number;
13975
14438
  readonly monthly_average_volume_currency?: string;
@@ -14011,13 +14474,17 @@ declare namespace io.flow.merchant.onboarding.v0.models {
14011
14474
 
14012
14475
  declare namespace io.flow.merchant.onboarding.v0.unions {
14013
14476
  type MerchantApplication =
14014
- io.flow.merchant.onboarding.v0.models.ShopifyMerchantApplication;
14477
+ | io.flow.merchant.onboarding.v0.models.ShopifyMerchantApplication
14478
+ | io.flow.merchant.onboarding.v0.models.CommonMerchantApplication;
14015
14479
  type MerchantApplicationForm =
14016
- io.flow.merchant.onboarding.v0.models.ShopifyMerchantApplicationForm;
14480
+ | io.flow.merchant.onboarding.v0.models.ShopifyMerchantApplicationForm
14481
+ | io.flow.merchant.onboarding.v0.models.CommonMerchantApplicationForm;
14017
14482
  type MerchantApplicationPutForm =
14018
- io.flow.merchant.onboarding.v0.models.ShopifyMerchantApplicationPutForm;
14483
+ | io.flow.merchant.onboarding.v0.models.ShopifyMerchantApplicationPutForm
14484
+ | io.flow.merchant.onboarding.v0.models.CommonMerchantApplicationPutForm;
14019
14485
  type MerchantApplicationsSummary =
14020
- io.flow.merchant.onboarding.v0.models.ShopifyMerchantApplicationsSummary;
14486
+ | io.flow.merchant.onboarding.v0.models.ShopifyMerchantApplicationsSummary
14487
+ | io.flow.merchant.onboarding.v0.models.CommonMerchantApplicationsSummary;
14021
14488
  }
14022
14489
 
14023
14490
  declare namespace io.flow.catalog.v0.enums {
@@ -14752,7 +15219,8 @@ declare namespace io.flow.billing.v0.enums {
14752
15219
  | 'waiting_for_positive_account_balance'
14753
15220
  | 'unfulfilled_amount_greater_than_negative_balance'
14754
15221
  | 'account_payment_hold';
14755
- type StatementAttachmentType = 'csv';
15222
+ type StatementAttachmentType = 'csv' | 'pdf';
15223
+ type StatementStatusCode = 'scheduled' | 'sent' | 'failed';
14756
15224
  type TaxDutyTransactionReasonCode =
14757
15225
  | 'post_capture'
14758
15226
  | 'post_fulfilment'
@@ -14760,6 +15228,7 @@ declare namespace io.flow.billing.v0.enums {
14760
15228
  | 'order_edit'
14761
15229
  | 'mixed_fulfilment_non_lvg'
14762
15230
  | 'lvg_refund'
15231
+ | 'us_inbound_tax_refund'
14763
15232
  | 'order_cancellation_above_de_min'
14764
15233
  | 'wyol_shipment_above_de_min'
14765
15234
  | 'full_refund_without_shipment'
@@ -14796,8 +15265,16 @@ declare namespace io.flow.billing.v0.enums {
14796
15265
  | 'merchant_payout'
14797
15266
  | 'merchant_refund'
14798
15267
  | 'ge_revenue_share'
14799
- | 'merchant_fee';
14800
- type TrueupSource = 'flow' | 'channel' | 'dhl-parcel' | 'dhl' | 'ups';
15268
+ | 'merchant_fee'
15269
+ | 'b2b_tax'
15270
+ | 'b2b_tax_refund';
15271
+ type TrueupSource =
15272
+ | 'flow'
15273
+ | 'channel'
15274
+ | 'dhl-parcel'
15275
+ | 'dhl'
15276
+ | 'ups'
15277
+ | 'fedex';
14801
15278
  type WithholdingDeductionType = 'tax' | 'duty' | 'freight' | 'insurance';
14802
15279
  }
14803
15280
 
@@ -15059,6 +15536,11 @@ declare namespace io.flow.billing.v0.models {
15059
15536
  readonly created_at: string;
15060
15537
  }
15061
15538
 
15539
+ interface StatementStatusForm {
15540
+ readonly code: io.flow.billing.v0.enums.StatementStatusCode;
15541
+ readonly failure_reason?: io.flow.billing.v0.enums.PayoutStatusFailureCode;
15542
+ }
15543
+
15062
15544
  interface Transaction {
15063
15545
  readonly statement?: io.flow.billing.v0.models.BillingChannelStatementReference;
15064
15546
  readonly id: string;
@@ -15157,6 +15639,25 @@ declare namespace io.flow.billing.v0.models {
15157
15639
  interface TransactionMetadataTaxDuty {
15158
15640
  readonly discriminator: 'transaction_tax_duty';
15159
15641
  readonly reason_code: io.flow.billing.v0.enums.TaxDutyTransactionReasonCode;
15642
+ readonly local_currency?: string;
15643
+ readonly actual?: io.flow.billing.v0.models.TransactionMetadataTaxDutyActual;
15644
+ readonly estimate?: io.flow.billing.v0.models.TransactionMetadataTaxDutyEstimate;
15645
+ readonly delta?: io.flow.billing.v0.models.TransactionMetadataTaxDutyDelta;
15646
+ }
15647
+
15648
+ interface TransactionMetadataTaxDutyActual {
15649
+ readonly base?: number;
15650
+ readonly local?: number;
15651
+ }
15652
+
15653
+ interface TransactionMetadataTaxDutyDelta {
15654
+ readonly base?: number;
15655
+ readonly local?: number;
15656
+ }
15657
+
15658
+ interface TransactionMetadataTaxDutyEstimate {
15659
+ readonly base?: number;
15660
+ readonly local?: number;
15160
15661
  }
15161
15662
 
15162
15663
  interface TransactionMetadataTrueup {
@@ -15704,6 +16205,9 @@ declare namespace io.flow.sellability.v0.enums {
15704
16205
  | 'wait_for_high_fidelity'
15705
16206
  | 'external_service_unavailable';
15706
16207
  type SellabilityRequestStatus = 'commit';
16208
+ type SellabilityResultErrorCode = 'insufficient_details' | 'generic_error';
16209
+ type SellabilityResultStatus = 'in_review' | 'succeeded' | 'failed';
16210
+ type SellabilityScreeningMode = 'pre_onboarding' | 'default_on' | 'active';
15707
16211
  }
15708
16212
 
15709
16213
  declare namespace io.flow.sellability.v0.models {
@@ -15713,10 +16217,11 @@ declare namespace io.flow.sellability.v0.models {
15713
16217
  readonly product_id?: string;
15714
16218
  readonly request_id: string;
15715
16219
  readonly hs6_code: string;
15716
- readonly restricted_regions: io.flow.sellability.v0.models.SellablilityRegionResult[];
16220
+ readonly restricted_regions: io.flow.sellability.v0.models.SellabilityRegionResult[];
15717
16221
  }
15718
16222
 
15719
16223
  interface ProductSellabilityForm {
16224
+ readonly discriminator: 'product_sellability_form';
15720
16225
  readonly shop_id: string;
15721
16226
  readonly product_id?: string;
15722
16227
  readonly name: string;
@@ -15727,12 +16232,64 @@ declare namespace io.flow.sellability.v0.models {
15727
16232
  readonly dry_run?: boolean;
15728
16233
  }
15729
16234
 
16235
+ interface ProductSellabilityResult {
16236
+ readonly merchant_id?: string;
16237
+ readonly product_id: string;
16238
+ readonly restricted_regions: io.flow.sellability.v0.models.SellabilityRestrictedRegion[];
16239
+ readonly needs_action_attributes?: io.flow.sellability.v0.models.SellabilityNeedsActionAttributes[];
16240
+ readonly request_id?: string;
16241
+ }
16242
+
15730
16243
  interface SellabilityError {
15731
16244
  readonly discriminator: 'sellability_error';
15732
16245
  readonly code: io.flow.sellability.v0.enums.SellabilityErrorCode;
15733
16246
  readonly messages: string[];
15734
16247
  }
15735
16248
 
16249
+ interface SellabilityNeedsActionAttributes {
16250
+ readonly reason_code: string;
16251
+ readonly category_metafield_handles: string[];
16252
+ readonly require_msds?: boolean;
16253
+ }
16254
+
16255
+ interface SellabilityRegionResult {
16256
+ readonly type: io.flow.sellability.v0.enums.RuleEffectType;
16257
+ readonly regions: string[];
16258
+ }
16259
+
16260
+ interface SellabilityRegionWithReasons {
16261
+ readonly region: string;
16262
+ readonly reasons: string[];
16263
+ }
16264
+
16265
+ interface SellabilityRestrictedRegion {
16266
+ readonly type: io.flow.sellability.v0.enums.RuleEffectType;
16267
+ readonly regions_with_reasons: io.flow.sellability.v0.models.SellabilityRegionWithReasons[];
16268
+ }
16269
+
16270
+ interface SellabilityScreening {
16271
+ readonly discriminator: 'sellability_screening';
16272
+ readonly sellability_result?: io.flow.sellability.v0.models.ProductSellabilityResult;
16273
+ readonly request_id: string;
16274
+ readonly status: io.flow.sellability.v0.enums.SellabilityResultStatus;
16275
+ readonly error_code?: io.flow.sellability.v0.enums.SellabilityResultErrorCode;
16276
+ readonly error_message?: string;
16277
+ }
16278
+
16279
+ interface SellabilityScreeningForm {
16280
+ readonly discriminator: 'sellability_screening_form';
16281
+ readonly merchant_id: string;
16282
+ readonly product_id: string;
16283
+ readonly name: string;
16284
+ readonly price: io.flow.common.v0.models.Money;
16285
+ readonly description: string;
16286
+ readonly taxonomy_category: io.flow.product.v0.models.ProductTaxonomyCategory;
16287
+ readonly mode: io.flow.sellability.v0.enums.SellabilityScreeningMode;
16288
+ readonly catalog_size?: number;
16289
+ readonly relative_ranking?: number;
16290
+ readonly dry_run?: boolean;
16291
+ }
16292
+
15736
16293
  interface SellablilityRegionResult {
15737
16294
  readonly type: io.flow.sellability.v0.enums.RuleEffectType;
15738
16295
  readonly regions: string[];
@@ -15740,9 +16297,13 @@ declare namespace io.flow.sellability.v0.models {
15740
16297
  }
15741
16298
 
15742
16299
  declare namespace io.flow.sellability.v0.unions {
16300
+ type SellabilityRequest =
16301
+ | io.flow.sellability.v0.models.ProductSellabilityForm
16302
+ | io.flow.sellability.v0.models.SellabilityScreeningForm;
15743
16303
  type SellabilityResponse =
15744
16304
  | io.flow.sellability.v0.models.ProductSellability
15745
- | io.flow.sellability.v0.models.SellabilityError;
16305
+ | io.flow.sellability.v0.models.SellabilityError
16306
+ | io.flow.sellability.v0.models.SellabilityScreening;
15746
16307
  }
15747
16308
 
15748
16309
  declare namespace io.flow.currency.v0.models {
@@ -15889,6 +16450,22 @@ declare namespace io.flow.organization.v0.models {
15889
16450
  readonly status?: io.flow.common.v0.enums.OrganizationStatus;
15890
16451
  }
15891
16452
 
16453
+ interface OrganizationTaxRegistration {
16454
+ readonly id: string;
16455
+ readonly organization: io.flow.common.v0.models.OrganizationSummary;
16456
+ readonly address: io.flow.common.v0.models.BillingAddress;
16457
+ readonly registration: io.flow.organization.v0.models.TaxRegistrationDetail;
16458
+ readonly self_billing_agreement: io.flow.organization.v0.models.SelfBillingAgreement;
16459
+ }
16460
+
16461
+ interface OrganizationTaxRegistrationForm {
16462
+ readonly tax_number: string;
16463
+ readonly country: string;
16464
+ readonly province?: string;
16465
+ readonly self_billing_agreement_effective_at: string;
16466
+ readonly self_billing_agreement_expires_at?: string;
16467
+ }
16468
+
15892
16469
  interface OrganizationVersion {
15893
16470
  readonly id: string;
15894
16471
  readonly timestamp: string;
@@ -15905,6 +16482,18 @@ declare namespace io.flow.organization.v0.models {
15905
16482
  interface RegionSettingForm {
15906
16483
  readonly status: io.flow.common.v0.enums.AvailabilityStatus;
15907
16484
  }
16485
+
16486
+ interface SelfBillingAgreement {
16487
+ readonly effective_at: string;
16488
+ readonly expires_at: string;
16489
+ }
16490
+
16491
+ interface TaxRegistrationDetail {
16492
+ readonly tax_number: string;
16493
+ readonly country: string;
16494
+ readonly tax_code: string;
16495
+ readonly province?: string;
16496
+ }
15908
16497
  }
15909
16498
 
15910
16499
  declare namespace io.flow.billing.bank.account.v0.models {
@@ -15984,6 +16573,8 @@ declare namespace io.flow.internal.v0.enums {
15984
16573
  | 'prr-76544617791b4ce8af96b3a7879474c6'
15985
16574
  | 'prr-566cc67167944bc4bd08167aa9c0beba'
15986
16575
  | 'prr-74e1320efb7741cf9ace400b69800f9b';
16576
+ type B2BTaxLedgerDocumentType = 'b2b_invoice' | 'b2b_credit_memo';
16577
+ type B2BTaxRateType = 'basic' | 'preferential' | 'exempt';
15987
16578
  type BankAccountStatus = 'on_hold' | 'not_on_hold';
15988
16579
  type BankPaymentPromiseCompletedMethod = 'credit' | 'time';
15989
16580
  type BankPaymentStatusCode = 'scheduled' | 'sent' | 'failed';
@@ -16254,7 +16845,9 @@ declare namespace io.flow.internal.v0.enums {
16254
16845
  | 'ge_revenue_share'
16255
16846
  | 'merchant_fee'
16256
16847
  | 'merchant_payout'
16257
- | 'merchant_refund';
16848
+ | 'merchant_refund'
16849
+ | 'b2b_tax'
16850
+ | 'b2b_tax_refund';
16258
16851
  type CalculatorEngine =
16259
16852
  | 'dtce_with_deminimis'
16260
16853
  | 'dtce_with_inclusive_pricing'
@@ -16310,6 +16903,7 @@ declare namespace io.flow.internal.v0.enums {
16310
16903
  | 'unsupported_virtual_goods'
16311
16904
  | 'non_matching_currencies'
16312
16905
  | 'unsupported_order_edit'
16906
+ | 'order_allocation_duties_mismatch'
16313
16907
  | 'order_missing';
16314
16908
  type ChannelOrderAcceptanceStatus =
16315
16909
  | 'accepted'
@@ -16353,7 +16947,9 @@ declare namespace io.flow.internal.v0.enums {
16353
16947
  | 'electronic_export_information_surcharge'
16354
16948
  | 'additional_handling'
16355
16949
  | 'large_package_surcharge'
16356
- | 'peak_surcharge';
16950
+ | 'peak_surcharge'
16951
+ | 'fuel_surcharge'
16952
+ | 'delivery_area_surcharge';
16357
16953
  type ChargebackPaymentStatus = 'captured' | 'refunded';
16358
16954
  type ChargebackProcessStatus = 'inquiry' | 'open' | 'closed';
16359
16955
  type CheckoutAssetType = 'stylesheet' | 'javascript';
@@ -16365,7 +16961,12 @@ declare namespace io.flow.internal.v0.enums {
16365
16961
  | 'invalid_checkout';
16366
16962
  type ClassificationDecision = 'Accept' | 'Reject';
16367
16963
  type ClassificationErrorCode = 'generic_error';
16368
- type ClassificationPlatform = 'GlobalE' | 'Flow' | 'Borderfree';
16964
+ type ClassificationFailureReason = 'low_confidence' | 'timeout';
16965
+ type ClassificationPlatform =
16966
+ | 'GlobalE'
16967
+ | 'Flow'
16968
+ | 'FlowOnboarding'
16969
+ | 'Borderfree';
16369
16970
  type ClassificationScope = 'Item' | 'Product';
16370
16971
  type ClassificationType = 'None' | 'Manual' | 'ML' | 'System';
16371
16972
  type ClothingAgeClassification =
@@ -16553,8 +17154,6 @@ declare namespace io.flow.internal.v0.enums {
16553
17154
  | 'export_failed'
16554
17155
  | 'feature_upserted'
16555
17156
  | 'feature_deleted'
16556
- | 'organization_boolean_value_upserted'
16557
- | 'organization_boolean_value_deleted'
16558
17157
  | 'account_settings_upserted'
16559
17158
  | 'account_settings_deleted'
16560
17159
  | 'account_processing_rates_upserted'
@@ -16790,6 +17389,22 @@ declare namespace io.flow.internal.v0.enums {
16790
17389
  | 'stripe_connect_report_record_deleted'
16791
17390
  | 'liability_remittance_plan_upserted'
16792
17391
  | 'liability_remittance_plan_deleted'
17392
+ | 'anirban_item_upserted'
17393
+ | 'anirban_item_deleted'
17394
+ | 'sarvesh_item_upserted'
17395
+ | 'sarvesh_item_deleted'
17396
+ | 'hosein_item_upserted'
17397
+ | 'hosein_item_deleted'
17398
+ | 'niall_item_upserted'
17399
+ | 'niall_item_deleted'
17400
+ | 'rohan_item_upserted'
17401
+ | 'rohan_item_deleted'
17402
+ | 'aldo_item_upserted'
17403
+ | 'aldo_item_deleted'
17404
+ | 'ansh_item_upserted'
17405
+ | 'ansh_item_deleted'
17406
+ | 'gabriel_item_upserted'
17407
+ | 'gabriel_item_deleted'
16793
17408
  | 'tracking_processing_error_upserted'
16794
17409
  | 'tracking_processing_error_deleted'
16795
17410
  | 'tracking_label_event_upserted_v2'
@@ -16829,6 +17444,7 @@ declare namespace io.flow.internal.v0.enums {
16829
17444
  | 'none';
16830
17445
  type FraudProviderStatus = 'active' | 'archived';
16831
17446
  type FraudReviewResponsibleParty = 'flow' | 'organization';
17447
+ type GabrielItemType = 'physical' | 'digital';
16832
17448
  type GeIngestionFileStatus = 'pending' | 'processed';
16833
17449
  type GeRevenueShareTransactionType =
16834
17450
  | 'adjustment'
@@ -16853,6 +17469,7 @@ declare namespace io.flow.internal.v0.enums {
16853
17469
  | 'enterprise_model'
16854
17470
  | 'merchant';
16855
17471
  type HoseinItemType = 'physical' | 'digital';
17472
+ type Hs6CodeSource = 'sellability' | 'classification' | 'human';
16856
17473
  type HttpMethod = 'get' | 'post';
16857
17474
  type InternalPaymentEntityType =
16858
17475
  | 'authorization'
@@ -16906,6 +17523,8 @@ declare namespace io.flow.internal.v0.enums {
16906
17523
  | 'billable_label'
16907
17524
  | 'fee'
16908
17525
  | 'revenue_share';
17526
+ type LedgerReportType = 'periodic_mor_jurisdiction_report';
17527
+ type LedgerReportUrlType = 'sharepoint' | 's3';
16909
17528
  type LiabilityType =
16910
17529
  | 'full_value_tax'
16911
17530
  | 'low_value_goods_tax'
@@ -16933,7 +17552,13 @@ declare namespace io.flow.internal.v0.enums {
16933
17552
  | 'global_e_united_states'
16934
17553
  | 'global_e_united_kingdom'
16935
17554
  | 'global_e_canada'
16936
- | 'global_e_netherlands';
17555
+ | 'global_e_netherlands'
17556
+ | 'uk_global_e_canada'
17557
+ | 'uk_global_e_netherlands'
17558
+ | 'uk_global_e_united_states'
17559
+ | 'ca_global_e_united_kingdom'
17560
+ | 'ca_global_e_netherlands'
17561
+ | 'ca_global_e_united_states';
16937
17562
  type MerchantOverrideStatus =
16938
17563
  | 'pending'
16939
17564
  | 'in_review'
@@ -16970,7 +17595,6 @@ declare namespace io.flow.internal.v0.enums {
16970
17595
  | 'fraud'
16971
17596
  | 'logistics'
16972
17597
  | 'payments'
16973
- | 'shopify_markets'
16974
17598
  | 'integration_partner'
16975
17599
  | 'dtce'
16976
17600
  | 'restrictions'
@@ -17042,7 +17666,7 @@ declare namespace io.flow.internal.v0.enums {
17042
17666
  | 'fully_reviewed'
17043
17667
  | 'rejected'
17044
17668
  | 'unscreened';
17045
- type OrganizationSource = 'shopify' | 'smb' | 'enterprise';
17669
+ type OrganizationSource = 'smb' | 'enterprise';
17046
17670
  type OutputStyle = 'flow' | 'shopify_p1';
17047
17671
  type Owner = 'flow' | 'organization';
17048
17672
  type PaymentShortUrlDiscriminator = 'adyen_3ds2';
@@ -17067,6 +17691,14 @@ declare namespace io.flow.internal.v0.enums {
17067
17691
  type PendingRecordType = 'verification' | 'classification' | 'restriction';
17068
17692
  type PrateekItemType = 'physical' | 'digital';
17069
17693
  type PreferredBillingSchedule = 'monthly' | 'bi-monthly';
17694
+ type PreonboardingClassificationDecision = 'Accept' | 'Reject';
17695
+ type PreonboardingClassificationPlatform = 'FlowOnboarding';
17696
+ type PreonboardingClassificationType = 'None' | 'Manual' | 'ML' | 'System';
17697
+ type PreonboardingRequestStatus =
17698
+ | 'pending'
17699
+ | 'completed'
17700
+ | 'failed'
17701
+ | 'discarded';
17070
17702
  type PriceSelector = 'minimum' | 'maximum';
17071
17703
  type ProcessingTransactionType =
17072
17704
  | 'adjustment'
@@ -17117,6 +17749,7 @@ declare namespace io.flow.internal.v0.enums {
17117
17749
  | 'trueup_overview'
17118
17750
  | 'non_channel_payment_bank_account'
17119
17751
  | 'scheduled_payment'
17752
+ | 'scheduled_payment_citi'
17120
17753
  | 'account_quarterly_balances'
17121
17754
  | 'invariants'
17122
17755
  | 'payments'
@@ -17145,8 +17778,9 @@ declare namespace io.flow.internal.v0.enums {
17145
17778
  | 'shopify'
17146
17779
  | 'enterprise'
17147
17780
  | 'shopify-sandbox'
17148
- | 'enterprise-sandbox';
17149
- type RestrictionOrganizationSource = 'shopify' | 'smb' | 'enterprise';
17781
+ | 'enterprise-sandbox'
17782
+ | 'enterprise-qa';
17783
+ type RestrictionOrganizationSource = 'smb' | 'enterprise';
17150
17784
  type RestrictionRuleActivationStatus = 'draft' | 'active' | 'inactive';
17151
17785
  type RestrictionRuleCommunityExemption =
17152
17786
  | 'domestic_exemption'
@@ -17252,7 +17886,8 @@ declare namespace io.flow.internal.v0.enums {
17252
17886
  | 'carrier_account'
17253
17887
  | 'payment'
17254
17888
  | 'rate_levels'
17255
- | 'center_defaults';
17889
+ | 'center_defaults'
17890
+ | 'item_dimensions';
17256
17891
  type TaxAndDutyInclusivitySetting =
17257
17892
  | 'duty_exclusive_tax_exclusive'
17258
17893
  | 'duty_inclusive_tax_exclusive'
@@ -17987,6 +18622,13 @@ declare namespace io.flow.internal.v0.models {
17987
18622
  readonly added_on: string;
17988
18623
  }
17989
18624
 
18625
+ interface AldoItemDeleted {
18626
+ readonly discriminator: 'aldo_item_deleted';
18627
+ readonly event_id: string;
18628
+ readonly timestamp: string;
18629
+ readonly id: string;
18630
+ }
18631
+
17990
18632
  interface AldoItemForm {
17991
18633
  readonly number: string;
17992
18634
  readonly amount: io.flow.common.v0.models.Price;
@@ -17995,6 +18637,13 @@ declare namespace io.flow.internal.v0.models {
17995
18637
  readonly added_on: string;
17996
18638
  }
17997
18639
 
18640
+ interface AldoItemUpserted {
18641
+ readonly discriminator: 'aldo_item_upserted';
18642
+ readonly event_id: string;
18643
+ readonly timestamp: string;
18644
+ readonly item: io.flow.internal.v0.models.AldoItem;
18645
+ }
18646
+
17998
18647
  interface AllItemsExport {
17999
18648
  readonly discriminator: 'all_items_export';
18000
18649
  readonly event_id: string;
@@ -18026,6 +18675,13 @@ declare namespace io.flow.internal.v0.models {
18026
18675
  readonly added_on: string;
18027
18676
  }
18028
18677
 
18678
+ interface AnirbanItemDeleted {
18679
+ readonly discriminator: 'anirban_item_deleted';
18680
+ readonly event_id: string;
18681
+ readonly timestamp: string;
18682
+ readonly id: string;
18683
+ }
18684
+
18029
18685
  interface AnirbanItemForm {
18030
18686
  readonly number: string;
18031
18687
  readonly amount: io.flow.common.v0.models.Price;
@@ -18034,6 +18690,13 @@ declare namespace io.flow.internal.v0.models {
18034
18690
  readonly added_on: string;
18035
18691
  }
18036
18692
 
18693
+ interface AnirbanItemUpserted {
18694
+ readonly discriminator: 'anirban_item_upserted';
18695
+ readonly event_id: string;
18696
+ readonly timestamp: string;
18697
+ readonly item: io.flow.internal.v0.models.AnirbanItem;
18698
+ }
18699
+
18037
18700
  interface AnshItem {
18038
18701
  readonly id: string;
18039
18702
  readonly number: string;
@@ -18043,6 +18706,13 @@ declare namespace io.flow.internal.v0.models {
18043
18706
  readonly added_on: string;
18044
18707
  }
18045
18708
 
18709
+ interface AnshItemDeleted {
18710
+ readonly discriminator: 'ansh_item_deleted';
18711
+ readonly event_id: string;
18712
+ readonly timestamp: string;
18713
+ readonly id: string;
18714
+ }
18715
+
18046
18716
  interface AnshItemForm {
18047
18717
  readonly number: string;
18048
18718
  readonly amount: io.flow.common.v0.models.Price;
@@ -18051,6 +18721,13 @@ declare namespace io.flow.internal.v0.models {
18051
18721
  readonly added_on: string;
18052
18722
  }
18053
18723
 
18724
+ interface AnshItemUpserted {
18725
+ readonly discriminator: 'ansh_item_upserted';
18726
+ readonly event_id: string;
18727
+ readonly timestamp: string;
18728
+ readonly item: io.flow.internal.v0.models.AnshItem;
18729
+ }
18730
+
18054
18731
  interface ApplePayAuthorizationPayload {
18055
18732
  readonly discriminator: 'apple_pay_authorization_payload';
18056
18733
  readonly apple_pay_token: string;
@@ -18076,6 +18753,7 @@ declare namespace io.flow.internal.v0.models {
18076
18753
  interface AttributeRule {
18077
18754
  readonly restriction_attribute_rules: io.flow.internal.v0.models.RestrictionAttributeRule[];
18078
18755
  readonly default_result?: io.flow.internal.v0.enums.RestrictionAttributeResult;
18756
+ readonly require_msds?: boolean;
18079
18757
  }
18080
18758
 
18081
18759
  interface AuthenticationForm {
@@ -18153,6 +18831,43 @@ declare namespace io.flow.internal.v0.models {
18153
18831
  readonly action?: io.flow.internal.v0.enums.RestrictionStatus;
18154
18832
  }
18155
18833
 
18834
+ interface B2BTaxLedger {
18835
+ readonly id: string;
18836
+ readonly total_amount: io.flow.internal.v0.models.TaxTypeTotal;
18837
+ readonly tax_amount: io.flow.common.v0.models.Money;
18838
+ readonly tax_type: io.flow.consumer.invoice.v0.enums.TaxType;
18839
+ readonly tax_rate: number;
18840
+ readonly tax_rate_type: io.flow.internal.v0.enums.B2BTaxRateType;
18841
+ readonly organization_id: string;
18842
+ readonly organization_country: string;
18843
+ readonly organization_province?: string;
18844
+ readonly mor_tax_number: string;
18845
+ readonly mor_country: string;
18846
+ readonly mor_province?: string;
18847
+ readonly document_id: string;
18848
+ readonly document_type: io.flow.internal.v0.enums.B2BTaxLedgerDocumentType;
18849
+ readonly document_date: string;
18850
+ readonly ledger_report_id?: string;
18851
+ }
18852
+
18853
+ interface B2BTaxLedgerForm {
18854
+ readonly total_amount: io.flow.internal.v0.models.TaxTypeTotal;
18855
+ readonly tax_amount: io.flow.common.v0.models.Money;
18856
+ readonly tax_type: io.flow.consumer.invoice.v0.enums.TaxType;
18857
+ readonly tax_rate: number;
18858
+ readonly tax_rate_type: io.flow.internal.v0.enums.B2BTaxRateType;
18859
+ readonly organization_id: string;
18860
+ readonly organization_country: string;
18861
+ readonly organization_province?: string;
18862
+ readonly mor_tax_number: string;
18863
+ readonly mor_country: string;
18864
+ readonly mor_province?: string;
18865
+ readonly document_id: string;
18866
+ readonly document_type: io.flow.internal.v0.enums.B2BTaxLedgerDocumentType;
18867
+ readonly document_date: string;
18868
+ readonly ledger_report_id?: string;
18869
+ }
18870
+
18156
18871
  interface BankAccount {
18157
18872
  readonly status: io.flow.internal.v0.enums.BankAccountStatus;
18158
18873
  readonly hold_created_at?: string;
@@ -18459,6 +19174,8 @@ declare namespace io.flow.internal.v0.models {
18459
19174
  readonly non_l4l_tax_duty_fx: io.flow.common.v0.models.Price;
18460
19175
  readonly ending_balance: io.flow.common.v0.models.Price;
18461
19176
  readonly tax_refund: io.flow.common.v0.models.Price;
19177
+ readonly b2b_tax: io.flow.common.v0.models.Price;
19178
+ readonly b2b_tax_refund: io.flow.common.v0.models.Price;
18462
19179
  }
18463
19180
 
18464
19181
  interface BillingStatementUpserted {
@@ -18576,6 +19293,10 @@ declare namespace io.flow.internal.v0.models {
18576
19293
  readonly next_action_from: io.flow.internal.v0.enums.ChannelOrderAcceptanceNextActionFrom;
18577
19294
  }
18578
19295
 
19296
+ interface Cafe24MarketsWebhook {
19297
+ readonly placeholder?: any /*json*/;
19298
+ }
19299
+
18579
19300
  interface CalculatedTaxAmount {
18580
19301
  readonly discriminator: 'calculated_tax_amount';
18581
19302
  readonly amount: number;
@@ -19176,6 +19897,7 @@ declare namespace io.flow.internal.v0.models {
19176
19897
  readonly order_updated_at?: string;
19177
19898
  readonly order_edit_summary?: io.flow.internal.v0.models.OrderEditSummary;
19178
19899
  readonly payment_source?: io.flow.internal.v0.enums.OrderPaymentSourceType;
19900
+ readonly external_order_summary?: io.flow.channel.shopify.v0.models.ExternalOrderSummary;
19179
19901
  }
19180
19902
 
19181
19903
  interface ChannelOrderAcceptanceDeleted {
@@ -19257,9 +19979,9 @@ declare namespace io.flow.internal.v0.models {
19257
19979
  readonly channel_order_summary: io.flow.internal.v0.models.ChannelOrderSummary;
19258
19980
  }
19259
19981
 
19260
- interface ChannelOrganizationDomain {
19982
+ interface ChannelOrganizationDomains {
19261
19983
  readonly internal: string;
19262
- readonly public: string;
19984
+ readonly external: string;
19263
19985
  }
19264
19986
 
19265
19987
  interface ChannelOrganizationIdentifier {
@@ -19295,7 +20017,7 @@ declare namespace io.flow.internal.v0.models {
19295
20017
  }
19296
20018
 
19297
20019
  interface ChannelOrganizationMetadata {
19298
- readonly domain: io.flow.internal.v0.models.ChannelOrganizationDomain;
20020
+ readonly domain: io.flow.internal.v0.models.ChannelOrganizationDomains;
19299
20021
  readonly token: string;
19300
20022
  }
19301
20023
 
@@ -19357,6 +20079,23 @@ declare namespace io.flow.internal.v0.models {
19357
20079
  readonly timestamp?: string;
19358
20080
  }
19359
20081
 
20082
+ interface ChannelShop {
20083
+ readonly id: string;
20084
+ readonly organization: io.flow.common.v0.models.OrganizationReference;
20085
+ readonly channel: io.flow.common.v0.models.ChannelReference;
20086
+ readonly external_id: string;
20087
+ readonly name: string;
20088
+ readonly domains: io.flow.internal.v0.models.ChannelOrganizationDomains;
20089
+ }
20090
+
20091
+ interface ChannelShopForm {
20092
+ readonly channel_id: string;
20093
+ readonly external_id: string;
20094
+ readonly name: string;
20095
+ readonly domains: io.flow.internal.v0.models.ChannelOrganizationDomains;
20096
+ readonly tokens: io.flow.internal.v0.models.Tokens;
20097
+ }
20098
+
19360
20099
  interface ChannelTransaction {
19361
20100
  readonly discriminator: 'channel_transaction';
19362
20101
  readonly transaction: io.flow.internal.v0.models.TransactionReference;
@@ -21055,10 +21794,6 @@ declare namespace io.flow.internal.v0.models {
21055
21794
  readonly region?: string;
21056
21795
  }
21057
21796
 
21058
- interface FeatureIdReference {
21059
- readonly id: string;
21060
- }
21061
-
21062
21797
  interface FeatureReference {
21063
21798
  readonly id: string;
21064
21799
  readonly key: string;
@@ -21757,6 +22492,7 @@ declare namespace io.flow.internal.v0.models {
21757
22492
  readonly fulfilled_at: string;
21758
22493
  readonly sequence_number: number;
21759
22494
  readonly completes_order: boolean;
22495
+ readonly trigger?: io.flow.internal.v0.unions.FulfillmentTrigger;
21760
22496
  }
21761
22497
 
21762
22498
  interface FulfillmentStatusUpserted {
@@ -21839,6 +22575,37 @@ declare namespace io.flow.internal.v0.models {
21839
22575
  readonly transaction_created_at: string;
21840
22576
  }
21841
22577
 
22578
+ interface GabrielItem {
22579
+ readonly id: string;
22580
+ readonly number: string;
22581
+ readonly amount: io.flow.common.v0.models.Price;
22582
+ readonly description?: string;
22583
+ readonly type: io.flow.internal.v0.enums.GabrielItemType;
22584
+ readonly added_on: string;
22585
+ }
22586
+
22587
+ interface GabrielItemDeleted {
22588
+ readonly discriminator: 'gabriel_item_deleted';
22589
+ readonly event_id: string;
22590
+ readonly timestamp: string;
22591
+ readonly id: string;
22592
+ }
22593
+
22594
+ interface GabrielItemForm {
22595
+ readonly number: string;
22596
+ readonly amount: io.flow.common.v0.models.Price;
22597
+ readonly description?: string;
22598
+ readonly type: io.flow.internal.v0.enums.GabrielItemType;
22599
+ readonly added_on: string;
22600
+ }
22601
+
22602
+ interface GabrielItemUpserted {
22603
+ readonly discriminator: 'gabriel_item_upserted';
22604
+ readonly event_id: string;
22605
+ readonly timestamp: string;
22606
+ readonly item: io.flow.internal.v0.models.GabrielItem;
22607
+ }
22608
+
21842
22609
  interface GeRevenueShareTransaction {
21843
22610
  readonly discriminator: 'ge_revenue_share_transaction';
21844
22611
  readonly order: io.flow.internal.v0.models.BillingOrderTransactionOrderReference;
@@ -22038,6 +22805,13 @@ declare namespace io.flow.internal.v0.models {
22038
22805
  readonly added_on: string;
22039
22806
  }
22040
22807
 
22808
+ interface HoseinItemDeleted {
22809
+ readonly discriminator: 'hosein_item_deleted';
22810
+ readonly event_id: string;
22811
+ readonly timestamp: string;
22812
+ readonly id: string;
22813
+ }
22814
+
22041
22815
  interface HoseinItemForm {
22042
22816
  readonly number: string;
22043
22817
  readonly amount: io.flow.common.v0.models.Price;
@@ -22046,6 +22820,13 @@ declare namespace io.flow.internal.v0.models {
22046
22820
  readonly added_on: string;
22047
22821
  }
22048
22822
 
22823
+ interface HoseinItemUpserted {
22824
+ readonly discriminator: 'hosein_item_upserted';
22825
+ readonly event_id: string;
22826
+ readonly timestamp: string;
22827
+ readonly item: io.flow.internal.v0.models.HoseinItem;
22828
+ }
22829
+
22049
22830
  interface Hs6 {
22050
22831
  readonly code: string;
22051
22832
  readonly description: string;
@@ -22270,8 +23051,6 @@ declare namespace io.flow.internal.v0.models {
22270
23051
  readonly customs_value: number;
22271
23052
  readonly total_value: number;
22272
23053
  readonly usa_exporter_identifier_number_if_value_over_threshold?: string;
22273
- readonly feature_israel_notes_import_duty_and_taxes_due: boolean;
22274
- readonly feature_new_export_declaration: boolean;
22275
23054
  }
22276
23055
 
22277
23056
  interface InvoiceDataLineItem {
@@ -22282,7 +23061,7 @@ declare namespace io.flow.internal.v0.models {
22282
23061
  readonly tariff_code: string;
22283
23062
  readonly country_of_origin: string;
22284
23063
  readonly display_country_of_origin: string;
22285
- readonly gst_paid: boolean;
23064
+ readonly remitter: io.flow.internal.v0.enums.TaxParty;
22286
23065
  readonly gst_paid_text: string;
22287
23066
  readonly unit_price: number;
22288
23067
  readonly vat_price: number;
@@ -22766,6 +23545,8 @@ declare namespace io.flow.internal.v0.models {
22766
23545
  readonly service_id?: string;
22767
23546
  readonly errors: string[];
22768
23547
  readonly direction?: io.flow.label.v0.enums.Direction;
23548
+ readonly origin?: io.flow.fulfillment.v0.models.ShippingAddress;
23549
+ readonly destination?: io.flow.fulfillment.v0.models.ShippingAddress;
22769
23550
  }
22770
23551
 
22771
23552
  interface LabelRequestErrorDeleted {
@@ -22931,6 +23712,21 @@ declare namespace io.flow.internal.v0.models {
22931
23712
  readonly errors: string[];
22932
23713
  }
22933
23714
 
23715
+ interface LedgerReport {
23716
+ readonly id: string;
23717
+ readonly mor_tax_number: string;
23718
+ readonly jurisdiction: string;
23719
+ readonly start_date: string;
23720
+ readonly end_date: string;
23721
+ readonly report_type: io.flow.internal.v0.enums.LedgerReportType;
23722
+ readonly urls: io.flow.internal.v0.models.LedgerReportUrl[];
23723
+ }
23724
+
23725
+ interface LedgerReportUrl {
23726
+ readonly url: string;
23727
+ readonly type: io.flow.internal.v0.enums.LedgerReportUrlType;
23728
+ }
23729
+
22934
23730
  interface LevyRateSummary {
22935
23731
  readonly id: string;
22936
23732
  readonly number: string;
@@ -23475,6 +24271,13 @@ declare namespace io.flow.internal.v0.models {
23475
24271
  readonly added_on: string;
23476
24272
  }
23477
24273
 
24274
+ interface NiallItemDeleted {
24275
+ readonly discriminator: 'niall_item_deleted';
24276
+ readonly event_id: string;
24277
+ readonly timestamp: string;
24278
+ readonly id: string;
24279
+ }
24280
+
23478
24281
  interface NiallItemForm {
23479
24282
  readonly number: string;
23480
24283
  readonly amount: io.flow.common.v0.models.Price;
@@ -23483,6 +24286,13 @@ declare namespace io.flow.internal.v0.models {
23483
24286
  readonly added_on: string;
23484
24287
  }
23485
24288
 
24289
+ interface NiallItemUpserted {
24290
+ readonly discriminator: 'niall_item_upserted';
24291
+ readonly event_id: string;
24292
+ readonly timestamp: string;
24293
+ readonly item: io.flow.internal.v0.models.NiallItem;
24294
+ }
24295
+
23486
24296
  interface NoCalculatedTaxAmount {
23487
24297
  readonly discriminator: 'no_calculated_tax_amount';
23488
24298
  readonly amount: number;
@@ -23564,6 +24374,7 @@ declare namespace io.flow.internal.v0.models {
23564
24374
  readonly health_score?: number;
23565
24375
  readonly audit_result?: io.flow.internal.v0.enums.OnboardingAuditResult;
23566
24376
  readonly blocked_since?: string;
24377
+ readonly onboarding_segment?: string;
23567
24378
  }
23568
24379
 
23569
24380
  interface OnboardingStateForm {
@@ -24009,27 +24820,6 @@ declare namespace io.flow.internal.v0.models {
24009
24820
  readonly attachments: io.flow.internal.v0.models.BillingStatementAttachment[];
24010
24821
  }
24011
24822
 
24012
- interface OrganizationBooleanValue {
24013
- readonly id: string;
24014
- readonly organization: io.flow.common.v0.models.OrganizationReference;
24015
- readonly feature: io.flow.internal.v0.models.FeatureIdReference;
24016
- readonly value: boolean;
24017
- }
24018
-
24019
- interface OrganizationBooleanValueDeleted {
24020
- readonly discriminator: 'organization_boolean_value_deleted';
24021
- readonly event_id: string;
24022
- readonly timestamp: string;
24023
- readonly value: io.flow.internal.v0.models.OrganizationBooleanValue;
24024
- }
24025
-
24026
- interface OrganizationBooleanValueUpserted {
24027
- readonly discriminator: 'organization_boolean_value_upserted';
24028
- readonly event_id: string;
24029
- readonly timestamp: string;
24030
- readonly value: io.flow.internal.v0.models.OrganizationBooleanValue;
24031
- }
24032
-
24033
24823
  interface OrganizationBusinessEntity {
24034
24824
  readonly id: string;
24035
24825
  readonly name: string;
@@ -24629,6 +25419,7 @@ declare namespace io.flow.internal.v0.models {
24629
25419
  interface PaymentIs {
24630
25420
  readonly lvg: boolean;
24631
25421
  readonly manual: boolean;
25422
+ readonly managed_pricing?: boolean;
24632
25423
  }
24633
25424
 
24634
25425
  interface PaymentMethodDetail {
@@ -25088,6 +25879,76 @@ declare namespace io.flow.internal.v0.models {
25088
25879
  readonly item: string;
25089
25880
  }
25090
25881
 
25882
+ interface PreonboardingClassificationRabbitmqEnvelope {
25883
+ readonly messageType: string[];
25884
+ readonly message: io.flow.internal.v0.models.PreonboardingClassificationRabbitmqMessage;
25885
+ }
25886
+
25887
+ interface PreonboardingClassificationRabbitmqMessage {
25888
+ readonly MerchantId: string;
25889
+ readonly ProductName: string;
25890
+ readonly ProductDescription: string;
25891
+ readonly ProductIdInternal: string;
25892
+ readonly ProductIdExternal: string;
25893
+ readonly ProductGroupCode?: string;
25894
+ readonly ProductUrl?: string;
25895
+ readonly ProductImage?: string;
25896
+ readonly ProductAttributes: Record<string, string>;
25897
+ readonly Categories?: string[];
25898
+ readonly PlatformId: io.flow.internal.v0.enums.PreonboardingClassificationPlatform;
25899
+ }
25900
+
25901
+ interface PreonboardingClassificationRequest {
25902
+ readonly id: string;
25903
+ readonly merchant_id: string;
25904
+ readonly product_id: string;
25905
+ readonly channel: string;
25906
+ readonly request_id: string;
25907
+ readonly status: io.flow.internal.v0.enums.PreonboardingRequestStatus;
25908
+ readonly name: string;
25909
+ readonly price: io.flow.common.v0.models.Money;
25910
+ readonly description: string;
25911
+ readonly relative_ranking: number;
25912
+ readonly taxonomy_category?: io.flow.product.v0.models.ProductTaxonomyCategory;
25913
+ readonly fingerprint: string;
25914
+ }
25915
+
25916
+ interface PreonboardingClassificationResult {
25917
+ readonly id: string;
25918
+ readonly merchant_id: string;
25919
+ readonly product_id: string;
25920
+ readonly channel: string;
25921
+ readonly hs6_code?: string;
25922
+ readonly probability?: number;
25923
+ readonly classification_decision: io.flow.internal.v0.enums.PreonboardingClassificationDecision;
25924
+ readonly classification_type: io.flow.internal.v0.enums.PreonboardingClassificationType;
25925
+ }
25926
+
25927
+ interface PreonboardingMerchant {
25928
+ readonly merchant_id: string;
25929
+ readonly channel: string;
25930
+ readonly catalog_size: number;
25931
+ readonly processed_product_count: number;
25932
+ readonly last_request: string;
25933
+ }
25934
+
25935
+ interface PreonboardingSellabilityResult {
25936
+ readonly merchant_id: string;
25937
+ readonly product_id: string;
25938
+ readonly channel: string;
25939
+ readonly request_id: string;
25940
+ readonly status: io.flow.sellability.v0.enums.SellabilityResultStatus;
25941
+ readonly error_code?: io.flow.sellability.v0.enums.SellabilityResultErrorCode;
25942
+ readonly hs6_code?: string;
25943
+ readonly hs6_code_source?: io.flow.internal.v0.enums.Hs6CodeSource;
25944
+ readonly restricted_regions_by_type?: io.flow.sellability.v0.models.SellabilityRestrictedRegion[];
25945
+ readonly rule_ids?: string[];
25946
+ readonly matching_positive_keywords?: string[];
25947
+ readonly classification_failure_reason?: io.flow.internal.v0.enums.ClassificationFailureReason;
25948
+ readonly taxonomy_category?: io.flow.product.v0.models.ProductTaxonomyCategory;
25949
+ readonly fingerprint: string;
25950
+ }
25951
+
25091
25952
  interface PriceInclusivity {
25092
25953
  readonly tax?: boolean;
25093
25954
  readonly duty?: boolean;
@@ -25340,7 +26201,7 @@ declare namespace io.flow.internal.v0.models {
25340
26201
  readonly product_id?: string;
25341
26202
  readonly request_id: string;
25342
26203
  readonly hs6_code: string;
25343
- readonly restricted_regions: io.flow.sellability.v0.models.SellablilityRegionResult[];
26204
+ readonly restricted_regions: io.flow.sellability.v0.models.SellabilityRegionResult[];
25344
26205
  readonly rule_ids: string[];
25345
26206
  }
25346
26207
 
@@ -25353,7 +26214,7 @@ declare namespace io.flow.internal.v0.models {
25353
26214
  }
25354
26215
 
25355
26216
  interface ProductSellabilityInternalResult {
25356
- readonly restricted_regions: io.flow.sellability.v0.models.SellablilityRegionResult[];
26217
+ readonly restricted_regions: io.flow.sellability.v0.models.SellabilityRegionResult[];
25357
26218
  readonly rule_ids: string[];
25358
26219
  }
25359
26220
 
@@ -25363,7 +26224,7 @@ declare namespace io.flow.internal.v0.models {
25363
26224
  readonly request_id: string;
25364
26225
  readonly hs6_code: string;
25365
26226
  readonly restricted_regions?: string[];
25366
- readonly restricted_regions_by_type?: io.flow.sellability.v0.models.SellablilityRegionResult[];
26227
+ readonly restricted_regions_by_type?: io.flow.sellability.v0.models.SellabilityRegionResult[];
25367
26228
  readonly rule_ids?: string[];
25368
26229
  readonly taxonomy_category?: string;
25369
26230
  }
@@ -25399,6 +26260,12 @@ declare namespace io.flow.internal.v0.models {
25399
26260
  readonly shipping_notification_id: string;
25400
26261
  }
25401
26262
 
26263
+ interface ProofOfPostingSynthetic {
26264
+ readonly discriminator: 'synthetic';
26265
+ readonly order: io.flow.internal.v0.models.BillingOrderTransactionOrderReference;
26266
+ readonly created_at: string;
26267
+ }
26268
+
25402
26269
  interface ProofOfPostingTimeElapsed {
25403
26270
  readonly discriminator: 'time_elapsed';
25404
26271
  readonly order: io.flow.internal.v0.models.BillingOrderTransactionOrderReference;
@@ -25878,6 +26745,11 @@ declare namespace io.flow.internal.v0.models {
25878
26745
  readonly source: io.flow.internal.v0.models.AccountSource;
25879
26746
  }
25880
26747
 
26748
+ interface ReportAmountRange {
26749
+ readonly min?: number;
26750
+ readonly max?: number;
26751
+ }
26752
+
25881
26753
  interface ReportBankAccount {
25882
26754
  readonly id?: string;
25883
26755
  readonly last4?: string;
@@ -25902,6 +26774,7 @@ declare namespace io.flow.internal.v0.models {
25902
26774
  interface ReportFilter {
25903
26775
  readonly source_type?: io.flow.internal.v0.enums.SourceTypeFilter;
25904
26776
  readonly order_payment_source?: io.flow.experience.v0.enums.OrderPaymentSourceType;
26777
+ readonly amount_range?: io.flow.internal.v0.models.ReportAmountRange;
25905
26778
  }
25906
26779
 
25907
26780
  interface ReportForm {
@@ -26340,7 +27213,7 @@ declare namespace io.flow.internal.v0.models {
26340
27213
  interface RestrictionOrganization {
26341
27214
  readonly id: string;
26342
27215
  readonly name: string;
26343
- readonly environment: io.flow.common.v0.enums.Environment;
27216
+ readonly environment: io.flow.restrictions.v0.enums.RestrictionEnvironment;
26344
27217
  readonly url?: string;
26345
27218
  readonly approval_status?: io.flow.internal.v0.enums.OrganizationRestrictionApprovalStatus;
26346
27219
  readonly screening_status?: io.flow.internal.v0.enums.OrganizationRestrictionScreeningStatus;
@@ -26391,7 +27264,7 @@ declare namespace io.flow.internal.v0.models {
26391
27264
  interface RestrictionOrganizationSummary {
26392
27265
  readonly id: string;
26393
27266
  readonly name: string;
26394
- readonly environment: io.flow.common.v0.enums.Environment;
27267
+ readonly environment: io.flow.restrictions.v0.enums.RestrictionEnvironment;
26395
27268
  readonly source: io.flow.internal.v0.enums.OrganizationSource;
26396
27269
  }
26397
27270
 
@@ -26459,7 +27332,7 @@ declare namespace io.flow.internal.v0.models {
26459
27332
  readonly attribute_names?: string[];
26460
27333
  readonly attribute_rule_conditions?: io.flow.internal.v0.models.AttributeRule;
26461
27334
  readonly keyword_cancelling?: io.flow.internal.v0.models.KeywordCancelling[];
26462
- readonly activation_status?: io.flow.internal.v0.enums.RestrictionRuleActivationStatus;
27335
+ readonly activation_status: io.flow.internal.v0.enums.RestrictionRuleActivationStatus;
26463
27336
  }
26464
27337
 
26465
27338
  interface RestrictionRuleDecisionForm {
@@ -26520,7 +27393,7 @@ declare namespace io.flow.internal.v0.models {
26520
27393
  readonly attribute_names?: string[];
26521
27394
  readonly attribute_rule_conditions?: io.flow.internal.v0.models.AttributeRule;
26522
27395
  readonly keyword_cancelling?: io.flow.internal.v0.models.KeywordCancelling[];
26523
- readonly activation_status?: io.flow.internal.v0.enums.RestrictionRuleActivationStatus;
27396
+ readonly activation_status: io.flow.internal.v0.enums.RestrictionRuleActivationStatus;
26524
27397
  }
26525
27398
 
26526
27399
  interface RestrictionRuleLaneExemption {
@@ -26584,23 +27457,12 @@ declare namespace io.flow.internal.v0.models {
26584
27457
  readonly oldest_pv_product_date_transacting: string;
26585
27458
  readonly oldest_pc_product_date_setup_complete: string;
26586
27459
  readonly oldest_pc_product_date_transacting: string;
26587
- readonly num_orgs_setup_complete_prs: number;
26588
- readonly num_products_setup_complete_prs: number;
26589
- readonly num_orgs_transacting_prs: number;
26590
- readonly num_products_transacting_prs: number;
26591
- readonly oldest_pr_product_date_setup_complete: string;
26592
- readonly oldest_pr_date_transacting: string;
26593
27460
  readonly percent_products_reviewed_transacting?: number;
26594
27461
  readonly num_pv_inflow_net_new: number;
26595
27462
  readonly num_pv_outflow_human_decisions: number;
26596
27463
  readonly num_pv_outflow_auto_review_decisions: number;
26597
27464
  readonly num_pv_outflow_side_effect_decisions: number;
26598
- readonly num_pr_inflow_net_new: number;
26599
- readonly num_pr_outflow_human_decisions: number;
26600
- readonly num_pr_outflow_auto_review_decisions: number;
26601
- readonly num_pr_outflow_side_effect_decisions: number;
26602
27465
  readonly num_pending_decisions_transacting: number;
26603
- readonly oldest_insufficient_details_pv_onboarding?: string;
26604
27466
  readonly oldest_insufficient_details_pv_active?: string;
26605
27467
  readonly oldest_insufficient_details_pv_transacting?: string;
26606
27468
  readonly num_products_with_fs_result?: number;
@@ -26753,6 +27615,13 @@ declare namespace io.flow.internal.v0.models {
26753
27615
  readonly added_on: string;
26754
27616
  }
26755
27617
 
27618
+ interface RohanItemDeleted {
27619
+ readonly discriminator: 'rohan_item_deleted';
27620
+ readonly event_id: string;
27621
+ readonly timestamp: string;
27622
+ readonly id: string;
27623
+ }
27624
+
26756
27625
  interface RohanItemForm {
26757
27626
  readonly number: string;
26758
27627
  readonly amount: io.flow.common.v0.models.Price;
@@ -26761,6 +27630,13 @@ declare namespace io.flow.internal.v0.models {
26761
27630
  readonly added_on: string;
26762
27631
  }
26763
27632
 
27633
+ interface RohanItemUpserted {
27634
+ readonly discriminator: 'rohan_item_upserted';
27635
+ readonly event_id: string;
27636
+ readonly timestamp: string;
27637
+ readonly item: io.flow.internal.v0.models.RohanItem;
27638
+ }
27639
+
26764
27640
  interface RoutingAccount {
26765
27641
  readonly discriminator: 'routing_account';
26766
27642
  readonly processor: io.flow.internal.v0.enums.Processor;
@@ -26787,6 +27663,8 @@ declare namespace io.flow.internal.v0.models {
26787
27663
  readonly order_total: io.flow.internal.v0.models.ReportingMonetaryValue;
26788
27664
  readonly shopper_breakdown: io.flow.internal.v0.models.ShopperBreakdown;
26789
27665
  readonly payment: io.flow.internal.v0.models.ReportingPayment;
27666
+ readonly tax?: io.flow.internal.v0.models.ReportingMonetaryValue;
27667
+ readonly duty?: io.flow.internal.v0.models.ReportingMonetaryValue;
26790
27668
  readonly fees: io.flow.internal.v0.models.ReportingFees;
26791
27669
  readonly conversion_rate: io.flow.internal.v0.models.ReportingConversionRates;
26792
27670
  readonly payment_is: io.flow.internal.v0.models.PaymentIs;
@@ -26812,6 +27690,13 @@ declare namespace io.flow.internal.v0.models {
26812
27690
  readonly added_on: string;
26813
27691
  }
26814
27692
 
27693
+ interface SarveshItemDeleted {
27694
+ readonly discriminator: 'sarvesh_item_deleted';
27695
+ readonly event_id: string;
27696
+ readonly timestamp: string;
27697
+ readonly id: string;
27698
+ }
27699
+
26815
27700
  interface SarveshItemForm {
26816
27701
  readonly number: string;
26817
27702
  readonly amount: io.flow.common.v0.models.Price;
@@ -26820,6 +27705,13 @@ declare namespace io.flow.internal.v0.models {
26820
27705
  readonly added_on: string;
26821
27706
  }
26822
27707
 
27708
+ interface SarveshItemUpserted {
27709
+ readonly discriminator: 'sarvesh_item_upserted';
27710
+ readonly event_id: string;
27711
+ readonly timestamp: string;
27712
+ readonly item: io.flow.internal.v0.models.SarveshItem;
27713
+ }
27714
+
26823
27715
  interface ScheduledPayment {
26824
27716
  readonly payment: io.flow.internal.v0.models.ReportPayment;
26825
27717
  readonly bank_account: io.flow.internal.v0.models.ReportBankAccountCleartext;
@@ -26919,9 +27811,9 @@ declare namespace io.flow.internal.v0.models {
26919
27811
  readonly status: io.flow.internal.v0.enums.SellabilityCheckStatus;
26920
27812
  readonly result: io.flow.internal.v0.enums.EvaluationCheckResult;
26921
27813
  readonly current_rule_ids?: string[];
26922
- readonly current_restricted_regions?: io.flow.sellability.v0.models.SellablilityRegionResult[];
27814
+ readonly current_restricted_regions?: io.flow.sellability.v0.models.SellabilityRegionResult[];
26923
27815
  readonly merchant_rule_ids?: string[];
26924
- readonly merchant_restricted_regions?: io.flow.sellability.v0.models.SellablilityRegionResult[];
27816
+ readonly merchant_restricted_regions?: io.flow.sellability.v0.models.SellabilityRegionResult[];
26925
27817
  readonly current_error?: io.flow.sellability.v0.models.SellabilityError[];
26926
27818
  readonly merchant_error?: io.flow.sellability.v0.models.SellabilityError[];
26927
27819
  }
@@ -26973,6 +27865,51 @@ declare namespace io.flow.internal.v0.models {
26973
27865
  readonly customer_price: number;
26974
27866
  }
26975
27867
 
27868
+ interface ShippingRateEstimateAvailableInternal {
27869
+ readonly service: io.flow.ratecard.v0.models.RatecardServiceSummary;
27870
+ readonly delivered_duty: io.flow.common.v0.enums.DeliveredDuty;
27871
+ readonly shipment_window: io.flow.ratecard.v0.models.ShipmentWindow;
27872
+ readonly total_amount: io.flow.common.v0.models.Money;
27873
+ readonly base_amount: io.flow.common.v0.models.Money;
27874
+ readonly fees: io.flow.ratecard.v0.unions.RatecardFee[];
27875
+ readonly dimensional_weight?: io.flow.common.v0.models.Measurement;
27876
+ readonly gravitational_weight?: io.flow.common.v0.models.Measurement;
27877
+ readonly weight_break?: number;
27878
+ readonly ratecard_id?: string;
27879
+ readonly lane_id?: string;
27880
+ readonly rate_level_key?: string;
27881
+ readonly glbe_shipping_method_id?: string;
27882
+ readonly glbe_proposition_name?: string;
27883
+ readonly channel_revenue_share_percentage?: number;
27884
+ readonly distance_unit_of_measurement?: io.flow.common.v0.enums.UnitOfMeasurement;
27885
+ readonly weight_unit_of_measurement?: io.flow.common.v0.enums.UnitOfMeasurement;
27886
+ }
27887
+
27888
+ interface ShippingRateEstimateInternal {
27889
+ readonly channel_id: string;
27890
+ readonly organization_id: string;
27891
+ readonly service: string;
27892
+ readonly origin_address: io.flow.common.v0.models.Address;
27893
+ readonly destination_address: io.flow.common.v0.models.Address;
27894
+ readonly shipping_date_time: string;
27895
+ readonly available: io.flow.internal.v0.models.ShippingRateEstimateAvailableInternal[];
27896
+ }
27897
+
27898
+ interface ShippingRateEstimateRequestInternal {
27899
+ readonly channel_id: string;
27900
+ readonly organization_id: string;
27901
+ readonly origin_address: io.flow.common.v0.models.Address;
27902
+ readonly destination_address: io.flow.common.v0.models.Address;
27903
+ readonly package_dimensions: io.flow.common.v0.models.Dimension;
27904
+ readonly shipping_date_time: string;
27905
+ readonly service: string;
27906
+ readonly delivered_duty?: io.flow.common.v0.enums.DeliveredDuty;
27907
+ readonly duties_owed?: io.flow.common.v0.models.Money;
27908
+ readonly taxes_owed?: io.flow.common.v0.models.Money;
27909
+ readonly line_items?: io.flow.common.v0.models.LineItemForm[];
27910
+ readonly include_unpublished?: boolean;
27911
+ }
27912
+
26976
27913
  interface ShopifyCatalogPublication {
26977
27914
  readonly owner: io.flow.internal.v0.enums.CatalogPublicationOwner;
26978
27915
  }
@@ -27219,6 +28156,14 @@ declare namespace io.flow.internal.v0.models {
27219
28156
  readonly shopify: io.flow.internal.v0.models.ShopifyMarketsShopifyOrderMetrics;
27220
28157
  readonly internal: io.flow.internal.v0.models.ShopifyMarketsInternalOrderMetrics;
27221
28158
  readonly discrepancy_data: io.flow.internal.v0.models.ShopifyMarketsDiscrepancyData;
28159
+ readonly organization_metrics?: io.flow.internal.v0.models.ShopifyMarketsOrganizationOrderMetrics[];
28160
+ }
28161
+
28162
+ interface ShopifyMarketsOrganizationOrderMetrics {
28163
+ readonly organization_id: string;
28164
+ readonly shopify_order_count: number;
28165
+ readonly internal_order_count: number;
28166
+ readonly discrepancy_count?: number;
27222
28167
  }
27223
28168
 
27224
28169
  interface ShopifyMarketsQueuedRecord {
@@ -27695,6 +28640,7 @@ declare namespace io.flow.internal.v0.models {
27695
28640
 
27696
28641
  interface ShopperBreakdown {
27697
28642
  readonly product: io.flow.internal.v0.models.ReportingMonetaryValue;
28643
+ readonly product_purchase_price?: io.flow.internal.v0.models.ReportingMonetaryValue;
27698
28644
  readonly tax: io.flow.internal.v0.models.ReportingMonetaryValue;
27699
28645
  readonly duty: io.flow.internal.v0.models.ReportingMonetaryValue;
27700
28646
  readonly discount: io.flow.internal.v0.models.ReportingMonetaryValue;
@@ -28432,6 +29378,10 @@ declare namespace io.flow.internal.v0.models {
28432
29378
  readonly tax_transaction: io.flow.internal.v0.models.TaxTransaction;
28433
29379
  }
28434
29380
 
29381
+ interface TaxTypeTotal {
29382
+ readonly value: io.flow.common.v0.models.Money;
29383
+ }
29384
+
28435
29385
  interface TaxonomyAlignmentCheckResult {
28436
29386
  readonly status: io.flow.internal.v0.enums.TaxonomyCategoryClassificationAlignment;
28437
29387
  readonly result: io.flow.internal.v0.enums.EvaluationCheckResult;
@@ -28562,6 +29512,11 @@ declare namespace io.flow.internal.v0.models {
28562
29512
  readonly timezone: string;
28563
29513
  }
28564
29514
 
29515
+ interface Tokens {
29516
+ readonly webhook_signature_verification: string;
29517
+ readonly api: string;
29518
+ }
29519
+
28565
29520
  interface TrackingAssuranceAnalysis {
28566
29521
  readonly id: string;
28567
29522
  readonly job_id: string;
@@ -29335,8 +30290,6 @@ declare namespace io.flow.internal.v0.unions {
29335
30290
  | io.flow.internal.v0.models.ExportFailed
29336
30291
  | io.flow.internal.v0.models.FeatureUpserted
29337
30292
  | io.flow.internal.v0.models.FeatureDeleted
29338
- | io.flow.internal.v0.models.OrganizationBooleanValueUpserted
29339
- | io.flow.internal.v0.models.OrganizationBooleanValueDeleted
29340
30293
  | io.flow.internal.v0.models.AccountSettingsUpserted
29341
30294
  | io.flow.internal.v0.models.AccountSettingsDeleted
29342
30295
  | io.flow.internal.v0.models.AccountProcessingRatesUpserted
@@ -29572,6 +30525,22 @@ declare namespace io.flow.internal.v0.unions {
29572
30525
  | io.flow.internal.v0.models.StripeConnectReportRecordDeleted
29573
30526
  | io.flow.internal.v0.models.LiabilityRemittancePlanUpserted
29574
30527
  | io.flow.internal.v0.models.LiabilityRemittancePlanDeleted
30528
+ | io.flow.internal.v0.models.AnirbanItemUpserted
30529
+ | io.flow.internal.v0.models.AnirbanItemDeleted
30530
+ | io.flow.internal.v0.models.SarveshItemUpserted
30531
+ | io.flow.internal.v0.models.SarveshItemDeleted
30532
+ | io.flow.internal.v0.models.HoseinItemUpserted
30533
+ | io.flow.internal.v0.models.HoseinItemDeleted
30534
+ | io.flow.internal.v0.models.NiallItemUpserted
30535
+ | io.flow.internal.v0.models.NiallItemDeleted
30536
+ | io.flow.internal.v0.models.RohanItemUpserted
30537
+ | io.flow.internal.v0.models.RohanItemDeleted
30538
+ | io.flow.internal.v0.models.AldoItemUpserted
30539
+ | io.flow.internal.v0.models.AldoItemDeleted
30540
+ | io.flow.internal.v0.models.AnshItemUpserted
30541
+ | io.flow.internal.v0.models.AnshItemDeleted
30542
+ | io.flow.internal.v0.models.GabrielItemUpserted
30543
+ | io.flow.internal.v0.models.GabrielItemDeleted
29575
30544
  | io.flow.internal.v0.models.TrackingProcessingErrorUpserted
29576
30545
  | io.flow.internal.v0.models.TrackingProcessingErrorDeleted
29577
30546
  | io.flow.internal.v0.models.TrackingLabelEventUpsertedV2
@@ -29721,7 +30690,8 @@ declare namespace io.flow.internal.v0.unions {
29721
30690
  | io.flow.internal.v0.models.ProofOfPostingShippingNotification
29722
30691
  | io.flow.internal.v0.models.ProofOfPostingOrderCancellation
29723
30692
  | io.flow.internal.v0.models.ProofOfPostingOrderCombinedShipment
29724
- | io.flow.internal.v0.models.ProofOfPostingTimeElapsed;
30693
+ | io.flow.internal.v0.models.ProofOfPostingTimeElapsed
30694
+ | io.flow.internal.v0.models.ProofOfPostingSynthetic;
29725
30695
  type RestrictionAttributeRuleCondition =
29726
30696
  | io.flow.internal.v0.models.RestrictionAttributeConditionSingle
29727
30697
  | io.flow.internal.v0.models.RestrictionAttributeConditionMultiple;
@@ -29952,8 +30922,10 @@ export type AfterpayRefundUpserted =
29952
30922
  io.flow.internal.v0.models.AfterpayRefundUpserted;
29953
30923
  export type AftershipWebhook = io.flow.internal.v0.models.AftershipWebhook;
29954
30924
  export type AldoItem = io.flow.internal.v0.models.AldoItem;
30925
+ export type AldoItemDeleted = io.flow.internal.v0.models.AldoItemDeleted;
29955
30926
  export type AldoItemForm = io.flow.internal.v0.models.AldoItemForm;
29956
30927
  export type AldoItemType = io.flow.internal.v0.enums.AldoItemType;
30928
+ export type AldoItemUpserted = io.flow.internal.v0.models.AldoItemUpserted;
29957
30929
  export type AllItemsExport = io.flow.internal.v0.models.AllItemsExport;
29958
30930
  export type AllOrganizationsMembership =
29959
30931
  io.flow.internal.v0.models.AllOrganizationsMembership;
@@ -29961,11 +30933,16 @@ export type AllocationItemReference =
29961
30933
  io.flow.internal.v0.models.AllocationItemReference;
29962
30934
  export type AllowedLabels = io.flow.internal.v0.models.AllowedLabels;
29963
30935
  export type AnirbanItem = io.flow.internal.v0.models.AnirbanItem;
30936
+ export type AnirbanItemDeleted = io.flow.internal.v0.models.AnirbanItemDeleted;
29964
30937
  export type AnirbanItemForm = io.flow.internal.v0.models.AnirbanItemForm;
29965
30938
  export type AnirbanItemType = io.flow.internal.v0.enums.AnirbanItemType;
30939
+ export type AnirbanItemUpserted =
30940
+ io.flow.internal.v0.models.AnirbanItemUpserted;
29966
30941
  export type AnshItem = io.flow.internal.v0.models.AnshItem;
30942
+ export type AnshItemDeleted = io.flow.internal.v0.models.AnshItemDeleted;
29967
30943
  export type AnshItemForm = io.flow.internal.v0.models.AnshItemForm;
29968
30944
  export type AnshItemType = io.flow.internal.v0.enums.AnshItemType;
30945
+ export type AnshItemUpserted = io.flow.internal.v0.models.AnshItemUpserted;
29969
30946
  export type AnyDangerousGoods = io.flow.internal.v0.enums.AnyDangerousGoods;
29970
30947
  export type ApiCallReferenceId = io.flow.internal.v0.enums.ApiCallReferenceId;
29971
30948
  export type ApplePayAuthorizationPayload =
@@ -30001,6 +30978,11 @@ export type AuthorizedShippingCharge =
30001
30978
  io.flow.internal.v0.models.AuthorizedShippingCharge;
30002
30979
  export type AutoRestrictRule = io.flow.internal.v0.enums.AutoRestrictRule;
30003
30980
  export type AutoReviewCriteria = io.flow.internal.v0.models.AutoReviewCriteria;
30981
+ export type B2BTaxLedger = io.flow.internal.v0.models.B2BTaxLedger;
30982
+ export type B2BTaxLedgerDocumentType =
30983
+ io.flow.internal.v0.enums.B2BTaxLedgerDocumentType;
30984
+ export type B2BTaxLedgerForm = io.flow.internal.v0.models.B2BTaxLedgerForm;
30985
+ export type B2BTaxRateType = io.flow.internal.v0.enums.B2BTaxRateType;
30004
30986
  export type BankAccount = io.flow.internal.v0.models.BankAccount;
30005
30987
  export type BankAccountReference =
30006
30988
  io.flow.internal.v0.models.BankAccountReference;
@@ -30120,6 +31102,8 @@ export type BulkClassificationAction =
30120
31102
  io.flow.internal.v0.models.BulkClassificationAction;
30121
31103
  export type BulkDutyUpdateValidationError =
30122
31104
  io.flow.internal.v0.models.BulkDutyUpdateValidationError;
31105
+ export type Cafe24MarketsWebhook =
31106
+ io.flow.internal.v0.models.Cafe24MarketsWebhook;
30123
31107
  export type CalculatedTaxAmount =
30124
31108
  io.flow.internal.v0.models.CalculatedTaxAmount;
30125
31109
  export type CalculationStampingLineItem =
@@ -30301,8 +31285,8 @@ export type ChannelOrderSummaryFulfillmentDetails =
30301
31285
  io.flow.internal.v0.models.ChannelOrderSummaryFulfillmentDetails;
30302
31286
  export type ChannelOrderSummaryUpserted =
30303
31287
  io.flow.internal.v0.models.ChannelOrderSummaryUpserted;
30304
- export type ChannelOrganizationDomain =
30305
- io.flow.internal.v0.models.ChannelOrganizationDomain;
31288
+ export type ChannelOrganizationDomains =
31289
+ io.flow.internal.v0.models.ChannelOrganizationDomains;
30306
31290
  export type ChannelOrganizationIdentifier =
30307
31291
  io.flow.internal.v0.models.ChannelOrganizationIdentifier;
30308
31292
  export type ChannelOrganizationIdentifierDeleted =
@@ -30340,6 +31324,8 @@ export type ChannelRateMetadataIdentity =
30340
31324
  export type ChannelRateMetadataRate =
30341
31325
  io.flow.internal.v0.models.ChannelRateMetadataRate;
30342
31326
  export type ChannelService = io.flow.internal.v0.enums.ChannelService;
31327
+ export type ChannelShop = io.flow.internal.v0.models.ChannelShop;
31328
+ export type ChannelShopForm = io.flow.internal.v0.models.ChannelShopForm;
30343
31329
  export type ChannelTransaction = io.flow.internal.v0.models.ChannelTransaction;
30344
31330
  export type ChannelTransactionDeleted =
30345
31331
  io.flow.internal.v0.models.ChannelTransactionDeleted;
@@ -30412,6 +31398,8 @@ export type ClassificationError =
30412
31398
  io.flow.internal.v0.models.ClassificationError;
30413
31399
  export type ClassificationErrorCode =
30414
31400
  io.flow.internal.v0.enums.ClassificationErrorCode;
31401
+ export type ClassificationFailureReason =
31402
+ io.flow.internal.v0.enums.ClassificationFailureReason;
30415
31403
  export type ClassificationForm = io.flow.internal.v0.unions.ClassificationForm;
30416
31404
  export type ClassificationFormWrapper =
30417
31405
  io.flow.internal.v0.models.ClassificationFormWrapper;
@@ -30788,7 +31776,6 @@ export type FeatureDefaultValue =
30788
31776
  export type FeatureDeleted = io.flow.internal.v0.models.FeatureDeleted;
30789
31777
  export type FeatureForm = io.flow.internal.v0.models.FeatureForm;
30790
31778
  export type FeatureGeoForm = io.flow.internal.v0.models.FeatureGeoForm;
30791
- export type FeatureIdReference = io.flow.internal.v0.models.FeatureIdReference;
30792
31779
  export type FeatureReference = io.flow.internal.v0.models.FeatureReference;
30793
31780
  export type FeatureReleaseForm = io.flow.internal.v0.models.FeatureReleaseForm;
30794
31781
  export type FeatureRule = io.flow.internal.v0.unions.FeatureRule;
@@ -30979,6 +31966,12 @@ export type FxRevenueRecognitionRate =
30979
31966
  io.flow.internal.v0.models.FxRevenueRecognitionRate;
30980
31967
  export type FxRevenueRecognitionSource =
30981
31968
  io.flow.internal.v0.models.FxRevenueRecognitionSource;
31969
+ export type GabrielItem = io.flow.internal.v0.models.GabrielItem;
31970
+ export type GabrielItemDeleted = io.flow.internal.v0.models.GabrielItemDeleted;
31971
+ export type GabrielItemForm = io.flow.internal.v0.models.GabrielItemForm;
31972
+ export type GabrielItemType = io.flow.internal.v0.enums.GabrielItemType;
31973
+ export type GabrielItemUpserted =
31974
+ io.flow.internal.v0.models.GabrielItemUpserted;
30982
31975
  export type GeIngestionFileStatus =
30983
31976
  io.flow.internal.v0.enums.GeIngestionFileStatus;
30984
31977
  export type GeRevenueShareTransaction =
@@ -31039,9 +32032,12 @@ export type HarmonizeFullyRequestV2 =
31039
32032
  export type HarmonizedItemsHs6Export =
31040
32033
  io.flow.internal.v0.models.HarmonizedItemsHs6Export;
31041
32034
  export type HoseinItem = io.flow.internal.v0.models.HoseinItem;
32035
+ export type HoseinItemDeleted = io.flow.internal.v0.models.HoseinItemDeleted;
31042
32036
  export type HoseinItemForm = io.flow.internal.v0.models.HoseinItemForm;
31043
32037
  export type HoseinItemType = io.flow.internal.v0.enums.HoseinItemType;
32038
+ export type HoseinItemUpserted = io.flow.internal.v0.models.HoseinItemUpserted;
31044
32039
  export type Hs6 = io.flow.internal.v0.models.Hs6;
32040
+ export type Hs6CodeSource = io.flow.internal.v0.enums.Hs6CodeSource;
31045
32041
  export type Hs6Metadata = io.flow.internal.v0.models.Hs6Metadata;
31046
32042
  export type HttpMethod = io.flow.internal.v0.enums.HttpMethod;
31047
32043
  export type ImportCompleted = io.flow.internal.v0.models.ImportCompleted;
@@ -31242,6 +32238,10 @@ export type LabelsPrediction = io.flow.internal.v0.models.LabelsPrediction;
31242
32238
  export type LandedCostItem = io.flow.internal.v0.models.LandedCostItem;
31243
32239
  export type Landmark = io.flow.internal.v0.models.Landmark;
31244
32240
  export type LastFailureSummary = io.flow.internal.v0.models.LastFailureSummary;
32241
+ export type LedgerReport = io.flow.internal.v0.models.LedgerReport;
32242
+ export type LedgerReportType = io.flow.internal.v0.enums.LedgerReportType;
32243
+ export type LedgerReportUrl = io.flow.internal.v0.models.LedgerReportUrl;
32244
+ export type LedgerReportUrlType = io.flow.internal.v0.enums.LedgerReportUrlType;
31245
32245
  export type LevyRateSummary = io.flow.internal.v0.models.LevyRateSummary;
31246
32246
  export type LevyRateSummaryUpserted =
31247
32247
  io.flow.internal.v0.models.LevyRateSummaryUpserted;
@@ -31372,8 +32372,10 @@ export type NegativeDebitMetrics =
31372
32372
  export type NextBillingStatement =
31373
32373
  io.flow.internal.v0.models.NextBillingStatement;
31374
32374
  export type NiallItem = io.flow.internal.v0.models.NiallItem;
32375
+ export type NiallItemDeleted = io.flow.internal.v0.models.NiallItemDeleted;
31375
32376
  export type NiallItemForm = io.flow.internal.v0.models.NiallItemForm;
31376
32377
  export type NiallItemType = io.flow.internal.v0.enums.NiallItemType;
32378
+ export type NiallItemUpserted = io.flow.internal.v0.models.NiallItemUpserted;
31377
32379
  export type NoCalculatedTaxAmount =
31378
32380
  io.flow.internal.v0.models.NoCalculatedTaxAmount;
31379
32381
  export type NoClassificationForm =
@@ -31529,12 +32531,6 @@ export type OrganizationBankAccountUpserted =
31529
32531
  io.flow.internal.v0.models.OrganizationBankAccountUpserted;
31530
32532
  export type OrganizationBillingStatement =
31531
32533
  io.flow.internal.v0.models.OrganizationBillingStatement;
31532
- export type OrganizationBooleanValue =
31533
- io.flow.internal.v0.models.OrganizationBooleanValue;
31534
- export type OrganizationBooleanValueDeleted =
31535
- io.flow.internal.v0.models.OrganizationBooleanValueDeleted;
31536
- export type OrganizationBooleanValueUpserted =
31537
- io.flow.internal.v0.models.OrganizationBooleanValueUpserted;
31538
32534
  export type OrganizationBusinessEntity =
31539
32535
  io.flow.internal.v0.models.OrganizationBusinessEntity;
31540
32536
  export type OrganizationBusinessEntityDeleted =
@@ -31810,6 +32806,26 @@ export type PrateekItemType = io.flow.internal.v0.enums.PrateekItemType;
31810
32806
  export type Prediction = io.flow.internal.v0.models.Prediction;
31811
32807
  export type PreferredBillingSchedule =
31812
32808
  io.flow.internal.v0.enums.PreferredBillingSchedule;
32809
+ export type PreonboardingClassificationDecision =
32810
+ io.flow.internal.v0.enums.PreonboardingClassificationDecision;
32811
+ export type PreonboardingClassificationPlatform =
32812
+ io.flow.internal.v0.enums.PreonboardingClassificationPlatform;
32813
+ export type PreonboardingClassificationRabbitmqEnvelope =
32814
+ io.flow.internal.v0.models.PreonboardingClassificationRabbitmqEnvelope;
32815
+ export type PreonboardingClassificationRabbitmqMessage =
32816
+ io.flow.internal.v0.models.PreonboardingClassificationRabbitmqMessage;
32817
+ export type PreonboardingClassificationRequest =
32818
+ io.flow.internal.v0.models.PreonboardingClassificationRequest;
32819
+ export type PreonboardingClassificationResult =
32820
+ io.flow.internal.v0.models.PreonboardingClassificationResult;
32821
+ export type PreonboardingClassificationType =
32822
+ io.flow.internal.v0.enums.PreonboardingClassificationType;
32823
+ export type PreonboardingMerchant =
32824
+ io.flow.internal.v0.models.PreonboardingMerchant;
32825
+ export type PreonboardingRequestStatus =
32826
+ io.flow.internal.v0.enums.PreonboardingRequestStatus;
32827
+ export type PreonboardingSellabilityResult =
32828
+ io.flow.internal.v0.models.PreonboardingSellabilityResult;
31813
32829
  export type PriceInclusivity = io.flow.internal.v0.models.PriceInclusivity;
31814
32830
  export type PriceSelector = io.flow.internal.v0.enums.PriceSelector;
31815
32831
  export type PrioritizedCenterReference =
@@ -31903,6 +32919,8 @@ export type ProofOfPostingOrderCombinedShipment =
31903
32919
  io.flow.internal.v0.models.ProofOfPostingOrderCombinedShipment;
31904
32920
  export type ProofOfPostingShippingNotification =
31905
32921
  io.flow.internal.v0.models.ProofOfPostingShippingNotification;
32922
+ export type ProofOfPostingSynthetic =
32923
+ io.flow.internal.v0.models.ProofOfPostingSynthetic;
31906
32924
  export type ProofOfPostingTimeElapsed =
31907
32925
  io.flow.internal.v0.models.ProofOfPostingTimeElapsed;
31908
32926
  export type PspDistribution = io.flow.internal.v0.models.PspDistribution;
@@ -32015,6 +33033,7 @@ export type RemittanceResponsibility =
32015
33033
  io.flow.internal.v0.models.RemittanceResponsibility;
32016
33034
  export type Report = io.flow.internal.v0.models.Report;
32017
33035
  export type ReportAccount = io.flow.internal.v0.models.ReportAccount;
33036
+ export type ReportAmountRange = io.flow.internal.v0.models.ReportAmountRange;
32018
33037
  export type ReportBankAccount = io.flow.internal.v0.models.ReportBankAccount;
32019
33038
  export type ReportBankAccountCleartext =
32020
33039
  io.flow.internal.v0.models.ReportBankAccountCleartext;
@@ -32229,8 +33248,10 @@ export type RevenueRecordUpserted =
32229
33248
  export type RiskCheck = io.flow.internal.v0.enums.RiskCheck;
32230
33249
  export type RiskEvaluation = io.flow.internal.v0.enums.RiskEvaluation;
32231
33250
  export type RohanItem = io.flow.internal.v0.models.RohanItem;
33251
+ export type RohanItemDeleted = io.flow.internal.v0.models.RohanItemDeleted;
32232
33252
  export type RohanItemForm = io.flow.internal.v0.models.RohanItemForm;
32233
33253
  export type RohanItemType = io.flow.internal.v0.enums.RohanItemType;
33254
+ export type RohanItemUpserted = io.flow.internal.v0.models.RohanItemUpserted;
32234
33255
  export type RoutingAccount = io.flow.internal.v0.models.RoutingAccount;
32235
33256
  export type RoutingEntity = io.flow.internal.v0.unions.RoutingEntity;
32236
33257
  export type RoutingMerchant = io.flow.internal.v0.models.RoutingMerchant;
@@ -32239,8 +33260,11 @@ export type SalesPaymentRecord = io.flow.internal.v0.models.SalesPaymentRecord;
32239
33260
  export type SandboxSetup = io.flow.internal.v0.models.SandboxSetup;
32240
33261
  export type SandboxSetupForm = io.flow.internal.v0.models.SandboxSetupForm;
32241
33262
  export type SarveshItem = io.flow.internal.v0.models.SarveshItem;
33263
+ export type SarveshItemDeleted = io.flow.internal.v0.models.SarveshItemDeleted;
32242
33264
  export type SarveshItemForm = io.flow.internal.v0.models.SarveshItemForm;
32243
33265
  export type SarveshItemType = io.flow.internal.v0.enums.SarveshItemType;
33266
+ export type SarveshItemUpserted =
33267
+ io.flow.internal.v0.models.SarveshItemUpserted;
32244
33268
  export type ScheduledPayment = io.flow.internal.v0.models.ScheduledPayment;
32245
33269
  export type Screen = io.flow.internal.v0.models.Screen;
32246
33270
  export type ScreenForm = io.flow.internal.v0.models.ScreenForm;
@@ -32276,6 +33300,12 @@ export type ShippingLane = io.flow.internal.v0.models.ShippingLane;
32276
33300
  export type ShippingMethodReference =
32277
33301
  io.flow.internal.v0.models.ShippingMethodReference;
32278
33302
  export type ShippingPricing = io.flow.internal.v0.models.ShippingPricing;
33303
+ export type ShippingRateEstimateAvailableInternal =
33304
+ io.flow.internal.v0.models.ShippingRateEstimateAvailableInternal;
33305
+ export type ShippingRateEstimateInternal =
33306
+ io.flow.internal.v0.models.ShippingRateEstimateInternal;
33307
+ export type ShippingRateEstimateRequestInternal =
33308
+ io.flow.internal.v0.models.ShippingRateEstimateRequestInternal;
32279
33309
  export type ShopifyCatalogPublication =
32280
33310
  io.flow.internal.v0.models.ShopifyCatalogPublication;
32281
33311
  export type ShopifyChannelOrganizationToken =
@@ -32351,6 +33381,8 @@ export type ShopifyMarketsOrderVersionWithShopId =
32351
33381
  io.flow.internal.v0.models.ShopifyMarketsOrderVersionWithShopId;
32352
33382
  export type ShopifyMarketsOrdersMetrics =
32353
33383
  io.flow.internal.v0.models.ShopifyMarketsOrdersMetrics;
33384
+ export type ShopifyMarketsOrganizationOrderMetrics =
33385
+ io.flow.internal.v0.models.ShopifyMarketsOrganizationOrderMetrics;
32354
33386
  export type ShopifyMarketsQueuedRecord =
32355
33387
  io.flow.internal.v0.models.ShopifyMarketsQueuedRecord;
32356
33388
  export type ShopifyMarketsQueuedRecordType =
@@ -32662,6 +33694,7 @@ export type TaxTransactionDeleted =
32662
33694
  export type TaxTransactionType = io.flow.internal.v0.enums.TaxTransactionType;
32663
33695
  export type TaxTransactionUpserted =
32664
33696
  io.flow.internal.v0.models.TaxTransactionUpserted;
33697
+ export type TaxTypeTotal = io.flow.internal.v0.models.TaxTypeTotal;
32665
33698
  export type TaxonomyAlignmentCheckResult =
32666
33699
  io.flow.internal.v0.models.TaxonomyAlignmentCheckResult;
32667
33700
  export type TaxonomyCategory = io.flow.internal.v0.models.TaxonomyCategory;
@@ -32696,6 +33729,7 @@ export type TimeToClassifyDeleted =
32696
33729
  export type TimeToClassifyUpserted =
32697
33730
  io.flow.internal.v0.models.TimeToClassifyUpserted;
32698
33731
  export type TimeWithTimezone = io.flow.internal.v0.models.TimeWithTimezone;
33732
+ export type Tokens = io.flow.internal.v0.models.Tokens;
32699
33733
  export type Tracker = io.flow.internal.v0.unions.Tracker;
32700
33734
  export type TrackingAssuranceAnalysis =
32701
33735
  io.flow.internal.v0.models.TrackingAssuranceAnalysis;