@flowio/api-internal-factories 0.0.128 → 0.0.130
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/api-internal.js +311 -63
- package/dist/esm/api-internal.js +263 -29
- package/dist/types/api-internal.d.ts +17 -3
- package/package.json +2 -2
- package/src/api-internal.ts +297 -32
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,8 @@ 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']); },
|
|
6473
|
+
'io.flow.internal.v0.enums.hosein_item_type': function () { return faker.helpers.arrayElement(['physical', 'digital']); },
|
|
6390
6474
|
'io.flow.internal.v0.enums.http_method': function () { return faker.helpers.arrayElement(['get', 'post']); },
|
|
6391
6475
|
'io.flow.internal.v0.enums.internal_payment_entity_type': function () { return faker.helpers.arrayElement(['authorization', 'capture', 'refund', 'dispute']); },
|
|
6392
6476
|
'io.flow.internal.v0.enums.item_classification_action': function () { return faker.helpers.arrayElement(['ACCEPT', 'MANUAL', 'REJECT']); },
|
|
@@ -6451,7 +6535,7 @@ var factories = {
|
|
|
6451
6535
|
'global_e_canada',
|
|
6452
6536
|
'global_e_netherlands',
|
|
6453
6537
|
]); },
|
|
6454
|
-
'io.flow.internal.v0.enums.merchant_override_status': function () { return faker.helpers.arrayElement(['in_review', 'accepted', 'rejected']); },
|
|
6538
|
+
'io.flow.internal.v0.enums.merchant_override_status': function () { return faker.helpers.arrayElement(['pending', 'in_review', 'accepted', 'rejected']); },
|
|
6455
6539
|
'io.flow.internal.v0.enums.mixed_bag_weight': function () { return faker.helpers.arrayElement(['0', '1', '2']); },
|
|
6456
6540
|
'io.flow.internal.v0.enums.nature_of_sale': function () { return faker.helpers.arrayElement([
|
|
6457
6541
|
'consumer',
|
|
@@ -6523,6 +6607,7 @@ var factories = {
|
|
|
6523
6607
|
'io.flow.internal.v0.enums.order_cancellation_initiated_by': function () { return faker.helpers.arrayElement(['flow', 'organization']); },
|
|
6524
6608
|
'io.flow.internal.v0.enums.order_charge_trigger': function () { return faker.helpers.arrayElement(['first_shipment', 'last_shipment', 'shipment_exhausted']); },
|
|
6525
6609
|
'io.flow.internal.v0.enums.order_lifecycle_event': function () { return faker.helpers.arrayElement(['order_placed', 'ready_to_fulfill']); },
|
|
6610
|
+
'io.flow.internal.v0.enums.order_payment_source_type': function () { return faker.helpers.arrayElement(['globale', 'third_party']); },
|
|
6526
6611
|
'io.flow.internal.v0.enums.order_transaction_type': function () { return faker.helpers.arrayElement(['adjustment', 'reversal', 'order_service']); },
|
|
6527
6612
|
'io.flow.internal.v0.enums.order_validation_status': function () { return faker.helpers.arrayElement([
|
|
6528
6613
|
'success',
|
|
@@ -6558,6 +6643,7 @@ var factories = {
|
|
|
6558
6643
|
]); },
|
|
6559
6644
|
'io.flow.internal.v0.enums.payment_summary_type': function () { return faker.helpers.arrayElement(['authorization', 'capture', 'refund', 'reversal', 'credit']); },
|
|
6560
6645
|
'io.flow.internal.v0.enums.payment_term': function () { return faker.helpers.arrayElement(['net7', 'net15', 'net30']); },
|
|
6646
|
+
'io.flow.internal.v0.enums.pending_record_type': function () { return faker.helpers.arrayElement(['verification', 'classification', 'restriction']); },
|
|
6561
6647
|
'io.flow.internal.v0.enums.prateek_item_type': function () { return faker.helpers.arrayElement(['physical', 'digital']); },
|
|
6562
6648
|
'io.flow.internal.v0.enums.preferred_billing_schedule': function () { return faker.helpers.arrayElement(['monthly', 'bi-monthly']); },
|
|
6563
6649
|
'io.flow.internal.v0.enums.price_selector': function () { return faker.helpers.arrayElement(['minimum', 'maximum']); },
|
|
@@ -8386,7 +8472,7 @@ var factories = {
|
|
|
8386
8472
|
order_created_at: factories.date_time_iso_8601(),
|
|
8387
8473
|
order_updated_at: factories.date_time_iso_8601(),
|
|
8388
8474
|
order_edit_summary: factories['io.flow.internal.v0.models.order_edit_summary'](),
|
|
8389
|
-
payment_source: factories['io.flow.
|
|
8475
|
+
payment_source: factories['io.flow.internal.v0.enums.order_payment_source_type'](),
|
|
8390
8476
|
}); },
|
|
8391
8477
|
'io.flow.internal.v0.models.channel_order_acceptance_deleted': function () { return ({
|
|
8392
8478
|
discriminator: 'channel_order_acceptance_deleted',
|
|
@@ -9251,6 +9337,7 @@ var factories = {
|
|
|
9251
9337
|
total: factories['io.flow.common.v0.models.money_with_base'](),
|
|
9252
9338
|
identifiers: objectOf(function () { return factories.string(); }),
|
|
9253
9339
|
submitted_at: factories.date_time_iso_8601(),
|
|
9340
|
+
payment_source: factories['io.flow.experience.v0.enums.order_payment_source_type'](),
|
|
9254
9341
|
}); },
|
|
9255
9342
|
'io.flow.internal.v0.models.debug_order_transaction': function () { return ({
|
|
9256
9343
|
order: factories['io.flow.internal.v0.models.debug_order'](),
|
|
@@ -9894,6 +9981,11 @@ var factories = {
|
|
|
9894
9981
|
errors: arrayOf(function () { return factories.string(); }),
|
|
9895
9982
|
processed_at: factories.date_time_iso_8601(),
|
|
9896
9983
|
}); },
|
|
9984
|
+
'io.flow.internal.v0.models.evaluation_results': function () { return ({
|
|
9985
|
+
chapter_result: factories.object(),
|
|
9986
|
+
sellability_result: factories.object(),
|
|
9987
|
+
duty_variance_result: factories.object(),
|
|
9988
|
+
}); },
|
|
9897
9989
|
'io.flow.internal.v0.models.exclusion_rule_deleted': function () { return ({
|
|
9898
9990
|
discriminator: 'exclusion_rule_deleted',
|
|
9899
9991
|
event_id: factories.string(),
|
|
@@ -10126,6 +10218,12 @@ var factories = {
|
|
|
10126
10218
|
account_number: factories.string(),
|
|
10127
10219
|
meter_number: factories.string(),
|
|
10128
10220
|
}); },
|
|
10221
|
+
'io.flow.internal.v0.models.fedex_api': function () { return ({
|
|
10222
|
+
discriminator: 'fedex_api',
|
|
10223
|
+
client_id: factories.string(),
|
|
10224
|
+
client_secret: factories.string(),
|
|
10225
|
+
account_number: factories.string(),
|
|
10226
|
+
}); },
|
|
10129
10227
|
'io.flow.internal.v0.models.fedex_crossborder': function () { return ({
|
|
10130
10228
|
discriminator: 'fedex_crossborder',
|
|
10131
10229
|
api_key: factories.string(),
|
|
@@ -10143,6 +10241,7 @@ var factories = {
|
|
|
10143
10241
|
duty_guarantee: factories['io.flow.internal.v0.models.fee'](),
|
|
10144
10242
|
transfer: factories['io.flow.internal.v0.models.fee'](),
|
|
10145
10243
|
negative_balance: factories['io.flow.internal.v0.models.fee'](),
|
|
10244
|
+
sp: factories['io.flow.internal.v0.models.fee'](),
|
|
10146
10245
|
}); },
|
|
10147
10246
|
'io.flow.internal.v0.models.finance_bank_account': function () { return ({
|
|
10148
10247
|
id: factories.string(),
|
|
@@ -10940,6 +11039,21 @@ var factories = {
|
|
|
10940
11039
|
organization: factories.string(),
|
|
10941
11040
|
export_id: factories.string(),
|
|
10942
11041
|
}); },
|
|
11042
|
+
'io.flow.internal.v0.models.hosein_item': function () { return ({
|
|
11043
|
+
id: factories.string(),
|
|
11044
|
+
number: factories.string(),
|
|
11045
|
+
amount: factories['io.flow.common.v0.models.price'](),
|
|
11046
|
+
description: factories.string(),
|
|
11047
|
+
type: factories['io.flow.internal.v0.enums.hosein_item_type'](),
|
|
11048
|
+
added_on: factories.date_time_iso_8601(),
|
|
11049
|
+
}); },
|
|
11050
|
+
'io.flow.internal.v0.models.hosein_item_form': function () { return ({
|
|
11051
|
+
number: factories.string(),
|
|
11052
|
+
amount: factories['io.flow.common.v0.models.price'](),
|
|
11053
|
+
description: factories.string(),
|
|
11054
|
+
type: factories['io.flow.internal.v0.enums.hosein_item_type'](),
|
|
11055
|
+
added_on: factories.date_time_iso_8601(),
|
|
11056
|
+
}); },
|
|
10943
11057
|
'io.flow.internal.v0.models.href': function () { return ({
|
|
10944
11058
|
discriminator: 'href',
|
|
10945
11059
|
label: factories['io.flow.internal.v0.models.content_label'](),
|
|
@@ -11324,6 +11438,7 @@ var factories = {
|
|
|
11324
11438
|
status: factories['io.flow.internal.v0.enums.item_harmonization_status'](),
|
|
11325
11439
|
tariffs: objectOf(function () { return factories['io.flow.internal.v0.models.tariff_code_duty'](); }),
|
|
11326
11440
|
decision_source: factories['io.flow.internal.v0.enums.harmonization_decision_source'](),
|
|
11441
|
+
classification_scope: factories['io.flow.internal.v0.enums.classification_scope'](),
|
|
11327
11442
|
created_at: factories.date_time_iso_8601(),
|
|
11328
11443
|
updated_at: factories.date_time_iso_8601(),
|
|
11329
11444
|
updated_by_user_id: factories.string(),
|
|
@@ -12166,6 +12281,7 @@ var factories = {
|
|
|
12166
12281
|
status: factories['io.flow.internal.v0.enums.merchant_override_status'](),
|
|
12167
12282
|
hs6_code: factories.string(),
|
|
12168
12283
|
merchant_hs6_code: factories.string(),
|
|
12284
|
+
evaluation_results: factories['io.flow.internal.v0.models.evaluation_results'](),
|
|
12169
12285
|
created_at: factories.date_time_iso_8601(),
|
|
12170
12286
|
updated_at: factories.date_time_iso_8601(),
|
|
12171
12287
|
updated_by_user_id: factories.string(),
|
|
@@ -12858,16 +12974,12 @@ var factories = {
|
|
|
12858
12974
|
organization_id: factories.string(),
|
|
12859
12975
|
pending_restriction_count: factories.long(),
|
|
12860
12976
|
pending_verification_count: factories.long(),
|
|
12977
|
+
pending_classification_count: factories.long(),
|
|
12861
12978
|
oldest_pending_restriction_date: factories.date_time_iso_8601(),
|
|
12862
12979
|
oldest_pending_verification_date: factories.date_time_iso_8601(),
|
|
12863
12980
|
product_count: factories.long(),
|
|
12864
12981
|
restricted_product_count: factories.long(),
|
|
12865
12982
|
last_order_submitted_at: factories.date_time_iso_8601(),
|
|
12866
|
-
matching_positive_keywords: arrayOf(function () { return factories.string(); }),
|
|
12867
|
-
product_categories: arrayOf(function () { return factories.string(); }),
|
|
12868
|
-
matching_negative_keywords: arrayOf(function () { return factories.string(); }),
|
|
12869
|
-
decisions_user_ids: arrayOf(function () { return factories.string(); }),
|
|
12870
|
-
restriction_rule_ids: arrayOf(function () { return factories.string(); }),
|
|
12871
12983
|
}); },
|
|
12872
12984
|
'io.flow.internal.v0.models.organization_metadata_deleted': function () { return ({
|
|
12873
12985
|
discriminator: 'organization_metadata_deleted',
|
|
@@ -13856,6 +13968,7 @@ var factories = {
|
|
|
13856
13968
|
review_status: factories['io.flow.internal.v0.enums.restriction_state_review_status'](),
|
|
13857
13969
|
pending_restriction_count: factories.long(),
|
|
13858
13970
|
pending_verification_count: factories.long(),
|
|
13971
|
+
pending_classification_count: factories.long(),
|
|
13859
13972
|
oldest_pending_restriction_date: factories.date_time_iso_8601(),
|
|
13860
13973
|
oldest_pending_verification_date: factories.date_time_iso_8601(),
|
|
13861
13974
|
}); },
|
|
@@ -13885,12 +13998,21 @@ var factories = {
|
|
|
13885
13998
|
product_id: factories.string(),
|
|
13886
13999
|
reviews: arrayOf(function () { return factories['io.flow.internal.v0.models.restriction_history_item_review_decision'](); }),
|
|
13887
14000
|
}); },
|
|
14001
|
+
'io.flow.internal.v0.models.product_sellability_internal': function () { return ({
|
|
14002
|
+
shop_id: factories.string(),
|
|
14003
|
+
product_id: factories.string(),
|
|
14004
|
+
request_id: factories.string(),
|
|
14005
|
+
hs6_code: factories.string(),
|
|
14006
|
+
restricted_regions: arrayOf(function () { return factories['io.flow.sellability.v0.models.sellablility_region_result'](); }),
|
|
14007
|
+
rule_ids: arrayOf(function () { return factories.string(); }),
|
|
14008
|
+
}); },
|
|
13888
14009
|
'io.flow.internal.v0.models.product_sellability_result': function () { return ({
|
|
13889
14010
|
shop_id: factories.string(),
|
|
13890
14011
|
product_number: factories.string(),
|
|
13891
14012
|
request_id: factories.string(),
|
|
13892
14013
|
hs6_code: factories.string(),
|
|
13893
14014
|
restricted_regions: arrayOf(function () { return factories.string(); }),
|
|
14015
|
+
rule_ids: arrayOf(function () { return factories.string(); }),
|
|
13894
14016
|
}); },
|
|
13895
14017
|
'io.flow.internal.v0.models.product_transaction': function () { return ({
|
|
13896
14018
|
transaction_amount: factories.decimal(),
|
|
@@ -14362,6 +14484,7 @@ var factories = {
|
|
|
14362
14484
|
}); },
|
|
14363
14485
|
'io.flow.internal.v0.models.report_filter': function () { return ({
|
|
14364
14486
|
source_type: factories['io.flow.internal.v0.enums.source_type_filter'](),
|
|
14487
|
+
order_payment_source: factories['io.flow.experience.v0.enums.order_payment_source_type'](),
|
|
14365
14488
|
}); },
|
|
14366
14489
|
'io.flow.internal.v0.models.report_form': function () { return ({
|
|
14367
14490
|
type: factories['io.flow.internal.v0.enums.report_type'](),
|
|
@@ -14550,7 +14673,7 @@ var factories = {
|
|
|
14550
14673
|
id: factories.string(),
|
|
14551
14674
|
number: factories.string(),
|
|
14552
14675
|
submitted_at: factories.date_time_iso_8601(),
|
|
14553
|
-
payment_source: factories.
|
|
14676
|
+
payment_source: factories['io.flow.experience.v0.enums.order_payment_source_type'](),
|
|
14554
14677
|
}); },
|
|
14555
14678
|
'io.flow.internal.v0.models.reporting_organization_summary': function () { return ({
|
|
14556
14679
|
id: factories.string(),
|
|
@@ -14617,7 +14740,6 @@ var factories = {
|
|
|
14617
14740
|
category: factories.string(),
|
|
14618
14741
|
}); },
|
|
14619
14742
|
'io.flow.internal.v0.models.restriction_filter': function () { return ({
|
|
14620
|
-
categories: arrayOf(function () { return factories.string(); }),
|
|
14621
14743
|
users: arrayOf(function () { return factories['io.flow.common.v0.models.user'](); }),
|
|
14622
14744
|
rules: arrayOf(function () { return factories['io.flow.internal.v0.models.restriction_rule_summary'](); }),
|
|
14623
14745
|
positive_keywords: arrayOf(function () { return factories.string(); }),
|
|
@@ -14644,6 +14766,7 @@ var factories = {
|
|
|
14644
14766
|
name: factories.string(),
|
|
14645
14767
|
price: factories['io.flow.common.v0.models.price'](),
|
|
14646
14768
|
hs_code: factories.string(),
|
|
14769
|
+
hs_code_source: factories['io.flow.internal.v0.enums.harmonization_decision_source'](),
|
|
14647
14770
|
description: factories.string(),
|
|
14648
14771
|
category: factories.string(),
|
|
14649
14772
|
categories: arrayOf(function () { return factories.string(); }),
|
|
@@ -14659,7 +14782,7 @@ var factories = {
|
|
|
14659
14782
|
statuses: arrayOf(function () { return factories['io.flow.internal.v0.enums.restriction_status'](); }),
|
|
14660
14783
|
rule_ids: arrayOf(function () { return factories.string(); }),
|
|
14661
14784
|
user_ids: arrayOf(function () { return factories.string(); }),
|
|
14662
|
-
|
|
14785
|
+
category: factories.string(),
|
|
14663
14786
|
product_name_query: factories.string(),
|
|
14664
14787
|
hs6: factories.string(),
|
|
14665
14788
|
positive_keywords: arrayOf(function () { return factories.string(); }),
|
|
@@ -14757,6 +14880,7 @@ var factories = {
|
|
|
14757
14880
|
images: arrayOf(function () { return factories['io.flow.catalog.v0.models.image'](); }),
|
|
14758
14881
|
thumbnails: arrayOf(function () { return factories['io.flow.catalog.v0.models.image'](); }),
|
|
14759
14882
|
hs_code: factories.string(),
|
|
14883
|
+
hs_code_source: factories['io.flow.internal.v0.enums.harmonization_decision_source'](),
|
|
14760
14884
|
url: factories.string(),
|
|
14761
14885
|
reviews: arrayOf(function () { return factories['io.flow.internal.v0.models.restriction_item_review'](); }),
|
|
14762
14886
|
created_at: factories.date_time_iso_8601(),
|
|
@@ -14771,7 +14895,7 @@ var factories = {
|
|
|
14771
14895
|
positive_keywords: arrayOf(function () { return factories.string(); }),
|
|
14772
14896
|
negative_keywords: arrayOf(function () { return factories.string(); }),
|
|
14773
14897
|
user_ids: arrayOf(function () { return factories.string(); }),
|
|
14774
|
-
|
|
14898
|
+
category: factories.string(),
|
|
14775
14899
|
product_name_query: factories.string(),
|
|
14776
14900
|
hs6: factories.string(),
|
|
14777
14901
|
product_id: factories.string(),
|
|
@@ -14849,6 +14973,16 @@ var factories = {
|
|
|
14849
14973
|
origin_countries: arrayOf(function () { return factories.string(); }),
|
|
14850
14974
|
destination_countries: arrayOf(function () { return factories.string(); }),
|
|
14851
14975
|
}); },
|
|
14976
|
+
'io.flow.internal.v0.models.restriction_rule_organization_exemption': function () { return ({
|
|
14977
|
+
id: factories.string(),
|
|
14978
|
+
organization_id: factories.string(),
|
|
14979
|
+
rule_id: factories.string(),
|
|
14980
|
+
description: factories.string(),
|
|
14981
|
+
is_rule_exempt: factories.boolean(),
|
|
14982
|
+
exempt_countries: arrayOf(function () { return factories.string(); }),
|
|
14983
|
+
ignored_keywords: arrayOf(function () { return factories.string(); }),
|
|
14984
|
+
additional_keywords: arrayOf(function () { return factories.string(); }),
|
|
14985
|
+
}); },
|
|
14852
14986
|
'io.flow.internal.v0.models.restriction_rule_override': function () { return ({
|
|
14853
14987
|
id: factories.string(),
|
|
14854
14988
|
organization_id: factories.string(),
|
|
@@ -14869,6 +15003,7 @@ var factories = {
|
|
|
14869
15003
|
'io.flow.internal.v0.models.restriction_summary_counts': function () { return ({
|
|
14870
15004
|
pending_restriction_count: factories.long(),
|
|
14871
15005
|
pending_verification_count: factories.long(),
|
|
15006
|
+
pending_classification_count: factories.long(),
|
|
14872
15007
|
}); },
|
|
14873
15008
|
'io.flow.internal.v0.models.restrictions_dailyops': function () { return ({
|
|
14874
15009
|
id: factories.string(),
|
|
@@ -14898,6 +15033,16 @@ var factories = {
|
|
|
14898
15033
|
oldest_insufficient_details_pv_onboarding: factories.date_iso_8601(),
|
|
14899
15034
|
oldest_insufficient_details_pv_active: factories.date_iso_8601(),
|
|
14900
15035
|
oldest_insufficient_details_pv_transacting: factories.date_iso_8601(),
|
|
15036
|
+
num_products_with_fs_result: factories.decimal(),
|
|
15037
|
+
num_products_sellable_somewhere_by_fs: factories.decimal(),
|
|
15038
|
+
num_products_restricted_somewhere_by_fs: factories.decimal(),
|
|
15039
|
+
num_products_with_false_allows_by_fs: factories.decimal(),
|
|
15040
|
+
num_products_with_false_restricts_by_fs: factories.decimal(),
|
|
15041
|
+
daily_num_products_with_fs_result: factories.decimal(),
|
|
15042
|
+
daily_num_products_sellable_somewhere_by_fs: factories.decimal(),
|
|
15043
|
+
daily_num_products_restricted_somewhere_by_fs: factories.decimal(),
|
|
15044
|
+
daily_num_products_with_false_allows_by_fs: factories.decimal(),
|
|
15045
|
+
daily_num_products_with_false_restricts_by_fs: factories.decimal(),
|
|
14901
15046
|
}); },
|
|
14902
15047
|
'io.flow.internal.v0.models.restrictions_dailyops_deleted': function () { return ({
|
|
14903
15048
|
discriminator: 'restrictions_dailyops_deleted',
|
|
@@ -14926,14 +15071,6 @@ var factories = {
|
|
|
14926
15071
|
'io.flow.internal.v0.models.resync_fallback_rates': function () { return ({
|
|
14927
15072
|
destinations: arrayOf(function () { return factories['io.flow.reference.v0.models.country'](); }),
|
|
14928
15073
|
}); },
|
|
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
15074
|
'io.flow.internal.v0.models.return': function () { return ({
|
|
14938
15075
|
id: factories.string(),
|
|
14939
15076
|
order: factories['io.flow.internal.v0.models.order_summary'](),
|
|
@@ -15487,6 +15624,7 @@ var factories = {
|
|
|
15487
15624
|
api_password: factories.string(),
|
|
15488
15625
|
access_token: factories.string(),
|
|
15489
15626
|
shopify_plan_name: factories['io.flow.shopify.external.v0.enums.shopify_plan_name'](),
|
|
15627
|
+
catalog_publication_owner: factories['io.flow.internal.v0.enums.catalog_publication_owner'](),
|
|
15490
15628
|
}); },
|
|
15491
15629
|
'io.flow.internal.v0.models.shopify_markets_shop_statistics_deleted': function () { return ({
|
|
15492
15630
|
discriminator: 'shopify_markets_shop_statistics_deleted',
|
|
@@ -15705,6 +15843,24 @@ var factories = {
|
|
|
15705
15843
|
organization: factories.string(),
|
|
15706
15844
|
assessment: factories['io.flow.internal.v0.models.shopify_order_risk_assessment'](),
|
|
15707
15845
|
}); },
|
|
15846
|
+
'io.flow.internal.v0.models.shopify_order_transaction': function () { return ({
|
|
15847
|
+
id: factories.string(),
|
|
15848
|
+
model: factories['io.flow.shopify.markets.v0.models.shopify_order_transaction'](),
|
|
15849
|
+
}); },
|
|
15850
|
+
'io.flow.internal.v0.models.shopify_order_transaction_deleted': function () { return ({
|
|
15851
|
+
discriminator: 'shopify_order_transaction_deleted',
|
|
15852
|
+
event_id: factories.string(),
|
|
15853
|
+
timestamp: factories.date_time_iso_8601(),
|
|
15854
|
+
organization: factories.string(),
|
|
15855
|
+
id: factories.string(),
|
|
15856
|
+
}); },
|
|
15857
|
+
'io.flow.internal.v0.models.shopify_order_transaction_upserted': function () { return ({
|
|
15858
|
+
discriminator: 'shopify_order_transaction_upserted',
|
|
15859
|
+
event_id: factories.string(),
|
|
15860
|
+
timestamp: factories.date_time_iso_8601(),
|
|
15861
|
+
organization: factories.string(),
|
|
15862
|
+
transaction: factories['io.flow.internal.v0.models.shopify_order_transaction'](),
|
|
15863
|
+
}); },
|
|
15708
15864
|
'io.flow.internal.v0.models.shopify_organization_settings': function () { return ({
|
|
15709
15865
|
id: factories.string(),
|
|
15710
15866
|
process_label: factories.boolean(),
|
|
@@ -16240,6 +16396,7 @@ var factories = {
|
|
|
16240
16396
|
import_taxes: factories.integer(),
|
|
16241
16397
|
mor_fees: factories.integer(),
|
|
16242
16398
|
mor_foreign_exchange_fees: factories.integer(),
|
|
16399
|
+
sp_processing_fees: factories.integer(),
|
|
16243
16400
|
}); },
|
|
16244
16401
|
'io.flow.internal.v0.models.stripe_connect_report_record_transfer_metadata': function () { return ({
|
|
16245
16402
|
discriminator: 'stripe_connect_report_record_transfer_metadata',
|
|
@@ -16254,6 +16411,7 @@ var factories = {
|
|
|
16254
16411
|
import_taxes: factories.integer(),
|
|
16255
16412
|
mor_fees: factories.integer(),
|
|
16256
16413
|
mor_foreign_exchange_fees: factories.integer(),
|
|
16414
|
+
sp_processing_fees: factories.integer(),
|
|
16257
16415
|
merchant_account_currency: factories.string(),
|
|
16258
16416
|
amount_in_merchant_account_currency: factories.integer(),
|
|
16259
16417
|
payout_exchange_rate: factories.decimal(),
|
|
@@ -16532,6 +16690,10 @@ var factories = {
|
|
|
16532
16690
|
description: factories.string(),
|
|
16533
16691
|
category_code: factories.string(),
|
|
16534
16692
|
}); },
|
|
16693
|
+
'io.flow.internal.v0.models.tax_duty_reason_code_metadata': function () { return ({
|
|
16694
|
+
discriminator: 'tax_duty_reason_code_metadata',
|
|
16695
|
+
reason_code: factories['io.flow.billing.v0.enums.tax_duty_transaction_reason_code'](),
|
|
16696
|
+
}); },
|
|
16535
16697
|
'io.flow.internal.v0.models.tax_remittance_transaction': function () { return ({
|
|
16536
16698
|
discriminator: 'tax_remittance_transaction',
|
|
16537
16699
|
order: factories['io.flow.internal.v0.models.billing_order_summary'](),
|
|
@@ -16588,6 +16750,24 @@ var factories = {
|
|
|
16588
16750
|
name: factories.string(),
|
|
16589
16751
|
children: arrayOf(function () { return factories['io.flow.internal.v0.unions.classification_taxonomy'](); }),
|
|
16590
16752
|
}); },
|
|
16753
|
+
'io.flow.internal.v0.models.taxonomy_category_hs6_ref': function () { return ({
|
|
16754
|
+
id: factories.string(),
|
|
16755
|
+
taxonomy_category: factories.string(),
|
|
16756
|
+
hs6: factories.string(),
|
|
16757
|
+
updated_by_user_id: factories.string(),
|
|
16758
|
+
}); },
|
|
16759
|
+
'io.flow.internal.v0.models.taxonomy_category_hs6_ref_deleted': function () { return ({
|
|
16760
|
+
discriminator: 'taxonomy_category_hs6_ref_deleted',
|
|
16761
|
+
event_id: factories.string(),
|
|
16762
|
+
timestamp: factories.date_time_iso_8601(),
|
|
16763
|
+
id: factories.string(),
|
|
16764
|
+
}); },
|
|
16765
|
+
'io.flow.internal.v0.models.taxonomy_category_hs6_ref_upserted': function () { return ({
|
|
16766
|
+
discriminator: 'taxonomy_category_hs6_ref_upserted',
|
|
16767
|
+
event_id: factories.string(),
|
|
16768
|
+
timestamp: factories.date_time_iso_8601(),
|
|
16769
|
+
taxonomy_category_hs6_ref: factories['io.flow.internal.v0.models.taxonomy_category_hs6_ref'](),
|
|
16770
|
+
}); },
|
|
16591
16771
|
'io.flow.internal.v0.models.taxonomy_node': function () { return ({
|
|
16592
16772
|
id: factories.string(),
|
|
16593
16773
|
children: arrayOf(function () { return factories['io.flow.internal.v0.models.taxonomy_node'](); }),
|
|
@@ -16855,9 +17035,6 @@ var factories = {
|
|
|
16855
17035
|
flow_tracking_number: factories.string(),
|
|
16856
17036
|
tracking_events: arrayOf(function () { return factories['io.flow.internal.v0.models.tracking_event'](); }),
|
|
16857
17037
|
}); },
|
|
16858
|
-
'io.flow.internal.v0.models.tracking_resync': function () { return ({
|
|
16859
|
-
placeholder: factories.boolean(),
|
|
16860
|
-
}); },
|
|
16861
17038
|
'io.flow.internal.v0.models.tracking_subscription': function () { return ({
|
|
16862
17039
|
id: factories.string(),
|
|
16863
17040
|
organization_id: factories.string(),
|
|
@@ -17149,6 +17326,7 @@ var factories = {
|
|
|
17149
17326
|
additional_services_requested: arrayOf(function () { return factories['io.flow.label.v0.models.additional_services_requested'](); }),
|
|
17150
17327
|
provided_charges: arrayOf(function () { return factories['io.flow.internal.v0.models.charge_input'](); }),
|
|
17151
17328
|
direction: factories['io.flow.label.v0.enums.direction'](),
|
|
17329
|
+
package_dimensions_source: factories['io.flow.label.v0.enums.package_dimensions_source'](),
|
|
17152
17330
|
}); },
|
|
17153
17331
|
'io.flow.internal.v0.models.validation_character_length': function () { return ({
|
|
17154
17332
|
discriminator: 'validation_character_length',
|
|
@@ -17244,6 +17422,7 @@ var factories = {
|
|
|
17244
17422
|
function () { return factories['io.flow.internal.v0.models.fedex_crossborder'](); },
|
|
17245
17423
|
function () { return factories['io.flow.internal.v0.models.ups'](); },
|
|
17246
17424
|
function () { return factories['io.flow.internal.v0.models.fedex'](); },
|
|
17425
|
+
function () { return factories['io.flow.internal.v0.models.fedex_api'](); },
|
|
17247
17426
|
]);
|
|
17248
17427
|
return f();
|
|
17249
17428
|
},
|
|
@@ -17645,6 +17824,8 @@ var factories = {
|
|
|
17645
17824
|
function () { return factories['io.flow.internal.v0.models.restriction_rule_deleted'](); },
|
|
17646
17825
|
function () { return factories['io.flow.internal.v0.models.restriction_rule_effect_upserted'](); },
|
|
17647
17826
|
function () { return factories['io.flow.internal.v0.models.restriction_rule_effect_deleted'](); },
|
|
17827
|
+
function () { return factories['io.flow.internal.v0.models.taxonomy_category_hs6_ref_upserted'](); },
|
|
17828
|
+
function () { return factories['io.flow.internal.v0.models.taxonomy_category_hs6_ref_deleted'](); },
|
|
17648
17829
|
function () { return factories['io.flow.internal.v0.models.shopify_shop_upserted'](); },
|
|
17649
17830
|
function () { return factories['io.flow.internal.v0.models.shopify_shop_deleted'](); },
|
|
17650
17831
|
function () { return factories['io.flow.internal.v0.models.shopify_experience_short_id_upserted'](); },
|
|
@@ -17672,6 +17853,8 @@ var factories = {
|
|
|
17672
17853
|
function () { return factories['io.flow.internal.v0.models.shopify_markets_best_selling_product_deleted'](); },
|
|
17673
17854
|
function () { return factories['io.flow.internal.v0.models.shopify_order_risk_assessment_upserted'](); },
|
|
17674
17855
|
function () { return factories['io.flow.internal.v0.models.shopify_order_risk_assessment_deleted'](); },
|
|
17856
|
+
function () { return factories['io.flow.internal.v0.models.shopify_order_transaction_upserted'](); },
|
|
17857
|
+
function () { return factories['io.flow.internal.v0.models.shopify_order_transaction_deleted'](); },
|
|
17675
17858
|
function () { return factories['io.flow.internal.v0.models.shopify_product_create_upserted'](); },
|
|
17676
17859
|
function () { return factories['io.flow.internal.v0.models.shopify_product_create_deleted'](); },
|
|
17677
17860
|
function () { return factories['io.flow.internal.v0.models.shopify_product_update_upserted'](); },
|
|
@@ -18094,6 +18277,7 @@ var factories = {
|
|
|
18094
18277
|
var f = faker.helpers.arrayElement([
|
|
18095
18278
|
function () { return factories['io.flow.internal.v0.models.statement_creation_metadata'](); },
|
|
18096
18279
|
function () { return factories['io.flow.internal.v0.models.accounting_pending_order_metadata'](); },
|
|
18280
|
+
function () { return factories['io.flow.internal.v0.models.tax_duty_reason_code_metadata'](); },
|
|
18097
18281
|
]);
|
|
18098
18282
|
return f();
|
|
18099
18283
|
},
|
|
@@ -20192,7 +20376,7 @@ var factories = {
|
|
|
20192
20376
|
'invalid_destination',
|
|
20193
20377
|
'unknown',
|
|
20194
20378
|
]); },
|
|
20195
|
-
'io.flow.payment.v0.enums.payment_fee_type': function () { return faker.helpers.arrayElement(['fx', 'mor']); },
|
|
20379
|
+
'io.flow.payment.v0.enums.payment_fee_type': function () { return faker.helpers.arrayElement(['fx', 'mor', 'sp']); },
|
|
20196
20380
|
'io.flow.payment.v0.enums.payment_source_confirmation_action_type': function () { return faker.helpers.arrayElement(['cvv', 'billing_address', 'number']); },
|
|
20197
20381
|
'io.flow.payment.v0.enums.refund_decline_code': function () { return faker.helpers.arrayElement(['expired', 'insufficient_funds', 'unknown']); },
|
|
20198
20382
|
'io.flow.payment.v0.enums.refund_failure_category': function () { return faker.helpers.arrayElement([
|
|
@@ -21789,6 +21973,8 @@ var factories = {
|
|
|
21789
21973
|
amount: factories['io.flow.common.v0.models.money'](),
|
|
21790
21974
|
starts_at: factories.date_time_iso_8601(),
|
|
21791
21975
|
ends_at: factories.date_time_iso_8601(),
|
|
21976
|
+
regions: arrayOf(function () { return factories.string(); }),
|
|
21977
|
+
dependent_service_fees: arrayOf(function () { return factories.string(); }),
|
|
21792
21978
|
}); },
|
|
21793
21979
|
'io.flow.ratecard.v0.models.ratecard': function () { return ({
|
|
21794
21980
|
id: factories.string(),
|
|
@@ -21876,6 +22062,10 @@ var factories = {
|
|
|
21876
22062
|
rate_level_key: factories.string(),
|
|
21877
22063
|
line_items: arrayOf(function () { return factories['io.flow.common.v0.models.line_item_form'](); }),
|
|
21878
22064
|
}); },
|
|
22065
|
+
'io.flow.ratecard.v0.models.ratecard_fee_summary': function () { return ({
|
|
22066
|
+
ratecard_fee: factories['io.flow.ratecard.v0.unions.ratecard_fee'](),
|
|
22067
|
+
source_service_fees: arrayOf(function () { return factories.string(); }),
|
|
22068
|
+
}); },
|
|
21879
22069
|
'io.flow.ratecard.v0.models.ratecard_form': function () { return ({
|
|
21880
22070
|
direction: factories['io.flow.label.v0.enums.direction'](),
|
|
21881
22071
|
effective_at: factories.date_time_iso_8601(),
|
|
@@ -22283,6 +22473,7 @@ var factories = {
|
|
|
22283
22473
|
]); },
|
|
22284
22474
|
'io.flow.sellability.v0.enums.sellability_request_status': function () { return faker.helpers.arrayElement(['commit']); },
|
|
22285
22475
|
'io.flow.sellability.v0.models.product_sellability': function () { return ({
|
|
22476
|
+
discriminator: 'product_sellability',
|
|
22286
22477
|
shop_id: factories.string(),
|
|
22287
22478
|
product_id: factories.string(),
|
|
22288
22479
|
request_id: factories.string(),
|
|
@@ -22304,6 +22495,7 @@ var factories = {
|
|
|
22304
22495
|
amount: factories.decimal(),
|
|
22305
22496
|
}); },
|
|
22306
22497
|
'io.flow.sellability.v0.models.sellability_error': function () { return ({
|
|
22498
|
+
discriminator: 'sellability_error',
|
|
22307
22499
|
code: factories['io.flow.sellability.v0.enums.sellability_error_code'](),
|
|
22308
22500
|
messages: arrayOf(function () { return factories.string(); }),
|
|
22309
22501
|
}); },
|
|
@@ -22311,6 +22503,13 @@ var factories = {
|
|
|
22311
22503
|
type: factories['io.flow.sellability.v0.enums.rule_effect_type'](),
|
|
22312
22504
|
regions: arrayOf(function () { return factories.string(); }),
|
|
22313
22505
|
}); },
|
|
22506
|
+
'io.flow.sellability.v0.unions.sellability_response': function () {
|
|
22507
|
+
var f = faker.helpers.arrayElement([
|
|
22508
|
+
function () { return factories['io.flow.sellability.v0.models.product_sellability'](); },
|
|
22509
|
+
function () { return factories['io.flow.sellability.v0.models.sellability_error'](); },
|
|
22510
|
+
]);
|
|
22511
|
+
return f();
|
|
22512
|
+
},
|
|
22314
22513
|
'io.flow.session.v0.models.cart_reference': function () { return ({
|
|
22315
22514
|
id: factories.string(),
|
|
22316
22515
|
}); },
|
|
@@ -23580,6 +23779,24 @@ var factories = {
|
|
|
23580
23779
|
organization: factories.string(),
|
|
23581
23780
|
assessment: factories['io.flow.shopify.markets.internal.v0.models.shopify_order_risk_assessment'](),
|
|
23582
23781
|
}); },
|
|
23782
|
+
'io.flow.shopify.markets.internal.event.v0.models.shopify_order_transaction': function () { return ({
|
|
23783
|
+
id: factories.string(),
|
|
23784
|
+
model: factories['io.flow.shopify.markets.v0.models.shopify_order_transaction'](),
|
|
23785
|
+
}); },
|
|
23786
|
+
'io.flow.shopify.markets.internal.event.v0.models.shopify_order_transaction_deleted': function () { return ({
|
|
23787
|
+
discriminator: 'shopify_order_transaction_deleted',
|
|
23788
|
+
event_id: factories.string(),
|
|
23789
|
+
timestamp: factories.date_time_iso_8601(),
|
|
23790
|
+
organization: factories.string(),
|
|
23791
|
+
id: factories.string(),
|
|
23792
|
+
}); },
|
|
23793
|
+
'io.flow.shopify.markets.internal.event.v0.models.shopify_order_transaction_upserted': function () { return ({
|
|
23794
|
+
discriminator: 'shopify_order_transaction_upserted',
|
|
23795
|
+
event_id: factories.string(),
|
|
23796
|
+
timestamp: factories.date_time_iso_8601(),
|
|
23797
|
+
organization: factories.string(),
|
|
23798
|
+
transaction: factories['io.flow.shopify.markets.internal.event.v0.models.shopify_order_transaction'](),
|
|
23799
|
+
}); },
|
|
23583
23800
|
'io.flow.shopify.markets.internal.event.v0.models.shopify_product_bundle_deleted': function () { return ({
|
|
23584
23801
|
discriminator: 'shopify_product_bundle_deleted',
|
|
23585
23802
|
event_id: factories.string(),
|
|
@@ -23619,6 +23836,8 @@ var factories = {
|
|
|
23619
23836
|
function () { return factories['io.flow.shopify.markets.internal.event.v0.models.shopify_markets_best_selling_product_deleted'](); },
|
|
23620
23837
|
function () { return factories['io.flow.shopify.markets.internal.event.v0.models.shopify_order_risk_assessment_upserted'](); },
|
|
23621
23838
|
function () { return factories['io.flow.shopify.markets.internal.event.v0.models.shopify_order_risk_assessment_deleted'](); },
|
|
23839
|
+
function () { return factories['io.flow.shopify.markets.internal.event.v0.models.shopify_order_transaction_upserted'](); },
|
|
23840
|
+
function () { return factories['io.flow.shopify.markets.internal.event.v0.models.shopify_order_transaction_deleted'](); },
|
|
23622
23841
|
]);
|
|
23623
23842
|
return f();
|
|
23624
23843
|
},
|
|
@@ -23814,6 +24033,7 @@ var factories = {
|
|
|
23814
24033
|
api_password: factories.string(),
|
|
23815
24034
|
access_token: factories.string(),
|
|
23816
24035
|
shopify_plan_name: factories['io.flow.shopify.external.v0.enums.shopify_plan_name'](),
|
|
24036
|
+
catalog_publication_owner: factories['io.flow.channel.shopify.internal.v0.enums.catalog_publication_owner'](),
|
|
23817
24037
|
}); },
|
|
23818
24038
|
'io.flow.shopify.markets.internal.v0.models.shopify_markets_shop_summary': function () { return ({
|
|
23819
24039
|
organization: factories['io.flow.common.v0.models.organization_summary'](),
|
|
@@ -27405,6 +27625,7 @@ export var makeClassificationProductSummary = function () { return factories['io
|
|
|
27405
27625
|
export var makeClassificationProductSummaryPage = function () { return factories['io.flow.internal.v0.models.classification_product_summary_page'](); };
|
|
27406
27626
|
export var makeClassificationRequeueRequest = function () { return factories['io.flow.internal.v0.models.classification_requeue_request'](); };
|
|
27407
27627
|
export var makeClassificationResponse = function () { return factories['io.flow.internal.v0.unions.classification_response'](); };
|
|
27628
|
+
export var makeClassificationScope = function () { return factories['io.flow.internal.v0.enums.classification_scope'](); };
|
|
27408
27629
|
export var makeClassificationStatistics = function () { return factories['io.flow.internal.v0.models.classification_statistics'](); };
|
|
27409
27630
|
export var makeClassificationSummaryReportPayload = function () { return factories['io.flow.internal.v0.models.classification_summary_report_payload'](); };
|
|
27410
27631
|
export var makeClassificationTaxonomy = function () { return factories['io.flow.internal.v0.unions.classification_taxonomy'](); };
|
|
@@ -27597,6 +27818,7 @@ export var makeErpVendorStatus = function () { return factories['io.flow.interna
|
|
|
27597
27818
|
export var makeErpVendorStatusEntity = function () { return factories['io.flow.internal.v0.models.erp_vendor_status_entity'](); };
|
|
27598
27819
|
export var makeErpVendorStatusFlowFile = function () { return factories['io.flow.internal.v0.models.erp_vendor_status_flow_file'](); };
|
|
27599
27820
|
export var makeErpVendorStatusPriorityFile = function () { return factories['io.flow.internal.v0.models.erp_vendor_status_priority_file'](); };
|
|
27821
|
+
export var makeEvaluationResults = function () { return factories['io.flow.internal.v0.models.evaluation_results'](); };
|
|
27600
27822
|
export var makeEvent = function () { return factories['io.flow.internal.v0.unions.event'](); };
|
|
27601
27823
|
export var makeEventType = function () { return factories['io.flow.internal.v0.enums.event_type'](); };
|
|
27602
27824
|
export var makeExclusionRuleDeleted = function () { return factories['io.flow.internal.v0.models.exclusion_rule_deleted'](); };
|
|
@@ -27650,6 +27872,7 @@ export var makeFeatureValue = function () { return factories['io.flow.internal.v
|
|
|
27650
27872
|
export var makeFeatureValueForm = function () { return factories['io.flow.internal.v0.models.feature_value_form'](); };
|
|
27651
27873
|
export var makeFeatureValueResult = function () { return factories['io.flow.internal.v0.models.feature_value_result'](); };
|
|
27652
27874
|
export var makeFedex = function () { return factories['io.flow.internal.v0.models.fedex'](); };
|
|
27875
|
+
export var makeFedexApi = function () { return factories['io.flow.internal.v0.models.fedex_api'](); };
|
|
27653
27876
|
export var makeFedexCrossborder = function () { return factories['io.flow.internal.v0.models.fedex_crossborder'](); };
|
|
27654
27877
|
export var makeFee = function () { return factories['io.flow.internal.v0.models.fee'](); };
|
|
27655
27878
|
export var makeFees = function () { return factories['io.flow.internal.v0.models.fees'](); };
|
|
@@ -27789,6 +28012,9 @@ export var makeHarmonizationThresholdForm = function () { return factories['io.f
|
|
|
27789
28012
|
export var makeHarmonizationUnclassifiedStatistics = function () { return factories['io.flow.internal.v0.models.harmonization_unclassified_statistics'](); };
|
|
27790
28013
|
export var makeHarmonizeFullyRequestV2 = function () { return factories['io.flow.internal.v0.models.harmonize_fully_request_v2'](); };
|
|
27791
28014
|
export var makeHarmonizedItemsHs6Export = function () { return factories['io.flow.internal.v0.models.harmonized_items_hs6_export'](); };
|
|
28015
|
+
export var makeHoseinItem = function () { return factories['io.flow.internal.v0.models.hosein_item'](); };
|
|
28016
|
+
export var makeHoseinItemForm = function () { return factories['io.flow.internal.v0.models.hosein_item_form'](); };
|
|
28017
|
+
export var makeHoseinItemType = function () { return factories['io.flow.internal.v0.enums.hosein_item_type'](); };
|
|
27792
28018
|
export var makeHref = function () { return factories['io.flow.internal.v0.models.href'](); };
|
|
27793
28019
|
export var makeHs6 = function () { return factories['io.flow.internal.v0.models.hs6'](); };
|
|
27794
28020
|
export var makeHs6Metadata = function () { return factories['io.flow.internal.v0.models.hs6_metadata'](); };
|
|
@@ -28069,6 +28295,7 @@ export var makeOrderLifecycleEvent = function () { return factories['io.flow.int
|
|
|
28069
28295
|
export var makeOrderNote = function () { return factories['io.flow.internal.v0.models.order_note'](); };
|
|
28070
28296
|
export var makeOrderNoteForm = function () { return factories['io.flow.internal.v0.models.order_note_form'](); };
|
|
28071
28297
|
export var makeOrderPaymentAuthorization = function () { return factories['io.flow.internal.v0.models.order_payment_authorization'](); };
|
|
28298
|
+
export var makeOrderPaymentSourceType = function () { return factories['io.flow.internal.v0.enums.order_payment_source_type'](); };
|
|
28072
28299
|
export var makeOrderRatesDataV3 = function () { return factories['io.flow.internal.v0.models.order_rates_data_v3'](); };
|
|
28073
28300
|
export var makeOrderRatesPublishedV3 = function () { return factories['io.flow.internal.v0.models.order_rates_published_v3'](); };
|
|
28074
28301
|
export var makeOrderReference = function () { return factories['io.flow.internal.v0.models.order_reference'](); };
|
|
@@ -28240,6 +28467,7 @@ export var makePaypalRefundUpserted = function () { return factories['io.flow.in
|
|
|
28240
28467
|
export var makePendingBankPayment = function () { return factories['io.flow.internal.v0.models.pending_bank_payment'](); };
|
|
28241
28468
|
export var makePendingBankPaymentDetail = function () { return factories['io.flow.internal.v0.models.pending_bank_payment_detail'](); };
|
|
28242
28469
|
export var makePendingOrder = function () { return factories['io.flow.internal.v0.models.pending_order'](); };
|
|
28470
|
+
export var makePendingRecordType = function () { return factories['io.flow.internal.v0.enums.pending_record_type'](); };
|
|
28243
28471
|
export var makePhraseClassified = function () { return factories['io.flow.internal.v0.models.phrase_classified'](); };
|
|
28244
28472
|
export var makePhrasePropagated = function () { return factories['io.flow.internal.v0.models.phrase_propagated'](); };
|
|
28245
28473
|
export var makePlatformFee = function () { return factories['io.flow.internal.v0.unions.platform_fee'](); };
|
|
@@ -28296,6 +28524,7 @@ export var makeProductRestrictionStateDeleted = function () { return factories['
|
|
|
28296
28524
|
export var makeProductRestrictionStateInserted = function () { return factories['io.flow.internal.v0.models.product_restriction_state_inserted'](); };
|
|
28297
28525
|
export var makeProductRestrictionStateUpdated = function () { return factories['io.flow.internal.v0.models.product_restriction_state_updated'](); };
|
|
28298
28526
|
export var makeProductReviewHistory = function () { return factories['io.flow.internal.v0.models.product_review_history'](); };
|
|
28527
|
+
export var makeProductSellabilityInternal = function () { return factories['io.flow.internal.v0.models.product_sellability_internal'](); };
|
|
28299
28528
|
export var makeProductSellabilityResult = function () { return factories['io.flow.internal.v0.models.product_sellability_result'](); };
|
|
28300
28529
|
export var makeProductStatus = function () { return factories['io.flow.internal.v0.enums.product_status'](); };
|
|
28301
28530
|
export var makeProductTransaction = function () { return factories['io.flow.internal.v0.models.product_transaction'](); };
|
|
@@ -28471,6 +28700,7 @@ export var makeRestrictionRuleEffectUpserted = function () { return factories['i
|
|
|
28471
28700
|
export var makeRestrictionRuleExceptionAction = function () { return factories['io.flow.internal.v0.enums.restriction_rule_exception_action'](); };
|
|
28472
28701
|
export var makeRestrictionRuleForm = function () { return factories['io.flow.internal.v0.models.restriction_rule_form'](); };
|
|
28473
28702
|
export var makeRestrictionRuleLaneExemption = function () { return factories['io.flow.internal.v0.models.restriction_rule_lane_exemption'](); };
|
|
28703
|
+
export var makeRestrictionRuleOrganizationExemption = function () { return factories['io.flow.internal.v0.models.restriction_rule_organization_exemption'](); };
|
|
28474
28704
|
export var makeRestrictionRuleOverride = function () { return factories['io.flow.internal.v0.models.restriction_rule_override'](); };
|
|
28475
28705
|
export var makeRestrictionRuleSummary = function () { return factories['io.flow.internal.v0.models.restriction_rule_summary'](); };
|
|
28476
28706
|
export var makeRestrictionRuleUpserted = function () { return factories['io.flow.internal.v0.models.restriction_rule_upserted'](); };
|
|
@@ -28484,8 +28714,6 @@ export var makeResyncByDestinations = function () { return factories['io.flow.in
|
|
|
28484
28714
|
export var makeResyncByHs6Destinations = function () { return factories['io.flow.internal.v0.models.resync_by_hs6_destinations'](); };
|
|
28485
28715
|
export var makeResyncByHs6Origin = function () { return factories['io.flow.internal.v0.models.resync_by_hs6_origin'](); };
|
|
28486
28716
|
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
28717
|
export var makeReturn = function () { return factories['io.flow.internal.v0.models.return'](); };
|
|
28490
28718
|
export var makeReturnPolicyDeleted = function () { return factories['io.flow.internal.v0.models.return_policy_deleted'](); };
|
|
28491
28719
|
export var makeReturnPolicyItemResultDeleted = function () { return factories['io.flow.internal.v0.models.return_policy_item_result_deleted'](); };
|
|
@@ -28630,6 +28858,9 @@ export var makeShopifyOrderLineContent = function () { return factories['io.flow
|
|
|
28630
28858
|
export var makeShopifyOrderRiskAssessment = function () { return factories['io.flow.internal.v0.models.shopify_order_risk_assessment'](); };
|
|
28631
28859
|
export var makeShopifyOrderRiskAssessmentDeleted = function () { return factories['io.flow.internal.v0.models.shopify_order_risk_assessment_deleted'](); };
|
|
28632
28860
|
export var makeShopifyOrderRiskAssessmentUpserted = function () { return factories['io.flow.internal.v0.models.shopify_order_risk_assessment_upserted'](); };
|
|
28861
|
+
export var makeShopifyOrderTransaction = function () { return factories['io.flow.internal.v0.models.shopify_order_transaction'](); };
|
|
28862
|
+
export var makeShopifyOrderTransactionDeleted = function () { return factories['io.flow.internal.v0.models.shopify_order_transaction_deleted'](); };
|
|
28863
|
+
export var makeShopifyOrderTransactionUpserted = function () { return factories['io.flow.internal.v0.models.shopify_order_transaction_upserted'](); };
|
|
28633
28864
|
export var makeShopifyOrganizationSettings = function () { return factories['io.flow.internal.v0.models.shopify_organization_settings'](); };
|
|
28634
28865
|
export var makeShopifyOrganizationSettingsForm = function () { return factories['io.flow.internal.v0.models.shopify_organization_settings_form'](); };
|
|
28635
28866
|
export var makeShopifyPartnerWebhook = function () { return factories['io.flow.internal.v0.models.shopify_partner_webhook'](); };
|
|
@@ -28782,6 +29013,7 @@ export var makeTaxCalculationErrorCode = function () { return factories['io.flow
|
|
|
28782
29013
|
export var makeTaxCalculationForm = function () { return factories['io.flow.internal.v0.models.tax_calculation_form'](); };
|
|
28783
29014
|
export var makeTaxCalculationLineItem = function () { return factories['io.flow.internal.v0.models.tax_calculation_line_item'](); };
|
|
28784
29015
|
export var makeTaxCalculationLineItemForm = function () { return factories['io.flow.internal.v0.models.tax_calculation_line_item_form'](); };
|
|
29016
|
+
export var makeTaxDutyReasonCodeMetadata = function () { return factories['io.flow.internal.v0.models.tax_duty_reason_code_metadata'](); };
|
|
28785
29017
|
export var makeTaxParty = function () { return factories['io.flow.internal.v0.enums.tax_party'](); };
|
|
28786
29018
|
export var makeTaxRemittanceTransaction = function () { return factories['io.flow.internal.v0.models.tax_remittance_transaction'](); };
|
|
28787
29019
|
export var makeTaxRemittanceTransactionDeleted = function () { return factories['io.flow.internal.v0.models.tax_remittance_transaction_deleted'](); };
|
|
@@ -28791,6 +29023,9 @@ export var makeTaxTransactionDeleted = function () { return factories['io.flow.i
|
|
|
28791
29023
|
export var makeTaxTransactionType = function () { return factories['io.flow.internal.v0.enums.tax_transaction_type'](); };
|
|
28792
29024
|
export var makeTaxTransactionUpserted = function () { return factories['io.flow.internal.v0.models.tax_transaction_upserted'](); };
|
|
28793
29025
|
export var makeTaxonomyCategory = function () { return factories['io.flow.internal.v0.models.taxonomy_category'](); };
|
|
29026
|
+
export var makeTaxonomyCategoryHs6Ref = function () { return factories['io.flow.internal.v0.models.taxonomy_category_hs6_ref'](); };
|
|
29027
|
+
export var makeTaxonomyCategoryHs6RefDeleted = function () { return factories['io.flow.internal.v0.models.taxonomy_category_hs6_ref_deleted'](); };
|
|
29028
|
+
export var makeTaxonomyCategoryHs6RefUpserted = function () { return factories['io.flow.internal.v0.models.taxonomy_category_hs6_ref_upserted'](); };
|
|
28794
29029
|
export var makeTaxonomyNode = function () { return factories['io.flow.internal.v0.models.taxonomy_node'](); };
|
|
28795
29030
|
export var makeTechOnboardingDescription = function () { return factories['io.flow.internal.v0.models.tech_onboarding_description'](); };
|
|
28796
29031
|
export var makeTest = function () { return factories['io.flow.internal.v0.models.test'](); };
|
|
@@ -28837,7 +29072,6 @@ export var makeTrackingProcessingErrorUpserted = function () { return factories[
|
|
|
28837
29072
|
export var makeTrackingProcessingFailureClassification = function () { return factories['io.flow.internal.v0.enums.tracking_processing_failure_classification'](); };
|
|
28838
29073
|
export var makeTrackingRequest = function () { return factories['io.flow.internal.v0.models.tracking_request'](); };
|
|
28839
29074
|
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
29075
|
export var makeTrackingSubscription = function () { return factories['io.flow.internal.v0.models.tracking_subscription'](); };
|
|
28842
29076
|
export var makeTrackingSubscriptionDeleted = function () { return factories['io.flow.internal.v0.models.tracking_subscription_deleted'](); };
|
|
28843
29077
|
export var makeTrackingSubscriptionUpserted = function () { return factories['io.flow.internal.v0.models.tracking_subscription_upserted'](); };
|