@flowio/api-factories 0.0.11 → 0.0.13

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']); },
@@ -3439,6 +3442,10 @@ var factories = {
3439
3442
  transaction_posted_on_or_before: factories.date_time_iso_8601(),
3440
3443
  transaction_posted_before: factories.date_time_iso_8601(),
3441
3444
  }); },
3445
+ 'io.flow.v0.models.account_reference': function () { return ({
3446
+ id: factories.string(),
3447
+ currency: factories.string(),
3448
+ }); },
3442
3449
  'io.flow.v0.models.account_transactions_export_type': function () { return ({
3443
3450
  discriminator: 'account_transactions_export_type',
3444
3451
  statement_id: factories.string(),
@@ -3750,6 +3757,10 @@ var factories = {
3750
3757
  discriminator: 'at_cost',
3751
3758
  ignore: factories.string(),
3752
3759
  }); },
3760
+ 'io.flow.v0.models.attachment': function () { return ({
3761
+ type: factories['io.flow.v0.enums.attachment_type'](),
3762
+ url: factories.string(),
3763
+ }); },
3753
3764
  'io.flow.v0.models.attribute': function () { return ({
3754
3765
  id: factories.string(),
3755
3766
  key: factories.string(),
@@ -4045,6 +4056,15 @@ var factories = {
4045
4056
  country: factories.string(),
4046
4057
  company: factories.string(),
4047
4058
  }); },
4059
+ 'io.flow.v0.models.billing_channel_order_reference': function () { return ({
4060
+ number: factories.string(),
4061
+ }); },
4062
+ 'io.flow.v0.models.billing_channel_payment_request_reference': function () { return ({
4063
+ id: factories.string(),
4064
+ }); },
4065
+ 'io.flow.v0.models.billing_channel_statement_reference': function () { return ({
4066
+ id: factories.string(),
4067
+ }); },
4048
4068
  'io.flow.v0.models.browse_optin_responses': function () { return ({
4049
4069
  id: factories.string(),
4050
4070
  session_id: factories.string(),
@@ -4514,54 +4534,6 @@ var factories = {
4514
4534
  defaults: factories['io.flow.v0.models.organization_defaults'](),
4515
4535
  attributes: objectOf(function () { return factories.string(); }),
4516
4536
  }); },
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
4537
  'io.flow.v0.models.channel_organization_authorization': function () { return ({
4566
4538
  placeholder: factories.string(),
4567
4539
  }); },
@@ -5161,6 +5133,11 @@ var factories = {
5161
5133
  discriminator: 'ddp_ratecard_fee',
5162
5134
  amount: factories.decimal(),
5163
5135
  }); },
5136
+ 'io.flow.v0.models.deduction': function () { return ({
5137
+ type: factories['io.flow.v0.enums.deduction_type'](),
5138
+ amount: factories.decimal(),
5139
+ description: factories.string(),
5140
+ }); },
5164
5141
  'io.flow.v0.models.delivered_duty_setting': function () { return ({
5165
5142
  'default': factories['io.flow.v0.enums.delivered_duty'](),
5166
5143
  available: arrayOf(function () { return factories['io.flow.v0.enums.delivered_duty'](); }),
@@ -8691,6 +8668,10 @@ var factories = {
8691
8668
  type: factories['io.flow.v0.enums.change_type'](),
8692
8669
  payment: factories['io.flow.v0.unions.payment'](),
8693
8670
  }); },
8671
+ 'io.flow.v0.models.payout': function () { return ({
8672
+ amount: factories.decimal(),
8673
+ sent_on: factories.date_time_iso_8601(),
8674
+ }); },
8694
8675
  'io.flow.v0.models.paypal_authorization_details': function () { return ({
8695
8676
  discriminator: 'paypal_authorization_details',
8696
8677
  payment_id: factories.string(),
@@ -9804,6 +9785,10 @@ var factories = {
9804
9785
  hour_of_day: factories.string(),
9805
9786
  minute_of_hour: factories.string(),
9806
9787
  }); },
9788
+ 'io.flow.v0.models.select_issuer_option_action_details': function () { return ({
9789
+ discriminator: 'select_issuer_option_action_details',
9790
+ issuer_options: arrayOf(function () { return factories['io.flow.v0.models.issuer_reference'](); }),
9791
+ }); },
9807
9792
  'io.flow.v0.models.service_reference': function () { return ({
9808
9793
  id: factories.string(),
9809
9794
  }); },
@@ -10275,6 +10260,54 @@ var factories = {
10275
10260
  'io.flow.v0.models.shopify_location_reference': function () { return ({
10276
10261
  id: factories.string(),
10277
10262
  }); },
10263
+ 'io.flow.v0.models.shopify_merchant_application': function () { return ({
10264
+ id: factories.string(),
10265
+ company: factories['io.flow.v0.models.merchant_info'](),
10266
+ indirect_tax_number: factories.string(),
10267
+ parent_company: factories['io.flow.v0.models.merchant_info'](),
10268
+ beneficiary: factories.string(),
10269
+ business_url: factories.string(),
10270
+ business_description: factories.string(),
10271
+ business_address: factories['io.flow.v0.models.address'](),
10272
+ refund_percentage: factories.decimal(),
10273
+ chargeback_percentage: factories.decimal(),
10274
+ bank_account_number: factories.string(),
10275
+ aba_routing_transit_number: factories.string(),
10276
+ trade_sectors: arrayOf(function () { return factories['io.flow.v0.enums.onboarding_trade_sector'](); }),
10277
+ other_trade_sector: factories.string(),
10278
+ third_party_logistics_partners: arrayOf(function () { return factories['io.flow.v0.models.third_party_logistics_partner'](); }),
10279
+ average_order_weight: factories.decimal(),
10280
+ package_dimensions: arrayOf(function () { return factories['io.flow.v0.models.dimension'](); }),
10281
+ monthly_average: factories['io.flow.v0.models.monthly_average'](),
10282
+ dangerous_goods: arrayOf(function () { return factories['io.flow.v0.enums.onboarding_dangerous_goods'](); }),
10283
+ default_country_of_origin: factories.string(),
10284
+ ratecard: factories['io.flow.v0.models.ratecard_reference'](),
10285
+ created_at: factories.date_time_iso_8601(),
10286
+ }); },
10287
+ 'io.flow.v0.models.shopify_merchant_application_form': function () { return ({
10288
+ company: factories['io.flow.v0.models.merchant_info'](),
10289
+ indirect_tax_number: factories.string(),
10290
+ parent_company: factories['io.flow.v0.models.merchant_info'](),
10291
+ beneficiary: factories.string(),
10292
+ business_url: factories.string(),
10293
+ business_description: factories.string(),
10294
+ business_address: factories['io.flow.v0.models.address'](),
10295
+ refund_percentage: factories.decimal(),
10296
+ chargeback_percentage: factories.decimal(),
10297
+ bank_account_number: factories.string(),
10298
+ aba_routing_transit_number: factories.string(),
10299
+ trade_sectors: arrayOf(function () { return factories['io.flow.v0.enums.onboarding_trade_sector'](); }),
10300
+ other_trade_sector: factories.string(),
10301
+ third_party_logistics_partners: arrayOf(function () { return factories['io.flow.v0.models.third_party_logistics_partner'](); }),
10302
+ average_order_weight: factories.decimal(),
10303
+ package_dimensions: arrayOf(function () { return factories['io.flow.v0.models.dimension'](); }),
10304
+ monthly_average_volume_amount: factories.decimal(),
10305
+ monthly_average_volume_currency: factories.string(),
10306
+ monthly_average_number_transactions: factories.long(),
10307
+ dangerous_goods: arrayOf(function () { return factories['io.flow.v0.enums.onboarding_dangerous_goods'](); }),
10308
+ default_country_of_origin: factories.string(),
10309
+ ratecard_id: factories.string(),
10310
+ }); },
10278
10311
  'io.flow.v0.models.shopify_order_attributes_form': function () { return ({
10279
10312
  attributes: objectOf(function () { return factories.string(); }),
10280
10313
  }); },
@@ -10379,6 +10412,16 @@ var factories = {
10379
10412
  numbers: arrayOf(function () { return factories.string(); }),
10380
10413
  sort: factories.string(),
10381
10414
  }); },
10415
+ 'io.flow.v0.models.statement': function () { return ({
10416
+ id: factories.string(),
10417
+ account: factories['io.flow.v0.models.account_reference'](),
10418
+ payout: factories['io.flow.v0.models.statement_payout'](),
10419
+ attachments: arrayOf(function () { return factories['io.flow.v0.models.attachment'](); }),
10420
+ }); },
10421
+ 'io.flow.v0.models.statement_payout': function () { return ({
10422
+ status: factories['io.flow.v0.enums.payout_status'](),
10423
+ payout: factories['io.flow.v0.models.payout'](),
10424
+ }); },
10382
10425
  'io.flow.v0.models.street_address': function () { return ({
10383
10426
  streets: arrayOf(function () { return factories.string(); }),
10384
10427
  city: factories.string(),
@@ -10947,6 +10990,39 @@ var factories = {
10947
10990
  trade_agreement: factories['io.flow.v0.models.trade_agreement'](),
10948
10991
  duty: factories['io.flow.v0.models.duty'](),
10949
10992
  }); },
10993
+ 'io.flow.v0.models.transaction': function () { return ({
10994
+ id: factories.string(),
10995
+ order: factories['io.flow.v0.models.billing_channel_order_reference'](),
10996
+ statement: factories['io.flow.v0.models.billing_channel_statement_reference'](),
10997
+ payment_request: factories['io.flow.v0.models.billing_channel_payment_request_reference'](),
10998
+ currency: factories.string(),
10999
+ source: factories['io.flow.v0.unions.transaction_source'](),
11000
+ gross: factories.decimal(),
11001
+ fees: arrayOf(function () { return factories['io.flow.v0.models.deduction'](); }),
11002
+ withholdings: arrayOf(function () { return factories['io.flow.v0.models.deduction'](); }),
11003
+ net: factories.decimal(),
11004
+ created_at: factories.date_time_iso_8601(),
11005
+ }); },
11006
+ 'io.flow.v0.models.transaction_source_adjustment': function () { return ({
11007
+ discriminator: 'transaction_source_adjustment',
11008
+ id: factories.string(),
11009
+ }); },
11010
+ 'io.flow.v0.models.transaction_source_capture': function () { return ({
11011
+ discriminator: 'transaction_source_capture',
11012
+ id: factories.string(),
11013
+ }); },
11014
+ 'io.flow.v0.models.transaction_source_dispute': function () { return ({
11015
+ discriminator: 'transaction_source_dispute',
11016
+ id: factories.string(),
11017
+ }); },
11018
+ 'io.flow.v0.models.transaction_source_refund': function () { return ({
11019
+ discriminator: 'transaction_source_refund',
11020
+ id: factories.string(),
11021
+ }); },
11022
+ 'io.flow.v0.models.transaction_source_shipping_label': function () { return ({
11023
+ discriminator: 'transaction_source_shipping_label',
11024
+ id: factories.string(),
11025
+ }); },
10950
11026
  'io.flow.v0.models.transit_estimate': function () { return ({
10951
11027
  origin: factories['io.flow.v0.enums.delivery_window_location'](),
10952
11028
  destination: factories['io.flow.v0.enums.delivery_window_location'](),
@@ -11229,6 +11305,7 @@ var factories = {
11229
11305
  function () { return factories['io.flow.v0.models.threeds_identify_action_details'](); },
11230
11306
  function () { return factories['io.flow.v0.models.threeds_challenge_action_details'](); },
11231
11307
  function () { return factories['io.flow.v0.models.klarna_sdk_authorization_result_action_details'](); },
11308
+ function () { return factories['io.flow.v0.models.select_issuer_option_action_details'](); },
11232
11309
  ]);
11233
11310
  return f();
11234
11311
  },
@@ -11986,6 +12063,16 @@ var factories = {
11986
12063
  ]);
11987
12064
  return f();
11988
12065
  },
12066
+ 'io.flow.v0.unions.transaction_source': function () {
12067
+ var f = faker.random.arrayElement([
12068
+ function () { return factories['io.flow.v0.models.transaction_source_capture'](); },
12069
+ function () { return factories['io.flow.v0.models.transaction_source_refund'](); },
12070
+ function () { return factories['io.flow.v0.models.transaction_source_dispute'](); },
12071
+ function () { return factories['io.flow.v0.models.transaction_source_adjustment'](); },
12072
+ function () { return factories['io.flow.v0.models.transaction_source_shipping_label'](); },
12073
+ ]);
12074
+ return f();
12075
+ },
11989
12076
  };
11990
12077
  export var makeAbandonedOrderEmailSettings = function () { return factories['io.flow.v0.models.abandoned_order_email_settings'](); };
11991
12078
  export var makeAbandonedOrderPromotion = function () { return factories['io.flow.v0.models.abandoned_order_promotion'](); };
@@ -11996,6 +12083,7 @@ export var makeAbandonedOrderPromotionStatus = function () { return factories['i
11996
12083
  export var makeAbandonedOrderSettingStatus = function () { return factories['io.flow.v0.enums.abandoned_order_setting_status'](); };
11997
12084
  export var makeAbandonedOrderSettings = function () { return factories['io.flow.v0.models.abandoned_order_settings'](); };
11998
12085
  export var makeAccountOrdersExportType = function () { return factories['io.flow.v0.models.account_orders_export_type'](); };
12086
+ export var makeAccountReference = function () { return factories['io.flow.v0.models.account_reference'](); };
11999
12087
  export var makeAccountTransactionsExportType = function () { return factories['io.flow.v0.models.account_transactions_export_type'](); };
12000
12088
  export var makeAchAuthorizationForm = function () { return factories['io.flow.v0.models.ach_authorization_form'](); };
12001
12089
  export var makeAction = function () { return factories['io.flow.v0.unions.action'](); };
@@ -12051,6 +12139,8 @@ export var makeAmountMarginForm = function () { return factories['io.flow.v0.mod
12051
12139
  export var makeAnalyticsExportType = function () { return factories['io.flow.v0.models.analytics_export_type'](); };
12052
12140
  export var makeApplePayMerchantValidationPayload = function () { return factories['io.flow.v0.models.apple_pay_merchant_validation_payload'](); };
12053
12141
  export var makeAtCost = function () { return factories['io.flow.v0.models.at_cost'](); };
12142
+ export var makeAttachment = function () { return factories['io.flow.v0.models.attachment'](); };
12143
+ export var makeAttachmentType = function () { return factories['io.flow.v0.enums.attachment_type'](); };
12054
12144
  export var makeAttribute = function () { return factories['io.flow.v0.models.attribute'](); };
12055
12145
  export var makeAttributeDataType = function () { return factories['io.flow.v0.enums.attribute_data_type'](); };
12056
12146
  export var makeAttributeDeleted = function () { return factories['io.flow.v0.models.attribute_deleted'](); };
@@ -12112,6 +12202,9 @@ export var makeB2BInvoiceType = function () { return factories['io.flow.v0.enums
12112
12202
  export var makeB2BInvoiceUpserted = function () { return factories['io.flow.v0.models.b2b_invoice_upserted'](); };
12113
12203
  export var makeBehaviorAudit = function () { return factories['io.flow.v0.models.behavior_audit'](); };
12114
12204
  export var makeBillingAddress = function () { return factories['io.flow.v0.models.billing_address'](); };
12205
+ export var makeBillingChannelOrderReference = function () { return factories['io.flow.v0.models.billing_channel_order_reference'](); };
12206
+ export var makeBillingChannelPaymentRequestReference = function () { return factories['io.flow.v0.models.billing_channel_payment_request_reference'](); };
12207
+ export var makeBillingChannelStatementReference = function () { return factories['io.flow.v0.models.billing_channel_statement_reference'](); };
12115
12208
  export var makeBrowseOptinResponses = function () { return factories['io.flow.v0.models.browse_optin_responses'](); };
12116
12209
  export var makeBrowseOptinResponsesDeleted = function () { return factories['io.flow.v0.models.browse_optin_responses_deleted'](); };
12117
12210
  export var makeBrowseOptinResponsesUpserted = function () { return factories['io.flow.v0.models.browse_optin_responses_upserted'](); };
@@ -12194,8 +12287,6 @@ export var makeChannelCurrencyDeleted = function () { return factories['io.flow.
12194
12287
  export var makeChannelCurrencyUpserted = function () { return factories['io.flow.v0.models.channel_currency_upserted'](); };
12195
12288
  export var makeChannelDeleted = function () { return factories['io.flow.v0.models.channel_deleted'](); };
12196
12289
  export var makeChannelOrganization = function () { return factories['io.flow.v0.models.channel_organization'](); };
12197
- export var makeChannelOrganizationApplication = function () { return factories['io.flow.v0.models.channel_organization_application'](); };
12198
- export var makeChannelOrganizationApplicationForm = function () { return factories['io.flow.v0.models.channel_organization_application_form'](); };
12199
12290
  export var makeChannelOrganizationAuthorization = function () { return factories['io.flow.v0.models.channel_organization_authorization'](); };
12200
12291
  export var makeChannelOrganizationAuthorizationForm = function () { return factories['io.flow.v0.models.channel_organization_authorization_form'](); };
12201
12292
  export var makeChannelOrganizationDeleted = function () { return factories['io.flow.v0.models.channel_organization_deleted'](); };
@@ -12314,6 +12405,8 @@ export var makeDatetimeRange = function () { return factories['io.flow.v0.models
12314
12405
  export var makeDatetimeWithTimezone = function () { return factories['io.flow.v0.models.datetime_with_timezone'](); };
12315
12406
  export var makeDayOfWeek = function () { return factories['io.flow.v0.enums.day_of_week'](); };
12316
12407
  export var makeDdpRatecardFee = function () { return factories['io.flow.v0.models.ddp_ratecard_fee'](); };
12408
+ export var makeDeduction = function () { return factories['io.flow.v0.models.deduction'](); };
12409
+ export var makeDeductionType = function () { return factories['io.flow.v0.enums.deduction_type'](); };
12317
12410
  export var makeDeliveredDuty = function () { return factories['io.flow.v0.enums.delivered_duty'](); };
12318
12411
  export var makeDeliveredDutyDisplayType = function () { return factories['io.flow.v0.enums.delivered_duty_display_type'](); };
12319
12412
  export var makeDeliveredDutySetting = function () { return factories['io.flow.v0.models.delivered_duty_setting'](); };
@@ -13038,6 +13131,8 @@ export var makePaymentTax = function () { return factories['io.flow.v0.models.pa
13038
13131
  export var makePaymentType = function () { return factories['io.flow.v0.enums.payment_type'](); };
13039
13132
  export var makePaymentUpserted = function () { return factories['io.flow.v0.models.payment_upserted'](); };
13040
13133
  export var makePaymentVersion = function () { return factories['io.flow.v0.models.payment_version'](); };
13134
+ export var makePayout = function () { return factories['io.flow.v0.models.payout'](); };
13135
+ export var makePayoutStatus = function () { return factories['io.flow.v0.enums.payout_status'](); };
13041
13136
  export var makePaypalAuthorizationDetails = function () { return factories['io.flow.v0.models.paypal_authorization_details'](); };
13042
13137
  export var makePaypalAuthorizationForm = function () { return factories['io.flow.v0.models.paypal_authorization_form'](); };
13043
13138
  export var makePeakSurchargeByWeightServiceFee = function () { return factories['io.flow.v0.models.peak_surcharge_by_weight_service_fee'](); };
@@ -13248,6 +13343,7 @@ export var makeScheduledExport = function () { return factories['io.flow.v0.mode
13248
13343
  export var makeScheduledExportForm = function () { return factories['io.flow.v0.models.scheduled_export_form'](); };
13249
13344
  export var makeScheduledPickup = function () { return factories['io.flow.v0.models.scheduled_pickup'](); };
13250
13345
  export var makeSdkAdyenV3AuthenticationToken = function () { return factories['io.flow.v0.unions.sdk_adyen_v3_authentication_token'](); };
13346
+ export var makeSelectIssuerOptionActionDetails = function () { return factories['io.flow.v0.models.select_issuer_option_action_details'](); };
13251
13347
  export var makeServiceFee = function () { return factories['io.flow.v0.unions.service_fee'](); };
13252
13348
  export var makeServiceReference = function () { return factories['io.flow.v0.models.service_reference'](); };
13253
13349
  export var makeServiceSummary = function () { return factories['io.flow.v0.models.service_summary'](); };
@@ -13338,6 +13434,8 @@ export var makeShopifyLocalizedVariantPrices = function () { return factories['i
13338
13434
  export var makeShopifyLocationFlowCenterMapping = function () { return factories['io.flow.v0.models.shopify_location_flow_center_mapping'](); };
13339
13435
  export var makeShopifyLocationFlowCenterMappingForm = function () { return factories['io.flow.v0.models.shopify_location_flow_center_mapping_form'](); };
13340
13436
  export var makeShopifyLocationReference = function () { return factories['io.flow.v0.models.shopify_location_reference'](); };
13437
+ export var makeShopifyMerchantApplication = function () { return factories['io.flow.v0.models.shopify_merchant_application'](); };
13438
+ export var makeShopifyMerchantApplicationForm = function () { return factories['io.flow.v0.models.shopify_merchant_application_form'](); };
13341
13439
  export var makeShopifyOrderAttributesForm = function () { return factories['io.flow.v0.models.shopify_order_attributes_form'](); };
13342
13440
  export var makeShopifyOrderDeliveryMetafield = function () { return factories['io.flow.v0.models.shopify_order_delivery_metafield'](); };
13343
13441
  export var makeShopifyOrderDeliveryMetafieldItem = function () { return factories['io.flow.v0.models.shopify_order_delivery_metafield_item'](); };
@@ -13357,6 +13455,8 @@ export var makeSnapshotUpserted = function () { return factories['io.flow.v0.mod
13357
13455
  export var makeSolidusProductExportType = function () { return factories['io.flow.v0.models.solidus_product_export_type'](); };
13358
13456
  export var makeSolidusVariantExportType = function () { return factories['io.flow.v0.models.solidus_variant_export_type'](); };
13359
13457
  export var makeSortDirection = function () { return factories['io.flow.v0.enums.sort_direction'](); };
13458
+ export var makeStatement = function () { return factories['io.flow.v0.models.statement'](); };
13459
+ export var makeStatementPayout = function () { return factories['io.flow.v0.models.statement_payout'](); };
13360
13460
  export var makeStrategy = function () { return factories['io.flow.v0.enums.strategy'](); };
13361
13461
  export var makeStreetAddress = function () { return factories['io.flow.v0.models.street_address'](); };
13362
13462
  export var makeStripeAuthenticationData = function () { return factories['io.flow.v0.models.stripe_authentication_data'](); };
@@ -13477,6 +13577,13 @@ export var makeTradeAgreementCertifier = function () { return factories['io.flow
13477
13577
  export var makeTradeAgreementDuty = function () { return factories['io.flow.v0.models.trade_agreement_duty'](); };
13478
13578
  export var makeTradeAgreementName = function () { return factories['io.flow.v0.enums.trade_agreement_name'](); };
13479
13579
  export var makeTradeAgreementStatus = function () { return factories['io.flow.v0.enums.trade_agreement_status'](); };
13580
+ export var makeTransaction = function () { return factories['io.flow.v0.models.transaction'](); };
13581
+ export var makeTransactionSource = function () { return factories['io.flow.v0.unions.transaction_source'](); };
13582
+ export var makeTransactionSourceAdjustment = function () { return factories['io.flow.v0.models.transaction_source_adjustment'](); };
13583
+ export var makeTransactionSourceCapture = function () { return factories['io.flow.v0.models.transaction_source_capture'](); };
13584
+ export var makeTransactionSourceDispute = function () { return factories['io.flow.v0.models.transaction_source_dispute'](); };
13585
+ export var makeTransactionSourceRefund = function () { return factories['io.flow.v0.models.transaction_source_refund'](); };
13586
+ export var makeTransactionSourceShippingLabel = function () { return factories['io.flow.v0.models.transaction_source_shipping_label'](); };
13480
13587
  export var makeTransitEstimate = function () { return factories['io.flow.v0.models.transit_estimate'](); };
13481
13588
  export var makeTransitWindow = function () { return factories['io.flow.v0.models.transit_window'](); };
13482
13589
  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;
@@ -1489,6 +1502,13 @@ export declare const makeTradeAgreementCertifier: () => io.flow.v0.models.TradeA
1489
1502
  export declare const makeTradeAgreementDuty: () => io.flow.v0.models.TradeAgreementDuty;
1490
1503
  export declare const makeTradeAgreementName: () => io.flow.v0.enums.TradeAgreementName;
1491
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.unions.TransactionSource;
1507
+ export declare const makeTransactionSourceAdjustment: () => io.flow.v0.models.TransactionSourceAdjustment;
1508
+ export declare const makeTransactionSourceCapture: () => io.flow.v0.models.TransactionSourceCapture;
1509
+ export declare const makeTransactionSourceDispute: () => io.flow.v0.models.TransactionSourceDispute;
1510
+ export declare const makeTransactionSourceRefund: () => io.flow.v0.models.TransactionSourceRefund;
1511
+ export declare const makeTransactionSourceShippingLabel: () => io.flow.v0.models.TransactionSourceShippingLabel;
1492
1512
  export declare const makeTransitEstimate: () => io.flow.v0.models.TransitEstimate;
1493
1513
  export declare const makeTransitWindow: () => io.flow.v0.models.TransitWindow;
1494
1514
  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.11",
3
+ "version": "0.0.13",
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": "2e52c92b8e623a2cbbdd2d02c8d16d50a74a604a"
39
+ "gitHead": "f902f05cda2ea4fb6a86396488a060cf91595a89"
40
40
  }