@flowio/api-factories 0.0.80 → 0.0.82
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 +206 -40
- package/dist/esm/api.js +156 -4
- package/dist/types/api.d.ts +14 -0
- package/package.json +2 -2
- package/src/api.ts +180 -4
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',
|
|
@@ -2907,7 +2959,12 @@ var factories = {
|
|
|
2907
2959
|
'io.flow.v0.enums.organization_payment_method_tag': function () { return faker.helpers.arrayElement(['deny']); },
|
|
2908
2960
|
'io.flow.v0.enums.organization_status': function () { return faker.helpers.arrayElement(['active', 'inactive', 'deactivated', 'provisioned']); },
|
|
2909
2961
|
'io.flow.v0.enums.organization_type': function () { return faker.helpers.arrayElement(['standalone', 'channel']); },
|
|
2910
|
-
'io.flow.v0.enums.package_dimensions_source': function () { return faker.helpers.arrayElement([
|
|
2962
|
+
'io.flow.v0.enums.package_dimensions_source': function () { return faker.helpers.arrayElement([
|
|
2963
|
+
'provided',
|
|
2964
|
+
'item_dimensions_estimated',
|
|
2965
|
+
'dimensions_estimated',
|
|
2966
|
+
'default_item_dimensions_estimated',
|
|
2967
|
+
]); },
|
|
2911
2968
|
'io.flow.v0.enums.payment_action_type': function () { return faker.helpers.arrayElement([
|
|
2912
2969
|
'redirect',
|
|
2913
2970
|
'redirect_get',
|
|
@@ -3226,6 +3283,10 @@ var factories = {
|
|
|
3226
3283
|
'emergency',
|
|
3227
3284
|
'peak',
|
|
3228
3285
|
'address_correction',
|
|
3286
|
+
'security',
|
|
3287
|
+
'eei_filing',
|
|
3288
|
+
'fixed_ddp',
|
|
3289
|
+
'fixed_currency_conversion',
|
|
3229
3290
|
]); },
|
|
3230
3291
|
'io.flow.v0.enums.unit_of_length': function () { return faker.helpers.arrayElement(['millimeter', 'centimeter', 'inch', 'foot', 'meter']); },
|
|
3231
3292
|
'io.flow.v0.enums.unit_of_measurement': function () { return faker.helpers.arrayElement([
|
|
@@ -3424,6 +3485,16 @@ var factories = {
|
|
|
3424
3485
|
'io.flow.v0.models.activation_put_form': function () { return ({
|
|
3425
3486
|
placeholder: factories.boolean(),
|
|
3426
3487
|
}); },
|
|
3488
|
+
'io.flow.v0.models.additional_handling_service_fee': function () { return ({
|
|
3489
|
+
discriminator: 'additional_handling_service_fee',
|
|
3490
|
+
length_girth_threshold: factories.decimal(),
|
|
3491
|
+
length_threshold: factories.decimal(),
|
|
3492
|
+
width_threshold: factories.decimal(),
|
|
3493
|
+
dimensional_unit: factories['io.flow.v0.enums.unit_of_measurement'](),
|
|
3494
|
+
weight_threshold: factories.decimal(),
|
|
3495
|
+
weight_unit: factories['io.flow.v0.enums.unit_of_measurement'](),
|
|
3496
|
+
amount: factories['io.flow.v0.models.money'](),
|
|
3497
|
+
}); },
|
|
3427
3498
|
'io.flow.v0.models.additional_services_requested': function () { return ({
|
|
3428
3499
|
name: factories.string(),
|
|
3429
3500
|
description: factories.string(),
|
|
@@ -5683,6 +5754,15 @@ var factories = {
|
|
|
5683
5754
|
organization: factories.string(),
|
|
5684
5755
|
ecommerce_platform: factories['io.flow.v0.models.ecommerce_platform'](),
|
|
5685
5756
|
}); },
|
|
5757
|
+
'io.flow.v0.models.eei_filing_ratecard_fee': function () { return ({
|
|
5758
|
+
discriminator: 'eei_filing_ratecard_fee',
|
|
5759
|
+
amount: factories['io.flow.v0.models.money'](),
|
|
5760
|
+
}); },
|
|
5761
|
+
'io.flow.v0.models.eei_filing_service_fee': function () { return ({
|
|
5762
|
+
discriminator: 'eei_filing_service_fee',
|
|
5763
|
+
amount: factories['io.flow.v0.models.money'](),
|
|
5764
|
+
value_threshold: factories['io.flow.v0.models.money'](),
|
|
5765
|
+
}); },
|
|
5686
5766
|
'io.flow.v0.models.email_abandoned_order_promotion': function () { return ({
|
|
5687
5767
|
discount_form: factories['io.flow.v0.models.discount_form'](),
|
|
5688
5768
|
attributes: objectOf(function () { return factories.string(); }),
|
|
@@ -6124,6 +6204,26 @@ var factories = {
|
|
|
6124
6204
|
discriminator: 'required_if_present',
|
|
6125
6205
|
placeholder: factories.string(),
|
|
6126
6206
|
}); },
|
|
6207
|
+
'io.flow.v0.models.fixed_currency_conversion_ratecard_fee': function () { return ({
|
|
6208
|
+
discriminator: 'fixed_currency_conversion_ratecard_fee',
|
|
6209
|
+
amount: factories['io.flow.v0.models.money'](),
|
|
6210
|
+
}); },
|
|
6211
|
+
'io.flow.v0.models.fixed_currency_conversion_service_fee': function () { return ({
|
|
6212
|
+
discriminator: 'fixed_currency_conversion_service_fee',
|
|
6213
|
+
conditions: arrayOf(function () { return factories['io.flow.v0.models.fixed_fee_condition'](); }),
|
|
6214
|
+
}); },
|
|
6215
|
+
'io.flow.v0.models.fixed_ddp_ratecard_fee': function () { return ({
|
|
6216
|
+
discriminator: 'fixed_ddp_ratecard_fee',
|
|
6217
|
+
amount: factories['io.flow.v0.models.money'](),
|
|
6218
|
+
}); },
|
|
6219
|
+
'io.flow.v0.models.fixed_ddp_service_fee': function () { return ({
|
|
6220
|
+
discriminator: 'fixed_ddp_service_fee',
|
|
6221
|
+
conditions: arrayOf(function () { return factories['io.flow.v0.models.fixed_fee_condition'](); }),
|
|
6222
|
+
}); },
|
|
6223
|
+
'io.flow.v0.models.fixed_fee_condition': function () { return ({
|
|
6224
|
+
countries: arrayOf(function () { return factories.string(); }),
|
|
6225
|
+
amount: factories['io.flow.v0.models.money'](),
|
|
6226
|
+
}); },
|
|
6127
6227
|
'io.flow.v0.models.flat_rate': function () { return ({
|
|
6128
6228
|
discriminator: 'flat_rate',
|
|
6129
6229
|
price: factories['io.flow.v0.models.price'](),
|
|
@@ -7173,6 +7273,14 @@ var factories = {
|
|
|
7173
7273
|
name: factories.string(),
|
|
7174
7274
|
iso_639_2: factories.string(),
|
|
7175
7275
|
}); },
|
|
7276
|
+
'io.flow.v0.models.large_package_service_fee': function () { return ({
|
|
7277
|
+
discriminator: 'large_package_service_fee',
|
|
7278
|
+
length_girth_threshold: factories.decimal(),
|
|
7279
|
+
dimensional_unit: factories['io.flow.v0.enums.unit_of_measurement'](),
|
|
7280
|
+
weight_threshold: factories.decimal(),
|
|
7281
|
+
weight_unit: factories['io.flow.v0.enums.unit_of_measurement'](),
|
|
7282
|
+
amount: factories['io.flow.v0.models.money'](),
|
|
7283
|
+
}); },
|
|
7176
7284
|
'io.flow.v0.models.line': function () { return ({
|
|
7177
7285
|
id: factories.string(),
|
|
7178
7286
|
item_number: factories.string(),
|
|
@@ -7476,6 +7584,10 @@ var factories = {
|
|
|
7476
7584
|
discriminator: 'merchant_deactivated',
|
|
7477
7585
|
reason: factories.string(),
|
|
7478
7586
|
}); },
|
|
7587
|
+
'io.flow.v0.models.merchant_disabled': function () { return ({
|
|
7588
|
+
discriminator: 'merchant_disabled',
|
|
7589
|
+
reason: factories['io.flow.v0.enums.merchant_disabled_reason'](),
|
|
7590
|
+
}); },
|
|
7479
7591
|
'io.flow.v0.models.merchant_gift_card_balance': function () { return ({
|
|
7480
7592
|
amount: factories.decimal(),
|
|
7481
7593
|
currency: factories.string(),
|
|
@@ -10163,6 +10275,11 @@ var factories = {
|
|
|
10163
10275
|
'io.flow.v0.models.region_setting_form': function () { return ({
|
|
10164
10276
|
status: factories['io.flow.v0.enums.availability_status'](),
|
|
10165
10277
|
}); },
|
|
10278
|
+
'io.flow.v0.models.remote_area_by_weight_service_fee': function () { return ({
|
|
10279
|
+
discriminator: 'remote_area_by_weight_service_fee',
|
|
10280
|
+
amount: factories['io.flow.v0.models.money'](),
|
|
10281
|
+
weight_unit: factories['io.flow.v0.enums.unit_of_measurement'](),
|
|
10282
|
+
}); },
|
|
10166
10283
|
'io.flow.v0.models.remote_area_ratecard_fee': function () { return ({
|
|
10167
10284
|
discriminator: 'remote_area_ratecard_fee',
|
|
10168
10285
|
amount: factories['io.flow.v0.models.money'](),
|
|
@@ -10459,6 +10576,15 @@ var factories = {
|
|
|
10459
10576
|
hour_of_day: factories.string(),
|
|
10460
10577
|
minute_of_hour: factories.string(),
|
|
10461
10578
|
}); },
|
|
10579
|
+
'io.flow.v0.models.security_ratecard_fee': function () { return ({
|
|
10580
|
+
discriminator: 'security_ratecard_fee',
|
|
10581
|
+
amount: factories['io.flow.v0.models.money'](),
|
|
10582
|
+
}); },
|
|
10583
|
+
'io.flow.v0.models.security_service_fee': function () { return ({
|
|
10584
|
+
discriminator: 'security_service_fee',
|
|
10585
|
+
amount: factories['io.flow.v0.models.money'](),
|
|
10586
|
+
countries: arrayOf(function () { return factories.string(); }),
|
|
10587
|
+
}); },
|
|
10462
10588
|
'io.flow.v0.models.select_issuer_option_action_details': function () { return ({
|
|
10463
10589
|
discriminator: 'select_issuer_option_action_details',
|
|
10464
10590
|
issuer_options: arrayOf(function () { return factories['io.flow.v0.models.issuer_reference'](); }),
|
|
@@ -12707,6 +12833,7 @@ var factories = {
|
|
|
12707
12833
|
function () { return factories['io.flow.v0.models.setup_completed'](); },
|
|
12708
12834
|
function () { return factories['io.flow.v0.models.merchant_activated'](); },
|
|
12709
12835
|
function () { return factories['io.flow.v0.models.merchant_deactivated'](); },
|
|
12836
|
+
function () { return factories['io.flow.v0.models.merchant_disabled'](); },
|
|
12710
12837
|
]);
|
|
12711
12838
|
return f();
|
|
12712
12839
|
},
|
|
@@ -12947,6 +13074,10 @@ var factories = {
|
|
|
12947
13074
|
function () { return factories['io.flow.v0.models.emergency_situation_surcharge_ratecard_fee'](); },
|
|
12948
13075
|
function () { return factories['io.flow.v0.models.peak_surcharge_ratecard_fee'](); },
|
|
12949
13076
|
function () { return factories['io.flow.v0.models.duties_taxes_paid_surcharge_ratecard_fee'](); },
|
|
13077
|
+
function () { return factories['io.flow.v0.models.security_ratecard_fee'](); },
|
|
13078
|
+
function () { return factories['io.flow.v0.models.eei_filing_ratecard_fee'](); },
|
|
13079
|
+
function () { return factories['io.flow.v0.models.fixed_ddp_ratecard_fee'](); },
|
|
13080
|
+
function () { return factories['io.flow.v0.models.fixed_currency_conversion_ratecard_fee'](); },
|
|
12950
13081
|
]);
|
|
12951
13082
|
return f();
|
|
12952
13083
|
},
|
|
@@ -12998,6 +13129,13 @@ var factories = {
|
|
|
12998
13129
|
function () { return factories['io.flow.v0.models.peak_surcharge_by_weight_service_fee'](); },
|
|
12999
13130
|
function () { return factories['io.flow.v0.models.duties_taxes_paid_surcharge_service_fee'](); },
|
|
13000
13131
|
function () { return factories['io.flow.v0.models.oversize_piece_surcharge_service_fee'](); },
|
|
13132
|
+
function () { return factories['io.flow.v0.models.remote_area_by_weight_service_fee'](); },
|
|
13133
|
+
function () { return factories['io.flow.v0.models.additional_handling_service_fee'](); },
|
|
13134
|
+
function () { return factories['io.flow.v0.models.large_package_service_fee'](); },
|
|
13135
|
+
function () { return factories['io.flow.v0.models.security_service_fee'](); },
|
|
13136
|
+
function () { return factories['io.flow.v0.models.fixed_ddp_service_fee'](); },
|
|
13137
|
+
function () { return factories['io.flow.v0.models.fixed_currency_conversion_service_fee'](); },
|
|
13138
|
+
function () { return factories['io.flow.v0.models.eei_filing_service_fee'](); },
|
|
13001
13139
|
]);
|
|
13002
13140
|
return f();
|
|
13003
13141
|
},
|
|
@@ -13141,6 +13279,7 @@ export var makeActionUseSdkPaypal = function () { return factories['io.flow.v0.m
|
|
|
13141
13279
|
export var makeActionUseSdkStripeV3 = function () { return factories['io.flow.v0.models.action_use_sdk_stripe_v3'](); };
|
|
13142
13280
|
export var makeActionWait = function () { return factories['io.flow.v0.models.action_wait'](); };
|
|
13143
13281
|
export var makeActivationPutForm = function () { return factories['io.flow.v0.models.activation_put_form'](); };
|
|
13282
|
+
export var makeAdditionalHandlingServiceFee = function () { return factories['io.flow.v0.models.additional_handling_service_fee'](); };
|
|
13144
13283
|
export var makeAdditionalServicesRequested = function () { return factories['io.flow.v0.models.additional_services_requested'](); };
|
|
13145
13284
|
export var makeAddress = function () { return factories['io.flow.v0.models.address'](); };
|
|
13146
13285
|
export var makeAddressConfiguration = function () { return factories['io.flow.v0.models.address_configuration'](); };
|
|
@@ -13577,6 +13716,8 @@ export var makeEcommercePlatformForm = function () { return factories['io.flow.v
|
|
|
13577
13716
|
export var makeEcommercePlatformType = function () { return factories['io.flow.v0.enums.ecommerce_platform_type'](); };
|
|
13578
13717
|
export var makeEcommercePlatformUpserted = function () { return factories['io.flow.v0.models.ecommerce_platform_upserted'](); };
|
|
13579
13718
|
export var makeEconomicTitleLocation = function () { return factories['io.flow.v0.enums.economic_title_location'](); };
|
|
13719
|
+
export var makeEeiFilingRatecardFee = function () { return factories['io.flow.v0.models.eei_filing_ratecard_fee'](); };
|
|
13720
|
+
export var makeEeiFilingServiceFee = function () { return factories['io.flow.v0.models.eei_filing_service_fee'](); };
|
|
13580
13721
|
export var makeEmailAbandonedOrderPromotion = function () { return factories['io.flow.v0.models.email_abandoned_order_promotion'](); };
|
|
13581
13722
|
export var makeEmailAbandonedOrderUrls = function () { return factories['io.flow.v0.models.email_abandoned_order_urls'](); };
|
|
13582
13723
|
export var makeEmailNotification = function () { return factories['io.flow.v0.models.email_notification'](); };
|
|
@@ -13684,6 +13825,11 @@ export var makeFieldValidationPattern = function () { return factories['io.flow.
|
|
|
13684
13825
|
export var makeFieldValidationRequired = function () { return factories['io.flow.v0.models.field_validation_required'](); };
|
|
13685
13826
|
export var makeFieldValidationRequiredIfPresent = function () { return factories['io.flow.v0.models.field_validation_required_if_present'](); };
|
|
13686
13827
|
export var makeFieldValidationRule = function () { return factories['io.flow.v0.unions.field_validation_rule'](); };
|
|
13828
|
+
export var makeFixedCurrencyConversionRatecardFee = function () { return factories['io.flow.v0.models.fixed_currency_conversion_ratecard_fee'](); };
|
|
13829
|
+
export var makeFixedCurrencyConversionServiceFee = function () { return factories['io.flow.v0.models.fixed_currency_conversion_service_fee'](); };
|
|
13830
|
+
export var makeFixedDdpRatecardFee = function () { return factories['io.flow.v0.models.fixed_ddp_ratecard_fee'](); };
|
|
13831
|
+
export var makeFixedDdpServiceFee = function () { return factories['io.flow.v0.models.fixed_ddp_service_fee'](); };
|
|
13832
|
+
export var makeFixedFeeCondition = function () { return factories['io.flow.v0.models.fixed_fee_condition'](); };
|
|
13687
13833
|
export var makeFlatRate = function () { return factories['io.flow.v0.models.flat_rate'](); };
|
|
13688
13834
|
export var makeFlatRateForm = function () { return factories['io.flow.v0.models.flat_rate_form'](); };
|
|
13689
13835
|
export var makeFlowBehavior = function () { return factories['io.flow.v0.enums.flow_behavior'](); };
|
|
@@ -13897,6 +14043,7 @@ export var makeLanePreselectPreference = function () { return factories['io.flow
|
|
|
13897
14043
|
export var makeLaneStrategy = function () { return factories['io.flow.v0.enums.lane_strategy'](); };
|
|
13898
14044
|
export var makeLaneSummary = function () { return factories['io.flow.v0.models.lane_summary'](); };
|
|
13899
14045
|
export var makeLanguage = function () { return factories['io.flow.v0.models.language'](); };
|
|
14046
|
+
export var makeLargePackageServiceFee = function () { return factories['io.flow.v0.models.large_package_service_fee'](); };
|
|
13900
14047
|
export var makeLevyComponent = function () { return factories['io.flow.v0.enums.levy_component'](); };
|
|
13901
14048
|
export var makeLevyInclusion = function () { return factories['io.flow.v0.enums.levy_inclusion'](); };
|
|
13902
14049
|
export var makeLevyStrategy = function () { return factories['io.flow.v0.enums.levy_strategy'](); };
|
|
@@ -13958,6 +14105,8 @@ export var makeMerchantApplicationPutForm = function () { return factories['io.f
|
|
|
13958
14105
|
export var makeMerchantApplicationUpserted = function () { return factories['io.flow.v0.models.merchant_application_upserted'](); };
|
|
13959
14106
|
export var makeMerchantApplicationsSummary = function () { return factories['io.flow.v0.unions.merchant_applications_summary'](); };
|
|
13960
14107
|
export var makeMerchantDeactivated = function () { return factories['io.flow.v0.models.merchant_deactivated'](); };
|
|
14108
|
+
export var makeMerchantDisabled = function () { return factories['io.flow.v0.models.merchant_disabled'](); };
|
|
14109
|
+
export var makeMerchantDisabledReason = function () { return factories['io.flow.v0.enums.merchant_disabled_reason'](); };
|
|
13961
14110
|
export var makeMerchantGiftCardBalance = function () { return factories['io.flow.v0.models.merchant_gift_card_balance'](); };
|
|
13962
14111
|
export var makeMerchantGiftCardBalanceForm = function () { return factories['io.flow.v0.models.merchant_gift_card_balance_form'](); };
|
|
13963
14112
|
export var makeMerchantGiftCardError = function () { return factories['io.flow.v0.models.merchant_gift_card_error'](); };
|
|
@@ -14481,6 +14630,7 @@ export var makeRegionReference = function () { return factories['io.flow.v0.mode
|
|
|
14481
14630
|
export var makeRegionSetting = function () { return factories['io.flow.v0.models.region_setting'](); };
|
|
14482
14631
|
export var makeRegionSettingForm = function () { return factories['io.flow.v0.models.region_setting_form'](); };
|
|
14483
14632
|
export var makeRegionType = function () { return factories['io.flow.v0.enums.region_type'](); };
|
|
14633
|
+
export var makeRemoteAreaByWeightServiceFee = function () { return factories['io.flow.v0.models.remote_area_by_weight_service_fee'](); };
|
|
14484
14634
|
export var makeRemoteAreaRatecardFee = function () { return factories['io.flow.v0.models.remote_area_ratecard_fee'](); };
|
|
14485
14635
|
export var makeRemoteAreaServiceFee = function () { return factories['io.flow.v0.models.remote_area_service_fee'](); };
|
|
14486
14636
|
export var makeRepeatDaily = function () { return factories['io.flow.v0.models.repeat_daily'](); };
|
|
@@ -14546,6 +14696,8 @@ export var makeScheduledExport = function () { return factories['io.flow.v0.mode
|
|
|
14546
14696
|
export var makeScheduledExportForm = function () { return factories['io.flow.v0.models.scheduled_export_form'](); };
|
|
14547
14697
|
export var makeScheduledPickup = function () { return factories['io.flow.v0.models.scheduled_pickup'](); };
|
|
14548
14698
|
export var makeSdkAdyenV3AuthenticationToken = function () { return factories['io.flow.v0.unions.sdk_adyen_v3_authentication_token'](); };
|
|
14699
|
+
export var makeSecurityRatecardFee = function () { return factories['io.flow.v0.models.security_ratecard_fee'](); };
|
|
14700
|
+
export var makeSecurityServiceFee = function () { return factories['io.flow.v0.models.security_service_fee'](); };
|
|
14549
14701
|
export var makeSelectIssuerOptionActionDetails = function () { return factories['io.flow.v0.models.select_issuer_option_action_details'](); };
|
|
14550
14702
|
export var makeServiceDescription = function () { return factories['io.flow.v0.unions.service_description'](); };
|
|
14551
14703
|
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.82",
|
|
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": "11a5e37328905a965c20736d076f67c39a22ee86"
|
|
40
40
|
}
|