vms-nest-prisma-api-document 75.0.0 → 85.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/notification_preferences.service.d.ts +1 -1
- package/dist/services/account/report_preferences.service.d.ts +1 -1
- package/dist/services/account/ticket_service.d.ts +15 -15
- 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 +45 -45
- package/dist/services/fleet/fuel_management/fleet_fuel_removal_service.d.ts +30 -30
- package/dist/services/gps/features/geofence/gps_geofence_service.d.ts +1 -1
- package/dist/services/gps/features/geofence/gps_geofence_transaction_service.d.ts +9 -9
- package/dist/services/gps/features/geofence/gps_geofence_transaction_summary_service.d.ts +6 -6
- package/dist/services/gps/features/geofence/trip_geofence_to_geofence_service.d.ts +12 -12
- package/dist/services/gps/features/gps_live_track_share_link_service.d.ts +5 -5
- package/dist/services/gps/features/gps_track_history_share_link_service.d.ts +10 -10
- package/dist/services/gps/reports/gps_reports_mongo_service.d.ts +46 -46
- 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 +6 -6
- package/dist/services/master/expense/master_vendor_document_type_service.d.ts +3 -3
- 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_eway_bill_provider_service.d.ts +2 -2
- package/dist/services/master/main/master_main_fasttag_bank_service.d.ts +2 -2
- 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 +3 -3
- 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/dist/{user_organisation_service-DqZC6EYi.d.ts → user_organisation_service-CUD01Lze.d.ts} +57 -45
- package/package.json +1 -1
|
@@ -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-CUD01Lze.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';
|
|
@@ -177,23 +177,23 @@ declare const FleetFuelRemovalSchema: z.ZodObject<{
|
|
|
177
177
|
file_metadata?: Record<string, any> | undefined;
|
|
178
178
|
}>, "many">>>;
|
|
179
179
|
}, "strip", z.ZodTypeAny, {
|
|
180
|
+
date_time: string;
|
|
181
|
+
admin_verify_status: GPSFuelApproveStatus;
|
|
182
|
+
transporter_verify_status: GPSFuelApproveStatus;
|
|
183
|
+
entry_source: RefillEntrySource;
|
|
184
|
+
source_reference_id: string;
|
|
185
|
+
source_notes: string;
|
|
186
|
+
google_location: string;
|
|
187
|
+
odometer_reading: number;
|
|
180
188
|
status: Status;
|
|
181
189
|
organisation_id: string;
|
|
182
190
|
user_id: string;
|
|
183
191
|
vehicle_id: string;
|
|
184
192
|
driver_id: string;
|
|
185
193
|
device_id: string;
|
|
186
|
-
time_zone_id: string;
|
|
187
194
|
vehicle_fuel_type_id: string;
|
|
188
195
|
vehicle_fuel_unit_id: string;
|
|
189
|
-
|
|
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;
|
|
196
|
+
time_zone_id: string;
|
|
197
197
|
fuel_removal_reason_id: string;
|
|
198
198
|
removal_details: string;
|
|
199
199
|
FleetFuelRemovalFile: {
|
|
@@ -209,38 +209,38 @@ declare const FleetFuelRemovalSchema: z.ZodObject<{
|
|
|
209
209
|
file_metadata: Record<string, any>;
|
|
210
210
|
fleet_fuel_removal_id: string;
|
|
211
211
|
}[];
|
|
212
|
-
latitude?: number | undefined;
|
|
213
|
-
longitude?: number | undefined;
|
|
214
212
|
cost_per_unit?: number | undefined;
|
|
215
213
|
total_cost?: number | undefined;
|
|
214
|
+
latitude?: number | undefined;
|
|
215
|
+
longitude?: number | undefined;
|
|
216
216
|
before_removal_quantity?: number | undefined;
|
|
217
217
|
after_removal_quantity?: number | undefined;
|
|
218
218
|
removal_quantity?: number | undefined;
|
|
219
219
|
verified_removal_quantity?: number | undefined;
|
|
220
220
|
diff_removal_quantity?: number | undefined;
|
|
221
221
|
}, {
|
|
222
|
+
date_time: string;
|
|
223
|
+
admin_verify_status: GPSFuelApproveStatus;
|
|
224
|
+
transporter_verify_status: GPSFuelApproveStatus;
|
|
222
225
|
status: Status;
|
|
223
226
|
organisation_id: string;
|
|
224
227
|
user_id: string;
|
|
225
228
|
vehicle_id: string;
|
|
226
229
|
driver_id: string;
|
|
227
230
|
device_id: string;
|
|
228
|
-
time_zone_id: string;
|
|
229
231
|
vehicle_fuel_type_id: string;
|
|
230
232
|
vehicle_fuel_unit_id: string;
|
|
231
|
-
|
|
232
|
-
admin_verify_status: GPSFuelApproveStatus;
|
|
233
|
-
transporter_verify_status: GPSFuelApproveStatus;
|
|
233
|
+
time_zone_id: string;
|
|
234
234
|
fuel_removal_reason_id: string;
|
|
235
|
-
odometer_reading?: unknown;
|
|
236
|
-
latitude?: unknown;
|
|
237
|
-
longitude?: unknown;
|
|
238
|
-
google_location?: string | undefined;
|
|
239
235
|
cost_per_unit?: unknown;
|
|
240
236
|
total_cost?: unknown;
|
|
241
237
|
entry_source?: RefillEntrySource | undefined;
|
|
242
238
|
source_reference_id?: string | undefined;
|
|
243
239
|
source_notes?: string | undefined;
|
|
240
|
+
latitude?: unknown;
|
|
241
|
+
longitude?: unknown;
|
|
242
|
+
google_location?: string | undefined;
|
|
243
|
+
odometer_reading?: unknown;
|
|
244
244
|
before_removal_quantity?: unknown;
|
|
245
245
|
after_removal_quantity?: unknown;
|
|
246
246
|
removal_quantity?: unknown;
|
|
@@ -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[];
|
|
341
|
+
from_date: string;
|
|
342
|
+
to_date: string;
|
|
343
343
|
fuel_removal_reason_ids: 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-CUD01Lze.js';
|
|
5
5
|
import '../../../../zod_utils/zod_base_schema.js';
|
|
6
6
|
import '../../../master/main/master_main_sim_provider_service.js';
|
|
7
7
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { GeofenceStatusType, Status, PAGING, LoadParents, LoadChild, LoadChildCount, OrderBy, YesNo } from '../../../../core/Enums.js';
|
|
2
2
|
import { FBR, SBR } from '../../../../core/BaseResponse.js';
|
|
3
3
|
import { z } from 'zod';
|
|
4
|
-
import { U as UserOrganisation, M as MasterVehicle, b as MasterDriver } from '../../../../user_organisation_service-
|
|
4
|
+
import { U as UserOrganisation, M as MasterVehicle, b as MasterDriver } from '../../../../user_organisation_service-CUD01Lze.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-
|
|
4
|
+
import { U as UserOrganisation, M as MasterVehicle, b as MasterDriver } from '../../../../user_organisation_service-CUD01Lze.js';
|
|
5
5
|
import { GPSGeofence } from './gps_geofence_service.js';
|
|
6
6
|
import { GPSGeofenceTransaction } from './gps_geofence_transaction_service.js';
|
|
7
7
|
import '../../../../zod_utils/zod_base_schema.js';
|
|
@@ -46,15 +46,15 @@ declare const GPSGeofenceTransactionSummarySchema: z.ZodObject<{
|
|
|
46
46
|
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
47
47
|
time_zone_id: z.ZodEffects<z.ZodString, string, string>;
|
|
48
48
|
}, "strip", z.ZodTypeAny, {
|
|
49
|
+
duration_seconds: number;
|
|
49
50
|
status: Status;
|
|
50
51
|
organisation_id: string;
|
|
51
52
|
vehicle_id: string;
|
|
52
53
|
driver_id: string;
|
|
53
|
-
gps_geofence_id: string;
|
|
54
54
|
time_zone_id: string;
|
|
55
|
+
gps_geofence_id: string;
|
|
55
56
|
geofence_enter_date_time: string;
|
|
56
57
|
geofence_exit_date_time: string;
|
|
57
|
-
duration_seconds: number;
|
|
58
58
|
enter_gps_geofence_transaction_id: string;
|
|
59
59
|
exit_gps_geofence_transaction_id: string;
|
|
60
60
|
}, {
|
|
@@ -62,13 +62,13 @@ declare const GPSGeofenceTransactionSummarySchema: z.ZodObject<{
|
|
|
62
62
|
organisation_id: string;
|
|
63
63
|
vehicle_id: string;
|
|
64
64
|
driver_id: string;
|
|
65
|
-
gps_geofence_id: string;
|
|
66
65
|
time_zone_id: string;
|
|
66
|
+
gps_geofence_id: string;
|
|
67
67
|
geofence_enter_date_time: string;
|
|
68
68
|
enter_gps_geofence_transaction_id: string;
|
|
69
69
|
exit_gps_geofence_transaction_id: string;
|
|
70
|
-
geofence_exit_date_time?: string | undefined;
|
|
71
70
|
duration_seconds?: unknown;
|
|
71
|
+
geofence_exit_date_time?: string | undefined;
|
|
72
72
|
}>;
|
|
73
73
|
type GPSGeofenceTransactionSummaryDTO = z.infer<typeof GPSGeofenceTransactionSummarySchema>;
|
|
74
74
|
declare const GPSGeofenceTransactionSummaryQuerySchema: z.ZodObject<{
|
|
@@ -133,9 +133,9 @@ declare const GPSGeofenceTransactionSummaryQuerySchema: z.ZodObject<{
|
|
|
133
133
|
organisation_ids: string[];
|
|
134
134
|
vehicle_ids: string[];
|
|
135
135
|
driver_ids: string[];
|
|
136
|
-
gps_geofence_ids: string[];
|
|
137
136
|
from_date: string;
|
|
138
137
|
to_date: string;
|
|
138
|
+
gps_geofence_ids: string[];
|
|
139
139
|
}, {
|
|
140
140
|
time_zone_id: string;
|
|
141
141
|
date_format_id: string;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Status, PAGING, LoadParents, LoadChild, LoadChildCount, OrderBy, YesNo } from '../../../../core/Enums.js';
|
|
2
2
|
import { FBR, SBR } from '../../../../core/BaseResponse.js';
|
|
3
3
|
import { z } from 'zod';
|
|
4
|
-
import { U as UserOrganisation, M as MasterVehicle, b as MasterDriver } from '../../../../user_organisation_service-
|
|
4
|
+
import { U as UserOrganisation, M as MasterVehicle, b as MasterDriver } from '../../../../user_organisation_service-CUD01Lze.js';
|
|
5
5
|
import '../../../../zod_utils/zod_base_schema.js';
|
|
6
6
|
import '../../../master/main/master_main_sim_provider_service.js';
|
|
7
7
|
|
|
@@ -55,31 +55,31 @@ declare const TripGeofenceToGeofenceSchema: z.ZodObject<{
|
|
|
55
55
|
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
56
56
|
time_zone_id: z.ZodEffects<z.ZodString, string, string>;
|
|
57
57
|
}, "strip", z.ZodTypeAny, {
|
|
58
|
-
status: Status;
|
|
59
|
-
organisation_id: string;
|
|
60
|
-
vehicle_id: string;
|
|
61
|
-
driver_id: string;
|
|
62
|
-
time_zone_id: string;
|
|
63
|
-
duration_seconds: number;
|
|
64
58
|
from_geofence_exit_date_time: string;
|
|
65
59
|
to_geofence_enter_date_time: string;
|
|
60
|
+
duration_seconds: number;
|
|
66
61
|
travel_duration_seconds: number;
|
|
67
62
|
stopped_duration_seconds: number;
|
|
68
63
|
max_speed: number;
|
|
69
64
|
avg_speed: number;
|
|
65
|
+
status: Status;
|
|
66
|
+
organisation_id: string;
|
|
67
|
+
vehicle_id: string;
|
|
68
|
+
driver_id: string;
|
|
70
69
|
from_geofence_id: string;
|
|
71
70
|
to_geofence_id: string;
|
|
71
|
+
time_zone_id: string;
|
|
72
72
|
distance_meters?: number | undefined;
|
|
73
73
|
}, {
|
|
74
|
+
from_geofence_exit_date_time: string;
|
|
75
|
+
to_geofence_enter_date_time: string;
|
|
74
76
|
status: Status;
|
|
75
77
|
organisation_id: string;
|
|
76
78
|
vehicle_id: string;
|
|
77
79
|
driver_id: string;
|
|
78
|
-
time_zone_id: string;
|
|
79
|
-
from_geofence_exit_date_time: string;
|
|
80
|
-
to_geofence_enter_date_time: string;
|
|
81
80
|
from_geofence_id: string;
|
|
82
81
|
to_geofence_id: string;
|
|
82
|
+
time_zone_id: string;
|
|
83
83
|
duration_seconds?: unknown;
|
|
84
84
|
travel_duration_seconds?: unknown;
|
|
85
85
|
stopped_duration_seconds?: unknown;
|
|
@@ -151,10 +151,10 @@ declare const TripGeofenceToGeofenceQuerySchema: z.ZodObject<{
|
|
|
151
151
|
organisation_ids: string[];
|
|
152
152
|
vehicle_ids: string[];
|
|
153
153
|
driver_ids: string[];
|
|
154
|
-
from_date: string;
|
|
155
|
-
to_date: string;
|
|
156
154
|
from_geofence_ids: string[];
|
|
157
155
|
to_geofence_ids: string[];
|
|
156
|
+
from_date: string;
|
|
157
|
+
to_date: string;
|
|
158
158
|
}, {
|
|
159
159
|
time_zone_id: string;
|
|
160
160
|
date_format_id: string;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { LinkType, LinkStatus, Status, ShareChannel, PAGING, LoadParents, LoadChild, LoadChildCount, OrderBy, YesNo } from '../../../core/Enums.js';
|
|
2
2
|
import { FBR, BR, 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-CUD01Lze.js';
|
|
5
5
|
import '../../../zod_utils/zod_base_schema.js';
|
|
6
6
|
import '../../master/main/master_main_sim_provider_service.js';
|
|
7
7
|
|
|
@@ -48,17 +48,17 @@ declare const GPSLiveTrackShareLinkNotificationSchema: z.ZodObject<{
|
|
|
48
48
|
cc_email_ids: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
|
|
49
49
|
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
50
50
|
}, "strip", z.ZodTypeAny, {
|
|
51
|
+
gps_live_track_share_link_id: string;
|
|
51
52
|
status: Status;
|
|
52
53
|
organisation_id: string;
|
|
53
54
|
share_channels: ShareChannel.Email[];
|
|
54
55
|
mobile_numbers: string;
|
|
55
56
|
email_ids: string;
|
|
56
57
|
cc_email_ids: string;
|
|
57
|
-
gps_live_track_share_link_id: string;
|
|
58
58
|
}, {
|
|
59
|
+
gps_live_track_share_link_id: string;
|
|
59
60
|
status: Status;
|
|
60
61
|
organisation_id: string;
|
|
61
|
-
gps_live_track_share_link_id: string;
|
|
62
62
|
share_channels?: ShareChannel.Email[] | undefined;
|
|
63
63
|
mobile_numbers?: string | undefined;
|
|
64
64
|
email_ids?: string | undefined;
|
|
@@ -139,7 +139,6 @@ declare const GPSLiveTrackShareLinkQuerySchema: z.ZodObject<{
|
|
|
139
139
|
}, "strip", z.ZodTypeAny, {
|
|
140
140
|
link_status: LinkStatus[];
|
|
141
141
|
status: Status[];
|
|
142
|
-
time_zone_id: string;
|
|
143
142
|
search: string;
|
|
144
143
|
paging: PAGING;
|
|
145
144
|
page_count: number;
|
|
@@ -159,12 +158,13 @@ declare const GPSLiveTrackShareLinkQuerySchema: z.ZodObject<{
|
|
|
159
158
|
}[];
|
|
160
159
|
include_master_data: YesNo;
|
|
161
160
|
date_format_id: string;
|
|
161
|
+
time_zone_id: string;
|
|
162
162
|
organisation_ids: string[];
|
|
163
163
|
vehicle_ids: string[];
|
|
164
164
|
gps_live_track_share_link_ids: string[];
|
|
165
165
|
}, {
|
|
166
|
-
time_zone_id: string;
|
|
167
166
|
date_format_id: string;
|
|
167
|
+
time_zone_id: string;
|
|
168
168
|
link_status?: LinkStatus[] | undefined;
|
|
169
169
|
status?: Status[] | undefined;
|
|
170
170
|
search?: string | undefined;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { TrackHistoryLinkStatus, Status, ShareChannel, PAGING, LoadParents, LoadChild, LoadChildCount, OrderBy, YesNo } from '../../../core/Enums.js';
|
|
2
|
-
import { FBR, SBR } from '../../../core/BaseResponse.js';
|
|
2
|
+
import { FBR, BR, 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-CUD01Lze.js';
|
|
5
5
|
import '../../../zod_utils/zod_base_schema.js';
|
|
6
6
|
import '../../master/main/master_main_sim_provider_service.js';
|
|
7
7
|
|
|
@@ -48,17 +48,17 @@ declare const GPSTrackHistoryShareLinkNotificationSchema: z.ZodObject<{
|
|
|
48
48
|
cc_email_ids: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
|
|
49
49
|
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
50
50
|
}, "strip", z.ZodTypeAny, {
|
|
51
|
-
gps_track_history_share_link_id: string;
|
|
52
51
|
status: Status;
|
|
53
52
|
organisation_id: string;
|
|
54
53
|
share_channels: ShareChannel.Email[];
|
|
55
54
|
mobile_numbers: string;
|
|
56
55
|
email_ids: string;
|
|
57
56
|
cc_email_ids: string;
|
|
58
|
-
}, {
|
|
59
57
|
gps_track_history_share_link_id: string;
|
|
58
|
+
}, {
|
|
60
59
|
status: Status;
|
|
61
60
|
organisation_id: string;
|
|
61
|
+
gps_track_history_share_link_id: string;
|
|
62
62
|
share_channels?: ShareChannel.Email[] | undefined;
|
|
63
63
|
mobile_numbers?: string | undefined;
|
|
64
64
|
email_ids?: string | undefined;
|
|
@@ -74,21 +74,21 @@ declare const GPSTrackHistoryShareLinkSchema: z.ZodObject<{
|
|
|
74
74
|
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
75
75
|
time_zone_id: z.ZodEffects<z.ZodString, string, string>;
|
|
76
76
|
}, "strip", z.ZodTypeAny, {
|
|
77
|
-
from_date_time: string;
|
|
78
|
-
to_date_time: string;
|
|
79
77
|
link_status: TrackHistoryLinkStatus;
|
|
80
78
|
status: Status;
|
|
81
79
|
organisation_id: string;
|
|
82
80
|
vehicle_id: string;
|
|
83
81
|
time_zone_id: string;
|
|
84
|
-
}, {
|
|
85
82
|
from_date_time: string;
|
|
86
83
|
to_date_time: string;
|
|
84
|
+
}, {
|
|
87
85
|
link_status: TrackHistoryLinkStatus;
|
|
88
86
|
status: Status;
|
|
89
87
|
organisation_id: string;
|
|
90
88
|
vehicle_id: string;
|
|
91
89
|
time_zone_id: string;
|
|
90
|
+
from_date_time: string;
|
|
91
|
+
to_date_time: string;
|
|
92
92
|
}>;
|
|
93
93
|
type GPSTrackHistoryShareLinkDTO = z.infer<typeof GPSTrackHistoryShareLinkSchema>;
|
|
94
94
|
declare const GPSTrackHistoryShareLinkUpdateLinkStatusSchema: z.ZodObject<{
|
|
@@ -137,7 +137,6 @@ declare const GPSTrackHistoryShareLinkQuerySchema: z.ZodObject<{
|
|
|
137
137
|
}, "strip", z.ZodTypeAny, {
|
|
138
138
|
link_status: TrackHistoryLinkStatus[];
|
|
139
139
|
status: Status[];
|
|
140
|
-
time_zone_id: string;
|
|
141
140
|
search: string;
|
|
142
141
|
paging: PAGING;
|
|
143
142
|
page_count: number;
|
|
@@ -157,12 +156,13 @@ declare const GPSTrackHistoryShareLinkQuerySchema: z.ZodObject<{
|
|
|
157
156
|
}[];
|
|
158
157
|
include_master_data: YesNo;
|
|
159
158
|
date_format_id: string;
|
|
159
|
+
time_zone_id: string;
|
|
160
160
|
organisation_ids: string[];
|
|
161
161
|
vehicle_ids: string[];
|
|
162
162
|
gps_track_history_share_link_ids: string[];
|
|
163
163
|
}, {
|
|
164
|
-
time_zone_id: string;
|
|
165
164
|
date_format_id: string;
|
|
165
|
+
time_zone_id: string;
|
|
166
166
|
link_status?: TrackHistoryLinkStatus[] | undefined;
|
|
167
167
|
status?: Status[] | undefined;
|
|
168
168
|
search?: string | undefined;
|
|
@@ -191,7 +191,7 @@ type GPSTrackHistoryShareLinkQueryDTO = z.infer<typeof GPSTrackHistoryShareLinkQ
|
|
|
191
191
|
declare const toGPSTrackHistoryShareLinkPayload: (data: GPSTrackHistoryShareLink) => GPSTrackHistoryShareLinkDTO;
|
|
192
192
|
declare const newGPSTrackHistoryShareLinkPayload: () => GPSTrackHistoryShareLinkDTO;
|
|
193
193
|
declare const findGPSTrackHistoryShareLink: (data: GPSTrackHistoryShareLinkQueryDTO) => Promise<FBR<GPSTrackHistoryShareLink[]>>;
|
|
194
|
-
declare const createGPSTrackHistoryShareLink: (data: GPSTrackHistoryShareLinkDTO) => Promise<
|
|
194
|
+
declare const createGPSTrackHistoryShareLink: (data: GPSTrackHistoryShareLinkDTO) => Promise<BR<GPSTrackHistoryShareLink>>;
|
|
195
195
|
declare const updateTrackHistoryLinkStatus: (id: string, data: GPSTrackHistoryShareLinkUpdateLinkStatusDTO) => Promise<SBR>;
|
|
196
196
|
declare const deleteGPSTrackHistoryShareLink: (id: string) => Promise<SBR>;
|
|
197
197
|
declare const createGPSTrackHistoryShareLinkNotification: (data: GPSTrackHistoryShareLinkNotificationDTO) => Promise<SBR>;
|