@flowio/api-factories 0.0.91 → 0.0.93
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 +151 -29
- package/dist/esm/api.js +112 -1
- package/dist/types/api.d.ts +11 -0
- package/package.json +2 -2
- package/src/api.ts +125 -1
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',
|
|
@@ -3425,6 +3436,9 @@ var factories = {
|
|
|
3425
3436
|
'twint',
|
|
3426
3437
|
'przelewy24',
|
|
3427
3438
|
'mobilepay',
|
|
3439
|
+
'grabpay',
|
|
3440
|
+
'vipps',
|
|
3441
|
+
'kcp_creditcard',
|
|
3428
3442
|
]); },
|
|
3429
3443
|
'io.flow.v0.enums.payout_attachment_type': function () { return faker.helpers.arrayElement(['transactions']); },
|
|
3430
3444
|
'io.flow.v0.enums.payout_status_failure_code': function () { return faker.helpers.arrayElement(['invalid_account_number', 'account_closed', 'could_not_process']); },
|
|
@@ -3435,6 +3449,8 @@ var factories = {
|
|
|
3435
3449
|
'waiting_for_next_payout_date',
|
|
3436
3450
|
'waiting_for_tracking_info',
|
|
3437
3451
|
'waiting_for_positive_account_balance',
|
|
3452
|
+
'unfulfilled_amount_greater_than_negative_balance',
|
|
3453
|
+
'account_payment_hold',
|
|
3438
3454
|
]); },
|
|
3439
3455
|
'io.flow.v0.enums.permitted_http_method': function () { return faker.helpers.arrayElement(['GET', 'POST', 'PUT', 'DELETE', 'PATCH']); },
|
|
3440
3456
|
'io.flow.v0.enums.physical_delivery_special_serivce': function () { return faker.helpers.arrayElement(['cold_storage', 'hazardous', 'perishable']); },
|
|
@@ -3525,6 +3541,20 @@ var factories = {
|
|
|
3525
3541
|
'io.flow.v0.enums.quote_error_code': function () { return faker.helpers.arrayElement(['generic_error', 'items_not_available', 'shipping_unavailable']); },
|
|
3526
3542
|
'io.flow.v0.enums.ratecard_owner': function () { return faker.helpers.arrayElement(['flow', 'organization']); },
|
|
3527
3543
|
'io.flow.v0.enums.refund_decline_code': function () { return faker.helpers.arrayElement(['expired', 'insufficient_funds', 'unknown']); },
|
|
3544
|
+
'io.flow.v0.enums.refund_failure_category': function () { return faker.helpers.arrayElement([
|
|
3545
|
+
'amount_too_high',
|
|
3546
|
+
'amount_too_low',
|
|
3547
|
+
'not_enough_balance',
|
|
3548
|
+
'insufficient_funds',
|
|
3549
|
+
'refund_period_expired',
|
|
3550
|
+
'dispute',
|
|
3551
|
+
'not_captured',
|
|
3552
|
+
'unsupported_payment_method',
|
|
3553
|
+
'unsupported_partial_refund',
|
|
3554
|
+
'invalid_currency',
|
|
3555
|
+
'card_no_longer_valid',
|
|
3556
|
+
'general',
|
|
3557
|
+
]); },
|
|
3528
3558
|
'io.flow.v0.enums.refund_status': function () { return faker.helpers.arrayElement(['pending', 'succeeded', 'failed', 'canceled']); },
|
|
3529
3559
|
'io.flow.v0.enums.region_type': function () { return faker.helpers.arrayElement(['state', 'province', 'jurisdiction']); },
|
|
3530
3560
|
'io.flow.v0.enums.restricted_review_status': function () { return faker.helpers.arrayElement(['in_review', 'reviewed']); },
|
|
@@ -3660,6 +3690,7 @@ var factories = {
|
|
|
3660
3690
|
'virtual_card_capture',
|
|
3661
3691
|
'virtual_card_refund',
|
|
3662
3692
|
'failed_payout',
|
|
3693
|
+
'tax_refund',
|
|
3663
3694
|
]); },
|
|
3664
3695
|
'io.flow.v0.enums.trueup_source': function () { return faker.helpers.arrayElement(['flow', 'channel', 'dhl-parcel', 'dhl', 'ups']); },
|
|
3665
3696
|
'io.flow.v0.enums.trueup_surcharge_type': function () { return faker.helpers.arrayElement([
|
|
@@ -5885,6 +5916,11 @@ var factories = {
|
|
|
5885
5916
|
components: arrayOf(function () { return factories['io.flow.v0.enums.levy_component'](); }),
|
|
5886
5917
|
minimum: factories.decimal(),
|
|
5887
5918
|
}); },
|
|
5919
|
+
'io.flow.v0.models.destination_contact_detail': function () { return ({
|
|
5920
|
+
title: factories.string(),
|
|
5921
|
+
country: factories.string(),
|
|
5922
|
+
import_identifier: factories.string(),
|
|
5923
|
+
}); },
|
|
5888
5924
|
'io.flow.v0.models.detailed_shipping_label_form': function () { return ({
|
|
5889
5925
|
discriminator: 'detailed_shipping_label_form',
|
|
5890
5926
|
destination: factories['io.flow.v0.models.shipping_address'](),
|
|
@@ -7325,10 +7361,18 @@ var factories = {
|
|
|
7325
7361
|
local: factories['io.flow.v0.models.local'](),
|
|
7326
7362
|
created_at: factories.date_time_iso_8601(),
|
|
7327
7363
|
updated_at: factories.date_time_iso_8601(),
|
|
7364
|
+
deleted_at: factories.date_time_iso_8601(),
|
|
7328
7365
|
}); },
|
|
7329
7366
|
'io.flow.v0.models.item_attributes_patch_form': function () { return ({
|
|
7330
7367
|
attributes: objectOf(function () { return factories.string(); }),
|
|
7331
7368
|
}); },
|
|
7369
|
+
'io.flow.v0.models.item_deleted': function () { return ({
|
|
7370
|
+
discriminator: 'item_deleted',
|
|
7371
|
+
event_id: factories.string(),
|
|
7372
|
+
timestamp: factories.date_time_iso_8601(),
|
|
7373
|
+
organization: factories.string(),
|
|
7374
|
+
item: factories['io.flow.v0.models.item'](),
|
|
7375
|
+
}); },
|
|
7332
7376
|
'io.flow.v0.models.item_form': function () { return ({
|
|
7333
7377
|
number: factories.string(),
|
|
7334
7378
|
locale: factories.string(),
|
|
@@ -7340,6 +7384,7 @@ var factories = {
|
|
|
7340
7384
|
attributes: objectOf(function () { return factories.string(); }),
|
|
7341
7385
|
dimensions: factories['io.flow.v0.models.dimensions'](),
|
|
7342
7386
|
images: arrayOf(function () { return factories['io.flow.v0.models.image_form'](); }),
|
|
7387
|
+
deleted_at: factories.date_time_iso_8601(),
|
|
7343
7388
|
}); },
|
|
7344
7389
|
'io.flow.v0.models.item_form_overlay': function () { return ({
|
|
7345
7390
|
id: factories.string(),
|
|
@@ -7352,6 +7397,7 @@ var factories = {
|
|
|
7352
7397
|
attributes: objectOf(function () { return factories.string(); }),
|
|
7353
7398
|
dimensions: factories['io.flow.v0.models.dimensions'](),
|
|
7354
7399
|
images: arrayOf(function () { return factories['io.flow.v0.models.image_form'](); }),
|
|
7400
|
+
deleted_at: factories.date_time_iso_8601(),
|
|
7355
7401
|
}); },
|
|
7356
7402
|
'io.flow.v0.models.item_form_overlay_form': function () { return ({
|
|
7357
7403
|
number: factories.string(),
|
|
@@ -7363,6 +7409,14 @@ var factories = {
|
|
|
7363
7409
|
attributes: objectOf(function () { return factories.string(); }),
|
|
7364
7410
|
dimensions: factories['io.flow.v0.models.dimensions'](),
|
|
7365
7411
|
images: arrayOf(function () { return factories['io.flow.v0.models.image_form'](); }),
|
|
7412
|
+
deleted_at: factories.date_time_iso_8601(),
|
|
7413
|
+
}); },
|
|
7414
|
+
'io.flow.v0.models.item_inserted': function () { return ({
|
|
7415
|
+
discriminator: 'item_inserted',
|
|
7416
|
+
event_id: factories.string(),
|
|
7417
|
+
timestamp: factories.date_time_iso_8601(),
|
|
7418
|
+
organization: factories.string(),
|
|
7419
|
+
item: factories['io.flow.v0.models.item'](),
|
|
7366
7420
|
}); },
|
|
7367
7421
|
'io.flow.v0.models.item_margin': function () { return ({
|
|
7368
7422
|
id: factories.string(),
|
|
@@ -7472,6 +7526,13 @@ var factories = {
|
|
|
7472
7526
|
items: factories.long(),
|
|
7473
7527
|
categories: factories.long(),
|
|
7474
7528
|
}); },
|
|
7529
|
+
'io.flow.v0.models.item_updated': function () { return ({
|
|
7530
|
+
discriminator: 'item_updated',
|
|
7531
|
+
event_id: factories.string(),
|
|
7532
|
+
timestamp: factories.date_time_iso_8601(),
|
|
7533
|
+
organization: factories.string(),
|
|
7534
|
+
item: factories['io.flow.v0.models.item'](),
|
|
7535
|
+
}); },
|
|
7475
7536
|
'io.flow.v0.models.item_version': function () { return ({
|
|
7476
7537
|
id: factories.string(),
|
|
7477
7538
|
timestamp: factories.date_time_iso_8601(),
|
|
@@ -7627,6 +7688,7 @@ var factories = {
|
|
|
7627
7688
|
in_transit: factories['io.flow.v0.models.label_tracking_summary_update'](),
|
|
7628
7689
|
delivered: factories['io.flow.v0.models.label_tracking_summary_update'](),
|
|
7629
7690
|
rejected: factories['io.flow.v0.models.label_tracking_summary_update'](),
|
|
7691
|
+
returned: factories['io.flow.v0.models.label_tracking_summary_update'](),
|
|
7630
7692
|
}); },
|
|
7631
7693
|
'io.flow.v0.models.label_tracking_summary_update': function () { return ({
|
|
7632
7694
|
timestamp: factories.date_time_iso_8601(),
|
|
@@ -8264,6 +8326,7 @@ var factories = {
|
|
|
8264
8326
|
tax_registration: factories['io.flow.v0.models.tax_registration'](),
|
|
8265
8327
|
geo: factories['io.flow.v0.models.order_geo'](),
|
|
8266
8328
|
device_details: factories['io.flow.v0.unions.device_details'](),
|
|
8329
|
+
destination_contact_details: arrayOf(function () { return factories['io.flow.v0.models.destination_contact_detail'](); }),
|
|
8267
8330
|
}); },
|
|
8268
8331
|
'io.flow.v0.models.order_address': function () { return ({
|
|
8269
8332
|
text: factories.string(),
|
|
@@ -9351,11 +9414,19 @@ var factories = {
|
|
|
9351
9414
|
type: 'init_googlepay',
|
|
9352
9415
|
reference: factories.string(),
|
|
9353
9416
|
}); },
|
|
9417
|
+
'io.flow.v0.models.payment_method_data_init_grabpay': function () { return ({
|
|
9418
|
+
type: 'init_grabpay',
|
|
9419
|
+
reference: factories.string(),
|
|
9420
|
+
}); },
|
|
9354
9421
|
'io.flow.v0.models.payment_method_data_init_ideal': function () { return ({
|
|
9355
9422
|
type: 'init_ideal',
|
|
9356
9423
|
issuer: factories.string(),
|
|
9357
9424
|
reference: factories.string(),
|
|
9358
9425
|
}); },
|
|
9426
|
+
'io.flow.v0.models.payment_method_data_init_kcp_creditcard': function () { return ({
|
|
9427
|
+
type: 'init_kcp_creditcard',
|
|
9428
|
+
reference: factories.string(),
|
|
9429
|
+
}); },
|
|
9359
9430
|
'io.flow.v0.models.payment_method_data_init_klarna': function () { return ({
|
|
9360
9431
|
type: 'init_klarna',
|
|
9361
9432
|
reference: factories.string(),
|
|
@@ -9380,6 +9451,10 @@ var factories = {
|
|
|
9380
9451
|
type: 'init_twint',
|
|
9381
9452
|
reference: factories.string(),
|
|
9382
9453
|
}); },
|
|
9454
|
+
'io.flow.v0.models.payment_method_data_init_vipps': function () { return ({
|
|
9455
|
+
type: 'init_vipps',
|
|
9456
|
+
reference: factories.string(),
|
|
9457
|
+
}); },
|
|
9383
9458
|
'io.flow.v0.models.payment_method_data_option_logo_svg': function () { return ({
|
|
9384
9459
|
type: 'svg',
|
|
9385
9460
|
url: factories.string(),
|
|
@@ -9459,11 +9534,19 @@ var factories = {
|
|
|
9459
9534
|
type: 'googlepay',
|
|
9460
9535
|
merchant_of_record: factories['io.flow.v0.enums.merchant_of_record'](),
|
|
9461
9536
|
}); },
|
|
9537
|
+
'io.flow.v0.models.payment_method_summary_grabpay': function () { return ({
|
|
9538
|
+
type: 'grabpay',
|
|
9539
|
+
merchant_of_record: factories['io.flow.v0.enums.merchant_of_record'](),
|
|
9540
|
+
}); },
|
|
9462
9541
|
'io.flow.v0.models.payment_method_summary_ideal': function () { return ({
|
|
9463
9542
|
type: 'ideal',
|
|
9464
9543
|
merchant_of_record: factories['io.flow.v0.enums.merchant_of_record'](),
|
|
9465
9544
|
issuer: factories.string(),
|
|
9466
9545
|
}); },
|
|
9546
|
+
'io.flow.v0.models.payment_method_summary_kcp_creditcard': function () { return ({
|
|
9547
|
+
type: 'kcp_creditcard',
|
|
9548
|
+
merchant_of_record: factories['io.flow.v0.enums.merchant_of_record'](),
|
|
9549
|
+
}); },
|
|
9467
9550
|
'io.flow.v0.models.payment_method_summary_klarna': function () { return ({
|
|
9468
9551
|
type: 'klarna',
|
|
9469
9552
|
merchant_of_record: factories['io.flow.v0.enums.merchant_of_record'](),
|
|
@@ -9488,6 +9571,10 @@ var factories = {
|
|
|
9488
9571
|
type: 'twint',
|
|
9489
9572
|
merchant_of_record: factories['io.flow.v0.enums.merchant_of_record'](),
|
|
9490
9573
|
}); },
|
|
9574
|
+
'io.flow.v0.models.payment_method_summary_vipps': function () { return ({
|
|
9575
|
+
type: 'vipps',
|
|
9576
|
+
merchant_of_record: factories['io.flow.v0.enums.merchant_of_record'](),
|
|
9577
|
+
}); },
|
|
9491
9578
|
'io.flow.v0.models.payment_order_details_line_item': function () { return ({
|
|
9492
9579
|
id: factories.string(),
|
|
9493
9580
|
description: factories.string(),
|
|
@@ -10070,6 +10157,8 @@ var factories = {
|
|
|
10070
10157
|
review_status: factories['io.flow.v0.enums.review_status'](),
|
|
10071
10158
|
rules: arrayOf(function () { return factories['io.flow.v0.enums.product_restriction_rule'](); }),
|
|
10072
10159
|
updated_by: factories.string(),
|
|
10160
|
+
product_restriction_id: factories.string(),
|
|
10161
|
+
hs_code: factories.string(),
|
|
10073
10162
|
}); },
|
|
10074
10163
|
'io.flow.v0.models.product_restriction_result_deleted': function () { return ({
|
|
10075
10164
|
discriminator: 'product_restriction_result_deleted',
|
|
@@ -10509,6 +10598,8 @@ var factories = {
|
|
|
10509
10598
|
attributes: objectOf(function () { return factories.string(); }),
|
|
10510
10599
|
status: factories['io.flow.v0.enums.refund_status'](),
|
|
10511
10600
|
base: factories['io.flow.v0.models.money'](),
|
|
10601
|
+
failure_category: factories['io.flow.v0.enums.refund_failure_category'](),
|
|
10602
|
+
failure_psp_reason: factories.string(),
|
|
10512
10603
|
}); },
|
|
10513
10604
|
'io.flow.v0.models.refund_capture': function () { return ({
|
|
10514
10605
|
id: factories.string(),
|
|
@@ -12879,6 +12970,9 @@ var factories = {
|
|
|
12879
12970
|
function () { return factories['io.flow.v0.models.subcatalog_item_deleted'](); },
|
|
12880
12971
|
function () { return factories['io.flow.v0.models.catalog_statistics_upserted'](); },
|
|
12881
12972
|
function () { return factories['io.flow.v0.models.catalog_statistics_deleted'](); },
|
|
12973
|
+
function () { return factories['io.flow.v0.models.item_inserted'](); },
|
|
12974
|
+
function () { return factories['io.flow.v0.models.item_updated'](); },
|
|
12975
|
+
function () { return factories['io.flow.v0.models.item_deleted'](); },
|
|
12882
12976
|
function () { return factories['io.flow.v0.models.channel_upserted'](); },
|
|
12883
12977
|
function () { return factories['io.flow.v0.models.channel_deleted'](); },
|
|
12884
12978
|
function () { return factories['io.flow.v0.models.channel_currency_upserted'](); },
|
|
@@ -13331,7 +13425,10 @@ var factories = {
|
|
|
13331
13425
|
function () { return factories['io.flow.v0.models.payment_method_data_init_twint'](); },
|
|
13332
13426
|
function () { return factories['io.flow.v0.models.payment_method_data_init_przelewy24'](); },
|
|
13333
13427
|
function () { return factories['io.flow.v0.models.payment_method_data_init_mobilepay'](); },
|
|
13428
|
+
function () { return factories['io.flow.v0.models.payment_method_data_init_kcp_creditcard'](); },
|
|
13334
13429
|
function () { return factories['io.flow.v0.models.payment_method_data_init_bancontact'](); },
|
|
13430
|
+
function () { return factories['io.flow.v0.models.payment_method_data_init_grabpay'](); },
|
|
13431
|
+
function () { return factories['io.flow.v0.models.payment_method_data_init_vipps'](); },
|
|
13335
13432
|
function () { return factories['io.flow.v0.models.payment_method_data_validate_applepay'](); },
|
|
13336
13433
|
function () { return factories['io.flow.v0.models.payment_method_data_authorize_card'](); },
|
|
13337
13434
|
function () { return factories['io.flow.v0.models.payment_method_data_authorize_googlepay'](); },
|
|
@@ -13378,10 +13475,13 @@ var factories = {
|
|
|
13378
13475
|
function () { return factories['io.flow.v0.models.payment_method_summary_paypal'](); },
|
|
13379
13476
|
function () { return factories['io.flow.v0.models.payment_method_summary_ideal'](); },
|
|
13380
13477
|
function () { return factories['io.flow.v0.models.payment_method_summary_twint'](); },
|
|
13478
|
+
function () { return factories['io.flow.v0.models.payment_method_summary_vipps'](); },
|
|
13381
13479
|
function () { return factories['io.flow.v0.models.payment_method_summary_przelewy24'](); },
|
|
13382
13480
|
function () { return factories['io.flow.v0.models.payment_method_summary_mobilepay'](); },
|
|
13481
|
+
function () { return factories['io.flow.v0.models.payment_method_summary_kcp_creditcard'](); },
|
|
13383
13482
|
function () { return factories['io.flow.v0.models.payment_method_summary_sofort'](); },
|
|
13384
13483
|
function () { return factories['io.flow.v0.models.payment_method_summary_bancontact'](); },
|
|
13484
|
+
function () { return factories['io.flow.v0.models.payment_method_summary_grabpay'](); },
|
|
13385
13485
|
]);
|
|
13386
13486
|
return f();
|
|
13387
13487
|
},
|
|
@@ -14084,6 +14184,7 @@ export var makeDeliveryWindowSummary = function () { return factories['io.flow.v
|
|
|
14084
14184
|
export var makeDeminimis = function () { return factories['io.flow.v0.unions.deminimis'](); };
|
|
14085
14185
|
export var makeDeminimisPerItem = function () { return factories['io.flow.v0.models.deminimis_per_item'](); };
|
|
14086
14186
|
export var makeDeminimisSimple = function () { return factories['io.flow.v0.models.deminimis_simple'](); };
|
|
14187
|
+
export var makeDestinationContactDetail = function () { return factories['io.flow.v0.models.destination_contact_detail'](); };
|
|
14087
14188
|
export var makeDetailedShippingLabelForm = function () { return factories['io.flow.v0.models.detailed_shipping_label_form'](); };
|
|
14088
14189
|
export var makeDetailedShippingNotificationForm = function () { return factories['io.flow.v0.models.detailed_shipping_notification_form'](); };
|
|
14089
14190
|
export var makeDetailedTaxRegistration = function () { return factories['io.flow.v0.models.detailed_tax_registration'](); };
|
|
@@ -14401,10 +14502,12 @@ export var makeIssuerV1 = function () { return factories['io.flow.v0.models.issu
|
|
|
14401
14502
|
export var makeItem = function () { return factories['io.flow.v0.models.item'](); };
|
|
14402
14503
|
export var makeItemAttributesPatchForm = function () { return factories['io.flow.v0.models.item_attributes_patch_form'](); };
|
|
14403
14504
|
export var makeItemAvailabilityStatus = function () { return factories['io.flow.v0.enums.item_availability_status'](); };
|
|
14505
|
+
export var makeItemDeleted = function () { return factories['io.flow.v0.models.item_deleted'](); };
|
|
14404
14506
|
export var makeItemForm = function () { return factories['io.flow.v0.models.item_form'](); };
|
|
14405
14507
|
export var makeItemFormOverlay = function () { return factories['io.flow.v0.models.item_form_overlay'](); };
|
|
14406
14508
|
export var makeItemFormOverlayForm = function () { return factories['io.flow.v0.models.item_form_overlay_form'](); };
|
|
14407
14509
|
export var makeItemIdentifier = function () { return factories['io.flow.v0.enums.item_identifier'](); };
|
|
14510
|
+
export var makeItemInserted = function () { return factories['io.flow.v0.models.item_inserted'](); };
|
|
14408
14511
|
export var makeItemMargin = function () { return factories['io.flow.v0.models.item_margin'](); };
|
|
14409
14512
|
export var makeItemMarginDeletedV2 = function () { return factories['io.flow.v0.models.item_margin_deleted_v2'](); };
|
|
14410
14513
|
export var makeItemMarginPostForm = function () { return factories['io.flow.v0.models.item_margin_post_form'](); };
|
|
@@ -14421,6 +14524,7 @@ export var makeItemSalesMarginDeleted = function () { return factories['io.flow.
|
|
|
14421
14524
|
export var makeItemSalesMarginUpserted = function () { return factories['io.flow.v0.models.item_sales_margin_upserted'](); };
|
|
14422
14525
|
export var makeItemShippingPricing = function () { return factories['io.flow.v0.models.item_shipping_pricing'](); };
|
|
14423
14526
|
export var makeItemStatistics = function () { return factories['io.flow.v0.models.item_statistics'](); };
|
|
14527
|
+
export var makeItemUpdated = function () { return factories['io.flow.v0.models.item_updated'](); };
|
|
14424
14528
|
export var makeItemVersion = function () { return factories['io.flow.v0.models.item_version'](); };
|
|
14425
14529
|
export var makeJsonpResponse = function () { return factories['io.flow.v0.models.jsonp_response'](); };
|
|
14426
14530
|
export var makeKlarnaPaymentCategory = function () { return factories['io.flow.v0.models.klarna_payment_category'](); };
|
|
@@ -14785,13 +14889,16 @@ export var makePaymentMethodDataInitAfterpay = function () { return factories['i
|
|
|
14785
14889
|
export var makePaymentMethodDataInitApplepay = function () { return factories['io.flow.v0.models.payment_method_data_init_applepay'](); };
|
|
14786
14890
|
export var makePaymentMethodDataInitBancontact = function () { return factories['io.flow.v0.models.payment_method_data_init_bancontact'](); };
|
|
14787
14891
|
export var makePaymentMethodDataInitGooglepay = function () { return factories['io.flow.v0.models.payment_method_data_init_googlepay'](); };
|
|
14892
|
+
export var makePaymentMethodDataInitGrabpay = function () { return factories['io.flow.v0.models.payment_method_data_init_grabpay'](); };
|
|
14788
14893
|
export var makePaymentMethodDataInitIdeal = function () { return factories['io.flow.v0.models.payment_method_data_init_ideal'](); };
|
|
14894
|
+
export var makePaymentMethodDataInitKcpCreditcard = function () { return factories['io.flow.v0.models.payment_method_data_init_kcp_creditcard'](); };
|
|
14789
14895
|
export var makePaymentMethodDataInitKlarna = function () { return factories['io.flow.v0.models.payment_method_data_init_klarna'](); };
|
|
14790
14896
|
export var makePaymentMethodDataInitMobilepay = function () { return factories['io.flow.v0.models.payment_method_data_init_mobilepay'](); };
|
|
14791
14897
|
export var makePaymentMethodDataInitPaypal = function () { return factories['io.flow.v0.models.payment_method_data_init_paypal'](); };
|
|
14792
14898
|
export var makePaymentMethodDataInitPrzelewy24 = function () { return factories['io.flow.v0.models.payment_method_data_init_przelewy24'](); };
|
|
14793
14899
|
export var makePaymentMethodDataInitSofort = function () { return factories['io.flow.v0.models.payment_method_data_init_sofort'](); };
|
|
14794
14900
|
export var makePaymentMethodDataInitTwint = function () { return factories['io.flow.v0.models.payment_method_data_init_twint'](); };
|
|
14901
|
+
export var makePaymentMethodDataInitVipps = function () { return factories['io.flow.v0.models.payment_method_data_init_vipps'](); };
|
|
14795
14902
|
export var makePaymentMethodDataOptionLogo = function () { return factories['io.flow.v0.unions.payment_method_data_option_logo'](); };
|
|
14796
14903
|
export var makePaymentMethodDataOptionLogoSvg = function () { return factories['io.flow.v0.models.payment_method_data_option_logo_svg'](); };
|
|
14797
14904
|
export var makePaymentMethodDataOptionType = function () { return factories['io.flow.v0.enums.payment_method_data_option_type'](); };
|
|
@@ -14813,13 +14920,16 @@ export var makePaymentMethodSummaryApplepay = function () { return factories['io
|
|
|
14813
14920
|
export var makePaymentMethodSummaryBancontact = function () { return factories['io.flow.v0.models.payment_method_summary_bancontact'](); };
|
|
14814
14921
|
export var makePaymentMethodSummaryCard = function () { return factories['io.flow.v0.models.payment_method_summary_card'](); };
|
|
14815
14922
|
export var makePaymentMethodSummaryGooglepay = function () { return factories['io.flow.v0.models.payment_method_summary_googlepay'](); };
|
|
14923
|
+
export var makePaymentMethodSummaryGrabpay = function () { return factories['io.flow.v0.models.payment_method_summary_grabpay'](); };
|
|
14816
14924
|
export var makePaymentMethodSummaryIdeal = function () { return factories['io.flow.v0.models.payment_method_summary_ideal'](); };
|
|
14925
|
+
export var makePaymentMethodSummaryKcpCreditcard = function () { return factories['io.flow.v0.models.payment_method_summary_kcp_creditcard'](); };
|
|
14817
14926
|
export var makePaymentMethodSummaryKlarna = function () { return factories['io.flow.v0.models.payment_method_summary_klarna'](); };
|
|
14818
14927
|
export var makePaymentMethodSummaryMobilepay = function () { return factories['io.flow.v0.models.payment_method_summary_mobilepay'](); };
|
|
14819
14928
|
export var makePaymentMethodSummaryPaypal = function () { return factories['io.flow.v0.models.payment_method_summary_paypal'](); };
|
|
14820
14929
|
export var makePaymentMethodSummaryPrzelewy24 = function () { return factories['io.flow.v0.models.payment_method_summary_przelewy24'](); };
|
|
14821
14930
|
export var makePaymentMethodSummarySofort = function () { return factories['io.flow.v0.models.payment_method_summary_sofort'](); };
|
|
14822
14931
|
export var makePaymentMethodSummaryTwint = function () { return factories['io.flow.v0.models.payment_method_summary_twint'](); };
|
|
14932
|
+
export var makePaymentMethodSummaryVipps = function () { return factories['io.flow.v0.models.payment_method_summary_vipps'](); };
|
|
14823
14933
|
export var makePaymentMethodTag = function () { return factories['io.flow.v0.unions.payment_method_tag'](); };
|
|
14824
14934
|
export var makePaymentMethodType = function () { return factories['io.flow.v0.enums.payment_method_type'](); };
|
|
14825
14935
|
export var makePaymentOrderDetailsLineItem = function () { return factories['io.flow.v0.models.payment_order_details_line_item'](); };
|
|
@@ -15017,6 +15127,7 @@ export var makeRefundCaptureUpsertedV2 = function () { return factories['io.flow
|
|
|
15017
15127
|
export var makeRefundDeclineCode = function () { return factories['io.flow.v0.enums.refund_decline_code'](); };
|
|
15018
15128
|
export var makeRefundDeletedV2 = function () { return factories['io.flow.v0.models.refund_deleted_v2'](); };
|
|
15019
15129
|
export var makeRefundError = function () { return factories['io.flow.v0.models.refund_error'](); };
|
|
15130
|
+
export var makeRefundFailureCategory = function () { return factories['io.flow.v0.enums.refund_failure_category'](); };
|
|
15020
15131
|
export var makeRefundForm = function () { return factories['io.flow.v0.models.refund_form'](); };
|
|
15021
15132
|
export var makeRefundIdentifier = function () { return factories['io.flow.v0.models.refund_identifier'](); };
|
|
15022
15133
|
export var makeRefundIdentifierDeleted = function () { return factories['io.flow.v0.models.refund_identifier_deleted'](); };
|
package/dist/types/api.d.ts
CHANGED
|
@@ -415,6 +415,7 @@ export declare const makeDeliveryWindowSummary: () => io.flow.v0.models.Delivery
|
|
|
415
415
|
export declare const makeDeminimis: () => io.flow.v0.unions.Deminimis;
|
|
416
416
|
export declare const makeDeminimisPerItem: () => io.flow.v0.models.DeminimisPerItem;
|
|
417
417
|
export declare const makeDeminimisSimple: () => io.flow.v0.models.DeminimisSimple;
|
|
418
|
+
export declare const makeDestinationContactDetail: () => io.flow.v0.models.DestinationContactDetail;
|
|
418
419
|
export declare const makeDetailedShippingLabelForm: () => io.flow.v0.models.DetailedShippingLabelForm;
|
|
419
420
|
export declare const makeDetailedShippingNotificationForm: () => io.flow.v0.models.DetailedShippingNotificationForm;
|
|
420
421
|
export declare const makeDetailedTaxRegistration: () => io.flow.v0.models.DetailedTaxRegistration;
|
|
@@ -732,10 +733,12 @@ export declare const makeIssuerV1: () => io.flow.v0.models.IssuerV1;
|
|
|
732
733
|
export declare const makeItem: () => io.flow.v0.models.Item;
|
|
733
734
|
export declare const makeItemAttributesPatchForm: () => io.flow.v0.models.ItemAttributesPatchForm;
|
|
734
735
|
export declare const makeItemAvailabilityStatus: () => io.flow.v0.enums.ItemAvailabilityStatus;
|
|
736
|
+
export declare const makeItemDeleted: () => io.flow.v0.models.ItemDeleted;
|
|
735
737
|
export declare const makeItemForm: () => io.flow.v0.models.ItemForm;
|
|
736
738
|
export declare const makeItemFormOverlay: () => io.flow.v0.models.ItemFormOverlay;
|
|
737
739
|
export declare const makeItemFormOverlayForm: () => io.flow.v0.models.ItemFormOverlayForm;
|
|
738
740
|
export declare const makeItemIdentifier: () => io.flow.v0.enums.ItemIdentifier;
|
|
741
|
+
export declare const makeItemInserted: () => io.flow.v0.models.ItemInserted;
|
|
739
742
|
export declare const makeItemMargin: () => io.flow.v0.models.ItemMargin;
|
|
740
743
|
export declare const makeItemMarginDeletedV2: () => io.flow.v0.models.ItemMarginDeletedV2;
|
|
741
744
|
export declare const makeItemMarginPostForm: () => io.flow.v0.models.ItemMarginPostForm;
|
|
@@ -752,6 +755,7 @@ export declare const makeItemSalesMarginDeleted: () => io.flow.v0.models.ItemSal
|
|
|
752
755
|
export declare const makeItemSalesMarginUpserted: () => io.flow.v0.models.ItemSalesMarginUpserted;
|
|
753
756
|
export declare const makeItemShippingPricing: () => io.flow.v0.models.ItemShippingPricing;
|
|
754
757
|
export declare const makeItemStatistics: () => io.flow.v0.models.ItemStatistics;
|
|
758
|
+
export declare const makeItemUpdated: () => io.flow.v0.models.ItemUpdated;
|
|
755
759
|
export declare const makeItemVersion: () => io.flow.v0.models.ItemVersion;
|
|
756
760
|
export declare const makeJsonpResponse: () => io.flow.v0.models.JsonpResponse;
|
|
757
761
|
export declare const makeKlarnaPaymentCategory: () => io.flow.v0.models.KlarnaPaymentCategory;
|
|
@@ -1116,13 +1120,16 @@ export declare const makePaymentMethodDataInitAfterpay: () => io.flow.v0.models.
|
|
|
1116
1120
|
export declare const makePaymentMethodDataInitApplepay: () => io.flow.v0.models.PaymentMethodDataInitApplepay;
|
|
1117
1121
|
export declare const makePaymentMethodDataInitBancontact: () => io.flow.v0.models.PaymentMethodDataInitBancontact;
|
|
1118
1122
|
export declare const makePaymentMethodDataInitGooglepay: () => io.flow.v0.models.PaymentMethodDataInitGooglepay;
|
|
1123
|
+
export declare const makePaymentMethodDataInitGrabpay: () => io.flow.v0.models.PaymentMethodDataInitGrabpay;
|
|
1119
1124
|
export declare const makePaymentMethodDataInitIdeal: () => io.flow.v0.models.PaymentMethodDataInitIdeal;
|
|
1125
|
+
export declare const makePaymentMethodDataInitKcpCreditcard: () => io.flow.v0.models.PaymentMethodDataInitKcpCreditcard;
|
|
1120
1126
|
export declare const makePaymentMethodDataInitKlarna: () => io.flow.v0.models.PaymentMethodDataInitKlarna;
|
|
1121
1127
|
export declare const makePaymentMethodDataInitMobilepay: () => io.flow.v0.models.PaymentMethodDataInitMobilepay;
|
|
1122
1128
|
export declare const makePaymentMethodDataInitPaypal: () => io.flow.v0.models.PaymentMethodDataInitPaypal;
|
|
1123
1129
|
export declare const makePaymentMethodDataInitPrzelewy24: () => io.flow.v0.models.PaymentMethodDataInitPrzelewy24;
|
|
1124
1130
|
export declare const makePaymentMethodDataInitSofort: () => io.flow.v0.models.PaymentMethodDataInitSofort;
|
|
1125
1131
|
export declare const makePaymentMethodDataInitTwint: () => io.flow.v0.models.PaymentMethodDataInitTwint;
|
|
1132
|
+
export declare const makePaymentMethodDataInitVipps: () => io.flow.v0.models.PaymentMethodDataInitVipps;
|
|
1126
1133
|
export declare const makePaymentMethodDataOptionLogo: () => io.flow.v0.models.PaymentMethodDataOptionLogoSvg;
|
|
1127
1134
|
export declare const makePaymentMethodDataOptionLogoSvg: () => io.flow.v0.models.PaymentMethodDataOptionLogoSvg;
|
|
1128
1135
|
export declare const makePaymentMethodDataOptionType: () => "ideal_issuer_option";
|
|
@@ -1144,13 +1151,16 @@ export declare const makePaymentMethodSummaryApplepay: () => io.flow.v0.models.P
|
|
|
1144
1151
|
export declare const makePaymentMethodSummaryBancontact: () => io.flow.v0.models.PaymentMethodSummaryBancontact;
|
|
1145
1152
|
export declare const makePaymentMethodSummaryCard: () => io.flow.v0.models.PaymentMethodSummaryCard;
|
|
1146
1153
|
export declare const makePaymentMethodSummaryGooglepay: () => io.flow.v0.models.PaymentMethodSummaryGooglepay;
|
|
1154
|
+
export declare const makePaymentMethodSummaryGrabpay: () => io.flow.v0.models.PaymentMethodSummaryGrabpay;
|
|
1147
1155
|
export declare const makePaymentMethodSummaryIdeal: () => io.flow.v0.models.PaymentMethodSummaryIdeal;
|
|
1156
|
+
export declare const makePaymentMethodSummaryKcpCreditcard: () => io.flow.v0.models.PaymentMethodSummaryKcpCreditcard;
|
|
1148
1157
|
export declare const makePaymentMethodSummaryKlarna: () => io.flow.v0.models.PaymentMethodSummaryKlarna;
|
|
1149
1158
|
export declare const makePaymentMethodSummaryMobilepay: () => io.flow.v0.models.PaymentMethodSummaryMobilepay;
|
|
1150
1159
|
export declare const makePaymentMethodSummaryPaypal: () => io.flow.v0.models.PaymentMethodSummaryPaypal;
|
|
1151
1160
|
export declare const makePaymentMethodSummaryPrzelewy24: () => io.flow.v0.models.PaymentMethodSummaryPrzelewy24;
|
|
1152
1161
|
export declare const makePaymentMethodSummarySofort: () => io.flow.v0.models.PaymentMethodSummarySofort;
|
|
1153
1162
|
export declare const makePaymentMethodSummaryTwint: () => io.flow.v0.models.PaymentMethodSummaryTwint;
|
|
1163
|
+
export declare const makePaymentMethodSummaryVipps: () => io.flow.v0.models.PaymentMethodSummaryVipps;
|
|
1154
1164
|
export declare const makePaymentMethodTag: () => io.flow.v0.unions.PaymentMethodTag;
|
|
1155
1165
|
export declare const makePaymentMethodType: () => io.flow.v0.enums.PaymentMethodType;
|
|
1156
1166
|
export declare const makePaymentOrderDetailsLineItem: () => io.flow.v0.models.PaymentOrderDetailsLineItem;
|
|
@@ -1348,6 +1358,7 @@ export declare const makeRefundCaptureUpsertedV2: () => io.flow.v0.models.Refund
|
|
|
1348
1358
|
export declare const makeRefundDeclineCode: () => io.flow.v0.enums.RefundDeclineCode;
|
|
1349
1359
|
export declare const makeRefundDeletedV2: () => io.flow.v0.models.RefundDeletedV2;
|
|
1350
1360
|
export declare const makeRefundError: () => io.flow.v0.models.RefundError;
|
|
1361
|
+
export declare const makeRefundFailureCategory: () => io.flow.v0.enums.RefundFailureCategory;
|
|
1351
1362
|
export declare const makeRefundForm: () => io.flow.v0.models.RefundForm;
|
|
1352
1363
|
export declare const makeRefundIdentifier: () => io.flow.v0.models.RefundIdentifier;
|
|
1353
1364
|
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.93",
|
|
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": "f75564e8d259c34e55cd55031e0f18ad6abc6a96"
|
|
40
40
|
}
|