vms-nest-api-document 65.0.0 → 67.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/{eway_bill_details-gcp9ZKoG.d.ts → eway_bill_details-CC_CPP6O.d.ts} +231 -222
- package/dist/services/account/eway_bill_details.d.ts +1 -1
- package/dist/services/account/fasttag_details.d.ts +1 -1
- package/dist/services/account/fasttag_transactions.d.ts +1 -1
- package/dist/services/account/invoice_service.d.ts +1 -1
- package/dist/services/account/notification_preferences.service.d.ts +1 -1
- package/dist/services/account/report_preferences.service.d.ts +1 -1
- package/dist/services/account/ticket_service.d.ts +1 -1
- package/dist/services/account/user_bookmark_service.d.ts +1 -1
- package/dist/services/core/external_api_push.service.d.ts +1 -1
- package/dist/services/core/external_api_share.service.d.ts +1 -1
- package/dist/services/core/external_api_sync.service.d.ts +1 -1
- package/dist/services/fleet/breakdown_management/breakdown_management_service.d.ts +1 -1
- package/dist/services/fleet/bus_mangement/bus_stop.d.ts +1 -1
- package/dist/services/fleet/bus_mangement/day_run_daily_schedule_api.d.ts +1 -1
- package/dist/services/fleet/bus_mangement/day_run_special_schedule_api.d.ts +1 -1
- package/dist/services/fleet/bus_mangement/master_daily_schedule.d.ts +1 -1
- package/dist/services/fleet/bus_mangement/master_route.d.ts +1 -1
- package/dist/services/fleet/bus_mangement/master_special_schedule.d.ts +1 -1
- package/dist/services/fleet/document_management/document_management_service.d.ts +1 -1
- package/dist/services/fleet/document_management/document_management_service.js +32 -10
- package/dist/services/fleet/fuel_management/fleet_fuel_daily_summary_service.d.ts +1 -1
- package/dist/services/fleet/fuel_management/fleet_fuel_refill_service.d.ts +1 -1
- package/dist/services/fleet/fuel_management/fleet_fuel_removal_service.d.ts +1 -1
- package/dist/services/fleet/incident_management/incident_management_service.d.ts +1 -1
- package/dist/services/fleet/inspection_management/fleet_inspection_form_service.d.ts +1 -1
- package/dist/services/fleet/inspection_management/fleet_inspection_management_service.d.ts +1 -1
- package/dist/services/fleet/inspection_management/fleet_inspection_schedule_service.d.ts +1 -1
- package/dist/services/fleet/issue_management/issue_management_service.d.ts +1 -1
- package/dist/services/fleet/school_management/calendar_service.d.ts +1 -1
- package/dist/services/fleet/school_management/notice_board_service.d.ts +1 -1
- package/dist/services/fleet/school_management/student_service.d.ts +1 -1
- package/dist/services/fleet/service_management/fleet_service_schedule_service.d.ts +1 -1
- package/dist/services/fleet/service_management/fleet_service_service.d.ts +1 -1
- package/dist/services/fleet/vendor_management/fleet_vendor_fuel_station.d.ts +1 -1
- package/dist/services/fleet/vendor_management/fleet_vendor_service.d.ts +1 -1
- package/dist/services/fleet/vendor_management/fleet_vendor_service_center.d.ts +1 -1
- package/dist/services/fleet/workshop_management/fleet_workshop_service.d.ts +1 -1
- package/dist/services/gps/features/geofence/gps_geofence_service.d.ts +1 -1
- package/dist/services/gps/features/geofence/gps_geofence_transaction_service.d.ts +1 -1
- package/dist/services/gps/features/geofence/gps_geofence_transaction_summary_service.d.ts +1 -1
- package/dist/services/gps/features/geofence/trip_geofence_to_geofence_service.d.ts +1 -1
- package/dist/services/gps/features/gps_live_track_share_link_service.d.ts +1 -1
- package/dist/services/gps/features/gps_lock_digital_door_log_service.d.ts +3 -3
- package/dist/services/gps/features/gps_lock_relay_log_service.d.ts +3 -3
- 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 +18 -18
- package/dist/services/main/drivers/master_driver_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 +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/users/user_service.js +6 -0
- package/dist/services/main/vehicle/childs/shared_vehicles.d.ts +4 -4
- package/dist/services/main/vehicle/childs/vehicle_odometer_history.d.ts +19 -19
- package/dist/services/main/vehicle/master_vehicle_service.d.ts +1 -1
- package/dist/services/master/bookmark/master_bookmark_module_service.d.ts +1 -1
- package/dist/services/master/bookmark/master_bookmark_page_service.d.ts +1 -1
- package/dist/services/master/bookmark/master_bookmark_sub_module_service.d.ts +1 -1
- 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/cache_reset/master_reset_cache_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_tag_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_breakdown_type_service.d.ts +1 -1
- package/dist/services/master/fleet/master_fleet_document_type_service.d.ts +1 -1
- package/dist/services/master/fleet/master_fleet_fuel_removal_reason_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_part_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_fasttag_bank_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 +1 -1
- package/dist/services/master/main/master_main_language_service.d.ts +1 -1
- package/dist/services/master/main/master_main_sim_provider_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_fleet_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_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/exclusive_feature_access.d.ts +1 -1
- package/package.json +1 -1
|
@@ -1356,7 +1356,7 @@ declare const FleetFuelDailySummarySchema: z.ZodObject<{
|
|
|
1356
1356
|
}, "strip", z.ZodTypeAny, {
|
|
1357
1357
|
status: Status;
|
|
1358
1358
|
organisation_id: string;
|
|
1359
|
-
|
|
1359
|
+
vehicle_id: string;
|
|
1360
1360
|
date: string;
|
|
1361
1361
|
total_km: number;
|
|
1362
1362
|
consumed_fuel_liters: number;
|
|
@@ -1368,14 +1368,14 @@ declare const FleetFuelDailySummarySchema: z.ZodObject<{
|
|
|
1368
1368
|
removal_liters: number;
|
|
1369
1369
|
mileage_kmpl: number;
|
|
1370
1370
|
liters_per_100km: number;
|
|
1371
|
-
|
|
1371
|
+
user_id: string;
|
|
1372
1372
|
driver_id: string;
|
|
1373
1373
|
}, {
|
|
1374
1374
|
status: Status;
|
|
1375
1375
|
organisation_id: string;
|
|
1376
|
-
user_id: string;
|
|
1377
|
-
date: string;
|
|
1378
1376
|
vehicle_id: string;
|
|
1377
|
+
date: string;
|
|
1378
|
+
user_id: string;
|
|
1379
1379
|
driver_id: string;
|
|
1380
1380
|
total_km?: unknown;
|
|
1381
1381
|
consumed_fuel_liters?: unknown;
|
|
@@ -1452,9 +1452,9 @@ declare const FleetFuelDailySummaryQuerySchema: z.ZodObject<{
|
|
|
1452
1452
|
date_format_id: string;
|
|
1453
1453
|
time_zone_id: string;
|
|
1454
1454
|
organisation_ids: string[];
|
|
1455
|
-
user_ids: string[];
|
|
1456
|
-
fleet_fuel_daily_summary_ids: string[];
|
|
1457
1455
|
vehicle_ids: string[];
|
|
1456
|
+
fleet_fuel_daily_summary_ids: string[];
|
|
1457
|
+
user_ids: string[];
|
|
1458
1458
|
driver_ids: string[];
|
|
1459
1459
|
vehicle_summary: YesNo;
|
|
1460
1460
|
day_summary: YesNo;
|
|
@@ -1485,9 +1485,9 @@ declare const FleetFuelDailySummaryQuerySchema: z.ZodObject<{
|
|
|
1485
1485
|
}[] | undefined;
|
|
1486
1486
|
include_master_data?: YesNo | undefined;
|
|
1487
1487
|
organisation_ids?: string[] | undefined;
|
|
1488
|
-
user_ids?: string[] | undefined;
|
|
1489
|
-
fleet_fuel_daily_summary_ids?: string[] | undefined;
|
|
1490
1488
|
vehicle_ids?: string[] | undefined;
|
|
1489
|
+
fleet_fuel_daily_summary_ids?: string[] | undefined;
|
|
1490
|
+
user_ids?: string[] | undefined;
|
|
1491
1491
|
driver_ids?: string[] | undefined;
|
|
1492
1492
|
vehicle_summary?: YesNo | undefined;
|
|
1493
1493
|
day_summary?: YesNo | undefined;
|
|
@@ -2469,7 +2469,6 @@ declare const FleetIncidentFileSchema: z.ZodObject<{
|
|
|
2469
2469
|
}, "strip", z.ZodTypeAny, {
|
|
2470
2470
|
status: Status;
|
|
2471
2471
|
organisation_id: string;
|
|
2472
|
-
user_id: string;
|
|
2473
2472
|
usage_type: string;
|
|
2474
2473
|
file_type: FileType;
|
|
2475
2474
|
file_url: string;
|
|
@@ -2478,13 +2477,14 @@ declare const FleetIncidentFileSchema: z.ZodObject<{
|
|
|
2478
2477
|
file_description: string;
|
|
2479
2478
|
file_size: number;
|
|
2480
2479
|
file_metadata: Record<string, any>;
|
|
2480
|
+
user_id: string;
|
|
2481
2481
|
incident_id: string;
|
|
2482
2482
|
}, {
|
|
2483
2483
|
status: Status;
|
|
2484
2484
|
organisation_id: string;
|
|
2485
|
-
user_id: string;
|
|
2486
2485
|
usage_type: string;
|
|
2487
2486
|
file_type: FileType;
|
|
2487
|
+
user_id: string;
|
|
2488
2488
|
incident_id: string;
|
|
2489
2489
|
file_url?: string | undefined;
|
|
2490
2490
|
file_key?: string | undefined;
|
|
@@ -2549,7 +2549,6 @@ declare const FleetIncidentSchema: z.ZodObject<{
|
|
|
2549
2549
|
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
2550
2550
|
status: Status;
|
|
2551
2551
|
organisation_id: string;
|
|
2552
|
-
user_id: string;
|
|
2553
2552
|
usage_type: string;
|
|
2554
2553
|
file_type: FileType;
|
|
2555
2554
|
file_url: string;
|
|
@@ -2558,13 +2557,14 @@ declare const FleetIncidentSchema: z.ZodObject<{
|
|
|
2558
2557
|
file_description: string;
|
|
2559
2558
|
file_size: number;
|
|
2560
2559
|
file_metadata: Record<string, any>;
|
|
2560
|
+
user_id: string;
|
|
2561
2561
|
incident_id: string;
|
|
2562
2562
|
}, {
|
|
2563
2563
|
status: Status;
|
|
2564
2564
|
organisation_id: string;
|
|
2565
|
-
user_id: string;
|
|
2566
2565
|
usage_type: string;
|
|
2567
2566
|
file_type: FileType;
|
|
2567
|
+
user_id: string;
|
|
2568
2568
|
incident_id: string;
|
|
2569
2569
|
file_url?: string | undefined;
|
|
2570
2570
|
file_key?: string | undefined;
|
|
@@ -2577,9 +2577,9 @@ declare const FleetIncidentSchema: z.ZodObject<{
|
|
|
2577
2577
|
}, "strip", z.ZodTypeAny, {
|
|
2578
2578
|
status: Status;
|
|
2579
2579
|
organisation_id: string;
|
|
2580
|
-
user_id: string;
|
|
2581
|
-
time_zone_id: string;
|
|
2582
2580
|
vehicle_id: string;
|
|
2581
|
+
time_zone_id: string;
|
|
2582
|
+
user_id: string;
|
|
2583
2583
|
driver_id: string;
|
|
2584
2584
|
fleet_incident_type_id: string;
|
|
2585
2585
|
fleet_incident_status_id: string;
|
|
@@ -2612,7 +2612,6 @@ declare const FleetIncidentSchema: z.ZodObject<{
|
|
|
2612
2612
|
FleetIncidentFileSchema: {
|
|
2613
2613
|
status: Status;
|
|
2614
2614
|
organisation_id: string;
|
|
2615
|
-
user_id: string;
|
|
2616
2615
|
usage_type: string;
|
|
2617
2616
|
file_type: FileType;
|
|
2618
2617
|
file_url: string;
|
|
@@ -2621,6 +2620,7 @@ declare const FleetIncidentSchema: z.ZodObject<{
|
|
|
2621
2620
|
file_description: string;
|
|
2622
2621
|
file_size: number;
|
|
2623
2622
|
file_metadata: Record<string, any>;
|
|
2623
|
+
user_id: string;
|
|
2624
2624
|
incident_id: string;
|
|
2625
2625
|
}[];
|
|
2626
2626
|
latitude?: number | undefined;
|
|
@@ -2630,9 +2630,9 @@ declare const FleetIncidentSchema: z.ZodObject<{
|
|
|
2630
2630
|
}, {
|
|
2631
2631
|
status: Status;
|
|
2632
2632
|
organisation_id: string;
|
|
2633
|
-
user_id: string;
|
|
2634
|
-
time_zone_id: string;
|
|
2635
2633
|
vehicle_id: string;
|
|
2634
|
+
time_zone_id: string;
|
|
2635
|
+
user_id: string;
|
|
2636
2636
|
driver_id: string;
|
|
2637
2637
|
fleet_incident_type_id: string;
|
|
2638
2638
|
fleet_incident_status_id: string;
|
|
@@ -2669,9 +2669,9 @@ declare const FleetIncidentSchema: z.ZodObject<{
|
|
|
2669
2669
|
FleetIncidentFileSchema?: {
|
|
2670
2670
|
status: Status;
|
|
2671
2671
|
organisation_id: string;
|
|
2672
|
-
user_id: string;
|
|
2673
2672
|
usage_type: string;
|
|
2674
2673
|
file_type: FileType;
|
|
2674
|
+
user_id: string;
|
|
2675
2675
|
incident_id: string;
|
|
2676
2676
|
file_url?: string | undefined;
|
|
2677
2677
|
file_key?: string | undefined;
|
|
@@ -2757,8 +2757,8 @@ declare const FleetIncidentQuerySchema: z.ZodObject<{
|
|
|
2757
2757
|
date_format_id: string;
|
|
2758
2758
|
time_zone_id: string;
|
|
2759
2759
|
organisation_ids: string[];
|
|
2760
|
-
user_ids: string[];
|
|
2761
2760
|
vehicle_ids: string[];
|
|
2761
|
+
user_ids: string[];
|
|
2762
2762
|
driver_ids: string[];
|
|
2763
2763
|
from_date: string;
|
|
2764
2764
|
to_date: string;
|
|
@@ -2802,8 +2802,8 @@ declare const FleetIncidentQuerySchema: z.ZodObject<{
|
|
|
2802
2802
|
}[] | undefined;
|
|
2803
2803
|
include_master_data?: YesNo | undefined;
|
|
2804
2804
|
organisation_ids?: string[] | undefined;
|
|
2805
|
-
user_ids?: string[] | undefined;
|
|
2806
2805
|
vehicle_ids?: string[] | undefined;
|
|
2806
|
+
user_ids?: string[] | undefined;
|
|
2807
2807
|
driver_ids?: string[] | undefined;
|
|
2808
2808
|
fleet_incident_type_ids?: string[] | undefined;
|
|
2809
2809
|
fleet_incident_status_ids?: string[] | undefined;
|
|
@@ -2924,8 +2924,8 @@ declare const FleetIncidentCostSchema: z.ZodObject<{
|
|
|
2924
2924
|
}, "strip", z.ZodTypeAny, {
|
|
2925
2925
|
status: Status;
|
|
2926
2926
|
organisation_id: string;
|
|
2927
|
-
user_id: string;
|
|
2928
2927
|
time_zone_id: string;
|
|
2928
|
+
user_id: string;
|
|
2929
2929
|
expense_name_id: string;
|
|
2930
2930
|
incident_id: string;
|
|
2931
2931
|
incident_cost_date: string;
|
|
@@ -2934,8 +2934,8 @@ declare const FleetIncidentCostSchema: z.ZodObject<{
|
|
|
2934
2934
|
}, {
|
|
2935
2935
|
status: Status;
|
|
2936
2936
|
organisation_id: string;
|
|
2937
|
-
user_id: string;
|
|
2938
2937
|
time_zone_id: string;
|
|
2938
|
+
user_id: string;
|
|
2939
2939
|
expense_name_id: string;
|
|
2940
2940
|
incident_id: string;
|
|
2941
2941
|
incident_cost_date?: string | undefined;
|
|
@@ -4520,7 +4520,6 @@ declare const FleetVendorDocumentFileSchema: z.ZodObject<{
|
|
|
4520
4520
|
}, "strip", z.ZodTypeAny, {
|
|
4521
4521
|
status: Status;
|
|
4522
4522
|
organisation_id: string;
|
|
4523
|
-
user_id: string;
|
|
4524
4523
|
usage_type: string;
|
|
4525
4524
|
file_type: FileType;
|
|
4526
4525
|
file_url: string;
|
|
@@ -4529,13 +4528,14 @@ declare const FleetVendorDocumentFileSchema: z.ZodObject<{
|
|
|
4529
4528
|
file_description: string;
|
|
4530
4529
|
file_size: number;
|
|
4531
4530
|
file_metadata: Record<string, any>;
|
|
4531
|
+
user_id: string;
|
|
4532
4532
|
fleet_vendor_document_id: string;
|
|
4533
4533
|
}, {
|
|
4534
4534
|
status: Status;
|
|
4535
4535
|
organisation_id: string;
|
|
4536
|
-
user_id: string;
|
|
4537
4536
|
usage_type: string;
|
|
4538
4537
|
file_type: FileType;
|
|
4538
|
+
user_id: string;
|
|
4539
4539
|
fleet_vendor_document_id: string;
|
|
4540
4540
|
file_url?: string | undefined;
|
|
4541
4541
|
file_key?: string | undefined;
|
|
@@ -4571,10 +4571,10 @@ declare const FleetVendorSchema: z.ZodObject<{
|
|
|
4571
4571
|
}, "strip", z.ZodTypeAny, {
|
|
4572
4572
|
status: Status;
|
|
4573
4573
|
organisation_id: string;
|
|
4574
|
-
user_id: string;
|
|
4575
4574
|
logo_key: string;
|
|
4576
4575
|
logo_url: string;
|
|
4577
4576
|
logo_name: string;
|
|
4577
|
+
user_id: string;
|
|
4578
4578
|
vendor_name: string;
|
|
4579
4579
|
vendor_code: string;
|
|
4580
4580
|
vendor_type_ids: string[];
|
|
@@ -4888,8 +4888,8 @@ declare const FleetVendorBankAccountSchema: z.ZodObject<{
|
|
|
4888
4888
|
status: Status;
|
|
4889
4889
|
bank_name: string;
|
|
4890
4890
|
organisation_id: string;
|
|
4891
|
-
user_id: string;
|
|
4892
4891
|
branch_name: string;
|
|
4892
|
+
user_id: string;
|
|
4893
4893
|
notes: string;
|
|
4894
4894
|
vendor_id: string;
|
|
4895
4895
|
account_holder_name: string;
|
|
@@ -5033,9 +5033,9 @@ declare const FleetVendorContactPersonSchema: z.ZodObject<{
|
|
|
5033
5033
|
}, "strip", z.ZodTypeAny, {
|
|
5034
5034
|
status: Status;
|
|
5035
5035
|
organisation_id: string;
|
|
5036
|
-
user_id: string;
|
|
5037
5036
|
name: string;
|
|
5038
5037
|
branch_name: string;
|
|
5038
|
+
user_id: string;
|
|
5039
5039
|
notes: string;
|
|
5040
5040
|
vendor_id: string;
|
|
5041
5041
|
is_primary: YesNo;
|
|
@@ -5050,8 +5050,8 @@ declare const FleetVendorContactPersonSchema: z.ZodObject<{
|
|
|
5050
5050
|
}, {
|
|
5051
5051
|
status: Status;
|
|
5052
5052
|
organisation_id: string;
|
|
5053
|
-
user_id: string;
|
|
5054
5053
|
name: string;
|
|
5054
|
+
user_id: string;
|
|
5055
5055
|
vendor_id: string;
|
|
5056
5056
|
is_primary: YesNo;
|
|
5057
5057
|
branch_name?: string | undefined;
|
|
@@ -5298,7 +5298,6 @@ declare const FleetVendorDocumentSchema: z.ZodObject<{
|
|
|
5298
5298
|
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
5299
5299
|
status: Status;
|
|
5300
5300
|
organisation_id: string;
|
|
5301
|
-
user_id: string;
|
|
5302
5301
|
usage_type: string;
|
|
5303
5302
|
file_type: FileType;
|
|
5304
5303
|
file_url: string;
|
|
@@ -5307,13 +5306,14 @@ declare const FleetVendorDocumentSchema: z.ZodObject<{
|
|
|
5307
5306
|
file_description: string;
|
|
5308
5307
|
file_size: number;
|
|
5309
5308
|
file_metadata: Record<string, any>;
|
|
5309
|
+
user_id: string;
|
|
5310
5310
|
fleet_vendor_document_id: string;
|
|
5311
5311
|
}, {
|
|
5312
5312
|
status: Status;
|
|
5313
5313
|
organisation_id: string;
|
|
5314
|
-
user_id: string;
|
|
5315
5314
|
usage_type: string;
|
|
5316
5315
|
file_type: FileType;
|
|
5316
|
+
user_id: string;
|
|
5317
5317
|
fleet_vendor_document_id: string;
|
|
5318
5318
|
file_url?: string | undefined;
|
|
5319
5319
|
file_key?: string | undefined;
|
|
@@ -5327,8 +5327,8 @@ declare const FleetVendorDocumentSchema: z.ZodObject<{
|
|
|
5327
5327
|
}, "strip", z.ZodTypeAny, {
|
|
5328
5328
|
status: Status;
|
|
5329
5329
|
organisation_id: string;
|
|
5330
|
-
user_id: string;
|
|
5331
5330
|
time_zone_id: string;
|
|
5331
|
+
user_id: string;
|
|
5332
5332
|
vendor_id: string;
|
|
5333
5333
|
document_type_id: string;
|
|
5334
5334
|
document_name: string;
|
|
@@ -5340,7 +5340,6 @@ declare const FleetVendorDocumentSchema: z.ZodObject<{
|
|
|
5340
5340
|
FleetVendorDocumentFileSchema: {
|
|
5341
5341
|
status: Status;
|
|
5342
5342
|
organisation_id: string;
|
|
5343
|
-
user_id: string;
|
|
5344
5343
|
usage_type: string;
|
|
5345
5344
|
file_type: FileType;
|
|
5346
5345
|
file_url: string;
|
|
@@ -5349,13 +5348,14 @@ declare const FleetVendorDocumentSchema: z.ZodObject<{
|
|
|
5349
5348
|
file_description: string;
|
|
5350
5349
|
file_size: number;
|
|
5351
5350
|
file_metadata: Record<string, any>;
|
|
5351
|
+
user_id: string;
|
|
5352
5352
|
fleet_vendor_document_id: string;
|
|
5353
5353
|
}[];
|
|
5354
5354
|
}, {
|
|
5355
5355
|
status: Status;
|
|
5356
5356
|
organisation_id: string;
|
|
5357
|
-
user_id: string;
|
|
5358
5357
|
time_zone_id: string;
|
|
5358
|
+
user_id: string;
|
|
5359
5359
|
vendor_id: string;
|
|
5360
5360
|
document_type_id: string;
|
|
5361
5361
|
document_name: string;
|
|
@@ -5367,9 +5367,9 @@ declare const FleetVendorDocumentSchema: z.ZodObject<{
|
|
|
5367
5367
|
FleetVendorDocumentFileSchema?: {
|
|
5368
5368
|
status: Status;
|
|
5369
5369
|
organisation_id: string;
|
|
5370
|
-
user_id: string;
|
|
5371
5370
|
usage_type: string;
|
|
5372
5371
|
file_type: FileType;
|
|
5372
|
+
user_id: string;
|
|
5373
5373
|
fleet_vendor_document_id: string;
|
|
5374
5374
|
file_url?: string | undefined;
|
|
5375
5375
|
file_key?: string | undefined;
|
|
@@ -5624,8 +5624,12 @@ interface FleetWorkshop extends Record<string, unknown> {
|
|
|
5624
5624
|
user_details?: string;
|
|
5625
5625
|
user_image_url?: string;
|
|
5626
5626
|
FleetService?: FleetService[];
|
|
5627
|
+
AssignedUser?: User[];
|
|
5627
5628
|
_count?: {
|
|
5628
5629
|
FleetService?: number;
|
|
5630
|
+
FleetService_ThisMonth?: number;
|
|
5631
|
+
FleetService_ThisYear?: number;
|
|
5632
|
+
AssignedUser?: number;
|
|
5629
5633
|
FleetTyreRetreading?: number;
|
|
5630
5634
|
FleetTyreDamageRepair?: number;
|
|
5631
5635
|
FleetSparePartsUsage?: number;
|
|
@@ -6278,7 +6282,6 @@ declare const FleetServiceFileSchema: z.ZodObject<{
|
|
|
6278
6282
|
}, "strip", z.ZodTypeAny, {
|
|
6279
6283
|
status: Status;
|
|
6280
6284
|
organisation_id: string;
|
|
6281
|
-
user_id: string;
|
|
6282
6285
|
usage_type: string;
|
|
6283
6286
|
file_type: FileType;
|
|
6284
6287
|
file_url: string;
|
|
@@ -6287,13 +6290,14 @@ declare const FleetServiceFileSchema: z.ZodObject<{
|
|
|
6287
6290
|
file_description: string;
|
|
6288
6291
|
file_size: number;
|
|
6289
6292
|
file_metadata: Record<string, any>;
|
|
6293
|
+
user_id: string;
|
|
6290
6294
|
service_id: string;
|
|
6291
6295
|
}, {
|
|
6292
6296
|
status: Status;
|
|
6293
6297
|
organisation_id: string;
|
|
6294
|
-
user_id: string;
|
|
6295
6298
|
usage_type: string;
|
|
6296
6299
|
file_type: FileType;
|
|
6300
|
+
user_id: string;
|
|
6297
6301
|
service_id: string;
|
|
6298
6302
|
file_url?: string | undefined;
|
|
6299
6303
|
file_key?: string | undefined;
|
|
@@ -6354,7 +6358,6 @@ declare const FleetServiceSchema: z.ZodObject<{
|
|
|
6354
6358
|
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
6355
6359
|
status: Status;
|
|
6356
6360
|
organisation_id: string;
|
|
6357
|
-
user_id: string;
|
|
6358
6361
|
usage_type: string;
|
|
6359
6362
|
file_type: FileType;
|
|
6360
6363
|
file_url: string;
|
|
@@ -6363,13 +6366,14 @@ declare const FleetServiceSchema: z.ZodObject<{
|
|
|
6363
6366
|
file_description: string;
|
|
6364
6367
|
file_size: number;
|
|
6365
6368
|
file_metadata: Record<string, any>;
|
|
6369
|
+
user_id: string;
|
|
6366
6370
|
service_id: string;
|
|
6367
6371
|
}, {
|
|
6368
6372
|
status: Status;
|
|
6369
6373
|
organisation_id: string;
|
|
6370
|
-
user_id: string;
|
|
6371
6374
|
usage_type: string;
|
|
6372
6375
|
file_type: FileType;
|
|
6376
|
+
user_id: string;
|
|
6373
6377
|
service_id: string;
|
|
6374
6378
|
file_url?: string | undefined;
|
|
6375
6379
|
file_key?: string | undefined;
|
|
@@ -6382,9 +6386,9 @@ declare const FleetServiceSchema: z.ZodObject<{
|
|
|
6382
6386
|
}, "strip", z.ZodTypeAny, {
|
|
6383
6387
|
status: Status;
|
|
6384
6388
|
organisation_id: string;
|
|
6385
|
-
user_id: string;
|
|
6386
|
-
time_zone_id: string;
|
|
6387
6389
|
vehicle_id: string;
|
|
6390
|
+
time_zone_id: string;
|
|
6391
|
+
user_id: string;
|
|
6388
6392
|
driver_id: string;
|
|
6389
6393
|
odometer_reading: number;
|
|
6390
6394
|
service_center_id: string;
|
|
@@ -6410,7 +6414,6 @@ declare const FleetServiceSchema: z.ZodObject<{
|
|
|
6410
6414
|
FleetServiceFileSchema: {
|
|
6411
6415
|
status: Status;
|
|
6412
6416
|
organisation_id: string;
|
|
6413
|
-
user_id: string;
|
|
6414
6417
|
usage_type: string;
|
|
6415
6418
|
file_type: FileType;
|
|
6416
6419
|
file_url: string;
|
|
@@ -6419,6 +6422,7 @@ declare const FleetServiceSchema: z.ZodObject<{
|
|
|
6419
6422
|
file_description: string;
|
|
6420
6423
|
file_size: number;
|
|
6421
6424
|
file_metadata: Record<string, any>;
|
|
6425
|
+
user_id: string;
|
|
6422
6426
|
service_id: string;
|
|
6423
6427
|
}[];
|
|
6424
6428
|
fuel?: number | undefined;
|
|
@@ -6431,9 +6435,9 @@ declare const FleetServiceSchema: z.ZodObject<{
|
|
|
6431
6435
|
}, {
|
|
6432
6436
|
status: Status;
|
|
6433
6437
|
organisation_id: string;
|
|
6434
|
-
user_id: string;
|
|
6435
|
-
time_zone_id: string;
|
|
6436
6438
|
vehicle_id: string;
|
|
6439
|
+
time_zone_id: string;
|
|
6440
|
+
user_id: string;
|
|
6437
6441
|
driver_id: string;
|
|
6438
6442
|
service_center_id: string;
|
|
6439
6443
|
vendor_id: string;
|
|
@@ -6466,9 +6470,9 @@ declare const FleetServiceSchema: z.ZodObject<{
|
|
|
6466
6470
|
FleetServiceFileSchema?: {
|
|
6467
6471
|
status: Status;
|
|
6468
6472
|
organisation_id: string;
|
|
6469
|
-
user_id: string;
|
|
6470
6473
|
usage_type: string;
|
|
6471
6474
|
file_type: FileType;
|
|
6475
|
+
user_id: string;
|
|
6472
6476
|
service_id: string;
|
|
6473
6477
|
file_url?: string | undefined;
|
|
6474
6478
|
file_key?: string | undefined;
|
|
@@ -6548,8 +6552,8 @@ declare const FleetServiceQuerySchema: z.ZodObject<{
|
|
|
6548
6552
|
date_format_id: string;
|
|
6549
6553
|
time_zone_id: string;
|
|
6550
6554
|
organisation_ids: string[];
|
|
6551
|
-
user_ids: string[];
|
|
6552
6555
|
vehicle_ids: string[];
|
|
6556
|
+
user_ids: string[];
|
|
6553
6557
|
driver_ids: string[];
|
|
6554
6558
|
from_date: string;
|
|
6555
6559
|
to_date: string;
|
|
@@ -6587,8 +6591,8 @@ declare const FleetServiceQuerySchema: z.ZodObject<{
|
|
|
6587
6591
|
}[] | undefined;
|
|
6588
6592
|
include_master_data?: YesNo | undefined;
|
|
6589
6593
|
organisation_ids?: string[] | undefined;
|
|
6590
|
-
user_ids?: string[] | undefined;
|
|
6591
6594
|
vehicle_ids?: string[] | undefined;
|
|
6595
|
+
user_ids?: string[] | undefined;
|
|
6592
6596
|
driver_ids?: string[] | undefined;
|
|
6593
6597
|
service_center_ids?: string[] | undefined;
|
|
6594
6598
|
vendor_ids?: string[] | undefined;
|
|
@@ -6975,6 +6979,8 @@ interface FleetInspectionForm extends Record<string, unknown> {
|
|
|
6975
6979
|
FleetInspection?: FleetInspection[];
|
|
6976
6980
|
_count?: {
|
|
6977
6981
|
FleetInspection?: number;
|
|
6982
|
+
FleetInspection_ThisMonth?: number;
|
|
6983
|
+
FleetInspection_ThisYear?: number;
|
|
6978
6984
|
};
|
|
6979
6985
|
}
|
|
6980
6986
|
interface FleetInspectionFormSimple extends Record<string, unknown> {
|
|
@@ -7198,7 +7204,6 @@ declare const FleetInspectionFileSchema: z.ZodObject<{
|
|
|
7198
7204
|
}, "strip", z.ZodTypeAny, {
|
|
7199
7205
|
status: Status;
|
|
7200
7206
|
organisation_id: string;
|
|
7201
|
-
user_id: string;
|
|
7202
7207
|
usage_type: string;
|
|
7203
7208
|
file_type: FileType;
|
|
7204
7209
|
file_url: string;
|
|
@@ -7207,13 +7212,14 @@ declare const FleetInspectionFileSchema: z.ZodObject<{
|
|
|
7207
7212
|
file_description: string;
|
|
7208
7213
|
file_size: number;
|
|
7209
7214
|
file_metadata: Record<string, any>;
|
|
7215
|
+
user_id: string;
|
|
7210
7216
|
inspection_id: string;
|
|
7211
7217
|
}, {
|
|
7212
7218
|
status: Status;
|
|
7213
7219
|
organisation_id: string;
|
|
7214
|
-
user_id: string;
|
|
7215
7220
|
usage_type: string;
|
|
7216
7221
|
file_type: FileType;
|
|
7222
|
+
user_id: string;
|
|
7217
7223
|
inspection_id: string;
|
|
7218
7224
|
file_url?: string | undefined;
|
|
7219
7225
|
file_key?: string | undefined;
|
|
@@ -7258,7 +7264,6 @@ declare const FleetInspectionSchema: z.ZodObject<{
|
|
|
7258
7264
|
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
7259
7265
|
status: Status;
|
|
7260
7266
|
organisation_id: string;
|
|
7261
|
-
user_id: string;
|
|
7262
7267
|
usage_type: string;
|
|
7263
7268
|
file_type: FileType;
|
|
7264
7269
|
file_url: string;
|
|
@@ -7267,13 +7272,14 @@ declare const FleetInspectionSchema: z.ZodObject<{
|
|
|
7267
7272
|
file_description: string;
|
|
7268
7273
|
file_size: number;
|
|
7269
7274
|
file_metadata: Record<string, any>;
|
|
7275
|
+
user_id: string;
|
|
7270
7276
|
inspection_id: string;
|
|
7271
7277
|
}, {
|
|
7272
7278
|
status: Status;
|
|
7273
7279
|
organisation_id: string;
|
|
7274
|
-
user_id: string;
|
|
7275
7280
|
usage_type: string;
|
|
7276
7281
|
file_type: FileType;
|
|
7282
|
+
user_id: string;
|
|
7277
7283
|
inspection_id: string;
|
|
7278
7284
|
file_url?: string | undefined;
|
|
7279
7285
|
file_key?: string | undefined;
|
|
@@ -7286,9 +7292,9 @@ declare const FleetInspectionSchema: z.ZodObject<{
|
|
|
7286
7292
|
}, "strip", z.ZodTypeAny, {
|
|
7287
7293
|
status: Status;
|
|
7288
7294
|
organisation_id: string;
|
|
7289
|
-
user_id: string;
|
|
7290
|
-
time_zone_id: string;
|
|
7291
7295
|
vehicle_id: string;
|
|
7296
|
+
time_zone_id: string;
|
|
7297
|
+
user_id: string;
|
|
7292
7298
|
driver_id: string;
|
|
7293
7299
|
odometer_reading: number;
|
|
7294
7300
|
google_location: string;
|
|
@@ -7303,7 +7309,6 @@ declare const FleetInspectionSchema: z.ZodObject<{
|
|
|
7303
7309
|
FleetInspectionFileSchema: {
|
|
7304
7310
|
status: Status;
|
|
7305
7311
|
organisation_id: string;
|
|
7306
|
-
user_id: string;
|
|
7307
7312
|
usage_type: string;
|
|
7308
7313
|
file_type: FileType;
|
|
7309
7314
|
file_url: string;
|
|
@@ -7312,6 +7317,7 @@ declare const FleetInspectionSchema: z.ZodObject<{
|
|
|
7312
7317
|
file_description: string;
|
|
7313
7318
|
file_size: number;
|
|
7314
7319
|
file_metadata: Record<string, any>;
|
|
7320
|
+
user_id: string;
|
|
7315
7321
|
inspection_id: string;
|
|
7316
7322
|
}[];
|
|
7317
7323
|
latitude?: number | undefined;
|
|
@@ -7319,9 +7325,9 @@ declare const FleetInspectionSchema: z.ZodObject<{
|
|
|
7319
7325
|
}, {
|
|
7320
7326
|
status: Status;
|
|
7321
7327
|
organisation_id: string;
|
|
7322
|
-
user_id: string;
|
|
7323
|
-
time_zone_id: string;
|
|
7324
7328
|
vehicle_id: string;
|
|
7329
|
+
time_zone_id: string;
|
|
7330
|
+
user_id: string;
|
|
7325
7331
|
driver_id: string;
|
|
7326
7332
|
service_id: string;
|
|
7327
7333
|
inspection_form_id: string;
|
|
@@ -7338,9 +7344,9 @@ declare const FleetInspectionSchema: z.ZodObject<{
|
|
|
7338
7344
|
FleetInspectionFileSchema?: {
|
|
7339
7345
|
status: Status;
|
|
7340
7346
|
organisation_id: string;
|
|
7341
|
-
user_id: string;
|
|
7342
7347
|
usage_type: string;
|
|
7343
7348
|
file_type: FileType;
|
|
7349
|
+
user_id: string;
|
|
7344
7350
|
inspection_id: string;
|
|
7345
7351
|
file_url?: string | undefined;
|
|
7346
7352
|
file_key?: string | undefined;
|
|
@@ -7417,8 +7423,8 @@ declare const FleetInspectionQuerySchema: z.ZodObject<{
|
|
|
7417
7423
|
date_format_id: string;
|
|
7418
7424
|
time_zone_id: string;
|
|
7419
7425
|
organisation_ids: string[];
|
|
7420
|
-
user_ids: string[];
|
|
7421
7426
|
vehicle_ids: string[];
|
|
7427
|
+
user_ids: string[];
|
|
7422
7428
|
driver_ids: string[];
|
|
7423
7429
|
from_date: string;
|
|
7424
7430
|
to_date: string;
|
|
@@ -7453,8 +7459,8 @@ declare const FleetInspectionQuerySchema: z.ZodObject<{
|
|
|
7453
7459
|
}[] | undefined;
|
|
7454
7460
|
include_master_data?: YesNo | undefined;
|
|
7455
7461
|
organisation_ids?: string[] | undefined;
|
|
7456
|
-
user_ids?: string[] | undefined;
|
|
7457
7462
|
vehicle_ids?: string[] | undefined;
|
|
7463
|
+
user_ids?: string[] | undefined;
|
|
7458
7464
|
driver_ids?: string[] | undefined;
|
|
7459
7465
|
service_ids?: string[] | undefined;
|
|
7460
7466
|
inspection_form_ids?: string[] | undefined;
|
|
@@ -7694,7 +7700,6 @@ declare const FleetIssueFileSchema: z.ZodObject<{
|
|
|
7694
7700
|
}, "strip", z.ZodTypeAny, {
|
|
7695
7701
|
status: Status;
|
|
7696
7702
|
organisation_id: string;
|
|
7697
|
-
user_id: string;
|
|
7698
7703
|
usage_type: string;
|
|
7699
7704
|
file_type: FileType;
|
|
7700
7705
|
file_url: string;
|
|
@@ -7703,13 +7708,14 @@ declare const FleetIssueFileSchema: z.ZodObject<{
|
|
|
7703
7708
|
file_description: string;
|
|
7704
7709
|
file_size: number;
|
|
7705
7710
|
file_metadata: Record<string, any>;
|
|
7711
|
+
user_id: string;
|
|
7706
7712
|
issue_id: string;
|
|
7707
7713
|
}, {
|
|
7708
7714
|
status: Status;
|
|
7709
7715
|
organisation_id: string;
|
|
7710
|
-
user_id: string;
|
|
7711
7716
|
usage_type: string;
|
|
7712
7717
|
file_type: FileType;
|
|
7718
|
+
user_id: string;
|
|
7713
7719
|
issue_id: string;
|
|
7714
7720
|
file_url?: string | undefined;
|
|
7715
7721
|
file_key?: string | undefined;
|
|
@@ -7756,7 +7762,6 @@ declare const FleetIssueSchema: z.ZodObject<{
|
|
|
7756
7762
|
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
7757
7763
|
status: Status;
|
|
7758
7764
|
organisation_id: string;
|
|
7759
|
-
user_id: string;
|
|
7760
7765
|
usage_type: string;
|
|
7761
7766
|
file_type: FileType;
|
|
7762
7767
|
file_url: string;
|
|
@@ -7765,13 +7770,14 @@ declare const FleetIssueSchema: z.ZodObject<{
|
|
|
7765
7770
|
file_description: string;
|
|
7766
7771
|
file_size: number;
|
|
7767
7772
|
file_metadata: Record<string, any>;
|
|
7773
|
+
user_id: string;
|
|
7768
7774
|
issue_id: string;
|
|
7769
7775
|
}, {
|
|
7770
7776
|
status: Status;
|
|
7771
7777
|
organisation_id: string;
|
|
7772
|
-
user_id: string;
|
|
7773
7778
|
usage_type: string;
|
|
7774
7779
|
file_type: FileType;
|
|
7780
|
+
user_id: string;
|
|
7775
7781
|
issue_id: string;
|
|
7776
7782
|
file_url?: string | undefined;
|
|
7777
7783
|
file_key?: string | undefined;
|
|
@@ -7785,9 +7791,9 @@ declare const FleetIssueSchema: z.ZodObject<{
|
|
|
7785
7791
|
}, "strip", z.ZodTypeAny, {
|
|
7786
7792
|
status: Status;
|
|
7787
7793
|
organisation_id: string;
|
|
7788
|
-
user_id: string;
|
|
7789
|
-
time_zone_id: string;
|
|
7790
7794
|
vehicle_id: string;
|
|
7795
|
+
time_zone_id: string;
|
|
7796
|
+
user_id: string;
|
|
7791
7797
|
driver_id: string;
|
|
7792
7798
|
incident_id: string;
|
|
7793
7799
|
odometer_reading: number;
|
|
@@ -7807,7 +7813,6 @@ declare const FleetIssueSchema: z.ZodObject<{
|
|
|
7807
7813
|
FleetIssueFileSchema: {
|
|
7808
7814
|
status: Status;
|
|
7809
7815
|
organisation_id: string;
|
|
7810
|
-
user_id: string;
|
|
7811
7816
|
usage_type: string;
|
|
7812
7817
|
file_type: FileType;
|
|
7813
7818
|
file_url: string;
|
|
@@ -7816,14 +7821,15 @@ declare const FleetIssueSchema: z.ZodObject<{
|
|
|
7816
7821
|
file_description: string;
|
|
7817
7822
|
file_size: number;
|
|
7818
7823
|
file_metadata: Record<string, any>;
|
|
7824
|
+
user_id: string;
|
|
7819
7825
|
issue_id: string;
|
|
7820
7826
|
}[];
|
|
7821
7827
|
}, {
|
|
7822
7828
|
status: Status;
|
|
7823
7829
|
organisation_id: string;
|
|
7824
|
-
user_id: string;
|
|
7825
|
-
time_zone_id: string;
|
|
7826
7830
|
vehicle_id: string;
|
|
7831
|
+
time_zone_id: string;
|
|
7832
|
+
user_id: string;
|
|
7827
7833
|
driver_id: string;
|
|
7828
7834
|
incident_id: string;
|
|
7829
7835
|
service_id: string;
|
|
@@ -7843,9 +7849,9 @@ declare const FleetIssueSchema: z.ZodObject<{
|
|
|
7843
7849
|
FleetIssueFileSchema?: {
|
|
7844
7850
|
status: Status;
|
|
7845
7851
|
organisation_id: string;
|
|
7846
|
-
user_id: string;
|
|
7847
7852
|
usage_type: string;
|
|
7848
7853
|
file_type: FileType;
|
|
7854
|
+
user_id: string;
|
|
7849
7855
|
issue_id: string;
|
|
7850
7856
|
file_url?: string | undefined;
|
|
7851
7857
|
file_key?: string | undefined;
|
|
@@ -7925,8 +7931,8 @@ declare const FleetIssueQuerySchema: z.ZodObject<{
|
|
|
7925
7931
|
date_format_id: string;
|
|
7926
7932
|
time_zone_id: string;
|
|
7927
7933
|
organisation_ids: string[];
|
|
7928
|
-
user_ids: string[];
|
|
7929
7934
|
vehicle_ids: string[];
|
|
7935
|
+
user_ids: string[];
|
|
7930
7936
|
driver_ids: string[];
|
|
7931
7937
|
from_date: string;
|
|
7932
7938
|
to_date: string;
|
|
@@ -7964,8 +7970,8 @@ declare const FleetIssueQuerySchema: z.ZodObject<{
|
|
|
7964
7970
|
}[] | undefined;
|
|
7965
7971
|
include_master_data?: YesNo | undefined;
|
|
7966
7972
|
organisation_ids?: string[] | undefined;
|
|
7967
|
-
user_ids?: string[] | undefined;
|
|
7968
7973
|
vehicle_ids?: string[] | undefined;
|
|
7974
|
+
user_ids?: string[] | undefined;
|
|
7969
7975
|
driver_ids?: string[] | undefined;
|
|
7970
7976
|
incident_ids?: string[] | undefined;
|
|
7971
7977
|
service_ids?: string[] | undefined;
|
|
@@ -8439,7 +8445,6 @@ declare const FleetBreakdownFileSchema: z.ZodObject<{
|
|
|
8439
8445
|
}, "strip", z.ZodTypeAny, {
|
|
8440
8446
|
status: Status;
|
|
8441
8447
|
organisation_id: string;
|
|
8442
|
-
user_id: string;
|
|
8443
8448
|
usage_type: string;
|
|
8444
8449
|
file_type: FileType;
|
|
8445
8450
|
file_url: string;
|
|
@@ -8448,13 +8453,14 @@ declare const FleetBreakdownFileSchema: z.ZodObject<{
|
|
|
8448
8453
|
file_description: string;
|
|
8449
8454
|
file_size: number;
|
|
8450
8455
|
file_metadata: Record<string, any>;
|
|
8456
|
+
user_id: string;
|
|
8451
8457
|
breakdown_id: string;
|
|
8452
8458
|
}, {
|
|
8453
8459
|
status: Status;
|
|
8454
8460
|
organisation_id: string;
|
|
8455
|
-
user_id: string;
|
|
8456
8461
|
usage_type: string;
|
|
8457
8462
|
file_type: FileType;
|
|
8463
|
+
user_id: string;
|
|
8458
8464
|
breakdown_id: string;
|
|
8459
8465
|
file_url?: string | undefined;
|
|
8460
8466
|
file_key?: string | undefined;
|
|
@@ -8499,7 +8505,6 @@ declare const FleetBreakdownSchema: z.ZodObject<{
|
|
|
8499
8505
|
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
8500
8506
|
status: Status;
|
|
8501
8507
|
organisation_id: string;
|
|
8502
|
-
user_id: string;
|
|
8503
8508
|
usage_type: string;
|
|
8504
8509
|
file_type: FileType;
|
|
8505
8510
|
file_url: string;
|
|
@@ -8508,13 +8513,14 @@ declare const FleetBreakdownSchema: z.ZodObject<{
|
|
|
8508
8513
|
file_description: string;
|
|
8509
8514
|
file_size: number;
|
|
8510
8515
|
file_metadata: Record<string, any>;
|
|
8516
|
+
user_id: string;
|
|
8511
8517
|
breakdown_id: string;
|
|
8512
8518
|
}, {
|
|
8513
8519
|
status: Status;
|
|
8514
8520
|
organisation_id: string;
|
|
8515
|
-
user_id: string;
|
|
8516
8521
|
usage_type: string;
|
|
8517
8522
|
file_type: FileType;
|
|
8523
|
+
user_id: string;
|
|
8518
8524
|
breakdown_id: string;
|
|
8519
8525
|
file_url?: string | undefined;
|
|
8520
8526
|
file_key?: string | undefined;
|
|
@@ -8527,9 +8533,9 @@ declare const FleetBreakdownSchema: z.ZodObject<{
|
|
|
8527
8533
|
}, "strip", z.ZodTypeAny, {
|
|
8528
8534
|
status: Status;
|
|
8529
8535
|
organisation_id: string;
|
|
8530
|
-
user_id: string;
|
|
8531
|
-
time_zone_id: string;
|
|
8532
8536
|
vehicle_id: string;
|
|
8537
|
+
time_zone_id: string;
|
|
8538
|
+
user_id: string;
|
|
8533
8539
|
driver_id: string;
|
|
8534
8540
|
was_towed: YesNo;
|
|
8535
8541
|
is_vehicle_operational: YesNo;
|
|
@@ -8544,7 +8550,6 @@ declare const FleetBreakdownSchema: z.ZodObject<{
|
|
|
8544
8550
|
FleetBreakdownFileSchema: {
|
|
8545
8551
|
status: Status;
|
|
8546
8552
|
organisation_id: string;
|
|
8547
|
-
user_id: string;
|
|
8548
8553
|
usage_type: string;
|
|
8549
8554
|
file_type: FileType;
|
|
8550
8555
|
file_url: string;
|
|
@@ -8553,6 +8558,7 @@ declare const FleetBreakdownSchema: z.ZodObject<{
|
|
|
8553
8558
|
file_description: string;
|
|
8554
8559
|
file_size: number;
|
|
8555
8560
|
file_metadata: Record<string, any>;
|
|
8561
|
+
user_id: string;
|
|
8556
8562
|
breakdown_id: string;
|
|
8557
8563
|
}[];
|
|
8558
8564
|
latitude?: number | undefined;
|
|
@@ -8560,9 +8566,9 @@ declare const FleetBreakdownSchema: z.ZodObject<{
|
|
|
8560
8566
|
}, {
|
|
8561
8567
|
status: Status;
|
|
8562
8568
|
organisation_id: string;
|
|
8563
|
-
user_id: string;
|
|
8564
|
-
time_zone_id: string;
|
|
8565
8569
|
vehicle_id: string;
|
|
8570
|
+
time_zone_id: string;
|
|
8571
|
+
user_id: string;
|
|
8566
8572
|
driver_id: string;
|
|
8567
8573
|
was_towed: YesNo;
|
|
8568
8574
|
is_vehicle_operational: YesNo;
|
|
@@ -8579,9 +8585,9 @@ declare const FleetBreakdownSchema: z.ZodObject<{
|
|
|
8579
8585
|
FleetBreakdownFileSchema?: {
|
|
8580
8586
|
status: Status;
|
|
8581
8587
|
organisation_id: string;
|
|
8582
|
-
user_id: string;
|
|
8583
8588
|
usage_type: string;
|
|
8584
8589
|
file_type: FileType;
|
|
8590
|
+
user_id: string;
|
|
8585
8591
|
breakdown_id: string;
|
|
8586
8592
|
file_url?: string | undefined;
|
|
8587
8593
|
file_key?: string | undefined;
|
|
@@ -8658,8 +8664,8 @@ declare const FleetBreakdownQuerySchema: z.ZodObject<{
|
|
|
8658
8664
|
date_format_id: string;
|
|
8659
8665
|
time_zone_id: string;
|
|
8660
8666
|
organisation_ids: string[];
|
|
8661
|
-
user_ids: string[];
|
|
8662
8667
|
vehicle_ids: string[];
|
|
8668
|
+
user_ids: string[];
|
|
8663
8669
|
driver_ids: string[];
|
|
8664
8670
|
from_date: string;
|
|
8665
8671
|
to_date: string;
|
|
@@ -8694,8 +8700,8 @@ declare const FleetBreakdownQuerySchema: z.ZodObject<{
|
|
|
8694
8700
|
}[] | undefined;
|
|
8695
8701
|
include_master_data?: YesNo | undefined;
|
|
8696
8702
|
organisation_ids?: string[] | undefined;
|
|
8697
|
-
user_ids?: string[] | undefined;
|
|
8698
8703
|
vehicle_ids?: string[] | undefined;
|
|
8704
|
+
user_ids?: string[] | undefined;
|
|
8699
8705
|
driver_ids?: string[] | undefined;
|
|
8700
8706
|
was_towed?: YesNo[] | undefined;
|
|
8701
8707
|
is_vehicle_operational?: YesNo[] | undefined;
|
|
@@ -8807,8 +8813,8 @@ declare const FleetBreakdownCostSchema: z.ZodObject<{
|
|
|
8807
8813
|
}, "strip", z.ZodTypeAny, {
|
|
8808
8814
|
status: Status;
|
|
8809
8815
|
organisation_id: string;
|
|
8810
|
-
user_id: string;
|
|
8811
8816
|
time_zone_id: string;
|
|
8817
|
+
user_id: string;
|
|
8812
8818
|
expense_name_id: string;
|
|
8813
8819
|
breakdown_id: string;
|
|
8814
8820
|
breakdown_cost_date: string;
|
|
@@ -8817,8 +8823,8 @@ declare const FleetBreakdownCostSchema: z.ZodObject<{
|
|
|
8817
8823
|
}, {
|
|
8818
8824
|
status: Status;
|
|
8819
8825
|
organisation_id: string;
|
|
8820
|
-
user_id: string;
|
|
8821
8826
|
time_zone_id: string;
|
|
8827
|
+
user_id: string;
|
|
8822
8828
|
expense_name_id: string;
|
|
8823
8829
|
breakdown_id: string;
|
|
8824
8830
|
breakdown_cost_date?: string | undefined;
|
|
@@ -9398,7 +9404,6 @@ declare const FleetFuelRemovalFileSchema: z.ZodObject<{
|
|
|
9398
9404
|
}, "strip", z.ZodTypeAny, {
|
|
9399
9405
|
status: Status;
|
|
9400
9406
|
organisation_id: string;
|
|
9401
|
-
user_id: string;
|
|
9402
9407
|
usage_type: string;
|
|
9403
9408
|
file_type: FileType;
|
|
9404
9409
|
file_url: string;
|
|
@@ -9407,13 +9412,14 @@ declare const FleetFuelRemovalFileSchema: z.ZodObject<{
|
|
|
9407
9412
|
file_description: string;
|
|
9408
9413
|
file_size: number;
|
|
9409
9414
|
file_metadata: Record<string, any>;
|
|
9415
|
+
user_id: string;
|
|
9410
9416
|
fleet_fuel_removal_id: string;
|
|
9411
9417
|
}, {
|
|
9412
9418
|
status: Status;
|
|
9413
9419
|
organisation_id: string;
|
|
9414
|
-
user_id: string;
|
|
9415
9420
|
usage_type: string;
|
|
9416
9421
|
file_type: FileType;
|
|
9422
|
+
user_id: string;
|
|
9417
9423
|
fleet_fuel_removal_id: string;
|
|
9418
9424
|
file_url?: string | undefined;
|
|
9419
9425
|
file_key?: string | undefined;
|
|
@@ -9468,7 +9474,6 @@ declare const FleetFuelRemovalSchema: z.ZodObject<{
|
|
|
9468
9474
|
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
9469
9475
|
status: Status;
|
|
9470
9476
|
organisation_id: string;
|
|
9471
|
-
user_id: string;
|
|
9472
9477
|
usage_type: string;
|
|
9473
9478
|
file_type: FileType;
|
|
9474
9479
|
file_url: string;
|
|
@@ -9477,13 +9482,14 @@ declare const FleetFuelRemovalSchema: z.ZodObject<{
|
|
|
9477
9482
|
file_description: string;
|
|
9478
9483
|
file_size: number;
|
|
9479
9484
|
file_metadata: Record<string, any>;
|
|
9485
|
+
user_id: string;
|
|
9480
9486
|
fleet_fuel_removal_id: string;
|
|
9481
9487
|
}, {
|
|
9482
9488
|
status: Status;
|
|
9483
9489
|
organisation_id: string;
|
|
9484
|
-
user_id: string;
|
|
9485
9490
|
usage_type: string;
|
|
9486
9491
|
file_type: FileType;
|
|
9492
|
+
user_id: string;
|
|
9487
9493
|
fleet_fuel_removal_id: string;
|
|
9488
9494
|
file_url?: string | undefined;
|
|
9489
9495
|
file_key?: string | undefined;
|
|
@@ -9495,9 +9501,9 @@ declare const FleetFuelRemovalSchema: z.ZodObject<{
|
|
|
9495
9501
|
}, "strip", z.ZodTypeAny, {
|
|
9496
9502
|
status: Status;
|
|
9497
9503
|
organisation_id: string;
|
|
9498
|
-
user_id: string;
|
|
9499
|
-
time_zone_id: string;
|
|
9500
9504
|
vehicle_id: string;
|
|
9505
|
+
time_zone_id: string;
|
|
9506
|
+
user_id: string;
|
|
9501
9507
|
driver_id: string;
|
|
9502
9508
|
odometer_reading: number;
|
|
9503
9509
|
google_location: string;
|
|
@@ -9514,7 +9520,6 @@ declare const FleetFuelRemovalSchema: z.ZodObject<{
|
|
|
9514
9520
|
FleetFuelRemovalFileSchema: {
|
|
9515
9521
|
status: Status;
|
|
9516
9522
|
organisation_id: string;
|
|
9517
|
-
user_id: string;
|
|
9518
9523
|
usage_type: string;
|
|
9519
9524
|
file_type: FileType;
|
|
9520
9525
|
file_url: string;
|
|
@@ -9523,6 +9528,7 @@ declare const FleetFuelRemovalSchema: z.ZodObject<{
|
|
|
9523
9528
|
file_description: string;
|
|
9524
9529
|
file_size: number;
|
|
9525
9530
|
file_metadata: Record<string, any>;
|
|
9531
|
+
user_id: string;
|
|
9526
9532
|
fleet_fuel_removal_id: string;
|
|
9527
9533
|
}[];
|
|
9528
9534
|
latitude?: number | undefined;
|
|
@@ -9537,9 +9543,9 @@ declare const FleetFuelRemovalSchema: z.ZodObject<{
|
|
|
9537
9543
|
}, {
|
|
9538
9544
|
status: Status;
|
|
9539
9545
|
organisation_id: string;
|
|
9540
|
-
user_id: string;
|
|
9541
|
-
time_zone_id: string;
|
|
9542
9546
|
vehicle_id: string;
|
|
9547
|
+
time_zone_id: string;
|
|
9548
|
+
user_id: string;
|
|
9543
9549
|
driver_id: string;
|
|
9544
9550
|
vehicle_fuel_type_id: string;
|
|
9545
9551
|
vehicle_fuel_unit_id: string;
|
|
@@ -9565,9 +9571,9 @@ declare const FleetFuelRemovalSchema: z.ZodObject<{
|
|
|
9565
9571
|
FleetFuelRemovalFileSchema?: {
|
|
9566
9572
|
status: Status;
|
|
9567
9573
|
organisation_id: string;
|
|
9568
|
-
user_id: string;
|
|
9569
9574
|
usage_type: string;
|
|
9570
9575
|
file_type: FileType;
|
|
9576
|
+
user_id: string;
|
|
9571
9577
|
fleet_fuel_removal_id: string;
|
|
9572
9578
|
file_url?: string | undefined;
|
|
9573
9579
|
file_key?: string | undefined;
|
|
@@ -9645,8 +9651,8 @@ declare const FleetFuelRemovalQuerySchema: z.ZodObject<{
|
|
|
9645
9651
|
date_format_id: string;
|
|
9646
9652
|
time_zone_id: string;
|
|
9647
9653
|
organisation_ids: string[];
|
|
9648
|
-
user_ids: string[];
|
|
9649
9654
|
vehicle_ids: string[];
|
|
9655
|
+
user_ids: string[];
|
|
9650
9656
|
driver_ids: string[];
|
|
9651
9657
|
from_date: string;
|
|
9652
9658
|
to_date: string;
|
|
@@ -9682,8 +9688,8 @@ declare const FleetFuelRemovalQuerySchema: z.ZodObject<{
|
|
|
9682
9688
|
}[] | undefined;
|
|
9683
9689
|
include_master_data?: YesNo | undefined;
|
|
9684
9690
|
organisation_ids?: string[] | undefined;
|
|
9685
|
-
user_ids?: string[] | undefined;
|
|
9686
9691
|
vehicle_ids?: string[] | undefined;
|
|
9692
|
+
user_ids?: string[] | undefined;
|
|
9687
9693
|
driver_ids?: string[] | undefined;
|
|
9688
9694
|
fleet_fuel_removal_reason_ids?: string[] | undefined;
|
|
9689
9695
|
admin_verify_status?: GPSFuelApproveStatus[] | undefined;
|
|
@@ -11029,9 +11035,9 @@ declare const MasterDailyScheduleSchema: z.ZodObject<{
|
|
|
11029
11035
|
}, "strip", z.ZodTypeAny, {
|
|
11030
11036
|
status: Status;
|
|
11031
11037
|
organisation_id: string;
|
|
11038
|
+
vehicle_id: string;
|
|
11032
11039
|
time_zone_id: string;
|
|
11033
11040
|
organisation_branch_id: string;
|
|
11034
|
-
vehicle_id: string;
|
|
11035
11041
|
driver_id: string;
|
|
11036
11042
|
schedule_name: string;
|
|
11037
11043
|
schedule_status: Status;
|
|
@@ -11053,9 +11059,9 @@ declare const MasterDailyScheduleSchema: z.ZodObject<{
|
|
|
11053
11059
|
}, {
|
|
11054
11060
|
status: Status;
|
|
11055
11061
|
organisation_id: string;
|
|
11062
|
+
vehicle_id: string;
|
|
11056
11063
|
time_zone_id: string;
|
|
11057
11064
|
organisation_branch_id: string;
|
|
11058
|
-
vehicle_id: string;
|
|
11059
11065
|
driver_id: string;
|
|
11060
11066
|
schedule_name: string;
|
|
11061
11067
|
schedule_status: Status;
|
|
@@ -11139,8 +11145,8 @@ declare const MasterDailyScheduleQuerySchema: z.ZodObject<{
|
|
|
11139
11145
|
date_format_id: string;
|
|
11140
11146
|
time_zone_id: string;
|
|
11141
11147
|
organisation_ids: string[];
|
|
11142
|
-
organisation_branch_ids: string[];
|
|
11143
11148
|
vehicle_ids: string[];
|
|
11149
|
+
organisation_branch_ids: string[];
|
|
11144
11150
|
driver_ids: string[];
|
|
11145
11151
|
schedule_status: Status[];
|
|
11146
11152
|
schedule_type: BusLeg[];
|
|
@@ -11170,8 +11176,8 @@ declare const MasterDailyScheduleQuerySchema: z.ZodObject<{
|
|
|
11170
11176
|
}[] | undefined;
|
|
11171
11177
|
include_master_data?: YesNo | undefined;
|
|
11172
11178
|
organisation_ids?: string[] | undefined;
|
|
11173
|
-
organisation_branch_ids?: string[] | undefined;
|
|
11174
11179
|
vehicle_ids?: string[] | undefined;
|
|
11180
|
+
organisation_branch_ids?: string[] | undefined;
|
|
11175
11181
|
driver_ids?: string[] | undefined;
|
|
11176
11182
|
schedule_status?: Status[] | undefined;
|
|
11177
11183
|
schedule_type?: BusLeg[] | undefined;
|
|
@@ -11434,9 +11440,9 @@ declare const MasterSpecialScheduleSchema: z.ZodObject<{
|
|
|
11434
11440
|
}, "strip", z.ZodTypeAny, {
|
|
11435
11441
|
status: Status;
|
|
11436
11442
|
organisation_id: string;
|
|
11443
|
+
vehicle_id: string;
|
|
11437
11444
|
time_zone_id: string;
|
|
11438
11445
|
organisation_branch_id: string;
|
|
11439
|
-
vehicle_id: string;
|
|
11440
11446
|
driver_id: string;
|
|
11441
11447
|
schedule_name: string;
|
|
11442
11448
|
schedule_status: Status;
|
|
@@ -11458,9 +11464,9 @@ declare const MasterSpecialScheduleSchema: z.ZodObject<{
|
|
|
11458
11464
|
}, {
|
|
11459
11465
|
status: Status;
|
|
11460
11466
|
organisation_id: string;
|
|
11467
|
+
vehicle_id: string;
|
|
11461
11468
|
time_zone_id: string;
|
|
11462
11469
|
organisation_branch_id: string;
|
|
11463
|
-
vehicle_id: string;
|
|
11464
11470
|
driver_id: string;
|
|
11465
11471
|
schedule_name: string;
|
|
11466
11472
|
schedule_status: Status;
|
|
@@ -11544,8 +11550,8 @@ declare const MasterSpecialScheduleQuerySchema: z.ZodObject<{
|
|
|
11544
11550
|
date_format_id: string;
|
|
11545
11551
|
time_zone_id: string;
|
|
11546
11552
|
organisation_ids: string[];
|
|
11547
|
-
organisation_branch_ids: string[];
|
|
11548
11553
|
vehicle_ids: string[];
|
|
11554
|
+
organisation_branch_ids: string[];
|
|
11549
11555
|
driver_ids: string[];
|
|
11550
11556
|
schedule_status: Status[];
|
|
11551
11557
|
schedule_type: BusLeg[];
|
|
@@ -11575,8 +11581,8 @@ declare const MasterSpecialScheduleQuerySchema: z.ZodObject<{
|
|
|
11575
11581
|
}[] | undefined;
|
|
11576
11582
|
include_master_data?: YesNo | undefined;
|
|
11577
11583
|
organisation_ids?: string[] | undefined;
|
|
11578
|
-
organisation_branch_ids?: string[] | undefined;
|
|
11579
11584
|
vehicle_ids?: string[] | undefined;
|
|
11585
|
+
organisation_branch_ids?: string[] | undefined;
|
|
11580
11586
|
driver_ids?: string[] | undefined;
|
|
11581
11587
|
schedule_status?: Status[] | undefined;
|
|
11582
11588
|
schedule_type?: BusLeg[] | undefined;
|
|
@@ -13951,7 +13957,6 @@ declare const FleetFuelRefillFileSchema: z.ZodObject<{
|
|
|
13951
13957
|
}, "strip", z.ZodTypeAny, {
|
|
13952
13958
|
status: Status;
|
|
13953
13959
|
organisation_id: string;
|
|
13954
|
-
user_id: string;
|
|
13955
13960
|
usage_type: string;
|
|
13956
13961
|
file_type: FileType;
|
|
13957
13962
|
file_url: string;
|
|
@@ -13960,13 +13965,14 @@ declare const FleetFuelRefillFileSchema: z.ZodObject<{
|
|
|
13960
13965
|
file_description: string;
|
|
13961
13966
|
file_size: number;
|
|
13962
13967
|
file_metadata: Record<string, any>;
|
|
13968
|
+
user_id: string;
|
|
13963
13969
|
fleet_fuel_refill_id: string;
|
|
13964
13970
|
}, {
|
|
13965
13971
|
status: Status;
|
|
13966
13972
|
organisation_id: string;
|
|
13967
|
-
user_id: string;
|
|
13968
13973
|
usage_type: string;
|
|
13969
13974
|
file_type: FileType;
|
|
13975
|
+
user_id: string;
|
|
13970
13976
|
fleet_fuel_refill_id: string;
|
|
13971
13977
|
file_url?: string | undefined;
|
|
13972
13978
|
file_key?: string | undefined;
|
|
@@ -14033,7 +14039,6 @@ declare const FleetFuelRefillSchema: z.ZodObject<{
|
|
|
14033
14039
|
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
14034
14040
|
status: Status;
|
|
14035
14041
|
organisation_id: string;
|
|
14036
|
-
user_id: string;
|
|
14037
14042
|
usage_type: string;
|
|
14038
14043
|
file_type: FileType;
|
|
14039
14044
|
file_url: string;
|
|
@@ -14042,13 +14047,14 @@ declare const FleetFuelRefillSchema: z.ZodObject<{
|
|
|
14042
14047
|
file_description: string;
|
|
14043
14048
|
file_size: number;
|
|
14044
14049
|
file_metadata: Record<string, any>;
|
|
14050
|
+
user_id: string;
|
|
14045
14051
|
fleet_fuel_refill_id: string;
|
|
14046
14052
|
}, {
|
|
14047
14053
|
status: Status;
|
|
14048
14054
|
organisation_id: string;
|
|
14049
|
-
user_id: string;
|
|
14050
14055
|
usage_type: string;
|
|
14051
14056
|
file_type: FileType;
|
|
14057
|
+
user_id: string;
|
|
14052
14058
|
fleet_fuel_refill_id: string;
|
|
14053
14059
|
file_url?: string | undefined;
|
|
14054
14060
|
file_key?: string | undefined;
|
|
@@ -14060,9 +14066,9 @@ declare const FleetFuelRefillSchema: z.ZodObject<{
|
|
|
14060
14066
|
}, "strip", z.ZodTypeAny, {
|
|
14061
14067
|
status: Status;
|
|
14062
14068
|
organisation_id: string;
|
|
14063
|
-
user_id: string;
|
|
14064
|
-
time_zone_id: string;
|
|
14065
14069
|
vehicle_id: string;
|
|
14070
|
+
time_zone_id: string;
|
|
14071
|
+
user_id: string;
|
|
14066
14072
|
driver_id: string;
|
|
14067
14073
|
odometer_reading: number;
|
|
14068
14074
|
google_location: string;
|
|
@@ -14091,7 +14097,6 @@ declare const FleetFuelRefillSchema: z.ZodObject<{
|
|
|
14091
14097
|
FleetFuelRefillFile: {
|
|
14092
14098
|
status: Status;
|
|
14093
14099
|
organisation_id: string;
|
|
14094
|
-
user_id: string;
|
|
14095
14100
|
usage_type: string;
|
|
14096
14101
|
file_type: FileType;
|
|
14097
14102
|
file_url: string;
|
|
@@ -14100,6 +14105,7 @@ declare const FleetFuelRefillSchema: z.ZodObject<{
|
|
|
14100
14105
|
file_description: string;
|
|
14101
14106
|
file_size: number;
|
|
14102
14107
|
file_metadata: Record<string, any>;
|
|
14108
|
+
user_id: string;
|
|
14103
14109
|
fleet_fuel_refill_id: string;
|
|
14104
14110
|
}[];
|
|
14105
14111
|
latitude?: number | undefined;
|
|
@@ -14114,9 +14120,9 @@ declare const FleetFuelRefillSchema: z.ZodObject<{
|
|
|
14114
14120
|
}, {
|
|
14115
14121
|
status: Status;
|
|
14116
14122
|
organisation_id: string;
|
|
14117
|
-
user_id: string;
|
|
14118
|
-
time_zone_id: string;
|
|
14119
14123
|
vehicle_id: string;
|
|
14124
|
+
time_zone_id: string;
|
|
14125
|
+
user_id: string;
|
|
14120
14126
|
driver_id: string;
|
|
14121
14127
|
vendor_id: string;
|
|
14122
14128
|
fuel_station_id: string;
|
|
@@ -14154,9 +14160,9 @@ declare const FleetFuelRefillSchema: z.ZodObject<{
|
|
|
14154
14160
|
FleetFuelRefillFile?: {
|
|
14155
14161
|
status: Status;
|
|
14156
14162
|
organisation_id: string;
|
|
14157
|
-
user_id: string;
|
|
14158
14163
|
usage_type: string;
|
|
14159
14164
|
file_type: FileType;
|
|
14165
|
+
user_id: string;
|
|
14160
14166
|
fleet_fuel_refill_id: string;
|
|
14161
14167
|
file_url?: string | undefined;
|
|
14162
14168
|
file_key?: string | undefined;
|
|
@@ -14240,8 +14246,8 @@ declare const FleetFuelRefillQuerySchema: z.ZodObject<{
|
|
|
14240
14246
|
date_format_id: string;
|
|
14241
14247
|
time_zone_id: string;
|
|
14242
14248
|
organisation_ids: string[];
|
|
14243
|
-
user_ids: string[];
|
|
14244
14249
|
vehicle_ids: string[];
|
|
14250
|
+
user_ids: string[];
|
|
14245
14251
|
driver_ids: string[];
|
|
14246
14252
|
from_date: string;
|
|
14247
14253
|
to_date: string;
|
|
@@ -14283,8 +14289,8 @@ declare const FleetFuelRefillQuerySchema: z.ZodObject<{
|
|
|
14283
14289
|
}[] | undefined;
|
|
14284
14290
|
include_master_data?: YesNo | undefined;
|
|
14285
14291
|
organisation_ids?: string[] | undefined;
|
|
14286
|
-
user_ids?: string[] | undefined;
|
|
14287
14292
|
vehicle_ids?: string[] | undefined;
|
|
14293
|
+
user_ids?: string[] | undefined;
|
|
14288
14294
|
driver_ids?: string[] | undefined;
|
|
14289
14295
|
vendor_ids?: string[] | undefined;
|
|
14290
14296
|
fuel_station_ids?: string[] | undefined;
|
|
@@ -14394,8 +14400,8 @@ declare const OrganisationNotificationPreferenceSchema: z.ZodObject<{
|
|
|
14394
14400
|
}, "strip", z.ZodTypeAny, {
|
|
14395
14401
|
status: Status;
|
|
14396
14402
|
organisation_id: string;
|
|
14397
|
-
user_ids: string[];
|
|
14398
14403
|
vehicle_ids: string[];
|
|
14404
|
+
user_ids: string[];
|
|
14399
14405
|
notification_name: string;
|
|
14400
14406
|
notification_status: OnOff;
|
|
14401
14407
|
notification_channels: NotificationChannel[];
|
|
@@ -14415,8 +14421,8 @@ declare const OrganisationNotificationPreferenceSchema: z.ZodObject<{
|
|
|
14415
14421
|
all_users: YesNo;
|
|
14416
14422
|
all_geofences: YesNo;
|
|
14417
14423
|
all_vehicles: YesNo;
|
|
14418
|
-
user_ids?: string[] | undefined;
|
|
14419
14424
|
vehicle_ids?: string[] | undefined;
|
|
14425
|
+
user_ids?: string[] | undefined;
|
|
14420
14426
|
notification_channels?: NotificationChannel[] | undefined;
|
|
14421
14427
|
mobile_numbers?: string | undefined;
|
|
14422
14428
|
email_ids?: string | undefined;
|
|
@@ -14569,8 +14575,8 @@ declare const GPSGeofenceTransactionSummarySchema: z.ZodObject<{
|
|
|
14569
14575
|
}, "strip", z.ZodTypeAny, {
|
|
14570
14576
|
status: Status;
|
|
14571
14577
|
organisation_id: string;
|
|
14572
|
-
time_zone_id: string;
|
|
14573
14578
|
vehicle_id: string;
|
|
14579
|
+
time_zone_id: string;
|
|
14574
14580
|
driver_id: string;
|
|
14575
14581
|
gps_geofence_id: string;
|
|
14576
14582
|
geofence_enter_date_time: string;
|
|
@@ -14581,8 +14587,8 @@ declare const GPSGeofenceTransactionSummarySchema: z.ZodObject<{
|
|
|
14581
14587
|
}, {
|
|
14582
14588
|
status: Status;
|
|
14583
14589
|
organisation_id: string;
|
|
14584
|
-
time_zone_id: string;
|
|
14585
14590
|
vehicle_id: string;
|
|
14591
|
+
time_zone_id: string;
|
|
14586
14592
|
driver_id: string;
|
|
14587
14593
|
gps_geofence_id: string;
|
|
14588
14594
|
geofence_enter_date_time: string;
|
|
@@ -14750,8 +14756,8 @@ declare const TripGeofenceToGeofenceSchema: z.ZodObject<{
|
|
|
14750
14756
|
}, "strip", z.ZodTypeAny, {
|
|
14751
14757
|
status: Status;
|
|
14752
14758
|
organisation_id: string;
|
|
14753
|
-
time_zone_id: string;
|
|
14754
14759
|
vehicle_id: string;
|
|
14760
|
+
time_zone_id: string;
|
|
14755
14761
|
driver_id: string;
|
|
14756
14762
|
duration_seconds: number;
|
|
14757
14763
|
from_geofence_exit_date_time: string;
|
|
@@ -14766,8 +14772,8 @@ declare const TripGeofenceToGeofenceSchema: z.ZodObject<{
|
|
|
14766
14772
|
}, {
|
|
14767
14773
|
status: Status;
|
|
14768
14774
|
organisation_id: string;
|
|
14769
|
-
time_zone_id: string;
|
|
14770
14775
|
vehicle_id: string;
|
|
14776
|
+
time_zone_id: string;
|
|
14771
14777
|
driver_id: string;
|
|
14772
14778
|
from_geofence_exit_date_time: string;
|
|
14773
14779
|
to_geofence_enter_date_time: string;
|
|
@@ -15175,8 +15181,8 @@ declare const GPSGeofenceTransactionSchema: z.ZodObject<{
|
|
|
15175
15181
|
}, "strip", z.ZodTypeAny, {
|
|
15176
15182
|
status: Status;
|
|
15177
15183
|
organisation_id: string;
|
|
15178
|
-
time_zone_id: string;
|
|
15179
15184
|
vehicle_id: string;
|
|
15185
|
+
time_zone_id: string;
|
|
15180
15186
|
driver_id: string;
|
|
15181
15187
|
gps_geofence_id: string;
|
|
15182
15188
|
geofence_status_type: GeofenceStatusType;
|
|
@@ -15184,8 +15190,8 @@ declare const GPSGeofenceTransactionSchema: z.ZodObject<{
|
|
|
15184
15190
|
}, {
|
|
15185
15191
|
status: Status;
|
|
15186
15192
|
organisation_id: string;
|
|
15187
|
-
time_zone_id: string;
|
|
15188
15193
|
vehicle_id: string;
|
|
15194
|
+
time_zone_id: string;
|
|
15189
15195
|
driver_id: string;
|
|
15190
15196
|
gps_geofence_id: string;
|
|
15191
15197
|
geofence_status_type: GeofenceStatusType;
|
|
@@ -15460,7 +15466,6 @@ declare const MasterDriverFileSchema: z.ZodObject<{
|
|
|
15460
15466
|
}, "strip", z.ZodTypeAny, {
|
|
15461
15467
|
status: Status;
|
|
15462
15468
|
organisation_id: string;
|
|
15463
|
-
user_id: string;
|
|
15464
15469
|
usage_type: string;
|
|
15465
15470
|
file_type: FileType;
|
|
15466
15471
|
file_url: string;
|
|
@@ -15469,13 +15474,14 @@ declare const MasterDriverFileSchema: z.ZodObject<{
|
|
|
15469
15474
|
file_description: string;
|
|
15470
15475
|
file_size: number;
|
|
15471
15476
|
file_metadata: Record<string, any>;
|
|
15477
|
+
user_id: string;
|
|
15472
15478
|
driver_id: string;
|
|
15473
15479
|
}, {
|
|
15474
15480
|
status: Status;
|
|
15475
15481
|
organisation_id: string;
|
|
15476
|
-
user_id: string;
|
|
15477
15482
|
usage_type: string;
|
|
15478
15483
|
file_type: FileType;
|
|
15484
|
+
user_id: string;
|
|
15479
15485
|
driver_id: string;
|
|
15480
15486
|
file_url?: string | undefined;
|
|
15481
15487
|
file_key?: string | undefined;
|
|
@@ -15524,7 +15530,6 @@ declare const MasterDriverSchema: z.ZodObject<{
|
|
|
15524
15530
|
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
15525
15531
|
status: Status;
|
|
15526
15532
|
organisation_id: string;
|
|
15527
|
-
user_id: string;
|
|
15528
15533
|
usage_type: string;
|
|
15529
15534
|
file_type: FileType;
|
|
15530
15535
|
file_url: string;
|
|
@@ -15533,13 +15538,14 @@ declare const MasterDriverSchema: z.ZodObject<{
|
|
|
15533
15538
|
file_description: string;
|
|
15534
15539
|
file_size: number;
|
|
15535
15540
|
file_metadata: Record<string, any>;
|
|
15541
|
+
user_id: string;
|
|
15536
15542
|
driver_id: string;
|
|
15537
15543
|
}, {
|
|
15538
15544
|
status: Status;
|
|
15539
15545
|
organisation_id: string;
|
|
15540
|
-
user_id: string;
|
|
15541
15546
|
usage_type: string;
|
|
15542
15547
|
file_type: FileType;
|
|
15548
|
+
user_id: string;
|
|
15543
15549
|
driver_id: string;
|
|
15544
15550
|
file_url?: string | undefined;
|
|
15545
15551
|
file_key?: string | undefined;
|
|
@@ -15551,11 +15557,11 @@ declare const MasterDriverSchema: z.ZodObject<{
|
|
|
15551
15557
|
}, "strip", z.ZodTypeAny, {
|
|
15552
15558
|
status: Status;
|
|
15553
15559
|
organisation_id: string;
|
|
15554
|
-
user_id: string;
|
|
15555
15560
|
organisation_sub_company_id: string;
|
|
15556
15561
|
organisation_branch_id: string;
|
|
15557
15562
|
organisation_color_id: string;
|
|
15558
15563
|
organisation_tag_id: string;
|
|
15564
|
+
user_id: string;
|
|
15559
15565
|
driver_image_url: string;
|
|
15560
15566
|
driver_image_key: string;
|
|
15561
15567
|
driver_image_name: string;
|
|
@@ -15573,7 +15579,6 @@ declare const MasterDriverSchema: z.ZodObject<{
|
|
|
15573
15579
|
MasterDriverFileSchema: {
|
|
15574
15580
|
status: Status;
|
|
15575
15581
|
organisation_id: string;
|
|
15576
|
-
user_id: string;
|
|
15577
15582
|
usage_type: string;
|
|
15578
15583
|
file_type: FileType;
|
|
15579
15584
|
file_url: string;
|
|
@@ -15582,16 +15587,17 @@ declare const MasterDriverSchema: z.ZodObject<{
|
|
|
15582
15587
|
file_description: string;
|
|
15583
15588
|
file_size: number;
|
|
15584
15589
|
file_metadata: Record<string, any>;
|
|
15590
|
+
user_id: string;
|
|
15585
15591
|
driver_id: string;
|
|
15586
15592
|
}[];
|
|
15587
15593
|
}, {
|
|
15588
15594
|
status: Status;
|
|
15589
15595
|
organisation_id: string;
|
|
15590
|
-
user_id: string;
|
|
15591
15596
|
organisation_sub_company_id: string;
|
|
15592
15597
|
organisation_branch_id: string;
|
|
15593
15598
|
organisation_color_id: string;
|
|
15594
15599
|
organisation_tag_id: string;
|
|
15600
|
+
user_id: string;
|
|
15595
15601
|
driver_first_name: string;
|
|
15596
15602
|
can_login: YesNo;
|
|
15597
15603
|
driver_type: DriverType;
|
|
@@ -15609,9 +15615,9 @@ declare const MasterDriverSchema: z.ZodObject<{
|
|
|
15609
15615
|
MasterDriverFileSchema?: {
|
|
15610
15616
|
status: Status;
|
|
15611
15617
|
organisation_id: string;
|
|
15612
|
-
user_id: string;
|
|
15613
15618
|
usage_type: string;
|
|
15614
15619
|
file_type: FileType;
|
|
15620
|
+
user_id: string;
|
|
15615
15621
|
driver_id: string;
|
|
15616
15622
|
file_url?: string | undefined;
|
|
15617
15623
|
file_key?: string | undefined;
|
|
@@ -15687,12 +15693,12 @@ declare const MasterDriverQuerySchema: z.ZodObject<{
|
|
|
15687
15693
|
date_format_id: string;
|
|
15688
15694
|
time_zone_id: string;
|
|
15689
15695
|
organisation_ids: string[];
|
|
15690
|
-
|
|
15696
|
+
vehicle_ids: string[];
|
|
15691
15697
|
organisation_sub_company_ids: string[];
|
|
15692
15698
|
organisation_branch_ids: string[];
|
|
15693
15699
|
organisation_color_ids: string[];
|
|
15694
15700
|
organisation_tag_ids: string[];
|
|
15695
|
-
|
|
15701
|
+
user_ids: string[];
|
|
15696
15702
|
driver_ids: string[];
|
|
15697
15703
|
can_login: YesNo[];
|
|
15698
15704
|
driver_type: DriverType[];
|
|
@@ -15720,12 +15726,12 @@ declare const MasterDriverQuerySchema: z.ZodObject<{
|
|
|
15720
15726
|
}[] | undefined;
|
|
15721
15727
|
include_master_data?: YesNo | undefined;
|
|
15722
15728
|
organisation_ids?: string[] | undefined;
|
|
15723
|
-
|
|
15729
|
+
vehicle_ids?: string[] | undefined;
|
|
15724
15730
|
organisation_sub_company_ids?: string[] | undefined;
|
|
15725
15731
|
organisation_branch_ids?: string[] | undefined;
|
|
15726
15732
|
organisation_color_ids?: string[] | undefined;
|
|
15727
15733
|
organisation_tag_ids?: string[] | undefined;
|
|
15728
|
-
|
|
15734
|
+
user_ids?: string[] | undefined;
|
|
15729
15735
|
driver_ids?: string[] | undefined;
|
|
15730
15736
|
can_login?: YesNo[] | undefined;
|
|
15731
15737
|
driver_type?: DriverType[] | undefined;
|
|
@@ -15954,15 +15960,15 @@ declare const OrganisationGroupSchema: z.ZodObject<{
|
|
|
15954
15960
|
}, "strip", z.ZodTypeAny, {
|
|
15955
15961
|
status: Status;
|
|
15956
15962
|
organisation_id: string;
|
|
15957
|
-
description: string;
|
|
15958
15963
|
vehicle_ids: string[];
|
|
15964
|
+
description: string;
|
|
15959
15965
|
group_name: string;
|
|
15960
15966
|
}, {
|
|
15961
15967
|
status: Status;
|
|
15962
15968
|
organisation_id: string;
|
|
15963
15969
|
group_name: string;
|
|
15964
|
-
description?: string | undefined;
|
|
15965
15970
|
vehicle_ids?: string[] | undefined;
|
|
15971
|
+
description?: string | undefined;
|
|
15966
15972
|
}>;
|
|
15967
15973
|
type OrganisationGroupDTO = z.infer<typeof OrganisationGroupSchema>;
|
|
15968
15974
|
declare const OrganisationGroupQuerySchema: z.ZodObject<{
|
|
@@ -16086,8 +16092,8 @@ declare const MasterVehicleTypeSchema: z.ZodObject<{
|
|
|
16086
16092
|
}, "strip", z.ZodTypeAny, {
|
|
16087
16093
|
status: Status;
|
|
16088
16094
|
organisation_id: string;
|
|
16089
|
-
description: string;
|
|
16090
16095
|
vehicle_type: string;
|
|
16096
|
+
description: string;
|
|
16091
16097
|
}, {
|
|
16092
16098
|
status: Status;
|
|
16093
16099
|
organisation_id: string;
|
|
@@ -17438,9 +17444,9 @@ declare const FleetInspectionScheduleSchema: z.ZodObject<{
|
|
|
17438
17444
|
}, "strip", z.ZodTypeAny, {
|
|
17439
17445
|
status: Status;
|
|
17440
17446
|
organisation_id: string;
|
|
17441
|
-
user_id: string;
|
|
17442
17447
|
time_zone_id: string;
|
|
17443
17448
|
vehicle_ids: string[];
|
|
17449
|
+
user_id: string;
|
|
17444
17450
|
inspection_schedule_name: string;
|
|
17445
17451
|
inspection_schedule_description: string;
|
|
17446
17452
|
inspection_schedule_start_date: string;
|
|
@@ -17448,8 +17454,8 @@ declare const FleetInspectionScheduleSchema: z.ZodObject<{
|
|
|
17448
17454
|
}, {
|
|
17449
17455
|
status: Status;
|
|
17450
17456
|
organisation_id: string;
|
|
17451
|
-
user_id: string;
|
|
17452
17457
|
time_zone_id: string;
|
|
17458
|
+
user_id: string;
|
|
17453
17459
|
inspection_schedule_name: string;
|
|
17454
17460
|
inspection_schedule_start_date: string;
|
|
17455
17461
|
inspection_schedule_due_date: string;
|
|
@@ -17607,9 +17613,9 @@ declare const FleetServiceScheduleSchema: z.ZodObject<{
|
|
|
17607
17613
|
}, "strip", z.ZodTypeAny, {
|
|
17608
17614
|
status: Status;
|
|
17609
17615
|
organisation_id: string;
|
|
17610
|
-
user_id: string;
|
|
17611
17616
|
time_zone_id: string;
|
|
17612
17617
|
vehicle_ids: string[];
|
|
17618
|
+
user_id: string;
|
|
17613
17619
|
service_schedule_name: string;
|
|
17614
17620
|
service_schedule_description: string;
|
|
17615
17621
|
service_schedule_start_date: string;
|
|
@@ -17617,8 +17623,8 @@ declare const FleetServiceScheduleSchema: z.ZodObject<{
|
|
|
17617
17623
|
}, {
|
|
17618
17624
|
status: Status;
|
|
17619
17625
|
organisation_id: string;
|
|
17620
|
-
user_id: string;
|
|
17621
17626
|
time_zone_id: string;
|
|
17627
|
+
user_id: string;
|
|
17622
17628
|
service_schedule_name: string;
|
|
17623
17629
|
service_schedule_start_date: string;
|
|
17624
17630
|
service_schedule_due_date: string;
|
|
@@ -17993,16 +17999,16 @@ declare const GPSTrackHistoryShareLinkSchema: z.ZodObject<{
|
|
|
17993
17999
|
}, "strip", z.ZodTypeAny, {
|
|
17994
18000
|
status: Status;
|
|
17995
18001
|
organisation_id: string;
|
|
17996
|
-
time_zone_id: string;
|
|
17997
18002
|
vehicle_id: string;
|
|
18003
|
+
time_zone_id: string;
|
|
17998
18004
|
link_status: TrackHistoryLinkStatus;
|
|
17999
18005
|
from_date_time: string;
|
|
18000
18006
|
to_date_time: string;
|
|
18001
18007
|
}, {
|
|
18002
18008
|
status: Status;
|
|
18003
18009
|
organisation_id: string;
|
|
18004
|
-
time_zone_id: string;
|
|
18005
18010
|
vehicle_id: string;
|
|
18011
|
+
time_zone_id: string;
|
|
18006
18012
|
link_status: TrackHistoryLinkStatus;
|
|
18007
18013
|
from_date_time: string;
|
|
18008
18014
|
to_date_time: string;
|
|
@@ -19227,7 +19233,7 @@ declare const MasterVehicleFileSchema: z.ZodObject<{
|
|
|
19227
19233
|
}, "strip", z.ZodTypeAny, {
|
|
19228
19234
|
status: Status;
|
|
19229
19235
|
organisation_id: string;
|
|
19230
|
-
|
|
19236
|
+
vehicle_id: string;
|
|
19231
19237
|
usage_type: string;
|
|
19232
19238
|
file_type: FileType;
|
|
19233
19239
|
file_url: string;
|
|
@@ -19236,14 +19242,14 @@ declare const MasterVehicleFileSchema: z.ZodObject<{
|
|
|
19236
19242
|
file_description: string;
|
|
19237
19243
|
file_size: number;
|
|
19238
19244
|
file_metadata: Record<string, any>;
|
|
19239
|
-
|
|
19245
|
+
user_id: string;
|
|
19240
19246
|
}, {
|
|
19241
19247
|
status: Status;
|
|
19242
19248
|
organisation_id: string;
|
|
19243
|
-
|
|
19249
|
+
vehicle_id: string;
|
|
19244
19250
|
usage_type: string;
|
|
19245
19251
|
file_type: FileType;
|
|
19246
|
-
|
|
19252
|
+
user_id: string;
|
|
19247
19253
|
file_url?: string | undefined;
|
|
19248
19254
|
file_key?: string | undefined;
|
|
19249
19255
|
file_name?: string | undefined;
|
|
@@ -19322,7 +19328,7 @@ declare const VehicleSchema: z.ZodObject<{
|
|
|
19322
19328
|
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
19323
19329
|
status: Status;
|
|
19324
19330
|
organisation_id: string;
|
|
19325
|
-
|
|
19331
|
+
vehicle_id: string;
|
|
19326
19332
|
usage_type: string;
|
|
19327
19333
|
file_type: FileType;
|
|
19328
19334
|
file_url: string;
|
|
@@ -19331,14 +19337,14 @@ declare const VehicleSchema: z.ZodObject<{
|
|
|
19331
19337
|
file_description: string;
|
|
19332
19338
|
file_size: number;
|
|
19333
19339
|
file_metadata: Record<string, any>;
|
|
19334
|
-
|
|
19340
|
+
user_id: string;
|
|
19335
19341
|
}, {
|
|
19336
19342
|
status: Status;
|
|
19337
19343
|
organisation_id: string;
|
|
19338
|
-
|
|
19344
|
+
vehicle_id: string;
|
|
19339
19345
|
usage_type: string;
|
|
19340
19346
|
file_type: FileType;
|
|
19341
|
-
|
|
19347
|
+
user_id: string;
|
|
19342
19348
|
file_url?: string | undefined;
|
|
19343
19349
|
file_key?: string | undefined;
|
|
19344
19350
|
file_name?: string | undefined;
|
|
@@ -19349,14 +19355,14 @@ declare const VehicleSchema: z.ZodObject<{
|
|
|
19349
19355
|
}, "strip", z.ZodTypeAny, {
|
|
19350
19356
|
status: Status;
|
|
19351
19357
|
organisation_id: string;
|
|
19352
|
-
|
|
19358
|
+
vehicle_number: string;
|
|
19353
19359
|
time_zone_id: string;
|
|
19354
19360
|
country_id: string;
|
|
19355
19361
|
organisation_sub_company_id: string;
|
|
19356
19362
|
organisation_branch_id: string;
|
|
19357
19363
|
organisation_color_id: string;
|
|
19358
19364
|
organisation_tag_id: string;
|
|
19359
|
-
|
|
19365
|
+
user_id: string;
|
|
19360
19366
|
odometer_reading: number;
|
|
19361
19367
|
vehicle_fuel_type_id: string;
|
|
19362
19368
|
vehicle_fuel_unit_id: string;
|
|
@@ -19388,7 +19394,7 @@ declare const VehicleSchema: z.ZodObject<{
|
|
|
19388
19394
|
MasterVehicleFileSchema: {
|
|
19389
19395
|
status: Status;
|
|
19390
19396
|
organisation_id: string;
|
|
19391
|
-
|
|
19397
|
+
vehicle_id: string;
|
|
19392
19398
|
usage_type: string;
|
|
19393
19399
|
file_type: FileType;
|
|
19394
19400
|
file_url: string;
|
|
@@ -19397,19 +19403,19 @@ declare const VehicleSchema: z.ZodObject<{
|
|
|
19397
19403
|
file_description: string;
|
|
19398
19404
|
file_size: number;
|
|
19399
19405
|
file_metadata: Record<string, any>;
|
|
19400
|
-
|
|
19406
|
+
user_id: string;
|
|
19401
19407
|
}[];
|
|
19402
19408
|
}, {
|
|
19403
19409
|
status: Status;
|
|
19404
19410
|
organisation_id: string;
|
|
19405
|
-
|
|
19411
|
+
vehicle_number: string;
|
|
19406
19412
|
time_zone_id: string;
|
|
19407
19413
|
country_id: string;
|
|
19408
19414
|
organisation_sub_company_id: string;
|
|
19409
19415
|
organisation_branch_id: string;
|
|
19410
19416
|
organisation_color_id: string;
|
|
19411
19417
|
organisation_tag_id: string;
|
|
19412
|
-
|
|
19418
|
+
user_id: string;
|
|
19413
19419
|
vehicle_fuel_type_id: string;
|
|
19414
19420
|
vehicle_fuel_unit_id: string;
|
|
19415
19421
|
vehicle_type_id: string;
|
|
@@ -19441,10 +19447,10 @@ declare const VehicleSchema: z.ZodObject<{
|
|
|
19441
19447
|
MasterVehicleFileSchema?: {
|
|
19442
19448
|
status: Status;
|
|
19443
19449
|
organisation_id: string;
|
|
19444
|
-
|
|
19450
|
+
vehicle_id: string;
|
|
19445
19451
|
usage_type: string;
|
|
19446
19452
|
file_type: FileType;
|
|
19447
|
-
|
|
19453
|
+
user_id: string;
|
|
19448
19454
|
file_url?: string | undefined;
|
|
19449
19455
|
file_key?: string | undefined;
|
|
19450
19456
|
file_name?: string | undefined;
|
|
@@ -19977,12 +19983,12 @@ declare const VehicleQuerySchema: z.ZodObject<{
|
|
|
19977
19983
|
date_format_id: string;
|
|
19978
19984
|
time_zone_id: string;
|
|
19979
19985
|
organisation_ids: string[];
|
|
19980
|
-
|
|
19986
|
+
vehicle_ids: string[];
|
|
19981
19987
|
organisation_sub_company_ids: string[];
|
|
19982
19988
|
organisation_branch_ids: string[];
|
|
19983
19989
|
organisation_color_ids: string[];
|
|
19984
19990
|
organisation_tag_ids: string[];
|
|
19985
|
-
|
|
19991
|
+
user_ids: string[];
|
|
19986
19992
|
driver_ids: string[];
|
|
19987
19993
|
vehicle_fuel_type_ids: string[];
|
|
19988
19994
|
vehicle_fuel_unit_ids: string[];
|
|
@@ -20024,12 +20030,12 @@ declare const VehicleQuerySchema: z.ZodObject<{
|
|
|
20024
20030
|
}[] | undefined;
|
|
20025
20031
|
include_master_data?: YesNo | undefined;
|
|
20026
20032
|
organisation_ids?: string[] | undefined;
|
|
20027
|
-
|
|
20033
|
+
vehicle_ids?: string[] | undefined;
|
|
20028
20034
|
organisation_sub_company_ids?: string[] | undefined;
|
|
20029
20035
|
organisation_branch_ids?: string[] | undefined;
|
|
20030
20036
|
organisation_color_ids?: string[] | undefined;
|
|
20031
20037
|
organisation_tag_ids?: string[] | undefined;
|
|
20032
|
-
|
|
20038
|
+
user_ids?: string[] | undefined;
|
|
20033
20039
|
driver_ids?: string[] | undefined;
|
|
20034
20040
|
vehicle_fuel_type_ids?: string[] | undefined;
|
|
20035
20041
|
vehicle_fuel_unit_ids?: string[] | undefined;
|
|
@@ -20166,6 +20172,7 @@ declare const VehicleGPSQuerySchema: z.ZodObject<{
|
|
|
20166
20172
|
}, "strip", z.ZodTypeAny, {
|
|
20167
20173
|
status: Status[];
|
|
20168
20174
|
organisation_id: string;
|
|
20175
|
+
vehicle_id: string;
|
|
20169
20176
|
search: string;
|
|
20170
20177
|
paging: PAGING;
|
|
20171
20178
|
page_count: number;
|
|
@@ -20186,12 +20193,11 @@ declare const VehicleGPSQuerySchema: z.ZodObject<{
|
|
|
20186
20193
|
include_master_data: YesNo;
|
|
20187
20194
|
date_format_id: string;
|
|
20188
20195
|
time_zone_id: string;
|
|
20189
|
-
vehicle_id: string;
|
|
20190
20196
|
}, {
|
|
20191
20197
|
organisation_id: string;
|
|
20198
|
+
vehicle_id: string;
|
|
20192
20199
|
date_format_id: string;
|
|
20193
20200
|
time_zone_id: string;
|
|
20194
|
-
vehicle_id: string;
|
|
20195
20201
|
status?: Status[] | undefined;
|
|
20196
20202
|
search?: string | undefined;
|
|
20197
20203
|
paging?: PAGING | undefined;
|
|
@@ -20796,7 +20802,6 @@ declare const TicketFileSchema: z.ZodObject<{
|
|
|
20796
20802
|
}, "strip", z.ZodTypeAny, {
|
|
20797
20803
|
status: Status;
|
|
20798
20804
|
organisation_id: string;
|
|
20799
|
-
user_id: string;
|
|
20800
20805
|
usage_type: string;
|
|
20801
20806
|
file_type: FileType;
|
|
20802
20807
|
file_url: string;
|
|
@@ -20805,13 +20810,14 @@ declare const TicketFileSchema: z.ZodObject<{
|
|
|
20805
20810
|
file_description: string;
|
|
20806
20811
|
file_size: number;
|
|
20807
20812
|
file_metadata: Record<string, any>;
|
|
20813
|
+
user_id: string;
|
|
20808
20814
|
ticket_id: string;
|
|
20809
20815
|
}, {
|
|
20810
20816
|
status: Status;
|
|
20811
20817
|
organisation_id: string;
|
|
20812
|
-
user_id: string;
|
|
20813
20818
|
usage_type: string;
|
|
20814
20819
|
file_type: FileType;
|
|
20820
|
+
user_id: string;
|
|
20815
20821
|
ticket_id: string;
|
|
20816
20822
|
file_url?: string | undefined;
|
|
20817
20823
|
file_key?: string | undefined;
|
|
@@ -20844,7 +20850,6 @@ declare const TicketSchema: z.ZodObject<{
|
|
|
20844
20850
|
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
20845
20851
|
status: Status;
|
|
20846
20852
|
organisation_id: string;
|
|
20847
|
-
user_id: string;
|
|
20848
20853
|
usage_type: string;
|
|
20849
20854
|
file_type: FileType;
|
|
20850
20855
|
file_url: string;
|
|
@@ -20853,13 +20858,14 @@ declare const TicketSchema: z.ZodObject<{
|
|
|
20853
20858
|
file_description: string;
|
|
20854
20859
|
file_size: number;
|
|
20855
20860
|
file_metadata: Record<string, any>;
|
|
20861
|
+
user_id: string;
|
|
20856
20862
|
ticket_id: string;
|
|
20857
20863
|
}, {
|
|
20858
20864
|
status: Status;
|
|
20859
20865
|
organisation_id: string;
|
|
20860
|
-
user_id: string;
|
|
20861
20866
|
usage_type: string;
|
|
20862
20867
|
file_type: FileType;
|
|
20868
|
+
user_id: string;
|
|
20863
20869
|
ticket_id: string;
|
|
20864
20870
|
file_url?: string | undefined;
|
|
20865
20871
|
file_key?: string | undefined;
|
|
@@ -20871,13 +20877,12 @@ declare const TicketSchema: z.ZodObject<{
|
|
|
20871
20877
|
}, "strip", z.ZodTypeAny, {
|
|
20872
20878
|
status: Status;
|
|
20873
20879
|
organisation_id: string;
|
|
20874
|
-
user_id: string;
|
|
20875
20880
|
description: string;
|
|
20881
|
+
user_id: string;
|
|
20876
20882
|
subject: string;
|
|
20877
20883
|
TicketFileSchema: {
|
|
20878
20884
|
status: Status;
|
|
20879
20885
|
organisation_id: string;
|
|
20880
|
-
user_id: string;
|
|
20881
20886
|
usage_type: string;
|
|
20882
20887
|
file_type: FileType;
|
|
20883
20888
|
file_url: string;
|
|
@@ -20886,6 +20891,7 @@ declare const TicketSchema: z.ZodObject<{
|
|
|
20886
20891
|
file_description: string;
|
|
20887
20892
|
file_size: number;
|
|
20888
20893
|
file_metadata: Record<string, any>;
|
|
20894
|
+
user_id: string;
|
|
20889
20895
|
ticket_id: string;
|
|
20890
20896
|
}[];
|
|
20891
20897
|
}, {
|
|
@@ -20897,9 +20903,9 @@ declare const TicketSchema: z.ZodObject<{
|
|
|
20897
20903
|
TicketFileSchema?: {
|
|
20898
20904
|
status: Status;
|
|
20899
20905
|
organisation_id: string;
|
|
20900
|
-
user_id: string;
|
|
20901
20906
|
usage_type: string;
|
|
20902
20907
|
file_type: FileType;
|
|
20908
|
+
user_id: string;
|
|
20903
20909
|
ticket_id: string;
|
|
20904
20910
|
file_url?: string | undefined;
|
|
20905
20911
|
file_key?: string | undefined;
|
|
@@ -20933,7 +20939,6 @@ declare const TicketVerifySchema: z.ZodObject<{
|
|
|
20933
20939
|
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
20934
20940
|
status: Status;
|
|
20935
20941
|
organisation_id: string;
|
|
20936
|
-
user_id: string;
|
|
20937
20942
|
usage_type: string;
|
|
20938
20943
|
file_type: FileType;
|
|
20939
20944
|
file_url: string;
|
|
@@ -20942,13 +20947,14 @@ declare const TicketVerifySchema: z.ZodObject<{
|
|
|
20942
20947
|
file_description: string;
|
|
20943
20948
|
file_size: number;
|
|
20944
20949
|
file_metadata: Record<string, any>;
|
|
20950
|
+
user_id: string;
|
|
20945
20951
|
ticket_id: string;
|
|
20946
20952
|
}, {
|
|
20947
20953
|
status: Status;
|
|
20948
20954
|
organisation_id: string;
|
|
20949
|
-
user_id: string;
|
|
20950
20955
|
usage_type: string;
|
|
20951
20956
|
file_type: FileType;
|
|
20957
|
+
user_id: string;
|
|
20952
20958
|
ticket_id: string;
|
|
20953
20959
|
file_url?: string | undefined;
|
|
20954
20960
|
file_key?: string | undefined;
|
|
@@ -20966,7 +20972,6 @@ declare const TicketVerifySchema: z.ZodObject<{
|
|
|
20966
20972
|
TicketFileSchema: {
|
|
20967
20973
|
status: Status;
|
|
20968
20974
|
organisation_id: string;
|
|
20969
|
-
user_id: string;
|
|
20970
20975
|
usage_type: string;
|
|
20971
20976
|
file_type: FileType;
|
|
20972
20977
|
file_url: string;
|
|
@@ -20975,6 +20980,7 @@ declare const TicketVerifySchema: z.ZodObject<{
|
|
|
20975
20980
|
file_description: string;
|
|
20976
20981
|
file_size: number;
|
|
20977
20982
|
file_metadata: Record<string, any>;
|
|
20983
|
+
user_id: string;
|
|
20978
20984
|
ticket_id: string;
|
|
20979
20985
|
}[];
|
|
20980
20986
|
}, {
|
|
@@ -20986,9 +20992,9 @@ declare const TicketVerifySchema: z.ZodObject<{
|
|
|
20986
20992
|
TicketFileSchema?: {
|
|
20987
20993
|
status: Status;
|
|
20988
20994
|
organisation_id: string;
|
|
20989
|
-
user_id: string;
|
|
20990
20995
|
usage_type: string;
|
|
20991
20996
|
file_type: FileType;
|
|
20997
|
+
user_id: string;
|
|
20992
20998
|
ticket_id: string;
|
|
20993
20999
|
file_url?: string | undefined;
|
|
20994
21000
|
file_key?: string | undefined;
|
|
@@ -21606,9 +21612,6 @@ interface FleetDocumentExpiry extends Record<string, unknown> {
|
|
|
21606
21612
|
vehicle_type?: string;
|
|
21607
21613
|
document_id: string;
|
|
21608
21614
|
FleetDocument?: FleetDocument;
|
|
21609
|
-
fleet_document_type_id: string;
|
|
21610
|
-
MasterFleetDocumentType?: MasterFleetDocumentType;
|
|
21611
|
-
document_type?: string;
|
|
21612
21615
|
_count?: {};
|
|
21613
21616
|
}
|
|
21614
21617
|
interface DocumentDashboard extends Record<string, unknown> {
|
|
@@ -21640,7 +21643,6 @@ declare const FleetDocumentFileSchema: z.ZodObject<{
|
|
|
21640
21643
|
}, "strip", z.ZodTypeAny, {
|
|
21641
21644
|
status: Status;
|
|
21642
21645
|
organisation_id: string;
|
|
21643
|
-
user_id: string;
|
|
21644
21646
|
usage_type: string;
|
|
21645
21647
|
file_type: FileType;
|
|
21646
21648
|
file_url: string;
|
|
@@ -21649,13 +21651,14 @@ declare const FleetDocumentFileSchema: z.ZodObject<{
|
|
|
21649
21651
|
file_description: string;
|
|
21650
21652
|
file_size: number;
|
|
21651
21653
|
file_metadata: Record<string, any>;
|
|
21654
|
+
user_id: string;
|
|
21652
21655
|
document_id: string;
|
|
21653
21656
|
}, {
|
|
21654
21657
|
status: Status;
|
|
21655
21658
|
organisation_id: string;
|
|
21656
|
-
user_id: string;
|
|
21657
21659
|
usage_type: string;
|
|
21658
21660
|
file_type: FileType;
|
|
21661
|
+
user_id: string;
|
|
21659
21662
|
document_id: string;
|
|
21660
21663
|
file_url?: string | undefined;
|
|
21661
21664
|
file_key?: string | undefined;
|
|
@@ -21685,7 +21688,6 @@ declare const FleetDocumentSchema: z.ZodObject<{
|
|
|
21685
21688
|
document_details_4: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
|
|
21686
21689
|
document_notes: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
|
|
21687
21690
|
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
21688
|
-
time_zone_id: z.ZodEffects<z.ZodString, string, string>;
|
|
21689
21691
|
FleetDocumentFileSchema: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
21690
21692
|
usage_type: z.ZodEffects<z.ZodString, string, string>;
|
|
21691
21693
|
file_type: z.ZodType<FileType, z.ZodTypeDef, FileType>;
|
|
@@ -21703,7 +21705,6 @@ declare const FleetDocumentSchema: z.ZodObject<{
|
|
|
21703
21705
|
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
21704
21706
|
status: Status;
|
|
21705
21707
|
organisation_id: string;
|
|
21706
|
-
user_id: string;
|
|
21707
21708
|
usage_type: string;
|
|
21708
21709
|
file_type: FileType;
|
|
21709
21710
|
file_url: string;
|
|
@@ -21712,13 +21713,14 @@ declare const FleetDocumentSchema: z.ZodObject<{
|
|
|
21712
21713
|
file_description: string;
|
|
21713
21714
|
file_size: number;
|
|
21714
21715
|
file_metadata: Record<string, any>;
|
|
21716
|
+
user_id: string;
|
|
21715
21717
|
document_id: string;
|
|
21716
21718
|
}, {
|
|
21717
21719
|
status: Status;
|
|
21718
21720
|
organisation_id: string;
|
|
21719
|
-
user_id: string;
|
|
21720
21721
|
usage_type: string;
|
|
21721
21722
|
file_type: FileType;
|
|
21723
|
+
user_id: string;
|
|
21722
21724
|
document_id: string;
|
|
21723
21725
|
file_url?: string | undefined;
|
|
21724
21726
|
file_key?: string | undefined;
|
|
@@ -21727,12 +21729,13 @@ declare const FleetDocumentSchema: z.ZodObject<{
|
|
|
21727
21729
|
file_size?: unknown;
|
|
21728
21730
|
file_metadata?: Record<string, any> | undefined;
|
|
21729
21731
|
}>, "many">>>;
|
|
21732
|
+
time_zone_id: z.ZodEffects<z.ZodString, string, string>;
|
|
21730
21733
|
}, "strip", z.ZodTypeAny, {
|
|
21731
21734
|
status: Status;
|
|
21732
21735
|
organisation_id: string;
|
|
21733
|
-
user_id: string;
|
|
21734
|
-
time_zone_id: string;
|
|
21735
21736
|
vehicle_id: string;
|
|
21737
|
+
time_zone_id: string;
|
|
21738
|
+
user_id: string;
|
|
21736
21739
|
vendor_id: string;
|
|
21737
21740
|
document_number: string;
|
|
21738
21741
|
fleet_document_type_id: string;
|
|
@@ -21750,7 +21753,6 @@ declare const FleetDocumentSchema: z.ZodObject<{
|
|
|
21750
21753
|
FleetDocumentFileSchema: {
|
|
21751
21754
|
status: Status;
|
|
21752
21755
|
organisation_id: string;
|
|
21753
|
-
user_id: string;
|
|
21754
21756
|
usage_type: string;
|
|
21755
21757
|
file_type: FileType;
|
|
21756
21758
|
file_url: string;
|
|
@@ -21759,15 +21761,16 @@ declare const FleetDocumentSchema: z.ZodObject<{
|
|
|
21759
21761
|
file_description: string;
|
|
21760
21762
|
file_size: number;
|
|
21761
21763
|
file_metadata: Record<string, any>;
|
|
21764
|
+
user_id: string;
|
|
21762
21765
|
document_id: string;
|
|
21763
21766
|
}[];
|
|
21764
21767
|
document_cost?: number | undefined;
|
|
21765
21768
|
}, {
|
|
21766
21769
|
status: Status;
|
|
21767
21770
|
organisation_id: string;
|
|
21768
|
-
user_id: string;
|
|
21769
|
-
time_zone_id: string;
|
|
21770
21771
|
vehicle_id: string;
|
|
21772
|
+
time_zone_id: string;
|
|
21773
|
+
user_id: string;
|
|
21771
21774
|
vendor_id: string;
|
|
21772
21775
|
fleet_document_type_id: string;
|
|
21773
21776
|
document_validity_status: DocumentValidityStatus;
|
|
@@ -21786,9 +21789,9 @@ declare const FleetDocumentSchema: z.ZodObject<{
|
|
|
21786
21789
|
FleetDocumentFileSchema?: {
|
|
21787
21790
|
status: Status;
|
|
21788
21791
|
organisation_id: string;
|
|
21789
|
-
user_id: string;
|
|
21790
21792
|
usage_type: string;
|
|
21791
21793
|
file_type: FileType;
|
|
21794
|
+
user_id: string;
|
|
21792
21795
|
document_id: string;
|
|
21793
21796
|
file_url?: string | undefined;
|
|
21794
21797
|
file_key?: string | undefined;
|
|
@@ -21861,8 +21864,8 @@ declare const FleetDocumentQuerySchema: z.ZodObject<{
|
|
|
21861
21864
|
date_format_id: string;
|
|
21862
21865
|
time_zone_id: string;
|
|
21863
21866
|
organisation_ids: string[];
|
|
21864
|
-
user_ids: string[];
|
|
21865
21867
|
vehicle_ids: string[];
|
|
21868
|
+
user_ids: string[];
|
|
21866
21869
|
vendor_ids: string[];
|
|
21867
21870
|
fleet_document_type_ids: string[];
|
|
21868
21871
|
document_validity_status: DocumentValidityStatus[];
|
|
@@ -21891,8 +21894,8 @@ declare const FleetDocumentQuerySchema: z.ZodObject<{
|
|
|
21891
21894
|
}[] | undefined;
|
|
21892
21895
|
include_master_data?: YesNo | undefined;
|
|
21893
21896
|
organisation_ids?: string[] | undefined;
|
|
21894
|
-
user_ids?: string[] | undefined;
|
|
21895
21897
|
vehicle_ids?: string[] | undefined;
|
|
21898
|
+
user_ids?: string[] | undefined;
|
|
21896
21899
|
vendor_ids?: string[] | undefined;
|
|
21897
21900
|
fleet_document_type_ids?: string[] | undefined;
|
|
21898
21901
|
document_validity_status?: DocumentValidityStatus[] | undefined;
|
|
@@ -21955,7 +21958,6 @@ declare const FleetDocumentExpiryQuerySchema: z.ZodObject<{
|
|
|
21955
21958
|
organisation_ids: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
21956
21959
|
vehicle_ids: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
21957
21960
|
document_ids: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
21958
|
-
fleet_document_type_ids: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
21959
21961
|
expiry_type: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof ExpiryType>, "many">>>;
|
|
21960
21962
|
}, "strip", z.ZodTypeAny, {
|
|
21961
21963
|
status: Status[];
|
|
@@ -21981,7 +21983,6 @@ declare const FleetDocumentExpiryQuerySchema: z.ZodObject<{
|
|
|
21981
21983
|
time_zone_id: string;
|
|
21982
21984
|
organisation_ids: string[];
|
|
21983
21985
|
vehicle_ids: string[];
|
|
21984
|
-
fleet_document_type_ids: string[];
|
|
21985
21986
|
expiry_type: ExpiryType[];
|
|
21986
21987
|
document_ids: string[];
|
|
21987
21988
|
document_expiry_ids: string[];
|
|
@@ -22009,7 +22010,6 @@ declare const FleetDocumentExpiryQuerySchema: z.ZodObject<{
|
|
|
22009
22010
|
include_master_data?: YesNo | undefined;
|
|
22010
22011
|
organisation_ids?: string[] | undefined;
|
|
22011
22012
|
vehicle_ids?: string[] | undefined;
|
|
22012
|
-
fleet_document_type_ids?: string[] | undefined;
|
|
22013
22013
|
expiry_type?: ExpiryType[] | undefined;
|
|
22014
22014
|
document_ids?: string[] | undefined;
|
|
22015
22015
|
document_expiry_ids?: string[] | undefined;
|
|
@@ -22666,11 +22666,6 @@ declare const FASTagTransactionSchema: z.ZodObject<{
|
|
|
22666
22666
|
plaza_name: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
|
|
22667
22667
|
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
22668
22668
|
}, "strip", z.ZodTypeAny, {
|
|
22669
|
-
fasttag_details_id: string;
|
|
22670
|
-
status: Status;
|
|
22671
|
-
fasttag_bank_id: string;
|
|
22672
|
-
organisation_id: string;
|
|
22673
|
-
vehicle_id: string;
|
|
22674
22669
|
processing_date_time: string;
|
|
22675
22670
|
transaction_date_time: string;
|
|
22676
22671
|
transaction_id: string;
|
|
@@ -22680,14 +22675,19 @@ declare const FASTagTransactionSchema: z.ZodObject<{
|
|
|
22680
22675
|
lane_code: string;
|
|
22681
22676
|
plaza_code: string;
|
|
22682
22677
|
plaza_name: string;
|
|
22678
|
+
status: Status;
|
|
22679
|
+
fasttag_details_id: string;
|
|
22680
|
+
fasttag_bank_id: string;
|
|
22681
|
+
organisation_id: string;
|
|
22682
|
+
vehicle_id: string;
|
|
22683
22683
|
transaction_amount?: number | undefined;
|
|
22684
22684
|
}, {
|
|
22685
|
-
|
|
22685
|
+
transaction_id: string;
|
|
22686
22686
|
status: Status;
|
|
22687
|
+
fasttag_details_id: string;
|
|
22687
22688
|
fasttag_bank_id: string;
|
|
22688
22689
|
organisation_id: string;
|
|
22689
22690
|
vehicle_id: string;
|
|
22690
|
-
transaction_id: string;
|
|
22691
22691
|
processing_date_time?: string | undefined;
|
|
22692
22692
|
transaction_date_time?: string | undefined;
|
|
22693
22693
|
transaction_amount?: unknown;
|
|
@@ -22757,11 +22757,11 @@ declare const FASTagTransactionQuerySchema: z.ZodObject<{
|
|
|
22757
22757
|
include_master_data: YesNo;
|
|
22758
22758
|
date_format_id: string;
|
|
22759
22759
|
time_zone_id: string;
|
|
22760
|
+
fasttag_transaction_ids: string[];
|
|
22760
22761
|
fasttag_details_ids: string[];
|
|
22761
|
-
organisation_ids: string[];
|
|
22762
22762
|
fasttag_bank_ids: string[];
|
|
22763
|
+
organisation_ids: string[];
|
|
22763
22764
|
vehicle_ids: string[];
|
|
22764
|
-
fasttag_transaction_ids: string[];
|
|
22765
22765
|
}, {
|
|
22766
22766
|
date_format_id: string;
|
|
22767
22767
|
time_zone_id: string;
|
|
@@ -22784,11 +22784,11 @@ declare const FASTagTransactionQuerySchema: z.ZodObject<{
|
|
|
22784
22784
|
direction: OrderBy;
|
|
22785
22785
|
}[] | undefined;
|
|
22786
22786
|
include_master_data?: YesNo | undefined;
|
|
22787
|
+
fasttag_transaction_ids?: string[] | undefined;
|
|
22787
22788
|
fasttag_details_ids?: string[] | undefined;
|
|
22788
|
-
organisation_ids?: string[] | undefined;
|
|
22789
22789
|
fasttag_bank_ids?: string[] | undefined;
|
|
22790
|
+
organisation_ids?: string[] | undefined;
|
|
22790
22791
|
vehicle_ids?: string[] | undefined;
|
|
22791
|
-
fasttag_transaction_ids?: string[] | undefined;
|
|
22792
22792
|
}>;
|
|
22793
22793
|
type FASTagTransactionQueryDTO = z.infer<typeof FASTagTransactionQuerySchema>;
|
|
22794
22794
|
declare const toFASTagTransactionPayload: (row: FASTagTransaction) => FASTagTransactionDTO;
|
|
@@ -22951,14 +22951,14 @@ declare const FASTagDetailsSchema: z.ZodObject<{
|
|
|
22951
22951
|
api_key: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
|
|
22952
22952
|
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
22953
22953
|
}, "strip", z.ZodTypeAny, {
|
|
22954
|
-
customer_id: string;
|
|
22955
|
-
client_id: string;
|
|
22956
|
-
client_secret: string;
|
|
22957
|
-
api_key: string;
|
|
22958
22954
|
status: Status;
|
|
22959
22955
|
fasttag_bank_id: string;
|
|
22960
22956
|
organisation_id: string;
|
|
22961
22957
|
user_id: string;
|
|
22958
|
+
customer_id: string;
|
|
22959
|
+
client_id: string;
|
|
22960
|
+
client_secret: string;
|
|
22961
|
+
api_key: string;
|
|
22962
22962
|
}, {
|
|
22963
22963
|
status: Status;
|
|
22964
22964
|
fasttag_bank_id: string;
|
|
@@ -23028,9 +23028,9 @@ declare const FASTagDetailsQuerySchema: z.ZodObject<{
|
|
|
23028
23028
|
date_format_id: string;
|
|
23029
23029
|
time_zone_id: string;
|
|
23030
23030
|
fasttag_details_ids: string[];
|
|
23031
|
+
fasttag_bank_ids: string[];
|
|
23031
23032
|
organisation_ids: string[];
|
|
23032
23033
|
user_ids: string[];
|
|
23033
|
-
fasttag_bank_ids: string[];
|
|
23034
23034
|
}, {
|
|
23035
23035
|
date_format_id: string;
|
|
23036
23036
|
time_zone_id: string;
|
|
@@ -23054,9 +23054,9 @@ declare const FASTagDetailsQuerySchema: z.ZodObject<{
|
|
|
23054
23054
|
}[] | undefined;
|
|
23055
23055
|
include_master_data?: YesNo | undefined;
|
|
23056
23056
|
fasttag_details_ids?: string[] | undefined;
|
|
23057
|
+
fasttag_bank_ids?: string[] | undefined;
|
|
23057
23058
|
organisation_ids?: string[] | undefined;
|
|
23058
23059
|
user_ids?: string[] | undefined;
|
|
23059
|
-
fasttag_bank_ids?: string[] | undefined;
|
|
23060
23060
|
}>;
|
|
23061
23061
|
type FASTagDetailsQueryDTO = z.infer<typeof FASTagDetailsQuerySchema>;
|
|
23062
23062
|
declare const toFASTagDetailsPayload: (row: FASTagDetails) => FASTagDetailsDTO;
|
|
@@ -23102,6 +23102,9 @@ interface User extends Record<string, unknown> {
|
|
|
23102
23102
|
OrganisationBranch?: OrganisationBranch;
|
|
23103
23103
|
branch_name?: string;
|
|
23104
23104
|
branch_city?: string;
|
|
23105
|
+
assigned_workshop_id?: string;
|
|
23106
|
+
AssignedFleetWorkshop?: FleetWorkshop;
|
|
23107
|
+
workshop_name?: string;
|
|
23105
23108
|
user_role_id?: string;
|
|
23106
23109
|
MasterUserRole?: MasterUserRole;
|
|
23107
23110
|
user_role?: string;
|
|
@@ -23281,6 +23284,7 @@ interface UserLoginPush extends Record<string, unknown> {
|
|
|
23281
23284
|
declare const UserSchema: z.ZodObject<{
|
|
23282
23285
|
organisation_id: z.ZodEffects<z.ZodString, string, string>;
|
|
23283
23286
|
organisation_branch_id: z.ZodEffects<z.ZodString, string, string>;
|
|
23287
|
+
assigned_workshop_id: z.ZodEffects<z.ZodString, string, string>;
|
|
23284
23288
|
user_role_id: z.ZodEffects<z.ZodString, string, string>;
|
|
23285
23289
|
user_status_id: z.ZodEffects<z.ZodString, string, string>;
|
|
23286
23290
|
language_id: z.ZodEffects<z.ZodString, string, string>;
|
|
@@ -23307,14 +23311,14 @@ declare const UserSchema: z.ZodObject<{
|
|
|
23307
23311
|
}, "strip", z.ZodTypeAny, {
|
|
23308
23312
|
status: Status;
|
|
23309
23313
|
organisation_id: string;
|
|
23310
|
-
user_image_url: string;
|
|
23311
23314
|
date_format_id: string;
|
|
23312
23315
|
time_zone_id: string;
|
|
23316
|
+
vehicle_ids: string[];
|
|
23313
23317
|
user_role_id: string;
|
|
23314
23318
|
user_status_id: string;
|
|
23315
23319
|
language_id: string;
|
|
23316
23320
|
organisation_branch_id: string;
|
|
23317
|
-
|
|
23321
|
+
user_image_url: string;
|
|
23318
23322
|
mobile: string;
|
|
23319
23323
|
email: string;
|
|
23320
23324
|
first_name: string;
|
|
@@ -23330,6 +23334,7 @@ declare const UserSchema: z.ZodObject<{
|
|
|
23330
23334
|
show_vehicle_filters: YesNo;
|
|
23331
23335
|
show_temperature_filters: YesNo;
|
|
23332
23336
|
show_vehicle_info_columns: YesNo;
|
|
23337
|
+
assigned_workshop_id: string;
|
|
23333
23338
|
}, {
|
|
23334
23339
|
status: Status;
|
|
23335
23340
|
organisation_id: string;
|
|
@@ -23348,8 +23353,9 @@ declare const UserSchema: z.ZodObject<{
|
|
|
23348
23353
|
show_vehicle_filters: YesNo;
|
|
23349
23354
|
show_temperature_filters: YesNo;
|
|
23350
23355
|
show_vehicle_info_columns: YesNo;
|
|
23351
|
-
|
|
23356
|
+
assigned_workshop_id: string;
|
|
23352
23357
|
vehicle_ids?: string[] | undefined;
|
|
23358
|
+
user_image_url?: string | undefined;
|
|
23353
23359
|
mobile?: string | undefined;
|
|
23354
23360
|
last_name?: string | undefined;
|
|
23355
23361
|
password?: string | undefined;
|
|
@@ -23392,6 +23398,7 @@ declare const UserQuerySchema: z.ZodObject<{
|
|
|
23392
23398
|
user_ids: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
23393
23399
|
organisation_ids: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
23394
23400
|
organisation_branch_ids: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
23401
|
+
assigned_workshop_ids: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
23395
23402
|
user_role_ids: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
23396
23403
|
user_status_ids: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
23397
23404
|
language_ids: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
@@ -23424,16 +23431,17 @@ declare const UserQuerySchema: z.ZodObject<{
|
|
|
23424
23431
|
date_format_id: string;
|
|
23425
23432
|
time_zone_id: string;
|
|
23426
23433
|
organisation_ids: string[];
|
|
23427
|
-
user_ids: string[];
|
|
23428
23434
|
user_role_ids: string[];
|
|
23429
23435
|
user_status_ids: string[];
|
|
23430
23436
|
language_ids: string[];
|
|
23431
23437
|
date_format_ids: string[];
|
|
23432
23438
|
organisation_branch_ids: string[];
|
|
23439
|
+
user_ids: string[];
|
|
23433
23440
|
all_vehicles: YesNo[];
|
|
23434
23441
|
can_login: YesNo[];
|
|
23435
23442
|
bookmark_page_ids: string[];
|
|
23436
23443
|
is_root_user: YesNo[];
|
|
23444
|
+
assigned_workshop_ids: string[];
|
|
23437
23445
|
time_zone_ids: string[];
|
|
23438
23446
|
}, {
|
|
23439
23447
|
date_format_id: string;
|
|
@@ -23458,16 +23466,17 @@ declare const UserQuerySchema: z.ZodObject<{
|
|
|
23458
23466
|
}[] | undefined;
|
|
23459
23467
|
include_master_data?: YesNo | undefined;
|
|
23460
23468
|
organisation_ids?: string[] | undefined;
|
|
23461
|
-
user_ids?: string[] | undefined;
|
|
23462
23469
|
user_role_ids?: string[] | undefined;
|
|
23463
23470
|
user_status_ids?: string[] | undefined;
|
|
23464
23471
|
language_ids?: string[] | undefined;
|
|
23465
23472
|
date_format_ids?: string[] | undefined;
|
|
23466
23473
|
organisation_branch_ids?: string[] | undefined;
|
|
23474
|
+
user_ids?: string[] | undefined;
|
|
23467
23475
|
all_vehicles?: YesNo[] | undefined;
|
|
23468
23476
|
can_login?: YesNo[] | undefined;
|
|
23469
23477
|
bookmark_page_ids?: string[] | undefined;
|
|
23470
23478
|
is_root_user?: YesNo[] | undefined;
|
|
23479
|
+
assigned_workshop_ids?: string[] | undefined;
|
|
23471
23480
|
time_zone_ids?: string[] | undefined;
|
|
23472
23481
|
}>;
|
|
23473
23482
|
type UserQueryDTO = z.infer<typeof UserQuerySchema>;
|
|
@@ -26538,11 +26547,11 @@ declare const EWayBillDetailsSchema: z.ZodObject<{
|
|
|
26538
26547
|
description: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
|
|
26539
26548
|
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
26540
26549
|
}, "strip", z.ZodTypeAny, {
|
|
26541
|
-
api_key: string;
|
|
26542
26550
|
status: Status;
|
|
26543
26551
|
organisation_id: string;
|
|
26544
|
-
user_id: string;
|
|
26545
26552
|
description: string;
|
|
26553
|
+
user_id: string;
|
|
26554
|
+
api_key: string;
|
|
26546
26555
|
e_way_bill_provider_id: string;
|
|
26547
26556
|
api_client_id: string;
|
|
26548
26557
|
api_secret: string;
|
|
@@ -26551,8 +26560,8 @@ declare const EWayBillDetailsSchema: z.ZodObject<{
|
|
|
26551
26560
|
organisation_id: string;
|
|
26552
26561
|
user_id: string;
|
|
26553
26562
|
e_way_bill_provider_id: string;
|
|
26554
|
-
api_key?: string | undefined;
|
|
26555
26563
|
description?: string | undefined;
|
|
26564
|
+
api_key?: string | undefined;
|
|
26556
26565
|
api_client_id?: string | undefined;
|
|
26557
26566
|
api_secret?: string | undefined;
|
|
26558
26567
|
}>;
|