tango-api-schema 2.3.6 → 2.3.7

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
@@ -101,6 +101,9 @@ import planoRevisionModel from "./schema/planoRevision.model.js";
101
101
  import auditUserBaseSalaryModel from "./schema/auditUserBaseSalary.model.js";
102
102
  import revopDownloadModel from "./schema/revopDownload.model.js";
103
103
 
104
+ import runAIFeaturesModel from "./schema/runAIFeatures.js";
105
+ import runAIRequestModel from "./schema/runAIRequest.js";
106
+
104
107
 
105
108
  export default {
106
109
  leadModel,
@@ -203,5 +206,7 @@ export default {
203
206
  notification,
204
207
  planoRevisionModel,
205
208
  auditUserBaseSalaryModel,
206
- revopDownloadModel
209
+ revopDownloadModel,
210
+ runAIRequestModel,
211
+ runAIFeaturesModel,
207
212
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tango-api-schema",
3
- "version": "2.3.6",
3
+ "version": "2.3.7",
4
4
  "description": "tangoEye model schema",
5
5
  "main": "index.js",
6
6
  "type": "module",
@@ -0,0 +1,25 @@
1
+ import mongoose from 'mongoose';
2
+
3
+ const runAIFeatureSchema = new mongoose.Schema({
4
+ featureName: {
5
+ type: String
6
+ },
7
+ lableName: {
8
+ type: String
9
+ },
10
+ clientId: {
11
+ type: String
12
+ },
13
+ isdeleted: {
14
+ type: Boolean,
15
+ default: false
16
+ },
17
+ },
18
+ {
19
+ strict: true,
20
+ versionKey: false,
21
+ timestamps: true,
22
+ },
23
+ );
24
+
25
+ export default mongoose.model( 'runAIFeature', runAIFeatureSchema);
@@ -0,0 +1,45 @@
1
+ import mongoose from 'mongoose';
2
+
3
+ const runAIRequestSchema = new mongoose.Schema({
4
+ clientId: {
5
+ type: String
6
+ },
7
+ checkListId: {
8
+ type: String
9
+ },
10
+ checkListName: {
11
+ type: String
12
+ },
13
+ sectionNo: {
14
+ type: Number,
15
+ },
16
+ sectionName: {
17
+ type: String
18
+ },
19
+ qname: {
20
+ type: String
21
+ },
22
+ answerType: {
23
+ type: String
24
+ },
25
+ answer: {
26
+ type: String
27
+ },
28
+ runAI: {
29
+ type: String
30
+ },
31
+ runAIFeatures: {
32
+ type: Array,
33
+ },
34
+ createdBy: {
35
+ type: String
36
+ },
37
+ },
38
+ {
39
+ strict: true,
40
+ versionKey: false,
41
+ timestamps: true,
42
+ },
43
+ );
44
+
45
+ export default mongoose.model( 'runAIRequest', runAIRequestSchema);