@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/src/api-internal.ts
CHANGED
|
@@ -87,6 +87,7 @@ const factories = {
|
|
|
87
87
|
]),
|
|
88
88
|
|
|
89
89
|
'io.flow.adyen.v0.enums.http_redirect_method': (): io.flow.adyen.v0.enums.HttpRedirectMethod => faker.helpers.arrayElement(['GET', 'POST']),
|
|
90
|
+
'io.flow.adyen.v0.enums.lifecycle_stage': (): io.flow.adyen.v0.enums.LifecycleStage => faker.helpers.arrayElement(['INQUIRY', 'CHARGEBACK']),
|
|
90
91
|
'io.flow.adyen.v0.enums.operation': (): io.flow.adyen.v0.enums.Operation => faker.helpers.arrayElement(['cancel', 'capture', 'refund']),
|
|
91
92
|
|
|
92
93
|
'io.flow.adyen.v0.enums.payment_method': (): io.flow.adyen.v0.enums.PaymentMethod => faker.helpers.arrayElement([
|
|
@@ -339,6 +340,7 @@ const factories = {
|
|
|
339
340
|
paymentMethod: factories['io.flow.adyen.v0.enums.payment_method'](),
|
|
340
341
|
reason: factories.string(),
|
|
341
342
|
success: factories.string(),
|
|
343
|
+
lifecycleStage: factories['io.flow.adyen.v0.enums.lifecycle_stage'](),
|
|
342
344
|
}),
|
|
343
345
|
|
|
344
346
|
'io.flow.adyen.v0.models.modification_request': (): io.flow.adyen.v0.models.ModificationRequest => ({
|
|
@@ -2188,7 +2190,7 @@ const factories = {
|
|
|
2188
2190
|
|
|
2189
2191
|
'io.flow.common.v0.enums.delivered_duty': (): io.flow.common.v0.enums.DeliveredDuty => faker.helpers.arrayElement(['paid', 'unpaid']),
|
|
2190
2192
|
'io.flow.common.v0.enums.discount_target': (): io.flow.common.v0.enums.DiscountTarget => faker.helpers.arrayElement(['item', 'shipping']),
|
|
2191
|
-
'io.flow.common.v0.enums.entity_identifier_type': (): io.flow.common.v0.enums.EntityIdentifierType => faker.helpers.arrayElement(['ioss', 'voec']),
|
|
2193
|
+
'io.flow.common.v0.enums.entity_identifier_type': (): io.flow.common.v0.enums.EntityIdentifierType => faker.helpers.arrayElement(['ioss', 'voec', 'zaz']),
|
|
2192
2194
|
'io.flow.common.v0.enums.environment': (): io.flow.common.v0.enums.Environment => faker.helpers.arrayElement(['sandbox', 'production']),
|
|
2193
2195
|
'io.flow.common.v0.enums.exception_type': (): io.flow.common.v0.enums.ExceptionType => faker.helpers.arrayElement(['open', 'closed']),
|
|
2194
2196
|
'io.flow.common.v0.enums.goods_supply': (): io.flow.common.v0.enums.GoodsSupply => faker.helpers.arrayElement(['export', 'intra_community', 'local']),
|
|
@@ -7190,10 +7192,12 @@ const factories = {
|
|
|
7190
7192
|
'negative_balance_number_accounts',
|
|
7191
7193
|
'negative_balance_number_accounts_with_order_in_past_30_days',
|
|
7192
7194
|
'negative_balance_number_accounts_without_order_in_past_30_days',
|
|
7195
|
+
'negative_balance_number_offboarded_accounts',
|
|
7193
7196
|
'negative_balance_number_active_accounts_with_balance_over_1000',
|
|
7194
7197
|
'negative_balance_total',
|
|
7195
7198
|
'negative_balance_total_with_order_in_past_30_days',
|
|
7196
7199
|
'negative_balance_total_without_order_in_past_30_days',
|
|
7200
|
+
'negative_balance_total_offboarded_accounts',
|
|
7197
7201
|
'negative_balance_single_account_max',
|
|
7198
7202
|
'negative_balance_single_active_account_max',
|
|
7199
7203
|
'negative_balance_fee_total',
|
|
@@ -7212,6 +7216,31 @@ const factories = {
|
|
|
7212
7216
|
'negative_balance_failed_count',
|
|
7213
7217
|
'negative_balance_failed_total',
|
|
7214
7218
|
'negative_debit_success_rate',
|
|
7219
|
+
'current_attempt_merchant_count',
|
|
7220
|
+
'current_attempt_amount_total',
|
|
7221
|
+
'current_attempt_failed_merchant_count',
|
|
7222
|
+
'current_attempt_failed_amount_total',
|
|
7223
|
+
'current_attempt_success_ratio',
|
|
7224
|
+
'first_attempt_merchant_count',
|
|
7225
|
+
'first_attempt_amount_total',
|
|
7226
|
+
'first_attempt_failed_merchant_count',
|
|
7227
|
+
'first_attempt_failed_amount_total',
|
|
7228
|
+
'first_attempt_success_ratio',
|
|
7229
|
+
'second_attempt_merchant_count',
|
|
7230
|
+
'second_attempt_amount_total',
|
|
7231
|
+
'second_attempt_failed_merchant_count',
|
|
7232
|
+
'second_attempt_failed_amount_total',
|
|
7233
|
+
'second_attempt_success_ratio',
|
|
7234
|
+
'third_attempt_merchant_count',
|
|
7235
|
+
'third_attempt_amount_total',
|
|
7236
|
+
'third_attempt_failed_merchant_count',
|
|
7237
|
+
'third_attempt_failed_amount_total',
|
|
7238
|
+
'third_attempt_success_ratio',
|
|
7239
|
+
'fourth_plus_attempt_merchant_count',
|
|
7240
|
+
'fourth_plus_attempt_amount_total',
|
|
7241
|
+
'fourth_plus_attempt_failed_merchant_count',
|
|
7242
|
+
'fourth_plus_attempt_failed_amount_total',
|
|
7243
|
+
'fourth_plus_attempt_success_ratio',
|
|
7215
7244
|
]),
|
|
7216
7245
|
|
|
7217
7246
|
'io.flow.internal.v0.enums.billing_statement_attachment_key': (): io.flow.internal.v0.enums.BillingStatementAttachmentKey => faker.helpers.arrayElement([
|
|
@@ -7260,6 +7289,7 @@ const factories = {
|
|
|
7260
7289
|
'trueup',
|
|
7261
7290
|
'carrier_charge',
|
|
7262
7291
|
'tax_refund',
|
|
7292
|
+
'duty_refund',
|
|
7263
7293
|
]),
|
|
7264
7294
|
|
|
7265
7295
|
'io.flow.internal.v0.enums.browser_bundle_error_code': (): io.flow.internal.v0.enums.BrowserBundleErrorCode => faker.helpers.arrayElement(['generic_error', 'country_invalid']),
|
|
@@ -7692,6 +7722,8 @@ const factories = {
|
|
|
7692
7722
|
'partner_organization_settings_deleted',
|
|
7693
7723
|
'unassigned_merchant_guid_upserted',
|
|
7694
7724
|
'unassigned_merchant_guid_deleted',
|
|
7725
|
+
'partner_tracking_subscription_upserted',
|
|
7726
|
+
'partner_tracking_subscription_deleted',
|
|
7695
7727
|
'internal_authorization_upserted',
|
|
7696
7728
|
'internal_authorization_deleted',
|
|
7697
7729
|
'afterpay_authorization_upserted',
|
|
@@ -7718,6 +7750,8 @@ const factories = {
|
|
|
7718
7750
|
'paypal_execution_upserted',
|
|
7719
7751
|
'paypal_refund_deleted',
|
|
7720
7752
|
'paypal_refund_upserted',
|
|
7753
|
+
'paypal_dispute_upserted',
|
|
7754
|
+
'paypal_dispute_deleted',
|
|
7721
7755
|
'pricing_indicator',
|
|
7722
7756
|
'product_restriction_rule_decision_upserted',
|
|
7723
7757
|
'product_restriction_rule_decision_deleted',
|
|
@@ -7777,6 +7811,8 @@ const factories = {
|
|
|
7777
7811
|
'stripe_capture_upserted',
|
|
7778
7812
|
'stripe_refund_deleted',
|
|
7779
7813
|
'stripe_refund_upserted',
|
|
7814
|
+
'stripe_dispute_upserted',
|
|
7815
|
+
'stripe_dispute_deleted',
|
|
7780
7816
|
'liability_remittance_plan_upserted',
|
|
7781
7817
|
'liability_remittance_plan_deleted',
|
|
7782
7818
|
'svitlana_item_upserted',
|
|
@@ -7795,6 +7831,8 @@ const factories = {
|
|
|
7795
7831
|
'michaelyan_item_deleted',
|
|
7796
7832
|
'miljenko_item_upserted',
|
|
7797
7833
|
'miljenko_item_deleted',
|
|
7834
|
+
'sanjay_item_upserted',
|
|
7835
|
+
'sanjay_item_deleted',
|
|
7798
7836
|
'shruti_demo_item_upserted',
|
|
7799
7837
|
'shruti_demo_item_deleted',
|
|
7800
7838
|
'tam_item_upserted',
|
|
@@ -7813,6 +7851,8 @@ const factories = {
|
|
|
7813
7851
|
'tracking_assurance_analysis_deleted',
|
|
7814
7852
|
'tracking_assurance_job_upserted',
|
|
7815
7853
|
'tracking_assurance_job_deleted',
|
|
7854
|
+
'tracking_subscription_upserted',
|
|
7855
|
+
'tracking_subscription_deleted',
|
|
7816
7856
|
'tracking_label_dimensions_upserted',
|
|
7817
7857
|
'tracking_label_dimensions_deleted',
|
|
7818
7858
|
'tracking_request_upserted',
|
|
@@ -7862,8 +7902,6 @@ const factories = {
|
|
|
7862
7902
|
'io.flow.internal.v0.enums.harinath_item_type': (): io.flow.internal.v0.enums.HarinathItemType => faker.helpers.arrayElement(['digital', 'physical']),
|
|
7863
7903
|
'io.flow.internal.v0.enums.harmonization_decision_source': (): io.flow.internal.v0.enums.HarmonizationDecisionSource => faker.helpers.arrayElement(['human', 'legacy_model', 'enterprise_model']),
|
|
7864
7904
|
'io.flow.internal.v0.enums.http_method': (): io.flow.internal.v0.enums.HttpMethod => faker.helpers.arrayElement(['get', 'post']),
|
|
7865
|
-
'io.flow.internal.v0.enums.inventory_check_service': (): io.flow.internal.v0.enums.InventoryCheckService => faker.helpers.arrayElement(['sfcc', 'gymboree']),
|
|
7866
|
-
'io.flow.internal.v0.enums.inventory_reservation': (): io.flow.internal.v0.enums.InventoryReservation => faker.helpers.arrayElement(['synchronous-on-submit']),
|
|
7867
7905
|
'io.flow.internal.v0.enums.item_classification_action': (): io.flow.internal.v0.enums.ItemClassificationAction => faker.helpers.arrayElement(['ACCEPT', 'MANUAL', 'REJECT']),
|
|
7868
7906
|
|
|
7869
7907
|
'io.flow.internal.v0.enums.item_classification_status': (): io.flow.internal.v0.enums.ItemClassificationStatus => faker.helpers.arrayElement([
|
|
@@ -7928,6 +7966,7 @@ const factories = {
|
|
|
7928
7966
|
'carrier_credit',
|
|
7929
7967
|
'negative_balance_guarantee',
|
|
7930
7968
|
'bank_payment_failure',
|
|
7969
|
+
'non_fraud_chargeback',
|
|
7931
7970
|
]),
|
|
7932
7971
|
|
|
7933
7972
|
'io.flow.internal.v0.enums.marketing_gateway_account_connection_status': (): io.flow.internal.v0.enums.MarketingGatewayAccountConnectionStatus => faker.helpers.arrayElement([
|
|
@@ -8189,6 +8228,7 @@ const factories = {
|
|
|
8189
8228
|
'payments',
|
|
8190
8229
|
'reconcile_not_recorded',
|
|
8191
8230
|
'products_record',
|
|
8231
|
+
'disputes',
|
|
8192
8232
|
]),
|
|
8193
8233
|
|
|
8194
8234
|
'io.flow.internal.v0.enums.reporting_fulfillment_is_virtual': (): io.flow.internal.v0.enums.ReportingFulfillmentIsVirtual => faker.helpers.arrayElement(['all', 'mixed', 'none']),
|
|
@@ -8208,7 +8248,7 @@ const factories = {
|
|
|
8208
8248
|
'io.flow.internal.v0.enums.revenue_type': (): io.flow.internal.v0.enums.RevenueType => faker.helpers.arrayElement(['mor', 'fx', 'duty_assurance']),
|
|
8209
8249
|
'io.flow.internal.v0.enums.risk_check': (): io.flow.internal.v0.enums.RiskCheck => faker.helpers.arrayElement(['three_d_secure']),
|
|
8210
8250
|
'io.flow.internal.v0.enums.risk_evaluation': (): io.flow.internal.v0.enums.RiskEvaluation => faker.helpers.arrayElement(['Pending', 'High-Risk', 'Low-Risk', 'Restricted-Party', 'none']),
|
|
8211
|
-
'io.flow.internal.v0.enums.
|
|
8251
|
+
'io.flow.internal.v0.enums.sanjay_item_type': (): io.flow.internal.v0.enums.SanjayItemType => faker.helpers.arrayElement(['digital', 'physical']),
|
|
8212
8252
|
'io.flow.internal.v0.enums.service_name': (): io.flow.internal.v0.enums.ServiceName => faker.helpers.arrayElement(['catalog', 'demandware', 'metric']),
|
|
8213
8253
|
'io.flow.internal.v0.enums.session_country_status': (): io.flow.internal.v0.enums.SessionCountryStatus => faker.helpers.arrayElement(['enabled', 'disabled']),
|
|
8214
8254
|
'io.flow.internal.v0.enums.shopify_check_inventory_error_code': (): io.flow.internal.v0.enums.ShopifyCheckInventoryErrorCode => faker.helpers.arrayElement(['inventory_out_of_stock']),
|
|
@@ -8535,6 +8575,11 @@ const factories = {
|
|
|
8535
8575
|
transfers: factories['io.flow.common.v0.models.price'](),
|
|
8536
8576
|
balance: factories['io.flow.common.v0.models.price'](),
|
|
8537
8577
|
pending: factories['io.flow.common.v0.models.price'](),
|
|
8578
|
+
additional_balances: factories['io.flow.internal.v0.models.account_statistics_additional_balances'](),
|
|
8579
|
+
}),
|
|
8580
|
+
|
|
8581
|
+
'io.flow.internal.v0.models.account_statistics_additional_balances': (): io.flow.internal.v0.models.AccountStatisticsAdditionalBalances => ({
|
|
8582
|
+
on_hold: factories['io.flow.common.v0.models.price'](),
|
|
8538
8583
|
}),
|
|
8539
8584
|
|
|
8540
8585
|
'io.flow.internal.v0.models.account_summary': (): io.flow.internal.v0.models.AccountSummary => ({
|
|
@@ -9781,6 +9826,11 @@ const factories = {
|
|
|
9781
9826
|
calculator_organization_settings: factories['io.flow.internal.v0.models.calculator_organization_settings'](),
|
|
9782
9827
|
}),
|
|
9783
9828
|
|
|
9829
|
+
'io.flow.internal.v0.models.call_record': (): io.flow.internal.v0.models.CallRecord => ({
|
|
9830
|
+
id: factories.string(),
|
|
9831
|
+
request_body: factories.string(),
|
|
9832
|
+
}),
|
|
9833
|
+
|
|
9784
9834
|
'io.flow.internal.v0.models.carrier_account': (): io.flow.internal.v0.models.CarrierAccount => ({
|
|
9785
9835
|
id: factories.string(),
|
|
9786
9836
|
carrier: factories['io.flow.fulfillment.v0.models.carrier_reference'](),
|
|
@@ -10037,6 +10087,7 @@ const factories = {
|
|
|
10037
10087
|
id: factories.string(),
|
|
10038
10088
|
packaging: arrayOf(() => factories['io.flow.fulfillment.v0.models.packaging']()),
|
|
10039
10089
|
shipping_address_contact: factories['io.flow.common.v0.models.contact'](),
|
|
10090
|
+
location_fallback: factories['io.flow.common.v0.models.address'](),
|
|
10040
10091
|
}),
|
|
10041
10092
|
|
|
10042
10093
|
'io.flow.internal.v0.models.center_defaults_deleted': (): io.flow.internal.v0.models.CenterDefaultsDeleted => ({
|
|
@@ -10050,6 +10101,7 @@ const factories = {
|
|
|
10050
10101
|
'io.flow.internal.v0.models.center_defaults_form': (): io.flow.internal.v0.models.CenterDefaultsForm => ({
|
|
10051
10102
|
packaging: arrayOf(() => factories['io.flow.fulfillment.v0.models.packaging']()),
|
|
10052
10103
|
shipping_address_contact: factories['io.flow.common.v0.models.contact'](),
|
|
10104
|
+
location_fallback: factories['io.flow.common.v0.models.address'](),
|
|
10053
10105
|
}),
|
|
10054
10106
|
|
|
10055
10107
|
'io.flow.internal.v0.models.center_defaults_upserted': (): io.flow.internal.v0.models.CenterDefaultsUpserted => ({
|
|
@@ -11762,6 +11814,17 @@ const factories = {
|
|
|
11762
11814
|
status: factories['io.flow.internal.v0.enums.dispute_status'](),
|
|
11763
11815
|
}),
|
|
11764
11816
|
|
|
11817
|
+
'io.flow.internal.v0.models.dispute_record': (): io.flow.internal.v0.models.DisputeRecord => ({
|
|
11818
|
+
id: factories.string(),
|
|
11819
|
+
organization: factories['io.flow.internal.v0.models.reporting_organization_summary'](),
|
|
11820
|
+
order: factories['io.flow.internal.v0.models.reporting_order_summary'](),
|
|
11821
|
+
status: factories['io.flow.internal.v0.enums.dispute_status'](),
|
|
11822
|
+
processor: factories['io.flow.internal.v0.enums.dispute_processor'](),
|
|
11823
|
+
reporting_category: factories['io.flow.internal.v0.enums.dispute_reporting_category'](),
|
|
11824
|
+
defense_outcome: factories['io.flow.internal.v0.enums.dispute_defense_outcome'](),
|
|
11825
|
+
chargeback_amount: factories['io.flow.common.v0.models.money_with_base'](),
|
|
11826
|
+
}),
|
|
11827
|
+
|
|
11765
11828
|
'io.flow.internal.v0.models.dispute_status_form': (): io.flow.internal.v0.models.DisputeStatusForm => ({
|
|
11766
11829
|
status: factories['io.flow.internal.v0.enums.dispute_status'](),
|
|
11767
11830
|
}),
|
|
@@ -12864,6 +12927,7 @@ const factories = {
|
|
|
12864
12927
|
payment_authorization_id: factories.string(),
|
|
12865
12928
|
decline_reason: factories['io.flow.internal.v0.unions.decline_reason'](),
|
|
12866
12929
|
created_at: factories.date_time_iso_8601(),
|
|
12930
|
+
has_provider_link: factories.boolean(),
|
|
12867
12931
|
}),
|
|
12868
12932
|
|
|
12869
12933
|
'io.flow.internal.v0.models.fraud_review_authorization': (): io.flow.internal.v0.models.FraudReviewAuthorization => ({
|
|
@@ -12882,6 +12946,7 @@ const factories = {
|
|
|
12882
12946
|
payment_authorization_id: factories.string(),
|
|
12883
12947
|
decline_reason: factories['io.flow.internal.v0.unions.decline_reason'](),
|
|
12884
12948
|
created_at: factories.date_time_iso_8601(),
|
|
12949
|
+
has_provider_link: factories.boolean(),
|
|
12885
12950
|
}),
|
|
12886
12951
|
|
|
12887
12952
|
'io.flow.internal.v0.models.fraud_review_authorization_decision': (): io.flow.internal.v0.models.FraudReviewAuthorizationDecision => ({
|
|
@@ -13722,19 +13787,7 @@ const factories = {
|
|
|
13722
13787
|
inventory_item_id: factories.long(),
|
|
13723
13788
|
shopify_shop_id: factories.long(),
|
|
13724
13789
|
shopify_inventory_item: factories['io.flow.shopify.external.v0.models.shopify_inventory_item_summary'](),
|
|
13725
|
-
|
|
13726
|
-
|
|
13727
|
-
'io.flow.internal.v0.models.inventory_organization_settings': (): io.flow.internal.v0.models.InventoryOrganizationSettings => ({
|
|
13728
|
-
id: factories.string(),
|
|
13729
|
-
inventory_reservation: factories['io.flow.internal.v0.enums.inventory_reservation'](),
|
|
13730
|
-
inventory_check_service: factories['io.flow.internal.v0.enums.inventory_check_service'](),
|
|
13731
|
-
inventory_check_service_root_url: factories.string(),
|
|
13732
|
-
}),
|
|
13733
|
-
|
|
13734
|
-
'io.flow.internal.v0.models.inventory_organization_settings_form': (): io.flow.internal.v0.models.InventoryOrganizationSettingsForm => ({
|
|
13735
|
-
inventory_reservation: factories['io.flow.internal.v0.enums.inventory_reservation'](),
|
|
13736
|
-
inventory_check_service: factories['io.flow.internal.v0.enums.inventory_check_service'](),
|
|
13737
|
-
inventory_check_service_root_url: factories.string(),
|
|
13790
|
+
deleted_at: factories.date_time_iso_8601(),
|
|
13738
13791
|
}),
|
|
13739
13792
|
|
|
13740
13793
|
'io.flow.internal.v0.models.invoice': (): io.flow.internal.v0.models.Invoice => ({
|
|
@@ -15428,8 +15481,10 @@ const factories = {
|
|
|
15428
15481
|
|
|
15429
15482
|
'io.flow.internal.v0.models.negative_debit_metrics': (): io.flow.internal.v0.models.NegativeDebitMetrics => ({
|
|
15430
15483
|
current_attempt: factories['io.flow.internal.v0.models.attempt_statistics'](),
|
|
15484
|
+
first_attempt: factories['io.flow.internal.v0.models.attempt_statistics'](),
|
|
15431
15485
|
second_attempt: factories['io.flow.internal.v0.models.attempt_statistics'](),
|
|
15432
15486
|
third_attempt: factories['io.flow.internal.v0.models.attempt_statistics'](),
|
|
15487
|
+
forth_plus_attempts: factories['io.flow.internal.v0.models.attempt_statistics'](),
|
|
15433
15488
|
}),
|
|
15434
15489
|
|
|
15435
15490
|
'io.flow.internal.v0.models.next_billing_statement': (): io.flow.internal.v0.models.NextBillingStatement => ({
|
|
@@ -16194,6 +16249,8 @@ const factories = {
|
|
|
16194
16249
|
product_count: factories.long(),
|
|
16195
16250
|
restricted_product_count: factories.long(),
|
|
16196
16251
|
last_order_submitted_at: factories.date_time_iso_8601(),
|
|
16252
|
+
matching_positive_keywords: arrayOf(() => factories.string()),
|
|
16253
|
+
product_categories: arrayOf(() => factories.string()),
|
|
16197
16254
|
}),
|
|
16198
16255
|
|
|
16199
16256
|
'io.flow.internal.v0.models.organization_metadata_deleted': (): io.flow.internal.v0.models.OrganizationMetadataDeleted => ({
|
|
@@ -16609,11 +16666,18 @@ const factories = {
|
|
|
16609
16666
|
partner_organization_settings: factories['io.flow.internal.v0.models.partner_organization_settings'](),
|
|
16610
16667
|
}),
|
|
16611
16668
|
|
|
16612
|
-
'io.flow.internal.v0.models.
|
|
16669
|
+
'io.flow.internal.v0.models.partner_tracking_subscription_deleted': (): io.flow.internal.v0.models.PartnerTrackingSubscriptionDeleted => ({
|
|
16670
|
+
discriminator: 'partner_tracking_subscription_deleted',
|
|
16671
|
+
event_id: factories.string(),
|
|
16672
|
+
timestamp: factories.date_time_iso_8601(),
|
|
16613
16673
|
id: factories.string(),
|
|
16614
|
-
|
|
16615
|
-
|
|
16616
|
-
|
|
16674
|
+
}),
|
|
16675
|
+
|
|
16676
|
+
'io.flow.internal.v0.models.partner_tracking_subscription_upserted': (): io.flow.internal.v0.models.PartnerTrackingSubscriptionUpserted => ({
|
|
16677
|
+
discriminator: 'partner_tracking_subscription_upserted',
|
|
16678
|
+
event_id: factories.string(),
|
|
16679
|
+
timestamp: factories.date_time_iso_8601(),
|
|
16680
|
+
partner_tracking_subscription: factories['io.flow.partner.v0.models.partner_tracking_subscription'](),
|
|
16617
16681
|
}),
|
|
16618
16682
|
|
|
16619
16683
|
'io.flow.internal.v0.models.passphrase': (): io.flow.internal.v0.models.Passphrase => ({
|
|
@@ -16778,6 +16842,20 @@ const factories = {
|
|
|
16778
16842
|
payer_id: factories.string(),
|
|
16779
16843
|
}),
|
|
16780
16844
|
|
|
16845
|
+
'io.flow.internal.v0.models.paypal_dispute_deleted': (): io.flow.internal.v0.models.PaypalDisputeDeleted => ({
|
|
16846
|
+
discriminator: 'paypal_dispute_deleted',
|
|
16847
|
+
event_id: factories.string(),
|
|
16848
|
+
timestamp: factories.date_time_iso_8601(),
|
|
16849
|
+
id: factories.string(),
|
|
16850
|
+
}),
|
|
16851
|
+
|
|
16852
|
+
'io.flow.internal.v0.models.paypal_dispute_upserted': (): io.flow.internal.v0.models.PaypalDisputeUpserted => ({
|
|
16853
|
+
discriminator: 'paypal_dispute_upserted',
|
|
16854
|
+
event_id: factories.string(),
|
|
16855
|
+
timestamp: factories.date_time_iso_8601(),
|
|
16856
|
+
dispute: factories['io.flow.internal.v0.models.paypal_internal_dispute'](),
|
|
16857
|
+
}),
|
|
16858
|
+
|
|
16781
16859
|
'io.flow.internal.v0.models.paypal_execution_deleted': (): io.flow.internal.v0.models.PaypalExecutionDeleted => ({
|
|
16782
16860
|
discriminator: 'paypal_execution_deleted',
|
|
16783
16861
|
event_id: factories.string(),
|
|
@@ -16792,6 +16870,47 @@ const factories = {
|
|
|
16792
16870
|
execution: factories['io.flow.internal.v0.models.paypal_internal_execution'](),
|
|
16793
16871
|
}),
|
|
16794
16872
|
|
|
16873
|
+
'io.flow.internal.v0.models.paypal_internal_dispute': (): io.flow.internal.v0.models.PaypalInternalDispute => ({
|
|
16874
|
+
id: factories.string(),
|
|
16875
|
+
dispute_id: factories.string(),
|
|
16876
|
+
create_time: factories.date_time_iso_8601(),
|
|
16877
|
+
update_time: factories.date_time_iso_8601(),
|
|
16878
|
+
buyer_transaction_id: factories.string(),
|
|
16879
|
+
seller_transaction_id: factories.string(),
|
|
16880
|
+
transaction_reference_id: factories.string(),
|
|
16881
|
+
transaction_create_time: factories.date_time_iso_8601(),
|
|
16882
|
+
transaction_status: factories.string(),
|
|
16883
|
+
transaction_gross_amount: factories.string(),
|
|
16884
|
+
transaction_gross_currency: factories.string(),
|
|
16885
|
+
transaction_invoice_number: factories.string(),
|
|
16886
|
+
transaction_custom: factories.string(),
|
|
16887
|
+
buyer_name: factories.string(),
|
|
16888
|
+
seller_merchant_id: factories.string(),
|
|
16889
|
+
seller_merchant_name: factories.string(),
|
|
16890
|
+
items: arrayOf(() => factories.object()),
|
|
16891
|
+
other_disputed_transactions: arrayOf(() => factories.object()),
|
|
16892
|
+
reason: factories.string(),
|
|
16893
|
+
status: factories.string(),
|
|
16894
|
+
dispute_amount: factories.string(),
|
|
16895
|
+
dispute_currency: factories.string(),
|
|
16896
|
+
dispute_outcome_code: factories.string(),
|
|
16897
|
+
dispute_outcome_amount_refunded: factories.string(),
|
|
16898
|
+
dispute_outcome_currency: factories.string(),
|
|
16899
|
+
dispute_life_cycle_stage: factories.string(),
|
|
16900
|
+
dispute_channel: factories.string(),
|
|
16901
|
+
messages: arrayOf(() => factories.object()),
|
|
16902
|
+
evidences: arrayOf(() => factories.object()),
|
|
16903
|
+
buyer_response_due_date: factories.date_time_iso_8601(),
|
|
16904
|
+
seller_response_due_date: factories.date_time_iso_8601(),
|
|
16905
|
+
offer: factories.object(),
|
|
16906
|
+
communication_details: factories.object(),
|
|
16907
|
+
links: arrayOf(() => factories.object()),
|
|
16908
|
+
previous_status: factories.string(),
|
|
16909
|
+
updated_by_user_id: factories.string(),
|
|
16910
|
+
created_at: factories.date_time_iso_8601(),
|
|
16911
|
+
updated_at: factories.date_time_iso_8601(),
|
|
16912
|
+
}),
|
|
16913
|
+
|
|
16795
16914
|
'io.flow.internal.v0.models.paypal_internal_execution': (): io.flow.internal.v0.models.PaypalInternalExecution => ({
|
|
16796
16915
|
id: factories.string(),
|
|
16797
16916
|
currency: factories.string(),
|
|
@@ -17894,6 +18013,11 @@ const factories = {
|
|
|
17894
18013
|
from: factories.date_time_iso_8601(),
|
|
17895
18014
|
to: factories.date_time_iso_8601(),
|
|
17896
18015
|
payment_type: factories['io.flow.internal.v0.enums.report_payment_type'](),
|
|
18016
|
+
|
|
18017
|
+
organizations: arrayOf(
|
|
18018
|
+
() => factories['io.flow.internal.v0.models.report_organization_reference'](),
|
|
18019
|
+
),
|
|
18020
|
+
|
|
17897
18021
|
orders: arrayOf(() => factories['io.flow.internal.v0.models.report_order_reference']()),
|
|
17898
18022
|
recipients: arrayOf(() => factories.string()),
|
|
17899
18023
|
}),
|
|
@@ -17907,6 +18031,10 @@ const factories = {
|
|
|
17907
18031
|
order_number: factories.string(),
|
|
17908
18032
|
}),
|
|
17909
18033
|
|
|
18034
|
+
'io.flow.internal.v0.models.report_organization_reference': (): io.flow.internal.v0.models.ReportOrganizationReference => ({
|
|
18035
|
+
organization_id: factories.string(),
|
|
18036
|
+
}),
|
|
18037
|
+
|
|
17910
18038
|
'io.flow.internal.v0.models.report_owner': (): io.flow.internal.v0.models.ReportOwner => ({
|
|
17911
18039
|
name: factories.string(),
|
|
17912
18040
|
}),
|
|
@@ -17984,10 +18112,6 @@ const factories = {
|
|
|
17984
18112
|
refund_records: arrayOf(() => factories.object()),
|
|
17985
18113
|
}),
|
|
17986
18114
|
|
|
17987
|
-
'io.flow.internal.v0.models.reporting_entity': (): io.flow.internal.v0.models.ReportingEntity => ({
|
|
17988
|
-
id: factories.string(),
|
|
17989
|
-
}),
|
|
17990
|
-
|
|
17991
18115
|
'io.flow.internal.v0.models.reporting_fulfillment': (): io.flow.internal.v0.models.ReportingFulfillment => ({
|
|
17992
18116
|
id: factories.string(),
|
|
17993
18117
|
sequence_number: factories.long(),
|
|
@@ -18070,6 +18194,7 @@ const factories = {
|
|
|
18070
18194
|
discount: factories['io.flow.internal.v0.models.reporting_monetary_value'](),
|
|
18071
18195
|
total: factories['io.flow.internal.v0.models.reporting_monetary_value'](),
|
|
18072
18196
|
tax_refund: factories['io.flow.internal.v0.models.reporting_monetary_value'](),
|
|
18197
|
+
duty_refund: factories['io.flow.internal.v0.models.reporting_monetary_value'](),
|
|
18073
18198
|
}),
|
|
18074
18199
|
|
|
18075
18200
|
'io.flow.internal.v0.models.reporting_monetary_value': (): io.flow.internal.v0.models.ReportingMonetaryValue => ({
|
|
@@ -18417,6 +18542,33 @@ const factories = {
|
|
|
18417
18542
|
count: factories.long(),
|
|
18418
18543
|
}),
|
|
18419
18544
|
|
|
18545
|
+
'io.flow.internal.v0.models.restrictions_dailyops': (): io.flow.internal.v0.models.RestrictionsDailyops => ({
|
|
18546
|
+
id: factories.string(),
|
|
18547
|
+
report_date: factories.date_iso_8601(),
|
|
18548
|
+
num_orgs_setup_complete_with_pvs: factories.decimal(),
|
|
18549
|
+
num_products_setup_complete_with_pvs: factories.decimal(),
|
|
18550
|
+
num_orgs_transacting_with_pvs: factories.decimal(),
|
|
18551
|
+
num_products_transacting_with_pvs: factories.decimal(),
|
|
18552
|
+
oldest_pv_product_date_setup_complete: factories.date_iso_8601(),
|
|
18553
|
+
oldest_pv_product_date_transacting: factories.date_iso_8601(),
|
|
18554
|
+
num_orgs_setup_complete_prs: factories.decimal(),
|
|
18555
|
+
num_products_setup_complete_prs: factories.decimal(),
|
|
18556
|
+
num_orgs_transacting_prs: factories.decimal(),
|
|
18557
|
+
num_products_transacting_prs: factories.decimal(),
|
|
18558
|
+
oldest_pr_product_date_setup_complete: factories.date_iso_8601(),
|
|
18559
|
+
oldest_pr_date_transacting: factories.date_iso_8601(),
|
|
18560
|
+
percent_products_reviewed_transacting: factories.decimal(),
|
|
18561
|
+
num_pv_inflow_net_new: factories.decimal(),
|
|
18562
|
+
num_pv_outflow_human_decisions: factories.decimal(),
|
|
18563
|
+
num_pv_outflow_auto_review_decisions: factories.decimal(),
|
|
18564
|
+
num_pv_outflow_side_effect_decisions: factories.decimal(),
|
|
18565
|
+
num_pr_inflow_net_new: factories.decimal(),
|
|
18566
|
+
num_pr_outflow_human_decisions: factories.decimal(),
|
|
18567
|
+
num_pr_outflow_auto_review_decisions: factories.decimal(),
|
|
18568
|
+
num_pr_outflow_side_effect_decisions: factories.decimal(),
|
|
18569
|
+
num_pending_decisions_transacting: factories.decimal(),
|
|
18570
|
+
}),
|
|
18571
|
+
|
|
18420
18572
|
'io.flow.internal.v0.models.resync_by_destinations': (): io.flow.internal.v0.models.ResyncByDestinations => ({
|
|
18421
18573
|
destinations: arrayOf(() => factories['io.flow.reference.v0.models.country']()),
|
|
18422
18574
|
}),
|
|
@@ -18514,7 +18666,6 @@ const factories = {
|
|
|
18514
18666
|
parent: factories['io.flow.internal.v0.models.record_reference'](),
|
|
18515
18667
|
type: factories['io.flow.internal.v0.enums.revenue_record_type'](),
|
|
18516
18668
|
order: factories['io.flow.internal.v0.models.reporting_order_summary'](),
|
|
18517
|
-
entity: factories['io.flow.internal.v0.models.reporting_entity'](),
|
|
18518
18669
|
vendor: factories['io.flow.internal.v0.models.reporting_vendor'](),
|
|
18519
18670
|
currencies: factories['io.flow.internal.v0.models.reporting_currencies'](),
|
|
18520
18671
|
conversion_rate: factories['io.flow.internal.v0.models.reporting_conversion_rates'](),
|
|
@@ -18573,6 +18724,37 @@ const factories = {
|
|
|
18573
18724
|
requested_by: factories.string(),
|
|
18574
18725
|
}),
|
|
18575
18726
|
|
|
18727
|
+
'io.flow.internal.v0.models.sanjay_item': (): io.flow.internal.v0.models.SanjayItem => ({
|
|
18728
|
+
id: factories.string(),
|
|
18729
|
+
number: factories.string(),
|
|
18730
|
+
amount: factories['io.flow.common.v0.models.price'](),
|
|
18731
|
+
description: factories.string(),
|
|
18732
|
+
type: factories['io.flow.internal.v0.enums.sanjay_item_type'](),
|
|
18733
|
+
added_on: factories.date_time_iso_8601(),
|
|
18734
|
+
}),
|
|
18735
|
+
|
|
18736
|
+
'io.flow.internal.v0.models.sanjay_item_deleted': (): io.flow.internal.v0.models.SanjayItemDeleted => ({
|
|
18737
|
+
discriminator: 'sanjay_item_deleted',
|
|
18738
|
+
event_id: factories.string(),
|
|
18739
|
+
timestamp: factories.date_time_iso_8601(),
|
|
18740
|
+
id: factories.string(),
|
|
18741
|
+
}),
|
|
18742
|
+
|
|
18743
|
+
'io.flow.internal.v0.models.sanjay_item_form': (): io.flow.internal.v0.models.SanjayItemForm => ({
|
|
18744
|
+
number: factories.string(),
|
|
18745
|
+
amount: factories['io.flow.common.v0.models.price'](),
|
|
18746
|
+
description: factories.string(),
|
|
18747
|
+
type: factories['io.flow.internal.v0.enums.sanjay_item_type'](),
|
|
18748
|
+
added_on: factories.date_time_iso_8601(),
|
|
18749
|
+
}),
|
|
18750
|
+
|
|
18751
|
+
'io.flow.internal.v0.models.sanjay_item_upserted': (): io.flow.internal.v0.models.SanjayItemUpserted => ({
|
|
18752
|
+
discriminator: 'sanjay_item_upserted',
|
|
18753
|
+
event_id: factories.string(),
|
|
18754
|
+
timestamp: factories.date_time_iso_8601(),
|
|
18755
|
+
item: factories['io.flow.internal.v0.models.sanjay_item'](),
|
|
18756
|
+
}),
|
|
18757
|
+
|
|
18576
18758
|
'io.flow.internal.v0.models.scheduled_payment': (): io.flow.internal.v0.models.ScheduledPayment => ({
|
|
18577
18759
|
payment: factories['io.flow.internal.v0.models.report_payment'](),
|
|
18578
18760
|
bank_account: factories['io.flow.internal.v0.models.report_bank_account_cleartext'](),
|
|
@@ -19207,6 +19389,14 @@ const factories = {
|
|
|
19207
19389
|
send_inventory_update: factories.boolean(),
|
|
19208
19390
|
}),
|
|
19209
19391
|
|
|
19392
|
+
'io.flow.internal.v0.models.shopify_partner_webhook': (): io.flow.internal.v0.models.ShopifyPartnerWebhook => ({
|
|
19393
|
+
placeholder: factories.boolean(),
|
|
19394
|
+
}),
|
|
19395
|
+
|
|
19396
|
+
'io.flow.internal.v0.models.shopify_partner_webhook_raw': (): io.flow.internal.v0.models.ShopifyPartnerWebhookRaw => ({
|
|
19397
|
+
placeholder: factories.boolean(),
|
|
19398
|
+
}),
|
|
19399
|
+
|
|
19210
19400
|
'io.flow.internal.v0.models.shopify_payment_summary': (): io.flow.internal.v0.models.ShopifyPaymentSummary => ({
|
|
19211
19401
|
description: factories.string(),
|
|
19212
19402
|
address: factories['io.flow.common.v0.models.address'](),
|
|
@@ -19735,6 +19925,20 @@ const factories = {
|
|
|
19735
19925
|
capture: factories['io.flow.internal.v0.models.stripe_internal_capture'](),
|
|
19736
19926
|
}),
|
|
19737
19927
|
|
|
19928
|
+
'io.flow.internal.v0.models.stripe_dispute_deleted': (): io.flow.internal.v0.models.StripeDisputeDeleted => ({
|
|
19929
|
+
discriminator: 'stripe_dispute_deleted',
|
|
19930
|
+
event_id: factories.string(),
|
|
19931
|
+
timestamp: factories.date_time_iso_8601(),
|
|
19932
|
+
id: factories.string(),
|
|
19933
|
+
}),
|
|
19934
|
+
|
|
19935
|
+
'io.flow.internal.v0.models.stripe_dispute_upserted': (): io.flow.internal.v0.models.StripeDisputeUpserted => ({
|
|
19936
|
+
discriminator: 'stripe_dispute_upserted',
|
|
19937
|
+
event_id: factories.string(),
|
|
19938
|
+
timestamp: factories.date_time_iso_8601(),
|
|
19939
|
+
dispute: factories['io.flow.internal.v0.models.stripe_internal_dispute'](),
|
|
19940
|
+
}),
|
|
19941
|
+
|
|
19738
19942
|
'io.flow.internal.v0.models.stripe_internal_authorization': (): io.flow.internal.v0.models.StripeInternalAuthorization => ({
|
|
19739
19943
|
id: factories.string(),
|
|
19740
19944
|
flow_authorization_id: factories.string(),
|
|
@@ -19756,6 +19960,34 @@ const factories = {
|
|
|
19756
19960
|
response: factories.object(),
|
|
19757
19961
|
}),
|
|
19758
19962
|
|
|
19963
|
+
'io.flow.internal.v0.models.stripe_internal_dispute': (): io.flow.internal.v0.models.StripeInternalDispute => ({
|
|
19964
|
+
id: factories.string(),
|
|
19965
|
+
stripe_id: factories.string(),
|
|
19966
|
+
amount: factories.integer(),
|
|
19967
|
+
charge_id: factories.string(),
|
|
19968
|
+
currency: factories.string(),
|
|
19969
|
+
evidence: factories.object(),
|
|
19970
|
+
metadata: factories.object(),
|
|
19971
|
+
payment_intent_id: factories.string(),
|
|
19972
|
+
reason: factories.string(),
|
|
19973
|
+
status: factories.string(),
|
|
19974
|
+
connected_account: factories.string(),
|
|
19975
|
+
balance_transactions: arrayOf(() => factories.object()),
|
|
19976
|
+
dispute_created_at: factories.date_time_iso_8601(),
|
|
19977
|
+
dispute_expires_at: factories.date_time_iso_8601(),
|
|
19978
|
+
has_evidence: factories.boolean(),
|
|
19979
|
+
past_due: factories.boolean(),
|
|
19980
|
+
submission_count: factories.integer(),
|
|
19981
|
+
is_charge_refundable: factories.boolean(),
|
|
19982
|
+
live_mode: factories.boolean(),
|
|
19983
|
+
payment_method_type: factories.string(),
|
|
19984
|
+
payment_method_reason_code: factories.string(),
|
|
19985
|
+
payment_method_card_brand: factories.string(),
|
|
19986
|
+
updated_by_user_id: factories.string(),
|
|
19987
|
+
created_at: factories.date_time_iso_8601(),
|
|
19988
|
+
updated_at: factories.date_time_iso_8601(),
|
|
19989
|
+
}),
|
|
19990
|
+
|
|
19759
19991
|
'io.flow.internal.v0.models.stripe_internal_refund': (): io.flow.internal.v0.models.StripeInternalRefund => ({
|
|
19760
19992
|
id: factories.string(),
|
|
19761
19993
|
flow_refund_id: factories.string(),
|
|
@@ -20464,6 +20696,34 @@ const factories = {
|
|
|
20464
20696
|
tracking_response: factories['io.flow.internal.v0.models.tracking_response'](),
|
|
20465
20697
|
}),
|
|
20466
20698
|
|
|
20699
|
+
'io.flow.internal.v0.models.tracking_subscription': (): io.flow.internal.v0.models.TrackingSubscription => ({
|
|
20700
|
+
id: factories.string(),
|
|
20701
|
+
organization_id: factories.string(),
|
|
20702
|
+
carrier_tracking_number: factories.string(),
|
|
20703
|
+
carrier_id: factories.string(),
|
|
20704
|
+
label_id: factories.string(),
|
|
20705
|
+
label_origin: factories['io.flow.fulfillment.v0.models.shipping_address'](),
|
|
20706
|
+
label_destination: factories['io.flow.fulfillment.v0.models.shipping_address'](),
|
|
20707
|
+
status: factories['io.flow.tracking.v0.enums.tracking_status'](),
|
|
20708
|
+
events: arrayOf(() => factories['io.flow.tracking.v0.models.tracking_event']()),
|
|
20709
|
+
external_reference_key: factories.string(),
|
|
20710
|
+
external_reference_source: factories.string(),
|
|
20711
|
+
}),
|
|
20712
|
+
|
|
20713
|
+
'io.flow.internal.v0.models.tracking_subscription_deleted': (): io.flow.internal.v0.models.TrackingSubscriptionDeleted => ({
|
|
20714
|
+
discriminator: 'tracking_subscription_deleted',
|
|
20715
|
+
event_id: factories.string(),
|
|
20716
|
+
timestamp: factories.date_time_iso_8601(),
|
|
20717
|
+
id: factories.string(),
|
|
20718
|
+
}),
|
|
20719
|
+
|
|
20720
|
+
'io.flow.internal.v0.models.tracking_subscription_upserted': (): io.flow.internal.v0.models.TrackingSubscriptionUpserted => ({
|
|
20721
|
+
discriminator: 'tracking_subscription_upserted',
|
|
20722
|
+
event_id: factories.string(),
|
|
20723
|
+
timestamp: factories.date_time_iso_8601(),
|
|
20724
|
+
tracking_subscription: factories['io.flow.internal.v0.models.tracking_subscription'](),
|
|
20725
|
+
}),
|
|
20726
|
+
|
|
20467
20727
|
'io.flow.internal.v0.models.tracking_upserted': (): io.flow.internal.v0.models.TrackingUpserted => ({
|
|
20468
20728
|
discriminator: 'tracking_upserted',
|
|
20469
20729
|
event_id: factories.string(),
|
|
@@ -21267,6 +21527,8 @@ const factories = {
|
|
|
21267
21527
|
() => factories['io.flow.internal.v0.models.partner_organization_settings_deleted'](),
|
|
21268
21528
|
() => factories['io.flow.internal.v0.models.unassigned_merchant_guid_upserted'](),
|
|
21269
21529
|
() => factories['io.flow.internal.v0.models.unassigned_merchant_guid_deleted'](),
|
|
21530
|
+
() => factories['io.flow.internal.v0.models.partner_tracking_subscription_upserted'](),
|
|
21531
|
+
() => factories['io.flow.internal.v0.models.partner_tracking_subscription_deleted'](),
|
|
21270
21532
|
() => factories['io.flow.internal.v0.models.internal_authorization_upserted'](),
|
|
21271
21533
|
() => factories['io.flow.internal.v0.models.internal_authorization_deleted'](),
|
|
21272
21534
|
() => factories['io.flow.internal.v0.models.afterpay_authorization_upserted'](),
|
|
@@ -21293,6 +21555,8 @@ const factories = {
|
|
|
21293
21555
|
() => factories['io.flow.internal.v0.models.paypal_execution_upserted'](),
|
|
21294
21556
|
() => factories['io.flow.internal.v0.models.paypal_refund_deleted'](),
|
|
21295
21557
|
() => factories['io.flow.internal.v0.models.paypal_refund_upserted'](),
|
|
21558
|
+
() => factories['io.flow.internal.v0.models.paypal_dispute_upserted'](),
|
|
21559
|
+
() => factories['io.flow.internal.v0.models.paypal_dispute_deleted'](),
|
|
21296
21560
|
() => factories['io.flow.internal.v0.models.pricing_indicator'](),
|
|
21297
21561
|
() => factories['io.flow.internal.v0.models.product_restriction_rule_decision_upserted'](),
|
|
21298
21562
|
() => factories['io.flow.internal.v0.models.product_restriction_rule_decision_deleted'](),
|
|
@@ -21352,6 +21616,8 @@ const factories = {
|
|
|
21352
21616
|
() => factories['io.flow.internal.v0.models.stripe_capture_upserted'](),
|
|
21353
21617
|
() => factories['io.flow.internal.v0.models.stripe_refund_deleted'](),
|
|
21354
21618
|
() => factories['io.flow.internal.v0.models.stripe_refund_upserted'](),
|
|
21619
|
+
() => factories['io.flow.internal.v0.models.stripe_dispute_upserted'](),
|
|
21620
|
+
() => factories['io.flow.internal.v0.models.stripe_dispute_deleted'](),
|
|
21355
21621
|
() => factories['io.flow.internal.v0.models.liability_remittance_plan_upserted'](),
|
|
21356
21622
|
() => factories['io.flow.internal.v0.models.liability_remittance_plan_deleted'](),
|
|
21357
21623
|
() => factories['io.flow.internal.v0.models.svitlana_item_upserted'](),
|
|
@@ -21370,6 +21636,8 @@ const factories = {
|
|
|
21370
21636
|
() => factories['io.flow.internal.v0.models.michaelyan_item_deleted'](),
|
|
21371
21637
|
() => factories['io.flow.internal.v0.models.miljenko_item_upserted'](),
|
|
21372
21638
|
() => factories['io.flow.internal.v0.models.miljenko_item_deleted'](),
|
|
21639
|
+
() => factories['io.flow.internal.v0.models.sanjay_item_upserted'](),
|
|
21640
|
+
() => factories['io.flow.internal.v0.models.sanjay_item_deleted'](),
|
|
21373
21641
|
() => factories['io.flow.internal.v0.models.shruti_demo_item_upserted'](),
|
|
21374
21642
|
() => factories['io.flow.internal.v0.models.shruti_demo_item_deleted'](),
|
|
21375
21643
|
() => factories['io.flow.internal.v0.models.tam_item_upserted'](),
|
|
@@ -21388,6 +21656,8 @@ const factories = {
|
|
|
21388
21656
|
() => factories['io.flow.internal.v0.models.tracking_assurance_analysis_deleted'](),
|
|
21389
21657
|
() => factories['io.flow.internal.v0.models.tracking_assurance_job_upserted'](),
|
|
21390
21658
|
() => factories['io.flow.internal.v0.models.tracking_assurance_job_deleted'](),
|
|
21659
|
+
() => factories['io.flow.internal.v0.models.tracking_subscription_upserted'](),
|
|
21660
|
+
() => factories['io.flow.internal.v0.models.tracking_subscription_deleted'](),
|
|
21391
21661
|
() => factories['io.flow.internal.v0.models.tracking_label_dimensions_upserted'](),
|
|
21392
21662
|
() => factories['io.flow.internal.v0.models.tracking_label_dimensions_deleted'](),
|
|
21393
21663
|
() => factories['io.flow.internal.v0.models.tracking_request_upserted'](),
|
|
@@ -22219,6 +22489,13 @@ const factories = {
|
|
|
22219
22489
|
|
|
22220
22490
|
'io.flow.label.v0.enums.label_trigger_method': (): io.flow.label.v0.enums.LabelTriggerMethod => faker.helpers.arrayElement(['autogenerated', 'on_demand']),
|
|
22221
22491
|
|
|
22492
|
+
'io.flow.label.v0.enums.origin_location_source': (): io.flow.label.v0.enums.OriginLocationSource => faker.helpers.arrayElement([
|
|
22493
|
+
'public_hub_code',
|
|
22494
|
+
'merchant_hub_code_override',
|
|
22495
|
+
'shopify',
|
|
22496
|
+
'fallback_location',
|
|
22497
|
+
]),
|
|
22498
|
+
|
|
22222
22499
|
'io.flow.label.v0.enums.package_dimensions_source': (): io.flow.label.v0.enums.PackageDimensionsSource => faker.helpers.arrayElement([
|
|
22223
22500
|
'provided',
|
|
22224
22501
|
'item_dimensions_estimated',
|
|
@@ -22253,6 +22530,7 @@ const factories = {
|
|
|
22253
22530
|
origin: factories['io.flow.fulfillment.v0.models.shipping_address'](),
|
|
22254
22531
|
direction: factories['io.flow.label.v0.enums.direction'](),
|
|
22255
22532
|
reference_id: factories.string(),
|
|
22533
|
+
origin_location_source: factories['io.flow.label.v0.enums.origin_location_source'](),
|
|
22256
22534
|
hub_code: factories.string(),
|
|
22257
22535
|
}),
|
|
22258
22536
|
|
|
@@ -22276,6 +22554,7 @@ const factories = {
|
|
|
22276
22554
|
service: factories.string(),
|
|
22277
22555
|
shipment_recipient: factories['io.flow.label.v0.enums.shipment_recipient'](),
|
|
22278
22556
|
package_dimensions_source: factories['io.flow.label.v0.enums.package_dimensions_source'](),
|
|
22557
|
+
origin_location_source: factories['io.flow.label.v0.enums.origin_location_source'](),
|
|
22279
22558
|
reference_id: factories.string(),
|
|
22280
22559
|
}),
|
|
22281
22560
|
|
|
@@ -23321,6 +23600,15 @@ const factories = {
|
|
|
23321
23600
|
id: factories.string(),
|
|
23322
23601
|
}),
|
|
23323
23602
|
|
|
23603
|
+
'io.flow.partner.v0.models.partner_tracking_subscription': (): io.flow.partner.v0.models.PartnerTrackingSubscription => ({
|
|
23604
|
+
id: factories.string(),
|
|
23605
|
+
carrier_tracking_number: factories.string(),
|
|
23606
|
+
carrier_id: factories.string(),
|
|
23607
|
+
source: factories.string(),
|
|
23608
|
+
reference_key: factories.string(),
|
|
23609
|
+
created_at: factories.date_time_iso_8601(),
|
|
23610
|
+
}),
|
|
23611
|
+
|
|
23324
23612
|
'io.flow.partner.v0.models.summary_label_form': (): io.flow.partner.v0.models.SummaryLabelForm => ({
|
|
23325
23613
|
discriminator: 'summary_label_form',
|
|
23326
23614
|
organization: factories.string(),
|
|
@@ -25280,6 +25568,11 @@ const factories = {
|
|
|
25280
25568
|
eci: factories.string(),
|
|
25281
25569
|
liability_sift: factories.boolean(),
|
|
25282
25570
|
version: factories.string(),
|
|
25571
|
+
authenticated: factories.boolean(),
|
|
25572
|
+
authenticated_result: factories.string(),
|
|
25573
|
+
offered: factories.boolean(),
|
|
25574
|
+
offered_result: factories.string(),
|
|
25575
|
+
sca_exemption: factories.string(),
|
|
25283
25576
|
}),
|
|
25284
25577
|
|
|
25285
25578
|
'io.flow.payment.v0.models.threeds_challenge_action_details': (): io.flow.payment.v0.models.ThreedsChallengeActionDetails => ({
|
|
@@ -28365,6 +28658,7 @@ const factories = {
|
|
|
28365
28658
|
inventory_item_id: factories.long(),
|
|
28366
28659
|
shopify_shop_id: factories.long(),
|
|
28367
28660
|
shopify_inventory_item: factories['io.flow.shopify.external.v0.models.shopify_inventory_item_summary'](),
|
|
28661
|
+
deleted_at: factories.date_time_iso_8601(),
|
|
28368
28662
|
}),
|
|
28369
28663
|
|
|
28370
28664
|
'io.flow.shopify.markets.internal.v0.models.markets_order': (): io.flow.shopify.markets.internal.v0.models.MarketsOrder => ({
|
|
@@ -31961,6 +32255,7 @@ export const makeAccountSettingsDeleted = () => factories['io.flow.internal.v0.m
|
|
|
31961
32255
|
export const makeAccountSettingsUpserted = () => factories['io.flow.internal.v0.models.account_settings_upserted']();
|
|
31962
32256
|
export const makeAccountSource = () => factories['io.flow.internal.v0.models.account_source']();
|
|
31963
32257
|
export const makeAccountStatistics = () => factories['io.flow.internal.v0.models.account_statistics']();
|
|
32258
|
+
export const makeAccountStatisticsAdditionalBalances = () => factories['io.flow.internal.v0.models.account_statistics_additional_balances']();
|
|
31964
32259
|
export const makeAccountSummary = () => factories['io.flow.internal.v0.models.account_summary']();
|
|
31965
32260
|
export const makeAccountTransactionsExportRequest = () => factories['io.flow.internal.v0.models.account_transactions_export_request']();
|
|
31966
32261
|
export const makeAccountType = () => factories['io.flow.internal.v0.enums.account_type']();
|
|
@@ -32145,6 +32440,7 @@ export const makeCalculatorOrganizationSettingsDeleted = () => factories['io.flo
|
|
|
32145
32440
|
export const makeCalculatorOrganizationSettingsForm = () => factories['io.flow.internal.v0.models.calculator_organization_settings_form']();
|
|
32146
32441
|
export const makeCalculatorOrganizationSettingsUpserted = () => factories['io.flow.internal.v0.models.calculator_organization_settings_upserted']();
|
|
32147
32442
|
export const makeCalculatorStamp = () => factories['io.flow.internal.v0.unions.calculator_stamp']();
|
|
32443
|
+
export const makeCallRecord = () => factories['io.flow.internal.v0.models.call_record']();
|
|
32148
32444
|
export const makeCarrierAccount = () => factories['io.flow.internal.v0.models.carrier_account']();
|
|
32149
32445
|
export const makeCarrierAccountDeleted = () => factories['io.flow.internal.v0.models.carrier_account_deleted']();
|
|
32150
32446
|
export const makeCarrierAccountForm = () => factories['io.flow.internal.v0.models.carrier_account_form']();
|
|
@@ -32473,6 +32769,7 @@ export const makeDisputeOrderReference = () => factories['io.flow.internal.v0.mo
|
|
|
32473
32769
|
export const makeDisputeOrganizationReference = () => factories['io.flow.internal.v0.models.dispute_organization_reference']();
|
|
32474
32770
|
export const makeDisputeOverrideUpdateForm = () => factories['io.flow.internal.v0.models.dispute_override_update_form']();
|
|
32475
32771
|
export const makeDisputeProcessor = () => factories['io.flow.internal.v0.enums.dispute_processor']();
|
|
32772
|
+
export const makeDisputeRecord = () => factories['io.flow.internal.v0.models.dispute_record']();
|
|
32476
32773
|
export const makeDisputeReportingCategory = () => factories['io.flow.internal.v0.enums.dispute_reporting_category']();
|
|
32477
32774
|
export const makeDisputeStatus = () => factories['io.flow.internal.v0.enums.dispute_status']();
|
|
32478
32775
|
export const makeDisputeStatusForm = () => factories['io.flow.internal.v0.models.dispute_status_form']();
|
|
@@ -32775,11 +33072,7 @@ export const makeInternalTransactionDetails = () => factories['io.flow.internal.
|
|
|
32775
33072
|
export const makeInternalTransactionDetailsCard = () => factories['io.flow.internal.v0.models.internal_transaction_details_card']();
|
|
32776
33073
|
export const makeInvalidCheckoutData = () => factories['io.flow.internal.v0.models.invalid_checkout_data']();
|
|
32777
33074
|
export const makeInvariant = () => factories['io.flow.internal.v0.models.invariant']();
|
|
32778
|
-
export const makeInventoryCheckService = () => factories['io.flow.internal.v0.enums.inventory_check_service']();
|
|
32779
33075
|
export const makeInventoryItemWrapper = () => factories['io.flow.internal.v0.models.inventory_item_wrapper']();
|
|
32780
|
-
export const makeInventoryOrganizationSettings = () => factories['io.flow.internal.v0.models.inventory_organization_settings']();
|
|
32781
|
-
export const makeInventoryOrganizationSettingsForm = () => factories['io.flow.internal.v0.models.inventory_organization_settings_form']();
|
|
32782
|
-
export const makeInventoryReservation = () => factories['io.flow.internal.v0.enums.inventory_reservation']();
|
|
32783
33076
|
export const makeInvoice = () => factories['io.flow.internal.v0.models.invoice']();
|
|
32784
33077
|
export const makeInvoiceInfoForm = () => factories['io.flow.internal.v0.models.invoice_info_form']();
|
|
32785
33078
|
export const makeInvoiceLine = () => factories['io.flow.internal.v0.models.invoice_line']();
|
|
@@ -33217,7 +33510,8 @@ export const makePartnerOrganizationSettings = () => factories['io.flow.internal
|
|
|
33217
33510
|
export const makePartnerOrganizationSettingsDeleted = () => factories['io.flow.internal.v0.models.partner_organization_settings_deleted']();
|
|
33218
33511
|
export const makePartnerOrganizationSettingsForm = () => factories['io.flow.internal.v0.models.partner_organization_settings_form']();
|
|
33219
33512
|
export const makePartnerOrganizationSettingsUpserted = () => factories['io.flow.internal.v0.models.partner_organization_settings_upserted']();
|
|
33220
|
-
export const
|
|
33513
|
+
export const makePartnerTrackingSubscriptionDeleted = () => factories['io.flow.internal.v0.models.partner_tracking_subscription_deleted']();
|
|
33514
|
+
export const makePartnerTrackingSubscriptionUpserted = () => factories['io.flow.internal.v0.models.partner_tracking_subscription_upserted']();
|
|
33221
33515
|
export const makeParty = () => factories['io.flow.internal.v0.enums.party']();
|
|
33222
33516
|
export const makePassphrase = () => factories['io.flow.internal.v0.models.passphrase']();
|
|
33223
33517
|
export const makePassphraseForm = () => factories['io.flow.internal.v0.models.passphrase_form']();
|
|
@@ -33245,8 +33539,11 @@ export const makePaypalAccountReference = () => factories['io.flow.internal.v0.m
|
|
|
33245
33539
|
export const makePaypalAuthentication = () => factories['io.flow.internal.v0.models.paypal_authentication']();
|
|
33246
33540
|
export const makePaypalAuthenticationForm = () => factories['io.flow.internal.v0.models.paypal_authentication_form']();
|
|
33247
33541
|
export const makePaypalAuthorizationPayload = () => factories['io.flow.internal.v0.models.paypal_authorization_payload']();
|
|
33542
|
+
export const makePaypalDisputeDeleted = () => factories['io.flow.internal.v0.models.paypal_dispute_deleted']();
|
|
33543
|
+
export const makePaypalDisputeUpserted = () => factories['io.flow.internal.v0.models.paypal_dispute_upserted']();
|
|
33248
33544
|
export const makePaypalExecutionDeleted = () => factories['io.flow.internal.v0.models.paypal_execution_deleted']();
|
|
33249
33545
|
export const makePaypalExecutionUpserted = () => factories['io.flow.internal.v0.models.paypal_execution_upserted']();
|
|
33546
|
+
export const makePaypalInternalDispute = () => factories['io.flow.internal.v0.models.paypal_internal_dispute']();
|
|
33250
33547
|
export const makePaypalInternalExecution = () => factories['io.flow.internal.v0.models.paypal_internal_execution']();
|
|
33251
33548
|
export const makePaypalInternalPayment = () => factories['io.flow.internal.v0.models.paypal_internal_payment']();
|
|
33252
33549
|
export const makePaypalInternalRefund = () => factories['io.flow.internal.v0.models.paypal_internal_refund']();
|
|
@@ -33419,6 +33716,7 @@ export const makeReportForm = () => factories['io.flow.internal.v0.models.report
|
|
|
33419
33716
|
export const makeReportInterval = () => factories['io.flow.internal.v0.enums.report_interval']();
|
|
33420
33717
|
export const makeReportMerchant = () => factories['io.flow.internal.v0.models.report_merchant']();
|
|
33421
33718
|
export const makeReportOrderReference = () => factories['io.flow.internal.v0.models.report_order_reference']();
|
|
33719
|
+
export const makeReportOrganizationReference = () => factories['io.flow.internal.v0.models.report_organization_reference']();
|
|
33422
33720
|
export const makeReportOwner = () => factories['io.flow.internal.v0.models.report_owner']();
|
|
33423
33721
|
export const makeReportPayment = () => factories['io.flow.internal.v0.models.report_payment']();
|
|
33424
33722
|
export const makeReportPaymentType = () => factories['io.flow.internal.v0.enums.report_payment_type']();
|
|
@@ -33435,7 +33733,6 @@ export const makeReportingDebug = () => factories['io.flow.internal.v0.models.re
|
|
|
33435
33733
|
export const makeReportingDebugMissingSubsidies = () => factories['io.flow.internal.v0.models.reporting_debug_missing_subsidies']();
|
|
33436
33734
|
export const makeReportingDestination = () => factories['io.flow.internal.v0.models.reporting_destination']();
|
|
33437
33735
|
export const makeReportingDetails = () => factories['io.flow.internal.v0.models.reporting_details']();
|
|
33438
|
-
export const makeReportingEntity = () => factories['io.flow.internal.v0.models.reporting_entity']();
|
|
33439
33736
|
export const makeReportingFulfillment = () => factories['io.flow.internal.v0.models.reporting_fulfillment']();
|
|
33440
33737
|
export const makeReportingFulfillmentHas = () => factories['io.flow.internal.v0.models.reporting_fulfillment_has']();
|
|
33441
33738
|
export const makeReportingFulfillmentIs = () => factories['io.flow.internal.v0.models.reporting_fulfillment_is']();
|
|
@@ -33492,6 +33789,7 @@ export const makeRestrictionRuleOverride = () => factories['io.flow.internal.v0.
|
|
|
33492
33789
|
export const makeRestrictionRuleSummary = () => factories['io.flow.internal.v0.models.restriction_rule_summary']();
|
|
33493
33790
|
export const makeRestrictionStatus = () => factories['io.flow.internal.v0.enums.restriction_status']();
|
|
33494
33791
|
export const makeRestrictionStatusMetadata = () => factories['io.flow.internal.v0.models.restriction_status_metadata']();
|
|
33792
|
+
export const makeRestrictionsDailyops = () => factories['io.flow.internal.v0.models.restrictions_dailyops']();
|
|
33495
33793
|
export const makeResyncByDestinations = () => factories['io.flow.internal.v0.models.resync_by_destinations']();
|
|
33496
33794
|
export const makeResyncByHs6Destinations = () => factories['io.flow.internal.v0.models.resync_by_hs6_destinations']();
|
|
33497
33795
|
export const makeResyncByHs6Origin = () => factories['io.flow.internal.v0.models.resync_by_hs6_origin']();
|
|
@@ -33521,6 +33819,11 @@ export const makeRoutingMerchant = () => factories['io.flow.internal.v0.models.r
|
|
|
33521
33819
|
export const makeRoutingProcessor = () => factories['io.flow.internal.v0.models.routing_processor']();
|
|
33522
33820
|
export const makeSandboxSetup = () => factories['io.flow.internal.v0.models.sandbox_setup']();
|
|
33523
33821
|
export const makeSandboxSetupForm = () => factories['io.flow.internal.v0.models.sandbox_setup_form']();
|
|
33822
|
+
export const makeSanjayItem = () => factories['io.flow.internal.v0.models.sanjay_item']();
|
|
33823
|
+
export const makeSanjayItemDeleted = () => factories['io.flow.internal.v0.models.sanjay_item_deleted']();
|
|
33824
|
+
export const makeSanjayItemForm = () => factories['io.flow.internal.v0.models.sanjay_item_form']();
|
|
33825
|
+
export const makeSanjayItemType = () => factories['io.flow.internal.v0.enums.sanjay_item_type']();
|
|
33826
|
+
export const makeSanjayItemUpserted = () => factories['io.flow.internal.v0.models.sanjay_item_upserted']();
|
|
33524
33827
|
export const makeScheduledPayment = () => factories['io.flow.internal.v0.models.scheduled_payment']();
|
|
33525
33828
|
export const makeScreen = () => factories['io.flow.internal.v0.models.screen']();
|
|
33526
33829
|
export const makeScreenForm = () => factories['io.flow.internal.v0.models.screen_form']();
|
|
@@ -33535,7 +33838,6 @@ export const makeSearchItemSummary = () => factories['io.flow.internal.v0.models
|
|
|
33535
33838
|
export const makeSearchOrderSummary = () => factories['io.flow.internal.v0.models.search_order_summary']();
|
|
33536
33839
|
export const makeSearchProviderExport = () => factories['io.flow.internal.v0.models.search_provider_export']();
|
|
33537
33840
|
export const makeSearchTrackingSummary = () => factories['io.flow.internal.v0.models.search_tracking_summary']();
|
|
33538
|
-
export const makeSerialReservationError = () => factories['io.flow.internal.v0.enums.serial_reservation_error']();
|
|
33539
33841
|
export const makeServiceName = () => factories['io.flow.internal.v0.enums.service_name']();
|
|
33540
33842
|
export const makeSessionCountries = () => factories['io.flow.internal.v0.models.session_countries']();
|
|
33541
33843
|
export const makeSessionCountry = () => factories['io.flow.internal.v0.models.session_country']();
|
|
@@ -33626,6 +33928,8 @@ export const makeShopifyOrderLineAttribute = () => factories['io.flow.internal.v
|
|
|
33626
33928
|
export const makeShopifyOrderLineContent = () => factories['io.flow.internal.v0.models.shopify_order_line_content']();
|
|
33627
33929
|
export const makeShopifyOrganizationSettings = () => factories['io.flow.internal.v0.models.shopify_organization_settings']();
|
|
33628
33930
|
export const makeShopifyOrganizationSettingsForm = () => factories['io.flow.internal.v0.models.shopify_organization_settings_form']();
|
|
33931
|
+
export const makeShopifyPartnerWebhook = () => factories['io.flow.internal.v0.models.shopify_partner_webhook']();
|
|
33932
|
+
export const makeShopifyPartnerWebhookRaw = () => factories['io.flow.internal.v0.models.shopify_partner_webhook_raw']();
|
|
33629
33933
|
export const makeShopifyPaymentSummary = () => factories['io.flow.internal.v0.models.shopify_payment_summary']();
|
|
33630
33934
|
export const makeShopifyProductBundle = () => factories['io.flow.internal.v0.models.shopify_product_bundle']();
|
|
33631
33935
|
export const makeShopifyProductBundleDeleted = () => factories['io.flow.internal.v0.models.shopify_product_bundle_deleted']();
|
|
@@ -33717,8 +34021,11 @@ export const makeStripeAuthorizationDeleted = () => factories['io.flow.internal.
|
|
|
33717
34021
|
export const makeStripeAuthorizationUpserted = () => factories['io.flow.internal.v0.models.stripe_authorization_upserted']();
|
|
33718
34022
|
export const makeStripeCaptureDeleted = () => factories['io.flow.internal.v0.models.stripe_capture_deleted']();
|
|
33719
34023
|
export const makeStripeCaptureUpserted = () => factories['io.flow.internal.v0.models.stripe_capture_upserted']();
|
|
34024
|
+
export const makeStripeDisputeDeleted = () => factories['io.flow.internal.v0.models.stripe_dispute_deleted']();
|
|
34025
|
+
export const makeStripeDisputeUpserted = () => factories['io.flow.internal.v0.models.stripe_dispute_upserted']();
|
|
33720
34026
|
export const makeStripeInternalAuthorization = () => factories['io.flow.internal.v0.models.stripe_internal_authorization']();
|
|
33721
34027
|
export const makeStripeInternalCapture = () => factories['io.flow.internal.v0.models.stripe_internal_capture']();
|
|
34028
|
+
export const makeStripeInternalDispute = () => factories['io.flow.internal.v0.models.stripe_internal_dispute']();
|
|
33722
34029
|
export const makeStripeInternalRefund = () => factories['io.flow.internal.v0.models.stripe_internal_refund']();
|
|
33723
34030
|
export const makeStripeInternalReversal = () => factories['io.flow.internal.v0.models.stripe_internal_reversal']();
|
|
33724
34031
|
export const makeStripeMerchant = () => factories['io.flow.internal.v0.models.stripe_merchant']();
|
|
@@ -33829,6 +34136,9 @@ export const makeTrackingRequest = () => factories['io.flow.internal.v0.models.t
|
|
|
33829
34136
|
export const makeTrackingRequestUpserted = () => factories['io.flow.internal.v0.models.tracking_request_upserted']();
|
|
33830
34137
|
export const makeTrackingResponse = () => factories['io.flow.internal.v0.models.tracking_response']();
|
|
33831
34138
|
export const makeTrackingResponseUpserted = () => factories['io.flow.internal.v0.models.tracking_response_upserted']();
|
|
34139
|
+
export const makeTrackingSubscription = () => factories['io.flow.internal.v0.models.tracking_subscription']();
|
|
34140
|
+
export const makeTrackingSubscriptionDeleted = () => factories['io.flow.internal.v0.models.tracking_subscription_deleted']();
|
|
34141
|
+
export const makeTrackingSubscriptionUpserted = () => factories['io.flow.internal.v0.models.tracking_subscription_upserted']();
|
|
33832
34142
|
export const makeTrackingUpserted = () => factories['io.flow.internal.v0.models.tracking_upserted']();
|
|
33833
34143
|
export const makeTransaction = () => factories['io.flow.internal.v0.unions.transaction']();
|
|
33834
34144
|
export const makeTransactionAdjustment = () => factories['io.flow.internal.v0.models.transaction_adjustment']();
|