vms-nest-prisma-api-document 22.0.0 → 23.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.
- package/dist/services/account/bookmark_service.d.ts +9 -9
- package/dist/services/account/ticket_service.d.ts +17 -17
- package/dist/services/fleet/fuel_management/fleet_fuel_daily_summary_service.d.ts +17 -17
- package/dist/services/fleet/fuel_management/fleet_fuel_refill_service.d.ts +32 -32
- package/dist/services/fleet/fuel_management/fleet_fuel_removal_service.d.ts +46 -46
- package/dist/services/gps/features/geofence/gps_geofence_service.d.ts +17 -17
- package/dist/services/gps/features/geofence/gps_geofence_transaction_service.d.ts +16 -16
- package/dist/services/gps/features/geofence/gps_geofence_transaction_summary_service.d.ts +11 -11
- package/dist/services/gps/features/geofence/trip_geofence_to_geofence_service.d.ts +7 -7
- package/dist/services/gps/features/gps_live_track_share_link_service.d.ts +18 -18
- package/dist/services/gps/features/gps_track_history_share_link_service.d.ts +7 -7
- package/dist/services/gps/features/user_notification_preferences.service.d.ts +12 -12
- package/dist/services/gps/features/user_report_preferences.service.d.ts +11 -11
- package/dist/services/gps/features/user_report_preferences.service.js +2 -1
- package/dist/services/main/devices/master_device_service.d.ts +1 -1
- package/dist/services/main/drivers/master_driver_service.d.ts +1 -1
- package/dist/services/main/sims/master_sim_service.d.ts +1 -1
- package/dist/services/main/users/auth_service.d.ts +1 -1
- package/dist/services/main/users/user_organisation_service.d.ts +1 -1
- package/dist/services/main/users/user_service.d.ts +1 -1
- package/dist/services/main/vehicle/childs/vehicle_odometer_history.d.ts +1 -1
- package/dist/services/main/vehicle/master_vehicle_service.d.ts +1 -1
- package/dist/services/master/device/master_device_manufacturer_service.d.ts +1 -1
- package/dist/services/master/device/master_device_model_service.d.ts +1 -1
- package/dist/services/master/device/master_device_type_service.d.ts +1 -1
- package/dist/services/master/expense/master_expense_name_service.d.ts +1 -1
- package/dist/services/master/expense/master_expense_type_service.d.ts +1 -1
- package/dist/services/master/expense/master_fuel_company_service.d.ts +1 -1
- package/dist/services/master/expense/master_vendor_document_type_service.d.ts +1 -1
- package/dist/services/master/expense/master_vendor_type_service.d.ts +1 -1
- package/dist/services/master/fleet/master_fleet_incident_severity_service.d.ts +1 -1
- package/dist/services/master/fleet/master_fleet_incident_status_service.d.ts +1 -1
- package/dist/services/master/fleet/master_fleet_incident_type_service.d.ts +1 -1
- package/dist/services/master/fleet/master_fleet_insurance_claim_status_service.d.ts +1 -1
- package/dist/services/master/fleet/master_fleet_service_task_service.d.ts +1 -1
- package/dist/services/master/main/master_main_country_service.d.ts +1 -1
- package/dist/services/master/main/master_main_currency_service.d.ts +1 -1
- package/dist/services/master/main/master_main_date_format_service.d.ts +1 -1
- package/dist/services/master/main/master_main_industry_service.d.ts +1 -1
- package/dist/services/master/main/master_main_landmark_service.d.ts +7 -7
- package/dist/services/master/main/master_main_language_service.d.ts +1 -1
- package/dist/services/master/main/master_main_state_service.d.ts +1 -1
- package/dist/services/master/main/master_main_timezone_service.d.ts +1 -1
- package/dist/services/master/main/master_main_unit_distance_service.d.ts +1 -1
- package/dist/services/master/main/master_main_unit_mileage_service.d.ts +1 -1
- package/dist/services/master/main/master_main_unit_volume_service.d.ts +1 -1
- package/dist/services/master/organisation/organisation_branch_service.d.ts +1 -1
- package/dist/services/master/organisation/organisation_color_service.d.ts +1 -1
- package/dist/services/master/organisation/organisation_group_service.d.ts +1 -1
- package/dist/services/master/organisation/organisation_sub_company_service.d.ts +1 -1
- package/dist/services/master/organisation/organisation_tag_service.d.ts +1 -1
- package/dist/services/master/spare_part/master_spare_part_category_service.d.ts +1 -1
- package/dist/services/master/spare_part/master_spare_part_sub_category_service.d.ts +1 -1
- package/dist/services/master/spare_part/master_spare_part_unit_service.d.ts +1 -1
- package/dist/services/master/trip/master_trip_party_type_service.d.ts +1 -1
- package/dist/services/master/tyre/master_tyre_grade_service.d.ts +1 -1
- package/dist/services/master/tyre/master_tyre_make_service.d.ts +1 -1
- package/dist/services/master/tyre/master_tyre_model_service.d.ts +1 -1
- package/dist/services/master/user/master_user_role_service.d.ts +1 -1
- package/dist/services/master/user/master_user_status_service.d.ts +1 -1
- package/dist/services/master/vehicle/master_vehicle_associated_to_service.d.ts +1 -1
- package/dist/services/master/vehicle/master_vehicle_document_type_service.d.ts +1 -1
- package/dist/services/master/vehicle/master_vehicle_fuel_removal_reason_service.d.ts +5 -5
- package/dist/services/master/vehicle/master_vehicle_fuel_type_service.d.ts +1 -1
- package/dist/services/master/vehicle/master_vehicle_fuel_unit_service.d.ts +1 -1
- package/dist/services/master/vehicle/master_vehicle_make_service.d.ts +1 -1
- package/dist/services/master/vehicle/master_vehicle_model_service.d.ts +1 -1
- package/dist/services/master/vehicle/master_vehicle_ownership_type_service.d.ts +1 -1
- package/dist/services/master/vehicle/master_vehicle_status_type_service.d.ts +1 -1
- package/dist/services/master/vehicle/master_vehicle_sub_model_service.d.ts +1 -1
- package/dist/services/master/vehicle/master_vehicle_type_service.d.ts +1 -1
- package/dist/services/website/contact_us_detail_service.d.ts +1 -1
- package/dist/services/website/static_pages_service.d.ts +1 -1
- package/package.json +1 -1
- package/dist/{user_organisation_service-D2pCLN2b.d.ts → user_organisation_service-djKCoZTQ.d.ts} +3 -3
|
@@ -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-
|
|
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';
|
|
@@ -84,6 +84,7 @@ declare const FleetFuelRemovalFileSchema: z.ZodObject<{
|
|
|
84
84
|
organisation_id: z.ZodEffects<z.ZodString, string, string>;
|
|
85
85
|
fleet_fuel_removal_id: z.ZodEffects<z.ZodString, string, string>;
|
|
86
86
|
}, "strip", z.ZodTypeAny, {
|
|
87
|
+
fleet_fuel_removal_id: string;
|
|
87
88
|
status: Status;
|
|
88
89
|
organisation_id: string;
|
|
89
90
|
usage_type: string;
|
|
@@ -94,13 +95,12 @@ declare const FleetFuelRemovalFileSchema: z.ZodObject<{
|
|
|
94
95
|
file_description: string;
|
|
95
96
|
file_size: number;
|
|
96
97
|
file_metadata: Record<string, any>;
|
|
97
|
-
fleet_fuel_removal_id: string;
|
|
98
98
|
}, {
|
|
99
|
+
fleet_fuel_removal_id: string;
|
|
99
100
|
status: Status;
|
|
100
101
|
organisation_id: string;
|
|
101
102
|
usage_type: string;
|
|
102
103
|
file_type: FileType;
|
|
103
|
-
fleet_fuel_removal_id: string;
|
|
104
104
|
file_url?: string | undefined;
|
|
105
105
|
file_key?: string | undefined;
|
|
106
106
|
file_name?: string | undefined;
|
|
@@ -152,6 +152,7 @@ declare const FleetFuelRemovalSchema: z.ZodObject<{
|
|
|
152
152
|
organisation_id: z.ZodEffects<z.ZodString, string, string>;
|
|
153
153
|
fleet_fuel_removal_id: z.ZodEffects<z.ZodString, string, string>;
|
|
154
154
|
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
155
|
+
fleet_fuel_removal_id: string;
|
|
155
156
|
status: Status;
|
|
156
157
|
organisation_id: string;
|
|
157
158
|
usage_type: string;
|
|
@@ -162,13 +163,12 @@ declare const FleetFuelRemovalSchema: z.ZodObject<{
|
|
|
162
163
|
file_description: string;
|
|
163
164
|
file_size: number;
|
|
164
165
|
file_metadata: Record<string, any>;
|
|
165
|
-
fleet_fuel_removal_id: string;
|
|
166
166
|
}, {
|
|
167
|
+
fleet_fuel_removal_id: string;
|
|
167
168
|
status: Status;
|
|
168
169
|
organisation_id: string;
|
|
169
170
|
usage_type: string;
|
|
170
171
|
file_type: FileType;
|
|
171
|
-
fleet_fuel_removal_id: string;
|
|
172
172
|
file_url?: string | undefined;
|
|
173
173
|
file_key?: string | undefined;
|
|
174
174
|
file_name?: string | undefined;
|
|
@@ -177,26 +177,26 @@ declare const FleetFuelRemovalSchema: z.ZodObject<{
|
|
|
177
177
|
file_metadata?: Record<string, any> | undefined;
|
|
178
178
|
}>, "many">>>;
|
|
179
179
|
}, "strip", z.ZodTypeAny, {
|
|
180
|
+
odometer_reading: number;
|
|
181
|
+
date_time: string;
|
|
182
|
+
admin_verify_status: GPSFuelApproveStatus;
|
|
183
|
+
transporter_verify_status: GPSFuelApproveStatus;
|
|
184
|
+
fuel_removal_reason_id: string;
|
|
185
|
+
removal_details: string;
|
|
186
|
+
entry_source: RefillEntrySource;
|
|
187
|
+
source_reference_id: string;
|
|
188
|
+
source_notes: string;
|
|
189
|
+
google_location: string;
|
|
180
190
|
status: Status;
|
|
181
191
|
organisation_id: string;
|
|
182
192
|
user_id: string;
|
|
183
193
|
vehicle_id: string;
|
|
184
194
|
driver_id: string;
|
|
185
195
|
device_id: string;
|
|
186
|
-
time_zone_id: string;
|
|
187
196
|
vehicle_fuel_type_id: string;
|
|
188
197
|
vehicle_fuel_unit_id: string;
|
|
189
|
-
odometer_reading: number;
|
|
190
|
-
google_location: string;
|
|
191
|
-
date_time: string;
|
|
192
|
-
admin_verify_status: GPSFuelApproveStatus;
|
|
193
|
-
transporter_verify_status: GPSFuelApproveStatus;
|
|
194
|
-
entry_source: RefillEntrySource;
|
|
195
|
-
source_reference_id: string;
|
|
196
|
-
source_notes: string;
|
|
197
|
-
fuel_removal_reason_id: string;
|
|
198
|
-
removal_details: string;
|
|
199
198
|
FleetFuelRemovalFile: {
|
|
199
|
+
fleet_fuel_removal_id: string;
|
|
200
200
|
status: Status;
|
|
201
201
|
organisation_id: string;
|
|
202
202
|
usage_type: string;
|
|
@@ -207,52 +207,52 @@ declare const FleetFuelRemovalSchema: z.ZodObject<{
|
|
|
207
207
|
file_description: string;
|
|
208
208
|
file_size: number;
|
|
209
209
|
file_metadata: Record<string, any>;
|
|
210
|
-
fleet_fuel_removal_id: string;
|
|
211
210
|
}[];
|
|
212
|
-
|
|
213
|
-
longitude?: number | undefined;
|
|
214
|
-
cost_per_unit?: number | undefined;
|
|
215
|
-
total_cost?: number | undefined;
|
|
211
|
+
time_zone_id: string;
|
|
216
212
|
before_removal_quantity?: number | undefined;
|
|
217
213
|
after_removal_quantity?: number | undefined;
|
|
218
214
|
removal_quantity?: number | undefined;
|
|
219
215
|
verified_removal_quantity?: number | undefined;
|
|
220
216
|
diff_removal_quantity?: number | undefined;
|
|
217
|
+
cost_per_unit?: number | undefined;
|
|
218
|
+
total_cost?: number | undefined;
|
|
219
|
+
latitude?: number | undefined;
|
|
220
|
+
longitude?: number | undefined;
|
|
221
221
|
}, {
|
|
222
|
+
date_time: string;
|
|
223
|
+
admin_verify_status: GPSFuelApproveStatus;
|
|
224
|
+
transporter_verify_status: GPSFuelApproveStatus;
|
|
225
|
+
fuel_removal_reason_id: string;
|
|
222
226
|
status: Status;
|
|
223
227
|
organisation_id: string;
|
|
224
228
|
user_id: string;
|
|
225
229
|
vehicle_id: string;
|
|
226
230
|
driver_id: string;
|
|
227
231
|
device_id: string;
|
|
228
|
-
time_zone_id: string;
|
|
229
232
|
vehicle_fuel_type_id: string;
|
|
230
233
|
vehicle_fuel_unit_id: string;
|
|
231
|
-
|
|
232
|
-
admin_verify_status: GPSFuelApproveStatus;
|
|
233
|
-
transporter_verify_status: GPSFuelApproveStatus;
|
|
234
|
-
fuel_removal_reason_id: string;
|
|
235
|
-
odometer_reading?: unknown;
|
|
236
|
-
latitude?: unknown;
|
|
237
|
-
longitude?: unknown;
|
|
238
|
-
google_location?: string | undefined;
|
|
239
|
-
cost_per_unit?: unknown;
|
|
240
|
-
total_cost?: unknown;
|
|
241
|
-
entry_source?: RefillEntrySource | undefined;
|
|
242
|
-
source_reference_id?: string | undefined;
|
|
243
|
-
source_notes?: string | undefined;
|
|
234
|
+
time_zone_id: string;
|
|
244
235
|
before_removal_quantity?: unknown;
|
|
245
236
|
after_removal_quantity?: unknown;
|
|
246
237
|
removal_quantity?: unknown;
|
|
247
238
|
verified_removal_quantity?: unknown;
|
|
248
239
|
diff_removal_quantity?: unknown;
|
|
240
|
+
odometer_reading?: unknown;
|
|
241
|
+
cost_per_unit?: unknown;
|
|
242
|
+
total_cost?: unknown;
|
|
249
243
|
removal_details?: string | undefined;
|
|
244
|
+
entry_source?: RefillEntrySource | undefined;
|
|
245
|
+
source_reference_id?: string | undefined;
|
|
246
|
+
source_notes?: string | undefined;
|
|
247
|
+
latitude?: unknown;
|
|
248
|
+
longitude?: unknown;
|
|
249
|
+
google_location?: string | undefined;
|
|
250
250
|
FleetFuelRemovalFile?: {
|
|
251
|
+
fleet_fuel_removal_id: string;
|
|
251
252
|
status: Status;
|
|
252
253
|
organisation_id: string;
|
|
253
254
|
usage_type: string;
|
|
254
255
|
file_type: FileType;
|
|
255
|
-
fleet_fuel_removal_id: string;
|
|
256
256
|
file_url?: string | undefined;
|
|
257
257
|
file_key?: string | undefined;
|
|
258
258
|
file_name?: string | undefined;
|
|
@@ -307,7 +307,11 @@ declare const FleetFuelRemovalQuerySchema: z.ZodObject<{
|
|
|
307
307
|
from_date: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
308
308
|
to_date: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
309
309
|
}, "strip", z.ZodTypeAny, {
|
|
310
|
+
admin_verify_status: GPSFuelApproveStatus[];
|
|
311
|
+
transporter_verify_status: GPSFuelApproveStatus[];
|
|
312
|
+
entry_source: RefillEntrySource[];
|
|
310
313
|
status: Status[];
|
|
314
|
+
time_zone_id: string;
|
|
311
315
|
search: string;
|
|
312
316
|
paging: PAGING;
|
|
313
317
|
page_count: number;
|
|
@@ -327,25 +331,24 @@ declare const FleetFuelRemovalQuerySchema: z.ZodObject<{
|
|
|
327
331
|
}[];
|
|
328
332
|
include_master_data: YesNo;
|
|
329
333
|
date_format_id: string;
|
|
330
|
-
time_zone_id: string;
|
|
331
334
|
organisation_ids: string[];
|
|
332
335
|
user_ids: string[];
|
|
333
336
|
vehicle_ids: string[];
|
|
334
337
|
driver_ids: string[];
|
|
335
338
|
device_ids: string[];
|
|
336
|
-
from_date: string;
|
|
337
|
-
to_date: string;
|
|
338
339
|
vehicle_fuel_type_ids: string[];
|
|
339
|
-
admin_verify_status: GPSFuelApproveStatus[];
|
|
340
|
-
transporter_verify_status: GPSFuelApproveStatus[];
|
|
341
|
-
entry_source: RefillEntrySource[];
|
|
342
340
|
vehicle_fuel_unit_ids: string[];
|
|
343
341
|
fuel_removal_reason_ids: string[];
|
|
342
|
+
from_date: string;
|
|
343
|
+
to_date: string;
|
|
344
344
|
}, {
|
|
345
|
-
date_format_id: string;
|
|
346
345
|
time_zone_id: string;
|
|
346
|
+
date_format_id: string;
|
|
347
347
|
from_date: string;
|
|
348
348
|
to_date: string;
|
|
349
|
+
admin_verify_status?: GPSFuelApproveStatus[] | undefined;
|
|
350
|
+
transporter_verify_status?: GPSFuelApproveStatus[] | undefined;
|
|
351
|
+
entry_source?: RefillEntrySource[] | undefined;
|
|
349
352
|
status?: Status[] | undefined;
|
|
350
353
|
search?: string | undefined;
|
|
351
354
|
paging?: PAGING | undefined;
|
|
@@ -371,9 +374,6 @@ declare const FleetFuelRemovalQuerySchema: z.ZodObject<{
|
|
|
371
374
|
driver_ids?: string[] | undefined;
|
|
372
375
|
device_ids?: string[] | undefined;
|
|
373
376
|
vehicle_fuel_type_ids?: string[] | undefined;
|
|
374
|
-
admin_verify_status?: GPSFuelApproveStatus[] | undefined;
|
|
375
|
-
transporter_verify_status?: GPSFuelApproveStatus[] | undefined;
|
|
376
|
-
entry_source?: RefillEntrySource[] | undefined;
|
|
377
377
|
vehicle_fuel_unit_ids?: string[] | undefined;
|
|
378
378
|
fuel_removal_reason_ids?: string[] | undefined;
|
|
379
379
|
}>;
|
|
@@ -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-
|
|
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,9 +82,6 @@ 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;
|
|
88
85
|
geofence_name: string;
|
|
89
86
|
geofence_purpose_type: GeofencePurposeType;
|
|
90
87
|
geofence_description: string;
|
|
@@ -102,23 +99,25 @@ declare const GPSGeofenceSchema: z.ZodObject<{
|
|
|
102
99
|
state_province_region: string;
|
|
103
100
|
postal_code: string;
|
|
104
101
|
country: string;
|
|
102
|
+
country_code: string;
|
|
105
103
|
google_location: string;
|
|
106
|
-
|
|
107
|
-
|
|
104
|
+
status: Status;
|
|
105
|
+
organisation_id: string;
|
|
108
106
|
radius_m?: number | undefined;
|
|
109
107
|
radius_km?: number | undefined;
|
|
108
|
+
latitude?: number | undefined;
|
|
109
|
+
longitude?: number | undefined;
|
|
110
110
|
}, {
|
|
111
|
-
status: Status;
|
|
112
|
-
organisation_id: string;
|
|
113
111
|
geofence_name: string;
|
|
114
112
|
geofence_purpose_type: GeofencePurposeType;
|
|
115
113
|
geofence_type: GeofenceType;
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
longitude?: unknown;
|
|
114
|
+
status: Status;
|
|
115
|
+
organisation_id: string;
|
|
119
116
|
geofence_description?: string | undefined;
|
|
120
117
|
radius_m?: unknown;
|
|
121
118
|
radius_km?: unknown;
|
|
119
|
+
latitude?: unknown;
|
|
120
|
+
longitude?: unknown;
|
|
122
121
|
poliline_data?: {
|
|
123
122
|
latitude?: unknown;
|
|
124
123
|
longitude?: unknown;
|
|
@@ -132,6 +131,7 @@ declare const GPSGeofenceSchema: z.ZodObject<{
|
|
|
132
131
|
state_province_region?: string | undefined;
|
|
133
132
|
postal_code?: string | undefined;
|
|
134
133
|
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,8 +171,9 @@ 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[];
|
|
174
176
|
status: Status[];
|
|
175
|
-
time_zone_id: string;
|
|
176
177
|
search: string;
|
|
177
178
|
paging: PAGING;
|
|
178
179
|
page_count: number;
|
|
@@ -192,13 +193,14 @@ declare const GPSGeofenceQuerySchema: z.ZodObject<{
|
|
|
192
193
|
}[];
|
|
193
194
|
include_master_data: YesNo;
|
|
194
195
|
date_format_id: string;
|
|
196
|
+
time_zone_id: string;
|
|
195
197
|
organisation_ids: string[];
|
|
196
198
|
gps_geofence_ids: string[];
|
|
197
|
-
geofence_purpose_type: GeofencePurposeType[];
|
|
198
|
-
geofence_type: GeofenceType[];
|
|
199
199
|
}, {
|
|
200
|
-
time_zone_id: string;
|
|
201
200
|
date_format_id: string;
|
|
201
|
+
time_zone_id: string;
|
|
202
|
+
geofence_purpose_type?: GeofencePurposeType[] | undefined;
|
|
203
|
+
geofence_type?: GeofenceType[] | undefined;
|
|
202
204
|
status?: Status[] | undefined;
|
|
203
205
|
search?: string | undefined;
|
|
204
206
|
paging?: PAGING | undefined;
|
|
@@ -220,8 +222,6 @@ declare const GPSGeofenceQuerySchema: z.ZodObject<{
|
|
|
220
222
|
include_master_data?: YesNo | undefined;
|
|
221
223
|
organisation_ids?: string[] | undefined;
|
|
222
224
|
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-
|
|
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,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
|
-
|
|
40
|
-
geofence_time: string;
|
|
39
|
+
gps_geofence_id: string;
|
|
41
40
|
status: Status;
|
|
42
41
|
organisation_id: string;
|
|
43
|
-
vehicle_id: string;
|
|
44
|
-
driver_id: string;
|
|
45
|
-
gps_geofence_id: string;
|
|
46
42
|
time_zone_id: string;
|
|
47
|
-
|
|
43
|
+
driver_id: string;
|
|
44
|
+
vehicle_id: string;
|
|
48
45
|
geofence_status_type: GeofenceStatusType;
|
|
49
46
|
geofence_time: string;
|
|
47
|
+
}, {
|
|
48
|
+
gps_geofence_id: string;
|
|
50
49
|
status: Status;
|
|
51
50
|
organisation_id: string;
|
|
52
|
-
vehicle_id: string;
|
|
53
|
-
driver_id: string;
|
|
54
|
-
gps_geofence_id: string;
|
|
55
51
|
time_zone_id: string;
|
|
52
|
+
driver_id: string;
|
|
53
|
+
vehicle_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,9 +94,7 @@ 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
|
-
time_zone_id: string;
|
|
100
98
|
search: string;
|
|
101
99
|
paging: PAGING;
|
|
102
100
|
page_count: number;
|
|
@@ -116,18 +114,19 @@ declare const GPSGeofenceTransactionQuerySchema: z.ZodObject<{
|
|
|
116
114
|
}[];
|
|
117
115
|
include_master_data: YesNo;
|
|
118
116
|
date_format_id: string;
|
|
117
|
+
time_zone_id: string;
|
|
119
118
|
organisation_ids: string[];
|
|
119
|
+
gps_geofence_ids: string[];
|
|
120
120
|
vehicle_ids: string[];
|
|
121
121
|
driver_ids: string[];
|
|
122
|
-
|
|
122
|
+
geofence_status_type: GeofenceStatusType[];
|
|
123
123
|
from_date: string;
|
|
124
124
|
to_date: string;
|
|
125
125
|
}, {
|
|
126
|
-
time_zone_id: string;
|
|
127
126
|
date_format_id: string;
|
|
127
|
+
time_zone_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;
|
|
@@ -148,9 +147,10 @@ declare const GPSGeofenceTransactionQuerySchema: z.ZodObject<{
|
|
|
148
147
|
}[] | undefined;
|
|
149
148
|
include_master_data?: YesNo | undefined;
|
|
150
149
|
organisation_ids?: string[] | undefined;
|
|
150
|
+
gps_geofence_ids?: string[] | undefined;
|
|
151
151
|
vehicle_ids?: string[] | undefined;
|
|
152
152
|
driver_ids?: string[] | undefined;
|
|
153
|
-
|
|
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-
|
|
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,24 +46,24 @@ 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;
|
|
49
50
|
status: Status;
|
|
50
51
|
organisation_id: string;
|
|
51
|
-
vehicle_id: string;
|
|
52
|
-
driver_id: string;
|
|
53
|
-
gps_geofence_id: string;
|
|
54
52
|
time_zone_id: string;
|
|
53
|
+
driver_id: string;
|
|
54
|
+
vehicle_id: string;
|
|
55
55
|
geofence_enter_date_time: string;
|
|
56
56
|
geofence_exit_date_time: string;
|
|
57
57
|
duration_seconds: number;
|
|
58
58
|
enter_gps_geofence_transaction_id: string;
|
|
59
59
|
exit_gps_geofence_transaction_id: string;
|
|
60
60
|
}, {
|
|
61
|
+
gps_geofence_id: string;
|
|
61
62
|
status: Status;
|
|
62
63
|
organisation_id: string;
|
|
63
|
-
vehicle_id: string;
|
|
64
|
-
driver_id: string;
|
|
65
|
-
gps_geofence_id: string;
|
|
66
64
|
time_zone_id: string;
|
|
65
|
+
driver_id: string;
|
|
66
|
+
vehicle_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;
|
|
@@ -110,7 +110,6 @@ 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;
|
|
114
113
|
search: string;
|
|
115
114
|
paging: PAGING;
|
|
116
115
|
page_count: number;
|
|
@@ -130,15 +129,16 @@ declare const GPSGeofenceTransactionSummaryQuerySchema: z.ZodObject<{
|
|
|
130
129
|
}[];
|
|
131
130
|
include_master_data: YesNo;
|
|
132
131
|
date_format_id: string;
|
|
132
|
+
time_zone_id: string;
|
|
133
133
|
organisation_ids: string[];
|
|
134
|
+
gps_geofence_ids: string[];
|
|
134
135
|
vehicle_ids: string[];
|
|
135
136
|
driver_ids: string[];
|
|
136
|
-
gps_geofence_ids: string[];
|
|
137
137
|
from_date: string;
|
|
138
138
|
to_date: string;
|
|
139
139
|
}, {
|
|
140
|
-
time_zone_id: string;
|
|
141
140
|
date_format_id: string;
|
|
141
|
+
time_zone_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;
|
|
164
165
|
vehicle_ids?: string[] | undefined;
|
|
165
166
|
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-
|
|
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
|
|
|
@@ -57,9 +57,9 @@ declare const TripGeofenceToGeofenceSchema: z.ZodObject<{
|
|
|
57
57
|
}, "strip", z.ZodTypeAny, {
|
|
58
58
|
status: Status;
|
|
59
59
|
organisation_id: string;
|
|
60
|
-
vehicle_id: string;
|
|
61
|
-
driver_id: string;
|
|
62
60
|
time_zone_id: string;
|
|
61
|
+
driver_id: string;
|
|
62
|
+
vehicle_id: string;
|
|
63
63
|
duration_seconds: number;
|
|
64
64
|
from_geofence_exit_date_time: string;
|
|
65
65
|
to_geofence_enter_date_time: string;
|
|
@@ -73,9 +73,9 @@ declare const TripGeofenceToGeofenceSchema: z.ZodObject<{
|
|
|
73
73
|
}, {
|
|
74
74
|
status: Status;
|
|
75
75
|
organisation_id: string;
|
|
76
|
-
vehicle_id: string;
|
|
77
|
-
driver_id: string;
|
|
78
76
|
time_zone_id: string;
|
|
77
|
+
driver_id: string;
|
|
78
|
+
vehicle_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,7 +128,6 @@ 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;
|
|
132
131
|
search: string;
|
|
133
132
|
paging: PAGING;
|
|
134
133
|
page_count: number;
|
|
@@ -148,6 +147,7 @@ declare const TripGeofenceToGeofenceQuerySchema: z.ZodObject<{
|
|
|
148
147
|
}[];
|
|
149
148
|
include_master_data: YesNo;
|
|
150
149
|
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
|
-
time_zone_id: string;
|
|
160
159
|
date_format_id: string;
|
|
160
|
+
time_zone_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-
|
|
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
|
|
|
@@ -42,16 +42,16 @@ declare const GPSLiveTrackShareLinkNotificationsSchema: z.ZodObject<{
|
|
|
42
42
|
to_recipients: z.ZodEffects<z.ZodString, string, string>;
|
|
43
43
|
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
44
44
|
}, "strip", z.ZodTypeAny, {
|
|
45
|
-
gps_live_track_share_link_id: string;
|
|
46
45
|
status: Status;
|
|
47
46
|
organisation_id: string;
|
|
48
47
|
type: NotificationType;
|
|
48
|
+
gps_live_track_share_link_id: string;
|
|
49
49
|
to_recipients: string;
|
|
50
50
|
}, {
|
|
51
|
-
gps_live_track_share_link_id: string;
|
|
52
51
|
status: Status;
|
|
53
52
|
organisation_id: string;
|
|
54
53
|
type: NotificationType;
|
|
54
|
+
gps_live_track_share_link_id: string;
|
|
55
55
|
to_recipients: string;
|
|
56
56
|
}>;
|
|
57
57
|
type GPSLiveTrackShareLinkNotificationsDTO = z.infer<typeof GPSLiveTrackShareLinkNotificationsSchema>;
|
|
@@ -73,52 +73,52 @@ declare const GPSLiveTrackShareLinkSchema: z.ZodObject<{
|
|
|
73
73
|
to_recipients: z.ZodEffects<z.ZodString, string, string>;
|
|
74
74
|
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
75
75
|
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
76
|
-
gps_live_track_share_link_id: string;
|
|
77
76
|
status: Status;
|
|
78
77
|
organisation_id: string;
|
|
79
78
|
type: NotificationType;
|
|
79
|
+
gps_live_track_share_link_id: string;
|
|
80
80
|
to_recipients: string;
|
|
81
81
|
}, {
|
|
82
|
-
gps_live_track_share_link_id: string;
|
|
83
82
|
status: Status;
|
|
84
83
|
organisation_id: string;
|
|
85
84
|
type: NotificationType;
|
|
85
|
+
gps_live_track_share_link_id: string;
|
|
86
86
|
to_recipients: string;
|
|
87
87
|
}>, "many">>>;
|
|
88
88
|
}, "strip", z.ZodTypeAny, {
|
|
89
|
-
link_type: LinkType;
|
|
90
|
-
location: string;
|
|
91
|
-
link_status: LinkStatus;
|
|
92
89
|
status: Status;
|
|
93
90
|
organisation_id: string;
|
|
94
91
|
vehicle_id: string;
|
|
92
|
+
link_type: LinkType;
|
|
93
|
+
location: string;
|
|
94
|
+
link_status: LinkStatus;
|
|
95
95
|
trip_id: string;
|
|
96
96
|
expire_milliseconds: number;
|
|
97
97
|
notifications: {
|
|
98
|
-
gps_live_track_share_link_id: string;
|
|
99
98
|
status: Status;
|
|
100
99
|
organisation_id: string;
|
|
101
100
|
type: NotificationType;
|
|
101
|
+
gps_live_track_share_link_id: string;
|
|
102
102
|
to_recipients: string;
|
|
103
103
|
}[];
|
|
104
104
|
latitude?: number | undefined;
|
|
105
105
|
longitude?: number | undefined;
|
|
106
106
|
}, {
|
|
107
|
-
link_type: LinkType;
|
|
108
|
-
link_status: LinkStatus;
|
|
109
107
|
status: Status;
|
|
110
108
|
organisation_id: string;
|
|
111
109
|
vehicle_id: string;
|
|
110
|
+
link_type: LinkType;
|
|
111
|
+
link_status: LinkStatus;
|
|
112
112
|
trip_id: string;
|
|
113
113
|
latitude?: unknown;
|
|
114
114
|
longitude?: unknown;
|
|
115
115
|
location?: string | undefined;
|
|
116
116
|
expire_milliseconds?: unknown;
|
|
117
117
|
notifications?: {
|
|
118
|
-
gps_live_track_share_link_id: string;
|
|
119
118
|
status: Status;
|
|
120
119
|
organisation_id: string;
|
|
121
120
|
type: NotificationType;
|
|
121
|
+
gps_live_track_share_link_id: string;
|
|
122
122
|
to_recipients: string;
|
|
123
123
|
}[] | undefined;
|
|
124
124
|
}>;
|
|
@@ -176,9 +176,8 @@ declare const GPSLiveTrackShareLinkQuerySchema: z.ZodObject<{
|
|
|
176
176
|
link_type: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof LinkType>, "many">>>;
|
|
177
177
|
link_status: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof LinkStatus>, "many">>>;
|
|
178
178
|
}, "strip", z.ZodTypeAny, {
|
|
179
|
-
link_type: LinkType[];
|
|
180
|
-
link_status: LinkStatus[];
|
|
181
179
|
status: Status[];
|
|
180
|
+
vehicle_ids: string[];
|
|
182
181
|
search: string;
|
|
183
182
|
paging: PAGING;
|
|
184
183
|
page_count: number;
|
|
@@ -200,14 +199,14 @@ declare const GPSLiveTrackShareLinkQuerySchema: z.ZodObject<{
|
|
|
200
199
|
date_format_id: string;
|
|
201
200
|
time_zone_id: string;
|
|
202
201
|
organisation_ids: string[];
|
|
203
|
-
|
|
202
|
+
link_type: LinkType[];
|
|
203
|
+
link_status: LinkStatus[];
|
|
204
204
|
trip_ids: string[];
|
|
205
205
|
}, {
|
|
206
206
|
date_format_id: string;
|
|
207
207
|
time_zone_id: string;
|
|
208
|
-
link_type?: LinkType[] | undefined;
|
|
209
|
-
link_status?: LinkStatus[] | undefined;
|
|
210
208
|
status?: Status[] | undefined;
|
|
209
|
+
vehicle_ids?: string[] | undefined;
|
|
211
210
|
search?: string | undefined;
|
|
212
211
|
paging?: PAGING | undefined;
|
|
213
212
|
page_count?: unknown;
|
|
@@ -227,7 +226,8 @@ declare const GPSLiveTrackShareLinkQuerySchema: z.ZodObject<{
|
|
|
227
226
|
}[] | undefined;
|
|
228
227
|
include_master_data?: YesNo | undefined;
|
|
229
228
|
organisation_ids?: string[] | undefined;
|
|
230
|
-
|
|
229
|
+
link_type?: LinkType[] | undefined;
|
|
230
|
+
link_status?: LinkStatus[] | undefined;
|
|
231
231
|
trip_ids?: string[] | undefined;
|
|
232
232
|
}>;
|
|
233
233
|
type GPSLiveTrackShareLinkQueryDTO = z.infer<typeof GPSLiveTrackShareLinkQuerySchema>;
|