@flowio/api-factories 0.0.101 → 0.0.102

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/src/api.ts CHANGED
@@ -3223,8 +3223,15 @@ const factories = {
3223
3223
  }),
3224
3224
 
3225
3225
  'io.flow.shopify.external.v0.models.graphql_metafield': (): io.flow.shopify.external.v0.models.GraphqlMetafield => ({
3226
+ id: factories.string(),
3226
3227
  key: factories.string(),
3227
3228
  value: factories.string(),
3229
+ type: factories.string(),
3230
+ }),
3231
+
3232
+ 'io.flow.shopify.external.v0.models.graphql_metaobject': (): io.flow.shopify.external.v0.models.GraphqlMetaobject => ({
3233
+ id: factories.string(),
3234
+ displayName: factories.string(),
3228
3235
  }),
3229
3236
 
3230
3237
  'io.flow.shopify.external.v0.models.graphql_option': (): io.flow.shopify.external.v0.models.GraphqlOption => ({
@@ -3407,6 +3414,7 @@ const factories = {
3407
3414
  updated_at: factories.date_time_iso_8601(),
3408
3415
  has_variants_that_requires_components: factories.boolean(),
3409
3416
  category: factories['io.flow.product.v0.models.product_taxonomy_category'](),
3417
+ metafields: arrayOf(() => factories['io.flow.shopify.external.v0.models.product_metafield']()),
3410
3418
  }),
3411
3419
 
3412
3420
  'io.flow.shopify.external.v0.models.product_delete': (): io.flow.shopify.external.v0.models.ProductDelete => ({
@@ -3424,6 +3432,17 @@ const factories = {
3424
3432
  alt: factories.string(),
3425
3433
  }),
3426
3434
 
3435
+ 'io.flow.shopify.external.v0.models.product_metafield': (): io.flow.shopify.external.v0.models.ProductMetafield => ({
3436
+ id: factories.long(),
3437
+ namespace: factories.string(),
3438
+ key: factories.string(),
3439
+ value: factories.string(),
3440
+ created_at: factories.date_time_iso_8601(),
3441
+ updated_at: factories.date_time_iso_8601(),
3442
+ type: factories.string(),
3443
+ admin_graphql_api_id: factories.string(),
3444
+ }),
3445
+
3427
3446
  'io.flow.shopify.external.v0.models.product_variant': (): io.flow.shopify.external.v0.models.ProductVariant => ({
3428
3447
  id: factories.long(),
3429
3448
  sku: factories.string(),
@@ -4666,9 +4685,61 @@ const factories = {
4666
4685
 
4667
4686
  'io.flow.stripe.v0.enums.refund_reason': (): io.flow.stripe.v0.enums.RefundReason => faker.helpers.arrayElement(['duplicate', 'fraudulent', 'requested_by_customer']),
4668
4687
  'io.flow.stripe.v0.enums.refund_status': (): io.flow.stripe.v0.enums.RefundStatus => faker.helpers.arrayElement(['succeeded', 'failed', 'pending', 'canceled']),
4688
+ 'io.flow.stripe.v0.enums.reporting_report_run_status': (): io.flow.stripe.v0.enums.ReportingReportRunStatus => faker.helpers.arrayElement(['pending', 'succeeded', 'failed']),
4689
+
4690
+ 'io.flow.stripe.v0.enums.reporting_report_type': (): io.flow.stripe.v0.enums.ReportingReportType => faker.helpers.arrayElement([
4691
+ 'ending_balance_reconciliation.itemized.1',
4692
+ 'ending_balance_reconciliation.itemized.2',
4693
+ 'ending_balance_reconciliation.itemized.3',
4694
+ 'ending_balance_reconciliation.itemized.4',
4695
+ 'payout_reconciliation.itemized.5',
4696
+ 'payout_reconciliation.by_id.itemized.1',
4697
+ 'payout_reconciliation.by_id.itemized.2',
4698
+ 'payout_reconciliation.by_id.itemized.3',
4699
+ 'payout_reconciliation.by_id.itemized.4',
4700
+ 'payout_reconciliation.by_id.summary.1',
4701
+ 'ending_balance_reconciliation.summary.1',
4702
+ 'payout_reconciliation.itemized.1',
4703
+ 'payout_reconciliation.itemized.2',
4704
+ 'payout_reconciliation.itemized.3',
4705
+ 'payout_reconciliation.itemized.4',
4706
+ 'payout_reconciliation.summary.1',
4707
+ ]),
4708
+
4669
4709
  'io.flow.stripe.v0.enums.request_three_d_secure_type': (): io.flow.stripe.v0.enums.RequestThreeDSecureType => faker.helpers.arrayElement(['automatic', 'any']),
4670
4710
  'io.flow.stripe.v0.enums.requested_capabilities': (): io.flow.stripe.v0.enums.RequestedCapabilities => faker.helpers.arrayElement(['card_payments', 'legacy_payments', 'transfers']),
4671
4711
  'io.flow.stripe.v0.enums.setup_future_usage': (): io.flow.stripe.v0.enums.SetupFutureUsage => faker.helpers.arrayElement(['on_session', 'off_session']),
4712
+
4713
+ 'io.flow.stripe.v0.enums.shopify_payment_stripe_event_type': (): io.flow.stripe.v0.enums.ShopifyPaymentStripeEventType => faker.helpers.arrayElement([
4714
+ 'charge.captured',
4715
+ 'charge.dispute.created',
4716
+ 'charge.dispute.closed',
4717
+ 'charge.dispute.funds_reinstated',
4718
+ 'charge.dispute.funds_withdrawn',
4719
+ 'charge.dispute.updated',
4720
+ 'charge.expired',
4721
+ 'charge.failed',
4722
+ 'charge.pending',
4723
+ 'charge.refund.updated',
4724
+ 'charge.refunded',
4725
+ 'charge.succeeded',
4726
+ 'charge.updated',
4727
+ 'payment_intent.amount_capturable_updated',
4728
+ 'payment_intent.canceled',
4729
+ 'payment_intent.created',
4730
+ 'payment_intent.partially_funded',
4731
+ 'payment_intent.payment_failed',
4732
+ 'payment_intent.processing',
4733
+ 'payment_intent.requires_action',
4734
+ 'payment_intent.succeeded',
4735
+ 'transfer.created',
4736
+ 'transfer.reversed',
4737
+ 'transfer.updated',
4738
+ 'reporting.report_run.succeeded',
4739
+ 'reporting.report_type.updated',
4740
+ 'reporting.report_type.failed',
4741
+ ]),
4742
+
4672
4743
  'io.flow.stripe.v0.enums.source_flow': (): io.flow.stripe.v0.enums.SourceFlow => faker.helpers.arrayElement(['redirect', 'receiver', 'code_verification', 'none']),
4673
4744
  'io.flow.stripe.v0.enums.source_status': (): io.flow.stripe.v0.enums.SourceStatus => faker.helpers.arrayElement(['canceled', 'chargeable', 'consumed', 'failed', 'pending']),
4674
4745
 
@@ -5611,12 +5682,76 @@ const factories = {
5611
5682
  url: factories.string(),
5612
5683
  }),
5613
5684
 
5685
+ 'io.flow.stripe.v0.models.report_run_parameters': (): io.flow.stripe.v0.models.ReportRunParameters => ({
5686
+ interval_start: factories.long(),
5687
+ interval_end: factories.long(),
5688
+ columns: arrayOf(() => factories.string()),
5689
+ payout: factories.string(),
5690
+ connected_account: factories.string(),
5691
+ reporting_category: factories.string(),
5692
+ }),
5693
+
5694
+ 'io.flow.stripe.v0.models.reporting_report_run': (): io.flow.stripe.v0.models.ReportingReportRun => ({
5695
+ id: factories.string(),
5696
+ object: factories.string(),
5697
+ created: factories.long(),
5698
+ error: factories.string(),
5699
+ livemode: factories.boolean(),
5700
+ status: factories['io.flow.stripe.v0.enums.reporting_report_run_status'](),
5701
+ result: factories['io.flow.stripe.v0.models.reporting_report_run_result'](),
5702
+ succeeded_at: factories.long(),
5703
+ }),
5704
+
5705
+ 'io.flow.stripe.v0.models.reporting_report_run_form': (): io.flow.stripe.v0.models.ReportingReportRunForm => ({
5706
+ report_type: factories['io.flow.stripe.v0.enums.reporting_report_type'](),
5707
+ parameters: factories['io.flow.stripe.v0.models.report_run_parameters'](),
5708
+ }),
5709
+
5710
+ 'io.flow.stripe.v0.models.reporting_report_run_result': (): io.flow.stripe.v0.models.ReportingReportRunResult => ({
5711
+ id: factories.string(),
5712
+ object: factories.string(),
5713
+ created: factories.long(),
5714
+ expires_at: factories.long(),
5715
+ filename: factories.string(),
5716
+ links: factories.object(),
5717
+ purpose: factories.string(),
5718
+ size: factories.long(),
5719
+ title: factories.string(),
5720
+ type: factories.string(),
5721
+ url: factories.string(),
5722
+ }),
5723
+
5724
+ 'io.flow.stripe.v0.models.reporting_report_runs': (): io.flow.stripe.v0.models.ReportingReportRuns => ({
5725
+ object: factories.string(),
5726
+ data: arrayOf(() => factories['io.flow.stripe.v0.models.reporting_report_run']()),
5727
+ has_more: factories.boolean(),
5728
+ url: factories.string(),
5729
+ }),
5730
+
5614
5731
  'io.flow.stripe.v0.models.shipping': (): io.flow.stripe.v0.models.Shipping => ({
5615
5732
  address: factories['io.flow.stripe.v0.models.address'](),
5616
5733
  name: factories.string(),
5617
5734
  phone: factories.string(),
5618
5735
  }),
5619
5736
 
5737
+ 'io.flow.stripe.v0.models.shopify_payment_stripe_event': (): io.flow.stripe.v0.models.ShopifyPaymentStripeEvent => ({
5738
+ id: factories.string(),
5739
+ api_version: factories.string(),
5740
+ data: factories['io.flow.stripe.v0.models.shopify_payment_stripe_event_data'](),
5741
+ request: factories.object(),
5742
+ type: factories['io.flow.stripe.v0.enums.shopify_payment_stripe_event_type'](),
5743
+ object: factories.string(),
5744
+ account: factories.string(),
5745
+ created: factories.long(),
5746
+ livemode: factories.boolean(),
5747
+ pending_webhooks: factories.integer(),
5748
+ }),
5749
+
5750
+ 'io.flow.stripe.v0.models.shopify_payment_stripe_event_data': (): io.flow.stripe.v0.models.ShopifyPaymentStripeEventData => ({
5751
+ object: factories.object(),
5752
+ previous_attributes: factories.object(),
5753
+ }),
5754
+
5620
5755
  'io.flow.stripe.v0.models.source': (): io.flow.stripe.v0.models.Source => ({
5621
5756
  id: factories.string(),
5622
5757
  object: factories.string(),
@@ -5950,13 +6085,6 @@ const factories = {
5950
6085
  name: factories.string(),
5951
6086
  }),
5952
6087
 
5953
- 'io.flow.tech.onboarding.playground.v0.models.shawn_roundtable_workshop_rate': (): io.flow.tech.onboarding.playground.v0.models.ShawnRoundtableWorkshopRate => ({
5954
- origin_country: factories.string(),
5955
- destination_country: factories.string(),
5956
- weight: factories.double(),
5957
- amount: factories.double(),
5958
- }),
5959
-
5960
6088
  'io.flow.tech.onboarding.playground.v0.models.tech_onboarding_description': (): io.flow.tech.onboarding.playground.v0.models.TechOnboardingDescription => ({
5961
6089
  description: factories.string(),
5962
6090
  }),
@@ -6309,10 +6437,14 @@ const factories = {
6309
6437
  'io.flow.v0.enums.environment': (): io.flow.v0.enums.Environment => faker.helpers.arrayElement(['sandbox', 'production']),
6310
6438
 
6311
6439
  'io.flow.v0.enums.event_type': (): io.flow.v0.enums.EventType => faker.helpers.arrayElement([
6440
+ 'authorization_retry_upserted',
6441
+ 'authorization_retry_deleted',
6312
6442
  'test_upserted',
6313
6443
  'generate_load',
6314
6444
  'aldo_item_upserted',
6315
6445
  'aldo_item_deleted',
6446
+ 'ansh_item_upserted',
6447
+ 'ansh_item_deleted',
6316
6448
  'transaction_upserted',
6317
6449
  'organization_transaction_upserted',
6318
6450
  'organization_transaction_deleted',
@@ -6422,6 +6554,11 @@ const factories = {
6422
6554
  'shipping_configuration_item_availability_deleted',
6423
6555
  'shipping_configuration_item_shipping_pricing_upserted',
6424
6556
  'shipping_configuration_item_shipping_pricing_deleted',
6557
+ 'ge_item_inserted',
6558
+ 'ge_item_updated',
6559
+ 'ge_item_deleted',
6560
+ 'ge_product_restriction_result_upserted',
6561
+ 'ge_product_restriction_result_deleted',
6425
6562
  'hs6_code_upserted',
6426
6563
  'hs6_code_deleted',
6427
6564
  'hs10_code_upserted',
@@ -6441,8 +6578,6 @@ const factories = {
6441
6578
  'manifested_label_deleted',
6442
6579
  'label_processing_modification_upserted',
6443
6580
  'label_processing_modification_deleted',
6444
- 'local_item_upserted',
6445
- 'local_item_deleted',
6446
6581
  'merchant_application_upserted',
6447
6582
  'merchant_application_deleted',
6448
6583
  'checkout_optin_responses_upserted',
@@ -6712,6 +6847,7 @@ const factories = {
6712
6847
  ]),
6713
6848
 
6714
6849
  'io.flow.v0.enums.order_merchant_of_record': (): io.flow.v0.enums.OrderMerchantOfRecord => faker.helpers.arrayElement(['flow', 'organization', 'mixed']),
6850
+ 'io.flow.v0.enums.order_payment_source_type': (): io.flow.v0.enums.OrderPaymentSourceType => faker.helpers.arrayElement(['globale', 'third_party']),
6715
6851
 
6716
6852
  'io.flow.v0.enums.order_payment_type': (): io.flow.v0.enums.OrderPaymentType => faker.helpers.arrayElement([
6717
6853
  'card',
@@ -7056,7 +7192,6 @@ const factories = {
7056
7192
  'io.flow.v0.enums.role': (): io.flow.v0.enums.Role => faker.helpers.arrayElement(['admin', 'member']),
7057
7193
  'io.flow.v0.enums.rounding_method': (): io.flow.v0.enums.RoundingMethod => faker.helpers.arrayElement(['up', 'down', 'nearest']),
7058
7194
  'io.flow.v0.enums.rounding_type': (): io.flow.v0.enums.RoundingType => faker.helpers.arrayElement(['pattern', 'multiple']),
7059
- 'io.flow.v0.enums.rule_effect_type': (): io.flow.v0.enums.RuleEffectType => faker.helpers.arrayElement(['market', 'dhl', 'dhl_ecommerce', 'ups']),
7060
7195
  'io.flow.v0.enums.schedule_exception_status': (): io.flow.v0.enums.ScheduleExceptionStatus => faker.helpers.arrayElement(['Open', 'Closed']),
7061
7196
  'io.flow.v0.enums.shipment_integration_type': (): io.flow.v0.enums.ShipmentIntegrationType => faker.helpers.arrayElement(['direct', 'information', 'preadvice']),
7062
7197
  'io.flow.v0.enums.shipment_recipient': (): io.flow.v0.enums.ShipmentRecipient => faker.helpers.arrayElement(['customer', 'return', 'crossdock']),
@@ -7131,9 +7266,6 @@ const factories = {
7131
7266
  ]),
7132
7267
 
7133
7268
  'io.flow.v0.enums.surcharge_responsible_party': (): io.flow.v0.enums.SurchargeResponsibleParty => faker.helpers.arrayElement(['organization', 'customer']),
7134
- 'io.flow.v0.enums.sync_record_failure_reason': (): io.flow.v0.enums.SyncRecordFailureReason => faker.helpers.arrayElement(['inventory', 'address', 'promotion', 'other']),
7135
- 'io.flow.v0.enums.sync_stream_type': (): io.flow.v0.enums.SyncStreamType => faker.helpers.arrayElement(['submitted_order', 'placed_order']),
7136
- 'io.flow.v0.enums.sync_unit_of_time': (): io.flow.v0.enums.SyncUnitOfTime => faker.helpers.arrayElement(['day', 'hour', 'minute', 'second']),
7137
7269
  'io.flow.v0.enums.tax_applicability': (): io.flow.v0.enums.TaxApplicability => faker.helpers.arrayElement(['none', 'all']),
7138
7270
  'io.flow.v0.enums.tax_report_type': (): io.flow.v0.enums.TaxReportType => faker.helpers.arrayElement(['consumer', 'b2b']),
7139
7271
  'io.flow.v0.enums.tax_verification_result': (): io.flow.v0.enums.TaxVerificationResult => faker.helpers.arrayElement(['valid', 'invalid', 'unable_to_validate']),
@@ -7159,6 +7291,8 @@ const factories = {
7159
7291
  'exception',
7160
7292
  'returned',
7161
7293
  'expired',
7294
+ 'unknown',
7295
+ 'unmapped',
7162
7296
  ]),
7163
7297
 
7164
7298
  'io.flow.v0.enums.trade_agreement_name': (): io.flow.v0.enums.TradeAgreementName => faker.helpers.arrayElement(['USMCA', 'T-MEC', 'CUSMA', 'TCA']),
@@ -7191,7 +7325,7 @@ const factories = {
7191
7325
  'virtual_card_refund',
7192
7326
  'failed_payout',
7193
7327
  'tax_refund',
7194
- 'order_fx',
7328
+ 'non_l4l_tax_duty_fx',
7195
7329
  'ge_revenue_share',
7196
7330
  'tax_duty_delta',
7197
7331
  ]),
@@ -7700,6 +7834,20 @@ const factories = {
7700
7834
  interval: factories['io.flow.v0.enums.unit_of_time'](),
7701
7835
  }),
7702
7836
 
7837
+ 'io.flow.v0.models.ansh_item_deleted': (): io.flow.v0.models.AnshItemDeleted => ({
7838
+ discriminator: 'ansh_item_deleted',
7839
+ event_id: factories.string(),
7840
+ timestamp: factories.date_time_iso_8601(),
7841
+ id: factories.string(),
7842
+ }),
7843
+
7844
+ 'io.flow.v0.models.ansh_item_upserted': (): io.flow.v0.models.AnshItemUpserted => ({
7845
+ discriminator: 'ansh_item_upserted',
7846
+ event_id: factories.string(),
7847
+ timestamp: factories.date_time_iso_8601(),
7848
+ item: factories['io.flow.tech.onboarding.playground.v0.models.ansh_item'](),
7849
+ }),
7850
+
7703
7851
  'io.flow.v0.models.apple_pay_merchant_validation_payload': (): io.flow.v0.models.ApplePayMerchantValidationPayload => ({
7704
7852
  discriminator: 'apple_pay_merchant_validation_payload',
7705
7853
  validation_url: factories.string(),
@@ -7887,6 +8035,33 @@ const factories = {
7887
8035
  display: factories.string(),
7888
8036
  }),
7889
8037
 
8038
+ 'io.flow.v0.models.authorization_retry': (): io.flow.v0.models.AuthorizationRetry => ({
8039
+ id: factories.string(),
8040
+ authorization_request_id: factories.string(),
8041
+ authorization_id: factories.string(),
8042
+ organization_id: factories.string(),
8043
+ attempt: factories.integer(),
8044
+ last_failure_code: factories.string(),
8045
+ created_at: factories.date_time_iso_8601(),
8046
+ updated_at: factories.date_time_iso_8601(),
8047
+ }),
8048
+
8049
+ 'io.flow.v0.models.authorization_retry_deleted': (): io.flow.v0.models.AuthorizationRetryDeleted => ({
8050
+ discriminator: 'authorization_retry_deleted',
8051
+ event_id: factories.string(),
8052
+ timestamp: factories.date_time_iso_8601(),
8053
+ organization: factories.string(),
8054
+ id: factories.string(),
8055
+ }),
8056
+
8057
+ 'io.flow.v0.models.authorization_retry_upserted': (): io.flow.v0.models.AuthorizationRetryUpserted => ({
8058
+ discriminator: 'authorization_retry_upserted',
8059
+ event_id: factories.string(),
8060
+ timestamp: factories.date_time_iso_8601(),
8061
+ organization: factories.string(),
8062
+ authorization_retry: factories['io.flow.v0.models.authorization_retry'](),
8063
+ }),
8064
+
7890
8065
  'io.flow.v0.models.authorization_status_changed': (): io.flow.v0.models.AuthorizationStatusChanged => ({
7891
8066
  discriminator: 'authorization_status_changed',
7892
8067
  event_id: factories.string(),
@@ -8325,6 +8500,7 @@ const factories = {
8325
8500
  processor: factories['io.flow.v0.unions.expandable_payment_processor'](),
8326
8501
  stored_method_usage_step: factories['io.flow.v0.enums.stored_method_usage_step'](),
8327
8502
  authorized_at: factories.date_time_iso_8601(),
8503
+ authorization_request_id: factories.string(),
8328
8504
  }),
8329
8505
 
8330
8506
  'io.flow.v0.models.card_authorization_deleted_v2': (): io.flow.v0.models.CardAuthorizationDeletedV2 => ({
@@ -10848,6 +11024,46 @@ const factories = {
10848
11024
  landed_costs: arrayOf(() => factories['io.flow.v0.models.lane_landed_cost']()),
10849
11025
  }),
10850
11026
 
11027
+ 'io.flow.v0.models.ge_item_deleted': (): io.flow.v0.models.GeItemDeleted => ({
11028
+ discriminator: 'ge_item_deleted',
11029
+ event_id: factories.string(),
11030
+ timestamp: factories.date_time_iso_8601(),
11031
+ organization: factories.string(),
11032
+ item: factories['io.flow.v0.models.item'](),
11033
+ }),
11034
+
11035
+ 'io.flow.v0.models.ge_item_inserted': (): io.flow.v0.models.GeItemInserted => ({
11036
+ discriminator: 'ge_item_inserted',
11037
+ event_id: factories.string(),
11038
+ timestamp: factories.date_time_iso_8601(),
11039
+ organization: factories.string(),
11040
+ item: factories['io.flow.v0.models.item'](),
11041
+ }),
11042
+
11043
+ 'io.flow.v0.models.ge_item_updated': (): io.flow.v0.models.GeItemUpdated => ({
11044
+ discriminator: 'ge_item_updated',
11045
+ event_id: factories.string(),
11046
+ timestamp: factories.date_time_iso_8601(),
11047
+ organization: factories.string(),
11048
+ item: factories['io.flow.v0.models.item'](),
11049
+ }),
11050
+
11051
+ 'io.flow.v0.models.ge_product_restriction_result_deleted': (): io.flow.v0.models.GeProductRestrictionResultDeleted => ({
11052
+ discriminator: 'ge_product_restriction_result_deleted',
11053
+ event_id: factories.string(),
11054
+ timestamp: factories.date_time_iso_8601(),
11055
+ organization: factories.string(),
11056
+ id: factories.string(),
11057
+ }),
11058
+
11059
+ 'io.flow.v0.models.ge_product_restriction_result_upserted': (): io.flow.v0.models.GeProductRestrictionResultUpserted => ({
11060
+ discriminator: 'ge_product_restriction_result_upserted',
11061
+ event_id: factories.string(),
11062
+ timestamp: factories.date_time_iso_8601(),
11063
+ organization: factories.string(),
11064
+ ge_product_restriction_result: factories['io.flow.v0.models.product_restriction_result'](),
11065
+ }),
11066
+
10851
11067
  'io.flow.v0.models.generate_load': (): io.flow.v0.models.GenerateLoad => ({
10852
11068
  discriminator: 'generate_load',
10853
11069
  event_id: factories.string(),
@@ -11860,14 +12076,6 @@ const factories = {
11860
12076
  price: factories['io.flow.v0.models.localized_item_price'](),
11861
12077
  }),
11862
12078
 
11863
- 'io.flow.v0.models.local_item_deleted': (): io.flow.v0.models.LocalItemDeleted => ({
11864
- discriminator: 'local_item_deleted',
11865
- event_id: factories.string(),
11866
- timestamp: factories.date_time_iso_8601(),
11867
- organization: factories.string(),
11868
- local_item: factories['io.flow.v0.models.local_item'](),
11869
- }),
11870
-
11871
12079
  'io.flow.v0.models.local_item_pricing': (): io.flow.v0.models.LocalItemPricing => ({
11872
12080
  price: factories['io.flow.v0.models.localized_item_price'](),
11873
12081
  vat: factories['io.flow.v0.models.localized_item_vat'](),
@@ -11877,14 +12085,6 @@ const factories = {
11877
12085
  price_attributes: objectOf(() => factories['io.flow.v0.models.local_item_attribute_pricing']()),
11878
12086
  }),
11879
12087
 
11880
- 'io.flow.v0.models.local_item_upserted': (): io.flow.v0.models.LocalItemUpserted => ({
11881
- discriminator: 'local_item_upserted',
11882
- event_id: factories.string(),
11883
- timestamp: factories.date_time_iso_8601(),
11884
- organization: factories.string(),
11885
- local_item: factories['io.flow.v0.models.local_item'](),
11886
- }),
11887
-
11888
12088
  'io.flow.v0.models.local_price_details': (): io.flow.v0.models.LocalPriceDetails => ({
11889
12089
  base: factories['io.flow.v0.models.price_details'](),
11890
12090
  local: factories['io.flow.v0.models.price_details'](),
@@ -12360,6 +12560,7 @@ const factories = {
12360
12560
  processor: factories['io.flow.v0.unions.expandable_payment_processor'](),
12361
12561
  confirmation_details: factories['io.flow.v0.unions.confirmation_details'](),
12362
12562
  authorized_at: factories.date_time_iso_8601(),
12563
+ authorization_request_id: factories.string(),
12363
12564
  }),
12364
12565
 
12365
12566
  'io.flow.v0.models.online_authorization_deleted_v2': (): io.flow.v0.models.OnlineAuthorizationDeletedV2 => ({
@@ -12436,6 +12637,7 @@ const factories = {
12436
12637
  device_details: factories['io.flow.v0.unions.device_details'](),
12437
12638
  destination_contact_details: arrayOf(() => factories['io.flow.v0.models.destination_contact_detail']()),
12438
12639
  incoterm_summary: factories['io.flow.v0.models.incoterm_summary'](),
12640
+ payment_source: factories['io.flow.v0.enums.order_payment_source_type'](),
12439
12641
  }),
12440
12642
 
12441
12643
  'io.flow.v0.models.order_address': (): io.flow.v0.models.OrderAddress => ({
@@ -12579,6 +12781,7 @@ const factories = {
12579
12781
  authorization_keys: arrayOf(() => factories.string()),
12580
12782
  options: factories['io.flow.v0.models.order_options'](),
12581
12783
  device_details: factories['io.flow.v0.unions.device_details'](),
12784
+ payment_source: factories['io.flow.v0.enums.order_payment_source_type'](),
12582
12785
  }),
12583
12786
 
12584
12787
  'io.flow.v0.models.order_fraud_status': (): io.flow.v0.models.OrderFraudStatus => ({
@@ -12798,6 +13001,7 @@ const factories = {
12798
13001
  authorization_keys: arrayOf(() => factories.string()),
12799
13002
  options: factories['io.flow.v0.models.order_options'](),
12800
13003
  device_details: factories['io.flow.v0.unions.device_details'](),
13004
+ payment_source: factories['io.flow.v0.enums.order_payment_source_type'](),
12801
13005
  }),
12802
13006
 
12803
13007
  'io.flow.v0.models.order_reference': (): io.flow.v0.models.OrderReference => ({
@@ -14356,10 +14560,6 @@ const factories = {
14356
14560
  id: factories.string(),
14357
14561
  }),
14358
14562
 
14359
- 'io.flow.v0.models.price_book_item_export_options': (): io.flow.v0.models.PriceBookItemExportOptions => ({
14360
- available_identifiers: arrayOf(() => factories['io.flow.v0.enums.item_identifier']()),
14361
- }),
14362
-
14363
14563
  'io.flow.v0.models.price_book_item_export_type': (): io.flow.v0.models.PriceBookItemExportType => ({
14364
14564
  discriminator: 'price_book_item_export_type',
14365
14565
  price_book_key: factories.string(),
@@ -14603,29 +14803,6 @@ const factories = {
14603
14803
  product_restriction_result: factories['io.flow.v0.models.product_restriction_result'](),
14604
14804
  }),
14605
14805
 
14606
- 'io.flow.v0.models.product_sellability': (): io.flow.v0.models.ProductSellability => ({
14607
- organization_id: factories.string(),
14608
- product_id: factories.string(),
14609
- product_correlation_id: factories.string(),
14610
- restricted_regions: arrayOf(() => factories['io.flow.v0.models.sellablility_region_result']()),
14611
- in_review_regions: arrayOf(() => factories['io.flow.v0.models.sellablility_region_result']()),
14612
- }),
14613
-
14614
- 'io.flow.v0.models.product_sellability_form': (): io.flow.v0.models.ProductSellabilityForm => ({
14615
- organization_id: factories.string(),
14616
- product_id: factories.string(),
14617
- product_correlation_id: factories.string(),
14618
- name: factories.string(),
14619
- price: factories['io.flow.v0.models.product_sellability_price'](),
14620
- description: factories.string(),
14621
- taxonomy_category: factories['io.flow.v0.models.product_taxonomy_category'](),
14622
- }),
14623
-
14624
- 'io.flow.v0.models.product_sellability_price': (): io.flow.v0.models.ProductSellabilityPrice => ({
14625
- currency: factories.string(),
14626
- amount: factories.decimal(),
14627
- }),
14628
-
14629
14806
  'io.flow.v0.models.product_taxonomy_category': (): io.flow.v0.models.ProductTaxonomyCategory => ({
14630
14807
  name: factories.string(),
14631
14808
  full_name: factories.string(),
@@ -15589,11 +15766,6 @@ const factories = {
15589
15766
  issuer_options: arrayOf(() => factories['io.flow.v0.models.issuer_reference']()),
15590
15767
  }),
15591
15768
 
15592
- 'io.flow.v0.models.sellablility_region_result': (): io.flow.v0.models.SellablilityRegionResult => ({
15593
- type: factories['io.flow.v0.enums.rule_effect_type'](),
15594
- regions: arrayOf(() => factories.string()),
15595
- }),
15596
-
15597
15769
  'io.flow.v0.models.service_reference': (): io.flow.v0.models.ServiceReference => ({
15598
15770
  id: factories.string(),
15599
15771
  }),
@@ -16546,79 +16718,6 @@ const factories = {
16546
16718
  available: arrayOf(() => factories['io.flow.v0.models.surcharge_responsible_party_display']()),
16547
16719
  }),
16548
16720
 
16549
- 'io.flow.v0.models.sync_duration': (): io.flow.v0.models.SyncDuration => ({
16550
- unit: factories['io.flow.v0.enums.sync_unit_of_time'](),
16551
- value: factories.long(),
16552
- }),
16553
-
16554
- 'io.flow.v0.models.sync_pending_record': (): io.flow.v0.models.SyncPendingRecord => ({
16555
- id: factories.string(),
16556
- stream: factories['io.flow.v0.models.sync_stream_reference'](),
16557
- value: factories.string(),
16558
- system: factories.string(),
16559
- }),
16560
-
16561
- 'io.flow.v0.models.sync_record': (): io.flow.v0.models.SyncRecord => ({
16562
- id: factories.string(),
16563
- system: factories.string(),
16564
- value: factories.string(),
16565
- stream: factories['io.flow.v0.models.sync_stream_reference'](),
16566
- }),
16567
-
16568
- 'io.flow.v0.models.sync_record_failure': (): io.flow.v0.models.SyncRecordFailure => ({
16569
- id: factories.string(),
16570
- stream: factories['io.flow.v0.models.sync_stream_reference'](),
16571
- value: factories.string(),
16572
- system: factories.string(),
16573
- reason: factories['io.flow.v0.enums.sync_record_failure_reason'](),
16574
- attributes: objectOf(() => factories.string()),
16575
- }),
16576
-
16577
- 'io.flow.v0.models.sync_record_failure_form': (): io.flow.v0.models.SyncRecordFailureForm => ({
16578
- stream_key: factories.string(),
16579
- value: factories.string(),
16580
- system: factories.string(),
16581
- reason: factories['io.flow.v0.enums.sync_record_failure_reason'](),
16582
- attributes: objectOf(() => factories.string()),
16583
- }),
16584
-
16585
- 'io.flow.v0.models.sync_record_form': (): io.flow.v0.models.SyncRecordForm => ({
16586
- stream_key: factories.string(),
16587
- system: factories.string(),
16588
- value: factories.string(),
16589
- }),
16590
-
16591
- 'io.flow.v0.models.sync_stream': (): io.flow.v0.models.SyncStream => ({
16592
- id: factories.string(),
16593
- key: factories.string(),
16594
- type: factories['io.flow.v0.enums.sync_stream_type'](),
16595
- systems: arrayOf(() => factories.string()),
16596
- settings: factories['io.flow.v0.models.sync_stream_settings'](),
16597
- }),
16598
-
16599
- 'io.flow.v0.models.sync_stream_form': (): io.flow.v0.models.SyncStreamForm => ({
16600
- type: factories['io.flow.v0.enums.sync_stream_type'](),
16601
- systems: arrayOf(() => factories.string()),
16602
- settings: factories['io.flow.v0.models.sync_stream_settings_form'](),
16603
- }),
16604
-
16605
- 'io.flow.v0.models.sync_stream_reference': (): io.flow.v0.models.SyncStreamReference => ({
16606
- id: factories.string(),
16607
- key: factories.string(),
16608
- }),
16609
-
16610
- 'io.flow.v0.models.sync_stream_settings': (): io.flow.v0.models.SyncStreamSettings => ({
16611
- pending_record_after: factories['io.flow.v0.models.sync_duration'](),
16612
- warn_after: factories['io.flow.v0.models.sync_duration'](),
16613
- error_after: factories['io.flow.v0.models.sync_duration'](),
16614
- }),
16615
-
16616
- 'io.flow.v0.models.sync_stream_settings_form': (): io.flow.v0.models.SyncStreamSettingsForm => ({
16617
- pending_record_after: factories['io.flow.v0.models.sync_duration'](),
16618
- warn_after: factories['io.flow.v0.models.sync_duration'](),
16619
- error_after: factories['io.flow.v0.models.sync_duration'](),
16620
- }),
16621
-
16622
16721
  'io.flow.v0.models.tax': (): io.flow.v0.models.Tax => ({
16623
16722
  name: factories.string(),
16624
16723
  rate: factories.decimal(),
@@ -17700,10 +17799,14 @@ const factories = {
17700
17799
 
17701
17800
  'io.flow.v0.unions.event': (): io.flow.v0.unions.Event => {
17702
17801
  const f = faker.helpers.arrayElement([
17802
+ () => factories['io.flow.v0.models.authorization_retry_upserted'](),
17803
+ () => factories['io.flow.v0.models.authorization_retry_deleted'](),
17703
17804
  () => factories['io.flow.v0.models.test_upserted'](),
17704
17805
  () => factories['io.flow.v0.models.generate_load'](),
17705
17806
  () => factories['io.flow.v0.models.aldo_item_upserted'](),
17706
17807
  () => factories['io.flow.v0.models.aldo_item_deleted'](),
17808
+ () => factories['io.flow.v0.models.ansh_item_upserted'](),
17809
+ () => factories['io.flow.v0.models.ansh_item_deleted'](),
17707
17810
  () => factories['io.flow.v0.models.transaction_upserted'](),
17708
17811
  () => factories['io.flow.v0.models.organization_transaction_upserted'](),
17709
17812
  () => factories['io.flow.v0.models.organization_transaction_deleted'](),
@@ -17813,6 +17916,11 @@ const factories = {
17813
17916
  () => factories['io.flow.v0.models.shipping_configuration_item_availability_deleted'](),
17814
17917
  () => factories['io.flow.v0.models.shipping_configuration_item_shipping_pricing_upserted'](),
17815
17918
  () => factories['io.flow.v0.models.shipping_configuration_item_shipping_pricing_deleted'](),
17919
+ () => factories['io.flow.v0.models.ge_item_inserted'](),
17920
+ () => factories['io.flow.v0.models.ge_item_updated'](),
17921
+ () => factories['io.flow.v0.models.ge_item_deleted'](),
17922
+ () => factories['io.flow.v0.models.ge_product_restriction_result_upserted'](),
17923
+ () => factories['io.flow.v0.models.ge_product_restriction_result_deleted'](),
17816
17924
  () => factories['io.flow.v0.models.hs6_code_upserted'](),
17817
17925
  () => factories['io.flow.v0.models.hs6_code_deleted'](),
17818
17926
  () => factories['io.flow.v0.models.hs10_code_upserted'](),
@@ -17832,8 +17940,6 @@ const factories = {
17832
17940
  () => factories['io.flow.v0.models.manifested_label_deleted'](),
17833
17941
  () => factories['io.flow.v0.models.label_processing_modification_upserted'](),
17834
17942
  () => factories['io.flow.v0.models.label_processing_modification_deleted'](),
17835
- () => factories['io.flow.v0.models.local_item_upserted'](),
17836
- () => factories['io.flow.v0.models.local_item_deleted'](),
17837
17943
  () => factories['io.flow.v0.models.merchant_application_upserted'](),
17838
17944
  () => factories['io.flow.v0.models.merchant_application_deleted'](),
17839
17945
  () => factories['io.flow.v0.models.checkout_optin_responses_upserted'](),
@@ -18734,6 +18840,8 @@ export const makeAllocationV2 = () => factories['io.flow.v0.models.allocation_v2
18734
18840
  export const makeAmountMargin = () => factories['io.flow.v0.models.amount_margin']();
18735
18841
  export const makeAmountMarginForm = () => factories['io.flow.v0.models.amount_margin_form']();
18736
18842
  export const makeAnalyticsExportType = () => factories['io.flow.v0.models.analytics_export_type']();
18843
+ export const makeAnshItemDeleted = () => factories['io.flow.v0.models.ansh_item_deleted']();
18844
+ export const makeAnshItemUpserted = () => factories['io.flow.v0.models.ansh_item_upserted']();
18737
18845
  export const makeApplePayMerchantValidationPayload = () => factories['io.flow.v0.models.apple_pay_merchant_validation_payload']();
18738
18846
  export const makeApplepaySdkCreateResultActionDetails = () => factories['io.flow.v0.models.applepay_sdk_create_result_action_details']();
18739
18847
  export const makeApplepaySdkValidateResultActionDetails = () => factories['io.flow.v0.models.applepay_sdk_validate_result_action_details']();
@@ -18773,6 +18881,9 @@ export const makeAuthorizationResultActionPost = () => factories['io.flow.v0.mod
18773
18881
  export const makeAuthorizationResultActionType = () => factories['io.flow.v0.enums.authorization_result_action_type']();
18774
18882
  export const makeAuthorizationResultActionWait = () => factories['io.flow.v0.models.authorization_result_action_wait']();
18775
18883
  export const makeAuthorizationResultDescription = () => factories['io.flow.v0.models.authorization_result_description']();
18884
+ export const makeAuthorizationRetry = () => factories['io.flow.v0.models.authorization_retry']();
18885
+ export const makeAuthorizationRetryDeleted = () => factories['io.flow.v0.models.authorization_retry_deleted']();
18886
+ export const makeAuthorizationRetryUpserted = () => factories['io.flow.v0.models.authorization_retry_upserted']();
18776
18887
  export const makeAuthorizationStatus = () => factories['io.flow.v0.enums.authorization_status']();
18777
18888
  export const makeAuthorizationStatusChanged = () => factories['io.flow.v0.models.authorization_status_changed']();
18778
18889
  export const makeAuthorizationVersion = () => factories['io.flow.v0.models.authorization_version']();
@@ -19292,6 +19403,11 @@ export const makeFulfillmentRouting = () => factories['io.flow.v0.enums.fulfillm
19292
19403
  export const makeFullyHarmonizedItemUpserted = () => factories['io.flow.v0.models.fully_harmonized_item_upserted']();
19293
19404
  export const makeGatewayAuthenticationData = () => factories['io.flow.v0.unions.gateway_authentication_data']();
19294
19405
  export const makeGatewayAuthenticationDataForm = () => factories['io.flow.v0.unions.gateway_authentication_data_form']();
19406
+ export const makeGeItemDeleted = () => factories['io.flow.v0.models.ge_item_deleted']();
19407
+ export const makeGeItemInserted = () => factories['io.flow.v0.models.ge_item_inserted']();
19408
+ export const makeGeItemUpdated = () => factories['io.flow.v0.models.ge_item_updated']();
19409
+ export const makeGeProductRestrictionResultDeleted = () => factories['io.flow.v0.models.ge_product_restriction_result_deleted']();
19410
+ export const makeGeProductRestrictionResultUpserted = () => factories['io.flow.v0.models.ge_product_restriction_result_upserted']();
19295
19411
  export const makeGenerateLoad = () => factories['io.flow.v0.models.generate_load']();
19296
19412
  export const makeGenericError = () => factories['io.flow.v0.models.generic_error']();
19297
19413
  export const makeGenericErrorCode = () => factories['io.flow.v0.enums.generic_error_code']();
@@ -19453,9 +19569,7 @@ export const makeLink = () => factories['io.flow.v0.models.link']();
19453
19569
  export const makeLocal = () => factories['io.flow.v0.models.local']();
19454
19570
  export const makeLocalItem = () => factories['io.flow.v0.models.local_item']();
19455
19571
  export const makeLocalItemAttributePricing = () => factories['io.flow.v0.models.local_item_attribute_pricing']();
19456
- export const makeLocalItemDeleted = () => factories['io.flow.v0.models.local_item_deleted']();
19457
19572
  export const makeLocalItemPricing = () => factories['io.flow.v0.models.local_item_pricing']();
19458
- export const makeLocalItemUpserted = () => factories['io.flow.v0.models.local_item_upserted']();
19459
19573
  export const makeLocalPriceDetails = () => factories['io.flow.v0.models.local_price_details']();
19460
19574
  export const makeLocalSession = () => factories['io.flow.v0.models.local_session']();
19461
19575
  export const makeLocale = () => factories['io.flow.v0.models.locale']();
@@ -19599,6 +19713,7 @@ export const makeOrderNumberGeneratorUuid = () => factories['io.flow.v0.models.o
19599
19713
  export const makeOrderNumberReference = () => factories['io.flow.v0.models.order_number_reference']();
19600
19714
  export const makeOrderOptions = () => factories['io.flow.v0.models.order_options']();
19601
19715
  export const makeOrderPayment = () => factories['io.flow.v0.models.order_payment']();
19716
+ export const makeOrderPaymentSourceType = () => factories['io.flow.v0.enums.order_payment_source_type']();
19602
19717
  export const makeOrderPaymentType = () => factories['io.flow.v0.enums.order_payment_type']();
19603
19718
  export const makeOrderPlaced = () => factories['io.flow.v0.models.order_placed']();
19604
19719
  export const makeOrderPlacedDetails = () => factories['io.flow.v0.models.order_placed_details']();
@@ -19885,7 +20000,6 @@ export const makePriceBookDeleted = () => factories['io.flow.v0.models.price_boo
19885
20000
  export const makePriceBookForm = () => factories['io.flow.v0.models.price_book_form']();
19886
20001
  export const makePriceBookItem = () => factories['io.flow.v0.models.price_book_item']();
19887
20002
  export const makePriceBookItemDeleted = () => factories['io.flow.v0.models.price_book_item_deleted']();
19888
- export const makePriceBookItemExportOptions = () => factories['io.flow.v0.models.price_book_item_export_options']();
19889
20003
  export const makePriceBookItemExportType = () => factories['io.flow.v0.models.price_book_item_export_type']();
19890
20004
  export const makePriceBookItemForm = () => factories['io.flow.v0.models.price_book_item_form']();
19891
20005
  export const makePriceBookItemQueryForm = () => factories['io.flow.v0.models.price_book_item_query_form']();
@@ -19924,9 +20038,6 @@ export const makeProductRestrictionResult = () => factories['io.flow.v0.models.p
19924
20038
  export const makeProductRestrictionResultDeleted = () => factories['io.flow.v0.models.product_restriction_result_deleted']();
19925
20039
  export const makeProductRestrictionResultUpserted = () => factories['io.flow.v0.models.product_restriction_result_upserted']();
19926
20040
  export const makeProductRestrictionRule = () => factories['io.flow.v0.enums.product_restriction_rule']();
19927
- export const makeProductSellability = () => factories['io.flow.v0.models.product_sellability']();
19928
- export const makeProductSellabilityForm = () => factories['io.flow.v0.models.product_sellability_form']();
19929
- export const makeProductSellabilityPrice = () => factories['io.flow.v0.models.product_sellability_price']();
19930
20041
  export const makeProductTaxonomyCategory = () => factories['io.flow.v0.models.product_taxonomy_category']();
19931
20042
  export const makeProductTaxonomyData = () => factories['io.flow.v0.models.product_taxonomy_data']();
19932
20043
  export const makeProductUpdated = () => factories['io.flow.v0.models.product_updated']();
@@ -20074,7 +20185,6 @@ export const makeRounding = () => factories['io.flow.v0.models.rounding']();
20074
20185
  export const makeRoundingMethod = () => factories['io.flow.v0.enums.rounding_method']();
20075
20186
  export const makeRoundingType = () => factories['io.flow.v0.enums.rounding_type']();
20076
20187
  export const makeRouteAudit = () => factories['io.flow.v0.models.route_audit']();
20077
- export const makeRuleEffectType = () => factories['io.flow.v0.enums.rule_effect_type']();
20078
20188
  export const makeSchedule = () => factories['io.flow.v0.models.schedule']();
20079
20189
  export const makeScheduleExceptionStatus = () => factories['io.flow.v0.enums.schedule_exception_status']();
20080
20190
  export const makeScheduledExport = () => factories['io.flow.v0.models.scheduled_export']();
@@ -20084,7 +20194,6 @@ export const makeSdkAdyenV3AuthenticationToken = () => factories['io.flow.v0.uni
20084
20194
  export const makeSecurityRatecardFee = () => factories['io.flow.v0.models.security_ratecard_fee']();
20085
20195
  export const makeSecurityServiceFee = () => factories['io.flow.v0.models.security_service_fee']();
20086
20196
  export const makeSelectIssuerOptionActionDetails = () => factories['io.flow.v0.models.select_issuer_option_action_details']();
20087
- export const makeSellablilityRegionResult = () => factories['io.flow.v0.models.sellablility_region_result']();
20088
20197
  export const makeServiceDescription = () => factories['io.flow.v0.unions.service_description']();
20089
20198
  export const makeServiceFee = () => factories['io.flow.v0.unions.service_fee']();
20090
20199
  export const makeServiceReference = () => factories['io.flow.v0.models.service_reference']();
@@ -20234,20 +20343,6 @@ export const makeSurchargeResponsibleParty = () => factories['io.flow.v0.enums.s
20234
20343
  export const makeSurchargeResponsiblePartyDisplay = () => factories['io.flow.v0.models.surcharge_responsible_party_display']();
20235
20344
  export const makeSurchargeSetting = () => factories['io.flow.v0.models.surcharge_setting']();
20236
20345
  export const makeSurchargeSettingDisplay = () => factories['io.flow.v0.models.surcharge_setting_display']();
20237
- export const makeSyncDuration = () => factories['io.flow.v0.models.sync_duration']();
20238
- export const makeSyncPendingRecord = () => factories['io.flow.v0.models.sync_pending_record']();
20239
- export const makeSyncRecord = () => factories['io.flow.v0.models.sync_record']();
20240
- export const makeSyncRecordFailure = () => factories['io.flow.v0.models.sync_record_failure']();
20241
- export const makeSyncRecordFailureForm = () => factories['io.flow.v0.models.sync_record_failure_form']();
20242
- export const makeSyncRecordFailureReason = () => factories['io.flow.v0.enums.sync_record_failure_reason']();
20243
- export const makeSyncRecordForm = () => factories['io.flow.v0.models.sync_record_form']();
20244
- export const makeSyncStream = () => factories['io.flow.v0.models.sync_stream']();
20245
- export const makeSyncStreamForm = () => factories['io.flow.v0.models.sync_stream_form']();
20246
- export const makeSyncStreamReference = () => factories['io.flow.v0.models.sync_stream_reference']();
20247
- export const makeSyncStreamSettings = () => factories['io.flow.v0.models.sync_stream_settings']();
20248
- export const makeSyncStreamSettingsForm = () => factories['io.flow.v0.models.sync_stream_settings_form']();
20249
- export const makeSyncStreamType = () => factories['io.flow.v0.enums.sync_stream_type']();
20250
- export const makeSyncUnitOfTime = () => factories['io.flow.v0.enums.sync_unit_of_time']();
20251
20346
  export const makeTax = () => factories['io.flow.v0.models.tax']();
20252
20347
  export const makeTaxApplicability = () => factories['io.flow.v0.enums.tax_applicability']();
20253
20348
  export const makeTaxRegistration = () => factories['io.flow.v0.models.tax_registration']();