@flowio/api-internal-factories 0.0.127 → 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 +300 -58
- package/dist/esm/api-internal.js +251 -21
- package/dist/types/api-internal.d.ts +15 -3
- package/package.json +2 -2
- package/src/api-internal.ts +284 -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',
|
|
@@ -5848,6 +5926,7 @@ var factories = {
|
|
|
5848
5926
|
'price_book_items_import',
|
|
5849
5927
|
'price_book_items_query_import',
|
|
5850
5928
|
]); },
|
|
5929
|
+
'io.flow.internal.v0.enums.catalog_publication_owner': function () { return faker.helpers.arrayElement(['shopify', 'globale']); },
|
|
5851
5930
|
'io.flow.internal.v0.enums.channel_billed_transaction_type': function () { return faker.helpers.arrayElement(['adjustment', 'reversal', 'channel_initiated']); },
|
|
5852
5931
|
'io.flow.internal.v0.enums.channel_order_acceptance_error_action': function () { return faker.helpers.arrayElement(['auto_reject', 'auto_accept']); },
|
|
5853
5932
|
'io.flow.internal.v0.enums.channel_order_acceptance_failure_reason_code': function () { return faker.helpers.arrayElement(['channel_order_mor_invalid', 'channel_order_does_not_exist']); },
|
|
@@ -5927,6 +6006,7 @@ var factories = {
|
|
|
5927
6006
|
'io.flow.internal.v0.enums.classification_decision': function () { return faker.helpers.arrayElement(['Accept', 'Reject']); },
|
|
5928
6007
|
'io.flow.internal.v0.enums.classification_error_code': function () { return faker.helpers.arrayElement(['generic_error']); },
|
|
5929
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']); },
|
|
5930
6010
|
'io.flow.internal.v0.enums.classification_type': function () { return faker.helpers.arrayElement(['None', 'Manual', 'ML', 'System']); },
|
|
5931
6011
|
'io.flow.internal.v0.enums.clothing_age_classification': function () { return faker.helpers.arrayElement(['None', 'AgeKidsGeneral', 'Age0_10', 'Age10_13', 'Age13_14']); },
|
|
5932
6012
|
'io.flow.internal.v0.enums.commercial_invoice_version': function () { return faker.helpers.arrayElement(['v2_2_1']); },
|
|
@@ -6267,6 +6347,8 @@ var factories = {
|
|
|
6267
6347
|
'restriction_rule_deleted',
|
|
6268
6348
|
'restriction_rule_effect_upserted',
|
|
6269
6349
|
'restriction_rule_effect_deleted',
|
|
6350
|
+
'taxonomy_category_hs6_ref_upserted',
|
|
6351
|
+
'taxonomy_category_hs6_ref_deleted',
|
|
6270
6352
|
'shopify_shop_upserted',
|
|
6271
6353
|
'shopify_shop_deleted',
|
|
6272
6354
|
'shopify_experience_short_id_upserted',
|
|
@@ -6294,6 +6376,8 @@ var factories = {
|
|
|
6294
6376
|
'shopify_markets_best_selling_product_deleted',
|
|
6295
6377
|
'shopify_order_risk_assessment_upserted',
|
|
6296
6378
|
'shopify_order_risk_assessment_deleted',
|
|
6379
|
+
'shopify_order_transaction_upserted',
|
|
6380
|
+
'shopify_order_transaction_deleted',
|
|
6297
6381
|
'shopify_product_create_upserted',
|
|
6298
6382
|
'shopify_product_create_deleted',
|
|
6299
6383
|
'shopify_product_update_upserted',
|
|
@@ -6385,7 +6469,7 @@ var factories = {
|
|
|
6385
6469
|
'sync_product_catalog',
|
|
6386
6470
|
'shopify_webhook',
|
|
6387
6471
|
]); },
|
|
6388
|
-
'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']); },
|
|
6389
6473
|
'io.flow.internal.v0.enums.http_method': function () { return faker.helpers.arrayElement(['get', 'post']); },
|
|
6390
6474
|
'io.flow.internal.v0.enums.internal_payment_entity_type': function () { return faker.helpers.arrayElement(['authorization', 'capture', 'refund', 'dispute']); },
|
|
6391
6475
|
'io.flow.internal.v0.enums.item_classification_action': function () { return faker.helpers.arrayElement(['ACCEPT', 'MANUAL', 'REJECT']); },
|
|
@@ -6450,7 +6534,7 @@ var factories = {
|
|
|
6450
6534
|
'global_e_canada',
|
|
6451
6535
|
'global_e_netherlands',
|
|
6452
6536
|
]); },
|
|
6453
|
-
'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']); },
|
|
6454
6538
|
'io.flow.internal.v0.enums.mixed_bag_weight': function () { return faker.helpers.arrayElement(['0', '1', '2']); },
|
|
6455
6539
|
'io.flow.internal.v0.enums.nature_of_sale': function () { return faker.helpers.arrayElement([
|
|
6456
6540
|
'consumer',
|
|
@@ -6522,6 +6606,7 @@ var factories = {
|
|
|
6522
6606
|
'io.flow.internal.v0.enums.order_cancellation_initiated_by': function () { return faker.helpers.arrayElement(['flow', 'organization']); },
|
|
6523
6607
|
'io.flow.internal.v0.enums.order_charge_trigger': function () { return faker.helpers.arrayElement(['first_shipment', 'last_shipment', 'shipment_exhausted']); },
|
|
6524
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']); },
|
|
6525
6610
|
'io.flow.internal.v0.enums.order_transaction_type': function () { return faker.helpers.arrayElement(['adjustment', 'reversal', 'order_service']); },
|
|
6526
6611
|
'io.flow.internal.v0.enums.order_validation_status': function () { return faker.helpers.arrayElement([
|
|
6527
6612
|
'success',
|
|
@@ -8385,7 +8470,7 @@ var factories = {
|
|
|
8385
8470
|
order_created_at: factories.date_time_iso_8601(),
|
|
8386
8471
|
order_updated_at: factories.date_time_iso_8601(),
|
|
8387
8472
|
order_edit_summary: factories['io.flow.internal.v0.models.order_edit_summary'](),
|
|
8388
|
-
payment_source: factories['io.flow.
|
|
8473
|
+
payment_source: factories['io.flow.internal.v0.enums.order_payment_source_type'](),
|
|
8389
8474
|
}); },
|
|
8390
8475
|
'io.flow.internal.v0.models.channel_order_acceptance_deleted': function () { return ({
|
|
8391
8476
|
discriminator: 'channel_order_acceptance_deleted',
|
|
@@ -9250,6 +9335,7 @@ var factories = {
|
|
|
9250
9335
|
total: factories['io.flow.common.v0.models.money_with_base'](),
|
|
9251
9336
|
identifiers: objectOf(function () { return factories.string(); }),
|
|
9252
9337
|
submitted_at: factories.date_time_iso_8601(),
|
|
9338
|
+
payment_source: factories['io.flow.experience.v0.enums.order_payment_source_type'](),
|
|
9253
9339
|
}); },
|
|
9254
9340
|
'io.flow.internal.v0.models.debug_order_transaction': function () { return ({
|
|
9255
9341
|
order: factories['io.flow.internal.v0.models.debug_order'](),
|
|
@@ -9893,6 +9979,11 @@ var factories = {
|
|
|
9893
9979
|
errors: arrayOf(function () { return factories.string(); }),
|
|
9894
9980
|
processed_at: factories.date_time_iso_8601(),
|
|
9895
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
|
+
}); },
|
|
9896
9987
|
'io.flow.internal.v0.models.exclusion_rule_deleted': function () { return ({
|
|
9897
9988
|
discriminator: 'exclusion_rule_deleted',
|
|
9898
9989
|
event_id: factories.string(),
|
|
@@ -10125,6 +10216,12 @@ var factories = {
|
|
|
10125
10216
|
account_number: factories.string(),
|
|
10126
10217
|
meter_number: factories.string(),
|
|
10127
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
|
+
}); },
|
|
10128
10225
|
'io.flow.internal.v0.models.fedex_crossborder': function () { return ({
|
|
10129
10226
|
discriminator: 'fedex_crossborder',
|
|
10130
10227
|
api_key: factories.string(),
|
|
@@ -10142,6 +10239,7 @@ var factories = {
|
|
|
10142
10239
|
duty_guarantee: factories['io.flow.internal.v0.models.fee'](),
|
|
10143
10240
|
transfer: factories['io.flow.internal.v0.models.fee'](),
|
|
10144
10241
|
negative_balance: factories['io.flow.internal.v0.models.fee'](),
|
|
10242
|
+
sp: factories['io.flow.internal.v0.models.fee'](),
|
|
10145
10243
|
}); },
|
|
10146
10244
|
'io.flow.internal.v0.models.finance_bank_account': function () { return ({
|
|
10147
10245
|
id: factories.string(),
|
|
@@ -11323,6 +11421,7 @@ var factories = {
|
|
|
11323
11421
|
status: factories['io.flow.internal.v0.enums.item_harmonization_status'](),
|
|
11324
11422
|
tariffs: objectOf(function () { return factories['io.flow.internal.v0.models.tariff_code_duty'](); }),
|
|
11325
11423
|
decision_source: factories['io.flow.internal.v0.enums.harmonization_decision_source'](),
|
|
11424
|
+
classification_scope: factories['io.flow.internal.v0.enums.classification_scope'](),
|
|
11326
11425
|
created_at: factories.date_time_iso_8601(),
|
|
11327
11426
|
updated_at: factories.date_time_iso_8601(),
|
|
11328
11427
|
updated_by_user_id: factories.string(),
|
|
@@ -12165,6 +12264,7 @@ var factories = {
|
|
|
12165
12264
|
status: factories['io.flow.internal.v0.enums.merchant_override_status'](),
|
|
12166
12265
|
hs6_code: factories.string(),
|
|
12167
12266
|
merchant_hs6_code: factories.string(),
|
|
12267
|
+
evaluation_results: factories['io.flow.internal.v0.models.evaluation_results'](),
|
|
12168
12268
|
created_at: factories.date_time_iso_8601(),
|
|
12169
12269
|
updated_at: factories.date_time_iso_8601(),
|
|
12170
12270
|
updated_by_user_id: factories.string(),
|
|
@@ -12857,6 +12957,7 @@ var factories = {
|
|
|
12857
12957
|
organization_id: factories.string(),
|
|
12858
12958
|
pending_restriction_count: factories.long(),
|
|
12859
12959
|
pending_verification_count: factories.long(),
|
|
12960
|
+
pending_classification_count: factories.long(),
|
|
12860
12961
|
oldest_pending_restriction_date: factories.date_time_iso_8601(),
|
|
12861
12962
|
oldest_pending_verification_date: factories.date_time_iso_8601(),
|
|
12862
12963
|
product_count: factories.long(),
|
|
@@ -13855,6 +13956,7 @@ var factories = {
|
|
|
13855
13956
|
review_status: factories['io.flow.internal.v0.enums.restriction_state_review_status'](),
|
|
13856
13957
|
pending_restriction_count: factories.long(),
|
|
13857
13958
|
pending_verification_count: factories.long(),
|
|
13959
|
+
pending_classification_count: factories.long(),
|
|
13858
13960
|
oldest_pending_restriction_date: factories.date_time_iso_8601(),
|
|
13859
13961
|
oldest_pending_verification_date: factories.date_time_iso_8601(),
|
|
13860
13962
|
}); },
|
|
@@ -13884,12 +13986,21 @@ var factories = {
|
|
|
13884
13986
|
product_id: factories.string(),
|
|
13885
13987
|
reviews: arrayOf(function () { return factories['io.flow.internal.v0.models.restriction_history_item_review_decision'](); }),
|
|
13886
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
|
+
}); },
|
|
13887
13997
|
'io.flow.internal.v0.models.product_sellability_result': function () { return ({
|
|
13888
13998
|
shop_id: factories.string(),
|
|
13889
13999
|
product_number: factories.string(),
|
|
13890
14000
|
request_id: factories.string(),
|
|
13891
14001
|
hs6_code: factories.string(),
|
|
13892
14002
|
restricted_regions: arrayOf(function () { return factories.string(); }),
|
|
14003
|
+
rule_ids: arrayOf(function () { return factories.string(); }),
|
|
13893
14004
|
}); },
|
|
13894
14005
|
'io.flow.internal.v0.models.product_transaction': function () { return ({
|
|
13895
14006
|
transaction_amount: factories.decimal(),
|
|
@@ -14361,6 +14472,7 @@ var factories = {
|
|
|
14361
14472
|
}); },
|
|
14362
14473
|
'io.flow.internal.v0.models.report_filter': function () { return ({
|
|
14363
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'](),
|
|
14364
14476
|
}); },
|
|
14365
14477
|
'io.flow.internal.v0.models.report_form': function () { return ({
|
|
14366
14478
|
type: factories['io.flow.internal.v0.enums.report_type'](),
|
|
@@ -14549,7 +14661,7 @@ var factories = {
|
|
|
14549
14661
|
id: factories.string(),
|
|
14550
14662
|
number: factories.string(),
|
|
14551
14663
|
submitted_at: factories.date_time_iso_8601(),
|
|
14552
|
-
payment_source: factories.
|
|
14664
|
+
payment_source: factories['io.flow.experience.v0.enums.order_payment_source_type'](),
|
|
14553
14665
|
}); },
|
|
14554
14666
|
'io.flow.internal.v0.models.reporting_organization_summary': function () { return ({
|
|
14555
14667
|
id: factories.string(),
|
|
@@ -14643,7 +14755,9 @@ var factories = {
|
|
|
14643
14755
|
name: factories.string(),
|
|
14644
14756
|
price: factories['io.flow.common.v0.models.price'](),
|
|
14645
14757
|
hs_code: factories.string(),
|
|
14758
|
+
hs_code_source: factories['io.flow.internal.v0.enums.harmonization_decision_source'](),
|
|
14646
14759
|
description: factories.string(),
|
|
14760
|
+
category: factories.string(),
|
|
14647
14761
|
categories: arrayOf(function () { return factories.string(); }),
|
|
14648
14762
|
images: arrayOf(function () { return factories['io.flow.catalog.v0.models.image'](); }),
|
|
14649
14763
|
thumbnails: arrayOf(function () { return factories['io.flow.catalog.v0.models.image'](); }),
|
|
@@ -14658,6 +14772,7 @@ var factories = {
|
|
|
14658
14772
|
rule_ids: arrayOf(function () { return factories.string(); }),
|
|
14659
14773
|
user_ids: arrayOf(function () { return factories.string(); }),
|
|
14660
14774
|
categories: arrayOf(function () { return factories.string(); }),
|
|
14775
|
+
category: factories.string(),
|
|
14661
14776
|
product_name_query: factories.string(),
|
|
14662
14777
|
hs6: factories.string(),
|
|
14663
14778
|
positive_keywords: arrayOf(function () { return factories.string(); }),
|
|
@@ -14750,10 +14865,12 @@ var factories = {
|
|
|
14750
14865
|
item_numbers: arrayOf(function () { return factories.string(); }),
|
|
14751
14866
|
primary_item_number: factories.string(),
|
|
14752
14867
|
description: factories.string(),
|
|
14868
|
+
category: factories.string(),
|
|
14753
14869
|
categories: arrayOf(function () { return factories.string(); }),
|
|
14754
14870
|
images: arrayOf(function () { return factories['io.flow.catalog.v0.models.image'](); }),
|
|
14755
14871
|
thumbnails: arrayOf(function () { return factories['io.flow.catalog.v0.models.image'](); }),
|
|
14756
14872
|
hs_code: factories.string(),
|
|
14873
|
+
hs_code_source: factories['io.flow.internal.v0.enums.harmonization_decision_source'](),
|
|
14757
14874
|
url: factories.string(),
|
|
14758
14875
|
reviews: arrayOf(function () { return factories['io.flow.internal.v0.models.restriction_item_review'](); }),
|
|
14759
14876
|
created_at: factories.date_time_iso_8601(),
|
|
@@ -14769,6 +14886,7 @@ var factories = {
|
|
|
14769
14886
|
negative_keywords: arrayOf(function () { return factories.string(); }),
|
|
14770
14887
|
user_ids: arrayOf(function () { return factories.string(); }),
|
|
14771
14888
|
categories: arrayOf(function () { return factories.string(); }),
|
|
14889
|
+
category: factories.string(),
|
|
14772
14890
|
product_name_query: factories.string(),
|
|
14773
14891
|
hs6: factories.string(),
|
|
14774
14892
|
product_id: factories.string(),
|
|
@@ -14846,6 +14964,16 @@ var factories = {
|
|
|
14846
14964
|
origin_countries: arrayOf(function () { return factories.string(); }),
|
|
14847
14965
|
destination_countries: arrayOf(function () { return factories.string(); }),
|
|
14848
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
|
+
}); },
|
|
14849
14977
|
'io.flow.internal.v0.models.restriction_rule_override': function () { return ({
|
|
14850
14978
|
id: factories.string(),
|
|
14851
14979
|
organization_id: factories.string(),
|
|
@@ -14866,6 +14994,7 @@ var factories = {
|
|
|
14866
14994
|
'io.flow.internal.v0.models.restriction_summary_counts': function () { return ({
|
|
14867
14995
|
pending_restriction_count: factories.long(),
|
|
14868
14996
|
pending_verification_count: factories.long(),
|
|
14997
|
+
pending_classification_count: factories.long(),
|
|
14869
14998
|
}); },
|
|
14870
14999
|
'io.flow.internal.v0.models.restrictions_dailyops': function () { return ({
|
|
14871
15000
|
id: factories.string(),
|
|
@@ -14895,6 +15024,16 @@ var factories = {
|
|
|
14895
15024
|
oldest_insufficient_details_pv_onboarding: factories.date_iso_8601(),
|
|
14896
15025
|
oldest_insufficient_details_pv_active: factories.date_iso_8601(),
|
|
14897
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(),
|
|
14898
15037
|
}); },
|
|
14899
15038
|
'io.flow.internal.v0.models.restrictions_dailyops_deleted': function () { return ({
|
|
14900
15039
|
discriminator: 'restrictions_dailyops_deleted',
|
|
@@ -14923,14 +15062,6 @@ var factories = {
|
|
|
14923
15062
|
'io.flow.internal.v0.models.resync_fallback_rates': function () { return ({
|
|
14924
15063
|
destinations: arrayOf(function () { return factories['io.flow.reference.v0.models.country'](); }),
|
|
14925
15064
|
}); },
|
|
14926
|
-
'io.flow.internal.v0.models.retracking': function () { return ({
|
|
14927
|
-
carrier: factories.string(),
|
|
14928
|
-
tracking_number: factories.string(),
|
|
14929
|
-
}); },
|
|
14930
|
-
'io.flow.internal.v0.models.retracking_form': function () { return ({
|
|
14931
|
-
carrier: factories.string(),
|
|
14932
|
-
carrier_tracking_numbers: arrayOf(function () { return factories.string(); }),
|
|
14933
|
-
}); },
|
|
14934
15065
|
'io.flow.internal.v0.models.return': function () { return ({
|
|
14935
15066
|
id: factories.string(),
|
|
14936
15067
|
order: factories['io.flow.internal.v0.models.order_summary'](),
|
|
@@ -15186,6 +15317,9 @@ var factories = {
|
|
|
15186
15317
|
type: factories['io.flow.common.v0.enums.change_type'](),
|
|
15187
15318
|
shop: factories['io.flow.internal.v0.models.shop'](),
|
|
15188
15319
|
}); },
|
|
15320
|
+
'io.flow.internal.v0.models.shopify_catalog_publication': function () { return ({
|
|
15321
|
+
owner: factories['io.flow.internal.v0.enums.catalog_publication_owner'](),
|
|
15322
|
+
}); },
|
|
15189
15323
|
'io.flow.internal.v0.models.shopify_channel_organization_token': function () { return ({
|
|
15190
15324
|
cleartext: factories.string(),
|
|
15191
15325
|
}); },
|
|
@@ -15481,6 +15615,7 @@ var factories = {
|
|
|
15481
15615
|
api_password: factories.string(),
|
|
15482
15616
|
access_token: factories.string(),
|
|
15483
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'](),
|
|
15484
15619
|
}); },
|
|
15485
15620
|
'io.flow.internal.v0.models.shopify_markets_shop_statistics_deleted': function () { return ({
|
|
15486
15621
|
discriminator: 'shopify_markets_shop_statistics_deleted',
|
|
@@ -15555,6 +15690,7 @@ var factories = {
|
|
|
15555
15690
|
'io.flow.internal.v0.models.shopify_metadata': function () { return ({
|
|
15556
15691
|
domain: factories.string(),
|
|
15557
15692
|
myshopify_domain: factories.string(),
|
|
15693
|
+
catalog_publication: factories['io.flow.internal.v0.models.shopify_catalog_publication'](),
|
|
15558
15694
|
token: factories.string(),
|
|
15559
15695
|
}); },
|
|
15560
15696
|
'io.flow.internal.v0.models.shopify_monitoring_carrier_service': function () { return ({
|
|
@@ -15698,6 +15834,24 @@ var factories = {
|
|
|
15698
15834
|
organization: factories.string(),
|
|
15699
15835
|
assessment: factories['io.flow.internal.v0.models.shopify_order_risk_assessment'](),
|
|
15700
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
|
+
}); },
|
|
15701
15855
|
'io.flow.internal.v0.models.shopify_organization_settings': function () { return ({
|
|
15702
15856
|
id: factories.string(),
|
|
15703
15857
|
process_label: factories.boolean(),
|
|
@@ -16233,6 +16387,7 @@ var factories = {
|
|
|
16233
16387
|
import_taxes: factories.integer(),
|
|
16234
16388
|
mor_fees: factories.integer(),
|
|
16235
16389
|
mor_foreign_exchange_fees: factories.integer(),
|
|
16390
|
+
sp_processing_fees: factories.integer(),
|
|
16236
16391
|
}); },
|
|
16237
16392
|
'io.flow.internal.v0.models.stripe_connect_report_record_transfer_metadata': function () { return ({
|
|
16238
16393
|
discriminator: 'stripe_connect_report_record_transfer_metadata',
|
|
@@ -16247,6 +16402,7 @@ var factories = {
|
|
|
16247
16402
|
import_taxes: factories.integer(),
|
|
16248
16403
|
mor_fees: factories.integer(),
|
|
16249
16404
|
mor_foreign_exchange_fees: factories.integer(),
|
|
16405
|
+
sp_processing_fees: factories.integer(),
|
|
16250
16406
|
merchant_account_currency: factories.string(),
|
|
16251
16407
|
amount_in_merchant_account_currency: factories.integer(),
|
|
16252
16408
|
payout_exchange_rate: factories.decimal(),
|
|
@@ -16525,6 +16681,10 @@ var factories = {
|
|
|
16525
16681
|
description: factories.string(),
|
|
16526
16682
|
category_code: factories.string(),
|
|
16527
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
|
+
}); },
|
|
16528
16688
|
'io.flow.internal.v0.models.tax_remittance_transaction': function () { return ({
|
|
16529
16689
|
discriminator: 'tax_remittance_transaction',
|
|
16530
16690
|
order: factories['io.flow.internal.v0.models.billing_order_summary'](),
|
|
@@ -16581,6 +16741,24 @@ var factories = {
|
|
|
16581
16741
|
name: factories.string(),
|
|
16582
16742
|
children: arrayOf(function () { return factories['io.flow.internal.v0.unions.classification_taxonomy'](); }),
|
|
16583
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
|
+
}); },
|
|
16584
16762
|
'io.flow.internal.v0.models.taxonomy_node': function () { return ({
|
|
16585
16763
|
id: factories.string(),
|
|
16586
16764
|
children: arrayOf(function () { return factories['io.flow.internal.v0.models.taxonomy_node'](); }),
|
|
@@ -16848,9 +17026,6 @@ var factories = {
|
|
|
16848
17026
|
flow_tracking_number: factories.string(),
|
|
16849
17027
|
tracking_events: arrayOf(function () { return factories['io.flow.internal.v0.models.tracking_event'](); }),
|
|
16850
17028
|
}); },
|
|
16851
|
-
'io.flow.internal.v0.models.tracking_resync': function () { return ({
|
|
16852
|
-
placeholder: factories.boolean(),
|
|
16853
|
-
}); },
|
|
16854
17029
|
'io.flow.internal.v0.models.tracking_subscription': function () { return ({
|
|
16855
17030
|
id: factories.string(),
|
|
16856
17031
|
organization_id: factories.string(),
|
|
@@ -17142,6 +17317,7 @@ var factories = {
|
|
|
17142
17317
|
additional_services_requested: arrayOf(function () { return factories['io.flow.label.v0.models.additional_services_requested'](); }),
|
|
17143
17318
|
provided_charges: arrayOf(function () { return factories['io.flow.internal.v0.models.charge_input'](); }),
|
|
17144
17319
|
direction: factories['io.flow.label.v0.enums.direction'](),
|
|
17320
|
+
package_dimensions_source: factories['io.flow.label.v0.enums.package_dimensions_source'](),
|
|
17145
17321
|
}); },
|
|
17146
17322
|
'io.flow.internal.v0.models.validation_character_length': function () { return ({
|
|
17147
17323
|
discriminator: 'validation_character_length',
|
|
@@ -17237,6 +17413,7 @@ var factories = {
|
|
|
17237
17413
|
function () { return factories['io.flow.internal.v0.models.fedex_crossborder'](); },
|
|
17238
17414
|
function () { return factories['io.flow.internal.v0.models.ups'](); },
|
|
17239
17415
|
function () { return factories['io.flow.internal.v0.models.fedex'](); },
|
|
17416
|
+
function () { return factories['io.flow.internal.v0.models.fedex_api'](); },
|
|
17240
17417
|
]);
|
|
17241
17418
|
return f();
|
|
17242
17419
|
},
|
|
@@ -17638,6 +17815,8 @@ var factories = {
|
|
|
17638
17815
|
function () { return factories['io.flow.internal.v0.models.restriction_rule_deleted'](); },
|
|
17639
17816
|
function () { return factories['io.flow.internal.v0.models.restriction_rule_effect_upserted'](); },
|
|
17640
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'](); },
|
|
17641
17820
|
function () { return factories['io.flow.internal.v0.models.shopify_shop_upserted'](); },
|
|
17642
17821
|
function () { return factories['io.flow.internal.v0.models.shopify_shop_deleted'](); },
|
|
17643
17822
|
function () { return factories['io.flow.internal.v0.models.shopify_experience_short_id_upserted'](); },
|
|
@@ -17665,6 +17844,8 @@ var factories = {
|
|
|
17665
17844
|
function () { return factories['io.flow.internal.v0.models.shopify_markets_best_selling_product_deleted'](); },
|
|
17666
17845
|
function () { return factories['io.flow.internal.v0.models.shopify_order_risk_assessment_upserted'](); },
|
|
17667
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'](); },
|
|
17668
17849
|
function () { return factories['io.flow.internal.v0.models.shopify_product_create_upserted'](); },
|
|
17669
17850
|
function () { return factories['io.flow.internal.v0.models.shopify_product_create_deleted'](); },
|
|
17670
17851
|
function () { return factories['io.flow.internal.v0.models.shopify_product_update_upserted'](); },
|
|
@@ -18087,6 +18268,7 @@ var factories = {
|
|
|
18087
18268
|
var f = faker.helpers.arrayElement([
|
|
18088
18269
|
function () { return factories['io.flow.internal.v0.models.statement_creation_metadata'](); },
|
|
18089
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'](); },
|
|
18090
18272
|
]);
|
|
18091
18273
|
return f();
|
|
18092
18274
|
},
|
|
@@ -20185,7 +20367,7 @@ var factories = {
|
|
|
20185
20367
|
'invalid_destination',
|
|
20186
20368
|
'unknown',
|
|
20187
20369
|
]); },
|
|
20188
|
-
'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']); },
|
|
20189
20371
|
'io.flow.payment.v0.enums.payment_source_confirmation_action_type': function () { return faker.helpers.arrayElement(['cvv', 'billing_address', 'number']); },
|
|
20190
20372
|
'io.flow.payment.v0.enums.refund_decline_code': function () { return faker.helpers.arrayElement(['expired', 'insufficient_funds', 'unknown']); },
|
|
20191
20373
|
'io.flow.payment.v0.enums.refund_failure_category': function () { return faker.helpers.arrayElement([
|
|
@@ -21782,6 +21964,8 @@ var factories = {
|
|
|
21782
21964
|
amount: factories['io.flow.common.v0.models.money'](),
|
|
21783
21965
|
starts_at: factories.date_time_iso_8601(),
|
|
21784
21966
|
ends_at: factories.date_time_iso_8601(),
|
|
21967
|
+
regions: arrayOf(function () { return factories.string(); }),
|
|
21968
|
+
dependent_service_fees: arrayOf(function () { return factories.string(); }),
|
|
21785
21969
|
}); },
|
|
21786
21970
|
'io.flow.ratecard.v0.models.ratecard': function () { return ({
|
|
21787
21971
|
id: factories.string(),
|
|
@@ -21869,6 +22053,10 @@ var factories = {
|
|
|
21869
22053
|
rate_level_key: factories.string(),
|
|
21870
22054
|
line_items: arrayOf(function () { return factories['io.flow.common.v0.models.line_item_form'](); }),
|
|
21871
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
|
+
}); },
|
|
21872
22060
|
'io.flow.ratecard.v0.models.ratecard_form': function () { return ({
|
|
21873
22061
|
direction: factories['io.flow.label.v0.enums.direction'](),
|
|
21874
22062
|
effective_at: factories.date_time_iso_8601(),
|
|
@@ -22276,6 +22464,7 @@ var factories = {
|
|
|
22276
22464
|
]); },
|
|
22277
22465
|
'io.flow.sellability.v0.enums.sellability_request_status': function () { return faker.helpers.arrayElement(['commit']); },
|
|
22278
22466
|
'io.flow.sellability.v0.models.product_sellability': function () { return ({
|
|
22467
|
+
discriminator: 'product_sellability',
|
|
22279
22468
|
shop_id: factories.string(),
|
|
22280
22469
|
product_id: factories.string(),
|
|
22281
22470
|
request_id: factories.string(),
|
|
@@ -22297,6 +22486,7 @@ var factories = {
|
|
|
22297
22486
|
amount: factories.decimal(),
|
|
22298
22487
|
}); },
|
|
22299
22488
|
'io.flow.sellability.v0.models.sellability_error': function () { return ({
|
|
22489
|
+
discriminator: 'sellability_error',
|
|
22300
22490
|
code: factories['io.flow.sellability.v0.enums.sellability_error_code'](),
|
|
22301
22491
|
messages: arrayOf(function () { return factories.string(); }),
|
|
22302
22492
|
}); },
|
|
@@ -22304,6 +22494,13 @@ var factories = {
|
|
|
22304
22494
|
type: factories['io.flow.sellability.v0.enums.rule_effect_type'](),
|
|
22305
22495
|
regions: arrayOf(function () { return factories.string(); }),
|
|
22306
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
|
+
},
|
|
22307
22504
|
'io.flow.session.v0.models.cart_reference': function () { return ({
|
|
22308
22505
|
id: factories.string(),
|
|
22309
22506
|
}); },
|
|
@@ -23573,6 +23770,24 @@ var factories = {
|
|
|
23573
23770
|
organization: factories.string(),
|
|
23574
23771
|
assessment: factories['io.flow.shopify.markets.internal.v0.models.shopify_order_risk_assessment'](),
|
|
23575
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
|
+
}); },
|
|
23576
23791
|
'io.flow.shopify.markets.internal.event.v0.models.shopify_product_bundle_deleted': function () { return ({
|
|
23577
23792
|
discriminator: 'shopify_product_bundle_deleted',
|
|
23578
23793
|
event_id: factories.string(),
|
|
@@ -23612,6 +23827,8 @@ var factories = {
|
|
|
23612
23827
|
function () { return factories['io.flow.shopify.markets.internal.event.v0.models.shopify_markets_best_selling_product_deleted'](); },
|
|
23613
23828
|
function () { return factories['io.flow.shopify.markets.internal.event.v0.models.shopify_order_risk_assessment_upserted'](); },
|
|
23614
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'](); },
|
|
23615
23832
|
]);
|
|
23616
23833
|
return f();
|
|
23617
23834
|
},
|
|
@@ -23807,6 +24024,7 @@ var factories = {
|
|
|
23807
24024
|
api_password: factories.string(),
|
|
23808
24025
|
access_token: factories.string(),
|
|
23809
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'](),
|
|
23810
24028
|
}); },
|
|
23811
24029
|
'io.flow.shopify.markets.internal.v0.models.shopify_markets_shop_summary': function () { return ({
|
|
23812
24030
|
organization: factories['io.flow.common.v0.models.organization_summary'](),
|
|
@@ -27260,6 +27478,7 @@ export var makeCatalogItemIndexTask = function () { return factories['io.flow.in
|
|
|
27260
27478
|
export var makeCatalogItemRegionAvailabilities = function () { return factories['io.flow.internal.v0.models.catalog_item_region_availabilities'](); };
|
|
27261
27479
|
export var makeCatalogItemRegionAvailabilitiesData = function () { return factories['io.flow.internal.v0.models.catalog_item_region_availabilities_data'](); };
|
|
27262
27480
|
export var makeCatalogItemRegionAvailabilitiesPublished = function () { return factories['io.flow.internal.v0.models.catalog_item_region_availabilities_published'](); };
|
|
27481
|
+
export var makeCatalogPublicationOwner = function () { return factories['io.flow.internal.v0.enums.catalog_publication_owner'](); };
|
|
27263
27482
|
export var makeCatalogPublicationSyncValidationError = function () { return factories['io.flow.internal.v0.models.catalog_publication_sync_validation_error'](); };
|
|
27264
27483
|
export var makeCatalogSettings = function () { return factories['io.flow.internal.v0.models.catalog_settings'](); };
|
|
27265
27484
|
export var makeCatalogSettingsDeleted = function () { return factories['io.flow.internal.v0.models.catalog_settings_deleted'](); };
|
|
@@ -27397,6 +27616,7 @@ export var makeClassificationProductSummary = function () { return factories['io
|
|
|
27397
27616
|
export var makeClassificationProductSummaryPage = function () { return factories['io.flow.internal.v0.models.classification_product_summary_page'](); };
|
|
27398
27617
|
export var makeClassificationRequeueRequest = function () { return factories['io.flow.internal.v0.models.classification_requeue_request'](); };
|
|
27399
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'](); };
|
|
27400
27620
|
export var makeClassificationStatistics = function () { return factories['io.flow.internal.v0.models.classification_statistics'](); };
|
|
27401
27621
|
export var makeClassificationSummaryReportPayload = function () { return factories['io.flow.internal.v0.models.classification_summary_report_payload'](); };
|
|
27402
27622
|
export var makeClassificationTaxonomy = function () { return factories['io.flow.internal.v0.unions.classification_taxonomy'](); };
|
|
@@ -27589,6 +27809,7 @@ export var makeErpVendorStatus = function () { return factories['io.flow.interna
|
|
|
27589
27809
|
export var makeErpVendorStatusEntity = function () { return factories['io.flow.internal.v0.models.erp_vendor_status_entity'](); };
|
|
27590
27810
|
export var makeErpVendorStatusFlowFile = function () { return factories['io.flow.internal.v0.models.erp_vendor_status_flow_file'](); };
|
|
27591
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'](); };
|
|
27592
27813
|
export var makeEvent = function () { return factories['io.flow.internal.v0.unions.event'](); };
|
|
27593
27814
|
export var makeEventType = function () { return factories['io.flow.internal.v0.enums.event_type'](); };
|
|
27594
27815
|
export var makeExclusionRuleDeleted = function () { return factories['io.flow.internal.v0.models.exclusion_rule_deleted'](); };
|
|
@@ -27642,6 +27863,7 @@ export var makeFeatureValue = function () { return factories['io.flow.internal.v
|
|
|
27642
27863
|
export var makeFeatureValueForm = function () { return factories['io.flow.internal.v0.models.feature_value_form'](); };
|
|
27643
27864
|
export var makeFeatureValueResult = function () { return factories['io.flow.internal.v0.models.feature_value_result'](); };
|
|
27644
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'](); };
|
|
27645
27867
|
export var makeFedexCrossborder = function () { return factories['io.flow.internal.v0.models.fedex_crossborder'](); };
|
|
27646
27868
|
export var makeFee = function () { return factories['io.flow.internal.v0.models.fee'](); };
|
|
27647
27869
|
export var makeFees = function () { return factories['io.flow.internal.v0.models.fees'](); };
|
|
@@ -28061,6 +28283,7 @@ export var makeOrderLifecycleEvent = function () { return factories['io.flow.int
|
|
|
28061
28283
|
export var makeOrderNote = function () { return factories['io.flow.internal.v0.models.order_note'](); };
|
|
28062
28284
|
export var makeOrderNoteForm = function () { return factories['io.flow.internal.v0.models.order_note_form'](); };
|
|
28063
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'](); };
|
|
28064
28287
|
export var makeOrderRatesDataV3 = function () { return factories['io.flow.internal.v0.models.order_rates_data_v3'](); };
|
|
28065
28288
|
export var makeOrderRatesPublishedV3 = function () { return factories['io.flow.internal.v0.models.order_rates_published_v3'](); };
|
|
28066
28289
|
export var makeOrderReference = function () { return factories['io.flow.internal.v0.models.order_reference'](); };
|
|
@@ -28288,6 +28511,7 @@ export var makeProductRestrictionStateDeleted = function () { return factories['
|
|
|
28288
28511
|
export var makeProductRestrictionStateInserted = function () { return factories['io.flow.internal.v0.models.product_restriction_state_inserted'](); };
|
|
28289
28512
|
export var makeProductRestrictionStateUpdated = function () { return factories['io.flow.internal.v0.models.product_restriction_state_updated'](); };
|
|
28290
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'](); };
|
|
28291
28515
|
export var makeProductSellabilityResult = function () { return factories['io.flow.internal.v0.models.product_sellability_result'](); };
|
|
28292
28516
|
export var makeProductStatus = function () { return factories['io.flow.internal.v0.enums.product_status'](); };
|
|
28293
28517
|
export var makeProductTransaction = function () { return factories['io.flow.internal.v0.models.product_transaction'](); };
|
|
@@ -28463,6 +28687,7 @@ export var makeRestrictionRuleEffectUpserted = function () { return factories['i
|
|
|
28463
28687
|
export var makeRestrictionRuleExceptionAction = function () { return factories['io.flow.internal.v0.enums.restriction_rule_exception_action'](); };
|
|
28464
28688
|
export var makeRestrictionRuleForm = function () { return factories['io.flow.internal.v0.models.restriction_rule_form'](); };
|
|
28465
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'](); };
|
|
28466
28691
|
export var makeRestrictionRuleOverride = function () { return factories['io.flow.internal.v0.models.restriction_rule_override'](); };
|
|
28467
28692
|
export var makeRestrictionRuleSummary = function () { return factories['io.flow.internal.v0.models.restriction_rule_summary'](); };
|
|
28468
28693
|
export var makeRestrictionRuleUpserted = function () { return factories['io.flow.internal.v0.models.restriction_rule_upserted'](); };
|
|
@@ -28476,8 +28701,6 @@ export var makeResyncByDestinations = function () { return factories['io.flow.in
|
|
|
28476
28701
|
export var makeResyncByHs6Destinations = function () { return factories['io.flow.internal.v0.models.resync_by_hs6_destinations'](); };
|
|
28477
28702
|
export var makeResyncByHs6Origin = function () { return factories['io.flow.internal.v0.models.resync_by_hs6_origin'](); };
|
|
28478
28703
|
export var makeResyncFallbackRates = function () { return factories['io.flow.internal.v0.models.resync_fallback_rates'](); };
|
|
28479
|
-
export var makeRetracking = function () { return factories['io.flow.internal.v0.models.retracking'](); };
|
|
28480
|
-
export var makeRetrackingForm = function () { return factories['io.flow.internal.v0.models.retracking_form'](); };
|
|
28481
28704
|
export var makeReturn = function () { return factories['io.flow.internal.v0.models.return'](); };
|
|
28482
28705
|
export var makeReturnPolicyDeleted = function () { return factories['io.flow.internal.v0.models.return_policy_deleted'](); };
|
|
28483
28706
|
export var makeReturnPolicyItemResultDeleted = function () { return factories['io.flow.internal.v0.models.return_policy_item_result_deleted'](); };
|
|
@@ -28524,6 +28747,7 @@ export var makeShippingPricing = function () { return factories['io.flow.interna
|
|
|
28524
28747
|
export var makeShop = function () { return factories['io.flow.internal.v0.models.shop'](); };
|
|
28525
28748
|
export var makeShopForm = function () { return factories['io.flow.internal.v0.models.shop_form'](); };
|
|
28526
28749
|
export var makeShopVersion = function () { return factories['io.flow.internal.v0.models.shop_version'](); };
|
|
28750
|
+
export var makeShopifyCatalogPublication = function () { return factories['io.flow.internal.v0.models.shopify_catalog_publication'](); };
|
|
28527
28751
|
export var makeShopifyChannelOrganizationToken = function () { return factories['io.flow.internal.v0.models.shopify_channel_organization_token'](); };
|
|
28528
28752
|
export var makeShopifyChannelOrganizationTokens = function () { return factories['io.flow.internal.v0.models.shopify_channel_organization_tokens'](); };
|
|
28529
28753
|
export var makeShopifyCheckInventoryError = function () { return factories['io.flow.internal.v0.models.shopify_check_inventory_error'](); };
|
|
@@ -28621,6 +28845,9 @@ export var makeShopifyOrderLineContent = function () { return factories['io.flow
|
|
|
28621
28845
|
export var makeShopifyOrderRiskAssessment = function () { return factories['io.flow.internal.v0.models.shopify_order_risk_assessment'](); };
|
|
28622
28846
|
export var makeShopifyOrderRiskAssessmentDeleted = function () { return factories['io.flow.internal.v0.models.shopify_order_risk_assessment_deleted'](); };
|
|
28623
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'](); };
|
|
28624
28851
|
export var makeShopifyOrganizationSettings = function () { return factories['io.flow.internal.v0.models.shopify_organization_settings'](); };
|
|
28625
28852
|
export var makeShopifyOrganizationSettingsForm = function () { return factories['io.flow.internal.v0.models.shopify_organization_settings_form'](); };
|
|
28626
28853
|
export var makeShopifyPartnerWebhook = function () { return factories['io.flow.internal.v0.models.shopify_partner_webhook'](); };
|
|
@@ -28773,6 +29000,7 @@ export var makeTaxCalculationErrorCode = function () { return factories['io.flow
|
|
|
28773
29000
|
export var makeTaxCalculationForm = function () { return factories['io.flow.internal.v0.models.tax_calculation_form'](); };
|
|
28774
29001
|
export var makeTaxCalculationLineItem = function () { return factories['io.flow.internal.v0.models.tax_calculation_line_item'](); };
|
|
28775
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'](); };
|
|
28776
29004
|
export var makeTaxParty = function () { return factories['io.flow.internal.v0.enums.tax_party'](); };
|
|
28777
29005
|
export var makeTaxRemittanceTransaction = function () { return factories['io.flow.internal.v0.models.tax_remittance_transaction'](); };
|
|
28778
29006
|
export var makeTaxRemittanceTransactionDeleted = function () { return factories['io.flow.internal.v0.models.tax_remittance_transaction_deleted'](); };
|
|
@@ -28782,6 +29010,9 @@ export var makeTaxTransactionDeleted = function () { return factories['io.flow.i
|
|
|
28782
29010
|
export var makeTaxTransactionType = function () { return factories['io.flow.internal.v0.enums.tax_transaction_type'](); };
|
|
28783
29011
|
export var makeTaxTransactionUpserted = function () { return factories['io.flow.internal.v0.models.tax_transaction_upserted'](); };
|
|
28784
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'](); };
|
|
28785
29016
|
export var makeTaxonomyNode = function () { return factories['io.flow.internal.v0.models.taxonomy_node'](); };
|
|
28786
29017
|
export var makeTechOnboardingDescription = function () { return factories['io.flow.internal.v0.models.tech_onboarding_description'](); };
|
|
28787
29018
|
export var makeTest = function () { return factories['io.flow.internal.v0.models.test'](); };
|
|
@@ -28828,7 +29059,6 @@ export var makeTrackingProcessingErrorUpserted = function () { return factories[
|
|
|
28828
29059
|
export var makeTrackingProcessingFailureClassification = function () { return factories['io.flow.internal.v0.enums.tracking_processing_failure_classification'](); };
|
|
28829
29060
|
export var makeTrackingRequest = function () { return factories['io.flow.internal.v0.models.tracking_request'](); };
|
|
28830
29061
|
export var makeTrackingResponse = function () { return factories['io.flow.internal.v0.models.tracking_response'](); };
|
|
28831
|
-
export var makeTrackingResync = function () { return factories['io.flow.internal.v0.models.tracking_resync'](); };
|
|
28832
29062
|
export var makeTrackingSubscription = function () { return factories['io.flow.internal.v0.models.tracking_subscription'](); };
|
|
28833
29063
|
export var makeTrackingSubscriptionDeleted = function () { return factories['io.flow.internal.v0.models.tracking_subscription_deleted'](); };
|
|
28834
29064
|
export var makeTrackingSubscriptionUpserted = function () { return factories['io.flow.internal.v0.models.tracking_subscription_upserted'](); };
|