vms-nest-prisma-api-document 24.0.0 → 26.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/core/Enums.d.ts +28 -12
- package/dist/core/Enums.js +34 -14
- 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 +9 -9
- package/dist/services/{gps/features/user_notification_preferences.service.d.ts → account/notification_preferences.service.d.ts} +78 -46
- package/dist/services/{gps/features/user_notification_preferences.service.js → account/notification_preferences.service.js} +80 -63
- package/dist/services/{gps/features/user_report_preferences.service.d.ts → account/report_preferences.service.d.ts} +70 -59
- package/dist/services/{gps/features/user_report_preferences.service.js → account/report_preferences.service.js} +64 -31
- package/dist/services/account/ticket_service.d.ts +40 -32
- package/dist/services/account/ticket_service.js +27 -23
- 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 +28 -28
- package/dist/services/gps/features/geofence/gps_geofence_transaction_service.d.ts +16 -16
- package/dist/services/gps/features/geofence/gps_geofence_transaction_summary_service.d.ts +11 -11
- package/dist/services/gps/features/geofence/trip_geofence_to_geofence_service.d.ts +7 -7
- package/dist/services/gps/features/gps_live_track_share_link_service.d.ts +79 -64
- package/dist/services/gps/features/gps_live_track_share_link_service.js +62 -84
- package/dist/services/gps/features/gps_track_history_share_link_service.d.ts +69 -47
- package/dist/services/gps/features/gps_track_history_share_link_service.js +68 -44
- 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_organisation_service.js +73 -63
- package/dist/services/main/users/user_service.d.ts +1 -1
- package/dist/services/main/vehicle/childs/vehicle_odometer_history.d.ts +1 -1
- package/dist/services/main/vehicle/master_vehicle_service.d.ts +1 -1
- package/dist/services/master/device/master_device_manufacturer_service.d.ts +1 -1
- package/dist/services/master/device/master_device_model_service.d.ts +1 -1
- package/dist/services/master/device/master_device_type_service.d.ts +1 -1
- package/dist/services/master/expense/master_expense_name_service.d.ts +1 -1
- package/dist/services/master/expense/master_expense_type_service.d.ts +1 -1
- package/dist/services/master/expense/master_fuel_company_service.d.ts +1 -1
- package/dist/services/master/expense/master_vendor_document_type_service.d.ts +1 -1
- package/dist/services/master/expense/master_vendor_type_service.d.ts +1 -1
- package/dist/services/master/fleet/master_fleet_incident_severity_service.d.ts +1 -1
- package/dist/services/master/fleet/master_fleet_incident_status_service.d.ts +1 -1
- package/dist/services/master/fleet/master_fleet_incident_type_service.d.ts +1 -1
- package/dist/services/master/fleet/master_fleet_insurance_claim_status_service.d.ts +1 -1
- package/dist/services/master/fleet/master_fleet_service_task_service.d.ts +1 -1
- package/dist/services/master/main/master_main_country_service.d.ts +1 -1
- package/dist/services/master/main/master_main_currency_service.d.ts +1 -1
- package/dist/services/master/main/master_main_date_format_service.d.ts +1 -1
- package/dist/services/master/main/master_main_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 +6 -6
- 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/{user_organisation_service-C-FbPQmd.d.ts → user_organisation_service-DL7cDTcV.d.ts} +115 -89
- package/package.json +1 -1
|
@@ -2,7 +2,7 @@ import { GPSFuelApproveStatus, RefillEntrySource, RefillMethod, PaymentMode, Pay
|
|
|
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-DL7cDTcV.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,17 @@ 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
|
+
google_location: string;
|
|
209
220
|
date_time: string;
|
|
210
221
|
admin_verify_status: GPSFuelApproveStatus;
|
|
211
222
|
transporter_verify_status: GPSFuelApproveStatus;
|
|
@@ -221,23 +232,12 @@ declare const FleetFuelRefillSchema: z.ZodObject<{
|
|
|
221
232
|
payment_reference_number: string;
|
|
222
233
|
fuel_card_number: string;
|
|
223
234
|
payment_notes: string;
|
|
224
|
-
google_location: string;
|
|
225
|
-
odometer_reading: number;
|
|
226
235
|
tank_size: number;
|
|
227
236
|
is_full_tank: YesNo;
|
|
228
237
|
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
238
|
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,9 +259,16 @@ 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
|
+
status: Status;
|
|
264
|
+
organisation_id: string;
|
|
265
|
+
user_id: string;
|
|
266
|
+
vehicle_id: string;
|
|
267
|
+
driver_id: string;
|
|
268
|
+
device_id: string;
|
|
269
|
+
time_zone_id: string;
|
|
270
|
+
vehicle_fuel_type_id: string;
|
|
271
|
+
vehicle_fuel_unit_id: string;
|
|
263
272
|
date_time: string;
|
|
264
273
|
admin_verify_status: GPSFuelApproveStatus;
|
|
265
274
|
transporter_verify_status: GPSFuelApproveStatus;
|
|
@@ -267,17 +276,12 @@ declare const FleetFuelRefillSchema: z.ZodObject<{
|
|
|
267
276
|
payment_status: PaymentStatus;
|
|
268
277
|
is_full_tank: YesNo;
|
|
269
278
|
is_previous_entries_missed: YesNo;
|
|
270
|
-
status: Status;
|
|
271
|
-
organisation_id: string;
|
|
272
|
-
user_id: string;
|
|
273
|
-
vehicle_id: string;
|
|
274
|
-
driver_id: string;
|
|
275
|
-
device_id: string;
|
|
276
279
|
vendor_id: string;
|
|
277
280
|
fuel_station_id: string;
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
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;
|
|
393
|
+
vehicle_fuel_type_ids: string[];
|
|
394
|
+
admin_verify_status: GPSFuelApproveStatus[];
|
|
395
|
+
transporter_verify_status: GPSFuelApproveStatus[];
|
|
396
|
+
entry_source: RefillEntrySource[];
|
|
394
397
|
vendor_ids: string[];
|
|
395
398
|
fuel_station_ids: string[];
|
|
396
|
-
vehicle_fuel_type_ids: string[];
|
|
397
399
|
vehicle_fuel_unit_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;
|
|
@@ -430,9 +427,12 @@ declare const FleetFuelRefillQuerySchema: z.ZodObject<{
|
|
|
430
427
|
vehicle_ids?: string[] | undefined;
|
|
431
428
|
driver_ids?: string[] | undefined;
|
|
432
429
|
device_ids?: string[] | undefined;
|
|
430
|
+
vehicle_fuel_type_ids?: string[] | undefined;
|
|
431
|
+
admin_verify_status?: GPSFuelApproveStatus[] | undefined;
|
|
432
|
+
transporter_verify_status?: GPSFuelApproveStatus[] | undefined;
|
|
433
|
+
entry_source?: RefillEntrySource[] | undefined;
|
|
433
434
|
vendor_ids?: string[] | undefined;
|
|
434
435
|
fuel_station_ids?: string[] | undefined;
|
|
435
|
-
vehicle_fuel_type_ids?: string[] | undefined;
|
|
436
436
|
vehicle_fuel_unit_ids?: string[] | undefined;
|
|
437
437
|
fleet_fuel_refill_ids?: string[] | undefined;
|
|
438
438
|
}>;
|
|
@@ -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-DL7cDTcV.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
|
+
admin_verify_status: GPSFuelApproveStatus[];
|
|
340
|
+
transporter_verify_status: GPSFuelApproveStatus[];
|
|
341
|
+
entry_source: RefillEntrySource[];
|
|
342
|
+
vehicle_fuel_unit_ids: string[];
|
|
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;
|
|
@@ -374,6 +371,9 @@ declare const FleetFuelRemovalQuerySchema: z.ZodObject<{
|
|
|
374
371
|
driver_ids?: string[] | undefined;
|
|
375
372
|
device_ids?: string[] | undefined;
|
|
376
373
|
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-DL7cDTcV.js';
|
|
5
5
|
import '../../../../zod_utils/zod_base_schema.js';
|
|
6
6
|
import '../../../master/main/master_main_sim_provider_service.js';
|
|
7
7
|
|
|
@@ -82,14 +82,9 @@ declare const GPSGeofenceSchema: z.ZodObject<{
|
|
|
82
82
|
google_location: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
|
|
83
83
|
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
84
84
|
}, "strip", z.ZodTypeAny, {
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
geofence_type: GeofenceType;
|
|
89
|
-
poliline_data: {
|
|
90
|
-
latitude: number;
|
|
91
|
-
longitude: number;
|
|
92
|
-
}[];
|
|
85
|
+
status: Status;
|
|
86
|
+
organisation_id: string;
|
|
87
|
+
country_code: string;
|
|
93
88
|
address_line1: string;
|
|
94
89
|
address_line2: string;
|
|
95
90
|
locality_landmark: string;
|
|
@@ -99,29 +94,26 @@ declare const GPSGeofenceSchema: z.ZodObject<{
|
|
|
99
94
|
state_province_region: string;
|
|
100
95
|
postal_code: string;
|
|
101
96
|
country: string;
|
|
102
|
-
|
|
97
|
+
geofence_name: string;
|
|
98
|
+
geofence_purpose_type: GeofencePurposeType;
|
|
99
|
+
geofence_description: string;
|
|
100
|
+
geofence_type: GeofenceType;
|
|
101
|
+
poliline_data: {
|
|
102
|
+
latitude: number;
|
|
103
|
+
longitude: number;
|
|
104
|
+
}[];
|
|
103
105
|
google_location: string;
|
|
104
|
-
status: Status;
|
|
105
|
-
organisation_id: string;
|
|
106
106
|
radius_m?: number | undefined;
|
|
107
107
|
radius_km?: number | undefined;
|
|
108
108
|
latitude?: number | undefined;
|
|
109
109
|
longitude?: number | undefined;
|
|
110
110
|
}, {
|
|
111
|
+
status: Status;
|
|
112
|
+
organisation_id: string;
|
|
111
113
|
geofence_name: string;
|
|
112
114
|
geofence_purpose_type: GeofencePurposeType;
|
|
113
115
|
geofence_type: GeofenceType;
|
|
114
|
-
|
|
115
|
-
organisation_id: string;
|
|
116
|
-
geofence_description?: string | undefined;
|
|
117
|
-
radius_m?: unknown;
|
|
118
|
-
radius_km?: unknown;
|
|
119
|
-
latitude?: unknown;
|
|
120
|
-
longitude?: unknown;
|
|
121
|
-
poliline_data?: {
|
|
122
|
-
latitude?: unknown;
|
|
123
|
-
longitude?: unknown;
|
|
124
|
-
}[] | undefined;
|
|
116
|
+
country_code?: string | undefined;
|
|
125
117
|
address_line1?: string | undefined;
|
|
126
118
|
address_line2?: string | undefined;
|
|
127
119
|
locality_landmark?: string | undefined;
|
|
@@ -131,7 +123,15 @@ declare const GPSGeofenceSchema: z.ZodObject<{
|
|
|
131
123
|
state_province_region?: string | undefined;
|
|
132
124
|
postal_code?: string | undefined;
|
|
133
125
|
country?: string | undefined;
|
|
134
|
-
|
|
126
|
+
geofence_description?: string | undefined;
|
|
127
|
+
radius_m?: unknown;
|
|
128
|
+
radius_km?: unknown;
|
|
129
|
+
latitude?: unknown;
|
|
130
|
+
longitude?: unknown;
|
|
131
|
+
poliline_data?: {
|
|
132
|
+
latitude?: unknown;
|
|
133
|
+
longitude?: unknown;
|
|
134
|
+
}[] | undefined;
|
|
135
135
|
google_location?: string | undefined;
|
|
136
136
|
}>;
|
|
137
137
|
type GPSGeofenceDTO = z.infer<typeof GPSGeofenceSchema>;
|
|
@@ -171,8 +171,6 @@ declare const GPSGeofenceQuerySchema: z.ZodObject<{
|
|
|
171
171
|
geofence_type: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof GeofenceType>, "many">>>;
|
|
172
172
|
gps_geofence_ids: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
173
173
|
}, "strip", z.ZodTypeAny, {
|
|
174
|
-
geofence_purpose_type: GeofencePurposeType[];
|
|
175
|
-
geofence_type: GeofenceType[];
|
|
176
174
|
status: Status[];
|
|
177
175
|
search: string;
|
|
178
176
|
paging: PAGING;
|
|
@@ -195,12 +193,12 @@ declare const GPSGeofenceQuerySchema: z.ZodObject<{
|
|
|
195
193
|
date_format_id: string;
|
|
196
194
|
time_zone_id: string;
|
|
197
195
|
organisation_ids: string[];
|
|
196
|
+
geofence_purpose_type: GeofencePurposeType[];
|
|
197
|
+
geofence_type: GeofenceType[];
|
|
198
198
|
gps_geofence_ids: string[];
|
|
199
199
|
}, {
|
|
200
200
|
date_format_id: string;
|
|
201
201
|
time_zone_id: string;
|
|
202
|
-
geofence_purpose_type?: GeofencePurposeType[] | undefined;
|
|
203
|
-
geofence_type?: GeofenceType[] | undefined;
|
|
204
202
|
status?: Status[] | undefined;
|
|
205
203
|
search?: string | undefined;
|
|
206
204
|
paging?: PAGING | undefined;
|
|
@@ -221,6 +219,8 @@ declare const GPSGeofenceQuerySchema: z.ZodObject<{
|
|
|
221
219
|
}[] | undefined;
|
|
222
220
|
include_master_data?: YesNo | undefined;
|
|
223
221
|
organisation_ids?: string[] | undefined;
|
|
222
|
+
geofence_purpose_type?: GeofencePurposeType[] | undefined;
|
|
223
|
+
geofence_type?: GeofenceType[] | undefined;
|
|
224
224
|
gps_geofence_ids?: string[] | undefined;
|
|
225
225
|
}>;
|
|
226
226
|
type GPSGeofenceQueryDTO = z.infer<typeof GPSGeofenceQuerySchema>;
|
|
@@ -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-DL7cDTcV.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
|
-
|
|
39
|
+
geofence_status_type: GeofenceStatusType;
|
|
40
|
+
geofence_time: string;
|
|
40
41
|
status: Status;
|
|
41
42
|
organisation_id: string;
|
|
42
|
-
time_zone_id: string;
|
|
43
|
-
driver_id: string;
|
|
44
43
|
vehicle_id: string;
|
|
44
|
+
driver_id: string;
|
|
45
|
+
gps_geofence_id: string;
|
|
46
|
+
time_zone_id: string;
|
|
47
|
+
}, {
|
|
45
48
|
geofence_status_type: GeofenceStatusType;
|
|
46
49
|
geofence_time: string;
|
|
47
|
-
}, {
|
|
48
|
-
gps_geofence_id: string;
|
|
49
50
|
status: Status;
|
|
50
51
|
organisation_id: string;
|
|
51
|
-
time_zone_id: string;
|
|
52
|
-
driver_id: string;
|
|
53
52
|
vehicle_id: string;
|
|
54
|
-
|
|
55
|
-
|
|
53
|
+
driver_id: string;
|
|
54
|
+
gps_geofence_id: string;
|
|
55
|
+
time_zone_id: string;
|
|
56
56
|
}>;
|
|
57
57
|
type GPSGeofenceTransactionDTO = z.infer<typeof GPSGeofenceTransactionSchema>;
|
|
58
58
|
declare const GPSGeofenceTransactionQuerySchema: z.ZodObject<{
|
|
@@ -94,7 +94,9 @@ 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[];
|
|
97
98
|
status: Status[];
|
|
99
|
+
time_zone_id: string;
|
|
98
100
|
search: string;
|
|
99
101
|
paging: PAGING;
|
|
100
102
|
page_count: number;
|
|
@@ -114,19 +116,18 @@ declare const GPSGeofenceTransactionQuerySchema: z.ZodObject<{
|
|
|
114
116
|
}[];
|
|
115
117
|
include_master_data: YesNo;
|
|
116
118
|
date_format_id: string;
|
|
117
|
-
time_zone_id: string;
|
|
118
119
|
organisation_ids: string[];
|
|
119
|
-
gps_geofence_ids: string[];
|
|
120
120
|
vehicle_ids: string[];
|
|
121
121
|
driver_ids: string[];
|
|
122
|
-
|
|
122
|
+
gps_geofence_ids: string[];
|
|
123
123
|
from_date: string;
|
|
124
124
|
to_date: string;
|
|
125
125
|
}, {
|
|
126
|
-
date_format_id: string;
|
|
127
126
|
time_zone_id: string;
|
|
127
|
+
date_format_id: string;
|
|
128
128
|
from_date: string;
|
|
129
129
|
to_date: string;
|
|
130
|
+
geofence_status_type?: GeofenceStatusType[] | undefined;
|
|
130
131
|
status?: Status[] | undefined;
|
|
131
132
|
search?: string | undefined;
|
|
132
133
|
paging?: PAGING | undefined;
|
|
@@ -147,10 +148,9 @@ declare const GPSGeofenceTransactionQuerySchema: z.ZodObject<{
|
|
|
147
148
|
}[] | undefined;
|
|
148
149
|
include_master_data?: YesNo | undefined;
|
|
149
150
|
organisation_ids?: string[] | undefined;
|
|
150
|
-
gps_geofence_ids?: string[] | undefined;
|
|
151
151
|
vehicle_ids?: string[] | undefined;
|
|
152
152
|
driver_ids?: string[] | undefined;
|
|
153
|
-
|
|
153
|
+
gps_geofence_ids?: string[] | 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-DL7cDTcV.js';
|
|
5
5
|
import { GPSGeofence } from './gps_geofence_service.js';
|
|
6
6
|
import { GPSGeofenceTransaction } from './gps_geofence_transaction_service.js';
|
|
7
7
|
import '../../../../zod_utils/zod_base_schema.js';
|
|
@@ -46,24 +46,24 @@ declare const GPSGeofenceTransactionSummarySchema: z.ZodObject<{
|
|
|
46
46
|
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
47
47
|
time_zone_id: z.ZodEffects<z.ZodString, string, string>;
|
|
48
48
|
}, "strip", z.ZodTypeAny, {
|
|
49
|
-
gps_geofence_id: string;
|
|
50
49
|
status: Status;
|
|
51
50
|
organisation_id: string;
|
|
52
|
-
time_zone_id: string;
|
|
53
|
-
driver_id: string;
|
|
54
51
|
vehicle_id: string;
|
|
52
|
+
driver_id: string;
|
|
53
|
+
gps_geofence_id: string;
|
|
54
|
+
time_zone_id: string;
|
|
55
55
|
geofence_enter_date_time: string;
|
|
56
56
|
geofence_exit_date_time: string;
|
|
57
57
|
duration_seconds: number;
|
|
58
58
|
enter_gps_geofence_transaction_id: string;
|
|
59
59
|
exit_gps_geofence_transaction_id: string;
|
|
60
60
|
}, {
|
|
61
|
-
gps_geofence_id: string;
|
|
62
61
|
status: Status;
|
|
63
62
|
organisation_id: string;
|
|
64
|
-
time_zone_id: string;
|
|
65
|
-
driver_id: string;
|
|
66
63
|
vehicle_id: string;
|
|
64
|
+
driver_id: string;
|
|
65
|
+
gps_geofence_id: string;
|
|
66
|
+
time_zone_id: string;
|
|
67
67
|
geofence_enter_date_time: string;
|
|
68
68
|
enter_gps_geofence_transaction_id: string;
|
|
69
69
|
exit_gps_geofence_transaction_id: string;
|
|
@@ -110,6 +110,7 @@ declare const GPSGeofenceTransactionSummaryQuerySchema: z.ZodObject<{
|
|
|
110
110
|
to_date: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
111
111
|
}, "strip", z.ZodTypeAny, {
|
|
112
112
|
status: Status[];
|
|
113
|
+
time_zone_id: string;
|
|
113
114
|
search: string;
|
|
114
115
|
paging: PAGING;
|
|
115
116
|
page_count: number;
|
|
@@ -129,16 +130,15 @@ declare const GPSGeofenceTransactionSummaryQuerySchema: z.ZodObject<{
|
|
|
129
130
|
}[];
|
|
130
131
|
include_master_data: YesNo;
|
|
131
132
|
date_format_id: string;
|
|
132
|
-
time_zone_id: string;
|
|
133
133
|
organisation_ids: string[];
|
|
134
|
-
gps_geofence_ids: string[];
|
|
135
134
|
vehicle_ids: string[];
|
|
136
135
|
driver_ids: string[];
|
|
136
|
+
gps_geofence_ids: string[];
|
|
137
137
|
from_date: string;
|
|
138
138
|
to_date: string;
|
|
139
139
|
}, {
|
|
140
|
-
date_format_id: string;
|
|
141
140
|
time_zone_id: string;
|
|
141
|
+
date_format_id: string;
|
|
142
142
|
from_date: string;
|
|
143
143
|
to_date: string;
|
|
144
144
|
status?: Status[] | undefined;
|
|
@@ -161,9 +161,9 @@ declare const GPSGeofenceTransactionSummaryQuerySchema: z.ZodObject<{
|
|
|
161
161
|
}[] | undefined;
|
|
162
162
|
include_master_data?: YesNo | undefined;
|
|
163
163
|
organisation_ids?: string[] | undefined;
|
|
164
|
-
gps_geofence_ids?: string[] | undefined;
|
|
165
164
|
vehicle_ids?: string[] | undefined;
|
|
166
165
|
driver_ids?: string[] | undefined;
|
|
166
|
+
gps_geofence_ids?: string[] | undefined;
|
|
167
167
|
}>;
|
|
168
168
|
type GPSGeofenceTransactionSummaryQueryDTO = z.infer<typeof GPSGeofenceTransactionSummaryQuerySchema>;
|
|
169
169
|
declare const toGPSGeofenceTransactionSummaryPayload: (data: GPSGeofenceTransactionSummary) => GPSGeofenceTransactionSummaryDTO;
|