vms-nest-api-document 54.0.0 → 55.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/{fasttag_details-CtfumZO2.d.ts → fasttag_details-DMWrlxyn.d.ts} +18 -18
- package/dist/services/account/analytics/admin_login_analytics_service.d.ts +3 -3
- package/dist/services/account/analytics/driver_login_analytics_service.d.ts +4 -4
- package/dist/services/account/analytics/parent_login_analytics_service.d.ts +3 -3
- package/dist/services/account/analytics/student_login_analytics_service.d.ts +3 -3
- package/dist/services/account/analytics/user_login_analytics_service.d.ts +2 -2
- package/dist/services/account/analytics/user_page_analytics_service.d.ts +2 -2
- package/dist/services/account/analytics/user_report_analytics_service.d.ts +2 -2
- package/dist/services/account/eway_bill_details.d.ts +10 -10
- package/dist/services/account/fasttag_details.d.ts +2 -2
- package/dist/services/account/fasttag_transactions.d.ts +2 -2
- 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/cronjobs.service.d.ts +12 -12
- package/dist/services/core/external_api_push.service.d.ts +11 -11
- package/dist/services/core/external_api_share.service.d.ts +18 -18
- package/dist/services/core/external_api_sync.service.d.ts +12 -12
- package/dist/services/fleet/breakdown_management/breakdown_management_service.d.ts +1 -1
- package/dist/services/fleet/bus_mangement/bus_stop.d.ts +1 -1
- package/dist/services/fleet/bus_mangement/day_run_daily_schedule_api.d.ts +1 -1
- package/dist/services/fleet/bus_mangement/day_run_special_schedule_api.d.ts +1 -1
- package/dist/services/fleet/bus_mangement/master_daily_schedule.d.ts +1 -1
- package/dist/services/fleet/bus_mangement/master_route.d.ts +1 -1
- package/dist/services/fleet/bus_mangement/master_special_schedule.d.ts +1 -1
- package/dist/services/fleet/document_management/document_management_service.d.ts +1 -1
- package/dist/services/fleet/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 +1 -1
- package/dist/services/gps/features/gps_lock_relay_log_service.d.ts +1 -1
- package/dist/services/gps/features/gps_track_history_share_link_service.d.ts +1 -1
- package/dist/services/main/device/master_data_check_service.d.ts +3 -3
- package/dist/services/main/device/master_device_service.d.ts +6 -6
- package/dist/services/main/device/master_traccar_server_service.d.ts +2 -2
- 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 +2 -2
- package/dist/services/master/device/master_device_manufacturer_service.d.ts +1 -1
- package/dist/services/master/device/master_device_model_service.d.ts +1 -1
- package/dist/services/master/device/master_device_type_service.d.ts +1 -1
- package/dist/services/master/expense/master_expense_name_service.d.ts +1 -1
- package/dist/services/master/expense/master_expense_type_service.d.ts +1 -1
- package/dist/services/master/expense/master_fuel_company_service.d.ts +1 -1
- package/dist/services/master/expense/master_vendor_document_type_service.d.ts +1 -1
- package/dist/services/master/expense/master_vendor_tag_service.d.ts +1 -1
- package/dist/services/master/expense/master_vendor_type_service.d.ts +1 -1
- package/dist/services/master/fleet/master_fleet_breakdown_type_service.d.ts +1 -1
- package/dist/services/master/fleet/master_fleet_incident_severity_service.d.ts +1 -1
- package/dist/services/master/fleet/master_fleet_incident_status_service.d.ts +1 -1
- package/dist/services/master/fleet/master_fleet_incident_type_service.d.ts +1 -1
- package/dist/services/master/fleet/master_fleet_insurance_claim_status_service.d.ts +1 -1
- package/dist/services/master/fleet/master_fleet_service_part_service.d.ts +1 -1
- package/dist/services/master/fleet/master_fleet_service_task_service.d.ts +1 -1
- package/dist/services/master/main/master_main_country_service.d.ts +1 -1
- package/dist/services/master/main/master_main_currency_service.d.ts +1 -1
- package/dist/services/master/main/master_main_date_format_service.d.ts +1 -1
- package/dist/services/master/main/master_main_fasttag_bank_service.d.ts +2 -2
- package/dist/services/master/main/master_main_industry_service.d.ts +1 -1
- package/dist/services/master/main/master_main_landmark_service.d.ts +1 -1
- package/dist/services/master/main/master_main_language_service.d.ts +1 -1
- package/dist/services/master/main/master_main_language_service.js +17 -0
- 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_document_type_service.d.ts +1 -1
- package/dist/services/master/vehicle/master_vehicle_fuel_removal_reason_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/dist/{user_organisation_service-CLW4BuYO.d.ts → user_organisation_service-Dbe6Ltod.d.ts} +252 -248
- package/package.json +1 -1
package/dist/{user_organisation_service-CLW4BuYO.d.ts → user_organisation_service-Dbe6Ltod.d.ts}
RENAMED
|
@@ -21,9 +21,9 @@ declare const MasterMainIndustrySchema: z.ZodObject<{
|
|
|
21
21
|
description: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
|
|
22
22
|
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
23
23
|
}, "strip", z.ZodTypeAny, {
|
|
24
|
+
description: string;
|
|
24
25
|
status: Status;
|
|
25
26
|
industry_name: string;
|
|
26
|
-
description: string;
|
|
27
27
|
}, {
|
|
28
28
|
status: Status;
|
|
29
29
|
industry_name: string;
|
|
@@ -269,9 +269,9 @@ declare const MasterUserRoleSchema: z.ZodObject<{
|
|
|
269
269
|
description: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
|
|
270
270
|
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
271
271
|
}, "strip", z.ZodTypeAny, {
|
|
272
|
+
description: string;
|
|
272
273
|
status: Status;
|
|
273
274
|
organisation_id: string;
|
|
274
|
-
description: string;
|
|
275
275
|
user_role: string;
|
|
276
276
|
}, {
|
|
277
277
|
status: Status;
|
|
@@ -395,9 +395,9 @@ declare const MasterUserStatusSchema: z.ZodObject<{
|
|
|
395
395
|
description: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
|
|
396
396
|
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
397
397
|
}, "strip", z.ZodTypeAny, {
|
|
398
|
+
description: string;
|
|
398
399
|
status: Status;
|
|
399
400
|
organisation_id: string;
|
|
400
|
-
description: string;
|
|
401
401
|
user_status: string;
|
|
402
402
|
}, {
|
|
403
403
|
status: Status;
|
|
@@ -502,6 +502,7 @@ interface MasterMainLanguage extends Record<string, unknown> {
|
|
|
502
502
|
language_id: string;
|
|
503
503
|
language_name: string;
|
|
504
504
|
language_code: string;
|
|
505
|
+
sort_order: number;
|
|
505
506
|
status: Status;
|
|
506
507
|
added_date_time: string;
|
|
507
508
|
modified_date_time: string;
|
|
@@ -515,15 +516,18 @@ interface MasterMainLanguage extends Record<string, unknown> {
|
|
|
515
516
|
declare const MasterMainLanguageSchema: z.ZodObject<{
|
|
516
517
|
language_name: z.ZodEffects<z.ZodString, string, string>;
|
|
517
518
|
language_code: z.ZodEffects<z.ZodString, string, string>;
|
|
519
|
+
sort_order: z.ZodEffects<z.ZodNumber, number, unknown>;
|
|
518
520
|
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
519
521
|
}, "strip", z.ZodTypeAny, {
|
|
520
522
|
status: Status;
|
|
521
523
|
language_name: string;
|
|
522
524
|
language_code: string;
|
|
525
|
+
sort_order: number;
|
|
523
526
|
}, {
|
|
524
527
|
status: Status;
|
|
525
528
|
language_name: string;
|
|
526
529
|
language_code: string;
|
|
530
|
+
sort_order?: unknown;
|
|
527
531
|
}>;
|
|
528
532
|
type MasterMainLanguageDTO = z.infer<typeof MasterMainLanguageSchema>;
|
|
529
533
|
declare const MasterMainLanguageQuerySchema: z.ZodObject<{
|
|
@@ -763,9 +767,9 @@ declare const OrganisationSubCompanySchema: z.ZodObject<{
|
|
|
763
767
|
description: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
|
|
764
768
|
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
765
769
|
}, "strip", z.ZodTypeAny, {
|
|
770
|
+
description: string;
|
|
766
771
|
status: Status;
|
|
767
772
|
organisation_id: string;
|
|
768
|
-
description: string;
|
|
769
773
|
logo_key: string;
|
|
770
774
|
logo_url: string;
|
|
771
775
|
logo_name: string;
|
|
@@ -921,9 +925,9 @@ declare const OrganisationBranchSchema: z.ZodObject<{
|
|
|
921
925
|
description: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
|
|
922
926
|
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
923
927
|
}, "strip", z.ZodTypeAny, {
|
|
928
|
+
description: string;
|
|
924
929
|
status: Status;
|
|
925
930
|
organisation_id: string;
|
|
926
|
-
description: string;
|
|
927
931
|
branch_name: string;
|
|
928
932
|
branch_city: string;
|
|
929
933
|
branch_address: string;
|
|
@@ -1056,9 +1060,9 @@ declare const OrganisationColorSchema: z.ZodObject<{
|
|
|
1056
1060
|
description: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
|
|
1057
1061
|
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
1058
1062
|
}, "strip", z.ZodTypeAny, {
|
|
1063
|
+
description: string;
|
|
1059
1064
|
status: Status;
|
|
1060
1065
|
organisation_id: string;
|
|
1061
|
-
description: string;
|
|
1062
1066
|
color_name: string;
|
|
1063
1067
|
color_code: string;
|
|
1064
1068
|
}, {
|
|
@@ -1187,9 +1191,9 @@ declare const OrganisationTagSchema: z.ZodObject<{
|
|
|
1187
1191
|
description: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
|
|
1188
1192
|
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
1189
1193
|
}, "strip", z.ZodTypeAny, {
|
|
1194
|
+
description: string;
|
|
1190
1195
|
status: Status;
|
|
1191
1196
|
organisation_id: string;
|
|
1192
|
-
description: string;
|
|
1193
1197
|
tag_name: string;
|
|
1194
1198
|
}, {
|
|
1195
1199
|
status: Status;
|
|
@@ -1347,7 +1351,7 @@ declare const FleetFuelDailySummarySchema: z.ZodObject<{
|
|
|
1347
1351
|
}, "strip", z.ZodTypeAny, {
|
|
1348
1352
|
status: Status;
|
|
1349
1353
|
organisation_id: string;
|
|
1350
|
-
|
|
1354
|
+
user_id: string;
|
|
1351
1355
|
date: string;
|
|
1352
1356
|
total_km: number;
|
|
1353
1357
|
consumed_fuel_liters: number;
|
|
@@ -1359,14 +1363,14 @@ declare const FleetFuelDailySummarySchema: z.ZodObject<{
|
|
|
1359
1363
|
removal_liters: number;
|
|
1360
1364
|
mileage_kmpl: number;
|
|
1361
1365
|
liters_per_100km: number;
|
|
1362
|
-
|
|
1366
|
+
vehicle_id: string;
|
|
1363
1367
|
driver_id: string;
|
|
1364
1368
|
}, {
|
|
1365
1369
|
status: Status;
|
|
1366
1370
|
organisation_id: string;
|
|
1367
|
-
vehicle_id: string;
|
|
1368
|
-
date: string;
|
|
1369
1371
|
user_id: string;
|
|
1372
|
+
date: string;
|
|
1373
|
+
vehicle_id: string;
|
|
1370
1374
|
driver_id: string;
|
|
1371
1375
|
total_km?: unknown;
|
|
1372
1376
|
consumed_fuel_liters?: unknown;
|
|
@@ -1443,9 +1447,9 @@ declare const FleetFuelDailySummaryQuerySchema: z.ZodObject<{
|
|
|
1443
1447
|
date_format_id: string;
|
|
1444
1448
|
time_zone_id: string;
|
|
1445
1449
|
organisation_ids: string[];
|
|
1446
|
-
vehicle_ids: string[];
|
|
1447
|
-
fleet_fuel_daily_summary_ids: string[];
|
|
1448
1450
|
user_ids: string[];
|
|
1451
|
+
fleet_fuel_daily_summary_ids: string[];
|
|
1452
|
+
vehicle_ids: string[];
|
|
1449
1453
|
driver_ids: string[];
|
|
1450
1454
|
vehicle_summary: YesNo;
|
|
1451
1455
|
day_summary: YesNo;
|
|
@@ -1476,9 +1480,9 @@ declare const FleetFuelDailySummaryQuerySchema: z.ZodObject<{
|
|
|
1476
1480
|
}[] | undefined;
|
|
1477
1481
|
include_master_data?: YesNo | undefined;
|
|
1478
1482
|
organisation_ids?: string[] | undefined;
|
|
1479
|
-
vehicle_ids?: string[] | undefined;
|
|
1480
|
-
fleet_fuel_daily_summary_ids?: string[] | undefined;
|
|
1481
1483
|
user_ids?: string[] | undefined;
|
|
1484
|
+
fleet_fuel_daily_summary_ids?: string[] | undefined;
|
|
1485
|
+
vehicle_ids?: string[] | undefined;
|
|
1482
1486
|
driver_ids?: string[] | undefined;
|
|
1483
1487
|
vehicle_summary?: YesNo | undefined;
|
|
1484
1488
|
day_summary?: YesNo | undefined;
|
|
@@ -1710,9 +1714,9 @@ declare const MasterExpenseNameSchema: z.ZodObject<{
|
|
|
1710
1714
|
description: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
|
|
1711
1715
|
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
1712
1716
|
}, "strip", z.ZodTypeAny, {
|
|
1717
|
+
description: string;
|
|
1713
1718
|
status: Status;
|
|
1714
1719
|
organisation_id: string;
|
|
1715
|
-
description: string;
|
|
1716
1720
|
expense_name: string;
|
|
1717
1721
|
expense_category: ExpenseCategory;
|
|
1718
1722
|
}, {
|
|
@@ -1840,9 +1844,9 @@ declare const MasterFleetIncidentTypeSchema: z.ZodObject<{
|
|
|
1840
1844
|
description: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
|
|
1841
1845
|
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
1842
1846
|
}, "strip", z.ZodTypeAny, {
|
|
1847
|
+
description: string;
|
|
1843
1848
|
status: Status;
|
|
1844
1849
|
organisation_id: string;
|
|
1845
|
-
description: string;
|
|
1846
1850
|
fleet_incident_type: string;
|
|
1847
1851
|
}, {
|
|
1848
1852
|
status: Status;
|
|
@@ -1965,9 +1969,9 @@ declare const MasterFleetIncidentStatusSchema: z.ZodObject<{
|
|
|
1965
1969
|
description: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
|
|
1966
1970
|
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
1967
1971
|
}, "strip", z.ZodTypeAny, {
|
|
1972
|
+
description: string;
|
|
1968
1973
|
status: Status;
|
|
1969
1974
|
organisation_id: string;
|
|
1970
|
-
description: string;
|
|
1971
1975
|
fleet_incident_status: string;
|
|
1972
1976
|
}, {
|
|
1973
1977
|
status: Status;
|
|
@@ -2090,9 +2094,9 @@ declare const MasterFleetIncidentSeveritySchema: z.ZodObject<{
|
|
|
2090
2094
|
description: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
|
|
2091
2095
|
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
2092
2096
|
}, "strip", z.ZodTypeAny, {
|
|
2097
|
+
description: string;
|
|
2093
2098
|
status: Status;
|
|
2094
2099
|
organisation_id: string;
|
|
2095
|
-
description: string;
|
|
2096
2100
|
fleet_incident_severity: string;
|
|
2097
2101
|
}, {
|
|
2098
2102
|
status: Status;
|
|
@@ -2215,9 +2219,9 @@ declare const MasterFleetInsuranceClaimStatusSchema: z.ZodObject<{
|
|
|
2215
2219
|
description: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
|
|
2216
2220
|
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
2217
2221
|
}, "strip", z.ZodTypeAny, {
|
|
2222
|
+
description: string;
|
|
2218
2223
|
status: Status;
|
|
2219
2224
|
organisation_id: string;
|
|
2220
|
-
description: string;
|
|
2221
2225
|
fleet_insurance_claim_status: string;
|
|
2222
2226
|
}, {
|
|
2223
2227
|
status: Status;
|
|
@@ -2460,6 +2464,7 @@ declare const FleetIncidentFileSchema: z.ZodObject<{
|
|
|
2460
2464
|
}, "strip", z.ZodTypeAny, {
|
|
2461
2465
|
status: Status;
|
|
2462
2466
|
organisation_id: string;
|
|
2467
|
+
user_id: string;
|
|
2463
2468
|
usage_type: string;
|
|
2464
2469
|
file_type: FileType;
|
|
2465
2470
|
file_url: string;
|
|
@@ -2468,14 +2473,13 @@ declare const FleetIncidentFileSchema: z.ZodObject<{
|
|
|
2468
2473
|
file_description: string;
|
|
2469
2474
|
file_size: number;
|
|
2470
2475
|
file_metadata: Record<string, any>;
|
|
2471
|
-
user_id: string;
|
|
2472
2476
|
incident_id: string;
|
|
2473
2477
|
}, {
|
|
2474
2478
|
status: Status;
|
|
2475
2479
|
organisation_id: string;
|
|
2480
|
+
user_id: string;
|
|
2476
2481
|
usage_type: string;
|
|
2477
2482
|
file_type: FileType;
|
|
2478
|
-
user_id: string;
|
|
2479
2483
|
incident_id: string;
|
|
2480
2484
|
file_url?: string | undefined;
|
|
2481
2485
|
file_key?: string | undefined;
|
|
@@ -2540,6 +2544,7 @@ declare const FleetIncidentSchema: z.ZodObject<{
|
|
|
2540
2544
|
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
2541
2545
|
status: Status;
|
|
2542
2546
|
organisation_id: string;
|
|
2547
|
+
user_id: string;
|
|
2543
2548
|
usage_type: string;
|
|
2544
2549
|
file_type: FileType;
|
|
2545
2550
|
file_url: string;
|
|
@@ -2548,14 +2553,13 @@ declare const FleetIncidentSchema: z.ZodObject<{
|
|
|
2548
2553
|
file_description: string;
|
|
2549
2554
|
file_size: number;
|
|
2550
2555
|
file_metadata: Record<string, any>;
|
|
2551
|
-
user_id: string;
|
|
2552
2556
|
incident_id: string;
|
|
2553
2557
|
}, {
|
|
2554
2558
|
status: Status;
|
|
2555
2559
|
organisation_id: string;
|
|
2560
|
+
user_id: string;
|
|
2556
2561
|
usage_type: string;
|
|
2557
2562
|
file_type: FileType;
|
|
2558
|
-
user_id: string;
|
|
2559
2563
|
incident_id: string;
|
|
2560
2564
|
file_url?: string | undefined;
|
|
2561
2565
|
file_key?: string | undefined;
|
|
@@ -2568,9 +2572,9 @@ declare const FleetIncidentSchema: z.ZodObject<{
|
|
|
2568
2572
|
}, "strip", z.ZodTypeAny, {
|
|
2569
2573
|
status: Status;
|
|
2570
2574
|
organisation_id: string;
|
|
2571
|
-
vehicle_id: string;
|
|
2572
|
-
time_zone_id: string;
|
|
2573
2575
|
user_id: string;
|
|
2576
|
+
time_zone_id: string;
|
|
2577
|
+
vehicle_id: string;
|
|
2574
2578
|
driver_id: string;
|
|
2575
2579
|
fleet_incident_type_id: string;
|
|
2576
2580
|
fleet_incident_status_id: string;
|
|
@@ -2603,6 +2607,7 @@ declare const FleetIncidentSchema: z.ZodObject<{
|
|
|
2603
2607
|
FleetIncidentFileSchema: {
|
|
2604
2608
|
status: Status;
|
|
2605
2609
|
organisation_id: string;
|
|
2610
|
+
user_id: string;
|
|
2606
2611
|
usage_type: string;
|
|
2607
2612
|
file_type: FileType;
|
|
2608
2613
|
file_url: string;
|
|
@@ -2611,7 +2616,6 @@ declare const FleetIncidentSchema: z.ZodObject<{
|
|
|
2611
2616
|
file_description: string;
|
|
2612
2617
|
file_size: number;
|
|
2613
2618
|
file_metadata: Record<string, any>;
|
|
2614
|
-
user_id: string;
|
|
2615
2619
|
incident_id: string;
|
|
2616
2620
|
}[];
|
|
2617
2621
|
latitude?: number | undefined;
|
|
@@ -2621,9 +2625,9 @@ declare const FleetIncidentSchema: z.ZodObject<{
|
|
|
2621
2625
|
}, {
|
|
2622
2626
|
status: Status;
|
|
2623
2627
|
organisation_id: string;
|
|
2624
|
-
vehicle_id: string;
|
|
2625
|
-
time_zone_id: string;
|
|
2626
2628
|
user_id: string;
|
|
2629
|
+
time_zone_id: string;
|
|
2630
|
+
vehicle_id: string;
|
|
2627
2631
|
driver_id: string;
|
|
2628
2632
|
fleet_incident_type_id: string;
|
|
2629
2633
|
fleet_incident_status_id: string;
|
|
@@ -2660,9 +2664,9 @@ declare const FleetIncidentSchema: z.ZodObject<{
|
|
|
2660
2664
|
FleetIncidentFileSchema?: {
|
|
2661
2665
|
status: Status;
|
|
2662
2666
|
organisation_id: string;
|
|
2667
|
+
user_id: string;
|
|
2663
2668
|
usage_type: string;
|
|
2664
2669
|
file_type: FileType;
|
|
2665
|
-
user_id: string;
|
|
2666
2670
|
incident_id: string;
|
|
2667
2671
|
file_url?: string | undefined;
|
|
2668
2672
|
file_key?: string | undefined;
|
|
@@ -2748,8 +2752,8 @@ declare const FleetIncidentQuerySchema: z.ZodObject<{
|
|
|
2748
2752
|
date_format_id: string;
|
|
2749
2753
|
time_zone_id: string;
|
|
2750
2754
|
organisation_ids: string[];
|
|
2751
|
-
vehicle_ids: string[];
|
|
2752
2755
|
user_ids: string[];
|
|
2756
|
+
vehicle_ids: string[];
|
|
2753
2757
|
driver_ids: string[];
|
|
2754
2758
|
from_date: string;
|
|
2755
2759
|
to_date: string;
|
|
@@ -2793,8 +2797,8 @@ declare const FleetIncidentQuerySchema: z.ZodObject<{
|
|
|
2793
2797
|
}[] | undefined;
|
|
2794
2798
|
include_master_data?: YesNo | undefined;
|
|
2795
2799
|
organisation_ids?: string[] | undefined;
|
|
2796
|
-
vehicle_ids?: string[] | undefined;
|
|
2797
2800
|
user_ids?: string[] | undefined;
|
|
2801
|
+
vehicle_ids?: string[] | undefined;
|
|
2798
2802
|
driver_ids?: string[] | undefined;
|
|
2799
2803
|
fleet_incident_type_ids?: string[] | undefined;
|
|
2800
2804
|
fleet_incident_status_ids?: string[] | undefined;
|
|
@@ -2915,8 +2919,8 @@ declare const FleetIncidentCostSchema: z.ZodObject<{
|
|
|
2915
2919
|
}, "strip", z.ZodTypeAny, {
|
|
2916
2920
|
status: Status;
|
|
2917
2921
|
organisation_id: string;
|
|
2918
|
-
time_zone_id: string;
|
|
2919
2922
|
user_id: string;
|
|
2923
|
+
time_zone_id: string;
|
|
2920
2924
|
expense_name_id: string;
|
|
2921
2925
|
incident_id: string;
|
|
2922
2926
|
incident_cost_date: string;
|
|
@@ -2925,8 +2929,8 @@ declare const FleetIncidentCostSchema: z.ZodObject<{
|
|
|
2925
2929
|
}, {
|
|
2926
2930
|
status: Status;
|
|
2927
2931
|
organisation_id: string;
|
|
2928
|
-
time_zone_id: string;
|
|
2929
2932
|
user_id: string;
|
|
2933
|
+
time_zone_id: string;
|
|
2930
2934
|
expense_name_id: string;
|
|
2931
2935
|
incident_id: string;
|
|
2932
2936
|
incident_cost_date?: string | undefined;
|
|
@@ -3399,9 +3403,9 @@ declare const MasterFuelCompanySchema: z.ZodObject<{
|
|
|
3399
3403
|
description: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
|
|
3400
3404
|
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
3401
3405
|
}, "strip", z.ZodTypeAny, {
|
|
3406
|
+
description: string;
|
|
3402
3407
|
status: Status;
|
|
3403
3408
|
organisation_id: string;
|
|
3404
|
-
description: string;
|
|
3405
3409
|
country_id: string;
|
|
3406
3410
|
logo_key: string;
|
|
3407
3411
|
logo_url: string;
|
|
@@ -3845,9 +3849,9 @@ declare const MasterVendorTypeSchema: z.ZodObject<{
|
|
|
3845
3849
|
description: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
|
|
3846
3850
|
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
3847
3851
|
}, "strip", z.ZodTypeAny, {
|
|
3852
|
+
description: string;
|
|
3848
3853
|
status: Status;
|
|
3849
3854
|
organisation_id: string;
|
|
3850
|
-
description: string;
|
|
3851
3855
|
vendor_type: string;
|
|
3852
3856
|
}, {
|
|
3853
3857
|
status: Status;
|
|
@@ -3966,9 +3970,9 @@ declare const MasterVendorTagSchema: z.ZodObject<{
|
|
|
3966
3970
|
description: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
|
|
3967
3971
|
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
3968
3972
|
}, "strip", z.ZodTypeAny, {
|
|
3973
|
+
description: string;
|
|
3969
3974
|
status: Status;
|
|
3970
3975
|
organisation_id: string;
|
|
3971
|
-
description: string;
|
|
3972
3976
|
vendor_tag: string;
|
|
3973
3977
|
}, {
|
|
3974
3978
|
status: Status;
|
|
@@ -4087,9 +4091,9 @@ declare const MasterVendorDocumentTypeSchema: z.ZodObject<{
|
|
|
4087
4091
|
description: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
|
|
4088
4092
|
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
4089
4093
|
}, "strip", z.ZodTypeAny, {
|
|
4094
|
+
description: string;
|
|
4090
4095
|
status: Status;
|
|
4091
4096
|
organisation_id: string;
|
|
4092
|
-
description: string;
|
|
4093
4097
|
document_type: string;
|
|
4094
4098
|
}, {
|
|
4095
4099
|
status: Status;
|
|
@@ -4511,6 +4515,7 @@ declare const FleetVendorDocumentFileSchema: z.ZodObject<{
|
|
|
4511
4515
|
}, "strip", z.ZodTypeAny, {
|
|
4512
4516
|
status: Status;
|
|
4513
4517
|
organisation_id: string;
|
|
4518
|
+
user_id: string;
|
|
4514
4519
|
usage_type: string;
|
|
4515
4520
|
file_type: FileType;
|
|
4516
4521
|
file_url: string;
|
|
@@ -4519,14 +4524,13 @@ declare const FleetVendorDocumentFileSchema: z.ZodObject<{
|
|
|
4519
4524
|
file_description: string;
|
|
4520
4525
|
file_size: number;
|
|
4521
4526
|
file_metadata: Record<string, any>;
|
|
4522
|
-
user_id: string;
|
|
4523
4527
|
fleet_vendor_document_id: string;
|
|
4524
4528
|
}, {
|
|
4525
4529
|
status: Status;
|
|
4526
4530
|
organisation_id: string;
|
|
4531
|
+
user_id: string;
|
|
4527
4532
|
usage_type: string;
|
|
4528
4533
|
file_type: FileType;
|
|
4529
|
-
user_id: string;
|
|
4530
4534
|
fleet_vendor_document_id: string;
|
|
4531
4535
|
file_url?: string | undefined;
|
|
4532
4536
|
file_key?: string | undefined;
|
|
@@ -4562,10 +4566,10 @@ declare const FleetVendorSchema: z.ZodObject<{
|
|
|
4562
4566
|
}, "strip", z.ZodTypeAny, {
|
|
4563
4567
|
status: Status;
|
|
4564
4568
|
organisation_id: string;
|
|
4569
|
+
user_id: string;
|
|
4565
4570
|
logo_key: string;
|
|
4566
4571
|
logo_url: string;
|
|
4567
4572
|
logo_name: string;
|
|
4568
|
-
user_id: string;
|
|
4569
4573
|
vendor_name: string;
|
|
4570
4574
|
vendor_code: string;
|
|
4571
4575
|
vendor_type_ids: string[];
|
|
@@ -4877,12 +4881,12 @@ declare const FleetVendorBankAccountSchema: z.ZodObject<{
|
|
|
4877
4881
|
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
4878
4882
|
}, "strip", z.ZodTypeAny, {
|
|
4879
4883
|
status: Status;
|
|
4880
|
-
bank_name: string;
|
|
4881
4884
|
organisation_id: string;
|
|
4882
|
-
branch_name: string;
|
|
4883
4885
|
user_id: string;
|
|
4886
|
+
branch_name: string;
|
|
4884
4887
|
notes: string;
|
|
4885
4888
|
vendor_id: string;
|
|
4889
|
+
bank_name: string;
|
|
4886
4890
|
account_holder_name: string;
|
|
4887
4891
|
account_number: string;
|
|
4888
4892
|
account_type: BankAccountType;
|
|
@@ -4899,9 +4903,9 @@ declare const FleetVendorBankAccountSchema: z.ZodObject<{
|
|
|
4899
4903
|
account_number: string;
|
|
4900
4904
|
account_type: BankAccountType;
|
|
4901
4905
|
is_primary: YesNo;
|
|
4902
|
-
bank_name?: string | undefined;
|
|
4903
4906
|
branch_name?: string | undefined;
|
|
4904
4907
|
notes?: string | undefined;
|
|
4908
|
+
bank_name?: string | undefined;
|
|
4905
4909
|
account_holder_name?: string | undefined;
|
|
4906
4910
|
ifsc_code?: string | undefined;
|
|
4907
4911
|
swift_code?: string | undefined;
|
|
@@ -5024,9 +5028,9 @@ declare const FleetVendorContactPersonSchema: z.ZodObject<{
|
|
|
5024
5028
|
}, "strip", z.ZodTypeAny, {
|
|
5025
5029
|
status: Status;
|
|
5026
5030
|
organisation_id: string;
|
|
5031
|
+
user_id: string;
|
|
5027
5032
|
name: string;
|
|
5028
5033
|
branch_name: string;
|
|
5029
|
-
user_id: string;
|
|
5030
5034
|
notes: string;
|
|
5031
5035
|
vendor_id: string;
|
|
5032
5036
|
is_primary: YesNo;
|
|
@@ -5041,8 +5045,8 @@ declare const FleetVendorContactPersonSchema: z.ZodObject<{
|
|
|
5041
5045
|
}, {
|
|
5042
5046
|
status: Status;
|
|
5043
5047
|
organisation_id: string;
|
|
5044
|
-
name: string;
|
|
5045
5048
|
user_id: string;
|
|
5049
|
+
name: string;
|
|
5046
5050
|
vendor_id: string;
|
|
5047
5051
|
is_primary: YesNo;
|
|
5048
5052
|
branch_name?: string | undefined;
|
|
@@ -5289,6 +5293,7 @@ declare const FleetVendorDocumentSchema: z.ZodObject<{
|
|
|
5289
5293
|
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
5290
5294
|
status: Status;
|
|
5291
5295
|
organisation_id: string;
|
|
5296
|
+
user_id: string;
|
|
5292
5297
|
usage_type: string;
|
|
5293
5298
|
file_type: FileType;
|
|
5294
5299
|
file_url: string;
|
|
@@ -5297,14 +5302,13 @@ declare const FleetVendorDocumentSchema: z.ZodObject<{
|
|
|
5297
5302
|
file_description: string;
|
|
5298
5303
|
file_size: number;
|
|
5299
5304
|
file_metadata: Record<string, any>;
|
|
5300
|
-
user_id: string;
|
|
5301
5305
|
fleet_vendor_document_id: string;
|
|
5302
5306
|
}, {
|
|
5303
5307
|
status: Status;
|
|
5304
5308
|
organisation_id: string;
|
|
5309
|
+
user_id: string;
|
|
5305
5310
|
usage_type: string;
|
|
5306
5311
|
file_type: FileType;
|
|
5307
|
-
user_id: string;
|
|
5308
5312
|
fleet_vendor_document_id: string;
|
|
5309
5313
|
file_url?: string | undefined;
|
|
5310
5314
|
file_key?: string | undefined;
|
|
@@ -5318,8 +5322,8 @@ declare const FleetVendorDocumentSchema: z.ZodObject<{
|
|
|
5318
5322
|
}, "strip", z.ZodTypeAny, {
|
|
5319
5323
|
status: Status;
|
|
5320
5324
|
organisation_id: string;
|
|
5321
|
-
time_zone_id: string;
|
|
5322
5325
|
user_id: string;
|
|
5326
|
+
time_zone_id: string;
|
|
5323
5327
|
vendor_id: string;
|
|
5324
5328
|
document_type_id: string;
|
|
5325
5329
|
document_name: string;
|
|
@@ -5331,6 +5335,7 @@ declare const FleetVendorDocumentSchema: z.ZodObject<{
|
|
|
5331
5335
|
FleetVendorDocumentFileSchema: {
|
|
5332
5336
|
status: Status;
|
|
5333
5337
|
organisation_id: string;
|
|
5338
|
+
user_id: string;
|
|
5334
5339
|
usage_type: string;
|
|
5335
5340
|
file_type: FileType;
|
|
5336
5341
|
file_url: string;
|
|
@@ -5339,14 +5344,13 @@ declare const FleetVendorDocumentSchema: z.ZodObject<{
|
|
|
5339
5344
|
file_description: string;
|
|
5340
5345
|
file_size: number;
|
|
5341
5346
|
file_metadata: Record<string, any>;
|
|
5342
|
-
user_id: string;
|
|
5343
5347
|
fleet_vendor_document_id: string;
|
|
5344
5348
|
}[];
|
|
5345
5349
|
}, {
|
|
5346
5350
|
status: Status;
|
|
5347
5351
|
organisation_id: string;
|
|
5348
|
-
time_zone_id: string;
|
|
5349
5352
|
user_id: string;
|
|
5353
|
+
time_zone_id: string;
|
|
5350
5354
|
vendor_id: string;
|
|
5351
5355
|
document_type_id: string;
|
|
5352
5356
|
document_name: string;
|
|
@@ -5358,9 +5362,9 @@ declare const FleetVendorDocumentSchema: z.ZodObject<{
|
|
|
5358
5362
|
FleetVendorDocumentFileSchema?: {
|
|
5359
5363
|
status: Status;
|
|
5360
5364
|
organisation_id: string;
|
|
5365
|
+
user_id: string;
|
|
5361
5366
|
usage_type: string;
|
|
5362
5367
|
file_type: FileType;
|
|
5363
|
-
user_id: string;
|
|
5364
5368
|
fleet_vendor_document_id: string;
|
|
5365
5369
|
file_url?: string | undefined;
|
|
5366
5370
|
file_key?: string | undefined;
|
|
@@ -5871,9 +5875,9 @@ declare const MasterFleetServiceTaskSchema: z.ZodObject<{
|
|
|
5871
5875
|
description: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
|
|
5872
5876
|
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
5873
5877
|
}, "strip", z.ZodTypeAny, {
|
|
5878
|
+
description: string;
|
|
5874
5879
|
status: Status;
|
|
5875
5880
|
organisation_id: string;
|
|
5876
|
-
description: string;
|
|
5877
5881
|
fleet_service_task: string;
|
|
5878
5882
|
}, {
|
|
5879
5883
|
status: Status;
|
|
@@ -5998,9 +6002,9 @@ declare const MasterFleetServicePartSchema: z.ZodObject<{
|
|
|
5998
6002
|
part_amount: z.ZodOptional<z.ZodEffects<z.ZodDefault<z.ZodNumber>, number, unknown>>;
|
|
5999
6003
|
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
6000
6004
|
}, "strip", z.ZodTypeAny, {
|
|
6005
|
+
description: string;
|
|
6001
6006
|
status: Status;
|
|
6002
6007
|
organisation_id: string;
|
|
6003
|
-
description: string;
|
|
6004
6008
|
part_name: string;
|
|
6005
6009
|
part_amount?: number | undefined;
|
|
6006
6010
|
}, {
|
|
@@ -6269,6 +6273,7 @@ declare const FleetServiceFileSchema: z.ZodObject<{
|
|
|
6269
6273
|
}, "strip", z.ZodTypeAny, {
|
|
6270
6274
|
status: Status;
|
|
6271
6275
|
organisation_id: string;
|
|
6276
|
+
user_id: string;
|
|
6272
6277
|
usage_type: string;
|
|
6273
6278
|
file_type: FileType;
|
|
6274
6279
|
file_url: string;
|
|
@@ -6277,14 +6282,13 @@ declare const FleetServiceFileSchema: z.ZodObject<{
|
|
|
6277
6282
|
file_description: string;
|
|
6278
6283
|
file_size: number;
|
|
6279
6284
|
file_metadata: Record<string, any>;
|
|
6280
|
-
user_id: string;
|
|
6281
6285
|
service_id: string;
|
|
6282
6286
|
}, {
|
|
6283
6287
|
status: Status;
|
|
6284
6288
|
organisation_id: string;
|
|
6289
|
+
user_id: string;
|
|
6285
6290
|
usage_type: string;
|
|
6286
6291
|
file_type: FileType;
|
|
6287
|
-
user_id: string;
|
|
6288
6292
|
service_id: string;
|
|
6289
6293
|
file_url?: string | undefined;
|
|
6290
6294
|
file_key?: string | undefined;
|
|
@@ -6345,6 +6349,7 @@ declare const FleetServiceSchema: z.ZodObject<{
|
|
|
6345
6349
|
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
6346
6350
|
status: Status;
|
|
6347
6351
|
organisation_id: string;
|
|
6352
|
+
user_id: string;
|
|
6348
6353
|
usage_type: string;
|
|
6349
6354
|
file_type: FileType;
|
|
6350
6355
|
file_url: string;
|
|
@@ -6353,14 +6358,13 @@ declare const FleetServiceSchema: z.ZodObject<{
|
|
|
6353
6358
|
file_description: string;
|
|
6354
6359
|
file_size: number;
|
|
6355
6360
|
file_metadata: Record<string, any>;
|
|
6356
|
-
user_id: string;
|
|
6357
6361
|
service_id: string;
|
|
6358
6362
|
}, {
|
|
6359
6363
|
status: Status;
|
|
6360
6364
|
organisation_id: string;
|
|
6365
|
+
user_id: string;
|
|
6361
6366
|
usage_type: string;
|
|
6362
6367
|
file_type: FileType;
|
|
6363
|
-
user_id: string;
|
|
6364
6368
|
service_id: string;
|
|
6365
6369
|
file_url?: string | undefined;
|
|
6366
6370
|
file_key?: string | undefined;
|
|
@@ -6373,9 +6377,9 @@ declare const FleetServiceSchema: z.ZodObject<{
|
|
|
6373
6377
|
}, "strip", z.ZodTypeAny, {
|
|
6374
6378
|
status: Status;
|
|
6375
6379
|
organisation_id: string;
|
|
6376
|
-
vehicle_id: string;
|
|
6377
|
-
time_zone_id: string;
|
|
6378
6380
|
user_id: string;
|
|
6381
|
+
time_zone_id: string;
|
|
6382
|
+
vehicle_id: string;
|
|
6379
6383
|
driver_id: string;
|
|
6380
6384
|
odometer_reading: number;
|
|
6381
6385
|
service_center_id: string;
|
|
@@ -6401,6 +6405,7 @@ declare const FleetServiceSchema: z.ZodObject<{
|
|
|
6401
6405
|
FleetServiceFileSchema: {
|
|
6402
6406
|
status: Status;
|
|
6403
6407
|
organisation_id: string;
|
|
6408
|
+
user_id: string;
|
|
6404
6409
|
usage_type: string;
|
|
6405
6410
|
file_type: FileType;
|
|
6406
6411
|
file_url: string;
|
|
@@ -6409,7 +6414,6 @@ declare const FleetServiceSchema: z.ZodObject<{
|
|
|
6409
6414
|
file_description: string;
|
|
6410
6415
|
file_size: number;
|
|
6411
6416
|
file_metadata: Record<string, any>;
|
|
6412
|
-
user_id: string;
|
|
6413
6417
|
service_id: string;
|
|
6414
6418
|
}[];
|
|
6415
6419
|
fuel?: number | undefined;
|
|
@@ -6422,9 +6426,9 @@ declare const FleetServiceSchema: z.ZodObject<{
|
|
|
6422
6426
|
}, {
|
|
6423
6427
|
status: Status;
|
|
6424
6428
|
organisation_id: string;
|
|
6425
|
-
vehicle_id: string;
|
|
6426
|
-
time_zone_id: string;
|
|
6427
6429
|
user_id: string;
|
|
6430
|
+
time_zone_id: string;
|
|
6431
|
+
vehicle_id: string;
|
|
6428
6432
|
driver_id: string;
|
|
6429
6433
|
service_center_id: string;
|
|
6430
6434
|
vendor_id: string;
|
|
@@ -6457,9 +6461,9 @@ declare const FleetServiceSchema: z.ZodObject<{
|
|
|
6457
6461
|
FleetServiceFileSchema?: {
|
|
6458
6462
|
status: Status;
|
|
6459
6463
|
organisation_id: string;
|
|
6464
|
+
user_id: string;
|
|
6460
6465
|
usage_type: string;
|
|
6461
6466
|
file_type: FileType;
|
|
6462
|
-
user_id: string;
|
|
6463
6467
|
service_id: string;
|
|
6464
6468
|
file_url?: string | undefined;
|
|
6465
6469
|
file_key?: string | undefined;
|
|
@@ -6539,8 +6543,8 @@ declare const FleetServiceQuerySchema: z.ZodObject<{
|
|
|
6539
6543
|
date_format_id: string;
|
|
6540
6544
|
time_zone_id: string;
|
|
6541
6545
|
organisation_ids: string[];
|
|
6542
|
-
vehicle_ids: string[];
|
|
6543
6546
|
user_ids: string[];
|
|
6547
|
+
vehicle_ids: string[];
|
|
6544
6548
|
driver_ids: string[];
|
|
6545
6549
|
from_date: string;
|
|
6546
6550
|
to_date: string;
|
|
@@ -6578,8 +6582,8 @@ declare const FleetServiceQuerySchema: z.ZodObject<{
|
|
|
6578
6582
|
}[] | undefined;
|
|
6579
6583
|
include_master_data?: YesNo | undefined;
|
|
6580
6584
|
organisation_ids?: string[] | undefined;
|
|
6581
|
-
vehicle_ids?: string[] | undefined;
|
|
6582
6585
|
user_ids?: string[] | undefined;
|
|
6586
|
+
vehicle_ids?: string[] | undefined;
|
|
6583
6587
|
driver_ids?: string[] | undefined;
|
|
6584
6588
|
service_center_ids?: string[] | undefined;
|
|
6585
6589
|
vendor_ids?: string[] | undefined;
|
|
@@ -7189,6 +7193,7 @@ declare const FleetInspectionFileSchema: z.ZodObject<{
|
|
|
7189
7193
|
}, "strip", z.ZodTypeAny, {
|
|
7190
7194
|
status: Status;
|
|
7191
7195
|
organisation_id: string;
|
|
7196
|
+
user_id: string;
|
|
7192
7197
|
usage_type: string;
|
|
7193
7198
|
file_type: FileType;
|
|
7194
7199
|
file_url: string;
|
|
@@ -7197,14 +7202,13 @@ declare const FleetInspectionFileSchema: z.ZodObject<{
|
|
|
7197
7202
|
file_description: string;
|
|
7198
7203
|
file_size: number;
|
|
7199
7204
|
file_metadata: Record<string, any>;
|
|
7200
|
-
user_id: string;
|
|
7201
7205
|
inspection_id: string;
|
|
7202
7206
|
}, {
|
|
7203
7207
|
status: Status;
|
|
7204
7208
|
organisation_id: string;
|
|
7209
|
+
user_id: string;
|
|
7205
7210
|
usage_type: string;
|
|
7206
7211
|
file_type: FileType;
|
|
7207
|
-
user_id: string;
|
|
7208
7212
|
inspection_id: string;
|
|
7209
7213
|
file_url?: string | undefined;
|
|
7210
7214
|
file_key?: string | undefined;
|
|
@@ -7249,6 +7253,7 @@ declare const FleetInspectionSchema: z.ZodObject<{
|
|
|
7249
7253
|
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
7250
7254
|
status: Status;
|
|
7251
7255
|
organisation_id: string;
|
|
7256
|
+
user_id: string;
|
|
7252
7257
|
usage_type: string;
|
|
7253
7258
|
file_type: FileType;
|
|
7254
7259
|
file_url: string;
|
|
@@ -7257,14 +7262,13 @@ declare const FleetInspectionSchema: z.ZodObject<{
|
|
|
7257
7262
|
file_description: string;
|
|
7258
7263
|
file_size: number;
|
|
7259
7264
|
file_metadata: Record<string, any>;
|
|
7260
|
-
user_id: string;
|
|
7261
7265
|
inspection_id: string;
|
|
7262
7266
|
}, {
|
|
7263
7267
|
status: Status;
|
|
7264
7268
|
organisation_id: string;
|
|
7269
|
+
user_id: string;
|
|
7265
7270
|
usage_type: string;
|
|
7266
7271
|
file_type: FileType;
|
|
7267
|
-
user_id: string;
|
|
7268
7272
|
inspection_id: string;
|
|
7269
7273
|
file_url?: string | undefined;
|
|
7270
7274
|
file_key?: string | undefined;
|
|
@@ -7277,9 +7281,9 @@ declare const FleetInspectionSchema: z.ZodObject<{
|
|
|
7277
7281
|
}, "strip", z.ZodTypeAny, {
|
|
7278
7282
|
status: Status;
|
|
7279
7283
|
organisation_id: string;
|
|
7280
|
-
vehicle_id: string;
|
|
7281
|
-
time_zone_id: string;
|
|
7282
7284
|
user_id: string;
|
|
7285
|
+
time_zone_id: string;
|
|
7286
|
+
vehicle_id: string;
|
|
7283
7287
|
driver_id: string;
|
|
7284
7288
|
odometer_reading: number;
|
|
7285
7289
|
google_location: string;
|
|
@@ -7294,6 +7298,7 @@ declare const FleetInspectionSchema: z.ZodObject<{
|
|
|
7294
7298
|
FleetInspectionFileSchema: {
|
|
7295
7299
|
status: Status;
|
|
7296
7300
|
organisation_id: string;
|
|
7301
|
+
user_id: string;
|
|
7297
7302
|
usage_type: string;
|
|
7298
7303
|
file_type: FileType;
|
|
7299
7304
|
file_url: string;
|
|
@@ -7302,7 +7307,6 @@ declare const FleetInspectionSchema: z.ZodObject<{
|
|
|
7302
7307
|
file_description: string;
|
|
7303
7308
|
file_size: number;
|
|
7304
7309
|
file_metadata: Record<string, any>;
|
|
7305
|
-
user_id: string;
|
|
7306
7310
|
inspection_id: string;
|
|
7307
7311
|
}[];
|
|
7308
7312
|
latitude?: number | undefined;
|
|
@@ -7310,9 +7314,9 @@ declare const FleetInspectionSchema: z.ZodObject<{
|
|
|
7310
7314
|
}, {
|
|
7311
7315
|
status: Status;
|
|
7312
7316
|
organisation_id: string;
|
|
7313
|
-
vehicle_id: string;
|
|
7314
|
-
time_zone_id: string;
|
|
7315
7317
|
user_id: string;
|
|
7318
|
+
time_zone_id: string;
|
|
7319
|
+
vehicle_id: string;
|
|
7316
7320
|
driver_id: string;
|
|
7317
7321
|
service_id: string;
|
|
7318
7322
|
inspection_form_id: string;
|
|
@@ -7329,9 +7333,9 @@ declare const FleetInspectionSchema: z.ZodObject<{
|
|
|
7329
7333
|
FleetInspectionFileSchema?: {
|
|
7330
7334
|
status: Status;
|
|
7331
7335
|
organisation_id: string;
|
|
7336
|
+
user_id: string;
|
|
7332
7337
|
usage_type: string;
|
|
7333
7338
|
file_type: FileType;
|
|
7334
|
-
user_id: string;
|
|
7335
7339
|
inspection_id: string;
|
|
7336
7340
|
file_url?: string | undefined;
|
|
7337
7341
|
file_key?: string | undefined;
|
|
@@ -7408,8 +7412,8 @@ declare const FleetInspectionQuerySchema: z.ZodObject<{
|
|
|
7408
7412
|
date_format_id: string;
|
|
7409
7413
|
time_zone_id: string;
|
|
7410
7414
|
organisation_ids: string[];
|
|
7411
|
-
vehicle_ids: string[];
|
|
7412
7415
|
user_ids: string[];
|
|
7416
|
+
vehicle_ids: string[];
|
|
7413
7417
|
driver_ids: string[];
|
|
7414
7418
|
from_date: string;
|
|
7415
7419
|
to_date: string;
|
|
@@ -7444,8 +7448,8 @@ declare const FleetInspectionQuerySchema: z.ZodObject<{
|
|
|
7444
7448
|
}[] | undefined;
|
|
7445
7449
|
include_master_data?: YesNo | undefined;
|
|
7446
7450
|
organisation_ids?: string[] | undefined;
|
|
7447
|
-
vehicle_ids?: string[] | undefined;
|
|
7448
7451
|
user_ids?: string[] | undefined;
|
|
7452
|
+
vehicle_ids?: string[] | undefined;
|
|
7449
7453
|
driver_ids?: string[] | undefined;
|
|
7450
7454
|
service_ids?: string[] | undefined;
|
|
7451
7455
|
inspection_form_ids?: string[] | undefined;
|
|
@@ -7685,6 +7689,7 @@ declare const FleetIssueFileSchema: z.ZodObject<{
|
|
|
7685
7689
|
}, "strip", z.ZodTypeAny, {
|
|
7686
7690
|
status: Status;
|
|
7687
7691
|
organisation_id: string;
|
|
7692
|
+
user_id: string;
|
|
7688
7693
|
usage_type: string;
|
|
7689
7694
|
file_type: FileType;
|
|
7690
7695
|
file_url: string;
|
|
@@ -7693,14 +7698,13 @@ declare const FleetIssueFileSchema: z.ZodObject<{
|
|
|
7693
7698
|
file_description: string;
|
|
7694
7699
|
file_size: number;
|
|
7695
7700
|
file_metadata: Record<string, any>;
|
|
7696
|
-
user_id: string;
|
|
7697
7701
|
issue_id: string;
|
|
7698
7702
|
}, {
|
|
7699
7703
|
status: Status;
|
|
7700
7704
|
organisation_id: string;
|
|
7705
|
+
user_id: string;
|
|
7701
7706
|
usage_type: string;
|
|
7702
7707
|
file_type: FileType;
|
|
7703
|
-
user_id: string;
|
|
7704
7708
|
issue_id: string;
|
|
7705
7709
|
file_url?: string | undefined;
|
|
7706
7710
|
file_key?: string | undefined;
|
|
@@ -7747,6 +7751,7 @@ declare const FleetIssueSchema: z.ZodObject<{
|
|
|
7747
7751
|
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
7748
7752
|
status: Status;
|
|
7749
7753
|
organisation_id: string;
|
|
7754
|
+
user_id: string;
|
|
7750
7755
|
usage_type: string;
|
|
7751
7756
|
file_type: FileType;
|
|
7752
7757
|
file_url: string;
|
|
@@ -7755,14 +7760,13 @@ declare const FleetIssueSchema: z.ZodObject<{
|
|
|
7755
7760
|
file_description: string;
|
|
7756
7761
|
file_size: number;
|
|
7757
7762
|
file_metadata: Record<string, any>;
|
|
7758
|
-
user_id: string;
|
|
7759
7763
|
issue_id: string;
|
|
7760
7764
|
}, {
|
|
7761
7765
|
status: Status;
|
|
7762
7766
|
organisation_id: string;
|
|
7767
|
+
user_id: string;
|
|
7763
7768
|
usage_type: string;
|
|
7764
7769
|
file_type: FileType;
|
|
7765
|
-
user_id: string;
|
|
7766
7770
|
issue_id: string;
|
|
7767
7771
|
file_url?: string | undefined;
|
|
7768
7772
|
file_key?: string | undefined;
|
|
@@ -7776,9 +7780,9 @@ declare const FleetIssueSchema: z.ZodObject<{
|
|
|
7776
7780
|
}, "strip", z.ZodTypeAny, {
|
|
7777
7781
|
status: Status;
|
|
7778
7782
|
organisation_id: string;
|
|
7779
|
-
vehicle_id: string;
|
|
7780
|
-
time_zone_id: string;
|
|
7781
7783
|
user_id: string;
|
|
7784
|
+
time_zone_id: string;
|
|
7785
|
+
vehicle_id: string;
|
|
7782
7786
|
driver_id: string;
|
|
7783
7787
|
incident_id: string;
|
|
7784
7788
|
odometer_reading: number;
|
|
@@ -7798,6 +7802,7 @@ declare const FleetIssueSchema: z.ZodObject<{
|
|
|
7798
7802
|
FleetIssueFileSchema: {
|
|
7799
7803
|
status: Status;
|
|
7800
7804
|
organisation_id: string;
|
|
7805
|
+
user_id: string;
|
|
7801
7806
|
usage_type: string;
|
|
7802
7807
|
file_type: FileType;
|
|
7803
7808
|
file_url: string;
|
|
@@ -7806,15 +7811,14 @@ declare const FleetIssueSchema: z.ZodObject<{
|
|
|
7806
7811
|
file_description: string;
|
|
7807
7812
|
file_size: number;
|
|
7808
7813
|
file_metadata: Record<string, any>;
|
|
7809
|
-
user_id: string;
|
|
7810
7814
|
issue_id: string;
|
|
7811
7815
|
}[];
|
|
7812
7816
|
}, {
|
|
7813
7817
|
status: Status;
|
|
7814
7818
|
organisation_id: string;
|
|
7815
|
-
vehicle_id: string;
|
|
7816
|
-
time_zone_id: string;
|
|
7817
7819
|
user_id: string;
|
|
7820
|
+
time_zone_id: string;
|
|
7821
|
+
vehicle_id: string;
|
|
7818
7822
|
driver_id: string;
|
|
7819
7823
|
incident_id: string;
|
|
7820
7824
|
service_id: string;
|
|
@@ -7834,9 +7838,9 @@ declare const FleetIssueSchema: z.ZodObject<{
|
|
|
7834
7838
|
FleetIssueFileSchema?: {
|
|
7835
7839
|
status: Status;
|
|
7836
7840
|
organisation_id: string;
|
|
7841
|
+
user_id: string;
|
|
7837
7842
|
usage_type: string;
|
|
7838
7843
|
file_type: FileType;
|
|
7839
|
-
user_id: string;
|
|
7840
7844
|
issue_id: string;
|
|
7841
7845
|
file_url?: string | undefined;
|
|
7842
7846
|
file_key?: string | undefined;
|
|
@@ -7916,8 +7920,8 @@ declare const FleetIssueQuerySchema: z.ZodObject<{
|
|
|
7916
7920
|
date_format_id: string;
|
|
7917
7921
|
time_zone_id: string;
|
|
7918
7922
|
organisation_ids: string[];
|
|
7919
|
-
vehicle_ids: string[];
|
|
7920
7923
|
user_ids: string[];
|
|
7924
|
+
vehicle_ids: string[];
|
|
7921
7925
|
driver_ids: string[];
|
|
7922
7926
|
from_date: string;
|
|
7923
7927
|
to_date: string;
|
|
@@ -7955,8 +7959,8 @@ declare const FleetIssueQuerySchema: z.ZodObject<{
|
|
|
7955
7959
|
}[] | undefined;
|
|
7956
7960
|
include_master_data?: YesNo | undefined;
|
|
7957
7961
|
organisation_ids?: string[] | undefined;
|
|
7958
|
-
vehicle_ids?: string[] | undefined;
|
|
7959
7962
|
user_ids?: string[] | undefined;
|
|
7963
|
+
vehicle_ids?: string[] | undefined;
|
|
7960
7964
|
driver_ids?: string[] | undefined;
|
|
7961
7965
|
incident_ids?: string[] | undefined;
|
|
7962
7966
|
service_ids?: string[] | undefined;
|
|
@@ -8210,9 +8214,9 @@ declare const MasterFleetBreakdownTypeSchema: z.ZodObject<{
|
|
|
8210
8214
|
description: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
|
|
8211
8215
|
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
8212
8216
|
}, "strip", z.ZodTypeAny, {
|
|
8217
|
+
description: string;
|
|
8213
8218
|
status: Status;
|
|
8214
8219
|
organisation_id: string;
|
|
8215
|
-
description: string;
|
|
8216
8220
|
fleet_breakdown_type: string;
|
|
8217
8221
|
}, {
|
|
8218
8222
|
status: Status;
|
|
@@ -8430,6 +8434,7 @@ declare const FleetBreakdownFileSchema: z.ZodObject<{
|
|
|
8430
8434
|
}, "strip", z.ZodTypeAny, {
|
|
8431
8435
|
status: Status;
|
|
8432
8436
|
organisation_id: string;
|
|
8437
|
+
user_id: string;
|
|
8433
8438
|
usage_type: string;
|
|
8434
8439
|
file_type: FileType;
|
|
8435
8440
|
file_url: string;
|
|
@@ -8438,14 +8443,13 @@ declare const FleetBreakdownFileSchema: z.ZodObject<{
|
|
|
8438
8443
|
file_description: string;
|
|
8439
8444
|
file_size: number;
|
|
8440
8445
|
file_metadata: Record<string, any>;
|
|
8441
|
-
user_id: string;
|
|
8442
8446
|
breakdown_id: string;
|
|
8443
8447
|
}, {
|
|
8444
8448
|
status: Status;
|
|
8445
8449
|
organisation_id: string;
|
|
8450
|
+
user_id: string;
|
|
8446
8451
|
usage_type: string;
|
|
8447
8452
|
file_type: FileType;
|
|
8448
|
-
user_id: string;
|
|
8449
8453
|
breakdown_id: string;
|
|
8450
8454
|
file_url?: string | undefined;
|
|
8451
8455
|
file_key?: string | undefined;
|
|
@@ -8490,6 +8494,7 @@ declare const FleetBreakdownSchema: z.ZodObject<{
|
|
|
8490
8494
|
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
8491
8495
|
status: Status;
|
|
8492
8496
|
organisation_id: string;
|
|
8497
|
+
user_id: string;
|
|
8493
8498
|
usage_type: string;
|
|
8494
8499
|
file_type: FileType;
|
|
8495
8500
|
file_url: string;
|
|
@@ -8498,14 +8503,13 @@ declare const FleetBreakdownSchema: z.ZodObject<{
|
|
|
8498
8503
|
file_description: string;
|
|
8499
8504
|
file_size: number;
|
|
8500
8505
|
file_metadata: Record<string, any>;
|
|
8501
|
-
user_id: string;
|
|
8502
8506
|
breakdown_id: string;
|
|
8503
8507
|
}, {
|
|
8504
8508
|
status: Status;
|
|
8505
8509
|
organisation_id: string;
|
|
8510
|
+
user_id: string;
|
|
8506
8511
|
usage_type: string;
|
|
8507
8512
|
file_type: FileType;
|
|
8508
|
-
user_id: string;
|
|
8509
8513
|
breakdown_id: string;
|
|
8510
8514
|
file_url?: string | undefined;
|
|
8511
8515
|
file_key?: string | undefined;
|
|
@@ -8518,9 +8522,9 @@ declare const FleetBreakdownSchema: z.ZodObject<{
|
|
|
8518
8522
|
}, "strip", z.ZodTypeAny, {
|
|
8519
8523
|
status: Status;
|
|
8520
8524
|
organisation_id: string;
|
|
8521
|
-
vehicle_id: string;
|
|
8522
|
-
time_zone_id: string;
|
|
8523
8525
|
user_id: string;
|
|
8526
|
+
time_zone_id: string;
|
|
8527
|
+
vehicle_id: string;
|
|
8524
8528
|
driver_id: string;
|
|
8525
8529
|
was_towed: YesNo;
|
|
8526
8530
|
is_vehicle_operational: YesNo;
|
|
@@ -8535,6 +8539,7 @@ declare const FleetBreakdownSchema: z.ZodObject<{
|
|
|
8535
8539
|
FleetBreakdownFileSchema: {
|
|
8536
8540
|
status: Status;
|
|
8537
8541
|
organisation_id: string;
|
|
8542
|
+
user_id: string;
|
|
8538
8543
|
usage_type: string;
|
|
8539
8544
|
file_type: FileType;
|
|
8540
8545
|
file_url: string;
|
|
@@ -8543,7 +8548,6 @@ declare const FleetBreakdownSchema: z.ZodObject<{
|
|
|
8543
8548
|
file_description: string;
|
|
8544
8549
|
file_size: number;
|
|
8545
8550
|
file_metadata: Record<string, any>;
|
|
8546
|
-
user_id: string;
|
|
8547
8551
|
breakdown_id: string;
|
|
8548
8552
|
}[];
|
|
8549
8553
|
latitude?: number | undefined;
|
|
@@ -8551,9 +8555,9 @@ declare const FleetBreakdownSchema: z.ZodObject<{
|
|
|
8551
8555
|
}, {
|
|
8552
8556
|
status: Status;
|
|
8553
8557
|
organisation_id: string;
|
|
8554
|
-
vehicle_id: string;
|
|
8555
|
-
time_zone_id: string;
|
|
8556
8558
|
user_id: string;
|
|
8559
|
+
time_zone_id: string;
|
|
8560
|
+
vehicle_id: string;
|
|
8557
8561
|
driver_id: string;
|
|
8558
8562
|
was_towed: YesNo;
|
|
8559
8563
|
is_vehicle_operational: YesNo;
|
|
@@ -8570,9 +8574,9 @@ declare const FleetBreakdownSchema: z.ZodObject<{
|
|
|
8570
8574
|
FleetBreakdownFileSchema?: {
|
|
8571
8575
|
status: Status;
|
|
8572
8576
|
organisation_id: string;
|
|
8577
|
+
user_id: string;
|
|
8573
8578
|
usage_type: string;
|
|
8574
8579
|
file_type: FileType;
|
|
8575
|
-
user_id: string;
|
|
8576
8580
|
breakdown_id: string;
|
|
8577
8581
|
file_url?: string | undefined;
|
|
8578
8582
|
file_key?: string | undefined;
|
|
@@ -8649,8 +8653,8 @@ declare const FleetBreakdownQuerySchema: z.ZodObject<{
|
|
|
8649
8653
|
date_format_id: string;
|
|
8650
8654
|
time_zone_id: string;
|
|
8651
8655
|
organisation_ids: string[];
|
|
8652
|
-
vehicle_ids: string[];
|
|
8653
8656
|
user_ids: string[];
|
|
8657
|
+
vehicle_ids: string[];
|
|
8654
8658
|
driver_ids: string[];
|
|
8655
8659
|
from_date: string;
|
|
8656
8660
|
to_date: string;
|
|
@@ -8685,8 +8689,8 @@ declare const FleetBreakdownQuerySchema: z.ZodObject<{
|
|
|
8685
8689
|
}[] | undefined;
|
|
8686
8690
|
include_master_data?: YesNo | undefined;
|
|
8687
8691
|
organisation_ids?: string[] | undefined;
|
|
8688
|
-
vehicle_ids?: string[] | undefined;
|
|
8689
8692
|
user_ids?: string[] | undefined;
|
|
8693
|
+
vehicle_ids?: string[] | undefined;
|
|
8690
8694
|
driver_ids?: string[] | undefined;
|
|
8691
8695
|
was_towed?: YesNo[] | undefined;
|
|
8692
8696
|
is_vehicle_operational?: YesNo[] | undefined;
|
|
@@ -8798,8 +8802,8 @@ declare const FleetBreakdownCostSchema: z.ZodObject<{
|
|
|
8798
8802
|
}, "strip", z.ZodTypeAny, {
|
|
8799
8803
|
status: Status;
|
|
8800
8804
|
organisation_id: string;
|
|
8801
|
-
time_zone_id: string;
|
|
8802
8805
|
user_id: string;
|
|
8806
|
+
time_zone_id: string;
|
|
8803
8807
|
expense_name_id: string;
|
|
8804
8808
|
breakdown_id: string;
|
|
8805
8809
|
breakdown_cost_date: string;
|
|
@@ -8808,8 +8812,8 @@ declare const FleetBreakdownCostSchema: z.ZodObject<{
|
|
|
8808
8812
|
}, {
|
|
8809
8813
|
status: Status;
|
|
8810
8814
|
organisation_id: string;
|
|
8811
|
-
time_zone_id: string;
|
|
8812
8815
|
user_id: string;
|
|
8816
|
+
time_zone_id: string;
|
|
8813
8817
|
expense_name_id: string;
|
|
8814
8818
|
breakdown_id: string;
|
|
8815
8819
|
breakdown_cost_date?: string | undefined;
|
|
@@ -8949,9 +8953,9 @@ declare const MasterVehicleFuelTypeSchema: z.ZodObject<{
|
|
|
8949
8953
|
description: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
|
|
8950
8954
|
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
8951
8955
|
}, "strip", z.ZodTypeAny, {
|
|
8956
|
+
description: string;
|
|
8952
8957
|
status: Status;
|
|
8953
8958
|
organisation_id: string;
|
|
8954
|
-
description: string;
|
|
8955
8959
|
fuel_type: string;
|
|
8956
8960
|
}, {
|
|
8957
8961
|
status: Status;
|
|
@@ -9072,9 +9076,9 @@ declare const MasterVehicleFuelUnitSchema: z.ZodObject<{
|
|
|
9072
9076
|
description: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
|
|
9073
9077
|
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
9074
9078
|
}, "strip", z.ZodTypeAny, {
|
|
9079
|
+
description: string;
|
|
9075
9080
|
status: Status;
|
|
9076
9081
|
organisation_id: string;
|
|
9077
|
-
description: string;
|
|
9078
9082
|
fuel_unit: string;
|
|
9079
9083
|
}, {
|
|
9080
9084
|
status: Status;
|
|
@@ -9195,9 +9199,9 @@ declare const MasterVehicleFuelRemovalReasonSchema: z.ZodObject<{
|
|
|
9195
9199
|
description: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
|
|
9196
9200
|
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
9197
9201
|
}, "strip", z.ZodTypeAny, {
|
|
9202
|
+
description: string;
|
|
9198
9203
|
status: Status;
|
|
9199
9204
|
organisation_id: string;
|
|
9200
|
-
description: string;
|
|
9201
9205
|
removal_reason: string;
|
|
9202
9206
|
}, {
|
|
9203
9207
|
status: Status;
|
|
@@ -9391,6 +9395,7 @@ declare const FleetFuelRemovalFileSchema: z.ZodObject<{
|
|
|
9391
9395
|
}, "strip", z.ZodTypeAny, {
|
|
9392
9396
|
status: Status;
|
|
9393
9397
|
organisation_id: string;
|
|
9398
|
+
user_id: string;
|
|
9394
9399
|
usage_type: string;
|
|
9395
9400
|
file_type: FileType;
|
|
9396
9401
|
file_url: string;
|
|
@@ -9399,14 +9404,13 @@ declare const FleetFuelRemovalFileSchema: z.ZodObject<{
|
|
|
9399
9404
|
file_description: string;
|
|
9400
9405
|
file_size: number;
|
|
9401
9406
|
file_metadata: Record<string, any>;
|
|
9402
|
-
user_id: string;
|
|
9403
9407
|
fleet_fuel_removal_id: string;
|
|
9404
9408
|
}, {
|
|
9405
9409
|
status: Status;
|
|
9406
9410
|
organisation_id: string;
|
|
9411
|
+
user_id: string;
|
|
9407
9412
|
usage_type: string;
|
|
9408
9413
|
file_type: FileType;
|
|
9409
|
-
user_id: string;
|
|
9410
9414
|
fleet_fuel_removal_id: string;
|
|
9411
9415
|
file_url?: string | undefined;
|
|
9412
9416
|
file_key?: string | undefined;
|
|
@@ -9461,6 +9465,7 @@ declare const FleetFuelRemovalSchema: z.ZodObject<{
|
|
|
9461
9465
|
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
9462
9466
|
status: Status;
|
|
9463
9467
|
organisation_id: string;
|
|
9468
|
+
user_id: string;
|
|
9464
9469
|
usage_type: string;
|
|
9465
9470
|
file_type: FileType;
|
|
9466
9471
|
file_url: string;
|
|
@@ -9469,14 +9474,13 @@ declare const FleetFuelRemovalSchema: z.ZodObject<{
|
|
|
9469
9474
|
file_description: string;
|
|
9470
9475
|
file_size: number;
|
|
9471
9476
|
file_metadata: Record<string, any>;
|
|
9472
|
-
user_id: string;
|
|
9473
9477
|
fleet_fuel_removal_id: string;
|
|
9474
9478
|
}, {
|
|
9475
9479
|
status: Status;
|
|
9476
9480
|
organisation_id: string;
|
|
9481
|
+
user_id: string;
|
|
9477
9482
|
usage_type: string;
|
|
9478
9483
|
file_type: FileType;
|
|
9479
|
-
user_id: string;
|
|
9480
9484
|
fleet_fuel_removal_id: string;
|
|
9481
9485
|
file_url?: string | undefined;
|
|
9482
9486
|
file_key?: string | undefined;
|
|
@@ -9488,9 +9492,9 @@ declare const FleetFuelRemovalSchema: z.ZodObject<{
|
|
|
9488
9492
|
}, "strip", z.ZodTypeAny, {
|
|
9489
9493
|
status: Status;
|
|
9490
9494
|
organisation_id: string;
|
|
9491
|
-
vehicle_id: string;
|
|
9492
|
-
time_zone_id: string;
|
|
9493
9495
|
user_id: string;
|
|
9496
|
+
time_zone_id: string;
|
|
9497
|
+
vehicle_id: string;
|
|
9494
9498
|
driver_id: string;
|
|
9495
9499
|
odometer_reading: number;
|
|
9496
9500
|
google_location: string;
|
|
@@ -9507,6 +9511,7 @@ declare const FleetFuelRemovalSchema: z.ZodObject<{
|
|
|
9507
9511
|
FleetFuelRemovalFileSchema: {
|
|
9508
9512
|
status: Status;
|
|
9509
9513
|
organisation_id: string;
|
|
9514
|
+
user_id: string;
|
|
9510
9515
|
usage_type: string;
|
|
9511
9516
|
file_type: FileType;
|
|
9512
9517
|
file_url: string;
|
|
@@ -9515,7 +9520,6 @@ declare const FleetFuelRemovalSchema: z.ZodObject<{
|
|
|
9515
9520
|
file_description: string;
|
|
9516
9521
|
file_size: number;
|
|
9517
9522
|
file_metadata: Record<string, any>;
|
|
9518
|
-
user_id: string;
|
|
9519
9523
|
fleet_fuel_removal_id: string;
|
|
9520
9524
|
}[];
|
|
9521
9525
|
latitude?: number | undefined;
|
|
@@ -9530,9 +9534,9 @@ declare const FleetFuelRemovalSchema: z.ZodObject<{
|
|
|
9530
9534
|
}, {
|
|
9531
9535
|
status: Status;
|
|
9532
9536
|
organisation_id: string;
|
|
9533
|
-
vehicle_id: string;
|
|
9534
|
-
time_zone_id: string;
|
|
9535
9537
|
user_id: string;
|
|
9538
|
+
time_zone_id: string;
|
|
9539
|
+
vehicle_id: string;
|
|
9536
9540
|
driver_id: string;
|
|
9537
9541
|
vehicle_fuel_type_id: string;
|
|
9538
9542
|
vehicle_fuel_unit_id: string;
|
|
@@ -9558,9 +9562,9 @@ declare const FleetFuelRemovalSchema: z.ZodObject<{
|
|
|
9558
9562
|
FleetFuelRemovalFileSchema?: {
|
|
9559
9563
|
status: Status;
|
|
9560
9564
|
organisation_id: string;
|
|
9565
|
+
user_id: string;
|
|
9561
9566
|
usage_type: string;
|
|
9562
9567
|
file_type: FileType;
|
|
9563
|
-
user_id: string;
|
|
9564
9568
|
fleet_fuel_removal_id: string;
|
|
9565
9569
|
file_url?: string | undefined;
|
|
9566
9570
|
file_key?: string | undefined;
|
|
@@ -9638,8 +9642,8 @@ declare const FleetFuelRemovalQuerySchema: z.ZodObject<{
|
|
|
9638
9642
|
date_format_id: string;
|
|
9639
9643
|
time_zone_id: string;
|
|
9640
9644
|
organisation_ids: string[];
|
|
9641
|
-
vehicle_ids: string[];
|
|
9642
9645
|
user_ids: string[];
|
|
9646
|
+
vehicle_ids: string[];
|
|
9643
9647
|
driver_ids: string[];
|
|
9644
9648
|
from_date: string;
|
|
9645
9649
|
to_date: string;
|
|
@@ -9675,8 +9679,8 @@ declare const FleetFuelRemovalQuerySchema: z.ZodObject<{
|
|
|
9675
9679
|
}[] | undefined;
|
|
9676
9680
|
include_master_data?: YesNo | undefined;
|
|
9677
9681
|
organisation_ids?: string[] | undefined;
|
|
9678
|
-
vehicle_ids?: string[] | undefined;
|
|
9679
9682
|
user_ids?: string[] | undefined;
|
|
9683
|
+
vehicle_ids?: string[] | undefined;
|
|
9680
9684
|
driver_ids?: string[] | undefined;
|
|
9681
9685
|
fuel_removal_reason_ids?: string[] | undefined;
|
|
9682
9686
|
admin_verify_status?: GPSFuelApproveStatus[] | undefined;
|
|
@@ -9720,9 +9724,9 @@ declare const MasterClassSchema: z.ZodObject<{
|
|
|
9720
9724
|
description: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
|
|
9721
9725
|
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
9722
9726
|
}, "strip", z.ZodTypeAny, {
|
|
9727
|
+
description: string;
|
|
9723
9728
|
status: Status;
|
|
9724
9729
|
organisation_id: string;
|
|
9725
|
-
description: string;
|
|
9726
9730
|
class_name: string;
|
|
9727
9731
|
}, {
|
|
9728
9732
|
status: Status;
|
|
@@ -9846,9 +9850,9 @@ declare const MasterProgramSchema: z.ZodObject<{
|
|
|
9846
9850
|
description: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
|
|
9847
9851
|
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
9848
9852
|
}, "strip", z.ZodTypeAny, {
|
|
9853
|
+
description: string;
|
|
9849
9854
|
status: Status;
|
|
9850
9855
|
organisation_id: string;
|
|
9851
|
-
description: string;
|
|
9852
9856
|
program_name: string;
|
|
9853
9857
|
}, {
|
|
9854
9858
|
status: Status;
|
|
@@ -9972,9 +9976,9 @@ declare const MasterSectionSchema: z.ZodObject<{
|
|
|
9972
9976
|
description: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
|
|
9973
9977
|
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
9974
9978
|
}, "strip", z.ZodTypeAny, {
|
|
9979
|
+
description: string;
|
|
9975
9980
|
status: Status;
|
|
9976
9981
|
organisation_id: string;
|
|
9977
|
-
description: string;
|
|
9978
9982
|
section_name: string;
|
|
9979
9983
|
}, {
|
|
9980
9984
|
status: Status;
|
|
@@ -10098,9 +10102,9 @@ declare const MasterSemesterSchema: z.ZodObject<{
|
|
|
10098
10102
|
description: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
|
|
10099
10103
|
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
10100
10104
|
}, "strip", z.ZodTypeAny, {
|
|
10105
|
+
description: string;
|
|
10101
10106
|
status: Status;
|
|
10102
10107
|
organisation_id: string;
|
|
10103
|
-
description: string;
|
|
10104
10108
|
semester_name: string;
|
|
10105
10109
|
}, {
|
|
10106
10110
|
status: Status;
|
|
@@ -10224,9 +10228,9 @@ declare const MasterStreamSchema: z.ZodObject<{
|
|
|
10224
10228
|
description: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
|
|
10225
10229
|
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
10226
10230
|
}, "strip", z.ZodTypeAny, {
|
|
10231
|
+
description: string;
|
|
10227
10232
|
status: Status;
|
|
10228
10233
|
organisation_id: string;
|
|
10229
|
-
description: string;
|
|
10230
10234
|
stream_name: string;
|
|
10231
10235
|
}, {
|
|
10232
10236
|
status: Status;
|
|
@@ -10350,9 +10354,9 @@ declare const MasterYearSchema: z.ZodObject<{
|
|
|
10350
10354
|
description: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
|
|
10351
10355
|
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
10352
10356
|
}, "strip", z.ZodTypeAny, {
|
|
10357
|
+
description: string;
|
|
10353
10358
|
status: Status;
|
|
10354
10359
|
organisation_id: string;
|
|
10355
|
-
description: string;
|
|
10356
10360
|
year_name: string;
|
|
10357
10361
|
}, {
|
|
10358
10362
|
status: Status;
|
|
@@ -10476,9 +10480,9 @@ declare const MasterRelationshipSchema: z.ZodObject<{
|
|
|
10476
10480
|
description: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
|
|
10477
10481
|
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
10478
10482
|
}, "strip", z.ZodTypeAny, {
|
|
10483
|
+
description: string;
|
|
10479
10484
|
status: Status;
|
|
10480
10485
|
organisation_id: string;
|
|
10481
|
-
description: string;
|
|
10482
10486
|
relationship_name: string;
|
|
10483
10487
|
}, {
|
|
10484
10488
|
status: Status;
|
|
@@ -11022,9 +11026,9 @@ declare const MasterDailyScheduleSchema: z.ZodObject<{
|
|
|
11022
11026
|
}, "strip", z.ZodTypeAny, {
|
|
11023
11027
|
status: Status;
|
|
11024
11028
|
organisation_id: string;
|
|
11025
|
-
vehicle_id: string;
|
|
11026
11029
|
time_zone_id: string;
|
|
11027
11030
|
organisation_branch_id: string;
|
|
11031
|
+
vehicle_id: string;
|
|
11028
11032
|
driver_id: string;
|
|
11029
11033
|
schedule_name: string;
|
|
11030
11034
|
schedule_status: Status;
|
|
@@ -11046,9 +11050,9 @@ declare const MasterDailyScheduleSchema: z.ZodObject<{
|
|
|
11046
11050
|
}, {
|
|
11047
11051
|
status: Status;
|
|
11048
11052
|
organisation_id: string;
|
|
11049
|
-
vehicle_id: string;
|
|
11050
11053
|
time_zone_id: string;
|
|
11051
11054
|
organisation_branch_id: string;
|
|
11055
|
+
vehicle_id: string;
|
|
11052
11056
|
driver_id: string;
|
|
11053
11057
|
schedule_name: string;
|
|
11054
11058
|
schedule_status: Status;
|
|
@@ -11132,8 +11136,8 @@ declare const MasterDailyScheduleQuerySchema: z.ZodObject<{
|
|
|
11132
11136
|
date_format_id: string;
|
|
11133
11137
|
time_zone_id: string;
|
|
11134
11138
|
organisation_ids: string[];
|
|
11135
|
-
vehicle_ids: string[];
|
|
11136
11139
|
organisation_branch_ids: string[];
|
|
11140
|
+
vehicle_ids: string[];
|
|
11137
11141
|
driver_ids: string[];
|
|
11138
11142
|
schedule_status: Status[];
|
|
11139
11143
|
schedule_type: BusLeg[];
|
|
@@ -11163,8 +11167,8 @@ declare const MasterDailyScheduleQuerySchema: z.ZodObject<{
|
|
|
11163
11167
|
}[] | undefined;
|
|
11164
11168
|
include_master_data?: YesNo | undefined;
|
|
11165
11169
|
organisation_ids?: string[] | undefined;
|
|
11166
|
-
vehicle_ids?: string[] | undefined;
|
|
11167
11170
|
organisation_branch_ids?: string[] | undefined;
|
|
11171
|
+
vehicle_ids?: string[] | undefined;
|
|
11168
11172
|
driver_ids?: string[] | undefined;
|
|
11169
11173
|
schedule_status?: Status[] | undefined;
|
|
11170
11174
|
schedule_type?: BusLeg[] | undefined;
|
|
@@ -11427,9 +11431,9 @@ declare const MasterSpecialScheduleSchema: z.ZodObject<{
|
|
|
11427
11431
|
}, "strip", z.ZodTypeAny, {
|
|
11428
11432
|
status: Status;
|
|
11429
11433
|
organisation_id: string;
|
|
11430
|
-
vehicle_id: string;
|
|
11431
11434
|
time_zone_id: string;
|
|
11432
11435
|
organisation_branch_id: string;
|
|
11436
|
+
vehicle_id: string;
|
|
11433
11437
|
driver_id: string;
|
|
11434
11438
|
schedule_name: string;
|
|
11435
11439
|
schedule_status: Status;
|
|
@@ -11451,9 +11455,9 @@ declare const MasterSpecialScheduleSchema: z.ZodObject<{
|
|
|
11451
11455
|
}, {
|
|
11452
11456
|
status: Status;
|
|
11453
11457
|
organisation_id: string;
|
|
11454
|
-
vehicle_id: string;
|
|
11455
11458
|
time_zone_id: string;
|
|
11456
11459
|
organisation_branch_id: string;
|
|
11460
|
+
vehicle_id: string;
|
|
11457
11461
|
driver_id: string;
|
|
11458
11462
|
schedule_name: string;
|
|
11459
11463
|
schedule_status: Status;
|
|
@@ -11537,8 +11541,8 @@ declare const MasterSpecialScheduleQuerySchema: z.ZodObject<{
|
|
|
11537
11541
|
date_format_id: string;
|
|
11538
11542
|
time_zone_id: string;
|
|
11539
11543
|
organisation_ids: string[];
|
|
11540
|
-
vehicle_ids: string[];
|
|
11541
11544
|
organisation_branch_ids: string[];
|
|
11545
|
+
vehicle_ids: string[];
|
|
11542
11546
|
driver_ids: string[];
|
|
11543
11547
|
schedule_status: Status[];
|
|
11544
11548
|
schedule_type: BusLeg[];
|
|
@@ -11568,8 +11572,8 @@ declare const MasterSpecialScheduleQuerySchema: z.ZodObject<{
|
|
|
11568
11572
|
}[] | undefined;
|
|
11569
11573
|
include_master_data?: YesNo | undefined;
|
|
11570
11574
|
organisation_ids?: string[] | undefined;
|
|
11571
|
-
vehicle_ids?: string[] | undefined;
|
|
11572
11575
|
organisation_branch_ids?: string[] | undefined;
|
|
11576
|
+
vehicle_ids?: string[] | undefined;
|
|
11573
11577
|
driver_ids?: string[] | undefined;
|
|
11574
11578
|
schedule_status?: Status[] | undefined;
|
|
11575
11579
|
schedule_type?: BusLeg[] | undefined;
|
|
@@ -13944,6 +13948,7 @@ declare const FleetFuelRefillFileSchema: z.ZodObject<{
|
|
|
13944
13948
|
}, "strip", z.ZodTypeAny, {
|
|
13945
13949
|
status: Status;
|
|
13946
13950
|
organisation_id: string;
|
|
13951
|
+
user_id: string;
|
|
13947
13952
|
usage_type: string;
|
|
13948
13953
|
file_type: FileType;
|
|
13949
13954
|
file_url: string;
|
|
@@ -13952,14 +13957,13 @@ declare const FleetFuelRefillFileSchema: z.ZodObject<{
|
|
|
13952
13957
|
file_description: string;
|
|
13953
13958
|
file_size: number;
|
|
13954
13959
|
file_metadata: Record<string, any>;
|
|
13955
|
-
user_id: string;
|
|
13956
13960
|
fleet_fuel_refill_id: string;
|
|
13957
13961
|
}, {
|
|
13958
13962
|
status: Status;
|
|
13959
13963
|
organisation_id: string;
|
|
13964
|
+
user_id: string;
|
|
13960
13965
|
usage_type: string;
|
|
13961
13966
|
file_type: FileType;
|
|
13962
|
-
user_id: string;
|
|
13963
13967
|
fleet_fuel_refill_id: string;
|
|
13964
13968
|
file_url?: string | undefined;
|
|
13965
13969
|
file_key?: string | undefined;
|
|
@@ -14026,6 +14030,7 @@ declare const FleetFuelRefillSchema: z.ZodObject<{
|
|
|
14026
14030
|
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
14027
14031
|
status: Status;
|
|
14028
14032
|
organisation_id: string;
|
|
14033
|
+
user_id: string;
|
|
14029
14034
|
usage_type: string;
|
|
14030
14035
|
file_type: FileType;
|
|
14031
14036
|
file_url: string;
|
|
@@ -14034,14 +14039,13 @@ declare const FleetFuelRefillSchema: z.ZodObject<{
|
|
|
14034
14039
|
file_description: string;
|
|
14035
14040
|
file_size: number;
|
|
14036
14041
|
file_metadata: Record<string, any>;
|
|
14037
|
-
user_id: string;
|
|
14038
14042
|
fleet_fuel_refill_id: string;
|
|
14039
14043
|
}, {
|
|
14040
14044
|
status: Status;
|
|
14041
14045
|
organisation_id: string;
|
|
14046
|
+
user_id: string;
|
|
14042
14047
|
usage_type: string;
|
|
14043
14048
|
file_type: FileType;
|
|
14044
|
-
user_id: string;
|
|
14045
14049
|
fleet_fuel_refill_id: string;
|
|
14046
14050
|
file_url?: string | undefined;
|
|
14047
14051
|
file_key?: string | undefined;
|
|
@@ -14053,9 +14057,9 @@ declare const FleetFuelRefillSchema: z.ZodObject<{
|
|
|
14053
14057
|
}, "strip", z.ZodTypeAny, {
|
|
14054
14058
|
status: Status;
|
|
14055
14059
|
organisation_id: string;
|
|
14056
|
-
vehicle_id: string;
|
|
14057
|
-
time_zone_id: string;
|
|
14058
14060
|
user_id: string;
|
|
14061
|
+
time_zone_id: string;
|
|
14062
|
+
vehicle_id: string;
|
|
14059
14063
|
driver_id: string;
|
|
14060
14064
|
odometer_reading: number;
|
|
14061
14065
|
google_location: string;
|
|
@@ -14084,6 +14088,7 @@ declare const FleetFuelRefillSchema: z.ZodObject<{
|
|
|
14084
14088
|
FleetFuelRefillFile: {
|
|
14085
14089
|
status: Status;
|
|
14086
14090
|
organisation_id: string;
|
|
14091
|
+
user_id: string;
|
|
14087
14092
|
usage_type: string;
|
|
14088
14093
|
file_type: FileType;
|
|
14089
14094
|
file_url: string;
|
|
@@ -14092,7 +14097,6 @@ declare const FleetFuelRefillSchema: z.ZodObject<{
|
|
|
14092
14097
|
file_description: string;
|
|
14093
14098
|
file_size: number;
|
|
14094
14099
|
file_metadata: Record<string, any>;
|
|
14095
|
-
user_id: string;
|
|
14096
14100
|
fleet_fuel_refill_id: string;
|
|
14097
14101
|
}[];
|
|
14098
14102
|
latitude?: number | undefined;
|
|
@@ -14107,9 +14111,9 @@ declare const FleetFuelRefillSchema: z.ZodObject<{
|
|
|
14107
14111
|
}, {
|
|
14108
14112
|
status: Status;
|
|
14109
14113
|
organisation_id: string;
|
|
14110
|
-
vehicle_id: string;
|
|
14111
|
-
time_zone_id: string;
|
|
14112
14114
|
user_id: string;
|
|
14115
|
+
time_zone_id: string;
|
|
14116
|
+
vehicle_id: string;
|
|
14113
14117
|
driver_id: string;
|
|
14114
14118
|
vendor_id: string;
|
|
14115
14119
|
fuel_station_id: string;
|
|
@@ -14147,9 +14151,9 @@ declare const FleetFuelRefillSchema: z.ZodObject<{
|
|
|
14147
14151
|
FleetFuelRefillFile?: {
|
|
14148
14152
|
status: Status;
|
|
14149
14153
|
organisation_id: string;
|
|
14154
|
+
user_id: string;
|
|
14150
14155
|
usage_type: string;
|
|
14151
14156
|
file_type: FileType;
|
|
14152
|
-
user_id: string;
|
|
14153
14157
|
fleet_fuel_refill_id: string;
|
|
14154
14158
|
file_url?: string | undefined;
|
|
14155
14159
|
file_key?: string | undefined;
|
|
@@ -14233,8 +14237,8 @@ declare const FleetFuelRefillQuerySchema: z.ZodObject<{
|
|
|
14233
14237
|
date_format_id: string;
|
|
14234
14238
|
time_zone_id: string;
|
|
14235
14239
|
organisation_ids: string[];
|
|
14236
|
-
vehicle_ids: string[];
|
|
14237
14240
|
user_ids: string[];
|
|
14241
|
+
vehicle_ids: string[];
|
|
14238
14242
|
driver_ids: string[];
|
|
14239
14243
|
from_date: string;
|
|
14240
14244
|
to_date: string;
|
|
@@ -14276,8 +14280,8 @@ declare const FleetFuelRefillQuerySchema: z.ZodObject<{
|
|
|
14276
14280
|
}[] | undefined;
|
|
14277
14281
|
include_master_data?: YesNo | undefined;
|
|
14278
14282
|
organisation_ids?: string[] | undefined;
|
|
14279
|
-
vehicle_ids?: string[] | undefined;
|
|
14280
14283
|
user_ids?: string[] | undefined;
|
|
14284
|
+
vehicle_ids?: string[] | undefined;
|
|
14281
14285
|
driver_ids?: string[] | undefined;
|
|
14282
14286
|
vendor_ids?: string[] | undefined;
|
|
14283
14287
|
fuel_station_ids?: string[] | undefined;
|
|
@@ -14387,8 +14391,8 @@ declare const OrganisationNotificationPreferenceSchema: z.ZodObject<{
|
|
|
14387
14391
|
}, "strip", z.ZodTypeAny, {
|
|
14388
14392
|
status: Status;
|
|
14389
14393
|
organisation_id: string;
|
|
14390
|
-
vehicle_ids: string[];
|
|
14391
14394
|
user_ids: string[];
|
|
14395
|
+
vehicle_ids: string[];
|
|
14392
14396
|
notification_name: string;
|
|
14393
14397
|
notification_status: OnOff;
|
|
14394
14398
|
notification_channels: NotificationChannel[];
|
|
@@ -14408,8 +14412,8 @@ declare const OrganisationNotificationPreferenceSchema: z.ZodObject<{
|
|
|
14408
14412
|
all_users: YesNo;
|
|
14409
14413
|
all_geofences: YesNo;
|
|
14410
14414
|
all_vehicles: YesNo;
|
|
14411
|
-
vehicle_ids?: string[] | undefined;
|
|
14412
14415
|
user_ids?: string[] | undefined;
|
|
14416
|
+
vehicle_ids?: string[] | undefined;
|
|
14413
14417
|
notification_channels?: NotificationChannel[] | undefined;
|
|
14414
14418
|
mobile_numbers?: string | undefined;
|
|
14415
14419
|
email_ids?: string | undefined;
|
|
@@ -14562,8 +14566,8 @@ declare const GPSGeofenceTransactionSummarySchema: z.ZodObject<{
|
|
|
14562
14566
|
}, "strip", z.ZodTypeAny, {
|
|
14563
14567
|
status: Status;
|
|
14564
14568
|
organisation_id: string;
|
|
14565
|
-
vehicle_id: string;
|
|
14566
14569
|
time_zone_id: string;
|
|
14570
|
+
vehicle_id: string;
|
|
14567
14571
|
driver_id: string;
|
|
14568
14572
|
gps_geofence_id: string;
|
|
14569
14573
|
geofence_enter_date_time: string;
|
|
@@ -14574,8 +14578,8 @@ declare const GPSGeofenceTransactionSummarySchema: z.ZodObject<{
|
|
|
14574
14578
|
}, {
|
|
14575
14579
|
status: Status;
|
|
14576
14580
|
organisation_id: string;
|
|
14577
|
-
vehicle_id: string;
|
|
14578
14581
|
time_zone_id: string;
|
|
14582
|
+
vehicle_id: string;
|
|
14579
14583
|
driver_id: string;
|
|
14580
14584
|
gps_geofence_id: string;
|
|
14581
14585
|
geofence_enter_date_time: string;
|
|
@@ -14743,8 +14747,8 @@ declare const TripGeofenceToGeofenceSchema: z.ZodObject<{
|
|
|
14743
14747
|
}, "strip", z.ZodTypeAny, {
|
|
14744
14748
|
status: Status;
|
|
14745
14749
|
organisation_id: string;
|
|
14746
|
-
vehicle_id: string;
|
|
14747
14750
|
time_zone_id: string;
|
|
14751
|
+
vehicle_id: string;
|
|
14748
14752
|
driver_id: string;
|
|
14749
14753
|
duration_seconds: number;
|
|
14750
14754
|
from_geofence_exit_date_time: string;
|
|
@@ -14759,8 +14763,8 @@ declare const TripGeofenceToGeofenceSchema: z.ZodObject<{
|
|
|
14759
14763
|
}, {
|
|
14760
14764
|
status: Status;
|
|
14761
14765
|
organisation_id: string;
|
|
14762
|
-
vehicle_id: string;
|
|
14763
14766
|
time_zone_id: string;
|
|
14767
|
+
vehicle_id: string;
|
|
14764
14768
|
driver_id: string;
|
|
14765
14769
|
from_geofence_exit_date_time: string;
|
|
14766
14770
|
to_geofence_enter_date_time: string;
|
|
@@ -15168,8 +15172,8 @@ declare const GPSGeofenceTransactionSchema: z.ZodObject<{
|
|
|
15168
15172
|
}, "strip", z.ZodTypeAny, {
|
|
15169
15173
|
status: Status;
|
|
15170
15174
|
organisation_id: string;
|
|
15171
|
-
vehicle_id: string;
|
|
15172
15175
|
time_zone_id: string;
|
|
15176
|
+
vehicle_id: string;
|
|
15173
15177
|
driver_id: string;
|
|
15174
15178
|
gps_geofence_id: string;
|
|
15175
15179
|
geofence_status_type: GeofenceStatusType;
|
|
@@ -15177,8 +15181,8 @@ declare const GPSGeofenceTransactionSchema: z.ZodObject<{
|
|
|
15177
15181
|
}, {
|
|
15178
15182
|
status: Status;
|
|
15179
15183
|
organisation_id: string;
|
|
15180
|
-
vehicle_id: string;
|
|
15181
15184
|
time_zone_id: string;
|
|
15185
|
+
vehicle_id: string;
|
|
15182
15186
|
driver_id: string;
|
|
15183
15187
|
gps_geofence_id: string;
|
|
15184
15188
|
geofence_status_type: GeofenceStatusType;
|
|
@@ -15453,6 +15457,7 @@ declare const MasterDriverFileSchema: z.ZodObject<{
|
|
|
15453
15457
|
}, "strip", z.ZodTypeAny, {
|
|
15454
15458
|
status: Status;
|
|
15455
15459
|
organisation_id: string;
|
|
15460
|
+
user_id: string;
|
|
15456
15461
|
usage_type: string;
|
|
15457
15462
|
file_type: FileType;
|
|
15458
15463
|
file_url: string;
|
|
@@ -15461,14 +15466,13 @@ declare const MasterDriverFileSchema: z.ZodObject<{
|
|
|
15461
15466
|
file_description: string;
|
|
15462
15467
|
file_size: number;
|
|
15463
15468
|
file_metadata: Record<string, any>;
|
|
15464
|
-
user_id: string;
|
|
15465
15469
|
driver_id: string;
|
|
15466
15470
|
}, {
|
|
15467
15471
|
status: Status;
|
|
15468
15472
|
organisation_id: string;
|
|
15473
|
+
user_id: string;
|
|
15469
15474
|
usage_type: string;
|
|
15470
15475
|
file_type: FileType;
|
|
15471
|
-
user_id: string;
|
|
15472
15476
|
driver_id: string;
|
|
15473
15477
|
file_url?: string | undefined;
|
|
15474
15478
|
file_key?: string | undefined;
|
|
@@ -15517,6 +15521,7 @@ declare const MasterDriverSchema: z.ZodObject<{
|
|
|
15517
15521
|
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
15518
15522
|
status: Status;
|
|
15519
15523
|
organisation_id: string;
|
|
15524
|
+
user_id: string;
|
|
15520
15525
|
usage_type: string;
|
|
15521
15526
|
file_type: FileType;
|
|
15522
15527
|
file_url: string;
|
|
@@ -15525,14 +15530,13 @@ declare const MasterDriverSchema: z.ZodObject<{
|
|
|
15525
15530
|
file_description: string;
|
|
15526
15531
|
file_size: number;
|
|
15527
15532
|
file_metadata: Record<string, any>;
|
|
15528
|
-
user_id: string;
|
|
15529
15533
|
driver_id: string;
|
|
15530
15534
|
}, {
|
|
15531
15535
|
status: Status;
|
|
15532
15536
|
organisation_id: string;
|
|
15537
|
+
user_id: string;
|
|
15533
15538
|
usage_type: string;
|
|
15534
15539
|
file_type: FileType;
|
|
15535
|
-
user_id: string;
|
|
15536
15540
|
driver_id: string;
|
|
15537
15541
|
file_url?: string | undefined;
|
|
15538
15542
|
file_key?: string | undefined;
|
|
@@ -15544,11 +15548,11 @@ declare const MasterDriverSchema: z.ZodObject<{
|
|
|
15544
15548
|
}, "strip", z.ZodTypeAny, {
|
|
15545
15549
|
status: Status;
|
|
15546
15550
|
organisation_id: string;
|
|
15551
|
+
user_id: string;
|
|
15547
15552
|
organisation_sub_company_id: string;
|
|
15548
15553
|
organisation_branch_id: string;
|
|
15549
15554
|
organisation_color_id: string;
|
|
15550
15555
|
organisation_tag_id: string;
|
|
15551
|
-
user_id: string;
|
|
15552
15556
|
driver_image_url: string;
|
|
15553
15557
|
driver_image_key: string;
|
|
15554
15558
|
driver_image_name: string;
|
|
@@ -15566,6 +15570,7 @@ declare const MasterDriverSchema: z.ZodObject<{
|
|
|
15566
15570
|
MasterDriverFileSchema: {
|
|
15567
15571
|
status: Status;
|
|
15568
15572
|
organisation_id: string;
|
|
15573
|
+
user_id: string;
|
|
15569
15574
|
usage_type: string;
|
|
15570
15575
|
file_type: FileType;
|
|
15571
15576
|
file_url: string;
|
|
@@ -15574,17 +15579,16 @@ declare const MasterDriverSchema: z.ZodObject<{
|
|
|
15574
15579
|
file_description: string;
|
|
15575
15580
|
file_size: number;
|
|
15576
15581
|
file_metadata: Record<string, any>;
|
|
15577
|
-
user_id: string;
|
|
15578
15582
|
driver_id: string;
|
|
15579
15583
|
}[];
|
|
15580
15584
|
}, {
|
|
15581
15585
|
status: Status;
|
|
15582
15586
|
organisation_id: string;
|
|
15587
|
+
user_id: string;
|
|
15583
15588
|
organisation_sub_company_id: string;
|
|
15584
15589
|
organisation_branch_id: string;
|
|
15585
15590
|
organisation_color_id: string;
|
|
15586
15591
|
organisation_tag_id: string;
|
|
15587
|
-
user_id: string;
|
|
15588
15592
|
driver_first_name: string;
|
|
15589
15593
|
can_login: YesNo;
|
|
15590
15594
|
driver_type: DriverType;
|
|
@@ -15602,9 +15606,9 @@ declare const MasterDriverSchema: z.ZodObject<{
|
|
|
15602
15606
|
MasterDriverFileSchema?: {
|
|
15603
15607
|
status: Status;
|
|
15604
15608
|
organisation_id: string;
|
|
15609
|
+
user_id: string;
|
|
15605
15610
|
usage_type: string;
|
|
15606
15611
|
file_type: FileType;
|
|
15607
|
-
user_id: string;
|
|
15608
15612
|
driver_id: string;
|
|
15609
15613
|
file_url?: string | undefined;
|
|
15610
15614
|
file_key?: string | undefined;
|
|
@@ -15680,12 +15684,12 @@ declare const MasterDriverQuerySchema: z.ZodObject<{
|
|
|
15680
15684
|
date_format_id: string;
|
|
15681
15685
|
time_zone_id: string;
|
|
15682
15686
|
organisation_ids: string[];
|
|
15683
|
-
|
|
15687
|
+
user_ids: string[];
|
|
15684
15688
|
organisation_sub_company_ids: string[];
|
|
15685
15689
|
organisation_branch_ids: string[];
|
|
15686
15690
|
organisation_color_ids: string[];
|
|
15687
15691
|
organisation_tag_ids: string[];
|
|
15688
|
-
|
|
15692
|
+
vehicle_ids: string[];
|
|
15689
15693
|
driver_ids: string[];
|
|
15690
15694
|
can_login: YesNo[];
|
|
15691
15695
|
driver_type: DriverType[];
|
|
@@ -15713,12 +15717,12 @@ declare const MasterDriverQuerySchema: z.ZodObject<{
|
|
|
15713
15717
|
}[] | undefined;
|
|
15714
15718
|
include_master_data?: YesNo | undefined;
|
|
15715
15719
|
organisation_ids?: string[] | undefined;
|
|
15716
|
-
|
|
15720
|
+
user_ids?: string[] | undefined;
|
|
15717
15721
|
organisation_sub_company_ids?: string[] | undefined;
|
|
15718
15722
|
organisation_branch_ids?: string[] | undefined;
|
|
15719
15723
|
organisation_color_ids?: string[] | undefined;
|
|
15720
15724
|
organisation_tag_ids?: string[] | undefined;
|
|
15721
|
-
|
|
15725
|
+
vehicle_ids?: string[] | undefined;
|
|
15722
15726
|
driver_ids?: string[] | undefined;
|
|
15723
15727
|
can_login?: YesNo[] | undefined;
|
|
15724
15728
|
driver_type?: DriverType[] | undefined;
|
|
@@ -15945,17 +15949,17 @@ declare const OrganisationGroupSchema: z.ZodObject<{
|
|
|
15945
15949
|
description: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
|
|
15946
15950
|
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
15947
15951
|
}, "strip", z.ZodTypeAny, {
|
|
15952
|
+
description: string;
|
|
15948
15953
|
status: Status;
|
|
15949
15954
|
organisation_id: string;
|
|
15950
15955
|
vehicle_ids: string[];
|
|
15951
|
-
description: string;
|
|
15952
15956
|
group_name: string;
|
|
15953
15957
|
}, {
|
|
15954
15958
|
status: Status;
|
|
15955
15959
|
organisation_id: string;
|
|
15956
15960
|
group_name: string;
|
|
15957
|
-
vehicle_ids?: string[] | undefined;
|
|
15958
15961
|
description?: string | undefined;
|
|
15962
|
+
vehicle_ids?: string[] | undefined;
|
|
15959
15963
|
}>;
|
|
15960
15964
|
type OrganisationGroupDTO = z.infer<typeof OrganisationGroupSchema>;
|
|
15961
15965
|
declare const OrganisationGroupQuerySchema: z.ZodObject<{
|
|
@@ -16077,10 +16081,10 @@ declare const MasterVehicleTypeSchema: z.ZodObject<{
|
|
|
16077
16081
|
description: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
|
|
16078
16082
|
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
16079
16083
|
}, "strip", z.ZodTypeAny, {
|
|
16084
|
+
description: string;
|
|
16080
16085
|
status: Status;
|
|
16081
16086
|
organisation_id: string;
|
|
16082
16087
|
vehicle_type: string;
|
|
16083
|
-
description: string;
|
|
16084
16088
|
}, {
|
|
16085
16089
|
status: Status;
|
|
16086
16090
|
organisation_id: string;
|
|
@@ -16212,9 +16216,9 @@ declare const MasterVehicleSubModelSchema: z.ZodObject<{
|
|
|
16212
16216
|
description: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
|
|
16213
16217
|
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
16214
16218
|
}, "strip", z.ZodTypeAny, {
|
|
16219
|
+
description: string;
|
|
16215
16220
|
status: Status;
|
|
16216
16221
|
organisation_id: string;
|
|
16217
|
-
description: string;
|
|
16218
16222
|
vehicle_sub_model: string;
|
|
16219
16223
|
vehicle_make_id: string;
|
|
16220
16224
|
vehicle_model_id: string;
|
|
@@ -16363,9 +16367,9 @@ declare const MasterVehicleModelSchema: z.ZodObject<{
|
|
|
16363
16367
|
description: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
|
|
16364
16368
|
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
16365
16369
|
}, "strip", z.ZodTypeAny, {
|
|
16370
|
+
description: string;
|
|
16366
16371
|
status: Status;
|
|
16367
16372
|
organisation_id: string;
|
|
16368
|
-
description: string;
|
|
16369
16373
|
vehicle_make_id: string;
|
|
16370
16374
|
vehicle_model: string;
|
|
16371
16375
|
}, {
|
|
@@ -16507,9 +16511,9 @@ declare const MasterVehicleMakeSchema: z.ZodObject<{
|
|
|
16507
16511
|
description: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
|
|
16508
16512
|
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
16509
16513
|
}, "strip", z.ZodTypeAny, {
|
|
16514
|
+
description: string;
|
|
16510
16515
|
status: Status;
|
|
16511
16516
|
organisation_id: string;
|
|
16512
|
-
description: string;
|
|
16513
16517
|
vehicle_make: string;
|
|
16514
16518
|
}, {
|
|
16515
16519
|
status: Status;
|
|
@@ -16634,9 +16638,9 @@ declare const MasterVehicleStatusTypeSchema: z.ZodObject<{
|
|
|
16634
16638
|
description: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
|
|
16635
16639
|
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
16636
16640
|
}, "strip", z.ZodTypeAny, {
|
|
16641
|
+
description: string;
|
|
16637
16642
|
status: Status;
|
|
16638
16643
|
organisation_id: string;
|
|
16639
|
-
description: string;
|
|
16640
16644
|
status_type: string;
|
|
16641
16645
|
}, {
|
|
16642
16646
|
status: Status;
|
|
@@ -16761,9 +16765,9 @@ declare const MasterVehicleOwnershipTypeSchema: z.ZodObject<{
|
|
|
16761
16765
|
description: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
|
|
16762
16766
|
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
16763
16767
|
}, "strip", z.ZodTypeAny, {
|
|
16768
|
+
description: string;
|
|
16764
16769
|
status: Status;
|
|
16765
16770
|
organisation_id: string;
|
|
16766
|
-
description: string;
|
|
16767
16771
|
ownership_type: string;
|
|
16768
16772
|
}, {
|
|
16769
16773
|
status: Status;
|
|
@@ -16888,9 +16892,9 @@ declare const MasterVehicleAssociatedToSchema: z.ZodObject<{
|
|
|
16888
16892
|
description: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
|
|
16889
16893
|
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
16890
16894
|
}, "strip", z.ZodTypeAny, {
|
|
16895
|
+
description: string;
|
|
16891
16896
|
status: Status;
|
|
16892
16897
|
organisation_id: string;
|
|
16893
|
-
description: string;
|
|
16894
16898
|
associated_to: string;
|
|
16895
16899
|
}, {
|
|
16896
16900
|
status: Status;
|
|
@@ -17011,8 +17015,8 @@ declare const MasterDeviceTypeSchema: z.ZodObject<{
|
|
|
17011
17015
|
description: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
|
|
17012
17016
|
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
17013
17017
|
}, "strip", z.ZodTypeAny, {
|
|
17014
|
-
status: Status;
|
|
17015
17018
|
description: string;
|
|
17019
|
+
status: Status;
|
|
17016
17020
|
device_type_name: string;
|
|
17017
17021
|
device_type_code: string;
|
|
17018
17022
|
}, {
|
|
@@ -17136,8 +17140,8 @@ declare const MasterDeviceModelSchema: z.ZodObject<{
|
|
|
17136
17140
|
description: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
|
|
17137
17141
|
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
17138
17142
|
}, "strip", z.ZodTypeAny, {
|
|
17139
|
-
status: Status;
|
|
17140
17143
|
description: string;
|
|
17144
|
+
status: Status;
|
|
17141
17145
|
device_model_name: string;
|
|
17142
17146
|
device_model_code: string;
|
|
17143
17147
|
device_manufacturer_id: string;
|
|
@@ -17273,8 +17277,8 @@ declare const MasterDeviceManufacturerSchema: z.ZodObject<{
|
|
|
17273
17277
|
description: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
|
|
17274
17278
|
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
17275
17279
|
}, "strip", z.ZodTypeAny, {
|
|
17276
|
-
status: Status;
|
|
17277
17280
|
description: string;
|
|
17281
|
+
status: Status;
|
|
17278
17282
|
device_manufacturer_name: string;
|
|
17279
17283
|
device_manufacturer_code: string;
|
|
17280
17284
|
}, {
|
|
@@ -17431,9 +17435,9 @@ declare const FleetInspectionScheduleSchema: z.ZodObject<{
|
|
|
17431
17435
|
}, "strip", z.ZodTypeAny, {
|
|
17432
17436
|
status: Status;
|
|
17433
17437
|
organisation_id: string;
|
|
17438
|
+
user_id: string;
|
|
17434
17439
|
time_zone_id: string;
|
|
17435
17440
|
vehicle_ids: string[];
|
|
17436
|
-
user_id: string;
|
|
17437
17441
|
inspection_schedule_name: string;
|
|
17438
17442
|
inspection_schedule_description: string;
|
|
17439
17443
|
inspection_schedule_start_date: string;
|
|
@@ -17441,8 +17445,8 @@ declare const FleetInspectionScheduleSchema: z.ZodObject<{
|
|
|
17441
17445
|
}, {
|
|
17442
17446
|
status: Status;
|
|
17443
17447
|
organisation_id: string;
|
|
17444
|
-
time_zone_id: string;
|
|
17445
17448
|
user_id: string;
|
|
17449
|
+
time_zone_id: string;
|
|
17446
17450
|
inspection_schedule_name: string;
|
|
17447
17451
|
inspection_schedule_start_date: string;
|
|
17448
17452
|
inspection_schedule_due_date: string;
|
|
@@ -17600,9 +17604,9 @@ declare const FleetServiceScheduleSchema: z.ZodObject<{
|
|
|
17600
17604
|
}, "strip", z.ZodTypeAny, {
|
|
17601
17605
|
status: Status;
|
|
17602
17606
|
organisation_id: string;
|
|
17607
|
+
user_id: string;
|
|
17603
17608
|
time_zone_id: string;
|
|
17604
17609
|
vehicle_ids: string[];
|
|
17605
|
-
user_id: string;
|
|
17606
17610
|
service_schedule_name: string;
|
|
17607
17611
|
service_schedule_description: string;
|
|
17608
17612
|
service_schedule_start_date: string;
|
|
@@ -17610,8 +17614,8 @@ declare const FleetServiceScheduleSchema: z.ZodObject<{
|
|
|
17610
17614
|
}, {
|
|
17611
17615
|
status: Status;
|
|
17612
17616
|
organisation_id: string;
|
|
17613
|
-
time_zone_id: string;
|
|
17614
17617
|
user_id: string;
|
|
17618
|
+
time_zone_id: string;
|
|
17615
17619
|
service_schedule_name: string;
|
|
17616
17620
|
service_schedule_start_date: string;
|
|
17617
17621
|
service_schedule_due_date: string;
|
|
@@ -17986,16 +17990,16 @@ declare const GPSTrackHistoryShareLinkSchema: z.ZodObject<{
|
|
|
17986
17990
|
}, "strip", z.ZodTypeAny, {
|
|
17987
17991
|
status: Status;
|
|
17988
17992
|
organisation_id: string;
|
|
17989
|
-
vehicle_id: string;
|
|
17990
17993
|
time_zone_id: string;
|
|
17994
|
+
vehicle_id: string;
|
|
17991
17995
|
link_status: TrackHistoryLinkStatus;
|
|
17992
17996
|
from_date_time: string;
|
|
17993
17997
|
to_date_time: string;
|
|
17994
17998
|
}, {
|
|
17995
17999
|
status: Status;
|
|
17996
18000
|
organisation_id: string;
|
|
17997
|
-
vehicle_id: string;
|
|
17998
18001
|
time_zone_id: string;
|
|
18002
|
+
vehicle_id: string;
|
|
17999
18003
|
link_status: TrackHistoryLinkStatus;
|
|
18000
18004
|
from_date_time: string;
|
|
18001
18005
|
to_date_time: string;
|
|
@@ -18439,9 +18443,9 @@ declare const OrganisationFleetSchema: z.ZodObject<{
|
|
|
18439
18443
|
description: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
|
|
18440
18444
|
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
18441
18445
|
}, "strip", z.ZodTypeAny, {
|
|
18446
|
+
description: string;
|
|
18442
18447
|
status: Status;
|
|
18443
18448
|
organisation_id: string;
|
|
18444
|
-
description: string;
|
|
18445
18449
|
fleet_name: string;
|
|
18446
18450
|
}, {
|
|
18447
18451
|
status: Status;
|
|
@@ -19220,7 +19224,7 @@ declare const MasterVehicleFileSchema: z.ZodObject<{
|
|
|
19220
19224
|
}, "strip", z.ZodTypeAny, {
|
|
19221
19225
|
status: Status;
|
|
19222
19226
|
organisation_id: string;
|
|
19223
|
-
|
|
19227
|
+
user_id: string;
|
|
19224
19228
|
usage_type: string;
|
|
19225
19229
|
file_type: FileType;
|
|
19226
19230
|
file_url: string;
|
|
@@ -19229,14 +19233,14 @@ declare const MasterVehicleFileSchema: z.ZodObject<{
|
|
|
19229
19233
|
file_description: string;
|
|
19230
19234
|
file_size: number;
|
|
19231
19235
|
file_metadata: Record<string, any>;
|
|
19232
|
-
|
|
19236
|
+
vehicle_id: string;
|
|
19233
19237
|
}, {
|
|
19234
19238
|
status: Status;
|
|
19235
19239
|
organisation_id: string;
|
|
19236
|
-
|
|
19240
|
+
user_id: string;
|
|
19237
19241
|
usage_type: string;
|
|
19238
19242
|
file_type: FileType;
|
|
19239
|
-
|
|
19243
|
+
vehicle_id: string;
|
|
19240
19244
|
file_url?: string | undefined;
|
|
19241
19245
|
file_key?: string | undefined;
|
|
19242
19246
|
file_name?: string | undefined;
|
|
@@ -19315,7 +19319,7 @@ declare const VehicleSchema: z.ZodObject<{
|
|
|
19315
19319
|
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
19316
19320
|
status: Status;
|
|
19317
19321
|
organisation_id: string;
|
|
19318
|
-
|
|
19322
|
+
user_id: string;
|
|
19319
19323
|
usage_type: string;
|
|
19320
19324
|
file_type: FileType;
|
|
19321
19325
|
file_url: string;
|
|
@@ -19324,14 +19328,14 @@ declare const VehicleSchema: z.ZodObject<{
|
|
|
19324
19328
|
file_description: string;
|
|
19325
19329
|
file_size: number;
|
|
19326
19330
|
file_metadata: Record<string, any>;
|
|
19327
|
-
|
|
19331
|
+
vehicle_id: string;
|
|
19328
19332
|
}, {
|
|
19329
19333
|
status: Status;
|
|
19330
19334
|
organisation_id: string;
|
|
19331
|
-
|
|
19335
|
+
user_id: string;
|
|
19332
19336
|
usage_type: string;
|
|
19333
19337
|
file_type: FileType;
|
|
19334
|
-
|
|
19338
|
+
vehicle_id: string;
|
|
19335
19339
|
file_url?: string | undefined;
|
|
19336
19340
|
file_key?: string | undefined;
|
|
19337
19341
|
file_name?: string | undefined;
|
|
@@ -19342,14 +19346,14 @@ declare const VehicleSchema: z.ZodObject<{
|
|
|
19342
19346
|
}, "strip", z.ZodTypeAny, {
|
|
19343
19347
|
status: Status;
|
|
19344
19348
|
organisation_id: string;
|
|
19345
|
-
|
|
19349
|
+
user_id: string;
|
|
19346
19350
|
time_zone_id: string;
|
|
19347
19351
|
country_id: string;
|
|
19348
19352
|
organisation_sub_company_id: string;
|
|
19349
19353
|
organisation_branch_id: string;
|
|
19350
19354
|
organisation_color_id: string;
|
|
19351
19355
|
organisation_tag_id: string;
|
|
19352
|
-
|
|
19356
|
+
vehicle_number: string;
|
|
19353
19357
|
odometer_reading: number;
|
|
19354
19358
|
vehicle_fuel_type_id: string;
|
|
19355
19359
|
vehicle_fuel_unit_id: string;
|
|
@@ -19381,7 +19385,7 @@ declare const VehicleSchema: z.ZodObject<{
|
|
|
19381
19385
|
MasterVehicleFileSchema: {
|
|
19382
19386
|
status: Status;
|
|
19383
19387
|
organisation_id: string;
|
|
19384
|
-
|
|
19388
|
+
user_id: string;
|
|
19385
19389
|
usage_type: string;
|
|
19386
19390
|
file_type: FileType;
|
|
19387
19391
|
file_url: string;
|
|
@@ -19390,19 +19394,19 @@ declare const VehicleSchema: z.ZodObject<{
|
|
|
19390
19394
|
file_description: string;
|
|
19391
19395
|
file_size: number;
|
|
19392
19396
|
file_metadata: Record<string, any>;
|
|
19393
|
-
|
|
19397
|
+
vehicle_id: string;
|
|
19394
19398
|
}[];
|
|
19395
19399
|
}, {
|
|
19396
19400
|
status: Status;
|
|
19397
19401
|
organisation_id: string;
|
|
19398
|
-
|
|
19402
|
+
user_id: string;
|
|
19399
19403
|
time_zone_id: string;
|
|
19400
19404
|
country_id: string;
|
|
19401
19405
|
organisation_sub_company_id: string;
|
|
19402
19406
|
organisation_branch_id: string;
|
|
19403
19407
|
organisation_color_id: string;
|
|
19404
19408
|
organisation_tag_id: string;
|
|
19405
|
-
|
|
19409
|
+
vehicle_number: string;
|
|
19406
19410
|
vehicle_fuel_type_id: string;
|
|
19407
19411
|
vehicle_fuel_unit_id: string;
|
|
19408
19412
|
vehicle_type_id: string;
|
|
@@ -19434,10 +19438,10 @@ declare const VehicleSchema: z.ZodObject<{
|
|
|
19434
19438
|
MasterVehicleFileSchema?: {
|
|
19435
19439
|
status: Status;
|
|
19436
19440
|
organisation_id: string;
|
|
19437
|
-
|
|
19441
|
+
user_id: string;
|
|
19438
19442
|
usage_type: string;
|
|
19439
19443
|
file_type: FileType;
|
|
19440
|
-
|
|
19444
|
+
vehicle_id: string;
|
|
19441
19445
|
file_url?: string | undefined;
|
|
19442
19446
|
file_key?: string | undefined;
|
|
19443
19447
|
file_name?: string | undefined;
|
|
@@ -19970,12 +19974,12 @@ declare const VehicleQuerySchema: z.ZodObject<{
|
|
|
19970
19974
|
date_format_id: string;
|
|
19971
19975
|
time_zone_id: string;
|
|
19972
19976
|
organisation_ids: string[];
|
|
19973
|
-
|
|
19977
|
+
user_ids: string[];
|
|
19974
19978
|
organisation_sub_company_ids: string[];
|
|
19975
19979
|
organisation_branch_ids: string[];
|
|
19976
19980
|
organisation_color_ids: string[];
|
|
19977
19981
|
organisation_tag_ids: string[];
|
|
19978
|
-
|
|
19982
|
+
vehicle_ids: string[];
|
|
19979
19983
|
driver_ids: string[];
|
|
19980
19984
|
vehicle_fuel_type_ids: string[];
|
|
19981
19985
|
vehicle_fuel_unit_ids: string[];
|
|
@@ -20017,12 +20021,12 @@ declare const VehicleQuerySchema: z.ZodObject<{
|
|
|
20017
20021
|
}[] | undefined;
|
|
20018
20022
|
include_master_data?: YesNo | undefined;
|
|
20019
20023
|
organisation_ids?: string[] | undefined;
|
|
20020
|
-
|
|
20024
|
+
user_ids?: string[] | undefined;
|
|
20021
20025
|
organisation_sub_company_ids?: string[] | undefined;
|
|
20022
20026
|
organisation_branch_ids?: string[] | undefined;
|
|
20023
20027
|
organisation_color_ids?: string[] | undefined;
|
|
20024
20028
|
organisation_tag_ids?: string[] | undefined;
|
|
20025
|
-
|
|
20029
|
+
vehicle_ids?: string[] | undefined;
|
|
20026
20030
|
driver_ids?: string[] | undefined;
|
|
20027
20031
|
vehicle_fuel_type_ids?: string[] | undefined;
|
|
20028
20032
|
vehicle_fuel_unit_ids?: string[] | undefined;
|
|
@@ -20159,7 +20163,6 @@ declare const VehicleGPSQuerySchema: z.ZodObject<{
|
|
|
20159
20163
|
}, "strip", z.ZodTypeAny, {
|
|
20160
20164
|
status: Status[];
|
|
20161
20165
|
organisation_id: string;
|
|
20162
|
-
vehicle_id: string;
|
|
20163
20166
|
search: string;
|
|
20164
20167
|
paging: PAGING;
|
|
20165
20168
|
page_count: number;
|
|
@@ -20180,11 +20183,12 @@ declare const VehicleGPSQuerySchema: z.ZodObject<{
|
|
|
20180
20183
|
include_master_data: YesNo;
|
|
20181
20184
|
date_format_id: string;
|
|
20182
20185
|
time_zone_id: string;
|
|
20186
|
+
vehicle_id: string;
|
|
20183
20187
|
}, {
|
|
20184
20188
|
organisation_id: string;
|
|
20185
|
-
vehicle_id: string;
|
|
20186
20189
|
date_format_id: string;
|
|
20187
20190
|
time_zone_id: string;
|
|
20191
|
+
vehicle_id: string;
|
|
20188
20192
|
status?: Status[] | undefined;
|
|
20189
20193
|
search?: string | undefined;
|
|
20190
20194
|
paging?: PAGING | undefined;
|
|
@@ -20789,6 +20793,7 @@ declare const TicketFileSchema: z.ZodObject<{
|
|
|
20789
20793
|
}, "strip", z.ZodTypeAny, {
|
|
20790
20794
|
status: Status;
|
|
20791
20795
|
organisation_id: string;
|
|
20796
|
+
user_id: string;
|
|
20792
20797
|
usage_type: string;
|
|
20793
20798
|
file_type: FileType;
|
|
20794
20799
|
file_url: string;
|
|
@@ -20797,14 +20802,13 @@ declare const TicketFileSchema: z.ZodObject<{
|
|
|
20797
20802
|
file_description: string;
|
|
20798
20803
|
file_size: number;
|
|
20799
20804
|
file_metadata: Record<string, any>;
|
|
20800
|
-
user_id: string;
|
|
20801
20805
|
ticket_id: string;
|
|
20802
20806
|
}, {
|
|
20803
20807
|
status: Status;
|
|
20804
20808
|
organisation_id: string;
|
|
20809
|
+
user_id: string;
|
|
20805
20810
|
usage_type: string;
|
|
20806
20811
|
file_type: FileType;
|
|
20807
|
-
user_id: string;
|
|
20808
20812
|
ticket_id: string;
|
|
20809
20813
|
file_url?: string | undefined;
|
|
20810
20814
|
file_key?: string | undefined;
|
|
@@ -20837,6 +20841,7 @@ declare const TicketSchema: z.ZodObject<{
|
|
|
20837
20841
|
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
20838
20842
|
status: Status;
|
|
20839
20843
|
organisation_id: string;
|
|
20844
|
+
user_id: string;
|
|
20840
20845
|
usage_type: string;
|
|
20841
20846
|
file_type: FileType;
|
|
20842
20847
|
file_url: string;
|
|
@@ -20845,14 +20850,13 @@ declare const TicketSchema: z.ZodObject<{
|
|
|
20845
20850
|
file_description: string;
|
|
20846
20851
|
file_size: number;
|
|
20847
20852
|
file_metadata: Record<string, any>;
|
|
20848
|
-
user_id: string;
|
|
20849
20853
|
ticket_id: string;
|
|
20850
20854
|
}, {
|
|
20851
20855
|
status: Status;
|
|
20852
20856
|
organisation_id: string;
|
|
20857
|
+
user_id: string;
|
|
20853
20858
|
usage_type: string;
|
|
20854
20859
|
file_type: FileType;
|
|
20855
|
-
user_id: string;
|
|
20856
20860
|
ticket_id: string;
|
|
20857
20861
|
file_url?: string | undefined;
|
|
20858
20862
|
file_key?: string | undefined;
|
|
@@ -20862,14 +20866,15 @@ declare const TicketSchema: z.ZodObject<{
|
|
|
20862
20866
|
file_metadata?: Record<string, any> | undefined;
|
|
20863
20867
|
}>, "many">>>;
|
|
20864
20868
|
}, "strip", z.ZodTypeAny, {
|
|
20869
|
+
description: string;
|
|
20865
20870
|
status: Status;
|
|
20866
20871
|
organisation_id: string;
|
|
20867
|
-
description: string;
|
|
20868
20872
|
user_id: string;
|
|
20869
20873
|
subject: string;
|
|
20870
20874
|
TicketFileSchema: {
|
|
20871
20875
|
status: Status;
|
|
20872
20876
|
organisation_id: string;
|
|
20877
|
+
user_id: string;
|
|
20873
20878
|
usage_type: string;
|
|
20874
20879
|
file_type: FileType;
|
|
20875
20880
|
file_url: string;
|
|
@@ -20878,7 +20883,6 @@ declare const TicketSchema: z.ZodObject<{
|
|
|
20878
20883
|
file_description: string;
|
|
20879
20884
|
file_size: number;
|
|
20880
20885
|
file_metadata: Record<string, any>;
|
|
20881
|
-
user_id: string;
|
|
20882
20886
|
ticket_id: string;
|
|
20883
20887
|
}[];
|
|
20884
20888
|
}, {
|
|
@@ -20890,9 +20894,9 @@ declare const TicketSchema: z.ZodObject<{
|
|
|
20890
20894
|
TicketFileSchema?: {
|
|
20891
20895
|
status: Status;
|
|
20892
20896
|
organisation_id: string;
|
|
20897
|
+
user_id: string;
|
|
20893
20898
|
usage_type: string;
|
|
20894
20899
|
file_type: FileType;
|
|
20895
|
-
user_id: string;
|
|
20896
20900
|
ticket_id: string;
|
|
20897
20901
|
file_url?: string | undefined;
|
|
20898
20902
|
file_key?: string | undefined;
|
|
@@ -20926,6 +20930,7 @@ declare const TicketVerifySchema: z.ZodObject<{
|
|
|
20926
20930
|
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
20927
20931
|
status: Status;
|
|
20928
20932
|
organisation_id: string;
|
|
20933
|
+
user_id: string;
|
|
20929
20934
|
usage_type: string;
|
|
20930
20935
|
file_type: FileType;
|
|
20931
20936
|
file_url: string;
|
|
@@ -20934,14 +20939,13 @@ declare const TicketVerifySchema: z.ZodObject<{
|
|
|
20934
20939
|
file_description: string;
|
|
20935
20940
|
file_size: number;
|
|
20936
20941
|
file_metadata: Record<string, any>;
|
|
20937
|
-
user_id: string;
|
|
20938
20942
|
ticket_id: string;
|
|
20939
20943
|
}, {
|
|
20940
20944
|
status: Status;
|
|
20941
20945
|
organisation_id: string;
|
|
20946
|
+
user_id: string;
|
|
20942
20947
|
usage_type: string;
|
|
20943
20948
|
file_type: FileType;
|
|
20944
|
-
user_id: string;
|
|
20945
20949
|
ticket_id: string;
|
|
20946
20950
|
file_url?: string | undefined;
|
|
20947
20951
|
file_key?: string | undefined;
|
|
@@ -20959,6 +20963,7 @@ declare const TicketVerifySchema: z.ZodObject<{
|
|
|
20959
20963
|
TicketFileSchema: {
|
|
20960
20964
|
status: Status;
|
|
20961
20965
|
organisation_id: string;
|
|
20966
|
+
user_id: string;
|
|
20962
20967
|
usage_type: string;
|
|
20963
20968
|
file_type: FileType;
|
|
20964
20969
|
file_url: string;
|
|
@@ -20967,7 +20972,6 @@ declare const TicketVerifySchema: z.ZodObject<{
|
|
|
20967
20972
|
file_description: string;
|
|
20968
20973
|
file_size: number;
|
|
20969
20974
|
file_metadata: Record<string, any>;
|
|
20970
|
-
user_id: string;
|
|
20971
20975
|
ticket_id: string;
|
|
20972
20976
|
}[];
|
|
20973
20977
|
}, {
|
|
@@ -20979,9 +20983,9 @@ declare const TicketVerifySchema: z.ZodObject<{
|
|
|
20979
20983
|
TicketFileSchema?: {
|
|
20980
20984
|
status: Status;
|
|
20981
20985
|
organisation_id: string;
|
|
20986
|
+
user_id: string;
|
|
20982
20987
|
usage_type: string;
|
|
20983
20988
|
file_type: FileType;
|
|
20984
|
-
user_id: string;
|
|
20985
20989
|
ticket_id: string;
|
|
20986
20990
|
file_url?: string | undefined;
|
|
20987
20991
|
file_key?: string | undefined;
|
|
@@ -21414,9 +21418,9 @@ declare const MasterVehicleDocumentTypeSchema: z.ZodObject<{
|
|
|
21414
21418
|
description: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
|
|
21415
21419
|
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
21416
21420
|
}, "strip", z.ZodTypeAny, {
|
|
21421
|
+
description: string;
|
|
21417
21422
|
status: Status;
|
|
21418
21423
|
organisation_id: string;
|
|
21419
|
-
description: string;
|
|
21420
21424
|
document_type: string;
|
|
21421
21425
|
}, {
|
|
21422
21426
|
status: Status;
|
|
@@ -21633,6 +21637,7 @@ declare const FleetDocumentFileSchema: z.ZodObject<{
|
|
|
21633
21637
|
}, "strip", z.ZodTypeAny, {
|
|
21634
21638
|
status: Status;
|
|
21635
21639
|
organisation_id: string;
|
|
21640
|
+
user_id: string;
|
|
21636
21641
|
usage_type: string;
|
|
21637
21642
|
file_type: FileType;
|
|
21638
21643
|
file_url: string;
|
|
@@ -21641,14 +21646,13 @@ declare const FleetDocumentFileSchema: z.ZodObject<{
|
|
|
21641
21646
|
file_description: string;
|
|
21642
21647
|
file_size: number;
|
|
21643
21648
|
file_metadata: Record<string, any>;
|
|
21644
|
-
user_id: string;
|
|
21645
21649
|
document_id: string;
|
|
21646
21650
|
}, {
|
|
21647
21651
|
status: Status;
|
|
21648
21652
|
organisation_id: string;
|
|
21653
|
+
user_id: string;
|
|
21649
21654
|
usage_type: string;
|
|
21650
21655
|
file_type: FileType;
|
|
21651
|
-
user_id: string;
|
|
21652
21656
|
document_id: string;
|
|
21653
21657
|
file_url?: string | undefined;
|
|
21654
21658
|
file_key?: string | undefined;
|
|
@@ -21696,6 +21700,7 @@ declare const FleetDocumentSchema: z.ZodObject<{
|
|
|
21696
21700
|
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
21697
21701
|
status: Status;
|
|
21698
21702
|
organisation_id: string;
|
|
21703
|
+
user_id: string;
|
|
21699
21704
|
usage_type: string;
|
|
21700
21705
|
file_type: FileType;
|
|
21701
21706
|
file_url: string;
|
|
@@ -21704,14 +21709,13 @@ declare const FleetDocumentSchema: z.ZodObject<{
|
|
|
21704
21709
|
file_description: string;
|
|
21705
21710
|
file_size: number;
|
|
21706
21711
|
file_metadata: Record<string, any>;
|
|
21707
|
-
user_id: string;
|
|
21708
21712
|
document_id: string;
|
|
21709
21713
|
}, {
|
|
21710
21714
|
status: Status;
|
|
21711
21715
|
organisation_id: string;
|
|
21716
|
+
user_id: string;
|
|
21712
21717
|
usage_type: string;
|
|
21713
21718
|
file_type: FileType;
|
|
21714
|
-
user_id: string;
|
|
21715
21719
|
document_id: string;
|
|
21716
21720
|
file_url?: string | undefined;
|
|
21717
21721
|
file_key?: string | undefined;
|
|
@@ -21723,9 +21727,9 @@ declare const FleetDocumentSchema: z.ZodObject<{
|
|
|
21723
21727
|
}, "strip", z.ZodTypeAny, {
|
|
21724
21728
|
status: Status;
|
|
21725
21729
|
organisation_id: string;
|
|
21726
|
-
vehicle_id: string;
|
|
21727
|
-
time_zone_id: string;
|
|
21728
21730
|
user_id: string;
|
|
21731
|
+
time_zone_id: string;
|
|
21732
|
+
vehicle_id: string;
|
|
21729
21733
|
vendor_id: string;
|
|
21730
21734
|
document_type_id: string;
|
|
21731
21735
|
document_number: string;
|
|
@@ -21743,6 +21747,7 @@ declare const FleetDocumentSchema: z.ZodObject<{
|
|
|
21743
21747
|
FleetDocumentFileSchema: {
|
|
21744
21748
|
status: Status;
|
|
21745
21749
|
organisation_id: string;
|
|
21750
|
+
user_id: string;
|
|
21746
21751
|
usage_type: string;
|
|
21747
21752
|
file_type: FileType;
|
|
21748
21753
|
file_url: string;
|
|
@@ -21751,16 +21756,15 @@ declare const FleetDocumentSchema: z.ZodObject<{
|
|
|
21751
21756
|
file_description: string;
|
|
21752
21757
|
file_size: number;
|
|
21753
21758
|
file_metadata: Record<string, any>;
|
|
21754
|
-
user_id: string;
|
|
21755
21759
|
document_id: string;
|
|
21756
21760
|
}[];
|
|
21757
21761
|
document_cost?: number | undefined;
|
|
21758
21762
|
}, {
|
|
21759
21763
|
status: Status;
|
|
21760
21764
|
organisation_id: string;
|
|
21761
|
-
vehicle_id: string;
|
|
21762
|
-
time_zone_id: string;
|
|
21763
21765
|
user_id: string;
|
|
21766
|
+
time_zone_id: string;
|
|
21767
|
+
vehicle_id: string;
|
|
21764
21768
|
vendor_id: string;
|
|
21765
21769
|
document_type_id: string;
|
|
21766
21770
|
document_validity_status: DocumentValidityStatus;
|
|
@@ -21779,9 +21783,9 @@ declare const FleetDocumentSchema: z.ZodObject<{
|
|
|
21779
21783
|
FleetDocumentFileSchema?: {
|
|
21780
21784
|
status: Status;
|
|
21781
21785
|
organisation_id: string;
|
|
21786
|
+
user_id: string;
|
|
21782
21787
|
usage_type: string;
|
|
21783
21788
|
file_type: FileType;
|
|
21784
|
-
user_id: string;
|
|
21785
21789
|
document_id: string;
|
|
21786
21790
|
file_url?: string | undefined;
|
|
21787
21791
|
file_key?: string | undefined;
|
|
@@ -21854,8 +21858,8 @@ declare const FleetDocumentQuerySchema: z.ZodObject<{
|
|
|
21854
21858
|
date_format_id: string;
|
|
21855
21859
|
time_zone_id: string;
|
|
21856
21860
|
organisation_ids: string[];
|
|
21857
|
-
vehicle_ids: string[];
|
|
21858
21861
|
user_ids: string[];
|
|
21862
|
+
vehicle_ids: string[];
|
|
21859
21863
|
vendor_ids: string[];
|
|
21860
21864
|
document_type_ids: string[];
|
|
21861
21865
|
document_validity_status: DocumentValidityStatus[];
|
|
@@ -21884,8 +21888,8 @@ declare const FleetDocumentQuerySchema: z.ZodObject<{
|
|
|
21884
21888
|
}[] | undefined;
|
|
21885
21889
|
include_master_data?: YesNo | undefined;
|
|
21886
21890
|
organisation_ids?: string[] | undefined;
|
|
21887
|
-
vehicle_ids?: string[] | undefined;
|
|
21888
21891
|
user_ids?: string[] | undefined;
|
|
21892
|
+
vehicle_ids?: string[] | undefined;
|
|
21889
21893
|
vendor_ids?: string[] | undefined;
|
|
21890
21894
|
document_type_ids?: string[] | undefined;
|
|
21891
21895
|
document_validity_status?: DocumentValidityStatus[] | undefined;
|
|
@@ -22151,8 +22155,8 @@ declare const UserBookmarkSaveSelectionItemSchema: z.ZodObject<{
|
|
|
22151
22155
|
bookmark_page_id: z.ZodEffects<z.ZodString, string, string>;
|
|
22152
22156
|
sort_order: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
22153
22157
|
}, "strip", z.ZodTypeAny, {
|
|
22154
|
-
bookmark_page_id: string;
|
|
22155
22158
|
sort_order: number;
|
|
22159
|
+
bookmark_page_id: string;
|
|
22156
22160
|
}, {
|
|
22157
22161
|
bookmark_page_id: string;
|
|
22158
22162
|
sort_order?: number | undefined;
|
|
@@ -22164,8 +22168,8 @@ declare const UserBookmarkSaveSelectionSchema: z.ZodObject<{
|
|
|
22164
22168
|
bookmark_page_id: z.ZodEffects<z.ZodString, string, string>;
|
|
22165
22169
|
sort_order: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
22166
22170
|
}, "strip", z.ZodTypeAny, {
|
|
22167
|
-
bookmark_page_id: string;
|
|
22168
22171
|
sort_order: number;
|
|
22172
|
+
bookmark_page_id: string;
|
|
22169
22173
|
}, {
|
|
22170
22174
|
bookmark_page_id: string;
|
|
22171
22175
|
sort_order?: number | undefined;
|
|
@@ -22174,8 +22178,8 @@ declare const UserBookmarkSaveSelectionSchema: z.ZodObject<{
|
|
|
22174
22178
|
organisation_id: string;
|
|
22175
22179
|
user_id: string;
|
|
22176
22180
|
pages: {
|
|
22177
|
-
bookmark_page_id: string;
|
|
22178
22181
|
sort_order: number;
|
|
22182
|
+
bookmark_page_id: string;
|
|
22179
22183
|
}[];
|
|
22180
22184
|
}, {
|
|
22181
22185
|
organisation_id: string;
|
|
@@ -22827,14 +22831,14 @@ declare const UserSchema: z.ZodObject<{
|
|
|
22827
22831
|
}, "strip", z.ZodTypeAny, {
|
|
22828
22832
|
status: Status;
|
|
22829
22833
|
organisation_id: string;
|
|
22834
|
+
user_image_url: string;
|
|
22830
22835
|
date_format_id: string;
|
|
22831
22836
|
time_zone_id: string;
|
|
22832
|
-
vehicle_ids: string[];
|
|
22833
22837
|
user_role_id: string;
|
|
22834
22838
|
user_status_id: string;
|
|
22835
22839
|
language_id: string;
|
|
22836
22840
|
organisation_branch_id: string;
|
|
22837
|
-
|
|
22841
|
+
vehicle_ids: string[];
|
|
22838
22842
|
mobile: string;
|
|
22839
22843
|
email: string;
|
|
22840
22844
|
first_name: string;
|
|
@@ -22860,8 +22864,8 @@ declare const UserSchema: z.ZodObject<{
|
|
|
22860
22864
|
all_vehicles: YesNo;
|
|
22861
22865
|
can_login: YesNo;
|
|
22862
22866
|
is_root_user: YesNo;
|
|
22863
|
-
vehicle_ids?: string[] | undefined;
|
|
22864
22867
|
user_image_url?: string | undefined;
|
|
22868
|
+
vehicle_ids?: string[] | undefined;
|
|
22865
22869
|
mobile?: string | undefined;
|
|
22866
22870
|
last_name?: string | undefined;
|
|
22867
22871
|
password?: string | undefined;
|
|
@@ -22935,12 +22939,12 @@ declare const UserQuerySchema: z.ZodObject<{
|
|
|
22935
22939
|
date_format_id: string;
|
|
22936
22940
|
time_zone_id: string;
|
|
22937
22941
|
organisation_ids: string[];
|
|
22942
|
+
user_ids: string[];
|
|
22938
22943
|
user_role_ids: string[];
|
|
22939
22944
|
user_status_ids: string[];
|
|
22940
22945
|
language_ids: string[];
|
|
22941
22946
|
date_format_ids: string[];
|
|
22942
22947
|
organisation_branch_ids: string[];
|
|
22943
|
-
user_ids: string[];
|
|
22944
22948
|
all_vehicles: YesNo[];
|
|
22945
22949
|
can_login: YesNo[];
|
|
22946
22950
|
is_root_user: YesNo[];
|
|
@@ -22968,12 +22972,12 @@ declare const UserQuerySchema: z.ZodObject<{
|
|
|
22968
22972
|
}[] | undefined;
|
|
22969
22973
|
include_master_data?: YesNo | undefined;
|
|
22970
22974
|
organisation_ids?: string[] | undefined;
|
|
22975
|
+
user_ids?: string[] | undefined;
|
|
22971
22976
|
user_role_ids?: string[] | undefined;
|
|
22972
22977
|
user_status_ids?: string[] | undefined;
|
|
22973
22978
|
language_ids?: string[] | undefined;
|
|
22974
22979
|
date_format_ids?: string[] | undefined;
|
|
22975
22980
|
organisation_branch_ids?: string[] | undefined;
|
|
22976
|
-
user_ids?: string[] | undefined;
|
|
22977
22981
|
all_vehicles?: YesNo[] | undefined;
|
|
22978
22982
|
can_login?: YesNo[] | undefined;
|
|
22979
22983
|
is_root_user?: YesNo[] | undefined;
|
|
@@ -24054,9 +24058,9 @@ declare const MasterExpenseTypeSchema: z.ZodObject<{
|
|
|
24054
24058
|
description: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
|
|
24055
24059
|
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
24056
24060
|
}, "strip", z.ZodTypeAny, {
|
|
24061
|
+
description: string;
|
|
24057
24062
|
status: Status;
|
|
24058
24063
|
organisation_id: string;
|
|
24059
|
-
description: string;
|
|
24060
24064
|
expense_type_name: string;
|
|
24061
24065
|
}, {
|
|
24062
24066
|
status: Status;
|
|
@@ -24183,9 +24187,9 @@ declare const MasterSparePartSubCategorySchema: z.ZodObject<{
|
|
|
24183
24187
|
description: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
|
|
24184
24188
|
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
24185
24189
|
}, "strip", z.ZodTypeAny, {
|
|
24190
|
+
description: string;
|
|
24186
24191
|
status: Status;
|
|
24187
24192
|
organisation_id: string;
|
|
24188
|
-
description: string;
|
|
24189
24193
|
sub_category_name: string;
|
|
24190
24194
|
sub_category_code: string;
|
|
24191
24195
|
spare_part_category_id: string;
|
|
@@ -24327,9 +24331,9 @@ declare const MasterSparePartCategorySchema: z.ZodObject<{
|
|
|
24327
24331
|
description: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
|
|
24328
24332
|
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
24329
24333
|
}, "strip", z.ZodTypeAny, {
|
|
24334
|
+
description: string;
|
|
24330
24335
|
status: Status;
|
|
24331
24336
|
organisation_id: string;
|
|
24332
|
-
description: string;
|
|
24333
24337
|
category_name: string;
|
|
24334
24338
|
category_code: string;
|
|
24335
24339
|
}, {
|
|
@@ -24457,9 +24461,9 @@ declare const MasterSparePartUnitSchema: z.ZodObject<{
|
|
|
24457
24461
|
description: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
|
|
24458
24462
|
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
24459
24463
|
}, "strip", z.ZodTypeAny, {
|
|
24464
|
+
description: string;
|
|
24460
24465
|
status: Status;
|
|
24461
24466
|
organisation_id: string;
|
|
24462
|
-
description: string;
|
|
24463
24467
|
unit_name: string;
|
|
24464
24468
|
unit_code: string;
|
|
24465
24469
|
}, {
|
|
@@ -24584,9 +24588,9 @@ declare const MasterTripPartyTypeSchema: z.ZodObject<{
|
|
|
24584
24588
|
description: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
|
|
24585
24589
|
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
24586
24590
|
}, "strip", z.ZodTypeAny, {
|
|
24591
|
+
description: string;
|
|
24587
24592
|
status: Status;
|
|
24588
24593
|
organisation_id: string;
|
|
24589
|
-
description: string;
|
|
24590
24594
|
party_type: string;
|
|
24591
24595
|
}, {
|
|
24592
24596
|
status: Status;
|
|
@@ -24708,9 +24712,9 @@ declare const MasterTyreGradeSchema: z.ZodObject<{
|
|
|
24708
24712
|
description: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
|
|
24709
24713
|
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
24710
24714
|
}, "strip", z.ZodTypeAny, {
|
|
24715
|
+
description: string;
|
|
24711
24716
|
status: Status;
|
|
24712
24717
|
organisation_id: string;
|
|
24713
|
-
description: string;
|
|
24714
24718
|
tyre_grade: string;
|
|
24715
24719
|
}, {
|
|
24716
24720
|
status: Status;
|
|
@@ -24849,9 +24853,9 @@ declare const MasterTyreModelSchema: z.ZodObject<{
|
|
|
24849
24853
|
recommended_max_run_kms: z.ZodOptional<z.ZodEffects<z.ZodDefault<z.ZodNumber>, number, unknown>>;
|
|
24850
24854
|
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
24851
24855
|
}, "strip", z.ZodTypeAny, {
|
|
24856
|
+
description: string;
|
|
24852
24857
|
status: Status;
|
|
24853
24858
|
organisation_id: string;
|
|
24854
|
-
description: string;
|
|
24855
24859
|
tyre_model: string;
|
|
24856
24860
|
warranty_months: number;
|
|
24857
24861
|
tyre_size: string;
|
|
@@ -25001,9 +25005,9 @@ declare const MasterTyreMakeSchema: z.ZodObject<{
|
|
|
25001
25005
|
description: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
|
|
25002
25006
|
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
25003
25007
|
}, "strip", z.ZodTypeAny, {
|
|
25008
|
+
description: string;
|
|
25004
25009
|
status: Status;
|
|
25005
25010
|
organisation_id: string;
|
|
25006
|
-
description: string;
|
|
25007
25011
|
tyre_make: string;
|
|
25008
25012
|
}, {
|
|
25009
25013
|
status: Status;
|