vms-nest-prisma-api-document 6.0.24 → 6.0.25

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 (79) hide show
  1. package/dist/services/account/bookmark_service.d.ts +9 -9
  2. package/dist/services/account/ticket_service.d.ts +17 -17
  3. package/dist/services/fleet/fuel_management/fleet_fuel_daily_summary_service.d.ts +17 -17
  4. package/dist/services/fleet/fuel_management/fleet_fuel_refill_service.d.ts +50 -50
  5. package/dist/services/fleet/fuel_management/fleet_fuel_removal_service.d.ts +35 -35
  6. package/dist/services/gps/features/geofence/gps_geofence_data_service.d.ts +11 -11
  7. package/dist/services/gps/features/geofence/gps_geofence_transaction_service.d.ts +10 -10
  8. package/dist/services/gps/features/geofence/gps_geofence_transaction_summary_service.d.ts +5 -5
  9. package/dist/services/gps/features/geofence/trip_geofence_to_geofence_service.d.ts +3 -3
  10. package/dist/services/gps/features/gps_live_track_share_link_service.d.ts +1 -1
  11. package/dist/services/gps/features/gps_track_history_share_link_service.d.ts +1 -1
  12. package/dist/services/gps/reports/gps_models/GpsAlert.d.ts +8 -7
  13. package/dist/services/gps/reports/gps_models/GpsPacket.d.ts +22 -12
  14. package/dist/services/gps/reports/gps_models/GpsSensor.d.ts +16 -9
  15. package/dist/services/gps/reports/gps_reports_mongo_service.d.ts +6 -6
  16. package/dist/services/gps/reports/gps_reports_mongo_service.js +10 -10
  17. package/dist/services/main/devices/master_device_service.d.ts +1 -1
  18. package/dist/services/main/drivers/master_driver_service.d.ts +1 -1
  19. package/dist/services/main/sims/master_sim_service.d.ts +1 -1
  20. package/dist/services/main/users/auth_service.d.ts +1 -1
  21. package/dist/services/main/users/user_organisation_service.d.ts +1 -1
  22. package/dist/services/main/users/user_service.d.ts +1 -1
  23. package/dist/services/main/vehicle/childs/vehicle_odometer_history.d.ts +1 -1
  24. package/dist/services/main/vehicle/master_vehicle_service.d.ts +1 -1
  25. package/dist/services/master/device/master_device_manufacturer_service.d.ts +1 -1
  26. package/dist/services/master/device/master_device_model_service.d.ts +1 -1
  27. package/dist/services/master/device/master_device_type_service.d.ts +1 -1
  28. package/dist/services/master/expense/master_expense_name_service.d.ts +1 -1
  29. package/dist/services/master/expense/master_expense_type_service.d.ts +1 -1
  30. package/dist/services/master/expense/master_fuel_company_service.d.ts +1 -1
  31. package/dist/services/master/expense/master_vendor_document_type_service.d.ts +1 -1
  32. package/dist/services/master/expense/master_vendor_type_service.d.ts +1 -1
  33. package/dist/services/master/fleet/master_fleet_incident_severity_service.d.ts +1 -1
  34. package/dist/services/master/fleet/master_fleet_incident_status_service.d.ts +1 -1
  35. package/dist/services/master/fleet/master_fleet_incident_type_service.d.ts +1 -1
  36. package/dist/services/master/fleet/master_fleet_insurance_claim_status_service.d.ts +1 -1
  37. package/dist/services/master/fleet/master_fleet_service_task_service.d.ts +1 -1
  38. package/dist/services/master/main/master_main_country_service.d.ts +1 -1
  39. package/dist/services/master/main/master_main_currency_service.d.ts +1 -1
  40. package/dist/services/master/main/master_main_date_format_service.d.ts +1 -1
  41. package/dist/services/master/main/master_main_eway_bill_provider_service.d.ts +2 -2
  42. package/dist/services/master/main/master_main_fasttag_bank_service.d.ts +2 -2
  43. package/dist/services/master/main/master_main_industry_service.d.ts +1 -1
  44. package/dist/services/master/main/master_main_landmark_service.d.ts +7 -7
  45. package/dist/services/master/main/master_main_language_service.d.ts +1 -1
  46. package/dist/services/master/main/master_main_state_service.d.ts +1 -1
  47. package/dist/services/master/main/master_main_timezone_service.d.ts +1 -1
  48. package/dist/services/master/main/master_main_unit_distance_service.d.ts +1 -1
  49. package/dist/services/master/main/master_main_unit_mileage_service.d.ts +1 -1
  50. package/dist/services/master/main/master_main_unit_volume_service.d.ts +1 -1
  51. package/dist/services/master/organisation/organisation_branch_service.d.ts +1 -1
  52. package/dist/services/master/organisation/organisation_color_service.d.ts +1 -1
  53. package/dist/services/master/organisation/organisation_group_service.d.ts +1 -1
  54. package/dist/services/master/organisation/organisation_sub_company_service.d.ts +1 -1
  55. package/dist/services/master/organisation/organisation_tag_service.d.ts +1 -1
  56. package/dist/services/master/spare_part/master_spare_part_category_service.d.ts +1 -1
  57. package/dist/services/master/spare_part/master_spare_part_sub_category_service.d.ts +1 -1
  58. package/dist/services/master/spare_part/master_spare_part_unit_service.d.ts +1 -1
  59. package/dist/services/master/trip/master_trip_party_type_service.d.ts +1 -1
  60. package/dist/services/master/tyre/master_tyre_grade_service.d.ts +1 -1
  61. package/dist/services/master/tyre/master_tyre_make_service.d.ts +1 -1
  62. package/dist/services/master/tyre/master_tyre_model_service.d.ts +1 -1
  63. package/dist/services/master/user/master_user_role_service.d.ts +1 -1
  64. package/dist/services/master/user/master_user_status_service.d.ts +1 -1
  65. package/dist/services/master/vehicle/master_vehicle_associated_to_service.d.ts +1 -1
  66. package/dist/services/master/vehicle/master_vehicle_document_type_service.d.ts +1 -1
  67. package/dist/services/master/vehicle/master_vehicle_fuel_removal_reason_service.d.ts +3 -3
  68. package/dist/services/master/vehicle/master_vehicle_fuel_type_service.d.ts +1 -1
  69. package/dist/services/master/vehicle/master_vehicle_fuel_unit_service.d.ts +4 -4
  70. package/dist/services/master/vehicle/master_vehicle_make_service.d.ts +1 -1
  71. package/dist/services/master/vehicle/master_vehicle_model_service.d.ts +1 -1
  72. package/dist/services/master/vehicle/master_vehicle_ownership_type_service.d.ts +1 -1
  73. package/dist/services/master/vehicle/master_vehicle_status_type_service.d.ts +1 -1
  74. package/dist/services/master/vehicle/master_vehicle_sub_model_service.d.ts +1 -1
  75. package/dist/services/master/vehicle/master_vehicle_type_service.d.ts +1 -1
  76. package/package.json +1 -1
  77. package/dist/services/account/notification_service.d.ts +0 -232
  78. package/dist/services/account/notification_service.js +0 -529
  79. package/dist/{user_organisation_service-BLMLICYW.d.ts → user_organisation_service-DS5AX39n.d.ts} +3 -3
@@ -1,6 +1,6 @@
1
1
  import '../../../core/Enums.js';
2
2
  import '../../../core/BaseResponse.js';
3
3
  import 'zod';
4
- export { hu as MasterTyreGrade, hw as MasterTyreGradeDTO, hy as MasterTyreGradeQueryDTO, hx as MasterTyreGradeQuerySchema, hv as MasterTyreGradeSchema, hC as createMasterTyreGrade, hE as deleteMasterTyreGrade, hB as findMasterTyreGrades, hF as getMasterTyreGradeCache, hG as getMasterTyreGradeCacheCount, hA as newMasterTyreGradePayload, hz as toMasterTyreGradePayload, hD as updateMasterTyreGrade } from '../../../user_organisation_service-BLMLICYW.js';
4
+ export { hu as MasterTyreGrade, hw as MasterTyreGradeDTO, hy as MasterTyreGradeQueryDTO, hx as MasterTyreGradeQuerySchema, hv as MasterTyreGradeSchema, hC as createMasterTyreGrade, hE as deleteMasterTyreGrade, hB as findMasterTyreGrades, hF as getMasterTyreGradeCache, hG as getMasterTyreGradeCacheCount, hA as newMasterTyreGradePayload, hz as toMasterTyreGradePayload, hD as updateMasterTyreGrade } from '../../../user_organisation_service-DS5AX39n.js';
5
5
  import '../../../zod_utils/zod_base_schema.js';
6
6
  import '../main/master_main_sim_provider_service.js';
@@ -1,6 +1,6 @@
1
1
  import '../../../core/Enums.js';
2
2
  import '../../../core/BaseResponse.js';
3
3
  import 'zod';
4
- export { hU as MasterTyreMake, hW as MasterTyreMakeDTO, hY as MasterTyreMakeQueryDTO, hX as MasterTyreMakeQuerySchema, hV as MasterTyreMakeSchema, i0 as createMasterTyreMake, i2 as deleteMasterTyreMake, h$ as findMasterTyreMakes, i3 as getMasterTyreMakeCache, i5 as getMasterTyreMakeCacheChild, i4 as getMasterTyreMakeCacheCount, h_ as newMasterTyreMakePayload, hZ as toMasterTyreMakePayload, i1 as updateMasterTyreMake } from '../../../user_organisation_service-BLMLICYW.js';
4
+ export { hU as MasterTyreMake, hW as MasterTyreMakeDTO, hY as MasterTyreMakeQueryDTO, hX as MasterTyreMakeQuerySchema, hV as MasterTyreMakeSchema, i0 as createMasterTyreMake, i2 as deleteMasterTyreMake, h$ as findMasterTyreMakes, i3 as getMasterTyreMakeCache, i5 as getMasterTyreMakeCacheChild, i4 as getMasterTyreMakeCacheCount, h_ as newMasterTyreMakePayload, hZ as toMasterTyreMakePayload, i1 as updateMasterTyreMake } from '../../../user_organisation_service-DS5AX39n.js';
5
5
  import '../../../zod_utils/zod_base_schema.js';
6
6
  import '../main/master_main_sim_provider_service.js';
@@ -1,6 +1,6 @@
1
1
  import '../../../core/Enums.js';
2
2
  import '../../../core/BaseResponse.js';
3
3
  import 'zod';
4
- export { hH as MasterTyreModel, hJ as MasterTyreModelDTO, hL as MasterTyreModelQueryDTO, hK as MasterTyreModelQuerySchema, hI as MasterTyreModelSchema, hP as createMasterTyreModel, hR as deleteMasterTyreModel, hO as findMasterTyreModels, hS as getMasterTyreModelCache, hT as getMasterTyreModelCacheCount, hN as newMasterTyreModelPayload, hM as toMasterTyreModelPayload, hQ as updateMasterTyreModel } from '../../../user_organisation_service-BLMLICYW.js';
4
+ export { hH as MasterTyreModel, hJ as MasterTyreModelDTO, hL as MasterTyreModelQueryDTO, hK as MasterTyreModelQuerySchema, hI as MasterTyreModelSchema, hP as createMasterTyreModel, hR as deleteMasterTyreModel, hO as findMasterTyreModels, hS as getMasterTyreModelCache, hT as getMasterTyreModelCacheCount, hN as newMasterTyreModelPayload, hM as toMasterTyreModelPayload, hQ as updateMasterTyreModel } from '../../../user_organisation_service-DS5AX39n.js';
5
5
  import '../../../zod_utils/zod_base_schema.js';
6
6
  import '../main/master_main_sim_provider_service.js';
@@ -1,6 +1,6 @@
1
1
  import '../../../core/Enums.js';
2
2
  import '../../../core/BaseResponse.js';
3
3
  import 'zod';
4
- export { fY as MasterUserRole, f_ as MasterUserRoleDTO, g0 as MasterUserRoleQueryDTO, f$ as MasterUserRoleQuerySchema, fZ as MasterUserRoleSchema, g4 as createMasterUserRole, g6 as deleteMasterUserRole, g3 as findMasterUserRoles, g7 as getMasterUserRoleCache, g8 as getMasterUserRoleCacheCount, g2 as newMasterUserRolePayload, g1 as toMasterUserRolePayload, g5 as updateMasterUserRole } from '../../../user_organisation_service-BLMLICYW.js';
4
+ export { fY as MasterUserRole, f_ as MasterUserRoleDTO, g0 as MasterUserRoleQueryDTO, f$ as MasterUserRoleQuerySchema, fZ as MasterUserRoleSchema, g4 as createMasterUserRole, g6 as deleteMasterUserRole, g3 as findMasterUserRoles, g7 as getMasterUserRoleCache, g8 as getMasterUserRoleCacheCount, g2 as newMasterUserRolePayload, g1 as toMasterUserRolePayload, g5 as updateMasterUserRole } from '../../../user_organisation_service-DS5AX39n.js';
5
5
  import '../../../zod_utils/zod_base_schema.js';
6
6
  import '../main/master_main_sim_provider_service.js';
@@ -1,6 +1,6 @@
1
1
  import '../../../core/Enums.js';
2
2
  import '../../../core/BaseResponse.js';
3
3
  import 'zod';
4
- export { g9 as MasterUserStatus, gb as MasterUserStatusDTO, gd as MasterUserStatusQueryDTO, gc as MasterUserStatusQuerySchema, ga as MasterUserStatusSchema, gh as createMasterUserStatus, gj as deleteMasterUserStatus, gg as findMasterUserStatuses, gk as getMasterUserStatusCache, gl as getMasterUserStatusCacheCount, gf as newMasterUserStatusPayload, ge as toMasterUserStatusPayload, gi as updateMasterUserStatus } from '../../../user_organisation_service-BLMLICYW.js';
4
+ export { g9 as MasterUserStatus, gb as MasterUserStatusDTO, gd as MasterUserStatusQueryDTO, gc as MasterUserStatusQuerySchema, ga as MasterUserStatusSchema, gh as createMasterUserStatus, gj as deleteMasterUserStatus, gg as findMasterUserStatuses, gk as getMasterUserStatusCache, gl as getMasterUserStatusCacheCount, gf as newMasterUserStatusPayload, ge as toMasterUserStatusPayload, gi as updateMasterUserStatus } from '../../../user_organisation_service-DS5AX39n.js';
5
5
  import '../../../zod_utils/zod_base_schema.js';
6
6
  import '../main/master_main_sim_provider_service.js';
@@ -1,7 +1,7 @@
1
1
  import { Status, PAGING, LoadParents, LoadChild, LoadChildCount, OrderBy, YesNo } from '../../../core/Enums.js';
2
2
  import { FBR, SBR } from '../../../core/BaseResponse.js';
3
3
  import { z } from 'zod';
4
- import { U as UserOrganisation, M as MasterVehicle } from '../../../user_organisation_service-BLMLICYW.js';
4
+ import { U as UserOrganisation, M as MasterVehicle } from '../../../user_organisation_service-DS5AX39n.js';
5
5
  import '../../../zod_utils/zod_base_schema.js';
6
6
  import '../main/master_main_sim_provider_service.js';
7
7
 
@@ -1,7 +1,7 @@
1
1
  import { Status, PAGING, LoadParents, LoadChild, LoadChildCount, OrderBy, YesNo } from '../../../core/Enums.js';
2
2
  import { FBR, SBR } from '../../../core/BaseResponse.js';
3
3
  import { z } from 'zod';
4
- import { U as UserOrganisation } from '../../../user_organisation_service-BLMLICYW.js';
4
+ import { U as UserOrganisation } from '../../../user_organisation_service-DS5AX39n.js';
5
5
  import '../../../zod_utils/zod_base_schema.js';
6
6
  import '../main/master_main_sim_provider_service.js';
7
7
 
@@ -1,7 +1,7 @@
1
1
  import { Status, PAGING, LoadParents, LoadChild, LoadChildCount, OrderBy, YesNo } from '../../../core/Enums.js';
2
2
  import { FBR, SBR } from '../../../core/BaseResponse.js';
3
3
  import { z } from 'zod';
4
- import { U as UserOrganisation } from '../../../user_organisation_service-BLMLICYW.js';
4
+ import { U as UserOrganisation } from '../../../user_organisation_service-DS5AX39n.js';
5
5
  import '../../../zod_utils/zod_base_schema.js';
6
6
  import '../main/master_main_sim_provider_service.js';
7
7
 
@@ -70,6 +70,7 @@ declare const MasterVehicleFuelRemovalReasonQuerySchema: z.ZodObject<{
70
70
  fuel_removal_reason_ids: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
71
71
  }, "strip", z.ZodTypeAny, {
72
72
  status: Status[];
73
+ time_zone_id: string;
73
74
  search: string;
74
75
  paging: PAGING;
75
76
  page_count: number;
@@ -89,12 +90,11 @@ declare const MasterVehicleFuelRemovalReasonQuerySchema: z.ZodObject<{
89
90
  }[];
90
91
  include_master_data: YesNo;
91
92
  date_format_id: string;
92
- time_zone_id: string;
93
93
  organisation_ids: string[];
94
94
  fuel_removal_reason_ids: string[];
95
95
  }, {
96
- date_format_id: string;
97
96
  time_zone_id: string;
97
+ date_format_id: string;
98
98
  status?: Status[] | undefined;
99
99
  search?: string | undefined;
100
100
  paging?: PAGING | undefined;
@@ -1,6 +1,6 @@
1
1
  import '../../../core/Enums.js';
2
2
  import '../../../core/BaseResponse.js';
3
3
  import 'zod';
4
- export { d as MasterVehicleFuelType, eL as MasterVehicleFuelTypeDTO, eN as MasterVehicleFuelTypeQueryDTO, eM as MasterVehicleFuelTypeQuerySchema, eK as MasterVehicleFuelTypeSchema, eR as createMasterVehicleFuelType, eT as deleteMasterVehicleFuelType, eQ as findMasterVehicleFuelTypes, eU as getMasterVehicleFuelTypeCache, eW as getMasterVehicleFuelTypeCacheChild, eV as getMasterVehicleFuelTypeCacheCount, eP as newMasterVehicleFuelTypePayload, eO as toMasterVehicleFuelTypePayload, eS as updateMasterVehicleFuelType } from '../../../user_organisation_service-BLMLICYW.js';
4
+ export { d as MasterVehicleFuelType, eL as MasterVehicleFuelTypeDTO, eN as MasterVehicleFuelTypeQueryDTO, eM as MasterVehicleFuelTypeQuerySchema, eK as MasterVehicleFuelTypeSchema, eR as createMasterVehicleFuelType, eT as deleteMasterVehicleFuelType, eQ as findMasterVehicleFuelTypes, eU as getMasterVehicleFuelTypeCache, eW as getMasterVehicleFuelTypeCacheChild, eV as getMasterVehicleFuelTypeCacheCount, eP as newMasterVehicleFuelTypePayload, eO as toMasterVehicleFuelTypePayload, eS as updateMasterVehicleFuelType } from '../../../user_organisation_service-DS5AX39n.js';
5
5
  import '../../../zod_utils/zod_base_schema.js';
6
6
  import '../main/master_main_sim_provider_service.js';
@@ -1,7 +1,7 @@
1
1
  import { Status, PAGING, LoadParents, LoadChild, LoadChildCount, OrderBy, YesNo } from '../../../core/Enums.js';
2
2
  import { FBR, SBR } from '../../../core/BaseResponse.js';
3
3
  import { z } from 'zod';
4
- import { U as UserOrganisation, M as MasterVehicle } from '../../../user_organisation_service-BLMLICYW.js';
4
+ import { U as UserOrganisation, M as MasterVehicle } from '../../../user_organisation_service-DS5AX39n.js';
5
5
  import '../../../zod_utils/zod_base_schema.js';
6
6
  import '../main/master_main_sim_provider_service.js';
7
7
 
@@ -32,8 +32,8 @@ declare const MasterVehicleFuelUnitSchema: z.ZodObject<{
32
32
  }, "strip", z.ZodTypeAny, {
33
33
  status: Status;
34
34
  organisation_id: string;
35
- description: string;
36
35
  fuel_unit: string;
36
+ description: string;
37
37
  }, {
38
38
  status: Status;
39
39
  organisation_id: string;
@@ -76,6 +76,7 @@ declare const MasterVehicleFuelUnitQuerySchema: z.ZodObject<{
76
76
  fuel_unit_ids: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
77
77
  }, "strip", z.ZodTypeAny, {
78
78
  status: Status[];
79
+ time_zone_id: string;
79
80
  search: string;
80
81
  paging: PAGING;
81
82
  page_count: number;
@@ -95,12 +96,11 @@ declare const MasterVehicleFuelUnitQuerySchema: z.ZodObject<{
95
96
  }[];
96
97
  include_master_data: YesNo;
97
98
  date_format_id: string;
98
- time_zone_id: string;
99
99
  organisation_ids: string[];
100
100
  fuel_unit_ids: string[];
101
101
  }, {
102
- date_format_id: string;
103
102
  time_zone_id: string;
103
+ date_format_id: string;
104
104
  status?: Status[] | undefined;
105
105
  search?: string | undefined;
106
106
  paging?: PAGING | undefined;
@@ -1,6 +1,6 @@
1
1
  import '../../../core/Enums.js';
2
2
  import '../../../core/BaseResponse.js';
3
3
  import 'zod';
4
- export { dS as MasterVehicleMake, dU as MasterVehicleMakeDTO, dW as MasterVehicleMakeQueryDTO, dV as MasterVehicleMakeQuerySchema, dT as MasterVehicleMakeSchema, d_ as createMasterVehicleMake, e0 as deleteMasterVehicleMake, dZ as findMasterVehicleMakes, e1 as getMasterVehicleMakeCache, e3 as getMasterVehicleMakeCacheChild, e2 as getMasterVehicleMakeCacheCount, dY as newMasterVehicleMakePayload, dX as toMasterVehicleMakePayload, d$ as updateMasterVehicleMake } from '../../../user_organisation_service-BLMLICYW.js';
4
+ export { dS as MasterVehicleMake, dU as MasterVehicleMakeDTO, dW as MasterVehicleMakeQueryDTO, dV as MasterVehicleMakeQuerySchema, dT as MasterVehicleMakeSchema, d_ as createMasterVehicleMake, e0 as deleteMasterVehicleMake, dZ as findMasterVehicleMakes, e1 as getMasterVehicleMakeCache, e3 as getMasterVehicleMakeCacheChild, e2 as getMasterVehicleMakeCacheCount, dY as newMasterVehicleMakePayload, dX as toMasterVehicleMakePayload, d$ as updateMasterVehicleMake } from '../../../user_organisation_service-DS5AX39n.js';
5
5
  import '../../../zod_utils/zod_base_schema.js';
6
6
  import '../main/master_main_sim_provider_service.js';
@@ -1,6 +1,6 @@
1
1
  import '../../../core/Enums.js';
2
2
  import '../../../core/BaseResponse.js';
3
3
  import 'zod';
4
- export { dE as MasterVehicleModel, dG as MasterVehicleModelDTO, dI as MasterVehicleModelQueryDTO, dH as MasterVehicleModelQuerySchema, dF as MasterVehicleModelSchema, dM as createMasterVehicleModel, dO as deleteMasterVehicleModel, dL as findMasterVehicleModels, dP as getMasterVehicleModelCache, dR as getMasterVehicleModelCacheChild, dQ as getMasterVehicleModelCacheCount, dK as newMasterVehicleModelPayload, dJ as toMasterVehicleModelPayload, dN as updateMasterVehicleModel } from '../../../user_organisation_service-BLMLICYW.js';
4
+ export { dE as MasterVehicleModel, dG as MasterVehicleModelDTO, dI as MasterVehicleModelQueryDTO, dH as MasterVehicleModelQuerySchema, dF as MasterVehicleModelSchema, dM as createMasterVehicleModel, dO as deleteMasterVehicleModel, dL as findMasterVehicleModels, dP as getMasterVehicleModelCache, dR as getMasterVehicleModelCacheChild, dQ as getMasterVehicleModelCacheCount, dK as newMasterVehicleModelPayload, dJ as toMasterVehicleModelPayload, dN as updateMasterVehicleModel } from '../../../user_organisation_service-DS5AX39n.js';
5
5
  import '../../../zod_utils/zod_base_schema.js';
6
6
  import '../main/master_main_sim_provider_service.js';
@@ -1,6 +1,6 @@
1
1
  import '../../../core/Enums.js';
2
2
  import '../../../core/BaseResponse.js';
3
3
  import 'zod';
4
- export { ei as MasterVehicleOwnershipType, ek as MasterVehicleOwnershipTypeDTO, em as MasterVehicleOwnershipTypeQueryDTO, el as MasterVehicleOwnershipTypeQuerySchema, ej as MasterVehicleOwnershipTypeSchema, eq as createMasterVehicleOwnershipType, es as deleteMasterVehicleOwnershipType, ep as findMasterVehicleOwnershipTypes, et as getMasterVehicleOwnershipTypeCache, ev as getMasterVehicleOwnershipTypeCacheChild, eu as getMasterVehicleOwnershipTypeCacheCount, eo as newMasterVehicleOwnershipTypePayload, en as toMasterVehicleOwnershipTypePayload, er as updateMasterVehicleOwnershipType } from '../../../user_organisation_service-BLMLICYW.js';
4
+ export { ei as MasterVehicleOwnershipType, ek as MasterVehicleOwnershipTypeDTO, em as MasterVehicleOwnershipTypeQueryDTO, el as MasterVehicleOwnershipTypeQuerySchema, ej as MasterVehicleOwnershipTypeSchema, eq as createMasterVehicleOwnershipType, es as deleteMasterVehicleOwnershipType, ep as findMasterVehicleOwnershipTypes, et as getMasterVehicleOwnershipTypeCache, ev as getMasterVehicleOwnershipTypeCacheChild, eu as getMasterVehicleOwnershipTypeCacheCount, eo as newMasterVehicleOwnershipTypePayload, en as toMasterVehicleOwnershipTypePayload, er as updateMasterVehicleOwnershipType } from '../../../user_organisation_service-DS5AX39n.js';
5
5
  import '../../../zod_utils/zod_base_schema.js';
6
6
  import '../main/master_main_sim_provider_service.js';
@@ -1,6 +1,6 @@
1
1
  import '../../../core/Enums.js';
2
2
  import '../../../core/BaseResponse.js';
3
3
  import 'zod';
4
- export { e4 as MasterVehicleStatusType, e6 as MasterVehicleStatusTypeDTO, e8 as MasterVehicleStatusTypeQueryDTO, e7 as MasterVehicleStatusTypeQuerySchema, e5 as MasterVehicleStatusTypeSchema, ec as createMasterVehicleStatusType, ee as deleteMasterVehicleStatusType, eb as findMasterVehicleStatusTypes, ef as getMasterVehicleStatusTypeCache, eh as getMasterVehicleStatusTypeCacheChild, eg as getMasterVehicleStatusTypeCacheCount, ea as newMasterVehicleStatusTypePayload, e9 as toMasterVehicleStatusTypePayload, ed as updateMasterVehicleStatusType } from '../../../user_organisation_service-BLMLICYW.js';
4
+ export { e4 as MasterVehicleStatusType, e6 as MasterVehicleStatusTypeDTO, e8 as MasterVehicleStatusTypeQueryDTO, e7 as MasterVehicleStatusTypeQuerySchema, e5 as MasterVehicleStatusTypeSchema, ec as createMasterVehicleStatusType, ee as deleteMasterVehicleStatusType, eb as findMasterVehicleStatusTypes, ef as getMasterVehicleStatusTypeCache, eh as getMasterVehicleStatusTypeCacheChild, eg as getMasterVehicleStatusTypeCacheCount, ea as newMasterVehicleStatusTypePayload, e9 as toMasterVehicleStatusTypePayload, ed as updateMasterVehicleStatusType } from '../../../user_organisation_service-DS5AX39n.js';
5
5
  import '../../../zod_utils/zod_base_schema.js';
6
6
  import '../main/master_main_sim_provider_service.js';
@@ -1,6 +1,6 @@
1
1
  import '../../../core/Enums.js';
2
2
  import '../../../core/BaseResponse.js';
3
3
  import 'zod';
4
- export { dq as MasterVehicleSubModel, ds as MasterVehicleSubModelDTO, du as MasterVehicleSubModelQueryDTO, dt as MasterVehicleSubModelQuerySchema, dr as MasterVehicleSubModelSchema, dy as createMasterVehicleSubModel, dA as deleteMasterVehicleSubModel, dx as findMasterVehicleSubModels, dB as getMasterVehicleSubModelCache, dD as getMasterVehicleSubModelCacheChild, dC as getMasterVehicleSubModelCacheCount, dw as newMasterVehicleSubModelPayload, dv as toMasterVehicleSubModelPayload, dz as updateMasterVehicleSubModel } from '../../../user_organisation_service-BLMLICYW.js';
4
+ export { dq as MasterVehicleSubModel, ds as MasterVehicleSubModelDTO, du as MasterVehicleSubModelQueryDTO, dt as MasterVehicleSubModelQuerySchema, dr as MasterVehicleSubModelSchema, dy as createMasterVehicleSubModel, dA as deleteMasterVehicleSubModel, dx as findMasterVehicleSubModels, dB as getMasterVehicleSubModelCache, dD as getMasterVehicleSubModelCacheChild, dC as getMasterVehicleSubModelCacheCount, dw as newMasterVehicleSubModelPayload, dv as toMasterVehicleSubModelPayload, dz as updateMasterVehicleSubModel } from '../../../user_organisation_service-DS5AX39n.js';
5
5
  import '../../../zod_utils/zod_base_schema.js';
6
6
  import '../main/master_main_sim_provider_service.js';
@@ -1,6 +1,6 @@
1
1
  import '../../../core/Enums.js';
2
2
  import '../../../core/BaseResponse.js';
3
3
  import 'zod';
4
- export { ew as MasterVehicleType, ey as MasterVehicleTypeDTO, eA as MasterVehicleTypeQueryDTO, ez as MasterVehicleTypeQuerySchema, ex as MasterVehicleTypeSchema, eE as createMasterVehicleType, eG as deleteMasterVehicleType, eD as findMasterVehicleTypes, eH as getMasterVehicleTypeCache, eJ as getMasterVehicleTypeCacheChild, eI as getMasterVehicleTypeCacheCount, eC as newMasterVehicleTypePayload, eB as toMasterVehicleTypePayload, eF as updateMasterVehicleType } from '../../../user_organisation_service-BLMLICYW.js';
4
+ export { ew as MasterVehicleType, ey as MasterVehicleTypeDTO, eA as MasterVehicleTypeQueryDTO, ez as MasterVehicleTypeQuerySchema, ex as MasterVehicleTypeSchema, eE as createMasterVehicleType, eG as deleteMasterVehicleType, eD as findMasterVehicleTypes, eH as getMasterVehicleTypeCache, eJ as getMasterVehicleTypeCacheChild, eI as getMasterVehicleTypeCacheCount, eC as newMasterVehicleTypePayload, eB as toMasterVehicleTypePayload, eF as updateMasterVehicleType } from '../../../user_organisation_service-DS5AX39n.js';
5
5
  import '../../../zod_utils/zod_base_schema.js';
6
6
  import '../main/master_main_sim_provider_service.js';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vms-nest-prisma-api-document",
3
- "version": "6.0.24",
3
+ "version": "6.0.25",
4
4
  "description": "Reusable API SDK built with NestJS, Prisma, Axios, and Zod for VMS frontends.",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -1,232 +0,0 @@
1
- import { Module, AlertType, AlertSubType, Status, PAGING, LoadParents, LoadChild, LoadChildCount, OrderBy, YesNo } from '../../core/Enums.js';
2
- import { FBR, SBR } from '../../core/BaseResponse.js';
3
- import { z } from 'zod';
4
- import { U as UserOrganisation, a as User, M as MasterVehicle, b as MasterDriver } from '../../user_organisation_service-BLMLICYW.js';
5
- import { GPSGeofenceData } from '../gps/features/geofence/gps_geofence_data_service.js';
6
- import { MasterMainLandmark } from '../master/main/master_main_landmark_service.js';
7
- import '../../zod_utils/zod_base_schema.js';
8
- import '../master/main/master_main_sim_provider_service.js';
9
-
10
- interface Notification extends Record<string, unknown> {
11
- notification_id: string;
12
- module: Module;
13
- alert_type: AlertType;
14
- alert_sub_type: AlertSubType;
15
- date_time: string;
16
- date_time_f?: string;
17
- notification_message: string;
18
- notification_html_message: string;
19
- notification_key_1?: string;
20
- notification_key_2?: string;
21
- notification_key_3?: string;
22
- notification_key_4?: string;
23
- notification_key_5?: string;
24
- notification_key_6?: string;
25
- latitude?: number;
26
- longitude?: number;
27
- google_location?: string;
28
- landmark_id?: string;
29
- MasterMainLandmark?: MasterMainLandmark;
30
- landmark_location?: string;
31
- landmark_distance?: number;
32
- status: Status;
33
- added_date_time: string;
34
- modified_date_time: string;
35
- organisation_id: string;
36
- UserOrganisation: UserOrganisation;
37
- user_id?: string;
38
- User?: User | null;
39
- user_details?: string;
40
- vehicle_id?: string;
41
- MasterVehicle?: MasterVehicle | null;
42
- vehicle_number?: string;
43
- vehicle_type?: string;
44
- driver_id?: string;
45
- MasterDriver?: MasterDriver | null;
46
- driver_details?: string;
47
- gps_geofence_id?: string;
48
- GPSGeofenceData?: GPSGeofenceData | null;
49
- }
50
- declare const NotificationSchema: z.ZodObject<{
51
- organisation_id: z.ZodEffects<z.ZodString, string, string>;
52
- user_id: z.ZodEffects<z.ZodString, string, string>;
53
- vehicle_id: z.ZodEffects<z.ZodString, string, string>;
54
- driver_id: z.ZodEffects<z.ZodString, string, string>;
55
- gps_geofence_id: z.ZodEffects<z.ZodString, string, string>;
56
- date_time: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
57
- notification_message: z.ZodEffects<z.ZodString, string, string>;
58
- notification_html_message: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
59
- latitude: z.ZodOptional<z.ZodEffects<z.ZodDefault<z.ZodNumber>, number, unknown>>;
60
- longitude: z.ZodOptional<z.ZodEffects<z.ZodDefault<z.ZodNumber>, number, unknown>>;
61
- google_location: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
62
- notification_key_1: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
63
- notification_key_2: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
64
- notification_key_3: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
65
- notification_key_4: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
66
- notification_key_5: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
67
- notification_key_6: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
68
- module: z.ZodType<Module, z.ZodTypeDef, Module>;
69
- alert_type: z.ZodType<AlertType, z.ZodTypeDef, AlertType>;
70
- alert_sub_type: z.ZodType<AlertSubType, z.ZodTypeDef, AlertSubType>;
71
- status: z.ZodType<Status, z.ZodTypeDef, Status>;
72
- time_zone_id: z.ZodEffects<z.ZodString, string, string>;
73
- }, "strip", z.ZodTypeAny, {
74
- status: Status;
75
- organisation_id: string;
76
- user_id: string;
77
- time_zone_id: string;
78
- driver_id: string;
79
- vehicle_id: string;
80
- gps_geofence_id: string;
81
- google_location: string;
82
- module: Module;
83
- alert_type: AlertType;
84
- alert_sub_type: AlertSubType;
85
- date_time: string;
86
- notification_message: string;
87
- notification_html_message: string;
88
- notification_key_1: string;
89
- notification_key_2: string;
90
- notification_key_3: string;
91
- notification_key_4: string;
92
- notification_key_5: string;
93
- notification_key_6: string;
94
- latitude?: number | undefined;
95
- longitude?: number | undefined;
96
- }, {
97
- status: Status;
98
- organisation_id: string;
99
- user_id: string;
100
- time_zone_id: string;
101
- driver_id: string;
102
- vehicle_id: string;
103
- gps_geofence_id: string;
104
- module: Module;
105
- alert_type: AlertType;
106
- alert_sub_type: AlertSubType;
107
- date_time: string;
108
- notification_message: string;
109
- latitude?: unknown;
110
- longitude?: unknown;
111
- google_location?: string | undefined;
112
- notification_html_message?: string | undefined;
113
- notification_key_1?: string | undefined;
114
- notification_key_2?: string | undefined;
115
- notification_key_3?: string | undefined;
116
- notification_key_4?: string | undefined;
117
- notification_key_5?: string | undefined;
118
- notification_key_6?: string | undefined;
119
- }>;
120
- type NotificationDTO = z.infer<typeof NotificationSchema>;
121
- declare const NotificationQuerySchema: z.ZodObject<{
122
- search: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
123
- status: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof Status>, "many">>>;
124
- paging: z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof PAGING>>>;
125
- page_count: z.ZodEffects<z.ZodDefault<z.ZodOptional<z.ZodNumber>>, number, unknown>;
126
- page_index: z.ZodEffects<z.ZodDefault<z.ZodOptional<z.ZodNumber>>, number, unknown>;
127
- load_parents: z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof LoadParents>>>;
128
- load_parents_list: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
129
- load_child: z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof LoadChild>>>;
130
- load_child_list: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
131
- load_child_count: z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof LoadChildCount>>>;
132
- load_child_count_list: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
133
- include_details: z.ZodDefault<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
134
- where_relations: z.ZodDefault<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
135
- order_by: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
136
- name: z.ZodEffects<z.ZodString, string, string>;
137
- field: z.ZodEffects<z.ZodString, string, string>;
138
- direction: z.ZodType<OrderBy, z.ZodTypeDef, OrderBy>;
139
- }, "strip", z.ZodTypeAny, {
140
- name: string;
141
- field: string;
142
- direction: OrderBy;
143
- }, {
144
- name: string;
145
- field: string;
146
- direction: OrderBy;
147
- }>, "many">>>;
148
- include_master_data: z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof YesNo>>>;
149
- date_format_id: z.ZodEffects<z.ZodString, string, string>;
150
- time_zone_id: z.ZodEffects<z.ZodString, string, string>;
151
- } & {
152
- notification_ids: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
153
- organisation_ids: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
154
- user_ids: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
155
- vehicle_ids: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
156
- driver_ids: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
157
- gps_geofence_ids: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
158
- module: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof Module>, "many">>>;
159
- alert_type: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof AlertType>, "many">>>;
160
- alert_sub_type: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof AlertSubType>, "many">>>;
161
- }, "strip", z.ZodTypeAny, {
162
- status: Status[];
163
- search: string;
164
- paging: PAGING;
165
- page_count: number;
166
- page_index: number;
167
- load_parents: LoadParents;
168
- load_parents_list: string[];
169
- load_child: LoadChild;
170
- load_child_list: string[];
171
- load_child_count: LoadChildCount;
172
- load_child_count_list: string[];
173
- include_details: Record<string, any>;
174
- where_relations: Record<string, any>;
175
- order_by: {
176
- name: string;
177
- field: string;
178
- direction: OrderBy;
179
- }[];
180
- include_master_data: YesNo;
181
- date_format_id: string;
182
- time_zone_id: string;
183
- organisation_ids: string[];
184
- user_ids: string[];
185
- vehicle_ids: string[];
186
- driver_ids: string[];
187
- module: Module[];
188
- alert_type: AlertType[];
189
- alert_sub_type: AlertSubType[];
190
- notification_ids: string[];
191
- gps_geofence_ids: string[];
192
- }, {
193
- date_format_id: string;
194
- time_zone_id: string;
195
- status?: Status[] | undefined;
196
- search?: string | undefined;
197
- paging?: PAGING | undefined;
198
- page_count?: unknown;
199
- page_index?: unknown;
200
- load_parents?: LoadParents | undefined;
201
- load_parents_list?: string[] | undefined;
202
- load_child?: LoadChild | undefined;
203
- load_child_list?: string[] | undefined;
204
- load_child_count?: LoadChildCount | undefined;
205
- load_child_count_list?: string[] | undefined;
206
- include_details?: Record<string, any> | undefined;
207
- where_relations?: Record<string, any> | undefined;
208
- order_by?: {
209
- name: string;
210
- field: string;
211
- direction: OrderBy;
212
- }[] | undefined;
213
- include_master_data?: YesNo | undefined;
214
- organisation_ids?: string[] | undefined;
215
- user_ids?: string[] | undefined;
216
- vehicle_ids?: string[] | undefined;
217
- driver_ids?: string[] | undefined;
218
- module?: Module[] | undefined;
219
- alert_type?: AlertType[] | undefined;
220
- alert_sub_type?: AlertSubType[] | undefined;
221
- notification_ids?: string[] | undefined;
222
- gps_geofence_ids?: string[] | undefined;
223
- }>;
224
- type NotificationQueryDTO = z.infer<typeof NotificationQuerySchema>;
225
- declare const toNotificationPayload: (row: Notification) => NotificationDTO;
226
- declare const newNotificationPayload: () => NotificationDTO;
227
- declare const findNotifications: (data: NotificationQueryDTO) => Promise<FBR<Notification[]>>;
228
- declare const createNotification: (data: NotificationDTO) => Promise<SBR>;
229
- declare const updateNotification: (id: string, data: NotificationDTO) => Promise<SBR>;
230
- declare const deleteNotification: (id: string) => Promise<SBR>;
231
-
232
- export { type Notification, type NotificationDTO, type NotificationQueryDTO, NotificationQuerySchema, NotificationSchema, createNotification, deleteNotification, findNotifications, newNotificationPayload, toNotificationPayload, updateNotification };