vms-nest-prisma-api-document 13.0.0 → 15.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 (82) hide show
  1. package/dist/core/Enums.d.ts +1 -1
  2. package/dist/core/Enums.js +1 -1
  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 +9 -9
  6. package/dist/services/account/ticket_service.d.ts +17 -17
  7. package/dist/services/fleet/fuel_management/fleet_fuel_daily_summary_service.d.ts +1 -1
  8. package/dist/services/fleet/fuel_management/fleet_fuel_refill_service.d.ts +1 -1
  9. package/dist/services/fleet/fuel_management/fleet_fuel_removal_service.d.ts +1 -1
  10. package/dist/services/gps/features/geofence/gps_geofence_service.d.ts +17 -17
  11. package/dist/services/gps/features/geofence/gps_geofence_transaction_service.d.ts +12 -12
  12. package/dist/services/gps/features/geofence/gps_geofence_transaction_summary_service.d.ts +15 -15
  13. package/dist/services/gps/features/geofence/trip_geofence_to_geofence_service.d.ts +8 -8
  14. package/dist/services/gps/features/gps_live_track_share_link_service.d.ts +1 -1
  15. package/dist/services/gps/features/gps_track_history_share_link_service.d.ts +1 -1
  16. package/dist/services/gps/features/user_notification_preferences.service.d.ts +1 -1
  17. package/dist/services/gps/features/user_report_preferences.service.d.ts +1 -1
  18. package/dist/services/gps/features/user_report_preferences.service.js +3 -3
  19. package/dist/services/gps/reports/gps_reports_mongo_service.d.ts +46 -46
  20. package/dist/services/main/devices/master_device_service.d.ts +1 -1
  21. package/dist/services/main/drivers/master_driver_service.d.ts +1 -1
  22. package/dist/services/main/sims/master_sim_service.d.ts +1 -1
  23. package/dist/services/main/users/auth_service.d.ts +1 -1
  24. package/dist/services/main/users/user_organisation_service.d.ts +1 -1
  25. package/dist/services/main/users/user_service.d.ts +1 -1
  26. package/dist/services/main/vehicle/childs/vehicle_odometer_history.d.ts +1 -1
  27. package/dist/services/main/vehicle/master_vehicle_service.d.ts +1 -1
  28. package/dist/services/master/device/master_device_manufacturer_service.d.ts +1 -1
  29. package/dist/services/master/device/master_device_model_service.d.ts +1 -1
  30. package/dist/services/master/device/master_device_type_service.d.ts +1 -1
  31. package/dist/services/master/expense/master_expense_name_service.d.ts +1 -1
  32. package/dist/services/master/expense/master_expense_type_service.d.ts +1 -1
  33. package/dist/services/master/expense/master_fuel_company_service.d.ts +1 -1
  34. package/dist/services/master/expense/master_vendor_document_type_service.d.ts +1 -1
  35. package/dist/services/master/expense/master_vendor_type_service.d.ts +1 -1
  36. package/dist/services/master/fleet/master_fleet_incident_severity_service.d.ts +1 -1
  37. package/dist/services/master/fleet/master_fleet_incident_status_service.d.ts +1 -1
  38. package/dist/services/master/fleet/master_fleet_incident_type_service.d.ts +1 -1
  39. package/dist/services/master/fleet/master_fleet_insurance_claim_status_service.d.ts +1 -1
  40. package/dist/services/master/fleet/master_fleet_service_task_service.d.ts +1 -1
  41. package/dist/services/master/main/master_main_country_service.d.ts +1 -1
  42. package/dist/services/master/main/master_main_currency_service.d.ts +1 -1
  43. package/dist/services/master/main/master_main_date_format_service.d.ts +1 -1
  44. package/dist/services/master/main/master_main_eway_bill_provider_service.d.ts +2 -2
  45. package/dist/services/master/main/master_main_fasttag_bank_service.d.ts +2 -2
  46. package/dist/services/master/main/master_main_industry_service.d.ts +1 -1
  47. package/dist/services/master/main/master_main_landmark_service.d.ts +1 -1
  48. package/dist/services/master/main/master_main_language_service.d.ts +1 -1
  49. package/dist/services/master/main/master_main_state_service.d.ts +1 -1
  50. package/dist/services/master/main/master_main_timezone_service.d.ts +1 -1
  51. package/dist/services/master/main/master_main_unit_distance_service.d.ts +1 -1
  52. package/dist/services/master/main/master_main_unit_mileage_service.d.ts +1 -1
  53. package/dist/services/master/main/master_main_unit_volume_service.d.ts +1 -1
  54. package/dist/services/master/organisation/organisation_branch_service.d.ts +1 -1
  55. package/dist/services/master/organisation/organisation_color_service.d.ts +1 -1
  56. package/dist/services/master/organisation/organisation_group_service.d.ts +1 -1
  57. package/dist/services/master/organisation/organisation_sub_company_service.d.ts +1 -1
  58. package/dist/services/master/organisation/organisation_tag_service.d.ts +1 -1
  59. package/dist/services/master/spare_part/master_spare_part_category_service.d.ts +1 -1
  60. package/dist/services/master/spare_part/master_spare_part_sub_category_service.d.ts +1 -1
  61. package/dist/services/master/spare_part/master_spare_part_unit_service.d.ts +1 -1
  62. package/dist/services/master/trip/master_trip_party_type_service.d.ts +1 -1
  63. package/dist/services/master/tyre/master_tyre_grade_service.d.ts +1 -1
  64. package/dist/services/master/tyre/master_tyre_make_service.d.ts +1 -1
  65. package/dist/services/master/tyre/master_tyre_model_service.d.ts +1 -1
  66. package/dist/services/master/user/master_user_role_service.d.ts +1 -1
  67. package/dist/services/master/user/master_user_status_service.d.ts +1 -1
  68. package/dist/services/master/vehicle/master_vehicle_associated_to_service.d.ts +1 -1
  69. package/dist/services/master/vehicle/master_vehicle_document_type_service.d.ts +1 -1
  70. package/dist/services/master/vehicle/master_vehicle_fuel_removal_reason_service.d.ts +1 -1
  71. package/dist/services/master/vehicle/master_vehicle_fuel_type_service.d.ts +1 -1
  72. package/dist/services/master/vehicle/master_vehicle_fuel_unit_service.d.ts +1 -1
  73. package/dist/services/master/vehicle/master_vehicle_make_service.d.ts +1 -1
  74. package/dist/services/master/vehicle/master_vehicle_model_service.d.ts +1 -1
  75. package/dist/services/master/vehicle/master_vehicle_ownership_type_service.d.ts +1 -1
  76. package/dist/services/master/vehicle/master_vehicle_status_type_service.d.ts +1 -1
  77. package/dist/services/master/vehicle/master_vehicle_sub_model_service.d.ts +1 -1
  78. package/dist/services/master/vehicle/master_vehicle_type_service.d.ts +1 -1
  79. package/dist/services/website/contact_us_detail_service.d.ts +1 -1
  80. package/dist/services/website/static_pages_service.d.ts +1 -1
  81. package/package.json +1 -1
  82. package/dist/{user_organisation_service-D2pCLN2b.d.ts → user_organisation_service-djKCoZTQ.d.ts} +3 -3
@@ -141,7 +141,7 @@ declare enum NotificationType {
141
141
  Push = "Push"
142
142
  }
143
143
  declare enum ReportPreference {
144
- AlVehiclesFullAnalysisReport = "AlVehiclesFullAnalysisReport",
144
+ AllVehiclesFullAnalysisReport = "AllVehiclesFullAnalysisReport",
145
145
  AllDriversPerformanceReport = "AllDriversPerformanceReport",
146
146
  MonthlyKilometersSummaryReport = "MonthlyKilometersSummaryReport",
147
147
  VehicleStoppageReport = "VehicleStoppageReport",
@@ -169,7 +169,7 @@ var NotificationType = /* @__PURE__ */ ((NotificationType2) => {
169
169
  return NotificationType2;
170
170
  })(NotificationType || {});
171
171
  var ReportPreference = /* @__PURE__ */ ((ReportPreference2) => {
172
- ReportPreference2["AlVehiclesFullAnalysisReport"] = "AlVehiclesFullAnalysisReport";
172
+ ReportPreference2["AllVehiclesFullAnalysisReport"] = "AllVehiclesFullAnalysisReport";
173
173
  ReportPreference2["AllDriversPerformanceReport"] = "AllDriversPerformanceReport";
174
174
  ReportPreference2["MonthlyKilometersSummaryReport"] = "MonthlyKilometersSummaryReport";
175
175
  ReportPreference2["VehicleStoppageReport"] = "VehicleStoppageReport";
@@ -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-D2pCLN2b.js';
4
+ import { U as UserOrganisation, a as User } from '../../user_organisation_service-djKCoZTQ.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 { 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-D2pCLN2b.js';
4
+ import { U as UserOrganisation, a as User } from '../../user_organisation_service-djKCoZTQ.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-D2pCLN2b.js';
4
+ import { U as UserOrganisation, a as User, M as MasterVehicle, b as MasterDriver, c as MasterDevice } from '../../../user_organisation_service-djKCoZTQ.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 { 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-D2pCLN2b.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-djKCoZTQ.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 { 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-D2pCLN2b.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-djKCoZTQ.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-D2pCLN2b.js';
4
+ import { U as UserOrganisation } from '../../../../user_organisation_service-djKCoZTQ.js';
5
5
  import '../../../../zod_utils/zod_base_schema.js';
6
6
  import '../../../master/main/master_main_sim_provider_service.js';
7
7
 
@@ -82,6 +82,9 @@ declare const GPSGeofenceSchema: z.ZodObject<{
82
82
  google_location: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
83
83
  status: z.ZodType<Status, z.ZodTypeDef, Status>;
84
84
  }, "strip", z.ZodTypeAny, {
85
+ status: Status;
86
+ organisation_id: string;
87
+ country_code: string;
85
88
  geofence_name: string;
86
89
  geofence_purpose_type: GeofencePurposeType;
87
90
  geofence_description: string;
@@ -99,25 +102,23 @@ declare const GPSGeofenceSchema: z.ZodObject<{
99
102
  state_province_region: string;
100
103
  postal_code: string;
101
104
  country: string;
102
- country_code: string;
103
105
  google_location: string;
104
- status: Status;
105
- organisation_id: string;
106
- radius_m?: number | undefined;
107
- radius_km?: number | undefined;
108
106
  latitude?: number | undefined;
109
107
  longitude?: number | undefined;
108
+ radius_m?: number | undefined;
109
+ radius_km?: number | undefined;
110
110
  }, {
111
+ status: Status;
112
+ organisation_id: string;
111
113
  geofence_name: string;
112
114
  geofence_purpose_type: GeofencePurposeType;
113
115
  geofence_type: GeofenceType;
114
- status: Status;
115
- organisation_id: string;
116
+ country_code?: string | undefined;
117
+ latitude?: unknown;
118
+ longitude?: unknown;
116
119
  geofence_description?: string | undefined;
117
120
  radius_m?: unknown;
118
121
  radius_km?: unknown;
119
- latitude?: unknown;
120
- longitude?: unknown;
121
122
  poliline_data?: {
122
123
  latitude?: unknown;
123
124
  longitude?: unknown;
@@ -131,7 +132,6 @@ declare const GPSGeofenceSchema: z.ZodObject<{
131
132
  state_province_region?: string | undefined;
132
133
  postal_code?: string | undefined;
133
134
  country?: string | undefined;
134
- country_code?: string | undefined;
135
135
  google_location?: string | undefined;
136
136
  }>;
137
137
  type GPSGeofenceDTO = z.infer<typeof GPSGeofenceSchema>;
@@ -171,9 +171,8 @@ declare const GPSGeofenceQuerySchema: z.ZodObject<{
171
171
  geofence_type: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof GeofenceType>, "many">>>;
172
172
  gps_geofence_ids: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
173
173
  }, "strip", z.ZodTypeAny, {
174
- geofence_purpose_type: GeofencePurposeType[];
175
- geofence_type: GeofenceType[];
176
174
  status: Status[];
175
+ time_zone_id: string;
177
176
  search: string;
178
177
  paging: PAGING;
179
178
  page_count: number;
@@ -193,14 +192,13 @@ declare const GPSGeofenceQuerySchema: z.ZodObject<{
193
192
  }[];
194
193
  include_master_data: YesNo;
195
194
  date_format_id: string;
196
- time_zone_id: string;
197
195
  organisation_ids: string[];
198
196
  gps_geofence_ids: string[];
197
+ geofence_purpose_type: GeofencePurposeType[];
198
+ geofence_type: GeofenceType[];
199
199
  }, {
200
- date_format_id: string;
201
200
  time_zone_id: string;
202
- geofence_purpose_type?: GeofencePurposeType[] | undefined;
203
- geofence_type?: GeofenceType[] | undefined;
201
+ date_format_id: string;
204
202
  status?: Status[] | undefined;
205
203
  search?: string | undefined;
206
204
  paging?: PAGING | undefined;
@@ -222,6 +220,8 @@ declare const GPSGeofenceQuerySchema: z.ZodObject<{
222
220
  include_master_data?: YesNo | undefined;
223
221
  organisation_ids?: string[] | undefined;
224
222
  gps_geofence_ids?: string[] | undefined;
223
+ geofence_purpose_type?: GeofencePurposeType[] | undefined;
224
+ geofence_type?: GeofenceType[] | 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-D2pCLN2b.js';
4
+ import { U as UserOrganisation, M as MasterVehicle, b as MasterDriver } from '../../../../user_organisation_service-djKCoZTQ.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,21 +36,21 @@ 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
- gps_geofence_id: string;
40
39
  status: Status;
41
40
  organisation_id: string;
42
- time_zone_id: string;
43
- driver_id: string;
44
41
  vehicle_id: string;
42
+ driver_id: string;
43
+ gps_geofence_id: string;
44
+ time_zone_id: string;
45
45
  geofence_status_type: GeofenceStatusType;
46
46
  geofence_time: string;
47
47
  }, {
48
- gps_geofence_id: string;
49
48
  status: Status;
50
49
  organisation_id: string;
51
- time_zone_id: string;
52
- driver_id: string;
53
50
  vehicle_id: string;
51
+ driver_id: string;
52
+ gps_geofence_id: string;
53
+ time_zone_id: string;
54
54
  geofence_status_type: GeofenceStatusType;
55
55
  geofence_time: string;
56
56
  }>;
@@ -95,6 +95,7 @@ declare const GPSGeofenceTransactionQuerySchema: z.ZodObject<{
95
95
  to_date: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
96
96
  }, "strip", z.ZodTypeAny, {
97
97
  status: Status[];
98
+ time_zone_id: string;
98
99
  search: string;
99
100
  paging: PAGING;
100
101
  page_count: number;
@@ -114,17 +115,16 @@ declare const GPSGeofenceTransactionQuerySchema: z.ZodObject<{
114
115
  }[];
115
116
  include_master_data: YesNo;
116
117
  date_format_id: string;
117
- time_zone_id: string;
118
118
  organisation_ids: string[];
119
- gps_geofence_ids: string[];
120
119
  vehicle_ids: string[];
121
120
  driver_ids: string[];
122
- geofence_status_type: GeofenceStatusType[];
121
+ gps_geofence_ids: string[];
123
122
  from_date: string;
124
123
  to_date: string;
124
+ geofence_status_type: GeofenceStatusType[];
125
125
  }, {
126
- date_format_id: string;
127
126
  time_zone_id: string;
127
+ date_format_id: string;
128
128
  from_date: string;
129
129
  to_date: string;
130
130
  status?: Status[] | undefined;
@@ -147,9 +147,9 @@ declare const GPSGeofenceTransactionQuerySchema: z.ZodObject<{
147
147
  }[] | undefined;
148
148
  include_master_data?: YesNo | undefined;
149
149
  organisation_ids?: string[] | undefined;
150
- gps_geofence_ids?: string[] | undefined;
151
150
  vehicle_ids?: string[] | undefined;
152
151
  driver_ids?: string[] | undefined;
152
+ gps_geofence_ids?: string[] | undefined;
153
153
  geofence_status_type?: GeofenceStatusType[] | undefined;
154
154
  }>;
155
155
  type GPSGeofenceTransactionQueryDTO = z.infer<typeof GPSGeofenceTransactionQuerySchema>;
@@ -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-D2pCLN2b.js';
4
+ import { U as UserOrganisation, M as MasterVehicle, b as MasterDriver } from '../../../../user_organisation_service-djKCoZTQ.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,27 +46,27 @@ 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
- gps_geofence_id: string;
50
- status: Status;
51
- organisation_id: string;
52
- time_zone_id: string;
53
- driver_id: string;
54
- vehicle_id: string;
55
49
  geofence_enter_date_time: string;
56
50
  geofence_exit_date_time: string;
57
51
  duration_seconds: number;
52
+ status: Status;
53
+ organisation_id: string;
54
+ vehicle_id: string;
55
+ driver_id: string;
56
+ gps_geofence_id: string;
58
57
  enter_gps_geofence_transaction_id: string;
59
58
  exit_gps_geofence_transaction_id: string;
59
+ time_zone_id: string;
60
60
  }, {
61
- gps_geofence_id: string;
61
+ geofence_enter_date_time: string;
62
62
  status: Status;
63
63
  organisation_id: string;
64
- time_zone_id: string;
65
- driver_id: string;
66
64
  vehicle_id: string;
67
- geofence_enter_date_time: string;
65
+ driver_id: string;
66
+ gps_geofence_id: string;
68
67
  enter_gps_geofence_transaction_id: string;
69
68
  exit_gps_geofence_transaction_id: string;
69
+ time_zone_id: string;
70
70
  geofence_exit_date_time?: string | undefined;
71
71
  duration_seconds?: unknown;
72
72
  }>;
@@ -110,6 +110,7 @@ declare const GPSGeofenceTransactionSummaryQuerySchema: z.ZodObject<{
110
110
  to_date: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
111
111
  }, "strip", z.ZodTypeAny, {
112
112
  status: Status[];
113
+ time_zone_id: string;
113
114
  search: string;
114
115
  paging: PAGING;
115
116
  page_count: number;
@@ -129,16 +130,15 @@ declare const GPSGeofenceTransactionSummaryQuerySchema: z.ZodObject<{
129
130
  }[];
130
131
  include_master_data: YesNo;
131
132
  date_format_id: string;
132
- time_zone_id: string;
133
133
  organisation_ids: string[];
134
- gps_geofence_ids: string[];
135
134
  vehicle_ids: string[];
136
135
  driver_ids: string[];
136
+ gps_geofence_ids: string[];
137
137
  from_date: string;
138
138
  to_date: string;
139
139
  }, {
140
- date_format_id: string;
141
140
  time_zone_id: string;
141
+ date_format_id: string;
142
142
  from_date: string;
143
143
  to_date: string;
144
144
  status?: Status[] | undefined;
@@ -161,9 +161,9 @@ declare const GPSGeofenceTransactionSummaryQuerySchema: z.ZodObject<{
161
161
  }[] | undefined;
162
162
  include_master_data?: YesNo | undefined;
163
163
  organisation_ids?: string[] | undefined;
164
- gps_geofence_ids?: string[] | undefined;
165
164
  vehicle_ids?: string[] | undefined;
166
165
  driver_ids?: string[] | undefined;
166
+ gps_geofence_ids?: string[] | undefined;
167
167
  }>;
168
168
  type GPSGeofenceTransactionSummaryQueryDTO = z.infer<typeof GPSGeofenceTransactionSummaryQuerySchema>;
169
169
  declare const toGPSGeofenceTransactionSummaryPayload: (data: GPSGeofenceTransactionSummary) => GPSGeofenceTransactionSummaryDTO;
@@ -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-D2pCLN2b.js';
4
+ import { U as UserOrganisation, M as MasterVehicle, b as MasterDriver } from '../../../../user_organisation_service-djKCoZTQ.js';
5
5
  import '../../../../zod_utils/zod_base_schema.js';
6
6
  import '../../../master/main/master_main_sim_provider_service.js';
7
7
 
@@ -55,12 +55,12 @@ 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
+ duration_seconds: number;
58
59
  status: Status;
59
60
  organisation_id: string;
60
- time_zone_id: string;
61
- driver_id: string;
62
61
  vehicle_id: string;
63
- duration_seconds: number;
62
+ driver_id: string;
63
+ time_zone_id: string;
64
64
  from_geofence_exit_date_time: string;
65
65
  to_geofence_enter_date_time: string;
66
66
  travel_duration_seconds: number;
@@ -73,9 +73,9 @@ declare const TripGeofenceToGeofenceSchema: z.ZodObject<{
73
73
  }, {
74
74
  status: Status;
75
75
  organisation_id: string;
76
- time_zone_id: string;
77
- driver_id: string;
78
76
  vehicle_id: string;
77
+ driver_id: string;
78
+ time_zone_id: string;
79
79
  from_geofence_exit_date_time: string;
80
80
  to_geofence_enter_date_time: string;
81
81
  from_geofence_id: string;
@@ -128,6 +128,7 @@ declare const TripGeofenceToGeofenceQuerySchema: z.ZodObject<{
128
128
  to_date: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
129
129
  }, "strip", z.ZodTypeAny, {
130
130
  status: Status[];
131
+ time_zone_id: string;
131
132
  search: string;
132
133
  paging: PAGING;
133
134
  page_count: number;
@@ -147,7 +148,6 @@ declare const TripGeofenceToGeofenceQuerySchema: z.ZodObject<{
147
148
  }[];
148
149
  include_master_data: YesNo;
149
150
  date_format_id: string;
150
- time_zone_id: string;
151
151
  organisation_ids: string[];
152
152
  vehicle_ids: string[];
153
153
  driver_ids: string[];
@@ -156,8 +156,8 @@ declare const TripGeofenceToGeofenceQuerySchema: z.ZodObject<{
156
156
  from_geofence_ids: string[];
157
157
  to_geofence_ids: string[];
158
158
  }, {
159
- date_format_id: string;
160
159
  time_zone_id: string;
160
+ date_format_id: string;
161
161
  from_date: string;
162
162
  to_date: string;
163
163
  status?: Status[] | undefined;
@@ -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-D2pCLN2b.js';
4
+ import { U as UserOrganisation, M as MasterVehicle } from '../../../user_organisation_service-djKCoZTQ.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 { 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-D2pCLN2b.js';
4
+ import { U as UserOrganisation, M as MasterVehicle } from '../../../user_organisation_service-djKCoZTQ.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 { OnOff, NotificationType, NotificationPreference, 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, a as User, M as MasterVehicle } from '../../../user_organisation_service-D2pCLN2b.js';
4
+ import { U as UserOrganisation, a as User, M as MasterVehicle } from '../../../user_organisation_service-djKCoZTQ.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 { OnOff, ReportType, ReportPreference, 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-D2pCLN2b.js';
4
+ import { U as UserOrganisation, M as MasterVehicle } from '../../../user_organisation_service-djKCoZTQ.js';
5
5
  import '../../../zod_utils/zod_base_schema.js';
6
6
  import '../../master/main/master_main_sim_provider_service.js';
7
7