@flowio/api-internal-factories 0.0.99 → 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 +288 -168
- package/dist/esm/api-internal.js +221 -109
- package/dist/types/api-internal.d.ts +20 -12
- package/package.json +2 -2
- package/src/api-internal.ts +247 -122
package/dist/esm/api-internal.js
CHANGED
|
@@ -655,6 +655,10 @@ var factories = {
|
|
|
655
655
|
freight: factories.decimal(),
|
|
656
656
|
total: factories.decimal(),
|
|
657
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
|
+
}); },
|
|
658
662
|
'io.flow.billing.accounting.v0.models.order_summary': function () { return ({
|
|
659
663
|
id: factories.string(),
|
|
660
664
|
organization: factories['io.flow.common.v0.models.organization_reference'](),
|
|
@@ -664,6 +668,15 @@ var factories = {
|
|
|
664
668
|
delivered_duty: factories['io.flow.common.v0.enums.delivered_duty'](),
|
|
665
669
|
currency: factories.string(),
|
|
666
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
|
+
}); },
|
|
667
680
|
'io.flow.billing.accounting.v0.models.remittance_responsibility': function () { return ({
|
|
668
681
|
tax: factories['io.flow.billing.internal.v0.enums.responsible_party'](),
|
|
669
682
|
duty: factories['io.flow.billing.internal.v0.enums.responsible_party'](),
|
|
@@ -672,8 +685,8 @@ var factories = {
|
|
|
672
685
|
id: factories.string(),
|
|
673
686
|
order: factories['io.flow.billing.accounting.v0.models.order_summary'](),
|
|
674
687
|
shopper: factories['io.flow.billing.accounting.v0.models.shopper_summary'](),
|
|
675
|
-
remittance: factories['io.flow.billing.accounting.v0.models.remittance_responsibility'](),
|
|
676
688
|
merchant: factories['io.flow.billing.accounting.v0.models.merchant_summary'](),
|
|
689
|
+
remittance: factories['io.flow.billing.accounting.v0.models.remittance_responsibility'](),
|
|
677
690
|
sequence_number: factories.long(),
|
|
678
691
|
posting_cutoff: factories.date_time_iso_8601(),
|
|
679
692
|
trigger: factories['io.flow.billing.accounting.v0.unions.return_trigger'](),
|
|
@@ -1027,6 +1040,8 @@ var factories = {
|
|
|
1027
1040
|
fx_fee_description: factories.string(),
|
|
1028
1041
|
duty_guarantee_fee: factories.decimal(),
|
|
1029
1042
|
duty_guarantee_fee_description: factories.string(),
|
|
1043
|
+
negative_balance_fee: factories.decimal(),
|
|
1044
|
+
negative_balance_fee_description: factories.string(),
|
|
1030
1045
|
}); },
|
|
1031
1046
|
'io.flow.billing.csv.v0.models.billing_csv_processing_transaction_delivery': function () { return ({
|
|
1032
1047
|
delivery_option_id: factories.string(),
|
|
@@ -1169,8 +1184,8 @@ var factories = {
|
|
|
1169
1184
|
dispute_balance: factories.decimal(),
|
|
1170
1185
|
one_time_adjustments: objectOf(function () { return factories.decimal(); }),
|
|
1171
1186
|
}); },
|
|
1187
|
+
'io.flow.billing.internal.v0.enums.account_payment_hold_reason': function () { return faker.helpers.arrayElement(['fraudulent', 'invalid_bank_account']); },
|
|
1172
1188
|
'io.flow.billing.internal.v0.enums.account_setting_liabilities_method': function () { return faker.helpers.arrayElement(['withholding', 'transaction']); },
|
|
1173
|
-
'io.flow.billing.internal.v0.enums.account_status': function () { return faker.helpers.arrayElement(['active', 'inactive']); },
|
|
1174
1189
|
'io.flow.billing.internal.v0.enums.account_type': function () { return faker.helpers.arrayElement(['channel', 'organization']); },
|
|
1175
1190
|
'io.flow.billing.internal.v0.enums.adjustment_transaction_type': function () { return faker.helpers.arrayElement(['adjustment', 'reversal']); },
|
|
1176
1191
|
'io.flow.billing.internal.v0.enums.bank_payment_promise_completed_method': function () { return faker.helpers.arrayElement(['credit', 'time']); },
|
|
@@ -1222,7 +1237,6 @@ var factories = {
|
|
|
1222
1237
|
'carrier_charge',
|
|
1223
1238
|
'all',
|
|
1224
1239
|
]); },
|
|
1225
|
-
'io.flow.billing.internal.v0.enums.billing_statement_batch_file_key': function () { return faker.helpers.arrayElement(['summary']); },
|
|
1226
1240
|
'io.flow.billing.internal.v0.enums.billing_transaction_status': function () { return faker.helpers.arrayElement(['pending', 'pending_proof', 'posted']); },
|
|
1227
1241
|
'io.flow.billing.internal.v0.enums.billing_transaction_type': function () { return faker.helpers.arrayElement([
|
|
1228
1242
|
'manual',
|
|
@@ -1312,6 +1326,15 @@ var factories = {
|
|
|
1312
1326
|
'io.flow.billing.internal.v0.models.account_origin': function () { return ({
|
|
1313
1327
|
country: factories.string(),
|
|
1314
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
|
+
}); },
|
|
1315
1338
|
'io.flow.billing.internal.v0.models.account_processing_rate_form': function () { return ({
|
|
1316
1339
|
query: factories.string(),
|
|
1317
1340
|
capture: factories.decimal(),
|
|
@@ -1512,17 +1535,6 @@ var factories = {
|
|
|
1512
1535
|
name: factories.string(),
|
|
1513
1536
|
url: factories.string(),
|
|
1514
1537
|
}); },
|
|
1515
|
-
'io.flow.billing.internal.v0.models.billing_statement_batch': function () { return ({
|
|
1516
|
-
id: factories.string(),
|
|
1517
|
-
}); },
|
|
1518
|
-
'io.flow.billing.internal.v0.models.billing_statement_batch_reference': function () { return ({
|
|
1519
|
-
id: factories.string(),
|
|
1520
|
-
}); },
|
|
1521
|
-
'io.flow.billing.internal.v0.models.billing_statement_batch_statement': function () { return ({
|
|
1522
|
-
id: factories.string(),
|
|
1523
|
-
batch: factories['io.flow.billing.internal.v0.models.billing_statement_batch_reference'](),
|
|
1524
|
-
statement: factories['io.flow.billing.internal.v0.models.billing_statement_reference'](),
|
|
1525
|
-
}); },
|
|
1526
1538
|
'io.flow.billing.internal.v0.models.billing_statement_reference': function () { return ({
|
|
1527
1539
|
id: factories.string(),
|
|
1528
1540
|
}); },
|
|
@@ -1590,7 +1602,6 @@ var factories = {
|
|
|
1590
1602
|
channel: factories['io.flow.common.v0.models.channel_reference'](),
|
|
1591
1603
|
id: factories.string(),
|
|
1592
1604
|
key: factories.string(),
|
|
1593
|
-
status: factories['io.flow.billing.internal.v0.enums.account_status'](),
|
|
1594
1605
|
origin: factories['io.flow.billing.internal.v0.models.account_origin'](),
|
|
1595
1606
|
currency: factories.string(),
|
|
1596
1607
|
updated_at: factories.date_time_iso_8601(),
|
|
@@ -1759,6 +1770,7 @@ var factories = {
|
|
|
1759
1770
|
fx: factories['io.flow.billing.internal.v0.models.fee'](),
|
|
1760
1771
|
duty_guarantee: factories['io.flow.billing.internal.v0.models.fee'](),
|
|
1761
1772
|
transfer: factories['io.flow.billing.internal.v0.models.fee'](),
|
|
1773
|
+
negative_balance: factories['io.flow.billing.internal.v0.models.fee'](),
|
|
1762
1774
|
}); },
|
|
1763
1775
|
'io.flow.billing.internal.v0.models.finance_bank_account': function () { return ({
|
|
1764
1776
|
id: factories.string(),
|
|
@@ -1781,7 +1793,6 @@ var factories = {
|
|
|
1781
1793
|
source: factories['io.flow.billing.internal.v0.models.account_source'](),
|
|
1782
1794
|
id: factories.string(),
|
|
1783
1795
|
key: factories.string(),
|
|
1784
|
-
status: factories['io.flow.billing.internal.v0.enums.account_status'](),
|
|
1785
1796
|
origin: factories['io.flow.billing.internal.v0.models.account_origin'](),
|
|
1786
1797
|
currency: factories.string(),
|
|
1787
1798
|
updated_at: factories.date_time_iso_8601(),
|
|
@@ -1795,9 +1806,6 @@ var factories = {
|
|
|
1795
1806
|
bank_account: factories['io.flow.billing.internal.v0.models.bank_account_reference'](),
|
|
1796
1807
|
created_at: factories.date_time_iso_8601(),
|
|
1797
1808
|
}); },
|
|
1798
|
-
'io.flow.billing.internal.v0.models.flow_account_status_form': function () { return ({
|
|
1799
|
-
status: factories['io.flow.billing.internal.v0.enums.account_status'](),
|
|
1800
|
-
}); },
|
|
1801
1809
|
'io.flow.billing.internal.v0.models.flow_billing_statement': function () { return ({
|
|
1802
1810
|
id: factories.string(),
|
|
1803
1811
|
account: factories['io.flow.billing.v0.models.account_reference'](),
|
|
@@ -1954,7 +1962,6 @@ var factories = {
|
|
|
1954
1962
|
organization: factories['io.flow.common.v0.models.organization_reference'](),
|
|
1955
1963
|
id: factories.string(),
|
|
1956
1964
|
key: factories.string(),
|
|
1957
|
-
status: factories['io.flow.billing.internal.v0.enums.account_status'](),
|
|
1958
1965
|
origin: factories['io.flow.billing.internal.v0.models.account_origin'](),
|
|
1959
1966
|
currency: factories.string(),
|
|
1960
1967
|
updated_at: factories.date_time_iso_8601(),
|
|
@@ -2330,7 +2337,7 @@ var factories = {
|
|
|
2330
2337
|
'scheduled_payment',
|
|
2331
2338
|
]); },
|
|
2332
2339
|
'io.flow.billing.reporting.v0.enums.reporting_fulfillment_is_virtual': function () { return faker.helpers.arrayElement(['all', 'mixed', 'none']); },
|
|
2333
|
-
'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']); },
|
|
2334
2341
|
'io.flow.billing.reporting.v0.models.fulfillment_shopper_breakdown': function () { return ({
|
|
2335
2342
|
shipping: factories['io.flow.billing.reporting.v0.models.reporting_monetary_value'](),
|
|
2336
2343
|
fees: factories['io.flow.billing.reporting.v0.models.reporting_shopper_fees'](),
|
|
@@ -7817,8 +7824,8 @@ var factories = {
|
|
|
7817
7824
|
number: factories.string(),
|
|
7818
7825
|
company_name: factories.string(),
|
|
7819
7826
|
}); },
|
|
7827
|
+
'io.flow.internal.v0.enums.account_payment_hold_reason': function () { return faker.helpers.arrayElement(['fraudulent', 'invalid_bank_account']); },
|
|
7820
7828
|
'io.flow.internal.v0.enums.account_setting_liabilities_method': function () { return faker.helpers.arrayElement(['withholding', 'transaction']); },
|
|
7821
|
-
'io.flow.internal.v0.enums.account_status': function () { return faker.helpers.arrayElement(['active', 'inactive']); },
|
|
7822
7829
|
'io.flow.internal.v0.enums.account_type': function () { return faker.helpers.arrayElement(['channel', 'organization']); },
|
|
7823
7830
|
'io.flow.internal.v0.enums.address_configuration_setting_province_code': function () { return faker.helpers.arrayElement(['iso_3166_2', 'name']); },
|
|
7824
7831
|
'io.flow.internal.v0.enums.adjustment_transaction_type': function () { return faker.helpers.arrayElement(['adjustment', 'reversal']); },
|
|
@@ -7905,6 +7912,8 @@ var factories = {
|
|
|
7905
7912
|
'refund_transactions_ignored_previously_processed_count',
|
|
7906
7913
|
'refund_queued_count',
|
|
7907
7914
|
'refund_transactions_total',
|
|
7915
|
+
'refund_transactions_succeeded_then_failed_count',
|
|
7916
|
+
'refund_transactions_succeeded_then_failed_total',
|
|
7908
7917
|
'reversal_order_cancellations_transactions_count',
|
|
7909
7918
|
'reversal_order_cancellations_transactions_total',
|
|
7910
7919
|
'reversal_external_fulfillment_transactions_count',
|
|
@@ -7931,8 +7940,8 @@ var factories = {
|
|
|
7931
7940
|
'queued_refund_unprocessed_count',
|
|
7932
7941
|
'queued_label_invoice_request_unprocessed_count',
|
|
7933
7942
|
'queued_other_unprocessed_count',
|
|
7934
|
-
'
|
|
7935
|
-
'
|
|
7943
|
+
'task_snooze_count',
|
|
7944
|
+
'task_snooze_ending_in_48_hours_count',
|
|
7936
7945
|
'payouts_scheduled_count',
|
|
7937
7946
|
'payouts_scheduled_total',
|
|
7938
7947
|
'payouts_sent_count',
|
|
@@ -7957,9 +7966,13 @@ var factories = {
|
|
|
7957
7966
|
'negative_balance_total_with_order_in_past_30_days',
|
|
7958
7967
|
'negative_balance_total_without_order_in_past_30_days',
|
|
7959
7968
|
'negative_balance_single_account_max',
|
|
7960
|
-
'
|
|
7961
|
-
'
|
|
7962
|
-
'
|
|
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',
|
|
7963
7976
|
]); },
|
|
7964
7977
|
'io.flow.internal.v0.enums.billing_statement_attachment_key': function () { return faker.helpers.arrayElement([
|
|
7965
7978
|
'invoice',
|
|
@@ -7980,7 +7993,6 @@ var factories = {
|
|
|
7980
7993
|
'carrier_charge',
|
|
7981
7994
|
'all',
|
|
7982
7995
|
]); },
|
|
7983
|
-
'io.flow.internal.v0.enums.billing_statement_batch_file_key': function () { return faker.helpers.arrayElement(['summary']); },
|
|
7984
7996
|
'io.flow.internal.v0.enums.billing_transaction_status': function () { return faker.helpers.arrayElement(['pending', 'pending_proof', 'posted']); },
|
|
7985
7997
|
'io.flow.internal.v0.enums.billing_transaction_type': function () { return faker.helpers.arrayElement([
|
|
7986
7998
|
'manual',
|
|
@@ -8079,6 +8091,9 @@ var factories = {
|
|
|
8079
8091
|
'incoterm_dap',
|
|
8080
8092
|
'emergency_situation',
|
|
8081
8093
|
'remote_area_delivery',
|
|
8094
|
+
'customs_clearance_surcharge',
|
|
8095
|
+
'security_surcharge',
|
|
8096
|
+
'duties_fx_surcharge',
|
|
8082
8097
|
]); },
|
|
8083
8098
|
'io.flow.internal.v0.enums.chargeback_payment_status': function () { return faker.helpers.arrayElement(['captured', 'refunded']); },
|
|
8084
8099
|
'io.flow.internal.v0.enums.chargeback_process_status': function () { return faker.helpers.arrayElement(['inquiry', 'open', 'closed']); },
|
|
@@ -8407,6 +8422,8 @@ var factories = {
|
|
|
8407
8422
|
'adyen_refund_upserted',
|
|
8408
8423
|
'index_assignment_upserted',
|
|
8409
8424
|
'index_assignment_deleted',
|
|
8425
|
+
'fulfillment_upserted',
|
|
8426
|
+
'fulfillment_deleted',
|
|
8410
8427
|
'merchant_upserted',
|
|
8411
8428
|
'merchant_deleted',
|
|
8412
8429
|
'account_upserted',
|
|
@@ -8541,10 +8558,6 @@ var factories = {
|
|
|
8541
8558
|
'billing_organization_processing_rates_deleted',
|
|
8542
8559
|
'billing_organization_settings_upserted',
|
|
8543
8560
|
'billing_organization_settings_deleted',
|
|
8544
|
-
'billing_statement_batch_upserted',
|
|
8545
|
-
'billing_statement_batch_deleted',
|
|
8546
|
-
'billing_statement_batch_statement_upserted',
|
|
8547
|
-
'billing_statement_batch_statement_deleted',
|
|
8548
8561
|
'standalone_attachment_upserted',
|
|
8549
8562
|
'standalone_attachment_deleted',
|
|
8550
8563
|
'platform_fee_change_upserted',
|
|
@@ -8605,6 +8618,10 @@ var factories = {
|
|
|
8605
8618
|
'item_form_import_request',
|
|
8606
8619
|
'label_request_error_upserted',
|
|
8607
8620
|
'label_request_error_deleted',
|
|
8621
|
+
'order_validation_failure_upserted',
|
|
8622
|
+
'order_validation_failure_deleted',
|
|
8623
|
+
'order_validation_upserted',
|
|
8624
|
+
'order_validation_deleted',
|
|
8608
8625
|
'label_tracking_summary_upserted',
|
|
8609
8626
|
'label_tracking_summary_deleted',
|
|
8610
8627
|
'localized_item_upserted_v2',
|
|
@@ -8737,6 +8754,8 @@ var factories = {
|
|
|
8737
8754
|
'shruti_demo_item_deleted',
|
|
8738
8755
|
'tam_item_upserted',
|
|
8739
8756
|
'tam_item_deleted',
|
|
8757
|
+
'tracking_processing_error_upserted',
|
|
8758
|
+
'tracking_processing_error_deleted',
|
|
8740
8759
|
'tracking_label_event_upserted_v2',
|
|
8741
8760
|
'tracking_label_event_deleted_v2',
|
|
8742
8761
|
'tracking_label_upserted',
|
|
@@ -9029,7 +9048,7 @@ var factories = {
|
|
|
9029
9048
|
'io.flow.internal.v0.enums.restriction_action': function () { return faker.helpers.arrayElement(['prohibited', 'restricted']); },
|
|
9030
9049
|
'io.flow.internal.v0.enums.restriction_decision': function () { return faker.helpers.arrayElement(['accept', 'escalate', 'reject', 'review']); },
|
|
9031
9050
|
'io.flow.internal.v0.enums.restriction_status': function () { return faker.helpers.arrayElement(['pending', 'in_review', 'escalated', 'accepted', 'restricted']); },
|
|
9032
|
-
'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']); },
|
|
9033
9052
|
'io.flow.internal.v0.enums.risk_check': function () { return faker.helpers.arrayElement(['three_d_secure']); },
|
|
9034
9053
|
'io.flow.internal.v0.enums.risk_evaluation': function () { return faker.helpers.arrayElement(['Pending', 'High-Risk', 'Low-Risk', 'Restricted-Party', 'none']); },
|
|
9035
9054
|
'io.flow.internal.v0.enums.scope': function () { return faker.helpers.arrayElement(['organization', 'global']); },
|
|
@@ -9097,7 +9116,7 @@ var factories = {
|
|
|
9097
9116
|
'io.flow.internal.v0.enums.significance_action': function () { return faker.helpers.arrayElement(['end_and_implement_winner', 'end_and_revert', 'do_nothing']); },
|
|
9098
9117
|
'io.flow.internal.v0.enums.simple_rounding_strategy': function () { return faker.helpers.arrayElement(['no_rounding', 'currency_precision']); },
|
|
9099
9118
|
'io.flow.internal.v0.enums.snooze_next_action_with': function () { return faker.helpers.arrayElement(['customer_service', 'engineering']); },
|
|
9100
|
-
'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']); },
|
|
9101
9120
|
'io.flow.internal.v0.enums.statement_status': function () { return faker.helpers.arrayElement([
|
|
9102
9121
|
'created',
|
|
9103
9122
|
'no_transactions',
|
|
@@ -9133,6 +9152,14 @@ var factories = {
|
|
|
9133
9152
|
'io.flow.internal.v0.enums.tax_transaction_type': function () { return faker.helpers.arrayElement(['adjustment', 'reversal', 'tax']); },
|
|
9134
9153
|
'io.flow.internal.v0.enums.timeseries_type': function () { return faker.helpers.arrayElement(['daily', 'weekly', 'monthly', 'yearly']); },
|
|
9135
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
|
+
]); },
|
|
9136
9163
|
'io.flow.internal.v0.enums.transaction_posting_method': function () { return faker.helpers.arrayElement(['time', 'proof']); },
|
|
9137
9164
|
'io.flow.internal.v0.enums.transfer_method': function () { return faker.helpers.arrayElement(['ach']); },
|
|
9138
9165
|
'io.flow.internal.v0.enums.trueup_transaction_type': function () { return faker.helpers.arrayElement(['adjustment', 'reversal', 'trueup']); },
|
|
@@ -9207,6 +9234,15 @@ var factories = {
|
|
|
9207
9234
|
'io.flow.internal.v0.models.account_origin': function () { return ({
|
|
9208
9235
|
country: factories.string(),
|
|
9209
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
|
+
}); },
|
|
9210
9246
|
'io.flow.internal.v0.models.account_processing_rate_form': function () { return ({
|
|
9211
9247
|
query: factories.string(),
|
|
9212
9248
|
capture: factories.decimal(),
|
|
@@ -9330,6 +9366,11 @@ var factories = {
|
|
|
9330
9366
|
timestamp: factories.date_time_iso_8601(),
|
|
9331
9367
|
account: factories['io.flow.internal.v0.models.flow_account'](),
|
|
9332
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
|
+
}); },
|
|
9333
9374
|
'io.flow.internal.v0.models.action_quantity': function () { return ({
|
|
9334
9375
|
action: factories['io.flow.internal.v0.enums.item_quantity_action'](),
|
|
9335
9376
|
quantity: factories.long(),
|
|
@@ -9989,41 +10030,6 @@ var factories = {
|
|
|
9989
10030
|
name: factories.string(),
|
|
9990
10031
|
url: factories.string(),
|
|
9991
10032
|
}); },
|
|
9992
|
-
'io.flow.internal.v0.models.billing_statement_batch': function () { return ({
|
|
9993
|
-
id: factories.string(),
|
|
9994
|
-
}); },
|
|
9995
|
-
'io.flow.internal.v0.models.billing_statement_batch_deleted': function () { return ({
|
|
9996
|
-
discriminator: 'billing_statement_batch_deleted',
|
|
9997
|
-
event_id: factories.string(),
|
|
9998
|
-
timestamp: factories.date_time_iso_8601(),
|
|
9999
|
-
id: factories.string(),
|
|
10000
|
-
}); },
|
|
10001
|
-
'io.flow.internal.v0.models.billing_statement_batch_reference': function () { return ({
|
|
10002
|
-
id: factories.string(),
|
|
10003
|
-
}); },
|
|
10004
|
-
'io.flow.internal.v0.models.billing_statement_batch_statement': function () { return ({
|
|
10005
|
-
id: factories.string(),
|
|
10006
|
-
batch: factories['io.flow.internal.v0.models.billing_statement_batch_reference'](),
|
|
10007
|
-
statement: factories['io.flow.internal.v0.models.billing_statement_reference'](),
|
|
10008
|
-
}); },
|
|
10009
|
-
'io.flow.internal.v0.models.billing_statement_batch_statement_deleted': function () { return ({
|
|
10010
|
-
discriminator: 'billing_statement_batch_statement_deleted',
|
|
10011
|
-
event_id: factories.string(),
|
|
10012
|
-
timestamp: factories.date_time_iso_8601(),
|
|
10013
|
-
id: factories.string(),
|
|
10014
|
-
}); },
|
|
10015
|
-
'io.flow.internal.v0.models.billing_statement_batch_statement_upserted': function () { return ({
|
|
10016
|
-
discriminator: 'billing_statement_batch_statement_upserted',
|
|
10017
|
-
event_id: factories.string(),
|
|
10018
|
-
timestamp: factories.date_time_iso_8601(),
|
|
10019
|
-
billing_statement_batch_statement: factories['io.flow.internal.v0.models.billing_statement_batch_statement'](),
|
|
10020
|
-
}); },
|
|
10021
|
-
'io.flow.internal.v0.models.billing_statement_batch_upserted': function () { return ({
|
|
10022
|
-
discriminator: 'billing_statement_batch_upserted',
|
|
10023
|
-
event_id: factories.string(),
|
|
10024
|
-
timestamp: factories.date_time_iso_8601(),
|
|
10025
|
-
billing_statement_batch: factories['io.flow.internal.v0.models.billing_statement_batch'](),
|
|
10026
|
-
}); },
|
|
10027
10033
|
'io.flow.internal.v0.models.billing_statement_deleted': function () { return ({
|
|
10028
10034
|
discriminator: 'billing_statement_deleted',
|
|
10029
10035
|
event_id: factories.string(),
|
|
@@ -10509,6 +10515,7 @@ var factories = {
|
|
|
10509
10515
|
'io.flow.internal.v0.models.carrier_charge_form_other': function () { return ({
|
|
10510
10516
|
discriminator: 'other',
|
|
10511
10517
|
id: factories.string(),
|
|
10518
|
+
label_invoice_request_id: factories.string(),
|
|
10512
10519
|
reason: factories['io.flow.trueup.v0.enums.carrier_charge_reason'](),
|
|
10513
10520
|
organization_id: factories.string(),
|
|
10514
10521
|
order_number: factories.string(),
|
|
@@ -10657,7 +10664,6 @@ var factories = {
|
|
|
10657
10664
|
channel: factories['io.flow.common.v0.models.channel_reference'](),
|
|
10658
10665
|
id: factories.string(),
|
|
10659
10666
|
key: factories.string(),
|
|
10660
|
-
status: factories['io.flow.internal.v0.enums.account_status'](),
|
|
10661
10667
|
origin: factories['io.flow.internal.v0.models.account_origin'](),
|
|
10662
10668
|
currency: factories.string(),
|
|
10663
10669
|
updated_at: factories.date_time_iso_8601(),
|
|
@@ -14445,7 +14451,6 @@ var factories = {
|
|
|
14445
14451
|
source: factories['io.flow.internal.v0.models.account_source'](),
|
|
14446
14452
|
id: factories.string(),
|
|
14447
14453
|
key: factories.string(),
|
|
14448
|
-
status: factories['io.flow.internal.v0.enums.account_status'](),
|
|
14449
14454
|
origin: factories['io.flow.internal.v0.models.account_origin'](),
|
|
14450
14455
|
currency: factories.string(),
|
|
14451
14456
|
updated_at: factories.date_time_iso_8601(),
|
|
@@ -14459,9 +14464,6 @@ var factories = {
|
|
|
14459
14464
|
bank_account: factories['io.flow.internal.v0.models.bank_account_reference'](),
|
|
14460
14465
|
created_at: factories.date_time_iso_8601(),
|
|
14461
14466
|
}); },
|
|
14462
|
-
'io.flow.internal.v0.models.flow_account_status_form': function () { return ({
|
|
14463
|
-
status: factories['io.flow.internal.v0.enums.account_status'](),
|
|
14464
|
-
}); },
|
|
14465
14467
|
'io.flow.internal.v0.models.flow_billing_statement': function () { return ({
|
|
14466
14468
|
id: factories.string(),
|
|
14467
14469
|
account: factories['io.flow.billing.v0.models.account_reference'](),
|
|
@@ -14724,6 +14726,13 @@ var factories = {
|
|
|
14724
14726
|
reason: factories['io.flow.order.management.v0.enums.cancel_reason'](),
|
|
14725
14727
|
cancelled_lines: arrayOf(function () { return factories['io.flow.order.management.v0.models.fulfillment_line_cancel_form'](); }),
|
|
14726
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
|
+
}); },
|
|
14727
14736
|
'io.flow.internal.v0.models.fulfillment_internal_experience_reference': function () { return ({
|
|
14728
14737
|
id: factories.string(),
|
|
14729
14738
|
key: factories.string(),
|
|
@@ -14810,6 +14819,13 @@ var factories = {
|
|
|
14810
14819
|
discriminator: 'by_time',
|
|
14811
14820
|
placeholder: factories.string(),
|
|
14812
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
|
+
}); },
|
|
14813
14829
|
'io.flow.internal.v0.models.fx_fee': function () { return ({
|
|
14814
14830
|
base: factories['io.flow.common.v0.models.money'](),
|
|
14815
14831
|
local: factories['io.flow.common.v0.models.money'](),
|
|
@@ -16281,6 +16297,10 @@ var factories = {
|
|
|
16281
16297
|
emergency: factories['io.flow.internal.v0.models.label_surcharge_single_form'](),
|
|
16282
16298
|
peak: factories['io.flow.internal.v0.models.label_surcharge_single_form'](),
|
|
16283
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'](),
|
|
16284
16304
|
}); },
|
|
16285
16305
|
'io.flow.internal.v0.models.label_surcharge_single_form': function () { return ({
|
|
16286
16306
|
amount: factories.decimal(),
|
|
@@ -17372,6 +17392,10 @@ var factories = {
|
|
|
17372
17392
|
organization: factories.string(),
|
|
17373
17393
|
data: factories['io.flow.internal.v0.models.order_rates_data_v3'](),
|
|
17374
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
|
+
}); },
|
|
17375
17399
|
'io.flow.internal.v0.models.order_revenue_region_chart': function () { return ({
|
|
17376
17400
|
total: factories['io.flow.common.v0.models.price'](),
|
|
17377
17401
|
period: factories['io.flow.common.v0.models.datetime_range'](),
|
|
@@ -17451,6 +17475,15 @@ var factories = {
|
|
|
17451
17475
|
service_id: factories.string(),
|
|
17452
17476
|
status: factories['io.flow.internal.v0.enums.order_validation_status'](),
|
|
17453
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(),
|
|
17454
17487
|
}); },
|
|
17455
17488
|
'io.flow.internal.v0.models.order_validation_error': function () { return ({
|
|
17456
17489
|
message: factories.string(),
|
|
@@ -17470,6 +17503,13 @@ var factories = {
|
|
|
17470
17503
|
suggested_responsibility: factories['io.flow.internal.v0.enums.label_request_error_handling_responsibility'](),
|
|
17471
17504
|
errors: arrayOf(function () { return factories.string(); }),
|
|
17472
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
|
+
}); },
|
|
17473
17513
|
'io.flow.internal.v0.models.order_validation_failure_summary': function () { return ({
|
|
17474
17514
|
organization_id: factories.string(),
|
|
17475
17515
|
order_number: factories.string(),
|
|
@@ -17479,11 +17519,24 @@ var factories = {
|
|
|
17479
17519
|
error: factories.string(),
|
|
17480
17520
|
created_at: factories.string(),
|
|
17481
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
|
+
}); },
|
|
17482
17536
|
'io.flow.internal.v0.models.organization_account': function () { return ({
|
|
17483
17537
|
organization: factories['io.flow.common.v0.models.organization_reference'](),
|
|
17484
17538
|
id: factories.string(),
|
|
17485
17539
|
key: factories.string(),
|
|
17486
|
-
status: factories['io.flow.internal.v0.enums.account_status'](),
|
|
17487
17540
|
origin: factories['io.flow.internal.v0.models.account_origin'](),
|
|
17488
17541
|
currency: factories.string(),
|
|
17489
17542
|
updated_at: factories.date_time_iso_8601(),
|
|
@@ -18143,6 +18196,15 @@ var factories = {
|
|
|
18143
18196
|
transaction: factories['io.flow.internal.v0.models.transaction_reference'](),
|
|
18144
18197
|
statement: factories['io.flow.internal.v0.models.billing_statement_reference'](),
|
|
18145
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
|
+
}); },
|
|
18146
18208
|
'io.flow.internal.v0.models.phrase_classified': function () { return ({
|
|
18147
18209
|
event_id: factories.string(),
|
|
18148
18210
|
timestamp: factories.date_time_iso_8601(),
|
|
@@ -18433,19 +18495,6 @@ var factories = {
|
|
|
18433
18495
|
discriminator: 'shipping_notification',
|
|
18434
18496
|
shipping_notification_id: factories.string(),
|
|
18435
18497
|
}); },
|
|
18436
|
-
'io.flow.internal.v0.models.queued_record': function () { return ({
|
|
18437
|
-
type: factories.string(),
|
|
18438
|
-
type_id: factories.string(),
|
|
18439
|
-
source_type: factories.string(),
|
|
18440
|
-
source_id: factories.string(),
|
|
18441
|
-
environment: factories.string(),
|
|
18442
|
-
created_at: factories.date_time_iso_8601(),
|
|
18443
|
-
num_attempts: factories.integer(),
|
|
18444
|
-
next_attempt_at: factories.date_time_iso_8601(),
|
|
18445
|
-
errors: arrayOf(function () { return factories.string(); }),
|
|
18446
|
-
stacktrace: factories.string(),
|
|
18447
|
-
snooze_id: factories.string(),
|
|
18448
|
-
}); },
|
|
18449
18498
|
'io.flow.internal.v0.models.quote': function () { return ({
|
|
18450
18499
|
id: factories.string(),
|
|
18451
18500
|
base: factories.string(),
|
|
@@ -19323,8 +19372,8 @@ var factories = {
|
|
|
19323
19372
|
id: factories.string(),
|
|
19324
19373
|
order: factories['io.flow.internal.v0.models.order_summary'](),
|
|
19325
19374
|
shopper: factories['io.flow.internal.v0.models.shopper_summary'](),
|
|
19326
|
-
remittance: factories['io.flow.internal.v0.models.remittance_responsibility'](),
|
|
19327
19375
|
merchant: factories['io.flow.internal.v0.models.merchant_summary'](),
|
|
19376
|
+
remittance: factories['io.flow.internal.v0.models.remittance_responsibility'](),
|
|
19328
19377
|
sequence_number: factories.long(),
|
|
19329
19378
|
posting_cutoff: factories.date_time_iso_8601(),
|
|
19330
19379
|
trigger: factories['io.flow.internal.v0.unions.return_trigger'](),
|
|
@@ -20260,6 +20309,10 @@ var factories = {
|
|
|
20260
20309
|
timestamp: factories.date_time_iso_8601(),
|
|
20261
20310
|
attachment: factories['io.flow.internal.v0.models.standalone_attachment'](),
|
|
20262
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
|
+
}); },
|
|
20263
20316
|
'io.flow.internal.v0.models.store_connection': function () { return ({
|
|
20264
20317
|
organization: factories['io.flow.common.v0.models.organization_reference'](),
|
|
20265
20318
|
id: factories.string(),
|
|
@@ -20595,6 +20648,19 @@ var factories = {
|
|
|
20595
20648
|
id: factories.string(),
|
|
20596
20649
|
data: factories['io.flow.internal.v0.unions.tariff_eligibility_data'](),
|
|
20597
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
|
+
}); },
|
|
20598
20664
|
'io.flow.internal.v0.models.task_count': function () { return ({
|
|
20599
20665
|
discriminator: factories.string(),
|
|
20600
20666
|
count: factories.long(),
|
|
@@ -20855,6 +20921,28 @@ var factories = {
|
|
|
20855
20921
|
organization: factories.string(),
|
|
20856
20922
|
tracking_label: factories['io.flow.internal.v0.models.export_tracking_label'](),
|
|
20857
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
|
+
}); },
|
|
20858
20946
|
'io.flow.internal.v0.models.tracking_request': function () { return ({
|
|
20859
20947
|
carrier: factories.string(),
|
|
20860
20948
|
carrier_tracking_number: factories.string(),
|
|
@@ -22034,6 +22122,8 @@ var factories = {
|
|
|
22034
22122
|
function () { return factories['io.flow.internal.v0.models.adyen_refund_upserted'](); },
|
|
22035
22123
|
function () { return factories['io.flow.internal.v0.models.index_assignment_upserted'](); },
|
|
22036
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'](); },
|
|
22037
22127
|
function () { return factories['io.flow.internal.v0.models.merchant_upserted'](); },
|
|
22038
22128
|
function () { return factories['io.flow.internal.v0.models.merchant_deleted'](); },
|
|
22039
22129
|
function () { return factories['io.flow.internal.v0.models.account_upserted'](); },
|
|
@@ -22168,10 +22258,6 @@ var factories = {
|
|
|
22168
22258
|
function () { return factories['io.flow.internal.v0.models.billing_organization_processing_rates_deleted'](); },
|
|
22169
22259
|
function () { return factories['io.flow.internal.v0.models.billing_organization_settings_upserted'](); },
|
|
22170
22260
|
function () { return factories['io.flow.internal.v0.models.billing_organization_settings_deleted'](); },
|
|
22171
|
-
function () { return factories['io.flow.internal.v0.models.billing_statement_batch_upserted'](); },
|
|
22172
|
-
function () { return factories['io.flow.internal.v0.models.billing_statement_batch_deleted'](); },
|
|
22173
|
-
function () { return factories['io.flow.internal.v0.models.billing_statement_batch_statement_upserted'](); },
|
|
22174
|
-
function () { return factories['io.flow.internal.v0.models.billing_statement_batch_statement_deleted'](); },
|
|
22175
22261
|
function () { return factories['io.flow.internal.v0.models.standalone_attachment_upserted'](); },
|
|
22176
22262
|
function () { return factories['io.flow.internal.v0.models.standalone_attachment_deleted'](); },
|
|
22177
22263
|
function () { return factories['io.flow.internal.v0.models.platform_fee_change_upserted'](); },
|
|
@@ -22232,6 +22318,10 @@ var factories = {
|
|
|
22232
22318
|
function () { return factories['io.flow.internal.v0.models.item_form_import_request'](); },
|
|
22233
22319
|
function () { return factories['io.flow.internal.v0.models.label_request_error_upserted'](); },
|
|
22234
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'](); },
|
|
22235
22325
|
function () { return factories['io.flow.internal.v0.models.label_tracking_summary_upserted'](); },
|
|
22236
22326
|
function () { return factories['io.flow.internal.v0.models.label_tracking_summary_deleted'](); },
|
|
22237
22327
|
function () { return factories['io.flow.internal.v0.models.localized_item_upserted_v2'](); },
|
|
@@ -22364,6 +22454,8 @@ var factories = {
|
|
|
22364
22454
|
function () { return factories['io.flow.internal.v0.models.shruti_demo_item_deleted'](); },
|
|
22365
22455
|
function () { return factories['io.flow.internal.v0.models.tam_item_upserted'](); },
|
|
22366
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'](); },
|
|
22367
22459
|
function () { return factories['io.flow.internal.v0.models.tracking_label_event_upserted_v2'](); },
|
|
22368
22460
|
function () { return factories['io.flow.internal.v0.models.tracking_label_event_deleted_v2'](); },
|
|
22369
22461
|
function () { return factories['io.flow.internal.v0.models.tracking_label_upserted'](); },
|
|
@@ -22824,6 +22916,13 @@ var factories = {
|
|
|
22824
22916
|
]);
|
|
22825
22917
|
return f();
|
|
22826
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
|
+
},
|
|
22827
22926
|
'io.flow.internal.v0.unions.tax_amount': function () {
|
|
22828
22927
|
var f = faker.helpers.arrayElement([
|
|
22829
22928
|
function () { return factories['io.flow.internal.v0.models.calculated_tax_amount'](); },
|
|
@@ -23108,7 +23207,12 @@ var factories = {
|
|
|
23108
23207
|
'autogenerated',
|
|
23109
23208
|
]); },
|
|
23110
23209
|
'io.flow.label.v0.enums.label_trigger_method': function () { return faker.helpers.arrayElement(['autogenerated', 'on_demand']); },
|
|
23111
|
-
'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
|
+
]); },
|
|
23112
23216
|
'io.flow.label.v0.enums.shipment_recipient': function () { return faker.helpers.arrayElement(['customer', 'return', 'crossdock']); },
|
|
23113
23217
|
'io.flow.label.v0.enums.tracking_number_type': function () { return faker.helpers.arrayElement(['flow', 'carrier']); },
|
|
23114
23218
|
'io.flow.label.v0.models.additional_services_requested': function () { return ({
|
|
@@ -31602,10 +31706,10 @@ var factories = {
|
|
|
31602
31706
|
'emergency',
|
|
31603
31707
|
'peak',
|
|
31604
31708
|
'address_correction',
|
|
31605
|
-
'
|
|
31606
|
-
'
|
|
31607
|
-
'
|
|
31608
|
-
'
|
|
31709
|
+
'security',
|
|
31710
|
+
'eei_filing',
|
|
31711
|
+
'fixed_ddp',
|
|
31712
|
+
'fixed_currency_conversion',
|
|
31609
31713
|
]); },
|
|
31610
31714
|
'io.flow.trueup.v0.models.dead_weight': function () { return ({
|
|
31611
31715
|
weight: factories.decimal(),
|
|
@@ -31664,6 +31768,9 @@ export var makeAccountDepositRule = function () { return factories['io.flow.inte
|
|
|
31664
31768
|
export var makeAccountDepositRuleForm = function () { return factories['io.flow.internal.v0.models.account_deposit_rule_form'](); };
|
|
31665
31769
|
export var makeAccountOrdersExportRequest = function () { return factories['io.flow.internal.v0.models.account_orders_export_request'](); };
|
|
31666
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'](); };
|
|
31667
31774
|
export var makeAccountProcessingRateForm = function () { return factories['io.flow.internal.v0.models.account_processing_rate_form'](); };
|
|
31668
31775
|
export var makeAccountProcessingRates = function () { return factories['io.flow.internal.v0.models.account_processing_rates'](); };
|
|
31669
31776
|
export var makeAccountProcessingRatesDeleted = function () { return factories['io.flow.internal.v0.models.account_processing_rates_deleted'](); };
|
|
@@ -31677,12 +31784,12 @@ export var makeAccountSettingsDeleted = function () { return factories['io.flow.
|
|
|
31677
31784
|
export var makeAccountSettingsUpserted = function () { return factories['io.flow.internal.v0.models.account_settings_upserted'](); };
|
|
31678
31785
|
export var makeAccountSource = function () { return factories['io.flow.internal.v0.models.account_source'](); };
|
|
31679
31786
|
export var makeAccountStatistics = function () { return factories['io.flow.internal.v0.models.account_statistics'](); };
|
|
31680
|
-
export var makeAccountStatus = function () { return factories['io.flow.internal.v0.enums.account_status'](); };
|
|
31681
31787
|
export var makeAccountSummary = function () { return factories['io.flow.internal.v0.models.account_summary'](); };
|
|
31682
31788
|
export var makeAccountTransactionsExportRequest = function () { return factories['io.flow.internal.v0.models.account_transactions_export_request'](); };
|
|
31683
31789
|
export var makeAccountType = function () { return factories['io.flow.internal.v0.enums.account_type'](); };
|
|
31684
31790
|
export var makeAccountUpserted = function () { return factories['io.flow.internal.v0.models.account_upserted'](); };
|
|
31685
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'](); };
|
|
31686
31793
|
export var makeActionQuantity = function () { return factories['io.flow.internal.v0.models.action_quantity'](); };
|
|
31687
31794
|
export var makeAdditionalImportTax = function () { return factories['io.flow.internal.v0.models.additional_import_tax'](); };
|
|
31688
31795
|
export var makeAddressConfigurationProvinceSetting = function () { return factories['io.flow.internal.v0.models.address_configuration_province_setting'](); };
|
|
@@ -31806,14 +31913,6 @@ export var makeBillingOrganizationSettingsDeleted = function () { return factori
|
|
|
31806
31913
|
export var makeBillingOrganizationSettingsUpserted = function () { return factories['io.flow.internal.v0.models.billing_organization_settings_upserted'](); };
|
|
31807
31914
|
export var makeBillingStatementAttachment = function () { return factories['io.flow.internal.v0.models.billing_statement_attachment'](); };
|
|
31808
31915
|
export var makeBillingStatementAttachmentKey = function () { return factories['io.flow.internal.v0.enums.billing_statement_attachment_key'](); };
|
|
31809
|
-
export var makeBillingStatementBatch = function () { return factories['io.flow.internal.v0.models.billing_statement_batch'](); };
|
|
31810
|
-
export var makeBillingStatementBatchDeleted = function () { return factories['io.flow.internal.v0.models.billing_statement_batch_deleted'](); };
|
|
31811
|
-
export var makeBillingStatementBatchFileKey = function () { return factories['io.flow.internal.v0.enums.billing_statement_batch_file_key'](); };
|
|
31812
|
-
export var makeBillingStatementBatchReference = function () { return factories['io.flow.internal.v0.models.billing_statement_batch_reference'](); };
|
|
31813
|
-
export var makeBillingStatementBatchStatement = function () { return factories['io.flow.internal.v0.models.billing_statement_batch_statement'](); };
|
|
31814
|
-
export var makeBillingStatementBatchStatementDeleted = function () { return factories['io.flow.internal.v0.models.billing_statement_batch_statement_deleted'](); };
|
|
31815
|
-
export var makeBillingStatementBatchStatementUpserted = function () { return factories['io.flow.internal.v0.models.billing_statement_batch_statement_upserted'](); };
|
|
31816
|
-
export var makeBillingStatementBatchUpserted = function () { return factories['io.flow.internal.v0.models.billing_statement_batch_upserted'](); };
|
|
31817
31916
|
export var makeBillingStatementDeleted = function () { return factories['io.flow.internal.v0.models.billing_statement_deleted'](); };
|
|
31818
31917
|
export var makeBillingStatementReference = function () { return factories['io.flow.internal.v0.models.billing_statement_reference'](); };
|
|
31819
31918
|
export var makeBillingStatementSummary = function () { return factories['io.flow.internal.v0.models.billing_statement_summary'](); };
|
|
@@ -32834,7 +32933,6 @@ export var makeFiservMerchant = function () { return factories['io.flow.internal
|
|
|
32834
32933
|
export var makeFiservMerchantModificationForm = function () { return factories['io.flow.internal.v0.models.fiserv_merchant_modification_form'](); };
|
|
32835
32934
|
export var makeFiservMerchantPutForm = function () { return factories['io.flow.internal.v0.models.fiserv_merchant_put_form'](); };
|
|
32836
32935
|
export var makeFlowAccount = function () { return factories['io.flow.internal.v0.models.flow_account'](); };
|
|
32837
|
-
export var makeFlowAccountStatusForm = function () { return factories['io.flow.internal.v0.models.flow_account_status_form'](); };
|
|
32838
32936
|
export var makeFlowApp = function () { return factories['io.flow.internal.v0.enums.flow_app'](); };
|
|
32839
32937
|
export var makeFlowBillingStatement = function () { return factories['io.flow.internal.v0.models.flow_billing_statement'](); };
|
|
32840
32938
|
export var makeFlowChannelOrganization = function () { return factories['io.flow.internal.v0.models.flow_channel_organization'](); };
|
|
@@ -32883,6 +32981,7 @@ export var makeFulfillment = function () { return factories['io.flow.internal.v0
|
|
|
32883
32981
|
export var makeFulfillmentActionForm = function () { return factories['io.flow.internal.v0.models.fulfillment_action_form'](); };
|
|
32884
32982
|
export var makeFulfillmentBusiness = function () { return factories['io.flow.internal.v0.models.fulfillment_business'](); };
|
|
32885
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'](); };
|
|
32886
32985
|
export var makeFulfillmentInternalExperienceReference = function () { return factories['io.flow.internal.v0.models.fulfillment_internal_experience_reference'](); };
|
|
32887
32986
|
export var makeFulfillmentOrigin = function () { return factories['io.flow.internal.v0.models.fulfillment_origin'](); };
|
|
32888
32987
|
export var makeFulfillmentProof = function () { return factories['io.flow.internal.v0.unions.fulfillment_proof'](); };
|
|
@@ -32898,6 +32997,7 @@ export var makeFulfillmentSubsidyBreakdown = function () { return factories['io.
|
|
|
32898
32997
|
export var makeFulfillmentTrigger = function () { return factories['io.flow.internal.v0.unions.fulfillment_trigger'](); };
|
|
32899
32998
|
export var makeFulfillmentTriggerProof = function () { return factories['io.flow.internal.v0.models.fulfillment_trigger_proof'](); };
|
|
32900
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'](); };
|
|
32901
33001
|
export var makeFxFee = function () { return factories['io.flow.internal.v0.models.fx_fee'](); };
|
|
32902
33002
|
export var makeFxRevenueRecognition = function () { return factories['io.flow.internal.v0.models.fx_revenue_recognition'](); };
|
|
32903
33003
|
export var makeFxRevenueRecognitionAccount = function () { return factories['io.flow.internal.v0.models.fx_revenue_recognition_account'](); };
|
|
@@ -33318,6 +33418,7 @@ export var makeOrderPaymentAuthorization = function () { return factories['io.fl
|
|
|
33318
33418
|
export var makeOrderPlaced = function () { return factories['io.flow.internal.v0.models.order_placed'](); };
|
|
33319
33419
|
export var makeOrderRatesDataV3 = function () { return factories['io.flow.internal.v0.models.order_rates_data_v3'](); };
|
|
33320
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'](); };
|
|
33321
33422
|
export var makeOrderRevenueRegionChart = function () { return factories['io.flow.internal.v0.models.order_revenue_region_chart'](); };
|
|
33322
33423
|
export var makeOrderRevenueRegionDataPoint = function () { return factories['io.flow.internal.v0.models.order_revenue_region_data_point'](); };
|
|
33323
33424
|
export var makeOrderRevenueTimelineChart = function () { return factories['io.flow.internal.v0.models.order_revenue_timeline_chart'](); };
|
|
@@ -33331,10 +33432,14 @@ export var makeOrderTransactionDeleted = function () { return factories['io.flow
|
|
|
33331
33432
|
export var makeOrderTransactionType = function () { return factories['io.flow.internal.v0.enums.order_transaction_type'](); };
|
|
33332
33433
|
export var makeOrderTransactionUpserted = function () { return factories['io.flow.internal.v0.models.order_transaction_upserted'](); };
|
|
33333
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'](); };
|
|
33334
33436
|
export var makeOrderValidationError = function () { return factories['io.flow.internal.v0.models.order_validation_error'](); };
|
|
33335
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'](); };
|
|
33336
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'](); };
|
|
33337
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'](); };
|
|
33338
33443
|
export var makeOrganizationAccount = function () { return factories['io.flow.internal.v0.models.organization_account'](); };
|
|
33339
33444
|
export var makeOrganizationAccountDeleted = function () { return factories['io.flow.internal.v0.models.organization_account_deleted'](); };
|
|
33340
33445
|
export var makeOrganizationAccountUpsertedV2 = function () { return factories['io.flow.internal.v0.models.organization_account_upserted_v2'](); };
|
|
@@ -33446,6 +33551,7 @@ export var makePaypalRefundDeleted = function () { return factories['io.flow.int
|
|
|
33446
33551
|
export var makePaypalRefundUpserted = function () { return factories['io.flow.internal.v0.models.paypal_refund_upserted'](); };
|
|
33447
33552
|
export var makePendingBankPayment = function () { return factories['io.flow.internal.v0.models.pending_bank_payment'](); };
|
|
33448
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'](); };
|
|
33449
33555
|
export var makePhraseClassified = function () { return factories['io.flow.internal.v0.models.phrase_classified'](); };
|
|
33450
33556
|
export var makePhrasePropagated = function () { return factories['io.flow.internal.v0.models.phrase_propagated'](); };
|
|
33451
33557
|
export var makePingRequestForm = function () { return factories['io.flow.internal.v0.models.ping_request_form'](); };
|
|
@@ -33511,7 +33617,6 @@ export var makeProofOfPostingFulfilled = function () { return factories['io.flow
|
|
|
33511
33617
|
export var makeProofOfPostingOrderCancellation = function () { return factories['io.flow.internal.v0.models.proof_of_posting_order_cancellation'](); };
|
|
33512
33618
|
export var makeProofOfPostingOrderCombinedShipment = function () { return factories['io.flow.internal.v0.models.proof_of_posting_order_combined_shipment'](); };
|
|
33513
33619
|
export var makeProofOfPostingShippingNotification = function () { return factories['io.flow.internal.v0.models.proof_of_posting_shipping_notification'](); };
|
|
33514
|
-
export var makeQueuedRecord = function () { return factories['io.flow.internal.v0.models.queued_record'](); };
|
|
33515
33620
|
export var makeQuote = function () { return factories['io.flow.internal.v0.models.quote'](); };
|
|
33516
33621
|
export var makeQuoteDeleted = function () { return factories['io.flow.internal.v0.models.quote_deleted'](); };
|
|
33517
33622
|
export var makeQuoteRequest = function () { return factories['io.flow.internal.v0.models.quote_request'](); };
|
|
@@ -33862,6 +33967,7 @@ export var makeSpotRateVersion = function () { return factories['io.flow.interna
|
|
|
33862
33967
|
export var makeStandaloneAttachment = function () { return factories['io.flow.internal.v0.models.standalone_attachment'](); };
|
|
33863
33968
|
export var makeStandaloneAttachmentDeleted = function () { return factories['io.flow.internal.v0.models.standalone_attachment_deleted'](); };
|
|
33864
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'](); };
|
|
33865
33971
|
export var makeStatementStatus = function () { return factories['io.flow.internal.v0.enums.statement_status'](); };
|
|
33866
33972
|
export var makeStatementTransferTransactionLocation = function () { return factories['io.flow.internal.v0.enums.statement_transfer_transaction_location'](); };
|
|
33867
33973
|
export var makeStatisticType = function () { return factories['io.flow.internal.v0.enums.statistic_type'](); };
|
|
@@ -33921,10 +34027,12 @@ export var makeTariffEligibility = function () { return factories['io.flow.inter
|
|
|
33921
34027
|
export var makeTariffEligibilityData = function () { return factories['io.flow.internal.v0.unions.tariff_eligibility_data'](); };
|
|
33922
34028
|
export var makeTariffEligibilityForm = function () { return factories['io.flow.internal.v0.unions.tariff_eligibility_form'](); };
|
|
33923
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'](); };
|
|
33924
34031
|
export var makeTaskCount = function () { return factories['io.flow.internal.v0.models.task_count'](); };
|
|
33925
34032
|
export var makeTaskData = function () { return factories['io.flow.internal.v0.unions.task_data'](); };
|
|
33926
34033
|
export var makeTaskImport = function () { return factories['io.flow.internal.v0.models.task_import'](); };
|
|
33927
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'](); };
|
|
33928
34036
|
export var makeTaskProcessQueuedEvent = function () { return factories['io.flow.internal.v0.models.task_process_queued_event'](); };
|
|
33929
34037
|
export var makeTaskProcessorKey = function () { return factories['io.flow.internal.v0.enums.task_processor_key'](); };
|
|
33930
34038
|
export var makeTaskSummarizeCode = function () { return factories['io.flow.internal.v0.models.task_summarize_code'](); };
|
|
@@ -33971,6 +34079,10 @@ export var makeTrackingLabelDeleted = function () { return factories['io.flow.in
|
|
|
33971
34079
|
export var makeTrackingLabelEventDeletedV2 = function () { return factories['io.flow.internal.v0.models.tracking_label_event_deleted_v2'](); };
|
|
33972
34080
|
export var makeTrackingLabelEventUpsertedV2 = function () { return factories['io.flow.internal.v0.models.tracking_label_event_upserted_v2'](); };
|
|
33973
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'](); };
|
|
33974
34086
|
export var makeTrackingRequest = function () { return factories['io.flow.internal.v0.models.tracking_request'](); };
|
|
33975
34087
|
export var makeTrackingRequestUpserted = function () { return factories['io.flow.internal.v0.models.tracking_request_upserted'](); };
|
|
33976
34088
|
export var makeTrackingResponse = function () { return factories['io.flow.internal.v0.models.tracking_response'](); };
|