tango-api-schema 2.0.144 → 2.0.146

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.144",
3
+ "version": "2.0.146",
4
4
  "description": "tangoEye model schema",
5
5
  "main": "index.js",
6
6
  "type": "module",
@@ -13,6 +13,13 @@ const assignAudit = new mongoose.Schema( {
13
13
  clientId: {
14
14
  type: String,
15
15
  },
16
+ moduleType:{
17
+ type:String,
18
+ enum:["taffic", "zone"]
19
+ },
20
+ zoneName: {
21
+ type:String
22
+ },
16
23
  auditType: {
17
24
  type: String,
18
25
  },
@@ -21,6 +21,10 @@ const auditClientData = new mongoose.Schema( {
21
21
  fileDateISO: {
22
22
  type: Date,
23
23
  },
24
+ moduleType: {
25
+ type: String,
26
+ enum:["taffic", "zone"]
27
+ },
24
28
  queueName: {
25
29
  type: String,
26
30
  trim:true
@@ -34,6 +38,16 @@ const auditClientData = new mongoose.Schema( {
34
38
  storeList:{
35
39
  type:Array
36
40
  },
41
+ zoneList:[
42
+ {
43
+ storeId:{
44
+ type:String
45
+ },
46
+ zoneName: {
47
+ type:String
48
+ }
49
+ }
50
+ ]
37
51
  },
38
52
  {
39
53
  timestamps: true,
@@ -13,6 +13,13 @@ const auditLogSchem = new mongoose.Schema( {
13
13
  storeId: {
14
14
  type: String,
15
15
  },
16
+ moduleType:{
17
+ type:String,
18
+ enum:["taffic", "zone"]
19
+ },
20
+ zoneName:{
21
+ type:String
22
+ },
16
23
  auditId: {
17
24
  type: String,
18
25
  },
@@ -228,6 +228,9 @@ const client = new mongoose.Schema(
228
228
  queueName: {
229
229
  type: String,
230
230
  },
231
+ zoneQueueName: {
232
+ type: String,
233
+ },
231
234
  },
232
235
  assignedUsers: {
233
236
  csm: {