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

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 (75) hide show
  1. package/dist/services/account/analytics/user_login_analytics_service.d.ts +3 -3
  2. package/dist/services/account/analytics/user_page_analytics_service.d.ts +1 -1
  3. package/dist/services/account/bookmark_service.d.ts +9 -9
  4. package/dist/services/account/notification_service.d.ts +1 -1
  5. package/dist/services/account/ticket_service.d.ts +17 -17
  6. package/dist/services/fleet/fuel_management/fleet_fuel_daily_summary_service.d.ts +1 -1
  7. package/dist/services/fleet/fuel_management/fleet_fuel_refill_service.d.ts +1 -1
  8. package/dist/services/fleet/fuel_management/fleet_fuel_removal_service.d.ts +1 -1
  9. package/dist/services/gps/features/geofence/gps_geofence_data_service.d.ts +1 -1
  10. package/dist/services/gps/features/geofence/gps_geofence_transaction_service.d.ts +1 -1
  11. package/dist/services/gps/features/geofence/gps_geofence_transaction_summary_service.d.ts +1 -1
  12. package/dist/services/gps/features/geofence/trip_geofence_to_geofence_service.d.ts +1 -1
  13. package/dist/services/gps/features/gps_live_track_share_link_service.d.ts +17 -17
  14. package/dist/services/gps/features/gps_track_history_share_link_service.d.ts +10 -10
  15. package/dist/services/gps/reports/gps_models/GpsAlert.d.ts +2 -1
  16. package/dist/services/gps/reports/gps_reports_mongo_service.d.ts +49 -49
  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_industry_service.d.ts +1 -1
  42. package/dist/services/master/main/master_main_landmark_service.d.ts +1 -1
  43. package/dist/services/master/main/master_main_language_service.d.ts +1 -1
  44. package/dist/services/master/main/master_main_state_service.d.ts +1 -1
  45. package/dist/services/master/main/master_main_timezone_service.d.ts +1 -1
  46. package/dist/services/master/main/master_main_unit_distance_service.d.ts +1 -1
  47. package/dist/services/master/main/master_main_unit_mileage_service.d.ts +1 -1
  48. package/dist/services/master/main/master_main_unit_volume_service.d.ts +1 -1
  49. package/dist/services/master/organisation/organisation_branch_service.d.ts +1 -1
  50. package/dist/services/master/organisation/organisation_color_service.d.ts +1 -1
  51. package/dist/services/master/organisation/organisation_group_service.d.ts +1 -1
  52. package/dist/services/master/organisation/organisation_sub_company_service.d.ts +1 -1
  53. package/dist/services/master/organisation/organisation_tag_service.d.ts +1 -1
  54. package/dist/services/master/spare_part/master_spare_part_category_service.d.ts +1 -1
  55. package/dist/services/master/spare_part/master_spare_part_sub_category_service.d.ts +1 -1
  56. package/dist/services/master/spare_part/master_spare_part_unit_service.d.ts +1 -1
  57. package/dist/services/master/trip/master_trip_party_type_service.d.ts +1 -1
  58. package/dist/services/master/tyre/master_tyre_grade_service.d.ts +1 -1
  59. package/dist/services/master/tyre/master_tyre_make_service.d.ts +1 -1
  60. package/dist/services/master/tyre/master_tyre_model_service.d.ts +1 -1
  61. package/dist/services/master/user/master_user_role_service.d.ts +1 -1
  62. package/dist/services/master/user/master_user_status_service.d.ts +1 -1
  63. package/dist/services/master/vehicle/master_vehicle_associated_to_service.d.ts +1 -1
  64. package/dist/services/master/vehicle/master_vehicle_document_type_service.d.ts +1 -1
  65. package/dist/services/master/vehicle/master_vehicle_fuel_removal_reason_service.d.ts +1 -1
  66. package/dist/services/master/vehicle/master_vehicle_fuel_type_service.d.ts +1 -1
  67. package/dist/services/master/vehicle/master_vehicle_fuel_unit_service.d.ts +1 -1
  68. package/dist/services/master/vehicle/master_vehicle_make_service.d.ts +1 -1
  69. package/dist/services/master/vehicle/master_vehicle_model_service.d.ts +1 -1
  70. package/dist/services/master/vehicle/master_vehicle_ownership_type_service.d.ts +1 -1
  71. package/dist/services/master/vehicle/master_vehicle_status_type_service.d.ts +1 -1
  72. package/dist/services/master/vehicle/master_vehicle_sub_model_service.d.ts +1 -1
  73. package/dist/services/master/vehicle/master_vehicle_type_service.d.ts +1 -1
  74. package/package.json +1 -1
  75. package/dist/{user_organisation_service-DS5AX39n.d.ts → user_organisation_service-BLMLICYW.d.ts} +3 -3
@@ -22,15 +22,15 @@ declare const UserLoginAnalyticsSchema: z.ZodObject<{
22
22
  }, "strip", z.ZodTypeAny, {
23
23
  user_id: string;
24
24
  organisation_id: string;
25
- country_id: string;
26
25
  login_from: LoginFrom;
26
+ country_id: string;
27
27
  os_details: Record<string, any>;
28
28
  ip_details: Record<string, any>;
29
29
  }, {
30
30
  user_id: string;
31
31
  organisation_id: string;
32
- country_id: string;
33
32
  login_from: LoginFrom;
33
+ country_id: string;
34
34
  os_details?: Record<string, any> | undefined;
35
35
  ip_details?: Record<string, any> | undefined;
36
36
  }>;
@@ -48,11 +48,11 @@ declare const UserLoginAnalyticsQuerySchema: z.ZodObject<{
48
48
  organisation_ids: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
49
49
  country_ids: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
50
50
  }, "strip", z.ZodTypeAny, {
51
- login_from: LoginFrom;
52
51
  search: string;
53
52
  paging: PAGING;
54
53
  page_count: number;
55
54
  page_index: number;
55
+ login_from: LoginFrom;
56
56
  date_format_id: string;
57
57
  time_zone_id: string;
58
58
  user_ids: string[];
@@ -43,11 +43,11 @@ declare const UserPageAnalyticsQuerySchema: z.ZodObject<{
43
43
  user_ids: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
44
44
  organisation_ids: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
45
45
  }, "strip", z.ZodTypeAny, {
46
- login_from: LoginFrom;
47
46
  search: string;
48
47
  paging: PAGING;
49
48
  page_count: number;
50
49
  page_index: number;
50
+ login_from: LoginFrom;
51
51
  date_format_id: string;
52
52
  time_zone_id: string;
53
53
  user_ids: string[];
@@ -1,7 +1,7 @@
1
1
  import { MenuType, 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, a as User } from '../../user_organisation_service-DS5AX39n.js';
4
+ import { U as UserOrganisation, a as User } from '../../user_organisation_service-BLMLICYW.js';
5
5
  import '../../zod_utils/zod_base_schema.js';
6
6
  import '../master/main/master_main_sim_provider_service.js';
7
7
 
@@ -40,12 +40,9 @@ declare const BookMarkSchema: z.ZodObject<{
40
40
  sub_item_url: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
41
41
  status: z.ZodType<Status, z.ZodTypeDef, Status>;
42
42
  }, "strip", z.ZodTypeAny, {
43
- status: Status;
44
- organisation_id: string;
45
- user_id: string;
46
- group_name: string;
47
43
  module_name: string;
48
44
  menu_type: MenuType;
45
+ group_name: string;
49
46
  group_name_language: string;
50
47
  group_icon: string;
51
48
  group_url: string;
@@ -53,16 +50,19 @@ declare const BookMarkSchema: z.ZodObject<{
53
50
  sub_item_name_language: string;
54
51
  sub_item_icon: string;
55
52
  sub_item_url: string;
56
- }, {
57
53
  status: Status;
58
54
  organisation_id: string;
59
55
  user_id: string;
60
- group_name: string;
56
+ }, {
61
57
  module_name: string;
62
58
  menu_type: MenuType;
59
+ group_name: string;
63
60
  group_name_language: string;
64
61
  group_icon: string;
65
62
  group_url: string;
63
+ status: Status;
64
+ organisation_id: string;
65
+ user_id: string;
66
66
  sub_item_name?: string | undefined;
67
67
  sub_item_name_language?: string | undefined;
68
68
  sub_item_icon?: string | undefined;
@@ -105,6 +105,7 @@ declare const BookMarkQuerySchema: z.ZodObject<{
105
105
  bookmark_ids: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
106
106
  menu_type: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof MenuType>, "many">>>;
107
107
  }, "strip", z.ZodTypeAny, {
108
+ menu_type: MenuType[];
108
109
  status: Status[];
109
110
  search: string;
110
111
  paging: PAGING;
@@ -128,11 +129,11 @@ declare const BookMarkQuerySchema: z.ZodObject<{
128
129
  time_zone_id: string;
129
130
  organisation_ids: string[];
130
131
  user_ids: string[];
131
- menu_type: MenuType[];
132
132
  bookmark_ids: string[];
133
133
  }, {
134
134
  date_format_id: string;
135
135
  time_zone_id: string;
136
+ menu_type?: MenuType[] | undefined;
136
137
  status?: Status[] | undefined;
137
138
  search?: string | undefined;
138
139
  paging?: PAGING | undefined;
@@ -154,7 +155,6 @@ declare const BookMarkQuerySchema: z.ZodObject<{
154
155
  include_master_data?: YesNo | undefined;
155
156
  organisation_ids?: string[] | undefined;
156
157
  user_ids?: string[] | undefined;
157
- menu_type?: MenuType[] | undefined;
158
158
  bookmark_ids?: string[] | undefined;
159
159
  }>;
160
160
  type BookMarkQueryDTO = z.infer<typeof BookMarkQuerySchema>;
@@ -1,7 +1,7 @@
1
1
  import { Module, AlertType, AlertSubType, 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, a as User, M as MasterVehicle, b as MasterDriver } from '../../user_organisation_service-DS5AX39n.js';
4
+ import { U as UserOrganisation, a as User, M as MasterVehicle, b as MasterDriver } from '../../user_organisation_service-BLMLICYW.js';
5
5
  import { GPSGeofenceData } from '../gps/features/geofence/gps_geofence_data_service.js';
6
6
  import { MasterMainLandmark } from '../master/main/master_main_landmark_service.js';
7
7
  import '../../zod_utils/zod_base_schema.js';
@@ -1,7 +1,7 @@
1
1
  import { FileType, Status, TicketStatus, 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, a as User } from '../../user_organisation_service-DS5AX39n.js';
4
+ import { U as UserOrganisation, a as User } from '../../user_organisation_service-BLMLICYW.js';
5
5
  import { UserAdmin } from '../main/users/user_admin_service.js';
6
6
  import '../../zod_utils/zod_base_schema.js';
7
7
  import '../master/main/master_main_sim_provider_service.js';
@@ -50,19 +50,19 @@ declare const TicketFileSchema: z.ZodObject<{
50
50
  file_metadata: z.ZodDefault<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
51
51
  status: z.ZodType<Status, z.ZodTypeDef, Status>;
52
52
  }, "strip", z.ZodTypeAny, {
53
+ status: Status;
54
+ organisation_id: string;
53
55
  file_type: FileType;
54
56
  file_url: string;
55
57
  file_key: string;
56
58
  file_description: string;
57
59
  file_size: number;
58
60
  file_metadata: Record<string, any>;
59
- status: Status;
60
- organisation_id: string;
61
61
  ticket_id: string;
62
62
  }, {
63
- file_type: FileType;
64
63
  status: Status;
65
64
  organisation_id: string;
65
+ file_type: FileType;
66
66
  ticket_id: string;
67
67
  file_url?: string | undefined;
68
68
  file_key?: string | undefined;
@@ -90,19 +90,19 @@ declare const TicketSchema: z.ZodObject<{
90
90
  file_metadata: z.ZodDefault<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
91
91
  status: z.ZodType<Status, z.ZodTypeDef, Status>;
92
92
  }, z.UnknownKeysParam, z.ZodTypeAny, {
93
+ status: Status;
94
+ organisation_id: string;
93
95
  file_type: FileType;
94
96
  file_url: string;
95
97
  file_key: string;
96
98
  file_description: string;
97
99
  file_size: number;
98
100
  file_metadata: Record<string, any>;
99
- status: Status;
100
- organisation_id: string;
101
101
  ticket_id: string;
102
102
  }, {
103
- file_type: FileType;
104
103
  status: Status;
105
104
  organisation_id: string;
105
+ file_type: FileType;
106
106
  ticket_id: string;
107
107
  file_url?: string | undefined;
108
108
  file_key?: string | undefined;
@@ -114,36 +114,36 @@ declare const TicketSchema: z.ZodObject<{
114
114
  }, "strip", z.ZodTypeAny, {
115
115
  status: Status;
116
116
  organisation_id: string;
117
- subject: string;
117
+ user_id: string;
118
118
  description: string;
119
+ admin_id: string;
120
+ subject: string;
119
121
  admin_message: string;
120
122
  ticket_status: TicketStatus;
121
- user_id: string;
122
- admin_id: string;
123
123
  ticket_files: {
124
+ status: Status;
125
+ organisation_id: string;
124
126
  file_type: FileType;
125
127
  file_url: string;
126
128
  file_key: string;
127
129
  file_description: string;
128
130
  file_size: number;
129
131
  file_metadata: Record<string, any>;
130
- status: Status;
131
- organisation_id: string;
132
132
  ticket_id: string;
133
133
  }[];
134
134
  }, {
135
135
  status: Status;
136
136
  organisation_id: string;
137
- subject: string;
138
- ticket_status: TicketStatus;
139
137
  user_id: string;
140
138
  admin_id: string;
139
+ subject: string;
140
+ ticket_status: TicketStatus;
141
141
  description?: string | undefined;
142
142
  admin_message?: string | undefined;
143
143
  ticket_files?: {
144
- file_type: FileType;
145
144
  status: Status;
146
145
  organisation_id: string;
146
+ file_type: FileType;
147
147
  ticket_id: string;
148
148
  file_url?: string | undefined;
149
149
  file_key?: string | undefined;
@@ -191,7 +191,6 @@ declare const TicketQuerySchema: z.ZodObject<{
191
191
  ticket_status: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof TicketStatus>, "many">>>;
192
192
  }, "strip", z.ZodTypeAny, {
193
193
  status: Status[];
194
- ticket_status: TicketStatus[];
195
194
  search: string;
196
195
  paging: PAGING;
197
196
  page_count: number;
@@ -215,12 +214,12 @@ declare const TicketQuerySchema: z.ZodObject<{
215
214
  organisation_ids: string[];
216
215
  user_ids: string[];
217
216
  admin_ids: string[];
217
+ ticket_status: TicketStatus[];
218
218
  ticket_ids: string[];
219
219
  }, {
220
220
  date_format_id: string;
221
221
  time_zone_id: string;
222
222
  status?: Status[] | undefined;
223
- ticket_status?: TicketStatus[] | undefined;
224
223
  search?: string | undefined;
225
224
  paging?: PAGING | undefined;
226
225
  page_count?: unknown;
@@ -242,6 +241,7 @@ declare const TicketQuerySchema: z.ZodObject<{
242
241
  organisation_ids?: string[] | undefined;
243
242
  user_ids?: string[] | undefined;
244
243
  admin_ids?: string[] | undefined;
244
+ ticket_status?: TicketStatus[] | undefined;
245
245
  ticket_ids?: string[] | undefined;
246
246
  }>;
247
247
  type TicketQueryDTO = z.infer<typeof TicketQuerySchema>;
@@ -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, a as User, M as MasterVehicle, b as MasterDriver, c as MasterDevice } from '../../../user_organisation_service-DS5AX39n.js';
4
+ import { U as UserOrganisation, a as User, M as MasterVehicle, b as MasterDriver, c as MasterDevice } from '../../../user_organisation_service-BLMLICYW.js';
5
5
  import { FuelConsumptionMonthly } from '../../gps/reports/gps_models/FuelConsumptionMonthly.js';
6
6
  import '../../../zod_utils/zod_base_schema.js';
7
7
  import '../../master/main/master_main_sim_provider_service.js';
@@ -2,7 +2,7 @@ import { YesNo, PaymentMode, PaymentStatus, RefillMethod, RefillEntrySource, GPS
2
2
  import { FBR, SBR, BR, AWSPresignedUrl } from '../../../core/BaseResponse.js';
3
3
  import { z } from 'zod';
4
4
  import { FilePresignedUrlDTO } from '../../../zod_utils/zod_base_schema.js';
5
- import { U as UserOrganisation, a as User, M as MasterVehicle, b as MasterDriver, c as MasterDevice, d as MasterVehicleFuelType } from '../../../user_organisation_service-DS5AX39n.js';
5
+ import { U as UserOrganisation, a as User, M as MasterVehicle, b as MasterDriver, c as MasterDevice, d as MasterVehicleFuelType } from '../../../user_organisation_service-BLMLICYW.js';
6
6
  import { MasterMainLandmark } from '../../master/main/master_main_landmark_service.js';
7
7
  import { MasterVehicleFuelUnit } from '../../master/vehicle/master_vehicle_fuel_unit_service.js';
8
8
  import '../../master/main/master_main_sim_provider_service.js';
@@ -2,7 +2,7 @@ import { RefillEntrySource, GPSFuelApproveStatus, Status, FileType, PAGING, Load
2
2
  import { FBR, SBR, BR, AWSPresignedUrl } from '../../../core/BaseResponse.js';
3
3
  import { z } from 'zod';
4
4
  import { FilePresignedUrlDTO } from '../../../zod_utils/zod_base_schema.js';
5
- import { U as UserOrganisation, a as User, M as MasterVehicle, b as MasterDriver, c as MasterDevice, d as MasterVehicleFuelType } from '../../../user_organisation_service-DS5AX39n.js';
5
+ import { U as UserOrganisation, a as User, M as MasterVehicle, b as MasterDriver, c as MasterDevice, d as MasterVehicleFuelType } from '../../../user_organisation_service-BLMLICYW.js';
6
6
  import { MasterMainLandmark } from '../../master/main/master_main_landmark_service.js';
7
7
  import { MasterVehicleFuelUnit } from '../../master/vehicle/master_vehicle_fuel_unit_service.js';
8
8
  import { MasterVehicleFuelRemovalReason } from '../../master/vehicle/master_vehicle_fuel_removal_reason_service.js';
@@ -1,7 +1,7 @@
1
1
  import { GeofenceType, GeofencePurposeType, 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-DS5AX39n.js';
4
+ import { U as UserOrganisation } from '../../../../user_organisation_service-BLMLICYW.js';
5
5
  import '../../../../zod_utils/zod_base_schema.js';
6
6
  import '../../../master/main/master_main_sim_provider_service.js';
7
7
 
@@ -1,7 +1,7 @@
1
1
  import { GeofenceStatusType, 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, b as MasterDriver } from '../../../../user_organisation_service-DS5AX39n.js';
4
+ import { U as UserOrganisation, M as MasterVehicle, b as MasterDriver } from '../../../../user_organisation_service-BLMLICYW.js';
5
5
  import { GPSGeofenceData } from './gps_geofence_data_service.js';
6
6
  import '../../../../zod_utils/zod_base_schema.js';
7
7
  import '../../../master/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, b as MasterDriver } from '../../../../user_organisation_service-DS5AX39n.js';
4
+ import { U as UserOrganisation, M as MasterVehicle, b as MasterDriver } from '../../../../user_organisation_service-BLMLICYW.js';
5
5
  import { GPSGeofenceData } from './gps_geofence_data_service.js';
6
6
  import { GPSGeofenceTransaction } from './gps_geofence_transaction_service.js';
7
7
  import '../../../../zod_utils/zod_base_schema.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, b as MasterDriver } from '../../../../user_organisation_service-DS5AX39n.js';
4
+ import { U as UserOrganisation, M as MasterVehicle, b as MasterDriver } from '../../../../user_organisation_service-BLMLICYW.js';
5
5
  import { GPSGeofenceData } from './gps_geofence_data_service.js';
6
6
  import '../../../../zod_utils/zod_base_schema.js';
7
7
  import '../../../master/main/master_main_sim_provider_service.js';
@@ -1,7 +1,7 @@
1
1
  import { LinkType, LinkStatus, Status, NotificationType, 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-DS5AX39n.js';
4
+ import { U as UserOrganisation, M as MasterVehicle } from '../../../user_organisation_service-BLMLICYW.js';
5
5
  import '../../../zod_utils/zod_base_schema.js';
6
6
  import '../../master/main/master_main_sim_provider_service.js';
7
7
 
@@ -42,17 +42,17 @@ declare const GPSLiveTrackShareLinkNotificationsSchema: z.ZodObject<{
42
42
  to_recipients: z.ZodEffects<z.ZodString, string, string>;
43
43
  status: z.ZodType<Status, z.ZodTypeDef, Status>;
44
44
  }, "strip", z.ZodTypeAny, {
45
+ gps_live_track_share_link_id: string;
45
46
  status: Status;
46
47
  organisation_id: string;
47
48
  type: NotificationType;
48
49
  to_recipients: string;
49
- gps_live_track_share_link_id: string;
50
50
  }, {
51
+ gps_live_track_share_link_id: string;
51
52
  status: Status;
52
53
  organisation_id: string;
53
54
  type: NotificationType;
54
55
  to_recipients: string;
55
- gps_live_track_share_link_id: string;
56
56
  }>;
57
57
  type GPSLiveTrackShareLinkNotificationsDTO = z.infer<typeof GPSLiveTrackShareLinkNotificationsSchema>;
58
58
  declare const GPSLiveTrackShareLinkSchema: z.ZodObject<{
@@ -73,54 +73,54 @@ declare const GPSLiveTrackShareLinkSchema: z.ZodObject<{
73
73
  to_recipients: z.ZodEffects<z.ZodString, string, string>;
74
74
  status: z.ZodType<Status, z.ZodTypeDef, Status>;
75
75
  }, z.UnknownKeysParam, z.ZodTypeAny, {
76
+ gps_live_track_share_link_id: string;
76
77
  status: Status;
77
78
  organisation_id: string;
78
79
  type: NotificationType;
79
80
  to_recipients: string;
80
- gps_live_track_share_link_id: string;
81
81
  }, {
82
+ gps_live_track_share_link_id: string;
82
83
  status: Status;
83
84
  organisation_id: string;
84
85
  type: NotificationType;
85
86
  to_recipients: string;
86
- gps_live_track_share_link_id: string;
87
87
  }>, "many">>>;
88
88
  }, "strip", z.ZodTypeAny, {
89
+ link_type: LinkType;
90
+ location: string;
89
91
  link_status: LinkStatus;
90
92
  status: Status;
91
93
  organisation_id: string;
92
94
  vehicle_id: string;
93
95
  trip_id: string;
96
+ expire_milliseconds: number;
94
97
  notifications: {
98
+ gps_live_track_share_link_id: string;
95
99
  status: Status;
96
100
  organisation_id: string;
97
101
  type: NotificationType;
98
102
  to_recipients: string;
99
- gps_live_track_share_link_id: string;
100
103
  }[];
101
- link_type: LinkType;
102
- location: string;
103
- expire_milliseconds: number;
104
104
  latitude?: number | undefined;
105
105
  longitude?: number | undefined;
106
106
  }, {
107
+ link_type: LinkType;
107
108
  link_status: LinkStatus;
108
109
  status: Status;
109
110
  organisation_id: string;
110
111
  vehicle_id: string;
111
112
  trip_id: string;
112
- link_type: LinkType;
113
+ latitude?: unknown;
114
+ longitude?: unknown;
115
+ location?: string | undefined;
116
+ expire_milliseconds?: unknown;
113
117
  notifications?: {
118
+ gps_live_track_share_link_id: string;
114
119
  status: Status;
115
120
  organisation_id: string;
116
121
  type: NotificationType;
117
122
  to_recipients: string;
118
- gps_live_track_share_link_id: string;
119
123
  }[] | undefined;
120
- latitude?: unknown;
121
- longitude?: unknown;
122
- location?: string | undefined;
123
- expire_milliseconds?: unknown;
124
124
  }>;
125
125
  type GPSLiveTrackShareLinkDTO = z.infer<typeof GPSLiveTrackShareLinkSchema>;
126
126
  declare const GPSLiveTrackShareLinkTimeSchema: z.ZodObject<{
@@ -176,6 +176,7 @@ declare const GPSLiveTrackShareLinkQuerySchema: z.ZodObject<{
176
176
  link_type: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof LinkType>, "many">>>;
177
177
  link_status: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof LinkStatus>, "many">>>;
178
178
  }, "strip", z.ZodTypeAny, {
179
+ link_type: LinkType[];
179
180
  link_status: LinkStatus[];
180
181
  status: Status[];
181
182
  search: string;
@@ -201,10 +202,10 @@ declare const GPSLiveTrackShareLinkQuerySchema: z.ZodObject<{
201
202
  organisation_ids: string[];
202
203
  vehicle_ids: string[];
203
204
  trip_ids: string[];
204
- link_type: LinkType[];
205
205
  }, {
206
206
  date_format_id: string;
207
207
  time_zone_id: string;
208
+ link_type?: LinkType[] | undefined;
208
209
  link_status?: LinkStatus[] | undefined;
209
210
  status?: Status[] | undefined;
210
211
  search?: string | undefined;
@@ -228,7 +229,6 @@ declare const GPSLiveTrackShareLinkQuerySchema: z.ZodObject<{
228
229
  organisation_ids?: string[] | undefined;
229
230
  vehicle_ids?: string[] | undefined;
230
231
  trip_ids?: string[] | undefined;
231
- link_type?: LinkType[] | undefined;
232
232
  }>;
233
233
  type GPSLiveTrackShareLinkQueryDTO = z.infer<typeof GPSLiveTrackShareLinkQuerySchema>;
234
234
  declare const toGPSLiveTrackShareLinkPayload: (data: GPSLiveTrackShareLink) => GPSLiveTrackShareLinkDTO;
@@ -1,7 +1,7 @@
1
1
  import { TrackHistoryLinkStatus, Status, NotificationType, 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-DS5AX39n.js';
4
+ import { U as UserOrganisation, M as MasterVehicle } from '../../../user_organisation_service-BLMLICYW.js';
5
5
  import '../../../zod_utils/zod_base_schema.js';
6
6
  import '../../master/main/master_main_sim_provider_service.js';
7
7
 
@@ -40,17 +40,17 @@ declare const GPSTrackHistoryShareLinkNotificationsSchema: z.ZodObject<{
40
40
  to_recipients: z.ZodEffects<z.ZodString, string, string>;
41
41
  status: z.ZodType<Status, z.ZodTypeDef, Status>;
42
42
  }, "strip", z.ZodTypeAny, {
43
- gps_track_history_share_link_id: string;
44
43
  status: Status;
45
44
  organisation_id: string;
46
45
  type: NotificationType;
47
46
  to_recipients: string;
48
- }, {
49
47
  gps_track_history_share_link_id: string;
48
+ }, {
50
49
  status: Status;
51
50
  organisation_id: string;
52
51
  type: NotificationType;
53
52
  to_recipients: string;
53
+ gps_track_history_share_link_id: string;
54
54
  }>;
55
55
  type GPSTrackHistoryShareLinkNotificationsDTO = z.infer<typeof GPSTrackHistoryShareLinkNotificationsSchema>;
56
56
  declare const GPSTrackHistoryShareLinkSchema: z.ZodObject<{
@@ -68,47 +68,47 @@ declare const GPSTrackHistoryShareLinkSchema: z.ZodObject<{
68
68
  to_recipients: z.ZodEffects<z.ZodString, string, string>;
69
69
  status: z.ZodType<Status, z.ZodTypeDef, Status>;
70
70
  }, z.UnknownKeysParam, z.ZodTypeAny, {
71
- gps_track_history_share_link_id: string;
72
71
  status: Status;
73
72
  organisation_id: string;
74
73
  type: NotificationType;
75
74
  to_recipients: string;
76
- }, {
77
75
  gps_track_history_share_link_id: string;
76
+ }, {
78
77
  status: Status;
79
78
  organisation_id: string;
80
79
  type: NotificationType;
81
80
  to_recipients: string;
81
+ gps_track_history_share_link_id: string;
82
82
  }>, "many">>>;
83
83
  }, "strip", z.ZodTypeAny, {
84
- from_date_time: string;
85
- to_date_time: string;
86
84
  link_status: TrackHistoryLinkStatus;
87
85
  status: Status;
88
86
  organisation_id: string;
89
87
  vehicle_id: string;
90
88
  trip_id: string;
91
89
  notifications: {
92
- gps_track_history_share_link_id: string;
93
90
  status: Status;
94
91
  organisation_id: string;
95
92
  type: NotificationType;
96
93
  to_recipients: string;
94
+ gps_track_history_share_link_id: string;
97
95
  }[];
98
- }, {
99
96
  from_date_time: string;
100
97
  to_date_time: string;
98
+ }, {
101
99
  link_status: TrackHistoryLinkStatus;
102
100
  status: Status;
103
101
  organisation_id: string;
104
102
  vehicle_id: string;
105
103
  trip_id: string;
104
+ from_date_time: string;
105
+ to_date_time: string;
106
106
  notifications?: {
107
- gps_track_history_share_link_id: string;
108
107
  status: Status;
109
108
  organisation_id: string;
110
109
  type: NotificationType;
111
110
  to_recipients: string;
111
+ gps_track_history_share_link_id: string;
112
112
  }[] | undefined;
113
113
  }>;
114
114
  type GPSTrackHistoryShareLinkDTO = z.infer<typeof GPSTrackHistoryShareLinkSchema>;
@@ -1,6 +1,7 @@
1
1
  import { Module, AlertType, AlertSubType } from '../../../../core/Enums.js';
2
2
 
3
- interface GpsAlert {
3
+ interface GpsAlert extends Record<string, unknown> {
4
+ _id?: string;
4
5
  o_id: string;
5
6
  db_i: string;
6
7
  db_g: string;