vms-nest-prisma-api-document 6.0.12 → 6.0.14
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/core/Enums.d.ts +103 -7
- package/dist/core/Enums.js +102 -8
- package/dist/services/account/notification_service.d.ts +6 -6
- package/dist/services/account/notification_service.js +102 -3
- package/dist/services/fleet/fuel_management/fleet_fuel_daily_summary_service.d.ts +16 -16
- package/dist/services/fleet/fuel_management/fleet_fuel_refill_service.d.ts +41 -40
- package/dist/services/fleet/fuel_management/fleet_fuel_removal_service.d.ts +52 -51
- package/dist/services/gps/reports/gps_reports_mongo_service.d.ts +43 -43
- package/dist/services/master/expense/master_fuel_company_service.d.ts +5 -5
- package/dist/services/master/expense/master_vendor_document_type_service.d.ts +2 -2
- package/dist/services/master/main/master_main_eway_bill_provider_service.d.ts +2 -2
- package/dist/services/master/main/master_main_fasttag_bank_service.d.ts +2 -2
- package/dist/services/master/main/master_main_landmark_service.d.ts +6 -6
- package/dist/services/master/vehicle/master_vehicle_fuel_removal_reason_service.d.ts +4 -4
- package/dist/services/master/vehicle/master_vehicle_fuel_unit_service.d.ts +3 -3
- package/package.json +1 -1
package/dist/core/Enums.d.ts
CHANGED
|
@@ -310,16 +310,112 @@ declare enum MenuType {
|
|
|
310
310
|
Item = "Item"
|
|
311
311
|
}
|
|
312
312
|
declare enum Module {
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
313
|
+
GPSModule = "GPSModule",
|
|
314
|
+
FleetModule = "FleetModule",
|
|
315
|
+
TripModule = "TripModule",
|
|
316
|
+
AccountModule = "AccountModule"
|
|
317
317
|
}
|
|
318
318
|
declare enum AlertType {
|
|
319
|
-
|
|
319
|
+
Fuel = "Fuel",
|
|
320
|
+
Temperature = "Temperature",
|
|
321
|
+
RelayIgnitionLock = "RelayIgnitionLock",
|
|
322
|
+
Genset = "Genset",
|
|
323
|
+
DoorSensor = "DoorSensor",
|
|
324
|
+
DigitalLocker = "DigitalLocker",
|
|
325
|
+
OverSpeed = "OverSpeed",
|
|
326
|
+
Ignition = "Ignition",
|
|
327
|
+
VehicleMovement = "VehicleMovement",
|
|
328
|
+
Geofence = "Geofence",
|
|
329
|
+
Trailer = "Trailer",
|
|
330
|
+
DocumentExpiry = "DocumentExpiry",
|
|
331
|
+
Compliance = "Compliance",
|
|
332
|
+
Maintenance = "Maintenance",
|
|
333
|
+
Service = "Service",
|
|
334
|
+
Inspection = "Inspection",
|
|
335
|
+
Tyre = "Tyre",
|
|
336
|
+
Incident = "Incident",
|
|
337
|
+
Issue = "Issue",
|
|
338
|
+
Reminder = "Reminder",
|
|
339
|
+
Trip = "Trip",
|
|
340
|
+
Route = "Route",
|
|
341
|
+
Invoice = "Invoice",
|
|
342
|
+
BillDue = "BillDue",
|
|
343
|
+
UserAuth = "UserAuth"
|
|
320
344
|
}
|
|
321
345
|
declare enum AlertSubType {
|
|
322
|
-
|
|
346
|
+
FuelRefill = "FuelRefill",
|
|
347
|
+
FuelRemoval = "FuelRemoval",
|
|
348
|
+
LowFuel = "LowFuel",
|
|
349
|
+
FuelSensorFault = "FuelSensorFault",
|
|
350
|
+
TemperatureHigh = "TemperatureHigh",
|
|
351
|
+
TemperatureLow = "TemperatureLow",
|
|
352
|
+
TempProbeFault = "TempProbeFault",
|
|
353
|
+
VehicleLocked = "VehicleLocked",
|
|
354
|
+
VehicleUnlocked = "VehicleUnlocked",
|
|
355
|
+
GensetOn = "GensetOn",
|
|
356
|
+
GensetOff = "GensetOff",
|
|
357
|
+
DoorOpen = "DoorOpen",
|
|
358
|
+
DoorClose = "DoorClose",
|
|
359
|
+
DoorOpenTooLong = "DoorOpenTooLong",
|
|
360
|
+
DoorTamper = "DoorTamper",
|
|
361
|
+
DigitalLockerLocked = "DigitalLockerLocked",
|
|
362
|
+
DigitalLockerUnlocked = "DigitalLockerUnlocked",
|
|
363
|
+
DigitalLockerFailedUnlock = "DigitalLockerFailedUnlock",
|
|
364
|
+
DigitalLockerForcedOpen = "DigitalLockerForcedOpen",
|
|
365
|
+
OverSpeed = "OverSpeed",
|
|
366
|
+
IgnitionOn = "IgnitionOn",
|
|
367
|
+
IgnitionOff = "IgnitionOff",
|
|
368
|
+
VehicleMoving = "VehicleMoving",
|
|
369
|
+
VehicleStopped = "VehicleStopped",
|
|
370
|
+
VehicleStoppedHours = "VehicleStoppedHours",// stopped ≥ configured hours (dynamic)
|
|
371
|
+
LessKMTravel = "LessKMTravel",// low distance within period (dynamic)
|
|
372
|
+
TowDetected = "TowDetected",
|
|
373
|
+
AfterHours = "AfterHours",
|
|
374
|
+
GeofenceEnter = "GeofenceEnter",
|
|
375
|
+
GeofenceExit = "GeofenceExit",
|
|
376
|
+
TrailerConnected = "TrailerConnected",
|
|
377
|
+
TrailerDisconnected = "TrailerDisconnected",
|
|
378
|
+
InsuranceExpiry = "InsuranceExpiry",
|
|
379
|
+
RegistrationExpiry = "RegistrationExpiry",
|
|
380
|
+
PermitExpiry = "PermitExpiry",
|
|
381
|
+
PollutionExpiry = "PollutionExpiry",
|
|
382
|
+
FitnessExpiry = "FitnessExpiry",
|
|
383
|
+
TaxExpiry = "TaxExpiry",
|
|
384
|
+
MaintenanceDue = "MaintenanceDue",
|
|
385
|
+
MaintenanceOverdue = "MaintenanceOverdue",
|
|
386
|
+
MaintenanceCompleted = "MaintenanceCompleted",
|
|
387
|
+
ServiceScheduled = "ServiceScheduled",
|
|
388
|
+
ServiceStarted = "ServiceStarted",
|
|
389
|
+
ServiceCompleted = "ServiceCompleted",
|
|
390
|
+
ServiceOverdue = "ServiceOverdue",
|
|
391
|
+
InspectionScheduled = "InspectionScheduled",
|
|
392
|
+
InspectionPassed = "InspectionPassed",
|
|
393
|
+
InspectionFailed = "InspectionFailed",
|
|
394
|
+
InspectionOverdue = "InspectionOverdue",
|
|
395
|
+
CollisionDetected = "CollisionDetected",
|
|
396
|
+
Rollover = "Rollover",
|
|
397
|
+
IssueCreated = "IssueCreated",
|
|
398
|
+
IssueUpdated = "IssueUpdated",
|
|
399
|
+
IssueResolved = "IssueResolved",
|
|
400
|
+
ReminderDue = "ReminderDue",
|
|
401
|
+
ReminderOverdue = "ReminderOverdue",
|
|
402
|
+
ReminderCompleted = "ReminderCompleted",
|
|
403
|
+
TripPlanned = "TripPlanned",
|
|
404
|
+
TripStarted = "TripStarted",
|
|
405
|
+
TripPaused = "TripPaused",
|
|
406
|
+
TripResumed = "TripResumed",
|
|
407
|
+
TripCompleted = "TripCompleted",
|
|
408
|
+
TripCancelled = "TripCancelled",
|
|
409
|
+
RouteDeviation = "RouteDeviation",
|
|
410
|
+
WaypointMissed = "WaypointMissed",
|
|
411
|
+
UnscheduledStop = "UnscheduledStop",
|
|
412
|
+
InvoiceGenerated = "InvoiceGenerated",
|
|
413
|
+
InvoiceDue = "InvoiceDue",
|
|
414
|
+
InvoiceOverdue = "InvoiceOverdue",
|
|
415
|
+
InvoicePaid = "InvoicePaid",
|
|
416
|
+
UserLogin = "UserLogin",
|
|
417
|
+
UserLogout = "UserLogout",
|
|
418
|
+
PasswordChanged = "PasswordChanged"
|
|
323
419
|
}
|
|
324
420
|
declare enum SimStatus {
|
|
325
421
|
New = "New",
|
|
@@ -489,4 +585,4 @@ declare enum PaymentMode {
|
|
|
489
585
|
Other = "Other"
|
|
490
586
|
}
|
|
491
587
|
|
|
492
|
-
export { AdminRole, AlertSubType, AlertType, BillingStatus, BooleanType, DeviceStatus, DeviceType, DocumentStatus, DocumentType, DocumentValidityStatus, DoorSensorStatus, ExpenseCategory, FileType, FleetSize, GPSFuelApproveStatus, GPSSource, GPSType, GeofencePurposeType, GeofenceStatusType, GeofenceType, InspectionActionStatus, InspectionStatus, InspectionType, Is12AM, IssueSeverity, IssueSource, IssueStatus, JobCardStatus, LifeExpiry, LinkStatus, LinkType, LoadChild, LoadChildCount, LoadParents, LoginFrom, MenuType, Module, NightDriving, NotificationType, OdometerSource, OrderBy, OverSpeed, PAGING, PaymentMode, PaymentStatus, Priority, PurchaseOrderStatus, PurchaseType, PurchaseVehicleType, RecurrenceInterval, RefillEntrySource, RefillMethod, ReminderSource, ReminderStatus, ReminderTriggerType, RequestType, RetreadingMethod, ScheduleStatus, ScheduleType, ServiceType, SimStatus, Status, StockType,
|
|
588
|
+
export { AdminRole, AlertSubType, AlertType, BillingStatus, BooleanType, DeviceStatus, DeviceType, DocumentStatus, DocumentType, DocumentValidityStatus, DoorSensorStatus, ExpenseCategory, FileType, FleetSize, GPSFuelApproveStatus, GPSSource, GPSType, GeofencePurposeType, GeofenceStatusType, GeofenceType, InspectionActionStatus, InspectionStatus, InspectionType, Is12AM, IssueSeverity, IssueSource, IssueStatus, JobCardStatus, LifeExpiry, LinkStatus, LinkType, LoadChild, LoadChildCount, LoadParents, LoginFrom, MenuType, Module, NightDriving, NotificationType, OdometerSource, OrderBy, OverSpeed, PAGING, PaymentMode, PaymentStatus, Priority, PurchaseOrderStatus, PurchaseType, PurchaseVehicleType, RecurrenceInterval, RefillEntrySource, RefillMethod, ReminderSource, ReminderStatus, ReminderTriggerType, RequestType, RetreadingMethod, ScheduleStatus, ScheduleType, ServiceType, SimStatus, Status, StockType, TicketStatus, TimeSlot, TrackHistoryLinkStatus, TyreStatus, VerifyStatus, YesNo };
|
package/dist/core/Enums.js
CHANGED
|
@@ -362,19 +362,114 @@ var MenuType = /* @__PURE__ */ ((MenuType2) => {
|
|
|
362
362
|
return MenuType2;
|
|
363
363
|
})(MenuType || {});
|
|
364
364
|
var Module = /* @__PURE__ */ ((Module2) => {
|
|
365
|
-
Module2["
|
|
365
|
+
Module2["GPSModule"] = "GPSModule";
|
|
366
|
+
Module2["FleetModule"] = "FleetModule";
|
|
367
|
+
Module2["TripModule"] = "TripModule";
|
|
368
|
+
Module2["AccountModule"] = "AccountModule";
|
|
366
369
|
return Module2;
|
|
367
370
|
})(Module || {});
|
|
368
|
-
var SubModule = /* @__PURE__ */ ((SubModule2) => {
|
|
369
|
-
SubModule2["ABC"] = "ABC";
|
|
370
|
-
return SubModule2;
|
|
371
|
-
})(SubModule || {});
|
|
372
371
|
var AlertType = /* @__PURE__ */ ((AlertType2) => {
|
|
373
|
-
AlertType2["
|
|
372
|
+
AlertType2["Fuel"] = "Fuel";
|
|
373
|
+
AlertType2["Temperature"] = "Temperature";
|
|
374
|
+
AlertType2["RelayIgnitionLock"] = "RelayIgnitionLock";
|
|
375
|
+
AlertType2["Genset"] = "Genset";
|
|
376
|
+
AlertType2["DoorSensor"] = "DoorSensor";
|
|
377
|
+
AlertType2["DigitalLocker"] = "DigitalLocker";
|
|
378
|
+
AlertType2["OverSpeed"] = "OverSpeed";
|
|
379
|
+
AlertType2["Ignition"] = "Ignition";
|
|
380
|
+
AlertType2["VehicleMovement"] = "VehicleMovement";
|
|
381
|
+
AlertType2["Geofence"] = "Geofence";
|
|
382
|
+
AlertType2["Trailer"] = "Trailer";
|
|
383
|
+
AlertType2["DocumentExpiry"] = "DocumentExpiry";
|
|
384
|
+
AlertType2["Compliance"] = "Compliance";
|
|
385
|
+
AlertType2["Maintenance"] = "Maintenance";
|
|
386
|
+
AlertType2["Service"] = "Service";
|
|
387
|
+
AlertType2["Inspection"] = "Inspection";
|
|
388
|
+
AlertType2["Tyre"] = "Tyre";
|
|
389
|
+
AlertType2["Incident"] = "Incident";
|
|
390
|
+
AlertType2["Issue"] = "Issue";
|
|
391
|
+
AlertType2["Reminder"] = "Reminder";
|
|
392
|
+
AlertType2["Trip"] = "Trip";
|
|
393
|
+
AlertType2["Route"] = "Route";
|
|
394
|
+
AlertType2["Invoice"] = "Invoice";
|
|
395
|
+
AlertType2["BillDue"] = "BillDue";
|
|
396
|
+
AlertType2["UserAuth"] = "UserAuth";
|
|
374
397
|
return AlertType2;
|
|
375
398
|
})(AlertType || {});
|
|
376
399
|
var AlertSubType = /* @__PURE__ */ ((AlertSubType2) => {
|
|
377
|
-
AlertSubType2["
|
|
400
|
+
AlertSubType2["FuelRefill"] = "FuelRefill";
|
|
401
|
+
AlertSubType2["FuelRemoval"] = "FuelRemoval";
|
|
402
|
+
AlertSubType2["LowFuel"] = "LowFuel";
|
|
403
|
+
AlertSubType2["FuelSensorFault"] = "FuelSensorFault";
|
|
404
|
+
AlertSubType2["TemperatureHigh"] = "TemperatureHigh";
|
|
405
|
+
AlertSubType2["TemperatureLow"] = "TemperatureLow";
|
|
406
|
+
AlertSubType2["TempProbeFault"] = "TempProbeFault";
|
|
407
|
+
AlertSubType2["VehicleLocked"] = "VehicleLocked";
|
|
408
|
+
AlertSubType2["VehicleUnlocked"] = "VehicleUnlocked";
|
|
409
|
+
AlertSubType2["GensetOn"] = "GensetOn";
|
|
410
|
+
AlertSubType2["GensetOff"] = "GensetOff";
|
|
411
|
+
AlertSubType2["DoorOpen"] = "DoorOpen";
|
|
412
|
+
AlertSubType2["DoorClose"] = "DoorClose";
|
|
413
|
+
AlertSubType2["DoorOpenTooLong"] = "DoorOpenTooLong";
|
|
414
|
+
AlertSubType2["DoorTamper"] = "DoorTamper";
|
|
415
|
+
AlertSubType2["DigitalLockerLocked"] = "DigitalLockerLocked";
|
|
416
|
+
AlertSubType2["DigitalLockerUnlocked"] = "DigitalLockerUnlocked";
|
|
417
|
+
AlertSubType2["DigitalLockerFailedUnlock"] = "DigitalLockerFailedUnlock";
|
|
418
|
+
AlertSubType2["DigitalLockerForcedOpen"] = "DigitalLockerForcedOpen";
|
|
419
|
+
AlertSubType2["OverSpeed"] = "OverSpeed";
|
|
420
|
+
AlertSubType2["IgnitionOn"] = "IgnitionOn";
|
|
421
|
+
AlertSubType2["IgnitionOff"] = "IgnitionOff";
|
|
422
|
+
AlertSubType2["VehicleMoving"] = "VehicleMoving";
|
|
423
|
+
AlertSubType2["VehicleStopped"] = "VehicleStopped";
|
|
424
|
+
AlertSubType2["VehicleStoppedHours"] = "VehicleStoppedHours";
|
|
425
|
+
AlertSubType2["LessKMTravel"] = "LessKMTravel";
|
|
426
|
+
AlertSubType2["TowDetected"] = "TowDetected";
|
|
427
|
+
AlertSubType2["AfterHours"] = "AfterHours";
|
|
428
|
+
AlertSubType2["GeofenceEnter"] = "GeofenceEnter";
|
|
429
|
+
AlertSubType2["GeofenceExit"] = "GeofenceExit";
|
|
430
|
+
AlertSubType2["TrailerConnected"] = "TrailerConnected";
|
|
431
|
+
AlertSubType2["TrailerDisconnected"] = "TrailerDisconnected";
|
|
432
|
+
AlertSubType2["InsuranceExpiry"] = "InsuranceExpiry";
|
|
433
|
+
AlertSubType2["RegistrationExpiry"] = "RegistrationExpiry";
|
|
434
|
+
AlertSubType2["PermitExpiry"] = "PermitExpiry";
|
|
435
|
+
AlertSubType2["PollutionExpiry"] = "PollutionExpiry";
|
|
436
|
+
AlertSubType2["FitnessExpiry"] = "FitnessExpiry";
|
|
437
|
+
AlertSubType2["TaxExpiry"] = "TaxExpiry";
|
|
438
|
+
AlertSubType2["MaintenanceDue"] = "MaintenanceDue";
|
|
439
|
+
AlertSubType2["MaintenanceOverdue"] = "MaintenanceOverdue";
|
|
440
|
+
AlertSubType2["MaintenanceCompleted"] = "MaintenanceCompleted";
|
|
441
|
+
AlertSubType2["ServiceScheduled"] = "ServiceScheduled";
|
|
442
|
+
AlertSubType2["ServiceStarted"] = "ServiceStarted";
|
|
443
|
+
AlertSubType2["ServiceCompleted"] = "ServiceCompleted";
|
|
444
|
+
AlertSubType2["ServiceOverdue"] = "ServiceOverdue";
|
|
445
|
+
AlertSubType2["InspectionScheduled"] = "InspectionScheduled";
|
|
446
|
+
AlertSubType2["InspectionPassed"] = "InspectionPassed";
|
|
447
|
+
AlertSubType2["InspectionFailed"] = "InspectionFailed";
|
|
448
|
+
AlertSubType2["InspectionOverdue"] = "InspectionOverdue";
|
|
449
|
+
AlertSubType2["CollisionDetected"] = "CollisionDetected";
|
|
450
|
+
AlertSubType2["Rollover"] = "Rollover";
|
|
451
|
+
AlertSubType2["IssueCreated"] = "IssueCreated";
|
|
452
|
+
AlertSubType2["IssueUpdated"] = "IssueUpdated";
|
|
453
|
+
AlertSubType2["IssueResolved"] = "IssueResolved";
|
|
454
|
+
AlertSubType2["ReminderDue"] = "ReminderDue";
|
|
455
|
+
AlertSubType2["ReminderOverdue"] = "ReminderOverdue";
|
|
456
|
+
AlertSubType2["ReminderCompleted"] = "ReminderCompleted";
|
|
457
|
+
AlertSubType2["TripPlanned"] = "TripPlanned";
|
|
458
|
+
AlertSubType2["TripStarted"] = "TripStarted";
|
|
459
|
+
AlertSubType2["TripPaused"] = "TripPaused";
|
|
460
|
+
AlertSubType2["TripResumed"] = "TripResumed";
|
|
461
|
+
AlertSubType2["TripCompleted"] = "TripCompleted";
|
|
462
|
+
AlertSubType2["TripCancelled"] = "TripCancelled";
|
|
463
|
+
AlertSubType2["RouteDeviation"] = "RouteDeviation";
|
|
464
|
+
AlertSubType2["WaypointMissed"] = "WaypointMissed";
|
|
465
|
+
AlertSubType2["UnscheduledStop"] = "UnscheduledStop";
|
|
466
|
+
AlertSubType2["InvoiceGenerated"] = "InvoiceGenerated";
|
|
467
|
+
AlertSubType2["InvoiceDue"] = "InvoiceDue";
|
|
468
|
+
AlertSubType2["InvoiceOverdue"] = "InvoiceOverdue";
|
|
469
|
+
AlertSubType2["InvoicePaid"] = "InvoicePaid";
|
|
470
|
+
AlertSubType2["UserLogin"] = "UserLogin";
|
|
471
|
+
AlertSubType2["UserLogout"] = "UserLogout";
|
|
472
|
+
AlertSubType2["PasswordChanged"] = "PasswordChanged";
|
|
378
473
|
return AlertSubType2;
|
|
379
474
|
})(AlertSubType || {});
|
|
380
475
|
var SimStatus = /* @__PURE__ */ ((SimStatus2) => {
|
|
@@ -623,7 +718,6 @@ export {
|
|
|
623
718
|
SimStatus,
|
|
624
719
|
Status,
|
|
625
720
|
StockType,
|
|
626
|
-
SubModule,
|
|
627
721
|
TicketStatus,
|
|
628
722
|
TimeSlot,
|
|
629
723
|
TrackHistoryLinkStatus,
|
|
@@ -154,9 +154,9 @@ declare const NotificationQuerySchema: z.ZodObject<{
|
|
|
154
154
|
user_ids: string[];
|
|
155
155
|
vehicle_ids: string[];
|
|
156
156
|
driver_ids: string[];
|
|
157
|
-
module: Module
|
|
158
|
-
alert_type: AlertType
|
|
159
|
-
alert_sub_type: AlertSubType
|
|
157
|
+
module: Module[];
|
|
158
|
+
alert_type: AlertType[];
|
|
159
|
+
alert_sub_type: AlertSubType[];
|
|
160
160
|
notification_ids: string[];
|
|
161
161
|
gps_geofence_ids: string[];
|
|
162
162
|
}, {
|
|
@@ -185,9 +185,9 @@ declare const NotificationQuerySchema: z.ZodObject<{
|
|
|
185
185
|
user_ids?: string[] | undefined;
|
|
186
186
|
vehicle_ids?: string[] | undefined;
|
|
187
187
|
driver_ids?: string[] | undefined;
|
|
188
|
-
module?: Module
|
|
189
|
-
alert_type?: AlertType
|
|
190
|
-
alert_sub_type?: AlertSubType
|
|
188
|
+
module?: Module[] | undefined;
|
|
189
|
+
alert_type?: AlertType[] | undefined;
|
|
190
|
+
alert_sub_type?: AlertSubType[] | undefined;
|
|
191
191
|
notification_ids?: string[] | undefined;
|
|
192
192
|
gps_geofence_ids?: string[] | undefined;
|
|
193
193
|
}>;
|
|
@@ -181,15 +181,114 @@ var YesNo = /* @__PURE__ */ ((YesNo3) => {
|
|
|
181
181
|
return YesNo3;
|
|
182
182
|
})(YesNo || {});
|
|
183
183
|
var Module = /* @__PURE__ */ ((Module2) => {
|
|
184
|
-
Module2["
|
|
184
|
+
Module2["GPSModule"] = "GPSModule";
|
|
185
|
+
Module2["FleetModule"] = "FleetModule";
|
|
186
|
+
Module2["TripModule"] = "TripModule";
|
|
187
|
+
Module2["AccountModule"] = "AccountModule";
|
|
185
188
|
return Module2;
|
|
186
189
|
})(Module || {});
|
|
187
190
|
var AlertType = /* @__PURE__ */ ((AlertType2) => {
|
|
188
|
-
AlertType2["
|
|
191
|
+
AlertType2["Fuel"] = "Fuel";
|
|
192
|
+
AlertType2["Temperature"] = "Temperature";
|
|
193
|
+
AlertType2["RelayIgnitionLock"] = "RelayIgnitionLock";
|
|
194
|
+
AlertType2["Genset"] = "Genset";
|
|
195
|
+
AlertType2["DoorSensor"] = "DoorSensor";
|
|
196
|
+
AlertType2["DigitalLocker"] = "DigitalLocker";
|
|
197
|
+
AlertType2["OverSpeed"] = "OverSpeed";
|
|
198
|
+
AlertType2["Ignition"] = "Ignition";
|
|
199
|
+
AlertType2["VehicleMovement"] = "VehicleMovement";
|
|
200
|
+
AlertType2["Geofence"] = "Geofence";
|
|
201
|
+
AlertType2["Trailer"] = "Trailer";
|
|
202
|
+
AlertType2["DocumentExpiry"] = "DocumentExpiry";
|
|
203
|
+
AlertType2["Compliance"] = "Compliance";
|
|
204
|
+
AlertType2["Maintenance"] = "Maintenance";
|
|
205
|
+
AlertType2["Service"] = "Service";
|
|
206
|
+
AlertType2["Inspection"] = "Inspection";
|
|
207
|
+
AlertType2["Tyre"] = "Tyre";
|
|
208
|
+
AlertType2["Incident"] = "Incident";
|
|
209
|
+
AlertType2["Issue"] = "Issue";
|
|
210
|
+
AlertType2["Reminder"] = "Reminder";
|
|
211
|
+
AlertType2["Trip"] = "Trip";
|
|
212
|
+
AlertType2["Route"] = "Route";
|
|
213
|
+
AlertType2["Invoice"] = "Invoice";
|
|
214
|
+
AlertType2["BillDue"] = "BillDue";
|
|
215
|
+
AlertType2["UserAuth"] = "UserAuth";
|
|
189
216
|
return AlertType2;
|
|
190
217
|
})(AlertType || {});
|
|
191
218
|
var AlertSubType = /* @__PURE__ */ ((AlertSubType2) => {
|
|
192
|
-
AlertSubType2["
|
|
219
|
+
AlertSubType2["FuelRefill"] = "FuelRefill";
|
|
220
|
+
AlertSubType2["FuelRemoval"] = "FuelRemoval";
|
|
221
|
+
AlertSubType2["LowFuel"] = "LowFuel";
|
|
222
|
+
AlertSubType2["FuelSensorFault"] = "FuelSensorFault";
|
|
223
|
+
AlertSubType2["TemperatureHigh"] = "TemperatureHigh";
|
|
224
|
+
AlertSubType2["TemperatureLow"] = "TemperatureLow";
|
|
225
|
+
AlertSubType2["TempProbeFault"] = "TempProbeFault";
|
|
226
|
+
AlertSubType2["VehicleLocked"] = "VehicleLocked";
|
|
227
|
+
AlertSubType2["VehicleUnlocked"] = "VehicleUnlocked";
|
|
228
|
+
AlertSubType2["GensetOn"] = "GensetOn";
|
|
229
|
+
AlertSubType2["GensetOff"] = "GensetOff";
|
|
230
|
+
AlertSubType2["DoorOpen"] = "DoorOpen";
|
|
231
|
+
AlertSubType2["DoorClose"] = "DoorClose";
|
|
232
|
+
AlertSubType2["DoorOpenTooLong"] = "DoorOpenTooLong";
|
|
233
|
+
AlertSubType2["DoorTamper"] = "DoorTamper";
|
|
234
|
+
AlertSubType2["DigitalLockerLocked"] = "DigitalLockerLocked";
|
|
235
|
+
AlertSubType2["DigitalLockerUnlocked"] = "DigitalLockerUnlocked";
|
|
236
|
+
AlertSubType2["DigitalLockerFailedUnlock"] = "DigitalLockerFailedUnlock";
|
|
237
|
+
AlertSubType2["DigitalLockerForcedOpen"] = "DigitalLockerForcedOpen";
|
|
238
|
+
AlertSubType2["OverSpeed"] = "OverSpeed";
|
|
239
|
+
AlertSubType2["IgnitionOn"] = "IgnitionOn";
|
|
240
|
+
AlertSubType2["IgnitionOff"] = "IgnitionOff";
|
|
241
|
+
AlertSubType2["VehicleMoving"] = "VehicleMoving";
|
|
242
|
+
AlertSubType2["VehicleStopped"] = "VehicleStopped";
|
|
243
|
+
AlertSubType2["VehicleStoppedHours"] = "VehicleStoppedHours";
|
|
244
|
+
AlertSubType2["LessKMTravel"] = "LessKMTravel";
|
|
245
|
+
AlertSubType2["TowDetected"] = "TowDetected";
|
|
246
|
+
AlertSubType2["AfterHours"] = "AfterHours";
|
|
247
|
+
AlertSubType2["GeofenceEnter"] = "GeofenceEnter";
|
|
248
|
+
AlertSubType2["GeofenceExit"] = "GeofenceExit";
|
|
249
|
+
AlertSubType2["TrailerConnected"] = "TrailerConnected";
|
|
250
|
+
AlertSubType2["TrailerDisconnected"] = "TrailerDisconnected";
|
|
251
|
+
AlertSubType2["InsuranceExpiry"] = "InsuranceExpiry";
|
|
252
|
+
AlertSubType2["RegistrationExpiry"] = "RegistrationExpiry";
|
|
253
|
+
AlertSubType2["PermitExpiry"] = "PermitExpiry";
|
|
254
|
+
AlertSubType2["PollutionExpiry"] = "PollutionExpiry";
|
|
255
|
+
AlertSubType2["FitnessExpiry"] = "FitnessExpiry";
|
|
256
|
+
AlertSubType2["TaxExpiry"] = "TaxExpiry";
|
|
257
|
+
AlertSubType2["MaintenanceDue"] = "MaintenanceDue";
|
|
258
|
+
AlertSubType2["MaintenanceOverdue"] = "MaintenanceOverdue";
|
|
259
|
+
AlertSubType2["MaintenanceCompleted"] = "MaintenanceCompleted";
|
|
260
|
+
AlertSubType2["ServiceScheduled"] = "ServiceScheduled";
|
|
261
|
+
AlertSubType2["ServiceStarted"] = "ServiceStarted";
|
|
262
|
+
AlertSubType2["ServiceCompleted"] = "ServiceCompleted";
|
|
263
|
+
AlertSubType2["ServiceOverdue"] = "ServiceOverdue";
|
|
264
|
+
AlertSubType2["InspectionScheduled"] = "InspectionScheduled";
|
|
265
|
+
AlertSubType2["InspectionPassed"] = "InspectionPassed";
|
|
266
|
+
AlertSubType2["InspectionFailed"] = "InspectionFailed";
|
|
267
|
+
AlertSubType2["InspectionOverdue"] = "InspectionOverdue";
|
|
268
|
+
AlertSubType2["CollisionDetected"] = "CollisionDetected";
|
|
269
|
+
AlertSubType2["Rollover"] = "Rollover";
|
|
270
|
+
AlertSubType2["IssueCreated"] = "IssueCreated";
|
|
271
|
+
AlertSubType2["IssueUpdated"] = "IssueUpdated";
|
|
272
|
+
AlertSubType2["IssueResolved"] = "IssueResolved";
|
|
273
|
+
AlertSubType2["ReminderDue"] = "ReminderDue";
|
|
274
|
+
AlertSubType2["ReminderOverdue"] = "ReminderOverdue";
|
|
275
|
+
AlertSubType2["ReminderCompleted"] = "ReminderCompleted";
|
|
276
|
+
AlertSubType2["TripPlanned"] = "TripPlanned";
|
|
277
|
+
AlertSubType2["TripStarted"] = "TripStarted";
|
|
278
|
+
AlertSubType2["TripPaused"] = "TripPaused";
|
|
279
|
+
AlertSubType2["TripResumed"] = "TripResumed";
|
|
280
|
+
AlertSubType2["TripCompleted"] = "TripCompleted";
|
|
281
|
+
AlertSubType2["TripCancelled"] = "TripCancelled";
|
|
282
|
+
AlertSubType2["RouteDeviation"] = "RouteDeviation";
|
|
283
|
+
AlertSubType2["WaypointMissed"] = "WaypointMissed";
|
|
284
|
+
AlertSubType2["UnscheduledStop"] = "UnscheduledStop";
|
|
285
|
+
AlertSubType2["InvoiceGenerated"] = "InvoiceGenerated";
|
|
286
|
+
AlertSubType2["InvoiceDue"] = "InvoiceDue";
|
|
287
|
+
AlertSubType2["InvoiceOverdue"] = "InvoiceOverdue";
|
|
288
|
+
AlertSubType2["InvoicePaid"] = "InvoicePaid";
|
|
289
|
+
AlertSubType2["UserLogin"] = "UserLogin";
|
|
290
|
+
AlertSubType2["UserLogout"] = "UserLogout";
|
|
291
|
+
AlertSubType2["PasswordChanged"] = "PasswordChanged";
|
|
193
292
|
return AlertSubType2;
|
|
194
293
|
})(AlertSubType || {});
|
|
195
294
|
|
|
@@ -62,22 +62,22 @@ declare const FleetFuelDailySummarySchema: z.ZodObject<{
|
|
|
62
62
|
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
63
63
|
}, "strip", z.ZodTypeAny, {
|
|
64
64
|
date: string;
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
user_id: string;
|
|
68
|
-
vehicle_id: string;
|
|
69
|
-
driver_id: string;
|
|
70
|
-
device_id: string;
|
|
65
|
+
start_fuel_liters: number;
|
|
66
|
+
end_fuel_liters: number;
|
|
71
67
|
total_km: number;
|
|
72
68
|
consumed_fuel_liters: number;
|
|
73
69
|
refills_count: number;
|
|
74
|
-
start_fuel_liters: number;
|
|
75
|
-
end_fuel_liters: number;
|
|
76
70
|
refill_liters: number;
|
|
77
71
|
removals_count: number;
|
|
78
72
|
removal_liters: number;
|
|
79
73
|
mileage_kmpl: number;
|
|
80
74
|
liters_per_100km: number;
|
|
75
|
+
status: Status;
|
|
76
|
+
organisation_id: string;
|
|
77
|
+
user_id: string;
|
|
78
|
+
vehicle_id: string;
|
|
79
|
+
driver_id: string;
|
|
80
|
+
device_id: string;
|
|
81
81
|
}, {
|
|
82
82
|
date: string;
|
|
83
83
|
status: Status;
|
|
@@ -86,11 +86,11 @@ declare const FleetFuelDailySummarySchema: z.ZodObject<{
|
|
|
86
86
|
vehicle_id: string;
|
|
87
87
|
driver_id: string;
|
|
88
88
|
device_id: string;
|
|
89
|
+
start_fuel_liters?: unknown;
|
|
90
|
+
end_fuel_liters?: unknown;
|
|
89
91
|
total_km?: unknown;
|
|
90
92
|
consumed_fuel_liters?: unknown;
|
|
91
93
|
refills_count?: unknown;
|
|
92
|
-
start_fuel_liters?: unknown;
|
|
93
|
-
end_fuel_liters?: unknown;
|
|
94
94
|
refill_liters?: unknown;
|
|
95
95
|
removals_count?: unknown;
|
|
96
96
|
removal_liters?: unknown;
|
|
@@ -140,7 +140,6 @@ declare const FleetFuelDailySummaryQuerySchema: z.ZodObject<{
|
|
|
140
140
|
day_summary: z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof YesNo>>>;
|
|
141
141
|
}, "strip", z.ZodTypeAny, {
|
|
142
142
|
status: Status[];
|
|
143
|
-
time_zone_id: string;
|
|
144
143
|
search: string;
|
|
145
144
|
paging: PAGING;
|
|
146
145
|
page_count: number;
|
|
@@ -160,6 +159,7 @@ declare const FleetFuelDailySummaryQuerySchema: z.ZodObject<{
|
|
|
160
159
|
}[];
|
|
161
160
|
include_master_data: YesNo;
|
|
162
161
|
date_format_id: string;
|
|
162
|
+
time_zone_id: string;
|
|
163
163
|
organisation_ids: string[];
|
|
164
164
|
user_ids: string[];
|
|
165
165
|
vehicle_ids: string[];
|
|
@@ -170,8 +170,8 @@ declare const FleetFuelDailySummaryQuerySchema: z.ZodObject<{
|
|
|
170
170
|
vehicle_summary: YesNo;
|
|
171
171
|
day_summary: YesNo;
|
|
172
172
|
}, {
|
|
173
|
-
time_zone_id: string;
|
|
174
173
|
date_format_id: string;
|
|
174
|
+
time_zone_id: string;
|
|
175
175
|
from_date: string;
|
|
176
176
|
to_date: string;
|
|
177
177
|
status?: Status[] | undefined;
|
|
@@ -239,7 +239,6 @@ declare const FleetFuelDailyMonthlySummaryQuerySchema: z.ZodObject<{
|
|
|
239
239
|
to_date: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
240
240
|
}, "strip", z.ZodTypeAny, {
|
|
241
241
|
status: Status[];
|
|
242
|
-
time_zone_id: string;
|
|
243
242
|
search: string;
|
|
244
243
|
paging: PAGING;
|
|
245
244
|
page_count: number;
|
|
@@ -259,13 +258,14 @@ declare const FleetFuelDailyMonthlySummaryQuerySchema: z.ZodObject<{
|
|
|
259
258
|
}[];
|
|
260
259
|
include_master_data: YesNo;
|
|
261
260
|
date_format_id: string;
|
|
261
|
+
time_zone_id: string;
|
|
262
262
|
organisation_ids: string[];
|
|
263
263
|
vehicle_ids: string[];
|
|
264
264
|
from_date: string;
|
|
265
265
|
to_date: string;
|
|
266
266
|
}, {
|
|
267
|
-
time_zone_id: string;
|
|
268
267
|
date_format_id: string;
|
|
268
|
+
time_zone_id: string;
|
|
269
269
|
from_date: string;
|
|
270
270
|
to_date: string;
|
|
271
271
|
status?: Status[] | undefined;
|
|
@@ -327,7 +327,6 @@ declare const AllVehiclesFuelDailySummaryQuerySchema: z.ZodObject<{
|
|
|
327
327
|
}, "strip", z.ZodTypeAny, {
|
|
328
328
|
date: string;
|
|
329
329
|
status: Status[];
|
|
330
|
-
time_zone_id: string;
|
|
331
330
|
search: string;
|
|
332
331
|
paging: PAGING;
|
|
333
332
|
page_count: number;
|
|
@@ -347,11 +346,12 @@ declare const AllVehiclesFuelDailySummaryQuerySchema: z.ZodObject<{
|
|
|
347
346
|
}[];
|
|
348
347
|
include_master_data: YesNo;
|
|
349
348
|
date_format_id: string;
|
|
349
|
+
time_zone_id: string;
|
|
350
350
|
organisation_utrack_id: string;
|
|
351
351
|
}, {
|
|
352
352
|
date: string;
|
|
353
|
-
time_zone_id: string;
|
|
354
353
|
date_format_id: string;
|
|
354
|
+
time_zone_id: string;
|
|
355
355
|
organisation_utrack_id: string;
|
|
356
356
|
status?: Status[] | undefined;
|
|
357
357
|
search?: string | undefined;
|