tango-api-schema 2.2.70 → 2.2.72

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tango-api-schema",
3
- "version": "2.2.70",
3
+ "version": "2.2.72",
4
4
  "description": "tangoEye model schema",
5
5
  "main": "index.js",
6
6
  "type": "module",
@@ -8,50 +8,52 @@ const fixtureConfigSchema = new mongoose.Schema(
8
8
  },
9
9
  fixtureCategory: {
10
10
  type: String,
11
- required: true,
12
11
  },
13
12
  fixtureType: {
14
13
  type: String,
15
14
  enum: [ 'wall', 'floor' ],
16
- required: true,
17
15
  },
18
16
  fixtureHeight: {
19
17
  value: {
20
18
  type: Number,
21
- required: true,
22
19
  },
23
20
  unit: {
24
21
  type: String,
25
- default: 'mm',
26
22
  },
27
23
  },
28
24
  fixtureLength: {
29
25
  value: {
30
26
  type: Number,
31
- required: true,
32
27
  },
33
28
  unit: {
34
29
  type: String,
35
- default: 'mm',
36
30
  },
37
31
  },
38
32
  fixtureWidth: {
39
33
  value: {
40
34
  type: Number,
41
- default: 914,
42
35
  },
43
36
  unit: {
44
37
  type: String,
45
- default: 'mm',
46
38
  },
47
39
  },
48
- fixtureBrandCategory:{
49
- type: Array,
50
- default: [],
40
+ shelfCount: {
41
+ type: Number,
42
+ },
43
+ productPerShelf: {
44
+ type: Number,
51
45
  },
52
- fixtureBrandSubCategory:{
46
+ fixtureCapacity: {
47
+ type: Number,
48
+ },
49
+ sections:{
53
50
  type: Array,
54
- default: [],
51
+ },
52
+ fixtureCode:{
53
+ type: String,
54
+ },
55
+ fixtureConfigType: {
56
+ type: String
55
57
  },
56
58
  },
57
59
  {
@@ -40,14 +40,12 @@ const fixtureShelfSchema = new mongoose.Schema(
40
40
  type: Number,
41
41
  required: true,
42
42
  },
43
- shelfType:{
44
- type: String,
45
- enum: [ 'header', 'footer', 'middle' ],
46
- default:'middle'
47
- },
48
43
  sectionName:{
49
44
  type: String
50
45
  },
46
+ sectionZone:{
47
+ type: String
48
+ },
51
49
  rfId:{
52
50
  type:String
53
51
  }
@@ -41,7 +41,6 @@ const planoMappingSchema = new mongoose.Schema(
41
41
  },
42
42
  rfId: {
43
43
  type: String,
44
- required: true,
45
44
  },
46
45
  category: {
47
46
  type: String,
@@ -56,6 +56,16 @@ const planoProductDetailSchema = new mongoose.Schema(
56
56
  productImageUrl: {
57
57
  type: String,
58
58
  },
59
+ startYPosition: {
60
+ type: String,
61
+ },
62
+ endYPosition: {
63
+ type: String,
64
+ },
65
+ xZone:{
66
+ type: String
67
+ }
68
+
59
69
  },
60
70
  {
61
71
  strict: false,
@@ -29,6 +29,12 @@ const storeFixtureSchema = new mongoose.Schema(
29
29
  fixtureCategory: {
30
30
  type: String,
31
31
  },
32
+ fixtureBrandCategory: {
33
+ type: String,
34
+ },
35
+ fixtureBrandSubCategory: {
36
+ type: String,
37
+ },
32
38
  fixtureType: {
33
39
  type: String,
34
40
  enum: [ 'wall', 'floor', 'other' ],
@@ -137,6 +143,9 @@ const storeFixtureSchema = new mongoose.Schema(
137
143
  vmImageUrl: {
138
144
  type: String,
139
145
  },
146
+ fixtureCode: {
147
+ type: String,
148
+ },
140
149
  },
141
150
  {
142
151
  strict: true,