tango-api-schema 1.0.23 → 1.0.25

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": "1.0.23",
3
+ "version": "1.0.25",
4
4
  "description": "tangoEye model schema",
5
5
  "main": "index.js",
6
6
  "type": "module",
@@ -163,54 +163,44 @@ const clientSchema = new mongoose.Schema(
163
163
  },
164
164
  },
165
165
  ticketConfigs: {
166
-
167
166
  liveTickets: {
168
- // live needs to create for a day
169
167
  type: Boolean,
170
168
  default: false,
171
169
  },
172
-
173
- ticketPeriod: { //live ticket period in minutes
174
- type: Number,
175
- default: 120, // in minutes
176
- },
177
-
178
170
  infraTickets: {
179
171
  // infratickets needs to create for a day t-1
180
172
  type: Boolean,
181
173
  default: false,
182
174
  },
183
- // liveConfig: { // live one - Every 1 hour, three - every three hour
184
- // type: Number, // liveConfig is changed to ticketPeriod by praveen
185
- // default: 0,
186
- // },
187
- ticketReopen: {
188
- type: Number,
189
- default: 0,
190
- },
191
-
192
175
  infraLimit: {
193
- // Downtime limit for creating ticket
194
176
  type: Number,
195
177
  },
196
-
197
178
  autoGenerate: {
198
179
  // if its 2 day downtime is past two days reach the infralimit then will need to create ticket
199
180
  type: Number,
200
181
  default: 0,
201
182
  },
202
-
203
- // infraDowntime: {
204
- // type: Number,
205
- // default: 0,
206
- // }, //removed by praveen
207
-
208
- storeAddedStatus: {
209
- // if it is true after add a store against brand
210
- type: Boolean,
211
- default: false,
183
+ ticketPeriod: {
184
+ //live ticket period in minutes
185
+ type: Number,
186
+ default: 120, // in minutes
187
+ },
188
+ ReInstallation: {
189
+ type: Number,
190
+ default: 0,
191
+ },
192
+ liveConfig: {
193
+ // live one - Every 1 hour, three - every three hour
194
+ type: String,
195
+ default: 0,
196
+ },
197
+ ticketReopen: {
198
+ type: Number,
199
+ default: 0,
200
+ },
201
+ liveTicketTime: {
202
+ type: Date,
212
203
  },
213
-
214
204
  },
215
205
  },
216
206
  {
@@ -117,7 +117,7 @@ const collection = new mongoose.Schema(
117
117
  default: true,
118
118
  },
119
119
  ticketConfigs: {
120
- ticketpaused: {
120
+ hibernation: {
121
121
  type: Date,
122
122
  default: Date.now,
123
123
  },