@flowio/api-internal-factories 0.0.139 → 0.0.140
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 +1000 -96
- package/dist/esm/api-internal.js +916 -56
- package/dist/types/api-internal.d.ts +47 -4
- package/package.json +2 -2
- package/src/api-internal.ts +1106 -67
package/dist/esm/api-internal.js
CHANGED
|
@@ -685,7 +685,8 @@ var factories = {
|
|
|
685
685
|
'unfulfilled_amount_greater_than_negative_balance',
|
|
686
686
|
'account_payment_hold',
|
|
687
687
|
]); },
|
|
688
|
-
'io.flow.billing.v0.enums.statement_attachment_type': function () { return faker.helpers.arrayElement(['csv']); },
|
|
688
|
+
'io.flow.billing.v0.enums.statement_attachment_type': function () { return faker.helpers.arrayElement(['csv', 'pdf']); },
|
|
689
|
+
'io.flow.billing.v0.enums.statement_status_code': function () { return faker.helpers.arrayElement(['scheduled', 'sent', 'failed']); },
|
|
689
690
|
'io.flow.billing.v0.enums.tax_duty_transaction_reason_code': function () { return faker.helpers.arrayElement([
|
|
690
691
|
'post_capture',
|
|
691
692
|
'post_fulfilment',
|
|
@@ -693,6 +694,7 @@ var factories = {
|
|
|
693
694
|
'order_edit',
|
|
694
695
|
'mixed_fulfilment_non_lvg',
|
|
695
696
|
'lvg_refund',
|
|
697
|
+
'us_inbound_tax_refund',
|
|
696
698
|
'order_cancellation_above_de_min',
|
|
697
699
|
'wyol_shipment_above_de_min',
|
|
698
700
|
'full_refund_without_shipment',
|
|
@@ -731,8 +733,10 @@ var factories = {
|
|
|
731
733
|
'merchant_refund',
|
|
732
734
|
'ge_revenue_share',
|
|
733
735
|
'merchant_fee',
|
|
736
|
+
'b2b_tax',
|
|
737
|
+
'b2b_tax_refund',
|
|
734
738
|
]); },
|
|
735
|
-
'io.flow.billing.v0.enums.trueup_source': function () { return faker.helpers.arrayElement(['flow', 'channel', 'dhl-parcel', 'dhl', 'ups']); },
|
|
739
|
+
'io.flow.billing.v0.enums.trueup_source': function () { return faker.helpers.arrayElement(['flow', 'channel', 'dhl-parcel', 'dhl', 'ups', 'fedex']); },
|
|
736
740
|
'io.flow.billing.v0.enums.withholding_deduction_type': function () { return faker.helpers.arrayElement(['tax', 'duty', 'freight', 'insurance']); },
|
|
737
741
|
'io.flow.billing.v0.models.account_id_reference': function () { return ({
|
|
738
742
|
id: factories.string(),
|
|
@@ -954,6 +958,10 @@ var factories = {
|
|
|
954
958
|
attachments: arrayOf(function () { return factories['io.flow.billing.v0.models.attachment'](); }),
|
|
955
959
|
created_at: factories.date_time_iso_8601(),
|
|
956
960
|
}); },
|
|
961
|
+
'io.flow.billing.v0.models.statement_status_form': function () { return ({
|
|
962
|
+
code: factories['io.flow.billing.v0.enums.statement_status_code'](),
|
|
963
|
+
failure_reason: factories['io.flow.billing.v0.enums.payout_status_failure_code'](),
|
|
964
|
+
}); },
|
|
957
965
|
'io.flow.billing.v0.models.transaction': function () { return ({
|
|
958
966
|
statement: factories['io.flow.billing.v0.models.billing_channel_statement_reference'](),
|
|
959
967
|
id: factories.string(),
|
|
@@ -1828,6 +1836,7 @@ var factories = {
|
|
|
1828
1836
|
'unsupported_virtual_goods',
|
|
1829
1837
|
'non_matching_currencies',
|
|
1830
1838
|
'unsupported_order_edit',
|
|
1839
|
+
'order_allocation_duties_mismatch',
|
|
1831
1840
|
'order_missing',
|
|
1832
1841
|
]); },
|
|
1833
1842
|
'io.flow.channel.internal.v0.enums.channel_order_acceptance_status': function () { return faker.helpers.arrayElement(['accepted', 'rejected', 'review', 'edit_review', 'edit_accepted']); },
|
|
@@ -1873,6 +1882,7 @@ var factories = {
|
|
|
1873
1882
|
order_updated_at: factories.date_time_iso_8601(),
|
|
1874
1883
|
order_edit_summary: factories['io.flow.channel.internal.v0.models.order_edit_summary'](),
|
|
1875
1884
|
payment_source: factories['io.flow.channel.internal.v0.enums.order_payment_source_type'](),
|
|
1885
|
+
external_order_summary: factories['io.flow.channel.shopify.v0.models.external_order_summary'](),
|
|
1876
1886
|
}); },
|
|
1877
1887
|
'io.flow.channel.internal.v0.models.channel_order_acceptance_details': function () { return ({
|
|
1878
1888
|
order_acceptance: factories['io.flow.channel.internal.v0.models.channel_order_acceptance'](),
|
|
@@ -1952,6 +1962,26 @@ var factories = {
|
|
|
1952
1962
|
catalog_publication: factories['io.flow.channel.shopify.internal.v0.models.shopify_catalog_publication'](),
|
|
1953
1963
|
token: factories.string(),
|
|
1954
1964
|
}); },
|
|
1965
|
+
'io.flow.channel.shopify.v0.enums.channel_shopify_order_state_reason_code': function () { return faker.helpers.arrayElement(['placeholder_reason_code']); },
|
|
1966
|
+
'io.flow.channel.shopify.v0.models.channel_shopify_order_state': function () { return ({
|
|
1967
|
+
id: factories.string(),
|
|
1968
|
+
shopify_order_summary: factories['io.flow.channel.shopify.v0.models.channel_shopify_order_summary'](),
|
|
1969
|
+
status: factories['io.flow.channel.internal.v0.enums.channel_order_acceptance_status'](),
|
|
1970
|
+
reasons: arrayOf(function () { return factories['io.flow.channel.shopify.v0.models.channel_shopify_order_state_reason'](); }),
|
|
1971
|
+
external_order_summary: factories['io.flow.channel.shopify.v0.models.external_order_summary'](),
|
|
1972
|
+
}); },
|
|
1973
|
+
'io.flow.channel.shopify.v0.models.channel_shopify_order_state_reason': function () { return ({
|
|
1974
|
+
code: factories['io.flow.channel.shopify.v0.enums.channel_shopify_order_state_reason_code'](),
|
|
1975
|
+
message: factories.string(),
|
|
1976
|
+
}); },
|
|
1977
|
+
'io.flow.channel.shopify.v0.models.channel_shopify_order_summary': function () { return ({
|
|
1978
|
+
order_id: factories.long(),
|
|
1979
|
+
shop_id: factories.long(),
|
|
1980
|
+
}); },
|
|
1981
|
+
'io.flow.channel.shopify.v0.models.external_order_summary': function () { return ({
|
|
1982
|
+
id: factories.string(),
|
|
1983
|
+
edit_ids: arrayOf(function () { return factories.string(); }),
|
|
1984
|
+
}); },
|
|
1955
1985
|
'io.flow.channel.v0.enums.channel_currency_capability': function () { return faker.helpers.arrayElement(['payment_authorizations', 'settlement_currency']); },
|
|
1956
1986
|
'io.flow.channel.v0.models.channel': function () { return ({
|
|
1957
1987
|
id: factories.string(),
|
|
@@ -2263,6 +2293,8 @@ var factories = {
|
|
|
2263
2293
|
'io.flow.common.v0.models.merchant_of_record_entity_registration': function () { return ({
|
|
2264
2294
|
number: factories.string(),
|
|
2265
2295
|
country: factories.string(),
|
|
2296
|
+
province_number: factories.string(),
|
|
2297
|
+
province: factories.string(),
|
|
2266
2298
|
}); },
|
|
2267
2299
|
'io.flow.common.v0.models.money': function () { return ({
|
|
2268
2300
|
amount: factories.double(),
|
|
@@ -2462,6 +2494,230 @@ var factories = {
|
|
|
2462
2494
|
]);
|
|
2463
2495
|
return f();
|
|
2464
2496
|
},
|
|
2497
|
+
'io.flow.consumer.invoice.v0.enums.b2b_invoice_type': function () { return faker.helpers.arrayElement(['self_bill_invoice', 'invoice']); },
|
|
2498
|
+
'io.flow.consumer.invoice.v0.enums.consumer_invoice_customer_type': function () { return faker.helpers.arrayElement(['business_eu_verified', 'business_non_verified', 'individual']); },
|
|
2499
|
+
'io.flow.consumer.invoice.v0.enums.consumer_invoice_document_type': function () { return faker.helpers.arrayElement(['pdf']); },
|
|
2500
|
+
'io.flow.consumer.invoice.v0.enums.consumer_invoice_status': function () { return faker.helpers.arrayElement(['pending', 'available', 'invalid']); },
|
|
2501
|
+
'io.flow.consumer.invoice.v0.enums.tax_jurisdiction_type': function () { return faker.helpers.arrayElement(['country', 'province']); },
|
|
2502
|
+
'io.flow.consumer.invoice.v0.enums.tax_type': function () { return faker.helpers.arrayElement(['vat', 'gst', 'hst', 'pst', 'qst', 'sales_tax']); },
|
|
2503
|
+
'io.flow.consumer.invoice.v0.models.b2b_credit_memo': function () { return ({
|
|
2504
|
+
id: factories.string(),
|
|
2505
|
+
number: factories.string(),
|
|
2506
|
+
buyer: factories['io.flow.common.v0.models.merchant_of_record_entity'](),
|
|
2507
|
+
seller: factories['io.flow.common.v0.models.merchant_of_record_entity'](),
|
|
2508
|
+
status: factories['io.flow.consumer.invoice.v0.enums.consumer_invoice_status'](),
|
|
2509
|
+
date: factories.date_time_iso_8601(),
|
|
2510
|
+
key: factories.string(),
|
|
2511
|
+
invoice: factories['io.flow.consumer.invoice.v0.models.b2b_invoice_reference'](),
|
|
2512
|
+
lines: arrayOf(function () { return factories['io.flow.consumer.invoice.v0.unions.consumer_invoice_line'](); }),
|
|
2513
|
+
tax_lines: arrayOf(function () { return factories['io.flow.consumer.invoice.v0.models.invoice_tax_line'](); }),
|
|
2514
|
+
tax: factories['io.flow.common.v0.models.money'](),
|
|
2515
|
+
documents: arrayOf(function () { return factories['io.flow.consumer.invoice.v0.models.consumer_invoice_document'](); }),
|
|
2516
|
+
attributes: objectOf(function () { return factories.string(); }),
|
|
2517
|
+
b2b_invoice_type: factories['io.flow.consumer.invoice.v0.enums.b2b_invoice_type'](),
|
|
2518
|
+
center: factories['io.flow.consumer.invoice.v0.models.consumer_invoice_center_reference'](),
|
|
2519
|
+
order: factories['io.flow.consumer.invoice.v0.models.consumer_invoice_order_summary'](),
|
|
2520
|
+
}); },
|
|
2521
|
+
'io.flow.consumer.invoice.v0.models.b2b_invoice': function () { return ({
|
|
2522
|
+
id: factories.string(),
|
|
2523
|
+
number: factories.string(),
|
|
2524
|
+
buyer: factories['io.flow.common.v0.models.merchant_of_record_entity'](),
|
|
2525
|
+
seller: factories['io.flow.common.v0.models.merchant_of_record_entity'](),
|
|
2526
|
+
status: factories['io.flow.consumer.invoice.v0.enums.consumer_invoice_status'](),
|
|
2527
|
+
date: factories.date_time_iso_8601(),
|
|
2528
|
+
key: factories.string(),
|
|
2529
|
+
order: factories['io.flow.consumer.invoice.v0.models.consumer_invoice_order_summary'](),
|
|
2530
|
+
economic_title_location: factories['io.flow.merchant.of.record.v0.enums.economic_title_location'](),
|
|
2531
|
+
center: factories['io.flow.consumer.invoice.v0.models.consumer_invoice_center_reference'](),
|
|
2532
|
+
destination: factories['io.flow.experience.v0.models.order_address'](),
|
|
2533
|
+
tax: factories['io.flow.common.v0.models.money'](),
|
|
2534
|
+
tax_lines: arrayOf(function () { return factories['io.flow.consumer.invoice.v0.models.invoice_tax_line'](); }),
|
|
2535
|
+
lines: arrayOf(function () { return factories['io.flow.consumer.invoice.v0.unions.consumer_invoice_line'](); }),
|
|
2536
|
+
documents: arrayOf(function () { return factories['io.flow.consumer.invoice.v0.models.consumer_invoice_document'](); }),
|
|
2537
|
+
attributes: objectOf(function () { return factories.string(); }),
|
|
2538
|
+
estimated_delivery_date: factories.date_time_iso_8601(),
|
|
2539
|
+
b2b_invoice_type: factories['io.flow.consumer.invoice.v0.enums.b2b_invoice_type'](),
|
|
2540
|
+
}); },
|
|
2541
|
+
'io.flow.consumer.invoice.v0.models.b2b_invoice_reference': function () { return ({
|
|
2542
|
+
id: factories.string(),
|
|
2543
|
+
key: factories.string(),
|
|
2544
|
+
number: factories.string(),
|
|
2545
|
+
}); },
|
|
2546
|
+
'io.flow.consumer.invoice.v0.models.consumer_invoice': function () { return ({
|
|
2547
|
+
id: factories.string(),
|
|
2548
|
+
number: factories.string(),
|
|
2549
|
+
status: factories['io.flow.consumer.invoice.v0.enums.consumer_invoice_status'](),
|
|
2550
|
+
date: factories.date_time_iso_8601(),
|
|
2551
|
+
key: factories.string(),
|
|
2552
|
+
order: factories['io.flow.consumer.invoice.v0.models.consumer_invoice_order_summary'](),
|
|
2553
|
+
entity: factories['io.flow.common.v0.models.merchant_of_record_entity'](),
|
|
2554
|
+
payments: arrayOf(function () { return factories['io.flow.consumer.invoice.v0.models.consumer_invoice_payment'](); }),
|
|
2555
|
+
center: factories['io.flow.consumer.invoice.v0.models.consumer_invoice_center_reference'](),
|
|
2556
|
+
destination: factories['io.flow.experience.v0.models.order_address'](),
|
|
2557
|
+
billing_address: factories['io.flow.common.v0.models.billing_address'](),
|
|
2558
|
+
lines: arrayOf(function () { return factories['io.flow.consumer.invoice.v0.unions.consumer_invoice_line'](); }),
|
|
2559
|
+
documents: arrayOf(function () { return factories['io.flow.consumer.invoice.v0.models.consumer_invoice_document'](); }),
|
|
2560
|
+
attributes: objectOf(function () { return factories.string(); }),
|
|
2561
|
+
tax_registration: factories['io.flow.harmonization.v0.models.tax_registration'](),
|
|
2562
|
+
customer_type: factories['io.flow.consumer.invoice.v0.enums.consumer_invoice_customer_type'](),
|
|
2563
|
+
estimated_delivery_date: factories.date_time_iso_8601(),
|
|
2564
|
+
}); },
|
|
2565
|
+
'io.flow.consumer.invoice.v0.models.consumer_invoice_center_reference': function () { return ({
|
|
2566
|
+
id: factories.string(),
|
|
2567
|
+
key: factories.string(),
|
|
2568
|
+
name: factories.string(),
|
|
2569
|
+
address: factories['io.flow.common.v0.models.address'](),
|
|
2570
|
+
}); },
|
|
2571
|
+
'io.flow.consumer.invoice.v0.models.consumer_invoice_document': function () { return ({
|
|
2572
|
+
type: factories['io.flow.consumer.invoice.v0.enums.consumer_invoice_document_type'](),
|
|
2573
|
+
language: factories.string(),
|
|
2574
|
+
url: factories.string(),
|
|
2575
|
+
}); },
|
|
2576
|
+
'io.flow.consumer.invoice.v0.models.consumer_invoice_form': function () { return ({
|
|
2577
|
+
order_number: factories.string(),
|
|
2578
|
+
attributes: objectOf(function () { return factories.string(); }),
|
|
2579
|
+
}); },
|
|
2580
|
+
'io.flow.consumer.invoice.v0.models.consumer_invoice_form_by_order': function () { return ({
|
|
2581
|
+
attributes: objectOf(function () { return factories.string(); }),
|
|
2582
|
+
}); },
|
|
2583
|
+
'io.flow.consumer.invoice.v0.models.consumer_invoice_levy': function () { return ({
|
|
2584
|
+
rate: factories.decimal(),
|
|
2585
|
+
value: factories['io.flow.common.v0.models.price'](),
|
|
2586
|
+
}); },
|
|
2587
|
+
'io.flow.consumer.invoice.v0.models.consumer_invoice_levy_form': function () { return ({
|
|
2588
|
+
rate: factories.decimal(),
|
|
2589
|
+
amount: factories.decimal(),
|
|
2590
|
+
}); },
|
|
2591
|
+
'io.flow.consumer.invoice.v0.models.consumer_invoice_line_discount': function () { return ({
|
|
2592
|
+
discriminator: 'discount',
|
|
2593
|
+
line_id: factories.string(),
|
|
2594
|
+
price: factories['io.flow.common.v0.models.price'](),
|
|
2595
|
+
}); },
|
|
2596
|
+
'io.flow.consumer.invoice.v0.models.consumer_invoice_line_discount_form': function () { return ({
|
|
2597
|
+
discriminator: 'discount',
|
|
2598
|
+
price: factories.decimal(),
|
|
2599
|
+
}); },
|
|
2600
|
+
'io.flow.consumer.invoice.v0.models.consumer_invoice_line_item': function () { return ({
|
|
2601
|
+
discriminator: 'item',
|
|
2602
|
+
line_id: factories.string(),
|
|
2603
|
+
item: factories['io.flow.common.v0.models.item_reference'](),
|
|
2604
|
+
description: factories.string(),
|
|
2605
|
+
quantity: factories.long(),
|
|
2606
|
+
unit_price: factories['io.flow.common.v0.models.price'](),
|
|
2607
|
+
unit_discount: factories['io.flow.common.v0.models.price'](),
|
|
2608
|
+
unit_tax: factories['io.flow.consumer.invoice.v0.models.consumer_invoice_levy'](),
|
|
2609
|
+
unit_duty: factories['io.flow.consumer.invoice.v0.models.consumer_invoice_levy'](),
|
|
2610
|
+
}); },
|
|
2611
|
+
'io.flow.consumer.invoice.v0.models.consumer_invoice_line_item_form': function () { return ({
|
|
2612
|
+
discriminator: 'item',
|
|
2613
|
+
item_number: factories.string(),
|
|
2614
|
+
quantity: factories.long(),
|
|
2615
|
+
unit_price: factories.decimal(),
|
|
2616
|
+
unit_discount: factories.decimal(),
|
|
2617
|
+
unit_tax: factories['io.flow.consumer.invoice.v0.models.consumer_invoice_levy_form'](),
|
|
2618
|
+
unit_duty: factories['io.flow.consumer.invoice.v0.models.consumer_invoice_levy_form'](),
|
|
2619
|
+
}); },
|
|
2620
|
+
'io.flow.consumer.invoice.v0.models.consumer_invoice_line_shipping': function () { return ({
|
|
2621
|
+
discriminator: 'shipping',
|
|
2622
|
+
line_id: factories.string(),
|
|
2623
|
+
price: factories['io.flow.common.v0.models.price'](),
|
|
2624
|
+
discount: factories['io.flow.common.v0.models.price'](),
|
|
2625
|
+
tax: factories['io.flow.consumer.invoice.v0.models.consumer_invoice_levy'](),
|
|
2626
|
+
duty: factories['io.flow.consumer.invoice.v0.models.consumer_invoice_levy'](),
|
|
2627
|
+
}); },
|
|
2628
|
+
'io.flow.consumer.invoice.v0.models.consumer_invoice_line_shipping_form': function () { return ({
|
|
2629
|
+
discriminator: 'shipping',
|
|
2630
|
+
price: factories.decimal(),
|
|
2631
|
+
discount: factories.decimal(),
|
|
2632
|
+
tax: factories['io.flow.consumer.invoice.v0.models.consumer_invoice_levy_form'](),
|
|
2633
|
+
duty: factories['io.flow.consumer.invoice.v0.models.consumer_invoice_levy_form'](),
|
|
2634
|
+
}); },
|
|
2635
|
+
'io.flow.consumer.invoice.v0.models.consumer_invoice_line_tip': function () { return ({
|
|
2636
|
+
discriminator: 'tip',
|
|
2637
|
+
line_id: factories.string(),
|
|
2638
|
+
price: factories['io.flow.common.v0.models.price'](),
|
|
2639
|
+
tax: factories['io.flow.consumer.invoice.v0.models.consumer_invoice_levy'](),
|
|
2640
|
+
}); },
|
|
2641
|
+
'io.flow.consumer.invoice.v0.models.consumer_invoice_line_tip_form': function () { return ({
|
|
2642
|
+
discriminator: 'tip',
|
|
2643
|
+
price: factories.decimal(),
|
|
2644
|
+
tax: factories['io.flow.consumer.invoice.v0.models.consumer_invoice_levy_form'](),
|
|
2645
|
+
}); },
|
|
2646
|
+
'io.flow.consumer.invoice.v0.models.consumer_invoice_order_summary': function () { return ({
|
|
2647
|
+
id: factories.string(),
|
|
2648
|
+
number: factories.string(),
|
|
2649
|
+
submitted_at: factories.date_time_iso_8601(),
|
|
2650
|
+
}); },
|
|
2651
|
+
'io.flow.consumer.invoice.v0.models.consumer_invoice_payment': function () { return ({
|
|
2652
|
+
date: factories.date_time_iso_8601(),
|
|
2653
|
+
description: factories.string(),
|
|
2654
|
+
value: factories['io.flow.common.v0.models.price'](),
|
|
2655
|
+
billing_address: factories['io.flow.common.v0.models.billing_address'](),
|
|
2656
|
+
}); },
|
|
2657
|
+
'io.flow.consumer.invoice.v0.models.consumer_invoice_reference': function () { return ({
|
|
2658
|
+
id: factories.string(),
|
|
2659
|
+
key: factories.string(),
|
|
2660
|
+
number: factories.string(),
|
|
2661
|
+
}); },
|
|
2662
|
+
'io.flow.consumer.invoice.v0.models.credit_memo': function () { return ({
|
|
2663
|
+
id: factories.string(),
|
|
2664
|
+
number: factories.string(),
|
|
2665
|
+
status: factories['io.flow.consumer.invoice.v0.enums.consumer_invoice_status'](),
|
|
2666
|
+
date: factories.date_time_iso_8601(),
|
|
2667
|
+
key: factories.string(),
|
|
2668
|
+
invoice: factories['io.flow.consumer.invoice.v0.models.consumer_invoice_reference'](),
|
|
2669
|
+
entity: factories['io.flow.common.v0.models.merchant_of_record_entity'](),
|
|
2670
|
+
payments: arrayOf(function () { return factories['io.flow.consumer.invoice.v0.models.consumer_invoice_payment'](); }),
|
|
2671
|
+
lines: arrayOf(function () { return factories['io.flow.consumer.invoice.v0.unions.consumer_invoice_line'](); }),
|
|
2672
|
+
documents: arrayOf(function () { return factories['io.flow.consumer.invoice.v0.models.consumer_invoice_document'](); }),
|
|
2673
|
+
attributes: objectOf(function () { return factories.string(); }),
|
|
2674
|
+
tax_registration: factories['io.flow.harmonization.v0.models.tax_registration'](),
|
|
2675
|
+
center: factories['io.flow.consumer.invoice.v0.models.consumer_invoice_center_reference'](),
|
|
2676
|
+
order: factories['io.flow.consumer.invoice.v0.models.consumer_invoice_order_summary'](),
|
|
2677
|
+
}); },
|
|
2678
|
+
'io.flow.consumer.invoice.v0.models.credit_memo_form': function () { return ({
|
|
2679
|
+
refund_id: factories.string(),
|
|
2680
|
+
refund_key: factories.string(),
|
|
2681
|
+
refund_identifier: factories.string(),
|
|
2682
|
+
lines: arrayOf(function () { return factories['io.flow.consumer.invoice.v0.unions.consumer_invoice_line_form'](); }),
|
|
2683
|
+
attributes: objectOf(function () { return factories.string(); }),
|
|
2684
|
+
}); },
|
|
2685
|
+
'io.flow.consumer.invoice.v0.models.invoice_export': function () { return ({
|
|
2686
|
+
id: factories.string(),
|
|
2687
|
+
}); },
|
|
2688
|
+
'io.flow.consumer.invoice.v0.models.invoice_export_form': function () { return ({
|
|
2689
|
+
date_from: factories.date_iso_8601(),
|
|
2690
|
+
date_to: factories.date_iso_8601(),
|
|
2691
|
+
}); },
|
|
2692
|
+
'io.flow.consumer.invoice.v0.models.invoice_tax_line': function () { return ({
|
|
2693
|
+
line_id: factories.string(),
|
|
2694
|
+
tax_breakdown: arrayOf(function () { return factories['io.flow.consumer.invoice.v0.models.tax_breakdown'](); }),
|
|
2695
|
+
}); },
|
|
2696
|
+
'io.flow.consumer.invoice.v0.models.tax_breakdown': function () { return ({
|
|
2697
|
+
label: factories.string(),
|
|
2698
|
+
calculated_tax: factories['io.flow.common.v0.models.money'](),
|
|
2699
|
+
rate: factories.decimal(),
|
|
2700
|
+
line_total: factories['io.flow.common.v0.models.money'](),
|
|
2701
|
+
jurisdiction_type: factories['io.flow.consumer.invoice.v0.enums.tax_jurisdiction_type'](),
|
|
2702
|
+
}); },
|
|
2703
|
+
'io.flow.consumer.invoice.v0.unions.consumer_invoice_line': function () {
|
|
2704
|
+
var f = faker.helpers.arrayElement([
|
|
2705
|
+
function () { return factories['io.flow.consumer.invoice.v0.models.consumer_invoice_line_item'](); },
|
|
2706
|
+
function () { return factories['io.flow.consumer.invoice.v0.models.consumer_invoice_line_discount'](); },
|
|
2707
|
+
function () { return factories['io.flow.consumer.invoice.v0.models.consumer_invoice_line_shipping'](); },
|
|
2708
|
+
function () { return factories['io.flow.consumer.invoice.v0.models.consumer_invoice_line_tip'](); },
|
|
2709
|
+
]);
|
|
2710
|
+
return f();
|
|
2711
|
+
},
|
|
2712
|
+
'io.flow.consumer.invoice.v0.unions.consumer_invoice_line_form': function () {
|
|
2713
|
+
var f = faker.helpers.arrayElement([
|
|
2714
|
+
function () { return factories['io.flow.consumer.invoice.v0.models.consumer_invoice_line_item_form'](); },
|
|
2715
|
+
function () { return factories['io.flow.consumer.invoice.v0.models.consumer_invoice_line_discount_form'](); },
|
|
2716
|
+
function () { return factories['io.flow.consumer.invoice.v0.models.consumer_invoice_line_shipping_form'](); },
|
|
2717
|
+
function () { return factories['io.flow.consumer.invoice.v0.models.consumer_invoice_line_tip_form'](); },
|
|
2718
|
+
]);
|
|
2719
|
+
return f();
|
|
2720
|
+
},
|
|
2465
2721
|
'io.flow.crypto.v0.enums.error_type': function () { return faker.helpers.arrayElement(['authentication_error', 'invalid_request_error', 'rate_limit_error']); },
|
|
2466
2722
|
'io.flow.crypto.v0.enums.payment_status': function () { return faker.helpers.arrayElement(['pending', 'succeeded', 'cancelled']); },
|
|
2467
2723
|
'io.flow.crypto.v0.enums.reason_type': function () { return faker.helpers.arrayElement(['duplicate', 'fraudulent', 'requested_by_customer']); },
|
|
@@ -5638,6 +5894,8 @@ var factories = {
|
|
|
5638
5894
|
'prr-566cc67167944bc4bd08167aa9c0beba',
|
|
5639
5895
|
'prr-74e1320efb7741cf9ace400b69800f9b',
|
|
5640
5896
|
]); },
|
|
5897
|
+
'io.flow.internal.v0.enums.b2b_tax_ledger_document_type': function () { return faker.helpers.arrayElement(['b2b_invoice', 'b2b_credit_memo']); },
|
|
5898
|
+
'io.flow.internal.v0.enums.b2b_tax_rate_type': function () { return faker.helpers.arrayElement(['basic', 'preferential', 'exempt']); },
|
|
5641
5899
|
'io.flow.internal.v0.enums.bank_account_status': function () { return faker.helpers.arrayElement(['on_hold', 'not_on_hold']); },
|
|
5642
5900
|
'io.flow.internal.v0.enums.bank_payment_promise_completed_method': function () { return faker.helpers.arrayElement(['credit', 'time']); },
|
|
5643
5901
|
'io.flow.internal.v0.enums.bank_payment_status_code': function () { return faker.helpers.arrayElement(['scheduled', 'sent', 'failed']); },
|
|
@@ -5912,6 +6170,8 @@ var factories = {
|
|
|
5912
6170
|
'merchant_fee',
|
|
5913
6171
|
'merchant_payout',
|
|
5914
6172
|
'merchant_refund',
|
|
6173
|
+
'b2b_tax',
|
|
6174
|
+
'b2b_tax_refund',
|
|
5915
6175
|
]); },
|
|
5916
6176
|
'io.flow.internal.v0.enums.calculator_engine': function () { return faker.helpers.arrayElement(['dtce_with_deminimis', 'dtce_with_inclusive_pricing', 'dtce_and_us_tax']); },
|
|
5917
6177
|
'io.flow.internal.v0.enums.carrier_charge_transaction_type': function () { return faker.helpers.arrayElement(['adjustment', 'reversal', 'charge', 'revenue_share']); },
|
|
@@ -5958,6 +6218,7 @@ var factories = {
|
|
|
5958
6218
|
'unsupported_virtual_goods',
|
|
5959
6219
|
'non_matching_currencies',
|
|
5960
6220
|
'unsupported_order_edit',
|
|
6221
|
+
'order_allocation_duties_mismatch',
|
|
5961
6222
|
'order_missing',
|
|
5962
6223
|
]); },
|
|
5963
6224
|
'io.flow.internal.v0.enums.channel_order_acceptance_status': function () { return faker.helpers.arrayElement(['accepted', 'rejected', 'review', 'edit_review', 'edit_accepted']); },
|
|
@@ -5997,7 +6258,8 @@ var factories = {
|
|
|
5997
6258
|
'io.flow.internal.v0.enums.checkout_url_type': function () { return faker.helpers.arrayElement(['continue_shopping', 'confirmation', 'invalid_checkout']); },
|
|
5998
6259
|
'io.flow.internal.v0.enums.classification_decision': function () { return faker.helpers.arrayElement(['Accept', 'Reject']); },
|
|
5999
6260
|
'io.flow.internal.v0.enums.classification_error_code': function () { return faker.helpers.arrayElement(['generic_error']); },
|
|
6000
|
-
'io.flow.internal.v0.enums.
|
|
6261
|
+
'io.flow.internal.v0.enums.classification_failure_reason': function () { return faker.helpers.arrayElement(['low_confidence', 'timeout']); },
|
|
6262
|
+
'io.flow.internal.v0.enums.classification_platform': function () { return faker.helpers.arrayElement(['GlobalE', 'Flow', 'FlowOnboarding', 'Borderfree']); },
|
|
6001
6263
|
'io.flow.internal.v0.enums.classification_scope': function () { return faker.helpers.arrayElement(['Item', 'Product']); },
|
|
6002
6264
|
'io.flow.internal.v0.enums.classification_type': function () { return faker.helpers.arrayElement(['None', 'Manual', 'ML', 'System']); },
|
|
6003
6265
|
'io.flow.internal.v0.enums.clothing_age_classification': function () { return faker.helpers.arrayElement(['None', 'AgeKidsGeneral', 'Age0_10', 'Age10_13', 'Age13_14']); },
|
|
@@ -6169,8 +6431,6 @@ var factories = {
|
|
|
6169
6431
|
'export_failed',
|
|
6170
6432
|
'feature_upserted',
|
|
6171
6433
|
'feature_deleted',
|
|
6172
|
-
'organization_boolean_value_upserted',
|
|
6173
|
-
'organization_boolean_value_deleted',
|
|
6174
6434
|
'account_settings_upserted',
|
|
6175
6435
|
'account_settings_deleted',
|
|
6176
6436
|
'account_processing_rates_upserted',
|
|
@@ -6406,6 +6666,22 @@ var factories = {
|
|
|
6406
6666
|
'stripe_connect_report_record_deleted',
|
|
6407
6667
|
'liability_remittance_plan_upserted',
|
|
6408
6668
|
'liability_remittance_plan_deleted',
|
|
6669
|
+
'anirban_item_upserted',
|
|
6670
|
+
'anirban_item_deleted',
|
|
6671
|
+
'sarvesh_item_upserted',
|
|
6672
|
+
'sarvesh_item_deleted',
|
|
6673
|
+
'hosein_item_upserted',
|
|
6674
|
+
'hosein_item_deleted',
|
|
6675
|
+
'niall_item_upserted',
|
|
6676
|
+
'niall_item_deleted',
|
|
6677
|
+
'rohan_item_upserted',
|
|
6678
|
+
'rohan_item_deleted',
|
|
6679
|
+
'aldo_item_upserted',
|
|
6680
|
+
'aldo_item_deleted',
|
|
6681
|
+
'ansh_item_upserted',
|
|
6682
|
+
'ansh_item_deleted',
|
|
6683
|
+
'gabriel_item_upserted',
|
|
6684
|
+
'gabriel_item_deleted',
|
|
6409
6685
|
'tracking_processing_error_upserted',
|
|
6410
6686
|
'tracking_processing_error_deleted',
|
|
6411
6687
|
'tracking_label_event_upserted_v2',
|
|
@@ -6439,6 +6715,7 @@ var factories = {
|
|
|
6439
6715
|
'io.flow.internal.v0.enums.fraud_provider': function () { return faker.helpers.arrayElement(['flow', 'forter', 'paypal', 'riskified', 'rps', 'other', 'none']); },
|
|
6440
6716
|
'io.flow.internal.v0.enums.fraud_provider_status': function () { return faker.helpers.arrayElement(['active', 'archived']); },
|
|
6441
6717
|
'io.flow.internal.v0.enums.fraud_review_responsible_party': function () { return faker.helpers.arrayElement(['flow', 'organization']); },
|
|
6718
|
+
'io.flow.internal.v0.enums.gabriel_item_type': function () { return faker.helpers.arrayElement(['physical', 'digital']); },
|
|
6442
6719
|
'io.flow.internal.v0.enums.ge_ingestion_file_status': function () { return faker.helpers.arrayElement(['pending', 'processed']); },
|
|
6443
6720
|
'io.flow.internal.v0.enums.ge_revenue_share_transaction_type': function () { return faker.helpers.arrayElement(['adjustment', 'reversal', 'revenue_share']); },
|
|
6444
6721
|
'io.flow.internal.v0.enums.google_analytics_plugin': function () { return faker.helpers.arrayElement(['ec']); },
|
|
@@ -6456,6 +6733,7 @@ var factories = {
|
|
|
6456
6733
|
]); },
|
|
6457
6734
|
'io.flow.internal.v0.enums.harmonization_decision_source': function () { return faker.helpers.arrayElement(['human', 'system', 'legacy_model', 'enterprise_model', 'merchant']); },
|
|
6458
6735
|
'io.flow.internal.v0.enums.hosein_item_type': function () { return faker.helpers.arrayElement(['physical', 'digital']); },
|
|
6736
|
+
'io.flow.internal.v0.enums.hs6_code_source': function () { return faker.helpers.arrayElement(['sellability', 'classification', 'human']); },
|
|
6459
6737
|
'io.flow.internal.v0.enums.http_method': function () { return faker.helpers.arrayElement(['get', 'post']); },
|
|
6460
6738
|
'io.flow.internal.v0.enums.internal_payment_entity_type': function () { return faker.helpers.arrayElement(['authorization', 'capture', 'refund', 'dispute']); },
|
|
6461
6739
|
'io.flow.internal.v0.enums.item_classification_action': function () { return faker.helpers.arrayElement(['ACCEPT', 'MANUAL', 'REJECT']); },
|
|
@@ -6496,6 +6774,8 @@ var factories = {
|
|
|
6496
6774
|
'io.flow.internal.v0.enums.label_request_result_organization_type': function () { return faker.helpers.arrayElement(['all', 'legacy_production', 'managed_markets_production', 'sandbox']); },
|
|
6497
6775
|
'io.flow.internal.v0.enums.label_request_result_state': function () { return faker.helpers.arrayElement(['success', 'failure']); },
|
|
6498
6776
|
'io.flow.internal.v0.enums.label_transaction_type': function () { return faker.helpers.arrayElement(['adjustment', 'reversal', 'billable_label', 'fee', 'revenue_share']); },
|
|
6777
|
+
'io.flow.internal.v0.enums.ledger_report_type': function () { return faker.helpers.arrayElement(['periodic_mor_jurisdiction_report']); },
|
|
6778
|
+
'io.flow.internal.v0.enums.ledger_report_url_type': function () { return faker.helpers.arrayElement(['sharepoint', 's3']); },
|
|
6499
6779
|
'io.flow.internal.v0.enums.liability_type': function () { return faker.helpers.arrayElement(['full_value_tax', 'low_value_goods_tax', 'high_value_goods_tax', 'duties']); },
|
|
6500
6780
|
'io.flow.internal.v0.enums.logistics_capability': function () { return faker.helpers.arrayElement(['logistics_address_correction']); },
|
|
6501
6781
|
'io.flow.internal.v0.enums.logistics_payout_resolution_method': function () { return faker.helpers.arrayElement([
|
|
@@ -6522,6 +6802,12 @@ var factories = {
|
|
|
6522
6802
|
'global_e_united_kingdom',
|
|
6523
6803
|
'global_e_canada',
|
|
6524
6804
|
'global_e_netherlands',
|
|
6805
|
+
'uk_global_e_canada',
|
|
6806
|
+
'uk_global_e_netherlands',
|
|
6807
|
+
'uk_global_e_united_states',
|
|
6808
|
+
'ca_global_e_united_kingdom',
|
|
6809
|
+
'ca_global_e_netherlands',
|
|
6810
|
+
'ca_global_e_united_states',
|
|
6525
6811
|
]); },
|
|
6526
6812
|
'io.flow.internal.v0.enums.merchant_override_status': function () { return faker.helpers.arrayElement(['pending', 'in_review', 'accepted', 'rejected']); },
|
|
6527
6813
|
'io.flow.internal.v0.enums.mixed_bag_weight': function () { return faker.helpers.arrayElement(['0', '1', '2']); },
|
|
@@ -6557,7 +6843,6 @@ var factories = {
|
|
|
6557
6843
|
'fraud',
|
|
6558
6844
|
'logistics',
|
|
6559
6845
|
'payments',
|
|
6560
|
-
'shopify_markets',
|
|
6561
6846
|
'integration_partner',
|
|
6562
6847
|
'dtce',
|
|
6563
6848
|
'restrictions',
|
|
@@ -6634,6 +6919,10 @@ var factories = {
|
|
|
6634
6919
|
'io.flow.internal.v0.enums.pending_record_type': function () { return faker.helpers.arrayElement(['verification', 'classification', 'restriction']); },
|
|
6635
6920
|
'io.flow.internal.v0.enums.prateek_item_type': function () { return faker.helpers.arrayElement(['physical', 'digital']); },
|
|
6636
6921
|
'io.flow.internal.v0.enums.preferred_billing_schedule': function () { return faker.helpers.arrayElement(['monthly', 'bi-monthly']); },
|
|
6922
|
+
'io.flow.internal.v0.enums.preonboarding_classification_decision': function () { return faker.helpers.arrayElement(['Accept', 'Reject']); },
|
|
6923
|
+
'io.flow.internal.v0.enums.preonboarding_classification_platform': function () { return faker.helpers.arrayElement(['FlowOnboarding']); },
|
|
6924
|
+
'io.flow.internal.v0.enums.preonboarding_classification_type': function () { return faker.helpers.arrayElement(['None', 'Manual', 'ML', 'System']); },
|
|
6925
|
+
'io.flow.internal.v0.enums.preonboarding_request_status': function () { return faker.helpers.arrayElement(['pending', 'completed', 'failed', 'discarded']); },
|
|
6637
6926
|
'io.flow.internal.v0.enums.price_selector': function () { return faker.helpers.arrayElement(['minimum', 'maximum']); },
|
|
6638
6927
|
'io.flow.internal.v0.enums.processing_transaction_type': function () { return faker.helpers.arrayElement([
|
|
6639
6928
|
'adjustment',
|
|
@@ -6684,6 +6973,7 @@ var factories = {
|
|
|
6684
6973
|
'trueup_overview',
|
|
6685
6974
|
'non_channel_payment_bank_account',
|
|
6686
6975
|
'scheduled_payment',
|
|
6976
|
+
'scheduled_payment_citi',
|
|
6687
6977
|
'account_quarterly_balances',
|
|
6688
6978
|
'invariants',
|
|
6689
6979
|
'payments',
|
|
@@ -6706,7 +6996,13 @@ var factories = {
|
|
|
6706
6996
|
'io.flow.internal.v0.enums.restriction_attribute_operator': function () { return faker.helpers.arrayElement(['and', 'or']); },
|
|
6707
6997
|
'io.flow.internal.v0.enums.restriction_attribute_result': function () { return faker.helpers.arrayElement(['pending_classification', 'pending_verification', 'accepted', 'restricted']); },
|
|
6708
6998
|
'io.flow.internal.v0.enums.restriction_decision': function () { return faker.helpers.arrayElement(['accept', 'escalate', 'reject', 'review']); },
|
|
6709
|
-
'io.flow.internal.v0.enums.restriction_organization_channel': function () { return faker.helpers.arrayElement([
|
|
6999
|
+
'io.flow.internal.v0.enums.restriction_organization_channel': function () { return faker.helpers.arrayElement([
|
|
7000
|
+
'shopify',
|
|
7001
|
+
'enterprise',
|
|
7002
|
+
'shopify-sandbox',
|
|
7003
|
+
'enterprise-sandbox',
|
|
7004
|
+
'enterprise-qa',
|
|
7005
|
+
]); },
|
|
6710
7006
|
'io.flow.internal.v0.enums.restriction_organization_source': function () { return faker.helpers.arrayElement(['smb', 'enterprise']); },
|
|
6711
7007
|
'io.flow.internal.v0.enums.restriction_rule_activation_status': function () { return faker.helpers.arrayElement(['draft', 'active', 'inactive']); },
|
|
6712
7008
|
'io.flow.internal.v0.enums.restriction_rule_community_exemption': function () { return faker.helpers.arrayElement(['domestic_exemption', 'intra_eu_exemption']); },
|
|
@@ -6804,6 +7100,7 @@ var factories = {
|
|
|
6804
7100
|
'payment',
|
|
6805
7101
|
'rate_levels',
|
|
6806
7102
|
'center_defaults',
|
|
7103
|
+
'item_dimensions',
|
|
6807
7104
|
]); },
|
|
6808
7105
|
'io.flow.internal.v0.enums.tax_and_duty_inclusivity_setting': function () { return faker.helpers.arrayElement([
|
|
6809
7106
|
'duty_exclusive_tax_exclusive',
|
|
@@ -7447,6 +7744,12 @@ var factories = {
|
|
|
7447
7744
|
type: factories['io.flow.internal.v0.enums.aldo_item_type'](),
|
|
7448
7745
|
added_on: factories.date_iso_8601(),
|
|
7449
7746
|
}); },
|
|
7747
|
+
'io.flow.internal.v0.models.aldo_item_deleted': function () { return ({
|
|
7748
|
+
discriminator: 'aldo_item_deleted',
|
|
7749
|
+
event_id: factories.string(),
|
|
7750
|
+
timestamp: factories.date_time_iso_8601(),
|
|
7751
|
+
id: factories.string(),
|
|
7752
|
+
}); },
|
|
7450
7753
|
'io.flow.internal.v0.models.aldo_item_form': function () { return ({
|
|
7451
7754
|
number: factories.string(),
|
|
7452
7755
|
amount: factories['io.flow.common.v0.models.price'](),
|
|
@@ -7454,6 +7757,12 @@ var factories = {
|
|
|
7454
7757
|
type: factories['io.flow.internal.v0.enums.aldo_item_type'](),
|
|
7455
7758
|
added_on: factories.date_iso_8601(),
|
|
7456
7759
|
}); },
|
|
7760
|
+
'io.flow.internal.v0.models.aldo_item_upserted': function () { return ({
|
|
7761
|
+
discriminator: 'aldo_item_upserted',
|
|
7762
|
+
event_id: factories.string(),
|
|
7763
|
+
timestamp: factories.date_time_iso_8601(),
|
|
7764
|
+
item: factories['io.flow.internal.v0.models.aldo_item'](),
|
|
7765
|
+
}); },
|
|
7457
7766
|
'io.flow.internal.v0.models.all_items_export': function () { return ({
|
|
7458
7767
|
discriminator: 'all_items_export',
|
|
7459
7768
|
event_id: factories.string(),
|
|
@@ -7480,6 +7789,12 @@ var factories = {
|
|
|
7480
7789
|
type: factories['io.flow.internal.v0.enums.anirban_item_type'](),
|
|
7481
7790
|
added_on: factories.date_time_iso_8601(),
|
|
7482
7791
|
}); },
|
|
7792
|
+
'io.flow.internal.v0.models.anirban_item_deleted': function () { return ({
|
|
7793
|
+
discriminator: 'anirban_item_deleted',
|
|
7794
|
+
event_id: factories.string(),
|
|
7795
|
+
timestamp: factories.date_time_iso_8601(),
|
|
7796
|
+
id: factories.string(),
|
|
7797
|
+
}); },
|
|
7483
7798
|
'io.flow.internal.v0.models.anirban_item_form': function () { return ({
|
|
7484
7799
|
number: factories.string(),
|
|
7485
7800
|
amount: factories['io.flow.common.v0.models.price'](),
|
|
@@ -7487,6 +7802,12 @@ var factories = {
|
|
|
7487
7802
|
type: factories['io.flow.internal.v0.enums.anirban_item_type'](),
|
|
7488
7803
|
added_on: factories.date_time_iso_8601(),
|
|
7489
7804
|
}); },
|
|
7805
|
+
'io.flow.internal.v0.models.anirban_item_upserted': function () { return ({
|
|
7806
|
+
discriminator: 'anirban_item_upserted',
|
|
7807
|
+
event_id: factories.string(),
|
|
7808
|
+
timestamp: factories.date_time_iso_8601(),
|
|
7809
|
+
item: factories['io.flow.internal.v0.models.anirban_item'](),
|
|
7810
|
+
}); },
|
|
7490
7811
|
'io.flow.internal.v0.models.ansh_item': function () { return ({
|
|
7491
7812
|
id: factories.string(),
|
|
7492
7813
|
number: factories.string(),
|
|
@@ -7495,6 +7816,12 @@ var factories = {
|
|
|
7495
7816
|
type: factories['io.flow.internal.v0.enums.ansh_item_type'](),
|
|
7496
7817
|
added_on: factories.date_iso_8601(),
|
|
7497
7818
|
}); },
|
|
7819
|
+
'io.flow.internal.v0.models.ansh_item_deleted': function () { return ({
|
|
7820
|
+
discriminator: 'ansh_item_deleted',
|
|
7821
|
+
event_id: factories.string(),
|
|
7822
|
+
timestamp: factories.date_time_iso_8601(),
|
|
7823
|
+
id: factories.string(),
|
|
7824
|
+
}); },
|
|
7498
7825
|
'io.flow.internal.v0.models.ansh_item_form': function () { return ({
|
|
7499
7826
|
number: factories.string(),
|
|
7500
7827
|
amount: factories['io.flow.common.v0.models.price'](),
|
|
@@ -7502,6 +7829,12 @@ var factories = {
|
|
|
7502
7829
|
type: factories['io.flow.internal.v0.enums.ansh_item_type'](),
|
|
7503
7830
|
added_on: factories.date_iso_8601(),
|
|
7504
7831
|
}); },
|
|
7832
|
+
'io.flow.internal.v0.models.ansh_item_upserted': function () { return ({
|
|
7833
|
+
discriminator: 'ansh_item_upserted',
|
|
7834
|
+
event_id: factories.string(),
|
|
7835
|
+
timestamp: factories.date_time_iso_8601(),
|
|
7836
|
+
item: factories['io.flow.internal.v0.models.ansh_item'](),
|
|
7837
|
+
}); },
|
|
7505
7838
|
'io.flow.internal.v0.models.apple_pay_authorization_payload': function () { return ({
|
|
7506
7839
|
discriminator: 'apple_pay_authorization_payload',
|
|
7507
7840
|
apple_pay_token: factories.string(),
|
|
@@ -7589,6 +7922,41 @@ var factories = {
|
|
|
7589
7922
|
keywords: arrayOf(function () { return factories.string(); }),
|
|
7590
7923
|
action: factories['io.flow.internal.v0.enums.restriction_status'](),
|
|
7591
7924
|
}); },
|
|
7925
|
+
'io.flow.internal.v0.models.b2b_tax_ledger': function () { return ({
|
|
7926
|
+
id: factories.string(),
|
|
7927
|
+
total_amount: factories['io.flow.internal.v0.models.tax_type_total'](),
|
|
7928
|
+
tax_amount: factories['io.flow.common.v0.models.money'](),
|
|
7929
|
+
tax_type: factories['io.flow.consumer.invoice.v0.enums.tax_type'](),
|
|
7930
|
+
tax_rate: factories.decimal(),
|
|
7931
|
+
tax_rate_type: factories['io.flow.internal.v0.enums.b2b_tax_rate_type'](),
|
|
7932
|
+
organization_id: factories.string(),
|
|
7933
|
+
organization_country: factories.string(),
|
|
7934
|
+
organization_province: factories.string(),
|
|
7935
|
+
mor_tax_number: factories.string(),
|
|
7936
|
+
mor_country: factories.string(),
|
|
7937
|
+
mor_province: factories.string(),
|
|
7938
|
+
document_id: factories.string(),
|
|
7939
|
+
document_type: factories['io.flow.internal.v0.enums.b2b_tax_ledger_document_type'](),
|
|
7940
|
+
document_date: factories.date_time_iso_8601(),
|
|
7941
|
+
ledger_report_id: factories.string(),
|
|
7942
|
+
}); },
|
|
7943
|
+
'io.flow.internal.v0.models.b2b_tax_ledger_form': function () { return ({
|
|
7944
|
+
total_amount: factories['io.flow.internal.v0.models.tax_type_total'](),
|
|
7945
|
+
tax_amount: factories['io.flow.common.v0.models.money'](),
|
|
7946
|
+
tax_type: factories['io.flow.consumer.invoice.v0.enums.tax_type'](),
|
|
7947
|
+
tax_rate: factories.decimal(),
|
|
7948
|
+
tax_rate_type: factories['io.flow.internal.v0.enums.b2b_tax_rate_type'](),
|
|
7949
|
+
organization_id: factories.string(),
|
|
7950
|
+
organization_country: factories.string(),
|
|
7951
|
+
organization_province: factories.string(),
|
|
7952
|
+
mor_tax_number: factories.string(),
|
|
7953
|
+
mor_country: factories.string(),
|
|
7954
|
+
mor_province: factories.string(),
|
|
7955
|
+
document_id: factories.string(),
|
|
7956
|
+
document_type: factories['io.flow.internal.v0.enums.b2b_tax_ledger_document_type'](),
|
|
7957
|
+
document_date: factories.date_time_iso_8601(),
|
|
7958
|
+
ledger_report_id: factories.string(),
|
|
7959
|
+
}); },
|
|
7592
7960
|
'io.flow.internal.v0.models.bank_account': function () { return ({
|
|
7593
7961
|
status: factories['io.flow.internal.v0.enums.bank_account_status'](),
|
|
7594
7962
|
hold_created_at: factories.date_time_iso_8601(),
|
|
@@ -7855,6 +8223,8 @@ var factories = {
|
|
|
7855
8223
|
non_l4l_tax_duty_fx: factories['io.flow.common.v0.models.price'](),
|
|
7856
8224
|
ending_balance: factories['io.flow.common.v0.models.price'](),
|
|
7857
8225
|
tax_refund: factories['io.flow.common.v0.models.price'](),
|
|
8226
|
+
b2b_tax: factories['io.flow.common.v0.models.price'](),
|
|
8227
|
+
b2b_tax_refund: factories['io.flow.common.v0.models.price'](),
|
|
7858
8228
|
}); },
|
|
7859
8229
|
'io.flow.internal.v0.models.billing_statement_upserted': function () { return ({
|
|
7860
8230
|
discriminator: 'billing_statement_upserted',
|
|
@@ -7955,6 +8325,9 @@ var factories = {
|
|
|
7955
8325
|
reason: factories.string(),
|
|
7956
8326
|
next_action_from: factories['io.flow.internal.v0.enums.channel_order_acceptance_next_action_from'](),
|
|
7957
8327
|
}); },
|
|
8328
|
+
'io.flow.internal.v0.models.cafe24_markets_webhook': function () { return ({
|
|
8329
|
+
placeholder: factories.json(),
|
|
8330
|
+
}); },
|
|
7958
8331
|
'io.flow.internal.v0.models.calculated_tax_amount': function () { return ({
|
|
7959
8332
|
discriminator: 'calculated_tax_amount',
|
|
7960
8333
|
amount: factories.decimal(),
|
|
@@ -8482,6 +8855,7 @@ var factories = {
|
|
|
8482
8855
|
order_updated_at: factories.date_time_iso_8601(),
|
|
8483
8856
|
order_edit_summary: factories['io.flow.internal.v0.models.order_edit_summary'](),
|
|
8484
8857
|
payment_source: factories['io.flow.internal.v0.enums.order_payment_source_type'](),
|
|
8858
|
+
external_order_summary: factories['io.flow.channel.shopify.v0.models.external_order_summary'](),
|
|
8485
8859
|
}); },
|
|
8486
8860
|
'io.flow.internal.v0.models.channel_order_acceptance_deleted': function () { return ({
|
|
8487
8861
|
discriminator: 'channel_order_acceptance_deleted',
|
|
@@ -10130,9 +10504,6 @@ var factories = {
|
|
|
10130
10504
|
locale: factories.string(),
|
|
10131
10505
|
region: factories.string(),
|
|
10132
10506
|
}); },
|
|
10133
|
-
'io.flow.internal.v0.models.feature_id_reference': function () { return ({
|
|
10134
|
-
id: factories.string(),
|
|
10135
|
-
}); },
|
|
10136
10507
|
'io.flow.internal.v0.models.feature_reference': function () { return ({
|
|
10137
10508
|
id: factories.string(),
|
|
10138
10509
|
key: factories.string(),
|
|
@@ -10745,6 +11116,7 @@ var factories = {
|
|
|
10745
11116
|
fulfilled_at: factories.date_time_iso_8601(),
|
|
10746
11117
|
sequence_number: factories.long(),
|
|
10747
11118
|
completes_order: factories.boolean(),
|
|
11119
|
+
trigger: factories['io.flow.internal.v0.unions.fulfillment_trigger'](),
|
|
10748
11120
|
}); },
|
|
10749
11121
|
'io.flow.internal.v0.models.fulfillment_status_upserted': function () { return ({
|
|
10750
11122
|
discriminator: 'fulfillment_status_upserted',
|
|
@@ -10813,6 +11185,33 @@ var factories = {
|
|
|
10813
11185
|
local: factories['io.flow.common.v0.models.money'](),
|
|
10814
11186
|
transaction_created_at: factories.date_time_iso_8601(),
|
|
10815
11187
|
}); },
|
|
11188
|
+
'io.flow.internal.v0.models.gabriel_item': function () { return ({
|
|
11189
|
+
id: factories.string(),
|
|
11190
|
+
number: factories.string(),
|
|
11191
|
+
amount: factories['io.flow.common.v0.models.price'](),
|
|
11192
|
+
description: factories.string(),
|
|
11193
|
+
type: factories['io.flow.internal.v0.enums.gabriel_item_type'](),
|
|
11194
|
+
added_on: factories.date_iso_8601(),
|
|
11195
|
+
}); },
|
|
11196
|
+
'io.flow.internal.v0.models.gabriel_item_deleted': function () { return ({
|
|
11197
|
+
discriminator: 'gabriel_item_deleted',
|
|
11198
|
+
event_id: factories.string(),
|
|
11199
|
+
timestamp: factories.date_time_iso_8601(),
|
|
11200
|
+
id: factories.string(),
|
|
11201
|
+
}); },
|
|
11202
|
+
'io.flow.internal.v0.models.gabriel_item_form': function () { return ({
|
|
11203
|
+
number: factories.string(),
|
|
11204
|
+
amount: factories['io.flow.common.v0.models.price'](),
|
|
11205
|
+
description: factories.string(),
|
|
11206
|
+
type: factories['io.flow.internal.v0.enums.gabriel_item_type'](),
|
|
11207
|
+
added_on: factories.date_iso_8601(),
|
|
11208
|
+
}); },
|
|
11209
|
+
'io.flow.internal.v0.models.gabriel_item_upserted': function () { return ({
|
|
11210
|
+
discriminator: 'gabriel_item_upserted',
|
|
11211
|
+
event_id: factories.string(),
|
|
11212
|
+
timestamp: factories.date_time_iso_8601(),
|
|
11213
|
+
item: factories['io.flow.internal.v0.models.gabriel_item'](),
|
|
11214
|
+
}); },
|
|
10816
11215
|
'io.flow.internal.v0.models.ge_revenue_share_transaction': function () { return ({
|
|
10817
11216
|
discriminator: 'ge_revenue_share_transaction',
|
|
10818
11217
|
order: factories['io.flow.internal.v0.models.billing_order_transaction_order_reference'](),
|
|
@@ -10984,6 +11383,12 @@ var factories = {
|
|
|
10984
11383
|
type: factories['io.flow.internal.v0.enums.hosein_item_type'](),
|
|
10985
11384
|
added_on: factories.date_time_iso_8601(),
|
|
10986
11385
|
}); },
|
|
11386
|
+
'io.flow.internal.v0.models.hosein_item_deleted': function () { return ({
|
|
11387
|
+
discriminator: 'hosein_item_deleted',
|
|
11388
|
+
event_id: factories.string(),
|
|
11389
|
+
timestamp: factories.date_time_iso_8601(),
|
|
11390
|
+
id: factories.string(),
|
|
11391
|
+
}); },
|
|
10987
11392
|
'io.flow.internal.v0.models.hosein_item_form': function () { return ({
|
|
10988
11393
|
number: factories.string(),
|
|
10989
11394
|
amount: factories['io.flow.common.v0.models.price'](),
|
|
@@ -10991,6 +11396,12 @@ var factories = {
|
|
|
10991
11396
|
type: factories['io.flow.internal.v0.enums.hosein_item_type'](),
|
|
10992
11397
|
added_on: factories.date_time_iso_8601(),
|
|
10993
11398
|
}); },
|
|
11399
|
+
'io.flow.internal.v0.models.hosein_item_upserted': function () { return ({
|
|
11400
|
+
discriminator: 'hosein_item_upserted',
|
|
11401
|
+
event_id: factories.string(),
|
|
11402
|
+
timestamp: factories.date_time_iso_8601(),
|
|
11403
|
+
item: factories['io.flow.internal.v0.models.hosein_item'](),
|
|
11404
|
+
}); },
|
|
10994
11405
|
'io.flow.internal.v0.models.hs6': function () { return ({
|
|
10995
11406
|
code: factories.string(),
|
|
10996
11407
|
description: factories.string(),
|
|
@@ -11188,8 +11599,6 @@ var factories = {
|
|
|
11188
11599
|
customs_value: factories.decimal(),
|
|
11189
11600
|
total_value: factories.decimal(),
|
|
11190
11601
|
usa_exporter_identifier_number_if_value_over_threshold: factories.string(),
|
|
11191
|
-
feature_israel_notes_import_duty_and_taxes_due: factories.boolean(),
|
|
11192
|
-
feature_new_export_declaration: factories.boolean(),
|
|
11193
11602
|
}); },
|
|
11194
11603
|
'io.flow.internal.v0.models.invoice_data_line_item': function () { return ({
|
|
11195
11604
|
i: factories.integer(),
|
|
@@ -11199,7 +11608,7 @@ var factories = {
|
|
|
11199
11608
|
tariff_code: factories.string(),
|
|
11200
11609
|
country_of_origin: factories.string(),
|
|
11201
11610
|
display_country_of_origin: factories.string(),
|
|
11202
|
-
|
|
11611
|
+
remitter: factories['io.flow.internal.v0.enums.tax_party'](),
|
|
11203
11612
|
gst_paid_text: factories.string(),
|
|
11204
11613
|
unit_price: factories.decimal(),
|
|
11205
11614
|
vat_price: factories.decimal(),
|
|
@@ -11621,6 +12030,8 @@ var factories = {
|
|
|
11621
12030
|
service_id: factories.string(),
|
|
11622
12031
|
errors: arrayOf(function () { return factories.string(); }),
|
|
11623
12032
|
direction: factories['io.flow.label.v0.enums.direction'](),
|
|
12033
|
+
origin: factories['io.flow.fulfillment.v0.models.shipping_address'](),
|
|
12034
|
+
destination: factories['io.flow.fulfillment.v0.models.shipping_address'](),
|
|
11624
12035
|
}); },
|
|
11625
12036
|
'io.flow.internal.v0.models.label_request_error_deleted': function () { return ({
|
|
11626
12037
|
discriminator: 'label_request_error_deleted',
|
|
@@ -11769,6 +12180,19 @@ var factories = {
|
|
|
11769
12180
|
suggested_responsibility: factories['io.flow.internal.v0.enums.label_request_error_handling_responsibility'](),
|
|
11770
12181
|
errors: arrayOf(function () { return factories.string(); }),
|
|
11771
12182
|
}); },
|
|
12183
|
+
'io.flow.internal.v0.models.ledger_report': function () { return ({
|
|
12184
|
+
id: factories.string(),
|
|
12185
|
+
mor_tax_number: factories.string(),
|
|
12186
|
+
jurisdiction: factories.string(),
|
|
12187
|
+
start_date: factories.date_iso_8601(),
|
|
12188
|
+
end_date: factories.date_iso_8601(),
|
|
12189
|
+
report_type: factories['io.flow.internal.v0.enums.ledger_report_type'](),
|
|
12190
|
+
urls: arrayOf(function () { return factories['io.flow.internal.v0.models.ledger_report_url'](); }),
|
|
12191
|
+
}); },
|
|
12192
|
+
'io.flow.internal.v0.models.ledger_report_url': function () { return ({
|
|
12193
|
+
url: factories.string(),
|
|
12194
|
+
type: factories['io.flow.internal.v0.enums.ledger_report_url_type'](),
|
|
12195
|
+
}); },
|
|
11772
12196
|
'io.flow.internal.v0.models.levy_rate_summary': function () { return ({
|
|
11773
12197
|
id: factories.string(),
|
|
11774
12198
|
number: factories.string(),
|
|
@@ -12244,6 +12668,12 @@ var factories = {
|
|
|
12244
12668
|
type: factories['io.flow.internal.v0.enums.niall_item_type'](),
|
|
12245
12669
|
added_on: factories.date_time_iso_8601(),
|
|
12246
12670
|
}); },
|
|
12671
|
+
'io.flow.internal.v0.models.niall_item_deleted': function () { return ({
|
|
12672
|
+
discriminator: 'niall_item_deleted',
|
|
12673
|
+
event_id: factories.string(),
|
|
12674
|
+
timestamp: factories.date_time_iso_8601(),
|
|
12675
|
+
id: factories.string(),
|
|
12676
|
+
}); },
|
|
12247
12677
|
'io.flow.internal.v0.models.niall_item_form': function () { return ({
|
|
12248
12678
|
number: factories.string(),
|
|
12249
12679
|
amount: factories['io.flow.common.v0.models.price'](),
|
|
@@ -12251,6 +12681,12 @@ var factories = {
|
|
|
12251
12681
|
type: factories['io.flow.internal.v0.enums.niall_item_type'](),
|
|
12252
12682
|
added_on: factories.date_time_iso_8601(),
|
|
12253
12683
|
}); },
|
|
12684
|
+
'io.flow.internal.v0.models.niall_item_upserted': function () { return ({
|
|
12685
|
+
discriminator: 'niall_item_upserted',
|
|
12686
|
+
event_id: factories.string(),
|
|
12687
|
+
timestamp: factories.date_time_iso_8601(),
|
|
12688
|
+
item: factories['io.flow.internal.v0.models.niall_item'](),
|
|
12689
|
+
}); },
|
|
12254
12690
|
'io.flow.internal.v0.models.no_calculated_tax_amount': function () { return ({
|
|
12255
12691
|
discriminator: 'no_calculated_tax_amount',
|
|
12256
12692
|
amount: factories.decimal(),
|
|
@@ -12322,6 +12758,7 @@ var factories = {
|
|
|
12322
12758
|
health_score: factories.decimal(),
|
|
12323
12759
|
audit_result: factories['io.flow.internal.v0.enums.onboarding_audit_result'](),
|
|
12324
12760
|
blocked_since: factories.date_time_iso_8601(),
|
|
12761
|
+
onboarding_segment: factories.string(),
|
|
12325
12762
|
}); },
|
|
12326
12763
|
'io.flow.internal.v0.models.onboarding_state_form': function () { return ({
|
|
12327
12764
|
onboarding_state: factories['io.flow.organization.onboarding.state.v0.unions.onboarding_state'](),
|
|
@@ -12710,24 +13147,6 @@ var factories = {
|
|
|
12710
13147
|
totals: factories['io.flow.internal.v0.models.billing_statement_totals'](),
|
|
12711
13148
|
attachments: arrayOf(function () { return factories['io.flow.internal.v0.models.billing_statement_attachment'](); }),
|
|
12712
13149
|
}); },
|
|
12713
|
-
'io.flow.internal.v0.models.organization_boolean_value': function () { return ({
|
|
12714
|
-
id: factories.string(),
|
|
12715
|
-
organization: factories['io.flow.common.v0.models.organization_reference'](),
|
|
12716
|
-
feature: factories['io.flow.internal.v0.models.feature_id_reference'](),
|
|
12717
|
-
value: factories.boolean(),
|
|
12718
|
-
}); },
|
|
12719
|
-
'io.flow.internal.v0.models.organization_boolean_value_deleted': function () { return ({
|
|
12720
|
-
discriminator: 'organization_boolean_value_deleted',
|
|
12721
|
-
event_id: factories.string(),
|
|
12722
|
-
timestamp: factories.date_time_iso_8601(),
|
|
12723
|
-
value: factories['io.flow.internal.v0.models.organization_boolean_value'](),
|
|
12724
|
-
}); },
|
|
12725
|
-
'io.flow.internal.v0.models.organization_boolean_value_upserted': function () { return ({
|
|
12726
|
-
discriminator: 'organization_boolean_value_upserted',
|
|
12727
|
-
event_id: factories.string(),
|
|
12728
|
-
timestamp: factories.date_time_iso_8601(),
|
|
12729
|
-
value: factories['io.flow.internal.v0.models.organization_boolean_value'](),
|
|
12730
|
-
}); },
|
|
12731
13150
|
'io.flow.internal.v0.models.organization_business_entity': function () { return ({
|
|
12732
13151
|
id: factories.string(),
|
|
12733
13152
|
name: factories.string(),
|
|
@@ -13245,6 +13664,7 @@ var factories = {
|
|
|
13245
13664
|
'io.flow.internal.v0.models.payment_is': function () { return ({
|
|
13246
13665
|
lvg: factories.boolean(),
|
|
13247
13666
|
manual: factories.boolean(),
|
|
13667
|
+
managed_pricing: factories.boolean(),
|
|
13248
13668
|
}); },
|
|
13249
13669
|
'io.flow.internal.v0.models.payment_method_detail': function () { return ({
|
|
13250
13670
|
method: factories['io.flow.reference.v0.models.payment_method'](),
|
|
@@ -13651,6 +14071,70 @@ var factories = {
|
|
|
13651
14071
|
construction: factories.string(),
|
|
13652
14072
|
item: factories.string(),
|
|
13653
14073
|
}); },
|
|
14074
|
+
'io.flow.internal.v0.models.preonboarding_classification_rabbitmq_envelope': function () { return ({
|
|
14075
|
+
messageType: arrayOf(function () { return factories.string(); }),
|
|
14076
|
+
message: factories['io.flow.internal.v0.models.preonboarding_classification_rabbitmq_message'](),
|
|
14077
|
+
}); },
|
|
14078
|
+
'io.flow.internal.v0.models.preonboarding_classification_rabbitmq_message': function () { return ({
|
|
14079
|
+
MerchantId: factories.string(),
|
|
14080
|
+
ProductName: factories.string(),
|
|
14081
|
+
ProductDescription: factories.string(),
|
|
14082
|
+
ProductIdInternal: factories.string(),
|
|
14083
|
+
ProductIdExternal: factories.string(),
|
|
14084
|
+
ProductGroupCode: factories.string(),
|
|
14085
|
+
ProductUrl: factories.string(),
|
|
14086
|
+
ProductImage: factories.string(),
|
|
14087
|
+
ProductAttributes: objectOf(function () { return factories.string(); }),
|
|
14088
|
+
Categories: arrayOf(function () { return factories.string(); }),
|
|
14089
|
+
PlatformId: factories['io.flow.internal.v0.enums.preonboarding_classification_platform'](),
|
|
14090
|
+
}); },
|
|
14091
|
+
'io.flow.internal.v0.models.preonboarding_classification_request': function () { return ({
|
|
14092
|
+
id: factories.string(),
|
|
14093
|
+
merchant_id: factories.string(),
|
|
14094
|
+
product_id: factories.string(),
|
|
14095
|
+
channel: factories.string(),
|
|
14096
|
+
request_id: factories.string(),
|
|
14097
|
+
status: factories['io.flow.internal.v0.enums.preonboarding_request_status'](),
|
|
14098
|
+
name: factories.string(),
|
|
14099
|
+
price: factories['io.flow.common.v0.models.money'](),
|
|
14100
|
+
description: factories.string(),
|
|
14101
|
+
relative_ranking: factories.integer(),
|
|
14102
|
+
taxonomy_category: factories['io.flow.product.v0.models.product_taxonomy_category'](),
|
|
14103
|
+
fingerprint: factories.string(),
|
|
14104
|
+
}); },
|
|
14105
|
+
'io.flow.internal.v0.models.preonboarding_classification_result': function () { return ({
|
|
14106
|
+
id: factories.string(),
|
|
14107
|
+
merchant_id: factories.string(),
|
|
14108
|
+
product_id: factories.string(),
|
|
14109
|
+
channel: factories.string(),
|
|
14110
|
+
hs6_code: factories.string(),
|
|
14111
|
+
probability: factories.integer(),
|
|
14112
|
+
classification_decision: factories['io.flow.internal.v0.enums.preonboarding_classification_decision'](),
|
|
14113
|
+
classification_type: factories['io.flow.internal.v0.enums.preonboarding_classification_type'](),
|
|
14114
|
+
}); },
|
|
14115
|
+
'io.flow.internal.v0.models.preonboarding_merchant': function () { return ({
|
|
14116
|
+
merchant_id: factories.string(),
|
|
14117
|
+
channel: factories.string(),
|
|
14118
|
+
catalog_size: factories.integer(),
|
|
14119
|
+
processed_product_count: factories.integer(),
|
|
14120
|
+
last_request: factories.date_time_iso_8601(),
|
|
14121
|
+
}); },
|
|
14122
|
+
'io.flow.internal.v0.models.preonboarding_sellability_result': function () { return ({
|
|
14123
|
+
merchant_id: factories.string(),
|
|
14124
|
+
product_id: factories.string(),
|
|
14125
|
+
channel: factories.string(),
|
|
14126
|
+
request_id: factories.string(),
|
|
14127
|
+
status: factories['io.flow.sellability.v0.enums.sellability_result_status'](),
|
|
14128
|
+
error_code: factories['io.flow.sellability.v0.enums.sellability_result_error_code'](),
|
|
14129
|
+
hs6_code: factories.string(),
|
|
14130
|
+
hs6_code_source: factories['io.flow.internal.v0.enums.hs6_code_source'](),
|
|
14131
|
+
restricted_regions_by_type: arrayOf(function () { return factories['io.flow.sellability.v0.models.sellability_restricted_region'](); }),
|
|
14132
|
+
rule_ids: arrayOf(function () { return factories.string(); }),
|
|
14133
|
+
matching_positive_keywords: arrayOf(function () { return factories.string(); }),
|
|
14134
|
+
classification_failure_reason: factories['io.flow.internal.v0.enums.classification_failure_reason'](),
|
|
14135
|
+
taxonomy_category: factories['io.flow.product.v0.models.product_taxonomy_category'](),
|
|
14136
|
+
fingerprint: factories.string(),
|
|
14137
|
+
}); },
|
|
13654
14138
|
'io.flow.internal.v0.models.price_inclusivity': function () { return ({
|
|
13655
14139
|
tax: factories.boolean(),
|
|
13656
14140
|
duty: factories.boolean(),
|
|
@@ -13874,7 +14358,7 @@ var factories = {
|
|
|
13874
14358
|
product_id: factories.string(),
|
|
13875
14359
|
request_id: factories.string(),
|
|
13876
14360
|
hs6_code: factories.string(),
|
|
13877
|
-
restricted_regions: arrayOf(function () { return factories['io.flow.sellability.v0.models.
|
|
14361
|
+
restricted_regions: arrayOf(function () { return factories['io.flow.sellability.v0.models.sellability_region_result'](); }),
|
|
13878
14362
|
rule_ids: arrayOf(function () { return factories.string(); }),
|
|
13879
14363
|
}); },
|
|
13880
14364
|
'io.flow.internal.v0.models.product_sellability_internal_form': function () { return ({
|
|
@@ -13885,7 +14369,7 @@ var factories = {
|
|
|
13885
14369
|
categories: arrayOf(function () { return factories.string(); }),
|
|
13886
14370
|
}); },
|
|
13887
14371
|
'io.flow.internal.v0.models.product_sellability_internal_result': function () { return ({
|
|
13888
|
-
restricted_regions: arrayOf(function () { return factories['io.flow.sellability.v0.models.
|
|
14372
|
+
restricted_regions: arrayOf(function () { return factories['io.flow.sellability.v0.models.sellability_region_result'](); }),
|
|
13889
14373
|
rule_ids: arrayOf(function () { return factories.string(); }),
|
|
13890
14374
|
}); },
|
|
13891
14375
|
'io.flow.internal.v0.models.product_sellability_result': function () { return ({
|
|
@@ -13894,7 +14378,7 @@ var factories = {
|
|
|
13894
14378
|
request_id: factories.string(),
|
|
13895
14379
|
hs6_code: factories.string(),
|
|
13896
14380
|
restricted_regions: arrayOf(function () { return factories.string(); }),
|
|
13897
|
-
restricted_regions_by_type: arrayOf(function () { return factories['io.flow.sellability.v0.models.
|
|
14381
|
+
restricted_regions_by_type: arrayOf(function () { return factories['io.flow.sellability.v0.models.sellability_region_result'](); }),
|
|
13898
14382
|
rule_ids: arrayOf(function () { return factories.string(); }),
|
|
13899
14383
|
taxonomy_category: factories.string(),
|
|
13900
14384
|
}); },
|
|
@@ -13923,6 +14407,11 @@ var factories = {
|
|
|
13923
14407
|
discriminator: 'shipping_notification',
|
|
13924
14408
|
shipping_notification_id: factories.string(),
|
|
13925
14409
|
}); },
|
|
14410
|
+
'io.flow.internal.v0.models.proof_of_posting_synthetic': function () { return ({
|
|
14411
|
+
discriminator: 'synthetic',
|
|
14412
|
+
order: factories['io.flow.internal.v0.models.billing_order_transaction_order_reference'](),
|
|
14413
|
+
created_at: factories.date_time_iso_8601(),
|
|
14414
|
+
}); },
|
|
13926
14415
|
'io.flow.internal.v0.models.proof_of_posting_time_elapsed': function () { return ({
|
|
13927
14416
|
discriminator: 'time_elapsed',
|
|
13928
14417
|
order: factories['io.flow.internal.v0.models.billing_order_transaction_order_reference'](),
|
|
@@ -14335,6 +14824,10 @@ var factories = {
|
|
|
14335
14824
|
currency: factories.string(),
|
|
14336
14825
|
source: factories['io.flow.internal.v0.models.account_source'](),
|
|
14337
14826
|
}); },
|
|
14827
|
+
'io.flow.internal.v0.models.report_amount_range': function () { return ({
|
|
14828
|
+
min: factories.decimal(),
|
|
14829
|
+
max: factories.decimal(),
|
|
14830
|
+
}); },
|
|
14338
14831
|
'io.flow.internal.v0.models.report_bank_account': function () { return ({
|
|
14339
14832
|
id: factories.string(),
|
|
14340
14833
|
last4: factories.string(),
|
|
@@ -14356,6 +14849,7 @@ var factories = {
|
|
|
14356
14849
|
'io.flow.internal.v0.models.report_filter': function () { return ({
|
|
14357
14850
|
source_type: factories['io.flow.internal.v0.enums.source_type_filter'](),
|
|
14358
14851
|
order_payment_source: factories['io.flow.experience.v0.enums.order_payment_source_type'](),
|
|
14852
|
+
amount_range: factories['io.flow.internal.v0.models.report_amount_range'](),
|
|
14359
14853
|
}); },
|
|
14360
14854
|
'io.flow.internal.v0.models.report_form': function () { return ({
|
|
14361
14855
|
type: factories['io.flow.internal.v0.enums.report_type'](),
|
|
@@ -14737,7 +15231,7 @@ var factories = {
|
|
|
14737
15231
|
'io.flow.internal.v0.models.restriction_organization': function () { return ({
|
|
14738
15232
|
id: factories.string(),
|
|
14739
15233
|
name: factories.string(),
|
|
14740
|
-
environment: factories['io.flow.
|
|
15234
|
+
environment: factories['io.flow.restrictions.v0.enums.restriction_environment'](),
|
|
14741
15235
|
url: factories.string(),
|
|
14742
15236
|
approval_status: factories['io.flow.internal.v0.enums.organization_restriction_approval_status'](),
|
|
14743
15237
|
screening_status: factories['io.flow.internal.v0.enums.organization_restriction_screening_status'](),
|
|
@@ -14783,7 +15277,7 @@ var factories = {
|
|
|
14783
15277
|
'io.flow.internal.v0.models.restriction_organization_summary': function () { return ({
|
|
14784
15278
|
id: factories.string(),
|
|
14785
15279
|
name: factories.string(),
|
|
14786
|
-
environment: factories['io.flow.
|
|
15280
|
+
environment: factories['io.flow.restrictions.v0.enums.restriction_environment'](),
|
|
14787
15281
|
source: factories['io.flow.internal.v0.enums.organization_source'](),
|
|
14788
15282
|
}); },
|
|
14789
15283
|
'io.flow.internal.v0.models.restriction_product': function () { return ({
|
|
@@ -14957,23 +15451,12 @@ var factories = {
|
|
|
14957
15451
|
oldest_pv_product_date_transacting: factories.date_iso_8601(),
|
|
14958
15452
|
oldest_pc_product_date_setup_complete: factories.date_iso_8601(),
|
|
14959
15453
|
oldest_pc_product_date_transacting: factories.date_iso_8601(),
|
|
14960
|
-
num_orgs_setup_complete_prs: factories.decimal(),
|
|
14961
|
-
num_products_setup_complete_prs: factories.decimal(),
|
|
14962
|
-
num_orgs_transacting_prs: factories.decimal(),
|
|
14963
|
-
num_products_transacting_prs: factories.decimal(),
|
|
14964
|
-
oldest_pr_product_date_setup_complete: factories.date_iso_8601(),
|
|
14965
|
-
oldest_pr_date_transacting: factories.date_iso_8601(),
|
|
14966
15454
|
percent_products_reviewed_transacting: factories.decimal(),
|
|
14967
15455
|
num_pv_inflow_net_new: factories.decimal(),
|
|
14968
15456
|
num_pv_outflow_human_decisions: factories.decimal(),
|
|
14969
15457
|
num_pv_outflow_auto_review_decisions: factories.decimal(),
|
|
14970
15458
|
num_pv_outflow_side_effect_decisions: factories.decimal(),
|
|
14971
|
-
num_pr_inflow_net_new: factories.decimal(),
|
|
14972
|
-
num_pr_outflow_human_decisions: factories.decimal(),
|
|
14973
|
-
num_pr_outflow_auto_review_decisions: factories.decimal(),
|
|
14974
|
-
num_pr_outflow_side_effect_decisions: factories.decimal(),
|
|
14975
15459
|
num_pending_decisions_transacting: factories.decimal(),
|
|
14976
|
-
oldest_insufficient_details_pv_onboarding: factories.date_iso_8601(),
|
|
14977
15460
|
oldest_insufficient_details_pv_active: factories.date_iso_8601(),
|
|
14978
15461
|
oldest_insufficient_details_pv_transacting: factories.date_iso_8601(),
|
|
14979
15462
|
num_products_with_fs_result: factories.decimal(),
|
|
@@ -15107,6 +15590,12 @@ var factories = {
|
|
|
15107
15590
|
type: factories['io.flow.internal.v0.enums.rohan_item_type'](),
|
|
15108
15591
|
added_on: factories.date_iso_8601(),
|
|
15109
15592
|
}); },
|
|
15593
|
+
'io.flow.internal.v0.models.rohan_item_deleted': function () { return ({
|
|
15594
|
+
discriminator: 'rohan_item_deleted',
|
|
15595
|
+
event_id: factories.string(),
|
|
15596
|
+
timestamp: factories.date_time_iso_8601(),
|
|
15597
|
+
id: factories.string(),
|
|
15598
|
+
}); },
|
|
15110
15599
|
'io.flow.internal.v0.models.rohan_item_form': function () { return ({
|
|
15111
15600
|
number: factories.string(),
|
|
15112
15601
|
amount: factories['io.flow.common.v0.models.price'](),
|
|
@@ -15114,6 +15603,12 @@ var factories = {
|
|
|
15114
15603
|
type: factories['io.flow.internal.v0.enums.rohan_item_type'](),
|
|
15115
15604
|
added_on: factories.date_iso_8601(),
|
|
15116
15605
|
}); },
|
|
15606
|
+
'io.flow.internal.v0.models.rohan_item_upserted': function () { return ({
|
|
15607
|
+
discriminator: 'rohan_item_upserted',
|
|
15608
|
+
event_id: factories.string(),
|
|
15609
|
+
timestamp: factories.date_time_iso_8601(),
|
|
15610
|
+
item: factories['io.flow.internal.v0.models.rohan_item'](),
|
|
15611
|
+
}); },
|
|
15117
15612
|
'io.flow.internal.v0.models.routing_account': function () { return ({
|
|
15118
15613
|
discriminator: 'routing_account',
|
|
15119
15614
|
processor: factories['io.flow.internal.v0.enums.processor'](),
|
|
@@ -15160,6 +15655,12 @@ var factories = {
|
|
|
15160
15655
|
type: factories['io.flow.internal.v0.enums.sarvesh_item_type'](),
|
|
15161
15656
|
added_on: factories.date_time_iso_8601(),
|
|
15162
15657
|
}); },
|
|
15658
|
+
'io.flow.internal.v0.models.sarvesh_item_deleted': function () { return ({
|
|
15659
|
+
discriminator: 'sarvesh_item_deleted',
|
|
15660
|
+
event_id: factories.string(),
|
|
15661
|
+
timestamp: factories.date_time_iso_8601(),
|
|
15662
|
+
id: factories.string(),
|
|
15663
|
+
}); },
|
|
15163
15664
|
'io.flow.internal.v0.models.sarvesh_item_form': function () { return ({
|
|
15164
15665
|
number: factories.string(),
|
|
15165
15666
|
amount: factories['io.flow.common.v0.models.price'](),
|
|
@@ -15167,6 +15668,12 @@ var factories = {
|
|
|
15167
15668
|
type: factories['io.flow.internal.v0.enums.sarvesh_item_type'](),
|
|
15168
15669
|
added_on: factories.date_time_iso_8601(),
|
|
15169
15670
|
}); },
|
|
15671
|
+
'io.flow.internal.v0.models.sarvesh_item_upserted': function () { return ({
|
|
15672
|
+
discriminator: 'sarvesh_item_upserted',
|
|
15673
|
+
event_id: factories.string(),
|
|
15674
|
+
timestamp: factories.date_time_iso_8601(),
|
|
15675
|
+
item: factories['io.flow.internal.v0.models.sarvesh_item'](),
|
|
15676
|
+
}); },
|
|
15170
15677
|
'io.flow.internal.v0.models.scheduled_payment': function () { return ({
|
|
15171
15678
|
payment: factories['io.flow.internal.v0.models.report_payment'](),
|
|
15172
15679
|
bank_account: factories['io.flow.internal.v0.models.report_bank_account_cleartext'](),
|
|
@@ -15253,9 +15760,9 @@ var factories = {
|
|
|
15253
15760
|
status: factories['io.flow.internal.v0.enums.sellability_check_status'](),
|
|
15254
15761
|
result: factories['io.flow.internal.v0.enums.evaluation_check_result'](),
|
|
15255
15762
|
current_rule_ids: arrayOf(function () { return factories.string(); }),
|
|
15256
|
-
current_restricted_regions: arrayOf(function () { return factories['io.flow.sellability.v0.models.
|
|
15763
|
+
current_restricted_regions: arrayOf(function () { return factories['io.flow.sellability.v0.models.sellability_region_result'](); }),
|
|
15257
15764
|
merchant_rule_ids: arrayOf(function () { return factories.string(); }),
|
|
15258
|
-
merchant_restricted_regions: arrayOf(function () { return factories['io.flow.sellability.v0.models.
|
|
15765
|
+
merchant_restricted_regions: arrayOf(function () { return factories['io.flow.sellability.v0.models.sellability_region_result'](); }),
|
|
15259
15766
|
current_error: arrayOf(function () { return factories['io.flow.sellability.v0.models.sellability_error'](); }),
|
|
15260
15767
|
merchant_error: arrayOf(function () { return factories['io.flow.sellability.v0.models.sellability_error'](); }),
|
|
15261
15768
|
}); },
|
|
@@ -15299,6 +15806,48 @@ var factories = {
|
|
|
15299
15806
|
freight_cost: factories.decimal(),
|
|
15300
15807
|
customer_price: factories.decimal(),
|
|
15301
15808
|
}); },
|
|
15809
|
+
'io.flow.internal.v0.models.shipping_rate_estimate_available_internal': function () { return ({
|
|
15810
|
+
service: factories['io.flow.ratecard.v0.models.ratecard_service_summary'](),
|
|
15811
|
+
delivered_duty: factories['io.flow.common.v0.enums.delivered_duty'](),
|
|
15812
|
+
shipment_window: factories['io.flow.ratecard.v0.models.shipment_window'](),
|
|
15813
|
+
total_amount: factories['io.flow.common.v0.models.money'](),
|
|
15814
|
+
base_amount: factories['io.flow.common.v0.models.money'](),
|
|
15815
|
+
fees: arrayOf(function () { return factories['io.flow.ratecard.v0.unions.ratecard_fee'](); }),
|
|
15816
|
+
dimensional_weight: factories['io.flow.common.v0.models.measurement'](),
|
|
15817
|
+
gravitational_weight: factories['io.flow.common.v0.models.measurement'](),
|
|
15818
|
+
weight_break: factories.decimal(),
|
|
15819
|
+
ratecard_id: factories.string(),
|
|
15820
|
+
lane_id: factories.string(),
|
|
15821
|
+
rate_level_key: factories.string(),
|
|
15822
|
+
glbe_shipping_method_id: factories.string(),
|
|
15823
|
+
glbe_proposition_name: factories.string(),
|
|
15824
|
+
channel_revenue_share_percentage: factories.decimal(),
|
|
15825
|
+
distance_unit_of_measurement: factories['io.flow.common.v0.enums.unit_of_measurement'](),
|
|
15826
|
+
weight_unit_of_measurement: factories['io.flow.common.v0.enums.unit_of_measurement'](),
|
|
15827
|
+
}); },
|
|
15828
|
+
'io.flow.internal.v0.models.shipping_rate_estimate_internal': function () { return ({
|
|
15829
|
+
channel_id: factories.string(),
|
|
15830
|
+
organization_id: factories.string(),
|
|
15831
|
+
service: factories.string(),
|
|
15832
|
+
origin_address: factories['io.flow.common.v0.models.address'](),
|
|
15833
|
+
destination_address: factories['io.flow.common.v0.models.address'](),
|
|
15834
|
+
shipping_date_time: factories.date_time_iso_8601(),
|
|
15835
|
+
available: arrayOf(function () { return factories['io.flow.internal.v0.models.shipping_rate_estimate_available_internal'](); }),
|
|
15836
|
+
}); },
|
|
15837
|
+
'io.flow.internal.v0.models.shipping_rate_estimate_request_internal': function () { return ({
|
|
15838
|
+
channel_id: factories.string(),
|
|
15839
|
+
organization_id: factories.string(),
|
|
15840
|
+
origin_address: factories['io.flow.common.v0.models.address'](),
|
|
15841
|
+
destination_address: factories['io.flow.common.v0.models.address'](),
|
|
15842
|
+
package_dimensions: factories['io.flow.common.v0.models.dimension'](),
|
|
15843
|
+
shipping_date_time: factories.date_time_iso_8601(),
|
|
15844
|
+
service: factories.string(),
|
|
15845
|
+
delivered_duty: factories['io.flow.common.v0.enums.delivered_duty'](),
|
|
15846
|
+
duties_owed: factories['io.flow.common.v0.models.money'](),
|
|
15847
|
+
taxes_owed: factories['io.flow.common.v0.models.money'](),
|
|
15848
|
+
line_items: arrayOf(function () { return factories['io.flow.common.v0.models.line_item_form'](); }),
|
|
15849
|
+
include_unpublished: factories.boolean(),
|
|
15850
|
+
}); },
|
|
15302
15851
|
'io.flow.internal.v0.models.shopify_catalog_publication': function () { return ({
|
|
15303
15852
|
owner: factories['io.flow.internal.v0.enums.catalog_publication_owner'](),
|
|
15304
15853
|
}); },
|
|
@@ -15510,6 +16059,13 @@ var factories = {
|
|
|
15510
16059
|
shopify: factories['io.flow.internal.v0.models.shopify_markets_shopify_order_metrics'](),
|
|
15511
16060
|
internal: factories['io.flow.internal.v0.models.shopify_markets_internal_order_metrics'](),
|
|
15512
16061
|
discrepancy_data: factories['io.flow.internal.v0.models.shopify_markets_discrepancy_data'](),
|
|
16062
|
+
organization_metrics: arrayOf(function () { return factories['io.flow.internal.v0.models.shopify_markets_organization_order_metrics'](); }),
|
|
16063
|
+
}); },
|
|
16064
|
+
'io.flow.internal.v0.models.shopify_markets_organization_order_metrics': function () { return ({
|
|
16065
|
+
organization_id: factories.string(),
|
|
16066
|
+
shopify_order_count: factories.long(),
|
|
16067
|
+
internal_order_count: factories.long(),
|
|
16068
|
+
discrepancy_count: factories.long(),
|
|
15513
16069
|
}); },
|
|
15514
16070
|
'io.flow.internal.v0.models.shopify_markets_queued_record': function () { return ({
|
|
15515
16071
|
id: factories.string(),
|
|
@@ -15918,6 +16474,7 @@ var factories = {
|
|
|
15918
16474
|
}); },
|
|
15919
16475
|
'io.flow.internal.v0.models.shopper_breakdown': function () { return ({
|
|
15920
16476
|
product: factories['io.flow.internal.v0.models.reporting_monetary_value'](),
|
|
16477
|
+
product_purchase_price: factories['io.flow.internal.v0.models.reporting_monetary_value'](),
|
|
15921
16478
|
tax: factories['io.flow.internal.v0.models.reporting_monetary_value'](),
|
|
15922
16479
|
duty: factories['io.flow.internal.v0.models.reporting_monetary_value'](),
|
|
15923
16480
|
discount: factories['io.flow.internal.v0.models.reporting_monetary_value'](),
|
|
@@ -16571,6 +17128,9 @@ var factories = {
|
|
|
16571
17128
|
timestamp: factories.date_time_iso_8601(),
|
|
16572
17129
|
tax_transaction: factories['io.flow.internal.v0.models.tax_transaction'](),
|
|
16573
17130
|
}); },
|
|
17131
|
+
'io.flow.internal.v0.models.tax_type_total': function () { return ({
|
|
17132
|
+
value: factories['io.flow.common.v0.models.money'](),
|
|
17133
|
+
}); },
|
|
16574
17134
|
'io.flow.internal.v0.models.taxonomy_alignment_check_result': function () { return ({
|
|
16575
17135
|
status: factories['io.flow.internal.v0.enums.taxonomy_category_classification_alignment'](),
|
|
16576
17136
|
result: factories['io.flow.internal.v0.enums.evaluation_check_result'](),
|
|
@@ -17472,8 +18032,6 @@ var factories = {
|
|
|
17472
18032
|
function () { return factories['io.flow.internal.v0.models.export_failed'](); },
|
|
17473
18033
|
function () { return factories['io.flow.internal.v0.models.feature_upserted'](); },
|
|
17474
18034
|
function () { return factories['io.flow.internal.v0.models.feature_deleted'](); },
|
|
17475
|
-
function () { return factories['io.flow.internal.v0.models.organization_boolean_value_upserted'](); },
|
|
17476
|
-
function () { return factories['io.flow.internal.v0.models.organization_boolean_value_deleted'](); },
|
|
17477
18035
|
function () { return factories['io.flow.internal.v0.models.account_settings_upserted'](); },
|
|
17478
18036
|
function () { return factories['io.flow.internal.v0.models.account_settings_deleted'](); },
|
|
17479
18037
|
function () { return factories['io.flow.internal.v0.models.account_processing_rates_upserted'](); },
|
|
@@ -17709,6 +18267,22 @@ var factories = {
|
|
|
17709
18267
|
function () { return factories['io.flow.internal.v0.models.stripe_connect_report_record_deleted'](); },
|
|
17710
18268
|
function () { return factories['io.flow.internal.v0.models.liability_remittance_plan_upserted'](); },
|
|
17711
18269
|
function () { return factories['io.flow.internal.v0.models.liability_remittance_plan_deleted'](); },
|
|
18270
|
+
function () { return factories['io.flow.internal.v0.models.anirban_item_upserted'](); },
|
|
18271
|
+
function () { return factories['io.flow.internal.v0.models.anirban_item_deleted'](); },
|
|
18272
|
+
function () { return factories['io.flow.internal.v0.models.sarvesh_item_upserted'](); },
|
|
18273
|
+
function () { return factories['io.flow.internal.v0.models.sarvesh_item_deleted'](); },
|
|
18274
|
+
function () { return factories['io.flow.internal.v0.models.hosein_item_upserted'](); },
|
|
18275
|
+
function () { return factories['io.flow.internal.v0.models.hosein_item_deleted'](); },
|
|
18276
|
+
function () { return factories['io.flow.internal.v0.models.niall_item_upserted'](); },
|
|
18277
|
+
function () { return factories['io.flow.internal.v0.models.niall_item_deleted'](); },
|
|
18278
|
+
function () { return factories['io.flow.internal.v0.models.rohan_item_upserted'](); },
|
|
18279
|
+
function () { return factories['io.flow.internal.v0.models.rohan_item_deleted'](); },
|
|
18280
|
+
function () { return factories['io.flow.internal.v0.models.aldo_item_upserted'](); },
|
|
18281
|
+
function () { return factories['io.flow.internal.v0.models.aldo_item_deleted'](); },
|
|
18282
|
+
function () { return factories['io.flow.internal.v0.models.ansh_item_upserted'](); },
|
|
18283
|
+
function () { return factories['io.flow.internal.v0.models.ansh_item_deleted'](); },
|
|
18284
|
+
function () { return factories['io.flow.internal.v0.models.gabriel_item_upserted'](); },
|
|
18285
|
+
function () { return factories['io.flow.internal.v0.models.gabriel_item_deleted'](); },
|
|
17712
18286
|
function () { return factories['io.flow.internal.v0.models.tracking_processing_error_upserted'](); },
|
|
17713
18287
|
function () { return factories['io.flow.internal.v0.models.tracking_processing_error_deleted'](); },
|
|
17714
18288
|
function () { return factories['io.flow.internal.v0.models.tracking_label_event_upserted_v2'](); },
|
|
@@ -17988,6 +18562,7 @@ var factories = {
|
|
|
17988
18562
|
function () { return factories['io.flow.internal.v0.models.proof_of_posting_order_cancellation'](); },
|
|
17989
18563
|
function () { return factories['io.flow.internal.v0.models.proof_of_posting_order_combined_shipment'](); },
|
|
17990
18564
|
function () { return factories['io.flow.internal.v0.models.proof_of_posting_time_elapsed'](); },
|
|
18565
|
+
function () { return factories['io.flow.internal.v0.models.proof_of_posting_synthetic'](); },
|
|
17991
18566
|
]);
|
|
17992
18567
|
return f();
|
|
17993
18568
|
},
|
|
@@ -18311,6 +18886,7 @@ var factories = {
|
|
|
18311
18886
|
attributes: objectOf(function () { return factories['io.flow.common.v0.models.price_with_base'](); }),
|
|
18312
18887
|
price_attributes: objectOf(function () { return factories['io.flow.item.v0.models.local_item_attribute_pricing'](); }),
|
|
18313
18888
|
}); },
|
|
18889
|
+
'io.flow.label.v0.enums.commercial_invoice_mode': function () { return faker.helpers.arrayElement(['direct', 'indirect']); },
|
|
18314
18890
|
'io.flow.label.v0.enums.cost_estimate_source': function () { return faker.helpers.arrayElement(['flow', 'channel']); },
|
|
18315
18891
|
'io.flow.label.v0.enums.direction': function () { return faker.helpers.arrayElement(['outbound', 'return']); },
|
|
18316
18892
|
'io.flow.label.v0.enums.label_request_method': function () { return faker.helpers.arrayElement([
|
|
@@ -18625,6 +19201,73 @@ var factories = {
|
|
|
18625
19201
|
'other',
|
|
18626
19202
|
]); },
|
|
18627
19203
|
'io.flow.merchant.onboarding.v0.enums.region_type': function () { return faker.helpers.arrayElement(['state', 'province', 'jurisdiction']); },
|
|
19204
|
+
'io.flow.merchant.onboarding.v0.models.common_merchant_application': function () { return ({
|
|
19205
|
+
discriminator: 'common_merchant_application',
|
|
19206
|
+
id: factories.string(),
|
|
19207
|
+
organization_id: factories.string(),
|
|
19208
|
+
organization_reference: factories['io.flow.merchant.onboarding.v0.models.onboarding_organization_reference'](),
|
|
19209
|
+
status: factories['io.flow.merchant.onboarding.v0.enums.onboarding_application_status'](),
|
|
19210
|
+
company: factories['io.flow.merchant.onboarding.v0.models.merchant_info'](),
|
|
19211
|
+
indirect_tax: factories['io.flow.merchant.onboarding.v0.models.indirect_tax'](),
|
|
19212
|
+
ultimate_beneficiary_owner: factories['io.flow.merchant.onboarding.v0.models.ultimate_beneficiary_owner'](),
|
|
19213
|
+
business_url: factories.string(),
|
|
19214
|
+
business_description: factories.string(),
|
|
19215
|
+
business_address: factories['io.flow.common.v0.models.address'](),
|
|
19216
|
+
refund_percentage: factories.decimal(),
|
|
19217
|
+
chargeback_percentage: factories.decimal(),
|
|
19218
|
+
beneficiary_details: factories['io.flow.merchant.onboarding.v0.models.merchant_onboarding_beneficiary_details'](),
|
|
19219
|
+
other_trade_sector: factories.string(),
|
|
19220
|
+
center_contact: factories['io.flow.merchant.onboarding.v0.models.operations_contact'](),
|
|
19221
|
+
center_address: factories['io.flow.common.v0.models.address'](),
|
|
19222
|
+
average_order_weight: factories.decimal(),
|
|
19223
|
+
average_order_weight_unit: factories['io.flow.common.v0.enums.unit_of_measurement'](),
|
|
19224
|
+
package_dimensions: arrayOf(function () { return factories['io.flow.common.v0.models.dimension'](); }),
|
|
19225
|
+
monthly_average: factories['io.flow.merchant.onboarding.v0.models.monthly_average'](),
|
|
19226
|
+
default_country_of_origin: factories.string(),
|
|
19227
|
+
rate_card: factories.string(),
|
|
19228
|
+
shop: factories['io.flow.merchant.onboarding.v0.models.shop'](),
|
|
19229
|
+
created_at: factories.date_time_iso_8601(),
|
|
19230
|
+
last_year_xborder_gmv: factories['io.flow.common.v0.models.money'](),
|
|
19231
|
+
last_month_xborder_gmv: factories['io.flow.common.v0.models.money'](),
|
|
19232
|
+
average_order_value: factories['io.flow.common.v0.models.money'](),
|
|
19233
|
+
mcc_codes: arrayOf(function () { return factories.long(); }),
|
|
19234
|
+
}); },
|
|
19235
|
+
'io.flow.merchant.onboarding.v0.models.common_merchant_application_form': function () { return ({
|
|
19236
|
+
discriminator: 'common_merchant_application_form',
|
|
19237
|
+
company: factories['io.flow.merchant.onboarding.v0.models.merchant_info'](),
|
|
19238
|
+
indirect_tax: factories['io.flow.merchant.onboarding.v0.models.indirect_tax'](),
|
|
19239
|
+
ultimate_beneficiary_owner: factories['io.flow.merchant.onboarding.v0.models.ultimate_beneficiary_owner'](),
|
|
19240
|
+
business_url: factories.string(),
|
|
19241
|
+
business_description: factories.string(),
|
|
19242
|
+
business_address: factories['io.flow.common.v0.models.address'](),
|
|
19243
|
+
refund_percentage: factories.decimal(),
|
|
19244
|
+
chargeback_percentage: factories.decimal(),
|
|
19245
|
+
beneficiary_details: factories['io.flow.merchant.onboarding.v0.models.merchant_onboarding_beneficiary_details'](),
|
|
19246
|
+
other_trade_sector: factories.string(),
|
|
19247
|
+
center_contact: factories['io.flow.merchant.onboarding.v0.models.operations_contact'](),
|
|
19248
|
+
center_address: factories['io.flow.common.v0.models.address'](),
|
|
19249
|
+
average_order_weight: factories.decimal(),
|
|
19250
|
+
average_order_weight_unit: factories['io.flow.common.v0.enums.unit_of_measurement'](),
|
|
19251
|
+
package_dimensions: arrayOf(function () { return factories['io.flow.common.v0.models.dimension'](); }),
|
|
19252
|
+
monthly_average_volume_amount: factories.decimal(),
|
|
19253
|
+
monthly_average_volume_currency: factories.string(),
|
|
19254
|
+
monthly_average_number_transactions: factories.long(),
|
|
19255
|
+
default_country_of_origin: factories.string(),
|
|
19256
|
+
shop: factories['io.flow.merchant.onboarding.v0.models.shop'](),
|
|
19257
|
+
rate_card: factories.string(),
|
|
19258
|
+
last_year_xborder_gmv: factories['io.flow.common.v0.models.money'](),
|
|
19259
|
+
last_month_xborder_gmv: factories['io.flow.common.v0.models.money'](),
|
|
19260
|
+
average_order_value: factories['io.flow.common.v0.models.money'](),
|
|
19261
|
+
mcc_codes: arrayOf(function () { return factories.long(); }),
|
|
19262
|
+
}); },
|
|
19263
|
+
'io.flow.merchant.onboarding.v0.models.common_merchant_application_put_form': function () { return ({
|
|
19264
|
+
discriminator: 'common_merchant_application_put_form',
|
|
19265
|
+
status: factories['io.flow.merchant.onboarding.v0.enums.onboarding_application_status'](),
|
|
19266
|
+
}); },
|
|
19267
|
+
'io.flow.merchant.onboarding.v0.models.common_merchant_applications_summary': function () { return ({
|
|
19268
|
+
discriminator: 'common_merchant_applications_summary',
|
|
19269
|
+
total: factories.long(),
|
|
19270
|
+
}); },
|
|
18628
19271
|
'io.flow.merchant.onboarding.v0.models.indirect_tax': function () { return ({
|
|
18629
19272
|
number: factories.string(),
|
|
18630
19273
|
id: factories.string(),
|
|
@@ -18639,6 +19282,7 @@ var factories = {
|
|
|
18639
19282
|
region: factories['io.flow.merchant.onboarding.v0.enums.region_type'](),
|
|
18640
19283
|
region_value: factories.string(),
|
|
18641
19284
|
category_code: factories.string(),
|
|
19285
|
+
description: factories.string(),
|
|
18642
19286
|
}); },
|
|
18643
19287
|
'io.flow.merchant.onboarding.v0.models.merchant_onboarding_address': function () { return ({
|
|
18644
19288
|
full_name: factories.string(),
|
|
@@ -18648,6 +19292,16 @@ var factories = {
|
|
|
18648
19292
|
postal: factories.string(),
|
|
18649
19293
|
country: factories.string(),
|
|
18650
19294
|
}); },
|
|
19295
|
+
'io.flow.merchant.onboarding.v0.models.merchant_onboarding_beneficiary_details': function () { return ({
|
|
19296
|
+
name: factories.string(),
|
|
19297
|
+
address: factories['io.flow.common.v0.models.address'](),
|
|
19298
|
+
phone: factories.string(),
|
|
19299
|
+
email: factories.string(),
|
|
19300
|
+
bank_account_number: factories.string(),
|
|
19301
|
+
bank_routing_number: factories.string(),
|
|
19302
|
+
bank_name: factories.string(),
|
|
19303
|
+
bank_address: factories['io.flow.common.v0.models.address'](),
|
|
19304
|
+
}); },
|
|
18651
19305
|
'io.flow.merchant.onboarding.v0.models.monthly_average': function () { return ({
|
|
18652
19306
|
volume: factories['io.flow.merchant.onboarding.v0.models.monthly_average_volume'](),
|
|
18653
19307
|
number_transactions: factories.long(),
|
|
@@ -18704,6 +19358,7 @@ var factories = {
|
|
|
18704
19358
|
third_party_logistics_partners: arrayOf(function () { return factories['io.flow.merchant.onboarding.v0.models.third_party_logistics_partner'](); }),
|
|
18705
19359
|
center_contact: factories['io.flow.merchant.onboarding.v0.models.operations_contact'](),
|
|
18706
19360
|
average_order_weight: factories.decimal(),
|
|
19361
|
+
average_order_weight_unit: factories['io.flow.common.v0.enums.unit_of_measurement'](),
|
|
18707
19362
|
package_dimensions: arrayOf(function () { return factories['io.flow.common.v0.models.dimension'](); }),
|
|
18708
19363
|
monthly_average: factories['io.flow.merchant.onboarding.v0.models.monthly_average'](),
|
|
18709
19364
|
default_country_of_origin: factories.string(),
|
|
@@ -18736,6 +19391,7 @@ var factories = {
|
|
|
18736
19391
|
third_party_logistics_partners: arrayOf(function () { return factories['io.flow.merchant.onboarding.v0.models.third_party_logistics_partner'](); }),
|
|
18737
19392
|
center_contact: factories['io.flow.merchant.onboarding.v0.models.operations_contact'](),
|
|
18738
19393
|
average_order_weight: factories.decimal(),
|
|
19394
|
+
average_order_weight_unit: factories['io.flow.common.v0.enums.unit_of_measurement'](),
|
|
18739
19395
|
package_dimensions: arrayOf(function () { return factories['io.flow.common.v0.models.dimension'](); }),
|
|
18740
19396
|
monthly_average_volume_amount: factories.decimal(),
|
|
18741
19397
|
monthly_average_volume_currency: factories.string(),
|
|
@@ -18772,24 +19428,28 @@ var factories = {
|
|
|
18772
19428
|
'io.flow.merchant.onboarding.v0.unions.merchant_application': function () {
|
|
18773
19429
|
var f = faker.helpers.arrayElement([
|
|
18774
19430
|
function () { return factories['io.flow.merchant.onboarding.v0.models.shopify_merchant_application'](); },
|
|
19431
|
+
function () { return factories['io.flow.merchant.onboarding.v0.models.common_merchant_application'](); },
|
|
18775
19432
|
]);
|
|
18776
19433
|
return f();
|
|
18777
19434
|
},
|
|
18778
19435
|
'io.flow.merchant.onboarding.v0.unions.merchant_application_form': function () {
|
|
18779
19436
|
var f = faker.helpers.arrayElement([
|
|
18780
19437
|
function () { return factories['io.flow.merchant.onboarding.v0.models.shopify_merchant_application_form'](); },
|
|
19438
|
+
function () { return factories['io.flow.merchant.onboarding.v0.models.common_merchant_application_form'](); },
|
|
18781
19439
|
]);
|
|
18782
19440
|
return f();
|
|
18783
19441
|
},
|
|
18784
19442
|
'io.flow.merchant.onboarding.v0.unions.merchant_application_put_form': function () {
|
|
18785
19443
|
var f = faker.helpers.arrayElement([
|
|
18786
19444
|
function () { return factories['io.flow.merchant.onboarding.v0.models.shopify_merchant_application_put_form'](); },
|
|
19445
|
+
function () { return factories['io.flow.merchant.onboarding.v0.models.common_merchant_application_put_form'](); },
|
|
18787
19446
|
]);
|
|
18788
19447
|
return f();
|
|
18789
19448
|
},
|
|
18790
19449
|
'io.flow.merchant.onboarding.v0.unions.merchant_applications_summary': function () {
|
|
18791
19450
|
var f = faker.helpers.arrayElement([
|
|
18792
19451
|
function () { return factories['io.flow.merchant.onboarding.v0.models.shopify_merchant_applications_summary'](); },
|
|
19452
|
+
function () { return factories['io.flow.merchant.onboarding.v0.models.common_merchant_applications_summary'](); },
|
|
18793
19453
|
]);
|
|
18794
19454
|
return f();
|
|
18795
19455
|
},
|
|
@@ -19103,6 +19763,20 @@ var factories = {
|
|
|
19103
19763
|
defaults: factories['io.flow.common.v0.models.organization_defaults'](),
|
|
19104
19764
|
status: factories['io.flow.common.v0.enums.organization_status'](),
|
|
19105
19765
|
}); },
|
|
19766
|
+
'io.flow.organization.v0.models.organization_tax_registration': function () { return ({
|
|
19767
|
+
id: factories.string(),
|
|
19768
|
+
organization: factories['io.flow.common.v0.models.organization_summary'](),
|
|
19769
|
+
address: factories['io.flow.common.v0.models.billing_address'](),
|
|
19770
|
+
registration: factories['io.flow.organization.v0.models.tax_registration_detail'](),
|
|
19771
|
+
self_billing_agreement: factories['io.flow.organization.v0.models.self_billing_agreement'](),
|
|
19772
|
+
}); },
|
|
19773
|
+
'io.flow.organization.v0.models.organization_tax_registration_form': function () { return ({
|
|
19774
|
+
tax_number: factories.string(),
|
|
19775
|
+
country: factories.string(),
|
|
19776
|
+
province: factories.string(),
|
|
19777
|
+
self_billing_agreement_effective_at: factories.date_time_iso_8601(),
|
|
19778
|
+
self_billing_agreement_expires_at: factories.date_time_iso_8601(),
|
|
19779
|
+
}); },
|
|
19106
19780
|
'io.flow.organization.v0.models.organization_version': function () { return ({
|
|
19107
19781
|
id: factories.string(),
|
|
19108
19782
|
timestamp: factories.date_time_iso_8601(),
|
|
@@ -19117,6 +19791,16 @@ var factories = {
|
|
|
19117
19791
|
'io.flow.organization.v0.models.region_setting_form': function () { return ({
|
|
19118
19792
|
status: factories['io.flow.common.v0.enums.availability_status'](),
|
|
19119
19793
|
}); },
|
|
19794
|
+
'io.flow.organization.v0.models.self_billing_agreement': function () { return ({
|
|
19795
|
+
effective_at: factories.date_time_iso_8601(),
|
|
19796
|
+
expires_at: factories.date_time_iso_8601(),
|
|
19797
|
+
}); },
|
|
19798
|
+
'io.flow.organization.v0.models.tax_registration_detail': function () { return ({
|
|
19799
|
+
tax_number: factories.string(),
|
|
19800
|
+
country: factories.string(),
|
|
19801
|
+
tax_code: factories.string(),
|
|
19802
|
+
province: factories.string(),
|
|
19803
|
+
}); },
|
|
19120
19804
|
'io.flow.partner.v0.enums.label_format': function () { return faker.helpers.arrayElement(['pdf', 'zpl', 'all']); },
|
|
19121
19805
|
'io.flow.partner.v0.models.bridge_hub': function () { return ({
|
|
19122
19806
|
hub_code: factories.string(),
|
|
@@ -19830,6 +20514,7 @@ var factories = {
|
|
|
19830
20514
|
supported_actions: arrayOf(function () { return factories['io.flow.payment.gateway.v0.enums.payment_action_type'](); }),
|
|
19831
20515
|
payment_capture_option: factories['io.flow.payment.gateway.v0.unions.payment_capture_option'](),
|
|
19832
20516
|
review: factories['io.flow.payment.gateway.v0.models.payment_request_review'](),
|
|
20517
|
+
client_secret: factories.string(),
|
|
19833
20518
|
}); },
|
|
19834
20519
|
'io.flow.payment.gateway.v0.models.payment_request_cancellation_reason_order_missing': function () { return ({
|
|
19835
20520
|
type: 'order_missing',
|
|
@@ -21587,6 +22272,7 @@ var factories = {
|
|
|
21587
22272
|
amount: factories['io.flow.common.v0.models.money'](),
|
|
21588
22273
|
origin_region: factories['io.flow.ratecard.v0.models.ratecard_region_reference'](),
|
|
21589
22274
|
destination_region: factories['io.flow.ratecard.v0.models.ratecard_region_reference'](),
|
|
22275
|
+
destination_regions: arrayOf(function () { return factories['io.flow.ratecard.v0.models.ratecard_region_reference'](); }),
|
|
21590
22276
|
interval_unit: factories['io.flow.common.v0.enums.unit_of_measurement'](),
|
|
21591
22277
|
}); },
|
|
21592
22278
|
'io.flow.ratecard.v0.models.estimated_dimensions': function () { return ({
|
|
@@ -21764,6 +22450,7 @@ var factories = {
|
|
|
21764
22450
|
center_id: factories.string(),
|
|
21765
22451
|
taxes_owed: factories['io.flow.common.v0.models.money'](),
|
|
21766
22452
|
duties_owed: factories['io.flow.common.v0.models.money'](),
|
|
22453
|
+
commercial_invoice_mode: factories['io.flow.label.v0.enums.commercial_invoice_mode'](),
|
|
21767
22454
|
}); },
|
|
21768
22455
|
'io.flow.ratecard.v0.models.ratecard_estimate_summary_form': function () { return ({
|
|
21769
22456
|
origin: factories.string(),
|
|
@@ -21956,6 +22643,39 @@ var factories = {
|
|
|
21956
22643
|
from: factories.long(),
|
|
21957
22644
|
to: factories.long(),
|
|
21958
22645
|
}); },
|
|
22646
|
+
'io.flow.ratecard.v0.models.shipping_rate_estimate': function () { return ({
|
|
22647
|
+
origin_address: factories['io.flow.common.v0.models.address'](),
|
|
22648
|
+
destination_address: factories['io.flow.common.v0.models.address'](),
|
|
22649
|
+
shipping_date_time: factories.date_time_iso_8601(),
|
|
22650
|
+
services: arrayOf(function () { return factories.string(); }),
|
|
22651
|
+
available: arrayOf(function () { return factories['io.flow.ratecard.v0.models.shipping_rate_estimate_available'](); }),
|
|
22652
|
+
unavailable: arrayOf(function () { return factories['io.flow.ratecard.v0.models.shipping_rate_estimate_unavailable'](); }),
|
|
22653
|
+
}); },
|
|
22654
|
+
'io.flow.ratecard.v0.models.shipping_rate_estimate_available': function () { return ({
|
|
22655
|
+
service: factories['io.flow.ratecard.v0.models.ratecard_service_summary'](),
|
|
22656
|
+
delivered_duty: factories['io.flow.common.v0.enums.delivered_duty'](),
|
|
22657
|
+
shipment_window: factories['io.flow.ratecard.v0.models.shipment_window'](),
|
|
22658
|
+
total_amount: factories['io.flow.common.v0.models.money'](),
|
|
22659
|
+
base_amount: factories['io.flow.common.v0.models.money'](),
|
|
22660
|
+
fees: arrayOf(function () { return factories['io.flow.ratecard.v0.unions.ratecard_fee'](); }),
|
|
22661
|
+
dimensional_weight: factories['io.flow.common.v0.models.measurement'](),
|
|
22662
|
+
gravitational_weight: factories['io.flow.common.v0.models.measurement'](),
|
|
22663
|
+
weight_break: factories.decimal(),
|
|
22664
|
+
}); },
|
|
22665
|
+
'io.flow.ratecard.v0.models.shipping_rate_estimate_request': function () { return ({
|
|
22666
|
+
origin_address: factories['io.flow.common.v0.models.address'](),
|
|
22667
|
+
destination_address: factories['io.flow.common.v0.models.address'](),
|
|
22668
|
+
package_dimensions: factories['io.flow.common.v0.models.dimension'](),
|
|
22669
|
+
shipping_date_time: factories.date_time_iso_8601(),
|
|
22670
|
+
delivered_duty: factories['io.flow.common.v0.enums.delivered_duty'](),
|
|
22671
|
+
duties_owed: factories['io.flow.common.v0.models.money'](),
|
|
22672
|
+
taxes_owed: factories['io.flow.common.v0.models.money'](),
|
|
22673
|
+
line_items: arrayOf(function () { return factories['io.flow.common.v0.models.line_item_form'](); }),
|
|
22674
|
+
}); },
|
|
22675
|
+
'io.flow.ratecard.v0.models.shipping_rate_estimate_unavailable': function () { return ({
|
|
22676
|
+
service: factories.string(),
|
|
22677
|
+
reason: factories.string(),
|
|
22678
|
+
}); },
|
|
21959
22679
|
'io.flow.ratecard.v0.unions.fuel_surcharge_rate': function () {
|
|
21960
22680
|
var f = faker.helpers.arrayElement([
|
|
21961
22681
|
function () { return factories['io.flow.ratecard.v0.models.fuel_surcharge_percent'](); },
|
|
@@ -22126,6 +22846,38 @@ var factories = {
|
|
|
22126
22846
|
description: factories.string(),
|
|
22127
22847
|
offset: factories.integer(),
|
|
22128
22848
|
}); },
|
|
22849
|
+
'io.flow.restrictions.v0.enums.restricted_review_status': function () { return faker.helpers.arrayElement(['in_review', 'reviewed']); },
|
|
22850
|
+
'io.flow.restrictions.v0.enums.restriction_environment': function () { return faker.helpers.arrayElement(['sandbox', 'production', 'qa']); },
|
|
22851
|
+
'io.flow.restrictions.v0.enums.review_status': function () { return faker.helpers.arrayElement(['high_risk_in_review', 'low_risk_in_review', 'reviewed']); },
|
|
22852
|
+
'io.flow.restrictions.v0.models.carrier_restrictions': function () { return ({
|
|
22853
|
+
carrier: factories.string(),
|
|
22854
|
+
regions: arrayOf(function () { return factories.string(); }),
|
|
22855
|
+
}); },
|
|
22856
|
+
'io.flow.restrictions.v0.models.needs_action_attributes': function () { return ({
|
|
22857
|
+
reason_code: factories.string(),
|
|
22858
|
+
category_metafield_handles: arrayOf(function () { return factories.string(); }),
|
|
22859
|
+
require_msds: factories.boolean(),
|
|
22860
|
+
}); },
|
|
22861
|
+
'io.flow.restrictions.v0.models.product_restriction_result': function () { return ({
|
|
22862
|
+
id: factories.string(),
|
|
22863
|
+
product_id: factories.string(),
|
|
22864
|
+
item_numbers: arrayOf(function () { return factories.string(); }),
|
|
22865
|
+
prohibited_regions: arrayOf(function () { return factories.string(); }),
|
|
22866
|
+
sellability_restricted_regions: arrayOf(function () { return factories.string(); }),
|
|
22867
|
+
reasons_per_region: arrayOf(function () { return factories['io.flow.restrictions.v0.models.reasons_per_region'](); }),
|
|
22868
|
+
review_status: factories['io.flow.restrictions.v0.enums.review_status'](),
|
|
22869
|
+
rules: arrayOf(function () { return factories.string(); }),
|
|
22870
|
+
updated_by: factories.string(),
|
|
22871
|
+
product_restriction_id: factories.string(),
|
|
22872
|
+
hs_code: factories.string(),
|
|
22873
|
+
restricted_regions_by_type: arrayOf(function () { return factories['io.flow.sellability.v0.models.sellability_region_result'](); }),
|
|
22874
|
+
needs_action_attributes: arrayOf(function () { return factories['io.flow.restrictions.v0.models.needs_action_attributes'](); }),
|
|
22875
|
+
}); },
|
|
22876
|
+
'io.flow.restrictions.v0.models.reasons_per_region': function () { return ({
|
|
22877
|
+
region: factories.string(),
|
|
22878
|
+
reasons: arrayOf(function () { return factories.string(); }),
|
|
22879
|
+
review_status: factories['io.flow.restrictions.v0.enums.restricted_review_status'](),
|
|
22880
|
+
}); },
|
|
22129
22881
|
'io.flow.return.v0.enums.return_status': function () { return faker.helpers.arrayElement(['open', 'refunded']); },
|
|
22130
22882
|
'io.flow.return.v0.enums.return_tracking_status': function () { return faker.helpers.arrayElement([
|
|
22131
22883
|
'awaiting_customs_clearance',
|
|
@@ -22227,15 +22979,19 @@ var factories = {
|
|
|
22227
22979
|
'external_service_unavailable',
|
|
22228
22980
|
]); },
|
|
22229
22981
|
'io.flow.sellability.v0.enums.sellability_request_status': function () { return faker.helpers.arrayElement(['commit']); },
|
|
22982
|
+
'io.flow.sellability.v0.enums.sellability_result_error_code': function () { return faker.helpers.arrayElement(['insufficient_details', 'generic_error']); },
|
|
22983
|
+
'io.flow.sellability.v0.enums.sellability_result_status': function () { return faker.helpers.arrayElement(['in_review', 'succeeded', 'failed']); },
|
|
22984
|
+
'io.flow.sellability.v0.enums.sellability_screening_mode': function () { return faker.helpers.arrayElement(['pre_onboarding', 'default_on', 'active']); },
|
|
22230
22985
|
'io.flow.sellability.v0.models.product_sellability': function () { return ({
|
|
22231
22986
|
discriminator: 'product_sellability',
|
|
22232
22987
|
shop_id: factories.string(),
|
|
22233
22988
|
product_id: factories.string(),
|
|
22234
22989
|
request_id: factories.string(),
|
|
22235
22990
|
hs6_code: factories.string(),
|
|
22236
|
-
restricted_regions: arrayOf(function () { return factories['io.flow.sellability.v0.models.
|
|
22991
|
+
restricted_regions: arrayOf(function () { return factories['io.flow.sellability.v0.models.sellability_region_result'](); }),
|
|
22237
22992
|
}); },
|
|
22238
22993
|
'io.flow.sellability.v0.models.product_sellability_form': function () { return ({
|
|
22994
|
+
discriminator: 'product_sellability_form',
|
|
22239
22995
|
shop_id: factories.string(),
|
|
22240
22996
|
product_id: factories.string(),
|
|
22241
22997
|
name: factories.string(),
|
|
@@ -22245,19 +23001,72 @@ var factories = {
|
|
|
22245
23001
|
status: factories['io.flow.sellability.v0.enums.sellability_request_status'](),
|
|
22246
23002
|
dry_run: factories.boolean(),
|
|
22247
23003
|
}); },
|
|
23004
|
+
'io.flow.sellability.v0.models.product_sellability_result': function () { return ({
|
|
23005
|
+
merchant_id: factories.string(),
|
|
23006
|
+
product_id: factories.string(),
|
|
23007
|
+
restricted_regions: arrayOf(function () { return factories['io.flow.sellability.v0.models.sellability_restricted_region'](); }),
|
|
23008
|
+
needs_action_attributes: arrayOf(function () { return factories['io.flow.sellability.v0.models.sellability_needs_action_attributes'](); }),
|
|
23009
|
+
request_id: factories.string(),
|
|
23010
|
+
}); },
|
|
22248
23011
|
'io.flow.sellability.v0.models.sellability_error': function () { return ({
|
|
22249
23012
|
discriminator: 'sellability_error',
|
|
22250
23013
|
code: factories['io.flow.sellability.v0.enums.sellability_error_code'](),
|
|
22251
23014
|
messages: arrayOf(function () { return factories.string(); }),
|
|
22252
23015
|
}); },
|
|
23016
|
+
'io.flow.sellability.v0.models.sellability_needs_action_attributes': function () { return ({
|
|
23017
|
+
reason_code: factories.string(),
|
|
23018
|
+
category_metafield_handles: arrayOf(function () { return factories.string(); }),
|
|
23019
|
+
require_msds: factories.boolean(),
|
|
23020
|
+
}); },
|
|
23021
|
+
'io.flow.sellability.v0.models.sellability_region_result': function () { return ({
|
|
23022
|
+
type: factories['io.flow.sellability.v0.enums.rule_effect_type'](),
|
|
23023
|
+
regions: arrayOf(function () { return factories.string(); }),
|
|
23024
|
+
}); },
|
|
23025
|
+
'io.flow.sellability.v0.models.sellability_region_with_reasons': function () { return ({
|
|
23026
|
+
region: factories.string(),
|
|
23027
|
+
reasons: arrayOf(function () { return factories.string(); }),
|
|
23028
|
+
}); },
|
|
23029
|
+
'io.flow.sellability.v0.models.sellability_restricted_region': function () { return ({
|
|
23030
|
+
type: factories['io.flow.sellability.v0.enums.rule_effect_type'](),
|
|
23031
|
+
regions_with_reasons: arrayOf(function () { return factories['io.flow.sellability.v0.models.sellability_region_with_reasons'](); }),
|
|
23032
|
+
}); },
|
|
23033
|
+
'io.flow.sellability.v0.models.sellability_screening': function () { return ({
|
|
23034
|
+
discriminator: 'sellability_screening',
|
|
23035
|
+
sellability_result: factories['io.flow.sellability.v0.models.product_sellability_result'](),
|
|
23036
|
+
request_id: factories.string(),
|
|
23037
|
+
status: factories['io.flow.sellability.v0.enums.sellability_result_status'](),
|
|
23038
|
+
error_code: factories['io.flow.sellability.v0.enums.sellability_result_error_code'](),
|
|
23039
|
+
error_message: factories.string(),
|
|
23040
|
+
}); },
|
|
23041
|
+
'io.flow.sellability.v0.models.sellability_screening_form': function () { return ({
|
|
23042
|
+
discriminator: 'sellability_screening_form',
|
|
23043
|
+
merchant_id: factories.string(),
|
|
23044
|
+
product_id: factories.string(),
|
|
23045
|
+
name: factories.string(),
|
|
23046
|
+
price: factories['io.flow.common.v0.models.money'](),
|
|
23047
|
+
description: factories.string(),
|
|
23048
|
+
taxonomy_category: factories['io.flow.product.v0.models.product_taxonomy_category'](),
|
|
23049
|
+
mode: factories['io.flow.sellability.v0.enums.sellability_screening_mode'](),
|
|
23050
|
+
catalog_size: factories.integer(),
|
|
23051
|
+
relative_ranking: factories.decimal(),
|
|
23052
|
+
dry_run: factories.boolean(),
|
|
23053
|
+
}); },
|
|
22253
23054
|
'io.flow.sellability.v0.models.sellablility_region_result': function () { return ({
|
|
22254
23055
|
type: factories['io.flow.sellability.v0.enums.rule_effect_type'](),
|
|
22255
23056
|
regions: arrayOf(function () { return factories.string(); }),
|
|
22256
23057
|
}); },
|
|
23058
|
+
'io.flow.sellability.v0.unions.sellability_request': function () {
|
|
23059
|
+
var f = faker.helpers.arrayElement([
|
|
23060
|
+
function () { return factories['io.flow.sellability.v0.models.product_sellability_form'](); },
|
|
23061
|
+
function () { return factories['io.flow.sellability.v0.models.sellability_screening_form'](); },
|
|
23062
|
+
]);
|
|
23063
|
+
return f();
|
|
23064
|
+
},
|
|
22257
23065
|
'io.flow.sellability.v0.unions.sellability_response': function () {
|
|
22258
23066
|
var f = faker.helpers.arrayElement([
|
|
22259
23067
|
function () { return factories['io.flow.sellability.v0.models.product_sellability'](); },
|
|
22260
23068
|
function () { return factories['io.flow.sellability.v0.models.sellability_error'](); },
|
|
23069
|
+
function () { return factories['io.flow.sellability.v0.models.sellability_screening'](); },
|
|
22261
23070
|
]);
|
|
22262
23071
|
return f();
|
|
22263
23072
|
},
|
|
@@ -23719,6 +24528,13 @@ var factories = {
|
|
|
23719
24528
|
shopify: factories['io.flow.shopify.markets.internal.v0.models.shopify_markets_shopify_order_metrics'](),
|
|
23720
24529
|
internal: factories['io.flow.shopify.markets.internal.v0.models.shopify_markets_internal_order_metrics'](),
|
|
23721
24530
|
discrepancy_data: factories['io.flow.shopify.markets.internal.v0.models.shopify_markets_discrepancy_data'](),
|
|
24531
|
+
organization_metrics: arrayOf(function () { return factories['io.flow.shopify.markets.internal.v0.models.shopify_markets_organization_order_metrics'](); }),
|
|
24532
|
+
}); },
|
|
24533
|
+
'io.flow.shopify.markets.internal.v0.models.shopify_markets_organization_order_metrics': function () { return ({
|
|
24534
|
+
organization_id: factories.string(),
|
|
24535
|
+
shopify_order_count: factories.long(),
|
|
24536
|
+
internal_order_count: factories.long(),
|
|
24537
|
+
discrepancy_count: factories.long(),
|
|
23722
24538
|
}); },
|
|
23723
24539
|
'io.flow.shopify.markets.internal.v0.models.shopify_markets_queued_record': function () { return ({
|
|
23724
24540
|
id: factories.string(),
|
|
@@ -24247,6 +25063,7 @@ var factories = {
|
|
|
24247
25063
|
metafields: arrayOf(function () { return factories['io.flow.shopify.markets.v0.models.shopify_order_metafield'](); }),
|
|
24248
25064
|
merchant_of_record_app_id: factories.long(),
|
|
24249
25065
|
total_shipping_price_set: factories['io.flow.shopify.markets.v0.models.shopify_order_money_set'](),
|
|
25066
|
+
current_shipping_price_set: factories['io.flow.shopify.markets.v0.models.shopify_order_money_set'](),
|
|
24250
25067
|
total_tip_received: factories.string(),
|
|
24251
25068
|
}); },
|
|
24252
25069
|
'io.flow.shopify.markets.v0.models.shopify_order_address': function () { return ({
|
|
@@ -26839,18 +27656,24 @@ export var makeAfterpayRefundDeleted = function () { return factories['io.flow.i
|
|
|
26839
27656
|
export var makeAfterpayRefundUpserted = function () { return factories['io.flow.internal.v0.models.afterpay_refund_upserted'](); };
|
|
26840
27657
|
export var makeAftershipWebhook = function () { return factories['io.flow.internal.v0.models.aftership_webhook'](); };
|
|
26841
27658
|
export var makeAldoItem = function () { return factories['io.flow.internal.v0.models.aldo_item'](); };
|
|
27659
|
+
export var makeAldoItemDeleted = function () { return factories['io.flow.internal.v0.models.aldo_item_deleted'](); };
|
|
26842
27660
|
export var makeAldoItemForm = function () { return factories['io.flow.internal.v0.models.aldo_item_form'](); };
|
|
26843
27661
|
export var makeAldoItemType = function () { return factories['io.flow.internal.v0.enums.aldo_item_type'](); };
|
|
27662
|
+
export var makeAldoItemUpserted = function () { return factories['io.flow.internal.v0.models.aldo_item_upserted'](); };
|
|
26844
27663
|
export var makeAllItemsExport = function () { return factories['io.flow.internal.v0.models.all_items_export'](); };
|
|
26845
27664
|
export var makeAllOrganizationsMembership = function () { return factories['io.flow.internal.v0.models.all_organizations_membership'](); };
|
|
26846
27665
|
export var makeAllocationItemReference = function () { return factories['io.flow.internal.v0.models.allocation_item_reference'](); };
|
|
26847
27666
|
export var makeAllowedLabels = function () { return factories['io.flow.internal.v0.models.allowed_labels'](); };
|
|
26848
27667
|
export var makeAnirbanItem = function () { return factories['io.flow.internal.v0.models.anirban_item'](); };
|
|
27668
|
+
export var makeAnirbanItemDeleted = function () { return factories['io.flow.internal.v0.models.anirban_item_deleted'](); };
|
|
26849
27669
|
export var makeAnirbanItemForm = function () { return factories['io.flow.internal.v0.models.anirban_item_form'](); };
|
|
26850
27670
|
export var makeAnirbanItemType = function () { return factories['io.flow.internal.v0.enums.anirban_item_type'](); };
|
|
27671
|
+
export var makeAnirbanItemUpserted = function () { return factories['io.flow.internal.v0.models.anirban_item_upserted'](); };
|
|
26851
27672
|
export var makeAnshItem = function () { return factories['io.flow.internal.v0.models.ansh_item'](); };
|
|
27673
|
+
export var makeAnshItemDeleted = function () { return factories['io.flow.internal.v0.models.ansh_item_deleted'](); };
|
|
26852
27674
|
export var makeAnshItemForm = function () { return factories['io.flow.internal.v0.models.ansh_item_form'](); };
|
|
26853
27675
|
export var makeAnshItemType = function () { return factories['io.flow.internal.v0.enums.ansh_item_type'](); };
|
|
27676
|
+
export var makeAnshItemUpserted = function () { return factories['io.flow.internal.v0.models.ansh_item_upserted'](); };
|
|
26854
27677
|
export var makeAnyDangerousGoods = function () { return factories['io.flow.internal.v0.enums.any_dangerous_goods'](); };
|
|
26855
27678
|
export var makeApiCallReferenceId = function () { return factories['io.flow.internal.v0.enums.api_call_reference_id'](); };
|
|
26856
27679
|
export var makeApplePayAuthorizationPayload = function () { return factories['io.flow.internal.v0.models.apple_pay_authorization_payload'](); };
|
|
@@ -26873,6 +27696,10 @@ export var makeAuthorizedOrderCharge = function () { return factories['io.flow.i
|
|
|
26873
27696
|
export var makeAuthorizedShippingCharge = function () { return factories['io.flow.internal.v0.models.authorized_shipping_charge'](); };
|
|
26874
27697
|
export var makeAutoRestrictRule = function () { return factories['io.flow.internal.v0.enums.auto_restrict_rule'](); };
|
|
26875
27698
|
export var makeAutoReviewCriteria = function () { return factories['io.flow.internal.v0.models.auto_review_criteria'](); };
|
|
27699
|
+
export var makeB2BTaxLedger = function () { return factories['io.flow.internal.v0.models.b2b_tax_ledger'](); };
|
|
27700
|
+
export var makeB2BTaxLedgerDocumentType = function () { return factories['io.flow.internal.v0.enums.b2b_tax_ledger_document_type'](); };
|
|
27701
|
+
export var makeB2BTaxLedgerForm = function () { return factories['io.flow.internal.v0.models.b2b_tax_ledger_form'](); };
|
|
27702
|
+
export var makeB2BTaxRateType = function () { return factories['io.flow.internal.v0.enums.b2b_tax_rate_type'](); };
|
|
26876
27703
|
export var makeBankAccount = function () { return factories['io.flow.internal.v0.models.bank_account'](); };
|
|
26877
27704
|
export var makeBankAccountReference = function () { return factories['io.flow.internal.v0.models.bank_account_reference'](); };
|
|
26878
27705
|
export var makeBankAccountStatus = function () { return factories['io.flow.internal.v0.enums.bank_account_status'](); };
|
|
@@ -26938,6 +27765,7 @@ export var makeBrickWebhookEvent = function () { return factories['io.flow.inter
|
|
|
26938
27765
|
export var makeBrickWebhookEventResponse = function () { return factories['io.flow.internal.v0.models.brick_webhook_event_response'](); };
|
|
26939
27766
|
export var makeBulkClassificationAction = function () { return factories['io.flow.internal.v0.models.bulk_classification_action'](); };
|
|
26940
27767
|
export var makeBulkDutyUpdateValidationError = function () { return factories['io.flow.internal.v0.models.bulk_duty_update_validation_error'](); };
|
|
27768
|
+
export var makeCafe24MarketsWebhook = function () { return factories['io.flow.internal.v0.models.cafe24_markets_webhook'](); };
|
|
26941
27769
|
export var makeCalculatedTaxAmount = function () { return factories['io.flow.internal.v0.models.calculated_tax_amount'](); };
|
|
26942
27770
|
export var makeCalculationStampingLineItem = function () { return factories['io.flow.internal.v0.models.calculation_stamping_line_item'](); };
|
|
26943
27771
|
export var makeCalculationStampingShippingLine = function () { return factories['io.flow.internal.v0.models.calculation_stamping_shipping_line'](); };
|
|
@@ -27112,6 +27940,7 @@ export var makeClassificationDecision = function () { return factories['io.flow.
|
|
|
27112
27940
|
export var makeClassificationDetails = function () { return factories['io.flow.internal.v0.models.classification_details'](); };
|
|
27113
27941
|
export var makeClassificationError = function () { return factories['io.flow.internal.v0.models.classification_error'](); };
|
|
27114
27942
|
export var makeClassificationErrorCode = function () { return factories['io.flow.internal.v0.enums.classification_error_code'](); };
|
|
27943
|
+
export var makeClassificationFailureReason = function () { return factories['io.flow.internal.v0.enums.classification_failure_reason'](); };
|
|
27115
27944
|
export var makeClassificationForm = function () { return factories['io.flow.internal.v0.unions.classification_form'](); };
|
|
27116
27945
|
export var makeClassificationFormWrapper = function () { return factories['io.flow.internal.v0.models.classification_form_wrapper'](); };
|
|
27117
27946
|
export var makeClassificationItem = function () { return factories['io.flow.internal.v0.models.classification_item'](); };
|
|
@@ -27349,7 +28178,6 @@ export var makeFeatureDefaultValue = function () { return factories['io.flow.int
|
|
|
27349
28178
|
export var makeFeatureDeleted = function () { return factories['io.flow.internal.v0.models.feature_deleted'](); };
|
|
27350
28179
|
export var makeFeatureForm = function () { return factories['io.flow.internal.v0.models.feature_form'](); };
|
|
27351
28180
|
export var makeFeatureGeoForm = function () { return factories['io.flow.internal.v0.models.feature_geo_form'](); };
|
|
27352
|
-
export var makeFeatureIdReference = function () { return factories['io.flow.internal.v0.models.feature_id_reference'](); };
|
|
27353
28181
|
export var makeFeatureReference = function () { return factories['io.flow.internal.v0.models.feature_reference'](); };
|
|
27354
28182
|
export var makeFeatureReleaseForm = function () { return factories['io.flow.internal.v0.models.feature_release_form'](); };
|
|
27355
28183
|
export var makeFeatureRule = function () { return factories['io.flow.internal.v0.unions.feature_rule'](); };
|
|
@@ -27467,6 +28295,11 @@ export var makeFxRevenueRecognitionOrder = function () { return factories['io.fl
|
|
|
27467
28295
|
export var makeFxRevenueRecognitionOrganization = function () { return factories['io.flow.internal.v0.models.fx_revenue_recognition_organization'](); };
|
|
27468
28296
|
export var makeFxRevenueRecognitionRate = function () { return factories['io.flow.internal.v0.models.fx_revenue_recognition_rate'](); };
|
|
27469
28297
|
export var makeFxRevenueRecognitionSource = function () { return factories['io.flow.internal.v0.models.fx_revenue_recognition_source'](); };
|
|
28298
|
+
export var makeGabrielItem = function () { return factories['io.flow.internal.v0.models.gabriel_item'](); };
|
|
28299
|
+
export var makeGabrielItemDeleted = function () { return factories['io.flow.internal.v0.models.gabriel_item_deleted'](); };
|
|
28300
|
+
export var makeGabrielItemForm = function () { return factories['io.flow.internal.v0.models.gabriel_item_form'](); };
|
|
28301
|
+
export var makeGabrielItemType = function () { return factories['io.flow.internal.v0.enums.gabriel_item_type'](); };
|
|
28302
|
+
export var makeGabrielItemUpserted = function () { return factories['io.flow.internal.v0.models.gabriel_item_upserted'](); };
|
|
27470
28303
|
export var makeGeIngestionFileStatus = function () { return factories['io.flow.internal.v0.enums.ge_ingestion_file_status'](); };
|
|
27471
28304
|
export var makeGeRevenueShareTransaction = function () { return factories['io.flow.internal.v0.models.ge_revenue_share_transaction'](); };
|
|
27472
28305
|
export var makeGeRevenueShareTransactionType = function () { return factories['io.flow.internal.v0.enums.ge_revenue_share_transaction_type'](); };
|
|
@@ -27502,9 +28335,12 @@ export var makeHarmonizationUnclassifiedStatistics = function () { return factor
|
|
|
27502
28335
|
export var makeHarmonizeFullyRequestV2 = function () { return factories['io.flow.internal.v0.models.harmonize_fully_request_v2'](); };
|
|
27503
28336
|
export var makeHarmonizedItemsHs6Export = function () { return factories['io.flow.internal.v0.models.harmonized_items_hs6_export'](); };
|
|
27504
28337
|
export var makeHoseinItem = function () { return factories['io.flow.internal.v0.models.hosein_item'](); };
|
|
28338
|
+
export var makeHoseinItemDeleted = function () { return factories['io.flow.internal.v0.models.hosein_item_deleted'](); };
|
|
27505
28339
|
export var makeHoseinItemForm = function () { return factories['io.flow.internal.v0.models.hosein_item_form'](); };
|
|
27506
28340
|
export var makeHoseinItemType = function () { return factories['io.flow.internal.v0.enums.hosein_item_type'](); };
|
|
28341
|
+
export var makeHoseinItemUpserted = function () { return factories['io.flow.internal.v0.models.hosein_item_upserted'](); };
|
|
27507
28342
|
export var makeHs6 = function () { return factories['io.flow.internal.v0.models.hs6'](); };
|
|
28343
|
+
export var makeHs6CodeSource = function () { return factories['io.flow.internal.v0.enums.hs6_code_source'](); };
|
|
27508
28344
|
export var makeHs6Metadata = function () { return factories['io.flow.internal.v0.models.hs6_metadata'](); };
|
|
27509
28345
|
export var makeHttpMethod = function () { return factories['io.flow.internal.v0.enums.http_method'](); };
|
|
27510
28346
|
export var makeImportCompleted = function () { return factories['io.flow.internal.v0.models.import_completed'](); };
|
|
@@ -27632,6 +28468,10 @@ export var makeLabelsPrediction = function () { return factories['io.flow.intern
|
|
|
27632
28468
|
export var makeLandedCostItem = function () { return factories['io.flow.internal.v0.models.landed_cost_item'](); };
|
|
27633
28469
|
export var makeLandmark = function () { return factories['io.flow.internal.v0.models.landmark'](); };
|
|
27634
28470
|
export var makeLastFailureSummary = function () { return factories['io.flow.internal.v0.models.last_failure_summary'](); };
|
|
28471
|
+
export var makeLedgerReport = function () { return factories['io.flow.internal.v0.models.ledger_report'](); };
|
|
28472
|
+
export var makeLedgerReportType = function () { return factories['io.flow.internal.v0.enums.ledger_report_type'](); };
|
|
28473
|
+
export var makeLedgerReportUrl = function () { return factories['io.flow.internal.v0.models.ledger_report_url'](); };
|
|
28474
|
+
export var makeLedgerReportUrlType = function () { return factories['io.flow.internal.v0.enums.ledger_report_url_type'](); };
|
|
27635
28475
|
export var makeLevyRateSummary = function () { return factories['io.flow.internal.v0.models.levy_rate_summary'](); };
|
|
27636
28476
|
export var makeLevyRateSummaryUpserted = function () { return factories['io.flow.internal.v0.models.levy_rate_summary_upserted'](); };
|
|
27637
28477
|
export var makeLiability = function () { return factories['io.flow.internal.v0.models.liability'](); };
|
|
@@ -27711,8 +28551,10 @@ export var makeNatureOfSale = function () { return factories['io.flow.internal.v
|
|
|
27711
28551
|
export var makeNegativeDebitMetrics = function () { return factories['io.flow.internal.v0.models.negative_debit_metrics'](); };
|
|
27712
28552
|
export var makeNextBillingStatement = function () { return factories['io.flow.internal.v0.models.next_billing_statement'](); };
|
|
27713
28553
|
export var makeNiallItem = function () { return factories['io.flow.internal.v0.models.niall_item'](); };
|
|
28554
|
+
export var makeNiallItemDeleted = function () { return factories['io.flow.internal.v0.models.niall_item_deleted'](); };
|
|
27714
28555
|
export var makeNiallItemForm = function () { return factories['io.flow.internal.v0.models.niall_item_form'](); };
|
|
27715
28556
|
export var makeNiallItemType = function () { return factories['io.flow.internal.v0.enums.niall_item_type'](); };
|
|
28557
|
+
export var makeNiallItemUpserted = function () { return factories['io.flow.internal.v0.models.niall_item_upserted'](); };
|
|
27716
28558
|
export var makeNoCalculatedTaxAmount = function () { return factories['io.flow.internal.v0.models.no_calculated_tax_amount'](); };
|
|
27717
28559
|
export var makeNoClassificationForm = function () { return factories['io.flow.internal.v0.models.no_classification_form'](); };
|
|
27718
28560
|
export var makeNoLiabilityReasonCode = function () { return factories['io.flow.internal.v0.enums.no_liability_reason_code'](); };
|
|
@@ -27799,9 +28641,6 @@ export var makeOrganizationAccountUpsertedV2 = function () { return factories['i
|
|
|
27799
28641
|
export var makeOrganizationBankAccountDeleted = function () { return factories['io.flow.internal.v0.models.organization_bank_account_deleted'](); };
|
|
27800
28642
|
export var makeOrganizationBankAccountUpserted = function () { return factories['io.flow.internal.v0.models.organization_bank_account_upserted'](); };
|
|
27801
28643
|
export var makeOrganizationBillingStatement = function () { return factories['io.flow.internal.v0.models.organization_billing_statement'](); };
|
|
27802
|
-
export var makeOrganizationBooleanValue = function () { return factories['io.flow.internal.v0.models.organization_boolean_value'](); };
|
|
27803
|
-
export var makeOrganizationBooleanValueDeleted = function () { return factories['io.flow.internal.v0.models.organization_boolean_value_deleted'](); };
|
|
27804
|
-
export var makeOrganizationBooleanValueUpserted = function () { return factories['io.flow.internal.v0.models.organization_boolean_value_upserted'](); };
|
|
27805
28644
|
export var makeOrganizationBusinessEntity = function () { return factories['io.flow.internal.v0.models.organization_business_entity'](); };
|
|
27806
28645
|
export var makeOrganizationBusinessEntityDeleted = function () { return factories['io.flow.internal.v0.models.organization_business_entity_deleted'](); };
|
|
27807
28646
|
export var makeOrganizationBusinessEntityUpserted = function () { return factories['io.flow.internal.v0.models.organization_business_entity_upserted'](); };
|
|
@@ -27958,6 +28797,16 @@ export var makePrateekItemForm = function () { return factories['io.flow.interna
|
|
|
27958
28797
|
export var makePrateekItemType = function () { return factories['io.flow.internal.v0.enums.prateek_item_type'](); };
|
|
27959
28798
|
export var makePrediction = function () { return factories['io.flow.internal.v0.models.prediction'](); };
|
|
27960
28799
|
export var makePreferredBillingSchedule = function () { return factories['io.flow.internal.v0.enums.preferred_billing_schedule'](); };
|
|
28800
|
+
export var makePreonboardingClassificationDecision = function () { return factories['io.flow.internal.v0.enums.preonboarding_classification_decision'](); };
|
|
28801
|
+
export var makePreonboardingClassificationPlatform = function () { return factories['io.flow.internal.v0.enums.preonboarding_classification_platform'](); };
|
|
28802
|
+
export var makePreonboardingClassificationRabbitmqEnvelope = function () { return factories['io.flow.internal.v0.models.preonboarding_classification_rabbitmq_envelope'](); };
|
|
28803
|
+
export var makePreonboardingClassificationRabbitmqMessage = function () { return factories['io.flow.internal.v0.models.preonboarding_classification_rabbitmq_message'](); };
|
|
28804
|
+
export var makePreonboardingClassificationRequest = function () { return factories['io.flow.internal.v0.models.preonboarding_classification_request'](); };
|
|
28805
|
+
export var makePreonboardingClassificationResult = function () { return factories['io.flow.internal.v0.models.preonboarding_classification_result'](); };
|
|
28806
|
+
export var makePreonboardingClassificationType = function () { return factories['io.flow.internal.v0.enums.preonboarding_classification_type'](); };
|
|
28807
|
+
export var makePreonboardingMerchant = function () { return factories['io.flow.internal.v0.models.preonboarding_merchant'](); };
|
|
28808
|
+
export var makePreonboardingRequestStatus = function () { return factories['io.flow.internal.v0.enums.preonboarding_request_status'](); };
|
|
28809
|
+
export var makePreonboardingSellabilityResult = function () { return factories['io.flow.internal.v0.models.preonboarding_sellability_result'](); };
|
|
27961
28810
|
export var makePriceInclusivity = function () { return factories['io.flow.internal.v0.models.price_inclusivity'](); };
|
|
27962
28811
|
export var makePriceSelector = function () { return factories['io.flow.internal.v0.enums.price_selector'](); };
|
|
27963
28812
|
export var makePrioritizedCenterReference = function () { return factories['io.flow.internal.v0.models.prioritized_center_reference'](); };
|
|
@@ -28010,6 +28859,7 @@ export var makeProofOfPostingFulfilled = function () { return factories['io.flow
|
|
|
28010
28859
|
export var makeProofOfPostingOrderCancellation = function () { return factories['io.flow.internal.v0.models.proof_of_posting_order_cancellation'](); };
|
|
28011
28860
|
export var makeProofOfPostingOrderCombinedShipment = function () { return factories['io.flow.internal.v0.models.proof_of_posting_order_combined_shipment'](); };
|
|
28012
28861
|
export var makeProofOfPostingShippingNotification = function () { return factories['io.flow.internal.v0.models.proof_of_posting_shipping_notification'](); };
|
|
28862
|
+
export var makeProofOfPostingSynthetic = function () { return factories['io.flow.internal.v0.models.proof_of_posting_synthetic'](); };
|
|
28013
28863
|
export var makeProofOfPostingTimeElapsed = function () { return factories['io.flow.internal.v0.models.proof_of_posting_time_elapsed'](); };
|
|
28014
28864
|
export var makePspDistribution = function () { return factories['io.flow.internal.v0.models.psp_distribution'](); };
|
|
28015
28865
|
export var makePspRoutingDistribution = function () { return factories['io.flow.internal.v0.models.psp_routing_distribution'](); };
|
|
@@ -28081,6 +28931,7 @@ export var makeRejectionReason = function () { return factories['io.flow.interna
|
|
|
28081
28931
|
export var makeRemittanceResponsibility = function () { return factories['io.flow.internal.v0.models.remittance_responsibility'](); };
|
|
28082
28932
|
export var makeReport = function () { return factories['io.flow.internal.v0.models.report'](); };
|
|
28083
28933
|
export var makeReportAccount = function () { return factories['io.flow.internal.v0.models.report_account'](); };
|
|
28934
|
+
export var makeReportAmountRange = function () { return factories['io.flow.internal.v0.models.report_amount_range'](); };
|
|
28084
28935
|
export var makeReportBankAccount = function () { return factories['io.flow.internal.v0.models.report_bank_account'](); };
|
|
28085
28936
|
export var makeReportBankAccountCleartext = function () { return factories['io.flow.internal.v0.models.report_bank_account_cleartext'](); };
|
|
28086
28937
|
export var makeReportFile = function () { return factories['io.flow.internal.v0.models.report_file'](); };
|
|
@@ -28211,8 +29062,10 @@ export var makeRevenueRecordUpserted = function () { return factories['io.flow.i
|
|
|
28211
29062
|
export var makeRiskCheck = function () { return factories['io.flow.internal.v0.enums.risk_check'](); };
|
|
28212
29063
|
export var makeRiskEvaluation = function () { return factories['io.flow.internal.v0.enums.risk_evaluation'](); };
|
|
28213
29064
|
export var makeRohanItem = function () { return factories['io.flow.internal.v0.models.rohan_item'](); };
|
|
29065
|
+
export var makeRohanItemDeleted = function () { return factories['io.flow.internal.v0.models.rohan_item_deleted'](); };
|
|
28214
29066
|
export var makeRohanItemForm = function () { return factories['io.flow.internal.v0.models.rohan_item_form'](); };
|
|
28215
29067
|
export var makeRohanItemType = function () { return factories['io.flow.internal.v0.enums.rohan_item_type'](); };
|
|
29068
|
+
export var makeRohanItemUpserted = function () { return factories['io.flow.internal.v0.models.rohan_item_upserted'](); };
|
|
28216
29069
|
export var makeRoutingAccount = function () { return factories['io.flow.internal.v0.models.routing_account'](); };
|
|
28217
29070
|
export var makeRoutingEntity = function () { return factories['io.flow.internal.v0.unions.routing_entity'](); };
|
|
28218
29071
|
export var makeRoutingMerchant = function () { return factories['io.flow.internal.v0.models.routing_merchant'](); };
|
|
@@ -28221,8 +29074,10 @@ export var makeSalesPaymentRecord = function () { return factories['io.flow.inte
|
|
|
28221
29074
|
export var makeSandboxSetup = function () { return factories['io.flow.internal.v0.models.sandbox_setup'](); };
|
|
28222
29075
|
export var makeSandboxSetupForm = function () { return factories['io.flow.internal.v0.models.sandbox_setup_form'](); };
|
|
28223
29076
|
export var makeSarveshItem = function () { return factories['io.flow.internal.v0.models.sarvesh_item'](); };
|
|
29077
|
+
export var makeSarveshItemDeleted = function () { return factories['io.flow.internal.v0.models.sarvesh_item_deleted'](); };
|
|
28224
29078
|
export var makeSarveshItemForm = function () { return factories['io.flow.internal.v0.models.sarvesh_item_form'](); };
|
|
28225
29079
|
export var makeSarveshItemType = function () { return factories['io.flow.internal.v0.enums.sarvesh_item_type'](); };
|
|
29080
|
+
export var makeSarveshItemUpserted = function () { return factories['io.flow.internal.v0.models.sarvesh_item_upserted'](); };
|
|
28226
29081
|
export var makeScheduledPayment = function () { return factories['io.flow.internal.v0.models.scheduled_payment'](); };
|
|
28227
29082
|
export var makeScreen = function () { return factories['io.flow.internal.v0.models.screen'](); };
|
|
28228
29083
|
export var makeScreenForm = function () { return factories['io.flow.internal.v0.models.screen_form'](); };
|
|
@@ -28246,6 +29101,9 @@ export var makeShipmentCostSummary = function () { return factories['io.flow.int
|
|
|
28246
29101
|
export var makeShippingLane = function () { return factories['io.flow.internal.v0.models.shipping_lane'](); };
|
|
28247
29102
|
export var makeShippingMethodReference = function () { return factories['io.flow.internal.v0.models.shipping_method_reference'](); };
|
|
28248
29103
|
export var makeShippingPricing = function () { return factories['io.flow.internal.v0.models.shipping_pricing'](); };
|
|
29104
|
+
export var makeShippingRateEstimateAvailableInternal = function () { return factories['io.flow.internal.v0.models.shipping_rate_estimate_available_internal'](); };
|
|
29105
|
+
export var makeShippingRateEstimateInternal = function () { return factories['io.flow.internal.v0.models.shipping_rate_estimate_internal'](); };
|
|
29106
|
+
export var makeShippingRateEstimateRequestInternal = function () { return factories['io.flow.internal.v0.models.shipping_rate_estimate_request_internal'](); };
|
|
28249
29107
|
export var makeShopifyCatalogPublication = function () { return factories['io.flow.internal.v0.models.shopify_catalog_publication'](); };
|
|
28250
29108
|
export var makeShopifyChannelOrganizationToken = function () { return factories['io.flow.internal.v0.models.shopify_channel_organization_token'](); };
|
|
28251
29109
|
export var makeShopifyChannelOrganizationTokens = function () { return factories['io.flow.internal.v0.models.shopify_channel_organization_tokens'](); };
|
|
@@ -28285,6 +29143,7 @@ export var makeShopifyMarketsOrderDeleted = function () { return factories['io.f
|
|
|
28285
29143
|
export var makeShopifyMarketsOrderUpserted = function () { return factories['io.flow.internal.v0.models.shopify_markets_order_upserted'](); };
|
|
28286
29144
|
export var makeShopifyMarketsOrderVersionWithShopId = function () { return factories['io.flow.internal.v0.models.shopify_markets_order_version_with_shop_id'](); };
|
|
28287
29145
|
export var makeShopifyMarketsOrdersMetrics = function () { return factories['io.flow.internal.v0.models.shopify_markets_orders_metrics'](); };
|
|
29146
|
+
export var makeShopifyMarketsOrganizationOrderMetrics = function () { return factories['io.flow.internal.v0.models.shopify_markets_organization_order_metrics'](); };
|
|
28288
29147
|
export var makeShopifyMarketsQueuedRecord = function () { return factories['io.flow.internal.v0.models.shopify_markets_queued_record'](); };
|
|
28289
29148
|
export var makeShopifyMarketsQueuedRecordType = function () { return factories['io.flow.internal.v0.enums.shopify_markets_queued_record_type'](); };
|
|
28290
29149
|
export var makeShopifyMarketsShop = function () { return factories['io.flow.internal.v0.models.shopify_markets_shop'](); };
|
|
@@ -28465,6 +29324,7 @@ export var makeTaxTransaction = function () { return factories['io.flow.internal
|
|
|
28465
29324
|
export var makeTaxTransactionDeleted = function () { return factories['io.flow.internal.v0.models.tax_transaction_deleted'](); };
|
|
28466
29325
|
export var makeTaxTransactionType = function () { return factories['io.flow.internal.v0.enums.tax_transaction_type'](); };
|
|
28467
29326
|
export var makeTaxTransactionUpserted = function () { return factories['io.flow.internal.v0.models.tax_transaction_upserted'](); };
|
|
29327
|
+
export var makeTaxTypeTotal = function () { return factories['io.flow.internal.v0.models.tax_type_total'](); };
|
|
28468
29328
|
export var makeTaxonomyAlignmentCheckResult = function () { return factories['io.flow.internal.v0.models.taxonomy_alignment_check_result'](); };
|
|
28469
29329
|
export var makeTaxonomyCategory = function () { return factories['io.flow.internal.v0.models.taxonomy_category'](); };
|
|
28470
29330
|
export var makeTaxonomyCategoryClassificationAlignment = function () { return factories['io.flow.internal.v0.enums.taxonomy_category_classification_alignment'](); };
|