@flowio/api-factories 0.0.103 → 0.0.104

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
@@ -603,6 +603,9 @@ var factories = {
603
603
  'inch',
604
604
  'foot',
605
605
  'cubic_inch',
606
+ 'cubic_foot',
607
+ 'cubic_millimeter',
608
+ 'cubic_centimeter',
606
609
  'cubic_meter',
607
610
  'gram',
608
611
  'kilogram',
@@ -2542,6 +2545,36 @@ var factories = {
2542
2545
  description: factories.string(),
2543
2546
  offset: factories.integer(),
2544
2547
  }); },
2548
+ 'io.flow.sellability.v0.enums.rule_effect_type': function () { return faker.helpers.arrayElement(['market', 'dhl', 'dhl_ecommerce', 'ups']); },
2549
+ 'io.flow.sellability.v0.enums.sellability_error_code': function () { return faker.helpers.arrayElement(['insufficient_details', 'ineligible_category']); },
2550
+ 'io.flow.sellability.v0.models.product_sellability': function () { return ({
2551
+ shop_id: factories.string(),
2552
+ product_id: factories.string(),
2553
+ request_id: factories.string(),
2554
+ hs6_code: factories.string(),
2555
+ restricted_regions: arrayOf(function () { return factories['io.flow.sellability.v0.models.sellablility_region_result'](); }),
2556
+ }); },
2557
+ 'io.flow.sellability.v0.models.product_sellability_form': function () { return ({
2558
+ shop_id: factories.string(),
2559
+ product_id: factories.string(),
2560
+ request_id: factories.string(),
2561
+ name: factories.string(),
2562
+ price: factories['io.flow.sellability.v0.models.product_sellability_price'](),
2563
+ description: factories.string(),
2564
+ taxonomy_category: factories['io.flow.product.v0.models.product_taxonomy_category'](),
2565
+ }); },
2566
+ 'io.flow.sellability.v0.models.product_sellability_price': function () { return ({
2567
+ currency: factories.string(),
2568
+ amount: factories.decimal(),
2569
+ }); },
2570
+ 'io.flow.sellability.v0.models.sellability_error': function () { return ({
2571
+ code: factories['io.flow.sellability.v0.enums.sellability_error_code'](),
2572
+ messages: arrayOf(function () { return factories.string(); }),
2573
+ }); },
2574
+ 'io.flow.sellability.v0.models.sellablility_region_result': function () { return ({
2575
+ type: factories['io.flow.sellability.v0.enums.rule_effect_type'](),
2576
+ regions: arrayOf(function () { return factories.string(); }),
2577
+ }); },
2545
2578
  'io.flow.shopify.external.v0.enums.cancel_reason': function () { return faker.helpers.arrayElement(['customer', 'fraud', 'inventory', 'declined', 'other']); },
2546
2579
  'io.flow.shopify.external.v0.enums.discount_status': function () { return faker.helpers.arrayElement(['enabled', 'disabled', 'depleted']); },
2547
2580
  'io.flow.shopify.external.v0.enums.discount_type': function () { return faker.helpers.arrayElement(['fixed_amount', 'percentage', 'shipping']); },
@@ -3655,6 +3688,7 @@ var factories = {
3655
3688
  'requested_by_customer',
3656
3689
  'void_invoice',
3657
3690
  ]); },
3691
+ 'io.flow.stripe.v0.enums.capability_status': function () { return faker.helpers.arrayElement(['active', 'disabled', 'inactive', 'pending', 'unrequested']); },
3658
3692
  'io.flow.stripe.v0.enums.capture_method': function () { return faker.helpers.arrayElement(['automatic', 'manual']); },
3659
3693
  'io.flow.stripe.v0.enums.card_brand': function () { return faker.helpers.arrayElement([
3660
3694
  'American Express',
@@ -3681,6 +3715,13 @@ var factories = {
3681
3715
  'io.flow.stripe.v0.enums.check_outcome': function () { return faker.helpers.arrayElement(['pass', 'fail', 'unavailable', 'unchecked']); },
3682
3716
  'io.flow.stripe.v0.enums.code_verification_status': function () { return faker.helpers.arrayElement(['pending', 'succeeded', 'failed']); },
3683
3717
  'io.flow.stripe.v0.enums.confirmation_method': function () { return faker.helpers.arrayElement(['automatic', 'manual']); },
3718
+ 'io.flow.stripe.v0.enums.connect_report_reporting_category': function () { return faker.helpers.arrayElement(['charge', 'refund', 'payout_reversal', 'transfer', 'transfer_reversal']); },
3719
+ 'io.flow.stripe.v0.enums.connect_report_shop_plan': function () { return faker.helpers.arrayElement(['shopify_plus', 'standard']); },
3720
+ 'io.flow.stripe.v0.enums.connect_report_transfer_type': function () { return faker.helpers.arrayElement([
3721
+ 'ManagedMarketsRefundDebit',
3722
+ 'ManagedMarketsDutiesAndTaxesAdjustmentDebit',
3723
+ 'ManagedMarketsDisputedAmountDebit',
3724
+ ]); },
3684
3725
  'io.flow.stripe.v0.enums.decline_code': function () { return faker.helpers.arrayElement([
3685
3726
  'approve_with_id',
3686
3727
  'call_issuer',
@@ -3857,6 +3898,7 @@ var factories = {
3857
3898
  'validation_error',
3858
3899
  ]); },
3859
3900
  'io.flow.stripe.v0.enums.event_type': function () { return faker.helpers.arrayElement([
3901
+ 'capability.updated',
3860
3902
  'charge.captured',
3861
3903
  'charge.failed',
3862
3904
  'charge.pending',
@@ -4119,6 +4161,16 @@ var factories = {
4119
4161
  'io.flow.stripe.v0.models.apple_pay_information': function () { return ({
4120
4162
  type: factories['io.flow.stripe.v0.enums.apple_pay_type'](),
4121
4163
  }); },
4164
+ 'io.flow.stripe.v0.models.capability': function () { return ({
4165
+ id: factories.string(),
4166
+ account: factories.string(),
4167
+ requested: factories.boolean(),
4168
+ requirements: factories.object(),
4169
+ status: factories['io.flow.stripe.v0.enums.capability_status'](),
4170
+ object: factories.string(),
4171
+ future_requirements: factories.object(),
4172
+ requested_at: factories.long(),
4173
+ }); },
4122
4174
  'io.flow.stripe.v0.models.card': function () { return ({
4123
4175
  id: factories.string(),
4124
4176
  object: factories.string(),
@@ -4253,6 +4305,44 @@ var factories = {
4253
4305
  attempts_remaining: factories.long(),
4254
4306
  status: factories['io.flow.stripe.v0.enums.code_verification_status'](),
4255
4307
  }); },
4308
+ 'io.flow.stripe.v0.models.connect_report_record': function () { return ({
4309
+ created_utc: factories.date_time_iso_8601(),
4310
+ charge_id: factories.string(),
4311
+ payment_intent_id: factories.string(),
4312
+ gross: factories.decimal(),
4313
+ fee: factories.decimal(),
4314
+ net: factories.decimal(),
4315
+ currency: factories.string(),
4316
+ connected_account: factories.string(),
4317
+ reporting_category: factories['io.flow.stripe.v0.enums.connect_report_reporting_category'](),
4318
+ dispute_reason: factories['io.flow.stripe.v0.enums.dispute_reason'](),
4319
+ available_on_utc: factories.date_time_iso_8601(),
4320
+ automatic_payout_effective_at_utc: factories.date_time_iso_8601(),
4321
+ source_id: factories.string(),
4322
+ customer_facing_amount: factories.decimal(),
4323
+ customer_facing_currency: factories.string(),
4324
+ payment_method_type: factories.string(),
4325
+ card_brand: factories.string(),
4326
+ statement_descriptor: factories.string(),
4327
+ payment_metadata: factories['io.flow.stripe.v0.models.connect_report_record_payment_metadata'](),
4328
+ transfer_metadata: factories.object(),
4329
+ }); },
4330
+ 'io.flow.stripe.v0.models.connect_report_record_payment_metadata': function () { return ({
4331
+ shop_id: factories.integer(),
4332
+ shop_plan: factories['io.flow.stripe.v0.enums.connect_report_shop_plan'](),
4333
+ checkout_id: factories.string(),
4334
+ order_id: factories.integer(),
4335
+ order_transaction_id: factories.integer(),
4336
+ transfer_type: factories['io.flow.stripe.v0.enums.connect_report_transfer_type'](),
4337
+ transfer_exchange_rate: factories.decimal(),
4338
+ charge_total: factories.integer(),
4339
+ charge_currency: factories.string(),
4340
+ charge_exchange_rate: factories.decimal(),
4341
+ duties: factories.integer(),
4342
+ import_taxes: factories.integer(),
4343
+ mor_fee: factories.integer(),
4344
+ fx_fee: factories.integer(),
4345
+ }); },
4256
4346
  'io.flow.stripe.v0.models.customer': function () { return ({
4257
4347
  id: factories.string(),
4258
4348
  object: factories.string(),
@@ -5515,8 +5605,6 @@ var factories = {
5515
5605
  'io.flow.v0.enums.economic_title_location': function () { return faker.helpers.arrayElement(['high_seas', 'origination', 'destination']); },
5516
5606
  'io.flow.v0.enums.entity_identifier_type': function () { return faker.helpers.arrayElement(['ioss', 'voec', 'zaz']); },
5517
5607
  'io.flow.v0.enums.environment': function () { return faker.helpers.arrayElement(['sandbox', 'production']); },
5518
- 'io.flow.v0.enums.estimate_origin': function () { return faker.helpers.arrayElement(['Shopify', 'GlobalE', 'Aftership', 'Carrier']); },
5519
- 'io.flow.v0.enums.estimate_type': function () { return faker.helpers.arrayElement(['Estimated', 'Final']); },
5520
5608
  'io.flow.v0.enums.event_type': function () { return faker.helpers.arrayElement([
5521
5609
  'test_upserted',
5522
5610
  'generate_load',
@@ -5636,8 +5724,6 @@ var factories = {
5636
5724
  'ge_item_inserted',
5637
5725
  'ge_item_updated',
5638
5726
  'ge_item_deleted',
5639
- 'ge_product_restriction_result_upserted',
5640
- 'ge_product_restriction_result_deleted',
5641
5727
  'hs6_code_upserted',
5642
5728
  'hs6_code_deleted',
5643
5729
  'hs10_code_upserted',
@@ -5766,6 +5852,9 @@ var factories = {
5766
5852
  'io.flow.v0.enums.fulfillment_method_type': function () { return faker.helpers.arrayElement(['fulfillment_method']); },
5767
5853
  'io.flow.v0.enums.fulfillment_method_value': function () { return faker.helpers.arrayElement(['digital', 'physical']); },
5768
5854
  'io.flow.v0.enums.fulfillment_routing': function () { return faker.helpers.arrayElement(['fulfilled_from_center', 'fulfillment_service']); },
5855
+ 'io.flow.v0.enums.ge_catalog_item_ingestion_response': function () { return faker.helpers.arrayElement(['ge_catalog_item_ingestion_success', 'ge_catalog_item_ingestion_failure']); },
5856
+ 'io.flow.v0.enums.ge_environment': function () { return faker.helpers.arrayElement(['production', 'sandbox']); },
5857
+ 'io.flow.v0.enums.ge_event_type': function () { return faker.helpers.arrayElement(['restriction_result', 'ingestion_result']); },
5769
5858
  'io.flow.v0.enums.generic_error_code': function () { return faker.helpers.arrayElement(['generic_error', 'client_error', 'server_error']); },
5770
5859
  'io.flow.v0.enums.goods_supply': function () { return faker.helpers.arrayElement(['export', 'intra_community', 'local']); },
5771
5860
  'io.flow.v0.enums.holiday_calendar': function () { return faker.helpers.arrayElement(['us_bank_holidays', 'jewish_holidays']); },
@@ -5960,7 +6049,7 @@ var factories = {
5960
6049
  'io.flow.v0.enums.order_refund_summary_partial_charged': function () { return faker.helpers.arrayElement(['per_item', 'for_order', 'by_value_percentage', 'by_quantity_percentage']); },
5961
6050
  'io.flow.v0.enums.order_status': function () { return faker.helpers.arrayElement(['open', 'submitted']); },
5962
6051
  'io.flow.v0.enums.order_storage': function () { return faker.helpers.arrayElement(['do_not_persist', 'persist']); },
5963
- 'io.flow.v0.enums.order_type': function () { return faker.helpers.arrayElement(['standard', 'replacement']); },
6052
+ 'io.flow.v0.enums.order_type': function () { return faker.helpers.arrayElement(['standard', 'replacement', 'edit']); },
5964
6053
  'io.flow.v0.enums.organization_payment_method_tag': function () { return faker.helpers.arrayElement(['deny']); },
5965
6054
  'io.flow.v0.enums.organization_status': function () { return faker.helpers.arrayElement(['active', 'inactive', 'deactivated', 'provisioned']); },
5966
6055
  'io.flow.v0.enums.organization_type': function () { return faker.helpers.arrayElement(['standalone', 'channel']); },
@@ -6011,6 +6100,7 @@ var factories = {
6011
6100
  'error',
6012
6101
  'payment_checks_declined',
6013
6102
  ]); },
6103
+ 'io.flow.v0.enums.payment_fee_type': function () { return faker.helpers.arrayElement(['fx', 'mor']); },
6014
6104
  'io.flow.v0.enums.payment_method_capability': function () { return faker.helpers.arrayElement(['credit', 'debit']); },
6015
6105
  'io.flow.v0.enums.payment_method_data_option_type': function () { return faker.helpers.arrayElement(['ideal_issuer_option']); },
6016
6106
  'io.flow.v0.enums.payment_method_rule_content_key': function () { return faker.helpers.arrayElement(['description']); },
@@ -6348,7 +6438,6 @@ var factories = {
6348
6438
  'tax_refund',
6349
6439
  'non_l4l_tax_duty_fx',
6350
6440
  'ge_revenue_share',
6351
- 'tax_duty_delta',
6352
6441
  ]); },
6353
6442
  'io.flow.v0.enums.trueup_source': function () { return faker.helpers.arrayElement(['flow', 'channel', 'dhl-parcel', 'dhl', 'ups']); },
6354
6443
  'io.flow.v0.enums.trueup_surcharge_type': function () { return faker.helpers.arrayElement([
@@ -6378,6 +6467,9 @@ var factories = {
6378
6467
  'inch',
6379
6468
  'foot',
6380
6469
  'cubic_inch',
6470
+ 'cubic_foot',
6471
+ 'cubic_millimeter',
6472
+ 'cubic_centimeter',
6381
6473
  'cubic_meter',
6382
6474
  'gram',
6383
6475
  'kilogram',
@@ -6386,7 +6478,13 @@ var factories = {
6386
6478
  'pound',
6387
6479
  ]); },
6388
6480
  'io.flow.v0.enums.unit_of_time': function () { return faker.helpers.arrayElement(['year', 'month', 'week', 'day', 'hour', 'minute']); },
6389
- 'io.flow.v0.enums.unit_of_volume': function () { return faker.helpers.arrayElement(['cubic_inch', 'cubic_meter']); },
6481
+ 'io.flow.v0.enums.unit_of_volume': function () { return faker.helpers.arrayElement([
6482
+ 'cubic_inch',
6483
+ 'cubic_foot',
6484
+ 'cubic_millimeter',
6485
+ 'cubic_centimeter',
6486
+ 'cubic_meter',
6487
+ ]); },
6390
6488
  'io.flow.v0.enums.unit_of_weight': function () { return faker.helpers.arrayElement(['gram', 'kilogram', 'ounce', 'pound']); },
6391
6489
  'io.flow.v0.enums.update_policy': function () { return faker.helpers.arrayElement(['auto', 'queue', 'discard']); },
6392
6490
  'io.flow.v0.enums.user_status': function () { return faker.helpers.arrayElement(['pending', 'active', 'inactive']); },
@@ -7248,6 +7346,7 @@ var factories = {
7248
7346
  attributes: objectOf(function () { return factories.string(); }),
7249
7347
  status: factories['io.flow.v0.enums.capture_status'](),
7250
7348
  base: factories['io.flow.v0.models.money'](),
7349
+ fees: arrayOf(function () { return factories['io.flow.v0.models.payment_fee'](); }),
7251
7350
  }); },
7252
7351
  'io.flow.v0.models.capture_deleted': function () { return ({
7253
7352
  discriminator: 'capture_deleted',
@@ -8764,6 +8863,7 @@ var factories = {
8764
8863
  'io.flow.v0.models.duties_taxes_paid_surcharge_service_fee': function () { return ({
8765
8864
  discriminator: 'duties_taxes_paid_surcharge_service_fee',
8766
8865
  amount: factories['io.flow.v0.models.money'](),
8866
+ destination_countries: arrayOf(function () { return factories.string(); }),
8767
8867
  starts_at: factories.date_time_iso_8601(),
8768
8868
  ends_at: factories.date_time_iso_8601(),
8769
8869
  }); },
@@ -8898,14 +8998,6 @@ var factories = {
8898
8998
  number: factories.string(),
8899
8999
  issuing_country: factories.string(),
8900
9000
  }); },
8901
- 'io.flow.v0.models.estimate': function () { return ({
8902
- id: factories.string(),
8903
- organization_id: factories.string(),
8904
- label_id: factories.string(),
8905
- estimate: factories['io.flow.v0.models.shipping_label_hop_summary'](),
8906
- type: factories['io.flow.v0.enums.estimate_type'](),
8907
- origin: factories['io.flow.v0.enums.estimate_origin'](),
8908
- }); },
8909
9001
  'io.flow.v0.models.estimated_dimensions': function () { return ({
8910
9002
  depth: factories['io.flow.v0.models.measurement'](),
8911
9003
  length: factories['io.flow.v0.models.measurement'](),
@@ -9241,6 +9333,11 @@ var factories = {
9241
9333
  type: factories['io.flow.v0.enums.change_type'](),
9242
9334
  'export': factories['io.flow.v0.models.export'](),
9243
9335
  }); },
9336
+ 'io.flow.v0.models.external_card': function () { return ({
9337
+ discriminator: 'external_card',
9338
+ id: factories.string(),
9339
+ type: factories['io.flow.v0.enums.card_type'](),
9340
+ }); },
9244
9341
  'io.flow.v0.models.fee_deduction': function () { return ({
9245
9342
  type: factories['io.flow.v0.enums.fee_deduction_type'](),
9246
9343
  amount: factories.decimal(),
@@ -9491,6 +9588,41 @@ var factories = {
9491
9588
  hs6_code: factories.string(),
9492
9589
  landed_costs: arrayOf(function () { return factories['io.flow.v0.models.lane_landed_cost'](); }),
9493
9590
  }); },
9591
+ 'io.flow.v0.models.ge_catalog_item_ingestion_result': function () { return ({
9592
+ discriminator: 'ge_catalog_item_ingestion_result',
9593
+ event_id: factories.string(),
9594
+ event_type: factories['io.flow.v0.enums.ge_event_type'](),
9595
+ environment: factories['io.flow.v0.enums.ge_environment'](),
9596
+ timestamp: factories.date_time_iso_8601(),
9597
+ source: factories.string(),
9598
+ response: factories['io.flow.v0.enums.ge_catalog_item_ingestion_response'](),
9599
+ message: factories.string(),
9600
+ }); },
9601
+ 'io.flow.v0.models.ge_catalog_item_input': function () { return ({
9602
+ event_id: factories.string(),
9603
+ number: factories.string(),
9604
+ organization_id: factories.string(),
9605
+ name: factories.string(),
9606
+ description: factories.string(),
9607
+ price: factories['io.flow.v0.models.ge_input_price'](),
9608
+ attributes: factories['io.flow.v0.models.ge_input_attributes'](),
9609
+ locale: factories.string(),
9610
+ id: factories.string(),
9611
+ categories: arrayOf(function () { return factories.string(); }),
9612
+ created_at: factories.date_time_iso_8601(),
9613
+ updated_at: factories.date_time_iso_8601(),
9614
+ images: arrayOf(function () { return factories.string(); }),
9615
+ }); },
9616
+ 'io.flow.v0.models.ge_input_attributes': function () { return ({
9617
+ country_of_origin: factories.string(),
9618
+ ge_hs6_code: factories.string(),
9619
+ product_id: factories.string(),
9620
+ }); },
9621
+ 'io.flow.v0.models.ge_input_price': function () { return ({
9622
+ amount: factories.double(),
9623
+ currency: factories.string(),
9624
+ label: factories.string(),
9625
+ }); },
9494
9626
  'io.flow.v0.models.ge_item_deleted': function () { return ({
9495
9627
  discriminator: 'ge_item_deleted',
9496
9628
  event_id: factories.string(),
@@ -9512,18 +9644,22 @@ var factories = {
9512
9644
  organization: factories.string(),
9513
9645
  item: factories['io.flow.v0.models.item'](),
9514
9646
  }); },
9515
- 'io.flow.v0.models.ge_product_restriction_result_deleted': function () { return ({
9516
- discriminator: 'ge_product_restriction_result_deleted',
9647
+ 'io.flow.v0.models.ge_product_restriction_result_delete': function () { return ({
9648
+ discriminator: 'ge_product_restriction_result_delete',
9649
+ organization: factories.string(),
9517
9650
  event_id: factories.string(),
9651
+ event_type: factories['io.flow.v0.enums.ge_event_type'](),
9652
+ environment: factories['io.flow.v0.enums.ge_environment'](),
9518
9653
  timestamp: factories.date_time_iso_8601(),
9519
- organization: factories.string(),
9520
9654
  id: factories.string(),
9521
9655
  }); },
9522
- 'io.flow.v0.models.ge_product_restriction_result_upserted': function () { return ({
9523
- discriminator: 'ge_product_restriction_result_upserted',
9656
+ 'io.flow.v0.models.ge_product_restriction_result_upsert': function () { return ({
9657
+ discriminator: 'ge_product_restriction_result_upsert',
9658
+ organization: factories.string(),
9524
9659
  event_id: factories.string(),
9660
+ event_type: factories['io.flow.v0.enums.ge_event_type'](),
9661
+ environment: factories['io.flow.v0.enums.ge_environment'](),
9525
9662
  timestamp: factories.date_time_iso_8601(),
9526
- organization: factories.string(),
9527
9663
  ge_product_restriction_result: factories['io.flow.v0.models.product_restriction_result'](),
9528
9664
  }); },
9529
9665
  'io.flow.v0.models.generate_load': function () { return ({
@@ -11866,6 +12002,11 @@ var factories = {
11866
12002
  failure_code: factories['io.flow.v0.enums.payment_failure_code'](),
11867
12003
  failure_message: factories.string(),
11868
12004
  }); },
12005
+ 'io.flow.v0.models.payment_fee': function () { return ({
12006
+ type: factories['io.flow.v0.enums.payment_fee_type'](),
12007
+ money: factories['io.flow.v0.models.money'](),
12008
+ base: factories['io.flow.v0.models.money'](),
12009
+ }); },
11869
12010
  'io.flow.v0.models.payment_information': function () { return ({
11870
12011
  amount_refundable: factories.decimal(),
11871
12012
  amount_refunded: factories.decimal(),
@@ -12726,6 +12867,7 @@ var factories = {
12726
12867
  updated_by: factories.string(),
12727
12868
  product_restriction_id: factories.string(),
12728
12869
  hs_code: factories.string(),
12870
+ restricted_regions_by_type: arrayOf(function () { return factories['io.flow.sellability.v0.models.sellablility_region_result'](); }),
12729
12871
  }); },
12730
12872
  'io.flow.v0.models.product_restriction_result_deleted': function () { return ({
12731
12873
  discriminator: 'product_restriction_result_deleted',
@@ -15427,8 +15569,6 @@ var factories = {
15427
15569
  function () { return factories['io.flow.v0.models.ge_item_inserted'](); },
15428
15570
  function () { return factories['io.flow.v0.models.ge_item_updated'](); },
15429
15571
  function () { return factories['io.flow.v0.models.ge_item_deleted'](); },
15430
- function () { return factories['io.flow.v0.models.ge_product_restriction_result_upserted'](); },
15431
- function () { return factories['io.flow.v0.models.ge_product_restriction_result_deleted'](); },
15432
15572
  function () { return factories['io.flow.v0.models.hs6_code_upserted'](); },
15433
15573
  function () { return factories['io.flow.v0.models.hs6_code_deleted'](); },
15434
15574
  function () { return factories['io.flow.v0.models.hs10_code_upserted'](); },
@@ -15524,6 +15664,7 @@ var factories = {
15524
15664
  function () { return factories['io.flow.v0.models.card'](); },
15525
15665
  function () { return factories['io.flow.v0.models.card_reference'](); },
15526
15666
  function () { return factories['io.flow.v0.models.card_summary'](); },
15667
+ function () { return factories['io.flow.v0.models.external_card'](); },
15527
15668
  ]);
15528
15669
  return f();
15529
15670
  },
@@ -15634,6 +15775,14 @@ var factories = {
15634
15775
  var f = faker.helpers.arrayElement([function () { return factories['io.flow.v0.models.stripe_authentication_data_form'](); }]);
15635
15776
  return f();
15636
15777
  },
15778
+ 'io.flow.v0.unions.ge_restriction_event': function () {
15779
+ var f = faker.helpers.arrayElement([
15780
+ function () { return factories['io.flow.v0.models.ge_product_restriction_result_upsert'](); },
15781
+ function () { return factories['io.flow.v0.models.ge_product_restriction_result_delete'](); },
15782
+ function () { return factories['io.flow.v0.models.ge_catalog_item_ingestion_result'](); },
15783
+ ]);
15784
+ return f();
15785
+ },
15637
15786
  'io.flow.v0.unions.inline_action_configuration': function () {
15638
15787
  var f = faker.helpers.arrayElement([function () { return factories['io.flow.v0.models.browser_inline_action_configuration'](); }]);
15639
15788
  return f();
@@ -16606,9 +16755,6 @@ export var makeEntity = function () { return factories['io.flow.v0.unions.entity
16606
16755
  export var makeEntityIdentifier = function () { return factories['io.flow.v0.models.entity_identifier'](); };
16607
16756
  export var makeEntityIdentifierType = function () { return factories['io.flow.v0.enums.entity_identifier_type'](); };
16608
16757
  export var makeEnvironment = function () { return factories['io.flow.v0.enums.environment'](); };
16609
- export var makeEstimate = function () { return factories['io.flow.v0.models.estimate'](); };
16610
- export var makeEstimateOrigin = function () { return factories['io.flow.v0.enums.estimate_origin'](); };
16611
- export var makeEstimateType = function () { return factories['io.flow.v0.enums.estimate_type'](); };
16612
16758
  export var makeEstimatedDimensions = function () { return factories['io.flow.v0.models.estimated_dimensions'](); };
16613
16759
  export var makeEstimatedWindow = function () { return factories['io.flow.v0.models.estimated_window'](); };
16614
16760
  export var makeEvent = function () { return factories['io.flow.v0.unions.event'](); };
@@ -16687,6 +16833,7 @@ export var makeExportStatus = function () { return factories['io.flow.v0.enums.e
16687
16833
  export var makeExportType = function () { return factories['io.flow.v0.unions.export_type'](); };
16688
16834
  export var makeExportVersion = function () { return factories['io.flow.v0.models.export_version'](); };
16689
16835
  export var makeExporterOfRecord = function () { return factories['io.flow.v0.enums.exporter_of_record'](); };
16836
+ export var makeExternalCard = function () { return factories['io.flow.v0.models.external_card'](); };
16690
16837
  export var makeFeeDeduction = function () { return factories['io.flow.v0.models.fee_deduction'](); };
16691
16838
  export var makeFeeDeductionType = function () { return factories['io.flow.v0.enums.fee_deduction_type'](); };
16692
16839
  export var makeFeeWeight = function () { return factories['io.flow.v0.models.fee_weight'](); };
@@ -16752,11 +16899,19 @@ export var makeFulfillmentRouting = function () { return factories['io.flow.v0.e
16752
16899
  export var makeFullyHarmonizedItemUpserted = function () { return factories['io.flow.v0.models.fully_harmonized_item_upserted'](); };
16753
16900
  export var makeGatewayAuthenticationData = function () { return factories['io.flow.v0.unions.gateway_authentication_data'](); };
16754
16901
  export var makeGatewayAuthenticationDataForm = function () { return factories['io.flow.v0.unions.gateway_authentication_data_form'](); };
16902
+ export var makeGeCatalogItemIngestionResponse = function () { return factories['io.flow.v0.enums.ge_catalog_item_ingestion_response'](); };
16903
+ export var makeGeCatalogItemIngestionResult = function () { return factories['io.flow.v0.models.ge_catalog_item_ingestion_result'](); };
16904
+ export var makeGeCatalogItemInput = function () { return factories['io.flow.v0.models.ge_catalog_item_input'](); };
16905
+ export var makeGeEnvironment = function () { return factories['io.flow.v0.enums.ge_environment'](); };
16906
+ export var makeGeEventType = function () { return factories['io.flow.v0.enums.ge_event_type'](); };
16907
+ export var makeGeInputAttributes = function () { return factories['io.flow.v0.models.ge_input_attributes'](); };
16908
+ export var makeGeInputPrice = function () { return factories['io.flow.v0.models.ge_input_price'](); };
16755
16909
  export var makeGeItemDeleted = function () { return factories['io.flow.v0.models.ge_item_deleted'](); };
16756
16910
  export var makeGeItemInserted = function () { return factories['io.flow.v0.models.ge_item_inserted'](); };
16757
16911
  export var makeGeItemUpdated = function () { return factories['io.flow.v0.models.ge_item_updated'](); };
16758
- export var makeGeProductRestrictionResultDeleted = function () { return factories['io.flow.v0.models.ge_product_restriction_result_deleted'](); };
16759
- export var makeGeProductRestrictionResultUpserted = function () { return factories['io.flow.v0.models.ge_product_restriction_result_upserted'](); };
16912
+ export var makeGeProductRestrictionResultDelete = function () { return factories['io.flow.v0.models.ge_product_restriction_result_delete'](); };
16913
+ export var makeGeProductRestrictionResultUpsert = function () { return factories['io.flow.v0.models.ge_product_restriction_result_upsert'](); };
16914
+ export var makeGeRestrictionEvent = function () { return factories['io.flow.v0.unions.ge_restriction_event'](); };
16760
16915
  export var makeGenerateLoad = function () { return factories['io.flow.v0.models.generate_load'](); };
16761
16916
  export var makeGenericError = function () { return factories['io.flow.v0.models.generic_error'](); };
16762
16917
  export var makeGenericErrorCode = function () { return factories['io.flow.v0.enums.generic_error_code'](); };
@@ -17195,6 +17350,8 @@ export var makePaymentError = function () { return factories['io.flow.v0.models.
17195
17350
  export var makePaymentErrorCode = function () { return factories['io.flow.v0.enums.payment_error_code'](); };
17196
17351
  export var makePaymentFailure = function () { return factories['io.flow.v0.models.payment_failure'](); };
17197
17352
  export var makePaymentFailureCode = function () { return factories['io.flow.v0.enums.payment_failure_code'](); };
17353
+ export var makePaymentFee = function () { return factories['io.flow.v0.models.payment_fee'](); };
17354
+ export var makePaymentFeeType = function () { return factories['io.flow.v0.enums.payment_fee_type'](); };
17198
17355
  export var makePaymentForm = function () { return factories['io.flow.v0.unions.payment_form'](); };
17199
17356
  export var makePaymentInformation = function () { return factories['io.flow.v0.models.payment_information'](); };
17200
17357
  export var makePaymentMethod = function () { return factories['io.flow.v0.models.payment_method'](); };
@@ -483,9 +483,6 @@ export declare const makeEntity: () => io.flow.v0.unions.Entity;
483
483
  export declare const makeEntityIdentifier: () => io.flow.v0.models.EntityIdentifier;
484
484
  export declare const makeEntityIdentifierType: () => io.flow.v0.enums.EntityIdentifierType;
485
485
  export declare const makeEnvironment: () => io.flow.v0.enums.Environment;
486
- export declare const makeEstimate: () => io.flow.v0.models.Estimate;
487
- export declare const makeEstimateOrigin: () => io.flow.v0.enums.EstimateOrigin;
488
- export declare const makeEstimateType: () => io.flow.v0.enums.EstimateType;
489
486
  export declare const makeEstimatedDimensions: () => io.flow.v0.models.EstimatedDimensions;
490
487
  export declare const makeEstimatedWindow: () => io.flow.v0.models.EstimatedWindow;
491
488
  export declare const makeEvent: () => io.flow.v0.unions.Event;
@@ -564,6 +561,7 @@ export declare const makeExportStatus: () => io.flow.v0.enums.ExportStatus;
564
561
  export declare const makeExportType: () => io.flow.v0.unions.ExportType;
565
562
  export declare const makeExportVersion: () => io.flow.v0.models.ExportVersion;
566
563
  export declare const makeExporterOfRecord: () => io.flow.v0.enums.ExporterOfRecord;
564
+ export declare const makeExternalCard: () => io.flow.v0.models.ExternalCard;
567
565
  export declare const makeFeeDeduction: () => io.flow.v0.models.FeeDeduction;
568
566
  export declare const makeFeeDeductionType: () => io.flow.v0.enums.FeeDeductionType;
569
567
  export declare const makeFeeWeight: () => io.flow.v0.models.FeeWeight;
@@ -629,11 +627,19 @@ export declare const makeFulfillmentRouting: () => io.flow.v0.enums.FulfillmentR
629
627
  export declare const makeFullyHarmonizedItemUpserted: () => io.flow.v0.models.FullyHarmonizedItemUpserted;
630
628
  export declare const makeGatewayAuthenticationData: () => io.flow.v0.models.StripeAuthenticationData;
631
629
  export declare const makeGatewayAuthenticationDataForm: () => io.flow.v0.models.StripeAuthenticationDataForm;
630
+ export declare const makeGeCatalogItemIngestionResponse: () => io.flow.v0.enums.GeCatalogItemIngestionResponse;
631
+ export declare const makeGeCatalogItemIngestionResult: () => io.flow.v0.models.GeCatalogItemIngestionResult;
632
+ export declare const makeGeCatalogItemInput: () => io.flow.v0.models.GeCatalogItemInput;
633
+ export declare const makeGeEnvironment: () => io.flow.v0.enums.GeEnvironment;
634
+ export declare const makeGeEventType: () => io.flow.v0.enums.GeEventType;
635
+ export declare const makeGeInputAttributes: () => io.flow.v0.models.GeInputAttributes;
636
+ export declare const makeGeInputPrice: () => io.flow.v0.models.GeInputPrice;
632
637
  export declare const makeGeItemDeleted: () => io.flow.v0.models.GeItemDeleted;
633
638
  export declare const makeGeItemInserted: () => io.flow.v0.models.GeItemInserted;
634
639
  export declare const makeGeItemUpdated: () => io.flow.v0.models.GeItemUpdated;
635
- export declare const makeGeProductRestrictionResultDeleted: () => io.flow.v0.models.GeProductRestrictionResultDeleted;
636
- export declare const makeGeProductRestrictionResultUpserted: () => io.flow.v0.models.GeProductRestrictionResultUpserted;
640
+ export declare const makeGeProductRestrictionResultDelete: () => io.flow.v0.models.GeProductRestrictionResultDelete;
641
+ export declare const makeGeProductRestrictionResultUpsert: () => io.flow.v0.models.GeProductRestrictionResultUpsert;
642
+ export declare const makeGeRestrictionEvent: () => io.flow.v0.unions.GeRestrictionEvent;
637
643
  export declare const makeGenerateLoad: () => io.flow.v0.models.GenerateLoad;
638
644
  export declare const makeGenericError: () => io.flow.v0.models.GenericError;
639
645
  export declare const makeGenericErrorCode: () => io.flow.v0.enums.GenericErrorCode;
@@ -1072,6 +1078,8 @@ export declare const makePaymentError: () => io.flow.v0.models.PaymentError;
1072
1078
  export declare const makePaymentErrorCode: () => io.flow.v0.enums.PaymentErrorCode;
1073
1079
  export declare const makePaymentFailure: () => io.flow.v0.models.PaymentFailure;
1074
1080
  export declare const makePaymentFailureCode: () => io.flow.v0.enums.PaymentFailureCode;
1081
+ export declare const makePaymentFee: () => io.flow.v0.models.PaymentFee;
1082
+ export declare const makePaymentFeeType: () => io.flow.v0.enums.PaymentFeeType;
1075
1083
  export declare const makePaymentForm: () => io.flow.v0.models.MerchantOfRecordPaymentForm;
1076
1084
  export declare const makePaymentInformation: () => io.flow.v0.models.PaymentInformation;
1077
1085
  export declare const makePaymentMethod: () => io.flow.v0.models.PaymentMethod;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@flowio/api-factories",
3
- "version": "0.0.103",
3
+ "version": "0.0.104",
4
4
  "description": "Flow API mock data factories",
5
5
  "keywords": [
6
6
  "flow",
@@ -36,5 +36,5 @@
36
36
  "@faker-js/faker": "^6.2.0",
37
37
  "@flowio/api-types": "*"
38
38
  },
39
- "gitHead": "804cd1afec6f2a750da3a0f134494fec43c1f1f7"
39
+ "gitHead": "3e62beab3080f4977b85152f0e0626078fa26933"
40
40
  }