@flowio/api-factories 0.0.81 → 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 +10 -5
- package/dist/esm/api.js +10 -5
- package/package.json +2 -2
- package/src/api.ts +11 -5
package/dist/cjs/api.js
CHANGED
|
@@ -3000,7 +3000,12 @@ var factories = {
|
|
|
3000
3000
|
'io.flow.v0.enums.organization_payment_method_tag': function () { return faker_1.default.helpers.arrayElement(['deny']); },
|
|
3001
3001
|
'io.flow.v0.enums.organization_status': function () { return faker_1.default.helpers.arrayElement(['active', 'inactive', 'deactivated', 'provisioned']); },
|
|
3002
3002
|
'io.flow.v0.enums.organization_type': function () { return faker_1.default.helpers.arrayElement(['standalone', 'channel']); },
|
|
3003
|
-
'io.flow.v0.enums.package_dimensions_source': function () { return faker_1.default.helpers.arrayElement([
|
|
3003
|
+
'io.flow.v0.enums.package_dimensions_source': function () { return faker_1.default.helpers.arrayElement([
|
|
3004
|
+
'provided',
|
|
3005
|
+
'item_dimensions_estimated',
|
|
3006
|
+
'dimensions_estimated',
|
|
3007
|
+
'default_item_dimensions_estimated',
|
|
3008
|
+
]); },
|
|
3004
3009
|
'io.flow.v0.enums.payment_action_type': function () { return faker_1.default.helpers.arrayElement([
|
|
3005
3010
|
'redirect',
|
|
3006
3011
|
'redirect_get',
|
|
@@ -3319,10 +3324,10 @@ var factories = {
|
|
|
3319
3324
|
'emergency',
|
|
3320
3325
|
'peak',
|
|
3321
3326
|
'address_correction',
|
|
3322
|
-
'
|
|
3323
|
-
'
|
|
3324
|
-
'
|
|
3325
|
-
'
|
|
3327
|
+
'security',
|
|
3328
|
+
'eei_filing',
|
|
3329
|
+
'fixed_ddp',
|
|
3330
|
+
'fixed_currency_conversion',
|
|
3326
3331
|
]); },
|
|
3327
3332
|
'io.flow.v0.enums.unit_of_length': function () { return faker_1.default.helpers.arrayElement(['millimeter', 'centimeter', 'inch', 'foot', 'meter']); },
|
|
3328
3333
|
'io.flow.v0.enums.unit_of_measurement': function () { return faker_1.default.helpers.arrayElement([
|
package/dist/esm/api.js
CHANGED
|
@@ -2959,7 +2959,12 @@ var factories = {
|
|
|
2959
2959
|
'io.flow.v0.enums.organization_payment_method_tag': function () { return faker.helpers.arrayElement(['deny']); },
|
|
2960
2960
|
'io.flow.v0.enums.organization_status': function () { return faker.helpers.arrayElement(['active', 'inactive', 'deactivated', 'provisioned']); },
|
|
2961
2961
|
'io.flow.v0.enums.organization_type': function () { return faker.helpers.arrayElement(['standalone', 'channel']); },
|
|
2962
|
-
'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
|
+
]); },
|
|
2963
2968
|
'io.flow.v0.enums.payment_action_type': function () { return faker.helpers.arrayElement([
|
|
2964
2969
|
'redirect',
|
|
2965
2970
|
'redirect_get',
|
|
@@ -3278,10 +3283,10 @@ var factories = {
|
|
|
3278
3283
|
'emergency',
|
|
3279
3284
|
'peak',
|
|
3280
3285
|
'address_correction',
|
|
3281
|
-
'
|
|
3282
|
-
'
|
|
3283
|
-
'
|
|
3284
|
-
'
|
|
3286
|
+
'security',
|
|
3287
|
+
'eei_filing',
|
|
3288
|
+
'fixed_ddp',
|
|
3289
|
+
'fixed_currency_conversion',
|
|
3285
3290
|
]); },
|
|
3286
3291
|
'io.flow.v0.enums.unit_of_length': function () { return faker.helpers.arrayElement(['millimeter', 'centimeter', 'inch', 'foot', 'meter']); },
|
|
3287
3292
|
'io.flow.v0.enums.unit_of_measurement': function () { return faker.helpers.arrayElement([
|
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
|
}
|
package/src/api.ts
CHANGED
|
@@ -3366,7 +3366,13 @@ const factories = {
|
|
|
3366
3366
|
'io.flow.v0.enums.organization_payment_method_tag': (): io.flow.v0.enums.OrganizationPaymentMethodTag => faker.helpers.arrayElement(['deny']),
|
|
3367
3367
|
'io.flow.v0.enums.organization_status': (): io.flow.v0.enums.OrganizationStatus => faker.helpers.arrayElement(['active', 'inactive', 'deactivated', 'provisioned']),
|
|
3368
3368
|
'io.flow.v0.enums.organization_type': (): io.flow.v0.enums.OrganizationType => faker.helpers.arrayElement(['standalone', 'channel']),
|
|
3369
|
-
|
|
3369
|
+
|
|
3370
|
+
'io.flow.v0.enums.package_dimensions_source': (): io.flow.v0.enums.PackageDimensionsSource => faker.helpers.arrayElement([
|
|
3371
|
+
'provided',
|
|
3372
|
+
'item_dimensions_estimated',
|
|
3373
|
+
'dimensions_estimated',
|
|
3374
|
+
'default_item_dimensions_estimated',
|
|
3375
|
+
]),
|
|
3370
3376
|
|
|
3371
3377
|
'io.flow.v0.enums.payment_action_type': (): io.flow.v0.enums.PaymentActionType => faker.helpers.arrayElement([
|
|
3372
3378
|
'redirect',
|
|
@@ -3712,10 +3718,10 @@ const factories = {
|
|
|
3712
3718
|
'emergency',
|
|
3713
3719
|
'peak',
|
|
3714
3720
|
'address_correction',
|
|
3715
|
-
'
|
|
3716
|
-
'
|
|
3717
|
-
'
|
|
3718
|
-
'
|
|
3721
|
+
'security',
|
|
3722
|
+
'eei_filing',
|
|
3723
|
+
'fixed_ddp',
|
|
3724
|
+
'fixed_currency_conversion',
|
|
3719
3725
|
]),
|
|
3720
3726
|
|
|
3721
3727
|
'io.flow.v0.enums.unit_of_length': (): io.flow.v0.enums.UnitOfLength => faker.helpers.arrayElement(['millimeter', 'centimeter', 'inch', 'foot', 'meter']),
|