@flowio/api-factories 0.0.60 → 0.0.62

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 CHANGED
@@ -5012,6 +5012,7 @@ var factories = {
5012
5012
  cookie_created_at: factories.integer(),
5013
5013
  session_duration: factories.integer(),
5014
5014
  fingerprint: factories.string(),
5015
+ fraud_references: objectOf(function () { return factories.string(); }),
5015
5016
  }); },
5016
5017
  'io.flow.v0.models.device_fingerprint_details_browser': function () { return ({
5017
5018
  type: 'browser',
@@ -7318,6 +7319,7 @@ var factories = {
7318
7319
  attributes: objectOf(function () { return factories.string(); }),
7319
7320
  authorization_keys: arrayOf(function () { return factories.string(); }),
7320
7321
  options: factories['io.flow.v0.models.order_options'](),
7322
+ device_details: factories['io.flow.v0.unions.device_details'](),
7321
7323
  }); },
7322
7324
  'io.flow.v0.models.order_fraud_status': function () { return ({
7323
7325
  order: factories['io.flow.v0.models.order_reference'](),
@@ -7507,6 +7509,7 @@ var factories = {
7507
7509
  attributes: objectOf(function () { return factories.string(); }),
7508
7510
  authorization_keys: arrayOf(function () { return factories.string(); }),
7509
7511
  options: factories['io.flow.v0.models.order_options'](),
7512
+ device_details: factories['io.flow.v0.unions.device_details'](),
7510
7513
  }); },
7511
7514
  'io.flow.v0.models.order_quote': function () { return ({
7512
7515
  id: factories.string(),
@@ -10158,6 +10161,7 @@ var factories = {
10158
10161
  order_identifier: factories.string(),
10159
10162
  fulfillment_key: factories.string(),
10160
10163
  shipment_recipient: factories['io.flow.v0.enums.shipment_recipient'](),
10164
+ created_at: factories.date_time_iso_8601(),
10161
10165
  updated_at: factories.date_time_iso_8601(),
10162
10166
  }); },
10163
10167
  'io.flow.v0.models.shipping_notification_version': function () { return ({
package/dist/esm/api.js CHANGED
@@ -4973,6 +4973,7 @@ var factories = {
4973
4973
  cookie_created_at: factories.integer(),
4974
4974
  session_duration: factories.integer(),
4975
4975
  fingerprint: factories.string(),
4976
+ fraud_references: objectOf(function () { return factories.string(); }),
4976
4977
  }); },
4977
4978
  'io.flow.v0.models.device_fingerprint_details_browser': function () { return ({
4978
4979
  type: 'browser',
@@ -7279,6 +7280,7 @@ var factories = {
7279
7280
  attributes: objectOf(function () { return factories.string(); }),
7280
7281
  authorization_keys: arrayOf(function () { return factories.string(); }),
7281
7282
  options: factories['io.flow.v0.models.order_options'](),
7283
+ device_details: factories['io.flow.v0.unions.device_details'](),
7282
7284
  }); },
7283
7285
  'io.flow.v0.models.order_fraud_status': function () { return ({
7284
7286
  order: factories['io.flow.v0.models.order_reference'](),
@@ -7468,6 +7470,7 @@ var factories = {
7468
7470
  attributes: objectOf(function () { return factories.string(); }),
7469
7471
  authorization_keys: arrayOf(function () { return factories.string(); }),
7470
7472
  options: factories['io.flow.v0.models.order_options'](),
7473
+ device_details: factories['io.flow.v0.unions.device_details'](),
7471
7474
  }); },
7472
7475
  'io.flow.v0.models.order_quote': function () { return ({
7473
7476
  id: factories.string(),
@@ -10119,6 +10122,7 @@ var factories = {
10119
10122
  order_identifier: factories.string(),
10120
10123
  fulfillment_key: factories.string(),
10121
10124
  shipment_recipient: factories['io.flow.v0.enums.shipment_recipient'](),
10125
+ created_at: factories.date_time_iso_8601(),
10122
10126
  updated_at: factories.date_time_iso_8601(),
10123
10127
  }); },
10124
10128
  '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.60",
3
+ "version": "0.0.62",
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": "da7211cba1d8423ba244292d986d596a1a431354"
39
+ "gitHead": "a9aebda82a73c3cf583d7536bd0ab8cd24ad9660"
40
40
  }
package/src/api.ts CHANGED
@@ -5689,6 +5689,7 @@ const factories = {
5689
5689
  cookie_created_at: factories.integer(),
5690
5690
  session_duration: factories.integer(),
5691
5691
  fingerprint: factories.string(),
5692
+ fraud_references: objectOf(() => factories.string()),
5692
5693
  }),
5693
5694
 
5694
5695
  'io.flow.v0.models.device_fingerprint_details_browser': (): io.flow.v0.models.DeviceFingerprintDetailsBrowser => ({
@@ -8379,6 +8380,7 @@ const factories = {
8379
8380
  attributes: objectOf(() => factories.string()),
8380
8381
  authorization_keys: arrayOf(() => factories.string()),
8381
8382
  options: factories['io.flow.v0.models.order_options'](),
8383
+ device_details: factories['io.flow.v0.unions.device_details'](),
8382
8384
  }),
8383
8385
 
8384
8386
  'io.flow.v0.models.order_fraud_status': (): io.flow.v0.models.OrderFraudStatus => ({
@@ -8597,6 +8599,7 @@ const factories = {
8597
8599
  attributes: objectOf(() => factories.string()),
8598
8600
  authorization_keys: arrayOf(() => factories.string()),
8599
8601
  options: factories['io.flow.v0.models.order_options'](),
8602
+ device_details: factories['io.flow.v0.unions.device_details'](),
8600
8603
  }),
8601
8604
 
8602
8605
  'io.flow.v0.models.order_quote': (): io.flow.v0.models.OrderQuote => ({
@@ -11691,6 +11694,7 @@ const factories = {
11691
11694
  order_identifier: factories.string(),
11692
11695
  fulfillment_key: factories.string(),
11693
11696
  shipment_recipient: factories['io.flow.v0.enums.shipment_recipient'](),
11697
+ created_at: factories.date_time_iso_8601(),
11694
11698
  updated_at: factories.date_time_iso_8601(),
11695
11699
  }),
11696
11700
 
@@ -15960,4 +15964,4 @@ export const makeWithholdingDeduction = () => factories['io.flow.v0.models.withh
15960
15964
  export const makeWithholdingDeductionType = () => factories['io.flow.v0.enums.withholding_deduction_type']();
15961
15965
  export const makeZeroAmountIndicator = () => factories['io.flow.v0.enums.zero_amount_indicator']();
15962
15966
  export const makeZeroLevyReasonCode = () => factories['io.flow.v0.enums.zero_levy_reason_code']();
15963
- export const makeZone = () => factories['io.flow.v0.models.zone']();
15967
+ export const makeZone = () => factories['io.flow.v0.models.zone']();