@flowio/api-factories 0.0.80 → 0.0.81
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 +200 -39
- package/dist/esm/api.js +150 -3
- package/dist/types/api.d.ts +14 -0
- package/package.json +2 -2
- package/src/api.ts +173 -3
package/dist/esm/api.js
CHANGED
|
@@ -1357,7 +1357,7 @@ var factories = {
|
|
|
1357
1357
|
'succeeded',
|
|
1358
1358
|
]); },
|
|
1359
1359
|
'io.flow.stripe.v0.enums.payment_method_category_klarna': function () { return faker.helpers.arrayElement(['pay_later', 'pay_now', 'pay_with_financing', 'pay_in_installments']); },
|
|
1360
|
-
'io.flow.stripe.v0.enums.payment_method_type': function () { return faker.helpers.arrayElement(['card', 'card_present']); },
|
|
1360
|
+
'io.flow.stripe.v0.enums.payment_method_type': function () { return faker.helpers.arrayElement(['card', 'card_present', 'klarna']); },
|
|
1361
1361
|
'io.flow.stripe.v0.enums.payment_outcome_type': function () { return faker.helpers.arrayElement(['authorized', 'manual_review', 'issuer_declined', 'blocked', 'invalid']); },
|
|
1362
1362
|
'io.flow.stripe.v0.enums.payment_status': function () { return faker.helpers.arrayElement(['succeeded', 'pending', 'failed']); },
|
|
1363
1363
|
'io.flow.stripe.v0.enums.preferred_locale_klarna': function () { return faker.helpers.arrayElement([
|
|
@@ -1674,6 +1674,11 @@ var factories = {
|
|
|
1674
1674
|
'io.flow.stripe.v0.models.klarna_attachment': function () { return ({
|
|
1675
1675
|
marketplace_seller_info: arrayOf(function () { return factories['io.flow.stripe.v0.models.klarna_marketplace_seller_info'](); }),
|
|
1676
1676
|
}); },
|
|
1677
|
+
'io.flow.stripe.v0.models.klarna_dob_form': function () { return ({
|
|
1678
|
+
day: factories.integer(),
|
|
1679
|
+
month: factories.integer(),
|
|
1680
|
+
year: factories.integer(),
|
|
1681
|
+
}); },
|
|
1677
1682
|
'io.flow.stripe.v0.models.klarna_marketplace_seller_info': function () { return ({
|
|
1678
1683
|
sub_merchant_id: factories.string(),
|
|
1679
1684
|
product_category: factories.string(),
|
|
@@ -1681,6 +1686,11 @@ var factories = {
|
|
|
1681
1686
|
'io.flow.stripe.v0.models.legal_entity': function () { return ({
|
|
1682
1687
|
additional_owners: arrayOf(function () { return factories['io.flow.stripe.v0.models.owner'](); }),
|
|
1683
1688
|
}); },
|
|
1689
|
+
'io.flow.stripe.v0.models.marketplace_seller_info': function () { return ({
|
|
1690
|
+
name: factories.string(),
|
|
1691
|
+
id: factories.string(),
|
|
1692
|
+
product_category: factories.string(),
|
|
1693
|
+
}); },
|
|
1684
1694
|
'io.flow.stripe.v0.models.masterpass': function () { return ({
|
|
1685
1695
|
type: 'masterpass',
|
|
1686
1696
|
masterpass: factories['io.flow.stripe.v0.models.masterpass_information'](),
|
|
@@ -1757,6 +1767,9 @@ var factories = {
|
|
|
1757
1767
|
verified_name: factories.string(),
|
|
1758
1768
|
verified_phone: factories.string(),
|
|
1759
1769
|
}); },
|
|
1770
|
+
'io.flow.stripe.v0.models.payment_details': function () { return ({
|
|
1771
|
+
marketplace_seller_info: factories['io.flow.stripe.v0.models.marketplace_seller_info'](),
|
|
1772
|
+
}); },
|
|
1760
1773
|
'io.flow.stripe.v0.models.payment_intent': function () { return ({
|
|
1761
1774
|
id: factories.string(),
|
|
1762
1775
|
object: factories.string(),
|
|
@@ -1873,6 +1886,7 @@ var factories = {
|
|
|
1873
1886
|
billing_details: factories['io.flow.stripe.v0.models.payment_method_billing_details'](),
|
|
1874
1887
|
card: factories['io.flow.stripe.v0.models.payment_method_card_details'](),
|
|
1875
1888
|
card_present: factories.object(),
|
|
1889
|
+
klarna: factories.object(),
|
|
1876
1890
|
created: factories.long(),
|
|
1877
1891
|
customer: factories.string(),
|
|
1878
1892
|
livemode: factories.boolean(),
|
|
@@ -1908,6 +1922,12 @@ var factories = {
|
|
|
1908
1922
|
metadata: factories.object(),
|
|
1909
1923
|
card: factories['io.flow.stripe.v0.models.payment_method_card_form'](),
|
|
1910
1924
|
}); },
|
|
1925
|
+
'io.flow.stripe.v0.models.payment_method_data_klarna': function () { return ({
|
|
1926
|
+
type: 'klarna',
|
|
1927
|
+
billing_details: factories['io.flow.stripe.v0.models.payment_method_billing_details'](),
|
|
1928
|
+
metadata: factories.object(),
|
|
1929
|
+
klarna: factories['io.flow.stripe.v0.models.payment_method_klarna_form'](),
|
|
1930
|
+
}); },
|
|
1911
1931
|
'io.flow.stripe.v0.models.payment_method_details_card': function () { return ({
|
|
1912
1932
|
type: 'card',
|
|
1913
1933
|
card: factories['io.flow.stripe.v0.models.payment_method_details_card_information'](),
|
|
@@ -1951,8 +1971,18 @@ var factories = {
|
|
|
1951
1971
|
metadata: factories.object(),
|
|
1952
1972
|
card: factories['io.flow.stripe.v0.models.payment_method_card_form'](),
|
|
1953
1973
|
}); },
|
|
1974
|
+
'io.flow.stripe.v0.models.payment_method_form_klarna': function () { return ({
|
|
1975
|
+
type: 'klarna',
|
|
1976
|
+
billing_details: factories['io.flow.stripe.v0.models.payment_method_billing_details'](),
|
|
1977
|
+
metadata: factories.object(),
|
|
1978
|
+
klarna: factories['io.flow.stripe.v0.models.payment_method_klarna_form'](),
|
|
1979
|
+
}); },
|
|
1980
|
+
'io.flow.stripe.v0.models.payment_method_klarna_form': function () { return ({
|
|
1981
|
+
dob: factories['io.flow.stripe.v0.models.klarna_dob_form'](),
|
|
1982
|
+
}); },
|
|
1954
1983
|
'io.flow.stripe.v0.models.payment_method_options': function () { return ({
|
|
1955
1984
|
card: factories['io.flow.stripe.v0.models.payment_method_options_card'](),
|
|
1985
|
+
klarna: factories['io.flow.stripe.v0.models.payment_method_options_klarna'](),
|
|
1956
1986
|
}); },
|
|
1957
1987
|
'io.flow.stripe.v0.models.payment_method_options_card': function () { return ({
|
|
1958
1988
|
network: factories.string(),
|
|
@@ -1969,6 +1999,19 @@ var factories = {
|
|
|
1969
1999
|
}); },
|
|
1970
2000
|
'io.flow.stripe.v0.models.payment_method_options_form': function () { return ({
|
|
1971
2001
|
card: factories['io.flow.stripe.v0.models.payment_method_options_card_form'](),
|
|
2002
|
+
klarna: factories['io.flow.stripe.v0.models.payment_method_options_klarna_form'](),
|
|
2003
|
+
}); },
|
|
2004
|
+
'io.flow.stripe.v0.models.payment_method_options_klarna': function () { return ({
|
|
2005
|
+
capture_method: factories['io.flow.stripe.v0.enums.capture_method'](),
|
|
2006
|
+
preferred_locale: factories['io.flow.stripe.v0.enums.preferred_locale_klarna'](),
|
|
2007
|
+
setup_future_usage: factories['io.flow.stripe.v0.enums.setup_future_usage'](),
|
|
2008
|
+
payment_details: factories['io.flow.stripe.v0.models.payment_details'](),
|
|
2009
|
+
}); },
|
|
2010
|
+
'io.flow.stripe.v0.models.payment_method_options_klarna_form': function () { return ({
|
|
2011
|
+
capture_method: factories['io.flow.stripe.v0.enums.capture_method'](),
|
|
2012
|
+
preferred_locale: factories['io.flow.stripe.v0.enums.preferred_locale_klarna'](),
|
|
2013
|
+
setup_future_usage: factories['io.flow.stripe.v0.enums.setup_future_usage'](),
|
|
2014
|
+
payment_details: factories['io.flow.stripe.v0.models.payment_details'](),
|
|
1972
2015
|
}); },
|
|
1973
2016
|
'io.flow.stripe.v0.models.payment_outcome': function () { return ({
|
|
1974
2017
|
network_status: factories['io.flow.stripe.v0.enums.network_status'](),
|
|
@@ -2240,7 +2283,10 @@ var factories = {
|
|
|
2240
2283
|
return f();
|
|
2241
2284
|
},
|
|
2242
2285
|
'io.flow.stripe.v0.unions.payment_method_data': function () {
|
|
2243
|
-
var f = faker.helpers.arrayElement([
|
|
2286
|
+
var f = faker.helpers.arrayElement([
|
|
2287
|
+
function () { return factories['io.flow.stripe.v0.models.payment_method_data_card'](); },
|
|
2288
|
+
function () { return factories['io.flow.stripe.v0.models.payment_method_data_klarna'](); },
|
|
2289
|
+
]);
|
|
2244
2290
|
return f();
|
|
2245
2291
|
},
|
|
2246
2292
|
'io.flow.stripe.v0.unions.payment_method_details': function () {
|
|
@@ -2251,7 +2297,10 @@ var factories = {
|
|
|
2251
2297
|
return f();
|
|
2252
2298
|
},
|
|
2253
2299
|
'io.flow.stripe.v0.unions.payment_method_form': function () {
|
|
2254
|
-
var f = faker.helpers.arrayElement([
|
|
2300
|
+
var f = faker.helpers.arrayElement([
|
|
2301
|
+
function () { return factories['io.flow.stripe.v0.models.payment_method_form_card'](); },
|
|
2302
|
+
function () { return factories['io.flow.stripe.v0.models.payment_method_form_klarna'](); },
|
|
2303
|
+
]);
|
|
2255
2304
|
return f();
|
|
2256
2305
|
},
|
|
2257
2306
|
'io.flow.v0.enums.abandoned_order_promotion_status': function () { return faker.helpers.arrayElement(['active', 'inactive']); },
|
|
@@ -2668,6 +2717,7 @@ var factories = {
|
|
|
2668
2717
|
'organization_fulfillment',
|
|
2669
2718
|
'organization_marketing',
|
|
2670
2719
|
'organization_finance',
|
|
2720
|
+
'organization_classification',
|
|
2671
2721
|
'flow_operations',
|
|
2672
2722
|
'channel_admin',
|
|
2673
2723
|
'channel_organization_admin',
|
|
@@ -2744,6 +2794,7 @@ var factories = {
|
|
|
2744
2794
|
'io.flow.v0.enums.logistics_format_preference': function () { return faker.helpers.arrayElement(['shopify_console', 'existing_3pl_integration', 'byo_integration']); },
|
|
2745
2795
|
'io.flow.v0.enums.margin_type': function () { return faker.helpers.arrayElement(['fixed', 'percent']); },
|
|
2746
2796
|
'io.flow.v0.enums.measurement_system': function () { return faker.helpers.arrayElement(['imperial', 'metric']); },
|
|
2797
|
+
'io.flow.v0.enums.merchant_disabled_reason': function () { return faker.helpers.arrayElement(['merchant_deactivated', 'merchant_rejected']); },
|
|
2747
2798
|
'io.flow.v0.enums.merchant_gift_card_error_code': function () { return faker.helpers.arrayElement([
|
|
2748
2799
|
'invalid',
|
|
2749
2800
|
'expired',
|
|
@@ -2765,6 +2816,7 @@ var factories = {
|
|
|
2765
2816
|
'business_street_address_is_blank',
|
|
2766
2817
|
'business_street_address_is_po_box',
|
|
2767
2818
|
'exception_merchant',
|
|
2819
|
+
'application_missing',
|
|
2768
2820
|
]); },
|
|
2769
2821
|
'io.flow.v0.enums.onboarding_trade_sector': function () { return faker.helpers.arrayElement([
|
|
2770
2822
|
'accessories',
|
|
@@ -3226,6 +3278,10 @@ var factories = {
|
|
|
3226
3278
|
'emergency',
|
|
3227
3279
|
'peak',
|
|
3228
3280
|
'address_correction',
|
|
3281
|
+
'security_ratecard_fee',
|
|
3282
|
+
'eei_filing_ratecard_fee',
|
|
3283
|
+
'fixed_ddp_ratecard_fee',
|
|
3284
|
+
'fixed_currency_conversion_ratecard_fee',
|
|
3229
3285
|
]); },
|
|
3230
3286
|
'io.flow.v0.enums.unit_of_length': function () { return faker.helpers.arrayElement(['millimeter', 'centimeter', 'inch', 'foot', 'meter']); },
|
|
3231
3287
|
'io.flow.v0.enums.unit_of_measurement': function () { return faker.helpers.arrayElement([
|
|
@@ -3424,6 +3480,16 @@ var factories = {
|
|
|
3424
3480
|
'io.flow.v0.models.activation_put_form': function () { return ({
|
|
3425
3481
|
placeholder: factories.boolean(),
|
|
3426
3482
|
}); },
|
|
3483
|
+
'io.flow.v0.models.additional_handling_service_fee': function () { return ({
|
|
3484
|
+
discriminator: 'additional_handling_service_fee',
|
|
3485
|
+
length_girth_threshold: factories.decimal(),
|
|
3486
|
+
length_threshold: factories.decimal(),
|
|
3487
|
+
width_threshold: factories.decimal(),
|
|
3488
|
+
dimensional_unit: factories['io.flow.v0.enums.unit_of_measurement'](),
|
|
3489
|
+
weight_threshold: factories.decimal(),
|
|
3490
|
+
weight_unit: factories['io.flow.v0.enums.unit_of_measurement'](),
|
|
3491
|
+
amount: factories['io.flow.v0.models.money'](),
|
|
3492
|
+
}); },
|
|
3427
3493
|
'io.flow.v0.models.additional_services_requested': function () { return ({
|
|
3428
3494
|
name: factories.string(),
|
|
3429
3495
|
description: factories.string(),
|
|
@@ -5683,6 +5749,15 @@ var factories = {
|
|
|
5683
5749
|
organization: factories.string(),
|
|
5684
5750
|
ecommerce_platform: factories['io.flow.v0.models.ecommerce_platform'](),
|
|
5685
5751
|
}); },
|
|
5752
|
+
'io.flow.v0.models.eei_filing_ratecard_fee': function () { return ({
|
|
5753
|
+
discriminator: 'eei_filing_ratecard_fee',
|
|
5754
|
+
amount: factories['io.flow.v0.models.money'](),
|
|
5755
|
+
}); },
|
|
5756
|
+
'io.flow.v0.models.eei_filing_service_fee': function () { return ({
|
|
5757
|
+
discriminator: 'eei_filing_service_fee',
|
|
5758
|
+
amount: factories['io.flow.v0.models.money'](),
|
|
5759
|
+
value_threshold: factories['io.flow.v0.models.money'](),
|
|
5760
|
+
}); },
|
|
5686
5761
|
'io.flow.v0.models.email_abandoned_order_promotion': function () { return ({
|
|
5687
5762
|
discount_form: factories['io.flow.v0.models.discount_form'](),
|
|
5688
5763
|
attributes: objectOf(function () { return factories.string(); }),
|
|
@@ -6124,6 +6199,26 @@ var factories = {
|
|
|
6124
6199
|
discriminator: 'required_if_present',
|
|
6125
6200
|
placeholder: factories.string(),
|
|
6126
6201
|
}); },
|
|
6202
|
+
'io.flow.v0.models.fixed_currency_conversion_ratecard_fee': function () { return ({
|
|
6203
|
+
discriminator: 'fixed_currency_conversion_ratecard_fee',
|
|
6204
|
+
amount: factories['io.flow.v0.models.money'](),
|
|
6205
|
+
}); },
|
|
6206
|
+
'io.flow.v0.models.fixed_currency_conversion_service_fee': function () { return ({
|
|
6207
|
+
discriminator: 'fixed_currency_conversion_service_fee',
|
|
6208
|
+
conditions: arrayOf(function () { return factories['io.flow.v0.models.fixed_fee_condition'](); }),
|
|
6209
|
+
}); },
|
|
6210
|
+
'io.flow.v0.models.fixed_ddp_ratecard_fee': function () { return ({
|
|
6211
|
+
discriminator: 'fixed_ddp_ratecard_fee',
|
|
6212
|
+
amount: factories['io.flow.v0.models.money'](),
|
|
6213
|
+
}); },
|
|
6214
|
+
'io.flow.v0.models.fixed_ddp_service_fee': function () { return ({
|
|
6215
|
+
discriminator: 'fixed_ddp_service_fee',
|
|
6216
|
+
conditions: arrayOf(function () { return factories['io.flow.v0.models.fixed_fee_condition'](); }),
|
|
6217
|
+
}); },
|
|
6218
|
+
'io.flow.v0.models.fixed_fee_condition': function () { return ({
|
|
6219
|
+
countries: arrayOf(function () { return factories.string(); }),
|
|
6220
|
+
amount: factories['io.flow.v0.models.money'](),
|
|
6221
|
+
}); },
|
|
6127
6222
|
'io.flow.v0.models.flat_rate': function () { return ({
|
|
6128
6223
|
discriminator: 'flat_rate',
|
|
6129
6224
|
price: factories['io.flow.v0.models.price'](),
|
|
@@ -7173,6 +7268,14 @@ var factories = {
|
|
|
7173
7268
|
name: factories.string(),
|
|
7174
7269
|
iso_639_2: factories.string(),
|
|
7175
7270
|
}); },
|
|
7271
|
+
'io.flow.v0.models.large_package_service_fee': function () { return ({
|
|
7272
|
+
discriminator: 'large_package_service_fee',
|
|
7273
|
+
length_girth_threshold: factories.decimal(),
|
|
7274
|
+
dimensional_unit: factories['io.flow.v0.enums.unit_of_measurement'](),
|
|
7275
|
+
weight_threshold: factories.decimal(),
|
|
7276
|
+
weight_unit: factories['io.flow.v0.enums.unit_of_measurement'](),
|
|
7277
|
+
amount: factories['io.flow.v0.models.money'](),
|
|
7278
|
+
}); },
|
|
7176
7279
|
'io.flow.v0.models.line': function () { return ({
|
|
7177
7280
|
id: factories.string(),
|
|
7178
7281
|
item_number: factories.string(),
|
|
@@ -7476,6 +7579,10 @@ var factories = {
|
|
|
7476
7579
|
discriminator: 'merchant_deactivated',
|
|
7477
7580
|
reason: factories.string(),
|
|
7478
7581
|
}); },
|
|
7582
|
+
'io.flow.v0.models.merchant_disabled': function () { return ({
|
|
7583
|
+
discriminator: 'merchant_disabled',
|
|
7584
|
+
reason: factories['io.flow.v0.enums.merchant_disabled_reason'](),
|
|
7585
|
+
}); },
|
|
7479
7586
|
'io.flow.v0.models.merchant_gift_card_balance': function () { return ({
|
|
7480
7587
|
amount: factories.decimal(),
|
|
7481
7588
|
currency: factories.string(),
|
|
@@ -10163,6 +10270,11 @@ var factories = {
|
|
|
10163
10270
|
'io.flow.v0.models.region_setting_form': function () { return ({
|
|
10164
10271
|
status: factories['io.flow.v0.enums.availability_status'](),
|
|
10165
10272
|
}); },
|
|
10273
|
+
'io.flow.v0.models.remote_area_by_weight_service_fee': function () { return ({
|
|
10274
|
+
discriminator: 'remote_area_by_weight_service_fee',
|
|
10275
|
+
amount: factories['io.flow.v0.models.money'](),
|
|
10276
|
+
weight_unit: factories['io.flow.v0.enums.unit_of_measurement'](),
|
|
10277
|
+
}); },
|
|
10166
10278
|
'io.flow.v0.models.remote_area_ratecard_fee': function () { return ({
|
|
10167
10279
|
discriminator: 'remote_area_ratecard_fee',
|
|
10168
10280
|
amount: factories['io.flow.v0.models.money'](),
|
|
@@ -10459,6 +10571,15 @@ var factories = {
|
|
|
10459
10571
|
hour_of_day: factories.string(),
|
|
10460
10572
|
minute_of_hour: factories.string(),
|
|
10461
10573
|
}); },
|
|
10574
|
+
'io.flow.v0.models.security_ratecard_fee': function () { return ({
|
|
10575
|
+
discriminator: 'security_ratecard_fee',
|
|
10576
|
+
amount: factories['io.flow.v0.models.money'](),
|
|
10577
|
+
}); },
|
|
10578
|
+
'io.flow.v0.models.security_service_fee': function () { return ({
|
|
10579
|
+
discriminator: 'security_service_fee',
|
|
10580
|
+
amount: factories['io.flow.v0.models.money'](),
|
|
10581
|
+
countries: arrayOf(function () { return factories.string(); }),
|
|
10582
|
+
}); },
|
|
10462
10583
|
'io.flow.v0.models.select_issuer_option_action_details': function () { return ({
|
|
10463
10584
|
discriminator: 'select_issuer_option_action_details',
|
|
10464
10585
|
issuer_options: arrayOf(function () { return factories['io.flow.v0.models.issuer_reference'](); }),
|
|
@@ -12707,6 +12828,7 @@ var factories = {
|
|
|
12707
12828
|
function () { return factories['io.flow.v0.models.setup_completed'](); },
|
|
12708
12829
|
function () { return factories['io.flow.v0.models.merchant_activated'](); },
|
|
12709
12830
|
function () { return factories['io.flow.v0.models.merchant_deactivated'](); },
|
|
12831
|
+
function () { return factories['io.flow.v0.models.merchant_disabled'](); },
|
|
12710
12832
|
]);
|
|
12711
12833
|
return f();
|
|
12712
12834
|
},
|
|
@@ -12947,6 +13069,10 @@ var factories = {
|
|
|
12947
13069
|
function () { return factories['io.flow.v0.models.emergency_situation_surcharge_ratecard_fee'](); },
|
|
12948
13070
|
function () { return factories['io.flow.v0.models.peak_surcharge_ratecard_fee'](); },
|
|
12949
13071
|
function () { return factories['io.flow.v0.models.duties_taxes_paid_surcharge_ratecard_fee'](); },
|
|
13072
|
+
function () { return factories['io.flow.v0.models.security_ratecard_fee'](); },
|
|
13073
|
+
function () { return factories['io.flow.v0.models.eei_filing_ratecard_fee'](); },
|
|
13074
|
+
function () { return factories['io.flow.v0.models.fixed_ddp_ratecard_fee'](); },
|
|
13075
|
+
function () { return factories['io.flow.v0.models.fixed_currency_conversion_ratecard_fee'](); },
|
|
12950
13076
|
]);
|
|
12951
13077
|
return f();
|
|
12952
13078
|
},
|
|
@@ -12998,6 +13124,13 @@ var factories = {
|
|
|
12998
13124
|
function () { return factories['io.flow.v0.models.peak_surcharge_by_weight_service_fee'](); },
|
|
12999
13125
|
function () { return factories['io.flow.v0.models.duties_taxes_paid_surcharge_service_fee'](); },
|
|
13000
13126
|
function () { return factories['io.flow.v0.models.oversize_piece_surcharge_service_fee'](); },
|
|
13127
|
+
function () { return factories['io.flow.v0.models.remote_area_by_weight_service_fee'](); },
|
|
13128
|
+
function () { return factories['io.flow.v0.models.additional_handling_service_fee'](); },
|
|
13129
|
+
function () { return factories['io.flow.v0.models.large_package_service_fee'](); },
|
|
13130
|
+
function () { return factories['io.flow.v0.models.security_service_fee'](); },
|
|
13131
|
+
function () { return factories['io.flow.v0.models.fixed_ddp_service_fee'](); },
|
|
13132
|
+
function () { return factories['io.flow.v0.models.fixed_currency_conversion_service_fee'](); },
|
|
13133
|
+
function () { return factories['io.flow.v0.models.eei_filing_service_fee'](); },
|
|
13001
13134
|
]);
|
|
13002
13135
|
return f();
|
|
13003
13136
|
},
|
|
@@ -13141,6 +13274,7 @@ export var makeActionUseSdkPaypal = function () { return factories['io.flow.v0.m
|
|
|
13141
13274
|
export var makeActionUseSdkStripeV3 = function () { return factories['io.flow.v0.models.action_use_sdk_stripe_v3'](); };
|
|
13142
13275
|
export var makeActionWait = function () { return factories['io.flow.v0.models.action_wait'](); };
|
|
13143
13276
|
export var makeActivationPutForm = function () { return factories['io.flow.v0.models.activation_put_form'](); };
|
|
13277
|
+
export var makeAdditionalHandlingServiceFee = function () { return factories['io.flow.v0.models.additional_handling_service_fee'](); };
|
|
13144
13278
|
export var makeAdditionalServicesRequested = function () { return factories['io.flow.v0.models.additional_services_requested'](); };
|
|
13145
13279
|
export var makeAddress = function () { return factories['io.flow.v0.models.address'](); };
|
|
13146
13280
|
export var makeAddressConfiguration = function () { return factories['io.flow.v0.models.address_configuration'](); };
|
|
@@ -13577,6 +13711,8 @@ export var makeEcommercePlatformForm = function () { return factories['io.flow.v
|
|
|
13577
13711
|
export var makeEcommercePlatformType = function () { return factories['io.flow.v0.enums.ecommerce_platform_type'](); };
|
|
13578
13712
|
export var makeEcommercePlatformUpserted = function () { return factories['io.flow.v0.models.ecommerce_platform_upserted'](); };
|
|
13579
13713
|
export var makeEconomicTitleLocation = function () { return factories['io.flow.v0.enums.economic_title_location'](); };
|
|
13714
|
+
export var makeEeiFilingRatecardFee = function () { return factories['io.flow.v0.models.eei_filing_ratecard_fee'](); };
|
|
13715
|
+
export var makeEeiFilingServiceFee = function () { return factories['io.flow.v0.models.eei_filing_service_fee'](); };
|
|
13580
13716
|
export var makeEmailAbandonedOrderPromotion = function () { return factories['io.flow.v0.models.email_abandoned_order_promotion'](); };
|
|
13581
13717
|
export var makeEmailAbandonedOrderUrls = function () { return factories['io.flow.v0.models.email_abandoned_order_urls'](); };
|
|
13582
13718
|
export var makeEmailNotification = function () { return factories['io.flow.v0.models.email_notification'](); };
|
|
@@ -13684,6 +13820,11 @@ export var makeFieldValidationPattern = function () { return factories['io.flow.
|
|
|
13684
13820
|
export var makeFieldValidationRequired = function () { return factories['io.flow.v0.models.field_validation_required'](); };
|
|
13685
13821
|
export var makeFieldValidationRequiredIfPresent = function () { return factories['io.flow.v0.models.field_validation_required_if_present'](); };
|
|
13686
13822
|
export var makeFieldValidationRule = function () { return factories['io.flow.v0.unions.field_validation_rule'](); };
|
|
13823
|
+
export var makeFixedCurrencyConversionRatecardFee = function () { return factories['io.flow.v0.models.fixed_currency_conversion_ratecard_fee'](); };
|
|
13824
|
+
export var makeFixedCurrencyConversionServiceFee = function () { return factories['io.flow.v0.models.fixed_currency_conversion_service_fee'](); };
|
|
13825
|
+
export var makeFixedDdpRatecardFee = function () { return factories['io.flow.v0.models.fixed_ddp_ratecard_fee'](); };
|
|
13826
|
+
export var makeFixedDdpServiceFee = function () { return factories['io.flow.v0.models.fixed_ddp_service_fee'](); };
|
|
13827
|
+
export var makeFixedFeeCondition = function () { return factories['io.flow.v0.models.fixed_fee_condition'](); };
|
|
13687
13828
|
export var makeFlatRate = function () { return factories['io.flow.v0.models.flat_rate'](); };
|
|
13688
13829
|
export var makeFlatRateForm = function () { return factories['io.flow.v0.models.flat_rate_form'](); };
|
|
13689
13830
|
export var makeFlowBehavior = function () { return factories['io.flow.v0.enums.flow_behavior'](); };
|
|
@@ -13897,6 +14038,7 @@ export var makeLanePreselectPreference = function () { return factories['io.flow
|
|
|
13897
14038
|
export var makeLaneStrategy = function () { return factories['io.flow.v0.enums.lane_strategy'](); };
|
|
13898
14039
|
export var makeLaneSummary = function () { return factories['io.flow.v0.models.lane_summary'](); };
|
|
13899
14040
|
export var makeLanguage = function () { return factories['io.flow.v0.models.language'](); };
|
|
14041
|
+
export var makeLargePackageServiceFee = function () { return factories['io.flow.v0.models.large_package_service_fee'](); };
|
|
13900
14042
|
export var makeLevyComponent = function () { return factories['io.flow.v0.enums.levy_component'](); };
|
|
13901
14043
|
export var makeLevyInclusion = function () { return factories['io.flow.v0.enums.levy_inclusion'](); };
|
|
13902
14044
|
export var makeLevyStrategy = function () { return factories['io.flow.v0.enums.levy_strategy'](); };
|
|
@@ -13958,6 +14100,8 @@ export var makeMerchantApplicationPutForm = function () { return factories['io.f
|
|
|
13958
14100
|
export var makeMerchantApplicationUpserted = function () { return factories['io.flow.v0.models.merchant_application_upserted'](); };
|
|
13959
14101
|
export var makeMerchantApplicationsSummary = function () { return factories['io.flow.v0.unions.merchant_applications_summary'](); };
|
|
13960
14102
|
export var makeMerchantDeactivated = function () { return factories['io.flow.v0.models.merchant_deactivated'](); };
|
|
14103
|
+
export var makeMerchantDisabled = function () { return factories['io.flow.v0.models.merchant_disabled'](); };
|
|
14104
|
+
export var makeMerchantDisabledReason = function () { return factories['io.flow.v0.enums.merchant_disabled_reason'](); };
|
|
13961
14105
|
export var makeMerchantGiftCardBalance = function () { return factories['io.flow.v0.models.merchant_gift_card_balance'](); };
|
|
13962
14106
|
export var makeMerchantGiftCardBalanceForm = function () { return factories['io.flow.v0.models.merchant_gift_card_balance_form'](); };
|
|
13963
14107
|
export var makeMerchantGiftCardError = function () { return factories['io.flow.v0.models.merchant_gift_card_error'](); };
|
|
@@ -14481,6 +14625,7 @@ export var makeRegionReference = function () { return factories['io.flow.v0.mode
|
|
|
14481
14625
|
export var makeRegionSetting = function () { return factories['io.flow.v0.models.region_setting'](); };
|
|
14482
14626
|
export var makeRegionSettingForm = function () { return factories['io.flow.v0.models.region_setting_form'](); };
|
|
14483
14627
|
export var makeRegionType = function () { return factories['io.flow.v0.enums.region_type'](); };
|
|
14628
|
+
export var makeRemoteAreaByWeightServiceFee = function () { return factories['io.flow.v0.models.remote_area_by_weight_service_fee'](); };
|
|
14484
14629
|
export var makeRemoteAreaRatecardFee = function () { return factories['io.flow.v0.models.remote_area_ratecard_fee'](); };
|
|
14485
14630
|
export var makeRemoteAreaServiceFee = function () { return factories['io.flow.v0.models.remote_area_service_fee'](); };
|
|
14486
14631
|
export var makeRepeatDaily = function () { return factories['io.flow.v0.models.repeat_daily'](); };
|
|
@@ -14546,6 +14691,8 @@ export var makeScheduledExport = function () { return factories['io.flow.v0.mode
|
|
|
14546
14691
|
export var makeScheduledExportForm = function () { return factories['io.flow.v0.models.scheduled_export_form'](); };
|
|
14547
14692
|
export var makeScheduledPickup = function () { return factories['io.flow.v0.models.scheduled_pickup'](); };
|
|
14548
14693
|
export var makeSdkAdyenV3AuthenticationToken = function () { return factories['io.flow.v0.unions.sdk_adyen_v3_authentication_token'](); };
|
|
14694
|
+
export var makeSecurityRatecardFee = function () { return factories['io.flow.v0.models.security_ratecard_fee'](); };
|
|
14695
|
+
export var makeSecurityServiceFee = function () { return factories['io.flow.v0.models.security_service_fee'](); };
|
|
14549
14696
|
export var makeSelectIssuerOptionActionDetails = function () { return factories['io.flow.v0.models.select_issuer_option_action_details'](); };
|
|
14550
14697
|
export var makeServiceDescription = function () { return factories['io.flow.v0.unions.service_description'](); };
|
|
14551
14698
|
export var makeServiceFee = function () { return factories['io.flow.v0.unions.service_fee'](); };
|
package/dist/types/api.d.ts
CHANGED
|
@@ -27,6 +27,7 @@ export declare const makeActionUseSdkPaypal: () => io.flow.v0.models.ActionUseSd
|
|
|
27
27
|
export declare const makeActionUseSdkStripeV3: () => io.flow.v0.models.ActionUseSdkStripeV3;
|
|
28
28
|
export declare const makeActionWait: () => io.flow.v0.models.ActionWait;
|
|
29
29
|
export declare const makeActivationPutForm: () => io.flow.v0.models.ActivationPutForm;
|
|
30
|
+
export declare const makeAdditionalHandlingServiceFee: () => io.flow.v0.models.AdditionalHandlingServiceFee;
|
|
30
31
|
export declare const makeAdditionalServicesRequested: () => io.flow.v0.models.AdditionalServicesRequested;
|
|
31
32
|
export declare const makeAddress: () => io.flow.v0.models.Address;
|
|
32
33
|
export declare const makeAddressConfiguration: () => io.flow.v0.models.AddressConfiguration;
|
|
@@ -463,6 +464,8 @@ export declare const makeEcommercePlatformForm: () => io.flow.v0.models.Ecommerc
|
|
|
463
464
|
export declare const makeEcommercePlatformType: () => io.flow.v0.enums.EcommercePlatformType;
|
|
464
465
|
export declare const makeEcommercePlatformUpserted: () => io.flow.v0.models.EcommercePlatformUpserted;
|
|
465
466
|
export declare const makeEconomicTitleLocation: () => io.flow.v0.enums.EconomicTitleLocation;
|
|
467
|
+
export declare const makeEeiFilingRatecardFee: () => io.flow.v0.models.EeiFilingRatecardFee;
|
|
468
|
+
export declare const makeEeiFilingServiceFee: () => io.flow.v0.models.EeiFilingServiceFee;
|
|
466
469
|
export declare const makeEmailAbandonedOrderPromotion: () => io.flow.v0.models.EmailAbandonedOrderPromotion;
|
|
467
470
|
export declare const makeEmailAbandonedOrderUrls: () => io.flow.v0.models.EmailAbandonedOrderUrls;
|
|
468
471
|
export declare const makeEmailNotification: () => io.flow.v0.models.EmailNotification;
|
|
@@ -570,6 +573,11 @@ export declare const makeFieldValidationPattern: () => io.flow.v0.models.FieldVa
|
|
|
570
573
|
export declare const makeFieldValidationRequired: () => io.flow.v0.models.FieldValidationRequired;
|
|
571
574
|
export declare const makeFieldValidationRequiredIfPresent: () => io.flow.v0.models.FieldValidationRequiredIfPresent;
|
|
572
575
|
export declare const makeFieldValidationRule: () => io.flow.v0.unions.FieldValidationRule;
|
|
576
|
+
export declare const makeFixedCurrencyConversionRatecardFee: () => io.flow.v0.models.FixedCurrencyConversionRatecardFee;
|
|
577
|
+
export declare const makeFixedCurrencyConversionServiceFee: () => io.flow.v0.models.FixedCurrencyConversionServiceFee;
|
|
578
|
+
export declare const makeFixedDdpRatecardFee: () => io.flow.v0.models.FixedDdpRatecardFee;
|
|
579
|
+
export declare const makeFixedDdpServiceFee: () => io.flow.v0.models.FixedDdpServiceFee;
|
|
580
|
+
export declare const makeFixedFeeCondition: () => io.flow.v0.models.FixedFeeCondition;
|
|
573
581
|
export declare const makeFlatRate: () => io.flow.v0.models.FlatRate;
|
|
574
582
|
export declare const makeFlatRateForm: () => io.flow.v0.models.FlatRateForm;
|
|
575
583
|
export declare const makeFlowBehavior: () => "view_consumer_data";
|
|
@@ -783,6 +791,7 @@ export declare const makeLanePreselectPreference: () => io.flow.v0.enums.LanePre
|
|
|
783
791
|
export declare const makeLaneStrategy: () => io.flow.v0.enums.LaneStrategy;
|
|
784
792
|
export declare const makeLaneSummary: () => io.flow.v0.models.LaneSummary;
|
|
785
793
|
export declare const makeLanguage: () => io.flow.v0.models.Language;
|
|
794
|
+
export declare const makeLargePackageServiceFee: () => io.flow.v0.models.LargePackageServiceFee;
|
|
786
795
|
export declare const makeLevyComponent: () => io.flow.v0.enums.LevyComponent;
|
|
787
796
|
export declare const makeLevyInclusion: () => io.flow.v0.enums.LevyInclusion;
|
|
788
797
|
export declare const makeLevyStrategy: () => io.flow.v0.enums.LevyStrategy;
|
|
@@ -844,6 +853,8 @@ export declare const makeMerchantApplicationPutForm: () => io.flow.v0.models.Sho
|
|
|
844
853
|
export declare const makeMerchantApplicationUpserted: () => io.flow.v0.models.MerchantApplicationUpserted;
|
|
845
854
|
export declare const makeMerchantApplicationsSummary: () => io.flow.v0.models.ShopifyMerchantApplicationsSummary;
|
|
846
855
|
export declare const makeMerchantDeactivated: () => io.flow.v0.models.MerchantDeactivated;
|
|
856
|
+
export declare const makeMerchantDisabled: () => io.flow.v0.models.MerchantDisabled;
|
|
857
|
+
export declare const makeMerchantDisabledReason: () => io.flow.v0.enums.MerchantDisabledReason;
|
|
847
858
|
export declare const makeMerchantGiftCardBalance: () => io.flow.v0.models.MerchantGiftCardBalance;
|
|
848
859
|
export declare const makeMerchantGiftCardBalanceForm: () => io.flow.v0.models.MerchantGiftCardBalanceForm;
|
|
849
860
|
export declare const makeMerchantGiftCardError: () => io.flow.v0.models.MerchantGiftCardError;
|
|
@@ -1367,6 +1378,7 @@ export declare const makeRegionReference: () => io.flow.v0.models.RegionReferenc
|
|
|
1367
1378
|
export declare const makeRegionSetting: () => io.flow.v0.models.RegionSetting;
|
|
1368
1379
|
export declare const makeRegionSettingForm: () => io.flow.v0.models.RegionSettingForm;
|
|
1369
1380
|
export declare const makeRegionType: () => io.flow.v0.enums.RegionType;
|
|
1381
|
+
export declare const makeRemoteAreaByWeightServiceFee: () => io.flow.v0.models.RemoteAreaByWeightServiceFee;
|
|
1370
1382
|
export declare const makeRemoteAreaRatecardFee: () => io.flow.v0.models.RemoteAreaRatecardFee;
|
|
1371
1383
|
export declare const makeRemoteAreaServiceFee: () => io.flow.v0.models.RemoteAreaServiceFee;
|
|
1372
1384
|
export declare const makeRepeatDaily: () => io.flow.v0.models.RepeatDaily;
|
|
@@ -1432,6 +1444,8 @@ export declare const makeScheduledExport: () => io.flow.v0.models.ScheduledExpor
|
|
|
1432
1444
|
export declare const makeScheduledExportForm: () => io.flow.v0.models.ScheduledExportForm;
|
|
1433
1445
|
export declare const makeScheduledPickup: () => io.flow.v0.models.ScheduledPickup;
|
|
1434
1446
|
export declare const makeSdkAdyenV3AuthenticationToken: () => io.flow.v0.unions.SdkAdyenV3AuthenticationToken;
|
|
1447
|
+
export declare const makeSecurityRatecardFee: () => io.flow.v0.models.SecurityRatecardFee;
|
|
1448
|
+
export declare const makeSecurityServiceFee: () => io.flow.v0.models.SecurityServiceFee;
|
|
1435
1449
|
export declare const makeSelectIssuerOptionActionDetails: () => io.flow.v0.models.SelectIssuerOptionActionDetails;
|
|
1436
1450
|
export declare const makeServiceDescription: () => io.flow.v0.unions.ServiceDescription;
|
|
1437
1451
|
export declare const makeServiceFee: () => io.flow.v0.unions.ServiceFee;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@flowio/api-factories",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.81",
|
|
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": "6717f627ae249a5229cfb9b8321accaf3b7e03d1"
|
|
40
40
|
}
|