@flowio/api-internal-factories 0.0.107 → 0.0.110

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.
@@ -64,6 +64,9 @@ var factories = {
64
64
  'SECOND_CHARGEBACK',
65
65
  'PREARBITRATION_WON',
66
66
  'PREARBITRATION_LOST',
67
+ 'INFORMATION_SUPPLIED',
68
+ 'DISPUTE_DEFENSE_PERIOD_ENDED',
69
+ 'ISSUER_RESPONSE_TIMEFRAME_EXPIRED',
67
70
  ]); },
68
71
  'io.flow.adyen.v0.enums.http_redirect_method': function () { return faker.helpers.arrayElement(['GET', 'POST']); },
69
72
  'io.flow.adyen.v0.enums.operation': function () { return faker.helpers.arrayElement(['cancel', 'capture', 'refund']); },
@@ -89,6 +92,9 @@ var factories = {
89
92
  'ebanking_FI',
90
93
  'gcash',
91
94
  'giropay',
95
+ 'grabpay_MY',
96
+ 'grabpay_PH',
97
+ 'grabpay_SG',
92
98
  'ideal',
93
99
  'interac',
94
100
  'jcb',
@@ -103,12 +109,14 @@ var factories = {
103
109
  'molpay_points',
104
110
  'multibanco',
105
111
  'onlineBanking_PL',
112
+ 'paywithgoogle',
106
113
  'qiwiwallet',
107
114
  'sepadirectdebit',
108
115
  'trustly',
109
116
  'trustpay',
110
117
  'twint',
111
118
  'unionpay',
119
+ 'vipps',
112
120
  'visa',
113
121
  'wechatpay',
114
122
  'unknowncard',
@@ -135,6 +143,10 @@ var factories = {
135
143
  stateOrProvince: factories.string(),
136
144
  country: factories.string(),
137
145
  }); },
146
+ 'io.flow.adyen.v0.models.adyen_dispute_event': function () { return ({
147
+ live: factories.string(),
148
+ notificationItems: arrayOf(function () { return factories['io.flow.adyen.v0.models.outer_notification_request_item'](); }),
149
+ }); },
138
150
  'io.flow.adyen.v0.models.amount': function () { return ({
139
151
  value: factories.long(),
140
152
  currency: factories.string(),
@@ -252,6 +264,7 @@ var factories = {
252
264
  chargebackReasonCode: factories.string(),
253
265
  modificationMerchantReferences: factories.string(),
254
266
  chargebackSchemeCode: factories.string(),
267
+ defensePeriodEndsAt: factories.date_time_iso_8601(),
255
268
  }); },
256
269
  'io.flow.adyen.v0.models.error': function () { return ({
257
270
  status: factories.integer(),
@@ -626,6 +639,7 @@ var factories = {
626
639
  'virtual_card_capture',
627
640
  'virtual_card_refund',
628
641
  'failed_payout',
642
+ 'tax_refund',
629
643
  ]); },
630
644
  'io.flow.billing.v0.enums.trueup_source': function () { return faker.helpers.arrayElement(['flow', 'channel', 'dhl-parcel', 'dhl', 'ups']); },
631
645
  'io.flow.billing.v0.enums.withholding_deduction_type': function () { return faker.helpers.arrayElement(['tax', 'duty', 'freight', 'insurance']); },
@@ -4269,7 +4283,7 @@ var factories = {
4269
4283
  name: factories.string(),
4270
4284
  }); },
4271
4285
  'io.flow.external.paypal.v1.models.canceled_recurring_billing': function () { return ({
4272
- expected_refund: factories['io.flow.external.paypal.v1.models.money'](),
4286
+ expected_refund: factories['io.flow.external.paypal.v1.models.dispute_money'](),
4273
4287
  cancellation_details: factories['io.flow.external.paypal.v1.models.cancellation_details'](),
4274
4288
  }); },
4275
4289
  'io.flow.external.paypal.v1.models.cancellation_details': function () { return ({
@@ -4285,7 +4299,7 @@ var factories = {
4285
4299
  }); },
4286
4300
  'io.flow.external.paypal.v1.models.credit_not_processed': function () { return ({
4287
4301
  issue_type: factories['io.flow.external.paypal.v1.enums.issue_type'](),
4288
- expected_refund: factories['io.flow.external.paypal.v1.models.money'](),
4302
+ expected_refund: factories['io.flow.external.paypal.v1.models.dispute_money'](),
4289
4303
  cancellation_details: factories['io.flow.external.paypal.v1.models.cancellation_details'](),
4290
4304
  product_details: factories['io.flow.external.paypal.v1.models.product_details'](),
4291
4305
  service_details: factories['io.flow.external.paypal.v1.models.service_details'](),
@@ -4298,7 +4312,7 @@ var factories = {
4298
4312
  disputed_transactions: arrayOf(function () { return factories['io.flow.external.paypal.v1.models.transaction_info'](); }),
4299
4313
  reason: factories['io.flow.external.paypal.v1.enums.dispute_reason'](),
4300
4314
  status: factories['io.flow.external.paypal.v1.enums.dispute_status'](),
4301
- dispute_amount: factories['io.flow.external.paypal.v1.models.money'](),
4315
+ dispute_amount: factories['io.flow.external.paypal.v1.models.dispute_money'](),
4302
4316
  fee_policy: factories.object(),
4303
4317
  external_reason_code: factories.string(),
4304
4318
  dispute_outcome: factories['io.flow.external.paypal.v1.models.dispute_outcome'](),
@@ -4332,9 +4346,13 @@ var factories = {
4332
4346
  items: arrayOf(function () { return factories['io.flow.external.paypal.v1.models.dispute_summary'](); }),
4333
4347
  links: arrayOf(function () { return factories['io.flow.external.paypal.v1.models.link'](); }),
4334
4348
  }); },
4349
+ 'io.flow.external.paypal.v1.models.dispute_money': function () { return ({
4350
+ currency_code: factories.string(),
4351
+ value: factories.string(),
4352
+ }); },
4335
4353
  'io.flow.external.paypal.v1.models.dispute_outcome': function () { return ({
4336
4354
  outcome_code: factories['io.flow.external.paypal.v1.enums.dispute_outcome_code'](),
4337
- amount_refunded: factories['io.flow.external.paypal.v1.models.money'](),
4355
+ amount_refunded: factories['io.flow.external.paypal.v1.models.dispute_money'](),
4338
4356
  }); },
4339
4357
  'io.flow.external.paypal.v1.models.dispute_summary': function () { return ({
4340
4358
  dispute_id: factories.string(),
@@ -4342,7 +4360,7 @@ var factories = {
4342
4360
  update_time: factories.date_time_iso_8601(),
4343
4361
  reason: factories['io.flow.external.paypal.v1.enums.dispute_reason'](),
4344
4362
  status: factories['io.flow.external.paypal.v1.enums.dispute_status'](),
4345
- dispute_amount: factories['io.flow.external.paypal.v1.models.money'](),
4363
+ dispute_amount: factories['io.flow.external.paypal.v1.models.dispute_money'](),
4346
4364
  dispute_life_cycle_stage: factories['io.flow.external.paypal.v1.enums.dispute_life_cycle_stage'](),
4347
4365
  links: arrayOf(function () { return factories['io.flow.external.paypal.v1.models.link'](); }),
4348
4366
  }); },
@@ -4380,7 +4398,7 @@ var factories = {
4380
4398
  transactions: arrayOf(function () { return factories['io.flow.external.paypal.v1.models.transaction'](); }),
4381
4399
  }); },
4382
4400
  'io.flow.external.paypal.v1.models.incorrect_transaction_amount': function () { return ({
4383
- correct_transaction_amount: factories['io.flow.external.paypal.v1.models.money'](),
4401
+ correct_transaction_amount: factories['io.flow.external.paypal.v1.models.dispute_money'](),
4384
4402
  correct_transaction_time: factories.date_time_iso_8601(),
4385
4403
  }); },
4386
4404
  'io.flow.external.paypal.v1.models.item': function () { return ({
@@ -4398,7 +4416,7 @@ var factories = {
4398
4416
  item_quantity: factories.string(),
4399
4417
  partner_transaction_id: factories.string(),
4400
4418
  reason: factories['io.flow.external.paypal.v1.enums.dispute_reason'](),
4401
- dispute_amount: factories['io.flow.external.paypal.v1.models.money'](),
4419
+ dispute_amount: factories['io.flow.external.paypal.v1.models.dispute_money'](),
4402
4420
  notes: factories.string(),
4403
4421
  }); },
4404
4422
  'io.flow.external.paypal.v1.models.item_list': function () { return ({
@@ -4430,14 +4448,14 @@ var factories = {
4430
4448
  }); },
4431
4449
  'io.flow.external.paypal.v1.models.money_movement': function () { return ({
4432
4450
  affected_party: factories['io.flow.external.paypal.v1.enums.affected_party'](),
4433
- amount: factories['io.flow.external.paypal.v1.models.money'](),
4451
+ amount: factories['io.flow.external.paypal.v1.models.dispute_money'](),
4434
4452
  initiated_time: factories.date_time_iso_8601(),
4435
4453
  type: factories['io.flow.external.paypal.v1.enums.money_movement_type'](),
4436
4454
  reason: factories['io.flow.external.paypal.v1.enums.money_movement_reason'](),
4437
4455
  }); },
4438
4456
  'io.flow.external.paypal.v1.models.offer': function () { return ({
4439
- buyer_requested_amount: factories['io.flow.external.paypal.v1.models.money'](),
4440
- seller_offered_amount: factories['io.flow.external.paypal.v1.models.money'](),
4457
+ buyer_requested_amount: factories['io.flow.external.paypal.v1.models.dispute_money'](),
4458
+ seller_offered_amount: factories['io.flow.external.paypal.v1.models.dispute_money'](),
4441
4459
  offer_type: factories['io.flow.external.paypal.v1.enums.offer_type'](),
4442
4460
  }); },
4443
4461
  'io.flow.external.paypal.v1.models.payer': function () { return ({
@@ -4529,7 +4547,7 @@ var factories = {
4529
4547
  update_time: factories.date_time_iso_8601(),
4530
4548
  }); },
4531
4549
  'io.flow.external.paypal.v1.models.refund_details': function () { return ({
4532
- allowed_refund_amount: factories['io.flow.external.paypal.v1.models.money'](),
4550
+ allowed_refund_amount: factories['io.flow.external.paypal.v1.models.dispute_money'](),
4533
4551
  }); },
4534
4552
  'io.flow.external.paypal.v1.models.refund_id': function () { return ({
4535
4553
  refund_id: factories.string(),
@@ -4647,7 +4665,7 @@ var factories = {
4647
4665
  reference_id: factories.string(),
4648
4666
  create_time: factories.date_time_iso_8601(),
4649
4667
  transaction_status: factories['io.flow.external.paypal.v1.enums.transaction_status'](),
4650
- gross_amount: factories['io.flow.external.paypal.v1.models.money'](),
4668
+ gross_amount: factories['io.flow.external.paypal.v1.models.dispute_money'](),
4651
4669
  invoice_number: factories.string(),
4652
4670
  custom: factories.string(),
4653
4671
  buyer: factories['io.flow.external.paypal.v1.models.buyer'](),
@@ -6039,6 +6057,13 @@ var factories = {
6039
6057
  'accounts_with_final_statements_pending_transaction_total',
6040
6058
  'edited_order_tax_amount_exceeding_transaction',
6041
6059
  'edited_order_duty_amount_exceeding_transaction',
6060
+ 'negative_balance_scheduled_count',
6061
+ 'negative_balance_scheduled_total',
6062
+ 'negative_balance_sent_count',
6063
+ 'negative_balance_sent_total',
6064
+ 'negative_balance_failed_count',
6065
+ 'negative_balance_failed_total',
6066
+ 'negative_debit_success_rate',
6042
6067
  ]); },
6043
6068
  'io.flow.internal.v0.enums.billing_statement_attachment_key': function () { return faker.helpers.arrayElement([
6044
6069
  'invoice',
@@ -6083,6 +6108,7 @@ var factories = {
6083
6108
  'duty',
6084
6109
  'trueup',
6085
6110
  'carrier_charge',
6111
+ 'tax_refund',
6086
6112
  ]); },
6087
6113
  'io.flow.internal.v0.enums.browser_bundle_error_code': function () { return faker.helpers.arrayElement(['generic_error', 'country_invalid']); },
6088
6114
  'io.flow.internal.v0.enums.calculator_engine': function () { return faker.helpers.arrayElement([
@@ -6211,7 +6237,7 @@ var factories = {
6211
6237
  'io.flow.internal.v0.enums.dispute_import_status': function () { return faker.helpers.arrayElement(['new', 'processing', 'completed', 'failed']); },
6212
6238
  'io.flow.internal.v0.enums.dispute_import_type': function () { return faker.helpers.arrayElement(['adyen_dispute', 'paypal_dispute']); },
6213
6239
  'io.flow.internal.v0.enums.dispute_liability': function () { return faker.helpers.arrayElement(['flow', 'organization']); },
6214
- 'io.flow.internal.v0.enums.dispute_processor': function () { return faker.helpers.arrayElement(['adyen', 'paypal']); },
6240
+ 'io.flow.internal.v0.enums.dispute_processor': function () { return faker.helpers.arrayElement(['adyen', 'paypal', 'stripe']); },
6215
6241
  'io.flow.internal.v0.enums.dispute_reporting_category': function () { return faker.helpers.arrayElement(['charge_issues', 'delivery', 'fraud', 'general', 'product', 'returns']); },
6216
6242
  'io.flow.internal.v0.enums.dispute_status': function () { return faker.helpers.arrayElement(['pending', 'won', 'lost', 'expired']); },
6217
6243
  'io.flow.internal.v0.enums.dispute_transaction_type': function () { return faker.helpers.arrayElement(['adjustment', 'dispute']); },
@@ -6232,6 +6258,7 @@ var factories = {
6232
6258
  ]); },
6233
6259
  'io.flow.internal.v0.enums.duty_simple_expression_type': function () { return faker.helpers.arrayElement(['free', 'percent', 'per_uom', 'flat']); },
6234
6260
  'io.flow.internal.v0.enums.duty_transaction_type': function () { return faker.helpers.arrayElement(['adjustment', 'reversal', 'duty']); },
6261
+ 'io.flow.internal.v0.enums.eldar_item_type': function () { return faker.helpers.arrayElement(['digital', 'physical']); },
6235
6262
  'io.flow.internal.v0.enums.empty_attribute': function () { return faker.helpers.arrayElement(['irrelevant']); },
6236
6263
  'io.flow.internal.v0.enums.erp_file_type': function () { return faker.helpers.arrayElement(['vendor']); },
6237
6264
  'io.flow.internal.v0.enums.event_type': function () { return faker.helpers.arrayElement([
@@ -6529,8 +6556,6 @@ var factories = {
6529
6556
  'ratecard_rate_level_ratecard_deleted',
6530
6557
  'ratecard_rate_level_organization_upserted',
6531
6558
  'ratecard_rate_level_organization_deleted',
6532
- 'organization_restriction_snapshot_upserted',
6533
- 'organization_restriction_snapshot_deleted',
6534
6559
  'restriction_organization_status_upserted',
6535
6560
  'restriction_organization_status_deleted',
6536
6561
  'organization_restriction_status_upserted',
@@ -6577,6 +6602,8 @@ var factories = {
6577
6602
  'svitlana_item_deleted',
6578
6603
  'colm_item_upserted',
6579
6604
  'colm_item_deleted',
6605
+ 'eldar_item_upserted',
6606
+ 'eldar_item_deleted',
6580
6607
  'harinath_item_upserted',
6581
6608
  'harinath_item_deleted',
6582
6609
  'konstantin_item_upserted',
@@ -6603,6 +6630,8 @@ var factories = {
6603
6630
  'tracking_deleted',
6604
6631
  'tracking_assurance_analysis_upserted',
6605
6632
  'tracking_assurance_analysis_deleted',
6633
+ 'tracking_assurance_job_upserted',
6634
+ 'tracking_assurance_job_deleted',
6606
6635
  'tracking_request_upserted',
6607
6636
  'tracking_response_upserted',
6608
6637
  'user_upserted_v2',
@@ -6631,6 +6660,17 @@ var factories = {
6631
6660
  ]); },
6632
6661
  'io.flow.internal.v0.enums.ftp_protocol': function () { return faker.helpers.arrayElement(['sftp', 'ftp']); },
6633
6662
  'io.flow.internal.v0.enums.google_analytics_plugin': function () { return faker.helpers.arrayElement(['ec']); },
6663
+ 'io.flow.internal.v0.enums.graphql_service_types': function () { return faker.helpers.arrayElement([
6664
+ 'order_update_mutation',
6665
+ 'shipping_address_validation',
6666
+ 'bulk_publication_status',
6667
+ 'country_catalog_sync',
6668
+ 'inventory_item',
6669
+ 'product_bundle',
6670
+ 'shopify_location',
6671
+ 'shopify_order',
6672
+ 'sync_product_catalog',
6673
+ ]); },
6634
6674
  'io.flow.internal.v0.enums.harinath_item_type': function () { return faker.helpers.arrayElement(['digital', 'physical']); },
6635
6675
  'io.flow.internal.v0.enums.harmonization_decision_source': function () { return faker.helpers.arrayElement(['human', 'legacy_model', 'enterprise_model']); },
6636
6676
  'io.flow.internal.v0.enums.http_method': function () { return faker.helpers.arrayElement(['get', 'post']); },
@@ -6818,7 +6858,7 @@ var factories = {
6818
6858
  'breached',
6819
6859
  ]); },
6820
6860
  'io.flow.internal.v0.enums.organization_capability': function () { return faker.helpers.arrayElement(['organization', 'flow', 'dynamic']); },
6821
- 'io.flow.internal.v0.enums.organization_metric_type': function () { return faker.helpers.arrayElement(['organization_restriction_snapshot', 'organization_restriction_status']); },
6861
+ 'io.flow.internal.v0.enums.organization_metric_type': function () { return faker.helpers.arrayElement(['organization_restriction_status']); },
6822
6862
  'io.flow.internal.v0.enums.organization_payment_status': function () { return faker.helpers.arrayElement(['active', 'archived']); },
6823
6863
  'io.flow.internal.v0.enums.organization_restriction_approval_status': function () { return faker.helpers.arrayElement(['ready', 'not-ready']); },
6824
6864
  'io.flow.internal.v0.enums.organization_restriction_note_type': function () { return faker.helpers.arrayElement(['internal', 'rejection_reason', 'additional_rejection_info']); },
@@ -6969,6 +7009,7 @@ var factories = {
6969
7009
  'webhook_registrations',
6970
7010
  'channel_organization_identifier',
6971
7011
  'bulk_product_ingestion',
7012
+ 'bulk_duty_update',
6972
7013
  ]); },
6973
7014
  'io.flow.internal.v0.enums.shopify_markets_trade_sector': function () { return faker.helpers.arrayElement([
6974
7015
  'apparel_and_accessories',
@@ -7029,7 +7070,7 @@ var factories = {
7029
7070
  ]); },
7030
7071
  'io.flow.internal.v0.enums.tax_calculation_error_code': function () { return faker.helpers.arrayElement(['generic_error', 'outside_of_jurisdiction']); },
7031
7072
  'io.flow.internal.v0.enums.tax_party': function () { return faker.helpers.arrayElement(['consumer', 'organization', 'flow', 'carrier']); },
7032
- 'io.flow.internal.v0.enums.tax_transaction_type': function () { return faker.helpers.arrayElement(['adjustment', 'reversal', 'tax']); },
7073
+ 'io.flow.internal.v0.enums.tax_transaction_type': function () { return faker.helpers.arrayElement(['adjustment', 'reversal', 'tax', 'refund']); },
7033
7074
  'io.flow.internal.v0.enums.thiago_item_type': function () { return faker.helpers.arrayElement(['digital', 'physical']); },
7034
7075
  'io.flow.internal.v0.enums.tracking_integration_type': function () { return faker.helpers.arrayElement(['api', 'bulk', 'aftership']); },
7035
7076
  'io.flow.internal.v0.enums.tracking_processing_failure_classification': function () { return faker.helpers.arrayElement([
@@ -7968,6 +8009,7 @@ var factories = {
7968
8009
  trueup: factories['io.flow.common.v0.models.price'](),
7969
8010
  carrier_charge: factories['io.flow.common.v0.models.price'](),
7970
8011
  ending_balance: factories['io.flow.common.v0.models.price'](),
8012
+ tax_refund: factories['io.flow.common.v0.models.price'](),
7971
8013
  }); },
7972
8014
  'io.flow.internal.v0.models.billing_statement_upserted': function () { return ({
7973
8015
  discriminator: 'billing_statement_upserted',
@@ -8100,11 +8142,10 @@ var factories = {
8100
8142
  discriminator: 'bulk',
8101
8143
  actions: arrayOf(function () { return factories['io.flow.internal.v0.models.single_classification_action'](); }),
8102
8144
  }); },
8103
- 'io.flow.internal.v0.models.by_rule_snapshot': function () { return ({
8104
- id: factories.string(),
8105
- name: factories.string(),
8106
- open_decision_count: factories.long(),
8107
- restricted_product_count: factories.long(),
8145
+ 'io.flow.internal.v0.models.bulk_duty_update_validation_error': function () { return ({
8146
+ message: factories.string(),
8147
+ reason: factories.string(),
8148
+ next_action_from: factories['io.flow.internal.v0.enums.channel_order_acceptance_next_action_from'](),
8108
8149
  }); },
8109
8150
  'io.flow.internal.v0.models.calculated_tax_amount': function () { return ({
8110
8151
  discriminator: 'calculated_tax_amount',
@@ -9212,6 +9253,7 @@ var factories = {
9212
9253
  transaction_date: factories.string(),
9213
9254
  origin: factories['io.flow.fulfillment.v0.models.shipping_address'](),
9214
9255
  destination: factories['io.flow.fulfillment.v0.models.shipping_address'](),
9256
+ billing_address: factories['io.flow.fulfillment.v0.models.shipping_address'](),
9215
9257
  service: factories.string(),
9216
9258
  flow_tracking_number: factories.string(),
9217
9259
  rex_number: factories.string(),
@@ -9239,6 +9281,7 @@ var factories = {
9239
9281
  show_us_outbound_signature: factories.boolean(),
9240
9282
  show_us_outbound_stamp: factories.boolean(),
9241
9283
  invoice_url: factories.string(),
9284
+ invoice_number: factories.string(),
9242
9285
  }); },
9243
9286
  'io.flow.internal.v0.models.commercial_invoice_internal_deleted': function () { return ({
9244
9287
  discriminator: 'commercial_invoice_internal_deleted',
@@ -9762,6 +9805,7 @@ var factories = {
9762
9805
  category: factories['io.flow.internal.v0.enums.dispute_category'](),
9763
9806
  reporting_category: factories['io.flow.internal.v0.enums.dispute_reporting_category'](),
9764
9807
  reason: factories.string(),
9808
+ code: factories.string(),
9765
9809
  status: factories['io.flow.internal.v0.enums.dispute_status'](),
9766
9810
  liability: factories['io.flow.internal.v0.enums.dispute_liability'](),
9767
9811
  billable: factories['io.flow.internal.v0.enums.dispute_billable'](),
@@ -9791,6 +9835,7 @@ var factories = {
9791
9835
  original_transaction_id: factories.string(),
9792
9836
  transaction_invoice_id: factories.string(),
9793
9837
  case_id: factories.string(),
9838
+ dispute_channel: factories.string(),
9794
9839
  }); },
9795
9840
  'io.flow.internal.v0.models.dispute_details_stripe': function () { return ({
9796
9841
  discriminator: 'stripe',
@@ -10005,6 +10050,33 @@ var factories = {
10005
10050
  timestamp: factories.date_time_iso_8601(),
10006
10051
  duty_transaction: factories['io.flow.internal.v0.models.duty_transaction'](),
10007
10052
  }); },
10053
+ 'io.flow.internal.v0.models.eldar_item': function () { return ({
10054
+ id: factories.string(),
10055
+ number: factories.string(),
10056
+ amount: factories['io.flow.common.v0.models.price'](),
10057
+ description: factories.string(),
10058
+ type: factories['io.flow.internal.v0.enums.eldar_item_type'](),
10059
+ added_on: factories.date_time_iso_8601(),
10060
+ }); },
10061
+ 'io.flow.internal.v0.models.eldar_item_deleted': function () { return ({
10062
+ discriminator: 'eldar_item_deleted',
10063
+ event_id: factories.string(),
10064
+ timestamp: factories.date_time_iso_8601(),
10065
+ id: factories.string(),
10066
+ }); },
10067
+ 'io.flow.internal.v0.models.eldar_item_form': function () { return ({
10068
+ number: factories.string(),
10069
+ amount: factories['io.flow.common.v0.models.price'](),
10070
+ description: factories.string(),
10071
+ type: factories['io.flow.internal.v0.enums.eldar_item_type'](),
10072
+ added_on: factories.date_time_iso_8601(),
10073
+ }); },
10074
+ 'io.flow.internal.v0.models.eldar_item_upserted': function () { return ({
10075
+ discriminator: 'eldar_item_upserted',
10076
+ event_id: factories.string(),
10077
+ timestamp: factories.date_time_iso_8601(),
10078
+ item: factories['io.flow.internal.v0.models.eldar_item'](),
10079
+ }); },
10008
10080
  'io.flow.internal.v0.models.email_form': function () { return ({
10009
10081
  to: arrayOf(function () { return factories.string(); }),
10010
10082
  cc: arrayOf(function () { return factories.string(); }),
@@ -11947,6 +12019,7 @@ var factories = {
11947
12019
  carrier_id: factories.string(),
11948
12020
  service_id: factories.string(),
11949
12021
  errors: arrayOf(function () { return factories.string(); }),
12022
+ direction: factories['io.flow.label.v0.enums.direction'](),
11950
12023
  }); },
11951
12024
  'io.flow.internal.v0.models.label_request_error_deleted': function () { return ({
11952
12025
  discriminator: 'label_request_error_deleted',
@@ -11995,6 +12068,7 @@ var factories = {
11995
12068
  direct_delivery: factories['io.flow.internal.v0.models.label_surcharge_single_form'](),
11996
12069
  saturday_stop: factories['io.flow.internal.v0.models.label_surcharge_single_form'](),
11997
12070
  residential_extended_area_pickup: factories['io.flow.internal.v0.models.label_surcharge_single_form'](),
12071
+ package_level_detail: factories['io.flow.internal.v0.models.label_surcharge_single_form'](),
11998
12072
  }); },
11999
12073
  'io.flow.internal.v0.models.label_surcharge_single_form': function () { return ({
12000
12074
  amount: factories.decimal(),
@@ -12818,6 +12892,7 @@ var factories = {
12818
12892
  duty: factories.decimal(),
12819
12893
  freight: factories.decimal(),
12820
12894
  total: factories.decimal(),
12895
+ tax_refund: factories.decimal(),
12821
12896
  }); },
12822
12897
  'io.flow.internal.v0.models.merchant_upserted': function () { return ({
12823
12898
  discriminator: 'merchant_upserted',
@@ -13302,6 +13377,8 @@ var factories = {
13302
13377
  resolved_at: factories.date_time_iso_8601(),
13303
13378
  last_failure: factories['io.flow.internal.v0.models.last_failure_summary'](),
13304
13379
  sla_breach_at: factories.date_time_iso_8601(),
13380
+ capabilities_at_creation: arrayOf(function () { return factories['io.flow.internal.v0.enums.logistics_capability'](); }),
13381
+ first_globale_address_repair_failure_at: factories.date_time_iso_8601(),
13305
13382
  }); },
13306
13383
  'io.flow.internal.v0.models.order_validation_deleted': function () { return ({
13307
13384
  discriminator: 'order_validation_deleted',
@@ -13347,6 +13424,7 @@ var factories = {
13347
13424
  created_at: factories.string(),
13348
13425
  cancelled_at: factories.date_time_iso_8601(),
13349
13426
  resolved_at: factories.date_time_iso_8601(),
13427
+ environment: factories['io.flow.common.v0.enums.environment'](),
13350
13428
  }); },
13351
13429
  'io.flow.internal.v0.models.order_validation_failure_upserted': function () { return ({
13352
13430
  discriminator: 'order_validation_failure_upserted',
@@ -13613,31 +13691,6 @@ var factories = {
13613
13691
  screening_first_viewed_at: factories.date_time_iso_8601(),
13614
13692
  onboarding_first_viewed_at: factories.date_time_iso_8601(),
13615
13693
  }); },
13616
- 'io.flow.internal.v0.models.organization_restriction_snapshot': function () { return ({
13617
- id: factories.string(),
13618
- organization_id: factories.string(),
13619
- organization_channel_id: factories.string(),
13620
- organization_status: factories.string(),
13621
- product_count: factories.long(),
13622
- open_decision_count: factories.long(),
13623
- restricted_product_count: factories.long(),
13624
- count_by_rule: arrayOf(function () { return factories['io.flow.internal.v0.models.by_rule_snapshot'](); }),
13625
- earliest_pending_decision_date: factories.date_time_iso_8601(),
13626
- earliest_product_receipt_date: factories.date_time_iso_8601(),
13627
- date: factories.date_time_iso_8601(),
13628
- }); },
13629
- 'io.flow.internal.v0.models.organization_restriction_snapshot_deleted': function () { return ({
13630
- discriminator: 'organization_restriction_snapshot_deleted',
13631
- event_id: factories.string(),
13632
- timestamp: factories.date_time_iso_8601(),
13633
- organization_restriction_snapshot: factories['io.flow.internal.v0.models.organization_restriction_snapshot'](),
13634
- }); },
13635
- 'io.flow.internal.v0.models.organization_restriction_snapshot_upserted': function () { return ({
13636
- discriminator: 'organization_restriction_snapshot_upserted',
13637
- event_id: factories.string(),
13638
- timestamp: factories.date_time_iso_8601(),
13639
- organization_restriction_snapshot: factories['io.flow.internal.v0.models.organization_restriction_snapshot'](),
13640
- }); },
13641
13694
  'io.flow.internal.v0.models.organization_restriction_status': function () { return ({
13642
13695
  id: factories.string(),
13643
13696
  organization_id: factories.string(),
@@ -14297,6 +14350,7 @@ var factories = {
14297
14350
  }); },
14298
14351
  'io.flow.internal.v0.models.processed_payment_summary': function () { return ({
14299
14352
  type: factories['io.flow.reference.v0.enums.payment_method_capability'](),
14353
+ amount: factories.decimal(),
14300
14354
  currency: factories['io.flow.reference.v0.models.currency'](),
14301
14355
  method: factories['io.flow.reference.v0.models.payment_method'](),
14302
14356
  card_issuer_country: factories['io.flow.reference.v0.models.country'](),
@@ -15078,6 +15132,9 @@ var factories = {
15078
15132
  lvg: factories.boolean(),
15079
15133
  tax_inclusive: factories.boolean(),
15080
15134
  duty_inclusive: factories.boolean(),
15135
+ manual_payment: factories.boolean(),
15136
+ partial_fulfillment: factories.boolean(),
15137
+ partial_refund: factories.boolean(),
15081
15138
  }); },
15082
15139
  'io.flow.internal.v0.models.reporting_fx': function () { return ({
15083
15140
  shipping: factories['io.flow.internal.v0.models.reporting_usd'](),
@@ -15118,6 +15175,7 @@ var factories = {
15118
15175
  freight: factories['io.flow.internal.v0.models.reporting_monetary_value'](),
15119
15176
  discount: factories['io.flow.internal.v0.models.reporting_monetary_value'](),
15120
15177
  total: factories['io.flow.internal.v0.models.reporting_monetary_value'](),
15178
+ tax_refund: factories['io.flow.internal.v0.models.reporting_monetary_value'](),
15121
15179
  }); },
15122
15180
  'io.flow.internal.v0.models.reporting_monetary_value': function () { return ({
15123
15181
  transaction: factories.decimal(),
@@ -15290,7 +15348,6 @@ var factories = {
15290
15348
  priority_score: factories.decimal(),
15291
15349
  date: factories.date_time_iso_8601(),
15292
15350
  statuses: arrayOf(function () { return factories['io.flow.internal.v0.models.restriction_status_metadata'](); }),
15293
- rules: arrayOf(function () { return factories['io.flow.internal.v0.models.restriction_rule_metadata'](); }),
15294
15351
  count: factories.long(),
15295
15352
  }); },
15296
15353
  'io.flow.internal.v0.models.restriction_organization_status': function () { return ({
@@ -16985,6 +17042,22 @@ var factories = {
16985
17042
  organization: factories.string(),
16986
17043
  analysis: factories['io.flow.internal.v0.models.tracking_assurance_analysis'](),
16987
17044
  }); },
17045
+ 'io.flow.internal.v0.models.tracking_assurance_job': function () { return ({
17046
+ id: factories.string(),
17047
+ created_at: factories.date_time_iso_8601(),
17048
+ }); },
17049
+ 'io.flow.internal.v0.models.tracking_assurance_job_deleted': function () { return ({
17050
+ discriminator: 'tracking_assurance_job_deleted',
17051
+ event_id: factories.string(),
17052
+ timestamp: factories.date_time_iso_8601(),
17053
+ id: factories.string(),
17054
+ }); },
17055
+ 'io.flow.internal.v0.models.tracking_assurance_job_upserted': function () { return ({
17056
+ discriminator: 'tracking_assurance_job_upserted',
17057
+ event_id: factories.string(),
17058
+ timestamp: factories.date_time_iso_8601(),
17059
+ job: factories['io.flow.internal.v0.models.tracking_assurance_job'](),
17060
+ }); },
16988
17061
  'io.flow.internal.v0.models.tracking_debug_force_transit_form': function () { return ({
16989
17062
  description: factories.string(),
16990
17063
  }); },
@@ -17830,8 +17903,6 @@ var factories = {
17830
17903
  function () { return factories['io.flow.internal.v0.models.ratecard_rate_level_ratecard_deleted'](); },
17831
17904
  function () { return factories['io.flow.internal.v0.models.ratecard_rate_level_organization_upserted'](); },
17832
17905
  function () { return factories['io.flow.internal.v0.models.ratecard_rate_level_organization_deleted'](); },
17833
- function () { return factories['io.flow.internal.v0.models.organization_restriction_snapshot_upserted'](); },
17834
- function () { return factories['io.flow.internal.v0.models.organization_restriction_snapshot_deleted'](); },
17835
17906
  function () { return factories['io.flow.internal.v0.models.restriction_organization_status_upserted'](); },
17836
17907
  function () { return factories['io.flow.internal.v0.models.restriction_organization_status_deleted'](); },
17837
17908
  function () { return factories['io.flow.internal.v0.models.organization_restriction_status_upserted'](); },
@@ -17878,6 +17949,8 @@ var factories = {
17878
17949
  function () { return factories['io.flow.internal.v0.models.svitlana_item_deleted'](); },
17879
17950
  function () { return factories['io.flow.internal.v0.models.colm_item_upserted'](); },
17880
17951
  function () { return factories['io.flow.internal.v0.models.colm_item_deleted'](); },
17952
+ function () { return factories['io.flow.internal.v0.models.eldar_item_upserted'](); },
17953
+ function () { return factories['io.flow.internal.v0.models.eldar_item_deleted'](); },
17881
17954
  function () { return factories['io.flow.internal.v0.models.harinath_item_upserted'](); },
17882
17955
  function () { return factories['io.flow.internal.v0.models.harinath_item_deleted'](); },
17883
17956
  function () { return factories['io.flow.internal.v0.models.konstantin_item_upserted'](); },
@@ -17904,6 +17977,8 @@ var factories = {
17904
17977
  function () { return factories['io.flow.internal.v0.models.tracking_deleted'](); },
17905
17978
  function () { return factories['io.flow.internal.v0.models.tracking_assurance_analysis_upserted'](); },
17906
17979
  function () { return factories['io.flow.internal.v0.models.tracking_assurance_analysis_deleted'](); },
17980
+ function () { return factories['io.flow.internal.v0.models.tracking_assurance_job_upserted'](); },
17981
+ function () { return factories['io.flow.internal.v0.models.tracking_assurance_job_deleted'](); },
17907
17982
  function () { return factories['io.flow.internal.v0.models.tracking_request_upserted'](); },
17908
17983
  function () { return factories['io.flow.internal.v0.models.tracking_response_upserted'](); },
17909
17984
  function () { return factories['io.flow.internal.v0.models.user_upserted_v2'](); },
@@ -18595,6 +18670,7 @@ var factories = {
18595
18670
  items: arrayOf(function () { return factories['io.flow.common.v0.models.line_item_form'](); }),
18596
18671
  'package': factories['io.flow.label.v0.models.shipping_label_package'](),
18597
18672
  origin: factories['io.flow.fulfillment.v0.models.shipping_address'](),
18673
+ direction: factories['io.flow.label.v0.enums.direction'](),
18598
18674
  }); },
18599
18675
  'io.flow.label.v0.models.crossdock_shipment': function () { return ({
18600
18676
  partner_id: factories.string(),
@@ -18684,6 +18760,7 @@ var factories = {
18684
18760
  additional_services_requested: arrayOf(function () { return factories['io.flow.label.v0.models.additional_services_requested'](); }),
18685
18761
  created_at: factories.date_time_iso_8601(),
18686
18762
  updated_at: factories.date_time_iso_8601(),
18763
+ direction: factories['io.flow.label.v0.enums.direction'](),
18687
18764
  }); },
18688
18765
  'io.flow.label.v0.models.shipping_label_document': function () { return ({
18689
18766
  zpl: factories.string(),
@@ -18772,6 +18849,7 @@ var factories = {
18772
18849
  order_number: factories.string(),
18773
18850
  items: arrayOf(function () { return factories['io.flow.common.v0.models.line_item_form'](); }),
18774
18851
  center_key: factories.string(),
18852
+ direction: factories['io.flow.label.v0.enums.direction'](),
18775
18853
  }); },
18776
18854
  'io.flow.label.v0.models.summary_shipping_notification_form': function () { return ({
18777
18855
  discriminator: 'summary_shipping_notification_form',
@@ -18799,7 +18877,7 @@ var factories = {
18799
18877
  return f();
18800
18878
  },
18801
18879
  'io.flow.merchant.of.record.v0.enums.economic_title_location': function () { return faker.helpers.arrayElement(['high_seas', 'origination', 'destination']); },
18802
- 'io.flow.merchant.of.record.v0.enums.flow_entity': function () { return faker.helpers.arrayElement(['flow-usa', 'flow-irl', 'flow-can']); },
18880
+ 'io.flow.merchant.of.record.v0.enums.flow_entity': function () { return faker.helpers.arrayElement(['flow-usa', 'flow-irl', 'flow-can', 'ge-usa']); },
18803
18881
  'io.flow.merchant.onboarding.v0.enums.logistics_format_preference': function () { return faker.helpers.arrayElement(['shopify_console', 'existing_3pl_integration', 'byo_integration']); },
18804
18882
  'io.flow.merchant.onboarding.v0.enums.onboarding_application_status': function () { return faker.helpers.arrayElement(['to_do', 'in_progress', 'on_hold', 'rejected', 'accepted']); },
18805
18883
  'io.flow.merchant.onboarding.v0.enums.onboarding_trade_sector': function () { return faker.helpers.arrayElement([
@@ -19566,6 +19644,10 @@ var factories = {
19566
19644
  'bancontact',
19567
19645
  'twint',
19568
19646
  'przelewy24',
19647
+ 'mobilepay',
19648
+ 'grabpay',
19649
+ 'vipps',
19650
+ 'kcp_creditcard',
19569
19651
  ]); },
19570
19652
  'io.flow.payment.gateway.v0.models.action_display_inline_window': function () { return ({
19571
19653
  type: 'display_inline_window',
@@ -19880,15 +19962,27 @@ var factories = {
19880
19962
  type: 'init_googlepay',
19881
19963
  reference: factories.string(),
19882
19964
  }); },
19965
+ 'io.flow.payment.gateway.v0.models.payment_method_data_init_grabpay': function () { return ({
19966
+ type: 'init_grabpay',
19967
+ reference: factories.string(),
19968
+ }); },
19883
19969
  'io.flow.payment.gateway.v0.models.payment_method_data_init_ideal': function () { return ({
19884
19970
  type: 'init_ideal',
19885
19971
  issuer: factories.string(),
19886
19972
  reference: factories.string(),
19887
19973
  }); },
19974
+ 'io.flow.payment.gateway.v0.models.payment_method_data_init_kcp_creditcard': function () { return ({
19975
+ type: 'init_kcp_creditcard',
19976
+ reference: factories.string(),
19977
+ }); },
19888
19978
  'io.flow.payment.gateway.v0.models.payment_method_data_init_klarna': function () { return ({
19889
19979
  type: 'init_klarna',
19890
19980
  reference: factories.string(),
19891
19981
  }); },
19982
+ 'io.flow.payment.gateway.v0.models.payment_method_data_init_mobilepay': function () { return ({
19983
+ type: 'init_mobilepay',
19984
+ reference: factories.string(),
19985
+ }); },
19892
19986
  'io.flow.payment.gateway.v0.models.payment_method_data_init_paypal': function () { return ({
19893
19987
  type: 'init_paypal',
19894
19988
  reference: factories.string(),
@@ -19905,6 +19999,10 @@ var factories = {
19905
19999
  type: 'init_twint',
19906
20000
  reference: factories.string(),
19907
20001
  }); },
20002
+ 'io.flow.payment.gateway.v0.models.payment_method_data_init_vipps': function () { return ({
20003
+ type: 'init_vipps',
20004
+ reference: factories.string(),
20005
+ }); },
19908
20006
  'io.flow.payment.gateway.v0.models.payment_method_data_option_logo_svg': function () { return ({
19909
20007
  type: 'svg',
19910
20008
  url: factories.string(),
@@ -19956,15 +20054,27 @@ var factories = {
19956
20054
  type: 'googlepay',
19957
20055
  merchant_of_record: factories['io.flow.common.v0.enums.merchant_of_record'](),
19958
20056
  }); },
20057
+ 'io.flow.payment.gateway.v0.models.payment_method_summary_grabpay': function () { return ({
20058
+ type: 'grabpay',
20059
+ merchant_of_record: factories['io.flow.common.v0.enums.merchant_of_record'](),
20060
+ }); },
19959
20061
  'io.flow.payment.gateway.v0.models.payment_method_summary_ideal': function () { return ({
19960
20062
  type: 'ideal',
19961
20063
  merchant_of_record: factories['io.flow.common.v0.enums.merchant_of_record'](),
19962
20064
  issuer: factories.string(),
19963
20065
  }); },
20066
+ 'io.flow.payment.gateway.v0.models.payment_method_summary_kcp_creditcard': function () { return ({
20067
+ type: 'kcp_creditcard',
20068
+ merchant_of_record: factories['io.flow.common.v0.enums.merchant_of_record'](),
20069
+ }); },
19964
20070
  'io.flow.payment.gateway.v0.models.payment_method_summary_klarna': function () { return ({
19965
20071
  type: 'klarna',
19966
20072
  merchant_of_record: factories['io.flow.common.v0.enums.merchant_of_record'](),
19967
20073
  }); },
20074
+ 'io.flow.payment.gateway.v0.models.payment_method_summary_mobilepay': function () { return ({
20075
+ type: 'mobilepay',
20076
+ merchant_of_record: factories['io.flow.common.v0.enums.merchant_of_record'](),
20077
+ }); },
19968
20078
  'io.flow.payment.gateway.v0.models.payment_method_summary_paypal': function () { return ({
19969
20079
  type: 'paypal',
19970
20080
  merchant_of_record: factories['io.flow.common.v0.enums.merchant_of_record'](),
@@ -19981,6 +20091,10 @@ var factories = {
19981
20091
  type: 'twint',
19982
20092
  merchant_of_record: factories['io.flow.common.v0.enums.merchant_of_record'](),
19983
20093
  }); },
20094
+ 'io.flow.payment.gateway.v0.models.payment_method_summary_vipps': function () { return ({
20095
+ type: 'vipps',
20096
+ merchant_of_record: factories['io.flow.common.v0.enums.merchant_of_record'](),
20097
+ }); },
19984
20098
  'io.flow.payment.gateway.v0.models.payment_order_details_line_item': function () { return ({
19985
20099
  id: factories.string(),
19986
20100
  description: factories.string(),
@@ -20175,7 +20289,11 @@ var factories = {
20175
20289
  function () { return factories['io.flow.payment.gateway.v0.models.payment_method_data_init_sofort'](); },
20176
20290
  function () { return factories['io.flow.payment.gateway.v0.models.payment_method_data_init_twint'](); },
20177
20291
  function () { return factories['io.flow.payment.gateway.v0.models.payment_method_data_init_przelewy24'](); },
20292
+ function () { return factories['io.flow.payment.gateway.v0.models.payment_method_data_init_mobilepay'](); },
20293
+ function () { return factories['io.flow.payment.gateway.v0.models.payment_method_data_init_kcp_creditcard'](); },
20178
20294
  function () { return factories['io.flow.payment.gateway.v0.models.payment_method_data_init_bancontact'](); },
20295
+ function () { return factories['io.flow.payment.gateway.v0.models.payment_method_data_init_grabpay'](); },
20296
+ function () { return factories['io.flow.payment.gateway.v0.models.payment_method_data_init_vipps'](); },
20179
20297
  function () { return factories['io.flow.payment.gateway.v0.models.payment_method_data_validate_applepay'](); },
20180
20298
  function () { return factories['io.flow.payment.gateway.v0.models.payment_method_data_authorize_card'](); },
20181
20299
  function () { return factories['io.flow.payment.gateway.v0.models.payment_method_data_authorize_googlepay'](); },
@@ -20224,9 +20342,13 @@ var factories = {
20224
20342
  function () { return factories['io.flow.payment.gateway.v0.models.payment_method_summary_paypal'](); },
20225
20343
  function () { return factories['io.flow.payment.gateway.v0.models.payment_method_summary_ideal'](); },
20226
20344
  function () { return factories['io.flow.payment.gateway.v0.models.payment_method_summary_twint'](); },
20345
+ function () { return factories['io.flow.payment.gateway.v0.models.payment_method_summary_vipps'](); },
20227
20346
  function () { return factories['io.flow.payment.gateway.v0.models.payment_method_summary_przelewy24'](); },
20347
+ function () { return factories['io.flow.payment.gateway.v0.models.payment_method_summary_mobilepay'](); },
20348
+ function () { return factories['io.flow.payment.gateway.v0.models.payment_method_summary_kcp_creditcard'](); },
20228
20349
  function () { return factories['io.flow.payment.gateway.v0.models.payment_method_summary_sofort'](); },
20229
20350
  function () { return factories['io.flow.payment.gateway.v0.models.payment_method_summary_bancontact'](); },
20351
+ function () { return factories['io.flow.payment.gateway.v0.models.payment_method_summary_grabpay'](); },
20230
20352
  ]);
20231
20353
  return f();
20232
20354
  },
@@ -20333,6 +20455,20 @@ var factories = {
20333
20455
  ]); },
20334
20456
  'io.flow.payment.v0.enums.payment_source_confirmation_action_type': function () { return faker.helpers.arrayElement(['cvv', 'billing_address', 'number']); },
20335
20457
  'io.flow.payment.v0.enums.refund_decline_code': function () { return faker.helpers.arrayElement(['expired', 'insufficient_funds', 'unknown']); },
20458
+ 'io.flow.payment.v0.enums.refund_failure_category': function () { return faker.helpers.arrayElement([
20459
+ 'amount_too_high',
20460
+ 'amount_too_low',
20461
+ 'not_enough_balance',
20462
+ 'insufficient_funds',
20463
+ 'refund_period_expired',
20464
+ 'dispute',
20465
+ 'not_captured',
20466
+ 'unsupported_payment_method',
20467
+ 'unsupported_partial_refund',
20468
+ 'invalid_currency',
20469
+ 'card_no_longer_valid',
20470
+ 'general',
20471
+ ]); },
20336
20472
  'io.flow.payment.v0.enums.refund_status': function () { return faker.helpers.arrayElement(['pending', 'succeeded', 'failed', 'canceled']); },
20337
20473
  'io.flow.payment.v0.enums.reversal_error_code': function () { return faker.helpers.arrayElement([
20338
20474
  'amount_exceeds_balance',
@@ -20958,6 +21094,8 @@ var factories = {
20958
21094
  attributes: objectOf(function () { return factories.string(); }),
20959
21095
  status: factories['io.flow.payment.v0.enums.refund_status'](),
20960
21096
  base: factories['io.flow.common.v0.models.money'](),
21097
+ failure_category: factories['io.flow.payment.v0.enums.refund_failure_category'](),
21098
+ failure_psp_reason: factories.string(),
20961
21099
  }); },
20962
21100
  'io.flow.payment.v0.models.refund_capture': function () { return ({
20963
21101
  id: factories.string(),
@@ -23586,6 +23724,17 @@ var factories = {
23586
23724
  'io.flow.shopify.markets.internal.v0.enums.any_dangerous_goods': function () { return faker.helpers.arrayElement(['yes', 'no', 'i_dont_know']); },
23587
23725
  'io.flow.shopify.markets.internal.v0.enums.api_call_reference_id': function () { return faker.helpers.arrayElement(['duty_rates_data_event', 'integration_test', 'unit_test']); },
23588
23726
  'io.flow.shopify.markets.internal.v0.enums.channel_order_fulfillment_status_code': function () { return faker.helpers.arrayElement(['unfulfilled', 'fulfilled', 'partial', 'cancelled']); },
23727
+ 'io.flow.shopify.markets.internal.v0.enums.graphql_service_types': function () { return faker.helpers.arrayElement([
23728
+ 'order_update_mutation',
23729
+ 'shipping_address_validation',
23730
+ 'bulk_publication_status',
23731
+ 'country_catalog_sync',
23732
+ 'inventory_item',
23733
+ 'product_bundle',
23734
+ 'shopify_location',
23735
+ 'shopify_order',
23736
+ 'sync_product_catalog',
23737
+ ]); },
23589
23738
  'io.flow.shopify.markets.internal.v0.enums.product_status': function () { return faker.helpers.arrayElement(['active', 'archived', 'draft']); },
23590
23739
  'io.flow.shopify.markets.internal.v0.enums.shopify_markets_dangerous_goods': function () { return faker.helpers.arrayElement([
23591
23740
  'aerosols',
@@ -23630,6 +23779,11 @@ var factories = {
23630
23779
  'duty_exclusive_tax_inclusive',
23631
23780
  'duty_inclusive_tax_inclusive',
23632
23781
  ]); },
23782
+ 'io.flow.shopify.markets.internal.v0.models.bulk_duty_update_validation_error': function () { return ({
23783
+ message: factories.string(),
23784
+ reason: factories.string(),
23785
+ next_action_from: factories['io.flow.channel.internal.v0.enums.channel_order_acceptance_next_action_from'](),
23786
+ }); },
23633
23787
  'io.flow.shopify.markets.internal.v0.models.catalog_publication_sync_validation_error': function () { return ({
23634
23788
  message: factories.string(),
23635
23789
  reason: factories.string(),
@@ -24356,6 +24510,7 @@ var factories = {
24356
24510
  id: factories.long(),
24357
24511
  }); },
24358
24512
  'io.flow.shopify.markets.v0.models.shopify_order_line_item': function () { return ({
24513
+ current_quantity: factories.long(),
24359
24514
  fulfillable_quantity: factories.long(),
24360
24515
  fulfillment_status: factories['io.flow.shopify.markets.v0.enums.shopify_order_fulfillment_status_type'](),
24361
24516
  grams: factories.double(),
@@ -24512,6 +24667,12 @@ var factories = {
24512
24667
  due_in_days: factories.long(),
24513
24668
  payment_schedules: factories['io.flow.shopify.markets.v0.models.shopify_payment_schedules'](),
24514
24669
  }); },
24670
+ 'io.flow.shopify.markets.v0.models.shopify_product_variant_inventory_item_wrapper': function () { return ({
24671
+ product_id: factories.long(),
24672
+ variant_id: factories.long(),
24673
+ harmonized_system_code: factories.string(),
24674
+ country_harmonized_system_codes: arrayOf(function () { return factories['io.flow.shopify.markets.v0.models.shopify_country_harmonized_system_code'](); }),
24675
+ }); },
24515
24676
  'io.flow.shopify.markets.v0.models.shopify_refund': function () { return ({
24516
24677
  notify_x: factories.boolean(),
24517
24678
  note: factories.string(),
@@ -25282,7 +25443,15 @@ var factories = {
25282
25443
  'it-CH',
25283
25444
  'en-CH',
25284
25445
  ]); },
25285
- 'io.flow.stripe.v0.enums.refund_failure_reason': function () { return faker.helpers.arrayElement(['lost_or_stolen_card', 'expired_or_canceled_card', 'unknown']); },
25446
+ 'io.flow.stripe.v0.enums.refund_failure_reason': function () { return faker.helpers.arrayElement([
25447
+ 'charge_for_pending_refund_disputed',
25448
+ 'declined',
25449
+ 'expired_or_canceled_card',
25450
+ 'insufficient_funds',
25451
+ 'lost_or_stolen_card',
25452
+ 'merchant_request',
25453
+ 'unknown',
25454
+ ]); },
25286
25455
  'io.flow.stripe.v0.enums.refund_reason': function () { return faker.helpers.arrayElement(['duplicate', 'fraudulent', 'requested_by_customer']); },
25287
25456
  'io.flow.stripe.v0.enums.refund_status': function () { return faker.helpers.arrayElement(['succeeded', 'failed', 'pending', 'canceled']); },
25288
25457
  'io.flow.stripe.v0.enums.request_three_d_secure_type': function () { return faker.helpers.arrayElement(['automatic', 'any']); },
@@ -26623,6 +26792,7 @@ var factories = {
26623
26792
  'direct_delivery',
26624
26793
  'saturday_stop',
26625
26794
  'residential_extended_area_pickup',
26795
+ 'package_level_detail',
26626
26796
  ]); },
26627
26797
  'io.flow.trueup.v0.models.dead_weight': function () { return ({
26628
26798
  weight: factories.decimal(),
@@ -26860,7 +27030,7 @@ export var makeBrowserBundlePaymentMethod = function () { return factories['io.f
26860
27030
  export var makeBrowserBundlePaymentMethodForm = function () { return factories['io.flow.internal.v0.models.browser_bundle_payment_method_form'](); };
26861
27031
  export var makeBrowserBundlePaymentMethods = function () { return factories['io.flow.internal.v0.models.browser_bundle_payment_methods'](); };
26862
27032
  export var makeBulkClassificationAction = function () { return factories['io.flow.internal.v0.models.bulk_classification_action'](); };
26863
- export var makeByRuleSnapshot = function () { return factories['io.flow.internal.v0.models.by_rule_snapshot'](); };
27033
+ export var makeBulkDutyUpdateValidationError = function () { return factories['io.flow.internal.v0.models.bulk_duty_update_validation_error'](); };
26864
27034
  export var makeCalculatedTaxAmount = function () { return factories['io.flow.internal.v0.models.calculated_tax_amount'](); };
26865
27035
  export var makeCalculationStampingLineItem = function () { return factories['io.flow.internal.v0.models.calculation_stamping_line_item'](); };
26866
27036
  export var makeCalculationStampingShippingLine = function () { return factories['io.flow.internal.v0.models.calculation_stamping_shipping_line'](); };
@@ -27231,6 +27401,11 @@ export var makeDutyTransaction = function () { return factories['io.flow.interna
27231
27401
  export var makeDutyTransactionDeleted = function () { return factories['io.flow.internal.v0.models.duty_transaction_deleted'](); };
27232
27402
  export var makeDutyTransactionType = function () { return factories['io.flow.internal.v0.enums.duty_transaction_type'](); };
27233
27403
  export var makeDutyTransactionUpserted = function () { return factories['io.flow.internal.v0.models.duty_transaction_upserted'](); };
27404
+ export var makeEldarItem = function () { return factories['io.flow.internal.v0.models.eldar_item'](); };
27405
+ export var makeEldarItemDeleted = function () { return factories['io.flow.internal.v0.models.eldar_item_deleted'](); };
27406
+ export var makeEldarItemForm = function () { return factories['io.flow.internal.v0.models.eldar_item_form'](); };
27407
+ export var makeEldarItemType = function () { return factories['io.flow.internal.v0.enums.eldar_item_type'](); };
27408
+ export var makeEldarItemUpserted = function () { return factories['io.flow.internal.v0.models.eldar_item_upserted'](); };
27234
27409
  export var makeEmailForm = function () { return factories['io.flow.internal.v0.models.email_form'](); };
27235
27410
  export var makeEmailModificationForm = function () { return factories['io.flow.internal.v0.models.email_modification_form'](); };
27236
27411
  export var makeEmptyAttribute = function () { return factories['io.flow.internal.v0.enums.empty_attribute'](); };
@@ -27428,6 +27603,7 @@ export var makeGoogleLinker = function () { return factories['io.flow.internal.v
27428
27603
  export var makeGoogleShoppingAccountParameters = function () { return factories['io.flow.internal.v0.models.google_shopping_account_parameters'](); };
27429
27604
  export var makeGoogleShoppingSetting = function () { return factories['io.flow.internal.v0.models.google_shopping_setting'](); };
27430
27605
  export var makeGoogleTagManager = function () { return factories['io.flow.internal.v0.models.google_tag_manager'](); };
27606
+ export var makeGraphqlServiceTypes = function () { return factories['io.flow.internal.v0.enums.graphql_service_types'](); };
27431
27607
  export var makeHarinathItem = function () { return factories['io.flow.internal.v0.models.harinath_item'](); };
27432
27608
  export var makeHarinathItemDeleted = function () { return factories['io.flow.internal.v0.models.harinath_item_deleted'](); };
27433
27609
  export var makeHarinathItemForm = function () { return factories['io.flow.internal.v0.models.harinath_item_form'](); };
@@ -27876,9 +28052,6 @@ export var makeOrganizationRestrictionReviewType = function () { return factorie
27876
28052
  export var makeOrganizationRestrictionRiskLevel = function () { return factories['io.flow.internal.v0.enums.organization_restriction_risk_level'](); };
27877
28053
  export var makeOrganizationRestrictionScreeningDecisionForm = function () { return factories['io.flow.internal.v0.models.organization_restriction_screening_decision_form'](); };
27878
28054
  export var makeOrganizationRestrictionScreeningStatus = function () { return factories['io.flow.internal.v0.enums.organization_restriction_screening_status'](); };
27879
- export var makeOrganizationRestrictionSnapshot = function () { return factories['io.flow.internal.v0.models.organization_restriction_snapshot'](); };
27880
- export var makeOrganizationRestrictionSnapshotDeleted = function () { return factories['io.flow.internal.v0.models.organization_restriction_snapshot_deleted'](); };
27881
- export var makeOrganizationRestrictionSnapshotUpserted = function () { return factories['io.flow.internal.v0.models.organization_restriction_snapshot_upserted'](); };
27882
28055
  export var makeOrganizationRestrictionStatus = function () { return factories['io.flow.internal.v0.models.organization_restriction_status'](); };
27883
28056
  export var makeOrganizationRestrictionStatusDeleted = function () { return factories['io.flow.internal.v0.models.organization_restriction_status_deleted'](); };
27884
28057
  export var makeOrganizationRestrictionStatusNote = function () { return factories['io.flow.internal.v0.models.organization_restriction_status_note'](); };
@@ -28506,6 +28679,9 @@ export var makeTracker = function () { return factories['io.flow.internal.v0.uni
28506
28679
  export var makeTrackingAssuranceAnalysis = function () { return factories['io.flow.internal.v0.models.tracking_assurance_analysis'](); };
28507
28680
  export var makeTrackingAssuranceAnalysisDeleted = function () { return factories['io.flow.internal.v0.models.tracking_assurance_analysis_deleted'](); };
28508
28681
  export var makeTrackingAssuranceAnalysisUpserted = function () { return factories['io.flow.internal.v0.models.tracking_assurance_analysis_upserted'](); };
28682
+ export var makeTrackingAssuranceJob = function () { return factories['io.flow.internal.v0.models.tracking_assurance_job'](); };
28683
+ export var makeTrackingAssuranceJobDeleted = function () { return factories['io.flow.internal.v0.models.tracking_assurance_job_deleted'](); };
28684
+ export var makeTrackingAssuranceJobUpserted = function () { return factories['io.flow.internal.v0.models.tracking_assurance_job_upserted'](); };
28509
28685
  export var makeTrackingDebugForceTransitForm = function () { return factories['io.flow.internal.v0.models.tracking_debug_force_transit_form'](); };
28510
28686
  export var makeTrackingDebugLabel = function () { return factories['io.flow.internal.v0.models.tracking_debug_label'](); };
28511
28687
  export var makeTrackingDebugLabelEvent = function () { return factories['io.flow.internal.v0.models.tracking_debug_label_event'](); };