@flowio/api-factories 0.0.6 → 0.0.8

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
@@ -3137,7 +3137,7 @@ var factories = {
3137
3137
  'redirect',
3138
3138
  'redirect_get',
3139
3139
  'redirect_post',
3140
- 'ideal_select_issuer',
3140
+ 'select_payment_option',
3141
3141
  'use_sdk_klarna_v1',
3142
3142
  'use_sdk_applepay_js',
3143
3143
  'use_sdk_googlepay',
@@ -3169,6 +3169,7 @@ var factories = {
3169
3169
  'payment_checks_declined',
3170
3170
  ]); },
3171
3171
  'io.flow.v0.enums.payment_method_capability': function () { return faker.random.arrayElement(['credit', 'debit']); },
3172
+ 'io.flow.v0.enums.payment_method_data_option_type': function () { return faker.random.arrayElement(['ideal_issuer_option']); },
3172
3173
  'io.flow.v0.enums.payment_method_rule_content_key': function () { return faker.random.arrayElement(['description']); },
3173
3174
  'io.flow.v0.enums.payment_method_type': function () { return faker.random.arrayElement(['card', 'online', 'offline']); },
3174
3175
  'io.flow.v0.enums.payment_source_confirmation_action_type': function () { return faker.random.arrayElement(['cvv', 'billing_address', 'number']); },
@@ -3194,6 +3195,7 @@ var factories = {
3194
3195
  'ideal',
3195
3196
  'sofort',
3196
3197
  'afterpay',
3198
+ 'bancontact',
3197
3199
  ]); },
3198
3200
  'io.flow.v0.enums.permitted_http_method': function () { return faker.random.arrayElement(['GET', 'POST', 'PUT', 'DELETE', 'PATCH']); },
3199
3201
  'io.flow.v0.enums.physical_delivery_special_serivce': function () { return faker.random.arrayElement(['cold_storage', 'hazardous', 'perishable']); },
@@ -3253,6 +3255,7 @@ var factories = {
3253
3255
  'io.flow.v0.enums.ratecard_owner': function () { return faker.random.arrayElement(['flow', 'organization']); },
3254
3256
  'io.flow.v0.enums.refund_decline_code': function () { return faker.random.arrayElement(['expired', 'insufficient_funds', 'unknown']); },
3255
3257
  'io.flow.v0.enums.refund_status': function () { return faker.random.arrayElement(['pending', 'succeeded', 'failed', 'canceled']); },
3258
+ 'io.flow.v0.enums.region_type': function () { return faker.random.arrayElement(['state', 'province', 'jurisdiction']); },
3256
3259
  'io.flow.v0.enums.return_item_status': function () { return faker.random.arrayElement(['returnable', 'non-returnable']); },
3257
3260
  'io.flow.v0.enums.return_policy_state': function () { return faker.random.arrayElement(['current', 'deleting', 'updating']); },
3258
3261
  'io.flow.v0.enums.return_status': function () { return faker.random.arrayElement(['open', 'refunded']); },
@@ -3356,7 +3359,6 @@ var factories = {
3356
3359
  ]); },
3357
3360
  'io.flow.v0.enums.trade_agreement_name': function () { return faker.random.arrayElement(['USMCA', 'T-MEC', 'CUSMA', 'TCA']); },
3358
3361
  'io.flow.v0.enums.trade_agreement_status': function () { return faker.random.arrayElement(['supported', 'not_supported']); },
3359
- 'io.flow.v0.enums.uncertain_boolean': function () { return faker.random.arrayElement(['yes', 'no', 'i_dont_know']); },
3360
3362
  'io.flow.v0.enums.unit_of_measurement': function () { return faker.random.arrayElement([
3361
3363
  'millimeter',
3362
3364
  'centimeter',
@@ -3478,10 +3480,6 @@ var factories = {
3478
3480
  expires_at: factories.date_time_iso_8601(),
3479
3481
  script: factories.string(),
3480
3482
  }); },
3481
- 'io.flow.v0.models.action_ideal_select_issuer': function () { return ({
3482
- type: 'select_ideal_issuer',
3483
- issuers: arrayOf(function () { return factories['io.flow.v0.models.ideal_issuer'](); }),
3484
- }); },
3485
3483
  'io.flow.v0.models.action_redirect': function () { return ({
3486
3484
  type: 'redirect',
3487
3485
  expires_at: factories.date_time_iso_8601(),
@@ -3489,6 +3487,12 @@ var factories = {
3489
3487
  url: factories.string(),
3490
3488
  data: factories.object(),
3491
3489
  }); },
3490
+ 'io.flow.v0.models.action_select_payment_option': function () { return ({
3491
+ type: 'select_payment_option',
3492
+ expires_at: factories.date_time_iso_8601(),
3493
+ options: arrayOf(function () { return factories['io.flow.v0.models.payment_method_data_payment_option'](); }),
3494
+ option_type: factories['io.flow.v0.enums.payment_method_data_option_type'](),
3495
+ }); },
3492
3496
  'io.flow.v0.models.action_use_sdk_adyen_v3': function () { return ({
3493
3497
  type: 'use_sdk_adyen_v3',
3494
3498
  expires_at: factories.date_time_iso_8601(),
@@ -4508,6 +4512,56 @@ var factories = {
4508
4512
  defaults: factories['io.flow.v0.models.organization_defaults'](),
4509
4513
  attributes: objectOf(function () { return factories.string(); }),
4510
4514
  }); },
4515
+ 'io.flow.v0.models.channel_organization_application': function () { return ({
4516
+ id: factories.string(),
4517
+ organization: factories['io.flow.v0.models.organization_summary'](),
4518
+ company: factories['io.flow.v0.models.merchant_info'](),
4519
+ indirect_tax_number: factories.long(),
4520
+ parent_company: factories['io.flow.v0.models.merchant_info'](),
4521
+ beneficiary: factories.string(),
4522
+ business_url: factories.string(),
4523
+ business_description: factories.string(),
4524
+ business_address: factories['io.flow.v0.models.address'](),
4525
+ refund_percentage: factories.decimal(),
4526
+ chargeback_percentage: factories.decimal(),
4527
+ bank_account_number: factories.string(),
4528
+ aba_routing_transit_number: factories.string(),
4529
+ trade_sector: arrayOf(function () { return factories['io.flow.v0.enums.onboarding_trade_sector'](); }),
4530
+ other_trade_sector: factories.string(),
4531
+ third_party_logistics_partner: arrayOf(function () { return factories['io.flow.v0.models.third_party_logistics_partner'](); }),
4532
+ average_order_weight: factories.decimal(),
4533
+ package_dimensions: arrayOf(function () { return factories['io.flow.v0.models.dimension'](); }),
4534
+ monthly_average_volume: factories.decimal(),
4535
+ monthly_average_transactions: factories.long(),
4536
+ dangerous_goods: arrayOf(function () { return factories['io.flow.v0.enums.onboarding_dangerous_goods'](); }),
4537
+ default_country_of_origin: factories.boolean(),
4538
+ ratecard_id: factories.string(),
4539
+ created_at: factories.date_time_iso_8601(),
4540
+ }); },
4541
+ 'io.flow.v0.models.channel_organization_application_form': function () { return ({
4542
+ organization_id: factories.string(),
4543
+ company: factories['io.flow.v0.models.merchant_info'](),
4544
+ indirect_tax_number: factories.long(),
4545
+ parent_company: factories['io.flow.v0.models.merchant_info'](),
4546
+ beneficiary: factories.string(),
4547
+ business_url: factories.string(),
4548
+ business_description: factories.string(),
4549
+ business_address: factories['io.flow.v0.models.address'](),
4550
+ refund_percentage: factories.decimal(),
4551
+ chargeback_percentage: factories.decimal(),
4552
+ bank_account_number: factories.string(),
4553
+ aba_routing_transit_number: factories.string(),
4554
+ trade_sector: arrayOf(function () { return factories['io.flow.v0.enums.onboarding_trade_sector'](); }),
4555
+ other_trade_sector: factories.string(),
4556
+ third_party_logistics_partner: arrayOf(function () { return factories['io.flow.v0.models.third_party_logistics_partner'](); }),
4557
+ average_order_weight: factories.decimal(),
4558
+ package_dimensions: arrayOf(function () { return factories['io.flow.v0.models.dimension'](); }),
4559
+ monthly_average_volume: factories.decimal(),
4560
+ monthly_average_transactions: factories.long(),
4561
+ dangerous_goods: arrayOf(function () { return factories['io.flow.v0.enums.onboarding_dangerous_goods'](); }),
4562
+ default_country_of_origin: factories.boolean(),
4563
+ ratecard_id: factories.string(),
4564
+ }); },
4511
4565
  'io.flow.v0.models.channel_organization_authorization': function () { return ({
4512
4566
  placeholder: factories.string(),
4513
4567
  }); },
@@ -6281,11 +6335,6 @@ var factories = {
6281
6335
  number: factories.string(),
6282
6336
  code: factories.string(),
6283
6337
  }); },
6284
- 'io.flow.v0.models.ideal_issuer': function () { return ({
6285
- id: factories.string(),
6286
- name: factories.string(),
6287
- images: factories['io.flow.v0.models.payment_method_images'](),
6288
- }); },
6289
6338
  'io.flow.v0.models.identifier_form': function () { return ({
6290
6339
  primary: factories.boolean(),
6291
6340
  name: factories.string(),
@@ -7103,6 +7152,12 @@ var factories = {
7103
7152
  amount: factories.decimal(),
7104
7153
  currency: factories.string(),
7105
7154
  }); },
7155
+ 'io.flow.v0.models.merchant_info': function () { return ({
7156
+ legal_name: factories.string(),
7157
+ country: factories.string(),
7158
+ region: factories['io.flow.v0.enums.region_type'](),
7159
+ region_value: factories.string(),
7160
+ }); },
7106
7161
  'io.flow.v0.models.merchant_of_record_authorization_form': function () { return ({
7107
7162
  discriminator: 'merchant_of_record_authorization_form',
7108
7163
  token: factories.string(),
@@ -7192,116 +7247,6 @@ var factories = {
7192
7247
  min: factories.long(),
7193
7248
  max: factories.long(),
7194
7249
  }); },
7195
- 'io.flow.v0.models.onboarding_bank_account': function () { return ({
7196
- id: factories.string(),
7197
- name: factories.string(),
7198
- address: factories['io.flow.v0.models.address'](),
7199
- contact: factories['io.flow.v0.models.contact'](),
7200
- account_number: factories.string(),
7201
- aba_routing_transit_number: factories.string(),
7202
- created_at: factories.date_time_iso_8601(),
7203
- }); },
7204
- 'io.flow.v0.models.onboarding_bank_account_form': function () { return ({
7205
- name: factories.string(),
7206
- address: factories['io.flow.v0.models.address'](),
7207
- contact: factories['io.flow.v0.models.contact'](),
7208
- account_number: factories.string(),
7209
- aba_routing_transit_number: factories.string(),
7210
- }); },
7211
- 'io.flow.v0.models.onboarding_classification': function () { return ({
7212
- id: factories.string(),
7213
- country_of_origin_populated: factories.boolean(),
7214
- created_at: factories.date_time_iso_8601(),
7215
- }); },
7216
- 'io.flow.v0.models.onboarding_classification_form': function () { return ({
7217
- country_of_origin_populated: factories.boolean(),
7218
- }); },
7219
- 'io.flow.v0.models.onboarding_incorporation': function () { return ({
7220
- country: factories.string(),
7221
- state: factories.string(),
7222
- province: factories.string(),
7223
- jurisdiction: factories.string(),
7224
- }); },
7225
- 'io.flow.v0.models.onboarding_payment': function () { return ({
7226
- id: factories.string(),
7227
- legal_name: factories.string(),
7228
- incorporation: factories['io.flow.v0.models.onboarding_incorporation'](),
7229
- indirect_tax_number: factories.long(),
7230
- subsidiary_company: factories['io.flow.v0.models.onboarding_subsidiary_company'](),
7231
- beneficiary: factories.string(),
7232
- business_url: factories.string(),
7233
- business_description: factories.string(),
7234
- business_address: factories['io.flow.v0.models.address'](),
7235
- refund_percentage: factories.decimal(),
7236
- chargeback_percentage: factories.decimal(),
7237
- created_at: factories.date_time_iso_8601(),
7238
- }); },
7239
- 'io.flow.v0.models.onboarding_payment_form': function () { return ({
7240
- legal_name: factories.string(),
7241
- incorporation: factories['io.flow.v0.models.onboarding_incorporation'](),
7242
- indirect_tax_number: factories.long(),
7243
- subsidiary_company: factories['io.flow.v0.models.onboarding_subsidiary_company'](),
7244
- beneficiary: factories.string(),
7245
- business_url: factories.string(),
7246
- business_description: factories.string(),
7247
- business_address: factories['io.flow.v0.models.address'](),
7248
- refund_percentage: factories.decimal(),
7249
- chargeback_percentage: factories.decimal(),
7250
- }); },
7251
- 'io.flow.v0.models.onboarding_preparer_details': function () { return ({
7252
- id: factories.string(),
7253
- name: factories.string(),
7254
- title: factories.string(),
7255
- company: factories.string(),
7256
- created_at: factories.date_time_iso_8601(),
7257
- }); },
7258
- 'io.flow.v0.models.onboarding_preparer_details_form': function () { return ({
7259
- name: factories.string(),
7260
- title: factories.string(),
7261
- company: factories.string(),
7262
- }); },
7263
- 'io.flow.v0.models.onboarding_product_logistics': function () { return ({
7264
- id: factories.string(),
7265
- trade_sector: arrayOf(function () { return factories['io.flow.v0.enums.onboarding_trade_sector'](); }),
7266
- other_trade_sector: factories.string(),
7267
- shipped_prohibited_products_before: factories.boolean(),
7268
- third_party_logistics_partner: factories['io.flow.v0.models.third_party_logistics_partner'](),
7269
- third_party_logistics_pick_up_time_window: factories['io.flow.v0.models.third_party_logistics_pick_up_time_window'](),
7270
- pickup_location: factories['io.flow.v0.models.billing_address'](),
7271
- pickup_instructions: factories.string(),
7272
- operations_contact: factories['io.flow.v0.models.contact'](),
7273
- average_order_weight: factories.decimal(),
7274
- package_dimensions: factories['io.flow.v0.models.dimensions'](),
7275
- average_order_value: factories.decimal(),
7276
- maximum_order_value: factories.decimal(),
7277
- monthly_average_volume: factories.decimal(),
7278
- monthly_average_transactions: factories.long(),
7279
- sells_dangerous_goods: factories['io.flow.v0.enums.uncertain_boolean'](),
7280
- dangerous_goods: arrayOf(function () { return factories['io.flow.v0.enums.onboarding_dangerous_goods'](); }),
7281
- created_at: factories.date_time_iso_8601(),
7282
- }); },
7283
- 'io.flow.v0.models.onboarding_product_logistics_form': function () { return ({
7284
- trade_sector: arrayOf(function () { return factories['io.flow.v0.enums.onboarding_trade_sector'](); }),
7285
- other_trade_sector: factories.string(),
7286
- shipped_prohibited_products_before: factories.boolean(),
7287
- third_party_logistics_partner: factories['io.flow.v0.models.third_party_logistics_partner'](),
7288
- third_party_logistics_pick_up_time_window: factories['io.flow.v0.models.third_party_logistics_pick_up_time_window'](),
7289
- pickup_location: factories['io.flow.v0.models.billing_address'](),
7290
- pickup_instructions: factories.string(),
7291
- operations_contact: factories['io.flow.v0.models.contact'](),
7292
- average_order_weight: factories.decimal(),
7293
- package_dimensions: factories['io.flow.v0.models.dimensions'](),
7294
- average_order_value: factories.decimal(),
7295
- maximum_order_value: factories.decimal(),
7296
- monthly_average_volume: factories.decimal(),
7297
- monthly_average_transactions: factories.long(),
7298
- sells_dangerous_goods: factories['io.flow.v0.enums.uncertain_boolean'](),
7299
- dangerous_goods: arrayOf(function () { return factories['io.flow.v0.enums.onboarding_dangerous_goods'](); }),
7300
- }); },
7301
- 'io.flow.v0.models.onboarding_subsidiary_company': function () { return ({
7302
- legal_name: factories.string(),
7303
- incorporation_country: factories['io.flow.v0.models.onboarding_incorporation'](),
7304
- }); },
7305
7250
  'io.flow.v0.models.online_authorization': function () { return ({
7306
7251
  discriminator: 'online_authorization',
7307
7252
  id: factories.string(),
@@ -8330,6 +8275,7 @@ var factories = {
8330
8275
  order: factories['io.flow.v0.models.authorization_order_reference'](),
8331
8276
  amount: factories.decimal(),
8332
8277
  currency: factories.string(),
8278
+ created_at: factories.date_time_iso_8601(),
8333
8279
  cryptopay: factories['io.flow.v0.unions.online_authorization_details'](),
8334
8280
  }); },
8335
8281
  'io.flow.v0.models.payment_deleted': function () { return ({
@@ -8442,6 +8388,10 @@ var factories = {
8442
8388
  type: 'init_applepay',
8443
8389
  placeholder: factories.string(),
8444
8390
  }); },
8391
+ 'io.flow.v0.models.payment_method_data_init_bancontact': function () { return ({
8392
+ type: 'init_bancontact',
8393
+ placeholder: factories.string(),
8394
+ }); },
8445
8395
  'io.flow.v0.models.payment_method_data_init_googlepay': function () { return ({
8446
8396
  type: 'init_googlepay',
8447
8397
  placeholder: factories.string(),
@@ -8462,6 +8412,19 @@ var factories = {
8462
8412
  type: 'init_sofort',
8463
8413
  placeholder: factories.string(),
8464
8414
  }); },
8415
+ 'io.flow.v0.models.payment_method_data_option_logo_svg': function () { return ({
8416
+ type: 'svg',
8417
+ url: factories.string(),
8418
+ }); },
8419
+ 'io.flow.v0.models.payment_method_data_payment_option': function () { return ({
8420
+ id: factories.string(),
8421
+ name: factories.string(),
8422
+ logo: arrayOf(function () { return factories['io.flow.v0.unions.payment_method_data_option_logo'](); }),
8423
+ }); },
8424
+ 'io.flow.v0.models.payment_method_data_selected_payment_option': function () { return ({
8425
+ type: 'select_option',
8426
+ option_id: factories.string(),
8427
+ }); },
8465
8428
  'io.flow.v0.models.payment_method_data_validate_applepay': function () { return ({
8466
8429
  type: 'validate_applepay',
8467
8430
  validation_url: factories.string(),
@@ -8501,6 +8464,10 @@ var factories = {
8501
8464
  type: 'applepay',
8502
8465
  merchant_of_record: factories['io.flow.v0.enums.merchant_of_record'](),
8503
8466
  }); },
8467
+ 'io.flow.v0.models.payment_method_summary_bancontact': function () { return ({
8468
+ type: 'bancontact',
8469
+ merchant_of_record: factories['io.flow.v0.enums.merchant_of_record'](),
8470
+ }); },
8504
8471
  'io.flow.v0.models.payment_method_summary_card': function () { return ({
8505
8472
  type: 'card',
8506
8473
  merchant_of_record: factories['io.flow.v0.enums.merchant_of_record'](),
@@ -8560,6 +8527,7 @@ var factories = {
8560
8527
  order: factories['io.flow.v0.models.authorization_order_reference'](),
8561
8528
  amount: factories.decimal(),
8562
8529
  currency: factories.string(),
8530
+ created_at: factories.date_time_iso_8601(),
8563
8531
  paypal: factories['io.flow.v0.unions.online_authorization_details'](),
8564
8532
  }); },
8565
8533
  'io.flow.v0.models.payment_processor': function () { return ({
@@ -10671,6 +10639,10 @@ var factories = {
10671
10639
  'io.flow.v0.models.third_party_logistics_partner': function () { return ({
10672
10640
  warehouse_address: factories['io.flow.v0.models.billing_address'](),
10673
10641
  warehouse_url: factories.string(),
10642
+ third_party_logistics_pick_up_time_window: factories['io.flow.v0.models.third_party_logistics_pick_up_time_window'](),
10643
+ pickup_location: factories['io.flow.v0.models.billing_address'](),
10644
+ pickup_instructions: factories.string(),
10645
+ operations_contact: factories['io.flow.v0.models.contact'](),
10674
10646
  }); },
10675
10647
  'io.flow.v0.models.third_party_logistics_pick_up_time_window': function () { return ({
10676
10648
  from: factories.date_time_iso_8601(),
@@ -11148,7 +11120,7 @@ var factories = {
11148
11120
  function () { return factories['io.flow.v0.models.action_use_sdk_stripe_v3'](); },
11149
11121
  function () { return factories['io.flow.v0.models.action_use_sdk_adyen_v3'](); },
11150
11122
  function () { return factories['io.flow.v0.models.action_use_sdk_adyen_v4'](); },
11151
- function () { return factories['io.flow.v0.models.action_ideal_select_issuer'](); },
11123
+ function () { return factories['io.flow.v0.models.action_select_payment_option'](); },
11152
11124
  function () { return factories['io.flow.v0.models.action_execute_script'](); },
11153
11125
  function () { return factories['io.flow.v0.models.action_display_inline_window'](); },
11154
11126
  function () { return factories['io.flow.v0.models.action_wait'](); },
@@ -11723,12 +11695,14 @@ var factories = {
11723
11695
  function () { return factories['io.flow.v0.models.payment_method_data_init_paypal'](); },
11724
11696
  function () { return factories['io.flow.v0.models.payment_method_data_init_ideal'](); },
11725
11697
  function () { return factories['io.flow.v0.models.payment_method_data_init_sofort'](); },
11698
+ function () { return factories['io.flow.v0.models.payment_method_data_init_bancontact'](); },
11726
11699
  function () { return factories['io.flow.v0.models.payment_method_data_validate_applepay'](); },
11727
11700
  function () { return factories['io.flow.v0.models.payment_method_data_authorize_card'](); },
11728
11701
  function () { return factories['io.flow.v0.models.payment_method_data_authorize_googlepay'](); },
11729
11702
  function () { return factories['io.flow.v0.models.payment_method_data_authorize_applepay'](); },
11730
11703
  function () { return factories['io.flow.v0.models.payment_method_data_authorize_paypal'](); },
11731
11704
  function () { return factories['io.flow.v0.models.payment_method_data_authorize_klarna'](); },
11705
+ function () { return factories['io.flow.v0.models.payment_method_data_selected_payment_option'](); },
11732
11706
  function () { return factories['io.flow.v0.models.payment_method_data_complete_authorization_card'](); },
11733
11707
  ]);
11734
11708
  return f();
@@ -11740,6 +11714,10 @@ var factories = {
11740
11714
  ]);
11741
11715
  return f();
11742
11716
  },
11717
+ 'io.flow.v0.unions.payment_method_data_option_logo': function () {
11718
+ var f = faker.random.arrayElement([function () { return factories['io.flow.v0.models.payment_method_data_option_logo_svg'](); }]);
11719
+ return f();
11720
+ },
11743
11721
  'io.flow.v0.unions.payment_method_summary': function () {
11744
11722
  var f = faker.random.arrayElement([
11745
11723
  function () { return factories['io.flow.v0.models.payment_method_summary_card'](); },
@@ -11750,6 +11728,7 @@ var factories = {
11750
11728
  function () { return factories['io.flow.v0.models.payment_method_summary_paypal'](); },
11751
11729
  function () { return factories['io.flow.v0.models.payment_method_summary_ideal'](); },
11752
11730
  function () { return factories['io.flow.v0.models.payment_method_summary_sofort'](); },
11731
+ function () { return factories['io.flow.v0.models.payment_method_summary_bancontact'](); },
11753
11732
  ]);
11754
11733
  return f();
11755
11734
  },
@@ -11983,8 +11962,8 @@ export var makeAchAuthorizationForm = function () { return factories['io.flow.v0
11983
11962
  export var makeAction = function () { return factories['io.flow.v0.unions.action'](); };
11984
11963
  export var makeActionDisplayInlineWindow = function () { return factories['io.flow.v0.models.action_display_inline_window'](); };
11985
11964
  export var makeActionExecuteScript = function () { return factories['io.flow.v0.models.action_execute_script'](); };
11986
- export var makeActionIdealSelectIssuer = function () { return factories['io.flow.v0.models.action_ideal_select_issuer'](); };
11987
11965
  export var makeActionRedirect = function () { return factories['io.flow.v0.models.action_redirect'](); };
11966
+ export var makeActionSelectPaymentOption = function () { return factories['io.flow.v0.models.action_select_payment_option'](); };
11988
11967
  export var makeActionUseSdkAdyenV3 = function () { return factories['io.flow.v0.models.action_use_sdk_adyen_v3'](); };
11989
11968
  export var makeActionUseSdkAdyenV4 = function () { return factories['io.flow.v0.models.action_use_sdk_adyen_v4'](); };
11990
11969
  export var makeActionUseSdkApplepayJsCompleteValidation = function () { return factories['io.flow.v0.models.action_use_sdk_applepay_js_complete_validation'](); };
@@ -12176,6 +12155,8 @@ export var makeChannelCurrencyDeleted = function () { return factories['io.flow.
12176
12155
  export var makeChannelCurrencyUpserted = function () { return factories['io.flow.v0.models.channel_currency_upserted'](); };
12177
12156
  export var makeChannelDeleted = function () { return factories['io.flow.v0.models.channel_deleted'](); };
12178
12157
  export var makeChannelOrganization = function () { return factories['io.flow.v0.models.channel_organization'](); };
12158
+ export var makeChannelOrganizationApplication = function () { return factories['io.flow.v0.models.channel_organization_application'](); };
12159
+ export var makeChannelOrganizationApplicationForm = function () { return factories['io.flow.v0.models.channel_organization_application_form'](); };
12179
12160
  export var makeChannelOrganizationAuthorization = function () { return factories['io.flow.v0.models.channel_organization_authorization'](); };
12180
12161
  export var makeChannelOrganizationAuthorizationForm = function () { return factories['io.flow.v0.models.channel_organization_authorization_form'](); };
12181
12162
  export var makeChannelOrganizationDeleted = function () { return factories['io.flow.v0.models.channel_organization_deleted'](); };
@@ -12553,7 +12534,6 @@ export var makeHs10Version = function () { return factories['io.flow.v0.models.h
12553
12534
  export var makeHs6 = function () { return factories['io.flow.v0.models.hs6'](); };
12554
12535
  export var makeHs6CodeDeleted = function () { return factories['io.flow.v0.models.hs6_code_deleted'](); };
12555
12536
  export var makeHs6CodeUpserted = function () { return factories['io.flow.v0.models.hs6_code_upserted'](); };
12556
- export var makeIdealIssuer = function () { return factories['io.flow.v0.models.ideal_issuer'](); };
12557
12537
  export var makeIdentifierForm = function () { return factories['io.flow.v0.models.identifier_form'](); };
12558
12538
  export var makeImage = function () { return factories['io.flow.v0.models.image'](); };
12559
12539
  export var makeImageForm = function () { return factories['io.flow.v0.models.image_form'](); };
@@ -12711,6 +12691,7 @@ export var makeMerchantGiftCardRedemption = function () { return factories['io.f
12711
12691
  export var makeMerchantGiftCardRedemptionForm = function () { return factories['io.flow.v0.models.merchant_gift_card_redemption_form'](); };
12712
12692
  export var makeMerchantGiftCardReversal = function () { return factories['io.flow.v0.models.merchant_gift_card_reversal'](); };
12713
12693
  export var makeMerchantGiftCardReversalForm = function () { return factories['io.flow.v0.models.merchant_gift_card_reversal_form'](); };
12694
+ export var makeMerchantInfo = function () { return factories['io.flow.v0.models.merchant_info'](); };
12714
12695
  export var makeMerchantOfRecord = function () { return factories['io.flow.v0.enums.merchant_of_record'](); };
12715
12696
  export var makeMerchantOfRecordAuthorizationForm = function () { return factories['io.flow.v0.models.merchant_of_record_authorization_form'](); };
12716
12697
  export var makeMerchantOfRecordEntity = function () { return factories['io.flow.v0.models.merchant_of_record_entity'](); };
@@ -12727,19 +12708,7 @@ export var makeNoInventoryReservationErrorItem = function () { return factories[
12727
12708
  export var makeNotificationDeletedV2 = function () { return factories['io.flow.v0.models.notification_deleted_v2'](); };
12728
12709
  export var makeNotificationUpsertedV2 = function () { return factories['io.flow.v0.models.notification_upserted_v2'](); };
12729
12710
  export var makeNumberRange = function () { return factories['io.flow.v0.models.number_range'](); };
12730
- export var makeOnboardingBankAccount = function () { return factories['io.flow.v0.models.onboarding_bank_account'](); };
12731
- export var makeOnboardingBankAccountForm = function () { return factories['io.flow.v0.models.onboarding_bank_account_form'](); };
12732
- export var makeOnboardingClassification = function () { return factories['io.flow.v0.models.onboarding_classification'](); };
12733
- export var makeOnboardingClassificationForm = function () { return factories['io.flow.v0.models.onboarding_classification_form'](); };
12734
12711
  export var makeOnboardingDangerousGoods = function () { return factories['io.flow.v0.enums.onboarding_dangerous_goods'](); };
12735
- export var makeOnboardingIncorporation = function () { return factories['io.flow.v0.models.onboarding_incorporation'](); };
12736
- export var makeOnboardingPayment = function () { return factories['io.flow.v0.models.onboarding_payment'](); };
12737
- export var makeOnboardingPaymentForm = function () { return factories['io.flow.v0.models.onboarding_payment_form'](); };
12738
- export var makeOnboardingPreparerDetails = function () { return factories['io.flow.v0.models.onboarding_preparer_details'](); };
12739
- export var makeOnboardingPreparerDetailsForm = function () { return factories['io.flow.v0.models.onboarding_preparer_details_form'](); };
12740
- export var makeOnboardingProductLogistics = function () { return factories['io.flow.v0.models.onboarding_product_logistics'](); };
12741
- export var makeOnboardingProductLogisticsForm = function () { return factories['io.flow.v0.models.onboarding_product_logistics_form'](); };
12742
- export var makeOnboardingSubsidiaryCompany = function () { return factories['io.flow.v0.models.onboarding_subsidiary_company'](); };
12743
12712
  export var makeOnboardingTradeSector = function () { return factories['io.flow.v0.enums.onboarding_trade_sector'](); };
12744
12713
  export var makeOnlineAuthorization = function () { return factories['io.flow.v0.models.online_authorization'](); };
12745
12714
  export var makeOnlineAuthorizationDeletedV2 = function () { return factories['io.flow.v0.models.online_authorization_deleted_v2'](); };
@@ -12962,11 +12931,17 @@ export var makePaymentMethodDataAuthorizePaypal = function () { return factories
12962
12931
  export var makePaymentMethodDataCompleteAuthorizationCard = function () { return factories['io.flow.v0.models.payment_method_data_complete_authorization_card'](); };
12963
12932
  export var makePaymentMethodDataInitAfterpay = function () { return factories['io.flow.v0.models.payment_method_data_init_afterpay'](); };
12964
12933
  export var makePaymentMethodDataInitApplepay = function () { return factories['io.flow.v0.models.payment_method_data_init_applepay'](); };
12934
+ export var makePaymentMethodDataInitBancontact = function () { return factories['io.flow.v0.models.payment_method_data_init_bancontact'](); };
12965
12935
  export var makePaymentMethodDataInitGooglepay = function () { return factories['io.flow.v0.models.payment_method_data_init_googlepay'](); };
12966
12936
  export var makePaymentMethodDataInitIdeal = function () { return factories['io.flow.v0.models.payment_method_data_init_ideal'](); };
12967
12937
  export var makePaymentMethodDataInitKlarna = function () { return factories['io.flow.v0.models.payment_method_data_init_klarna'](); };
12968
12938
  export var makePaymentMethodDataInitPaypal = function () { return factories['io.flow.v0.models.payment_method_data_init_paypal'](); };
12969
12939
  export var makePaymentMethodDataInitSofort = function () { return factories['io.flow.v0.models.payment_method_data_init_sofort'](); };
12940
+ export var makePaymentMethodDataOptionLogo = function () { return factories['io.flow.v0.unions.payment_method_data_option_logo'](); };
12941
+ export var makePaymentMethodDataOptionLogoSvg = function () { return factories['io.flow.v0.models.payment_method_data_option_logo_svg'](); };
12942
+ export var makePaymentMethodDataOptionType = function () { return factories['io.flow.v0.enums.payment_method_data_option_type'](); };
12943
+ export var makePaymentMethodDataPaymentOption = function () { return factories['io.flow.v0.models.payment_method_data_payment_option'](); };
12944
+ export var makePaymentMethodDataSelectedPaymentOption = function () { return factories['io.flow.v0.models.payment_method_data_selected_payment_option'](); };
12970
12945
  export var makePaymentMethodDataValidateApplepay = function () { return factories['io.flow.v0.models.payment_method_data_validate_applepay'](); };
12971
12946
  export var makePaymentMethodImage = function () { return factories['io.flow.v0.models.payment_method_image'](); };
12972
12947
  export var makePaymentMethodImages = function () { return factories['io.flow.v0.models.payment_method_images'](); };
@@ -12977,6 +12952,7 @@ export var makePaymentMethodRuleContentKey = function () { return factories['io.
12977
12952
  export var makePaymentMethodSummary = function () { return factories['io.flow.v0.unions.payment_method_summary'](); };
12978
12953
  export var makePaymentMethodSummaryAfterpay = function () { return factories['io.flow.v0.models.payment_method_summary_afterpay'](); };
12979
12954
  export var makePaymentMethodSummaryApplepay = function () { return factories['io.flow.v0.models.payment_method_summary_applepay'](); };
12955
+ export var makePaymentMethodSummaryBancontact = function () { return factories['io.flow.v0.models.payment_method_summary_bancontact'](); };
12980
12956
  export var makePaymentMethodSummaryCard = function () { return factories['io.flow.v0.models.payment_method_summary_card'](); };
12981
12957
  export var makePaymentMethodSummaryGooglepay = function () { return factories['io.flow.v0.models.payment_method_summary_googlepay'](); };
12982
12958
  export var makePaymentMethodSummaryIdeal = function () { return factories['io.flow.v0.models.payment_method_summary_ideal'](); };
@@ -13160,6 +13136,7 @@ export var makeRegion = function () { return factories['io.flow.v0.models.region
13160
13136
  export var makeRegionReference = function () { return factories['io.flow.v0.models.region_reference'](); };
13161
13137
  export var makeRegionSetting = function () { return factories['io.flow.v0.models.region_setting'](); };
13162
13138
  export var makeRegionSettingForm = function () { return factories['io.flow.v0.models.region_setting_form'](); };
13139
+ export var makeRegionType = function () { return factories['io.flow.v0.enums.region_type'](); };
13163
13140
  export var makeRemoteAreaRatecardFee = function () { return factories['io.flow.v0.models.remote_area_ratecard_fee'](); };
13164
13141
  export var makeRemoteAreaServiceFee = function () { return factories['io.flow.v0.models.remote_area_service_fee'](); };
13165
13142
  export var makeRepeatDaily = function () { return factories['io.flow.v0.models.repeat_daily'](); };
@@ -13455,7 +13432,6 @@ export var makeTradeAgreementName = function () { return factories['io.flow.v0.e
13455
13432
  export var makeTradeAgreementStatus = function () { return factories['io.flow.v0.enums.trade_agreement_status'](); };
13456
13433
  export var makeTransitEstimate = function () { return factories['io.flow.v0.models.transit_estimate'](); };
13457
13434
  export var makeTransitWindow = function () { return factories['io.flow.v0.models.transit_window'](); };
13458
- export var makeUncertainBoolean = function () { return factories['io.flow.v0.enums.uncertain_boolean'](); };
13459
13435
  export var makeUnharmonizedItemExportType = function () { return factories['io.flow.v0.models.unharmonized_item_export_type'](); };
13460
13436
  export var makeUnitOfMeasurement = function () { return factories['io.flow.v0.enums.unit_of_measurement'](); };
13461
13437
  export var makeUnitOfTime = function () { return factories['io.flow.v0.enums.unit_of_time'](); };
@@ -13,8 +13,8 @@ export declare const makeAchAuthorizationForm: () => io.flow.v0.models.AchAuthor
13
13
  export declare const makeAction: () => io.flow.v0.unions.Action;
14
14
  export declare const makeActionDisplayInlineWindow: () => io.flow.v0.models.ActionDisplayInlineWindow;
15
15
  export declare const makeActionExecuteScript: () => io.flow.v0.models.ActionExecuteScript;
16
- export declare const makeActionIdealSelectIssuer: () => io.flow.v0.models.ActionIdealSelectIssuer;
17
16
  export declare const makeActionRedirect: () => io.flow.v0.models.ActionRedirect;
17
+ export declare const makeActionSelectPaymentOption: () => io.flow.v0.models.ActionSelectPaymentOption;
18
18
  export declare const makeActionUseSdkAdyenV3: () => io.flow.v0.models.ActionUseSdkAdyenV3;
19
19
  export declare const makeActionUseSdkAdyenV4: () => io.flow.v0.models.ActionUseSdkAdyenV4;
20
20
  export declare const makeActionUseSdkApplepayJsCompleteValidation: () => io.flow.v0.models.ActionUseSdkApplepayJsCompleteValidation;
@@ -206,6 +206,8 @@ export declare const makeChannelCurrencyDeleted: () => io.flow.v0.models.Channel
206
206
  export declare const makeChannelCurrencyUpserted: () => io.flow.v0.models.ChannelCurrencyUpserted;
207
207
  export declare const makeChannelDeleted: () => io.flow.v0.models.ChannelDeleted;
208
208
  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;
209
211
  export declare const makeChannelOrganizationAuthorization: () => io.flow.v0.models.ChannelOrganizationAuthorization;
210
212
  export declare const makeChannelOrganizationAuthorizationForm: () => io.flow.v0.models.ChannelOrganizationAuthorizationForm;
211
213
  export declare const makeChannelOrganizationDeleted: () => io.flow.v0.models.ChannelOrganizationDeleted;
@@ -583,7 +585,6 @@ export declare const makeHs10Version: () => io.flow.v0.models.Hs10Version;
583
585
  export declare const makeHs6: () => io.flow.v0.models.Hs6;
584
586
  export declare const makeHs6CodeDeleted: () => io.flow.v0.models.Hs6CodeDeleted;
585
587
  export declare const makeHs6CodeUpserted: () => io.flow.v0.models.Hs6CodeUpserted;
586
- export declare const makeIdealIssuer: () => io.flow.v0.models.IdealIssuer;
587
588
  export declare const makeIdentifierForm: () => io.flow.v0.models.IdentifierForm;
588
589
  export declare const makeImage: () => io.flow.v0.models.Image;
589
590
  export declare const makeImageForm: () => io.flow.v0.models.ImageForm;
@@ -741,6 +742,7 @@ export declare const makeMerchantGiftCardRedemption: () => io.flow.v0.models.Mer
741
742
  export declare const makeMerchantGiftCardRedemptionForm: () => io.flow.v0.models.MerchantGiftCardRedemptionForm;
742
743
  export declare const makeMerchantGiftCardReversal: () => io.flow.v0.models.MerchantGiftCardReversal;
743
744
  export declare const makeMerchantGiftCardReversalForm: () => io.flow.v0.models.MerchantGiftCardReversalForm;
745
+ export declare const makeMerchantInfo: () => io.flow.v0.models.MerchantInfo;
744
746
  export declare const makeMerchantOfRecord: () => io.flow.v0.enums.MerchantOfRecord;
745
747
  export declare const makeMerchantOfRecordAuthorizationForm: () => io.flow.v0.models.MerchantOfRecordAuthorizationForm;
746
748
  export declare const makeMerchantOfRecordEntity: () => io.flow.v0.models.MerchantOfRecordEntity;
@@ -757,19 +759,7 @@ export declare const makeNoInventoryReservationErrorItem: () => io.flow.v0.model
757
759
  export declare const makeNotificationDeletedV2: () => io.flow.v0.models.NotificationDeletedV2;
758
760
  export declare const makeNotificationUpsertedV2: () => io.flow.v0.models.NotificationUpsertedV2;
759
761
  export declare const makeNumberRange: () => io.flow.v0.models.NumberRange;
760
- export declare const makeOnboardingBankAccount: () => io.flow.v0.models.OnboardingBankAccount;
761
- export declare const makeOnboardingBankAccountForm: () => io.flow.v0.models.OnboardingBankAccountForm;
762
- export declare const makeOnboardingClassification: () => io.flow.v0.models.OnboardingClassification;
763
- export declare const makeOnboardingClassificationForm: () => io.flow.v0.models.OnboardingClassificationForm;
764
762
  export declare const makeOnboardingDangerousGoods: () => io.flow.v0.enums.OnboardingDangerousGoods;
765
- export declare const makeOnboardingIncorporation: () => io.flow.v0.models.OnboardingIncorporation;
766
- export declare const makeOnboardingPayment: () => io.flow.v0.models.OnboardingPayment;
767
- export declare const makeOnboardingPaymentForm: () => io.flow.v0.models.OnboardingPaymentForm;
768
- export declare const makeOnboardingPreparerDetails: () => io.flow.v0.models.OnboardingPreparerDetails;
769
- export declare const makeOnboardingPreparerDetailsForm: () => io.flow.v0.models.OnboardingPreparerDetailsForm;
770
- export declare const makeOnboardingProductLogistics: () => io.flow.v0.models.OnboardingProductLogistics;
771
- export declare const makeOnboardingProductLogisticsForm: () => io.flow.v0.models.OnboardingProductLogisticsForm;
772
- export declare const makeOnboardingSubsidiaryCompany: () => io.flow.v0.models.OnboardingSubsidiaryCompany;
773
763
  export declare const makeOnboardingTradeSector: () => io.flow.v0.enums.OnboardingTradeSector;
774
764
  export declare const makeOnlineAuthorization: () => io.flow.v0.models.OnlineAuthorization;
775
765
  export declare const makeOnlineAuthorizationDeletedV2: () => io.flow.v0.models.OnlineAuthorizationDeletedV2;
@@ -992,11 +982,17 @@ export declare const makePaymentMethodDataAuthorizePaypal: () => io.flow.v0.mode
992
982
  export declare const makePaymentMethodDataCompleteAuthorizationCard: () => io.flow.v0.models.PaymentMethodDataCompleteAuthorizationCard;
993
983
  export declare const makePaymentMethodDataInitAfterpay: () => io.flow.v0.models.PaymentMethodDataInitAfterpay;
994
984
  export declare const makePaymentMethodDataInitApplepay: () => io.flow.v0.models.PaymentMethodDataInitApplepay;
985
+ export declare const makePaymentMethodDataInitBancontact: () => io.flow.v0.models.PaymentMethodDataInitBancontact;
995
986
  export declare const makePaymentMethodDataInitGooglepay: () => io.flow.v0.models.PaymentMethodDataInitGooglepay;
996
987
  export declare const makePaymentMethodDataInitIdeal: () => io.flow.v0.models.PaymentMethodDataInitIdeal;
997
988
  export declare const makePaymentMethodDataInitKlarna: () => io.flow.v0.models.PaymentMethodDataInitKlarna;
998
989
  export declare const makePaymentMethodDataInitPaypal: () => io.flow.v0.models.PaymentMethodDataInitPaypal;
999
990
  export declare const makePaymentMethodDataInitSofort: () => io.flow.v0.models.PaymentMethodDataInitSofort;
991
+ export declare const makePaymentMethodDataOptionLogo: () => io.flow.v0.models.PaymentMethodDataOptionLogoSvg;
992
+ export declare const makePaymentMethodDataOptionLogoSvg: () => io.flow.v0.models.PaymentMethodDataOptionLogoSvg;
993
+ export declare const makePaymentMethodDataOptionType: () => "ideal_issuer_option";
994
+ export declare const makePaymentMethodDataPaymentOption: () => io.flow.v0.models.PaymentMethodDataPaymentOption;
995
+ export declare const makePaymentMethodDataSelectedPaymentOption: () => io.flow.v0.models.PaymentMethodDataSelectedPaymentOption;
1000
996
  export declare const makePaymentMethodDataValidateApplepay: () => io.flow.v0.models.PaymentMethodDataValidateApplepay;
1001
997
  export declare const makePaymentMethodImage: () => io.flow.v0.models.PaymentMethodImage;
1002
998
  export declare const makePaymentMethodImages: () => io.flow.v0.models.PaymentMethodImages;
@@ -1007,6 +1003,7 @@ export declare const makePaymentMethodRuleContentKey: () => "description";
1007
1003
  export declare const makePaymentMethodSummary: () => io.flow.v0.unions.PaymentMethodSummary;
1008
1004
  export declare const makePaymentMethodSummaryAfterpay: () => io.flow.v0.models.PaymentMethodSummaryAfterpay;
1009
1005
  export declare const makePaymentMethodSummaryApplepay: () => io.flow.v0.models.PaymentMethodSummaryApplepay;
1006
+ export declare const makePaymentMethodSummaryBancontact: () => io.flow.v0.models.PaymentMethodSummaryBancontact;
1010
1007
  export declare const makePaymentMethodSummaryCard: () => io.flow.v0.models.PaymentMethodSummaryCard;
1011
1008
  export declare const makePaymentMethodSummaryGooglepay: () => io.flow.v0.models.PaymentMethodSummaryGooglepay;
1012
1009
  export declare const makePaymentMethodSummaryIdeal: () => io.flow.v0.models.PaymentMethodSummaryIdeal;
@@ -1190,6 +1187,7 @@ export declare const makeRegion: () => io.flow.v0.models.Region;
1190
1187
  export declare const makeRegionReference: () => io.flow.v0.models.RegionReference;
1191
1188
  export declare const makeRegionSetting: () => io.flow.v0.models.RegionSetting;
1192
1189
  export declare const makeRegionSettingForm: () => io.flow.v0.models.RegionSettingForm;
1190
+ export declare const makeRegionType: () => io.flow.v0.enums.RegionType;
1193
1191
  export declare const makeRemoteAreaRatecardFee: () => io.flow.v0.models.RemoteAreaRatecardFee;
1194
1192
  export declare const makeRemoteAreaServiceFee: () => io.flow.v0.models.RemoteAreaServiceFee;
1195
1193
  export declare const makeRepeatDaily: () => io.flow.v0.models.RepeatDaily;
@@ -1485,7 +1483,6 @@ export declare const makeTradeAgreementName: () => io.flow.v0.enums.TradeAgreeme
1485
1483
  export declare const makeTradeAgreementStatus: () => io.flow.v0.enums.TradeAgreementStatus;
1486
1484
  export declare const makeTransitEstimate: () => io.flow.v0.models.TransitEstimate;
1487
1485
  export declare const makeTransitWindow: () => io.flow.v0.models.TransitWindow;
1488
- export declare const makeUncertainBoolean: () => io.flow.v0.enums.UncertainBoolean;
1489
1486
  export declare const makeUnharmonizedItemExportType: () => io.flow.v0.models.UnharmonizedItemExportType;
1490
1487
  export declare const makeUnitOfMeasurement: () => io.flow.v0.enums.UnitOfMeasurement;
1491
1488
  export declare const makeUnitOfTime: () => io.flow.v0.enums.UnitOfTime;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@flowio/api-factories",
3
- "version": "0.0.6",
3
+ "version": "0.0.8",
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": "68240f937a91cd6c63c544437ac20e7177074b8d"
39
+ "gitHead": "61b03b38690bbff0fced499b2608f485158cb283"
40
40
  }