@flowio/api-factories 0.0.76 → 0.0.77
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 +6 -0
- package/dist/esm/api.js +6 -0
- package/package.json +2 -2
- package/src/api.ts +7 -0
package/dist/cjs/api.js
CHANGED
|
@@ -142,6 +142,9 @@ var factories = {
|
|
|
142
142
|
organization_id: factories.string(),
|
|
143
143
|
num_events: factories.long(),
|
|
144
144
|
}); },
|
|
145
|
+
'io.flow.ben.test.internal.v0.models.svitlana_test': function () { return ({
|
|
146
|
+
name: factories.string(),
|
|
147
|
+
}); },
|
|
145
148
|
'io.flow.ben.test.internal.v0.models.test': function () { return ({
|
|
146
149
|
id: factories.string(),
|
|
147
150
|
name: factories.string(),
|
|
@@ -2695,6 +2698,7 @@ var factories = {
|
|
|
2695
2698
|
'processing',
|
|
2696
2699
|
'rate_lock',
|
|
2697
2700
|
'transfer',
|
|
2701
|
+
'negative_balance_guarantee',
|
|
2698
2702
|
]); },
|
|
2699
2703
|
'io.flow.v0.enums.flow_behavior': function () { return faker_1.default.helpers.arrayElement(['view_consumer_data']); },
|
|
2700
2704
|
'io.flow.v0.enums.flow_entity': function () { return faker_1.default.helpers.arrayElement(['flow-usa', 'flow-irl', 'flow-can']); },
|
|
@@ -2892,6 +2896,7 @@ var factories = {
|
|
|
2892
2896
|
'emergency_situation_surcharge',
|
|
2893
2897
|
'peak_surcharge',
|
|
2894
2898
|
'duties_taxes_paid_surcharge',
|
|
2899
|
+
'tip',
|
|
2895
2900
|
]); },
|
|
2896
2901
|
'io.flow.v0.enums.order_price_detail_key': function () { return faker_1.default.helpers.arrayElement([
|
|
2897
2902
|
'adjustment',
|
|
@@ -2902,6 +2907,7 @@ var factories = {
|
|
|
2902
2907
|
'insurance',
|
|
2903
2908
|
'discount',
|
|
2904
2909
|
'surcharges',
|
|
2910
|
+
'tip',
|
|
2905
2911
|
]); },
|
|
2906
2912
|
'io.flow.v0.enums.order_quote_address_type': function () { return faker_1.default.helpers.arrayElement(['shipping']); },
|
|
2907
2913
|
'io.flow.v0.enums.order_quote_error_code': function () { return faker_1.default.helpers.arrayElement([
|
package/dist/esm/api.js
CHANGED
|
@@ -101,6 +101,9 @@ var factories = {
|
|
|
101
101
|
organization_id: factories.string(),
|
|
102
102
|
num_events: factories.long(),
|
|
103
103
|
}); },
|
|
104
|
+
'io.flow.ben.test.internal.v0.models.svitlana_test': function () { return ({
|
|
105
|
+
name: factories.string(),
|
|
106
|
+
}); },
|
|
104
107
|
'io.flow.ben.test.internal.v0.models.test': function () { return ({
|
|
105
108
|
id: factories.string(),
|
|
106
109
|
name: factories.string(),
|
|
@@ -2654,6 +2657,7 @@ var factories = {
|
|
|
2654
2657
|
'processing',
|
|
2655
2658
|
'rate_lock',
|
|
2656
2659
|
'transfer',
|
|
2660
|
+
'negative_balance_guarantee',
|
|
2657
2661
|
]); },
|
|
2658
2662
|
'io.flow.v0.enums.flow_behavior': function () { return faker.helpers.arrayElement(['view_consumer_data']); },
|
|
2659
2663
|
'io.flow.v0.enums.flow_entity': function () { return faker.helpers.arrayElement(['flow-usa', 'flow-irl', 'flow-can']); },
|
|
@@ -2851,6 +2855,7 @@ var factories = {
|
|
|
2851
2855
|
'emergency_situation_surcharge',
|
|
2852
2856
|
'peak_surcharge',
|
|
2853
2857
|
'duties_taxes_paid_surcharge',
|
|
2858
|
+
'tip',
|
|
2854
2859
|
]); },
|
|
2855
2860
|
'io.flow.v0.enums.order_price_detail_key': function () { return faker.helpers.arrayElement([
|
|
2856
2861
|
'adjustment',
|
|
@@ -2861,6 +2866,7 @@ var factories = {
|
|
|
2861
2866
|
'insurance',
|
|
2862
2867
|
'discount',
|
|
2863
2868
|
'surcharges',
|
|
2869
|
+
'tip',
|
|
2864
2870
|
]); },
|
|
2865
2871
|
'io.flow.v0.enums.order_quote_address_type': function () { return faker.helpers.arrayElement(['shipping']); },
|
|
2866
2872
|
'io.flow.v0.enums.order_quote_error_code': 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.77",
|
|
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": "4ae49474a1813e8aac634c65824b9b915a4b31d5"
|
|
40
40
|
}
|
package/src/api.ts
CHANGED
|
@@ -123,6 +123,10 @@ const factories = {
|
|
|
123
123
|
num_events: factories.long(),
|
|
124
124
|
}),
|
|
125
125
|
|
|
126
|
+
'io.flow.ben.test.internal.v0.models.svitlana_test': (): io.flow.ben.test.internal.v0.models.SvitlanaTest => ({
|
|
127
|
+
name: factories.string(),
|
|
128
|
+
}),
|
|
129
|
+
|
|
126
130
|
'io.flow.ben.test.internal.v0.models.test': (): io.flow.ben.test.internal.v0.models.Test => ({
|
|
127
131
|
id: factories.string(),
|
|
128
132
|
name: factories.string(),
|
|
@@ -3025,6 +3029,7 @@ const factories = {
|
|
|
3025
3029
|
'processing',
|
|
3026
3030
|
'rate_lock',
|
|
3027
3031
|
'transfer',
|
|
3032
|
+
'negative_balance_guarantee',
|
|
3028
3033
|
]),
|
|
3029
3034
|
|
|
3030
3035
|
'io.flow.v0.enums.flow_behavior': (): io.flow.v0.enums.FlowBehavior => faker.helpers.arrayElement(['view_consumer_data']),
|
|
@@ -3242,6 +3247,7 @@ const factories = {
|
|
|
3242
3247
|
'emergency_situation_surcharge',
|
|
3243
3248
|
'peak_surcharge',
|
|
3244
3249
|
'duties_taxes_paid_surcharge',
|
|
3250
|
+
'tip',
|
|
3245
3251
|
]),
|
|
3246
3252
|
|
|
3247
3253
|
'io.flow.v0.enums.order_price_detail_key': (): io.flow.v0.enums.OrderPriceDetailKey => faker.helpers.arrayElement([
|
|
@@ -3253,6 +3259,7 @@ const factories = {
|
|
|
3253
3259
|
'insurance',
|
|
3254
3260
|
'discount',
|
|
3255
3261
|
'surcharges',
|
|
3262
|
+
'tip',
|
|
3256
3263
|
]),
|
|
3257
3264
|
|
|
3258
3265
|
'io.flow.v0.enums.order_quote_address_type': (): io.flow.v0.enums.OrderQuoteAddressType => faker.helpers.arrayElement(['shipping']),
|