@flowio/api-factories 0.0.89 → 0.0.92
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 +150 -24
- package/dist/esm/api.js +116 -2
- package/dist/types/api.d.ts +12 -0
- package/package.json +2 -2
- package/src/api.ts +130 -2
package/dist/esm/api.js
CHANGED
|
@@ -1625,7 +1625,15 @@ var factories = {
|
|
|
1625
1625
|
'it-CH',
|
|
1626
1626
|
'en-CH',
|
|
1627
1627
|
]); },
|
|
1628
|
-
'io.flow.stripe.v0.enums.refund_failure_reason': function () { return faker.helpers.arrayElement([
|
|
1628
|
+
'io.flow.stripe.v0.enums.refund_failure_reason': function () { return faker.helpers.arrayElement([
|
|
1629
|
+
'charge_for_pending_refund_disputed',
|
|
1630
|
+
'declined',
|
|
1631
|
+
'expired_or_canceled_card',
|
|
1632
|
+
'insufficient_funds',
|
|
1633
|
+
'lost_or_stolen_card',
|
|
1634
|
+
'merchant_request',
|
|
1635
|
+
'unknown',
|
|
1636
|
+
]); },
|
|
1629
1637
|
'io.flow.stripe.v0.enums.refund_reason': function () { return faker.helpers.arrayElement(['duplicate', 'fraudulent', 'requested_by_customer']); },
|
|
1630
1638
|
'io.flow.stripe.v0.enums.refund_status': function () { return faker.helpers.arrayElement(['succeeded', 'failed', 'pending', 'canceled']); },
|
|
1631
1639
|
'io.flow.stripe.v0.enums.request_three_d_secure_type': function () { return faker.helpers.arrayElement(['automatic', 'any']); },
|
|
@@ -2930,6 +2938,9 @@ var factories = {
|
|
|
2930
2938
|
'subcatalog_item_deleted',
|
|
2931
2939
|
'catalog_statistics_upserted',
|
|
2932
2940
|
'catalog_statistics_deleted',
|
|
2941
|
+
'item_inserted',
|
|
2942
|
+
'item_updated',
|
|
2943
|
+
'item_deleted',
|
|
2933
2944
|
'channel_upserted',
|
|
2934
2945
|
'channel_deleted',
|
|
2935
2946
|
'channel_currency_upserted',
|
|
@@ -3118,7 +3129,7 @@ var factories = {
|
|
|
3118
3129
|
'negative_balance_guarantee',
|
|
3119
3130
|
]); },
|
|
3120
3131
|
'io.flow.v0.enums.flow_behavior': function () { return faker.helpers.arrayElement(['view_consumer_data']); },
|
|
3121
|
-
'io.flow.v0.enums.flow_entity': function () { return faker.helpers.arrayElement(['flow-usa', 'flow-irl', 'flow-can']); },
|
|
3132
|
+
'io.flow.v0.enums.flow_entity': function () { return faker.helpers.arrayElement(['flow-usa', 'flow-irl', 'flow-can', 'ge-usa']); },
|
|
3122
3133
|
'io.flow.v0.enums.flow_role': function () { return faker.helpers.arrayElement([
|
|
3123
3134
|
'organization_admin',
|
|
3124
3135
|
'organization_merchant',
|
|
@@ -3424,6 +3435,10 @@ var factories = {
|
|
|
3424
3435
|
'bancontact',
|
|
3425
3436
|
'twint',
|
|
3426
3437
|
'przelewy24',
|
|
3438
|
+
'mobilepay',
|
|
3439
|
+
'grabpay',
|
|
3440
|
+
'vipps',
|
|
3441
|
+
'kcp_creditcard',
|
|
3427
3442
|
]); },
|
|
3428
3443
|
'io.flow.v0.enums.payout_attachment_type': function () { return faker.helpers.arrayElement(['transactions']); },
|
|
3429
3444
|
'io.flow.v0.enums.payout_status_failure_code': function () { return faker.helpers.arrayElement(['invalid_account_number', 'account_closed', 'could_not_process']); },
|
|
@@ -3524,6 +3539,20 @@ var factories = {
|
|
|
3524
3539
|
'io.flow.v0.enums.quote_error_code': function () { return faker.helpers.arrayElement(['generic_error', 'items_not_available', 'shipping_unavailable']); },
|
|
3525
3540
|
'io.flow.v0.enums.ratecard_owner': function () { return faker.helpers.arrayElement(['flow', 'organization']); },
|
|
3526
3541
|
'io.flow.v0.enums.refund_decline_code': function () { return faker.helpers.arrayElement(['expired', 'insufficient_funds', 'unknown']); },
|
|
3542
|
+
'io.flow.v0.enums.refund_failure_category': function () { return faker.helpers.arrayElement([
|
|
3543
|
+
'amount_too_high',
|
|
3544
|
+
'amount_too_low',
|
|
3545
|
+
'not_enough_balance',
|
|
3546
|
+
'insufficient_funds',
|
|
3547
|
+
'refund_period_expired',
|
|
3548
|
+
'dispute',
|
|
3549
|
+
'not_captured',
|
|
3550
|
+
'unsupported_payment_method',
|
|
3551
|
+
'unsupported_partial_refund',
|
|
3552
|
+
'invalid_currency',
|
|
3553
|
+
'card_no_longer_valid',
|
|
3554
|
+
'general',
|
|
3555
|
+
]); },
|
|
3527
3556
|
'io.flow.v0.enums.refund_status': function () { return faker.helpers.arrayElement(['pending', 'succeeded', 'failed', 'canceled']); },
|
|
3528
3557
|
'io.flow.v0.enums.region_type': function () { return faker.helpers.arrayElement(['state', 'province', 'jurisdiction']); },
|
|
3529
3558
|
'io.flow.v0.enums.restricted_review_status': function () { return faker.helpers.arrayElement(['in_review', 'reviewed']); },
|
|
@@ -3659,6 +3688,7 @@ var factories = {
|
|
|
3659
3688
|
'virtual_card_capture',
|
|
3660
3689
|
'virtual_card_refund',
|
|
3661
3690
|
'failed_payout',
|
|
3691
|
+
'tax_refund',
|
|
3662
3692
|
]); },
|
|
3663
3693
|
'io.flow.v0.enums.trueup_source': function () { return faker.helpers.arrayElement(['flow', 'channel', 'dhl-parcel', 'dhl', 'ups']); },
|
|
3664
3694
|
'io.flow.v0.enums.trueup_surcharge_type': function () { return faker.helpers.arrayElement([
|
|
@@ -3679,6 +3709,7 @@ var factories = {
|
|
|
3679
3709
|
'direct_delivery',
|
|
3680
3710
|
'saturday_stop',
|
|
3681
3711
|
'residential_extended_area_pickup',
|
|
3712
|
+
'package_level_detail',
|
|
3682
3713
|
]); },
|
|
3683
3714
|
'io.flow.v0.enums.unit_of_length': function () { return faker.helpers.arrayElement(['millimeter', 'centimeter', 'inch', 'foot', 'meter']); },
|
|
3684
3715
|
'io.flow.v0.enums.unit_of_measurement': function () { return faker.helpers.arrayElement([
|
|
@@ -4490,6 +4521,7 @@ var factories = {
|
|
|
4490
4521
|
items: arrayOf(function () { return factories['io.flow.v0.models.line_item_form'](); }),
|
|
4491
4522
|
'package': factories['io.flow.v0.models.shipping_label_package'](),
|
|
4492
4523
|
origin: factories['io.flow.v0.models.shipping_address'](),
|
|
4524
|
+
direction: factories['io.flow.v0.enums.direction'](),
|
|
4493
4525
|
}); },
|
|
4494
4526
|
'io.flow.v0.models.browse_optin_responses': function () { return ({
|
|
4495
4527
|
id: factories.string(),
|
|
@@ -7326,6 +7358,13 @@ var factories = {
|
|
|
7326
7358
|
'io.flow.v0.models.item_attributes_patch_form': function () { return ({
|
|
7327
7359
|
attributes: objectOf(function () { return factories.string(); }),
|
|
7328
7360
|
}); },
|
|
7361
|
+
'io.flow.v0.models.item_deleted': function () { return ({
|
|
7362
|
+
discriminator: 'item_deleted',
|
|
7363
|
+
event_id: factories.string(),
|
|
7364
|
+
timestamp: factories.date_time_iso_8601(),
|
|
7365
|
+
organization: factories.string(),
|
|
7366
|
+
item: factories['io.flow.v0.models.item'](),
|
|
7367
|
+
}); },
|
|
7329
7368
|
'io.flow.v0.models.item_form': function () { return ({
|
|
7330
7369
|
number: factories.string(),
|
|
7331
7370
|
locale: factories.string(),
|
|
@@ -7361,6 +7400,13 @@ var factories = {
|
|
|
7361
7400
|
dimensions: factories['io.flow.v0.models.dimensions'](),
|
|
7362
7401
|
images: arrayOf(function () { return factories['io.flow.v0.models.image_form'](); }),
|
|
7363
7402
|
}); },
|
|
7403
|
+
'io.flow.v0.models.item_inserted': function () { return ({
|
|
7404
|
+
discriminator: 'item_inserted',
|
|
7405
|
+
event_id: factories.string(),
|
|
7406
|
+
timestamp: factories.date_time_iso_8601(),
|
|
7407
|
+
organization: factories.string(),
|
|
7408
|
+
item: factories['io.flow.v0.models.item'](),
|
|
7409
|
+
}); },
|
|
7364
7410
|
'io.flow.v0.models.item_margin': function () { return ({
|
|
7365
7411
|
id: factories.string(),
|
|
7366
7412
|
key: factories.string(),
|
|
@@ -7469,6 +7515,13 @@ var factories = {
|
|
|
7469
7515
|
items: factories.long(),
|
|
7470
7516
|
categories: factories.long(),
|
|
7471
7517
|
}); },
|
|
7518
|
+
'io.flow.v0.models.item_updated': function () { return ({
|
|
7519
|
+
discriminator: 'item_updated',
|
|
7520
|
+
event_id: factories.string(),
|
|
7521
|
+
timestamp: factories.date_time_iso_8601(),
|
|
7522
|
+
organization: factories.string(),
|
|
7523
|
+
item: factories['io.flow.v0.models.item'](),
|
|
7524
|
+
}); },
|
|
7472
7525
|
'io.flow.v0.models.item_version': function () { return ({
|
|
7473
7526
|
id: factories.string(),
|
|
7474
7527
|
timestamp: factories.date_time_iso_8601(),
|
|
@@ -9348,15 +9401,27 @@ var factories = {
|
|
|
9348
9401
|
type: 'init_googlepay',
|
|
9349
9402
|
reference: factories.string(),
|
|
9350
9403
|
}); },
|
|
9404
|
+
'io.flow.v0.models.payment_method_data_init_grabpay': function () { return ({
|
|
9405
|
+
type: 'init_grabpay',
|
|
9406
|
+
reference: factories.string(),
|
|
9407
|
+
}); },
|
|
9351
9408
|
'io.flow.v0.models.payment_method_data_init_ideal': function () { return ({
|
|
9352
9409
|
type: 'init_ideal',
|
|
9353
9410
|
issuer: factories.string(),
|
|
9354
9411
|
reference: factories.string(),
|
|
9355
9412
|
}); },
|
|
9413
|
+
'io.flow.v0.models.payment_method_data_init_kcp_creditcard': function () { return ({
|
|
9414
|
+
type: 'init_kcp_creditcard',
|
|
9415
|
+
reference: factories.string(),
|
|
9416
|
+
}); },
|
|
9356
9417
|
'io.flow.v0.models.payment_method_data_init_klarna': function () { return ({
|
|
9357
9418
|
type: 'init_klarna',
|
|
9358
9419
|
reference: factories.string(),
|
|
9359
9420
|
}); },
|
|
9421
|
+
'io.flow.v0.models.payment_method_data_init_mobilepay': function () { return ({
|
|
9422
|
+
type: 'init_mobilepay',
|
|
9423
|
+
reference: factories.string(),
|
|
9424
|
+
}); },
|
|
9360
9425
|
'io.flow.v0.models.payment_method_data_init_paypal': function () { return ({
|
|
9361
9426
|
type: 'init_paypal',
|
|
9362
9427
|
reference: factories.string(),
|
|
@@ -9373,6 +9438,10 @@ var factories = {
|
|
|
9373
9438
|
type: 'init_twint',
|
|
9374
9439
|
reference: factories.string(),
|
|
9375
9440
|
}); },
|
|
9441
|
+
'io.flow.v0.models.payment_method_data_init_vipps': function () { return ({
|
|
9442
|
+
type: 'init_vipps',
|
|
9443
|
+
reference: factories.string(),
|
|
9444
|
+
}); },
|
|
9376
9445
|
'io.flow.v0.models.payment_method_data_option_logo_svg': function () { return ({
|
|
9377
9446
|
type: 'svg',
|
|
9378
9447
|
url: factories.string(),
|
|
@@ -9452,15 +9521,27 @@ var factories = {
|
|
|
9452
9521
|
type: 'googlepay',
|
|
9453
9522
|
merchant_of_record: factories['io.flow.v0.enums.merchant_of_record'](),
|
|
9454
9523
|
}); },
|
|
9524
|
+
'io.flow.v0.models.payment_method_summary_grabpay': function () { return ({
|
|
9525
|
+
type: 'grabpay',
|
|
9526
|
+
merchant_of_record: factories['io.flow.v0.enums.merchant_of_record'](),
|
|
9527
|
+
}); },
|
|
9455
9528
|
'io.flow.v0.models.payment_method_summary_ideal': function () { return ({
|
|
9456
9529
|
type: 'ideal',
|
|
9457
9530
|
merchant_of_record: factories['io.flow.v0.enums.merchant_of_record'](),
|
|
9458
9531
|
issuer: factories.string(),
|
|
9459
9532
|
}); },
|
|
9533
|
+
'io.flow.v0.models.payment_method_summary_kcp_creditcard': function () { return ({
|
|
9534
|
+
type: 'kcp_creditcard',
|
|
9535
|
+
merchant_of_record: factories['io.flow.v0.enums.merchant_of_record'](),
|
|
9536
|
+
}); },
|
|
9460
9537
|
'io.flow.v0.models.payment_method_summary_klarna': function () { return ({
|
|
9461
9538
|
type: 'klarna',
|
|
9462
9539
|
merchant_of_record: factories['io.flow.v0.enums.merchant_of_record'](),
|
|
9463
9540
|
}); },
|
|
9541
|
+
'io.flow.v0.models.payment_method_summary_mobilepay': function () { return ({
|
|
9542
|
+
type: 'mobilepay',
|
|
9543
|
+
merchant_of_record: factories['io.flow.v0.enums.merchant_of_record'](),
|
|
9544
|
+
}); },
|
|
9464
9545
|
'io.flow.v0.models.payment_method_summary_paypal': function () { return ({
|
|
9465
9546
|
type: 'paypal',
|
|
9466
9547
|
merchant_of_record: factories['io.flow.v0.enums.merchant_of_record'](),
|
|
@@ -9477,6 +9558,10 @@ var factories = {
|
|
|
9477
9558
|
type: 'twint',
|
|
9478
9559
|
merchant_of_record: factories['io.flow.v0.enums.merchant_of_record'](),
|
|
9479
9560
|
}); },
|
|
9561
|
+
'io.flow.v0.models.payment_method_summary_vipps': function () { return ({
|
|
9562
|
+
type: 'vipps',
|
|
9563
|
+
merchant_of_record: factories['io.flow.v0.enums.merchant_of_record'](),
|
|
9564
|
+
}); },
|
|
9480
9565
|
'io.flow.v0.models.payment_order_details_line_item': function () { return ({
|
|
9481
9566
|
id: factories.string(),
|
|
9482
9567
|
description: factories.string(),
|
|
@@ -10059,6 +10144,8 @@ var factories = {
|
|
|
10059
10144
|
review_status: factories['io.flow.v0.enums.review_status'](),
|
|
10060
10145
|
rules: arrayOf(function () { return factories['io.flow.v0.enums.product_restriction_rule'](); }),
|
|
10061
10146
|
updated_by: factories.string(),
|
|
10147
|
+
product_restriction_id: factories.string(),
|
|
10148
|
+
hs_code: factories.string(),
|
|
10062
10149
|
}); },
|
|
10063
10150
|
'io.flow.v0.models.product_restriction_result_deleted': function () { return ({
|
|
10064
10151
|
discriminator: 'product_restriction_result_deleted',
|
|
@@ -10498,6 +10585,8 @@ var factories = {
|
|
|
10498
10585
|
attributes: objectOf(function () { return factories.string(); }),
|
|
10499
10586
|
status: factories['io.flow.v0.enums.refund_status'](),
|
|
10500
10587
|
base: factories['io.flow.v0.models.money'](),
|
|
10588
|
+
failure_category: factories['io.flow.v0.enums.refund_failure_category'](),
|
|
10589
|
+
failure_psp_reason: factories.string(),
|
|
10501
10590
|
}); },
|
|
10502
10591
|
'io.flow.v0.models.refund_capture': function () { return ({
|
|
10503
10592
|
id: factories.string(),
|
|
@@ -11170,6 +11259,7 @@ var factories = {
|
|
|
11170
11259
|
additional_services_requested: arrayOf(function () { return factories['io.flow.v0.models.additional_services_requested'](); }),
|
|
11171
11260
|
created_at: factories.date_time_iso_8601(),
|
|
11172
11261
|
updated_at: factories.date_time_iso_8601(),
|
|
11262
|
+
direction: factories['io.flow.v0.enums.direction'](),
|
|
11173
11263
|
}); },
|
|
11174
11264
|
'io.flow.v0.models.shipping_label_document': function () { return ({
|
|
11175
11265
|
zpl: factories.string(),
|
|
@@ -11765,6 +11855,7 @@ var factories = {
|
|
|
11765
11855
|
order_number: factories.string(),
|
|
11766
11856
|
items: arrayOf(function () { return factories['io.flow.v0.models.line_item_form'](); }),
|
|
11767
11857
|
center_key: factories.string(),
|
|
11858
|
+
direction: factories['io.flow.v0.enums.direction'](),
|
|
11768
11859
|
}); },
|
|
11769
11860
|
'io.flow.v0.models.summary_shipping_notification_form': function () { return ({
|
|
11770
11861
|
discriminator: 'summary_shipping_notification_form',
|
|
@@ -12866,6 +12957,9 @@ var factories = {
|
|
|
12866
12957
|
function () { return factories['io.flow.v0.models.subcatalog_item_deleted'](); },
|
|
12867
12958
|
function () { return factories['io.flow.v0.models.catalog_statistics_upserted'](); },
|
|
12868
12959
|
function () { return factories['io.flow.v0.models.catalog_statistics_deleted'](); },
|
|
12960
|
+
function () { return factories['io.flow.v0.models.item_inserted'](); },
|
|
12961
|
+
function () { return factories['io.flow.v0.models.item_updated'](); },
|
|
12962
|
+
function () { return factories['io.flow.v0.models.item_deleted'](); },
|
|
12869
12963
|
function () { return factories['io.flow.v0.models.channel_upserted'](); },
|
|
12870
12964
|
function () { return factories['io.flow.v0.models.channel_deleted'](); },
|
|
12871
12965
|
function () { return factories['io.flow.v0.models.channel_currency_upserted'](); },
|
|
@@ -13317,7 +13411,11 @@ var factories = {
|
|
|
13317
13411
|
function () { return factories['io.flow.v0.models.payment_method_data_init_sofort'](); },
|
|
13318
13412
|
function () { return factories['io.flow.v0.models.payment_method_data_init_twint'](); },
|
|
13319
13413
|
function () { return factories['io.flow.v0.models.payment_method_data_init_przelewy24'](); },
|
|
13414
|
+
function () { return factories['io.flow.v0.models.payment_method_data_init_mobilepay'](); },
|
|
13415
|
+
function () { return factories['io.flow.v0.models.payment_method_data_init_kcp_creditcard'](); },
|
|
13320
13416
|
function () { return factories['io.flow.v0.models.payment_method_data_init_bancontact'](); },
|
|
13417
|
+
function () { return factories['io.flow.v0.models.payment_method_data_init_grabpay'](); },
|
|
13418
|
+
function () { return factories['io.flow.v0.models.payment_method_data_init_vipps'](); },
|
|
13321
13419
|
function () { return factories['io.flow.v0.models.payment_method_data_validate_applepay'](); },
|
|
13322
13420
|
function () { return factories['io.flow.v0.models.payment_method_data_authorize_card'](); },
|
|
13323
13421
|
function () { return factories['io.flow.v0.models.payment_method_data_authorize_googlepay'](); },
|
|
@@ -13364,9 +13462,13 @@ var factories = {
|
|
|
13364
13462
|
function () { return factories['io.flow.v0.models.payment_method_summary_paypal'](); },
|
|
13365
13463
|
function () { return factories['io.flow.v0.models.payment_method_summary_ideal'](); },
|
|
13366
13464
|
function () { return factories['io.flow.v0.models.payment_method_summary_twint'](); },
|
|
13465
|
+
function () { return factories['io.flow.v0.models.payment_method_summary_vipps'](); },
|
|
13367
13466
|
function () { return factories['io.flow.v0.models.payment_method_summary_przelewy24'](); },
|
|
13467
|
+
function () { return factories['io.flow.v0.models.payment_method_summary_mobilepay'](); },
|
|
13468
|
+
function () { return factories['io.flow.v0.models.payment_method_summary_kcp_creditcard'](); },
|
|
13368
13469
|
function () { return factories['io.flow.v0.models.payment_method_summary_sofort'](); },
|
|
13369
13470
|
function () { return factories['io.flow.v0.models.payment_method_summary_bancontact'](); },
|
|
13471
|
+
function () { return factories['io.flow.v0.models.payment_method_summary_grabpay'](); },
|
|
13370
13472
|
]);
|
|
13371
13473
|
return f();
|
|
13372
13474
|
},
|
|
@@ -14386,10 +14488,12 @@ export var makeIssuerV1 = function () { return factories['io.flow.v0.models.issu
|
|
|
14386
14488
|
export var makeItem = function () { return factories['io.flow.v0.models.item'](); };
|
|
14387
14489
|
export var makeItemAttributesPatchForm = function () { return factories['io.flow.v0.models.item_attributes_patch_form'](); };
|
|
14388
14490
|
export var makeItemAvailabilityStatus = function () { return factories['io.flow.v0.enums.item_availability_status'](); };
|
|
14491
|
+
export var makeItemDeleted = function () { return factories['io.flow.v0.models.item_deleted'](); };
|
|
14389
14492
|
export var makeItemForm = function () { return factories['io.flow.v0.models.item_form'](); };
|
|
14390
14493
|
export var makeItemFormOverlay = function () { return factories['io.flow.v0.models.item_form_overlay'](); };
|
|
14391
14494
|
export var makeItemFormOverlayForm = function () { return factories['io.flow.v0.models.item_form_overlay_form'](); };
|
|
14392
14495
|
export var makeItemIdentifier = function () { return factories['io.flow.v0.enums.item_identifier'](); };
|
|
14496
|
+
export var makeItemInserted = function () { return factories['io.flow.v0.models.item_inserted'](); };
|
|
14393
14497
|
export var makeItemMargin = function () { return factories['io.flow.v0.models.item_margin'](); };
|
|
14394
14498
|
export var makeItemMarginDeletedV2 = function () { return factories['io.flow.v0.models.item_margin_deleted_v2'](); };
|
|
14395
14499
|
export var makeItemMarginPostForm = function () { return factories['io.flow.v0.models.item_margin_post_form'](); };
|
|
@@ -14406,6 +14510,7 @@ export var makeItemSalesMarginDeleted = function () { return factories['io.flow.
|
|
|
14406
14510
|
export var makeItemSalesMarginUpserted = function () { return factories['io.flow.v0.models.item_sales_margin_upserted'](); };
|
|
14407
14511
|
export var makeItemShippingPricing = function () { return factories['io.flow.v0.models.item_shipping_pricing'](); };
|
|
14408
14512
|
export var makeItemStatistics = function () { return factories['io.flow.v0.models.item_statistics'](); };
|
|
14513
|
+
export var makeItemUpdated = function () { return factories['io.flow.v0.models.item_updated'](); };
|
|
14409
14514
|
export var makeItemVersion = function () { return factories['io.flow.v0.models.item_version'](); };
|
|
14410
14515
|
export var makeJsonpResponse = function () { return factories['io.flow.v0.models.jsonp_response'](); };
|
|
14411
14516
|
export var makeKlarnaPaymentCategory = function () { return factories['io.flow.v0.models.klarna_payment_category'](); };
|
|
@@ -14770,12 +14875,16 @@ export var makePaymentMethodDataInitAfterpay = function () { return factories['i
|
|
|
14770
14875
|
export var makePaymentMethodDataInitApplepay = function () { return factories['io.flow.v0.models.payment_method_data_init_applepay'](); };
|
|
14771
14876
|
export var makePaymentMethodDataInitBancontact = function () { return factories['io.flow.v0.models.payment_method_data_init_bancontact'](); };
|
|
14772
14877
|
export var makePaymentMethodDataInitGooglepay = function () { return factories['io.flow.v0.models.payment_method_data_init_googlepay'](); };
|
|
14878
|
+
export var makePaymentMethodDataInitGrabpay = function () { return factories['io.flow.v0.models.payment_method_data_init_grabpay'](); };
|
|
14773
14879
|
export var makePaymentMethodDataInitIdeal = function () { return factories['io.flow.v0.models.payment_method_data_init_ideal'](); };
|
|
14880
|
+
export var makePaymentMethodDataInitKcpCreditcard = function () { return factories['io.flow.v0.models.payment_method_data_init_kcp_creditcard'](); };
|
|
14774
14881
|
export var makePaymentMethodDataInitKlarna = function () { return factories['io.flow.v0.models.payment_method_data_init_klarna'](); };
|
|
14882
|
+
export var makePaymentMethodDataInitMobilepay = function () { return factories['io.flow.v0.models.payment_method_data_init_mobilepay'](); };
|
|
14775
14883
|
export var makePaymentMethodDataInitPaypal = function () { return factories['io.flow.v0.models.payment_method_data_init_paypal'](); };
|
|
14776
14884
|
export var makePaymentMethodDataInitPrzelewy24 = function () { return factories['io.flow.v0.models.payment_method_data_init_przelewy24'](); };
|
|
14777
14885
|
export var makePaymentMethodDataInitSofort = function () { return factories['io.flow.v0.models.payment_method_data_init_sofort'](); };
|
|
14778
14886
|
export var makePaymentMethodDataInitTwint = function () { return factories['io.flow.v0.models.payment_method_data_init_twint'](); };
|
|
14887
|
+
export var makePaymentMethodDataInitVipps = function () { return factories['io.flow.v0.models.payment_method_data_init_vipps'](); };
|
|
14779
14888
|
export var makePaymentMethodDataOptionLogo = function () { return factories['io.flow.v0.unions.payment_method_data_option_logo'](); };
|
|
14780
14889
|
export var makePaymentMethodDataOptionLogoSvg = function () { return factories['io.flow.v0.models.payment_method_data_option_logo_svg'](); };
|
|
14781
14890
|
export var makePaymentMethodDataOptionType = function () { return factories['io.flow.v0.enums.payment_method_data_option_type'](); };
|
|
@@ -14797,12 +14906,16 @@ export var makePaymentMethodSummaryApplepay = function () { return factories['io
|
|
|
14797
14906
|
export var makePaymentMethodSummaryBancontact = function () { return factories['io.flow.v0.models.payment_method_summary_bancontact'](); };
|
|
14798
14907
|
export var makePaymentMethodSummaryCard = function () { return factories['io.flow.v0.models.payment_method_summary_card'](); };
|
|
14799
14908
|
export var makePaymentMethodSummaryGooglepay = function () { return factories['io.flow.v0.models.payment_method_summary_googlepay'](); };
|
|
14909
|
+
export var makePaymentMethodSummaryGrabpay = function () { return factories['io.flow.v0.models.payment_method_summary_grabpay'](); };
|
|
14800
14910
|
export var makePaymentMethodSummaryIdeal = function () { return factories['io.flow.v0.models.payment_method_summary_ideal'](); };
|
|
14911
|
+
export var makePaymentMethodSummaryKcpCreditcard = function () { return factories['io.flow.v0.models.payment_method_summary_kcp_creditcard'](); };
|
|
14801
14912
|
export var makePaymentMethodSummaryKlarna = function () { return factories['io.flow.v0.models.payment_method_summary_klarna'](); };
|
|
14913
|
+
export var makePaymentMethodSummaryMobilepay = function () { return factories['io.flow.v0.models.payment_method_summary_mobilepay'](); };
|
|
14802
14914
|
export var makePaymentMethodSummaryPaypal = function () { return factories['io.flow.v0.models.payment_method_summary_paypal'](); };
|
|
14803
14915
|
export var makePaymentMethodSummaryPrzelewy24 = function () { return factories['io.flow.v0.models.payment_method_summary_przelewy24'](); };
|
|
14804
14916
|
export var makePaymentMethodSummarySofort = function () { return factories['io.flow.v0.models.payment_method_summary_sofort'](); };
|
|
14805
14917
|
export var makePaymentMethodSummaryTwint = function () { return factories['io.flow.v0.models.payment_method_summary_twint'](); };
|
|
14918
|
+
export var makePaymentMethodSummaryVipps = function () { return factories['io.flow.v0.models.payment_method_summary_vipps'](); };
|
|
14806
14919
|
export var makePaymentMethodTag = function () { return factories['io.flow.v0.unions.payment_method_tag'](); };
|
|
14807
14920
|
export var makePaymentMethodType = function () { return factories['io.flow.v0.enums.payment_method_type'](); };
|
|
14808
14921
|
export var makePaymentOrderDetailsLineItem = function () { return factories['io.flow.v0.models.payment_order_details_line_item'](); };
|
|
@@ -15000,6 +15113,7 @@ export var makeRefundCaptureUpsertedV2 = function () { return factories['io.flow
|
|
|
15000
15113
|
export var makeRefundDeclineCode = function () { return factories['io.flow.v0.enums.refund_decline_code'](); };
|
|
15001
15114
|
export var makeRefundDeletedV2 = function () { return factories['io.flow.v0.models.refund_deleted_v2'](); };
|
|
15002
15115
|
export var makeRefundError = function () { return factories['io.flow.v0.models.refund_error'](); };
|
|
15116
|
+
export var makeRefundFailureCategory = function () { return factories['io.flow.v0.enums.refund_failure_category'](); };
|
|
15003
15117
|
export var makeRefundForm = function () { return factories['io.flow.v0.models.refund_form'](); };
|
|
15004
15118
|
export var makeRefundIdentifier = function () { return factories['io.flow.v0.models.refund_identifier'](); };
|
|
15005
15119
|
export var makeRefundIdentifierDeleted = function () { return factories['io.flow.v0.models.refund_identifier_deleted'](); };
|
package/dist/types/api.d.ts
CHANGED
|
@@ -732,10 +732,12 @@ export declare const makeIssuerV1: () => io.flow.v0.models.IssuerV1;
|
|
|
732
732
|
export declare const makeItem: () => io.flow.v0.models.Item;
|
|
733
733
|
export declare const makeItemAttributesPatchForm: () => io.flow.v0.models.ItemAttributesPatchForm;
|
|
734
734
|
export declare const makeItemAvailabilityStatus: () => io.flow.v0.enums.ItemAvailabilityStatus;
|
|
735
|
+
export declare const makeItemDeleted: () => io.flow.v0.models.ItemDeleted;
|
|
735
736
|
export declare const makeItemForm: () => io.flow.v0.models.ItemForm;
|
|
736
737
|
export declare const makeItemFormOverlay: () => io.flow.v0.models.ItemFormOverlay;
|
|
737
738
|
export declare const makeItemFormOverlayForm: () => io.flow.v0.models.ItemFormOverlayForm;
|
|
738
739
|
export declare const makeItemIdentifier: () => io.flow.v0.enums.ItemIdentifier;
|
|
740
|
+
export declare const makeItemInserted: () => io.flow.v0.models.ItemInserted;
|
|
739
741
|
export declare const makeItemMargin: () => io.flow.v0.models.ItemMargin;
|
|
740
742
|
export declare const makeItemMarginDeletedV2: () => io.flow.v0.models.ItemMarginDeletedV2;
|
|
741
743
|
export declare const makeItemMarginPostForm: () => io.flow.v0.models.ItemMarginPostForm;
|
|
@@ -752,6 +754,7 @@ export declare const makeItemSalesMarginDeleted: () => io.flow.v0.models.ItemSal
|
|
|
752
754
|
export declare const makeItemSalesMarginUpserted: () => io.flow.v0.models.ItemSalesMarginUpserted;
|
|
753
755
|
export declare const makeItemShippingPricing: () => io.flow.v0.models.ItemShippingPricing;
|
|
754
756
|
export declare const makeItemStatistics: () => io.flow.v0.models.ItemStatistics;
|
|
757
|
+
export declare const makeItemUpdated: () => io.flow.v0.models.ItemUpdated;
|
|
755
758
|
export declare const makeItemVersion: () => io.flow.v0.models.ItemVersion;
|
|
756
759
|
export declare const makeJsonpResponse: () => io.flow.v0.models.JsonpResponse;
|
|
757
760
|
export declare const makeKlarnaPaymentCategory: () => io.flow.v0.models.KlarnaPaymentCategory;
|
|
@@ -1116,12 +1119,16 @@ export declare const makePaymentMethodDataInitAfterpay: () => io.flow.v0.models.
|
|
|
1116
1119
|
export declare const makePaymentMethodDataInitApplepay: () => io.flow.v0.models.PaymentMethodDataInitApplepay;
|
|
1117
1120
|
export declare const makePaymentMethodDataInitBancontact: () => io.flow.v0.models.PaymentMethodDataInitBancontact;
|
|
1118
1121
|
export declare const makePaymentMethodDataInitGooglepay: () => io.flow.v0.models.PaymentMethodDataInitGooglepay;
|
|
1122
|
+
export declare const makePaymentMethodDataInitGrabpay: () => io.flow.v0.models.PaymentMethodDataInitGrabpay;
|
|
1119
1123
|
export declare const makePaymentMethodDataInitIdeal: () => io.flow.v0.models.PaymentMethodDataInitIdeal;
|
|
1124
|
+
export declare const makePaymentMethodDataInitKcpCreditcard: () => io.flow.v0.models.PaymentMethodDataInitKcpCreditcard;
|
|
1120
1125
|
export declare const makePaymentMethodDataInitKlarna: () => io.flow.v0.models.PaymentMethodDataInitKlarna;
|
|
1126
|
+
export declare const makePaymentMethodDataInitMobilepay: () => io.flow.v0.models.PaymentMethodDataInitMobilepay;
|
|
1121
1127
|
export declare const makePaymentMethodDataInitPaypal: () => io.flow.v0.models.PaymentMethodDataInitPaypal;
|
|
1122
1128
|
export declare const makePaymentMethodDataInitPrzelewy24: () => io.flow.v0.models.PaymentMethodDataInitPrzelewy24;
|
|
1123
1129
|
export declare const makePaymentMethodDataInitSofort: () => io.flow.v0.models.PaymentMethodDataInitSofort;
|
|
1124
1130
|
export declare const makePaymentMethodDataInitTwint: () => io.flow.v0.models.PaymentMethodDataInitTwint;
|
|
1131
|
+
export declare const makePaymentMethodDataInitVipps: () => io.flow.v0.models.PaymentMethodDataInitVipps;
|
|
1125
1132
|
export declare const makePaymentMethodDataOptionLogo: () => io.flow.v0.models.PaymentMethodDataOptionLogoSvg;
|
|
1126
1133
|
export declare const makePaymentMethodDataOptionLogoSvg: () => io.flow.v0.models.PaymentMethodDataOptionLogoSvg;
|
|
1127
1134
|
export declare const makePaymentMethodDataOptionType: () => "ideal_issuer_option";
|
|
@@ -1143,12 +1150,16 @@ export declare const makePaymentMethodSummaryApplepay: () => io.flow.v0.models.P
|
|
|
1143
1150
|
export declare const makePaymentMethodSummaryBancontact: () => io.flow.v0.models.PaymentMethodSummaryBancontact;
|
|
1144
1151
|
export declare const makePaymentMethodSummaryCard: () => io.flow.v0.models.PaymentMethodSummaryCard;
|
|
1145
1152
|
export declare const makePaymentMethodSummaryGooglepay: () => io.flow.v0.models.PaymentMethodSummaryGooglepay;
|
|
1153
|
+
export declare const makePaymentMethodSummaryGrabpay: () => io.flow.v0.models.PaymentMethodSummaryGrabpay;
|
|
1146
1154
|
export declare const makePaymentMethodSummaryIdeal: () => io.flow.v0.models.PaymentMethodSummaryIdeal;
|
|
1155
|
+
export declare const makePaymentMethodSummaryKcpCreditcard: () => io.flow.v0.models.PaymentMethodSummaryKcpCreditcard;
|
|
1147
1156
|
export declare const makePaymentMethodSummaryKlarna: () => io.flow.v0.models.PaymentMethodSummaryKlarna;
|
|
1157
|
+
export declare const makePaymentMethodSummaryMobilepay: () => io.flow.v0.models.PaymentMethodSummaryMobilepay;
|
|
1148
1158
|
export declare const makePaymentMethodSummaryPaypal: () => io.flow.v0.models.PaymentMethodSummaryPaypal;
|
|
1149
1159
|
export declare const makePaymentMethodSummaryPrzelewy24: () => io.flow.v0.models.PaymentMethodSummaryPrzelewy24;
|
|
1150
1160
|
export declare const makePaymentMethodSummarySofort: () => io.flow.v0.models.PaymentMethodSummarySofort;
|
|
1151
1161
|
export declare const makePaymentMethodSummaryTwint: () => io.flow.v0.models.PaymentMethodSummaryTwint;
|
|
1162
|
+
export declare const makePaymentMethodSummaryVipps: () => io.flow.v0.models.PaymentMethodSummaryVipps;
|
|
1152
1163
|
export declare const makePaymentMethodTag: () => io.flow.v0.unions.PaymentMethodTag;
|
|
1153
1164
|
export declare const makePaymentMethodType: () => io.flow.v0.enums.PaymentMethodType;
|
|
1154
1165
|
export declare const makePaymentOrderDetailsLineItem: () => io.flow.v0.models.PaymentOrderDetailsLineItem;
|
|
@@ -1346,6 +1357,7 @@ export declare const makeRefundCaptureUpsertedV2: () => io.flow.v0.models.Refund
|
|
|
1346
1357
|
export declare const makeRefundDeclineCode: () => io.flow.v0.enums.RefundDeclineCode;
|
|
1347
1358
|
export declare const makeRefundDeletedV2: () => io.flow.v0.models.RefundDeletedV2;
|
|
1348
1359
|
export declare const makeRefundError: () => io.flow.v0.models.RefundError;
|
|
1360
|
+
export declare const makeRefundFailureCategory: () => io.flow.v0.enums.RefundFailureCategory;
|
|
1349
1361
|
export declare const makeRefundForm: () => io.flow.v0.models.RefundForm;
|
|
1350
1362
|
export declare const makeRefundIdentifier: () => io.flow.v0.models.RefundIdentifier;
|
|
1351
1363
|
export declare const makeRefundIdentifierDeleted: () => io.flow.v0.models.RefundIdentifierDeleted;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@flowio/api-factories",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.92",
|
|
4
4
|
"description": "Flow API mock data factories",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"flow",
|
|
@@ -36,5 +36,5 @@
|
|
|
36
36
|
"@faker-js/faker": "^6.2.0",
|
|
37
37
|
"@flowio/api-types": "*"
|
|
38
38
|
},
|
|
39
|
-
"gitHead": "
|
|
39
|
+
"gitHead": "186c2bb75e0d707e7d5df6a6b87e63a9be573e4d"
|
|
40
40
|
}
|