vms-nest-prisma-api-document 197.0.0 → 199.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.
Files changed (89) hide show
  1. package/dist/core/Enums.d.ts +31 -1
  2. package/dist/core/Enums.js +38 -0
  3. package/dist/services/account/bookmark_service.d.ts +11 -11
  4. package/dist/services/account/notification_preferences.service.d.ts +18 -18
  5. package/dist/services/account/report_preferences.service.d.ts +7 -7
  6. package/dist/services/account/ticket_service.d.ts +1 -1
  7. package/dist/services/fleet/bus_mangement/bus_stop.d.ts +1 -1
  8. package/dist/services/fleet/bus_mangement/calender.d.ts +1 -1
  9. package/dist/services/fleet/bus_mangement/master_route.d.ts +1 -1
  10. package/dist/services/fleet/bus_mangement/notice_board.d.ts +1 -1
  11. package/dist/services/fleet/bus_mangement/student.d.ts +1 -1
  12. package/dist/services/fleet/fuel_management/fleet_fuel_daily_summary_service.d.ts +17 -17
  13. package/dist/services/fleet/fuel_management/fleet_fuel_refill_service.d.ts +47 -47
  14. package/dist/services/fleet/fuel_management/fleet_fuel_removal_service.d.ts +30 -30
  15. package/dist/services/gps/features/geofence/gps_geofence_service.d.ts +3 -3
  16. package/dist/services/gps/features/geofence/gps_geofence_transaction_service.d.ts +1 -1
  17. package/dist/services/gps/features/geofence/gps_geofence_transaction_summary_service.d.ts +1 -1
  18. package/dist/services/gps/features/geofence/trip_geofence_to_geofence_service.d.ts +1 -1
  19. package/dist/services/gps/features/gps_live_track_share_link_service.d.ts +1 -1
  20. package/dist/services/gps/features/gps_track_history_share_link_service.d.ts +1 -1
  21. package/dist/services/gps/reports/gps_reports_mongo_service.d.ts +46 -46
  22. package/dist/services/main/devices/master_device_service.d.ts +1 -1
  23. package/dist/services/main/drivers/master_driver_service.d.ts +1 -1
  24. package/dist/services/main/sims/master_sim_service.d.ts +1 -1
  25. package/dist/services/main/users/auth_service.d.ts +1 -1
  26. package/dist/services/main/users/user_admin_service.d.ts +3 -3
  27. package/dist/services/main/users/user_organisation_service.d.ts +1 -1
  28. package/dist/services/main/users/user_service.d.ts +1 -1
  29. package/dist/services/main/vehicle/childs/vehicle_odometer_history.d.ts +1 -1
  30. package/dist/services/main/vehicle/master_vehicle_service.d.ts +1 -1
  31. package/dist/services/main/vehicle/master_vehicle_service.js +640 -378
  32. package/dist/services/master/bus/master_class_service.d.ts +1 -1
  33. package/dist/services/master/bus/master_program_service.d.ts +1 -1
  34. package/dist/services/master/bus/master_relationship_service.d.ts +1 -1
  35. package/dist/services/master/bus/master_section_service.d.ts +1 -1
  36. package/dist/services/master/bus/master_semester_service.d.ts +1 -1
  37. package/dist/services/master/bus/master_stream_service.d.ts +1 -1
  38. package/dist/services/master/bus/master_year_service.d.ts +1 -1
  39. package/dist/services/master/device/master_device_manufacturer_service.d.ts +1 -1
  40. package/dist/services/master/device/master_device_model_service.d.ts +1 -1
  41. package/dist/services/master/device/master_device_type_service.d.ts +1 -1
  42. package/dist/services/master/expense/master_expense_name_service.d.ts +6 -6
  43. package/dist/services/master/expense/master_expense_type_service.d.ts +1 -1
  44. package/dist/services/master/expense/master_fuel_company_service.d.ts +1 -1
  45. package/dist/services/master/expense/master_vendor_document_type_service.d.ts +3 -3
  46. package/dist/services/master/expense/master_vendor_type_service.d.ts +1 -1
  47. package/dist/services/master/fleet/master_fleet_incident_severity_service.d.ts +1 -1
  48. package/dist/services/master/fleet/master_fleet_incident_status_service.d.ts +1 -1
  49. package/dist/services/master/fleet/master_fleet_incident_type_service.d.ts +1 -1
  50. package/dist/services/master/fleet/master_fleet_insurance_claim_status_service.d.ts +1 -1
  51. package/dist/services/master/fleet/master_fleet_service_task_service.d.ts +1 -1
  52. package/dist/services/master/main/master_main_country_service.d.ts +1 -1
  53. package/dist/services/master/main/master_main_currency_service.d.ts +1 -1
  54. package/dist/services/master/main/master_main_date_format_service.d.ts +1 -1
  55. package/dist/services/master/main/master_main_industry_service.d.ts +1 -1
  56. package/dist/services/master/main/master_main_landmark_service.d.ts +5 -5
  57. package/dist/services/master/main/master_main_language_service.d.ts +1 -1
  58. package/dist/services/master/main/master_main_state_service.d.ts +1 -1
  59. package/dist/services/master/main/master_main_timezone_service.d.ts +1 -1
  60. package/dist/services/master/main/master_main_unit_distance_service.d.ts +1 -1
  61. package/dist/services/master/main/master_main_unit_mileage_service.d.ts +1 -1
  62. package/dist/services/master/main/master_main_unit_volume_service.d.ts +1 -1
  63. package/dist/services/master/organisation/organisation_branch_service.d.ts +1 -1
  64. package/dist/services/master/organisation/organisation_color_service.d.ts +1 -1
  65. package/dist/services/master/organisation/organisation_group_service.d.ts +1 -1
  66. package/dist/services/master/organisation/organisation_sub_company_service.d.ts +1 -1
  67. package/dist/services/master/organisation/organisation_tag_service.d.ts +1 -1
  68. package/dist/services/master/spare_part/master_spare_part_category_service.d.ts +1 -1
  69. package/dist/services/master/spare_part/master_spare_part_sub_category_service.d.ts +9 -9
  70. package/dist/services/master/spare_part/master_spare_part_unit_service.d.ts +1 -1
  71. package/dist/services/master/trip/master_trip_party_type_service.d.ts +1 -1
  72. package/dist/services/master/tyre/master_tyre_grade_service.d.ts +3 -3
  73. package/dist/services/master/tyre/master_tyre_make_service.d.ts +1 -1
  74. package/dist/services/master/tyre/master_tyre_model_service.d.ts +3 -3
  75. package/dist/services/master/user/master_user_role_service.d.ts +1 -1
  76. package/dist/services/master/user/master_user_status_service.d.ts +1 -1
  77. package/dist/services/master/vehicle/master_vehicle_associated_to_service.d.ts +1 -1
  78. package/dist/services/master/vehicle/master_vehicle_document_type_service.d.ts +1 -1
  79. package/dist/services/master/vehicle/master_vehicle_fuel_removal_reason_service.d.ts +3 -3
  80. package/dist/services/master/vehicle/master_vehicle_fuel_type_service.d.ts +1 -1
  81. package/dist/services/master/vehicle/master_vehicle_fuel_unit_service.d.ts +1 -1
  82. package/dist/services/master/vehicle/master_vehicle_make_service.d.ts +1 -1
  83. package/dist/services/master/vehicle/master_vehicle_model_service.d.ts +1 -1
  84. package/dist/services/master/vehicle/master_vehicle_ownership_type_service.d.ts +1 -1
  85. package/dist/services/master/vehicle/master_vehicle_status_type_service.d.ts +1 -1
  86. package/dist/services/master/vehicle/master_vehicle_sub_model_service.d.ts +1 -1
  87. package/dist/services/master/vehicle/master_vehicle_type_service.d.ts +1 -1
  88. package/dist/{user_organisation_service-ByNU_GlC.d.ts → user_organisation_service-D0C-0xuK.d.ts} +1113 -613
  89. package/package.json +1 -1
@@ -1,4 +1,4 @@
1
- import { Status, PAGING, LoadParents, LoadChild, LoadChildCount, OrderBy, YesNo, DriverType, LoginFrom, FileType, SimStatus, BillingStatus, DeviceStatus, GPSSource, LifeExpiry, PurchaseVehicleType, PurchaseType, FleetSize } from './core/Enums.js';
1
+ import { Status, PAGING, LoadParents, LoadChild, LoadChildCount, OrderBy, YesNo, DriverType, LoginFrom, FileType, SimStatus, BillingStatus, DeviceStatus, GPSSource, LifeExpiry, PurchaseVehicleType, PurchaseType, SteeringType, WheelDriveType, VehicleLifeStatus, LoanInterestType, DocumentValidityStatus, DocumentStatus, FleetSize } from './core/Enums.js';
2
2
  import { FBR, SBR, BaseCommonFile, BR, AWSPresignedUrl } from './core/BaseResponse.js';
3
3
  import { z } from 'zod';
4
4
  import { FilePresignedUrlDTO, BaseQueryDTO } from './zod_utils/zod_base_schema.js';
@@ -1776,7 +1776,6 @@ declare const MasterDriverQuerySchema: z.ZodObject<{
1776
1776
  is_vehicle_assigned: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof YesNo>, "many">>>;
1777
1777
  }, "strip", z.ZodTypeAny, {
1778
1778
  status: Status[];
1779
- vehicle_ids: string[];
1780
1779
  search: string;
1781
1780
  paging: PAGING;
1782
1781
  page_count: number;
@@ -1805,12 +1804,12 @@ declare const MasterDriverQuerySchema: z.ZodObject<{
1805
1804
  can_login: YesNo[];
1806
1805
  driver_type: DriverType[];
1807
1806
  is_vehicle_assigned: YesNo[];
1807
+ vehicle_ids: string[];
1808
1808
  driver_ids: string[];
1809
1809
  }, {
1810
1810
  date_format_id: string;
1811
1811
  time_zone_id: string;
1812
1812
  status?: Status[] | undefined;
1813
- vehicle_ids?: string[] | undefined;
1814
1813
  search?: string | undefined;
1815
1814
  paging?: PAGING | undefined;
1816
1815
  page_count?: unknown;
@@ -1837,6 +1836,7 @@ declare const MasterDriverQuerySchema: z.ZodObject<{
1837
1836
  can_login?: YesNo[] | undefined;
1838
1837
  driver_type?: DriverType[] | undefined;
1839
1838
  is_vehicle_assigned?: YesNo[] | undefined;
1839
+ vehicle_ids?: string[] | undefined;
1840
1840
  driver_ids?: string[] | undefined;
1841
1841
  }>;
1842
1842
  type MasterDriverQueryDTO = z.infer<typeof MasterDriverQuerySchema>;
@@ -1969,7 +1969,7 @@ declare const updateMasterDriverProfile: (id: string, data: MasterDriverProfileD
1969
1969
  declare const getMasterDriverCache: (organisation_id: string) => Promise<FBR<MasterDriver[]>>;
1970
1970
  declare const getMasterDriverCacheSimple: (organisation_id: string) => Promise<FBR<MasterDriver[]>>;
1971
1971
  declare const get_master_driver_presigned_url: (fileName: string) => Promise<BR<AWSPresignedUrl>>;
1972
- declare const get_master_driver_presigned_url_file: (data: FilePresignedUrlDTO) => Promise<BR<AWSPresignedUrl>>;
1972
+ declare const get_master_driver_presigned_url_file$1: (data: FilePresignedUrlDTO) => Promise<BR<AWSPresignedUrl>>;
1973
1973
  declare const create_file: (data: MasterDriverFileDTO) => Promise<SBR>;
1974
1974
  declare const remove_file: (id: string) => Promise<SBR>;
1975
1975
 
@@ -2655,7 +2655,6 @@ declare const MasterDeviceQuerySchema: z.ZodObject<{
2655
2655
  device_gps_source: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof GPSSource>, "many">>>;
2656
2656
  }, "strip", z.ZodTypeAny, {
2657
2657
  status: Status[];
2658
- vehicle_ids: string[];
2659
2658
  search: string;
2660
2659
  paging: PAGING;
2661
2660
  page_count: number;
@@ -2679,6 +2678,7 @@ declare const MasterDeviceQuerySchema: z.ZodObject<{
2679
2678
  organisation_ids: string[];
2680
2679
  country_ids: string[];
2681
2680
  time_zone_ids: string[];
2681
+ vehicle_ids: string[];
2682
2682
  device_manufacturer_ids: string[];
2683
2683
  device_model_ids: string[];
2684
2684
  device_type_ids: string[];
@@ -2690,7 +2690,6 @@ declare const MasterDeviceQuerySchema: z.ZodObject<{
2690
2690
  date_format_id: string;
2691
2691
  time_zone_id: string;
2692
2692
  status?: Status[] | undefined;
2693
- vehicle_ids?: string[] | undefined;
2694
2693
  search?: string | undefined;
2695
2694
  paging?: PAGING | undefined;
2696
2695
  page_count?: unknown;
@@ -2712,6 +2711,7 @@ declare const MasterDeviceQuerySchema: z.ZodObject<{
2712
2711
  organisation_ids?: string[] | undefined;
2713
2712
  country_ids?: string[] | undefined;
2714
2713
  time_zone_ids?: string[] | undefined;
2714
+ vehicle_ids?: string[] | undefined;
2715
2715
  device_manufacturer_ids?: string[] | undefined;
2716
2716
  device_model_ids?: string[] | undefined;
2717
2717
  device_type_ids?: string[] | undefined;
@@ -2774,17 +2774,17 @@ declare const OrganisationGroupSchema: z.ZodObject<{
2774
2774
  vehicle_ids: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
2775
2775
  status: z.ZodType<Status, z.ZodTypeDef, Status>;
2776
2776
  }, "strip", z.ZodTypeAny, {
2777
+ group_name: string;
2777
2778
  status: Status;
2778
2779
  organisation_id: string;
2779
- vehicle_ids: string[];
2780
2780
  description: string;
2781
- group_name: string;
2781
+ vehicle_ids: string[];
2782
2782
  }, {
2783
+ group_name: string;
2783
2784
  status: Status;
2784
2785
  organisation_id: string;
2785
- group_name: string;
2786
- vehicle_ids?: string[] | undefined;
2787
2786
  description?: string | undefined;
2787
+ vehicle_ids?: string[] | undefined;
2788
2788
  }>;
2789
2789
  type OrganisationGroupDTO = z.infer<typeof OrganisationGroupSchema>;
2790
2790
  declare const OrganisationGroupQuerySchema: z.ZodObject<{
@@ -2823,7 +2823,6 @@ declare const OrganisationGroupQuerySchema: z.ZodObject<{
2823
2823
  vehicle_ids: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
2824
2824
  }, "strip", z.ZodTypeAny, {
2825
2825
  status: Status[];
2826
- vehicle_ids: string[];
2827
2826
  search: string;
2828
2827
  paging: PAGING;
2829
2828
  page_count: number;
@@ -2845,12 +2844,12 @@ declare const OrganisationGroupQuerySchema: z.ZodObject<{
2845
2844
  date_format_id: string;
2846
2845
  time_zone_id: string;
2847
2846
  organisation_ids: string[];
2847
+ vehicle_ids: string[];
2848
2848
  organisation_group_ids: string[];
2849
2849
  }, {
2850
2850
  date_format_id: string;
2851
2851
  time_zone_id: string;
2852
2852
  status?: Status[] | undefined;
2853
- vehicle_ids?: string[] | undefined;
2854
2853
  search?: string | undefined;
2855
2854
  paging?: PAGING | undefined;
2856
2855
  page_count?: unknown;
@@ -2870,6 +2869,7 @@ declare const OrganisationGroupQuerySchema: z.ZodObject<{
2870
2869
  }[] | undefined;
2871
2870
  include_master_data?: YesNo | undefined;
2872
2871
  organisation_ids?: string[] | undefined;
2872
+ vehicle_ids?: string[] | undefined;
2873
2873
  organisation_group_ids?: string[] | undefined;
2874
2874
  }>;
2875
2875
  type OrganisationGroupQueryDTO = z.infer<typeof OrganisationGroupQuerySchema>;
@@ -3551,8 +3551,8 @@ declare const MasterVehicleTypeSchema: z.ZodObject<{
3551
3551
  }, "strip", z.ZodTypeAny, {
3552
3552
  status: Status;
3553
3553
  organisation_id: string;
3554
- vehicle_type: string;
3555
3554
  description: string;
3555
+ vehicle_type: string;
3556
3556
  }, {
3557
3557
  status: Status;
3558
3558
  organisation_id: string;
@@ -4033,68 +4033,32 @@ declare const getMasterVehicleFuelUnitCacheChild: (organisation_id: string) => P
4033
4033
  interface MasterVehicle extends Record<string, unknown> {
4034
4034
  vehicle_id: string;
4035
4035
  vehicle_number: string;
4036
- vehicle_name: string;
4036
+ vehicle_name?: string;
4037
+ odometer_reading?: number;
4037
4038
  engine_number?: string;
4038
4039
  chassis_number?: string;
4039
4040
  vehicle_make_year?: number;
4040
- db_instance: string;
4041
- db_group: string;
4042
4041
  is_fleet_active: YesNo;
4043
4042
  is_gps_active: YesNo;
4044
4043
  is_trip_active: YesNo;
4045
- vehicle_front_image_url?: string;
4046
- vehicle_front_image_key?: string;
4047
- vehicle_plate_image_url?: string;
4048
- vehicle_plate_image_key?: string;
4049
- vehicle_full_image_url?: string;
4050
- vehicle_full_image_key?: string;
4051
4044
  status: Status;
4052
4045
  added_date_time: string;
4053
4046
  modified_date_time: string;
4054
- is_driver_assigned: YesNo;
4055
- driver_id?: string;
4056
- MasterDriver?: MasterDriver;
4057
- assign_driver_date?: string;
4058
- AssignRemoveDriverHistory?: AssignRemoveDriverHistory[];
4059
- is_device_installed: YesNo;
4060
- device_gps_source?: GPSSource;
4061
- device_id?: string;
4062
- MasterDevice?: MasterDevice;
4063
- assign_device_date?: string;
4064
- AssignRemoveDeviceHistory?: AssignRemoveDeviceHistory[];
4065
- country_id?: string;
4066
- MasterMainCountry?: MasterMainCountry;
4067
- time_zone_id?: string;
4068
- MasterMainTimeZone?: MasterMainTimeZone;
4069
- odometer_reading?: number;
4070
- odometer_last_change_date?: string;
4071
- vehicle_details_body_id?: string;
4072
- VehicleDetailBody?: VehicleDetailBody;
4073
- vehicle_details_life_cycle_id?: string;
4074
- VehicleDetailLifeCycle?: VehicleDetailLifeCycle;
4075
- vehicle_details_purchase_id?: string;
4076
- VehicleDetailPurchase?: VehicleDetailPurchase;
4077
- vehicle_details_gps_id?: string;
4078
- VehicleDetailGPS?: VehicleDetailGPS;
4079
- vehicle_details_trip_id?: string;
4080
- VehicleDetailTrip?: VehicleDetailTrip;
4081
- organisation_id: string;
4082
- UserOrganisation?: UserOrganisation;
4083
- organisation_sub_company_id: string;
4047
+ organisation_sub_company_id?: string;
4084
4048
  OrganisationSubCompany?: OrganisationSubCompany;
4085
4049
  sub_company_name?: string;
4086
- organisation_branch_id?: string;
4087
- OrganisationBranch?: OrganisationBranch;
4088
- branch_name?: string;
4089
- branch_city?: string;
4050
+ organisation_tag_id?: string;
4051
+ OrganisationTag?: OrganisationTag;
4052
+ tag_name?: string;
4090
4053
  organisation_color_id?: string;
4091
4054
  OrganisationColor?: OrganisationColor;
4092
4055
  color_name?: string;
4093
4056
  color_code?: string;
4094
- organisation_tag_id?: string;
4095
- OrganisationTag?: OrganisationTag;
4096
- tag_name?: string;
4097
- vehicle_type_id?: string;
4057
+ organisation_group_id?: string;
4058
+ OrganisationGroup?: OrganisationGroup;
4059
+ group_name?: string;
4060
+ group_code?: string;
4061
+ vehicle_type_id: string;
4098
4062
  MasterVehicleType?: MasterVehicleType;
4099
4063
  vehicle_type?: string;
4100
4064
  vehicle_make_id?: string;
@@ -4130,6 +4094,38 @@ interface MasterVehicle extends Record<string, unknown> {
4130
4094
  vehicle_total_fuel_quantity?: number;
4131
4095
  vehicle_tank_1_fuel_quantity?: number;
4132
4096
  vehicle_tank_2_fuel_quantity?: number;
4097
+ is_driver_assigned: YesNo;
4098
+ driver_id?: string;
4099
+ MasterDriver?: MasterDriver;
4100
+ assign_driver_date?: string;
4101
+ AssignRemoveDriverHistory?: AssignRemoveDriverHistory[];
4102
+ is_device_installed: YesNo;
4103
+ device_gps_source?: GPSSource;
4104
+ device_id?: string;
4105
+ MasterDevice?: MasterDevice;
4106
+ assign_device_date?: string;
4107
+ AssignRemoveDeviceHistory?: AssignRemoveDeviceHistory[];
4108
+ country_id?: string;
4109
+ MasterMainCountry?: MasterMainCountry;
4110
+ time_zone_id?: string;
4111
+ MasterMainTimeZone?: MasterMainTimeZone;
4112
+ odometer_last_change_date?: string;
4113
+ vehicle_details_body_id?: string;
4114
+ VehicleDetailBody?: VehicleDetailBody;
4115
+ vehicle_details_life_cycle_id?: string;
4116
+ VehicleDetailLifeCycle?: VehicleDetailLifeCycle;
4117
+ vehicle_details_purchase_id?: string;
4118
+ VehicleDetailPurchase?: VehicleDetailPurchase;
4119
+ vehicle_details_gps_id?: string;
4120
+ VehicleDetailGPS?: VehicleDetailGPS;
4121
+ vehicle_details_trip_id?: string;
4122
+ VehicleDetailTrip?: VehicleDetailTrip;
4123
+ organisation_id: string;
4124
+ UserOrganisation?: UserOrganisation;
4125
+ organisation_branch_id?: string;
4126
+ OrganisationBranch?: OrganisationBranch;
4127
+ branch_name?: string;
4128
+ branch_city?: string;
4133
4129
  Dummy_Driver?: MasterDriver[];
4134
4130
  Dummy_Device?: MasterDevice[];
4135
4131
  Dummy_VehicleDetailBody?: VehicleDetailBody[];
@@ -4195,76 +4191,6 @@ interface MasterVehicleDropdown extends Record<string, unknown> {
4195
4191
  latitude: number;
4196
4192
  longitude: number;
4197
4193
  }
4198
- interface VehicleDetailBody extends Record<string, unknown> {
4199
- vehicle_details_body_id: string;
4200
- vehicle_body_details?: string;
4201
- vehicle_height?: number;
4202
- vehicle_width?: number;
4203
- vehicle_length?: number;
4204
- vehicle_passenger_capacity?: number;
4205
- vehicle_cargo_volume?: number;
4206
- vehicle_maximum_weight_capacity?: number;
4207
- vehicle_total_fuel_quantity?: number;
4208
- vehicle_tank_1_fuel_quantity?: number;
4209
- vehicle_tank_2_fuel_quantity?: number;
4210
- status: Status;
4211
- added_date_time: string;
4212
- modified_date_time: string;
4213
- vehicle_id?: string;
4214
- Vehicle?: MasterVehicle;
4215
- _count?: object;
4216
- }
4217
- interface VehicleDetailLifeCycle extends Record<string, unknown> {
4218
- vehicle_details_life_cycle_id: string;
4219
- service_start_date?: string;
4220
- service_start_odometer_reading?: number;
4221
- service_end_date?: string;
4222
- service_end_odometer_reading?: number;
4223
- life_estimate_max_month_year?: string;
4224
- life_estimate_max_odometer_reading?: number;
4225
- life_expiry?: LifeExpiry;
4226
- life_expiry_message?: string;
4227
- life_expiry_note?: string;
4228
- status: Status;
4229
- added_date_time: string;
4230
- modified_date_time: string;
4231
- vehicle_id?: string;
4232
- Vehicle?: MasterVehicle;
4233
- _count?: object;
4234
- }
4235
- interface VehicleDetailPurchase extends Record<string, unknown> {
4236
- vehicle_details_purchase_id: string;
4237
- purchase_date?: string;
4238
- purchase_notes?: string;
4239
- purchase_vehicle_type?: PurchaseVehicleType;
4240
- purchase_type?: PurchaseType;
4241
- purchase_total_amount?: number;
4242
- loan_amount?: number;
4243
- loan_down_payment?: number;
4244
- loan_interest_rate?: number;
4245
- loan_no_of_installments?: number;
4246
- loan_first_payment_date?: string;
4247
- loan_last_payment_date?: string;
4248
- loan_monthly_emi?: number;
4249
- loan_emi_date?: number;
4250
- lease_start_date?: string;
4251
- lease_end_date?: string;
4252
- lease_security_deposit_amount?: number;
4253
- lease_monthly_emi_amount?: number;
4254
- lease_emi_date?: number;
4255
- warranty_expiration_date?: string;
4256
- warranty_max_odometer_reading?: number;
4257
- warranty_exchange_date?: string;
4258
- status: Status;
4259
- added_date_time: string;
4260
- modified_date_time: string;
4261
- vehicle_id?: string;
4262
- Vehicle?: MasterVehicle;
4263
- purchase_vendor_id?: string;
4264
- loan_lender_id?: string;
4265
- lease_vendor_id?: string;
4266
- _count?: object;
4267
- }
4268
4194
  interface VehicleDetailGPS extends Record<string, unknown> {
4269
4195
  vehicle_details_gps_id: string;
4270
4196
  serial_no?: number;
@@ -4432,97 +4358,242 @@ interface VehicleDetailTrip extends Record<string, unknown> {
4432
4358
  Vehicle?: MasterVehicle;
4433
4359
  _count?: object;
4434
4360
  }
4435
- declare const VehicleSchema: z.ZodObject<{
4436
- organisation_id: z.ZodEffects<z.ZodString, string, string>;
4437
- vehicle_number: z.ZodEffects<z.ZodString, string, string>;
4438
- vehicle_name: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
4439
- odometer_reading: z.ZodEffects<z.ZodDefault<z.ZodOptional<z.ZodNumber>>, number, unknown>;
4440
- engine_number: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
4441
- chassis_number: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
4442
- vehicle_make_year: z.ZodEffects<z.ZodDefault<z.ZodOptional<z.ZodNumber>>, number, unknown>;
4443
- is_fleet_active: z.ZodType<YesNo, z.ZodTypeDef, YesNo>;
4444
- is_gps_active: z.ZodType<YesNo, z.ZodTypeDef, YesNo>;
4445
- is_trip_active: z.ZodType<YesNo, z.ZodTypeDef, YesNo>;
4446
- vehicle_front_image_url: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
4447
- vehicle_front_image_key: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
4448
- vehicle_plate_image_url: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
4449
- vehicle_plate_image_key: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
4450
- vehicle_full_image_url: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
4451
- vehicle_full_image_key: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
4452
- status: z.ZodType<Status, z.ZodTypeDef, Status>;
4453
- organisation_sub_company_id: z.ZodEffects<z.ZodString, string, string>;
4454
- organisation_branch_id: z.ZodEffects<z.ZodString, string, string>;
4455
- organisation_tag_id: z.ZodEffects<z.ZodString, string, string>;
4456
- organisation_color_id: z.ZodEffects<z.ZodString, string, string>;
4457
- organisation_group_ids: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
4458
- vehicle_type_id: z.ZodEffects<z.ZodString, string, string>;
4459
- vehicle_make_id: z.ZodEffects<z.ZodString, string, string>;
4460
- vehicle_model_id: z.ZodEffects<z.ZodString, string, string>;
4461
- vehicle_sub_model_id: z.ZodEffects<z.ZodString, string, string>;
4462
- vehicle_status_type_id: z.ZodEffects<z.ZodString, string, string>;
4463
- vehicle_ownership_type_id: z.ZodEffects<z.ZodString, string, string>;
4464
- vehicle_associated_to_id: z.ZodEffects<z.ZodString, string, string>;
4465
- vehicle_fuel_type_id: z.ZodEffects<z.ZodString, string, string>;
4466
- vehicle_fuel_unit_id: z.ZodEffects<z.ZodString, string, string>;
4467
- secondary_vehicle_fuel_type_id: z.ZodEffects<z.ZodString, string, string>;
4468
- secondary_vehicle_fuel_unit_id: z.ZodEffects<z.ZodString, string, string>;
4469
- vehicle_total_fuel_quantity: z.ZodEffects<z.ZodDefault<z.ZodOptional<z.ZodNumber>>, number, unknown>;
4470
- vehicle_tank_1_fuel_quantity: z.ZodEffects<z.ZodDefault<z.ZodOptional<z.ZodNumber>>, number, unknown>;
4471
- vehicle_tank_2_fuel_quantity: z.ZodEffects<z.ZodDefault<z.ZodOptional<z.ZodNumber>>, number, unknown>;
4472
- }, "strip", z.ZodTypeAny, {
4473
- status: Status;
4474
- organisation_id: string;
4475
- vehicle_number: string;
4476
- organisation_sub_company_id: string;
4477
- organisation_branch_id: string;
4478
- organisation_color_id: string;
4479
- organisation_tag_id: string;
4480
- organisation_group_ids: string[];
4481
- vehicle_sub_model_id: string;
4482
- vehicle_model_id: string;
4483
- vehicle_make_id: string;
4484
- vehicle_status_type_id: string;
4485
- vehicle_ownership_type_id: string;
4486
- vehicle_type_id: string;
4487
- vehicle_fuel_type_id: string;
4488
- vehicle_associated_to_id: string;
4489
- vehicle_fuel_unit_id: string;
4490
- vehicle_name: string;
4491
- engine_number: string;
4492
- chassis_number: string;
4493
- vehicle_make_year: number;
4494
- is_fleet_active: YesNo;
4495
- is_gps_active: YesNo;
4496
- is_trip_active: YesNo;
4497
- vehicle_front_image_url: string;
4498
- vehicle_front_image_key: string;
4499
- vehicle_plate_image_url: string;
4500
- vehicle_plate_image_key: string;
4501
- vehicle_full_image_url: string;
4502
- vehicle_full_image_key: string;
4503
- odometer_reading: number;
4504
- secondary_vehicle_fuel_type_id: string;
4505
- secondary_vehicle_fuel_unit_id: string;
4506
- vehicle_total_fuel_quantity: number;
4507
- vehicle_tank_1_fuel_quantity: number;
4508
- vehicle_tank_2_fuel_quantity: number;
4509
- }, {
4361
+ interface VehicleDetailBody extends Record<string, unknown> {
4362
+ vehicle_details_body_id: string;
4363
+ vehicle_body_details?: string;
4364
+ vehicle_height?: number;
4365
+ vehicle_width?: number;
4366
+ vehicle_length?: number;
4367
+ vehicle_passenger_capacity?: number;
4368
+ vehicle_cargo_volume?: number;
4369
+ vehicle_maximum_weight_capacity?: number;
4510
4370
  status: Status;
4511
- organisation_id: string;
4512
- vehicle_number: string;
4513
- organisation_sub_company_id: string;
4514
- organisation_branch_id: string;
4515
- organisation_color_id: string;
4516
- organisation_tag_id: string;
4517
- vehicle_sub_model_id: string;
4518
- vehicle_model_id: string;
4519
- vehicle_make_id: string;
4520
- vehicle_status_type_id: string;
4521
- vehicle_ownership_type_id: string;
4522
- vehicle_type_id: string;
4371
+ added_date_time: string;
4372
+ modified_date_time: string;
4373
+ vehicle_id?: string;
4374
+ Vehicle?: MasterVehicle;
4375
+ _count?: object;
4376
+ }
4377
+ interface VehicleDetailLifeCycle extends Record<string, unknown> {
4378
+ vehicle_details_life_cycle_id: string;
4379
+ service_start_date?: string;
4380
+ service_start_odometer_reading?: number;
4381
+ service_end_date?: string;
4382
+ service_end_odometer_reading?: number;
4383
+ life_estimate_max_month_year?: string;
4384
+ life_estimate_max_odometer_reading?: number;
4385
+ life_expiry?: LifeExpiry;
4386
+ life_expiry_message?: string;
4387
+ life_expiry_note?: string;
4388
+ status: Status;
4389
+ added_date_time: string;
4390
+ modified_date_time: string;
4391
+ vehicle_id?: string;
4392
+ Vehicle?: MasterVehicle;
4393
+ _count?: object;
4394
+ }
4395
+ interface VehicleDetailPurchase extends Record<string, unknown> {
4396
+ vehicle_details_purchase_id: string;
4397
+ purchase_date?: string;
4398
+ purchase_notes?: string;
4399
+ purchase_vehicle_type?: PurchaseVehicleType;
4400
+ purchase_type?: PurchaseType;
4401
+ purchase_total_amount?: number;
4402
+ loan_amount?: number;
4403
+ loan_down_payment?: number;
4404
+ loan_interest_rate?: number;
4405
+ loan_no_of_installments?: number;
4406
+ loan_first_payment_date?: string;
4407
+ loan_last_payment_date?: string;
4408
+ loan_monthly_emi?: number;
4409
+ loan_emi_date?: number;
4410
+ lease_start_date?: string;
4411
+ lease_end_date?: string;
4412
+ lease_security_deposit_amount?: number;
4413
+ lease_monthly_emi_amount?: number;
4414
+ lease_emi_date?: number;
4415
+ warranty_expiration_date?: string;
4416
+ warranty_max_odometer_reading?: number;
4417
+ warranty_exchange_date?: string;
4418
+ status: Status;
4419
+ added_date_time: string;
4420
+ modified_date_time: string;
4421
+ vehicle_id?: string;
4422
+ Vehicle?: MasterVehicle;
4423
+ purchase_vendor_id?: string;
4424
+ loan_lender_id?: string;
4425
+ lease_vendor_id?: string;
4426
+ _count?: object;
4427
+ }
4428
+ declare const MasterVehicleFileSchema: z.ZodObject<{
4429
+ usage_type: z.ZodEffects<z.ZodString, string, string>;
4430
+ file_type: z.ZodType<FileType, z.ZodTypeDef, FileType>;
4431
+ file_url: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
4432
+ file_key: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
4433
+ file_name: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
4434
+ file_description: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
4435
+ file_size: z.ZodEffects<z.ZodDefault<z.ZodOptional<z.ZodNumber>>, number, unknown>;
4436
+ file_metadata: z.ZodDefault<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
4437
+ status: z.ZodType<Status, z.ZodTypeDef, Status>;
4438
+ } & {
4439
+ organisation_id: z.ZodEffects<z.ZodString, string, string>;
4440
+ vehicle_id: z.ZodEffects<z.ZodString, string, string>;
4441
+ }, "strip", z.ZodTypeAny, {
4442
+ status: Status;
4443
+ organisation_id: string;
4444
+ usage_type: string;
4445
+ file_type: FileType;
4446
+ file_url: string;
4447
+ file_key: string;
4448
+ file_name: string;
4449
+ file_description: string;
4450
+ file_size: number;
4451
+ file_metadata: Record<string, any>;
4452
+ vehicle_id: string;
4453
+ }, {
4454
+ status: Status;
4455
+ organisation_id: string;
4456
+ usage_type: string;
4457
+ file_type: FileType;
4458
+ vehicle_id: string;
4459
+ file_url?: string | undefined;
4460
+ file_key?: string | undefined;
4461
+ file_name?: string | undefined;
4462
+ file_description?: string | undefined;
4463
+ file_size?: unknown;
4464
+ file_metadata?: Record<string, any> | undefined;
4465
+ }>;
4466
+ type MasterVehicleFileDTO = z.infer<typeof MasterVehicleFileSchema>;
4467
+ declare const VehicleSchema: z.ZodObject<{
4468
+ organisation_id: z.ZodEffects<z.ZodString, string, string>;
4469
+ vehicle_number: z.ZodEffects<z.ZodString, string, string>;
4470
+ vehicle_name: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
4471
+ odometer_reading: z.ZodEffects<z.ZodDefault<z.ZodOptional<z.ZodNumber>>, number, unknown>;
4472
+ engine_number: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
4473
+ chassis_number: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
4474
+ vehicle_make_year: z.ZodEffects<z.ZodDefault<z.ZodOptional<z.ZodNumber>>, number, unknown>;
4475
+ is_fleet_active: z.ZodType<YesNo, z.ZodTypeDef, YesNo>;
4476
+ is_gps_active: z.ZodType<YesNo, z.ZodTypeDef, YesNo>;
4477
+ is_trip_active: z.ZodType<YesNo, z.ZodTypeDef, YesNo>;
4478
+ status: z.ZodType<Status, z.ZodTypeDef, Status>;
4479
+ organisation_sub_company_id: z.ZodEffects<z.ZodString, string, string>;
4480
+ organisation_branch_id: z.ZodEffects<z.ZodString, string, string>;
4481
+ organisation_tag_id: z.ZodEffects<z.ZodString, string, string>;
4482
+ organisation_color_id: z.ZodEffects<z.ZodString, string, string>;
4483
+ organisation_group_ids: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
4484
+ vehicle_type_id: z.ZodEffects<z.ZodString, string, string>;
4485
+ vehicle_make_id: z.ZodEffects<z.ZodString, string, string>;
4486
+ vehicle_model_id: z.ZodEffects<z.ZodString, string, string>;
4487
+ vehicle_sub_model_id: z.ZodEffects<z.ZodString, string, string>;
4488
+ vehicle_status_type_id: z.ZodEffects<z.ZodString, string, string>;
4489
+ vehicle_ownership_type_id: z.ZodEffects<z.ZodString, string, string>;
4490
+ vehicle_associated_to_id: z.ZodEffects<z.ZodString, string, string>;
4491
+ vehicle_fuel_type_id: z.ZodEffects<z.ZodString, string, string>;
4492
+ vehicle_fuel_unit_id: z.ZodEffects<z.ZodString, string, string>;
4493
+ secondary_vehicle_fuel_type_id: z.ZodEffects<z.ZodString, string, string>;
4494
+ secondary_vehicle_fuel_unit_id: z.ZodEffects<z.ZodString, string, string>;
4495
+ vehicle_total_fuel_quantity: z.ZodEffects<z.ZodDefault<z.ZodOptional<z.ZodNumber>>, number, unknown>;
4496
+ vehicle_tank_1_fuel_quantity: z.ZodEffects<z.ZodDefault<z.ZodOptional<z.ZodNumber>>, number, unknown>;
4497
+ vehicle_tank_2_fuel_quantity: z.ZodEffects<z.ZodDefault<z.ZodOptional<z.ZodNumber>>, number, unknown>;
4498
+ MasterVehicleFileSchema: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
4499
+ usage_type: z.ZodEffects<z.ZodString, string, string>;
4500
+ file_type: z.ZodType<FileType, z.ZodTypeDef, FileType>;
4501
+ file_url: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
4502
+ file_key: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
4503
+ file_name: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
4504
+ file_description: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
4505
+ file_size: z.ZodEffects<z.ZodDefault<z.ZodOptional<z.ZodNumber>>, number, unknown>;
4506
+ file_metadata: z.ZodDefault<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
4507
+ status: z.ZodType<Status, z.ZodTypeDef, Status>;
4508
+ } & {
4509
+ organisation_id: z.ZodEffects<z.ZodString, string, string>;
4510
+ vehicle_id: z.ZodEffects<z.ZodString, string, string>;
4511
+ }, z.UnknownKeysParam, z.ZodTypeAny, {
4512
+ status: Status;
4513
+ organisation_id: string;
4514
+ usage_type: string;
4515
+ file_type: FileType;
4516
+ file_url: string;
4517
+ file_key: string;
4518
+ file_name: string;
4519
+ file_description: string;
4520
+ file_size: number;
4521
+ file_metadata: Record<string, any>;
4522
+ vehicle_id: string;
4523
+ }, {
4524
+ status: Status;
4525
+ organisation_id: string;
4526
+ usage_type: string;
4527
+ file_type: FileType;
4528
+ vehicle_id: string;
4529
+ file_url?: string | undefined;
4530
+ file_key?: string | undefined;
4531
+ file_name?: string | undefined;
4532
+ file_description?: string | undefined;
4533
+ file_size?: unknown;
4534
+ file_metadata?: Record<string, any> | undefined;
4535
+ }>, "many">>>;
4536
+ }, "strip", z.ZodTypeAny, {
4537
+ status: Status;
4538
+ organisation_id: string;
4539
+ organisation_sub_company_id: string;
4540
+ organisation_branch_id: string;
4541
+ organisation_color_id: string;
4542
+ organisation_tag_id: string;
4543
+ organisation_group_ids: string[];
4544
+ vehicle_sub_model_id: string;
4545
+ vehicle_model_id: string;
4546
+ vehicle_make_id: string;
4547
+ vehicle_status_type_id: string;
4548
+ vehicle_ownership_type_id: string;
4549
+ vehicle_type_id: string;
4550
+ vehicle_fuel_type_id: string;
4551
+ vehicle_associated_to_id: string;
4552
+ vehicle_fuel_unit_id: string;
4553
+ vehicle_number: string;
4554
+ vehicle_name: string;
4555
+ odometer_reading: number;
4556
+ engine_number: string;
4557
+ chassis_number: string;
4558
+ vehicle_make_year: number;
4559
+ is_fleet_active: YesNo;
4560
+ is_gps_active: YesNo;
4561
+ is_trip_active: YesNo;
4562
+ secondary_vehicle_fuel_type_id: string;
4563
+ secondary_vehicle_fuel_unit_id: string;
4564
+ vehicle_total_fuel_quantity: number;
4565
+ vehicle_tank_1_fuel_quantity: number;
4566
+ vehicle_tank_2_fuel_quantity: number;
4567
+ MasterVehicleFileSchema: {
4568
+ status: Status;
4569
+ organisation_id: string;
4570
+ usage_type: string;
4571
+ file_type: FileType;
4572
+ file_url: string;
4573
+ file_key: string;
4574
+ file_name: string;
4575
+ file_description: string;
4576
+ file_size: number;
4577
+ file_metadata: Record<string, any>;
4578
+ vehicle_id: string;
4579
+ }[];
4580
+ }, {
4581
+ status: Status;
4582
+ organisation_id: string;
4583
+ organisation_sub_company_id: string;
4584
+ organisation_branch_id: string;
4585
+ organisation_color_id: string;
4586
+ organisation_tag_id: string;
4587
+ vehicle_sub_model_id: string;
4588
+ vehicle_model_id: string;
4589
+ vehicle_make_id: string;
4590
+ vehicle_status_type_id: string;
4591
+ vehicle_ownership_type_id: string;
4592
+ vehicle_type_id: string;
4523
4593
  vehicle_fuel_type_id: string;
4524
4594
  vehicle_associated_to_id: string;
4525
4595
  vehicle_fuel_unit_id: string;
4596
+ vehicle_number: string;
4526
4597
  is_fleet_active: YesNo;
4527
4598
  is_gps_active: YesNo;
4528
4599
  is_trip_active: YesNo;
@@ -4530,21 +4601,111 @@ declare const VehicleSchema: z.ZodObject<{
4530
4601
  secondary_vehicle_fuel_unit_id: string;
4531
4602
  organisation_group_ids?: string[] | undefined;
4532
4603
  vehicle_name?: string | undefined;
4604
+ odometer_reading?: unknown;
4533
4605
  engine_number?: string | undefined;
4534
4606
  chassis_number?: string | undefined;
4535
4607
  vehicle_make_year?: unknown;
4536
- vehicle_front_image_url?: string | undefined;
4537
- vehicle_front_image_key?: string | undefined;
4538
- vehicle_plate_image_url?: string | undefined;
4539
- vehicle_plate_image_key?: string | undefined;
4540
- vehicle_full_image_url?: string | undefined;
4541
- vehicle_full_image_key?: string | undefined;
4542
- odometer_reading?: unknown;
4543
4608
  vehicle_total_fuel_quantity?: unknown;
4544
4609
  vehicle_tank_1_fuel_quantity?: unknown;
4545
4610
  vehicle_tank_2_fuel_quantity?: unknown;
4611
+ MasterVehicleFileSchema?: {
4612
+ status: Status;
4613
+ organisation_id: string;
4614
+ usage_type: string;
4615
+ file_type: FileType;
4616
+ vehicle_id: string;
4617
+ file_url?: string | undefined;
4618
+ file_key?: string | undefined;
4619
+ file_name?: string | undefined;
4620
+ file_description?: string | undefined;
4621
+ file_size?: unknown;
4622
+ file_metadata?: Record<string, any> | undefined;
4623
+ }[] | undefined;
4546
4624
  }>;
4547
4625
  type VehicleDTO = z.infer<typeof VehicleSchema>;
4626
+ declare const VehicleBulkSchema: z.ZodObject<{
4627
+ organisation_id: z.ZodEffects<z.ZodString, string, string>;
4628
+ vehicle_number: z.ZodEffects<z.ZodString, string, string>;
4629
+ vehicle_name: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
4630
+ is_fleet_active: z.ZodType<YesNo, z.ZodTypeDef, YesNo>;
4631
+ is_gps_active: z.ZodType<YesNo, z.ZodTypeDef, YesNo>;
4632
+ is_trip_active: z.ZodType<YesNo, z.ZodTypeDef, YesNo>;
4633
+ status: z.ZodType<Status, z.ZodTypeDef, Status>;
4634
+ vehicle_type_id: z.ZodEffects<z.ZodString, string, string>;
4635
+ device_manufacturer_id: z.ZodEffects<z.ZodString, string, string>;
4636
+ device_model_id: z.ZodEffects<z.ZodString, string, string>;
4637
+ device_type_id: z.ZodEffects<z.ZodString, string, string>;
4638
+ country_id: z.ZodEffects<z.ZodString, string, string>;
4639
+ time_zone_id: z.ZodEffects<z.ZodString, string, string>;
4640
+ }, "strip", z.ZodTypeAny, {
4641
+ status: Status;
4642
+ organisation_id: string;
4643
+ time_zone_id: string;
4644
+ country_id: string;
4645
+ device_type_id: string;
4646
+ device_manufacturer_id: string;
4647
+ device_model_id: string;
4648
+ vehicle_type_id: string;
4649
+ vehicle_number: string;
4650
+ vehicle_name: string;
4651
+ is_fleet_active: YesNo;
4652
+ is_gps_active: YesNo;
4653
+ is_trip_active: YesNo;
4654
+ }, {
4655
+ status: Status;
4656
+ organisation_id: string;
4657
+ time_zone_id: string;
4658
+ country_id: string;
4659
+ device_type_id: string;
4660
+ device_manufacturer_id: string;
4661
+ device_model_id: string;
4662
+ vehicle_type_id: string;
4663
+ vehicle_number: string;
4664
+ is_fleet_active: YesNo;
4665
+ is_gps_active: YesNo;
4666
+ is_trip_active: YesNo;
4667
+ vehicle_name?: string | undefined;
4668
+ }>;
4669
+ type VehicleBulkDTO = z.infer<typeof VehicleBulkSchema>;
4670
+ declare const MasterDeviceFileSchema: z.ZodObject<{
4671
+ usage_type: z.ZodEffects<z.ZodString, string, string>;
4672
+ file_type: z.ZodType<FileType, z.ZodTypeDef, FileType>;
4673
+ file_url: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
4674
+ file_key: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
4675
+ file_name: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
4676
+ file_description: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
4677
+ file_size: z.ZodEffects<z.ZodDefault<z.ZodOptional<z.ZodNumber>>, number, unknown>;
4678
+ file_metadata: z.ZodDefault<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
4679
+ status: z.ZodType<Status, z.ZodTypeDef, Status>;
4680
+ } & {
4681
+ organisation_id: z.ZodEffects<z.ZodString, string, string>;
4682
+ device_id: z.ZodEffects<z.ZodString, string, string>;
4683
+ }, "strip", z.ZodTypeAny, {
4684
+ status: Status;
4685
+ organisation_id: string;
4686
+ usage_type: string;
4687
+ file_type: FileType;
4688
+ file_url: string;
4689
+ file_key: string;
4690
+ file_name: string;
4691
+ file_description: string;
4692
+ file_size: number;
4693
+ file_metadata: Record<string, any>;
4694
+ device_id: string;
4695
+ }, {
4696
+ status: Status;
4697
+ organisation_id: string;
4698
+ usage_type: string;
4699
+ file_type: FileType;
4700
+ device_id: string;
4701
+ file_url?: string | undefined;
4702
+ file_key?: string | undefined;
4703
+ file_name?: string | undefined;
4704
+ file_description?: string | undefined;
4705
+ file_size?: unknown;
4706
+ file_metadata?: Record<string, any> | undefined;
4707
+ }>;
4708
+ type MasterDeviceFileDTO = z.infer<typeof MasterDeviceFileSchema>;
4548
4709
  declare const VehicleDeviceLinkSchema: z.ZodObject<{
4549
4710
  device_id: z.ZodEffects<z.ZodString, string, string>;
4550
4711
  device_manufacturer_id: z.ZodEffects<z.ZodString, string, string>;
@@ -4554,12 +4715,12 @@ declare const VehicleDeviceLinkSchema: z.ZodObject<{
4554
4715
  country_id: z.ZodEffects<z.ZodString, string, string>;
4555
4716
  time_zone_id: z.ZodEffects<z.ZodString, string, string>;
4556
4717
  vehicle_id: z.ZodEffects<z.ZodString, string, string>;
4557
- device_image_url: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
4558
- device_image_key: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
4559
- vehicle_image_url: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
4560
- vehicle_image_key: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
4561
- sim_image_url: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
4562
- sim_image_key: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
4718
+ temperature: z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof YesNo>>>;
4719
+ duel_temperature: z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof YesNo>>>;
4720
+ fuel: z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof YesNo>>>;
4721
+ fuel_bluetooth: z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof YesNo>>>;
4722
+ fuel_tank_size: z.ZodEffects<z.ZodDefault<z.ZodOptional<z.ZodNumber>>, number, unknown>;
4723
+ over_speed_kmph: z.ZodEffects<z.ZodDefault<z.ZodOptional<z.ZodNumber>>, number, unknown>;
4563
4724
  gps_lock_relay: z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof YesNo>>>;
4564
4725
  gps_door_locker: z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof YesNo>>>;
4565
4726
  door_sensor: z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof YesNo>>>;
@@ -4568,21 +4729,58 @@ declare const VehicleDeviceLinkSchema: z.ZodObject<{
4568
4729
  is_rear_cam: z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof YesNo>>>;
4569
4730
  is_front_cam: z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof YesNo>>>;
4570
4731
  camera_extra_count: z.ZodEffects<z.ZodDefault<z.ZodOptional<z.ZodNumber>>, number, unknown>;
4732
+ MasterDeviceFileSchema: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
4733
+ usage_type: z.ZodEffects<z.ZodString, string, string>;
4734
+ file_type: z.ZodType<FileType, z.ZodTypeDef, FileType>;
4735
+ file_url: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
4736
+ file_key: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
4737
+ file_name: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
4738
+ file_description: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
4739
+ file_size: z.ZodEffects<z.ZodDefault<z.ZodOptional<z.ZodNumber>>, number, unknown>;
4740
+ file_metadata: z.ZodDefault<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
4741
+ status: z.ZodType<Status, z.ZodTypeDef, Status>;
4742
+ } & {
4743
+ organisation_id: z.ZodEffects<z.ZodString, string, string>;
4744
+ device_id: z.ZodEffects<z.ZodString, string, string>;
4745
+ }, z.UnknownKeysParam, z.ZodTypeAny, {
4746
+ status: Status;
4747
+ organisation_id: string;
4748
+ usage_type: string;
4749
+ file_type: FileType;
4750
+ file_url: string;
4751
+ file_key: string;
4752
+ file_name: string;
4753
+ file_description: string;
4754
+ file_size: number;
4755
+ file_metadata: Record<string, any>;
4756
+ device_id: string;
4757
+ }, {
4758
+ status: Status;
4759
+ organisation_id: string;
4760
+ usage_type: string;
4761
+ file_type: FileType;
4762
+ device_id: string;
4763
+ file_url?: string | undefined;
4764
+ file_key?: string | undefined;
4765
+ file_name?: string | undefined;
4766
+ file_description?: string | undefined;
4767
+ file_size?: unknown;
4768
+ file_metadata?: Record<string, any> | undefined;
4769
+ }>, "many">>>;
4571
4770
  }, "strip", z.ZodTypeAny, {
4572
4771
  organisation_id: string;
4573
- vehicle_id: string;
4574
4772
  time_zone_id: string;
4575
4773
  country_id: string;
4774
+ vehicle_id: string;
4576
4775
  device_id: string;
4577
4776
  device_type_id: string;
4578
4777
  device_manufacturer_id: string;
4579
4778
  device_model_id: string;
4580
- device_image_url: string;
4581
- device_image_key: string;
4582
- vehicle_image_url: string;
4583
- vehicle_image_key: string;
4584
- sim_image_url: string;
4585
- sim_image_key: string;
4779
+ temperature: YesNo;
4780
+ duel_temperature: YesNo;
4781
+ fuel: YesNo;
4782
+ fuel_bluetooth: YesNo;
4783
+ fuel_tank_size: number;
4586
4784
  gps_lock_relay: YesNo;
4587
4785
  gps_door_locker: YesNo;
4588
4786
  door_sensor: YesNo;
@@ -4591,175 +4789,81 @@ declare const VehicleDeviceLinkSchema: z.ZodObject<{
4591
4789
  is_rear_cam: YesNo;
4592
4790
  is_front_cam: YesNo;
4593
4791
  camera_extra_count: number;
4594
- }, {
4595
- organisation_id: string;
4596
- vehicle_id: string;
4597
- time_zone_id: string;
4598
- country_id: string;
4599
- device_id: string;
4600
- device_type_id: string;
4601
- device_manufacturer_id: string;
4602
- device_model_id: string;
4603
- device_image_url?: string | undefined;
4604
- device_image_key?: string | undefined;
4605
- vehicle_image_url?: string | undefined;
4606
- vehicle_image_key?: string | undefined;
4607
- sim_image_url?: string | undefined;
4608
- sim_image_key?: string | undefined;
4609
- gps_lock_relay?: YesNo | undefined;
4610
- gps_door_locker?: YesNo | undefined;
4611
- door_sensor?: YesNo | undefined;
4612
- genset_sensor?: YesNo | undefined;
4613
- dashcam_sensor?: YesNo | undefined;
4614
- is_rear_cam?: YesNo | undefined;
4615
- is_front_cam?: YesNo | undefined;
4616
- camera_extra_count?: unknown;
4617
- }>;
4618
- type VehicleDeviceLinkDTO = z.infer<typeof VehicleDeviceLinkSchema>;
4619
- declare const VehicleDeviceUnlinkSchema: z.ZodObject<{
4620
- vehicle_id: z.ZodEffects<z.ZodString, string, string>;
4621
- device_id: z.ZodEffects<z.ZodString, string, string>;
4622
- }, "strip", z.ZodTypeAny, {
4623
- vehicle_id: string;
4624
- device_id: string;
4625
- }, {
4626
- vehicle_id: string;
4627
- device_id: string;
4628
- }>;
4629
- type VehicleDeviceUnlinkDTO = z.infer<typeof VehicleDeviceUnlinkSchema>;
4630
- declare const VehicleDriverLinkSchema: z.ZodObject<{
4631
- organisation_id: z.ZodEffects<z.ZodString, string, string>;
4632
- vehicle_id: z.ZodEffects<z.ZodString, string, string>;
4633
- driver_id: z.ZodEffects<z.ZodString, string, string>;
4634
- }, "strip", z.ZodTypeAny, {
4635
- organisation_id: string;
4636
- vehicle_id: string;
4637
- driver_id: string;
4638
- }, {
4639
- organisation_id: string;
4640
- vehicle_id: string;
4641
- driver_id: string;
4642
- }>;
4643
- type VehicleDriverLinkDTO = z.infer<typeof VehicleDriverLinkSchema>;
4644
- declare const SimpleFindQuerySchema: z.ZodObject<{
4645
- search: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
4646
- status: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof Status>, "many">>>;
4647
- paging: z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof PAGING>>>;
4648
- page_count: z.ZodEffects<z.ZodDefault<z.ZodOptional<z.ZodNumber>>, number, unknown>;
4649
- page_index: z.ZodEffects<z.ZodDefault<z.ZodOptional<z.ZodNumber>>, number, unknown>;
4650
- load_parents: z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof LoadParents>>>;
4651
- load_parents_list: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
4652
- load_child: z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof LoadChild>>>;
4653
- load_child_list: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
4654
- load_child_count: z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof LoadChildCount>>>;
4655
- load_child_count_list: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
4656
- include_details: z.ZodDefault<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
4657
- where_relations: z.ZodDefault<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
4658
- order_by: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
4659
- name: z.ZodEffects<z.ZodString, string, string>;
4660
- field: z.ZodEffects<z.ZodString, string, string>;
4661
- direction: z.ZodType<OrderBy, z.ZodTypeDef, OrderBy>;
4662
- }, "strip", z.ZodTypeAny, {
4663
- name: string;
4664
- field: string;
4665
- direction: OrderBy;
4666
- }, {
4667
- name: string;
4668
- field: string;
4669
- direction: OrderBy;
4670
- }>, "many">>>;
4671
- include_master_data: z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof YesNo>>>;
4672
- date_format_id: z.ZodEffects<z.ZodString, string, string>;
4673
- time_zone_id: z.ZodEffects<z.ZodString, string, string>;
4674
- } & {
4675
- organisation_id: z.ZodEffects<z.ZodString, string, string>;
4676
- }, "strip", z.ZodTypeAny, {
4677
- status: Status[];
4678
- organisation_id: string;
4679
- search: string;
4680
- paging: PAGING;
4681
- page_count: number;
4682
- page_index: number;
4683
- load_parents: LoadParents;
4684
- load_parents_list: string[];
4685
- load_child: LoadChild;
4686
- load_child_list: string[];
4687
- load_child_count: LoadChildCount;
4688
- load_child_count_list: string[];
4689
- include_details: Record<string, any>;
4690
- where_relations: Record<string, any>;
4691
- order_by: {
4692
- name: string;
4693
- field: string;
4694
- direction: OrderBy;
4792
+ over_speed_kmph: number;
4793
+ MasterDeviceFileSchema: {
4794
+ status: Status;
4795
+ organisation_id: string;
4796
+ usage_type: string;
4797
+ file_type: FileType;
4798
+ file_url: string;
4799
+ file_key: string;
4800
+ file_name: string;
4801
+ file_description: string;
4802
+ file_size: number;
4803
+ file_metadata: Record<string, any>;
4804
+ device_id: string;
4695
4805
  }[];
4696
- include_master_data: YesNo;
4697
- date_format_id: string;
4698
- time_zone_id: string;
4699
4806
  }, {
4700
4807
  organisation_id: string;
4701
- date_format_id: string;
4702
4808
  time_zone_id: string;
4703
- status?: Status[] | undefined;
4704
- search?: string | undefined;
4705
- paging?: PAGING | undefined;
4706
- page_count?: unknown;
4707
- page_index?: unknown;
4708
- load_parents?: LoadParents | undefined;
4709
- load_parents_list?: string[] | undefined;
4710
- load_child?: LoadChild | undefined;
4711
- load_child_list?: string[] | undefined;
4712
- load_child_count?: LoadChildCount | undefined;
4713
- load_child_count_list?: string[] | undefined;
4714
- include_details?: Record<string, any> | undefined;
4715
- where_relations?: Record<string, any> | undefined;
4716
- order_by?: {
4717
- name: string;
4718
- field: string;
4719
- direction: OrderBy;
4809
+ country_id: string;
4810
+ vehicle_id: string;
4811
+ device_id: string;
4812
+ device_type_id: string;
4813
+ device_manufacturer_id: string;
4814
+ device_model_id: string;
4815
+ temperature?: YesNo | undefined;
4816
+ duel_temperature?: YesNo | undefined;
4817
+ fuel?: YesNo | undefined;
4818
+ fuel_bluetooth?: YesNo | undefined;
4819
+ fuel_tank_size?: unknown;
4820
+ gps_lock_relay?: YesNo | undefined;
4821
+ gps_door_locker?: YesNo | undefined;
4822
+ door_sensor?: YesNo | undefined;
4823
+ genset_sensor?: YesNo | undefined;
4824
+ dashcam_sensor?: YesNo | undefined;
4825
+ is_rear_cam?: YesNo | undefined;
4826
+ is_front_cam?: YesNo | undefined;
4827
+ camera_extra_count?: unknown;
4828
+ over_speed_kmph?: unknown;
4829
+ MasterDeviceFileSchema?: {
4830
+ status: Status;
4831
+ organisation_id: string;
4832
+ usage_type: string;
4833
+ file_type: FileType;
4834
+ device_id: string;
4835
+ file_url?: string | undefined;
4836
+ file_key?: string | undefined;
4837
+ file_name?: string | undefined;
4838
+ file_description?: string | undefined;
4839
+ file_size?: unknown;
4840
+ file_metadata?: Record<string, any> | undefined;
4720
4841
  }[] | undefined;
4721
- include_master_data?: YesNo | undefined;
4722
4842
  }>;
4723
- type SimpleFindQueryDTO = z.infer<typeof SimpleFindQuerySchema>;
4724
- declare const VehicleDetailBodySchema: z.ZodObject<{
4725
- vehicle_body_details: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
4726
- vehicle_height: z.ZodOptional<z.ZodEffects<z.ZodDefault<z.ZodNumber>, number, unknown>>;
4727
- vehicle_width: z.ZodOptional<z.ZodEffects<z.ZodDefault<z.ZodNumber>, number, unknown>>;
4728
- vehicle_length: z.ZodOptional<z.ZodEffects<z.ZodDefault<z.ZodNumber>, number, unknown>>;
4729
- vehicle_passenger_capacity: z.ZodEffects<z.ZodDefault<z.ZodOptional<z.ZodNumber>>, number, unknown>;
4730
- vehicle_cargo_volume: z.ZodOptional<z.ZodEffects<z.ZodDefault<z.ZodNumber>, number, unknown>>;
4731
- vehicle_maximum_weight_capacity: z.ZodOptional<z.ZodEffects<z.ZodDefault<z.ZodNumber>, number, unknown>>;
4732
- vehicle_total_fuel_quantity: z.ZodEffects<z.ZodDefault<z.ZodOptional<z.ZodNumber>>, number, unknown>;
4733
- vehicle_tank_1_fuel_quantity: z.ZodEffects<z.ZodDefault<z.ZodOptional<z.ZodNumber>>, number, unknown>;
4734
- vehicle_tank_2_fuel_quantity: z.ZodEffects<z.ZodDefault<z.ZodOptional<z.ZodNumber>>, number, unknown>;
4735
- status: z.ZodType<Status, z.ZodTypeDef, Status>;
4843
+ type VehicleDeviceLinkDTO = z.infer<typeof VehicleDeviceLinkSchema>;
4844
+ declare const VehicleDeviceUnlinkSchema: z.ZodObject<{
4845
+ vehicle_id: z.ZodEffects<z.ZodString, string, string>;
4846
+ device_id: z.ZodEffects<z.ZodString, string, string>;
4736
4847
  }, "strip", z.ZodTypeAny, {
4737
- status: Status;
4738
- vehicle_total_fuel_quantity: number;
4739
- vehicle_tank_1_fuel_quantity: number;
4740
- vehicle_tank_2_fuel_quantity: number;
4741
- vehicle_body_details: string;
4742
- vehicle_passenger_capacity: number;
4743
- vehicle_height?: number | undefined;
4744
- vehicle_width?: number | undefined;
4745
- vehicle_length?: number | undefined;
4746
- vehicle_cargo_volume?: number | undefined;
4747
- vehicle_maximum_weight_capacity?: number | undefined;
4848
+ vehicle_id: string;
4849
+ device_id: string;
4748
4850
  }, {
4749
- status: Status;
4750
- vehicle_total_fuel_quantity?: unknown;
4751
- vehicle_tank_1_fuel_quantity?: unknown;
4752
- vehicle_tank_2_fuel_quantity?: unknown;
4753
- vehicle_body_details?: string | undefined;
4754
- vehicle_height?: unknown;
4755
- vehicle_width?: unknown;
4756
- vehicle_length?: unknown;
4757
- vehicle_passenger_capacity?: unknown;
4758
- vehicle_cargo_volume?: unknown;
4759
- vehicle_maximum_weight_capacity?: unknown;
4851
+ vehicle_id: string;
4852
+ device_id: string;
4760
4853
  }>;
4761
- type VehicleDetailBodyDTO = z.infer<typeof VehicleDetailBodySchema>;
4762
- declare const VehicleDetailGPSMainSchema: z.ZodObject<{
4854
+ type VehicleDeviceUnlinkDTO = z.infer<typeof VehicleDeviceUnlinkSchema>;
4855
+ declare const VehicleDriverLinkSchema: z.ZodObject<{
4856
+ vehicle_id: z.ZodEffects<z.ZodString, string, string>;
4857
+ driver_id: z.ZodEffects<z.ZodString, string, string>;
4858
+ }, "strip", z.ZodTypeAny, {
4859
+ driver_id: string;
4860
+ vehicle_id: string;
4861
+ }, {
4862
+ driver_id: string;
4863
+ vehicle_id: string;
4864
+ }>;
4865
+ type VehicleDriverLinkDTO = z.infer<typeof VehicleDriverLinkSchema>;
4866
+ declare const VehicleDetailGPSSensorSchema: z.ZodObject<{
4763
4867
  temperature: z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof YesNo>>>;
4764
4868
  duel_temperature: z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof YesNo>>>;
4765
4869
  fuel: z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof YesNo>>>;
@@ -4774,9 +4878,7 @@ declare const VehicleDetailGPSMainSchema: z.ZodObject<{
4774
4878
  is_rear_cam: z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof YesNo>>>;
4775
4879
  is_front_cam: z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof YesNo>>>;
4776
4880
  camera_extra_count: z.ZodEffects<z.ZodDefault<z.ZodOptional<z.ZodNumber>>, number, unknown>;
4777
- status: z.ZodType<Status, z.ZodTypeDef, Status>;
4778
4881
  }, "strip", z.ZodTypeAny, {
4779
- status: Status;
4780
4882
  temperature: YesNo;
4781
4883
  duel_temperature: YesNo;
4782
4884
  fuel: YesNo;
@@ -4792,7 +4894,6 @@ declare const VehicleDetailGPSMainSchema: z.ZodObject<{
4792
4894
  camera_extra_count: number;
4793
4895
  over_speed_kmph: number;
4794
4896
  }, {
4795
- status: Status;
4796
4897
  temperature?: YesNo | undefined;
4797
4898
  duel_temperature?: YesNo | undefined;
4798
4899
  fuel?: YesNo | undefined;
@@ -4808,164 +4909,230 @@ declare const VehicleDetailGPSMainSchema: z.ZodObject<{
4808
4909
  camera_extra_count?: unknown;
4809
4910
  over_speed_kmph?: unknown;
4810
4911
  }>;
4811
- type VehicleDetailGPSMainDTO = z.infer<typeof VehicleDetailGPSMainSchema>;
4812
- declare const VehicleDetailGPSDataSchema: z.ZodObject<{
4813
- attributes: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
4814
- raw: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
4815
- st: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
4816
- dt: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
4817
- ft: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
4818
- sts: z.ZodEffects<z.ZodDefault<z.ZodOptional<z.ZodNumber>>, number, unknown>;
4819
- dts: z.ZodEffects<z.ZodDefault<z.ZodOptional<z.ZodNumber>>, number, unknown>;
4820
- fts: z.ZodEffects<z.ZodDefault<z.ZodOptional<z.ZodNumber>>, number, unknown>;
4821
- la: z.ZodOptional<z.ZodEffects<z.ZodDefault<z.ZodNumber>, number, unknown>>;
4822
- lo: z.ZodOptional<z.ZodEffects<z.ZodDefault<z.ZodNumber>, number, unknown>>;
4823
- al: z.ZodEffects<z.ZodDefault<z.ZodOptional<z.ZodNumber>>, number, unknown>;
4824
- s: z.ZodEffects<z.ZodDefault<z.ZodOptional<z.ZodNumber>>, number, unknown>;
4825
- b: z.ZodEffects<z.ZodDefault<z.ZodOptional<z.ZodNumber>>, number, unknown>;
4826
- c: z.ZodEffects<z.ZodDefault<z.ZodOptional<z.ZodNumber>>, number, unknown>;
4827
- i: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
4828
- m: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
4829
- p: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
4830
- v: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
4831
- b_r: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
4832
- f1_r: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
4833
- f2_r: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
4834
- f1: z.ZodOptional<z.ZodEffects<z.ZodDefault<z.ZodNumber>, number, unknown>>;
4835
- f2: z.ZodOptional<z.ZodEffects<z.ZodDefault<z.ZodNumber>, number, unknown>>;
4836
- t1_r: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
4837
- t2_r: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
4838
- t1: z.ZodOptional<z.ZodEffects<z.ZodDefault<z.ZodNumber>, number, unknown>>;
4839
- t2: z.ZodOptional<z.ZodEffects<z.ZodDefault<z.ZodNumber>, number, unknown>>;
4840
- gl: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
4841
- lid: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
4842
- ll: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
4843
- ld: z.ZodEffects<z.ZodDefault<z.ZodOptional<z.ZodNumber>>, number, unknown>;
4844
- s_r_l: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
4845
- s_d_l: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
4846
- s_d: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
4847
- s_g: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
4848
- g_s: z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof GPSSource>>>;
4912
+ type VehicleDetailGPSSensorDTO = z.infer<typeof VehicleDetailGPSSensorSchema>;
4913
+ declare const VehicleDetailTripSchema: z.ZodObject<{
4914
+ trip_name: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
4915
+ trip_no: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
4916
+ eway_bill_number: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
4917
+ route_name: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
4918
+ trip_start_date: z.ZodDefault<z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>>;
4919
+ trip_end_date: z.ZodDefault<z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>>;
4920
+ trip_notes_1: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
4921
+ trip_notes_2: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
4922
+ trip_notes_3: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
4923
+ status: z.ZodType<Status, z.ZodTypeDef, Status>;
4849
4924
  }, "strip", z.ZodTypeAny, {
4850
- s: number;
4851
- attributes: string;
4852
- raw: string;
4853
- st: string;
4854
- dt: string;
4855
- ft: string;
4856
- sts: number;
4857
- dts: number;
4858
- fts: number;
4859
- al: number;
4860
- c: number;
4861
- i: boolean;
4862
- m: boolean;
4863
- p: boolean;
4864
- v: boolean;
4865
- b: number;
4866
- b_r: string;
4867
- f1_r: string;
4868
- f2_r: string;
4869
- t1_r: string;
4870
- t2_r: string;
4871
- s_r_l: boolean;
4872
- s_d_l: boolean;
4873
- s_d: boolean;
4874
- s_g: boolean;
4875
- gl: string;
4876
- lid: string;
4877
- ll: string;
4878
- ld: number;
4879
- g_s: GPSSource;
4880
- la?: number | undefined;
4881
- lo?: number | undefined;
4882
- f1?: number | undefined;
4883
- f2?: number | undefined;
4884
- t1?: number | undefined;
4885
- t2?: number | undefined;
4925
+ status: Status;
4926
+ trip_name: string;
4927
+ trip_no: string;
4928
+ eway_bill_number: string;
4929
+ route_name: string;
4930
+ trip_start_date: string;
4931
+ trip_end_date: string;
4932
+ trip_notes_1: string;
4933
+ trip_notes_2: string;
4934
+ trip_notes_3: string;
4886
4935
  }, {
4887
- s?: unknown;
4888
- attributes?: string | undefined;
4889
- raw?: string | undefined;
4890
- st?: string | undefined;
4891
- dt?: string | undefined;
4892
- ft?: string | undefined;
4893
- sts?: unknown;
4894
- dts?: unknown;
4895
- fts?: unknown;
4896
- la?: unknown;
4897
- lo?: unknown;
4898
- al?: unknown;
4899
- c?: unknown;
4900
- i?: boolean | undefined;
4901
- m?: boolean | undefined;
4902
- p?: boolean | undefined;
4903
- v?: boolean | undefined;
4904
- b?: unknown;
4905
- b_r?: string | undefined;
4906
- f1_r?: string | undefined;
4907
- f2_r?: string | undefined;
4908
- f1?: unknown;
4909
- f2?: unknown;
4910
- t1_r?: string | undefined;
4911
- t2_r?: string | undefined;
4912
- t1?: unknown;
4913
- t2?: unknown;
4914
- s_r_l?: boolean | undefined;
4915
- s_d_l?: boolean | undefined;
4916
- s_d?: boolean | undefined;
4917
- s_g?: boolean | undefined;
4918
- gl?: string | undefined;
4919
- lid?: string | undefined;
4920
- ll?: string | undefined;
4921
- ld?: unknown;
4922
- g_s?: GPSSource | undefined;
4936
+ status: Status;
4937
+ trip_name?: string | undefined;
4938
+ trip_no?: string | undefined;
4939
+ eway_bill_number?: string | undefined;
4940
+ route_name?: string | undefined;
4941
+ trip_start_date?: string | undefined;
4942
+ trip_end_date?: string | undefined;
4943
+ trip_notes_1?: string | undefined;
4944
+ trip_notes_2?: string | undefined;
4945
+ trip_notes_3?: string | undefined;
4923
4946
  }>;
4924
- type VehicleDetailGPSDataDTO = z.infer<typeof VehicleDetailGPSDataSchema>;
4925
- declare const VehicleDetailGPSAnalyticsSchema: z.ZodObject<{
4926
- km_today: z.ZodOptional<z.ZodEffects<z.ZodDefault<z.ZodNumber>, number, unknown>>;
4927
- km_this_week_sunday: z.ZodOptional<z.ZodEffects<z.ZodDefault<z.ZodNumber>, number, unknown>>;
4928
- km_this_week_monday: z.ZodOptional<z.ZodEffects<z.ZodDefault<z.ZodNumber>, number, unknown>>;
4929
- km_this_month: z.ZodOptional<z.ZodEffects<z.ZodDefault<z.ZodNumber>, number, unknown>>;
4930
- km_this_year: z.ZodOptional<z.ZodEffects<z.ZodDefault<z.ZodNumber>, number, unknown>>;
4931
- km_this_financial_year: z.ZodOptional<z.ZodEffects<z.ZodDefault<z.ZodNumber>, number, unknown>>;
4932
- km_slotted_today: z.ZodOptional<z.ZodEffects<z.ZodDefault<z.ZodNumber>, number, unknown>>;
4933
- km_slotted_this_week_sunday: z.ZodOptional<z.ZodEffects<z.ZodDefault<z.ZodNumber>, number, unknown>>;
4934
- km_slotted_this_week_monday: z.ZodOptional<z.ZodEffects<z.ZodDefault<z.ZodNumber>, number, unknown>>;
4935
- km_slotted_this_month: z.ZodOptional<z.ZodEffects<z.ZodDefault<z.ZodNumber>, number, unknown>>;
4936
- km_slotted_this_year: z.ZodOptional<z.ZodEffects<z.ZodDefault<z.ZodNumber>, number, unknown>>;
4937
- km_slotted_this_financial_year: z.ZodOptional<z.ZodEffects<z.ZodDefault<z.ZodNumber>, number, unknown>>;
4938
- km_total_distance: z.ZodOptional<z.ZodEffects<z.ZodDefault<z.ZodNumber>, number, unknown>>;
4947
+ type VehicleDetailTripDTO = z.infer<typeof VehicleDetailTripSchema>;
4948
+ declare const VehicleDetailBodySchema: z.ZodObject<{
4949
+ vehicle_body_details: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
4950
+ vehicle_height: z.ZodOptional<z.ZodEffects<z.ZodDefault<z.ZodNumber>, number, unknown>>;
4951
+ vehicle_width: z.ZodOptional<z.ZodEffects<z.ZodDefault<z.ZodNumber>, number, unknown>>;
4952
+ vehicle_length: z.ZodOptional<z.ZodEffects<z.ZodDefault<z.ZodNumber>, number, unknown>>;
4953
+ wheel_base: z.ZodOptional<z.ZodEffects<z.ZodDefault<z.ZodNumber>, number, unknown>>;
4954
+ number_of_doors: z.ZodEffects<z.ZodDefault<z.ZodOptional<z.ZodNumber>>, number, unknown>;
4955
+ vehicle_passenger_capacity: z.ZodEffects<z.ZodDefault<z.ZodOptional<z.ZodNumber>>, number, unknown>;
4956
+ standing_passenger_capacity: z.ZodEffects<z.ZodDefault<z.ZodOptional<z.ZodNumber>>, number, unknown>;
4957
+ seat_configuration: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
4958
+ has_air_conditioning: z.ZodType<YesNo, z.ZodTypeDef, YesNo>;
4959
+ has_heating_system: z.ZodType<YesNo, z.ZodTypeDef, YesNo>;
4960
+ has_reclining_seats: z.ZodType<YesNo, z.ZodTypeDef, YesNo>;
4961
+ has_safety_belts: z.ZodType<YesNo, z.ZodTypeDef, YesNo>;
4962
+ has_headrests: z.ZodType<YesNo, z.ZodTypeDef, YesNo>;
4963
+ has_armrests: z.ZodType<YesNo, z.ZodTypeDef, YesNo>;
4964
+ has_infotainment_system: z.ZodType<YesNo, z.ZodTypeDef, YesNo>;
4965
+ infotainment_type: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
4966
+ has_individual_lighting: z.ZodType<YesNo, z.ZodTypeDef, YesNo>;
4967
+ has_overhead_luggage_storage: z.ZodType<YesNo, z.ZodTypeDef, YesNo>;
4968
+ wheelchair_accessible: z.ZodType<YesNo, z.ZodTypeDef, YesNo>;
4969
+ vehicle_cargo_volume: z.ZodOptional<z.ZodEffects<z.ZodDefault<z.ZodNumber>, number, unknown>>;
4970
+ vehicle_maximum_weight_capacity: z.ZodOptional<z.ZodEffects<z.ZodDefault<z.ZodNumber>, number, unknown>>;
4971
+ cargo_area_type: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
4972
+ has_lift_gate: z.ZodType<YesNo, z.ZodTypeDef, YesNo>;
4973
+ has_refrigeration_unit: z.ZodType<YesNo, z.ZodTypeDef, YesNo>;
4974
+ refrigeration_temperature_range: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
4975
+ cargo_bed_length: z.ZodOptional<z.ZodEffects<z.ZodDefault<z.ZodNumber>, number, unknown>>;
4976
+ cargo_bed_width: z.ZodOptional<z.ZodEffects<z.ZodDefault<z.ZodNumber>, number, unknown>>;
4977
+ cargo_bed_height: z.ZodOptional<z.ZodEffects<z.ZodDefault<z.ZodNumber>, number, unknown>>;
4978
+ cargo_floor_material: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
4979
+ has_side_doors: z.ZodType<YesNo, z.ZodTypeDef, YesNo>;
4980
+ has_roof_hatch: z.ZodType<YesNo, z.ZodTypeDef, YesNo>;
4981
+ cargo_tie_down_hooks_count: z.ZodEffects<z.ZodDefault<z.ZodOptional<z.ZodNumber>>, number, unknown>;
4982
+ is_custom_body_built: z.ZodType<YesNo, z.ZodTypeDef, YesNo>;
4983
+ number_of_axles: z.ZodEffects<z.ZodDefault<z.ZodOptional<z.ZodNumber>>, number, unknown>;
4984
+ axle_configuration: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
4985
+ has_dual_rear_wheels: z.ZodType<YesNo, z.ZodTypeDef, YesNo>;
4986
+ suspension_type: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
4987
+ suspension_adjustability: z.ZodType<YesNo, z.ZodTypeDef, YesNo>;
4988
+ ground_clearance_mm: z.ZodOptional<z.ZodEffects<z.ZodDefault<z.ZodNumber>, number, unknown>>;
4989
+ tire_size: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
4990
+ has_spare_tire: z.ZodType<YesNo, z.ZodTypeDef, YesNo>;
4991
+ has_all_terrain_tires: z.ZodType<YesNo, z.ZodTypeDef, YesNo>;
4992
+ has_run_flat_tires: z.ZodType<YesNo, z.ZodTypeDef, YesNo>;
4993
+ steering_type: z.ZodType<SteeringType, z.ZodTypeDef, SteeringType>;
4994
+ wheel_drive_type: z.ZodType<WheelDriveType, z.ZodTypeDef, WheelDriveType>;
4995
+ has_abs: z.ZodType<YesNo, z.ZodTypeDef, YesNo>;
4996
+ has_airbags: z.ZodType<YesNo, z.ZodTypeDef, YesNo>;
4997
+ has_speed_limiter: z.ZodType<YesNo, z.ZodTypeDef, YesNo>;
4998
+ has_gps_tracker: z.ZodType<YesNo, z.ZodTypeDef, YesNo>;
4999
+ has_parking_sensors: z.ZodType<YesNo, z.ZodTypeDef, YesNo>;
5000
+ has_rear_camera: z.ZodType<YesNo, z.ZodTypeDef, YesNo>;
5001
+ has_lane_assist: z.ZodType<YesNo, z.ZodTypeDef, YesNo>;
5002
+ has_automatic_emergency_brake: z.ZodType<YesNo, z.ZodTypeDef, YesNo>;
5003
+ has_tire_pressure_monitoring: z.ZodType<YesNo, z.ZodTypeDef, YesNo>;
5004
+ has_blind_spot_monitoring: z.ZodType<YesNo, z.ZodTypeDef, YesNo>;
5005
+ has_collision_warning_system: z.ZodType<YesNo, z.ZodTypeDef, YesNo>;
5006
+ has_immobilizer: z.ZodType<YesNo, z.ZodTypeDef, YesNo>;
5007
+ has_dashcam: z.ZodType<YesNo, z.ZodTypeDef, YesNo>;
5008
+ has_emergency_exit: z.ZodType<YesNo, z.ZodTypeDef, YesNo>;
5009
+ status: z.ZodType<Status, z.ZodTypeDef, Status>;
4939
5010
  }, "strip", z.ZodTypeAny, {
4940
- km_today?: number | undefined;
4941
- km_this_week_sunday?: number | undefined;
4942
- km_this_week_monday?: number | undefined;
4943
- km_this_month?: number | undefined;
4944
- km_this_year?: number | undefined;
4945
- km_this_financial_year?: number | undefined;
4946
- km_slotted_today?: number | undefined;
4947
- km_slotted_this_week_sunday?: number | undefined;
4948
- km_slotted_this_week_monday?: number | undefined;
4949
- km_slotted_this_month?: number | undefined;
4950
- km_slotted_this_year?: number | undefined;
4951
- km_slotted_this_financial_year?: number | undefined;
4952
- km_total_distance?: number | undefined;
5011
+ status: Status;
5012
+ vehicle_body_details: string;
5013
+ vehicle_passenger_capacity: number;
5014
+ number_of_doors: number;
5015
+ standing_passenger_capacity: number;
5016
+ seat_configuration: string;
5017
+ has_air_conditioning: YesNo;
5018
+ has_heating_system: YesNo;
5019
+ has_reclining_seats: YesNo;
5020
+ has_safety_belts: YesNo;
5021
+ has_headrests: YesNo;
5022
+ has_armrests: YesNo;
5023
+ has_infotainment_system: YesNo;
5024
+ infotainment_type: string;
5025
+ has_individual_lighting: YesNo;
5026
+ has_overhead_luggage_storage: YesNo;
5027
+ wheelchair_accessible: YesNo;
5028
+ cargo_area_type: string;
5029
+ has_lift_gate: YesNo;
5030
+ has_refrigeration_unit: YesNo;
5031
+ refrigeration_temperature_range: string;
5032
+ cargo_floor_material: string;
5033
+ has_side_doors: YesNo;
5034
+ has_roof_hatch: YesNo;
5035
+ cargo_tie_down_hooks_count: number;
5036
+ is_custom_body_built: YesNo;
5037
+ number_of_axles: number;
5038
+ axle_configuration: string;
5039
+ has_dual_rear_wheels: YesNo;
5040
+ suspension_type: string;
5041
+ suspension_adjustability: YesNo;
5042
+ tire_size: string;
5043
+ has_spare_tire: YesNo;
5044
+ has_all_terrain_tires: YesNo;
5045
+ has_run_flat_tires: YesNo;
5046
+ steering_type: SteeringType;
5047
+ wheel_drive_type: WheelDriveType;
5048
+ has_abs: YesNo;
5049
+ has_airbags: YesNo;
5050
+ has_speed_limiter: YesNo;
5051
+ has_gps_tracker: YesNo;
5052
+ has_parking_sensors: YesNo;
5053
+ has_rear_camera: YesNo;
5054
+ has_lane_assist: YesNo;
5055
+ has_automatic_emergency_brake: YesNo;
5056
+ has_tire_pressure_monitoring: YesNo;
5057
+ has_blind_spot_monitoring: YesNo;
5058
+ has_collision_warning_system: YesNo;
5059
+ has_immobilizer: YesNo;
5060
+ has_dashcam: YesNo;
5061
+ has_emergency_exit: YesNo;
5062
+ vehicle_height?: number | undefined;
5063
+ vehicle_width?: number | undefined;
5064
+ vehicle_length?: number | undefined;
5065
+ vehicle_cargo_volume?: number | undefined;
5066
+ vehicle_maximum_weight_capacity?: number | undefined;
5067
+ wheel_base?: number | undefined;
5068
+ cargo_bed_length?: number | undefined;
5069
+ cargo_bed_width?: number | undefined;
5070
+ cargo_bed_height?: number | undefined;
5071
+ ground_clearance_mm?: number | undefined;
4953
5072
  }, {
4954
- km_today?: unknown;
4955
- km_this_week_sunday?: unknown;
4956
- km_this_week_monday?: unknown;
4957
- km_this_month?: unknown;
4958
- km_this_year?: unknown;
4959
- km_this_financial_year?: unknown;
4960
- km_slotted_today?: unknown;
4961
- km_slotted_this_week_sunday?: unknown;
4962
- km_slotted_this_week_monday?: unknown;
4963
- km_slotted_this_month?: unknown;
4964
- km_slotted_this_year?: unknown;
4965
- km_slotted_this_financial_year?: unknown;
4966
- km_total_distance?: unknown;
5073
+ status: Status;
5074
+ has_air_conditioning: YesNo;
5075
+ has_heating_system: YesNo;
5076
+ has_reclining_seats: YesNo;
5077
+ has_safety_belts: YesNo;
5078
+ has_headrests: YesNo;
5079
+ has_armrests: YesNo;
5080
+ has_infotainment_system: YesNo;
5081
+ has_individual_lighting: YesNo;
5082
+ has_overhead_luggage_storage: YesNo;
5083
+ wheelchair_accessible: YesNo;
5084
+ has_lift_gate: YesNo;
5085
+ has_refrigeration_unit: YesNo;
5086
+ has_side_doors: YesNo;
5087
+ has_roof_hatch: YesNo;
5088
+ is_custom_body_built: YesNo;
5089
+ has_dual_rear_wheels: YesNo;
5090
+ suspension_adjustability: YesNo;
5091
+ has_spare_tire: YesNo;
5092
+ has_all_terrain_tires: YesNo;
5093
+ has_run_flat_tires: YesNo;
5094
+ steering_type: SteeringType;
5095
+ wheel_drive_type: WheelDriveType;
5096
+ has_abs: YesNo;
5097
+ has_airbags: YesNo;
5098
+ has_speed_limiter: YesNo;
5099
+ has_gps_tracker: YesNo;
5100
+ has_parking_sensors: YesNo;
5101
+ has_rear_camera: YesNo;
5102
+ has_lane_assist: YesNo;
5103
+ has_automatic_emergency_brake: YesNo;
5104
+ has_tire_pressure_monitoring: YesNo;
5105
+ has_blind_spot_monitoring: YesNo;
5106
+ has_collision_warning_system: YesNo;
5107
+ has_immobilizer: YesNo;
5108
+ has_dashcam: YesNo;
5109
+ has_emergency_exit: YesNo;
5110
+ vehicle_body_details?: string | undefined;
5111
+ vehicle_height?: unknown;
5112
+ vehicle_width?: unknown;
5113
+ vehicle_length?: unknown;
5114
+ vehicle_passenger_capacity?: unknown;
5115
+ vehicle_cargo_volume?: unknown;
5116
+ vehicle_maximum_weight_capacity?: unknown;
5117
+ wheel_base?: unknown;
5118
+ number_of_doors?: unknown;
5119
+ standing_passenger_capacity?: unknown;
5120
+ seat_configuration?: string | undefined;
5121
+ infotainment_type?: string | undefined;
5122
+ cargo_area_type?: string | undefined;
5123
+ refrigeration_temperature_range?: string | undefined;
5124
+ cargo_bed_length?: unknown;
5125
+ cargo_bed_width?: unknown;
5126
+ cargo_bed_height?: unknown;
5127
+ cargo_floor_material?: string | undefined;
5128
+ cargo_tie_down_hooks_count?: unknown;
5129
+ number_of_axles?: unknown;
5130
+ axle_configuration?: string | undefined;
5131
+ suspension_type?: string | undefined;
5132
+ ground_clearance_mm?: unknown;
5133
+ tire_size?: string | undefined;
4967
5134
  }>;
4968
- type VehicleDetailGPSAnalyticsDTO = z.infer<typeof VehicleDetailGPSAnalyticsSchema>;
5135
+ type VehicleDetailBodyDTO = z.infer<typeof VehicleDetailBodySchema>;
4969
5136
  declare const VehicleDetailLifeCycleSchema: z.ZodObject<{
4970
5137
  service_start_date: z.ZodDefault<z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>>;
4971
5138
  service_start_odometer_reading: z.ZodEffects<z.ZodDefault<z.ZodOptional<z.ZodNumber>>, number, unknown>;
@@ -4973,7 +5140,9 @@ declare const VehicleDetailLifeCycleSchema: z.ZodObject<{
4973
5140
  service_end_odometer_reading: z.ZodEffects<z.ZodDefault<z.ZodOptional<z.ZodNumber>>, number, unknown>;
4974
5141
  life_estimate_max_month_year: z.ZodDefault<z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>>;
4975
5142
  life_estimate_max_odometer_reading: z.ZodEffects<z.ZodDefault<z.ZodOptional<z.ZodNumber>>, number, unknown>;
4976
- life_expiry: z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof LifeExpiry>>>;
5143
+ life_expiry: z.ZodType<LifeExpiry, z.ZodTypeDef, LifeExpiry>;
5144
+ is_extended_life_approved: z.ZodType<YesNo, z.ZodTypeDef, YesNo>;
5145
+ life_status: z.ZodType<VehicleLifeStatus, z.ZodTypeDef, VehicleLifeStatus>;
4977
5146
  life_expiry_message: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
4978
5147
  life_expiry_note: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
4979
5148
  status: z.ZodType<Status, z.ZodTypeDef, Status>;
@@ -4988,15 +5157,19 @@ declare const VehicleDetailLifeCycleSchema: z.ZodObject<{
4988
5157
  life_expiry: LifeExpiry;
4989
5158
  life_expiry_message: string;
4990
5159
  life_expiry_note: string;
5160
+ is_extended_life_approved: YesNo;
5161
+ life_status: VehicleLifeStatus;
4991
5162
  }, {
4992
5163
  status: Status;
5164
+ life_expiry: LifeExpiry;
5165
+ is_extended_life_approved: YesNo;
5166
+ life_status: VehicleLifeStatus;
4993
5167
  service_start_date?: string | undefined;
4994
5168
  service_start_odometer_reading?: unknown;
4995
5169
  service_end_date?: string | undefined;
4996
5170
  service_end_odometer_reading?: unknown;
4997
5171
  life_estimate_max_month_year?: string | undefined;
4998
5172
  life_estimate_max_odometer_reading?: unknown;
4999
- life_expiry?: LifeExpiry | undefined;
5000
5173
  life_expiry_message?: string | undefined;
5001
5174
  life_expiry_note?: string | undefined;
5002
5175
  }>;
@@ -5004,20 +5177,18 @@ type VehicleDetailLifeCycleDto = z.infer<typeof VehicleDetailLifeCycleSchema>;
5004
5177
  declare const VehicleDetailPurchaseSchema: z.ZodObject<{
5005
5178
  purchase_date: z.ZodDefault<z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>>;
5006
5179
  purchase_notes: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
5007
- purchase_vehicle_type: z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof PurchaseVehicleType>>>;
5008
- purchase_type: z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof PurchaseType>>>;
5009
- purchase_vendor_id: z.ZodEffects<z.ZodString, string, string>;
5180
+ purchase_vehicle_type: z.ZodType<PurchaseVehicleType, z.ZodTypeDef, PurchaseVehicleType>;
5181
+ purchase_type: z.ZodType<PurchaseType, z.ZodTypeDef, PurchaseType>;
5010
5182
  purchase_total_amount: z.ZodOptional<z.ZodEffects<z.ZodDefault<z.ZodNumber>, number, unknown>>;
5011
- loan_lender_id: z.ZodEffects<z.ZodString, string, string>;
5012
5183
  loan_amount: z.ZodOptional<z.ZodEffects<z.ZodDefault<z.ZodNumber>, number, unknown>>;
5013
5184
  loan_down_payment: z.ZodOptional<z.ZodEffects<z.ZodDefault<z.ZodNumber>, number, unknown>>;
5014
5185
  loan_interest_rate: z.ZodOptional<z.ZodEffects<z.ZodDefault<z.ZodNumber>, number, unknown>>;
5186
+ loan_interest_type: z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof LoanInterestType>>>;
5015
5187
  loan_no_of_installments: z.ZodEffects<z.ZodDefault<z.ZodOptional<z.ZodNumber>>, number, unknown>;
5016
5188
  loan_first_payment_date: z.ZodDefault<z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>>;
5017
5189
  loan_last_payment_date: z.ZodDefault<z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>>;
5018
5190
  loan_monthly_emi: z.ZodOptional<z.ZodEffects<z.ZodDefault<z.ZodNumber>, number, unknown>>;
5019
5191
  loan_emi_date: z.ZodEffects<z.ZodDefault<z.ZodOptional<z.ZodNumber>>, number, unknown>;
5020
- lease_vendor_id: z.ZodEffects<z.ZodString, string, string>;
5021
5192
  lease_start_date: z.ZodDefault<z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>>;
5022
5193
  lease_end_date: z.ZodDefault<z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>>;
5023
5194
  lease_security_deposit_amount: z.ZodOptional<z.ZodEffects<z.ZodDefault<z.ZodNumber>, number, unknown>>;
@@ -5026,6 +5197,9 @@ declare const VehicleDetailPurchaseSchema: z.ZodObject<{
5026
5197
  warranty_expiration_date: z.ZodDefault<z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>>;
5027
5198
  warranty_max_odometer_reading: z.ZodEffects<z.ZodDefault<z.ZodOptional<z.ZodNumber>>, number, unknown>;
5028
5199
  warranty_exchange_date: z.ZodDefault<z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>>;
5200
+ purchase_vendor_id: z.ZodEffects<z.ZodString, string, string>;
5201
+ loan_lender_id: z.ZodEffects<z.ZodString, string, string>;
5202
+ lease_vendor_id: z.ZodEffects<z.ZodString, string, string>;
5029
5203
  status: z.ZodType<Status, z.ZodTypeDef, Status>;
5030
5204
  }, "strip", z.ZodTypeAny, {
5031
5205
  status: Status;
@@ -5046,6 +5220,7 @@ declare const VehicleDetailPurchaseSchema: z.ZodObject<{
5046
5220
  purchase_vendor_id: string;
5047
5221
  loan_lender_id: string;
5048
5222
  lease_vendor_id: string;
5223
+ loan_interest_type: LoanInterestType;
5049
5224
  purchase_total_amount?: number | undefined;
5050
5225
  loan_amount?: number | undefined;
5051
5226
  loan_down_payment?: number | undefined;
@@ -5055,13 +5230,13 @@ declare const VehicleDetailPurchaseSchema: z.ZodObject<{
5055
5230
  lease_monthly_emi_amount?: number | undefined;
5056
5231
  }, {
5057
5232
  status: Status;
5233
+ purchase_vehicle_type: PurchaseVehicleType;
5234
+ purchase_type: PurchaseType;
5058
5235
  purchase_vendor_id: string;
5059
5236
  loan_lender_id: string;
5060
5237
  lease_vendor_id: string;
5061
5238
  purchase_date?: string | undefined;
5062
5239
  purchase_notes?: string | undefined;
5063
- purchase_vehicle_type?: PurchaseVehicleType | undefined;
5064
- purchase_type?: PurchaseType | undefined;
5065
5240
  purchase_total_amount?: unknown;
5066
5241
  loan_amount?: unknown;
5067
5242
  loan_down_payment?: unknown;
@@ -5079,43 +5254,266 @@ declare const VehicleDetailPurchaseSchema: z.ZodObject<{
5079
5254
  warranty_expiration_date?: string | undefined;
5080
5255
  warranty_max_odometer_reading?: unknown;
5081
5256
  warranty_exchange_date?: string | undefined;
5257
+ loan_interest_type?: LoanInterestType | undefined;
5082
5258
  }>;
5083
5259
  type VehicleDetailPurchaseDTO = z.infer<typeof VehicleDetailPurchaseSchema>;
5084
- declare const VehicleDetailTripSchema: z.ZodObject<{
5085
- trip_name: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
5086
- trip_no: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
5087
- eway_bill_number: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
5088
- route_name: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
5089
- trip_start_date: z.ZodDefault<z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>>;
5090
- trip_end_date: z.ZodDefault<z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>>;
5091
- trip_notes_1: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
5092
- trip_notes_2: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
5093
- trip_notes_3: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
5260
+ declare const MasterVehicleDocumentFileSchema: z.ZodObject<{
5261
+ usage_type: z.ZodEffects<z.ZodString, string, string>;
5262
+ file_type: z.ZodType<FileType, z.ZodTypeDef, FileType>;
5263
+ file_url: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
5264
+ file_key: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
5265
+ file_name: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
5266
+ file_description: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
5267
+ file_size: z.ZodEffects<z.ZodDefault<z.ZodOptional<z.ZodNumber>>, number, unknown>;
5268
+ file_metadata: z.ZodDefault<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
5269
+ status: z.ZodType<Status, z.ZodTypeDef, Status>;
5270
+ } & {
5271
+ organisation_id: z.ZodEffects<z.ZodString, string, string>;
5272
+ vehicle_document_id: z.ZodEffects<z.ZodString, string, string>;
5273
+ }, "strip", z.ZodTypeAny, {
5274
+ status: Status;
5275
+ organisation_id: string;
5276
+ usage_type: string;
5277
+ file_type: FileType;
5278
+ file_url: string;
5279
+ file_key: string;
5280
+ file_name: string;
5281
+ file_description: string;
5282
+ file_size: number;
5283
+ file_metadata: Record<string, any>;
5284
+ vehicle_document_id: string;
5285
+ }, {
5286
+ status: Status;
5287
+ organisation_id: string;
5288
+ usage_type: string;
5289
+ file_type: FileType;
5290
+ vehicle_document_id: string;
5291
+ file_url?: string | undefined;
5292
+ file_key?: string | undefined;
5293
+ file_name?: string | undefined;
5294
+ file_description?: string | undefined;
5295
+ file_size?: unknown;
5296
+ file_metadata?: Record<string, any> | undefined;
5297
+ }>;
5298
+ type MasterVehicleDocumentFileDTO = z.infer<typeof MasterVehicleDocumentFileSchema>;
5299
+ declare const VehicleDocumentSchema: z.ZodObject<{
5300
+ organisation_id: z.ZodEffects<z.ZodString, string, string>;
5301
+ vehicle_id: z.ZodEffects<z.ZodString, string, string>;
5302
+ document_type_id: z.ZodEffects<z.ZodString, string, string>;
5303
+ vendor_id: z.ZodEffects<z.ZodString, string, string>;
5304
+ vehicle_document_code: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
5305
+ document_number: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
5306
+ document_authorized_name: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
5307
+ document_cost: z.ZodOptional<z.ZodEffects<z.ZodDefault<z.ZodNumber>, number, unknown>>;
5308
+ document_issue_date: z.ZodDefault<z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>>;
5309
+ document_valid_till_date: z.ZodDefault<z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>>;
5310
+ document_renewal_date: z.ZodDefault<z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>>;
5311
+ document_validity_status: z.ZodType<DocumentValidityStatus, z.ZodTypeDef, DocumentValidityStatus>;
5312
+ document_status: z.ZodType<DocumentStatus, z.ZodTypeDef, DocumentStatus>;
5313
+ document_details_1: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
5314
+ document_details_2: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
5315
+ document_details_3: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
5316
+ document_details_4: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
5317
+ document_notes: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
5094
5318
  status: z.ZodType<Status, z.ZodTypeDef, Status>;
5319
+ MasterVehicleDocumentFileSchema: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
5320
+ usage_type: z.ZodEffects<z.ZodString, string, string>;
5321
+ file_type: z.ZodType<FileType, z.ZodTypeDef, FileType>;
5322
+ file_url: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
5323
+ file_key: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
5324
+ file_name: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
5325
+ file_description: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
5326
+ file_size: z.ZodEffects<z.ZodDefault<z.ZodOptional<z.ZodNumber>>, number, unknown>;
5327
+ file_metadata: z.ZodDefault<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
5328
+ status: z.ZodType<Status, z.ZodTypeDef, Status>;
5329
+ } & {
5330
+ organisation_id: z.ZodEffects<z.ZodString, string, string>;
5331
+ vehicle_document_id: z.ZodEffects<z.ZodString, string, string>;
5332
+ }, z.UnknownKeysParam, z.ZodTypeAny, {
5333
+ status: Status;
5334
+ organisation_id: string;
5335
+ usage_type: string;
5336
+ file_type: FileType;
5337
+ file_url: string;
5338
+ file_key: string;
5339
+ file_name: string;
5340
+ file_description: string;
5341
+ file_size: number;
5342
+ file_metadata: Record<string, any>;
5343
+ vehicle_document_id: string;
5344
+ }, {
5345
+ status: Status;
5346
+ organisation_id: string;
5347
+ usage_type: string;
5348
+ file_type: FileType;
5349
+ vehicle_document_id: string;
5350
+ file_url?: string | undefined;
5351
+ file_key?: string | undefined;
5352
+ file_name?: string | undefined;
5353
+ file_description?: string | undefined;
5354
+ file_size?: unknown;
5355
+ file_metadata?: Record<string, any> | undefined;
5356
+ }>, "many">>>;
5095
5357
  }, "strip", z.ZodTypeAny, {
5096
5358
  status: Status;
5097
- trip_name: string;
5098
- trip_no: string;
5099
- eway_bill_number: string;
5100
- route_name: string;
5101
- trip_start_date: string;
5102
- trip_end_date: string;
5103
- trip_notes_1: string;
5104
- trip_notes_2: string;
5105
- trip_notes_3: string;
5359
+ organisation_id: string;
5360
+ vehicle_id: string;
5361
+ document_type_id: string;
5362
+ vendor_id: string;
5363
+ vehicle_document_code: string;
5364
+ document_number: string;
5365
+ document_authorized_name: string;
5366
+ document_issue_date: string;
5367
+ document_valid_till_date: string;
5368
+ document_renewal_date: string;
5369
+ document_validity_status: DocumentValidityStatus;
5370
+ document_status: DocumentStatus;
5371
+ document_details_1: string;
5372
+ document_details_2: string;
5373
+ document_details_3: string;
5374
+ document_details_4: string;
5375
+ document_notes: string;
5376
+ MasterVehicleDocumentFileSchema: {
5377
+ status: Status;
5378
+ organisation_id: string;
5379
+ usage_type: string;
5380
+ file_type: FileType;
5381
+ file_url: string;
5382
+ file_key: string;
5383
+ file_name: string;
5384
+ file_description: string;
5385
+ file_size: number;
5386
+ file_metadata: Record<string, any>;
5387
+ vehicle_document_id: string;
5388
+ }[];
5389
+ document_cost?: number | undefined;
5106
5390
  }, {
5107
5391
  status: Status;
5108
- trip_name?: string | undefined;
5109
- trip_no?: string | undefined;
5110
- eway_bill_number?: string | undefined;
5111
- route_name?: string | undefined;
5112
- trip_start_date?: string | undefined;
5113
- trip_end_date?: string | undefined;
5114
- trip_notes_1?: string | undefined;
5115
- trip_notes_2?: string | undefined;
5116
- trip_notes_3?: string | undefined;
5392
+ organisation_id: string;
5393
+ vehicle_id: string;
5394
+ document_type_id: string;
5395
+ vendor_id: string;
5396
+ document_validity_status: DocumentValidityStatus;
5397
+ document_status: DocumentStatus;
5398
+ vehicle_document_code?: string | undefined;
5399
+ document_number?: string | undefined;
5400
+ document_authorized_name?: string | undefined;
5401
+ document_cost?: unknown;
5402
+ document_issue_date?: string | undefined;
5403
+ document_valid_till_date?: string | undefined;
5404
+ document_renewal_date?: string | undefined;
5405
+ document_details_1?: string | undefined;
5406
+ document_details_2?: string | undefined;
5407
+ document_details_3?: string | undefined;
5408
+ document_details_4?: string | undefined;
5409
+ document_notes?: string | undefined;
5410
+ MasterVehicleDocumentFileSchema?: {
5411
+ status: Status;
5412
+ organisation_id: string;
5413
+ usage_type: string;
5414
+ file_type: FileType;
5415
+ vehicle_document_id: string;
5416
+ file_url?: string | undefined;
5417
+ file_key?: string | undefined;
5418
+ file_name?: string | undefined;
5419
+ file_description?: string | undefined;
5420
+ file_size?: unknown;
5421
+ file_metadata?: Record<string, any> | undefined;
5422
+ }[] | undefined;
5117
5423
  }>;
5118
- type VehicleDetailTripDTO = z.infer<typeof VehicleDetailTripSchema>;
5424
+ type VehicleDocumentDTO = z.infer<typeof VehicleDocumentSchema>;
5425
+ declare const VehicleDocumentQuerySchema: z.ZodObject<{
5426
+ search: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
5427
+ status: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof Status>, "many">>>;
5428
+ paging: z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof PAGING>>>;
5429
+ page_count: z.ZodEffects<z.ZodDefault<z.ZodOptional<z.ZodNumber>>, number, unknown>;
5430
+ page_index: z.ZodEffects<z.ZodDefault<z.ZodOptional<z.ZodNumber>>, number, unknown>;
5431
+ load_parents: z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof LoadParents>>>;
5432
+ load_parents_list: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
5433
+ load_child: z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof LoadChild>>>;
5434
+ load_child_list: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
5435
+ load_child_count: z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof LoadChildCount>>>;
5436
+ load_child_count_list: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
5437
+ include_details: z.ZodDefault<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
5438
+ where_relations: z.ZodDefault<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
5439
+ order_by: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
5440
+ name: z.ZodEffects<z.ZodString, string, string>;
5441
+ field: z.ZodEffects<z.ZodString, string, string>;
5442
+ direction: z.ZodType<OrderBy, z.ZodTypeDef, OrderBy>;
5443
+ }, "strip", z.ZodTypeAny, {
5444
+ name: string;
5445
+ field: string;
5446
+ direction: OrderBy;
5447
+ }, {
5448
+ name: string;
5449
+ field: string;
5450
+ direction: OrderBy;
5451
+ }>, "many">>>;
5452
+ include_master_data: z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof YesNo>>>;
5453
+ date_format_id: z.ZodEffects<z.ZodString, string, string>;
5454
+ time_zone_id: z.ZodEffects<z.ZodString, string, string>;
5455
+ } & {
5456
+ organisation_ids: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
5457
+ vehicle_ids: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
5458
+ document_type_ids: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
5459
+ vendor_ids: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
5460
+ vehicle_document_ids: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
5461
+ }, "strip", z.ZodTypeAny, {
5462
+ status: Status[];
5463
+ search: string;
5464
+ paging: PAGING;
5465
+ page_count: number;
5466
+ page_index: number;
5467
+ load_parents: LoadParents;
5468
+ load_parents_list: string[];
5469
+ load_child: LoadChild;
5470
+ load_child_list: string[];
5471
+ load_child_count: LoadChildCount;
5472
+ load_child_count_list: string[];
5473
+ include_details: Record<string, any>;
5474
+ where_relations: Record<string, any>;
5475
+ order_by: {
5476
+ name: string;
5477
+ field: string;
5478
+ direction: OrderBy;
5479
+ }[];
5480
+ include_master_data: YesNo;
5481
+ date_format_id: string;
5482
+ time_zone_id: string;
5483
+ organisation_ids: string[];
5484
+ vehicle_ids: string[];
5485
+ document_type_ids: string[];
5486
+ vendor_ids: string[];
5487
+ vehicle_document_ids: string[];
5488
+ }, {
5489
+ date_format_id: string;
5490
+ time_zone_id: string;
5491
+ status?: Status[] | undefined;
5492
+ search?: string | undefined;
5493
+ paging?: PAGING | undefined;
5494
+ page_count?: unknown;
5495
+ page_index?: unknown;
5496
+ load_parents?: LoadParents | undefined;
5497
+ load_parents_list?: string[] | undefined;
5498
+ load_child?: LoadChild | undefined;
5499
+ load_child_list?: string[] | undefined;
5500
+ load_child_count?: LoadChildCount | undefined;
5501
+ load_child_count_list?: string[] | undefined;
5502
+ include_details?: Record<string, any> | undefined;
5503
+ where_relations?: Record<string, any> | undefined;
5504
+ order_by?: {
5505
+ name: string;
5506
+ field: string;
5507
+ direction: OrderBy;
5508
+ }[] | undefined;
5509
+ include_master_data?: YesNo | undefined;
5510
+ organisation_ids?: string[] | undefined;
5511
+ vehicle_ids?: string[] | undefined;
5512
+ document_type_ids?: string[] | undefined;
5513
+ vendor_ids?: string[] | undefined;
5514
+ vehicle_document_ids?: string[] | undefined;
5515
+ }>;
5516
+ type VehicleDocumentQueryDTO = z.infer<typeof VehicleDocumentQuerySchema>;
5119
5517
  declare const VehicleQuerySchema: z.ZodObject<{
5120
5518
  search: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
5121
5519
  status: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof Status>, "many">>>;
@@ -5148,25 +5546,26 @@ declare const VehicleQuerySchema: z.ZodObject<{
5148
5546
  time_zone_id: z.ZodEffects<z.ZodString, string, string>;
5149
5547
  } & {
5150
5548
  organisation_ids: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
5549
+ is_driver_assigned: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof YesNo>, "many">>>;
5151
5550
  driver_ids: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
5551
+ is_device_installed: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof YesNo>, "many">>>;
5152
5552
  device_ids: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
5153
5553
  organisation_sub_company_ids: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
5154
5554
  organisation_branch_ids: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
5155
5555
  organisation_tag_ids: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
5156
5556
  organisation_color_ids: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
5557
+ vehicle_type_ids: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
5157
5558
  vehicle_make_ids: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
5158
5559
  vehicle_model_ids: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
5159
5560
  vehicle_sub_model_ids: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
5160
- vehicle_type_ids: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
5161
5561
  vehicle_status_type_ids: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
5162
5562
  vehicle_ownership_type_ids: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
5563
+ vehicle_associated_to_ids: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
5163
5564
  vehicle_fuel_type_ids: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
5565
+ vehicle_fuel_unit_ids: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
5164
5566
  vehicle_ids: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
5165
- is_device_installed: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof YesNo>, "many">>>;
5166
- is_driver_assigned: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof YesNo>, "many">>>;
5167
5567
  }, "strip", z.ZodTypeAny, {
5168
5568
  status: Status[];
5169
- vehicle_ids: string[];
5170
5569
  search: string;
5171
5570
  paging: PAGING;
5172
5571
  page_count: number;
@@ -5192,6 +5591,7 @@ declare const VehicleQuerySchema: z.ZodObject<{
5192
5591
  organisation_branch_ids: string[];
5193
5592
  organisation_color_ids: string[];
5194
5593
  organisation_tag_ids: string[];
5594
+ vehicle_ids: string[];
5195
5595
  driver_ids: string[];
5196
5596
  device_ids: string[];
5197
5597
  vehicle_make_ids: string[];
@@ -5200,14 +5600,15 @@ declare const VehicleQuerySchema: z.ZodObject<{
5200
5600
  vehicle_status_type_ids: string[];
5201
5601
  vehicle_ownership_type_ids: string[];
5202
5602
  vehicle_type_ids: string[];
5603
+ vehicle_associated_to_ids: string[];
5203
5604
  is_driver_assigned: YesNo[];
5204
5605
  is_device_installed: YesNo[];
5205
5606
  vehicle_fuel_type_ids: string[];
5607
+ vehicle_fuel_unit_ids: string[];
5206
5608
  }, {
5207
5609
  date_format_id: string;
5208
5610
  time_zone_id: string;
5209
5611
  status?: Status[] | undefined;
5210
- vehicle_ids?: string[] | undefined;
5211
5612
  search?: string | undefined;
5212
5613
  paging?: PAGING | undefined;
5213
5614
  page_count?: unknown;
@@ -5231,6 +5632,7 @@ declare const VehicleQuerySchema: z.ZodObject<{
5231
5632
  organisation_branch_ids?: string[] | undefined;
5232
5633
  organisation_color_ids?: string[] | undefined;
5233
5634
  organisation_tag_ids?: string[] | undefined;
5635
+ vehicle_ids?: string[] | undefined;
5234
5636
  driver_ids?: string[] | undefined;
5235
5637
  device_ids?: string[] | undefined;
5236
5638
  vehicle_make_ids?: string[] | undefined;
@@ -5239,11 +5641,93 @@ declare const VehicleQuerySchema: z.ZodObject<{
5239
5641
  vehicle_status_type_ids?: string[] | undefined;
5240
5642
  vehicle_ownership_type_ids?: string[] | undefined;
5241
5643
  vehicle_type_ids?: string[] | undefined;
5644
+ vehicle_associated_to_ids?: string[] | undefined;
5242
5645
  is_driver_assigned?: YesNo[] | undefined;
5243
5646
  is_device_installed?: YesNo[] | undefined;
5244
5647
  vehicle_fuel_type_ids?: string[] | undefined;
5648
+ vehicle_fuel_unit_ids?: string[] | undefined;
5245
5649
  }>;
5246
5650
  type VehicleQueryDTO = z.infer<typeof VehicleQuerySchema>;
5651
+ declare const SimpleFindQuerySchema: z.ZodObject<{
5652
+ search: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
5653
+ status: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof Status>, "many">>>;
5654
+ paging: z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof PAGING>>>;
5655
+ page_count: z.ZodEffects<z.ZodDefault<z.ZodOptional<z.ZodNumber>>, number, unknown>;
5656
+ page_index: z.ZodEffects<z.ZodDefault<z.ZodOptional<z.ZodNumber>>, number, unknown>;
5657
+ load_parents: z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof LoadParents>>>;
5658
+ load_parents_list: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
5659
+ load_child: z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof LoadChild>>>;
5660
+ load_child_list: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
5661
+ load_child_count: z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof LoadChildCount>>>;
5662
+ load_child_count_list: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
5663
+ include_details: z.ZodDefault<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
5664
+ where_relations: z.ZodDefault<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
5665
+ order_by: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
5666
+ name: z.ZodEffects<z.ZodString, string, string>;
5667
+ field: z.ZodEffects<z.ZodString, string, string>;
5668
+ direction: z.ZodType<OrderBy, z.ZodTypeDef, OrderBy>;
5669
+ }, "strip", z.ZodTypeAny, {
5670
+ name: string;
5671
+ field: string;
5672
+ direction: OrderBy;
5673
+ }, {
5674
+ name: string;
5675
+ field: string;
5676
+ direction: OrderBy;
5677
+ }>, "many">>>;
5678
+ include_master_data: z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof YesNo>>>;
5679
+ date_format_id: z.ZodEffects<z.ZodString, string, string>;
5680
+ time_zone_id: z.ZodEffects<z.ZodString, string, string>;
5681
+ } & {
5682
+ organisation_id: z.ZodEffects<z.ZodString, string, string>;
5683
+ }, "strip", z.ZodTypeAny, {
5684
+ status: Status[];
5685
+ organisation_id: string;
5686
+ search: string;
5687
+ paging: PAGING;
5688
+ page_count: number;
5689
+ page_index: number;
5690
+ load_parents: LoadParents;
5691
+ load_parents_list: string[];
5692
+ load_child: LoadChild;
5693
+ load_child_list: string[];
5694
+ load_child_count: LoadChildCount;
5695
+ load_child_count_list: string[];
5696
+ include_details: Record<string, any>;
5697
+ where_relations: Record<string, any>;
5698
+ order_by: {
5699
+ name: string;
5700
+ field: string;
5701
+ direction: OrderBy;
5702
+ }[];
5703
+ include_master_data: YesNo;
5704
+ date_format_id: string;
5705
+ time_zone_id: string;
5706
+ }, {
5707
+ organisation_id: string;
5708
+ date_format_id: string;
5709
+ time_zone_id: string;
5710
+ status?: Status[] | undefined;
5711
+ search?: string | undefined;
5712
+ paging?: PAGING | undefined;
5713
+ page_count?: unknown;
5714
+ page_index?: unknown;
5715
+ load_parents?: LoadParents | undefined;
5716
+ load_parents_list?: string[] | undefined;
5717
+ load_child?: LoadChild | undefined;
5718
+ load_child_list?: string[] | undefined;
5719
+ load_child_count?: LoadChildCount | undefined;
5720
+ load_child_count_list?: string[] | undefined;
5721
+ include_details?: Record<string, any> | undefined;
5722
+ where_relations?: Record<string, any> | undefined;
5723
+ order_by?: {
5724
+ name: string;
5725
+ field: string;
5726
+ direction: OrderBy;
5727
+ }[] | undefined;
5728
+ include_master_data?: YesNo | undefined;
5729
+ }>;
5730
+ type SimpleFindQueryDTO = z.infer<typeof SimpleFindQuerySchema>;
5247
5731
  declare const VehicleGPSQuerySchema: z.ZodObject<{
5248
5732
  search: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
5249
5733
  status: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof Status>, "many">>>;
@@ -5280,7 +5764,6 @@ declare const VehicleGPSQuerySchema: z.ZodObject<{
5280
5764
  }, "strip", z.ZodTypeAny, {
5281
5765
  status: Status[];
5282
5766
  organisation_id: string;
5283
- vehicle_id: string;
5284
5767
  search: string;
5285
5768
  paging: PAGING;
5286
5769
  page_count: number;
@@ -5301,11 +5784,12 @@ declare const VehicleGPSQuerySchema: z.ZodObject<{
5301
5784
  include_master_data: YesNo;
5302
5785
  date_format_id: string;
5303
5786
  time_zone_id: string;
5787
+ vehicle_id: string;
5304
5788
  }, {
5305
5789
  organisation_id: string;
5306
- vehicle_id: string;
5307
5790
  date_format_id: string;
5308
5791
  time_zone_id: string;
5792
+ vehicle_id: string;
5309
5793
  status?: Status[] | undefined;
5310
5794
  search?: string | undefined;
5311
5795
  paging?: PAGING | undefined;
@@ -5329,23 +5813,25 @@ declare const VehicleGPSQuerySchema: z.ZodObject<{
5329
5813
  type VehicleGPSQueryDTO = z.infer<typeof VehicleGPSQuerySchema>;
5330
5814
  declare const toVehiclePayload: (vehicle: MasterVehicle) => VehicleDTO;
5331
5815
  declare const newVehiclePayload: () => VehicleDTO;
5332
- declare const toVehicleDetailsGPSPayload: (vehicleGPS?: VehicleDetailGPS) => VehicleDetailGPSMainDTO;
5816
+ declare const toVehicleDetailsGPSPayload: (vehicleGPS?: VehicleDetailGPS) => VehicleDetailGPS;
5817
+ declare const toVehicleDetailsTripPayload: (trip?: VehicleDetailTrip) => VehicleDetailTripDTO;
5333
5818
  declare const toVehicleDetailsBodyPayload: (vehicleBody?: VehicleDetailBody) => VehicleDetailBodyDTO;
5334
- declare const toVehicleDetailPurchasePayload: (vehiclePurchase?: VehicleDetailPurchase) => VehicleDetailPurchaseDTO;
5335
5819
  declare const toVehicleDetailLifeCyclePayload: (vehicleLifeCycle?: VehicleDetailLifeCycle) => VehicleDetailLifeCycleDto;
5820
+ declare const toVehicleDetailPurchasePayload: (vehiclePurchase?: VehicleDetailPurchase) => VehicleDetailPurchaseDTO;
5821
+ declare const get_vehicle_presigned_url: (fileName: string) => Promise<BR<AWSPresignedUrl>>;
5822
+ declare const get_device_presigned_url: (fileName: string) => Promise<BR<AWSPresignedUrl>>;
5823
+ declare const get_master_driver_presigned_url_file: (data: FilePresignedUrlDTO) => Promise<BR<AWSPresignedUrl>>;
5336
5824
  declare const findVehicles: (payload: VehicleQueryDTO) => Promise<FBR<MasterVehicle[]>>;
5337
5825
  declare const findVehiclesLiveDashboard: (payload: VehicleQueryDTO) => Promise<FBR<MasterVehicle[]>>;
5338
5826
  declare const findVehicleGPSDetails: (payload: VehicleGPSQueryDTO) => Promise<BR<VehicleDetailGPS>>;
5339
5827
  declare const createVehicle: (payload: VehicleDTO) => Promise<SBR>;
5340
5828
  declare const updateVehicle: (id: string, payload: VehicleDTO) => Promise<SBR>;
5341
5829
  declare const deleteVehicle: (id: string) => Promise<SBR>;
5830
+ declare const updateDetailsGpsSensor: (id: string, payload: VehicleDetailGPSSensorDTO) => Promise<SBR>;
5831
+ declare const updateDetailsTrip: (id: string, payload: VehicleDetailTripDTO) => Promise<SBR>;
5342
5832
  declare const updateVehicleBodyDetails: (id: string, payload: VehicleDetailBodyDTO) => Promise<SBR>;
5343
5833
  declare const updateVehicleLifeCycleDetails: (id: string, payload: VehicleDetailLifeCycleDto) => Promise<SBR>;
5344
5834
  declare const updateVehiclePurchaseDetails: (id: string, payload: VehicleDetailPurchaseDTO) => Promise<SBR>;
5345
- declare const updateVehicleGPSDetailsMain: (id: string, payload: VehicleDetailGPSMainDTO) => Promise<SBR>;
5346
- declare const updateVehicleGPSDetailsData: (id: string, payload: VehicleDetailGPSDataDTO) => Promise<SBR>;
5347
- declare const updateVehicleGPSDetailsAnalytics: (id: string, payload: VehicleDetailGPSAnalyticsDTO) => Promise<SBR>;
5348
- declare const updateVehicleTripDetails: (id: string, payload: VehicleDetailTripDTO) => Promise<SBR>;
5349
5835
  declare const linkDriverToVehicle: (payload: VehicleDriverLinkDTO) => Promise<SBR>;
5350
5836
  declare const unlinkDriverFromVehicle: (payload: VehicleDriverLinkDTO) => Promise<SBR>;
5351
5837
  declare const getDriverLinkHistoryByVehicle: (id: string, params: BaseQueryDTO) => Promise<FBR<AssignRemoveDriverHistory[]>>;
@@ -5354,11 +5840,25 @@ declare const linkDeviceToVehicle: (payload: VehicleDeviceLinkDTO) => Promise<SB
5354
5840
  declare const unlinkDeviceFromVehicle: (payload: VehicleDeviceUnlinkDTO) => Promise<SBR>;
5355
5841
  declare const getDeviceLinkHistoryByVehicle: (id: string, params: BaseQueryDTO) => Promise<FBR<AssignRemoveDeviceHistory[]>>;
5356
5842
  declare const getDeviceLinkHistoryByDevice: (id: string, params: BaseQueryDTO) => Promise<FBR<AssignRemoveDeviceHistory[]>>;
5843
+ declare const createDocument: (payload: VehicleDocumentDTO) => Promise<SBR>;
5844
+ declare const findDocument: (payload: VehicleDocumentQueryDTO) => Promise<SBR>;
5845
+ declare const updateDocument: (id: string, payload: VehicleDocumentDTO) => Promise<SBR>;
5846
+ declare const removeDocument: (id: string) => Promise<SBR>;
5847
+ declare const createFileVehicle: (payload: MasterVehicleFileDTO) => Promise<SBR>;
5848
+ declare const removeFileVehicle: (id: string) => Promise<SBR>;
5849
+ declare const createFileDevice: (payload: MasterDeviceFileDTO) => Promise<SBR>;
5850
+ declare const removeFileDevice: (id: string) => Promise<SBR>;
5851
+ declare const createFileVehicleDocument: (payload: MasterVehicleDocumentFileDTO) => Promise<SBR>;
5852
+ declare const removeFileVehicleDocument: (id: string) => Promise<SBR>;
5357
5853
  declare const getVehicleCache: (organisationId: string) => Promise<FBR<MasterVehicle[]>>;
5358
5854
  declare const getVehicleSimpleCache: (organisationId: string) => Promise<FBR<MasterVehicle[]>>;
5855
+ declare const getVehicleParentCache: (organisationId: string) => Promise<FBR<MasterVehicle[]>>;
5359
5856
  declare const getVehicleSimpleDropdownCustom: (organisationId: string) => Promise<FBR<MasterVehicleDropdown[]>>;
5360
5857
  declare const getVehicleSimpleDropdownCacheLiveData: (organisationId: string) => Promise<FBR<MasterVehicleDropdown[]>>;
5361
- declare const getVehicleParentCache: (organisationId: string) => Promise<FBR<MasterVehicle[]>>;
5858
+ declare const getVehicleByUserCache: (userId: string) => Promise<FBR<MasterVehicle[]>>;
5859
+ declare const getVehicleSimpleByUserCache: (userId: string) => Promise<FBR<MasterVehicle[]>>;
5860
+ declare const getVehicleParentByUserCache: (userId: string) => Promise<FBR<MasterVehicle[]>>;
5861
+ declare const getVehicleSimpleDropdownByUserCustom: (userId: string) => Promise<FBR<MasterVehicleDropdown[]>>;
5362
5862
 
5363
5863
  interface MasterUserRole extends Record<string, unknown> {
5364
5864
  user_role_id: string;
@@ -5814,14 +6314,13 @@ declare const UserSchema: z.ZodObject<{
5814
6314
  date_format_id: z.ZodEffects<z.ZodString, string, string>;
5815
6315
  status: z.ZodType<Status, z.ZodTypeDef, Status>;
5816
6316
  }, "strip", z.ZodTypeAny, {
5817
- all_vehicles: YesNo;
5818
6317
  status: Status;
5819
6318
  organisation_id: string;
5820
- vehicle_ids: string[];
5821
6319
  date_format_id: string;
5822
6320
  time_zone_id: string;
5823
6321
  password: string;
5824
6322
  can_login: YesNo;
6323
+ vehicle_ids: string[];
5825
6324
  user_role_id: string;
5826
6325
  user_status_id: string;
5827
6326
  language_id: string;
@@ -5831,11 +6330,11 @@ declare const UserSchema: z.ZodObject<{
5831
6330
  username: string;
5832
6331
  mobile: string;
5833
6332
  is_root_user: YesNo;
6333
+ all_vehicles: YesNo;
5834
6334
  user_image_url: string;
5835
6335
  user_image_key: string;
5836
6336
  user_image_name: string;
5837
6337
  }, {
5838
- all_vehicles: YesNo;
5839
6338
  status: Status;
5840
6339
  organisation_id: string;
5841
6340
  date_format_id: string;
@@ -5847,8 +6346,9 @@ declare const UserSchema: z.ZodObject<{
5847
6346
  first_name: string;
5848
6347
  email: string;
5849
6348
  is_root_user: YesNo;
5850
- vehicle_ids?: string[] | undefined;
6349
+ all_vehicles: YesNo;
5851
6350
  password?: string | undefined;
6351
+ vehicle_ids?: string[] | undefined;
5852
6352
  last_name?: string | undefined;
5853
6353
  username?: string | undefined;
5854
6354
  mobile?: string | undefined;
@@ -5899,9 +6399,7 @@ declare const UserQuerySchema: z.ZodObject<{
5899
6399
  is_root_user: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof YesNo>, "many">>>;
5900
6400
  all_vehicles: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof YesNo>, "many">>>;
5901
6401
  }, "strip", z.ZodTypeAny, {
5902
- all_vehicles: YesNo[];
5903
6402
  status: Status[];
5904
- user_ids: string[];
5905
6403
  search: string;
5906
6404
  paging: PAGING;
5907
6405
  page_count: number;
@@ -5923,6 +6421,7 @@ declare const UserQuerySchema: z.ZodObject<{
5923
6421
  date_format_id: string;
5924
6422
  time_zone_id: string;
5925
6423
  organisation_ids: string[];
6424
+ user_ids: string[];
5926
6425
  time_zone_ids: string[];
5927
6426
  date_format_ids: string[];
5928
6427
  can_login: YesNo[];
@@ -5930,12 +6429,11 @@ declare const UserQuerySchema: z.ZodObject<{
5930
6429
  user_status_ids: string[];
5931
6430
  language_ids: string[];
5932
6431
  is_root_user: YesNo[];
6432
+ all_vehicles: YesNo[];
5933
6433
  }, {
5934
6434
  date_format_id: string;
5935
6435
  time_zone_id: string;
5936
- all_vehicles?: YesNo[] | undefined;
5937
6436
  status?: Status[] | undefined;
5938
- user_ids?: string[] | undefined;
5939
6437
  search?: string | undefined;
5940
6438
  paging?: PAGING | undefined;
5941
6439
  page_count?: unknown;
@@ -5955,6 +6453,7 @@ declare const UserQuerySchema: z.ZodObject<{
5955
6453
  }[] | undefined;
5956
6454
  include_master_data?: YesNo | undefined;
5957
6455
  organisation_ids?: string[] | undefined;
6456
+ user_ids?: string[] | undefined;
5958
6457
  time_zone_ids?: string[] | undefined;
5959
6458
  date_format_ids?: string[] | undefined;
5960
6459
  can_login?: YesNo[] | undefined;
@@ -5962,6 +6461,7 @@ declare const UserQuerySchema: z.ZodObject<{
5962
6461
  user_status_ids?: string[] | undefined;
5963
6462
  language_ids?: string[] | undefined;
5964
6463
  is_root_user?: YesNo[] | undefined;
6464
+ all_vehicles?: YesNo[] | undefined;
5965
6465
  }>;
5966
6466
  type UserQueryDTO = z.infer<typeof UserQuerySchema>;
5967
6467
  declare const UserLogoSchema: z.ZodObject<{
@@ -6399,4 +6899,4 @@ declare const get_user_organisation_presigned_url: (file_name: string) => Promis
6399
6899
  declare const getUserOrganisationCache: () => Promise<FBR<UserOrganisation[]>>;
6400
6900
  declare const getUserOrganisationCacheSimple: () => Promise<FBR<UserOrganisationSimple[]>>;
6401
6901
 
6402
- export { createMasterMainState as $, findMasterMainCurrencies as A, createMasterMainCurrency as B, updateMasterMainCurrency as C, deleteMasterMainCurrency as D, getMasterMainCurrencyCache as E, type MasterMainTimeZone as F, MasterMainTimeZoneSchema as G, type MasterMainTimeZoneDTO as H, MasterMainTimeZoneQuerySchema as I, type MasterMainTimeZoneQueryDTO as J, toMasterMainTimeZonePayload as K, newMasterMainTimeZonePayload as L, type MasterVehicle as M, findMasterMainTimeZones as N, type OrganisationBranch as O, createMasterMainTimeZone as P, updateMasterMainTimeZone as Q, deleteMasterMainTimeZone as R, getMasterMainTimeZoneCache as S, MasterMainStateSchema as T, type UserOrganisation as U, type MasterMainStateDTO as V, MasterMainStateQuerySchema as W, type MasterMainStateQueryDTO as X, toMasterMainStatePayload as Y, newMasterMainStatePayload as Z, findMasterMainStates as _, type User as a, getOrganisationSubCompanyCacheCount as a$, updateMasterMainState as a0, deleteMasterMainState as a1, getMasterMainStateCache as a2, MasterMainCountrySchema as a3, type MasterMainCountryDTO as a4, MasterMainCountryQuerySchema as a5, type MasterMainCountryQueryDTO as a6, toMasterMainCountryPayload as a7, newMasterMainCountryPayload as a8, findMasterMainCountries as a9, updateMasterMainUnitMileage as aA, deleteMasterMainUnitMileage as aB, getMasterMainUnitMileageCache as aC, type MasterMainUnitVolume as aD, MasterMainUnitVolumeSchema as aE, type MasterMainUnitVolumeDTO as aF, MasterMainUnitVolumeQuerySchema as aG, type MasterMainUnitVolumeQueryDTO as aH, toMasterMainUnitVolumePayload as aI, newMasterMainUnitVolumePayload as aJ, findMasterMainUnitVolumes as aK, createMasterMainUnitVolume as aL, updateMasterMainUnitVolume as aM, deleteMasterMainUnitVolume as aN, getMasterMainUnitVolumeCache as aO, type OrganisationSubCompany as aP, OrganisationSubCompanySchema as aQ, type OrganisationSubCompanyDTO as aR, OrganisationSubCompanyQuerySchema as aS, type OrganisationSubCompanyQueryDTO as aT, toOrganisationSubCompanyPayload as aU, newOrganisationSubCompanyPayload as aV, findOrganisationSubCompanyies as aW, createOrganisationSubCompany as aX, updateOrganisationSubCompany as aY, deleteOrganisationSubCompany as aZ, getOrganisationSubCompanyCache as a_, createMasterMainCountry as aa, updateMasterMainCountry as ab, deleteMasterMainCountry as ac, getMasterMainCountryCache as ad, getMasterMainCountryCacheChild as ae, type MasterMainDateFormat as af, MasterMainDateFormatSchema as ag, type MasterMainDateFormatDTO as ah, MasterMainDateFormatQuerySchema as ai, type MasterMainDateFormatQueryDTO as aj, toMasterMainDateFormatPayload as ak, newMasterMainDateFormatPayload as al, findMasterMainDateFormats as am, createMasterMainDateFormat as an, updateMasterMainDateFormat as ao, deleteMasterMainDateFormat as ap, getMasterMainDateFormatCache as aq, type MasterMainUnitMileage as ar, MasterMainUnitMileageSchema as as, type MasterMainUnitMileageDTO as at, MasterMainUnitMileageQuerySchema as au, type MasterMainUnitMileageQueryDTO as av, toMasterMainUnitMileagePayload as aw, newMasterMainUnitMileagePayload as ax, findMasterMainUnitMileages as ay, createMasterMainUnitMileage as az, type MasterDriver as b, deleteMasterDriverLogo as b$, getOrganisationSubCompanyCacheChild as b0, OrganisationBranchSchema as b1, type OrganisationBranchDTO as b2, OrganisationBranchQuerySchema as b3, type OrganisationBranchQueryDTO as b4, toOrganisationBranchPayload as b5, newOrganisationBranchPayload as b6, findOrganisationBranchs as b7, createOrganisationBranch as b8, updateOrganisationBranch as b9, createOrganisationTag as bA, updateOrganisationTag as bB, deleteOrganisationTag as bC, getOrganisationTagCache as bD, getOrganisationTagCacheCount as bE, getOrganisationTagCacheChild as bF, type MasterDriverFile as bG, type AssignRemoveDriverHistory as bH, type DriverLoginPush as bI, MasterDriverFileSchema as bJ, type MasterDriverFileDTO as bK, MasterDriverSchema as bL, type MasterDriverDTO as bM, MasterDriverQuerySchema as bN, type MasterDriverQueryDTO as bO, MasterDriverLogoSchema as bP, type MasterDriverLogoDTO as bQ, MasterDriverProfileSchema as bR, type MasterDriverProfileDTO as bS, toDriverPayload as bT, toDriverProfilePayload as bU, newDriverPayload as bV, findMasterDriver as bW, createMasterDriver as bX, updateMasterDriver as bY, deleteMasterDriver as bZ, updateMasterDriverLogo as b_, deleteOrganisationBranch as ba, getOrganisationBranchCache as bb, getOrganisationBranchCacheCount as bc, getOrganisationBranchCacheChild as bd, type OrganisationColor as be, OrganisationColorSchema as bf, type OrganisationColorDTO as bg, OrganisationColorQuerySchema as bh, type OrganisationColorQueryDTO as bi, toOrganisationColorPayload as bj, newOrganisationColorPayload as bk, findOrganisationColors as bl, createOrganisationColor as bm, updateOrganisationColor as bn, deleteOrganisationColor as bo, getOrganisationColorCache as bp, getOrganisationColorCacheCount as bq, getOrganisationColorCacheChild as br, type OrganisationTag as bs, OrganisationTagSchema as bt, type OrganisationTagDTO as bu, OrganisationTagQuerySchema as bv, type OrganisationTagQueryDTO as bw, toOrganisationTagPayload as bx, newOrganisationTagPayload as by, findOrganisationTags as bz, type MasterDevice as c, type MasterDeviceDTO as c$, updateMasterDriverProfile as c0, getMasterDriverCache as c1, getMasterDriverCacheSimple as c2, get_master_driver_presigned_url as c3, get_master_driver_presigned_url_file as c4, create_file as c5, remove_file as c6, type MasterDeviceType as c7, MasterDeviceTypeSchema as c8, type MasterDeviceTypeDTO as c9, MasterDeviceManufacturerSchema as cA, type MasterDeviceManufacturerDTO as cB, MasterDeviceManufacturerQuerySchema as cC, type MasterDeviceManufacturerQueryDTO as cD, toMasterDeviceManufacturerPayload as cE, newMasterDeviceManufacturerPayload as cF, findMasterDeviceManufacturers as cG, createMasterDeviceManufacturer as cH, updateMasterDeviceManufacturer as cI, deleteMasterDeviceManufacturer as cJ, getMasterDeviceManufacturerCache as cK, getMasterDeviceManufacturerCacheCount as cL, getMasterDeviceManufacturerCacheChild as cM, type MasterSim as cN, type AssignRemoveSimHistory as cO, MasterSimSchema as cP, type MasterSimDTO as cQ, MasterSimQuerySchema as cR, type MasterSimQueryDTO as cS, toMasterSimPayload as cT, newMasterSimPayload as cU, findMasterSims as cV, createMasterSim as cW, updateMasterSim as cX, deleteMasterSim as cY, type AssignRemoveDeviceHistory as cZ, MasterDeviceSchema as c_, MasterDeviceTypeQuerySchema as ca, type MasterDeviceTypeQueryDTO as cb, toMasterDeviceTypePayload as cc, newMasterDeviceTypePayload as cd, findMasterDeviceTypes as ce, createMasterDeviceType as cf, updateMasterDeviceType as cg, deleteMasterDeviceType as ch, getMasterDeviceTypeCache as ci, getMasterDeviceTypeCacheCount as cj, getMasterDeviceTypeCacheChild as ck, type MasterDeviceModel as cl, MasterDeviceModelSchema as cm, type MasterDeviceModelDTO as cn, MasterDeviceModelQuerySchema as co, type MasterDeviceModelQueryDTO as cp, toMasterDeviceModelPayload as cq, newMasterDeviceModelPayload as cr, findMasterDeviceModels as cs, createMasterDeviceModel as ct, updateMasterDeviceModel as cu, deleteMasterDeviceModel as cv, getMasterDeviceModelCache as cw, getMasterDeviceModelCacheCount as cx, getMasterDeviceModelCacheChild as cy, type MasterDeviceManufacturer as cz, type MasterVehicleFuelType as d, toMasterVehicleMakePayload as d$, MasterDeviceQuerySchema as d0, type MasterDeviceQueryDTO as d1, DeviceSimLinkSchema as d2, type DeviceSimLinkDTO as d3, toMasterDevicePayload as d4, newMasterDevicePayload as d5, findMasterDevices as d6, createMasterDevice as d7, updateMasterDevice as d8, deleteMasterDevice as d9, newMasterVehicleSubModelPayload as dA, findMasterVehicleSubModels as dB, createMasterVehicleSubModel as dC, updateMasterVehicleSubModel as dD, deleteMasterVehicleSubModel as dE, getMasterVehicleSubModelCache as dF, getMasterVehicleSubModelCacheCount as dG, getMasterVehicleSubModelCacheChild as dH, type MasterVehicleModel as dI, MasterVehicleModelSchema as dJ, type MasterVehicleModelDTO as dK, MasterVehicleModelQuerySchema as dL, type MasterVehicleModelQueryDTO as dM, toMasterVehicleModelPayload as dN, newMasterVehicleModelPayload as dO, findMasterVehicleModels as dP, createMasterVehicleModel as dQ, updateMasterVehicleModel as dR, deleteMasterVehicleModel as dS, getMasterVehicleModelCache as dT, getMasterVehicleModelCacheCount as dU, getMasterVehicleModelCacheChild as dV, type MasterVehicleMake as dW, MasterVehicleMakeSchema as dX, type MasterVehicleMakeDTO as dY, MasterVehicleMakeQuerySchema as dZ, type MasterVehicleMakeQueryDTO as d_, device_sim_link as da, device_sim_unlink as db, get_device_sim_link_history_by_sim as dc, get_device_sim_link_history_by_device as dd, type OrganisationGroup as de, type VehicleOrganisationGroupLink as df, OrganisationGroupSchema as dg, type OrganisationGroupDTO as dh, OrganisationGroupQuerySchema as di, type OrganisationGroupQueryDTO as dj, toOrganisationGroupPayload as dk, newOrganisationGroupPayload as dl, findOrganisationGroups as dm, createOrganisationGroup as dn, updateOrganisationGroup as dp, deleteOrganisationGroup as dq, getOrganisationGroupCache as dr, getOrganisationGroupCacheCount as ds, getOrganisationGroupCacheChild as dt, type MasterVehicleSubModel as du, MasterVehicleSubModelSchema as dv, type MasterVehicleSubModelDTO as dw, MasterVehicleSubModelQuerySchema as dx, type MasterVehicleSubModelQueryDTO as dy, toMasterVehicleSubModelPayload as dz, type MasterVehicleFuelUnit as e, type MasterVehicleAssociatedTo as e$, newMasterVehicleMakePayload as e0, findMasterVehicleMakes as e1, createMasterVehicleMake as e2, updateMasterVehicleMake as e3, deleteMasterVehicleMake as e4, getMasterVehicleMakeCache as e5, getMasterVehicleMakeCacheCount as e6, getMasterVehicleMakeCacheChild as e7, type MasterVehicleStatusType as e8, MasterVehicleStatusTypeSchema as e9, type MasterVehicleType as eA, MasterVehicleTypeSchema as eB, type MasterVehicleTypeDTO as eC, MasterVehicleTypeQuerySchema as eD, type MasterVehicleTypeQueryDTO as eE, toMasterVehicleTypePayload as eF, newMasterVehicleTypePayload as eG, findMasterVehicleTypes as eH, createMasterVehicleType as eI, updateMasterVehicleType as eJ, deleteMasterVehicleType as eK, getMasterVehicleTypeCache as eL, getMasterVehicleTypeCacheCount as eM, getMasterVehicleTypeCacheChild as eN, MasterVehicleFuelTypeSchema as eO, type MasterVehicleFuelTypeDTO as eP, MasterVehicleFuelTypeQuerySchema as eQ, type MasterVehicleFuelTypeQueryDTO as eR, toMasterVehicleFuelTypePayload as eS, newMasterVehicleFuelTypePayload as eT, findMasterVehicleFuelTypes as eU, createMasterVehicleFuelType as eV, updateMasterVehicleFuelType as eW, deleteMasterVehicleFuelType as eX, getMasterVehicleFuelTypeCache as eY, getMasterVehicleFuelTypeCacheCount as eZ, getMasterVehicleFuelTypeCacheChild as e_, type MasterVehicleStatusTypeDTO as ea, MasterVehicleStatusTypeQuerySchema as eb, type MasterVehicleStatusTypeQueryDTO as ec, toMasterVehicleStatusTypePayload as ed, newMasterVehicleStatusTypePayload as ee, findMasterVehicleStatusTypes as ef, createMasterVehicleStatusType as eg, updateMasterVehicleStatusType as eh, deleteMasterVehicleStatusType as ei, getMasterVehicleStatusTypeCache as ej, getMasterVehicleStatusTypeCacheCount as ek, getMasterVehicleStatusTypeCacheChild as el, type MasterVehicleOwnershipType as em, MasterVehicleOwnershipTypeSchema as en, type MasterVehicleOwnershipTypeDTO as eo, MasterVehicleOwnershipTypeQuerySchema as ep, type MasterVehicleOwnershipTypeQueryDTO as eq, toMasterVehicleOwnershipTypePayload as er, newMasterVehicleOwnershipTypePayload as es, findMasterVehicleOwnershipTypes as et, createMasterVehicleOwnershipType as eu, updateMasterVehicleOwnershipType as ev, deleteMasterVehicleOwnershipType as ew, getMasterVehicleOwnershipTypeCache as ex, getMasterVehicleOwnershipTypeCacheCount as ey, getMasterVehicleOwnershipTypeCacheChild as ez, type MasterMainCountry as f, toVehicleDetailsBodyPayload as f$, MasterVehicleAssociatedToSchema as f0, type MasterVehicleAssociatedToDTO as f1, MasterVehicleAssociatedToQuerySchema as f2, type MasterVehicleAssociatedToQueryDTO as f3, toMasterVehicleAssociatedToPayload as f4, newMasterVehicleAssociatedToPayload as f5, findMasterVehicleAssociatedTos as f6, createMasterVehicleAssociatedTo as f7, updateMasterVehicleAssociatedTo as f8, deleteMasterVehicleAssociatedTo as f9, VehicleDeviceUnlinkSchema as fA, type VehicleDeviceUnlinkDTO as fB, VehicleDriverLinkSchema as fC, type VehicleDriverLinkDTO as fD, SimpleFindQuerySchema as fE, type SimpleFindQueryDTO as fF, VehicleDetailBodySchema as fG, type VehicleDetailBodyDTO as fH, VehicleDetailGPSMainSchema as fI, type VehicleDetailGPSMainDTO as fJ, VehicleDetailGPSDataSchema as fK, type VehicleDetailGPSDataDTO as fL, VehicleDetailGPSAnalyticsSchema as fM, type VehicleDetailGPSAnalyticsDTO as fN, VehicleDetailLifeCycleSchema as fO, type VehicleDetailLifeCycleDto as fP, VehicleDetailPurchaseSchema as fQ, type VehicleDetailPurchaseDTO as fR, VehicleDetailTripSchema as fS, type VehicleDetailTripDTO as fT, VehicleQuerySchema as fU, type VehicleQueryDTO as fV, VehicleGPSQuerySchema as fW, type VehicleGPSQueryDTO as fX, toVehiclePayload as fY, newVehiclePayload as fZ, toVehicleDetailsGPSPayload as f_, getMasterVehicleAssociatedToCache as fa, getMasterVehicleAssociatedToCacheCount as fb, getMasterVehicleAssociatedToCacheChild as fc, MasterVehicleFuelUnitSchema as fd, type MasterVehicleFuelUnitDTO as fe, MasterVehicleFuelUnitQuerySchema as ff, type MasterVehicleFuelUnitQueryDTO as fg, toMasterVehicleFuelUnitPayload as fh, newMasterVehicleFuelUnitPayload as fi, findMasterVehicleFuelUnits as fj, createMasterVehicleFuelUnit as fk, updateMasterVehicleFuelUnit as fl, deleteMasterVehicleFuelUnit as fm, getMasterVehicleFuelUnitCache as fn, getMasterVehicleFuelUnitCacheCount as fo, getMasterVehicleFuelUnitCacheChild as fp, type MasterVehicleDropdown as fq, type VehicleDetailBody as fr, type VehicleDetailLifeCycle as fs, type VehicleDetailPurchase as ft, type VehicleDetailGPS as fu, type VehicleDetailTrip as fv, VehicleSchema as fw, type VehicleDTO as fx, VehicleDeviceLinkSchema as fy, type VehicleDeviceLinkDTO as fz, type MasterMainState as g, updateMasterMainLanguage as g$, toVehicleDetailPurchasePayload as g0, toVehicleDetailLifeCyclePayload as g1, findVehicles as g2, findVehiclesLiveDashboard as g3, findVehicleGPSDetails as g4, createVehicle as g5, updateVehicle as g6, deleteVehicle as g7, updateVehicleBodyDetails as g8, updateVehicleLifeCycleDetails as g9, createMasterUserRole as gA, updateMasterUserRole as gB, deleteMasterUserRole as gC, getMasterUserRoleCache as gD, getMasterUserRoleCacheCount as gE, type MasterUserStatus as gF, MasterUserStatusSchema as gG, type MasterUserStatusDTO as gH, MasterUserStatusQuerySchema as gI, type MasterUserStatusQueryDTO as gJ, toMasterUserStatusPayload as gK, newMasterUserStatusPayload as gL, findMasterUserStatuses as gM, createMasterUserStatus as gN, updateMasterUserStatus as gO, deleteMasterUserStatus as gP, getMasterUserStatusCache as gQ, getMasterUserStatusCacheCount as gR, type MasterMainLanguage as gS, MasterMainLanguageSchema as gT, type MasterMainLanguageDTO as gU, MasterMainLanguageQuerySchema as gV, type MasterMainLanguageQueryDTO as gW, toMasterMainLanguagePayload as gX, newMasterMainLanguagePayload as gY, findMasterMainLanguages as gZ, createMasterMainLanguage as g_, updateVehiclePurchaseDetails as ga, updateVehicleGPSDetailsMain as gb, updateVehicleGPSDetailsData as gc, updateVehicleGPSDetailsAnalytics as gd, updateVehicleTripDetails as ge, linkDriverToVehicle as gf, unlinkDriverFromVehicle as gg, getDriverLinkHistoryByVehicle as gh, getDriverLinkHistoryByDriver as gi, linkDeviceToVehicle as gj, unlinkDeviceFromVehicle as gk, getDeviceLinkHistoryByVehicle as gl, getDeviceLinkHistoryByDevice as gm, getVehicleCache as gn, getVehicleSimpleCache as go, getVehicleSimpleDropdownCustom as gp, getVehicleSimpleDropdownCacheLiveData as gq, getVehicleParentCache as gr, type MasterUserRole as gs, MasterUserRoleSchema as gt, type MasterUserRoleDTO as gu, MasterUserRoleQuerySchema as gv, type MasterUserRoleQueryDTO as gw, toMasterUserRolePayload as gx, newMasterUserRolePayload as gy, findMasterUserRoles as gz, type MasterMainIndustry as h, deleteMasterMainLanguage as h0, getMasterMainLanguageCache as h1, type UserVehicleLink as h2, type UserLoginPush as h3, UserSchema as h4, type UserDTO as h5, UserQuerySchema as h6, type UserQueryDTO as h7, UserLogoSchema as h8, type UserLogoDTO as h9, type UserOrganisationDTO as hA, UserOrganisationQuerySchema as hB, type UserOrganisationQueryDTO as hC, UserOrganisationLogoSchema as hD, type UserOrganisationLogoDTO as hE, toUserOrganisationPayload as hF, newUserOrganisationPayload as hG, findUserOrganisation as hH, createUserOrganisation as hI, updateUserOrganisation as hJ, deleteUserOrganisation as hK, updateUserOrganisationLogo as hL, deleteUserOrganisationLogo as hM, get_user_organisation_presigned_url as hN, getUserOrganisationCache as hO, getUserOrganisationCacheSimple as hP, UserProfileSchema as ha, type UserProfileDTO as hb, UserDefaultLanguageSchema as hc, type UserDefaultLanguageDTO as hd, UserDefaultTimeZoneSchema as he, type UserDefaultTimeZoneDTO as hf, UserDefaultDateFormatSchema as hg, type UserDefaultDateFormatDTO as hh, newUserPayload as hi, toUserPayload as hj, toUserProfilePayload as hk, findUser as hl, createUser as hm, updateUser as hn, deleteUser as ho, updateUserLogo as hp, deleteUserLogo as hq, updateUserProfile as hr, getUserCache as hs, getUserCacheSimple as ht, get_user_presigned_url as hu, updateUserDefaultLanguage as hv, updateUserDefaultTimezone as hw, updateUserDefaultDateformat as hx, type UserOrganisationSimple as hy, UserOrganisationSchema as hz, MasterMainIndustrySchema as i, type MasterMainIndustryDTO as j, MasterMainIndustryQuerySchema as k, type MasterMainIndustryQueryDTO as l, findMasterMainIndustrys as m, newMasterMainIndustryPayload as n, createMasterMainIndustry as o, deleteMasterMainIndustry as p, getMasterMainIndustryCache as q, type MasterMainCurrency as r, MasterMainCurrencySchema as s, toMasterMainIndustryPayload as t, updateMasterMainIndustry as u, type MasterMainCurrencyDTO as v, MasterMainCurrencyQuerySchema as w, type MasterMainCurrencyQueryDTO as x, toMasterMainCurrencyPayload as y, newMasterMainCurrencyPayload as z };
6902
+ export { createMasterMainState as $, findMasterMainCurrencies as A, createMasterMainCurrency as B, updateMasterMainCurrency as C, deleteMasterMainCurrency as D, getMasterMainCurrencyCache as E, type MasterMainTimeZone as F, MasterMainTimeZoneSchema as G, type MasterMainTimeZoneDTO as H, MasterMainTimeZoneQuerySchema as I, type MasterMainTimeZoneQueryDTO as J, toMasterMainTimeZonePayload as K, newMasterMainTimeZonePayload as L, type MasterVehicle as M, findMasterMainTimeZones as N, type OrganisationBranch as O, createMasterMainTimeZone as P, updateMasterMainTimeZone as Q, deleteMasterMainTimeZone as R, getMasterMainTimeZoneCache as S, MasterMainStateSchema as T, type UserOrganisation as U, type MasterMainStateDTO as V, MasterMainStateQuerySchema as W, type MasterMainStateQueryDTO as X, toMasterMainStatePayload as Y, newMasterMainStatePayload as Z, findMasterMainStates as _, type User as a, getOrganisationSubCompanyCacheCount as a$, updateMasterMainState as a0, deleteMasterMainState as a1, getMasterMainStateCache as a2, MasterMainCountrySchema as a3, type MasterMainCountryDTO as a4, MasterMainCountryQuerySchema as a5, type MasterMainCountryQueryDTO as a6, toMasterMainCountryPayload as a7, newMasterMainCountryPayload as a8, findMasterMainCountries as a9, updateMasterMainUnitMileage as aA, deleteMasterMainUnitMileage as aB, getMasterMainUnitMileageCache as aC, type MasterMainUnitVolume as aD, MasterMainUnitVolumeSchema as aE, type MasterMainUnitVolumeDTO as aF, MasterMainUnitVolumeQuerySchema as aG, type MasterMainUnitVolumeQueryDTO as aH, toMasterMainUnitVolumePayload as aI, newMasterMainUnitVolumePayload as aJ, findMasterMainUnitVolumes as aK, createMasterMainUnitVolume as aL, updateMasterMainUnitVolume as aM, deleteMasterMainUnitVolume as aN, getMasterMainUnitVolumeCache as aO, type OrganisationSubCompany as aP, OrganisationSubCompanySchema as aQ, type OrganisationSubCompanyDTO as aR, OrganisationSubCompanyQuerySchema as aS, type OrganisationSubCompanyQueryDTO as aT, toOrganisationSubCompanyPayload as aU, newOrganisationSubCompanyPayload as aV, findOrganisationSubCompanyies as aW, createOrganisationSubCompany as aX, updateOrganisationSubCompany as aY, deleteOrganisationSubCompany as aZ, getOrganisationSubCompanyCache as a_, createMasterMainCountry as aa, updateMasterMainCountry as ab, deleteMasterMainCountry as ac, getMasterMainCountryCache as ad, getMasterMainCountryCacheChild as ae, type MasterMainDateFormat as af, MasterMainDateFormatSchema as ag, type MasterMainDateFormatDTO as ah, MasterMainDateFormatQuerySchema as ai, type MasterMainDateFormatQueryDTO as aj, toMasterMainDateFormatPayload as ak, newMasterMainDateFormatPayload as al, findMasterMainDateFormats as am, createMasterMainDateFormat as an, updateMasterMainDateFormat as ao, deleteMasterMainDateFormat as ap, getMasterMainDateFormatCache as aq, type MasterMainUnitMileage as ar, MasterMainUnitMileageSchema as as, type MasterMainUnitMileageDTO as at, MasterMainUnitMileageQuerySchema as au, type MasterMainUnitMileageQueryDTO as av, toMasterMainUnitMileagePayload as aw, newMasterMainUnitMileagePayload as ax, findMasterMainUnitMileages as ay, createMasterMainUnitMileage as az, type MasterDriver as b, deleteMasterDriverLogo as b$, getOrganisationSubCompanyCacheChild as b0, OrganisationBranchSchema as b1, type OrganisationBranchDTO as b2, OrganisationBranchQuerySchema as b3, type OrganisationBranchQueryDTO as b4, toOrganisationBranchPayload as b5, newOrganisationBranchPayload as b6, findOrganisationBranchs as b7, createOrganisationBranch as b8, updateOrganisationBranch as b9, createOrganisationTag as bA, updateOrganisationTag as bB, deleteOrganisationTag as bC, getOrganisationTagCache as bD, getOrganisationTagCacheCount as bE, getOrganisationTagCacheChild as bF, type MasterDriverFile as bG, type AssignRemoveDriverHistory as bH, type DriverLoginPush as bI, MasterDriverFileSchema as bJ, type MasterDriverFileDTO as bK, MasterDriverSchema as bL, type MasterDriverDTO as bM, MasterDriverQuerySchema as bN, type MasterDriverQueryDTO as bO, MasterDriverLogoSchema as bP, type MasterDriverLogoDTO as bQ, MasterDriverProfileSchema as bR, type MasterDriverProfileDTO as bS, toDriverPayload as bT, toDriverProfilePayload as bU, newDriverPayload as bV, findMasterDriver as bW, createMasterDriver as bX, updateMasterDriver as bY, deleteMasterDriver as bZ, updateMasterDriverLogo as b_, deleteOrganisationBranch as ba, getOrganisationBranchCache as bb, getOrganisationBranchCacheCount as bc, getOrganisationBranchCacheChild as bd, type OrganisationColor as be, OrganisationColorSchema as bf, type OrganisationColorDTO as bg, OrganisationColorQuerySchema as bh, type OrganisationColorQueryDTO as bi, toOrganisationColorPayload as bj, newOrganisationColorPayload as bk, findOrganisationColors as bl, createOrganisationColor as bm, updateOrganisationColor as bn, deleteOrganisationColor as bo, getOrganisationColorCache as bp, getOrganisationColorCacheCount as bq, getOrganisationColorCacheChild as br, type OrganisationTag as bs, OrganisationTagSchema as bt, type OrganisationTagDTO as bu, OrganisationTagQuerySchema as bv, type OrganisationTagQueryDTO as bw, toOrganisationTagPayload as bx, newOrganisationTagPayload as by, findOrganisationTags as bz, type MasterDevice as c, type MasterDeviceDTO as c$, updateMasterDriverProfile as c0, getMasterDriverCache as c1, getMasterDriverCacheSimple as c2, get_master_driver_presigned_url as c3, get_master_driver_presigned_url_file$1 as c4, create_file as c5, remove_file as c6, type MasterDeviceType as c7, MasterDeviceTypeSchema as c8, type MasterDeviceTypeDTO as c9, MasterDeviceManufacturerSchema as cA, type MasterDeviceManufacturerDTO as cB, MasterDeviceManufacturerQuerySchema as cC, type MasterDeviceManufacturerQueryDTO as cD, toMasterDeviceManufacturerPayload as cE, newMasterDeviceManufacturerPayload as cF, findMasterDeviceManufacturers as cG, createMasterDeviceManufacturer as cH, updateMasterDeviceManufacturer as cI, deleteMasterDeviceManufacturer as cJ, getMasterDeviceManufacturerCache as cK, getMasterDeviceManufacturerCacheCount as cL, getMasterDeviceManufacturerCacheChild as cM, type MasterSim as cN, type AssignRemoveSimHistory as cO, MasterSimSchema as cP, type MasterSimDTO as cQ, MasterSimQuerySchema as cR, type MasterSimQueryDTO as cS, toMasterSimPayload as cT, newMasterSimPayload as cU, findMasterSims as cV, createMasterSim as cW, updateMasterSim as cX, deleteMasterSim as cY, type AssignRemoveDeviceHistory as cZ, MasterDeviceSchema as c_, MasterDeviceTypeQuerySchema as ca, type MasterDeviceTypeQueryDTO as cb, toMasterDeviceTypePayload as cc, newMasterDeviceTypePayload as cd, findMasterDeviceTypes as ce, createMasterDeviceType as cf, updateMasterDeviceType as cg, deleteMasterDeviceType as ch, getMasterDeviceTypeCache as ci, getMasterDeviceTypeCacheCount as cj, getMasterDeviceTypeCacheChild as ck, type MasterDeviceModel as cl, MasterDeviceModelSchema as cm, type MasterDeviceModelDTO as cn, MasterDeviceModelQuerySchema as co, type MasterDeviceModelQueryDTO as cp, toMasterDeviceModelPayload as cq, newMasterDeviceModelPayload as cr, findMasterDeviceModels as cs, createMasterDeviceModel as ct, updateMasterDeviceModel as cu, deleteMasterDeviceModel as cv, getMasterDeviceModelCache as cw, getMasterDeviceModelCacheCount as cx, getMasterDeviceModelCacheChild as cy, type MasterDeviceManufacturer as cz, type MasterVehicleFuelType as d, toMasterVehicleMakePayload as d$, MasterDeviceQuerySchema as d0, type MasterDeviceQueryDTO as d1, DeviceSimLinkSchema as d2, type DeviceSimLinkDTO as d3, toMasterDevicePayload as d4, newMasterDevicePayload as d5, findMasterDevices as d6, createMasterDevice as d7, updateMasterDevice as d8, deleteMasterDevice as d9, newMasterVehicleSubModelPayload as dA, findMasterVehicleSubModels as dB, createMasterVehicleSubModel as dC, updateMasterVehicleSubModel as dD, deleteMasterVehicleSubModel as dE, getMasterVehicleSubModelCache as dF, getMasterVehicleSubModelCacheCount as dG, getMasterVehicleSubModelCacheChild as dH, type MasterVehicleModel as dI, MasterVehicleModelSchema as dJ, type MasterVehicleModelDTO as dK, MasterVehicleModelQuerySchema as dL, type MasterVehicleModelQueryDTO as dM, toMasterVehicleModelPayload as dN, newMasterVehicleModelPayload as dO, findMasterVehicleModels as dP, createMasterVehicleModel as dQ, updateMasterVehicleModel as dR, deleteMasterVehicleModel as dS, getMasterVehicleModelCache as dT, getMasterVehicleModelCacheCount as dU, getMasterVehicleModelCacheChild as dV, type MasterVehicleMake as dW, MasterVehicleMakeSchema as dX, type MasterVehicleMakeDTO as dY, MasterVehicleMakeQuerySchema as dZ, type MasterVehicleMakeQueryDTO as d_, device_sim_link as da, device_sim_unlink as db, get_device_sim_link_history_by_sim as dc, get_device_sim_link_history_by_device as dd, type OrganisationGroup as de, type VehicleOrganisationGroupLink as df, OrganisationGroupSchema as dg, type OrganisationGroupDTO as dh, OrganisationGroupQuerySchema as di, type OrganisationGroupQueryDTO as dj, toOrganisationGroupPayload as dk, newOrganisationGroupPayload as dl, findOrganisationGroups as dm, createOrganisationGroup as dn, updateOrganisationGroup as dp, deleteOrganisationGroup as dq, getOrganisationGroupCache as dr, getOrganisationGroupCacheCount as ds, getOrganisationGroupCacheChild as dt, type MasterVehicleSubModel as du, MasterVehicleSubModelSchema as dv, type MasterVehicleSubModelDTO as dw, MasterVehicleSubModelQuerySchema as dx, type MasterVehicleSubModelQueryDTO as dy, toMasterVehicleSubModelPayload as dz, type MasterVehicleFuelUnit as e, type MasterVehicleAssociatedTo as e$, newMasterVehicleMakePayload as e0, findMasterVehicleMakes as e1, createMasterVehicleMake as e2, updateMasterVehicleMake as e3, deleteMasterVehicleMake as e4, getMasterVehicleMakeCache as e5, getMasterVehicleMakeCacheCount as e6, getMasterVehicleMakeCacheChild as e7, type MasterVehicleStatusType as e8, MasterVehicleStatusTypeSchema as e9, type MasterVehicleType as eA, MasterVehicleTypeSchema as eB, type MasterVehicleTypeDTO as eC, MasterVehicleTypeQuerySchema as eD, type MasterVehicleTypeQueryDTO as eE, toMasterVehicleTypePayload as eF, newMasterVehicleTypePayload as eG, findMasterVehicleTypes as eH, createMasterVehicleType as eI, updateMasterVehicleType as eJ, deleteMasterVehicleType as eK, getMasterVehicleTypeCache as eL, getMasterVehicleTypeCacheCount as eM, getMasterVehicleTypeCacheChild as eN, MasterVehicleFuelTypeSchema as eO, type MasterVehicleFuelTypeDTO as eP, MasterVehicleFuelTypeQuerySchema as eQ, type MasterVehicleFuelTypeQueryDTO as eR, toMasterVehicleFuelTypePayload as eS, newMasterVehicleFuelTypePayload as eT, findMasterVehicleFuelTypes as eU, createMasterVehicleFuelType as eV, updateMasterVehicleFuelType as eW, deleteMasterVehicleFuelType as eX, getMasterVehicleFuelTypeCache as eY, getMasterVehicleFuelTypeCacheCount as eZ, getMasterVehicleFuelTypeCacheChild as e_, type MasterVehicleStatusTypeDTO as ea, MasterVehicleStatusTypeQuerySchema as eb, type MasterVehicleStatusTypeQueryDTO as ec, toMasterVehicleStatusTypePayload as ed, newMasterVehicleStatusTypePayload as ee, findMasterVehicleStatusTypes as ef, createMasterVehicleStatusType as eg, updateMasterVehicleStatusType as eh, deleteMasterVehicleStatusType as ei, getMasterVehicleStatusTypeCache as ej, getMasterVehicleStatusTypeCacheCount as ek, getMasterVehicleStatusTypeCacheChild as el, type MasterVehicleOwnershipType as em, MasterVehicleOwnershipTypeSchema as en, type MasterVehicleOwnershipTypeDTO as eo, MasterVehicleOwnershipTypeQuerySchema as ep, type MasterVehicleOwnershipTypeQueryDTO as eq, toMasterVehicleOwnershipTypePayload as er, newMasterVehicleOwnershipTypePayload as es, findMasterVehicleOwnershipTypes as et, createMasterVehicleOwnershipType as eu, updateMasterVehicleOwnershipType as ev, deleteMasterVehicleOwnershipType as ew, getMasterVehicleOwnershipTypeCache as ex, getMasterVehicleOwnershipTypeCacheCount as ey, getMasterVehicleOwnershipTypeCacheChild as ez, type MasterMainCountry as f, type VehicleQueryDTO as f$, MasterVehicleAssociatedToSchema as f0, type MasterVehicleAssociatedToDTO as f1, MasterVehicleAssociatedToQuerySchema as f2, type MasterVehicleAssociatedToQueryDTO as f3, toMasterVehicleAssociatedToPayload as f4, newMasterVehicleAssociatedToPayload as f5, findMasterVehicleAssociatedTos as f6, createMasterVehicleAssociatedTo as f7, updateMasterVehicleAssociatedTo as f8, deleteMasterVehicleAssociatedTo as f9, VehicleBulkSchema as fA, type VehicleBulkDTO as fB, MasterDeviceFileSchema as fC, type MasterDeviceFileDTO as fD, VehicleDeviceLinkSchema as fE, type VehicleDeviceLinkDTO as fF, VehicleDeviceUnlinkSchema as fG, type VehicleDeviceUnlinkDTO as fH, VehicleDriverLinkSchema as fI, type VehicleDriverLinkDTO as fJ, VehicleDetailGPSSensorSchema as fK, type VehicleDetailGPSSensorDTO as fL, VehicleDetailTripSchema as fM, type VehicleDetailTripDTO as fN, VehicleDetailBodySchema as fO, type VehicleDetailBodyDTO as fP, VehicleDetailLifeCycleSchema as fQ, type VehicleDetailLifeCycleDto as fR, VehicleDetailPurchaseSchema as fS, type VehicleDetailPurchaseDTO as fT, MasterVehicleDocumentFileSchema as fU, type MasterVehicleDocumentFileDTO as fV, VehicleDocumentSchema as fW, type VehicleDocumentDTO as fX, VehicleDocumentQuerySchema as fY, type VehicleDocumentQueryDTO as fZ, VehicleQuerySchema as f_, getMasterVehicleAssociatedToCache as fa, getMasterVehicleAssociatedToCacheCount as fb, getMasterVehicleAssociatedToCacheChild as fc, MasterVehicleFuelUnitSchema as fd, type MasterVehicleFuelUnitDTO as fe, MasterVehicleFuelUnitQuerySchema as ff, type MasterVehicleFuelUnitQueryDTO as fg, toMasterVehicleFuelUnitPayload as fh, newMasterVehicleFuelUnitPayload as fi, findMasterVehicleFuelUnits as fj, createMasterVehicleFuelUnit as fk, updateMasterVehicleFuelUnit as fl, deleteMasterVehicleFuelUnit as fm, getMasterVehicleFuelUnitCache as fn, getMasterVehicleFuelUnitCacheCount as fo, getMasterVehicleFuelUnitCacheChild as fp, type MasterVehicleDropdown as fq, type VehicleDetailGPS as fr, type VehicleDetailTrip as fs, type VehicleDetailBody as ft, type VehicleDetailLifeCycle as fu, type VehicleDetailPurchase as fv, MasterVehicleFileSchema as fw, type MasterVehicleFileDTO as fx, VehicleSchema as fy, type VehicleDTO as fz, type MasterMainState as g, getMasterUserRoleCache as g$, SimpleFindQuerySchema as g0, type SimpleFindQueryDTO as g1, VehicleGPSQuerySchema as g2, type VehicleGPSQueryDTO as g3, toVehiclePayload as g4, newVehiclePayload as g5, toVehicleDetailsGPSPayload as g6, toVehicleDetailsTripPayload as g7, toVehicleDetailsBodyPayload as g8, toVehicleDetailLifeCyclePayload as g9, removeDocument as gA, createFileVehicle as gB, removeFileVehicle as gC, createFileDevice as gD, removeFileDevice as gE, createFileVehicleDocument as gF, removeFileVehicleDocument as gG, getVehicleCache as gH, getVehicleSimpleCache as gI, getVehicleParentCache as gJ, getVehicleSimpleDropdownCustom as gK, getVehicleSimpleDropdownCacheLiveData as gL, getVehicleByUserCache as gM, getVehicleSimpleByUserCache as gN, getVehicleParentByUserCache as gO, getVehicleSimpleDropdownByUserCustom as gP, type MasterUserRole as gQ, MasterUserRoleSchema as gR, type MasterUserRoleDTO as gS, MasterUserRoleQuerySchema as gT, type MasterUserRoleQueryDTO as gU, toMasterUserRolePayload as gV, newMasterUserRolePayload as gW, findMasterUserRoles as gX, createMasterUserRole as gY, updateMasterUserRole as gZ, deleteMasterUserRole as g_, toVehicleDetailPurchasePayload as ga, get_vehicle_presigned_url as gb, get_device_presigned_url as gc, get_master_driver_presigned_url_file as gd, findVehicles as ge, findVehiclesLiveDashboard as gf, findVehicleGPSDetails as gg, createVehicle as gh, updateVehicle as gi, deleteVehicle as gj, updateDetailsGpsSensor as gk, updateDetailsTrip as gl, updateVehicleBodyDetails as gm, updateVehicleLifeCycleDetails as gn, updateVehiclePurchaseDetails as go, linkDriverToVehicle as gp, unlinkDriverFromVehicle as gq, getDriverLinkHistoryByVehicle as gr, getDriverLinkHistoryByDriver as gs, linkDeviceToVehicle as gt, unlinkDeviceFromVehicle as gu, getDeviceLinkHistoryByVehicle as gv, getDeviceLinkHistoryByDevice as gw, createDocument as gx, findDocument as gy, updateDocument as gz, type MasterMainIndustry as h, UserOrganisationLogoSchema as h$, getMasterUserRoleCacheCount as h0, type MasterUserStatus as h1, MasterUserStatusSchema as h2, type MasterUserStatusDTO as h3, MasterUserStatusQuerySchema as h4, type MasterUserStatusQueryDTO as h5, toMasterUserStatusPayload as h6, newMasterUserStatusPayload as h7, findMasterUserStatuses as h8, createMasterUserStatus as h9, UserDefaultLanguageSchema as hA, type UserDefaultLanguageDTO as hB, UserDefaultTimeZoneSchema as hC, type UserDefaultTimeZoneDTO as hD, UserDefaultDateFormatSchema as hE, type UserDefaultDateFormatDTO as hF, newUserPayload as hG, toUserPayload as hH, toUserProfilePayload as hI, findUser as hJ, createUser as hK, updateUser as hL, deleteUser as hM, updateUserLogo as hN, deleteUserLogo as hO, updateUserProfile as hP, getUserCache as hQ, getUserCacheSimple as hR, get_user_presigned_url as hS, updateUserDefaultLanguage as hT, updateUserDefaultTimezone as hU, updateUserDefaultDateformat as hV, type UserOrganisationSimple as hW, UserOrganisationSchema as hX, type UserOrganisationDTO as hY, UserOrganisationQuerySchema as hZ, type UserOrganisationQueryDTO as h_, updateMasterUserStatus as ha, deleteMasterUserStatus as hb, getMasterUserStatusCache as hc, getMasterUserStatusCacheCount as hd, type MasterMainLanguage as he, MasterMainLanguageSchema as hf, type MasterMainLanguageDTO as hg, MasterMainLanguageQuerySchema as hh, type MasterMainLanguageQueryDTO as hi, toMasterMainLanguagePayload as hj, newMasterMainLanguagePayload as hk, findMasterMainLanguages as hl, createMasterMainLanguage as hm, updateMasterMainLanguage as hn, deleteMasterMainLanguage as ho, getMasterMainLanguageCache as hp, type UserVehicleLink as hq, type UserLoginPush as hr, UserSchema as hs, type UserDTO as ht, UserQuerySchema as hu, type UserQueryDTO as hv, UserLogoSchema as hw, type UserLogoDTO as hx, UserProfileSchema as hy, type UserProfileDTO as hz, MasterMainIndustrySchema as i, type UserOrganisationLogoDTO as i0, toUserOrganisationPayload as i1, newUserOrganisationPayload as i2, findUserOrganisation as i3, createUserOrganisation as i4, updateUserOrganisation as i5, deleteUserOrganisation as i6, updateUserOrganisationLogo as i7, deleteUserOrganisationLogo as i8, get_user_organisation_presigned_url as i9, getUserOrganisationCache as ia, getUserOrganisationCacheSimple as ib, type MasterMainIndustryDTO as j, MasterMainIndustryQuerySchema as k, type MasterMainIndustryQueryDTO as l, findMasterMainIndustrys as m, newMasterMainIndustryPayload as n, createMasterMainIndustry as o, deleteMasterMainIndustry as p, getMasterMainIndustryCache as q, type MasterMainCurrency as r, MasterMainCurrencySchema as s, toMasterMainIndustryPayload as t, updateMasterMainIndustry as u, type MasterMainCurrencyDTO as v, MasterMainCurrencyQuerySchema as w, type MasterMainCurrencyQueryDTO as x, toMasterMainCurrencyPayload as y, newMasterMainCurrencyPayload as z };