@flowio/api-factories 0.0.15 → 0.0.16
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 +2 -2
- package/dist/esm/api.js +2 -2
- package/package.json +2 -2
- package/src/api.ts +6 -2
package/dist/cjs/api.js
CHANGED
|
@@ -2902,7 +2902,7 @@ var factories = {
|
|
|
2902
2902
|
'io.flow.v0.enums.experience_status': function () { return faker_1.default.random.arrayElement(['draft', 'active', 'archiving', 'archived']); },
|
|
2903
2903
|
'io.flow.v0.enums.export_status': function () { return faker_1.default.random.arrayElement(['created', 'processing', 'completed', 'failed']); },
|
|
2904
2904
|
'io.flow.v0.enums.exporter_of_record': function () { return faker_1.default.random.arrayElement(['flow', 'organization']); },
|
|
2905
|
-
'io.flow.v0.enums.fee_deduction_type': function () { return faker_1.default.random.arrayElement(['mor', 'fx']); },
|
|
2905
|
+
'io.flow.v0.enums.fee_deduction_type': function () { return faker_1.default.random.arrayElement(['mor', 'fx', 'processing', 'rate_lock', 'duty_guarantee', 'revenue_share']); },
|
|
2906
2906
|
'io.flow.v0.enums.flow_behavior': function () { return faker_1.default.random.arrayElement(['view_consumer_data']); },
|
|
2907
2907
|
'io.flow.v0.enums.flow_entity': function () { return faker_1.default.random.arrayElement(['flow-usa', 'flow-irl', 'flow-can']); },
|
|
2908
2908
|
'io.flow.v0.enums.flow_role': function () { return faker_1.default.random.arrayElement([
|
|
@@ -3373,7 +3373,7 @@ var factories = {
|
|
|
3373
3373
|
'io.flow.v0.enums.value_added_service': function () { return faker_1.default.random.arrayElement(['Hazardous Material']); },
|
|
3374
3374
|
'io.flow.v0.enums.visibility': function () { return faker_1.default.random.arrayElement(['public', 'private']); },
|
|
3375
3375
|
'io.flow.v0.enums.webhook_status': function () { return faker_1.default.random.arrayElement(['pending', 'success', 'failure']); },
|
|
3376
|
-
'io.flow.v0.enums.withholding_deduction_type': function () { return faker_1.default.random.arrayElement(['tax', 'duty']); },
|
|
3376
|
+
'io.flow.v0.enums.withholding_deduction_type': function () { return faker_1.default.random.arrayElement(['tax', 'duty', 'freight', 'insurance']); },
|
|
3377
3377
|
'io.flow.v0.enums.zero_amount_indicator': function () { return faker_1.default.random.arrayElement(['zero', 'free']); },
|
|
3378
3378
|
'io.flow.v0.enums.zero_levy_reason_code': function () { return faker_1.default.random.arrayElement([
|
|
3379
3379
|
'zero_basis',
|
package/dist/esm/api.js
CHANGED
|
@@ -2865,7 +2865,7 @@ var factories = {
|
|
|
2865
2865
|
'io.flow.v0.enums.experience_status': function () { return faker.random.arrayElement(['draft', 'active', 'archiving', 'archived']); },
|
|
2866
2866
|
'io.flow.v0.enums.export_status': function () { return faker.random.arrayElement(['created', 'processing', 'completed', 'failed']); },
|
|
2867
2867
|
'io.flow.v0.enums.exporter_of_record': function () { return faker.random.arrayElement(['flow', 'organization']); },
|
|
2868
|
-
'io.flow.v0.enums.fee_deduction_type': function () { return faker.random.arrayElement(['mor', 'fx']); },
|
|
2868
|
+
'io.flow.v0.enums.fee_deduction_type': function () { return faker.random.arrayElement(['mor', 'fx', 'processing', 'rate_lock', 'duty_guarantee', 'revenue_share']); },
|
|
2869
2869
|
'io.flow.v0.enums.flow_behavior': function () { return faker.random.arrayElement(['view_consumer_data']); },
|
|
2870
2870
|
'io.flow.v0.enums.flow_entity': function () { return faker.random.arrayElement(['flow-usa', 'flow-irl', 'flow-can']); },
|
|
2871
2871
|
'io.flow.v0.enums.flow_role': function () { return faker.random.arrayElement([
|
|
@@ -3336,7 +3336,7 @@ var factories = {
|
|
|
3336
3336
|
'io.flow.v0.enums.value_added_service': function () { return faker.random.arrayElement(['Hazardous Material']); },
|
|
3337
3337
|
'io.flow.v0.enums.visibility': function () { return faker.random.arrayElement(['public', 'private']); },
|
|
3338
3338
|
'io.flow.v0.enums.webhook_status': function () { return faker.random.arrayElement(['pending', 'success', 'failure']); },
|
|
3339
|
-
'io.flow.v0.enums.withholding_deduction_type': function () { return faker.random.arrayElement(['tax', 'duty']); },
|
|
3339
|
+
'io.flow.v0.enums.withholding_deduction_type': function () { return faker.random.arrayElement(['tax', 'duty', 'freight', 'insurance']); },
|
|
3340
3340
|
'io.flow.v0.enums.zero_amount_indicator': function () { return faker.random.arrayElement(['zero', 'free']); },
|
|
3341
3341
|
'io.flow.v0.enums.zero_levy_reason_code': function () { return faker.random.arrayElement([
|
|
3342
3342
|
'zero_basis',
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@flowio/api-factories",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.16",
|
|
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": "file:../api-types"
|
|
38
38
|
},
|
|
39
|
-
"gitHead": "
|
|
39
|
+
"gitHead": "08dbb863b30de4a9e729a484030de6d634c196cf"
|
|
40
40
|
}
|
package/src/api.ts
CHANGED
|
@@ -3316,7 +3316,11 @@ const factories = {
|
|
|
3316
3316
|
'io.flow.v0.enums.experience_status': (): io.flow.v0.enums.ExperienceStatus => faker.random.arrayElement(['draft', 'active', 'archiving', 'archived']),
|
|
3317
3317
|
'io.flow.v0.enums.export_status': (): io.flow.v0.enums.ExportStatus => faker.random.arrayElement(['created', 'processing', 'completed', 'failed']),
|
|
3318
3318
|
'io.flow.v0.enums.exporter_of_record': (): io.flow.v0.enums.ExporterOfRecord => faker.random.arrayElement(['flow', 'organization']),
|
|
3319
|
-
|
|
3319
|
+
|
|
3320
|
+
'io.flow.v0.enums.fee_deduction_type': (): io.flow.v0.enums.FeeDeductionType => faker.random.arrayElement(
|
|
3321
|
+
['mor', 'fx', 'processing', 'rate_lock', 'duty_guarantee', 'revenue_share'],
|
|
3322
|
+
),
|
|
3323
|
+
|
|
3320
3324
|
'io.flow.v0.enums.flow_behavior': (): io.flow.v0.enums.FlowBehavior => faker.random.arrayElement(['view_consumer_data']),
|
|
3321
3325
|
'io.flow.v0.enums.flow_entity': (): io.flow.v0.enums.FlowEntity => faker.random.arrayElement(['flow-usa', 'flow-irl', 'flow-can']),
|
|
3322
3326
|
|
|
@@ -3827,7 +3831,7 @@ const factories = {
|
|
|
3827
3831
|
'io.flow.v0.enums.value_added_service': (): io.flow.v0.enums.ValueAddedService => faker.random.arrayElement(['Hazardous Material']),
|
|
3828
3832
|
'io.flow.v0.enums.visibility': (): io.flow.v0.enums.Visibility => faker.random.arrayElement(['public', 'private']),
|
|
3829
3833
|
'io.flow.v0.enums.webhook_status': (): io.flow.v0.enums.WebhookStatus => faker.random.arrayElement(['pending', 'success', 'failure']),
|
|
3830
|
-
'io.flow.v0.enums.withholding_deduction_type': (): io.flow.v0.enums.WithholdingDeductionType => faker.random.arrayElement(['tax', 'duty']),
|
|
3834
|
+
'io.flow.v0.enums.withholding_deduction_type': (): io.flow.v0.enums.WithholdingDeductionType => faker.random.arrayElement(['tax', 'duty', 'freight', 'insurance']),
|
|
3831
3835
|
'io.flow.v0.enums.zero_amount_indicator': (): io.flow.v0.enums.ZeroAmountIndicator => faker.random.arrayElement(['zero', 'free']),
|
|
3832
3836
|
|
|
3833
3837
|
'io.flow.v0.enums.zero_levy_reason_code': (): io.flow.v0.enums.ZeroLevyReasonCode => faker.random.arrayElement([
|