@flowio/api-factories 0.0.123 → 0.0.124
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 +17 -0
- package/dist/esm/api.js +17 -0
- package/package.json +1 -1
- package/src/api.ts +19 -0
package/dist/cjs/api.js
CHANGED
|
@@ -192,6 +192,7 @@ var factories = {
|
|
|
192
192
|
'unsupported_order_edit',
|
|
193
193
|
'order_allocation_duties_mismatch',
|
|
194
194
|
'order_missing',
|
|
195
|
+
'order_cancelled',
|
|
195
196
|
'organization_deactivated',
|
|
196
197
|
]); },
|
|
197
198
|
'io.flow.channel.internal.v0.enums.channel_order_acceptance_status': function () { return faker_1.default.helpers.arrayElement(['accepted', 'rejected', 'review', 'edit_review', 'edit_accepted']); },
|
|
@@ -3702,6 +3703,7 @@ var factories = {
|
|
|
3702
3703
|
'io.flow.tech.onboarding.playground.v0.enums.bojana_item_type': function () { return faker_1.default.helpers.arrayElement(['physical', 'digital']); },
|
|
3703
3704
|
'io.flow.tech.onboarding.playground.v0.enums.chenglin_item_type': function () { return faker_1.default.helpers.arrayElement(['physical', 'digital']); },
|
|
3704
3705
|
'io.flow.tech.onboarding.playground.v0.enums.gabriel_item_type': function () { return faker_1.default.helpers.arrayElement(['physical', 'digital']); },
|
|
3706
|
+
'io.flow.tech.onboarding.playground.v0.enums.mahesh_item_type': function () { return faker_1.default.helpers.arrayElement(['physical', 'digital']); },
|
|
3705
3707
|
'io.flow.tech.onboarding.playground.v0.enums.raveena_item_type': function () { return faker_1.default.helpers.arrayElement(['physical', 'digital']); },
|
|
3706
3708
|
'io.flow.tech.onboarding.playground.v0.models.amrutha_item': function () { return ({
|
|
3707
3709
|
id: factories.string(),
|
|
@@ -3763,6 +3765,21 @@ var factories = {
|
|
|
3763
3765
|
type: factories['io.flow.tech.onboarding.playground.v0.enums.gabriel_item_type'](),
|
|
3764
3766
|
added_on: factories.date_iso_8601(),
|
|
3765
3767
|
}); },
|
|
3768
|
+
'io.flow.tech.onboarding.playground.v0.models.mahesh_item': function () { return ({
|
|
3769
|
+
id: factories.string(),
|
|
3770
|
+
number: factories.string(),
|
|
3771
|
+
amount: factories['io.flow.common.v0.models.price'](),
|
|
3772
|
+
description: factories.string(),
|
|
3773
|
+
type: factories['io.flow.tech.onboarding.playground.v0.enums.mahesh_item_type'](),
|
|
3774
|
+
added_on: factories.date_time_iso_8601(),
|
|
3775
|
+
}); },
|
|
3776
|
+
'io.flow.tech.onboarding.playground.v0.models.mahesh_item_form': function () { return ({
|
|
3777
|
+
number: factories.string(),
|
|
3778
|
+
amount: factories['io.flow.common.v0.models.price'](),
|
|
3779
|
+
description: factories.string(),
|
|
3780
|
+
type: factories['io.flow.tech.onboarding.playground.v0.enums.mahesh_item_type'](),
|
|
3781
|
+
added_on: factories.date_time_iso_8601(),
|
|
3782
|
+
}); },
|
|
3766
3783
|
'io.flow.tech.onboarding.playground.v0.models.raveena_item': function () { return ({
|
|
3767
3784
|
id: factories.string(),
|
|
3768
3785
|
number: factories.string(),
|
package/dist/esm/api.js
CHANGED
|
@@ -151,6 +151,7 @@ var factories = {
|
|
|
151
151
|
'unsupported_order_edit',
|
|
152
152
|
'order_allocation_duties_mismatch',
|
|
153
153
|
'order_missing',
|
|
154
|
+
'order_cancelled',
|
|
154
155
|
'organization_deactivated',
|
|
155
156
|
]); },
|
|
156
157
|
'io.flow.channel.internal.v0.enums.channel_order_acceptance_status': function () { return faker.helpers.arrayElement(['accepted', 'rejected', 'review', 'edit_review', 'edit_accepted']); },
|
|
@@ -3661,6 +3662,7 @@ var factories = {
|
|
|
3661
3662
|
'io.flow.tech.onboarding.playground.v0.enums.bojana_item_type': function () { return faker.helpers.arrayElement(['physical', 'digital']); },
|
|
3662
3663
|
'io.flow.tech.onboarding.playground.v0.enums.chenglin_item_type': function () { return faker.helpers.arrayElement(['physical', 'digital']); },
|
|
3663
3664
|
'io.flow.tech.onboarding.playground.v0.enums.gabriel_item_type': function () { return faker.helpers.arrayElement(['physical', 'digital']); },
|
|
3665
|
+
'io.flow.tech.onboarding.playground.v0.enums.mahesh_item_type': function () { return faker.helpers.arrayElement(['physical', 'digital']); },
|
|
3664
3666
|
'io.flow.tech.onboarding.playground.v0.enums.raveena_item_type': function () { return faker.helpers.arrayElement(['physical', 'digital']); },
|
|
3665
3667
|
'io.flow.tech.onboarding.playground.v0.models.amrutha_item': function () { return ({
|
|
3666
3668
|
id: factories.string(),
|
|
@@ -3722,6 +3724,21 @@ var factories = {
|
|
|
3722
3724
|
type: factories['io.flow.tech.onboarding.playground.v0.enums.gabriel_item_type'](),
|
|
3723
3725
|
added_on: factories.date_iso_8601(),
|
|
3724
3726
|
}); },
|
|
3727
|
+
'io.flow.tech.onboarding.playground.v0.models.mahesh_item': function () { return ({
|
|
3728
|
+
id: factories.string(),
|
|
3729
|
+
number: factories.string(),
|
|
3730
|
+
amount: factories['io.flow.common.v0.models.price'](),
|
|
3731
|
+
description: factories.string(),
|
|
3732
|
+
type: factories['io.flow.tech.onboarding.playground.v0.enums.mahesh_item_type'](),
|
|
3733
|
+
added_on: factories.date_time_iso_8601(),
|
|
3734
|
+
}); },
|
|
3735
|
+
'io.flow.tech.onboarding.playground.v0.models.mahesh_item_form': function () { return ({
|
|
3736
|
+
number: factories.string(),
|
|
3737
|
+
amount: factories['io.flow.common.v0.models.price'](),
|
|
3738
|
+
description: factories.string(),
|
|
3739
|
+
type: factories['io.flow.tech.onboarding.playground.v0.enums.mahesh_item_type'](),
|
|
3740
|
+
added_on: factories.date_time_iso_8601(),
|
|
3741
|
+
}); },
|
|
3725
3742
|
'io.flow.tech.onboarding.playground.v0.models.raveena_item': function () { return ({
|
|
3726
3743
|
id: factories.string(),
|
|
3727
3744
|
number: factories.string(),
|
package/package.json
CHANGED
package/src/api.ts
CHANGED
|
@@ -180,6 +180,7 @@ const factories = {
|
|
|
180
180
|
'unsupported_order_edit',
|
|
181
181
|
'order_allocation_duties_mismatch',
|
|
182
182
|
'order_missing',
|
|
183
|
+
'order_cancelled',
|
|
183
184
|
'organization_deactivated',
|
|
184
185
|
]),
|
|
185
186
|
|
|
@@ -4252,6 +4253,7 @@ const factories = {
|
|
|
4252
4253
|
'io.flow.tech.onboarding.playground.v0.enums.bojana_item_type': (): io.flow.tech.onboarding.playground.v0.enums.BojanaItemType => faker.helpers.arrayElement(['physical', 'digital']),
|
|
4253
4254
|
'io.flow.tech.onboarding.playground.v0.enums.chenglin_item_type': (): io.flow.tech.onboarding.playground.v0.enums.ChenglinItemType => faker.helpers.arrayElement(['physical', 'digital']),
|
|
4254
4255
|
'io.flow.tech.onboarding.playground.v0.enums.gabriel_item_type': (): io.flow.tech.onboarding.playground.v0.enums.GabrielItemType => faker.helpers.arrayElement(['physical', 'digital']),
|
|
4256
|
+
'io.flow.tech.onboarding.playground.v0.enums.mahesh_item_type': (): io.flow.tech.onboarding.playground.v0.enums.MaheshItemType => faker.helpers.arrayElement(['physical', 'digital']),
|
|
4255
4257
|
'io.flow.tech.onboarding.playground.v0.enums.raveena_item_type': (): io.flow.tech.onboarding.playground.v0.enums.RaveenaItemType => faker.helpers.arrayElement(['physical', 'digital']),
|
|
4256
4258
|
|
|
4257
4259
|
'io.flow.tech.onboarding.playground.v0.models.amrutha_item': (): io.flow.tech.onboarding.playground.v0.models.AmruthaItem => ({
|
|
@@ -4322,6 +4324,23 @@ const factories = {
|
|
|
4322
4324
|
added_on: factories.date_iso_8601(),
|
|
4323
4325
|
}),
|
|
4324
4326
|
|
|
4327
|
+
'io.flow.tech.onboarding.playground.v0.models.mahesh_item': (): io.flow.tech.onboarding.playground.v0.models.MaheshItem => ({
|
|
4328
|
+
id: factories.string(),
|
|
4329
|
+
number: factories.string(),
|
|
4330
|
+
amount: factories['io.flow.common.v0.models.price'](),
|
|
4331
|
+
description: factories.string(),
|
|
4332
|
+
type: factories['io.flow.tech.onboarding.playground.v0.enums.mahesh_item_type'](),
|
|
4333
|
+
added_on: factories.date_time_iso_8601(),
|
|
4334
|
+
}),
|
|
4335
|
+
|
|
4336
|
+
'io.flow.tech.onboarding.playground.v0.models.mahesh_item_form': (): io.flow.tech.onboarding.playground.v0.models.MaheshItemForm => ({
|
|
4337
|
+
number: factories.string(),
|
|
4338
|
+
amount: factories['io.flow.common.v0.models.price'](),
|
|
4339
|
+
description: factories.string(),
|
|
4340
|
+
type: factories['io.flow.tech.onboarding.playground.v0.enums.mahesh_item_type'](),
|
|
4341
|
+
added_on: factories.date_time_iso_8601(),
|
|
4342
|
+
}),
|
|
4343
|
+
|
|
4325
4344
|
'io.flow.tech.onboarding.playground.v0.models.raveena_item': (): io.flow.tech.onboarding.playground.v0.models.RaveenaItem => ({
|
|
4326
4345
|
id: factories.string(),
|
|
4327
4346
|
number: factories.string(),
|