tango-app-api-store-builder 1.0.0-beta-95 → 1.0.0-beta-97
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 +4 -1
- package/inputjson/layoutverification.json +111 -0
- package/package.json +3 -2
- package/response.json +647 -0
- package/src/controllers/fixtureTemplate.controller.js +451 -0
- package/src/controllers/managePlano.controller.js +131 -0
- package/src/controllers/planoLibrary.controller.js +1313 -0
- package/src/controllers/script.controller.js +1978 -352
- package/src/controllers/storeBuilder.controller.js +531 -288
- package/src/controllers/task.controller.js +131 -52
- package/src/dtos/validation.dtos.js +218 -0
- package/src/routes/fixtureTemplate.routes.js +17 -0
- package/src/routes/managePlano.routes.js +12 -0
- package/src/routes/planoLibrary.routes.js +40 -0
- package/src/routes/script.routes.js +3 -1
- package/src/routes/storeBuilder.routes.js +5 -1
- package/src/routes/task.routes.js +1 -0
- package/src/service/fixtureConfig.service.js +26 -3
- package/src/service/planoLibrary.service.js +37 -0
- package/src/service/planoStaticData.service.js +3 -0
- package/src/service/planoVm.service.js +49 -0
- package/src/service/planoproductCategory.service.js +39 -0
- package/src/service/vmType.service.js +33 -0
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,111 @@
|
|
|
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-05-22",
|
|
21
|
+
"planoId": "67c1a271dad5d3cfdbf18c0a",
|
|
22
|
+
"taskId": "67c6949bb83e5b5bf2b024ce",
|
|
23
|
+
"type": "layout",
|
|
24
|
+
"floorId": "6819df849741a6b2e0d70904",
|
|
25
|
+
"answers": [
|
|
26
|
+
{
|
|
27
|
+
"userId": "6819df859741a6b2e0d7090e",
|
|
28
|
+
"userName": "LKST98",
|
|
29
|
+
"role": "admin",
|
|
30
|
+
"qno": 1,
|
|
31
|
+
"question": "Are the below layout details correct ?",
|
|
32
|
+
"answer": false,
|
|
33
|
+
"comment": "",
|
|
34
|
+
"issues": []
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
"userId": "6819df859741a6b2e0d7090e",
|
|
38
|
+
"userName": "LKST98",
|
|
39
|
+
"role": "admin",
|
|
40
|
+
"qno": 2,
|
|
41
|
+
"question": "Capture fixture image",
|
|
42
|
+
"answer": false,
|
|
43
|
+
"issues": [
|
|
44
|
+
{
|
|
45
|
+
"userId": "6819df859741a6b2e0d7090e",
|
|
46
|
+
"userName": "LKST98",
|
|
47
|
+
"role": "admin",
|
|
48
|
+
"qno": 1,
|
|
49
|
+
"question": "Fixture in-store, not in planogram",
|
|
50
|
+
"Details": [
|
|
51
|
+
{
|
|
52
|
+
"fixturetype": "Hybrid_4ft",
|
|
53
|
+
"fixturetemplate": "Temp_hybd_5ft_Vincent Chase+Lenskart",
|
|
54
|
+
"fixtureId": "6837eace2692f29eff7f8f69",
|
|
55
|
+
"templateId": "6837eed55caa00ec973be4c8",
|
|
56
|
+
"associatedElementFixtureNumber": 1,
|
|
57
|
+
"associatedElementNumber": 1,
|
|
58
|
+
"associatedElementType": "wall",
|
|
59
|
+
"shelfConfig": [
|
|
60
|
+
{
|
|
61
|
+
"shelfNumber": 1,
|
|
62
|
+
"shelfType": "",
|
|
63
|
+
"productPerShelf": 6,
|
|
64
|
+
"trayRows": 5,
|
|
65
|
+
"label": "Top",
|
|
66
|
+
"fixtureBrandCategory": [],
|
|
67
|
+
"fixtureBrandSubCategory": []
|
|
68
|
+
},
|
|
69
|
+
{
|
|
70
|
+
"shelfNumber": 2,
|
|
71
|
+
"shelfType": "",
|
|
72
|
+
"productPerShelf": 6,
|
|
73
|
+
"trayRows": 5,
|
|
74
|
+
"label": "waewqe",
|
|
75
|
+
"fixtureBrandCategory": [],
|
|
76
|
+
"fixtureBrandSubCategory": []
|
|
77
|
+
}
|
|
78
|
+
]
|
|
79
|
+
}
|
|
80
|
+
],
|
|
81
|
+
"comment": "missing fixure details given",
|
|
82
|
+
"video": "",
|
|
83
|
+
"image": ""
|
|
84
|
+
},
|
|
85
|
+
{
|
|
86
|
+
"userId": "6819df859741a6b2e0d7090e",
|
|
87
|
+
"userName": "LKST98",
|
|
88
|
+
"role": "admin",
|
|
89
|
+
"qno": 2,
|
|
90
|
+
"question": "Fixture in planogram, not in store",
|
|
91
|
+
"Details": [],
|
|
92
|
+
"comment": "",
|
|
93
|
+
"video": "",
|
|
94
|
+
"image": ""
|
|
95
|
+
},
|
|
96
|
+
{
|
|
97
|
+
"userId": "6819df859741a6b2e0d7090e",
|
|
98
|
+
"userName": "LKST98",
|
|
99
|
+
"role": "admin",
|
|
100
|
+
"qno": 3,
|
|
101
|
+
"question": "Fixture position is in-correct",
|
|
102
|
+
"Details": [],
|
|
103
|
+
"comment": "",
|
|
104
|
+
"video": "",
|
|
105
|
+
"image": ""
|
|
106
|
+
}
|
|
107
|
+
]
|
|
108
|
+
}
|
|
109
|
+
]
|
|
110
|
+
}
|
|
111
|
+
]
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "tango-app-api-store-builder",
|
|
3
|
-
"version": "1.0.0-beta-
|
|
3
|
+
"version": "1.0.0-beta-97",
|
|
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.
|
|
35
|
+
"tango-api-schema": "^2.2.144",
|
|
35
36
|
"tango-app-api-middleware": "^3.1.48",
|
|
36
37
|
"url": "^0.11.4",
|
|
37
38
|
"winston": "^3.17.0",
|