tango-app-api-store-builder 1.0.0-beta-103 → 1.0.0-beta-105

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/index.js CHANGED
@@ -1,6 +1,9 @@
1
1
  import { storeBuilderRouter } from './src/routes/storeBuilder.routes.js';
2
2
  import { storeBuilderTaskRouter } from './src/routes/task.routes.js';
3
3
  import { scriptRouter } from './src/routes/script.routes.js';
4
+ import { planoLibraryRouter } from './src/routes/planoLibrary.routes.js';
5
+ import { fixtureTemplateRouter } from './src/routes/fixtureTemplate.routes.js';
6
+ import { managePlanoRouter } from './src/routes/managePlano.routes.js';
4
7
 
5
8
 
6
- export { storeBuilderRouter, storeBuilderTaskRouter, scriptRouter };
9
+ export { storeBuilderRouter, storeBuilderTaskRouter, scriptRouter, planoLibraryRouter, fixtureTemplateRouter, managePlanoRouter };
@@ -0,0 +1,210 @@
1
+ [
2
+ {
3
+ "answers": [
4
+ {
5
+ "userId": "6819df859741a6b2e0d7090e",
6
+ "userName": "LKST98",
7
+ "role": "admin",
8
+ "qno": 1,
9
+ "question": "Are the below layout details correct ?",
10
+ "timeStamp": "2024-05-23T06:26:04.487Z",
11
+ "answer": true,
12
+ "comment": "everythig correct",
13
+ "video": "682ef0e951d4dcf69692e0ba/3/1747907795933/c5880562-5eef-42cb-b4f4-36a9f1beac0c7086775584813486347.mp4",
14
+ "image": ""
15
+ }
16
+ ]
17
+ },
18
+ {
19
+ "fixtureId": "67f61933a1199892ebac5a49",
20
+ "date_string": "2025-06-05",
21
+ "planoId": "682b18eb53b873e2bef85f48",
22
+ "taskId": "68303dae51d4dcf69692e16f",
23
+ "type": "layout",
24
+ "floorId": "6819df849741a6b2e0d70904",
25
+ "status": "incomplete",
26
+ "answers": [
27
+ {
28
+ "userId": "6819df859741a6b2e0d7090e",
29
+ "userName": "LKST98",
30
+ "role": "admin",
31
+ "issues": [
32
+ {
33
+ "userId": "6819df859741a6b2e0d7090e",
34
+ "userName": "LKST98",
35
+ "role": "admin",
36
+ "qno": 1,
37
+ "question": "Fixture in-store, not in planogram",
38
+ "Details": [
39
+ {
40
+ "comments": [
41
+ {
42
+ "userId": "681d967e72e969324794af2a",
43
+ "userName": "hastinapuram.chennai",
44
+ "role": "user",
45
+ "comment": "the above one fixture is missing from the store"
46
+ }
47
+ ],
48
+ "fixtureName": "Template04-Second Floor Fixture",
49
+ "fixturetype": "Hybrid_4ft",
50
+ "fixturetemplate": "Temp_hybd_5ft_Vincent Chase+Lenskart",
51
+ "fixtureId": "6837eace2692f29eff7f8f69",
52
+ "templateId": "6837eed55caa00ec973be4c8",
53
+ "associatedElementFixtureNumber": 1,
54
+ "associatedElementNumber": 1,
55
+ "associatedElementType": "wall",
56
+ "shelfConfig": [
57
+ {
58
+ "shelfNumber": 1,
59
+ "shelfType": "",
60
+ "productPerShelf": 6,
61
+ "trayRows": 5,
62
+ "zone": "Top",
63
+ "productBrandName": [],
64
+ "productSubCategory": []
65
+ },
66
+ {
67
+ "shelfNumber": 2,
68
+ "shelfType": "",
69
+ "productPerShelf": 6,
70
+ "trayRows": 5,
71
+ "zone": "waewqe",
72
+ "productBrandName": [],
73
+ "productSubCategory": []
74
+ }
75
+ ]
76
+ },
77
+ {
78
+ "comments": [
79
+ {
80
+ "userId": "681d967e72e969324794af2a",
81
+ "userName": "hastinapuram.chennai",
82
+ "role": "user",
83
+ "comment": "the above one fixture is missing from the store"
84
+ }
85
+ ],
86
+ "fixtureName": "Template04-Second Floor Fixture",
87
+ "fixturetype": "Hybrid_4ft",
88
+ "fixturetemplate": "Temp_hybd_5ft_Vincent Chase+Lenskart",
89
+ "fixtureId": "6837eace2692f29eff7f8f69",
90
+ "templateId": "6837eed55caa00ec973be4c8",
91
+ "associatedElementFixtureNumber": 1,
92
+ "associatedElementNumber": 1,
93
+ "associatedElementType": "wall",
94
+ "shelfConfig": [
95
+ {
96
+ "shelfNumber": 1,
97
+ "shelfType": "",
98
+ "productPerShelf": 6,
99
+ "trayRows": 5,
100
+ "zone": "Top",
101
+ "productBrandName": [],
102
+ "productSubCategory": []
103
+ },
104
+ {
105
+ "shelfNumber": 2,
106
+ "shelfType": "",
107
+ "productPerShelf": 6,
108
+ "trayRows": 5,
109
+ "zone": "waewqe",
110
+ "productBrandName": [],
111
+ "productSubCategory": []
112
+ }
113
+ ]
114
+ }
115
+ ]
116
+ },
117
+ {
118
+ "userId": "6819df859741a6b2e0d7090e",
119
+ "userName": "LKST98",
120
+ "role": "admin",
121
+ "qno": 2,
122
+ "question": "Fixture in planogram, not in store",
123
+ "Details": [
124
+ {
125
+ "comments": [
126
+ {
127
+ "userId": "681d967e72e969324794af2a",
128
+ "userName": "hastinapuram.chennai",
129
+ "role": "user",
130
+ "comment": "the above one fixture is missing from the plano"
131
+ }
132
+ ],
133
+ "image": "vmType/682eefe457db7d4366881c13/1747906611139/Lenskart1.jpg",
134
+ "fixtureName": "Template04-Second Floor Fixture",
135
+ "fixturetype": "Hybrid_4ft",
136
+ "fixturetemplate": "Temp_hybd_5ft_Vincent Chase+Lenskart",
137
+ "fixtureId": "6837eace2692f29eff7f8f69",
138
+ "templateId": "6837eed55caa00ec973be4c8",
139
+ "associatedElementFixtureNumber": 1,
140
+ "associatedElementNumber": 1,
141
+ "associatedElementType": "wall"
142
+ },
143
+ {
144
+ "comments": [],
145
+ "image": "vmType/682eefe457db7d4366881c13/1747906611139/Lenskart1.jpg",
146
+ "fixtureName": "Template05-Second Floor Fixture",
147
+ "fixturetype": "Hybrid_4ft",
148
+ "fixturetemplate": "Temp_hybd_5ft_Vincent Chase+Lenskart",
149
+ "fixtureId": "6837eace2692f29eff7f8f69",
150
+ "templateId": "6837eed55caa00ec973be4c8",
151
+ "associatedElementFixtureNumber": 1,
152
+ "associatedElementNumber": 1,
153
+ "associatedElementType": "wall"
154
+ }
155
+ ],
156
+ "video": "",
157
+ "image": ""
158
+ },
159
+ {
160
+ "userId": "6819df859741a6b2e0d7090e",
161
+ "userName": "LKST98",
162
+ "role": "admin",
163
+ "qno": 3,
164
+ "question": "Fixture position is in-correct",
165
+ "Details": [
166
+ {
167
+ "comments": [
168
+ {
169
+ "userId": "681d967e72e969324794af2a",
170
+ "userName": "hastinapuram.chennai",
171
+ "role": "user",
172
+ "comment": "the above one fixture postion is wrong in the store"
173
+ }
174
+ ],
175
+ "image": "vmType/682eefe457db7d4366881c13/1747906611139/Lenskart1.jpg",
176
+ "fixtureName": "Template04-Second Floor Fixture",
177
+ "fixturetype": "Hybrid_4ft",
178
+ "fixturetemplate": "Temp_hybd_5ft_Vincent Chase+Lenskart",
179
+ "fixtureId": "6837eace2692f29eff7f8f69",
180
+ "templateId": "6837eed55caa00ec973be4c8",
181
+ "associatedElementFixtureNumber": 1,
182
+ "associatedElementNumber": 1,
183
+ "associatedElementType": "wall",
184
+ "newassociatedElementFixtureNumber": 2,
185
+ "newassociatedElementNumber": 2,
186
+ "newassociatedElementType": "wall"
187
+ },
188
+ {
189
+ "image": "vmType/682eefe457db7d4366881c13/1747906611139/Lenskart1.jpg",
190
+ "fixtureName": "Template05-Second Floor Fixture",
191
+ "fixturetype": "Hybrid_4ft",
192
+ "fixturetemplate": "Temp_hybd_5ft_Vincent Chase+Lenskart",
193
+ "fixtureId": "6837eace2692f29eff7f8f69",
194
+ "templateId": "6837eed55caa00ec973be4c8",
195
+ "associatedElementFixtureNumber": 1,
196
+ "associatedElementNumber": 1,
197
+ "associatedElementType": "wall",
198
+ "newassociatedElementFixtureNumber": 3,
199
+ "newassociatedElementNumber": 1,
200
+ "newassociatedElementType": "wall"
201
+ }
202
+ ],
203
+ "video": "",
204
+ "image": ""
205
+ }
206
+ ]
207
+ }
208
+ ]
209
+ }
210
+ ]
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tango-app-api-store-builder",
3
- "version": "1.0.0-beta-103",
3
+ "version": "1.0.0-beta-105",
4
4
  "description": "storeBuilder",
5
5
  "main": "index.js",
6
6
  "type": "module",
@@ -18,6 +18,7 @@
18
18
  "cors": "^2.8.5",
19
19
  "dayjs": "^1.11.13",
20
20
  "dotenv": "^16.4.7",
21
+ "exceljs": "^4.4.0",
21
22
  "express": "^4.21.2",
22
23
  "express-fileupload": "^1.5.1",
23
24
  "fetch-cookie": "^3.1.0",
@@ -31,7 +32,7 @@
31
32
  "path": "^0.12.7",
32
33
  "selenium-webdriver": "^4.31.0",
33
34
  "sharp": "^0.34.1",
34
- "tango-api-schema": "^2.2.146",
35
+ "tango-api-schema": "^3.0.1",
35
36
  "tango-app-api-middleware": "^3.1.48",
36
37
  "url": "^0.11.4",
37
38
  "winston": "^3.17.0",