@flowio/types 11.24.142 → 11.24.144

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.
@@ -6911,7 +6911,8 @@ declare namespace io.flow.shopify.markets.internal.v0.enums {
6911
6911
  | 'shopify_location'
6912
6912
  | 'shopify_order'
6913
6913
  | 'sync_product_catalog'
6914
- | 'shopify_webhook';
6914
+ | 'shopify_webhook'
6915
+ | 'guaranteed_shipping_state';
6915
6916
  type ProductStatus = 'active' | 'archived' | 'draft' | 'unlisted';
6916
6917
  type SellabilityStatus = 'complete' | 'incomplete';
6917
6918
  type ShopifyMarketsDangerousGoods =
@@ -7144,6 +7145,11 @@ declare namespace io.flow.shopify.markets.internal.v0.models {
7144
7145
  readonly fast_sellability_completed_at?: string;
7145
7146
  }
7146
7147
 
7148
+ interface ShopifyMarketsShopAccessToken {
7149
+ readonly myshopify_domain: string;
7150
+ readonly access_token: string;
7151
+ }
7152
+
7147
7153
  interface ShopifyMarketsShopForm {
7148
7154
  readonly shop: string;
7149
7155
  readonly domain: string;
@@ -10573,6 +10579,7 @@ declare namespace io.flow.channel.internal.v0.models {
10573
10579
  }
10574
10580
 
10575
10581
  interface ChannelOrderTaxAndDutyInclusivitySetting {
10582
+ readonly id: string;
10576
10583
  readonly organization: io.flow.common.v0.models.OrganizationReference;
10577
10584
  readonly order_number: string;
10578
10585
  readonly channel: io.flow.common.v0.models.ChannelReference;
@@ -15451,7 +15458,8 @@ declare namespace io.flow.billing.v0.enums {
15451
15458
  | 'b2b_fee_mor_tax'
15452
15459
  | 'b2b_fee_shipping_tax'
15453
15460
  | 'flat_rate_label'
15454
- | 'flat_rate_label_subsidy';
15461
+ | 'flat_rate_label_subsidy'
15462
+ | 'credit_refund';
15455
15463
  type TrueupSource =
15456
15464
  | 'flow'
15457
15465
  | 'channel'
@@ -17139,7 +17147,8 @@ declare namespace io.flow.internal.v0.enums {
17139
17147
  | 'b2b_fee_mor_tax'
17140
17148
  | 'b2b_fee_shipping_tax'
17141
17149
  | 'flat_rate_label'
17142
- | 'flat_rate_label_subsidy';
17150
+ | 'flat_rate_label_subsidy'
17151
+ | 'credit_refund';
17143
17152
  type BojanaItemType = 'physical' | 'digital';
17144
17153
  type CalculatorEngine =
17145
17154
  | 'dtce_with_deminimis'
@@ -17419,6 +17428,14 @@ declare namespace io.flow.internal.v0.enums {
17419
17428
  | 'duty_transaction_deleted'
17420
17429
  | 'transaction_statement_upserted'
17421
17430
  | 'transaction_statement_deleted'
17431
+ | 'bank_account_upserted'
17432
+ | 'bank_account_deleted'
17433
+ | 'posting_proof_upserted'
17434
+ | 'posting_proof_deleted'
17435
+ | 'bank_payment_promise_upserted'
17436
+ | 'bank_payment_promise_deleted'
17437
+ | 'account_payment_hold_upserted'
17438
+ | 'account_payment_hold_deleted'
17422
17439
  | 'daily_value_upserted'
17423
17440
  | 'daily_value_deleted'
17424
17441
  | 'revenue_record_upserted'
@@ -17465,8 +17482,6 @@ declare namespace io.flow.internal.v0.enums {
17465
17482
  | 'organization_currency_setting_deleted'
17466
17483
  | 'channel_currency_setting_upserted'
17467
17484
  | 'channel_currency_setting_deleted'
17468
- | 'customs_description_import'
17469
- | 'customs_description_tariffs_import'
17470
17485
  | 'dispute_upserted'
17471
17486
  | 'dispute_deleted'
17472
17487
  | 'duty_rates_published_v2'
@@ -17541,6 +17556,8 @@ declare namespace io.flow.internal.v0.enums {
17541
17556
  | 'guaranteed_shipping_calibrated_output_deleted'
17542
17557
  | 'outbound_shipping_cost_upserted'
17543
17558
  | 'outbound_shipping_cost_deleted'
17559
+ | 'average_order_value_upserted'
17560
+ | 'average_order_value_deleted'
17544
17561
  | 'guaranteed_shipping_published_output_upserted'
17545
17562
  | 'guaranteed_shipping_published_output_deleted'
17546
17563
  | 'guaranteed_shipping_settings_upserted'
@@ -17551,7 +17568,6 @@ declare namespace io.flow.internal.v0.enums {
17551
17568
  | 'harmonized_items_hs6_export'
17552
17569
  | 'unharmonized_items_export'
17553
17570
  | 'dutied_items_export'
17554
- | 'harmonization_phrase_suggestion_request_import'
17555
17571
  | 'harmonization_codes_import'
17556
17572
  | 'harmonize_fully_request_v2'
17557
17573
  | 'import_completed'
@@ -17768,6 +17784,8 @@ declare namespace io.flow.internal.v0.enums {
17768
17784
  | 'raveena_item_deleted'
17769
17785
  | 'mahesh_item_upserted'
17770
17786
  | 'mahesh_item_deleted'
17787
+ | 'john_strong_item_upserted'
17788
+ | 'john_strong_item_deleted'
17771
17789
  | 'tracking_processing_error_upserted'
17772
17790
  | 'tracking_processing_error_deleted'
17773
17791
  | 'tracking_label_event_upserted_v2'
@@ -17830,7 +17848,12 @@ declare namespace io.flow.internal.v0.enums {
17830
17848
  | 'shopify_location'
17831
17849
  | 'shopify_order'
17832
17850
  | 'sync_product_catalog'
17833
- | 'shopify_webhook';
17851
+ | 'shopify_webhook'
17852
+ | 'guaranteed_shipping_state';
17853
+ type GuaranteedShippingPublicationStatus =
17854
+ | 'published'
17855
+ | 'not_found'
17856
+ | 'superseded';
17834
17857
  type HarmonizationDecisionSource =
17835
17858
  | 'human'
17836
17859
  | 'system'
@@ -18079,7 +18102,8 @@ declare namespace io.flow.internal.v0.enums {
18079
18102
  | 'capture'
18080
18103
  | 'refund'
18081
18104
  | 'fully_subsidized_order'
18082
- | 'credit_payment';
18105
+ | 'credit_payment'
18106
+ | 'credit_refund';
18083
18107
  type Processor =
18084
18108
  | 'adyen'
18085
18109
  | 'afterpay'
@@ -18142,6 +18166,7 @@ declare namespace io.flow.internal.v0.enums {
18142
18166
  | 'periodic_reporting_to_tax_authority'
18143
18167
  | 'paid_at_border'
18144
18168
  | 'paid_on_delivery';
18169
+ type RequestedBankPaymentStatusCode = 'processed' | 'failed';
18145
18170
  type ResponsibleParty = 'flow' | 'organization';
18146
18171
  type RestrictionAction = 'prohibited' | 'restricted';
18147
18172
  type RestrictionAttributeConditionMultipleOperator = 'in' | 'not_in';
@@ -18193,6 +18218,18 @@ declare namespace io.flow.internal.v0.enums {
18193
18218
  | 'similar'
18194
18219
  | 'regions_differ'
18195
18220
  | 'rules_differ';
18221
+ type SellabilityDecisionSource =
18222
+ | 'fast_screen_sellable'
18223
+ | 'fast_screen_restricted_everywhere'
18224
+ | 'fast_screen_hs_chapter_exception'
18225
+ | 'fast_screen_active_mode'
18226
+ | 'unserviceable_taxonomy'
18227
+ | 'pending_classification'
18228
+ | 'pending_agent_review'
18229
+ | 'screen_failed'
18230
+ | 'classification'
18231
+ | 'agent_review'
18232
+ | 'staging_dropped';
18196
18233
  type SellabilityInternalMatchType = 'positive_keyword' | 'auto_restricted';
18197
18234
  type SellabilityStatus = 'complete' | 'incomplete';
18198
18235
  type ShopifyCallbackErrorCode =
@@ -18491,11 +18528,25 @@ declare namespace io.flow.internal.v0.models {
18491
18528
  readonly reason: io.flow.internal.v0.enums.AccountPaymentHoldReason;
18492
18529
  }
18493
18530
 
18531
+ interface AccountPaymentHoldDeleted {
18532
+ readonly discriminator: 'account_payment_hold_deleted';
18533
+ readonly event_id: string;
18534
+ readonly timestamp: string;
18535
+ readonly id: string;
18536
+ }
18537
+
18494
18538
  interface AccountPaymentHoldForm {
18495
18539
  readonly account_id: string;
18496
18540
  readonly reason: io.flow.internal.v0.enums.AccountPaymentHoldReason;
18497
18541
  }
18498
18542
 
18543
+ interface AccountPaymentHoldUpserted {
18544
+ readonly discriminator: 'account_payment_hold_upserted';
18545
+ readonly event_id: string;
18546
+ readonly timestamp: string;
18547
+ readonly account_payment_hold: io.flow.internal.v0.models.AccountPaymentHold;
18548
+ }
18549
+
18499
18550
  interface AccountProcessingRateForm {
18500
18551
  readonly query: string;
18501
18552
  readonly capture: number;
@@ -19127,6 +19178,15 @@ declare namespace io.flow.internal.v0.models {
19127
19178
  readonly placeholder?: boolean;
19128
19179
  }
19129
19180
 
19181
+ interface AgentReviewDetail {
19182
+ readonly decision_id: string;
19183
+ readonly ai_model: string;
19184
+ readonly ai_decision: string;
19185
+ readonly ai_confidence: number;
19186
+ readonly ai_reasoning: string;
19187
+ readonly reviewed_at: string;
19188
+ }
19189
+
19130
19190
  interface AiReviewBatchSubmitted {
19131
19191
  readonly discriminator: 'ai_review_batch_submitted';
19132
19192
  readonly event_id: string;
@@ -19313,6 +19373,34 @@ declare namespace io.flow.internal.v0.models {
19313
19373
  readonly action?: io.flow.internal.v0.enums.RestrictionStatus;
19314
19374
  }
19315
19375
 
19376
+ interface AverageOrderValue {
19377
+ readonly id: string;
19378
+ readonly channel_id: string;
19379
+ readonly organization_id: string;
19380
+ readonly amount: io.flow.common.v0.models.Money;
19381
+ readonly updated_at: number;
19382
+ readonly run_id: string;
19383
+ readonly model_version: string;
19384
+ }
19385
+
19386
+ interface AverageOrderValueDeleted {
19387
+ readonly discriminator: 'average_order_value_deleted';
19388
+ readonly event_id: string;
19389
+ readonly timestamp: string;
19390
+ readonly organization: string;
19391
+ readonly channel_id: string;
19392
+ readonly id: string;
19393
+ }
19394
+
19395
+ interface AverageOrderValueUpserted {
19396
+ readonly discriminator: 'average_order_value_upserted';
19397
+ readonly event_id: string;
19398
+ readonly timestamp: string;
19399
+ readonly organization: string;
19400
+ readonly channel_id: string;
19401
+ readonly average_order_value: io.flow.internal.v0.models.AverageOrderValue;
19402
+ }
19403
+
19316
19404
  interface B2BFeeMorTaxTriggerMetadata {
19317
19405
  readonly discriminator: 'b2b_fee_mor_tax_trigger_metadata';
19318
19406
  readonly trigger_type: io.flow.internal.v0.enums.B2BFeeMorTaxTriggerType;
@@ -19419,10 +19507,33 @@ declare namespace io.flow.internal.v0.models {
19419
19507
  readonly last4: string;
19420
19508
  }
19421
19509
 
19510
+ interface BankAccountDeleted {
19511
+ readonly discriminator: 'bank_account_deleted';
19512
+ readonly event_id: string;
19513
+ readonly timestamp: string;
19514
+ readonly id: string;
19515
+ }
19516
+
19422
19517
  interface BankAccountReference {
19423
19518
  readonly id: string;
19424
19519
  }
19425
19520
 
19521
+ interface BankAccountSnapshot {
19522
+ readonly id: string;
19523
+ readonly source_id: string;
19524
+ readonly source_type: string;
19525
+ readonly key: string;
19526
+ readonly created_at: string;
19527
+ readonly updated_at: string;
19528
+ }
19529
+
19530
+ interface BankAccountUpserted {
19531
+ readonly discriminator: 'bank_account_upserted';
19532
+ readonly event_id: string;
19533
+ readonly timestamp: string;
19534
+ readonly bank_account: io.flow.internal.v0.models.BankAccountSnapshot;
19535
+ }
19536
+
19426
19537
  interface BankPayment {
19427
19538
  readonly id: string;
19428
19539
  readonly key: string;
@@ -19494,6 +19605,29 @@ declare namespace io.flow.internal.v0.models {
19494
19605
  readonly bank_payment_order: io.flow.internal.v0.models.BankPaymentOrder;
19495
19606
  }
19496
19607
 
19608
+ interface BankPaymentPromise {
19609
+ readonly id: string;
19610
+ readonly account_id: string;
19611
+ readonly statement_id: string;
19612
+ readonly transfer_transaction_id: string;
19613
+ readonly completed_at?: string;
19614
+ readonly created_at: string;
19615
+ }
19616
+
19617
+ interface BankPaymentPromiseDeleted {
19618
+ readonly discriminator: 'bank_payment_promise_deleted';
19619
+ readonly event_id: string;
19620
+ readonly timestamp: string;
19621
+ readonly id: string;
19622
+ }
19623
+
19624
+ interface BankPaymentPromiseUpserted {
19625
+ readonly discriminator: 'bank_payment_promise_upserted';
19626
+ readonly event_id: string;
19627
+ readonly timestamp: string;
19628
+ readonly bank_payment_promise: io.flow.internal.v0.models.BankPaymentPromise;
19629
+ }
19630
+
19497
19631
  interface BankPaymentReference {
19498
19632
  readonly id: string;
19499
19633
  }
@@ -19521,7 +19655,13 @@ declare namespace io.flow.internal.v0.models {
19521
19655
  }
19522
19656
 
19523
19657
  interface BankPaymentStatusProcessedImportForm {
19524
- readonly payment_ids: string[];
19658
+ readonly forms: io.flow.internal.v0.models.BankPaymentStatusProcessedSingleForm[];
19659
+ }
19660
+
19661
+ interface BankPaymentStatusProcessedSingleForm {
19662
+ readonly payment_id: string;
19663
+ readonly code: io.flow.internal.v0.enums.RequestedBankPaymentStatusCode;
19664
+ readonly failure_reason?: io.flow.billing.v0.enums.PayoutStatusFailureCode;
19525
19665
  }
19526
19666
 
19527
19667
  interface BankPaymentStatusSentImportForm {
@@ -20134,6 +20274,13 @@ declare namespace io.flow.internal.v0.models {
20134
20274
  readonly document_content: io.flow.internal.v0.unions.CarrierDocumentContent;
20135
20275
  }
20136
20276
 
20277
+ interface CarrierEstimate {
20278
+ readonly carrier_service_id: string;
20279
+ readonly cost: io.flow.common.v0.models.Money;
20280
+ readonly min_delivery_days?: number;
20281
+ readonly max_delivery_days?: number;
20282
+ }
20283
+
20137
20284
  interface CarrierFile {
20138
20285
  readonly id: string;
20139
20286
  readonly type: io.flow.internal.v0.enums.CarrierFileType;
@@ -20571,6 +20718,7 @@ declare namespace io.flow.internal.v0.models {
20571
20718
  }
20572
20719
 
20573
20720
  interface ChannelOrderTaxAndDutyInclusivitySetting {
20721
+ readonly id: string;
20574
20722
  readonly organization: io.flow.common.v0.models.OrganizationReference;
20575
20723
  readonly order_number: string;
20576
20724
  readonly channel: io.flow.common.v0.models.ChannelReference;
@@ -21417,16 +21565,6 @@ declare namespace io.flow.internal.v0.models {
21417
21565
  readonly updated_by_user_id: string;
21418
21566
  }
21419
21567
 
21420
- interface CustomsDescriptionImport {
21421
- readonly discriminator: 'customs_description_import';
21422
- readonly event_id: string;
21423
- readonly timestamp: string;
21424
- readonly organization: string;
21425
- readonly import_id: string;
21426
- readonly source_url: string;
21427
- readonly filename?: string;
21428
- }
21429
-
21430
21568
  interface CustomsDescriptionStatistics {
21431
21569
  readonly message: string;
21432
21570
  readonly default_customs_description_total: number;
@@ -21464,16 +21602,6 @@ declare namespace io.flow.internal.v0.models {
21464
21602
  >;
21465
21603
  }
21466
21604
 
21467
- interface CustomsDescriptionTariffsImport {
21468
- readonly discriminator: 'customs_description_tariffs_import';
21469
- readonly event_id: string;
21470
- readonly timestamp: string;
21471
- readonly organization: string;
21472
- readonly import_id: string;
21473
- readonly source_url: string;
21474
- readonly filename?: string;
21475
- }
21476
-
21477
21605
  interface CustomsDetails {
21478
21606
  readonly tariff_eligibility_data: io.flow.internal.v0.unions.TariffEligibilityData[];
21479
21607
  readonly compliance_data: io.flow.internal.v0.unions.ComplianceData[];
@@ -23593,6 +23721,25 @@ declare namespace io.flow.internal.v0.models {
23593
23721
  readonly destination_country?: string;
23594
23722
  }
23595
23723
 
23724
+ interface GuaranteedShippingPublication {
23725
+ readonly channel_id: string;
23726
+ readonly organization_id: string;
23727
+ readonly destination_country: string;
23728
+ readonly inputs_updated_at: string;
23729
+ readonly status: io.flow.internal.v0.enums.GuaranteedShippingPublicationStatus;
23730
+ }
23731
+
23732
+ interface GuaranteedShippingPublicationForm {
23733
+ readonly lanes: io.flow.internal.v0.models.GuaranteedShippingPublicationLaneForm[];
23734
+ }
23735
+
23736
+ interface GuaranteedShippingPublicationLaneForm {
23737
+ readonly channel_id: string;
23738
+ readonly organization_id: string;
23739
+ readonly destination_country: string;
23740
+ readonly inputs_updated_at: string;
23741
+ }
23742
+
23596
23743
  interface GuaranteedShippingPublishedOutput {
23597
23744
  readonly id: string;
23598
23745
  readonly organization_id: string;
@@ -23600,7 +23747,11 @@ declare namespace io.flow.internal.v0.models {
23600
23747
  readonly destination_country: string;
23601
23748
  readonly coefficient: number;
23602
23749
  readonly flat_rates: io.flow.internal.v0.models.FlatRate[];
23603
- readonly inputs_updated_at: number;
23750
+ readonly coefficients_source_updated_at: number;
23751
+ readonly outbound_shipping_cost_source_updated_at: number;
23752
+ readonly average_order_value_source_updated_at: number;
23753
+ readonly target_flat_rates_source_updated_at: number;
23754
+ readonly published_at?: number;
23604
23755
  }
23605
23756
 
23606
23757
  interface GuaranteedShippingPublishedOutputDeleted {
@@ -23739,16 +23890,6 @@ declare namespace io.flow.internal.v0.models {
23739
23890
  readonly score?: number;
23740
23891
  }
23741
23892
 
23742
- interface HarmonizationPhraseSuggestionRequestImport {
23743
- readonly discriminator: 'harmonization_phrase_suggestion_request_import';
23744
- readonly event_id: string;
23745
- readonly timestamp: string;
23746
- readonly organization: string;
23747
- readonly import_id: string;
23748
- readonly source_url: string;
23749
- readonly filename?: string;
23750
- }
23751
-
23752
23893
  interface HarmonizationThreshold {
23753
23894
  readonly id: string;
23754
23895
  readonly chapter: number;
@@ -24362,6 +24503,13 @@ declare namespace io.flow.internal.v0.models {
24362
24503
  readonly added_on: string;
24363
24504
  }
24364
24505
 
24506
+ interface JohnStrongItemDeleted {
24507
+ readonly discriminator: 'john_strong_item_deleted';
24508
+ readonly event_id: string;
24509
+ readonly timestamp: string;
24510
+ readonly id: string;
24511
+ }
24512
+
24365
24513
  interface JohnStrongItemForm {
24366
24514
  readonly number: string;
24367
24515
  readonly amount: io.flow.common.v0.models.Price;
@@ -24370,6 +24518,13 @@ declare namespace io.flow.internal.v0.models {
24370
24518
  readonly added_on: string;
24371
24519
  }
24372
24520
 
24521
+ interface JohnStrongItemUpserted {
24522
+ readonly discriminator: 'john_strong_item_upserted';
24523
+ readonly event_id: string;
24524
+ readonly timestamp: string;
24525
+ readonly item: io.flow.internal.v0.models.JohnStrongItem;
24526
+ }
24527
+
24373
24528
  interface Journal {
24374
24529
  readonly name: string;
24375
24530
  readonly queued: number;
@@ -26317,8 +26472,7 @@ declare namespace io.flow.internal.v0.models {
26317
26472
  readonly channel_id: string;
26318
26473
  readonly organization_id: string;
26319
26474
  readonly destination_country: string;
26320
- readonly carrier_service_id: string;
26321
- readonly cost: io.flow.common.v0.models.Money;
26475
+ readonly carrier_estimates: io.flow.internal.v0.models.CarrierEstimate[];
26322
26476
  readonly updated_at: number;
26323
26477
  readonly run_id: string;
26324
26478
  readonly model_version: string;
@@ -26881,18 +27035,6 @@ declare namespace io.flow.internal.v0.models {
26881
27035
  readonly posting_cutoff: string;
26882
27036
  }
26883
27037
 
26884
- interface PhraseClassified {
26885
- readonly event_id: string;
26886
- readonly timestamp: string;
26887
- readonly phrase_id: string;
26888
- }
26889
-
26890
- interface PhrasePropagated {
26891
- readonly event_id: string;
26892
- readonly timestamp: string;
26893
- readonly phrase_id: string;
26894
- }
26895
-
26896
27038
  interface PlatformFeeChange {
26897
27039
  readonly organization_id: string;
26898
27040
  readonly key: string;
@@ -26948,6 +27090,30 @@ declare namespace io.flow.internal.v0.models {
26948
27090
  readonly rate: number;
26949
27091
  }
26950
27092
 
27093
+ interface PostingProof {
27094
+ readonly id: string;
27095
+ readonly organization_id: string;
27096
+ readonly order_number: string;
27097
+ readonly sequence_number: number;
27098
+ readonly proof_key: string;
27099
+ readonly proof_discriminator: string;
27100
+ readonly created_at: string;
27101
+ }
27102
+
27103
+ interface PostingProofDeleted {
27104
+ readonly discriminator: 'posting_proof_deleted';
27105
+ readonly event_id: string;
27106
+ readonly timestamp: string;
27107
+ readonly id: string;
27108
+ }
27109
+
27110
+ interface PostingProofUpserted {
27111
+ readonly discriminator: 'posting_proof_upserted';
27112
+ readonly event_id: string;
27113
+ readonly timestamp: string;
27114
+ readonly posting_proof: io.flow.internal.v0.models.PostingProof;
27115
+ }
27116
+
26951
27117
  interface Prediction {
26952
27118
  readonly main_material: string;
26953
27119
  readonly gender: string;
@@ -27047,6 +27213,8 @@ declare namespace io.flow.internal.v0.models {
27047
27213
  readonly effective_taxonomy_category?: io.flow.product.v0.models.ProductTaxonomyCategory;
27048
27214
  readonly fingerprint: string;
27049
27215
  readonly screening_mode?: io.flow.sellability.v0.enums.SellabilityScreeningMode;
27216
+ readonly decision_source?: io.flow.internal.v0.enums.SellabilityDecisionSource;
27217
+ readonly rule_matches?: io.flow.internal.v0.models.SellabilityRuleMatch[];
27050
27218
  readonly created_at?: string;
27051
27219
  }
27052
27220
 
@@ -28352,6 +28520,10 @@ declare namespace io.flow.internal.v0.models {
28352
28520
  readonly created_at: string;
28353
28521
  readonly updated_at: string;
28354
28522
  readonly updated_by?: io.flow.common.v0.models.User;
28523
+ readonly agent_review_status?: string;
28524
+ readonly agent_reviewed_at?: string;
28525
+ readonly agent_confidence?: number;
28526
+ readonly agent_confidence_threshold?: number;
28355
28527
  }
28356
28528
 
28357
28529
  interface RestrictionItem {
@@ -28391,6 +28563,7 @@ declare namespace io.flow.internal.v0.models {
28391
28563
  readonly positive_keywords?: string[];
28392
28564
  readonly negative_keywords?: string[];
28393
28565
  readonly product_id?: string;
28566
+ readonly escalated_only?: boolean;
28394
28567
  }
28395
28568
 
28396
28569
  interface RestrictionItemReview {
@@ -28402,6 +28575,10 @@ declare namespace io.flow.internal.v0.models {
28402
28575
  readonly date?: string;
28403
28576
  readonly updated_by?: io.flow.common.v0.models.User;
28404
28577
  readonly created_at: string;
28578
+ readonly agent_review_status?: string;
28579
+ readonly agent_reviewed_at?: string;
28580
+ readonly agent_confidence?: number;
28581
+ readonly agent_confidence_threshold?: number;
28405
28582
  readonly updated_at: string;
28406
28583
  }
28407
28584
 
@@ -28777,6 +28954,7 @@ declare namespace io.flow.internal.v0.models {
28777
28954
  readonly daily_num_products_restricted_somewhere_by_fs?: number;
28778
28955
  readonly daily_num_products_with_false_allows_by_fs?: number;
28779
28956
  readonly daily_num_products_with_false_restricts_by_fs?: number;
28957
+ readonly num_unserviceable_taxonomy_decisions_created?: number;
28780
28958
  }
28781
28959
 
28782
28960
  interface RestrictionsDailyopsDeleted {
@@ -29120,6 +29298,11 @@ declare namespace io.flow.internal.v0.models {
29120
29298
  readonly sellability_pending_verification: io.flow.internal.v0.models.SellabilityPendingVerification;
29121
29299
  }
29122
29300
 
29301
+ interface SellabilityRuleMatch {
29302
+ readonly reason_code: string;
29303
+ readonly match_types: io.flow.internal.v0.enums.SellabilityInternalMatchType[];
29304
+ }
29305
+
29123
29306
  interface ServiceFees {
29124
29307
  readonly ratecard: io.flow.internal.v0.models.RatecardInternalSummary;
29125
29308
  readonly service_fees: io.flow.ratecard.v0.unions.ServiceFee[];
@@ -29568,6 +29751,11 @@ declare namespace io.flow.internal.v0.models {
29568
29751
  readonly fast_sellability_completed_at?: string;
29569
29752
  }
29570
29753
 
29754
+ interface ShopifyMarketsShopAccessToken {
29755
+ readonly myshopify_domain: string;
29756
+ readonly access_token: string;
29757
+ }
29758
+
29571
29759
  interface ShopifyMarketsShopDeleted {
29572
29760
  readonly discriminator: 'shopify_markets_shop_deleted';
29573
29761
  readonly event_id: string;
@@ -31136,6 +31324,16 @@ declare namespace io.flow.internal.v0.models {
31136
31324
  readonly location?: io.flow.internal.v0.models.TrackingDebugLabelLocation;
31137
31325
  }
31138
31326
 
31327
+ interface TrackingDebugLabelEventUpsertForm {
31328
+ readonly carrier_tracking_number?: string;
31329
+ readonly label_id?: string;
31330
+ readonly organization_id?: string;
31331
+ readonly order_number?: string;
31332
+ readonly status: io.flow.tracking.v0.enums.TrackingStatus;
31333
+ readonly description?: string;
31334
+ readonly timestamp?: string;
31335
+ }
31336
+
31139
31337
  interface TrackingDebugLabelLocation {
31140
31338
  readonly country: string;
31141
31339
  }
@@ -31786,6 +31984,14 @@ declare namespace io.flow.internal.v0.unions {
31786
31984
  | io.flow.internal.v0.models.DutyTransactionDeleted
31787
31985
  | io.flow.internal.v0.models.TransactionStatementUpserted
31788
31986
  | io.flow.internal.v0.models.TransactionStatementDeleted
31987
+ | io.flow.internal.v0.models.BankAccountUpserted
31988
+ | io.flow.internal.v0.models.BankAccountDeleted
31989
+ | io.flow.internal.v0.models.PostingProofUpserted
31990
+ | io.flow.internal.v0.models.PostingProofDeleted
31991
+ | io.flow.internal.v0.models.BankPaymentPromiseUpserted
31992
+ | io.flow.internal.v0.models.BankPaymentPromiseDeleted
31993
+ | io.flow.internal.v0.models.AccountPaymentHoldUpserted
31994
+ | io.flow.internal.v0.models.AccountPaymentHoldDeleted
31789
31995
  | io.flow.internal.v0.models.DailyValueUpserted
31790
31996
  | io.flow.internal.v0.models.DailyValueDeleted
31791
31997
  | io.flow.internal.v0.models.RevenueRecordUpserted
@@ -31832,8 +32038,6 @@ declare namespace io.flow.internal.v0.unions {
31832
32038
  | io.flow.internal.v0.models.OrganizationCurrencySettingDeleted
31833
32039
  | io.flow.internal.v0.models.ChannelCurrencySettingUpserted
31834
32040
  | io.flow.internal.v0.models.ChannelCurrencySettingDeleted
31835
- | io.flow.internal.v0.models.CustomsDescriptionImport
31836
- | io.flow.internal.v0.models.CustomsDescriptionTariffsImport
31837
32041
  | io.flow.internal.v0.models.DisputeUpserted
31838
32042
  | io.flow.internal.v0.models.DisputeDeleted
31839
32043
  | io.flow.internal.v0.models.DutyRatesPublishedV2
@@ -31908,6 +32112,8 @@ declare namespace io.flow.internal.v0.unions {
31908
32112
  | io.flow.internal.v0.models.GuaranteedShippingCalibratedOutputDeleted
31909
32113
  | io.flow.internal.v0.models.OutboundShippingCostUpserted
31910
32114
  | io.flow.internal.v0.models.OutboundShippingCostDeleted
32115
+ | io.flow.internal.v0.models.AverageOrderValueUpserted
32116
+ | io.flow.internal.v0.models.AverageOrderValueDeleted
31911
32117
  | io.flow.internal.v0.models.GuaranteedShippingPublishedOutputUpserted
31912
32118
  | io.flow.internal.v0.models.GuaranteedShippingPublishedOutputDeleted
31913
32119
  | io.flow.internal.v0.models.GuaranteedShippingSettingsUpserted
@@ -31918,7 +32124,6 @@ declare namespace io.flow.internal.v0.unions {
31918
32124
  | io.flow.internal.v0.models.HarmonizedItemsHs6Export
31919
32125
  | io.flow.internal.v0.models.UnharmonizedItemsExport
31920
32126
  | io.flow.internal.v0.models.DutiedItemsExport
31921
- | io.flow.internal.v0.models.HarmonizationPhraseSuggestionRequestImport
31922
32127
  | io.flow.internal.v0.models.HarmonizationCodesImport
31923
32128
  | io.flow.internal.v0.models.HarmonizeFullyRequestV2
31924
32129
  | io.flow.internal.v0.models.ImportCompleted
@@ -32135,6 +32340,8 @@ declare namespace io.flow.internal.v0.unions {
32135
32340
  | io.flow.internal.v0.models.RaveenaItemDeleted
32136
32341
  | io.flow.internal.v0.models.MaheshItemUpserted
32137
32342
  | io.flow.internal.v0.models.MaheshItemDeleted
32343
+ | io.flow.internal.v0.models.JohnStrongItemUpserted
32344
+ | io.flow.internal.v0.models.JohnStrongItemDeleted
32138
32345
  | io.flow.internal.v0.models.TrackingProcessingErrorUpserted
32139
32346
  | io.flow.internal.v0.models.TrackingProcessingErrorDeleted
32140
32347
  | io.flow.internal.v0.models.TrackingLabelEventUpsertedV2
@@ -32376,10 +32583,14 @@ export type AccountOrdersExportRequest =
32376
32583
  io.flow.internal.v0.models.AccountOrdersExportRequest;
32377
32584
  export type AccountOrigin = io.flow.internal.v0.models.AccountOrigin;
32378
32585
  export type AccountPaymentHold = io.flow.internal.v0.models.AccountPaymentHold;
32586
+ export type AccountPaymentHoldDeleted =
32587
+ io.flow.internal.v0.models.AccountPaymentHoldDeleted;
32379
32588
  export type AccountPaymentHoldForm =
32380
32589
  io.flow.internal.v0.models.AccountPaymentHoldForm;
32381
32590
  export type AccountPaymentHoldReason =
32382
32591
  io.flow.internal.v0.enums.AccountPaymentHoldReason;
32592
+ export type AccountPaymentHoldUpserted =
32593
+ io.flow.internal.v0.models.AccountPaymentHoldUpserted;
32383
32594
  export type AccountProcessingRateForm =
32384
32595
  io.flow.internal.v0.models.AccountProcessingRateForm;
32385
32596
  export type AccountProcessingRates =
@@ -32526,6 +32737,7 @@ export type AfterpayRefundDeleted =
32526
32737
  export type AfterpayRefundUpserted =
32527
32738
  io.flow.internal.v0.models.AfterpayRefundUpserted;
32528
32739
  export type AftershipWebhook = io.flow.internal.v0.models.AftershipWebhook;
32740
+ export type AgentReviewDetail = io.flow.internal.v0.models.AgentReviewDetail;
32529
32741
  export type AiOutput = io.flow.internal.v0.unions.AiOutput;
32530
32742
  export type AiReviewBatchSubmitted =
32531
32743
  io.flow.internal.v0.models.AiReviewBatchSubmitted;
@@ -32586,6 +32798,11 @@ export type AuthorizedShippingCharge =
32586
32798
  io.flow.internal.v0.models.AuthorizedShippingCharge;
32587
32799
  export type AutoRestrictRule = io.flow.internal.v0.enums.AutoRestrictRule;
32588
32800
  export type AutoReviewCriteria = io.flow.internal.v0.models.AutoReviewCriteria;
32801
+ export type AverageOrderValue = io.flow.internal.v0.models.AverageOrderValue;
32802
+ export type AverageOrderValueDeleted =
32803
+ io.flow.internal.v0.models.AverageOrderValueDeleted;
32804
+ export type AverageOrderValueUpserted =
32805
+ io.flow.internal.v0.models.AverageOrderValueUpserted;
32589
32806
  export type B2BFeeMorTaxTriggerMetadata =
32590
32807
  io.flow.internal.v0.models.B2BFeeMorTaxTriggerMetadata;
32591
32808
  export type B2BFeeMorTaxTriggerType =
@@ -32609,9 +32826,14 @@ export type B2BTransactionTaxLine =
32609
32826
  export type B2BTransactionTaxableItem =
32610
32827
  io.flow.internal.v0.models.B2BTransactionTaxableItem;
32611
32828
  export type BankAccount = io.flow.internal.v0.models.BankAccount;
32829
+ export type BankAccountDeleted = io.flow.internal.v0.models.BankAccountDeleted;
32612
32830
  export type BankAccountReference =
32613
32831
  io.flow.internal.v0.models.BankAccountReference;
32832
+ export type BankAccountSnapshot =
32833
+ io.flow.internal.v0.models.BankAccountSnapshot;
32614
32834
  export type BankAccountStatus = io.flow.internal.v0.enums.BankAccountStatus;
32835
+ export type BankAccountUpserted =
32836
+ io.flow.internal.v0.models.BankAccountUpserted;
32615
32837
  export type BankPayment = io.flow.internal.v0.models.BankPayment;
32616
32838
  export type BankPaymentDeletedV2 =
32617
32839
  io.flow.internal.v0.models.BankPaymentDeletedV2;
@@ -32624,8 +32846,13 @@ export type BankPaymentOrderDeleted =
32624
32846
  io.flow.internal.v0.models.BankPaymentOrderDeleted;
32625
32847
  export type BankPaymentOrderUpserted =
32626
32848
  io.flow.internal.v0.models.BankPaymentOrderUpserted;
32849
+ export type BankPaymentPromise = io.flow.internal.v0.models.BankPaymentPromise;
32627
32850
  export type BankPaymentPromiseCompletedMethod =
32628
32851
  io.flow.internal.v0.enums.BankPaymentPromiseCompletedMethod;
32852
+ export type BankPaymentPromiseDeleted =
32853
+ io.flow.internal.v0.models.BankPaymentPromiseDeleted;
32854
+ export type BankPaymentPromiseUpserted =
32855
+ io.flow.internal.v0.models.BankPaymentPromiseUpserted;
32629
32856
  export type BankPaymentReference =
32630
32857
  io.flow.internal.v0.models.BankPaymentReference;
32631
32858
  export type BankPaymentStatusCode =
@@ -32640,6 +32867,8 @@ export type BankPaymentStatusImportResult =
32640
32867
  io.flow.internal.v0.models.BankPaymentStatusImportResult;
32641
32868
  export type BankPaymentStatusProcessedImportForm =
32642
32869
  io.flow.internal.v0.models.BankPaymentStatusProcessedImportForm;
32870
+ export type BankPaymentStatusProcessedSingleForm =
32871
+ io.flow.internal.v0.models.BankPaymentStatusProcessedSingleForm;
32643
32872
  export type BankPaymentStatusSentImportForm =
32644
32873
  io.flow.internal.v0.models.BankPaymentStatusSentImportForm;
32645
32874
  export type BankPaymentStatusSingleForm =
@@ -32790,6 +33019,7 @@ export type CarrierDocument = io.flow.internal.v0.models.CarrierDocument;
32790
33019
  export type CarrierDocumentContent =
32791
33020
  io.flow.internal.v0.unions.CarrierDocumentContent;
32792
33021
  export type CarrierDocumentType = io.flow.internal.v0.enums.CarrierDocumentType;
33022
+ export type CarrierEstimate = io.flow.internal.v0.models.CarrierEstimate;
32793
33023
  export type CarrierFile = io.flow.internal.v0.models.CarrierFile;
32794
33024
  export type CarrierFileForm = io.flow.internal.v0.models.CarrierFileForm;
32795
33025
  export type CarrierFileResult = io.flow.internal.v0.models.CarrierFileResult;
@@ -33165,8 +33395,6 @@ export type CryptoAuthenticationForm =
33165
33395
  export type CsvTransaction = io.flow.internal.v0.models.CsvTransaction;
33166
33396
  export type CurrencyInternalRate =
33167
33397
  io.flow.internal.v0.models.CurrencyInternalRate;
33168
- export type CustomsDescriptionImport =
33169
- io.flow.internal.v0.models.CustomsDescriptionImport;
33170
33398
  export type CustomsDescriptionStatistics =
33171
33399
  io.flow.internal.v0.models.CustomsDescriptionStatistics;
33172
33400
  export type CustomsDescriptionSuggestion =
@@ -33175,8 +33403,6 @@ export type CustomsDescriptionTariffCodeDuty =
33175
33403
  io.flow.internal.v0.models.CustomsDescriptionTariffCodeDuty;
33176
33404
  export type CustomsDescriptionTariffCodeDutyForm =
33177
33405
  io.flow.internal.v0.models.CustomsDescriptionTariffCodeDutyForm;
33178
- export type CustomsDescriptionTariffsImport =
33179
- io.flow.internal.v0.models.CustomsDescriptionTariffsImport;
33180
33406
  export type CustomsDetails = io.flow.internal.v0.models.CustomsDetails;
33181
33407
  export type CustomsDetailsForm = io.flow.internal.v0.models.CustomsDetailsForm;
33182
33408
  export type CustomsProductAttributeLabel =
@@ -33701,6 +33927,14 @@ export type GuaranteedShippingCalibrationForm =
33701
33927
  io.flow.internal.v0.models.GuaranteedShippingCalibrationForm;
33702
33928
  export type GuaranteedShippingCalibrationLaneForm =
33703
33929
  io.flow.internal.v0.models.GuaranteedShippingCalibrationLaneForm;
33930
+ export type GuaranteedShippingPublication =
33931
+ io.flow.internal.v0.models.GuaranteedShippingPublication;
33932
+ export type GuaranteedShippingPublicationForm =
33933
+ io.flow.internal.v0.models.GuaranteedShippingPublicationForm;
33934
+ export type GuaranteedShippingPublicationLaneForm =
33935
+ io.flow.internal.v0.models.GuaranteedShippingPublicationLaneForm;
33936
+ export type GuaranteedShippingPublicationStatus =
33937
+ io.flow.internal.v0.enums.GuaranteedShippingPublicationStatus;
33704
33938
  export type GuaranteedShippingPublishedOutput =
33705
33939
  io.flow.internal.v0.models.GuaranteedShippingPublishedOutput;
33706
33940
  export type GuaranteedShippingPublishedOutputDeleted =
@@ -33737,8 +33971,6 @@ export type HarmonizationItemSummary =
33737
33971
  io.flow.internal.v0.models.HarmonizationItemSummary;
33738
33972
  export type HarmonizationMlModelSummary =
33739
33973
  io.flow.internal.v0.models.HarmonizationMlModelSummary;
33740
- export type HarmonizationPhraseSuggestionRequestImport =
33741
- io.flow.internal.v0.models.HarmonizationPhraseSuggestionRequestImport;
33742
33974
  export type HarmonizationThreshold =
33743
33975
  io.flow.internal.v0.models.HarmonizationThreshold;
33744
33976
  export type HarmonizationThresholdForm =
@@ -33879,8 +34111,12 @@ export type ItemSummary = io.flow.internal.v0.models.ItemSummary;
33879
34111
  export type ItemType = io.flow.internal.v0.enums.ItemType;
33880
34112
  export type ItemValuesForm = io.flow.internal.v0.models.ItemValuesForm;
33881
34113
  export type JohnStrongItem = io.flow.internal.v0.models.JohnStrongItem;
34114
+ export type JohnStrongItemDeleted =
34115
+ io.flow.internal.v0.models.JohnStrongItemDeleted;
33882
34116
  export type JohnStrongItemForm = io.flow.internal.v0.models.JohnStrongItemForm;
33883
34117
  export type JohnStrongItemType = io.flow.internal.v0.enums.JohnStrongItemType;
34118
+ export type JohnStrongItemUpserted =
34119
+ io.flow.internal.v0.models.JohnStrongItemUpserted;
33884
34120
  export type Journal = io.flow.internal.v0.models.Journal;
33885
34121
  export type JournalFailure = io.flow.internal.v0.models.JournalFailure;
33886
34122
  export type JournalOperation = io.flow.internal.v0.enums.JournalOperation;
@@ -34517,8 +34753,6 @@ export type PendingBankPaymentDetail =
34517
34753
  io.flow.internal.v0.models.PendingBankPaymentDetail;
34518
34754
  export type PendingOrder = io.flow.internal.v0.models.PendingOrder;
34519
34755
  export type PendingRecordType = io.flow.internal.v0.enums.PendingRecordType;
34520
- export type PhraseClassified = io.flow.internal.v0.models.PhraseClassified;
34521
- export type PhrasePropagated = io.flow.internal.v0.models.PhrasePropagated;
34522
34756
  export type PlatformFee = io.flow.internal.v0.unions.PlatformFee;
34523
34757
  export type PlatformFeeChange = io.flow.internal.v0.models.PlatformFeeChange;
34524
34758
  export type PlatformFeeChangeDeleted =
@@ -34535,6 +34769,11 @@ export type PlatformFeePercentage =
34535
34769
  io.flow.internal.v0.models.PlatformFeePercentage;
34536
34770
  export type PlatformFeePercentageTier =
34537
34771
  io.flow.internal.v0.models.PlatformFeePercentageTier;
34772
+ export type PostingProof = io.flow.internal.v0.models.PostingProof;
34773
+ export type PostingProofDeleted =
34774
+ io.flow.internal.v0.models.PostingProofDeleted;
34775
+ export type PostingProofUpserted =
34776
+ io.flow.internal.v0.models.PostingProofUpserted;
34538
34777
  export type Prediction = io.flow.internal.v0.models.Prediction;
34539
34778
  export type PreferredBillingSchedule =
34540
34779
  io.flow.internal.v0.enums.PreferredBillingSchedule;
@@ -34868,6 +35107,8 @@ export type ReportingVatRemittance =
34868
35107
  export type ReportingVatRemittanceRate =
34869
35108
  io.flow.internal.v0.models.ReportingVatRemittanceRate;
34870
35109
  export type ReportingVendor = io.flow.internal.v0.models.ReportingVendor;
35110
+ export type RequestedBankPaymentStatusCode =
35111
+ io.flow.internal.v0.enums.RequestedBankPaymentStatusCode;
34871
35112
  export type RequeueRequestForm = io.flow.internal.v0.models.RequeueRequestForm;
34872
35113
  export type RescreenRestrictionsProducts =
34873
35114
  io.flow.internal.v0.models.RescreenRestrictionsProducts;
@@ -35060,6 +35301,8 @@ export type SellabilityCheckResult =
35060
35301
  io.flow.internal.v0.models.SellabilityCheckResult;
35061
35302
  export type SellabilityCheckStatus =
35062
35303
  io.flow.internal.v0.enums.SellabilityCheckStatus;
35304
+ export type SellabilityDecisionSource =
35305
+ io.flow.internal.v0.enums.SellabilityDecisionSource;
35063
35306
  export type SellabilityInternalMatchType =
35064
35307
  io.flow.internal.v0.enums.SellabilityInternalMatchType;
35065
35308
  export type SellabilityPendingVerification =
@@ -35068,6 +35311,8 @@ export type SellabilityPendingVerificationDeleted =
35068
35311
  io.flow.internal.v0.models.SellabilityPendingVerificationDeleted;
35069
35312
  export type SellabilityPendingVerificationUpserted =
35070
35313
  io.flow.internal.v0.models.SellabilityPendingVerificationUpserted;
35314
+ export type SellabilityRuleMatch =
35315
+ io.flow.internal.v0.models.SellabilityRuleMatch;
35071
35316
  export type SellabilityStatus = io.flow.internal.v0.enums.SellabilityStatus;
35072
35317
  export type ServiceFees = io.flow.internal.v0.models.ServiceFees;
35073
35318
  export type ServiceFeesForm = io.flow.internal.v0.models.ServiceFeesForm;
@@ -35190,6 +35435,8 @@ export type ShopifyMarketsQueuedRecord =
35190
35435
  export type ShopifyMarketsQueuedRecordType =
35191
35436
  io.flow.internal.v0.enums.ShopifyMarketsQueuedRecordType;
35192
35437
  export type ShopifyMarketsShop = io.flow.internal.v0.models.ShopifyMarketsShop;
35438
+ export type ShopifyMarketsShopAccessToken =
35439
+ io.flow.internal.v0.models.ShopifyMarketsShopAccessToken;
35193
35440
  export type ShopifyMarketsShopDeleted =
35194
35441
  io.flow.internal.v0.models.ShopifyMarketsShopDeleted;
35195
35442
  export type ShopifyMarketsShopForm =
@@ -35602,6 +35849,8 @@ export type TrackingDebugForceTransitForm =
35602
35849
  export type TrackingDebugLabel = io.flow.internal.v0.models.TrackingDebugLabel;
35603
35850
  export type TrackingDebugLabelEvent =
35604
35851
  io.flow.internal.v0.models.TrackingDebugLabelEvent;
35852
+ export type TrackingDebugLabelEventUpsertForm =
35853
+ io.flow.internal.v0.models.TrackingDebugLabelEventUpsertForm;
35605
35854
  export type TrackingDebugLabelLocation =
35606
35855
  io.flow.internal.v0.models.TrackingDebugLabelLocation;
35607
35856
  export type TrackingDeleted = io.flow.internal.v0.models.TrackingDeleted;