tango-api-schema 2.2.103 → 2.2.104

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.
Files changed (90) hide show
  1. package/index.js +178 -178
  2. package/package.json +25 -25
  3. package/schema/aiTicketConfig.js +42 -42
  4. package/schema/appVersion.js +36 -36
  5. package/schema/applicationDefault.model.js +24 -24
  6. package/schema/assignAudit.model.js +55 -55
  7. package/schema/auditConfig.model.js +41 -38
  8. package/schema/auditLogs.model.js +77 -77
  9. package/schema/auditStoreData.model.js +56 -56
  10. package/schema/auditUserWallet.model.js +98 -98
  11. package/schema/auditUsers.model.js +53 -53
  12. package/schema/authentication.model.js +27 -27
  13. package/schema/basePricing.model.js +28 -28
  14. package/schema/billing.model.js +99 -99
  15. package/schema/binaryAudit.model.js +84 -84
  16. package/schema/camera.model.js +204 -204
  17. package/schema/checklistassignconfig.js +90 -90
  18. package/schema/checklistconfig.js +246 -246
  19. package/schema/checklistlog.js +113 -113
  20. package/schema/checklistquestionconfig.js +150 -150
  21. package/schema/client.model.js +642 -642
  22. package/schema/clientRequest.model.js +38 -38
  23. package/schema/cluster.model.js +70 -70
  24. package/schema/controlCenterTemplateList.model.js +39 -39
  25. package/schema/countryCodes.model.js +26 -26
  26. package/schema/dailyPricing.model.js +86 -86
  27. package/schema/dataMismatchDraft.model.js +22 -22
  28. package/schema/domain.js +18 -18
  29. package/schema/download.js +124 -124
  30. package/schema/edgeAppVersion.model.js +33 -33
  31. package/schema/edgeappAuth.model.js +30 -30
  32. package/schema/emailers.model.js +45 -45
  33. package/schema/empDetectionOutput.model.js +67 -67
  34. package/schema/externalParameter.model.js +241 -241
  35. package/schema/eyetest.model.js +18 -18
  36. package/schema/fitting.model.js +52 -52
  37. package/schema/fixtureConfig.model.js +72 -72
  38. package/schema/fixtureShelf.model.js +63 -63
  39. package/schema/group.model.js +34 -34
  40. package/schema/hotjar.model.js +11 -11
  41. package/schema/infraReason.model.js +44 -44
  42. package/schema/internalAuth.model.js +35 -35
  43. package/schema/invoice.model.js +104 -104
  44. package/schema/ipLogs.model.js +37 -37
  45. package/schema/lead.model.js +76 -76
  46. package/schema/lenskartEmployeeMapping.model.js +63 -63
  47. package/schema/liveConnection.model.js +54 -54
  48. package/schema/locusOrder.model.js +154 -154
  49. package/schema/locusOrderUser.model.js +14 -14
  50. package/schema/lowcountReason.model.js +44 -44
  51. package/schema/mailOnlyuser.model.js +42 -42
  52. package/schema/matLog.model.js +26 -26
  53. package/schema/nobBilling.model.js +41 -41
  54. package/schema/otp.model.js +25 -25
  55. package/schema/paymentAccount.model.js +60 -60
  56. package/schema/planoCompliance.model.js +62 -62
  57. package/schema/planoMapping.model.js +56 -56
  58. package/schema/planoProductDetail.model.js +80 -80
  59. package/schema/planoQrConversionRequest.model.js +61 -61
  60. package/schema/planoStaticData.model.js +17 -17
  61. package/schema/planoTaskCompliance.model.js +41 -41
  62. package/schema/planogram.model.js +66 -66
  63. package/schema/processedchecklist.js +234 -234
  64. package/schema/processedchecklistconfig.js +173 -173
  65. package/schema/processeddetection.js +85 -85
  66. package/schema/quality.model.js +57 -57
  67. package/schema/report.model.js +30 -30
  68. package/schema/standaredRole.model.js +76 -76
  69. package/schema/store.model.js +367 -367
  70. package/schema/storeAudit.model.js +62 -62
  71. package/schema/storeEmpDetection.model.js +62 -62
  72. package/schema/storeFixture.model.js +165 -165
  73. package/schema/storeLayout.model.js +66 -66
  74. package/schema/suspiciousActivity.model.js +54 -54
  75. package/schema/tagging.model.js +42 -42
  76. package/schema/tangoTicket.model.js +210 -210
  77. package/schema/taskAssign.model.js +87 -87
  78. package/schema/taskConfig.model.js +115 -115
  79. package/schema/taskProcessed.model.js +220 -220
  80. package/schema/taskProcessedConfig.model.js +128 -128
  81. package/schema/taskQuestion.model.js +46 -46
  82. package/schema/teams.model.js +46 -46
  83. package/schema/transaction.model.js +54 -54
  84. package/schema/traxApprover.model.js +35 -35
  85. package/schema/traxAuditData.model.js +64 -64
  86. package/schema/user.model.js +132 -132
  87. package/schema/userAssignedStore.model.js +41 -41
  88. package/schema/userAudit.model.js +77 -77
  89. package/schema/userEmpDetection.model.js +83 -83
  90. package/schema/workstation.model.js +75 -75
package/index.js CHANGED
@@ -1,179 +1,179 @@
1
- import leadModel from "./schema/lead.model.js";
2
- import otpModel from "./schema/otp.model.js";
3
- import storeModel from "./schema/store.model.js";
4
- import countryCodesModel from "./schema/countryCodes.model.js";
5
- import clientModel from "./schema/client.model.js";
6
- import tangoTicketModel from "./schema/tangoTicket.model.js";
7
- import ipLogModel from "./schema/ipLogs.model.js";
8
- import userModel from "./schema/user.model.js";
9
- import edgeAppVersionModel from "./schema/edgeAppVersion.model.js";
10
- import applicationDefaultModel from "./schema/applicationDefault.model.js";
11
- import cameraModel from "./schema/camera.model.js";
12
- import reportModel from "./schema/report.model.js";
13
- import standaredRoleModel from "./schema/standaredRole.model.js";
14
- import infraReasonModel from "./schema/infraReason.model.js";
15
- import groupModel from "./schema/group.model.js";
16
- import authenticationModel from "./schema/authentication.model.js";
17
- import userAssignedStoreModel from "./schema/userAssignedStore.model.js";
18
- import edgeappAuthModel from "./schema/edgeappAuth.model.js";
19
- import clientRequestModel from "./schema/clientRequest.model.js";
20
- import basePricingModel from "./schema/basePricing.model.js";
21
- import invoiceModel from "./schema/invoice.model.js";
22
- import workstationModel from "./schema/workstation.model.js";
23
- import dailyPricingModel from "./schema/dailyPricing.model.js";
24
- import fittingModel from "./schema/fitting.model.js";
25
- import qualityCheckModel from "./schema/quality.model.js";
26
- import taggingModel from "./schema/tagging.model.js";
27
- import userAuditModel from "./schema/userAudit.model.js";
28
- import storeAuditModel from "./schema/storeAudit.model.js";
29
- import assignAuditModel from "./schema/assignAudit.model.js";
30
- import auditStoreDataModel from "./schema/auditStoreData.model.js";
31
- import matLogModel from "./schema/matLog.model.js";
32
- import billingModel from "./schema/billing.model.js";
33
- import auditLogsModel from "./schema/auditLogs.model.js";
34
- import internalAuthModel from "./schema/internalAuth.model.js";
35
- import paymentAccountModel from "./schema/paymentAccount.model.js";
36
- import externalParameterModel from "./schema/externalParameter.model.js";
37
- import transactionModel from "./schema/transaction.model.js";
38
- import dataMismatchDraftModel from "./schema/dataMismatchDraft.model.js";
39
- import traxAuditDataModel from "./schema/traxAuditData.model.js";
40
- import binaryAuditModel from "./schema/binaryAudit.model.js";
41
- import userEmpDetectionModel from "./schema/userEmpDetection.model.js";
42
- import storeEmpDetectionModel from "./schema/storeEmpDetection.model.js";
43
- import lowcountReasonModel from "./schema/lowcountReason.model.js";
44
- import auditUserWalletModel from "./schema/auditUserWallet.model.js";
45
- import mailOnlyuserModel from "./schema/mailOnlyuser.model.js";
46
- import empDetectionOutputModel from "./schema/empDetectionOutput.model.js";
47
- import auditUsersModel from "./schema/auditUsers.model.js";
48
- import clusterModel from "./schema/cluster.model.js";
49
- import teamsModel from "./schema/teams.model.js";
50
- import checklistassignconfigModel from "./schema/checklistassignconfig.js";
51
- import checklistconfigModel from "./schema/checklistconfig.js";
52
- import checklistlogModel from "./schema/checklistlog.js";
53
- import checklistquestionconfigModel from "./schema/checklistquestionconfig.js";
54
- import processedchecklistModel from "./schema/processedchecklist.js";
55
- import processedchecklistconfigModel from "./schema/processedchecklistconfig.js";
56
- import processeddetectionModel from "./schema/processeddetection.js";
57
- import domainModel from "./schema/domain.js";
58
- import hotjarModel from "./schema/hotjar.model.js";
59
- import downloadModel from "./schema/download.js";
60
- import aiTicketConfigModel from "./schema/aiTicketConfig.js";
61
- import appVersionModel from "./schema/appVersion.js";
62
- import lenskartEmployeeMappingModel from "./schema/lenskartEmployeeMapping.model.js";
63
- import locusOrderModel from "./schema/locusOrder.model.js";
64
- import locusOrderUserModel from "./schema/locusOrderUser.model.js";
65
- import controleCenterTemplateListModel from "./schema/controlCenterTemplateList.model.js";
66
- import liveConnectionSchemaModel from './schema/liveConnection.model.js';
67
- import taskConfigModel from './schema/taskConfig.model.js';
68
- import taskQuestionModel from './schema/taskQuestion.model.js';
69
- import taskAssignModel from './schema/taskAssign.model.js';
70
- import taskProcessedModel from './schema/taskProcessed.model.js';
71
- import taskProcessedConfigModel from './schema/taskProcessedConfig.model.js';
72
- import traxApproverModel from './schema/traxApprover.model.js';
73
- import nobBillingModel from "./schema/nobBilling.model.js";
74
- import storeLayoutModel from "./schema/storeLayout.model.js";
75
- import planogramModel from "./schema/planogram.model.js";
76
- import emailersModel from "./schema/emailers.model.js";
77
- import planoMappingModel from './schema/planoMapping.model.js';
78
- import planoProductModel from './schema/planoProductDetail.model.js';
79
- import planoComplianceModel from './schema/planoCompliance.model.js';
80
- import storeFixtureModel from './schema/storeFixture.model.js';
81
- import fixtureConfigModel from './schema/fixtureConfig.model.js';
82
- import fixtureShelfModel from './schema/fixtureShelf.model.js';
83
- import planoTaskCompliance from './schema/planoTaskCompliance.model.js';
84
- import planoQrConversionRequest from './schema/planoQrConversionRequest.model.js';
85
- import planoStaticData from './schema/planoStaticData.model.js';
86
- import suspiciousActivityModel from "./schema/suspiciousActivity.model.js";
87
- import auditConfigModel from "./schema/auditConfig.model.js";
88
-
89
-
90
- export default {
91
- leadModel,
92
- otpModel,
93
- storeModel,
94
- countryCodesModel,
95
- clientModel,
96
- tangoTicketModel,
97
- ipLogModel,
98
- userModel,
99
- edgeAppVersionModel,
100
- applicationDefaultModel,
101
- cameraModel,
102
- reportModel,
103
- standaredRoleModel,
104
- infraReasonModel,
105
- groupModel,
106
- authenticationModel,
107
- userAssignedStoreModel,
108
- edgeappAuthModel,
109
- clientRequestModel,
110
- basePricingModel,
111
- invoiceModel,
112
- workstationModel,
113
- dailyPricingModel,
114
- fittingModel,
115
- qualityCheckModel,
116
- taggingModel,
117
- userAuditModel,
118
- storeAuditModel,
119
- assignAuditModel,
120
- auditStoreDataModel,
121
- matLogModel,
122
- billingModel,
123
- auditLogsModel,
124
- internalAuthModel,
125
- paymentAccountModel,
126
- externalParameterModel,
127
- transactionModel,
128
- dataMismatchDraftModel,
129
- traxAuditDataModel,
130
- binaryAuditModel,
131
- userEmpDetectionModel,
132
- storeEmpDetectionModel,
133
- lowcountReasonModel,
134
- auditUserWalletModel,
135
- mailOnlyuserModel,
136
- empDetectionOutputModel,
137
- auditUsersModel,
138
- clusterModel,
139
- teamsModel,
140
- checklistassignconfigModel,
141
- checklistconfigModel,
142
- checklistlogModel,
143
- checklistquestionconfigModel,
144
- processedchecklistModel,
145
- processedchecklistconfigModel,
146
- processeddetectionModel,
147
- domainModel,
148
- hotjarModel,
149
- downloadModel,
150
- aiTicketConfigModel,
151
- appVersionModel,
152
- lenskartEmployeeMappingModel,
153
- locusOrderModel,
154
- locusOrderUserModel,
155
- controleCenterTemplateListModel,
156
- liveConnectionSchemaModel,
157
- taskConfigModel,
158
- taskQuestionModel,
159
- taskAssignModel,
160
- taskProcessedModel,
161
- taskProcessedConfigModel,
162
- traxApproverModel,
163
- nobBillingModel,
164
- storeLayoutModel,
165
- planogramModel,
166
- emailersModel,
167
- planoMappingModel,
168
- planoProductModel,
169
- planoComplianceModel,
170
- storeFixtureModel,
171
- fixtureConfigModel,
172
- fixtureShelfModel,
173
- planoTaskCompliance,
174
- planoQrConversionRequest,
175
- planoStaticData,
176
- suspiciousActivityModel,
177
- auditConfigModel
178
-
1
+ import leadModel from "./schema/lead.model.js";
2
+ import otpModel from "./schema/otp.model.js";
3
+ import storeModel from "./schema/store.model.js";
4
+ import countryCodesModel from "./schema/countryCodes.model.js";
5
+ import clientModel from "./schema/client.model.js";
6
+ import tangoTicketModel from "./schema/tangoTicket.model.js";
7
+ import ipLogModel from "./schema/ipLogs.model.js";
8
+ import userModel from "./schema/user.model.js";
9
+ import edgeAppVersionModel from "./schema/edgeAppVersion.model.js";
10
+ import applicationDefaultModel from "./schema/applicationDefault.model.js";
11
+ import cameraModel from "./schema/camera.model.js";
12
+ import reportModel from "./schema/report.model.js";
13
+ import standaredRoleModel from "./schema/standaredRole.model.js";
14
+ import infraReasonModel from "./schema/infraReason.model.js";
15
+ import groupModel from "./schema/group.model.js";
16
+ import authenticationModel from "./schema/authentication.model.js";
17
+ import userAssignedStoreModel from "./schema/userAssignedStore.model.js";
18
+ import edgeappAuthModel from "./schema/edgeappAuth.model.js";
19
+ import clientRequestModel from "./schema/clientRequest.model.js";
20
+ import basePricingModel from "./schema/basePricing.model.js";
21
+ import invoiceModel from "./schema/invoice.model.js";
22
+ import workstationModel from "./schema/workstation.model.js";
23
+ import dailyPricingModel from "./schema/dailyPricing.model.js";
24
+ import fittingModel from "./schema/fitting.model.js";
25
+ import qualityCheckModel from "./schema/quality.model.js";
26
+ import taggingModel from "./schema/tagging.model.js";
27
+ import userAuditModel from "./schema/userAudit.model.js";
28
+ import storeAuditModel from "./schema/storeAudit.model.js";
29
+ import assignAuditModel from "./schema/assignAudit.model.js";
30
+ import auditStoreDataModel from "./schema/auditStoreData.model.js";
31
+ import matLogModel from "./schema/matLog.model.js";
32
+ import billingModel from "./schema/billing.model.js";
33
+ import auditLogsModel from "./schema/auditLogs.model.js";
34
+ import internalAuthModel from "./schema/internalAuth.model.js";
35
+ import paymentAccountModel from "./schema/paymentAccount.model.js";
36
+ import externalParameterModel from "./schema/externalParameter.model.js";
37
+ import transactionModel from "./schema/transaction.model.js";
38
+ import dataMismatchDraftModel from "./schema/dataMismatchDraft.model.js";
39
+ import traxAuditDataModel from "./schema/traxAuditData.model.js";
40
+ import binaryAuditModel from "./schema/binaryAudit.model.js";
41
+ import userEmpDetectionModel from "./schema/userEmpDetection.model.js";
42
+ import storeEmpDetectionModel from "./schema/storeEmpDetection.model.js";
43
+ import lowcountReasonModel from "./schema/lowcountReason.model.js";
44
+ import auditUserWalletModel from "./schema/auditUserWallet.model.js";
45
+ import mailOnlyuserModel from "./schema/mailOnlyuser.model.js";
46
+ import empDetectionOutputModel from "./schema/empDetectionOutput.model.js";
47
+ import auditUsersModel from "./schema/auditUsers.model.js";
48
+ import clusterModel from "./schema/cluster.model.js";
49
+ import teamsModel from "./schema/teams.model.js";
50
+ import checklistassignconfigModel from "./schema/checklistassignconfig.js";
51
+ import checklistconfigModel from "./schema/checklistconfig.js";
52
+ import checklistlogModel from "./schema/checklistlog.js";
53
+ import checklistquestionconfigModel from "./schema/checklistquestionconfig.js";
54
+ import processedchecklistModel from "./schema/processedchecklist.js";
55
+ import processedchecklistconfigModel from "./schema/processedchecklistconfig.js";
56
+ import processeddetectionModel from "./schema/processeddetection.js";
57
+ import domainModel from "./schema/domain.js";
58
+ import hotjarModel from "./schema/hotjar.model.js";
59
+ import downloadModel from "./schema/download.js";
60
+ import aiTicketConfigModel from "./schema/aiTicketConfig.js";
61
+ import appVersionModel from "./schema/appVersion.js";
62
+ import lenskartEmployeeMappingModel from "./schema/lenskartEmployeeMapping.model.js";
63
+ import locusOrderModel from "./schema/locusOrder.model.js";
64
+ import locusOrderUserModel from "./schema/locusOrderUser.model.js";
65
+ import controleCenterTemplateListModel from "./schema/controlCenterTemplateList.model.js";
66
+ import liveConnectionSchemaModel from './schema/liveConnection.model.js';
67
+ import taskConfigModel from './schema/taskConfig.model.js';
68
+ import taskQuestionModel from './schema/taskQuestion.model.js';
69
+ import taskAssignModel from './schema/taskAssign.model.js';
70
+ import taskProcessedModel from './schema/taskProcessed.model.js';
71
+ import taskProcessedConfigModel from './schema/taskProcessedConfig.model.js';
72
+ import traxApproverModel from './schema/traxApprover.model.js';
73
+ import nobBillingModel from "./schema/nobBilling.model.js";
74
+ import storeLayoutModel from "./schema/storeLayout.model.js";
75
+ import planogramModel from "./schema/planogram.model.js";
76
+ import emailersModel from "./schema/emailers.model.js";
77
+ import planoMappingModel from './schema/planoMapping.model.js';
78
+ import planoProductModel from './schema/planoProductDetail.model.js';
79
+ import planoComplianceModel from './schema/planoCompliance.model.js';
80
+ import storeFixtureModel from './schema/storeFixture.model.js';
81
+ import fixtureConfigModel from './schema/fixtureConfig.model.js';
82
+ import fixtureShelfModel from './schema/fixtureShelf.model.js';
83
+ import planoTaskCompliance from './schema/planoTaskCompliance.model.js';
84
+ import planoQrConversionRequest from './schema/planoQrConversionRequest.model.js';
85
+ import planoStaticData from './schema/planoStaticData.model.js';
86
+ import suspiciousActivityModel from "./schema/suspiciousActivity.model.js";
87
+ import auditConfigModel from "./schema/auditConfig.model.js";
88
+
89
+
90
+ export default {
91
+ leadModel,
92
+ otpModel,
93
+ storeModel,
94
+ countryCodesModel,
95
+ clientModel,
96
+ tangoTicketModel,
97
+ ipLogModel,
98
+ userModel,
99
+ edgeAppVersionModel,
100
+ applicationDefaultModel,
101
+ cameraModel,
102
+ reportModel,
103
+ standaredRoleModel,
104
+ infraReasonModel,
105
+ groupModel,
106
+ authenticationModel,
107
+ userAssignedStoreModel,
108
+ edgeappAuthModel,
109
+ clientRequestModel,
110
+ basePricingModel,
111
+ invoiceModel,
112
+ workstationModel,
113
+ dailyPricingModel,
114
+ fittingModel,
115
+ qualityCheckModel,
116
+ taggingModel,
117
+ userAuditModel,
118
+ storeAuditModel,
119
+ assignAuditModel,
120
+ auditStoreDataModel,
121
+ matLogModel,
122
+ billingModel,
123
+ auditLogsModel,
124
+ internalAuthModel,
125
+ paymentAccountModel,
126
+ externalParameterModel,
127
+ transactionModel,
128
+ dataMismatchDraftModel,
129
+ traxAuditDataModel,
130
+ binaryAuditModel,
131
+ userEmpDetectionModel,
132
+ storeEmpDetectionModel,
133
+ lowcountReasonModel,
134
+ auditUserWalletModel,
135
+ mailOnlyuserModel,
136
+ empDetectionOutputModel,
137
+ auditUsersModel,
138
+ clusterModel,
139
+ teamsModel,
140
+ checklistassignconfigModel,
141
+ checklistconfigModel,
142
+ checklistlogModel,
143
+ checklistquestionconfigModel,
144
+ processedchecklistModel,
145
+ processedchecklistconfigModel,
146
+ processeddetectionModel,
147
+ domainModel,
148
+ hotjarModel,
149
+ downloadModel,
150
+ aiTicketConfigModel,
151
+ appVersionModel,
152
+ lenskartEmployeeMappingModel,
153
+ locusOrderModel,
154
+ locusOrderUserModel,
155
+ controleCenterTemplateListModel,
156
+ liveConnectionSchemaModel,
157
+ taskConfigModel,
158
+ taskQuestionModel,
159
+ taskAssignModel,
160
+ taskProcessedModel,
161
+ taskProcessedConfigModel,
162
+ traxApproverModel,
163
+ nobBillingModel,
164
+ storeLayoutModel,
165
+ planogramModel,
166
+ emailersModel,
167
+ planoMappingModel,
168
+ planoProductModel,
169
+ planoComplianceModel,
170
+ storeFixtureModel,
171
+ fixtureConfigModel,
172
+ fixtureShelfModel,
173
+ planoTaskCompliance,
174
+ planoQrConversionRequest,
175
+ planoStaticData,
176
+ suspiciousActivityModel,
177
+ auditConfigModel
178
+
179
179
  };
package/package.json CHANGED
@@ -1,25 +1,25 @@
1
- {
2
- "name": "tango-api-schema",
3
- "version": "2.2.103",
4
- "description": "tangoEye model schema",
5
- "main": "index.js",
6
- "type": "module",
7
- "scripts": {
8
- "test": "echo \"Error: no test specified\" && exit 1",
9
- "start": "node index.js"
10
- },
11
- "repository": {
12
- "type": "git",
13
- "url": "git+https://praveen22raj@bitbucket.org/tangoeye-retail/tango-api-schema.git"
14
- },
15
- "author": "praveenraj",
16
- "license": "ISC",
17
- "bugs": {
18
- "url": "https://bitbucket.org/tangoeye-retail/tango-api-schema/issues"
19
- },
20
- "homepage": "https://bitbucket.org/tangoeye-retail/tango-api-schema#readme",
21
- "dependencies": {
22
- "express": "^4.21.1",
23
- "mongoose": "^7.5.3"
24
- }
25
- }
1
+ {
2
+ "name": "tango-api-schema",
3
+ "version": "2.2.104",
4
+ "description": "tangoEye model schema",
5
+ "main": "index.js",
6
+ "type": "module",
7
+ "scripts": {
8
+ "test": "echo \"Error: no test specified\" && exit 1",
9
+ "start": "node index.js"
10
+ },
11
+ "repository": {
12
+ "type": "git",
13
+ "url": "git+https://praveen22raj@bitbucket.org/tangoeye-retail/tango-api-schema.git"
14
+ },
15
+ "author": "praveenraj",
16
+ "license": "ISC",
17
+ "bugs": {
18
+ "url": "https://bitbucket.org/tangoeye-retail/tango-api-schema/issues"
19
+ },
20
+ "homepage": "https://bitbucket.org/tangoeye-retail/tango-api-schema#readme",
21
+ "dependencies": {
22
+ "express": "^4.21.1",
23
+ "mongoose": "^7.5.3"
24
+ }
25
+ }
@@ -1,43 +1,43 @@
1
- import mongoose from 'mongoose';
2
-
3
- const aiTicketConfigSchema = new mongoose.Schema({
4
- client_id: {
5
- type: String
6
- },
7
- reason: {
8
- type: String
9
- },
10
- from_email: {
11
- type: String
12
- },
13
- to_email: {
14
- type: String
15
- },
16
- description: {
17
- type: String
18
- },
19
- checklistName: {
20
- type: String
21
- },
22
- questionName: {
23
- type: String
24
- },
25
- answerType: {
26
- type: String
27
- },
28
- imageURL: {
29
- type: String
30
- },
31
- requested_date: {
32
- type: Date,
33
- default: Date.now
34
- }
35
- },
36
- {
37
- strict: true,
38
- versionKey: false,
39
- timestamps: true,
40
- },
41
- );
42
-
1
+ import mongoose from 'mongoose';
2
+
3
+ const aiTicketConfigSchema = new mongoose.Schema({
4
+ client_id: {
5
+ type: String
6
+ },
7
+ reason: {
8
+ type: String
9
+ },
10
+ from_email: {
11
+ type: String
12
+ },
13
+ to_email: {
14
+ type: String
15
+ },
16
+ description: {
17
+ type: String
18
+ },
19
+ checklistName: {
20
+ type: String
21
+ },
22
+ questionName: {
23
+ type: String
24
+ },
25
+ answerType: {
26
+ type: String
27
+ },
28
+ imageURL: {
29
+ type: String
30
+ },
31
+ requested_date: {
32
+ type: Date,
33
+ default: Date.now
34
+ }
35
+ },
36
+ {
37
+ strict: true,
38
+ versionKey: false,
39
+ timestamps: true,
40
+ },
41
+ );
42
+
43
43
  export default mongoose.model( 'aiTicketConfig', aiTicketConfigSchema);
@@ -1,37 +1,37 @@
1
- import mongoose from 'mongoose';
2
-
3
- const appVersionSchema = new mongoose.Schema({
4
- appName:{
5
- type: String,
6
- enum: ['android', 'ios'],
7
- default: "android"
8
- },
9
- appVersion:{
10
- type: String,
11
- default: ""
12
- },
13
- appVersionNo:{
14
- type: Number,
15
- default: 0
16
- },
17
- forceUpdate:{
18
- type: Boolean,
19
- default: false
20
- },
21
- createdAt: {
22
- type: Date,
23
- default: Date.now
24
- },
25
- updatedAt: {
26
- type: Date,
27
- default: Date.now
28
- },
29
- },
30
- {
31
- strict: true,
32
- versionKey: false,
33
- timestamps: true,
34
- },
35
- );
36
-
1
+ import mongoose from 'mongoose';
2
+
3
+ const appVersionSchema = new mongoose.Schema({
4
+ appName:{
5
+ type: String,
6
+ enum: ['android', 'ios'],
7
+ default: "android"
8
+ },
9
+ appVersion:{
10
+ type: String,
11
+ default: ""
12
+ },
13
+ appVersionNo:{
14
+ type: Number,
15
+ default: 0
16
+ },
17
+ forceUpdate:{
18
+ type: Boolean,
19
+ default: false
20
+ },
21
+ createdAt: {
22
+ type: Date,
23
+ default: Date.now
24
+ },
25
+ updatedAt: {
26
+ type: Date,
27
+ default: Date.now
28
+ },
29
+ },
30
+ {
31
+ strict: true,
32
+ versionKey: false,
33
+ timestamps: true,
34
+ },
35
+ );
36
+
37
37
  export default mongoose.model( 'appVersion', appVersionSchema);
@@ -1,24 +1,24 @@
1
- import { Schema, model } from 'mongoose';
2
-
3
- const collection = new Schema(
4
- {
5
- type: {
6
- type: String,
7
- },
8
- subType: {
9
- type: String,
10
- },
11
- data: {
12
- type: Object,
13
- },
14
- active: {
15
- type: Boolean,
16
- },
17
- },
18
- {
19
- timestamps: true,
20
- strict: true,
21
- versionKey: false,
22
- } );
23
-
24
- export default model( 'applicationDefault', collection, 'applicationDefault' );
1
+ import { Schema, model } from 'mongoose';
2
+
3
+ const collection = new Schema(
4
+ {
5
+ type: {
6
+ type: String,
7
+ },
8
+ subType: {
9
+ type: String,
10
+ },
11
+ data: {
12
+ type: Object,
13
+ },
14
+ active: {
15
+ type: Boolean,
16
+ },
17
+ },
18
+ {
19
+ timestamps: true,
20
+ strict: true,
21
+ versionKey: false,
22
+ } );
23
+
24
+ export default model( 'applicationDefault', collection, 'applicationDefault' );