tango-api-schema 2.0.95 → 2.0.96

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tango-api-schema",
3
- "version": "2.0.95",
3
+ "version": "2.0.96",
4
4
  "description": "tangoEye model schema",
5
5
  "main": "index.js",
6
6
  "type": "module",
@@ -13,26 +13,37 @@ 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
35
  ticketDetails: {
36
+ dataMismatch: {
37
+ actualCount: {
38
+ type: Number
39
+ },
40
+ expectedCount: {
41
+ type: Number
42
+ },
43
+ contactEmail: {
44
+ type: String
45
+ }
46
+ },
36
47
  issueIdentifiedDate: {
37
48
  type: Date
38
49
  },
@@ -53,10 +64,10 @@ const tangoTickets = new mongoose.Schema(
53
64
  filesCount: {
54
65
  type: Number
55
66
  },
56
- installationStatus:{
67
+ installationStatus: {
57
68
  type: String,
58
69
  default: 'onboarded',
59
- enum: ['onboarded', 'paired','installationfailed','live']
70
+ enum: ['onboarded', 'paired', 'installationfailed', 'live']
60
71
  },
61
72
  issueStatus: {
62
73
  type: String,
@@ -137,11 +148,11 @@ const tangoTickets = new mongoose.Schema(
137
148
  type: String,
138
149
  trim: true,
139
150
  },
140
- address:{
151
+ address: {
141
152
  type: String,
142
153
  trim: true,
143
154
  },
144
- timezone:{
155
+ timezone: {
145
156
  type: String,
146
157
  }
147
158
  },