@flowio/api-factories 0.0.18 → 0.0.19

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
@@ -8991,6 +8991,7 @@ var factories = {
8991
8991
  source: factories['io.flow.v0.enums.delivery_window_component_source'](),
8992
8992
  }); },
8993
8993
  'io.flow.v0.models.product_restriction_result': function () { return ({
8994
+ id: factories.string(),
8994
8995
  product_id: factories.string(),
8995
8996
  item_numbers: arrayOf(function () { return factories.string(); }),
8996
8997
  prohibited_regions: arrayOf(function () { return factories.string(); }),
@@ -11048,7 +11049,7 @@ var factories = {
11048
11049
  event_id: factories.string(),
11049
11050
  timestamp: factories.date_time_iso_8601(),
11050
11051
  organization: factories.string(),
11051
- id: factories.string(),
11052
+ transaction: factories['io.flow.v0.models.transaction'](),
11052
11053
  }); },
11053
11054
  'io.flow.v0.models.transaction_upserted': function () { return ({
11054
11055
  discriminator: 'transaction_upserted',
package/dist/esm/api.js CHANGED
@@ -8954,6 +8954,7 @@ var factories = {
8954
8954
  source: factories['io.flow.v0.enums.delivery_window_component_source'](),
8955
8955
  }); },
8956
8956
  'io.flow.v0.models.product_restriction_result': function () { return ({
8957
+ id: factories.string(),
8957
8958
  product_id: factories.string(),
8958
8959
  item_numbers: arrayOf(function () { return factories.string(); }),
8959
8960
  prohibited_regions: arrayOf(function () { return factories.string(); }),
@@ -11011,7 +11012,7 @@ var factories = {
11011
11012
  event_id: factories.string(),
11012
11013
  timestamp: factories.date_time_iso_8601(),
11013
11014
  organization: factories.string(),
11014
- id: factories.string(),
11015
+ transaction: factories['io.flow.v0.models.transaction'](),
11015
11016
  }); },
11016
11017
  'io.flow.v0.models.transaction_upserted': function () { return ({
11017
11018
  discriminator: 'transaction_upserted',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@flowio/api-factories",
3
- "version": "0.0.18",
3
+ "version": "0.0.19",
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": "442c8c1cfdf187703263b47ae75b433a5336e679"
39
+ "gitHead": "56bd64341671c62c52f94f951b60e6a7e0aa1441"
40
40
  }
package/src/api.ts CHANGED
@@ -10376,6 +10376,7 @@ const factories = {
10376
10376
  }),
10377
10377
 
10378
10378
  'io.flow.v0.models.product_restriction_result': (): io.flow.v0.models.ProductRestrictionResult => ({
10379
+ id: factories.string(),
10379
10380
  product_id: factories.string(),
10380
10381
  item_numbers: arrayOf(() => factories.string()),
10381
10382
  prohibited_regions: arrayOf(() => factories.string()),
@@ -12756,7 +12757,7 @@ const factories = {
12756
12757
  event_id: factories.string(),
12757
12758
  timestamp: factories.date_time_iso_8601(),
12758
12759
  organization: factories.string(),
12759
- id: factories.string(),
12760
+ transaction: factories['io.flow.v0.models.transaction'](),
12760
12761
  }),
12761
12762
 
12762
12763
  'io.flow.v0.models.transaction_upserted': (): io.flow.v0.models.TransactionUpserted => ({