vms-nest-prisma-api-document 1.0.0
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/dist/index.cjs +1511 -0
- package/dist/index.cjs.map +1 -0
- package/dist/index.d.cts +2327 -0
- package/dist/index.d.ts +2327 -0
- package/dist/index.js +1356 -0
- package/dist/index.js.map +1 -0
- package/package.json +63 -0
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,2327 @@
|
|
|
1
|
+
import { AxiosInstance } from 'axios';
|
|
2
|
+
import { z } from 'zod';
|
|
3
|
+
|
|
4
|
+
declare const setAxiosInstance: (instance: AxiosInstance) => void;
|
|
5
|
+
|
|
6
|
+
declare enum PAGING {
|
|
7
|
+
Yes = "Yes",
|
|
8
|
+
No = "No"
|
|
9
|
+
}
|
|
10
|
+
declare enum LoadParents {
|
|
11
|
+
Yes = "Yes",
|
|
12
|
+
No = "No",
|
|
13
|
+
Custom = "Custom"
|
|
14
|
+
}
|
|
15
|
+
declare enum LoadChild {
|
|
16
|
+
No = "No",
|
|
17
|
+
Yes = "Yes",
|
|
18
|
+
Count = "Count",
|
|
19
|
+
Custom = "Custom",
|
|
20
|
+
Direct = "Direct"
|
|
21
|
+
}
|
|
22
|
+
declare enum LoadChildCount {
|
|
23
|
+
No = "No",
|
|
24
|
+
Yes = "Yes",
|
|
25
|
+
Custom = "Custom"
|
|
26
|
+
}
|
|
27
|
+
declare enum OrderBy {
|
|
28
|
+
asc = "asc",
|
|
29
|
+
desc = "desc"
|
|
30
|
+
}
|
|
31
|
+
declare enum AdminRole {
|
|
32
|
+
MasterAdmin = "MasterAdmin",
|
|
33
|
+
Admin = "Admin"
|
|
34
|
+
}
|
|
35
|
+
declare enum LoginFrom {
|
|
36
|
+
Web = "Web",
|
|
37
|
+
Android = "Android",
|
|
38
|
+
IPhone = "IPhone"
|
|
39
|
+
}
|
|
40
|
+
declare enum Status {
|
|
41
|
+
Active = "Active",
|
|
42
|
+
Inactive = "Inactive"
|
|
43
|
+
}
|
|
44
|
+
declare enum ExpenseCategory {
|
|
45
|
+
Main = "Main",
|
|
46
|
+
Document = "Document",
|
|
47
|
+
Daily = "Daily",
|
|
48
|
+
Incident = "Incident",
|
|
49
|
+
Other = "Other"
|
|
50
|
+
}
|
|
51
|
+
declare enum DoorSensorStatus {
|
|
52
|
+
Open = "Open",
|
|
53
|
+
Close = "Close"
|
|
54
|
+
}
|
|
55
|
+
declare enum LifeExpiry {
|
|
56
|
+
No = "No",
|
|
57
|
+
Expiring = "Expiring",
|
|
58
|
+
Expired = "Expired"
|
|
59
|
+
}
|
|
60
|
+
declare enum PurchaseVehicleType {
|
|
61
|
+
New = "New",
|
|
62
|
+
Used = "Used"
|
|
63
|
+
}
|
|
64
|
+
declare enum PurchaseType {
|
|
65
|
+
Loan = "Loan",
|
|
66
|
+
Lease = "Lease",
|
|
67
|
+
NoFinance = "NoFinance"
|
|
68
|
+
}
|
|
69
|
+
declare enum FileType {
|
|
70
|
+
NoFile = "NoFile",
|
|
71
|
+
Image = "Image",
|
|
72
|
+
Video = "Video",
|
|
73
|
+
PDF = "PDF"
|
|
74
|
+
}
|
|
75
|
+
declare enum DocumentValidityStatus {
|
|
76
|
+
Valid = "Valid",
|
|
77
|
+
Expiring = "Expiring",
|
|
78
|
+
Expired = "Expired"
|
|
79
|
+
}
|
|
80
|
+
declare enum DocumentStatus {
|
|
81
|
+
Active = "Active",
|
|
82
|
+
Inactive = "Inactive",
|
|
83
|
+
Old = "Old"
|
|
84
|
+
}
|
|
85
|
+
declare enum YesNo {
|
|
86
|
+
Yes = "Yes",
|
|
87
|
+
No = "No"
|
|
88
|
+
}
|
|
89
|
+
declare enum IssueSource {
|
|
90
|
+
Direct = "Direct",
|
|
91
|
+
Inspection = "Inspection",
|
|
92
|
+
Incident = "Incident",
|
|
93
|
+
Service = "Service",
|
|
94
|
+
Other = "Other"
|
|
95
|
+
}
|
|
96
|
+
declare enum OdometerSource {
|
|
97
|
+
Direct = "Direct",
|
|
98
|
+
Inspection = "Inspection",
|
|
99
|
+
Incident = "Incident",
|
|
100
|
+
Service = "Service",
|
|
101
|
+
Issue = "Issue",
|
|
102
|
+
Other = "Other"
|
|
103
|
+
}
|
|
104
|
+
declare enum IssueStatus {
|
|
105
|
+
Open = "Open",
|
|
106
|
+
Closed = "Closed",
|
|
107
|
+
Resolved = "Resolved",
|
|
108
|
+
OverDue = "OverDue",
|
|
109
|
+
Reopen = "Reopen"
|
|
110
|
+
}
|
|
111
|
+
declare enum Priority {
|
|
112
|
+
Critical = "Critical",
|
|
113
|
+
High = "High",
|
|
114
|
+
Medium = "Medium",
|
|
115
|
+
Low = "Low",
|
|
116
|
+
NoPriority = "NoPriority"
|
|
117
|
+
}
|
|
118
|
+
declare enum IssueSeverity {
|
|
119
|
+
Minor = "Minor",
|
|
120
|
+
Moderate = "Moderate",
|
|
121
|
+
Severe = "Severe",
|
|
122
|
+
Critical = "Critical"
|
|
123
|
+
}
|
|
124
|
+
declare enum RequestType {
|
|
125
|
+
Lock = "Lock",
|
|
126
|
+
Unlock = "Unlock"
|
|
127
|
+
}
|
|
128
|
+
declare enum VerifyStatus {
|
|
129
|
+
Pending = "Pending",
|
|
130
|
+
Approved = "Approved",
|
|
131
|
+
Expired = "Expired"
|
|
132
|
+
}
|
|
133
|
+
declare enum DeviceType {
|
|
134
|
+
Android = "Android",
|
|
135
|
+
IPhone = "IPhone",
|
|
136
|
+
Web = "Web"
|
|
137
|
+
}
|
|
138
|
+
declare enum NotificationType {
|
|
139
|
+
Whatsapp = "Whatsapp",
|
|
140
|
+
Message = "Message",
|
|
141
|
+
Email = "Email"
|
|
142
|
+
}
|
|
143
|
+
declare enum GeofenceType {
|
|
144
|
+
Polygon = "Polygon",
|
|
145
|
+
Circle = "Circle"
|
|
146
|
+
}
|
|
147
|
+
declare enum GeofenceStatusType {
|
|
148
|
+
Enter = "Enter",
|
|
149
|
+
Exit = "Exit"
|
|
150
|
+
}
|
|
151
|
+
declare enum LinkType {
|
|
152
|
+
CurrentLocation = "CurrentLocation",
|
|
153
|
+
LiveLocation = "LiveLocation",
|
|
154
|
+
Trip = "Trip"
|
|
155
|
+
}
|
|
156
|
+
declare enum LinkStatus {
|
|
157
|
+
Active = "Active",
|
|
158
|
+
Inactive = "Inactive",
|
|
159
|
+
Expired = "Expired",
|
|
160
|
+
TripEnded = "TripEnded"
|
|
161
|
+
}
|
|
162
|
+
declare enum InspectionStatus {
|
|
163
|
+
Pending = "Pending",
|
|
164
|
+
Completed = "Completed",
|
|
165
|
+
Missed = "Missed",
|
|
166
|
+
Cancelled = "Cancelled",
|
|
167
|
+
Failed = "Failed"
|
|
168
|
+
}
|
|
169
|
+
declare enum ScheduleType {
|
|
170
|
+
OneTime = "OneTime",
|
|
171
|
+
Recurring = "Recurring"
|
|
172
|
+
}
|
|
173
|
+
declare enum RecurrenceInterval {
|
|
174
|
+
Daily = "Daily",
|
|
175
|
+
Weekly = "Weekly",
|
|
176
|
+
Monthly = "Monthly",
|
|
177
|
+
CustomInterval = "CustomInterval"
|
|
178
|
+
}
|
|
179
|
+
declare enum InspectionType {
|
|
180
|
+
Regular = "Regular",
|
|
181
|
+
VehicleHandover = "VehicleHandover",
|
|
182
|
+
VehicleReturn = "VehicleReturn",
|
|
183
|
+
TripPreCheckList = "TripPreCheckList",
|
|
184
|
+
TripPostCheckList = "TripPostCheckList",
|
|
185
|
+
ServiceBefore = "ServiceBefore",
|
|
186
|
+
ServiceAfter = "ServiceAfter"
|
|
187
|
+
}
|
|
188
|
+
declare enum InspectionActionStatus {
|
|
189
|
+
Pending = "Pending",
|
|
190
|
+
Approved = "Approved",
|
|
191
|
+
Rejected = "Rejected",
|
|
192
|
+
Escalated = "Escalated"
|
|
193
|
+
}
|
|
194
|
+
declare enum ScheduleStatus {
|
|
195
|
+
Scheduled = "Scheduled",
|
|
196
|
+
ServiceInitiated = "ServiceInitiated",
|
|
197
|
+
ServiceInProgress = "ServiceInProgress",
|
|
198
|
+
Overdue = "Overdue",
|
|
199
|
+
Missed = "Missed",
|
|
200
|
+
Completed = "Completed"
|
|
201
|
+
}
|
|
202
|
+
declare enum JobCardStatus {
|
|
203
|
+
Pending = "Pending",
|
|
204
|
+
InProgress = "InProgress",
|
|
205
|
+
OnHold = "OnHold",
|
|
206
|
+
Cancelled = "Cancelled",
|
|
207
|
+
Completed = "Completed"
|
|
208
|
+
}
|
|
209
|
+
declare enum ServiceType {
|
|
210
|
+
Preventive = "Preventive",
|
|
211
|
+
Corrective = "Corrective",
|
|
212
|
+
Emergency = "Emergency"
|
|
213
|
+
}
|
|
214
|
+
declare enum PaymentStatus {
|
|
215
|
+
Pending = "Pending",
|
|
216
|
+
Paid = "Paid",
|
|
217
|
+
PartiallyPaid = "PartiallyPaid",
|
|
218
|
+
Failed = "Failed",
|
|
219
|
+
Refunded = "Refunded"
|
|
220
|
+
}
|
|
221
|
+
declare enum DocumentType {
|
|
222
|
+
PurchaseOrder = "PurchaseOrder",
|
|
223
|
+
Invoice = "Invoice",
|
|
224
|
+
TaxDocument = "TaxDocument",
|
|
225
|
+
Contract = "Contract",
|
|
226
|
+
License = "License",
|
|
227
|
+
Registration = "Registration",
|
|
228
|
+
InsurancePolicy = "InsurancePolicy",
|
|
229
|
+
Warranty = "Warranty",
|
|
230
|
+
Quotation = "Quotation",
|
|
231
|
+
DeliveryChallan = "DeliveryChallan",
|
|
232
|
+
PerformanceReport = "PerformanceReport",
|
|
233
|
+
BankDetails = "BankDetails",
|
|
234
|
+
ComplianceDocument = "ComplianceDocument",
|
|
235
|
+
Certification = "Certification",
|
|
236
|
+
Agreement = "Agreement",
|
|
237
|
+
Other = "Other"
|
|
238
|
+
}
|
|
239
|
+
declare enum PurchaseOrderStatus {
|
|
240
|
+
Draft = "Draft",
|
|
241
|
+
Pending = "Pending",
|
|
242
|
+
Approved = "Approved",
|
|
243
|
+
Rejected = "Rejected",
|
|
244
|
+
Ordered = "Ordered",
|
|
245
|
+
Delivered = "Delivered",
|
|
246
|
+
Cancelled = "Cancelled",
|
|
247
|
+
StockReceived = "StockReceived"
|
|
248
|
+
}
|
|
249
|
+
declare enum StockType {
|
|
250
|
+
Consumable = "Consumable",
|
|
251
|
+
NonConsumable = "NonConsumable"
|
|
252
|
+
}
|
|
253
|
+
declare enum ReminderSource {
|
|
254
|
+
VehicleManagement = "VehicleManagement",
|
|
255
|
+
DriverManagement = "DriverManagement",
|
|
256
|
+
InspectionManagement = "InspectionManagement",
|
|
257
|
+
IssueManagement = "IssueManagement",
|
|
258
|
+
ServiceManagement = "ServiceManagement",
|
|
259
|
+
SparePartsManagement = "SparePartsManagement",
|
|
260
|
+
VendorManagement = "VendorManagement",
|
|
261
|
+
PartyManagement = "PartyManagement",
|
|
262
|
+
WorkshopManagement = "WorkshopManagement",
|
|
263
|
+
GPSModule = "GPSModule",
|
|
264
|
+
Other = "Other"
|
|
265
|
+
}
|
|
266
|
+
declare enum ReminderStatus {
|
|
267
|
+
Pending = "Pending",
|
|
268
|
+
Completed = "Completed",
|
|
269
|
+
Overdue = "Overdue",
|
|
270
|
+
Dismissed = "Dismissed"
|
|
271
|
+
}
|
|
272
|
+
declare enum ReminderTriggerType {
|
|
273
|
+
TimeBased = "TimeBased",
|
|
274
|
+
UsageBased = "UsageBased",
|
|
275
|
+
ConditionBased = "ConditionBased",
|
|
276
|
+
Custom = "Custom"
|
|
277
|
+
}
|
|
278
|
+
declare enum GPSFuelApproveStatus {
|
|
279
|
+
Pending = "Pending",
|
|
280
|
+
Approved = "Approved",
|
|
281
|
+
Rejected = "Rejected"
|
|
282
|
+
}
|
|
283
|
+
declare enum RetreadingMethod {
|
|
284
|
+
PreCure = "PreCure",
|
|
285
|
+
MoldCure = "MoldCure",
|
|
286
|
+
ColdRetread = "ColdRetread",
|
|
287
|
+
HotRetread = "HotRetread",
|
|
288
|
+
CustomRetread = "CustomRetread",
|
|
289
|
+
Other = "Other"
|
|
290
|
+
}
|
|
291
|
+
declare enum TyreStatus {
|
|
292
|
+
Instock = "Instock",
|
|
293
|
+
Installed = "Installed",
|
|
294
|
+
Retired = "Retired",
|
|
295
|
+
UnderRepair = "UnderRepair",
|
|
296
|
+
Retreading = "Retreading",
|
|
297
|
+
Scrapped = "Scrapped"
|
|
298
|
+
}
|
|
299
|
+
declare enum GPSSource {
|
|
300
|
+
Traccar = "Traccar",
|
|
301
|
+
API = "API",
|
|
302
|
+
Protocol = "Protocol",
|
|
303
|
+
NoDevice = "NoDevice"
|
|
304
|
+
}
|
|
305
|
+
declare enum TicketStatus {
|
|
306
|
+
Open = "Open",
|
|
307
|
+
InProgress = "InProgress",
|
|
308
|
+
Resolved = "Resolved",
|
|
309
|
+
Closed = "Closed",
|
|
310
|
+
Cancelled = "Cancelled",
|
|
311
|
+
Reopen = "Reopen"
|
|
312
|
+
}
|
|
313
|
+
declare enum MenuType {
|
|
314
|
+
Group = "Group",
|
|
315
|
+
Item = "Item"
|
|
316
|
+
}
|
|
317
|
+
declare enum Module {
|
|
318
|
+
ABC = "ABC"
|
|
319
|
+
}
|
|
320
|
+
declare enum SubModule {
|
|
321
|
+
ABC = "ABC"
|
|
322
|
+
}
|
|
323
|
+
declare enum AlertType {
|
|
324
|
+
ABC = "ABC"
|
|
325
|
+
}
|
|
326
|
+
declare enum AlertSubType {
|
|
327
|
+
ABC = "ABC"
|
|
328
|
+
}
|
|
329
|
+
declare enum SimStatus {
|
|
330
|
+
New = "New",
|
|
331
|
+
Used = "Used",
|
|
332
|
+
Removed = "Removed"
|
|
333
|
+
}
|
|
334
|
+
declare enum DeviceStatus {
|
|
335
|
+
New = "New",
|
|
336
|
+
Used = "Used",
|
|
337
|
+
Removed = "Removed"
|
|
338
|
+
}
|
|
339
|
+
declare enum BillingStatus {
|
|
340
|
+
New = "New",
|
|
341
|
+
Activated = "Activated",
|
|
342
|
+
Deactivated = "Deactivated"
|
|
343
|
+
}
|
|
344
|
+
declare enum FleetSize {
|
|
345
|
+
Fleet_1_to_50_Vehicles = "Fleet_1_to_50_Vehicles",
|
|
346
|
+
Fleet_51_to_100_Vehicles = "Fleet_51_to_100_Vehicles",
|
|
347
|
+
Fleet_101_to_500_Vehicles = "Fleet_101_to_500_Vehicles",
|
|
348
|
+
Fleet_501_to_1000_Vehicles = "Fleet_501_to_1000_Vehicles",
|
|
349
|
+
Fleet_1001_to_5000_Vehicles = "Fleet_1001_to_5000_Vehicles",
|
|
350
|
+
Fleet_5000Plus_Vehicles = "Fleet_5000Plus_Vehicles"
|
|
351
|
+
}
|
|
352
|
+
declare enum TrackHistoryLinkStatus {
|
|
353
|
+
Active = "Active",
|
|
354
|
+
Inactive = "Inactive",
|
|
355
|
+
Expired = "Expired"
|
|
356
|
+
}
|
|
357
|
+
declare enum GeofencePurposeType {
|
|
358
|
+
TripSourceLocation = "TripSourceLocation",
|
|
359
|
+
TripEndLocation = "TripEndLocation",
|
|
360
|
+
IntermediateStop = "IntermediateStop",
|
|
361
|
+
LoadingPoint = "LoadingPoint",
|
|
362
|
+
UnloadingPoint = "UnloadingPoint",
|
|
363
|
+
Warehouse = "Warehouse",
|
|
364
|
+
Plant = "Plant",
|
|
365
|
+
DistributionHub = "DistributionHub",
|
|
366
|
+
CustomerLocation = "CustomerLocation",
|
|
367
|
+
VendorLocation = "VendorLocation",
|
|
368
|
+
ParkingYard = "ParkingYard",
|
|
369
|
+
Depot = "Depot",
|
|
370
|
+
LogisticsPark = "LogisticsPark",
|
|
371
|
+
Factory = "Factory",
|
|
372
|
+
Port = "Port",
|
|
373
|
+
AirportCargoZone = "AirportCargoZone",
|
|
374
|
+
WeighBridge = "WeighBridge",
|
|
375
|
+
SecurityGate = "SecurityGate",
|
|
376
|
+
ScrapYard = "ScrapYard",
|
|
377
|
+
Checkpost = "Checkpost",
|
|
378
|
+
TollBooth = "TollBooth",
|
|
379
|
+
BusStop = "BusStop",
|
|
380
|
+
BusDepot = "BusDepot",
|
|
381
|
+
CabPickupPoint = "CabPickupPoint",
|
|
382
|
+
CabDropPoint = "CabDropPoint",
|
|
383
|
+
SchoolPickupZone = "SchoolPickupZone",
|
|
384
|
+
SchoolDropZone = "SchoolDropZone",
|
|
385
|
+
Terminal = "Terminal",
|
|
386
|
+
Station = "Station",
|
|
387
|
+
Office = "Office",
|
|
388
|
+
ResidentialArea = "ResidentialArea",
|
|
389
|
+
ColdStorage = "ColdStorage",
|
|
390
|
+
TemperatureSensitiveZone = "TemperatureSensitiveZone",
|
|
391
|
+
PharmaDeliveryPoint = "PharmaDeliveryPoint",
|
|
392
|
+
VaccineDropLocation = "VaccineDropLocation",
|
|
393
|
+
ChargingStation = "ChargingStation",
|
|
394
|
+
BatterySwapStation = "BatterySwapStation",
|
|
395
|
+
FuelStation = "FuelStation",// ✅ Added back
|
|
396
|
+
ServiceCenter = "ServiceCenter",// ✅ Added back
|
|
397
|
+
MaintenanceBay = "MaintenanceBay",
|
|
398
|
+
RestrictedArea = "RestrictedArea",
|
|
399
|
+
SpeedLimitZone = "SpeedLimitZone",
|
|
400
|
+
NoParkingZone = "NoParkingZone",
|
|
401
|
+
AccidentProneZone = "AccidentProneZone",
|
|
402
|
+
SchoolZone = "SchoolZone",
|
|
403
|
+
Farm = "Farm",
|
|
404
|
+
CollectionCenter = "CollectionCenter",
|
|
405
|
+
RuralDeliveryPoint = "RuralDeliveryPoint",
|
|
406
|
+
MiningZone = "MiningZone",
|
|
407
|
+
Quarry = "Quarry",
|
|
408
|
+
MaterialPickup = "MaterialPickup",
|
|
409
|
+
MaterialDumpingZone = "MaterialDumpingZone",
|
|
410
|
+
BorderCheckpost = "BorderCheckpost",
|
|
411
|
+
PoliceStation = "PoliceStation",
|
|
412
|
+
FireStation = "FireStation",
|
|
413
|
+
EmergencyResponseZone = "EmergencyResponseZone",
|
|
414
|
+
Custom = "Custom"
|
|
415
|
+
}
|
|
416
|
+
declare enum OverSpeed {
|
|
417
|
+
Over_Speed_60KM = "Over_Speed_60KM",
|
|
418
|
+
Over_Speed_70KM = "Over_Speed_70KM",
|
|
419
|
+
Over_Speed_80KM = "Over_Speed_80KM",
|
|
420
|
+
Over_Speed_90KM = "Over_Speed_90KM",
|
|
421
|
+
Over_Speed_100KM = "Over_Speed_100KM",
|
|
422
|
+
Over_Speed_110KM = "Over_Speed_110KM",
|
|
423
|
+
Over_Speed_120KM = "Over_Speed_120KM",
|
|
424
|
+
Over_Speed_130KM = "Over_Speed_130KM"
|
|
425
|
+
}
|
|
426
|
+
declare enum TimeSlot {
|
|
427
|
+
TIME_SLOT_12AM_TO_12AM = "TIME_SLOT_12AM_TO_12AM",
|
|
428
|
+
TIME_SLOT_1AM_TO_1AM = "TIME_SLOT_1AM_TO_1AM",
|
|
429
|
+
TIME_SLOT_2AM_TO_2AM = "TIME_SLOT_2AM_TO_2AM",
|
|
430
|
+
TIME_SLOT_3AM_TO_3AM = "TIME_SLOT_3AM_TO_3AM",
|
|
431
|
+
TIME_SLOT_4AM_TO_4AM = "TIME_SLOT_4AM_TO_4AM",
|
|
432
|
+
TIME_SLOT_5AM_TO_5AM = "TIME_SLOT_5AM_TO_5AM",
|
|
433
|
+
TIME_SLOT_6AM_TO_6AM = "TIME_SLOT_6AM_TO_6AM",
|
|
434
|
+
TIME_SLOT_7AM_TO_7AM = "TIME_SLOT_7AM_TO_7AM",
|
|
435
|
+
TIME_SLOT_8AM_TO_8AM = "TIME_SLOT_8AM_TO_8AM",
|
|
436
|
+
TIME_SLOT_9AM_TO_9AM = "TIME_SLOT_9AM_TO_9AM",
|
|
437
|
+
TIME_SLOT_10AM_TO_10AM = "TIME_SLOT_10AM_TO_10AM",
|
|
438
|
+
TIME_SLOT_11AM_TO_11AM = "TIME_SLOT_11AM_TO_11AM",
|
|
439
|
+
TIME_SLOT_12PM_TO_12PM = "TIME_SLOT_12PM_TO_12PM"
|
|
440
|
+
}
|
|
441
|
+
declare enum NightDriving {
|
|
442
|
+
Night_Driving_8PM_2AM = "Night_Driving_8PM_2AM",
|
|
443
|
+
Night_Driving_8PM_3AM = "Night_Driving_8PM_3AM",
|
|
444
|
+
Night_Driving_8PM_4AM = "Night_Driving_8PM_4AM",
|
|
445
|
+
Night_Driving_8PM_5AM = "Night_Driving_8PM_5AM",
|
|
446
|
+
Night_Driving_9PM_2AM = "Night_Driving_9PM_2AM",
|
|
447
|
+
Night_Driving_9PM_3AM = "Night_Driving_9PM_3AM",
|
|
448
|
+
Night_Driving_9PM_4AM = "Night_Driving_9PM_4AM",
|
|
449
|
+
Night_Driving_9PM_5AM = "Night_Driving_9PM_5AM",
|
|
450
|
+
Night_Driving_10PM_2AM = "Night_Driving_10PM_2AM",
|
|
451
|
+
Night_Driving_10PM_3AM = "Night_Driving_10PM_3AM",
|
|
452
|
+
Night_Driving_10PM_4AM = "Night_Driving_10PM_4AM",
|
|
453
|
+
Night_Driving_10PM_5AM = "Night_Driving_10PM_5AM",
|
|
454
|
+
Night_Driving_11PM_2AM = "Night_Driving_11PM_2AM",
|
|
455
|
+
Night_Driving_11PM_3AM = "Night_Driving_11PM_3AM",
|
|
456
|
+
Night_Driving_11PM_4AM = "Night_Driving_11PM_4AM",
|
|
457
|
+
Night_Driving_11PM_5AM = "Night_Driving_11PM_5AM"
|
|
458
|
+
}
|
|
459
|
+
declare enum GPSType {
|
|
460
|
+
Ignition = "Ignition",
|
|
461
|
+
Stoppage = "Stoppage",
|
|
462
|
+
Genset = "Genset",
|
|
463
|
+
Door = "Door"
|
|
464
|
+
}
|
|
465
|
+
declare enum BooleanType {
|
|
466
|
+
Both = "Both",
|
|
467
|
+
True = "True",
|
|
468
|
+
False = "False"
|
|
469
|
+
}
|
|
470
|
+
declare enum Is12AM {
|
|
471
|
+
Yes = "Yes",
|
|
472
|
+
No = "No"
|
|
473
|
+
}
|
|
474
|
+
|
|
475
|
+
interface BaseFindParams extends Record<string, unknown> {
|
|
476
|
+
search?: string;
|
|
477
|
+
load_child?: LoadChild;
|
|
478
|
+
load_parents?: LoadParents;
|
|
479
|
+
paging?: PAGING;
|
|
480
|
+
page_index?: number;
|
|
481
|
+
page_count?: number;
|
|
482
|
+
}
|
|
483
|
+
declare const DefaultBaseFindParams: BaseFindParams;
|
|
484
|
+
declare const withDefaults: <T extends Record<string, unknown>>(defaults: T, overrides?: Partial<T>) => T;
|
|
485
|
+
|
|
486
|
+
interface PageData {
|
|
487
|
+
total_count: number;
|
|
488
|
+
page_count: number;
|
|
489
|
+
next_page: boolean;
|
|
490
|
+
page_index: number;
|
|
491
|
+
}
|
|
492
|
+
interface SBR {
|
|
493
|
+
status: boolean;
|
|
494
|
+
message: string;
|
|
495
|
+
error?: string;
|
|
496
|
+
}
|
|
497
|
+
interface BR<T> {
|
|
498
|
+
status: boolean;
|
|
499
|
+
message: string;
|
|
500
|
+
error?: string;
|
|
501
|
+
data?: T;
|
|
502
|
+
}
|
|
503
|
+
interface FBR<T> {
|
|
504
|
+
status: boolean;
|
|
505
|
+
message: string;
|
|
506
|
+
error?: string;
|
|
507
|
+
page_data: PageData;
|
|
508
|
+
data?: T;
|
|
509
|
+
summary_vehicle_data?: [];
|
|
510
|
+
summary_driver_data?: [];
|
|
511
|
+
summary_day_data?: [];
|
|
512
|
+
summary_data?: SummaryData;
|
|
513
|
+
}
|
|
514
|
+
interface SummaryData {
|
|
515
|
+
dm: number;
|
|
516
|
+
m_on_ts: number;
|
|
517
|
+
m_off_ts: number;
|
|
518
|
+
i_on_ts: number;
|
|
519
|
+
i_off_ts: number;
|
|
520
|
+
ms: number;
|
|
521
|
+
as: number;
|
|
522
|
+
dm_km: string;
|
|
523
|
+
m_on_ts_f: string;
|
|
524
|
+
m_off_ts_f: string;
|
|
525
|
+
i_on_ts_f: string;
|
|
526
|
+
i_off_ts_f: string;
|
|
527
|
+
}
|
|
528
|
+
declare const r_log: (data?: {}) => {};
|
|
529
|
+
|
|
530
|
+
declare const apiGet: <T>(url: string, params?: Record<string, unknown>) => Promise<T>;
|
|
531
|
+
declare const apiPost: <T, D>(url: string, data: D) => Promise<T>;
|
|
532
|
+
declare const apiPatch: <T, D>(url: string, data: D) => Promise<T>;
|
|
533
|
+
declare const apiDelete: <T>(url: string) => Promise<T>;
|
|
534
|
+
|
|
535
|
+
declare const stringUUIDMandatory: (fieldName: string) => z.ZodEffects<z.ZodString, string, string>;
|
|
536
|
+
declare const stringMandatory: (fieldName: string, min?: number, max?: number) => z.ZodEffects<z.ZodString, string, string>;
|
|
537
|
+
declare const stringOptional: (fieldName: string, min?: number, max?: number, defaultValue?: string) => z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
|
|
538
|
+
declare const stringArrayMandatory: (fieldName: string, min?: number, max?: number, unique?: boolean) => z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>;
|
|
539
|
+
declare const stringArrayOptional: (fieldName: string, min?: number, max?: number, defaultValue?: string[], unique?: boolean) => z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
540
|
+
declare const numberMandatory: (fieldName: string, min?: number, max?: number, defaultValue?: number) => z.ZodEffects<z.ZodNumber, number, unknown>;
|
|
541
|
+
declare const numberOptional: (fieldName: string, min?: number, max?: number, defaultValue?: number) => z.ZodEffects<z.ZodDefault<z.ZodOptional<z.ZodNumber>>, number, unknown>;
|
|
542
|
+
declare const numberArrayMandatory: (fieldName: string, min?: number, max?: number, unique?: boolean) => z.ZodEffects<z.ZodArray<z.ZodNumber, "many">, number[], number[]>;
|
|
543
|
+
declare const numberArrayOptional: (fieldName: string, min?: number, max?: number, defaultValue?: number[], unique?: boolean) => z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>>;
|
|
544
|
+
declare const doubleMandatory: (fieldName: string, min?: number, max?: number, decimalPlaces?: number, defaultValue?: number) => z.ZodEffects<z.ZodDefault<z.ZodNumber>, number, unknown>;
|
|
545
|
+
declare const doubleMandatoryLatLng: (fieldName: string, defaultValue?: number) => z.ZodEffects<z.ZodDefault<z.ZodNumber>, number, unknown>;
|
|
546
|
+
declare const doubleMandatoryAmount: (fieldName: string, defaultValue?: number) => z.ZodEffects<z.ZodDefault<z.ZodNumber>, number, unknown>;
|
|
547
|
+
declare const doubleOptional: (fieldName: string, min?: number, max?: number, decimalPlaces?: number, defaultValue?: number) => z.ZodOptional<z.ZodEffects<z.ZodDefault<z.ZodNumber>, number, unknown>>;
|
|
548
|
+
declare const doubleOptionalLatLng: (fieldName: string, defaultValue?: number) => z.ZodOptional<z.ZodEffects<z.ZodDefault<z.ZodNumber>, number, unknown>>;
|
|
549
|
+
declare const doubleOptionalAmount: (fieldName: string, defaultValue?: number) => z.ZodOptional<z.ZodEffects<z.ZodDefault<z.ZodNumber>, number, unknown>>;
|
|
550
|
+
declare const booleanMandatory: (fieldName: string, defaultValue?: boolean) => z.ZodEffects<z.ZodBoolean, boolean, boolean>;
|
|
551
|
+
declare const booleanOptional: (fieldName: string, defaultValue?: boolean) => z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
552
|
+
declare const enumMandatory: <T extends Record<string, string>>(fieldName: string, enumType: T, defaultValue: T[keyof T]) => z.ZodType<T[keyof T]>;
|
|
553
|
+
declare const enumOptional: <T extends Record<string, string>>(fieldName: string, enumType: T, defaultValue: T[keyof T]) => z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<T>>>;
|
|
554
|
+
declare const getAllEnums: <T extends Record<string, string>>(enumType: T) => (keyof T)[];
|
|
555
|
+
declare const enumArrayMandatory: <T extends Record<string, string>>(fieldName: string, enumType: T, defaultValue?: (keyof T)[], min?: number, max?: number, unique?: boolean) => z.ZodDefault<z.ZodArray<z.ZodNativeEnum<T>, "many">>;
|
|
556
|
+
declare const enumArrayOptional: <T extends Record<string, string>>(fieldName: string, enumType: T, defaultValue?: (keyof T)[], min?: number, max?: number, unique?: boolean) => z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNativeEnum<T>, "many">>>;
|
|
557
|
+
declare const dateMandatory: (fieldName: string, minDate?: string, maxDate?: string, defaultValue?: string) => z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
558
|
+
declare const dateOptional: (fieldName: string, minDate?: string, maxDate?: string, defaultValue?: string) => z.ZodDefault<z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>>;
|
|
559
|
+
declare const dateTimeMandatory: (fieldName: string, minDate?: string, maxDate?: string, defaultValue?: string) => z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
560
|
+
declare const dateTimeOptional: (fieldName: string, minDate?: string, maxDate?: string, defaultValue?: string) => z.ZodDefault<z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>>;
|
|
561
|
+
declare const nestedObjectMandatory: <T extends z.ZodRawShape>(fieldName: string, schema: z.ZodObject<T>, defaultValue: z.infer<typeof schema>) => z.ZodDefault<z.ZodObject<T, z.UnknownKeysParam, z.ZodTypeAny, z.objectUtil.addQuestionMarks<z.baseObjectOutputType<T>, any> extends infer T_1 ? { [k in keyof T_1]: z.objectUtil.addQuestionMarks<z.baseObjectOutputType<T>, any>[k]; } : never, z.baseObjectInputType<T> extends infer T_2 ? { [k_1 in keyof T_2]: z.baseObjectInputType<T>[k_1]; } : never>>;
|
|
562
|
+
declare const nestedObjectOptional: <T extends z.ZodRawShape>(fieldName: string, schema: z.ZodObject<T>, defaultValue: z.infer<typeof schema>) => z.ZodDefault<z.ZodOptional<z.ZodObject<T, z.UnknownKeysParam, z.ZodTypeAny, z.objectUtil.addQuestionMarks<z.baseObjectOutputType<T>, any> extends infer T_1 ? { [k in keyof T_1]: z.objectUtil.addQuestionMarks<z.baseObjectOutputType<T>, any>[k]; } : never, z.baseObjectInputType<T> extends infer T_2 ? { [k_1 in keyof T_2]: z.baseObjectInputType<T>[k_1]; } : never>>>;
|
|
563
|
+
declare const dynamicJsonSchema: (fieldName: string, defaultValue?: Record<string, unknown>) => z.ZodDefault<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
564
|
+
declare const nestedArrayOfObjectMandatory: <T extends z.ZodRawShape>(fieldName: string, schema: z.ZodObject<T>, defaultValue?: z.infer<typeof schema>[], min?: number, max?: number) => z.ZodDefault<z.ZodArray<z.ZodObject<T, z.UnknownKeysParam, z.ZodTypeAny, z.objectUtil.addQuestionMarks<z.baseObjectOutputType<T>, any> extends infer T_1 ? { [k in keyof T_1]: z.objectUtil.addQuestionMarks<z.baseObjectOutputType<T>, any>[k]; } : never, z.baseObjectInputType<T> extends infer T_2 ? { [k_1 in keyof T_2]: z.baseObjectInputType<T>[k_1]; } : never>, "many">>;
|
|
565
|
+
declare const nestedArrayOfObjectsOptional: <T extends z.ZodRawShape>(fieldName: string, schema: z.ZodObject<T>, defaultValue?: z.infer<typeof schema>[], min?: number, max?: number) => z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<T, z.UnknownKeysParam, z.ZodTypeAny, z.objectUtil.addQuestionMarks<z.baseObjectOutputType<T>, any> extends infer T_1 ? { [k in keyof T_1]: z.objectUtil.addQuestionMarks<z.baseObjectOutputType<T>, any>[k]; } : never, z.baseObjectInputType<T> extends infer T_2 ? { [k_1 in keyof T_2]: z.baseObjectInputType<T>[k_1]; } : never>, "many">>>;
|
|
566
|
+
declare const single_select_mandatory: (fieldName: string) => z.ZodEffects<z.ZodString, string, string>;
|
|
567
|
+
declare const single_select_optional: (fieldName: string) => z.ZodEffects<z.ZodString, string, string>;
|
|
568
|
+
declare const multi_select_mandatory: (fieldName: string, min?: number, max?: number, defaultValue?: string[]) => z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
569
|
+
declare const multi_select_optional: (fieldName: string, max?: number, defaultValue?: string[]) => z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
570
|
+
|
|
571
|
+
declare const OrderBySchema: z.ZodArray<z.ZodObject<{
|
|
572
|
+
name: z.ZodEffects<z.ZodString, string, string>;
|
|
573
|
+
field: z.ZodEffects<z.ZodString, string, string>;
|
|
574
|
+
direction: z.ZodType<OrderBy, z.ZodTypeDef, OrderBy>;
|
|
575
|
+
}, "strip", z.ZodTypeAny, {
|
|
576
|
+
name: string;
|
|
577
|
+
field: string;
|
|
578
|
+
direction: OrderBy;
|
|
579
|
+
}, {
|
|
580
|
+
name: string;
|
|
581
|
+
field: string;
|
|
582
|
+
direction: OrderBy;
|
|
583
|
+
}>, "many">;
|
|
584
|
+
declare const BaseQuerySchema: z.ZodObject<{
|
|
585
|
+
search: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
|
|
586
|
+
status: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof Status>, "many">>>;
|
|
587
|
+
paging: z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof PAGING>>>;
|
|
588
|
+
page_count: z.ZodEffects<z.ZodDefault<z.ZodOptional<z.ZodNumber>>, number, unknown>;
|
|
589
|
+
page_index: z.ZodEffects<z.ZodDefault<z.ZodOptional<z.ZodNumber>>, number, unknown>;
|
|
590
|
+
load_parents: z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof LoadParents>>>;
|
|
591
|
+
load_parents_list: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
592
|
+
load_child: z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof LoadChild>>>;
|
|
593
|
+
load_child_list: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
594
|
+
load_child_count: z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof LoadChildCount>>>;
|
|
595
|
+
load_child_count_list: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
596
|
+
include_details: z.ZodDefault<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
597
|
+
where_relations: z.ZodDefault<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
598
|
+
order_by: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
599
|
+
name: z.ZodEffects<z.ZodString, string, string>;
|
|
600
|
+
field: z.ZodEffects<z.ZodString, string, string>;
|
|
601
|
+
direction: z.ZodType<OrderBy, z.ZodTypeDef, OrderBy>;
|
|
602
|
+
}, "strip", z.ZodTypeAny, {
|
|
603
|
+
name: string;
|
|
604
|
+
field: string;
|
|
605
|
+
direction: OrderBy;
|
|
606
|
+
}, {
|
|
607
|
+
name: string;
|
|
608
|
+
field: string;
|
|
609
|
+
direction: OrderBy;
|
|
610
|
+
}>, "many">>>;
|
|
611
|
+
include_master_data: z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof YesNo>>>;
|
|
612
|
+
date_format_id: z.ZodEffects<z.ZodString, string, string>;
|
|
613
|
+
time_zone_id: z.ZodEffects<z.ZodString, string, string>;
|
|
614
|
+
}, "strip", z.ZodTypeAny, {
|
|
615
|
+
search: string;
|
|
616
|
+
load_child: LoadChild;
|
|
617
|
+
load_parents: LoadParents;
|
|
618
|
+
paging: PAGING;
|
|
619
|
+
page_index: number;
|
|
620
|
+
page_count: number;
|
|
621
|
+
status: Status[];
|
|
622
|
+
load_parents_list: string[];
|
|
623
|
+
load_child_list: string[];
|
|
624
|
+
load_child_count: LoadChildCount;
|
|
625
|
+
load_child_count_list: string[];
|
|
626
|
+
include_details: Record<string, any>;
|
|
627
|
+
where_relations: Record<string, any>;
|
|
628
|
+
order_by: {
|
|
629
|
+
name: string;
|
|
630
|
+
field: string;
|
|
631
|
+
direction: OrderBy;
|
|
632
|
+
}[];
|
|
633
|
+
include_master_data: YesNo;
|
|
634
|
+
date_format_id: string;
|
|
635
|
+
time_zone_id: string;
|
|
636
|
+
}, {
|
|
637
|
+
date_format_id: string;
|
|
638
|
+
time_zone_id: string;
|
|
639
|
+
search?: string | undefined;
|
|
640
|
+
load_child?: LoadChild | undefined;
|
|
641
|
+
load_parents?: LoadParents | undefined;
|
|
642
|
+
paging?: PAGING | undefined;
|
|
643
|
+
page_index?: unknown;
|
|
644
|
+
page_count?: unknown;
|
|
645
|
+
status?: Status[] | undefined;
|
|
646
|
+
load_parents_list?: string[] | undefined;
|
|
647
|
+
load_child_list?: string[] | undefined;
|
|
648
|
+
load_child_count?: LoadChildCount | undefined;
|
|
649
|
+
load_child_count_list?: string[] | undefined;
|
|
650
|
+
include_details?: Record<string, any> | undefined;
|
|
651
|
+
where_relations?: Record<string, any> | undefined;
|
|
652
|
+
order_by?: {
|
|
653
|
+
name: string;
|
|
654
|
+
field: string;
|
|
655
|
+
direction: OrderBy;
|
|
656
|
+
}[] | undefined;
|
|
657
|
+
include_master_data?: YesNo | undefined;
|
|
658
|
+
}>;
|
|
659
|
+
type BaseQueryDTO = z.infer<typeof BaseQuerySchema>;
|
|
660
|
+
declare const MongoBaseQuerySchema: z.ZodObject<{
|
|
661
|
+
search: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
|
|
662
|
+
paging: z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof PAGING>>>;
|
|
663
|
+
page_count: z.ZodEffects<z.ZodDefault<z.ZodOptional<z.ZodNumber>>, number, unknown>;
|
|
664
|
+
page_index: z.ZodEffects<z.ZodDefault<z.ZodOptional<z.ZodNumber>>, number, unknown>;
|
|
665
|
+
login_from: z.ZodType<LoginFrom, z.ZodTypeDef, LoginFrom>;
|
|
666
|
+
date_format_id: z.ZodEffects<z.ZodString, string, string>;
|
|
667
|
+
time_zone_id: z.ZodEffects<z.ZodString, string, string>;
|
|
668
|
+
}, "strip", z.ZodTypeAny, {
|
|
669
|
+
search: string;
|
|
670
|
+
paging: PAGING;
|
|
671
|
+
page_index: number;
|
|
672
|
+
page_count: number;
|
|
673
|
+
date_format_id: string;
|
|
674
|
+
time_zone_id: string;
|
|
675
|
+
login_from: LoginFrom;
|
|
676
|
+
}, {
|
|
677
|
+
date_format_id: string;
|
|
678
|
+
time_zone_id: string;
|
|
679
|
+
login_from: LoginFrom;
|
|
680
|
+
search?: string | undefined;
|
|
681
|
+
paging?: PAGING | undefined;
|
|
682
|
+
page_index?: unknown;
|
|
683
|
+
page_count?: unknown;
|
|
684
|
+
}>;
|
|
685
|
+
type MongoBaseQueryDTO = z.infer<typeof MongoBaseQuerySchema>;
|
|
686
|
+
|
|
687
|
+
interface MasterMainIndustry extends Record<string, unknown> {
|
|
688
|
+
industry_id: string;
|
|
689
|
+
industry_name: string;
|
|
690
|
+
industry_description?: string;
|
|
691
|
+
status: Status;
|
|
692
|
+
added_date_time: string;
|
|
693
|
+
modified_date_time: string;
|
|
694
|
+
UserOrganisation: UserOrganisation[];
|
|
695
|
+
_count?: {
|
|
696
|
+
UserOrganisation: number;
|
|
697
|
+
};
|
|
698
|
+
}
|
|
699
|
+
|
|
700
|
+
interface MasterMainCurrency extends Record<string, unknown> {
|
|
701
|
+
currency_id: string;
|
|
702
|
+
currency_name: string;
|
|
703
|
+
currency_symbol?: string;
|
|
704
|
+
currency_code: string;
|
|
705
|
+
status: Status;
|
|
706
|
+
added_date_time: string;
|
|
707
|
+
modified_date_time: string;
|
|
708
|
+
country_id: string;
|
|
709
|
+
MasterMainCountry?: MasterMainCountry;
|
|
710
|
+
UserOrganisation: UserOrganisation[];
|
|
711
|
+
_count?: {
|
|
712
|
+
UserOrganisation: number;
|
|
713
|
+
};
|
|
714
|
+
}
|
|
715
|
+
|
|
716
|
+
interface MasterMainTimeZone extends Record<string, unknown> {
|
|
717
|
+
time_zone_id: string;
|
|
718
|
+
time_zone_code: string;
|
|
719
|
+
time_zone_identifier?: string;
|
|
720
|
+
time_zone_abbrevation: string;
|
|
721
|
+
time_zone_utc: string;
|
|
722
|
+
time_zone_offset: string;
|
|
723
|
+
status: Status;
|
|
724
|
+
added_date_time: string;
|
|
725
|
+
modified_date_time: string;
|
|
726
|
+
country_id: string;
|
|
727
|
+
MasterMainCountry?: MasterMainCountry;
|
|
728
|
+
UserOrganisation: UserOrganisation[];
|
|
729
|
+
_count?: {
|
|
730
|
+
UserOrganisation: number;
|
|
731
|
+
};
|
|
732
|
+
}
|
|
733
|
+
|
|
734
|
+
interface MasterMainState extends Record<string, unknown> {
|
|
735
|
+
state_id: string;
|
|
736
|
+
state_name: string;
|
|
737
|
+
state_code?: string;
|
|
738
|
+
status: Status;
|
|
739
|
+
added_date_time: string;
|
|
740
|
+
modified_date_time: string;
|
|
741
|
+
country_id: string;
|
|
742
|
+
MasterMainCountry?: MasterMainCountry;
|
|
743
|
+
UserOrganisation: UserOrganisation[];
|
|
744
|
+
_count?: {
|
|
745
|
+
UserOrganisation: number;
|
|
746
|
+
MasterMainLandMark: number;
|
|
747
|
+
};
|
|
748
|
+
}
|
|
749
|
+
|
|
750
|
+
interface MasterMainCountry extends Record<string, unknown> {
|
|
751
|
+
country_id: string;
|
|
752
|
+
country_name: string;
|
|
753
|
+
country_code: string;
|
|
754
|
+
country_mobile_code: string;
|
|
755
|
+
status: Status;
|
|
756
|
+
added_date_time: string;
|
|
757
|
+
modified_date_time: string;
|
|
758
|
+
MasterMainCurrency: MasterMainCurrency[];
|
|
759
|
+
MasterMainTimeZone: MasterMainTimeZone[];
|
|
760
|
+
MasterMainState: MasterMainState[];
|
|
761
|
+
UserOrganisation: UserOrganisation[];
|
|
762
|
+
_count?: {
|
|
763
|
+
MasterMainCurrency: number;
|
|
764
|
+
MasterMainTimeZone: number;
|
|
765
|
+
MasterMainState: number;
|
|
766
|
+
UserOrganisation: number;
|
|
767
|
+
MasterMainLandMark: number;
|
|
768
|
+
};
|
|
769
|
+
}
|
|
770
|
+
|
|
771
|
+
interface MasterMainDateFormat extends Record<string, unknown> {
|
|
772
|
+
date_format_id: string;
|
|
773
|
+
date_format_date: string;
|
|
774
|
+
date_format_time: string;
|
|
775
|
+
status: Status;
|
|
776
|
+
added_date_time: string;
|
|
777
|
+
modified_date_time: string;
|
|
778
|
+
UserOrganisation: UserOrganisation[];
|
|
779
|
+
_count?: {
|
|
780
|
+
UserOrganisation: number;
|
|
781
|
+
};
|
|
782
|
+
}
|
|
783
|
+
|
|
784
|
+
interface MasterMainUnitDistance extends Record<string, unknown> {
|
|
785
|
+
unit_id: string;
|
|
786
|
+
unit_name: string;
|
|
787
|
+
unit_code: string;
|
|
788
|
+
status: Status;
|
|
789
|
+
added_date_time: string;
|
|
790
|
+
modified_date_time: string;
|
|
791
|
+
UserOrganisation: UserOrganisation[];
|
|
792
|
+
_count?: {
|
|
793
|
+
UserOrganisation: number;
|
|
794
|
+
};
|
|
795
|
+
}
|
|
796
|
+
|
|
797
|
+
interface MasterMainUnitMileage extends Record<string, unknown> {
|
|
798
|
+
unit_id: string;
|
|
799
|
+
unit_name: string;
|
|
800
|
+
unit_code: string;
|
|
801
|
+
status: Status;
|
|
802
|
+
added_date_time: string;
|
|
803
|
+
modified_date_time: string;
|
|
804
|
+
UserOrganisation: UserOrganisation[];
|
|
805
|
+
_count?: {
|
|
806
|
+
UserOrganisation: number;
|
|
807
|
+
};
|
|
808
|
+
}
|
|
809
|
+
|
|
810
|
+
interface MasterMainUnitVolume extends Record<string, unknown> {
|
|
811
|
+
unit_id: string;
|
|
812
|
+
unit_name: string;
|
|
813
|
+
unit_code: string;
|
|
814
|
+
status: Status;
|
|
815
|
+
added_date_time: string;
|
|
816
|
+
modified_date_time: string;
|
|
817
|
+
UserOrganisation: UserOrganisation[];
|
|
818
|
+
_count?: {
|
|
819
|
+
UserOrganisation: number;
|
|
820
|
+
};
|
|
821
|
+
}
|
|
822
|
+
|
|
823
|
+
interface MasterDriver extends Record<string, unknown> {
|
|
824
|
+
driver_id: string;
|
|
825
|
+
driver_code?: string;
|
|
826
|
+
driver_first_name: string;
|
|
827
|
+
driver_last_name?: string;
|
|
828
|
+
driver_mobile?: string;
|
|
829
|
+
driver_email?: string;
|
|
830
|
+
driver_license?: string;
|
|
831
|
+
driver_pan?: string;
|
|
832
|
+
driver_aadhaar?: string;
|
|
833
|
+
password?: string;
|
|
834
|
+
can_login: YesNo;
|
|
835
|
+
driver_image_url?: string;
|
|
836
|
+
driver_image_key?: string;
|
|
837
|
+
driver_aadhaar_front_image_url?: string;
|
|
838
|
+
driver_aadhaar_front_image_key?: string;
|
|
839
|
+
driver_aadhaar_back_image_url?: string;
|
|
840
|
+
driver_aadhaar_back_image_key?: string;
|
|
841
|
+
driver_pan_image_url?: string;
|
|
842
|
+
driver_pan_image_key?: string;
|
|
843
|
+
driver_license_back_image_url?: string;
|
|
844
|
+
driver_license_back_image_key?: string;
|
|
845
|
+
driver_license_front_image_url?: string;
|
|
846
|
+
driver_license_front_image_key?: string;
|
|
847
|
+
status: Status;
|
|
848
|
+
added_date_time: string;
|
|
849
|
+
modified_date_time: string;
|
|
850
|
+
vehicle_id?: string;
|
|
851
|
+
MasterVehicle?: MasterVehicle;
|
|
852
|
+
assign_vehicle_date?: string;
|
|
853
|
+
is_vehicle_assigned: YesNo;
|
|
854
|
+
AssignRemoveDriverHistory?: AssignRemoveDriverHistory[];
|
|
855
|
+
organisation_id: string;
|
|
856
|
+
UserOrganisation?: UserOrganisation;
|
|
857
|
+
Dummy_MasterVehicle?: MasterVehicle[];
|
|
858
|
+
_count?: {
|
|
859
|
+
AssignRemoveDriverHistory: number;
|
|
860
|
+
TripGeofenceToGeofence: number;
|
|
861
|
+
GPSGeofenceTransaction: number;
|
|
862
|
+
GPSFuelVehicleDailySummary: number;
|
|
863
|
+
GPSFuelVehicleRefill: number;
|
|
864
|
+
GPSFuelVehicleRemoval: number;
|
|
865
|
+
GPSLockRelayLog: number;
|
|
866
|
+
GPSLockDigitalDoorLog: number;
|
|
867
|
+
GPSGeofenceTransactionSummary: number;
|
|
868
|
+
Inspection: number;
|
|
869
|
+
IncidentManagement: number;
|
|
870
|
+
IssueManagement: number;
|
|
871
|
+
FleetServiceSchedule: number;
|
|
872
|
+
FleetServiceJobCard: number;
|
|
873
|
+
FleetReminders: number;
|
|
874
|
+
FleetFuelRefills: number;
|
|
875
|
+
FleetFuelRemovals: number;
|
|
876
|
+
FleetTyreDamageRepair: number;
|
|
877
|
+
FleetTyreRotation: number;
|
|
878
|
+
AlertDriverLink: number;
|
|
879
|
+
};
|
|
880
|
+
}
|
|
881
|
+
interface AssignRemoveDriverHistory extends Record<string, unknown> {
|
|
882
|
+
history_id: string;
|
|
883
|
+
assign_date?: string;
|
|
884
|
+
remove_date?: string;
|
|
885
|
+
status: Status;
|
|
886
|
+
added_date_time: string;
|
|
887
|
+
modified_date_time: string;
|
|
888
|
+
vehicle_id: string;
|
|
889
|
+
Vehicle?: MasterVehicle;
|
|
890
|
+
driver_id: string;
|
|
891
|
+
MasterDriver?: MasterDriver;
|
|
892
|
+
}
|
|
893
|
+
|
|
894
|
+
interface OrganisationSubCompany extends Record<string, unknown> {
|
|
895
|
+
organisation_sub_company_id: string;
|
|
896
|
+
sub_company_name: string;
|
|
897
|
+
sub_company_logo_url?: string;
|
|
898
|
+
sub_company_logo_key?: string;
|
|
899
|
+
sub_company_GSTIN: string;
|
|
900
|
+
status: Status;
|
|
901
|
+
added_date_time: string;
|
|
902
|
+
modified_date_time: string;
|
|
903
|
+
organisation_id: string;
|
|
904
|
+
UserOrganisation: UserOrganisation;
|
|
905
|
+
MasterVehicle: MasterVehicle[];
|
|
906
|
+
_count?: {
|
|
907
|
+
MasterVehicle: number;
|
|
908
|
+
};
|
|
909
|
+
}
|
|
910
|
+
|
|
911
|
+
interface OrganisationBranch extends Record<string, unknown> {
|
|
912
|
+
organisation_branch_id: string;
|
|
913
|
+
organisation_branch_name: string;
|
|
914
|
+
organisation_branch_city: string;
|
|
915
|
+
organisation_branch_address: string;
|
|
916
|
+
status: Status;
|
|
917
|
+
added_date_time: string;
|
|
918
|
+
modified_date_time: string;
|
|
919
|
+
organisation_id: string;
|
|
920
|
+
UserOrganisation: UserOrganisation;
|
|
921
|
+
MasterVehicle: MasterVehicle[];
|
|
922
|
+
_count?: {
|
|
923
|
+
MasterVehicle: number;
|
|
924
|
+
};
|
|
925
|
+
}
|
|
926
|
+
|
|
927
|
+
interface OrganisationColor extends Record<string, unknown> {
|
|
928
|
+
organisation_color_id: string;
|
|
929
|
+
organisation_color_name: string;
|
|
930
|
+
organisation_color_code: string;
|
|
931
|
+
status: Status;
|
|
932
|
+
added_date_time: string;
|
|
933
|
+
modified_date_time: string;
|
|
934
|
+
organisation_id?: string;
|
|
935
|
+
UserOrganisation?: UserOrganisation;
|
|
936
|
+
MasterVehicle: MasterVehicle[];
|
|
937
|
+
_count?: {
|
|
938
|
+
MasterVehicle: number;
|
|
939
|
+
};
|
|
940
|
+
}
|
|
941
|
+
|
|
942
|
+
interface OrganisationTag extends Record<string, unknown> {
|
|
943
|
+
organisation_tag_id: string;
|
|
944
|
+
organisation_tag_name: string;
|
|
945
|
+
status: Status;
|
|
946
|
+
added_date_time: string;
|
|
947
|
+
modified_date_time: string;
|
|
948
|
+
organisation_id: string;
|
|
949
|
+
UserOrganisation: UserOrganisation;
|
|
950
|
+
MasterVehicle: MasterVehicle[];
|
|
951
|
+
_count?: {
|
|
952
|
+
MasterVehicle: number;
|
|
953
|
+
};
|
|
954
|
+
}
|
|
955
|
+
|
|
956
|
+
interface OrganisationGroup extends Record<string, unknown> {
|
|
957
|
+
organisation_group_id: string;
|
|
958
|
+
organisation_group_name: string;
|
|
959
|
+
status: Status;
|
|
960
|
+
added_date_time: string;
|
|
961
|
+
modified_date_time: string;
|
|
962
|
+
organisation_id: string;
|
|
963
|
+
UserOrganisation?: UserOrganisation;
|
|
964
|
+
VehicleOrganisationGroupLink: VehicleOrganisationGroupLink[];
|
|
965
|
+
_count?: {
|
|
966
|
+
VehicleOrganisationGroupLink: number;
|
|
967
|
+
};
|
|
968
|
+
}
|
|
969
|
+
interface VehicleOrganisationGroupLink extends Record<string, unknown> {
|
|
970
|
+
group_link_id: string;
|
|
971
|
+
status: Status;
|
|
972
|
+
added_date_time: string;
|
|
973
|
+
modified_date_time: string;
|
|
974
|
+
organisation_group_id: string;
|
|
975
|
+
OrganisationGroup?: OrganisationGroup;
|
|
976
|
+
vehicle_id: string;
|
|
977
|
+
Vehicle?: MasterVehicle;
|
|
978
|
+
}
|
|
979
|
+
|
|
980
|
+
interface MasterVehicleSubModel extends Record<string, unknown> {
|
|
981
|
+
vehicle_sub_model_id: string;
|
|
982
|
+
vehicle_sub_model: string;
|
|
983
|
+
status: Status;
|
|
984
|
+
added_date_time: string;
|
|
985
|
+
modified_date_time: string;
|
|
986
|
+
organisation_id?: string;
|
|
987
|
+
UserOrganisation?: UserOrganisation;
|
|
988
|
+
vehicle_model_id: string;
|
|
989
|
+
MasterVehicleModel?: MasterVehicleModel;
|
|
990
|
+
MasterVehicle: MasterVehicle[];
|
|
991
|
+
_count?: {
|
|
992
|
+
MasterVehicle: number;
|
|
993
|
+
};
|
|
994
|
+
}
|
|
995
|
+
|
|
996
|
+
interface MasterVehicleModel extends Record<string, unknown> {
|
|
997
|
+
vehicle_model_id: string;
|
|
998
|
+
vehicle_model: string;
|
|
999
|
+
status: Status;
|
|
1000
|
+
added_date_time: string;
|
|
1001
|
+
modified_date_time: string;
|
|
1002
|
+
vehicle_make_id: string;
|
|
1003
|
+
MasterVehicleMake: MasterVehicleMake;
|
|
1004
|
+
organisation_id?: string;
|
|
1005
|
+
UserOrganisation?: UserOrganisation;
|
|
1006
|
+
MasterVehicleSubModel: MasterVehicleSubModel[];
|
|
1007
|
+
MasterVehicle: MasterVehicle[];
|
|
1008
|
+
_count?: {
|
|
1009
|
+
MasterVehicleSubModel: number;
|
|
1010
|
+
MasterVehicle: number;
|
|
1011
|
+
};
|
|
1012
|
+
}
|
|
1013
|
+
|
|
1014
|
+
interface MasterVehicleMake extends Record<string, unknown> {
|
|
1015
|
+
vehicle_make_id: string;
|
|
1016
|
+
vehicle_make: string;
|
|
1017
|
+
status: Status;
|
|
1018
|
+
added_date_time: string;
|
|
1019
|
+
modified_date_time: string;
|
|
1020
|
+
organisation_id?: string;
|
|
1021
|
+
UserOrganisation?: UserOrganisation;
|
|
1022
|
+
MasterVehicleModel: MasterVehicleModel[];
|
|
1023
|
+
MasterVehicle: MasterVehicle[];
|
|
1024
|
+
_count?: {
|
|
1025
|
+
MasterVehicleModel: number;
|
|
1026
|
+
MasterVehicle: number;
|
|
1027
|
+
};
|
|
1028
|
+
}
|
|
1029
|
+
|
|
1030
|
+
interface MasterVehicleStatusType extends Record<string, unknown> {
|
|
1031
|
+
vehicle_status_type_id: string;
|
|
1032
|
+
vehicle_status_type: string;
|
|
1033
|
+
status: Status;
|
|
1034
|
+
added_date_time: string;
|
|
1035
|
+
modified_date_time: string;
|
|
1036
|
+
organisation_id?: string;
|
|
1037
|
+
UserOrganisation?: UserOrganisation;
|
|
1038
|
+
MasterVehicle: MasterVehicle[];
|
|
1039
|
+
_count?: {
|
|
1040
|
+
MasterVehicle: number;
|
|
1041
|
+
};
|
|
1042
|
+
}
|
|
1043
|
+
|
|
1044
|
+
interface MasterVehicleOwnershipType extends Record<string, unknown> {
|
|
1045
|
+
vehicle_ownership_type_id: string;
|
|
1046
|
+
vehicle_ownership_type: string;
|
|
1047
|
+
status: Status;
|
|
1048
|
+
added_date_time: string;
|
|
1049
|
+
modified_date_time: string;
|
|
1050
|
+
organisation_id?: string;
|
|
1051
|
+
UserOrganisation?: UserOrganisation;
|
|
1052
|
+
MasterVehicle: MasterVehicle[];
|
|
1053
|
+
_count?: {
|
|
1054
|
+
MasterVehicle: number;
|
|
1055
|
+
};
|
|
1056
|
+
}
|
|
1057
|
+
|
|
1058
|
+
interface MasterVehicleType extends Record<string, unknown> {
|
|
1059
|
+
vehicle_type_id: string;
|
|
1060
|
+
vehicle_type: string;
|
|
1061
|
+
status: Status;
|
|
1062
|
+
added_date_time: string;
|
|
1063
|
+
modified_date_time: string;
|
|
1064
|
+
organisation_id?: string;
|
|
1065
|
+
UserOrganisation?: UserOrganisation;
|
|
1066
|
+
MasterVehicle: MasterVehicle[];
|
|
1067
|
+
_count?: {
|
|
1068
|
+
MasterVehicle: number;
|
|
1069
|
+
};
|
|
1070
|
+
}
|
|
1071
|
+
|
|
1072
|
+
interface MasterVehicleFuelType extends Record<string, unknown> {
|
|
1073
|
+
vehicle_fuel_type_id: string;
|
|
1074
|
+
vehicle_fuel_type: string;
|
|
1075
|
+
status: Status;
|
|
1076
|
+
added_date_time: string;
|
|
1077
|
+
modified_date_time: string;
|
|
1078
|
+
organisation_id?: string;
|
|
1079
|
+
UserOrganisation?: UserOrganisation;
|
|
1080
|
+
MasterVehicle: MasterVehicle[];
|
|
1081
|
+
_count?: {
|
|
1082
|
+
MasterVehicle: number;
|
|
1083
|
+
};
|
|
1084
|
+
}
|
|
1085
|
+
|
|
1086
|
+
interface MasterVehicle extends Record<string, unknown> {
|
|
1087
|
+
vehicle_id: string;
|
|
1088
|
+
vehicle_number: string;
|
|
1089
|
+
vehicle_name: string;
|
|
1090
|
+
engine_number?: string;
|
|
1091
|
+
chassis_number?: string;
|
|
1092
|
+
vehicle_make_year?: number;
|
|
1093
|
+
db_instance: string;
|
|
1094
|
+
db_index: string;
|
|
1095
|
+
is_fleet_active: YesNo;
|
|
1096
|
+
is_gps_active: YesNo;
|
|
1097
|
+
is_trip_active: YesNo;
|
|
1098
|
+
vehicle_front_image_url?: string;
|
|
1099
|
+
vehicle_front_image_key?: string;
|
|
1100
|
+
vehicle_plate_image_url?: string;
|
|
1101
|
+
vehicle_plate_image_key?: string;
|
|
1102
|
+
vehicle_full_image_url?: string;
|
|
1103
|
+
vehicle_full_image_key?: string;
|
|
1104
|
+
status: Status;
|
|
1105
|
+
added_date_time: string;
|
|
1106
|
+
modified_date_time: string;
|
|
1107
|
+
is_driver_assigned: YesNo;
|
|
1108
|
+
driver_id?: string;
|
|
1109
|
+
MasterDriver?: MasterDriver;
|
|
1110
|
+
assign_driver_date?: string;
|
|
1111
|
+
AssignRemoveDriverHistory?: AssignRemoveDriverHistory[];
|
|
1112
|
+
is_device_installed: YesNo;
|
|
1113
|
+
device_gps_source?: GPSSource;
|
|
1114
|
+
device_id?: string;
|
|
1115
|
+
MasterDevice?: MasterDevice;
|
|
1116
|
+
assign_device_date?: string;
|
|
1117
|
+
AssignRemoveDeviceHistory?: AssignRemoveDeviceHistory[];
|
|
1118
|
+
country_id?: string;
|
|
1119
|
+
MasterMainCountry?: MasterMainCountry;
|
|
1120
|
+
time_zone_id?: string;
|
|
1121
|
+
MasterMainTimeZone?: MasterMainTimeZone;
|
|
1122
|
+
odometer_reading?: number;
|
|
1123
|
+
odometer_last_change_date?: string;
|
|
1124
|
+
vehicle_details_body_id?: string;
|
|
1125
|
+
VehicleDetailBody?: VehicleDetailBody;
|
|
1126
|
+
vehicle_details_life_cycle_id?: string;
|
|
1127
|
+
VehicleDetailLifeCycle?: VehicleDetailLifeCycle;
|
|
1128
|
+
vehicle_details_purchase_id?: string;
|
|
1129
|
+
VehicleDetailPurchase?: VehicleDetailPurchase;
|
|
1130
|
+
vehicle_details_gps_id?: string;
|
|
1131
|
+
VehicleDetailGPS?: VehicleDetailGPS;
|
|
1132
|
+
vehicle_details_trip_id?: string;
|
|
1133
|
+
VehicleDetailTrip?: VehicleDetailTrip;
|
|
1134
|
+
organisation_id: string;
|
|
1135
|
+
UserOrganisation?: UserOrganisation;
|
|
1136
|
+
organisation_sub_company_id: string;
|
|
1137
|
+
OrganisationSubCompany?: OrganisationSubCompany;
|
|
1138
|
+
organisation_branch_id?: string;
|
|
1139
|
+
OrganisationBranch?: OrganisationBranch;
|
|
1140
|
+
organisation_tag_id?: string;
|
|
1141
|
+
OrganisationTag?: OrganisationTag;
|
|
1142
|
+
organisation_color_id?: string;
|
|
1143
|
+
OrganisationColor?: OrganisationColor;
|
|
1144
|
+
vehicle_make_id?: string;
|
|
1145
|
+
MasterVehicleMake?: MasterVehicleMake;
|
|
1146
|
+
vehicle_model_id?: string;
|
|
1147
|
+
MasterVehicleModel?: MasterVehicleModel;
|
|
1148
|
+
vehicle_sub_model_id?: string;
|
|
1149
|
+
MasterVehicleSubModel?: MasterVehicleSubModel;
|
|
1150
|
+
vehicle_type_id?: string;
|
|
1151
|
+
MasterVehicleType?: MasterVehicleType;
|
|
1152
|
+
vehicle_status_type_id?: string;
|
|
1153
|
+
MasterVehicleStatusType?: MasterVehicleStatusType;
|
|
1154
|
+
vehicle_ownership_type_id?: string;
|
|
1155
|
+
MasterVehicleOwnershipType?: MasterVehicleOwnershipType;
|
|
1156
|
+
vehicle_fuel_type_id?: string;
|
|
1157
|
+
MasterVehicleFuelType?: MasterVehicleFuelType;
|
|
1158
|
+
Dummy_Driver?: MasterDriver[];
|
|
1159
|
+
Dummy_Device?: MasterDevice[];
|
|
1160
|
+
Dummy_VehicleDetailBody?: VehicleDetailBody[];
|
|
1161
|
+
Dummy_VehicleDetailLifeCycle?: VehicleDetailLifeCycle[];
|
|
1162
|
+
Dummy_VehicleDetailPurchase?: VehicleDetailPurchase[];
|
|
1163
|
+
Dummy_VehicleDetailGPS?: VehicleDetailGPS[];
|
|
1164
|
+
Dummy_VehicleDetailTrip?: VehicleDetailTrip[];
|
|
1165
|
+
VehicleOrganisationGroupLink?: VehicleOrganisationGroupLink[];
|
|
1166
|
+
_count?: {
|
|
1167
|
+
VehicleOrganisationGroupLink?: number;
|
|
1168
|
+
AssignRemoveDriverHistory?: number;
|
|
1169
|
+
AssignRemoveDeviceHistory?: number;
|
|
1170
|
+
VehicleOdometerHistory?: number;
|
|
1171
|
+
FleetServiceSchedule?: number;
|
|
1172
|
+
FleetServiceJobCard?: number;
|
|
1173
|
+
FleetReminders?: number;
|
|
1174
|
+
FleetFuelRefills?: number;
|
|
1175
|
+
FleetFuelRemovals?: number;
|
|
1176
|
+
FleetTyreUsageHistory?: number;
|
|
1177
|
+
FleetTyreInspectionScheduleVehicle?: number;
|
|
1178
|
+
FleetTyreInspectionScheduleTracking?: number;
|
|
1179
|
+
FleetTyreInspection?: number;
|
|
1180
|
+
FleetTyreDamageRepair?: number;
|
|
1181
|
+
FleetTyreRotation?: number;
|
|
1182
|
+
FleetTyreRotationDetails?: number;
|
|
1183
|
+
GpsLockRelayLog?: number;
|
|
1184
|
+
GPSLockDigitalDoorLog?: number;
|
|
1185
|
+
TripGeofenceToGeofence?: number;
|
|
1186
|
+
GPSGeofenceTransaction?: number;
|
|
1187
|
+
GPSFuelVehicleDailySummary?: number;
|
|
1188
|
+
GPSFuelVehicleRefill?: number;
|
|
1189
|
+
GPSFuelVehicleRemoval?: number;
|
|
1190
|
+
GPSLiveTrackShareLink?: number;
|
|
1191
|
+
GPSTrackHistoryShareLink?: number;
|
|
1192
|
+
GPSGeofenceTransactionSummary?: number;
|
|
1193
|
+
Trip?: number;
|
|
1194
|
+
AlertVehicleLink?: number;
|
|
1195
|
+
};
|
|
1196
|
+
}
|
|
1197
|
+
interface VehicleDetailBody extends Record<string, unknown> {
|
|
1198
|
+
vehicle_details_body_id: string;
|
|
1199
|
+
vehicle_body_details?: string;
|
|
1200
|
+
vehicle_height?: number;
|
|
1201
|
+
vehicle_width?: number;
|
|
1202
|
+
vehicle_length?: number;
|
|
1203
|
+
vehicle_passenger_capacity?: number;
|
|
1204
|
+
vehicle_cargo_volume?: number;
|
|
1205
|
+
vehicle_maximum_weight_capacity?: number;
|
|
1206
|
+
vehicle_total_fuel_quantity?: number;
|
|
1207
|
+
vehicle_tank_1_fuel_quantity?: number;
|
|
1208
|
+
vehicle_tank_2_fuel_quantity?: number;
|
|
1209
|
+
status: Status;
|
|
1210
|
+
added_date_time: string;
|
|
1211
|
+
modified_date_time: string;
|
|
1212
|
+
vehicle_id?: string;
|
|
1213
|
+
Vehicle?: MasterVehicle;
|
|
1214
|
+
_count?: object;
|
|
1215
|
+
}
|
|
1216
|
+
interface VehicleDetailLifeCycle extends Record<string, unknown> {
|
|
1217
|
+
vehicle_details_life_cycle_id: string;
|
|
1218
|
+
service_start_date?: string;
|
|
1219
|
+
service_start_odometer_reading?: number;
|
|
1220
|
+
service_end_date?: string;
|
|
1221
|
+
service_end_odometer_reading?: number;
|
|
1222
|
+
life_estimate_max_month_year?: string;
|
|
1223
|
+
life_estimate_max_odometer_reading?: number;
|
|
1224
|
+
life_expiry?: LifeExpiry;
|
|
1225
|
+
life_expiry_message?: string;
|
|
1226
|
+
life_expiry_note?: string;
|
|
1227
|
+
status: Status;
|
|
1228
|
+
added_date_time: string;
|
|
1229
|
+
modified_date_time: string;
|
|
1230
|
+
vehicle_id?: string;
|
|
1231
|
+
Vehicle?: MasterVehicle;
|
|
1232
|
+
_count?: object;
|
|
1233
|
+
}
|
|
1234
|
+
interface VehicleDetailPurchase extends Record<string, unknown> {
|
|
1235
|
+
vehicle_details_purchase_id: string;
|
|
1236
|
+
purchase_date?: string;
|
|
1237
|
+
purchase_notes?: string;
|
|
1238
|
+
purchase_vehicle_type?: PurchaseVehicleType;
|
|
1239
|
+
purchase_type?: PurchaseType;
|
|
1240
|
+
purchase_total_amount?: number;
|
|
1241
|
+
loan_amount?: number;
|
|
1242
|
+
loan_down_payment?: number;
|
|
1243
|
+
loan_interest_rate?: number;
|
|
1244
|
+
loan_no_of_installments?: number;
|
|
1245
|
+
loan_first_payment_date?: string;
|
|
1246
|
+
loan_last_payment_date?: string;
|
|
1247
|
+
loan_monthly_emi?: number;
|
|
1248
|
+
loan_emi_date?: number;
|
|
1249
|
+
lease_start_date?: string;
|
|
1250
|
+
lease_end_date?: string;
|
|
1251
|
+
lease_security_deposit_amount?: number;
|
|
1252
|
+
lease_monthly_emi_amount?: number;
|
|
1253
|
+
lease_emi_date?: number;
|
|
1254
|
+
warranty_expiration_date?: string;
|
|
1255
|
+
warranty_max_odometer_reading?: number;
|
|
1256
|
+
warranty_exchange_date?: string;
|
|
1257
|
+
status: Status;
|
|
1258
|
+
added_date_time: string;
|
|
1259
|
+
modified_date_time: string;
|
|
1260
|
+
vehicle_id?: string;
|
|
1261
|
+
Vehicle?: MasterVehicle;
|
|
1262
|
+
purchase_vendor_id?: string;
|
|
1263
|
+
loan_lender_id?: string;
|
|
1264
|
+
lease_vendor_id?: string;
|
|
1265
|
+
_count?: object;
|
|
1266
|
+
}
|
|
1267
|
+
interface VehicleDetailGPS extends Record<string, unknown> {
|
|
1268
|
+
vehicle_details_gps_id: string;
|
|
1269
|
+
serial_no?: number;
|
|
1270
|
+
device_identifier?: string;
|
|
1271
|
+
device_gps_source?: GPSSource;
|
|
1272
|
+
traccar_protocol?: string;
|
|
1273
|
+
custom_protocol?: string;
|
|
1274
|
+
api_details?: string;
|
|
1275
|
+
temperature?: YesNo;
|
|
1276
|
+
duel_temperature?: YesNo;
|
|
1277
|
+
fuel?: YesNo;
|
|
1278
|
+
fuel_bluetooth?: YesNo;
|
|
1279
|
+
fuel_tank_size?: number;
|
|
1280
|
+
gps_lock_relay?: YesNo;
|
|
1281
|
+
gps_door_locker?: YesNo;
|
|
1282
|
+
door_sensor?: YesNo;
|
|
1283
|
+
genset_sensor?: YesNo;
|
|
1284
|
+
dashcam_sensor?: YesNo;
|
|
1285
|
+
is_rear_cam?: YesNo;
|
|
1286
|
+
is_front_cam?: YesNo;
|
|
1287
|
+
camera_extra_count?: number;
|
|
1288
|
+
gps_source?: string;
|
|
1289
|
+
attributes?: object;
|
|
1290
|
+
raw?: string;
|
|
1291
|
+
protocol?: string;
|
|
1292
|
+
api_code?: string;
|
|
1293
|
+
fuel_mapping?: object;
|
|
1294
|
+
fuel_values?: object;
|
|
1295
|
+
st?: string;
|
|
1296
|
+
dt?: string;
|
|
1297
|
+
ft?: string;
|
|
1298
|
+
sts?: number;
|
|
1299
|
+
dts?: number;
|
|
1300
|
+
fts?: number;
|
|
1301
|
+
la?: number;
|
|
1302
|
+
lo?: number;
|
|
1303
|
+
al?: number;
|
|
1304
|
+
s?: number;
|
|
1305
|
+
c?: number;
|
|
1306
|
+
i?: boolean;
|
|
1307
|
+
m?: boolean;
|
|
1308
|
+
os?: boolean;
|
|
1309
|
+
p?: boolean;
|
|
1310
|
+
v?: boolean;
|
|
1311
|
+
b?: number;
|
|
1312
|
+
b_r?: string;
|
|
1313
|
+
f1_r?: string;
|
|
1314
|
+
f2_r?: string;
|
|
1315
|
+
f1?: number;
|
|
1316
|
+
f2?: number;
|
|
1317
|
+
f1_f?: string;
|
|
1318
|
+
t1_r?: string;
|
|
1319
|
+
t2_r?: string;
|
|
1320
|
+
t1?: number;
|
|
1321
|
+
t2?: number;
|
|
1322
|
+
t_f?: string;
|
|
1323
|
+
s_r_l?: boolean;
|
|
1324
|
+
s_d_l?: boolean;
|
|
1325
|
+
s_d?: boolean;
|
|
1326
|
+
s_g?: boolean;
|
|
1327
|
+
f_dt_os?: string;
|
|
1328
|
+
f_dts_os?: number;
|
|
1329
|
+
s_la_os?: number;
|
|
1330
|
+
s_lo_os?: number;
|
|
1331
|
+
s_gl_os?: string;
|
|
1332
|
+
s_lid_os?: string;
|
|
1333
|
+
s_ll_os?: string;
|
|
1334
|
+
s_ld_os?: number;
|
|
1335
|
+
f_dt_s?: string;
|
|
1336
|
+
f_dts_s?: number;
|
|
1337
|
+
s_la_s?: number;
|
|
1338
|
+
s_lo_s?: number;
|
|
1339
|
+
s_gl_s?: string;
|
|
1340
|
+
s_lid_s?: string;
|
|
1341
|
+
s_ll_s?: string;
|
|
1342
|
+
s_ld_s?: number;
|
|
1343
|
+
f_dt_i?: string;
|
|
1344
|
+
f_dts_i?: number;
|
|
1345
|
+
s_la_i?: number;
|
|
1346
|
+
s_lo_i?: number;
|
|
1347
|
+
s_gl_i?: string;
|
|
1348
|
+
s_lid_i?: string;
|
|
1349
|
+
s_ll_i?: string;
|
|
1350
|
+
s_ld_i?: number;
|
|
1351
|
+
f_dt_g?: string;
|
|
1352
|
+
f_dts_g?: number;
|
|
1353
|
+
s_la_g?: number;
|
|
1354
|
+
s_lo_g?: number;
|
|
1355
|
+
s_gl_g?: string;
|
|
1356
|
+
s_lid_g?: string;
|
|
1357
|
+
s_ll_g?: string;
|
|
1358
|
+
s_ld_g?: number;
|
|
1359
|
+
f_dt_d?: string;
|
|
1360
|
+
f_dts_d?: number;
|
|
1361
|
+
s_la_d?: number;
|
|
1362
|
+
s_lo_d?: number;
|
|
1363
|
+
s_gl_d?: string;
|
|
1364
|
+
s_lid_d?: string;
|
|
1365
|
+
s_ll_d?: string;
|
|
1366
|
+
s_ld_d?: number;
|
|
1367
|
+
gl?: string;
|
|
1368
|
+
lid?: string;
|
|
1369
|
+
ll?: string;
|
|
1370
|
+
ld?: number;
|
|
1371
|
+
km_today?: number;
|
|
1372
|
+
km_this_week_sunday?: number;
|
|
1373
|
+
km_this_week_monday?: number;
|
|
1374
|
+
km_this_month?: number;
|
|
1375
|
+
km_this_year?: number;
|
|
1376
|
+
km_this_financial_year?: number;
|
|
1377
|
+
km_slotted_today?: number;
|
|
1378
|
+
km_slotted_this_week_sunday?: number;
|
|
1379
|
+
km_slotted_this_week_monday?: number;
|
|
1380
|
+
km_slotted_this_month?: number;
|
|
1381
|
+
km_slotted_this_year?: number;
|
|
1382
|
+
km_slotted_this_financial_year?: number;
|
|
1383
|
+
km_total_distance?: number;
|
|
1384
|
+
is_valid?: boolean;
|
|
1385
|
+
is_live?: boolean;
|
|
1386
|
+
is_recent?: boolean;
|
|
1387
|
+
status: Status;
|
|
1388
|
+
added_date_time: string;
|
|
1389
|
+
modified_date_time: string;
|
|
1390
|
+
vehicle_id?: string;
|
|
1391
|
+
Vehicle?: MasterVehicle;
|
|
1392
|
+
landmark_id?: string;
|
|
1393
|
+
_count?: object;
|
|
1394
|
+
}
|
|
1395
|
+
interface VehicleDetailTrip extends Record<string, unknown> {
|
|
1396
|
+
vehicle_details_trip_id: string;
|
|
1397
|
+
trip_name?: string;
|
|
1398
|
+
trip_no?: string;
|
|
1399
|
+
eway_bill_number?: string;
|
|
1400
|
+
route_name?: string;
|
|
1401
|
+
trip_start_date?: string;
|
|
1402
|
+
trip_end_date?: string;
|
|
1403
|
+
trip_notes_1?: string;
|
|
1404
|
+
trip_notes_2?: string;
|
|
1405
|
+
trip_notes_3?: string;
|
|
1406
|
+
status: Status;
|
|
1407
|
+
added_date_time: string;
|
|
1408
|
+
modified_date_time: string;
|
|
1409
|
+
vehicle_id?: string;
|
|
1410
|
+
Vehicle?: MasterVehicle;
|
|
1411
|
+
_count?: object;
|
|
1412
|
+
}
|
|
1413
|
+
|
|
1414
|
+
interface MasterUserRole extends Record<string, unknown> {
|
|
1415
|
+
user_role_id: string;
|
|
1416
|
+
user_role: string;
|
|
1417
|
+
status: Status;
|
|
1418
|
+
added_date_time: string;
|
|
1419
|
+
modified_date_time: string;
|
|
1420
|
+
organisation_id?: string;
|
|
1421
|
+
UserOrganisation?: UserOrganisation;
|
|
1422
|
+
User: User[];
|
|
1423
|
+
_count?: {
|
|
1424
|
+
User: number;
|
|
1425
|
+
};
|
|
1426
|
+
}
|
|
1427
|
+
|
|
1428
|
+
interface MasterUserStatus extends Record<string, unknown> {
|
|
1429
|
+
user_status_id: string;
|
|
1430
|
+
user_status: string;
|
|
1431
|
+
status: Status;
|
|
1432
|
+
added_date_time: string;
|
|
1433
|
+
modified_date_time: string;
|
|
1434
|
+
organisation_id?: string;
|
|
1435
|
+
UserOrganisation?: UserOrganisation;
|
|
1436
|
+
User: User[];
|
|
1437
|
+
_count?: {
|
|
1438
|
+
User: number;
|
|
1439
|
+
};
|
|
1440
|
+
}
|
|
1441
|
+
|
|
1442
|
+
interface MasterMainLanguage extends Record<string, unknown> {
|
|
1443
|
+
language_id: string;
|
|
1444
|
+
language_name: string;
|
|
1445
|
+
language_code: string;
|
|
1446
|
+
status: Status;
|
|
1447
|
+
added_date_time: string;
|
|
1448
|
+
modified_date_time: string;
|
|
1449
|
+
User: User[];
|
|
1450
|
+
_count?: {
|
|
1451
|
+
User: number;
|
|
1452
|
+
};
|
|
1453
|
+
}
|
|
1454
|
+
|
|
1455
|
+
interface User extends Record<string, unknown> {
|
|
1456
|
+
user_id: string;
|
|
1457
|
+
first_name: string;
|
|
1458
|
+
last_name?: string;
|
|
1459
|
+
email: string;
|
|
1460
|
+
is_google_login: YesNo;
|
|
1461
|
+
google_login_data?: string;
|
|
1462
|
+
password?: string;
|
|
1463
|
+
mobile?: string;
|
|
1464
|
+
can_login: YesNo;
|
|
1465
|
+
is_activated: YesNo;
|
|
1466
|
+
is_root_user: YesNo;
|
|
1467
|
+
user_image_url?: string;
|
|
1468
|
+
user_image_key?: string;
|
|
1469
|
+
default_module_name?: string;
|
|
1470
|
+
default_page_name?: string;
|
|
1471
|
+
default_page_url?: string;
|
|
1472
|
+
default_theme?: string;
|
|
1473
|
+
status: Status;
|
|
1474
|
+
added_date_time: string;
|
|
1475
|
+
modified_date_time: string;
|
|
1476
|
+
user_access_control_id?: string;
|
|
1477
|
+
UserAccessControl?: UserAccessControl;
|
|
1478
|
+
organisation_id?: string;
|
|
1479
|
+
UserOrganisation?: UserOrganisation;
|
|
1480
|
+
user_role_id?: string;
|
|
1481
|
+
MasterUserRole?: MasterUserRole;
|
|
1482
|
+
user_status_id?: string;
|
|
1483
|
+
MasterUserStatus?: MasterUserStatus;
|
|
1484
|
+
language_id?: string;
|
|
1485
|
+
MasterMainLanguage?: MasterMainLanguage;
|
|
1486
|
+
country_id?: string;
|
|
1487
|
+
MasterMainCountry?: MasterMainCountry;
|
|
1488
|
+
date_format_id?: string;
|
|
1489
|
+
MasterMainDateFormat?: MasterMainDateFormat;
|
|
1490
|
+
time_zone_id?: string;
|
|
1491
|
+
MasterMainTimeZone?: MasterMainTimeZone;
|
|
1492
|
+
}
|
|
1493
|
+
interface UserAccessControl extends Record<string, unknown> {
|
|
1494
|
+
user_access_control_id: string;
|
|
1495
|
+
vehicles_view: YesNo;
|
|
1496
|
+
vehicles_edit: YesNo;
|
|
1497
|
+
vehicles_delete: YesNo;
|
|
1498
|
+
users_view: YesNo;
|
|
1499
|
+
users_edit: YesNo;
|
|
1500
|
+
users_delete: YesNo;
|
|
1501
|
+
drivers_view: YesNo;
|
|
1502
|
+
drivers_edit: YesNo;
|
|
1503
|
+
drivers_delete: YesNo;
|
|
1504
|
+
account_view: YesNo;
|
|
1505
|
+
account_edit: YesNo;
|
|
1506
|
+
account_delete: YesNo;
|
|
1507
|
+
masters_view: YesNo;
|
|
1508
|
+
masters_edit: YesNo;
|
|
1509
|
+
masters_delete: YesNo;
|
|
1510
|
+
gps_view: YesNo;
|
|
1511
|
+
gps_edit: YesNo;
|
|
1512
|
+
gps_delete: YesNo;
|
|
1513
|
+
fleet_view: YesNo;
|
|
1514
|
+
fleet_edit: YesNo;
|
|
1515
|
+
fleet_delete: YesNo;
|
|
1516
|
+
trips_view: YesNo;
|
|
1517
|
+
trips_edit: YesNo;
|
|
1518
|
+
trips_delete: YesNo;
|
|
1519
|
+
warehouse_view: YesNo;
|
|
1520
|
+
warehouse_edit: YesNo;
|
|
1521
|
+
warehouse_delete: YesNo;
|
|
1522
|
+
accounts_view: YesNo;
|
|
1523
|
+
accounts_edit: YesNo;
|
|
1524
|
+
accounts_delete: YesNo;
|
|
1525
|
+
status: Status;
|
|
1526
|
+
added_date_time: string;
|
|
1527
|
+
modified_date_time: string;
|
|
1528
|
+
user_id?: string;
|
|
1529
|
+
User?: User;
|
|
1530
|
+
Dummy_User: User[];
|
|
1531
|
+
index_user_id?: string;
|
|
1532
|
+
}
|
|
1533
|
+
|
|
1534
|
+
interface MasterExpenseName extends Record<string, unknown> {
|
|
1535
|
+
expense_name_id: string;
|
|
1536
|
+
expense_name: string;
|
|
1537
|
+
expense_category: ExpenseCategory;
|
|
1538
|
+
status: Status;
|
|
1539
|
+
added_date_time: string;
|
|
1540
|
+
modified_date_time: string;
|
|
1541
|
+
organisation_id?: string;
|
|
1542
|
+
UserOrganisation?: UserOrganisation;
|
|
1543
|
+
_count?: {
|
|
1544
|
+
VehicleDocument: number;
|
|
1545
|
+
FleetIncidentManagementCost: number;
|
|
1546
|
+
};
|
|
1547
|
+
}
|
|
1548
|
+
|
|
1549
|
+
interface MasterExpenseType extends Record<string, unknown> {
|
|
1550
|
+
expense_type_id: string;
|
|
1551
|
+
expense_type_name: string;
|
|
1552
|
+
status: Status;
|
|
1553
|
+
added_date_time: string;
|
|
1554
|
+
modified_date_time: string;
|
|
1555
|
+
organisation_id?: string;
|
|
1556
|
+
UserOrganisation?: UserOrganisation;
|
|
1557
|
+
_count?: object;
|
|
1558
|
+
}
|
|
1559
|
+
|
|
1560
|
+
interface MasterTyreGrade extends Record<string, unknown> {
|
|
1561
|
+
tyre_grade_id: string;
|
|
1562
|
+
tyre_grade: string;
|
|
1563
|
+
status: Status;
|
|
1564
|
+
added_date_time: string;
|
|
1565
|
+
modified_date_time: string;
|
|
1566
|
+
organisation_id?: string;
|
|
1567
|
+
UserOrganisation?: UserOrganisation;
|
|
1568
|
+
_count?: {
|
|
1569
|
+
FleetTyreInventory: number;
|
|
1570
|
+
};
|
|
1571
|
+
}
|
|
1572
|
+
|
|
1573
|
+
interface MasterTyreModel extends Record<string, unknown> {
|
|
1574
|
+
tyre_model_id: string;
|
|
1575
|
+
tyre_model: string;
|
|
1576
|
+
status: Status;
|
|
1577
|
+
added_date_time: string;
|
|
1578
|
+
modified_date_time: string;
|
|
1579
|
+
organisation_id?: string;
|
|
1580
|
+
UserOrganisation?: UserOrganisation;
|
|
1581
|
+
tyre_make_id: string;
|
|
1582
|
+
MasterTyreMake?: MasterTyreMake;
|
|
1583
|
+
_count?: {
|
|
1584
|
+
FleetTyreInventory: number;
|
|
1585
|
+
};
|
|
1586
|
+
}
|
|
1587
|
+
|
|
1588
|
+
interface MasterTyreMake extends Record<string, unknown> {
|
|
1589
|
+
tyre_make_id: string;
|
|
1590
|
+
tyre_make: string;
|
|
1591
|
+
status: Status;
|
|
1592
|
+
added_date_time: string;
|
|
1593
|
+
modified_date_time: string;
|
|
1594
|
+
organisation_id?: string;
|
|
1595
|
+
UserOrganisation?: UserOrganisation;
|
|
1596
|
+
MasterTyreModel: MasterTyreModel[];
|
|
1597
|
+
_count?: {
|
|
1598
|
+
MasterTyreModel: number;
|
|
1599
|
+
FleetTyreInventory: number;
|
|
1600
|
+
};
|
|
1601
|
+
}
|
|
1602
|
+
|
|
1603
|
+
interface MasterFleetIncidentType extends Record<string, unknown> {
|
|
1604
|
+
fleet_incident_type_id: string;
|
|
1605
|
+
fleet_incident_type: string;
|
|
1606
|
+
status: Status;
|
|
1607
|
+
added_date_time: string;
|
|
1608
|
+
modified_date_time: string;
|
|
1609
|
+
organisation_id?: string;
|
|
1610
|
+
UserOrganisation?: UserOrganisation;
|
|
1611
|
+
_count?: {
|
|
1612
|
+
FleetIncidentManagement: number;
|
|
1613
|
+
};
|
|
1614
|
+
}
|
|
1615
|
+
|
|
1616
|
+
interface MasterFleetIncidentStatus extends Record<string, unknown> {
|
|
1617
|
+
fleet_incident_status_id: string;
|
|
1618
|
+
fleet_incident_status: string;
|
|
1619
|
+
status: Status;
|
|
1620
|
+
added_date_time: string;
|
|
1621
|
+
modified_date_time: string;
|
|
1622
|
+
organisation_id?: string;
|
|
1623
|
+
UserOrganisation?: UserOrganisation;
|
|
1624
|
+
_count?: {
|
|
1625
|
+
FleetIncidentManagement: number;
|
|
1626
|
+
};
|
|
1627
|
+
}
|
|
1628
|
+
|
|
1629
|
+
interface MasterFleetIncidentSeverity extends Record<string, unknown> {
|
|
1630
|
+
fleet_incident_severity_id: string;
|
|
1631
|
+
fleet_incident_severity: string;
|
|
1632
|
+
status: Status;
|
|
1633
|
+
added_date_time: string;
|
|
1634
|
+
modified_date_time: string;
|
|
1635
|
+
organisation_id?: string;
|
|
1636
|
+
UserOrganisation?: UserOrganisation;
|
|
1637
|
+
_count?: {
|
|
1638
|
+
FleetIncidentManagement: number;
|
|
1639
|
+
};
|
|
1640
|
+
}
|
|
1641
|
+
|
|
1642
|
+
interface MasterFleetInsuranceClaimStatus extends Record<string, unknown> {
|
|
1643
|
+
fleet_insurance_claim_status_id: string;
|
|
1644
|
+
fleet_insurance_claim_status: string;
|
|
1645
|
+
status: Status;
|
|
1646
|
+
added_date_time: string;
|
|
1647
|
+
modified_date_time: string;
|
|
1648
|
+
organisation_id?: string;
|
|
1649
|
+
UserOrganisation?: UserOrganisation;
|
|
1650
|
+
_count?: {
|
|
1651
|
+
FleetIncidentManagement: number;
|
|
1652
|
+
};
|
|
1653
|
+
}
|
|
1654
|
+
|
|
1655
|
+
interface MasterFleetServiceTask extends Record<string, unknown> {
|
|
1656
|
+
fleet_service_task_id: string;
|
|
1657
|
+
fleet_service_task: string;
|
|
1658
|
+
status: Status;
|
|
1659
|
+
added_date_time: string;
|
|
1660
|
+
modified_date_time: string;
|
|
1661
|
+
organisation_id?: string;
|
|
1662
|
+
UserOrganisation?: UserOrganisation;
|
|
1663
|
+
_count?: {
|
|
1664
|
+
FleetServiceJobCardTask: number;
|
|
1665
|
+
};
|
|
1666
|
+
}
|
|
1667
|
+
|
|
1668
|
+
interface MasterTripPartyType extends Record<string, unknown> {
|
|
1669
|
+
party_type_id: string;
|
|
1670
|
+
party_type: string;
|
|
1671
|
+
status: Status;
|
|
1672
|
+
added_date_time: string;
|
|
1673
|
+
modified_date_time: string;
|
|
1674
|
+
organisation_id?: string;
|
|
1675
|
+
UserOrganisation?: UserOrganisation;
|
|
1676
|
+
_count?: {
|
|
1677
|
+
FleetTripParty: number;
|
|
1678
|
+
};
|
|
1679
|
+
}
|
|
1680
|
+
|
|
1681
|
+
interface MasterVendorType extends Record<string, unknown> {
|
|
1682
|
+
vendor_type_id: string;
|
|
1683
|
+
vendor_type: string;
|
|
1684
|
+
description?: string;
|
|
1685
|
+
status: Status;
|
|
1686
|
+
added_date_time: string;
|
|
1687
|
+
modified_date_time: string;
|
|
1688
|
+
organisation_id?: string;
|
|
1689
|
+
UserOrganisation?: UserOrganisation;
|
|
1690
|
+
}
|
|
1691
|
+
|
|
1692
|
+
interface MasterSparePartSubCategory extends Record<string, unknown> {
|
|
1693
|
+
spare_part_sub_category_id: string;
|
|
1694
|
+
sub_category_name: string;
|
|
1695
|
+
sub_category_code: string;
|
|
1696
|
+
status: Status;
|
|
1697
|
+
added_date_time: string;
|
|
1698
|
+
modified_date_time: string;
|
|
1699
|
+
organisation_id?: string;
|
|
1700
|
+
UserOrganisation?: UserOrganisation;
|
|
1701
|
+
spare_part_category_id: string;
|
|
1702
|
+
MasterSparePartCategory?: MasterSparePartCategory;
|
|
1703
|
+
_count?: {
|
|
1704
|
+
FleetSpareParts: number;
|
|
1705
|
+
};
|
|
1706
|
+
}
|
|
1707
|
+
|
|
1708
|
+
interface MasterSparePartCategory extends Record<string, unknown> {
|
|
1709
|
+
spare_part_category_id: string;
|
|
1710
|
+
category_name: string;
|
|
1711
|
+
category_code: string;
|
|
1712
|
+
status: Status;
|
|
1713
|
+
added_date_time: string;
|
|
1714
|
+
modified_date_time: string;
|
|
1715
|
+
organisation_id?: string;
|
|
1716
|
+
UserOrganisation?: UserOrganisation;
|
|
1717
|
+
MasterSparePartSubCategory: MasterSparePartSubCategory[];
|
|
1718
|
+
_count?: {
|
|
1719
|
+
MasterSparePartSubCategory: number;
|
|
1720
|
+
FleetSpareParts: number;
|
|
1721
|
+
};
|
|
1722
|
+
}
|
|
1723
|
+
|
|
1724
|
+
interface MasterSparePartUnit extends Record<string, unknown> {
|
|
1725
|
+
spare_part_unit_id: string;
|
|
1726
|
+
unit_name: string;
|
|
1727
|
+
unit_code: string;
|
|
1728
|
+
status: Status;
|
|
1729
|
+
added_date_time: string;
|
|
1730
|
+
modified_date_time: string;
|
|
1731
|
+
organisation_id?: string;
|
|
1732
|
+
UserOrganisation?: UserOrganisation;
|
|
1733
|
+
_count?: {
|
|
1734
|
+
FleetSpareParts: number;
|
|
1735
|
+
};
|
|
1736
|
+
}
|
|
1737
|
+
|
|
1738
|
+
interface UserOrganisation extends Record<string, unknown> {
|
|
1739
|
+
organisation_id: string;
|
|
1740
|
+
organisation_name: string;
|
|
1741
|
+
organisation_email: string;
|
|
1742
|
+
organisation_mobile?: string;
|
|
1743
|
+
fleet_size: FleetSize;
|
|
1744
|
+
db_instance: string;
|
|
1745
|
+
db_index: string;
|
|
1746
|
+
organisation_logo_url?: string;
|
|
1747
|
+
organisation_logo_key?: string;
|
|
1748
|
+
address?: string;
|
|
1749
|
+
locality?: string;
|
|
1750
|
+
city_district_town?: string;
|
|
1751
|
+
state?: string;
|
|
1752
|
+
zip_code?: string;
|
|
1753
|
+
landmark?: string;
|
|
1754
|
+
latitude?: number;
|
|
1755
|
+
longitude?: number;
|
|
1756
|
+
company_cin?: string;
|
|
1757
|
+
company_tin_gstin?: string;
|
|
1758
|
+
billing_address?: string;
|
|
1759
|
+
billing_locality?: string;
|
|
1760
|
+
billing_city_district_town?: string;
|
|
1761
|
+
billing_state?: string;
|
|
1762
|
+
billing_zip_code?: string;
|
|
1763
|
+
billing_landmark?: string;
|
|
1764
|
+
billing_latitude?: number;
|
|
1765
|
+
billing_longitude?: number;
|
|
1766
|
+
status: Status;
|
|
1767
|
+
added_date_time: string;
|
|
1768
|
+
modified_date_time: string;
|
|
1769
|
+
industry_id: string;
|
|
1770
|
+
MasterMainIndustry?: MasterMainIndustry;
|
|
1771
|
+
country_id: string;
|
|
1772
|
+
MasterMainCountry?: MasterMainCountry;
|
|
1773
|
+
state_id?: string;
|
|
1774
|
+
MasterMainState?: MasterMainState;
|
|
1775
|
+
time_zone_id?: string;
|
|
1776
|
+
MasterMainTimeZone?: MasterMainTimeZone;
|
|
1777
|
+
currency_id?: string;
|
|
1778
|
+
MasterMainCurrency?: MasterMainCurrency;
|
|
1779
|
+
date_format_id?: string;
|
|
1780
|
+
MasterMainDateFormat?: MasterMainDateFormat;
|
|
1781
|
+
distance_unit_id?: string;
|
|
1782
|
+
MasterMainUnitDistance?: MasterMainUnitDistance;
|
|
1783
|
+
mileage_unit_id?: string;
|
|
1784
|
+
MasterMainUnitMileage?: MasterMainUnitMileage;
|
|
1785
|
+
volume_unit_id?: string;
|
|
1786
|
+
MasterMainUnitVolume?: MasterMainUnitVolume;
|
|
1787
|
+
User: User[];
|
|
1788
|
+
MasterDriver: MasterDriver[];
|
|
1789
|
+
MasterDevice: MasterDevice[];
|
|
1790
|
+
MasterVehicle: MasterVehicle[];
|
|
1791
|
+
OrganisationBranch: OrganisationBranch[];
|
|
1792
|
+
OrganisationColor: OrganisationColor[];
|
|
1793
|
+
OrganisationGroup: OrganisationGroup[];
|
|
1794
|
+
OrganisationSubCompany: OrganisationSubCompany[];
|
|
1795
|
+
OrganisationTag: OrganisationTag[];
|
|
1796
|
+
MasterExpenseName: MasterExpenseName[];
|
|
1797
|
+
MasterExpenseType: MasterExpenseType[];
|
|
1798
|
+
MasterVendorType: MasterVendorType[];
|
|
1799
|
+
MasterUserRole: MasterUserRole[];
|
|
1800
|
+
MasterUserStatus: MasterUserStatus[];
|
|
1801
|
+
MasterVehicleFuelType: MasterVehicleFuelType[];
|
|
1802
|
+
MasterVehicleOwnershipType: MasterVehicleOwnershipType[];
|
|
1803
|
+
MasterVehicleModel: MasterVehicleModel[];
|
|
1804
|
+
MasterVehicleMake: MasterVehicleMake[];
|
|
1805
|
+
MasterVehicleStatusType: MasterVehicleStatusType[];
|
|
1806
|
+
MasterVehicleSubModel: MasterVehicleSubModel[];
|
|
1807
|
+
MasterVehicleType: MasterVehicleType[];
|
|
1808
|
+
MasterTyreGrade: MasterTyreGrade[];
|
|
1809
|
+
MasterTyreMake: MasterTyreMake[];
|
|
1810
|
+
MasterTyreModel: MasterTyreModel[];
|
|
1811
|
+
MasterFleetIncidentType: MasterFleetIncidentType[];
|
|
1812
|
+
MasterFleetIncidentStatus: MasterFleetIncidentStatus[];
|
|
1813
|
+
MasterFleetIncidentSeverity: MasterFleetIncidentSeverity[];
|
|
1814
|
+
MasterFleetInsuranceClaimStatus: MasterFleetInsuranceClaimStatus[];
|
|
1815
|
+
MasterFleetServiceTask: MasterFleetServiceTask[];
|
|
1816
|
+
MasterTripPartyType: MasterTripPartyType[];
|
|
1817
|
+
MasterSparePartCategory: MasterSparePartCategory[];
|
|
1818
|
+
MasterSparePartSubCategory: MasterSparePartSubCategory[];
|
|
1819
|
+
MasterSparePartUnit: MasterSparePartUnit[];
|
|
1820
|
+
_count?: {
|
|
1821
|
+
User?: number;
|
|
1822
|
+
MasterVehicle?: number;
|
|
1823
|
+
MasterDevice?: number;
|
|
1824
|
+
MasterDriver?: number;
|
|
1825
|
+
OrganisationBranch?: number;
|
|
1826
|
+
OrganisationColor?: number;
|
|
1827
|
+
OrganisationGroup?: number;
|
|
1828
|
+
OrganisationSubCompany?: number;
|
|
1829
|
+
OrganisationTag?: number;
|
|
1830
|
+
};
|
|
1831
|
+
}
|
|
1832
|
+
|
|
1833
|
+
interface MasterMainSimProvider extends Record<string, unknown> {
|
|
1834
|
+
sim_provider_id: string;
|
|
1835
|
+
provider_name: string;
|
|
1836
|
+
country_notes: string;
|
|
1837
|
+
status: Status;
|
|
1838
|
+
added_date_time: string;
|
|
1839
|
+
modified_date_time: string;
|
|
1840
|
+
_count?: object;
|
|
1841
|
+
}
|
|
1842
|
+
|
|
1843
|
+
interface MasterSim extends Record<string, unknown> {
|
|
1844
|
+
sim_id: string;
|
|
1845
|
+
sim_number: string;
|
|
1846
|
+
sim_imei: string;
|
|
1847
|
+
sim_serial_number: string;
|
|
1848
|
+
sim_status: SimStatus;
|
|
1849
|
+
billing_status: BillingStatus;
|
|
1850
|
+
status: Status;
|
|
1851
|
+
added_date_time: string;
|
|
1852
|
+
modified_date_time: string;
|
|
1853
|
+
device_id?: string;
|
|
1854
|
+
MasterDevice?: MasterDevice;
|
|
1855
|
+
device_sim_link_date?: string;
|
|
1856
|
+
AssignRemoveSimHistory: AssignRemoveSimHistory[];
|
|
1857
|
+
Dummy_MasterDevice: MasterDevice[];
|
|
1858
|
+
sim_provider_id: string;
|
|
1859
|
+
MasterMainSimProvider: MasterMainSimProvider;
|
|
1860
|
+
_count?: {
|
|
1861
|
+
AssignRemoveSimHistory: number;
|
|
1862
|
+
Dummy_MasterDevice: number;
|
|
1863
|
+
};
|
|
1864
|
+
}
|
|
1865
|
+
interface AssignRemoveSimHistory extends Record<string, unknown> {
|
|
1866
|
+
history_id: string;
|
|
1867
|
+
device_sim_link_date?: string;
|
|
1868
|
+
device_sim_unlink_date?: string;
|
|
1869
|
+
status: Status;
|
|
1870
|
+
added_date_time: string;
|
|
1871
|
+
modified_date_time: string;
|
|
1872
|
+
sim_id: string;
|
|
1873
|
+
MasterSim: MasterSim;
|
|
1874
|
+
device_id: string;
|
|
1875
|
+
MasterDevice: MasterDevice;
|
|
1876
|
+
}
|
|
1877
|
+
|
|
1878
|
+
interface MasterDevice extends Record<string, unknown> {
|
|
1879
|
+
device_id: string;
|
|
1880
|
+
serial_no: number;
|
|
1881
|
+
device_identifier: string;
|
|
1882
|
+
device_note_1: string;
|
|
1883
|
+
device_note_2: string;
|
|
1884
|
+
status: Status;
|
|
1885
|
+
added_date_time: string;
|
|
1886
|
+
modified_date_time: string;
|
|
1887
|
+
is_sim_linked: YesNo;
|
|
1888
|
+
sim_id?: string;
|
|
1889
|
+
MasterSim?: MasterSim;
|
|
1890
|
+
device_sim_link_date?: string;
|
|
1891
|
+
AssignRemoveSimHistory: AssignRemoveSimHistory[];
|
|
1892
|
+
is_device_used: DeviceStatus;
|
|
1893
|
+
vehicle_id?: string;
|
|
1894
|
+
MasterVehicle?: MasterVehicle;
|
|
1895
|
+
assign_device_date?: string;
|
|
1896
|
+
AssignRemoveDeviceHistory: AssignRemoveDeviceHistory[];
|
|
1897
|
+
device_gps_source: GPSSource;
|
|
1898
|
+
db_instance: string;
|
|
1899
|
+
db_index: string;
|
|
1900
|
+
device_image_url?: string;
|
|
1901
|
+
device_image_key?: string;
|
|
1902
|
+
vehicle_image_url?: string;
|
|
1903
|
+
vehicle_image_key?: string;
|
|
1904
|
+
sim_image_url?: string;
|
|
1905
|
+
sim_image_key?: string;
|
|
1906
|
+
device_manufacturer_id?: string;
|
|
1907
|
+
MasterDeviceManufacturer?: MasterDeviceManufacturer;
|
|
1908
|
+
device_model_id?: string;
|
|
1909
|
+
MasterDeviceModel?: MasterDeviceModel;
|
|
1910
|
+
device_type_id?: string;
|
|
1911
|
+
MasterDeviceType?: MasterDeviceType;
|
|
1912
|
+
organisation_id?: string;
|
|
1913
|
+
UserOrganisation?: UserOrganisation;
|
|
1914
|
+
country_id?: string;
|
|
1915
|
+
MasterMainCountry?: MasterMainCountry;
|
|
1916
|
+
time_zone_id?: string;
|
|
1917
|
+
MasterMainTimeZone?: MasterMainTimeZone;
|
|
1918
|
+
Dummy_MasterVehicle: MasterVehicle[];
|
|
1919
|
+
Dummy_MasterSim: MasterSim[];
|
|
1920
|
+
_count?: {
|
|
1921
|
+
AssignRemoveSimHistory?: number;
|
|
1922
|
+
AssignRemoveDeviceHistory?: number;
|
|
1923
|
+
GPSFuelVehicleRemoval?: number;
|
|
1924
|
+
GPSFuelVehicleDailySummary?: number;
|
|
1925
|
+
GPSLockDigitalDoorLog?: number;
|
|
1926
|
+
GPSLockRelayLog?: number;
|
|
1927
|
+
GPSFuelVehicleRefill?: number;
|
|
1928
|
+
Dummy_MasterVehicle?: number;
|
|
1929
|
+
Dummy_MasterSim?: number;
|
|
1930
|
+
};
|
|
1931
|
+
}
|
|
1932
|
+
interface AssignRemoveDeviceHistory extends Record<string, unknown> {
|
|
1933
|
+
history_id: string;
|
|
1934
|
+
assign_date?: string;
|
|
1935
|
+
remove_date?: string;
|
|
1936
|
+
status: Status;
|
|
1937
|
+
added_date_time: string;
|
|
1938
|
+
modified_date_time: string;
|
|
1939
|
+
vehicle_id: string;
|
|
1940
|
+
Vehicle?: MasterVehicle;
|
|
1941
|
+
device_id: string;
|
|
1942
|
+
MasterDevice?: MasterDevice;
|
|
1943
|
+
}
|
|
1944
|
+
|
|
1945
|
+
interface MasterDeviceType extends Record<string, unknown> {
|
|
1946
|
+
device_type_id: string;
|
|
1947
|
+
device_type_name: string;
|
|
1948
|
+
device_type_code?: string;
|
|
1949
|
+
device_type_description?: string;
|
|
1950
|
+
status: Status;
|
|
1951
|
+
added_date_time: string;
|
|
1952
|
+
modified_date_time: string;
|
|
1953
|
+
device_manufacturer_id: string;
|
|
1954
|
+
MasterDeviceManufacturer?: MasterDeviceManufacturer;
|
|
1955
|
+
device_model_id: string;
|
|
1956
|
+
MasterDeviceModel?: MasterDeviceModel;
|
|
1957
|
+
MasterDevice: MasterDevice[];
|
|
1958
|
+
_count?: {
|
|
1959
|
+
MasterDevice: number;
|
|
1960
|
+
};
|
|
1961
|
+
}
|
|
1962
|
+
declare const MasterDeviceTypeSchema: z.ZodObject<{
|
|
1963
|
+
device_manufacturer_id: z.ZodEffects<z.ZodString, string, string>;
|
|
1964
|
+
device_model_id: z.ZodEffects<z.ZodString, string, string>;
|
|
1965
|
+
device_type_name: z.ZodEffects<z.ZodString, string, string>;
|
|
1966
|
+
device_type_code: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
|
|
1967
|
+
device_type_description: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
|
|
1968
|
+
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
1969
|
+
}, "strip", z.ZodTypeAny, {
|
|
1970
|
+
status: Status;
|
|
1971
|
+
device_manufacturer_id: string;
|
|
1972
|
+
device_model_id: string;
|
|
1973
|
+
device_type_name: string;
|
|
1974
|
+
device_type_code: string;
|
|
1975
|
+
device_type_description: string;
|
|
1976
|
+
}, {
|
|
1977
|
+
status: Status;
|
|
1978
|
+
device_manufacturer_id: string;
|
|
1979
|
+
device_model_id: string;
|
|
1980
|
+
device_type_name: string;
|
|
1981
|
+
device_type_code?: string | undefined;
|
|
1982
|
+
device_type_description?: string | undefined;
|
|
1983
|
+
}>;
|
|
1984
|
+
type MasterDeviceTypeDTO = z.infer<typeof MasterDeviceTypeSchema>;
|
|
1985
|
+
declare const MasterDeviceTypeQuerySchema: z.ZodObject<{
|
|
1986
|
+
search: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
|
|
1987
|
+
status: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof Status>, "many">>>;
|
|
1988
|
+
paging: z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof PAGING>>>;
|
|
1989
|
+
page_count: z.ZodEffects<z.ZodDefault<z.ZodOptional<z.ZodNumber>>, number, unknown>;
|
|
1990
|
+
page_index: z.ZodEffects<z.ZodDefault<z.ZodOptional<z.ZodNumber>>, number, unknown>;
|
|
1991
|
+
load_parents: z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof LoadParents>>>;
|
|
1992
|
+
load_parents_list: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
1993
|
+
load_child: z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof LoadChild>>>;
|
|
1994
|
+
load_child_list: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
1995
|
+
load_child_count: z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof LoadChildCount>>>;
|
|
1996
|
+
load_child_count_list: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
1997
|
+
include_details: z.ZodDefault<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
1998
|
+
where_relations: z.ZodDefault<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
1999
|
+
order_by: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2000
|
+
name: z.ZodEffects<z.ZodString, string, string>;
|
|
2001
|
+
field: z.ZodEffects<z.ZodString, string, string>;
|
|
2002
|
+
direction: z.ZodType<OrderBy, z.ZodTypeDef, OrderBy>;
|
|
2003
|
+
}, "strip", z.ZodTypeAny, {
|
|
2004
|
+
name: string;
|
|
2005
|
+
field: string;
|
|
2006
|
+
direction: OrderBy;
|
|
2007
|
+
}, {
|
|
2008
|
+
name: string;
|
|
2009
|
+
field: string;
|
|
2010
|
+
direction: OrderBy;
|
|
2011
|
+
}>, "many">>>;
|
|
2012
|
+
include_master_data: z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof YesNo>>>;
|
|
2013
|
+
date_format_id: z.ZodEffects<z.ZodString, string, string>;
|
|
2014
|
+
time_zone_id: z.ZodEffects<z.ZodString, string, string>;
|
|
2015
|
+
} & {
|
|
2016
|
+
device_manufacturer_ids: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
2017
|
+
device_model_ids: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
2018
|
+
device_type_ids: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
2019
|
+
}, "strip", z.ZodTypeAny, {
|
|
2020
|
+
search: string;
|
|
2021
|
+
load_child: LoadChild;
|
|
2022
|
+
load_parents: LoadParents;
|
|
2023
|
+
paging: PAGING;
|
|
2024
|
+
page_index: number;
|
|
2025
|
+
page_count: number;
|
|
2026
|
+
status: Status[];
|
|
2027
|
+
load_parents_list: string[];
|
|
2028
|
+
load_child_list: string[];
|
|
2029
|
+
load_child_count: LoadChildCount;
|
|
2030
|
+
load_child_count_list: string[];
|
|
2031
|
+
include_details: Record<string, any>;
|
|
2032
|
+
where_relations: Record<string, any>;
|
|
2033
|
+
order_by: {
|
|
2034
|
+
name: string;
|
|
2035
|
+
field: string;
|
|
2036
|
+
direction: OrderBy;
|
|
2037
|
+
}[];
|
|
2038
|
+
include_master_data: YesNo;
|
|
2039
|
+
date_format_id: string;
|
|
2040
|
+
time_zone_id: string;
|
|
2041
|
+
device_manufacturer_ids: string[];
|
|
2042
|
+
device_model_ids: string[];
|
|
2043
|
+
device_type_ids: string[];
|
|
2044
|
+
}, {
|
|
2045
|
+
date_format_id: string;
|
|
2046
|
+
time_zone_id: string;
|
|
2047
|
+
search?: string | undefined;
|
|
2048
|
+
load_child?: LoadChild | undefined;
|
|
2049
|
+
load_parents?: LoadParents | undefined;
|
|
2050
|
+
paging?: PAGING | undefined;
|
|
2051
|
+
page_index?: unknown;
|
|
2052
|
+
page_count?: unknown;
|
|
2053
|
+
status?: Status[] | undefined;
|
|
2054
|
+
load_parents_list?: string[] | undefined;
|
|
2055
|
+
load_child_list?: string[] | undefined;
|
|
2056
|
+
load_child_count?: LoadChildCount | undefined;
|
|
2057
|
+
load_child_count_list?: string[] | undefined;
|
|
2058
|
+
include_details?: Record<string, any> | undefined;
|
|
2059
|
+
where_relations?: Record<string, any> | undefined;
|
|
2060
|
+
order_by?: {
|
|
2061
|
+
name: string;
|
|
2062
|
+
field: string;
|
|
2063
|
+
direction: OrderBy;
|
|
2064
|
+
}[] | undefined;
|
|
2065
|
+
include_master_data?: YesNo | undefined;
|
|
2066
|
+
device_manufacturer_ids?: string[] | undefined;
|
|
2067
|
+
device_model_ids?: string[] | undefined;
|
|
2068
|
+
device_type_ids?: string[] | undefined;
|
|
2069
|
+
}>;
|
|
2070
|
+
type MasterDeviceTypeQueryDTO = z.infer<typeof MasterDeviceTypeQuerySchema>;
|
|
2071
|
+
declare const toMasterDeviceTypePayload: (deviceType: MasterDeviceType) => MasterDeviceTypeDTO;
|
|
2072
|
+
declare const newMasterDeviceTypePayload: () => MasterDeviceTypeDTO;
|
|
2073
|
+
declare const findMasterDeviceTypes: (data: MasterDeviceTypeQueryDTO) => Promise<FBR<MasterDeviceType[]>>;
|
|
2074
|
+
declare const createMasterDeviceType: (data: MasterDeviceTypeDTO) => Promise<SBR>;
|
|
2075
|
+
declare const updateMasterDeviceType: (id: string, data: MasterDeviceTypeDTO) => Promise<SBR>;
|
|
2076
|
+
declare const deleteMasterDeviceType: (id: string) => Promise<SBR>;
|
|
2077
|
+
declare const getMasterDeviceTypeCache: (device_model_id?: string) => Promise<FBR<MasterDeviceType[]>>;
|
|
2078
|
+
declare const getMasterDeviceTypeCacheCount: (device_model_id?: string) => Promise<FBR<number>>;
|
|
2079
|
+
declare const getMasterDeviceTypeCacheChild: (device_model_id?: string) => Promise<FBR<MasterDeviceType[]>>;
|
|
2080
|
+
|
|
2081
|
+
interface MasterDeviceModel extends Record<string, unknown> {
|
|
2082
|
+
device_model_id: string;
|
|
2083
|
+
device_model_name: string;
|
|
2084
|
+
device_model_code?: string;
|
|
2085
|
+
status: Status;
|
|
2086
|
+
added_date_time: string;
|
|
2087
|
+
modified_date_time: string;
|
|
2088
|
+
device_manufacturer_id: string;
|
|
2089
|
+
MasterDeviceManufacturer?: MasterDeviceManufacturer;
|
|
2090
|
+
MasterDeviceType: MasterDeviceType[];
|
|
2091
|
+
MasterDevice: MasterDevice[];
|
|
2092
|
+
_count?: {
|
|
2093
|
+
MasterDeviceType: number;
|
|
2094
|
+
MasterDevice: number;
|
|
2095
|
+
};
|
|
2096
|
+
}
|
|
2097
|
+
declare const MasterDeviceModelSchema: z.ZodObject<{
|
|
2098
|
+
device_manufacturer_id: z.ZodEffects<z.ZodString, string, string>;
|
|
2099
|
+
device_model_name: z.ZodEffects<z.ZodString, string, string>;
|
|
2100
|
+
device_model_code: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
|
|
2101
|
+
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
2102
|
+
}, "strip", z.ZodTypeAny, {
|
|
2103
|
+
status: Status;
|
|
2104
|
+
device_manufacturer_id: string;
|
|
2105
|
+
device_model_name: string;
|
|
2106
|
+
device_model_code: string;
|
|
2107
|
+
}, {
|
|
2108
|
+
status: Status;
|
|
2109
|
+
device_manufacturer_id: string;
|
|
2110
|
+
device_model_name: string;
|
|
2111
|
+
device_model_code?: string | undefined;
|
|
2112
|
+
}>;
|
|
2113
|
+
type MasterDeviceModelDTO = z.infer<typeof MasterDeviceModelSchema>;
|
|
2114
|
+
declare const MasterDeviceModelQuerySchema: z.ZodObject<{
|
|
2115
|
+
search: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
|
|
2116
|
+
status: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof Status>, "many">>>;
|
|
2117
|
+
paging: z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof PAGING>>>;
|
|
2118
|
+
page_count: z.ZodEffects<z.ZodDefault<z.ZodOptional<z.ZodNumber>>, number, unknown>;
|
|
2119
|
+
page_index: z.ZodEffects<z.ZodDefault<z.ZodOptional<z.ZodNumber>>, number, unknown>;
|
|
2120
|
+
load_parents: z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof LoadParents>>>;
|
|
2121
|
+
load_parents_list: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
2122
|
+
load_child: z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof LoadChild>>>;
|
|
2123
|
+
load_child_list: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
2124
|
+
load_child_count: z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof LoadChildCount>>>;
|
|
2125
|
+
load_child_count_list: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
2126
|
+
include_details: z.ZodDefault<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
2127
|
+
where_relations: z.ZodDefault<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
2128
|
+
order_by: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2129
|
+
name: z.ZodEffects<z.ZodString, string, string>;
|
|
2130
|
+
field: z.ZodEffects<z.ZodString, string, string>;
|
|
2131
|
+
direction: z.ZodType<OrderBy, z.ZodTypeDef, OrderBy>;
|
|
2132
|
+
}, "strip", z.ZodTypeAny, {
|
|
2133
|
+
name: string;
|
|
2134
|
+
field: string;
|
|
2135
|
+
direction: OrderBy;
|
|
2136
|
+
}, {
|
|
2137
|
+
name: string;
|
|
2138
|
+
field: string;
|
|
2139
|
+
direction: OrderBy;
|
|
2140
|
+
}>, "many">>>;
|
|
2141
|
+
include_master_data: z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof YesNo>>>;
|
|
2142
|
+
date_format_id: z.ZodEffects<z.ZodString, string, string>;
|
|
2143
|
+
time_zone_id: z.ZodEffects<z.ZodString, string, string>;
|
|
2144
|
+
} & {
|
|
2145
|
+
device_manufacturer_ids: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
2146
|
+
device_model_ids: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
2147
|
+
}, "strip", z.ZodTypeAny, {
|
|
2148
|
+
search: string;
|
|
2149
|
+
load_child: LoadChild;
|
|
2150
|
+
load_parents: LoadParents;
|
|
2151
|
+
paging: PAGING;
|
|
2152
|
+
page_index: number;
|
|
2153
|
+
page_count: number;
|
|
2154
|
+
status: Status[];
|
|
2155
|
+
load_parents_list: string[];
|
|
2156
|
+
load_child_list: string[];
|
|
2157
|
+
load_child_count: LoadChildCount;
|
|
2158
|
+
load_child_count_list: string[];
|
|
2159
|
+
include_details: Record<string, any>;
|
|
2160
|
+
where_relations: Record<string, any>;
|
|
2161
|
+
order_by: {
|
|
2162
|
+
name: string;
|
|
2163
|
+
field: string;
|
|
2164
|
+
direction: OrderBy;
|
|
2165
|
+
}[];
|
|
2166
|
+
include_master_data: YesNo;
|
|
2167
|
+
date_format_id: string;
|
|
2168
|
+
time_zone_id: string;
|
|
2169
|
+
device_manufacturer_ids: string[];
|
|
2170
|
+
device_model_ids: string[];
|
|
2171
|
+
}, {
|
|
2172
|
+
date_format_id: string;
|
|
2173
|
+
time_zone_id: string;
|
|
2174
|
+
search?: string | undefined;
|
|
2175
|
+
load_child?: LoadChild | undefined;
|
|
2176
|
+
load_parents?: LoadParents | undefined;
|
|
2177
|
+
paging?: PAGING | undefined;
|
|
2178
|
+
page_index?: unknown;
|
|
2179
|
+
page_count?: unknown;
|
|
2180
|
+
status?: Status[] | undefined;
|
|
2181
|
+
load_parents_list?: string[] | undefined;
|
|
2182
|
+
load_child_list?: string[] | undefined;
|
|
2183
|
+
load_child_count?: LoadChildCount | undefined;
|
|
2184
|
+
load_child_count_list?: string[] | undefined;
|
|
2185
|
+
include_details?: Record<string, any> | undefined;
|
|
2186
|
+
where_relations?: Record<string, any> | undefined;
|
|
2187
|
+
order_by?: {
|
|
2188
|
+
name: string;
|
|
2189
|
+
field: string;
|
|
2190
|
+
direction: OrderBy;
|
|
2191
|
+
}[] | undefined;
|
|
2192
|
+
include_master_data?: YesNo | undefined;
|
|
2193
|
+
device_manufacturer_ids?: string[] | undefined;
|
|
2194
|
+
device_model_ids?: string[] | undefined;
|
|
2195
|
+
}>;
|
|
2196
|
+
type MasterDeviceModelQueryDTO = z.infer<typeof MasterDeviceModelQuerySchema>;
|
|
2197
|
+
declare const toMasterDeviceModelPayload: (deviceModel: MasterDeviceModel) => MasterDeviceModelDTO;
|
|
2198
|
+
declare const newMasterDeviceModelPayload: () => MasterDeviceModelDTO;
|
|
2199
|
+
declare const findMasterDeviceModels: (data: MasterDeviceModelQueryDTO) => Promise<FBR<MasterDeviceModel[]>>;
|
|
2200
|
+
declare const createMasterDeviceModel: (data: MasterDeviceModelDTO) => Promise<SBR>;
|
|
2201
|
+
declare const updateMasterDeviceModel: (id: string, data: MasterDeviceModelDTO) => Promise<SBR>;
|
|
2202
|
+
declare const deleteMasterDeviceModel: (id: string) => Promise<SBR>;
|
|
2203
|
+
declare const getMasterDeviceModelCache: (device_manufacturer_id?: string) => Promise<FBR<MasterDeviceModel[]>>;
|
|
2204
|
+
declare const getMasterDeviceModelCacheCount: (device_manufacturer_id?: string) => Promise<FBR<number>>;
|
|
2205
|
+
declare const getMasterDeviceModelCacheChild: (device_manufacturer_id?: string) => Promise<FBR<MasterDeviceModel[]>>;
|
|
2206
|
+
|
|
2207
|
+
interface MasterDeviceManufacturer extends Record<string, unknown> {
|
|
2208
|
+
device_manufacturer_id: string;
|
|
2209
|
+
device_manufacturer_name: string;
|
|
2210
|
+
device_manufacturer_code?: string;
|
|
2211
|
+
status: Status;
|
|
2212
|
+
added_date_time: string;
|
|
2213
|
+
modified_date_time: string;
|
|
2214
|
+
MasterDeviceModel: MasterDeviceModel[];
|
|
2215
|
+
MasterDeviceType: MasterDeviceType[];
|
|
2216
|
+
MasterDevice: MasterDevice[];
|
|
2217
|
+
_count?: {
|
|
2218
|
+
MasterDeviceModel: number;
|
|
2219
|
+
MasterDeviceType: number;
|
|
2220
|
+
MasterDevice: number;
|
|
2221
|
+
};
|
|
2222
|
+
}
|
|
2223
|
+
declare const MasterDeviceManufacturerSchema: z.ZodObject<{
|
|
2224
|
+
device_manufacturer_name: z.ZodEffects<z.ZodString, string, string>;
|
|
2225
|
+
device_manufacturer_code: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
|
|
2226
|
+
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
2227
|
+
}, "strip", z.ZodTypeAny, {
|
|
2228
|
+
status: Status;
|
|
2229
|
+
device_manufacturer_name: string;
|
|
2230
|
+
device_manufacturer_code: string;
|
|
2231
|
+
}, {
|
|
2232
|
+
status: Status;
|
|
2233
|
+
device_manufacturer_name: string;
|
|
2234
|
+
device_manufacturer_code?: string | undefined;
|
|
2235
|
+
}>;
|
|
2236
|
+
type MasterDeviceManufacturerDTO = z.infer<typeof MasterDeviceManufacturerSchema>;
|
|
2237
|
+
declare const MasterDeviceManufacturerQuerySchema: z.ZodObject<{
|
|
2238
|
+
search: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
|
|
2239
|
+
status: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof Status>, "many">>>;
|
|
2240
|
+
paging: z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof PAGING>>>;
|
|
2241
|
+
page_count: z.ZodEffects<z.ZodDefault<z.ZodOptional<z.ZodNumber>>, number, unknown>;
|
|
2242
|
+
page_index: z.ZodEffects<z.ZodDefault<z.ZodOptional<z.ZodNumber>>, number, unknown>;
|
|
2243
|
+
load_parents: z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof LoadParents>>>;
|
|
2244
|
+
load_parents_list: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
2245
|
+
load_child: z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof LoadChild>>>;
|
|
2246
|
+
load_child_list: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
2247
|
+
load_child_count: z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof LoadChildCount>>>;
|
|
2248
|
+
load_child_count_list: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
2249
|
+
include_details: z.ZodDefault<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
2250
|
+
where_relations: z.ZodDefault<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
2251
|
+
order_by: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2252
|
+
name: z.ZodEffects<z.ZodString, string, string>;
|
|
2253
|
+
field: z.ZodEffects<z.ZodString, string, string>;
|
|
2254
|
+
direction: z.ZodType<OrderBy, z.ZodTypeDef, OrderBy>;
|
|
2255
|
+
}, "strip", z.ZodTypeAny, {
|
|
2256
|
+
name: string;
|
|
2257
|
+
field: string;
|
|
2258
|
+
direction: OrderBy;
|
|
2259
|
+
}, {
|
|
2260
|
+
name: string;
|
|
2261
|
+
field: string;
|
|
2262
|
+
direction: OrderBy;
|
|
2263
|
+
}>, "many">>>;
|
|
2264
|
+
include_master_data: z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof YesNo>>>;
|
|
2265
|
+
date_format_id: z.ZodEffects<z.ZodString, string, string>;
|
|
2266
|
+
time_zone_id: z.ZodEffects<z.ZodString, string, string>;
|
|
2267
|
+
} & {
|
|
2268
|
+
device_manufacturer_ids: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
2269
|
+
}, "strip", z.ZodTypeAny, {
|
|
2270
|
+
search: string;
|
|
2271
|
+
load_child: LoadChild;
|
|
2272
|
+
load_parents: LoadParents;
|
|
2273
|
+
paging: PAGING;
|
|
2274
|
+
page_index: number;
|
|
2275
|
+
page_count: number;
|
|
2276
|
+
status: Status[];
|
|
2277
|
+
load_parents_list: string[];
|
|
2278
|
+
load_child_list: string[];
|
|
2279
|
+
load_child_count: LoadChildCount;
|
|
2280
|
+
load_child_count_list: string[];
|
|
2281
|
+
include_details: Record<string, any>;
|
|
2282
|
+
where_relations: Record<string, any>;
|
|
2283
|
+
order_by: {
|
|
2284
|
+
name: string;
|
|
2285
|
+
field: string;
|
|
2286
|
+
direction: OrderBy;
|
|
2287
|
+
}[];
|
|
2288
|
+
include_master_data: YesNo;
|
|
2289
|
+
date_format_id: string;
|
|
2290
|
+
time_zone_id: string;
|
|
2291
|
+
device_manufacturer_ids: string[];
|
|
2292
|
+
}, {
|
|
2293
|
+
date_format_id: string;
|
|
2294
|
+
time_zone_id: string;
|
|
2295
|
+
search?: string | undefined;
|
|
2296
|
+
load_child?: LoadChild | undefined;
|
|
2297
|
+
load_parents?: LoadParents | undefined;
|
|
2298
|
+
paging?: PAGING | undefined;
|
|
2299
|
+
page_index?: unknown;
|
|
2300
|
+
page_count?: unknown;
|
|
2301
|
+
status?: Status[] | undefined;
|
|
2302
|
+
load_parents_list?: string[] | undefined;
|
|
2303
|
+
load_child_list?: string[] | undefined;
|
|
2304
|
+
load_child_count?: LoadChildCount | undefined;
|
|
2305
|
+
load_child_count_list?: string[] | undefined;
|
|
2306
|
+
include_details?: Record<string, any> | undefined;
|
|
2307
|
+
where_relations?: Record<string, any> | undefined;
|
|
2308
|
+
order_by?: {
|
|
2309
|
+
name: string;
|
|
2310
|
+
field: string;
|
|
2311
|
+
direction: OrderBy;
|
|
2312
|
+
}[] | undefined;
|
|
2313
|
+
include_master_data?: YesNo | undefined;
|
|
2314
|
+
device_manufacturer_ids?: string[] | undefined;
|
|
2315
|
+
}>;
|
|
2316
|
+
type MasterDeviceManufacturerQueryDTO = z.infer<typeof MasterDeviceManufacturerQuerySchema>;
|
|
2317
|
+
declare const toMasterDeviceManufacturerPayload: (manufacturer: MasterDeviceManufacturer) => MasterDeviceManufacturerDTO;
|
|
2318
|
+
declare const newMasterDeviceManufacturerPayload: () => MasterDeviceManufacturerDTO;
|
|
2319
|
+
declare const findMasterDeviceManufacturers: (data: MasterDeviceManufacturerQueryDTO) => Promise<FBR<MasterDeviceManufacturer[]>>;
|
|
2320
|
+
declare const createMasterDeviceManufacturer: (data: MasterDeviceManufacturerDTO) => Promise<SBR>;
|
|
2321
|
+
declare const updateMasterDeviceManufacturer: (id: string, data: MasterDeviceManufacturerDTO) => Promise<SBR>;
|
|
2322
|
+
declare const deleteMasterDeviceManufacturer: (id: string) => Promise<SBR>;
|
|
2323
|
+
declare const getMasterDeviceManufacturerCache: () => Promise<FBR<MasterDeviceManufacturer[]>>;
|
|
2324
|
+
declare const getMasterDeviceManufacturerCacheCount: () => Promise<FBR<number>>;
|
|
2325
|
+
declare const getMasterDeviceManufacturerCacheChild: () => Promise<FBR<MasterDeviceManufacturer[]>>;
|
|
2326
|
+
|
|
2327
|
+
export { AdminRole, AlertSubType, AlertType, type BR, type BaseFindParams, type BaseQueryDTO, BaseQuerySchema, BillingStatus, BooleanType, DefaultBaseFindParams, DeviceStatus, DeviceType, DocumentStatus, DocumentType, DocumentValidityStatus, DoorSensorStatus, ExpenseCategory, type FBR, FileType, FleetSize, GPSFuelApproveStatus, GPSSource, GPSType, GeofencePurposeType, GeofenceStatusType, GeofenceType, InspectionActionStatus, InspectionStatus, InspectionType, Is12AM, IssueSeverity, IssueSource, IssueStatus, JobCardStatus, LifeExpiry, LinkStatus, LinkType, LoadChild, LoadChildCount, LoadParents, LoginFrom, type MasterDeviceManufacturer, type MasterDeviceManufacturerDTO, type MasterDeviceManufacturerQueryDTO, MasterDeviceManufacturerQuerySchema, MasterDeviceManufacturerSchema, type MasterDeviceModel, type MasterDeviceModelDTO, type MasterDeviceModelQueryDTO, MasterDeviceModelQuerySchema, MasterDeviceModelSchema, type MasterDeviceType, type MasterDeviceTypeDTO, type MasterDeviceTypeQueryDTO, MasterDeviceTypeQuerySchema, MasterDeviceTypeSchema, MenuType, Module, type MongoBaseQueryDTO, MongoBaseQuerySchema, NightDriving, NotificationType, OdometerSource, OrderBy, OrderBySchema, OverSpeed, PAGING, type PageData, PaymentStatus, Priority, PurchaseOrderStatus, PurchaseType, PurchaseVehicleType, RecurrenceInterval, ReminderSource, ReminderStatus, ReminderTriggerType, RequestType, RetreadingMethod, type SBR, ScheduleStatus, ScheduleType, ServiceType, SimStatus, Status, StockType, SubModule, type SummaryData, TicketStatus, TimeSlot, TrackHistoryLinkStatus, TyreStatus, VerifyStatus, YesNo, apiDelete, apiGet, apiPatch, apiPost, booleanMandatory, booleanOptional, createMasterDeviceManufacturer, createMasterDeviceModel, createMasterDeviceType, dateMandatory, dateOptional, dateTimeMandatory, dateTimeOptional, deleteMasterDeviceManufacturer, deleteMasterDeviceModel, deleteMasterDeviceType, doubleMandatory, doubleMandatoryAmount, doubleMandatoryLatLng, doubleOptional, doubleOptionalAmount, doubleOptionalLatLng, dynamicJsonSchema, enumArrayMandatory, enumArrayOptional, enumMandatory, enumOptional, findMasterDeviceManufacturers, findMasterDeviceModels, findMasterDeviceTypes, getAllEnums, getMasterDeviceManufacturerCache, getMasterDeviceManufacturerCacheChild, getMasterDeviceManufacturerCacheCount, getMasterDeviceModelCache, getMasterDeviceModelCacheChild, getMasterDeviceModelCacheCount, getMasterDeviceTypeCache, getMasterDeviceTypeCacheChild, getMasterDeviceTypeCacheCount, multi_select_mandatory, multi_select_optional, nestedArrayOfObjectMandatory, nestedArrayOfObjectsOptional, nestedObjectMandatory, nestedObjectOptional, newMasterDeviceManufacturerPayload, newMasterDeviceModelPayload, newMasterDeviceTypePayload, numberArrayMandatory, numberArrayOptional, numberMandatory, numberOptional, r_log, setAxiosInstance as setupSdk, single_select_mandatory, single_select_optional, stringArrayMandatory, stringArrayOptional, stringMandatory, stringOptional, stringUUIDMandatory, toMasterDeviceManufacturerPayload, toMasterDeviceModelPayload, toMasterDeviceTypePayload, updateMasterDeviceManufacturer, updateMasterDeviceModel, updateMasterDeviceType, withDefaults };
|