@flowio/api-internal-factories 0.0.112 → 0.0.114
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 +379 -76
- package/dist/esm/api-internal.js +316 -30
- package/dist/types/api-internal.d.ts +23 -7
- package/package.json +2 -2
- package/src/api-internal.ts +343 -33
package/dist/esm/api-internal.js
CHANGED
|
@@ -79,6 +79,7 @@ var factories = {
|
|
|
79
79
|
'ISSUER_RESPONSE_TIMEFRAME_EXPIRED',
|
|
80
80
|
]); },
|
|
81
81
|
'io.flow.adyen.v0.enums.http_redirect_method': function () { return faker.helpers.arrayElement(['GET', 'POST']); },
|
|
82
|
+
'io.flow.adyen.v0.enums.lifecycle_stage': function () { return faker.helpers.arrayElement(['INQUIRY', 'CHARGEBACK']); },
|
|
82
83
|
'io.flow.adyen.v0.enums.operation': function () { return faker.helpers.arrayElement(['cancel', 'capture', 'refund']); },
|
|
83
84
|
'io.flow.adyen.v0.enums.payment_method': function () { return faker.helpers.arrayElement([
|
|
84
85
|
'ach',
|
|
@@ -303,6 +304,7 @@ var factories = {
|
|
|
303
304
|
paymentMethod: factories['io.flow.adyen.v0.enums.payment_method'](),
|
|
304
305
|
reason: factories.string(),
|
|
305
306
|
success: factories.string(),
|
|
307
|
+
lifecycleStage: factories['io.flow.adyen.v0.enums.lifecycle_stage'](),
|
|
306
308
|
}); },
|
|
307
309
|
'io.flow.adyen.v0.models.modification_request': function () { return ({
|
|
308
310
|
merchantAccount: factories.string(),
|
|
@@ -1887,7 +1889,7 @@ var factories = {
|
|
|
1887
1889
|
]); },
|
|
1888
1890
|
'io.flow.common.v0.enums.delivered_duty': function () { return faker.helpers.arrayElement(['paid', 'unpaid']); },
|
|
1889
1891
|
'io.flow.common.v0.enums.discount_target': function () { return faker.helpers.arrayElement(['item', 'shipping']); },
|
|
1890
|
-
'io.flow.common.v0.enums.entity_identifier_type': function () { return faker.helpers.arrayElement(['ioss', 'voec']); },
|
|
1892
|
+
'io.flow.common.v0.enums.entity_identifier_type': function () { return faker.helpers.arrayElement(['ioss', 'voec', 'zaz']); },
|
|
1891
1893
|
'io.flow.common.v0.enums.environment': function () { return faker.helpers.arrayElement(['sandbox', 'production']); },
|
|
1892
1894
|
'io.flow.common.v0.enums.exception_type': function () { return faker.helpers.arrayElement(['open', 'closed']); },
|
|
1893
1895
|
'io.flow.common.v0.enums.goods_supply': function () { return faker.helpers.arrayElement(['export', 'intra_community', 'local']); },
|
|
@@ -6076,10 +6078,12 @@ var factories = {
|
|
|
6076
6078
|
'negative_balance_number_accounts',
|
|
6077
6079
|
'negative_balance_number_accounts_with_order_in_past_30_days',
|
|
6078
6080
|
'negative_balance_number_accounts_without_order_in_past_30_days',
|
|
6081
|
+
'negative_balance_number_offboarded_accounts',
|
|
6079
6082
|
'negative_balance_number_active_accounts_with_balance_over_1000',
|
|
6080
6083
|
'negative_balance_total',
|
|
6081
6084
|
'negative_balance_total_with_order_in_past_30_days',
|
|
6082
6085
|
'negative_balance_total_without_order_in_past_30_days',
|
|
6086
|
+
'negative_balance_total_offboarded_accounts',
|
|
6083
6087
|
'negative_balance_single_account_max',
|
|
6084
6088
|
'negative_balance_single_active_account_max',
|
|
6085
6089
|
'negative_balance_fee_total',
|
|
@@ -6098,6 +6102,31 @@ var factories = {
|
|
|
6098
6102
|
'negative_balance_failed_count',
|
|
6099
6103
|
'negative_balance_failed_total',
|
|
6100
6104
|
'negative_debit_success_rate',
|
|
6105
|
+
'current_attempt_merchant_count',
|
|
6106
|
+
'current_attempt_amount_total',
|
|
6107
|
+
'current_attempt_failed_merchant_count',
|
|
6108
|
+
'current_attempt_failed_amount_total',
|
|
6109
|
+
'current_attempt_success_ratio',
|
|
6110
|
+
'first_attempt_merchant_count',
|
|
6111
|
+
'first_attempt_amount_total',
|
|
6112
|
+
'first_attempt_failed_merchant_count',
|
|
6113
|
+
'first_attempt_failed_amount_total',
|
|
6114
|
+
'first_attempt_success_ratio',
|
|
6115
|
+
'second_attempt_merchant_count',
|
|
6116
|
+
'second_attempt_amount_total',
|
|
6117
|
+
'second_attempt_failed_merchant_count',
|
|
6118
|
+
'second_attempt_failed_amount_total',
|
|
6119
|
+
'second_attempt_success_ratio',
|
|
6120
|
+
'third_attempt_merchant_count',
|
|
6121
|
+
'third_attempt_amount_total',
|
|
6122
|
+
'third_attempt_failed_merchant_count',
|
|
6123
|
+
'third_attempt_failed_amount_total',
|
|
6124
|
+
'third_attempt_success_ratio',
|
|
6125
|
+
'fourth_plus_attempt_merchant_count',
|
|
6126
|
+
'fourth_plus_attempt_amount_total',
|
|
6127
|
+
'fourth_plus_attempt_failed_merchant_count',
|
|
6128
|
+
'fourth_plus_attempt_failed_amount_total',
|
|
6129
|
+
'fourth_plus_attempt_success_ratio',
|
|
6101
6130
|
]); },
|
|
6102
6131
|
'io.flow.internal.v0.enums.billing_statement_attachment_key': function () { return faker.helpers.arrayElement([
|
|
6103
6132
|
'invoice',
|
|
@@ -6143,6 +6172,7 @@ var factories = {
|
|
|
6143
6172
|
'trueup',
|
|
6144
6173
|
'carrier_charge',
|
|
6145
6174
|
'tax_refund',
|
|
6175
|
+
'duty_refund',
|
|
6146
6176
|
]); },
|
|
6147
6177
|
'io.flow.internal.v0.enums.browser_bundle_error_code': function () { return faker.helpers.arrayElement(['generic_error', 'country_invalid']); },
|
|
6148
6178
|
'io.flow.internal.v0.enums.calculator_engine': function () { return faker.helpers.arrayElement([
|
|
@@ -6554,6 +6584,8 @@ var factories = {
|
|
|
6554
6584
|
'partner_organization_settings_deleted',
|
|
6555
6585
|
'unassigned_merchant_guid_upserted',
|
|
6556
6586
|
'unassigned_merchant_guid_deleted',
|
|
6587
|
+
'partner_tracking_subscription_upserted',
|
|
6588
|
+
'partner_tracking_subscription_deleted',
|
|
6557
6589
|
'internal_authorization_upserted',
|
|
6558
6590
|
'internal_authorization_deleted',
|
|
6559
6591
|
'afterpay_authorization_upserted',
|
|
@@ -6580,6 +6612,8 @@ var factories = {
|
|
|
6580
6612
|
'paypal_execution_upserted',
|
|
6581
6613
|
'paypal_refund_deleted',
|
|
6582
6614
|
'paypal_refund_upserted',
|
|
6615
|
+
'paypal_dispute_upserted',
|
|
6616
|
+
'paypal_dispute_deleted',
|
|
6583
6617
|
'pricing_indicator',
|
|
6584
6618
|
'product_restriction_rule_decision_upserted',
|
|
6585
6619
|
'product_restriction_rule_decision_deleted',
|
|
@@ -6639,6 +6673,8 @@ var factories = {
|
|
|
6639
6673
|
'stripe_capture_upserted',
|
|
6640
6674
|
'stripe_refund_deleted',
|
|
6641
6675
|
'stripe_refund_upserted',
|
|
6676
|
+
'stripe_dispute_upserted',
|
|
6677
|
+
'stripe_dispute_deleted',
|
|
6642
6678
|
'liability_remittance_plan_upserted',
|
|
6643
6679
|
'liability_remittance_plan_deleted',
|
|
6644
6680
|
'svitlana_item_upserted',
|
|
@@ -6657,6 +6693,8 @@ var factories = {
|
|
|
6657
6693
|
'michaelyan_item_deleted',
|
|
6658
6694
|
'miljenko_item_upserted',
|
|
6659
6695
|
'miljenko_item_deleted',
|
|
6696
|
+
'sanjay_item_upserted',
|
|
6697
|
+
'sanjay_item_deleted',
|
|
6660
6698
|
'shruti_demo_item_upserted',
|
|
6661
6699
|
'shruti_demo_item_deleted',
|
|
6662
6700
|
'tam_item_upserted',
|
|
@@ -6675,6 +6713,8 @@ var factories = {
|
|
|
6675
6713
|
'tracking_assurance_analysis_deleted',
|
|
6676
6714
|
'tracking_assurance_job_upserted',
|
|
6677
6715
|
'tracking_assurance_job_deleted',
|
|
6716
|
+
'tracking_subscription_upserted',
|
|
6717
|
+
'tracking_subscription_deleted',
|
|
6678
6718
|
'tracking_label_dimensions_upserted',
|
|
6679
6719
|
'tracking_label_dimensions_deleted',
|
|
6680
6720
|
'tracking_request_upserted',
|
|
@@ -6719,8 +6759,6 @@ var factories = {
|
|
|
6719
6759
|
'io.flow.internal.v0.enums.harinath_item_type': function () { return faker.helpers.arrayElement(['digital', 'physical']); },
|
|
6720
6760
|
'io.flow.internal.v0.enums.harmonization_decision_source': function () { return faker.helpers.arrayElement(['human', 'legacy_model', 'enterprise_model']); },
|
|
6721
6761
|
'io.flow.internal.v0.enums.http_method': function () { return faker.helpers.arrayElement(['get', 'post']); },
|
|
6722
|
-
'io.flow.internal.v0.enums.inventory_check_service': function () { return faker.helpers.arrayElement(['sfcc', 'gymboree']); },
|
|
6723
|
-
'io.flow.internal.v0.enums.inventory_reservation': function () { return faker.helpers.arrayElement(['synchronous-on-submit']); },
|
|
6724
6762
|
'io.flow.internal.v0.enums.item_classification_action': function () { return faker.helpers.arrayElement(['ACCEPT', 'MANUAL', 'REJECT']); },
|
|
6725
6763
|
'io.flow.internal.v0.enums.item_classification_status': function () { return faker.helpers.arrayElement([
|
|
6726
6764
|
'unknown',
|
|
@@ -6773,6 +6811,7 @@ var factories = {
|
|
|
6773
6811
|
'carrier_credit',
|
|
6774
6812
|
'negative_balance_guarantee',
|
|
6775
6813
|
'bank_payment_failure',
|
|
6814
|
+
'non_fraud_chargeback',
|
|
6776
6815
|
]); },
|
|
6777
6816
|
'io.flow.internal.v0.enums.marketing_gateway_account_connection_status': function () { return faker.helpers.arrayElement([
|
|
6778
6817
|
'not_connected',
|
|
@@ -6999,6 +7038,7 @@ var factories = {
|
|
|
6999
7038
|
'payments',
|
|
7000
7039
|
'reconcile_not_recorded',
|
|
7001
7040
|
'products_record',
|
|
7041
|
+
'disputes',
|
|
7002
7042
|
]); },
|
|
7003
7043
|
'io.flow.internal.v0.enums.reporting_fulfillment_is_virtual': function () { return faker.helpers.arrayElement(['all', 'mixed', 'none']); },
|
|
7004
7044
|
'io.flow.internal.v0.enums.reporting_scheme': function () { return faker.helpers.arrayElement([
|
|
@@ -7015,7 +7055,7 @@ var factories = {
|
|
|
7015
7055
|
'io.flow.internal.v0.enums.revenue_type': function () { return faker.helpers.arrayElement(['mor', 'fx', 'duty_assurance']); },
|
|
7016
7056
|
'io.flow.internal.v0.enums.risk_check': function () { return faker.helpers.arrayElement(['three_d_secure']); },
|
|
7017
7057
|
'io.flow.internal.v0.enums.risk_evaluation': function () { return faker.helpers.arrayElement(['Pending', 'High-Risk', 'Low-Risk', 'Restricted-Party', 'none']); },
|
|
7018
|
-
'io.flow.internal.v0.enums.
|
|
7058
|
+
'io.flow.internal.v0.enums.sanjay_item_type': function () { return faker.helpers.arrayElement(['digital', 'physical']); },
|
|
7019
7059
|
'io.flow.internal.v0.enums.service_name': function () { return faker.helpers.arrayElement(['catalog', 'demandware', 'metric']); },
|
|
7020
7060
|
'io.flow.internal.v0.enums.session_country_status': function () { return faker.helpers.arrayElement(['enabled', 'disabled']); },
|
|
7021
7061
|
'io.flow.internal.v0.enums.shopify_check_inventory_error_code': function () { return faker.helpers.arrayElement(['inventory_out_of_stock']); },
|
|
@@ -7299,6 +7339,10 @@ var factories = {
|
|
|
7299
7339
|
transfers: factories['io.flow.common.v0.models.price'](),
|
|
7300
7340
|
balance: factories['io.flow.common.v0.models.price'](),
|
|
7301
7341
|
pending: factories['io.flow.common.v0.models.price'](),
|
|
7342
|
+
additional_balances: factories['io.flow.internal.v0.models.account_statistics_additional_balances'](),
|
|
7343
|
+
}); },
|
|
7344
|
+
'io.flow.internal.v0.models.account_statistics_additional_balances': function () { return ({
|
|
7345
|
+
on_hold: factories['io.flow.common.v0.models.price'](),
|
|
7302
7346
|
}); },
|
|
7303
7347
|
'io.flow.internal.v0.models.account_summary': function () { return ({
|
|
7304
7348
|
id: factories.string(),
|
|
@@ -8355,6 +8399,10 @@ var factories = {
|
|
|
8355
8399
|
organization: factories.string(),
|
|
8356
8400
|
calculator_organization_settings: factories['io.flow.internal.v0.models.calculator_organization_settings'](),
|
|
8357
8401
|
}); },
|
|
8402
|
+
'io.flow.internal.v0.models.call_record': function () { return ({
|
|
8403
|
+
id: factories.string(),
|
|
8404
|
+
request_body: factories.string(),
|
|
8405
|
+
}); },
|
|
8358
8406
|
'io.flow.internal.v0.models.carrier_account': function () { return ({
|
|
8359
8407
|
id: factories.string(),
|
|
8360
8408
|
carrier: factories['io.flow.fulfillment.v0.models.carrier_reference'](),
|
|
@@ -8577,6 +8625,7 @@ var factories = {
|
|
|
8577
8625
|
id: factories.string(),
|
|
8578
8626
|
packaging: arrayOf(function () { return factories['io.flow.fulfillment.v0.models.packaging'](); }),
|
|
8579
8627
|
shipping_address_contact: factories['io.flow.common.v0.models.contact'](),
|
|
8628
|
+
location_fallback: factories['io.flow.common.v0.models.address'](),
|
|
8580
8629
|
}); },
|
|
8581
8630
|
'io.flow.internal.v0.models.center_defaults_deleted': function () { return ({
|
|
8582
8631
|
discriminator: 'center_defaults_deleted',
|
|
@@ -8588,6 +8637,7 @@ var factories = {
|
|
|
8588
8637
|
'io.flow.internal.v0.models.center_defaults_form': function () { return ({
|
|
8589
8638
|
packaging: arrayOf(function () { return factories['io.flow.fulfillment.v0.models.packaging'](); }),
|
|
8590
8639
|
shipping_address_contact: factories['io.flow.common.v0.models.contact'](),
|
|
8640
|
+
location_fallback: factories['io.flow.common.v0.models.address'](),
|
|
8591
8641
|
}); },
|
|
8592
8642
|
'io.flow.internal.v0.models.center_defaults_upserted': function () { return ({
|
|
8593
8643
|
discriminator: 'center_defaults_upserted',
|
|
@@ -10021,6 +10071,16 @@ var factories = {
|
|
|
10021
10071
|
category: factories['io.flow.internal.v0.enums.dispute_category'](),
|
|
10022
10072
|
status: factories['io.flow.internal.v0.enums.dispute_status'](),
|
|
10023
10073
|
}); },
|
|
10074
|
+
'io.flow.internal.v0.models.dispute_record': function () { return ({
|
|
10075
|
+
id: factories.string(),
|
|
10076
|
+
organization: factories['io.flow.internal.v0.models.reporting_organization_summary'](),
|
|
10077
|
+
order: factories['io.flow.internal.v0.models.reporting_order_summary'](),
|
|
10078
|
+
status: factories['io.flow.internal.v0.enums.dispute_status'](),
|
|
10079
|
+
processor: factories['io.flow.internal.v0.enums.dispute_processor'](),
|
|
10080
|
+
reporting_category: factories['io.flow.internal.v0.enums.dispute_reporting_category'](),
|
|
10081
|
+
defense_outcome: factories['io.flow.internal.v0.enums.dispute_defense_outcome'](),
|
|
10082
|
+
chargeback_amount: factories['io.flow.common.v0.models.money_with_base'](),
|
|
10083
|
+
}); },
|
|
10024
10084
|
'io.flow.internal.v0.models.dispute_status_form': function () { return ({
|
|
10025
10085
|
status: factories['io.flow.internal.v0.enums.dispute_status'](),
|
|
10026
10086
|
}); },
|
|
@@ -10988,6 +11048,7 @@ var factories = {
|
|
|
10988
11048
|
payment_authorization_id: factories.string(),
|
|
10989
11049
|
decline_reason: factories['io.flow.internal.v0.unions.decline_reason'](),
|
|
10990
11050
|
created_at: factories.date_time_iso_8601(),
|
|
11051
|
+
has_provider_link: factories.boolean(),
|
|
10991
11052
|
}); },
|
|
10992
11053
|
'io.flow.internal.v0.models.fraud_review_authorization': function () { return ({
|
|
10993
11054
|
id: factories.string(),
|
|
@@ -11005,6 +11066,7 @@ var factories = {
|
|
|
11005
11066
|
payment_authorization_id: factories.string(),
|
|
11006
11067
|
decline_reason: factories['io.flow.internal.v0.unions.decline_reason'](),
|
|
11007
11068
|
created_at: factories.date_time_iso_8601(),
|
|
11069
|
+
has_provider_link: factories.boolean(),
|
|
11008
11070
|
}); },
|
|
11009
11071
|
'io.flow.internal.v0.models.fraud_review_authorization_decision': function () { return ({
|
|
11010
11072
|
id: factories.string(),
|
|
@@ -11715,17 +11777,7 @@ var factories = {
|
|
|
11715
11777
|
inventory_item_id: factories.long(),
|
|
11716
11778
|
shopify_shop_id: factories.long(),
|
|
11717
11779
|
shopify_inventory_item: factories['io.flow.shopify.external.v0.models.shopify_inventory_item_summary'](),
|
|
11718
|
-
|
|
11719
|
-
'io.flow.internal.v0.models.inventory_organization_settings': function () { return ({
|
|
11720
|
-
id: factories.string(),
|
|
11721
|
-
inventory_reservation: factories['io.flow.internal.v0.enums.inventory_reservation'](),
|
|
11722
|
-
inventory_check_service: factories['io.flow.internal.v0.enums.inventory_check_service'](),
|
|
11723
|
-
inventory_check_service_root_url: factories.string(),
|
|
11724
|
-
}); },
|
|
11725
|
-
'io.flow.internal.v0.models.inventory_organization_settings_form': function () { return ({
|
|
11726
|
-
inventory_reservation: factories['io.flow.internal.v0.enums.inventory_reservation'](),
|
|
11727
|
-
inventory_check_service: factories['io.flow.internal.v0.enums.inventory_check_service'](),
|
|
11728
|
-
inventory_check_service_root_url: factories.string(),
|
|
11780
|
+
deleted_at: factories.date_time_iso_8601(),
|
|
11729
11781
|
}); },
|
|
11730
11782
|
'io.flow.internal.v0.models.invoice': function () { return ({
|
|
11731
11783
|
id: factories.string(),
|
|
@@ -13176,8 +13228,10 @@ var factories = {
|
|
|
13176
13228
|
}); },
|
|
13177
13229
|
'io.flow.internal.v0.models.negative_debit_metrics': function () { return ({
|
|
13178
13230
|
current_attempt: factories['io.flow.internal.v0.models.attempt_statistics'](),
|
|
13231
|
+
first_attempt: factories['io.flow.internal.v0.models.attempt_statistics'](),
|
|
13179
13232
|
second_attempt: factories['io.flow.internal.v0.models.attempt_statistics'](),
|
|
13180
13233
|
third_attempt: factories['io.flow.internal.v0.models.attempt_statistics'](),
|
|
13234
|
+
forth_plus_attempts: factories['io.flow.internal.v0.models.attempt_statistics'](),
|
|
13181
13235
|
}); },
|
|
13182
13236
|
'io.flow.internal.v0.models.next_billing_statement': function () { return ({
|
|
13183
13237
|
date: factories.date_time_iso_8601(),
|
|
@@ -13824,6 +13878,8 @@ var factories = {
|
|
|
13824
13878
|
product_count: factories.long(),
|
|
13825
13879
|
restricted_product_count: factories.long(),
|
|
13826
13880
|
last_order_submitted_at: factories.date_time_iso_8601(),
|
|
13881
|
+
matching_positive_keywords: arrayOf(function () { return factories.string(); }),
|
|
13882
|
+
product_categories: arrayOf(function () { return factories.string(); }),
|
|
13827
13883
|
}); },
|
|
13828
13884
|
'io.flow.internal.v0.models.organization_metadata_deleted': function () { return ({
|
|
13829
13885
|
discriminator: 'organization_metadata_deleted',
|
|
@@ -14170,11 +14226,17 @@ var factories = {
|
|
|
14170
14226
|
organization: factories.string(),
|
|
14171
14227
|
partner_organization_settings: factories['io.flow.internal.v0.models.partner_organization_settings'](),
|
|
14172
14228
|
}); },
|
|
14173
|
-
'io.flow.internal.v0.models.
|
|
14229
|
+
'io.flow.internal.v0.models.partner_tracking_subscription_deleted': function () { return ({
|
|
14230
|
+
discriminator: 'partner_tracking_subscription_deleted',
|
|
14231
|
+
event_id: factories.string(),
|
|
14232
|
+
timestamp: factories.date_time_iso_8601(),
|
|
14174
14233
|
id: factories.string(),
|
|
14175
|
-
|
|
14176
|
-
|
|
14177
|
-
|
|
14234
|
+
}); },
|
|
14235
|
+
'io.flow.internal.v0.models.partner_tracking_subscription_upserted': function () { return ({
|
|
14236
|
+
discriminator: 'partner_tracking_subscription_upserted',
|
|
14237
|
+
event_id: factories.string(),
|
|
14238
|
+
timestamp: factories.date_time_iso_8601(),
|
|
14239
|
+
partner_tracking_subscription: factories['io.flow.partner.v0.models.partner_tracking_subscription'](),
|
|
14178
14240
|
}); },
|
|
14179
14241
|
'io.flow.internal.v0.models.passphrase': function () { return ({
|
|
14180
14242
|
id: factories.string(),
|
|
@@ -14317,6 +14379,18 @@ var factories = {
|
|
|
14317
14379
|
payment_id: factories.string(),
|
|
14318
14380
|
payer_id: factories.string(),
|
|
14319
14381
|
}); },
|
|
14382
|
+
'io.flow.internal.v0.models.paypal_dispute_deleted': function () { return ({
|
|
14383
|
+
discriminator: 'paypal_dispute_deleted',
|
|
14384
|
+
event_id: factories.string(),
|
|
14385
|
+
timestamp: factories.date_time_iso_8601(),
|
|
14386
|
+
id: factories.string(),
|
|
14387
|
+
}); },
|
|
14388
|
+
'io.flow.internal.v0.models.paypal_dispute_upserted': function () { return ({
|
|
14389
|
+
discriminator: 'paypal_dispute_upserted',
|
|
14390
|
+
event_id: factories.string(),
|
|
14391
|
+
timestamp: factories.date_time_iso_8601(),
|
|
14392
|
+
dispute: factories['io.flow.internal.v0.models.paypal_internal_dispute'](),
|
|
14393
|
+
}); },
|
|
14320
14394
|
'io.flow.internal.v0.models.paypal_execution_deleted': function () { return ({
|
|
14321
14395
|
discriminator: 'paypal_execution_deleted',
|
|
14322
14396
|
event_id: factories.string(),
|
|
@@ -14329,6 +14403,46 @@ var factories = {
|
|
|
14329
14403
|
timestamp: factories.date_time_iso_8601(),
|
|
14330
14404
|
execution: factories['io.flow.internal.v0.models.paypal_internal_execution'](),
|
|
14331
14405
|
}); },
|
|
14406
|
+
'io.flow.internal.v0.models.paypal_internal_dispute': function () { return ({
|
|
14407
|
+
id: factories.string(),
|
|
14408
|
+
dispute_id: factories.string(),
|
|
14409
|
+
create_time: factories.date_time_iso_8601(),
|
|
14410
|
+
update_time: factories.date_time_iso_8601(),
|
|
14411
|
+
buyer_transaction_id: factories.string(),
|
|
14412
|
+
seller_transaction_id: factories.string(),
|
|
14413
|
+
transaction_reference_id: factories.string(),
|
|
14414
|
+
transaction_create_time: factories.date_time_iso_8601(),
|
|
14415
|
+
transaction_status: factories.string(),
|
|
14416
|
+
transaction_gross_amount: factories.string(),
|
|
14417
|
+
transaction_gross_currency: factories.string(),
|
|
14418
|
+
transaction_invoice_number: factories.string(),
|
|
14419
|
+
transaction_custom: factories.string(),
|
|
14420
|
+
buyer_name: factories.string(),
|
|
14421
|
+
seller_merchant_id: factories.string(),
|
|
14422
|
+
seller_merchant_name: factories.string(),
|
|
14423
|
+
items: arrayOf(function () { return factories.object(); }),
|
|
14424
|
+
other_disputed_transactions: arrayOf(function () { return factories.object(); }),
|
|
14425
|
+
reason: factories.string(),
|
|
14426
|
+
status: factories.string(),
|
|
14427
|
+
dispute_amount: factories.string(),
|
|
14428
|
+
dispute_currency: factories.string(),
|
|
14429
|
+
dispute_outcome_code: factories.string(),
|
|
14430
|
+
dispute_outcome_amount_refunded: factories.string(),
|
|
14431
|
+
dispute_outcome_currency: factories.string(),
|
|
14432
|
+
dispute_life_cycle_stage: factories.string(),
|
|
14433
|
+
dispute_channel: factories.string(),
|
|
14434
|
+
messages: arrayOf(function () { return factories.object(); }),
|
|
14435
|
+
evidences: arrayOf(function () { return factories.object(); }),
|
|
14436
|
+
buyer_response_due_date: factories.date_time_iso_8601(),
|
|
14437
|
+
seller_response_due_date: factories.date_time_iso_8601(),
|
|
14438
|
+
offer: factories.object(),
|
|
14439
|
+
communication_details: factories.object(),
|
|
14440
|
+
links: arrayOf(function () { return factories.object(); }),
|
|
14441
|
+
previous_status: factories.string(),
|
|
14442
|
+
updated_by_user_id: factories.string(),
|
|
14443
|
+
created_at: factories.date_time_iso_8601(),
|
|
14444
|
+
updated_at: factories.date_time_iso_8601(),
|
|
14445
|
+
}); },
|
|
14332
14446
|
'io.flow.internal.v0.models.paypal_internal_execution': function () { return ({
|
|
14333
14447
|
id: factories.string(),
|
|
14334
14448
|
currency: factories.string(),
|
|
@@ -15271,6 +15385,7 @@ var factories = {
|
|
|
15271
15385
|
from: factories.date_time_iso_8601(),
|
|
15272
15386
|
to: factories.date_time_iso_8601(),
|
|
15273
15387
|
payment_type: factories['io.flow.internal.v0.enums.report_payment_type'](),
|
|
15388
|
+
organizations: arrayOf(function () { return factories['io.flow.internal.v0.models.report_organization_reference'](); }),
|
|
15274
15389
|
orders: arrayOf(function () { return factories['io.flow.internal.v0.models.report_order_reference'](); }),
|
|
15275
15390
|
recipients: arrayOf(function () { return factories.string(); }),
|
|
15276
15391
|
}); },
|
|
@@ -15281,6 +15396,9 @@ var factories = {
|
|
|
15281
15396
|
organization_id: factories.string(),
|
|
15282
15397
|
order_number: factories.string(),
|
|
15283
15398
|
}); },
|
|
15399
|
+
'io.flow.internal.v0.models.report_organization_reference': function () { return ({
|
|
15400
|
+
organization_id: factories.string(),
|
|
15401
|
+
}); },
|
|
15284
15402
|
'io.flow.internal.v0.models.report_owner': function () { return ({
|
|
15285
15403
|
name: factories.string(),
|
|
15286
15404
|
}); },
|
|
@@ -15345,9 +15463,6 @@ var factories = {
|
|
|
15345
15463
|
sales_records: arrayOf(function () { return factories.object(); }),
|
|
15346
15464
|
refund_records: arrayOf(function () { return factories.object(); }),
|
|
15347
15465
|
}); },
|
|
15348
|
-
'io.flow.internal.v0.models.reporting_entity': function () { return ({
|
|
15349
|
-
id: factories.string(),
|
|
15350
|
-
}); },
|
|
15351
15466
|
'io.flow.internal.v0.models.reporting_fulfillment': function () { return ({
|
|
15352
15467
|
id: factories.string(),
|
|
15353
15468
|
sequence_number: factories.long(),
|
|
@@ -15423,6 +15538,7 @@ var factories = {
|
|
|
15423
15538
|
discount: factories['io.flow.internal.v0.models.reporting_monetary_value'](),
|
|
15424
15539
|
total: factories['io.flow.internal.v0.models.reporting_monetary_value'](),
|
|
15425
15540
|
tax_refund: factories['io.flow.internal.v0.models.reporting_monetary_value'](),
|
|
15541
|
+
duty_refund: factories['io.flow.internal.v0.models.reporting_monetary_value'](),
|
|
15426
15542
|
}); },
|
|
15427
15543
|
'io.flow.internal.v0.models.reporting_monetary_value': function () { return ({
|
|
15428
15544
|
transaction: factories.decimal(),
|
|
@@ -15709,6 +15825,32 @@ var factories = {
|
|
|
15709
15825
|
status: factories['io.flow.internal.v0.enums.restriction_status'](),
|
|
15710
15826
|
count: factories.long(),
|
|
15711
15827
|
}); },
|
|
15828
|
+
'io.flow.internal.v0.models.restrictions_dailyops': function () { return ({
|
|
15829
|
+
id: factories.string(),
|
|
15830
|
+
report_date: factories.date_iso_8601(),
|
|
15831
|
+
num_orgs_setup_complete_with_pvs: factories.decimal(),
|
|
15832
|
+
num_products_setup_complete_with_pvs: factories.decimal(),
|
|
15833
|
+
num_orgs_transacting_with_pvs: factories.decimal(),
|
|
15834
|
+
num_products_transacting_with_pvs: factories.decimal(),
|
|
15835
|
+
oldest_pv_product_date_setup_complete: factories.date_iso_8601(),
|
|
15836
|
+
oldest_pv_product_date_transacting: factories.date_iso_8601(),
|
|
15837
|
+
num_orgs_setup_complete_prs: factories.decimal(),
|
|
15838
|
+
num_products_setup_complete_prs: factories.decimal(),
|
|
15839
|
+
num_orgs_transacting_prs: factories.decimal(),
|
|
15840
|
+
num_products_transacting_prs: factories.decimal(),
|
|
15841
|
+
oldest_pr_product_date_setup_complete: factories.date_iso_8601(),
|
|
15842
|
+
oldest_pr_date_transacting: factories.date_iso_8601(),
|
|
15843
|
+
percent_products_reviewed_transacting: factories.decimal(),
|
|
15844
|
+
num_pv_inflow_net_new: factories.decimal(),
|
|
15845
|
+
num_pv_outflow_human_decisions: factories.decimal(),
|
|
15846
|
+
num_pv_outflow_auto_review_decisions: factories.decimal(),
|
|
15847
|
+
num_pv_outflow_side_effect_decisions: factories.decimal(),
|
|
15848
|
+
num_pr_inflow_net_new: factories.decimal(),
|
|
15849
|
+
num_pr_outflow_human_decisions: factories.decimal(),
|
|
15850
|
+
num_pr_outflow_auto_review_decisions: factories.decimal(),
|
|
15851
|
+
num_pr_outflow_side_effect_decisions: factories.decimal(),
|
|
15852
|
+
num_pending_decisions_transacting: factories.decimal(),
|
|
15853
|
+
}); },
|
|
15712
15854
|
'io.flow.internal.v0.models.resync_by_destinations': function () { return ({
|
|
15713
15855
|
destinations: arrayOf(function () { return factories['io.flow.reference.v0.models.country'](); }),
|
|
15714
15856
|
}); },
|
|
@@ -15792,7 +15934,6 @@ var factories = {
|
|
|
15792
15934
|
parent: factories['io.flow.internal.v0.models.record_reference'](),
|
|
15793
15935
|
type: factories['io.flow.internal.v0.enums.revenue_record_type'](),
|
|
15794
15936
|
order: factories['io.flow.internal.v0.models.reporting_order_summary'](),
|
|
15795
|
-
entity: factories['io.flow.internal.v0.models.reporting_entity'](),
|
|
15796
15937
|
vendor: factories['io.flow.internal.v0.models.reporting_vendor'](),
|
|
15797
15938
|
currencies: factories['io.flow.internal.v0.models.reporting_currencies'](),
|
|
15798
15939
|
conversion_rate: factories['io.flow.internal.v0.models.reporting_conversion_rates'](),
|
|
@@ -15842,6 +15983,33 @@ var factories = {
|
|
|
15842
15983
|
'io.flow.internal.v0.models.sandbox_setup_form': function () { return ({
|
|
15843
15984
|
requested_by: factories.string(),
|
|
15844
15985
|
}); },
|
|
15986
|
+
'io.flow.internal.v0.models.sanjay_item': function () { return ({
|
|
15987
|
+
id: factories.string(),
|
|
15988
|
+
number: factories.string(),
|
|
15989
|
+
amount: factories['io.flow.common.v0.models.price'](),
|
|
15990
|
+
description: factories.string(),
|
|
15991
|
+
type: factories['io.flow.internal.v0.enums.sanjay_item_type'](),
|
|
15992
|
+
added_on: factories.date_time_iso_8601(),
|
|
15993
|
+
}); },
|
|
15994
|
+
'io.flow.internal.v0.models.sanjay_item_deleted': function () { return ({
|
|
15995
|
+
discriminator: 'sanjay_item_deleted',
|
|
15996
|
+
event_id: factories.string(),
|
|
15997
|
+
timestamp: factories.date_time_iso_8601(),
|
|
15998
|
+
id: factories.string(),
|
|
15999
|
+
}); },
|
|
16000
|
+
'io.flow.internal.v0.models.sanjay_item_form': function () { return ({
|
|
16001
|
+
number: factories.string(),
|
|
16002
|
+
amount: factories['io.flow.common.v0.models.price'](),
|
|
16003
|
+
description: factories.string(),
|
|
16004
|
+
type: factories['io.flow.internal.v0.enums.sanjay_item_type'](),
|
|
16005
|
+
added_on: factories.date_time_iso_8601(),
|
|
16006
|
+
}); },
|
|
16007
|
+
'io.flow.internal.v0.models.sanjay_item_upserted': function () { return ({
|
|
16008
|
+
discriminator: 'sanjay_item_upserted',
|
|
16009
|
+
event_id: factories.string(),
|
|
16010
|
+
timestamp: factories.date_time_iso_8601(),
|
|
16011
|
+
item: factories['io.flow.internal.v0.models.sanjay_item'](),
|
|
16012
|
+
}); },
|
|
15845
16013
|
'io.flow.internal.v0.models.scheduled_payment': function () { return ({
|
|
15846
16014
|
payment: factories['io.flow.internal.v0.models.report_payment'](),
|
|
15847
16015
|
bank_account: factories['io.flow.internal.v0.models.report_bank_account_cleartext'](),
|
|
@@ -16362,6 +16530,12 @@ var factories = {
|
|
|
16362
16530
|
send_order_receipt: factories.boolean(),
|
|
16363
16531
|
send_inventory_update: factories.boolean(),
|
|
16364
16532
|
}); },
|
|
16533
|
+
'io.flow.internal.v0.models.shopify_partner_webhook': function () { return ({
|
|
16534
|
+
placeholder: factories.boolean(),
|
|
16535
|
+
}); },
|
|
16536
|
+
'io.flow.internal.v0.models.shopify_partner_webhook_raw': function () { return ({
|
|
16537
|
+
placeholder: factories.boolean(),
|
|
16538
|
+
}); },
|
|
16365
16539
|
'io.flow.internal.v0.models.shopify_payment_summary': function () { return ({
|
|
16366
16540
|
description: factories.string(),
|
|
16367
16541
|
address: factories['io.flow.common.v0.models.address'](),
|
|
@@ -16800,6 +16974,18 @@ var factories = {
|
|
|
16800
16974
|
timestamp: factories.date_time_iso_8601(),
|
|
16801
16975
|
capture: factories['io.flow.internal.v0.models.stripe_internal_capture'](),
|
|
16802
16976
|
}); },
|
|
16977
|
+
'io.flow.internal.v0.models.stripe_dispute_deleted': function () { return ({
|
|
16978
|
+
discriminator: 'stripe_dispute_deleted',
|
|
16979
|
+
event_id: factories.string(),
|
|
16980
|
+
timestamp: factories.date_time_iso_8601(),
|
|
16981
|
+
id: factories.string(),
|
|
16982
|
+
}); },
|
|
16983
|
+
'io.flow.internal.v0.models.stripe_dispute_upserted': function () { return ({
|
|
16984
|
+
discriminator: 'stripe_dispute_upserted',
|
|
16985
|
+
event_id: factories.string(),
|
|
16986
|
+
timestamp: factories.date_time_iso_8601(),
|
|
16987
|
+
dispute: factories['io.flow.internal.v0.models.stripe_internal_dispute'](),
|
|
16988
|
+
}); },
|
|
16803
16989
|
'io.flow.internal.v0.models.stripe_internal_authorization': function () { return ({
|
|
16804
16990
|
id: factories.string(),
|
|
16805
16991
|
flow_authorization_id: factories.string(),
|
|
@@ -16819,6 +17005,33 @@ var factories = {
|
|
|
16819
17005
|
request: factories.object(),
|
|
16820
17006
|
response: factories.object(),
|
|
16821
17007
|
}); },
|
|
17008
|
+
'io.flow.internal.v0.models.stripe_internal_dispute': function () { return ({
|
|
17009
|
+
id: factories.string(),
|
|
17010
|
+
stripe_id: factories.string(),
|
|
17011
|
+
amount: factories.integer(),
|
|
17012
|
+
charge_id: factories.string(),
|
|
17013
|
+
currency: factories.string(),
|
|
17014
|
+
evidence: factories.object(),
|
|
17015
|
+
metadata: factories.object(),
|
|
17016
|
+
payment_intent_id: factories.string(),
|
|
17017
|
+
reason: factories.string(),
|
|
17018
|
+
status: factories.string(),
|
|
17019
|
+
connected_account: factories.string(),
|
|
17020
|
+
balance_transactions: arrayOf(function () { return factories.object(); }),
|
|
17021
|
+
dispute_created_at: factories.date_time_iso_8601(),
|
|
17022
|
+
dispute_expires_at: factories.date_time_iso_8601(),
|
|
17023
|
+
has_evidence: factories.boolean(),
|
|
17024
|
+
past_due: factories.boolean(),
|
|
17025
|
+
submission_count: factories.integer(),
|
|
17026
|
+
is_charge_refundable: factories.boolean(),
|
|
17027
|
+
live_mode: factories.boolean(),
|
|
17028
|
+
payment_method_type: factories.string(),
|
|
17029
|
+
payment_method_reason_code: factories.string(),
|
|
17030
|
+
payment_method_card_brand: factories.string(),
|
|
17031
|
+
updated_by_user_id: factories.string(),
|
|
17032
|
+
created_at: factories.date_time_iso_8601(),
|
|
17033
|
+
updated_at: factories.date_time_iso_8601(),
|
|
17034
|
+
}); },
|
|
16822
17035
|
'io.flow.internal.v0.models.stripe_internal_refund': function () { return ({
|
|
16823
17036
|
id: factories.string(),
|
|
16824
17037
|
flow_refund_id: factories.string(),
|
|
@@ -17433,6 +17646,31 @@ var factories = {
|
|
|
17433
17646
|
organization: factories.string(),
|
|
17434
17647
|
tracking_response: factories['io.flow.internal.v0.models.tracking_response'](),
|
|
17435
17648
|
}); },
|
|
17649
|
+
'io.flow.internal.v0.models.tracking_subscription': function () { return ({
|
|
17650
|
+
id: factories.string(),
|
|
17651
|
+
organization_id: factories.string(),
|
|
17652
|
+
carrier_tracking_number: factories.string(),
|
|
17653
|
+
carrier_id: factories.string(),
|
|
17654
|
+
label_id: factories.string(),
|
|
17655
|
+
label_origin: factories['io.flow.fulfillment.v0.models.shipping_address'](),
|
|
17656
|
+
label_destination: factories['io.flow.fulfillment.v0.models.shipping_address'](),
|
|
17657
|
+
status: factories['io.flow.tracking.v0.enums.tracking_status'](),
|
|
17658
|
+
events: arrayOf(function () { return factories['io.flow.tracking.v0.models.tracking_event'](); }),
|
|
17659
|
+
external_reference_key: factories.string(),
|
|
17660
|
+
external_reference_source: factories.string(),
|
|
17661
|
+
}); },
|
|
17662
|
+
'io.flow.internal.v0.models.tracking_subscription_deleted': function () { return ({
|
|
17663
|
+
discriminator: 'tracking_subscription_deleted',
|
|
17664
|
+
event_id: factories.string(),
|
|
17665
|
+
timestamp: factories.date_time_iso_8601(),
|
|
17666
|
+
id: factories.string(),
|
|
17667
|
+
}); },
|
|
17668
|
+
'io.flow.internal.v0.models.tracking_subscription_upserted': function () { return ({
|
|
17669
|
+
discriminator: 'tracking_subscription_upserted',
|
|
17670
|
+
event_id: factories.string(),
|
|
17671
|
+
timestamp: factories.date_time_iso_8601(),
|
|
17672
|
+
tracking_subscription: factories['io.flow.internal.v0.models.tracking_subscription'](),
|
|
17673
|
+
}); },
|
|
17436
17674
|
'io.flow.internal.v0.models.tracking_upserted': function () { return ({
|
|
17437
17675
|
discriminator: 'tracking_upserted',
|
|
17438
17676
|
event_id: factories.string(),
|
|
@@ -18135,6 +18373,8 @@ var factories = {
|
|
|
18135
18373
|
function () { return factories['io.flow.internal.v0.models.partner_organization_settings_deleted'](); },
|
|
18136
18374
|
function () { return factories['io.flow.internal.v0.models.unassigned_merchant_guid_upserted'](); },
|
|
18137
18375
|
function () { return factories['io.flow.internal.v0.models.unassigned_merchant_guid_deleted'](); },
|
|
18376
|
+
function () { return factories['io.flow.internal.v0.models.partner_tracking_subscription_upserted'](); },
|
|
18377
|
+
function () { return factories['io.flow.internal.v0.models.partner_tracking_subscription_deleted'](); },
|
|
18138
18378
|
function () { return factories['io.flow.internal.v0.models.internal_authorization_upserted'](); },
|
|
18139
18379
|
function () { return factories['io.flow.internal.v0.models.internal_authorization_deleted'](); },
|
|
18140
18380
|
function () { return factories['io.flow.internal.v0.models.afterpay_authorization_upserted'](); },
|
|
@@ -18161,6 +18401,8 @@ var factories = {
|
|
|
18161
18401
|
function () { return factories['io.flow.internal.v0.models.paypal_execution_upserted'](); },
|
|
18162
18402
|
function () { return factories['io.flow.internal.v0.models.paypal_refund_deleted'](); },
|
|
18163
18403
|
function () { return factories['io.flow.internal.v0.models.paypal_refund_upserted'](); },
|
|
18404
|
+
function () { return factories['io.flow.internal.v0.models.paypal_dispute_upserted'](); },
|
|
18405
|
+
function () { return factories['io.flow.internal.v0.models.paypal_dispute_deleted'](); },
|
|
18164
18406
|
function () { return factories['io.flow.internal.v0.models.pricing_indicator'](); },
|
|
18165
18407
|
function () { return factories['io.flow.internal.v0.models.product_restriction_rule_decision_upserted'](); },
|
|
18166
18408
|
function () { return factories['io.flow.internal.v0.models.product_restriction_rule_decision_deleted'](); },
|
|
@@ -18220,6 +18462,8 @@ var factories = {
|
|
|
18220
18462
|
function () { return factories['io.flow.internal.v0.models.stripe_capture_upserted'](); },
|
|
18221
18463
|
function () { return factories['io.flow.internal.v0.models.stripe_refund_deleted'](); },
|
|
18222
18464
|
function () { return factories['io.flow.internal.v0.models.stripe_refund_upserted'](); },
|
|
18465
|
+
function () { return factories['io.flow.internal.v0.models.stripe_dispute_upserted'](); },
|
|
18466
|
+
function () { return factories['io.flow.internal.v0.models.stripe_dispute_deleted'](); },
|
|
18223
18467
|
function () { return factories['io.flow.internal.v0.models.liability_remittance_plan_upserted'](); },
|
|
18224
18468
|
function () { return factories['io.flow.internal.v0.models.liability_remittance_plan_deleted'](); },
|
|
18225
18469
|
function () { return factories['io.flow.internal.v0.models.svitlana_item_upserted'](); },
|
|
@@ -18238,6 +18482,8 @@ var factories = {
|
|
|
18238
18482
|
function () { return factories['io.flow.internal.v0.models.michaelyan_item_deleted'](); },
|
|
18239
18483
|
function () { return factories['io.flow.internal.v0.models.miljenko_item_upserted'](); },
|
|
18240
18484
|
function () { return factories['io.flow.internal.v0.models.miljenko_item_deleted'](); },
|
|
18485
|
+
function () { return factories['io.flow.internal.v0.models.sanjay_item_upserted'](); },
|
|
18486
|
+
function () { return factories['io.flow.internal.v0.models.sanjay_item_deleted'](); },
|
|
18241
18487
|
function () { return factories['io.flow.internal.v0.models.shruti_demo_item_upserted'](); },
|
|
18242
18488
|
function () { return factories['io.flow.internal.v0.models.shruti_demo_item_deleted'](); },
|
|
18243
18489
|
function () { return factories['io.flow.internal.v0.models.tam_item_upserted'](); },
|
|
@@ -18256,6 +18502,8 @@ var factories = {
|
|
|
18256
18502
|
function () { return factories['io.flow.internal.v0.models.tracking_assurance_analysis_deleted'](); },
|
|
18257
18503
|
function () { return factories['io.flow.internal.v0.models.tracking_assurance_job_upserted'](); },
|
|
18258
18504
|
function () { return factories['io.flow.internal.v0.models.tracking_assurance_job_deleted'](); },
|
|
18505
|
+
function () { return factories['io.flow.internal.v0.models.tracking_subscription_upserted'](); },
|
|
18506
|
+
function () { return factories['io.flow.internal.v0.models.tracking_subscription_deleted'](); },
|
|
18259
18507
|
function () { return factories['io.flow.internal.v0.models.tracking_label_dimensions_upserted'](); },
|
|
18260
18508
|
function () { return factories['io.flow.internal.v0.models.tracking_label_dimensions_deleted'](); },
|
|
18261
18509
|
function () { return factories['io.flow.internal.v0.models.tracking_request_upserted'](); },
|
|
@@ -18922,6 +19170,12 @@ var factories = {
|
|
|
18922
19170
|
'autogenerated',
|
|
18923
19171
|
]); },
|
|
18924
19172
|
'io.flow.label.v0.enums.label_trigger_method': function () { return faker.helpers.arrayElement(['autogenerated', 'on_demand']); },
|
|
19173
|
+
'io.flow.label.v0.enums.origin_location_source': function () { return faker.helpers.arrayElement([
|
|
19174
|
+
'public_hub_code',
|
|
19175
|
+
'merchant_hub_code_override',
|
|
19176
|
+
'shopify',
|
|
19177
|
+
'fallback_location',
|
|
19178
|
+
]); },
|
|
18925
19179
|
'io.flow.label.v0.enums.package_dimensions_source': function () { return faker.helpers.arrayElement([
|
|
18926
19180
|
'provided',
|
|
18927
19181
|
'item_dimensions_estimated',
|
|
@@ -18951,6 +19205,7 @@ var factories = {
|
|
|
18951
19205
|
origin: factories['io.flow.fulfillment.v0.models.shipping_address'](),
|
|
18952
19206
|
direction: factories['io.flow.label.v0.enums.direction'](),
|
|
18953
19207
|
reference_id: factories.string(),
|
|
19208
|
+
origin_location_source: factories['io.flow.label.v0.enums.origin_location_source'](),
|
|
18954
19209
|
hub_code: factories.string(),
|
|
18955
19210
|
}); },
|
|
18956
19211
|
'io.flow.label.v0.models.crossdock_shipment': function () { return ({
|
|
@@ -18972,6 +19227,7 @@ var factories = {
|
|
|
18972
19227
|
service: factories.string(),
|
|
18973
19228
|
shipment_recipient: factories['io.flow.label.v0.enums.shipment_recipient'](),
|
|
18974
19229
|
package_dimensions_source: factories['io.flow.label.v0.enums.package_dimensions_source'](),
|
|
19230
|
+
origin_location_source: factories['io.flow.label.v0.enums.origin_location_source'](),
|
|
18975
19231
|
reference_id: factories.string(),
|
|
18976
19232
|
}); },
|
|
18977
19233
|
'io.flow.label.v0.models.detailed_shipping_notification_form': function () { return ({
|
|
@@ -19844,6 +20100,14 @@ var factories = {
|
|
|
19844
20100
|
'io.flow.partner.v0.models.partner_organization_reference': function () { return ({
|
|
19845
20101
|
id: factories.string(),
|
|
19846
20102
|
}); },
|
|
20103
|
+
'io.flow.partner.v0.models.partner_tracking_subscription': function () { return ({
|
|
20104
|
+
id: factories.string(),
|
|
20105
|
+
carrier_tracking_number: factories.string(),
|
|
20106
|
+
carrier_id: factories.string(),
|
|
20107
|
+
source: factories.string(),
|
|
20108
|
+
reference_key: factories.string(),
|
|
20109
|
+
created_at: factories.date_time_iso_8601(),
|
|
20110
|
+
}); },
|
|
19847
20111
|
'io.flow.partner.v0.models.summary_label_form': function () { return ({
|
|
19848
20112
|
discriminator: 'summary_label_form',
|
|
19849
20113
|
organization: factories.string(),
|
|
@@ -21499,6 +21763,11 @@ var factories = {
|
|
|
21499
21763
|
eci: factories.string(),
|
|
21500
21764
|
liability_sift: factories.boolean(),
|
|
21501
21765
|
version: factories.string(),
|
|
21766
|
+
authenticated: factories.boolean(),
|
|
21767
|
+
authenticated_result: factories.string(),
|
|
21768
|
+
offered: factories.boolean(),
|
|
21769
|
+
offered_result: factories.string(),
|
|
21770
|
+
sca_exemption: factories.string(),
|
|
21502
21771
|
}); },
|
|
21503
21772
|
'io.flow.payment.v0.models.threeds_challenge_action_details': function () { return ({
|
|
21504
21773
|
discriminator: 'threeds_challenge_action_details',
|
|
@@ -24102,6 +24371,7 @@ var factories = {
|
|
|
24102
24371
|
inventory_item_id: factories.long(),
|
|
24103
24372
|
shopify_shop_id: factories.long(),
|
|
24104
24373
|
shopify_inventory_item: factories['io.flow.shopify.external.v0.models.shopify_inventory_item_summary'](),
|
|
24374
|
+
deleted_at: factories.date_time_iso_8601(),
|
|
24105
24375
|
}); },
|
|
24106
24376
|
'io.flow.shopify.markets.internal.v0.models.markets_order': function () { return ({
|
|
24107
24377
|
shopify_order: factories['io.flow.shopify.markets.v0.models.shopify_order'](),
|
|
@@ -27155,6 +27425,7 @@ export var makeAccountSettingsDeleted = function () { return factories['io.flow.
|
|
|
27155
27425
|
export var makeAccountSettingsUpserted = function () { return factories['io.flow.internal.v0.models.account_settings_upserted'](); };
|
|
27156
27426
|
export var makeAccountSource = function () { return factories['io.flow.internal.v0.models.account_source'](); };
|
|
27157
27427
|
export var makeAccountStatistics = function () { return factories['io.flow.internal.v0.models.account_statistics'](); };
|
|
27428
|
+
export var makeAccountStatisticsAdditionalBalances = function () { return factories['io.flow.internal.v0.models.account_statistics_additional_balances'](); };
|
|
27158
27429
|
export var makeAccountSummary = function () { return factories['io.flow.internal.v0.models.account_summary'](); };
|
|
27159
27430
|
export var makeAccountTransactionsExportRequest = function () { return factories['io.flow.internal.v0.models.account_transactions_export_request'](); };
|
|
27160
27431
|
export var makeAccountType = function () { return factories['io.flow.internal.v0.enums.account_type'](); };
|
|
@@ -27339,6 +27610,7 @@ export var makeCalculatorOrganizationSettingsDeleted = function () { return fact
|
|
|
27339
27610
|
export var makeCalculatorOrganizationSettingsForm = function () { return factories['io.flow.internal.v0.models.calculator_organization_settings_form'](); };
|
|
27340
27611
|
export var makeCalculatorOrganizationSettingsUpserted = function () { return factories['io.flow.internal.v0.models.calculator_organization_settings_upserted'](); };
|
|
27341
27612
|
export var makeCalculatorStamp = function () { return factories['io.flow.internal.v0.unions.calculator_stamp'](); };
|
|
27613
|
+
export var makeCallRecord = function () { return factories['io.flow.internal.v0.models.call_record'](); };
|
|
27342
27614
|
export var makeCarrierAccount = function () { return factories['io.flow.internal.v0.models.carrier_account'](); };
|
|
27343
27615
|
export var makeCarrierAccountDeleted = function () { return factories['io.flow.internal.v0.models.carrier_account_deleted'](); };
|
|
27344
27616
|
export var makeCarrierAccountForm = function () { return factories['io.flow.internal.v0.models.carrier_account_form'](); };
|
|
@@ -27667,6 +27939,7 @@ export var makeDisputeOrderReference = function () { return factories['io.flow.i
|
|
|
27667
27939
|
export var makeDisputeOrganizationReference = function () { return factories['io.flow.internal.v0.models.dispute_organization_reference'](); };
|
|
27668
27940
|
export var makeDisputeOverrideUpdateForm = function () { return factories['io.flow.internal.v0.models.dispute_override_update_form'](); };
|
|
27669
27941
|
export var makeDisputeProcessor = function () { return factories['io.flow.internal.v0.enums.dispute_processor'](); };
|
|
27942
|
+
export var makeDisputeRecord = function () { return factories['io.flow.internal.v0.models.dispute_record'](); };
|
|
27670
27943
|
export var makeDisputeReportingCategory = function () { return factories['io.flow.internal.v0.enums.dispute_reporting_category'](); };
|
|
27671
27944
|
export var makeDisputeStatus = function () { return factories['io.flow.internal.v0.enums.dispute_status'](); };
|
|
27672
27945
|
export var makeDisputeStatusForm = function () { return factories['io.flow.internal.v0.models.dispute_status_form'](); };
|
|
@@ -27969,11 +28242,7 @@ export var makeInternalTransactionDetails = function () { return factories['io.f
|
|
|
27969
28242
|
export var makeInternalTransactionDetailsCard = function () { return factories['io.flow.internal.v0.models.internal_transaction_details_card'](); };
|
|
27970
28243
|
export var makeInvalidCheckoutData = function () { return factories['io.flow.internal.v0.models.invalid_checkout_data'](); };
|
|
27971
28244
|
export var makeInvariant = function () { return factories['io.flow.internal.v0.models.invariant'](); };
|
|
27972
|
-
export var makeInventoryCheckService = function () { return factories['io.flow.internal.v0.enums.inventory_check_service'](); };
|
|
27973
28245
|
export var makeInventoryItemWrapper = function () { return factories['io.flow.internal.v0.models.inventory_item_wrapper'](); };
|
|
27974
|
-
export var makeInventoryOrganizationSettings = function () { return factories['io.flow.internal.v0.models.inventory_organization_settings'](); };
|
|
27975
|
-
export var makeInventoryOrganizationSettingsForm = function () { return factories['io.flow.internal.v0.models.inventory_organization_settings_form'](); };
|
|
27976
|
-
export var makeInventoryReservation = function () { return factories['io.flow.internal.v0.enums.inventory_reservation'](); };
|
|
27977
28246
|
export var makeInvoice = function () { return factories['io.flow.internal.v0.models.invoice'](); };
|
|
27978
28247
|
export var makeInvoiceInfoForm = function () { return factories['io.flow.internal.v0.models.invoice_info_form'](); };
|
|
27979
28248
|
export var makeInvoiceLine = function () { return factories['io.flow.internal.v0.models.invoice_line'](); };
|
|
@@ -28411,7 +28680,8 @@ export var makePartnerOrganizationSettings = function () { return factories['io.
|
|
|
28411
28680
|
export var makePartnerOrganizationSettingsDeleted = function () { return factories['io.flow.internal.v0.models.partner_organization_settings_deleted'](); };
|
|
28412
28681
|
export var makePartnerOrganizationSettingsForm = function () { return factories['io.flow.internal.v0.models.partner_organization_settings_form'](); };
|
|
28413
28682
|
export var makePartnerOrganizationSettingsUpserted = function () { return factories['io.flow.internal.v0.models.partner_organization_settings_upserted'](); };
|
|
28414
|
-
export var
|
|
28683
|
+
export var makePartnerTrackingSubscriptionDeleted = function () { return factories['io.flow.internal.v0.models.partner_tracking_subscription_deleted'](); };
|
|
28684
|
+
export var makePartnerTrackingSubscriptionUpserted = function () { return factories['io.flow.internal.v0.models.partner_tracking_subscription_upserted'](); };
|
|
28415
28685
|
export var makeParty = function () { return factories['io.flow.internal.v0.enums.party'](); };
|
|
28416
28686
|
export var makePassphrase = function () { return factories['io.flow.internal.v0.models.passphrase'](); };
|
|
28417
28687
|
export var makePassphraseForm = function () { return factories['io.flow.internal.v0.models.passphrase_form'](); };
|
|
@@ -28439,8 +28709,11 @@ export var makePaypalAccountReference = function () { return factories['io.flow.
|
|
|
28439
28709
|
export var makePaypalAuthentication = function () { return factories['io.flow.internal.v0.models.paypal_authentication'](); };
|
|
28440
28710
|
export var makePaypalAuthenticationForm = function () { return factories['io.flow.internal.v0.models.paypal_authentication_form'](); };
|
|
28441
28711
|
export var makePaypalAuthorizationPayload = function () { return factories['io.flow.internal.v0.models.paypal_authorization_payload'](); };
|
|
28712
|
+
export var makePaypalDisputeDeleted = function () { return factories['io.flow.internal.v0.models.paypal_dispute_deleted'](); };
|
|
28713
|
+
export var makePaypalDisputeUpserted = function () { return factories['io.flow.internal.v0.models.paypal_dispute_upserted'](); };
|
|
28442
28714
|
export var makePaypalExecutionDeleted = function () { return factories['io.flow.internal.v0.models.paypal_execution_deleted'](); };
|
|
28443
28715
|
export var makePaypalExecutionUpserted = function () { return factories['io.flow.internal.v0.models.paypal_execution_upserted'](); };
|
|
28716
|
+
export var makePaypalInternalDispute = function () { return factories['io.flow.internal.v0.models.paypal_internal_dispute'](); };
|
|
28444
28717
|
export var makePaypalInternalExecution = function () { return factories['io.flow.internal.v0.models.paypal_internal_execution'](); };
|
|
28445
28718
|
export var makePaypalInternalPayment = function () { return factories['io.flow.internal.v0.models.paypal_internal_payment'](); };
|
|
28446
28719
|
export var makePaypalInternalRefund = function () { return factories['io.flow.internal.v0.models.paypal_internal_refund'](); };
|
|
@@ -28613,6 +28886,7 @@ export var makeReportForm = function () { return factories['io.flow.internal.v0.
|
|
|
28613
28886
|
export var makeReportInterval = function () { return factories['io.flow.internal.v0.enums.report_interval'](); };
|
|
28614
28887
|
export var makeReportMerchant = function () { return factories['io.flow.internal.v0.models.report_merchant'](); };
|
|
28615
28888
|
export var makeReportOrderReference = function () { return factories['io.flow.internal.v0.models.report_order_reference'](); };
|
|
28889
|
+
export var makeReportOrganizationReference = function () { return factories['io.flow.internal.v0.models.report_organization_reference'](); };
|
|
28616
28890
|
export var makeReportOwner = function () { return factories['io.flow.internal.v0.models.report_owner'](); };
|
|
28617
28891
|
export var makeReportPayment = function () { return factories['io.flow.internal.v0.models.report_payment'](); };
|
|
28618
28892
|
export var makeReportPaymentType = function () { return factories['io.flow.internal.v0.enums.report_payment_type'](); };
|
|
@@ -28629,7 +28903,6 @@ export var makeReportingDebug = function () { return factories['io.flow.internal
|
|
|
28629
28903
|
export var makeReportingDebugMissingSubsidies = function () { return factories['io.flow.internal.v0.models.reporting_debug_missing_subsidies'](); };
|
|
28630
28904
|
export var makeReportingDestination = function () { return factories['io.flow.internal.v0.models.reporting_destination'](); };
|
|
28631
28905
|
export var makeReportingDetails = function () { return factories['io.flow.internal.v0.models.reporting_details'](); };
|
|
28632
|
-
export var makeReportingEntity = function () { return factories['io.flow.internal.v0.models.reporting_entity'](); };
|
|
28633
28906
|
export var makeReportingFulfillment = function () { return factories['io.flow.internal.v0.models.reporting_fulfillment'](); };
|
|
28634
28907
|
export var makeReportingFulfillmentHas = function () { return factories['io.flow.internal.v0.models.reporting_fulfillment_has'](); };
|
|
28635
28908
|
export var makeReportingFulfillmentIs = function () { return factories['io.flow.internal.v0.models.reporting_fulfillment_is'](); };
|
|
@@ -28686,6 +28959,7 @@ export var makeRestrictionRuleOverride = function () { return factories['io.flow
|
|
|
28686
28959
|
export var makeRestrictionRuleSummary = function () { return factories['io.flow.internal.v0.models.restriction_rule_summary'](); };
|
|
28687
28960
|
export var makeRestrictionStatus = function () { return factories['io.flow.internal.v0.enums.restriction_status'](); };
|
|
28688
28961
|
export var makeRestrictionStatusMetadata = function () { return factories['io.flow.internal.v0.models.restriction_status_metadata'](); };
|
|
28962
|
+
export var makeRestrictionsDailyops = function () { return factories['io.flow.internal.v0.models.restrictions_dailyops'](); };
|
|
28689
28963
|
export var makeResyncByDestinations = function () { return factories['io.flow.internal.v0.models.resync_by_destinations'](); };
|
|
28690
28964
|
export var makeResyncByHs6Destinations = function () { return factories['io.flow.internal.v0.models.resync_by_hs6_destinations'](); };
|
|
28691
28965
|
export var makeResyncByHs6Origin = function () { return factories['io.flow.internal.v0.models.resync_by_hs6_origin'](); };
|
|
@@ -28715,6 +28989,11 @@ export var makeRoutingMerchant = function () { return factories['io.flow.interna
|
|
|
28715
28989
|
export var makeRoutingProcessor = function () { return factories['io.flow.internal.v0.models.routing_processor'](); };
|
|
28716
28990
|
export var makeSandboxSetup = function () { return factories['io.flow.internal.v0.models.sandbox_setup'](); };
|
|
28717
28991
|
export var makeSandboxSetupForm = function () { return factories['io.flow.internal.v0.models.sandbox_setup_form'](); };
|
|
28992
|
+
export var makeSanjayItem = function () { return factories['io.flow.internal.v0.models.sanjay_item'](); };
|
|
28993
|
+
export var makeSanjayItemDeleted = function () { return factories['io.flow.internal.v0.models.sanjay_item_deleted'](); };
|
|
28994
|
+
export var makeSanjayItemForm = function () { return factories['io.flow.internal.v0.models.sanjay_item_form'](); };
|
|
28995
|
+
export var makeSanjayItemType = function () { return factories['io.flow.internal.v0.enums.sanjay_item_type'](); };
|
|
28996
|
+
export var makeSanjayItemUpserted = function () { return factories['io.flow.internal.v0.models.sanjay_item_upserted'](); };
|
|
28718
28997
|
export var makeScheduledPayment = function () { return factories['io.flow.internal.v0.models.scheduled_payment'](); };
|
|
28719
28998
|
export var makeScreen = function () { return factories['io.flow.internal.v0.models.screen'](); };
|
|
28720
28999
|
export var makeScreenForm = function () { return factories['io.flow.internal.v0.models.screen_form'](); };
|
|
@@ -28729,7 +29008,6 @@ export var makeSearchItemSummary = function () { return factories['io.flow.inter
|
|
|
28729
29008
|
export var makeSearchOrderSummary = function () { return factories['io.flow.internal.v0.models.search_order_summary'](); };
|
|
28730
29009
|
export var makeSearchProviderExport = function () { return factories['io.flow.internal.v0.models.search_provider_export'](); };
|
|
28731
29010
|
export var makeSearchTrackingSummary = function () { return factories['io.flow.internal.v0.models.search_tracking_summary'](); };
|
|
28732
|
-
export var makeSerialReservationError = function () { return factories['io.flow.internal.v0.enums.serial_reservation_error'](); };
|
|
28733
29011
|
export var makeServiceName = function () { return factories['io.flow.internal.v0.enums.service_name'](); };
|
|
28734
29012
|
export var makeSessionCountries = function () { return factories['io.flow.internal.v0.models.session_countries'](); };
|
|
28735
29013
|
export var makeSessionCountry = function () { return factories['io.flow.internal.v0.models.session_country'](); };
|
|
@@ -28820,6 +29098,8 @@ export var makeShopifyOrderLineAttribute = function () { return factories['io.fl
|
|
|
28820
29098
|
export var makeShopifyOrderLineContent = function () { return factories['io.flow.internal.v0.models.shopify_order_line_content'](); };
|
|
28821
29099
|
export var makeShopifyOrganizationSettings = function () { return factories['io.flow.internal.v0.models.shopify_organization_settings'](); };
|
|
28822
29100
|
export var makeShopifyOrganizationSettingsForm = function () { return factories['io.flow.internal.v0.models.shopify_organization_settings_form'](); };
|
|
29101
|
+
export var makeShopifyPartnerWebhook = function () { return factories['io.flow.internal.v0.models.shopify_partner_webhook'](); };
|
|
29102
|
+
export var makeShopifyPartnerWebhookRaw = function () { return factories['io.flow.internal.v0.models.shopify_partner_webhook_raw'](); };
|
|
28823
29103
|
export var makeShopifyPaymentSummary = function () { return factories['io.flow.internal.v0.models.shopify_payment_summary'](); };
|
|
28824
29104
|
export var makeShopifyProductBundle = function () { return factories['io.flow.internal.v0.models.shopify_product_bundle'](); };
|
|
28825
29105
|
export var makeShopifyProductBundleDeleted = function () { return factories['io.flow.internal.v0.models.shopify_product_bundle_deleted'](); };
|
|
@@ -28911,8 +29191,11 @@ export var makeStripeAuthorizationDeleted = function () { return factories['io.f
|
|
|
28911
29191
|
export var makeStripeAuthorizationUpserted = function () { return factories['io.flow.internal.v0.models.stripe_authorization_upserted'](); };
|
|
28912
29192
|
export var makeStripeCaptureDeleted = function () { return factories['io.flow.internal.v0.models.stripe_capture_deleted'](); };
|
|
28913
29193
|
export var makeStripeCaptureUpserted = function () { return factories['io.flow.internal.v0.models.stripe_capture_upserted'](); };
|
|
29194
|
+
export var makeStripeDisputeDeleted = function () { return factories['io.flow.internal.v0.models.stripe_dispute_deleted'](); };
|
|
29195
|
+
export var makeStripeDisputeUpserted = function () { return factories['io.flow.internal.v0.models.stripe_dispute_upserted'](); };
|
|
28914
29196
|
export var makeStripeInternalAuthorization = function () { return factories['io.flow.internal.v0.models.stripe_internal_authorization'](); };
|
|
28915
29197
|
export var makeStripeInternalCapture = function () { return factories['io.flow.internal.v0.models.stripe_internal_capture'](); };
|
|
29198
|
+
export var makeStripeInternalDispute = function () { return factories['io.flow.internal.v0.models.stripe_internal_dispute'](); };
|
|
28916
29199
|
export var makeStripeInternalRefund = function () { return factories['io.flow.internal.v0.models.stripe_internal_refund'](); };
|
|
28917
29200
|
export var makeStripeInternalReversal = function () { return factories['io.flow.internal.v0.models.stripe_internal_reversal'](); };
|
|
28918
29201
|
export var makeStripeMerchant = function () { return factories['io.flow.internal.v0.models.stripe_merchant'](); };
|
|
@@ -29023,6 +29306,9 @@ export var makeTrackingRequest = function () { return factories['io.flow.interna
|
|
|
29023
29306
|
export var makeTrackingRequestUpserted = function () { return factories['io.flow.internal.v0.models.tracking_request_upserted'](); };
|
|
29024
29307
|
export var makeTrackingResponse = function () { return factories['io.flow.internal.v0.models.tracking_response'](); };
|
|
29025
29308
|
export var makeTrackingResponseUpserted = function () { return factories['io.flow.internal.v0.models.tracking_response_upserted'](); };
|
|
29309
|
+
export var makeTrackingSubscription = function () { return factories['io.flow.internal.v0.models.tracking_subscription'](); };
|
|
29310
|
+
export var makeTrackingSubscriptionDeleted = function () { return factories['io.flow.internal.v0.models.tracking_subscription_deleted'](); };
|
|
29311
|
+
export var makeTrackingSubscriptionUpserted = function () { return factories['io.flow.internal.v0.models.tracking_subscription_upserted'](); };
|
|
29026
29312
|
export var makeTrackingUpserted = function () { return factories['io.flow.internal.v0.models.tracking_upserted'](); };
|
|
29027
29313
|
export var makeTransaction = function () { return factories['io.flow.internal.v0.unions.transaction'](); };
|
|
29028
29314
|
export var makeTransactionAdjustment = function () { return factories['io.flow.internal.v0.models.transaction_adjustment'](); };
|