tango-api-schema 2.3.15 → 2.3.17

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 (54) hide show
  1. package/build.js +24 -24
  2. package/index.js +215 -213
  3. package/package.json +27 -27
  4. package/schema/appVersion.js +39 -39
  5. package/schema/auditConfig.model.js +41 -41
  6. package/schema/auditUserBaseSalary.model.js +46 -46
  7. package/schema/binaryAudit.model.js +84 -84
  8. package/schema/camera.model.js +211 -211
  9. package/schema/checklistassignconfig.js +90 -90
  10. package/schema/checklistconfig.js +295 -295
  11. package/schema/checklistlog.js +113 -113
  12. package/schema/checklistquestionconfig.js +153 -153
  13. package/schema/client.model.js +687 -687
  14. package/schema/countryCurrency.model.js +17 -17
  15. package/schema/dailyPricing.model.js +89 -89
  16. package/schema/download.js +124 -124
  17. package/schema/emailers.model.js +45 -45
  18. package/schema/externalParameter.model.js +273 -273
  19. package/schema/eyeTestConfiguration.model.js +39 -0
  20. package/schema/fixtureConfig.model.js +223 -223
  21. package/schema/fixtureLibrary.model.js +167 -167
  22. package/schema/fixtureShelf.model.js +78 -78
  23. package/schema/liveConnection.model.js +54 -54
  24. package/schema/loginAttempt.model.js +31 -31
  25. package/schema/notification.model.js +45 -45
  26. package/schema/planoCrestLog.model.js +17 -17
  27. package/schema/planoGlobalComment.model.js +45 -45
  28. package/schema/planoMapping.model.js +62 -62
  29. package/schema/planoProductCategoryDetails.model.js +25 -25
  30. package/schema/planoProductDetail.model.js +63 -63
  31. package/schema/planoQrConversionRequest.model.js +61 -61
  32. package/schema/planoRevision.model.js +36 -36
  33. package/schema/planoStaticData.model.js +17 -17
  34. package/schema/planoTaskCompliance.model.js +397 -397
  35. package/schema/planoVmDetail.model.js +63 -63
  36. package/schema/planogram.model.js +66 -66
  37. package/schema/processedchecklist.js +256 -256
  38. package/schema/processedchecklistconfig.js +226 -226
  39. package/schema/revopConfig.model.js +19 -19
  40. package/schema/revopDownload.model.js +49 -49
  41. package/schema/runAIFeatures.js +24 -24
  42. package/schema/runAIRequest.js +53 -53
  43. package/schema/store.model.js +405 -405
  44. package/schema/storeFixture.model.js +228 -228
  45. package/schema/storeLayout.model.js +74 -74
  46. package/schema/streaming.model.js +29 -29
  47. package/schema/suspiciousActivity.model.js +54 -54
  48. package/schema/taskAssign.model.js +90 -90
  49. package/schema/taskConfig.model.js +121 -121
  50. package/schema/taskProcessed.model.js +257 -257
  51. package/schema/taskProcessedConfig.model.js +134 -134
  52. package/schema/templateLog.model.js +17 -17
  53. package/schema/user.model.js +139 -139
  54. package/schema/vmType.model.js +23 -23
package/build.js CHANGED
@@ -1,24 +1,24 @@
1
- // build.js
2
- import fs from 'fs';
3
-
4
- const type = process.argv[2] || 'patch'; // default to patch
5
- const file = 'package.json';
6
-
7
- // Read and parse package.json
8
- const pkg = JSON.parse(fs.readFileSync(file, 'utf8'));
9
-
10
- // Force "main" to be "index.js"
11
- pkg.main = 'index.js';
12
-
13
- // Bump version
14
- const [major, minor, patch] = pkg.version.split('.').map(Number);
15
-
16
- if (type === 'patch') pkg.version = `${major}.${minor}.${patch + 1}`;
17
- else if (type === 'minor') pkg.version = `${major}.${minor + 1}.0`;
18
- else if (type === 'major') pkg.version = `${major + 1}.0.0`;
19
- else throw new Error('Invalid version type. Use patch, minor, or major.');
20
-
21
- // Write back to package.json
22
- fs.writeFileSync(file, JSON.stringify(pkg, null, 2));
23
-
24
- console.log(`🔧 Updated version to ${pkg.version} and set "main": "index.js"`);
1
+ // build.js
2
+ import fs from 'fs';
3
+
4
+ const type = process.argv[2] || 'patch'; // default to patch
5
+ const file = 'package.json';
6
+
7
+ // Read and parse package.json
8
+ const pkg = JSON.parse(fs.readFileSync(file, 'utf8'));
9
+
10
+ // Force "main" to be "index.js"
11
+ pkg.main = 'index.js';
12
+
13
+ // Bump version
14
+ const [major, minor, patch] = pkg.version.split('.').map(Number);
15
+
16
+ if (type === 'patch') pkg.version = `${major}.${minor}.${patch + 1}`;
17
+ else if (type === 'minor') pkg.version = `${major}.${minor + 1}.0`;
18
+ else if (type === 'major') pkg.version = `${major + 1}.0.0`;
19
+ else throw new Error('Invalid version type. Use patch, minor, or major.');
20
+
21
+ // Write back to package.json
22
+ fs.writeFileSync(file, JSON.stringify(pkg, null, 2));
23
+
24
+ console.log(`🔧 Updated version to ${pkg.version} and set "main": "index.js"`);
package/index.js CHANGED
@@ -1,214 +1,216 @@
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 planoVmModel from './schema/planoVmDetail.model.js';
80
- import planoComplianceModel from './schema/planoCompliance.model.js';
81
- import storeFixtureModel from './schema/storeFixture.model.js';
82
- import fixtureConfigModel from './schema/fixtureConfig.model.js';
83
- import fixtureShelfModel from './schema/fixtureShelf.model.js';
84
- import planoTaskCompliance from './schema/planoTaskCompliance.model.js';
85
- import planoGlobalComment from './schema/planoGlobalComment.model.js';
86
- import planoQrConversionRequest from './schema/planoQrConversionRequest.model.js';
87
- import planoStaticData from './schema/planoStaticData.model.js';
88
- import suspiciousActivityModel from "./schema/suspiciousActivity.model.js";
89
- import auditConfigModel from "./schema/auditConfig.model.js";
90
- import revopConfigModel from "./schema/revopConfig.model.js";
91
- import planoCrestLogModel from './schema/planoCrestLog.model.js';
92
- import countryCurrencyModel from './schema/countryCurrency.model.js';
93
- import fixtureLibraryModel from './schema/fixtureLibrary.model.js';
94
- import vmTypeModel from "./schema/vmType.model.js";
95
- import planoProductCategoryModel from './schema/planoProductCategoryDetails.model.js'
96
- import streamingModel from './schema/streaming.model.js';
97
- import loginAttempt from "./schema/loginAttempt.model.js";
98
- import notification from "./schema/notification.model.js";
99
- import planoRevisionModel from "./schema/planoRevision.model.js";
100
-
101
- import auditUserBaseSalaryModel from "./schema/auditUserBaseSalary.model.js";
102
- import revopDownloadModel from "./schema/revopDownload.model.js";
103
-
104
- import runAIFeaturesModel from "./schema/runAIFeatures.js";
105
- import runAIRequestModel from "./schema/runAIRequest.js";
106
- import templateLogSchema from "./schema/templateLog.model.js";
107
-
108
-
109
- export default {
110
- leadModel,
111
- otpModel,
112
- storeModel,
113
- countryCodesModel,
114
- clientModel,
115
- tangoTicketModel,
116
- ipLogModel,
117
- userModel,
118
- edgeAppVersionModel,
119
- applicationDefaultModel,
120
- cameraModel,
121
- reportModel,
122
- standaredRoleModel,
123
- infraReasonModel,
124
- groupModel,
125
- authenticationModel,
126
- userAssignedStoreModel,
127
- edgeappAuthModel,
128
- clientRequestModel,
129
- basePricingModel,
130
- invoiceModel,
131
- workstationModel,
132
- dailyPricingModel,
133
- fittingModel,
134
- qualityCheckModel,
135
- taggingModel,
136
- userAuditModel,
137
- storeAuditModel,
138
- assignAuditModel,
139
- auditStoreDataModel,
140
- matLogModel,
141
- billingModel,
142
- auditLogsModel,
143
- internalAuthModel,
144
- paymentAccountModel,
145
- externalParameterModel,
146
- transactionModel,
147
- dataMismatchDraftModel,
148
- traxAuditDataModel,
149
- binaryAuditModel,
150
- userEmpDetectionModel,
151
- storeEmpDetectionModel,
152
- lowcountReasonModel,
153
- auditUserWalletModel,
154
- mailOnlyuserModel,
155
- empDetectionOutputModel,
156
- auditUsersModel,
157
- clusterModel,
158
- teamsModel,
159
- checklistassignconfigModel,
160
- checklistconfigModel,
161
- checklistlogModel,
162
- checklistquestionconfigModel,
163
- processedchecklistModel,
164
- processedchecklistconfigModel,
165
- processeddetectionModel,
166
- domainModel,
167
- hotjarModel,
168
- downloadModel,
169
- aiTicketConfigModel,
170
- appVersionModel,
171
- lenskartEmployeeMappingModel,
172
- locusOrderModel,
173
- locusOrderUserModel,
174
- controleCenterTemplateListModel,
175
- liveConnectionSchemaModel,
176
- taskConfigModel,
177
- taskQuestionModel,
178
- taskAssignModel,
179
- taskProcessedModel,
180
- taskProcessedConfigModel,
181
- traxApproverModel,
182
- nobBillingModel,
183
- storeLayoutModel,
184
- planogramModel,
185
- emailersModel,
186
- planoMappingModel,
187
- planoProductModel,
188
- planoComplianceModel,
189
- storeFixtureModel,
190
- fixtureConfigModel,
191
- fixtureShelfModel,
192
- planoGlobalComment,
193
- planoTaskCompliance,
194
- planoQrConversionRequest,
195
- planoStaticData,
196
- suspiciousActivityModel,
197
- auditConfigModel,
198
- revopConfigModel,
199
- planoCrestLogModel,
200
- countryCurrencyModel,
201
- fixtureLibraryModel,
202
- planoVmModel,
203
- vmTypeModel,
204
- planoProductCategoryModel,
205
- streamingModel,
206
- loginAttempt,
207
- notification,
208
- planoRevisionModel,
209
- auditUserBaseSalaryModel,
210
- revopDownloadModel,
211
- runAIRequestModel,
212
- runAIFeaturesModel,
213
- templateLogSchema
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 planoVmModel from './schema/planoVmDetail.model.js';
80
+ import planoComplianceModel from './schema/planoCompliance.model.js';
81
+ import storeFixtureModel from './schema/storeFixture.model.js';
82
+ import fixtureConfigModel from './schema/fixtureConfig.model.js';
83
+ import fixtureShelfModel from './schema/fixtureShelf.model.js';
84
+ import planoTaskCompliance from './schema/planoTaskCompliance.model.js';
85
+ import planoGlobalComment from './schema/planoGlobalComment.model.js';
86
+ import planoQrConversionRequest from './schema/planoQrConversionRequest.model.js';
87
+ import planoStaticData from './schema/planoStaticData.model.js';
88
+ import suspiciousActivityModel from "./schema/suspiciousActivity.model.js";
89
+ import auditConfigModel from "./schema/auditConfig.model.js";
90
+ import revopConfigModel from "./schema/revopConfig.model.js";
91
+ import planoCrestLogModel from './schema/planoCrestLog.model.js';
92
+ import countryCurrencyModel from './schema/countryCurrency.model.js';
93
+ import fixtureLibraryModel from './schema/fixtureLibrary.model.js';
94
+ import vmTypeModel from "./schema/vmType.model.js";
95
+ import planoProductCategoryModel from './schema/planoProductCategoryDetails.model.js'
96
+ import streamingModel from './schema/streaming.model.js';
97
+ import loginAttempt from "./schema/loginAttempt.model.js";
98
+ import notification from "./schema/notification.model.js";
99
+ import planoRevisionModel from "./schema/planoRevision.model.js";
100
+
101
+ import auditUserBaseSalaryModel from "./schema/auditUserBaseSalary.model.js";
102
+ import revopDownloadModel from "./schema/revopDownload.model.js";
103
+
104
+ import runAIFeaturesModel from "./schema/runAIFeatures.js";
105
+ import runAIRequestModel from "./schema/runAIRequest.js";
106
+ import templateLogSchema from "./schema/templateLog.model.js";
107
+ import eyeTestConfigurationModel from "./schema/eyeTestConfiguration.model.js";
108
+
109
+
110
+ export default {
111
+ leadModel,
112
+ otpModel,
113
+ storeModel,
114
+ countryCodesModel,
115
+ clientModel,
116
+ tangoTicketModel,
117
+ ipLogModel,
118
+ userModel,
119
+ edgeAppVersionModel,
120
+ applicationDefaultModel,
121
+ cameraModel,
122
+ reportModel,
123
+ standaredRoleModel,
124
+ infraReasonModel,
125
+ groupModel,
126
+ authenticationModel,
127
+ userAssignedStoreModel,
128
+ edgeappAuthModel,
129
+ clientRequestModel,
130
+ basePricingModel,
131
+ invoiceModel,
132
+ workstationModel,
133
+ dailyPricingModel,
134
+ fittingModel,
135
+ qualityCheckModel,
136
+ taggingModel,
137
+ userAuditModel,
138
+ storeAuditModel,
139
+ assignAuditModel,
140
+ auditStoreDataModel,
141
+ matLogModel,
142
+ billingModel,
143
+ auditLogsModel,
144
+ internalAuthModel,
145
+ paymentAccountModel,
146
+ externalParameterModel,
147
+ transactionModel,
148
+ dataMismatchDraftModel,
149
+ traxAuditDataModel,
150
+ binaryAuditModel,
151
+ userEmpDetectionModel,
152
+ storeEmpDetectionModel,
153
+ lowcountReasonModel,
154
+ auditUserWalletModel,
155
+ mailOnlyuserModel,
156
+ empDetectionOutputModel,
157
+ auditUsersModel,
158
+ clusterModel,
159
+ teamsModel,
160
+ checklistassignconfigModel,
161
+ checklistconfigModel,
162
+ checklistlogModel,
163
+ checklistquestionconfigModel,
164
+ processedchecklistModel,
165
+ processedchecklistconfigModel,
166
+ processeddetectionModel,
167
+ domainModel,
168
+ hotjarModel,
169
+ downloadModel,
170
+ aiTicketConfigModel,
171
+ appVersionModel,
172
+ lenskartEmployeeMappingModel,
173
+ locusOrderModel,
174
+ locusOrderUserModel,
175
+ controleCenterTemplateListModel,
176
+ liveConnectionSchemaModel,
177
+ taskConfigModel,
178
+ taskQuestionModel,
179
+ taskAssignModel,
180
+ taskProcessedModel,
181
+ taskProcessedConfigModel,
182
+ traxApproverModel,
183
+ nobBillingModel,
184
+ storeLayoutModel,
185
+ planogramModel,
186
+ emailersModel,
187
+ planoMappingModel,
188
+ planoProductModel,
189
+ planoComplianceModel,
190
+ storeFixtureModel,
191
+ fixtureConfigModel,
192
+ fixtureShelfModel,
193
+ planoGlobalComment,
194
+ planoTaskCompliance,
195
+ planoQrConversionRequest,
196
+ planoStaticData,
197
+ suspiciousActivityModel,
198
+ auditConfigModel,
199
+ revopConfigModel,
200
+ planoCrestLogModel,
201
+ countryCurrencyModel,
202
+ fixtureLibraryModel,
203
+ planoVmModel,
204
+ vmTypeModel,
205
+ planoProductCategoryModel,
206
+ streamingModel,
207
+ loginAttempt,
208
+ notification,
209
+ planoRevisionModel,
210
+ auditUserBaseSalaryModel,
211
+ revopDownloadModel,
212
+ runAIRequestModel,
213
+ runAIFeaturesModel,
214
+ templateLogSchema,
215
+ eyeTestConfigurationModel
214
216
  };
package/package.json CHANGED
@@ -1,28 +1,28 @@
1
- {
2
- "name": "tango-api-schema",
3
- "version": "2.3.15",
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
- "build:patch": "node build.js patch && npm publish",
11
- "build:minor": "node build.js minor && npm publish",
12
- "build:major": "node build.js major && npm publish"
13
- },
14
- "repository": {
15
- "type": "git",
16
- "url": "git+https://praveen22raj@bitbucket.org/tangoeye-retail/tango-api-schema.git"
17
- },
18
- "author": "praveenraj",
19
- "license": "ISC",
20
- "bugs": {
21
- "url": "https://bitbucket.org/tangoeye-retail/tango-api-schema/issues"
22
- },
23
- "homepage": "https://bitbucket.org/tangoeye-retail/tango-api-schema#readme",
24
- "dependencies": {
25
- "express": "^4.21.1",
26
- "mongoose": "^7.5.3"
27
- }
1
+ {
2
+ "name": "tango-api-schema",
3
+ "version": "2.3.17",
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
+ "build:patch": "node build.js patch && npm publish",
11
+ "build:minor": "node build.js minor && npm publish",
12
+ "build:major": "node build.js major && npm publish"
13
+ },
14
+ "repository": {
15
+ "type": "git",
16
+ "url": "git+https://praveen22raj@bitbucket.org/tangoeye-retail/tango-api-schema.git"
17
+ },
18
+ "author": "praveenraj",
19
+ "license": "ISC",
20
+ "bugs": {
21
+ "url": "https://bitbucket.org/tangoeye-retail/tango-api-schema/issues"
22
+ },
23
+ "homepage": "https://bitbucket.org/tangoeye-retail/tango-api-schema#readme",
24
+ "dependencies": {
25
+ "express": "^4.21.1",
26
+ "mongoose": "^7.5.3"
27
+ }
28
28
  }
@@ -1,40 +1,40 @@
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
- clientId: {
30
- type: String,
31
- },
32
- },
33
- {
34
- strict: true,
35
- versionKey: false,
36
- timestamps: true,
37
- },
38
- );
39
-
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
+ clientId: {
30
+ type: String,
31
+ },
32
+ },
33
+ {
34
+ strict: true,
35
+ versionKey: false,
36
+ timestamps: true,
37
+ },
38
+ );
39
+
40
40
  export default mongoose.model( 'appVersion', appVersionSchema);