@flowio/api-internal-factories 0.0.98 → 0.0.100
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 +575 -149
- package/dist/esm/api-internal.js +494 -92
- package/dist/types/api-internal.d.ts +34 -10
- package/package.json +2 -2
- package/src/api-internal.ts +569 -103
package/dist/esm/api-internal.js
CHANGED
|
@@ -622,6 +622,7 @@ var factories = {
|
|
|
622
622
|
number: factories.string(),
|
|
623
623
|
fulfillment_method: factories['io.flow.catalog.v0.enums.fulfillment_method_value'](),
|
|
624
624
|
country_of_origin: factories.string(),
|
|
625
|
+
tarriff_code: factories.string(),
|
|
625
626
|
inferred: factories.boolean(),
|
|
626
627
|
}); },
|
|
627
628
|
'io.flow.billing.accounting.v0.models.merchant_fees': function () { return ({
|
|
@@ -654,6 +655,10 @@ var factories = {
|
|
|
654
655
|
freight: factories.decimal(),
|
|
655
656
|
total: factories.decimal(),
|
|
656
657
|
}); },
|
|
658
|
+
'io.flow.billing.accounting.v0.models.order_reference': function () { return ({
|
|
659
|
+
organization: factories['io.flow.common.v0.models.organization_reference'](),
|
|
660
|
+
number: factories.string(),
|
|
661
|
+
}); },
|
|
657
662
|
'io.flow.billing.accounting.v0.models.order_summary': function () { return ({
|
|
658
663
|
id: factories.string(),
|
|
659
664
|
organization: factories['io.flow.common.v0.models.organization_reference'](),
|
|
@@ -663,6 +668,15 @@ var factories = {
|
|
|
663
668
|
delivered_duty: factories['io.flow.common.v0.enums.delivered_duty'](),
|
|
664
669
|
currency: factories.string(),
|
|
665
670
|
}); },
|
|
671
|
+
'io.flow.billing.accounting.v0.models.pending_order': function () { return ({
|
|
672
|
+
id: factories.string(),
|
|
673
|
+
order: factories['io.flow.billing.accounting.v0.models.order_summary'](),
|
|
674
|
+
shopper: factories['io.flow.billing.accounting.v0.models.shopper_summary'](),
|
|
675
|
+
merchant: factories['io.flow.billing.accounting.v0.models.merchant_summary'](),
|
|
676
|
+
remittance: factories['io.flow.billing.accounting.v0.models.remittance_responsibility'](),
|
|
677
|
+
sequence_number: factories.long(),
|
|
678
|
+
posting_cutoff: factories.date_time_iso_8601(),
|
|
679
|
+
}); },
|
|
666
680
|
'io.flow.billing.accounting.v0.models.remittance_responsibility': function () { return ({
|
|
667
681
|
tax: factories['io.flow.billing.internal.v0.enums.responsible_party'](),
|
|
668
682
|
duty: factories['io.flow.billing.internal.v0.enums.responsible_party'](),
|
|
@@ -671,8 +685,8 @@ var factories = {
|
|
|
671
685
|
id: factories.string(),
|
|
672
686
|
order: factories['io.flow.billing.accounting.v0.models.order_summary'](),
|
|
673
687
|
shopper: factories['io.flow.billing.accounting.v0.models.shopper_summary'](),
|
|
674
|
-
remittance: factories['io.flow.billing.accounting.v0.models.remittance_responsibility'](),
|
|
675
688
|
merchant: factories['io.flow.billing.accounting.v0.models.merchant_summary'](),
|
|
689
|
+
remittance: factories['io.flow.billing.accounting.v0.models.remittance_responsibility'](),
|
|
676
690
|
sequence_number: factories.long(),
|
|
677
691
|
posting_cutoff: factories.date_time_iso_8601(),
|
|
678
692
|
trigger: factories['io.flow.billing.accounting.v0.unions.return_trigger'](),
|
|
@@ -1026,6 +1040,8 @@ var factories = {
|
|
|
1026
1040
|
fx_fee_description: factories.string(),
|
|
1027
1041
|
duty_guarantee_fee: factories.decimal(),
|
|
1028
1042
|
duty_guarantee_fee_description: factories.string(),
|
|
1043
|
+
negative_balance_fee: factories.decimal(),
|
|
1044
|
+
negative_balance_fee_description: factories.string(),
|
|
1029
1045
|
}); },
|
|
1030
1046
|
'io.flow.billing.csv.v0.models.billing_csv_processing_transaction_delivery': function () { return ({
|
|
1031
1047
|
delivery_option_id: factories.string(),
|
|
@@ -1092,6 +1108,7 @@ var factories = {
|
|
|
1092
1108
|
processing: factories.decimal(),
|
|
1093
1109
|
rate_lock: factories.decimal(),
|
|
1094
1110
|
transfer: factories.decimal(),
|
|
1111
|
+
negative_balance: factories.decimal(),
|
|
1095
1112
|
}); },
|
|
1096
1113
|
'io.flow.billing.csv.v0.models.billing_csv_transaction_identifiers': function () { return ({
|
|
1097
1114
|
reference_id: factories.string(),
|
|
@@ -1109,6 +1126,7 @@ var factories = {
|
|
|
1109
1126
|
label_created_at: factories.date_time_iso_8601(),
|
|
1110
1127
|
carrier_id: factories.string(),
|
|
1111
1128
|
carrier_tracking_number: factories.string(),
|
|
1129
|
+
revenue_share_percentage: factories.decimal(),
|
|
1112
1130
|
outbound_transaction_id: factories.string(),
|
|
1113
1131
|
}); },
|
|
1114
1132
|
'io.flow.billing.csv.v0.models.billing_csv_transaction_metadata_channel': function () { return ({
|
|
@@ -1166,6 +1184,7 @@ var factories = {
|
|
|
1166
1184
|
dispute_balance: factories.decimal(),
|
|
1167
1185
|
one_time_adjustments: objectOf(function () { return factories.decimal(); }),
|
|
1168
1186
|
}); },
|
|
1187
|
+
'io.flow.billing.internal.v0.enums.account_payment_hold_reason': function () { return faker.helpers.arrayElement(['fraudulent', 'invalid_bank_account']); },
|
|
1169
1188
|
'io.flow.billing.internal.v0.enums.account_setting_liabilities_method': function () { return faker.helpers.arrayElement(['withholding', 'transaction']); },
|
|
1170
1189
|
'io.flow.billing.internal.v0.enums.account_type': function () { return faker.helpers.arrayElement(['channel', 'organization']); },
|
|
1171
1190
|
'io.flow.billing.internal.v0.enums.adjustment_transaction_type': function () { return faker.helpers.arrayElement(['adjustment', 'reversal']); },
|
|
@@ -1218,7 +1237,6 @@ var factories = {
|
|
|
1218
1237
|
'carrier_charge',
|
|
1219
1238
|
'all',
|
|
1220
1239
|
]); },
|
|
1221
|
-
'io.flow.billing.internal.v0.enums.billing_statement_batch_file_key': function () { return faker.helpers.arrayElement(['summary']); },
|
|
1222
1240
|
'io.flow.billing.internal.v0.enums.billing_transaction_status': function () { return faker.helpers.arrayElement(['pending', 'pending_proof', 'posted']); },
|
|
1223
1241
|
'io.flow.billing.internal.v0.enums.billing_transaction_type': function () { return faker.helpers.arrayElement([
|
|
1224
1242
|
'manual',
|
|
@@ -1244,7 +1262,7 @@ var factories = {
|
|
|
1244
1262
|
'trueup',
|
|
1245
1263
|
'carrier_charge',
|
|
1246
1264
|
]); },
|
|
1247
|
-
'io.flow.billing.internal.v0.enums.carrier_charge_transaction_type': function () { return faker.helpers.arrayElement(['adjustment', 'reversal', 'charge']); },
|
|
1265
|
+
'io.flow.billing.internal.v0.enums.carrier_charge_transaction_type': function () { return faker.helpers.arrayElement(['adjustment', 'reversal', 'charge', 'revenue_share']); },
|
|
1248
1266
|
'io.flow.billing.internal.v0.enums.channel_billed_transaction_type': function () { return faker.helpers.arrayElement(['adjustment', 'reversal', 'channel_initiated']); },
|
|
1249
1267
|
'io.flow.billing.internal.v0.enums.channel_transaction_type': function () { return faker.helpers.arrayElement(['adjustment', 'reversal', 'processing']); },
|
|
1250
1268
|
'io.flow.billing.internal.v0.enums.dispute_transaction_type': function () { return faker.helpers.arrayElement(['adjustment', 'dispute']); },
|
|
@@ -1308,6 +1326,15 @@ var factories = {
|
|
|
1308
1326
|
'io.flow.billing.internal.v0.models.account_origin': function () { return ({
|
|
1309
1327
|
country: factories.string(),
|
|
1310
1328
|
}); },
|
|
1329
|
+
'io.flow.billing.internal.v0.models.account_payment_hold': function () { return ({
|
|
1330
|
+
id: factories.string(),
|
|
1331
|
+
account: factories['io.flow.billing.internal.v0.models.simple_account_reference'](),
|
|
1332
|
+
reason: factories['io.flow.billing.internal.v0.enums.account_payment_hold_reason'](),
|
|
1333
|
+
}); },
|
|
1334
|
+
'io.flow.billing.internal.v0.models.account_payment_hold_form': function () { return ({
|
|
1335
|
+
account_id: factories.string(),
|
|
1336
|
+
reason: factories['io.flow.billing.internal.v0.enums.account_payment_hold_reason'](),
|
|
1337
|
+
}); },
|
|
1311
1338
|
'io.flow.billing.internal.v0.models.account_processing_rate_form': function () { return ({
|
|
1312
1339
|
query: factories.string(),
|
|
1313
1340
|
capture: factories.decimal(),
|
|
@@ -1342,7 +1369,7 @@ var factories = {
|
|
|
1342
1369
|
merchant_of_record_fee: factories.decimal(),
|
|
1343
1370
|
duty_guarantee_fee: factories.decimal(),
|
|
1344
1371
|
transfer_fee: factories.decimal(),
|
|
1345
|
-
|
|
1372
|
+
negative_balance_fee: factories.decimal(),
|
|
1346
1373
|
order_service_fee: factories['io.flow.billing.internal.v0.models.tiered_fee'](),
|
|
1347
1374
|
label_fees: factories['io.flow.billing.internal.v0.models.account_setting_label_fees'](),
|
|
1348
1375
|
charge_label_cost_directly: factories.boolean(),
|
|
@@ -1499,6 +1526,7 @@ var factories = {
|
|
|
1499
1526
|
b2b_tax_remittance_days: factories.long(),
|
|
1500
1527
|
mor_fee: factories.decimal(),
|
|
1501
1528
|
duty_guarantee_fee: factories.decimal(),
|
|
1529
|
+
negative_balance_fee: factories.decimal(),
|
|
1502
1530
|
order_service_fee: factories['io.flow.billing.internal.v0.models.tiered_fee'](),
|
|
1503
1531
|
label_fee: factories['io.flow.billing.internal.v0.models.tiered_fee'](),
|
|
1504
1532
|
}); },
|
|
@@ -1507,17 +1535,6 @@ var factories = {
|
|
|
1507
1535
|
name: factories.string(),
|
|
1508
1536
|
url: factories.string(),
|
|
1509
1537
|
}); },
|
|
1510
|
-
'io.flow.billing.internal.v0.models.billing_statement_batch': function () { return ({
|
|
1511
|
-
id: factories.string(),
|
|
1512
|
-
}); },
|
|
1513
|
-
'io.flow.billing.internal.v0.models.billing_statement_batch_reference': function () { return ({
|
|
1514
|
-
id: factories.string(),
|
|
1515
|
-
}); },
|
|
1516
|
-
'io.flow.billing.internal.v0.models.billing_statement_batch_statement': function () { return ({
|
|
1517
|
-
id: factories.string(),
|
|
1518
|
-
batch: factories['io.flow.billing.internal.v0.models.billing_statement_batch_reference'](),
|
|
1519
|
-
statement: factories['io.flow.billing.internal.v0.models.billing_statement_reference'](),
|
|
1520
|
-
}); },
|
|
1521
1538
|
'io.flow.billing.internal.v0.models.billing_statement_reference': function () { return ({
|
|
1522
1539
|
id: factories.string(),
|
|
1523
1540
|
}); },
|
|
@@ -1753,6 +1770,7 @@ var factories = {
|
|
|
1753
1770
|
fx: factories['io.flow.billing.internal.v0.models.fee'](),
|
|
1754
1771
|
duty_guarantee: factories['io.flow.billing.internal.v0.models.fee'](),
|
|
1755
1772
|
transfer: factories['io.flow.billing.internal.v0.models.fee'](),
|
|
1773
|
+
negative_balance: factories['io.flow.billing.internal.v0.models.fee'](),
|
|
1756
1774
|
}); },
|
|
1757
1775
|
'io.flow.billing.internal.v0.models.finance_bank_account': function () { return ({
|
|
1758
1776
|
id: factories.string(),
|
|
@@ -1788,6 +1806,13 @@ var factories = {
|
|
|
1788
1806
|
bank_account: factories['io.flow.billing.internal.v0.models.bank_account_reference'](),
|
|
1789
1807
|
created_at: factories.date_time_iso_8601(),
|
|
1790
1808
|
}); },
|
|
1809
|
+
'io.flow.billing.internal.v0.models.flow_billing_statement': function () { return ({
|
|
1810
|
+
id: factories.string(),
|
|
1811
|
+
account: factories['io.flow.billing.v0.models.account_reference'](),
|
|
1812
|
+
period: factories['io.flow.common.v0.models.datetime_range'](),
|
|
1813
|
+
totals: factories['io.flow.billing.internal.v0.models.billing_statement_totals'](),
|
|
1814
|
+
attachments: arrayOf(function () { return factories['io.flow.billing.internal.v0.models.billing_statement_attachment'](); }),
|
|
1815
|
+
}); },
|
|
1791
1816
|
'io.flow.billing.internal.v0.models.fx_fee': function () { return ({
|
|
1792
1817
|
base: factories['io.flow.common.v0.models.money'](),
|
|
1793
1818
|
local: factories['io.flow.common.v0.models.money'](),
|
|
@@ -2312,7 +2337,7 @@ var factories = {
|
|
|
2312
2337
|
'scheduled_payment',
|
|
2313
2338
|
]); },
|
|
2314
2339
|
'io.flow.billing.reporting.v0.enums.reporting_fulfillment_is_virtual': function () { return faker.helpers.arrayElement(['all', 'mixed', 'none']); },
|
|
2315
|
-
'io.flow.billing.reporting.v0.enums.revenue_record_type': function () { return faker.helpers.arrayElement(['sales', 'refund']); },
|
|
2340
|
+
'io.flow.billing.reporting.v0.enums.revenue_record_type': function () { return faker.helpers.arrayElement(['pending', 'sales', 'refund']); },
|
|
2316
2341
|
'io.flow.billing.reporting.v0.models.fulfillment_shopper_breakdown': function () { return ({
|
|
2317
2342
|
shipping: factories['io.flow.billing.reporting.v0.models.reporting_monetary_value'](),
|
|
2318
2343
|
fees: factories['io.flow.billing.reporting.v0.models.reporting_shopper_fees'](),
|
|
@@ -3641,6 +3666,7 @@ var factories = {
|
|
|
3641
3666
|
channel_id: factories.string(),
|
|
3642
3667
|
external_order_reference: factories.string(),
|
|
3643
3668
|
payment_request_id: factories.string(),
|
|
3669
|
+
order_edit_payment_request_ids: arrayOf(function () { return factories.string(); }),
|
|
3644
3670
|
status: factories['io.flow.channel.internal.v0.enums.channel_order_acceptance_status'](),
|
|
3645
3671
|
reasons: arrayOf(function () { return factories['io.flow.channel.internal.v0.models.channel_order_acceptance_reason'](); }),
|
|
3646
3672
|
next_action_from: factories['io.flow.channel.internal.v0.enums.channel_order_acceptance_next_action_from'](),
|
|
@@ -7798,6 +7824,7 @@ var factories = {
|
|
|
7798
7824
|
number: factories.string(),
|
|
7799
7825
|
company_name: factories.string(),
|
|
7800
7826
|
}); },
|
|
7827
|
+
'io.flow.internal.v0.enums.account_payment_hold_reason': function () { return faker.helpers.arrayElement(['fraudulent', 'invalid_bank_account']); },
|
|
7801
7828
|
'io.flow.internal.v0.enums.account_setting_liabilities_method': function () { return faker.helpers.arrayElement(['withholding', 'transaction']); },
|
|
7802
7829
|
'io.flow.internal.v0.enums.account_type': function () { return faker.helpers.arrayElement(['channel', 'organization']); },
|
|
7803
7830
|
'io.flow.internal.v0.enums.address_configuration_setting_province_code': function () { return faker.helpers.arrayElement(['iso_3166_2', 'name']); },
|
|
@@ -7885,6 +7912,8 @@ var factories = {
|
|
|
7885
7912
|
'refund_transactions_ignored_previously_processed_count',
|
|
7886
7913
|
'refund_queued_count',
|
|
7887
7914
|
'refund_transactions_total',
|
|
7915
|
+
'refund_transactions_succeeded_then_failed_count',
|
|
7916
|
+
'refund_transactions_succeeded_then_failed_total',
|
|
7888
7917
|
'reversal_order_cancellations_transactions_count',
|
|
7889
7918
|
'reversal_order_cancellations_transactions_total',
|
|
7890
7919
|
'reversal_external_fulfillment_transactions_count',
|
|
@@ -7911,8 +7940,8 @@ var factories = {
|
|
|
7911
7940
|
'queued_refund_unprocessed_count',
|
|
7912
7941
|
'queued_label_invoice_request_unprocessed_count',
|
|
7913
7942
|
'queued_other_unprocessed_count',
|
|
7914
|
-
'
|
|
7915
|
-
'
|
|
7943
|
+
'task_snooze_count',
|
|
7944
|
+
'task_snooze_ending_in_48_hours_count',
|
|
7916
7945
|
'payouts_scheduled_count',
|
|
7917
7946
|
'payouts_scheduled_total',
|
|
7918
7947
|
'payouts_sent_count',
|
|
@@ -7937,6 +7966,13 @@ var factories = {
|
|
|
7937
7966
|
'negative_balance_total_with_order_in_past_30_days',
|
|
7938
7967
|
'negative_balance_total_without_order_in_past_30_days',
|
|
7939
7968
|
'negative_balance_single_account_max',
|
|
7969
|
+
'negative_balance_fee_total',
|
|
7970
|
+
'accounts_with_payment_holds_count',
|
|
7971
|
+
'accounts_with_payment_holds_pending_payment_promise_count',
|
|
7972
|
+
'accounts_with_payment_holds_pending_payment_promise_total',
|
|
7973
|
+
'accounts_with_final_statements_count',
|
|
7974
|
+
'accounts_with_final_statements_pending_transaction_count',
|
|
7975
|
+
'accounts_with_final_statements_pending_transaction_total',
|
|
7940
7976
|
]); },
|
|
7941
7977
|
'io.flow.internal.v0.enums.billing_statement_attachment_key': function () { return faker.helpers.arrayElement([
|
|
7942
7978
|
'invoice',
|
|
@@ -7957,7 +7993,6 @@ var factories = {
|
|
|
7957
7993
|
'carrier_charge',
|
|
7958
7994
|
'all',
|
|
7959
7995
|
]); },
|
|
7960
|
-
'io.flow.internal.v0.enums.billing_statement_batch_file_key': function () { return faker.helpers.arrayElement(['summary']); },
|
|
7961
7996
|
'io.flow.internal.v0.enums.billing_transaction_status': function () { return faker.helpers.arrayElement(['pending', 'pending_proof', 'posted']); },
|
|
7962
7997
|
'io.flow.internal.v0.enums.billing_transaction_type': function () { return faker.helpers.arrayElement([
|
|
7963
7998
|
'manual',
|
|
@@ -8056,6 +8091,9 @@ var factories = {
|
|
|
8056
8091
|
'incoterm_dap',
|
|
8057
8092
|
'emergency_situation',
|
|
8058
8093
|
'remote_area_delivery',
|
|
8094
|
+
'customs_clearance_surcharge',
|
|
8095
|
+
'security_surcharge',
|
|
8096
|
+
'duties_fx_surcharge',
|
|
8059
8097
|
]); },
|
|
8060
8098
|
'io.flow.internal.v0.enums.chargeback_payment_status': function () { return faker.helpers.arrayElement(['captured', 'refunded']); },
|
|
8061
8099
|
'io.flow.internal.v0.enums.chargeback_process_status': function () { return faker.helpers.arrayElement(['inquiry', 'open', 'closed']); },
|
|
@@ -8384,6 +8422,8 @@ var factories = {
|
|
|
8384
8422
|
'adyen_refund_upserted',
|
|
8385
8423
|
'index_assignment_upserted',
|
|
8386
8424
|
'index_assignment_deleted',
|
|
8425
|
+
'fulfillment_upserted',
|
|
8426
|
+
'fulfillment_deleted',
|
|
8387
8427
|
'merchant_upserted',
|
|
8388
8428
|
'merchant_deleted',
|
|
8389
8429
|
'account_upserted',
|
|
@@ -8518,10 +8558,6 @@ var factories = {
|
|
|
8518
8558
|
'billing_organization_processing_rates_deleted',
|
|
8519
8559
|
'billing_organization_settings_upserted',
|
|
8520
8560
|
'billing_organization_settings_deleted',
|
|
8521
|
-
'billing_statement_batch_upserted',
|
|
8522
|
-
'billing_statement_batch_deleted',
|
|
8523
|
-
'billing_statement_batch_statement_upserted',
|
|
8524
|
-
'billing_statement_batch_statement_deleted',
|
|
8525
8561
|
'standalone_attachment_upserted',
|
|
8526
8562
|
'standalone_attachment_deleted',
|
|
8527
8563
|
'platform_fee_change_upserted',
|
|
@@ -8582,6 +8618,10 @@ var factories = {
|
|
|
8582
8618
|
'item_form_import_request',
|
|
8583
8619
|
'label_request_error_upserted',
|
|
8584
8620
|
'label_request_error_deleted',
|
|
8621
|
+
'order_validation_failure_upserted',
|
|
8622
|
+
'order_validation_failure_deleted',
|
|
8623
|
+
'order_validation_upserted',
|
|
8624
|
+
'order_validation_deleted',
|
|
8585
8625
|
'label_tracking_summary_upserted',
|
|
8586
8626
|
'label_tracking_summary_deleted',
|
|
8587
8627
|
'localized_item_upserted_v2',
|
|
@@ -8708,10 +8748,14 @@ var factories = {
|
|
|
8708
8748
|
'svitlana_item_deleted',
|
|
8709
8749
|
'colm_item_upserted',
|
|
8710
8750
|
'colm_item_deleted',
|
|
8751
|
+
'matias_item_upserted',
|
|
8752
|
+
'matias_item_deleted',
|
|
8711
8753
|
'shruti_demo_item_upserted',
|
|
8712
8754
|
'shruti_demo_item_deleted',
|
|
8713
8755
|
'tam_item_upserted',
|
|
8714
8756
|
'tam_item_deleted',
|
|
8757
|
+
'tracking_processing_error_upserted',
|
|
8758
|
+
'tracking_processing_error_deleted',
|
|
8715
8759
|
'tracking_label_event_upserted_v2',
|
|
8716
8760
|
'tracking_label_event_deleted_v2',
|
|
8717
8761
|
'tracking_label_upserted',
|
|
@@ -8838,6 +8882,7 @@ var factories = {
|
|
|
8838
8882
|
]); },
|
|
8839
8883
|
'io.flow.internal.v0.enums.marketing_gateway_product_status': function () { return faker.helpers.arrayElement(['approved', 'not_approved', 'pending', 'not_found', 'excluded']); },
|
|
8840
8884
|
'io.flow.internal.v0.enums.marketing_gateway_schema_compatibility': function () { return faker.helpers.arrayElement(['google', 'facebook_primary', 'facebook_country_override', 'supplemental']); },
|
|
8885
|
+
'io.flow.internal.v0.enums.matias_item_type': function () { return faker.helpers.arrayElement(['physical', 'digital']); },
|
|
8841
8886
|
'io.flow.internal.v0.enums.mixed_bag_weight': function () { return faker.helpers.arrayElement(['0', '1', '2']); },
|
|
8842
8887
|
'io.flow.internal.v0.enums.nature_of_sale': function () { return faker.helpers.arrayElement([
|
|
8843
8888
|
'consumer',
|
|
@@ -9003,7 +9048,7 @@ var factories = {
|
|
|
9003
9048
|
'io.flow.internal.v0.enums.restriction_action': function () { return faker.helpers.arrayElement(['prohibited', 'restricted']); },
|
|
9004
9049
|
'io.flow.internal.v0.enums.restriction_decision': function () { return faker.helpers.arrayElement(['accept', 'escalate', 'reject', 'review']); },
|
|
9005
9050
|
'io.flow.internal.v0.enums.restriction_status': function () { return faker.helpers.arrayElement(['pending', 'in_review', 'escalated', 'accepted', 'restricted']); },
|
|
9006
|
-
'io.flow.internal.v0.enums.revenue_record_type': function () { return faker.helpers.arrayElement(['sales', 'refund']); },
|
|
9051
|
+
'io.flow.internal.v0.enums.revenue_record_type': function () { return faker.helpers.arrayElement(['pending', 'sales', 'refund']); },
|
|
9007
9052
|
'io.flow.internal.v0.enums.risk_check': function () { return faker.helpers.arrayElement(['three_d_secure']); },
|
|
9008
9053
|
'io.flow.internal.v0.enums.risk_evaluation': function () { return faker.helpers.arrayElement(['Pending', 'High-Risk', 'Low-Risk', 'Restricted-Party', 'none']); },
|
|
9009
9054
|
'io.flow.internal.v0.enums.scope': function () { return faker.helpers.arrayElement(['organization', 'global']); },
|
|
@@ -9071,7 +9116,7 @@ var factories = {
|
|
|
9071
9116
|
'io.flow.internal.v0.enums.significance_action': function () { return faker.helpers.arrayElement(['end_and_implement_winner', 'end_and_revert', 'do_nothing']); },
|
|
9072
9117
|
'io.flow.internal.v0.enums.simple_rounding_strategy': function () { return faker.helpers.arrayElement(['no_rounding', 'currency_precision']); },
|
|
9073
9118
|
'io.flow.internal.v0.enums.snooze_next_action_with': function () { return faker.helpers.arrayElement(['customer_service', 'engineering']); },
|
|
9074
|
-
'io.flow.internal.v0.enums.snooze_source_type': function () { return faker.helpers.arrayElement(['
|
|
9119
|
+
'io.flow.internal.v0.enums.snooze_source_type': function () { return faker.helpers.arrayElement(['task']); },
|
|
9075
9120
|
'io.flow.internal.v0.enums.statement_status': function () { return faker.helpers.arrayElement([
|
|
9076
9121
|
'created',
|
|
9077
9122
|
'no_transactions',
|
|
@@ -9107,6 +9152,14 @@ var factories = {
|
|
|
9107
9152
|
'io.flow.internal.v0.enums.tax_transaction_type': function () { return faker.helpers.arrayElement(['adjustment', 'reversal', 'tax']); },
|
|
9108
9153
|
'io.flow.internal.v0.enums.timeseries_type': function () { return faker.helpers.arrayElement(['daily', 'weekly', 'monthly', 'yearly']); },
|
|
9109
9154
|
'io.flow.internal.v0.enums.tracking_integration_type': function () { return faker.helpers.arrayElement(['api', 'bulk', 'aftership']); },
|
|
9155
|
+
'io.flow.internal.v0.enums.tracking_processing_failure_classification': function () { return faker.helpers.arrayElement([
|
|
9156
|
+
'tracking_expired',
|
|
9157
|
+
'expired_tracking_number_new_event',
|
|
9158
|
+
'new_tracking_number_expired_event',
|
|
9159
|
+
'origin_mismatch',
|
|
9160
|
+
'destination_mismatch',
|
|
9161
|
+
'other',
|
|
9162
|
+
]); },
|
|
9110
9163
|
'io.flow.internal.v0.enums.transaction_posting_method': function () { return faker.helpers.arrayElement(['time', 'proof']); },
|
|
9111
9164
|
'io.flow.internal.v0.enums.transfer_method': function () { return faker.helpers.arrayElement(['ach']); },
|
|
9112
9165
|
'io.flow.internal.v0.enums.trueup_transaction_type': function () { return faker.helpers.arrayElement(['adjustment', 'reversal', 'trueup']); },
|
|
@@ -9181,6 +9234,15 @@ var factories = {
|
|
|
9181
9234
|
'io.flow.internal.v0.models.account_origin': function () { return ({
|
|
9182
9235
|
country: factories.string(),
|
|
9183
9236
|
}); },
|
|
9237
|
+
'io.flow.internal.v0.models.account_payment_hold': function () { return ({
|
|
9238
|
+
id: factories.string(),
|
|
9239
|
+
account: factories['io.flow.internal.v0.models.simple_account_reference'](),
|
|
9240
|
+
reason: factories['io.flow.internal.v0.enums.account_payment_hold_reason'](),
|
|
9241
|
+
}); },
|
|
9242
|
+
'io.flow.internal.v0.models.account_payment_hold_form': function () { return ({
|
|
9243
|
+
account_id: factories.string(),
|
|
9244
|
+
reason: factories['io.flow.internal.v0.enums.account_payment_hold_reason'](),
|
|
9245
|
+
}); },
|
|
9184
9246
|
'io.flow.internal.v0.models.account_processing_rate_form': function () { return ({
|
|
9185
9247
|
query: factories.string(),
|
|
9186
9248
|
capture: factories.decimal(),
|
|
@@ -9230,7 +9292,7 @@ var factories = {
|
|
|
9230
9292
|
merchant_of_record_fee: factories.decimal(),
|
|
9231
9293
|
duty_guarantee_fee: factories.decimal(),
|
|
9232
9294
|
transfer_fee: factories.decimal(),
|
|
9233
|
-
|
|
9295
|
+
negative_balance_fee: factories.decimal(),
|
|
9234
9296
|
order_service_fee: factories['io.flow.internal.v0.models.tiered_fee'](),
|
|
9235
9297
|
label_fees: factories['io.flow.internal.v0.models.account_setting_label_fees'](),
|
|
9236
9298
|
charge_label_cost_directly: factories.boolean(),
|
|
@@ -9304,10 +9366,20 @@ var factories = {
|
|
|
9304
9366
|
timestamp: factories.date_time_iso_8601(),
|
|
9305
9367
|
account: factories['io.flow.internal.v0.models.flow_account'](),
|
|
9306
9368
|
}); },
|
|
9369
|
+
'io.flow.internal.v0.models.accounting_fulfillment_metadata': function () { return ({
|
|
9370
|
+
discriminator: 'accounting_fulfillment_metadata',
|
|
9371
|
+
order: factories['io.flow.internal.v0.models.order_reference'](),
|
|
9372
|
+
proof: factories['io.flow.internal.v0.unions.fulfillment_proof'](),
|
|
9373
|
+
}); },
|
|
9307
9374
|
'io.flow.internal.v0.models.action_quantity': function () { return ({
|
|
9308
9375
|
action: factories['io.flow.internal.v0.enums.item_quantity_action'](),
|
|
9309
9376
|
quantity: factories.long(),
|
|
9310
9377
|
}); },
|
|
9378
|
+
'io.flow.internal.v0.models.additional_import_tax': function () { return ({
|
|
9379
|
+
name: factories.string(),
|
|
9380
|
+
additional_import_tax_value: factories['io.flow.common.v0.models.money'](),
|
|
9381
|
+
rate: factories.decimal(),
|
|
9382
|
+
}); },
|
|
9311
9383
|
'io.flow.internal.v0.models.address_configuration_province_setting': function () { return ({
|
|
9312
9384
|
code: factories['io.flow.internal.v0.enums.address_configuration_setting_province_code'](),
|
|
9313
9385
|
}); },
|
|
@@ -9935,6 +10007,7 @@ var factories = {
|
|
|
9935
10007
|
b2b_tax_remittance_days: factories.long(),
|
|
9936
10008
|
mor_fee: factories.decimal(),
|
|
9937
10009
|
duty_guarantee_fee: factories.decimal(),
|
|
10010
|
+
negative_balance_fee: factories.decimal(),
|
|
9938
10011
|
order_service_fee: factories['io.flow.internal.v0.models.tiered_fee'](),
|
|
9939
10012
|
label_fee: factories['io.flow.internal.v0.models.tiered_fee'](),
|
|
9940
10013
|
}); },
|
|
@@ -9957,41 +10030,6 @@ var factories = {
|
|
|
9957
10030
|
name: factories.string(),
|
|
9958
10031
|
url: factories.string(),
|
|
9959
10032
|
}); },
|
|
9960
|
-
'io.flow.internal.v0.models.billing_statement_batch': function () { return ({
|
|
9961
|
-
id: factories.string(),
|
|
9962
|
-
}); },
|
|
9963
|
-
'io.flow.internal.v0.models.billing_statement_batch_deleted': function () { return ({
|
|
9964
|
-
discriminator: 'billing_statement_batch_deleted',
|
|
9965
|
-
event_id: factories.string(),
|
|
9966
|
-
timestamp: factories.date_time_iso_8601(),
|
|
9967
|
-
id: factories.string(),
|
|
9968
|
-
}); },
|
|
9969
|
-
'io.flow.internal.v0.models.billing_statement_batch_reference': function () { return ({
|
|
9970
|
-
id: factories.string(),
|
|
9971
|
-
}); },
|
|
9972
|
-
'io.flow.internal.v0.models.billing_statement_batch_statement': function () { return ({
|
|
9973
|
-
id: factories.string(),
|
|
9974
|
-
batch: factories['io.flow.internal.v0.models.billing_statement_batch_reference'](),
|
|
9975
|
-
statement: factories['io.flow.internal.v0.models.billing_statement_reference'](),
|
|
9976
|
-
}); },
|
|
9977
|
-
'io.flow.internal.v0.models.billing_statement_batch_statement_deleted': function () { return ({
|
|
9978
|
-
discriminator: 'billing_statement_batch_statement_deleted',
|
|
9979
|
-
event_id: factories.string(),
|
|
9980
|
-
timestamp: factories.date_time_iso_8601(),
|
|
9981
|
-
id: factories.string(),
|
|
9982
|
-
}); },
|
|
9983
|
-
'io.flow.internal.v0.models.billing_statement_batch_statement_upserted': function () { return ({
|
|
9984
|
-
discriminator: 'billing_statement_batch_statement_upserted',
|
|
9985
|
-
event_id: factories.string(),
|
|
9986
|
-
timestamp: factories.date_time_iso_8601(),
|
|
9987
|
-
billing_statement_batch_statement: factories['io.flow.internal.v0.models.billing_statement_batch_statement'](),
|
|
9988
|
-
}); },
|
|
9989
|
-
'io.flow.internal.v0.models.billing_statement_batch_upserted': function () { return ({
|
|
9990
|
-
discriminator: 'billing_statement_batch_upserted',
|
|
9991
|
-
event_id: factories.string(),
|
|
9992
|
-
timestamp: factories.date_time_iso_8601(),
|
|
9993
|
-
billing_statement_batch: factories['io.flow.internal.v0.models.billing_statement_batch'](),
|
|
9994
|
-
}); },
|
|
9995
10033
|
'io.flow.internal.v0.models.billing_statement_deleted': function () { return ({
|
|
9996
10034
|
discriminator: 'billing_statement_deleted',
|
|
9997
10035
|
event_id: factories.string(),
|
|
@@ -10299,6 +10337,47 @@ var factories = {
|
|
|
10299
10337
|
rate: factories.decimal(),
|
|
10300
10338
|
name: factories.string(),
|
|
10301
10339
|
}); },
|
|
10340
|
+
'io.flow.internal.v0.models.calculation_stamping_line_item': function () { return ({
|
|
10341
|
+
id: factories.string(),
|
|
10342
|
+
hs_code: factories.string(),
|
|
10343
|
+
duty: factories['io.flow.common.v0.models.money'](),
|
|
10344
|
+
duty_rate: factories.decimal(),
|
|
10345
|
+
sales_tax: factories['io.flow.common.v0.models.money'](),
|
|
10346
|
+
sales_tax_rate: factories.decimal(),
|
|
10347
|
+
additional_tax: factories['io.flow.common.v0.models.money'](),
|
|
10348
|
+
additional_tax_rate: factories.decimal(),
|
|
10349
|
+
total: factories['io.flow.common.v0.models.money'](),
|
|
10350
|
+
}); },
|
|
10351
|
+
'io.flow.internal.v0.models.calculation_stamping_shipping_line': function () { return ({
|
|
10352
|
+
first_ship_from: factories.string(),
|
|
10353
|
+
duty: factories.decimal(),
|
|
10354
|
+
duty_rate: factories.decimal(),
|
|
10355
|
+
tax: factories.decimal(),
|
|
10356
|
+
tax_rate: factories.decimal(),
|
|
10357
|
+
price: factories.decimal(),
|
|
10358
|
+
duty_rate_on_shipping: factories.decimal(),
|
|
10359
|
+
tax_rate_on_shipping: factories.decimal(),
|
|
10360
|
+
import_fee: factories.decimal(),
|
|
10361
|
+
}); },
|
|
10362
|
+
'io.flow.internal.v0.models.calculation_step': function () { return ({
|
|
10363
|
+
discriminator: 'calculation_step',
|
|
10364
|
+
primary_identifier: factories.string(),
|
|
10365
|
+
line_item: arrayOf(function () { return factories['io.flow.internal.v0.models.calculation_stamping_line_item'](); }),
|
|
10366
|
+
shipping_line_item: factories['io.flow.internal.v0.models.calculation_stamping_shipping_line'](),
|
|
10367
|
+
total: factories['io.flow.internal.v0.models.calculation_total'](),
|
|
10368
|
+
explanation: factories.string(),
|
|
10369
|
+
}); },
|
|
10370
|
+
'io.flow.internal.v0.models.calculation_total': function () { return ({
|
|
10371
|
+
customs_value_name: factories.string(),
|
|
10372
|
+
customs_value_amount: factories['io.flow.common.v0.models.money'](),
|
|
10373
|
+
additional_import_included: factories.boolean(),
|
|
10374
|
+
additional_import_value: factories['io.flow.common.v0.models.money'](),
|
|
10375
|
+
duty: factories['io.flow.common.v0.models.money'](),
|
|
10376
|
+
sales_tax: factories['io.flow.common.v0.models.money'](),
|
|
10377
|
+
additional_tax_import_included: factories.boolean(),
|
|
10378
|
+
additional_tax: factories['io.flow.common.v0.models.money'](),
|
|
10379
|
+
additional_import_tax: arrayOf(function () { return factories['io.flow.internal.v0.models.additional_import_tax'](); }),
|
|
10380
|
+
}); },
|
|
10302
10381
|
'io.flow.internal.v0.models.calculator_dtce_post_body': function () { return ({
|
|
10303
10382
|
products: arrayOf(function () { return factories['io.flow.internal.v0.models.calculator_dtce_product'](); }),
|
|
10304
10383
|
countryCodeFrom: factories.string(),
|
|
@@ -10436,6 +10515,7 @@ var factories = {
|
|
|
10436
10515
|
'io.flow.internal.v0.models.carrier_charge_form_other': function () { return ({
|
|
10437
10516
|
discriminator: 'other',
|
|
10438
10517
|
id: factories.string(),
|
|
10518
|
+
label_invoice_request_id: factories.string(),
|
|
10439
10519
|
reason: factories['io.flow.trueup.v0.enums.carrier_charge_reason'](),
|
|
10440
10520
|
organization_id: factories.string(),
|
|
10441
10521
|
order_number: factories.string(),
|
|
@@ -10734,6 +10814,7 @@ var factories = {
|
|
|
10734
10814
|
tracking_numbers: arrayOf(function () { return factories.string(); }),
|
|
10735
10815
|
carrier: factories['io.flow.reference.v0.models.carrier_service'](),
|
|
10736
10816
|
duty_paid: factories.boolean(),
|
|
10817
|
+
shop_id: factories.string(),
|
|
10737
10818
|
}); },
|
|
10738
10819
|
'io.flow.internal.v0.models.channel_order_acceptance': function () { return ({
|
|
10739
10820
|
id: factories.string(),
|
|
@@ -10742,6 +10823,7 @@ var factories = {
|
|
|
10742
10823
|
channel_id: factories.string(),
|
|
10743
10824
|
external_order_reference: factories.string(),
|
|
10744
10825
|
payment_request_id: factories.string(),
|
|
10826
|
+
order_edit_payment_request_ids: arrayOf(function () { return factories.string(); }),
|
|
10745
10827
|
status: factories['io.flow.internal.v0.enums.channel_order_acceptance_status'](),
|
|
10746
10828
|
reasons: arrayOf(function () { return factories['io.flow.internal.v0.models.channel_order_acceptance_reason'](); }),
|
|
10747
10829
|
next_action_from: factories['io.flow.internal.v0.enums.channel_order_acceptance_next_action_from'](),
|
|
@@ -12858,6 +12940,11 @@ var factories = {
|
|
|
12858
12940
|
timestamp: factories.date_time_iso_8601(),
|
|
12859
12941
|
invoice: factories['io.flow.internal.v0.models.commercial_invoice_internal'](),
|
|
12860
12942
|
}); },
|
|
12943
|
+
'io.flow.internal.v0.models.commercial_invoice_summary': function () { return ({
|
|
12944
|
+
id: factories.string(),
|
|
12945
|
+
label_id: factories.string(),
|
|
12946
|
+
line_items: arrayOf(function () { return factories['io.flow.internal.v0.models.invoice_line_item'](); }),
|
|
12947
|
+
}); },
|
|
12861
12948
|
'io.flow.internal.v0.models.company_reference': function () { return ({
|
|
12862
12949
|
id: factories.string(),
|
|
12863
12950
|
}); },
|
|
@@ -13647,6 +13734,9 @@ var factories = {
|
|
|
13647
13734
|
bank_code: factories.string(),
|
|
13648
13735
|
id: factories.string(),
|
|
13649
13736
|
tax_code: factories.string(),
|
|
13737
|
+
tax_code_2: factories.string(),
|
|
13738
|
+
debit_entry_code: factories.string(),
|
|
13739
|
+
credit_entry_code: factories.string(),
|
|
13650
13740
|
vat_flag: factories.string(),
|
|
13651
13741
|
w_tax_percent: factories.string(),
|
|
13652
13742
|
iban: factories.string(),
|
|
@@ -13691,6 +13781,9 @@ var factories = {
|
|
|
13691
13781
|
id: factories.string(),
|
|
13692
13782
|
acc_des: factories.string(),
|
|
13693
13783
|
tax_code: factories.string(),
|
|
13784
|
+
tax_code_2: factories.string(),
|
|
13785
|
+
debit_entry_code: factories.string(),
|
|
13786
|
+
credit_entry_code: factories.string(),
|
|
13694
13787
|
vat_flag: factories.string(),
|
|
13695
13788
|
country_name: factories.string(),
|
|
13696
13789
|
w_tax_percent: factories.string(),
|
|
@@ -14231,6 +14324,7 @@ var factories = {
|
|
|
14231
14324
|
fx: factories['io.flow.internal.v0.models.fee'](),
|
|
14232
14325
|
duty_guarantee: factories['io.flow.internal.v0.models.fee'](),
|
|
14233
14326
|
transfer: factories['io.flow.internal.v0.models.fee'](),
|
|
14327
|
+
negative_balance: factories['io.flow.internal.v0.models.fee'](),
|
|
14234
14328
|
}); },
|
|
14235
14329
|
'io.flow.internal.v0.models.finance_bank_account': function () { return ({
|
|
14236
14330
|
id: factories.string(),
|
|
@@ -14370,6 +14464,13 @@ var factories = {
|
|
|
14370
14464
|
bank_account: factories['io.flow.internal.v0.models.bank_account_reference'](),
|
|
14371
14465
|
created_at: factories.date_time_iso_8601(),
|
|
14372
14466
|
}); },
|
|
14467
|
+
'io.flow.internal.v0.models.flow_billing_statement': function () { return ({
|
|
14468
|
+
id: factories.string(),
|
|
14469
|
+
account: factories['io.flow.billing.v0.models.account_reference'](),
|
|
14470
|
+
period: factories['io.flow.common.v0.models.datetime_range'](),
|
|
14471
|
+
totals: factories['io.flow.internal.v0.models.billing_statement_totals'](),
|
|
14472
|
+
attachments: arrayOf(function () { return factories['io.flow.internal.v0.models.billing_statement_attachment'](); }),
|
|
14473
|
+
}); },
|
|
14373
14474
|
'io.flow.internal.v0.models.flow_channel_organization': function () { return ({
|
|
14374
14475
|
placeholder: factories.string(),
|
|
14375
14476
|
}); },
|
|
@@ -14625,6 +14726,13 @@ var factories = {
|
|
|
14625
14726
|
reason: factories['io.flow.order.management.v0.enums.cancel_reason'](),
|
|
14626
14727
|
cancelled_lines: arrayOf(function () { return factories['io.flow.order.management.v0.models.fulfillment_line_cancel_form'](); }),
|
|
14627
14728
|
}); },
|
|
14729
|
+
'io.flow.internal.v0.models.fulfillment_deleted': function () { return ({
|
|
14730
|
+
discriminator: 'fulfillment_deleted',
|
|
14731
|
+
event_id: factories.string(),
|
|
14732
|
+
timestamp: factories.date_time_iso_8601(),
|
|
14733
|
+
organization: factories.string(),
|
|
14734
|
+
id: factories.string(),
|
|
14735
|
+
}); },
|
|
14628
14736
|
'io.flow.internal.v0.models.fulfillment_internal_experience_reference': function () { return ({
|
|
14629
14737
|
id: factories.string(),
|
|
14630
14738
|
key: factories.string(),
|
|
@@ -14711,6 +14819,13 @@ var factories = {
|
|
|
14711
14819
|
discriminator: 'by_time',
|
|
14712
14820
|
placeholder: factories.string(),
|
|
14713
14821
|
}); },
|
|
14822
|
+
'io.flow.internal.v0.models.fulfillment_upserted': function () { return ({
|
|
14823
|
+
discriminator: 'fulfillment_upserted',
|
|
14824
|
+
event_id: factories.string(),
|
|
14825
|
+
timestamp: factories.date_time_iso_8601(),
|
|
14826
|
+
organization: factories.string(),
|
|
14827
|
+
fulfillment: factories['io.flow.internal.v0.models.fulfillment'](),
|
|
14828
|
+
}); },
|
|
14714
14829
|
'io.flow.internal.v0.models.fx_fee': function () { return ({
|
|
14715
14830
|
base: factories['io.flow.common.v0.models.money'](),
|
|
14716
14831
|
local: factories['io.flow.common.v0.models.money'](),
|
|
@@ -15989,6 +16104,7 @@ var factories = {
|
|
|
15989
16104
|
number: factories.string(),
|
|
15990
16105
|
fulfillment_method: factories['io.flow.catalog.v0.enums.fulfillment_method_value'](),
|
|
15991
16106
|
country_of_origin: factories.string(),
|
|
16107
|
+
tarriff_code: factories.string(),
|
|
15992
16108
|
inferred: factories.boolean(),
|
|
15993
16109
|
}); },
|
|
15994
16110
|
'io.flow.internal.v0.models.item_values_form': function () { return ({
|
|
@@ -16181,6 +16297,10 @@ var factories = {
|
|
|
16181
16297
|
emergency: factories['io.flow.internal.v0.models.label_surcharge_single_form'](),
|
|
16182
16298
|
peak: factories['io.flow.internal.v0.models.label_surcharge_single_form'](),
|
|
16183
16299
|
address_correction: factories['io.flow.internal.v0.models.label_surcharge_single_form'](),
|
|
16300
|
+
security: factories['io.flow.internal.v0.models.label_surcharge_single_form'](),
|
|
16301
|
+
eei_filing: factories['io.flow.internal.v0.models.label_surcharge_single_form'](),
|
|
16302
|
+
fixed_ddp: factories['io.flow.internal.v0.models.label_surcharge_single_form'](),
|
|
16303
|
+
fixed_currency_conversion: factories['io.flow.internal.v0.models.label_surcharge_single_form'](),
|
|
16184
16304
|
}); },
|
|
16185
16305
|
'io.flow.internal.v0.models.label_surcharge_single_form': function () { return ({
|
|
16186
16306
|
amount: factories.decimal(),
|
|
@@ -16829,6 +16949,33 @@ var factories = {
|
|
|
16829
16949
|
shopify_order: factories['io.flow.shopify.markets.v0.models.shopify_order'](),
|
|
16830
16950
|
flow_authorization: factories['io.flow.payment.v0.unions.authorization'](),
|
|
16831
16951
|
}); },
|
|
16952
|
+
'io.flow.internal.v0.models.matias_item': function () { return ({
|
|
16953
|
+
id: factories.string(),
|
|
16954
|
+
number: factories.string(),
|
|
16955
|
+
amount: factories['io.flow.common.v0.models.price'](),
|
|
16956
|
+
description: factories.string(),
|
|
16957
|
+
type: factories['io.flow.internal.v0.enums.matias_item_type'](),
|
|
16958
|
+
added_on: factories.date_time_iso_8601(),
|
|
16959
|
+
}); },
|
|
16960
|
+
'io.flow.internal.v0.models.matias_item_deleted': function () { return ({
|
|
16961
|
+
discriminator: 'matias_item_deleted',
|
|
16962
|
+
event_id: factories.string(),
|
|
16963
|
+
timestamp: factories.date_time_iso_8601(),
|
|
16964
|
+
id: factories.string(),
|
|
16965
|
+
}); },
|
|
16966
|
+
'io.flow.internal.v0.models.matias_item_form': function () { return ({
|
|
16967
|
+
number: factories.string(),
|
|
16968
|
+
amount: factories['io.flow.common.v0.models.price'](),
|
|
16969
|
+
description: factories.string(),
|
|
16970
|
+
type: factories['io.flow.internal.v0.enums.matias_item_type'](),
|
|
16971
|
+
added_on: factories.date_time_iso_8601(),
|
|
16972
|
+
}); },
|
|
16973
|
+
'io.flow.internal.v0.models.matias_item_upserted': function () { return ({
|
|
16974
|
+
discriminator: 'matias_item_upserted',
|
|
16975
|
+
event_id: factories.string(),
|
|
16976
|
+
timestamp: factories.date_time_iso_8601(),
|
|
16977
|
+
item: factories['io.flow.internal.v0.models.matias_item'](),
|
|
16978
|
+
}); },
|
|
16832
16979
|
'io.flow.internal.v0.models.merchant': function () { return ({
|
|
16833
16980
|
id: factories.string(),
|
|
16834
16981
|
account: factories['io.flow.internal.v0.models.account_reference'](),
|
|
@@ -16933,6 +17080,10 @@ var factories = {
|
|
|
16933
17080
|
timestamp: factories.date_time_iso_8601(),
|
|
16934
17081
|
merchant: factories['io.flow.internal.v0.models.merchant'](),
|
|
16935
17082
|
}); },
|
|
17083
|
+
'io.flow.internal.v0.models.message_stamp': function () { return ({
|
|
17084
|
+
discriminator: 'message_stamp',
|
|
17085
|
+
message: factories.string(),
|
|
17086
|
+
}); },
|
|
16936
17087
|
'io.flow.internal.v0.models.metadata_proposition': function () { return ({
|
|
16937
17088
|
shipping_method: factories['io.flow.internal.v0.models.shipping_method_reference'](),
|
|
16938
17089
|
name: factories.string(),
|
|
@@ -17241,6 +17392,10 @@ var factories = {
|
|
|
17241
17392
|
organization: factories.string(),
|
|
17242
17393
|
data: factories['io.flow.internal.v0.models.order_rates_data_v3'](),
|
|
17243
17394
|
}); },
|
|
17395
|
+
'io.flow.internal.v0.models.order_reference': function () { return ({
|
|
17396
|
+
organization: factories['io.flow.common.v0.models.organization_reference'](),
|
|
17397
|
+
number: factories.string(),
|
|
17398
|
+
}); },
|
|
17244
17399
|
'io.flow.internal.v0.models.order_revenue_region_chart': function () { return ({
|
|
17245
17400
|
total: factories['io.flow.common.v0.models.price'](),
|
|
17246
17401
|
period: factories['io.flow.common.v0.models.datetime_range'](),
|
|
@@ -17320,6 +17475,15 @@ var factories = {
|
|
|
17320
17475
|
service_id: factories.string(),
|
|
17321
17476
|
status: factories['io.flow.internal.v0.enums.order_validation_status'](),
|
|
17322
17477
|
updated_by_user_id: factories.string(),
|
|
17478
|
+
created_at: factories.date_time_iso_8601(),
|
|
17479
|
+
resolved_at: factories.date_time_iso_8601(),
|
|
17480
|
+
}); },
|
|
17481
|
+
'io.flow.internal.v0.models.order_validation_deleted': function () { return ({
|
|
17482
|
+
discriminator: 'order_validation_deleted',
|
|
17483
|
+
event_id: factories.string(),
|
|
17484
|
+
timestamp: factories.date_time_iso_8601(),
|
|
17485
|
+
organization: factories.string(),
|
|
17486
|
+
id: factories.string(),
|
|
17323
17487
|
}); },
|
|
17324
17488
|
'io.flow.internal.v0.models.order_validation_error': function () { return ({
|
|
17325
17489
|
message: factories.string(),
|
|
@@ -17339,6 +17503,13 @@ var factories = {
|
|
|
17339
17503
|
suggested_responsibility: factories['io.flow.internal.v0.enums.label_request_error_handling_responsibility'](),
|
|
17340
17504
|
errors: arrayOf(function () { return factories.string(); }),
|
|
17341
17505
|
}); },
|
|
17506
|
+
'io.flow.internal.v0.models.order_validation_failure_deleted': function () { return ({
|
|
17507
|
+
discriminator: 'order_validation_failure_deleted',
|
|
17508
|
+
event_id: factories.string(),
|
|
17509
|
+
timestamp: factories.date_time_iso_8601(),
|
|
17510
|
+
organization: factories.string(),
|
|
17511
|
+
id: factories.string(),
|
|
17512
|
+
}); },
|
|
17342
17513
|
'io.flow.internal.v0.models.order_validation_failure_summary': function () { return ({
|
|
17343
17514
|
organization_id: factories.string(),
|
|
17344
17515
|
order_number: factories.string(),
|
|
@@ -17348,6 +17519,20 @@ var factories = {
|
|
|
17348
17519
|
error: factories.string(),
|
|
17349
17520
|
created_at: factories.string(),
|
|
17350
17521
|
}); },
|
|
17522
|
+
'io.flow.internal.v0.models.order_validation_failure_upserted': function () { return ({
|
|
17523
|
+
discriminator: 'order_validation_failure_upserted',
|
|
17524
|
+
event_id: factories.string(),
|
|
17525
|
+
timestamp: factories.date_time_iso_8601(),
|
|
17526
|
+
organization: factories.string(),
|
|
17527
|
+
order_validation_failure: factories['io.flow.internal.v0.models.order_validation_failure'](),
|
|
17528
|
+
}); },
|
|
17529
|
+
'io.flow.internal.v0.models.order_validation_upserted': function () { return ({
|
|
17530
|
+
discriminator: 'order_validation_upserted',
|
|
17531
|
+
event_id: factories.string(),
|
|
17532
|
+
timestamp: factories.date_time_iso_8601(),
|
|
17533
|
+
organization: factories.string(),
|
|
17534
|
+
order_validation: factories['io.flow.internal.v0.models.order_validation'](),
|
|
17535
|
+
}); },
|
|
17351
17536
|
'io.flow.internal.v0.models.organization_account': function () { return ({
|
|
17352
17537
|
organization: factories['io.flow.common.v0.models.organization_reference'](),
|
|
17353
17538
|
id: factories.string(),
|
|
@@ -18011,6 +18196,15 @@ var factories = {
|
|
|
18011
18196
|
transaction: factories['io.flow.internal.v0.models.transaction_reference'](),
|
|
18012
18197
|
statement: factories['io.flow.internal.v0.models.billing_statement_reference'](),
|
|
18013
18198
|
}); },
|
|
18199
|
+
'io.flow.internal.v0.models.pending_order': function () { return ({
|
|
18200
|
+
id: factories.string(),
|
|
18201
|
+
order: factories['io.flow.internal.v0.models.order_summary'](),
|
|
18202
|
+
shopper: factories['io.flow.internal.v0.models.shopper_summary'](),
|
|
18203
|
+
merchant: factories['io.flow.internal.v0.models.merchant_summary'](),
|
|
18204
|
+
remittance: factories['io.flow.internal.v0.models.remittance_responsibility'](),
|
|
18205
|
+
sequence_number: factories.long(),
|
|
18206
|
+
posting_cutoff: factories.date_time_iso_8601(),
|
|
18207
|
+
}); },
|
|
18014
18208
|
'io.flow.internal.v0.models.phrase_classified': function () { return ({
|
|
18015
18209
|
event_id: factories.string(),
|
|
18016
18210
|
timestamp: factories.date_time_iso_8601(),
|
|
@@ -18301,19 +18495,6 @@ var factories = {
|
|
|
18301
18495
|
discriminator: 'shipping_notification',
|
|
18302
18496
|
shipping_notification_id: factories.string(),
|
|
18303
18497
|
}); },
|
|
18304
|
-
'io.flow.internal.v0.models.queued_record': function () { return ({
|
|
18305
|
-
type: factories.string(),
|
|
18306
|
-
type_id: factories.string(),
|
|
18307
|
-
source_type: factories.string(),
|
|
18308
|
-
source_id: factories.string(),
|
|
18309
|
-
environment: factories.string(),
|
|
18310
|
-
created_at: factories.date_time_iso_8601(),
|
|
18311
|
-
num_attempts: factories.integer(),
|
|
18312
|
-
next_attempt_at: factories.date_time_iso_8601(),
|
|
18313
|
-
errors: arrayOf(function () { return factories.string(); }),
|
|
18314
|
-
stacktrace: factories.string(),
|
|
18315
|
-
snooze_id: factories.string(),
|
|
18316
|
-
}); },
|
|
18317
18498
|
'io.flow.internal.v0.models.quote': function () { return ({
|
|
18318
18499
|
id: factories.string(),
|
|
18319
18500
|
base: factories.string(),
|
|
@@ -19191,8 +19372,8 @@ var factories = {
|
|
|
19191
19372
|
id: factories.string(),
|
|
19192
19373
|
order: factories['io.flow.internal.v0.models.order_summary'](),
|
|
19193
19374
|
shopper: factories['io.flow.internal.v0.models.shopper_summary'](),
|
|
19194
|
-
remittance: factories['io.flow.internal.v0.models.remittance_responsibility'](),
|
|
19195
19375
|
merchant: factories['io.flow.internal.v0.models.merchant_summary'](),
|
|
19376
|
+
remittance: factories['io.flow.internal.v0.models.remittance_responsibility'](),
|
|
19196
19377
|
sequence_number: factories.long(),
|
|
19197
19378
|
posting_cutoff: factories.date_time_iso_8601(),
|
|
19198
19379
|
trigger: factories['io.flow.internal.v0.unions.return_trigger'](),
|
|
@@ -20128,6 +20309,10 @@ var factories = {
|
|
|
20128
20309
|
timestamp: factories.date_time_iso_8601(),
|
|
20129
20310
|
attachment: factories['io.flow.internal.v0.models.standalone_attachment'](),
|
|
20130
20311
|
}); },
|
|
20312
|
+
'io.flow.internal.v0.models.statement_creation_metadata': function () { return ({
|
|
20313
|
+
discriminator: 'statement_creation_metadata',
|
|
20314
|
+
period: factories['io.flow.common.v0.models.datetime_range'](),
|
|
20315
|
+
}); },
|
|
20131
20316
|
'io.flow.internal.v0.models.store_connection': function () { return ({
|
|
20132
20317
|
organization: factories['io.flow.common.v0.models.organization_reference'](),
|
|
20133
20318
|
id: factories.string(),
|
|
@@ -20463,6 +20648,19 @@ var factories = {
|
|
|
20463
20648
|
id: factories.string(),
|
|
20464
20649
|
data: factories['io.flow.internal.v0.unions.tariff_eligibility_data'](),
|
|
20465
20650
|
}); },
|
|
20651
|
+
'io.flow.internal.v0.models.task': function () { return ({
|
|
20652
|
+
type: factories.string(),
|
|
20653
|
+
type_id: factories.string(),
|
|
20654
|
+
source_type: factories.string(),
|
|
20655
|
+
source_id: factories.string(),
|
|
20656
|
+
environment: factories.string(),
|
|
20657
|
+
created_at: factories.date_time_iso_8601(),
|
|
20658
|
+
num_attempts: factories.integer(),
|
|
20659
|
+
next_attempt_at: factories.date_time_iso_8601(),
|
|
20660
|
+
errors: arrayOf(function () { return factories.string(); }),
|
|
20661
|
+
stacktrace: factories.string(),
|
|
20662
|
+
snooze_id: factories.string(),
|
|
20663
|
+
}); },
|
|
20466
20664
|
'io.flow.internal.v0.models.task_count': function () { return ({
|
|
20467
20665
|
discriminator: factories.string(),
|
|
20468
20666
|
count: factories.long(),
|
|
@@ -20723,6 +20921,28 @@ var factories = {
|
|
|
20723
20921
|
organization: factories.string(),
|
|
20724
20922
|
tracking_label: factories['io.flow.internal.v0.models.export_tracking_label'](),
|
|
20725
20923
|
}); },
|
|
20924
|
+
'io.flow.internal.v0.models.tracking_processing_error': function () { return ({
|
|
20925
|
+
id: factories.string(),
|
|
20926
|
+
aftership_webhook_id: factories.string(),
|
|
20927
|
+
carrier_id: factories.string(),
|
|
20928
|
+
carrier_tracking_number: factories.string(),
|
|
20929
|
+
organization_id: factories.string(),
|
|
20930
|
+
tracking_label_id: factories.string(),
|
|
20931
|
+
errors: arrayOf(function () { return factories.string(); }),
|
|
20932
|
+
failure_classification: factories['io.flow.internal.v0.enums.tracking_processing_failure_classification'](),
|
|
20933
|
+
}); },
|
|
20934
|
+
'io.flow.internal.v0.models.tracking_processing_error_deleted': function () { return ({
|
|
20935
|
+
discriminator: 'tracking_processing_error_deleted',
|
|
20936
|
+
event_id: factories.string(),
|
|
20937
|
+
timestamp: factories.date_time_iso_8601(),
|
|
20938
|
+
id: factories.string(),
|
|
20939
|
+
}); },
|
|
20940
|
+
'io.flow.internal.v0.models.tracking_processing_error_upserted': function () { return ({
|
|
20941
|
+
discriminator: 'tracking_processing_error_upserted',
|
|
20942
|
+
event_id: factories.string(),
|
|
20943
|
+
timestamp: factories.date_time_iso_8601(),
|
|
20944
|
+
tracking_processing_error: factories['io.flow.internal.v0.models.tracking_processing_error'](),
|
|
20945
|
+
}); },
|
|
20726
20946
|
'io.flow.internal.v0.models.tracking_request': function () { return ({
|
|
20727
20947
|
carrier: factories.string(),
|
|
20728
20948
|
carrier_tracking_number: factories.string(),
|
|
@@ -21105,6 +21325,13 @@ var factories = {
|
|
|
21105
21325
|
]);
|
|
21106
21326
|
return f();
|
|
21107
21327
|
},
|
|
21328
|
+
'io.flow.internal.v0.unions.calculator_stamp': function () {
|
|
21329
|
+
var f = faker.helpers.arrayElement([
|
|
21330
|
+
function () { return factories['io.flow.internal.v0.models.message_stamp'](); },
|
|
21331
|
+
function () { return factories['io.flow.internal.v0.models.calculation_step'](); },
|
|
21332
|
+
]);
|
|
21333
|
+
return f();
|
|
21334
|
+
},
|
|
21108
21335
|
'io.flow.internal.v0.unions.carrier_charge_form': function () {
|
|
21109
21336
|
var f = faker.helpers.arrayElement([
|
|
21110
21337
|
function () { return factories['io.flow.internal.v0.models.carrier_charge_form_label'](); },
|
|
@@ -21895,6 +22122,8 @@ var factories = {
|
|
|
21895
22122
|
function () { return factories['io.flow.internal.v0.models.adyen_refund_upserted'](); },
|
|
21896
22123
|
function () { return factories['io.flow.internal.v0.models.index_assignment_upserted'](); },
|
|
21897
22124
|
function () { return factories['io.flow.internal.v0.models.index_assignment_deleted'](); },
|
|
22125
|
+
function () { return factories['io.flow.internal.v0.models.fulfillment_upserted'](); },
|
|
22126
|
+
function () { return factories['io.flow.internal.v0.models.fulfillment_deleted'](); },
|
|
21898
22127
|
function () { return factories['io.flow.internal.v0.models.merchant_upserted'](); },
|
|
21899
22128
|
function () { return factories['io.flow.internal.v0.models.merchant_deleted'](); },
|
|
21900
22129
|
function () { return factories['io.flow.internal.v0.models.account_upserted'](); },
|
|
@@ -22029,10 +22258,6 @@ var factories = {
|
|
|
22029
22258
|
function () { return factories['io.flow.internal.v0.models.billing_organization_processing_rates_deleted'](); },
|
|
22030
22259
|
function () { return factories['io.flow.internal.v0.models.billing_organization_settings_upserted'](); },
|
|
22031
22260
|
function () { return factories['io.flow.internal.v0.models.billing_organization_settings_deleted'](); },
|
|
22032
|
-
function () { return factories['io.flow.internal.v0.models.billing_statement_batch_upserted'](); },
|
|
22033
|
-
function () { return factories['io.flow.internal.v0.models.billing_statement_batch_deleted'](); },
|
|
22034
|
-
function () { return factories['io.flow.internal.v0.models.billing_statement_batch_statement_upserted'](); },
|
|
22035
|
-
function () { return factories['io.flow.internal.v0.models.billing_statement_batch_statement_deleted'](); },
|
|
22036
22261
|
function () { return factories['io.flow.internal.v0.models.standalone_attachment_upserted'](); },
|
|
22037
22262
|
function () { return factories['io.flow.internal.v0.models.standalone_attachment_deleted'](); },
|
|
22038
22263
|
function () { return factories['io.flow.internal.v0.models.platform_fee_change_upserted'](); },
|
|
@@ -22093,6 +22318,10 @@ var factories = {
|
|
|
22093
22318
|
function () { return factories['io.flow.internal.v0.models.item_form_import_request'](); },
|
|
22094
22319
|
function () { return factories['io.flow.internal.v0.models.label_request_error_upserted'](); },
|
|
22095
22320
|
function () { return factories['io.flow.internal.v0.models.label_request_error_deleted'](); },
|
|
22321
|
+
function () { return factories['io.flow.internal.v0.models.order_validation_failure_upserted'](); },
|
|
22322
|
+
function () { return factories['io.flow.internal.v0.models.order_validation_failure_deleted'](); },
|
|
22323
|
+
function () { return factories['io.flow.internal.v0.models.order_validation_upserted'](); },
|
|
22324
|
+
function () { return factories['io.flow.internal.v0.models.order_validation_deleted'](); },
|
|
22096
22325
|
function () { return factories['io.flow.internal.v0.models.label_tracking_summary_upserted'](); },
|
|
22097
22326
|
function () { return factories['io.flow.internal.v0.models.label_tracking_summary_deleted'](); },
|
|
22098
22327
|
function () { return factories['io.flow.internal.v0.models.localized_item_upserted_v2'](); },
|
|
@@ -22219,10 +22448,14 @@ var factories = {
|
|
|
22219
22448
|
function () { return factories['io.flow.internal.v0.models.svitlana_item_deleted'](); },
|
|
22220
22449
|
function () { return factories['io.flow.internal.v0.models.colm_item_upserted'](); },
|
|
22221
22450
|
function () { return factories['io.flow.internal.v0.models.colm_item_deleted'](); },
|
|
22451
|
+
function () { return factories['io.flow.internal.v0.models.matias_item_upserted'](); },
|
|
22452
|
+
function () { return factories['io.flow.internal.v0.models.matias_item_deleted'](); },
|
|
22222
22453
|
function () { return factories['io.flow.internal.v0.models.shruti_demo_item_upserted'](); },
|
|
22223
22454
|
function () { return factories['io.flow.internal.v0.models.shruti_demo_item_deleted'](); },
|
|
22224
22455
|
function () { return factories['io.flow.internal.v0.models.tam_item_upserted'](); },
|
|
22225
22456
|
function () { return factories['io.flow.internal.v0.models.tam_item_deleted'](); },
|
|
22457
|
+
function () { return factories['io.flow.internal.v0.models.tracking_processing_error_upserted'](); },
|
|
22458
|
+
function () { return factories['io.flow.internal.v0.models.tracking_processing_error_deleted'](); },
|
|
22226
22459
|
function () { return factories['io.flow.internal.v0.models.tracking_label_event_upserted_v2'](); },
|
|
22227
22460
|
function () { return factories['io.flow.internal.v0.models.tracking_label_event_deleted_v2'](); },
|
|
22228
22461
|
function () { return factories['io.flow.internal.v0.models.tracking_label_upserted'](); },
|
|
@@ -22683,6 +22916,13 @@ var factories = {
|
|
|
22683
22916
|
]);
|
|
22684
22917
|
return f();
|
|
22685
22918
|
},
|
|
22919
|
+
'io.flow.internal.v0.unions.task_metadata': function () {
|
|
22920
|
+
var f = faker.helpers.arrayElement([
|
|
22921
|
+
function () { return factories['io.flow.internal.v0.models.statement_creation_metadata'](); },
|
|
22922
|
+
function () { return factories['io.flow.internal.v0.models.accounting_fulfillment_metadata'](); },
|
|
22923
|
+
]);
|
|
22924
|
+
return f();
|
|
22925
|
+
},
|
|
22686
22926
|
'io.flow.internal.v0.unions.tax_amount': function () {
|
|
22687
22927
|
var f = faker.helpers.arrayElement([
|
|
22688
22928
|
function () { return factories['io.flow.internal.v0.models.calculated_tax_amount'](); },
|
|
@@ -22967,7 +23207,12 @@ var factories = {
|
|
|
22967
23207
|
'autogenerated',
|
|
22968
23208
|
]); },
|
|
22969
23209
|
'io.flow.label.v0.enums.label_trigger_method': function () { return faker.helpers.arrayElement(['autogenerated', 'on_demand']); },
|
|
22970
|
-
'io.flow.label.v0.enums.package_dimensions_source': function () { return faker.helpers.arrayElement([
|
|
23210
|
+
'io.flow.label.v0.enums.package_dimensions_source': function () { return faker.helpers.arrayElement([
|
|
23211
|
+
'provided',
|
|
23212
|
+
'item_dimensions_estimated',
|
|
23213
|
+
'dimensions_estimated',
|
|
23214
|
+
'default_item_dimensions_estimated',
|
|
23215
|
+
]); },
|
|
22971
23216
|
'io.flow.label.v0.enums.shipment_recipient': function () { return faker.helpers.arrayElement(['customer', 'return', 'crossdock']); },
|
|
22972
23217
|
'io.flow.label.v0.enums.tracking_number_type': function () { return faker.helpers.arrayElement(['flow', 'carrier']); },
|
|
22973
23218
|
'io.flow.label.v0.models.additional_services_requested': function () { return ({
|
|
@@ -23546,6 +23791,7 @@ var factories = {
|
|
|
23546
23791
|
base: factories['io.flow.common.v0.models.price'](),
|
|
23547
23792
|
name: factories.string(),
|
|
23548
23793
|
}); },
|
|
23794
|
+
'io.flow.organization.onboarding.state.v0.enums.merchant_disabled_reason': function () { return faker.helpers.arrayElement(['merchant_deactivated', 'merchant_rejected']); },
|
|
23549
23795
|
'io.flow.organization.onboarding.state.v0.enums.merchant_rejected_reason': function () { return faker.helpers.arrayElement([
|
|
23550
23796
|
'merchant_ubo_is_pep',
|
|
23551
23797
|
'merchant_catalog_is_unsupportable',
|
|
@@ -23557,6 +23803,7 @@ var factories = {
|
|
|
23557
23803
|
'business_street_address_is_blank',
|
|
23558
23804
|
'business_street_address_is_po_box',
|
|
23559
23805
|
'exception_merchant',
|
|
23806
|
+
'application_missing',
|
|
23560
23807
|
]); },
|
|
23561
23808
|
'io.flow.organization.onboarding.state.v0.models.activation_put_form': function () { return ({
|
|
23562
23809
|
placeholder: factories.boolean(),
|
|
@@ -23576,6 +23823,10 @@ var factories = {
|
|
|
23576
23823
|
discriminator: 'merchant_deactivated',
|
|
23577
23824
|
reason: factories.string(),
|
|
23578
23825
|
}); },
|
|
23826
|
+
'io.flow.organization.onboarding.state.v0.models.merchant_disabled': function () { return ({
|
|
23827
|
+
discriminator: 'merchant_disabled',
|
|
23828
|
+
reason: factories['io.flow.organization.onboarding.state.v0.enums.merchant_disabled_reason'](),
|
|
23829
|
+
}); },
|
|
23579
23830
|
'io.flow.organization.onboarding.state.v0.models.merchant_rejected': function () { return ({
|
|
23580
23831
|
discriminator: 'merchant_rejected',
|
|
23581
23832
|
reason: factories['io.flow.organization.onboarding.state.v0.enums.merchant_rejected_reason'](),
|
|
@@ -23620,6 +23871,7 @@ var factories = {
|
|
|
23620
23871
|
function () { return factories['io.flow.organization.onboarding.state.v0.models.setup_completed'](); },
|
|
23621
23872
|
function () { return factories['io.flow.organization.onboarding.state.v0.models.merchant_activated'](); },
|
|
23622
23873
|
function () { return factories['io.flow.organization.onboarding.state.v0.models.merchant_deactivated'](); },
|
|
23874
|
+
function () { return factories['io.flow.organization.onboarding.state.v0.models.merchant_disabled'](); },
|
|
23623
23875
|
]);
|
|
23624
23876
|
return f();
|
|
23625
23877
|
},
|
|
@@ -26520,6 +26772,7 @@ var factories = {
|
|
|
26520
26772
|
'organization_fulfillment',
|
|
26521
26773
|
'organization_marketing',
|
|
26522
26774
|
'organization_finance',
|
|
26775
|
+
'organization_classification',
|
|
26523
26776
|
'flow_operations',
|
|
26524
26777
|
'channel_admin',
|
|
26525
26778
|
'channel_organization_admin',
|
|
@@ -26829,6 +27082,16 @@ var factories = {
|
|
|
26829
27082
|
]);
|
|
26830
27083
|
return f();
|
|
26831
27084
|
},
|
|
27085
|
+
'io.flow.ratecard.v0.models.additional_handling_service_fee': function () { return ({
|
|
27086
|
+
discriminator: 'additional_handling_service_fee',
|
|
27087
|
+
length_girth_threshold: factories.decimal(),
|
|
27088
|
+
length_threshold: factories.decimal(),
|
|
27089
|
+
width_threshold: factories.decimal(),
|
|
27090
|
+
dimensional_unit: factories['io.flow.common.v0.enums.unit_of_measurement'](),
|
|
27091
|
+
weight_threshold: factories.decimal(),
|
|
27092
|
+
weight_unit: factories['io.flow.common.v0.enums.unit_of_measurement'](),
|
|
27093
|
+
amount: factories['io.flow.common.v0.models.money'](),
|
|
27094
|
+
}); },
|
|
26832
27095
|
'io.flow.ratecard.v0.models.crossdock_ratecard_fee': function () { return ({
|
|
26833
27096
|
discriminator: 'crossdock_ratecard_fee',
|
|
26834
27097
|
amount: factories['io.flow.common.v0.models.money'](),
|
|
@@ -26866,6 +27129,15 @@ var factories = {
|
|
|
26866
27129
|
starts_at: factories.date_time_iso_8601(),
|
|
26867
27130
|
ends_at: factories.date_time_iso_8601(),
|
|
26868
27131
|
}); },
|
|
27132
|
+
'io.flow.ratecard.v0.models.eei_filing_ratecard_fee': function () { return ({
|
|
27133
|
+
discriminator: 'eei_filing_ratecard_fee',
|
|
27134
|
+
amount: factories['io.flow.common.v0.models.money'](),
|
|
27135
|
+
}); },
|
|
27136
|
+
'io.flow.ratecard.v0.models.eei_filing_service_fee': function () { return ({
|
|
27137
|
+
discriminator: 'eei_filing_service_fee',
|
|
27138
|
+
amount: factories['io.flow.common.v0.models.money'](),
|
|
27139
|
+
value_threshold: factories['io.flow.common.v0.models.money'](),
|
|
27140
|
+
}); },
|
|
26869
27141
|
'io.flow.ratecard.v0.models.emergency_situation_surcharge_ratecard_fee': function () { return ({
|
|
26870
27142
|
discriminator: 'emergency_situation_surcharge_ratecard_fee',
|
|
26871
27143
|
amount: factories['io.flow.common.v0.models.money'](),
|
|
@@ -26887,6 +27159,26 @@ var factories = {
|
|
|
26887
27159
|
weight: factories.decimal(),
|
|
26888
27160
|
unit: factories['io.flow.common.v0.enums.unit_of_measurement'](),
|
|
26889
27161
|
}); },
|
|
27162
|
+
'io.flow.ratecard.v0.models.fixed_currency_conversion_ratecard_fee': function () { return ({
|
|
27163
|
+
discriminator: 'fixed_currency_conversion_ratecard_fee',
|
|
27164
|
+
amount: factories['io.flow.common.v0.models.money'](),
|
|
27165
|
+
}); },
|
|
27166
|
+
'io.flow.ratecard.v0.models.fixed_currency_conversion_service_fee': function () { return ({
|
|
27167
|
+
discriminator: 'fixed_currency_conversion_service_fee',
|
|
27168
|
+
conditions: arrayOf(function () { return factories['io.flow.ratecard.v0.models.fixed_fee_condition'](); }),
|
|
27169
|
+
}); },
|
|
27170
|
+
'io.flow.ratecard.v0.models.fixed_ddp_ratecard_fee': function () { return ({
|
|
27171
|
+
discriminator: 'fixed_ddp_ratecard_fee',
|
|
27172
|
+
amount: factories['io.flow.common.v0.models.money'](),
|
|
27173
|
+
}); },
|
|
27174
|
+
'io.flow.ratecard.v0.models.fixed_ddp_service_fee': function () { return ({
|
|
27175
|
+
discriminator: 'fixed_ddp_service_fee',
|
|
27176
|
+
conditions: arrayOf(function () { return factories['io.flow.ratecard.v0.models.fixed_fee_condition'](); }),
|
|
27177
|
+
}); },
|
|
27178
|
+
'io.flow.ratecard.v0.models.fixed_fee_condition': function () { return ({
|
|
27179
|
+
countries: arrayOf(function () { return factories.string(); }),
|
|
27180
|
+
amount: factories['io.flow.common.v0.models.money'](),
|
|
27181
|
+
}); },
|
|
26890
27182
|
'io.flow.ratecard.v0.models.fuel_surcharge_amount_by_weight_service_fee': function () { return ({
|
|
26891
27183
|
discriminator: 'fuel_surcharge_amount_by_weight_service_fee',
|
|
26892
27184
|
amount: factories['io.flow.common.v0.models.money'](),
|
|
@@ -26947,6 +27239,14 @@ var factories = {
|
|
|
26947
27239
|
id: factories.string(),
|
|
26948
27240
|
ratecard: factories['io.flow.ratecard.v0.models.ratecard_summary'](),
|
|
26949
27241
|
}); },
|
|
27242
|
+
'io.flow.ratecard.v0.models.large_package_service_fee': function () { return ({
|
|
27243
|
+
discriminator: 'large_package_service_fee',
|
|
27244
|
+
length_girth_threshold: factories.decimal(),
|
|
27245
|
+
dimensional_unit: factories['io.flow.common.v0.enums.unit_of_measurement'](),
|
|
27246
|
+
weight_threshold: factories.decimal(),
|
|
27247
|
+
weight_unit: factories['io.flow.common.v0.enums.unit_of_measurement'](),
|
|
27248
|
+
amount: factories['io.flow.common.v0.models.money'](),
|
|
27249
|
+
}); },
|
|
26950
27250
|
'io.flow.ratecard.v0.models.oversize_piece_surcharge_ratecard_fee': function () { return ({
|
|
26951
27251
|
discriminator: 'oversize_piece_surcharge_ratecard_fee',
|
|
26952
27252
|
dimensional_threshold: factories.decimal(),
|
|
@@ -27171,6 +27471,11 @@ var factories = {
|
|
|
27171
27471
|
type: factories['io.flow.common.v0.enums.change_type'](),
|
|
27172
27472
|
ratecard: factories['io.flow.ratecard.v0.models.ratecard'](),
|
|
27173
27473
|
}); },
|
|
27474
|
+
'io.flow.ratecard.v0.models.remote_area_by_weight_service_fee': function () { return ({
|
|
27475
|
+
discriminator: 'remote_area_by_weight_service_fee',
|
|
27476
|
+
amount: factories['io.flow.common.v0.models.money'](),
|
|
27477
|
+
weight_unit: factories['io.flow.common.v0.enums.unit_of_measurement'](),
|
|
27478
|
+
}); },
|
|
27174
27479
|
'io.flow.ratecard.v0.models.remote_area_ratecard_fee': function () { return ({
|
|
27175
27480
|
discriminator: 'remote_area_ratecard_fee',
|
|
27176
27481
|
amount: factories['io.flow.common.v0.models.money'](),
|
|
@@ -27183,6 +27488,15 @@ var factories = {
|
|
|
27183
27488
|
discriminator: 'return_package_ratecard_fee',
|
|
27184
27489
|
amount: factories.decimal(),
|
|
27185
27490
|
}); },
|
|
27491
|
+
'io.flow.ratecard.v0.models.security_ratecard_fee': function () { return ({
|
|
27492
|
+
discriminator: 'security_ratecard_fee',
|
|
27493
|
+
amount: factories['io.flow.common.v0.models.money'](),
|
|
27494
|
+
}); },
|
|
27495
|
+
'io.flow.ratecard.v0.models.security_service_fee': function () { return ({
|
|
27496
|
+
discriminator: 'security_service_fee',
|
|
27497
|
+
amount: factories['io.flow.common.v0.models.money'](),
|
|
27498
|
+
countries: arrayOf(function () { return factories.string(); }),
|
|
27499
|
+
}); },
|
|
27186
27500
|
'io.flow.ratecard.v0.models.shipment_window': function () { return ({
|
|
27187
27501
|
from: factories.long(),
|
|
27188
27502
|
to: factories.long(),
|
|
@@ -27214,6 +27528,10 @@ var factories = {
|
|
|
27214
27528
|
function () { return factories['io.flow.ratecard.v0.models.emergency_situation_surcharge_ratecard_fee'](); },
|
|
27215
27529
|
function () { return factories['io.flow.ratecard.v0.models.peak_surcharge_ratecard_fee'](); },
|
|
27216
27530
|
function () { return factories['io.flow.ratecard.v0.models.duties_taxes_paid_surcharge_ratecard_fee'](); },
|
|
27531
|
+
function () { return factories['io.flow.ratecard.v0.models.security_ratecard_fee'](); },
|
|
27532
|
+
function () { return factories['io.flow.ratecard.v0.models.eei_filing_ratecard_fee'](); },
|
|
27533
|
+
function () { return factories['io.flow.ratecard.v0.models.fixed_ddp_ratecard_fee'](); },
|
|
27534
|
+
function () { return factories['io.flow.ratecard.v0.models.fixed_currency_conversion_ratecard_fee'](); },
|
|
27217
27535
|
]);
|
|
27218
27536
|
return f();
|
|
27219
27537
|
},
|
|
@@ -27227,6 +27545,13 @@ var factories = {
|
|
|
27227
27545
|
function () { return factories['io.flow.ratecard.v0.models.peak_surcharge_by_weight_service_fee'](); },
|
|
27228
27546
|
function () { return factories['io.flow.ratecard.v0.models.duties_taxes_paid_surcharge_service_fee'](); },
|
|
27229
27547
|
function () { return factories['io.flow.ratecard.v0.models.oversize_piece_surcharge_service_fee'](); },
|
|
27548
|
+
function () { return factories['io.flow.ratecard.v0.models.remote_area_by_weight_service_fee'](); },
|
|
27549
|
+
function () { return factories['io.flow.ratecard.v0.models.additional_handling_service_fee'](); },
|
|
27550
|
+
function () { return factories['io.flow.ratecard.v0.models.large_package_service_fee'](); },
|
|
27551
|
+
function () { return factories['io.flow.ratecard.v0.models.security_service_fee'](); },
|
|
27552
|
+
function () { return factories['io.flow.ratecard.v0.models.fixed_ddp_service_fee'](); },
|
|
27553
|
+
function () { return factories['io.flow.ratecard.v0.models.fixed_currency_conversion_service_fee'](); },
|
|
27554
|
+
function () { return factories['io.flow.ratecard.v0.models.eei_filing_service_fee'](); },
|
|
27230
27555
|
]);
|
|
27231
27556
|
return f();
|
|
27232
27557
|
},
|
|
@@ -30031,7 +30356,7 @@ var factories = {
|
|
|
30031
30356
|
'succeeded',
|
|
30032
30357
|
]); },
|
|
30033
30358
|
'io.flow.stripe.v0.enums.payment_method_category_klarna': function () { return faker.helpers.arrayElement(['pay_later', 'pay_now', 'pay_with_financing', 'pay_in_installments']); },
|
|
30034
|
-
'io.flow.stripe.v0.enums.payment_method_type': function () { return faker.helpers.arrayElement(['card', 'card_present']); },
|
|
30359
|
+
'io.flow.stripe.v0.enums.payment_method_type': function () { return faker.helpers.arrayElement(['card', 'card_present', 'klarna']); },
|
|
30035
30360
|
'io.flow.stripe.v0.enums.payment_outcome_type': function () { return faker.helpers.arrayElement(['authorized', 'manual_review', 'issuer_declined', 'blocked', 'invalid']); },
|
|
30036
30361
|
'io.flow.stripe.v0.enums.payment_status': function () { return faker.helpers.arrayElement(['succeeded', 'pending', 'failed']); },
|
|
30037
30362
|
'io.flow.stripe.v0.enums.preferred_locale_klarna': function () { return faker.helpers.arrayElement([
|
|
@@ -30348,6 +30673,11 @@ var factories = {
|
|
|
30348
30673
|
'io.flow.stripe.v0.models.klarna_attachment': function () { return ({
|
|
30349
30674
|
marketplace_seller_info: arrayOf(function () { return factories['io.flow.stripe.v0.models.klarna_marketplace_seller_info'](); }),
|
|
30350
30675
|
}); },
|
|
30676
|
+
'io.flow.stripe.v0.models.klarna_dob_form': function () { return ({
|
|
30677
|
+
day: factories.integer(),
|
|
30678
|
+
month: factories.integer(),
|
|
30679
|
+
year: factories.integer(),
|
|
30680
|
+
}); },
|
|
30351
30681
|
'io.flow.stripe.v0.models.klarna_marketplace_seller_info': function () { return ({
|
|
30352
30682
|
sub_merchant_id: factories.string(),
|
|
30353
30683
|
product_category: factories.string(),
|
|
@@ -30355,6 +30685,11 @@ var factories = {
|
|
|
30355
30685
|
'io.flow.stripe.v0.models.legal_entity': function () { return ({
|
|
30356
30686
|
additional_owners: arrayOf(function () { return factories['io.flow.stripe.v0.models.owner'](); }),
|
|
30357
30687
|
}); },
|
|
30688
|
+
'io.flow.stripe.v0.models.marketplace_seller_info': function () { return ({
|
|
30689
|
+
name: factories.string(),
|
|
30690
|
+
id: factories.string(),
|
|
30691
|
+
product_category: factories.string(),
|
|
30692
|
+
}); },
|
|
30358
30693
|
'io.flow.stripe.v0.models.masterpass': function () { return ({
|
|
30359
30694
|
type: 'masterpass',
|
|
30360
30695
|
masterpass: factories['io.flow.stripe.v0.models.masterpass_information'](),
|
|
@@ -30431,6 +30766,9 @@ var factories = {
|
|
|
30431
30766
|
verified_name: factories.string(),
|
|
30432
30767
|
verified_phone: factories.string(),
|
|
30433
30768
|
}); },
|
|
30769
|
+
'io.flow.stripe.v0.models.payment_details': function () { return ({
|
|
30770
|
+
marketplace_seller_info: factories['io.flow.stripe.v0.models.marketplace_seller_info'](),
|
|
30771
|
+
}); },
|
|
30434
30772
|
'io.flow.stripe.v0.models.payment_intent': function () { return ({
|
|
30435
30773
|
id: factories.string(),
|
|
30436
30774
|
object: factories.string(),
|
|
@@ -30547,6 +30885,7 @@ var factories = {
|
|
|
30547
30885
|
billing_details: factories['io.flow.stripe.v0.models.payment_method_billing_details'](),
|
|
30548
30886
|
card: factories['io.flow.stripe.v0.models.payment_method_card_details'](),
|
|
30549
30887
|
card_present: factories.object(),
|
|
30888
|
+
klarna: factories.object(),
|
|
30550
30889
|
created: factories.long(),
|
|
30551
30890
|
customer: factories.string(),
|
|
30552
30891
|
livemode: factories.boolean(),
|
|
@@ -30582,6 +30921,12 @@ var factories = {
|
|
|
30582
30921
|
metadata: factories.object(),
|
|
30583
30922
|
card: factories['io.flow.stripe.v0.models.payment_method_card_form'](),
|
|
30584
30923
|
}); },
|
|
30924
|
+
'io.flow.stripe.v0.models.payment_method_data_klarna': function () { return ({
|
|
30925
|
+
type: 'klarna',
|
|
30926
|
+
billing_details: factories['io.flow.stripe.v0.models.payment_method_billing_details'](),
|
|
30927
|
+
metadata: factories.object(),
|
|
30928
|
+
klarna: factories['io.flow.stripe.v0.models.payment_method_klarna_form'](),
|
|
30929
|
+
}); },
|
|
30585
30930
|
'io.flow.stripe.v0.models.payment_method_details_card': function () { return ({
|
|
30586
30931
|
type: 'card',
|
|
30587
30932
|
card: factories['io.flow.stripe.v0.models.payment_method_details_card_information'](),
|
|
@@ -30625,8 +30970,18 @@ var factories = {
|
|
|
30625
30970
|
metadata: factories.object(),
|
|
30626
30971
|
card: factories['io.flow.stripe.v0.models.payment_method_card_form'](),
|
|
30627
30972
|
}); },
|
|
30973
|
+
'io.flow.stripe.v0.models.payment_method_form_klarna': function () { return ({
|
|
30974
|
+
type: 'klarna',
|
|
30975
|
+
billing_details: factories['io.flow.stripe.v0.models.payment_method_billing_details'](),
|
|
30976
|
+
metadata: factories.object(),
|
|
30977
|
+
klarna: factories['io.flow.stripe.v0.models.payment_method_klarna_form'](),
|
|
30978
|
+
}); },
|
|
30979
|
+
'io.flow.stripe.v0.models.payment_method_klarna_form': function () { return ({
|
|
30980
|
+
dob: factories['io.flow.stripe.v0.models.klarna_dob_form'](),
|
|
30981
|
+
}); },
|
|
30628
30982
|
'io.flow.stripe.v0.models.payment_method_options': function () { return ({
|
|
30629
30983
|
card: factories['io.flow.stripe.v0.models.payment_method_options_card'](),
|
|
30984
|
+
klarna: factories['io.flow.stripe.v0.models.payment_method_options_klarna'](),
|
|
30630
30985
|
}); },
|
|
30631
30986
|
'io.flow.stripe.v0.models.payment_method_options_card': function () { return ({
|
|
30632
30987
|
network: factories.string(),
|
|
@@ -30643,6 +30998,19 @@ var factories = {
|
|
|
30643
30998
|
}); },
|
|
30644
30999
|
'io.flow.stripe.v0.models.payment_method_options_form': function () { return ({
|
|
30645
31000
|
card: factories['io.flow.stripe.v0.models.payment_method_options_card_form'](),
|
|
31001
|
+
klarna: factories['io.flow.stripe.v0.models.payment_method_options_klarna_form'](),
|
|
31002
|
+
}); },
|
|
31003
|
+
'io.flow.stripe.v0.models.payment_method_options_klarna': function () { return ({
|
|
31004
|
+
capture_method: factories['io.flow.stripe.v0.enums.capture_method'](),
|
|
31005
|
+
preferred_locale: factories['io.flow.stripe.v0.enums.preferred_locale_klarna'](),
|
|
31006
|
+
setup_future_usage: factories['io.flow.stripe.v0.enums.setup_future_usage'](),
|
|
31007
|
+
payment_details: factories['io.flow.stripe.v0.models.payment_details'](),
|
|
31008
|
+
}); },
|
|
31009
|
+
'io.flow.stripe.v0.models.payment_method_options_klarna_form': function () { return ({
|
|
31010
|
+
capture_method: factories['io.flow.stripe.v0.enums.capture_method'](),
|
|
31011
|
+
preferred_locale: factories['io.flow.stripe.v0.enums.preferred_locale_klarna'](),
|
|
31012
|
+
setup_future_usage: factories['io.flow.stripe.v0.enums.setup_future_usage'](),
|
|
31013
|
+
payment_details: factories['io.flow.stripe.v0.models.payment_details'](),
|
|
30646
31014
|
}); },
|
|
30647
31015
|
'io.flow.stripe.v0.models.payment_outcome': function () { return ({
|
|
30648
31016
|
network_status: factories['io.flow.stripe.v0.enums.network_status'](),
|
|
@@ -30914,7 +31282,10 @@ var factories = {
|
|
|
30914
31282
|
return f();
|
|
30915
31283
|
},
|
|
30916
31284
|
'io.flow.stripe.v0.unions.payment_method_data': function () {
|
|
30917
|
-
var f = faker.helpers.arrayElement([
|
|
31285
|
+
var f = faker.helpers.arrayElement([
|
|
31286
|
+
function () { return factories['io.flow.stripe.v0.models.payment_method_data_card'](); },
|
|
31287
|
+
function () { return factories['io.flow.stripe.v0.models.payment_method_data_klarna'](); },
|
|
31288
|
+
]);
|
|
30918
31289
|
return f();
|
|
30919
31290
|
},
|
|
30920
31291
|
'io.flow.stripe.v0.unions.payment_method_details': function () {
|
|
@@ -30925,7 +31296,10 @@ var factories = {
|
|
|
30925
31296
|
return f();
|
|
30926
31297
|
},
|
|
30927
31298
|
'io.flow.stripe.v0.unions.payment_method_form': function () {
|
|
30928
|
-
var f = faker.helpers.arrayElement([
|
|
31299
|
+
var f = faker.helpers.arrayElement([
|
|
31300
|
+
function () { return factories['io.flow.stripe.v0.models.payment_method_form_card'](); },
|
|
31301
|
+
function () { return factories['io.flow.stripe.v0.models.payment_method_form_klarna'](); },
|
|
31302
|
+
]);
|
|
30929
31303
|
return f();
|
|
30930
31304
|
},
|
|
30931
31305
|
'io.flow.svb.v0.enums.clearing_type': function () { return faker.helpers.arrayElement(['Credit', 'Debit']); },
|
|
@@ -31332,6 +31706,10 @@ var factories = {
|
|
|
31332
31706
|
'emergency',
|
|
31333
31707
|
'peak',
|
|
31334
31708
|
'address_correction',
|
|
31709
|
+
'security',
|
|
31710
|
+
'eei_filing',
|
|
31711
|
+
'fixed_ddp',
|
|
31712
|
+
'fixed_currency_conversion',
|
|
31335
31713
|
]); },
|
|
31336
31714
|
'io.flow.trueup.v0.models.dead_weight': function () { return ({
|
|
31337
31715
|
weight: factories.decimal(),
|
|
@@ -31390,6 +31768,9 @@ export var makeAccountDepositRule = function () { return factories['io.flow.inte
|
|
|
31390
31768
|
export var makeAccountDepositRuleForm = function () { return factories['io.flow.internal.v0.models.account_deposit_rule_form'](); };
|
|
31391
31769
|
export var makeAccountOrdersExportRequest = function () { return factories['io.flow.internal.v0.models.account_orders_export_request'](); };
|
|
31392
31770
|
export var makeAccountOrigin = function () { return factories['io.flow.internal.v0.models.account_origin'](); };
|
|
31771
|
+
export var makeAccountPaymentHold = function () { return factories['io.flow.internal.v0.models.account_payment_hold'](); };
|
|
31772
|
+
export var makeAccountPaymentHoldForm = function () { return factories['io.flow.internal.v0.models.account_payment_hold_form'](); };
|
|
31773
|
+
export var makeAccountPaymentHoldReason = function () { return factories['io.flow.internal.v0.enums.account_payment_hold_reason'](); };
|
|
31393
31774
|
export var makeAccountProcessingRateForm = function () { return factories['io.flow.internal.v0.models.account_processing_rate_form'](); };
|
|
31394
31775
|
export var makeAccountProcessingRates = function () { return factories['io.flow.internal.v0.models.account_processing_rates'](); };
|
|
31395
31776
|
export var makeAccountProcessingRatesDeleted = function () { return factories['io.flow.internal.v0.models.account_processing_rates_deleted'](); };
|
|
@@ -31408,7 +31789,9 @@ export var makeAccountTransactionsExportRequest = function () { return factories
|
|
|
31408
31789
|
export var makeAccountType = function () { return factories['io.flow.internal.v0.enums.account_type'](); };
|
|
31409
31790
|
export var makeAccountUpserted = function () { return factories['io.flow.internal.v0.models.account_upserted'](); };
|
|
31410
31791
|
export var makeAccountUpsertedV2 = function () { return factories['io.flow.internal.v0.models.account_upserted_v2'](); };
|
|
31792
|
+
export var makeAccountingFulfillmentMetadata = function () { return factories['io.flow.internal.v0.models.accounting_fulfillment_metadata'](); };
|
|
31411
31793
|
export var makeActionQuantity = function () { return factories['io.flow.internal.v0.models.action_quantity'](); };
|
|
31794
|
+
export var makeAdditionalImportTax = function () { return factories['io.flow.internal.v0.models.additional_import_tax'](); };
|
|
31412
31795
|
export var makeAddressConfigurationProvinceSetting = function () { return factories['io.flow.internal.v0.models.address_configuration_province_setting'](); };
|
|
31413
31796
|
export var makeAddressConfigurationSetting = function () { return factories['io.flow.internal.v0.models.address_configuration_setting'](); };
|
|
31414
31797
|
export var makeAddressConfigurationSettingForm = function () { return factories['io.flow.internal.v0.models.address_configuration_setting_form'](); };
|
|
@@ -31530,14 +31913,6 @@ export var makeBillingOrganizationSettingsDeleted = function () { return factori
|
|
|
31530
31913
|
export var makeBillingOrganizationSettingsUpserted = function () { return factories['io.flow.internal.v0.models.billing_organization_settings_upserted'](); };
|
|
31531
31914
|
export var makeBillingStatementAttachment = function () { return factories['io.flow.internal.v0.models.billing_statement_attachment'](); };
|
|
31532
31915
|
export var makeBillingStatementAttachmentKey = function () { return factories['io.flow.internal.v0.enums.billing_statement_attachment_key'](); };
|
|
31533
|
-
export var makeBillingStatementBatch = function () { return factories['io.flow.internal.v0.models.billing_statement_batch'](); };
|
|
31534
|
-
export var makeBillingStatementBatchDeleted = function () { return factories['io.flow.internal.v0.models.billing_statement_batch_deleted'](); };
|
|
31535
|
-
export var makeBillingStatementBatchFileKey = function () { return factories['io.flow.internal.v0.enums.billing_statement_batch_file_key'](); };
|
|
31536
|
-
export var makeBillingStatementBatchReference = function () { return factories['io.flow.internal.v0.models.billing_statement_batch_reference'](); };
|
|
31537
|
-
export var makeBillingStatementBatchStatement = function () { return factories['io.flow.internal.v0.models.billing_statement_batch_statement'](); };
|
|
31538
|
-
export var makeBillingStatementBatchStatementDeleted = function () { return factories['io.flow.internal.v0.models.billing_statement_batch_statement_deleted'](); };
|
|
31539
|
-
export var makeBillingStatementBatchStatementUpserted = function () { return factories['io.flow.internal.v0.models.billing_statement_batch_statement_upserted'](); };
|
|
31540
|
-
export var makeBillingStatementBatchUpserted = function () { return factories['io.flow.internal.v0.models.billing_statement_batch_upserted'](); };
|
|
31541
31916
|
export var makeBillingStatementDeleted = function () { return factories['io.flow.internal.v0.models.billing_statement_deleted'](); };
|
|
31542
31917
|
export var makeBillingStatementReference = function () { return factories['io.flow.internal.v0.models.billing_statement_reference'](); };
|
|
31543
31918
|
export var makeBillingStatementSummary = function () { return factories['io.flow.internal.v0.models.billing_statement_summary'](); };
|
|
@@ -31599,6 +31974,10 @@ export var makeBrowserBundlePaymentMethods = function () { return factories['io.
|
|
|
31599
31974
|
export var makeBulkClassificationAction = function () { return factories['io.flow.internal.v0.models.bulk_classification_action'](); };
|
|
31600
31975
|
export var makeByRuleSnapshot = function () { return factories['io.flow.internal.v0.models.by_rule_snapshot'](); };
|
|
31601
31976
|
export var makeCalculatedTaxAmount = function () { return factories['io.flow.internal.v0.models.calculated_tax_amount'](); };
|
|
31977
|
+
export var makeCalculationStampingLineItem = function () { return factories['io.flow.internal.v0.models.calculation_stamping_line_item'](); };
|
|
31978
|
+
export var makeCalculationStampingShippingLine = function () { return factories['io.flow.internal.v0.models.calculation_stamping_shipping_line'](); };
|
|
31979
|
+
export var makeCalculationStep = function () { return factories['io.flow.internal.v0.models.calculation_step'](); };
|
|
31980
|
+
export var makeCalculationTotal = function () { return factories['io.flow.internal.v0.models.calculation_total'](); };
|
|
31602
31981
|
export var makeCalculatorDtcePostBody = function () { return factories['io.flow.internal.v0.models.calculator_dtce_post_body'](); };
|
|
31603
31982
|
export var makeCalculatorDtceProduct = function () { return factories['io.flow.internal.v0.models.calculator_dtce_product'](); };
|
|
31604
31983
|
export var makeCalculatorEngine = function () { return factories['io.flow.internal.v0.enums.calculator_engine'](); };
|
|
@@ -31606,6 +31985,7 @@ export var makeCalculatorOrganizationSettings = function () { return factories['
|
|
|
31606
31985
|
export var makeCalculatorOrganizationSettingsDeleted = function () { return factories['io.flow.internal.v0.models.calculator_organization_settings_deleted'](); };
|
|
31607
31986
|
export var makeCalculatorOrganizationSettingsForm = function () { return factories['io.flow.internal.v0.models.calculator_organization_settings_form'](); };
|
|
31608
31987
|
export var makeCalculatorOrganizationSettingsUpserted = function () { return factories['io.flow.internal.v0.models.calculator_organization_settings_upserted'](); };
|
|
31988
|
+
export var makeCalculatorStamp = function () { return factories['io.flow.internal.v0.unions.calculator_stamp'](); };
|
|
31609
31989
|
export var makeCarrierAccount = function () { return factories['io.flow.internal.v0.models.carrier_account'](); };
|
|
31610
31990
|
export var makeCarrierAccountDeleted = function () { return factories['io.flow.internal.v0.models.carrier_account_deleted'](); };
|
|
31611
31991
|
export var makeCarrierAccountForm = function () { return factories['io.flow.internal.v0.models.carrier_account_form'](); };
|
|
@@ -32274,6 +32654,7 @@ export var makeCommercialInvoiceComparison = function () { return factories['io.
|
|
|
32274
32654
|
export var makeCommercialInvoiceInternal = function () { return factories['io.flow.internal.v0.models.commercial_invoice_internal'](); };
|
|
32275
32655
|
export var makeCommercialInvoiceInternalDeleted = function () { return factories['io.flow.internal.v0.models.commercial_invoice_internal_deleted'](); };
|
|
32276
32656
|
export var makeCommercialInvoiceInternalUpserted = function () { return factories['io.flow.internal.v0.models.commercial_invoice_internal_upserted'](); };
|
|
32657
|
+
export var makeCommercialInvoiceSummary = function () { return factories['io.flow.internal.v0.models.commercial_invoice_summary'](); };
|
|
32277
32658
|
export var makeCompanyReference = function () { return factories['io.flow.internal.v0.models.company_reference'](); };
|
|
32278
32659
|
export var makeCompliance = function () { return factories['io.flow.internal.v0.models.compliance'](); };
|
|
32279
32660
|
export var makeComplianceData = function () { return factories['io.flow.internal.v0.unions.compliance_data'](); };
|
|
@@ -32553,6 +32934,7 @@ export var makeFiservMerchantModificationForm = function () { return factories['
|
|
|
32553
32934
|
export var makeFiservMerchantPutForm = function () { return factories['io.flow.internal.v0.models.fiserv_merchant_put_form'](); };
|
|
32554
32935
|
export var makeFlowAccount = function () { return factories['io.flow.internal.v0.models.flow_account'](); };
|
|
32555
32936
|
export var makeFlowApp = function () { return factories['io.flow.internal.v0.enums.flow_app'](); };
|
|
32937
|
+
export var makeFlowBillingStatement = function () { return factories['io.flow.internal.v0.models.flow_billing_statement'](); };
|
|
32556
32938
|
export var makeFlowChannelOrganization = function () { return factories['io.flow.internal.v0.models.flow_channel_organization'](); };
|
|
32557
32939
|
export var makeFlowLabProject = function () { return factories['io.flow.internal.v0.models.flow_lab_project'](); };
|
|
32558
32940
|
export var makeFlowLabProjectPostForm = function () { return factories['io.flow.internal.v0.models.flow_lab_project_post_form'](); };
|
|
@@ -32599,6 +32981,7 @@ export var makeFulfillment = function () { return factories['io.flow.internal.v0
|
|
|
32599
32981
|
export var makeFulfillmentActionForm = function () { return factories['io.flow.internal.v0.models.fulfillment_action_form'](); };
|
|
32600
32982
|
export var makeFulfillmentBusiness = function () { return factories['io.flow.internal.v0.models.fulfillment_business'](); };
|
|
32601
32983
|
export var makeFulfillmentCancel = function () { return factories['io.flow.internal.v0.models.fulfillment_cancel'](); };
|
|
32984
|
+
export var makeFulfillmentDeleted = function () { return factories['io.flow.internal.v0.models.fulfillment_deleted'](); };
|
|
32602
32985
|
export var makeFulfillmentInternalExperienceReference = function () { return factories['io.flow.internal.v0.models.fulfillment_internal_experience_reference'](); };
|
|
32603
32986
|
export var makeFulfillmentOrigin = function () { return factories['io.flow.internal.v0.models.fulfillment_origin'](); };
|
|
32604
32987
|
export var makeFulfillmentProof = function () { return factories['io.flow.internal.v0.unions.fulfillment_proof'](); };
|
|
@@ -32614,6 +32997,7 @@ export var makeFulfillmentSubsidyBreakdown = function () { return factories['io.
|
|
|
32614
32997
|
export var makeFulfillmentTrigger = function () { return factories['io.flow.internal.v0.unions.fulfillment_trigger'](); };
|
|
32615
32998
|
export var makeFulfillmentTriggerProof = function () { return factories['io.flow.internal.v0.models.fulfillment_trigger_proof'](); };
|
|
32616
32999
|
export var makeFulfillmentTriggerTime = function () { return factories['io.flow.internal.v0.models.fulfillment_trigger_time'](); };
|
|
33000
|
+
export var makeFulfillmentUpserted = function () { return factories['io.flow.internal.v0.models.fulfillment_upserted'](); };
|
|
32617
33001
|
export var makeFxFee = function () { return factories['io.flow.internal.v0.models.fx_fee'](); };
|
|
32618
33002
|
export var makeFxRevenueRecognition = function () { return factories['io.flow.internal.v0.models.fx_revenue_recognition'](); };
|
|
32619
33003
|
export var makeFxRevenueRecognitionAccount = function () { return factories['io.flow.internal.v0.models.fx_revenue_recognition_account'](); };
|
|
@@ -32946,6 +33330,11 @@ export var makeMarketingGatewaySchemaSummary = function () { return factories['i
|
|
|
32946
33330
|
export var makeMarketingGatewaySourceSummary = function () { return factories['io.flow.internal.v0.unions.marketing_gateway_source_summary'](); };
|
|
32947
33331
|
export var makeMarketingGatewaySupportedChannelDetails = function () { return factories['io.flow.internal.v0.models.marketing_gateway_supported_channel_details'](); };
|
|
32948
33332
|
export var makeMarketsOrder = function () { return factories['io.flow.internal.v0.models.markets_order'](); };
|
|
33333
|
+
export var makeMatiasItem = function () { return factories['io.flow.internal.v0.models.matias_item'](); };
|
|
33334
|
+
export var makeMatiasItemDeleted = function () { return factories['io.flow.internal.v0.models.matias_item_deleted'](); };
|
|
33335
|
+
export var makeMatiasItemForm = function () { return factories['io.flow.internal.v0.models.matias_item_form'](); };
|
|
33336
|
+
export var makeMatiasItemType = function () { return factories['io.flow.internal.v0.enums.matias_item_type'](); };
|
|
33337
|
+
export var makeMatiasItemUpserted = function () { return factories['io.flow.internal.v0.models.matias_item_upserted'](); };
|
|
32949
33338
|
export var makeMerchant = function () { return factories['io.flow.internal.v0.models.merchant'](); };
|
|
32950
33339
|
export var makeMerchantApplicationSummaries = function () { return factories['io.flow.internal.v0.models.merchant_application_summaries'](); };
|
|
32951
33340
|
export var makeMerchantApplicationSummary = function () { return factories['io.flow.internal.v0.models.merchant_application_summary'](); };
|
|
@@ -32961,6 +33350,7 @@ export var makeMerchantSubsidies = function () { return factories['io.flow.inter
|
|
|
32961
33350
|
export var makeMerchantSummary = function () { return factories['io.flow.internal.v0.models.merchant_summary'](); };
|
|
32962
33351
|
export var makeMerchantTransactions = function () { return factories['io.flow.internal.v0.models.merchant_transactions'](); };
|
|
32963
33352
|
export var makeMerchantUpserted = function () { return factories['io.flow.internal.v0.models.merchant_upserted'](); };
|
|
33353
|
+
export var makeMessageStamp = function () { return factories['io.flow.internal.v0.models.message_stamp'](); };
|
|
32964
33354
|
export var makeMetadataProposition = function () { return factories['io.flow.internal.v0.models.metadata_proposition'](); };
|
|
32965
33355
|
export var makeMetadataRatecard = function () { return factories['io.flow.internal.v0.models.metadata_ratecard'](); };
|
|
32966
33356
|
export var makeMixedBagWeight = function () { return factories['io.flow.internal.v0.enums.mixed_bag_weight'](); };
|
|
@@ -33028,6 +33418,7 @@ export var makeOrderPaymentAuthorization = function () { return factories['io.fl
|
|
|
33028
33418
|
export var makeOrderPlaced = function () { return factories['io.flow.internal.v0.models.order_placed'](); };
|
|
33029
33419
|
export var makeOrderRatesDataV3 = function () { return factories['io.flow.internal.v0.models.order_rates_data_v3'](); };
|
|
33030
33420
|
export var makeOrderRatesPublishedV3 = function () { return factories['io.flow.internal.v0.models.order_rates_published_v3'](); };
|
|
33421
|
+
export var makeOrderReference = function () { return factories['io.flow.internal.v0.models.order_reference'](); };
|
|
33031
33422
|
export var makeOrderRevenueRegionChart = function () { return factories['io.flow.internal.v0.models.order_revenue_region_chart'](); };
|
|
33032
33423
|
export var makeOrderRevenueRegionDataPoint = function () { return factories['io.flow.internal.v0.models.order_revenue_region_data_point'](); };
|
|
33033
33424
|
export var makeOrderRevenueTimelineChart = function () { return factories['io.flow.internal.v0.models.order_revenue_timeline_chart'](); };
|
|
@@ -33041,10 +33432,14 @@ export var makeOrderTransactionDeleted = function () { return factories['io.flow
|
|
|
33041
33432
|
export var makeOrderTransactionType = function () { return factories['io.flow.internal.v0.enums.order_transaction_type'](); };
|
|
33042
33433
|
export var makeOrderTransactionUpserted = function () { return factories['io.flow.internal.v0.models.order_transaction_upserted'](); };
|
|
33043
33434
|
export var makeOrderValidation = function () { return factories['io.flow.internal.v0.models.order_validation'](); };
|
|
33435
|
+
export var makeOrderValidationDeleted = function () { return factories['io.flow.internal.v0.models.order_validation_deleted'](); };
|
|
33044
33436
|
export var makeOrderValidationError = function () { return factories['io.flow.internal.v0.models.order_validation_error'](); };
|
|
33045
33437
|
export var makeOrderValidationFailure = function () { return factories['io.flow.internal.v0.models.order_validation_failure'](); };
|
|
33438
|
+
export var makeOrderValidationFailureDeleted = function () { return factories['io.flow.internal.v0.models.order_validation_failure_deleted'](); };
|
|
33046
33439
|
export var makeOrderValidationFailureSummary = function () { return factories['io.flow.internal.v0.models.order_validation_failure_summary'](); };
|
|
33440
|
+
export var makeOrderValidationFailureUpserted = function () { return factories['io.flow.internal.v0.models.order_validation_failure_upserted'](); };
|
|
33047
33441
|
export var makeOrderValidationStatus = function () { return factories['io.flow.internal.v0.enums.order_validation_status'](); };
|
|
33442
|
+
export var makeOrderValidationUpserted = function () { return factories['io.flow.internal.v0.models.order_validation_upserted'](); };
|
|
33048
33443
|
export var makeOrganizationAccount = function () { return factories['io.flow.internal.v0.models.organization_account'](); };
|
|
33049
33444
|
export var makeOrganizationAccountDeleted = function () { return factories['io.flow.internal.v0.models.organization_account_deleted'](); };
|
|
33050
33445
|
export var makeOrganizationAccountUpsertedV2 = function () { return factories['io.flow.internal.v0.models.organization_account_upserted_v2'](); };
|
|
@@ -33156,6 +33551,7 @@ export var makePaypalRefundDeleted = function () { return factories['io.flow.int
|
|
|
33156
33551
|
export var makePaypalRefundUpserted = function () { return factories['io.flow.internal.v0.models.paypal_refund_upserted'](); };
|
|
33157
33552
|
export var makePendingBankPayment = function () { return factories['io.flow.internal.v0.models.pending_bank_payment'](); };
|
|
33158
33553
|
export var makePendingBankPaymentDetail = function () { return factories['io.flow.internal.v0.models.pending_bank_payment_detail'](); };
|
|
33554
|
+
export var makePendingOrder = function () { return factories['io.flow.internal.v0.models.pending_order'](); };
|
|
33159
33555
|
export var makePhraseClassified = function () { return factories['io.flow.internal.v0.models.phrase_classified'](); };
|
|
33160
33556
|
export var makePhrasePropagated = function () { return factories['io.flow.internal.v0.models.phrase_propagated'](); };
|
|
33161
33557
|
export var makePingRequestForm = function () { return factories['io.flow.internal.v0.models.ping_request_form'](); };
|
|
@@ -33221,7 +33617,6 @@ export var makeProofOfPostingFulfilled = function () { return factories['io.flow
|
|
|
33221
33617
|
export var makeProofOfPostingOrderCancellation = function () { return factories['io.flow.internal.v0.models.proof_of_posting_order_cancellation'](); };
|
|
33222
33618
|
export var makeProofOfPostingOrderCombinedShipment = function () { return factories['io.flow.internal.v0.models.proof_of_posting_order_combined_shipment'](); };
|
|
33223
33619
|
export var makeProofOfPostingShippingNotification = function () { return factories['io.flow.internal.v0.models.proof_of_posting_shipping_notification'](); };
|
|
33224
|
-
export var makeQueuedRecord = function () { return factories['io.flow.internal.v0.models.queued_record'](); };
|
|
33225
33620
|
export var makeQuote = function () { return factories['io.flow.internal.v0.models.quote'](); };
|
|
33226
33621
|
export var makeQuoteDeleted = function () { return factories['io.flow.internal.v0.models.quote_deleted'](); };
|
|
33227
33622
|
export var makeQuoteRequest = function () { return factories['io.flow.internal.v0.models.quote_request'](); };
|
|
@@ -33572,6 +33967,7 @@ export var makeSpotRateVersion = function () { return factories['io.flow.interna
|
|
|
33572
33967
|
export var makeStandaloneAttachment = function () { return factories['io.flow.internal.v0.models.standalone_attachment'](); };
|
|
33573
33968
|
export var makeStandaloneAttachmentDeleted = function () { return factories['io.flow.internal.v0.models.standalone_attachment_deleted'](); };
|
|
33574
33969
|
export var makeStandaloneAttachmentUpserted = function () { return factories['io.flow.internal.v0.models.standalone_attachment_upserted'](); };
|
|
33970
|
+
export var makeStatementCreationMetadata = function () { return factories['io.flow.internal.v0.models.statement_creation_metadata'](); };
|
|
33575
33971
|
export var makeStatementStatus = function () { return factories['io.flow.internal.v0.enums.statement_status'](); };
|
|
33576
33972
|
export var makeStatementTransferTransactionLocation = function () { return factories['io.flow.internal.v0.enums.statement_transfer_transaction_location'](); };
|
|
33577
33973
|
export var makeStatisticType = function () { return factories['io.flow.internal.v0.enums.statistic_type'](); };
|
|
@@ -33631,10 +34027,12 @@ export var makeTariffEligibility = function () { return factories['io.flow.inter
|
|
|
33631
34027
|
export var makeTariffEligibilityData = function () { return factories['io.flow.internal.v0.unions.tariff_eligibility_data'](); };
|
|
33632
34028
|
export var makeTariffEligibilityForm = function () { return factories['io.flow.internal.v0.unions.tariff_eligibility_form'](); };
|
|
33633
34029
|
export var makeTariffEligibilityType = function () { return factories['io.flow.internal.v0.enums.tariff_eligibility_type'](); };
|
|
34030
|
+
export var makeTask = function () { return factories['io.flow.internal.v0.models.task'](); };
|
|
33634
34031
|
export var makeTaskCount = function () { return factories['io.flow.internal.v0.models.task_count'](); };
|
|
33635
34032
|
export var makeTaskData = function () { return factories['io.flow.internal.v0.unions.task_data'](); };
|
|
33636
34033
|
export var makeTaskImport = function () { return factories['io.flow.internal.v0.models.task_import'](); };
|
|
33637
34034
|
export var makeTaskItemUpserted = function () { return factories['io.flow.internal.v0.models.task_item_upserted'](); };
|
|
34035
|
+
export var makeTaskMetadata = function () { return factories['io.flow.internal.v0.unions.task_metadata'](); };
|
|
33638
34036
|
export var makeTaskProcessQueuedEvent = function () { return factories['io.flow.internal.v0.models.task_process_queued_event'](); };
|
|
33639
34037
|
export var makeTaskProcessorKey = function () { return factories['io.flow.internal.v0.enums.task_processor_key'](); };
|
|
33640
34038
|
export var makeTaskSummarizeCode = function () { return factories['io.flow.internal.v0.models.task_summarize_code'](); };
|
|
@@ -33681,6 +34079,10 @@ export var makeTrackingLabelDeleted = function () { return factories['io.flow.in
|
|
|
33681
34079
|
export var makeTrackingLabelEventDeletedV2 = function () { return factories['io.flow.internal.v0.models.tracking_label_event_deleted_v2'](); };
|
|
33682
34080
|
export var makeTrackingLabelEventUpsertedV2 = function () { return factories['io.flow.internal.v0.models.tracking_label_event_upserted_v2'](); };
|
|
33683
34081
|
export var makeTrackingLabelUpserted = function () { return factories['io.flow.internal.v0.models.tracking_label_upserted'](); };
|
|
34082
|
+
export var makeTrackingProcessingError = function () { return factories['io.flow.internal.v0.models.tracking_processing_error'](); };
|
|
34083
|
+
export var makeTrackingProcessingErrorDeleted = function () { return factories['io.flow.internal.v0.models.tracking_processing_error_deleted'](); };
|
|
34084
|
+
export var makeTrackingProcessingErrorUpserted = function () { return factories['io.flow.internal.v0.models.tracking_processing_error_upserted'](); };
|
|
34085
|
+
export var makeTrackingProcessingFailureClassification = function () { return factories['io.flow.internal.v0.enums.tracking_processing_failure_classification'](); };
|
|
33684
34086
|
export var makeTrackingRequest = function () { return factories['io.flow.internal.v0.models.tracking_request'](); };
|
|
33685
34087
|
export var makeTrackingRequestUpserted = function () { return factories['io.flow.internal.v0.models.tracking_request_upserted'](); };
|
|
33686
34088
|
export var makeTrackingResponse = function () { return factories['io.flow.internal.v0.models.tracking_response'](); };
|