vms-nest-prisma-api-document 32.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 (85) hide show
  1. package/dist/core/Enums.d.ts +0 -4
  2. package/dist/core/Enums.js +0 -4
  3. package/dist/services/account/analytics/user_login_analytics_service.d.ts +3 -3
  4. package/dist/services/account/analytics/user_page_analytics_service.d.ts +1 -1
  5. package/dist/services/account/bookmark_service.d.ts +11 -11
  6. package/dist/services/account/notification_preferences.service.d.ts +18 -18
  7. package/dist/services/account/notification_preferences.service.js +0 -2
  8. package/dist/services/account/report_preferences.service.d.ts +16 -13
  9. package/dist/services/account/report_preferences.service.js +2 -4
  10. package/dist/services/account/ticket_service.d.ts +3 -3
  11. package/dist/services/fleet/fuel_management/fleet_fuel_daily_summary_service.d.ts +1 -1
  12. package/dist/services/fleet/fuel_management/fleet_fuel_refill_service.d.ts +1 -1
  13. package/dist/services/fleet/fuel_management/fleet_fuel_removal_service.d.ts +1 -1
  14. package/dist/services/gps/features/geofence/gps_geofence_service.d.ts +3 -3
  15. package/dist/services/gps/features/geofence/gps_geofence_transaction_service.d.ts +9 -9
  16. package/dist/services/gps/features/geofence/gps_geofence_transaction_summary_service.d.ts +6 -6
  17. package/dist/services/gps/features/geofence/trip_geofence_to_geofence_service.d.ts +12 -12
  18. package/dist/services/gps/features/gps_live_track_share_link_service.d.ts +1 -1
  19. package/dist/services/gps/features/gps_live_track_share_link_service.js +0 -2
  20. package/dist/services/gps/features/gps_track_history_share_link_service.d.ts +1 -1
  21. package/dist/services/gps/features/gps_track_history_share_link_service.js +0 -2
  22. package/dist/services/main/devices/master_device_service.d.ts +1 -1
  23. package/dist/services/main/drivers/master_driver_service.d.ts +1 -1
  24. package/dist/services/main/sims/master_sim_service.d.ts +1 -1
  25. package/dist/services/main/users/auth_service.d.ts +1 -1
  26. package/dist/services/main/users/user_organisation_service.d.ts +1 -1
  27. package/dist/services/main/users/user_service.d.ts +1 -1
  28. package/dist/services/main/users/user_service.js +1 -1
  29. package/dist/services/main/vehicle/childs/vehicle_odometer_history.d.ts +1 -1
  30. package/dist/services/main/vehicle/master_vehicle_service.d.ts +1 -1
  31. package/dist/services/master/device/master_device_manufacturer_service.d.ts +1 -1
  32. package/dist/services/master/device/master_device_model_service.d.ts +1 -1
  33. package/dist/services/master/device/master_device_type_service.d.ts +1 -1
  34. package/dist/services/master/expense/master_expense_name_service.d.ts +1 -1
  35. package/dist/services/master/expense/master_expense_type_service.d.ts +1 -1
  36. package/dist/services/master/expense/master_fuel_company_service.d.ts +6 -6
  37. package/dist/services/master/expense/master_vendor_document_type_service.d.ts +3 -3
  38. package/dist/services/master/expense/master_vendor_type_service.d.ts +1 -1
  39. package/dist/services/master/fleet/master_fleet_incident_severity_service.d.ts +1 -1
  40. package/dist/services/master/fleet/master_fleet_incident_status_service.d.ts +1 -1
  41. package/dist/services/master/fleet/master_fleet_incident_type_service.d.ts +1 -1
  42. package/dist/services/master/fleet/master_fleet_insurance_claim_status_service.d.ts +1 -1
  43. package/dist/services/master/fleet/master_fleet_service_task_service.d.ts +1 -1
  44. package/dist/services/master/main/master_main_country_service.d.ts +1 -1
  45. package/dist/services/master/main/master_main_currency_service.d.ts +1 -1
  46. package/dist/services/master/main/master_main_date_format_service.d.ts +1 -1
  47. package/dist/services/master/main/master_main_eway_bill_provider_service.d.ts +2 -2
  48. package/dist/services/master/main/master_main_fasttag_bank_service.d.ts +2 -2
  49. package/dist/services/master/main/master_main_industry_service.d.ts +1 -1
  50. package/dist/services/master/main/master_main_landmark_service.d.ts +3 -3
  51. package/dist/services/master/main/master_main_language_service.d.ts +1 -1
  52. package/dist/services/master/main/master_main_state_service.d.ts +1 -1
  53. package/dist/services/master/main/master_main_timezone_service.d.ts +1 -1
  54. package/dist/services/master/main/master_main_unit_distance_service.d.ts +1 -1
  55. package/dist/services/master/main/master_main_unit_mileage_service.d.ts +1 -1
  56. package/dist/services/master/main/master_main_unit_volume_service.d.ts +1 -1
  57. package/dist/services/master/organisation/organisation_branch_service.d.ts +1 -1
  58. package/dist/services/master/organisation/organisation_color_service.d.ts +1 -1
  59. package/dist/services/master/organisation/organisation_group_service.d.ts +1 -1
  60. package/dist/services/master/organisation/organisation_sub_company_service.d.ts +1 -1
  61. package/dist/services/master/organisation/organisation_tag_service.d.ts +1 -1
  62. package/dist/services/master/spare_part/master_spare_part_category_service.d.ts +1 -1
  63. package/dist/services/master/spare_part/master_spare_part_sub_category_service.d.ts +1 -1
  64. package/dist/services/master/spare_part/master_spare_part_unit_service.d.ts +1 -1
  65. package/dist/services/master/trip/master_trip_party_type_service.d.ts +1 -1
  66. package/dist/services/master/tyre/master_tyre_grade_service.d.ts +1 -1
  67. package/dist/services/master/tyre/master_tyre_make_service.d.ts +1 -1
  68. package/dist/services/master/tyre/master_tyre_model_service.d.ts +1 -1
  69. package/dist/services/master/user/master_user_role_service.d.ts +1 -1
  70. package/dist/services/master/user/master_user_status_service.d.ts +1 -1
  71. package/dist/services/master/vehicle/master_vehicle_associated_to_service.d.ts +1 -1
  72. package/dist/services/master/vehicle/master_vehicle_document_type_service.d.ts +1 -1
  73. package/dist/services/master/vehicle/master_vehicle_fuel_removal_reason_service.d.ts +1 -1
  74. package/dist/services/master/vehicle/master_vehicle_fuel_type_service.d.ts +1 -1
  75. package/dist/services/master/vehicle/master_vehicle_fuel_unit_service.d.ts +1 -1
  76. package/dist/services/master/vehicle/master_vehicle_make_service.d.ts +1 -1
  77. package/dist/services/master/vehicle/master_vehicle_model_service.d.ts +1 -1
  78. package/dist/services/master/vehicle/master_vehicle_ownership_type_service.d.ts +1 -1
  79. package/dist/services/master/vehicle/master_vehicle_status_type_service.d.ts +1 -1
  80. package/dist/services/master/vehicle/master_vehicle_sub_model_service.d.ts +1 -1
  81. package/dist/services/master/vehicle/master_vehicle_type_service.d.ts +1 -1
  82. package/dist/services/website/contact_us_detail_service.d.ts +1 -1
  83. package/dist/services/website/faq_service.d.ts +1 -1
  84. package/package.json +1 -1
  85. package/dist/{user_organisation_service-Da1BdaCu.d.ts → user_organisation_service-DqZC6EYi.d.ts} +29 -29
@@ -164,13 +164,9 @@ declare enum NotificationList {
164
164
  }
165
165
  declare enum NotificationChannel {
166
166
  Push = "Push",
167
- WhatsApp = "WhatsApp",
168
- SMS = "SMS",
169
167
  Email = "Email"
170
168
  }
171
169
  declare enum ReportChannel {
172
- WhatsApp = "WhatsApp",
173
- SMS = "SMS",
174
170
  Email = "Email"
175
171
  }
176
172
  declare enum ReportType {
@@ -193,14 +193,10 @@ var NotificationList = /* @__PURE__ */ ((NotificationList2) => {
193
193
  })(NotificationList || {});
194
194
  var NotificationChannel = /* @__PURE__ */ ((NotificationChannel2) => {
195
195
  NotificationChannel2["Push"] = "Push";
196
- NotificationChannel2["WhatsApp"] = "WhatsApp";
197
- NotificationChannel2["SMS"] = "SMS";
198
196
  NotificationChannel2["Email"] = "Email";
199
197
  return NotificationChannel2;
200
198
  })(NotificationChannel || {});
201
199
  var ReportChannel = /* @__PURE__ */ ((ReportChannel2) => {
202
- ReportChannel2["WhatsApp"] = "WhatsApp";
203
- ReportChannel2["SMS"] = "SMS";
204
200
  ReportChannel2["Email"] = "Email";
205
201
  return ReportChannel2;
206
202
  })(ReportChannel || {});
@@ -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
- login_from: LoginFrom;
26
25
  country_id: string;
26
+ login_from: LoginFrom;
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
- login_from: LoginFrom;
33
32
  country_id: string;
33
+ login_from: LoginFrom;
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;
51
52
  search: string;
52
53
  paging: PAGING;
53
54
  page_count: number;
54
55
  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;
46
47
  search: string;
47
48
  paging: PAGING;
48
49
  page_count: number;
49
50
  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-Da1BdaCu.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
- 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,8 +105,8 @@ 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
- user_ids: string[];
110
110
  search: string;
111
111
  paging: PAGING;
112
112
  page_count: number;
@@ -128,13 +128,13 @@ declare const BookMarkQuerySchema: z.ZodObject<{
128
128
  date_format_id: string;
129
129
  time_zone_id: string;
130
130
  organisation_ids: string[];
131
- menu_type: MenuType[];
131
+ user_ids: string[];
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
- user_ids?: string[] | undefined;
138
138
  search?: string | undefined;
139
139
  paging?: PAGING | undefined;
140
140
  page_count?: unknown;
@@ -154,7 +154,7 @@ declare const BookMarkQuerySchema: z.ZodObject<{
154
154
  }[] | undefined;
155
155
  include_master_data?: YesNo | undefined;
156
156
  organisation_ids?: string[] | undefined;
157
- menu_type?: MenuType[] | undefined;
157
+ user_ids?: string[] | 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-Da1BdaCu.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,6 +85,12 @@ 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
+ status: Status;
89
+ organisation_id: string;
90
+ user_ids: string[];
91
+ vehicle_ids: string[];
92
+ all_vehicles: YesNo;
93
+ gps_geofence_ids: string[];
88
94
  notification_name: string;
89
95
  notification_status: OnOff;
90
96
  notification_channels: NotificationChannel[];
@@ -95,29 +101,23 @@ declare const OrganisationNotificationPreferenceSchema: z.ZodObject<{
95
101
  notification_list: NotificationList[];
96
102
  over_speed_limit: number;
97
103
  all_geofences: YesNo;
98
- all_vehicles: YesNo;
104
+ }, {
99
105
  status: Status;
100
106
  organisation_id: string;
101
- user_ids: string[];
102
- gps_geofence_ids: string[];
103
- vehicle_ids: string[];
104
- }, {
107
+ all_vehicles: YesNo;
105
108
  notification_name: string;
106
109
  notification_status: OnOff;
107
110
  all_users: YesNo;
108
111
  all_geofences: YesNo;
109
- all_vehicles: YesNo;
110
- status: Status;
111
- organisation_id: string;
112
+ user_ids?: string[] | undefined;
113
+ vehicle_ids?: string[] | undefined;
114
+ gps_geofence_ids?: string[] | undefined;
112
115
  notification_channels?: NotificationChannel[] | undefined;
113
116
  mobile_numbers?: string | undefined;
114
117
  email_ids?: string | undefined;
115
118
  cc_email_ids?: string | undefined;
116
119
  notification_list?: NotificationList[] | undefined;
117
120
  over_speed_limit?: unknown;
118
- user_ids?: string[] | undefined;
119
- gps_geofence_ids?: string[] | undefined;
120
- vehicle_ids?: string[] | undefined;
121
121
  }>;
122
122
  type OrganisationNotificationPreferenceDTO = z.infer<typeof OrganisationNotificationPreferenceSchema>;
123
123
  declare const OrganisationNotificationPreferenceQuerySchema: z.ZodObject<{
@@ -157,9 +157,6 @@ declare const OrganisationNotificationPreferenceQuerySchema: z.ZodObject<{
157
157
  notification_channels: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof NotificationChannel>, "many">>>;
158
158
  notification_list: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof NotificationList>, "many">>>;
159
159
  }, "strip", z.ZodTypeAny, {
160
- notification_status: OnOff[];
161
- notification_channels: NotificationChannel[];
162
- notification_list: NotificationList[];
163
160
  status: Status[];
164
161
  search: string;
165
162
  paging: PAGING;
@@ -182,13 +179,13 @@ declare const OrganisationNotificationPreferenceQuerySchema: z.ZodObject<{
182
179
  date_format_id: string;
183
180
  time_zone_id: string;
184
181
  organisation_ids: string[];
182
+ notification_status: OnOff[];
183
+ notification_channels: NotificationChannel[];
184
+ notification_list: NotificationList[];
185
185
  notification_preference_ids: string[];
186
186
  }, {
187
187
  date_format_id: string;
188
188
  time_zone_id: string;
189
- notification_status?: OnOff[] | undefined;
190
- notification_channels?: NotificationChannel[] | undefined;
191
- notification_list?: NotificationList[] | undefined;
192
189
  status?: Status[] | undefined;
193
190
  search?: string | undefined;
194
191
  paging?: PAGING | undefined;
@@ -209,6 +206,9 @@ declare const OrganisationNotificationPreferenceQuerySchema: z.ZodObject<{
209
206
  }[] | undefined;
210
207
  include_master_data?: YesNo | undefined;
211
208
  organisation_ids?: string[] | undefined;
209
+ notification_status?: OnOff[] | undefined;
210
+ notification_channels?: NotificationChannel[] | undefined;
211
+ notification_list?: NotificationList[] | undefined;
212
212
  notification_preference_ids?: string[] | undefined;
213
213
  }>;
214
214
  type OrganisationNotificationPreferenceQueryDTO = z.infer<typeof OrganisationNotificationPreferenceQuerySchema>;
@@ -217,8 +217,6 @@ var NotificationList = /* @__PURE__ */ ((NotificationList2) => {
217
217
  })(NotificationList || {});
218
218
  var NotificationChannel = /* @__PURE__ */ ((NotificationChannel2) => {
219
219
  NotificationChannel2["Push"] = "Push";
220
- NotificationChannel2["WhatsApp"] = "WhatsApp";
221
- NotificationChannel2["SMS"] = "SMS";
222
220
  NotificationChannel2["Email"] = "Email";
223
221
  return NotificationChannel2;
224
222
  })(NotificationChannel || {});
@@ -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-Da1BdaCu.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;
@@ -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, {
178
- mobile_numbers: string;
179
- email_ids: string;
180
- cc_email_ids: string;
181
- all_vehicles: YesNo;
182
181
  status: Status;
183
182
  organisation_id: string;
184
183
  vehicle_ids: string[];
184
+ all_vehicles: YesNo;
185
+ mobile_numbers: string;
186
+ email_ids: string;
187
+ cc_email_ids: string;
185
188
  report_name: string;
186
189
  report_status: OnOff;
187
190
  report_types: ReportType[];
188
191
  report_list: ReportList[];
189
- report_channels: ReportChannel[];
192
+ report_channels: ReportChannel.Email[];
190
193
  }, {
191
- all_vehicles: YesNo;
192
194
  status: Status;
193
195
  organisation_id: string;
196
+ all_vehicles: YesNo;
194
197
  report_name: string;
195
198
  report_status: OnOff;
199
+ vehicle_ids?: string[] | undefined;
196
200
  mobile_numbers?: string | undefined;
197
201
  email_ids?: string | undefined;
198
202
  cc_email_ids?: string | undefined;
199
- vehicle_ids?: string[] | undefined;
200
203
  report_types?: ReportType[] | undefined;
201
204
  report_list?: ReportList[] | undefined;
202
- report_channels?: ReportChannel[] | undefined;
205
+ report_channels?: ReportChannel.Email[] | undefined;
203
206
  }>;
204
207
  type OrganisationReportPreferenceDTO = z.infer<typeof OrganisationReportPreferenceSchema>;
205
208
  declare const OrganisationReportPreferenceQuerySchema: z.ZodObject<{
@@ -265,7 +268,7 @@ declare const OrganisationReportPreferenceQuerySchema: z.ZodObject<{
265
268
  report_status: OnOff[];
266
269
  report_types: ReportType[];
267
270
  report_list: ReportList[];
268
- report_channels: ReportChannel[];
271
+ report_channels: ReportChannel.Email[];
269
272
  report_preference_ids: string[];
270
273
  }, {
271
274
  date_format_id: string;
@@ -293,7 +296,7 @@ declare const OrganisationReportPreferenceQuerySchema: z.ZodObject<{
293
296
  report_status?: OnOff[] | undefined;
294
297
  report_types?: ReportType[] | undefined;
295
298
  report_list?: ReportList[] | undefined;
296
- report_channels?: ReportChannel[] | 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 };
@@ -220,8 +220,6 @@ var ReportList = /* @__PURE__ */ ((ReportList2) => {
220
220
  return ReportList2;
221
221
  })(ReportList || {});
222
222
  var ReportChannel = /* @__PURE__ */ ((ReportChannel2) => {
223
- ReportChannel2["WhatsApp"] = "WhatsApp";
224
- ReportChannel2["SMS"] = "SMS";
225
223
  ReportChannel2["Email"] = "Email";
226
224
  return ReportChannel2;
227
225
  })(ReportChannel || {});
@@ -406,7 +404,7 @@ var updateOrganisationReportPreference = async (id, data) => {
406
404
  var deleteOrganisationReportPreference = async (id) => {
407
405
  return apiDelete(ENDPOINTS.delete(id));
408
406
  };
409
- var findUserReportAutomationMail = async (data) => {
407
+ var findOrganisationReportAutomationMail = async (data) => {
410
408
  return apiPost(ENDPOINTS.find_automation_mail, data);
411
409
  };
412
410
  export {
@@ -415,8 +413,8 @@ export {
415
413
  OrganisationReportPreferenceSchema,
416
414
  createOrganisationReportPreference,
417
415
  deleteOrganisationReportPreference,
416
+ findOrganisationReportAutomationMail,
418
417
  findOrganisationReportPreference,
419
- findUserReportAutomationMail,
420
418
  newOrganisationReportPreferencePayload,
421
419
  toOrganisationReportPreferencePayload,
422
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-Da1BdaCu.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
 
@@ -201,7 +201,6 @@ declare const TicketQuerySchema: z.ZodObject<{
201
201
  ticket_status: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof TicketStatus>, "many">>>;
202
202
  }, "strip", z.ZodTypeAny, {
203
203
  status: Status[];
204
- user_ids: string[];
205
204
  search: string;
206
205
  paging: PAGING;
207
206
  page_count: number;
@@ -223,6 +222,7 @@ declare const TicketQuerySchema: z.ZodObject<{
223
222
  date_format_id: string;
224
223
  time_zone_id: string;
225
224
  organisation_ids: string[];
225
+ user_ids: string[];
226
226
  admin_ids: string[];
227
227
  ticket_status: TicketStatus[];
228
228
  ticket_ids: string[];
@@ -230,7 +230,6 @@ declare const TicketQuerySchema: z.ZodObject<{
230
230
  date_format_id: string;
231
231
  time_zone_id: string;
232
232
  status?: Status[] | undefined;
233
- user_ids?: string[] | undefined;
234
233
  search?: string | undefined;
235
234
  paging?: PAGING | undefined;
236
235
  page_count?: unknown;
@@ -250,6 +249,7 @@ declare const TicketQuerySchema: z.ZodObject<{
250
249
  }[] | undefined;
251
250
  include_master_data?: YesNo | undefined;
252
251
  organisation_ids?: string[] | undefined;
252
+ user_ids?: string[] | undefined;
253
253
  admin_ids?: string[] | undefined;
254
254
  ticket_status?: TicketStatus[] | undefined;
255
255
  ticket_ids?: string[] | undefined;
@@ -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-Da1BdaCu.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-Da1BdaCu.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-Da1BdaCu.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-Da1BdaCu.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
 
@@ -172,7 +172,6 @@ declare const GPSGeofenceQuerySchema: z.ZodObject<{
172
172
  gps_geofence_ids: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
173
173
  }, "strip", z.ZodTypeAny, {
174
174
  status: Status[];
175
- gps_geofence_ids: string[];
176
175
  search: string;
177
176
  paging: PAGING;
178
177
  page_count: number;
@@ -196,11 +195,11 @@ declare const GPSGeofenceQuerySchema: z.ZodObject<{
196
195
  organisation_ids: string[];
197
196
  geofence_purpose_type: GeofencePurposeType[];
198
197
  geofence_type: GeofenceType[];
198
+ gps_geofence_ids: string[];
199
199
  }, {
200
200
  date_format_id: string;
201
201
  time_zone_id: string;
202
202
  status?: Status[] | undefined;
203
- gps_geofence_ids?: string[] | undefined;
204
203
  search?: string | undefined;
205
204
  paging?: PAGING | undefined;
206
205
  page_count?: unknown;
@@ -222,6 +221,7 @@ declare const GPSGeofenceQuerySchema: z.ZodObject<{
222
221
  organisation_ids?: string[] | undefined;
223
222
  geofence_purpose_type?: GeofencePurposeType[] | undefined;
224
223
  geofence_type?: GeofenceType[] | undefined;
224
+ gps_geofence_ids?: string[] | undefined;
225
225
  }>;
226
226
  type GPSGeofenceQueryDTO = z.infer<typeof GPSGeofenceQuerySchema>;
227
227
  declare const toGPSGeofencePayload: (data: GPSGeofence) => GPSGeofenceDTO;
@@ -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-Da1BdaCu.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-Da1BdaCu.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;