vms-nest-prisma-api-document 200.0.0 → 203.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/analytics/user_login_analytics_service.d.ts +3 -3
- package/dist/services/account/analytics/user_page_analytics_service.d.ts +1 -1
- package/dist/services/account/bookmark_service.d.ts +11 -11
- package/dist/services/account/notification_preferences.service.d.ts +18 -18
- package/dist/services/account/report_preferences.service.d.ts +7 -7
- package/dist/services/account/ticket_service.d.ts +1 -1
- package/dist/services/fleet/bus_mangement/bus_stop.d.ts +21 -21
- package/dist/services/fleet/bus_mangement/calender.d.ts +7 -7
- package/dist/services/fleet/bus_mangement/master_route.d.ts +1 -1
- package/dist/services/fleet/bus_mangement/notice_board.d.ts +1 -1
- package/dist/services/fleet/bus_mangement/student.d.ts +13 -13
- 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 +47 -47
- 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 +3 -3
- 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 +1 -1
- package/dist/services/gps/features/gps_track_history_share_link_service.d.ts +1 -1
- 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_admin_service.d.ts +3 -3
- 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 +86 -68
- package/dist/services/master/bus/master_class_service.d.ts +1 -1
- package/dist/services/master/bus/master_program_service.d.ts +1 -1
- package/dist/services/master/bus/master_relationship_service.d.ts +1 -1
- package/dist/services/master/bus/master_section_service.d.ts +1 -1
- package/dist/services/master/bus/master_semester_service.d.ts +1 -1
- package/dist/services/master/bus/master_stream_service.d.ts +1 -1
- package/dist/services/master/bus/master_year_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 +6 -6
- 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 +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 +3 -3
- 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 +3 -3
- 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 +5 -5
- 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 +9 -9
- 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 +3 -3
- package/dist/services/master/tyre/master_tyre_make_service.d.ts +1 -1
- package/dist/services/master/tyre/master_tyre_model_service.d.ts +5 -5
- 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 +4 -127
- 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-CY8xuc2X.d.ts → user_organisation_service-ZHS75FqD.d.ts} +319 -59
- package/package.json +1 -1
|
@@ -2,7 +2,7 @@ import { GPSFuelApproveStatus, RefillEntrySource, RefillMethod, PaymentMode, Pay
|
|
|
2
2
|
import { BaseCommonFile, 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-ZHS75FqD.js';
|
|
6
6
|
import { MasterMainLandmark } from '../../master/main/master_main_landmark_service.js';
|
|
7
7
|
import '../../master/main/master_main_sim_provider_service.js';
|
|
8
8
|
|
|
@@ -101,7 +101,6 @@ declare const FleetFuelRefillFileSchema: z.ZodObject<{
|
|
|
101
101
|
organisation_id: z.ZodEffects<z.ZodString, string, string>;
|
|
102
102
|
fleet_fuel_refill_id: z.ZodEffects<z.ZodString, string, string>;
|
|
103
103
|
}, "strip", z.ZodTypeAny, {
|
|
104
|
-
fleet_fuel_refill_id: string;
|
|
105
104
|
status: Status;
|
|
106
105
|
organisation_id: string;
|
|
107
106
|
usage_type: string;
|
|
@@ -112,12 +111,13 @@ declare const FleetFuelRefillFileSchema: z.ZodObject<{
|
|
|
112
111
|
file_description: string;
|
|
113
112
|
file_size: number;
|
|
114
113
|
file_metadata: Record<string, any>;
|
|
115
|
-
}, {
|
|
116
114
|
fleet_fuel_refill_id: string;
|
|
115
|
+
}, {
|
|
117
116
|
status: Status;
|
|
118
117
|
organisation_id: string;
|
|
119
118
|
usage_type: string;
|
|
120
119
|
file_type: FileType;
|
|
120
|
+
fleet_fuel_refill_id: string;
|
|
121
121
|
file_url?: string | undefined;
|
|
122
122
|
file_key?: string | undefined;
|
|
123
123
|
file_name?: string | undefined;
|
|
@@ -181,7 +181,6 @@ declare const FleetFuelRefillSchema: z.ZodObject<{
|
|
|
181
181
|
organisation_id: z.ZodEffects<z.ZodString, string, string>;
|
|
182
182
|
fleet_fuel_refill_id: z.ZodEffects<z.ZodString, string, string>;
|
|
183
183
|
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
184
|
-
fleet_fuel_refill_id: string;
|
|
185
184
|
status: Status;
|
|
186
185
|
organisation_id: string;
|
|
187
186
|
usage_type: string;
|
|
@@ -192,12 +191,13 @@ declare const FleetFuelRefillSchema: z.ZodObject<{
|
|
|
192
191
|
file_description: string;
|
|
193
192
|
file_size: number;
|
|
194
193
|
file_metadata: Record<string, any>;
|
|
195
|
-
}, {
|
|
196
194
|
fleet_fuel_refill_id: string;
|
|
195
|
+
}, {
|
|
197
196
|
status: Status;
|
|
198
197
|
organisation_id: string;
|
|
199
198
|
usage_type: string;
|
|
200
199
|
file_type: FileType;
|
|
200
|
+
fleet_fuel_refill_id: string;
|
|
201
201
|
file_url?: string | undefined;
|
|
202
202
|
file_key?: string | undefined;
|
|
203
203
|
file_name?: string | undefined;
|
|
@@ -206,6 +206,18 @@ declare const FleetFuelRefillSchema: z.ZodObject<{
|
|
|
206
206
|
file_metadata?: Record<string, any> | undefined;
|
|
207
207
|
}>, "many">>>;
|
|
208
208
|
}, "strip", z.ZodTypeAny, {
|
|
209
|
+
status: Status;
|
|
210
|
+
organisation_id: string;
|
|
211
|
+
user_id: string;
|
|
212
|
+
vehicle_id: string;
|
|
213
|
+
driver_id: string;
|
|
214
|
+
device_id: string;
|
|
215
|
+
time_zone_id: string;
|
|
216
|
+
vehicle_fuel_type_id: string;
|
|
217
|
+
vehicle_fuel_unit_id: string;
|
|
218
|
+
odometer_reading: number;
|
|
219
|
+
vendor_id: string;
|
|
220
|
+
google_location: string;
|
|
209
221
|
date_time: string;
|
|
210
222
|
admin_verify_status: GPSFuelApproveStatus;
|
|
211
223
|
transporter_verify_status: GPSFuelApproveStatus;
|
|
@@ -221,23 +233,11 @@ declare const FleetFuelRefillSchema: z.ZodObject<{
|
|
|
221
233
|
payment_reference_number: string;
|
|
222
234
|
fuel_card_number: string;
|
|
223
235
|
payment_notes: string;
|
|
224
|
-
google_location: string;
|
|
225
|
-
odometer_reading: number;
|
|
226
236
|
tank_size: number;
|
|
227
237
|
is_full_tank: YesNo;
|
|
228
238
|
is_previous_entries_missed: YesNo;
|
|
229
|
-
status: Status;
|
|
230
|
-
organisation_id: string;
|
|
231
|
-
user_id: string;
|
|
232
|
-
vehicle_id: string;
|
|
233
|
-
driver_id: string;
|
|
234
|
-
device_id: string;
|
|
235
|
-
vendor_id: string;
|
|
236
239
|
fuel_station_id: string;
|
|
237
|
-
vehicle_fuel_type_id: string;
|
|
238
|
-
vehicle_fuel_unit_id: string;
|
|
239
240
|
FleetFuelRefillFile: {
|
|
240
|
-
fleet_fuel_refill_id: string;
|
|
241
241
|
status: Status;
|
|
242
242
|
organisation_id: string;
|
|
243
243
|
usage_type: string;
|
|
@@ -248,8 +248,10 @@ declare const FleetFuelRefillSchema: z.ZodObject<{
|
|
|
248
248
|
file_description: string;
|
|
249
249
|
file_size: number;
|
|
250
250
|
file_metadata: Record<string, any>;
|
|
251
|
+
fleet_fuel_refill_id: string;
|
|
251
252
|
}[];
|
|
252
|
-
|
|
253
|
+
latitude?: number | undefined;
|
|
254
|
+
longitude?: number | undefined;
|
|
253
255
|
before_refill_quantity?: number | undefined;
|
|
254
256
|
after_refill_quantity?: number | undefined;
|
|
255
257
|
refill_quantity?: number | undefined;
|
|
@@ -257,27 +259,29 @@ declare const FleetFuelRefillSchema: z.ZodObject<{
|
|
|
257
259
|
diff_refill_quantity?: number | undefined;
|
|
258
260
|
cost_per_unit?: number | undefined;
|
|
259
261
|
total_cost?: number | undefined;
|
|
260
|
-
latitude?: number | undefined;
|
|
261
|
-
longitude?: number | undefined;
|
|
262
262
|
}, {
|
|
263
|
-
date_time: string;
|
|
264
|
-
admin_verify_status: GPSFuelApproveStatus;
|
|
265
|
-
transporter_verify_status: GPSFuelApproveStatus;
|
|
266
|
-
payment_mode: PaymentMode;
|
|
267
|
-
payment_status: PaymentStatus;
|
|
268
|
-
is_full_tank: YesNo;
|
|
269
|
-
is_previous_entries_missed: YesNo;
|
|
270
263
|
status: Status;
|
|
271
264
|
organisation_id: string;
|
|
272
265
|
user_id: string;
|
|
273
266
|
vehicle_id: string;
|
|
274
267
|
driver_id: string;
|
|
275
268
|
device_id: string;
|
|
276
|
-
|
|
277
|
-
fuel_station_id: string;
|
|
269
|
+
time_zone_id: string;
|
|
278
270
|
vehicle_fuel_type_id: string;
|
|
279
271
|
vehicle_fuel_unit_id: string;
|
|
280
|
-
|
|
272
|
+
vendor_id: string;
|
|
273
|
+
date_time: string;
|
|
274
|
+
admin_verify_status: GPSFuelApproveStatus;
|
|
275
|
+
transporter_verify_status: GPSFuelApproveStatus;
|
|
276
|
+
payment_mode: PaymentMode;
|
|
277
|
+
payment_status: PaymentStatus;
|
|
278
|
+
is_full_tank: YesNo;
|
|
279
|
+
is_previous_entries_missed: YesNo;
|
|
280
|
+
fuel_station_id: string;
|
|
281
|
+
odometer_reading?: unknown;
|
|
282
|
+
latitude?: unknown;
|
|
283
|
+
longitude?: unknown;
|
|
284
|
+
google_location?: string | undefined;
|
|
281
285
|
before_refill_quantity?: unknown;
|
|
282
286
|
after_refill_quantity?: unknown;
|
|
283
287
|
refill_quantity?: unknown;
|
|
@@ -295,17 +299,13 @@ declare const FleetFuelRefillSchema: z.ZodObject<{
|
|
|
295
299
|
payment_reference_number?: string | undefined;
|
|
296
300
|
fuel_card_number?: string | undefined;
|
|
297
301
|
payment_notes?: string | undefined;
|
|
298
|
-
latitude?: unknown;
|
|
299
|
-
longitude?: unknown;
|
|
300
|
-
google_location?: string | undefined;
|
|
301
|
-
odometer_reading?: unknown;
|
|
302
302
|
tank_size?: unknown;
|
|
303
303
|
FleetFuelRefillFile?: {
|
|
304
|
-
fleet_fuel_refill_id: string;
|
|
305
304
|
status: Status;
|
|
306
305
|
organisation_id: string;
|
|
307
306
|
usage_type: string;
|
|
308
307
|
file_type: FileType;
|
|
308
|
+
fleet_fuel_refill_id: string;
|
|
309
309
|
file_url?: string | undefined;
|
|
310
310
|
file_key?: string | undefined;
|
|
311
311
|
file_name?: string | undefined;
|
|
@@ -362,11 +362,7 @@ declare const FleetFuelRefillQuerySchema: z.ZodObject<{
|
|
|
362
362
|
from_date: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
363
363
|
to_date: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
364
364
|
}, "strip", z.ZodTypeAny, {
|
|
365
|
-
admin_verify_status: GPSFuelApproveStatus[];
|
|
366
|
-
transporter_verify_status: GPSFuelApproveStatus[];
|
|
367
|
-
entry_source: RefillEntrySource[];
|
|
368
365
|
status: Status[];
|
|
369
|
-
time_zone_id: string;
|
|
370
366
|
search: string;
|
|
371
367
|
paging: PAGING;
|
|
372
368
|
page_count: number;
|
|
@@ -386,26 +382,27 @@ declare const FleetFuelRefillQuerySchema: z.ZodObject<{
|
|
|
386
382
|
}[];
|
|
387
383
|
include_master_data: YesNo;
|
|
388
384
|
date_format_id: string;
|
|
385
|
+
time_zone_id: string;
|
|
389
386
|
organisation_ids: string[];
|
|
390
387
|
user_ids: string[];
|
|
391
388
|
vehicle_ids: string[];
|
|
392
389
|
driver_ids: string[];
|
|
393
390
|
device_ids: string[];
|
|
391
|
+
from_date: string;
|
|
392
|
+
to_date: string;
|
|
394
393
|
vendor_ids: string[];
|
|
395
|
-
fuel_station_ids: string[];
|
|
396
394
|
vehicle_fuel_type_ids: string[];
|
|
397
395
|
vehicle_fuel_unit_ids: string[];
|
|
396
|
+
admin_verify_status: GPSFuelApproveStatus[];
|
|
397
|
+
transporter_verify_status: GPSFuelApproveStatus[];
|
|
398
|
+
entry_source: RefillEntrySource[];
|
|
399
|
+
fuel_station_ids: string[];
|
|
398
400
|
fleet_fuel_refill_ids: string[];
|
|
399
|
-
from_date: string;
|
|
400
|
-
to_date: string;
|
|
401
401
|
}, {
|
|
402
|
-
time_zone_id: string;
|
|
403
402
|
date_format_id: string;
|
|
403
|
+
time_zone_id: string;
|
|
404
404
|
from_date: string;
|
|
405
405
|
to_date: string;
|
|
406
|
-
admin_verify_status?: GPSFuelApproveStatus[] | undefined;
|
|
407
|
-
transporter_verify_status?: GPSFuelApproveStatus[] | undefined;
|
|
408
|
-
entry_source?: RefillEntrySource[] | undefined;
|
|
409
406
|
status?: Status[] | undefined;
|
|
410
407
|
search?: string | undefined;
|
|
411
408
|
paging?: PAGING | undefined;
|
|
@@ -431,9 +428,12 @@ declare const FleetFuelRefillQuerySchema: z.ZodObject<{
|
|
|
431
428
|
driver_ids?: string[] | undefined;
|
|
432
429
|
device_ids?: string[] | undefined;
|
|
433
430
|
vendor_ids?: string[] | undefined;
|
|
434
|
-
fuel_station_ids?: string[] | undefined;
|
|
435
431
|
vehicle_fuel_type_ids?: string[] | undefined;
|
|
436
432
|
vehicle_fuel_unit_ids?: string[] | undefined;
|
|
433
|
+
admin_verify_status?: GPSFuelApproveStatus[] | undefined;
|
|
434
|
+
transporter_verify_status?: GPSFuelApproveStatus[] | undefined;
|
|
435
|
+
entry_source?: RefillEntrySource[] | undefined;
|
|
436
|
+
fuel_station_ids?: string[] | undefined;
|
|
437
437
|
fleet_fuel_refill_ids?: string[] | undefined;
|
|
438
438
|
}>;
|
|
439
439
|
type FleetFuelRefillQueryDTO = z.infer<typeof FleetFuelRefillQuerySchema>;
|
|
@@ -2,7 +2,7 @@ import { GPSFuelApproveStatus, RefillEntrySource, Status, FileType, PAGING, Load
|
|
|
2
2
|
import { BaseCommonFile, 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-ZHS75FqD.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;
|
|
188
180
|
status: Status;
|
|
189
181
|
organisation_id: string;
|
|
190
182
|
user_id: string;
|
|
191
183
|
vehicle_id: string;
|
|
192
184
|
driver_id: string;
|
|
193
185
|
device_id: string;
|
|
186
|
+
time_zone_id: string;
|
|
194
187
|
vehicle_fuel_type_id: string;
|
|
195
188
|
vehicle_fuel_unit_id: string;
|
|
196
|
-
|
|
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
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
|
-
cost_per_unit?: number | undefined;
|
|
213
|
-
total_cost?: number | undefined;
|
|
214
212
|
latitude?: number | undefined;
|
|
215
213
|
longitude?: number | undefined;
|
|
214
|
+
cost_per_unit?: number | undefined;
|
|
215
|
+
total_cost?: 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;
|
|
225
222
|
status: Status;
|
|
226
223
|
organisation_id: string;
|
|
227
224
|
user_id: string;
|
|
228
225
|
vehicle_id: string;
|
|
229
226
|
driver_id: string;
|
|
230
227
|
device_id: string;
|
|
228
|
+
time_zone_id: string;
|
|
231
229
|
vehicle_fuel_type_id: string;
|
|
232
230
|
vehicle_fuel_unit_id: string;
|
|
233
|
-
|
|
231
|
+
date_time: string;
|
|
232
|
+
admin_verify_status: GPSFuelApproveStatus;
|
|
233
|
+
transporter_verify_status: GPSFuelApproveStatus;
|
|
234
234
|
fuel_removal_reason_id: string;
|
|
235
|
+
odometer_reading?: unknown;
|
|
236
|
+
latitude?: unknown;
|
|
237
|
+
longitude?: unknown;
|
|
238
|
+
google_location?: string | undefined;
|
|
235
239
|
cost_per_unit?: unknown;
|
|
236
240
|
total_cost?: unknown;
|
|
237
241
|
entry_source?: RefillEntrySource | undefined;
|
|
238
242
|
source_reference_id?: string | undefined;
|
|
239
243
|
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,11 +307,7 @@ 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[];
|
|
313
310
|
status: Status[];
|
|
314
|
-
time_zone_id: string;
|
|
315
311
|
search: string;
|
|
316
312
|
paging: PAGING;
|
|
317
313
|
page_count: number;
|
|
@@ -331,24 +327,25 @@ declare const FleetFuelRemovalQuerySchema: z.ZodObject<{
|
|
|
331
327
|
}[];
|
|
332
328
|
include_master_data: YesNo;
|
|
333
329
|
date_format_id: string;
|
|
330
|
+
time_zone_id: string;
|
|
334
331
|
organisation_ids: string[];
|
|
335
332
|
user_ids: string[];
|
|
336
333
|
vehicle_ids: string[];
|
|
337
334
|
driver_ids: string[];
|
|
338
335
|
device_ids: string[];
|
|
339
|
-
vehicle_fuel_type_ids: string[];
|
|
340
|
-
vehicle_fuel_unit_ids: string[];
|
|
341
336
|
from_date: string;
|
|
342
337
|
to_date: string;
|
|
338
|
+
vehicle_fuel_type_ids: string[];
|
|
339
|
+
vehicle_fuel_unit_ids: string[];
|
|
340
|
+
admin_verify_status: GPSFuelApproveStatus[];
|
|
341
|
+
transporter_verify_status: GPSFuelApproveStatus[];
|
|
342
|
+
entry_source: RefillEntrySource[];
|
|
343
343
|
fuel_removal_reason_ids: string[];
|
|
344
344
|
}, {
|
|
345
|
-
time_zone_id: string;
|
|
346
345
|
date_format_id: string;
|
|
346
|
+
time_zone_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;
|
|
352
349
|
status?: Status[] | undefined;
|
|
353
350
|
search?: string | undefined;
|
|
354
351
|
paging?: PAGING | undefined;
|
|
@@ -375,6 +372,9 @@ declare const FleetFuelRemovalQuerySchema: z.ZodObject<{
|
|
|
375
372
|
device_ids?: string[] | undefined;
|
|
376
373
|
vehicle_fuel_type_ids?: string[] | undefined;
|
|
377
374
|
vehicle_fuel_unit_ids?: string[] | undefined;
|
|
375
|
+
admin_verify_status?: GPSFuelApproveStatus[] | undefined;
|
|
376
|
+
transporter_verify_status?: GPSFuelApproveStatus[] | undefined;
|
|
377
|
+
entry_source?: RefillEntrySource[] | undefined;
|
|
378
378
|
fuel_removal_reason_ids?: string[] | undefined;
|
|
379
379
|
}>;
|
|
380
380
|
type FleetFuelRemovalQueryDTO = z.infer<typeof FleetFuelRemovalQuerySchema>;
|
|
@@ -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-ZHS75FqD.js';
|
|
5
5
|
import '../../../../zod_utils/zod_base_schema.js';
|
|
6
6
|
import '../../../master/main/master_main_sim_provider_service.js';
|
|
7
7
|
|
|
@@ -172,7 +172,6 @@ declare const GPSGeofenceQuerySchema: z.ZodObject<{
|
|
|
172
172
|
gps_geofence_ids: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
173
173
|
}, "strip", z.ZodTypeAny, {
|
|
174
174
|
status: Status[];
|
|
175
|
-
gps_geofence_ids: string[];
|
|
176
175
|
search: string;
|
|
177
176
|
paging: PAGING;
|
|
178
177
|
page_count: number;
|
|
@@ -196,11 +195,11 @@ declare const GPSGeofenceQuerySchema: z.ZodObject<{
|
|
|
196
195
|
organisation_ids: string[];
|
|
197
196
|
geofence_purpose_type: GeofencePurposeType[];
|
|
198
197
|
geofence_type: GeofenceType[];
|
|
198
|
+
gps_geofence_ids: string[];
|
|
199
199
|
}, {
|
|
200
200
|
date_format_id: string;
|
|
201
201
|
time_zone_id: string;
|
|
202
202
|
status?: Status[] | undefined;
|
|
203
|
-
gps_geofence_ids?: string[] | undefined;
|
|
204
203
|
search?: string | undefined;
|
|
205
204
|
paging?: PAGING | undefined;
|
|
206
205
|
page_count?: unknown;
|
|
@@ -222,6 +221,7 @@ declare const GPSGeofenceQuerySchema: z.ZodObject<{
|
|
|
222
221
|
organisation_ids?: string[] | undefined;
|
|
223
222
|
geofence_purpose_type?: GeofencePurposeType[] | undefined;
|
|
224
223
|
geofence_type?: GeofenceType[] | undefined;
|
|
224
|
+
gps_geofence_ids?: string[] | undefined;
|
|
225
225
|
}>;
|
|
226
226
|
type GPSGeofenceQueryDTO = z.infer<typeof GPSGeofenceQuerySchema>;
|
|
227
227
|
declare const toGPSGeofencePayload: (data: GPSGeofence) => GPSGeofenceDTO;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { GeofenceStatusType, Status, PAGING, LoadParents, LoadChild, LoadChildCount, OrderBy, YesNo } from '../../../../core/Enums.js';
|
|
2
2
|
import { FBR, SBR } from '../../../../core/BaseResponse.js';
|
|
3
3
|
import { z } from 'zod';
|
|
4
|
-
import { U as UserOrganisation, M as MasterVehicle, b as MasterDriver } from '../../../../user_organisation_service-
|
|
4
|
+
import { U as UserOrganisation, M as MasterVehicle, b as MasterDriver } from '../../../../user_organisation_service-ZHS75FqD.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-ZHS75FqD.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-ZHS75FqD.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-ZHS75FqD.js';
|
|
5
5
|
import '../../../zod_utils/zod_base_schema.js';
|
|
6
6
|
import '../../master/main/master_main_sim_provider_service.js';
|
|
7
7
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { TrackHistoryLinkStatus, Status, 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-ZHS75FqD.js';
|
|
5
5
|
import '../../../zod_utils/zod_base_schema.js';
|
|
6
6
|
import '../../master/main/master_main_sim_provider_service.js';
|
|
7
7
|
|