@flowio/api-factories 0.0.73 → 0.0.75
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 +3 -1
- package/dist/esm/api.js +3 -1
- package/package.json +2 -2
- package/src/api.ts +3 -1
package/dist/cjs/api.js
CHANGED
|
@@ -2799,6 +2799,7 @@ var factories = {
|
|
|
2799
2799
|
'street_address_is_po_box_3pl',
|
|
2800
2800
|
'business_street_address_is_blank',
|
|
2801
2801
|
'business_street_address_is_po_box',
|
|
2802
|
+
'exception_merchant',
|
|
2802
2803
|
]); },
|
|
2803
2804
|
'io.flow.v0.enums.onboarding_trade_sector': function () { return faker_1.default.helpers.arrayElement([
|
|
2804
2805
|
'accessories',
|
|
@@ -3087,6 +3088,7 @@ var factories = {
|
|
|
3087
3088
|
'Knives',
|
|
3088
3089
|
'Liquids',
|
|
3089
3090
|
'Oversized',
|
|
3091
|
+
'Restrict by Default',
|
|
3090
3092
|
'Supplements',
|
|
3091
3093
|
'Weapon',
|
|
3092
3094
|
'Wood',
|
|
@@ -9617,7 +9619,7 @@ var factories = {
|
|
|
9617
9619
|
prohibited_regions: arrayOf(function () { return factories.string(); }),
|
|
9618
9620
|
review_status: factories['io.flow.v0.enums.review_status'](),
|
|
9619
9621
|
rules: arrayOf(function () { return factories['io.flow.v0.enums.product_restriction_rule'](); }),
|
|
9620
|
-
|
|
9622
|
+
updated_by: factories.string(),
|
|
9621
9623
|
}); },
|
|
9622
9624
|
'io.flow.v0.models.product_restriction_result_deleted': function () { return ({
|
|
9623
9625
|
discriminator: 'product_restriction_result_deleted',
|
package/dist/esm/api.js
CHANGED
|
@@ -2758,6 +2758,7 @@ var factories = {
|
|
|
2758
2758
|
'street_address_is_po_box_3pl',
|
|
2759
2759
|
'business_street_address_is_blank',
|
|
2760
2760
|
'business_street_address_is_po_box',
|
|
2761
|
+
'exception_merchant',
|
|
2761
2762
|
]); },
|
|
2762
2763
|
'io.flow.v0.enums.onboarding_trade_sector': function () { return faker.helpers.arrayElement([
|
|
2763
2764
|
'accessories',
|
|
@@ -3046,6 +3047,7 @@ var factories = {
|
|
|
3046
3047
|
'Knives',
|
|
3047
3048
|
'Liquids',
|
|
3048
3049
|
'Oversized',
|
|
3050
|
+
'Restrict by Default',
|
|
3049
3051
|
'Supplements',
|
|
3050
3052
|
'Weapon',
|
|
3051
3053
|
'Wood',
|
|
@@ -9576,7 +9578,7 @@ var factories = {
|
|
|
9576
9578
|
prohibited_regions: arrayOf(function () { return factories.string(); }),
|
|
9577
9579
|
review_status: factories['io.flow.v0.enums.review_status'](),
|
|
9578
9580
|
rules: arrayOf(function () { return factories['io.flow.v0.enums.product_restriction_rule'](); }),
|
|
9579
|
-
|
|
9581
|
+
updated_by: factories.string(),
|
|
9580
9582
|
}); },
|
|
9581
9583
|
'io.flow.v0.models.product_restriction_result_deleted': function () { return ({
|
|
9582
9584
|
discriminator: 'product_restriction_result_deleted',
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@flowio/api-factories",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.75",
|
|
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": "7fddfd86678e7921d92493bec5b3bec759769d5f"
|
|
40
40
|
}
|
package/src/api.ts
CHANGED
|
@@ -3143,6 +3143,7 @@ const factories = {
|
|
|
3143
3143
|
'street_address_is_po_box_3pl',
|
|
3144
3144
|
'business_street_address_is_blank',
|
|
3145
3145
|
'business_street_address_is_po_box',
|
|
3146
|
+
'exception_merchant',
|
|
3146
3147
|
]),
|
|
3147
3148
|
|
|
3148
3149
|
'io.flow.v0.enums.onboarding_trade_sector': (): io.flow.v0.enums.OnboardingTradeSector => faker.helpers.arrayElement([
|
|
@@ -3456,6 +3457,7 @@ const factories = {
|
|
|
3456
3457
|
'Knives',
|
|
3457
3458
|
'Liquids',
|
|
3458
3459
|
'Oversized',
|
|
3460
|
+
'Restrict by Default',
|
|
3459
3461
|
'Supplements',
|
|
3460
3462
|
'Weapon',
|
|
3461
3463
|
'Wood',
|
|
@@ -11050,7 +11052,7 @@ const factories = {
|
|
|
11050
11052
|
prohibited_regions: arrayOf(() => factories.string()),
|
|
11051
11053
|
review_status: factories['io.flow.v0.enums.review_status'](),
|
|
11052
11054
|
rules: arrayOf(() => factories['io.flow.v0.enums.product_restriction_rule']()),
|
|
11053
|
-
|
|
11055
|
+
updated_by: factories.string(),
|
|
11054
11056
|
}),
|
|
11055
11057
|
|
|
11056
11058
|
'io.flow.v0.models.product_restriction_result_deleted': (): io.flow.v0.models.ProductRestrictionResultDeleted => ({
|