tango-api-schema 2.2.127 → 2.2.128

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 (36) hide show
  1. package/index.js +185 -185
  2. package/package.json +25 -25
  3. package/schema/auditConfig.model.js +41 -41
  4. package/schema/binaryAudit.model.js +84 -84
  5. package/schema/camera.model.js +211 -211
  6. package/schema/checklistassignconfig.js +90 -90
  7. package/schema/checklistconfig.js +246 -246
  8. package/schema/checklistlog.js +113 -113
  9. package/schema/client.model.js +671 -671
  10. package/schema/countryCurrency.model.js +17 -17
  11. package/schema/download.js +124 -124
  12. package/schema/emailers.model.js +45 -45
  13. package/schema/fixtureConfig.model.js +72 -72
  14. package/schema/fixtureShelf.model.js +63 -63
  15. package/schema/liveConnection.model.js +54 -54
  16. package/schema/loginAttempt.js +26 -0
  17. package/schema/planoCrestLog.model.js +17 -17
  18. package/schema/planoMapping.model.js +56 -56
  19. package/schema/planoProductDetail.model.js +80 -80
  20. package/schema/planoQrConversionRequest.model.js +61 -61
  21. package/schema/planoStaticData.model.js +17 -17
  22. package/schema/planoTaskCompliance.model.js +50 -50
  23. package/schema/planogram.model.js +66 -66
  24. package/schema/processedchecklist.js +249 -249
  25. package/schema/processedchecklistconfig.js +173 -173
  26. package/schema/revopConfig.model.js +19 -19
  27. package/schema/store.model.js +371 -371
  28. package/schema/storeFixture.model.js +165 -165
  29. package/schema/storeLayout.model.js +66 -66
  30. package/schema/streaming.model.js +29 -29
  31. package/schema/suspiciousActivity.model.js +54 -54
  32. package/schema/taskAssign.model.js +87 -87
  33. package/schema/taskConfig.model.js +115 -115
  34. package/schema/taskProcessed.model.js +245 -245
  35. package/schema/taskProcessedConfig.model.js +128 -128
  36. package/schema/user.model.js +136 -136
package/index.js CHANGED
@@ -1,186 +1,186 @@
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
- import revopConfigModel from "./schema/revopConfig.model.js";
89
- import planoCrestLogModel from './schema/planoCrestLog.model.js';
90
- import countryCurrencyModel from './schema/countryCurrency.model.js';
91
- import streamingModel from './schema/streaming.model.js';
92
-
93
-
94
- export default {
95
- leadModel,
96
- otpModel,
97
- storeModel,
98
- countryCodesModel,
99
- clientModel,
100
- tangoTicketModel,
101
- ipLogModel,
102
- userModel,
103
- edgeAppVersionModel,
104
- applicationDefaultModel,
105
- cameraModel,
106
- reportModel,
107
- standaredRoleModel,
108
- infraReasonModel,
109
- groupModel,
110
- authenticationModel,
111
- userAssignedStoreModel,
112
- edgeappAuthModel,
113
- clientRequestModel,
114
- basePricingModel,
115
- invoiceModel,
116
- workstationModel,
117
- dailyPricingModel,
118
- fittingModel,
119
- qualityCheckModel,
120
- taggingModel,
121
- userAuditModel,
122
- storeAuditModel,
123
- assignAuditModel,
124
- auditStoreDataModel,
125
- matLogModel,
126
- billingModel,
127
- auditLogsModel,
128
- internalAuthModel,
129
- paymentAccountModel,
130
- externalParameterModel,
131
- transactionModel,
132
- dataMismatchDraftModel,
133
- traxAuditDataModel,
134
- binaryAuditModel,
135
- userEmpDetectionModel,
136
- storeEmpDetectionModel,
137
- lowcountReasonModel,
138
- auditUserWalletModel,
139
- mailOnlyuserModel,
140
- empDetectionOutputModel,
141
- auditUsersModel,
142
- clusterModel,
143
- teamsModel,
144
- checklistassignconfigModel,
145
- checklistconfigModel,
146
- checklistlogModel,
147
- checklistquestionconfigModel,
148
- processedchecklistModel,
149
- processedchecklistconfigModel,
150
- processeddetectionModel,
151
- domainModel,
152
- hotjarModel,
153
- downloadModel,
154
- aiTicketConfigModel,
155
- appVersionModel,
156
- lenskartEmployeeMappingModel,
157
- locusOrderModel,
158
- locusOrderUserModel,
159
- controleCenterTemplateListModel,
160
- liveConnectionSchemaModel,
161
- taskConfigModel,
162
- taskQuestionModel,
163
- taskAssignModel,
164
- taskProcessedModel,
165
- taskProcessedConfigModel,
166
- traxApproverModel,
167
- nobBillingModel,
168
- storeLayoutModel,
169
- planogramModel,
170
- emailersModel,
171
- planoMappingModel,
172
- planoProductModel,
173
- planoComplianceModel,
174
- storeFixtureModel,
175
- fixtureConfigModel,
176
- fixtureShelfModel,
177
- planoTaskCompliance,
178
- planoQrConversionRequest,
179
- planoStaticData,
180
- suspiciousActivityModel,
181
- auditConfigModel,
182
- revopConfigModel,
183
- planoCrestLogModel,
184
- countryCurrencyModel,
185
- streamingModel
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
+ import revopConfigModel from "./schema/revopConfig.model.js";
89
+ import planoCrestLogModel from './schema/planoCrestLog.model.js';
90
+ import countryCurrencyModel from './schema/countryCurrency.model.js';
91
+ import streamingModel from './schema/streaming.model.js';
92
+
93
+
94
+ export default {
95
+ leadModel,
96
+ otpModel,
97
+ storeModel,
98
+ countryCodesModel,
99
+ clientModel,
100
+ tangoTicketModel,
101
+ ipLogModel,
102
+ userModel,
103
+ edgeAppVersionModel,
104
+ applicationDefaultModel,
105
+ cameraModel,
106
+ reportModel,
107
+ standaredRoleModel,
108
+ infraReasonModel,
109
+ groupModel,
110
+ authenticationModel,
111
+ userAssignedStoreModel,
112
+ edgeappAuthModel,
113
+ clientRequestModel,
114
+ basePricingModel,
115
+ invoiceModel,
116
+ workstationModel,
117
+ dailyPricingModel,
118
+ fittingModel,
119
+ qualityCheckModel,
120
+ taggingModel,
121
+ userAuditModel,
122
+ storeAuditModel,
123
+ assignAuditModel,
124
+ auditStoreDataModel,
125
+ matLogModel,
126
+ billingModel,
127
+ auditLogsModel,
128
+ internalAuthModel,
129
+ paymentAccountModel,
130
+ externalParameterModel,
131
+ transactionModel,
132
+ dataMismatchDraftModel,
133
+ traxAuditDataModel,
134
+ binaryAuditModel,
135
+ userEmpDetectionModel,
136
+ storeEmpDetectionModel,
137
+ lowcountReasonModel,
138
+ auditUserWalletModel,
139
+ mailOnlyuserModel,
140
+ empDetectionOutputModel,
141
+ auditUsersModel,
142
+ clusterModel,
143
+ teamsModel,
144
+ checklistassignconfigModel,
145
+ checklistconfigModel,
146
+ checklistlogModel,
147
+ checklistquestionconfigModel,
148
+ processedchecklistModel,
149
+ processedchecklistconfigModel,
150
+ processeddetectionModel,
151
+ domainModel,
152
+ hotjarModel,
153
+ downloadModel,
154
+ aiTicketConfigModel,
155
+ appVersionModel,
156
+ lenskartEmployeeMappingModel,
157
+ locusOrderModel,
158
+ locusOrderUserModel,
159
+ controleCenterTemplateListModel,
160
+ liveConnectionSchemaModel,
161
+ taskConfigModel,
162
+ taskQuestionModel,
163
+ taskAssignModel,
164
+ taskProcessedModel,
165
+ taskProcessedConfigModel,
166
+ traxApproverModel,
167
+ nobBillingModel,
168
+ storeLayoutModel,
169
+ planogramModel,
170
+ emailersModel,
171
+ planoMappingModel,
172
+ planoProductModel,
173
+ planoComplianceModel,
174
+ storeFixtureModel,
175
+ fixtureConfigModel,
176
+ fixtureShelfModel,
177
+ planoTaskCompliance,
178
+ planoQrConversionRequest,
179
+ planoStaticData,
180
+ suspiciousActivityModel,
181
+ auditConfigModel,
182
+ revopConfigModel,
183
+ planoCrestLogModel,
184
+ countryCurrencyModel,
185
+ streamingModel
186
186
  };
package/package.json CHANGED
@@ -1,25 +1,25 @@
1
- {
2
- "name": "tango-api-schema",
3
- "version": "2.2.127",
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.128",
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,41 +1,41 @@
1
- /**
2
- * @name api_audit_config
3
- */
4
-
5
- // NPM Modules
6
- import mongoose from 'mongoose';
7
-
8
- // Schema
9
- const auditConfigSchema = new mongoose.Schema( {
10
-
11
- clientId:{
12
- type:String,
13
- required:true
14
- },
15
- AuditName:{
16
- type:String
17
- },
18
- keyWord:{
19
- type:String
20
- },
21
- fileType:{
22
- type:String,
23
- enum:["video",'image']
24
- },
25
- responseType:{
26
- type:String,
27
- },
28
- status:{
29
- type:String,
30
- enum:["active","inactive"]
31
- }
32
- },
33
- {
34
- timestamps: true,
35
- strict: true,
36
- versionKey: false,
37
- } );
38
-
39
- auditConfigSchema.index( { createdAt: 1 } );
40
- export default mongoose.model( 'auditConfig', auditConfigSchema, 'auditConfig' );
41
-
1
+ /**
2
+ * @name api_audit_config
3
+ */
4
+
5
+ // NPM Modules
6
+ import mongoose from 'mongoose';
7
+
8
+ // Schema
9
+ const auditConfigSchema = new mongoose.Schema( {
10
+
11
+ clientId:{
12
+ type:String,
13
+ required:true
14
+ },
15
+ AuditName:{
16
+ type:String
17
+ },
18
+ keyWord:{
19
+ type:String
20
+ },
21
+ fileType:{
22
+ type:String,
23
+ enum:["video",'image']
24
+ },
25
+ responseType:{
26
+ type:String,
27
+ },
28
+ status:{
29
+ type:String,
30
+ enum:["active","inactive"]
31
+ }
32
+ },
33
+ {
34
+ timestamps: true,
35
+ strict: true,
36
+ versionKey: false,
37
+ } );
38
+
39
+ auditConfigSchema.index( { createdAt: 1 } );
40
+ export default mongoose.model( 'auditConfig', auditConfigSchema, 'auditConfig' );
41
+