vms-nest-api-document 69.0.0 → 71.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-Bs8uMtLF.d.ts → eway_bill_details-BBq02WTk.d.ts} +282 -286
- 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 +35 -35
- package/dist/services/fleet/bus_mangement/day_run_special_schedule_api.d.ts +35 -35
- 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/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/vehicle/childs/shared_vehicles.d.ts +1 -1
- package/dist/services/main/vehicle/childs/vehicle_odometer_history.d.ts +1 -1
- package/dist/services/main/vehicle/master_vehicle_service.d.ts +1 -1
- package/dist/services/master/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_expense_type_service.js +3 -3
- 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_part_service.js +4 -21
- 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
|
@@ -22,9 +22,9 @@ declare const MasterMainIndustrySchema: z.ZodObject<{
|
|
|
22
22
|
description: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
|
|
23
23
|
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
24
24
|
}, "strip", z.ZodTypeAny, {
|
|
25
|
-
description: string;
|
|
26
25
|
status: Status;
|
|
27
26
|
industry_name: string;
|
|
27
|
+
description: string;
|
|
28
28
|
}, {
|
|
29
29
|
status: Status;
|
|
30
30
|
industry_name: string;
|
|
@@ -270,9 +270,9 @@ declare const MasterUserRoleSchema: z.ZodObject<{
|
|
|
270
270
|
description: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
|
|
271
271
|
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
272
272
|
}, "strip", z.ZodTypeAny, {
|
|
273
|
-
description: string;
|
|
274
273
|
status: Status;
|
|
275
274
|
organisation_id: string;
|
|
275
|
+
description: string;
|
|
276
276
|
user_role: string;
|
|
277
277
|
}, {
|
|
278
278
|
status: Status;
|
|
@@ -396,9 +396,9 @@ declare const MasterUserStatusSchema: z.ZodObject<{
|
|
|
396
396
|
description: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
|
|
397
397
|
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
398
398
|
}, "strip", z.ZodTypeAny, {
|
|
399
|
-
description: string;
|
|
400
399
|
status: Status;
|
|
401
400
|
organisation_id: string;
|
|
401
|
+
description: string;
|
|
402
402
|
user_status: string;
|
|
403
403
|
}, {
|
|
404
404
|
status: Status;
|
|
@@ -772,9 +772,9 @@ declare const OrganisationSubCompanySchema: z.ZodObject<{
|
|
|
772
772
|
description: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
|
|
773
773
|
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
774
774
|
}, "strip", z.ZodTypeAny, {
|
|
775
|
-
description: string;
|
|
776
775
|
status: Status;
|
|
777
776
|
organisation_id: string;
|
|
777
|
+
description: string;
|
|
778
778
|
logo_key: string;
|
|
779
779
|
logo_url: string;
|
|
780
780
|
logo_name: string;
|
|
@@ -930,9 +930,9 @@ declare const OrganisationBranchSchema: z.ZodObject<{
|
|
|
930
930
|
description: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
|
|
931
931
|
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
932
932
|
}, "strip", z.ZodTypeAny, {
|
|
933
|
-
description: string;
|
|
934
933
|
status: Status;
|
|
935
934
|
organisation_id: string;
|
|
935
|
+
description: string;
|
|
936
936
|
branch_name: string;
|
|
937
937
|
branch_city: string;
|
|
938
938
|
branch_address: string;
|
|
@@ -1065,9 +1065,9 @@ declare const OrganisationColorSchema: z.ZodObject<{
|
|
|
1065
1065
|
description: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
|
|
1066
1066
|
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
1067
1067
|
}, "strip", z.ZodTypeAny, {
|
|
1068
|
-
description: string;
|
|
1069
1068
|
status: Status;
|
|
1070
1069
|
organisation_id: string;
|
|
1070
|
+
description: string;
|
|
1071
1071
|
color_name: string;
|
|
1072
1072
|
color_code: string;
|
|
1073
1073
|
}, {
|
|
@@ -1196,9 +1196,9 @@ declare const OrganisationTagSchema: z.ZodObject<{
|
|
|
1196
1196
|
description: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
|
|
1197
1197
|
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
1198
1198
|
}, "strip", z.ZodTypeAny, {
|
|
1199
|
-
description: string;
|
|
1200
1199
|
status: Status;
|
|
1201
1200
|
organisation_id: string;
|
|
1201
|
+
description: string;
|
|
1202
1202
|
tag_name: string;
|
|
1203
1203
|
}, {
|
|
1204
1204
|
status: Status;
|
|
@@ -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;
|
|
@@ -1719,9 +1719,9 @@ declare const MasterExpenseNameSchema: z.ZodObject<{
|
|
|
1719
1719
|
description: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
|
|
1720
1720
|
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
1721
1721
|
}, "strip", z.ZodTypeAny, {
|
|
1722
|
-
description: string;
|
|
1723
1722
|
status: Status;
|
|
1724
1723
|
organisation_id: string;
|
|
1724
|
+
description: string;
|
|
1725
1725
|
expense_name: string;
|
|
1726
1726
|
expense_category: ExpenseCategory;
|
|
1727
1727
|
}, {
|
|
@@ -1849,9 +1849,9 @@ declare const MasterFleetIncidentTypeSchema: z.ZodObject<{
|
|
|
1849
1849
|
description: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
|
|
1850
1850
|
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
1851
1851
|
}, "strip", z.ZodTypeAny, {
|
|
1852
|
-
description: string;
|
|
1853
1852
|
status: Status;
|
|
1854
1853
|
organisation_id: string;
|
|
1854
|
+
description: string;
|
|
1855
1855
|
fleet_incident_type: string;
|
|
1856
1856
|
}, {
|
|
1857
1857
|
status: Status;
|
|
@@ -1974,9 +1974,9 @@ declare const MasterFleetIncidentStatusSchema: z.ZodObject<{
|
|
|
1974
1974
|
description: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
|
|
1975
1975
|
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
1976
1976
|
}, "strip", z.ZodTypeAny, {
|
|
1977
|
-
description: string;
|
|
1978
1977
|
status: Status;
|
|
1979
1978
|
organisation_id: string;
|
|
1979
|
+
description: string;
|
|
1980
1980
|
fleet_incident_status: string;
|
|
1981
1981
|
}, {
|
|
1982
1982
|
status: Status;
|
|
@@ -2099,9 +2099,9 @@ declare const MasterFleetIncidentSeveritySchema: z.ZodObject<{
|
|
|
2099
2099
|
description: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
|
|
2100
2100
|
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
2101
2101
|
}, "strip", z.ZodTypeAny, {
|
|
2102
|
-
description: string;
|
|
2103
2102
|
status: Status;
|
|
2104
2103
|
organisation_id: string;
|
|
2104
|
+
description: string;
|
|
2105
2105
|
fleet_incident_severity: string;
|
|
2106
2106
|
}, {
|
|
2107
2107
|
status: Status;
|
|
@@ -2224,9 +2224,9 @@ declare const MasterFleetInsuranceClaimStatusSchema: z.ZodObject<{
|
|
|
2224
2224
|
description: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
|
|
2225
2225
|
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
2226
2226
|
}, "strip", z.ZodTypeAny, {
|
|
2227
|
-
description: string;
|
|
2228
2227
|
status: Status;
|
|
2229
2228
|
organisation_id: string;
|
|
2229
|
+
description: string;
|
|
2230
2230
|
fleet_insurance_claim_status: string;
|
|
2231
2231
|
}, {
|
|
2232
2232
|
status: Status;
|
|
@@ -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;
|
|
@@ -3408,9 +3408,9 @@ declare const MasterFuelCompanySchema: z.ZodObject<{
|
|
|
3408
3408
|
description: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
|
|
3409
3409
|
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
3410
3410
|
}, "strip", z.ZodTypeAny, {
|
|
3411
|
-
description: string;
|
|
3412
3411
|
status: Status;
|
|
3413
3412
|
organisation_id: string;
|
|
3413
|
+
description: string;
|
|
3414
3414
|
country_id: string;
|
|
3415
3415
|
logo_key: string;
|
|
3416
3416
|
logo_url: string;
|
|
@@ -3854,9 +3854,9 @@ declare const MasterVendorTypeSchema: z.ZodObject<{
|
|
|
3854
3854
|
description: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
|
|
3855
3855
|
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
3856
3856
|
}, "strip", z.ZodTypeAny, {
|
|
3857
|
-
description: string;
|
|
3858
3857
|
status: Status;
|
|
3859
3858
|
organisation_id: string;
|
|
3859
|
+
description: string;
|
|
3860
3860
|
vendor_type: string;
|
|
3861
3861
|
}, {
|
|
3862
3862
|
status: Status;
|
|
@@ -3975,9 +3975,9 @@ declare const MasterVendorTagSchema: z.ZodObject<{
|
|
|
3975
3975
|
description: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
|
|
3976
3976
|
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
3977
3977
|
}, "strip", z.ZodTypeAny, {
|
|
3978
|
-
description: string;
|
|
3979
3978
|
status: Status;
|
|
3980
3979
|
organisation_id: string;
|
|
3980
|
+
description: string;
|
|
3981
3981
|
vendor_tag: string;
|
|
3982
3982
|
}, {
|
|
3983
3983
|
status: Status;
|
|
@@ -4096,9 +4096,9 @@ declare const MasterVendorDocumentTypeSchema: z.ZodObject<{
|
|
|
4096
4096
|
description: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
|
|
4097
4097
|
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
4098
4098
|
}, "strip", z.ZodTypeAny, {
|
|
4099
|
-
description: string;
|
|
4100
4099
|
status: Status;
|
|
4101
4100
|
organisation_id: string;
|
|
4101
|
+
description: string;
|
|
4102
4102
|
document_type: string;
|
|
4103
4103
|
}, {
|
|
4104
4104
|
status: Status;
|
|
@@ -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[];
|
|
@@ -4886,12 +4886,12 @@ declare const FleetVendorBankAccountSchema: z.ZodObject<{
|
|
|
4886
4886
|
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
4887
4887
|
}, "strip", z.ZodTypeAny, {
|
|
4888
4888
|
status: Status;
|
|
4889
|
+
bank_name: string;
|
|
4889
4890
|
organisation_id: string;
|
|
4890
|
-
user_id: string;
|
|
4891
4891
|
branch_name: string;
|
|
4892
|
+
user_id: string;
|
|
4892
4893
|
notes: string;
|
|
4893
4894
|
vendor_id: string;
|
|
4894
|
-
bank_name: string;
|
|
4895
4895
|
account_holder_name: string;
|
|
4896
4896
|
account_number: string;
|
|
4897
4897
|
account_type: BankAccountType;
|
|
@@ -4908,9 +4908,9 @@ declare const FleetVendorBankAccountSchema: z.ZodObject<{
|
|
|
4908
4908
|
account_number: string;
|
|
4909
4909
|
account_type: BankAccountType;
|
|
4910
4910
|
is_primary: YesNo;
|
|
4911
|
+
bank_name?: string | undefined;
|
|
4911
4912
|
branch_name?: string | undefined;
|
|
4912
4913
|
notes?: string | undefined;
|
|
4913
|
-
bank_name?: string | undefined;
|
|
4914
4914
|
account_holder_name?: string | undefined;
|
|
4915
4915
|
ifsc_code?: string | undefined;
|
|
4916
4916
|
swift_code?: string | undefined;
|
|
@@ -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;
|
|
@@ -5884,9 +5884,9 @@ declare const MasterFleetServiceTaskSchema: z.ZodObject<{
|
|
|
5884
5884
|
description: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
|
|
5885
5885
|
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
5886
5886
|
}, "strip", z.ZodTypeAny, {
|
|
5887
|
-
description: string;
|
|
5888
5887
|
status: Status;
|
|
5889
5888
|
organisation_id: string;
|
|
5889
|
+
description: string;
|
|
5890
5890
|
fleet_service_task: string;
|
|
5891
5891
|
}, {
|
|
5892
5892
|
status: Status;
|
|
@@ -5988,9 +5988,8 @@ declare const getMasterFleetServiceTaskCache: (organisation_id: string) => Promi
|
|
|
5988
5988
|
|
|
5989
5989
|
interface MasterFleetServicePart extends Record<string, unknown> {
|
|
5990
5990
|
fleet_service_part_id: string;
|
|
5991
|
-
|
|
5991
|
+
fleet_service_part?: string;
|
|
5992
5992
|
description?: string;
|
|
5993
|
-
part_amount?: number;
|
|
5994
5993
|
status: Status;
|
|
5995
5994
|
added_date_time: string;
|
|
5996
5995
|
modified_date_time: string;
|
|
@@ -6006,22 +6005,19 @@ interface MasterFleetServicePart extends Record<string, unknown> {
|
|
|
6006
6005
|
}
|
|
6007
6006
|
declare const MasterFleetServicePartSchema: z.ZodObject<{
|
|
6008
6007
|
organisation_id: z.ZodEffects<z.ZodString, string, string>;
|
|
6009
|
-
|
|
6008
|
+
fleet_service_part: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
|
|
6010
6009
|
description: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
|
|
6011
|
-
part_amount: z.ZodOptional<z.ZodEffects<z.ZodDefault<z.ZodNumber>, number, unknown>>;
|
|
6012
6010
|
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
6013
6011
|
}, "strip", z.ZodTypeAny, {
|
|
6014
|
-
description: string;
|
|
6015
6012
|
status: Status;
|
|
6016
6013
|
organisation_id: string;
|
|
6017
|
-
|
|
6018
|
-
|
|
6014
|
+
description: string;
|
|
6015
|
+
fleet_service_part: string;
|
|
6019
6016
|
}, {
|
|
6020
6017
|
status: Status;
|
|
6021
6018
|
organisation_id: string;
|
|
6022
6019
|
description?: string | undefined;
|
|
6023
|
-
|
|
6024
|
-
part_amount?: unknown;
|
|
6020
|
+
fleet_service_part?: string | undefined;
|
|
6025
6021
|
}>;
|
|
6026
6022
|
type MasterFleetServicePartDTO = z.infer<typeof MasterFleetServicePartSchema>;
|
|
6027
6023
|
declare const MasterFleetServicePartQuerySchema: z.ZodObject<{
|
|
@@ -6217,7 +6213,7 @@ interface FleetServiceTask extends Record<string, unknown> {
|
|
|
6217
6213
|
fleet_service_task?: string;
|
|
6218
6214
|
fleet_service_part_id?: string;
|
|
6219
6215
|
MasterFleetServicePart?: MasterFleetServicePart;
|
|
6220
|
-
|
|
6216
|
+
fleet_service_part?: string;
|
|
6221
6217
|
FleetServiceReminder?: FleetServiceReminder[];
|
|
6222
6218
|
_count?: {
|
|
6223
6219
|
FleetServiceReminder?: number;
|
|
@@ -6282,7 +6278,6 @@ declare const FleetServiceFileSchema: z.ZodObject<{
|
|
|
6282
6278
|
}, "strip", z.ZodTypeAny, {
|
|
6283
6279
|
status: Status;
|
|
6284
6280
|
organisation_id: string;
|
|
6285
|
-
user_id: string;
|
|
6286
6281
|
usage_type: string;
|
|
6287
6282
|
file_type: FileType;
|
|
6288
6283
|
file_url: string;
|
|
@@ -6291,13 +6286,14 @@ declare const FleetServiceFileSchema: z.ZodObject<{
|
|
|
6291
6286
|
file_description: string;
|
|
6292
6287
|
file_size: number;
|
|
6293
6288
|
file_metadata: Record<string, any>;
|
|
6289
|
+
user_id: string;
|
|
6294
6290
|
service_id: string;
|
|
6295
6291
|
}, {
|
|
6296
6292
|
status: Status;
|
|
6297
6293
|
organisation_id: string;
|
|
6298
|
-
user_id: string;
|
|
6299
6294
|
usage_type: string;
|
|
6300
6295
|
file_type: FileType;
|
|
6296
|
+
user_id: string;
|
|
6301
6297
|
service_id: string;
|
|
6302
6298
|
file_url?: string | undefined;
|
|
6303
6299
|
file_key?: string | undefined;
|
|
@@ -6358,7 +6354,6 @@ declare const FleetServiceSchema: z.ZodObject<{
|
|
|
6358
6354
|
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
6359
6355
|
status: Status;
|
|
6360
6356
|
organisation_id: string;
|
|
6361
|
-
user_id: string;
|
|
6362
6357
|
usage_type: string;
|
|
6363
6358
|
file_type: FileType;
|
|
6364
6359
|
file_url: string;
|
|
@@ -6367,13 +6362,14 @@ declare const FleetServiceSchema: z.ZodObject<{
|
|
|
6367
6362
|
file_description: string;
|
|
6368
6363
|
file_size: number;
|
|
6369
6364
|
file_metadata: Record<string, any>;
|
|
6365
|
+
user_id: string;
|
|
6370
6366
|
service_id: string;
|
|
6371
6367
|
}, {
|
|
6372
6368
|
status: Status;
|
|
6373
6369
|
organisation_id: string;
|
|
6374
|
-
user_id: string;
|
|
6375
6370
|
usage_type: string;
|
|
6376
6371
|
file_type: FileType;
|
|
6372
|
+
user_id: string;
|
|
6377
6373
|
service_id: string;
|
|
6378
6374
|
file_url?: string | undefined;
|
|
6379
6375
|
file_key?: string | undefined;
|
|
@@ -6386,9 +6382,9 @@ declare const FleetServiceSchema: z.ZodObject<{
|
|
|
6386
6382
|
}, "strip", z.ZodTypeAny, {
|
|
6387
6383
|
status: Status;
|
|
6388
6384
|
organisation_id: string;
|
|
6389
|
-
user_id: string;
|
|
6390
|
-
time_zone_id: string;
|
|
6391
6385
|
vehicle_id: string;
|
|
6386
|
+
time_zone_id: string;
|
|
6387
|
+
user_id: string;
|
|
6392
6388
|
driver_id: string;
|
|
6393
6389
|
odometer_reading: number;
|
|
6394
6390
|
service_center_id: string;
|
|
@@ -6414,7 +6410,6 @@ declare const FleetServiceSchema: z.ZodObject<{
|
|
|
6414
6410
|
FleetServiceFileSchema: {
|
|
6415
6411
|
status: Status;
|
|
6416
6412
|
organisation_id: string;
|
|
6417
|
-
user_id: string;
|
|
6418
6413
|
usage_type: string;
|
|
6419
6414
|
file_type: FileType;
|
|
6420
6415
|
file_url: string;
|
|
@@ -6423,6 +6418,7 @@ declare const FleetServiceSchema: z.ZodObject<{
|
|
|
6423
6418
|
file_description: string;
|
|
6424
6419
|
file_size: number;
|
|
6425
6420
|
file_metadata: Record<string, any>;
|
|
6421
|
+
user_id: string;
|
|
6426
6422
|
service_id: string;
|
|
6427
6423
|
}[];
|
|
6428
6424
|
fuel?: number | undefined;
|
|
@@ -6435,9 +6431,9 @@ declare const FleetServiceSchema: z.ZodObject<{
|
|
|
6435
6431
|
}, {
|
|
6436
6432
|
status: Status;
|
|
6437
6433
|
organisation_id: string;
|
|
6438
|
-
user_id: string;
|
|
6439
|
-
time_zone_id: string;
|
|
6440
6434
|
vehicle_id: string;
|
|
6435
|
+
time_zone_id: string;
|
|
6436
|
+
user_id: string;
|
|
6441
6437
|
driver_id: string;
|
|
6442
6438
|
service_center_id: string;
|
|
6443
6439
|
vendor_id: string;
|
|
@@ -6470,9 +6466,9 @@ declare const FleetServiceSchema: z.ZodObject<{
|
|
|
6470
6466
|
FleetServiceFileSchema?: {
|
|
6471
6467
|
status: Status;
|
|
6472
6468
|
organisation_id: string;
|
|
6473
|
-
user_id: string;
|
|
6474
6469
|
usage_type: string;
|
|
6475
6470
|
file_type: FileType;
|
|
6471
|
+
user_id: string;
|
|
6476
6472
|
service_id: string;
|
|
6477
6473
|
file_url?: string | undefined;
|
|
6478
6474
|
file_key?: string | undefined;
|
|
@@ -6552,8 +6548,8 @@ declare const FleetServiceQuerySchema: z.ZodObject<{
|
|
|
6552
6548
|
date_format_id: string;
|
|
6553
6549
|
time_zone_id: string;
|
|
6554
6550
|
organisation_ids: string[];
|
|
6555
|
-
user_ids: string[];
|
|
6556
6551
|
vehicle_ids: string[];
|
|
6552
|
+
user_ids: string[];
|
|
6557
6553
|
driver_ids: string[];
|
|
6558
6554
|
from_date: string;
|
|
6559
6555
|
to_date: string;
|
|
@@ -6591,8 +6587,8 @@ declare const FleetServiceQuerySchema: z.ZodObject<{
|
|
|
6591
6587
|
}[] | undefined;
|
|
6592
6588
|
include_master_data?: YesNo | undefined;
|
|
6593
6589
|
organisation_ids?: string[] | undefined;
|
|
6594
|
-
user_ids?: string[] | undefined;
|
|
6595
6590
|
vehicle_ids?: string[] | undefined;
|
|
6591
|
+
user_ids?: string[] | undefined;
|
|
6596
6592
|
driver_ids?: string[] | undefined;
|
|
6597
6593
|
service_center_ids?: string[] | undefined;
|
|
6598
6594
|
vendor_ids?: string[] | undefined;
|
|
@@ -7204,7 +7200,6 @@ declare const FleetInspectionFileSchema: z.ZodObject<{
|
|
|
7204
7200
|
}, "strip", z.ZodTypeAny, {
|
|
7205
7201
|
status: Status;
|
|
7206
7202
|
organisation_id: string;
|
|
7207
|
-
user_id: string;
|
|
7208
7203
|
usage_type: string;
|
|
7209
7204
|
file_type: FileType;
|
|
7210
7205
|
file_url: string;
|
|
@@ -7213,13 +7208,14 @@ declare const FleetInspectionFileSchema: z.ZodObject<{
|
|
|
7213
7208
|
file_description: string;
|
|
7214
7209
|
file_size: number;
|
|
7215
7210
|
file_metadata: Record<string, any>;
|
|
7211
|
+
user_id: string;
|
|
7216
7212
|
inspection_id: string;
|
|
7217
7213
|
}, {
|
|
7218
7214
|
status: Status;
|
|
7219
7215
|
organisation_id: string;
|
|
7220
|
-
user_id: string;
|
|
7221
7216
|
usage_type: string;
|
|
7222
7217
|
file_type: FileType;
|
|
7218
|
+
user_id: string;
|
|
7223
7219
|
inspection_id: string;
|
|
7224
7220
|
file_url?: string | undefined;
|
|
7225
7221
|
file_key?: string | undefined;
|
|
@@ -7264,7 +7260,6 @@ declare const FleetInspectionSchema: z.ZodObject<{
|
|
|
7264
7260
|
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
7265
7261
|
status: Status;
|
|
7266
7262
|
organisation_id: string;
|
|
7267
|
-
user_id: string;
|
|
7268
7263
|
usage_type: string;
|
|
7269
7264
|
file_type: FileType;
|
|
7270
7265
|
file_url: string;
|
|
@@ -7273,13 +7268,14 @@ declare const FleetInspectionSchema: z.ZodObject<{
|
|
|
7273
7268
|
file_description: string;
|
|
7274
7269
|
file_size: number;
|
|
7275
7270
|
file_metadata: Record<string, any>;
|
|
7271
|
+
user_id: string;
|
|
7276
7272
|
inspection_id: string;
|
|
7277
7273
|
}, {
|
|
7278
7274
|
status: Status;
|
|
7279
7275
|
organisation_id: string;
|
|
7280
|
-
user_id: string;
|
|
7281
7276
|
usage_type: string;
|
|
7282
7277
|
file_type: FileType;
|
|
7278
|
+
user_id: string;
|
|
7283
7279
|
inspection_id: string;
|
|
7284
7280
|
file_url?: string | undefined;
|
|
7285
7281
|
file_key?: string | undefined;
|
|
@@ -7292,9 +7288,9 @@ declare const FleetInspectionSchema: z.ZodObject<{
|
|
|
7292
7288
|
}, "strip", z.ZodTypeAny, {
|
|
7293
7289
|
status: Status;
|
|
7294
7290
|
organisation_id: string;
|
|
7295
|
-
user_id: string;
|
|
7296
|
-
time_zone_id: string;
|
|
7297
7291
|
vehicle_id: string;
|
|
7292
|
+
time_zone_id: string;
|
|
7293
|
+
user_id: string;
|
|
7298
7294
|
driver_id: string;
|
|
7299
7295
|
odometer_reading: number;
|
|
7300
7296
|
google_location: string;
|
|
@@ -7309,7 +7305,6 @@ declare const FleetInspectionSchema: z.ZodObject<{
|
|
|
7309
7305
|
FleetInspectionFileSchema: {
|
|
7310
7306
|
status: Status;
|
|
7311
7307
|
organisation_id: string;
|
|
7312
|
-
user_id: string;
|
|
7313
7308
|
usage_type: string;
|
|
7314
7309
|
file_type: FileType;
|
|
7315
7310
|
file_url: string;
|
|
@@ -7318,6 +7313,7 @@ declare const FleetInspectionSchema: z.ZodObject<{
|
|
|
7318
7313
|
file_description: string;
|
|
7319
7314
|
file_size: number;
|
|
7320
7315
|
file_metadata: Record<string, any>;
|
|
7316
|
+
user_id: string;
|
|
7321
7317
|
inspection_id: string;
|
|
7322
7318
|
}[];
|
|
7323
7319
|
latitude?: number | undefined;
|
|
@@ -7325,9 +7321,9 @@ declare const FleetInspectionSchema: z.ZodObject<{
|
|
|
7325
7321
|
}, {
|
|
7326
7322
|
status: Status;
|
|
7327
7323
|
organisation_id: string;
|
|
7328
|
-
user_id: string;
|
|
7329
|
-
time_zone_id: string;
|
|
7330
7324
|
vehicle_id: string;
|
|
7325
|
+
time_zone_id: string;
|
|
7326
|
+
user_id: string;
|
|
7331
7327
|
driver_id: string;
|
|
7332
7328
|
service_id: string;
|
|
7333
7329
|
inspection_form_id: string;
|
|
@@ -7344,9 +7340,9 @@ declare const FleetInspectionSchema: z.ZodObject<{
|
|
|
7344
7340
|
FleetInspectionFileSchema?: {
|
|
7345
7341
|
status: Status;
|
|
7346
7342
|
organisation_id: string;
|
|
7347
|
-
user_id: string;
|
|
7348
7343
|
usage_type: string;
|
|
7349
7344
|
file_type: FileType;
|
|
7345
|
+
user_id: string;
|
|
7350
7346
|
inspection_id: string;
|
|
7351
7347
|
file_url?: string | undefined;
|
|
7352
7348
|
file_key?: string | undefined;
|
|
@@ -7423,8 +7419,8 @@ declare const FleetInspectionQuerySchema: z.ZodObject<{
|
|
|
7423
7419
|
date_format_id: string;
|
|
7424
7420
|
time_zone_id: string;
|
|
7425
7421
|
organisation_ids: string[];
|
|
7426
|
-
user_ids: string[];
|
|
7427
7422
|
vehicle_ids: string[];
|
|
7423
|
+
user_ids: string[];
|
|
7428
7424
|
driver_ids: string[];
|
|
7429
7425
|
from_date: string;
|
|
7430
7426
|
to_date: string;
|
|
@@ -7459,8 +7455,8 @@ declare const FleetInspectionQuerySchema: z.ZodObject<{
|
|
|
7459
7455
|
}[] | undefined;
|
|
7460
7456
|
include_master_data?: YesNo | undefined;
|
|
7461
7457
|
organisation_ids?: string[] | undefined;
|
|
7462
|
-
user_ids?: string[] | undefined;
|
|
7463
7458
|
vehicle_ids?: string[] | undefined;
|
|
7459
|
+
user_ids?: string[] | undefined;
|
|
7464
7460
|
driver_ids?: string[] | undefined;
|
|
7465
7461
|
service_ids?: string[] | undefined;
|
|
7466
7462
|
inspection_form_ids?: string[] | undefined;
|
|
@@ -7700,7 +7696,6 @@ declare const FleetIssueFileSchema: z.ZodObject<{
|
|
|
7700
7696
|
}, "strip", z.ZodTypeAny, {
|
|
7701
7697
|
status: Status;
|
|
7702
7698
|
organisation_id: string;
|
|
7703
|
-
user_id: string;
|
|
7704
7699
|
usage_type: string;
|
|
7705
7700
|
file_type: FileType;
|
|
7706
7701
|
file_url: string;
|
|
@@ -7709,13 +7704,14 @@ declare const FleetIssueFileSchema: z.ZodObject<{
|
|
|
7709
7704
|
file_description: string;
|
|
7710
7705
|
file_size: number;
|
|
7711
7706
|
file_metadata: Record<string, any>;
|
|
7707
|
+
user_id: string;
|
|
7712
7708
|
issue_id: string;
|
|
7713
7709
|
}, {
|
|
7714
7710
|
status: Status;
|
|
7715
7711
|
organisation_id: string;
|
|
7716
|
-
user_id: string;
|
|
7717
7712
|
usage_type: string;
|
|
7718
7713
|
file_type: FileType;
|
|
7714
|
+
user_id: string;
|
|
7719
7715
|
issue_id: string;
|
|
7720
7716
|
file_url?: string | undefined;
|
|
7721
7717
|
file_key?: string | undefined;
|
|
@@ -7762,7 +7758,6 @@ declare const FleetIssueSchema: z.ZodObject<{
|
|
|
7762
7758
|
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
7763
7759
|
status: Status;
|
|
7764
7760
|
organisation_id: string;
|
|
7765
|
-
user_id: string;
|
|
7766
7761
|
usage_type: string;
|
|
7767
7762
|
file_type: FileType;
|
|
7768
7763
|
file_url: string;
|
|
@@ -7771,13 +7766,14 @@ declare const FleetIssueSchema: z.ZodObject<{
|
|
|
7771
7766
|
file_description: string;
|
|
7772
7767
|
file_size: number;
|
|
7773
7768
|
file_metadata: Record<string, any>;
|
|
7769
|
+
user_id: string;
|
|
7774
7770
|
issue_id: string;
|
|
7775
7771
|
}, {
|
|
7776
7772
|
status: Status;
|
|
7777
7773
|
organisation_id: string;
|
|
7778
|
-
user_id: string;
|
|
7779
7774
|
usage_type: string;
|
|
7780
7775
|
file_type: FileType;
|
|
7776
|
+
user_id: string;
|
|
7781
7777
|
issue_id: string;
|
|
7782
7778
|
file_url?: string | undefined;
|
|
7783
7779
|
file_key?: string | undefined;
|
|
@@ -7791,9 +7787,9 @@ declare const FleetIssueSchema: z.ZodObject<{
|
|
|
7791
7787
|
}, "strip", z.ZodTypeAny, {
|
|
7792
7788
|
status: Status;
|
|
7793
7789
|
organisation_id: string;
|
|
7794
|
-
user_id: string;
|
|
7795
|
-
time_zone_id: string;
|
|
7796
7790
|
vehicle_id: string;
|
|
7791
|
+
time_zone_id: string;
|
|
7792
|
+
user_id: string;
|
|
7797
7793
|
driver_id: string;
|
|
7798
7794
|
incident_id: string;
|
|
7799
7795
|
odometer_reading: number;
|
|
@@ -7813,7 +7809,6 @@ declare const FleetIssueSchema: z.ZodObject<{
|
|
|
7813
7809
|
FleetIssueFileSchema: {
|
|
7814
7810
|
status: Status;
|
|
7815
7811
|
organisation_id: string;
|
|
7816
|
-
user_id: string;
|
|
7817
7812
|
usage_type: string;
|
|
7818
7813
|
file_type: FileType;
|
|
7819
7814
|
file_url: string;
|
|
@@ -7822,14 +7817,15 @@ declare const FleetIssueSchema: z.ZodObject<{
|
|
|
7822
7817
|
file_description: string;
|
|
7823
7818
|
file_size: number;
|
|
7824
7819
|
file_metadata: Record<string, any>;
|
|
7820
|
+
user_id: string;
|
|
7825
7821
|
issue_id: string;
|
|
7826
7822
|
}[];
|
|
7827
7823
|
}, {
|
|
7828
7824
|
status: Status;
|
|
7829
7825
|
organisation_id: string;
|
|
7830
|
-
user_id: string;
|
|
7831
|
-
time_zone_id: string;
|
|
7832
7826
|
vehicle_id: string;
|
|
7827
|
+
time_zone_id: string;
|
|
7828
|
+
user_id: string;
|
|
7833
7829
|
driver_id: string;
|
|
7834
7830
|
incident_id: string;
|
|
7835
7831
|
service_id: string;
|
|
@@ -7849,9 +7845,9 @@ declare const FleetIssueSchema: z.ZodObject<{
|
|
|
7849
7845
|
FleetIssueFileSchema?: {
|
|
7850
7846
|
status: Status;
|
|
7851
7847
|
organisation_id: string;
|
|
7852
|
-
user_id: string;
|
|
7853
7848
|
usage_type: string;
|
|
7854
7849
|
file_type: FileType;
|
|
7850
|
+
user_id: string;
|
|
7855
7851
|
issue_id: string;
|
|
7856
7852
|
file_url?: string | undefined;
|
|
7857
7853
|
file_key?: string | undefined;
|
|
@@ -7931,8 +7927,8 @@ declare const FleetIssueQuerySchema: z.ZodObject<{
|
|
|
7931
7927
|
date_format_id: string;
|
|
7932
7928
|
time_zone_id: string;
|
|
7933
7929
|
organisation_ids: string[];
|
|
7934
|
-
user_ids: string[];
|
|
7935
7930
|
vehicle_ids: string[];
|
|
7931
|
+
user_ids: string[];
|
|
7936
7932
|
driver_ids: string[];
|
|
7937
7933
|
from_date: string;
|
|
7938
7934
|
to_date: string;
|
|
@@ -7970,8 +7966,8 @@ declare const FleetIssueQuerySchema: z.ZodObject<{
|
|
|
7970
7966
|
}[] | undefined;
|
|
7971
7967
|
include_master_data?: YesNo | undefined;
|
|
7972
7968
|
organisation_ids?: string[] | undefined;
|
|
7973
|
-
user_ids?: string[] | undefined;
|
|
7974
7969
|
vehicle_ids?: string[] | undefined;
|
|
7970
|
+
user_ids?: string[] | undefined;
|
|
7975
7971
|
driver_ids?: string[] | undefined;
|
|
7976
7972
|
incident_ids?: string[] | undefined;
|
|
7977
7973
|
service_ids?: string[] | undefined;
|
|
@@ -8225,9 +8221,9 @@ declare const MasterFleetBreakdownTypeSchema: z.ZodObject<{
|
|
|
8225
8221
|
description: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
|
|
8226
8222
|
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
8227
8223
|
}, "strip", z.ZodTypeAny, {
|
|
8228
|
-
description: string;
|
|
8229
8224
|
status: Status;
|
|
8230
8225
|
organisation_id: string;
|
|
8226
|
+
description: string;
|
|
8231
8227
|
fleet_breakdown_type: string;
|
|
8232
8228
|
}, {
|
|
8233
8229
|
status: Status;
|
|
@@ -8445,7 +8441,6 @@ declare const FleetBreakdownFileSchema: z.ZodObject<{
|
|
|
8445
8441
|
}, "strip", z.ZodTypeAny, {
|
|
8446
8442
|
status: Status;
|
|
8447
8443
|
organisation_id: string;
|
|
8448
|
-
user_id: string;
|
|
8449
8444
|
usage_type: string;
|
|
8450
8445
|
file_type: FileType;
|
|
8451
8446
|
file_url: string;
|
|
@@ -8454,13 +8449,14 @@ declare const FleetBreakdownFileSchema: z.ZodObject<{
|
|
|
8454
8449
|
file_description: string;
|
|
8455
8450
|
file_size: number;
|
|
8456
8451
|
file_metadata: Record<string, any>;
|
|
8452
|
+
user_id: string;
|
|
8457
8453
|
breakdown_id: string;
|
|
8458
8454
|
}, {
|
|
8459
8455
|
status: Status;
|
|
8460
8456
|
organisation_id: string;
|
|
8461
|
-
user_id: string;
|
|
8462
8457
|
usage_type: string;
|
|
8463
8458
|
file_type: FileType;
|
|
8459
|
+
user_id: string;
|
|
8464
8460
|
breakdown_id: string;
|
|
8465
8461
|
file_url?: string | undefined;
|
|
8466
8462
|
file_key?: string | undefined;
|
|
@@ -8505,7 +8501,6 @@ declare const FleetBreakdownSchema: z.ZodObject<{
|
|
|
8505
8501
|
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
8506
8502
|
status: Status;
|
|
8507
8503
|
organisation_id: string;
|
|
8508
|
-
user_id: string;
|
|
8509
8504
|
usage_type: string;
|
|
8510
8505
|
file_type: FileType;
|
|
8511
8506
|
file_url: string;
|
|
@@ -8514,13 +8509,14 @@ declare const FleetBreakdownSchema: z.ZodObject<{
|
|
|
8514
8509
|
file_description: string;
|
|
8515
8510
|
file_size: number;
|
|
8516
8511
|
file_metadata: Record<string, any>;
|
|
8512
|
+
user_id: string;
|
|
8517
8513
|
breakdown_id: string;
|
|
8518
8514
|
}, {
|
|
8519
8515
|
status: Status;
|
|
8520
8516
|
organisation_id: string;
|
|
8521
|
-
user_id: string;
|
|
8522
8517
|
usage_type: string;
|
|
8523
8518
|
file_type: FileType;
|
|
8519
|
+
user_id: string;
|
|
8524
8520
|
breakdown_id: string;
|
|
8525
8521
|
file_url?: string | undefined;
|
|
8526
8522
|
file_key?: string | undefined;
|
|
@@ -8533,9 +8529,9 @@ declare const FleetBreakdownSchema: z.ZodObject<{
|
|
|
8533
8529
|
}, "strip", z.ZodTypeAny, {
|
|
8534
8530
|
status: Status;
|
|
8535
8531
|
organisation_id: string;
|
|
8536
|
-
user_id: string;
|
|
8537
|
-
time_zone_id: string;
|
|
8538
8532
|
vehicle_id: string;
|
|
8533
|
+
time_zone_id: string;
|
|
8534
|
+
user_id: string;
|
|
8539
8535
|
driver_id: string;
|
|
8540
8536
|
was_towed: YesNo;
|
|
8541
8537
|
is_vehicle_operational: YesNo;
|
|
@@ -8550,7 +8546,6 @@ declare const FleetBreakdownSchema: z.ZodObject<{
|
|
|
8550
8546
|
FleetBreakdownFileSchema: {
|
|
8551
8547
|
status: Status;
|
|
8552
8548
|
organisation_id: string;
|
|
8553
|
-
user_id: string;
|
|
8554
8549
|
usage_type: string;
|
|
8555
8550
|
file_type: FileType;
|
|
8556
8551
|
file_url: string;
|
|
@@ -8559,6 +8554,7 @@ declare const FleetBreakdownSchema: z.ZodObject<{
|
|
|
8559
8554
|
file_description: string;
|
|
8560
8555
|
file_size: number;
|
|
8561
8556
|
file_metadata: Record<string, any>;
|
|
8557
|
+
user_id: string;
|
|
8562
8558
|
breakdown_id: string;
|
|
8563
8559
|
}[];
|
|
8564
8560
|
latitude?: number | undefined;
|
|
@@ -8566,9 +8562,9 @@ declare const FleetBreakdownSchema: z.ZodObject<{
|
|
|
8566
8562
|
}, {
|
|
8567
8563
|
status: Status;
|
|
8568
8564
|
organisation_id: string;
|
|
8569
|
-
user_id: string;
|
|
8570
|
-
time_zone_id: string;
|
|
8571
8565
|
vehicle_id: string;
|
|
8566
|
+
time_zone_id: string;
|
|
8567
|
+
user_id: string;
|
|
8572
8568
|
driver_id: string;
|
|
8573
8569
|
was_towed: YesNo;
|
|
8574
8570
|
is_vehicle_operational: YesNo;
|
|
@@ -8585,9 +8581,9 @@ declare const FleetBreakdownSchema: z.ZodObject<{
|
|
|
8585
8581
|
FleetBreakdownFileSchema?: {
|
|
8586
8582
|
status: Status;
|
|
8587
8583
|
organisation_id: string;
|
|
8588
|
-
user_id: string;
|
|
8589
8584
|
usage_type: string;
|
|
8590
8585
|
file_type: FileType;
|
|
8586
|
+
user_id: string;
|
|
8591
8587
|
breakdown_id: string;
|
|
8592
8588
|
file_url?: string | undefined;
|
|
8593
8589
|
file_key?: string | undefined;
|
|
@@ -8664,8 +8660,8 @@ declare const FleetBreakdownQuerySchema: z.ZodObject<{
|
|
|
8664
8660
|
date_format_id: string;
|
|
8665
8661
|
time_zone_id: string;
|
|
8666
8662
|
organisation_ids: string[];
|
|
8667
|
-
user_ids: string[];
|
|
8668
8663
|
vehicle_ids: string[];
|
|
8664
|
+
user_ids: string[];
|
|
8669
8665
|
driver_ids: string[];
|
|
8670
8666
|
from_date: string;
|
|
8671
8667
|
to_date: string;
|
|
@@ -8700,8 +8696,8 @@ declare const FleetBreakdownQuerySchema: z.ZodObject<{
|
|
|
8700
8696
|
}[] | undefined;
|
|
8701
8697
|
include_master_data?: YesNo | undefined;
|
|
8702
8698
|
organisation_ids?: string[] | undefined;
|
|
8703
|
-
user_ids?: string[] | undefined;
|
|
8704
8699
|
vehicle_ids?: string[] | undefined;
|
|
8700
|
+
user_ids?: string[] | undefined;
|
|
8705
8701
|
driver_ids?: string[] | undefined;
|
|
8706
8702
|
was_towed?: YesNo[] | undefined;
|
|
8707
8703
|
is_vehicle_operational?: YesNo[] | undefined;
|
|
@@ -8813,8 +8809,8 @@ declare const FleetBreakdownCostSchema: z.ZodObject<{
|
|
|
8813
8809
|
}, "strip", z.ZodTypeAny, {
|
|
8814
8810
|
status: Status;
|
|
8815
8811
|
organisation_id: string;
|
|
8816
|
-
user_id: string;
|
|
8817
8812
|
time_zone_id: string;
|
|
8813
|
+
user_id: string;
|
|
8818
8814
|
expense_name_id: string;
|
|
8819
8815
|
breakdown_id: string;
|
|
8820
8816
|
breakdown_cost_date: string;
|
|
@@ -8823,8 +8819,8 @@ declare const FleetBreakdownCostSchema: z.ZodObject<{
|
|
|
8823
8819
|
}, {
|
|
8824
8820
|
status: Status;
|
|
8825
8821
|
organisation_id: string;
|
|
8826
|
-
user_id: string;
|
|
8827
8822
|
time_zone_id: string;
|
|
8823
|
+
user_id: string;
|
|
8828
8824
|
expense_name_id: string;
|
|
8829
8825
|
breakdown_id: string;
|
|
8830
8826
|
breakdown_cost_date?: string | undefined;
|
|
@@ -8964,9 +8960,9 @@ declare const MasterVehicleFuelTypeSchema: z.ZodObject<{
|
|
|
8964
8960
|
description: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
|
|
8965
8961
|
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
8966
8962
|
}, "strip", z.ZodTypeAny, {
|
|
8967
|
-
description: string;
|
|
8968
8963
|
status: Status;
|
|
8969
8964
|
organisation_id: string;
|
|
8965
|
+
description: string;
|
|
8970
8966
|
fuel_type: string;
|
|
8971
8967
|
}, {
|
|
8972
8968
|
status: Status;
|
|
@@ -9087,9 +9083,9 @@ declare const MasterVehicleFuelUnitSchema: z.ZodObject<{
|
|
|
9087
9083
|
description: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
|
|
9088
9084
|
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
9089
9085
|
}, "strip", z.ZodTypeAny, {
|
|
9090
|
-
description: string;
|
|
9091
9086
|
status: Status;
|
|
9092
9087
|
organisation_id: string;
|
|
9088
|
+
description: string;
|
|
9093
9089
|
fuel_unit: string;
|
|
9094
9090
|
}, {
|
|
9095
9091
|
status: Status;
|
|
@@ -9210,9 +9206,9 @@ declare const MasterFleetFuelRemovalReasonSchema: z.ZodObject<{
|
|
|
9210
9206
|
description: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
|
|
9211
9207
|
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
9212
9208
|
}, "strip", z.ZodTypeAny, {
|
|
9213
|
-
description: string;
|
|
9214
9209
|
status: Status;
|
|
9215
9210
|
organisation_id: string;
|
|
9211
|
+
description: string;
|
|
9216
9212
|
removal_reason: string;
|
|
9217
9213
|
}, {
|
|
9218
9214
|
status: Status;
|
|
@@ -9404,7 +9400,6 @@ declare const FleetFuelRemovalFileSchema: z.ZodObject<{
|
|
|
9404
9400
|
}, "strip", z.ZodTypeAny, {
|
|
9405
9401
|
status: Status;
|
|
9406
9402
|
organisation_id: string;
|
|
9407
|
-
user_id: string;
|
|
9408
9403
|
usage_type: string;
|
|
9409
9404
|
file_type: FileType;
|
|
9410
9405
|
file_url: string;
|
|
@@ -9413,13 +9408,14 @@ declare const FleetFuelRemovalFileSchema: z.ZodObject<{
|
|
|
9413
9408
|
file_description: string;
|
|
9414
9409
|
file_size: number;
|
|
9415
9410
|
file_metadata: Record<string, any>;
|
|
9411
|
+
user_id: string;
|
|
9416
9412
|
fleet_fuel_removal_id: string;
|
|
9417
9413
|
}, {
|
|
9418
9414
|
status: Status;
|
|
9419
9415
|
organisation_id: string;
|
|
9420
|
-
user_id: string;
|
|
9421
9416
|
usage_type: string;
|
|
9422
9417
|
file_type: FileType;
|
|
9418
|
+
user_id: string;
|
|
9423
9419
|
fleet_fuel_removal_id: string;
|
|
9424
9420
|
file_url?: string | undefined;
|
|
9425
9421
|
file_key?: string | undefined;
|
|
@@ -9474,7 +9470,6 @@ declare const FleetFuelRemovalSchema: z.ZodObject<{
|
|
|
9474
9470
|
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
9475
9471
|
status: Status;
|
|
9476
9472
|
organisation_id: string;
|
|
9477
|
-
user_id: string;
|
|
9478
9473
|
usage_type: string;
|
|
9479
9474
|
file_type: FileType;
|
|
9480
9475
|
file_url: string;
|
|
@@ -9483,13 +9478,14 @@ declare const FleetFuelRemovalSchema: z.ZodObject<{
|
|
|
9483
9478
|
file_description: string;
|
|
9484
9479
|
file_size: number;
|
|
9485
9480
|
file_metadata: Record<string, any>;
|
|
9481
|
+
user_id: string;
|
|
9486
9482
|
fleet_fuel_removal_id: string;
|
|
9487
9483
|
}, {
|
|
9488
9484
|
status: Status;
|
|
9489
9485
|
organisation_id: string;
|
|
9490
|
-
user_id: string;
|
|
9491
9486
|
usage_type: string;
|
|
9492
9487
|
file_type: FileType;
|
|
9488
|
+
user_id: string;
|
|
9493
9489
|
fleet_fuel_removal_id: string;
|
|
9494
9490
|
file_url?: string | undefined;
|
|
9495
9491
|
file_key?: string | undefined;
|
|
@@ -9501,9 +9497,9 @@ declare const FleetFuelRemovalSchema: z.ZodObject<{
|
|
|
9501
9497
|
}, "strip", z.ZodTypeAny, {
|
|
9502
9498
|
status: Status;
|
|
9503
9499
|
organisation_id: string;
|
|
9504
|
-
user_id: string;
|
|
9505
|
-
time_zone_id: string;
|
|
9506
9500
|
vehicle_id: string;
|
|
9501
|
+
time_zone_id: string;
|
|
9502
|
+
user_id: string;
|
|
9507
9503
|
driver_id: string;
|
|
9508
9504
|
odometer_reading: number;
|
|
9509
9505
|
google_location: string;
|
|
@@ -9520,7 +9516,6 @@ declare const FleetFuelRemovalSchema: z.ZodObject<{
|
|
|
9520
9516
|
FleetFuelRemovalFileSchema: {
|
|
9521
9517
|
status: Status;
|
|
9522
9518
|
organisation_id: string;
|
|
9523
|
-
user_id: string;
|
|
9524
9519
|
usage_type: string;
|
|
9525
9520
|
file_type: FileType;
|
|
9526
9521
|
file_url: string;
|
|
@@ -9529,6 +9524,7 @@ declare const FleetFuelRemovalSchema: z.ZodObject<{
|
|
|
9529
9524
|
file_description: string;
|
|
9530
9525
|
file_size: number;
|
|
9531
9526
|
file_metadata: Record<string, any>;
|
|
9527
|
+
user_id: string;
|
|
9532
9528
|
fleet_fuel_removal_id: string;
|
|
9533
9529
|
}[];
|
|
9534
9530
|
latitude?: number | undefined;
|
|
@@ -9543,9 +9539,9 @@ declare const FleetFuelRemovalSchema: z.ZodObject<{
|
|
|
9543
9539
|
}, {
|
|
9544
9540
|
status: Status;
|
|
9545
9541
|
organisation_id: string;
|
|
9546
|
-
user_id: string;
|
|
9547
|
-
time_zone_id: string;
|
|
9548
9542
|
vehicle_id: string;
|
|
9543
|
+
time_zone_id: string;
|
|
9544
|
+
user_id: string;
|
|
9549
9545
|
driver_id: string;
|
|
9550
9546
|
vehicle_fuel_type_id: string;
|
|
9551
9547
|
vehicle_fuel_unit_id: string;
|
|
@@ -9571,9 +9567,9 @@ declare const FleetFuelRemovalSchema: z.ZodObject<{
|
|
|
9571
9567
|
FleetFuelRemovalFileSchema?: {
|
|
9572
9568
|
status: Status;
|
|
9573
9569
|
organisation_id: string;
|
|
9574
|
-
user_id: string;
|
|
9575
9570
|
usage_type: string;
|
|
9576
9571
|
file_type: FileType;
|
|
9572
|
+
user_id: string;
|
|
9577
9573
|
fleet_fuel_removal_id: string;
|
|
9578
9574
|
file_url?: string | undefined;
|
|
9579
9575
|
file_key?: string | undefined;
|
|
@@ -9651,8 +9647,8 @@ declare const FleetFuelRemovalQuerySchema: z.ZodObject<{
|
|
|
9651
9647
|
date_format_id: string;
|
|
9652
9648
|
time_zone_id: string;
|
|
9653
9649
|
organisation_ids: string[];
|
|
9654
|
-
user_ids: string[];
|
|
9655
9650
|
vehicle_ids: string[];
|
|
9651
|
+
user_ids: string[];
|
|
9656
9652
|
driver_ids: string[];
|
|
9657
9653
|
from_date: string;
|
|
9658
9654
|
to_date: string;
|
|
@@ -9688,8 +9684,8 @@ declare const FleetFuelRemovalQuerySchema: z.ZodObject<{
|
|
|
9688
9684
|
}[] | undefined;
|
|
9689
9685
|
include_master_data?: YesNo | undefined;
|
|
9690
9686
|
organisation_ids?: string[] | undefined;
|
|
9691
|
-
user_ids?: string[] | undefined;
|
|
9692
9687
|
vehicle_ids?: string[] | undefined;
|
|
9688
|
+
user_ids?: string[] | undefined;
|
|
9693
9689
|
driver_ids?: string[] | undefined;
|
|
9694
9690
|
fleet_fuel_removal_reason_ids?: string[] | undefined;
|
|
9695
9691
|
admin_verify_status?: GPSFuelApproveStatus[] | undefined;
|
|
@@ -9733,9 +9729,9 @@ declare const MasterClassSchema: z.ZodObject<{
|
|
|
9733
9729
|
description: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
|
|
9734
9730
|
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
9735
9731
|
}, "strip", z.ZodTypeAny, {
|
|
9736
|
-
description: string;
|
|
9737
9732
|
status: Status;
|
|
9738
9733
|
organisation_id: string;
|
|
9734
|
+
description: string;
|
|
9739
9735
|
class_name: string;
|
|
9740
9736
|
}, {
|
|
9741
9737
|
status: Status;
|
|
@@ -9859,9 +9855,9 @@ declare const MasterProgramSchema: z.ZodObject<{
|
|
|
9859
9855
|
description: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
|
|
9860
9856
|
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
9861
9857
|
}, "strip", z.ZodTypeAny, {
|
|
9862
|
-
description: string;
|
|
9863
9858
|
status: Status;
|
|
9864
9859
|
organisation_id: string;
|
|
9860
|
+
description: string;
|
|
9865
9861
|
program_name: string;
|
|
9866
9862
|
}, {
|
|
9867
9863
|
status: Status;
|
|
@@ -9985,9 +9981,9 @@ declare const MasterSectionSchema: z.ZodObject<{
|
|
|
9985
9981
|
description: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
|
|
9986
9982
|
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
9987
9983
|
}, "strip", z.ZodTypeAny, {
|
|
9988
|
-
description: string;
|
|
9989
9984
|
status: Status;
|
|
9990
9985
|
organisation_id: string;
|
|
9986
|
+
description: string;
|
|
9991
9987
|
section_name: string;
|
|
9992
9988
|
}, {
|
|
9993
9989
|
status: Status;
|
|
@@ -10111,9 +10107,9 @@ declare const MasterSemesterSchema: z.ZodObject<{
|
|
|
10111
10107
|
description: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
|
|
10112
10108
|
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
10113
10109
|
}, "strip", z.ZodTypeAny, {
|
|
10114
|
-
description: string;
|
|
10115
10110
|
status: Status;
|
|
10116
10111
|
organisation_id: string;
|
|
10112
|
+
description: string;
|
|
10117
10113
|
semester_name: string;
|
|
10118
10114
|
}, {
|
|
10119
10115
|
status: Status;
|
|
@@ -10237,9 +10233,9 @@ declare const MasterStreamSchema: z.ZodObject<{
|
|
|
10237
10233
|
description: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
|
|
10238
10234
|
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
10239
10235
|
}, "strip", z.ZodTypeAny, {
|
|
10240
|
-
description: string;
|
|
10241
10236
|
status: Status;
|
|
10242
10237
|
organisation_id: string;
|
|
10238
|
+
description: string;
|
|
10243
10239
|
stream_name: string;
|
|
10244
10240
|
}, {
|
|
10245
10241
|
status: Status;
|
|
@@ -10363,9 +10359,9 @@ declare const MasterYearSchema: z.ZodObject<{
|
|
|
10363
10359
|
description: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
|
|
10364
10360
|
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
10365
10361
|
}, "strip", z.ZodTypeAny, {
|
|
10366
|
-
description: string;
|
|
10367
10362
|
status: Status;
|
|
10368
10363
|
organisation_id: string;
|
|
10364
|
+
description: string;
|
|
10369
10365
|
year_name: string;
|
|
10370
10366
|
}, {
|
|
10371
10367
|
status: Status;
|
|
@@ -10489,9 +10485,9 @@ declare const MasterRelationshipSchema: z.ZodObject<{
|
|
|
10489
10485
|
description: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
|
|
10490
10486
|
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
10491
10487
|
}, "strip", z.ZodTypeAny, {
|
|
10492
|
-
description: string;
|
|
10493
10488
|
status: Status;
|
|
10494
10489
|
organisation_id: string;
|
|
10490
|
+
description: string;
|
|
10495
10491
|
relationship_name: string;
|
|
10496
10492
|
}, {
|
|
10497
10493
|
status: Status;
|
|
@@ -11035,9 +11031,9 @@ declare const MasterDailyScheduleSchema: z.ZodObject<{
|
|
|
11035
11031
|
}, "strip", z.ZodTypeAny, {
|
|
11036
11032
|
status: Status;
|
|
11037
11033
|
organisation_id: string;
|
|
11034
|
+
vehicle_id: string;
|
|
11038
11035
|
time_zone_id: string;
|
|
11039
11036
|
organisation_branch_id: string;
|
|
11040
|
-
vehicle_id: string;
|
|
11041
11037
|
driver_id: string;
|
|
11042
11038
|
schedule_name: string;
|
|
11043
11039
|
schedule_status: Status;
|
|
@@ -11059,9 +11055,9 @@ declare const MasterDailyScheduleSchema: z.ZodObject<{
|
|
|
11059
11055
|
}, {
|
|
11060
11056
|
status: Status;
|
|
11061
11057
|
organisation_id: string;
|
|
11058
|
+
vehicle_id: string;
|
|
11062
11059
|
time_zone_id: string;
|
|
11063
11060
|
organisation_branch_id: string;
|
|
11064
|
-
vehicle_id: string;
|
|
11065
11061
|
driver_id: string;
|
|
11066
11062
|
schedule_name: string;
|
|
11067
11063
|
schedule_status: Status;
|
|
@@ -11145,8 +11141,8 @@ declare const MasterDailyScheduleQuerySchema: z.ZodObject<{
|
|
|
11145
11141
|
date_format_id: string;
|
|
11146
11142
|
time_zone_id: string;
|
|
11147
11143
|
organisation_ids: string[];
|
|
11148
|
-
organisation_branch_ids: string[];
|
|
11149
11144
|
vehicle_ids: string[];
|
|
11145
|
+
organisation_branch_ids: string[];
|
|
11150
11146
|
driver_ids: string[];
|
|
11151
11147
|
schedule_status: Status[];
|
|
11152
11148
|
schedule_type: BusLeg[];
|
|
@@ -11176,8 +11172,8 @@ declare const MasterDailyScheduleQuerySchema: z.ZodObject<{
|
|
|
11176
11172
|
}[] | undefined;
|
|
11177
11173
|
include_master_data?: YesNo | undefined;
|
|
11178
11174
|
organisation_ids?: string[] | undefined;
|
|
11179
|
-
organisation_branch_ids?: string[] | undefined;
|
|
11180
11175
|
vehicle_ids?: string[] | undefined;
|
|
11176
|
+
organisation_branch_ids?: string[] | undefined;
|
|
11181
11177
|
driver_ids?: string[] | undefined;
|
|
11182
11178
|
schedule_status?: Status[] | undefined;
|
|
11183
11179
|
schedule_type?: BusLeg[] | undefined;
|
|
@@ -11440,9 +11436,9 @@ declare const MasterSpecialScheduleSchema: z.ZodObject<{
|
|
|
11440
11436
|
}, "strip", z.ZodTypeAny, {
|
|
11441
11437
|
status: Status;
|
|
11442
11438
|
organisation_id: string;
|
|
11439
|
+
vehicle_id: string;
|
|
11443
11440
|
time_zone_id: string;
|
|
11444
11441
|
organisation_branch_id: string;
|
|
11445
|
-
vehicle_id: string;
|
|
11446
11442
|
driver_id: string;
|
|
11447
11443
|
schedule_name: string;
|
|
11448
11444
|
schedule_status: Status;
|
|
@@ -11464,9 +11460,9 @@ declare const MasterSpecialScheduleSchema: z.ZodObject<{
|
|
|
11464
11460
|
}, {
|
|
11465
11461
|
status: Status;
|
|
11466
11462
|
organisation_id: string;
|
|
11463
|
+
vehicle_id: string;
|
|
11467
11464
|
time_zone_id: string;
|
|
11468
11465
|
organisation_branch_id: string;
|
|
11469
|
-
vehicle_id: string;
|
|
11470
11466
|
driver_id: string;
|
|
11471
11467
|
schedule_name: string;
|
|
11472
11468
|
schedule_status: Status;
|
|
@@ -11550,8 +11546,8 @@ declare const MasterSpecialScheduleQuerySchema: z.ZodObject<{
|
|
|
11550
11546
|
date_format_id: string;
|
|
11551
11547
|
time_zone_id: string;
|
|
11552
11548
|
organisation_ids: string[];
|
|
11553
|
-
organisation_branch_ids: string[];
|
|
11554
11549
|
vehicle_ids: string[];
|
|
11550
|
+
organisation_branch_ids: string[];
|
|
11555
11551
|
driver_ids: string[];
|
|
11556
11552
|
schedule_status: Status[];
|
|
11557
11553
|
schedule_type: BusLeg[];
|
|
@@ -11581,8 +11577,8 @@ declare const MasterSpecialScheduleQuerySchema: z.ZodObject<{
|
|
|
11581
11577
|
}[] | undefined;
|
|
11582
11578
|
include_master_data?: YesNo | undefined;
|
|
11583
11579
|
organisation_ids?: string[] | undefined;
|
|
11584
|
-
organisation_branch_ids?: string[] | undefined;
|
|
11585
11580
|
vehicle_ids?: string[] | undefined;
|
|
11581
|
+
organisation_branch_ids?: string[] | undefined;
|
|
11586
11582
|
driver_ids?: string[] | undefined;
|
|
11587
11583
|
schedule_status?: Status[] | undefined;
|
|
11588
11584
|
schedule_type?: BusLeg[] | undefined;
|
|
@@ -13957,7 +13953,6 @@ declare const FleetFuelRefillFileSchema: z.ZodObject<{
|
|
|
13957
13953
|
}, "strip", z.ZodTypeAny, {
|
|
13958
13954
|
status: Status;
|
|
13959
13955
|
organisation_id: string;
|
|
13960
|
-
user_id: string;
|
|
13961
13956
|
usage_type: string;
|
|
13962
13957
|
file_type: FileType;
|
|
13963
13958
|
file_url: string;
|
|
@@ -13966,13 +13961,14 @@ declare const FleetFuelRefillFileSchema: z.ZodObject<{
|
|
|
13966
13961
|
file_description: string;
|
|
13967
13962
|
file_size: number;
|
|
13968
13963
|
file_metadata: Record<string, any>;
|
|
13964
|
+
user_id: string;
|
|
13969
13965
|
fleet_fuel_refill_id: string;
|
|
13970
13966
|
}, {
|
|
13971
13967
|
status: Status;
|
|
13972
13968
|
organisation_id: string;
|
|
13973
|
-
user_id: string;
|
|
13974
13969
|
usage_type: string;
|
|
13975
13970
|
file_type: FileType;
|
|
13971
|
+
user_id: string;
|
|
13976
13972
|
fleet_fuel_refill_id: string;
|
|
13977
13973
|
file_url?: string | undefined;
|
|
13978
13974
|
file_key?: string | undefined;
|
|
@@ -14039,7 +14035,6 @@ declare const FleetFuelRefillSchema: z.ZodObject<{
|
|
|
14039
14035
|
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
14040
14036
|
status: Status;
|
|
14041
14037
|
organisation_id: string;
|
|
14042
|
-
user_id: string;
|
|
14043
14038
|
usage_type: string;
|
|
14044
14039
|
file_type: FileType;
|
|
14045
14040
|
file_url: string;
|
|
@@ -14048,13 +14043,14 @@ declare const FleetFuelRefillSchema: z.ZodObject<{
|
|
|
14048
14043
|
file_description: string;
|
|
14049
14044
|
file_size: number;
|
|
14050
14045
|
file_metadata: Record<string, any>;
|
|
14046
|
+
user_id: string;
|
|
14051
14047
|
fleet_fuel_refill_id: string;
|
|
14052
14048
|
}, {
|
|
14053
14049
|
status: Status;
|
|
14054
14050
|
organisation_id: string;
|
|
14055
|
-
user_id: string;
|
|
14056
14051
|
usage_type: string;
|
|
14057
14052
|
file_type: FileType;
|
|
14053
|
+
user_id: string;
|
|
14058
14054
|
fleet_fuel_refill_id: string;
|
|
14059
14055
|
file_url?: string | undefined;
|
|
14060
14056
|
file_key?: string | undefined;
|
|
@@ -14066,9 +14062,9 @@ declare const FleetFuelRefillSchema: z.ZodObject<{
|
|
|
14066
14062
|
}, "strip", z.ZodTypeAny, {
|
|
14067
14063
|
status: Status;
|
|
14068
14064
|
organisation_id: string;
|
|
14069
|
-
user_id: string;
|
|
14070
|
-
time_zone_id: string;
|
|
14071
14065
|
vehicle_id: string;
|
|
14066
|
+
time_zone_id: string;
|
|
14067
|
+
user_id: string;
|
|
14072
14068
|
driver_id: string;
|
|
14073
14069
|
odometer_reading: number;
|
|
14074
14070
|
google_location: string;
|
|
@@ -14097,7 +14093,6 @@ declare const FleetFuelRefillSchema: z.ZodObject<{
|
|
|
14097
14093
|
FleetFuelRefillFile: {
|
|
14098
14094
|
status: Status;
|
|
14099
14095
|
organisation_id: string;
|
|
14100
|
-
user_id: string;
|
|
14101
14096
|
usage_type: string;
|
|
14102
14097
|
file_type: FileType;
|
|
14103
14098
|
file_url: string;
|
|
@@ -14106,6 +14101,7 @@ declare const FleetFuelRefillSchema: z.ZodObject<{
|
|
|
14106
14101
|
file_description: string;
|
|
14107
14102
|
file_size: number;
|
|
14108
14103
|
file_metadata: Record<string, any>;
|
|
14104
|
+
user_id: string;
|
|
14109
14105
|
fleet_fuel_refill_id: string;
|
|
14110
14106
|
}[];
|
|
14111
14107
|
latitude?: number | undefined;
|
|
@@ -14120,9 +14116,9 @@ declare const FleetFuelRefillSchema: z.ZodObject<{
|
|
|
14120
14116
|
}, {
|
|
14121
14117
|
status: Status;
|
|
14122
14118
|
organisation_id: string;
|
|
14123
|
-
user_id: string;
|
|
14124
|
-
time_zone_id: string;
|
|
14125
14119
|
vehicle_id: string;
|
|
14120
|
+
time_zone_id: string;
|
|
14121
|
+
user_id: string;
|
|
14126
14122
|
driver_id: string;
|
|
14127
14123
|
vendor_id: string;
|
|
14128
14124
|
fuel_station_id: string;
|
|
@@ -14160,9 +14156,9 @@ declare const FleetFuelRefillSchema: z.ZodObject<{
|
|
|
14160
14156
|
FleetFuelRefillFile?: {
|
|
14161
14157
|
status: Status;
|
|
14162
14158
|
organisation_id: string;
|
|
14163
|
-
user_id: string;
|
|
14164
14159
|
usage_type: string;
|
|
14165
14160
|
file_type: FileType;
|
|
14161
|
+
user_id: string;
|
|
14166
14162
|
fleet_fuel_refill_id: string;
|
|
14167
14163
|
file_url?: string | undefined;
|
|
14168
14164
|
file_key?: string | undefined;
|
|
@@ -14246,8 +14242,8 @@ declare const FleetFuelRefillQuerySchema: z.ZodObject<{
|
|
|
14246
14242
|
date_format_id: string;
|
|
14247
14243
|
time_zone_id: string;
|
|
14248
14244
|
organisation_ids: string[];
|
|
14249
|
-
user_ids: string[];
|
|
14250
14245
|
vehicle_ids: string[];
|
|
14246
|
+
user_ids: string[];
|
|
14251
14247
|
driver_ids: string[];
|
|
14252
14248
|
from_date: string;
|
|
14253
14249
|
to_date: string;
|
|
@@ -14289,8 +14285,8 @@ declare const FleetFuelRefillQuerySchema: z.ZodObject<{
|
|
|
14289
14285
|
}[] | undefined;
|
|
14290
14286
|
include_master_data?: YesNo | undefined;
|
|
14291
14287
|
organisation_ids?: string[] | undefined;
|
|
14292
|
-
user_ids?: string[] | undefined;
|
|
14293
14288
|
vehicle_ids?: string[] | undefined;
|
|
14289
|
+
user_ids?: string[] | undefined;
|
|
14294
14290
|
driver_ids?: string[] | undefined;
|
|
14295
14291
|
vendor_ids?: string[] | undefined;
|
|
14296
14292
|
fuel_station_ids?: string[] | undefined;
|
|
@@ -14400,8 +14396,8 @@ declare const OrganisationNotificationPreferenceSchema: z.ZodObject<{
|
|
|
14400
14396
|
}, "strip", z.ZodTypeAny, {
|
|
14401
14397
|
status: Status;
|
|
14402
14398
|
organisation_id: string;
|
|
14403
|
-
user_ids: string[];
|
|
14404
14399
|
vehicle_ids: string[];
|
|
14400
|
+
user_ids: string[];
|
|
14405
14401
|
notification_name: string;
|
|
14406
14402
|
notification_status: OnOff;
|
|
14407
14403
|
notification_channels: NotificationChannel[];
|
|
@@ -14421,8 +14417,8 @@ declare const OrganisationNotificationPreferenceSchema: z.ZodObject<{
|
|
|
14421
14417
|
all_users: YesNo;
|
|
14422
14418
|
all_geofences: YesNo;
|
|
14423
14419
|
all_vehicles: YesNo;
|
|
14424
|
-
user_ids?: string[] | undefined;
|
|
14425
14420
|
vehicle_ids?: string[] | undefined;
|
|
14421
|
+
user_ids?: string[] | undefined;
|
|
14426
14422
|
notification_channels?: NotificationChannel[] | undefined;
|
|
14427
14423
|
mobile_numbers?: string | undefined;
|
|
14428
14424
|
email_ids?: string | undefined;
|
|
@@ -14575,8 +14571,8 @@ declare const GPSGeofenceTransactionSummarySchema: z.ZodObject<{
|
|
|
14575
14571
|
}, "strip", z.ZodTypeAny, {
|
|
14576
14572
|
status: Status;
|
|
14577
14573
|
organisation_id: string;
|
|
14578
|
-
time_zone_id: string;
|
|
14579
14574
|
vehicle_id: string;
|
|
14575
|
+
time_zone_id: string;
|
|
14580
14576
|
driver_id: string;
|
|
14581
14577
|
gps_geofence_id: string;
|
|
14582
14578
|
geofence_enter_date_time: string;
|
|
@@ -14587,8 +14583,8 @@ declare const GPSGeofenceTransactionSummarySchema: z.ZodObject<{
|
|
|
14587
14583
|
}, {
|
|
14588
14584
|
status: Status;
|
|
14589
14585
|
organisation_id: string;
|
|
14590
|
-
time_zone_id: string;
|
|
14591
14586
|
vehicle_id: string;
|
|
14587
|
+
time_zone_id: string;
|
|
14592
14588
|
driver_id: string;
|
|
14593
14589
|
gps_geofence_id: string;
|
|
14594
14590
|
geofence_enter_date_time: string;
|
|
@@ -14756,8 +14752,8 @@ declare const TripGeofenceToGeofenceSchema: z.ZodObject<{
|
|
|
14756
14752
|
}, "strip", z.ZodTypeAny, {
|
|
14757
14753
|
status: Status;
|
|
14758
14754
|
organisation_id: string;
|
|
14759
|
-
time_zone_id: string;
|
|
14760
14755
|
vehicle_id: string;
|
|
14756
|
+
time_zone_id: string;
|
|
14761
14757
|
driver_id: string;
|
|
14762
14758
|
duration_seconds: number;
|
|
14763
14759
|
from_geofence_exit_date_time: string;
|
|
@@ -14772,8 +14768,8 @@ declare const TripGeofenceToGeofenceSchema: z.ZodObject<{
|
|
|
14772
14768
|
}, {
|
|
14773
14769
|
status: Status;
|
|
14774
14770
|
organisation_id: string;
|
|
14775
|
-
time_zone_id: string;
|
|
14776
14771
|
vehicle_id: string;
|
|
14772
|
+
time_zone_id: string;
|
|
14777
14773
|
driver_id: string;
|
|
14778
14774
|
from_geofence_exit_date_time: string;
|
|
14779
14775
|
to_geofence_enter_date_time: string;
|
|
@@ -15181,8 +15177,8 @@ declare const GPSGeofenceTransactionSchema: z.ZodObject<{
|
|
|
15181
15177
|
}, "strip", z.ZodTypeAny, {
|
|
15182
15178
|
status: Status;
|
|
15183
15179
|
organisation_id: string;
|
|
15184
|
-
time_zone_id: string;
|
|
15185
15180
|
vehicle_id: string;
|
|
15181
|
+
time_zone_id: string;
|
|
15186
15182
|
driver_id: string;
|
|
15187
15183
|
gps_geofence_id: string;
|
|
15188
15184
|
geofence_status_type: GeofenceStatusType;
|
|
@@ -15190,8 +15186,8 @@ declare const GPSGeofenceTransactionSchema: z.ZodObject<{
|
|
|
15190
15186
|
}, {
|
|
15191
15187
|
status: Status;
|
|
15192
15188
|
organisation_id: string;
|
|
15193
|
-
time_zone_id: string;
|
|
15194
15189
|
vehicle_id: string;
|
|
15190
|
+
time_zone_id: string;
|
|
15195
15191
|
driver_id: string;
|
|
15196
15192
|
gps_geofence_id: string;
|
|
15197
15193
|
geofence_status_type: GeofenceStatusType;
|
|
@@ -15466,7 +15462,6 @@ declare const MasterDriverFileSchema: z.ZodObject<{
|
|
|
15466
15462
|
}, "strip", z.ZodTypeAny, {
|
|
15467
15463
|
status: Status;
|
|
15468
15464
|
organisation_id: string;
|
|
15469
|
-
user_id: string;
|
|
15470
15465
|
usage_type: string;
|
|
15471
15466
|
file_type: FileType;
|
|
15472
15467
|
file_url: string;
|
|
@@ -15475,13 +15470,14 @@ declare const MasterDriverFileSchema: z.ZodObject<{
|
|
|
15475
15470
|
file_description: string;
|
|
15476
15471
|
file_size: number;
|
|
15477
15472
|
file_metadata: Record<string, any>;
|
|
15473
|
+
user_id: string;
|
|
15478
15474
|
driver_id: string;
|
|
15479
15475
|
}, {
|
|
15480
15476
|
status: Status;
|
|
15481
15477
|
organisation_id: string;
|
|
15482
|
-
user_id: string;
|
|
15483
15478
|
usage_type: string;
|
|
15484
15479
|
file_type: FileType;
|
|
15480
|
+
user_id: string;
|
|
15485
15481
|
driver_id: string;
|
|
15486
15482
|
file_url?: string | undefined;
|
|
15487
15483
|
file_key?: string | undefined;
|
|
@@ -15530,7 +15526,6 @@ declare const MasterDriverSchema: z.ZodObject<{
|
|
|
15530
15526
|
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
15531
15527
|
status: Status;
|
|
15532
15528
|
organisation_id: string;
|
|
15533
|
-
user_id: string;
|
|
15534
15529
|
usage_type: string;
|
|
15535
15530
|
file_type: FileType;
|
|
15536
15531
|
file_url: string;
|
|
@@ -15539,13 +15534,14 @@ declare const MasterDriverSchema: z.ZodObject<{
|
|
|
15539
15534
|
file_description: string;
|
|
15540
15535
|
file_size: number;
|
|
15541
15536
|
file_metadata: Record<string, any>;
|
|
15537
|
+
user_id: string;
|
|
15542
15538
|
driver_id: string;
|
|
15543
15539
|
}, {
|
|
15544
15540
|
status: Status;
|
|
15545
15541
|
organisation_id: string;
|
|
15546
|
-
user_id: string;
|
|
15547
15542
|
usage_type: string;
|
|
15548
15543
|
file_type: FileType;
|
|
15544
|
+
user_id: string;
|
|
15549
15545
|
driver_id: string;
|
|
15550
15546
|
file_url?: string | undefined;
|
|
15551
15547
|
file_key?: string | undefined;
|
|
@@ -15557,11 +15553,11 @@ declare const MasterDriverSchema: z.ZodObject<{
|
|
|
15557
15553
|
}, "strip", z.ZodTypeAny, {
|
|
15558
15554
|
status: Status;
|
|
15559
15555
|
organisation_id: string;
|
|
15560
|
-
user_id: string;
|
|
15561
15556
|
organisation_sub_company_id: string;
|
|
15562
15557
|
organisation_branch_id: string;
|
|
15563
15558
|
organisation_color_id: string;
|
|
15564
15559
|
organisation_tag_id: string;
|
|
15560
|
+
user_id: string;
|
|
15565
15561
|
driver_image_url: string;
|
|
15566
15562
|
driver_image_key: string;
|
|
15567
15563
|
driver_image_name: string;
|
|
@@ -15579,7 +15575,6 @@ declare const MasterDriverSchema: z.ZodObject<{
|
|
|
15579
15575
|
MasterDriverFileSchema: {
|
|
15580
15576
|
status: Status;
|
|
15581
15577
|
organisation_id: string;
|
|
15582
|
-
user_id: string;
|
|
15583
15578
|
usage_type: string;
|
|
15584
15579
|
file_type: FileType;
|
|
15585
15580
|
file_url: string;
|
|
@@ -15588,16 +15583,17 @@ declare const MasterDriverSchema: z.ZodObject<{
|
|
|
15588
15583
|
file_description: string;
|
|
15589
15584
|
file_size: number;
|
|
15590
15585
|
file_metadata: Record<string, any>;
|
|
15586
|
+
user_id: string;
|
|
15591
15587
|
driver_id: string;
|
|
15592
15588
|
}[];
|
|
15593
15589
|
}, {
|
|
15594
15590
|
status: Status;
|
|
15595
15591
|
organisation_id: string;
|
|
15596
|
-
user_id: string;
|
|
15597
15592
|
organisation_sub_company_id: string;
|
|
15598
15593
|
organisation_branch_id: string;
|
|
15599
15594
|
organisation_color_id: string;
|
|
15600
15595
|
organisation_tag_id: string;
|
|
15596
|
+
user_id: string;
|
|
15601
15597
|
driver_first_name: string;
|
|
15602
15598
|
can_login: YesNo;
|
|
15603
15599
|
driver_type: DriverType;
|
|
@@ -15615,9 +15611,9 @@ declare const MasterDriverSchema: z.ZodObject<{
|
|
|
15615
15611
|
MasterDriverFileSchema?: {
|
|
15616
15612
|
status: Status;
|
|
15617
15613
|
organisation_id: string;
|
|
15618
|
-
user_id: string;
|
|
15619
15614
|
usage_type: string;
|
|
15620
15615
|
file_type: FileType;
|
|
15616
|
+
user_id: string;
|
|
15621
15617
|
driver_id: string;
|
|
15622
15618
|
file_url?: string | undefined;
|
|
15623
15619
|
file_key?: string | undefined;
|
|
@@ -15693,12 +15689,12 @@ declare const MasterDriverQuerySchema: z.ZodObject<{
|
|
|
15693
15689
|
date_format_id: string;
|
|
15694
15690
|
time_zone_id: string;
|
|
15695
15691
|
organisation_ids: string[];
|
|
15696
|
-
|
|
15692
|
+
vehicle_ids: string[];
|
|
15697
15693
|
organisation_sub_company_ids: string[];
|
|
15698
15694
|
organisation_branch_ids: string[];
|
|
15699
15695
|
organisation_color_ids: string[];
|
|
15700
15696
|
organisation_tag_ids: string[];
|
|
15701
|
-
|
|
15697
|
+
user_ids: string[];
|
|
15702
15698
|
driver_ids: string[];
|
|
15703
15699
|
can_login: YesNo[];
|
|
15704
15700
|
driver_type: DriverType[];
|
|
@@ -15726,12 +15722,12 @@ declare const MasterDriverQuerySchema: z.ZodObject<{
|
|
|
15726
15722
|
}[] | undefined;
|
|
15727
15723
|
include_master_data?: YesNo | undefined;
|
|
15728
15724
|
organisation_ids?: string[] | undefined;
|
|
15729
|
-
|
|
15725
|
+
vehicle_ids?: string[] | undefined;
|
|
15730
15726
|
organisation_sub_company_ids?: string[] | undefined;
|
|
15731
15727
|
organisation_branch_ids?: string[] | undefined;
|
|
15732
15728
|
organisation_color_ids?: string[] | undefined;
|
|
15733
15729
|
organisation_tag_ids?: string[] | undefined;
|
|
15734
|
-
|
|
15730
|
+
user_ids?: string[] | undefined;
|
|
15735
15731
|
driver_ids?: string[] | undefined;
|
|
15736
15732
|
can_login?: YesNo[] | undefined;
|
|
15737
15733
|
driver_type?: DriverType[] | undefined;
|
|
@@ -15958,17 +15954,17 @@ declare const OrganisationGroupSchema: z.ZodObject<{
|
|
|
15958
15954
|
description: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
|
|
15959
15955
|
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
15960
15956
|
}, "strip", z.ZodTypeAny, {
|
|
15961
|
-
description: string;
|
|
15962
15957
|
status: Status;
|
|
15963
15958
|
organisation_id: string;
|
|
15964
15959
|
vehicle_ids: string[];
|
|
15960
|
+
description: string;
|
|
15965
15961
|
group_name: string;
|
|
15966
15962
|
}, {
|
|
15967
15963
|
status: Status;
|
|
15968
15964
|
organisation_id: string;
|
|
15969
15965
|
group_name: string;
|
|
15970
|
-
description?: string | undefined;
|
|
15971
15966
|
vehicle_ids?: string[] | undefined;
|
|
15967
|
+
description?: string | undefined;
|
|
15972
15968
|
}>;
|
|
15973
15969
|
type OrganisationGroupDTO = z.infer<typeof OrganisationGroupSchema>;
|
|
15974
15970
|
declare const OrganisationGroupQuerySchema: z.ZodObject<{
|
|
@@ -16090,10 +16086,10 @@ declare const MasterVehicleTypeSchema: z.ZodObject<{
|
|
|
16090
16086
|
description: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
|
|
16091
16087
|
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
16092
16088
|
}, "strip", z.ZodTypeAny, {
|
|
16093
|
-
description: string;
|
|
16094
16089
|
status: Status;
|
|
16095
16090
|
organisation_id: string;
|
|
16096
16091
|
vehicle_type: string;
|
|
16092
|
+
description: string;
|
|
16097
16093
|
}, {
|
|
16098
16094
|
status: Status;
|
|
16099
16095
|
organisation_id: string;
|
|
@@ -16225,9 +16221,9 @@ declare const MasterVehicleSubModelSchema: z.ZodObject<{
|
|
|
16225
16221
|
description: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
|
|
16226
16222
|
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
16227
16223
|
}, "strip", z.ZodTypeAny, {
|
|
16228
|
-
description: string;
|
|
16229
16224
|
status: Status;
|
|
16230
16225
|
organisation_id: string;
|
|
16226
|
+
description: string;
|
|
16231
16227
|
vehicle_sub_model: string;
|
|
16232
16228
|
vehicle_make_id: string;
|
|
16233
16229
|
vehicle_model_id: string;
|
|
@@ -16376,9 +16372,9 @@ declare const MasterVehicleModelSchema: z.ZodObject<{
|
|
|
16376
16372
|
description: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
|
|
16377
16373
|
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
16378
16374
|
}, "strip", z.ZodTypeAny, {
|
|
16379
|
-
description: string;
|
|
16380
16375
|
status: Status;
|
|
16381
16376
|
organisation_id: string;
|
|
16377
|
+
description: string;
|
|
16382
16378
|
vehicle_make_id: string;
|
|
16383
16379
|
vehicle_model: string;
|
|
16384
16380
|
}, {
|
|
@@ -16520,9 +16516,9 @@ declare const MasterVehicleMakeSchema: z.ZodObject<{
|
|
|
16520
16516
|
description: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
|
|
16521
16517
|
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
16522
16518
|
}, "strip", z.ZodTypeAny, {
|
|
16523
|
-
description: string;
|
|
16524
16519
|
status: Status;
|
|
16525
16520
|
organisation_id: string;
|
|
16521
|
+
description: string;
|
|
16526
16522
|
vehicle_make: string;
|
|
16527
16523
|
}, {
|
|
16528
16524
|
status: Status;
|
|
@@ -16647,9 +16643,9 @@ declare const MasterVehicleStatusTypeSchema: z.ZodObject<{
|
|
|
16647
16643
|
description: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
|
|
16648
16644
|
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
16649
16645
|
}, "strip", z.ZodTypeAny, {
|
|
16650
|
-
description: string;
|
|
16651
16646
|
status: Status;
|
|
16652
16647
|
organisation_id: string;
|
|
16648
|
+
description: string;
|
|
16653
16649
|
status_type: string;
|
|
16654
16650
|
}, {
|
|
16655
16651
|
status: Status;
|
|
@@ -16774,9 +16770,9 @@ declare const MasterVehicleOwnershipTypeSchema: z.ZodObject<{
|
|
|
16774
16770
|
description: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
|
|
16775
16771
|
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
16776
16772
|
}, "strip", z.ZodTypeAny, {
|
|
16777
|
-
description: string;
|
|
16778
16773
|
status: Status;
|
|
16779
16774
|
organisation_id: string;
|
|
16775
|
+
description: string;
|
|
16780
16776
|
ownership_type: string;
|
|
16781
16777
|
}, {
|
|
16782
16778
|
status: Status;
|
|
@@ -16901,9 +16897,9 @@ declare const MasterVehicleAssociatedToSchema: z.ZodObject<{
|
|
|
16901
16897
|
description: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
|
|
16902
16898
|
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
16903
16899
|
}, "strip", z.ZodTypeAny, {
|
|
16904
|
-
description: string;
|
|
16905
16900
|
status: Status;
|
|
16906
16901
|
organisation_id: string;
|
|
16902
|
+
description: string;
|
|
16907
16903
|
associated_to: string;
|
|
16908
16904
|
}, {
|
|
16909
16905
|
status: Status;
|
|
@@ -17024,8 +17020,8 @@ declare const MasterDeviceTypeSchema: z.ZodObject<{
|
|
|
17024
17020
|
description: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
|
|
17025
17021
|
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
17026
17022
|
}, "strip", z.ZodTypeAny, {
|
|
17027
|
-
description: string;
|
|
17028
17023
|
status: Status;
|
|
17024
|
+
description: string;
|
|
17029
17025
|
device_type_name: string;
|
|
17030
17026
|
device_type_code: string;
|
|
17031
17027
|
}, {
|
|
@@ -17149,8 +17145,8 @@ declare const MasterDeviceModelSchema: z.ZodObject<{
|
|
|
17149
17145
|
description: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
|
|
17150
17146
|
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
17151
17147
|
}, "strip", z.ZodTypeAny, {
|
|
17152
|
-
description: string;
|
|
17153
17148
|
status: Status;
|
|
17149
|
+
description: string;
|
|
17154
17150
|
device_model_name: string;
|
|
17155
17151
|
device_model_code: string;
|
|
17156
17152
|
device_manufacturer_id: string;
|
|
@@ -17286,8 +17282,8 @@ declare const MasterDeviceManufacturerSchema: z.ZodObject<{
|
|
|
17286
17282
|
description: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
|
|
17287
17283
|
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
17288
17284
|
}, "strip", z.ZodTypeAny, {
|
|
17289
|
-
description: string;
|
|
17290
17285
|
status: Status;
|
|
17286
|
+
description: string;
|
|
17291
17287
|
device_manufacturer_name: string;
|
|
17292
17288
|
device_manufacturer_code: string;
|
|
17293
17289
|
}, {
|
|
@@ -17444,9 +17440,9 @@ declare const FleetInspectionScheduleSchema: z.ZodObject<{
|
|
|
17444
17440
|
}, "strip", z.ZodTypeAny, {
|
|
17445
17441
|
status: Status;
|
|
17446
17442
|
organisation_id: string;
|
|
17447
|
-
user_id: string;
|
|
17448
17443
|
time_zone_id: string;
|
|
17449
17444
|
vehicle_ids: string[];
|
|
17445
|
+
user_id: string;
|
|
17450
17446
|
inspection_schedule_name: string;
|
|
17451
17447
|
inspection_schedule_description: string;
|
|
17452
17448
|
inspection_schedule_start_date: string;
|
|
@@ -17454,8 +17450,8 @@ declare const FleetInspectionScheduleSchema: z.ZodObject<{
|
|
|
17454
17450
|
}, {
|
|
17455
17451
|
status: Status;
|
|
17456
17452
|
organisation_id: string;
|
|
17457
|
-
user_id: string;
|
|
17458
17453
|
time_zone_id: string;
|
|
17454
|
+
user_id: string;
|
|
17459
17455
|
inspection_schedule_name: string;
|
|
17460
17456
|
inspection_schedule_start_date: string;
|
|
17461
17457
|
inspection_schedule_due_date: string;
|
|
@@ -17613,9 +17609,9 @@ declare const FleetServiceScheduleSchema: z.ZodObject<{
|
|
|
17613
17609
|
}, "strip", z.ZodTypeAny, {
|
|
17614
17610
|
status: Status;
|
|
17615
17611
|
organisation_id: string;
|
|
17616
|
-
user_id: string;
|
|
17617
17612
|
time_zone_id: string;
|
|
17618
17613
|
vehicle_ids: string[];
|
|
17614
|
+
user_id: string;
|
|
17619
17615
|
service_schedule_name: string;
|
|
17620
17616
|
service_schedule_description: string;
|
|
17621
17617
|
service_schedule_start_date: string;
|
|
@@ -17623,8 +17619,8 @@ declare const FleetServiceScheduleSchema: z.ZodObject<{
|
|
|
17623
17619
|
}, {
|
|
17624
17620
|
status: Status;
|
|
17625
17621
|
organisation_id: string;
|
|
17626
|
-
user_id: string;
|
|
17627
17622
|
time_zone_id: string;
|
|
17623
|
+
user_id: string;
|
|
17628
17624
|
service_schedule_name: string;
|
|
17629
17625
|
service_schedule_start_date: string;
|
|
17630
17626
|
service_schedule_due_date: string;
|
|
@@ -17999,16 +17995,16 @@ declare const GPSTrackHistoryShareLinkSchema: z.ZodObject<{
|
|
|
17999
17995
|
}, "strip", z.ZodTypeAny, {
|
|
18000
17996
|
status: Status;
|
|
18001
17997
|
organisation_id: string;
|
|
18002
|
-
time_zone_id: string;
|
|
18003
17998
|
vehicle_id: string;
|
|
17999
|
+
time_zone_id: string;
|
|
18004
18000
|
link_status: TrackHistoryLinkStatus;
|
|
18005
18001
|
from_date_time: string;
|
|
18006
18002
|
to_date_time: string;
|
|
18007
18003
|
}, {
|
|
18008
18004
|
status: Status;
|
|
18009
18005
|
organisation_id: string;
|
|
18010
|
-
time_zone_id: string;
|
|
18011
18006
|
vehicle_id: string;
|
|
18007
|
+
time_zone_id: string;
|
|
18012
18008
|
link_status: TrackHistoryLinkStatus;
|
|
18013
18009
|
from_date_time: string;
|
|
18014
18010
|
to_date_time: string;
|
|
@@ -18452,9 +18448,9 @@ declare const OrganisationFleetSchema: z.ZodObject<{
|
|
|
18452
18448
|
description: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
|
|
18453
18449
|
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
18454
18450
|
}, "strip", z.ZodTypeAny, {
|
|
18455
|
-
description: string;
|
|
18456
18451
|
status: Status;
|
|
18457
18452
|
organisation_id: string;
|
|
18453
|
+
description: string;
|
|
18458
18454
|
fleet_name: string;
|
|
18459
18455
|
}, {
|
|
18460
18456
|
status: Status;
|
|
@@ -19233,7 +19229,7 @@ declare const MasterVehicleFileSchema: z.ZodObject<{
|
|
|
19233
19229
|
}, "strip", z.ZodTypeAny, {
|
|
19234
19230
|
status: Status;
|
|
19235
19231
|
organisation_id: string;
|
|
19236
|
-
|
|
19232
|
+
vehicle_id: string;
|
|
19237
19233
|
usage_type: string;
|
|
19238
19234
|
file_type: FileType;
|
|
19239
19235
|
file_url: string;
|
|
@@ -19242,14 +19238,14 @@ declare const MasterVehicleFileSchema: z.ZodObject<{
|
|
|
19242
19238
|
file_description: string;
|
|
19243
19239
|
file_size: number;
|
|
19244
19240
|
file_metadata: Record<string, any>;
|
|
19245
|
-
|
|
19241
|
+
user_id: string;
|
|
19246
19242
|
}, {
|
|
19247
19243
|
status: Status;
|
|
19248
19244
|
organisation_id: string;
|
|
19249
|
-
|
|
19245
|
+
vehicle_id: string;
|
|
19250
19246
|
usage_type: string;
|
|
19251
19247
|
file_type: FileType;
|
|
19252
|
-
|
|
19248
|
+
user_id: string;
|
|
19253
19249
|
file_url?: string | undefined;
|
|
19254
19250
|
file_key?: string | undefined;
|
|
19255
19251
|
file_name?: string | undefined;
|
|
@@ -19328,7 +19324,7 @@ declare const VehicleSchema: z.ZodObject<{
|
|
|
19328
19324
|
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
19329
19325
|
status: Status;
|
|
19330
19326
|
organisation_id: string;
|
|
19331
|
-
|
|
19327
|
+
vehicle_id: string;
|
|
19332
19328
|
usage_type: string;
|
|
19333
19329
|
file_type: FileType;
|
|
19334
19330
|
file_url: string;
|
|
@@ -19337,14 +19333,14 @@ declare const VehicleSchema: z.ZodObject<{
|
|
|
19337
19333
|
file_description: string;
|
|
19338
19334
|
file_size: number;
|
|
19339
19335
|
file_metadata: Record<string, any>;
|
|
19340
|
-
|
|
19336
|
+
user_id: string;
|
|
19341
19337
|
}, {
|
|
19342
19338
|
status: Status;
|
|
19343
19339
|
organisation_id: string;
|
|
19344
|
-
|
|
19340
|
+
vehicle_id: string;
|
|
19345
19341
|
usage_type: string;
|
|
19346
19342
|
file_type: FileType;
|
|
19347
|
-
|
|
19343
|
+
user_id: string;
|
|
19348
19344
|
file_url?: string | undefined;
|
|
19349
19345
|
file_key?: string | undefined;
|
|
19350
19346
|
file_name?: string | undefined;
|
|
@@ -19355,14 +19351,14 @@ declare const VehicleSchema: z.ZodObject<{
|
|
|
19355
19351
|
}, "strip", z.ZodTypeAny, {
|
|
19356
19352
|
status: Status;
|
|
19357
19353
|
organisation_id: string;
|
|
19358
|
-
|
|
19354
|
+
vehicle_number: string;
|
|
19359
19355
|
time_zone_id: string;
|
|
19360
19356
|
country_id: string;
|
|
19361
19357
|
organisation_sub_company_id: string;
|
|
19362
19358
|
organisation_branch_id: string;
|
|
19363
19359
|
organisation_color_id: string;
|
|
19364
19360
|
organisation_tag_id: string;
|
|
19365
|
-
|
|
19361
|
+
user_id: string;
|
|
19366
19362
|
odometer_reading: number;
|
|
19367
19363
|
vehicle_fuel_type_id: string;
|
|
19368
19364
|
vehicle_fuel_unit_id: string;
|
|
@@ -19394,7 +19390,7 @@ declare const VehicleSchema: z.ZodObject<{
|
|
|
19394
19390
|
MasterVehicleFileSchema: {
|
|
19395
19391
|
status: Status;
|
|
19396
19392
|
organisation_id: string;
|
|
19397
|
-
|
|
19393
|
+
vehicle_id: string;
|
|
19398
19394
|
usage_type: string;
|
|
19399
19395
|
file_type: FileType;
|
|
19400
19396
|
file_url: string;
|
|
@@ -19403,19 +19399,19 @@ declare const VehicleSchema: z.ZodObject<{
|
|
|
19403
19399
|
file_description: string;
|
|
19404
19400
|
file_size: number;
|
|
19405
19401
|
file_metadata: Record<string, any>;
|
|
19406
|
-
|
|
19402
|
+
user_id: string;
|
|
19407
19403
|
}[];
|
|
19408
19404
|
}, {
|
|
19409
19405
|
status: Status;
|
|
19410
19406
|
organisation_id: string;
|
|
19411
|
-
|
|
19407
|
+
vehicle_number: string;
|
|
19412
19408
|
time_zone_id: string;
|
|
19413
19409
|
country_id: string;
|
|
19414
19410
|
organisation_sub_company_id: string;
|
|
19415
19411
|
organisation_branch_id: string;
|
|
19416
19412
|
organisation_color_id: string;
|
|
19417
19413
|
organisation_tag_id: string;
|
|
19418
|
-
|
|
19414
|
+
user_id: string;
|
|
19419
19415
|
vehicle_fuel_type_id: string;
|
|
19420
19416
|
vehicle_fuel_unit_id: string;
|
|
19421
19417
|
vehicle_type_id: string;
|
|
@@ -19447,10 +19443,10 @@ declare const VehicleSchema: z.ZodObject<{
|
|
|
19447
19443
|
MasterVehicleFileSchema?: {
|
|
19448
19444
|
status: Status;
|
|
19449
19445
|
organisation_id: string;
|
|
19450
|
-
|
|
19446
|
+
vehicle_id: string;
|
|
19451
19447
|
usage_type: string;
|
|
19452
19448
|
file_type: FileType;
|
|
19453
|
-
|
|
19449
|
+
user_id: string;
|
|
19454
19450
|
file_url?: string | undefined;
|
|
19455
19451
|
file_key?: string | undefined;
|
|
19456
19452
|
file_name?: string | undefined;
|
|
@@ -19983,12 +19979,12 @@ declare const VehicleQuerySchema: z.ZodObject<{
|
|
|
19983
19979
|
date_format_id: string;
|
|
19984
19980
|
time_zone_id: string;
|
|
19985
19981
|
organisation_ids: string[];
|
|
19986
|
-
|
|
19982
|
+
vehicle_ids: string[];
|
|
19987
19983
|
organisation_sub_company_ids: string[];
|
|
19988
19984
|
organisation_branch_ids: string[];
|
|
19989
19985
|
organisation_color_ids: string[];
|
|
19990
19986
|
organisation_tag_ids: string[];
|
|
19991
|
-
|
|
19987
|
+
user_ids: string[];
|
|
19992
19988
|
driver_ids: string[];
|
|
19993
19989
|
vehicle_fuel_type_ids: string[];
|
|
19994
19990
|
vehicle_fuel_unit_ids: string[];
|
|
@@ -20030,12 +20026,12 @@ declare const VehicleQuerySchema: z.ZodObject<{
|
|
|
20030
20026
|
}[] | undefined;
|
|
20031
20027
|
include_master_data?: YesNo | undefined;
|
|
20032
20028
|
organisation_ids?: string[] | undefined;
|
|
20033
|
-
|
|
20029
|
+
vehicle_ids?: string[] | undefined;
|
|
20034
20030
|
organisation_sub_company_ids?: string[] | undefined;
|
|
20035
20031
|
organisation_branch_ids?: string[] | undefined;
|
|
20036
20032
|
organisation_color_ids?: string[] | undefined;
|
|
20037
20033
|
organisation_tag_ids?: string[] | undefined;
|
|
20038
|
-
|
|
20034
|
+
user_ids?: string[] | undefined;
|
|
20039
20035
|
driver_ids?: string[] | undefined;
|
|
20040
20036
|
vehicle_fuel_type_ids?: string[] | undefined;
|
|
20041
20037
|
vehicle_fuel_unit_ids?: string[] | undefined;
|
|
@@ -20172,6 +20168,7 @@ declare const VehicleGPSQuerySchema: z.ZodObject<{
|
|
|
20172
20168
|
}, "strip", z.ZodTypeAny, {
|
|
20173
20169
|
status: Status[];
|
|
20174
20170
|
organisation_id: string;
|
|
20171
|
+
vehicle_id: string;
|
|
20175
20172
|
search: string;
|
|
20176
20173
|
paging: PAGING;
|
|
20177
20174
|
page_count: number;
|
|
@@ -20192,12 +20189,11 @@ declare const VehicleGPSQuerySchema: z.ZodObject<{
|
|
|
20192
20189
|
include_master_data: YesNo;
|
|
20193
20190
|
date_format_id: string;
|
|
20194
20191
|
time_zone_id: string;
|
|
20195
|
-
vehicle_id: string;
|
|
20196
20192
|
}, {
|
|
20197
20193
|
organisation_id: string;
|
|
20194
|
+
vehicle_id: string;
|
|
20198
20195
|
date_format_id: string;
|
|
20199
20196
|
time_zone_id: string;
|
|
20200
|
-
vehicle_id: string;
|
|
20201
20197
|
status?: Status[] | undefined;
|
|
20202
20198
|
search?: string | undefined;
|
|
20203
20199
|
paging?: PAGING | undefined;
|
|
@@ -20802,7 +20798,6 @@ declare const TicketFileSchema: z.ZodObject<{
|
|
|
20802
20798
|
}, "strip", z.ZodTypeAny, {
|
|
20803
20799
|
status: Status;
|
|
20804
20800
|
organisation_id: string;
|
|
20805
|
-
user_id: string;
|
|
20806
20801
|
usage_type: string;
|
|
20807
20802
|
file_type: FileType;
|
|
20808
20803
|
file_url: string;
|
|
@@ -20811,13 +20806,14 @@ declare const TicketFileSchema: z.ZodObject<{
|
|
|
20811
20806
|
file_description: string;
|
|
20812
20807
|
file_size: number;
|
|
20813
20808
|
file_metadata: Record<string, any>;
|
|
20809
|
+
user_id: string;
|
|
20814
20810
|
ticket_id: string;
|
|
20815
20811
|
}, {
|
|
20816
20812
|
status: Status;
|
|
20817
20813
|
organisation_id: string;
|
|
20818
|
-
user_id: string;
|
|
20819
20814
|
usage_type: string;
|
|
20820
20815
|
file_type: FileType;
|
|
20816
|
+
user_id: string;
|
|
20821
20817
|
ticket_id: string;
|
|
20822
20818
|
file_url?: string | undefined;
|
|
20823
20819
|
file_key?: string | undefined;
|
|
@@ -20850,7 +20846,6 @@ declare const TicketSchema: z.ZodObject<{
|
|
|
20850
20846
|
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
20851
20847
|
status: Status;
|
|
20852
20848
|
organisation_id: string;
|
|
20853
|
-
user_id: string;
|
|
20854
20849
|
usage_type: string;
|
|
20855
20850
|
file_type: FileType;
|
|
20856
20851
|
file_url: string;
|
|
@@ -20859,13 +20854,14 @@ declare const TicketSchema: z.ZodObject<{
|
|
|
20859
20854
|
file_description: string;
|
|
20860
20855
|
file_size: number;
|
|
20861
20856
|
file_metadata: Record<string, any>;
|
|
20857
|
+
user_id: string;
|
|
20862
20858
|
ticket_id: string;
|
|
20863
20859
|
}, {
|
|
20864
20860
|
status: Status;
|
|
20865
20861
|
organisation_id: string;
|
|
20866
|
-
user_id: string;
|
|
20867
20862
|
usage_type: string;
|
|
20868
20863
|
file_type: FileType;
|
|
20864
|
+
user_id: string;
|
|
20869
20865
|
ticket_id: string;
|
|
20870
20866
|
file_url?: string | undefined;
|
|
20871
20867
|
file_key?: string | undefined;
|
|
@@ -20875,15 +20871,14 @@ declare const TicketSchema: z.ZodObject<{
|
|
|
20875
20871
|
file_metadata?: Record<string, any> | undefined;
|
|
20876
20872
|
}>, "many">>>;
|
|
20877
20873
|
}, "strip", z.ZodTypeAny, {
|
|
20878
|
-
description: string;
|
|
20879
20874
|
status: Status;
|
|
20880
20875
|
organisation_id: string;
|
|
20876
|
+
description: string;
|
|
20881
20877
|
user_id: string;
|
|
20882
20878
|
subject: string;
|
|
20883
20879
|
TicketFileSchema: {
|
|
20884
20880
|
status: Status;
|
|
20885
20881
|
organisation_id: string;
|
|
20886
|
-
user_id: string;
|
|
20887
20882
|
usage_type: string;
|
|
20888
20883
|
file_type: FileType;
|
|
20889
20884
|
file_url: string;
|
|
@@ -20892,6 +20887,7 @@ declare const TicketSchema: z.ZodObject<{
|
|
|
20892
20887
|
file_description: string;
|
|
20893
20888
|
file_size: number;
|
|
20894
20889
|
file_metadata: Record<string, any>;
|
|
20890
|
+
user_id: string;
|
|
20895
20891
|
ticket_id: string;
|
|
20896
20892
|
}[];
|
|
20897
20893
|
}, {
|
|
@@ -20903,9 +20899,9 @@ declare const TicketSchema: z.ZodObject<{
|
|
|
20903
20899
|
TicketFileSchema?: {
|
|
20904
20900
|
status: Status;
|
|
20905
20901
|
organisation_id: string;
|
|
20906
|
-
user_id: string;
|
|
20907
20902
|
usage_type: string;
|
|
20908
20903
|
file_type: FileType;
|
|
20904
|
+
user_id: string;
|
|
20909
20905
|
ticket_id: string;
|
|
20910
20906
|
file_url?: string | undefined;
|
|
20911
20907
|
file_key?: string | undefined;
|
|
@@ -20939,7 +20935,6 @@ declare const TicketVerifySchema: z.ZodObject<{
|
|
|
20939
20935
|
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
20940
20936
|
status: Status;
|
|
20941
20937
|
organisation_id: string;
|
|
20942
|
-
user_id: string;
|
|
20943
20938
|
usage_type: string;
|
|
20944
20939
|
file_type: FileType;
|
|
20945
20940
|
file_url: string;
|
|
@@ -20948,13 +20943,14 @@ declare const TicketVerifySchema: z.ZodObject<{
|
|
|
20948
20943
|
file_description: string;
|
|
20949
20944
|
file_size: number;
|
|
20950
20945
|
file_metadata: Record<string, any>;
|
|
20946
|
+
user_id: string;
|
|
20951
20947
|
ticket_id: string;
|
|
20952
20948
|
}, {
|
|
20953
20949
|
status: Status;
|
|
20954
20950
|
organisation_id: string;
|
|
20955
|
-
user_id: string;
|
|
20956
20951
|
usage_type: string;
|
|
20957
20952
|
file_type: FileType;
|
|
20953
|
+
user_id: string;
|
|
20958
20954
|
ticket_id: string;
|
|
20959
20955
|
file_url?: string | undefined;
|
|
20960
20956
|
file_key?: string | undefined;
|
|
@@ -20972,7 +20968,6 @@ declare const TicketVerifySchema: z.ZodObject<{
|
|
|
20972
20968
|
TicketFileSchema: {
|
|
20973
20969
|
status: Status;
|
|
20974
20970
|
organisation_id: string;
|
|
20975
|
-
user_id: string;
|
|
20976
20971
|
usage_type: string;
|
|
20977
20972
|
file_type: FileType;
|
|
20978
20973
|
file_url: string;
|
|
@@ -20981,6 +20976,7 @@ declare const TicketVerifySchema: z.ZodObject<{
|
|
|
20981
20976
|
file_description: string;
|
|
20982
20977
|
file_size: number;
|
|
20983
20978
|
file_metadata: Record<string, any>;
|
|
20979
|
+
user_id: string;
|
|
20984
20980
|
ticket_id: string;
|
|
20985
20981
|
}[];
|
|
20986
20982
|
}, {
|
|
@@ -20992,9 +20988,9 @@ declare const TicketVerifySchema: z.ZodObject<{
|
|
|
20992
20988
|
TicketFileSchema?: {
|
|
20993
20989
|
status: Status;
|
|
20994
20990
|
organisation_id: string;
|
|
20995
|
-
user_id: string;
|
|
20996
20991
|
usage_type: string;
|
|
20997
20992
|
file_type: FileType;
|
|
20993
|
+
user_id: string;
|
|
20998
20994
|
ticket_id: string;
|
|
20999
20995
|
file_url?: string | undefined;
|
|
21000
20996
|
file_key?: string | undefined;
|
|
@@ -21427,9 +21423,9 @@ declare const MasterFleetDocumentTypeSchema: z.ZodObject<{
|
|
|
21427
21423
|
description: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
|
|
21428
21424
|
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
21429
21425
|
}, "strip", z.ZodTypeAny, {
|
|
21430
|
-
description: string;
|
|
21431
21426
|
status: Status;
|
|
21432
21427
|
organisation_id: string;
|
|
21428
|
+
description: string;
|
|
21433
21429
|
document_type: string;
|
|
21434
21430
|
}, {
|
|
21435
21431
|
status: Status;
|
|
@@ -21643,7 +21639,6 @@ declare const FleetDocumentFileSchema: z.ZodObject<{
|
|
|
21643
21639
|
}, "strip", z.ZodTypeAny, {
|
|
21644
21640
|
status: Status;
|
|
21645
21641
|
organisation_id: string;
|
|
21646
|
-
user_id: string;
|
|
21647
21642
|
usage_type: string;
|
|
21648
21643
|
file_type: FileType;
|
|
21649
21644
|
file_url: string;
|
|
@@ -21652,13 +21647,14 @@ declare const FleetDocumentFileSchema: z.ZodObject<{
|
|
|
21652
21647
|
file_description: string;
|
|
21653
21648
|
file_size: number;
|
|
21654
21649
|
file_metadata: Record<string, any>;
|
|
21650
|
+
user_id: string;
|
|
21655
21651
|
document_id: string;
|
|
21656
21652
|
}, {
|
|
21657
21653
|
status: Status;
|
|
21658
21654
|
organisation_id: string;
|
|
21659
|
-
user_id: string;
|
|
21660
21655
|
usage_type: string;
|
|
21661
21656
|
file_type: FileType;
|
|
21657
|
+
user_id: string;
|
|
21662
21658
|
document_id: string;
|
|
21663
21659
|
file_url?: string | undefined;
|
|
21664
21660
|
file_key?: string | undefined;
|
|
@@ -21705,7 +21701,6 @@ declare const FleetDocumentSchema: z.ZodObject<{
|
|
|
21705
21701
|
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
21706
21702
|
status: Status;
|
|
21707
21703
|
organisation_id: string;
|
|
21708
|
-
user_id: string;
|
|
21709
21704
|
usage_type: string;
|
|
21710
21705
|
file_type: FileType;
|
|
21711
21706
|
file_url: string;
|
|
@@ -21714,13 +21709,14 @@ declare const FleetDocumentSchema: z.ZodObject<{
|
|
|
21714
21709
|
file_description: string;
|
|
21715
21710
|
file_size: number;
|
|
21716
21711
|
file_metadata: Record<string, any>;
|
|
21712
|
+
user_id: string;
|
|
21717
21713
|
document_id: string;
|
|
21718
21714
|
}, {
|
|
21719
21715
|
status: Status;
|
|
21720
21716
|
organisation_id: string;
|
|
21721
|
-
user_id: string;
|
|
21722
21717
|
usage_type: string;
|
|
21723
21718
|
file_type: FileType;
|
|
21719
|
+
user_id: string;
|
|
21724
21720
|
document_id: string;
|
|
21725
21721
|
file_url?: string | undefined;
|
|
21726
21722
|
file_key?: string | undefined;
|
|
@@ -21733,9 +21729,9 @@ declare const FleetDocumentSchema: z.ZodObject<{
|
|
|
21733
21729
|
}, "strip", z.ZodTypeAny, {
|
|
21734
21730
|
status: Status;
|
|
21735
21731
|
organisation_id: string;
|
|
21736
|
-
user_id: string;
|
|
21737
|
-
time_zone_id: string;
|
|
21738
21732
|
vehicle_id: string;
|
|
21733
|
+
time_zone_id: string;
|
|
21734
|
+
user_id: string;
|
|
21739
21735
|
vendor_id: string;
|
|
21740
21736
|
document_number: string;
|
|
21741
21737
|
fleet_document_type_id: string;
|
|
@@ -21753,7 +21749,6 @@ declare const FleetDocumentSchema: z.ZodObject<{
|
|
|
21753
21749
|
FleetDocumentFileSchema: {
|
|
21754
21750
|
status: Status;
|
|
21755
21751
|
organisation_id: string;
|
|
21756
|
-
user_id: string;
|
|
21757
21752
|
usage_type: string;
|
|
21758
21753
|
file_type: FileType;
|
|
21759
21754
|
file_url: string;
|
|
@@ -21762,15 +21757,16 @@ declare const FleetDocumentSchema: z.ZodObject<{
|
|
|
21762
21757
|
file_description: string;
|
|
21763
21758
|
file_size: number;
|
|
21764
21759
|
file_metadata: Record<string, any>;
|
|
21760
|
+
user_id: string;
|
|
21765
21761
|
document_id: string;
|
|
21766
21762
|
}[];
|
|
21767
21763
|
document_cost?: number | undefined;
|
|
21768
21764
|
}, {
|
|
21769
21765
|
status: Status;
|
|
21770
21766
|
organisation_id: string;
|
|
21771
|
-
user_id: string;
|
|
21772
|
-
time_zone_id: string;
|
|
21773
21767
|
vehicle_id: string;
|
|
21768
|
+
time_zone_id: string;
|
|
21769
|
+
user_id: string;
|
|
21774
21770
|
vendor_id: string;
|
|
21775
21771
|
fleet_document_type_id: string;
|
|
21776
21772
|
document_validity_status: DocumentValidityStatus;
|
|
@@ -21789,9 +21785,9 @@ declare const FleetDocumentSchema: z.ZodObject<{
|
|
|
21789
21785
|
FleetDocumentFileSchema?: {
|
|
21790
21786
|
status: Status;
|
|
21791
21787
|
organisation_id: string;
|
|
21792
|
-
user_id: string;
|
|
21793
21788
|
usage_type: string;
|
|
21794
21789
|
file_type: FileType;
|
|
21790
|
+
user_id: string;
|
|
21795
21791
|
document_id: string;
|
|
21796
21792
|
file_url?: string | undefined;
|
|
21797
21793
|
file_key?: string | undefined;
|
|
@@ -21864,8 +21860,8 @@ declare const FleetDocumentQuerySchema: z.ZodObject<{
|
|
|
21864
21860
|
date_format_id: string;
|
|
21865
21861
|
time_zone_id: string;
|
|
21866
21862
|
organisation_ids: string[];
|
|
21867
|
-
user_ids: string[];
|
|
21868
21863
|
vehicle_ids: string[];
|
|
21864
|
+
user_ids: string[];
|
|
21869
21865
|
vendor_ids: string[];
|
|
21870
21866
|
fleet_document_type_ids: string[];
|
|
21871
21867
|
document_validity_status: DocumentValidityStatus[];
|
|
@@ -21894,8 +21890,8 @@ declare const FleetDocumentQuerySchema: z.ZodObject<{
|
|
|
21894
21890
|
}[] | undefined;
|
|
21895
21891
|
include_master_data?: YesNo | undefined;
|
|
21896
21892
|
organisation_ids?: string[] | undefined;
|
|
21897
|
-
user_ids?: string[] | undefined;
|
|
21898
21893
|
vehicle_ids?: string[] | undefined;
|
|
21894
|
+
user_ids?: string[] | undefined;
|
|
21899
21895
|
vendor_ids?: string[] | undefined;
|
|
21900
21896
|
fleet_document_type_ids?: string[] | undefined;
|
|
21901
21897
|
document_validity_status?: DocumentValidityStatus[] | undefined;
|
|
@@ -22666,9 +22662,6 @@ declare const FASTagTransactionSchema: z.ZodObject<{
|
|
|
22666
22662
|
plaza_name: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
|
|
22667
22663
|
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
22668
22664
|
}, "strip", z.ZodTypeAny, {
|
|
22669
|
-
status: Status;
|
|
22670
|
-
organisation_id: string;
|
|
22671
|
-
vehicle_id: string;
|
|
22672
22665
|
processing_date_time: string;
|
|
22673
22666
|
transaction_date_time: string;
|
|
22674
22667
|
transaction_id: string;
|
|
@@ -22678,16 +22671,19 @@ declare const FASTagTransactionSchema: z.ZodObject<{
|
|
|
22678
22671
|
lane_code: string;
|
|
22679
22672
|
plaza_code: string;
|
|
22680
22673
|
plaza_name: string;
|
|
22674
|
+
status: Status;
|
|
22681
22675
|
fasttag_details_id: string;
|
|
22682
22676
|
fasttag_bank_id: string;
|
|
22683
|
-
transaction_amount?: number | undefined;
|
|
22684
|
-
}, {
|
|
22685
|
-
status: Status;
|
|
22686
22677
|
organisation_id: string;
|
|
22687
22678
|
vehicle_id: string;
|
|
22679
|
+
transaction_amount?: number | undefined;
|
|
22680
|
+
}, {
|
|
22688
22681
|
transaction_id: string;
|
|
22682
|
+
status: Status;
|
|
22689
22683
|
fasttag_details_id: string;
|
|
22690
22684
|
fasttag_bank_id: string;
|
|
22685
|
+
organisation_id: string;
|
|
22686
|
+
vehicle_id: string;
|
|
22691
22687
|
processing_date_time?: string | undefined;
|
|
22692
22688
|
transaction_date_time?: string | undefined;
|
|
22693
22689
|
transaction_amount?: unknown;
|
|
@@ -22757,11 +22753,11 @@ declare const FASTagTransactionQuerySchema: z.ZodObject<{
|
|
|
22757
22753
|
include_master_data: YesNo;
|
|
22758
22754
|
date_format_id: string;
|
|
22759
22755
|
time_zone_id: string;
|
|
22760
|
-
organisation_ids: string[];
|
|
22761
|
-
vehicle_ids: string[];
|
|
22762
22756
|
fasttag_transaction_ids: string[];
|
|
22763
22757
|
fasttag_details_ids: string[];
|
|
22764
22758
|
fasttag_bank_ids: string[];
|
|
22759
|
+
organisation_ids: string[];
|
|
22760
|
+
vehicle_ids: string[];
|
|
22765
22761
|
}, {
|
|
22766
22762
|
date_format_id: string;
|
|
22767
22763
|
time_zone_id: string;
|
|
@@ -22784,11 +22780,11 @@ declare const FASTagTransactionQuerySchema: z.ZodObject<{
|
|
|
22784
22780
|
direction: OrderBy;
|
|
22785
22781
|
}[] | undefined;
|
|
22786
22782
|
include_master_data?: YesNo | undefined;
|
|
22787
|
-
organisation_ids?: string[] | undefined;
|
|
22788
|
-
vehicle_ids?: string[] | undefined;
|
|
22789
22783
|
fasttag_transaction_ids?: string[] | undefined;
|
|
22790
22784
|
fasttag_details_ids?: string[] | undefined;
|
|
22791
22785
|
fasttag_bank_ids?: string[] | undefined;
|
|
22786
|
+
organisation_ids?: string[] | undefined;
|
|
22787
|
+
vehicle_ids?: string[] | undefined;
|
|
22792
22788
|
}>;
|
|
22793
22789
|
type FASTagTransactionQueryDTO = z.infer<typeof FASTagTransactionQuerySchema>;
|
|
22794
22790
|
declare const toFASTagTransactionPayload: (row: FASTagTransaction) => FASTagTransactionDTO;
|
|
@@ -22951,23 +22947,23 @@ declare const FASTagDetailsSchema: z.ZodObject<{
|
|
|
22951
22947
|
api_key: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
|
|
22952
22948
|
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
22953
22949
|
}, "strip", z.ZodTypeAny, {
|
|
22954
|
-
api_key: string;
|
|
22955
22950
|
status: Status;
|
|
22951
|
+
fasttag_bank_id: string;
|
|
22956
22952
|
organisation_id: string;
|
|
22957
22953
|
user_id: string;
|
|
22958
|
-
fasttag_bank_id: string;
|
|
22959
22954
|
customer_id: string;
|
|
22960
22955
|
client_id: string;
|
|
22961
22956
|
client_secret: string;
|
|
22957
|
+
api_key: string;
|
|
22962
22958
|
}, {
|
|
22963
22959
|
status: Status;
|
|
22960
|
+
fasttag_bank_id: string;
|
|
22964
22961
|
organisation_id: string;
|
|
22965
22962
|
user_id: string;
|
|
22966
|
-
fasttag_bank_id: string;
|
|
22967
|
-
api_key?: string | undefined;
|
|
22968
22963
|
customer_id?: string | undefined;
|
|
22969
22964
|
client_id?: string | undefined;
|
|
22970
22965
|
client_secret?: string | undefined;
|
|
22966
|
+
api_key?: string | undefined;
|
|
22971
22967
|
}>;
|
|
22972
22968
|
type FASTagDetailsDTO = z.infer<typeof FASTagDetailsSchema>;
|
|
22973
22969
|
declare const FASTagDetailsQuerySchema: z.ZodObject<{
|
|
@@ -23027,10 +23023,10 @@ declare const FASTagDetailsQuerySchema: z.ZodObject<{
|
|
|
23027
23023
|
include_master_data: YesNo;
|
|
23028
23024
|
date_format_id: string;
|
|
23029
23025
|
time_zone_id: string;
|
|
23030
|
-
organisation_ids: string[];
|
|
23031
|
-
user_ids: string[];
|
|
23032
23026
|
fasttag_details_ids: string[];
|
|
23033
23027
|
fasttag_bank_ids: string[];
|
|
23028
|
+
organisation_ids: string[];
|
|
23029
|
+
user_ids: string[];
|
|
23034
23030
|
}, {
|
|
23035
23031
|
date_format_id: string;
|
|
23036
23032
|
time_zone_id: string;
|
|
@@ -23053,10 +23049,10 @@ declare const FASTagDetailsQuerySchema: z.ZodObject<{
|
|
|
23053
23049
|
direction: OrderBy;
|
|
23054
23050
|
}[] | undefined;
|
|
23055
23051
|
include_master_data?: YesNo | undefined;
|
|
23056
|
-
organisation_ids?: string[] | undefined;
|
|
23057
|
-
user_ids?: string[] | undefined;
|
|
23058
23052
|
fasttag_details_ids?: string[] | undefined;
|
|
23059
23053
|
fasttag_bank_ids?: string[] | undefined;
|
|
23054
|
+
organisation_ids?: string[] | undefined;
|
|
23055
|
+
user_ids?: string[] | undefined;
|
|
23060
23056
|
}>;
|
|
23061
23057
|
type FASTagDetailsQueryDTO = z.infer<typeof FASTagDetailsQuerySchema>;
|
|
23062
23058
|
declare const toFASTagDetailsPayload: (row: FASTagDetails) => FASTagDetailsDTO;
|
|
@@ -23311,14 +23307,14 @@ declare const UserSchema: z.ZodObject<{
|
|
|
23311
23307
|
}, "strip", z.ZodTypeAny, {
|
|
23312
23308
|
status: Status;
|
|
23313
23309
|
organisation_id: string;
|
|
23314
|
-
user_image_url: string;
|
|
23315
23310
|
date_format_id: string;
|
|
23316
23311
|
time_zone_id: string;
|
|
23312
|
+
vehicle_ids: string[];
|
|
23317
23313
|
user_role_id: string;
|
|
23318
23314
|
user_status_id: string;
|
|
23319
23315
|
language_id: string;
|
|
23320
23316
|
organisation_branch_id: string;
|
|
23321
|
-
|
|
23317
|
+
user_image_url: string;
|
|
23322
23318
|
mobile: string;
|
|
23323
23319
|
email: string;
|
|
23324
23320
|
first_name: string;
|
|
@@ -23354,8 +23350,8 @@ declare const UserSchema: z.ZodObject<{
|
|
|
23354
23350
|
show_temperature_filters: YesNo;
|
|
23355
23351
|
show_vehicle_info_columns: YesNo;
|
|
23356
23352
|
assigned_workshop_id: string;
|
|
23357
|
-
user_image_url?: string | undefined;
|
|
23358
23353
|
vehicle_ids?: string[] | undefined;
|
|
23354
|
+
user_image_url?: string | undefined;
|
|
23359
23355
|
mobile?: string | undefined;
|
|
23360
23356
|
last_name?: string | undefined;
|
|
23361
23357
|
password?: string | undefined;
|
|
@@ -23431,12 +23427,12 @@ declare const UserQuerySchema: z.ZodObject<{
|
|
|
23431
23427
|
date_format_id: string;
|
|
23432
23428
|
time_zone_id: string;
|
|
23433
23429
|
organisation_ids: string[];
|
|
23434
|
-
user_ids: string[];
|
|
23435
23430
|
user_role_ids: string[];
|
|
23436
23431
|
user_status_ids: string[];
|
|
23437
23432
|
language_ids: string[];
|
|
23438
23433
|
date_format_ids: string[];
|
|
23439
23434
|
organisation_branch_ids: string[];
|
|
23435
|
+
user_ids: string[];
|
|
23440
23436
|
all_vehicles: YesNo[];
|
|
23441
23437
|
can_login: YesNo[];
|
|
23442
23438
|
bookmark_page_ids: string[];
|
|
@@ -23466,12 +23462,12 @@ declare const UserQuerySchema: z.ZodObject<{
|
|
|
23466
23462
|
}[] | undefined;
|
|
23467
23463
|
include_master_data?: YesNo | undefined;
|
|
23468
23464
|
organisation_ids?: string[] | undefined;
|
|
23469
|
-
user_ids?: string[] | undefined;
|
|
23470
23465
|
user_role_ids?: string[] | undefined;
|
|
23471
23466
|
user_status_ids?: string[] | undefined;
|
|
23472
23467
|
language_ids?: string[] | undefined;
|
|
23473
23468
|
date_format_ids?: string[] | undefined;
|
|
23474
23469
|
organisation_branch_ids?: string[] | undefined;
|
|
23470
|
+
user_ids?: string[] | undefined;
|
|
23475
23471
|
all_vehicles?: YesNo[] | undefined;
|
|
23476
23472
|
can_login?: YesNo[] | undefined;
|
|
23477
23473
|
bookmark_page_ids?: string[] | undefined;
|
|
@@ -24556,7 +24552,7 @@ declare const deleteOrganisationNoticeBoard: (id: string) => Promise<SBR>;
|
|
|
24556
24552
|
|
|
24557
24553
|
interface MasterExpenseType extends Record<string, unknown> {
|
|
24558
24554
|
expense_type_id: string;
|
|
24559
|
-
|
|
24555
|
+
expense_type: string;
|
|
24560
24556
|
description?: string;
|
|
24561
24557
|
status: Status;
|
|
24562
24558
|
added_date_time: string;
|
|
@@ -24569,18 +24565,18 @@ interface MasterExpenseType extends Record<string, unknown> {
|
|
|
24569
24565
|
}
|
|
24570
24566
|
declare const MasterExpenseTypeSchema: z.ZodObject<{
|
|
24571
24567
|
organisation_id: z.ZodEffects<z.ZodString, string, string>;
|
|
24572
|
-
|
|
24568
|
+
expense_type: z.ZodEffects<z.ZodString, string, string>;
|
|
24573
24569
|
description: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
|
|
24574
24570
|
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
24575
24571
|
}, "strip", z.ZodTypeAny, {
|
|
24576
|
-
description: string;
|
|
24577
24572
|
status: Status;
|
|
24578
24573
|
organisation_id: string;
|
|
24579
|
-
|
|
24574
|
+
description: string;
|
|
24575
|
+
expense_type: string;
|
|
24580
24576
|
}, {
|
|
24581
24577
|
status: Status;
|
|
24582
24578
|
organisation_id: string;
|
|
24583
|
-
|
|
24579
|
+
expense_type: string;
|
|
24584
24580
|
description?: string | undefined;
|
|
24585
24581
|
}>;
|
|
24586
24582
|
type MasterExpenseTypeDTO = z.infer<typeof MasterExpenseTypeSchema>;
|
|
@@ -24702,9 +24698,9 @@ declare const MasterSparePartSubCategorySchema: z.ZodObject<{
|
|
|
24702
24698
|
description: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
|
|
24703
24699
|
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
24704
24700
|
}, "strip", z.ZodTypeAny, {
|
|
24705
|
-
description: string;
|
|
24706
24701
|
status: Status;
|
|
24707
24702
|
organisation_id: string;
|
|
24703
|
+
description: string;
|
|
24708
24704
|
sub_category_name: string;
|
|
24709
24705
|
sub_category_code: string;
|
|
24710
24706
|
spare_part_category_id: string;
|
|
@@ -24846,9 +24842,9 @@ declare const MasterSparePartCategorySchema: z.ZodObject<{
|
|
|
24846
24842
|
description: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
|
|
24847
24843
|
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
24848
24844
|
}, "strip", z.ZodTypeAny, {
|
|
24849
|
-
description: string;
|
|
24850
24845
|
status: Status;
|
|
24851
24846
|
organisation_id: string;
|
|
24847
|
+
description: string;
|
|
24852
24848
|
category_name: string;
|
|
24853
24849
|
category_code: string;
|
|
24854
24850
|
}, {
|
|
@@ -24976,9 +24972,9 @@ declare const MasterSparePartUnitSchema: z.ZodObject<{
|
|
|
24976
24972
|
description: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
|
|
24977
24973
|
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
24978
24974
|
}, "strip", z.ZodTypeAny, {
|
|
24979
|
-
description: string;
|
|
24980
24975
|
status: Status;
|
|
24981
24976
|
organisation_id: string;
|
|
24977
|
+
description: string;
|
|
24982
24978
|
unit_name: string;
|
|
24983
24979
|
unit_code: string;
|
|
24984
24980
|
}, {
|
|
@@ -25103,9 +25099,9 @@ declare const MasterTripPartyTypeSchema: z.ZodObject<{
|
|
|
25103
25099
|
description: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
|
|
25104
25100
|
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
25105
25101
|
}, "strip", z.ZodTypeAny, {
|
|
25106
|
-
description: string;
|
|
25107
25102
|
status: Status;
|
|
25108
25103
|
organisation_id: string;
|
|
25104
|
+
description: string;
|
|
25109
25105
|
party_type: string;
|
|
25110
25106
|
}, {
|
|
25111
25107
|
status: Status;
|
|
@@ -25227,9 +25223,9 @@ declare const MasterTyreGradeSchema: z.ZodObject<{
|
|
|
25227
25223
|
description: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
|
|
25228
25224
|
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
25229
25225
|
}, "strip", z.ZodTypeAny, {
|
|
25230
|
-
description: string;
|
|
25231
25226
|
status: Status;
|
|
25232
25227
|
organisation_id: string;
|
|
25228
|
+
description: string;
|
|
25233
25229
|
tyre_grade: string;
|
|
25234
25230
|
}, {
|
|
25235
25231
|
status: Status;
|
|
@@ -25368,9 +25364,9 @@ declare const MasterTyreModelSchema: z.ZodObject<{
|
|
|
25368
25364
|
recommended_max_run_kms: z.ZodOptional<z.ZodEffects<z.ZodDefault<z.ZodNumber>, number, unknown>>;
|
|
25369
25365
|
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
25370
25366
|
}, "strip", z.ZodTypeAny, {
|
|
25371
|
-
description: string;
|
|
25372
25367
|
status: Status;
|
|
25373
25368
|
organisation_id: string;
|
|
25369
|
+
description: string;
|
|
25374
25370
|
tyre_model: string;
|
|
25375
25371
|
warranty_months: number;
|
|
25376
25372
|
tyre_size: string;
|
|
@@ -25520,9 +25516,9 @@ declare const MasterTyreMakeSchema: z.ZodObject<{
|
|
|
25520
25516
|
description: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
|
|
25521
25517
|
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
25522
25518
|
}, "strip", z.ZodTypeAny, {
|
|
25523
|
-
description: string;
|
|
25524
25519
|
status: Status;
|
|
25525
25520
|
organisation_id: string;
|
|
25521
|
+
description: string;
|
|
25526
25522
|
tyre_make: string;
|
|
25527
25523
|
}, {
|
|
25528
25524
|
status: Status;
|
|
@@ -26547,23 +26543,23 @@ declare const EWayBillDetailsSchema: z.ZodObject<{
|
|
|
26547
26543
|
description: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
|
|
26548
26544
|
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
26549
26545
|
}, "strip", z.ZodTypeAny, {
|
|
26550
|
-
api_client_id: string;
|
|
26551
|
-
api_key: string;
|
|
26552
|
-
api_secret: string;
|
|
26553
|
-
description: string;
|
|
26554
26546
|
status: Status;
|
|
26555
|
-
e_way_bill_provider_id: string;
|
|
26556
26547
|
organisation_id: string;
|
|
26548
|
+
description: string;
|
|
26557
26549
|
user_id: string;
|
|
26550
|
+
api_key: string;
|
|
26551
|
+
e_way_bill_provider_id: string;
|
|
26552
|
+
api_client_id: string;
|
|
26553
|
+
api_secret: string;
|
|
26558
26554
|
}, {
|
|
26559
26555
|
status: Status;
|
|
26560
|
-
e_way_bill_provider_id: string;
|
|
26561
26556
|
organisation_id: string;
|
|
26562
26557
|
user_id: string;
|
|
26563
|
-
|
|
26558
|
+
e_way_bill_provider_id: string;
|
|
26559
|
+
description?: string | undefined;
|
|
26564
26560
|
api_key?: string | undefined;
|
|
26561
|
+
api_client_id?: string | undefined;
|
|
26565
26562
|
api_secret?: string | undefined;
|
|
26566
|
-
description?: string | undefined;
|
|
26567
26563
|
}>;
|
|
26568
26564
|
type EWayBillDetailsDTO = z.infer<typeof EWayBillDetailsSchema>;
|
|
26569
26565
|
declare const EWayBillDetailsQuerySchema: z.ZodObject<{
|
|
@@ -26623,10 +26619,10 @@ declare const EWayBillDetailsQuerySchema: z.ZodObject<{
|
|
|
26623
26619
|
include_master_data: YesNo;
|
|
26624
26620
|
date_format_id: string;
|
|
26625
26621
|
time_zone_id: string;
|
|
26626
|
-
eway_bill_details_ids: string[];
|
|
26627
26622
|
organisation_ids: string[];
|
|
26628
26623
|
user_ids: string[];
|
|
26629
26624
|
e_way_bill_provider_ids: string[];
|
|
26625
|
+
eway_bill_details_ids: string[];
|
|
26630
26626
|
}, {
|
|
26631
26627
|
date_format_id: string;
|
|
26632
26628
|
time_zone_id: string;
|
|
@@ -26649,10 +26645,10 @@ declare const EWayBillDetailsQuerySchema: z.ZodObject<{
|
|
|
26649
26645
|
direction: OrderBy;
|
|
26650
26646
|
}[] | undefined;
|
|
26651
26647
|
include_master_data?: YesNo | undefined;
|
|
26652
|
-
eway_bill_details_ids?: string[] | undefined;
|
|
26653
26648
|
organisation_ids?: string[] | undefined;
|
|
26654
26649
|
user_ids?: string[] | undefined;
|
|
26655
26650
|
e_way_bill_provider_ids?: string[] | undefined;
|
|
26651
|
+
eway_bill_details_ids?: string[] | undefined;
|
|
26656
26652
|
}>;
|
|
26657
26653
|
type EWayBillDetailsQueryDTO = z.infer<typeof EWayBillDetailsQuerySchema>;
|
|
26658
26654
|
declare const toEWayBillDetailsPayload: (row: EWayBillDetails) => EWayBillDetailsDTO;
|