tango-api-schema 2.0.95 → 2.0.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/package.json +1 -1
- package/schema/tangoTicket.model.js +28 -8
package/package.json
CHANGED
|
@@ -13,25 +13,45 @@ const tangoTickets = new mongoose.Schema(
|
|
|
13
13
|
},
|
|
14
14
|
issueType: {
|
|
15
15
|
type: String,
|
|
16
|
-
enum: ['infra','mat', 'highcount', 'lowcount', 'installation']
|
|
16
|
+
enum: ['infra', 'mat', 'highcount', 'lowcount', 'installation']
|
|
17
17
|
},
|
|
18
18
|
hibernation: {
|
|
19
19
|
type: Date
|
|
20
20
|
},
|
|
21
21
|
attachments: [
|
|
22
22
|
{
|
|
23
|
-
fileName:{
|
|
23
|
+
fileName: {
|
|
24
24
|
type: String
|
|
25
25
|
},
|
|
26
26
|
filePath: {
|
|
27
27
|
type: String
|
|
28
28
|
},
|
|
29
|
-
signedUrl:{
|
|
29
|
+
signedUrl: {
|
|
30
30
|
type: String
|
|
31
31
|
}
|
|
32
32
|
}
|
|
33
33
|
],
|
|
34
|
-
cameraList:[],
|
|
34
|
+
cameraList: [],
|
|
35
|
+
dataMismatch: {
|
|
36
|
+
actualCount: {
|
|
37
|
+
type: Number
|
|
38
|
+
},
|
|
39
|
+
expectedCount: {
|
|
40
|
+
type: Number
|
|
41
|
+
},
|
|
42
|
+
contactEmail: {
|
|
43
|
+
type: String
|
|
44
|
+
},
|
|
45
|
+
description: {
|
|
46
|
+
type: String
|
|
47
|
+
},
|
|
48
|
+
feature: {
|
|
49
|
+
type: String
|
|
50
|
+
},
|
|
51
|
+
attachmentPath: {
|
|
52
|
+
type: String
|
|
53
|
+
},
|
|
54
|
+
},
|
|
35
55
|
ticketDetails: {
|
|
36
56
|
issueIdentifiedDate: {
|
|
37
57
|
type: Date
|
|
@@ -53,10 +73,10 @@ const tangoTickets = new mongoose.Schema(
|
|
|
53
73
|
filesCount: {
|
|
54
74
|
type: Number
|
|
55
75
|
},
|
|
56
|
-
installationStatus:{
|
|
76
|
+
installationStatus: {
|
|
57
77
|
type: String,
|
|
58
78
|
default: 'onboarded',
|
|
59
|
-
enum: ['onboarded', 'paired','installationfailed','live']
|
|
79
|
+
enum: ['onboarded', 'paired', 'installationfailed', 'live']
|
|
60
80
|
},
|
|
61
81
|
issueStatus: {
|
|
62
82
|
type: String,
|
|
@@ -137,11 +157,11 @@ const tangoTickets = new mongoose.Schema(
|
|
|
137
157
|
type: String,
|
|
138
158
|
trim: true,
|
|
139
159
|
},
|
|
140
|
-
address:{
|
|
160
|
+
address: {
|
|
141
161
|
type: String,
|
|
142
162
|
trim: true,
|
|
143
163
|
},
|
|
144
|
-
timezone:{
|
|
164
|
+
timezone: {
|
|
145
165
|
type: String,
|
|
146
166
|
}
|
|
147
167
|
},
|