@flowio/api-factories 0.0.115 → 0.0.116
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 +1 -1
- package/dist/esm/api.js +1 -1
- package/package.json +2 -2
- package/src/api.ts +1 -1
package/dist/cjs/api.js
CHANGED
|
@@ -187,7 +187,7 @@ var factories = {
|
|
|
187
187
|
'order_missing',
|
|
188
188
|
]); },
|
|
189
189
|
'io.flow.channel.internal.v0.enums.channel_order_acceptance_status': function () { return faker_1.default.helpers.arrayElement(['accepted', 'rejected', 'review', 'edit_review', 'edit_accepted']); },
|
|
190
|
-
'io.flow.channel.internal.v0.enums.channel_service': function () { return faker_1.default.helpers.arrayElement(['payment', 'duty_tax_calculator', 'sellability']); },
|
|
190
|
+
'io.flow.channel.internal.v0.enums.channel_service': function () { return faker_1.default.helpers.arrayElement(['payment', 'duty_tax_calculator', 'sellability', 'all']); },
|
|
191
191
|
'io.flow.channel.internal.v0.enums.order_payment_source_type': function () { return faker_1.default.helpers.arrayElement(['globale', 'third_party']); },
|
|
192
192
|
'io.flow.channel.internal.v0.models.channel_currency_form': function () { return ({
|
|
193
193
|
currency: factories.string(),
|
package/dist/esm/api.js
CHANGED
|
@@ -147,7 +147,7 @@ var factories = {
|
|
|
147
147
|
'order_missing',
|
|
148
148
|
]); },
|
|
149
149
|
'io.flow.channel.internal.v0.enums.channel_order_acceptance_status': function () { return faker.helpers.arrayElement(['accepted', 'rejected', 'review', 'edit_review', 'edit_accepted']); },
|
|
150
|
-
'io.flow.channel.internal.v0.enums.channel_service': function () { return faker.helpers.arrayElement(['payment', 'duty_tax_calculator', 'sellability']); },
|
|
150
|
+
'io.flow.channel.internal.v0.enums.channel_service': function () { return faker.helpers.arrayElement(['payment', 'duty_tax_calculator', 'sellability', 'all']); },
|
|
151
151
|
'io.flow.channel.internal.v0.enums.order_payment_source_type': function () { return faker.helpers.arrayElement(['globale', 'third_party']); },
|
|
152
152
|
'io.flow.channel.internal.v0.models.channel_currency_form': function () { return ({
|
|
153
153
|
currency: factories.string(),
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@flowio/api-factories",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.116",
|
|
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": "942e116995931225d013428a9da8237ec64c06be"
|
|
40
40
|
}
|
package/src/api.ts
CHANGED
|
@@ -176,7 +176,7 @@ const factories = {
|
|
|
176
176
|
]),
|
|
177
177
|
|
|
178
178
|
'io.flow.channel.internal.v0.enums.channel_order_acceptance_status': (): io.flow.channel.internal.v0.enums.ChannelOrderAcceptanceStatus => faker.helpers.arrayElement(['accepted', 'rejected', 'review', 'edit_review', 'edit_accepted']),
|
|
179
|
-
'io.flow.channel.internal.v0.enums.channel_service': (): io.flow.channel.internal.v0.enums.ChannelService => faker.helpers.arrayElement(['payment', 'duty_tax_calculator', 'sellability']),
|
|
179
|
+
'io.flow.channel.internal.v0.enums.channel_service': (): io.flow.channel.internal.v0.enums.ChannelService => faker.helpers.arrayElement(['payment', 'duty_tax_calculator', 'sellability', 'all']),
|
|
180
180
|
'io.flow.channel.internal.v0.enums.order_payment_source_type': (): io.flow.channel.internal.v0.enums.OrderPaymentSourceType => faker.helpers.arrayElement(['globale', 'third_party']),
|
|
181
181
|
|
|
182
182
|
'io.flow.channel.internal.v0.models.channel_currency_form': (): io.flow.channel.internal.v0.models.ChannelCurrencyForm => ({
|