@flowio/api-internal-factories 0.0.128 → 0.0.130

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.
@@ -757,6 +757,7 @@ const factories = {
757
757
  'rate_lock',
758
758
  'transfer',
759
759
  'negative_balance_guarantee',
760
+ 'sp',
760
761
  ]),
761
762
 
762
763
  'io.flow.billing.v0.enums.payout_attachment_type': (): io.flow.billing.v0.enums.PayoutAttachmentType => faker.helpers.arrayElement(['transactions']),
@@ -776,13 +777,16 @@ const factories = {
776
777
  'io.flow.billing.v0.enums.statement_attachment_type': (): io.flow.billing.v0.enums.StatementAttachmentType => faker.helpers.arrayElement(['csv']),
777
778
 
778
779
  'io.flow.billing.v0.enums.tax_duty_transaction_reason_code': (): io.flow.billing.v0.enums.TaxDutyTransactionReasonCode => faker.helpers.arrayElement([
780
+ 'post_capture',
781
+ 'post_fulfilment',
782
+ 'manual_payment_or_gift_card',
779
783
  'order_edit',
780
- 'order_acceptance',
781
784
  'mixed_fulfilment_non_lvg',
782
785
  'lvg_refund',
783
786
  'order_cancellation_above_de_min',
784
787
  'wyol_shipment_above_de_min',
785
788
  'full_refund_without_shipment',
789
+ 'unfulfilled_order_above_de_min',
786
790
  ]),
787
791
 
788
792
  'io.flow.billing.v0.enums.transaction_source': (): io.flow.billing.v0.enums.TransactionSource => faker.helpers.arrayElement([
@@ -2071,6 +2075,7 @@ const factories = {
2071
2075
  ]),
2072
2076
 
2073
2077
  'io.flow.channel.internal.v0.enums.channel_order_acceptance_status': (): io.flow.channel.internal.v0.enums.ChannelOrderAcceptanceStatus => faker.helpers.arrayElement(['accepted', 'rejected', 'review', 'edit_review', 'edit_accepted']),
2078
+ 'io.flow.channel.internal.v0.enums.order_payment_source_type': (): io.flow.channel.internal.v0.enums.OrderPaymentSourceType => faker.helpers.arrayElement(['globale', 'third_party']),
2074
2079
 
2075
2080
  'io.flow.channel.internal.v0.models.channel_currency_form': (): io.flow.channel.internal.v0.models.ChannelCurrencyForm => ({
2076
2081
  currency: factories.string(),
@@ -2119,7 +2124,7 @@ const factories = {
2119
2124
  order_created_at: factories.date_time_iso_8601(),
2120
2125
  order_updated_at: factories.date_time_iso_8601(),
2121
2126
  order_edit_summary: factories['io.flow.channel.internal.v0.models.order_edit_summary'](),
2122
- payment_source: factories['io.flow.experience.v0.enums.order_payment_source_type'](),
2127
+ payment_source: factories['io.flow.channel.internal.v0.enums.order_payment_source_type'](),
2123
2128
  }),
2124
2129
 
2125
2130
  'io.flow.channel.internal.v0.models.channel_order_acceptance_details': (): io.flow.channel.internal.v0.models.ChannelOrderAcceptanceDetails => ({
@@ -2153,6 +2158,47 @@ const factories = {
2153
2158
  edited_at: factories.date_time_iso_8601(),
2154
2159
  }),
2155
2160
 
2161
+ 'io.flow.channel.shopify.internal.v0.enums.catalog_publication_owner': (): io.flow.channel.shopify.internal.v0.enums.CatalogPublicationOwner => faker.helpers.arrayElement(['shopify', 'globale']),
2162
+ 'io.flow.channel.shopify.internal.v0.enums.shopify_service': (): io.flow.channel.shopify.internal.v0.enums.ShopifyService => faker.helpers.arrayElement(['payment', 'duty_tax_calculator', 'sellability']),
2163
+
2164
+ 'io.flow.channel.shopify.internal.v0.models.channel_organization_shopify': (): io.flow.channel.shopify.internal.v0.models.ChannelOrganizationShopify => ({
2165
+ organization: factories['io.flow.channel.v0.models.channel_organization'](),
2166
+
2167
+ tokens: arrayOf(
2168
+ () => factories['io.flow.channel.shopify.internal.v0.models.shopify_channel_organization_tokens'](),
2169
+ ),
2170
+ }),
2171
+
2172
+ 'io.flow.channel.shopify.internal.v0.models.channel_organization_shopify_form': (): io.flow.channel.shopify.internal.v0.models.ChannelOrganizationShopifyForm => ({
2173
+ form: factories['io.flow.channel.v0.models.channel_organization_put_form'](),
2174
+ metadata: factories['io.flow.channel.shopify.internal.v0.models.shopify_metadata'](),
2175
+ }),
2176
+
2177
+ 'io.flow.channel.shopify.internal.v0.models.channel_organization_shopify_post_form': (): io.flow.channel.shopify.internal.v0.models.ChannelOrganizationShopifyPostForm => ({
2178
+ form: factories['io.flow.channel.v0.models.channel_organization_form'](),
2179
+ metadata: factories['io.flow.channel.shopify.internal.v0.models.shopify_metadata'](),
2180
+ }),
2181
+
2182
+ 'io.flow.channel.shopify.internal.v0.models.shopify_catalog_publication': (): io.flow.channel.shopify.internal.v0.models.ShopifyCatalogPublication => ({
2183
+ owner: factories['io.flow.channel.shopify.internal.v0.enums.catalog_publication_owner'](),
2184
+ }),
2185
+
2186
+ 'io.flow.channel.shopify.internal.v0.models.shopify_channel_organization_token': (): io.flow.channel.shopify.internal.v0.models.ShopifyChannelOrganizationToken => ({
2187
+ cleartext: factories.string(),
2188
+ }),
2189
+
2190
+ 'io.flow.channel.shopify.internal.v0.models.shopify_channel_organization_tokens': (): io.flow.channel.shopify.internal.v0.models.ShopifyChannelOrganizationTokens => ({
2191
+ token: factories['io.flow.channel.shopify.internal.v0.models.shopify_channel_organization_token'](),
2192
+ service: factories['io.flow.channel.shopify.internal.v0.enums.shopify_service'](),
2193
+ }),
2194
+
2195
+ 'io.flow.channel.shopify.internal.v0.models.shopify_metadata': (): io.flow.channel.shopify.internal.v0.models.ShopifyMetadata => ({
2196
+ domain: factories.string(),
2197
+ myshopify_domain: factories.string(),
2198
+ catalog_publication: factories['io.flow.channel.shopify.internal.v0.models.shopify_catalog_publication'](),
2199
+ token: factories.string(),
2200
+ }),
2201
+
2156
2202
  'io.flow.channel.v0.enums.channel_currency_capability': (): io.flow.channel.v0.enums.ChannelCurrencyCapability => faker.helpers.arrayElement(['payment_authorizations', 'settlement_currency']),
2157
2203
 
2158
2204
  'io.flow.channel.v0.models.channel': (): io.flow.channel.v0.models.Channel => ({
@@ -6631,6 +6677,15 @@ const factories = {
6631
6677
  'prr-79e41878ea564f9c81cc432a0e84703f',
6632
6678
  'prr-f29c26dc09e04536bc77f9c32786ed70',
6633
6679
  'prr-b186129720f0446eb452a68518437c95',
6680
+ 'prr-36e1603f56e54eb889792637c29eed40',
6681
+ 'prr-7ead2cc4bf2840a3a9b50d222eb0ed7e',
6682
+ 'prr-ec2f3d608b7e43a49de88ac40e6b50a8',
6683
+ 'prr-04ed078c39ca4447b171f767d71a481d',
6684
+ 'prr-bb664a76d6d64a17843e720e6ccd401a',
6685
+ 'prr-8ce63afcd48641eb9d44e04117348a96',
6686
+ 'prr-76544617791b4ce8af96b3a7879474c6',
6687
+ 'prr-566cc67167944bc4bd08167aa9c0beba',
6688
+ 'prr-74e1320efb7741cf9ace400b69800f9b',
6634
6689
  ]),
6635
6690
 
6636
6691
  'io.flow.internal.v0.enums.bank_account_status': (): io.flow.internal.v0.enums.BankAccountStatus => faker.helpers.arrayElement(['on_hold', 'not_on_hold']),
@@ -6817,6 +6872,40 @@ const factories = {
6817
6872
  'fourth_plus_attempt_failed_merchant_count',
6818
6873
  'fourth_plus_attempt_failed_amount_total',
6819
6874
  'fourth_plus_attempt_success_ratio',
6875
+ 'ge_revenue_share_standard_transactions_count',
6876
+ 'ge_revenue_share_standard_transactions_total',
6877
+ 'ge_revenue_share_shopify_plus_transactions_count',
6878
+ 'ge_revenue_share_shopify_plus_transactions_total',
6879
+ 'non_l4l_tax_duty_fx_transactions_count',
6880
+ 'non_l4l_tax_duty_fx_transactions_total',
6881
+ 'sp_adjustment_transactions_count',
6882
+ 'sp_adjustment_transactions_total',
6883
+ 'sp_billable_label_transactions_count',
6884
+ 'sp_billable_label_transactions_count_for_unique_orders',
6885
+ 'sp_billable_label_transactions_total',
6886
+ 'sp_capture_transactions_count',
6887
+ 'sp_capture_transactions_total',
6888
+ 'sp_carrier_charge_transactions_count',
6889
+ 'sp_carrier_charge_transactions_total',
6890
+ 'sp_channel_transactions_count',
6891
+ 'sp_channel_transactions_total',
6892
+ 'sp_duty_transactions_count',
6893
+ 'sp_duty_transactions_total',
6894
+ 'sp_manual_transactions_count',
6895
+ 'sp_manual_transactions_total',
6896
+ 'sp_refund_transactions_count',
6897
+ 'sp_refund_transactions_total',
6898
+ 'sp_reversal_transactions_count',
6899
+ 'sp_reversal_transactions_total',
6900
+ 'sp_revenue_share_label_transactions_count',
6901
+ 'sp_revenue_share_label_transactions_count_for_unique_orders',
6902
+ 'sp_revenue_share_label_transactions_total',
6903
+ 'sp_tax_transactions_count',
6904
+ 'sp_tax_transactions_total',
6905
+ 'sp_transfer_transactions_count',
6906
+ 'sp_transfer_transactions_total',
6907
+ 'sp_trueup_transactions_count',
6908
+ 'sp_trueup_transactions_total',
6820
6909
  ]),
6821
6910
 
6822
6911
  'io.flow.internal.v0.enums.billing_statement_attachment_key': (): io.flow.internal.v0.enums.BillingStatementAttachmentKey => faker.helpers.arrayElement([
@@ -6972,6 +7061,7 @@ const factories = {
6972
7061
  'io.flow.internal.v0.enums.classification_decision': (): io.flow.internal.v0.enums.ClassificationDecision => faker.helpers.arrayElement(['Accept', 'Reject']),
6973
7062
  'io.flow.internal.v0.enums.classification_error_code': (): io.flow.internal.v0.enums.ClassificationErrorCode => faker.helpers.arrayElement(['generic_error']),
6974
7063
  'io.flow.internal.v0.enums.classification_platform': (): io.flow.internal.v0.enums.ClassificationPlatform => faker.helpers.arrayElement(['GlobalE', 'Flow', 'Borderfree']),
7064
+ 'io.flow.internal.v0.enums.classification_scope': (): io.flow.internal.v0.enums.ClassificationScope => faker.helpers.arrayElement(['Item', 'Product']),
6975
7065
  'io.flow.internal.v0.enums.classification_type': (): io.flow.internal.v0.enums.ClassificationType => faker.helpers.arrayElement(['None', 'Manual', 'ML', 'System']),
6976
7066
  'io.flow.internal.v0.enums.clothing_age_classification': (): io.flow.internal.v0.enums.ClothingAgeClassification => faker.helpers.arrayElement(['None', 'AgeKidsGeneral', 'Age0_10', 'Age10_13', 'Age13_14']),
6977
7067
  'io.flow.internal.v0.enums.commercial_invoice_version': (): io.flow.internal.v0.enums.CommercialInvoiceVersion => faker.helpers.arrayElement(['v2_2_1']),
@@ -7322,6 +7412,8 @@ const factories = {
7322
7412
  'restriction_rule_deleted',
7323
7413
  'restriction_rule_effect_upserted',
7324
7414
  'restriction_rule_effect_deleted',
7415
+ 'taxonomy_category_hs6_ref_upserted',
7416
+ 'taxonomy_category_hs6_ref_deleted',
7325
7417
  'shopify_shop_upserted',
7326
7418
  'shopify_shop_deleted',
7327
7419
  'shopify_experience_short_id_upserted',
@@ -7349,6 +7441,8 @@ const factories = {
7349
7441
  'shopify_markets_best_selling_product_deleted',
7350
7442
  'shopify_order_risk_assessment_upserted',
7351
7443
  'shopify_order_risk_assessment_deleted',
7444
+ 'shopify_order_transaction_upserted',
7445
+ 'shopify_order_transaction_deleted',
7352
7446
  'shopify_product_create_upserted',
7353
7447
  'shopify_product_create_deleted',
7354
7448
  'shopify_product_update_upserted',
@@ -7445,7 +7539,8 @@ const factories = {
7445
7539
  'shopify_webhook',
7446
7540
  ]),
7447
7541
 
7448
- 'io.flow.internal.v0.enums.harmonization_decision_source': (): io.flow.internal.v0.enums.HarmonizationDecisionSource => faker.helpers.arrayElement(['human', 'legacy_model', 'enterprise_model', 'merchant']),
7542
+ 'io.flow.internal.v0.enums.harmonization_decision_source': (): io.flow.internal.v0.enums.HarmonizationDecisionSource => faker.helpers.arrayElement(['human', 'system', 'legacy_model', 'enterprise_model', 'merchant']),
7543
+ 'io.flow.internal.v0.enums.hosein_item_type': (): io.flow.internal.v0.enums.HoseinItemType => faker.helpers.arrayElement(['physical', 'digital']),
7449
7544
  'io.flow.internal.v0.enums.http_method': (): io.flow.internal.v0.enums.HttpMethod => faker.helpers.arrayElement(['get', 'post']),
7450
7545
  'io.flow.internal.v0.enums.internal_payment_entity_type': (): io.flow.internal.v0.enums.InternalPaymentEntityType => faker.helpers.arrayElement(['authorization', 'capture', 'refund', 'dispute']),
7451
7546
  'io.flow.internal.v0.enums.item_classification_action': (): io.flow.internal.v0.enums.ItemClassificationAction => faker.helpers.arrayElement(['ACCEPT', 'MANUAL', 'REJECT']),
@@ -7524,7 +7619,7 @@ const factories = {
7524
7619
  'global_e_netherlands',
7525
7620
  ]),
7526
7621
 
7527
- 'io.flow.internal.v0.enums.merchant_override_status': (): io.flow.internal.v0.enums.MerchantOverrideStatus => faker.helpers.arrayElement(['in_review', 'accepted', 'rejected']),
7622
+ 'io.flow.internal.v0.enums.merchant_override_status': (): io.flow.internal.v0.enums.MerchantOverrideStatus => faker.helpers.arrayElement(['pending', 'in_review', 'accepted', 'rejected']),
7528
7623
  'io.flow.internal.v0.enums.mixed_bag_weight': (): io.flow.internal.v0.enums.MixedBagWeight => faker.helpers.arrayElement(['0', '1', '2']),
7529
7624
 
7530
7625
  'io.flow.internal.v0.enums.nature_of_sale': (): io.flow.internal.v0.enums.NatureOfSale => faker.helpers.arrayElement([
@@ -7605,6 +7700,7 @@ const factories = {
7605
7700
  'io.flow.internal.v0.enums.order_cancellation_initiated_by': (): io.flow.internal.v0.enums.OrderCancellationInitiatedBy => faker.helpers.arrayElement(['flow', 'organization']),
7606
7701
  'io.flow.internal.v0.enums.order_charge_trigger': (): io.flow.internal.v0.enums.OrderChargeTrigger => faker.helpers.arrayElement(['first_shipment', 'last_shipment', 'shipment_exhausted']),
7607
7702
  'io.flow.internal.v0.enums.order_lifecycle_event': (): io.flow.internal.v0.enums.OrderLifecycleEvent => faker.helpers.arrayElement(['order_placed', 'ready_to_fulfill']),
7703
+ 'io.flow.internal.v0.enums.order_payment_source_type': (): io.flow.internal.v0.enums.OrderPaymentSourceType => faker.helpers.arrayElement(['globale', 'third_party']),
7608
7704
  'io.flow.internal.v0.enums.order_transaction_type': (): io.flow.internal.v0.enums.OrderTransactionType => faker.helpers.arrayElement(['adjustment', 'reversal', 'order_service']),
7609
7705
 
7610
7706
  'io.flow.internal.v0.enums.order_validation_status': (): io.flow.internal.v0.enums.OrderValidationStatus => faker.helpers.arrayElement([
@@ -7644,6 +7740,7 @@ const factories = {
7644
7740
 
7645
7741
  'io.flow.internal.v0.enums.payment_summary_type': (): io.flow.internal.v0.enums.PaymentSummaryType => faker.helpers.arrayElement(['authorization', 'capture', 'refund', 'reversal', 'credit']),
7646
7742
  'io.flow.internal.v0.enums.payment_term': (): io.flow.internal.v0.enums.PaymentTerm => faker.helpers.arrayElement(['net7', 'net15', 'net30']),
7743
+ 'io.flow.internal.v0.enums.pending_record_type': (): io.flow.internal.v0.enums.PendingRecordType => faker.helpers.arrayElement(['verification', 'classification', 'restriction']),
7647
7744
  'io.flow.internal.v0.enums.prateek_item_type': (): io.flow.internal.v0.enums.PrateekItemType => faker.helpers.arrayElement(['physical', 'digital']),
7648
7745
  'io.flow.internal.v0.enums.preferred_billing_schedule': (): io.flow.internal.v0.enums.PreferredBillingSchedule => faker.helpers.arrayElement(['monthly', 'bi-monthly']),
7649
7746
  'io.flow.internal.v0.enums.price_selector': (): io.flow.internal.v0.enums.PriceSelector => faker.helpers.arrayElement(['minimum', 'maximum']),
@@ -9779,7 +9876,7 @@ const factories = {
9779
9876
  order_created_at: factories.date_time_iso_8601(),
9780
9877
  order_updated_at: factories.date_time_iso_8601(),
9781
9878
  order_edit_summary: factories['io.flow.internal.v0.models.order_edit_summary'](),
9782
- payment_source: factories['io.flow.experience.v0.enums.order_payment_source_type'](),
9879
+ payment_source: factories['io.flow.internal.v0.enums.order_payment_source_type'](),
9783
9880
  }),
9784
9881
 
9785
9882
  'io.flow.internal.v0.models.channel_order_acceptance_deleted': (): io.flow.internal.v0.models.ChannelOrderAcceptanceDeleted => ({
@@ -10808,6 +10905,7 @@ const factories = {
10808
10905
  total: factories['io.flow.common.v0.models.money_with_base'](),
10809
10906
  identifiers: objectOf(() => factories.string()),
10810
10907
  submitted_at: factories.date_time_iso_8601(),
10908
+ payment_source: factories['io.flow.experience.v0.enums.order_payment_source_type'](),
10811
10909
  }),
10812
10910
 
10813
10911
  'io.flow.internal.v0.models.debug_order_transaction': (): io.flow.internal.v0.models.DebugOrderTransaction => ({
@@ -11548,6 +11646,12 @@ const factories = {
11548
11646
  processed_at: factories.date_time_iso_8601(),
11549
11647
  }),
11550
11648
 
11649
+ 'io.flow.internal.v0.models.evaluation_results': (): io.flow.internal.v0.models.EvaluationResults => ({
11650
+ chapter_result: factories.object(),
11651
+ sellability_result: factories.object(),
11652
+ duty_variance_result: factories.object(),
11653
+ }),
11654
+
11551
11655
  'io.flow.internal.v0.models.exclusion_rule_deleted': (): io.flow.internal.v0.models.ExclusionRuleDeleted => ({
11552
11656
  discriminator: 'exclusion_rule_deleted',
11553
11657
  event_id: factories.string(),
@@ -11823,6 +11927,13 @@ const factories = {
11823
11927
  meter_number: factories.string(),
11824
11928
  }),
11825
11929
 
11930
+ 'io.flow.internal.v0.models.fedex_api': (): io.flow.internal.v0.models.FedexApi => ({
11931
+ discriminator: 'fedex_api',
11932
+ client_id: factories.string(),
11933
+ client_secret: factories.string(),
11934
+ account_number: factories.string(),
11935
+ }),
11936
+
11826
11937
  'io.flow.internal.v0.models.fedex_crossborder': (): io.flow.internal.v0.models.FedexCrossborder => ({
11827
11938
  discriminator: 'fedex_crossborder',
11828
11939
  api_key: factories.string(),
@@ -11842,6 +11953,7 @@ const factories = {
11842
11953
  duty_guarantee: factories['io.flow.internal.v0.models.fee'](),
11843
11954
  transfer: factories['io.flow.internal.v0.models.fee'](),
11844
11955
  negative_balance: factories['io.flow.internal.v0.models.fee'](),
11956
+ sp: factories['io.flow.internal.v0.models.fee'](),
11845
11957
  }),
11846
11958
 
11847
11959
  'io.flow.internal.v0.models.finance_bank_account': (): io.flow.internal.v0.models.FinanceBankAccount => ({
@@ -12765,6 +12877,23 @@ const factories = {
12765
12877
  export_id: factories.string(),
12766
12878
  }),
12767
12879
 
12880
+ 'io.flow.internal.v0.models.hosein_item': (): io.flow.internal.v0.models.HoseinItem => ({
12881
+ id: factories.string(),
12882
+ number: factories.string(),
12883
+ amount: factories['io.flow.common.v0.models.price'](),
12884
+ description: factories.string(),
12885
+ type: factories['io.flow.internal.v0.enums.hosein_item_type'](),
12886
+ added_on: factories.date_time_iso_8601(),
12887
+ }),
12888
+
12889
+ 'io.flow.internal.v0.models.hosein_item_form': (): io.flow.internal.v0.models.HoseinItemForm => ({
12890
+ number: factories.string(),
12891
+ amount: factories['io.flow.common.v0.models.price'](),
12892
+ description: factories.string(),
12893
+ type: factories['io.flow.internal.v0.enums.hosein_item_type'](),
12894
+ added_on: factories.date_time_iso_8601(),
12895
+ }),
12896
+
12768
12897
  'io.flow.internal.v0.models.href': (): io.flow.internal.v0.models.Href => ({
12769
12898
  discriminator: 'href',
12770
12899
  label: factories['io.flow.internal.v0.models.content_label'](),
@@ -13201,6 +13330,7 @@ const factories = {
13201
13330
  status: factories['io.flow.internal.v0.enums.item_harmonization_status'](),
13202
13331
  tariffs: objectOf(() => factories['io.flow.internal.v0.models.tariff_code_duty']()),
13203
13332
  decision_source: factories['io.flow.internal.v0.enums.harmonization_decision_source'](),
13333
+ classification_scope: factories['io.flow.internal.v0.enums.classification_scope'](),
13204
13334
  created_at: factories.date_time_iso_8601(),
13205
13335
  updated_at: factories.date_time_iso_8601(),
13206
13336
  updated_by_user_id: factories.string(),
@@ -14178,6 +14308,7 @@ const factories = {
14178
14308
  status: factories['io.flow.internal.v0.enums.merchant_override_status'](),
14179
14309
  hs6_code: factories.string(),
14180
14310
  merchant_hs6_code: factories.string(),
14311
+ evaluation_results: factories['io.flow.internal.v0.models.evaluation_results'](),
14181
14312
  created_at: factories.date_time_iso_8601(),
14182
14313
  updated_at: factories.date_time_iso_8601(),
14183
14314
  updated_by_user_id: factories.string(),
@@ -14994,16 +15125,12 @@ const factories = {
14994
15125
  organization_id: factories.string(),
14995
15126
  pending_restriction_count: factories.long(),
14996
15127
  pending_verification_count: factories.long(),
15128
+ pending_classification_count: factories.long(),
14997
15129
  oldest_pending_restriction_date: factories.date_time_iso_8601(),
14998
15130
  oldest_pending_verification_date: factories.date_time_iso_8601(),
14999
15131
  product_count: factories.long(),
15000
15132
  restricted_product_count: factories.long(),
15001
15133
  last_order_submitted_at: factories.date_time_iso_8601(),
15002
- matching_positive_keywords: arrayOf(() => factories.string()),
15003
- product_categories: arrayOf(() => factories.string()),
15004
- matching_negative_keywords: arrayOf(() => factories.string()),
15005
- decisions_user_ids: arrayOf(() => factories.string()),
15006
- restriction_rule_ids: arrayOf(() => factories.string()),
15007
15134
  }),
15008
15135
 
15009
15136
  'io.flow.internal.v0.models.organization_metadata_deleted': (): io.flow.internal.v0.models.OrganizationMetadataDeleted => ({
@@ -16152,6 +16279,7 @@ const factories = {
16152
16279
  review_status: factories['io.flow.internal.v0.enums.restriction_state_review_status'](),
16153
16280
  pending_restriction_count: factories.long(),
16154
16281
  pending_verification_count: factories.long(),
16282
+ pending_classification_count: factories.long(),
16155
16283
  oldest_pending_restriction_date: factories.date_time_iso_8601(),
16156
16284
  oldest_pending_verification_date: factories.date_time_iso_8601(),
16157
16285
  }),
@@ -16189,12 +16317,26 @@ const factories = {
16189
16317
  ),
16190
16318
  }),
16191
16319
 
16320
+ 'io.flow.internal.v0.models.product_sellability_internal': (): io.flow.internal.v0.models.ProductSellabilityInternal => ({
16321
+ shop_id: factories.string(),
16322
+ product_id: factories.string(),
16323
+ request_id: factories.string(),
16324
+ hs6_code: factories.string(),
16325
+
16326
+ restricted_regions: arrayOf(
16327
+ () => factories['io.flow.sellability.v0.models.sellablility_region_result'](),
16328
+ ),
16329
+
16330
+ rule_ids: arrayOf(() => factories.string()),
16331
+ }),
16332
+
16192
16333
  'io.flow.internal.v0.models.product_sellability_result': (): io.flow.internal.v0.models.ProductSellabilityResult => ({
16193
16334
  shop_id: factories.string(),
16194
16335
  product_number: factories.string(),
16195
16336
  request_id: factories.string(),
16196
16337
  hs6_code: factories.string(),
16197
16338
  restricted_regions: arrayOf(() => factories.string()),
16339
+ rule_ids: arrayOf(() => factories.string()),
16198
16340
  }),
16199
16341
 
16200
16342
  'io.flow.internal.v0.models.product_transaction': (): io.flow.internal.v0.models.ProductTransaction => ({
@@ -16751,6 +16893,7 @@ const factories = {
16751
16893
 
16752
16894
  'io.flow.internal.v0.models.report_filter': (): io.flow.internal.v0.models.ReportFilter => ({
16753
16895
  source_type: factories['io.flow.internal.v0.enums.source_type_filter'](),
16896
+ order_payment_source: factories['io.flow.experience.v0.enums.order_payment_source_type'](),
16754
16897
  }),
16755
16898
 
16756
16899
  'io.flow.internal.v0.models.report_form': (): io.flow.internal.v0.models.ReportForm => ({
@@ -16972,7 +17115,7 @@ const factories = {
16972
17115
  id: factories.string(),
16973
17116
  number: factories.string(),
16974
17117
  submitted_at: factories.date_time_iso_8601(),
16975
- payment_source: factories.string(),
17118
+ payment_source: factories['io.flow.experience.v0.enums.order_payment_source_type'](),
16976
17119
  }),
16977
17120
 
16978
17121
  'io.flow.internal.v0.models.reporting_organization_summary': (): io.flow.internal.v0.models.ReportingOrganizationSummary => ({
@@ -17054,7 +17197,6 @@ const factories = {
17054
17197
  }),
17055
17198
 
17056
17199
  'io.flow.internal.v0.models.restriction_filter': (): io.flow.internal.v0.models.RestrictionFilter => ({
17057
- categories: arrayOf(() => factories.string()),
17058
17200
  users: arrayOf(() => factories['io.flow.common.v0.models.user']()),
17059
17201
  rules: arrayOf(() => factories['io.flow.internal.v0.models.restriction_rule_summary']()),
17060
17202
  positive_keywords: arrayOf(() => factories.string()),
@@ -17083,6 +17225,7 @@ const factories = {
17083
17225
  name: factories.string(),
17084
17226
  price: factories['io.flow.common.v0.models.price'](),
17085
17227
  hs_code: factories.string(),
17228
+ hs_code_source: factories['io.flow.internal.v0.enums.harmonization_decision_source'](),
17086
17229
  description: factories.string(),
17087
17230
  category: factories.string(),
17088
17231
  categories: arrayOf(() => factories.string()),
@@ -17099,7 +17242,7 @@ const factories = {
17099
17242
  statuses: arrayOf(() => factories['io.flow.internal.v0.enums.restriction_status']()),
17100
17243
  rule_ids: arrayOf(() => factories.string()),
17101
17244
  user_ids: arrayOf(() => factories.string()),
17102
- categories: arrayOf(() => factories.string()),
17245
+ category: factories.string(),
17103
17246
  product_name_query: factories.string(),
17104
17247
  hs6: factories.string(),
17105
17248
  positive_keywords: arrayOf(() => factories.string()),
@@ -17212,6 +17355,7 @@ const factories = {
17212
17355
  images: arrayOf(() => factories['io.flow.catalog.v0.models.image']()),
17213
17356
  thumbnails: arrayOf(() => factories['io.flow.catalog.v0.models.image']()),
17214
17357
  hs_code: factories.string(),
17358
+ hs_code_source: factories['io.flow.internal.v0.enums.harmonization_decision_source'](),
17215
17359
  url: factories.string(),
17216
17360
  reviews: arrayOf(() => factories['io.flow.internal.v0.models.restriction_item_review']()),
17217
17361
  created_at: factories.date_time_iso_8601(),
@@ -17230,7 +17374,7 @@ const factories = {
17230
17374
  positive_keywords: arrayOf(() => factories.string()),
17231
17375
  negative_keywords: arrayOf(() => factories.string()),
17232
17376
  user_ids: arrayOf(() => factories.string()),
17233
- categories: arrayOf(() => factories.string()),
17377
+ category: factories.string(),
17234
17378
  product_name_query: factories.string(),
17235
17379
  hs6: factories.string(),
17236
17380
  product_id: factories.string(),
@@ -17323,6 +17467,17 @@ const factories = {
17323
17467
  destination_countries: arrayOf(() => factories.string()),
17324
17468
  }),
17325
17469
 
17470
+ 'io.flow.internal.v0.models.restriction_rule_organization_exemption': (): io.flow.internal.v0.models.RestrictionRuleOrganizationExemption => ({
17471
+ id: factories.string(),
17472
+ organization_id: factories.string(),
17473
+ rule_id: factories.string(),
17474
+ description: factories.string(),
17475
+ is_rule_exempt: factories.boolean(),
17476
+ exempt_countries: arrayOf(() => factories.string()),
17477
+ ignored_keywords: arrayOf(() => factories.string()),
17478
+ additional_keywords: arrayOf(() => factories.string()),
17479
+ }),
17480
+
17326
17481
  'io.flow.internal.v0.models.restriction_rule_override': (): io.flow.internal.v0.models.RestrictionRuleOverride => ({
17327
17482
  id: factories.string(),
17328
17483
  organization_id: factories.string(),
@@ -17346,6 +17501,7 @@ const factories = {
17346
17501
  'io.flow.internal.v0.models.restriction_summary_counts': (): io.flow.internal.v0.models.RestrictionSummaryCounts => ({
17347
17502
  pending_restriction_count: factories.long(),
17348
17503
  pending_verification_count: factories.long(),
17504
+ pending_classification_count: factories.long(),
17349
17505
  }),
17350
17506
 
17351
17507
  'io.flow.internal.v0.models.restrictions_dailyops': (): io.flow.internal.v0.models.RestrictionsDailyops => ({
@@ -17376,6 +17532,16 @@ const factories = {
17376
17532
  oldest_insufficient_details_pv_onboarding: factories.date_iso_8601(),
17377
17533
  oldest_insufficient_details_pv_active: factories.date_iso_8601(),
17378
17534
  oldest_insufficient_details_pv_transacting: factories.date_iso_8601(),
17535
+ num_products_with_fs_result: factories.decimal(),
17536
+ num_products_sellable_somewhere_by_fs: factories.decimal(),
17537
+ num_products_restricted_somewhere_by_fs: factories.decimal(),
17538
+ num_products_with_false_allows_by_fs: factories.decimal(),
17539
+ num_products_with_false_restricts_by_fs: factories.decimal(),
17540
+ daily_num_products_with_fs_result: factories.decimal(),
17541
+ daily_num_products_sellable_somewhere_by_fs: factories.decimal(),
17542
+ daily_num_products_restricted_somewhere_by_fs: factories.decimal(),
17543
+ daily_num_products_with_false_allows_by_fs: factories.decimal(),
17544
+ daily_num_products_with_false_restricts_by_fs: factories.decimal(),
17379
17545
  }),
17380
17546
 
17381
17547
  'io.flow.internal.v0.models.restrictions_dailyops_deleted': (): io.flow.internal.v0.models.RestrictionsDailyopsDeleted => ({
@@ -17411,16 +17577,6 @@ const factories = {
17411
17577
  destinations: arrayOf(() => factories['io.flow.reference.v0.models.country']()),
17412
17578
  }),
17413
17579
 
17414
- 'io.flow.internal.v0.models.retracking': (): io.flow.internal.v0.models.Retracking => ({
17415
- carrier: factories.string(),
17416
- tracking_number: factories.string(),
17417
- }),
17418
-
17419
- 'io.flow.internal.v0.models.retracking_form': (): io.flow.internal.v0.models.RetrackingForm => ({
17420
- carrier: factories.string(),
17421
- carrier_tracking_numbers: arrayOf(() => factories.string()),
17422
- }),
17423
-
17424
17580
  'io.flow.internal.v0.models.return': (): io.flow.internal.v0.models.Return => ({
17425
17581
  id: factories.string(),
17426
17582
  order: factories['io.flow.internal.v0.models.order_summary'](),
@@ -18067,6 +18223,7 @@ const factories = {
18067
18223
  api_password: factories.string(),
18068
18224
  access_token: factories.string(),
18069
18225
  shopify_plan_name: factories['io.flow.shopify.external.v0.enums.shopify_plan_name'](),
18226
+ catalog_publication_owner: factories['io.flow.internal.v0.enums.catalog_publication_owner'](),
18070
18227
  }),
18071
18228
 
18072
18229
  'io.flow.internal.v0.models.shopify_markets_shop_statistics_deleted': (): io.flow.internal.v0.models.ShopifyMarketsShopStatisticsDeleted => ({
@@ -18341,6 +18498,27 @@ const factories = {
18341
18498
  assessment: factories['io.flow.internal.v0.models.shopify_order_risk_assessment'](),
18342
18499
  }),
18343
18500
 
18501
+ 'io.flow.internal.v0.models.shopify_order_transaction': (): io.flow.internal.v0.models.ShopifyOrderTransaction => ({
18502
+ id: factories.string(),
18503
+ model: factories['io.flow.shopify.markets.v0.models.shopify_order_transaction'](),
18504
+ }),
18505
+
18506
+ 'io.flow.internal.v0.models.shopify_order_transaction_deleted': (): io.flow.internal.v0.models.ShopifyOrderTransactionDeleted => ({
18507
+ discriminator: 'shopify_order_transaction_deleted',
18508
+ event_id: factories.string(),
18509
+ timestamp: factories.date_time_iso_8601(),
18510
+ organization: factories.string(),
18511
+ id: factories.string(),
18512
+ }),
18513
+
18514
+ 'io.flow.internal.v0.models.shopify_order_transaction_upserted': (): io.flow.internal.v0.models.ShopifyOrderTransactionUpserted => ({
18515
+ discriminator: 'shopify_order_transaction_upserted',
18516
+ event_id: factories.string(),
18517
+ timestamp: factories.date_time_iso_8601(),
18518
+ organization: factories.string(),
18519
+ transaction: factories['io.flow.internal.v0.models.shopify_order_transaction'](),
18520
+ }),
18521
+
18344
18522
  'io.flow.internal.v0.models.shopify_organization_settings': (): io.flow.internal.v0.models.ShopifyOrganizationSettings => ({
18345
18523
  id: factories.string(),
18346
18524
  process_label: factories.boolean(),
@@ -18978,6 +19156,7 @@ const factories = {
18978
19156
  import_taxes: factories.integer(),
18979
19157
  mor_fees: factories.integer(),
18980
19158
  mor_foreign_exchange_fees: factories.integer(),
19159
+ sp_processing_fees: factories.integer(),
18981
19160
  }),
18982
19161
 
18983
19162
  'io.flow.internal.v0.models.stripe_connect_report_record_transfer_metadata': (): io.flow.internal.v0.models.StripeConnectReportRecordTransferMetadata => ({
@@ -18993,6 +19172,7 @@ const factories = {
18993
19172
  import_taxes: factories.integer(),
18994
19173
  mor_fees: factories.integer(),
18995
19174
  mor_foreign_exchange_fees: factories.integer(),
19175
+ sp_processing_fees: factories.integer(),
18996
19176
  merchant_account_currency: factories.string(),
18997
19177
  amount_in_merchant_account_currency: factories.integer(),
18998
19178
  payout_exchange_rate: factories.decimal(),
@@ -19310,6 +19490,11 @@ const factories = {
19310
19490
  category_code: factories.string(),
19311
19491
  }),
19312
19492
 
19493
+ 'io.flow.internal.v0.models.tax_duty_reason_code_metadata': (): io.flow.internal.v0.models.TaxDutyReasonCodeMetadata => ({
19494
+ discriminator: 'tax_duty_reason_code_metadata',
19495
+ reason_code: factories['io.flow.billing.v0.enums.tax_duty_transaction_reason_code'](),
19496
+ }),
19497
+
19313
19498
  'io.flow.internal.v0.models.tax_remittance_transaction': (): io.flow.internal.v0.models.TaxRemittanceTransaction => ({
19314
19499
  discriminator: 'tax_remittance_transaction',
19315
19500
  order: factories['io.flow.internal.v0.models.billing_order_summary'](),
@@ -19373,6 +19558,27 @@ const factories = {
19373
19558
  children: arrayOf(() => factories['io.flow.internal.v0.unions.classification_taxonomy']()),
19374
19559
  }),
19375
19560
 
19561
+ 'io.flow.internal.v0.models.taxonomy_category_hs6_ref': (): io.flow.internal.v0.models.TaxonomyCategoryHs6Ref => ({
19562
+ id: factories.string(),
19563
+ taxonomy_category: factories.string(),
19564
+ hs6: factories.string(),
19565
+ updated_by_user_id: factories.string(),
19566
+ }),
19567
+
19568
+ 'io.flow.internal.v0.models.taxonomy_category_hs6_ref_deleted': (): io.flow.internal.v0.models.TaxonomyCategoryHs6RefDeleted => ({
19569
+ discriminator: 'taxonomy_category_hs6_ref_deleted',
19570
+ event_id: factories.string(),
19571
+ timestamp: factories.date_time_iso_8601(),
19572
+ id: factories.string(),
19573
+ }),
19574
+
19575
+ 'io.flow.internal.v0.models.taxonomy_category_hs6_ref_upserted': (): io.flow.internal.v0.models.TaxonomyCategoryHs6RefUpserted => ({
19576
+ discriminator: 'taxonomy_category_hs6_ref_upserted',
19577
+ event_id: factories.string(),
19578
+ timestamp: factories.date_time_iso_8601(),
19579
+ taxonomy_category_hs6_ref: factories['io.flow.internal.v0.models.taxonomy_category_hs6_ref'](),
19580
+ }),
19581
+
19376
19582
  'io.flow.internal.v0.models.taxonomy_node': (): io.flow.internal.v0.models.TaxonomyNode => ({
19377
19583
  id: factories.string(),
19378
19584
  children: arrayOf(() => factories['io.flow.internal.v0.models.taxonomy_node']()),
@@ -19682,10 +19888,6 @@ const factories = {
19682
19888
  tracking_events: arrayOf(() => factories['io.flow.internal.v0.models.tracking_event']()),
19683
19889
  }),
19684
19890
 
19685
- 'io.flow.internal.v0.models.tracking_resync': (): io.flow.internal.v0.models.TrackingResync => ({
19686
- placeholder: factories.boolean(),
19687
- }),
19688
-
19689
19891
  'io.flow.internal.v0.models.tracking_subscription': (): io.flow.internal.v0.models.TrackingSubscription => ({
19690
19892
  id: factories.string(),
19691
19893
  organization_id: factories.string(),
@@ -20020,6 +20222,7 @@ const factories = {
20020
20222
  additional_services_requested: arrayOf(() => factories['io.flow.label.v0.models.additional_services_requested']()),
20021
20223
  provided_charges: arrayOf(() => factories['io.flow.internal.v0.models.charge_input']()),
20022
20224
  direction: factories['io.flow.label.v0.enums.direction'](),
20225
+ package_dimensions_source: factories['io.flow.label.v0.enums.package_dimensions_source'](),
20023
20226
  }),
20024
20227
 
20025
20228
  'io.flow.internal.v0.models.validation_character_length': (): io.flow.internal.v0.models.ValidationCharacterLength => ({
@@ -20137,6 +20340,7 @@ const factories = {
20137
20340
  () => factories['io.flow.internal.v0.models.fedex_crossborder'](),
20138
20341
  () => factories['io.flow.internal.v0.models.ups'](),
20139
20342
  () => factories['io.flow.internal.v0.models.fedex'](),
20343
+ () => factories['io.flow.internal.v0.models.fedex_api'](),
20140
20344
  ]);
20141
20345
 
20142
20346
  return f();
@@ -20572,6 +20776,8 @@ const factories = {
20572
20776
  () => factories['io.flow.internal.v0.models.restriction_rule_deleted'](),
20573
20777
  () => factories['io.flow.internal.v0.models.restriction_rule_effect_upserted'](),
20574
20778
  () => factories['io.flow.internal.v0.models.restriction_rule_effect_deleted'](),
20779
+ () => factories['io.flow.internal.v0.models.taxonomy_category_hs6_ref_upserted'](),
20780
+ () => factories['io.flow.internal.v0.models.taxonomy_category_hs6_ref_deleted'](),
20575
20781
  () => factories['io.flow.internal.v0.models.shopify_shop_upserted'](),
20576
20782
  () => factories['io.flow.internal.v0.models.shopify_shop_deleted'](),
20577
20783
  () => factories['io.flow.internal.v0.models.shopify_experience_short_id_upserted'](),
@@ -20599,6 +20805,8 @@ const factories = {
20599
20805
  () => factories['io.flow.internal.v0.models.shopify_markets_best_selling_product_deleted'](),
20600
20806
  () => factories['io.flow.internal.v0.models.shopify_order_risk_assessment_upserted'](),
20601
20807
  () => factories['io.flow.internal.v0.models.shopify_order_risk_assessment_deleted'](),
20808
+ () => factories['io.flow.internal.v0.models.shopify_order_transaction_upserted'](),
20809
+ () => factories['io.flow.internal.v0.models.shopify_order_transaction_deleted'](),
20602
20810
  () => factories['io.flow.internal.v0.models.shopify_product_create_upserted'](),
20603
20811
  () => factories['io.flow.internal.v0.models.shopify_product_create_deleted'](),
20604
20812
  () => factories['io.flow.internal.v0.models.shopify_product_update_upserted'](),
@@ -21115,6 +21323,7 @@ const factories = {
21115
21323
  const f = faker.helpers.arrayElement([
21116
21324
  () => factories['io.flow.internal.v0.models.statement_creation_metadata'](),
21117
21325
  () => factories['io.flow.internal.v0.models.accounting_pending_order_metadata'](),
21326
+ () => factories['io.flow.internal.v0.models.tax_duty_reason_code_metadata'](),
21118
21327
  ]);
21119
21328
 
21120
21329
  return f();
@@ -23644,7 +23853,7 @@ const factories = {
23644
23853
  'unknown',
23645
23854
  ]),
23646
23855
 
23647
- 'io.flow.payment.v0.enums.payment_fee_type': (): io.flow.payment.v0.enums.PaymentFeeType => faker.helpers.arrayElement(['fx', 'mor']),
23856
+ 'io.flow.payment.v0.enums.payment_fee_type': (): io.flow.payment.v0.enums.PaymentFeeType => faker.helpers.arrayElement(['fx', 'mor', 'sp']),
23648
23857
  'io.flow.payment.v0.enums.payment_source_confirmation_action_type': (): io.flow.payment.v0.enums.PaymentSourceConfirmationActionType => faker.helpers.arrayElement(['cvv', 'billing_address', 'number']),
23649
23858
  'io.flow.payment.v0.enums.refund_decline_code': (): io.flow.payment.v0.enums.RefundDeclineCode => faker.helpers.arrayElement(['expired', 'insufficient_funds', 'unknown']),
23650
23859
 
@@ -25516,6 +25725,8 @@ const factories = {
25516
25725
  amount: factories['io.flow.common.v0.models.money'](),
25517
25726
  starts_at: factories.date_time_iso_8601(),
25518
25727
  ends_at: factories.date_time_iso_8601(),
25728
+ regions: arrayOf(() => factories.string()),
25729
+ dependent_service_fees: arrayOf(() => factories.string()),
25519
25730
  }),
25520
25731
 
25521
25732
  'io.flow.ratecard.v0.models.ratecard': (): io.flow.ratecard.v0.models.Ratecard => ({
@@ -25612,6 +25823,11 @@ const factories = {
25612
25823
  line_items: arrayOf(() => factories['io.flow.common.v0.models.line_item_form']()),
25613
25824
  }),
25614
25825
 
25826
+ 'io.flow.ratecard.v0.models.ratecard_fee_summary': (): io.flow.ratecard.v0.models.RatecardFeeSummary => ({
25827
+ ratecard_fee: factories['io.flow.ratecard.v0.unions.ratecard_fee'](),
25828
+ source_service_fees: arrayOf(() => factories.string()),
25829
+ }),
25830
+
25615
25831
  'io.flow.ratecard.v0.models.ratecard_form': (): io.flow.ratecard.v0.models.RatecardForm => ({
25616
25832
  direction: factories['io.flow.label.v0.enums.direction'](),
25617
25833
  effective_at: factories.date_time_iso_8601(),
@@ -26083,6 +26299,7 @@ const factories = {
26083
26299
  'io.flow.sellability.v0.enums.sellability_request_status': (): io.flow.sellability.v0.enums.SellabilityRequestStatus => faker.helpers.arrayElement(['commit']),
26084
26300
 
26085
26301
  'io.flow.sellability.v0.models.product_sellability': (): io.flow.sellability.v0.models.ProductSellability => ({
26302
+ discriminator: 'product_sellability',
26086
26303
  shop_id: factories.string(),
26087
26304
  product_id: factories.string(),
26088
26305
  request_id: factories.string(),
@@ -26110,6 +26327,7 @@ const factories = {
26110
26327
  }),
26111
26328
 
26112
26329
  'io.flow.sellability.v0.models.sellability_error': (): io.flow.sellability.v0.models.SellabilityError => ({
26330
+ discriminator: 'sellability_error',
26113
26331
  code: factories['io.flow.sellability.v0.enums.sellability_error_code'](),
26114
26332
  messages: arrayOf(() => factories.string()),
26115
26333
  }),
@@ -26119,6 +26337,15 @@ const factories = {
26119
26337
  regions: arrayOf(() => factories.string()),
26120
26338
  }),
26121
26339
 
26340
+ 'io.flow.sellability.v0.unions.sellability_response': (): io.flow.sellability.v0.unions.SellabilityResponse => {
26341
+ const f = faker.helpers.arrayElement([
26342
+ () => factories['io.flow.sellability.v0.models.product_sellability'](),
26343
+ () => factories['io.flow.sellability.v0.models.sellability_error'](),
26344
+ ]);
26345
+
26346
+ return f();
26347
+ },
26348
+
26122
26349
  'io.flow.session.v0.models.cart_reference': (): io.flow.session.v0.models.CartReference => ({
26123
26350
  id: factories.string(),
26124
26351
  }),
@@ -27634,6 +27861,27 @@ const factories = {
27634
27861
  assessment: factories['io.flow.shopify.markets.internal.v0.models.shopify_order_risk_assessment'](),
27635
27862
  }),
27636
27863
 
27864
+ 'io.flow.shopify.markets.internal.event.v0.models.shopify_order_transaction': (): io.flow.shopify.markets.internal.event.v0.models.ShopifyOrderTransaction => ({
27865
+ id: factories.string(),
27866
+ model: factories['io.flow.shopify.markets.v0.models.shopify_order_transaction'](),
27867
+ }),
27868
+
27869
+ 'io.flow.shopify.markets.internal.event.v0.models.shopify_order_transaction_deleted': (): io.flow.shopify.markets.internal.event.v0.models.ShopifyOrderTransactionDeleted => ({
27870
+ discriminator: 'shopify_order_transaction_deleted',
27871
+ event_id: factories.string(),
27872
+ timestamp: factories.date_time_iso_8601(),
27873
+ organization: factories.string(),
27874
+ id: factories.string(),
27875
+ }),
27876
+
27877
+ 'io.flow.shopify.markets.internal.event.v0.models.shopify_order_transaction_upserted': (): io.flow.shopify.markets.internal.event.v0.models.ShopifyOrderTransactionUpserted => ({
27878
+ discriminator: 'shopify_order_transaction_upserted',
27879
+ event_id: factories.string(),
27880
+ timestamp: factories.date_time_iso_8601(),
27881
+ organization: factories.string(),
27882
+ transaction: factories['io.flow.shopify.markets.internal.event.v0.models.shopify_order_transaction'](),
27883
+ }),
27884
+
27637
27885
  'io.flow.shopify.markets.internal.event.v0.models.shopify_product_bundle_deleted': (): io.flow.shopify.markets.internal.event.v0.models.ShopifyProductBundleDeleted => ({
27638
27886
  discriminator: 'shopify_product_bundle_deleted',
27639
27887
  event_id: factories.string(),
@@ -27675,6 +27923,8 @@ const factories = {
27675
27923
  () => factories['io.flow.shopify.markets.internal.event.v0.models.shopify_markets_best_selling_product_deleted'](),
27676
27924
  () => factories['io.flow.shopify.markets.internal.event.v0.models.shopify_order_risk_assessment_upserted'](),
27677
27925
  () => factories['io.flow.shopify.markets.internal.event.v0.models.shopify_order_risk_assessment_deleted'](),
27926
+ () => factories['io.flow.shopify.markets.internal.event.v0.models.shopify_order_transaction_upserted'](),
27927
+ () => factories['io.flow.shopify.markets.internal.event.v0.models.shopify_order_transaction_deleted'](),
27678
27928
  ]);
27679
27929
 
27680
27930
  return f();
@@ -27904,6 +28154,7 @@ const factories = {
27904
28154
  api_password: factories.string(),
27905
28155
  access_token: factories.string(),
27906
28156
  shopify_plan_name: factories['io.flow.shopify.external.v0.enums.shopify_plan_name'](),
28157
+ catalog_publication_owner: factories['io.flow.channel.shopify.internal.v0.enums.catalog_publication_owner'](),
27907
28158
  }),
27908
28159
 
27909
28160
  'io.flow.shopify.markets.internal.v0.models.shopify_markets_shop_summary': (): io.flow.shopify.markets.internal.v0.models.ShopifyMarketsShopSummary => ({
@@ -32048,6 +32299,7 @@ export const makeClassificationProductSummary = () => factories['io.flow.interna
32048
32299
  export const makeClassificationProductSummaryPage = () => factories['io.flow.internal.v0.models.classification_product_summary_page']();
32049
32300
  export const makeClassificationRequeueRequest = () => factories['io.flow.internal.v0.models.classification_requeue_request']();
32050
32301
  export const makeClassificationResponse = () => factories['io.flow.internal.v0.unions.classification_response']();
32302
+ export const makeClassificationScope = () => factories['io.flow.internal.v0.enums.classification_scope']();
32051
32303
  export const makeClassificationStatistics = () => factories['io.flow.internal.v0.models.classification_statistics']();
32052
32304
  export const makeClassificationSummaryReportPayload = () => factories['io.flow.internal.v0.models.classification_summary_report_payload']();
32053
32305
  export const makeClassificationTaxonomy = () => factories['io.flow.internal.v0.unions.classification_taxonomy']();
@@ -32240,6 +32492,7 @@ export const makeErpVendorStatus = () => factories['io.flow.internal.v0.models.e
32240
32492
  export const makeErpVendorStatusEntity = () => factories['io.flow.internal.v0.models.erp_vendor_status_entity']();
32241
32493
  export const makeErpVendorStatusFlowFile = () => factories['io.flow.internal.v0.models.erp_vendor_status_flow_file']();
32242
32494
  export const makeErpVendorStatusPriorityFile = () => factories['io.flow.internal.v0.models.erp_vendor_status_priority_file']();
32495
+ export const makeEvaluationResults = () => factories['io.flow.internal.v0.models.evaluation_results']();
32243
32496
  export const makeEvent = () => factories['io.flow.internal.v0.unions.event']();
32244
32497
  export const makeEventType = () => factories['io.flow.internal.v0.enums.event_type']();
32245
32498
  export const makeExclusionRuleDeleted = () => factories['io.flow.internal.v0.models.exclusion_rule_deleted']();
@@ -32293,6 +32546,7 @@ export const makeFeatureValue = () => factories['io.flow.internal.v0.unions.feat
32293
32546
  export const makeFeatureValueForm = () => factories['io.flow.internal.v0.models.feature_value_form']();
32294
32547
  export const makeFeatureValueResult = () => factories['io.flow.internal.v0.models.feature_value_result']();
32295
32548
  export const makeFedex = () => factories['io.flow.internal.v0.models.fedex']();
32549
+ export const makeFedexApi = () => factories['io.flow.internal.v0.models.fedex_api']();
32296
32550
  export const makeFedexCrossborder = () => factories['io.flow.internal.v0.models.fedex_crossborder']();
32297
32551
  export const makeFee = () => factories['io.flow.internal.v0.models.fee']();
32298
32552
  export const makeFees = () => factories['io.flow.internal.v0.models.fees']();
@@ -32432,6 +32686,9 @@ export const makeHarmonizationThresholdForm = () => factories['io.flow.internal.
32432
32686
  export const makeHarmonizationUnclassifiedStatistics = () => factories['io.flow.internal.v0.models.harmonization_unclassified_statistics']();
32433
32687
  export const makeHarmonizeFullyRequestV2 = () => factories['io.flow.internal.v0.models.harmonize_fully_request_v2']();
32434
32688
  export const makeHarmonizedItemsHs6Export = () => factories['io.flow.internal.v0.models.harmonized_items_hs6_export']();
32689
+ export const makeHoseinItem = () => factories['io.flow.internal.v0.models.hosein_item']();
32690
+ export const makeHoseinItemForm = () => factories['io.flow.internal.v0.models.hosein_item_form']();
32691
+ export const makeHoseinItemType = () => factories['io.flow.internal.v0.enums.hosein_item_type']();
32435
32692
  export const makeHref = () => factories['io.flow.internal.v0.models.href']();
32436
32693
  export const makeHs6 = () => factories['io.flow.internal.v0.models.hs6']();
32437
32694
  export const makeHs6Metadata = () => factories['io.flow.internal.v0.models.hs6_metadata']();
@@ -32712,6 +32969,7 @@ export const makeOrderLifecycleEvent = () => factories['io.flow.internal.v0.enum
32712
32969
  export const makeOrderNote = () => factories['io.flow.internal.v0.models.order_note']();
32713
32970
  export const makeOrderNoteForm = () => factories['io.flow.internal.v0.models.order_note_form']();
32714
32971
  export const makeOrderPaymentAuthorization = () => factories['io.flow.internal.v0.models.order_payment_authorization']();
32972
+ export const makeOrderPaymentSourceType = () => factories['io.flow.internal.v0.enums.order_payment_source_type']();
32715
32973
  export const makeOrderRatesDataV3 = () => factories['io.flow.internal.v0.models.order_rates_data_v3']();
32716
32974
  export const makeOrderRatesPublishedV3 = () => factories['io.flow.internal.v0.models.order_rates_published_v3']();
32717
32975
  export const makeOrderReference = () => factories['io.flow.internal.v0.models.order_reference']();
@@ -32883,6 +33141,7 @@ export const makePaypalRefundUpserted = () => factories['io.flow.internal.v0.mod
32883
33141
  export const makePendingBankPayment = () => factories['io.flow.internal.v0.models.pending_bank_payment']();
32884
33142
  export const makePendingBankPaymentDetail = () => factories['io.flow.internal.v0.models.pending_bank_payment_detail']();
32885
33143
  export const makePendingOrder = () => factories['io.flow.internal.v0.models.pending_order']();
33144
+ export const makePendingRecordType = () => factories['io.flow.internal.v0.enums.pending_record_type']();
32886
33145
  export const makePhraseClassified = () => factories['io.flow.internal.v0.models.phrase_classified']();
32887
33146
  export const makePhrasePropagated = () => factories['io.flow.internal.v0.models.phrase_propagated']();
32888
33147
  export const makePlatformFee = () => factories['io.flow.internal.v0.unions.platform_fee']();
@@ -32939,6 +33198,7 @@ export const makeProductRestrictionStateDeleted = () => factories['io.flow.inter
32939
33198
  export const makeProductRestrictionStateInserted = () => factories['io.flow.internal.v0.models.product_restriction_state_inserted']();
32940
33199
  export const makeProductRestrictionStateUpdated = () => factories['io.flow.internal.v0.models.product_restriction_state_updated']();
32941
33200
  export const makeProductReviewHistory = () => factories['io.flow.internal.v0.models.product_review_history']();
33201
+ export const makeProductSellabilityInternal = () => factories['io.flow.internal.v0.models.product_sellability_internal']();
32942
33202
  export const makeProductSellabilityResult = () => factories['io.flow.internal.v0.models.product_sellability_result']();
32943
33203
  export const makeProductStatus = () => factories['io.flow.internal.v0.enums.product_status']();
32944
33204
  export const makeProductTransaction = () => factories['io.flow.internal.v0.models.product_transaction']();
@@ -33114,6 +33374,7 @@ export const makeRestrictionRuleEffectUpserted = () => factories['io.flow.intern
33114
33374
  export const makeRestrictionRuleExceptionAction = () => factories['io.flow.internal.v0.enums.restriction_rule_exception_action']();
33115
33375
  export const makeRestrictionRuleForm = () => factories['io.flow.internal.v0.models.restriction_rule_form']();
33116
33376
  export const makeRestrictionRuleLaneExemption = () => factories['io.flow.internal.v0.models.restriction_rule_lane_exemption']();
33377
+ export const makeRestrictionRuleOrganizationExemption = () => factories['io.flow.internal.v0.models.restriction_rule_organization_exemption']();
33117
33378
  export const makeRestrictionRuleOverride = () => factories['io.flow.internal.v0.models.restriction_rule_override']();
33118
33379
  export const makeRestrictionRuleSummary = () => factories['io.flow.internal.v0.models.restriction_rule_summary']();
33119
33380
  export const makeRestrictionRuleUpserted = () => factories['io.flow.internal.v0.models.restriction_rule_upserted']();
@@ -33127,8 +33388,6 @@ export const makeResyncByDestinations = () => factories['io.flow.internal.v0.mod
33127
33388
  export const makeResyncByHs6Destinations = () => factories['io.flow.internal.v0.models.resync_by_hs6_destinations']();
33128
33389
  export const makeResyncByHs6Origin = () => factories['io.flow.internal.v0.models.resync_by_hs6_origin']();
33129
33390
  export const makeResyncFallbackRates = () => factories['io.flow.internal.v0.models.resync_fallback_rates']();
33130
- export const makeRetracking = () => factories['io.flow.internal.v0.models.retracking']();
33131
- export const makeRetrackingForm = () => factories['io.flow.internal.v0.models.retracking_form']();
33132
33391
  export const makeReturn = () => factories['io.flow.internal.v0.models.return']();
33133
33392
  export const makeReturnPolicyDeleted = () => factories['io.flow.internal.v0.models.return_policy_deleted']();
33134
33393
  export const makeReturnPolicyItemResultDeleted = () => factories['io.flow.internal.v0.models.return_policy_item_result_deleted']();
@@ -33273,6 +33532,9 @@ export const makeShopifyOrderLineContent = () => factories['io.flow.internal.v0.
33273
33532
  export const makeShopifyOrderRiskAssessment = () => factories['io.flow.internal.v0.models.shopify_order_risk_assessment']();
33274
33533
  export const makeShopifyOrderRiskAssessmentDeleted = () => factories['io.flow.internal.v0.models.shopify_order_risk_assessment_deleted']();
33275
33534
  export const makeShopifyOrderRiskAssessmentUpserted = () => factories['io.flow.internal.v0.models.shopify_order_risk_assessment_upserted']();
33535
+ export const makeShopifyOrderTransaction = () => factories['io.flow.internal.v0.models.shopify_order_transaction']();
33536
+ export const makeShopifyOrderTransactionDeleted = () => factories['io.flow.internal.v0.models.shopify_order_transaction_deleted']();
33537
+ export const makeShopifyOrderTransactionUpserted = () => factories['io.flow.internal.v0.models.shopify_order_transaction_upserted']();
33276
33538
  export const makeShopifyOrganizationSettings = () => factories['io.flow.internal.v0.models.shopify_organization_settings']();
33277
33539
  export const makeShopifyOrganizationSettingsForm = () => factories['io.flow.internal.v0.models.shopify_organization_settings_form']();
33278
33540
  export const makeShopifyPartnerWebhook = () => factories['io.flow.internal.v0.models.shopify_partner_webhook']();
@@ -33425,6 +33687,7 @@ export const makeTaxCalculationErrorCode = () => factories['io.flow.internal.v0.
33425
33687
  export const makeTaxCalculationForm = () => factories['io.flow.internal.v0.models.tax_calculation_form']();
33426
33688
  export const makeTaxCalculationLineItem = () => factories['io.flow.internal.v0.models.tax_calculation_line_item']();
33427
33689
  export const makeTaxCalculationLineItemForm = () => factories['io.flow.internal.v0.models.tax_calculation_line_item_form']();
33690
+ export const makeTaxDutyReasonCodeMetadata = () => factories['io.flow.internal.v0.models.tax_duty_reason_code_metadata']();
33428
33691
  export const makeTaxParty = () => factories['io.flow.internal.v0.enums.tax_party']();
33429
33692
  export const makeTaxRemittanceTransaction = () => factories['io.flow.internal.v0.models.tax_remittance_transaction']();
33430
33693
  export const makeTaxRemittanceTransactionDeleted = () => factories['io.flow.internal.v0.models.tax_remittance_transaction_deleted']();
@@ -33434,6 +33697,9 @@ export const makeTaxTransactionDeleted = () => factories['io.flow.internal.v0.mo
33434
33697
  export const makeTaxTransactionType = () => factories['io.flow.internal.v0.enums.tax_transaction_type']();
33435
33698
  export const makeTaxTransactionUpserted = () => factories['io.flow.internal.v0.models.tax_transaction_upserted']();
33436
33699
  export const makeTaxonomyCategory = () => factories['io.flow.internal.v0.models.taxonomy_category']();
33700
+ export const makeTaxonomyCategoryHs6Ref = () => factories['io.flow.internal.v0.models.taxonomy_category_hs6_ref']();
33701
+ export const makeTaxonomyCategoryHs6RefDeleted = () => factories['io.flow.internal.v0.models.taxonomy_category_hs6_ref_deleted']();
33702
+ export const makeTaxonomyCategoryHs6RefUpserted = () => factories['io.flow.internal.v0.models.taxonomy_category_hs6_ref_upserted']();
33437
33703
  export const makeTaxonomyNode = () => factories['io.flow.internal.v0.models.taxonomy_node']();
33438
33704
  export const makeTechOnboardingDescription = () => factories['io.flow.internal.v0.models.tech_onboarding_description']();
33439
33705
  export const makeTest = () => factories['io.flow.internal.v0.models.test']();
@@ -33480,7 +33746,6 @@ export const makeTrackingProcessingErrorUpserted = () => factories['io.flow.inte
33480
33746
  export const makeTrackingProcessingFailureClassification = () => factories['io.flow.internal.v0.enums.tracking_processing_failure_classification']();
33481
33747
  export const makeTrackingRequest = () => factories['io.flow.internal.v0.models.tracking_request']();
33482
33748
  export const makeTrackingResponse = () => factories['io.flow.internal.v0.models.tracking_response']();
33483
- export const makeTrackingResync = () => factories['io.flow.internal.v0.models.tracking_resync']();
33484
33749
  export const makeTrackingSubscription = () => factories['io.flow.internal.v0.models.tracking_subscription']();
33485
33750
  export const makeTrackingSubscriptionDeleted = () => factories['io.flow.internal.v0.models.tracking_subscription_deleted']();
33486
33751
  export const makeTrackingSubscriptionUpserted = () => factories['io.flow.internal.v0.models.tracking_subscription_upserted']();