vms-nest-prisma-api-document 40.0.0 → 42.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 (75) hide show
  1. package/dist/services/account/bookmark_service.d.ts +9 -9
  2. package/dist/services/account/notification_preferences.service.d.ts +11 -11
  3. package/dist/services/account/report_preferences.service.d.ts +29 -26
  4. package/dist/services/account/report_preferences.service.js +2 -2
  5. package/dist/services/account/ticket_service.d.ts +2 -2
  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_service.d.ts +1 -1
  10. package/dist/services/gps/features/geofence/gps_geofence_transaction_service.d.ts +9 -9
  11. package/dist/services/gps/features/geofence/gps_geofence_transaction_summary_service.d.ts +6 -6
  12. package/dist/services/gps/features/geofence/trip_geofence_to_geofence_service.d.ts +12 -12
  13. package/dist/services/gps/features/gps_live_track_share_link_service.d.ts +13 -13
  14. package/dist/services/gps/features/gps_track_history_share_link_service.d.ts +14 -14
  15. package/dist/services/main/devices/master_device_service.d.ts +1 -1
  16. package/dist/services/main/drivers/master_driver_service.d.ts +1 -1
  17. package/dist/services/main/sims/master_sim_service.d.ts +1 -1
  18. package/dist/services/main/users/auth_service.d.ts +1 -1
  19. package/dist/services/main/users/user_organisation_service.d.ts +1 -1
  20. package/dist/services/main/users/user_service.d.ts +1 -1
  21. package/dist/services/main/vehicle/childs/vehicle_odometer_history.d.ts +1 -1
  22. package/dist/services/main/vehicle/master_vehicle_service.d.ts +1 -1
  23. package/dist/services/master/device/master_device_manufacturer_service.d.ts +1 -1
  24. package/dist/services/master/device/master_device_model_service.d.ts +1 -1
  25. package/dist/services/master/device/master_device_type_service.d.ts +1 -1
  26. package/dist/services/master/expense/master_expense_name_service.d.ts +1 -1
  27. package/dist/services/master/expense/master_expense_type_service.d.ts +1 -1
  28. package/dist/services/master/expense/master_fuel_company_service.d.ts +6 -6
  29. package/dist/services/master/expense/master_vendor_document_type_service.d.ts +3 -3
  30. package/dist/services/master/expense/master_vendor_type_service.d.ts +1 -1
  31. package/dist/services/master/fleet/master_fleet_incident_severity_service.d.ts +1 -1
  32. package/dist/services/master/fleet/master_fleet_incident_status_service.d.ts +1 -1
  33. package/dist/services/master/fleet/master_fleet_incident_type_service.d.ts +1 -1
  34. package/dist/services/master/fleet/master_fleet_insurance_claim_status_service.d.ts +1 -1
  35. package/dist/services/master/fleet/master_fleet_service_task_service.d.ts +1 -1
  36. package/dist/services/master/main/master_main_country_service.d.ts +1 -1
  37. package/dist/services/master/main/master_main_currency_service.d.ts +1 -1
  38. package/dist/services/master/main/master_main_date_format_service.d.ts +1 -1
  39. package/dist/services/master/main/master_main_industry_service.d.ts +1 -1
  40. package/dist/services/master/main/master_main_landmark_service.d.ts +1 -1
  41. package/dist/services/master/main/master_main_language_service.d.ts +1 -1
  42. package/dist/services/master/main/master_main_state_service.d.ts +1 -1
  43. package/dist/services/master/main/master_main_timezone_service.d.ts +1 -1
  44. package/dist/services/master/main/master_main_unit_distance_service.d.ts +1 -1
  45. package/dist/services/master/main/master_main_unit_mileage_service.d.ts +1 -1
  46. package/dist/services/master/main/master_main_unit_volume_service.d.ts +1 -1
  47. package/dist/services/master/organisation/organisation_branch_service.d.ts +1 -1
  48. package/dist/services/master/organisation/organisation_color_service.d.ts +1 -1
  49. package/dist/services/master/organisation/organisation_group_service.d.ts +1 -1
  50. package/dist/services/master/organisation/organisation_sub_company_service.d.ts +1 -1
  51. package/dist/services/master/organisation/organisation_tag_service.d.ts +1 -1
  52. package/dist/services/master/spare_part/master_spare_part_category_service.d.ts +1 -1
  53. package/dist/services/master/spare_part/master_spare_part_sub_category_service.d.ts +1 -1
  54. package/dist/services/master/spare_part/master_spare_part_unit_service.d.ts +1 -1
  55. package/dist/services/master/trip/master_trip_party_type_service.d.ts +1 -1
  56. package/dist/services/master/tyre/master_tyre_grade_service.d.ts +1 -1
  57. package/dist/services/master/tyre/master_tyre_make_service.d.ts +1 -1
  58. package/dist/services/master/tyre/master_tyre_model_service.d.ts +1 -1
  59. package/dist/services/master/user/master_user_role_service.d.ts +1 -1
  60. package/dist/services/master/user/master_user_status_service.d.ts +1 -1
  61. package/dist/services/master/vehicle/master_vehicle_associated_to_service.d.ts +1 -1
  62. package/dist/services/master/vehicle/master_vehicle_document_type_service.d.ts +1 -1
  63. package/dist/services/master/vehicle/master_vehicle_fuel_removal_reason_service.d.ts +1 -1
  64. package/dist/services/master/vehicle/master_vehicle_fuel_type_service.d.ts +1 -1
  65. package/dist/services/master/vehicle/master_vehicle_fuel_unit_service.d.ts +1 -1
  66. package/dist/services/master/vehicle/master_vehicle_make_service.d.ts +1 -1
  67. package/dist/services/master/vehicle/master_vehicle_model_service.d.ts +1 -1
  68. package/dist/services/master/vehicle/master_vehicle_ownership_type_service.d.ts +1 -1
  69. package/dist/services/master/vehicle/master_vehicle_status_type_service.d.ts +1 -1
  70. package/dist/services/master/vehicle/master_vehicle_sub_model_service.d.ts +1 -1
  71. package/dist/services/master/vehicle/master_vehicle_type_service.d.ts +1 -1
  72. package/dist/services/website/contact_us_detail_service.d.ts +1 -1
  73. package/dist/services/website/faq_service.d.ts +1 -1
  74. package/package.json +1 -1
  75. package/dist/{user_organisation_service-BSw_aKUy.d.ts → user_organisation_service-DqZC6EYi.d.ts} +25 -25
@@ -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-BSw_aKUy.js';
4
+ import { U as UserOrganisation, a as User } from '../../user_organisation_service-DqZC6EYi.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
- group_name: string;
46
- user_id: 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
- group_name: string;
60
55
  user_id: 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 { OnOff, NotificationChannel, YesNo, NotificationList, Status, PAGING, LoadParents, LoadChild, LoadChildCount, OrderBy } 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, a as User } from '../../user_organisation_service-BSw_aKUy.js';
4
+ import { U as UserOrganisation, M as MasterVehicle, a as User } from '../../user_organisation_service-DqZC6EYi.js';
5
5
  import { GPSGeofence } from '../gps/features/geofence/gps_geofence_service.js';
6
6
  import '../../zod_utils/zod_base_schema.js';
7
7
  import '../master/main/master_main_sim_provider_service.js';
@@ -85,37 +85,37 @@ declare const OrganisationNotificationPreferenceSchema: z.ZodObject<{
85
85
  vehicle_ids: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
86
86
  status: z.ZodType<Status, z.ZodTypeDef, Status>;
87
87
  }, "strip", z.ZodTypeAny, {
88
- mobile_numbers: string;
89
- email_ids: string;
90
- cc_email_ids: string;
91
- all_vehicles: YesNo;
92
88
  status: Status;
93
89
  organisation_id: string;
94
- vehicle_ids: string[];
95
90
  user_ids: string[];
91
+ vehicle_ids: string[];
92
+ all_vehicles: YesNo;
96
93
  gps_geofence_ids: string[];
97
94
  notification_name: string;
98
95
  notification_status: OnOff;
99
96
  notification_channels: NotificationChannel[];
97
+ mobile_numbers: string;
98
+ email_ids: string;
99
+ cc_email_ids: string;
100
100
  all_users: YesNo;
101
101
  notification_list: NotificationList[];
102
102
  over_speed_limit: number;
103
103
  all_geofences: YesNo;
104
104
  }, {
105
- all_vehicles: YesNo;
106
105
  status: Status;
107
106
  organisation_id: string;
107
+ all_vehicles: YesNo;
108
108
  notification_name: string;
109
109
  notification_status: OnOff;
110
110
  all_users: YesNo;
111
111
  all_geofences: YesNo;
112
- mobile_numbers?: string | undefined;
113
- email_ids?: string | undefined;
114
- cc_email_ids?: string | undefined;
115
- vehicle_ids?: string[] | undefined;
116
112
  user_ids?: string[] | undefined;
113
+ vehicle_ids?: string[] | undefined;
117
114
  gps_geofence_ids?: string[] | undefined;
118
115
  notification_channels?: NotificationChannel[] | undefined;
116
+ mobile_numbers?: string | undefined;
117
+ email_ids?: string | undefined;
118
+ cc_email_ids?: string | undefined;
119
119
  notification_list?: NotificationList[] | undefined;
120
120
  over_speed_limit?: unknown;
121
121
  }>;
@@ -1,7 +1,7 @@
1
1
  import { OnOff, ReportType, ReportList, ReportChannel, YesNo, Status, PAGING, LoadParents, LoadChild, LoadChildCount, OrderBy } 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-BSw_aKUy.js';
4
+ import { U as UserOrganisation, M as MasterVehicle } from '../../user_organisation_service-DqZC6EYi.js';
5
5
  import '../../zod_utils/zod_base_schema.js';
6
6
  import '../master/main/master_main_sim_provider_service.js';
7
7
 
@@ -47,6 +47,9 @@ interface OrganisationReportAutomationMail extends Record<string, unknown> {
47
47
  from_date?: string;
48
48
  to_date?: string;
49
49
  date?: string;
50
+ from_date_f?: string;
51
+ to_date_f?: string;
52
+ date_f?: string;
50
53
  all_vehicles: YesNo;
51
54
  status: Status;
52
55
  added_date_time: string;
@@ -109,7 +112,6 @@ declare const OrganisationReportAutomationMailQuerySchema: z.ZodObject<{
109
112
  report_type: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof ReportType>, "many">>>;
110
113
  }, "strip", z.ZodTypeAny, {
111
114
  status: Status[];
112
- report_type: ReportType[];
113
115
  search: string;
114
116
  paging: PAGING;
115
117
  page_count: number;
@@ -131,13 +133,13 @@ declare const OrganisationReportAutomationMailQuerySchema: z.ZodObject<{
131
133
  date_format_id: string;
132
134
  time_zone_id: string;
133
135
  organisation_ids: string[];
136
+ report_type: ReportType[];
134
137
  report_preference_ids: string[];
135
138
  report_automation_mail_ids: string[];
136
139
  }, {
137
140
  date_format_id: string;
138
141
  time_zone_id: string;
139
142
  status?: Status[] | undefined;
140
- report_type?: ReportType[] | undefined;
141
143
  search?: string | undefined;
142
144
  paging?: PAGING | undefined;
143
145
  page_count?: unknown;
@@ -157,6 +159,7 @@ declare const OrganisationReportAutomationMailQuerySchema: z.ZodObject<{
157
159
  }[] | undefined;
158
160
  include_master_data?: YesNo | undefined;
159
161
  organisation_ids?: string[] | undefined;
162
+ report_type?: ReportType[] | undefined;
160
163
  report_preference_ids?: string[] | undefined;
161
164
  report_automation_mail_ids?: string[] | undefined;
162
165
  }>;
@@ -175,31 +178,31 @@ declare const OrganisationReportPreferenceSchema: z.ZodObject<{
175
178
  vehicle_ids: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
176
179
  status: z.ZodType<Status, z.ZodTypeDef, Status>;
177
180
  }, "strip", z.ZodTypeAny, {
181
+ status: Status;
182
+ organisation_id: string;
183
+ vehicle_ids: string[];
184
+ all_vehicles: YesNo;
185
+ mobile_numbers: string;
186
+ email_ids: string;
187
+ cc_email_ids: string;
178
188
  report_name: string;
179
189
  report_status: OnOff;
180
190
  report_types: ReportType[];
181
191
  report_list: ReportList[];
182
192
  report_channels: ReportChannel.Email[];
183
- mobile_numbers: string;
184
- email_ids: string;
185
- cc_email_ids: string;
186
- all_vehicles: YesNo;
193
+ }, {
187
194
  status: Status;
188
195
  organisation_id: string;
189
- vehicle_ids: string[];
190
- }, {
196
+ all_vehicles: YesNo;
191
197
  report_name: string;
192
198
  report_status: OnOff;
193
- all_vehicles: YesNo;
194
- status: Status;
195
- organisation_id: string;
196
- report_types?: ReportType[] | undefined;
197
- report_list?: ReportList[] | undefined;
198
- report_channels?: ReportChannel.Email[] | undefined;
199
+ vehicle_ids?: string[] | undefined;
199
200
  mobile_numbers?: string | undefined;
200
201
  email_ids?: string | undefined;
201
202
  cc_email_ids?: string | undefined;
202
- vehicle_ids?: string[] | undefined;
203
+ report_types?: ReportType[] | undefined;
204
+ report_list?: ReportList[] | undefined;
205
+ report_channels?: ReportChannel.Email[] | undefined;
203
206
  }>;
204
207
  type OrganisationReportPreferenceDTO = z.infer<typeof OrganisationReportPreferenceSchema>;
205
208
  declare const OrganisationReportPreferenceQuerySchema: z.ZodObject<{
@@ -240,10 +243,6 @@ declare const OrganisationReportPreferenceQuerySchema: z.ZodObject<{
240
243
  report_list: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof ReportList>, "many">>>;
241
244
  report_channels: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof ReportChannel>, "many">>>;
242
245
  }, "strip", z.ZodTypeAny, {
243
- report_status: OnOff[];
244
- report_types: ReportType[];
245
- report_list: ReportList[];
246
- report_channels: ReportChannel.Email[];
247
246
  status: Status[];
248
247
  search: string;
249
248
  paging: PAGING;
@@ -266,14 +265,14 @@ declare const OrganisationReportPreferenceQuerySchema: z.ZodObject<{
266
265
  date_format_id: string;
267
266
  time_zone_id: string;
268
267
  organisation_ids: string[];
268
+ report_status: OnOff[];
269
+ report_types: ReportType[];
270
+ report_list: ReportList[];
271
+ report_channels: ReportChannel.Email[];
269
272
  report_preference_ids: string[];
270
273
  }, {
271
274
  date_format_id: string;
272
275
  time_zone_id: string;
273
- report_status?: OnOff[] | undefined;
274
- report_types?: ReportType[] | undefined;
275
- report_list?: ReportList[] | undefined;
276
- report_channels?: ReportChannel.Email[] | undefined;
277
276
  status?: Status[] | undefined;
278
277
  search?: string | undefined;
279
278
  paging?: PAGING | undefined;
@@ -294,6 +293,10 @@ declare const OrganisationReportPreferenceQuerySchema: z.ZodObject<{
294
293
  }[] | undefined;
295
294
  include_master_data?: YesNo | undefined;
296
295
  organisation_ids?: string[] | undefined;
296
+ report_status?: OnOff[] | undefined;
297
+ report_types?: ReportType[] | undefined;
298
+ report_list?: ReportList[] | undefined;
299
+ report_channels?: ReportChannel.Email[] | undefined;
297
300
  report_preference_ids?: string[] | undefined;
298
301
  }>;
299
302
  type OrganisationReportPreferenceQueryDTO = z.infer<typeof OrganisationReportPreferenceQuerySchema>;
@@ -303,6 +306,6 @@ declare const findOrganisationReportPreference: (data: OrganisationReportPrefere
303
306
  declare const createOrganisationReportPreference: (data: OrganisationReportPreferenceDTO) => Promise<SBR>;
304
307
  declare const updateOrganisationReportPreference: (id: string, data: OrganisationReportPreferenceDTO) => Promise<SBR>;
305
308
  declare const deleteOrganisationReportPreference: (id: string) => Promise<SBR>;
306
- declare const findUserReportAutomationMail: (data: OrganisationReportAutomationMailQueryDTO) => Promise<FBR<OrganisationReportAutomationMail[]>>;
309
+ declare const findOrganisationReportAutomationMail: (data: OrganisationReportAutomationMailQueryDTO) => Promise<FBR<OrganisationReportAutomationMail[]>>;
307
310
 
308
- export { type OrganisationReportAutomationMail, type OrganisationReportAutomationMailQueryDTO, OrganisationReportAutomationMailQuerySchema, type OrganisationReportAutomationMailVehicleLink, type OrganisationReportPreference, type OrganisationReportPreferenceDTO, type OrganisationReportPreferenceQueryDTO, OrganisationReportPreferenceQuerySchema, OrganisationReportPreferenceSchema, type OrganisationReportPreferenceVehicleLink, createOrganisationReportPreference, deleteOrganisationReportPreference, findOrganisationReportPreference, findUserReportAutomationMail, newOrganisationReportPreferencePayload, toOrganisationReportPreferencePayload, updateOrganisationReportPreference };
311
+ export { type OrganisationReportAutomationMail, type OrganisationReportAutomationMailQueryDTO, OrganisationReportAutomationMailQuerySchema, type OrganisationReportAutomationMailVehicleLink, type OrganisationReportPreference, type OrganisationReportPreferenceDTO, type OrganisationReportPreferenceQueryDTO, OrganisationReportPreferenceQuerySchema, OrganisationReportPreferenceSchema, type OrganisationReportPreferenceVehicleLink, createOrganisationReportPreference, deleteOrganisationReportPreference, findOrganisationReportAutomationMail, findOrganisationReportPreference, newOrganisationReportPreferencePayload, toOrganisationReportPreferencePayload, updateOrganisationReportPreference };
@@ -404,7 +404,7 @@ var updateOrganisationReportPreference = async (id, data) => {
404
404
  var deleteOrganisationReportPreference = async (id) => {
405
405
  return apiDelete(ENDPOINTS.delete(id));
406
406
  };
407
- var findUserReportAutomationMail = async (data) => {
407
+ var findOrganisationReportAutomationMail = async (data) => {
408
408
  return apiPost(ENDPOINTS.find_automation_mail, data);
409
409
  };
410
410
  export {
@@ -413,8 +413,8 @@ export {
413
413
  OrganisationReportPreferenceSchema,
414
414
  createOrganisationReportPreference,
415
415
  deleteOrganisationReportPreference,
416
+ findOrganisationReportAutomationMail,
416
417
  findOrganisationReportPreference,
417
- findUserReportAutomationMail,
418
418
  newOrganisationReportPreferencePayload,
419
419
  toOrganisationReportPreferencePayload,
420
420
  updateOrganisationReportPreference
@@ -2,7 +2,7 @@ import { TicketStatus, Status, FileType, PAGING, LoadParents, LoadChild, LoadChi
2
2
  import { BaseCommionFile, 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 } from '../../user_organisation_service-BSw_aKUy.js';
5
+ import { U as UserOrganisation, a as User } from '../../user_organisation_service-DqZC6EYi.js';
6
6
  import { UserAdmin } from '../main/users/user_admin_service.js';
7
7
  import '../master/main/master_main_sim_provider_service.js';
8
8
 
@@ -120,8 +120,8 @@ declare const TicketSchema: z.ZodObject<{
120
120
  }, "strip", z.ZodTypeAny, {
121
121
  status: Status;
122
122
  organisation_id: string;
123
- description: string;
124
123
  user_id: string;
124
+ description: string;
125
125
  admin_id: string;
126
126
  subject: string;
127
127
  admin_message: string;
@@ -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-BSw_aKUy.js';
4
+ import { U as UserOrganisation, a as User, M as MasterVehicle, b as MasterDriver, c as MasterDevice } from '../../../user_organisation_service-DqZC6EYi.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 { GPSFuelApproveStatus, RefillEntrySource, RefillMethod, PaymentMode, Pay
2
2
  import { BaseCommionFile, 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, e as MasterVehicleFuelUnit } from '../../../user_organisation_service-BSw_aKUy.js';
5
+ import { U as UserOrganisation, a as User, M as MasterVehicle, b as MasterDriver, c as MasterDevice, d as MasterVehicleFuelType, e as MasterVehicleFuelUnit } from '../../../user_organisation_service-DqZC6EYi.js';
6
6
  import { MasterMainLandmark } from '../../master/main/master_main_landmark_service.js';
7
7
  import '../../master/main/master_main_sim_provider_service.js';
8
8
 
@@ -2,7 +2,7 @@ import { GPSFuelApproveStatus, RefillEntrySource, Status, FileType, PAGING, Load
2
2
  import { BaseCommionFile, 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, e as MasterVehicleFuelUnit } from '../../../user_organisation_service-BSw_aKUy.js';
5
+ import { U as UserOrganisation, a as User, M as MasterVehicle, b as MasterDriver, c as MasterDevice, d as MasterVehicleFuelType, e as MasterVehicleFuelUnit } from '../../../user_organisation_service-DqZC6EYi.js';
6
6
  import { MasterMainLandmark } from '../../master/main/master_main_landmark_service.js';
7
7
  import { MasterVehicleFuelRemovalReason } from '../../master/vehicle/master_vehicle_fuel_removal_reason_service.js';
8
8
  import '../../master/main/master_main_sim_provider_service.js';
@@ -1,7 +1,7 @@
1
1
  import { GeofencePurposeType, GeofenceType, 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-BSw_aKUy.js';
4
+ import { U as UserOrganisation } from '../../../../user_organisation_service-DqZC6EYi.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-BSw_aKUy.js';
4
+ import { U as UserOrganisation, M as MasterVehicle, b as MasterDriver } from '../../../../user_organisation_service-DqZC6EYi.js';
5
5
  import { GPSGeofence } from './gps_geofence_service.js';
6
6
  import '../../../../zod_utils/zod_base_schema.js';
7
7
  import '../../../master/main/master_main_sim_provider_service.js';
@@ -36,23 +36,23 @@ declare const GPSGeofenceTransactionSchema: z.ZodObject<{
36
36
  status: z.ZodType<Status, z.ZodTypeDef, Status>;
37
37
  time_zone_id: z.ZodEffects<z.ZodString, string, string>;
38
38
  }, "strip", z.ZodTypeAny, {
39
- geofence_status_type: GeofenceStatusType;
40
- geofence_time: string;
41
39
  status: Status;
42
40
  organisation_id: string;
43
41
  vehicle_id: string;
44
42
  driver_id: string;
45
- gps_geofence_id: string;
46
43
  time_zone_id: string;
47
- }, {
44
+ gps_geofence_id: string;
48
45
  geofence_status_type: GeofenceStatusType;
49
46
  geofence_time: string;
47
+ }, {
50
48
  status: Status;
51
49
  organisation_id: string;
52
50
  vehicle_id: string;
53
51
  driver_id: string;
54
- gps_geofence_id: string;
55
52
  time_zone_id: string;
53
+ gps_geofence_id: string;
54
+ geofence_status_type: GeofenceStatusType;
55
+ geofence_time: string;
56
56
  }>;
57
57
  type GPSGeofenceTransactionDTO = z.infer<typeof GPSGeofenceTransactionSchema>;
58
58
  declare const GPSGeofenceTransactionQuerySchema: z.ZodObject<{
@@ -94,7 +94,6 @@ declare const GPSGeofenceTransactionQuerySchema: z.ZodObject<{
94
94
  from_date: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
95
95
  to_date: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
96
96
  }, "strip", z.ZodTypeAny, {
97
- geofence_status_type: GeofenceStatusType[];
98
97
  status: Status[];
99
98
  time_zone_id: string;
100
99
  search: string;
@@ -119,15 +118,15 @@ declare const GPSGeofenceTransactionQuerySchema: z.ZodObject<{
119
118
  organisation_ids: string[];
120
119
  vehicle_ids: string[];
121
120
  driver_ids: string[];
122
- gps_geofence_ids: string[];
123
121
  from_date: string;
124
122
  to_date: string;
123
+ gps_geofence_ids: string[];
124
+ geofence_status_type: GeofenceStatusType[];
125
125
  }, {
126
126
  time_zone_id: string;
127
127
  date_format_id: string;
128
128
  from_date: string;
129
129
  to_date: string;
130
- geofence_status_type?: GeofenceStatusType[] | undefined;
131
130
  status?: Status[] | undefined;
132
131
  search?: string | undefined;
133
132
  paging?: PAGING | undefined;
@@ -151,6 +150,7 @@ declare const GPSGeofenceTransactionQuerySchema: z.ZodObject<{
151
150
  vehicle_ids?: string[] | undefined;
152
151
  driver_ids?: string[] | undefined;
153
152
  gps_geofence_ids?: string[] | undefined;
153
+ geofence_status_type?: GeofenceStatusType[] | undefined;
154
154
  }>;
155
155
  type GPSGeofenceTransactionQueryDTO = z.infer<typeof GPSGeofenceTransactionQuerySchema>;
156
156
  declare const toGPSGeofenceTransactionPayload: (data: GPSGeofenceTransaction) => GPSGeofenceTransactionDTO;
@@ -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-BSw_aKUy.js';
4
+ import { U as UserOrganisation, M as MasterVehicle, b as MasterDriver } from '../../../../user_organisation_service-DqZC6EYi.js';
5
5
  import { GPSGeofence } from './gps_geofence_service.js';
6
6
  import { GPSGeofenceTransaction } from './gps_geofence_transaction_service.js';
7
7
  import '../../../../zod_utils/zod_base_schema.js';
@@ -46,15 +46,15 @@ declare const GPSGeofenceTransactionSummarySchema: z.ZodObject<{
46
46
  status: z.ZodType<Status, z.ZodTypeDef, Status>;
47
47
  time_zone_id: z.ZodEffects<z.ZodString, string, string>;
48
48
  }, "strip", z.ZodTypeAny, {
49
+ duration_seconds: number;
49
50
  status: Status;
50
51
  organisation_id: string;
51
52
  vehicle_id: string;
52
53
  driver_id: string;
53
- gps_geofence_id: string;
54
54
  time_zone_id: string;
55
+ gps_geofence_id: string;
55
56
  geofence_enter_date_time: string;
56
57
  geofence_exit_date_time: string;
57
- duration_seconds: number;
58
58
  enter_gps_geofence_transaction_id: string;
59
59
  exit_gps_geofence_transaction_id: string;
60
60
  }, {
@@ -62,13 +62,13 @@ declare const GPSGeofenceTransactionSummarySchema: z.ZodObject<{
62
62
  organisation_id: string;
63
63
  vehicle_id: string;
64
64
  driver_id: string;
65
- gps_geofence_id: string;
66
65
  time_zone_id: string;
66
+ gps_geofence_id: string;
67
67
  geofence_enter_date_time: string;
68
68
  enter_gps_geofence_transaction_id: string;
69
69
  exit_gps_geofence_transaction_id: string;
70
- geofence_exit_date_time?: string | undefined;
71
70
  duration_seconds?: unknown;
71
+ geofence_exit_date_time?: string | undefined;
72
72
  }>;
73
73
  type GPSGeofenceTransactionSummaryDTO = z.infer<typeof GPSGeofenceTransactionSummarySchema>;
74
74
  declare const GPSGeofenceTransactionSummaryQuerySchema: z.ZodObject<{
@@ -133,9 +133,9 @@ declare const GPSGeofenceTransactionSummaryQuerySchema: z.ZodObject<{
133
133
  organisation_ids: string[];
134
134
  vehicle_ids: string[];
135
135
  driver_ids: string[];
136
- gps_geofence_ids: string[];
137
136
  from_date: string;
138
137
  to_date: string;
138
+ gps_geofence_ids: string[];
139
139
  }, {
140
140
  time_zone_id: string;
141
141
  date_format_id: string;
@@ -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-BSw_aKUy.js';
4
+ import { U as UserOrganisation, M as MasterVehicle, b as MasterDriver } from '../../../../user_organisation_service-DqZC6EYi.js';
5
5
  import '../../../../zod_utils/zod_base_schema.js';
6
6
  import '../../../master/main/master_main_sim_provider_service.js';
7
7
 
@@ -55,31 +55,31 @@ declare const TripGeofenceToGeofenceSchema: z.ZodObject<{
55
55
  status: z.ZodType<Status, z.ZodTypeDef, Status>;
56
56
  time_zone_id: z.ZodEffects<z.ZodString, string, string>;
57
57
  }, "strip", z.ZodTypeAny, {
58
- status: Status;
59
- organisation_id: string;
60
- vehicle_id: string;
61
- driver_id: string;
62
- time_zone_id: string;
63
- duration_seconds: number;
64
58
  from_geofence_exit_date_time: string;
65
59
  to_geofence_enter_date_time: string;
60
+ duration_seconds: number;
66
61
  travel_duration_seconds: number;
67
62
  stopped_duration_seconds: number;
68
63
  max_speed: number;
69
64
  avg_speed: number;
65
+ status: Status;
66
+ organisation_id: string;
67
+ vehicle_id: string;
68
+ driver_id: string;
70
69
  from_geofence_id: string;
71
70
  to_geofence_id: string;
71
+ time_zone_id: string;
72
72
  distance_meters?: number | undefined;
73
73
  }, {
74
+ from_geofence_exit_date_time: string;
75
+ to_geofence_enter_date_time: string;
74
76
  status: Status;
75
77
  organisation_id: string;
76
78
  vehicle_id: string;
77
79
  driver_id: string;
78
- time_zone_id: string;
79
- from_geofence_exit_date_time: string;
80
- to_geofence_enter_date_time: string;
81
80
  from_geofence_id: string;
82
81
  to_geofence_id: string;
82
+ time_zone_id: string;
83
83
  duration_seconds?: unknown;
84
84
  travel_duration_seconds?: unknown;
85
85
  stopped_duration_seconds?: unknown;
@@ -151,10 +151,10 @@ declare const TripGeofenceToGeofenceQuerySchema: z.ZodObject<{
151
151
  organisation_ids: string[];
152
152
  vehicle_ids: string[];
153
153
  driver_ids: string[];
154
- from_date: string;
155
- to_date: string;
156
154
  from_geofence_ids: string[];
157
155
  to_geofence_ids: string[];
156
+ from_date: string;
157
+ to_date: string;
158
158
  }, {
159
159
  time_zone_id: string;
160
160
  date_format_id: string;
@@ -1,7 +1,7 @@
1
1
  import { LinkType, LinkStatus, Status, NotificationChannel, 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-BSw_aKUy.js';
4
+ import { U as UserOrganisation, M as MasterVehicle } from '../../../user_organisation_service-DqZC6EYi.js';
5
5
  import { MasterMainLandmark } from '../../master/main/master_main_landmark_service.js';
6
6
  import '../../../zod_utils/zod_base_schema.js';
7
7
  import '../../master/main/master_main_sim_provider_service.js';
@@ -56,17 +56,17 @@ declare const GPSLiveTrackShareLinkNotificationSchema: z.ZodObject<{
56
56
  cc_email_ids: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
57
57
  status: z.ZodType<Status, z.ZodTypeDef, Status>;
58
58
  }, "strip", z.ZodTypeAny, {
59
- gps_live_track_share_link_id: string;
60
59
  status: Status;
61
60
  organisation_id: string;
62
61
  notification_channels: NotificationChannel[];
63
62
  mobile_numbers: string;
64
63
  email_ids: string;
65
64
  cc_email_ids: string;
66
- }, {
67
65
  gps_live_track_share_link_id: string;
66
+ }, {
68
67
  status: Status;
69
68
  organisation_id: string;
69
+ gps_live_track_share_link_id: string;
70
70
  notification_channels?: NotificationChannel[] | undefined;
71
71
  mobile_numbers?: string | undefined;
72
72
  email_ids?: string | undefined;
@@ -89,49 +89,49 @@ declare const GPSLiveTrackShareLinkSchema: z.ZodObject<{
89
89
  cc_email_ids: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
90
90
  status: z.ZodType<Status, z.ZodTypeDef, Status>;
91
91
  }, z.UnknownKeysParam, z.ZodTypeAny, {
92
- gps_live_track_share_link_id: string;
93
92
  status: Status;
94
93
  organisation_id: string;
95
94
  notification_channels: NotificationChannel[];
96
95
  mobile_numbers: string;
97
96
  email_ids: string;
98
97
  cc_email_ids: string;
99
- }, {
100
98
  gps_live_track_share_link_id: string;
99
+ }, {
101
100
  status: Status;
102
101
  organisation_id: string;
102
+ gps_live_track_share_link_id: string;
103
103
  notification_channels?: NotificationChannel[] | undefined;
104
104
  mobile_numbers?: string | undefined;
105
105
  email_ids?: string | undefined;
106
106
  cc_email_ids?: string | undefined;
107
107
  }>, "many">>>;
108
108
  }, "strip", z.ZodTypeAny, {
109
- link_type: LinkType;
110
109
  link_status: LinkStatus;
111
110
  status: Status;
112
111
  organisation_id: string;
113
112
  vehicle_id: string;
113
+ link_type: LinkType;
114
114
  expire_milliseconds: number;
115
115
  GPSLiveTrackShareLinkNotification: {
116
- gps_live_track_share_link_id: string;
117
116
  status: Status;
118
117
  organisation_id: string;
119
118
  notification_channels: NotificationChannel[];
120
119
  mobile_numbers: string;
121
120
  email_ids: string;
122
121
  cc_email_ids: string;
122
+ gps_live_track_share_link_id: string;
123
123
  }[];
124
124
  }, {
125
- link_type: LinkType;
126
125
  link_status: LinkStatus;
127
126
  status: Status;
128
127
  organisation_id: string;
129
128
  vehicle_id: string;
129
+ link_type: LinkType;
130
130
  expire_milliseconds?: unknown;
131
131
  GPSLiveTrackShareLinkNotification?: {
132
- gps_live_track_share_link_id: string;
133
132
  status: Status;
134
133
  organisation_id: string;
134
+ gps_live_track_share_link_id: string;
135
135
  notification_channels?: NotificationChannel[] | undefined;
136
136
  mobile_numbers?: string | undefined;
137
137
  email_ids?: string | undefined;
@@ -192,9 +192,9 @@ declare const GPSLiveTrackShareLinkQuerySchema: z.ZodObject<{
192
192
  link_status: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof LinkStatus>, "many">>>;
193
193
  gps_live_track_share_link_ids: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
194
194
  }, "strip", z.ZodTypeAny, {
195
- link_type: LinkType[];
196
195
  link_status: LinkStatus[];
197
196
  status: Status[];
197
+ time_zone_id: string;
198
198
  search: string;
199
199
  paging: PAGING;
200
200
  page_count: number;
@@ -214,14 +214,13 @@ declare const GPSLiveTrackShareLinkQuerySchema: z.ZodObject<{
214
214
  }[];
215
215
  include_master_data: YesNo;
216
216
  date_format_id: string;
217
- time_zone_id: string;
218
217
  organisation_ids: string[];
219
218
  vehicle_ids: string[];
219
+ link_type: LinkType[];
220
220
  gps_live_track_share_link_ids: string[];
221
221
  }, {
222
- date_format_id: string;
223
222
  time_zone_id: string;
224
- link_type?: LinkType[] | undefined;
223
+ date_format_id: string;
225
224
  link_status?: LinkStatus[] | undefined;
226
225
  status?: Status[] | undefined;
227
226
  search?: string | undefined;
@@ -244,6 +243,7 @@ declare const GPSLiveTrackShareLinkQuerySchema: z.ZodObject<{
244
243
  include_master_data?: YesNo | undefined;
245
244
  organisation_ids?: string[] | undefined;
246
245
  vehicle_ids?: string[] | undefined;
246
+ link_type?: LinkType[] | undefined;
247
247
  gps_live_track_share_link_ids?: string[] | undefined;
248
248
  }>;
249
249
  type GPSLiveTrackShareLinkQueryDTO = z.infer<typeof GPSLiveTrackShareLinkQuerySchema>;