tango-api-schema 2.2.108 → 2.2.110

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 CHANGED
@@ -85,6 +85,8 @@ import planoQrConversionRequest from './schema/planoQrConversionRequest.model.js
85
85
  import planoStaticData from './schema/planoStaticData.model.js';
86
86
  import suspiciousActivityModel from "./schema/suspiciousActivity.model.js";
87
87
  import auditConfigModel from "./schema/auditConfig.model.js";
88
+ import revopConfigModel from "./schema/revopConfig.model.js";
89
+
88
90
 
89
91
 
90
92
  export default {
@@ -174,6 +176,7 @@ export default {
174
176
  planoQrConversionRequest,
175
177
  planoStaticData,
176
178
  suspiciousActivityModel,
177
- auditConfigModel
179
+ auditConfigModel,
180
+ revopConfigModel
178
181
 
179
182
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tango-api-schema",
3
- "version": "2.2.108",
3
+ "version": "2.2.110",
4
4
  "description": "tangoEye model schema",
5
5
  "main": "index.js",
6
6
  "type": "module",
@@ -223,7 +223,19 @@ const processedchecklistSchema = new mongoose.Schema({
223
223
  },
224
224
  deviceDetails: {
225
225
  type: Object
226
- }
226
+ },
227
+ approvalTime:{
228
+ type: Date,
229
+ },
230
+ approvalTime_string:{
231
+ type: String,
232
+ },
233
+ approvalByName:{
234
+ type: String,
235
+ },
236
+ approvalByEmail:{
237
+ type: String,
238
+ },
227
239
  },
228
240
  {
229
241
  strict: true,
@@ -0,0 +1,19 @@
1
+ import { Schema, model } from 'mongoose';
2
+
3
+
4
+ const revopconfigschema = new Schema( {
5
+ clientId: {
6
+ type: String,
7
+ },
8
+ issueList:{
9
+ type:Array,
10
+ default:[]
11
+ }
12
+ },
13
+ {
14
+ strict: true,
15
+ versionKey: false,
16
+ timestamps: true,
17
+ } );
18
+
19
+ export default model( 'revopconfig', revopconfigschema );
@@ -213,6 +213,25 @@ const processedTaskSchema = new mongoose.Schema(
213
213
  isPlano:{
214
214
  type:Boolean,
215
215
  },
216
+ rawVideoUpload: {
217
+ type: Boolean,
218
+ default:false
219
+ },
220
+ deviceDetails: {
221
+ type: Object
222
+ },
223
+ approvalTime:{
224
+ type: Date,
225
+ },
226
+ approvalTime_string:{
227
+ type: String,
228
+ },
229
+ approvalByName:{
230
+ type: String,
231
+ },
232
+ approvalByEmail:{
233
+ type: String,
234
+ },
216
235
  },
217
236
  {
218
237
  strict: true,