@flowio/api-internal-factories 0.0.128 → 0.0.129
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.
- package/dist/cjs/api-internal.js +286 -55
- package/dist/esm/api-internal.js +242 -21
- package/dist/types/api-internal.d.ts +13 -3
- package/package.json +2 -2
- package/src/api-internal.ts +274 -24
package/dist/esm/api-internal.js
CHANGED
|
@@ -666,6 +666,7 @@ var factories = {
|
|
|
666
666
|
'rate_lock',
|
|
667
667
|
'transfer',
|
|
668
668
|
'negative_balance_guarantee',
|
|
669
|
+
'sp',
|
|
669
670
|
]); },
|
|
670
671
|
'io.flow.billing.v0.enums.payout_attachment_type': function () { return faker.helpers.arrayElement(['transactions']); },
|
|
671
672
|
'io.flow.billing.v0.enums.payout_status_failure_code': function () { return faker.helpers.arrayElement(['invalid_account_number', 'account_closed', 'could_not_process']); },
|
|
@@ -681,13 +682,16 @@ var factories = {
|
|
|
681
682
|
]); },
|
|
682
683
|
'io.flow.billing.v0.enums.statement_attachment_type': function () { return faker.helpers.arrayElement(['csv']); },
|
|
683
684
|
'io.flow.billing.v0.enums.tax_duty_transaction_reason_code': function () { return faker.helpers.arrayElement([
|
|
685
|
+
'post_capture',
|
|
686
|
+
'post_fulfilment',
|
|
687
|
+
'manual_payment_or_gift_card',
|
|
684
688
|
'order_edit',
|
|
685
|
-
'order_acceptance',
|
|
686
689
|
'mixed_fulfilment_non_lvg',
|
|
687
690
|
'lvg_refund',
|
|
688
691
|
'order_cancellation_above_de_min',
|
|
689
692
|
'wyol_shipment_above_de_min',
|
|
690
693
|
'full_refund_without_shipment',
|
|
694
|
+
'unfulfilled_order_above_de_min',
|
|
691
695
|
]); },
|
|
692
696
|
'io.flow.billing.v0.enums.transaction_source': function () { return faker.helpers.arrayElement([
|
|
693
697
|
'capture',
|
|
@@ -1802,6 +1806,7 @@ var factories = {
|
|
|
1802
1806
|
'order_missing',
|
|
1803
1807
|
]); },
|
|
1804
1808
|
'io.flow.channel.internal.v0.enums.channel_order_acceptance_status': function () { return faker.helpers.arrayElement(['accepted', 'rejected', 'review', 'edit_review', 'edit_accepted']); },
|
|
1809
|
+
'io.flow.channel.internal.v0.enums.order_payment_source_type': function () { return faker.helpers.arrayElement(['globale', 'third_party']); },
|
|
1805
1810
|
'io.flow.channel.internal.v0.models.channel_currency_form': function () { return ({
|
|
1806
1811
|
currency: factories.string(),
|
|
1807
1812
|
channel_id: factories.string(),
|
|
@@ -1840,7 +1845,7 @@ var factories = {
|
|
|
1840
1845
|
order_created_at: factories.date_time_iso_8601(),
|
|
1841
1846
|
order_updated_at: factories.date_time_iso_8601(),
|
|
1842
1847
|
order_edit_summary: factories['io.flow.channel.internal.v0.models.order_edit_summary'](),
|
|
1843
|
-
payment_source: factories['io.flow.
|
|
1848
|
+
payment_source: factories['io.flow.channel.internal.v0.enums.order_payment_source_type'](),
|
|
1844
1849
|
}); },
|
|
1845
1850
|
'io.flow.channel.internal.v0.models.channel_order_acceptance_details': function () { return ({
|
|
1846
1851
|
order_acceptance: factories['io.flow.channel.internal.v0.models.channel_order_acceptance'](),
|
|
@@ -1867,6 +1872,36 @@ var factories = {
|
|
|
1867
1872
|
'io.flow.channel.internal.v0.models.order_edit_summary': function () { return ({
|
|
1868
1873
|
edited_at: factories.date_time_iso_8601(),
|
|
1869
1874
|
}); },
|
|
1875
|
+
'io.flow.channel.shopify.internal.v0.enums.catalog_publication_owner': function () { return faker.helpers.arrayElement(['shopify', 'globale']); },
|
|
1876
|
+
'io.flow.channel.shopify.internal.v0.enums.shopify_service': function () { return faker.helpers.arrayElement(['payment', 'duty_tax_calculator', 'sellability']); },
|
|
1877
|
+
'io.flow.channel.shopify.internal.v0.models.channel_organization_shopify': function () { return ({
|
|
1878
|
+
organization: factories['io.flow.channel.v0.models.channel_organization'](),
|
|
1879
|
+
tokens: arrayOf(function () { return factories['io.flow.channel.shopify.internal.v0.models.shopify_channel_organization_tokens'](); }),
|
|
1880
|
+
}); },
|
|
1881
|
+
'io.flow.channel.shopify.internal.v0.models.channel_organization_shopify_form': function () { return ({
|
|
1882
|
+
form: factories['io.flow.channel.v0.models.channel_organization_put_form'](),
|
|
1883
|
+
metadata: factories['io.flow.channel.shopify.internal.v0.models.shopify_metadata'](),
|
|
1884
|
+
}); },
|
|
1885
|
+
'io.flow.channel.shopify.internal.v0.models.channel_organization_shopify_post_form': function () { return ({
|
|
1886
|
+
form: factories['io.flow.channel.v0.models.channel_organization_form'](),
|
|
1887
|
+
metadata: factories['io.flow.channel.shopify.internal.v0.models.shopify_metadata'](),
|
|
1888
|
+
}); },
|
|
1889
|
+
'io.flow.channel.shopify.internal.v0.models.shopify_catalog_publication': function () { return ({
|
|
1890
|
+
owner: factories['io.flow.channel.shopify.internal.v0.enums.catalog_publication_owner'](),
|
|
1891
|
+
}); },
|
|
1892
|
+
'io.flow.channel.shopify.internal.v0.models.shopify_channel_organization_token': function () { return ({
|
|
1893
|
+
cleartext: factories.string(),
|
|
1894
|
+
}); },
|
|
1895
|
+
'io.flow.channel.shopify.internal.v0.models.shopify_channel_organization_tokens': function () { return ({
|
|
1896
|
+
token: factories['io.flow.channel.shopify.internal.v0.models.shopify_channel_organization_token'](),
|
|
1897
|
+
service: factories['io.flow.channel.shopify.internal.v0.enums.shopify_service'](),
|
|
1898
|
+
}); },
|
|
1899
|
+
'io.flow.channel.shopify.internal.v0.models.shopify_metadata': function () { return ({
|
|
1900
|
+
domain: factories.string(),
|
|
1901
|
+
myshopify_domain: factories.string(),
|
|
1902
|
+
catalog_publication: factories['io.flow.channel.shopify.internal.v0.models.shopify_catalog_publication'](),
|
|
1903
|
+
token: factories.string(),
|
|
1904
|
+
}); },
|
|
1870
1905
|
'io.flow.channel.v0.enums.channel_currency_capability': function () { return faker.helpers.arrayElement(['payment_authorizations', 'settlement_currency']); },
|
|
1871
1906
|
'io.flow.channel.v0.models.channel': function () { return ({
|
|
1872
1907
|
id: factories.string(),
|
|
@@ -5603,6 +5638,15 @@ var factories = {
|
|
|
5603
5638
|
'prr-79e41878ea564f9c81cc432a0e84703f',
|
|
5604
5639
|
'prr-f29c26dc09e04536bc77f9c32786ed70',
|
|
5605
5640
|
'prr-b186129720f0446eb452a68518437c95',
|
|
5641
|
+
'prr-36e1603f56e54eb889792637c29eed40',
|
|
5642
|
+
'prr-7ead2cc4bf2840a3a9b50d222eb0ed7e',
|
|
5643
|
+
'prr-ec2f3d608b7e43a49de88ac40e6b50a8',
|
|
5644
|
+
'prr-04ed078c39ca4447b171f767d71a481d',
|
|
5645
|
+
'prr-bb664a76d6d64a17843e720e6ccd401a',
|
|
5646
|
+
'prr-8ce63afcd48641eb9d44e04117348a96',
|
|
5647
|
+
'prr-76544617791b4ce8af96b3a7879474c6',
|
|
5648
|
+
'prr-566cc67167944bc4bd08167aa9c0beba',
|
|
5649
|
+
'prr-74e1320efb7741cf9ace400b69800f9b',
|
|
5606
5650
|
]); },
|
|
5607
5651
|
'io.flow.internal.v0.enums.bank_account_status': function () { return faker.helpers.arrayElement(['on_hold', 'not_on_hold']); },
|
|
5608
5652
|
'io.flow.internal.v0.enums.bank_payment_promise_completed_method': function () { return faker.helpers.arrayElement(['credit', 'time']); },
|
|
@@ -5786,6 +5830,40 @@ var factories = {
|
|
|
5786
5830
|
'fourth_plus_attempt_failed_merchant_count',
|
|
5787
5831
|
'fourth_plus_attempt_failed_amount_total',
|
|
5788
5832
|
'fourth_plus_attempt_success_ratio',
|
|
5833
|
+
'ge_revenue_share_standard_transactions_count',
|
|
5834
|
+
'ge_revenue_share_standard_transactions_total',
|
|
5835
|
+
'ge_revenue_share_shopify_plus_transactions_count',
|
|
5836
|
+
'ge_revenue_share_shopify_plus_transactions_total',
|
|
5837
|
+
'non_l4l_tax_duty_fx_transactions_count',
|
|
5838
|
+
'non_l4l_tax_duty_fx_transactions_total',
|
|
5839
|
+
'sp_adjustment_transactions_count',
|
|
5840
|
+
'sp_adjustment_transactions_total',
|
|
5841
|
+
'sp_billable_label_transactions_count',
|
|
5842
|
+
'sp_billable_label_transactions_count_for_unique_orders',
|
|
5843
|
+
'sp_billable_label_transactions_total',
|
|
5844
|
+
'sp_capture_transactions_count',
|
|
5845
|
+
'sp_capture_transactions_total',
|
|
5846
|
+
'sp_carrier_charge_transactions_count',
|
|
5847
|
+
'sp_carrier_charge_transactions_total',
|
|
5848
|
+
'sp_channel_transactions_count',
|
|
5849
|
+
'sp_channel_transactions_total',
|
|
5850
|
+
'sp_duty_transactions_count',
|
|
5851
|
+
'sp_duty_transactions_total',
|
|
5852
|
+
'sp_manual_transactions_count',
|
|
5853
|
+
'sp_manual_transactions_total',
|
|
5854
|
+
'sp_refund_transactions_count',
|
|
5855
|
+
'sp_refund_transactions_total',
|
|
5856
|
+
'sp_reversal_transactions_count',
|
|
5857
|
+
'sp_reversal_transactions_total',
|
|
5858
|
+
'sp_revenue_share_label_transactions_count',
|
|
5859
|
+
'sp_revenue_share_label_transactions_count_for_unique_orders',
|
|
5860
|
+
'sp_revenue_share_label_transactions_total',
|
|
5861
|
+
'sp_tax_transactions_count',
|
|
5862
|
+
'sp_tax_transactions_total',
|
|
5863
|
+
'sp_transfer_transactions_count',
|
|
5864
|
+
'sp_transfer_transactions_total',
|
|
5865
|
+
'sp_trueup_transactions_count',
|
|
5866
|
+
'sp_trueup_transactions_total',
|
|
5789
5867
|
]); },
|
|
5790
5868
|
'io.flow.internal.v0.enums.billing_statement_attachment_key': function () { return faker.helpers.arrayElement([
|
|
5791
5869
|
'invoice',
|
|
@@ -5928,6 +6006,7 @@ var factories = {
|
|
|
5928
6006
|
'io.flow.internal.v0.enums.classification_decision': function () { return faker.helpers.arrayElement(['Accept', 'Reject']); },
|
|
5929
6007
|
'io.flow.internal.v0.enums.classification_error_code': function () { return faker.helpers.arrayElement(['generic_error']); },
|
|
5930
6008
|
'io.flow.internal.v0.enums.classification_platform': function () { return faker.helpers.arrayElement(['GlobalE', 'Flow', 'Borderfree']); },
|
|
6009
|
+
'io.flow.internal.v0.enums.classification_scope': function () { return faker.helpers.arrayElement(['Item', 'Product']); },
|
|
5931
6010
|
'io.flow.internal.v0.enums.classification_type': function () { return faker.helpers.arrayElement(['None', 'Manual', 'ML', 'System']); },
|
|
5932
6011
|
'io.flow.internal.v0.enums.clothing_age_classification': function () { return faker.helpers.arrayElement(['None', 'AgeKidsGeneral', 'Age0_10', 'Age10_13', 'Age13_14']); },
|
|
5933
6012
|
'io.flow.internal.v0.enums.commercial_invoice_version': function () { return faker.helpers.arrayElement(['v2_2_1']); },
|
|
@@ -6268,6 +6347,8 @@ var factories = {
|
|
|
6268
6347
|
'restriction_rule_deleted',
|
|
6269
6348
|
'restriction_rule_effect_upserted',
|
|
6270
6349
|
'restriction_rule_effect_deleted',
|
|
6350
|
+
'taxonomy_category_hs6_ref_upserted',
|
|
6351
|
+
'taxonomy_category_hs6_ref_deleted',
|
|
6271
6352
|
'shopify_shop_upserted',
|
|
6272
6353
|
'shopify_shop_deleted',
|
|
6273
6354
|
'shopify_experience_short_id_upserted',
|
|
@@ -6295,6 +6376,8 @@ var factories = {
|
|
|
6295
6376
|
'shopify_markets_best_selling_product_deleted',
|
|
6296
6377
|
'shopify_order_risk_assessment_upserted',
|
|
6297
6378
|
'shopify_order_risk_assessment_deleted',
|
|
6379
|
+
'shopify_order_transaction_upserted',
|
|
6380
|
+
'shopify_order_transaction_deleted',
|
|
6298
6381
|
'shopify_product_create_upserted',
|
|
6299
6382
|
'shopify_product_create_deleted',
|
|
6300
6383
|
'shopify_product_update_upserted',
|
|
@@ -6386,7 +6469,7 @@ var factories = {
|
|
|
6386
6469
|
'sync_product_catalog',
|
|
6387
6470
|
'shopify_webhook',
|
|
6388
6471
|
]); },
|
|
6389
|
-
'io.flow.internal.v0.enums.harmonization_decision_source': function () { return faker.helpers.arrayElement(['human', 'legacy_model', 'enterprise_model', 'merchant']); },
|
|
6472
|
+
'io.flow.internal.v0.enums.harmonization_decision_source': function () { return faker.helpers.arrayElement(['human', 'system', 'legacy_model', 'enterprise_model', 'merchant']); },
|
|
6390
6473
|
'io.flow.internal.v0.enums.http_method': function () { return faker.helpers.arrayElement(['get', 'post']); },
|
|
6391
6474
|
'io.flow.internal.v0.enums.internal_payment_entity_type': function () { return faker.helpers.arrayElement(['authorization', 'capture', 'refund', 'dispute']); },
|
|
6392
6475
|
'io.flow.internal.v0.enums.item_classification_action': function () { return faker.helpers.arrayElement(['ACCEPT', 'MANUAL', 'REJECT']); },
|
|
@@ -6451,7 +6534,7 @@ var factories = {
|
|
|
6451
6534
|
'global_e_canada',
|
|
6452
6535
|
'global_e_netherlands',
|
|
6453
6536
|
]); },
|
|
6454
|
-
'io.flow.internal.v0.enums.merchant_override_status': function () { return faker.helpers.arrayElement(['in_review', 'accepted', 'rejected']); },
|
|
6537
|
+
'io.flow.internal.v0.enums.merchant_override_status': function () { return faker.helpers.arrayElement(['pending', 'in_review', 'accepted', 'rejected']); },
|
|
6455
6538
|
'io.flow.internal.v0.enums.mixed_bag_weight': function () { return faker.helpers.arrayElement(['0', '1', '2']); },
|
|
6456
6539
|
'io.flow.internal.v0.enums.nature_of_sale': function () { return faker.helpers.arrayElement([
|
|
6457
6540
|
'consumer',
|
|
@@ -6523,6 +6606,7 @@ var factories = {
|
|
|
6523
6606
|
'io.flow.internal.v0.enums.order_cancellation_initiated_by': function () { return faker.helpers.arrayElement(['flow', 'organization']); },
|
|
6524
6607
|
'io.flow.internal.v0.enums.order_charge_trigger': function () { return faker.helpers.arrayElement(['first_shipment', 'last_shipment', 'shipment_exhausted']); },
|
|
6525
6608
|
'io.flow.internal.v0.enums.order_lifecycle_event': function () { return faker.helpers.arrayElement(['order_placed', 'ready_to_fulfill']); },
|
|
6609
|
+
'io.flow.internal.v0.enums.order_payment_source_type': function () { return faker.helpers.arrayElement(['globale', 'third_party']); },
|
|
6526
6610
|
'io.flow.internal.v0.enums.order_transaction_type': function () { return faker.helpers.arrayElement(['adjustment', 'reversal', 'order_service']); },
|
|
6527
6611
|
'io.flow.internal.v0.enums.order_validation_status': function () { return faker.helpers.arrayElement([
|
|
6528
6612
|
'success',
|
|
@@ -8386,7 +8470,7 @@ var factories = {
|
|
|
8386
8470
|
order_created_at: factories.date_time_iso_8601(),
|
|
8387
8471
|
order_updated_at: factories.date_time_iso_8601(),
|
|
8388
8472
|
order_edit_summary: factories['io.flow.internal.v0.models.order_edit_summary'](),
|
|
8389
|
-
payment_source: factories['io.flow.
|
|
8473
|
+
payment_source: factories['io.flow.internal.v0.enums.order_payment_source_type'](),
|
|
8390
8474
|
}); },
|
|
8391
8475
|
'io.flow.internal.v0.models.channel_order_acceptance_deleted': function () { return ({
|
|
8392
8476
|
discriminator: 'channel_order_acceptance_deleted',
|
|
@@ -9251,6 +9335,7 @@ var factories = {
|
|
|
9251
9335
|
total: factories['io.flow.common.v0.models.money_with_base'](),
|
|
9252
9336
|
identifiers: objectOf(function () { return factories.string(); }),
|
|
9253
9337
|
submitted_at: factories.date_time_iso_8601(),
|
|
9338
|
+
payment_source: factories['io.flow.experience.v0.enums.order_payment_source_type'](),
|
|
9254
9339
|
}); },
|
|
9255
9340
|
'io.flow.internal.v0.models.debug_order_transaction': function () { return ({
|
|
9256
9341
|
order: factories['io.flow.internal.v0.models.debug_order'](),
|
|
@@ -9894,6 +9979,11 @@ var factories = {
|
|
|
9894
9979
|
errors: arrayOf(function () { return factories.string(); }),
|
|
9895
9980
|
processed_at: factories.date_time_iso_8601(),
|
|
9896
9981
|
}); },
|
|
9982
|
+
'io.flow.internal.v0.models.evaluation_results': function () { return ({
|
|
9983
|
+
chapter_result: factories.object(),
|
|
9984
|
+
sellability_result: factories.object(),
|
|
9985
|
+
duty_variance_result: factories.object(),
|
|
9986
|
+
}); },
|
|
9897
9987
|
'io.flow.internal.v0.models.exclusion_rule_deleted': function () { return ({
|
|
9898
9988
|
discriminator: 'exclusion_rule_deleted',
|
|
9899
9989
|
event_id: factories.string(),
|
|
@@ -10126,6 +10216,12 @@ var factories = {
|
|
|
10126
10216
|
account_number: factories.string(),
|
|
10127
10217
|
meter_number: factories.string(),
|
|
10128
10218
|
}); },
|
|
10219
|
+
'io.flow.internal.v0.models.fedex_api': function () { return ({
|
|
10220
|
+
discriminator: 'fedex_api',
|
|
10221
|
+
client_id: factories.string(),
|
|
10222
|
+
client_secret: factories.string(),
|
|
10223
|
+
account_number: factories.string(),
|
|
10224
|
+
}); },
|
|
10129
10225
|
'io.flow.internal.v0.models.fedex_crossborder': function () { return ({
|
|
10130
10226
|
discriminator: 'fedex_crossborder',
|
|
10131
10227
|
api_key: factories.string(),
|
|
@@ -10143,6 +10239,7 @@ var factories = {
|
|
|
10143
10239
|
duty_guarantee: factories['io.flow.internal.v0.models.fee'](),
|
|
10144
10240
|
transfer: factories['io.flow.internal.v0.models.fee'](),
|
|
10145
10241
|
negative_balance: factories['io.flow.internal.v0.models.fee'](),
|
|
10242
|
+
sp: factories['io.flow.internal.v0.models.fee'](),
|
|
10146
10243
|
}); },
|
|
10147
10244
|
'io.flow.internal.v0.models.finance_bank_account': function () { return ({
|
|
10148
10245
|
id: factories.string(),
|
|
@@ -11324,6 +11421,7 @@ var factories = {
|
|
|
11324
11421
|
status: factories['io.flow.internal.v0.enums.item_harmonization_status'](),
|
|
11325
11422
|
tariffs: objectOf(function () { return factories['io.flow.internal.v0.models.tariff_code_duty'](); }),
|
|
11326
11423
|
decision_source: factories['io.flow.internal.v0.enums.harmonization_decision_source'](),
|
|
11424
|
+
classification_scope: factories['io.flow.internal.v0.enums.classification_scope'](),
|
|
11327
11425
|
created_at: factories.date_time_iso_8601(),
|
|
11328
11426
|
updated_at: factories.date_time_iso_8601(),
|
|
11329
11427
|
updated_by_user_id: factories.string(),
|
|
@@ -12166,6 +12264,7 @@ var factories = {
|
|
|
12166
12264
|
status: factories['io.flow.internal.v0.enums.merchant_override_status'](),
|
|
12167
12265
|
hs6_code: factories.string(),
|
|
12168
12266
|
merchant_hs6_code: factories.string(),
|
|
12267
|
+
evaluation_results: factories['io.flow.internal.v0.models.evaluation_results'](),
|
|
12169
12268
|
created_at: factories.date_time_iso_8601(),
|
|
12170
12269
|
updated_at: factories.date_time_iso_8601(),
|
|
12171
12270
|
updated_by_user_id: factories.string(),
|
|
@@ -12858,6 +12957,7 @@ var factories = {
|
|
|
12858
12957
|
organization_id: factories.string(),
|
|
12859
12958
|
pending_restriction_count: factories.long(),
|
|
12860
12959
|
pending_verification_count: factories.long(),
|
|
12960
|
+
pending_classification_count: factories.long(),
|
|
12861
12961
|
oldest_pending_restriction_date: factories.date_time_iso_8601(),
|
|
12862
12962
|
oldest_pending_verification_date: factories.date_time_iso_8601(),
|
|
12863
12963
|
product_count: factories.long(),
|
|
@@ -13856,6 +13956,7 @@ var factories = {
|
|
|
13856
13956
|
review_status: factories['io.flow.internal.v0.enums.restriction_state_review_status'](),
|
|
13857
13957
|
pending_restriction_count: factories.long(),
|
|
13858
13958
|
pending_verification_count: factories.long(),
|
|
13959
|
+
pending_classification_count: factories.long(),
|
|
13859
13960
|
oldest_pending_restriction_date: factories.date_time_iso_8601(),
|
|
13860
13961
|
oldest_pending_verification_date: factories.date_time_iso_8601(),
|
|
13861
13962
|
}); },
|
|
@@ -13885,12 +13986,21 @@ var factories = {
|
|
|
13885
13986
|
product_id: factories.string(),
|
|
13886
13987
|
reviews: arrayOf(function () { return factories['io.flow.internal.v0.models.restriction_history_item_review_decision'](); }),
|
|
13887
13988
|
}); },
|
|
13989
|
+
'io.flow.internal.v0.models.product_sellability_internal': function () { return ({
|
|
13990
|
+
shop_id: factories.string(),
|
|
13991
|
+
product_id: factories.string(),
|
|
13992
|
+
request_id: factories.string(),
|
|
13993
|
+
hs6_code: factories.string(),
|
|
13994
|
+
restricted_regions: arrayOf(function () { return factories['io.flow.sellability.v0.models.sellablility_region_result'](); }),
|
|
13995
|
+
rule_ids: arrayOf(function () { return factories.string(); }),
|
|
13996
|
+
}); },
|
|
13888
13997
|
'io.flow.internal.v0.models.product_sellability_result': function () { return ({
|
|
13889
13998
|
shop_id: factories.string(),
|
|
13890
13999
|
product_number: factories.string(),
|
|
13891
14000
|
request_id: factories.string(),
|
|
13892
14001
|
hs6_code: factories.string(),
|
|
13893
14002
|
restricted_regions: arrayOf(function () { return factories.string(); }),
|
|
14003
|
+
rule_ids: arrayOf(function () { return factories.string(); }),
|
|
13894
14004
|
}); },
|
|
13895
14005
|
'io.flow.internal.v0.models.product_transaction': function () { return ({
|
|
13896
14006
|
transaction_amount: factories.decimal(),
|
|
@@ -14362,6 +14472,7 @@ var factories = {
|
|
|
14362
14472
|
}); },
|
|
14363
14473
|
'io.flow.internal.v0.models.report_filter': function () { return ({
|
|
14364
14474
|
source_type: factories['io.flow.internal.v0.enums.source_type_filter'](),
|
|
14475
|
+
order_payment_source: factories['io.flow.experience.v0.enums.order_payment_source_type'](),
|
|
14365
14476
|
}); },
|
|
14366
14477
|
'io.flow.internal.v0.models.report_form': function () { return ({
|
|
14367
14478
|
type: factories['io.flow.internal.v0.enums.report_type'](),
|
|
@@ -14550,7 +14661,7 @@ var factories = {
|
|
|
14550
14661
|
id: factories.string(),
|
|
14551
14662
|
number: factories.string(),
|
|
14552
14663
|
submitted_at: factories.date_time_iso_8601(),
|
|
14553
|
-
payment_source: factories.
|
|
14664
|
+
payment_source: factories['io.flow.experience.v0.enums.order_payment_source_type'](),
|
|
14554
14665
|
}); },
|
|
14555
14666
|
'io.flow.internal.v0.models.reporting_organization_summary': function () { return ({
|
|
14556
14667
|
id: factories.string(),
|
|
@@ -14644,6 +14755,7 @@ var factories = {
|
|
|
14644
14755
|
name: factories.string(),
|
|
14645
14756
|
price: factories['io.flow.common.v0.models.price'](),
|
|
14646
14757
|
hs_code: factories.string(),
|
|
14758
|
+
hs_code_source: factories['io.flow.internal.v0.enums.harmonization_decision_source'](),
|
|
14647
14759
|
description: factories.string(),
|
|
14648
14760
|
category: factories.string(),
|
|
14649
14761
|
categories: arrayOf(function () { return factories.string(); }),
|
|
@@ -14660,6 +14772,7 @@ var factories = {
|
|
|
14660
14772
|
rule_ids: arrayOf(function () { return factories.string(); }),
|
|
14661
14773
|
user_ids: arrayOf(function () { return factories.string(); }),
|
|
14662
14774
|
categories: arrayOf(function () { return factories.string(); }),
|
|
14775
|
+
category: factories.string(),
|
|
14663
14776
|
product_name_query: factories.string(),
|
|
14664
14777
|
hs6: factories.string(),
|
|
14665
14778
|
positive_keywords: arrayOf(function () { return factories.string(); }),
|
|
@@ -14757,6 +14870,7 @@ var factories = {
|
|
|
14757
14870
|
images: arrayOf(function () { return factories['io.flow.catalog.v0.models.image'](); }),
|
|
14758
14871
|
thumbnails: arrayOf(function () { return factories['io.flow.catalog.v0.models.image'](); }),
|
|
14759
14872
|
hs_code: factories.string(),
|
|
14873
|
+
hs_code_source: factories['io.flow.internal.v0.enums.harmonization_decision_source'](),
|
|
14760
14874
|
url: factories.string(),
|
|
14761
14875
|
reviews: arrayOf(function () { return factories['io.flow.internal.v0.models.restriction_item_review'](); }),
|
|
14762
14876
|
created_at: factories.date_time_iso_8601(),
|
|
@@ -14772,6 +14886,7 @@ var factories = {
|
|
|
14772
14886
|
negative_keywords: arrayOf(function () { return factories.string(); }),
|
|
14773
14887
|
user_ids: arrayOf(function () { return factories.string(); }),
|
|
14774
14888
|
categories: arrayOf(function () { return factories.string(); }),
|
|
14889
|
+
category: factories.string(),
|
|
14775
14890
|
product_name_query: factories.string(),
|
|
14776
14891
|
hs6: factories.string(),
|
|
14777
14892
|
product_id: factories.string(),
|
|
@@ -14849,6 +14964,16 @@ var factories = {
|
|
|
14849
14964
|
origin_countries: arrayOf(function () { return factories.string(); }),
|
|
14850
14965
|
destination_countries: arrayOf(function () { return factories.string(); }),
|
|
14851
14966
|
}); },
|
|
14967
|
+
'io.flow.internal.v0.models.restriction_rule_organization_exemption': function () { return ({
|
|
14968
|
+
id: factories.string(),
|
|
14969
|
+
organization_id: factories.string(),
|
|
14970
|
+
rule_id: factories.string(),
|
|
14971
|
+
description: factories.string(),
|
|
14972
|
+
is_rule_exempt: factories.boolean(),
|
|
14973
|
+
exempt_countries: arrayOf(function () { return factories.string(); }),
|
|
14974
|
+
ignored_keywords: arrayOf(function () { return factories.string(); }),
|
|
14975
|
+
additional_keywords: arrayOf(function () { return factories.string(); }),
|
|
14976
|
+
}); },
|
|
14852
14977
|
'io.flow.internal.v0.models.restriction_rule_override': function () { return ({
|
|
14853
14978
|
id: factories.string(),
|
|
14854
14979
|
organization_id: factories.string(),
|
|
@@ -14869,6 +14994,7 @@ var factories = {
|
|
|
14869
14994
|
'io.flow.internal.v0.models.restriction_summary_counts': function () { return ({
|
|
14870
14995
|
pending_restriction_count: factories.long(),
|
|
14871
14996
|
pending_verification_count: factories.long(),
|
|
14997
|
+
pending_classification_count: factories.long(),
|
|
14872
14998
|
}); },
|
|
14873
14999
|
'io.flow.internal.v0.models.restrictions_dailyops': function () { return ({
|
|
14874
15000
|
id: factories.string(),
|
|
@@ -14898,6 +15024,16 @@ var factories = {
|
|
|
14898
15024
|
oldest_insufficient_details_pv_onboarding: factories.date_iso_8601(),
|
|
14899
15025
|
oldest_insufficient_details_pv_active: factories.date_iso_8601(),
|
|
14900
15026
|
oldest_insufficient_details_pv_transacting: factories.date_iso_8601(),
|
|
15027
|
+
num_products_with_fs_result: factories.decimal(),
|
|
15028
|
+
num_products_sellable_somewhere_by_fs: factories.decimal(),
|
|
15029
|
+
num_products_restricted_somewhere_by_fs: factories.decimal(),
|
|
15030
|
+
num_products_with_false_allows_by_fs: factories.decimal(),
|
|
15031
|
+
num_products_with_false_restricts_by_fs: factories.decimal(),
|
|
15032
|
+
daily_num_products_with_fs_result: factories.decimal(),
|
|
15033
|
+
daily_num_products_sellable_somewhere_by_fs: factories.decimal(),
|
|
15034
|
+
daily_num_products_restricted_somewhere_by_fs: factories.decimal(),
|
|
15035
|
+
daily_num_products_with_false_allows_by_fs: factories.decimal(),
|
|
15036
|
+
daily_num_products_with_false_restricts_by_fs: factories.decimal(),
|
|
14901
15037
|
}); },
|
|
14902
15038
|
'io.flow.internal.v0.models.restrictions_dailyops_deleted': function () { return ({
|
|
14903
15039
|
discriminator: 'restrictions_dailyops_deleted',
|
|
@@ -14926,14 +15062,6 @@ var factories = {
|
|
|
14926
15062
|
'io.flow.internal.v0.models.resync_fallback_rates': function () { return ({
|
|
14927
15063
|
destinations: arrayOf(function () { return factories['io.flow.reference.v0.models.country'](); }),
|
|
14928
15064
|
}); },
|
|
14929
|
-
'io.flow.internal.v0.models.retracking': function () { return ({
|
|
14930
|
-
carrier: factories.string(),
|
|
14931
|
-
tracking_number: factories.string(),
|
|
14932
|
-
}); },
|
|
14933
|
-
'io.flow.internal.v0.models.retracking_form': function () { return ({
|
|
14934
|
-
carrier: factories.string(),
|
|
14935
|
-
carrier_tracking_numbers: arrayOf(function () { return factories.string(); }),
|
|
14936
|
-
}); },
|
|
14937
15065
|
'io.flow.internal.v0.models.return': function () { return ({
|
|
14938
15066
|
id: factories.string(),
|
|
14939
15067
|
order: factories['io.flow.internal.v0.models.order_summary'](),
|
|
@@ -15487,6 +15615,7 @@ var factories = {
|
|
|
15487
15615
|
api_password: factories.string(),
|
|
15488
15616
|
access_token: factories.string(),
|
|
15489
15617
|
shopify_plan_name: factories['io.flow.shopify.external.v0.enums.shopify_plan_name'](),
|
|
15618
|
+
catalog_publication_owner: factories['io.flow.internal.v0.enums.catalog_publication_owner'](),
|
|
15490
15619
|
}); },
|
|
15491
15620
|
'io.flow.internal.v0.models.shopify_markets_shop_statistics_deleted': function () { return ({
|
|
15492
15621
|
discriminator: 'shopify_markets_shop_statistics_deleted',
|
|
@@ -15705,6 +15834,24 @@ var factories = {
|
|
|
15705
15834
|
organization: factories.string(),
|
|
15706
15835
|
assessment: factories['io.flow.internal.v0.models.shopify_order_risk_assessment'](),
|
|
15707
15836
|
}); },
|
|
15837
|
+
'io.flow.internal.v0.models.shopify_order_transaction': function () { return ({
|
|
15838
|
+
id: factories.string(),
|
|
15839
|
+
model: factories['io.flow.shopify.markets.v0.models.shopify_order_transaction'](),
|
|
15840
|
+
}); },
|
|
15841
|
+
'io.flow.internal.v0.models.shopify_order_transaction_deleted': function () { return ({
|
|
15842
|
+
discriminator: 'shopify_order_transaction_deleted',
|
|
15843
|
+
event_id: factories.string(),
|
|
15844
|
+
timestamp: factories.date_time_iso_8601(),
|
|
15845
|
+
organization: factories.string(),
|
|
15846
|
+
id: factories.string(),
|
|
15847
|
+
}); },
|
|
15848
|
+
'io.flow.internal.v0.models.shopify_order_transaction_upserted': function () { return ({
|
|
15849
|
+
discriminator: 'shopify_order_transaction_upserted',
|
|
15850
|
+
event_id: factories.string(),
|
|
15851
|
+
timestamp: factories.date_time_iso_8601(),
|
|
15852
|
+
organization: factories.string(),
|
|
15853
|
+
transaction: factories['io.flow.internal.v0.models.shopify_order_transaction'](),
|
|
15854
|
+
}); },
|
|
15708
15855
|
'io.flow.internal.v0.models.shopify_organization_settings': function () { return ({
|
|
15709
15856
|
id: factories.string(),
|
|
15710
15857
|
process_label: factories.boolean(),
|
|
@@ -16240,6 +16387,7 @@ var factories = {
|
|
|
16240
16387
|
import_taxes: factories.integer(),
|
|
16241
16388
|
mor_fees: factories.integer(),
|
|
16242
16389
|
mor_foreign_exchange_fees: factories.integer(),
|
|
16390
|
+
sp_processing_fees: factories.integer(),
|
|
16243
16391
|
}); },
|
|
16244
16392
|
'io.flow.internal.v0.models.stripe_connect_report_record_transfer_metadata': function () { return ({
|
|
16245
16393
|
discriminator: 'stripe_connect_report_record_transfer_metadata',
|
|
@@ -16254,6 +16402,7 @@ var factories = {
|
|
|
16254
16402
|
import_taxes: factories.integer(),
|
|
16255
16403
|
mor_fees: factories.integer(),
|
|
16256
16404
|
mor_foreign_exchange_fees: factories.integer(),
|
|
16405
|
+
sp_processing_fees: factories.integer(),
|
|
16257
16406
|
merchant_account_currency: factories.string(),
|
|
16258
16407
|
amount_in_merchant_account_currency: factories.integer(),
|
|
16259
16408
|
payout_exchange_rate: factories.decimal(),
|
|
@@ -16532,6 +16681,10 @@ var factories = {
|
|
|
16532
16681
|
description: factories.string(),
|
|
16533
16682
|
category_code: factories.string(),
|
|
16534
16683
|
}); },
|
|
16684
|
+
'io.flow.internal.v0.models.tax_duty_reason_code_metadata': function () { return ({
|
|
16685
|
+
discriminator: 'tax_duty_reason_code_metadata',
|
|
16686
|
+
reason_code: factories['io.flow.billing.v0.enums.tax_duty_transaction_reason_code'](),
|
|
16687
|
+
}); },
|
|
16535
16688
|
'io.flow.internal.v0.models.tax_remittance_transaction': function () { return ({
|
|
16536
16689
|
discriminator: 'tax_remittance_transaction',
|
|
16537
16690
|
order: factories['io.flow.internal.v0.models.billing_order_summary'](),
|
|
@@ -16588,6 +16741,24 @@ var factories = {
|
|
|
16588
16741
|
name: factories.string(),
|
|
16589
16742
|
children: arrayOf(function () { return factories['io.flow.internal.v0.unions.classification_taxonomy'](); }),
|
|
16590
16743
|
}); },
|
|
16744
|
+
'io.flow.internal.v0.models.taxonomy_category_hs6_ref': function () { return ({
|
|
16745
|
+
id: factories.string(),
|
|
16746
|
+
taxonomy_category: factories.string(),
|
|
16747
|
+
hs6: factories.string(),
|
|
16748
|
+
updated_by_user_id: factories.string(),
|
|
16749
|
+
}); },
|
|
16750
|
+
'io.flow.internal.v0.models.taxonomy_category_hs6_ref_deleted': function () { return ({
|
|
16751
|
+
discriminator: 'taxonomy_category_hs6_ref_deleted',
|
|
16752
|
+
event_id: factories.string(),
|
|
16753
|
+
timestamp: factories.date_time_iso_8601(),
|
|
16754
|
+
id: factories.string(),
|
|
16755
|
+
}); },
|
|
16756
|
+
'io.flow.internal.v0.models.taxonomy_category_hs6_ref_upserted': function () { return ({
|
|
16757
|
+
discriminator: 'taxonomy_category_hs6_ref_upserted',
|
|
16758
|
+
event_id: factories.string(),
|
|
16759
|
+
timestamp: factories.date_time_iso_8601(),
|
|
16760
|
+
taxonomy_category_hs6_ref: factories['io.flow.internal.v0.models.taxonomy_category_hs6_ref'](),
|
|
16761
|
+
}); },
|
|
16591
16762
|
'io.flow.internal.v0.models.taxonomy_node': function () { return ({
|
|
16592
16763
|
id: factories.string(),
|
|
16593
16764
|
children: arrayOf(function () { return factories['io.flow.internal.v0.models.taxonomy_node'](); }),
|
|
@@ -16855,9 +17026,6 @@ var factories = {
|
|
|
16855
17026
|
flow_tracking_number: factories.string(),
|
|
16856
17027
|
tracking_events: arrayOf(function () { return factories['io.flow.internal.v0.models.tracking_event'](); }),
|
|
16857
17028
|
}); },
|
|
16858
|
-
'io.flow.internal.v0.models.tracking_resync': function () { return ({
|
|
16859
|
-
placeholder: factories.boolean(),
|
|
16860
|
-
}); },
|
|
16861
17029
|
'io.flow.internal.v0.models.tracking_subscription': function () { return ({
|
|
16862
17030
|
id: factories.string(),
|
|
16863
17031
|
organization_id: factories.string(),
|
|
@@ -17149,6 +17317,7 @@ var factories = {
|
|
|
17149
17317
|
additional_services_requested: arrayOf(function () { return factories['io.flow.label.v0.models.additional_services_requested'](); }),
|
|
17150
17318
|
provided_charges: arrayOf(function () { return factories['io.flow.internal.v0.models.charge_input'](); }),
|
|
17151
17319
|
direction: factories['io.flow.label.v0.enums.direction'](),
|
|
17320
|
+
package_dimensions_source: factories['io.flow.label.v0.enums.package_dimensions_source'](),
|
|
17152
17321
|
}); },
|
|
17153
17322
|
'io.flow.internal.v0.models.validation_character_length': function () { return ({
|
|
17154
17323
|
discriminator: 'validation_character_length',
|
|
@@ -17244,6 +17413,7 @@ var factories = {
|
|
|
17244
17413
|
function () { return factories['io.flow.internal.v0.models.fedex_crossborder'](); },
|
|
17245
17414
|
function () { return factories['io.flow.internal.v0.models.ups'](); },
|
|
17246
17415
|
function () { return factories['io.flow.internal.v0.models.fedex'](); },
|
|
17416
|
+
function () { return factories['io.flow.internal.v0.models.fedex_api'](); },
|
|
17247
17417
|
]);
|
|
17248
17418
|
return f();
|
|
17249
17419
|
},
|
|
@@ -17645,6 +17815,8 @@ var factories = {
|
|
|
17645
17815
|
function () { return factories['io.flow.internal.v0.models.restriction_rule_deleted'](); },
|
|
17646
17816
|
function () { return factories['io.flow.internal.v0.models.restriction_rule_effect_upserted'](); },
|
|
17647
17817
|
function () { return factories['io.flow.internal.v0.models.restriction_rule_effect_deleted'](); },
|
|
17818
|
+
function () { return factories['io.flow.internal.v0.models.taxonomy_category_hs6_ref_upserted'](); },
|
|
17819
|
+
function () { return factories['io.flow.internal.v0.models.taxonomy_category_hs6_ref_deleted'](); },
|
|
17648
17820
|
function () { return factories['io.flow.internal.v0.models.shopify_shop_upserted'](); },
|
|
17649
17821
|
function () { return factories['io.flow.internal.v0.models.shopify_shop_deleted'](); },
|
|
17650
17822
|
function () { return factories['io.flow.internal.v0.models.shopify_experience_short_id_upserted'](); },
|
|
@@ -17672,6 +17844,8 @@ var factories = {
|
|
|
17672
17844
|
function () { return factories['io.flow.internal.v0.models.shopify_markets_best_selling_product_deleted'](); },
|
|
17673
17845
|
function () { return factories['io.flow.internal.v0.models.shopify_order_risk_assessment_upserted'](); },
|
|
17674
17846
|
function () { return factories['io.flow.internal.v0.models.shopify_order_risk_assessment_deleted'](); },
|
|
17847
|
+
function () { return factories['io.flow.internal.v0.models.shopify_order_transaction_upserted'](); },
|
|
17848
|
+
function () { return factories['io.flow.internal.v0.models.shopify_order_transaction_deleted'](); },
|
|
17675
17849
|
function () { return factories['io.flow.internal.v0.models.shopify_product_create_upserted'](); },
|
|
17676
17850
|
function () { return factories['io.flow.internal.v0.models.shopify_product_create_deleted'](); },
|
|
17677
17851
|
function () { return factories['io.flow.internal.v0.models.shopify_product_update_upserted'](); },
|
|
@@ -18094,6 +18268,7 @@ var factories = {
|
|
|
18094
18268
|
var f = faker.helpers.arrayElement([
|
|
18095
18269
|
function () { return factories['io.flow.internal.v0.models.statement_creation_metadata'](); },
|
|
18096
18270
|
function () { return factories['io.flow.internal.v0.models.accounting_pending_order_metadata'](); },
|
|
18271
|
+
function () { return factories['io.flow.internal.v0.models.tax_duty_reason_code_metadata'](); },
|
|
18097
18272
|
]);
|
|
18098
18273
|
return f();
|
|
18099
18274
|
},
|
|
@@ -20192,7 +20367,7 @@ var factories = {
|
|
|
20192
20367
|
'invalid_destination',
|
|
20193
20368
|
'unknown',
|
|
20194
20369
|
]); },
|
|
20195
|
-
'io.flow.payment.v0.enums.payment_fee_type': function () { return faker.helpers.arrayElement(['fx', 'mor']); },
|
|
20370
|
+
'io.flow.payment.v0.enums.payment_fee_type': function () { return faker.helpers.arrayElement(['fx', 'mor', 'sp']); },
|
|
20196
20371
|
'io.flow.payment.v0.enums.payment_source_confirmation_action_type': function () { return faker.helpers.arrayElement(['cvv', 'billing_address', 'number']); },
|
|
20197
20372
|
'io.flow.payment.v0.enums.refund_decline_code': function () { return faker.helpers.arrayElement(['expired', 'insufficient_funds', 'unknown']); },
|
|
20198
20373
|
'io.flow.payment.v0.enums.refund_failure_category': function () { return faker.helpers.arrayElement([
|
|
@@ -21789,6 +21964,8 @@ var factories = {
|
|
|
21789
21964
|
amount: factories['io.flow.common.v0.models.money'](),
|
|
21790
21965
|
starts_at: factories.date_time_iso_8601(),
|
|
21791
21966
|
ends_at: factories.date_time_iso_8601(),
|
|
21967
|
+
regions: arrayOf(function () { return factories.string(); }),
|
|
21968
|
+
dependent_service_fees: arrayOf(function () { return factories.string(); }),
|
|
21792
21969
|
}); },
|
|
21793
21970
|
'io.flow.ratecard.v0.models.ratecard': function () { return ({
|
|
21794
21971
|
id: factories.string(),
|
|
@@ -21876,6 +22053,10 @@ var factories = {
|
|
|
21876
22053
|
rate_level_key: factories.string(),
|
|
21877
22054
|
line_items: arrayOf(function () { return factories['io.flow.common.v0.models.line_item_form'](); }),
|
|
21878
22055
|
}); },
|
|
22056
|
+
'io.flow.ratecard.v0.models.ratecard_fee_summary': function () { return ({
|
|
22057
|
+
ratecard_fee: factories['io.flow.ratecard.v0.unions.ratecard_fee'](),
|
|
22058
|
+
source_service_fees: arrayOf(function () { return factories.string(); }),
|
|
22059
|
+
}); },
|
|
21879
22060
|
'io.flow.ratecard.v0.models.ratecard_form': function () { return ({
|
|
21880
22061
|
direction: factories['io.flow.label.v0.enums.direction'](),
|
|
21881
22062
|
effective_at: factories.date_time_iso_8601(),
|
|
@@ -22283,6 +22464,7 @@ var factories = {
|
|
|
22283
22464
|
]); },
|
|
22284
22465
|
'io.flow.sellability.v0.enums.sellability_request_status': function () { return faker.helpers.arrayElement(['commit']); },
|
|
22285
22466
|
'io.flow.sellability.v0.models.product_sellability': function () { return ({
|
|
22467
|
+
discriminator: 'product_sellability',
|
|
22286
22468
|
shop_id: factories.string(),
|
|
22287
22469
|
product_id: factories.string(),
|
|
22288
22470
|
request_id: factories.string(),
|
|
@@ -22304,6 +22486,7 @@ var factories = {
|
|
|
22304
22486
|
amount: factories.decimal(),
|
|
22305
22487
|
}); },
|
|
22306
22488
|
'io.flow.sellability.v0.models.sellability_error': function () { return ({
|
|
22489
|
+
discriminator: 'sellability_error',
|
|
22307
22490
|
code: factories['io.flow.sellability.v0.enums.sellability_error_code'](),
|
|
22308
22491
|
messages: arrayOf(function () { return factories.string(); }),
|
|
22309
22492
|
}); },
|
|
@@ -22311,6 +22494,13 @@ var factories = {
|
|
|
22311
22494
|
type: factories['io.flow.sellability.v0.enums.rule_effect_type'](),
|
|
22312
22495
|
regions: arrayOf(function () { return factories.string(); }),
|
|
22313
22496
|
}); },
|
|
22497
|
+
'io.flow.sellability.v0.unions.sellability_response': function () {
|
|
22498
|
+
var f = faker.helpers.arrayElement([
|
|
22499
|
+
function () { return factories['io.flow.sellability.v0.models.product_sellability'](); },
|
|
22500
|
+
function () { return factories['io.flow.sellability.v0.models.sellability_error'](); },
|
|
22501
|
+
]);
|
|
22502
|
+
return f();
|
|
22503
|
+
},
|
|
22314
22504
|
'io.flow.session.v0.models.cart_reference': function () { return ({
|
|
22315
22505
|
id: factories.string(),
|
|
22316
22506
|
}); },
|
|
@@ -23580,6 +23770,24 @@ var factories = {
|
|
|
23580
23770
|
organization: factories.string(),
|
|
23581
23771
|
assessment: factories['io.flow.shopify.markets.internal.v0.models.shopify_order_risk_assessment'](),
|
|
23582
23772
|
}); },
|
|
23773
|
+
'io.flow.shopify.markets.internal.event.v0.models.shopify_order_transaction': function () { return ({
|
|
23774
|
+
id: factories.string(),
|
|
23775
|
+
model: factories['io.flow.shopify.markets.v0.models.shopify_order_transaction'](),
|
|
23776
|
+
}); },
|
|
23777
|
+
'io.flow.shopify.markets.internal.event.v0.models.shopify_order_transaction_deleted': function () { return ({
|
|
23778
|
+
discriminator: 'shopify_order_transaction_deleted',
|
|
23779
|
+
event_id: factories.string(),
|
|
23780
|
+
timestamp: factories.date_time_iso_8601(),
|
|
23781
|
+
organization: factories.string(),
|
|
23782
|
+
id: factories.string(),
|
|
23783
|
+
}); },
|
|
23784
|
+
'io.flow.shopify.markets.internal.event.v0.models.shopify_order_transaction_upserted': function () { return ({
|
|
23785
|
+
discriminator: 'shopify_order_transaction_upserted',
|
|
23786
|
+
event_id: factories.string(),
|
|
23787
|
+
timestamp: factories.date_time_iso_8601(),
|
|
23788
|
+
organization: factories.string(),
|
|
23789
|
+
transaction: factories['io.flow.shopify.markets.internal.event.v0.models.shopify_order_transaction'](),
|
|
23790
|
+
}); },
|
|
23583
23791
|
'io.flow.shopify.markets.internal.event.v0.models.shopify_product_bundle_deleted': function () { return ({
|
|
23584
23792
|
discriminator: 'shopify_product_bundle_deleted',
|
|
23585
23793
|
event_id: factories.string(),
|
|
@@ -23619,6 +23827,8 @@ var factories = {
|
|
|
23619
23827
|
function () { return factories['io.flow.shopify.markets.internal.event.v0.models.shopify_markets_best_selling_product_deleted'](); },
|
|
23620
23828
|
function () { return factories['io.flow.shopify.markets.internal.event.v0.models.shopify_order_risk_assessment_upserted'](); },
|
|
23621
23829
|
function () { return factories['io.flow.shopify.markets.internal.event.v0.models.shopify_order_risk_assessment_deleted'](); },
|
|
23830
|
+
function () { return factories['io.flow.shopify.markets.internal.event.v0.models.shopify_order_transaction_upserted'](); },
|
|
23831
|
+
function () { return factories['io.flow.shopify.markets.internal.event.v0.models.shopify_order_transaction_deleted'](); },
|
|
23622
23832
|
]);
|
|
23623
23833
|
return f();
|
|
23624
23834
|
},
|
|
@@ -23814,6 +24024,7 @@ var factories = {
|
|
|
23814
24024
|
api_password: factories.string(),
|
|
23815
24025
|
access_token: factories.string(),
|
|
23816
24026
|
shopify_plan_name: factories['io.flow.shopify.external.v0.enums.shopify_plan_name'](),
|
|
24027
|
+
catalog_publication_owner: factories['io.flow.channel.shopify.internal.v0.enums.catalog_publication_owner'](),
|
|
23817
24028
|
}); },
|
|
23818
24029
|
'io.flow.shopify.markets.internal.v0.models.shopify_markets_shop_summary': function () { return ({
|
|
23819
24030
|
organization: factories['io.flow.common.v0.models.organization_summary'](),
|
|
@@ -27405,6 +27616,7 @@ export var makeClassificationProductSummary = function () { return factories['io
|
|
|
27405
27616
|
export var makeClassificationProductSummaryPage = function () { return factories['io.flow.internal.v0.models.classification_product_summary_page'](); };
|
|
27406
27617
|
export var makeClassificationRequeueRequest = function () { return factories['io.flow.internal.v0.models.classification_requeue_request'](); };
|
|
27407
27618
|
export var makeClassificationResponse = function () { return factories['io.flow.internal.v0.unions.classification_response'](); };
|
|
27619
|
+
export var makeClassificationScope = function () { return factories['io.flow.internal.v0.enums.classification_scope'](); };
|
|
27408
27620
|
export var makeClassificationStatistics = function () { return factories['io.flow.internal.v0.models.classification_statistics'](); };
|
|
27409
27621
|
export var makeClassificationSummaryReportPayload = function () { return factories['io.flow.internal.v0.models.classification_summary_report_payload'](); };
|
|
27410
27622
|
export var makeClassificationTaxonomy = function () { return factories['io.flow.internal.v0.unions.classification_taxonomy'](); };
|
|
@@ -27597,6 +27809,7 @@ export var makeErpVendorStatus = function () { return factories['io.flow.interna
|
|
|
27597
27809
|
export var makeErpVendorStatusEntity = function () { return factories['io.flow.internal.v0.models.erp_vendor_status_entity'](); };
|
|
27598
27810
|
export var makeErpVendorStatusFlowFile = function () { return factories['io.flow.internal.v0.models.erp_vendor_status_flow_file'](); };
|
|
27599
27811
|
export var makeErpVendorStatusPriorityFile = function () { return factories['io.flow.internal.v0.models.erp_vendor_status_priority_file'](); };
|
|
27812
|
+
export var makeEvaluationResults = function () { return factories['io.flow.internal.v0.models.evaluation_results'](); };
|
|
27600
27813
|
export var makeEvent = function () { return factories['io.flow.internal.v0.unions.event'](); };
|
|
27601
27814
|
export var makeEventType = function () { return factories['io.flow.internal.v0.enums.event_type'](); };
|
|
27602
27815
|
export var makeExclusionRuleDeleted = function () { return factories['io.flow.internal.v0.models.exclusion_rule_deleted'](); };
|
|
@@ -27650,6 +27863,7 @@ export var makeFeatureValue = function () { return factories['io.flow.internal.v
|
|
|
27650
27863
|
export var makeFeatureValueForm = function () { return factories['io.flow.internal.v0.models.feature_value_form'](); };
|
|
27651
27864
|
export var makeFeatureValueResult = function () { return factories['io.flow.internal.v0.models.feature_value_result'](); };
|
|
27652
27865
|
export var makeFedex = function () { return factories['io.flow.internal.v0.models.fedex'](); };
|
|
27866
|
+
export var makeFedexApi = function () { return factories['io.flow.internal.v0.models.fedex_api'](); };
|
|
27653
27867
|
export var makeFedexCrossborder = function () { return factories['io.flow.internal.v0.models.fedex_crossborder'](); };
|
|
27654
27868
|
export var makeFee = function () { return factories['io.flow.internal.v0.models.fee'](); };
|
|
27655
27869
|
export var makeFees = function () { return factories['io.flow.internal.v0.models.fees'](); };
|
|
@@ -28069,6 +28283,7 @@ export var makeOrderLifecycleEvent = function () { return factories['io.flow.int
|
|
|
28069
28283
|
export var makeOrderNote = function () { return factories['io.flow.internal.v0.models.order_note'](); };
|
|
28070
28284
|
export var makeOrderNoteForm = function () { return factories['io.flow.internal.v0.models.order_note_form'](); };
|
|
28071
28285
|
export var makeOrderPaymentAuthorization = function () { return factories['io.flow.internal.v0.models.order_payment_authorization'](); };
|
|
28286
|
+
export var makeOrderPaymentSourceType = function () { return factories['io.flow.internal.v0.enums.order_payment_source_type'](); };
|
|
28072
28287
|
export var makeOrderRatesDataV3 = function () { return factories['io.flow.internal.v0.models.order_rates_data_v3'](); };
|
|
28073
28288
|
export var makeOrderRatesPublishedV3 = function () { return factories['io.flow.internal.v0.models.order_rates_published_v3'](); };
|
|
28074
28289
|
export var makeOrderReference = function () { return factories['io.flow.internal.v0.models.order_reference'](); };
|
|
@@ -28296,6 +28511,7 @@ export var makeProductRestrictionStateDeleted = function () { return factories['
|
|
|
28296
28511
|
export var makeProductRestrictionStateInserted = function () { return factories['io.flow.internal.v0.models.product_restriction_state_inserted'](); };
|
|
28297
28512
|
export var makeProductRestrictionStateUpdated = function () { return factories['io.flow.internal.v0.models.product_restriction_state_updated'](); };
|
|
28298
28513
|
export var makeProductReviewHistory = function () { return factories['io.flow.internal.v0.models.product_review_history'](); };
|
|
28514
|
+
export var makeProductSellabilityInternal = function () { return factories['io.flow.internal.v0.models.product_sellability_internal'](); };
|
|
28299
28515
|
export var makeProductSellabilityResult = function () { return factories['io.flow.internal.v0.models.product_sellability_result'](); };
|
|
28300
28516
|
export var makeProductStatus = function () { return factories['io.flow.internal.v0.enums.product_status'](); };
|
|
28301
28517
|
export var makeProductTransaction = function () { return factories['io.flow.internal.v0.models.product_transaction'](); };
|
|
@@ -28471,6 +28687,7 @@ export var makeRestrictionRuleEffectUpserted = function () { return factories['i
|
|
|
28471
28687
|
export var makeRestrictionRuleExceptionAction = function () { return factories['io.flow.internal.v0.enums.restriction_rule_exception_action'](); };
|
|
28472
28688
|
export var makeRestrictionRuleForm = function () { return factories['io.flow.internal.v0.models.restriction_rule_form'](); };
|
|
28473
28689
|
export var makeRestrictionRuleLaneExemption = function () { return factories['io.flow.internal.v0.models.restriction_rule_lane_exemption'](); };
|
|
28690
|
+
export var makeRestrictionRuleOrganizationExemption = function () { return factories['io.flow.internal.v0.models.restriction_rule_organization_exemption'](); };
|
|
28474
28691
|
export var makeRestrictionRuleOverride = function () { return factories['io.flow.internal.v0.models.restriction_rule_override'](); };
|
|
28475
28692
|
export var makeRestrictionRuleSummary = function () { return factories['io.flow.internal.v0.models.restriction_rule_summary'](); };
|
|
28476
28693
|
export var makeRestrictionRuleUpserted = function () { return factories['io.flow.internal.v0.models.restriction_rule_upserted'](); };
|
|
@@ -28484,8 +28701,6 @@ export var makeResyncByDestinations = function () { return factories['io.flow.in
|
|
|
28484
28701
|
export var makeResyncByHs6Destinations = function () { return factories['io.flow.internal.v0.models.resync_by_hs6_destinations'](); };
|
|
28485
28702
|
export var makeResyncByHs6Origin = function () { return factories['io.flow.internal.v0.models.resync_by_hs6_origin'](); };
|
|
28486
28703
|
export var makeResyncFallbackRates = function () { return factories['io.flow.internal.v0.models.resync_fallback_rates'](); };
|
|
28487
|
-
export var makeRetracking = function () { return factories['io.flow.internal.v0.models.retracking'](); };
|
|
28488
|
-
export var makeRetrackingForm = function () { return factories['io.flow.internal.v0.models.retracking_form'](); };
|
|
28489
28704
|
export var makeReturn = function () { return factories['io.flow.internal.v0.models.return'](); };
|
|
28490
28705
|
export var makeReturnPolicyDeleted = function () { return factories['io.flow.internal.v0.models.return_policy_deleted'](); };
|
|
28491
28706
|
export var makeReturnPolicyItemResultDeleted = function () { return factories['io.flow.internal.v0.models.return_policy_item_result_deleted'](); };
|
|
@@ -28630,6 +28845,9 @@ export var makeShopifyOrderLineContent = function () { return factories['io.flow
|
|
|
28630
28845
|
export var makeShopifyOrderRiskAssessment = function () { return factories['io.flow.internal.v0.models.shopify_order_risk_assessment'](); };
|
|
28631
28846
|
export var makeShopifyOrderRiskAssessmentDeleted = function () { return factories['io.flow.internal.v0.models.shopify_order_risk_assessment_deleted'](); };
|
|
28632
28847
|
export var makeShopifyOrderRiskAssessmentUpserted = function () { return factories['io.flow.internal.v0.models.shopify_order_risk_assessment_upserted'](); };
|
|
28848
|
+
export var makeShopifyOrderTransaction = function () { return factories['io.flow.internal.v0.models.shopify_order_transaction'](); };
|
|
28849
|
+
export var makeShopifyOrderTransactionDeleted = function () { return factories['io.flow.internal.v0.models.shopify_order_transaction_deleted'](); };
|
|
28850
|
+
export var makeShopifyOrderTransactionUpserted = function () { return factories['io.flow.internal.v0.models.shopify_order_transaction_upserted'](); };
|
|
28633
28851
|
export var makeShopifyOrganizationSettings = function () { return factories['io.flow.internal.v0.models.shopify_organization_settings'](); };
|
|
28634
28852
|
export var makeShopifyOrganizationSettingsForm = function () { return factories['io.flow.internal.v0.models.shopify_organization_settings_form'](); };
|
|
28635
28853
|
export var makeShopifyPartnerWebhook = function () { return factories['io.flow.internal.v0.models.shopify_partner_webhook'](); };
|
|
@@ -28782,6 +29000,7 @@ export var makeTaxCalculationErrorCode = function () { return factories['io.flow
|
|
|
28782
29000
|
export var makeTaxCalculationForm = function () { return factories['io.flow.internal.v0.models.tax_calculation_form'](); };
|
|
28783
29001
|
export var makeTaxCalculationLineItem = function () { return factories['io.flow.internal.v0.models.tax_calculation_line_item'](); };
|
|
28784
29002
|
export var makeTaxCalculationLineItemForm = function () { return factories['io.flow.internal.v0.models.tax_calculation_line_item_form'](); };
|
|
29003
|
+
export var makeTaxDutyReasonCodeMetadata = function () { return factories['io.flow.internal.v0.models.tax_duty_reason_code_metadata'](); };
|
|
28785
29004
|
export var makeTaxParty = function () { return factories['io.flow.internal.v0.enums.tax_party'](); };
|
|
28786
29005
|
export var makeTaxRemittanceTransaction = function () { return factories['io.flow.internal.v0.models.tax_remittance_transaction'](); };
|
|
28787
29006
|
export var makeTaxRemittanceTransactionDeleted = function () { return factories['io.flow.internal.v0.models.tax_remittance_transaction_deleted'](); };
|
|
@@ -28791,6 +29010,9 @@ export var makeTaxTransactionDeleted = function () { return factories['io.flow.i
|
|
|
28791
29010
|
export var makeTaxTransactionType = function () { return factories['io.flow.internal.v0.enums.tax_transaction_type'](); };
|
|
28792
29011
|
export var makeTaxTransactionUpserted = function () { return factories['io.flow.internal.v0.models.tax_transaction_upserted'](); };
|
|
28793
29012
|
export var makeTaxonomyCategory = function () { return factories['io.flow.internal.v0.models.taxonomy_category'](); };
|
|
29013
|
+
export var makeTaxonomyCategoryHs6Ref = function () { return factories['io.flow.internal.v0.models.taxonomy_category_hs6_ref'](); };
|
|
29014
|
+
export var makeTaxonomyCategoryHs6RefDeleted = function () { return factories['io.flow.internal.v0.models.taxonomy_category_hs6_ref_deleted'](); };
|
|
29015
|
+
export var makeTaxonomyCategoryHs6RefUpserted = function () { return factories['io.flow.internal.v0.models.taxonomy_category_hs6_ref_upserted'](); };
|
|
28794
29016
|
export var makeTaxonomyNode = function () { return factories['io.flow.internal.v0.models.taxonomy_node'](); };
|
|
28795
29017
|
export var makeTechOnboardingDescription = function () { return factories['io.flow.internal.v0.models.tech_onboarding_description'](); };
|
|
28796
29018
|
export var makeTest = function () { return factories['io.flow.internal.v0.models.test'](); };
|
|
@@ -28837,7 +29059,6 @@ export var makeTrackingProcessingErrorUpserted = function () { return factories[
|
|
|
28837
29059
|
export var makeTrackingProcessingFailureClassification = function () { return factories['io.flow.internal.v0.enums.tracking_processing_failure_classification'](); };
|
|
28838
29060
|
export var makeTrackingRequest = function () { return factories['io.flow.internal.v0.models.tracking_request'](); };
|
|
28839
29061
|
export var makeTrackingResponse = function () { return factories['io.flow.internal.v0.models.tracking_response'](); };
|
|
28840
|
-
export var makeTrackingResync = function () { return factories['io.flow.internal.v0.models.tracking_resync'](); };
|
|
28841
29062
|
export var makeTrackingSubscription = function () { return factories['io.flow.internal.v0.models.tracking_subscription'](); };
|
|
28842
29063
|
export var makeTrackingSubscriptionDeleted = function () { return factories['io.flow.internal.v0.models.tracking_subscription_deleted'](); };
|
|
28843
29064
|
export var makeTrackingSubscriptionUpserted = function () { return factories['io.flow.internal.v0.models.tracking_subscription_upserted'](); };
|