@flowio/api-factories 0.0.100 → 0.0.101

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/esm/api.js CHANGED
@@ -398,6 +398,151 @@ var factories = {
398
398
  ]);
399
399
  return f();
400
400
  },
401
+ 'io.flow.channel.internal.v0.enums.channel_order_acceptance_error_action': function () { return faker.helpers.arrayElement(['auto_reject', 'auto_accept']); },
402
+ 'io.flow.channel.internal.v0.enums.channel_order_acceptance_failure_reason_code': function () { return faker.helpers.arrayElement(['channel_order_mor_invalid', 'channel_order_does_not_exist']); },
403
+ 'io.flow.channel.internal.v0.enums.channel_order_acceptance_next_action_from': function () { return faker.helpers.arrayElement([
404
+ 'cx_team',
405
+ 'core_team',
406
+ 'core_team_investigate',
407
+ 'mex_team',
408
+ 'payments_team',
409
+ 'tc_team',
410
+ 'logistics_team',
411
+ ]); },
412
+ 'io.flow.channel.internal.v0.enums.channel_order_acceptance_rejection_reason': function () { return faker.helpers.arrayElement([
413
+ 'unsupported_origin_country',
414
+ 'unsupported_destination_country',
415
+ 'domestic_order',
416
+ 'order_contains_gift_card',
417
+ 'order_contains_restricted_goods',
418
+ 'missing_order_information',
419
+ 'missing_classification_information',
420
+ 'unsupported_payment_information',
421
+ 'unsupported_shop_currency',
422
+ 'unsupported_free_order',
423
+ 'extracting_distribution_info_failed',
424
+ 'shipping_estimation_failed',
425
+ 'payment_authorization_failed',
426
+ 'unsupported_subsidized_order',
427
+ 'unsupported_virtual_goods',
428
+ 'non_matching_currencies',
429
+ 'unsupported_order_edit',
430
+ 'order_missing',
431
+ ]); },
432
+ 'io.flow.channel.internal.v0.enums.channel_order_acceptance_status': function () { return faker.helpers.arrayElement(['accepted', 'rejected', 'review', 'edit_review', 'edit_accepted']); },
433
+ 'io.flow.channel.internal.v0.models.channel_currency_form': function () { return ({
434
+ currency: factories.string(),
435
+ channel_id: factories.string(),
436
+ capabilities: arrayOf(function () { return factories['io.flow.channel.v0.enums.channel_currency_capability'](); }),
437
+ }); },
438
+ 'io.flow.channel.internal.v0.models.channel_form': function () { return ({
439
+ name: factories.string(),
440
+ environment: factories['io.flow.common.v0.enums.environment'](),
441
+ organization_id_prefix: factories.string(),
442
+ }); },
443
+ 'io.flow.channel.internal.v0.models.channel_membership': function () { return ({
444
+ id: factories.string(),
445
+ channel: factories['io.flow.common.v0.models.channel_reference'](),
446
+ user: factories['io.flow.common.v0.unions.expandable_user'](),
447
+ role: factories['io.flow.common.v0.enums.role'](),
448
+ }); },
449
+ 'io.flow.channel.internal.v0.models.channel_membership_form': function () { return ({
450
+ channel_id: factories.string(),
451
+ user_id: factories.string(),
452
+ role: factories['io.flow.common.v0.enums.role'](),
453
+ }); },
454
+ 'io.flow.channel.internal.v0.models.channel_membership_put_form': function () { return ({
455
+ role: factories['io.flow.common.v0.enums.role'](),
456
+ }); },
457
+ 'io.flow.channel.internal.v0.models.channel_order_acceptance': function () { return ({
458
+ id: factories.string(),
459
+ organization_id: factories.string(),
460
+ order_number: factories.string(),
461
+ channel_id: factories.string(),
462
+ external_order_reference: factories.string(),
463
+ payment_request_id: factories.string(),
464
+ order_edit_payment_request_ids: arrayOf(function () { return factories.string(); }),
465
+ status: factories['io.flow.channel.internal.v0.enums.channel_order_acceptance_status'](),
466
+ reasons: arrayOf(function () { return factories['io.flow.channel.internal.v0.models.channel_order_acceptance_reason'](); }),
467
+ next_action_from: factories['io.flow.channel.internal.v0.enums.channel_order_acceptance_next_action_from'](),
468
+ order_created_at: factories.date_time_iso_8601(),
469
+ order_updated_at: factories.date_time_iso_8601(),
470
+ order_edit_summary: factories['io.flow.channel.internal.v0.models.order_edit_summary'](),
471
+ }); },
472
+ 'io.flow.channel.internal.v0.models.channel_order_acceptance_details': function () { return ({
473
+ order_acceptance: factories['io.flow.channel.internal.v0.models.channel_order_acceptance'](),
474
+ external_order: factories.object(),
475
+ }); },
476
+ 'io.flow.channel.internal.v0.models.channel_order_acceptance_failure': function () { return ({
477
+ id: factories.string(),
478
+ organization_id: factories.string(),
479
+ channel_id: factories.string(),
480
+ payment_request_id: factories.string(),
481
+ code: factories['io.flow.channel.internal.v0.enums.channel_order_acceptance_failure_reason_code'](),
482
+ reason: factories.string(),
483
+ }); },
484
+ 'io.flow.channel.internal.v0.models.channel_order_acceptance_form': function () { return ({
485
+ status: factories['io.flow.channel.internal.v0.enums.channel_order_acceptance_status'](),
486
+ }); },
487
+ 'io.flow.channel.internal.v0.models.channel_order_acceptance_reason': function () { return ({
488
+ description: factories.string(),
489
+ rejection_reason: factories['io.flow.channel.internal.v0.enums.channel_order_acceptance_rejection_reason'](),
490
+ }); },
491
+ 'io.flow.channel.internal.v0.models.flow_channel_organization': function () { return ({
492
+ placeholder: factories.string(),
493
+ }); },
494
+ 'io.flow.channel.internal.v0.models.order_edit_summary': function () { return ({
495
+ edited_at: factories.date_time_iso_8601(),
496
+ }); },
497
+ 'io.flow.channel.v0.enums.channel_currency_capability': function () { return faker.helpers.arrayElement(['payment_authorizations', 'settlement_currency']); },
498
+ 'io.flow.channel.v0.models.channel': function () { return ({
499
+ id: factories.string(),
500
+ name: factories.string(),
501
+ environment: factories['io.flow.common.v0.enums.environment'](),
502
+ organization_id_prefix: factories.string(),
503
+ }); },
504
+ 'io.flow.channel.v0.models.channel_authorization': function () { return ({
505
+ placeholder: factories.string(),
506
+ }); },
507
+ 'io.flow.channel.v0.models.channel_authorization_form': function () { return ({
508
+ channel_id: factories.string(),
509
+ }); },
510
+ 'io.flow.channel.v0.models.channel_currency': function () { return ({
511
+ id: factories.string(),
512
+ currency: factories.string(),
513
+ channel: factories['io.flow.common.v0.models.channel_reference'](),
514
+ capabilities: arrayOf(function () { return factories['io.flow.channel.v0.enums.channel_currency_capability'](); }),
515
+ }); },
516
+ 'io.flow.channel.v0.models.channel_organization': function () { return ({
517
+ id: factories.string(),
518
+ organization: factories['io.flow.common.v0.models.organization_reference'](),
519
+ key: factories.string(),
520
+ channel: factories['io.flow.common.v0.models.channel_reference'](),
521
+ name: factories.string(),
522
+ slug: factories.string(),
523
+ defaults: factories['io.flow.common.v0.models.organization_defaults'](),
524
+ attributes: objectOf(function () { return factories.string(); }),
525
+ }); },
526
+ 'io.flow.channel.v0.models.channel_organization_authorization': function () { return ({
527
+ placeholder: factories.string(),
528
+ }); },
529
+ 'io.flow.channel.v0.models.channel_organization_authorization_form': function () { return ({
530
+ channel_id: factories.string(),
531
+ organization_id: factories.string(),
532
+ }); },
533
+ 'io.flow.channel.v0.models.channel_organization_form': function () { return ({
534
+ key: factories.string(),
535
+ name: factories.string(),
536
+ slug: factories.string(),
537
+ defaults: factories['io.flow.common.v0.models.organization_defaults'](),
538
+ attributes: objectOf(function () { return factories.string(); }),
539
+ }); },
540
+ 'io.flow.channel.v0.models.channel_organization_put_form': function () { return ({
541
+ name: factories.string(),
542
+ slug: factories.string(),
543
+ defaults: factories['io.flow.common.v0.models.organization_defaults'](),
544
+ attributes: objectOf(function () { return factories.string(); }),
545
+ }); },
401
546
  'io.flow.common.v0.enums.attribute_data_type': function () { return faker.helpers.arrayElement(['boolean', 'integer', 'decimal', 'string', 'json_array']); },
402
547
  'io.flow.common.v0.enums.availability_status': function () { return faker.helpers.arrayElement(['enabled', 'disabled']); },
403
548
  'io.flow.common.v0.enums.calendar': function () { return faker.helpers.arrayElement(['weekdays', 'everyday']); },
@@ -2178,6 +2323,23 @@ var factories = {
2178
2323
  ]);
2179
2324
  return f();
2180
2325
  },
2326
+ 'io.flow.product.v0.models.product': function () { return ({
2327
+ organization_id: factories.string(),
2328
+ number: factories.string(),
2329
+ taxonomy_category: factories['io.flow.product.v0.models.product_taxonomy_category'](),
2330
+ taxonomy_data: arrayOf(function () { return factories['io.flow.product.v0.models.product_taxonomy_data'](); }),
2331
+ item_numbers: arrayOf(function () { return factories.string(); }),
2332
+ updated_at: factories.date_time_iso_8601(),
2333
+ deleted_at: factories.date_time_iso_8601(),
2334
+ }); },
2335
+ 'io.flow.product.v0.models.product_taxonomy_category': function () { return ({
2336
+ name: factories.string(),
2337
+ full_name: factories.string(),
2338
+ }); },
2339
+ 'io.flow.product.v0.models.product_taxonomy_data': function () { return ({
2340
+ key: factories.string(),
2341
+ value: arrayOf(function () { return factories.string(); }),
2342
+ }); },
2181
2343
  'io.flow.query.builder.v0.enums.available_filter_format': function () { return faker.helpers.arrayElement([
2182
2344
  'boolean',
2183
2345
  'date',
@@ -2553,6 +2715,10 @@ var factories = {
2553
2715
  'io.flow.shopify.external.v0.models.graphql_measurement': function () { return ({
2554
2716
  weight: factories['io.flow.shopify.external.v0.models.graphql_weight'](),
2555
2717
  }); },
2718
+ 'io.flow.shopify.external.v0.models.graphql_metafield': function () { return ({
2719
+ key: factories.string(),
2720
+ value: factories.string(),
2721
+ }); },
2556
2722
  'io.flow.shopify.external.v0.models.graphql_option': function () { return ({
2557
2723
  id: factories.string(),
2558
2724
  values: arrayOf(function () { return factories.string(); }),
@@ -2577,6 +2743,8 @@ var factories = {
2577
2743
  createdAt: factories.date_time_iso_8601(),
2578
2744
  updatedAt: factories.date_time_iso_8601(),
2579
2745
  hasVariantsThatRequiresComponents: factories.boolean(),
2746
+ category: factories['io.flow.shopify.external.v0.models.graphql_taxonomy_category'](),
2747
+ metafields: arrayOf(function () { return factories['io.flow.shopify.external.v0.models.graphql_metafield'](); }),
2580
2748
  }); },
2581
2749
  'io.flow.shopify.external.v0.models.graphql_product_image': function () { return ({
2582
2750
  id: factories.string(),
@@ -2597,6 +2765,10 @@ var factories = {
2597
2765
  image: factories['io.flow.shopify.external.v0.models.graphql_variant_image'](),
2598
2766
  inventoryItem: factories['io.flow.shopify.external.v0.models.graphql_inventory_item'](),
2599
2767
  }); },
2768
+ 'io.flow.shopify.external.v0.models.graphql_taxonomy_category': function () { return ({
2769
+ name: factories.string(),
2770
+ fullName: factories.string(),
2771
+ }); },
2600
2772
  'io.flow.shopify.external.v0.models.graphql_variant_image': function () { return ({
2601
2773
  id: factories.string(),
2602
2774
  }); },
@@ -2702,6 +2874,7 @@ var factories = {
2702
2874
  created_at: factories.date_time_iso_8601(),
2703
2875
  updated_at: factories.date_time_iso_8601(),
2704
2876
  has_variants_that_requires_components: factories.boolean(),
2877
+ category: factories['io.flow.product.v0.models.product_taxonomy_category'](),
2705
2878
  }); },
2706
2879
  'io.flow.shopify.external.v0.models.product_delete': function () { return ({
2707
2880
  id: factories.long(),
@@ -4874,6 +5047,7 @@ var factories = {
4874
5047
  return f();
4875
5048
  },
4876
5049
  'io.flow.tech.onboarding.playground.v0.enums.aldo_item_type': function () { return faker.helpers.arrayElement(['physical', 'digital']); },
5050
+ 'io.flow.tech.onboarding.playground.v0.enums.ansh_item_type': function () { return faker.helpers.arrayElement(['physical', 'digital']); },
4877
5051
  'io.flow.tech.onboarding.playground.v0.models.aldo_item': function () { return ({
4878
5052
  id: factories.string(),
4879
5053
  number: factories.string(),
@@ -4889,10 +5063,31 @@ var factories = {
4889
5063
  type: factories['io.flow.tech.onboarding.playground.v0.enums.aldo_item_type'](),
4890
5064
  added_on: factories.date_iso_8601(),
4891
5065
  }); },
5066
+ 'io.flow.tech.onboarding.playground.v0.models.ansh_item': function () { return ({
5067
+ id: factories.string(),
5068
+ number: factories.string(),
5069
+ amount: factories['io.flow.common.v0.models.price'](),
5070
+ description: factories.string(),
5071
+ type: factories['io.flow.tech.onboarding.playground.v0.enums.ansh_item_type'](),
5072
+ added_on: factories.date_iso_8601(),
5073
+ }); },
5074
+ 'io.flow.tech.onboarding.playground.v0.models.ansh_item_form': function () { return ({
5075
+ number: factories.string(),
5076
+ amount: factories['io.flow.common.v0.models.price'](),
5077
+ description: factories.string(),
5078
+ type: factories['io.flow.tech.onboarding.playground.v0.enums.ansh_item_type'](),
5079
+ added_on: factories.date_iso_8601(),
5080
+ }); },
4892
5081
  'io.flow.tech.onboarding.playground.v0.models.jean_demo_item': function () { return ({
4893
5082
  id: factories.string(),
4894
5083
  name: factories.string(),
4895
5084
  }); },
5085
+ 'io.flow.tech.onboarding.playground.v0.models.shawn_roundtable_workshop_rate': function () { return ({
5086
+ origin_country: factories.string(),
5087
+ destination_country: factories.string(),
5088
+ weight: factories.double(),
5089
+ amount: factories.double(),
5090
+ }); },
4896
5091
  'io.flow.tech.onboarding.playground.v0.models.tech_onboarding_description': function () { return ({
4897
5092
  description: factories.string(),
4898
5093
  }); },
@@ -5132,6 +5327,7 @@ var factories = {
5132
5327
  'io.flow.v0.enums.center_capability': function () { return faker.helpers.arrayElement(['international', 'domestic', 'crossdock', 'commercial_invoice']); },
5133
5328
  'io.flow.v0.enums.change_type': function () { return faker.helpers.arrayElement(['insert', 'update', 'delete']); },
5134
5329
  'io.flow.v0.enums.channel_currency_capability': function () { return faker.helpers.arrayElement(['payment_authorizations', 'settlement_currency']); },
5330
+ 'io.flow.v0.enums.channel_shopify_order_state_reason_code': function () { return faker.helpers.arrayElement(['placeholder_reason_code']); },
5135
5331
  'io.flow.v0.enums.consumer_invoice_customer_type': function () { return faker.helpers.arrayElement(['business_eu_verified', 'business_non_verified', 'individual']); },
5136
5332
  'io.flow.v0.enums.consumer_invoice_document_type': function () { return faker.helpers.arrayElement(['pdf']); },
5137
5333
  'io.flow.v0.enums.consumer_invoice_status': function () { return faker.helpers.arrayElement(['pending', 'available', 'invalid']); },
@@ -5229,10 +5425,6 @@ var factories = {
5229
5425
  'catalog_deleted',
5230
5426
  'subcatalog_upserted',
5231
5427
  'subcatalog_deleted',
5232
- 'catalog_item_upserted',
5233
- 'catalog_item_deleted',
5234
- 'catalog_item_upserted_v2',
5235
- 'catalog_item_deleted_v2',
5236
5428
  'subcatalog_item_upserted',
5237
5429
  'subcatalog_item_deleted',
5238
5430
  'catalog_statistics_upserted',
@@ -5240,6 +5432,8 @@ var factories = {
5240
5432
  'item_inserted',
5241
5433
  'item_updated',
5242
5434
  'item_deleted',
5435
+ 'channel_shopify_order_state_upserted',
5436
+ 'channel_shopify_order_state_deleted',
5243
5437
  'channel_upserted',
5244
5438
  'channel_deleted',
5245
5439
  'channel_currency_upserted',
@@ -5388,6 +5582,9 @@ var factories = {
5388
5582
  'price_book_deleted',
5389
5583
  'price_book_item_upserted',
5390
5584
  'price_book_item_deleted',
5585
+ 'product_inserted',
5586
+ 'product_updated',
5587
+ 'product_deleted',
5391
5588
  'organization_rates_published',
5392
5589
  'ratecard_lane_upserted',
5393
5590
  'ratecard_lane_deleted',
@@ -5897,6 +6094,7 @@ var factories = {
5897
6094
  'io.flow.v0.enums.role': function () { return faker.helpers.arrayElement(['admin', 'member']); },
5898
6095
  'io.flow.v0.enums.rounding_method': function () { return faker.helpers.arrayElement(['up', 'down', 'nearest']); },
5899
6096
  'io.flow.v0.enums.rounding_type': function () { return faker.helpers.arrayElement(['pattern', 'multiple']); },
6097
+ 'io.flow.v0.enums.rule_effect_type': function () { return faker.helpers.arrayElement(['market', 'dhl', 'dhl_ecommerce', 'ups']); },
5900
6098
  'io.flow.v0.enums.schedule_exception_status': function () { return faker.helpers.arrayElement(['Open', 'Closed']); },
5901
6099
  'io.flow.v0.enums.shipment_integration_type': function () { return faker.helpers.arrayElement(['direct', 'information', 'preadvice']); },
5902
6100
  'io.flow.v0.enums.shipment_recipient': function () { return faker.helpers.arrayElement(['customer', 'return', 'crossdock']); },
@@ -5923,6 +6121,49 @@ var factories = {
5923
6121
  'io.flow.v0.enums.stored_method_usage_step': function () { return faker.helpers.arrayElement(['initial', 'subsequent']); },
5924
6122
  'io.flow.v0.enums.strategy': function () { return faker.helpers.arrayElement(['range', 'from', 'to']); },
5925
6123
  'io.flow.v0.enums.subcatalog_item_status': function () { return faker.helpers.arrayElement(['excluded', 'included', 'restricted']); },
6124
+ 'io.flow.v0.enums.substatus_code': function () { return faker.helpers.arrayElement([
6125
+ 'Delivered_001',
6126
+ 'Delivered_002',
6127
+ 'Delivered_003',
6128
+ 'Delivered_004',
6129
+ 'AvailableForPickup_001',
6130
+ 'Exception_001',
6131
+ 'Exception_002',
6132
+ 'Exception_003',
6133
+ 'Exception_004',
6134
+ 'Exception_005',
6135
+ 'Exception_006',
6136
+ 'Exception_007',
6137
+ 'Exception_008',
6138
+ 'Exception_009',
6139
+ 'Exception_010',
6140
+ 'Exception_011',
6141
+ 'Exception_012',
6142
+ 'Exception_013',
6143
+ 'AttemptFail_001',
6144
+ 'AttemptFail_002',
6145
+ 'AttemptFail_003',
6146
+ 'InTransit_001',
6147
+ 'InTransit_002',
6148
+ 'InTransit_003',
6149
+ 'InTransit_004',
6150
+ 'InTransit_005',
6151
+ 'InTransit_006',
6152
+ 'InTransit_007',
6153
+ 'InTransit_008',
6154
+ 'InTransit_009',
6155
+ 'InfoReceived_001',
6156
+ 'OutForDelivery_001',
6157
+ 'OutForDelivery_003',
6158
+ 'OutForDelivery_004',
6159
+ 'Pending_001',
6160
+ 'Pending_002',
6161
+ 'Pending_003',
6162
+ 'Pending_004',
6163
+ 'Pending_005',
6164
+ 'Pending_006',
6165
+ 'Expired_001',
6166
+ ]); },
5926
6167
  'io.flow.v0.enums.surcharge_responsible_party': function () { return faker.helpers.arrayElement(['organization', 'customer']); },
5927
6168
  'io.flow.v0.enums.sync_record_failure_reason': function () { return faker.helpers.arrayElement(['inventory', 'address', 'promotion', 'other']); },
5928
6169
  'io.flow.v0.enums.sync_stream_type': function () { return faker.helpers.arrayElement(['submitted_order', 'placed_order']); },
@@ -5981,6 +6222,9 @@ var factories = {
5981
6222
  'virtual_card_refund',
5982
6223
  'failed_payout',
5983
6224
  'tax_refund',
6225
+ 'order_fx',
6226
+ 'ge_revenue_share',
6227
+ 'tax_duty_delta',
5984
6228
  ]); },
5985
6229
  'io.flow.v0.enums.trueup_source': function () { return faker.helpers.arrayElement(['flow', 'channel', 'dhl-parcel', 'dhl', 'ups']); },
5986
6230
  'io.flow.v0.enums.trueup_surcharge_type': function () { return faker.helpers.arrayElement([
@@ -7093,6 +7337,10 @@ var factories = {
7093
7337
  'io.flow.v0.models.carrier_reference': function () { return ({
7094
7338
  id: factories.string(),
7095
7339
  }); },
7340
+ 'io.flow.v0.models.carrier_restrictions': function () { return ({
7341
+ carrier: factories.string(),
7342
+ regions: arrayOf(function () { return factories.string(); }),
7343
+ }); },
7096
7344
  'io.flow.v0.models.carrier_service': function () { return ({
7097
7345
  id: factories.string(),
7098
7346
  carrier: factories['io.flow.v0.models.carrier'](),
@@ -7110,20 +7358,6 @@ var factories = {
7110
7358
  timestamp: factories.date_time_iso_8601(),
7111
7359
  organization: factories.string(),
7112
7360
  }); },
7113
- 'io.flow.v0.models.catalog_item_deleted': function () { return ({
7114
- discriminator: 'catalog_item_deleted',
7115
- event_id: factories.string(),
7116
- timestamp: factories.date_time_iso_8601(),
7117
- organization: factories.string(),
7118
- number: factories.string(),
7119
- }); },
7120
- 'io.flow.v0.models.catalog_item_deleted_v2': function () { return ({
7121
- discriminator: 'catalog_item_deleted_v2',
7122
- event_id: factories.string(),
7123
- timestamp: factories.date_time_iso_8601(),
7124
- organization: factories.string(),
7125
- item: factories['io.flow.v0.models.item'](),
7126
- }); },
7127
7361
  'io.flow.v0.models.catalog_item_document': function () { return ({
7128
7362
  discriminator: 'catalog_item_document',
7129
7363
  number: factories.string(),
@@ -7151,29 +7385,6 @@ var factories = {
7151
7385
  name: factories.string(),
7152
7386
  attributes: objectOf(function () { return factories.string(); }),
7153
7387
  }); },
7154
- 'io.flow.v0.models.catalog_item_upserted': function () { return ({
7155
- discriminator: 'catalog_item_upserted',
7156
- event_id: factories.string(),
7157
- timestamp: factories.date_time_iso_8601(),
7158
- organization: factories.string(),
7159
- number: factories.string(),
7160
- locale: factories.string(),
7161
- name: factories.string(),
7162
- currency: factories.string(),
7163
- price: factories.double(),
7164
- categories: arrayOf(function () { return factories.string(); }),
7165
- description: factories.string(),
7166
- attributes: objectOf(function () { return factories.string(); }),
7167
- dimensions: factories.object(),
7168
- images: arrayOf(function () { return factories.object(); }),
7169
- }); },
7170
- 'io.flow.v0.models.catalog_item_upserted_v2': function () { return ({
7171
- discriminator: 'catalog_item_upserted_v2',
7172
- event_id: factories.string(),
7173
- timestamp: factories.date_time_iso_8601(),
7174
- organization: factories.string(),
7175
- item: factories['io.flow.v0.models.item'](),
7176
- }); },
7177
7388
  'io.flow.v0.models.catalog_price_book_item_document': function () { return ({
7178
7389
  price_book_key: factories.string(),
7179
7390
  price_book_item_key: factories.string(),
@@ -7427,6 +7638,34 @@ var factories = {
7427
7638
  'io.flow.v0.models.channel_reference': function () { return ({
7428
7639
  id: factories.string(),
7429
7640
  }); },
7641
+ 'io.flow.v0.models.channel_shopify_order_state': function () { return ({
7642
+ id: factories.string(),
7643
+ shopify_order_summary: factories['io.flow.v0.models.channel_shopify_order_summary'](),
7644
+ status: factories['io.flow.channel.internal.v0.enums.channel_order_acceptance_status'](),
7645
+ reasons: arrayOf(function () { return factories['io.flow.v0.models.channel_shopify_order_state_reason'](); }),
7646
+ }); },
7647
+ 'io.flow.v0.models.channel_shopify_order_state_deleted': function () { return ({
7648
+ discriminator: 'channel_shopify_order_state_deleted',
7649
+ event_id: factories.string(),
7650
+ timestamp: factories.date_time_iso_8601(),
7651
+ organization: factories.string(),
7652
+ id: factories.string(),
7653
+ }); },
7654
+ 'io.flow.v0.models.channel_shopify_order_state_reason': function () { return ({
7655
+ code: factories['io.flow.v0.enums.channel_shopify_order_state_reason_code'](),
7656
+ message: factories.string(),
7657
+ }); },
7658
+ 'io.flow.v0.models.channel_shopify_order_state_upserted': function () { return ({
7659
+ discriminator: 'channel_shopify_order_state_upserted',
7660
+ event_id: factories.string(),
7661
+ timestamp: factories.date_time_iso_8601(),
7662
+ organization: factories.string(),
7663
+ channel_shopify_order_state: factories['io.flow.v0.models.channel_shopify_order_state'](),
7664
+ }); },
7665
+ 'io.flow.v0.models.channel_shopify_order_summary': function () { return ({
7666
+ order_id: factories.long(),
7667
+ shop_id: factories.long(),
7668
+ }); },
7430
7669
  'io.flow.v0.models.channel_statement': function () { return ({
7431
7670
  id: factories.string(),
7432
7671
  account: factories['io.flow.v0.models.account_reference'](),
@@ -8289,11 +8528,13 @@ var factories = {
8289
8528
  q: factories.string(),
8290
8529
  dimensions: factories['io.flow.v0.models.estimated_dimensions'](),
8291
8530
  position: factories.long(),
8531
+ block_bulk_update: factories.boolean(),
8292
8532
  }); },
8293
8533
  'io.flow.v0.models.dimension_estimate_form': function () { return ({
8294
8534
  q: factories.string(),
8295
8535
  dimensions: factories['io.flow.v0.models.estimated_dimensions'](),
8296
8536
  position: factories.long(),
8537
+ block_bulk_update: factories.boolean(),
8297
8538
  }); },
8298
8539
  'io.flow.v0.models.dimension_estimate_version': function () { return ({
8299
8540
  id: factories.string(),
@@ -12304,7 +12545,6 @@ var factories = {
12304
12545
  source: factories['io.flow.v0.enums.delivery_window_component_source'](),
12305
12546
  }); },
12306
12547
  'io.flow.v0.models.product': function () { return ({
12307
- id: factories.string(),
12308
12548
  organization_id: factories.string(),
12309
12549
  number: factories.string(),
12310
12550
  taxonomy_category: factories['io.flow.v0.models.product_taxonomy_category'](),
@@ -12313,6 +12553,20 @@ var factories = {
12313
12553
  updated_at: factories.date_time_iso_8601(),
12314
12554
  deleted_at: factories.date_time_iso_8601(),
12315
12555
  }); },
12556
+ 'io.flow.v0.models.product_deleted': function () { return ({
12557
+ discriminator: 'product_deleted',
12558
+ event_id: factories.string(),
12559
+ timestamp: factories.date_time_iso_8601(),
12560
+ organization: factories.string(),
12561
+ product: factories['io.flow.v0.models.product'](),
12562
+ }); },
12563
+ 'io.flow.v0.models.product_inserted': function () { return ({
12564
+ discriminator: 'product_inserted',
12565
+ event_id: factories.string(),
12566
+ timestamp: factories.date_time_iso_8601(),
12567
+ organization: factories.string(),
12568
+ product: factories['io.flow.v0.models.product'](),
12569
+ }); },
12316
12570
  'io.flow.v0.models.product_restriction_result': function () { return ({
12317
12571
  id: factories.string(),
12318
12572
  product_id: factories.string(),
@@ -12339,14 +12593,41 @@ var factories = {
12339
12593
  organization: factories.string(),
12340
12594
  product_restriction_result: factories['io.flow.v0.models.product_restriction_result'](),
12341
12595
  }); },
12596
+ 'io.flow.v0.models.product_sellability': function () { return ({
12597
+ organization_id: factories.string(),
12598
+ product_id: factories.string(),
12599
+ product_correlation_id: factories.string(),
12600
+ restricted_regions: arrayOf(function () { return factories['io.flow.v0.models.sellablility_region_result'](); }),
12601
+ in_review_regions: arrayOf(function () { return factories['io.flow.v0.models.sellablility_region_result'](); }),
12602
+ }); },
12603
+ 'io.flow.v0.models.product_sellability_form': function () { return ({
12604
+ organization_id: factories.string(),
12605
+ product_id: factories.string(),
12606
+ product_correlation_id: factories.string(),
12607
+ name: factories.string(),
12608
+ price: factories['io.flow.v0.models.product_sellability_price'](),
12609
+ description: factories.string(),
12610
+ taxonomy_category: factories['io.flow.v0.models.product_taxonomy_category'](),
12611
+ }); },
12612
+ 'io.flow.v0.models.product_sellability_price': function () { return ({
12613
+ currency: factories.string(),
12614
+ amount: factories.decimal(),
12615
+ }); },
12342
12616
  'io.flow.v0.models.product_taxonomy_category': function () { return ({
12343
12617
  name: factories.string(),
12344
- fullname: factories.string(),
12618
+ full_name: factories.string(),
12345
12619
  }); },
12346
12620
  'io.flow.v0.models.product_taxonomy_data': function () { return ({
12347
12621
  key: factories.string(),
12348
12622
  value: arrayOf(function () { return factories.string(); }),
12349
12623
  }); },
12624
+ 'io.flow.v0.models.product_updated': function () { return ({
12625
+ discriminator: 'product_updated',
12626
+ event_id: factories.string(),
12627
+ timestamp: factories.date_time_iso_8601(),
12628
+ organization: factories.string(),
12629
+ product: factories['io.flow.v0.models.product'](),
12630
+ }); },
12350
12631
  'io.flow.v0.models.promotion_trigger': function () { return ({
12351
12632
  type: factories['io.flow.v0.enums.promotion_trigger_type'](),
12352
12633
  min: factories['io.flow.v0.models.price'](),
@@ -13168,6 +13449,10 @@ var factories = {
13168
13449
  discriminator: 'select_issuer_option_action_details',
13169
13450
  issuer_options: arrayOf(function () { return factories['io.flow.v0.models.issuer_reference'](); }),
13170
13451
  }); },
13452
+ 'io.flow.v0.models.sellablility_region_result': function () { return ({
13453
+ type: factories['io.flow.v0.enums.rule_effect_type'](),
13454
+ regions: arrayOf(function () { return factories.string(); }),
13455
+ }); },
13171
13456
  'io.flow.v0.models.service_reference': function () { return ({
13172
13457
  id: factories.string(),
13173
13458
  }); },
@@ -14992,10 +15277,6 @@ var factories = {
14992
15277
  function () { return factories['io.flow.v0.models.catalog_deleted'](); },
14993
15278
  function () { return factories['io.flow.v0.models.subcatalog_upserted'](); },
14994
15279
  function () { return factories['io.flow.v0.models.subcatalog_deleted'](); },
14995
- function () { return factories['io.flow.v0.models.catalog_item_upserted'](); },
14996
- function () { return factories['io.flow.v0.models.catalog_item_deleted'](); },
14997
- function () { return factories['io.flow.v0.models.catalog_item_upserted_v2'](); },
14998
- function () { return factories['io.flow.v0.models.catalog_item_deleted_v2'](); },
14999
15280
  function () { return factories['io.flow.v0.models.subcatalog_item_upserted'](); },
15000
15281
  function () { return factories['io.flow.v0.models.subcatalog_item_deleted'](); },
15001
15282
  function () { return factories['io.flow.v0.models.catalog_statistics_upserted'](); },
@@ -15003,6 +15284,8 @@ var factories = {
15003
15284
  function () { return factories['io.flow.v0.models.item_inserted'](); },
15004
15285
  function () { return factories['io.flow.v0.models.item_updated'](); },
15005
15286
  function () { return factories['io.flow.v0.models.item_deleted'](); },
15287
+ function () { return factories['io.flow.v0.models.channel_shopify_order_state_upserted'](); },
15288
+ function () { return factories['io.flow.v0.models.channel_shopify_order_state_deleted'](); },
15006
15289
  function () { return factories['io.flow.v0.models.channel_upserted'](); },
15007
15290
  function () { return factories['io.flow.v0.models.channel_deleted'](); },
15008
15291
  function () { return factories['io.flow.v0.models.channel_currency_upserted'](); },
@@ -15151,6 +15434,9 @@ var factories = {
15151
15434
  function () { return factories['io.flow.v0.models.price_book_deleted'](); },
15152
15435
  function () { return factories['io.flow.v0.models.price_book_item_upserted'](); },
15153
15436
  function () { return factories['io.flow.v0.models.price_book_item_deleted'](); },
15437
+ function () { return factories['io.flow.v0.models.product_inserted'](); },
15438
+ function () { return factories['io.flow.v0.models.product_updated'](); },
15439
+ function () { return factories['io.flow.v0.models.product_deleted'](); },
15154
15440
  function () { return factories['io.flow.v0.models.organization_rates_published'](); },
15155
15441
  function () { return factories['io.flow.v0.models.ratecard_lane_upserted'](); },
15156
15442
  function () { return factories['io.flow.v0.models.ratecard_lane_deleted'](); },
@@ -15976,19 +16262,16 @@ export var makeCardVersion = function () { return factories['io.flow.v0.models.c
15976
16262
  export var makeCarrier = function () { return factories['io.flow.v0.models.carrier'](); };
15977
16263
  export var makeCarrierChargeReason = function () { return factories['io.flow.v0.enums.carrier_charge_reason'](); };
15978
16264
  export var makeCarrierReference = function () { return factories['io.flow.v0.models.carrier_reference'](); };
16265
+ export var makeCarrierRestrictions = function () { return factories['io.flow.v0.models.carrier_restrictions'](); };
15979
16266
  export var makeCarrierService = function () { return factories['io.flow.v0.models.carrier_service'](); };
15980
16267
  export var makeCartReference = function () { return factories['io.flow.v0.models.cart_reference'](); };
15981
16268
  export var makeCatalog = function () { return factories['io.flow.v0.models.catalog'](); };
15982
16269
  export var makeCatalogDeleted = function () { return factories['io.flow.v0.models.catalog_deleted'](); };
15983
- export var makeCatalogItemDeleted = function () { return factories['io.flow.v0.models.catalog_item_deleted'](); };
15984
- export var makeCatalogItemDeletedV2 = function () { return factories['io.flow.v0.models.catalog_item_deleted_v2'](); };
15985
16270
  export var makeCatalogItemDocument = function () { return factories['io.flow.v0.models.catalog_item_document'](); };
15986
16271
  export var makeCatalogItemDocumentImages = function () { return factories['io.flow.v0.models.catalog_item_document_images'](); };
15987
16272
  export var makeCatalogItemExportType = function () { return factories['io.flow.v0.models.catalog_item_export_type'](); };
15988
16273
  export var makeCatalogItemReference = function () { return factories['io.flow.v0.models.catalog_item_reference'](); };
15989
16274
  export var makeCatalogItemSummary = function () { return factories['io.flow.v0.models.catalog_item_summary'](); };
15990
- export var makeCatalogItemUpserted = function () { return factories['io.flow.v0.models.catalog_item_upserted'](); };
15991
- export var makeCatalogItemUpsertedV2 = function () { return factories['io.flow.v0.models.catalog_item_upserted_v2'](); };
15992
16275
  export var makeCatalogPriceBookItemDocument = function () { return factories['io.flow.v0.models.catalog_price_book_item_document'](); };
15993
16276
  export var makeCatalogReference = function () { return factories['io.flow.v0.models.catalog_reference'](); };
15994
16277
  export var makeCatalogStatistics = function () { return factories['io.flow.v0.models.catalog_statistics'](); };
@@ -16034,6 +16317,12 @@ export var makeChannelPendingPayoutTransactionDeleted = function () { return fac
16034
16317
  export var makeChannelPendingPayoutTransactionUpserted = function () { return factories['io.flow.v0.models.channel_pending_payout_transaction_upserted'](); };
16035
16318
  export var makeChannelRate = function () { return factories['io.flow.v0.models.channel_rate'](); };
16036
16319
  export var makeChannelReference = function () { return factories['io.flow.v0.models.channel_reference'](); };
16320
+ export var makeChannelShopifyOrderState = function () { return factories['io.flow.v0.models.channel_shopify_order_state'](); };
16321
+ export var makeChannelShopifyOrderStateDeleted = function () { return factories['io.flow.v0.models.channel_shopify_order_state_deleted'](); };
16322
+ export var makeChannelShopifyOrderStateReason = function () { return factories['io.flow.v0.models.channel_shopify_order_state_reason'](); };
16323
+ export var makeChannelShopifyOrderStateReasonCode = function () { return factories['io.flow.v0.enums.channel_shopify_order_state_reason_code'](); };
16324
+ export var makeChannelShopifyOrderStateUpserted = function () { return factories['io.flow.v0.models.channel_shopify_order_state_upserted'](); };
16325
+ export var makeChannelShopifyOrderSummary = function () { return factories['io.flow.v0.models.channel_shopify_order_summary'](); };
16037
16326
  export var makeChannelStatement = function () { return factories['io.flow.v0.models.channel_statement'](); };
16038
16327
  export var makeChannelStatementDeleted = function () { return factories['io.flow.v0.models.channel_statement_deleted'](); };
16039
16328
  export var makeChannelStatementUpserted = function () { return factories['io.flow.v0.models.channel_statement_upserted'](); };
@@ -17022,12 +17311,18 @@ export var makePricingUpserted = function () { return factories['io.flow.v0.mode
17022
17311
  export var makePricingVersion = function () { return factories['io.flow.v0.models.pricing_version'](); };
17023
17312
  export var makeProcessingEstimate = function () { return factories['io.flow.v0.models.processing_estimate'](); };
17024
17313
  export var makeProduct = function () { return factories['io.flow.v0.models.product'](); };
17314
+ export var makeProductDeleted = function () { return factories['io.flow.v0.models.product_deleted'](); };
17315
+ export var makeProductInserted = function () { return factories['io.flow.v0.models.product_inserted'](); };
17025
17316
  export var makeProductRestrictionResult = function () { return factories['io.flow.v0.models.product_restriction_result'](); };
17026
17317
  export var makeProductRestrictionResultDeleted = function () { return factories['io.flow.v0.models.product_restriction_result_deleted'](); };
17027
17318
  export var makeProductRestrictionResultUpserted = function () { return factories['io.flow.v0.models.product_restriction_result_upserted'](); };
17028
17319
  export var makeProductRestrictionRule = function () { return factories['io.flow.v0.enums.product_restriction_rule'](); };
17320
+ export var makeProductSellability = function () { return factories['io.flow.v0.models.product_sellability'](); };
17321
+ export var makeProductSellabilityForm = function () { return factories['io.flow.v0.models.product_sellability_form'](); };
17322
+ export var makeProductSellabilityPrice = function () { return factories['io.flow.v0.models.product_sellability_price'](); };
17029
17323
  export var makeProductTaxonomyCategory = function () { return factories['io.flow.v0.models.product_taxonomy_category'](); };
17030
17324
  export var makeProductTaxonomyData = function () { return factories['io.flow.v0.models.product_taxonomy_data'](); };
17325
+ export var makeProductUpdated = function () { return factories['io.flow.v0.models.product_updated'](); };
17031
17326
  export var makePromotion = function () { return factories['io.flow.v0.unions.promotion'](); };
17032
17327
  export var makePromotionTrigger = function () { return factories['io.flow.v0.models.promotion_trigger'](); };
17033
17328
  export var makePromotionTriggerForm = function () { return factories['io.flow.v0.models.promotion_trigger_form'](); };
@@ -17172,6 +17467,7 @@ export var makeRounding = function () { return factories['io.flow.v0.models.roun
17172
17467
  export var makeRoundingMethod = function () { return factories['io.flow.v0.enums.rounding_method'](); };
17173
17468
  export var makeRoundingType = function () { return factories['io.flow.v0.enums.rounding_type'](); };
17174
17469
  export var makeRouteAudit = function () { return factories['io.flow.v0.models.route_audit'](); };
17470
+ export var makeRuleEffectType = function () { return factories['io.flow.v0.enums.rule_effect_type'](); };
17175
17471
  export var makeSchedule = function () { return factories['io.flow.v0.models.schedule'](); };
17176
17472
  export var makeScheduleExceptionStatus = function () { return factories['io.flow.v0.enums.schedule_exception_status'](); };
17177
17473
  export var makeScheduledExport = function () { return factories['io.flow.v0.models.scheduled_export'](); };
@@ -17181,6 +17477,7 @@ export var makeSdkAdyenV3AuthenticationToken = function () { return factories['i
17181
17477
  export var makeSecurityRatecardFee = function () { return factories['io.flow.v0.models.security_ratecard_fee'](); };
17182
17478
  export var makeSecurityServiceFee = function () { return factories['io.flow.v0.models.security_service_fee'](); };
17183
17479
  export var makeSelectIssuerOptionActionDetails = function () { return factories['io.flow.v0.models.select_issuer_option_action_details'](); };
17480
+ export var makeSellablilityRegionResult = function () { return factories['io.flow.v0.models.sellablility_region_result'](); };
17184
17481
  export var makeServiceDescription = function () { return factories['io.flow.v0.unions.service_description'](); };
17185
17482
  export var makeServiceFee = function () { return factories['io.flow.v0.unions.service_fee'](); };
17186
17483
  export var makeServiceReference = function () { return factories['io.flow.v0.models.service_reference'](); };
@@ -17322,6 +17619,7 @@ export var makeSubcatalogSettingsForm = function () { return factories['io.flow.
17322
17619
  export var makeSubcatalogStatistics = function () { return factories['io.flow.v0.models.subcatalog_statistics'](); };
17323
17620
  export var makeSubcatalogUpserted = function () { return factories['io.flow.v0.models.subcatalog_upserted'](); };
17324
17621
  export var makeSubcatalogVersion = function () { return factories['io.flow.v0.models.subcatalog_version'](); };
17622
+ export var makeSubstatusCode = function () { return factories['io.flow.v0.enums.substatus_code'](); };
17325
17623
  export var makeSuggestion = function () { return factories['io.flow.v0.models.suggestion'](); };
17326
17624
  export var makeSummaryShippingLabelForm = function () { return factories['io.flow.v0.models.summary_shipping_label_form'](); };
17327
17625
  export var makeSummaryShippingNotificationForm = function () { return factories['io.flow.v0.models.summary_shipping_notification_form'](); };