@flowio/api-factories 0.0.7 → 0.0.9
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/cjs/api.js +129 -50
- package/dist/esm/api.js +94 -27
- package/dist/types/api.d.ts +14 -2
- package/package.json +2 -2
- package/src/api.ts +110 -29
package/dist/esm/api.js
CHANGED
|
@@ -2829,6 +2829,8 @@ var factories = {
|
|
|
2829
2829
|
'item_origin_deleted',
|
|
2830
2830
|
'harmonized_landed_cost_upserted',
|
|
2831
2831
|
'fully_harmonized_item_upserted',
|
|
2832
|
+
'import_completed_v2',
|
|
2833
|
+
'import_failed_v2',
|
|
2832
2834
|
'rule_upserted',
|
|
2833
2835
|
'rule_deleted',
|
|
2834
2836
|
'snapshot_upserted',
|
|
@@ -3137,7 +3139,7 @@ var factories = {
|
|
|
3137
3139
|
'redirect',
|
|
3138
3140
|
'redirect_get',
|
|
3139
3141
|
'redirect_post',
|
|
3140
|
-
'
|
|
3142
|
+
'select_payment_option',
|
|
3141
3143
|
'use_sdk_klarna_v1',
|
|
3142
3144
|
'use_sdk_applepay_js',
|
|
3143
3145
|
'use_sdk_googlepay',
|
|
@@ -3169,6 +3171,7 @@ var factories = {
|
|
|
3169
3171
|
'payment_checks_declined',
|
|
3170
3172
|
]); },
|
|
3171
3173
|
'io.flow.v0.enums.payment_method_capability': function () { return faker.random.arrayElement(['credit', 'debit']); },
|
|
3174
|
+
'io.flow.v0.enums.payment_method_data_option_type': function () { return faker.random.arrayElement(['ideal_issuer_option']); },
|
|
3172
3175
|
'io.flow.v0.enums.payment_method_rule_content_key': function () { return faker.random.arrayElement(['description']); },
|
|
3173
3176
|
'io.flow.v0.enums.payment_method_type': function () { return faker.random.arrayElement(['card', 'online', 'offline']); },
|
|
3174
3177
|
'io.flow.v0.enums.payment_source_confirmation_action_type': function () { return faker.random.arrayElement(['cvv', 'billing_address', 'number']); },
|
|
@@ -3194,6 +3197,7 @@ var factories = {
|
|
|
3194
3197
|
'ideal',
|
|
3195
3198
|
'sofort',
|
|
3196
3199
|
'afterpay',
|
|
3200
|
+
'bancontact',
|
|
3197
3201
|
]); },
|
|
3198
3202
|
'io.flow.v0.enums.permitted_http_method': function () { return faker.random.arrayElement(['GET', 'POST', 'PUT', 'DELETE', 'PATCH']); },
|
|
3199
3203
|
'io.flow.v0.enums.physical_delivery_special_serivce': function () { return faker.random.arrayElement(['cold_storage', 'hazardous', 'perishable']); },
|
|
@@ -3478,11 +3482,6 @@ var factories = {
|
|
|
3478
3482
|
expires_at: factories.date_time_iso_8601(),
|
|
3479
3483
|
script: factories.string(),
|
|
3480
3484
|
}); },
|
|
3481
|
-
'io.flow.v0.models.action_ideal_select_issuer': function () { return ({
|
|
3482
|
-
type: 'select_ideal_issuer',
|
|
3483
|
-
expires_at: factories.date_time_iso_8601(),
|
|
3484
|
-
issuers: arrayOf(function () { return factories['io.flow.v0.models.ideal_issuer'](); }),
|
|
3485
|
-
}); },
|
|
3486
3485
|
'io.flow.v0.models.action_redirect': function () { return ({
|
|
3487
3486
|
type: 'redirect',
|
|
3488
3487
|
expires_at: factories.date_time_iso_8601(),
|
|
@@ -3490,6 +3489,12 @@ var factories = {
|
|
|
3490
3489
|
url: factories.string(),
|
|
3491
3490
|
data: factories.object(),
|
|
3492
3491
|
}); },
|
|
3492
|
+
'io.flow.v0.models.action_select_payment_option': function () { return ({
|
|
3493
|
+
type: 'select_payment_option',
|
|
3494
|
+
expires_at: factories.date_time_iso_8601(),
|
|
3495
|
+
options: arrayOf(function () { return factories['io.flow.v0.models.payment_method_data_payment_option'](); }),
|
|
3496
|
+
option_type: factories['io.flow.v0.enums.payment_method_data_option_type'](),
|
|
3497
|
+
}); },
|
|
3493
3498
|
'io.flow.v0.models.action_use_sdk_adyen_v3': function () { return ({
|
|
3494
3499
|
type: 'use_sdk_adyen_v3',
|
|
3495
3500
|
expires_at: factories.date_time_iso_8601(),
|
|
@@ -4511,9 +4516,8 @@ var factories = {
|
|
|
4511
4516
|
}); },
|
|
4512
4517
|
'io.flow.v0.models.channel_organization_application': function () { return ({
|
|
4513
4518
|
id: factories.string(),
|
|
4514
|
-
organization: factories['io.flow.v0.models.organization_summary'](),
|
|
4515
4519
|
company: factories['io.flow.v0.models.merchant_info'](),
|
|
4516
|
-
indirect_tax_number: factories.
|
|
4520
|
+
indirect_tax_number: factories.string(),
|
|
4517
4521
|
parent_company: factories['io.flow.v0.models.merchant_info'](),
|
|
4518
4522
|
beneficiary: factories.string(),
|
|
4519
4523
|
business_url: factories.string(),
|
|
@@ -4525,20 +4529,18 @@ var factories = {
|
|
|
4525
4529
|
aba_routing_transit_number: factories.string(),
|
|
4526
4530
|
trade_sector: arrayOf(function () { return factories['io.flow.v0.enums.onboarding_trade_sector'](); }),
|
|
4527
4531
|
other_trade_sector: factories.string(),
|
|
4528
|
-
|
|
4532
|
+
third_party_logistics_partners: arrayOf(function () { return factories['io.flow.v0.models.third_party_logistics_partner'](); }),
|
|
4529
4533
|
average_order_weight: factories.decimal(),
|
|
4530
4534
|
package_dimensions: arrayOf(function () { return factories['io.flow.v0.models.dimension'](); }),
|
|
4531
|
-
|
|
4532
|
-
monthly_average_transactions: factories.long(),
|
|
4535
|
+
monthly_average: factories['io.flow.v0.models.monthly_average'](),
|
|
4533
4536
|
dangerous_goods: arrayOf(function () { return factories['io.flow.v0.enums.onboarding_dangerous_goods'](); }),
|
|
4534
|
-
default_country_of_origin: factories.
|
|
4535
|
-
|
|
4537
|
+
default_country_of_origin: factories.string(),
|
|
4538
|
+
ratecard: factories['io.flow.v0.models.ratecard_reference'](),
|
|
4536
4539
|
created_at: factories.date_time_iso_8601(),
|
|
4537
4540
|
}); },
|
|
4538
4541
|
'io.flow.v0.models.channel_organization_application_form': function () { return ({
|
|
4539
|
-
organization_id: factories.string(),
|
|
4540
4542
|
company: factories['io.flow.v0.models.merchant_info'](),
|
|
4541
|
-
indirect_tax_number: factories.
|
|
4543
|
+
indirect_tax_number: factories.string(),
|
|
4542
4544
|
parent_company: factories['io.flow.v0.models.merchant_info'](),
|
|
4543
4545
|
beneficiary: factories.string(),
|
|
4544
4546
|
business_url: factories.string(),
|
|
@@ -4550,13 +4552,14 @@ var factories = {
|
|
|
4550
4552
|
aba_routing_transit_number: factories.string(),
|
|
4551
4553
|
trade_sector: arrayOf(function () { return factories['io.flow.v0.enums.onboarding_trade_sector'](); }),
|
|
4552
4554
|
other_trade_sector: factories.string(),
|
|
4553
|
-
|
|
4555
|
+
third_party_logistics_partners: arrayOf(function () { return factories['io.flow.v0.models.third_party_logistics_partner'](); }),
|
|
4554
4556
|
average_order_weight: factories.decimal(),
|
|
4555
4557
|
package_dimensions: arrayOf(function () { return factories['io.flow.v0.models.dimension'](); }),
|
|
4556
|
-
|
|
4557
|
-
|
|
4558
|
+
monthly_average_volume_amount: factories.decimal(),
|
|
4559
|
+
monthly_average_volume_currency: factories.string(),
|
|
4560
|
+
monthly_average_number_transactions: factories.long(),
|
|
4558
4561
|
dangerous_goods: arrayOf(function () { return factories['io.flow.v0.enums.onboarding_dangerous_goods'](); }),
|
|
4559
|
-
default_country_of_origin: factories.
|
|
4562
|
+
default_country_of_origin: factories.string(),
|
|
4560
4563
|
ratecard_id: factories.string(),
|
|
4561
4564
|
}); },
|
|
4562
4565
|
'io.flow.v0.models.channel_organization_authorization': function () { return ({
|
|
@@ -6332,11 +6335,6 @@ var factories = {
|
|
|
6332
6335
|
number: factories.string(),
|
|
6333
6336
|
code: factories.string(),
|
|
6334
6337
|
}); },
|
|
6335
|
-
'io.flow.v0.models.ideal_issuer': function () { return ({
|
|
6336
|
-
id: factories.string(),
|
|
6337
|
-
name: factories.string(),
|
|
6338
|
-
images: factories['io.flow.v0.models.payment_method_images'](),
|
|
6339
|
-
}); },
|
|
6340
6338
|
'io.flow.v0.models.identifier_form': function () { return ({
|
|
6341
6339
|
primary: factories.boolean(),
|
|
6342
6340
|
name: factories.string(),
|
|
@@ -6363,6 +6361,18 @@ var factories = {
|
|
|
6363
6361
|
results: factories['io.flow.v0.models.import_results'](),
|
|
6364
6362
|
deliveries: arrayOf(function () { return factories['io.flow.v0.unions.export_delivery'](); }),
|
|
6365
6363
|
}); },
|
|
6364
|
+
'io.flow.v0.models.import_completed_v2': function () { return ({
|
|
6365
|
+
discriminator: 'import_completed_v2',
|
|
6366
|
+
event_id: factories.string(),
|
|
6367
|
+
timestamp: factories.date_time_iso_8601(),
|
|
6368
|
+
'import': factories['io.flow.v0.models.import'](),
|
|
6369
|
+
}); },
|
|
6370
|
+
'io.flow.v0.models.import_failed_v2': function () { return ({
|
|
6371
|
+
discriminator: 'import_failed_v2',
|
|
6372
|
+
event_id: factories.string(),
|
|
6373
|
+
timestamp: factories.date_time_iso_8601(),
|
|
6374
|
+
'import': factories['io.flow.v0.models.import'](),
|
|
6375
|
+
}); },
|
|
6366
6376
|
'io.flow.v0.models.import_form': function () { return ({
|
|
6367
6377
|
type: factories['io.flow.v0.enums.import_type'](),
|
|
6368
6378
|
source_url: factories.string(),
|
|
@@ -7213,6 +7223,14 @@ var factories = {
|
|
|
7213
7223
|
amount: factories.double(),
|
|
7214
7224
|
base: factories['io.flow.v0.models.money'](),
|
|
7215
7225
|
}); },
|
|
7226
|
+
'io.flow.v0.models.monthly_average': function () { return ({
|
|
7227
|
+
volume: factories['io.flow.v0.models.monthly_average_volume'](),
|
|
7228
|
+
number_transactions: factories.long(),
|
|
7229
|
+
}); },
|
|
7230
|
+
'io.flow.v0.models.monthly_average_volume': function () { return ({
|
|
7231
|
+
amount: factories.decimal(),
|
|
7232
|
+
currency: factories.string(),
|
|
7233
|
+
}); },
|
|
7216
7234
|
'io.flow.v0.models.name': function () { return ({
|
|
7217
7235
|
first: factories.string(),
|
|
7218
7236
|
last: factories.string(),
|
|
@@ -8390,6 +8408,10 @@ var factories = {
|
|
|
8390
8408
|
type: 'init_applepay',
|
|
8391
8409
|
placeholder: factories.string(),
|
|
8392
8410
|
}); },
|
|
8411
|
+
'io.flow.v0.models.payment_method_data_init_bancontact': function () { return ({
|
|
8412
|
+
type: 'init_bancontact',
|
|
8413
|
+
placeholder: factories.string(),
|
|
8414
|
+
}); },
|
|
8393
8415
|
'io.flow.v0.models.payment_method_data_init_googlepay': function () { return ({
|
|
8394
8416
|
type: 'init_googlepay',
|
|
8395
8417
|
placeholder: factories.string(),
|
|
@@ -8410,6 +8432,19 @@ var factories = {
|
|
|
8410
8432
|
type: 'init_sofort',
|
|
8411
8433
|
placeholder: factories.string(),
|
|
8412
8434
|
}); },
|
|
8435
|
+
'io.flow.v0.models.payment_method_data_option_logo_svg': function () { return ({
|
|
8436
|
+
type: 'svg',
|
|
8437
|
+
url: factories.string(),
|
|
8438
|
+
}); },
|
|
8439
|
+
'io.flow.v0.models.payment_method_data_payment_option': function () { return ({
|
|
8440
|
+
id: factories.string(),
|
|
8441
|
+
name: factories.string(),
|
|
8442
|
+
logo: arrayOf(function () { return factories['io.flow.v0.unions.payment_method_data_option_logo'](); }),
|
|
8443
|
+
}); },
|
|
8444
|
+
'io.flow.v0.models.payment_method_data_selected_payment_option': function () { return ({
|
|
8445
|
+
type: 'select_option',
|
|
8446
|
+
option_id: factories.string(),
|
|
8447
|
+
}); },
|
|
8413
8448
|
'io.flow.v0.models.payment_method_data_validate_applepay': function () { return ({
|
|
8414
8449
|
type: 'validate_applepay',
|
|
8415
8450
|
validation_url: factories.string(),
|
|
@@ -8449,6 +8484,10 @@ var factories = {
|
|
|
8449
8484
|
type: 'applepay',
|
|
8450
8485
|
merchant_of_record: factories['io.flow.v0.enums.merchant_of_record'](),
|
|
8451
8486
|
}); },
|
|
8487
|
+
'io.flow.v0.models.payment_method_summary_bancontact': function () { return ({
|
|
8488
|
+
type: 'bancontact',
|
|
8489
|
+
merchant_of_record: factories['io.flow.v0.enums.merchant_of_record'](),
|
|
8490
|
+
}); },
|
|
8452
8491
|
'io.flow.v0.models.payment_method_summary_card': function () { return ({
|
|
8453
8492
|
type: 'card',
|
|
8454
8493
|
merchant_of_record: factories['io.flow.v0.enums.merchant_of_record'](),
|
|
@@ -10617,6 +10656,13 @@ var factories = {
|
|
|
10617
10656
|
types: arrayOf(function () { return factories['io.flow.v0.enums.tax_report_type'](); }),
|
|
10618
10657
|
email_recipients: arrayOf(function () { return factories.string(); }),
|
|
10619
10658
|
}); },
|
|
10659
|
+
'io.flow.v0.models.test': function () { return ({
|
|
10660
|
+
id: factories.string(),
|
|
10661
|
+
name: factories.string(),
|
|
10662
|
+
}); },
|
|
10663
|
+
'io.flow.v0.models.test_form': function () { return ({
|
|
10664
|
+
name: factories.string(),
|
|
10665
|
+
}); },
|
|
10620
10666
|
'io.flow.v0.models.third_party_logistics_partner': function () { return ({
|
|
10621
10667
|
warehouse_address: factories['io.flow.v0.models.billing_address'](),
|
|
10622
10668
|
warehouse_url: factories.string(),
|
|
@@ -11101,7 +11147,7 @@ var factories = {
|
|
|
11101
11147
|
function () { return factories['io.flow.v0.models.action_use_sdk_stripe_v3'](); },
|
|
11102
11148
|
function () { return factories['io.flow.v0.models.action_use_sdk_adyen_v3'](); },
|
|
11103
11149
|
function () { return factories['io.flow.v0.models.action_use_sdk_adyen_v4'](); },
|
|
11104
|
-
function () { return factories['io.flow.v0.models.
|
|
11150
|
+
function () { return factories['io.flow.v0.models.action_select_payment_option'](); },
|
|
11105
11151
|
function () { return factories['io.flow.v0.models.action_execute_script'](); },
|
|
11106
11152
|
function () { return factories['io.flow.v0.models.action_display_inline_window'](); },
|
|
11107
11153
|
function () { return factories['io.flow.v0.models.action_wait'](); },
|
|
@@ -11375,6 +11421,8 @@ var factories = {
|
|
|
11375
11421
|
function () { return factories['io.flow.v0.models.item_origin_deleted'](); },
|
|
11376
11422
|
function () { return factories['io.flow.v0.models.harmonized_landed_cost_upserted'](); },
|
|
11377
11423
|
function () { return factories['io.flow.v0.models.fully_harmonized_item_upserted'](); },
|
|
11424
|
+
function () { return factories['io.flow.v0.models.import_completed_v2'](); },
|
|
11425
|
+
function () { return factories['io.flow.v0.models.import_failed_v2'](); },
|
|
11378
11426
|
function () { return factories['io.flow.v0.models.rule_upserted'](); },
|
|
11379
11427
|
function () { return factories['io.flow.v0.models.rule_deleted'](); },
|
|
11380
11428
|
function () { return factories['io.flow.v0.models.snapshot_upserted'](); },
|
|
@@ -11676,12 +11724,14 @@ var factories = {
|
|
|
11676
11724
|
function () { return factories['io.flow.v0.models.payment_method_data_init_paypal'](); },
|
|
11677
11725
|
function () { return factories['io.flow.v0.models.payment_method_data_init_ideal'](); },
|
|
11678
11726
|
function () { return factories['io.flow.v0.models.payment_method_data_init_sofort'](); },
|
|
11727
|
+
function () { return factories['io.flow.v0.models.payment_method_data_init_bancontact'](); },
|
|
11679
11728
|
function () { return factories['io.flow.v0.models.payment_method_data_validate_applepay'](); },
|
|
11680
11729
|
function () { return factories['io.flow.v0.models.payment_method_data_authorize_card'](); },
|
|
11681
11730
|
function () { return factories['io.flow.v0.models.payment_method_data_authorize_googlepay'](); },
|
|
11682
11731
|
function () { return factories['io.flow.v0.models.payment_method_data_authorize_applepay'](); },
|
|
11683
11732
|
function () { return factories['io.flow.v0.models.payment_method_data_authorize_paypal'](); },
|
|
11684
11733
|
function () { return factories['io.flow.v0.models.payment_method_data_authorize_klarna'](); },
|
|
11734
|
+
function () { return factories['io.flow.v0.models.payment_method_data_selected_payment_option'](); },
|
|
11685
11735
|
function () { return factories['io.flow.v0.models.payment_method_data_complete_authorization_card'](); },
|
|
11686
11736
|
]);
|
|
11687
11737
|
return f();
|
|
@@ -11693,6 +11743,10 @@ var factories = {
|
|
|
11693
11743
|
]);
|
|
11694
11744
|
return f();
|
|
11695
11745
|
},
|
|
11746
|
+
'io.flow.v0.unions.payment_method_data_option_logo': function () {
|
|
11747
|
+
var f = faker.random.arrayElement([function () { return factories['io.flow.v0.models.payment_method_data_option_logo_svg'](); }]);
|
|
11748
|
+
return f();
|
|
11749
|
+
},
|
|
11696
11750
|
'io.flow.v0.unions.payment_method_summary': function () {
|
|
11697
11751
|
var f = faker.random.arrayElement([
|
|
11698
11752
|
function () { return factories['io.flow.v0.models.payment_method_summary_card'](); },
|
|
@@ -11703,6 +11757,7 @@ var factories = {
|
|
|
11703
11757
|
function () { return factories['io.flow.v0.models.payment_method_summary_paypal'](); },
|
|
11704
11758
|
function () { return factories['io.flow.v0.models.payment_method_summary_ideal'](); },
|
|
11705
11759
|
function () { return factories['io.flow.v0.models.payment_method_summary_sofort'](); },
|
|
11760
|
+
function () { return factories['io.flow.v0.models.payment_method_summary_bancontact'](); },
|
|
11706
11761
|
]);
|
|
11707
11762
|
return f();
|
|
11708
11763
|
},
|
|
@@ -11936,8 +11991,8 @@ export var makeAchAuthorizationForm = function () { return factories['io.flow.v0
|
|
|
11936
11991
|
export var makeAction = function () { return factories['io.flow.v0.unions.action'](); };
|
|
11937
11992
|
export var makeActionDisplayInlineWindow = function () { return factories['io.flow.v0.models.action_display_inline_window'](); };
|
|
11938
11993
|
export var makeActionExecuteScript = function () { return factories['io.flow.v0.models.action_execute_script'](); };
|
|
11939
|
-
export var makeActionIdealSelectIssuer = function () { return factories['io.flow.v0.models.action_ideal_select_issuer'](); };
|
|
11940
11994
|
export var makeActionRedirect = function () { return factories['io.flow.v0.models.action_redirect'](); };
|
|
11995
|
+
export var makeActionSelectPaymentOption = function () { return factories['io.flow.v0.models.action_select_payment_option'](); };
|
|
11941
11996
|
export var makeActionUseSdkAdyenV3 = function () { return factories['io.flow.v0.models.action_use_sdk_adyen_v3'](); };
|
|
11942
11997
|
export var makeActionUseSdkAdyenV4 = function () { return factories['io.flow.v0.models.action_use_sdk_adyen_v4'](); };
|
|
11943
11998
|
export var makeActionUseSdkApplepayJsCompleteValidation = function () { return factories['io.flow.v0.models.action_use_sdk_applepay_js_complete_validation'](); };
|
|
@@ -12508,12 +12563,13 @@ export var makeHs10Version = function () { return factories['io.flow.v0.models.h
|
|
|
12508
12563
|
export var makeHs6 = function () { return factories['io.flow.v0.models.hs6'](); };
|
|
12509
12564
|
export var makeHs6CodeDeleted = function () { return factories['io.flow.v0.models.hs6_code_deleted'](); };
|
|
12510
12565
|
export var makeHs6CodeUpserted = function () { return factories['io.flow.v0.models.hs6_code_upserted'](); };
|
|
12511
|
-
export var makeIdealIssuer = function () { return factories['io.flow.v0.models.ideal_issuer'](); };
|
|
12512
12566
|
export var makeIdentifierForm = function () { return factories['io.flow.v0.models.identifier_form'](); };
|
|
12513
12567
|
export var makeImage = function () { return factories['io.flow.v0.models.image'](); };
|
|
12514
12568
|
export var makeImageForm = function () { return factories['io.flow.v0.models.image_form'](); };
|
|
12515
12569
|
export var makeImageTag = function () { return factories['io.flow.v0.enums.image_tag'](); };
|
|
12516
12570
|
export var makeImport = function () { return factories['io.flow.v0.models.import'](); };
|
|
12571
|
+
export var makeImportCompletedV2 = function () { return factories['io.flow.v0.models.import_completed_v2'](); };
|
|
12572
|
+
export var makeImportFailedV2 = function () { return factories['io.flow.v0.models.import_failed_v2'](); };
|
|
12517
12573
|
export var makeImportForm = function () { return factories['io.flow.v0.models.import_form'](); };
|
|
12518
12574
|
export var makeImportResults = function () { return factories['io.flow.v0.models.import_results'](); };
|
|
12519
12575
|
export var makeImportTemplate = function () { return factories['io.flow.v0.models.import_template'](); };
|
|
@@ -12676,6 +12732,8 @@ export var makeMethod = function () { return factories['io.flow.v0.enums.method'
|
|
|
12676
12732
|
export var makeMoney = function () { return factories['io.flow.v0.models.money'](); };
|
|
12677
12733
|
export var makeMoneyWithBase = function () { return factories['io.flow.v0.models.money_with_base'](); };
|
|
12678
12734
|
export var makeMoneyWithOptionalBase = function () { return factories['io.flow.v0.models.money_with_optional_base'](); };
|
|
12735
|
+
export var makeMonthlyAverage = function () { return factories['io.flow.v0.models.monthly_average'](); };
|
|
12736
|
+
export var makeMonthlyAverageVolume = function () { return factories['io.flow.v0.models.monthly_average_volume'](); };
|
|
12679
12737
|
export var makeName = function () { return factories['io.flow.v0.models.name'](); };
|
|
12680
12738
|
export var makeNameForm = function () { return factories['io.flow.v0.models.name_form'](); };
|
|
12681
12739
|
export var makeNoInventoryReservationError = function () { return factories['io.flow.v0.models.no_inventory_reservation_error'](); };
|
|
@@ -12906,11 +12964,17 @@ export var makePaymentMethodDataAuthorizePaypal = function () { return factories
|
|
|
12906
12964
|
export var makePaymentMethodDataCompleteAuthorizationCard = function () { return factories['io.flow.v0.models.payment_method_data_complete_authorization_card'](); };
|
|
12907
12965
|
export var makePaymentMethodDataInitAfterpay = function () { return factories['io.flow.v0.models.payment_method_data_init_afterpay'](); };
|
|
12908
12966
|
export var makePaymentMethodDataInitApplepay = function () { return factories['io.flow.v0.models.payment_method_data_init_applepay'](); };
|
|
12967
|
+
export var makePaymentMethodDataInitBancontact = function () { return factories['io.flow.v0.models.payment_method_data_init_bancontact'](); };
|
|
12909
12968
|
export var makePaymentMethodDataInitGooglepay = function () { return factories['io.flow.v0.models.payment_method_data_init_googlepay'](); };
|
|
12910
12969
|
export var makePaymentMethodDataInitIdeal = function () { return factories['io.flow.v0.models.payment_method_data_init_ideal'](); };
|
|
12911
12970
|
export var makePaymentMethodDataInitKlarna = function () { return factories['io.flow.v0.models.payment_method_data_init_klarna'](); };
|
|
12912
12971
|
export var makePaymentMethodDataInitPaypal = function () { return factories['io.flow.v0.models.payment_method_data_init_paypal'](); };
|
|
12913
12972
|
export var makePaymentMethodDataInitSofort = function () { return factories['io.flow.v0.models.payment_method_data_init_sofort'](); };
|
|
12973
|
+
export var makePaymentMethodDataOptionLogo = function () { return factories['io.flow.v0.unions.payment_method_data_option_logo'](); };
|
|
12974
|
+
export var makePaymentMethodDataOptionLogoSvg = function () { return factories['io.flow.v0.models.payment_method_data_option_logo_svg'](); };
|
|
12975
|
+
export var makePaymentMethodDataOptionType = function () { return factories['io.flow.v0.enums.payment_method_data_option_type'](); };
|
|
12976
|
+
export var makePaymentMethodDataPaymentOption = function () { return factories['io.flow.v0.models.payment_method_data_payment_option'](); };
|
|
12977
|
+
export var makePaymentMethodDataSelectedPaymentOption = function () { return factories['io.flow.v0.models.payment_method_data_selected_payment_option'](); };
|
|
12914
12978
|
export var makePaymentMethodDataValidateApplepay = function () { return factories['io.flow.v0.models.payment_method_data_validate_applepay'](); };
|
|
12915
12979
|
export var makePaymentMethodImage = function () { return factories['io.flow.v0.models.payment_method_image'](); };
|
|
12916
12980
|
export var makePaymentMethodImages = function () { return factories['io.flow.v0.models.payment_method_images'](); };
|
|
@@ -12921,6 +12985,7 @@ export var makePaymentMethodRuleContentKey = function () { return factories['io.
|
|
|
12921
12985
|
export var makePaymentMethodSummary = function () { return factories['io.flow.v0.unions.payment_method_summary'](); };
|
|
12922
12986
|
export var makePaymentMethodSummaryAfterpay = function () { return factories['io.flow.v0.models.payment_method_summary_afterpay'](); };
|
|
12923
12987
|
export var makePaymentMethodSummaryApplepay = function () { return factories['io.flow.v0.models.payment_method_summary_applepay'](); };
|
|
12988
|
+
export var makePaymentMethodSummaryBancontact = function () { return factories['io.flow.v0.models.payment_method_summary_bancontact'](); };
|
|
12924
12989
|
export var makePaymentMethodSummaryCard = function () { return factories['io.flow.v0.models.payment_method_summary_card'](); };
|
|
12925
12990
|
export var makePaymentMethodSummaryGooglepay = function () { return factories['io.flow.v0.models.payment_method_summary_googlepay'](); };
|
|
12926
12991
|
export var makePaymentMethodSummaryIdeal = function () { return factories['io.flow.v0.models.payment_method_summary_ideal'](); };
|
|
@@ -13340,6 +13405,8 @@ export var makeTaxSetting = function () { return factories['io.flow.v0.unions.ta
|
|
|
13340
13405
|
export var makeTaxVerificationResult = function () { return factories['io.flow.v0.enums.tax_verification_result'](); };
|
|
13341
13406
|
export var makeTaxabilityType = function () { return factories['io.flow.v0.enums.taxability_type'](); };
|
|
13342
13407
|
export var makeTaxabilityValue = function () { return factories['io.flow.v0.enums.taxability_value'](); };
|
|
13408
|
+
export var makeTest = function () { return factories['io.flow.v0.models.test'](); };
|
|
13409
|
+
export var makeTestForm = function () { return factories['io.flow.v0.models.test_form'](); };
|
|
13343
13410
|
export var makeThirdPartyLogisticsPartner = function () { return factories['io.flow.v0.models.third_party_logistics_partner'](); };
|
|
13344
13411
|
export var makeThirdPartyLogisticsPickUpTimeWindow = function () { return factories['io.flow.v0.models.third_party_logistics_pick_up_time_window'](); };
|
|
13345
13412
|
export var makeThreeDSecure = function () { return factories['io.flow.v0.models.three_d_secure'](); };
|
package/dist/types/api.d.ts
CHANGED
|
@@ -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;
|
|
@@ -585,12 +585,13 @@ export declare const makeHs10Version: () => io.flow.v0.models.Hs10Version;
|
|
|
585
585
|
export declare const makeHs6: () => io.flow.v0.models.Hs6;
|
|
586
586
|
export declare const makeHs6CodeDeleted: () => io.flow.v0.models.Hs6CodeDeleted;
|
|
587
587
|
export declare const makeHs6CodeUpserted: () => io.flow.v0.models.Hs6CodeUpserted;
|
|
588
|
-
export declare const makeIdealIssuer: () => io.flow.v0.models.IdealIssuer;
|
|
589
588
|
export declare const makeIdentifierForm: () => io.flow.v0.models.IdentifierForm;
|
|
590
589
|
export declare const makeImage: () => io.flow.v0.models.Image;
|
|
591
590
|
export declare const makeImageForm: () => io.flow.v0.models.ImageForm;
|
|
592
591
|
export declare const makeImageTag: () => io.flow.v0.enums.ImageTag;
|
|
593
592
|
export declare const makeImport: () => io.flow.v0.models.Import;
|
|
593
|
+
export declare const makeImportCompletedV2: () => io.flow.v0.models.ImportCompletedV2;
|
|
594
|
+
export declare const makeImportFailedV2: () => io.flow.v0.models.ImportFailedV2;
|
|
594
595
|
export declare const makeImportForm: () => io.flow.v0.models.ImportForm;
|
|
595
596
|
export declare const makeImportResults: () => io.flow.v0.models.ImportResults;
|
|
596
597
|
export declare const makeImportTemplate: () => io.flow.v0.models.ImportTemplate;
|
|
@@ -753,6 +754,8 @@ export declare const makeMethod: () => "post";
|
|
|
753
754
|
export declare const makeMoney: () => io.flow.v0.models.Money;
|
|
754
755
|
export declare const makeMoneyWithBase: () => io.flow.v0.models.MoneyWithBase;
|
|
755
756
|
export declare const makeMoneyWithOptionalBase: () => io.flow.v0.models.MoneyWithOptionalBase;
|
|
757
|
+
export declare const makeMonthlyAverage: () => io.flow.v0.models.MonthlyAverage;
|
|
758
|
+
export declare const makeMonthlyAverageVolume: () => io.flow.v0.models.MonthlyAverageVolume;
|
|
756
759
|
export declare const makeName: () => io.flow.v0.models.Name;
|
|
757
760
|
export declare const makeNameForm: () => io.flow.v0.models.NameForm;
|
|
758
761
|
export declare const makeNoInventoryReservationError: () => io.flow.v0.models.NoInventoryReservationError;
|
|
@@ -983,11 +986,17 @@ export declare const makePaymentMethodDataAuthorizePaypal: () => io.flow.v0.mode
|
|
|
983
986
|
export declare const makePaymentMethodDataCompleteAuthorizationCard: () => io.flow.v0.models.PaymentMethodDataCompleteAuthorizationCard;
|
|
984
987
|
export declare const makePaymentMethodDataInitAfterpay: () => io.flow.v0.models.PaymentMethodDataInitAfterpay;
|
|
985
988
|
export declare const makePaymentMethodDataInitApplepay: () => io.flow.v0.models.PaymentMethodDataInitApplepay;
|
|
989
|
+
export declare const makePaymentMethodDataInitBancontact: () => io.flow.v0.models.PaymentMethodDataInitBancontact;
|
|
986
990
|
export declare const makePaymentMethodDataInitGooglepay: () => io.flow.v0.models.PaymentMethodDataInitGooglepay;
|
|
987
991
|
export declare const makePaymentMethodDataInitIdeal: () => io.flow.v0.models.PaymentMethodDataInitIdeal;
|
|
988
992
|
export declare const makePaymentMethodDataInitKlarna: () => io.flow.v0.models.PaymentMethodDataInitKlarna;
|
|
989
993
|
export declare const makePaymentMethodDataInitPaypal: () => io.flow.v0.models.PaymentMethodDataInitPaypal;
|
|
990
994
|
export declare const makePaymentMethodDataInitSofort: () => io.flow.v0.models.PaymentMethodDataInitSofort;
|
|
995
|
+
export declare const makePaymentMethodDataOptionLogo: () => io.flow.v0.models.PaymentMethodDataOptionLogoSvg;
|
|
996
|
+
export declare const makePaymentMethodDataOptionLogoSvg: () => io.flow.v0.models.PaymentMethodDataOptionLogoSvg;
|
|
997
|
+
export declare const makePaymentMethodDataOptionType: () => "ideal_issuer_option";
|
|
998
|
+
export declare const makePaymentMethodDataPaymentOption: () => io.flow.v0.models.PaymentMethodDataPaymentOption;
|
|
999
|
+
export declare const makePaymentMethodDataSelectedPaymentOption: () => io.flow.v0.models.PaymentMethodDataSelectedPaymentOption;
|
|
991
1000
|
export declare const makePaymentMethodDataValidateApplepay: () => io.flow.v0.models.PaymentMethodDataValidateApplepay;
|
|
992
1001
|
export declare const makePaymentMethodImage: () => io.flow.v0.models.PaymentMethodImage;
|
|
993
1002
|
export declare const makePaymentMethodImages: () => io.flow.v0.models.PaymentMethodImages;
|
|
@@ -998,6 +1007,7 @@ export declare const makePaymentMethodRuleContentKey: () => "description";
|
|
|
998
1007
|
export declare const makePaymentMethodSummary: () => io.flow.v0.unions.PaymentMethodSummary;
|
|
999
1008
|
export declare const makePaymentMethodSummaryAfterpay: () => io.flow.v0.models.PaymentMethodSummaryAfterpay;
|
|
1000
1009
|
export declare const makePaymentMethodSummaryApplepay: () => io.flow.v0.models.PaymentMethodSummaryApplepay;
|
|
1010
|
+
export declare const makePaymentMethodSummaryBancontact: () => io.flow.v0.models.PaymentMethodSummaryBancontact;
|
|
1001
1011
|
export declare const makePaymentMethodSummaryCard: () => io.flow.v0.models.PaymentMethodSummaryCard;
|
|
1002
1012
|
export declare const makePaymentMethodSummaryGooglepay: () => io.flow.v0.models.PaymentMethodSummaryGooglepay;
|
|
1003
1013
|
export declare const makePaymentMethodSummaryIdeal: () => io.flow.v0.models.PaymentMethodSummaryIdeal;
|
|
@@ -1417,6 +1427,8 @@ export declare const makeTaxSetting: () => io.flow.v0.unions.TaxSetting;
|
|
|
1417
1427
|
export declare const makeTaxVerificationResult: () => io.flow.v0.enums.TaxVerificationResult;
|
|
1418
1428
|
export declare const makeTaxabilityType: () => "tax_rule";
|
|
1419
1429
|
export declare const makeTaxabilityValue: () => "exempt";
|
|
1430
|
+
export declare const makeTest: () => io.flow.v0.models.Test;
|
|
1431
|
+
export declare const makeTestForm: () => io.flow.v0.models.TestForm;
|
|
1420
1432
|
export declare const makeThirdPartyLogisticsPartner: () => io.flow.v0.models.ThirdPartyLogisticsPartner;
|
|
1421
1433
|
export declare const makeThirdPartyLogisticsPickUpTimeWindow: () => io.flow.v0.models.ThirdPartyLogisticsPickUpTimeWindow;
|
|
1422
1434
|
export declare const makeThreeDSecure: () => io.flow.v0.models.ThreeDSecure;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@flowio/api-factories",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.9",
|
|
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": "
|
|
39
|
+
"gitHead": "3b122354aae32b4fc585191f2eb6810259ae8787"
|
|
40
40
|
}
|