@flowio/api-factories 0.0.98 → 0.0.100

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
@@ -4342,6 +4342,12 @@ var factories = {
4342
4342
  transfer_data: factories['io.flow.stripe.v0.models.transfer_data'](),
4343
4343
  transfer_group: factories.string(),
4344
4344
  }); },
4345
+ 'io.flow.stripe.v0.models.payment_intents': function () { return ({
4346
+ object: factories.string(),
4347
+ data: arrayOf(function () { return factories['io.flow.stripe.v0.models.payment_intent'](); }),
4348
+ has_more: factories.boolean(),
4349
+ url: factories.string(),
4350
+ }); },
4345
4351
  'io.flow.stripe.v0.models.payment_method': function () { return ({
4346
4352
  id: factories.string(),
4347
4353
  object: factories.string(),
@@ -4867,6 +4873,149 @@ var factories = {
4867
4873
  ]);
4868
4874
  return f();
4869
4875
  },
4876
+ 'io.flow.tech.onboarding.playground.v0.enums.aldo_item_type': function () { return faker.helpers.arrayElement(['physical', 'digital']); },
4877
+ 'io.flow.tech.onboarding.playground.v0.models.aldo_item': function () { return ({
4878
+ id: factories.string(),
4879
+ number: factories.string(),
4880
+ amount: factories['io.flow.common.v0.models.price'](),
4881
+ description: factories.string(),
4882
+ type: factories['io.flow.tech.onboarding.playground.v0.enums.aldo_item_type'](),
4883
+ added_on: factories.date_iso_8601(),
4884
+ }); },
4885
+ 'io.flow.tech.onboarding.playground.v0.models.aldo_item_form': function () { return ({
4886
+ number: factories.string(),
4887
+ amount: factories['io.flow.common.v0.models.price'](),
4888
+ description: factories.string(),
4889
+ type: factories['io.flow.tech.onboarding.playground.v0.enums.aldo_item_type'](),
4890
+ added_on: factories.date_iso_8601(),
4891
+ }); },
4892
+ 'io.flow.tech.onboarding.playground.v0.models.jean_demo_item': function () { return ({
4893
+ id: factories.string(),
4894
+ name: factories.string(),
4895
+ }); },
4896
+ 'io.flow.tech.onboarding.playground.v0.models.tech_onboarding_description': function () { return ({
4897
+ description: factories.string(),
4898
+ }); },
4899
+ 'io.flow.token.v0.models.channel_token': function () { return ({
4900
+ discriminator: 'channel_token',
4901
+ id: factories.string(),
4902
+ channel: factories['io.flow.common.v0.models.channel_reference'](),
4903
+ user: factories['io.flow.common.v0.models.user_reference'](),
4904
+ partial: factories.string(),
4905
+ cleartext: factories.string(),
4906
+ created_at: factories.date_time_iso_8601(),
4907
+ description: factories.string(),
4908
+ }); },
4909
+ 'io.flow.token.v0.models.channel_token_form': function () { return ({
4910
+ channel_id: factories.string(),
4911
+ description: factories.string(),
4912
+ }); },
4913
+ 'io.flow.token.v0.models.channel_token_reference': function () { return ({
4914
+ discriminator: 'channel_token_reference',
4915
+ id: factories.string(),
4916
+ channel: factories['io.flow.common.v0.models.channel_reference'](),
4917
+ user: factories['io.flow.common.v0.models.user_reference'](),
4918
+ }); },
4919
+ 'io.flow.token.v0.models.cleartext': function () { return ({
4920
+ value: factories.string(),
4921
+ }); },
4922
+ 'io.flow.token.v0.models.organization_token': function () { return ({
4923
+ discriminator: 'organization_token',
4924
+ id: factories.string(),
4925
+ organization: factories['io.flow.common.v0.models.organization_reference'](),
4926
+ user: factories['io.flow.common.v0.models.user_reference'](),
4927
+ environment: factories['io.flow.common.v0.enums.environment'](),
4928
+ partial: factories.string(),
4929
+ created_at: factories.date_time_iso_8601(),
4930
+ description: factories.string(),
4931
+ }); },
4932
+ 'io.flow.token.v0.models.organization_token_form': function () { return ({
4933
+ environment: factories['io.flow.common.v0.enums.environment'](),
4934
+ description: factories.string(),
4935
+ }); },
4936
+ 'io.flow.token.v0.models.organization_token_form_v2': function () { return ({
4937
+ organization_id: factories.string(),
4938
+ description: factories.string(),
4939
+ }); },
4940
+ 'io.flow.token.v0.models.organization_token_reference': function () { return ({
4941
+ discriminator: 'organization_token_reference',
4942
+ id: factories.string(),
4943
+ organization: factories['io.flow.common.v0.models.organization_reference'](),
4944
+ environment: factories['io.flow.common.v0.enums.environment'](),
4945
+ user: factories['io.flow.common.v0.models.user_reference'](),
4946
+ }); },
4947
+ 'io.flow.token.v0.models.organization_token_v2': function () { return ({
4948
+ discriminator: 'organization_token_v2',
4949
+ id: factories.string(),
4950
+ organization: factories['io.flow.common.v0.models.organization_reference'](),
4951
+ user: factories['io.flow.common.v0.models.user_reference'](),
4952
+ partial: factories.string(),
4953
+ cleartext: factories.string(),
4954
+ created_at: factories.date_time_iso_8601(),
4955
+ description: factories.string(),
4956
+ }); },
4957
+ 'io.flow.token.v0.models.organization_token_v2_reference': function () { return ({
4958
+ discriminator: 'organization_token_v2_reference',
4959
+ id: factories.string(),
4960
+ organization: factories['io.flow.common.v0.models.organization_reference'](),
4961
+ }); },
4962
+ 'io.flow.token.v0.models.partner_token': function () { return ({
4963
+ discriminator: 'partner_token',
4964
+ id: factories.string(),
4965
+ partner: factories['io.flow.token.v0.models.token_partner_reference'](),
4966
+ user: factories['io.flow.common.v0.models.user_reference'](),
4967
+ environment: factories['io.flow.common.v0.enums.environment'](),
4968
+ partial: factories.string(),
4969
+ created_at: factories.date_time_iso_8601(),
4970
+ description: factories.string(),
4971
+ }); },
4972
+ 'io.flow.token.v0.models.partner_token_form': function () { return ({
4973
+ environment: factories['io.flow.common.v0.enums.environment'](),
4974
+ description: factories.string(),
4975
+ }); },
4976
+ 'io.flow.token.v0.models.partner_token_reference': function () { return ({
4977
+ discriminator: 'partner_token_reference',
4978
+ id: factories.string(),
4979
+ partner: factories['io.flow.token.v0.models.token_partner_reference'](),
4980
+ environment: factories['io.flow.common.v0.enums.environment'](),
4981
+ user: factories['io.flow.common.v0.models.user_reference'](),
4982
+ }); },
4983
+ 'io.flow.token.v0.models.token_authentication_form': function () { return ({
4984
+ token: factories.string(),
4985
+ }); },
4986
+ 'io.flow.token.v0.models.token_partner_reference': function () { return ({
4987
+ id: factories.string(),
4988
+ }); },
4989
+ 'io.flow.token.v0.models.token_rbac_authentication_form': function () { return ({
4990
+ token: factories.string(),
4991
+ method: factories.string(),
4992
+ path_pattern: factories.string(),
4993
+ path: factories.string(),
4994
+ }); },
4995
+ 'io.flow.token.v0.models.token_validation': function () { return ({
4996
+ status: factories.string(),
4997
+ }); },
4998
+ 'io.flow.token.v0.models.token_validation_form': function () { return ({
4999
+ token: factories.string(),
5000
+ }); },
5001
+ 'io.flow.token.v0.unions.token': function () {
5002
+ var f = faker.helpers.arrayElement([
5003
+ function () { return factories['io.flow.token.v0.models.channel_token'](); },
5004
+ function () { return factories['io.flow.token.v0.models.organization_token'](); },
5005
+ function () { return factories['io.flow.token.v0.models.organization_token_v2'](); },
5006
+ function () { return factories['io.flow.token.v0.models.partner_token'](); },
5007
+ ]);
5008
+ return f();
5009
+ },
5010
+ 'io.flow.token.v0.unions.token_reference': function () {
5011
+ var f = faker.helpers.arrayElement([
5012
+ function () { return factories['io.flow.token.v0.models.channel_token_reference'](); },
5013
+ function () { return factories['io.flow.token.v0.models.organization_token_reference'](); },
5014
+ function () { return factories['io.flow.token.v0.models.organization_token_v2_reference'](); },
5015
+ function () { return factories['io.flow.token.v0.models.partner_token_reference'](); },
5016
+ ]);
5017
+ return f();
5018
+ },
4870
5019
  'io.flow.v0.enums.abandoned_order_promotion_status': function () { return faker.helpers.arrayElement(['active', 'inactive']); },
4871
5020
  'io.flow.v0.enums.abandoned_order_setting_status': function () { return faker.helpers.arrayElement(['active', 'inactive']); },
4872
5021
  'io.flow.v0.enums.address_field_name': function () { return faker.helpers.arrayElement([
@@ -5052,6 +5201,8 @@ var factories = {
5052
5201
  'io.flow.v0.enums.event_type': function () { return faker.helpers.arrayElement([
5053
5202
  'test_upserted',
5054
5203
  'generate_load',
5204
+ 'aldo_item_upserted',
5205
+ 'aldo_item_deleted',
5055
5206
  'transaction_upserted',
5056
5207
  'organization_transaction_upserted',
5057
5208
  'organization_transaction_deleted',
@@ -5112,8 +5263,6 @@ var factories = {
5112
5263
  'customer_deleted',
5113
5264
  'customer_address_book_contact_upserted',
5114
5265
  'customer_address_book_contact_deleted',
5115
- 'email_notification_upserted',
5116
- 'email_notification_deleted',
5117
5266
  'available_promotions_upserted',
5118
5267
  'available_promotions_deleted',
5119
5268
  'available_promotions_upserted_v2',
@@ -5352,7 +5501,6 @@ var factories = {
5352
5501
  'io.flow.v0.enums.lane_preselect_preference': function () { return faker.helpers.arrayElement(['lowest_cost', 'default_tier']); },
5353
5502
  'io.flow.v0.enums.lane_strategy': function () { return faker.helpers.arrayElement(['oldest', 'fastest', 'lowest_cost', 'highest_priority']); },
5354
5503
  'io.flow.v0.enums.levy_component': function () { return faker.helpers.arrayElement(['goods', 'duty', 'insurance', 'freight', 'vat']); },
5355
- 'io.flow.v0.enums.levy_inclusion': function () { return faker.helpers.arrayElement(['tax', 'duty']); },
5356
5504
  'io.flow.v0.enums.levy_strategy': function () { return faker.helpers.arrayElement(['minimum', 'average', 'maximum']); },
5357
5505
  'io.flow.v0.enums.location_error_code': function () { return faker.helpers.arrayElement(['address_required', 'ip_invalid', 'ip_required', 'timezone_unavailable']); },
5358
5506
  'io.flow.v0.enums.logistics_format_preference': function () { return faker.helpers.arrayElement(['shopify_console', 'existing_3pl_integration', 'byo_integration']); },
@@ -5780,29 +5928,6 @@ var factories = {
5780
5928
  'io.flow.v0.enums.sync_stream_type': function () { return faker.helpers.arrayElement(['submitted_order', 'placed_order']); },
5781
5929
  'io.flow.v0.enums.sync_unit_of_time': function () { return faker.helpers.arrayElement(['day', 'hour', 'minute', 'second']); },
5782
5930
  'io.flow.v0.enums.tax_applicability': function () { return faker.helpers.arrayElement(['none', 'all']); },
5783
- 'io.flow.v0.enums.tax_duty_calculator_validation_error_code': function () { return faker.helpers.arrayElement([
5784
- 'generic_error',
5785
- 'destination_country_not_defined',
5786
- 'destination_address_iso3166_unrecognized',
5787
- 'line_item_shipfrom_shipto_country_invalid',
5788
- 'line_item_ship_from_invalid',
5789
- 'line_item_currency_iso4217_unrecognized',
5790
- 'line_quantity_invalid',
5791
- 'line_item_quantity_invalid',
5792
- 'line_item_unit_price_precision_invalid',
5793
- 'line_item_unit_price_negative',
5794
- 'line_item_discount_amount_precision_invalid',
5795
- 'line_item_discount_amount_positive',
5796
- 'line_item_country_of_origin_iso3166_unrecognized',
5797
- 'line_item_hs_code_invalid',
5798
- 'line_item_duty_provider_invalid',
5799
- 'shipping_unit_price_precision_invalid',
5800
- 'shipping_unit_price_negative',
5801
- 'shipping_discount_amount_precision_invalid',
5802
- 'shipping_discount_amount_invalid',
5803
- 'merchant_of_record_invalid',
5804
- 'wrong_unit_specified',
5805
- ]); },
5806
5931
  'io.flow.v0.enums.tax_report_type': function () { return faker.helpers.arrayElement(['consumer', 'b2b']); },
5807
5932
  'io.flow.v0.enums.tax_verification_result': function () { return faker.helpers.arrayElement(['valid', 'invalid', 'unable_to_validate']); },
5808
5933
  'io.flow.v0.enums.taxability_type': function () { return faker.helpers.arrayElement(['tax_rule']); },
@@ -5902,18 +6027,6 @@ var factories = {
5902
6027
  'io.flow.v0.enums.webhook_status': function () { return faker.helpers.arrayElement(['pending', 'success', 'failure', 'ignored']); },
5903
6028
  'io.flow.v0.enums.withholding_deduction_type': function () { return faker.helpers.arrayElement(['tax', 'duty', 'freight', 'insurance']); },
5904
6029
  'io.flow.v0.enums.zero_amount_indicator': function () { return faker.helpers.arrayElement(['zero', 'free']); },
5905
- 'io.flow.v0.enums.zero_levy_reason_code': function () { return faker.helpers.arrayElement([
5906
- 'zero_basis',
5907
- 'zero_rate_on_goods',
5908
- 'value_rounds_to_zero',
5909
- 'order_below_de_minimis_threshold',
5910
- 'amount_below_de_minimis_threshold',
5911
- 'delivered_unpaid',
5912
- 'duty_free_domestic',
5913
- 'duty_free_intra_community',
5914
- 'duty_free_reimport',
5915
- 'duty_free_by_trade_agreement',
5916
- ]); },
5917
6030
  'io.flow.v0.models.abandoned_order_email_settings': function () { return ({
5918
6031
  delay: factories['io.flow.v0.models.duration'](),
5919
6032
  frequency: factories['io.flow.v0.models.duration'](),
@@ -6182,6 +6295,18 @@ var factories = {
6182
6295
  type: 'fingerprint',
6183
6296
  fingerprint_token: factories.string(),
6184
6297
  }); },
6298
+ 'io.flow.v0.models.aldo_item_deleted': function () { return ({
6299
+ discriminator: 'aldo_item_deleted',
6300
+ event_id: factories.string(),
6301
+ timestamp: factories.date_time_iso_8601(),
6302
+ id: factories.string(),
6303
+ }); },
6304
+ 'io.flow.v0.models.aldo_item_upserted': function () { return ({
6305
+ discriminator: 'aldo_item_upserted',
6306
+ event_id: factories.string(),
6307
+ timestamp: factories.date_time_iso_8601(),
6308
+ item: factories['io.flow.tech.onboarding.playground.v0.models.aldo_item'](),
6309
+ }); },
6185
6310
  'io.flow.v0.models.allocation': function () { return ({
6186
6311
  order: factories['io.flow.v0.models.allocation_order_summary'](),
6187
6312
  details: arrayOf(function () { return factories['io.flow.v0.unions.allocation_detail'](); }),
@@ -8379,25 +8504,11 @@ var factories = {
8379
8504
  'return': factories['io.flow.v0.models.order_summary'](),
8380
8505
  payment: factories['io.flow.v0.models.email_payment_summary'](),
8381
8506
  }); },
8382
- 'io.flow.v0.models.email_notification_deleted': function () { return ({
8383
- discriminator: 'email_notification_deleted',
8384
- event_id: factories.string(),
8385
- timestamp: factories.date_time_iso_8601(),
8386
- organization: factories.string(),
8387
- notification: factories['io.flow.v0.models.email_notification'](),
8388
- }); },
8389
8507
  'io.flow.v0.models.email_notification_form': function () { return ({
8390
8508
  to: factories['io.flow.v0.models.email_recipient'](),
8391
8509
  created_at: factories.date_time_iso_8601(),
8392
8510
  data: factories['io.flow.v0.unions.email_notification_data'](),
8393
8511
  }); },
8394
- 'io.flow.v0.models.email_notification_upserted': function () { return ({
8395
- discriminator: 'email_notification_upserted',
8396
- event_id: factories.string(),
8397
- timestamp: factories.date_time_iso_8601(),
8398
- organization: factories.string(),
8399
- notification: factories['io.flow.v0.models.email_notification'](),
8400
- }); },
8401
8512
  'io.flow.v0.models.email_payment_summary': function () { return ({
8402
8513
  refund: factories['io.flow.v0.models.refund'](),
8403
8514
  }); },
@@ -12192,6 +12303,16 @@ var factories = {
12192
12303
  max_date: factories.date_time_iso_8601(),
12193
12304
  source: factories['io.flow.v0.enums.delivery_window_component_source'](),
12194
12305
  }); },
12306
+ 'io.flow.v0.models.product': function () { return ({
12307
+ id: factories.string(),
12308
+ organization_id: factories.string(),
12309
+ number: factories.string(),
12310
+ taxonomy_category: factories['io.flow.v0.models.product_taxonomy_category'](),
12311
+ taxonomy_data: arrayOf(function () { return factories['io.flow.v0.models.product_taxonomy_data'](); }),
12312
+ item_numbers: arrayOf(function () { return factories.string(); }),
12313
+ updated_at: factories.date_time_iso_8601(),
12314
+ deleted_at: factories.date_time_iso_8601(),
12315
+ }); },
12195
12316
  'io.flow.v0.models.product_restriction_result': function () { return ({
12196
12317
  id: factories.string(),
12197
12318
  product_id: factories.string(),
@@ -12218,6 +12339,14 @@ var factories = {
12218
12339
  organization: factories.string(),
12219
12340
  product_restriction_result: factories['io.flow.v0.models.product_restriction_result'](),
12220
12341
  }); },
12342
+ 'io.flow.v0.models.product_taxonomy_category': function () { return ({
12343
+ name: factories.string(),
12344
+ fullname: factories.string(),
12345
+ }); },
12346
+ 'io.flow.v0.models.product_taxonomy_data': function () { return ({
12347
+ key: factories.string(),
12348
+ value: arrayOf(function () { return factories.string(); }),
12349
+ }); },
12221
12350
  'io.flow.v0.models.promotion_trigger': function () { return ({
12222
12351
  type: factories['io.flow.v0.enums.promotion_trigger_type'](),
12223
12352
  min: factories['io.flow.v0.models.price'](),
@@ -13736,13 +13865,6 @@ var factories = {
13736
13865
  organization: factories.string(),
13737
13866
  statement: factories['io.flow.v0.models.statement'](),
13738
13867
  }); },
13739
- 'io.flow.v0.models.street_address': function () { return ({
13740
- streets: arrayOf(function () { return factories.string(); }),
13741
- city: factories.string(),
13742
- province: factories.string(),
13743
- postal: factories.string(),
13744
- country: factories.string(),
13745
- }); },
13746
13868
  'io.flow.v0.models.stripe_authentication_data': function () { return ({
13747
13869
  discriminator: 'stripe_authentication_data',
13748
13870
  secret_key_reference: factories.string(),
@@ -13936,82 +14058,6 @@ var factories = {
13936
14058
  components: arrayOf(function () { return factories['io.flow.v0.enums.levy_component'](); }),
13937
14059
  deminimis: factories['io.flow.v0.unions.deminimis'](),
13938
14060
  }); },
13939
- 'io.flow.v0.models.tax_duty_calculator_validation_error': function () { return ({
13940
- code: factories['io.flow.v0.enums.tax_duty_calculator_validation_error_code'](),
13941
- messages: arrayOf(function () { return factories.string(); }),
13942
- }); },
13943
- 'io.flow.v0.models.tax_duty_quote': function () { return ({
13944
- id: factories.string(),
13945
- primary_identifier: factories.string(),
13946
- attributes: objectOf(function () { return factories.string(); }),
13947
- merchant_of_record: factories['io.flow.v0.enums.merchant_of_record'](),
13948
- delivered_duty: factories['io.flow.v0.enums.delivered_duty'](),
13949
- destination: factories['io.flow.v0.models.street_address'](),
13950
- quote_date: factories.date_time_iso_8601(),
13951
- currency: factories.string(),
13952
- lines: arrayOf(function () { return factories['io.flow.v0.models.tax_duty_quote_line_item'](); }),
13953
- shipping: arrayOf(function () { return factories['io.flow.v0.models.tax_duty_quote_simple_shipping'](); }),
13954
- total_values: factories['io.flow.v0.models.tax_duty_quote_values'](),
13955
- }); },
13956
- 'io.flow.v0.models.tax_duty_quote_fee_value': function () { return ({
13957
- amount: factories.decimal(),
13958
- description: factories.string(),
13959
- amount_refundable_on_return: factories.decimal(),
13960
- }); },
13961
- 'io.flow.v0.models.tax_duty_quote_form': function () { return ({
13962
- primary_identifier: factories.string(),
13963
- attributes: objectOf(function () { return factories.string(); }),
13964
- delivered_duty: factories['io.flow.v0.enums.delivered_duty'](),
13965
- destination: factories['io.flow.v0.models.street_address'](),
13966
- currency: factories.string(),
13967
- lines: arrayOf(function () { return factories['io.flow.v0.models.tax_duty_quote_line_item_form'](); }),
13968
- shipping: arrayOf(function () { return factories['io.flow.v0.models.tax_duty_quote_simple_shipping_form'](); }),
13969
- includes: arrayOf(function () { return factories['io.flow.v0.enums.levy_inclusion'](); }),
13970
- }); },
13971
- 'io.flow.v0.models.tax_duty_quote_line_item': function () { return ({
13972
- primary_identifier: factories.string(),
13973
- attributes: objectOf(function () { return factories.string(); }),
13974
- ship_from: factories['io.flow.v0.models.street_address'](),
13975
- quantity: factories.long(),
13976
- unit_values: factories['io.flow.v0.models.tax_duty_quote_values'](),
13977
- country_of_origin: factories.string(),
13978
- hs_code: factories.string(),
13979
- }); },
13980
- 'io.flow.v0.models.tax_duty_quote_line_item_form': function () { return ({
13981
- primary_identifier: factories.string(),
13982
- attributes: objectOf(function () { return factories.string(); }),
13983
- ship_from: factories['io.flow.v0.models.street_address'](),
13984
- quantity: factories.long(),
13985
- unit_price: factories.decimal(),
13986
- unit_weight: factories['io.flow.v0.models.measurement'](),
13987
- country_of_origin: factories.string(),
13988
- hs_code: factories.string(),
13989
- includes: arrayOf(function () { return factories['io.flow.v0.enums.levy_inclusion'](); }),
13990
- }); },
13991
- 'io.flow.v0.models.tax_duty_quote_simple_levy_value': function () { return ({
13992
- discriminator: 'tax_duty_quote_simple_levy_value',
13993
- amount: factories.decimal(),
13994
- rate: factories.decimal(),
13995
- description: factories.string(),
13996
- zero_levy_reason: arrayOf(function () { return factories['io.flow.v0.enums.zero_levy_reason_code'](); }),
13997
- amount_refundable_on_return: factories.decimal(),
13998
- }); },
13999
- 'io.flow.v0.models.tax_duty_quote_simple_shipping': function () { return ({
14000
- values: factories['io.flow.v0.models.tax_duty_quote_values'](),
14001
- ship_from: factories['io.flow.v0.models.street_address'](),
14002
- }); },
14003
- 'io.flow.v0.models.tax_duty_quote_simple_shipping_form': function () { return ({
14004
- price: factories.decimal(),
14005
- includes: arrayOf(function () { return factories['io.flow.v0.enums.levy_inclusion'](); }),
14006
- ship_from: factories['io.flow.v0.models.street_address'](),
14007
- }); },
14008
- 'io.flow.v0.models.tax_duty_quote_values': function () { return ({
14009
- price: factories.decimal(),
14010
- duty: factories['io.flow.v0.models.tax_duty_quote_simple_levy_value'](),
14011
- tax: factories['io.flow.v0.models.tax_duty_quote_simple_levy_value'](),
14012
- fees: factories['io.flow.v0.models.tax_duty_quote_fee_value'](),
14013
- total: factories.decimal(),
14014
- }); },
14015
14061
  'io.flow.v0.models.tax_registration': function () { return ({
14016
14062
  id: factories.string(),
14017
14063
  key: factories.string(),
@@ -14218,6 +14264,7 @@ var factories = {
14218
14264
  timestamp: factories.date_time_iso_8601(),
14219
14265
  description: factories.string(),
14220
14266
  aggregator_status_code: factories.string(),
14267
+ created_at: factories.date_time_iso_8601(),
14221
14268
  }); },
14222
14269
  'io.flow.v0.models.tracking_event_form': function () { return ({
14223
14270
  tracking_label_id: factories.string(),
@@ -14917,6 +14964,8 @@ var factories = {
14917
14964
  var f = faker.helpers.arrayElement([
14918
14965
  function () { return factories['io.flow.v0.models.test_upserted'](); },
14919
14966
  function () { return factories['io.flow.v0.models.generate_load'](); },
14967
+ function () { return factories['io.flow.v0.models.aldo_item_upserted'](); },
14968
+ function () { return factories['io.flow.v0.models.aldo_item_deleted'](); },
14920
14969
  function () { return factories['io.flow.v0.models.transaction_upserted'](); },
14921
14970
  function () { return factories['io.flow.v0.models.organization_transaction_upserted'](); },
14922
14971
  function () { return factories['io.flow.v0.models.organization_transaction_deleted'](); },
@@ -14977,8 +15026,6 @@ var factories = {
14977
15026
  function () { return factories['io.flow.v0.models.customer_deleted'](); },
14978
15027
  function () { return factories['io.flow.v0.models.customer_address_book_contact_upserted'](); },
14979
15028
  function () { return factories['io.flow.v0.models.customer_address_book_contact_deleted'](); },
14980
- function () { return factories['io.flow.v0.models.email_notification_upserted'](); },
14981
- function () { return factories['io.flow.v0.models.email_notification_deleted'](); },
14982
15029
  function () { return factories['io.flow.v0.models.available_promotions_upserted'](); },
14983
15030
  function () { return factories['io.flow.v0.models.available_promotions_deleted'](); },
14984
15031
  function () { return factories['io.flow.v0.models.available_promotions_upserted_v2'](); },
@@ -15654,10 +15701,6 @@ var factories = {
15654
15701
  var f = faker.helpers.arrayElement([function () { return factories['io.flow.v0.models.shopify_item_event_bucket'](); }]);
15655
15702
  return f();
15656
15703
  },
15657
- 'io.flow.v0.unions.tax_duty_quote_levy_value': function () {
15658
- var f = faker.helpers.arrayElement([function () { return factories['io.flow.v0.models.tax_duty_quote_simple_levy_value'](); }]);
15659
- return f();
15660
- },
15661
15704
  'io.flow.v0.unions.tax_setting': function () {
15662
15705
  var f = faker.helpers.arrayElement([
15663
15706
  function () { return factories['io.flow.v0.models.avalara_tax_setting'](); },
@@ -15779,6 +15822,8 @@ export var makeAdyenNativeActionDetails = function () { return factories['io.flo
15779
15822
  export var makeAdyenNativeData = function () { return factories['io.flow.v0.unions.adyen_native_data'](); };
15780
15823
  export var makeAdyenV3ChallengeToken = function () { return factories['io.flow.v0.models.adyen_v3_challenge_token'](); };
15781
15824
  export var makeAdyenV3FingerprintToken = function () { return factories['io.flow.v0.models.adyen_v3_fingerprint_token'](); };
15825
+ export var makeAldoItemDeleted = function () { return factories['io.flow.v0.models.aldo_item_deleted'](); };
15826
+ export var makeAldoItemUpserted = function () { return factories['io.flow.v0.models.aldo_item_upserted'](); };
15782
15827
  export var makeAllocation = function () { return factories['io.flow.v0.models.allocation'](); };
15783
15828
  export var makeAllocationComponent = function () { return factories['io.flow.v0.unions.allocation_component'](); };
15784
15829
  export var makeAllocationDeletedV2 = function () { return factories['io.flow.v0.models.allocation_deleted_v2'](); };
@@ -16198,9 +16243,7 @@ export var makeEmailNotification = function () { return factories['io.flow.v0.mo
16198
16243
  export var makeEmailNotificationAbandonedOrder = function () { return factories['io.flow.v0.models.email_notification_abandoned_order'](); };
16199
16244
  export var makeEmailNotificationData = function () { return factories['io.flow.v0.unions.email_notification_data'](); };
16200
16245
  export var makeEmailNotificationDataRefund = function () { return factories['io.flow.v0.models.email_notification_data_refund'](); };
16201
- export var makeEmailNotificationDeleted = function () { return factories['io.flow.v0.models.email_notification_deleted'](); };
16202
16246
  export var makeEmailNotificationForm = function () { return factories['io.flow.v0.models.email_notification_form'](); };
16203
- export var makeEmailNotificationUpserted = function () { return factories['io.flow.v0.models.email_notification_upserted'](); };
16204
16247
  export var makeEmailPaymentSummary = function () { return factories['io.flow.v0.models.email_payment_summary'](); };
16205
16248
  export var makeEmailRecipient = function () { return factories['io.flow.v0.models.email_recipient'](); };
16206
16249
  export var makeEmailVerification = function () { return factories['io.flow.v0.models.email_verification'](); };
@@ -16504,7 +16547,6 @@ export var makeLaneSummary = function () { return factories['io.flow.v0.models.l
16504
16547
  export var makeLanguage = function () { return factories['io.flow.v0.models.language'](); };
16505
16548
  export var makeLargePackageServiceFee = function () { return factories['io.flow.v0.models.large_package_service_fee'](); };
16506
16549
  export var makeLevyComponent = function () { return factories['io.flow.v0.enums.levy_component'](); };
16507
- export var makeLevyInclusion = function () { return factories['io.flow.v0.enums.levy_inclusion'](); };
16508
16550
  export var makeLevyStrategy = function () { return factories['io.flow.v0.enums.levy_strategy'](); };
16509
16551
  export var makeLine = function () { return factories['io.flow.v0.models.line'](); };
16510
16552
  export var makeLineItem = function () { return factories['io.flow.v0.models.line_item'](); };
@@ -16979,10 +17021,13 @@ export var makePricingSettings = function () { return factories['io.flow.v0.mode
16979
17021
  export var makePricingUpserted = function () { return factories['io.flow.v0.models.pricing_upserted'](); };
16980
17022
  export var makePricingVersion = function () { return factories['io.flow.v0.models.pricing_version'](); };
16981
17023
  export var makeProcessingEstimate = function () { return factories['io.flow.v0.models.processing_estimate'](); };
17024
+ export var makeProduct = function () { return factories['io.flow.v0.models.product'](); };
16982
17025
  export var makeProductRestrictionResult = function () { return factories['io.flow.v0.models.product_restriction_result'](); };
16983
17026
  export var makeProductRestrictionResultDeleted = function () { return factories['io.flow.v0.models.product_restriction_result_deleted'](); };
16984
17027
  export var makeProductRestrictionResultUpserted = function () { return factories['io.flow.v0.models.product_restriction_result_upserted'](); };
16985
17028
  export var makeProductRestrictionRule = function () { return factories['io.flow.v0.enums.product_restriction_rule'](); };
17029
+ export var makeProductTaxonomyCategory = function () { return factories['io.flow.v0.models.product_taxonomy_category'](); };
17030
+ export var makeProductTaxonomyData = function () { return factories['io.flow.v0.models.product_taxonomy_data'](); };
16986
17031
  export var makePromotion = function () { return factories['io.flow.v0.unions.promotion'](); };
16987
17032
  export var makePromotionTrigger = function () { return factories['io.flow.v0.models.promotion_trigger'](); };
16988
17033
  export var makePromotionTriggerForm = function () { return factories['io.flow.v0.models.promotion_trigger_form'](); };
@@ -17260,7 +17305,6 @@ export var makeStatementDeleted = function () { return factories['io.flow.v0.mod
17260
17305
  export var makeStatementUpserted = function () { return factories['io.flow.v0.models.statement_upserted'](); };
17261
17306
  export var makeStoredMethodUsageStep = function () { return factories['io.flow.v0.enums.stored_method_usage_step'](); };
17262
17307
  export var makeStrategy = function () { return factories['io.flow.v0.enums.strategy'](); };
17263
- export var makeStreetAddress = function () { return factories['io.flow.v0.models.street_address'](); };
17264
17308
  export var makeStripeAuthenticationData = function () { return factories['io.flow.v0.models.stripe_authentication_data'](); };
17265
17309
  export var makeStripeAuthenticationDataForm = function () { return factories['io.flow.v0.models.stripe_authentication_data_form'](); };
17266
17310
  export var makeStripeAuthorizationResultActionDetails = function () { return factories['io.flow.v0.models.stripe_authorization_result_action_details'](); };
@@ -17301,18 +17345,6 @@ export var makeSyncStreamType = function () { return factories['io.flow.v0.enums
17301
17345
  export var makeSyncUnitOfTime = function () { return factories['io.flow.v0.enums.sync_unit_of_time'](); };
17302
17346
  export var makeTax = function () { return factories['io.flow.v0.models.tax'](); };
17303
17347
  export var makeTaxApplicability = function () { return factories['io.flow.v0.enums.tax_applicability'](); };
17304
- export var makeTaxDutyCalculatorValidationError = function () { return factories['io.flow.v0.models.tax_duty_calculator_validation_error'](); };
17305
- export var makeTaxDutyCalculatorValidationErrorCode = function () { return factories['io.flow.v0.enums.tax_duty_calculator_validation_error_code'](); };
17306
- export var makeTaxDutyQuote = function () { return factories['io.flow.v0.models.tax_duty_quote'](); };
17307
- export var makeTaxDutyQuoteFeeValue = function () { return factories['io.flow.v0.models.tax_duty_quote_fee_value'](); };
17308
- export var makeTaxDutyQuoteForm = function () { return factories['io.flow.v0.models.tax_duty_quote_form'](); };
17309
- export var makeTaxDutyQuoteLevyValue = function () { return factories['io.flow.v0.unions.tax_duty_quote_levy_value'](); };
17310
- export var makeTaxDutyQuoteLineItem = function () { return factories['io.flow.v0.models.tax_duty_quote_line_item'](); };
17311
- export var makeTaxDutyQuoteLineItemForm = function () { return factories['io.flow.v0.models.tax_duty_quote_line_item_form'](); };
17312
- export var makeTaxDutyQuoteSimpleLevyValue = function () { return factories['io.flow.v0.models.tax_duty_quote_simple_levy_value'](); };
17313
- export var makeTaxDutyQuoteSimpleShipping = function () { return factories['io.flow.v0.models.tax_duty_quote_simple_shipping'](); };
17314
- export var makeTaxDutyQuoteSimpleShippingForm = function () { return factories['io.flow.v0.models.tax_duty_quote_simple_shipping_form'](); };
17315
- export var makeTaxDutyQuoteValues = function () { return factories['io.flow.v0.models.tax_duty_quote_values'](); };
17316
17348
  export var makeTaxRegistration = function () { return factories['io.flow.v0.models.tax_registration'](); };
17317
17349
  export var makeTaxRegistrationForm = function () { return factories['io.flow.v0.models.tax_registration_form'](); };
17318
17350
  export var makeTaxReport = function () { return factories['io.flow.v0.models.tax_report'](); };
@@ -17459,5 +17491,4 @@ export var makeWebhookStatus = function () { return factories['io.flow.v0.enums.
17459
17491
  export var makeWithholdingDeduction = function () { return factories['io.flow.v0.models.withholding_deduction'](); };
17460
17492
  export var makeWithholdingDeductionType = function () { return factories['io.flow.v0.enums.withholding_deduction_type'](); };
17461
17493
  export var makeZeroAmountIndicator = function () { return factories['io.flow.v0.enums.zero_amount_indicator'](); };
17462
- export var makeZeroLevyReasonCode = function () { return factories['io.flow.v0.enums.zero_levy_reason_code'](); };
17463
17494
  export var makeZone = function () { return factories['io.flow.v0.models.zone'](); };
@@ -50,6 +50,8 @@ export declare const makeAdyenNativeActionDetails: () => io.flow.v0.models.Adyen
50
50
  export declare const makeAdyenNativeData: () => io.flow.v0.unions.AdyenNativeData;
51
51
  export declare const makeAdyenV3ChallengeToken: () => io.flow.v0.models.AdyenV3ChallengeToken;
52
52
  export declare const makeAdyenV3FingerprintToken: () => io.flow.v0.models.AdyenV3FingerprintToken;
53
+ export declare const makeAldoItemDeleted: () => io.flow.v0.models.AldoItemDeleted;
54
+ export declare const makeAldoItemUpserted: () => io.flow.v0.models.AldoItemUpserted;
53
55
  export declare const makeAllocation: () => io.flow.v0.models.Allocation;
54
56
  export declare const makeAllocationComponent: () => io.flow.v0.unions.AllocationComponent;
55
57
  export declare const makeAllocationDeletedV2: () => io.flow.v0.models.AllocationDeletedV2;
@@ -469,9 +471,7 @@ export declare const makeEmailNotification: () => io.flow.v0.models.EmailNotific
469
471
  export declare const makeEmailNotificationAbandonedOrder: () => io.flow.v0.models.EmailNotificationAbandonedOrder;
470
472
  export declare const makeEmailNotificationData: () => io.flow.v0.unions.EmailNotificationData;
471
473
  export declare const makeEmailNotificationDataRefund: () => io.flow.v0.models.EmailNotificationDataRefund;
472
- export declare const makeEmailNotificationDeleted: () => io.flow.v0.models.EmailNotificationDeleted;
473
474
  export declare const makeEmailNotificationForm: () => io.flow.v0.models.EmailNotificationForm;
474
- export declare const makeEmailNotificationUpserted: () => io.flow.v0.models.EmailNotificationUpserted;
475
475
  export declare const makeEmailPaymentSummary: () => io.flow.v0.models.EmailPaymentSummary;
476
476
  export declare const makeEmailRecipient: () => io.flow.v0.models.EmailRecipient;
477
477
  export declare const makeEmailVerification: () => io.flow.v0.models.EmailVerification;
@@ -775,7 +775,6 @@ export declare const makeLaneSummary: () => io.flow.v0.models.LaneSummary;
775
775
  export declare const makeLanguage: () => io.flow.v0.models.Language;
776
776
  export declare const makeLargePackageServiceFee: () => io.flow.v0.models.LargePackageServiceFee;
777
777
  export declare const makeLevyComponent: () => io.flow.v0.enums.LevyComponent;
778
- export declare const makeLevyInclusion: () => io.flow.v0.enums.LevyInclusion;
779
778
  export declare const makeLevyStrategy: () => io.flow.v0.enums.LevyStrategy;
780
779
  export declare const makeLine: () => io.flow.v0.models.Line;
781
780
  export declare const makeLineItem: () => io.flow.v0.models.LineItem;
@@ -1250,10 +1249,13 @@ export declare const makePricingSettings: () => io.flow.v0.models.PricingSetting
1250
1249
  export declare const makePricingUpserted: () => io.flow.v0.models.PricingUpserted;
1251
1250
  export declare const makePricingVersion: () => io.flow.v0.models.PricingVersion;
1252
1251
  export declare const makeProcessingEstimate: () => io.flow.v0.models.ProcessingEstimate;
1252
+ export declare const makeProduct: () => io.flow.v0.models.Product;
1253
1253
  export declare const makeProductRestrictionResult: () => io.flow.v0.models.ProductRestrictionResult;
1254
1254
  export declare const makeProductRestrictionResultDeleted: () => io.flow.v0.models.ProductRestrictionResultDeleted;
1255
1255
  export declare const makeProductRestrictionResultUpserted: () => io.flow.v0.models.ProductRestrictionResultUpserted;
1256
1256
  export declare const makeProductRestrictionRule: () => io.flow.v0.enums.ProductRestrictionRule;
1257
+ export declare const makeProductTaxonomyCategory: () => io.flow.v0.models.ProductTaxonomyCategory;
1258
+ export declare const makeProductTaxonomyData: () => io.flow.v0.models.ProductTaxonomyData;
1257
1259
  export declare const makePromotion: () => io.flow.v0.unions.Promotion;
1258
1260
  export declare const makePromotionTrigger: () => io.flow.v0.models.PromotionTrigger;
1259
1261
  export declare const makePromotionTriggerForm: () => io.flow.v0.models.PromotionTriggerForm;
@@ -1531,7 +1533,6 @@ export declare const makeStatementDeleted: () => io.flow.v0.models.StatementDele
1531
1533
  export declare const makeStatementUpserted: () => io.flow.v0.models.StatementUpserted;
1532
1534
  export declare const makeStoredMethodUsageStep: () => io.flow.v0.enums.StoredMethodUsageStep;
1533
1535
  export declare const makeStrategy: () => io.flow.v0.enums.Strategy;
1534
- export declare const makeStreetAddress: () => io.flow.v0.models.StreetAddress;
1535
1536
  export declare const makeStripeAuthenticationData: () => io.flow.v0.models.StripeAuthenticationData;
1536
1537
  export declare const makeStripeAuthenticationDataForm: () => io.flow.v0.models.StripeAuthenticationDataForm;
1537
1538
  export declare const makeStripeAuthorizationResultActionDetails: () => io.flow.v0.models.StripeAuthorizationResultActionDetails;
@@ -1572,18 +1573,6 @@ export declare const makeSyncStreamType: () => io.flow.v0.enums.SyncStreamType;
1572
1573
  export declare const makeSyncUnitOfTime: () => io.flow.v0.enums.SyncUnitOfTime;
1573
1574
  export declare const makeTax: () => io.flow.v0.models.Tax;
1574
1575
  export declare const makeTaxApplicability: () => io.flow.v0.enums.TaxApplicability;
1575
- export declare const makeTaxDutyCalculatorValidationError: () => io.flow.v0.models.TaxDutyCalculatorValidationError;
1576
- export declare const makeTaxDutyCalculatorValidationErrorCode: () => io.flow.v0.enums.TaxDutyCalculatorValidationErrorCode;
1577
- export declare const makeTaxDutyQuote: () => io.flow.v0.models.TaxDutyQuote;
1578
- export declare const makeTaxDutyQuoteFeeValue: () => io.flow.v0.models.TaxDutyQuoteFeeValue;
1579
- export declare const makeTaxDutyQuoteForm: () => io.flow.v0.models.TaxDutyQuoteForm;
1580
- export declare const makeTaxDutyQuoteLevyValue: () => io.flow.v0.models.TaxDutyQuoteSimpleLevyValue;
1581
- export declare const makeTaxDutyQuoteLineItem: () => io.flow.v0.models.TaxDutyQuoteLineItem;
1582
- export declare const makeTaxDutyQuoteLineItemForm: () => io.flow.v0.models.TaxDutyQuoteLineItemForm;
1583
- export declare const makeTaxDutyQuoteSimpleLevyValue: () => io.flow.v0.models.TaxDutyQuoteSimpleLevyValue;
1584
- export declare const makeTaxDutyQuoteSimpleShipping: () => io.flow.v0.models.TaxDutyQuoteSimpleShipping;
1585
- export declare const makeTaxDutyQuoteSimpleShippingForm: () => io.flow.v0.models.TaxDutyQuoteSimpleShippingForm;
1586
- export declare const makeTaxDutyQuoteValues: () => io.flow.v0.models.TaxDutyQuoteValues;
1587
1576
  export declare const makeTaxRegistration: () => io.flow.v0.models.TaxRegistration;
1588
1577
  export declare const makeTaxRegistrationForm: () => io.flow.v0.models.TaxRegistrationForm;
1589
1578
  export declare const makeTaxReport: () => io.flow.v0.models.TaxReport;
@@ -1730,5 +1719,4 @@ export declare const makeWebhookStatus: () => io.flow.v0.enums.WebhookStatus;
1730
1719
  export declare const makeWithholdingDeduction: () => io.flow.v0.models.WithholdingDeduction;
1731
1720
  export declare const makeWithholdingDeductionType: () => io.flow.v0.enums.WithholdingDeductionType;
1732
1721
  export declare const makeZeroAmountIndicator: () => io.flow.v0.enums.ZeroAmountIndicator;
1733
- export declare const makeZeroLevyReasonCode: () => io.flow.v0.enums.ZeroLevyReasonCode;
1734
1722
  export declare const makeZone: () => io.flow.v0.models.Zone;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@flowio/api-factories",
3
- "version": "0.0.98",
3
+ "version": "0.0.100",
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": "2e07a02edf9ba40b639c33c004df49e4d9b88ed2"
39
+ "gitHead": "13edc138093b0ffde7bb465d676930ec320158dc"
40
40
  }