vms-nest-api-document 38.0.0 → 40.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-Dzghg3YL.d.ts → fasttag_details-C8ydFMY5.d.ts} +19 -19
- package/dist/services/account/analytics/user_login_analytics_service.d.ts +3 -3
- package/dist/services/account/analytics/user_page_analytics_service.d.ts +1 -1
- package/dist/services/account/eway_bill_details.d.ts +4 -4
- 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/master_bookmark_service.d.ts +1 -1
- package/dist/services/account/notification_preferences.service.d.ts +1 -1
- package/dist/services/account/report_preferences.service.d.ts +1 -1
- package/dist/services/account/ticket_service.d.ts +1 -1
- package/dist/services/account/user_bookmark_service.d.ts +1 -1
- package/dist/services/core/external_api_push.service.d.ts +1 -1
- package/dist/services/core/external_api_share.service.d.ts +1 -1
- package/dist/services/core/external_api_sync.service.d.ts +1 -1
- package/dist/services/fleet/breakdown_management/breakdown_management_service.d.ts +1 -1
- package/dist/services/fleet/bus_mangement/bus_stop.d.ts +1 -1
- package/dist/services/fleet/bus_mangement/day_run_daily_schedule_api.d.ts +1 -1
- package/dist/services/fleet/bus_mangement/day_run_special_schedule_api.d.ts +1 -1
- package/dist/services/fleet/bus_mangement/master_daily_schedule.d.ts +1 -1
- package/dist/services/fleet/bus_mangement/master_route.d.ts +1 -1
- package/dist/services/fleet/bus_mangement/master_special_schedule.d.ts +1 -1
- package/dist/services/fleet/document_management/document_management_service.d.ts +1 -1
- package/dist/services/fleet/fuel_management/fleet_fuel_daily_summary_service.d.ts +1 -1
- package/dist/services/fleet/fuel_management/fleet_fuel_refill_service.d.ts +1 -1
- package/dist/services/fleet/fuel_management/fleet_fuel_removal_service.d.ts +1 -1
- package/dist/services/fleet/incident_management/incident_management_service.d.ts +1 -1
- package/dist/services/fleet/inspection_management/fleet_inspection_form_service.d.ts +1 -1
- package/dist/services/fleet/inspection_management/fleet_inspection_management_service.d.ts +1 -1
- package/dist/services/fleet/inspection_management/fleet_inspection_schedule_service.d.ts +1 -1
- package/dist/services/fleet/issue_management/issue_management_service.d.ts +1 -1
- package/dist/services/fleet/school_management/calendar_service.d.ts +1 -1
- package/dist/services/fleet/school_management/notice_board_service.d.ts +1 -1
- package/dist/services/fleet/school_management/student_service.d.ts +1 -1
- package/dist/services/fleet/service_management/fleet_service_schedule_service.d.ts +1 -1
- package/dist/services/fleet/service_management/fleet_service_service.d.ts +1 -1
- package/dist/services/fleet/vendor_management/fleet_vendor_fuel_station.d.ts +1 -1
- package/dist/services/fleet/vendor_management/fleet_vendor_service.d.ts +1 -1
- package/dist/services/fleet/vendor_management/fleet_vendor_service_center.d.ts +1 -1
- package/dist/services/fleet/workshop_management/fleet_workshop_service.d.ts +1 -1
- package/dist/services/gps/features/geofence/gps_geofence_service.d.ts +1 -1
- package/dist/services/gps/features/geofence/gps_geofence_transaction_service.d.ts +1 -1
- package/dist/services/gps/features/geofence/gps_geofence_transaction_summary_service.d.ts +1 -1
- package/dist/services/gps/features/geofence/trip_geofence_to_geofence_service.d.ts +1 -1
- package/dist/services/gps/features/gps_live_track_share_link_service.d.ts +1 -1
- package/dist/services/gps/features/gps_lock_digital_door_log_service.d.ts +3 -3
- package/dist/services/gps/features/gps_lock_relay_log_service.d.ts +3 -3
- package/dist/services/gps/features/gps_track_history_share_link_service.d.ts +1 -1
- package/dist/services/gps/reports/gps_reports_mongo_service.d.ts +18 -18
- package/dist/services/main/drivers/master_driver_service.d.ts +1 -1
- package/dist/services/main/users/auth_service.d.ts +1 -1
- package/dist/services/main/users/user_admin_service.d.ts +1 -1
- package/dist/services/main/users/user_organisation_service.d.ts +1 -1
- package/dist/services/main/users/user_service.d.ts +1 -1
- package/dist/services/main/vehicle/childs/vehicle_odometer_history.d.ts +1 -1
- package/dist/services/main/vehicle/master_vehicle_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_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_group_service.d.ts +1 -1
- package/dist/services/master/organisation/organisation_share_service.d.ts +135 -0
- package/dist/services/master/organisation/organisation_share_service.js +325 -0
- 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/package.json +1 -1
- package/dist/{user_organisation_service-tecJ9sq_.d.ts → user_organisation_service-YB8uNPFT.d.ts} +309 -309
package/dist/{user_organisation_service-tecJ9sq_.d.ts → user_organisation_service-YB8uNPFT.d.ts}
RENAMED
|
@@ -270,13 +270,13 @@ declare const MasterUserRoleSchema: z.ZodObject<{
|
|
|
270
270
|
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
271
271
|
}, "strip", z.ZodTypeAny, {
|
|
272
272
|
status: Status;
|
|
273
|
+
organisation_id: string;
|
|
273
274
|
description: string;
|
|
274
275
|
user_role: string;
|
|
275
|
-
organisation_id: string;
|
|
276
276
|
}, {
|
|
277
277
|
status: Status;
|
|
278
|
-
user_role: string;
|
|
279
278
|
organisation_id: string;
|
|
279
|
+
user_role: string;
|
|
280
280
|
description?: string | undefined;
|
|
281
281
|
}>;
|
|
282
282
|
type MasterUserRoleDTO = z.infer<typeof MasterUserRoleSchema>;
|
|
@@ -335,8 +335,8 @@ declare const MasterUserRoleQuerySchema: z.ZodObject<{
|
|
|
335
335
|
include_master_data: YesNo;
|
|
336
336
|
date_format_id: string;
|
|
337
337
|
time_zone_id: string;
|
|
338
|
-
user_role_ids: string[];
|
|
339
338
|
organisation_ids: string[];
|
|
339
|
+
user_role_ids: string[];
|
|
340
340
|
}, {
|
|
341
341
|
date_format_id: string;
|
|
342
342
|
time_zone_id: string;
|
|
@@ -359,8 +359,8 @@ declare const MasterUserRoleQuerySchema: z.ZodObject<{
|
|
|
359
359
|
direction: OrderBy;
|
|
360
360
|
}[] | undefined;
|
|
361
361
|
include_master_data?: YesNo | undefined;
|
|
362
|
-
user_role_ids?: string[] | undefined;
|
|
363
362
|
organisation_ids?: string[] | undefined;
|
|
363
|
+
user_role_ids?: string[] | undefined;
|
|
364
364
|
}>;
|
|
365
365
|
type MasterUserRoleQueryDTO = z.infer<typeof MasterUserRoleQuerySchema>;
|
|
366
366
|
declare const toMasterUserRolePayload: (row: MasterUserRole) => MasterUserRoleDTO;
|
|
@@ -396,8 +396,8 @@ declare const MasterUserStatusSchema: z.ZodObject<{
|
|
|
396
396
|
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
397
397
|
}, "strip", z.ZodTypeAny, {
|
|
398
398
|
status: Status;
|
|
399
|
-
description: string;
|
|
400
399
|
organisation_id: string;
|
|
400
|
+
description: string;
|
|
401
401
|
user_status: string;
|
|
402
402
|
}, {
|
|
403
403
|
status: Status;
|
|
@@ -764,8 +764,8 @@ declare const OrganisationSubCompanySchema: z.ZodObject<{
|
|
|
764
764
|
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
765
765
|
}, "strip", z.ZodTypeAny, {
|
|
766
766
|
status: Status;
|
|
767
|
-
description: string;
|
|
768
767
|
organisation_id: string;
|
|
768
|
+
description: string;
|
|
769
769
|
logo_key: string;
|
|
770
770
|
logo_url: string;
|
|
771
771
|
logo_name: string;
|
|
@@ -922,8 +922,8 @@ declare const OrganisationBranchSchema: z.ZodObject<{
|
|
|
922
922
|
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
923
923
|
}, "strip", z.ZodTypeAny, {
|
|
924
924
|
status: Status;
|
|
925
|
-
description: string;
|
|
926
925
|
organisation_id: string;
|
|
926
|
+
description: string;
|
|
927
927
|
branch_name: string;
|
|
928
928
|
branch_city: string;
|
|
929
929
|
branch_address: string;
|
|
@@ -1057,8 +1057,8 @@ declare const OrganisationColorSchema: z.ZodObject<{
|
|
|
1057
1057
|
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
1058
1058
|
}, "strip", z.ZodTypeAny, {
|
|
1059
1059
|
status: Status;
|
|
1060
|
-
description: string;
|
|
1061
1060
|
organisation_id: string;
|
|
1061
|
+
description: string;
|
|
1062
1062
|
color_name: string;
|
|
1063
1063
|
color_code: string;
|
|
1064
1064
|
}, {
|
|
@@ -1188,8 +1188,8 @@ declare const OrganisationTagSchema: z.ZodObject<{
|
|
|
1188
1188
|
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
1189
1189
|
}, "strip", z.ZodTypeAny, {
|
|
1190
1190
|
status: Status;
|
|
1191
|
-
description: string;
|
|
1192
1191
|
organisation_id: string;
|
|
1192
|
+
description: string;
|
|
1193
1193
|
tag_name: string;
|
|
1194
1194
|
}, {
|
|
1195
1195
|
status: Status;
|
|
@@ -1346,8 +1346,9 @@ declare const FleetFuelDailySummarySchema: z.ZodObject<{
|
|
|
1346
1346
|
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
1347
1347
|
}, "strip", z.ZodTypeAny, {
|
|
1348
1348
|
status: Status;
|
|
1349
|
-
date: string;
|
|
1350
1349
|
organisation_id: string;
|
|
1350
|
+
user_id: string;
|
|
1351
|
+
date: string;
|
|
1351
1352
|
total_km: number;
|
|
1352
1353
|
consumed_fuel_liters: number;
|
|
1353
1354
|
refills_count: number;
|
|
@@ -1358,14 +1359,13 @@ declare const FleetFuelDailySummarySchema: z.ZodObject<{
|
|
|
1358
1359
|
removal_liters: number;
|
|
1359
1360
|
mileage_kmpl: number;
|
|
1360
1361
|
liters_per_100km: number;
|
|
1361
|
-
user_id: string;
|
|
1362
1362
|
vehicle_id: string;
|
|
1363
1363
|
driver_id: string;
|
|
1364
1364
|
}, {
|
|
1365
1365
|
status: Status;
|
|
1366
|
-
date: string;
|
|
1367
1366
|
organisation_id: string;
|
|
1368
1367
|
user_id: string;
|
|
1368
|
+
date: string;
|
|
1369
1369
|
vehicle_id: string;
|
|
1370
1370
|
driver_id: string;
|
|
1371
1371
|
total_km?: unknown;
|
|
@@ -1443,8 +1443,8 @@ declare const FleetFuelDailySummaryQuerySchema: z.ZodObject<{
|
|
|
1443
1443
|
date_format_id: string;
|
|
1444
1444
|
time_zone_id: string;
|
|
1445
1445
|
organisation_ids: string[];
|
|
1446
|
-
fleet_fuel_daily_summary_ids: string[];
|
|
1447
1446
|
user_ids: string[];
|
|
1447
|
+
fleet_fuel_daily_summary_ids: string[];
|
|
1448
1448
|
vehicle_ids: string[];
|
|
1449
1449
|
driver_ids: string[];
|
|
1450
1450
|
vehicle_summary: YesNo;
|
|
@@ -1476,8 +1476,8 @@ declare const FleetFuelDailySummaryQuerySchema: z.ZodObject<{
|
|
|
1476
1476
|
}[] | undefined;
|
|
1477
1477
|
include_master_data?: YesNo | undefined;
|
|
1478
1478
|
organisation_ids?: string[] | undefined;
|
|
1479
|
-
fleet_fuel_daily_summary_ids?: string[] | undefined;
|
|
1480
1479
|
user_ids?: string[] | undefined;
|
|
1480
|
+
fleet_fuel_daily_summary_ids?: string[] | undefined;
|
|
1481
1481
|
vehicle_ids?: string[] | undefined;
|
|
1482
1482
|
driver_ids?: string[] | undefined;
|
|
1483
1483
|
vehicle_summary?: YesNo | undefined;
|
|
@@ -1711,8 +1711,8 @@ declare const MasterExpenseNameSchema: z.ZodObject<{
|
|
|
1711
1711
|
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
1712
1712
|
}, "strip", z.ZodTypeAny, {
|
|
1713
1713
|
status: Status;
|
|
1714
|
-
description: string;
|
|
1715
1714
|
organisation_id: string;
|
|
1715
|
+
description: string;
|
|
1716
1716
|
expense_name: string;
|
|
1717
1717
|
expense_category: ExpenseCategory;
|
|
1718
1718
|
}, {
|
|
@@ -1841,8 +1841,8 @@ declare const MasterFleetIncidentTypeSchema: z.ZodObject<{
|
|
|
1841
1841
|
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
1842
1842
|
}, "strip", z.ZodTypeAny, {
|
|
1843
1843
|
status: Status;
|
|
1844
|
-
description: string;
|
|
1845
1844
|
organisation_id: string;
|
|
1845
|
+
description: string;
|
|
1846
1846
|
fleet_incident_type: string;
|
|
1847
1847
|
}, {
|
|
1848
1848
|
status: Status;
|
|
@@ -1966,8 +1966,8 @@ declare const MasterFleetIncidentStatusSchema: z.ZodObject<{
|
|
|
1966
1966
|
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
1967
1967
|
}, "strip", z.ZodTypeAny, {
|
|
1968
1968
|
status: Status;
|
|
1969
|
-
description: string;
|
|
1970
1969
|
organisation_id: string;
|
|
1970
|
+
description: string;
|
|
1971
1971
|
fleet_incident_status: string;
|
|
1972
1972
|
}, {
|
|
1973
1973
|
status: Status;
|
|
@@ -2091,8 +2091,8 @@ declare const MasterFleetIncidentSeveritySchema: z.ZodObject<{
|
|
|
2091
2091
|
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
2092
2092
|
}, "strip", z.ZodTypeAny, {
|
|
2093
2093
|
status: Status;
|
|
2094
|
-
description: string;
|
|
2095
2094
|
organisation_id: string;
|
|
2095
|
+
description: string;
|
|
2096
2096
|
fleet_incident_severity: string;
|
|
2097
2097
|
}, {
|
|
2098
2098
|
status: Status;
|
|
@@ -2216,8 +2216,8 @@ declare const MasterFleetInsuranceClaimStatusSchema: z.ZodObject<{
|
|
|
2216
2216
|
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
2217
2217
|
}, "strip", z.ZodTypeAny, {
|
|
2218
2218
|
status: Status;
|
|
2219
|
-
description: string;
|
|
2220
2219
|
organisation_id: string;
|
|
2220
|
+
description: string;
|
|
2221
2221
|
fleet_insurance_claim_status: string;
|
|
2222
2222
|
}, {
|
|
2223
2223
|
status: Status;
|
|
@@ -2459,6 +2459,8 @@ declare const FleetIncidentFileSchema: z.ZodObject<{
|
|
|
2459
2459
|
incident_id: z.ZodEffects<z.ZodString, string, string>;
|
|
2460
2460
|
}, "strip", z.ZodTypeAny, {
|
|
2461
2461
|
status: Status;
|
|
2462
|
+
organisation_id: string;
|
|
2463
|
+
user_id: string;
|
|
2462
2464
|
usage_type: string;
|
|
2463
2465
|
file_type: FileType;
|
|
2464
2466
|
file_url: string;
|
|
@@ -2467,15 +2469,13 @@ declare const FleetIncidentFileSchema: z.ZodObject<{
|
|
|
2467
2469
|
file_description: string;
|
|
2468
2470
|
file_size: number;
|
|
2469
2471
|
file_metadata: Record<string, any>;
|
|
2470
|
-
organisation_id: string;
|
|
2471
|
-
user_id: string;
|
|
2472
2472
|
incident_id: string;
|
|
2473
2473
|
}, {
|
|
2474
2474
|
status: Status;
|
|
2475
|
-
usage_type: string;
|
|
2476
|
-
file_type: FileType;
|
|
2477
2475
|
organisation_id: string;
|
|
2478
2476
|
user_id: string;
|
|
2477
|
+
usage_type: string;
|
|
2478
|
+
file_type: FileType;
|
|
2479
2479
|
incident_id: string;
|
|
2480
2480
|
file_url?: string | undefined;
|
|
2481
2481
|
file_key?: string | undefined;
|
|
@@ -2539,6 +2539,8 @@ declare const FleetIncidentSchema: z.ZodObject<{
|
|
|
2539
2539
|
incident_id: z.ZodEffects<z.ZodString, string, string>;
|
|
2540
2540
|
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
2541
2541
|
status: Status;
|
|
2542
|
+
organisation_id: string;
|
|
2543
|
+
user_id: string;
|
|
2542
2544
|
usage_type: string;
|
|
2543
2545
|
file_type: FileType;
|
|
2544
2546
|
file_url: string;
|
|
@@ -2547,15 +2549,13 @@ declare const FleetIncidentSchema: z.ZodObject<{
|
|
|
2547
2549
|
file_description: string;
|
|
2548
2550
|
file_size: number;
|
|
2549
2551
|
file_metadata: Record<string, any>;
|
|
2550
|
-
organisation_id: string;
|
|
2551
|
-
user_id: string;
|
|
2552
2552
|
incident_id: string;
|
|
2553
2553
|
}, {
|
|
2554
2554
|
status: Status;
|
|
2555
|
-
usage_type: string;
|
|
2556
|
-
file_type: FileType;
|
|
2557
2555
|
organisation_id: string;
|
|
2558
2556
|
user_id: string;
|
|
2557
|
+
usage_type: string;
|
|
2558
|
+
file_type: FileType;
|
|
2559
2559
|
incident_id: string;
|
|
2560
2560
|
file_url?: string | undefined;
|
|
2561
2561
|
file_key?: string | undefined;
|
|
@@ -2567,9 +2567,9 @@ declare const FleetIncidentSchema: z.ZodObject<{
|
|
|
2567
2567
|
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
2568
2568
|
}, "strip", z.ZodTypeAny, {
|
|
2569
2569
|
status: Status;
|
|
2570
|
-
time_zone_id: string;
|
|
2571
2570
|
organisation_id: string;
|
|
2572
2571
|
user_id: string;
|
|
2572
|
+
time_zone_id: string;
|
|
2573
2573
|
vehicle_id: string;
|
|
2574
2574
|
driver_id: string;
|
|
2575
2575
|
fleet_incident_type_id: string;
|
|
@@ -2602,6 +2602,8 @@ declare const FleetIncidentSchema: z.ZodObject<{
|
|
|
2602
2602
|
involved_parties_description: string;
|
|
2603
2603
|
FleetIncidentFileSchema: {
|
|
2604
2604
|
status: Status;
|
|
2605
|
+
organisation_id: string;
|
|
2606
|
+
user_id: string;
|
|
2605
2607
|
usage_type: string;
|
|
2606
2608
|
file_type: FileType;
|
|
2607
2609
|
file_url: string;
|
|
@@ -2610,8 +2612,6 @@ declare const FleetIncidentSchema: z.ZodObject<{
|
|
|
2610
2612
|
file_description: string;
|
|
2611
2613
|
file_size: number;
|
|
2612
2614
|
file_metadata: Record<string, any>;
|
|
2613
|
-
organisation_id: string;
|
|
2614
|
-
user_id: string;
|
|
2615
2615
|
incident_id: string;
|
|
2616
2616
|
}[];
|
|
2617
2617
|
latitude?: number | undefined;
|
|
@@ -2620,9 +2620,9 @@ declare const FleetIncidentSchema: z.ZodObject<{
|
|
|
2620
2620
|
insurance_settled_amount?: number | undefined;
|
|
2621
2621
|
}, {
|
|
2622
2622
|
status: Status;
|
|
2623
|
-
time_zone_id: string;
|
|
2624
2623
|
organisation_id: string;
|
|
2625
2624
|
user_id: string;
|
|
2625
|
+
time_zone_id: string;
|
|
2626
2626
|
vehicle_id: string;
|
|
2627
2627
|
driver_id: string;
|
|
2628
2628
|
fleet_incident_type_id: string;
|
|
@@ -2659,10 +2659,10 @@ declare const FleetIncidentSchema: z.ZodObject<{
|
|
|
2659
2659
|
involved_parties_description?: string | undefined;
|
|
2660
2660
|
FleetIncidentFileSchema?: {
|
|
2661
2661
|
status: Status;
|
|
2662
|
-
usage_type: string;
|
|
2663
|
-
file_type: FileType;
|
|
2664
2662
|
organisation_id: string;
|
|
2665
2663
|
user_id: string;
|
|
2664
|
+
usage_type: string;
|
|
2665
|
+
file_type: FileType;
|
|
2666
2666
|
incident_id: string;
|
|
2667
2667
|
file_url?: string | undefined;
|
|
2668
2668
|
file_key?: string | undefined;
|
|
@@ -2914,9 +2914,9 @@ declare const FleetIncidentCostSchema: z.ZodObject<{
|
|
|
2914
2914
|
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
2915
2915
|
}, "strip", z.ZodTypeAny, {
|
|
2916
2916
|
status: Status;
|
|
2917
|
-
time_zone_id: string;
|
|
2918
2917
|
organisation_id: string;
|
|
2919
2918
|
user_id: string;
|
|
2919
|
+
time_zone_id: string;
|
|
2920
2920
|
expense_name_id: string;
|
|
2921
2921
|
incident_id: string;
|
|
2922
2922
|
incident_cost_date: string;
|
|
@@ -2924,9 +2924,9 @@ declare const FleetIncidentCostSchema: z.ZodObject<{
|
|
|
2924
2924
|
incident_cost_amount?: number | undefined;
|
|
2925
2925
|
}, {
|
|
2926
2926
|
status: Status;
|
|
2927
|
-
time_zone_id: string;
|
|
2928
2927
|
organisation_id: string;
|
|
2929
2928
|
user_id: string;
|
|
2929
|
+
time_zone_id: string;
|
|
2930
2930
|
expense_name_id: string;
|
|
2931
2931
|
incident_id: string;
|
|
2932
2932
|
incident_cost_date?: string | undefined;
|
|
@@ -3400,17 +3400,17 @@ declare const MasterFuelCompanySchema: z.ZodObject<{
|
|
|
3400
3400
|
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
3401
3401
|
}, "strip", z.ZodTypeAny, {
|
|
3402
3402
|
status: Status;
|
|
3403
|
+
organisation_id: string;
|
|
3403
3404
|
description: string;
|
|
3404
3405
|
country_id: string;
|
|
3405
|
-
organisation_id: string;
|
|
3406
3406
|
logo_key: string;
|
|
3407
3407
|
logo_url: string;
|
|
3408
3408
|
logo_name: string;
|
|
3409
3409
|
company_name: string;
|
|
3410
3410
|
}, {
|
|
3411
3411
|
status: Status;
|
|
3412
|
-
country_id: string;
|
|
3413
3412
|
organisation_id: string;
|
|
3413
|
+
country_id: string;
|
|
3414
3414
|
company_name: string;
|
|
3415
3415
|
description?: string | undefined;
|
|
3416
3416
|
logo_key?: string | undefined;
|
|
@@ -3474,8 +3474,8 @@ declare const MasterFuelCompanyQuerySchema: z.ZodObject<{
|
|
|
3474
3474
|
include_master_data: YesNo;
|
|
3475
3475
|
date_format_id: string;
|
|
3476
3476
|
time_zone_id: string;
|
|
3477
|
-
country_ids: string[];
|
|
3478
3477
|
organisation_ids: string[];
|
|
3478
|
+
country_ids: string[];
|
|
3479
3479
|
fuel_company_ids: string[];
|
|
3480
3480
|
}, {
|
|
3481
3481
|
date_format_id: string;
|
|
@@ -3499,8 +3499,8 @@ declare const MasterFuelCompanyQuerySchema: z.ZodObject<{
|
|
|
3499
3499
|
direction: OrderBy;
|
|
3500
3500
|
}[] | undefined;
|
|
3501
3501
|
include_master_data?: YesNo | undefined;
|
|
3502
|
-
country_ids?: string[] | undefined;
|
|
3503
3502
|
organisation_ids?: string[] | undefined;
|
|
3503
|
+
country_ids?: string[] | undefined;
|
|
3504
3504
|
fuel_company_ids?: string[] | undefined;
|
|
3505
3505
|
}>;
|
|
3506
3506
|
type MasterFuelCompanyQueryDTO = z.infer<typeof MasterFuelCompanyQuerySchema>;
|
|
@@ -3846,8 +3846,8 @@ declare const MasterVendorTypeSchema: z.ZodObject<{
|
|
|
3846
3846
|
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
3847
3847
|
}, "strip", z.ZodTypeAny, {
|
|
3848
3848
|
status: Status;
|
|
3849
|
-
description: string;
|
|
3850
3849
|
organisation_id: string;
|
|
3850
|
+
description: string;
|
|
3851
3851
|
vendor_type: string;
|
|
3852
3852
|
}, {
|
|
3853
3853
|
status: Status;
|
|
@@ -3967,8 +3967,8 @@ declare const MasterVendorTagSchema: z.ZodObject<{
|
|
|
3967
3967
|
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
3968
3968
|
}, "strip", z.ZodTypeAny, {
|
|
3969
3969
|
status: Status;
|
|
3970
|
-
description: string;
|
|
3971
3970
|
organisation_id: string;
|
|
3971
|
+
description: string;
|
|
3972
3972
|
vendor_tag: string;
|
|
3973
3973
|
}, {
|
|
3974
3974
|
status: Status;
|
|
@@ -4088,8 +4088,8 @@ declare const MasterVendorDocumentTypeSchema: z.ZodObject<{
|
|
|
4088
4088
|
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
4089
4089
|
}, "strip", z.ZodTypeAny, {
|
|
4090
4090
|
status: Status;
|
|
4091
|
-
description: string;
|
|
4092
4091
|
organisation_id: string;
|
|
4092
|
+
description: string;
|
|
4093
4093
|
document_type: string;
|
|
4094
4094
|
}, {
|
|
4095
4095
|
status: Status;
|
|
@@ -4510,6 +4510,8 @@ declare const FleetVendorDocumentFileSchema: z.ZodObject<{
|
|
|
4510
4510
|
fleet_vendor_document_id: z.ZodEffects<z.ZodString, string, string>;
|
|
4511
4511
|
}, "strip", z.ZodTypeAny, {
|
|
4512
4512
|
status: Status;
|
|
4513
|
+
organisation_id: string;
|
|
4514
|
+
user_id: string;
|
|
4513
4515
|
usage_type: string;
|
|
4514
4516
|
file_type: FileType;
|
|
4515
4517
|
file_url: string;
|
|
@@ -4518,15 +4520,13 @@ declare const FleetVendorDocumentFileSchema: z.ZodObject<{
|
|
|
4518
4520
|
file_description: string;
|
|
4519
4521
|
file_size: number;
|
|
4520
4522
|
file_metadata: Record<string, any>;
|
|
4521
|
-
organisation_id: string;
|
|
4522
|
-
user_id: string;
|
|
4523
4523
|
fleet_vendor_document_id: string;
|
|
4524
4524
|
}, {
|
|
4525
4525
|
status: Status;
|
|
4526
|
-
usage_type: string;
|
|
4527
|
-
file_type: FileType;
|
|
4528
4526
|
organisation_id: string;
|
|
4529
4527
|
user_id: string;
|
|
4528
|
+
usage_type: string;
|
|
4529
|
+
file_type: FileType;
|
|
4530
4530
|
fleet_vendor_document_id: string;
|
|
4531
4531
|
file_url?: string | undefined;
|
|
4532
4532
|
file_key?: string | undefined;
|
|
@@ -4562,10 +4562,10 @@ declare const FleetVendorSchema: z.ZodObject<{
|
|
|
4562
4562
|
}, "strip", z.ZodTypeAny, {
|
|
4563
4563
|
status: Status;
|
|
4564
4564
|
organisation_id: string;
|
|
4565
|
+
user_id: string;
|
|
4565
4566
|
logo_key: string;
|
|
4566
4567
|
logo_url: string;
|
|
4567
4568
|
logo_name: string;
|
|
4568
|
-
user_id: string;
|
|
4569
4569
|
vendor_name: string;
|
|
4570
4570
|
vendor_code: string;
|
|
4571
4571
|
vendor_type_ids: string[];
|
|
@@ -4877,12 +4877,12 @@ declare const FleetVendorBankAccountSchema: z.ZodObject<{
|
|
|
4877
4877
|
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
4878
4878
|
}, "strip", z.ZodTypeAny, {
|
|
4879
4879
|
status: Status;
|
|
4880
|
+
bank_name: string;
|
|
4880
4881
|
organisation_id: string;
|
|
4881
|
-
branch_name: string;
|
|
4882
4882
|
user_id: string;
|
|
4883
|
+
branch_name: string;
|
|
4883
4884
|
notes: string;
|
|
4884
4885
|
vendor_id: string;
|
|
4885
|
-
bank_name: string;
|
|
4886
4886
|
account_holder_name: string;
|
|
4887
4887
|
account_number: string;
|
|
4888
4888
|
account_type: BankAccountType;
|
|
@@ -4899,9 +4899,9 @@ declare const FleetVendorBankAccountSchema: z.ZodObject<{
|
|
|
4899
4899
|
account_number: string;
|
|
4900
4900
|
account_type: BankAccountType;
|
|
4901
4901
|
is_primary: YesNo;
|
|
4902
|
+
bank_name?: string | undefined;
|
|
4902
4903
|
branch_name?: string | undefined;
|
|
4903
4904
|
notes?: string | undefined;
|
|
4904
|
-
bank_name?: string | undefined;
|
|
4905
4905
|
account_holder_name?: string | undefined;
|
|
4906
4906
|
ifsc_code?: string | undefined;
|
|
4907
4907
|
swift_code?: string | undefined;
|
|
@@ -5023,10 +5023,10 @@ declare const FleetVendorContactPersonSchema: z.ZodObject<{
|
|
|
5023
5023
|
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
5024
5024
|
}, "strip", z.ZodTypeAny, {
|
|
5025
5025
|
status: Status;
|
|
5026
|
-
name: string;
|
|
5027
5026
|
organisation_id: string;
|
|
5028
|
-
branch_name: string;
|
|
5029
5027
|
user_id: string;
|
|
5028
|
+
name: string;
|
|
5029
|
+
branch_name: string;
|
|
5030
5030
|
notes: string;
|
|
5031
5031
|
vendor_id: string;
|
|
5032
5032
|
is_primary: YesNo;
|
|
@@ -5040,9 +5040,9 @@ declare const FleetVendorContactPersonSchema: z.ZodObject<{
|
|
|
5040
5040
|
preferred_language: string;
|
|
5041
5041
|
}, {
|
|
5042
5042
|
status: Status;
|
|
5043
|
-
name: string;
|
|
5044
5043
|
organisation_id: string;
|
|
5045
5044
|
user_id: string;
|
|
5045
|
+
name: string;
|
|
5046
5046
|
vendor_id: string;
|
|
5047
5047
|
is_primary: YesNo;
|
|
5048
5048
|
branch_name?: string | undefined;
|
|
@@ -5288,6 +5288,8 @@ declare const FleetVendorDocumentSchema: z.ZodObject<{
|
|
|
5288
5288
|
fleet_vendor_document_id: z.ZodEffects<z.ZodString, string, string>;
|
|
5289
5289
|
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
5290
5290
|
status: Status;
|
|
5291
|
+
organisation_id: string;
|
|
5292
|
+
user_id: string;
|
|
5291
5293
|
usage_type: string;
|
|
5292
5294
|
file_type: FileType;
|
|
5293
5295
|
file_url: string;
|
|
@@ -5296,15 +5298,13 @@ declare const FleetVendorDocumentSchema: z.ZodObject<{
|
|
|
5296
5298
|
file_description: string;
|
|
5297
5299
|
file_size: number;
|
|
5298
5300
|
file_metadata: Record<string, any>;
|
|
5299
|
-
organisation_id: string;
|
|
5300
|
-
user_id: string;
|
|
5301
5301
|
fleet_vendor_document_id: string;
|
|
5302
5302
|
}, {
|
|
5303
5303
|
status: Status;
|
|
5304
|
-
usage_type: string;
|
|
5305
|
-
file_type: FileType;
|
|
5306
5304
|
organisation_id: string;
|
|
5307
5305
|
user_id: string;
|
|
5306
|
+
usage_type: string;
|
|
5307
|
+
file_type: FileType;
|
|
5308
5308
|
fleet_vendor_document_id: string;
|
|
5309
5309
|
file_url?: string | undefined;
|
|
5310
5310
|
file_key?: string | undefined;
|
|
@@ -5317,9 +5317,9 @@ declare const FleetVendorDocumentSchema: z.ZodObject<{
|
|
|
5317
5317
|
time_zone_id: z.ZodEffects<z.ZodString, string, string>;
|
|
5318
5318
|
}, "strip", z.ZodTypeAny, {
|
|
5319
5319
|
status: Status;
|
|
5320
|
-
time_zone_id: string;
|
|
5321
5320
|
organisation_id: string;
|
|
5322
5321
|
user_id: string;
|
|
5322
|
+
time_zone_id: string;
|
|
5323
5323
|
vendor_id: string;
|
|
5324
5324
|
document_type_id: string;
|
|
5325
5325
|
document_name: string;
|
|
@@ -5330,6 +5330,8 @@ declare const FleetVendorDocumentSchema: z.ZodObject<{
|
|
|
5330
5330
|
remarks: string;
|
|
5331
5331
|
FleetVendorDocumentFileSchema: {
|
|
5332
5332
|
status: Status;
|
|
5333
|
+
organisation_id: string;
|
|
5334
|
+
user_id: string;
|
|
5333
5335
|
usage_type: string;
|
|
5334
5336
|
file_type: FileType;
|
|
5335
5337
|
file_url: string;
|
|
@@ -5338,15 +5340,13 @@ declare const FleetVendorDocumentSchema: z.ZodObject<{
|
|
|
5338
5340
|
file_description: string;
|
|
5339
5341
|
file_size: number;
|
|
5340
5342
|
file_metadata: Record<string, any>;
|
|
5341
|
-
organisation_id: string;
|
|
5342
|
-
user_id: string;
|
|
5343
5343
|
fleet_vendor_document_id: string;
|
|
5344
5344
|
}[];
|
|
5345
5345
|
}, {
|
|
5346
5346
|
status: Status;
|
|
5347
|
-
time_zone_id: string;
|
|
5348
5347
|
organisation_id: string;
|
|
5349
5348
|
user_id: string;
|
|
5349
|
+
time_zone_id: string;
|
|
5350
5350
|
vendor_id: string;
|
|
5351
5351
|
document_type_id: string;
|
|
5352
5352
|
document_name: string;
|
|
@@ -5357,10 +5357,10 @@ declare const FleetVendorDocumentSchema: z.ZodObject<{
|
|
|
5357
5357
|
remarks?: string | undefined;
|
|
5358
5358
|
FleetVendorDocumentFileSchema?: {
|
|
5359
5359
|
status: Status;
|
|
5360
|
-
usage_type: string;
|
|
5361
|
-
file_type: FileType;
|
|
5362
5360
|
organisation_id: string;
|
|
5363
5361
|
user_id: string;
|
|
5362
|
+
usage_type: string;
|
|
5363
|
+
file_type: FileType;
|
|
5364
5364
|
fleet_vendor_document_id: string;
|
|
5365
5365
|
file_url?: string | undefined;
|
|
5366
5366
|
file_key?: string | undefined;
|
|
@@ -5872,8 +5872,8 @@ declare const MasterFleetServiceTaskSchema: z.ZodObject<{
|
|
|
5872
5872
|
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
5873
5873
|
}, "strip", z.ZodTypeAny, {
|
|
5874
5874
|
status: Status;
|
|
5875
|
-
description: string;
|
|
5876
5875
|
organisation_id: string;
|
|
5876
|
+
description: string;
|
|
5877
5877
|
fleet_service_task: string;
|
|
5878
5878
|
}, {
|
|
5879
5879
|
status: Status;
|
|
@@ -5999,8 +5999,8 @@ declare const MasterFleetServicePartSchema: z.ZodObject<{
|
|
|
5999
5999
|
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
6000
6000
|
}, "strip", z.ZodTypeAny, {
|
|
6001
6001
|
status: Status;
|
|
6002
|
-
description: string;
|
|
6003
6002
|
organisation_id: string;
|
|
6003
|
+
description: string;
|
|
6004
6004
|
part_name: string;
|
|
6005
6005
|
part_amount?: number | undefined;
|
|
6006
6006
|
}, {
|
|
@@ -6268,6 +6268,8 @@ declare const FleetServiceFileSchema: z.ZodObject<{
|
|
|
6268
6268
|
service_id: z.ZodEffects<z.ZodString, string, string>;
|
|
6269
6269
|
}, "strip", z.ZodTypeAny, {
|
|
6270
6270
|
status: Status;
|
|
6271
|
+
organisation_id: string;
|
|
6272
|
+
user_id: string;
|
|
6271
6273
|
usage_type: string;
|
|
6272
6274
|
file_type: FileType;
|
|
6273
6275
|
file_url: string;
|
|
@@ -6276,15 +6278,13 @@ declare const FleetServiceFileSchema: z.ZodObject<{
|
|
|
6276
6278
|
file_description: string;
|
|
6277
6279
|
file_size: number;
|
|
6278
6280
|
file_metadata: Record<string, any>;
|
|
6279
|
-
organisation_id: string;
|
|
6280
|
-
user_id: string;
|
|
6281
6281
|
service_id: string;
|
|
6282
6282
|
}, {
|
|
6283
6283
|
status: Status;
|
|
6284
|
-
usage_type: string;
|
|
6285
|
-
file_type: FileType;
|
|
6286
6284
|
organisation_id: string;
|
|
6287
6285
|
user_id: string;
|
|
6286
|
+
usage_type: string;
|
|
6287
|
+
file_type: FileType;
|
|
6288
6288
|
service_id: string;
|
|
6289
6289
|
file_url?: string | undefined;
|
|
6290
6290
|
file_key?: string | undefined;
|
|
@@ -6344,6 +6344,8 @@ declare const FleetServiceSchema: z.ZodObject<{
|
|
|
6344
6344
|
service_id: z.ZodEffects<z.ZodString, string, string>;
|
|
6345
6345
|
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
6346
6346
|
status: Status;
|
|
6347
|
+
organisation_id: string;
|
|
6348
|
+
user_id: string;
|
|
6347
6349
|
usage_type: string;
|
|
6348
6350
|
file_type: FileType;
|
|
6349
6351
|
file_url: string;
|
|
@@ -6352,15 +6354,13 @@ declare const FleetServiceSchema: z.ZodObject<{
|
|
|
6352
6354
|
file_description: string;
|
|
6353
6355
|
file_size: number;
|
|
6354
6356
|
file_metadata: Record<string, any>;
|
|
6355
|
-
organisation_id: string;
|
|
6356
|
-
user_id: string;
|
|
6357
6357
|
service_id: string;
|
|
6358
6358
|
}, {
|
|
6359
6359
|
status: Status;
|
|
6360
|
-
usage_type: string;
|
|
6361
|
-
file_type: FileType;
|
|
6362
6360
|
organisation_id: string;
|
|
6363
6361
|
user_id: string;
|
|
6362
|
+
usage_type: string;
|
|
6363
|
+
file_type: FileType;
|
|
6364
6364
|
service_id: string;
|
|
6365
6365
|
file_url?: string | undefined;
|
|
6366
6366
|
file_key?: string | undefined;
|
|
@@ -6372,9 +6372,9 @@ declare const FleetServiceSchema: z.ZodObject<{
|
|
|
6372
6372
|
time_zone_id: z.ZodEffects<z.ZodString, string, string>;
|
|
6373
6373
|
}, "strip", z.ZodTypeAny, {
|
|
6374
6374
|
status: Status;
|
|
6375
|
-
time_zone_id: string;
|
|
6376
6375
|
organisation_id: string;
|
|
6377
6376
|
user_id: string;
|
|
6377
|
+
time_zone_id: string;
|
|
6378
6378
|
vehicle_id: string;
|
|
6379
6379
|
driver_id: string;
|
|
6380
6380
|
odometer_reading: number;
|
|
@@ -6400,6 +6400,8 @@ declare const FleetServiceSchema: z.ZodObject<{
|
|
|
6400
6400
|
assigned_user_id: string;
|
|
6401
6401
|
FleetServiceFileSchema: {
|
|
6402
6402
|
status: Status;
|
|
6403
|
+
organisation_id: string;
|
|
6404
|
+
user_id: string;
|
|
6403
6405
|
usage_type: string;
|
|
6404
6406
|
file_type: FileType;
|
|
6405
6407
|
file_url: string;
|
|
@@ -6408,8 +6410,6 @@ declare const FleetServiceSchema: z.ZodObject<{
|
|
|
6408
6410
|
file_description: string;
|
|
6409
6411
|
file_size: number;
|
|
6410
6412
|
file_metadata: Record<string, any>;
|
|
6411
|
-
organisation_id: string;
|
|
6412
|
-
user_id: string;
|
|
6413
6413
|
service_id: string;
|
|
6414
6414
|
}[];
|
|
6415
6415
|
fuel?: number | undefined;
|
|
@@ -6421,9 +6421,9 @@ declare const FleetServiceSchema: z.ZodObject<{
|
|
|
6421
6421
|
actual_total_cost?: number | undefined;
|
|
6422
6422
|
}, {
|
|
6423
6423
|
status: Status;
|
|
6424
|
-
time_zone_id: string;
|
|
6425
6424
|
organisation_id: string;
|
|
6426
6425
|
user_id: string;
|
|
6426
|
+
time_zone_id: string;
|
|
6427
6427
|
vehicle_id: string;
|
|
6428
6428
|
driver_id: string;
|
|
6429
6429
|
service_center_id: string;
|
|
@@ -6456,10 +6456,10 @@ declare const FleetServiceSchema: z.ZodObject<{
|
|
|
6456
6456
|
next_service_schedule_date?: string | undefined;
|
|
6457
6457
|
FleetServiceFileSchema?: {
|
|
6458
6458
|
status: Status;
|
|
6459
|
-
usage_type: string;
|
|
6460
|
-
file_type: FileType;
|
|
6461
6459
|
organisation_id: string;
|
|
6462
6460
|
user_id: string;
|
|
6461
|
+
usage_type: string;
|
|
6462
|
+
file_type: FileType;
|
|
6463
6463
|
service_id: string;
|
|
6464
6464
|
file_url?: string | undefined;
|
|
6465
6465
|
file_key?: string | undefined;
|
|
@@ -7188,6 +7188,8 @@ declare const FleetInspectionFileSchema: z.ZodObject<{
|
|
|
7188
7188
|
inspection_id: z.ZodEffects<z.ZodString, string, string>;
|
|
7189
7189
|
}, "strip", z.ZodTypeAny, {
|
|
7190
7190
|
status: Status;
|
|
7191
|
+
organisation_id: string;
|
|
7192
|
+
user_id: string;
|
|
7191
7193
|
usage_type: string;
|
|
7192
7194
|
file_type: FileType;
|
|
7193
7195
|
file_url: string;
|
|
@@ -7196,15 +7198,13 @@ declare const FleetInspectionFileSchema: z.ZodObject<{
|
|
|
7196
7198
|
file_description: string;
|
|
7197
7199
|
file_size: number;
|
|
7198
7200
|
file_metadata: Record<string, any>;
|
|
7199
|
-
organisation_id: string;
|
|
7200
|
-
user_id: string;
|
|
7201
7201
|
inspection_id: string;
|
|
7202
7202
|
}, {
|
|
7203
7203
|
status: Status;
|
|
7204
|
-
usage_type: string;
|
|
7205
|
-
file_type: FileType;
|
|
7206
7204
|
organisation_id: string;
|
|
7207
7205
|
user_id: string;
|
|
7206
|
+
usage_type: string;
|
|
7207
|
+
file_type: FileType;
|
|
7208
7208
|
inspection_id: string;
|
|
7209
7209
|
file_url?: string | undefined;
|
|
7210
7210
|
file_key?: string | undefined;
|
|
@@ -7248,6 +7248,8 @@ declare const FleetInspectionSchema: z.ZodObject<{
|
|
|
7248
7248
|
inspection_id: z.ZodEffects<z.ZodString, string, string>;
|
|
7249
7249
|
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
7250
7250
|
status: Status;
|
|
7251
|
+
organisation_id: string;
|
|
7252
|
+
user_id: string;
|
|
7251
7253
|
usage_type: string;
|
|
7252
7254
|
file_type: FileType;
|
|
7253
7255
|
file_url: string;
|
|
@@ -7256,15 +7258,13 @@ declare const FleetInspectionSchema: z.ZodObject<{
|
|
|
7256
7258
|
file_description: string;
|
|
7257
7259
|
file_size: number;
|
|
7258
7260
|
file_metadata: Record<string, any>;
|
|
7259
|
-
organisation_id: string;
|
|
7260
|
-
user_id: string;
|
|
7261
7261
|
inspection_id: string;
|
|
7262
7262
|
}, {
|
|
7263
7263
|
status: Status;
|
|
7264
|
-
usage_type: string;
|
|
7265
|
-
file_type: FileType;
|
|
7266
7264
|
organisation_id: string;
|
|
7267
7265
|
user_id: string;
|
|
7266
|
+
usage_type: string;
|
|
7267
|
+
file_type: FileType;
|
|
7268
7268
|
inspection_id: string;
|
|
7269
7269
|
file_url?: string | undefined;
|
|
7270
7270
|
file_key?: string | undefined;
|
|
@@ -7276,9 +7276,9 @@ declare const FleetInspectionSchema: z.ZodObject<{
|
|
|
7276
7276
|
time_zone_id: z.ZodEffects<z.ZodString, string, string>;
|
|
7277
7277
|
}, "strip", z.ZodTypeAny, {
|
|
7278
7278
|
status: Status;
|
|
7279
|
-
time_zone_id: string;
|
|
7280
7279
|
organisation_id: string;
|
|
7281
7280
|
user_id: string;
|
|
7281
|
+
time_zone_id: string;
|
|
7282
7282
|
vehicle_id: string;
|
|
7283
7283
|
driver_id: string;
|
|
7284
7284
|
odometer_reading: number;
|
|
@@ -7293,6 +7293,8 @@ declare const FleetInspectionSchema: z.ZodObject<{
|
|
|
7293
7293
|
inspection_data: Record<string, any>;
|
|
7294
7294
|
FleetInspectionFileSchema: {
|
|
7295
7295
|
status: Status;
|
|
7296
|
+
organisation_id: string;
|
|
7297
|
+
user_id: string;
|
|
7296
7298
|
usage_type: string;
|
|
7297
7299
|
file_type: FileType;
|
|
7298
7300
|
file_url: string;
|
|
@@ -7301,17 +7303,15 @@ declare const FleetInspectionSchema: z.ZodObject<{
|
|
|
7301
7303
|
file_description: string;
|
|
7302
7304
|
file_size: number;
|
|
7303
7305
|
file_metadata: Record<string, any>;
|
|
7304
|
-
organisation_id: string;
|
|
7305
|
-
user_id: string;
|
|
7306
7306
|
inspection_id: string;
|
|
7307
7307
|
}[];
|
|
7308
7308
|
latitude?: number | undefined;
|
|
7309
7309
|
longitude?: number | undefined;
|
|
7310
7310
|
}, {
|
|
7311
7311
|
status: Status;
|
|
7312
|
-
time_zone_id: string;
|
|
7313
7312
|
organisation_id: string;
|
|
7314
7313
|
user_id: string;
|
|
7314
|
+
time_zone_id: string;
|
|
7315
7315
|
vehicle_id: string;
|
|
7316
7316
|
driver_id: string;
|
|
7317
7317
|
service_id: string;
|
|
@@ -7328,10 +7328,10 @@ declare const FleetInspectionSchema: z.ZodObject<{
|
|
|
7328
7328
|
inspection_data?: Record<string, any> | undefined;
|
|
7329
7329
|
FleetInspectionFileSchema?: {
|
|
7330
7330
|
status: Status;
|
|
7331
|
-
usage_type: string;
|
|
7332
|
-
file_type: FileType;
|
|
7333
7331
|
organisation_id: string;
|
|
7334
7332
|
user_id: string;
|
|
7333
|
+
usage_type: string;
|
|
7334
|
+
file_type: FileType;
|
|
7335
7335
|
inspection_id: string;
|
|
7336
7336
|
file_url?: string | undefined;
|
|
7337
7337
|
file_key?: string | undefined;
|
|
@@ -7684,6 +7684,8 @@ declare const FleetIssueFileSchema: z.ZodObject<{
|
|
|
7684
7684
|
issue_id: z.ZodEffects<z.ZodString, string, string>;
|
|
7685
7685
|
}, "strip", z.ZodTypeAny, {
|
|
7686
7686
|
status: Status;
|
|
7687
|
+
organisation_id: string;
|
|
7688
|
+
user_id: string;
|
|
7687
7689
|
usage_type: string;
|
|
7688
7690
|
file_type: FileType;
|
|
7689
7691
|
file_url: string;
|
|
@@ -7692,15 +7694,13 @@ declare const FleetIssueFileSchema: z.ZodObject<{
|
|
|
7692
7694
|
file_description: string;
|
|
7693
7695
|
file_size: number;
|
|
7694
7696
|
file_metadata: Record<string, any>;
|
|
7695
|
-
organisation_id: string;
|
|
7696
|
-
user_id: string;
|
|
7697
7697
|
issue_id: string;
|
|
7698
7698
|
}, {
|
|
7699
7699
|
status: Status;
|
|
7700
|
-
usage_type: string;
|
|
7701
|
-
file_type: FileType;
|
|
7702
7700
|
organisation_id: string;
|
|
7703
7701
|
user_id: string;
|
|
7702
|
+
usage_type: string;
|
|
7703
|
+
file_type: FileType;
|
|
7704
7704
|
issue_id: string;
|
|
7705
7705
|
file_url?: string | undefined;
|
|
7706
7706
|
file_key?: string | undefined;
|
|
@@ -7746,6 +7746,8 @@ declare const FleetIssueSchema: z.ZodObject<{
|
|
|
7746
7746
|
issue_id: z.ZodEffects<z.ZodString, string, string>;
|
|
7747
7747
|
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
7748
7748
|
status: Status;
|
|
7749
|
+
organisation_id: string;
|
|
7750
|
+
user_id: string;
|
|
7749
7751
|
usage_type: string;
|
|
7750
7752
|
file_type: FileType;
|
|
7751
7753
|
file_url: string;
|
|
@@ -7754,15 +7756,13 @@ declare const FleetIssueSchema: z.ZodObject<{
|
|
|
7754
7756
|
file_description: string;
|
|
7755
7757
|
file_size: number;
|
|
7756
7758
|
file_metadata: Record<string, any>;
|
|
7757
|
-
organisation_id: string;
|
|
7758
|
-
user_id: string;
|
|
7759
7759
|
issue_id: string;
|
|
7760
7760
|
}, {
|
|
7761
7761
|
status: Status;
|
|
7762
|
-
usage_type: string;
|
|
7763
|
-
file_type: FileType;
|
|
7764
7762
|
organisation_id: string;
|
|
7765
7763
|
user_id: string;
|
|
7764
|
+
usage_type: string;
|
|
7765
|
+
file_type: FileType;
|
|
7766
7766
|
issue_id: string;
|
|
7767
7767
|
file_url?: string | undefined;
|
|
7768
7768
|
file_key?: string | undefined;
|
|
@@ -7775,9 +7775,9 @@ declare const FleetIssueSchema: z.ZodObject<{
|
|
|
7775
7775
|
time_zone_id: z.ZodEffects<z.ZodString, string, string>;
|
|
7776
7776
|
}, "strip", z.ZodTypeAny, {
|
|
7777
7777
|
status: Status;
|
|
7778
|
-
time_zone_id: string;
|
|
7779
7778
|
organisation_id: string;
|
|
7780
7779
|
user_id: string;
|
|
7780
|
+
time_zone_id: string;
|
|
7781
7781
|
vehicle_id: string;
|
|
7782
7782
|
driver_id: string;
|
|
7783
7783
|
incident_id: string;
|
|
@@ -7797,6 +7797,8 @@ declare const FleetIssueSchema: z.ZodObject<{
|
|
|
7797
7797
|
breakdown_id: string;
|
|
7798
7798
|
FleetIssueFileSchema: {
|
|
7799
7799
|
status: Status;
|
|
7800
|
+
organisation_id: string;
|
|
7801
|
+
user_id: string;
|
|
7800
7802
|
usage_type: string;
|
|
7801
7803
|
file_type: FileType;
|
|
7802
7804
|
file_url: string;
|
|
@@ -7805,15 +7807,13 @@ declare const FleetIssueSchema: z.ZodObject<{
|
|
|
7805
7807
|
file_description: string;
|
|
7806
7808
|
file_size: number;
|
|
7807
7809
|
file_metadata: Record<string, any>;
|
|
7808
|
-
organisation_id: string;
|
|
7809
|
-
user_id: string;
|
|
7810
7810
|
issue_id: string;
|
|
7811
7811
|
}[];
|
|
7812
7812
|
}, {
|
|
7813
7813
|
status: Status;
|
|
7814
|
-
time_zone_id: string;
|
|
7815
7814
|
organisation_id: string;
|
|
7816
7815
|
user_id: string;
|
|
7816
|
+
time_zone_id: string;
|
|
7817
7817
|
vehicle_id: string;
|
|
7818
7818
|
driver_id: string;
|
|
7819
7819
|
incident_id: string;
|
|
@@ -7833,10 +7833,10 @@ declare const FleetIssueSchema: z.ZodObject<{
|
|
|
7833
7833
|
due_odometer_reading?: unknown;
|
|
7834
7834
|
FleetIssueFileSchema?: {
|
|
7835
7835
|
status: Status;
|
|
7836
|
-
usage_type: string;
|
|
7837
|
-
file_type: FileType;
|
|
7838
7836
|
organisation_id: string;
|
|
7839
7837
|
user_id: string;
|
|
7838
|
+
usage_type: string;
|
|
7839
|
+
file_type: FileType;
|
|
7840
7840
|
issue_id: string;
|
|
7841
7841
|
file_url?: string | undefined;
|
|
7842
7842
|
file_key?: string | undefined;
|
|
@@ -8211,8 +8211,8 @@ declare const MasterFleetBreakdownTypeSchema: z.ZodObject<{
|
|
|
8211
8211
|
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
8212
8212
|
}, "strip", z.ZodTypeAny, {
|
|
8213
8213
|
status: Status;
|
|
8214
|
-
description: string;
|
|
8215
8214
|
organisation_id: string;
|
|
8215
|
+
description: string;
|
|
8216
8216
|
fleet_breakdown_type: string;
|
|
8217
8217
|
}, {
|
|
8218
8218
|
status: Status;
|
|
@@ -8429,6 +8429,8 @@ declare const FleetBreakdownFileSchema: z.ZodObject<{
|
|
|
8429
8429
|
breakdown_id: z.ZodEffects<z.ZodString, string, string>;
|
|
8430
8430
|
}, "strip", z.ZodTypeAny, {
|
|
8431
8431
|
status: Status;
|
|
8432
|
+
organisation_id: string;
|
|
8433
|
+
user_id: string;
|
|
8432
8434
|
usage_type: string;
|
|
8433
8435
|
file_type: FileType;
|
|
8434
8436
|
file_url: string;
|
|
@@ -8437,15 +8439,13 @@ declare const FleetBreakdownFileSchema: z.ZodObject<{
|
|
|
8437
8439
|
file_description: string;
|
|
8438
8440
|
file_size: number;
|
|
8439
8441
|
file_metadata: Record<string, any>;
|
|
8440
|
-
organisation_id: string;
|
|
8441
|
-
user_id: string;
|
|
8442
8442
|
breakdown_id: string;
|
|
8443
8443
|
}, {
|
|
8444
8444
|
status: Status;
|
|
8445
|
-
usage_type: string;
|
|
8446
|
-
file_type: FileType;
|
|
8447
8445
|
organisation_id: string;
|
|
8448
8446
|
user_id: string;
|
|
8447
|
+
usage_type: string;
|
|
8448
|
+
file_type: FileType;
|
|
8449
8449
|
breakdown_id: string;
|
|
8450
8450
|
file_url?: string | undefined;
|
|
8451
8451
|
file_key?: string | undefined;
|
|
@@ -8489,6 +8489,8 @@ declare const FleetBreakdownSchema: z.ZodObject<{
|
|
|
8489
8489
|
breakdown_id: z.ZodEffects<z.ZodString, string, string>;
|
|
8490
8490
|
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
8491
8491
|
status: Status;
|
|
8492
|
+
organisation_id: string;
|
|
8493
|
+
user_id: string;
|
|
8492
8494
|
usage_type: string;
|
|
8493
8495
|
file_type: FileType;
|
|
8494
8496
|
file_url: string;
|
|
@@ -8497,15 +8499,13 @@ declare const FleetBreakdownSchema: z.ZodObject<{
|
|
|
8497
8499
|
file_description: string;
|
|
8498
8500
|
file_size: number;
|
|
8499
8501
|
file_metadata: Record<string, any>;
|
|
8500
|
-
organisation_id: string;
|
|
8501
|
-
user_id: string;
|
|
8502
8502
|
breakdown_id: string;
|
|
8503
8503
|
}, {
|
|
8504
8504
|
status: Status;
|
|
8505
|
-
usage_type: string;
|
|
8506
|
-
file_type: FileType;
|
|
8507
8505
|
organisation_id: string;
|
|
8508
8506
|
user_id: string;
|
|
8507
|
+
usage_type: string;
|
|
8508
|
+
file_type: FileType;
|
|
8509
8509
|
breakdown_id: string;
|
|
8510
8510
|
file_url?: string | undefined;
|
|
8511
8511
|
file_key?: string | undefined;
|
|
@@ -8517,9 +8517,9 @@ declare const FleetBreakdownSchema: z.ZodObject<{
|
|
|
8517
8517
|
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
8518
8518
|
}, "strip", z.ZodTypeAny, {
|
|
8519
8519
|
status: Status;
|
|
8520
|
-
time_zone_id: string;
|
|
8521
8520
|
organisation_id: string;
|
|
8522
8521
|
user_id: string;
|
|
8522
|
+
time_zone_id: string;
|
|
8523
8523
|
vehicle_id: string;
|
|
8524
8524
|
driver_id: string;
|
|
8525
8525
|
was_towed: YesNo;
|
|
@@ -8534,6 +8534,8 @@ declare const FleetBreakdownSchema: z.ZodObject<{
|
|
|
8534
8534
|
breakdown_description: string;
|
|
8535
8535
|
FleetBreakdownFileSchema: {
|
|
8536
8536
|
status: Status;
|
|
8537
|
+
organisation_id: string;
|
|
8538
|
+
user_id: string;
|
|
8537
8539
|
usage_type: string;
|
|
8538
8540
|
file_type: FileType;
|
|
8539
8541
|
file_url: string;
|
|
@@ -8542,17 +8544,15 @@ declare const FleetBreakdownSchema: z.ZodObject<{
|
|
|
8542
8544
|
file_description: string;
|
|
8543
8545
|
file_size: number;
|
|
8544
8546
|
file_metadata: Record<string, any>;
|
|
8545
|
-
organisation_id: string;
|
|
8546
|
-
user_id: string;
|
|
8547
8547
|
breakdown_id: string;
|
|
8548
8548
|
}[];
|
|
8549
8549
|
latitude?: number | undefined;
|
|
8550
8550
|
longitude?: number | undefined;
|
|
8551
8551
|
}, {
|
|
8552
8552
|
status: Status;
|
|
8553
|
-
time_zone_id: string;
|
|
8554
8553
|
organisation_id: string;
|
|
8555
8554
|
user_id: string;
|
|
8555
|
+
time_zone_id: string;
|
|
8556
8556
|
vehicle_id: string;
|
|
8557
8557
|
driver_id: string;
|
|
8558
8558
|
was_towed: YesNo;
|
|
@@ -8569,10 +8569,10 @@ declare const FleetBreakdownSchema: z.ZodObject<{
|
|
|
8569
8569
|
breakdown_description?: string | undefined;
|
|
8570
8570
|
FleetBreakdownFileSchema?: {
|
|
8571
8571
|
status: Status;
|
|
8572
|
-
usage_type: string;
|
|
8573
|
-
file_type: FileType;
|
|
8574
8572
|
organisation_id: string;
|
|
8575
8573
|
user_id: string;
|
|
8574
|
+
usage_type: string;
|
|
8575
|
+
file_type: FileType;
|
|
8576
8576
|
breakdown_id: string;
|
|
8577
8577
|
file_url?: string | undefined;
|
|
8578
8578
|
file_key?: string | undefined;
|
|
@@ -8797,9 +8797,9 @@ declare const FleetBreakdownCostSchema: z.ZodObject<{
|
|
|
8797
8797
|
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
8798
8798
|
}, "strip", z.ZodTypeAny, {
|
|
8799
8799
|
status: Status;
|
|
8800
|
-
time_zone_id: string;
|
|
8801
8800
|
organisation_id: string;
|
|
8802
8801
|
user_id: string;
|
|
8802
|
+
time_zone_id: string;
|
|
8803
8803
|
expense_name_id: string;
|
|
8804
8804
|
breakdown_id: string;
|
|
8805
8805
|
breakdown_cost_date: string;
|
|
@@ -8807,9 +8807,9 @@ declare const FleetBreakdownCostSchema: z.ZodObject<{
|
|
|
8807
8807
|
breakdown_cost_amount?: number | undefined;
|
|
8808
8808
|
}, {
|
|
8809
8809
|
status: Status;
|
|
8810
|
-
time_zone_id: string;
|
|
8811
8810
|
organisation_id: string;
|
|
8812
8811
|
user_id: string;
|
|
8812
|
+
time_zone_id: string;
|
|
8813
8813
|
expense_name_id: string;
|
|
8814
8814
|
breakdown_id: string;
|
|
8815
8815
|
breakdown_cost_date?: string | undefined;
|
|
@@ -8950,8 +8950,8 @@ declare const MasterVehicleFuelTypeSchema: z.ZodObject<{
|
|
|
8950
8950
|
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
8951
8951
|
}, "strip", z.ZodTypeAny, {
|
|
8952
8952
|
status: Status;
|
|
8953
|
-
description: string;
|
|
8954
8953
|
organisation_id: string;
|
|
8954
|
+
description: string;
|
|
8955
8955
|
fuel_type: string;
|
|
8956
8956
|
}, {
|
|
8957
8957
|
status: Status;
|
|
@@ -9073,8 +9073,8 @@ declare const MasterVehicleFuelUnitSchema: z.ZodObject<{
|
|
|
9073
9073
|
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
9074
9074
|
}, "strip", z.ZodTypeAny, {
|
|
9075
9075
|
status: Status;
|
|
9076
|
-
description: string;
|
|
9077
9076
|
organisation_id: string;
|
|
9077
|
+
description: string;
|
|
9078
9078
|
fuel_unit: string;
|
|
9079
9079
|
}, {
|
|
9080
9080
|
status: Status;
|
|
@@ -9196,8 +9196,8 @@ declare const MasterVehicleFuelRemovalReasonSchema: z.ZodObject<{
|
|
|
9196
9196
|
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
9197
9197
|
}, "strip", z.ZodTypeAny, {
|
|
9198
9198
|
status: Status;
|
|
9199
|
-
description: string;
|
|
9200
9199
|
organisation_id: string;
|
|
9200
|
+
description: string;
|
|
9201
9201
|
removal_reason: string;
|
|
9202
9202
|
}, {
|
|
9203
9203
|
status: Status;
|
|
@@ -9390,6 +9390,8 @@ declare const FleetFuelRemovalFileSchema: z.ZodObject<{
|
|
|
9390
9390
|
fleet_fuel_removal_id: z.ZodEffects<z.ZodString, string, string>;
|
|
9391
9391
|
}, "strip", z.ZodTypeAny, {
|
|
9392
9392
|
status: Status;
|
|
9393
|
+
organisation_id: string;
|
|
9394
|
+
user_id: string;
|
|
9393
9395
|
usage_type: string;
|
|
9394
9396
|
file_type: FileType;
|
|
9395
9397
|
file_url: string;
|
|
@@ -9398,15 +9400,13 @@ declare const FleetFuelRemovalFileSchema: z.ZodObject<{
|
|
|
9398
9400
|
file_description: string;
|
|
9399
9401
|
file_size: number;
|
|
9400
9402
|
file_metadata: Record<string, any>;
|
|
9401
|
-
organisation_id: string;
|
|
9402
|
-
user_id: string;
|
|
9403
9403
|
fleet_fuel_removal_id: string;
|
|
9404
9404
|
}, {
|
|
9405
9405
|
status: Status;
|
|
9406
|
-
usage_type: string;
|
|
9407
|
-
file_type: FileType;
|
|
9408
9406
|
organisation_id: string;
|
|
9409
9407
|
user_id: string;
|
|
9408
|
+
usage_type: string;
|
|
9409
|
+
file_type: FileType;
|
|
9410
9410
|
fleet_fuel_removal_id: string;
|
|
9411
9411
|
file_url?: string | undefined;
|
|
9412
9412
|
file_key?: string | undefined;
|
|
@@ -9460,6 +9460,8 @@ declare const FleetFuelRemovalSchema: z.ZodObject<{
|
|
|
9460
9460
|
fleet_fuel_removal_id: z.ZodEffects<z.ZodString, string, string>;
|
|
9461
9461
|
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
9462
9462
|
status: Status;
|
|
9463
|
+
organisation_id: string;
|
|
9464
|
+
user_id: string;
|
|
9463
9465
|
usage_type: string;
|
|
9464
9466
|
file_type: FileType;
|
|
9465
9467
|
file_url: string;
|
|
@@ -9468,15 +9470,13 @@ declare const FleetFuelRemovalSchema: z.ZodObject<{
|
|
|
9468
9470
|
file_description: string;
|
|
9469
9471
|
file_size: number;
|
|
9470
9472
|
file_metadata: Record<string, any>;
|
|
9471
|
-
organisation_id: string;
|
|
9472
|
-
user_id: string;
|
|
9473
9473
|
fleet_fuel_removal_id: string;
|
|
9474
9474
|
}, {
|
|
9475
9475
|
status: Status;
|
|
9476
|
-
usage_type: string;
|
|
9477
|
-
file_type: FileType;
|
|
9478
9476
|
organisation_id: string;
|
|
9479
9477
|
user_id: string;
|
|
9478
|
+
usage_type: string;
|
|
9479
|
+
file_type: FileType;
|
|
9480
9480
|
fleet_fuel_removal_id: string;
|
|
9481
9481
|
file_url?: string | undefined;
|
|
9482
9482
|
file_key?: string | undefined;
|
|
@@ -9487,9 +9487,9 @@ declare const FleetFuelRemovalSchema: z.ZodObject<{
|
|
|
9487
9487
|
}>, "many">>>;
|
|
9488
9488
|
}, "strip", z.ZodTypeAny, {
|
|
9489
9489
|
status: Status;
|
|
9490
|
-
time_zone_id: string;
|
|
9491
9490
|
organisation_id: string;
|
|
9492
9491
|
user_id: string;
|
|
9492
|
+
time_zone_id: string;
|
|
9493
9493
|
vehicle_id: string;
|
|
9494
9494
|
driver_id: string;
|
|
9495
9495
|
odometer_reading: number;
|
|
@@ -9506,6 +9506,8 @@ declare const FleetFuelRemovalSchema: z.ZodObject<{
|
|
|
9506
9506
|
source_notes: string;
|
|
9507
9507
|
FleetFuelRemovalFileSchema: {
|
|
9508
9508
|
status: Status;
|
|
9509
|
+
organisation_id: string;
|
|
9510
|
+
user_id: string;
|
|
9509
9511
|
usage_type: string;
|
|
9510
9512
|
file_type: FileType;
|
|
9511
9513
|
file_url: string;
|
|
@@ -9514,8 +9516,6 @@ declare const FleetFuelRemovalSchema: z.ZodObject<{
|
|
|
9514
9516
|
file_description: string;
|
|
9515
9517
|
file_size: number;
|
|
9516
9518
|
file_metadata: Record<string, any>;
|
|
9517
|
-
organisation_id: string;
|
|
9518
|
-
user_id: string;
|
|
9519
9519
|
fleet_fuel_removal_id: string;
|
|
9520
9520
|
}[];
|
|
9521
9521
|
latitude?: number | undefined;
|
|
@@ -9529,9 +9529,9 @@ declare const FleetFuelRemovalSchema: z.ZodObject<{
|
|
|
9529
9529
|
total_cost?: number | undefined;
|
|
9530
9530
|
}, {
|
|
9531
9531
|
status: Status;
|
|
9532
|
-
time_zone_id: string;
|
|
9533
9532
|
organisation_id: string;
|
|
9534
9533
|
user_id: string;
|
|
9534
|
+
time_zone_id: string;
|
|
9535
9535
|
vehicle_id: string;
|
|
9536
9536
|
driver_id: string;
|
|
9537
9537
|
vehicle_fuel_type_id: string;
|
|
@@ -9557,10 +9557,10 @@ declare const FleetFuelRemovalSchema: z.ZodObject<{
|
|
|
9557
9557
|
source_notes?: string | undefined;
|
|
9558
9558
|
FleetFuelRemovalFileSchema?: {
|
|
9559
9559
|
status: Status;
|
|
9560
|
-
usage_type: string;
|
|
9561
|
-
file_type: FileType;
|
|
9562
9560
|
organisation_id: string;
|
|
9563
9561
|
user_id: string;
|
|
9562
|
+
usage_type: string;
|
|
9563
|
+
file_type: FileType;
|
|
9564
9564
|
fleet_fuel_removal_id: string;
|
|
9565
9565
|
file_url?: string | undefined;
|
|
9566
9566
|
file_key?: string | undefined;
|
|
@@ -9721,8 +9721,8 @@ declare const MasterClassSchema: z.ZodObject<{
|
|
|
9721
9721
|
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
9722
9722
|
}, "strip", z.ZodTypeAny, {
|
|
9723
9723
|
status: Status;
|
|
9724
|
-
description: string;
|
|
9725
9724
|
organisation_id: string;
|
|
9725
|
+
description: string;
|
|
9726
9726
|
class_name: string;
|
|
9727
9727
|
}, {
|
|
9728
9728
|
status: Status;
|
|
@@ -9847,8 +9847,8 @@ declare const MasterProgramSchema: z.ZodObject<{
|
|
|
9847
9847
|
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
9848
9848
|
}, "strip", z.ZodTypeAny, {
|
|
9849
9849
|
status: Status;
|
|
9850
|
-
description: string;
|
|
9851
9850
|
organisation_id: string;
|
|
9851
|
+
description: string;
|
|
9852
9852
|
program_name: string;
|
|
9853
9853
|
}, {
|
|
9854
9854
|
status: Status;
|
|
@@ -9973,8 +9973,8 @@ declare const MasterSectionSchema: z.ZodObject<{
|
|
|
9973
9973
|
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
9974
9974
|
}, "strip", z.ZodTypeAny, {
|
|
9975
9975
|
status: Status;
|
|
9976
|
-
description: string;
|
|
9977
9976
|
organisation_id: string;
|
|
9977
|
+
description: string;
|
|
9978
9978
|
section_name: string;
|
|
9979
9979
|
}, {
|
|
9980
9980
|
status: Status;
|
|
@@ -10099,8 +10099,8 @@ declare const MasterSemesterSchema: z.ZodObject<{
|
|
|
10099
10099
|
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
10100
10100
|
}, "strip", z.ZodTypeAny, {
|
|
10101
10101
|
status: Status;
|
|
10102
|
-
description: string;
|
|
10103
10102
|
organisation_id: string;
|
|
10103
|
+
description: string;
|
|
10104
10104
|
semester_name: string;
|
|
10105
10105
|
}, {
|
|
10106
10106
|
status: Status;
|
|
@@ -10225,8 +10225,8 @@ declare const MasterStreamSchema: z.ZodObject<{
|
|
|
10225
10225
|
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
10226
10226
|
}, "strip", z.ZodTypeAny, {
|
|
10227
10227
|
status: Status;
|
|
10228
|
-
description: string;
|
|
10229
10228
|
organisation_id: string;
|
|
10229
|
+
description: string;
|
|
10230
10230
|
stream_name: string;
|
|
10231
10231
|
}, {
|
|
10232
10232
|
status: Status;
|
|
@@ -10351,8 +10351,8 @@ declare const MasterYearSchema: z.ZodObject<{
|
|
|
10351
10351
|
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
10352
10352
|
}, "strip", z.ZodTypeAny, {
|
|
10353
10353
|
status: Status;
|
|
10354
|
-
description: string;
|
|
10355
10354
|
organisation_id: string;
|
|
10355
|
+
description: string;
|
|
10356
10356
|
year_name: string;
|
|
10357
10357
|
}, {
|
|
10358
10358
|
status: Status;
|
|
@@ -10477,8 +10477,8 @@ declare const MasterRelationshipSchema: z.ZodObject<{
|
|
|
10477
10477
|
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
10478
10478
|
}, "strip", z.ZodTypeAny, {
|
|
10479
10479
|
status: Status;
|
|
10480
|
-
description: string;
|
|
10481
10480
|
organisation_id: string;
|
|
10481
|
+
description: string;
|
|
10482
10482
|
relationship_name: string;
|
|
10483
10483
|
}, {
|
|
10484
10484
|
status: Status;
|
|
@@ -11021,8 +11021,8 @@ declare const MasterDailyScheduleSchema: z.ZodObject<{
|
|
|
11021
11021
|
time_zone_id: z.ZodEffects<z.ZodString, string, string>;
|
|
11022
11022
|
}, "strip", z.ZodTypeAny, {
|
|
11023
11023
|
status: Status;
|
|
11024
|
-
time_zone_id: string;
|
|
11025
11024
|
organisation_id: string;
|
|
11025
|
+
time_zone_id: string;
|
|
11026
11026
|
organisation_branch_id: string;
|
|
11027
11027
|
vehicle_id: string;
|
|
11028
11028
|
driver_id: string;
|
|
@@ -11045,8 +11045,8 @@ declare const MasterDailyScheduleSchema: z.ZodObject<{
|
|
|
11045
11045
|
attendant_id: string;
|
|
11046
11046
|
}, {
|
|
11047
11047
|
status: Status;
|
|
11048
|
-
time_zone_id: string;
|
|
11049
11048
|
organisation_id: string;
|
|
11049
|
+
time_zone_id: string;
|
|
11050
11050
|
organisation_branch_id: string;
|
|
11051
11051
|
vehicle_id: string;
|
|
11052
11052
|
driver_id: string;
|
|
@@ -11426,8 +11426,8 @@ declare const MasterSpecialScheduleSchema: z.ZodObject<{
|
|
|
11426
11426
|
time_zone_id: z.ZodEffects<z.ZodString, string, string>;
|
|
11427
11427
|
}, "strip", z.ZodTypeAny, {
|
|
11428
11428
|
status: Status;
|
|
11429
|
-
time_zone_id: string;
|
|
11430
11429
|
organisation_id: string;
|
|
11430
|
+
time_zone_id: string;
|
|
11431
11431
|
organisation_branch_id: string;
|
|
11432
11432
|
vehicle_id: string;
|
|
11433
11433
|
driver_id: string;
|
|
@@ -11450,8 +11450,8 @@ declare const MasterSpecialScheduleSchema: z.ZodObject<{
|
|
|
11450
11450
|
attendant_id: string;
|
|
11451
11451
|
}, {
|
|
11452
11452
|
status: Status;
|
|
11453
|
-
time_zone_id: string;
|
|
11454
11453
|
organisation_id: string;
|
|
11454
|
+
time_zone_id: string;
|
|
11455
11455
|
organisation_branch_id: string;
|
|
11456
11456
|
vehicle_id: string;
|
|
11457
11457
|
driver_id: string;
|
|
@@ -12453,8 +12453,8 @@ declare const StudentSchema: z.ZodObject<{
|
|
|
12453
12453
|
time_zone_id: z.ZodEffects<z.ZodString, string, string>;
|
|
12454
12454
|
}, "strip", z.ZodTypeAny, {
|
|
12455
12455
|
status: Status;
|
|
12456
|
-
time_zone_id: string;
|
|
12457
12456
|
organisation_id: string;
|
|
12457
|
+
time_zone_id: string;
|
|
12458
12458
|
organisation_branch_id: string;
|
|
12459
12459
|
email: string;
|
|
12460
12460
|
class_id: string;
|
|
@@ -12478,8 +12478,8 @@ declare const StudentSchema: z.ZodObject<{
|
|
|
12478
12478
|
transport_plan_type: TransportPlanType;
|
|
12479
12479
|
}, {
|
|
12480
12480
|
status: Status;
|
|
12481
|
-
time_zone_id: string;
|
|
12482
12481
|
organisation_id: string;
|
|
12482
|
+
time_zone_id: string;
|
|
12483
12483
|
organisation_branch_id: string;
|
|
12484
12484
|
class_id: string;
|
|
12485
12485
|
program_id: string;
|
|
@@ -12677,6 +12677,7 @@ declare const StudentNoFixedScheduleQuerySchema: z.ZodObject<{
|
|
|
12677
12677
|
organisation_branch_id: z.ZodEffects<z.ZodString, string, string>;
|
|
12678
12678
|
}, "strip", z.ZodTypeAny, {
|
|
12679
12679
|
status: Status[];
|
|
12680
|
+
organisation_id: string;
|
|
12680
12681
|
search: string;
|
|
12681
12682
|
paging: PAGING;
|
|
12682
12683
|
page_count: number;
|
|
@@ -12697,12 +12698,11 @@ declare const StudentNoFixedScheduleQuerySchema: z.ZodObject<{
|
|
|
12697
12698
|
include_master_data: YesNo;
|
|
12698
12699
|
date_format_id: string;
|
|
12699
12700
|
time_zone_id: string;
|
|
12700
|
-
organisation_id: string;
|
|
12701
12701
|
organisation_branch_id: string;
|
|
12702
12702
|
}, {
|
|
12703
|
+
organisation_id: string;
|
|
12703
12704
|
date_format_id: string;
|
|
12704
12705
|
time_zone_id: string;
|
|
12705
|
-
organisation_id: string;
|
|
12706
12706
|
organisation_branch_id: string;
|
|
12707
12707
|
status?: Status[] | undefined;
|
|
12708
12708
|
search?: string | undefined;
|
|
@@ -12896,8 +12896,8 @@ declare const StudentGuardianLinkSchema: z.ZodObject<{
|
|
|
12896
12896
|
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
12897
12897
|
}, "strip", z.ZodTypeAny, {
|
|
12898
12898
|
status: Status;
|
|
12899
|
-
name: string;
|
|
12900
12899
|
organisation_id: string;
|
|
12900
|
+
name: string;
|
|
12901
12901
|
organisation_branch_id: string;
|
|
12902
12902
|
notes: string;
|
|
12903
12903
|
is_primary: YesNo;
|
|
@@ -12911,8 +12911,8 @@ declare const StudentGuardianLinkSchema: z.ZodObject<{
|
|
|
12911
12911
|
photo_name: string;
|
|
12912
12912
|
}, {
|
|
12913
12913
|
status: Status;
|
|
12914
|
-
name: string;
|
|
12915
12914
|
organisation_id: string;
|
|
12915
|
+
name: string;
|
|
12916
12916
|
organisation_branch_id: string;
|
|
12917
12917
|
is_primary: YesNo;
|
|
12918
12918
|
mobile: string;
|
|
@@ -13099,6 +13099,7 @@ declare const StudentGuardianAutofillQuerySchema: z.ZodObject<{
|
|
|
13099
13099
|
mobile: z.ZodEffects<z.ZodString, string, string>;
|
|
13100
13100
|
}, "strip", z.ZodTypeAny, {
|
|
13101
13101
|
status: Status[];
|
|
13102
|
+
organisation_id: string;
|
|
13102
13103
|
search: string;
|
|
13103
13104
|
paging: PAGING;
|
|
13104
13105
|
page_count: number;
|
|
@@ -13119,13 +13120,12 @@ declare const StudentGuardianAutofillQuerySchema: z.ZodObject<{
|
|
|
13119
13120
|
include_master_data: YesNo;
|
|
13120
13121
|
date_format_id: string;
|
|
13121
13122
|
time_zone_id: string;
|
|
13122
|
-
organisation_id: string;
|
|
13123
13123
|
organisation_branch_id: string;
|
|
13124
13124
|
mobile: string;
|
|
13125
13125
|
}, {
|
|
13126
|
+
organisation_id: string;
|
|
13126
13127
|
date_format_id: string;
|
|
13127
13128
|
time_zone_id: string;
|
|
13128
|
-
organisation_id: string;
|
|
13129
13129
|
organisation_branch_id: string;
|
|
13130
13130
|
mobile: string;
|
|
13131
13131
|
status?: Status[] | undefined;
|
|
@@ -13159,8 +13159,8 @@ declare const StudentLeaveRequestSchema: z.ZodObject<{
|
|
|
13159
13159
|
reason: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
|
|
13160
13160
|
time_zone_id: z.ZodEffects<z.ZodString, string, string>;
|
|
13161
13161
|
}, "strip", z.ZodTypeAny, {
|
|
13162
|
-
time_zone_id: string;
|
|
13163
13162
|
organisation_id: string;
|
|
13163
|
+
time_zone_id: string;
|
|
13164
13164
|
organisation_branch_id: string;
|
|
13165
13165
|
student_id: string;
|
|
13166
13166
|
date_from: string;
|
|
@@ -13168,8 +13168,8 @@ declare const StudentLeaveRequestSchema: z.ZodObject<{
|
|
|
13168
13168
|
leave_type: StudentLeaveType;
|
|
13169
13169
|
reason: string;
|
|
13170
13170
|
}, {
|
|
13171
|
-
time_zone_id: string;
|
|
13172
13171
|
organisation_id: string;
|
|
13172
|
+
time_zone_id: string;
|
|
13173
13173
|
organisation_branch_id: string;
|
|
13174
13174
|
student_id: string;
|
|
13175
13175
|
date_from: string;
|
|
@@ -13282,8 +13282,8 @@ declare const StudentStopChangeRequestSchema: z.ZodObject<{
|
|
|
13282
13282
|
time_zone_id: z.ZodEffects<z.ZodString, string, string>;
|
|
13283
13283
|
}, "strip", z.ZodTypeAny, {
|
|
13284
13284
|
status: Status;
|
|
13285
|
-
time_zone_id: string;
|
|
13286
13285
|
organisation_id: string;
|
|
13286
|
+
time_zone_id: string;
|
|
13287
13287
|
organisation_branch_id: string;
|
|
13288
13288
|
student_id: string;
|
|
13289
13289
|
student_address_id: string;
|
|
@@ -13295,8 +13295,8 @@ declare const StudentStopChangeRequestSchema: z.ZodObject<{
|
|
|
13295
13295
|
apply_until: string;
|
|
13296
13296
|
}, {
|
|
13297
13297
|
status: Status;
|
|
13298
|
-
time_zone_id: string;
|
|
13299
13298
|
organisation_id: string;
|
|
13299
|
+
time_zone_id: string;
|
|
13300
13300
|
organisation_branch_id: string;
|
|
13301
13301
|
student_id: string;
|
|
13302
13302
|
student_address_id: string;
|
|
@@ -13943,6 +13943,8 @@ declare const FleetFuelRefillFileSchema: z.ZodObject<{
|
|
|
13943
13943
|
fleet_fuel_refill_id: z.ZodEffects<z.ZodString, string, string>;
|
|
13944
13944
|
}, "strip", z.ZodTypeAny, {
|
|
13945
13945
|
status: Status;
|
|
13946
|
+
organisation_id: string;
|
|
13947
|
+
user_id: string;
|
|
13946
13948
|
usage_type: string;
|
|
13947
13949
|
file_type: FileType;
|
|
13948
13950
|
file_url: string;
|
|
@@ -13951,15 +13953,13 @@ declare const FleetFuelRefillFileSchema: z.ZodObject<{
|
|
|
13951
13953
|
file_description: string;
|
|
13952
13954
|
file_size: number;
|
|
13953
13955
|
file_metadata: Record<string, any>;
|
|
13954
|
-
organisation_id: string;
|
|
13955
|
-
user_id: string;
|
|
13956
13956
|
fleet_fuel_refill_id: string;
|
|
13957
13957
|
}, {
|
|
13958
13958
|
status: Status;
|
|
13959
|
-
usage_type: string;
|
|
13960
|
-
file_type: FileType;
|
|
13961
13959
|
organisation_id: string;
|
|
13962
13960
|
user_id: string;
|
|
13961
|
+
usage_type: string;
|
|
13962
|
+
file_type: FileType;
|
|
13963
13963
|
fleet_fuel_refill_id: string;
|
|
13964
13964
|
file_url?: string | undefined;
|
|
13965
13965
|
file_key?: string | undefined;
|
|
@@ -14025,6 +14025,8 @@ declare const FleetFuelRefillSchema: z.ZodObject<{
|
|
|
14025
14025
|
fleet_fuel_refill_id: z.ZodEffects<z.ZodString, string, string>;
|
|
14026
14026
|
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
14027
14027
|
status: Status;
|
|
14028
|
+
organisation_id: string;
|
|
14029
|
+
user_id: string;
|
|
14028
14030
|
usage_type: string;
|
|
14029
14031
|
file_type: FileType;
|
|
14030
14032
|
file_url: string;
|
|
@@ -14033,15 +14035,13 @@ declare const FleetFuelRefillSchema: z.ZodObject<{
|
|
|
14033
14035
|
file_description: string;
|
|
14034
14036
|
file_size: number;
|
|
14035
14037
|
file_metadata: Record<string, any>;
|
|
14036
|
-
organisation_id: string;
|
|
14037
|
-
user_id: string;
|
|
14038
14038
|
fleet_fuel_refill_id: string;
|
|
14039
14039
|
}, {
|
|
14040
14040
|
status: Status;
|
|
14041
|
-
usage_type: string;
|
|
14042
|
-
file_type: FileType;
|
|
14043
14041
|
organisation_id: string;
|
|
14044
14042
|
user_id: string;
|
|
14043
|
+
usage_type: string;
|
|
14044
|
+
file_type: FileType;
|
|
14045
14045
|
fleet_fuel_refill_id: string;
|
|
14046
14046
|
file_url?: string | undefined;
|
|
14047
14047
|
file_key?: string | undefined;
|
|
@@ -14052,9 +14052,9 @@ declare const FleetFuelRefillSchema: z.ZodObject<{
|
|
|
14052
14052
|
}>, "many">>>;
|
|
14053
14053
|
}, "strip", z.ZodTypeAny, {
|
|
14054
14054
|
status: Status;
|
|
14055
|
-
time_zone_id: string;
|
|
14056
14055
|
organisation_id: string;
|
|
14057
14056
|
user_id: string;
|
|
14057
|
+
time_zone_id: string;
|
|
14058
14058
|
vehicle_id: string;
|
|
14059
14059
|
driver_id: string;
|
|
14060
14060
|
odometer_reading: number;
|
|
@@ -14083,6 +14083,8 @@ declare const FleetFuelRefillSchema: z.ZodObject<{
|
|
|
14083
14083
|
is_previous_entries_missed: YesNo;
|
|
14084
14084
|
FleetFuelRefillFile: {
|
|
14085
14085
|
status: Status;
|
|
14086
|
+
organisation_id: string;
|
|
14087
|
+
user_id: string;
|
|
14086
14088
|
usage_type: string;
|
|
14087
14089
|
file_type: FileType;
|
|
14088
14090
|
file_url: string;
|
|
@@ -14091,8 +14093,6 @@ declare const FleetFuelRefillSchema: z.ZodObject<{
|
|
|
14091
14093
|
file_description: string;
|
|
14092
14094
|
file_size: number;
|
|
14093
14095
|
file_metadata: Record<string, any>;
|
|
14094
|
-
organisation_id: string;
|
|
14095
|
-
user_id: string;
|
|
14096
14096
|
fleet_fuel_refill_id: string;
|
|
14097
14097
|
}[];
|
|
14098
14098
|
latitude?: number | undefined;
|
|
@@ -14106,9 +14106,9 @@ declare const FleetFuelRefillSchema: z.ZodObject<{
|
|
|
14106
14106
|
diff_refill_quantity?: number | undefined;
|
|
14107
14107
|
}, {
|
|
14108
14108
|
status: Status;
|
|
14109
|
-
time_zone_id: string;
|
|
14110
14109
|
organisation_id: string;
|
|
14111
14110
|
user_id: string;
|
|
14111
|
+
time_zone_id: string;
|
|
14112
14112
|
vehicle_id: string;
|
|
14113
14113
|
driver_id: string;
|
|
14114
14114
|
vendor_id: string;
|
|
@@ -14146,10 +14146,10 @@ declare const FleetFuelRefillSchema: z.ZodObject<{
|
|
|
14146
14146
|
tank_size?: unknown;
|
|
14147
14147
|
FleetFuelRefillFile?: {
|
|
14148
14148
|
status: Status;
|
|
14149
|
-
usage_type: string;
|
|
14150
|
-
file_type: FileType;
|
|
14151
14149
|
organisation_id: string;
|
|
14152
14150
|
user_id: string;
|
|
14151
|
+
usage_type: string;
|
|
14152
|
+
file_type: FileType;
|
|
14153
14153
|
fleet_fuel_refill_id: string;
|
|
14154
14154
|
file_url?: string | undefined;
|
|
14155
14155
|
file_key?: string | undefined;
|
|
@@ -14561,8 +14561,8 @@ declare const GPSGeofenceTransactionSummarySchema: z.ZodObject<{
|
|
|
14561
14561
|
time_zone_id: z.ZodEffects<z.ZodString, string, string>;
|
|
14562
14562
|
}, "strip", z.ZodTypeAny, {
|
|
14563
14563
|
status: Status;
|
|
14564
|
-
time_zone_id: string;
|
|
14565
14564
|
organisation_id: string;
|
|
14565
|
+
time_zone_id: string;
|
|
14566
14566
|
vehicle_id: string;
|
|
14567
14567
|
driver_id: string;
|
|
14568
14568
|
gps_geofence_id: string;
|
|
@@ -14573,8 +14573,8 @@ declare const GPSGeofenceTransactionSummarySchema: z.ZodObject<{
|
|
|
14573
14573
|
exit_gps_geofence_transaction_id: string;
|
|
14574
14574
|
}, {
|
|
14575
14575
|
status: Status;
|
|
14576
|
-
time_zone_id: string;
|
|
14577
14576
|
organisation_id: string;
|
|
14577
|
+
time_zone_id: string;
|
|
14578
14578
|
vehicle_id: string;
|
|
14579
14579
|
driver_id: string;
|
|
14580
14580
|
gps_geofence_id: string;
|
|
@@ -14742,8 +14742,8 @@ declare const TripGeofenceToGeofenceSchema: z.ZodObject<{
|
|
|
14742
14742
|
time_zone_id: z.ZodEffects<z.ZodString, string, string>;
|
|
14743
14743
|
}, "strip", z.ZodTypeAny, {
|
|
14744
14744
|
status: Status;
|
|
14745
|
-
time_zone_id: string;
|
|
14746
14745
|
organisation_id: string;
|
|
14746
|
+
time_zone_id: string;
|
|
14747
14747
|
vehicle_id: string;
|
|
14748
14748
|
driver_id: string;
|
|
14749
14749
|
duration_seconds: number;
|
|
@@ -14758,8 +14758,8 @@ declare const TripGeofenceToGeofenceSchema: z.ZodObject<{
|
|
|
14758
14758
|
distance_meters?: number | undefined;
|
|
14759
14759
|
}, {
|
|
14760
14760
|
status: Status;
|
|
14761
|
-
time_zone_id: string;
|
|
14762
14761
|
organisation_id: string;
|
|
14762
|
+
time_zone_id: string;
|
|
14763
14763
|
vehicle_id: string;
|
|
14764
14764
|
driver_id: string;
|
|
14765
14765
|
from_geofence_exit_date_time: string;
|
|
@@ -15167,8 +15167,8 @@ declare const GPSGeofenceTransactionSchema: z.ZodObject<{
|
|
|
15167
15167
|
time_zone_id: z.ZodEffects<z.ZodString, string, string>;
|
|
15168
15168
|
}, "strip", z.ZodTypeAny, {
|
|
15169
15169
|
status: Status;
|
|
15170
|
-
time_zone_id: string;
|
|
15171
15170
|
organisation_id: string;
|
|
15171
|
+
time_zone_id: string;
|
|
15172
15172
|
vehicle_id: string;
|
|
15173
15173
|
driver_id: string;
|
|
15174
15174
|
gps_geofence_id: string;
|
|
@@ -15176,8 +15176,8 @@ declare const GPSGeofenceTransactionSchema: z.ZodObject<{
|
|
|
15176
15176
|
geofence_time: string;
|
|
15177
15177
|
}, {
|
|
15178
15178
|
status: Status;
|
|
15179
|
-
time_zone_id: string;
|
|
15180
15179
|
organisation_id: string;
|
|
15180
|
+
time_zone_id: string;
|
|
15181
15181
|
vehicle_id: string;
|
|
15182
15182
|
driver_id: string;
|
|
15183
15183
|
gps_geofence_id: string;
|
|
@@ -15452,6 +15452,8 @@ declare const MasterDriverFileSchema: z.ZodObject<{
|
|
|
15452
15452
|
driver_id: z.ZodEffects<z.ZodString, string, string>;
|
|
15453
15453
|
}, "strip", z.ZodTypeAny, {
|
|
15454
15454
|
status: Status;
|
|
15455
|
+
organisation_id: string;
|
|
15456
|
+
user_id: string;
|
|
15455
15457
|
usage_type: string;
|
|
15456
15458
|
file_type: FileType;
|
|
15457
15459
|
file_url: string;
|
|
@@ -15460,15 +15462,13 @@ declare const MasterDriverFileSchema: z.ZodObject<{
|
|
|
15460
15462
|
file_description: string;
|
|
15461
15463
|
file_size: number;
|
|
15462
15464
|
file_metadata: Record<string, any>;
|
|
15463
|
-
organisation_id: string;
|
|
15464
|
-
user_id: string;
|
|
15465
15465
|
driver_id: string;
|
|
15466
15466
|
}, {
|
|
15467
15467
|
status: Status;
|
|
15468
|
-
usage_type: string;
|
|
15469
|
-
file_type: FileType;
|
|
15470
15468
|
organisation_id: string;
|
|
15471
15469
|
user_id: string;
|
|
15470
|
+
usage_type: string;
|
|
15471
|
+
file_type: FileType;
|
|
15472
15472
|
driver_id: string;
|
|
15473
15473
|
file_url?: string | undefined;
|
|
15474
15474
|
file_key?: string | undefined;
|
|
@@ -15516,6 +15516,8 @@ declare const MasterDriverSchema: z.ZodObject<{
|
|
|
15516
15516
|
driver_id: z.ZodEffects<z.ZodString, string, string>;
|
|
15517
15517
|
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
15518
15518
|
status: Status;
|
|
15519
|
+
organisation_id: string;
|
|
15520
|
+
user_id: string;
|
|
15519
15521
|
usage_type: string;
|
|
15520
15522
|
file_type: FileType;
|
|
15521
15523
|
file_url: string;
|
|
@@ -15524,15 +15526,13 @@ declare const MasterDriverSchema: z.ZodObject<{
|
|
|
15524
15526
|
file_description: string;
|
|
15525
15527
|
file_size: number;
|
|
15526
15528
|
file_metadata: Record<string, any>;
|
|
15527
|
-
organisation_id: string;
|
|
15528
|
-
user_id: string;
|
|
15529
15529
|
driver_id: string;
|
|
15530
15530
|
}, {
|
|
15531
15531
|
status: Status;
|
|
15532
|
-
usage_type: string;
|
|
15533
|
-
file_type: FileType;
|
|
15534
15532
|
organisation_id: string;
|
|
15535
15533
|
user_id: string;
|
|
15534
|
+
usage_type: string;
|
|
15535
|
+
file_type: FileType;
|
|
15536
15536
|
driver_id: string;
|
|
15537
15537
|
file_url?: string | undefined;
|
|
15538
15538
|
file_key?: string | undefined;
|
|
@@ -15544,11 +15544,11 @@ declare const MasterDriverSchema: z.ZodObject<{
|
|
|
15544
15544
|
}, "strip", z.ZodTypeAny, {
|
|
15545
15545
|
status: Status;
|
|
15546
15546
|
organisation_id: string;
|
|
15547
|
+
user_id: string;
|
|
15547
15548
|
organisation_sub_company_id: string;
|
|
15548
15549
|
organisation_branch_id: string;
|
|
15549
15550
|
organisation_color_id: string;
|
|
15550
15551
|
organisation_tag_id: string;
|
|
15551
|
-
user_id: string;
|
|
15552
15552
|
driver_image_url: string;
|
|
15553
15553
|
driver_image_key: string;
|
|
15554
15554
|
driver_image_name: string;
|
|
@@ -15565,6 +15565,8 @@ declare const MasterDriverSchema: z.ZodObject<{
|
|
|
15565
15565
|
driver_type: DriverType;
|
|
15566
15566
|
MasterDriverFileSchema: {
|
|
15567
15567
|
status: Status;
|
|
15568
|
+
organisation_id: string;
|
|
15569
|
+
user_id: string;
|
|
15568
15570
|
usage_type: string;
|
|
15569
15571
|
file_type: FileType;
|
|
15570
15572
|
file_url: string;
|
|
@@ -15573,18 +15575,16 @@ declare const MasterDriverSchema: z.ZodObject<{
|
|
|
15573
15575
|
file_description: string;
|
|
15574
15576
|
file_size: number;
|
|
15575
15577
|
file_metadata: Record<string, any>;
|
|
15576
|
-
organisation_id: string;
|
|
15577
|
-
user_id: string;
|
|
15578
15578
|
driver_id: string;
|
|
15579
15579
|
}[];
|
|
15580
15580
|
}, {
|
|
15581
15581
|
status: Status;
|
|
15582
15582
|
organisation_id: string;
|
|
15583
|
+
user_id: string;
|
|
15583
15584
|
organisation_sub_company_id: string;
|
|
15584
15585
|
organisation_branch_id: string;
|
|
15585
15586
|
organisation_color_id: string;
|
|
15586
15587
|
organisation_tag_id: string;
|
|
15587
|
-
user_id: string;
|
|
15588
15588
|
driver_first_name: string;
|
|
15589
15589
|
can_login: YesNo;
|
|
15590
15590
|
driver_type: DriverType;
|
|
@@ -15601,10 +15601,10 @@ declare const MasterDriverSchema: z.ZodObject<{
|
|
|
15601
15601
|
password?: string | undefined;
|
|
15602
15602
|
MasterDriverFileSchema?: {
|
|
15603
15603
|
status: Status;
|
|
15604
|
-
usage_type: string;
|
|
15605
|
-
file_type: FileType;
|
|
15606
15604
|
organisation_id: string;
|
|
15607
15605
|
user_id: string;
|
|
15606
|
+
usage_type: string;
|
|
15607
|
+
file_type: FileType;
|
|
15608
15608
|
driver_id: string;
|
|
15609
15609
|
file_url?: string | undefined;
|
|
15610
15610
|
file_key?: string | undefined;
|
|
@@ -15680,11 +15680,11 @@ declare const MasterDriverQuerySchema: z.ZodObject<{
|
|
|
15680
15680
|
date_format_id: string;
|
|
15681
15681
|
time_zone_id: string;
|
|
15682
15682
|
organisation_ids: string[];
|
|
15683
|
+
user_ids: string[];
|
|
15683
15684
|
organisation_sub_company_ids: string[];
|
|
15684
15685
|
organisation_branch_ids: string[];
|
|
15685
15686
|
organisation_color_ids: string[];
|
|
15686
15687
|
organisation_tag_ids: string[];
|
|
15687
|
-
user_ids: string[];
|
|
15688
15688
|
vehicle_ids: string[];
|
|
15689
15689
|
driver_ids: string[];
|
|
15690
15690
|
can_login: YesNo[];
|
|
@@ -15713,11 +15713,11 @@ declare const MasterDriverQuerySchema: z.ZodObject<{
|
|
|
15713
15713
|
}[] | undefined;
|
|
15714
15714
|
include_master_data?: YesNo | undefined;
|
|
15715
15715
|
organisation_ids?: string[] | undefined;
|
|
15716
|
+
user_ids?: string[] | undefined;
|
|
15716
15717
|
organisation_sub_company_ids?: string[] | undefined;
|
|
15717
15718
|
organisation_branch_ids?: string[] | undefined;
|
|
15718
15719
|
organisation_color_ids?: string[] | undefined;
|
|
15719
15720
|
organisation_tag_ids?: string[] | undefined;
|
|
15720
|
-
user_ids?: string[] | undefined;
|
|
15721
15721
|
vehicle_ids?: string[] | undefined;
|
|
15722
15722
|
driver_ids?: string[] | undefined;
|
|
15723
15723
|
can_login?: YesNo[] | undefined;
|
|
@@ -15946,8 +15946,8 @@ declare const OrganisationGroupSchema: z.ZodObject<{
|
|
|
15946
15946
|
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
15947
15947
|
}, "strip", z.ZodTypeAny, {
|
|
15948
15948
|
status: Status;
|
|
15949
|
-
description: string;
|
|
15950
15949
|
organisation_id: string;
|
|
15950
|
+
description: string;
|
|
15951
15951
|
vehicle_ids: string[];
|
|
15952
15952
|
group_name: string;
|
|
15953
15953
|
}, {
|
|
@@ -16078,8 +16078,8 @@ declare const MasterVehicleTypeSchema: z.ZodObject<{
|
|
|
16078
16078
|
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
16079
16079
|
}, "strip", z.ZodTypeAny, {
|
|
16080
16080
|
status: Status;
|
|
16081
|
-
description: string;
|
|
16082
16081
|
organisation_id: string;
|
|
16082
|
+
description: string;
|
|
16083
16083
|
vehicle_type: string;
|
|
16084
16084
|
}, {
|
|
16085
16085
|
status: Status;
|
|
@@ -16213,8 +16213,8 @@ declare const MasterVehicleSubModelSchema: z.ZodObject<{
|
|
|
16213
16213
|
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
16214
16214
|
}, "strip", z.ZodTypeAny, {
|
|
16215
16215
|
status: Status;
|
|
16216
|
-
description: string;
|
|
16217
16216
|
organisation_id: string;
|
|
16217
|
+
description: string;
|
|
16218
16218
|
vehicle_sub_model: string;
|
|
16219
16219
|
vehicle_make_id: string;
|
|
16220
16220
|
vehicle_model_id: string;
|
|
@@ -16364,8 +16364,8 @@ declare const MasterVehicleModelSchema: z.ZodObject<{
|
|
|
16364
16364
|
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
16365
16365
|
}, "strip", z.ZodTypeAny, {
|
|
16366
16366
|
status: Status;
|
|
16367
|
-
description: string;
|
|
16368
16367
|
organisation_id: string;
|
|
16368
|
+
description: string;
|
|
16369
16369
|
vehicle_make_id: string;
|
|
16370
16370
|
vehicle_model: string;
|
|
16371
16371
|
}, {
|
|
@@ -16508,8 +16508,8 @@ declare const MasterVehicleMakeSchema: z.ZodObject<{
|
|
|
16508
16508
|
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
16509
16509
|
}, "strip", z.ZodTypeAny, {
|
|
16510
16510
|
status: Status;
|
|
16511
|
-
description: string;
|
|
16512
16511
|
organisation_id: string;
|
|
16512
|
+
description: string;
|
|
16513
16513
|
vehicle_make: string;
|
|
16514
16514
|
}, {
|
|
16515
16515
|
status: Status;
|
|
@@ -16635,8 +16635,8 @@ declare const MasterVehicleStatusTypeSchema: z.ZodObject<{
|
|
|
16635
16635
|
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
16636
16636
|
}, "strip", z.ZodTypeAny, {
|
|
16637
16637
|
status: Status;
|
|
16638
|
-
description: string;
|
|
16639
16638
|
organisation_id: string;
|
|
16639
|
+
description: string;
|
|
16640
16640
|
status_type: string;
|
|
16641
16641
|
}, {
|
|
16642
16642
|
status: Status;
|
|
@@ -16762,8 +16762,8 @@ declare const MasterVehicleOwnershipTypeSchema: z.ZodObject<{
|
|
|
16762
16762
|
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
16763
16763
|
}, "strip", z.ZodTypeAny, {
|
|
16764
16764
|
status: Status;
|
|
16765
|
-
description: string;
|
|
16766
16765
|
organisation_id: string;
|
|
16766
|
+
description: string;
|
|
16767
16767
|
ownership_type: string;
|
|
16768
16768
|
}, {
|
|
16769
16769
|
status: Status;
|
|
@@ -16889,8 +16889,8 @@ declare const MasterVehicleAssociatedToSchema: z.ZodObject<{
|
|
|
16889
16889
|
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
16890
16890
|
}, "strip", z.ZodTypeAny, {
|
|
16891
16891
|
status: Status;
|
|
16892
|
-
description: string;
|
|
16893
16892
|
organisation_id: string;
|
|
16893
|
+
description: string;
|
|
16894
16894
|
associated_to: string;
|
|
16895
16895
|
}, {
|
|
16896
16896
|
status: Status;
|
|
@@ -17430,9 +17430,9 @@ declare const FleetInspectionScheduleSchema: z.ZodObject<{
|
|
|
17430
17430
|
time_zone_id: z.ZodEffects<z.ZodString, string, string>;
|
|
17431
17431
|
}, "strip", z.ZodTypeAny, {
|
|
17432
17432
|
status: Status;
|
|
17433
|
-
time_zone_id: string;
|
|
17434
17433
|
organisation_id: string;
|
|
17435
17434
|
user_id: string;
|
|
17435
|
+
time_zone_id: string;
|
|
17436
17436
|
vehicle_ids: string[];
|
|
17437
17437
|
inspection_schedule_name: string;
|
|
17438
17438
|
inspection_schedule_description: string;
|
|
@@ -17440,9 +17440,9 @@ declare const FleetInspectionScheduleSchema: z.ZodObject<{
|
|
|
17440
17440
|
inspection_schedule_due_date: string;
|
|
17441
17441
|
}, {
|
|
17442
17442
|
status: Status;
|
|
17443
|
-
time_zone_id: string;
|
|
17444
17443
|
organisation_id: string;
|
|
17445
17444
|
user_id: string;
|
|
17445
|
+
time_zone_id: string;
|
|
17446
17446
|
inspection_schedule_name: string;
|
|
17447
17447
|
inspection_schedule_start_date: string;
|
|
17448
17448
|
inspection_schedule_due_date: string;
|
|
@@ -17599,9 +17599,9 @@ declare const FleetServiceScheduleSchema: z.ZodObject<{
|
|
|
17599
17599
|
time_zone_id: z.ZodEffects<z.ZodString, string, string>;
|
|
17600
17600
|
}, "strip", z.ZodTypeAny, {
|
|
17601
17601
|
status: Status;
|
|
17602
|
-
time_zone_id: string;
|
|
17603
17602
|
organisation_id: string;
|
|
17604
17603
|
user_id: string;
|
|
17604
|
+
time_zone_id: string;
|
|
17605
17605
|
vehicle_ids: string[];
|
|
17606
17606
|
service_schedule_name: string;
|
|
17607
17607
|
service_schedule_description: string;
|
|
@@ -17609,9 +17609,9 @@ declare const FleetServiceScheduleSchema: z.ZodObject<{
|
|
|
17609
17609
|
service_schedule_due_date: string;
|
|
17610
17610
|
}, {
|
|
17611
17611
|
status: Status;
|
|
17612
|
-
time_zone_id: string;
|
|
17613
17612
|
organisation_id: string;
|
|
17614
17613
|
user_id: string;
|
|
17614
|
+
time_zone_id: string;
|
|
17615
17615
|
service_schedule_name: string;
|
|
17616
17616
|
service_schedule_start_date: string;
|
|
17617
17617
|
service_schedule_due_date: string;
|
|
@@ -17985,16 +17985,16 @@ declare const GPSTrackHistoryShareLinkSchema: z.ZodObject<{
|
|
|
17985
17985
|
time_zone_id: z.ZodEffects<z.ZodString, string, string>;
|
|
17986
17986
|
}, "strip", z.ZodTypeAny, {
|
|
17987
17987
|
status: Status;
|
|
17988
|
-
time_zone_id: string;
|
|
17989
17988
|
organisation_id: string;
|
|
17989
|
+
time_zone_id: string;
|
|
17990
17990
|
vehicle_id: string;
|
|
17991
17991
|
link_status: TrackHistoryLinkStatus;
|
|
17992
17992
|
from_date_time: string;
|
|
17993
17993
|
to_date_time: string;
|
|
17994
17994
|
}, {
|
|
17995
17995
|
status: Status;
|
|
17996
|
-
time_zone_id: string;
|
|
17997
17996
|
organisation_id: string;
|
|
17997
|
+
time_zone_id: string;
|
|
17998
17998
|
vehicle_id: string;
|
|
17999
17999
|
link_status: TrackHistoryLinkStatus;
|
|
18000
18000
|
from_date_time: string;
|
|
@@ -19089,6 +19089,8 @@ declare const MasterVehicleFileSchema: z.ZodObject<{
|
|
|
19089
19089
|
vehicle_id: z.ZodEffects<z.ZodString, string, string>;
|
|
19090
19090
|
}, "strip", z.ZodTypeAny, {
|
|
19091
19091
|
status: Status;
|
|
19092
|
+
organisation_id: string;
|
|
19093
|
+
user_id: string;
|
|
19092
19094
|
usage_type: string;
|
|
19093
19095
|
file_type: FileType;
|
|
19094
19096
|
file_url: string;
|
|
@@ -19097,15 +19099,13 @@ declare const MasterVehicleFileSchema: z.ZodObject<{
|
|
|
19097
19099
|
file_description: string;
|
|
19098
19100
|
file_size: number;
|
|
19099
19101
|
file_metadata: Record<string, any>;
|
|
19100
|
-
organisation_id: string;
|
|
19101
|
-
user_id: string;
|
|
19102
19102
|
vehicle_id: string;
|
|
19103
19103
|
}, {
|
|
19104
19104
|
status: Status;
|
|
19105
|
-
usage_type: string;
|
|
19106
|
-
file_type: FileType;
|
|
19107
19105
|
organisation_id: string;
|
|
19108
19106
|
user_id: string;
|
|
19107
|
+
usage_type: string;
|
|
19108
|
+
file_type: FileType;
|
|
19109
19109
|
vehicle_id: string;
|
|
19110
19110
|
file_url?: string | undefined;
|
|
19111
19111
|
file_key?: string | undefined;
|
|
@@ -19184,6 +19184,8 @@ declare const VehicleSchema: z.ZodObject<{
|
|
|
19184
19184
|
vehicle_id: z.ZodEffects<z.ZodString, string, string>;
|
|
19185
19185
|
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
19186
19186
|
status: Status;
|
|
19187
|
+
organisation_id: string;
|
|
19188
|
+
user_id: string;
|
|
19187
19189
|
usage_type: string;
|
|
19188
19190
|
file_type: FileType;
|
|
19189
19191
|
file_url: string;
|
|
@@ -19192,15 +19194,13 @@ declare const VehicleSchema: z.ZodObject<{
|
|
|
19192
19194
|
file_description: string;
|
|
19193
19195
|
file_size: number;
|
|
19194
19196
|
file_metadata: Record<string, any>;
|
|
19195
|
-
organisation_id: string;
|
|
19196
|
-
user_id: string;
|
|
19197
19197
|
vehicle_id: string;
|
|
19198
19198
|
}, {
|
|
19199
19199
|
status: Status;
|
|
19200
|
-
usage_type: string;
|
|
19201
|
-
file_type: FileType;
|
|
19202
19200
|
organisation_id: string;
|
|
19203
19201
|
user_id: string;
|
|
19202
|
+
usage_type: string;
|
|
19203
|
+
file_type: FileType;
|
|
19204
19204
|
vehicle_id: string;
|
|
19205
19205
|
file_url?: string | undefined;
|
|
19206
19206
|
file_key?: string | undefined;
|
|
@@ -19211,14 +19211,14 @@ declare const VehicleSchema: z.ZodObject<{
|
|
|
19211
19211
|
}>, "many">>>;
|
|
19212
19212
|
}, "strip", z.ZodTypeAny, {
|
|
19213
19213
|
status: Status;
|
|
19214
|
+
organisation_id: string;
|
|
19215
|
+
user_id: string;
|
|
19214
19216
|
time_zone_id: string;
|
|
19215
19217
|
country_id: string;
|
|
19216
|
-
organisation_id: string;
|
|
19217
19218
|
organisation_sub_company_id: string;
|
|
19218
19219
|
organisation_branch_id: string;
|
|
19219
19220
|
organisation_color_id: string;
|
|
19220
19221
|
organisation_tag_id: string;
|
|
19221
|
-
user_id: string;
|
|
19222
19222
|
vehicle_number: string;
|
|
19223
19223
|
odometer_reading: number;
|
|
19224
19224
|
vehicle_fuel_type_id: string;
|
|
@@ -19250,6 +19250,8 @@ declare const VehicleSchema: z.ZodObject<{
|
|
|
19250
19250
|
standing_passenger_capacity: number;
|
|
19251
19251
|
MasterVehicleFileSchema: {
|
|
19252
19252
|
status: Status;
|
|
19253
|
+
organisation_id: string;
|
|
19254
|
+
user_id: string;
|
|
19253
19255
|
usage_type: string;
|
|
19254
19256
|
file_type: FileType;
|
|
19255
19257
|
file_url: string;
|
|
@@ -19258,20 +19260,18 @@ declare const VehicleSchema: z.ZodObject<{
|
|
|
19258
19260
|
file_description: string;
|
|
19259
19261
|
file_size: number;
|
|
19260
19262
|
file_metadata: Record<string, any>;
|
|
19261
|
-
organisation_id: string;
|
|
19262
|
-
user_id: string;
|
|
19263
19263
|
vehicle_id: string;
|
|
19264
19264
|
}[];
|
|
19265
19265
|
}, {
|
|
19266
19266
|
status: Status;
|
|
19267
|
+
organisation_id: string;
|
|
19268
|
+
user_id: string;
|
|
19267
19269
|
time_zone_id: string;
|
|
19268
19270
|
country_id: string;
|
|
19269
|
-
organisation_id: string;
|
|
19270
19271
|
organisation_sub_company_id: string;
|
|
19271
19272
|
organisation_branch_id: string;
|
|
19272
19273
|
organisation_color_id: string;
|
|
19273
19274
|
organisation_tag_id: string;
|
|
19274
|
-
user_id: string;
|
|
19275
19275
|
vehicle_number: string;
|
|
19276
19276
|
vehicle_fuel_type_id: string;
|
|
19277
19277
|
vehicle_fuel_unit_id: string;
|
|
@@ -19303,10 +19303,10 @@ declare const VehicleSchema: z.ZodObject<{
|
|
|
19303
19303
|
standing_passenger_capacity?: unknown;
|
|
19304
19304
|
MasterVehicleFileSchema?: {
|
|
19305
19305
|
status: Status;
|
|
19306
|
-
usage_type: string;
|
|
19307
|
-
file_type: FileType;
|
|
19308
19306
|
organisation_id: string;
|
|
19309
19307
|
user_id: string;
|
|
19308
|
+
usage_type: string;
|
|
19309
|
+
file_type: FileType;
|
|
19310
19310
|
vehicle_id: string;
|
|
19311
19311
|
file_url?: string | undefined;
|
|
19312
19312
|
file_key?: string | undefined;
|
|
@@ -19840,11 +19840,11 @@ declare const VehicleQuerySchema: z.ZodObject<{
|
|
|
19840
19840
|
date_format_id: string;
|
|
19841
19841
|
time_zone_id: string;
|
|
19842
19842
|
organisation_ids: string[];
|
|
19843
|
+
user_ids: string[];
|
|
19843
19844
|
organisation_sub_company_ids: string[];
|
|
19844
19845
|
organisation_branch_ids: string[];
|
|
19845
19846
|
organisation_color_ids: string[];
|
|
19846
19847
|
organisation_tag_ids: string[];
|
|
19847
|
-
user_ids: string[];
|
|
19848
19848
|
vehicle_ids: string[];
|
|
19849
19849
|
driver_ids: string[];
|
|
19850
19850
|
vehicle_fuel_type_ids: string[];
|
|
@@ -19887,11 +19887,11 @@ declare const VehicleQuerySchema: z.ZodObject<{
|
|
|
19887
19887
|
}[] | undefined;
|
|
19888
19888
|
include_master_data?: YesNo | undefined;
|
|
19889
19889
|
organisation_ids?: string[] | undefined;
|
|
19890
|
+
user_ids?: string[] | undefined;
|
|
19890
19891
|
organisation_sub_company_ids?: string[] | undefined;
|
|
19891
19892
|
organisation_branch_ids?: string[] | undefined;
|
|
19892
19893
|
organisation_color_ids?: string[] | undefined;
|
|
19893
19894
|
organisation_tag_ids?: string[] | undefined;
|
|
19894
|
-
user_ids?: string[] | undefined;
|
|
19895
19895
|
vehicle_ids?: string[] | undefined;
|
|
19896
19896
|
driver_ids?: string[] | undefined;
|
|
19897
19897
|
vehicle_fuel_type_ids?: string[] | undefined;
|
|
@@ -20028,6 +20028,7 @@ declare const VehicleGPSQuerySchema: z.ZodObject<{
|
|
|
20028
20028
|
vehicle_id: z.ZodEffects<z.ZodString, string, string>;
|
|
20029
20029
|
}, "strip", z.ZodTypeAny, {
|
|
20030
20030
|
status: Status[];
|
|
20031
|
+
organisation_id: string;
|
|
20031
20032
|
search: string;
|
|
20032
20033
|
paging: PAGING;
|
|
20033
20034
|
page_count: number;
|
|
@@ -20048,12 +20049,11 @@ declare const VehicleGPSQuerySchema: z.ZodObject<{
|
|
|
20048
20049
|
include_master_data: YesNo;
|
|
20049
20050
|
date_format_id: string;
|
|
20050
20051
|
time_zone_id: string;
|
|
20051
|
-
organisation_id: string;
|
|
20052
20052
|
vehicle_id: string;
|
|
20053
20053
|
}, {
|
|
20054
|
+
organisation_id: string;
|
|
20054
20055
|
date_format_id: string;
|
|
20055
20056
|
time_zone_id: string;
|
|
20056
|
-
organisation_id: string;
|
|
20057
20057
|
vehicle_id: string;
|
|
20058
20058
|
status?: Status[] | undefined;
|
|
20059
20059
|
search?: string | undefined;
|
|
@@ -20658,6 +20658,8 @@ declare const TicketFileSchema: z.ZodObject<{
|
|
|
20658
20658
|
ticket_id: z.ZodEffects<z.ZodString, string, string>;
|
|
20659
20659
|
}, "strip", z.ZodTypeAny, {
|
|
20660
20660
|
status: Status;
|
|
20661
|
+
organisation_id: string;
|
|
20662
|
+
user_id: string;
|
|
20661
20663
|
usage_type: string;
|
|
20662
20664
|
file_type: FileType;
|
|
20663
20665
|
file_url: string;
|
|
@@ -20666,15 +20668,13 @@ declare const TicketFileSchema: z.ZodObject<{
|
|
|
20666
20668
|
file_description: string;
|
|
20667
20669
|
file_size: number;
|
|
20668
20670
|
file_metadata: Record<string, any>;
|
|
20669
|
-
organisation_id: string;
|
|
20670
|
-
user_id: string;
|
|
20671
20671
|
ticket_id: string;
|
|
20672
20672
|
}, {
|
|
20673
20673
|
status: Status;
|
|
20674
|
-
usage_type: string;
|
|
20675
|
-
file_type: FileType;
|
|
20676
20674
|
organisation_id: string;
|
|
20677
20675
|
user_id: string;
|
|
20676
|
+
usage_type: string;
|
|
20677
|
+
file_type: FileType;
|
|
20678
20678
|
ticket_id: string;
|
|
20679
20679
|
file_url?: string | undefined;
|
|
20680
20680
|
file_key?: string | undefined;
|
|
@@ -20706,6 +20706,8 @@ declare const TicketSchema: z.ZodObject<{
|
|
|
20706
20706
|
ticket_id: z.ZodEffects<z.ZodString, string, string>;
|
|
20707
20707
|
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
20708
20708
|
status: Status;
|
|
20709
|
+
organisation_id: string;
|
|
20710
|
+
user_id: string;
|
|
20709
20711
|
usage_type: string;
|
|
20710
20712
|
file_type: FileType;
|
|
20711
20713
|
file_url: string;
|
|
@@ -20714,15 +20716,13 @@ declare const TicketSchema: z.ZodObject<{
|
|
|
20714
20716
|
file_description: string;
|
|
20715
20717
|
file_size: number;
|
|
20716
20718
|
file_metadata: Record<string, any>;
|
|
20717
|
-
organisation_id: string;
|
|
20718
|
-
user_id: string;
|
|
20719
20719
|
ticket_id: string;
|
|
20720
20720
|
}, {
|
|
20721
20721
|
status: Status;
|
|
20722
|
-
usage_type: string;
|
|
20723
|
-
file_type: FileType;
|
|
20724
20722
|
organisation_id: string;
|
|
20725
20723
|
user_id: string;
|
|
20724
|
+
usage_type: string;
|
|
20725
|
+
file_type: FileType;
|
|
20726
20726
|
ticket_id: string;
|
|
20727
20727
|
file_url?: string | undefined;
|
|
20728
20728
|
file_key?: string | undefined;
|
|
@@ -20733,12 +20733,14 @@ declare const TicketSchema: z.ZodObject<{
|
|
|
20733
20733
|
}>, "many">>>;
|
|
20734
20734
|
}, "strip", z.ZodTypeAny, {
|
|
20735
20735
|
status: Status;
|
|
20736
|
-
description: string;
|
|
20737
20736
|
organisation_id: string;
|
|
20738
20737
|
user_id: string;
|
|
20738
|
+
description: string;
|
|
20739
20739
|
subject: string;
|
|
20740
20740
|
TicketFileSchema: {
|
|
20741
20741
|
status: Status;
|
|
20742
|
+
organisation_id: string;
|
|
20743
|
+
user_id: string;
|
|
20742
20744
|
usage_type: string;
|
|
20743
20745
|
file_type: FileType;
|
|
20744
20746
|
file_url: string;
|
|
@@ -20747,8 +20749,6 @@ declare const TicketSchema: z.ZodObject<{
|
|
|
20747
20749
|
file_description: string;
|
|
20748
20750
|
file_size: number;
|
|
20749
20751
|
file_metadata: Record<string, any>;
|
|
20750
|
-
organisation_id: string;
|
|
20751
|
-
user_id: string;
|
|
20752
20752
|
ticket_id: string;
|
|
20753
20753
|
}[];
|
|
20754
20754
|
}, {
|
|
@@ -20759,10 +20759,10 @@ declare const TicketSchema: z.ZodObject<{
|
|
|
20759
20759
|
description?: string | undefined;
|
|
20760
20760
|
TicketFileSchema?: {
|
|
20761
20761
|
status: Status;
|
|
20762
|
-
usage_type: string;
|
|
20763
|
-
file_type: FileType;
|
|
20764
20762
|
organisation_id: string;
|
|
20765
20763
|
user_id: string;
|
|
20764
|
+
usage_type: string;
|
|
20765
|
+
file_type: FileType;
|
|
20766
20766
|
ticket_id: string;
|
|
20767
20767
|
file_url?: string | undefined;
|
|
20768
20768
|
file_key?: string | undefined;
|
|
@@ -20795,6 +20795,8 @@ declare const TicketVerifySchema: z.ZodObject<{
|
|
|
20795
20795
|
ticket_id: z.ZodEffects<z.ZodString, string, string>;
|
|
20796
20796
|
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
20797
20797
|
status: Status;
|
|
20798
|
+
organisation_id: string;
|
|
20799
|
+
user_id: string;
|
|
20798
20800
|
usage_type: string;
|
|
20799
20801
|
file_type: FileType;
|
|
20800
20802
|
file_url: string;
|
|
@@ -20803,15 +20805,13 @@ declare const TicketVerifySchema: z.ZodObject<{
|
|
|
20803
20805
|
file_description: string;
|
|
20804
20806
|
file_size: number;
|
|
20805
20807
|
file_metadata: Record<string, any>;
|
|
20806
|
-
organisation_id: string;
|
|
20807
|
-
user_id: string;
|
|
20808
20808
|
ticket_id: string;
|
|
20809
20809
|
}, {
|
|
20810
20810
|
status: Status;
|
|
20811
|
-
usage_type: string;
|
|
20812
|
-
file_type: FileType;
|
|
20813
20811
|
organisation_id: string;
|
|
20814
20812
|
user_id: string;
|
|
20813
|
+
usage_type: string;
|
|
20814
|
+
file_type: FileType;
|
|
20815
20815
|
ticket_id: string;
|
|
20816
20816
|
file_url?: string | undefined;
|
|
20817
20817
|
file_key?: string | undefined;
|
|
@@ -20828,6 +20828,8 @@ declare const TicketVerifySchema: z.ZodObject<{
|
|
|
20828
20828
|
ticket_status: TicketStatus;
|
|
20829
20829
|
TicketFileSchema: {
|
|
20830
20830
|
status: Status;
|
|
20831
|
+
organisation_id: string;
|
|
20832
|
+
user_id: string;
|
|
20831
20833
|
usage_type: string;
|
|
20832
20834
|
file_type: FileType;
|
|
20833
20835
|
file_url: string;
|
|
@@ -20836,8 +20838,6 @@ declare const TicketVerifySchema: z.ZodObject<{
|
|
|
20836
20838
|
file_description: string;
|
|
20837
20839
|
file_size: number;
|
|
20838
20840
|
file_metadata: Record<string, any>;
|
|
20839
|
-
organisation_id: string;
|
|
20840
|
-
user_id: string;
|
|
20841
20841
|
ticket_id: string;
|
|
20842
20842
|
}[];
|
|
20843
20843
|
}, {
|
|
@@ -20848,10 +20848,10 @@ declare const TicketVerifySchema: z.ZodObject<{
|
|
|
20848
20848
|
admin_message?: string | undefined;
|
|
20849
20849
|
TicketFileSchema?: {
|
|
20850
20850
|
status: Status;
|
|
20851
|
-
usage_type: string;
|
|
20852
|
-
file_type: FileType;
|
|
20853
20851
|
organisation_id: string;
|
|
20854
20852
|
user_id: string;
|
|
20853
|
+
usage_type: string;
|
|
20854
|
+
file_type: FileType;
|
|
20855
20855
|
ticket_id: string;
|
|
20856
20856
|
file_url?: string | undefined;
|
|
20857
20857
|
file_key?: string | undefined;
|
|
@@ -21025,6 +21025,7 @@ declare const InvoiceFileSchema: z.ZodObject<{
|
|
|
21025
21025
|
invoice_id: z.ZodEffects<z.ZodString, string, string>;
|
|
21026
21026
|
}, "strip", z.ZodTypeAny, {
|
|
21027
21027
|
status: Status;
|
|
21028
|
+
organisation_id: string;
|
|
21028
21029
|
usage_type: string;
|
|
21029
21030
|
file_type: FileType;
|
|
21030
21031
|
file_url: string;
|
|
@@ -21033,13 +21034,12 @@ declare const InvoiceFileSchema: z.ZodObject<{
|
|
|
21033
21034
|
file_description: string;
|
|
21034
21035
|
file_size: number;
|
|
21035
21036
|
file_metadata: Record<string, any>;
|
|
21036
|
-
organisation_id: string;
|
|
21037
21037
|
invoice_id: string;
|
|
21038
21038
|
}, {
|
|
21039
21039
|
status: Status;
|
|
21040
|
+
organisation_id: string;
|
|
21040
21041
|
usage_type: string;
|
|
21041
21042
|
file_type: FileType;
|
|
21042
|
-
organisation_id: string;
|
|
21043
21043
|
invoice_id: string;
|
|
21044
21044
|
file_url?: string | undefined;
|
|
21045
21045
|
file_key?: string | undefined;
|
|
@@ -21076,6 +21076,7 @@ declare const InvoiceSchema: z.ZodObject<{
|
|
|
21076
21076
|
invoice_id: z.ZodEffects<z.ZodString, string, string>;
|
|
21077
21077
|
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
21078
21078
|
status: Status;
|
|
21079
|
+
organisation_id: string;
|
|
21079
21080
|
usage_type: string;
|
|
21080
21081
|
file_type: FileType;
|
|
21081
21082
|
file_url: string;
|
|
@@ -21084,13 +21085,12 @@ declare const InvoiceSchema: z.ZodObject<{
|
|
|
21084
21085
|
file_description: string;
|
|
21085
21086
|
file_size: number;
|
|
21086
21087
|
file_metadata: Record<string, any>;
|
|
21087
|
-
organisation_id: string;
|
|
21088
21088
|
invoice_id: string;
|
|
21089
21089
|
}, {
|
|
21090
21090
|
status: Status;
|
|
21091
|
+
organisation_id: string;
|
|
21091
21092
|
usage_type: string;
|
|
21092
21093
|
file_type: FileType;
|
|
21093
|
-
organisation_id: string;
|
|
21094
21094
|
invoice_id: string;
|
|
21095
21095
|
file_url?: string | undefined;
|
|
21096
21096
|
file_key?: string | undefined;
|
|
@@ -21102,9 +21102,9 @@ declare const InvoiceSchema: z.ZodObject<{
|
|
|
21102
21102
|
time_zone_id: z.ZodEffects<z.ZodString, string, string>;
|
|
21103
21103
|
}, "strip", z.ZodTypeAny, {
|
|
21104
21104
|
status: Status;
|
|
21105
|
+
organisation_id: string;
|
|
21105
21106
|
time_zone_id: string;
|
|
21106
21107
|
currency_id: string;
|
|
21107
|
-
organisation_id: string;
|
|
21108
21108
|
invoice_number: string;
|
|
21109
21109
|
invoice_month_year: string;
|
|
21110
21110
|
invoice_amount: number;
|
|
@@ -21115,6 +21115,7 @@ declare const InvoiceSchema: z.ZodObject<{
|
|
|
21115
21115
|
invoice_status: InvoiceStatus;
|
|
21116
21116
|
InvoiceFileSchema: {
|
|
21117
21117
|
status: Status;
|
|
21118
|
+
organisation_id: string;
|
|
21118
21119
|
usage_type: string;
|
|
21119
21120
|
file_type: FileType;
|
|
21120
21121
|
file_url: string;
|
|
@@ -21123,14 +21124,13 @@ declare const InvoiceSchema: z.ZodObject<{
|
|
|
21123
21124
|
file_description: string;
|
|
21124
21125
|
file_size: number;
|
|
21125
21126
|
file_metadata: Record<string, any>;
|
|
21126
|
-
organisation_id: string;
|
|
21127
21127
|
invoice_id: string;
|
|
21128
21128
|
}[];
|
|
21129
21129
|
}, {
|
|
21130
21130
|
status: Status;
|
|
21131
|
+
organisation_id: string;
|
|
21131
21132
|
time_zone_id: string;
|
|
21132
21133
|
currency_id: string;
|
|
21133
|
-
organisation_id: string;
|
|
21134
21134
|
invoice_number: string;
|
|
21135
21135
|
invoice_month_year: string;
|
|
21136
21136
|
invoice_generate_date: string;
|
|
@@ -21141,9 +21141,9 @@ declare const InvoiceSchema: z.ZodObject<{
|
|
|
21141
21141
|
payment_date?: string | undefined;
|
|
21142
21142
|
InvoiceFileSchema?: {
|
|
21143
21143
|
status: Status;
|
|
21144
|
+
organisation_id: string;
|
|
21144
21145
|
usage_type: string;
|
|
21145
21146
|
file_type: FileType;
|
|
21146
|
-
organisation_id: string;
|
|
21147
21147
|
invoice_id: string;
|
|
21148
21148
|
file_url?: string | undefined;
|
|
21149
21149
|
file_key?: string | undefined;
|
|
@@ -21213,8 +21213,8 @@ declare const InvoiceQuerySchema: z.ZodObject<{
|
|
|
21213
21213
|
include_master_data: YesNo;
|
|
21214
21214
|
date_format_id: string;
|
|
21215
21215
|
time_zone_id: string;
|
|
21216
|
-
currency_ids: string[];
|
|
21217
21216
|
organisation_ids: string[];
|
|
21217
|
+
currency_ids: string[];
|
|
21218
21218
|
from_date: string;
|
|
21219
21219
|
to_date: string;
|
|
21220
21220
|
invoice_status: InvoiceStatus[];
|
|
@@ -21243,8 +21243,8 @@ declare const InvoiceQuerySchema: z.ZodObject<{
|
|
|
21243
21243
|
direction: OrderBy;
|
|
21244
21244
|
}[] | undefined;
|
|
21245
21245
|
include_master_data?: YesNo | undefined;
|
|
21246
|
-
currency_ids?: string[] | undefined;
|
|
21247
21246
|
organisation_ids?: string[] | undefined;
|
|
21247
|
+
currency_ids?: string[] | undefined;
|
|
21248
21248
|
invoice_status?: InvoiceStatus[] | undefined;
|
|
21249
21249
|
invoice_ids?: string[] | undefined;
|
|
21250
21250
|
}>;
|
|
@@ -21285,8 +21285,8 @@ declare const MasterVehicleDocumentTypeSchema: z.ZodObject<{
|
|
|
21285
21285
|
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
21286
21286
|
}, "strip", z.ZodTypeAny, {
|
|
21287
21287
|
status: Status;
|
|
21288
|
-
description: string;
|
|
21289
21288
|
organisation_id: string;
|
|
21289
|
+
description: string;
|
|
21290
21290
|
document_type: string;
|
|
21291
21291
|
}, {
|
|
21292
21292
|
status: Status;
|
|
@@ -21502,6 +21502,8 @@ declare const FleetDocumentFileSchema: z.ZodObject<{
|
|
|
21502
21502
|
document_id: z.ZodEffects<z.ZodString, string, string>;
|
|
21503
21503
|
}, "strip", z.ZodTypeAny, {
|
|
21504
21504
|
status: Status;
|
|
21505
|
+
organisation_id: string;
|
|
21506
|
+
user_id: string;
|
|
21505
21507
|
usage_type: string;
|
|
21506
21508
|
file_type: FileType;
|
|
21507
21509
|
file_url: string;
|
|
@@ -21510,15 +21512,13 @@ declare const FleetDocumentFileSchema: z.ZodObject<{
|
|
|
21510
21512
|
file_description: string;
|
|
21511
21513
|
file_size: number;
|
|
21512
21514
|
file_metadata: Record<string, any>;
|
|
21513
|
-
organisation_id: string;
|
|
21514
|
-
user_id: string;
|
|
21515
21515
|
document_id: string;
|
|
21516
21516
|
}, {
|
|
21517
21517
|
status: Status;
|
|
21518
|
-
usage_type: string;
|
|
21519
|
-
file_type: FileType;
|
|
21520
21518
|
organisation_id: string;
|
|
21521
21519
|
user_id: string;
|
|
21520
|
+
usage_type: string;
|
|
21521
|
+
file_type: FileType;
|
|
21522
21522
|
document_id: string;
|
|
21523
21523
|
file_url?: string | undefined;
|
|
21524
21524
|
file_key?: string | undefined;
|
|
@@ -21565,6 +21565,8 @@ declare const FleetDocumentSchema: z.ZodObject<{
|
|
|
21565
21565
|
document_id: z.ZodEffects<z.ZodString, string, string>;
|
|
21566
21566
|
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
21567
21567
|
status: Status;
|
|
21568
|
+
organisation_id: string;
|
|
21569
|
+
user_id: string;
|
|
21568
21570
|
usage_type: string;
|
|
21569
21571
|
file_type: FileType;
|
|
21570
21572
|
file_url: string;
|
|
@@ -21573,15 +21575,13 @@ declare const FleetDocumentSchema: z.ZodObject<{
|
|
|
21573
21575
|
file_description: string;
|
|
21574
21576
|
file_size: number;
|
|
21575
21577
|
file_metadata: Record<string, any>;
|
|
21576
|
-
organisation_id: string;
|
|
21577
|
-
user_id: string;
|
|
21578
21578
|
document_id: string;
|
|
21579
21579
|
}, {
|
|
21580
21580
|
status: Status;
|
|
21581
|
-
usage_type: string;
|
|
21582
|
-
file_type: FileType;
|
|
21583
21581
|
organisation_id: string;
|
|
21584
21582
|
user_id: string;
|
|
21583
|
+
usage_type: string;
|
|
21584
|
+
file_type: FileType;
|
|
21585
21585
|
document_id: string;
|
|
21586
21586
|
file_url?: string | undefined;
|
|
21587
21587
|
file_key?: string | undefined;
|
|
@@ -21592,9 +21592,9 @@ declare const FleetDocumentSchema: z.ZodObject<{
|
|
|
21592
21592
|
}>, "many">>>;
|
|
21593
21593
|
}, "strip", z.ZodTypeAny, {
|
|
21594
21594
|
status: Status;
|
|
21595
|
-
time_zone_id: string;
|
|
21596
21595
|
organisation_id: string;
|
|
21597
21596
|
user_id: string;
|
|
21597
|
+
time_zone_id: string;
|
|
21598
21598
|
vehicle_id: string;
|
|
21599
21599
|
vendor_id: string;
|
|
21600
21600
|
document_type_id: string;
|
|
@@ -21612,6 +21612,8 @@ declare const FleetDocumentSchema: z.ZodObject<{
|
|
|
21612
21612
|
document_notes: string;
|
|
21613
21613
|
FleetDocumentFileSchema: {
|
|
21614
21614
|
status: Status;
|
|
21615
|
+
organisation_id: string;
|
|
21616
|
+
user_id: string;
|
|
21615
21617
|
usage_type: string;
|
|
21616
21618
|
file_type: FileType;
|
|
21617
21619
|
file_url: string;
|
|
@@ -21620,16 +21622,14 @@ declare const FleetDocumentSchema: z.ZodObject<{
|
|
|
21620
21622
|
file_description: string;
|
|
21621
21623
|
file_size: number;
|
|
21622
21624
|
file_metadata: Record<string, any>;
|
|
21623
|
-
organisation_id: string;
|
|
21624
|
-
user_id: string;
|
|
21625
21625
|
document_id: string;
|
|
21626
21626
|
}[];
|
|
21627
21627
|
document_cost?: number | undefined;
|
|
21628
21628
|
}, {
|
|
21629
21629
|
status: Status;
|
|
21630
|
-
time_zone_id: string;
|
|
21631
21630
|
organisation_id: string;
|
|
21632
21631
|
user_id: string;
|
|
21632
|
+
time_zone_id: string;
|
|
21633
21633
|
vehicle_id: string;
|
|
21634
21634
|
vendor_id: string;
|
|
21635
21635
|
document_type_id: string;
|
|
@@ -21648,10 +21648,10 @@ declare const FleetDocumentSchema: z.ZodObject<{
|
|
|
21648
21648
|
document_notes?: string | undefined;
|
|
21649
21649
|
FleetDocumentFileSchema?: {
|
|
21650
21650
|
status: Status;
|
|
21651
|
-
usage_type: string;
|
|
21652
|
-
file_type: FileType;
|
|
21653
21651
|
organisation_id: string;
|
|
21654
21652
|
user_id: string;
|
|
21653
|
+
usage_type: string;
|
|
21654
|
+
file_type: FileType;
|
|
21655
21655
|
document_id: string;
|
|
21656
21656
|
file_url?: string | undefined;
|
|
21657
21657
|
file_key?: string | undefined;
|
|
@@ -22197,14 +22197,14 @@ declare const UserSchema: z.ZodObject<{
|
|
|
22197
22197
|
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
22198
22198
|
}, "strip", z.ZodTypeAny, {
|
|
22199
22199
|
status: Status;
|
|
22200
|
+
organisation_id: string;
|
|
22201
|
+
user_image_url: string;
|
|
22200
22202
|
date_format_id: string;
|
|
22201
22203
|
time_zone_id: string;
|
|
22202
22204
|
user_role_id: string;
|
|
22203
|
-
organisation_id: string;
|
|
22204
22205
|
user_status_id: string;
|
|
22205
22206
|
language_id: string;
|
|
22206
22207
|
organisation_branch_id: string;
|
|
22207
|
-
user_image_url: string;
|
|
22208
22208
|
vehicle_ids: string[];
|
|
22209
22209
|
mobile: string;
|
|
22210
22210
|
email: string;
|
|
@@ -22219,10 +22219,10 @@ declare const UserSchema: z.ZodObject<{
|
|
|
22219
22219
|
is_root_user: YesNo;
|
|
22220
22220
|
}, {
|
|
22221
22221
|
status: Status;
|
|
22222
|
+
organisation_id: string;
|
|
22222
22223
|
date_format_id: string;
|
|
22223
22224
|
time_zone_id: string;
|
|
22224
22225
|
user_role_id: string;
|
|
22225
|
-
organisation_id: string;
|
|
22226
22226
|
user_status_id: string;
|
|
22227
22227
|
language_id: string;
|
|
22228
22228
|
organisation_branch_id: string;
|
|
@@ -22305,13 +22305,13 @@ declare const UserQuerySchema: z.ZodObject<{
|
|
|
22305
22305
|
include_master_data: YesNo;
|
|
22306
22306
|
date_format_id: string;
|
|
22307
22307
|
time_zone_id: string;
|
|
22308
|
-
user_role_ids: string[];
|
|
22309
22308
|
organisation_ids: string[];
|
|
22309
|
+
user_ids: string[];
|
|
22310
|
+
user_role_ids: string[];
|
|
22310
22311
|
user_status_ids: string[];
|
|
22311
22312
|
language_ids: string[];
|
|
22312
22313
|
date_format_ids: string[];
|
|
22313
22314
|
organisation_branch_ids: string[];
|
|
22314
|
-
user_ids: string[];
|
|
22315
22315
|
all_vehicles: YesNo[];
|
|
22316
22316
|
can_login: YesNo[];
|
|
22317
22317
|
is_root_user: YesNo[];
|
|
@@ -22338,13 +22338,13 @@ declare const UserQuerySchema: z.ZodObject<{
|
|
|
22338
22338
|
direction: OrderBy;
|
|
22339
22339
|
}[] | undefined;
|
|
22340
22340
|
include_master_data?: YesNo | undefined;
|
|
22341
|
-
user_role_ids?: string[] | undefined;
|
|
22342
22341
|
organisation_ids?: string[] | undefined;
|
|
22342
|
+
user_ids?: string[] | undefined;
|
|
22343
|
+
user_role_ids?: string[] | undefined;
|
|
22343
22344
|
user_status_ids?: string[] | undefined;
|
|
22344
22345
|
language_ids?: string[] | undefined;
|
|
22345
22346
|
date_format_ids?: string[] | undefined;
|
|
22346
22347
|
organisation_branch_ids?: string[] | undefined;
|
|
22347
|
-
user_ids?: string[] | undefined;
|
|
22348
22348
|
all_vehicles?: YesNo[] | undefined;
|
|
22349
22349
|
can_login?: YesNo[] | undefined;
|
|
22350
22350
|
is_root_user?: YesNo[] | undefined;
|
|
@@ -23087,8 +23087,8 @@ declare const OrganisationCalendarSchema: z.ZodObject<{
|
|
|
23087
23087
|
time_zone_id: z.ZodEffects<z.ZodString, string, string>;
|
|
23088
23088
|
}, "strip", z.ZodTypeAny, {
|
|
23089
23089
|
status: Status;
|
|
23090
|
-
time_zone_id: string;
|
|
23091
23090
|
organisation_id: string;
|
|
23091
|
+
time_zone_id: string;
|
|
23092
23092
|
organisation_branch_id: string;
|
|
23093
23093
|
notes: string;
|
|
23094
23094
|
calendar_date: string;
|
|
@@ -23096,8 +23096,8 @@ declare const OrganisationCalendarSchema: z.ZodObject<{
|
|
|
23096
23096
|
title: string;
|
|
23097
23097
|
}, {
|
|
23098
23098
|
status: Status;
|
|
23099
|
-
time_zone_id: string;
|
|
23100
23099
|
organisation_id: string;
|
|
23100
|
+
time_zone_id: string;
|
|
23101
23101
|
organisation_branch_id: string;
|
|
23102
23102
|
calendar_date: string;
|
|
23103
23103
|
holiday_type: HolidayType;
|
|
@@ -23237,16 +23237,16 @@ declare const OrganisationNoticeBoardSchema: z.ZodObject<{
|
|
|
23237
23237
|
time_zone_id: z.ZodEffects<z.ZodString, string, string>;
|
|
23238
23238
|
}, "strip", z.ZodTypeAny, {
|
|
23239
23239
|
status: Status;
|
|
23240
|
-
time_zone_id: string;
|
|
23241
23240
|
organisation_id: string;
|
|
23241
|
+
time_zone_id: string;
|
|
23242
23242
|
organisation_branch_id: string;
|
|
23243
23243
|
notice_date_time: string;
|
|
23244
23244
|
notice_subject: string;
|
|
23245
23245
|
notice_description: string;
|
|
23246
23246
|
}, {
|
|
23247
23247
|
status: Status;
|
|
23248
|
-
time_zone_id: string;
|
|
23249
23248
|
organisation_id: string;
|
|
23249
|
+
time_zone_id: string;
|
|
23250
23250
|
organisation_branch_id: string;
|
|
23251
23251
|
notice_date_time: string;
|
|
23252
23252
|
notice_subject: string;
|
|
@@ -23366,8 +23366,8 @@ declare const MasterExpenseTypeSchema: z.ZodObject<{
|
|
|
23366
23366
|
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
23367
23367
|
}, "strip", z.ZodTypeAny, {
|
|
23368
23368
|
status: Status;
|
|
23369
|
-
description: string;
|
|
23370
23369
|
organisation_id: string;
|
|
23370
|
+
description: string;
|
|
23371
23371
|
expense_type_name: string;
|
|
23372
23372
|
}, {
|
|
23373
23373
|
status: Status;
|
|
@@ -23495,15 +23495,15 @@ declare const MasterSparePartSubCategorySchema: z.ZodObject<{
|
|
|
23495
23495
|
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
23496
23496
|
}, "strip", z.ZodTypeAny, {
|
|
23497
23497
|
status: Status;
|
|
23498
|
-
sub_category_name: string;
|
|
23499
|
-
description: string;
|
|
23500
23498
|
organisation_id: string;
|
|
23499
|
+
description: string;
|
|
23500
|
+
sub_category_name: string;
|
|
23501
23501
|
sub_category_code: string;
|
|
23502
23502
|
spare_part_category_id: string;
|
|
23503
23503
|
}, {
|
|
23504
23504
|
status: Status;
|
|
23505
|
-
sub_category_name: string;
|
|
23506
23505
|
organisation_id: string;
|
|
23506
|
+
sub_category_name: string;
|
|
23507
23507
|
sub_category_code: string;
|
|
23508
23508
|
spare_part_category_id: string;
|
|
23509
23509
|
description?: string | undefined;
|
|
@@ -23639,14 +23639,14 @@ declare const MasterSparePartCategorySchema: z.ZodObject<{
|
|
|
23639
23639
|
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
23640
23640
|
}, "strip", z.ZodTypeAny, {
|
|
23641
23641
|
status: Status;
|
|
23642
|
-
category_name: string;
|
|
23643
|
-
description: string;
|
|
23644
23642
|
organisation_id: string;
|
|
23643
|
+
description: string;
|
|
23644
|
+
category_name: string;
|
|
23645
23645
|
category_code: string;
|
|
23646
23646
|
}, {
|
|
23647
23647
|
status: Status;
|
|
23648
|
-
category_name: string;
|
|
23649
23648
|
organisation_id: string;
|
|
23649
|
+
category_name: string;
|
|
23650
23650
|
category_code: string;
|
|
23651
23651
|
description?: string | undefined;
|
|
23652
23652
|
}>;
|
|
@@ -23769,8 +23769,8 @@ declare const MasterSparePartUnitSchema: z.ZodObject<{
|
|
|
23769
23769
|
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
23770
23770
|
}, "strip", z.ZodTypeAny, {
|
|
23771
23771
|
status: Status;
|
|
23772
|
-
description: string;
|
|
23773
23772
|
organisation_id: string;
|
|
23773
|
+
description: string;
|
|
23774
23774
|
unit_name: string;
|
|
23775
23775
|
unit_code: string;
|
|
23776
23776
|
}, {
|
|
@@ -23896,8 +23896,8 @@ declare const MasterTripPartyTypeSchema: z.ZodObject<{
|
|
|
23896
23896
|
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
23897
23897
|
}, "strip", z.ZodTypeAny, {
|
|
23898
23898
|
status: Status;
|
|
23899
|
-
description: string;
|
|
23900
23899
|
organisation_id: string;
|
|
23900
|
+
description: string;
|
|
23901
23901
|
party_type: string;
|
|
23902
23902
|
}, {
|
|
23903
23903
|
status: Status;
|
|
@@ -24020,8 +24020,8 @@ declare const MasterTyreGradeSchema: z.ZodObject<{
|
|
|
24020
24020
|
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
24021
24021
|
}, "strip", z.ZodTypeAny, {
|
|
24022
24022
|
status: Status;
|
|
24023
|
-
description: string;
|
|
24024
24023
|
organisation_id: string;
|
|
24024
|
+
description: string;
|
|
24025
24025
|
tyre_grade: string;
|
|
24026
24026
|
}, {
|
|
24027
24027
|
status: Status;
|
|
@@ -24161,8 +24161,8 @@ declare const MasterTyreModelSchema: z.ZodObject<{
|
|
|
24161
24161
|
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
24162
24162
|
}, "strip", z.ZodTypeAny, {
|
|
24163
24163
|
status: Status;
|
|
24164
|
-
description: string;
|
|
24165
24164
|
organisation_id: string;
|
|
24165
|
+
description: string;
|
|
24166
24166
|
tyre_model: string;
|
|
24167
24167
|
warranty_months: number;
|
|
24168
24168
|
tyre_size: string;
|
|
@@ -24313,8 +24313,8 @@ declare const MasterTyreMakeSchema: z.ZodObject<{
|
|
|
24313
24313
|
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
24314
24314
|
}, "strip", z.ZodTypeAny, {
|
|
24315
24315
|
status: Status;
|
|
24316
|
-
description: string;
|
|
24317
24316
|
organisation_id: string;
|
|
24317
|
+
description: string;
|
|
24318
24318
|
tyre_make: string;
|
|
24319
24319
|
}, {
|
|
24320
24320
|
status: Status;
|
|
@@ -24550,8 +24550,8 @@ declare const ExclusiveFeatureAccessSchema: z.ZodObject<{
|
|
|
24550
24550
|
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
24551
24551
|
}, "strip", z.ZodTypeAny, {
|
|
24552
24552
|
status: Status;
|
|
24553
|
-
message: string;
|
|
24554
24553
|
organisation_id: string;
|
|
24554
|
+
message: string;
|
|
24555
24555
|
subject: string;
|
|
24556
24556
|
}, {
|
|
24557
24557
|
status: Status;
|
|
@@ -25080,13 +25080,13 @@ declare const UserOrganisationSchema: z.ZodObject<{
|
|
|
25080
25080
|
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
25081
25081
|
}, "strip", z.ZodTypeAny, {
|
|
25082
25082
|
status: Status;
|
|
25083
|
+
organisation_name: string;
|
|
25084
|
+
organisation_code: string;
|
|
25083
25085
|
date_format_id: string;
|
|
25084
25086
|
time_zone_id: string;
|
|
25085
25087
|
industry_id: string;
|
|
25086
25088
|
currency_id: string;
|
|
25087
25089
|
country_id: string;
|
|
25088
|
-
organisation_name: string;
|
|
25089
|
-
organisation_code: string;
|
|
25090
25090
|
language_id: string;
|
|
25091
25091
|
logo_key: string;
|
|
25092
25092
|
logo_url: string;
|
|
@@ -25126,12 +25126,12 @@ declare const UserOrganisationSchema: z.ZodObject<{
|
|
|
25126
25126
|
volume_unit_id: string;
|
|
25127
25127
|
}, {
|
|
25128
25128
|
status: Status;
|
|
25129
|
+
organisation_name: string;
|
|
25129
25130
|
date_format_id: string;
|
|
25130
25131
|
time_zone_id: string;
|
|
25131
25132
|
industry_id: string;
|
|
25132
25133
|
currency_id: string;
|
|
25133
25134
|
country_id: string;
|
|
25134
|
-
organisation_name: string;
|
|
25135
25135
|
language_id: string;
|
|
25136
25136
|
state_id: string;
|
|
25137
25137
|
fleet_size: FleetSize;
|
|
@@ -25237,10 +25237,10 @@ declare const UserOrganisationQuerySchema: z.ZodObject<{
|
|
|
25237
25237
|
include_master_data: YesNo;
|
|
25238
25238
|
date_format_id: string;
|
|
25239
25239
|
time_zone_id: string;
|
|
25240
|
+
organisation_ids: string[];
|
|
25240
25241
|
industry_ids: string[];
|
|
25241
25242
|
currency_ids: string[];
|
|
25242
25243
|
country_ids: string[];
|
|
25243
|
-
organisation_ids: string[];
|
|
25244
25244
|
language_ids: string[];
|
|
25245
25245
|
date_format_ids: string[];
|
|
25246
25246
|
time_zone_ids: string[];
|
|
@@ -25271,10 +25271,10 @@ declare const UserOrganisationQuerySchema: z.ZodObject<{
|
|
|
25271
25271
|
direction: OrderBy;
|
|
25272
25272
|
}[] | undefined;
|
|
25273
25273
|
include_master_data?: YesNo | undefined;
|
|
25274
|
+
organisation_ids?: string[] | undefined;
|
|
25274
25275
|
industry_ids?: string[] | undefined;
|
|
25275
25276
|
currency_ids?: string[] | undefined;
|
|
25276
25277
|
country_ids?: string[] | undefined;
|
|
25277
|
-
organisation_ids?: string[] | undefined;
|
|
25278
25278
|
language_ids?: string[] | undefined;
|
|
25279
25279
|
date_format_ids?: string[] | undefined;
|
|
25280
25280
|
time_zone_ids?: string[] | undefined;
|