vms-nest-prisma-api-document 980.0.0 → 983.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.
Files changed (118) hide show
  1. package/dist/{bookmark_service-C679PVc0.d.ts → bookmark_service-D_zpK7cf.d.ts} +221 -224
  2. package/dist/core/BaseResponse.d.ts +2 -0
  3. package/dist/services/account/bookmark_service.d.ts +1 -1
  4. package/dist/services/account/invoice_service.d.ts +2 -2
  5. package/dist/services/account/invoice_service.js +6 -12
  6. package/dist/services/account/notification_preferences.service.d.ts +1 -1
  7. package/dist/services/account/report_preferences.service.d.ts +1 -1
  8. package/dist/services/account/ticket_service.d.ts +1 -1
  9. package/dist/services/core/cronjobs.service.d.ts +12 -12
  10. package/dist/services/core/external_api.service.d.ts +10 -10
  11. package/dist/services/fleet/bus_mangement/bus_stop.d.ts +1 -1
  12. package/dist/services/fleet/bus_mangement/calender.d.ts +1 -1
  13. package/dist/services/fleet/bus_mangement/master_route.d.ts +1 -1
  14. package/dist/services/fleet/bus_mangement/master_schedule.d.ts +1 -1
  15. package/dist/services/fleet/bus_mangement/master_schedule.js +6 -12
  16. package/dist/services/fleet/bus_mangement/notice_board.d.ts +1 -1
  17. package/dist/services/fleet/bus_mangement/student.d.ts +1 -1
  18. package/dist/services/fleet/bus_mangement/student.js +6 -12
  19. package/dist/services/fleet/fuel_management/fleet_fuel_daily_summary_service.d.ts +1 -1
  20. package/dist/services/fleet/fuel_management/fleet_fuel_refill_service.d.ts +1 -1
  21. package/dist/services/fleet/fuel_management/fleet_fuel_removal_service.d.ts +1 -1
  22. package/dist/services/fleet/incident_management/incident_management_service.d.ts +1 -1
  23. package/dist/services/fleet/incident_management/incident_management_service.js +6 -12
  24. package/dist/services/fleet/inspection_management/fleet_inspection_form_service.d.ts +1 -1
  25. package/dist/services/fleet/inspection_management/fleet_inspection_management_service.d.ts +1 -1
  26. package/dist/services/fleet/inspection_management/fleet_inspection_management_service.js +8 -17
  27. package/dist/services/fleet/inspection_management/fleet_inspection_schedule_service.d.ts +1 -1
  28. package/dist/services/fleet/inspection_management/fleet_inspection_schedule_service.js +6 -12
  29. package/dist/services/fleet/issue_management/issue_management_service.d.ts +1 -1
  30. package/dist/services/fleet/issue_management/issue_management_service.js +6 -12
  31. package/dist/services/fleet/service_management/fleet_service_management_service.d.ts +1 -1
  32. package/dist/services/fleet/service_management/fleet_service_management_service.js +6 -12
  33. package/dist/services/fleet/service_management/fleet_service_schedule_service.d.ts +1 -1
  34. package/dist/services/fleet/service_management/fleet_service_schedule_service.js +6 -12
  35. package/dist/services/fleet/vendor_management/fleet_vendor_fuel_station.d.ts +1 -1
  36. package/dist/services/fleet/vendor_management/fleet_vendor_service.d.ts +1 -1
  37. package/dist/services/fleet/vendor_management/fleet_vendor_service.js +6 -12
  38. package/dist/services/fleet/vendor_management/fleet_vendor_service_center.d.ts +1 -1
  39. package/dist/services/gps/features/geofence/gps_geofence_service.d.ts +1 -1
  40. package/dist/services/gps/features/geofence/gps_geofence_transaction_service.d.ts +1 -1
  41. package/dist/services/gps/features/geofence/gps_geofence_transaction_summary_service.d.ts +1 -1
  42. package/dist/services/gps/features/geofence/gps_geofence_transaction_summary_service.js +6 -12
  43. package/dist/services/gps/features/geofence/trip_geofence_to_geofence_service.d.ts +1 -1
  44. package/dist/services/gps/features/gps_live_track_share_link_service.d.ts +1 -1
  45. package/dist/services/gps/features/gps_track_history_share_link_service.d.ts +1 -1
  46. package/dist/services/main/devices/master_device_service.d.ts +1 -1
  47. package/dist/services/main/drivers/master_driver_service.d.ts +1 -1
  48. package/dist/services/main/sims/master_sim_service.d.ts +1 -1
  49. package/dist/services/main/users/auth_service.d.ts +1 -1
  50. package/dist/services/main/users/user_admin_service.d.ts +1 -1
  51. package/dist/services/main/users/user_organisation_service.d.ts +1 -1
  52. package/dist/services/main/users/user_service.d.ts +1 -1
  53. package/dist/services/main/vehicle/childs/vehicle_odometer_history.d.ts +1 -1
  54. package/dist/services/main/vehicle/master_vehicle_service.d.ts +1 -1
  55. package/dist/services/main/vehicle/master_vehicle_service.js +6 -12
  56. package/dist/services/master/bus/master_class_service.d.ts +1 -1
  57. package/dist/services/master/bus/master_program_service.d.ts +1 -1
  58. package/dist/services/master/bus/master_relationship_service.d.ts +1 -1
  59. package/dist/services/master/bus/master_section_service.d.ts +1 -1
  60. package/dist/services/master/bus/master_semester_service.d.ts +1 -1
  61. package/dist/services/master/bus/master_stream_service.d.ts +1 -1
  62. package/dist/services/master/bus/master_year_service.d.ts +1 -1
  63. package/dist/services/master/cache_reset/master_reset_cache_service.d.ts +1 -1
  64. package/dist/services/master/device/master_device_manufacturer_service.d.ts +1 -1
  65. package/dist/services/master/device/master_device_model_service.d.ts +1 -1
  66. package/dist/services/master/device/master_device_type_service.d.ts +1 -1
  67. package/dist/services/master/expense/master_expense_name_service.d.ts +1 -1
  68. package/dist/services/master/expense/master_expense_type_service.d.ts +1 -1
  69. package/dist/services/master/expense/master_fuel_company_service.d.ts +1 -1
  70. package/dist/services/master/expense/master_vendor_document_type_service.d.ts +1 -1
  71. package/dist/services/master/expense/master_vendor_tag_service.d.ts +1 -1
  72. package/dist/services/master/expense/master_vendor_type_service.d.ts +1 -1
  73. package/dist/services/master/fleet/master_fleet_incident_severity_service.d.ts +1 -1
  74. package/dist/services/master/fleet/master_fleet_incident_status_service.d.ts +1 -1
  75. package/dist/services/master/fleet/master_fleet_incident_type_service.d.ts +1 -1
  76. package/dist/services/master/fleet/master_fleet_insurance_claim_status_service.d.ts +1 -1
  77. package/dist/services/master/fleet/master_fleet_service_task_service.d.ts +1 -1
  78. package/dist/services/master/main/master_main_country_service.d.ts +1 -1
  79. package/dist/services/master/main/master_main_currency_service.d.ts +1 -1
  80. package/dist/services/master/main/master_main_date_format_service.d.ts +1 -1
  81. package/dist/services/master/main/master_main_industry_service.d.ts +1 -1
  82. package/dist/services/master/main/master_main_landmark_service.d.ts +1 -1
  83. package/dist/services/master/main/master_main_language_service.d.ts +1 -1
  84. package/dist/services/master/main/master_main_sim_provider_service.d.ts +1 -1
  85. package/dist/services/master/main/master_main_state_service.d.ts +1 -1
  86. package/dist/services/master/main/master_main_timezone_service.d.ts +1 -1
  87. package/dist/services/master/main/master_main_unit_distance_service.d.ts +1 -1
  88. package/dist/services/master/main/master_main_unit_mileage_service.d.ts +1 -1
  89. package/dist/services/master/main/master_main_unit_volume_service.d.ts +1 -1
  90. package/dist/services/master/organisation/organisation_branch_service.d.ts +1 -1
  91. package/dist/services/master/organisation/organisation_color_service.d.ts +1 -1
  92. package/dist/services/master/organisation/organisation_group_service.d.ts +1 -1
  93. package/dist/services/master/organisation/organisation_sub_company_service.d.ts +1 -1
  94. package/dist/services/master/organisation/organisation_tag_service.d.ts +1 -1
  95. package/dist/services/master/spare_part/master_spare_part_category_service.d.ts +1 -1
  96. package/dist/services/master/spare_part/master_spare_part_sub_category_service.d.ts +1 -1
  97. package/dist/services/master/spare_part/master_spare_part_unit_service.d.ts +1 -1
  98. package/dist/services/master/trip/master_trip_party_type_service.d.ts +1 -1
  99. package/dist/services/master/tyre/master_tyre_grade_service.d.ts +1 -1
  100. package/dist/services/master/tyre/master_tyre_make_service.d.ts +1 -1
  101. package/dist/services/master/tyre/master_tyre_model_service.d.ts +1 -1
  102. package/dist/services/master/user/master_user_role_service.d.ts +1 -1
  103. package/dist/services/master/user/master_user_status_service.d.ts +1 -1
  104. package/dist/services/master/vehicle/master_vehicle_associated_to_service.d.ts +1 -1
  105. package/dist/services/master/vehicle/master_vehicle_document_type_service.d.ts +1 -1
  106. package/dist/services/master/vehicle/master_vehicle_fuel_removal_reason_service.d.ts +1 -1
  107. package/dist/services/master/vehicle/master_vehicle_fuel_type_service.d.ts +1 -1
  108. package/dist/services/master/vehicle/master_vehicle_fuel_unit_service.d.ts +1 -1
  109. package/dist/services/master/vehicle/master_vehicle_make_service.d.ts +1 -1
  110. package/dist/services/master/vehicle/master_vehicle_model_service.d.ts +1 -1
  111. package/dist/services/master/vehicle/master_vehicle_ownership_type_service.d.ts +1 -1
  112. package/dist/services/master/vehicle/master_vehicle_status_type_service.d.ts +1 -1
  113. package/dist/services/master/vehicle/master_vehicle_sub_model_service.d.ts +1 -1
  114. package/dist/services/master/vehicle/master_vehicle_type_service.d.ts +1 -1
  115. package/dist/services/website/exclusive_feature_access.d.ts +1 -1
  116. package/dist/zod_utils/zod_utils.d.ts +2 -2
  117. package/dist/zod_utils/zod_utils.js +12 -24
  118. package/package.json +1 -1
@@ -1,4 +1,4 @@
1
- import { Status, PAGING, LoadParents, LoadChild, LoadChildCount, OrderBy, YesNo, GeofenceStatusType, GeofencePurposeType, GeofenceType, OnOff, NotificationChannel, NotificationList, AdminRole, LoginFrom, TicketStatus, FileType, ExpenseCategory, IncidentTime, IncidentWeather, IncidentRoadType, IncidentVisibility, InspectionType, InspectionPriority, InspectionStatus, InspectionActionStatus, IssueStatus, Priority, IssueSeverity, IssueSource, ServiceStatus, ServiceType, PaymentStatus, ReminderType, FleetVendorAddressLabel, GPSFuelApproveStatus, RefillEntrySource, RefillMethod, PaymentMode, DriverType, ReportType, ReportList, ReportChannel, LinkStatus, ShareChannel, TrackHistoryLinkStatus, BusStopType, BusLeg, Gender, BloodGroup, TransportPlanType, ApprovalStatus, StudentLeaveType, GPSSource, OdometerSource, FuelTankType, SteeringType, WheelDriveType, LifeExpiry, VehicleLifeStatus, PurchaseVehicleType, PurchaseType, LoanInterestType, DocumentValidityStatus, DocumentStatus, ExpiryType, GPSVehicleCategory, SimStatus, BillingStatus, DeviceStatus, HolidayType, FleetSize, MenuType } from './core/Enums.js';
1
+ import { Status, PAGING, LoadParents, LoadChild, LoadChildCount, OrderBy, YesNo, GeofenceStatusType, GeofencePurposeType, GeofenceType, OnOff, NotificationChannel, NotificationList, AdminRole, LoginFrom, TicketStatus, FileType, ExpenseCategory, IncidentTime, IncidentWeather, IncidentRoadType, IncidentVisibility, InspectionType, InspectionPriority, InspectionStatus, IssueStatus, Priority, IssueSeverity, IssueSource, ServiceStatus, ServiceType, PaymentStatus, ReminderType, FleetVendorAddressLabel, GPSFuelApproveStatus, RefillEntrySource, RefillMethod, PaymentMode, DriverType, ReportType, ReportList, ReportChannel, LinkStatus, ShareChannel, TrackHistoryLinkStatus, BusStopType, BusLeg, Gender, BloodGroup, TransportPlanType, ApprovalStatus, StudentLeaveType, GPSSource, OdometerSource, FuelTankType, SteeringType, WheelDriveType, LifeExpiry, VehicleLifeStatus, PurchaseVehicleType, PurchaseType, LoanInterestType, DocumentValidityStatus, DocumentStatus, ExpiryType, GPSVehicleCategory, SimStatus, BillingStatus, DeviceStatus, HolidayType, FleetSize, MenuType } from './core/Enums.js';
2
2
  import { FBR, SBR, BR, AWSPresignedUrl, BaseCommonFile } from './core/BaseResponse.js';
3
3
  import { z } from 'zod';
4
4
  import { FilePresignedUrlDTO, BaseQueryDTO } from './zod_utils/zod_base_schema.js';
@@ -1321,30 +1321,30 @@ declare const GPSGeofenceTransactionSummarySchema: z.ZodObject<{
1321
1321
  enter_gps_geofence_transaction_id: z.ZodEffects<z.ZodString, string, string>;
1322
1322
  exit_gps_geofence_transaction_id: z.ZodEffects<z.ZodString, string, string>;
1323
1323
  geofence_enter_date_time: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
1324
- geofence_exit_date_time: z.ZodDefault<z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>>;
1324
+ geofence_exit_date_time: z.ZodDefault<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodOptional<z.ZodString>, string | undefined, string | undefined>, string | undefined, string | undefined>, string | undefined, string | undefined>, string | undefined, string | undefined>>;
1325
1325
  duration_seconds: z.ZodEffects<z.ZodDefault<z.ZodOptional<z.ZodNumber>>, number, unknown>;
1326
1326
  status: z.ZodType<Status, z.ZodTypeDef, Status>;
1327
1327
  time_zone_id: z.ZodEffects<z.ZodString, string, string>;
1328
1328
  }, "strip", z.ZodTypeAny, {
1329
1329
  status: Status;
1330
1330
  organisation_id: string;
1331
+ vehicle_id: string;
1332
+ gps_geofence_id: string;
1331
1333
  time_zone_id: string;
1332
1334
  geofence_enter_date_time: string;
1333
1335
  geofence_exit_date_time: string;
1334
1336
  duration_seconds: number;
1335
- vehicle_id: string;
1336
1337
  driver_id: string;
1337
- gps_geofence_id: string;
1338
1338
  enter_gps_geofence_transaction_id: string;
1339
1339
  exit_gps_geofence_transaction_id: string;
1340
1340
  }, {
1341
1341
  status: Status;
1342
1342
  organisation_id: string;
1343
+ vehicle_id: string;
1344
+ gps_geofence_id: string;
1343
1345
  time_zone_id: string;
1344
1346
  geofence_enter_date_time: string;
1345
- vehicle_id: string;
1346
1347
  driver_id: string;
1347
- gps_geofence_id: string;
1348
1348
  enter_gps_geofence_transaction_id: string;
1349
1349
  exit_gps_geofence_transaction_id: string;
1350
1350
  geofence_exit_date_time?: string | undefined;
@@ -1390,6 +1390,8 @@ declare const GPSGeofenceTransactionSummaryQuerySchema: z.ZodObject<{
1390
1390
  to_date: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
1391
1391
  }, "strip", z.ZodTypeAny, {
1392
1392
  status: Status[];
1393
+ gps_geofence_ids: string[];
1394
+ vehicle_ids: string[];
1393
1395
  search: string;
1394
1396
  paging: PAGING;
1395
1397
  page_count: number;
@@ -1411,9 +1413,7 @@ declare const GPSGeofenceTransactionSummaryQuerySchema: z.ZodObject<{
1411
1413
  date_format_id: string;
1412
1414
  time_zone_id: string;
1413
1415
  organisation_ids: string[];
1414
- vehicle_ids: string[];
1415
1416
  driver_ids: string[];
1416
- gps_geofence_ids: string[];
1417
1417
  from_date: string;
1418
1418
  to_date: string;
1419
1419
  }, {
@@ -1422,6 +1422,8 @@ declare const GPSGeofenceTransactionSummaryQuerySchema: z.ZodObject<{
1422
1422
  from_date: string;
1423
1423
  to_date: string;
1424
1424
  status?: Status[] | undefined;
1425
+ gps_geofence_ids?: string[] | undefined;
1426
+ vehicle_ids?: string[] | undefined;
1425
1427
  search?: string | undefined;
1426
1428
  paging?: PAGING | undefined;
1427
1429
  page_count?: unknown;
@@ -1441,9 +1443,7 @@ declare const GPSGeofenceTransactionSummaryQuerySchema: z.ZodObject<{
1441
1443
  }[] | undefined;
1442
1444
  include_master_data?: YesNo | undefined;
1443
1445
  organisation_ids?: string[] | undefined;
1444
- vehicle_ids?: string[] | undefined;
1445
1446
  driver_ids?: string[] | undefined;
1446
- gps_geofence_ids?: string[] | undefined;
1447
1447
  }>;
1448
1448
  type GPSGeofenceTransactionSummaryQueryDTO = z.infer<typeof GPSGeofenceTransactionSummaryQuerySchema>;
1449
1449
  declare const toGPSGeofenceTransactionSummaryPayload: (data: GPSGeofenceTransactionSummary) => GPSGeofenceTransactionSummaryDTO;
@@ -1493,19 +1493,19 @@ declare const GPSGeofenceTransactionSchema: z.ZodObject<{
1493
1493
  }, "strip", z.ZodTypeAny, {
1494
1494
  status: Status;
1495
1495
  organisation_id: string;
1496
- time_zone_id: string;
1497
1496
  vehicle_id: string;
1498
- driver_id: string;
1499
1497
  gps_geofence_id: string;
1498
+ time_zone_id: string;
1499
+ driver_id: string;
1500
1500
  geofence_status_type: GeofenceStatusType;
1501
1501
  geofence_time: string;
1502
1502
  }, {
1503
1503
  status: Status;
1504
1504
  organisation_id: string;
1505
- time_zone_id: string;
1506
1505
  vehicle_id: string;
1507
- driver_id: string;
1508
1506
  gps_geofence_id: string;
1507
+ time_zone_id: string;
1508
+ driver_id: string;
1509
1509
  geofence_status_type: GeofenceStatusType;
1510
1510
  geofence_time: string;
1511
1511
  }>;
@@ -1550,6 +1550,8 @@ declare const GPSGeofenceTransactionQuerySchema: z.ZodObject<{
1550
1550
  to_date: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
1551
1551
  }, "strip", z.ZodTypeAny, {
1552
1552
  status: Status[];
1553
+ gps_geofence_ids: string[];
1554
+ vehicle_ids: string[];
1553
1555
  search: string;
1554
1556
  paging: PAGING;
1555
1557
  page_count: number;
@@ -1571,9 +1573,7 @@ declare const GPSGeofenceTransactionQuerySchema: z.ZodObject<{
1571
1573
  date_format_id: string;
1572
1574
  time_zone_id: string;
1573
1575
  organisation_ids: string[];
1574
- vehicle_ids: string[];
1575
1576
  driver_ids: string[];
1576
- gps_geofence_ids: string[];
1577
1577
  from_date: string;
1578
1578
  to_date: string;
1579
1579
  geofence_status_type: GeofenceStatusType[];
@@ -1583,6 +1583,8 @@ declare const GPSGeofenceTransactionQuerySchema: z.ZodObject<{
1583
1583
  from_date: string;
1584
1584
  to_date: string;
1585
1585
  status?: Status[] | undefined;
1586
+ gps_geofence_ids?: string[] | undefined;
1587
+ vehicle_ids?: string[] | undefined;
1586
1588
  search?: string | undefined;
1587
1589
  paging?: PAGING | undefined;
1588
1590
  page_count?: unknown;
@@ -1602,9 +1604,7 @@ declare const GPSGeofenceTransactionQuerySchema: z.ZodObject<{
1602
1604
  }[] | undefined;
1603
1605
  include_master_data?: YesNo | undefined;
1604
1606
  organisation_ids?: string[] | undefined;
1605
- vehicle_ids?: string[] | undefined;
1606
1607
  driver_ids?: string[] | undefined;
1607
- gps_geofence_ids?: string[] | undefined;
1608
1608
  geofence_status_type?: GeofenceStatusType[] | undefined;
1609
1609
  }>;
1610
1610
  type GPSGeofenceTransactionQueryDTO = z.infer<typeof GPSGeofenceTransactionQuerySchema>;
@@ -1669,9 +1669,9 @@ declare const TripGeofenceToGeofenceSchema: z.ZodObject<{
1669
1669
  }, "strip", z.ZodTypeAny, {
1670
1670
  status: Status;
1671
1671
  organisation_id: string;
1672
+ vehicle_id: string;
1672
1673
  time_zone_id: string;
1673
1674
  duration_seconds: number;
1674
- vehicle_id: string;
1675
1675
  driver_id: string;
1676
1676
  from_geofence_exit_date_time: string;
1677
1677
  to_geofence_enter_date_time: string;
@@ -1685,8 +1685,8 @@ declare const TripGeofenceToGeofenceSchema: z.ZodObject<{
1685
1685
  }, {
1686
1686
  status: Status;
1687
1687
  organisation_id: string;
1688
- time_zone_id: string;
1689
1688
  vehicle_id: string;
1689
+ time_zone_id: string;
1690
1690
  driver_id: string;
1691
1691
  from_geofence_exit_date_time: string;
1692
1692
  to_geofence_enter_date_time: string;
@@ -1740,6 +1740,7 @@ declare const TripGeofenceToGeofenceQuerySchema: z.ZodObject<{
1740
1740
  to_date: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
1741
1741
  }, "strip", z.ZodTypeAny, {
1742
1742
  status: Status[];
1743
+ vehicle_ids: string[];
1743
1744
  search: string;
1744
1745
  paging: PAGING;
1745
1746
  page_count: number;
@@ -1761,7 +1762,6 @@ declare const TripGeofenceToGeofenceQuerySchema: z.ZodObject<{
1761
1762
  date_format_id: string;
1762
1763
  time_zone_id: string;
1763
1764
  organisation_ids: string[];
1764
- vehicle_ids: string[];
1765
1765
  driver_ids: string[];
1766
1766
  from_date: string;
1767
1767
  to_date: string;
@@ -1773,6 +1773,7 @@ declare const TripGeofenceToGeofenceQuerySchema: z.ZodObject<{
1773
1773
  from_date: string;
1774
1774
  to_date: string;
1775
1775
  status?: Status[] | undefined;
1776
+ vehicle_ids?: string[] | undefined;
1776
1777
  search?: string | undefined;
1777
1778
  paging?: PAGING | undefined;
1778
1779
  page_count?: unknown;
@@ -1792,7 +1793,6 @@ declare const TripGeofenceToGeofenceQuerySchema: z.ZodObject<{
1792
1793
  }[] | undefined;
1793
1794
  include_master_data?: YesNo | undefined;
1794
1795
  organisation_ids?: string[] | undefined;
1795
- vehicle_ids?: string[] | undefined;
1796
1796
  driver_ids?: string[] | undefined;
1797
1797
  from_geofence_ids?: string[] | undefined;
1798
1798
  to_geofence_ids?: string[] | undefined;
@@ -1990,6 +1990,7 @@ declare const GPSGeofenceQuerySchema: z.ZodObject<{
1990
1990
  geofence_type: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof GeofenceType>, "many">>>;
1991
1991
  }, "strip", z.ZodTypeAny, {
1992
1992
  status: Status[];
1993
+ gps_geofence_ids: string[];
1993
1994
  search: string;
1994
1995
  paging: PAGING;
1995
1996
  page_count: number;
@@ -2011,13 +2012,13 @@ declare const GPSGeofenceQuerySchema: z.ZodObject<{
2011
2012
  date_format_id: string;
2012
2013
  time_zone_id: string;
2013
2014
  organisation_ids: string[];
2014
- gps_geofence_ids: string[];
2015
2015
  geofence_purpose_type: GeofencePurposeType[];
2016
2016
  geofence_type: GeofenceType[];
2017
2017
  }, {
2018
2018
  date_format_id: string;
2019
2019
  time_zone_id: string;
2020
2020
  status?: Status[] | undefined;
2021
+ gps_geofence_ids?: string[] | undefined;
2021
2022
  search?: string | undefined;
2022
2023
  paging?: PAGING | undefined;
2023
2024
  page_count?: unknown;
@@ -2037,7 +2038,6 @@ declare const GPSGeofenceQuerySchema: z.ZodObject<{
2037
2038
  }[] | undefined;
2038
2039
  include_master_data?: YesNo | undefined;
2039
2040
  organisation_ids?: string[] | undefined;
2040
- gps_geofence_ids?: string[] | undefined;
2041
2041
  geofence_purpose_type?: GeofencePurposeType[] | undefined;
2042
2042
  geofence_type?: GeofenceType[] | undefined;
2043
2043
  }>;
@@ -2131,11 +2131,6 @@ declare const OrganisationNotificationPreferenceSchema: z.ZodObject<{
2131
2131
  vehicle_ids: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
2132
2132
  status: z.ZodType<Status, z.ZodTypeDef, Status>;
2133
2133
  }, "strip", z.ZodTypeAny, {
2134
- status: Status;
2135
- organisation_id: string;
2136
- user_ids: string[];
2137
- vehicle_ids: string[];
2138
- gps_geofence_ids: string[];
2139
2134
  notification_name: string;
2140
2135
  notification_status: OnOff;
2141
2136
  notification_channels: NotificationChannel[];
@@ -2147,23 +2142,28 @@ declare const OrganisationNotificationPreferenceSchema: z.ZodObject<{
2147
2142
  over_speed_limit: number;
2148
2143
  all_geofences: YesNo;
2149
2144
  all_vehicles: YesNo;
2150
- }, {
2151
2145
  status: Status;
2152
2146
  organisation_id: string;
2147
+ user_ids: string[];
2148
+ gps_geofence_ids: string[];
2149
+ vehicle_ids: string[];
2150
+ }, {
2153
2151
  notification_name: string;
2154
2152
  notification_status: OnOff;
2155
2153
  all_users: YesNo;
2156
2154
  all_geofences: YesNo;
2157
2155
  all_vehicles: YesNo;
2158
- user_ids?: string[] | undefined;
2159
- vehicle_ids?: string[] | undefined;
2160
- gps_geofence_ids?: string[] | undefined;
2156
+ status: Status;
2157
+ organisation_id: string;
2161
2158
  notification_channels?: NotificationChannel[] | undefined;
2162
2159
  mobile_numbers?: string | undefined;
2163
2160
  email_ids?: string | undefined;
2164
2161
  cc_email_ids?: string | undefined;
2165
2162
  notification_list?: NotificationList[] | undefined;
2166
2163
  over_speed_limit?: unknown;
2164
+ user_ids?: string[] | undefined;
2165
+ gps_geofence_ids?: string[] | undefined;
2166
+ vehicle_ids?: string[] | undefined;
2167
2167
  }>;
2168
2168
  type OrganisationNotificationPreferenceDTO = z.infer<typeof OrganisationNotificationPreferenceSchema>;
2169
2169
  declare const OrganisationNotificationPreferenceQuerySchema: z.ZodObject<{
@@ -2203,6 +2203,9 @@ declare const OrganisationNotificationPreferenceQuerySchema: z.ZodObject<{
2203
2203
  notification_channels: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof NotificationChannel>, "many">>>;
2204
2204
  notification_list: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof NotificationList>, "many">>>;
2205
2205
  }, "strip", z.ZodTypeAny, {
2206
+ notification_status: OnOff[];
2207
+ notification_channels: NotificationChannel[];
2208
+ notification_list: NotificationList[];
2206
2209
  status: Status[];
2207
2210
  search: string;
2208
2211
  paging: PAGING;
@@ -2225,13 +2228,13 @@ declare const OrganisationNotificationPreferenceQuerySchema: z.ZodObject<{
2225
2228
  date_format_id: string;
2226
2229
  time_zone_id: string;
2227
2230
  organisation_ids: string[];
2228
- notification_status: OnOff[];
2229
- notification_channels: NotificationChannel[];
2230
- notification_list: NotificationList[];
2231
2231
  notification_preference_ids: string[];
2232
2232
  }, {
2233
2233
  date_format_id: string;
2234
2234
  time_zone_id: string;
2235
+ notification_status?: OnOff[] | undefined;
2236
+ notification_channels?: NotificationChannel[] | undefined;
2237
+ notification_list?: NotificationList[] | undefined;
2235
2238
  status?: Status[] | undefined;
2236
2239
  search?: string | undefined;
2237
2240
  paging?: PAGING | undefined;
@@ -2252,9 +2255,6 @@ declare const OrganisationNotificationPreferenceQuerySchema: z.ZodObject<{
2252
2255
  }[] | undefined;
2253
2256
  include_master_data?: YesNo | undefined;
2254
2257
  organisation_ids?: string[] | undefined;
2255
- notification_status?: OnOff[] | undefined;
2256
- notification_channels?: NotificationChannel[] | undefined;
2257
- notification_list?: NotificationList[] | undefined;
2258
2258
  notification_preference_ids?: string[] | undefined;
2259
2259
  }>;
2260
2260
  type OrganisationNotificationPreferenceQueryDTO = z.infer<typeof OrganisationNotificationPreferenceQuerySchema>;
@@ -2743,6 +2743,7 @@ declare const TicketQuerySchema: z.ZodObject<{
2743
2743
  ticket_status: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof TicketStatus>, "many">>>;
2744
2744
  }, "strip", z.ZodTypeAny, {
2745
2745
  status: Status[];
2746
+ user_ids: string[];
2746
2747
  search: string;
2747
2748
  paging: PAGING;
2748
2749
  page_count: number;
@@ -2764,7 +2765,6 @@ declare const TicketQuerySchema: z.ZodObject<{
2764
2765
  date_format_id: string;
2765
2766
  time_zone_id: string;
2766
2767
  organisation_ids: string[];
2767
- user_ids: string[];
2768
2768
  admin_ids: string[];
2769
2769
  ticket_status: TicketStatus[];
2770
2770
  ticket_ids: string[];
@@ -2772,6 +2772,7 @@ declare const TicketQuerySchema: z.ZodObject<{
2772
2772
  date_format_id: string;
2773
2773
  time_zone_id: string;
2774
2774
  status?: Status[] | undefined;
2775
+ user_ids?: string[] | undefined;
2775
2776
  search?: string | undefined;
2776
2777
  paging?: PAGING | undefined;
2777
2778
  page_count?: unknown;
@@ -2791,7 +2792,6 @@ declare const TicketQuerySchema: z.ZodObject<{
2791
2792
  }[] | undefined;
2792
2793
  include_master_data?: YesNo | undefined;
2793
2794
  organisation_ids?: string[] | undefined;
2794
- user_ids?: string[] | undefined;
2795
2795
  admin_ids?: string[] | undefined;
2796
2796
  ticket_status?: TicketStatus[] | undefined;
2797
2797
  ticket_ids?: string[] | undefined;
@@ -4538,9 +4538,9 @@ declare const FleetIncidentManagementSchema: z.ZodObject<{
4538
4538
  }, "strip", z.ZodTypeAny, {
4539
4539
  status: Status;
4540
4540
  organisation_id: string;
4541
+ vehicle_id: string;
4541
4542
  user_id: string;
4542
4543
  time_zone_id: string;
4543
- vehicle_id: string;
4544
4544
  driver_id: string;
4545
4545
  google_location: string;
4546
4546
  fleet_insurance_claim_status_id: string;
@@ -4591,9 +4591,9 @@ declare const FleetIncidentManagementSchema: z.ZodObject<{
4591
4591
  }, {
4592
4592
  status: Status;
4593
4593
  organisation_id: string;
4594
+ vehicle_id: string;
4594
4595
  user_id: string;
4595
4596
  time_zone_id: string;
4596
- vehicle_id: string;
4597
4597
  driver_id: string;
4598
4598
  fleet_insurance_claim_status_id: string;
4599
4599
  fleet_incident_severity_id: string;
@@ -4697,6 +4697,8 @@ declare const FleetIncidentManagementQuerySchema: z.ZodObject<{
4697
4697
  to_date: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
4698
4698
  }, "strip", z.ZodTypeAny, {
4699
4699
  status: Status[];
4700
+ user_ids: string[];
4701
+ vehicle_ids: string[];
4700
4702
  search: string;
4701
4703
  paging: PAGING;
4702
4704
  page_count: number;
@@ -4718,8 +4720,6 @@ declare const FleetIncidentManagementQuerySchema: z.ZodObject<{
4718
4720
  date_format_id: string;
4719
4721
  time_zone_id: string;
4720
4722
  organisation_ids: string[];
4721
- user_ids: string[];
4722
- vehicle_ids: string[];
4723
4723
  driver_ids: string[];
4724
4724
  from_date: string;
4725
4725
  to_date: string;
@@ -4744,6 +4744,8 @@ declare const FleetIncidentManagementQuerySchema: z.ZodObject<{
4744
4744
  from_date: string;
4745
4745
  to_date: string;
4746
4746
  status?: Status[] | undefined;
4747
+ user_ids?: string[] | undefined;
4748
+ vehicle_ids?: string[] | undefined;
4747
4749
  search?: string | undefined;
4748
4750
  paging?: PAGING | undefined;
4749
4751
  page_count?: unknown;
@@ -4763,8 +4765,6 @@ declare const FleetIncidentManagementQuerySchema: z.ZodObject<{
4763
4765
  }[] | undefined;
4764
4766
  include_master_data?: YesNo | undefined;
4765
4767
  organisation_ids?: string[] | undefined;
4766
- user_ids?: string[] | undefined;
4767
- vehicle_ids?: string[] | undefined;
4768
4768
  driver_ids?: string[] | undefined;
4769
4769
  fleet_insurance_claim_status_ids?: string[] | undefined;
4770
4770
  fleet_incident_severity_ids?: string[] | undefined;
@@ -4820,6 +4820,7 @@ declare const FleetIncidentManagementDashBoardQuerySchema: z.ZodObject<{
4820
4820
  to_date: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
4821
4821
  }, "strip", z.ZodTypeAny, {
4822
4822
  status: Status[];
4823
+ vehicle_ids: string[];
4823
4824
  search: string;
4824
4825
  paging: PAGING;
4825
4826
  page_count: number;
@@ -4841,7 +4842,6 @@ declare const FleetIncidentManagementDashBoardQuerySchema: z.ZodObject<{
4841
4842
  date_format_id: string;
4842
4843
  time_zone_id: string;
4843
4844
  organisation_ids: string[];
4844
- vehicle_ids: string[];
4845
4845
  from_date: string;
4846
4846
  to_date: string;
4847
4847
  }, {
@@ -4850,6 +4850,7 @@ declare const FleetIncidentManagementDashBoardQuerySchema: z.ZodObject<{
4850
4850
  from_date: string;
4851
4851
  to_date: string;
4852
4852
  status?: Status[] | undefined;
4853
+ vehicle_ids?: string[] | undefined;
4853
4854
  search?: string | undefined;
4854
4855
  paging?: PAGING | undefined;
4855
4856
  page_count?: unknown;
@@ -4869,14 +4870,13 @@ declare const FleetIncidentManagementDashBoardQuerySchema: z.ZodObject<{
4869
4870
  }[] | undefined;
4870
4871
  include_master_data?: YesNo | undefined;
4871
4872
  organisation_ids?: string[] | undefined;
4872
- vehicle_ids?: string[] | undefined;
4873
4873
  }>;
4874
4874
  type FleetIncidentManagementDashBoardQueryDTO = z.infer<typeof FleetIncidentManagementDashBoardQuerySchema>;
4875
4875
  declare const FleetIncidentManagementCostSchema: z.ZodObject<{
4876
4876
  organisation_id: z.ZodEffects<z.ZodString, string, string>;
4877
4877
  vehicle_incident_id: z.ZodEffects<z.ZodString, string, string>;
4878
4878
  expense_name_id: z.ZodEffects<z.ZodString, string, string>;
4879
- incident_cost_date: z.ZodDefault<z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>>;
4879
+ incident_cost_date: z.ZodDefault<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodOptional<z.ZodString>, string | undefined, string | undefined>, string | undefined, string | undefined>, string | undefined, string | undefined>, string | undefined, string | undefined>>;
4880
4880
  incident_cost_amount: z.ZodOptional<z.ZodEffects<z.ZodDefault<z.ZodNumber>, number, unknown>>;
4881
4881
  incident_cost_description: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
4882
4882
  time_zone_id: z.ZodEffects<z.ZodString, string, string>;
@@ -5137,11 +5137,14 @@ declare const getFleetInspectionFormCacheSimple: (organisation_id: string) => Pr
5137
5137
 
5138
5138
  interface FleetInspection extends Record<string, unknown> {
5139
5139
  inspection_id: string;
5140
+ sub_inspection_id: number;
5141
+ inspection_code: string;
5140
5142
  inspection_type: InspectionType;
5141
5143
  inspection_date: string;
5142
- inspection_date_f: string;
5144
+ inspection_date_f?: string;
5143
5145
  inspection_priority: InspectionPriority;
5144
5146
  inspection_status: InspectionStatus;
5147
+ inspection_notes?: string;
5145
5148
  odometer_reading: number;
5146
5149
  status: Status;
5147
5150
  added_date_time: string;
@@ -5150,6 +5153,9 @@ interface FleetInspection extends Record<string, unknown> {
5150
5153
  UserOrganisation?: UserOrganisation;
5151
5154
  organisation_name?: string;
5152
5155
  organisation_code?: string;
5156
+ user_id?: string;
5157
+ User?: User;
5158
+ user_details?: string;
5153
5159
  vehicle_id: string;
5154
5160
  MasterVehicle?: MasterVehicle;
5155
5161
  vehicle_number?: string;
@@ -5157,21 +5163,12 @@ interface FleetInspection extends Record<string, unknown> {
5157
5163
  driver_id?: string;
5158
5164
  MasterDriver?: MasterDriver;
5159
5165
  driver_details?: string;
5160
- inspector_id?: string;
5161
- InspectorUser?: User;
5162
- inspector_user_details?: string;
5163
5166
  inspection_form_id?: string;
5164
5167
  FleetInspectionForm?: FleetInspectionForm;
5165
5168
  inspection_form_name?: string;
5166
5169
  inspection_data: Record<string, unknown>;
5167
5170
  service_management_id?: string;
5168
5171
  FleetServiceManagement?: FleetServiceManagement;
5169
- inspection_approved_id?: string;
5170
- ApprovedUser?: User;
5171
- approved_user_details?: string;
5172
- inspection_action_status?: InspectionActionStatus;
5173
- inspection_action_date?: string;
5174
- inspection_action_comments: string;
5175
5172
  FleetIssueManagement?: FleetIssueManagement[];
5176
5173
  FleetInspectionFile?: FleetInspectionFile[];
5177
5174
  _count?: {
@@ -5235,7 +5232,7 @@ declare const FleetInspectionFileSchema: z.ZodObject<{
5235
5232
  type FleetInspectionFileDTO = z.infer<typeof FleetInspectionFileSchema>;
5236
5233
  declare const FleetInspectionSchema: z.ZodObject<{
5237
5234
  organisation_id: z.ZodEffects<z.ZodString, string, string>;
5238
- inspector_id: z.ZodEffects<z.ZodString, string, string>;
5235
+ user_id: z.ZodEffects<z.ZodString, string, string>;
5239
5236
  vehicle_id: z.ZodEffects<z.ZodString, string, string>;
5240
5237
  driver_id: z.ZodEffects<z.ZodString, string, string>;
5241
5238
  inspection_form_id: z.ZodEffects<z.ZodString, string, string>;
@@ -5244,6 +5241,7 @@ declare const FleetInspectionSchema: z.ZodObject<{
5244
5241
  inspection_date: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
5245
5242
  inspection_priority: z.ZodType<InspectionPriority, z.ZodTypeDef, InspectionPriority>;
5246
5243
  inspection_status: z.ZodType<InspectionStatus, z.ZodTypeDef, InspectionStatus>;
5244
+ inspection_notes: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
5247
5245
  inspection_data: z.ZodDefault<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
5248
5246
  odometer_reading: z.ZodEffects<z.ZodDefault<z.ZodOptional<z.ZodNumber>>, number, unknown>;
5249
5247
  status: z.ZodType<Status, z.ZodTypeDef, Status>;
@@ -5289,8 +5287,9 @@ declare const FleetInspectionSchema: z.ZodObject<{
5289
5287
  }, "strip", z.ZodTypeAny, {
5290
5288
  status: Status;
5291
5289
  organisation_id: string;
5292
- time_zone_id: string;
5293
5290
  vehicle_id: string;
5291
+ user_id: string;
5292
+ time_zone_id: string;
5294
5293
  driver_id: string;
5295
5294
  odometer_reading: number;
5296
5295
  inspection_form_id: string;
@@ -5298,7 +5297,7 @@ declare const FleetInspectionSchema: z.ZodObject<{
5298
5297
  inspection_date: string;
5299
5298
  inspection_priority: InspectionPriority;
5300
5299
  inspection_status: InspectionStatus;
5301
- inspector_id: string;
5300
+ inspection_notes: string;
5302
5301
  inspection_data: Record<string, any>;
5303
5302
  service_management_id: string;
5304
5303
  FleetInspectionFileSchema: {
@@ -5317,17 +5316,18 @@ declare const FleetInspectionSchema: z.ZodObject<{
5317
5316
  }, {
5318
5317
  status: Status;
5319
5318
  organisation_id: string;
5320
- time_zone_id: string;
5321
5319
  vehicle_id: string;
5320
+ user_id: string;
5321
+ time_zone_id: string;
5322
5322
  driver_id: string;
5323
5323
  inspection_form_id: string;
5324
5324
  inspection_type: InspectionType;
5325
5325
  inspection_date: string;
5326
5326
  inspection_priority: InspectionPriority;
5327
5327
  inspection_status: InspectionStatus;
5328
- inspector_id: string;
5329
5328
  service_management_id: string;
5330
5329
  odometer_reading?: unknown;
5330
+ inspection_notes?: string | undefined;
5331
5331
  inspection_data?: Record<string, any> | undefined;
5332
5332
  FleetInspectionFileSchema?: {
5333
5333
  status: Status;
@@ -5377,16 +5377,17 @@ declare const FleetInspectionQuerySchema: z.ZodObject<{
5377
5377
  } & {
5378
5378
  inspection_ids: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
5379
5379
  organisation_ids: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
5380
+ user_ids: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
5380
5381
  vehicle_ids: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
5381
5382
  driver_ids: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
5382
5383
  inspection_form_ids: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
5383
- service_management_ids: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
5384
5384
  inspection_type: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof InspectionType>, "many">>>;
5385
5385
  inspection_priority: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof InspectionPriority>, "many">>>;
5386
5386
  inspection_status: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof InspectionStatus>, "many">>>;
5387
- inspection_action_status: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof InspectionActionStatus>, "many">>>;
5388
5387
  }, "strip", z.ZodTypeAny, {
5389
5388
  status: Status[];
5389
+ user_ids: string[];
5390
+ vehicle_ids: string[];
5390
5391
  search: string;
5391
5392
  paging: PAGING;
5392
5393
  page_count: number;
@@ -5408,19 +5409,18 @@ declare const FleetInspectionQuerySchema: z.ZodObject<{
5408
5409
  date_format_id: string;
5409
5410
  time_zone_id: string;
5410
5411
  organisation_ids: string[];
5411
- vehicle_ids: string[];
5412
5412
  driver_ids: string[];
5413
5413
  inspection_form_ids: string[];
5414
5414
  inspection_type: InspectionType[];
5415
5415
  inspection_priority: InspectionPriority[];
5416
5416
  inspection_status: InspectionStatus[];
5417
- inspection_action_status: InspectionActionStatus[];
5418
5417
  inspection_ids: string[];
5419
- service_management_ids: string[];
5420
5418
  }, {
5421
5419
  date_format_id: string;
5422
5420
  time_zone_id: string;
5423
5421
  status?: Status[] | undefined;
5422
+ user_ids?: string[] | undefined;
5423
+ vehicle_ids?: string[] | undefined;
5424
5424
  search?: string | undefined;
5425
5425
  paging?: PAGING | undefined;
5426
5426
  page_count?: unknown;
@@ -5440,15 +5440,12 @@ declare const FleetInspectionQuerySchema: z.ZodObject<{
5440
5440
  }[] | undefined;
5441
5441
  include_master_data?: YesNo | undefined;
5442
5442
  organisation_ids?: string[] | undefined;
5443
- vehicle_ids?: string[] | undefined;
5444
5443
  driver_ids?: string[] | undefined;
5445
5444
  inspection_form_ids?: string[] | undefined;
5446
5445
  inspection_type?: InspectionType[] | undefined;
5447
5446
  inspection_priority?: InspectionPriority[] | undefined;
5448
5447
  inspection_status?: InspectionStatus[] | undefined;
5449
- inspection_action_status?: InspectionActionStatus[] | undefined;
5450
5448
  inspection_ids?: string[] | undefined;
5451
- service_management_ids?: string[] | undefined;
5452
5449
  }>;
5453
5450
  type FleetInspectionQueryDTO = z.infer<typeof FleetInspectionQuerySchema>;
5454
5451
  declare const FleetInspectionDashBoardQuerySchema: z.ZodObject<{
@@ -5488,6 +5485,7 @@ declare const FleetInspectionDashBoardQuerySchema: z.ZodObject<{
5488
5485
  to_date: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
5489
5486
  }, "strip", z.ZodTypeAny, {
5490
5487
  status: Status[];
5488
+ vehicle_ids: string[];
5491
5489
  search: string;
5492
5490
  paging: PAGING;
5493
5491
  page_count: number;
@@ -5509,7 +5507,6 @@ declare const FleetInspectionDashBoardQuerySchema: z.ZodObject<{
5509
5507
  date_format_id: string;
5510
5508
  time_zone_id: string;
5511
5509
  organisation_ids: string[];
5512
- vehicle_ids: string[];
5513
5510
  from_date: string;
5514
5511
  to_date: string;
5515
5512
  }, {
@@ -5518,6 +5515,7 @@ declare const FleetInspectionDashBoardQuerySchema: z.ZodObject<{
5518
5515
  from_date: string;
5519
5516
  to_date: string;
5520
5517
  status?: Status[] | undefined;
5518
+ vehicle_ids?: string[] | undefined;
5521
5519
  search?: string | undefined;
5522
5520
  paging?: PAGING | undefined;
5523
5521
  page_count?: unknown;
@@ -5537,7 +5535,6 @@ declare const FleetInspectionDashBoardQuerySchema: z.ZodObject<{
5537
5535
  }[] | undefined;
5538
5536
  include_master_data?: YesNo | undefined;
5539
5537
  organisation_ids?: string[] | undefined;
5540
- vehicle_ids?: string[] | undefined;
5541
5538
  }>;
5542
5539
  type FleetInspectionDashBoardQueryDTO = z.infer<typeof FleetInspectionDashBoardQuerySchema>;
5543
5540
  declare const FleetInspectionCheckPendingQuerySchema: z.ZodObject<{
@@ -5574,6 +5571,7 @@ declare const FleetInspectionCheckPendingQuerySchema: z.ZodObject<{
5574
5571
  vehicle_ids: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
5575
5572
  }, "strip", z.ZodTypeAny, {
5576
5573
  status: Status[];
5574
+ vehicle_ids: string[];
5577
5575
  search: string;
5578
5576
  paging: PAGING;
5579
5577
  page_count: number;
@@ -5594,11 +5592,11 @@ declare const FleetInspectionCheckPendingQuerySchema: z.ZodObject<{
5594
5592
  include_master_data: YesNo;
5595
5593
  date_format_id: string;
5596
5594
  time_zone_id: string;
5597
- vehicle_ids: string[];
5598
5595
  }, {
5599
5596
  date_format_id: string;
5600
5597
  time_zone_id: string;
5601
5598
  status?: Status[] | undefined;
5599
+ vehicle_ids?: string[] | undefined;
5602
5600
  search?: string | undefined;
5603
5601
  paging?: PAGING | undefined;
5604
5602
  page_count?: unknown;
@@ -5617,7 +5615,6 @@ declare const FleetInspectionCheckPendingQuerySchema: z.ZodObject<{
5617
5615
  direction: OrderBy;
5618
5616
  }[] | undefined;
5619
5617
  include_master_data?: YesNo | undefined;
5620
- vehicle_ids?: string[] | undefined;
5621
5618
  }>;
5622
5619
  type FleetInspectionCheckPendingQueryDTO = z.infer<typeof FleetInspectionCheckPendingQuerySchema>;
5623
5620
  declare const toFleetInspectionPayload: (row: FleetInspection) => FleetInspectionDTO;
@@ -5782,9 +5779,9 @@ declare const FleetIssueManagementSchema: z.ZodObject<{
5782
5779
  issue_priority: z.ZodType<Priority, z.ZodTypeDef, Priority>;
5783
5780
  issue_severity: z.ZodType<IssueSeverity, z.ZodTypeDef, IssueSeverity>;
5784
5781
  report_date: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
5785
- resolved_date: z.ZodDefault<z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>>;
5782
+ resolved_date: z.ZodDefault<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodOptional<z.ZodString>, string | undefined, string | undefined>, string | undefined, string | undefined>, string | undefined, string | undefined>, string | undefined, string | undefined>>;
5786
5783
  odometer_reading: z.ZodEffects<z.ZodDefault<z.ZodOptional<z.ZodNumber>>, number, unknown>;
5787
- due_date: z.ZodDefault<z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>>;
5784
+ due_date: z.ZodDefault<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodOptional<z.ZodString>, string | undefined, string | undefined>, string | undefined, string | undefined>, string | undefined, string | undefined>, string | undefined, string | undefined>>;
5788
5785
  due_odometer_reading: z.ZodEffects<z.ZodDefault<z.ZodOptional<z.ZodNumber>>, number, unknown>;
5789
5786
  issue_source: z.ZodType<IssueSource, z.ZodTypeDef, IssueSource>;
5790
5787
  time_zone_id: z.ZodEffects<z.ZodString, string, string>;
@@ -5830,9 +5827,9 @@ declare const FleetIssueManagementSchema: z.ZodObject<{
5830
5827
  }, "strip", z.ZodTypeAny, {
5831
5828
  status: Status;
5832
5829
  organisation_id: string;
5830
+ vehicle_id: string;
5833
5831
  user_id: string;
5834
5832
  time_zone_id: string;
5835
- vehicle_id: string;
5836
5833
  driver_id: string;
5837
5834
  vehicle_incident_id: string;
5838
5835
  odometer_reading: number;
@@ -5864,9 +5861,9 @@ declare const FleetIssueManagementSchema: z.ZodObject<{
5864
5861
  }, {
5865
5862
  status: Status;
5866
5863
  organisation_id: string;
5864
+ vehicle_id: string;
5867
5865
  user_id: string;
5868
5866
  time_zone_id: string;
5869
- vehicle_id: string;
5870
5867
  driver_id: string;
5871
5868
  vehicle_incident_id: string;
5872
5869
  inspection_id: string;
@@ -5944,6 +5941,8 @@ declare const FleetIssueManagementQuerySchema: z.ZodObject<{
5944
5941
  to_date: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
5945
5942
  }, "strip", z.ZodTypeAny, {
5946
5943
  status: Status[];
5944
+ user_ids: string[];
5945
+ vehicle_ids: string[];
5947
5946
  search: string;
5948
5947
  paging: PAGING;
5949
5948
  page_count: number;
@@ -5965,25 +5964,25 @@ declare const FleetIssueManagementQuerySchema: z.ZodObject<{
5965
5964
  date_format_id: string;
5966
5965
  time_zone_id: string;
5967
5966
  organisation_ids: string[];
5968
- user_ids: string[];
5969
- vehicle_ids: string[];
5970
5967
  driver_ids: string[];
5971
5968
  from_date: string;
5972
5969
  to_date: string;
5973
5970
  vehicle_incident_ids: string[];
5974
5971
  inspection_ids: string[];
5975
- service_management_ids: string[];
5976
5972
  issue_status: IssueStatus[];
5977
5973
  issue_priority: Priority[];
5978
5974
  issue_severity: IssueSeverity[];
5979
5975
  issue_source: IssueSource[];
5980
5976
  vehicle_issue_ids: string[];
5977
+ service_management_ids: string[];
5981
5978
  }, {
5982
5979
  date_format_id: string;
5983
5980
  time_zone_id: string;
5984
5981
  from_date: string;
5985
5982
  to_date: string;
5986
5983
  status?: Status[] | undefined;
5984
+ user_ids?: string[] | undefined;
5985
+ vehicle_ids?: string[] | undefined;
5987
5986
  search?: string | undefined;
5988
5987
  paging?: PAGING | undefined;
5989
5988
  page_count?: unknown;
@@ -6003,17 +6002,15 @@ declare const FleetIssueManagementQuerySchema: z.ZodObject<{
6003
6002
  }[] | undefined;
6004
6003
  include_master_data?: YesNo | undefined;
6005
6004
  organisation_ids?: string[] | undefined;
6006
- user_ids?: string[] | undefined;
6007
- vehicle_ids?: string[] | undefined;
6008
6005
  driver_ids?: string[] | undefined;
6009
6006
  vehicle_incident_ids?: string[] | undefined;
6010
6007
  inspection_ids?: string[] | undefined;
6011
- service_management_ids?: string[] | undefined;
6012
6008
  issue_status?: IssueStatus[] | undefined;
6013
6009
  issue_priority?: Priority[] | undefined;
6014
6010
  issue_severity?: IssueSeverity[] | undefined;
6015
6011
  issue_source?: IssueSource[] | undefined;
6016
6012
  vehicle_issue_ids?: string[] | undefined;
6013
+ service_management_ids?: string[] | undefined;
6017
6014
  }>;
6018
6015
  type FleetIssueManagementQueryDTO = z.infer<typeof FleetIssueManagementQuerySchema>;
6019
6016
  declare const FleetIssueManagementDashBoardQuerySchema: z.ZodObject<{
@@ -6053,6 +6050,7 @@ declare const FleetIssueManagementDashBoardQuerySchema: z.ZodObject<{
6053
6050
  to_date: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
6054
6051
  }, "strip", z.ZodTypeAny, {
6055
6052
  status: Status[];
6053
+ vehicle_ids: string[];
6056
6054
  search: string;
6057
6055
  paging: PAGING;
6058
6056
  page_count: number;
@@ -6074,7 +6072,6 @@ declare const FleetIssueManagementDashBoardQuerySchema: z.ZodObject<{
6074
6072
  date_format_id: string;
6075
6073
  time_zone_id: string;
6076
6074
  organisation_ids: string[];
6077
- vehicle_ids: string[];
6078
6075
  from_date: string;
6079
6076
  to_date: string;
6080
6077
  }, {
@@ -6083,6 +6080,7 @@ declare const FleetIssueManagementDashBoardQuerySchema: z.ZodObject<{
6083
6080
  from_date: string;
6084
6081
  to_date: string;
6085
6082
  status?: Status[] | undefined;
6083
+ vehicle_ids?: string[] | undefined;
6086
6084
  search?: string | undefined;
6087
6085
  paging?: PAGING | undefined;
6088
6086
  page_count?: unknown;
@@ -6102,7 +6100,6 @@ declare const FleetIssueManagementDashBoardQuerySchema: z.ZodObject<{
6102
6100
  }[] | undefined;
6103
6101
  include_master_data?: YesNo | undefined;
6104
6102
  organisation_ids?: string[] | undefined;
6105
- vehicle_ids?: string[] | undefined;
6106
6103
  }>;
6107
6104
  type FleetIssueManagementDashBoardQueryDTO = z.infer<typeof FleetIssueManagementDashBoardQuerySchema>;
6108
6105
  declare const FleetIssueManagementCommentSchema: z.ZodObject<{
@@ -6385,8 +6382,8 @@ declare const FleetServiceManagementSchema: z.ZodObject<{
6385
6382
  service_center_id: z.ZodEffects<z.ZodString, string, string>;
6386
6383
  service_status: z.ZodType<ServiceStatus, z.ZodTypeDef, ServiceStatus>;
6387
6384
  service_type: z.ZodType<ServiceType, z.ZodTypeDef, ServiceType>;
6388
- service_start_date: z.ZodDefault<z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>>;
6389
- service_complete_date: z.ZodDefault<z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>>;
6385
+ service_start_date: z.ZodDefault<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodOptional<z.ZodString>, string | undefined, string | undefined>, string | undefined, string | undefined>, string | undefined, string | undefined>, string | undefined, string | undefined>>;
6386
+ service_complete_date: z.ZodDefault<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodOptional<z.ZodString>, string | undefined, string | undefined>, string | undefined, string | undefined>, string | undefined, string | undefined>, string | undefined, string | undefined>>;
6390
6387
  odometer_reading: z.ZodEffects<z.ZodDefault<z.ZodOptional<z.ZodNumber>>, number, unknown>;
6391
6388
  fuel: z.ZodOptional<z.ZodEffects<z.ZodDefault<z.ZodNumber>, number, unknown>>;
6392
6389
  estimated_labor_cost: z.ZodOptional<z.ZodEffects<z.ZodDefault<z.ZodNumber>, number, unknown>>;
@@ -6405,7 +6402,7 @@ declare const FleetServiceManagementSchema: z.ZodObject<{
6405
6402
  payment_status: z.ZodType<PaymentStatus, z.ZodTypeDef, PaymentStatus>;
6406
6403
  payment_method: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
6407
6404
  next_odometer_reading: z.ZodEffects<z.ZodDefault<z.ZodOptional<z.ZodNumber>>, number, unknown>;
6408
- next_service_schedule_date: z.ZodDefault<z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>>;
6405
+ next_service_schedule_date: z.ZodDefault<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodOptional<z.ZodString>, string | undefined, string | undefined>, string | undefined, string | undefined>, string | undefined, string | undefined>, string | undefined, string | undefined>>;
6409
6406
  status: z.ZodType<Status, z.ZodTypeDef, Status>;
6410
6407
  time_zone_id: z.ZodEffects<z.ZodString, string, string>;
6411
6408
  FleetServiceManagementFileSchema: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -6449,9 +6446,9 @@ declare const FleetServiceManagementSchema: z.ZodObject<{
6449
6446
  }, "strip", z.ZodTypeAny, {
6450
6447
  status: Status;
6451
6448
  organisation_id: string;
6449
+ vehicle_id: string;
6452
6450
  user_id: string;
6453
6451
  time_zone_id: string;
6454
- vehicle_id: string;
6455
6452
  driver_id: string;
6456
6453
  odometer_reading: number;
6457
6454
  service_status: ServiceStatus;
@@ -6494,9 +6491,9 @@ declare const FleetServiceManagementSchema: z.ZodObject<{
6494
6491
  }, {
6495
6492
  status: Status;
6496
6493
  organisation_id: string;
6494
+ vehicle_id: string;
6497
6495
  user_id: string;
6498
6496
  time_zone_id: string;
6499
- vehicle_id: string;
6500
6497
  driver_id: string;
6501
6498
  service_status: ServiceStatus;
6502
6499
  service_type: ServiceType;
@@ -6584,6 +6581,8 @@ declare const FleetServiceManagementQuerySchema: z.ZodObject<{
6584
6581
  to_date: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
6585
6582
  }, "strip", z.ZodTypeAny, {
6586
6583
  status: Status[];
6584
+ user_ids: string[];
6585
+ vehicle_ids: string[];
6587
6586
  search: string;
6588
6587
  paging: PAGING;
6589
6588
  page_count: number;
@@ -6605,8 +6604,6 @@ declare const FleetServiceManagementQuerySchema: z.ZodObject<{
6605
6604
  date_format_id: string;
6606
6605
  time_zone_id: string;
6607
6606
  organisation_ids: string[];
6608
- user_ids: string[];
6609
- vehicle_ids: string[];
6610
6607
  driver_ids: string[];
6611
6608
  from_date: string;
6612
6609
  to_date: string;
@@ -6623,6 +6620,8 @@ declare const FleetServiceManagementQuerySchema: z.ZodObject<{
6623
6620
  from_date: string;
6624
6621
  to_date: string;
6625
6622
  status?: Status[] | undefined;
6623
+ user_ids?: string[] | undefined;
6624
+ vehicle_ids?: string[] | undefined;
6626
6625
  search?: string | undefined;
6627
6626
  paging?: PAGING | undefined;
6628
6627
  page_count?: unknown;
@@ -6642,8 +6641,6 @@ declare const FleetServiceManagementQuerySchema: z.ZodObject<{
6642
6641
  }[] | undefined;
6643
6642
  include_master_data?: YesNo | undefined;
6644
6643
  organisation_ids?: string[] | undefined;
6645
- user_ids?: string[] | undefined;
6646
- vehicle_ids?: string[] | undefined;
6647
6644
  driver_ids?: string[] | undefined;
6648
6645
  service_management_ids?: string[] | undefined;
6649
6646
  service_status?: ServiceStatus[] | undefined;
@@ -6691,6 +6688,7 @@ declare const FleetServiceManagementDashBoardQuerySchema: z.ZodObject<{
6691
6688
  to_date: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
6692
6689
  }, "strip", z.ZodTypeAny, {
6693
6690
  status: Status[];
6691
+ vehicle_ids: string[];
6694
6692
  search: string;
6695
6693
  paging: PAGING;
6696
6694
  page_count: number;
@@ -6712,7 +6710,6 @@ declare const FleetServiceManagementDashBoardQuerySchema: z.ZodObject<{
6712
6710
  date_format_id: string;
6713
6711
  time_zone_id: string;
6714
6712
  organisation_ids: string[];
6715
- vehicle_ids: string[];
6716
6713
  from_date: string;
6717
6714
  to_date: string;
6718
6715
  }, {
@@ -6721,6 +6718,7 @@ declare const FleetServiceManagementDashBoardQuerySchema: z.ZodObject<{
6721
6718
  from_date: string;
6722
6719
  to_date: string;
6723
6720
  status?: Status[] | undefined;
6721
+ vehicle_ids?: string[] | undefined;
6724
6722
  search?: string | undefined;
6725
6723
  paging?: PAGING | undefined;
6726
6724
  page_count?: unknown;
@@ -6740,7 +6738,6 @@ declare const FleetServiceManagementDashBoardQuerySchema: z.ZodObject<{
6740
6738
  }[] | undefined;
6741
6739
  include_master_data?: YesNo | undefined;
6742
6740
  organisation_ids?: string[] | undefined;
6743
- vehicle_ids?: string[] | undefined;
6744
6741
  }>;
6745
6742
  type FleetServiceManagementDashBoardQueryDTO = z.infer<typeof FleetServiceManagementDashBoardQuerySchema>;
6746
6743
  declare const FleetServiceManagementTaskSchema: z.ZodObject<{
@@ -6913,6 +6910,7 @@ declare const FleetServiceReminderQuerySchema: z.ZodObject<{
6913
6910
  reminder_type: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof ReminderType>, "many">>>;
6914
6911
  }, "strip", z.ZodTypeAny, {
6915
6912
  status: Status[];
6913
+ vehicle_ids: string[];
6916
6914
  search: string;
6917
6915
  paging: PAGING;
6918
6916
  page_count: number;
@@ -6934,7 +6932,6 @@ declare const FleetServiceReminderQuerySchema: z.ZodObject<{
6934
6932
  date_format_id: string;
6935
6933
  time_zone_id: string;
6936
6934
  organisation_ids: string[];
6937
- vehicle_ids: string[];
6938
6935
  service_management_ids: string[];
6939
6936
  reminder_type: ReminderType[];
6940
6937
  service_reminder_ids: string[];
@@ -6942,6 +6939,7 @@ declare const FleetServiceReminderQuerySchema: z.ZodObject<{
6942
6939
  date_format_id: string;
6943
6940
  time_zone_id: string;
6944
6941
  status?: Status[] | undefined;
6942
+ vehicle_ids?: string[] | undefined;
6945
6943
  search?: string | undefined;
6946
6944
  paging?: PAGING | undefined;
6947
6945
  page_count?: unknown;
@@ -6961,7 +6959,6 @@ declare const FleetServiceReminderQuerySchema: z.ZodObject<{
6961
6959
  }[] | undefined;
6962
6960
  include_master_data?: YesNo | undefined;
6963
6961
  organisation_ids?: string[] | undefined;
6964
- vehicle_ids?: string[] | undefined;
6965
6962
  service_management_ids?: string[] | undefined;
6966
6963
  reminder_type?: ReminderType[] | undefined;
6967
6964
  service_reminder_ids?: string[] | undefined;
@@ -8593,8 +8590,8 @@ declare const FleetVendorDocumentSchema: z.ZodObject<{
8593
8590
  document_name: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
8594
8591
  document_number: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
8595
8592
  issuing_authority: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
8596
- issue_date: z.ZodDefault<z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>>;
8597
- expiry_date: z.ZodDefault<z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>>;
8593
+ issue_date: z.ZodDefault<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodOptional<z.ZodString>, string | undefined, string | undefined>, string | undefined, string | undefined>, string | undefined, string | undefined>, string | undefined, string | undefined>>;
8594
+ expiry_date: z.ZodDefault<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodOptional<z.ZodString>, string | undefined, string | undefined>, string | undefined, string | undefined>, string | undefined, string | undefined>, string | undefined, string | undefined>>;
8598
8595
  remarks: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
8599
8596
  time_zone_id: z.ZodEffects<z.ZodString, string, string>;
8600
8597
  FleetVendorDocumentFileSchema: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -8983,8 +8980,8 @@ declare const FleetVendorSchema: z.ZodObject<{
8983
8980
  document_name: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
8984
8981
  document_number: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
8985
8982
  issuing_authority: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
8986
- issue_date: z.ZodDefault<z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>>;
8987
- expiry_date: z.ZodDefault<z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>>;
8983
+ issue_date: z.ZodDefault<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodOptional<z.ZodString>, string | undefined, string | undefined>, string | undefined, string | undefined>, string | undefined, string | undefined>, string | undefined, string | undefined>>;
8984
+ expiry_date: z.ZodDefault<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodOptional<z.ZodString>, string | undefined, string | undefined>, string | undefined, string | undefined>, string | undefined, string | undefined>, string | undefined, string | undefined>>;
8988
8985
  remarks: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
8989
8986
  time_zone_id: z.ZodEffects<z.ZodString, string, string>;
8990
8987
  FleetVendorDocumentFileSchema: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -9724,9 +9721,9 @@ declare const FleetFuelRefillSchema: z.ZodObject<{
9724
9721
  }, "strip", z.ZodTypeAny, {
9725
9722
  status: Status;
9726
9723
  organisation_id: string;
9724
+ vehicle_id: string;
9727
9725
  user_id: string;
9728
9726
  time_zone_id: string;
9729
- vehicle_id: string;
9730
9727
  driver_id: string;
9731
9728
  google_location: string;
9732
9729
  device_id: string;
@@ -9778,9 +9775,9 @@ declare const FleetFuelRefillSchema: z.ZodObject<{
9778
9775
  }, {
9779
9776
  status: Status;
9780
9777
  organisation_id: string;
9778
+ vehicle_id: string;
9781
9779
  user_id: string;
9782
9780
  time_zone_id: string;
9783
- vehicle_id: string;
9784
9781
  driver_id: string;
9785
9782
  device_id: string;
9786
9783
  vehicle_fuel_type_id: string;
@@ -9884,6 +9881,8 @@ declare const FleetFuelRefillQuerySchema: z.ZodObject<{
9884
9881
  to_date: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
9885
9882
  }, "strip", z.ZodTypeAny, {
9886
9883
  status: Status[];
9884
+ user_ids: string[];
9885
+ vehicle_ids: string[];
9887
9886
  search: string;
9888
9887
  paging: PAGING;
9889
9888
  page_count: number;
@@ -9905,8 +9904,6 @@ declare const FleetFuelRefillQuerySchema: z.ZodObject<{
9905
9904
  date_format_id: string;
9906
9905
  time_zone_id: string;
9907
9906
  organisation_ids: string[];
9908
- user_ids: string[];
9909
- vehicle_ids: string[];
9910
9907
  driver_ids: string[];
9911
9908
  from_date: string;
9912
9909
  to_date: string;
@@ -9930,6 +9927,8 @@ declare const FleetFuelRefillQuerySchema: z.ZodObject<{
9930
9927
  from_date: string;
9931
9928
  to_date: string;
9932
9929
  status?: Status[] | undefined;
9930
+ user_ids?: string[] | undefined;
9931
+ vehicle_ids?: string[] | undefined;
9933
9932
  search?: string | undefined;
9934
9933
  paging?: PAGING | undefined;
9935
9934
  page_count?: unknown;
@@ -9949,8 +9948,6 @@ declare const FleetFuelRefillQuerySchema: z.ZodObject<{
9949
9948
  }[] | undefined;
9950
9949
  include_master_data?: YesNo | undefined;
9951
9950
  organisation_ids?: string[] | undefined;
9952
- user_ids?: string[] | undefined;
9953
- vehicle_ids?: string[] | undefined;
9954
9951
  driver_ids?: string[] | undefined;
9955
9952
  payment_status?: PaymentStatus[] | undefined;
9956
9953
  vendor_ids?: string[] | undefined;
@@ -10279,9 +10276,9 @@ declare const FleetFuelRemovalSchema: z.ZodObject<{
10279
10276
  }, "strip", z.ZodTypeAny, {
10280
10277
  status: Status;
10281
10278
  organisation_id: string;
10279
+ vehicle_id: string;
10282
10280
  user_id: string;
10283
10281
  time_zone_id: string;
10284
- vehicle_id: string;
10285
10282
  driver_id: string;
10286
10283
  google_location: string;
10287
10284
  device_id: string;
@@ -10321,9 +10318,9 @@ declare const FleetFuelRemovalSchema: z.ZodObject<{
10321
10318
  }, {
10322
10319
  status: Status;
10323
10320
  organisation_id: string;
10321
+ vehicle_id: string;
10324
10322
  user_id: string;
10325
10323
  time_zone_id: string;
10326
- vehicle_id: string;
10327
10324
  driver_id: string;
10328
10325
  device_id: string;
10329
10326
  vehicle_fuel_type_id: string;
@@ -10409,6 +10406,8 @@ declare const FleetFuelRemovalQuerySchema: z.ZodObject<{
10409
10406
  to_date: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
10410
10407
  }, "strip", z.ZodTypeAny, {
10411
10408
  status: Status[];
10409
+ user_ids: string[];
10410
+ vehicle_ids: string[];
10412
10411
  search: string;
10413
10412
  paging: PAGING;
10414
10413
  page_count: number;
@@ -10430,8 +10429,6 @@ declare const FleetFuelRemovalQuerySchema: z.ZodObject<{
10430
10429
  date_format_id: string;
10431
10430
  time_zone_id: string;
10432
10431
  organisation_ids: string[];
10433
- user_ids: string[];
10434
- vehicle_ids: string[];
10435
10432
  driver_ids: string[];
10436
10433
  from_date: string;
10437
10434
  to_date: string;
@@ -10449,6 +10446,8 @@ declare const FleetFuelRemovalQuerySchema: z.ZodObject<{
10449
10446
  from_date: string;
10450
10447
  to_date: string;
10451
10448
  status?: Status[] | undefined;
10449
+ user_ids?: string[] | undefined;
10450
+ vehicle_ids?: string[] | undefined;
10452
10451
  search?: string | undefined;
10453
10452
  paging?: PAGING | undefined;
10454
10453
  page_count?: unknown;
@@ -10468,8 +10467,6 @@ declare const FleetFuelRemovalQuerySchema: z.ZodObject<{
10468
10467
  }[] | undefined;
10469
10468
  include_master_data?: YesNo | undefined;
10470
10469
  organisation_ids?: string[] | undefined;
10471
- user_ids?: string[] | undefined;
10472
- vehicle_ids?: string[] | undefined;
10473
10470
  driver_ids?: string[] | undefined;
10474
10471
  admin_verify_status?: GPSFuelApproveStatus[] | undefined;
10475
10472
  transporter_verify_status?: GPSFuelApproveStatus[] | undefined;
@@ -10530,8 +10527,8 @@ declare const FleetInspectionScheduleSchema: z.ZodObject<{
10530
10527
  user_id: z.ZodEffects<z.ZodString, string, string>;
10531
10528
  inspection_schedule_name: z.ZodEffects<z.ZodString, string, string>;
10532
10529
  inspection_schedule_description: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
10533
- inspection_schedule_start_date: z.ZodDefault<z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>>;
10534
- inspection_schedule_due_date: z.ZodDefault<z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>>;
10530
+ inspection_schedule_start_date: z.ZodDefault<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodOptional<z.ZodString>, string | undefined, string | undefined>, string | undefined, string | undefined>, string | undefined, string | undefined>, string | undefined, string | undefined>>;
10531
+ inspection_schedule_due_date: z.ZodDefault<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodOptional<z.ZodString>, string | undefined, string | undefined>, string | undefined, string | undefined>, string | undefined, string | undefined>, string | undefined, string | undefined>>;
10535
10532
  vehicle_ids: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
10536
10533
  status: z.ZodType<Status, z.ZodTypeDef, Status>;
10537
10534
  time_zone_id: z.ZodEffects<z.ZodString, string, string>;
@@ -10539,8 +10536,8 @@ declare const FleetInspectionScheduleSchema: z.ZodObject<{
10539
10536
  status: Status;
10540
10537
  organisation_id: string;
10541
10538
  user_id: string;
10542
- time_zone_id: string;
10543
10539
  vehicle_ids: string[];
10540
+ time_zone_id: string;
10544
10541
  inspection_schedule_name: string;
10545
10542
  inspection_schedule_description: string;
10546
10543
  inspection_schedule_start_date: string;
@@ -10593,6 +10590,7 @@ declare const FleetInspectionScheduleQuerySchema: z.ZodObject<{
10593
10590
  user_ids: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
10594
10591
  }, "strip", z.ZodTypeAny, {
10595
10592
  status: Status[];
10593
+ user_ids: string[];
10596
10594
  search: string;
10597
10595
  paging: PAGING;
10598
10596
  page_count: number;
@@ -10614,12 +10612,12 @@ declare const FleetInspectionScheduleQuerySchema: z.ZodObject<{
10614
10612
  date_format_id: string;
10615
10613
  time_zone_id: string;
10616
10614
  organisation_ids: string[];
10617
- user_ids: string[];
10618
10615
  inspection_schedule_ids: string[];
10619
10616
  }, {
10620
10617
  date_format_id: string;
10621
10618
  time_zone_id: string;
10622
10619
  status?: Status[] | undefined;
10620
+ user_ids?: string[] | undefined;
10623
10621
  search?: string | undefined;
10624
10622
  paging?: PAGING | undefined;
10625
10623
  page_count?: unknown;
@@ -10639,7 +10637,6 @@ declare const FleetInspectionScheduleQuerySchema: z.ZodObject<{
10639
10637
  }[] | undefined;
10640
10638
  include_master_data?: YesNo | undefined;
10641
10639
  organisation_ids?: string[] | undefined;
10642
- user_ids?: string[] | undefined;
10643
10640
  inspection_schedule_ids?: string[] | undefined;
10644
10641
  }>;
10645
10642
  type FleetInspectionScheduleQueryDTO = z.infer<typeof FleetInspectionScheduleQuerySchema>;
@@ -10690,8 +10687,8 @@ declare const FleetServiceScheduleSchema: z.ZodObject<{
10690
10687
  user_id: z.ZodEffects<z.ZodString, string, string>;
10691
10688
  service_schedule_name: z.ZodEffects<z.ZodString, string, string>;
10692
10689
  service_schedule_description: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
10693
- service_schedule_start_date: z.ZodDefault<z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>>;
10694
- service_schedule_due_date: z.ZodDefault<z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>>;
10690
+ service_schedule_start_date: z.ZodDefault<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodOptional<z.ZodString>, string | undefined, string | undefined>, string | undefined, string | undefined>, string | undefined, string | undefined>, string | undefined, string | undefined>>;
10691
+ service_schedule_due_date: z.ZodDefault<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodOptional<z.ZodString>, string | undefined, string | undefined>, string | undefined, string | undefined>, string | undefined, string | undefined>, string | undefined, string | undefined>>;
10695
10692
  vehicle_ids: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
10696
10693
  status: z.ZodType<Status, z.ZodTypeDef, Status>;
10697
10694
  time_zone_id: z.ZodEffects<z.ZodString, string, string>;
@@ -10699,8 +10696,8 @@ declare const FleetServiceScheduleSchema: z.ZodObject<{
10699
10696
  status: Status;
10700
10697
  organisation_id: string;
10701
10698
  user_id: string;
10702
- time_zone_id: string;
10703
10699
  vehicle_ids: string[];
10700
+ time_zone_id: string;
10704
10701
  service_schedule_name: string;
10705
10702
  service_schedule_description: string;
10706
10703
  service_schedule_start_date: string;
@@ -10948,16 +10945,16 @@ declare const UserSchema: z.ZodObject<{
10948
10945
  vehicle_ids: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
10949
10946
  status: z.ZodType<Status, z.ZodTypeDef, Status>;
10950
10947
  }, "strip", z.ZodTypeAny, {
10948
+ all_vehicles: YesNo;
10951
10949
  status: Status;
10952
10950
  organisation_id: string;
10951
+ vehicle_ids: string[];
10953
10952
  date_format_id: string;
10954
10953
  time_zone_id: string;
10955
10954
  organisation_branch_id: string;
10956
10955
  user_role_id: string;
10957
10956
  user_status_id: string;
10958
10957
  language_id: string;
10959
- vehicle_ids: string[];
10960
- all_vehicles: YesNo;
10961
10958
  email: string;
10962
10959
  password: string;
10963
10960
  mobile: string;
@@ -10970,6 +10967,7 @@ declare const UserSchema: z.ZodObject<{
10970
10967
  is_root_user: YesNo;
10971
10968
  can_login: YesNo;
10972
10969
  }, {
10970
+ all_vehicles: YesNo;
10973
10971
  status: Status;
10974
10972
  organisation_id: string;
10975
10973
  date_format_id: string;
@@ -10978,7 +10976,6 @@ declare const UserSchema: z.ZodObject<{
10978
10976
  user_role_id: string;
10979
10977
  user_status_id: string;
10980
10978
  language_id: string;
10981
- all_vehicles: YesNo;
10982
10979
  email: string;
10983
10980
  first_name: string;
10984
10981
  is_root_user: YesNo;
@@ -11036,7 +11033,9 @@ declare const UserQuerySchema: z.ZodObject<{
11036
11033
  is_root_user: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof YesNo>, "many">>>;
11037
11034
  all_vehicles: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof YesNo>, "many">>>;
11038
11035
  }, "strip", z.ZodTypeAny, {
11036
+ all_vehicles: YesNo[];
11039
11037
  status: Status[];
11038
+ user_ids: string[];
11040
11039
  search: string;
11041
11040
  paging: PAGING;
11042
11041
  page_count: number;
@@ -11058,20 +11057,20 @@ declare const UserQuerySchema: z.ZodObject<{
11058
11057
  date_format_id: string;
11059
11058
  time_zone_id: string;
11060
11059
  organisation_ids: string[];
11061
- user_ids: string[];
11062
11060
  organisation_branch_ids: string[];
11063
11061
  user_role_ids: string[];
11064
11062
  user_status_ids: string[];
11065
11063
  language_ids: string[];
11066
11064
  date_format_ids: string[];
11067
- all_vehicles: YesNo[];
11068
11065
  is_root_user: YesNo[];
11069
11066
  can_login: YesNo[];
11070
11067
  time_zone_ids: string[];
11071
11068
  }, {
11072
11069
  date_format_id: string;
11073
11070
  time_zone_id: string;
11071
+ all_vehicles?: YesNo[] | undefined;
11074
11072
  status?: Status[] | undefined;
11073
+ user_ids?: string[] | undefined;
11075
11074
  search?: string | undefined;
11076
11075
  paging?: PAGING | undefined;
11077
11076
  page_count?: unknown;
@@ -11091,13 +11090,11 @@ declare const UserQuerySchema: z.ZodObject<{
11091
11090
  }[] | undefined;
11092
11091
  include_master_data?: YesNo | undefined;
11093
11092
  organisation_ids?: string[] | undefined;
11094
- user_ids?: string[] | undefined;
11095
11093
  organisation_branch_ids?: string[] | undefined;
11096
11094
  user_role_ids?: string[] | undefined;
11097
11095
  user_status_ids?: string[] | undefined;
11098
11096
  language_ids?: string[] | undefined;
11099
11097
  date_format_ids?: string[] | undefined;
11100
- all_vehicles?: YesNo[] | undefined;
11101
11098
  is_root_user?: YesNo[] | undefined;
11102
11099
  can_login?: YesNo[] | undefined;
11103
11100
  time_zone_ids?: string[] | undefined;
@@ -11244,9 +11241,9 @@ declare const FleetFuelDailySummarySchema: z.ZodObject<{
11244
11241
  }, "strip", z.ZodTypeAny, {
11245
11242
  status: Status;
11246
11243
  organisation_id: string;
11244
+ vehicle_id: string;
11247
11245
  user_id: string;
11248
11246
  date: string;
11249
- vehicle_id: string;
11250
11247
  driver_id: string;
11251
11248
  device_id: string;
11252
11249
  total_km: number;
@@ -11262,9 +11259,9 @@ declare const FleetFuelDailySummarySchema: z.ZodObject<{
11262
11259
  }, {
11263
11260
  status: Status;
11264
11261
  organisation_id: string;
11262
+ vehicle_id: string;
11265
11263
  user_id: string;
11266
11264
  date: string;
11267
- vehicle_id: string;
11268
11265
  driver_id: string;
11269
11266
  device_id: string;
11270
11267
  total_km?: unknown;
@@ -11322,6 +11319,8 @@ declare const FleetFuelDailySummaryQuerySchema: z.ZodObject<{
11322
11319
  to_date: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
11323
11320
  }, "strip", z.ZodTypeAny, {
11324
11321
  status: Status[];
11322
+ user_ids: string[];
11323
+ vehicle_ids: string[];
11325
11324
  search: string;
11326
11325
  paging: PAGING;
11327
11326
  page_count: number;
@@ -11343,8 +11342,6 @@ declare const FleetFuelDailySummaryQuerySchema: z.ZodObject<{
11343
11342
  date_format_id: string;
11344
11343
  time_zone_id: string;
11345
11344
  organisation_ids: string[];
11346
- user_ids: string[];
11347
- vehicle_ids: string[];
11348
11345
  driver_ids: string[];
11349
11346
  from_date: string;
11350
11347
  to_date: string;
@@ -11358,6 +11355,8 @@ declare const FleetFuelDailySummaryQuerySchema: z.ZodObject<{
11358
11355
  from_date: string;
11359
11356
  to_date: string;
11360
11357
  status?: Status[] | undefined;
11358
+ user_ids?: string[] | undefined;
11359
+ vehicle_ids?: string[] | undefined;
11361
11360
  search?: string | undefined;
11362
11361
  paging?: PAGING | undefined;
11363
11362
  page_count?: unknown;
@@ -11377,8 +11376,6 @@ declare const FleetFuelDailySummaryQuerySchema: z.ZodObject<{
11377
11376
  }[] | undefined;
11378
11377
  include_master_data?: YesNo | undefined;
11379
11378
  organisation_ids?: string[] | undefined;
11380
- user_ids?: string[] | undefined;
11381
- vehicle_ids?: string[] | undefined;
11382
11379
  driver_ids?: string[] | undefined;
11383
11380
  device_ids?: string[] | undefined;
11384
11381
  fleet_fuel_daily_summary_ids?: string[] | undefined;
@@ -11423,6 +11420,7 @@ declare const FleetFuelDailyMonthlySummaryQuerySchema: z.ZodObject<{
11423
11420
  to_date: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
11424
11421
  }, "strip", z.ZodTypeAny, {
11425
11422
  status: Status[];
11423
+ vehicle_ids: string[];
11426
11424
  search: string;
11427
11425
  paging: PAGING;
11428
11426
  page_count: number;
@@ -11444,7 +11442,6 @@ declare const FleetFuelDailyMonthlySummaryQuerySchema: z.ZodObject<{
11444
11442
  date_format_id: string;
11445
11443
  time_zone_id: string;
11446
11444
  organisation_ids: string[];
11447
- vehicle_ids: string[];
11448
11445
  from_date: string;
11449
11446
  to_date: string;
11450
11447
  }, {
@@ -11453,6 +11450,7 @@ declare const FleetFuelDailyMonthlySummaryQuerySchema: z.ZodObject<{
11453
11450
  from_date: string;
11454
11451
  to_date: string;
11455
11452
  status?: Status[] | undefined;
11453
+ vehicle_ids?: string[] | undefined;
11456
11454
  search?: string | undefined;
11457
11455
  paging?: PAGING | undefined;
11458
11456
  page_count?: unknown;
@@ -11472,7 +11470,6 @@ declare const FleetFuelDailyMonthlySummaryQuerySchema: z.ZodObject<{
11472
11470
  }[] | undefined;
11473
11471
  include_master_data?: YesNo | undefined;
11474
11472
  organisation_ids?: string[] | undefined;
11475
- vehicle_ids?: string[] | undefined;
11476
11473
  }>;
11477
11474
  type FleetFuelDailyMonthlySummaryQueryDTO = z.infer<typeof FleetFuelDailyMonthlySummaryQuerySchema>;
11478
11475
  declare const AllVehiclesFuelDailySummaryQuerySchema: z.ZodObject<{
@@ -11523,6 +11520,7 @@ declare const FleetFuelDailySummaryDashBoardQuerySchema: z.ZodObject<{
11523
11520
  to_date: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
11524
11521
  }, "strip", z.ZodTypeAny, {
11525
11522
  status: Status[];
11523
+ vehicle_ids: string[];
11526
11524
  search: string;
11527
11525
  paging: PAGING;
11528
11526
  page_count: number;
@@ -11544,7 +11542,6 @@ declare const FleetFuelDailySummaryDashBoardQuerySchema: z.ZodObject<{
11544
11542
  date_format_id: string;
11545
11543
  time_zone_id: string;
11546
11544
  organisation_ids: string[];
11547
- vehicle_ids: string[];
11548
11545
  from_date: string;
11549
11546
  to_date: string;
11550
11547
  }, {
@@ -11553,6 +11550,7 @@ declare const FleetFuelDailySummaryDashBoardQuerySchema: z.ZodObject<{
11553
11550
  from_date: string;
11554
11551
  to_date: string;
11555
11552
  status?: Status[] | undefined;
11553
+ vehicle_ids?: string[] | undefined;
11556
11554
  search?: string | undefined;
11557
11555
  paging?: PAGING | undefined;
11558
11556
  page_count?: unknown;
@@ -11572,7 +11570,6 @@ declare const FleetFuelDailySummaryDashBoardQuerySchema: z.ZodObject<{
11572
11570
  }[] | undefined;
11573
11571
  include_master_data?: YesNo | undefined;
11574
11572
  organisation_ids?: string[] | undefined;
11575
- vehicle_ids?: string[] | undefined;
11576
11573
  }>;
11577
11574
  type FleetFuelDailySummaryDashBoardQueryDTO = z.infer<typeof FleetFuelDailySummaryDashBoardQuerySchema>;
11578
11575
  interface FuelDashboard {
@@ -11928,6 +11925,7 @@ declare const MasterDriverQuerySchema: z.ZodObject<{
11928
11925
  is_vehicle_assigned: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof YesNo>, "many">>>;
11929
11926
  }, "strip", z.ZodTypeAny, {
11930
11927
  status: Status[];
11928
+ vehicle_ids: string[];
11931
11929
  search: string;
11932
11930
  paging: PAGING;
11933
11931
  page_count: number;
@@ -11953,7 +11951,6 @@ declare const MasterDriverQuerySchema: z.ZodObject<{
11953
11951
  organisation_branch_ids: string[];
11954
11952
  organisation_color_ids: string[];
11955
11953
  organisation_tag_ids: string[];
11956
- vehicle_ids: string[];
11957
11954
  driver_ids: string[];
11958
11955
  can_login: YesNo[];
11959
11956
  driver_type: DriverType[];
@@ -11962,6 +11959,7 @@ declare const MasterDriverQuerySchema: z.ZodObject<{
11962
11959
  date_format_id: string;
11963
11960
  time_zone_id: string;
11964
11961
  status?: Status[] | undefined;
11962
+ vehicle_ids?: string[] | undefined;
11965
11963
  search?: string | undefined;
11966
11964
  paging?: PAGING | undefined;
11967
11965
  page_count?: unknown;
@@ -11985,7 +11983,6 @@ declare const MasterDriverQuerySchema: z.ZodObject<{
11985
11983
  organisation_branch_ids?: string[] | undefined;
11986
11984
  organisation_color_ids?: string[] | undefined;
11987
11985
  organisation_tag_ids?: string[] | undefined;
11988
- vehicle_ids?: string[] | undefined;
11989
11986
  driver_ids?: string[] | undefined;
11990
11987
  can_login?: YesNo[] | undefined;
11991
11988
  driver_type?: DriverType[] | undefined;
@@ -12163,17 +12160,17 @@ declare const OrganisationGroupSchema: z.ZodObject<{
12163
12160
  description: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
12164
12161
  status: z.ZodType<Status, z.ZodTypeDef, Status>;
12165
12162
  }, "strip", z.ZodTypeAny, {
12166
- group_name: string;
12167
12163
  status: Status;
12168
12164
  organisation_id: string;
12169
- description: string;
12170
12165
  vehicle_ids: string[];
12171
- }, {
12166
+ description: string;
12172
12167
  group_name: string;
12168
+ }, {
12173
12169
  status: Status;
12174
12170
  organisation_id: string;
12175
- description?: string | undefined;
12171
+ group_name: string;
12176
12172
  vehicle_ids?: string[] | undefined;
12173
+ description?: string | undefined;
12177
12174
  }>;
12178
12175
  type OrganisationGroupDTO = z.infer<typeof OrganisationGroupSchema>;
12179
12176
  declare const OrganisationGroupQuerySchema: z.ZodObject<{
@@ -12212,6 +12209,7 @@ declare const OrganisationGroupQuerySchema: z.ZodObject<{
12212
12209
  vehicle_ids: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
12213
12210
  }, "strip", z.ZodTypeAny, {
12214
12211
  status: Status[];
12212
+ vehicle_ids: string[];
12215
12213
  search: string;
12216
12214
  paging: PAGING;
12217
12215
  page_count: number;
@@ -12233,12 +12231,12 @@ declare const OrganisationGroupQuerySchema: z.ZodObject<{
12233
12231
  date_format_id: string;
12234
12232
  time_zone_id: string;
12235
12233
  organisation_ids: string[];
12236
- vehicle_ids: string[];
12237
12234
  organisation_group_ids: string[];
12238
12235
  }, {
12239
12236
  date_format_id: string;
12240
12237
  time_zone_id: string;
12241
12238
  status?: Status[] | undefined;
12239
+ vehicle_ids?: string[] | undefined;
12242
12240
  search?: string | undefined;
12243
12241
  paging?: PAGING | undefined;
12244
12242
  page_count?: unknown;
@@ -12258,7 +12256,6 @@ declare const OrganisationGroupQuerySchema: z.ZodObject<{
12258
12256
  }[] | undefined;
12259
12257
  include_master_data?: YesNo | undefined;
12260
12258
  organisation_ids?: string[] | undefined;
12261
- vehicle_ids?: string[] | undefined;
12262
12259
  organisation_group_ids?: string[] | undefined;
12263
12260
  }>;
12264
12261
  type OrganisationGroupQueryDTO = z.infer<typeof OrganisationGroupQuerySchema>;
@@ -12975,8 +12972,8 @@ declare const MasterVehicleTypeSchema: z.ZodObject<{
12975
12972
  }, "strip", z.ZodTypeAny, {
12976
12973
  status: Status;
12977
12974
  organisation_id: string;
12978
- description: string;
12979
12975
  vehicle_type: string;
12976
+ description: string;
12980
12977
  }, {
12981
12978
  status: Status;
12982
12979
  organisation_id: string;
@@ -13505,28 +13502,28 @@ declare const OrganisationReportPreferenceSchema: z.ZodObject<{
13505
13502
  vehicle_ids: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
13506
13503
  status: z.ZodType<Status, z.ZodTypeDef, Status>;
13507
13504
  }, "strip", z.ZodTypeAny, {
13508
- status: Status;
13509
- organisation_id: string;
13510
- vehicle_ids: string[];
13511
13505
  mobile_numbers: string;
13512
13506
  email_ids: string;
13513
13507
  cc_email_ids: string;
13514
13508
  all_vehicles: YesNo;
13509
+ status: Status;
13510
+ organisation_id: string;
13511
+ vehicle_ids: string[];
13515
13512
  report_name: string;
13516
13513
  report_status: OnOff;
13517
13514
  report_types: ReportType[];
13518
13515
  report_list: ReportList[];
13519
13516
  report_channels: ReportChannel.Email[];
13520
13517
  }, {
13518
+ all_vehicles: YesNo;
13521
13519
  status: Status;
13522
13520
  organisation_id: string;
13523
- all_vehicles: YesNo;
13524
13521
  report_name: string;
13525
13522
  report_status: OnOff;
13526
- vehicle_ids?: string[] | undefined;
13527
13523
  mobile_numbers?: string | undefined;
13528
13524
  email_ids?: string | undefined;
13529
13525
  cc_email_ids?: string | undefined;
13526
+ vehicle_ids?: string[] | undefined;
13530
13527
  report_types?: ReportType[] | undefined;
13531
13528
  report_list?: ReportList[] | undefined;
13532
13529
  report_channels?: ReportChannel.Email[] | undefined;
@@ -13680,11 +13677,11 @@ declare const GPSLiveTrackShareLinkNotificationSchema: z.ZodObject<{
13680
13677
  cc_email_ids: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
13681
13678
  status: z.ZodType<Status, z.ZodTypeDef, Status>;
13682
13679
  }, "strip", z.ZodTypeAny, {
13683
- status: Status;
13684
- organisation_id: string;
13685
13680
  mobile_numbers: string;
13686
13681
  email_ids: string;
13687
13682
  cc_email_ids: string;
13683
+ status: Status;
13684
+ organisation_id: string;
13688
13685
  gps_live_track_share_link_id: string;
13689
13686
  share_channels: ShareChannel.Email[];
13690
13687
  }, {
@@ -13770,6 +13767,7 @@ declare const GPSLiveTrackShareLinkQuerySchema: z.ZodObject<{
13770
13767
  link_status: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof LinkStatus>, "many">>>;
13771
13768
  }, "strip", z.ZodTypeAny, {
13772
13769
  status: Status[];
13770
+ vehicle_ids: string[];
13773
13771
  search: string;
13774
13772
  paging: PAGING;
13775
13773
  page_count: number;
@@ -13791,13 +13789,13 @@ declare const GPSLiveTrackShareLinkQuerySchema: z.ZodObject<{
13791
13789
  date_format_id: string;
13792
13790
  time_zone_id: string;
13793
13791
  organisation_ids: string[];
13794
- vehicle_ids: string[];
13795
13792
  link_status: LinkStatus[];
13796
13793
  gps_live_track_share_link_ids: string[];
13797
13794
  }, {
13798
13795
  date_format_id: string;
13799
13796
  time_zone_id: string;
13800
13797
  status?: Status[] | undefined;
13798
+ vehicle_ids?: string[] | undefined;
13801
13799
  search?: string | undefined;
13802
13800
  paging?: PAGING | undefined;
13803
13801
  page_count?: unknown;
@@ -13817,7 +13815,6 @@ declare const GPSLiveTrackShareLinkQuerySchema: z.ZodObject<{
13817
13815
  }[] | undefined;
13818
13816
  include_master_data?: YesNo | undefined;
13819
13817
  organisation_ids?: string[] | undefined;
13820
- vehicle_ids?: string[] | undefined;
13821
13818
  link_status?: LinkStatus[] | undefined;
13822
13819
  gps_live_track_share_link_ids?: string[] | undefined;
13823
13820
  }>;
@@ -13876,11 +13873,11 @@ declare const GPSTrackHistoryShareLinkNotificationSchema: z.ZodObject<{
13876
13873
  cc_email_ids: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
13877
13874
  status: z.ZodType<Status, z.ZodTypeDef, Status>;
13878
13875
  }, "strip", z.ZodTypeAny, {
13879
- status: Status;
13880
- organisation_id: string;
13881
13876
  mobile_numbers: string;
13882
13877
  email_ids: string;
13883
13878
  cc_email_ids: string;
13879
+ status: Status;
13880
+ organisation_id: string;
13884
13881
  share_channels: ShareChannel.Email[];
13885
13882
  gps_track_history_share_link_id: string;
13886
13883
  }, {
@@ -13904,16 +13901,16 @@ declare const GPSTrackHistoryShareLinkSchema: z.ZodObject<{
13904
13901
  }, "strip", z.ZodTypeAny, {
13905
13902
  status: Status;
13906
13903
  organisation_id: string;
13907
- time_zone_id: string;
13908
13904
  vehicle_id: string;
13905
+ time_zone_id: string;
13909
13906
  link_status: TrackHistoryLinkStatus;
13910
13907
  from_date_time: string;
13911
13908
  to_date_time: string;
13912
13909
  }, {
13913
13910
  status: Status;
13914
13911
  organisation_id: string;
13915
- time_zone_id: string;
13916
13912
  vehicle_id: string;
13913
+ time_zone_id: string;
13917
13914
  link_status: TrackHistoryLinkStatus;
13918
13915
  from_date_time: string;
13919
13916
  to_date_time: string;
@@ -13964,6 +13961,7 @@ declare const GPSTrackHistoryShareLinkQuerySchema: z.ZodObject<{
13964
13961
  link_status: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof TrackHistoryLinkStatus>, "many">>>;
13965
13962
  }, "strip", z.ZodTypeAny, {
13966
13963
  status: Status[];
13964
+ vehicle_ids: string[];
13967
13965
  search: string;
13968
13966
  paging: PAGING;
13969
13967
  page_count: number;
@@ -13985,13 +13983,13 @@ declare const GPSTrackHistoryShareLinkQuerySchema: z.ZodObject<{
13985
13983
  date_format_id: string;
13986
13984
  time_zone_id: string;
13987
13985
  organisation_ids: string[];
13988
- vehicle_ids: string[];
13989
13986
  link_status: TrackHistoryLinkStatus[];
13990
13987
  gps_track_history_share_link_ids: string[];
13991
13988
  }, {
13992
13989
  date_format_id: string;
13993
13990
  time_zone_id: string;
13994
13991
  status?: Status[] | undefined;
13992
+ vehicle_ids?: string[] | undefined;
13995
13993
  search?: string | undefined;
13996
13994
  paging?: PAGING | undefined;
13997
13995
  page_count?: unknown;
@@ -14011,7 +14009,6 @@ declare const GPSTrackHistoryShareLinkQuerySchema: z.ZodObject<{
14011
14009
  }[] | undefined;
14012
14010
  include_master_data?: YesNo | undefined;
14013
14011
  organisation_ids?: string[] | undefined;
14014
- vehicle_ids?: string[] | undefined;
14015
14012
  link_status?: TrackHistoryLinkStatus[] | undefined;
14016
14013
  gps_track_history_share_link_ids?: string[] | undefined;
14017
14014
  }>;
@@ -15919,7 +15916,7 @@ declare const StudentSchema: z.ZodObject<{
15919
15916
  last_name: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
15920
15917
  mobile_number: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
15921
15918
  email: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
15922
- date_of_birth: z.ZodDefault<z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>>;
15919
+ date_of_birth: z.ZodDefault<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodOptional<z.ZodString>, string | undefined, string | undefined>, string | undefined, string | undefined>, string | undefined, string | undefined>, string | undefined, string | undefined>>;
15923
15920
  gender: z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof Gender>>>;
15924
15921
  blood_group: z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof BloodGroup>>>;
15925
15922
  special_notes: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
@@ -16854,7 +16851,7 @@ declare const StudentStopChangeRequestSchema: z.ZodObject<{
16854
16851
  change_drop: z.ZodType<YesNo, z.ZodTypeDef, YesNo>;
16855
16852
  is_temporary: z.ZodType<YesNo, z.ZodTypeDef, YesNo>;
16856
16853
  apply_from: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
16857
- apply_until: z.ZodDefault<z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>>;
16854
+ apply_until: z.ZodDefault<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodOptional<z.ZodString>, string | undefined, string | undefined>, string | undefined, string | undefined>, string | undefined, string | undefined>, string | undefined, string | undefined>>;
16858
16855
  reason: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
16859
16856
  status: z.ZodType<Status, z.ZodTypeDef, Status>;
16860
16857
  time_zone_id: z.ZodEffects<z.ZodString, string, string>;
@@ -17217,8 +17214,8 @@ declare const MasterFixedScheduleSchema: z.ZodObject<{
17217
17214
  start_minute: z.ZodEffects<z.ZodDefault<z.ZodOptional<z.ZodNumber>>, number, unknown>;
17218
17215
  end_hour: z.ZodEffects<z.ZodDefault<z.ZodOptional<z.ZodNumber>>, number, unknown>;
17219
17216
  end_minute: z.ZodEffects<z.ZodDefault<z.ZodOptional<z.ZodNumber>>, number, unknown>;
17220
- schedule_plan_start_date: z.ZodDefault<z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>>;
17221
- schedule_plan_end_date: z.ZodDefault<z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>>;
17217
+ schedule_plan_start_date: z.ZodDefault<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodOptional<z.ZodString>, string | undefined, string | undefined>, string | undefined, string | undefined>, string | undefined, string | undefined>, string | undefined, string | undefined>>;
17218
+ schedule_plan_end_date: z.ZodDefault<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodOptional<z.ZodString>, string | undefined, string | undefined>, string | undefined, string | undefined>, string | undefined, string | undefined>, string | undefined, string | undefined>>;
17222
17219
  sunday: z.ZodType<YesNo, z.ZodTypeDef, YesNo>;
17223
17220
  monday: z.ZodType<YesNo, z.ZodTypeDef, YesNo>;
17224
17221
  tuesday: z.ZodType<YesNo, z.ZodTypeDef, YesNo>;
@@ -17231,9 +17228,9 @@ declare const MasterFixedScheduleSchema: z.ZodObject<{
17231
17228
  }, "strip", z.ZodTypeAny, {
17232
17229
  status: Status;
17233
17230
  organisation_id: string;
17231
+ vehicle_id: string;
17234
17232
  time_zone_id: string;
17235
17233
  organisation_branch_id: string;
17236
- vehicle_id: string;
17237
17234
  driver_id: string;
17238
17235
  route_id: string;
17239
17236
  schedule_name: string;
@@ -17257,9 +17254,9 @@ declare const MasterFixedScheduleSchema: z.ZodObject<{
17257
17254
  }, {
17258
17255
  status: Status;
17259
17256
  organisation_id: string;
17257
+ vehicle_id: string;
17260
17258
  time_zone_id: string;
17261
17259
  organisation_branch_id: string;
17262
- vehicle_id: string;
17263
17260
  driver_id: string;
17264
17261
  route_id: string;
17265
17262
  schedule_name: string;
@@ -17325,6 +17322,7 @@ declare const MasterFixedScheduleQuerySchema: z.ZodObject<{
17325
17322
  schedule_type: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof BusLeg>, "many">>>;
17326
17323
  }, "strip", z.ZodTypeAny, {
17327
17324
  status: Status[];
17325
+ vehicle_ids: string[];
17328
17326
  search: string;
17329
17327
  paging: PAGING;
17330
17328
  page_count: number;
@@ -17347,7 +17345,6 @@ declare const MasterFixedScheduleQuerySchema: z.ZodObject<{
17347
17345
  time_zone_id: string;
17348
17346
  organisation_ids: string[];
17349
17347
  organisation_branch_ids: string[];
17350
- vehicle_ids: string[];
17351
17348
  driver_ids: string[];
17352
17349
  route_ids: string[];
17353
17350
  schedule_status: Status[];
@@ -17359,6 +17356,7 @@ declare const MasterFixedScheduleQuerySchema: z.ZodObject<{
17359
17356
  date_format_id: string;
17360
17357
  time_zone_id: string;
17361
17358
  status?: Status[] | undefined;
17359
+ vehicle_ids?: string[] | undefined;
17362
17360
  search?: string | undefined;
17363
17361
  paging?: PAGING | undefined;
17364
17362
  page_count?: unknown;
@@ -17379,7 +17377,6 @@ declare const MasterFixedScheduleQuerySchema: z.ZodObject<{
17379
17377
  include_master_data?: YesNo | undefined;
17380
17378
  organisation_ids?: string[] | undefined;
17381
17379
  organisation_branch_ids?: string[] | undefined;
17382
- vehicle_ids?: string[] | undefined;
17383
17380
  driver_ids?: string[] | undefined;
17384
17381
  route_ids?: string[] | undefined;
17385
17382
  schedule_status?: Status[] | undefined;
@@ -18268,6 +18265,7 @@ declare const MasterVehicleFileSchema: z.ZodObject<{
18268
18265
  }, "strip", z.ZodTypeAny, {
18269
18266
  status: Status;
18270
18267
  organisation_id: string;
18268
+ vehicle_id: string;
18271
18269
  usage_type: string;
18272
18270
  file_type: FileType;
18273
18271
  file_url: string;
@@ -18276,13 +18274,12 @@ declare const MasterVehicleFileSchema: z.ZodObject<{
18276
18274
  file_description: string;
18277
18275
  file_size: number;
18278
18276
  file_metadata: Record<string, any>;
18279
- vehicle_id: string;
18280
18277
  }, {
18281
18278
  status: Status;
18282
18279
  organisation_id: string;
18280
+ vehicle_id: string;
18283
18281
  usage_type: string;
18284
18282
  file_type: FileType;
18285
- vehicle_id: string;
18286
18283
  file_url?: string | undefined;
18287
18284
  file_key?: string | undefined;
18288
18285
  file_name?: string | undefined;
@@ -18356,6 +18353,7 @@ declare const VehicleSchema: z.ZodObject<{
18356
18353
  }, z.UnknownKeysParam, z.ZodTypeAny, {
18357
18354
  status: Status;
18358
18355
  organisation_id: string;
18356
+ vehicle_id: string;
18359
18357
  usage_type: string;
18360
18358
  file_type: FileType;
18361
18359
  file_url: string;
@@ -18364,13 +18362,12 @@ declare const VehicleSchema: z.ZodObject<{
18364
18362
  file_description: string;
18365
18363
  file_size: number;
18366
18364
  file_metadata: Record<string, any>;
18367
- vehicle_id: string;
18368
18365
  }, {
18369
18366
  status: Status;
18370
18367
  organisation_id: string;
18368
+ vehicle_id: string;
18371
18369
  usage_type: string;
18372
18370
  file_type: FileType;
18373
- vehicle_id: string;
18374
18371
  file_url?: string | undefined;
18375
18372
  file_key?: string | undefined;
18376
18373
  file_name?: string | undefined;
@@ -18381,11 +18378,11 @@ declare const VehicleSchema: z.ZodObject<{
18381
18378
  }, "strip", z.ZodTypeAny, {
18382
18379
  status: Status;
18383
18380
  organisation_id: string;
18381
+ vehicle_number: string;
18384
18382
  organisation_sub_company_id: string;
18385
18383
  organisation_branch_id: string;
18386
18384
  organisation_color_id: string;
18387
18385
  organisation_tag_id: string;
18388
- vehicle_number: string;
18389
18386
  vehicle_fuel_type_id: string;
18390
18387
  vehicle_fuel_unit_id: string;
18391
18388
  odometer_reading: number;
@@ -18416,6 +18413,7 @@ declare const VehicleSchema: z.ZodObject<{
18416
18413
  MasterVehicleFileSchema: {
18417
18414
  status: Status;
18418
18415
  organisation_id: string;
18416
+ vehicle_id: string;
18419
18417
  usage_type: string;
18420
18418
  file_type: FileType;
18421
18419
  file_url: string;
@@ -18424,16 +18422,15 @@ declare const VehicleSchema: z.ZodObject<{
18424
18422
  file_description: string;
18425
18423
  file_size: number;
18426
18424
  file_metadata: Record<string, any>;
18427
- vehicle_id: string;
18428
18425
  }[];
18429
18426
  }, {
18430
18427
  status: Status;
18431
18428
  organisation_id: string;
18429
+ vehicle_number: string;
18432
18430
  organisation_sub_company_id: string;
18433
18431
  organisation_branch_id: string;
18434
18432
  organisation_color_id: string;
18435
18433
  organisation_tag_id: string;
18436
- vehicle_number: string;
18437
18434
  vehicle_fuel_type_id: string;
18438
18435
  vehicle_fuel_unit_id: string;
18439
18436
  vehicle_sub_model_id: string;
@@ -18464,9 +18461,9 @@ declare const VehicleSchema: z.ZodObject<{
18464
18461
  MasterVehicleFileSchema?: {
18465
18462
  status: Status;
18466
18463
  organisation_id: string;
18464
+ vehicle_id: string;
18467
18465
  usage_type: string;
18468
18466
  file_type: FileType;
18469
- vehicle_id: string;
18470
18467
  file_url?: string | undefined;
18471
18468
  file_key?: string | undefined;
18472
18469
  file_name?: string | undefined;
@@ -18504,9 +18501,9 @@ declare const VehicleBulkSchema: z.ZodObject<{
18504
18501
  }, "strip", z.ZodTypeAny, {
18505
18502
  status: Status;
18506
18503
  organisation_id: string;
18504
+ vehicle_number: string;
18507
18505
  time_zone_id: string;
18508
18506
  country_id: string;
18509
- vehicle_number: string;
18510
18507
  odometer_reading: number;
18511
18508
  vehicle_type_id: string;
18512
18509
  vehicle_name: string;
@@ -18529,9 +18526,9 @@ declare const VehicleBulkSchema: z.ZodObject<{
18529
18526
  }, {
18530
18527
  status: Status;
18531
18528
  organisation_id: string;
18529
+ vehicle_number: string;
18532
18530
  time_zone_id: string;
18533
18531
  country_id: string;
18534
- vehicle_number: string;
18535
18532
  vehicle_type_id: string;
18536
18533
  is_fleet_active: YesNo;
18537
18534
  is_gps_active: YesNo;
@@ -18664,9 +18661,9 @@ declare const VehicleDeviceLinkSchema: z.ZodObject<{
18664
18661
  }>, "many">>>;
18665
18662
  }, "strip", z.ZodTypeAny, {
18666
18663
  organisation_id: string;
18664
+ vehicle_id: string;
18667
18665
  time_zone_id: string;
18668
18666
  country_id: string;
18669
- vehicle_id: string;
18670
18667
  device_id: string;
18671
18668
  fuel: YesNo;
18672
18669
  fuel_tank_type: FuelTankType;
@@ -18709,9 +18706,9 @@ declare const VehicleDeviceLinkSchema: z.ZodObject<{
18709
18706
  }[];
18710
18707
  }, {
18711
18708
  organisation_id: string;
18709
+ vehicle_id: string;
18712
18710
  time_zone_id: string;
18713
18711
  country_id: string;
18714
- vehicle_id: string;
18715
18712
  device_id: string;
18716
18713
  device_manufacturer_id: string;
18717
18714
  device_model_id: string;
@@ -18861,8 +18858,8 @@ declare const VehicleDetailTripSchema: z.ZodObject<{
18861
18858
  trip_no: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
18862
18859
  eway_bill_number: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
18863
18860
  route_name: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
18864
- trip_start_date: z.ZodDefault<z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>>;
18865
- trip_end_date: z.ZodDefault<z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>>;
18861
+ trip_start_date: z.ZodDefault<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodOptional<z.ZodString>, string | undefined, string | undefined>, string | undefined, string | undefined>, string | undefined, string | undefined>, string | undefined, string | undefined>>;
18862
+ trip_end_date: z.ZodDefault<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodOptional<z.ZodString>, string | undefined, string | undefined>, string | undefined, string | undefined>, string | undefined, string | undefined>, string | undefined, string | undefined>>;
18866
18863
  trip_notes_1: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
18867
18864
  trip_notes_2: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
18868
18865
  trip_notes_3: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
@@ -19080,11 +19077,11 @@ declare const VehicleDetailBodySchema: z.ZodObject<{
19080
19077
  }>;
19081
19078
  type VehicleDetailBodyDTO = z.infer<typeof VehicleDetailBodySchema>;
19082
19079
  declare const VehicleDetailLifeCycleSchema: z.ZodObject<{
19083
- service_start_date: z.ZodDefault<z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>>;
19080
+ service_start_date: z.ZodDefault<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodOptional<z.ZodString>, string | undefined, string | undefined>, string | undefined, string | undefined>, string | undefined, string | undefined>, string | undefined, string | undefined>>;
19084
19081
  service_start_odometer_reading: z.ZodEffects<z.ZodDefault<z.ZodOptional<z.ZodNumber>>, number, unknown>;
19085
- service_end_date: z.ZodDefault<z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>>;
19082
+ service_end_date: z.ZodDefault<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodOptional<z.ZodString>, string | undefined, string | undefined>, string | undefined, string | undefined>, string | undefined, string | undefined>, string | undefined, string | undefined>>;
19086
19083
  service_end_odometer_reading: z.ZodEffects<z.ZodDefault<z.ZodOptional<z.ZodNumber>>, number, unknown>;
19087
- life_estimate_max_month_year: z.ZodDefault<z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>>;
19084
+ life_estimate_max_month_year: z.ZodDefault<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodOptional<z.ZodString>, string | undefined, string | undefined>, string | undefined, string | undefined>, string | undefined, string | undefined>, string | undefined, string | undefined>>;
19088
19085
  life_estimate_max_odometer_reading: z.ZodEffects<z.ZodDefault<z.ZodOptional<z.ZodNumber>>, number, unknown>;
19089
19086
  life_expiry: z.ZodType<LifeExpiry, z.ZodTypeDef, LifeExpiry>;
19090
19087
  is_extended_life_approved: z.ZodType<YesNo, z.ZodTypeDef, YesNo>;
@@ -19121,7 +19118,7 @@ declare const VehicleDetailLifeCycleSchema: z.ZodObject<{
19121
19118
  }>;
19122
19119
  type VehicleDetailLifeCycleDto = z.infer<typeof VehicleDetailLifeCycleSchema>;
19123
19120
  declare const VehicleDetailPurchaseSchema: z.ZodObject<{
19124
- purchase_date: z.ZodDefault<z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>>;
19121
+ purchase_date: z.ZodDefault<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodOptional<z.ZodString>, string | undefined, string | undefined>, string | undefined, string | undefined>, string | undefined, string | undefined>, string | undefined, string | undefined>>;
19125
19122
  purchase_notes: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
19126
19123
  purchase_vehicle_type: z.ZodType<PurchaseVehicleType, z.ZodTypeDef, PurchaseVehicleType>;
19127
19124
  purchase_type: z.ZodType<PurchaseType, z.ZodTypeDef, PurchaseType>;
@@ -19131,18 +19128,18 @@ declare const VehicleDetailPurchaseSchema: z.ZodObject<{
19131
19128
  loan_interest_rate: z.ZodOptional<z.ZodEffects<z.ZodDefault<z.ZodNumber>, number, unknown>>;
19132
19129
  loan_interest_type: z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof LoanInterestType>>>;
19133
19130
  loan_no_of_installments: z.ZodEffects<z.ZodDefault<z.ZodOptional<z.ZodNumber>>, number, unknown>;
19134
- loan_first_payment_date: z.ZodDefault<z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>>;
19135
- loan_last_payment_date: z.ZodDefault<z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>>;
19131
+ loan_first_payment_date: z.ZodDefault<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodOptional<z.ZodString>, string | undefined, string | undefined>, string | undefined, string | undefined>, string | undefined, string | undefined>, string | undefined, string | undefined>>;
19132
+ loan_last_payment_date: z.ZodDefault<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodOptional<z.ZodString>, string | undefined, string | undefined>, string | undefined, string | undefined>, string | undefined, string | undefined>, string | undefined, string | undefined>>;
19136
19133
  loan_monthly_emi: z.ZodOptional<z.ZodEffects<z.ZodDefault<z.ZodNumber>, number, unknown>>;
19137
19134
  loan_emi_date: z.ZodEffects<z.ZodDefault<z.ZodOptional<z.ZodNumber>>, number, unknown>;
19138
- lease_start_date: z.ZodDefault<z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>>;
19139
- lease_end_date: z.ZodDefault<z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>>;
19135
+ lease_start_date: z.ZodDefault<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodOptional<z.ZodString>, string | undefined, string | undefined>, string | undefined, string | undefined>, string | undefined, string | undefined>, string | undefined, string | undefined>>;
19136
+ lease_end_date: z.ZodDefault<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodOptional<z.ZodString>, string | undefined, string | undefined>, string | undefined, string | undefined>, string | undefined, string | undefined>, string | undefined, string | undefined>>;
19140
19137
  lease_security_deposit_amount: z.ZodOptional<z.ZodEffects<z.ZodDefault<z.ZodNumber>, number, unknown>>;
19141
19138
  lease_monthly_emi_amount: z.ZodOptional<z.ZodEffects<z.ZodDefault<z.ZodNumber>, number, unknown>>;
19142
19139
  lease_emi_date: z.ZodEffects<z.ZodDefault<z.ZodOptional<z.ZodNumber>>, number, unknown>;
19143
- warranty_expiration_date: z.ZodDefault<z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>>;
19140
+ warranty_expiration_date: z.ZodDefault<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodOptional<z.ZodString>, string | undefined, string | undefined>, string | undefined, string | undefined>, string | undefined, string | undefined>, string | undefined, string | undefined>>;
19144
19141
  warranty_max_odometer_reading: z.ZodEffects<z.ZodDefault<z.ZodOptional<z.ZodNumber>>, number, unknown>;
19145
- warranty_exchange_date: z.ZodDefault<z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>>;
19142
+ warranty_exchange_date: z.ZodDefault<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodOptional<z.ZodString>, string | undefined, string | undefined>, string | undefined, string | undefined>, string | undefined, string | undefined>, string | undefined, string | undefined>>;
19146
19143
  purchase_vendor_id: z.ZodEffects<z.ZodString, string, string>;
19147
19144
  loan_lender_id: z.ZodEffects<z.ZodString, string, string>;
19148
19145
  lease_vendor_id: z.ZodEffects<z.ZodString, string, string>;
@@ -19250,9 +19247,9 @@ declare const VehicleDocumentSchema: z.ZodObject<{
19250
19247
  document_number: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
19251
19248
  document_authorized_name: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
19252
19249
  document_cost: z.ZodOptional<z.ZodEffects<z.ZodDefault<z.ZodNumber>, number, unknown>>;
19253
- document_issue_date: z.ZodDefault<z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>>;
19254
- document_valid_till_date: z.ZodDefault<z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>>;
19255
- document_renewal_date: z.ZodDefault<z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>>;
19250
+ document_issue_date: z.ZodDefault<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodOptional<z.ZodString>, string | undefined, string | undefined>, string | undefined, string | undefined>, string | undefined, string | undefined>, string | undefined, string | undefined>>;
19251
+ document_valid_till_date: z.ZodDefault<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodOptional<z.ZodString>, string | undefined, string | undefined>, string | undefined, string | undefined>, string | undefined, string | undefined>, string | undefined, string | undefined>>;
19252
+ document_renewal_date: z.ZodDefault<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodOptional<z.ZodString>, string | undefined, string | undefined>, string | undefined, string | undefined>, string | undefined, string | undefined>, string | undefined, string | undefined>>;
19256
19253
  document_validity_status: z.ZodType<DocumentValidityStatus, z.ZodTypeDef, DocumentValidityStatus>;
19257
19254
  document_status: z.ZodType<DocumentStatus, z.ZodTypeDef, DocumentStatus>;
19258
19255
  document_details_1: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
@@ -19303,8 +19300,8 @@ declare const VehicleDocumentSchema: z.ZodObject<{
19303
19300
  }, "strip", z.ZodTypeAny, {
19304
19301
  status: Status;
19305
19302
  organisation_id: string;
19306
- time_zone_id: string;
19307
19303
  vehicle_id: string;
19304
+ time_zone_id: string;
19308
19305
  document_type_id: string;
19309
19306
  vendor_id: string;
19310
19307
  document_number: string;
@@ -19336,8 +19333,8 @@ declare const VehicleDocumentSchema: z.ZodObject<{
19336
19333
  }, {
19337
19334
  status: Status;
19338
19335
  organisation_id: string;
19339
- time_zone_id: string;
19340
19336
  vehicle_id: string;
19337
+ time_zone_id: string;
19341
19338
  document_type_id: string;
19342
19339
  vendor_id: string;
19343
19340
  document_validity_status: DocumentValidityStatus;
@@ -19406,6 +19403,7 @@ declare const VehicleDocumentQuerySchema: z.ZodObject<{
19406
19403
  vendor_ids: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
19407
19404
  }, "strip", z.ZodTypeAny, {
19408
19405
  status: Status[];
19406
+ vehicle_ids: string[];
19409
19407
  search: string;
19410
19408
  paging: PAGING;
19411
19409
  page_count: number;
@@ -19427,7 +19425,6 @@ declare const VehicleDocumentQuerySchema: z.ZodObject<{
19427
19425
  date_format_id: string;
19428
19426
  time_zone_id: string;
19429
19427
  organisation_ids: string[];
19430
- vehicle_ids: string[];
19431
19428
  document_type_ids: string[];
19432
19429
  vendor_ids: string[];
19433
19430
  vehicle_document_ids: string[];
@@ -19435,6 +19432,7 @@ declare const VehicleDocumentQuerySchema: z.ZodObject<{
19435
19432
  date_format_id: string;
19436
19433
  time_zone_id: string;
19437
19434
  status?: Status[] | undefined;
19435
+ vehicle_ids?: string[] | undefined;
19438
19436
  search?: string | undefined;
19439
19437
  paging?: PAGING | undefined;
19440
19438
  page_count?: unknown;
@@ -19454,7 +19452,6 @@ declare const VehicleDocumentQuerySchema: z.ZodObject<{
19454
19452
  }[] | undefined;
19455
19453
  include_master_data?: YesNo | undefined;
19456
19454
  organisation_ids?: string[] | undefined;
19457
- vehicle_ids?: string[] | undefined;
19458
19455
  document_type_ids?: string[] | undefined;
19459
19456
  vendor_ids?: string[] | undefined;
19460
19457
  vehicle_document_ids?: string[] | undefined;
@@ -19518,6 +19515,7 @@ declare const VehicleDocumentExpiryQuerySchema: z.ZodObject<{
19518
19515
  expiry_type: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof ExpiryType>, "many">>>;
19519
19516
  }, "strip", z.ZodTypeAny, {
19520
19517
  status: Status[];
19518
+ vehicle_ids: string[];
19521
19519
  search: string;
19522
19520
  paging: PAGING;
19523
19521
  page_count: number;
@@ -19539,7 +19537,6 @@ declare const VehicleDocumentExpiryQuerySchema: z.ZodObject<{
19539
19537
  date_format_id: string;
19540
19538
  time_zone_id: string;
19541
19539
  organisation_ids: string[];
19542
- vehicle_ids: string[];
19543
19540
  expiry_type: ExpiryType[];
19544
19541
  vehicle_document_ids: string[];
19545
19542
  document_expiry_ids: string[];
@@ -19547,6 +19544,7 @@ declare const VehicleDocumentExpiryQuerySchema: z.ZodObject<{
19547
19544
  date_format_id: string;
19548
19545
  time_zone_id: string;
19549
19546
  status?: Status[] | undefined;
19547
+ vehicle_ids?: string[] | undefined;
19550
19548
  search?: string | undefined;
19551
19549
  paging?: PAGING | undefined;
19552
19550
  page_count?: unknown;
@@ -19566,7 +19564,6 @@ declare const VehicleDocumentExpiryQuerySchema: z.ZodObject<{
19566
19564
  }[] | undefined;
19567
19565
  include_master_data?: YesNo | undefined;
19568
19566
  organisation_ids?: string[] | undefined;
19569
- vehicle_ids?: string[] | undefined;
19570
19567
  expiry_type?: ExpiryType[] | undefined;
19571
19568
  vehicle_document_ids?: string[] | undefined;
19572
19569
  document_expiry_ids?: string[] | undefined;
@@ -19625,6 +19622,7 @@ declare const VehicleQuerySchema: z.ZodObject<{
19625
19622
  gps_vehicle_category: z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof GPSVehicleCategory>>>;
19626
19623
  }, "strip", z.ZodTypeAny, {
19627
19624
  status: Status[];
19625
+ vehicle_ids: string[];
19628
19626
  search: string;
19629
19627
  paging: PAGING;
19630
19628
  page_count: number;
@@ -19650,7 +19648,6 @@ declare const VehicleQuerySchema: z.ZodObject<{
19650
19648
  organisation_branch_ids: string[];
19651
19649
  organisation_color_ids: string[];
19652
19650
  organisation_tag_ids: string[];
19653
- vehicle_ids: string[];
19654
19651
  driver_ids: string[];
19655
19652
  device_ids: string[];
19656
19653
  vehicle_fuel_type_ids: string[];
@@ -19669,6 +19666,7 @@ declare const VehicleQuerySchema: z.ZodObject<{
19669
19666
  date_format_id: string;
19670
19667
  time_zone_id: string;
19671
19668
  status?: Status[] | undefined;
19669
+ vehicle_ids?: string[] | undefined;
19672
19670
  search?: string | undefined;
19673
19671
  paging?: PAGING | undefined;
19674
19672
  page_count?: unknown;
@@ -19692,7 +19690,6 @@ declare const VehicleQuerySchema: z.ZodObject<{
19692
19690
  organisation_branch_ids?: string[] | undefined;
19693
19691
  organisation_color_ids?: string[] | undefined;
19694
19692
  organisation_tag_ids?: string[] | undefined;
19695
- vehicle_ids?: string[] | undefined;
19696
19693
  driver_ids?: string[] | undefined;
19697
19694
  device_ids?: string[] | undefined;
19698
19695
  vehicle_fuel_type_ids?: string[] | undefined;
@@ -19825,6 +19822,7 @@ declare const VehicleGPSQuerySchema: z.ZodObject<{
19825
19822
  }, "strip", z.ZodTypeAny, {
19826
19823
  status: Status[];
19827
19824
  organisation_id: string;
19825
+ vehicle_id: string;
19828
19826
  search: string;
19829
19827
  paging: PAGING;
19830
19828
  page_count: number;
@@ -19845,12 +19843,11 @@ declare const VehicleGPSQuerySchema: z.ZodObject<{
19845
19843
  include_master_data: YesNo;
19846
19844
  date_format_id: string;
19847
19845
  time_zone_id: string;
19848
- vehicle_id: string;
19849
19846
  }, {
19850
19847
  organisation_id: string;
19848
+ vehicle_id: string;
19851
19849
  date_format_id: string;
19852
19850
  time_zone_id: string;
19853
- vehicle_id: string;
19854
19851
  status?: Status[] | undefined;
19855
19852
  search?: string | undefined;
19856
19853
  paging?: PAGING | undefined;
@@ -20763,6 +20760,7 @@ declare const MasterDeviceQuerySchema: z.ZodObject<{
20763
20760
  device_gps_source: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof GPSSource>, "many">>>;
20764
20761
  }, "strip", z.ZodTypeAny, {
20765
20762
  status: Status[];
20763
+ vehicle_ids: string[];
20766
20764
  search: string;
20767
20765
  paging: PAGING;
20768
20766
  page_count: number;
@@ -20785,7 +20783,6 @@ declare const MasterDeviceQuerySchema: z.ZodObject<{
20785
20783
  time_zone_id: string;
20786
20784
  organisation_ids: string[];
20787
20785
  country_ids: string[];
20788
- vehicle_ids: string[];
20789
20786
  device_ids: string[];
20790
20787
  time_zone_ids: string[];
20791
20788
  device_gps_source: GPSSource[];
@@ -20798,6 +20795,7 @@ declare const MasterDeviceQuerySchema: z.ZodObject<{
20798
20795
  date_format_id: string;
20799
20796
  time_zone_id: string;
20800
20797
  status?: Status[] | undefined;
20798
+ vehicle_ids?: string[] | undefined;
20801
20799
  search?: string | undefined;
20802
20800
  paging?: PAGING | undefined;
20803
20801
  page_count?: unknown;
@@ -20818,7 +20816,6 @@ declare const MasterDeviceQuerySchema: z.ZodObject<{
20818
20816
  include_master_data?: YesNo | undefined;
20819
20817
  organisation_ids?: string[] | undefined;
20820
20818
  country_ids?: string[] | undefined;
20821
- vehicle_ids?: string[] | undefined;
20822
20819
  device_ids?: string[] | undefined;
20823
20820
  time_zone_ids?: string[] | undefined;
20824
20821
  device_gps_source?: GPSSource[] | undefined;
@@ -23532,9 +23529,12 @@ declare const BookMarkSchema: z.ZodObject<{
23532
23529
  sub_item_url: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
23533
23530
  status: z.ZodType<Status, z.ZodTypeDef, Status>;
23534
23531
  }, "strip", z.ZodTypeAny, {
23532
+ status: Status;
23533
+ organisation_id: string;
23534
+ user_id: string;
23535
+ group_name: string;
23535
23536
  module_name: string;
23536
23537
  menu_type: MenuType;
23537
- group_name: string;
23538
23538
  group_name_language: string;
23539
23539
  group_icon: string;
23540
23540
  group_url: string;
@@ -23542,19 +23542,16 @@ declare const BookMarkSchema: z.ZodObject<{
23542
23542
  sub_item_name_language: string;
23543
23543
  sub_item_icon: string;
23544
23544
  sub_item_url: string;
23545
+ }, {
23545
23546
  status: Status;
23546
23547
  organisation_id: string;
23547
23548
  user_id: string;
23548
- }, {
23549
+ group_name: string;
23549
23550
  module_name: string;
23550
23551
  menu_type: MenuType;
23551
- group_name: string;
23552
23552
  group_name_language: string;
23553
23553
  group_icon: string;
23554
23554
  group_url: string;
23555
- status: Status;
23556
- organisation_id: string;
23557
- user_id: string;
23558
23555
  sub_item_name?: string | undefined;
23559
23556
  sub_item_name_language?: string | undefined;
23560
23557
  sub_item_icon?: string | undefined;
@@ -23597,8 +23594,8 @@ declare const BookMarkQuerySchema: z.ZodObject<{
23597
23594
  bookmark_ids: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
23598
23595
  menu_type: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof MenuType>, "many">>>;
23599
23596
  }, "strip", z.ZodTypeAny, {
23600
- menu_type: MenuType[];
23601
23597
  status: Status[];
23598
+ user_ids: string[];
23602
23599
  search: string;
23603
23600
  paging: PAGING;
23604
23601
  page_count: number;
@@ -23620,13 +23617,13 @@ declare const BookMarkQuerySchema: z.ZodObject<{
23620
23617
  date_format_id: string;
23621
23618
  time_zone_id: string;
23622
23619
  organisation_ids: string[];
23623
- user_ids: string[];
23620
+ menu_type: MenuType[];
23624
23621
  bookmark_ids: string[];
23625
23622
  }, {
23626
23623
  date_format_id: string;
23627
23624
  time_zone_id: string;
23628
- menu_type?: MenuType[] | undefined;
23629
23625
  status?: Status[] | undefined;
23626
+ user_ids?: string[] | undefined;
23630
23627
  search?: string | undefined;
23631
23628
  paging?: PAGING | undefined;
23632
23629
  page_count?: unknown;
@@ -23646,7 +23643,7 @@ declare const BookMarkQuerySchema: z.ZodObject<{
23646
23643
  }[] | undefined;
23647
23644
  include_master_data?: YesNo | undefined;
23648
23645
  organisation_ids?: string[] | undefined;
23649
- user_ids?: string[] | undefined;
23646
+ menu_type?: MenuType[] | undefined;
23650
23647
  bookmark_ids?: string[] | undefined;
23651
23648
  }>;
23652
23649
  type BookMarkQueryDTO = z.infer<typeof BookMarkQuerySchema>;