@flowio/types 11.24.119 → 11.24.120

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.
@@ -1537,7 +1537,7 @@ declare namespace io.flow.payment.v0.enums {
1537
1537
  | 'invalid_customer'
1538
1538
  | 'invalid_destination'
1539
1539
  | 'unknown';
1540
- type PaymentFeeType = 'fx' | 'mor';
1540
+ type PaymentFeeType = 'fx' | 'mor' | 'sp';
1541
1541
  type PaymentSourceConfirmationActionType =
1542
1542
  | 'cvv'
1543
1543
  | 'billing_address'
@@ -6382,6 +6382,7 @@ declare namespace io.flow.shopify.markets.internal.v0.models {
6382
6382
  readonly api_password?: string;
6383
6383
  readonly access_token?: string;
6384
6384
  readonly shopify_plan_name?: io.flow.shopify.external.v0.enums.ShopifyPlanName;
6385
+ readonly catalog_publication_owner?: io.flow.channel.shopify.internal.v0.enums.CatalogPublicationOwner;
6385
6386
  }
6386
6387
 
6387
6388
  interface ShopifyMarketsShopSummary {
@@ -9153,6 +9154,48 @@ declare namespace io.flow.shopify.markets.v0.models {
9153
9154
  }
9154
9155
  }
9155
9156
 
9157
+ declare namespace io.flow.channel.shopify.internal.v0.enums {
9158
+ type CatalogPublicationOwner = 'shopify' | 'globale';
9159
+ type ShopifyService = 'payment' | 'duty_tax_calculator' | 'sellability';
9160
+ }
9161
+
9162
+ declare namespace io.flow.channel.shopify.internal.v0.models {
9163
+ interface ChannelOrganizationShopify {
9164
+ readonly organization: io.flow.channel.v0.models.ChannelOrganization;
9165
+ readonly tokens: io.flow.channel.shopify.internal.v0.models.ShopifyChannelOrganizationTokens[];
9166
+ }
9167
+
9168
+ interface ChannelOrganizationShopifyForm {
9169
+ readonly form: io.flow.channel.v0.models.ChannelOrganizationPutForm;
9170
+ readonly metadata: io.flow.channel.shopify.internal.v0.models.ShopifyMetadata;
9171
+ }
9172
+
9173
+ interface ChannelOrganizationShopifyPostForm {
9174
+ readonly form: io.flow.channel.v0.models.ChannelOrganizationForm;
9175
+ readonly metadata: io.flow.channel.shopify.internal.v0.models.ShopifyMetadata;
9176
+ }
9177
+
9178
+ interface ShopifyCatalogPublication {
9179
+ readonly owner: io.flow.channel.shopify.internal.v0.enums.CatalogPublicationOwner;
9180
+ }
9181
+
9182
+ interface ShopifyChannelOrganizationToken {
9183
+ readonly cleartext: string;
9184
+ }
9185
+
9186
+ interface ShopifyChannelOrganizationTokens {
9187
+ readonly token: io.flow.channel.shopify.internal.v0.models.ShopifyChannelOrganizationToken;
9188
+ readonly service: io.flow.channel.shopify.internal.v0.enums.ShopifyService;
9189
+ }
9190
+
9191
+ interface ShopifyMetadata {
9192
+ readonly domain: string;
9193
+ readonly myshopify_domain: string;
9194
+ readonly catalog_publication?: io.flow.channel.shopify.internal.v0.models.ShopifyCatalogPublication;
9195
+ readonly token: string;
9196
+ }
9197
+ }
9198
+
9156
9199
  declare namespace io.flow.order.price.v0.enums {
9157
9200
  type OrderPriceDetailComponentKey =
9158
9201
  | 'adjustment'
@@ -9259,6 +9302,7 @@ declare namespace io.flow.channel.internal.v0.enums {
9259
9302
  | 'review'
9260
9303
  | 'edit_review'
9261
9304
  | 'edit_accepted';
9305
+ type OrderPaymentSourceType = 'globale' | 'third_party';
9262
9306
  }
9263
9307
 
9264
9308
  declare namespace io.flow.channel.internal.v0.models {
@@ -9305,7 +9349,7 @@ declare namespace io.flow.channel.internal.v0.models {
9305
9349
  readonly order_created_at?: string;
9306
9350
  readonly order_updated_at?: string;
9307
9351
  readonly order_edit_summary?: io.flow.channel.internal.v0.models.OrderEditSummary;
9308
- readonly payment_source?: io.flow.experience.v0.enums.OrderPaymentSourceType;
9352
+ readonly payment_source?: io.flow.channel.internal.v0.enums.OrderPaymentSourceType;
9309
9353
  }
9310
9354
 
9311
9355
  interface ChannelOrderAcceptanceDetails {
@@ -10322,6 +10366,27 @@ declare namespace io.flow.shopify.markets.internal.event.v0.models {
10322
10366
  readonly assessment: io.flow.shopify.markets.internal.v0.models.ShopifyOrderRiskAssessment;
10323
10367
  }
10324
10368
 
10369
+ interface ShopifyOrderTransaction {
10370
+ readonly id: string;
10371
+ readonly model: io.flow.shopify.markets.v0.models.ShopifyOrderTransaction;
10372
+ }
10373
+
10374
+ interface ShopifyOrderTransactionDeleted {
10375
+ readonly discriminator: 'shopify_order_transaction_deleted';
10376
+ readonly event_id: string;
10377
+ readonly timestamp: string;
10378
+ readonly organization: string;
10379
+ readonly id: string;
10380
+ }
10381
+
10382
+ interface ShopifyOrderTransactionUpserted {
10383
+ readonly discriminator: 'shopify_order_transaction_upserted';
10384
+ readonly event_id: string;
10385
+ readonly timestamp: string;
10386
+ readonly organization: string;
10387
+ readonly transaction: io.flow.shopify.markets.internal.event.v0.models.ShopifyOrderTransaction;
10388
+ }
10389
+
10325
10390
  interface ShopifyProductBundleDeleted {
10326
10391
  readonly discriminator: 'shopify_product_bundle_deleted';
10327
10392
  readonly event_id: string;
@@ -10363,7 +10428,9 @@ declare namespace io.flow.shopify.markets.internal.event.v0.unions {
10363
10428
  | io.flow.shopify.markets.internal.event.v0.models.ShopifyMarketsBestSellingProductUpserted
10364
10429
  | io.flow.shopify.markets.internal.event.v0.models.ShopifyMarketsBestSellingProductDeleted
10365
10430
  | io.flow.shopify.markets.internal.event.v0.models.ShopifyOrderRiskAssessmentUpserted
10366
- | io.flow.shopify.markets.internal.event.v0.models.ShopifyOrderRiskAssessmentDeleted;
10431
+ | io.flow.shopify.markets.internal.event.v0.models.ShopifyOrderRiskAssessmentDeleted
10432
+ | io.flow.shopify.markets.internal.event.v0.models.ShopifyOrderTransactionUpserted
10433
+ | io.flow.shopify.markets.internal.event.v0.models.ShopifyOrderTransactionDeleted;
10367
10434
  }
10368
10435
 
10369
10436
  declare namespace io.flow.experience.v0.enums {
@@ -11785,6 +11852,8 @@ declare namespace io.flow.ratecard.v0.models {
11785
11852
  readonly amount: io.flow.common.v0.models.Money;
11786
11853
  readonly starts_at?: string;
11787
11854
  readonly ends_at?: string;
11855
+ readonly regions?: string[];
11856
+ readonly dependent_service_fees?: string[];
11788
11857
  }
11789
11858
 
11790
11859
  interface Ratecard {
@@ -11881,6 +11950,11 @@ declare namespace io.flow.ratecard.v0.models {
11881
11950
  readonly line_items?: io.flow.common.v0.models.LineItemForm[];
11882
11951
  }
11883
11952
 
11953
+ interface RatecardFeeSummary {
11954
+ readonly ratecard_fee: io.flow.ratecard.v0.unions.RatecardFee;
11955
+ readonly source_service_fees: string[];
11956
+ }
11957
+
11884
11958
  interface RatecardForm {
11885
11959
  readonly direction: io.flow.label.v0.enums.Direction;
11886
11960
  readonly effective_at: string;
@@ -13950,7 +14024,8 @@ declare namespace io.flow.billing.v0.enums {
13950
14024
  | 'processing'
13951
14025
  | 'rate_lock'
13952
14026
  | 'transfer'
13953
- | 'negative_balance_guarantee';
14027
+ | 'negative_balance_guarantee'
14028
+ | 'sp';
13954
14029
  type PayoutAttachmentType = 'transactions';
13955
14030
  type PayoutStatusFailureCode =
13956
14031
  | 'invalid_account_number'
@@ -13967,13 +14042,16 @@ declare namespace io.flow.billing.v0.enums {
13967
14042
  | 'account_payment_hold';
13968
14043
  type StatementAttachmentType = 'csv';
13969
14044
  type TaxDutyTransactionReasonCode =
14045
+ | 'post_capture'
14046
+ | 'post_fulfilment'
14047
+ | 'manual_payment_or_gift_card'
13970
14048
  | 'order_edit'
13971
- | 'order_acceptance'
13972
14049
  | 'mixed_fulfilment_non_lvg'
13973
14050
  | 'lvg_refund'
13974
14051
  | 'order_cancellation_above_de_min'
13975
14052
  | 'wyol_shipment_above_de_min'
13976
- | 'full_refund_without_shipment';
14053
+ | 'full_refund_without_shipment'
14054
+ | 'unfulfilled_order_above_de_min';
13977
14055
  type TransactionSource =
13978
14056
  | 'capture'
13979
14057
  | 'refund'
@@ -15885,6 +15963,7 @@ declare namespace io.flow.sellability.v0.enums {
15885
15963
 
15886
15964
  declare namespace io.flow.sellability.v0.models {
15887
15965
  interface ProductSellability {
15966
+ readonly discriminator: 'product_sellability';
15888
15967
  readonly shop_id: string;
15889
15968
  readonly product_id?: string;
15890
15969
  readonly request_id: string;
@@ -15909,6 +15988,7 @@ declare namespace io.flow.sellability.v0.models {
15909
15988
  }
15910
15989
 
15911
15990
  interface SellabilityError {
15991
+ readonly discriminator: 'sellability_error';
15912
15992
  readonly code: io.flow.sellability.v0.enums.SellabilityErrorCode;
15913
15993
  readonly messages: string[];
15914
15994
  }
@@ -15919,6 +15999,12 @@ declare namespace io.flow.sellability.v0.models {
15919
15999
  }
15920
16000
  }
15921
16001
 
16002
+ declare namespace io.flow.sellability.v0.unions {
16003
+ type SellabilityResponse =
16004
+ | io.flow.sellability.v0.models.ProductSellability
16005
+ | io.flow.sellability.v0.models.SellabilityError;
16006
+ }
16007
+
15922
16008
  declare namespace io.flow.currency.v0.models {
15923
16009
  interface Rate {
15924
16010
  readonly id: string;
@@ -16243,7 +16329,16 @@ declare namespace io.flow.internal.v0.enums {
16243
16329
  | 'prr-599c6246a1a24752aeb85e8f79030781'
16244
16330
  | 'prr-79e41878ea564f9c81cc432a0e84703f'
16245
16331
  | 'prr-f29c26dc09e04536bc77f9c32786ed70'
16246
- | 'prr-b186129720f0446eb452a68518437c95';
16332
+ | 'prr-b186129720f0446eb452a68518437c95'
16333
+ | 'prr-36e1603f56e54eb889792637c29eed40'
16334
+ | 'prr-7ead2cc4bf2840a3a9b50d222eb0ed7e'
16335
+ | 'prr-ec2f3d608b7e43a49de88ac40e6b50a8'
16336
+ | 'prr-04ed078c39ca4447b171f767d71a481d'
16337
+ | 'prr-bb664a76d6d64a17843e720e6ccd401a'
16338
+ | 'prr-8ce63afcd48641eb9d44e04117348a96'
16339
+ | 'prr-76544617791b4ce8af96b3a7879474c6'
16340
+ | 'prr-566cc67167944bc4bd08167aa9c0beba'
16341
+ | 'prr-74e1320efb7741cf9ace400b69800f9b';
16247
16342
  type BankAccountStatus = 'on_hold' | 'not_on_hold';
16248
16343
  type BankPaymentPromiseCompletedMethod = 'credit' | 'time';
16249
16344
  type BankPaymentStatusCode = 'scheduled' | 'sent' | 'failed';
@@ -16424,7 +16519,41 @@ declare namespace io.flow.internal.v0.enums {
16424
16519
  | 'fourth_plus_attempt_amount_total'
16425
16520
  | 'fourth_plus_attempt_failed_merchant_count'
16426
16521
  | 'fourth_plus_attempt_failed_amount_total'
16427
- | 'fourth_plus_attempt_success_ratio';
16522
+ | 'fourth_plus_attempt_success_ratio'
16523
+ | 'ge_revenue_share_standard_transactions_count'
16524
+ | 'ge_revenue_share_standard_transactions_total'
16525
+ | 'ge_revenue_share_shopify_plus_transactions_count'
16526
+ | 'ge_revenue_share_shopify_plus_transactions_total'
16527
+ | 'non_l4l_tax_duty_fx_transactions_count'
16528
+ | 'non_l4l_tax_duty_fx_transactions_total'
16529
+ | 'sp_adjustment_transactions_count'
16530
+ | 'sp_adjustment_transactions_total'
16531
+ | 'sp_billable_label_transactions_count'
16532
+ | 'sp_billable_label_transactions_count_for_unique_orders'
16533
+ | 'sp_billable_label_transactions_total'
16534
+ | 'sp_capture_transactions_count'
16535
+ | 'sp_capture_transactions_total'
16536
+ | 'sp_carrier_charge_transactions_count'
16537
+ | 'sp_carrier_charge_transactions_total'
16538
+ | 'sp_channel_transactions_count'
16539
+ | 'sp_channel_transactions_total'
16540
+ | 'sp_duty_transactions_count'
16541
+ | 'sp_duty_transactions_total'
16542
+ | 'sp_manual_transactions_count'
16543
+ | 'sp_manual_transactions_total'
16544
+ | 'sp_refund_transactions_count'
16545
+ | 'sp_refund_transactions_total'
16546
+ | 'sp_reversal_transactions_count'
16547
+ | 'sp_reversal_transactions_total'
16548
+ | 'sp_revenue_share_label_transactions_count'
16549
+ | 'sp_revenue_share_label_transactions_count_for_unique_orders'
16550
+ | 'sp_revenue_share_label_transactions_total'
16551
+ | 'sp_tax_transactions_count'
16552
+ | 'sp_tax_transactions_total'
16553
+ | 'sp_transfer_transactions_count'
16554
+ | 'sp_transfer_transactions_total'
16555
+ | 'sp_trueup_transactions_count'
16556
+ | 'sp_trueup_transactions_total';
16428
16557
  type BillingStatementAttachmentKey =
16429
16558
  | 'invoice'
16430
16559
  | 'statement'
@@ -16583,6 +16712,7 @@ declare namespace io.flow.internal.v0.enums {
16583
16712
  type ClassificationDecision = 'Accept' | 'Reject';
16584
16713
  type ClassificationErrorCode = 'generic_error';
16585
16714
  type ClassificationPlatform = 'GlobalE' | 'Flow' | 'Borderfree';
16715
+ type ClassificationScope = 'Item' | 'Product';
16586
16716
  type ClassificationType = 'None' | 'Manual' | 'ML' | 'System';
16587
16717
  type ClothingAgeClassification =
16588
16718
  | 'None'
@@ -16939,6 +17069,8 @@ declare namespace io.flow.internal.v0.enums {
16939
17069
  | 'restriction_rule_deleted'
16940
17070
  | 'restriction_rule_effect_upserted'
16941
17071
  | 'restriction_rule_effect_deleted'
17072
+ | 'taxonomy_category_hs6_ref_upserted'
17073
+ | 'taxonomy_category_hs6_ref_deleted'
16942
17074
  | 'shopify_shop_upserted'
16943
17075
  | 'shopify_shop_deleted'
16944
17076
  | 'shopify_experience_short_id_upserted'
@@ -16966,6 +17098,8 @@ declare namespace io.flow.internal.v0.enums {
16966
17098
  | 'shopify_markets_best_selling_product_deleted'
16967
17099
  | 'shopify_order_risk_assessment_upserted'
16968
17100
  | 'shopify_order_risk_assessment_deleted'
17101
+ | 'shopify_order_transaction_upserted'
17102
+ | 'shopify_order_transaction_deleted'
16969
17103
  | 'shopify_product_create_upserted'
16970
17104
  | 'shopify_product_create_deleted'
16971
17105
  | 'shopify_product_update_upserted'
@@ -17063,6 +17197,7 @@ declare namespace io.flow.internal.v0.enums {
17063
17197
  | 'shopify_webhook';
17064
17198
  type HarmonizationDecisionSource =
17065
17199
  | 'human'
17200
+ | 'system'
17066
17201
  | 'legacy_model'
17067
17202
  | 'enterprise_model'
17068
17203
  | 'merchant';
@@ -17144,7 +17279,11 @@ declare namespace io.flow.internal.v0.enums {
17144
17279
  | 'global_e_united_kingdom'
17145
17280
  | 'global_e_canada'
17146
17281
  | 'global_e_netherlands';
17147
- type MerchantOverrideStatus = 'in_review' | 'accepted' | 'rejected';
17282
+ type MerchantOverrideStatus =
17283
+ | 'pending'
17284
+ | 'in_review'
17285
+ | 'accepted'
17286
+ | 'rejected';
17148
17287
  type MixedBagWeight = '0' | '1' | '2';
17149
17288
  type NatureOfSale =
17150
17289
  | 'consumer'
@@ -17222,6 +17361,7 @@ declare namespace io.flow.internal.v0.enums {
17222
17361
  | 'last_shipment'
17223
17362
  | 'shipment_exhausted';
17224
17363
  type OrderLifecycleEvent = 'order_placed' | 'ready_to_fulfill';
17364
+ type OrderPaymentSourceType = 'globale' | 'third_party';
17225
17365
  type OrderTransactionType = 'adjustment' | 'reversal' | 'order_service';
17226
17366
  type OrderValidationStatus =
17227
17367
  | 'success'
@@ -19359,7 +19499,7 @@ declare namespace io.flow.internal.v0.models {
19359
19499
  readonly order_created_at?: string;
19360
19500
  readonly order_updated_at?: string;
19361
19501
  readonly order_edit_summary?: io.flow.internal.v0.models.OrderEditSummary;
19362
- readonly payment_source?: io.flow.experience.v0.enums.OrderPaymentSourceType;
19502
+ readonly payment_source?: io.flow.internal.v0.enums.OrderPaymentSourceType;
19363
19503
  }
19364
19504
 
19365
19505
  interface ChannelOrderAcceptanceDeleted {
@@ -20369,6 +20509,7 @@ declare namespace io.flow.internal.v0.models {
20369
20509
  readonly total: io.flow.common.v0.models.MoneyWithBase;
20370
20510
  readonly identifiers?: Record<string, string>;
20371
20511
  readonly submitted_at?: string;
20512
+ readonly payment_source?: io.flow.experience.v0.enums.OrderPaymentSourceType;
20372
20513
  }
20373
20514
 
20374
20515
  interface DebugOrderTransaction {
@@ -21100,6 +21241,12 @@ declare namespace io.flow.internal.v0.models {
21100
21241
  readonly processed_at?: string;
21101
21242
  }
21102
21243
 
21244
+ interface EvaluationResults {
21245
+ readonly chapter_result: any /*object*/;
21246
+ readonly sellability_result: any /*object*/;
21247
+ readonly duty_variance_result: any /*object*/;
21248
+ }
21249
+
21103
21250
  interface ExclusionRuleDeleted {
21104
21251
  readonly discriminator: 'exclusion_rule_deleted';
21105
21252
  readonly event_id: string;
@@ -21369,6 +21516,13 @@ declare namespace io.flow.internal.v0.models {
21369
21516
  readonly meter_number: string;
21370
21517
  }
21371
21518
 
21519
+ interface FedexApi {
21520
+ readonly discriminator: 'fedex_api';
21521
+ readonly client_id: string;
21522
+ readonly client_secret: string;
21523
+ readonly account_number: string;
21524
+ }
21525
+
21372
21526
  interface FedexCrossborder {
21373
21527
  readonly discriminator: 'fedex_crossborder';
21374
21528
  readonly api_key: string;
@@ -21388,6 +21542,7 @@ declare namespace io.flow.internal.v0.models {
21388
21542
  readonly duty_guarantee?: io.flow.internal.v0.models.Fee;
21389
21543
  readonly transfer?: io.flow.internal.v0.models.Fee;
21390
21544
  readonly negative_balance?: io.flow.internal.v0.models.Fee;
21545
+ readonly sp?: io.flow.internal.v0.models.Fee;
21391
21546
  }
21392
21547
 
21393
21548
  interface FinanceBankAccount {
@@ -22737,6 +22892,7 @@ declare namespace io.flow.internal.v0.models {
22737
22892
  io.flow.internal.v0.models.TariffCodeDuty
22738
22893
  >;
22739
22894
  readonly decision_source?: io.flow.internal.v0.enums.HarmonizationDecisionSource;
22895
+ readonly classification_scope?: io.flow.internal.v0.enums.ClassificationScope;
22740
22896
  readonly created_at?: string;
22741
22897
  readonly updated_at?: string;
22742
22898
  readonly updated_by_user_id?: string;
@@ -23710,6 +23866,7 @@ declare namespace io.flow.internal.v0.models {
23710
23866
  readonly status: io.flow.internal.v0.enums.MerchantOverrideStatus;
23711
23867
  readonly hs6_code: string;
23712
23868
  readonly merchant_hs6_code: string;
23869
+ readonly evaluation_results?: io.flow.internal.v0.models.EvaluationResults;
23713
23870
  readonly created_at: string;
23714
23871
  readonly updated_at: string;
23715
23872
  readonly updated_by_user_id: string;
@@ -24507,6 +24664,7 @@ declare namespace io.flow.internal.v0.models {
24507
24664
  readonly organization_id: string;
24508
24665
  readonly pending_restriction_count: number;
24509
24666
  readonly pending_verification_count: number;
24667
+ readonly pending_classification_count?: number;
24510
24668
  readonly oldest_pending_restriction_date?: string;
24511
24669
  readonly oldest_pending_verification_date?: string;
24512
24670
  readonly product_count: number;
@@ -25645,6 +25803,7 @@ declare namespace io.flow.internal.v0.models {
25645
25803
  readonly review_status: io.flow.internal.v0.enums.RestrictionStateReviewStatus;
25646
25804
  readonly pending_restriction_count?: number;
25647
25805
  readonly pending_verification_count?: number;
25806
+ readonly pending_classification_count?: number;
25648
25807
  readonly oldest_pending_restriction_date?: string;
25649
25808
  readonly oldest_pending_verification_date?: string;
25650
25809
  }
@@ -25679,12 +25838,22 @@ declare namespace io.flow.internal.v0.models {
25679
25838
  readonly reviews: io.flow.internal.v0.models.RestrictionHistoryItemReviewDecision[];
25680
25839
  }
25681
25840
 
25841
+ interface ProductSellabilityInternal {
25842
+ readonly shop_id: string;
25843
+ readonly product_id?: string;
25844
+ readonly request_id: string;
25845
+ readonly hs6_code: string;
25846
+ readonly restricted_regions: io.flow.sellability.v0.models.SellablilityRegionResult[];
25847
+ readonly rule_ids: string[];
25848
+ }
25849
+
25682
25850
  interface ProductSellabilityResult {
25683
25851
  readonly shop_id: string;
25684
25852
  readonly product_number: string;
25685
25853
  readonly request_id: string;
25686
25854
  readonly hs6_code: string;
25687
25855
  readonly restricted_regions: string[];
25856
+ readonly rule_ids?: string[];
25688
25857
  }
25689
25858
 
25690
25859
  interface ProductTransaction {
@@ -26235,6 +26404,7 @@ declare namespace io.flow.internal.v0.models {
26235
26404
 
26236
26405
  interface ReportFilter {
26237
26406
  readonly source_type?: io.flow.internal.v0.enums.SourceTypeFilter;
26407
+ readonly order_payment_source?: io.flow.experience.v0.enums.OrderPaymentSourceType;
26238
26408
  }
26239
26409
 
26240
26410
  interface ReportForm {
@@ -26452,7 +26622,7 @@ declare namespace io.flow.internal.v0.models {
26452
26622
  readonly id: string;
26453
26623
  readonly number: string;
26454
26624
  readonly submitted_at: string;
26455
- readonly payment_source?: string;
26625
+ readonly payment_source?: io.flow.experience.v0.enums.OrderPaymentSourceType;
26456
26626
  }
26457
26627
 
26458
26628
  interface ReportingOrganizationSummary {
@@ -26563,6 +26733,7 @@ declare namespace io.flow.internal.v0.models {
26563
26733
  readonly name: string;
26564
26734
  readonly price: io.flow.common.v0.models.Price;
26565
26735
  readonly hs_code?: string;
26736
+ readonly hs_code_source?: io.flow.internal.v0.enums.HarmonizationDecisionSource;
26566
26737
  readonly description: string;
26567
26738
  readonly category?: string;
26568
26739
  readonly categories: string[];
@@ -26580,6 +26751,7 @@ declare namespace io.flow.internal.v0.models {
26580
26751
  readonly rule_ids?: string[];
26581
26752
  readonly user_ids?: string[];
26582
26753
  readonly categories?: string[];
26754
+ readonly category?: string;
26583
26755
  readonly product_name_query?: string;
26584
26756
  readonly hs6?: string;
26585
26757
  readonly positive_keywords?: string[];
@@ -26688,6 +26860,7 @@ declare namespace io.flow.internal.v0.models {
26688
26860
  readonly images: io.flow.catalog.v0.models.Image[];
26689
26861
  readonly thumbnails: io.flow.catalog.v0.models.Image[];
26690
26862
  readonly hs_code?: string;
26863
+ readonly hs_code_source?: io.flow.internal.v0.enums.HarmonizationDecisionSource;
26691
26864
  readonly url?: string;
26692
26865
  readonly reviews: io.flow.internal.v0.models.RestrictionItemReview[];
26693
26866
  readonly created_at: string;
@@ -26705,6 +26878,7 @@ declare namespace io.flow.internal.v0.models {
26705
26878
  readonly negative_keywords?: string[];
26706
26879
  readonly user_ids?: string[];
26707
26880
  readonly categories?: string[];
26881
+ readonly category?: string;
26708
26882
  readonly product_name_query?: string;
26709
26883
  readonly hs6?: string;
26710
26884
  readonly product_id?: string;
@@ -26781,7 +26955,7 @@ declare namespace io.flow.internal.v0.models {
26781
26955
  readonly negative_keywords: string[];
26782
26956
  readonly value_threshold_usd?: number;
26783
26957
  readonly auto_review_criteria?: io.flow.internal.v0.models.AutoReviewCriteria[];
26784
- readonly source?: io.flow.internal.v0.enums.RestrictionOrganizationSource;
26958
+ readonly source: io.flow.internal.v0.enums.RestrictionOrganizationSource;
26785
26959
  readonly sellability_positive_keywords?: string[];
26786
26960
  }
26787
26961
 
@@ -26793,6 +26967,17 @@ declare namespace io.flow.internal.v0.models {
26793
26967
  readonly destination_countries: string[];
26794
26968
  }
26795
26969
 
26970
+ interface RestrictionRuleOrganizationExemption {
26971
+ readonly id: string;
26972
+ readonly organization_id: string;
26973
+ readonly rule_id: string;
26974
+ readonly description: string;
26975
+ readonly is_rule_exempt: boolean;
26976
+ readonly exempt_countries?: string[];
26977
+ readonly ignored_keywords?: string[];
26978
+ readonly additional_keywords?: string[];
26979
+ }
26980
+
26796
26981
  interface RestrictionRuleOverride {
26797
26982
  readonly id: string;
26798
26983
  readonly organization_id: string;
@@ -26816,6 +27001,7 @@ declare namespace io.flow.internal.v0.models {
26816
27001
  interface RestrictionSummaryCounts {
26817
27002
  readonly pending_restriction_count: number;
26818
27003
  readonly pending_verification_count: number;
27004
+ readonly pending_classification_count: number;
26819
27005
  }
26820
27006
 
26821
27007
  interface RestrictionsDailyops {
@@ -26846,6 +27032,16 @@ declare namespace io.flow.internal.v0.models {
26846
27032
  readonly oldest_insufficient_details_pv_onboarding?: string;
26847
27033
  readonly oldest_insufficient_details_pv_active?: string;
26848
27034
  readonly oldest_insufficient_details_pv_transacting?: string;
27035
+ readonly num_products_with_fs_result?: number;
27036
+ readonly num_products_sellable_somewhere_by_fs?: number;
27037
+ readonly num_products_restricted_somewhere_by_fs?: number;
27038
+ readonly num_products_with_false_allows_by_fs?: number;
27039
+ readonly num_products_with_false_restricts_by_fs?: number;
27040
+ readonly daily_num_products_with_fs_result?: number;
27041
+ readonly daily_num_products_sellable_somewhere_by_fs?: number;
27042
+ readonly daily_num_products_restricted_somewhere_by_fs?: number;
27043
+ readonly daily_num_products_with_false_allows_by_fs?: number;
27044
+ readonly daily_num_products_with_false_restricts_by_fs?: number;
26849
27045
  }
26850
27046
 
26851
27047
  interface RestrictionsDailyopsDeleted {
@@ -26881,16 +27077,6 @@ declare namespace io.flow.internal.v0.models {
26881
27077
  readonly destinations: io.flow.reference.v0.models.Country[];
26882
27078
  }
26883
27079
 
26884
- interface Retracking {
26885
- readonly carrier: string;
26886
- readonly tracking_number?: string;
26887
- }
26888
-
26889
- interface RetrackingForm {
26890
- readonly carrier: string;
26891
- readonly carrier_tracking_numbers: string[];
26892
- }
26893
-
26894
27080
  interface Return {
26895
27081
  readonly id: string;
26896
27082
  readonly order: io.flow.internal.v0.models.OrderSummary;
@@ -27532,6 +27718,7 @@ declare namespace io.flow.internal.v0.models {
27532
27718
  readonly api_password?: string;
27533
27719
  readonly access_token?: string;
27534
27720
  readonly shopify_plan_name?: io.flow.shopify.external.v0.enums.ShopifyPlanName;
27721
+ readonly catalog_publication_owner?: io.flow.internal.v0.enums.CatalogPublicationOwner;
27535
27722
  }
27536
27723
 
27537
27724
  interface ShopifyMarketsShopStatisticsDeleted {
@@ -27790,6 +27977,27 @@ declare namespace io.flow.internal.v0.models {
27790
27977
  readonly assessment: io.flow.internal.v0.models.ShopifyOrderRiskAssessment;
27791
27978
  }
27792
27979
 
27980
+ interface ShopifyOrderTransaction {
27981
+ readonly id: string;
27982
+ readonly model: io.flow.shopify.markets.v0.models.ShopifyOrderTransaction;
27983
+ }
27984
+
27985
+ interface ShopifyOrderTransactionDeleted {
27986
+ readonly discriminator: 'shopify_order_transaction_deleted';
27987
+ readonly event_id: string;
27988
+ readonly timestamp: string;
27989
+ readonly organization: string;
27990
+ readonly id: string;
27991
+ }
27992
+
27993
+ interface ShopifyOrderTransactionUpserted {
27994
+ readonly discriminator: 'shopify_order_transaction_upserted';
27995
+ readonly event_id: string;
27996
+ readonly timestamp: string;
27997
+ readonly organization: string;
27998
+ readonly transaction: io.flow.internal.v0.models.ShopifyOrderTransaction;
27999
+ }
28000
+
27793
28001
  interface ShopifyOrganizationSettings {
27794
28002
  readonly id: string;
27795
28003
  readonly process_label: boolean;
@@ -28410,6 +28618,7 @@ declare namespace io.flow.internal.v0.models {
28410
28618
  readonly import_taxes?: number;
28411
28619
  readonly mor_fees?: number;
28412
28620
  readonly mor_foreign_exchange_fees?: number;
28621
+ readonly sp_processing_fees?: number;
28413
28622
  }
28414
28623
 
28415
28624
  interface StripeConnectReportRecordTransferMetadata {
@@ -28425,6 +28634,7 @@ declare namespace io.flow.internal.v0.models {
28425
28634
  readonly import_taxes?: number;
28426
28635
  readonly mor_fees?: number;
28427
28636
  readonly mor_foreign_exchange_fees?: number;
28637
+ readonly sp_processing_fees?: number;
28428
28638
  readonly merchant_account_currency?: string;
28429
28639
  readonly amount_in_merchant_account_currency?: number;
28430
28640
  readonly payout_exchange_rate?: number;
@@ -28738,6 +28948,11 @@ declare namespace io.flow.internal.v0.models {
28738
28948
  readonly category_code?: string;
28739
28949
  }
28740
28950
 
28951
+ interface TaxDutyReasonCodeMetadata {
28952
+ readonly discriminator: 'tax_duty_reason_code_metadata';
28953
+ readonly reason_code: io.flow.billing.v0.enums.TaxDutyTransactionReasonCode;
28954
+ }
28955
+
28741
28956
  interface TaxRemittanceTransaction {
28742
28957
  readonly discriminator: 'tax_remittance_transaction';
28743
28958
  readonly order: io.flow.internal.v0.models.BillingOrderSummary;
@@ -28801,6 +29016,27 @@ declare namespace io.flow.internal.v0.models {
28801
29016
  readonly children: io.flow.internal.v0.unions.ClassificationTaxonomy[];
28802
29017
  }
28803
29018
 
29019
+ interface TaxonomyCategoryHs6Ref {
29020
+ readonly id: string;
29021
+ readonly taxonomy_category: string;
29022
+ readonly hs6: string;
29023
+ readonly updated_by_user_id: string;
29024
+ }
29025
+
29026
+ interface TaxonomyCategoryHs6RefDeleted {
29027
+ readonly discriminator: 'taxonomy_category_hs6_ref_deleted';
29028
+ readonly event_id: string;
29029
+ readonly timestamp: string;
29030
+ readonly id: string;
29031
+ }
29032
+
29033
+ interface TaxonomyCategoryHs6RefUpserted {
29034
+ readonly discriminator: 'taxonomy_category_hs6_ref_upserted';
29035
+ readonly event_id: string;
29036
+ readonly timestamp: string;
29037
+ readonly taxonomy_category_hs6_ref: io.flow.internal.v0.models.TaxonomyCategoryHs6Ref;
29038
+ }
29039
+
28804
29040
  interface TaxonomyNode {
28805
29041
  readonly id: string;
28806
29042
  readonly children?: io.flow.internal.v0.models.TaxonomyNode[];
@@ -29110,10 +29346,6 @@ declare namespace io.flow.internal.v0.models {
29110
29346
  readonly tracking_events: io.flow.internal.v0.models.TrackingEvent[];
29111
29347
  }
29112
29348
 
29113
- interface TrackingResync {
29114
- readonly placeholder?: boolean;
29115
- }
29116
-
29117
29349
  interface TrackingSubscription {
29118
29350
  readonly id: string;
29119
29351
  readonly organization_id: string;
@@ -29446,6 +29678,7 @@ declare namespace io.flow.internal.v0.models {
29446
29678
  readonly additional_services_requested?: io.flow.label.v0.models.AdditionalServicesRequested[];
29447
29679
  readonly provided_charges?: io.flow.internal.v0.models.ChargeInput[];
29448
29680
  readonly direction?: io.flow.label.v0.enums.Direction;
29681
+ readonly package_dimensions_source: io.flow.label.v0.enums.PackageDimensionsSource;
29449
29682
  }
29450
29683
 
29451
29684
  interface ValidationCharacterLength {
@@ -29527,7 +29760,8 @@ declare namespace io.flow.internal.v0.unions {
29527
29760
  | io.flow.internal.v0.models.Dhl
29528
29761
  | io.flow.internal.v0.models.FedexCrossborder
29529
29762
  | io.flow.internal.v0.models.Ups
29530
- | io.flow.internal.v0.models.Fedex;
29763
+ | io.flow.internal.v0.models.Fedex
29764
+ | io.flow.internal.v0.models.FedexApi;
29531
29765
  type ChannelRateMetadata =
29532
29766
  | io.flow.internal.v0.models.ChannelRateMetadataIdentity
29533
29767
  | io.flow.internal.v0.models.ChannelRateMetadataRate;
@@ -29866,6 +30100,8 @@ declare namespace io.flow.internal.v0.unions {
29866
30100
  | io.flow.internal.v0.models.RestrictionRuleDeleted
29867
30101
  | io.flow.internal.v0.models.RestrictionRuleEffectUpserted
29868
30102
  | io.flow.internal.v0.models.RestrictionRuleEffectDeleted
30103
+ | io.flow.internal.v0.models.TaxonomyCategoryHs6RefUpserted
30104
+ | io.flow.internal.v0.models.TaxonomyCategoryHs6RefDeleted
29869
30105
  | io.flow.internal.v0.models.ShopifyShopUpserted
29870
30106
  | io.flow.internal.v0.models.ShopifyShopDeleted
29871
30107
  | io.flow.internal.v0.models.ShopifyExperienceShortIdUpserted
@@ -29893,6 +30129,8 @@ declare namespace io.flow.internal.v0.unions {
29893
30129
  | io.flow.internal.v0.models.ShopifyMarketsBestSellingProductDeleted
29894
30130
  | io.flow.internal.v0.models.ShopifyOrderRiskAssessmentUpserted
29895
30131
  | io.flow.internal.v0.models.ShopifyOrderRiskAssessmentDeleted
30132
+ | io.flow.internal.v0.models.ShopifyOrderTransactionUpserted
30133
+ | io.flow.internal.v0.models.ShopifyOrderTransactionDeleted
29896
30134
  | io.flow.internal.v0.models.ShopifyProductCreateUpserted
29897
30135
  | io.flow.internal.v0.models.ShopifyProductCreateDeleted
29898
30136
  | io.flow.internal.v0.models.ShopifyProductUpdateUpserted
@@ -30122,7 +30360,8 @@ declare namespace io.flow.internal.v0.unions {
30122
30360
  | io.flow.internal.v0.models.TaskImport;
30123
30361
  type TaskMetadata =
30124
30362
  | io.flow.internal.v0.models.StatementCreationMetadata
30125
- | io.flow.internal.v0.models.AccountingPendingOrderMetadata;
30363
+ | io.flow.internal.v0.models.AccountingPendingOrderMetadata
30364
+ | io.flow.internal.v0.models.TaxDutyReasonCodeMetadata;
30126
30365
  type TaxAmount =
30127
30366
  | io.flow.internal.v0.models.CalculatedTaxAmount
30128
30367
  | io.flow.internal.v0.models.NoCalculatedTaxAmount;
@@ -30806,6 +31045,7 @@ export type ClassificationRequeueRequest =
30806
31045
  io.flow.internal.v0.models.ClassificationRequeueRequest;
30807
31046
  export type ClassificationResponse =
30808
31047
  io.flow.internal.v0.unions.ClassificationResponse;
31048
+ export type ClassificationScope = io.flow.internal.v0.enums.ClassificationScope;
30809
31049
  export type ClassificationStatistics =
30810
31050
  io.flow.internal.v0.models.ClassificationStatistics;
30811
31051
  export type ClassificationSummaryReportPayload =
@@ -31102,6 +31342,7 @@ export type ErpVendorStatusFlowFile =
31102
31342
  io.flow.internal.v0.models.ErpVendorStatusFlowFile;
31103
31343
  export type ErpVendorStatusPriorityFile =
31104
31344
  io.flow.internal.v0.models.ErpVendorStatusPriorityFile;
31345
+ export type EvaluationResults = io.flow.internal.v0.models.EvaluationResults;
31105
31346
  export type Event = io.flow.internal.v0.unions.Event;
31106
31347
  export type EventType = io.flow.internal.v0.enums.EventType;
31107
31348
  export type ExclusionRuleDeleted =
@@ -31180,6 +31421,7 @@ export type FeatureValue = io.flow.internal.v0.unions.FeatureValue;
31180
31421
  export type FeatureValueForm = io.flow.internal.v0.models.FeatureValueForm;
31181
31422
  export type FeatureValueResult = io.flow.internal.v0.models.FeatureValueResult;
31182
31423
  export type Fedex = io.flow.internal.v0.models.Fedex;
31424
+ export type FedexApi = io.flow.internal.v0.models.FedexApi;
31183
31425
  export type FedexCrossborder = io.flow.internal.v0.models.FedexCrossborder;
31184
31426
  export type Fee = io.flow.internal.v0.models.Fee;
31185
31427
  export type Fees = io.flow.internal.v0.models.Fees;
@@ -31859,6 +32101,8 @@ export type OrderNote = io.flow.internal.v0.models.OrderNote;
31859
32101
  export type OrderNoteForm = io.flow.internal.v0.models.OrderNoteForm;
31860
32102
  export type OrderPaymentAuthorization =
31861
32103
  io.flow.internal.v0.models.OrderPaymentAuthorization;
32104
+ export type OrderPaymentSourceType =
32105
+ io.flow.internal.v0.enums.OrderPaymentSourceType;
31862
32106
  export type OrderRatesDataV3 = io.flow.internal.v0.models.OrderRatesDataV3;
31863
32107
  export type OrderRatesPublishedV3 =
31864
32108
  io.flow.internal.v0.models.OrderRatesPublishedV3;
@@ -32266,6 +32510,8 @@ export type ProductRestrictionStateUpdated =
32266
32510
  io.flow.internal.v0.models.ProductRestrictionStateUpdated;
32267
32511
  export type ProductReviewHistory =
32268
32512
  io.flow.internal.v0.models.ProductReviewHistory;
32513
+ export type ProductSellabilityInternal =
32514
+ io.flow.internal.v0.models.ProductSellabilityInternal;
32269
32515
  export type ProductSellabilityResult =
32270
32516
  io.flow.internal.v0.models.ProductSellabilityResult;
32271
32517
  export type ProductStatus = io.flow.internal.v0.enums.ProductStatus;
@@ -32545,6 +32791,8 @@ export type RestrictionRuleForm =
32545
32791
  io.flow.internal.v0.models.RestrictionRuleForm;
32546
32792
  export type RestrictionRuleLaneExemption =
32547
32793
  io.flow.internal.v0.models.RestrictionRuleLaneExemption;
32794
+ export type RestrictionRuleOrganizationExemption =
32795
+ io.flow.internal.v0.models.RestrictionRuleOrganizationExemption;
32548
32796
  export type RestrictionRuleOverride =
32549
32797
  io.flow.internal.v0.models.RestrictionRuleOverride;
32550
32798
  export type RestrictionRuleSummary =
@@ -32569,8 +32817,6 @@ export type ResyncByHs6Destinations =
32569
32817
  export type ResyncByHs6Origin = io.flow.internal.v0.models.ResyncByHs6Origin;
32570
32818
  export type ResyncFallbackRates =
32571
32819
  io.flow.internal.v0.models.ResyncFallbackRates;
32572
- export type Retracking = io.flow.internal.v0.models.Retracking;
32573
- export type RetrackingForm = io.flow.internal.v0.models.RetrackingForm;
32574
32820
  export type Return = io.flow.internal.v0.models.Return;
32575
32821
  export type ReturnPolicyDeleted =
32576
32822
  io.flow.internal.v0.models.ReturnPolicyDeleted;
@@ -32822,6 +33068,12 @@ export type ShopifyOrderRiskAssessmentDeleted =
32822
33068
  io.flow.internal.v0.models.ShopifyOrderRiskAssessmentDeleted;
32823
33069
  export type ShopifyOrderRiskAssessmentUpserted =
32824
33070
  io.flow.internal.v0.models.ShopifyOrderRiskAssessmentUpserted;
33071
+ export type ShopifyOrderTransaction =
33072
+ io.flow.internal.v0.models.ShopifyOrderTransaction;
33073
+ export type ShopifyOrderTransactionDeleted =
33074
+ io.flow.internal.v0.models.ShopifyOrderTransactionDeleted;
33075
+ export type ShopifyOrderTransactionUpserted =
33076
+ io.flow.internal.v0.models.ShopifyOrderTransactionUpserted;
32825
33077
  export type ShopifyOrganizationSettings =
32826
33078
  io.flow.internal.v0.models.ShopifyOrganizationSettings;
32827
33079
  export type ShopifyOrganizationSettingsForm =
@@ -33076,6 +33328,8 @@ export type TaxCalculationLineItem =
33076
33328
  io.flow.internal.v0.models.TaxCalculationLineItem;
33077
33329
  export type TaxCalculationLineItemForm =
33078
33330
  io.flow.internal.v0.models.TaxCalculationLineItemForm;
33331
+ export type TaxDutyReasonCodeMetadata =
33332
+ io.flow.internal.v0.models.TaxDutyReasonCodeMetadata;
33079
33333
  export type TaxParty = io.flow.internal.v0.enums.TaxParty;
33080
33334
  export type TaxRemittanceTransaction =
33081
33335
  io.flow.internal.v0.models.TaxRemittanceTransaction;
@@ -33090,6 +33344,12 @@ export type TaxTransactionType = io.flow.internal.v0.enums.TaxTransactionType;
33090
33344
  export type TaxTransactionUpserted =
33091
33345
  io.flow.internal.v0.models.TaxTransactionUpserted;
33092
33346
  export type TaxonomyCategory = io.flow.internal.v0.models.TaxonomyCategory;
33347
+ export type TaxonomyCategoryHs6Ref =
33348
+ io.flow.internal.v0.models.TaxonomyCategoryHs6Ref;
33349
+ export type TaxonomyCategoryHs6RefDeleted =
33350
+ io.flow.internal.v0.models.TaxonomyCategoryHs6RefDeleted;
33351
+ export type TaxonomyCategoryHs6RefUpserted =
33352
+ io.flow.internal.v0.models.TaxonomyCategoryHs6RefUpserted;
33093
33353
  export type TaxonomyNode = io.flow.internal.v0.models.TaxonomyNode;
33094
33354
  export type TechOnboardingDescription =
33095
33355
  io.flow.internal.v0.models.TechOnboardingDescription;
@@ -33169,7 +33429,6 @@ export type TrackingProcessingFailureClassification =
33169
33429
  io.flow.internal.v0.enums.TrackingProcessingFailureClassification;
33170
33430
  export type TrackingRequest = io.flow.internal.v0.models.TrackingRequest;
33171
33431
  export type TrackingResponse = io.flow.internal.v0.models.TrackingResponse;
33172
- export type TrackingResync = io.flow.internal.v0.models.TrackingResync;
33173
33432
  export type TrackingSubscription =
33174
33433
  io.flow.internal.v0.models.TrackingSubscription;
33175
33434
  export type TrackingSubscriptionDeleted =