vms-nest-prisma-api-document 8.0.1 → 10.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 +21 -4
- package/dist/core/Enums.js +25 -2
- 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/account/ticket_service.d.ts +17 -17
- package/dist/services/fleet/fuel_management/fleet_fuel_daily_summary_service.d.ts +17 -17
- package/dist/services/fleet/fuel_management/fleet_fuel_refill_service.d.ts +50 -50
- package/dist/services/fleet/fuel_management/fleet_fuel_refill_service.js +1 -1
- package/dist/services/fleet/fuel_management/fleet_fuel_removal_service.d.ts +35 -35
- package/dist/services/fleet/fuel_management/fleet_fuel_removal_service.js +1 -1
- package/dist/services/gps/features/geofence/gps_geofence_service.d.ts +17 -17
- package/dist/services/gps/features/geofence/gps_geofence_transaction_service.d.ts +12 -12
- package/dist/services/gps/features/geofence/gps_geofence_transaction_summary_service.d.ts +13 -13
- package/dist/services/gps/features/geofence/trip_geofence_to_geofence_service.d.ts +15 -15
- package/dist/services/gps/features/gps_live_track_share_link_service.d.ts +1 -1
- package/dist/services/gps/features/gps_live_track_share_link_service.js +1 -2
- package/dist/services/gps/features/gps_track_history_share_link_service.d.ts +1 -1
- package/dist/services/gps/features/gps_track_history_share_link_service.js +1 -2
- package/dist/services/gps/features/preferences/user_notification_preferences.service.d.ts +192 -0
- package/dist/services/gps/features/preferences/user_notification_preferences.service.js +365 -0
- package/dist/services/gps/features/preferences/user_report_preferences.service.d.ts +173 -0
- package/dist/services/gps/features/preferences/user_report_preferences.service.js +346 -0
- package/dist/services/main/devices/master_device_service.d.ts +1 -1
- package/dist/services/main/drivers/master_driver_service.d.ts +1 -1
- package/dist/services/main/sims/master_sim_service.d.ts +1 -1
- package/dist/services/main/users/auth_service.d.ts +1 -1
- package/dist/services/main/users/user_organisation_service.d.ts +1 -1
- package/dist/services/main/users/user_service.d.ts +1 -1
- package/dist/services/main/vehicle/childs/vehicle_odometer_history.d.ts +1 -1
- package/dist/services/main/vehicle/master_vehicle_service.d.ts +1 -1
- package/dist/services/master/device/master_device_manufacturer_service.d.ts +1 -1
- package/dist/services/master/device/master_device_model_service.d.ts +1 -1
- package/dist/services/master/device/master_device_type_service.d.ts +1 -1
- package/dist/services/master/expense/master_expense_name_service.d.ts +1 -1
- package/dist/services/master/expense/master_expense_type_service.d.ts +1 -1
- package/dist/services/master/expense/master_fuel_company_service.d.ts +6 -6
- package/dist/services/master/expense/master_vendor_document_type_service.d.ts +3 -3
- package/dist/services/master/expense/master_vendor_type_service.d.ts +1 -1
- package/dist/services/master/fleet/master_fleet_incident_severity_service.d.ts +1 -1
- package/dist/services/master/fleet/master_fleet_incident_status_service.d.ts +1 -1
- package/dist/services/master/fleet/master_fleet_incident_type_service.d.ts +1 -1
- package/dist/services/master/fleet/master_fleet_insurance_claim_status_service.d.ts +1 -1
- package/dist/services/master/fleet/master_fleet_service_task_service.d.ts +1 -1
- package/dist/services/master/main/master_main_country_service.d.ts +1 -1
- package/dist/services/master/main/master_main_currency_service.d.ts +1 -1
- package/dist/services/master/main/master_main_date_format_service.d.ts +1 -1
- package/dist/services/master/main/master_main_eway_bill_provider_service.d.ts +2 -2
- package/dist/services/master/main/master_main_fasttag_bank_service.d.ts +2 -2
- package/dist/services/master/main/master_main_industry_service.d.ts +1 -1
- package/dist/services/master/main/master_main_landmark_service.d.ts +7 -7
- package/dist/services/master/main/master_main_language_service.d.ts +1 -1
- package/dist/services/master/main/master_main_state_service.d.ts +1 -1
- package/dist/services/master/main/master_main_timezone_service.d.ts +1 -1
- package/dist/services/master/main/master_main_unit_distance_service.d.ts +1 -1
- package/dist/services/master/main/master_main_unit_mileage_service.d.ts +1 -1
- package/dist/services/master/main/master_main_unit_volume_service.d.ts +1 -1
- package/dist/services/master/organisation/organisation_branch_service.d.ts +1 -1
- package/dist/services/master/organisation/organisation_color_service.d.ts +1 -1
- package/dist/services/master/organisation/organisation_group_service.d.ts +1 -1
- package/dist/services/master/organisation/organisation_sub_company_service.d.ts +1 -1
- package/dist/services/master/organisation/organisation_tag_service.d.ts +1 -1
- package/dist/services/master/spare_part/master_spare_part_category_service.d.ts +1 -1
- package/dist/services/master/spare_part/master_spare_part_sub_category_service.d.ts +1 -1
- package/dist/services/master/spare_part/master_spare_part_unit_service.d.ts +1 -1
- package/dist/services/master/trip/master_trip_party_type_service.d.ts +1 -1
- package/dist/services/master/tyre/master_tyre_grade_service.d.ts +1 -1
- package/dist/services/master/tyre/master_tyre_make_service.d.ts +1 -1
- package/dist/services/master/tyre/master_tyre_model_service.d.ts +1 -1
- package/dist/services/master/user/master_user_role_service.d.ts +1 -1
- package/dist/services/master/user/master_user_status_service.d.ts +1 -1
- package/dist/services/master/vehicle/master_vehicle_associated_to_service.d.ts +1 -1
- package/dist/services/master/vehicle/master_vehicle_document_type_service.d.ts +1 -1
- package/dist/services/master/vehicle/master_vehicle_fuel_removal_reason_service.d.ts +3 -3
- package/dist/services/master/vehicle/master_vehicle_fuel_type_service.d.ts +1 -1
- package/dist/services/master/vehicle/master_vehicle_fuel_unit_service.d.ts +1 -1
- package/dist/services/master/vehicle/master_vehicle_make_service.d.ts +1 -1
- package/dist/services/master/vehicle/master_vehicle_model_service.d.ts +1 -1
- package/dist/services/master/vehicle/master_vehicle_ownership_type_service.d.ts +1 -1
- package/dist/services/master/vehicle/master_vehicle_status_type_service.d.ts +1 -1
- package/dist/services/master/vehicle/master_vehicle_sub_model_service.d.ts +1 -1
- package/dist/services/master/vehicle/master_vehicle_type_service.d.ts +1 -1
- package/dist/services/website/contact_us_detail_service.d.ts +1 -1
- package/dist/services/website/faq_service.d.ts +1 -1
- package/package.json +1 -1
- package/dist/{user_organisation_service-D2pCLN2b.d.ts → user_organisation_service-djKCoZTQ.d.ts} +3 -3
|
@@ -2,7 +2,7 @@ import { YesNo, PaymentMode, PaymentStatus, RefillMethod, RefillEntrySource, GPS
|
|
|
2
2
|
import { FBR, SBR, BR, AWSPresignedUrl } from '../../../core/BaseResponse.js';
|
|
3
3
|
import { z } from 'zod';
|
|
4
4
|
import { FilePresignedUrlDTO } from '../../../zod_utils/zod_base_schema.js';
|
|
5
|
-
import { U as UserOrganisation, a as User, M as MasterVehicle, b as MasterDriver, c as MasterDevice, d as MasterVehicleFuelType, e as MasterVehicleFuelUnit } from '../../../user_organisation_service-
|
|
5
|
+
import { U as UserOrganisation, a as User, M as MasterVehicle, b as MasterDriver, c as MasterDevice, d as MasterVehicleFuelType, e as MasterVehicleFuelUnit } from '../../../user_organisation_service-djKCoZTQ.js';
|
|
6
6
|
import { MasterMainLandmark } from '../../master/main/master_main_landmark_service.js';
|
|
7
7
|
import '../../master/main/master_main_sim_provider_service.js';
|
|
8
8
|
|
|
@@ -111,24 +111,24 @@ declare const FleetFuelRefillFileSchema: z.ZodObject<{
|
|
|
111
111
|
file_metadata: z.ZodDefault<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
112
112
|
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
113
113
|
}, "strip", z.ZodTypeAny, {
|
|
114
|
+
fleet_fuel_refill_id: string;
|
|
114
115
|
status: Status;
|
|
115
116
|
organisation_id: string;
|
|
116
|
-
file_name: string;
|
|
117
117
|
file_type: FileType;
|
|
118
|
-
fleet_fuel_refill_id: string;
|
|
119
118
|
file_url: string;
|
|
120
119
|
file_key: string;
|
|
120
|
+
file_name: string;
|
|
121
121
|
file_description: string;
|
|
122
122
|
file_size: number;
|
|
123
123
|
file_metadata: Record<string, any>;
|
|
124
124
|
}, {
|
|
125
|
+
fleet_fuel_refill_id: string;
|
|
125
126
|
status: Status;
|
|
126
127
|
organisation_id: string;
|
|
127
128
|
file_type: FileType;
|
|
128
|
-
fleet_fuel_refill_id: string;
|
|
129
|
-
file_name?: string | undefined;
|
|
130
129
|
file_url?: string | undefined;
|
|
131
130
|
file_key?: string | undefined;
|
|
131
|
+
file_name?: string | undefined;
|
|
132
132
|
file_description?: string | undefined;
|
|
133
133
|
file_size?: unknown;
|
|
134
134
|
file_metadata?: Record<string, any> | undefined;
|
|
@@ -187,40 +187,30 @@ declare const FleetFuelRefillSchema: z.ZodObject<{
|
|
|
187
187
|
file_metadata: z.ZodDefault<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
188
188
|
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
189
189
|
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
190
|
+
fleet_fuel_refill_id: string;
|
|
190
191
|
status: Status;
|
|
191
192
|
organisation_id: string;
|
|
192
|
-
file_name: string;
|
|
193
193
|
file_type: FileType;
|
|
194
|
-
fleet_fuel_refill_id: string;
|
|
195
194
|
file_url: string;
|
|
196
195
|
file_key: string;
|
|
196
|
+
file_name: string;
|
|
197
197
|
file_description: string;
|
|
198
198
|
file_size: number;
|
|
199
199
|
file_metadata: Record<string, any>;
|
|
200
200
|
}, {
|
|
201
|
+
fleet_fuel_refill_id: string;
|
|
201
202
|
status: Status;
|
|
202
203
|
organisation_id: string;
|
|
203
204
|
file_type: FileType;
|
|
204
|
-
fleet_fuel_refill_id: string;
|
|
205
|
-
file_name?: string | undefined;
|
|
206
205
|
file_url?: string | undefined;
|
|
207
206
|
file_key?: string | undefined;
|
|
207
|
+
file_name?: string | undefined;
|
|
208
208
|
file_description?: string | undefined;
|
|
209
209
|
file_size?: unknown;
|
|
210
210
|
file_metadata?: Record<string, any> | undefined;
|
|
211
211
|
}>, "many">>>;
|
|
212
212
|
}, "strip", z.ZodTypeAny, {
|
|
213
|
-
status: Status;
|
|
214
|
-
organisation_id: string;
|
|
215
|
-
user_id: string;
|
|
216
|
-
vehicle_id: string;
|
|
217
|
-
driver_id: string;
|
|
218
|
-
device_id: string;
|
|
219
|
-
time_zone_id: string;
|
|
220
|
-
vehicle_fuel_type_id: string;
|
|
221
|
-
vehicle_fuel_unit_id: string;
|
|
222
213
|
odometer_reading: number;
|
|
223
|
-
google_location: string;
|
|
224
214
|
is_full_tank: YesNo;
|
|
225
215
|
is_previous_entries_missed: YesNo;
|
|
226
216
|
date_time: string;
|
|
@@ -239,22 +229,30 @@ declare const FleetFuelRefillSchema: z.ZodObject<{
|
|
|
239
229
|
source_notes: string;
|
|
240
230
|
admin_verify_status: GPSFuelApproveStatus;
|
|
241
231
|
transporter_verify_status: GPSFuelApproveStatus;
|
|
232
|
+
google_location: string;
|
|
233
|
+
status: Status;
|
|
234
|
+
organisation_id: string;
|
|
235
|
+
user_id: string;
|
|
236
|
+
vehicle_id: string;
|
|
237
|
+
driver_id: string;
|
|
238
|
+
device_id: string;
|
|
242
239
|
vendor_id: string;
|
|
243
240
|
fuel_station_id: string;
|
|
241
|
+
vehicle_fuel_type_id: string;
|
|
242
|
+
vehicle_fuel_unit_id: string;
|
|
243
|
+
time_zone_id: string;
|
|
244
244
|
refill_files: {
|
|
245
|
+
fleet_fuel_refill_id: string;
|
|
245
246
|
status: Status;
|
|
246
247
|
organisation_id: string;
|
|
247
|
-
file_name: string;
|
|
248
248
|
file_type: FileType;
|
|
249
|
-
fleet_fuel_refill_id: string;
|
|
250
249
|
file_url: string;
|
|
251
250
|
file_key: string;
|
|
251
|
+
file_name: string;
|
|
252
252
|
file_description: string;
|
|
253
253
|
file_size: number;
|
|
254
254
|
file_metadata: Record<string, any>;
|
|
255
255
|
}[];
|
|
256
|
-
latitude?: number | undefined;
|
|
257
|
-
longitude?: number | undefined;
|
|
258
256
|
before_refill_quantity?: number | undefined;
|
|
259
257
|
after_refill_quantity?: number | undefined;
|
|
260
258
|
refill_quantity?: number | undefined;
|
|
@@ -262,16 +260,9 @@ declare const FleetFuelRefillSchema: z.ZodObject<{
|
|
|
262
260
|
diff_refill_quantity?: number | undefined;
|
|
263
261
|
cost_per_unit?: number | undefined;
|
|
264
262
|
total_cost?: number | undefined;
|
|
263
|
+
latitude?: number | undefined;
|
|
264
|
+
longitude?: number | undefined;
|
|
265
265
|
}, {
|
|
266
|
-
status: Status;
|
|
267
|
-
organisation_id: string;
|
|
268
|
-
user_id: string;
|
|
269
|
-
vehicle_id: string;
|
|
270
|
-
driver_id: string;
|
|
271
|
-
device_id: string;
|
|
272
|
-
time_zone_id: string;
|
|
273
|
-
vehicle_fuel_type_id: string;
|
|
274
|
-
vehicle_fuel_unit_id: string;
|
|
275
266
|
is_full_tank: YesNo;
|
|
276
267
|
is_previous_entries_missed: YesNo;
|
|
277
268
|
date_time: string;
|
|
@@ -279,17 +270,23 @@ declare const FleetFuelRefillSchema: z.ZodObject<{
|
|
|
279
270
|
payment_status: PaymentStatus;
|
|
280
271
|
admin_verify_status: GPSFuelApproveStatus;
|
|
281
272
|
transporter_verify_status: GPSFuelApproveStatus;
|
|
273
|
+
status: Status;
|
|
274
|
+
organisation_id: string;
|
|
275
|
+
user_id: string;
|
|
276
|
+
vehicle_id: string;
|
|
277
|
+
driver_id: string;
|
|
278
|
+
device_id: string;
|
|
282
279
|
vendor_id: string;
|
|
283
280
|
fuel_station_id: string;
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
google_location?: string | undefined;
|
|
281
|
+
vehicle_fuel_type_id: string;
|
|
282
|
+
vehicle_fuel_unit_id: string;
|
|
283
|
+
time_zone_id: string;
|
|
288
284
|
before_refill_quantity?: unknown;
|
|
289
285
|
after_refill_quantity?: unknown;
|
|
290
286
|
refill_quantity?: unknown;
|
|
291
287
|
verified_refill_quantity?: unknown;
|
|
292
288
|
diff_refill_quantity?: unknown;
|
|
289
|
+
odometer_reading?: unknown;
|
|
293
290
|
cost_per_unit?: unknown;
|
|
294
291
|
total_cost?: unknown;
|
|
295
292
|
invoice_number?: string | undefined;
|
|
@@ -303,14 +300,17 @@ declare const FleetFuelRefillSchema: z.ZodObject<{
|
|
|
303
300
|
entry_source?: RefillEntrySource | undefined;
|
|
304
301
|
source_reference_id?: string | undefined;
|
|
305
302
|
source_notes?: string | undefined;
|
|
303
|
+
latitude?: unknown;
|
|
304
|
+
longitude?: unknown;
|
|
305
|
+
google_location?: string | undefined;
|
|
306
306
|
refill_files?: {
|
|
307
|
+
fleet_fuel_refill_id: string;
|
|
307
308
|
status: Status;
|
|
308
309
|
organisation_id: string;
|
|
309
310
|
file_type: FileType;
|
|
310
|
-
fleet_fuel_refill_id: string;
|
|
311
|
-
file_name?: string | undefined;
|
|
312
311
|
file_url?: string | undefined;
|
|
313
312
|
file_key?: string | undefined;
|
|
313
|
+
file_name?: string | undefined;
|
|
314
314
|
file_description?: string | undefined;
|
|
315
315
|
file_size?: unknown;
|
|
316
316
|
file_metadata?: Record<string, any> | undefined;
|
|
@@ -364,7 +364,11 @@ declare const FleetFuelRefillQuerySchema: z.ZodObject<{
|
|
|
364
364
|
from_date: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
365
365
|
to_date: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
366
366
|
}, "strip", z.ZodTypeAny, {
|
|
367
|
+
entry_source: RefillEntrySource[];
|
|
368
|
+
admin_verify_status: GPSFuelApproveStatus[];
|
|
369
|
+
transporter_verify_status: GPSFuelApproveStatus[];
|
|
367
370
|
status: Status[];
|
|
371
|
+
time_zone_id: string;
|
|
368
372
|
search: string;
|
|
369
373
|
paging: PAGING;
|
|
370
374
|
page_count: number;
|
|
@@ -384,27 +388,26 @@ declare const FleetFuelRefillQuerySchema: z.ZodObject<{
|
|
|
384
388
|
}[];
|
|
385
389
|
include_master_data: YesNo;
|
|
386
390
|
date_format_id: string;
|
|
387
|
-
time_zone_id: string;
|
|
388
391
|
organisation_ids: string[];
|
|
389
392
|
user_ids: string[];
|
|
390
393
|
vehicle_ids: string[];
|
|
391
394
|
driver_ids: string[];
|
|
392
395
|
device_ids: string[];
|
|
393
|
-
from_date: string;
|
|
394
|
-
to_date: string;
|
|
395
|
-
vehicle_fuel_type_ids: string[];
|
|
396
|
-
entry_source: RefillEntrySource[];
|
|
397
|
-
admin_verify_status: GPSFuelApproveStatus[];
|
|
398
|
-
transporter_verify_status: GPSFuelApproveStatus[];
|
|
399
396
|
vendor_ids: string[];
|
|
400
397
|
fuel_station_ids: string[];
|
|
398
|
+
vehicle_fuel_type_ids: string[];
|
|
401
399
|
vehicle_fuel_unit_ids: string[];
|
|
402
400
|
fleet_fuel_refill_ids: string[];
|
|
401
|
+
from_date: string;
|
|
402
|
+
to_date: string;
|
|
403
403
|
}, {
|
|
404
|
-
date_format_id: string;
|
|
405
404
|
time_zone_id: string;
|
|
405
|
+
date_format_id: string;
|
|
406
406
|
from_date: string;
|
|
407
407
|
to_date: string;
|
|
408
|
+
entry_source?: RefillEntrySource[] | undefined;
|
|
409
|
+
admin_verify_status?: GPSFuelApproveStatus[] | undefined;
|
|
410
|
+
transporter_verify_status?: GPSFuelApproveStatus[] | undefined;
|
|
408
411
|
status?: Status[] | undefined;
|
|
409
412
|
search?: string | undefined;
|
|
410
413
|
paging?: PAGING | undefined;
|
|
@@ -429,12 +432,9 @@ declare const FleetFuelRefillQuerySchema: z.ZodObject<{
|
|
|
429
432
|
vehicle_ids?: string[] | undefined;
|
|
430
433
|
driver_ids?: string[] | undefined;
|
|
431
434
|
device_ids?: string[] | undefined;
|
|
432
|
-
vehicle_fuel_type_ids?: string[] | undefined;
|
|
433
|
-
entry_source?: RefillEntrySource[] | undefined;
|
|
434
|
-
admin_verify_status?: GPSFuelApproveStatus[] | undefined;
|
|
435
|
-
transporter_verify_status?: GPSFuelApproveStatus[] | undefined;
|
|
436
435
|
vendor_ids?: string[] | undefined;
|
|
437
436
|
fuel_station_ids?: string[] | undefined;
|
|
437
|
+
vehicle_fuel_type_ids?: string[] | undefined;
|
|
438
438
|
vehicle_fuel_unit_ids?: string[] | undefined;
|
|
439
439
|
fleet_fuel_refill_ids?: string[] | undefined;
|
|
440
440
|
}>;
|
|
@@ -378,7 +378,7 @@ var FleetFuelRefillSchema = z3.object({
|
|
|
378
378
|
after_refill_quantity: doubleOptional("After Refill Quantity"),
|
|
379
379
|
refill_quantity: doubleOptional("Refill Quantity"),
|
|
380
380
|
verified_refill_quantity: doubleOptional("Verified Refill Quantity"),
|
|
381
|
-
diff_refill_quantity: doubleOptional("Difference Refill Quantity"),
|
|
381
|
+
diff_refill_quantity: doubleOptional("Difference Refill Quantity", -100),
|
|
382
382
|
odometer_reading: numberOptional("Odometer Reading"),
|
|
383
383
|
is_full_tank: enumMandatory("Is Full Tank", YesNo, "No" /* No */),
|
|
384
384
|
is_previous_entries_missed: enumMandatory(
|
|
@@ -2,7 +2,7 @@ import { RefillEntrySource, GPSFuelApproveStatus, Status, FileType, PAGING, Load
|
|
|
2
2
|
import { FBR, SBR, BR, AWSPresignedUrl } from '../../../core/BaseResponse.js';
|
|
3
3
|
import { z } from 'zod';
|
|
4
4
|
import { FilePresignedUrlDTO } from '../../../zod_utils/zod_base_schema.js';
|
|
5
|
-
import { U as UserOrganisation, a as User, M as MasterVehicle, b as MasterDriver, c as MasterDevice, d as MasterVehicleFuelType, e as MasterVehicleFuelUnit } from '../../../user_organisation_service-
|
|
5
|
+
import { U as UserOrganisation, a as User, M as MasterVehicle, b as MasterDriver, c as MasterDevice, d as MasterVehicleFuelType, e as MasterVehicleFuelUnit } from '../../../user_organisation_service-djKCoZTQ.js';
|
|
6
6
|
import { MasterMainLandmark } from '../../master/main/master_main_landmark_service.js';
|
|
7
7
|
import { MasterVehicleFuelRemovalReason } from '../../master/vehicle/master_vehicle_fuel_removal_reason_service.js';
|
|
8
8
|
import '../../master/main/master_main_sim_provider_service.js';
|
|
@@ -96,10 +96,10 @@ declare const FleetFuelRemovalFileSchema: z.ZodObject<{
|
|
|
96
96
|
}, "strip", z.ZodTypeAny, {
|
|
97
97
|
status: Status;
|
|
98
98
|
organisation_id: string;
|
|
99
|
-
file_name: string;
|
|
100
99
|
file_type: FileType;
|
|
101
100
|
file_url: string;
|
|
102
101
|
file_key: string;
|
|
102
|
+
file_name: string;
|
|
103
103
|
file_description: string;
|
|
104
104
|
file_size: number;
|
|
105
105
|
file_metadata: Record<string, any>;
|
|
@@ -109,9 +109,9 @@ declare const FleetFuelRemovalFileSchema: z.ZodObject<{
|
|
|
109
109
|
organisation_id: string;
|
|
110
110
|
file_type: FileType;
|
|
111
111
|
fleet_fuel_removal_id: string;
|
|
112
|
-
file_name?: string | undefined;
|
|
113
112
|
file_url?: string | undefined;
|
|
114
113
|
file_key?: string | undefined;
|
|
114
|
+
file_name?: string | undefined;
|
|
115
115
|
file_description?: string | undefined;
|
|
116
116
|
file_size?: unknown;
|
|
117
117
|
file_metadata?: Record<string, any> | undefined;
|
|
@@ -160,10 +160,10 @@ declare const FleetFuelRemovalSchema: z.ZodObject<{
|
|
|
160
160
|
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
161
161
|
status: Status;
|
|
162
162
|
organisation_id: string;
|
|
163
|
-
file_name: string;
|
|
164
163
|
file_type: FileType;
|
|
165
164
|
file_url: string;
|
|
166
165
|
file_key: string;
|
|
166
|
+
file_name: string;
|
|
167
167
|
file_description: string;
|
|
168
168
|
file_size: number;
|
|
169
169
|
file_metadata: Record<string, any>;
|
|
@@ -173,77 +173,77 @@ declare const FleetFuelRemovalSchema: z.ZodObject<{
|
|
|
173
173
|
organisation_id: string;
|
|
174
174
|
file_type: FileType;
|
|
175
175
|
fleet_fuel_removal_id: string;
|
|
176
|
-
file_name?: string | undefined;
|
|
177
176
|
file_url?: string | undefined;
|
|
178
177
|
file_key?: string | undefined;
|
|
178
|
+
file_name?: string | undefined;
|
|
179
179
|
file_description?: string | undefined;
|
|
180
180
|
file_size?: unknown;
|
|
181
181
|
file_metadata?: Record<string, any> | undefined;
|
|
182
182
|
}>, "many">>>;
|
|
183
183
|
}, "strip", z.ZodTypeAny, {
|
|
184
|
+
odometer_reading: number;
|
|
185
|
+
date_time: string;
|
|
186
|
+
entry_source: RefillEntrySource;
|
|
187
|
+
source_reference_id: string;
|
|
188
|
+
source_notes: string;
|
|
189
|
+
admin_verify_status: GPSFuelApproveStatus;
|
|
190
|
+
transporter_verify_status: GPSFuelApproveStatus;
|
|
191
|
+
google_location: string;
|
|
184
192
|
status: Status;
|
|
185
193
|
organisation_id: string;
|
|
186
194
|
user_id: string;
|
|
187
195
|
vehicle_id: string;
|
|
188
196
|
driver_id: string;
|
|
189
197
|
device_id: string;
|
|
190
|
-
time_zone_id: string;
|
|
191
198
|
vehicle_fuel_type_id: string;
|
|
192
199
|
vehicle_fuel_unit_id: string;
|
|
193
|
-
|
|
194
|
-
google_location: string;
|
|
195
|
-
date_time: string;
|
|
196
|
-
entry_source: RefillEntrySource;
|
|
197
|
-
source_reference_id: string;
|
|
198
|
-
source_notes: string;
|
|
199
|
-
admin_verify_status: GPSFuelApproveStatus;
|
|
200
|
-
transporter_verify_status: GPSFuelApproveStatus;
|
|
200
|
+
time_zone_id: string;
|
|
201
201
|
fuel_removal_reason_id: string;
|
|
202
202
|
removal_details: string;
|
|
203
203
|
removal_files: {
|
|
204
204
|
status: Status;
|
|
205
205
|
organisation_id: string;
|
|
206
|
-
file_name: string;
|
|
207
206
|
file_type: FileType;
|
|
208
207
|
file_url: string;
|
|
209
208
|
file_key: string;
|
|
209
|
+
file_name: string;
|
|
210
210
|
file_description: string;
|
|
211
211
|
file_size: number;
|
|
212
212
|
file_metadata: Record<string, any>;
|
|
213
213
|
fleet_fuel_removal_id: string;
|
|
214
214
|
}[];
|
|
215
|
-
latitude?: number | undefined;
|
|
216
|
-
longitude?: number | undefined;
|
|
217
215
|
cost_per_unit?: number | undefined;
|
|
218
216
|
total_cost?: number | undefined;
|
|
217
|
+
latitude?: number | undefined;
|
|
218
|
+
longitude?: number | undefined;
|
|
219
219
|
before_removal_quantity?: number | undefined;
|
|
220
220
|
after_removal_quantity?: number | undefined;
|
|
221
221
|
removal_quantity?: number | undefined;
|
|
222
222
|
verified_removal_quantity?: number | undefined;
|
|
223
223
|
diff_removal_quantity?: number | undefined;
|
|
224
224
|
}, {
|
|
225
|
+
date_time: string;
|
|
226
|
+
admin_verify_status: GPSFuelApproveStatus;
|
|
227
|
+
transporter_verify_status: GPSFuelApproveStatus;
|
|
225
228
|
status: Status;
|
|
226
229
|
organisation_id: string;
|
|
227
230
|
user_id: string;
|
|
228
231
|
vehicle_id: string;
|
|
229
232
|
driver_id: string;
|
|
230
233
|
device_id: string;
|
|
231
|
-
time_zone_id: string;
|
|
232
234
|
vehicle_fuel_type_id: string;
|
|
233
235
|
vehicle_fuel_unit_id: string;
|
|
234
|
-
|
|
235
|
-
admin_verify_status: GPSFuelApproveStatus;
|
|
236
|
-
transporter_verify_status: GPSFuelApproveStatus;
|
|
236
|
+
time_zone_id: string;
|
|
237
237
|
fuel_removal_reason_id: string;
|
|
238
238
|
odometer_reading?: unknown;
|
|
239
|
-
latitude?: unknown;
|
|
240
|
-
longitude?: unknown;
|
|
241
|
-
google_location?: string | undefined;
|
|
242
239
|
cost_per_unit?: unknown;
|
|
243
240
|
total_cost?: unknown;
|
|
244
241
|
entry_source?: RefillEntrySource | undefined;
|
|
245
242
|
source_reference_id?: string | undefined;
|
|
246
243
|
source_notes?: string | undefined;
|
|
244
|
+
latitude?: unknown;
|
|
245
|
+
longitude?: unknown;
|
|
246
|
+
google_location?: string | undefined;
|
|
247
247
|
before_removal_quantity?: unknown;
|
|
248
248
|
after_removal_quantity?: unknown;
|
|
249
249
|
removal_quantity?: unknown;
|
|
@@ -255,9 +255,9 @@ declare const FleetFuelRemovalSchema: z.ZodObject<{
|
|
|
255
255
|
organisation_id: string;
|
|
256
256
|
file_type: FileType;
|
|
257
257
|
fleet_fuel_removal_id: string;
|
|
258
|
-
file_name?: string | undefined;
|
|
259
258
|
file_url?: string | undefined;
|
|
260
259
|
file_key?: string | undefined;
|
|
260
|
+
file_name?: string | undefined;
|
|
261
261
|
file_description?: string | undefined;
|
|
262
262
|
file_size?: unknown;
|
|
263
263
|
file_metadata?: Record<string, any> | undefined;
|
|
@@ -309,7 +309,11 @@ declare const FleetFuelRemovalQuerySchema: z.ZodObject<{
|
|
|
309
309
|
from_date: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
310
310
|
to_date: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
311
311
|
}, "strip", z.ZodTypeAny, {
|
|
312
|
+
entry_source: RefillEntrySource[];
|
|
313
|
+
admin_verify_status: GPSFuelApproveStatus[];
|
|
314
|
+
transporter_verify_status: GPSFuelApproveStatus[];
|
|
312
315
|
status: Status[];
|
|
316
|
+
time_zone_id: string;
|
|
313
317
|
search: string;
|
|
314
318
|
paging: PAGING;
|
|
315
319
|
page_count: number;
|
|
@@ -329,25 +333,24 @@ declare const FleetFuelRemovalQuerySchema: z.ZodObject<{
|
|
|
329
333
|
}[];
|
|
330
334
|
include_master_data: YesNo;
|
|
331
335
|
date_format_id: string;
|
|
332
|
-
time_zone_id: string;
|
|
333
336
|
organisation_ids: string[];
|
|
334
337
|
user_ids: string[];
|
|
335
338
|
vehicle_ids: string[];
|
|
336
339
|
driver_ids: string[];
|
|
337
340
|
device_ids: string[];
|
|
338
|
-
from_date: string;
|
|
339
|
-
to_date: string;
|
|
340
341
|
vehicle_fuel_type_ids: string[];
|
|
341
|
-
entry_source: RefillEntrySource[];
|
|
342
|
-
admin_verify_status: GPSFuelApproveStatus[];
|
|
343
|
-
transporter_verify_status: GPSFuelApproveStatus[];
|
|
344
342
|
vehicle_fuel_unit_ids: string[];
|
|
343
|
+
from_date: string;
|
|
344
|
+
to_date: string;
|
|
345
345
|
fuel_removal_reason_ids: string[];
|
|
346
346
|
}, {
|
|
347
|
-
date_format_id: string;
|
|
348
347
|
time_zone_id: string;
|
|
348
|
+
date_format_id: string;
|
|
349
349
|
from_date: string;
|
|
350
350
|
to_date: string;
|
|
351
|
+
entry_source?: RefillEntrySource[] | undefined;
|
|
352
|
+
admin_verify_status?: GPSFuelApproveStatus[] | undefined;
|
|
353
|
+
transporter_verify_status?: GPSFuelApproveStatus[] | undefined;
|
|
351
354
|
status?: Status[] | undefined;
|
|
352
355
|
search?: string | undefined;
|
|
353
356
|
paging?: PAGING | undefined;
|
|
@@ -373,9 +376,6 @@ declare const FleetFuelRemovalQuerySchema: z.ZodObject<{
|
|
|
373
376
|
driver_ids?: string[] | undefined;
|
|
374
377
|
device_ids?: string[] | undefined;
|
|
375
378
|
vehicle_fuel_type_ids?: string[] | undefined;
|
|
376
|
-
entry_source?: RefillEntrySource[] | undefined;
|
|
377
|
-
admin_verify_status?: GPSFuelApproveStatus[] | undefined;
|
|
378
|
-
transporter_verify_status?: GPSFuelApproveStatus[] | undefined;
|
|
379
379
|
vehicle_fuel_unit_ids?: string[] | undefined;
|
|
380
380
|
fuel_removal_reason_ids?: string[] | undefined;
|
|
381
381
|
}>;
|
|
@@ -352,7 +352,7 @@ var FleetFuelRemovalSchema = z3.object({
|
|
|
352
352
|
after_removal_quantity: doubleOptional("After Remove Quantity"),
|
|
353
353
|
removal_quantity: doubleOptional("Removal Quantity"),
|
|
354
354
|
verified_removal_quantity: doubleOptional("Verified Removal Quantity"),
|
|
355
|
-
diff_removal_quantity: doubleOptional("Difference Removal Quantity"),
|
|
355
|
+
diff_removal_quantity: doubleOptional("Difference Removal Quantity", -100),
|
|
356
356
|
odometer_reading: numberOptional("Odometer Reading"),
|
|
357
357
|
// Event Time
|
|
358
358
|
date_time: dateMandatory("Date Time"),
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { GeofencePurposeType, GeofenceType, Status, PAGING, LoadParents, LoadChild, LoadChildCount, OrderBy, YesNo } from '../../../../core/Enums.js';
|
|
2
2
|
import { FBR, SBR } from '../../../../core/BaseResponse.js';
|
|
3
3
|
import { z } from 'zod';
|
|
4
|
-
import { U as UserOrganisation } from '../../../../user_organisation_service-
|
|
4
|
+
import { U as UserOrganisation } from '../../../../user_organisation_service-djKCoZTQ.js';
|
|
5
5
|
import '../../../../zod_utils/zod_base_schema.js';
|
|
6
6
|
import '../../../master/main/master_main_sim_provider_service.js';
|
|
7
7
|
|
|
@@ -82,6 +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
|
+
status: Status;
|
|
86
|
+
organisation_id: string;
|
|
87
|
+
country_code: string;
|
|
85
88
|
geofence_name: string;
|
|
86
89
|
geofence_purpose_type: GeofencePurposeType;
|
|
87
90
|
geofence_description: string;
|
|
@@ -99,25 +102,23 @@ declare const GPSGeofenceSchema: z.ZodObject<{
|
|
|
99
102
|
state_province_region: string;
|
|
100
103
|
postal_code: string;
|
|
101
104
|
country: string;
|
|
102
|
-
country_code: string;
|
|
103
105
|
google_location: string;
|
|
104
|
-
status: Status;
|
|
105
|
-
organisation_id: string;
|
|
106
|
-
radius_m?: number | undefined;
|
|
107
|
-
radius_km?: number | undefined;
|
|
108
106
|
latitude?: number | undefined;
|
|
109
107
|
longitude?: number | undefined;
|
|
108
|
+
radius_m?: number | undefined;
|
|
109
|
+
radius_km?: 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
|
-
|
|
116
|
+
country_code?: string | undefined;
|
|
117
|
+
latitude?: unknown;
|
|
118
|
+
longitude?: unknown;
|
|
116
119
|
geofence_description?: string | undefined;
|
|
117
120
|
radius_m?: unknown;
|
|
118
121
|
radius_km?: unknown;
|
|
119
|
-
latitude?: unknown;
|
|
120
|
-
longitude?: unknown;
|
|
121
122
|
poliline_data?: {
|
|
122
123
|
latitude?: unknown;
|
|
123
124
|
longitude?: unknown;
|
|
@@ -131,7 +132,6 @@ declare const GPSGeofenceSchema: z.ZodObject<{
|
|
|
131
132
|
state_province_region?: string | undefined;
|
|
132
133
|
postal_code?: string | undefined;
|
|
133
134
|
country?: string | undefined;
|
|
134
|
-
country_code?: string | undefined;
|
|
135
135
|
google_location?: string | undefined;
|
|
136
136
|
}>;
|
|
137
137
|
type GPSGeofenceDTO = z.infer<typeof GPSGeofenceSchema>;
|
|
@@ -171,9 +171,8 @@ 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[];
|
|
175
|
+
time_zone_id: string;
|
|
177
176
|
search: string;
|
|
178
177
|
paging: PAGING;
|
|
179
178
|
page_count: number;
|
|
@@ -193,14 +192,13 @@ declare const GPSGeofenceQuerySchema: z.ZodObject<{
|
|
|
193
192
|
}[];
|
|
194
193
|
include_master_data: YesNo;
|
|
195
194
|
date_format_id: string;
|
|
196
|
-
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
|
-
date_format_id: string;
|
|
201
200
|
time_zone_id: string;
|
|
202
|
-
|
|
203
|
-
geofence_type?: GeofenceType[] | undefined;
|
|
201
|
+
date_format_id: string;
|
|
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-djKCoZTQ.js';
|
|
5
5
|
import { GPSGeofence } from './gps_geofence_service.js';
|
|
6
6
|
import '../../../../zod_utils/zod_base_schema.js';
|
|
7
7
|
import '../../../master/main/master_main_sim_provider_service.js';
|
|
@@ -36,21 +36,21 @@ 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
|
-
gps_geofence_id: string;
|
|
40
39
|
status: Status;
|
|
41
40
|
organisation_id: string;
|
|
42
|
-
time_zone_id: string;
|
|
43
|
-
driver_id: string;
|
|
44
41
|
vehicle_id: string;
|
|
42
|
+
driver_id: string;
|
|
43
|
+
time_zone_id: string;
|
|
44
|
+
gps_geofence_id: string;
|
|
45
45
|
geofence_status_type: GeofenceStatusType;
|
|
46
46
|
geofence_time: string;
|
|
47
47
|
}, {
|
|
48
|
-
gps_geofence_id: string;
|
|
49
48
|
status: Status;
|
|
50
49
|
organisation_id: string;
|
|
51
|
-
time_zone_id: string;
|
|
52
|
-
driver_id: string;
|
|
53
50
|
vehicle_id: string;
|
|
51
|
+
driver_id: string;
|
|
52
|
+
time_zone_id: string;
|
|
53
|
+
gps_geofence_id: string;
|
|
54
54
|
geofence_status_type: GeofenceStatusType;
|
|
55
55
|
geofence_time: string;
|
|
56
56
|
}>;
|
|
@@ -95,6 +95,7 @@ declare const GPSGeofenceTransactionQuerySchema: z.ZodObject<{
|
|
|
95
95
|
to_date: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
96
96
|
}, "strip", z.ZodTypeAny, {
|
|
97
97
|
status: Status[];
|
|
98
|
+
time_zone_id: string;
|
|
98
99
|
search: string;
|
|
99
100
|
paging: PAGING;
|
|
100
101
|
page_count: number;
|
|
@@ -114,17 +115,16 @@ declare const GPSGeofenceTransactionQuerySchema: z.ZodObject<{
|
|
|
114
115
|
}[];
|
|
115
116
|
include_master_data: YesNo;
|
|
116
117
|
date_format_id: string;
|
|
117
|
-
time_zone_id: string;
|
|
118
118
|
organisation_ids: string[];
|
|
119
|
-
gps_geofence_ids: string[];
|
|
120
119
|
vehicle_ids: string[];
|
|
121
120
|
driver_ids: string[];
|
|
122
|
-
geofence_status_type: GeofenceStatusType[];
|
|
123
121
|
from_date: string;
|
|
124
122
|
to_date: string;
|
|
123
|
+
gps_geofence_ids: string[];
|
|
124
|
+
geofence_status_type: GeofenceStatusType[];
|
|
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
130
|
status?: Status[] | undefined;
|
|
@@ -147,9 +147,9 @@ declare const GPSGeofenceTransactionQuerySchema: z.ZodObject<{
|
|
|
147
147
|
}[] | undefined;
|
|
148
148
|
include_master_data?: YesNo | undefined;
|
|
149
149
|
organisation_ids?: string[] | undefined;
|
|
150
|
-
gps_geofence_ids?: string[] | undefined;
|
|
151
150
|
vehicle_ids?: string[] | undefined;
|
|
152
151
|
driver_ids?: string[] | undefined;
|
|
152
|
+
gps_geofence_ids?: string[] | undefined;
|
|
153
153
|
geofence_status_type?: GeofenceStatusType[] | undefined;
|
|
154
154
|
}>;
|
|
155
155
|
type GPSGeofenceTransactionQueryDTO = z.infer<typeof GPSGeofenceTransactionQuerySchema>;
|