tango-api-schema 2.0.109 → 2.0.111

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
@@ -28,6 +28,7 @@ import auditModel from "./schema/audit.model.js";
28
28
  import auditLogsModel from "./schema/auditLogs.model.js";
29
29
  import assignAuditModel from "./schema/assignAudit.model.js";
30
30
  import auditFilesCountModel from "./schema/auditFilesCount.model.js";
31
+ import matLogModel from "./schema/matLog.model.js";
31
32
 
32
33
  export default {
33
34
  leadModel,
@@ -59,5 +60,6 @@ export default {
59
60
  auditModel,
60
61
  assignAuditModel,
61
62
  auditLogsModel,
62
- auditFilesCountModel
63
+ auditFilesCountModel,
64
+ matLogModel
63
65
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tango-api-schema",
3
- "version": "2.0.109",
3
+ "version": "2.0.111",
4
4
  "description": "tangoEye model schema",
5
5
  "main": "index.js",
6
6
  "type": "module",
@@ -59,6 +59,10 @@ const lead = new mongoose.Schema(
59
59
  enum: [ 'pending', 'rejected', 'approved' ],
60
60
  default: 'pending',
61
61
  },
62
+ DeletedStatus:{
63
+ type:Boolean,
64
+ default:false
65
+ },
62
66
  },
63
67
  {
64
68
  strict: true,
@@ -0,0 +1,27 @@
1
+ import mongoose from "mongoose";
2
+
3
+ const matLogs = new mongoose.Schema(
4
+ {
5
+
6
+ storeId: {
7
+ type: String,
8
+ trim: true,
9
+ },
10
+ date: {
11
+ type: Date,
12
+ trim: true,
13
+ },
14
+ status: {
15
+ type: String,
16
+ trim: true,
17
+ },
18
+ clientId: {
19
+ type: String,
20
+ trim: true,
21
+ },
22
+
23
+ });
24
+
25
+
26
+ export default mongoose.model("matLogs", matLogs);
27
+
@@ -283,6 +283,14 @@ const store = new mongoose.Schema(
283
283
  product: {
284
284
  type: Array,
285
285
  },
286
+ matConfigs:{
287
+ status: {
288
+ type: String
289
+ },
290
+ fileCount:{
291
+ type: Number
292
+ }
293
+ }
286
294
  },
287
295
  {
288
296
  strict: true,
@@ -59,6 +59,10 @@ const tangoTickets = new mongoose.Schema(
59
59
  },
60
60
  successPercentage: {
61
61
  type: Number
62
+ },
63
+ showToClient:{
64
+ type: Boolean,
65
+ default: true
62
66
  }
63
67
  },
64
68
  ticketDetails: {