tango-api-schema 2.6.24 → 2.6.26
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 +266 -262
- package/package.json +1 -1
- package/schema/bankTransaction.model.js +6 -0
- package/schema/estimate.model.js +87 -0
- package/schema/paymentReminder.model.js +47 -0
package/index.js
CHANGED
|
@@ -1,263 +1,267 @@
|
|
|
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
|
|
39
|
-
import
|
|
40
|
-
import
|
|
41
|
-
import
|
|
42
|
-
import
|
|
43
|
-
import
|
|
44
|
-
import
|
|
45
|
-
import
|
|
46
|
-
import
|
|
47
|
-
import
|
|
48
|
-
import
|
|
49
|
-
import
|
|
50
|
-
import
|
|
51
|
-
import
|
|
52
|
-
import
|
|
53
|
-
import
|
|
54
|
-
import
|
|
55
|
-
import
|
|
56
|
-
import
|
|
57
|
-
import
|
|
58
|
-
import
|
|
59
|
-
import
|
|
60
|
-
import
|
|
61
|
-
import
|
|
62
|
-
import
|
|
63
|
-
import
|
|
64
|
-
import
|
|
65
|
-
import
|
|
66
|
-
import
|
|
67
|
-
import
|
|
68
|
-
import
|
|
69
|
-
import
|
|
70
|
-
import
|
|
71
|
-
import
|
|
72
|
-
import
|
|
73
|
-
import
|
|
74
|
-
import
|
|
75
|
-
import
|
|
76
|
-
import
|
|
77
|
-
import
|
|
78
|
-
import
|
|
79
|
-
import
|
|
80
|
-
import
|
|
81
|
-
import
|
|
82
|
-
import
|
|
83
|
-
import
|
|
84
|
-
import
|
|
85
|
-
import
|
|
86
|
-
import
|
|
87
|
-
import
|
|
88
|
-
import
|
|
89
|
-
import
|
|
90
|
-
import
|
|
91
|
-
import
|
|
92
|
-
import
|
|
93
|
-
import
|
|
94
|
-
import
|
|
95
|
-
import
|
|
96
|
-
import
|
|
97
|
-
import
|
|
98
|
-
import
|
|
99
|
-
import
|
|
100
|
-
import
|
|
101
|
-
|
|
102
|
-
import
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
import
|
|
106
|
-
|
|
107
|
-
import
|
|
108
|
-
import
|
|
109
|
-
import
|
|
110
|
-
import
|
|
111
|
-
|
|
112
|
-
import
|
|
113
|
-
|
|
114
|
-
import
|
|
115
|
-
import
|
|
116
|
-
import
|
|
117
|
-
import
|
|
118
|
-
import
|
|
119
|
-
import
|
|
120
|
-
import
|
|
121
|
-
import
|
|
122
|
-
import
|
|
123
|
-
import
|
|
124
|
-
import
|
|
125
|
-
import
|
|
126
|
-
import
|
|
127
|
-
import
|
|
128
|
-
import
|
|
129
|
-
import
|
|
130
|
-
import
|
|
131
|
-
import
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
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 estimateModel from "./schema/estimate.model.js";
|
|
39
|
+
import paymentReminderModel from "./schema/paymentReminder.model.js";
|
|
40
|
+
import bankTransactionModel from "./schema/bankTransaction.model.js";
|
|
41
|
+
import dataMismatchDraftModel from "./schema/dataMismatchDraft.model.js";
|
|
42
|
+
import traxAuditDataModel from "./schema/traxAuditData.model.js";
|
|
43
|
+
import binaryAuditModel from "./schema/binaryAudit.model.js";
|
|
44
|
+
import userEmpDetectionModel from "./schema/userEmpDetection.model.js";
|
|
45
|
+
import storeEmpDetectionModel from "./schema/storeEmpDetection.model.js";
|
|
46
|
+
import lowcountReasonModel from "./schema/lowcountReason.model.js";
|
|
47
|
+
import auditUserWalletModel from "./schema/auditUserWallet.model.js";
|
|
48
|
+
import mailOnlyuserModel from "./schema/mailOnlyuser.model.js";
|
|
49
|
+
import empDetectionOutputModel from "./schema/empDetectionOutput.model.js";
|
|
50
|
+
import auditUsersModel from "./schema/auditUsers.model.js";
|
|
51
|
+
import clusterModel from "./schema/cluster.model.js";
|
|
52
|
+
import teamsModel from "./schema/teams.model.js";
|
|
53
|
+
import checklistassignconfigModel from "./schema/checklistassignconfig.js";
|
|
54
|
+
import checklistconfigModel from "./schema/checklistconfig.js";
|
|
55
|
+
import checklistlogModel from "./schema/checklistlog.js";
|
|
56
|
+
import checklistquestionconfigModel from "./schema/checklistquestionconfig.js";
|
|
57
|
+
import processedchecklistModel from "./schema/processedchecklist.js";
|
|
58
|
+
import processedchecklistconfigModel from "./schema/processedchecklistconfig.js";
|
|
59
|
+
import processeddetectionModel from "./schema/processeddetection.js";
|
|
60
|
+
import domainModel from "./schema/domain.js";
|
|
61
|
+
import hotjarModel from "./schema/hotjar.model.js";
|
|
62
|
+
import downloadModel from "./schema/download.js";
|
|
63
|
+
import aiTicketConfigModel from "./schema/aiTicketConfig.js";
|
|
64
|
+
import appVersionModel from "./schema/appVersion.js";
|
|
65
|
+
import lenskartEmployeeMappingModel from "./schema/lenskartEmployeeMapping.model.js";
|
|
66
|
+
import locusOrderModel from "./schema/locusOrder.model.js";
|
|
67
|
+
import locusOrderUserModel from "./schema/locusOrderUser.model.js";
|
|
68
|
+
import controleCenterTemplateListModel from "./schema/controlCenterTemplateList.model.js";
|
|
69
|
+
import liveConnectionSchemaModel from './schema/liveConnection.model.js';
|
|
70
|
+
import taskConfigModel from './schema/taskConfig.model.js';
|
|
71
|
+
import taskQuestionModel from './schema/taskQuestion.model.js';
|
|
72
|
+
import taskAssignModel from './schema/taskAssign.model.js';
|
|
73
|
+
import taskProcessedModel from './schema/taskProcessed.model.js';
|
|
74
|
+
import taskProcessedConfigModel from './schema/taskProcessedConfig.model.js';
|
|
75
|
+
import traxApproverModel from './schema/traxApprover.model.js';
|
|
76
|
+
import nobBillingModel from "./schema/nobBilling.model.js";
|
|
77
|
+
import storeLayoutModel from "./schema/storeLayout.model.js";
|
|
78
|
+
import planogramModel from "./schema/planogram.model.js";
|
|
79
|
+
import emailersModel from "./schema/emailers.model.js";
|
|
80
|
+
import planoMappingModel from './schema/planoMapping.model.js';
|
|
81
|
+
import planoProductModel from './schema/planoProductDetail.model.js';
|
|
82
|
+
import planoVmModel from './schema/planoVmDetail.model.js';
|
|
83
|
+
import planoComplianceModel from './schema/planoCompliance.model.js';
|
|
84
|
+
import storeFixtureModel from './schema/storeFixture.model.js';
|
|
85
|
+
import fixtureConfigModel from './schema/fixtureConfig.model.js';
|
|
86
|
+
import fixtureShelfModel from './schema/fixtureShelf.model.js';
|
|
87
|
+
import planoTaskCompliance from './schema/planoTaskCompliance.model.js';
|
|
88
|
+
import planoGlobalComment from './schema/planoGlobalComment.model.js';
|
|
89
|
+
import planoQrConversionRequest from './schema/planoQrConversionRequest.model.js';
|
|
90
|
+
import planoStaticData from './schema/planoStaticData.model.js';
|
|
91
|
+
import suspiciousActivityModel from "./schema/suspiciousActivity.model.js";
|
|
92
|
+
import auditConfigModel from "./schema/auditConfig.model.js";
|
|
93
|
+
import revopConfigModel from "./schema/revopConfig.model.js";
|
|
94
|
+
import planoCrestLogModel from './schema/planoCrestLog.model.js';
|
|
95
|
+
import countryCurrencyModel from './schema/countryCurrency.model.js';
|
|
96
|
+
import fixtureLibraryModel from './schema/fixtureLibrary.model.js';
|
|
97
|
+
import vmTypeModel from "./schema/vmType.model.js";
|
|
98
|
+
import planoProductCategoryModel from './schema/planoProductCategoryDetails.model.js'
|
|
99
|
+
import streamingModel from './schema/streaming.model.js';
|
|
100
|
+
import loginAttempt from "./schema/loginAttempt.model.js";
|
|
101
|
+
import notification from "./schema/notification.model.js";
|
|
102
|
+
import planoRevisionModel from "./schema/planoRevision.model.js";
|
|
103
|
+
|
|
104
|
+
import auditUserBaseSalaryModel from "./schema/auditUserBaseSalary.model.js";
|
|
105
|
+
import revopDownloadModel from "./schema/revopDownload.model.js";
|
|
106
|
+
|
|
107
|
+
import runAIFeaturesModel from "./schema/runAIFeatures.js";
|
|
108
|
+
import runAIRequestModel from "./schema/runAIRequest.js";
|
|
109
|
+
import templateLogSchema from "./schema/templateLog.model.js";
|
|
110
|
+
import eyeTestConfigurationModel from "./schema/eyeTestConfiguration.model.js";
|
|
111
|
+
import copilotMachineConfigModel from "./schema/copilotMachineConfig.model.js";
|
|
112
|
+
import findReplaceAiModel from "./schema/findReplaceAi.model.js";
|
|
113
|
+
|
|
114
|
+
import planoDuplicateModel from './schema/planogramDuplicate.model.js'
|
|
115
|
+
import storeLayoutDuplicateModel from './schema/storeLayoutDuplicate.model.js'
|
|
116
|
+
import storeFixtureDuplicateModel from './schema/storeFixtureDuplicate.model.js'
|
|
117
|
+
import fixtureConfigDuplicateModel from "./schema/fixtureConfigDuplicate.model.js";
|
|
118
|
+
import fixtureLibraryDuplicateModel from "./schema/fixtureLibraryDuplicate.model.js";
|
|
119
|
+
import fixtureShelfDuplicateModel from "./schema/fixtureShelfDuplicate.model.js";
|
|
120
|
+
import planoMappingDuplicateModel from "./schema/planoMappingDuplicate.model.js";
|
|
121
|
+
import planoVmDetailDuplicateModel from "./schema/planoVmDetailDuplicate.model.js";
|
|
122
|
+
import planoProductDetailDuplicateModel from "./schema/planoProductDetailDuplicate.model.js";
|
|
123
|
+
import vmsStoreRequestModel from './schema/vmsStoreRequest.model.js'
|
|
124
|
+
import sangeethaCamDataModel from "./schema/sangeethaCamData.model.js"
|
|
125
|
+
import storeAccuracyIssuesModel from "./schema/storeAccuracyIssues.model.js";
|
|
126
|
+
import RFIDdataModel from "./schema/RFIDdata.model.js";
|
|
127
|
+
import customZonetagsModel from "./schema/customZonetags.model.js";
|
|
128
|
+
import zonegroupsModel from "./schema/zonegroups.model.js";
|
|
129
|
+
import pidAllocationEngine from "./schema/pidAllocationEngine.model.js";
|
|
130
|
+
import audioStaticValueModel from "./schema/audioStaticValue.model.js";
|
|
131
|
+
import recurringFlagTrackerModel from "./schema/recurringFlagTracker.model.js";
|
|
132
|
+
import regionKeyModel from "./schema/regionKey.model.js";
|
|
133
|
+
import lookPlanoCollectionModel from "./schema/lookPlanoCollection.model.js";
|
|
134
|
+
|
|
135
|
+
|
|
136
|
+
export default {
|
|
137
|
+
leadModel,
|
|
138
|
+
otpModel,
|
|
139
|
+
storeModel,
|
|
140
|
+
countryCodesModel,
|
|
141
|
+
clientModel,
|
|
142
|
+
tangoTicketModel,
|
|
143
|
+
ipLogModel,
|
|
144
|
+
userModel,
|
|
145
|
+
edgeAppVersionModel,
|
|
146
|
+
applicationDefaultModel,
|
|
147
|
+
cameraModel,
|
|
148
|
+
reportModel,
|
|
149
|
+
standaredRoleModel,
|
|
150
|
+
infraReasonModel,
|
|
151
|
+
groupModel,
|
|
152
|
+
authenticationModel,
|
|
153
|
+
userAssignedStoreModel,
|
|
154
|
+
edgeappAuthModel,
|
|
155
|
+
clientRequestModel,
|
|
156
|
+
basePricingModel,
|
|
157
|
+
invoiceModel,
|
|
158
|
+
workstationModel,
|
|
159
|
+
dailyPricingModel,
|
|
160
|
+
fittingModel,
|
|
161
|
+
qualityCheckModel,
|
|
162
|
+
taggingModel,
|
|
163
|
+
userAuditModel,
|
|
164
|
+
storeAuditModel,
|
|
165
|
+
assignAuditModel,
|
|
166
|
+
auditStoreDataModel,
|
|
167
|
+
matLogModel,
|
|
168
|
+
billingModel,
|
|
169
|
+
auditLogsModel,
|
|
170
|
+
internalAuthModel,
|
|
171
|
+
paymentAccountModel,
|
|
172
|
+
externalParameterModel,
|
|
173
|
+
transactionModel,
|
|
174
|
+
estimateModel,
|
|
175
|
+
paymentReminderModel,
|
|
176
|
+
bankTransactionModel,
|
|
177
|
+
dataMismatchDraftModel,
|
|
178
|
+
traxAuditDataModel,
|
|
179
|
+
binaryAuditModel,
|
|
180
|
+
userEmpDetectionModel,
|
|
181
|
+
storeEmpDetectionModel,
|
|
182
|
+
lowcountReasonModel,
|
|
183
|
+
auditUserWalletModel,
|
|
184
|
+
mailOnlyuserModel,
|
|
185
|
+
empDetectionOutputModel,
|
|
186
|
+
auditUsersModel,
|
|
187
|
+
clusterModel,
|
|
188
|
+
teamsModel,
|
|
189
|
+
checklistassignconfigModel,
|
|
190
|
+
checklistconfigModel,
|
|
191
|
+
checklistlogModel,
|
|
192
|
+
checklistquestionconfigModel,
|
|
193
|
+
processedchecklistModel,
|
|
194
|
+
processedchecklistconfigModel,
|
|
195
|
+
processeddetectionModel,
|
|
196
|
+
domainModel,
|
|
197
|
+
hotjarModel,
|
|
198
|
+
downloadModel,
|
|
199
|
+
aiTicketConfigModel,
|
|
200
|
+
appVersionModel,
|
|
201
|
+
lenskartEmployeeMappingModel,
|
|
202
|
+
locusOrderModel,
|
|
203
|
+
locusOrderUserModel,
|
|
204
|
+
controleCenterTemplateListModel,
|
|
205
|
+
liveConnectionSchemaModel,
|
|
206
|
+
taskConfigModel,
|
|
207
|
+
taskQuestionModel,
|
|
208
|
+
taskAssignModel,
|
|
209
|
+
taskProcessedModel,
|
|
210
|
+
taskProcessedConfigModel,
|
|
211
|
+
traxApproverModel,
|
|
212
|
+
nobBillingModel,
|
|
213
|
+
storeLayoutModel,
|
|
214
|
+
planogramModel,
|
|
215
|
+
emailersModel,
|
|
216
|
+
planoMappingModel,
|
|
217
|
+
planoProductModel,
|
|
218
|
+
planoComplianceModel,
|
|
219
|
+
storeFixtureModel,
|
|
220
|
+
fixtureConfigModel,
|
|
221
|
+
fixtureShelfModel,
|
|
222
|
+
planoGlobalComment,
|
|
223
|
+
planoTaskCompliance,
|
|
224
|
+
planoQrConversionRequest,
|
|
225
|
+
planoStaticData,
|
|
226
|
+
suspiciousActivityModel,
|
|
227
|
+
auditConfigModel,
|
|
228
|
+
revopConfigModel,
|
|
229
|
+
planoCrestLogModel,
|
|
230
|
+
countryCurrencyModel,
|
|
231
|
+
fixtureLibraryModel,
|
|
232
|
+
planoVmModel,
|
|
233
|
+
vmTypeModel,
|
|
234
|
+
planoProductCategoryModel,
|
|
235
|
+
streamingModel,
|
|
236
|
+
loginAttempt,
|
|
237
|
+
notification,
|
|
238
|
+
planoRevisionModel,
|
|
239
|
+
auditUserBaseSalaryModel,
|
|
240
|
+
revopDownloadModel,
|
|
241
|
+
runAIRequestModel,
|
|
242
|
+
runAIFeaturesModel,
|
|
243
|
+
templateLogSchema,
|
|
244
|
+
eyeTestConfigurationModel,
|
|
245
|
+
copilotMachineConfigModel,
|
|
246
|
+
findReplaceAiModel,
|
|
247
|
+
planoDuplicateModel,
|
|
248
|
+
storeLayoutDuplicateModel,
|
|
249
|
+
storeFixtureDuplicateModel,
|
|
250
|
+
fixtureConfigDuplicateModel,
|
|
251
|
+
fixtureLibraryDuplicateModel,
|
|
252
|
+
fixtureShelfDuplicateModel,
|
|
253
|
+
planoMappingDuplicateModel,
|
|
254
|
+
planoVmDetailDuplicateModel,
|
|
255
|
+
planoProductDetailDuplicateModel,
|
|
256
|
+
vmsStoreRequestModel,
|
|
257
|
+
sangeethaCamDataModel,
|
|
258
|
+
storeAccuracyIssuesModel,
|
|
259
|
+
RFIDdataModel,
|
|
260
|
+
customZonetagsModel,
|
|
261
|
+
zonegroupsModel,
|
|
262
|
+
pidAllocationEngine,
|
|
263
|
+
audioStaticValueModel,
|
|
264
|
+
recurringFlagTrackerModel,
|
|
265
|
+
regionKeyModel,
|
|
266
|
+
lookPlanoCollectionModel
|
|
263
267
|
};
|
package/package.json
CHANGED
|
@@ -63,6 +63,12 @@ const bankTransactionSchema = new mongoose.Schema(
|
|
|
63
63
|
resultNote: {
|
|
64
64
|
type: String
|
|
65
65
|
},
|
|
66
|
+
// Set when the team chose "Reach out to customer" in the resolve
|
|
67
|
+
// popup — the row stays in needs_review with a "Reaching out" badge.
|
|
68
|
+
contacted: {
|
|
69
|
+
type: Boolean,
|
|
70
|
+
default: false
|
|
71
|
+
},
|
|
66
72
|
fileName: {
|
|
67
73
|
type: String
|
|
68
74
|
},
|
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
import mongoose from 'mongoose';
|
|
2
|
+
|
|
3
|
+
// Estimates (quotations) — generated before an invoice to share projected
|
|
4
|
+
// billing with a client. Mirrors the invoice shape but carries an estimate
|
|
5
|
+
// lifecycle (draft → sent → accepted/declined/expired) and a validity date
|
|
6
|
+
// instead of a due date.
|
|
7
|
+
const estimateSchema = new mongoose.Schema(
|
|
8
|
+
{
|
|
9
|
+
clientId: {
|
|
10
|
+
type: String,
|
|
11
|
+
},
|
|
12
|
+
estimate: {
|
|
13
|
+
type: String, // EST-26-27-00031
|
|
14
|
+
},
|
|
15
|
+
estimateIndex: {
|
|
16
|
+
type: String,
|
|
17
|
+
},
|
|
18
|
+
companyName: {
|
|
19
|
+
type: String,
|
|
20
|
+
},
|
|
21
|
+
companyAddress: {
|
|
22
|
+
type: String,
|
|
23
|
+
},
|
|
24
|
+
PlaceOfSupply: {
|
|
25
|
+
type: String,
|
|
26
|
+
},
|
|
27
|
+
GSTNumber: {
|
|
28
|
+
type: String,
|
|
29
|
+
},
|
|
30
|
+
groupId: {
|
|
31
|
+
type: mongoose.Types.ObjectId,
|
|
32
|
+
},
|
|
33
|
+
groupName: {
|
|
34
|
+
type: String,
|
|
35
|
+
},
|
|
36
|
+
period: {
|
|
37
|
+
type: String, // e.g. "Jun 2026"
|
|
38
|
+
},
|
|
39
|
+
stores: {
|
|
40
|
+
type: Number,
|
|
41
|
+
},
|
|
42
|
+
products: {
|
|
43
|
+
type: Array,
|
|
44
|
+
},
|
|
45
|
+
tax: {
|
|
46
|
+
type: Array,
|
|
47
|
+
},
|
|
48
|
+
amount: {
|
|
49
|
+
type: Number, // excl. GST
|
|
50
|
+
},
|
|
51
|
+
totalAmount: {
|
|
52
|
+
type: Number, // incl. GST
|
|
53
|
+
},
|
|
54
|
+
currency: {
|
|
55
|
+
type: String,
|
|
56
|
+
enum: [ 'dollar', 'inr', 'singaporedollar', 'euro' ],
|
|
57
|
+
default: 'inr',
|
|
58
|
+
},
|
|
59
|
+
status: {
|
|
60
|
+
type: String,
|
|
61
|
+
default: 'draft',
|
|
62
|
+
enum: [ 'draft', 'sent', 'accepted', 'declined', 'expired' ],
|
|
63
|
+
},
|
|
64
|
+
createdDate: {
|
|
65
|
+
type: Date,
|
|
66
|
+
},
|
|
67
|
+
validTill: {
|
|
68
|
+
type: Date,
|
|
69
|
+
},
|
|
70
|
+
// Set when an accepted estimate is turned into an invoice.
|
|
71
|
+
convertedInvoice: {
|
|
72
|
+
type: String,
|
|
73
|
+
},
|
|
74
|
+
createdBy: {
|
|
75
|
+
type: String,
|
|
76
|
+
},
|
|
77
|
+
notes: {
|
|
78
|
+
type: String,
|
|
79
|
+
},
|
|
80
|
+
}, {
|
|
81
|
+
strict: true,
|
|
82
|
+
versionKey: false,
|
|
83
|
+
timestamps: true,
|
|
84
|
+
}
|
|
85
|
+
);
|
|
86
|
+
|
|
87
|
+
export default mongoose.model( 'estimate', estimateSchema );
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import mongoose from 'mongoose';
|
|
2
|
+
|
|
3
|
+
// Payment reminder configuration per client (brand). One document per
|
|
4
|
+
// clientId, driving which reminder emails go out and to whom. Stored in its
|
|
5
|
+
// own `paymentreminders` collection.
|
|
6
|
+
const paymentReminderSchema = new mongoose.Schema(
|
|
7
|
+
{
|
|
8
|
+
clientId: {
|
|
9
|
+
type: String,
|
|
10
|
+
index: true,
|
|
11
|
+
},
|
|
12
|
+
// Recipients for all reminder emails on this brand.
|
|
13
|
+
reminderEmails: {
|
|
14
|
+
type: [ String ],
|
|
15
|
+
default: [],
|
|
16
|
+
},
|
|
17
|
+
// Predefined reminder templates the team can toggle. preDue carries a
|
|
18
|
+
// configurable lead time; the rest fire on fixed rules.
|
|
19
|
+
templates: {
|
|
20
|
+
preDue: {
|
|
21
|
+
enabled: { type: Boolean, default: true },
|
|
22
|
+
daysBefore: { type: Number, default: 3, min: 1, max: 365 },
|
|
23
|
+
},
|
|
24
|
+
onDue: {
|
|
25
|
+
enabled: { type: Boolean, default: true },
|
|
26
|
+
},
|
|
27
|
+
onHold: {
|
|
28
|
+
enabled: { type: Boolean, default: true },
|
|
29
|
+
},
|
|
30
|
+
suspend: {
|
|
31
|
+
enabled: { type: Boolean, default: true },
|
|
32
|
+
},
|
|
33
|
+
deactivated: {
|
|
34
|
+
enabled: { type: Boolean, default: false },
|
|
35
|
+
},
|
|
36
|
+
},
|
|
37
|
+
updatedBy: {
|
|
38
|
+
type: String,
|
|
39
|
+
},
|
|
40
|
+
}, {
|
|
41
|
+
strict: true,
|
|
42
|
+
versionKey: false,
|
|
43
|
+
timestamps: true,
|
|
44
|
+
}
|
|
45
|
+
);
|
|
46
|
+
|
|
47
|
+
export default mongoose.model( 'paymentreminder', paymentReminderSchema );
|