@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.
@@ -70,6 +70,9 @@ const factories = {
70
70
  'SECOND_CHARGEBACK',
71
71
  'PREARBITRATION_WON',
72
72
  'PREARBITRATION_LOST',
73
+ 'INFORMATION_SUPPLIED',
74
+ 'DISPUTE_DEFENSE_PERIOD_ENDED',
75
+ 'ISSUER_RESPONSE_TIMEFRAME_EXPIRED',
73
76
  ]),
74
77
 
75
78
  'io.flow.adyen.v0.enums.http_redirect_method': (): io.flow.adyen.v0.enums.HttpRedirectMethod => faker.helpers.arrayElement(['GET', 'POST']),
@@ -97,6 +100,9 @@ const factories = {
97
100
  'ebanking_FI',
98
101
  'gcash',
99
102
  'giropay',
103
+ 'grabpay_MY',
104
+ 'grabpay_PH',
105
+ 'grabpay_SG',
100
106
  'ideal',
101
107
  'interac',
102
108
  'jcb',
@@ -111,12 +117,14 @@ const factories = {
111
117
  'molpay_points',
112
118
  'multibanco',
113
119
  'onlineBanking_PL',
120
+ 'paywithgoogle',
114
121
  'qiwiwallet',
115
122
  'sepadirectdebit',
116
123
  'trustly',
117
124
  'trustpay',
118
125
  'twint',
119
126
  'unionpay',
127
+ 'vipps',
120
128
  'visa',
121
129
  'wechatpay',
122
130
  'unknowncard',
@@ -148,6 +156,14 @@ const factories = {
148
156
  country: factories.string(),
149
157
  }),
150
158
 
159
+ 'io.flow.adyen.v0.models.adyen_dispute_event': (): io.flow.adyen.v0.models.AdyenDisputeEvent => ({
160
+ live: factories.string(),
161
+
162
+ notificationItems: arrayOf(
163
+ () => factories['io.flow.adyen.v0.models.outer_notification_request_item'](),
164
+ ),
165
+ }),
166
+
151
167
  'io.flow.adyen.v0.models.amount': (): io.flow.adyen.v0.models.Amount => ({
152
168
  value: factories.long(),
153
169
  currency: factories.string(),
@@ -280,6 +296,7 @@ const factories = {
280
296
  chargebackReasonCode: factories.string(),
281
297
  modificationMerchantReferences: factories.string(),
282
298
  chargebackSchemeCode: factories.string(),
299
+ defensePeriodEndsAt: factories.date_time_iso_8601(),
283
300
  }),
284
301
 
285
302
  'io.flow.adyen.v0.models.error': (): io.flow.adyen.v0.models.Error => ({
@@ -715,6 +732,7 @@ const factories = {
715
732
  'virtual_card_capture',
716
733
  'virtual_card_refund',
717
734
  'failed_payout',
735
+ 'tax_refund',
718
736
  ]),
719
737
 
720
738
  'io.flow.billing.v0.enums.trueup_source': (): io.flow.billing.v0.enums.TrueupSource => faker.helpers.arrayElement(['flow', 'channel', 'dhl-parcel', 'dhl', 'ups']),
@@ -5066,7 +5084,7 @@ const factories = {
5066
5084
  }),
5067
5085
 
5068
5086
  'io.flow.external.paypal.v1.models.canceled_recurring_billing': (): io.flow.external.paypal.v1.models.CanceledRecurringBilling => ({
5069
- expected_refund: factories['io.flow.external.paypal.v1.models.money'](),
5087
+ expected_refund: factories['io.flow.external.paypal.v1.models.dispute_money'](),
5070
5088
  cancellation_details: factories['io.flow.external.paypal.v1.models.cancellation_details'](),
5071
5089
  }),
5072
5090
 
@@ -5085,7 +5103,7 @@ const factories = {
5085
5103
 
5086
5104
  'io.flow.external.paypal.v1.models.credit_not_processed': (): io.flow.external.paypal.v1.models.CreditNotProcessed => ({
5087
5105
  issue_type: factories['io.flow.external.paypal.v1.enums.issue_type'](),
5088
- expected_refund: factories['io.flow.external.paypal.v1.models.money'](),
5106
+ expected_refund: factories['io.flow.external.paypal.v1.models.dispute_money'](),
5089
5107
  cancellation_details: factories['io.flow.external.paypal.v1.models.cancellation_details'](),
5090
5108
  product_details: factories['io.flow.external.paypal.v1.models.product_details'](),
5091
5109
  service_details: factories['io.flow.external.paypal.v1.models.service_details'](),
@@ -5099,7 +5117,7 @@ const factories = {
5099
5117
  disputed_transactions: arrayOf(() => factories['io.flow.external.paypal.v1.models.transaction_info']()),
5100
5118
  reason: factories['io.flow.external.paypal.v1.enums.dispute_reason'](),
5101
5119
  status: factories['io.flow.external.paypal.v1.enums.dispute_status'](),
5102
- dispute_amount: factories['io.flow.external.paypal.v1.models.money'](),
5120
+ dispute_amount: factories['io.flow.external.paypal.v1.models.dispute_money'](),
5103
5121
  fee_policy: factories.object(),
5104
5122
  external_reason_code: factories.string(),
5105
5123
  dispute_outcome: factories['io.flow.external.paypal.v1.models.dispute_outcome'](),
@@ -5136,9 +5154,14 @@ const factories = {
5136
5154
  links: arrayOf(() => factories['io.flow.external.paypal.v1.models.link']()),
5137
5155
  }),
5138
5156
 
5157
+ 'io.flow.external.paypal.v1.models.dispute_money': (): io.flow.external.paypal.v1.models.DisputeMoney => ({
5158
+ currency_code: factories.string(),
5159
+ value: factories.string(),
5160
+ }),
5161
+
5139
5162
  'io.flow.external.paypal.v1.models.dispute_outcome': (): io.flow.external.paypal.v1.models.DisputeOutcome => ({
5140
5163
  outcome_code: factories['io.flow.external.paypal.v1.enums.dispute_outcome_code'](),
5141
- amount_refunded: factories['io.flow.external.paypal.v1.models.money'](),
5164
+ amount_refunded: factories['io.flow.external.paypal.v1.models.dispute_money'](),
5142
5165
  }),
5143
5166
 
5144
5167
  'io.flow.external.paypal.v1.models.dispute_summary': (): io.flow.external.paypal.v1.models.DisputeSummary => ({
@@ -5147,7 +5170,7 @@ const factories = {
5147
5170
  update_time: factories.date_time_iso_8601(),
5148
5171
  reason: factories['io.flow.external.paypal.v1.enums.dispute_reason'](),
5149
5172
  status: factories['io.flow.external.paypal.v1.enums.dispute_status'](),
5150
- dispute_amount: factories['io.flow.external.paypal.v1.models.money'](),
5173
+ dispute_amount: factories['io.flow.external.paypal.v1.models.dispute_money'](),
5151
5174
  dispute_life_cycle_stage: factories['io.flow.external.paypal.v1.enums.dispute_life_cycle_stage'](),
5152
5175
  links: arrayOf(() => factories['io.flow.external.paypal.v1.models.link']()),
5153
5176
  }),
@@ -5196,7 +5219,7 @@ const factories = {
5196
5219
  }),
5197
5220
 
5198
5221
  'io.flow.external.paypal.v1.models.incorrect_transaction_amount': (): io.flow.external.paypal.v1.models.IncorrectTransactionAmount => ({
5199
- correct_transaction_amount: factories['io.flow.external.paypal.v1.models.money'](),
5222
+ correct_transaction_amount: factories['io.flow.external.paypal.v1.models.dispute_money'](),
5200
5223
  correct_transaction_time: factories.date_time_iso_8601(),
5201
5224
  }),
5202
5225
 
@@ -5216,7 +5239,7 @@ const factories = {
5216
5239
  item_quantity: factories.string(),
5217
5240
  partner_transaction_id: factories.string(),
5218
5241
  reason: factories['io.flow.external.paypal.v1.enums.dispute_reason'](),
5219
- dispute_amount: factories['io.flow.external.paypal.v1.models.money'](),
5242
+ dispute_amount: factories['io.flow.external.paypal.v1.models.dispute_money'](),
5220
5243
  notes: factories.string(),
5221
5244
  }),
5222
5245
 
@@ -5255,15 +5278,15 @@ const factories = {
5255
5278
 
5256
5279
  'io.flow.external.paypal.v1.models.money_movement': (): io.flow.external.paypal.v1.models.MoneyMovement => ({
5257
5280
  affected_party: factories['io.flow.external.paypal.v1.enums.affected_party'](),
5258
- amount: factories['io.flow.external.paypal.v1.models.money'](),
5281
+ amount: factories['io.flow.external.paypal.v1.models.dispute_money'](),
5259
5282
  initiated_time: factories.date_time_iso_8601(),
5260
5283
  type: factories['io.flow.external.paypal.v1.enums.money_movement_type'](),
5261
5284
  reason: factories['io.flow.external.paypal.v1.enums.money_movement_reason'](),
5262
5285
  }),
5263
5286
 
5264
5287
  'io.flow.external.paypal.v1.models.offer': (): io.flow.external.paypal.v1.models.Offer => ({
5265
- buyer_requested_amount: factories['io.flow.external.paypal.v1.models.money'](),
5266
- seller_offered_amount: factories['io.flow.external.paypal.v1.models.money'](),
5288
+ buyer_requested_amount: factories['io.flow.external.paypal.v1.models.dispute_money'](),
5289
+ seller_offered_amount: factories['io.flow.external.paypal.v1.models.dispute_money'](),
5267
5290
  offer_type: factories['io.flow.external.paypal.v1.enums.offer_type'](),
5268
5291
  }),
5269
5292
 
@@ -5367,7 +5390,7 @@ const factories = {
5367
5390
  }),
5368
5391
 
5369
5392
  'io.flow.external.paypal.v1.models.refund_details': (): io.flow.external.paypal.v1.models.RefundDetails => ({
5370
- allowed_refund_amount: factories['io.flow.external.paypal.v1.models.money'](),
5393
+ allowed_refund_amount: factories['io.flow.external.paypal.v1.models.dispute_money'](),
5371
5394
  }),
5372
5395
 
5373
5396
  'io.flow.external.paypal.v1.models.refund_id': (): io.flow.external.paypal.v1.models.RefundId => ({
@@ -5502,7 +5525,7 @@ const factories = {
5502
5525
  reference_id: factories.string(),
5503
5526
  create_time: factories.date_time_iso_8601(),
5504
5527
  transaction_status: factories['io.flow.external.paypal.v1.enums.transaction_status'](),
5505
- gross_amount: factories['io.flow.external.paypal.v1.models.money'](),
5528
+ gross_amount: factories['io.flow.external.paypal.v1.models.dispute_money'](),
5506
5529
  invoice_number: factories.string(),
5507
5530
  custom: factories.string(),
5508
5531
  buyer: factories['io.flow.external.paypal.v1.models.buyer'](),
@@ -7142,6 +7165,13 @@ const factories = {
7142
7165
  'accounts_with_final_statements_pending_transaction_total',
7143
7166
  'edited_order_tax_amount_exceeding_transaction',
7144
7167
  'edited_order_duty_amount_exceeding_transaction',
7168
+ 'negative_balance_scheduled_count',
7169
+ 'negative_balance_scheduled_total',
7170
+ 'negative_balance_sent_count',
7171
+ 'negative_balance_sent_total',
7172
+ 'negative_balance_failed_count',
7173
+ 'negative_balance_failed_total',
7174
+ 'negative_debit_success_rate',
7145
7175
  ]),
7146
7176
 
7147
7177
  'io.flow.internal.v0.enums.billing_statement_attachment_key': (): io.flow.internal.v0.enums.BillingStatementAttachmentKey => faker.helpers.arrayElement([
@@ -7189,6 +7219,7 @@ const factories = {
7189
7219
  'duty',
7190
7220
  'trueup',
7191
7221
  'carrier_charge',
7222
+ 'tax_refund',
7192
7223
  ]),
7193
7224
 
7194
7225
  'io.flow.internal.v0.enums.browser_bundle_error_code': (): io.flow.internal.v0.enums.BrowserBundleErrorCode => faker.helpers.arrayElement(['generic_error', 'country_invalid']),
@@ -7331,7 +7362,7 @@ const factories = {
7331
7362
  'io.flow.internal.v0.enums.dispute_import_status': (): io.flow.internal.v0.enums.DisputeImportStatus => faker.helpers.arrayElement(['new', 'processing', 'completed', 'failed']),
7332
7363
  'io.flow.internal.v0.enums.dispute_import_type': (): io.flow.internal.v0.enums.DisputeImportType => faker.helpers.arrayElement(['adyen_dispute', 'paypal_dispute']),
7333
7364
  'io.flow.internal.v0.enums.dispute_liability': (): io.flow.internal.v0.enums.DisputeLiability => faker.helpers.arrayElement(['flow', 'organization']),
7334
- 'io.flow.internal.v0.enums.dispute_processor': (): io.flow.internal.v0.enums.DisputeProcessor => faker.helpers.arrayElement(['adyen', 'paypal']),
7365
+ 'io.flow.internal.v0.enums.dispute_processor': (): io.flow.internal.v0.enums.DisputeProcessor => faker.helpers.arrayElement(['adyen', 'paypal', 'stripe']),
7335
7366
  'io.flow.internal.v0.enums.dispute_reporting_category': (): io.flow.internal.v0.enums.DisputeReportingCategory => faker.helpers.arrayElement(['charge_issues', 'delivery', 'fraud', 'general', 'product', 'returns']),
7336
7367
  'io.flow.internal.v0.enums.dispute_status': (): io.flow.internal.v0.enums.DisputeStatus => faker.helpers.arrayElement(['pending', 'won', 'lost', 'expired']),
7337
7368
  'io.flow.internal.v0.enums.dispute_transaction_type': (): io.flow.internal.v0.enums.DisputeTransactionType => faker.helpers.arrayElement(['adjustment', 'dispute']),
@@ -7358,6 +7389,7 @@ const factories = {
7358
7389
 
7359
7390
  'io.flow.internal.v0.enums.duty_simple_expression_type': (): io.flow.internal.v0.enums.DutySimpleExpressionType => faker.helpers.arrayElement(['free', 'percent', 'per_uom', 'flat']),
7360
7391
  'io.flow.internal.v0.enums.duty_transaction_type': (): io.flow.internal.v0.enums.DutyTransactionType => faker.helpers.arrayElement(['adjustment', 'reversal', 'duty']),
7392
+ 'io.flow.internal.v0.enums.eldar_item_type': (): io.flow.internal.v0.enums.EldarItemType => faker.helpers.arrayElement(['digital', 'physical']),
7361
7393
  'io.flow.internal.v0.enums.empty_attribute': (): io.flow.internal.v0.enums.EmptyAttribute => faker.helpers.arrayElement(['irrelevant']),
7362
7394
  'io.flow.internal.v0.enums.erp_file_type': (): io.flow.internal.v0.enums.ErpFileType => faker.helpers.arrayElement(['vendor']),
7363
7395
 
@@ -7656,8 +7688,6 @@ const factories = {
7656
7688
  'ratecard_rate_level_ratecard_deleted',
7657
7689
  'ratecard_rate_level_organization_upserted',
7658
7690
  'ratecard_rate_level_organization_deleted',
7659
- 'organization_restriction_snapshot_upserted',
7660
- 'organization_restriction_snapshot_deleted',
7661
7691
  'restriction_organization_status_upserted',
7662
7692
  'restriction_organization_status_deleted',
7663
7693
  'organization_restriction_status_upserted',
@@ -7704,6 +7734,8 @@ const factories = {
7704
7734
  'svitlana_item_deleted',
7705
7735
  'colm_item_upserted',
7706
7736
  'colm_item_deleted',
7737
+ 'eldar_item_upserted',
7738
+ 'eldar_item_deleted',
7707
7739
  'harinath_item_upserted',
7708
7740
  'harinath_item_deleted',
7709
7741
  'konstantin_item_upserted',
@@ -7730,6 +7762,8 @@ const factories = {
7730
7762
  'tracking_deleted',
7731
7763
  'tracking_assurance_analysis_upserted',
7732
7764
  'tracking_assurance_analysis_deleted',
7765
+ 'tracking_assurance_job_upserted',
7766
+ 'tracking_assurance_job_deleted',
7733
7767
  'tracking_request_upserted',
7734
7768
  'tracking_response_upserted',
7735
7769
  'user_upserted_v2',
@@ -7761,6 +7795,19 @@ const factories = {
7761
7795
 
7762
7796
  'io.flow.internal.v0.enums.ftp_protocol': (): io.flow.internal.v0.enums.FtpProtocol => faker.helpers.arrayElement(['sftp', 'ftp']),
7763
7797
  'io.flow.internal.v0.enums.google_analytics_plugin': (): io.flow.internal.v0.enums.GoogleAnalyticsPlugin => faker.helpers.arrayElement(['ec']),
7798
+
7799
+ 'io.flow.internal.v0.enums.graphql_service_types': (): io.flow.internal.v0.enums.GraphqlServiceTypes => faker.helpers.arrayElement([
7800
+ 'order_update_mutation',
7801
+ 'shipping_address_validation',
7802
+ 'bulk_publication_status',
7803
+ 'country_catalog_sync',
7804
+ 'inventory_item',
7805
+ 'product_bundle',
7806
+ 'shopify_location',
7807
+ 'shopify_order',
7808
+ 'sync_product_catalog',
7809
+ ]),
7810
+
7764
7811
  'io.flow.internal.v0.enums.harinath_item_type': (): io.flow.internal.v0.enums.HarinathItemType => faker.helpers.arrayElement(['digital', 'physical']),
7765
7812
  'io.flow.internal.v0.enums.harmonization_decision_source': (): io.flow.internal.v0.enums.HarmonizationDecisionSource => faker.helpers.arrayElement(['human', 'legacy_model', 'enterprise_model']),
7766
7813
  'io.flow.internal.v0.enums.http_method': (): io.flow.internal.v0.enums.HttpMethod => faker.helpers.arrayElement(['get', 'post']),
@@ -7983,7 +8030,7 @@ const factories = {
7983
8030
  ]),
7984
8031
 
7985
8032
  'io.flow.internal.v0.enums.organization_capability': (): io.flow.internal.v0.enums.OrganizationCapability => faker.helpers.arrayElement(['organization', 'flow', 'dynamic']),
7986
- 'io.flow.internal.v0.enums.organization_metric_type': (): io.flow.internal.v0.enums.OrganizationMetricType => faker.helpers.arrayElement(['organization_restriction_snapshot', 'organization_restriction_status']),
8033
+ 'io.flow.internal.v0.enums.organization_metric_type': (): io.flow.internal.v0.enums.OrganizationMetricType => faker.helpers.arrayElement(['organization_restriction_status']),
7987
8034
  'io.flow.internal.v0.enums.organization_payment_status': (): io.flow.internal.v0.enums.OrganizationPaymentStatus => faker.helpers.arrayElement(['active', 'archived']),
7988
8035
  'io.flow.internal.v0.enums.organization_restriction_approval_status': (): io.flow.internal.v0.enums.OrganizationRestrictionApprovalStatus => faker.helpers.arrayElement(['ready', 'not-ready']),
7989
8036
  'io.flow.internal.v0.enums.organization_restriction_note_type': (): io.flow.internal.v0.enums.OrganizationRestrictionNoteType => faker.helpers.arrayElement(['internal', 'rejection_reason', 'additional_rejection_info']),
@@ -8152,6 +8199,7 @@ const factories = {
8152
8199
  'webhook_registrations',
8153
8200
  'channel_organization_identifier',
8154
8201
  'bulk_product_ingestion',
8202
+ 'bulk_duty_update',
8155
8203
  ]),
8156
8204
 
8157
8205
  'io.flow.internal.v0.enums.shopify_markets_trade_sector': (): io.flow.internal.v0.enums.ShopifyMarketsTradeSector => faker.helpers.arrayElement([
@@ -8221,7 +8269,7 @@ const factories = {
8221
8269
 
8222
8270
  'io.flow.internal.v0.enums.tax_calculation_error_code': (): io.flow.internal.v0.enums.TaxCalculationErrorCode => faker.helpers.arrayElement(['generic_error', 'outside_of_jurisdiction']),
8223
8271
  'io.flow.internal.v0.enums.tax_party': (): io.flow.internal.v0.enums.TaxParty => faker.helpers.arrayElement(['consumer', 'organization', 'flow', 'carrier']),
8224
- 'io.flow.internal.v0.enums.tax_transaction_type': (): io.flow.internal.v0.enums.TaxTransactionType => faker.helpers.arrayElement(['adjustment', 'reversal', 'tax']),
8272
+ 'io.flow.internal.v0.enums.tax_transaction_type': (): io.flow.internal.v0.enums.TaxTransactionType => faker.helpers.arrayElement(['adjustment', 'reversal', 'tax', 'refund']),
8225
8273
  'io.flow.internal.v0.enums.thiago_item_type': (): io.flow.internal.v0.enums.ThiagoItemType => faker.helpers.arrayElement(['digital', 'physical']),
8226
8274
  'io.flow.internal.v0.enums.tracking_integration_type': (): io.flow.internal.v0.enums.TrackingIntegrationType => faker.helpers.arrayElement(['api', 'bulk', 'aftership']),
8227
8275
 
@@ -9328,6 +9376,7 @@ const factories = {
9328
9376
  trueup: factories['io.flow.common.v0.models.price'](),
9329
9377
  carrier_charge: factories['io.flow.common.v0.models.price'](),
9330
9378
  ending_balance: factories['io.flow.common.v0.models.price'](),
9379
+ tax_refund: factories['io.flow.common.v0.models.price'](),
9331
9380
  }),
9332
9381
 
9333
9382
  'io.flow.internal.v0.models.billing_statement_upserted': (): io.flow.internal.v0.models.BillingStatementUpserted => ({
@@ -9490,11 +9539,10 @@ const factories = {
9490
9539
  ),
9491
9540
  }),
9492
9541
 
9493
- 'io.flow.internal.v0.models.by_rule_snapshot': (): io.flow.internal.v0.models.ByRuleSnapshot => ({
9494
- id: factories.string(),
9495
- name: factories.string(),
9496
- open_decision_count: factories.long(),
9497
- restricted_product_count: factories.long(),
9542
+ 'io.flow.internal.v0.models.bulk_duty_update_validation_error': (): io.flow.internal.v0.models.BulkDutyUpdateValidationError => ({
9543
+ message: factories.string(),
9544
+ reason: factories.string(),
9545
+ next_action_from: factories['io.flow.internal.v0.enums.channel_order_acceptance_next_action_from'](),
9498
9546
  }),
9499
9547
 
9500
9548
  'io.flow.internal.v0.models.calculated_tax_amount': (): io.flow.internal.v0.models.CalculatedTaxAmount => ({
@@ -10801,6 +10849,7 @@ const factories = {
10801
10849
  transaction_date: factories.string(),
10802
10850
  origin: factories['io.flow.fulfillment.v0.models.shipping_address'](),
10803
10851
  destination: factories['io.flow.fulfillment.v0.models.shipping_address'](),
10852
+ billing_address: factories['io.flow.fulfillment.v0.models.shipping_address'](),
10804
10853
  service: factories.string(),
10805
10854
  flow_tracking_number: factories.string(),
10806
10855
  rex_number: factories.string(),
@@ -10828,6 +10877,7 @@ const factories = {
10828
10877
  show_us_outbound_signature: factories.boolean(),
10829
10878
  show_us_outbound_stamp: factories.boolean(),
10830
10879
  invoice_url: factories.string(),
10880
+ invoice_number: factories.string(),
10831
10881
  }),
10832
10882
 
10833
10883
  'io.flow.internal.v0.models.commercial_invoice_internal_deleted': (): io.flow.internal.v0.models.CommercialInvoiceInternalDeleted => ({
@@ -11465,6 +11515,7 @@ const factories = {
11465
11515
  category: factories['io.flow.internal.v0.enums.dispute_category'](),
11466
11516
  reporting_category: factories['io.flow.internal.v0.enums.dispute_reporting_category'](),
11467
11517
  reason: factories.string(),
11518
+ code: factories.string(),
11468
11519
  status: factories['io.flow.internal.v0.enums.dispute_status'](),
11469
11520
  liability: factories['io.flow.internal.v0.enums.dispute_liability'](),
11470
11521
  billable: factories['io.flow.internal.v0.enums.dispute_billable'](),
@@ -11498,6 +11549,7 @@ const factories = {
11498
11549
  original_transaction_id: factories.string(),
11499
11550
  transaction_invoice_id: factories.string(),
11500
11551
  case_id: factories.string(),
11552
+ dispute_channel: factories.string(),
11501
11553
  }),
11502
11554
 
11503
11555
  'io.flow.internal.v0.models.dispute_details_stripe': (): io.flow.internal.v0.models.DisputeDetailsStripe => ({
@@ -11745,6 +11797,37 @@ const factories = {
11745
11797
  duty_transaction: factories['io.flow.internal.v0.models.duty_transaction'](),
11746
11798
  }),
11747
11799
 
11800
+ 'io.flow.internal.v0.models.eldar_item': (): io.flow.internal.v0.models.EldarItem => ({
11801
+ id: factories.string(),
11802
+ number: factories.string(),
11803
+ amount: factories['io.flow.common.v0.models.price'](),
11804
+ description: factories.string(),
11805
+ type: factories['io.flow.internal.v0.enums.eldar_item_type'](),
11806
+ added_on: factories.date_time_iso_8601(),
11807
+ }),
11808
+
11809
+ 'io.flow.internal.v0.models.eldar_item_deleted': (): io.flow.internal.v0.models.EldarItemDeleted => ({
11810
+ discriminator: 'eldar_item_deleted',
11811
+ event_id: factories.string(),
11812
+ timestamp: factories.date_time_iso_8601(),
11813
+ id: factories.string(),
11814
+ }),
11815
+
11816
+ 'io.flow.internal.v0.models.eldar_item_form': (): io.flow.internal.v0.models.EldarItemForm => ({
11817
+ number: factories.string(),
11818
+ amount: factories['io.flow.common.v0.models.price'](),
11819
+ description: factories.string(),
11820
+ type: factories['io.flow.internal.v0.enums.eldar_item_type'](),
11821
+ added_on: factories.date_time_iso_8601(),
11822
+ }),
11823
+
11824
+ 'io.flow.internal.v0.models.eldar_item_upserted': (): io.flow.internal.v0.models.EldarItemUpserted => ({
11825
+ discriminator: 'eldar_item_upserted',
11826
+ event_id: factories.string(),
11827
+ timestamp: factories.date_time_iso_8601(),
11828
+ item: factories['io.flow.internal.v0.models.eldar_item'](),
11829
+ }),
11830
+
11748
11831
  'io.flow.internal.v0.models.email_form': (): io.flow.internal.v0.models.EmailForm => ({
11749
11832
  to: arrayOf(() => factories.string()),
11750
11833
  cc: arrayOf(() => factories.string()),
@@ -13993,6 +14076,7 @@ const factories = {
13993
14076
  carrier_id: factories.string(),
13994
14077
  service_id: factories.string(),
13995
14078
  errors: arrayOf(() => factories.string()),
14079
+ direction: factories['io.flow.label.v0.enums.direction'](),
13996
14080
  }),
13997
14081
 
13998
14082
  'io.flow.internal.v0.models.label_request_error_deleted': (): io.flow.internal.v0.models.LabelRequestErrorDeleted => ({
@@ -14045,6 +14129,7 @@ const factories = {
14045
14129
  direct_delivery: factories['io.flow.internal.v0.models.label_surcharge_single_form'](),
14046
14130
  saturday_stop: factories['io.flow.internal.v0.models.label_surcharge_single_form'](),
14047
14131
  residential_extended_area_pickup: factories['io.flow.internal.v0.models.label_surcharge_single_form'](),
14132
+ package_level_detail: factories['io.flow.internal.v0.models.label_surcharge_single_form'](),
14048
14133
  }),
14049
14134
 
14050
14135
  'io.flow.internal.v0.models.label_surcharge_single_form': (): io.flow.internal.v0.models.LabelSurchargeSingleForm => ({
@@ -15020,6 +15105,7 @@ const factories = {
15020
15105
  duty: factories.decimal(),
15021
15106
  freight: factories.decimal(),
15022
15107
  total: factories.decimal(),
15108
+ tax_refund: factories.decimal(),
15023
15109
  }),
15024
15110
 
15025
15111
  'io.flow.internal.v0.models.merchant_upserted': (): io.flow.internal.v0.models.MerchantUpserted => ({
@@ -15599,6 +15685,8 @@ const factories = {
15599
15685
  resolved_at: factories.date_time_iso_8601(),
15600
15686
  last_failure: factories['io.flow.internal.v0.models.last_failure_summary'](),
15601
15687
  sla_breach_at: factories.date_time_iso_8601(),
15688
+ capabilities_at_creation: arrayOf(() => factories['io.flow.internal.v0.enums.logistics_capability']()),
15689
+ first_globale_address_repair_failure_at: factories.date_time_iso_8601(),
15602
15690
  }),
15603
15691
 
15604
15692
  'io.flow.internal.v0.models.order_validation_deleted': (): io.flow.internal.v0.models.OrderValidationDeleted => ({
@@ -15649,6 +15737,7 @@ const factories = {
15649
15737
  created_at: factories.string(),
15650
15738
  cancelled_at: factories.date_time_iso_8601(),
15651
15739
  resolved_at: factories.date_time_iso_8601(),
15740
+ environment: factories['io.flow.common.v0.enums.environment'](),
15652
15741
  }),
15653
15742
 
15654
15743
  'io.flow.internal.v0.models.order_validation_failure_upserted': (): io.flow.internal.v0.models.OrderValidationFailureUpserted => ({
@@ -15962,34 +16051,6 @@ const factories = {
15962
16051
  onboarding_first_viewed_at: factories.date_time_iso_8601(),
15963
16052
  }),
15964
16053
 
15965
- 'io.flow.internal.v0.models.organization_restriction_snapshot': (): io.flow.internal.v0.models.OrganizationRestrictionSnapshot => ({
15966
- id: factories.string(),
15967
- organization_id: factories.string(),
15968
- organization_channel_id: factories.string(),
15969
- organization_status: factories.string(),
15970
- product_count: factories.long(),
15971
- open_decision_count: factories.long(),
15972
- restricted_product_count: factories.long(),
15973
- count_by_rule: arrayOf(() => factories['io.flow.internal.v0.models.by_rule_snapshot']()),
15974
- earliest_pending_decision_date: factories.date_time_iso_8601(),
15975
- earliest_product_receipt_date: factories.date_time_iso_8601(),
15976
- date: factories.date_time_iso_8601(),
15977
- }),
15978
-
15979
- 'io.flow.internal.v0.models.organization_restriction_snapshot_deleted': (): io.flow.internal.v0.models.OrganizationRestrictionSnapshotDeleted => ({
15980
- discriminator: 'organization_restriction_snapshot_deleted',
15981
- event_id: factories.string(),
15982
- timestamp: factories.date_time_iso_8601(),
15983
- organization_restriction_snapshot: factories['io.flow.internal.v0.models.organization_restriction_snapshot'](),
15984
- }),
15985
-
15986
- 'io.flow.internal.v0.models.organization_restriction_snapshot_upserted': (): io.flow.internal.v0.models.OrganizationRestrictionSnapshotUpserted => ({
15987
- discriminator: 'organization_restriction_snapshot_upserted',
15988
- event_id: factories.string(),
15989
- timestamp: factories.date_time_iso_8601(),
15990
- organization_restriction_snapshot: factories['io.flow.internal.v0.models.organization_restriction_snapshot'](),
15991
- }),
15992
-
15993
16054
  'io.flow.internal.v0.models.organization_restriction_status': (): io.flow.internal.v0.models.OrganizationRestrictionStatus => ({
15994
16055
  id: factories.string(),
15995
16056
  organization_id: factories.string(),
@@ -16762,6 +16823,7 @@ const factories = {
16762
16823
 
16763
16824
  'io.flow.internal.v0.models.processed_payment_summary': (): io.flow.internal.v0.models.ProcessedPaymentSummary => ({
16764
16825
  type: factories['io.flow.reference.v0.enums.payment_method_capability'](),
16826
+ amount: factories.decimal(),
16765
16827
  currency: factories['io.flow.reference.v0.models.currency'](),
16766
16828
  method: factories['io.flow.reference.v0.models.payment_method'](),
16767
16829
  card_issuer_country: factories['io.flow.reference.v0.models.country'](),
@@ -17680,6 +17742,9 @@ const factories = {
17680
17742
  lvg: factories.boolean(),
17681
17743
  tax_inclusive: factories.boolean(),
17682
17744
  duty_inclusive: factories.boolean(),
17745
+ manual_payment: factories.boolean(),
17746
+ partial_fulfillment: factories.boolean(),
17747
+ partial_refund: factories.boolean(),
17683
17748
  }),
17684
17749
 
17685
17750
  'io.flow.internal.v0.models.reporting_fx': (): io.flow.internal.v0.models.ReportingFx => ({
@@ -17725,6 +17790,7 @@ const factories = {
17725
17790
  freight: factories['io.flow.internal.v0.models.reporting_monetary_value'](),
17726
17791
  discount: factories['io.flow.internal.v0.models.reporting_monetary_value'](),
17727
17792
  total: factories['io.flow.internal.v0.models.reporting_monetary_value'](),
17793
+ tax_refund: factories['io.flow.internal.v0.models.reporting_monetary_value'](),
17728
17794
  }),
17729
17795
 
17730
17796
  'io.flow.internal.v0.models.reporting_monetary_value': (): io.flow.internal.v0.models.ReportingMonetaryValue => ({
@@ -17932,7 +17998,6 @@ const factories = {
17932
17998
  () => factories['io.flow.internal.v0.models.restriction_status_metadata'](),
17933
17999
  ),
17934
18000
 
17935
- rules: arrayOf(() => factories['io.flow.internal.v0.models.restriction_rule_metadata']()),
17936
18001
  count: factories.long(),
17937
18002
  }),
17938
18003
 
@@ -19953,6 +20018,25 @@ const factories = {
19953
20018
  analysis: factories['io.flow.internal.v0.models.tracking_assurance_analysis'](),
19954
20019
  }),
19955
20020
 
20021
+ 'io.flow.internal.v0.models.tracking_assurance_job': (): io.flow.internal.v0.models.TrackingAssuranceJob => ({
20022
+ id: factories.string(),
20023
+ created_at: factories.date_time_iso_8601(),
20024
+ }),
20025
+
20026
+ 'io.flow.internal.v0.models.tracking_assurance_job_deleted': (): io.flow.internal.v0.models.TrackingAssuranceJobDeleted => ({
20027
+ discriminator: 'tracking_assurance_job_deleted',
20028
+ event_id: factories.string(),
20029
+ timestamp: factories.date_time_iso_8601(),
20030
+ id: factories.string(),
20031
+ }),
20032
+
20033
+ 'io.flow.internal.v0.models.tracking_assurance_job_upserted': (): io.flow.internal.v0.models.TrackingAssuranceJobUpserted => ({
20034
+ discriminator: 'tracking_assurance_job_upserted',
20035
+ event_id: factories.string(),
20036
+ timestamp: factories.date_time_iso_8601(),
20037
+ job: factories['io.flow.internal.v0.models.tracking_assurance_job'](),
20038
+ }),
20039
+
19956
20040
  'io.flow.internal.v0.models.tracking_debug_force_transit_form': (): io.flow.internal.v0.models.TrackingDebugForceTransitForm => ({
19957
20041
  description: factories.string(),
19958
20042
  }),
@@ -20916,8 +21000,6 @@ const factories = {
20916
21000
  () => factories['io.flow.internal.v0.models.ratecard_rate_level_ratecard_deleted'](),
20917
21001
  () => factories['io.flow.internal.v0.models.ratecard_rate_level_organization_upserted'](),
20918
21002
  () => factories['io.flow.internal.v0.models.ratecard_rate_level_organization_deleted'](),
20919
- () => factories['io.flow.internal.v0.models.organization_restriction_snapshot_upserted'](),
20920
- () => factories['io.flow.internal.v0.models.organization_restriction_snapshot_deleted'](),
20921
21003
  () => factories['io.flow.internal.v0.models.restriction_organization_status_upserted'](),
20922
21004
  () => factories['io.flow.internal.v0.models.restriction_organization_status_deleted'](),
20923
21005
  () => factories['io.flow.internal.v0.models.organization_restriction_status_upserted'](),
@@ -20964,6 +21046,8 @@ const factories = {
20964
21046
  () => factories['io.flow.internal.v0.models.svitlana_item_deleted'](),
20965
21047
  () => factories['io.flow.internal.v0.models.colm_item_upserted'](),
20966
21048
  () => factories['io.flow.internal.v0.models.colm_item_deleted'](),
21049
+ () => factories['io.flow.internal.v0.models.eldar_item_upserted'](),
21050
+ () => factories['io.flow.internal.v0.models.eldar_item_deleted'](),
20967
21051
  () => factories['io.flow.internal.v0.models.harinath_item_upserted'](),
20968
21052
  () => factories['io.flow.internal.v0.models.harinath_item_deleted'](),
20969
21053
  () => factories['io.flow.internal.v0.models.konstantin_item_upserted'](),
@@ -20990,6 +21074,8 @@ const factories = {
20990
21074
  () => factories['io.flow.internal.v0.models.tracking_deleted'](),
20991
21075
  () => factories['io.flow.internal.v0.models.tracking_assurance_analysis_upserted'](),
20992
21076
  () => factories['io.flow.internal.v0.models.tracking_assurance_analysis_deleted'](),
21077
+ () => factories['io.flow.internal.v0.models.tracking_assurance_job_upserted'](),
21078
+ () => factories['io.flow.internal.v0.models.tracking_assurance_job_deleted'](),
20993
21079
  () => factories['io.flow.internal.v0.models.tracking_request_upserted'](),
20994
21080
  () => factories['io.flow.internal.v0.models.tracking_response_upserted'](),
20995
21081
  () => factories['io.flow.internal.v0.models.user_upserted_v2'](),
@@ -21851,6 +21937,7 @@ const factories = {
21851
21937
  items: arrayOf(() => factories['io.flow.common.v0.models.line_item_form']()),
21852
21938
  'package': factories['io.flow.label.v0.models.shipping_label_package'](),
21853
21939
  origin: factories['io.flow.fulfillment.v0.models.shipping_address'](),
21940
+ direction: factories['io.flow.label.v0.enums.direction'](),
21854
21941
  }),
21855
21942
 
21856
21943
  'io.flow.label.v0.models.crossdock_shipment': (): io.flow.label.v0.models.CrossdockShipment => ({
@@ -21949,6 +22036,7 @@ const factories = {
21949
22036
  additional_services_requested: arrayOf(() => factories['io.flow.label.v0.models.additional_services_requested']()),
21950
22037
  created_at: factories.date_time_iso_8601(),
21951
22038
  updated_at: factories.date_time_iso_8601(),
22039
+ direction: factories['io.flow.label.v0.enums.direction'](),
21952
22040
  }),
21953
22041
 
21954
22042
  'io.flow.label.v0.models.shipping_label_document': (): io.flow.label.v0.models.ShippingLabelDocument => ({
@@ -22049,6 +22137,7 @@ const factories = {
22049
22137
  order_number: factories.string(),
22050
22138
  items: arrayOf(() => factories['io.flow.common.v0.models.line_item_form']()),
22051
22139
  center_key: factories.string(),
22140
+ direction: factories['io.flow.label.v0.enums.direction'](),
22052
22141
  }),
22053
22142
 
22054
22143
  'io.flow.label.v0.models.summary_shipping_notification_form': (): io.flow.label.v0.models.SummaryShippingNotificationForm => ({
@@ -22082,7 +22171,7 @@ const factories = {
22082
22171
  },
22083
22172
 
22084
22173
  'io.flow.merchant.of.record.v0.enums.economic_title_location': (): io.flow.merchant.of.record.v0.enums.EconomicTitleLocation => faker.helpers.arrayElement(['high_seas', 'origination', 'destination']),
22085
- 'io.flow.merchant.of.record.v0.enums.flow_entity': (): io.flow.merchant.of.record.v0.enums.FlowEntity => faker.helpers.arrayElement(['flow-usa', 'flow-irl', 'flow-can']),
22174
+ 'io.flow.merchant.of.record.v0.enums.flow_entity': (): io.flow.merchant.of.record.v0.enums.FlowEntity => faker.helpers.arrayElement(['flow-usa', 'flow-irl', 'flow-can', 'ge-usa']),
22086
22175
  'io.flow.merchant.onboarding.v0.enums.logistics_format_preference': (): io.flow.merchant.onboarding.v0.enums.LogisticsFormatPreference => faker.helpers.arrayElement(['shopify_console', 'existing_3pl_integration', 'byo_integration']),
22087
22176
  'io.flow.merchant.onboarding.v0.enums.onboarding_application_status': (): io.flow.merchant.onboarding.v0.enums.OnboardingApplicationStatus => faker.helpers.arrayElement(['to_do', 'in_progress', 'on_hold', 'rejected', 'accepted']),
22088
22177
 
@@ -23007,6 +23096,10 @@ const factories = {
23007
23096
  'bancontact',
23008
23097
  'twint',
23009
23098
  'przelewy24',
23099
+ 'mobilepay',
23100
+ 'grabpay',
23101
+ 'vipps',
23102
+ 'kcp_creditcard',
23010
23103
  ]),
23011
23104
 
23012
23105
  'io.flow.payment.gateway.v0.models.action_display_inline_window': (): io.flow.payment.gateway.v0.models.ActionDisplayInlineWindow => ({
@@ -23393,17 +23486,32 @@ const factories = {
23393
23486
  reference: factories.string(),
23394
23487
  }),
23395
23488
 
23489
+ 'io.flow.payment.gateway.v0.models.payment_method_data_init_grabpay': (): io.flow.payment.gateway.v0.models.PaymentMethodDataInitGrabpay => ({
23490
+ type: 'init_grabpay',
23491
+ reference: factories.string(),
23492
+ }),
23493
+
23396
23494
  'io.flow.payment.gateway.v0.models.payment_method_data_init_ideal': (): io.flow.payment.gateway.v0.models.PaymentMethodDataInitIdeal => ({
23397
23495
  type: 'init_ideal',
23398
23496
  issuer: factories.string(),
23399
23497
  reference: factories.string(),
23400
23498
  }),
23401
23499
 
23500
+ 'io.flow.payment.gateway.v0.models.payment_method_data_init_kcp_creditcard': (): io.flow.payment.gateway.v0.models.PaymentMethodDataInitKcpCreditcard => ({
23501
+ type: 'init_kcp_creditcard',
23502
+ reference: factories.string(),
23503
+ }),
23504
+
23402
23505
  'io.flow.payment.gateway.v0.models.payment_method_data_init_klarna': (): io.flow.payment.gateway.v0.models.PaymentMethodDataInitKlarna => ({
23403
23506
  type: 'init_klarna',
23404
23507
  reference: factories.string(),
23405
23508
  }),
23406
23509
 
23510
+ 'io.flow.payment.gateway.v0.models.payment_method_data_init_mobilepay': (): io.flow.payment.gateway.v0.models.PaymentMethodDataInitMobilepay => ({
23511
+ type: 'init_mobilepay',
23512
+ reference: factories.string(),
23513
+ }),
23514
+
23407
23515
  'io.flow.payment.gateway.v0.models.payment_method_data_init_paypal': (): io.flow.payment.gateway.v0.models.PaymentMethodDataInitPaypal => ({
23408
23516
  type: 'init_paypal',
23409
23517
  reference: factories.string(),
@@ -23424,6 +23532,11 @@ const factories = {
23424
23532
  reference: factories.string(),
23425
23533
  }),
23426
23534
 
23535
+ 'io.flow.payment.gateway.v0.models.payment_method_data_init_vipps': (): io.flow.payment.gateway.v0.models.PaymentMethodDataInitVipps => ({
23536
+ type: 'init_vipps',
23537
+ reference: factories.string(),
23538
+ }),
23539
+
23427
23540
  'io.flow.payment.gateway.v0.models.payment_method_data_option_logo_svg': (): io.flow.payment.gateway.v0.models.PaymentMethodDataOptionLogoSvg => ({
23428
23541
  type: 'svg',
23429
23542
  url: factories.string(),
@@ -23489,17 +23602,32 @@ const factories = {
23489
23602
  merchant_of_record: factories['io.flow.common.v0.enums.merchant_of_record'](),
23490
23603
  }),
23491
23604
 
23605
+ 'io.flow.payment.gateway.v0.models.payment_method_summary_grabpay': (): io.flow.payment.gateway.v0.models.PaymentMethodSummaryGrabpay => ({
23606
+ type: 'grabpay',
23607
+ merchant_of_record: factories['io.flow.common.v0.enums.merchant_of_record'](),
23608
+ }),
23609
+
23492
23610
  'io.flow.payment.gateway.v0.models.payment_method_summary_ideal': (): io.flow.payment.gateway.v0.models.PaymentMethodSummaryIdeal => ({
23493
23611
  type: 'ideal',
23494
23612
  merchant_of_record: factories['io.flow.common.v0.enums.merchant_of_record'](),
23495
23613
  issuer: factories.string(),
23496
23614
  }),
23497
23615
 
23616
+ 'io.flow.payment.gateway.v0.models.payment_method_summary_kcp_creditcard': (): io.flow.payment.gateway.v0.models.PaymentMethodSummaryKcpCreditcard => ({
23617
+ type: 'kcp_creditcard',
23618
+ merchant_of_record: factories['io.flow.common.v0.enums.merchant_of_record'](),
23619
+ }),
23620
+
23498
23621
  'io.flow.payment.gateway.v0.models.payment_method_summary_klarna': (): io.flow.payment.gateway.v0.models.PaymentMethodSummaryKlarna => ({
23499
23622
  type: 'klarna',
23500
23623
  merchant_of_record: factories['io.flow.common.v0.enums.merchant_of_record'](),
23501
23624
  }),
23502
23625
 
23626
+ 'io.flow.payment.gateway.v0.models.payment_method_summary_mobilepay': (): io.flow.payment.gateway.v0.models.PaymentMethodSummaryMobilepay => ({
23627
+ type: 'mobilepay',
23628
+ merchant_of_record: factories['io.flow.common.v0.enums.merchant_of_record'](),
23629
+ }),
23630
+
23503
23631
  'io.flow.payment.gateway.v0.models.payment_method_summary_paypal': (): io.flow.payment.gateway.v0.models.PaymentMethodSummaryPaypal => ({
23504
23632
  type: 'paypal',
23505
23633
  merchant_of_record: factories['io.flow.common.v0.enums.merchant_of_record'](),
@@ -23520,6 +23648,11 @@ const factories = {
23520
23648
  merchant_of_record: factories['io.flow.common.v0.enums.merchant_of_record'](),
23521
23649
  }),
23522
23650
 
23651
+ 'io.flow.payment.gateway.v0.models.payment_method_summary_vipps': (): io.flow.payment.gateway.v0.models.PaymentMethodSummaryVipps => ({
23652
+ type: 'vipps',
23653
+ merchant_of_record: factories['io.flow.common.v0.enums.merchant_of_record'](),
23654
+ }),
23655
+
23523
23656
  'io.flow.payment.gateway.v0.models.payment_order_details_line_item': (): io.flow.payment.gateway.v0.models.PaymentOrderDetailsLineItem => ({
23524
23657
  id: factories.string(),
23525
23658
  description: factories.string(),
@@ -23755,7 +23888,11 @@ const factories = {
23755
23888
  () => factories['io.flow.payment.gateway.v0.models.payment_method_data_init_sofort'](),
23756
23889
  () => factories['io.flow.payment.gateway.v0.models.payment_method_data_init_twint'](),
23757
23890
  () => factories['io.flow.payment.gateway.v0.models.payment_method_data_init_przelewy24'](),
23891
+ () => factories['io.flow.payment.gateway.v0.models.payment_method_data_init_mobilepay'](),
23892
+ () => factories['io.flow.payment.gateway.v0.models.payment_method_data_init_kcp_creditcard'](),
23758
23893
  () => factories['io.flow.payment.gateway.v0.models.payment_method_data_init_bancontact'](),
23894
+ () => factories['io.flow.payment.gateway.v0.models.payment_method_data_init_grabpay'](),
23895
+ () => factories['io.flow.payment.gateway.v0.models.payment_method_data_init_vipps'](),
23759
23896
  () => factories['io.flow.payment.gateway.v0.models.payment_method_data_validate_applepay'](),
23760
23897
  () => factories['io.flow.payment.gateway.v0.models.payment_method_data_authorize_card'](),
23761
23898
  () => factories['io.flow.payment.gateway.v0.models.payment_method_data_authorize_googlepay'](),
@@ -23814,9 +23951,13 @@ const factories = {
23814
23951
  () => factories['io.flow.payment.gateway.v0.models.payment_method_summary_paypal'](),
23815
23952
  () => factories['io.flow.payment.gateway.v0.models.payment_method_summary_ideal'](),
23816
23953
  () => factories['io.flow.payment.gateway.v0.models.payment_method_summary_twint'](),
23954
+ () => factories['io.flow.payment.gateway.v0.models.payment_method_summary_vipps'](),
23817
23955
  () => factories['io.flow.payment.gateway.v0.models.payment_method_summary_przelewy24'](),
23956
+ () => factories['io.flow.payment.gateway.v0.models.payment_method_summary_mobilepay'](),
23957
+ () => factories['io.flow.payment.gateway.v0.models.payment_method_summary_kcp_creditcard'](),
23818
23958
  () => factories['io.flow.payment.gateway.v0.models.payment_method_summary_sofort'](),
23819
23959
  () => factories['io.flow.payment.gateway.v0.models.payment_method_summary_bancontact'](),
23960
+ () => factories['io.flow.payment.gateway.v0.models.payment_method_summary_grabpay'](),
23820
23961
  ]);
23821
23962
 
23822
23963
  return f();
@@ -23943,6 +24084,22 @@ const factories = {
23943
24084
 
23944
24085
  'io.flow.payment.v0.enums.payment_source_confirmation_action_type': (): io.flow.payment.v0.enums.PaymentSourceConfirmationActionType => faker.helpers.arrayElement(['cvv', 'billing_address', 'number']),
23945
24086
  'io.flow.payment.v0.enums.refund_decline_code': (): io.flow.payment.v0.enums.RefundDeclineCode => faker.helpers.arrayElement(['expired', 'insufficient_funds', 'unknown']),
24087
+
24088
+ 'io.flow.payment.v0.enums.refund_failure_category': (): io.flow.payment.v0.enums.RefundFailureCategory => faker.helpers.arrayElement([
24089
+ 'amount_too_high',
24090
+ 'amount_too_low',
24091
+ 'not_enough_balance',
24092
+ 'insufficient_funds',
24093
+ 'refund_period_expired',
24094
+ 'dispute',
24095
+ 'not_captured',
24096
+ 'unsupported_payment_method',
24097
+ 'unsupported_partial_refund',
24098
+ 'invalid_currency',
24099
+ 'card_no_longer_valid',
24100
+ 'general',
24101
+ ]),
24102
+
23946
24103
  'io.flow.payment.v0.enums.refund_status': (): io.flow.payment.v0.enums.RefundStatus => faker.helpers.arrayElement(['pending', 'succeeded', 'failed', 'canceled']),
23947
24104
 
23948
24105
  'io.flow.payment.v0.enums.reversal_error_code': (): io.flow.payment.v0.enums.ReversalErrorCode => faker.helpers.arrayElement([
@@ -24664,6 +24821,8 @@ const factories = {
24664
24821
  attributes: objectOf(() => factories.string()),
24665
24822
  status: factories['io.flow.payment.v0.enums.refund_status'](),
24666
24823
  base: factories['io.flow.common.v0.models.money'](),
24824
+ failure_category: factories['io.flow.payment.v0.enums.refund_failure_category'](),
24825
+ failure_psp_reason: factories.string(),
24667
24826
  }),
24668
24827
 
24669
24828
  'io.flow.payment.v0.models.refund_capture': (): io.flow.payment.v0.models.RefundCapture => ({
@@ -27779,6 +27938,19 @@ const factories = {
27779
27938
  'io.flow.shopify.markets.internal.v0.enums.any_dangerous_goods': (): io.flow.shopify.markets.internal.v0.enums.AnyDangerousGoods => faker.helpers.arrayElement(['yes', 'no', 'i_dont_know']),
27780
27939
  'io.flow.shopify.markets.internal.v0.enums.api_call_reference_id': (): io.flow.shopify.markets.internal.v0.enums.ApiCallReferenceId => faker.helpers.arrayElement(['duty_rates_data_event', 'integration_test', 'unit_test']),
27781
27940
  'io.flow.shopify.markets.internal.v0.enums.channel_order_fulfillment_status_code': (): io.flow.shopify.markets.internal.v0.enums.ChannelOrderFulfillmentStatusCode => faker.helpers.arrayElement(['unfulfilled', 'fulfilled', 'partial', 'cancelled']),
27941
+
27942
+ 'io.flow.shopify.markets.internal.v0.enums.graphql_service_types': (): io.flow.shopify.markets.internal.v0.enums.GraphqlServiceTypes => faker.helpers.arrayElement([
27943
+ 'order_update_mutation',
27944
+ 'shipping_address_validation',
27945
+ 'bulk_publication_status',
27946
+ 'country_catalog_sync',
27947
+ 'inventory_item',
27948
+ 'product_bundle',
27949
+ 'shopify_location',
27950
+ 'shopify_order',
27951
+ 'sync_product_catalog',
27952
+ ]),
27953
+
27782
27954
  'io.flow.shopify.markets.internal.v0.enums.product_status': (): io.flow.shopify.markets.internal.v0.enums.ProductStatus => faker.helpers.arrayElement(['active', 'archived', 'draft']),
27783
27955
 
27784
27956
  'io.flow.shopify.markets.internal.v0.enums.shopify_markets_dangerous_goods': (): io.flow.shopify.markets.internal.v0.enums.ShopifyMarketsDangerousGoods => faker.helpers.arrayElement([
@@ -27828,6 +28000,12 @@ const factories = {
27828
28000
  'duty_inclusive_tax_inclusive',
27829
28001
  ]),
27830
28002
 
28003
+ 'io.flow.shopify.markets.internal.v0.models.bulk_duty_update_validation_error': (): io.flow.shopify.markets.internal.v0.models.BulkDutyUpdateValidationError => ({
28004
+ message: factories.string(),
28005
+ reason: factories.string(),
28006
+ next_action_from: factories['io.flow.channel.internal.v0.enums.channel_order_acceptance_next_action_from'](),
28007
+ }),
28008
+
27831
28009
  'io.flow.shopify.markets.internal.v0.models.catalog_publication_sync_validation_error': (): io.flow.shopify.markets.internal.v0.models.CatalogPublicationSyncValidationError => ({
27832
28010
  message: factories.string(),
27833
28011
  reason: factories.string(),
@@ -28741,6 +28919,7 @@ const factories = {
28741
28919
  }),
28742
28920
 
28743
28921
  'io.flow.shopify.markets.v0.models.shopify_order_line_item': (): io.flow.shopify.markets.v0.models.ShopifyOrderLineItem => ({
28922
+ current_quantity: factories.long(),
28744
28923
  fulfillable_quantity: factories.long(),
28745
28924
  fulfillment_status: factories['io.flow.shopify.markets.v0.enums.shopify_order_fulfillment_status_type'](),
28746
28925
  grams: factories.double(),
@@ -28942,6 +29121,16 @@ const factories = {
28942
29121
  payment_schedules: factories['io.flow.shopify.markets.v0.models.shopify_payment_schedules'](),
28943
29122
  }),
28944
29123
 
29124
+ 'io.flow.shopify.markets.v0.models.shopify_product_variant_inventory_item_wrapper': (): io.flow.shopify.markets.v0.models.ShopifyProductVariantInventoryItemWrapper => ({
29125
+ product_id: factories.long(),
29126
+ variant_id: factories.long(),
29127
+ harmonized_system_code: factories.string(),
29128
+
29129
+ country_harmonized_system_codes: arrayOf(
29130
+ () => factories['io.flow.shopify.markets.v0.models.shopify_country_harmonized_system_code'](),
29131
+ ),
29132
+ }),
29133
+
28945
29134
  'io.flow.shopify.markets.v0.models.shopify_refund': (): io.flow.shopify.markets.v0.models.ShopifyRefund => ({
28946
29135
  notify_x: factories.boolean(),
28947
29136
  note: factories.string(),
@@ -29831,7 +30020,16 @@ const factories = {
29831
30020
  'en-CH',
29832
30021
  ]),
29833
30022
 
29834
- 'io.flow.stripe.v0.enums.refund_failure_reason': (): io.flow.stripe.v0.enums.RefundFailureReason => faker.helpers.arrayElement(['lost_or_stolen_card', 'expired_or_canceled_card', 'unknown']),
30023
+ 'io.flow.stripe.v0.enums.refund_failure_reason': (): io.flow.stripe.v0.enums.RefundFailureReason => faker.helpers.arrayElement([
30024
+ 'charge_for_pending_refund_disputed',
30025
+ 'declined',
30026
+ 'expired_or_canceled_card',
30027
+ 'insufficient_funds',
30028
+ 'lost_or_stolen_card',
30029
+ 'merchant_request',
30030
+ 'unknown',
30031
+ ]),
30032
+
29835
30033
  'io.flow.stripe.v0.enums.refund_reason': (): io.flow.stripe.v0.enums.RefundReason => faker.helpers.arrayElement(['duplicate', 'fraudulent', 'requested_by_customer']),
29836
30034
  'io.flow.stripe.v0.enums.refund_status': (): io.flow.stripe.v0.enums.RefundStatus => faker.helpers.arrayElement(['succeeded', 'failed', 'pending', 'canceled']),
29837
30035
  'io.flow.stripe.v0.enums.request_three_d_secure_type': (): io.flow.stripe.v0.enums.RequestThreeDSecureType => faker.helpers.arrayElement(['automatic', 'any']),
@@ -31353,6 +31551,7 @@ const factories = {
31353
31551
  'direct_delivery',
31354
31552
  'saturday_stop',
31355
31553
  'residential_extended_area_pickup',
31554
+ 'package_level_detail',
31356
31555
  ]),
31357
31556
 
31358
31557
  'io.flow.trueup.v0.models.dead_weight': (): io.flow.trueup.v0.models.DeadWeight => ({
@@ -31602,7 +31801,7 @@ export const makeBrowserBundlePaymentMethod = () => factories['io.flow.internal.
31602
31801
  export const makeBrowserBundlePaymentMethodForm = () => factories['io.flow.internal.v0.models.browser_bundle_payment_method_form']();
31603
31802
  export const makeBrowserBundlePaymentMethods = () => factories['io.flow.internal.v0.models.browser_bundle_payment_methods']();
31604
31803
  export const makeBulkClassificationAction = () => factories['io.flow.internal.v0.models.bulk_classification_action']();
31605
- export const makeByRuleSnapshot = () => factories['io.flow.internal.v0.models.by_rule_snapshot']();
31804
+ export const makeBulkDutyUpdateValidationError = () => factories['io.flow.internal.v0.models.bulk_duty_update_validation_error']();
31606
31805
  export const makeCalculatedTaxAmount = () => factories['io.flow.internal.v0.models.calculated_tax_amount']();
31607
31806
  export const makeCalculationStampingLineItem = () => factories['io.flow.internal.v0.models.calculation_stamping_line_item']();
31608
31807
  export const makeCalculationStampingShippingLine = () => factories['io.flow.internal.v0.models.calculation_stamping_shipping_line']();
@@ -31973,6 +32172,11 @@ export const makeDutyTransaction = () => factories['io.flow.internal.v0.models.d
31973
32172
  export const makeDutyTransactionDeleted = () => factories['io.flow.internal.v0.models.duty_transaction_deleted']();
31974
32173
  export const makeDutyTransactionType = () => factories['io.flow.internal.v0.enums.duty_transaction_type']();
31975
32174
  export const makeDutyTransactionUpserted = () => factories['io.flow.internal.v0.models.duty_transaction_upserted']();
32175
+ export const makeEldarItem = () => factories['io.flow.internal.v0.models.eldar_item']();
32176
+ export const makeEldarItemDeleted = () => factories['io.flow.internal.v0.models.eldar_item_deleted']();
32177
+ export const makeEldarItemForm = () => factories['io.flow.internal.v0.models.eldar_item_form']();
32178
+ export const makeEldarItemType = () => factories['io.flow.internal.v0.enums.eldar_item_type']();
32179
+ export const makeEldarItemUpserted = () => factories['io.flow.internal.v0.models.eldar_item_upserted']();
31976
32180
  export const makeEmailForm = () => factories['io.flow.internal.v0.models.email_form']();
31977
32181
  export const makeEmailModificationForm = () => factories['io.flow.internal.v0.models.email_modification_form']();
31978
32182
  export const makeEmptyAttribute = () => factories['io.flow.internal.v0.enums.empty_attribute']();
@@ -32170,6 +32374,7 @@ export const makeGoogleLinker = () => factories['io.flow.internal.v0.models.goog
32170
32374
  export const makeGoogleShoppingAccountParameters = () => factories['io.flow.internal.v0.models.google_shopping_account_parameters']();
32171
32375
  export const makeGoogleShoppingSetting = () => factories['io.flow.internal.v0.models.google_shopping_setting']();
32172
32376
  export const makeGoogleTagManager = () => factories['io.flow.internal.v0.models.google_tag_manager']();
32377
+ export const makeGraphqlServiceTypes = () => factories['io.flow.internal.v0.enums.graphql_service_types']();
32173
32378
  export const makeHarinathItem = () => factories['io.flow.internal.v0.models.harinath_item']();
32174
32379
  export const makeHarinathItemDeleted = () => factories['io.flow.internal.v0.models.harinath_item_deleted']();
32175
32380
  export const makeHarinathItemForm = () => factories['io.flow.internal.v0.models.harinath_item_form']();
@@ -32618,9 +32823,6 @@ export const makeOrganizationRestrictionReviewType = () => factories['io.flow.in
32618
32823
  export const makeOrganizationRestrictionRiskLevel = () => factories['io.flow.internal.v0.enums.organization_restriction_risk_level']();
32619
32824
  export const makeOrganizationRestrictionScreeningDecisionForm = () => factories['io.flow.internal.v0.models.organization_restriction_screening_decision_form']();
32620
32825
  export const makeOrganizationRestrictionScreeningStatus = () => factories['io.flow.internal.v0.enums.organization_restriction_screening_status']();
32621
- export const makeOrganizationRestrictionSnapshot = () => factories['io.flow.internal.v0.models.organization_restriction_snapshot']();
32622
- export const makeOrganizationRestrictionSnapshotDeleted = () => factories['io.flow.internal.v0.models.organization_restriction_snapshot_deleted']();
32623
- export const makeOrganizationRestrictionSnapshotUpserted = () => factories['io.flow.internal.v0.models.organization_restriction_snapshot_upserted']();
32624
32826
  export const makeOrganizationRestrictionStatus = () => factories['io.flow.internal.v0.models.organization_restriction_status']();
32625
32827
  export const makeOrganizationRestrictionStatusDeleted = () => factories['io.flow.internal.v0.models.organization_restriction_status_deleted']();
32626
32828
  export const makeOrganizationRestrictionStatusNote = () => factories['io.flow.internal.v0.models.organization_restriction_status_note']();
@@ -33248,6 +33450,9 @@ export const makeTracker = () => factories['io.flow.internal.v0.unions.tracker']
33248
33450
  export const makeTrackingAssuranceAnalysis = () => factories['io.flow.internal.v0.models.tracking_assurance_analysis']();
33249
33451
  export const makeTrackingAssuranceAnalysisDeleted = () => factories['io.flow.internal.v0.models.tracking_assurance_analysis_deleted']();
33250
33452
  export const makeTrackingAssuranceAnalysisUpserted = () => factories['io.flow.internal.v0.models.tracking_assurance_analysis_upserted']();
33453
+ export const makeTrackingAssuranceJob = () => factories['io.flow.internal.v0.models.tracking_assurance_job']();
33454
+ export const makeTrackingAssuranceJobDeleted = () => factories['io.flow.internal.v0.models.tracking_assurance_job_deleted']();
33455
+ export const makeTrackingAssuranceJobUpserted = () => factories['io.flow.internal.v0.models.tracking_assurance_job_upserted']();
33251
33456
  export const makeTrackingDebugForceTransitForm = () => factories['io.flow.internal.v0.models.tracking_debug_force_transit_form']();
33252
33457
  export const makeTrackingDebugLabel = () => factories['io.flow.internal.v0.models.tracking_debug_label']();
33253
33458
  export const makeTrackingDebugLabelEvent = () => factories['io.flow.internal.v0.models.tracking_debug_label_event']();