@flowio/api-factories 0.0.10 → 0.0.12

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
@@ -2569,6 +2569,7 @@ var factories = {
2569
2569
  ]); },
2570
2570
  'io.flow.v0.enums.adjustment_reason_key': function () { return faker.random.arrayElement(['duty_deminimis', 'vat_deminimis']); },
2571
2571
  'io.flow.v0.enums.aggregate': function () { return faker.random.arrayElement(['maximum', 'minimum']); },
2572
+ 'io.flow.v0.enums.attachment_type': function () { return faker.random.arrayElement(['csv']); },
2572
2573
  'io.flow.v0.enums.attribute_data_type': function () { return faker.random.arrayElement(['boolean', 'integer', 'decimal', 'string', 'json_array']); },
2573
2574
  'io.flow.v0.enums.attribute_intent': function () { return faker.random.arrayElement([
2574
2575
  'brand',
@@ -2693,6 +2694,7 @@ var factories = {
2693
2694
  'friday',
2694
2695
  'saturday',
2695
2696
  ]); },
2697
+ 'io.flow.v0.enums.deduction_type': function () { return faker.random.arrayElement(['mor', 'fx', 'tax', 'duty']); },
2696
2698
  'io.flow.v0.enums.delivered_duty': function () { return faker.random.arrayElement(['paid', 'unpaid']); },
2697
2699
  'io.flow.v0.enums.delivered_duty_display_type': function () { return faker.random.arrayElement(['all', 'single']); },
2698
2700
  'io.flow.v0.enums.delivery_option_cost_detail_component_key': function () { return faker.random.arrayElement([
@@ -3199,6 +3201,7 @@ var factories = {
3199
3201
  'afterpay',
3200
3202
  'bancontact',
3201
3203
  ]); },
3204
+ 'io.flow.v0.enums.payout_status': function () { return faker.random.arrayElement(['scheduled', 'paid', 'not_necessary']); },
3202
3205
  'io.flow.v0.enums.permitted_http_method': function () { return faker.random.arrayElement(['GET', 'POST', 'PUT', 'DELETE', 'PATCH']); },
3203
3206
  'io.flow.v0.enums.physical_delivery_special_serivce': function () { return faker.random.arrayElement(['cold_storage', 'hazardous', 'perishable']); },
3204
3207
  'io.flow.v0.enums.postal_type': function () { return faker.random.arrayElement(['eircode', 'pin', 'postal', 'zip']); },
@@ -3361,6 +3364,7 @@ var factories = {
3361
3364
  ]); },
3362
3365
  'io.flow.v0.enums.trade_agreement_name': function () { return faker.random.arrayElement(['USMCA', 'T-MEC', 'CUSMA', 'TCA']); },
3363
3366
  'io.flow.v0.enums.trade_agreement_status': function () { return faker.random.arrayElement(['supported', 'not_supported']); },
3367
+ 'io.flow.v0.enums.transaction_source_type': function () { return faker.random.arrayElement(['capture', 'refund', 'dispute', 'adjustment', 'shipping_label']); },
3364
3368
  'io.flow.v0.enums.unit_of_measurement': function () { return faker.random.arrayElement([
3365
3369
  'millimeter',
3366
3370
  'centimeter',
@@ -3439,6 +3443,10 @@ var factories = {
3439
3443
  transaction_posted_on_or_before: factories.date_time_iso_8601(),
3440
3444
  transaction_posted_before: factories.date_time_iso_8601(),
3441
3445
  }); },
3446
+ 'io.flow.v0.models.account_reference': function () { return ({
3447
+ id: factories.string(),
3448
+ currency: factories.string(),
3449
+ }); },
3442
3450
  'io.flow.v0.models.account_transactions_export_type': function () { return ({
3443
3451
  discriminator: 'account_transactions_export_type',
3444
3452
  statement_id: factories.string(),
@@ -3750,6 +3758,10 @@ var factories = {
3750
3758
  discriminator: 'at_cost',
3751
3759
  ignore: factories.string(),
3752
3760
  }); },
3761
+ 'io.flow.v0.models.attachment': function () { return ({
3762
+ type: factories['io.flow.v0.enums.attachment_type'](),
3763
+ url: factories.string(),
3764
+ }); },
3753
3765
  'io.flow.v0.models.attribute': function () { return ({
3754
3766
  id: factories.string(),
3755
3767
  key: factories.string(),
@@ -4045,6 +4057,15 @@ var factories = {
4045
4057
  country: factories.string(),
4046
4058
  company: factories.string(),
4047
4059
  }); },
4060
+ 'io.flow.v0.models.billing_channel_order_reference': function () { return ({
4061
+ number: factories.string(),
4062
+ }); },
4063
+ 'io.flow.v0.models.billing_channel_payment_request_reference': function () { return ({
4064
+ id: factories.string(),
4065
+ }); },
4066
+ 'io.flow.v0.models.billing_channel_statement_reference': function () { return ({
4067
+ id: factories.string(),
4068
+ }); },
4048
4069
  'io.flow.v0.models.browse_optin_responses': function () { return ({
4049
4070
  id: factories.string(),
4050
4071
  session_id: factories.string(),
@@ -4514,54 +4535,6 @@ var factories = {
4514
4535
  defaults: factories['io.flow.v0.models.organization_defaults'](),
4515
4536
  attributes: objectOf(function () { return factories.string(); }),
4516
4537
  }); },
4517
- 'io.flow.v0.models.channel_organization_application': function () { return ({
4518
- id: factories.string(),
4519
- company: factories['io.flow.v0.models.merchant_info'](),
4520
- indirect_tax_number: factories.string(),
4521
- parent_company: factories['io.flow.v0.models.merchant_info'](),
4522
- beneficiary: factories.string(),
4523
- business_url: factories.string(),
4524
- business_description: factories.string(),
4525
- business_address: factories['io.flow.v0.models.address'](),
4526
- refund_percentage: factories.decimal(),
4527
- chargeback_percentage: factories.decimal(),
4528
- bank_account_number: factories.string(),
4529
- aba_routing_transit_number: factories.string(),
4530
- trade_sector: arrayOf(function () { return factories['io.flow.v0.enums.onboarding_trade_sector'](); }),
4531
- other_trade_sector: factories.string(),
4532
- third_party_logistics_partners: arrayOf(function () { return factories['io.flow.v0.models.third_party_logistics_partner'](); }),
4533
- average_order_weight: factories.decimal(),
4534
- package_dimensions: arrayOf(function () { return factories['io.flow.v0.models.dimension'](); }),
4535
- monthly_average: factories['io.flow.v0.models.monthly_average'](),
4536
- dangerous_goods: arrayOf(function () { return factories['io.flow.v0.enums.onboarding_dangerous_goods'](); }),
4537
- default_country_of_origin: factories.string(),
4538
- ratecard: factories['io.flow.v0.models.ratecard_reference'](),
4539
- created_at: factories.date_time_iso_8601(),
4540
- }); },
4541
- 'io.flow.v0.models.channel_organization_application_form': function () { return ({
4542
- company: factories['io.flow.v0.models.merchant_info'](),
4543
- indirect_tax_number: factories.string(),
4544
- parent_company: factories['io.flow.v0.models.merchant_info'](),
4545
- beneficiary: factories.string(),
4546
- business_url: factories.string(),
4547
- business_description: factories.string(),
4548
- business_address: factories['io.flow.v0.models.address'](),
4549
- refund_percentage: factories.decimal(),
4550
- chargeback_percentage: factories.decimal(),
4551
- bank_account_number: factories.string(),
4552
- aba_routing_transit_number: factories.string(),
4553
- trade_sector: arrayOf(function () { return factories['io.flow.v0.enums.onboarding_trade_sector'](); }),
4554
- other_trade_sector: factories.string(),
4555
- third_party_logistics_partners: arrayOf(function () { return factories['io.flow.v0.models.third_party_logistics_partner'](); }),
4556
- average_order_weight: factories.decimal(),
4557
- package_dimensions: arrayOf(function () { return factories['io.flow.v0.models.dimension'](); }),
4558
- monthly_average_volume_amount: factories.decimal(),
4559
- monthly_average_volume_currency: factories.string(),
4560
- monthly_average_number_transactions: factories.long(),
4561
- dangerous_goods: arrayOf(function () { return factories['io.flow.v0.enums.onboarding_dangerous_goods'](); }),
4562
- default_country_of_origin: factories.string(),
4563
- ratecard_id: factories.string(),
4564
- }); },
4565
4538
  'io.flow.v0.models.channel_organization_authorization': function () { return ({
4566
4539
  placeholder: factories.string(),
4567
4540
  }); },
@@ -5161,6 +5134,11 @@ var factories = {
5161
5134
  discriminator: 'ddp_ratecard_fee',
5162
5135
  amount: factories.decimal(),
5163
5136
  }); },
5137
+ 'io.flow.v0.models.deduction': function () { return ({
5138
+ type: factories['io.flow.v0.enums.deduction_type'](),
5139
+ amount: factories.decimal(),
5140
+ description: factories.string(),
5141
+ }); },
5164
5142
  'io.flow.v0.models.delivered_duty_setting': function () { return ({
5165
5143
  'default': factories['io.flow.v0.enums.delivered_duty'](),
5166
5144
  available: arrayOf(function () { return factories['io.flow.v0.enums.delivered_duty'](); }),
@@ -6365,12 +6343,14 @@ var factories = {
6365
6343
  discriminator: 'import_completed_v2',
6366
6344
  event_id: factories.string(),
6367
6345
  timestamp: factories.date_time_iso_8601(),
6346
+ organization: factories.string(),
6368
6347
  'import': factories['io.flow.v0.models.import'](),
6369
6348
  }); },
6370
6349
  'io.flow.v0.models.import_failed_v2': function () { return ({
6371
6350
  discriminator: 'import_failed_v2',
6372
6351
  event_id: factories.string(),
6373
6352
  timestamp: factories.date_time_iso_8601(),
6353
+ organization: factories.string(),
6374
6354
  'import': factories['io.flow.v0.models.import'](),
6375
6355
  }); },
6376
6356
  'io.flow.v0.models.import_form': function () { return ({
@@ -8689,6 +8669,10 @@ var factories = {
8689
8669
  type: factories['io.flow.v0.enums.change_type'](),
8690
8670
  payment: factories['io.flow.v0.unions.payment'](),
8691
8671
  }); },
8672
+ 'io.flow.v0.models.payout': function () { return ({
8673
+ amount: factories.decimal(),
8674
+ sent_on: factories.date_time_iso_8601(),
8675
+ }); },
8692
8676
  'io.flow.v0.models.paypal_authorization_details': function () { return ({
8693
8677
  discriminator: 'paypal_authorization_details',
8694
8678
  payment_id: factories.string(),
@@ -9802,6 +9786,10 @@ var factories = {
9802
9786
  hour_of_day: factories.string(),
9803
9787
  minute_of_hour: factories.string(),
9804
9788
  }); },
9789
+ 'io.flow.v0.models.select_issuer_option_action_details': function () { return ({
9790
+ discriminator: 'select_issuer_option_action_details',
9791
+ issuer_options: arrayOf(function () { return factories['io.flow.v0.models.issuer_reference'](); }),
9792
+ }); },
9805
9793
  'io.flow.v0.models.service_reference': function () { return ({
9806
9794
  id: factories.string(),
9807
9795
  }); },
@@ -10273,6 +10261,54 @@ var factories = {
10273
10261
  'io.flow.v0.models.shopify_location_reference': function () { return ({
10274
10262
  id: factories.string(),
10275
10263
  }); },
10264
+ 'io.flow.v0.models.shopify_merchant_application': function () { return ({
10265
+ id: factories.string(),
10266
+ company: factories['io.flow.v0.models.merchant_info'](),
10267
+ indirect_tax_number: factories.string(),
10268
+ parent_company: factories['io.flow.v0.models.merchant_info'](),
10269
+ beneficiary: factories.string(),
10270
+ business_url: factories.string(),
10271
+ business_description: factories.string(),
10272
+ business_address: factories['io.flow.v0.models.address'](),
10273
+ refund_percentage: factories.decimal(),
10274
+ chargeback_percentage: factories.decimal(),
10275
+ bank_account_number: factories.string(),
10276
+ aba_routing_transit_number: factories.string(),
10277
+ trade_sector: arrayOf(function () { return factories['io.flow.v0.enums.onboarding_trade_sector'](); }),
10278
+ other_trade_sector: factories.string(),
10279
+ third_party_logistics_partners: arrayOf(function () { return factories['io.flow.v0.models.third_party_logistics_partner'](); }),
10280
+ average_order_weight: factories.decimal(),
10281
+ package_dimensions: arrayOf(function () { return factories['io.flow.v0.models.dimension'](); }),
10282
+ monthly_average: factories['io.flow.v0.models.monthly_average'](),
10283
+ dangerous_goods: arrayOf(function () { return factories['io.flow.v0.enums.onboarding_dangerous_goods'](); }),
10284
+ default_country_of_origin: factories.string(),
10285
+ ratecard: factories['io.flow.v0.models.ratecard_reference'](),
10286
+ created_at: factories.date_time_iso_8601(),
10287
+ }); },
10288
+ 'io.flow.v0.models.shopify_merchant_application_form': function () { return ({
10289
+ company: factories['io.flow.v0.models.merchant_info'](),
10290
+ indirect_tax_number: factories.string(),
10291
+ parent_company: factories['io.flow.v0.models.merchant_info'](),
10292
+ beneficiary: factories.string(),
10293
+ business_url: factories.string(),
10294
+ business_description: factories.string(),
10295
+ business_address: factories['io.flow.v0.models.address'](),
10296
+ refund_percentage: factories.decimal(),
10297
+ chargeback_percentage: factories.decimal(),
10298
+ bank_account_number: factories.string(),
10299
+ aba_routing_transit_number: factories.string(),
10300
+ trade_sector: arrayOf(function () { return factories['io.flow.v0.enums.onboarding_trade_sector'](); }),
10301
+ other_trade_sector: factories.string(),
10302
+ third_party_logistics_partners: arrayOf(function () { return factories['io.flow.v0.models.third_party_logistics_partner'](); }),
10303
+ average_order_weight: factories.decimal(),
10304
+ package_dimensions: arrayOf(function () { return factories['io.flow.v0.models.dimension'](); }),
10305
+ monthly_average_volume_amount: factories.decimal(),
10306
+ monthly_average_volume_currency: factories.string(),
10307
+ monthly_average_number_transactions: factories.long(),
10308
+ dangerous_goods: arrayOf(function () { return factories['io.flow.v0.enums.onboarding_dangerous_goods'](); }),
10309
+ default_country_of_origin: factories.string(),
10310
+ ratecard_id: factories.string(),
10311
+ }); },
10276
10312
  'io.flow.v0.models.shopify_order_attributes_form': function () { return ({
10277
10313
  attributes: objectOf(function () { return factories.string(); }),
10278
10314
  }); },
@@ -10377,6 +10413,16 @@ var factories = {
10377
10413
  numbers: arrayOf(function () { return factories.string(); }),
10378
10414
  sort: factories.string(),
10379
10415
  }); },
10416
+ 'io.flow.v0.models.statement': function () { return ({
10417
+ id: factories.string(),
10418
+ account: factories['io.flow.v0.models.account_reference'](),
10419
+ payout: factories['io.flow.v0.models.statement_payout'](),
10420
+ attachments: arrayOf(function () { return factories['io.flow.v0.models.attachment'](); }),
10421
+ }); },
10422
+ 'io.flow.v0.models.statement_payout': function () { return ({
10423
+ status: factories['io.flow.v0.enums.payout_status'](),
10424
+ payout: factories['io.flow.v0.models.payout'](),
10425
+ }); },
10380
10426
  'io.flow.v0.models.street_address': function () { return ({
10381
10427
  streets: arrayOf(function () { return factories.string(); }),
10382
10428
  city: factories.string(),
@@ -10671,13 +10717,6 @@ var factories = {
10671
10717
  types: arrayOf(function () { return factories['io.flow.v0.enums.tax_report_type'](); }),
10672
10718
  email_recipients: arrayOf(function () { return factories.string(); }),
10673
10719
  }); },
10674
- 'io.flow.v0.models.test': function () { return ({
10675
- id: factories.string(),
10676
- name: factories.string(),
10677
- }); },
10678
- 'io.flow.v0.models.test_form': function () { return ({
10679
- name: factories.string(),
10680
- }); },
10681
10720
  'io.flow.v0.models.third_party_logistics_partner': function () { return ({
10682
10721
  warehouse_address: factories['io.flow.v0.models.billing_address'](),
10683
10722
  warehouse_url: factories.string(),
@@ -10952,6 +10991,23 @@ var factories = {
10952
10991
  trade_agreement: factories['io.flow.v0.models.trade_agreement'](),
10953
10992
  duty: factories['io.flow.v0.models.duty'](),
10954
10993
  }); },
10994
+ 'io.flow.v0.models.transaction': function () { return ({
10995
+ id: factories.string(),
10996
+ order: factories['io.flow.v0.models.billing_channel_order_reference'](),
10997
+ statement: factories['io.flow.v0.models.billing_channel_statement_reference'](),
10998
+ payment_request: factories['io.flow.v0.models.billing_channel_payment_request_reference'](),
10999
+ currency: factories.string(),
11000
+ source: factories['io.flow.v0.models.transaction_source'](),
11001
+ gross: factories.decimal(),
11002
+ fees: arrayOf(function () { return factories['io.flow.v0.models.deduction'](); }),
11003
+ withholdings: arrayOf(function () { return factories['io.flow.v0.models.deduction'](); }),
11004
+ net: factories.decimal(),
11005
+ created_at: factories.date_time_iso_8601(),
11006
+ }); },
11007
+ 'io.flow.v0.models.transaction_source': function () { return ({
11008
+ id: factories.string(),
11009
+ type: factories['io.flow.v0.enums.transaction_source_type'](),
11010
+ }); },
10955
11011
  'io.flow.v0.models.transit_estimate': function () { return ({
10956
11012
  origin: factories['io.flow.v0.enums.delivery_window_location'](),
10957
11013
  destination: factories['io.flow.v0.enums.delivery_window_location'](),
@@ -11234,6 +11290,7 @@ var factories = {
11234
11290
  function () { return factories['io.flow.v0.models.threeds_identify_action_details'](); },
11235
11291
  function () { return factories['io.flow.v0.models.threeds_challenge_action_details'](); },
11236
11292
  function () { return factories['io.flow.v0.models.klarna_sdk_authorization_result_action_details'](); },
11293
+ function () { return factories['io.flow.v0.models.select_issuer_option_action_details'](); },
11237
11294
  ]);
11238
11295
  return f();
11239
11296
  },
@@ -12001,6 +12058,7 @@ export var makeAbandonedOrderPromotionStatus = function () { return factories['i
12001
12058
  export var makeAbandonedOrderSettingStatus = function () { return factories['io.flow.v0.enums.abandoned_order_setting_status'](); };
12002
12059
  export var makeAbandonedOrderSettings = function () { return factories['io.flow.v0.models.abandoned_order_settings'](); };
12003
12060
  export var makeAccountOrdersExportType = function () { return factories['io.flow.v0.models.account_orders_export_type'](); };
12061
+ export var makeAccountReference = function () { return factories['io.flow.v0.models.account_reference'](); };
12004
12062
  export var makeAccountTransactionsExportType = function () { return factories['io.flow.v0.models.account_transactions_export_type'](); };
12005
12063
  export var makeAchAuthorizationForm = function () { return factories['io.flow.v0.models.ach_authorization_form'](); };
12006
12064
  export var makeAction = function () { return factories['io.flow.v0.unions.action'](); };
@@ -12056,6 +12114,8 @@ export var makeAmountMarginForm = function () { return factories['io.flow.v0.mod
12056
12114
  export var makeAnalyticsExportType = function () { return factories['io.flow.v0.models.analytics_export_type'](); };
12057
12115
  export var makeApplePayMerchantValidationPayload = function () { return factories['io.flow.v0.models.apple_pay_merchant_validation_payload'](); };
12058
12116
  export var makeAtCost = function () { return factories['io.flow.v0.models.at_cost'](); };
12117
+ export var makeAttachment = function () { return factories['io.flow.v0.models.attachment'](); };
12118
+ export var makeAttachmentType = function () { return factories['io.flow.v0.enums.attachment_type'](); };
12059
12119
  export var makeAttribute = function () { return factories['io.flow.v0.models.attribute'](); };
12060
12120
  export var makeAttributeDataType = function () { return factories['io.flow.v0.enums.attribute_data_type'](); };
12061
12121
  export var makeAttributeDeleted = function () { return factories['io.flow.v0.models.attribute_deleted'](); };
@@ -12117,6 +12177,9 @@ export var makeB2BInvoiceType = function () { return factories['io.flow.v0.enums
12117
12177
  export var makeB2BInvoiceUpserted = function () { return factories['io.flow.v0.models.b2b_invoice_upserted'](); };
12118
12178
  export var makeBehaviorAudit = function () { return factories['io.flow.v0.models.behavior_audit'](); };
12119
12179
  export var makeBillingAddress = function () { return factories['io.flow.v0.models.billing_address'](); };
12180
+ export var makeBillingChannelOrderReference = function () { return factories['io.flow.v0.models.billing_channel_order_reference'](); };
12181
+ export var makeBillingChannelPaymentRequestReference = function () { return factories['io.flow.v0.models.billing_channel_payment_request_reference'](); };
12182
+ export var makeBillingChannelStatementReference = function () { return factories['io.flow.v0.models.billing_channel_statement_reference'](); };
12120
12183
  export var makeBrowseOptinResponses = function () { return factories['io.flow.v0.models.browse_optin_responses'](); };
12121
12184
  export var makeBrowseOptinResponsesDeleted = function () { return factories['io.flow.v0.models.browse_optin_responses_deleted'](); };
12122
12185
  export var makeBrowseOptinResponsesUpserted = function () { return factories['io.flow.v0.models.browse_optin_responses_upserted'](); };
@@ -12199,8 +12262,6 @@ export var makeChannelCurrencyDeleted = function () { return factories['io.flow.
12199
12262
  export var makeChannelCurrencyUpserted = function () { return factories['io.flow.v0.models.channel_currency_upserted'](); };
12200
12263
  export var makeChannelDeleted = function () { return factories['io.flow.v0.models.channel_deleted'](); };
12201
12264
  export var makeChannelOrganization = function () { return factories['io.flow.v0.models.channel_organization'](); };
12202
- export var makeChannelOrganizationApplication = function () { return factories['io.flow.v0.models.channel_organization_application'](); };
12203
- export var makeChannelOrganizationApplicationForm = function () { return factories['io.flow.v0.models.channel_organization_application_form'](); };
12204
12265
  export var makeChannelOrganizationAuthorization = function () { return factories['io.flow.v0.models.channel_organization_authorization'](); };
12205
12266
  export var makeChannelOrganizationAuthorizationForm = function () { return factories['io.flow.v0.models.channel_organization_authorization_form'](); };
12206
12267
  export var makeChannelOrganizationDeleted = function () { return factories['io.flow.v0.models.channel_organization_deleted'](); };
@@ -12319,6 +12380,8 @@ export var makeDatetimeRange = function () { return factories['io.flow.v0.models
12319
12380
  export var makeDatetimeWithTimezone = function () { return factories['io.flow.v0.models.datetime_with_timezone'](); };
12320
12381
  export var makeDayOfWeek = function () { return factories['io.flow.v0.enums.day_of_week'](); };
12321
12382
  export var makeDdpRatecardFee = function () { return factories['io.flow.v0.models.ddp_ratecard_fee'](); };
12383
+ export var makeDeduction = function () { return factories['io.flow.v0.models.deduction'](); };
12384
+ export var makeDeductionType = function () { return factories['io.flow.v0.enums.deduction_type'](); };
12322
12385
  export var makeDeliveredDuty = function () { return factories['io.flow.v0.enums.delivered_duty'](); };
12323
12386
  export var makeDeliveredDutyDisplayType = function () { return factories['io.flow.v0.enums.delivered_duty_display_type'](); };
12324
12387
  export var makeDeliveredDutySetting = function () { return factories['io.flow.v0.models.delivered_duty_setting'](); };
@@ -13043,6 +13106,8 @@ export var makePaymentTax = function () { return factories['io.flow.v0.models.pa
13043
13106
  export var makePaymentType = function () { return factories['io.flow.v0.enums.payment_type'](); };
13044
13107
  export var makePaymentUpserted = function () { return factories['io.flow.v0.models.payment_upserted'](); };
13045
13108
  export var makePaymentVersion = function () { return factories['io.flow.v0.models.payment_version'](); };
13109
+ export var makePayout = function () { return factories['io.flow.v0.models.payout'](); };
13110
+ export var makePayoutStatus = function () { return factories['io.flow.v0.enums.payout_status'](); };
13046
13111
  export var makePaypalAuthorizationDetails = function () { return factories['io.flow.v0.models.paypal_authorization_details'](); };
13047
13112
  export var makePaypalAuthorizationForm = function () { return factories['io.flow.v0.models.paypal_authorization_form'](); };
13048
13113
  export var makePeakSurchargeByWeightServiceFee = function () { return factories['io.flow.v0.models.peak_surcharge_by_weight_service_fee'](); };
@@ -13253,6 +13318,7 @@ export var makeScheduledExport = function () { return factories['io.flow.v0.mode
13253
13318
  export var makeScheduledExportForm = function () { return factories['io.flow.v0.models.scheduled_export_form'](); };
13254
13319
  export var makeScheduledPickup = function () { return factories['io.flow.v0.models.scheduled_pickup'](); };
13255
13320
  export var makeSdkAdyenV3AuthenticationToken = function () { return factories['io.flow.v0.unions.sdk_adyen_v3_authentication_token'](); };
13321
+ export var makeSelectIssuerOptionActionDetails = function () { return factories['io.flow.v0.models.select_issuer_option_action_details'](); };
13256
13322
  export var makeServiceFee = function () { return factories['io.flow.v0.unions.service_fee'](); };
13257
13323
  export var makeServiceReference = function () { return factories['io.flow.v0.models.service_reference'](); };
13258
13324
  export var makeServiceSummary = function () { return factories['io.flow.v0.models.service_summary'](); };
@@ -13343,6 +13409,8 @@ export var makeShopifyLocalizedVariantPrices = function () { return factories['i
13343
13409
  export var makeShopifyLocationFlowCenterMapping = function () { return factories['io.flow.v0.models.shopify_location_flow_center_mapping'](); };
13344
13410
  export var makeShopifyLocationFlowCenterMappingForm = function () { return factories['io.flow.v0.models.shopify_location_flow_center_mapping_form'](); };
13345
13411
  export var makeShopifyLocationReference = function () { return factories['io.flow.v0.models.shopify_location_reference'](); };
13412
+ export var makeShopifyMerchantApplication = function () { return factories['io.flow.v0.models.shopify_merchant_application'](); };
13413
+ export var makeShopifyMerchantApplicationForm = function () { return factories['io.flow.v0.models.shopify_merchant_application_form'](); };
13346
13414
  export var makeShopifyOrderAttributesForm = function () { return factories['io.flow.v0.models.shopify_order_attributes_form'](); };
13347
13415
  export var makeShopifyOrderDeliveryMetafield = function () { return factories['io.flow.v0.models.shopify_order_delivery_metafield'](); };
13348
13416
  export var makeShopifyOrderDeliveryMetafieldItem = function () { return factories['io.flow.v0.models.shopify_order_delivery_metafield_item'](); };
@@ -13362,6 +13430,8 @@ export var makeSnapshotUpserted = function () { return factories['io.flow.v0.mod
13362
13430
  export var makeSolidusProductExportType = function () { return factories['io.flow.v0.models.solidus_product_export_type'](); };
13363
13431
  export var makeSolidusVariantExportType = function () { return factories['io.flow.v0.models.solidus_variant_export_type'](); };
13364
13432
  export var makeSortDirection = function () { return factories['io.flow.v0.enums.sort_direction'](); };
13433
+ export var makeStatement = function () { return factories['io.flow.v0.models.statement'](); };
13434
+ export var makeStatementPayout = function () { return factories['io.flow.v0.models.statement_payout'](); };
13365
13435
  export var makeStrategy = function () { return factories['io.flow.v0.enums.strategy'](); };
13366
13436
  export var makeStreetAddress = function () { return factories['io.flow.v0.models.street_address'](); };
13367
13437
  export var makeStripeAuthenticationData = function () { return factories['io.flow.v0.models.stripe_authentication_data'](); };
@@ -13424,8 +13494,6 @@ export var makeTaxSetting = function () { return factories['io.flow.v0.unions.ta
13424
13494
  export var makeTaxVerificationResult = function () { return factories['io.flow.v0.enums.tax_verification_result'](); };
13425
13495
  export var makeTaxabilityType = function () { return factories['io.flow.v0.enums.taxability_type'](); };
13426
13496
  export var makeTaxabilityValue = function () { return factories['io.flow.v0.enums.taxability_value'](); };
13427
- export var makeTest = function () { return factories['io.flow.v0.models.test'](); };
13428
- export var makeTestForm = function () { return factories['io.flow.v0.models.test_form'](); };
13429
13497
  export var makeThirdPartyLogisticsPartner = function () { return factories['io.flow.v0.models.third_party_logistics_partner'](); };
13430
13498
  export var makeThirdPartyLogisticsPickUpTimeWindow = function () { return factories['io.flow.v0.models.third_party_logistics_pick_up_time_window'](); };
13431
13499
  export var makeThreeDSecure = function () { return factories['io.flow.v0.models.three_d_secure'](); };
@@ -13484,6 +13552,9 @@ export var makeTradeAgreementCertifier = function () { return factories['io.flow
13484
13552
  export var makeTradeAgreementDuty = function () { return factories['io.flow.v0.models.trade_agreement_duty'](); };
13485
13553
  export var makeTradeAgreementName = function () { return factories['io.flow.v0.enums.trade_agreement_name'](); };
13486
13554
  export var makeTradeAgreementStatus = function () { return factories['io.flow.v0.enums.trade_agreement_status'](); };
13555
+ export var makeTransaction = function () { return factories['io.flow.v0.models.transaction'](); };
13556
+ export var makeTransactionSource = function () { return factories['io.flow.v0.models.transaction_source'](); };
13557
+ export var makeTransactionSourceType = function () { return factories['io.flow.v0.enums.transaction_source_type'](); };
13487
13558
  export var makeTransitEstimate = function () { return factories['io.flow.v0.models.transit_estimate'](); };
13488
13559
  export var makeTransitWindow = function () { return factories['io.flow.v0.models.transit_window'](); };
13489
13560
  export var makeUnharmonizedItemExportType = function () { return factories['io.flow.v0.models.unharmonized_item_export_type'](); };
@@ -8,6 +8,7 @@ export declare const makeAbandonedOrderPromotionStatus: () => io.flow.v0.enums.A
8
8
  export declare const makeAbandonedOrderSettingStatus: () => io.flow.v0.enums.AbandonedOrderSettingStatus;
9
9
  export declare const makeAbandonedOrderSettings: () => io.flow.v0.models.AbandonedOrderSettings;
10
10
  export declare const makeAccountOrdersExportType: () => io.flow.v0.models.AccountOrdersExportType;
11
+ export declare const makeAccountReference: () => io.flow.v0.models.AccountReference;
11
12
  export declare const makeAccountTransactionsExportType: () => io.flow.v0.models.AccountTransactionsExportType;
12
13
  export declare const makeAchAuthorizationForm: () => io.flow.v0.models.AchAuthorizationForm;
13
14
  export declare const makeAction: () => io.flow.v0.unions.Action;
@@ -63,6 +64,8 @@ export declare const makeAmountMarginForm: () => io.flow.v0.models.AmountMarginF
63
64
  export declare const makeAnalyticsExportType: () => io.flow.v0.models.AnalyticsExportType;
64
65
  export declare const makeApplePayMerchantValidationPayload: () => io.flow.v0.models.ApplePayMerchantValidationPayload;
65
66
  export declare const makeAtCost: () => io.flow.v0.models.AtCost;
67
+ export declare const makeAttachment: () => io.flow.v0.models.Attachment;
68
+ export declare const makeAttachmentType: () => "csv";
66
69
  export declare const makeAttribute: () => io.flow.v0.models.Attribute;
67
70
  export declare const makeAttributeDataType: () => io.flow.v0.enums.AttributeDataType;
68
71
  export declare const makeAttributeDeleted: () => io.flow.v0.models.AttributeDeleted;
@@ -124,6 +127,9 @@ export declare const makeB2BInvoiceType: () => io.flow.v0.enums.B2BInvoiceType;
124
127
  export declare const makeB2BInvoiceUpserted: () => io.flow.v0.models.B2BInvoiceUpserted;
125
128
  export declare const makeBehaviorAudit: () => io.flow.v0.models.BehaviorAudit;
126
129
  export declare const makeBillingAddress: () => io.flow.v0.models.BillingAddress;
130
+ export declare const makeBillingChannelOrderReference: () => io.flow.v0.models.BillingChannelOrderReference;
131
+ export declare const makeBillingChannelPaymentRequestReference: () => io.flow.v0.models.BillingChannelPaymentRequestReference;
132
+ export declare const makeBillingChannelStatementReference: () => io.flow.v0.models.BillingChannelStatementReference;
127
133
  export declare const makeBrowseOptinResponses: () => io.flow.v0.models.BrowseOptinResponses;
128
134
  export declare const makeBrowseOptinResponsesDeleted: () => io.flow.v0.models.BrowseOptinResponsesDeleted;
129
135
  export declare const makeBrowseOptinResponsesUpserted: () => io.flow.v0.models.BrowseOptinResponsesUpserted;
@@ -206,8 +212,6 @@ export declare const makeChannelCurrencyDeleted: () => io.flow.v0.models.Channel
206
212
  export declare const makeChannelCurrencyUpserted: () => io.flow.v0.models.ChannelCurrencyUpserted;
207
213
  export declare const makeChannelDeleted: () => io.flow.v0.models.ChannelDeleted;
208
214
  export declare const makeChannelOrganization: () => io.flow.v0.models.ChannelOrganization;
209
- export declare const makeChannelOrganizationApplication: () => io.flow.v0.models.ChannelOrganizationApplication;
210
- export declare const makeChannelOrganizationApplicationForm: () => io.flow.v0.models.ChannelOrganizationApplicationForm;
211
215
  export declare const makeChannelOrganizationAuthorization: () => io.flow.v0.models.ChannelOrganizationAuthorization;
212
216
  export declare const makeChannelOrganizationAuthorizationForm: () => io.flow.v0.models.ChannelOrganizationAuthorizationForm;
213
217
  export declare const makeChannelOrganizationDeleted: () => io.flow.v0.models.ChannelOrganizationDeleted;
@@ -326,6 +330,8 @@ export declare const makeDatetimeRange: () => io.flow.v0.models.DatetimeRange;
326
330
  export declare const makeDatetimeWithTimezone: () => io.flow.v0.models.DatetimeWithTimezone;
327
331
  export declare const makeDayOfWeek: () => io.flow.v0.enums.DayOfWeek;
328
332
  export declare const makeDdpRatecardFee: () => io.flow.v0.models.DdpRatecardFee;
333
+ export declare const makeDeduction: () => io.flow.v0.models.Deduction;
334
+ export declare const makeDeductionType: () => io.flow.v0.enums.DeductionType;
329
335
  export declare const makeDeliveredDuty: () => io.flow.v0.enums.DeliveredDuty;
330
336
  export declare const makeDeliveredDutyDisplayType: () => io.flow.v0.enums.DeliveredDutyDisplayType;
331
337
  export declare const makeDeliveredDutySetting: () => io.flow.v0.models.DeliveredDutySetting;
@@ -1050,6 +1056,8 @@ export declare const makePaymentTax: () => io.flow.v0.models.PaymentTax;
1050
1056
  export declare const makePaymentType: () => io.flow.v0.enums.PaymentType;
1051
1057
  export declare const makePaymentUpserted: () => io.flow.v0.models.PaymentUpserted;
1052
1058
  export declare const makePaymentVersion: () => io.flow.v0.models.PaymentVersion;
1059
+ export declare const makePayout: () => io.flow.v0.models.Payout;
1060
+ export declare const makePayoutStatus: () => io.flow.v0.enums.PayoutStatus;
1053
1061
  export declare const makePaypalAuthorizationDetails: () => io.flow.v0.models.PaypalAuthorizationDetails;
1054
1062
  export declare const makePaypalAuthorizationForm: () => io.flow.v0.models.PaypalAuthorizationForm;
1055
1063
  export declare const makePeakSurchargeByWeightServiceFee: () => io.flow.v0.models.PeakSurchargeByWeightServiceFee;
@@ -1260,6 +1268,7 @@ export declare const makeScheduledExport: () => io.flow.v0.models.ScheduledExpor
1260
1268
  export declare const makeScheduledExportForm: () => io.flow.v0.models.ScheduledExportForm;
1261
1269
  export declare const makeScheduledPickup: () => io.flow.v0.models.ScheduledPickup;
1262
1270
  export declare const makeSdkAdyenV3AuthenticationToken: () => io.flow.v0.unions.SdkAdyenV3AuthenticationToken;
1271
+ export declare const makeSelectIssuerOptionActionDetails: () => io.flow.v0.models.SelectIssuerOptionActionDetails;
1263
1272
  export declare const makeServiceFee: () => io.flow.v0.unions.ServiceFee;
1264
1273
  export declare const makeServiceReference: () => io.flow.v0.models.ServiceReference;
1265
1274
  export declare const makeServiceSummary: () => io.flow.v0.models.ServiceSummary;
@@ -1350,6 +1359,8 @@ export declare const makeShopifyLocalizedVariantPrices: () => io.flow.v0.models.
1350
1359
  export declare const makeShopifyLocationFlowCenterMapping: () => io.flow.v0.models.ShopifyLocationFlowCenterMapping;
1351
1360
  export declare const makeShopifyLocationFlowCenterMappingForm: () => io.flow.v0.models.ShopifyLocationFlowCenterMappingForm;
1352
1361
  export declare const makeShopifyLocationReference: () => io.flow.v0.models.ShopifyLocationReference;
1362
+ export declare const makeShopifyMerchantApplication: () => io.flow.v0.models.ShopifyMerchantApplication;
1363
+ export declare const makeShopifyMerchantApplicationForm: () => io.flow.v0.models.ShopifyMerchantApplicationForm;
1353
1364
  export declare const makeShopifyOrderAttributesForm: () => io.flow.v0.models.ShopifyOrderAttributesForm;
1354
1365
  export declare const makeShopifyOrderDeliveryMetafield: () => io.flow.v0.models.ShopifyOrderDeliveryMetafield;
1355
1366
  export declare const makeShopifyOrderDeliveryMetafieldItem: () => io.flow.v0.models.ShopifyOrderDeliveryMetafieldItem;
@@ -1369,6 +1380,8 @@ export declare const makeSnapshotUpserted: () => io.flow.v0.models.SnapshotUpser
1369
1380
  export declare const makeSolidusProductExportType: () => io.flow.v0.models.SolidusProductExportType;
1370
1381
  export declare const makeSolidusVariantExportType: () => io.flow.v0.models.SolidusVariantExportType;
1371
1382
  export declare const makeSortDirection: () => io.flow.v0.enums.SortDirection;
1383
+ export declare const makeStatement: () => io.flow.v0.models.Statement;
1384
+ export declare const makeStatementPayout: () => io.flow.v0.models.StatementPayout;
1372
1385
  export declare const makeStrategy: () => io.flow.v0.enums.Strategy;
1373
1386
  export declare const makeStreetAddress: () => io.flow.v0.models.StreetAddress;
1374
1387
  export declare const makeStripeAuthenticationData: () => io.flow.v0.models.StripeAuthenticationData;
@@ -1431,8 +1444,6 @@ export declare const makeTaxSetting: () => io.flow.v0.unions.TaxSetting;
1431
1444
  export declare const makeTaxVerificationResult: () => io.flow.v0.enums.TaxVerificationResult;
1432
1445
  export declare const makeTaxabilityType: () => "tax_rule";
1433
1446
  export declare const makeTaxabilityValue: () => "exempt";
1434
- export declare const makeTest: () => io.flow.v0.models.Test;
1435
- export declare const makeTestForm: () => io.flow.v0.models.TestForm;
1436
1447
  export declare const makeThirdPartyLogisticsPartner: () => io.flow.v0.models.ThirdPartyLogisticsPartner;
1437
1448
  export declare const makeThirdPartyLogisticsPickUpTimeWindow: () => io.flow.v0.models.ThirdPartyLogisticsPickUpTimeWindow;
1438
1449
  export declare const makeThreeDSecure: () => io.flow.v0.models.ThreeDSecure;
@@ -1491,6 +1502,9 @@ export declare const makeTradeAgreementCertifier: () => io.flow.v0.models.TradeA
1491
1502
  export declare const makeTradeAgreementDuty: () => io.flow.v0.models.TradeAgreementDuty;
1492
1503
  export declare const makeTradeAgreementName: () => io.flow.v0.enums.TradeAgreementName;
1493
1504
  export declare const makeTradeAgreementStatus: () => io.flow.v0.enums.TradeAgreementStatus;
1505
+ export declare const makeTransaction: () => io.flow.v0.models.Transaction;
1506
+ export declare const makeTransactionSource: () => io.flow.v0.models.TransactionSource;
1507
+ export declare const makeTransactionSourceType: () => io.flow.v0.enums.TransactionSourceType;
1494
1508
  export declare const makeTransitEstimate: () => io.flow.v0.models.TransitEstimate;
1495
1509
  export declare const makeTransitWindow: () => io.flow.v0.models.TransitWindow;
1496
1510
  export declare const makeUnharmonizedItemExportType: () => io.flow.v0.models.UnharmonizedItemExportType;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@flowio/api-factories",
3
- "version": "0.0.10",
3
+ "version": "0.0.12",
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": "file:../api-types"
38
38
  },
39
- "gitHead": "89ec1ac9dd90acbae21d9b16b218e15c27a0bde2"
39
+ "gitHead": "5a856f0214138246a416fca9a94b25067a1a1e7e"
40
40
  }