tango-api-schema 2.2.170 → 2.2.172
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 +13 -0
- package/package.json +1 -1
- package/schema/aiTicketConfig.js +42 -42
- package/schema/applicationDefault.model.js +24 -24
- package/schema/assignAudit.model.js +55 -55
- package/schema/auditLogs.model.js +77 -77
- package/schema/auditStoreData.model.js +56 -56
- package/schema/auditUserWallet.model.js +98 -98
- package/schema/auditUsers.model.js +53 -53
- package/schema/authentication.model.js +27 -27
- package/schema/basePricing.model.js +28 -28
- package/schema/billing.model.js +99 -99
- package/schema/clientRequest.model.js +38 -38
- package/schema/cluster.model.js +70 -70
- package/schema/controlCenterTemplateList.model.js +39 -39
- package/schema/countryCodes.model.js +26 -26
- package/schema/dailyPricing.model.js +86 -86
- package/schema/dataMismatchDraft.model.js +22 -22
- package/schema/domain.js +18 -18
- package/schema/edgeAppVersion.model.js +33 -33
- package/schema/edgeappAuth.model.js +30 -30
- package/schema/empDetectionOutput.model.js +67 -67
- package/schema/eyetest.model.js +18 -18
- package/schema/fitting.model.js +52 -52
- package/schema/fixtureConfig.model.js +149 -16
- package/schema/fixtureLibrary.model.js +168 -0
- package/schema/fixtureShelf.model.js +69 -57
- package/schema/group.model.js +34 -34
- package/schema/hotjar.model.js +11 -11
- package/schema/infraReason.model.js +44 -44
- package/schema/internalAuth.model.js +35 -35
- package/schema/invoice.model.js +104 -104
- package/schema/ipLogs.model.js +37 -37
- package/schema/lead.model.js +76 -76
- package/schema/lenskartEmployeeMapping.model.js +63 -63
- package/schema/locusOrder.model.js +154 -154
- package/schema/locusOrderUser.model.js +14 -14
- package/schema/lowcountReason.model.js +44 -44
- package/schema/mailOnlyuser.model.js +42 -42
- package/schema/matLog.model.js +26 -26
- package/schema/nobBilling.model.js +41 -41
- package/schema/otp.model.js +25 -25
- package/schema/paymentAccount.model.js +60 -60
- package/schema/planoCompliance.model.js +62 -62
- package/schema/planoGlobalComment.model.js +46 -0
- package/schema/planoProductCategoryDetails.model.js +26 -0
- package/schema/planoProductDetail.model.js +1 -18
- package/schema/planoRevision.model.js +36 -0
- package/schema/planoStaticData.model.js +1 -1
- package/schema/planoTaskCompliance.model.js +338 -14
- package/schema/planoVmDetail.model.js +63 -0
- package/schema/planogram.model.js +4 -0
- package/schema/processeddetection.js +85 -85
- package/schema/quality.model.js +57 -57
- package/schema/report.model.js +30 -30
- package/schema/standaredRole.model.js +76 -76
- package/schema/storeAudit.model.js +62 -62
- package/schema/storeEmpDetection.model.js +62 -62
- package/schema/storeFixture.model.js +100 -56
- package/schema/tagging.model.js +42 -42
- package/schema/tangoTicket.model.js +210 -210
- package/schema/taskProcessed.model.js +3 -0
- package/schema/taskQuestion.model.js +46 -46
- package/schema/teams.model.js +46 -46
- package/schema/transaction.model.js +54 -54
- package/schema/traxApprover.model.js +35 -35
- package/schema/traxAuditData.model.js +64 -64
- package/schema/userAssignedStore.model.js +41 -41
- package/schema/userAudit.model.js +77 -77
- package/schema/userEmpDetection.model.js +83 -83
- package/schema/vmType.model.js +24 -0
- package/schema/workstation.model.js +75 -75
|
@@ -26,72 +26,69 @@ const storeFixtureSchema = new mongoose.Schema(
|
|
|
26
26
|
type: String,
|
|
27
27
|
required: true,
|
|
28
28
|
},
|
|
29
|
-
|
|
29
|
+
description: {
|
|
30
30
|
type: String,
|
|
31
31
|
},
|
|
32
|
-
|
|
32
|
+
fixtureCategory: {
|
|
33
33
|
type: String,
|
|
34
34
|
},
|
|
35
|
-
|
|
36
|
-
type:
|
|
35
|
+
productBrandName: {
|
|
36
|
+
type: Array,
|
|
37
|
+
},
|
|
38
|
+
productCategory:{
|
|
39
|
+
type:Array
|
|
40
|
+
},
|
|
41
|
+
productSubCategory:{
|
|
42
|
+
type:Array
|
|
37
43
|
},
|
|
38
44
|
fixtureType: {
|
|
39
45
|
type: String,
|
|
40
46
|
enum: [ 'wall', 'floor', 'other' ],
|
|
41
47
|
required: true,
|
|
42
48
|
},
|
|
43
|
-
fixtureHeight: {
|
|
44
|
-
value: {
|
|
45
|
-
type: Number,
|
|
46
|
-
},
|
|
47
|
-
unit: {
|
|
48
|
-
type: String,
|
|
49
|
-
},
|
|
50
|
-
},
|
|
51
49
|
fixtureLength: {
|
|
52
50
|
value: {
|
|
53
51
|
type: Number,
|
|
52
|
+
default: 0,
|
|
54
53
|
},
|
|
55
54
|
unit: {
|
|
56
55
|
type: String,
|
|
56
|
+
default: '',
|
|
57
57
|
},
|
|
58
58
|
},
|
|
59
59
|
fixtureWidth: {
|
|
60
60
|
value: {
|
|
61
61
|
type: Number,
|
|
62
|
+
default: 0,
|
|
62
63
|
},
|
|
63
64
|
unit: {
|
|
64
65
|
type: String,
|
|
66
|
+
default: '',
|
|
65
67
|
},
|
|
66
68
|
},
|
|
67
|
-
|
|
69
|
+
fixtureStaticLength: {
|
|
68
70
|
value: {
|
|
69
71
|
type: Number,
|
|
72
|
+
default: 0,
|
|
70
73
|
},
|
|
71
74
|
unit: {
|
|
72
75
|
type: String,
|
|
76
|
+
default: '',
|
|
73
77
|
},
|
|
74
78
|
},
|
|
75
|
-
|
|
79
|
+
fixtureStaticWidth: {
|
|
76
80
|
value: {
|
|
77
81
|
type: Number,
|
|
82
|
+
default: 0,
|
|
78
83
|
},
|
|
79
84
|
unit: {
|
|
80
85
|
type: String,
|
|
86
|
+
default: '',
|
|
81
87
|
},
|
|
82
88
|
},
|
|
83
|
-
productPerShelf: {
|
|
84
|
-
type: Number,
|
|
85
|
-
},
|
|
86
|
-
mbq: {
|
|
87
|
-
type: Number,
|
|
88
|
-
},
|
|
89
89
|
fixtureCapacity: {
|
|
90
90
|
type: Number,
|
|
91
91
|
},
|
|
92
|
-
shelfcount: {
|
|
93
|
-
type: Number,
|
|
94
|
-
},
|
|
95
92
|
associatedElementType: {
|
|
96
93
|
type: String,
|
|
97
94
|
enum: [ 'wall', 'facade' ],
|
|
@@ -99,9 +96,6 @@ const storeFixtureSchema = new mongoose.Schema(
|
|
|
99
96
|
associatedElementNumber: {
|
|
100
97
|
type: Number,
|
|
101
98
|
},
|
|
102
|
-
fixtureConfigId: {
|
|
103
|
-
type: mongoose.Types.ObjectId,
|
|
104
|
-
},
|
|
105
99
|
relativePosition: {
|
|
106
100
|
x: {
|
|
107
101
|
type: Number,
|
|
@@ -113,48 +107,95 @@ const storeFixtureSchema = new mongoose.Schema(
|
|
|
113
107
|
type: String,
|
|
114
108
|
},
|
|
115
109
|
},
|
|
116
|
-
relativeDetailedPosition: {
|
|
117
|
-
x: {
|
|
118
|
-
type: Number,
|
|
119
|
-
},
|
|
120
|
-
y: {
|
|
121
|
-
type: Number,
|
|
122
|
-
},
|
|
123
|
-
unit: {
|
|
124
|
-
type: String,
|
|
125
|
-
},
|
|
126
|
-
},
|
|
127
|
-
fixtureOrder: {
|
|
128
|
-
type: String,
|
|
129
|
-
enum: [ 'TTB', 'BTT' ],
|
|
130
|
-
// TTB - Top to Bottom, BTT - Bottom to Top
|
|
131
|
-
},
|
|
132
|
-
fixtureNumber: {
|
|
133
|
-
type: Number,
|
|
134
|
-
},
|
|
135
110
|
productResolutionLevel: {
|
|
136
111
|
type: String,
|
|
137
|
-
enum: [ 'L1', 'L2', 'L3', 'L4'
|
|
138
|
-
// L1-
|
|
112
|
+
enum: [ 'L1', 'L2', 'L3', 'L4' ],
|
|
113
|
+
// L1- fixture level, L2- shelf level, L3- section level, L4- product level
|
|
139
114
|
},
|
|
140
115
|
imageUrl: {
|
|
141
116
|
type: String,
|
|
142
117
|
},
|
|
143
|
-
vmImageUrl: {
|
|
144
|
-
type: String,
|
|
145
|
-
},
|
|
146
|
-
fixtureCode: {
|
|
147
|
-
type: String,
|
|
148
|
-
},
|
|
149
118
|
header: {
|
|
150
|
-
|
|
119
|
+
height: {
|
|
120
|
+
value: {
|
|
121
|
+
type: Number,
|
|
122
|
+
default: 0,
|
|
123
|
+
},
|
|
124
|
+
unit: {
|
|
125
|
+
type: String,
|
|
126
|
+
default: '',
|
|
127
|
+
},
|
|
128
|
+
},
|
|
129
|
+
label: {
|
|
130
|
+
type: String,
|
|
131
|
+
},
|
|
132
|
+
isEnabled: {
|
|
133
|
+
type: Boolean,
|
|
134
|
+
default: true,
|
|
135
|
+
},
|
|
151
136
|
},
|
|
152
137
|
footer: {
|
|
153
|
-
|
|
138
|
+
height: {
|
|
139
|
+
value: {
|
|
140
|
+
type: Number,
|
|
141
|
+
default: 0,
|
|
142
|
+
},
|
|
143
|
+
unit: {
|
|
144
|
+
type: String,
|
|
145
|
+
default: '',
|
|
146
|
+
},
|
|
147
|
+
},
|
|
148
|
+
label: {
|
|
149
|
+
type: String,
|
|
150
|
+
},
|
|
151
|
+
isEnabled: {
|
|
152
|
+
type: Boolean,
|
|
153
|
+
default: true,
|
|
154
|
+
},
|
|
155
|
+
},
|
|
156
|
+
isBodyEnabled: {
|
|
157
|
+
type: Boolean,
|
|
158
|
+
default: true,
|
|
154
159
|
},
|
|
155
160
|
associatedElementFixtureNumber: {
|
|
156
161
|
type: Number,
|
|
157
162
|
},
|
|
163
|
+
vmConfig: [
|
|
164
|
+
{
|
|
165
|
+
vmId: {
|
|
166
|
+
type: mongoose.Types.ObjectId,
|
|
167
|
+
},
|
|
168
|
+
startYPosition: {
|
|
169
|
+
type: Number,
|
|
170
|
+
},
|
|
171
|
+
endYPosition: {
|
|
172
|
+
type: Number,
|
|
173
|
+
},
|
|
174
|
+
xZone: {
|
|
175
|
+
type: String,
|
|
176
|
+
},
|
|
177
|
+
yZone: {
|
|
178
|
+
type: String,
|
|
179
|
+
},
|
|
180
|
+
position: {
|
|
181
|
+
type: String,
|
|
182
|
+
},
|
|
183
|
+
},
|
|
184
|
+
],
|
|
185
|
+
fixtureLibraryId: {
|
|
186
|
+
type: mongoose.Types.ObjectId,
|
|
187
|
+
},
|
|
188
|
+
fixtureConfigId: {
|
|
189
|
+
type: mongoose.Types.ObjectId,
|
|
190
|
+
},
|
|
191
|
+
fixtureNumber: {
|
|
192
|
+
type: Number,
|
|
193
|
+
},
|
|
194
|
+
templateIndex: {
|
|
195
|
+
type: Number,
|
|
196
|
+
default: 1,
|
|
197
|
+
},
|
|
198
|
+
|
|
158
199
|
},
|
|
159
200
|
{
|
|
160
201
|
strict: true,
|
|
@@ -163,4 +204,7 @@ const storeFixtureSchema = new mongoose.Schema(
|
|
|
163
204
|
},
|
|
164
205
|
);
|
|
165
206
|
|
|
166
|
-
export default mongoose.model( 'storeFixture', storeFixtureSchema );
|
|
207
|
+
export default mongoose.model( 'storeFixture', storeFixtureSchema );
|
|
208
|
+
|
|
209
|
+
|
|
210
|
+
|
package/schema/tagging.model.js
CHANGED
|
@@ -1,43 +1,43 @@
|
|
|
1
|
-
import mongoose, { Schema, model } from "mongoose";
|
|
2
|
-
|
|
3
|
-
const collection = new Schema({
|
|
4
|
-
clientId:{
|
|
5
|
-
type:String,
|
|
6
|
-
required:true
|
|
7
|
-
},
|
|
8
|
-
storeId:{
|
|
9
|
-
type:String,
|
|
10
|
-
required:true
|
|
11
|
-
},
|
|
12
|
-
tagName:{
|
|
13
|
-
type:String,
|
|
14
|
-
required:true
|
|
15
|
-
},
|
|
16
|
-
coordinates:{
|
|
17
|
-
type:Array,
|
|
18
|
-
},
|
|
19
|
-
cameraId:{
|
|
20
|
-
type:mongoose.Types.ObjectId,
|
|
21
|
-
},
|
|
22
|
-
streamName:{
|
|
23
|
-
type:String,
|
|
24
|
-
},
|
|
25
|
-
isDeleted:{
|
|
26
|
-
type:Boolean,
|
|
27
|
-
default:false
|
|
28
|
-
},
|
|
29
|
-
rgbColor: {
|
|
30
|
-
type:String,
|
|
31
|
-
},
|
|
32
|
-
rgbBorderColor: {
|
|
33
|
-
type:String,
|
|
34
|
-
},
|
|
35
|
-
},{
|
|
36
|
-
strict: true,
|
|
37
|
-
versionKey: false,
|
|
38
|
-
timestamps: true,
|
|
39
|
-
}
|
|
40
|
-
)
|
|
41
|
-
|
|
42
|
-
|
|
1
|
+
import mongoose, { Schema, model } from "mongoose";
|
|
2
|
+
|
|
3
|
+
const collection = new Schema({
|
|
4
|
+
clientId:{
|
|
5
|
+
type:String,
|
|
6
|
+
required:true
|
|
7
|
+
},
|
|
8
|
+
storeId:{
|
|
9
|
+
type:String,
|
|
10
|
+
required:true
|
|
11
|
+
},
|
|
12
|
+
tagName:{
|
|
13
|
+
type:String,
|
|
14
|
+
required:true
|
|
15
|
+
},
|
|
16
|
+
coordinates:{
|
|
17
|
+
type:Array,
|
|
18
|
+
},
|
|
19
|
+
cameraId:{
|
|
20
|
+
type:mongoose.Types.ObjectId,
|
|
21
|
+
},
|
|
22
|
+
streamName:{
|
|
23
|
+
type:String,
|
|
24
|
+
},
|
|
25
|
+
isDeleted:{
|
|
26
|
+
type:Boolean,
|
|
27
|
+
default:false
|
|
28
|
+
},
|
|
29
|
+
rgbColor: {
|
|
30
|
+
type:String,
|
|
31
|
+
},
|
|
32
|
+
rgbBorderColor: {
|
|
33
|
+
type:String,
|
|
34
|
+
},
|
|
35
|
+
},{
|
|
36
|
+
strict: true,
|
|
37
|
+
versionKey: false,
|
|
38
|
+
timestamps: true,
|
|
39
|
+
}
|
|
40
|
+
)
|
|
41
|
+
|
|
42
|
+
|
|
43
43
|
export default model("tagging", collection);
|