vms-nest-prisma-api-document 6.0.1 → 6.0.3
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/alert_service.d.ts +32 -32
- package/dist/services/account/bookmark_service.d.ts +3 -3
- package/dist/services/account/notification_service.d.ts +6 -6
- package/dist/services/account/ticket_service.d.ts +19 -19
- package/dist/services/fleet/fuel_management/fleet_fuel_daily_summary_service.d.ts +12 -12
- 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 +43 -43
- package/dist/services/gps/features/fuel/gps_fuel_vehicle_daily_summary_service.d.ts +1 -1
- package/dist/services/gps/features/fuel/gps_fuel_vehicle_refill_service.d.ts +1 -1
- package/dist/services/gps/features/fuel/gps_fuel_vehicle_removal_service.d.ts +1 -1
- package/dist/services/gps/features/geofence/gps_geofence_data_service.d.ts +1 -1
- package/dist/services/gps/features/geofence/gps_geofence_transaction_service.d.ts +6 -6
- package/dist/services/gps/features/geofence/gps_geofence_transaction_summary_service.d.ts +5 -5
- package/dist/services/gps/features/geofence/trip_geofence_to_geofence_service.d.ts +2 -2
- package/dist/services/gps/features/gps_live_track_share_link_service.d.ts +17 -17
- 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 +43 -43
- 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/main/vehicle/master_vehicle_service.js +8 -8
- 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 +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 +4 -4
- 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/faq_service.d.ts +1 -1
- package/package.json +1 -1
- package/dist/{user_organisation_service-nBb1eZ0_.d.ts → user_organisation_service-_rBwGIT-.d.ts} +23 -23
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { RefillEntrySource, GPSFuelApproveStatus, Status, FileType, 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, d as MasterVehicleFuelType } from '../../../user_organisation_service-
|
|
4
|
+
import { U as UserOrganisation, a as User, M as MasterVehicle, b as MasterDriver, c as MasterDevice, d as MasterVehicleFuelType } from '../../../user_organisation_service-_rBwGIT-.js';
|
|
5
5
|
import { MasterMainLandmark } from '../../master/main/master_main_landmark_service.js';
|
|
6
6
|
import { MasterVehicleFuelUnit } from '../../master/vehicle/master_vehicle_fuel_unit_service.js';
|
|
7
7
|
import { MasterVehicleFuelRemovalReason } from '../../master/vehicle/master_vehicle_fuel_removal_reason_service.js';
|
|
@@ -110,63 +110,63 @@ declare const FleetFuelRemovalSchema: z.ZodObject<{
|
|
|
110
110
|
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
111
111
|
time_zone_id: z.ZodEffects<z.ZodString, string, string>;
|
|
112
112
|
}, "strip", z.ZodTypeAny, {
|
|
113
|
+
before_removal_quantity: number;
|
|
114
|
+
after_removal_quantity: number;
|
|
115
|
+
removed_quantity: number;
|
|
116
|
+
verified_quantity: number;
|
|
117
|
+
odometer_reading: number;
|
|
118
|
+
date_time: string;
|
|
119
|
+
fuel_removal_reason_id: string;
|
|
120
|
+
removal_details: string;
|
|
121
|
+
entry_source: RefillEntrySource;
|
|
122
|
+
source_reference_id: string;
|
|
123
|
+
source_notes: string;
|
|
124
|
+
admin_verify_status: GPSFuelApproveStatus;
|
|
125
|
+
transporter_verify_status: GPSFuelApproveStatus;
|
|
126
|
+
google_location: string;
|
|
113
127
|
status: Status;
|
|
114
128
|
organisation_id: string;
|
|
115
129
|
user_id: string;
|
|
116
130
|
vehicle_id: string;
|
|
117
131
|
driver_id: string;
|
|
118
132
|
device_id: string;
|
|
119
|
-
time_zone_id: string;
|
|
120
133
|
vehicle_fuel_type_id: string;
|
|
121
|
-
odometer_reading: number;
|
|
122
|
-
google_location: string;
|
|
123
134
|
vehicle_fuel_unit_id: string;
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
source_reference_id: string;
|
|
127
|
-
source_notes: string;
|
|
128
|
-
admin_verify_status: GPSFuelApproveStatus;
|
|
129
|
-
transporter_verify_status: GPSFuelApproveStatus;
|
|
130
|
-
fuel_removal_reason_id: string;
|
|
131
|
-
before_removal_quantity: number;
|
|
132
|
-
after_removal_quantity: number;
|
|
133
|
-
removed_quantity: number;
|
|
134
|
-
verified_quantity: number;
|
|
135
|
-
removal_details: string;
|
|
136
|
-
latitude?: number | undefined;
|
|
137
|
-
longitude?: number | undefined;
|
|
135
|
+
time_zone_id: string;
|
|
136
|
+
diff_quantity?: number | undefined;
|
|
138
137
|
cost_per_unit?: number | undefined;
|
|
139
138
|
total_cost?: number | undefined;
|
|
140
|
-
|
|
139
|
+
latitude?: number | undefined;
|
|
140
|
+
longitude?: number | undefined;
|
|
141
141
|
}, {
|
|
142
|
+
date_time: string;
|
|
143
|
+
fuel_removal_reason_id: string;
|
|
144
|
+
admin_verify_status: GPSFuelApproveStatus;
|
|
145
|
+
transporter_verify_status: GPSFuelApproveStatus;
|
|
142
146
|
status: Status;
|
|
143
147
|
organisation_id: string;
|
|
144
148
|
user_id: string;
|
|
145
149
|
vehicle_id: string;
|
|
146
150
|
driver_id: string;
|
|
147
151
|
device_id: string;
|
|
148
|
-
time_zone_id: string;
|
|
149
152
|
vehicle_fuel_type_id: string;
|
|
150
153
|
vehicle_fuel_unit_id: string;
|
|
151
|
-
|
|
152
|
-
admin_verify_status: GPSFuelApproveStatus;
|
|
153
|
-
transporter_verify_status: GPSFuelApproveStatus;
|
|
154
|
-
fuel_removal_reason_id: string;
|
|
155
|
-
odometer_reading?: unknown;
|
|
156
|
-
latitude?: unknown;
|
|
157
|
-
longitude?: unknown;
|
|
158
|
-
google_location?: string | undefined;
|
|
159
|
-
cost_per_unit?: unknown;
|
|
160
|
-
total_cost?: unknown;
|
|
161
|
-
entry_source?: RefillEntrySource | undefined;
|
|
162
|
-
source_reference_id?: string | undefined;
|
|
163
|
-
source_notes?: string | undefined;
|
|
154
|
+
time_zone_id: string;
|
|
164
155
|
before_removal_quantity?: unknown;
|
|
165
156
|
after_removal_quantity?: unknown;
|
|
166
157
|
removed_quantity?: unknown;
|
|
167
158
|
verified_quantity?: unknown;
|
|
168
159
|
diff_quantity?: unknown;
|
|
160
|
+
odometer_reading?: unknown;
|
|
161
|
+
cost_per_unit?: unknown;
|
|
162
|
+
total_cost?: unknown;
|
|
169
163
|
removal_details?: string | undefined;
|
|
164
|
+
entry_source?: RefillEntrySource | undefined;
|
|
165
|
+
source_reference_id?: string | undefined;
|
|
166
|
+
source_notes?: string | undefined;
|
|
167
|
+
latitude?: unknown;
|
|
168
|
+
longitude?: unknown;
|
|
169
|
+
google_location?: string | undefined;
|
|
170
170
|
}>;
|
|
171
171
|
type FleetFuelRemovalDTO = z.infer<typeof FleetFuelRemovalSchema>;
|
|
172
172
|
declare const FleetFuelRemovalQuerySchema: z.ZodObject<{
|
|
@@ -214,7 +214,11 @@ declare const FleetFuelRemovalQuerySchema: z.ZodObject<{
|
|
|
214
214
|
from_date: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
215
215
|
to_date: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
216
216
|
}, "strip", z.ZodTypeAny, {
|
|
217
|
+
entry_source: RefillEntrySource[];
|
|
218
|
+
admin_verify_status: GPSFuelApproveStatus[];
|
|
219
|
+
transporter_verify_status: GPSFuelApproveStatus[];
|
|
217
220
|
status: Status[];
|
|
221
|
+
time_zone_id: string;
|
|
218
222
|
search: string;
|
|
219
223
|
paging: PAGING;
|
|
220
224
|
page_count: number;
|
|
@@ -234,25 +238,24 @@ declare const FleetFuelRemovalQuerySchema: z.ZodObject<{
|
|
|
234
238
|
}[];
|
|
235
239
|
include_master_data: YesNo;
|
|
236
240
|
date_format_id: string;
|
|
237
|
-
time_zone_id: string;
|
|
238
241
|
organisation_ids: string[];
|
|
239
242
|
user_ids: string[];
|
|
240
243
|
vehicle_ids: string[];
|
|
241
244
|
driver_ids: string[];
|
|
242
245
|
device_ids: string[];
|
|
243
|
-
from_date: string;
|
|
244
|
-
to_date: string;
|
|
245
246
|
vehicle_fuel_type_ids: string[];
|
|
246
|
-
entry_source: RefillEntrySource[];
|
|
247
|
-
admin_verify_status: GPSFuelApproveStatus[];
|
|
248
|
-
transporter_verify_status: GPSFuelApproveStatus[];
|
|
249
247
|
vehicle_fuel_unit_ids: string[];
|
|
250
248
|
fuel_removal_reason_ids: string[];
|
|
249
|
+
from_date: string;
|
|
250
|
+
to_date: string;
|
|
251
251
|
}, {
|
|
252
|
-
date_format_id: string;
|
|
253
252
|
time_zone_id: string;
|
|
253
|
+
date_format_id: string;
|
|
254
254
|
from_date: string;
|
|
255
255
|
to_date: string;
|
|
256
|
+
entry_source?: RefillEntrySource[] | undefined;
|
|
257
|
+
admin_verify_status?: GPSFuelApproveStatus[] | undefined;
|
|
258
|
+
transporter_verify_status?: GPSFuelApproveStatus[] | undefined;
|
|
256
259
|
status?: Status[] | undefined;
|
|
257
260
|
search?: string | undefined;
|
|
258
261
|
paging?: PAGING | undefined;
|
|
@@ -278,9 +281,6 @@ declare const FleetFuelRemovalQuerySchema: z.ZodObject<{
|
|
|
278
281
|
driver_ids?: string[] | undefined;
|
|
279
282
|
device_ids?: string[] | undefined;
|
|
280
283
|
vehicle_fuel_type_ids?: string[] | undefined;
|
|
281
|
-
entry_source?: RefillEntrySource[] | undefined;
|
|
282
|
-
admin_verify_status?: GPSFuelApproveStatus[] | undefined;
|
|
283
|
-
transporter_verify_status?: GPSFuelApproveStatus[] | undefined;
|
|
284
284
|
vehicle_fuel_unit_ids?: string[] | undefined;
|
|
285
285
|
fuel_removal_reason_ids?: string[] | undefined;
|
|
286
286
|
}>;
|
|
@@ -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, c as MasterDevice, b as MasterDriver } from '../../../../user_organisation_service-
|
|
4
|
+
import { U as UserOrganisation, M as MasterVehicle, c as MasterDevice, b as MasterDriver } from '../../../../user_organisation_service-_rBwGIT-.js';
|
|
5
5
|
import { FuelConsumptionMonthly } from '../../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';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { GPSFuelApproveStatus, 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, c as MasterDevice, a as User } from '../../../../user_organisation_service-
|
|
4
|
+
import { U as UserOrganisation, M as MasterVehicle, b as MasterDriver, c as MasterDevice, a as User } from '../../../../user_organisation_service-_rBwGIT-.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 { GPSFuelApproveStatus, 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, c as MasterDevice, b as MasterDriver, a as User } from '../../../../user_organisation_service-
|
|
4
|
+
import { U as UserOrganisation, M as MasterVehicle, c as MasterDevice, b as MasterDriver, a as User } from '../../../../user_organisation_service-_rBwGIT-.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 { GeofenceType, GeofencePurposeType, 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-_rBwGIT-.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-_rBwGIT-.js';
|
|
5
5
|
import { GPSGeofenceData } from './gps_geofence_data_service.js';
|
|
6
6
|
import '../../../../zod_utils/zod_base_schema.js';
|
|
7
7
|
import '../../../master/main/master_main_sim_provider_service.js';
|
|
@@ -31,21 +31,21 @@ declare const GPSGeofenceTransactionSchema: z.ZodObject<{
|
|
|
31
31
|
geofence_time: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
32
32
|
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
33
33
|
}, "strip", z.ZodTypeAny, {
|
|
34
|
+
geofence_status_type: GeofenceStatusType;
|
|
35
|
+
geofence_time: string;
|
|
34
36
|
status: Status;
|
|
35
37
|
organisation_id: string;
|
|
36
38
|
vehicle_id: string;
|
|
37
39
|
driver_id: string;
|
|
38
40
|
gps_geofence_id: string;
|
|
41
|
+
}, {
|
|
39
42
|
geofence_status_type: GeofenceStatusType;
|
|
40
43
|
geofence_time: string;
|
|
41
|
-
}, {
|
|
42
44
|
status: Status;
|
|
43
45
|
organisation_id: string;
|
|
44
46
|
vehicle_id: string;
|
|
45
47
|
driver_id: string;
|
|
46
48
|
gps_geofence_id: string;
|
|
47
|
-
geofence_status_type: GeofenceStatusType;
|
|
48
|
-
geofence_time: string;
|
|
49
49
|
}>;
|
|
50
50
|
type GPSGeofenceTransactionDTO = z.infer<typeof GPSGeofenceTransactionSchema>;
|
|
51
51
|
declare const GPSGeofenceTransactionQuerySchema: z.ZodObject<{
|
|
@@ -85,6 +85,7 @@ declare const GPSGeofenceTransactionQuerySchema: z.ZodObject<{
|
|
|
85
85
|
gps_geofence_ids: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
86
86
|
geofence_status_type: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof GeofenceStatusType>, "many">>>;
|
|
87
87
|
}, "strip", z.ZodTypeAny, {
|
|
88
|
+
geofence_status_type: GeofenceStatusType[];
|
|
88
89
|
status: Status[];
|
|
89
90
|
search: string;
|
|
90
91
|
paging: PAGING;
|
|
@@ -110,10 +111,10 @@ declare const GPSGeofenceTransactionQuerySchema: z.ZodObject<{
|
|
|
110
111
|
vehicle_ids: string[];
|
|
111
112
|
driver_ids: string[];
|
|
112
113
|
gps_geofence_ids: string[];
|
|
113
|
-
geofence_status_type: GeofenceStatusType[];
|
|
114
114
|
}, {
|
|
115
115
|
date_format_id: string;
|
|
116
116
|
time_zone_id: string;
|
|
117
|
+
geofence_status_type?: GeofenceStatusType[] | undefined;
|
|
117
118
|
status?: Status[] | undefined;
|
|
118
119
|
search?: string | undefined;
|
|
119
120
|
paging?: PAGING | undefined;
|
|
@@ -137,7 +138,6 @@ declare const GPSGeofenceTransactionQuerySchema: z.ZodObject<{
|
|
|
137
138
|
vehicle_ids?: string[] | undefined;
|
|
138
139
|
driver_ids?: string[] | undefined;
|
|
139
140
|
gps_geofence_ids?: string[] | undefined;
|
|
140
|
-
geofence_status_type?: GeofenceStatusType[] | undefined;
|
|
141
141
|
}>;
|
|
142
142
|
type GPSGeofenceTransactionQueryDTO = z.infer<typeof GPSGeofenceTransactionQuerySchema>;
|
|
143
143
|
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-_rBwGIT-.js';
|
|
5
5
|
import { GPSGeofenceData } from './gps_geofence_data_service.js';
|
|
6
6
|
import { GPSGeofenceTransaction } from './gps_geofence_transaction_service.js';
|
|
7
7
|
import '../../../../zod_utils/zod_base_schema.js';
|
|
@@ -40,23 +40,23 @@ declare const GPSGeofenceTransactionSummarySchema: z.ZodObject<{
|
|
|
40
40
|
duration_seconds: z.ZodEffects<z.ZodDefault<z.ZodOptional<z.ZodNumber>>, number, unknown>;
|
|
41
41
|
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
42
42
|
}, "strip", z.ZodTypeAny, {
|
|
43
|
-
geofence_enter_date_time: string;
|
|
44
|
-
geofence_exit_date_time: string;
|
|
45
|
-
duration_seconds: number;
|
|
46
43
|
status: Status;
|
|
47
44
|
organisation_id: string;
|
|
48
45
|
vehicle_id: string;
|
|
49
46
|
driver_id: string;
|
|
50
47
|
gps_geofence_id: string;
|
|
48
|
+
geofence_enter_date_time: string;
|
|
49
|
+
geofence_exit_date_time: string;
|
|
50
|
+
duration_seconds: number;
|
|
51
51
|
enter_gps_geofence_transaction_id: string;
|
|
52
52
|
exit_gps_geofence_transaction_id: string;
|
|
53
53
|
}, {
|
|
54
|
-
geofence_enter_date_time: string;
|
|
55
54
|
status: Status;
|
|
56
55
|
organisation_id: string;
|
|
57
56
|
vehicle_id: string;
|
|
58
57
|
driver_id: string;
|
|
59
58
|
gps_geofence_id: string;
|
|
59
|
+
geofence_enter_date_time: string;
|
|
60
60
|
enter_gps_geofence_transaction_id: string;
|
|
61
61
|
exit_gps_geofence_transaction_id: string;
|
|
62
62
|
geofence_exit_date_time?: string | undefined;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Status, PAGING, LoadParents, LoadChild, LoadChildCount, OrderBy, YesNo } from '../../../../core/Enums.js';
|
|
2
2
|
import { FBR, SBR } from '../../../../core/BaseResponse.js';
|
|
3
3
|
import { z } from 'zod';
|
|
4
|
-
import { U as UserOrganisation, 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-_rBwGIT-.js';
|
|
5
5
|
import { GPSGeofenceData } from './gps_geofence_data_service.js';
|
|
6
6
|
import '../../../../zod_utils/zod_base_schema.js';
|
|
7
7
|
import '../../../master/main/master_main_sim_provider_service.js';
|
|
@@ -62,11 +62,11 @@ declare const TripGeofenceToGeofenceSchema: z.ZodObject<{
|
|
|
62
62
|
mileage: z.ZodOptional<z.ZodEffects<z.ZodDefault<z.ZodNumber>, number, unknown>>;
|
|
63
63
|
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
64
64
|
}, "strip", z.ZodTypeAny, {
|
|
65
|
-
duration_seconds: number;
|
|
66
65
|
status: Status;
|
|
67
66
|
organisation_id: string;
|
|
68
67
|
vehicle_id: string;
|
|
69
68
|
driver_id: string;
|
|
69
|
+
duration_seconds: number;
|
|
70
70
|
from_geofence_exit_date_time: string;
|
|
71
71
|
to_geofence_enter_date_time: string;
|
|
72
72
|
travel_duration_seconds: number;
|
|
@@ -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-_rBwGIT-.js';
|
|
5
5
|
import '../../../zod_utils/zod_base_schema.js';
|
|
6
6
|
import '../../master/main/master_main_sim_provider_service.js';
|
|
7
7
|
|
|
@@ -42,17 +42,17 @@ 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;
|
|
45
46
|
status: Status;
|
|
46
47
|
organisation_id: string;
|
|
47
48
|
type: NotificationType;
|
|
48
49
|
to_recipients: string;
|
|
49
|
-
gps_live_track_share_link_id: string;
|
|
50
50
|
}, {
|
|
51
|
+
gps_live_track_share_link_id: string;
|
|
51
52
|
status: Status;
|
|
52
53
|
organisation_id: string;
|
|
53
54
|
type: NotificationType;
|
|
54
55
|
to_recipients: string;
|
|
55
|
-
gps_live_track_share_link_id: string;
|
|
56
56
|
}>;
|
|
57
57
|
type GPSLiveTrackShareLinkNotificationsDTO = z.infer<typeof GPSLiveTrackShareLinkNotificationsSchema>;
|
|
58
58
|
declare const GPSLiveTrackShareLinkSchema: z.ZodObject<{
|
|
@@ -73,54 +73,54 @@ 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;
|
|
76
77
|
status: Status;
|
|
77
78
|
organisation_id: string;
|
|
78
79
|
type: NotificationType;
|
|
79
80
|
to_recipients: string;
|
|
80
|
-
gps_live_track_share_link_id: string;
|
|
81
81
|
}, {
|
|
82
|
+
gps_live_track_share_link_id: string;
|
|
82
83
|
status: Status;
|
|
83
84
|
organisation_id: string;
|
|
84
85
|
type: NotificationType;
|
|
85
86
|
to_recipients: string;
|
|
86
|
-
gps_live_track_share_link_id: string;
|
|
87
87
|
}>, "many">>>;
|
|
88
88
|
}, "strip", z.ZodTypeAny, {
|
|
89
|
+
link_type: LinkType;
|
|
90
|
+
location: string;
|
|
89
91
|
link_status: LinkStatus;
|
|
90
92
|
status: Status;
|
|
91
93
|
organisation_id: string;
|
|
92
94
|
vehicle_id: string;
|
|
93
95
|
trip_id: string;
|
|
96
|
+
expire_milliseconds: number;
|
|
94
97
|
notifications: {
|
|
98
|
+
gps_live_track_share_link_id: string;
|
|
95
99
|
status: Status;
|
|
96
100
|
organisation_id: string;
|
|
97
101
|
type: NotificationType;
|
|
98
102
|
to_recipients: string;
|
|
99
|
-
gps_live_track_share_link_id: string;
|
|
100
103
|
}[];
|
|
101
|
-
link_type: LinkType;
|
|
102
|
-
location: string;
|
|
103
|
-
expire_milliseconds: number;
|
|
104
104
|
latitude?: number | undefined;
|
|
105
105
|
longitude?: number | undefined;
|
|
106
106
|
}, {
|
|
107
|
+
link_type: LinkType;
|
|
107
108
|
link_status: LinkStatus;
|
|
108
109
|
status: Status;
|
|
109
110
|
organisation_id: string;
|
|
110
111
|
vehicle_id: string;
|
|
111
112
|
trip_id: string;
|
|
112
|
-
|
|
113
|
+
latitude?: unknown;
|
|
114
|
+
longitude?: unknown;
|
|
115
|
+
location?: string | undefined;
|
|
116
|
+
expire_milliseconds?: unknown;
|
|
113
117
|
notifications?: {
|
|
118
|
+
gps_live_track_share_link_id: string;
|
|
114
119
|
status: Status;
|
|
115
120
|
organisation_id: string;
|
|
116
121
|
type: NotificationType;
|
|
117
122
|
to_recipients: string;
|
|
118
|
-
gps_live_track_share_link_id: string;
|
|
119
123
|
}[] | undefined;
|
|
120
|
-
latitude?: unknown;
|
|
121
|
-
longitude?: unknown;
|
|
122
|
-
location?: string | undefined;
|
|
123
|
-
expire_milliseconds?: unknown;
|
|
124
124
|
}>;
|
|
125
125
|
type GPSLiveTrackShareLinkDTO = z.infer<typeof GPSLiveTrackShareLinkSchema>;
|
|
126
126
|
declare const GPSLiveTrackShareLinkTimeSchema: z.ZodObject<{
|
|
@@ -176,6 +176,7 @@ 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[];
|
|
179
180
|
link_status: LinkStatus[];
|
|
180
181
|
status: Status[];
|
|
181
182
|
search: string;
|
|
@@ -201,10 +202,10 @@ declare const GPSLiveTrackShareLinkQuerySchema: z.ZodObject<{
|
|
|
201
202
|
organisation_ids: string[];
|
|
202
203
|
vehicle_ids: string[];
|
|
203
204
|
trip_ids: string[];
|
|
204
|
-
link_type: LinkType[];
|
|
205
205
|
}, {
|
|
206
206
|
date_format_id: string;
|
|
207
207
|
time_zone_id: string;
|
|
208
|
+
link_type?: LinkType[] | undefined;
|
|
208
209
|
link_status?: LinkStatus[] | undefined;
|
|
209
210
|
status?: Status[] | undefined;
|
|
210
211
|
search?: string | undefined;
|
|
@@ -228,7 +229,6 @@ declare const GPSLiveTrackShareLinkQuerySchema: z.ZodObject<{
|
|
|
228
229
|
organisation_ids?: string[] | undefined;
|
|
229
230
|
vehicle_ids?: string[] | undefined;
|
|
230
231
|
trip_ids?: string[] | undefined;
|
|
231
|
-
link_type?: LinkType[] | undefined;
|
|
232
232
|
}>;
|
|
233
233
|
type GPSLiveTrackShareLinkQueryDTO = z.infer<typeof GPSLiveTrackShareLinkQuerySchema>;
|
|
234
234
|
declare const toGPSLiveTrackShareLinkPayload: (data: GPSLiveTrackShareLink) => GPSLiveTrackShareLinkDTO;
|
|
@@ -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-
|
|
4
|
+
import { U as UserOrganisation, M as MasterVehicle } from '../../../user_organisation_service-_rBwGIT-.js';
|
|
5
5
|
import '../../../zod_utils/zod_base_schema.js';
|
|
6
6
|
import '../../master/main/master_main_sim_provider_service.js';
|
|
7
7
|
|
|
@@ -40,17 +40,17 @@ declare const GPSTrackHistoryShareLinkNotificationsSchema: z.ZodObject<{
|
|
|
40
40
|
to_recipients: z.ZodEffects<z.ZodString, string, string>;
|
|
41
41
|
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
42
42
|
}, "strip", z.ZodTypeAny, {
|
|
43
|
-
gps_track_history_share_link_id: string;
|
|
44
43
|
status: Status;
|
|
45
44
|
organisation_id: string;
|
|
46
45
|
type: NotificationType;
|
|
47
46
|
to_recipients: string;
|
|
48
|
-
}, {
|
|
49
47
|
gps_track_history_share_link_id: string;
|
|
48
|
+
}, {
|
|
50
49
|
status: Status;
|
|
51
50
|
organisation_id: string;
|
|
52
51
|
type: NotificationType;
|
|
53
52
|
to_recipients: string;
|
|
53
|
+
gps_track_history_share_link_id: string;
|
|
54
54
|
}>;
|
|
55
55
|
type GPSTrackHistoryShareLinkNotificationsDTO = z.infer<typeof GPSTrackHistoryShareLinkNotificationsSchema>;
|
|
56
56
|
declare const GPSTrackHistoryShareLinkSchema: z.ZodObject<{
|
|
@@ -68,47 +68,47 @@ declare const GPSTrackHistoryShareLinkSchema: z.ZodObject<{
|
|
|
68
68
|
to_recipients: z.ZodEffects<z.ZodString, string, string>;
|
|
69
69
|
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
70
70
|
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
71
|
-
gps_track_history_share_link_id: string;
|
|
72
71
|
status: Status;
|
|
73
72
|
organisation_id: string;
|
|
74
73
|
type: NotificationType;
|
|
75
74
|
to_recipients: string;
|
|
76
|
-
}, {
|
|
77
75
|
gps_track_history_share_link_id: string;
|
|
76
|
+
}, {
|
|
78
77
|
status: Status;
|
|
79
78
|
organisation_id: string;
|
|
80
79
|
type: NotificationType;
|
|
81
80
|
to_recipients: string;
|
|
81
|
+
gps_track_history_share_link_id: string;
|
|
82
82
|
}>, "many">>>;
|
|
83
83
|
}, "strip", z.ZodTypeAny, {
|
|
84
|
-
from_date_time: string;
|
|
85
|
-
to_date_time: string;
|
|
86
84
|
link_status: TrackHistoryLinkStatus;
|
|
87
85
|
status: Status;
|
|
88
86
|
organisation_id: string;
|
|
89
87
|
vehicle_id: string;
|
|
90
88
|
trip_id: string;
|
|
91
89
|
notifications: {
|
|
92
|
-
gps_track_history_share_link_id: string;
|
|
93
90
|
status: Status;
|
|
94
91
|
organisation_id: string;
|
|
95
92
|
type: NotificationType;
|
|
96
93
|
to_recipients: string;
|
|
94
|
+
gps_track_history_share_link_id: string;
|
|
97
95
|
}[];
|
|
98
|
-
}, {
|
|
99
96
|
from_date_time: string;
|
|
100
97
|
to_date_time: string;
|
|
98
|
+
}, {
|
|
101
99
|
link_status: TrackHistoryLinkStatus;
|
|
102
100
|
status: Status;
|
|
103
101
|
organisation_id: string;
|
|
104
102
|
vehicle_id: string;
|
|
105
103
|
trip_id: string;
|
|
104
|
+
from_date_time: string;
|
|
105
|
+
to_date_time: string;
|
|
106
106
|
notifications?: {
|
|
107
|
-
gps_track_history_share_link_id: string;
|
|
108
107
|
status: Status;
|
|
109
108
|
organisation_id: string;
|
|
110
109
|
type: NotificationType;
|
|
111
110
|
to_recipients: string;
|
|
111
|
+
gps_track_history_share_link_id: string;
|
|
112
112
|
}[] | undefined;
|
|
113
113
|
}>;
|
|
114
114
|
type GPSTrackHistoryShareLinkDTO = z.infer<typeof GPSTrackHistoryShareLinkSchema>;
|