@flowio/api-factories 0.0.60 → 0.0.61
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 -0
- package/dist/esm/api.js +3 -0
- package/package.json +2 -2
- package/src/api.ts +4 -1
package/dist/cjs/api.js
CHANGED
|
@@ -7318,6 +7318,7 @@ var factories = {
|
|
|
7318
7318
|
attributes: objectOf(function () { return factories.string(); }),
|
|
7319
7319
|
authorization_keys: arrayOf(function () { return factories.string(); }),
|
|
7320
7320
|
options: factories['io.flow.v0.models.order_options'](),
|
|
7321
|
+
device_details: factories['io.flow.v0.unions.device_details'](),
|
|
7321
7322
|
}); },
|
|
7322
7323
|
'io.flow.v0.models.order_fraud_status': function () { return ({
|
|
7323
7324
|
order: factories['io.flow.v0.models.order_reference'](),
|
|
@@ -7507,6 +7508,7 @@ var factories = {
|
|
|
7507
7508
|
attributes: objectOf(function () { return factories.string(); }),
|
|
7508
7509
|
authorization_keys: arrayOf(function () { return factories.string(); }),
|
|
7509
7510
|
options: factories['io.flow.v0.models.order_options'](),
|
|
7511
|
+
device_details: factories['io.flow.v0.unions.device_details'](),
|
|
7510
7512
|
}); },
|
|
7511
7513
|
'io.flow.v0.models.order_quote': function () { return ({
|
|
7512
7514
|
id: factories.string(),
|
|
@@ -10158,6 +10160,7 @@ var factories = {
|
|
|
10158
10160
|
order_identifier: factories.string(),
|
|
10159
10161
|
fulfillment_key: factories.string(),
|
|
10160
10162
|
shipment_recipient: factories['io.flow.v0.enums.shipment_recipient'](),
|
|
10163
|
+
created_at: factories.date_time_iso_8601(),
|
|
10161
10164
|
updated_at: factories.date_time_iso_8601(),
|
|
10162
10165
|
}); },
|
|
10163
10166
|
'io.flow.v0.models.shipping_notification_version': function () { return ({
|
package/dist/esm/api.js
CHANGED
|
@@ -7279,6 +7279,7 @@ var factories = {
|
|
|
7279
7279
|
attributes: objectOf(function () { return factories.string(); }),
|
|
7280
7280
|
authorization_keys: arrayOf(function () { return factories.string(); }),
|
|
7281
7281
|
options: factories['io.flow.v0.models.order_options'](),
|
|
7282
|
+
device_details: factories['io.flow.v0.unions.device_details'](),
|
|
7282
7283
|
}); },
|
|
7283
7284
|
'io.flow.v0.models.order_fraud_status': function () { return ({
|
|
7284
7285
|
order: factories['io.flow.v0.models.order_reference'](),
|
|
@@ -7468,6 +7469,7 @@ var factories = {
|
|
|
7468
7469
|
attributes: objectOf(function () { return factories.string(); }),
|
|
7469
7470
|
authorization_keys: arrayOf(function () { return factories.string(); }),
|
|
7470
7471
|
options: factories['io.flow.v0.models.order_options'](),
|
|
7472
|
+
device_details: factories['io.flow.v0.unions.device_details'](),
|
|
7471
7473
|
}); },
|
|
7472
7474
|
'io.flow.v0.models.order_quote': function () { return ({
|
|
7473
7475
|
id: factories.string(),
|
|
@@ -10119,6 +10121,7 @@ var factories = {
|
|
|
10119
10121
|
order_identifier: factories.string(),
|
|
10120
10122
|
fulfillment_key: factories.string(),
|
|
10121
10123
|
shipment_recipient: factories['io.flow.v0.enums.shipment_recipient'](),
|
|
10124
|
+
created_at: factories.date_time_iso_8601(),
|
|
10122
10125
|
updated_at: factories.date_time_iso_8601(),
|
|
10123
10126
|
}); },
|
|
10124
10127
|
'io.flow.v0.models.shipping_notification_version': function () { return ({
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@flowio/api-factories",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.61",
|
|
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": "7f6565913d82602abcf6cfcf8280e9220d20cb30"
|
|
40
40
|
}
|
package/src/api.ts
CHANGED
|
@@ -8379,6 +8379,7 @@ const factories = {
|
|
|
8379
8379
|
attributes: objectOf(() => factories.string()),
|
|
8380
8380
|
authorization_keys: arrayOf(() => factories.string()),
|
|
8381
8381
|
options: factories['io.flow.v0.models.order_options'](),
|
|
8382
|
+
device_details: factories['io.flow.v0.unions.device_details'](),
|
|
8382
8383
|
}),
|
|
8383
8384
|
|
|
8384
8385
|
'io.flow.v0.models.order_fraud_status': (): io.flow.v0.models.OrderFraudStatus => ({
|
|
@@ -8597,6 +8598,7 @@ const factories = {
|
|
|
8597
8598
|
attributes: objectOf(() => factories.string()),
|
|
8598
8599
|
authorization_keys: arrayOf(() => factories.string()),
|
|
8599
8600
|
options: factories['io.flow.v0.models.order_options'](),
|
|
8601
|
+
device_details: factories['io.flow.v0.unions.device_details'](),
|
|
8600
8602
|
}),
|
|
8601
8603
|
|
|
8602
8604
|
'io.flow.v0.models.order_quote': (): io.flow.v0.models.OrderQuote => ({
|
|
@@ -11691,6 +11693,7 @@ const factories = {
|
|
|
11691
11693
|
order_identifier: factories.string(),
|
|
11692
11694
|
fulfillment_key: factories.string(),
|
|
11693
11695
|
shipment_recipient: factories['io.flow.v0.enums.shipment_recipient'](),
|
|
11696
|
+
created_at: factories.date_time_iso_8601(),
|
|
11694
11697
|
updated_at: factories.date_time_iso_8601(),
|
|
11695
11698
|
}),
|
|
11696
11699
|
|
|
@@ -15960,4 +15963,4 @@ export const makeWithholdingDeduction = () => factories['io.flow.v0.models.withh
|
|
|
15960
15963
|
export const makeWithholdingDeductionType = () => factories['io.flow.v0.enums.withholding_deduction_type']();
|
|
15961
15964
|
export const makeZeroAmountIndicator = () => factories['io.flow.v0.enums.zero_amount_indicator']();
|
|
15962
15965
|
export const makeZeroLevyReasonCode = () => factories['io.flow.v0.enums.zero_levy_reason_code']();
|
|
15963
|
-
export const makeZone = () => factories['io.flow.v0.models.zone']();
|
|
15966
|
+
export const makeZone = () => factories['io.flow.v0.models.zone']();
|