tango-app-api-store-builder 1.0.0-beta-110 → 1.0.0-beta-111

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/README.md CHANGED
@@ -1,29 +1,29 @@
1
- # README #
2
-
3
- This README would normally document whatever steps are necessary to get your application up and running.
4
-
5
- ### What is this repository for? ###
6
-
7
- * Quick summary
8
- * Version
9
- * [Learn Markdown](https://bitbucket.org/tutorials/markdowndemo)
10
-
11
- ### How do I get set up? ###
12
-
13
- * Summary of set up
14
- * Configuration
15
- * Dependencies
16
- * Database configuration
17
- * How to run tests
18
- * Deployment instructions
19
-
20
- ### Contribution guidelines ###
21
-
22
- * Writing tests
23
- * Code review
24
- * Other guidelines
25
-
26
- ### Who do I talk to? ###
27
-
28
- * Repo owner or admin
1
+ # README #
2
+
3
+ This README would normally document whatever steps are necessary to get your application up and running.
4
+
5
+ ### What is this repository for? ###
6
+
7
+ * Quick summary
8
+ * Version
9
+ * [Learn Markdown](https://bitbucket.org/tutorials/markdowndemo)
10
+
11
+ ### How do I get set up? ###
12
+
13
+ * Summary of set up
14
+ * Configuration
15
+ * Dependencies
16
+ * Database configuration
17
+ * How to run tests
18
+ * Deployment instructions
19
+
20
+ ### Contribution guidelines ###
21
+
22
+ * Writing tests
23
+ * Code review
24
+ * Other guidelines
25
+
26
+ ### Who do I talk to? ###
27
+
28
+ * Repo owner or admin
29
29
  * Other community or team contact
@@ -1,210 +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
- }
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
210
  ]
package/package.json CHANGED
@@ -1,49 +1,50 @@
1
- {
2
- "name": "tango-app-api-store-builder",
3
- "version": "1.0.0-beta-110",
4
- "description": "storeBuilder",
5
- "main": "index.js",
6
- "type": "module",
7
- "scripts": {
8
- "start": "nodemon --exec \"eslint --fix . && node index.js\""
9
- },
10
- "engines": {
11
- "node": ">=18.10.0"
12
- },
13
- "author": "praveenraj",
14
- "license": "ISC",
15
- "dependencies": {
16
- "aws-sdk": "^2.1692.0",
17
- "chromedriver": "^135.0.1",
18
- "cors": "^2.8.5",
19
- "dayjs": "^1.11.13",
20
- "dotenv": "^16.4.7",
21
- "exceljs": "^4.4.0",
22
- "express": "^4.21.2",
23
- "express-fileupload": "^1.5.1",
24
- "fetch-cookie": "^3.1.0",
25
- "handlebars": "^4.7.8",
26
- "joi": "^17.13.3",
27
- "jszip": "^3.10.1",
28
- "node-fetch": "^2.7.0",
29
- "nodemon": "^3.1.9",
30
- "os": "^0.1.2",
31
- "path": "^0.12.7",
32
- "selenium-webdriver": "^4.31.0",
33
- "sharp": "^0.34.1",
34
- "tango-api-schema": "^3.0.3",
35
- "tango-app-api-middleware": "^3.1.82",
36
- "url": "^0.11.4",
37
- "winston": "^3.17.0",
38
- "winston-daily-rotate-file": "^5.0.0",
39
- "xlsx": "^0.18.5"
40
- },
41
- "devDependencies": {
42
- "eslint": "^8.57.1",
43
- "eslint-config-google": "^0.14.0",
44
- "eslint-config-semistandard": "^17.0.0",
45
- "eslint-config-standard": "^17.1.0",
46
- "eslint-plugin-import": "^2.31.0",
47
- "eslint-plugin-promise": "^6.6.0"
48
- }
49
- }
1
+ {
2
+ "name": "tango-app-api-store-builder",
3
+ "version": "1.0.0-beta-111",
4
+ "description": "storeBuilder",
5
+ "main": "index.js",
6
+ "type": "module",
7
+ "scripts": {
8
+ "start": "nodemon --exec \"eslint --fix . && node index.js\""
9
+ },
10
+ "engines": {
11
+ "node": ">=18.10.0"
12
+ },
13
+ "author": "praveenraj",
14
+ "license": "ISC",
15
+ "dependencies": {
16
+ "aws-sdk": "^2.1692.0",
17
+ "chromedriver": "^135.0.1",
18
+ "cors": "^2.8.5",
19
+ "dayjs": "^1.11.13",
20
+ "dotenv": "^16.4.7",
21
+ "exceljs": "^4.4.0",
22
+ "express": "^4.21.2",
23
+ "express-fileupload": "^1.5.1",
24
+ "fetch-cookie": "^3.1.0",
25
+ "handlebars": "^4.7.8",
26
+ "joi": "^17.13.3",
27
+ "jszip": "^3.10.1",
28
+ "mongodb": "^6.12.0",
29
+ "node-fetch": "^2.7.0",
30
+ "nodemon": "^3.1.9",
31
+ "os": "^0.1.2",
32
+ "path": "^0.12.7",
33
+ "selenium-webdriver": "^4.31.0",
34
+ "sharp": "^0.34.1",
35
+ "tango-api-schema": "2.2.151",
36
+ "tango-app-api-middleware": "3.1.48",
37
+ "url": "^0.11.4",
38
+ "winston": "^3.17.0",
39
+ "winston-daily-rotate-file": "^5.0.0",
40
+ "xlsx": "^0.18.5"
41
+ },
42
+ "devDependencies": {
43
+ "eslint": "^8.57.1",
44
+ "eslint-config-google": "^0.14.0",
45
+ "eslint-config-semistandard": "^17.0.0",
46
+ "eslint-config-standard": "^17.1.0",
47
+ "eslint-plugin-import": "^2.31.0",
48
+ "eslint-plugin-promise": "^6.6.0"
49
+ }
50
+ }