vms-nest-prisma-api-document 160.0.0 → 185.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/core/BaseResponse.d.ts +2 -2
- package/dist/core/Enums.d.ts +5 -1
- package/dist/core/Enums.js +6 -0
- package/dist/services/account/analytics/user_login_analytics_service.d.ts +3 -3
- package/dist/services/account/analytics/user_page_analytics_service.d.ts +1 -1
- package/dist/services/account/bookmark_service.d.ts +1 -1
- package/dist/services/account/notification_preferences.service.d.ts +1 -1
- package/dist/services/account/report_preferences.service.d.ts +1 -1
- package/dist/services/account/ticket_service.d.ts +87 -16
- package/dist/services/account/ticket_service.js +57 -31
- package/dist/services/fleet/bus_mangement/bus_stop.d.ts +19 -19
- package/dist/services/fleet/bus_mangement/calender.d.ts +1 -1
- package/dist/services/fleet/bus_mangement/master_route.d.ts +41 -41
- package/dist/services/fleet/bus_mangement/notice_board.d.ts +1 -1
- package/dist/services/fleet/bus_mangement/student.d.ts +20 -20
- package/dist/services/fleet/fuel_management/fleet_fuel_daily_summary_service.d.ts +17 -17
- package/dist/services/fleet/fuel_management/fleet_fuel_refill_service.d.ts +34 -34
- package/dist/services/fleet/fuel_management/fleet_fuel_removal_service.d.ts +48 -48
- package/dist/services/gps/features/geofence/gps_geofence_service.d.ts +1 -1
- package/dist/services/gps/features/geofence/gps_geofence_transaction_service.d.ts +6 -6
- package/dist/services/gps/features/geofence/gps_geofence_transaction_summary_service.d.ts +7 -7
- package/dist/services/gps/features/geofence/trip_geofence_to_geofence_service.d.ts +2 -2
- package/dist/services/gps/features/gps_live_track_share_link_service.d.ts +1 -1
- package/dist/services/gps/features/gps_track_history_share_link_service.d.ts +1 -1
- package/dist/services/main/devices/master_device_service.d.ts +1 -1
- package/dist/services/main/drivers/master_driver_service.d.ts +1 -1
- package/dist/services/main/drivers/master_driver_service.js +96 -121
- package/dist/services/main/sims/master_sim_service.d.ts +1 -1
- package/dist/services/main/users/auth_service.d.ts +94 -4
- package/dist/services/main/users/auth_service.js +54 -1
- package/dist/services/main/users/user_admin_service.d.ts +13 -6
- package/dist/services/main/users/user_admin_service.js +25 -16
- package/dist/services/main/users/user_organisation_service.d.ts +1 -1
- package/dist/services/main/users/user_organisation_service.js +46 -49
- package/dist/services/main/users/user_service.d.ts +1 -1
- package/dist/services/main/users/user_service.js +45 -38
- package/dist/services/main/vehicle/childs/vehicle_odometer_history.d.ts +1 -1
- package/dist/services/main/vehicle/master_vehicle_service.d.ts +1 -1
- package/dist/services/master/bus/master_class_service.d.ts +1 -1
- package/dist/services/master/bus/master_program_service.d.ts +1 -1
- package/dist/services/master/bus/master_relationship_service.d.ts +1 -1
- package/dist/services/master/bus/master_section_service.d.ts +1 -1
- package/dist/services/master/bus/master_semester_service.d.ts +1 -1
- package/dist/services/master/bus/master_stream_service.d.ts +1 -1
- package/dist/services/master/bus/master_year_service.d.ts +1 -1
- package/dist/services/master/device/master_device_manufacturer_service.d.ts +1 -1
- package/dist/services/master/device/master_device_model_service.d.ts +1 -1
- package/dist/services/master/device/master_device_type_service.d.ts +1 -1
- package/dist/services/master/expense/master_expense_name_service.d.ts +7 -7
- package/dist/services/master/expense/master_expense_type_service.d.ts +2 -2
- package/dist/services/master/expense/master_fuel_company_service.d.ts +6 -6
- package/dist/services/master/expense/master_vendor_document_type_service.d.ts +1 -1
- package/dist/services/master/expense/master_vendor_type_service.d.ts +2 -2
- package/dist/services/master/fleet/master_fleet_incident_severity_service.d.ts +4 -4
- package/dist/services/master/fleet/master_fleet_incident_status_service.d.ts +2 -2
- package/dist/services/master/fleet/master_fleet_incident_type_service.d.ts +2 -2
- package/dist/services/master/fleet/master_fleet_insurance_claim_status_service.d.ts +2 -2
- package/dist/services/master/fleet/master_fleet_service_task_service.d.ts +2 -2
- package/dist/services/master/main/master_main_country_service.d.ts +1 -1
- package/dist/services/master/main/master_main_currency_service.d.ts +1 -1
- package/dist/services/master/main/master_main_date_format_service.d.ts +1 -1
- package/dist/services/master/main/master_main_industry_service.d.ts +1 -1
- package/dist/services/master/main/master_main_landmark_service.d.ts +5 -5
- package/dist/services/master/main/master_main_language_service.d.ts +1 -1
- package/dist/services/master/main/master_main_state_service.d.ts +1 -1
- package/dist/services/master/main/master_main_timezone_service.d.ts +1 -1
- package/dist/services/master/main/master_main_timezone_service.js +1 -1
- package/dist/services/master/main/master_main_unit_distance_service.d.ts +120 -4
- package/dist/services/master/main/master_main_unit_mileage_service.d.ts +1 -1
- package/dist/services/master/main/master_main_unit_volume_service.d.ts +1 -1
- package/dist/services/master/organisation/organisation_branch_service.d.ts +1 -1
- package/dist/services/master/organisation/organisation_color_service.d.ts +1 -1
- package/dist/services/master/organisation/organisation_group_service.d.ts +1 -1
- package/dist/services/master/organisation/organisation_sub_company_service.d.ts +1 -1
- package/dist/services/master/organisation/organisation_tag_service.d.ts +1 -1
- package/dist/services/master/spare_part/master_spare_part_category_service.d.ts +1 -1
- package/dist/services/master/spare_part/master_spare_part_sub_category_service.d.ts +8 -8
- package/dist/services/master/spare_part/master_spare_part_unit_service.d.ts +2 -2
- package/dist/services/master/trip/master_trip_party_type_service.d.ts +4 -4
- package/dist/services/master/tyre/master_tyre_grade_service.d.ts +4 -4
- package/dist/services/master/tyre/master_tyre_make_service.d.ts +1 -1
- package/dist/services/master/tyre/master_tyre_model_service.d.ts +3 -3
- package/dist/services/master/user/master_user_role_service.d.ts +1 -1
- package/dist/services/master/user/master_user_status_service.d.ts +1 -1
- package/dist/services/master/vehicle/master_vehicle_associated_to_service.d.ts +1 -1
- package/dist/services/master/vehicle/master_vehicle_document_type_service.d.ts +1 -1
- package/dist/services/master/vehicle/master_vehicle_fuel_removal_reason_service.d.ts +5 -5
- package/dist/services/master/vehicle/master_vehicle_fuel_type_service.d.ts +1 -1
- package/dist/services/master/vehicle/master_vehicle_fuel_unit_service.d.ts +1 -1
- package/dist/services/master/vehicle/master_vehicle_make_service.d.ts +1 -1
- package/dist/services/master/vehicle/master_vehicle_model_service.d.ts +1 -1
- package/dist/services/master/vehicle/master_vehicle_ownership_type_service.d.ts +1 -1
- package/dist/services/master/vehicle/master_vehicle_status_type_service.d.ts +1 -1
- package/dist/services/master/vehicle/master_vehicle_sub_model_service.d.ts +1 -1
- package/dist/services/master/vehicle/master_vehicle_type_service.d.ts +1 -1
- package/dist/{user_organisation_service-DmtsKLFI.d.ts → user_organisation_service-CjwE5uAi.d.ts} +696 -776
- package/package.json +1 -1
package/dist/{user_organisation_service-DmtsKLFI.d.ts → user_organisation_service-CjwE5uAi.d.ts}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Status, PAGING, LoadParents, LoadChild, LoadChildCount, OrderBy, YesNo, SimStatus, BillingStatus, DeviceStatus, GPSSource, LifeExpiry, PurchaseVehicleType, PurchaseType, FleetSize } from './core/Enums.js';
|
|
1
|
+
import { Status, PAGING, LoadParents, LoadChild, LoadChildCount, OrderBy, YesNo, DriverType, LoginFrom, SimStatus, BillingStatus, DeviceStatus, GPSSource, LifeExpiry, PurchaseVehicleType, PurchaseType, FleetSize } from './core/Enums.js';
|
|
2
2
|
import { FBR, SBR, BR } from './core/BaseResponse.js';
|
|
3
3
|
import { z } from 'zod';
|
|
4
4
|
import { BaseQueryDTO } from './zod_utils/zod_base_schema.js';
|
|
@@ -263,7 +263,7 @@ interface MasterMainTimeZone extends Record<string, unknown> {
|
|
|
263
263
|
}
|
|
264
264
|
declare const MasterMainTimeZoneSchema: z.ZodObject<{
|
|
265
265
|
country_id: z.ZodEffects<z.ZodString, string, string>;
|
|
266
|
-
time_zone_identifier: z.
|
|
266
|
+
time_zone_identifier: z.ZodEffects<z.ZodString, string, string>;
|
|
267
267
|
time_zone_code: z.ZodEffects<z.ZodString, string, string>;
|
|
268
268
|
time_zone_abbrevation: z.ZodEffects<z.ZodString, string, string>;
|
|
269
269
|
time_zone_offset: z.ZodEffects<z.ZodString, string, string>;
|
|
@@ -281,9 +281,9 @@ declare const MasterMainTimeZoneSchema: z.ZodObject<{
|
|
|
281
281
|
status: Status;
|
|
282
282
|
country_id: string;
|
|
283
283
|
time_zone_code: string;
|
|
284
|
+
time_zone_identifier: string;
|
|
284
285
|
time_zone_abbrevation: string;
|
|
285
286
|
time_zone_offset: string;
|
|
286
|
-
time_zone_identifier?: string | undefined;
|
|
287
287
|
time_zone_offset_seconds?: unknown;
|
|
288
288
|
}>;
|
|
289
289
|
type MasterMainTimeZoneDTO = z.infer<typeof MasterMainTimeZoneSchema>;
|
|
@@ -741,7 +741,7 @@ declare const updateMasterMainDateFormat: (id: string, data: MasterMainDateForma
|
|
|
741
741
|
declare const deleteMasterMainDateFormat: (id: string) => Promise<SBR>;
|
|
742
742
|
declare const getMasterMainDateFormatCache: () => Promise<FBR<MasterMainDateFormat[]>>;
|
|
743
743
|
|
|
744
|
-
interface
|
|
744
|
+
interface MasterMainUnitMileage extends Record<string, unknown> {
|
|
745
745
|
unit_id: string;
|
|
746
746
|
unit_name: string;
|
|
747
747
|
unit_code: string;
|
|
@@ -753,7 +753,7 @@ interface MasterMainUnitDistance extends Record<string, unknown> {
|
|
|
753
753
|
UserOrganisation: number;
|
|
754
754
|
};
|
|
755
755
|
}
|
|
756
|
-
declare const
|
|
756
|
+
declare const MasterMainUnitMileageSchema: z.ZodObject<{
|
|
757
757
|
unit_name: z.ZodEffects<z.ZodString, string, string>;
|
|
758
758
|
unit_code: z.ZodEffects<z.ZodString, string, string>;
|
|
759
759
|
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
@@ -766,8 +766,8 @@ declare const MasterMainUnitDistanceSchema: z.ZodObject<{
|
|
|
766
766
|
unit_name: string;
|
|
767
767
|
unit_code: string;
|
|
768
768
|
}>;
|
|
769
|
-
type
|
|
770
|
-
declare const
|
|
769
|
+
type MasterMainUnitMileageDTO = z.infer<typeof MasterMainUnitMileageSchema>;
|
|
770
|
+
declare const MasterMainUnitMileageQuerySchema: z.ZodObject<{
|
|
771
771
|
search: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
|
|
772
772
|
status: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof Status>, "many">>>;
|
|
773
773
|
paging: z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof PAGING>>>;
|
|
@@ -846,16 +846,16 @@ declare const MasterMainUnitDistanceQuerySchema: z.ZodObject<{
|
|
|
846
846
|
include_master_data?: YesNo | undefined;
|
|
847
847
|
unit_ids?: string[] | undefined;
|
|
848
848
|
}>;
|
|
849
|
-
type
|
|
850
|
-
declare const
|
|
851
|
-
declare const
|
|
852
|
-
declare const
|
|
853
|
-
declare const
|
|
854
|
-
declare const
|
|
855
|
-
declare const
|
|
856
|
-
declare const
|
|
849
|
+
type MasterMainUnitMileageQueryDTO = z.infer<typeof MasterMainUnitMileageQuerySchema>;
|
|
850
|
+
declare const toMasterMainUnitMileagePayload: (row: MasterMainUnitMileage) => MasterMainUnitMileageDTO;
|
|
851
|
+
declare const newMasterMainUnitMileagePayload: () => MasterMainUnitMileageDTO;
|
|
852
|
+
declare const findMasterMainUnitMileages: (data: MasterMainUnitMileageQueryDTO) => Promise<FBR<MasterMainUnitMileage[]>>;
|
|
853
|
+
declare const createMasterMainUnitMileage: (data: MasterMainUnitMileageDTO) => Promise<SBR>;
|
|
854
|
+
declare const updateMasterMainUnitMileage: (id: string, data: MasterMainUnitMileageDTO) => Promise<SBR>;
|
|
855
|
+
declare const deleteMasterMainUnitMileage: (id: string) => Promise<SBR>;
|
|
856
|
+
declare const getMasterMainUnitMileageCache: () => Promise<FBR<MasterMainUnitMileage[]>>;
|
|
857
857
|
|
|
858
|
-
interface
|
|
858
|
+
interface MasterMainUnitVolume extends Record<string, unknown> {
|
|
859
859
|
unit_id: string;
|
|
860
860
|
unit_name: string;
|
|
861
861
|
unit_code: string;
|
|
@@ -867,7 +867,7 @@ interface MasterMainUnitMileage extends Record<string, unknown> {
|
|
|
867
867
|
UserOrganisation: number;
|
|
868
868
|
};
|
|
869
869
|
}
|
|
870
|
-
declare const
|
|
870
|
+
declare const MasterMainUnitVolumeSchema: z.ZodObject<{
|
|
871
871
|
unit_name: z.ZodEffects<z.ZodString, string, string>;
|
|
872
872
|
unit_code: z.ZodEffects<z.ZodString, string, string>;
|
|
873
873
|
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
@@ -880,8 +880,8 @@ declare const MasterMainUnitMileageSchema: z.ZodObject<{
|
|
|
880
880
|
unit_name: string;
|
|
881
881
|
unit_code: string;
|
|
882
882
|
}>;
|
|
883
|
-
type
|
|
884
|
-
declare const
|
|
883
|
+
type MasterMainUnitVolumeDTO = z.infer<typeof MasterMainUnitVolumeSchema>;
|
|
884
|
+
declare const MasterMainUnitVolumeQuerySchema: z.ZodObject<{
|
|
885
885
|
search: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
|
|
886
886
|
status: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof Status>, "many">>>;
|
|
887
887
|
paging: z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof PAGING>>>;
|
|
@@ -960,42 +960,53 @@ declare const MasterMainUnitMileageQuerySchema: z.ZodObject<{
|
|
|
960
960
|
include_master_data?: YesNo | undefined;
|
|
961
961
|
unit_ids?: string[] | undefined;
|
|
962
962
|
}>;
|
|
963
|
-
type
|
|
964
|
-
declare const
|
|
965
|
-
declare const
|
|
966
|
-
declare const
|
|
967
|
-
declare const
|
|
968
|
-
declare const
|
|
969
|
-
declare const
|
|
970
|
-
declare const
|
|
963
|
+
type MasterMainUnitVolumeQueryDTO = z.infer<typeof MasterMainUnitVolumeQuerySchema>;
|
|
964
|
+
declare const toMasterMainUnitVolumePayload: (row: MasterMainUnitVolume) => MasterMainUnitVolumeDTO;
|
|
965
|
+
declare const newMasterMainUnitVolumePayload: () => MasterMainUnitVolumeDTO;
|
|
966
|
+
declare const findMasterMainUnitVolumes: (data: MasterMainUnitVolumeQueryDTO) => Promise<FBR<MasterMainUnitVolume[]>>;
|
|
967
|
+
declare const createMasterMainUnitVolume: (data: MasterMainUnitVolumeDTO) => Promise<SBR>;
|
|
968
|
+
declare const updateMasterMainUnitVolume: (id: string, data: MasterMainUnitVolumeDTO) => Promise<SBR>;
|
|
969
|
+
declare const deleteMasterMainUnitVolume: (id: string) => Promise<SBR>;
|
|
970
|
+
declare const getMasterMainUnitVolumeCache: () => Promise<FBR<MasterMainUnitVolume[]>>;
|
|
971
971
|
|
|
972
|
-
interface
|
|
973
|
-
|
|
974
|
-
|
|
975
|
-
|
|
972
|
+
interface OrganisationSubCompany extends Record<string, unknown> {
|
|
973
|
+
organisation_sub_company_id: string;
|
|
974
|
+
sub_company_name: string;
|
|
975
|
+
sub_company_GSTIN: string;
|
|
976
|
+
description?: string;
|
|
977
|
+
logo_key?: string;
|
|
978
|
+
logo_url?: string;
|
|
976
979
|
status: Status;
|
|
977
980
|
added_date_time: string;
|
|
978
981
|
modified_date_time: string;
|
|
979
|
-
|
|
982
|
+
organisation_id: string;
|
|
983
|
+
UserOrganisation: UserOrganisation;
|
|
984
|
+
MasterVehicle: MasterVehicle[];
|
|
980
985
|
_count?: {
|
|
981
|
-
|
|
986
|
+
MasterVehicle: number;
|
|
982
987
|
};
|
|
983
988
|
}
|
|
984
|
-
declare const
|
|
985
|
-
|
|
986
|
-
|
|
989
|
+
declare const OrganisationSubCompanySchema: z.ZodObject<{
|
|
990
|
+
organisation_id: z.ZodEffects<z.ZodString, string, string>;
|
|
991
|
+
sub_company_name: z.ZodEffects<z.ZodString, string, string>;
|
|
992
|
+
sub_company_GSTIN: z.ZodEffects<z.ZodString, string, string>;
|
|
993
|
+
description: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
|
|
987
994
|
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
988
995
|
}, "strip", z.ZodTypeAny, {
|
|
989
996
|
status: Status;
|
|
990
|
-
|
|
991
|
-
|
|
997
|
+
organisation_id: string;
|
|
998
|
+
description: string;
|
|
999
|
+
sub_company_name: string;
|
|
1000
|
+
sub_company_GSTIN: string;
|
|
992
1001
|
}, {
|
|
993
1002
|
status: Status;
|
|
994
|
-
|
|
995
|
-
|
|
1003
|
+
organisation_id: string;
|
|
1004
|
+
sub_company_name: string;
|
|
1005
|
+
sub_company_GSTIN: string;
|
|
1006
|
+
description?: string | undefined;
|
|
996
1007
|
}>;
|
|
997
|
-
type
|
|
998
|
-
declare const
|
|
1008
|
+
type OrganisationSubCompanyDTO = z.infer<typeof OrganisationSubCompanySchema>;
|
|
1009
|
+
declare const OrganisationSubCompanyQuerySchema: z.ZodObject<{
|
|
999
1010
|
search: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
|
|
1000
1011
|
status: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof Status>, "many">>>;
|
|
1001
1012
|
paging: z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof PAGING>>>;
|
|
@@ -1026,7 +1037,8 @@ declare const MasterMainUnitVolumeQuerySchema: z.ZodObject<{
|
|
|
1026
1037
|
date_format_id: z.ZodEffects<z.ZodString, string, string>;
|
|
1027
1038
|
time_zone_id: z.ZodEffects<z.ZodString, string, string>;
|
|
1028
1039
|
} & {
|
|
1029
|
-
|
|
1040
|
+
organisation_ids: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
1041
|
+
organisation_sub_company_ids: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
1030
1042
|
}, "strip", z.ZodTypeAny, {
|
|
1031
1043
|
status: Status[];
|
|
1032
1044
|
search: string;
|
|
@@ -1049,7 +1061,8 @@ declare const MasterMainUnitVolumeQuerySchema: z.ZodObject<{
|
|
|
1049
1061
|
include_master_data: YesNo;
|
|
1050
1062
|
date_format_id: string;
|
|
1051
1063
|
time_zone_id: string;
|
|
1052
|
-
|
|
1064
|
+
organisation_ids: string[];
|
|
1065
|
+
organisation_sub_company_ids: string[];
|
|
1053
1066
|
}, {
|
|
1054
1067
|
date_format_id: string;
|
|
1055
1068
|
time_zone_id: string;
|
|
@@ -1072,166 +1085,60 @@ declare const MasterMainUnitVolumeQuerySchema: z.ZodObject<{
|
|
|
1072
1085
|
direction: OrderBy;
|
|
1073
1086
|
}[] | undefined;
|
|
1074
1087
|
include_master_data?: YesNo | undefined;
|
|
1075
|
-
|
|
1088
|
+
organisation_ids?: string[] | undefined;
|
|
1089
|
+
organisation_sub_company_ids?: string[] | undefined;
|
|
1076
1090
|
}>;
|
|
1077
|
-
type
|
|
1078
|
-
declare const
|
|
1079
|
-
declare const
|
|
1080
|
-
declare const
|
|
1081
|
-
declare const
|
|
1082
|
-
declare const
|
|
1083
|
-
declare const
|
|
1084
|
-
declare const
|
|
1091
|
+
type OrganisationSubCompanyQueryDTO = z.infer<typeof OrganisationSubCompanyQuerySchema>;
|
|
1092
|
+
declare const toOrganisationSubCompanyPayload: (row: OrganisationSubCompany) => OrganisationSubCompanyDTO;
|
|
1093
|
+
declare const newOrganisationSubCompanyPayload: () => OrganisationSubCompanyDTO;
|
|
1094
|
+
declare const findOrganisationSubCompanyies: (data: OrganisationSubCompanyQueryDTO) => Promise<FBR<OrganisationSubCompany[]>>;
|
|
1095
|
+
declare const createOrganisationSubCompany: (data: OrganisationSubCompanyDTO) => Promise<SBR>;
|
|
1096
|
+
declare const updateOrganisationSubCompany: (id: string, data: OrganisationSubCompanyDTO) => Promise<SBR>;
|
|
1097
|
+
declare const deleteOrganisationSubCompany: (id: string) => Promise<SBR>;
|
|
1098
|
+
declare const getOrganisationSubCompanyCache: (organisation_id: string) => Promise<FBR<OrganisationSubCompany[]>>;
|
|
1099
|
+
declare const getOrganisationSubCompanyCacheCount: (organisation_id: string) => Promise<FBR<OrganisationSubCompany[]>>;
|
|
1100
|
+
declare const getOrganisationSubCompanyCacheChild: (organisation_id: string) => Promise<FBR<OrganisationSubCompany[]>>;
|
|
1085
1101
|
|
|
1086
|
-
interface
|
|
1087
|
-
|
|
1088
|
-
|
|
1089
|
-
|
|
1090
|
-
|
|
1091
|
-
|
|
1092
|
-
driver_email?: string;
|
|
1093
|
-
driver_license?: string;
|
|
1094
|
-
driver_pan?: string;
|
|
1095
|
-
driver_aadhaar?: string;
|
|
1096
|
-
driver_details?: string;
|
|
1097
|
-
password?: string;
|
|
1098
|
-
can_login: YesNo;
|
|
1099
|
-
driver_image_url?: string;
|
|
1100
|
-
driver_image_key?: string;
|
|
1101
|
-
driver_aadhaar_front_image_url?: string;
|
|
1102
|
-
driver_aadhaar_front_image_key?: string;
|
|
1103
|
-
driver_aadhaar_back_image_url?: string;
|
|
1104
|
-
driver_aadhaar_back_image_key?: string;
|
|
1105
|
-
driver_pan_image_url?: string;
|
|
1106
|
-
driver_pan_image_key?: string;
|
|
1107
|
-
driver_license_back_image_url?: string;
|
|
1108
|
-
driver_license_back_image_key?: string;
|
|
1109
|
-
driver_license_front_image_url?: string;
|
|
1110
|
-
driver_license_front_image_key?: string;
|
|
1102
|
+
interface OrganisationBranch extends Record<string, unknown> {
|
|
1103
|
+
organisation_branch_id: string;
|
|
1104
|
+
branch_name: string;
|
|
1105
|
+
branch_city: string;
|
|
1106
|
+
branch_address: string;
|
|
1107
|
+
description?: string;
|
|
1111
1108
|
status: Status;
|
|
1112
1109
|
added_date_time: string;
|
|
1113
1110
|
modified_date_time: string;
|
|
1114
|
-
vehicle_id?: string;
|
|
1115
|
-
MasterVehicle?: MasterVehicle;
|
|
1116
|
-
assign_vehicle_date?: string;
|
|
1117
|
-
is_vehicle_assigned: YesNo;
|
|
1118
|
-
AssignRemoveDriverHistory?: AssignRemoveDriverHistory[];
|
|
1119
1111
|
organisation_id: string;
|
|
1120
|
-
UserOrganisation
|
|
1121
|
-
|
|
1112
|
+
UserOrganisation: UserOrganisation;
|
|
1113
|
+
MasterVehicle: MasterVehicle[];
|
|
1122
1114
|
_count?: {
|
|
1123
|
-
|
|
1124
|
-
TripGeofenceToGeofence: number;
|
|
1125
|
-
GPSGeofenceTransaction: number;
|
|
1126
|
-
GPSFuelVehicleDailySummary: number;
|
|
1127
|
-
GPSFuelVehicleRefill: number;
|
|
1128
|
-
GPSFuelVehicleRemoval: number;
|
|
1129
|
-
GPSLockRelayLog: number;
|
|
1130
|
-
GPSLockDigitalDoorLog: number;
|
|
1131
|
-
GPSGeofenceTransactionSummary: number;
|
|
1132
|
-
Inspection: number;
|
|
1133
|
-
IncidentManagement: number;
|
|
1134
|
-
IssueManagement: number;
|
|
1135
|
-
FleetServiceSchedule: number;
|
|
1136
|
-
FleetServiceJobCard: number;
|
|
1137
|
-
FleetReminders: number;
|
|
1138
|
-
FleetFuelRefills: number;
|
|
1139
|
-
FleetFuelRemovals: number;
|
|
1140
|
-
FleetTyreDamageRepair: number;
|
|
1141
|
-
FleetTyreRotation: number;
|
|
1142
|
-
AlertDriverLink: number;
|
|
1115
|
+
MasterVehicle: number;
|
|
1143
1116
|
};
|
|
1144
1117
|
}
|
|
1145
|
-
|
|
1146
|
-
history_id: string;
|
|
1147
|
-
assign_date?: string;
|
|
1148
|
-
remove_date?: string;
|
|
1149
|
-
status: Status;
|
|
1150
|
-
added_date_time: string;
|
|
1151
|
-
modified_date_time: string;
|
|
1152
|
-
vehicle_id: string;
|
|
1153
|
-
Vehicle?: MasterVehicle;
|
|
1154
|
-
driver_id: string;
|
|
1155
|
-
MasterDriver?: MasterDriver;
|
|
1156
|
-
}
|
|
1157
|
-
declare const MasterDriverSchema: z.ZodObject<{
|
|
1118
|
+
declare const OrganisationBranchSchema: z.ZodObject<{
|
|
1158
1119
|
organisation_id: z.ZodEffects<z.ZodString, string, string>;
|
|
1159
|
-
|
|
1160
|
-
|
|
1161
|
-
|
|
1162
|
-
|
|
1163
|
-
driver_email: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
|
|
1164
|
-
driver_license: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
|
|
1165
|
-
driver_pan: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
|
|
1166
|
-
driver_aadhaar: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
|
|
1167
|
-
password: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
|
|
1168
|
-
can_login: z.ZodType<YesNo, z.ZodTypeDef, YesNo>;
|
|
1169
|
-
driver_image_url: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
|
|
1170
|
-
driver_image_key: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
|
|
1171
|
-
driver_aadhaar_front_image_url: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
|
|
1172
|
-
driver_aadhaar_front_image_key: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
|
|
1173
|
-
driver_aadhaar_back_image_url: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
|
|
1174
|
-
driver_aadhaar_back_image_key: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
|
|
1175
|
-
driver_pan_image_url: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
|
|
1176
|
-
driver_pan_image_key: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
|
|
1177
|
-
driver_license_back_image_url: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
|
|
1178
|
-
driver_license_back_image_key: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
|
|
1179
|
-
driver_license_front_image_url: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
|
|
1180
|
-
driver_license_front_image_key: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
|
|
1120
|
+
branch_name: z.ZodEffects<z.ZodString, string, string>;
|
|
1121
|
+
branch_city: z.ZodEffects<z.ZodString, string, string>;
|
|
1122
|
+
branch_address: z.ZodEffects<z.ZodString, string, string>;
|
|
1123
|
+
description: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
|
|
1181
1124
|
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
1182
1125
|
}, "strip", z.ZodTypeAny, {
|
|
1183
1126
|
status: Status;
|
|
1184
1127
|
organisation_id: string;
|
|
1185
|
-
|
|
1186
|
-
|
|
1187
|
-
|
|
1188
|
-
|
|
1189
|
-
driver_email: string;
|
|
1190
|
-
driver_license: string;
|
|
1191
|
-
driver_pan: string;
|
|
1192
|
-
driver_aadhaar: string;
|
|
1193
|
-
password: string;
|
|
1194
|
-
can_login: YesNo;
|
|
1195
|
-
driver_image_url: string;
|
|
1196
|
-
driver_image_key: string;
|
|
1197
|
-
driver_aadhaar_front_image_url: string;
|
|
1198
|
-
driver_aadhaar_front_image_key: string;
|
|
1199
|
-
driver_aadhaar_back_image_url: string;
|
|
1200
|
-
driver_aadhaar_back_image_key: string;
|
|
1201
|
-
driver_pan_image_url: string;
|
|
1202
|
-
driver_pan_image_key: string;
|
|
1203
|
-
driver_license_back_image_url: string;
|
|
1204
|
-
driver_license_back_image_key: string;
|
|
1205
|
-
driver_license_front_image_url: string;
|
|
1206
|
-
driver_license_front_image_key: string;
|
|
1128
|
+
description: string;
|
|
1129
|
+
branch_name: string;
|
|
1130
|
+
branch_city: string;
|
|
1131
|
+
branch_address: string;
|
|
1207
1132
|
}, {
|
|
1208
1133
|
status: Status;
|
|
1209
1134
|
organisation_id: string;
|
|
1210
|
-
|
|
1211
|
-
|
|
1212
|
-
|
|
1213
|
-
|
|
1214
|
-
driver_mobile?: string | undefined;
|
|
1215
|
-
driver_email?: string | undefined;
|
|
1216
|
-
driver_license?: string | undefined;
|
|
1217
|
-
driver_pan?: string | undefined;
|
|
1218
|
-
driver_aadhaar?: string | undefined;
|
|
1219
|
-
password?: string | undefined;
|
|
1220
|
-
driver_image_url?: string | undefined;
|
|
1221
|
-
driver_image_key?: string | undefined;
|
|
1222
|
-
driver_aadhaar_front_image_url?: string | undefined;
|
|
1223
|
-
driver_aadhaar_front_image_key?: string | undefined;
|
|
1224
|
-
driver_aadhaar_back_image_url?: string | undefined;
|
|
1225
|
-
driver_aadhaar_back_image_key?: string | undefined;
|
|
1226
|
-
driver_pan_image_url?: string | undefined;
|
|
1227
|
-
driver_pan_image_key?: string | undefined;
|
|
1228
|
-
driver_license_back_image_url?: string | undefined;
|
|
1229
|
-
driver_license_back_image_key?: string | undefined;
|
|
1230
|
-
driver_license_front_image_url?: string | undefined;
|
|
1231
|
-
driver_license_front_image_key?: string | undefined;
|
|
1135
|
+
branch_name: string;
|
|
1136
|
+
branch_city: string;
|
|
1137
|
+
branch_address: string;
|
|
1138
|
+
description?: string | undefined;
|
|
1232
1139
|
}>;
|
|
1233
|
-
type
|
|
1234
|
-
declare const
|
|
1140
|
+
type OrganisationBranchDTO = z.infer<typeof OrganisationBranchSchema>;
|
|
1141
|
+
declare const OrganisationBranchQuerySchema: z.ZodObject<{
|
|
1235
1142
|
search: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
|
|
1236
1143
|
status: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof Status>, "many">>>;
|
|
1237
1144
|
paging: z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof PAGING>>>;
|
|
@@ -1263,10 +1170,7 @@ declare const DriverQuerySchema: z.ZodObject<{
|
|
|
1263
1170
|
time_zone_id: z.ZodEffects<z.ZodString, string, string>;
|
|
1264
1171
|
} & {
|
|
1265
1172
|
organisation_ids: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
1266
|
-
|
|
1267
|
-
driver_ids: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
1268
|
-
can_login: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof YesNo>, "many">>>;
|
|
1269
|
-
is_vehicle_assigned: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof YesNo>, "many">>>;
|
|
1173
|
+
organisation_branch_ids: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
1270
1174
|
}, "strip", z.ZodTypeAny, {
|
|
1271
1175
|
status: Status[];
|
|
1272
1176
|
search: string;
|
|
@@ -1290,10 +1194,7 @@ declare const DriverQuerySchema: z.ZodObject<{
|
|
|
1290
1194
|
date_format_id: string;
|
|
1291
1195
|
time_zone_id: string;
|
|
1292
1196
|
organisation_ids: string[];
|
|
1293
|
-
|
|
1294
|
-
is_vehicle_assigned: YesNo[];
|
|
1295
|
-
vehicle_ids: string[];
|
|
1296
|
-
driver_ids: string[];
|
|
1197
|
+
organisation_branch_ids: string[];
|
|
1297
1198
|
}, {
|
|
1298
1199
|
date_format_id: string;
|
|
1299
1200
|
time_zone_id: string;
|
|
@@ -1317,63 +1218,55 @@ declare const DriverQuerySchema: z.ZodObject<{
|
|
|
1317
1218
|
}[] | undefined;
|
|
1318
1219
|
include_master_data?: YesNo | undefined;
|
|
1319
1220
|
organisation_ids?: string[] | undefined;
|
|
1320
|
-
|
|
1321
|
-
is_vehicle_assigned?: YesNo[] | undefined;
|
|
1322
|
-
vehicle_ids?: string[] | undefined;
|
|
1323
|
-
driver_ids?: string[] | undefined;
|
|
1221
|
+
organisation_branch_ids?: string[] | undefined;
|
|
1324
1222
|
}>;
|
|
1325
|
-
type
|
|
1326
|
-
declare const
|
|
1327
|
-
declare const
|
|
1328
|
-
declare const
|
|
1329
|
-
declare const
|
|
1330
|
-
declare const
|
|
1331
|
-
declare const
|
|
1332
|
-
declare const
|
|
1333
|
-
declare const
|
|
1334
|
-
declare const
|
|
1223
|
+
type OrganisationBranchQueryDTO = z.infer<typeof OrganisationBranchQuerySchema>;
|
|
1224
|
+
declare const toOrganisationBranchPayload: (row: OrganisationBranch) => OrganisationBranchDTO;
|
|
1225
|
+
declare const newOrganisationBranchPayload: () => OrganisationBranchDTO;
|
|
1226
|
+
declare const findOrganisationBranchs: (data: OrganisationBranchQueryDTO) => Promise<FBR<OrganisationBranch[]>>;
|
|
1227
|
+
declare const createOrganisationBranch: (data: OrganisationBranchDTO) => Promise<SBR>;
|
|
1228
|
+
declare const updateOrganisationBranch: (id: string, data: OrganisationBranchDTO) => Promise<SBR>;
|
|
1229
|
+
declare const deleteOrganisationBranch: (id: string) => Promise<SBR>;
|
|
1230
|
+
declare const getOrganisationBranchCache: (organisation_id: string) => Promise<FBR<OrganisationBranch[]>>;
|
|
1231
|
+
declare const getOrganisationBranchCacheCount: (organisation_id: string) => Promise<FBR<OrganisationBranch[]>>;
|
|
1232
|
+
declare const getOrganisationBranchCacheChild: (organisation_id: string) => Promise<FBR<OrganisationBranch[]>>;
|
|
1335
1233
|
|
|
1336
|
-
interface
|
|
1337
|
-
|
|
1338
|
-
|
|
1339
|
-
|
|
1234
|
+
interface OrganisationColor extends Record<string, unknown> {
|
|
1235
|
+
organisation_color_id: string;
|
|
1236
|
+
color_name: string;
|
|
1237
|
+
color_code: string;
|
|
1340
1238
|
description?: string;
|
|
1341
1239
|
status: Status;
|
|
1342
1240
|
added_date_time: string;
|
|
1343
1241
|
modified_date_time: string;
|
|
1344
|
-
|
|
1345
|
-
|
|
1346
|
-
|
|
1347
|
-
MasterDeviceModel?: MasterDeviceModel;
|
|
1348
|
-
MasterDevice: MasterDevice[];
|
|
1242
|
+
organisation_id?: string;
|
|
1243
|
+
UserOrganisation?: UserOrganisation;
|
|
1244
|
+
MasterVehicle: MasterVehicle[];
|
|
1349
1245
|
_count?: {
|
|
1350
|
-
|
|
1246
|
+
MasterVehicle: number;
|
|
1351
1247
|
};
|
|
1352
1248
|
}
|
|
1353
|
-
declare const
|
|
1354
|
-
|
|
1355
|
-
|
|
1356
|
-
|
|
1357
|
-
|
|
1358
|
-
|
|
1359
|
-
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
1249
|
+
declare const OrganisationColorSchema: z.ZodObject<{
|
|
1250
|
+
organisation_id: z.ZodEffects<z.ZodString, string, string>;
|
|
1251
|
+
color_name: z.ZodEffects<z.ZodString, string, string>;
|
|
1252
|
+
color_code: z.ZodEffects<z.ZodString, string, string>;
|
|
1253
|
+
description: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
|
|
1254
|
+
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
1360
1255
|
}, "strip", z.ZodTypeAny, {
|
|
1361
1256
|
status: Status;
|
|
1257
|
+
organisation_id: string;
|
|
1362
1258
|
description: string;
|
|
1363
|
-
|
|
1364
|
-
|
|
1365
|
-
device_manufacturer_id: string;
|
|
1366
|
-
device_model_id: string;
|
|
1259
|
+
color_name: string;
|
|
1260
|
+
color_code: string;
|
|
1367
1261
|
}, {
|
|
1368
1262
|
status: Status;
|
|
1369
|
-
|
|
1370
|
-
|
|
1371
|
-
|
|
1263
|
+
organisation_id: string;
|
|
1264
|
+
color_name: string;
|
|
1265
|
+
color_code: string;
|
|
1372
1266
|
description?: string | undefined;
|
|
1373
|
-
device_type_code?: string | undefined;
|
|
1374
1267
|
}>;
|
|
1375
|
-
type
|
|
1376
|
-
declare const
|
|
1268
|
+
type OrganisationColorDTO = z.infer<typeof OrganisationColorSchema>;
|
|
1269
|
+
declare const OrganisationColorQuerySchema: z.ZodObject<{
|
|
1377
1270
|
search: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
|
|
1378
1271
|
status: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof Status>, "many">>>;
|
|
1379
1272
|
paging: z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof PAGING>>>;
|
|
@@ -1404,9 +1297,8 @@ declare const MasterDeviceTypeQuerySchema: z.ZodObject<{
|
|
|
1404
1297
|
date_format_id: z.ZodEffects<z.ZodString, string, string>;
|
|
1405
1298
|
time_zone_id: z.ZodEffects<z.ZodString, string, string>;
|
|
1406
1299
|
} & {
|
|
1407
|
-
|
|
1408
|
-
|
|
1409
|
-
device_type_ids: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
1300
|
+
organisation_ids: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
1301
|
+
organisation_color_ids: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
1410
1302
|
}, "strip", z.ZodTypeAny, {
|
|
1411
1303
|
status: Status[];
|
|
1412
1304
|
search: string;
|
|
@@ -1429,9 +1321,8 @@ declare const MasterDeviceTypeQuerySchema: z.ZodObject<{
|
|
|
1429
1321
|
include_master_data: YesNo;
|
|
1430
1322
|
date_format_id: string;
|
|
1431
1323
|
time_zone_id: string;
|
|
1432
|
-
|
|
1433
|
-
|
|
1434
|
-
device_type_ids: string[];
|
|
1324
|
+
organisation_ids: string[];
|
|
1325
|
+
organisation_color_ids: string[];
|
|
1435
1326
|
}, {
|
|
1436
1327
|
date_format_id: string;
|
|
1437
1328
|
time_zone_id: string;
|
|
@@ -1454,59 +1345,52 @@ declare const MasterDeviceTypeQuerySchema: z.ZodObject<{
|
|
|
1454
1345
|
direction: OrderBy;
|
|
1455
1346
|
}[] | undefined;
|
|
1456
1347
|
include_master_data?: YesNo | undefined;
|
|
1457
|
-
|
|
1458
|
-
|
|
1459
|
-
device_type_ids?: string[] | undefined;
|
|
1348
|
+
organisation_ids?: string[] | undefined;
|
|
1349
|
+
organisation_color_ids?: string[] | undefined;
|
|
1460
1350
|
}>;
|
|
1461
|
-
type
|
|
1462
|
-
declare const
|
|
1463
|
-
declare const
|
|
1464
|
-
declare const
|
|
1465
|
-
declare const
|
|
1466
|
-
declare const
|
|
1467
|
-
declare const
|
|
1468
|
-
declare const
|
|
1469
|
-
declare const
|
|
1470
|
-
declare const
|
|
1351
|
+
type OrganisationColorQueryDTO = z.infer<typeof OrganisationColorQuerySchema>;
|
|
1352
|
+
declare const toOrganisationColorPayload: (row: OrganisationColor) => OrganisationColorDTO;
|
|
1353
|
+
declare const newOrganisationColorPayload: () => OrganisationColorDTO;
|
|
1354
|
+
declare const findOrganisationColors: (data: OrganisationColorQueryDTO) => Promise<FBR<OrganisationColor[]>>;
|
|
1355
|
+
declare const createOrganisationColor: (data: OrganisationColorDTO) => Promise<SBR>;
|
|
1356
|
+
declare const updateOrganisationColor: (id: string, data: OrganisationColorDTO) => Promise<SBR>;
|
|
1357
|
+
declare const deleteOrganisationColor: (id: string) => Promise<SBR>;
|
|
1358
|
+
declare const getOrganisationColorCache: (organisation_id: string) => Promise<FBR<OrganisationColor[]>>;
|
|
1359
|
+
declare const getOrganisationColorCacheCount: (organisation_id: string) => Promise<FBR<OrganisationColor[]>>;
|
|
1360
|
+
declare const getOrganisationColorCacheChild: (organisation_id: string) => Promise<FBR<OrganisationColor[]>>;
|
|
1471
1361
|
|
|
1472
|
-
interface
|
|
1473
|
-
|
|
1474
|
-
|
|
1475
|
-
device_model_code?: string;
|
|
1362
|
+
interface OrganisationTag extends Record<string, unknown> {
|
|
1363
|
+
organisation_tag_id: string;
|
|
1364
|
+
tag_name: string;
|
|
1476
1365
|
description?: string;
|
|
1477
1366
|
status: Status;
|
|
1478
1367
|
added_date_time: string;
|
|
1479
1368
|
modified_date_time: string;
|
|
1480
|
-
|
|
1481
|
-
|
|
1482
|
-
|
|
1483
|
-
MasterDevice: MasterDevice[];
|
|
1369
|
+
organisation_id: string;
|
|
1370
|
+
UserOrganisation: UserOrganisation;
|
|
1371
|
+
MasterVehicle: MasterVehicle[];
|
|
1484
1372
|
_count?: {
|
|
1485
|
-
|
|
1486
|
-
MasterDevice: number;
|
|
1373
|
+
MasterVehicle: number;
|
|
1487
1374
|
};
|
|
1488
1375
|
}
|
|
1489
|
-
declare const
|
|
1490
|
-
|
|
1491
|
-
|
|
1492
|
-
device_model_code: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
|
|
1376
|
+
declare const OrganisationTagSchema: z.ZodObject<{
|
|
1377
|
+
organisation_id: z.ZodEffects<z.ZodString, string, string>;
|
|
1378
|
+
tag_name: z.ZodEffects<z.ZodString, string, string>;
|
|
1493
1379
|
description: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
|
|
1494
1380
|
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
1495
1381
|
}, "strip", z.ZodTypeAny, {
|
|
1496
1382
|
status: Status;
|
|
1383
|
+
organisation_id: string;
|
|
1497
1384
|
description: string;
|
|
1498
|
-
|
|
1499
|
-
device_model_name: string;
|
|
1500
|
-
device_model_code: string;
|
|
1385
|
+
tag_name: string;
|
|
1501
1386
|
}, {
|
|
1502
1387
|
status: Status;
|
|
1503
|
-
|
|
1504
|
-
|
|
1388
|
+
organisation_id: string;
|
|
1389
|
+
tag_name: string;
|
|
1505
1390
|
description?: string | undefined;
|
|
1506
|
-
device_model_code?: string | undefined;
|
|
1507
1391
|
}>;
|
|
1508
|
-
type
|
|
1509
|
-
declare const
|
|
1392
|
+
type OrganisationTagDTO = z.infer<typeof OrganisationTagSchema>;
|
|
1393
|
+
declare const OrganisationTagQuerySchema: z.ZodObject<{
|
|
1510
1394
|
search: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
|
|
1511
1395
|
status: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof Status>, "many">>>;
|
|
1512
1396
|
paging: z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof PAGING>>>;
|
|
@@ -1537,8 +1421,8 @@ declare const MasterDeviceModelQuerySchema: z.ZodObject<{
|
|
|
1537
1421
|
date_format_id: z.ZodEffects<z.ZodString, string, string>;
|
|
1538
1422
|
time_zone_id: z.ZodEffects<z.ZodString, string, string>;
|
|
1539
1423
|
} & {
|
|
1540
|
-
|
|
1541
|
-
|
|
1424
|
+
organisation_ids: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
1425
|
+
organisation_tag_ids: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
1542
1426
|
}, "strip", z.ZodTypeAny, {
|
|
1543
1427
|
status: Status[];
|
|
1544
1428
|
search: string;
|
|
@@ -1561,8 +1445,8 @@ declare const MasterDeviceModelQuerySchema: z.ZodObject<{
|
|
|
1561
1445
|
include_master_data: YesNo;
|
|
1562
1446
|
date_format_id: string;
|
|
1563
1447
|
time_zone_id: string;
|
|
1564
|
-
|
|
1565
|
-
|
|
1448
|
+
organisation_ids: string[];
|
|
1449
|
+
organisation_tag_ids: string[];
|
|
1566
1450
|
}, {
|
|
1567
1451
|
date_format_id: string;
|
|
1568
1452
|
time_zone_id: string;
|
|
@@ -1585,205 +1469,161 @@ declare const MasterDeviceModelQuerySchema: z.ZodObject<{
|
|
|
1585
1469
|
direction: OrderBy;
|
|
1586
1470
|
}[] | undefined;
|
|
1587
1471
|
include_master_data?: YesNo | undefined;
|
|
1588
|
-
|
|
1589
|
-
|
|
1472
|
+
organisation_ids?: string[] | undefined;
|
|
1473
|
+
organisation_tag_ids?: string[] | undefined;
|
|
1590
1474
|
}>;
|
|
1591
|
-
type
|
|
1592
|
-
declare const
|
|
1593
|
-
declare const
|
|
1594
|
-
declare const
|
|
1595
|
-
declare const
|
|
1596
|
-
declare const
|
|
1597
|
-
declare const
|
|
1598
|
-
declare const
|
|
1599
|
-
declare const
|
|
1600
|
-
declare const
|
|
1475
|
+
type OrganisationTagQueryDTO = z.infer<typeof OrganisationTagQuerySchema>;
|
|
1476
|
+
declare const toOrganisationTagPayload: (row: OrganisationTag) => OrganisationTagDTO;
|
|
1477
|
+
declare const newOrganisationTagPayload: () => OrganisationTagDTO;
|
|
1478
|
+
declare const findOrganisationTags: (data: OrganisationTagQueryDTO) => Promise<FBR<OrganisationTag[]>>;
|
|
1479
|
+
declare const createOrganisationTag: (data: OrganisationTagDTO) => Promise<SBR>;
|
|
1480
|
+
declare const updateOrganisationTag: (id: string, data: OrganisationTagDTO) => Promise<SBR>;
|
|
1481
|
+
declare const deleteOrganisationTag: (id: string) => Promise<SBR>;
|
|
1482
|
+
declare const getOrganisationTagCache: (organisation_id: string) => Promise<FBR<OrganisationTag[]>>;
|
|
1483
|
+
declare const getOrganisationTagCacheCount: (organisation_id: string) => Promise<FBR<OrganisationTag[]>>;
|
|
1484
|
+
declare const getOrganisationTagCacheChild: (organisation_id: string) => Promise<FBR<OrganisationTag[]>>;
|
|
1601
1485
|
|
|
1602
|
-
interface
|
|
1603
|
-
|
|
1604
|
-
|
|
1605
|
-
|
|
1606
|
-
|
|
1486
|
+
interface MasterDriver extends Record<string, unknown> {
|
|
1487
|
+
driver_id: string;
|
|
1488
|
+
driver_code?: string;
|
|
1489
|
+
driver_first_name: string;
|
|
1490
|
+
driver_last_name?: string;
|
|
1491
|
+
driver_mobile?: string;
|
|
1492
|
+
driver_email?: string;
|
|
1493
|
+
driver_license?: string;
|
|
1494
|
+
driver_pan?: string;
|
|
1495
|
+
driver_aadhaar?: string;
|
|
1496
|
+
driver_details?: string;
|
|
1497
|
+
password?: string;
|
|
1498
|
+
can_login: YesNo;
|
|
1499
|
+
driver_type: DriverType;
|
|
1500
|
+
driver_image_url?: string;
|
|
1501
|
+
driver_image_key?: string;
|
|
1502
|
+
driver_image_name?: string;
|
|
1607
1503
|
status: Status;
|
|
1608
1504
|
added_date_time: string;
|
|
1609
1505
|
modified_date_time: string;
|
|
1610
|
-
|
|
1611
|
-
|
|
1612
|
-
|
|
1506
|
+
vehicle_id?: string;
|
|
1507
|
+
MasterVehicle?: MasterVehicle;
|
|
1508
|
+
assign_vehicle_date?: string;
|
|
1509
|
+
is_vehicle_assigned: YesNo;
|
|
1510
|
+
AssignRemoveDriverHistory?: AssignRemoveDriverHistory[];
|
|
1511
|
+
organisation_id: string;
|
|
1512
|
+
UserOrganisation: UserOrganisation;
|
|
1513
|
+
organisation_sub_company_id?: string;
|
|
1514
|
+
OrganisationSubCompany?: OrganisationSubCompany;
|
|
1515
|
+
organisation_branch_id?: string;
|
|
1516
|
+
OrganisationBranch?: OrganisationBranch;
|
|
1517
|
+
organisation_color_id?: string;
|
|
1518
|
+
OrganisationColor?: OrganisationColor;
|
|
1519
|
+
organisation_tag_id?: string;
|
|
1520
|
+
OrganisationTag?: OrganisationTag;
|
|
1521
|
+
Dummy_MasterVehicle?: MasterVehicle[];
|
|
1522
|
+
DriverLoginPush?: DriverLoginPush[];
|
|
1613
1523
|
_count?: {
|
|
1614
|
-
|
|
1615
|
-
|
|
1616
|
-
MasterDevice: number;
|
|
1524
|
+
AssignRemoveDriverHistory: number;
|
|
1525
|
+
DriverLoginPush: number;
|
|
1617
1526
|
};
|
|
1618
1527
|
}
|
|
1619
|
-
|
|
1620
|
-
|
|
1621
|
-
|
|
1622
|
-
|
|
1528
|
+
interface AssignRemoveDriverHistory extends Record<string, unknown> {
|
|
1529
|
+
history_id: string;
|
|
1530
|
+
assign_date?: string;
|
|
1531
|
+
remove_date?: string;
|
|
1532
|
+
status: Status;
|
|
1533
|
+
added_date_time: string;
|
|
1534
|
+
modified_date_time: string;
|
|
1535
|
+
vehicle_id: string;
|
|
1536
|
+
Vehicle?: MasterVehicle;
|
|
1537
|
+
driver_id: string;
|
|
1538
|
+
MasterDriver?: MasterDriver;
|
|
1539
|
+
}
|
|
1540
|
+
interface DriverLoginPush extends Record<string, unknown> {
|
|
1541
|
+
driver_login_push_id: string;
|
|
1542
|
+
fcm_token: string;
|
|
1543
|
+
platform: LoginFrom;
|
|
1544
|
+
MasterDriver_agent?: string;
|
|
1545
|
+
ip_address?: string;
|
|
1546
|
+
device_id?: string;
|
|
1547
|
+
device_model?: string;
|
|
1548
|
+
os_name?: string;
|
|
1549
|
+
os_version?: string;
|
|
1550
|
+
browser_name?: string;
|
|
1551
|
+
browser_version?: string;
|
|
1552
|
+
app_version?: string;
|
|
1553
|
+
status: Status;
|
|
1554
|
+
added_date_time: string;
|
|
1555
|
+
modified_date_time: string;
|
|
1556
|
+
organisation_id: string;
|
|
1557
|
+
UserOrganisation: UserOrganisation;
|
|
1558
|
+
driver_id: string;
|
|
1559
|
+
MasterDriver?: MasterDriver;
|
|
1560
|
+
}
|
|
1561
|
+
declare const MasterDriverSchema: z.ZodObject<{
|
|
1562
|
+
organisation_id: z.ZodEffects<z.ZodString, string, string>;
|
|
1563
|
+
organisation_sub_company_id: z.ZodEffects<z.ZodString, string, string>;
|
|
1564
|
+
organisation_branch_id: z.ZodEffects<z.ZodString, string, string>;
|
|
1565
|
+
organisation_color_id: z.ZodEffects<z.ZodString, string, string>;
|
|
1566
|
+
organisation_tag_id: z.ZodEffects<z.ZodString, string, string>;
|
|
1567
|
+
driver_code: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
|
|
1568
|
+
driver_first_name: z.ZodEffects<z.ZodString, string, string>;
|
|
1569
|
+
driver_last_name: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
|
|
1570
|
+
driver_mobile: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
|
|
1571
|
+
driver_email: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
|
|
1572
|
+
driver_license: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
|
|
1573
|
+
driver_pan: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
|
|
1574
|
+
driver_aadhaar: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
|
|
1575
|
+
password: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
|
|
1576
|
+
can_login: z.ZodType<YesNo, z.ZodTypeDef, YesNo>;
|
|
1577
|
+
driver_type: z.ZodType<DriverType, z.ZodTypeDef, DriverType>;
|
|
1578
|
+
driver_image_url: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
|
|
1579
|
+
driver_image_key: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
|
|
1580
|
+
driver_image_name: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
|
|
1623
1581
|
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
1624
1582
|
}, "strip", z.ZodTypeAny, {
|
|
1625
1583
|
status: Status;
|
|
1626
|
-
|
|
1627
|
-
|
|
1628
|
-
|
|
1584
|
+
organisation_id: string;
|
|
1585
|
+
organisation_sub_company_id: string;
|
|
1586
|
+
organisation_branch_id: string;
|
|
1587
|
+
organisation_color_id: string;
|
|
1588
|
+
organisation_tag_id: string;
|
|
1589
|
+
driver_code: string;
|
|
1590
|
+
driver_first_name: string;
|
|
1591
|
+
driver_last_name: string;
|
|
1592
|
+
driver_mobile: string;
|
|
1593
|
+
driver_email: string;
|
|
1594
|
+
driver_license: string;
|
|
1595
|
+
driver_pan: string;
|
|
1596
|
+
driver_aadhaar: string;
|
|
1597
|
+
password: string;
|
|
1598
|
+
can_login: YesNo;
|
|
1599
|
+
driver_type: DriverType;
|
|
1600
|
+
driver_image_url: string;
|
|
1601
|
+
driver_image_key: string;
|
|
1602
|
+
driver_image_name: string;
|
|
1629
1603
|
}, {
|
|
1630
1604
|
status: Status;
|
|
1631
|
-
|
|
1632
|
-
|
|
1633
|
-
|
|
1605
|
+
organisation_id: string;
|
|
1606
|
+
organisation_sub_company_id: string;
|
|
1607
|
+
organisation_branch_id: string;
|
|
1608
|
+
organisation_color_id: string;
|
|
1609
|
+
organisation_tag_id: string;
|
|
1610
|
+
driver_first_name: string;
|
|
1611
|
+
can_login: YesNo;
|
|
1612
|
+
driver_type: DriverType;
|
|
1613
|
+
driver_code?: string | undefined;
|
|
1614
|
+
driver_last_name?: string | undefined;
|
|
1615
|
+
driver_mobile?: string | undefined;
|
|
1616
|
+
driver_email?: string | undefined;
|
|
1617
|
+
driver_license?: string | undefined;
|
|
1618
|
+
driver_pan?: string | undefined;
|
|
1619
|
+
driver_aadhaar?: string | undefined;
|
|
1620
|
+
password?: string | undefined;
|
|
1621
|
+
driver_image_url?: string | undefined;
|
|
1622
|
+
driver_image_key?: string | undefined;
|
|
1623
|
+
driver_image_name?: string | undefined;
|
|
1634
1624
|
}>;
|
|
1635
|
-
type
|
|
1636
|
-
declare const
|
|
1637
|
-
search: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
|
|
1638
|
-
status: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof Status>, "many">>>;
|
|
1639
|
-
paging: z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof PAGING>>>;
|
|
1640
|
-
page_count: z.ZodEffects<z.ZodDefault<z.ZodOptional<z.ZodNumber>>, number, unknown>;
|
|
1641
|
-
page_index: z.ZodEffects<z.ZodDefault<z.ZodOptional<z.ZodNumber>>, number, unknown>;
|
|
1642
|
-
load_parents: z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof LoadParents>>>;
|
|
1643
|
-
load_parents_list: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
1644
|
-
load_child: z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof LoadChild>>>;
|
|
1645
|
-
load_child_list: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
1646
|
-
load_child_count: z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof LoadChildCount>>>;
|
|
1647
|
-
load_child_count_list: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
1648
|
-
include_details: z.ZodDefault<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
1649
|
-
where_relations: z.ZodDefault<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
1650
|
-
order_by: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1651
|
-
name: z.ZodEffects<z.ZodString, string, string>;
|
|
1652
|
-
field: z.ZodEffects<z.ZodString, string, string>;
|
|
1653
|
-
direction: z.ZodType<OrderBy, z.ZodTypeDef, OrderBy>;
|
|
1654
|
-
}, "strip", z.ZodTypeAny, {
|
|
1655
|
-
name: string;
|
|
1656
|
-
field: string;
|
|
1657
|
-
direction: OrderBy;
|
|
1658
|
-
}, {
|
|
1659
|
-
name: string;
|
|
1660
|
-
field: string;
|
|
1661
|
-
direction: OrderBy;
|
|
1662
|
-
}>, "many">>>;
|
|
1663
|
-
include_master_data: z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof YesNo>>>;
|
|
1664
|
-
date_format_id: z.ZodEffects<z.ZodString, string, string>;
|
|
1665
|
-
time_zone_id: z.ZodEffects<z.ZodString, string, string>;
|
|
1666
|
-
} & {
|
|
1667
|
-
device_manufacturer_ids: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
1668
|
-
}, "strip", z.ZodTypeAny, {
|
|
1669
|
-
status: Status[];
|
|
1670
|
-
search: string;
|
|
1671
|
-
paging: PAGING;
|
|
1672
|
-
page_count: number;
|
|
1673
|
-
page_index: number;
|
|
1674
|
-
load_parents: LoadParents;
|
|
1675
|
-
load_parents_list: string[];
|
|
1676
|
-
load_child: LoadChild;
|
|
1677
|
-
load_child_list: string[];
|
|
1678
|
-
load_child_count: LoadChildCount;
|
|
1679
|
-
load_child_count_list: string[];
|
|
1680
|
-
include_details: Record<string, any>;
|
|
1681
|
-
where_relations: Record<string, any>;
|
|
1682
|
-
order_by: {
|
|
1683
|
-
name: string;
|
|
1684
|
-
field: string;
|
|
1685
|
-
direction: OrderBy;
|
|
1686
|
-
}[];
|
|
1687
|
-
include_master_data: YesNo;
|
|
1688
|
-
date_format_id: string;
|
|
1689
|
-
time_zone_id: string;
|
|
1690
|
-
device_manufacturer_ids: string[];
|
|
1691
|
-
}, {
|
|
1692
|
-
date_format_id: string;
|
|
1693
|
-
time_zone_id: string;
|
|
1694
|
-
status?: Status[] | undefined;
|
|
1695
|
-
search?: string | undefined;
|
|
1696
|
-
paging?: PAGING | undefined;
|
|
1697
|
-
page_count?: unknown;
|
|
1698
|
-
page_index?: unknown;
|
|
1699
|
-
load_parents?: LoadParents | undefined;
|
|
1700
|
-
load_parents_list?: string[] | undefined;
|
|
1701
|
-
load_child?: LoadChild | undefined;
|
|
1702
|
-
load_child_list?: string[] | undefined;
|
|
1703
|
-
load_child_count?: LoadChildCount | undefined;
|
|
1704
|
-
load_child_count_list?: string[] | undefined;
|
|
1705
|
-
include_details?: Record<string, any> | undefined;
|
|
1706
|
-
where_relations?: Record<string, any> | undefined;
|
|
1707
|
-
order_by?: {
|
|
1708
|
-
name: string;
|
|
1709
|
-
field: string;
|
|
1710
|
-
direction: OrderBy;
|
|
1711
|
-
}[] | undefined;
|
|
1712
|
-
include_master_data?: YesNo | undefined;
|
|
1713
|
-
device_manufacturer_ids?: string[] | undefined;
|
|
1714
|
-
}>;
|
|
1715
|
-
type MasterDeviceManufacturerQueryDTO = z.infer<typeof MasterDeviceManufacturerQuerySchema>;
|
|
1716
|
-
declare const toMasterDeviceManufacturerPayload: (row: MasterDeviceManufacturer) => MasterDeviceManufacturerDTO;
|
|
1717
|
-
declare const newMasterDeviceManufacturerPayload: () => MasterDeviceManufacturerDTO;
|
|
1718
|
-
declare const findMasterDeviceManufacturers: (data: MasterDeviceManufacturerQueryDTO) => Promise<FBR<MasterDeviceManufacturer[]>>;
|
|
1719
|
-
declare const createMasterDeviceManufacturer: (data: MasterDeviceManufacturerDTO) => Promise<SBR>;
|
|
1720
|
-
declare const updateMasterDeviceManufacturer: (id: string, data: MasterDeviceManufacturerDTO) => Promise<SBR>;
|
|
1721
|
-
declare const deleteMasterDeviceManufacturer: (id: string) => Promise<SBR>;
|
|
1722
|
-
declare const getMasterDeviceManufacturerCache: () => Promise<FBR<MasterDeviceManufacturer[]>>;
|
|
1723
|
-
declare const getMasterDeviceManufacturerCacheCount: () => Promise<FBR<MasterDeviceManufacturer>>;
|
|
1724
|
-
declare const getMasterDeviceManufacturerCacheChild: () => Promise<FBR<MasterDeviceManufacturer[]>>;
|
|
1725
|
-
|
|
1726
|
-
interface MasterSim extends Record<string, unknown> {
|
|
1727
|
-
sim_id: string;
|
|
1728
|
-
sim_number: string;
|
|
1729
|
-
sim_imei: string;
|
|
1730
|
-
sim_serial_number: string;
|
|
1731
|
-
sim_status: SimStatus;
|
|
1732
|
-
billing_status: BillingStatus;
|
|
1733
|
-
status: Status;
|
|
1734
|
-
added_date_time: string;
|
|
1735
|
-
modified_date_time: string;
|
|
1736
|
-
device_id?: string;
|
|
1737
|
-
MasterDevice?: MasterDevice;
|
|
1738
|
-
device_sim_link_date?: string;
|
|
1739
|
-
AssignRemoveSimHistory: AssignRemoveSimHistory[];
|
|
1740
|
-
Dummy_MasterDevice: MasterDevice[];
|
|
1741
|
-
sim_provider_id: string;
|
|
1742
|
-
MasterMainSimProvider: MasterMainSimProvider;
|
|
1743
|
-
_count?: {
|
|
1744
|
-
AssignRemoveSimHistory: number;
|
|
1745
|
-
Dummy_MasterDevice: number;
|
|
1746
|
-
};
|
|
1747
|
-
}
|
|
1748
|
-
interface AssignRemoveSimHistory extends Record<string, unknown> {
|
|
1749
|
-
history_id: string;
|
|
1750
|
-
device_sim_link_date?: string;
|
|
1751
|
-
device_sim_unlink_date?: string;
|
|
1752
|
-
status: Status;
|
|
1753
|
-
added_date_time: string;
|
|
1754
|
-
modified_date_time: string;
|
|
1755
|
-
sim_id: string;
|
|
1756
|
-
MasterSim: MasterSim;
|
|
1757
|
-
device_id: string;
|
|
1758
|
-
MasterDevice: MasterDevice;
|
|
1759
|
-
}
|
|
1760
|
-
declare const MasterSimSchema: z.ZodObject<{
|
|
1761
|
-
sim_provider_id: z.ZodEffects<z.ZodString, string, string>;
|
|
1762
|
-
sim_number: z.ZodEffects<z.ZodString, string, string>;
|
|
1763
|
-
sim_imei: z.ZodEffects<z.ZodString, string, string>;
|
|
1764
|
-
sim_serial_number: z.ZodEffects<z.ZodString, string, string>;
|
|
1765
|
-
sim_status: z.ZodType<SimStatus, z.ZodTypeDef, SimStatus>;
|
|
1766
|
-
billing_status: z.ZodType<BillingStatus, z.ZodTypeDef, BillingStatus>;
|
|
1767
|
-
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
1768
|
-
}, "strip", z.ZodTypeAny, {
|
|
1769
|
-
status: Status;
|
|
1770
|
-
sim_provider_id: string;
|
|
1771
|
-
sim_number: string;
|
|
1772
|
-
sim_imei: string;
|
|
1773
|
-
sim_serial_number: string;
|
|
1774
|
-
sim_status: SimStatus;
|
|
1775
|
-
billing_status: BillingStatus;
|
|
1776
|
-
}, {
|
|
1777
|
-
status: Status;
|
|
1778
|
-
sim_provider_id: string;
|
|
1779
|
-
sim_number: string;
|
|
1780
|
-
sim_imei: string;
|
|
1781
|
-
sim_serial_number: string;
|
|
1782
|
-
sim_status: SimStatus;
|
|
1783
|
-
billing_status: BillingStatus;
|
|
1784
|
-
}>;
|
|
1785
|
-
type MasterSimDTO = z.infer<typeof MasterSimSchema>;
|
|
1786
|
-
declare const MasterSimQuerySchema: z.ZodObject<{
|
|
1625
|
+
type MasterDriverDTO = z.infer<typeof MasterDriverSchema>;
|
|
1626
|
+
declare const MasterDriverQuerySchema: z.ZodObject<{
|
|
1787
1627
|
search: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
|
|
1788
1628
|
status: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof Status>, "many">>>;
|
|
1789
1629
|
paging: z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof PAGING>>>;
|
|
@@ -1814,10 +1654,16 @@ declare const MasterSimQuerySchema: z.ZodObject<{
|
|
|
1814
1654
|
date_format_id: z.ZodEffects<z.ZodString, string, string>;
|
|
1815
1655
|
time_zone_id: z.ZodEffects<z.ZodString, string, string>;
|
|
1816
1656
|
} & {
|
|
1817
|
-
|
|
1818
|
-
|
|
1819
|
-
|
|
1820
|
-
|
|
1657
|
+
organisation_ids: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
1658
|
+
organisation_sub_company_ids: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
1659
|
+
organisation_branch_ids: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
1660
|
+
organisation_color_ids: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
1661
|
+
organisation_tag_ids: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
1662
|
+
vehicle_ids: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
1663
|
+
driver_ids: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
1664
|
+
can_login: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof YesNo>, "many">>>;
|
|
1665
|
+
driver_type: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof DriverType>, "many">>>;
|
|
1666
|
+
is_vehicle_assigned: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof YesNo>, "many">>>;
|
|
1821
1667
|
}, "strip", z.ZodTypeAny, {
|
|
1822
1668
|
status: Status[];
|
|
1823
1669
|
search: string;
|
|
@@ -1840,10 +1686,16 @@ declare const MasterSimQuerySchema: z.ZodObject<{
|
|
|
1840
1686
|
include_master_data: YesNo;
|
|
1841
1687
|
date_format_id: string;
|
|
1842
1688
|
time_zone_id: string;
|
|
1843
|
-
|
|
1844
|
-
|
|
1845
|
-
|
|
1846
|
-
|
|
1689
|
+
organisation_ids: string[];
|
|
1690
|
+
organisation_sub_company_ids: string[];
|
|
1691
|
+
organisation_branch_ids: string[];
|
|
1692
|
+
organisation_color_ids: string[];
|
|
1693
|
+
organisation_tag_ids: string[];
|
|
1694
|
+
can_login: YesNo[];
|
|
1695
|
+
driver_type: DriverType[];
|
|
1696
|
+
is_vehicle_assigned: YesNo[];
|
|
1697
|
+
vehicle_ids: string[];
|
|
1698
|
+
driver_ids: string[];
|
|
1847
1699
|
}, {
|
|
1848
1700
|
date_format_id: string;
|
|
1849
1701
|
time_zone_id: string;
|
|
@@ -1866,112 +1718,69 @@ declare const MasterSimQuerySchema: z.ZodObject<{
|
|
|
1866
1718
|
direction: OrderBy;
|
|
1867
1719
|
}[] | undefined;
|
|
1868
1720
|
include_master_data?: YesNo | undefined;
|
|
1869
|
-
|
|
1870
|
-
|
|
1871
|
-
|
|
1872
|
-
|
|
1721
|
+
organisation_ids?: string[] | undefined;
|
|
1722
|
+
organisation_sub_company_ids?: string[] | undefined;
|
|
1723
|
+
organisation_branch_ids?: string[] | undefined;
|
|
1724
|
+
organisation_color_ids?: string[] | undefined;
|
|
1725
|
+
organisation_tag_ids?: string[] | undefined;
|
|
1726
|
+
can_login?: YesNo[] | undefined;
|
|
1727
|
+
driver_type?: DriverType[] | undefined;
|
|
1728
|
+
is_vehicle_assigned?: YesNo[] | undefined;
|
|
1729
|
+
vehicle_ids?: string[] | undefined;
|
|
1730
|
+
driver_ids?: string[] | undefined;
|
|
1873
1731
|
}>;
|
|
1874
|
-
type
|
|
1875
|
-
declare const
|
|
1876
|
-
declare const
|
|
1877
|
-
declare const
|
|
1878
|
-
declare const
|
|
1879
|
-
declare const
|
|
1880
|
-
declare const
|
|
1732
|
+
type MasterDriverQueryDTO = z.infer<typeof MasterDriverQuerySchema>;
|
|
1733
|
+
declare const toDriverPayload: (driver?: MasterDriver) => MasterDriverDTO;
|
|
1734
|
+
declare const newDriverPayload: () => MasterDriverDTO;
|
|
1735
|
+
declare const findMasterDriver: (data: MasterDriverQueryDTO) => Promise<FBR<MasterDriver[]>>;
|
|
1736
|
+
declare const createMasterDriver: (data: MasterDriverDTO) => Promise<SBR>;
|
|
1737
|
+
declare const updateMasterDriver: (id: string, data: MasterDriverDTO) => Promise<SBR>;
|
|
1738
|
+
declare const deleteMasterDriver: (id: string) => Promise<SBR>;
|
|
1739
|
+
declare const getMasterDriverCache: (organisation_id: string) => Promise<FBR<MasterDriver[]>>;
|
|
1740
|
+
declare const getMasterDriverCacheSimple: (organisation_id: string) => Promise<FBR<MasterDriver[]>>;
|
|
1741
|
+
declare const getMasterDriver_presigned_url: (fileName: string) => Promise<SBR>;
|
|
1881
1742
|
|
|
1882
|
-
interface
|
|
1883
|
-
|
|
1884
|
-
|
|
1885
|
-
|
|
1886
|
-
|
|
1887
|
-
device_note_2: string;
|
|
1743
|
+
interface MasterDeviceType extends Record<string, unknown> {
|
|
1744
|
+
device_type_id: string;
|
|
1745
|
+
device_type_name: string;
|
|
1746
|
+
device_type_code?: string;
|
|
1747
|
+
description?: string;
|
|
1888
1748
|
status: Status;
|
|
1889
1749
|
added_date_time: string;
|
|
1890
1750
|
modified_date_time: string;
|
|
1891
|
-
|
|
1892
|
-
sim_id?: string;
|
|
1893
|
-
MasterSim?: MasterSim;
|
|
1894
|
-
device_sim_link_date?: string;
|
|
1895
|
-
AssignRemoveSimHistory: AssignRemoveSimHistory[];
|
|
1896
|
-
is_device_used: DeviceStatus;
|
|
1897
|
-
vehicle_id?: string;
|
|
1898
|
-
MasterVehicle?: MasterVehicle;
|
|
1899
|
-
assign_device_date?: string;
|
|
1900
|
-
AssignRemoveDeviceHistory: AssignRemoveDeviceHistory[];
|
|
1901
|
-
device_gps_source: GPSSource;
|
|
1902
|
-
db_instance: string;
|
|
1903
|
-
db_group: string;
|
|
1904
|
-
device_image_url?: string;
|
|
1905
|
-
device_image_key?: string;
|
|
1906
|
-
vehicle_image_url?: string;
|
|
1907
|
-
vehicle_image_key?: string;
|
|
1908
|
-
sim_image_url?: string;
|
|
1909
|
-
sim_image_key?: string;
|
|
1910
|
-
device_manufacturer_id?: string;
|
|
1751
|
+
device_manufacturer_id: string;
|
|
1911
1752
|
MasterDeviceManufacturer?: MasterDeviceManufacturer;
|
|
1912
|
-
device_model_id
|
|
1753
|
+
device_model_id: string;
|
|
1913
1754
|
MasterDeviceModel?: MasterDeviceModel;
|
|
1914
|
-
|
|
1915
|
-
MasterDeviceType?: MasterDeviceType;
|
|
1916
|
-
organisation_id?: string;
|
|
1917
|
-
UserOrganisation?: UserOrganisation;
|
|
1918
|
-
country_id?: string;
|
|
1919
|
-
MasterMainCountry?: MasterMainCountry;
|
|
1920
|
-
time_zone_id?: string;
|
|
1921
|
-
MasterMainTimeZone?: MasterMainTimeZone;
|
|
1922
|
-
Dummy_MasterVehicle: MasterVehicle[];
|
|
1923
|
-
Dummy_MasterSim: MasterSim[];
|
|
1755
|
+
MasterDevice: MasterDevice[];
|
|
1924
1756
|
_count?: {
|
|
1925
|
-
|
|
1926
|
-
AssignRemoveDeviceHistory?: number;
|
|
1927
|
-
GPSFuelVehicleRemoval?: number;
|
|
1928
|
-
GPSFuelVehicleDailySummary?: number;
|
|
1929
|
-
GPSLockDigitalDoorLog?: number;
|
|
1930
|
-
GPSLockRelayLog?: number;
|
|
1931
|
-
GPSFuelVehicleRefill?: number;
|
|
1932
|
-
Dummy_MasterVehicle?: number;
|
|
1933
|
-
Dummy_MasterSim?: number;
|
|
1757
|
+
MasterDevice: number;
|
|
1934
1758
|
};
|
|
1935
1759
|
}
|
|
1936
|
-
|
|
1937
|
-
history_id: string;
|
|
1938
|
-
assign_date?: string;
|
|
1939
|
-
remove_date?: string;
|
|
1940
|
-
status: Status;
|
|
1941
|
-
added_date_time: string;
|
|
1942
|
-
modified_date_time: string;
|
|
1943
|
-
vehicle_id: string;
|
|
1944
|
-
Vehicle?: MasterVehicle;
|
|
1945
|
-
device_id: string;
|
|
1946
|
-
MasterDevice?: MasterDevice;
|
|
1947
|
-
}
|
|
1948
|
-
declare const MasterDeviceSchema: z.ZodObject<{
|
|
1760
|
+
declare const MasterDeviceTypeSchema: z.ZodObject<{
|
|
1949
1761
|
device_manufacturer_id: z.ZodEffects<z.ZodString, string, string>;
|
|
1950
1762
|
device_model_id: z.ZodEffects<z.ZodString, string, string>;
|
|
1951
|
-
|
|
1952
|
-
|
|
1953
|
-
|
|
1954
|
-
device_note_2: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
|
|
1763
|
+
device_type_name: z.ZodEffects<z.ZodString, string, string>;
|
|
1764
|
+
device_type_code: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
|
|
1765
|
+
description: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
|
|
1955
1766
|
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
1956
1767
|
}, "strip", z.ZodTypeAny, {
|
|
1957
1768
|
status: Status;
|
|
1769
|
+
description: string;
|
|
1770
|
+
device_type_name: string;
|
|
1771
|
+
device_type_code: string;
|
|
1958
1772
|
device_manufacturer_id: string;
|
|
1959
1773
|
device_model_id: string;
|
|
1960
|
-
device_identifier: string;
|
|
1961
|
-
device_note_1: string;
|
|
1962
|
-
device_note_2: string;
|
|
1963
|
-
device_gps_source: GPSSource;
|
|
1964
1774
|
}, {
|
|
1965
1775
|
status: Status;
|
|
1966
|
-
|
|
1967
|
-
|
|
1968
|
-
|
|
1969
|
-
|
|
1970
|
-
|
|
1971
|
-
device_note_2?: string | undefined;
|
|
1776
|
+
device_type_name: string;
|
|
1777
|
+
device_manufacturer_id: string;
|
|
1778
|
+
device_model_id: string;
|
|
1779
|
+
description?: string | undefined;
|
|
1780
|
+
device_type_code?: string | undefined;
|
|
1972
1781
|
}>;
|
|
1973
|
-
type
|
|
1974
|
-
declare const
|
|
1782
|
+
type MasterDeviceTypeDTO = z.infer<typeof MasterDeviceTypeSchema>;
|
|
1783
|
+
declare const MasterDeviceTypeQuerySchema: z.ZodObject<{
|
|
1975
1784
|
search: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
|
|
1976
1785
|
status: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof Status>, "many">>>;
|
|
1977
1786
|
paging: z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof PAGING>>>;
|
|
@@ -2002,17 +1811,9 @@ declare const MasterDeviceQuerySchema: z.ZodObject<{
|
|
|
2002
1811
|
date_format_id: z.ZodEffects<z.ZodString, string, string>;
|
|
2003
1812
|
time_zone_id: z.ZodEffects<z.ZodString, string, string>;
|
|
2004
1813
|
} & {
|
|
2005
|
-
organisation_ids: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
2006
|
-
country_ids: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
2007
|
-
time_zone_ids: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
2008
|
-
vehicle_ids: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
2009
1814
|
device_manufacturer_ids: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
2010
1815
|
device_model_ids: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
2011
1816
|
device_type_ids: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
2012
|
-
device_ids: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
2013
|
-
is_device_used: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof DeviceStatus>, "many">>>;
|
|
2014
|
-
is_sim_linked: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof YesNo>, "many">>>;
|
|
2015
|
-
device_gps_source: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof GPSSource>, "many">>>;
|
|
2016
1817
|
}, "strip", z.ZodTypeAny, {
|
|
2017
1818
|
status: Status[];
|
|
2018
1819
|
search: string;
|
|
@@ -2035,17 +1836,9 @@ declare const MasterDeviceQuerySchema: z.ZodObject<{
|
|
|
2035
1836
|
include_master_data: YesNo;
|
|
2036
1837
|
date_format_id: string;
|
|
2037
1838
|
time_zone_id: string;
|
|
2038
|
-
organisation_ids: string[];
|
|
2039
|
-
country_ids: string[];
|
|
2040
|
-
time_zone_ids: string[];
|
|
2041
|
-
vehicle_ids: string[];
|
|
2042
1839
|
device_manufacturer_ids: string[];
|
|
2043
1840
|
device_model_ids: string[];
|
|
2044
1841
|
device_type_ids: string[];
|
|
2045
|
-
is_sim_linked: YesNo[];
|
|
2046
|
-
is_device_used: DeviceStatus[];
|
|
2047
|
-
device_gps_source: GPSSource[];
|
|
2048
|
-
device_ids: string[];
|
|
2049
1842
|
}, {
|
|
2050
1843
|
date_format_id: string;
|
|
2051
1844
|
time_zone_id: string;
|
|
@@ -2068,79 +1861,59 @@ declare const MasterDeviceQuerySchema: z.ZodObject<{
|
|
|
2068
1861
|
direction: OrderBy;
|
|
2069
1862
|
}[] | undefined;
|
|
2070
1863
|
include_master_data?: YesNo | undefined;
|
|
2071
|
-
organisation_ids?: string[] | undefined;
|
|
2072
|
-
country_ids?: string[] | undefined;
|
|
2073
|
-
time_zone_ids?: string[] | undefined;
|
|
2074
|
-
vehicle_ids?: string[] | undefined;
|
|
2075
1864
|
device_manufacturer_ids?: string[] | undefined;
|
|
2076
1865
|
device_model_ids?: string[] | undefined;
|
|
2077
1866
|
device_type_ids?: string[] | undefined;
|
|
2078
|
-
is_sim_linked?: YesNo[] | undefined;
|
|
2079
|
-
is_device_used?: DeviceStatus[] | undefined;
|
|
2080
|
-
device_gps_source?: GPSSource[] | undefined;
|
|
2081
|
-
device_ids?: string[] | undefined;
|
|
2082
1867
|
}>;
|
|
2083
|
-
type
|
|
2084
|
-
declare const
|
|
2085
|
-
|
|
2086
|
-
|
|
2087
|
-
|
|
2088
|
-
|
|
2089
|
-
|
|
2090
|
-
|
|
2091
|
-
|
|
2092
|
-
|
|
2093
|
-
}>;
|
|
2094
|
-
type DeviceSimLinkDTO = z.infer<typeof DeviceSimLinkSchema>;
|
|
2095
|
-
declare const toMasterDevicePayload: (device: MasterDevice) => MasterDeviceDTO;
|
|
2096
|
-
declare const newMasterDevicePayload: () => MasterDeviceDTO;
|
|
2097
|
-
declare const findMasterDevices: (data: MasterDeviceQueryDTO) => Promise<FBR<MasterDevice[]>>;
|
|
2098
|
-
declare const createMasterDevice: (data: MasterDeviceDTO) => Promise<SBR>;
|
|
2099
|
-
declare const updateMasterDevice: (id: string, data: MasterDeviceDTO) => Promise<SBR>;
|
|
2100
|
-
declare const deleteMasterDevice: (id: string) => Promise<SBR>;
|
|
2101
|
-
declare const device_sim_link: (payload: DeviceSimLinkDTO) => Promise<SBR>;
|
|
2102
|
-
declare const device_sim_unlink: (payload: DeviceSimLinkDTO) => Promise<SBR>;
|
|
2103
|
-
declare const get_device_sim_link_history_by_sim: (id: string, params: BaseQueryDTO) => Promise<FBR<AssignRemoveSimHistory[]>>;
|
|
2104
|
-
declare const get_device_sim_link_history_by_device: (id: string, params: BaseQueryDTO) => Promise<FBR<AssignRemoveSimHistory[]>>;
|
|
1868
|
+
type MasterDeviceTypeQueryDTO = z.infer<typeof MasterDeviceTypeQuerySchema>;
|
|
1869
|
+
declare const toMasterDeviceTypePayload: (row: MasterDeviceType) => MasterDeviceTypeDTO;
|
|
1870
|
+
declare const newMasterDeviceTypePayload: () => MasterDeviceTypeDTO;
|
|
1871
|
+
declare const findMasterDeviceTypes: (data: MasterDeviceTypeQueryDTO) => Promise<FBR<MasterDeviceType[]>>;
|
|
1872
|
+
declare const createMasterDeviceType: (data: MasterDeviceTypeDTO) => Promise<SBR>;
|
|
1873
|
+
declare const updateMasterDeviceType: (id: string, data: MasterDeviceTypeDTO) => Promise<SBR>;
|
|
1874
|
+
declare const deleteMasterDeviceType: (id: string) => Promise<SBR>;
|
|
1875
|
+
declare const getMasterDeviceTypeCache: (device_model_id?: string) => Promise<FBR<MasterDeviceType[]>>;
|
|
1876
|
+
declare const getMasterDeviceTypeCacheCount: (device_model_id?: string) => Promise<FBR<MasterDeviceType>>;
|
|
1877
|
+
declare const getMasterDeviceTypeCacheChild: (device_model_id?: string) => Promise<FBR<MasterDeviceType[]>>;
|
|
2105
1878
|
|
|
2106
|
-
interface
|
|
2107
|
-
|
|
2108
|
-
|
|
2109
|
-
|
|
1879
|
+
interface MasterDeviceModel extends Record<string, unknown> {
|
|
1880
|
+
device_model_id: string;
|
|
1881
|
+
device_model_name: string;
|
|
1882
|
+
device_model_code?: string;
|
|
2110
1883
|
description?: string;
|
|
2111
|
-
logo_key?: string;
|
|
2112
|
-
logo_url?: string;
|
|
2113
1884
|
status: Status;
|
|
2114
1885
|
added_date_time: string;
|
|
2115
1886
|
modified_date_time: string;
|
|
2116
|
-
|
|
2117
|
-
|
|
2118
|
-
|
|
1887
|
+
device_manufacturer_id: string;
|
|
1888
|
+
MasterDeviceManufacturer?: MasterDeviceManufacturer;
|
|
1889
|
+
MasterDeviceType: MasterDeviceType[];
|
|
1890
|
+
MasterDevice: MasterDevice[];
|
|
2119
1891
|
_count?: {
|
|
2120
|
-
|
|
1892
|
+
MasterDeviceType: number;
|
|
1893
|
+
MasterDevice: number;
|
|
2121
1894
|
};
|
|
2122
1895
|
}
|
|
2123
|
-
declare const
|
|
2124
|
-
|
|
2125
|
-
|
|
2126
|
-
|
|
1896
|
+
declare const MasterDeviceModelSchema: z.ZodObject<{
|
|
1897
|
+
device_manufacturer_id: z.ZodEffects<z.ZodString, string, string>;
|
|
1898
|
+
device_model_name: z.ZodEffects<z.ZodString, string, string>;
|
|
1899
|
+
device_model_code: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
|
|
2127
1900
|
description: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
|
|
2128
1901
|
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
2129
1902
|
}, "strip", z.ZodTypeAny, {
|
|
2130
1903
|
status: Status;
|
|
2131
|
-
organisation_id: string;
|
|
2132
1904
|
description: string;
|
|
2133
|
-
|
|
2134
|
-
|
|
1905
|
+
device_manufacturer_id: string;
|
|
1906
|
+
device_model_name: string;
|
|
1907
|
+
device_model_code: string;
|
|
2135
1908
|
}, {
|
|
2136
1909
|
status: Status;
|
|
2137
|
-
|
|
2138
|
-
|
|
2139
|
-
sub_company_GSTIN: string;
|
|
1910
|
+
device_manufacturer_id: string;
|
|
1911
|
+
device_model_name: string;
|
|
2140
1912
|
description?: string | undefined;
|
|
1913
|
+
device_model_code?: string | undefined;
|
|
2141
1914
|
}>;
|
|
2142
|
-
type
|
|
2143
|
-
declare const
|
|
1915
|
+
type MasterDeviceModelDTO = z.infer<typeof MasterDeviceModelSchema>;
|
|
1916
|
+
declare const MasterDeviceModelQuerySchema: z.ZodObject<{
|
|
2144
1917
|
search: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
|
|
2145
1918
|
status: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof Status>, "many">>>;
|
|
2146
1919
|
paging: z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof PAGING>>>;
|
|
@@ -2171,8 +1944,8 @@ declare const OrganisationSubCompanyQuerySchema: z.ZodObject<{
|
|
|
2171
1944
|
date_format_id: z.ZodEffects<z.ZodString, string, string>;
|
|
2172
1945
|
time_zone_id: z.ZodEffects<z.ZodString, string, string>;
|
|
2173
1946
|
} & {
|
|
2174
|
-
|
|
2175
|
-
|
|
1947
|
+
device_manufacturer_ids: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
1948
|
+
device_model_ids: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
2176
1949
|
}, "strip", z.ZodTypeAny, {
|
|
2177
1950
|
status: Status[];
|
|
2178
1951
|
search: string;
|
|
@@ -2195,8 +1968,8 @@ declare const OrganisationSubCompanyQuerySchema: z.ZodObject<{
|
|
|
2195
1968
|
include_master_data: YesNo;
|
|
2196
1969
|
date_format_id: string;
|
|
2197
1970
|
time_zone_id: string;
|
|
2198
|
-
|
|
2199
|
-
|
|
1971
|
+
device_manufacturer_ids: string[];
|
|
1972
|
+
device_model_ids: string[];
|
|
2200
1973
|
}, {
|
|
2201
1974
|
date_format_id: string;
|
|
2202
1975
|
time_zone_id: string;
|
|
@@ -2219,60 +1992,55 @@ declare const OrganisationSubCompanyQuerySchema: z.ZodObject<{
|
|
|
2219
1992
|
direction: OrderBy;
|
|
2220
1993
|
}[] | undefined;
|
|
2221
1994
|
include_master_data?: YesNo | undefined;
|
|
2222
|
-
|
|
2223
|
-
|
|
1995
|
+
device_manufacturer_ids?: string[] | undefined;
|
|
1996
|
+
device_model_ids?: string[] | undefined;
|
|
2224
1997
|
}>;
|
|
2225
|
-
type
|
|
2226
|
-
declare const
|
|
2227
|
-
declare const
|
|
2228
|
-
declare const
|
|
2229
|
-
declare const
|
|
2230
|
-
declare const
|
|
2231
|
-
declare const
|
|
2232
|
-
declare const
|
|
2233
|
-
declare const
|
|
2234
|
-
declare const
|
|
1998
|
+
type MasterDeviceModelQueryDTO = z.infer<typeof MasterDeviceModelQuerySchema>;
|
|
1999
|
+
declare const toMasterDeviceModelPayload: (row: MasterDeviceModel) => MasterDeviceModelDTO;
|
|
2000
|
+
declare const newMasterDeviceModelPayload: () => MasterDeviceModelDTO;
|
|
2001
|
+
declare const findMasterDeviceModels: (data: MasterDeviceModelQueryDTO) => Promise<FBR<MasterDeviceModel[]>>;
|
|
2002
|
+
declare const createMasterDeviceModel: (data: MasterDeviceModelDTO) => Promise<SBR>;
|
|
2003
|
+
declare const updateMasterDeviceModel: (id: string, data: MasterDeviceModelDTO) => Promise<SBR>;
|
|
2004
|
+
declare const deleteMasterDeviceModel: (id: string) => Promise<SBR>;
|
|
2005
|
+
declare const getMasterDeviceModelCache: (device_manufacturer_id?: string) => Promise<FBR<MasterDeviceModel[]>>;
|
|
2006
|
+
declare const getMasterDeviceModelCacheCount: (device_manufacturer_id?: string) => Promise<FBR<MasterDeviceModel>>;
|
|
2007
|
+
declare const getMasterDeviceModelCacheChild: (device_manufacturer_id?: string) => Promise<FBR<MasterDeviceModel[]>>;
|
|
2235
2008
|
|
|
2236
|
-
interface
|
|
2237
|
-
|
|
2238
|
-
|
|
2239
|
-
|
|
2240
|
-
branch_address: string;
|
|
2009
|
+
interface MasterDeviceManufacturer extends Record<string, unknown> {
|
|
2010
|
+
device_manufacturer_id: string;
|
|
2011
|
+
device_manufacturer_name: string;
|
|
2012
|
+
device_manufacturer_code?: string;
|
|
2241
2013
|
description?: string;
|
|
2242
2014
|
status: Status;
|
|
2243
2015
|
added_date_time: string;
|
|
2244
2016
|
modified_date_time: string;
|
|
2245
|
-
|
|
2246
|
-
|
|
2247
|
-
|
|
2017
|
+
MasterDeviceModel: MasterDeviceModel[];
|
|
2018
|
+
MasterDeviceType: MasterDeviceType[];
|
|
2019
|
+
MasterDevice: MasterDevice[];
|
|
2248
2020
|
_count?: {
|
|
2249
|
-
|
|
2021
|
+
MasterDeviceModel: number;
|
|
2022
|
+
MasterDeviceType: number;
|
|
2023
|
+
MasterDevice: number;
|
|
2250
2024
|
};
|
|
2251
2025
|
}
|
|
2252
|
-
declare const
|
|
2253
|
-
|
|
2254
|
-
|
|
2255
|
-
branch_city: z.ZodEffects<z.ZodString, string, string>;
|
|
2256
|
-
branch_address: z.ZodEffects<z.ZodString, string, string>;
|
|
2026
|
+
declare const MasterDeviceManufacturerSchema: z.ZodObject<{
|
|
2027
|
+
device_manufacturer_name: z.ZodEffects<z.ZodString, string, string>;
|
|
2028
|
+
device_manufacturer_code: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
|
|
2257
2029
|
description: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
|
|
2258
2030
|
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
2259
2031
|
}, "strip", z.ZodTypeAny, {
|
|
2260
2032
|
status: Status;
|
|
2261
|
-
organisation_id: string;
|
|
2262
2033
|
description: string;
|
|
2263
|
-
|
|
2264
|
-
|
|
2265
|
-
branch_address: string;
|
|
2034
|
+
device_manufacturer_name: string;
|
|
2035
|
+
device_manufacturer_code: string;
|
|
2266
2036
|
}, {
|
|
2267
2037
|
status: Status;
|
|
2268
|
-
|
|
2269
|
-
branch_name: string;
|
|
2270
|
-
branch_city: string;
|
|
2271
|
-
branch_address: string;
|
|
2038
|
+
device_manufacturer_name: string;
|
|
2272
2039
|
description?: string | undefined;
|
|
2040
|
+
device_manufacturer_code?: string | undefined;
|
|
2273
2041
|
}>;
|
|
2274
|
-
type
|
|
2275
|
-
declare const
|
|
2042
|
+
type MasterDeviceManufacturerDTO = z.infer<typeof MasterDeviceManufacturerSchema>;
|
|
2043
|
+
declare const MasterDeviceManufacturerQuerySchema: z.ZodObject<{
|
|
2276
2044
|
search: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
|
|
2277
2045
|
status: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof Status>, "many">>>;
|
|
2278
2046
|
paging: z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof PAGING>>>;
|
|
@@ -2303,8 +2071,7 @@ declare const OrganisationBranchQuerySchema: z.ZodObject<{
|
|
|
2303
2071
|
date_format_id: z.ZodEffects<z.ZodString, string, string>;
|
|
2304
2072
|
time_zone_id: z.ZodEffects<z.ZodString, string, string>;
|
|
2305
2073
|
} & {
|
|
2306
|
-
|
|
2307
|
-
organisation_branch_ids: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
2074
|
+
device_manufacturer_ids: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
2308
2075
|
}, "strip", z.ZodTypeAny, {
|
|
2309
2076
|
status: Status[];
|
|
2310
2077
|
search: string;
|
|
@@ -2327,8 +2094,7 @@ declare const OrganisationBranchQuerySchema: z.ZodObject<{
|
|
|
2327
2094
|
include_master_data: YesNo;
|
|
2328
2095
|
date_format_id: string;
|
|
2329
2096
|
time_zone_id: string;
|
|
2330
|
-
|
|
2331
|
-
organisation_branch_ids: string[];
|
|
2097
|
+
device_manufacturer_ids: string[];
|
|
2332
2098
|
}, {
|
|
2333
2099
|
date_format_id: string;
|
|
2334
2100
|
time_zone_id: string;
|
|
@@ -2351,56 +2117,80 @@ declare const OrganisationBranchQuerySchema: z.ZodObject<{
|
|
|
2351
2117
|
direction: OrderBy;
|
|
2352
2118
|
}[] | undefined;
|
|
2353
2119
|
include_master_data?: YesNo | undefined;
|
|
2354
|
-
|
|
2355
|
-
organisation_branch_ids?: string[] | undefined;
|
|
2120
|
+
device_manufacturer_ids?: string[] | undefined;
|
|
2356
2121
|
}>;
|
|
2357
|
-
type
|
|
2358
|
-
declare const
|
|
2359
|
-
declare const
|
|
2360
|
-
declare const
|
|
2361
|
-
declare const
|
|
2362
|
-
declare const
|
|
2363
|
-
declare const
|
|
2364
|
-
declare const
|
|
2365
|
-
declare const
|
|
2366
|
-
declare const
|
|
2122
|
+
type MasterDeviceManufacturerQueryDTO = z.infer<typeof MasterDeviceManufacturerQuerySchema>;
|
|
2123
|
+
declare const toMasterDeviceManufacturerPayload: (row: MasterDeviceManufacturer) => MasterDeviceManufacturerDTO;
|
|
2124
|
+
declare const newMasterDeviceManufacturerPayload: () => MasterDeviceManufacturerDTO;
|
|
2125
|
+
declare const findMasterDeviceManufacturers: (data: MasterDeviceManufacturerQueryDTO) => Promise<FBR<MasterDeviceManufacturer[]>>;
|
|
2126
|
+
declare const createMasterDeviceManufacturer: (data: MasterDeviceManufacturerDTO) => Promise<SBR>;
|
|
2127
|
+
declare const updateMasterDeviceManufacturer: (id: string, data: MasterDeviceManufacturerDTO) => Promise<SBR>;
|
|
2128
|
+
declare const deleteMasterDeviceManufacturer: (id: string) => Promise<SBR>;
|
|
2129
|
+
declare const getMasterDeviceManufacturerCache: () => Promise<FBR<MasterDeviceManufacturer[]>>;
|
|
2130
|
+
declare const getMasterDeviceManufacturerCacheCount: () => Promise<FBR<MasterDeviceManufacturer>>;
|
|
2131
|
+
declare const getMasterDeviceManufacturerCacheChild: () => Promise<FBR<MasterDeviceManufacturer[]>>;
|
|
2367
2132
|
|
|
2368
|
-
interface
|
|
2369
|
-
|
|
2370
|
-
|
|
2371
|
-
|
|
2372
|
-
|
|
2133
|
+
interface MasterSim extends Record<string, unknown> {
|
|
2134
|
+
sim_id: string;
|
|
2135
|
+
sim_number: string;
|
|
2136
|
+
sim_imei: string;
|
|
2137
|
+
sim_serial_number: string;
|
|
2138
|
+
sim_status: SimStatus;
|
|
2139
|
+
billing_status: BillingStatus;
|
|
2373
2140
|
status: Status;
|
|
2374
2141
|
added_date_time: string;
|
|
2375
2142
|
modified_date_time: string;
|
|
2376
|
-
|
|
2377
|
-
|
|
2378
|
-
|
|
2143
|
+
device_id?: string;
|
|
2144
|
+
MasterDevice?: MasterDevice;
|
|
2145
|
+
device_sim_link_date?: string;
|
|
2146
|
+
AssignRemoveSimHistory: AssignRemoveSimHistory[];
|
|
2147
|
+
Dummy_MasterDevice: MasterDevice[];
|
|
2148
|
+
sim_provider_id: string;
|
|
2149
|
+
MasterMainSimProvider: MasterMainSimProvider;
|
|
2379
2150
|
_count?: {
|
|
2380
|
-
|
|
2151
|
+
AssignRemoveSimHistory: number;
|
|
2152
|
+
Dummy_MasterDevice: number;
|
|
2381
2153
|
};
|
|
2382
2154
|
}
|
|
2383
|
-
|
|
2384
|
-
|
|
2385
|
-
|
|
2386
|
-
|
|
2387
|
-
|
|
2155
|
+
interface AssignRemoveSimHistory extends Record<string, unknown> {
|
|
2156
|
+
history_id: string;
|
|
2157
|
+
device_sim_link_date?: string;
|
|
2158
|
+
device_sim_unlink_date?: string;
|
|
2159
|
+
status: Status;
|
|
2160
|
+
added_date_time: string;
|
|
2161
|
+
modified_date_time: string;
|
|
2162
|
+
sim_id: string;
|
|
2163
|
+
MasterSim: MasterSim;
|
|
2164
|
+
device_id: string;
|
|
2165
|
+
MasterDevice: MasterDevice;
|
|
2166
|
+
}
|
|
2167
|
+
declare const MasterSimSchema: z.ZodObject<{
|
|
2168
|
+
sim_provider_id: z.ZodEffects<z.ZodString, string, string>;
|
|
2169
|
+
sim_number: z.ZodEffects<z.ZodString, string, string>;
|
|
2170
|
+
sim_imei: z.ZodEffects<z.ZodString, string, string>;
|
|
2171
|
+
sim_serial_number: z.ZodEffects<z.ZodString, string, string>;
|
|
2172
|
+
sim_status: z.ZodType<SimStatus, z.ZodTypeDef, SimStatus>;
|
|
2173
|
+
billing_status: z.ZodType<BillingStatus, z.ZodTypeDef, BillingStatus>;
|
|
2388
2174
|
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
2389
2175
|
}, "strip", z.ZodTypeAny, {
|
|
2390
2176
|
status: Status;
|
|
2391
|
-
|
|
2392
|
-
|
|
2393
|
-
|
|
2394
|
-
|
|
2177
|
+
sim_provider_id: string;
|
|
2178
|
+
sim_number: string;
|
|
2179
|
+
sim_imei: string;
|
|
2180
|
+
sim_serial_number: string;
|
|
2181
|
+
sim_status: SimStatus;
|
|
2182
|
+
billing_status: BillingStatus;
|
|
2395
2183
|
}, {
|
|
2396
2184
|
status: Status;
|
|
2397
|
-
|
|
2398
|
-
|
|
2399
|
-
|
|
2400
|
-
|
|
2185
|
+
sim_provider_id: string;
|
|
2186
|
+
sim_number: string;
|
|
2187
|
+
sim_imei: string;
|
|
2188
|
+
sim_serial_number: string;
|
|
2189
|
+
sim_status: SimStatus;
|
|
2190
|
+
billing_status: BillingStatus;
|
|
2401
2191
|
}>;
|
|
2402
|
-
type
|
|
2403
|
-
declare const
|
|
2192
|
+
type MasterSimDTO = z.infer<typeof MasterSimSchema>;
|
|
2193
|
+
declare const MasterSimQuerySchema: z.ZodObject<{
|
|
2404
2194
|
search: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
|
|
2405
2195
|
status: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof Status>, "many">>>;
|
|
2406
2196
|
paging: z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof PAGING>>>;
|
|
@@ -2431,8 +2221,10 @@ declare const OrganisationColorQuerySchema: z.ZodObject<{
|
|
|
2431
2221
|
date_format_id: z.ZodEffects<z.ZodString, string, string>;
|
|
2432
2222
|
time_zone_id: z.ZodEffects<z.ZodString, string, string>;
|
|
2433
2223
|
} & {
|
|
2434
|
-
|
|
2435
|
-
|
|
2224
|
+
sim_provider_ids: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
2225
|
+
sim_ids: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
2226
|
+
sim_status: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof SimStatus>, "many">>>;
|
|
2227
|
+
billing_status: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof BillingStatus>, "many">>>;
|
|
2436
2228
|
}, "strip", z.ZodTypeAny, {
|
|
2437
2229
|
status: Status[];
|
|
2438
2230
|
search: string;
|
|
@@ -2455,8 +2247,10 @@ declare const OrganisationColorQuerySchema: z.ZodObject<{
|
|
|
2455
2247
|
include_master_data: YesNo;
|
|
2456
2248
|
date_format_id: string;
|
|
2457
2249
|
time_zone_id: string;
|
|
2458
|
-
|
|
2459
|
-
|
|
2250
|
+
sim_provider_ids: string[];
|
|
2251
|
+
sim_status: SimStatus[];
|
|
2252
|
+
billing_status: BillingStatus[];
|
|
2253
|
+
sim_ids: string[];
|
|
2460
2254
|
}, {
|
|
2461
2255
|
date_format_id: string;
|
|
2462
2256
|
time_zone_id: string;
|
|
@@ -2479,52 +2273,112 @@ declare const OrganisationColorQuerySchema: z.ZodObject<{
|
|
|
2479
2273
|
direction: OrderBy;
|
|
2480
2274
|
}[] | undefined;
|
|
2481
2275
|
include_master_data?: YesNo | undefined;
|
|
2482
|
-
|
|
2483
|
-
|
|
2276
|
+
sim_provider_ids?: string[] | undefined;
|
|
2277
|
+
sim_status?: SimStatus[] | undefined;
|
|
2278
|
+
billing_status?: BillingStatus[] | undefined;
|
|
2279
|
+
sim_ids?: string[] | undefined;
|
|
2484
2280
|
}>;
|
|
2485
|
-
type
|
|
2486
|
-
declare const
|
|
2487
|
-
declare const
|
|
2488
|
-
declare const
|
|
2489
|
-
declare const
|
|
2490
|
-
declare const
|
|
2491
|
-
declare const
|
|
2492
|
-
declare const getOrganisationColorCache: (organisation_id: string) => Promise<FBR<OrganisationColor[]>>;
|
|
2493
|
-
declare const getOrganisationColorCacheCount: (organisation_id: string) => Promise<FBR<OrganisationColor[]>>;
|
|
2494
|
-
declare const getOrganisationColorCacheChild: (organisation_id: string) => Promise<FBR<OrganisationColor[]>>;
|
|
2281
|
+
type MasterSimQueryDTO = z.infer<typeof MasterSimQuerySchema>;
|
|
2282
|
+
declare const toMasterSimPayload: (sim: MasterSim) => MasterSimDTO;
|
|
2283
|
+
declare const newMasterSimPayload: () => MasterSimDTO;
|
|
2284
|
+
declare const findMasterSims: (data: MasterSimQueryDTO) => Promise<FBR<MasterSim[]>>;
|
|
2285
|
+
declare const createMasterSim: (data: MasterSimDTO) => Promise<SBR>;
|
|
2286
|
+
declare const updateMasterSim: (id: string, data: MasterSimDTO) => Promise<SBR>;
|
|
2287
|
+
declare const deleteMasterSim: (id: string) => Promise<SBR>;
|
|
2495
2288
|
|
|
2496
|
-
interface
|
|
2497
|
-
|
|
2498
|
-
|
|
2499
|
-
|
|
2289
|
+
interface MasterDevice extends Record<string, unknown> {
|
|
2290
|
+
device_id: string;
|
|
2291
|
+
serial_no: number;
|
|
2292
|
+
device_identifier: string;
|
|
2293
|
+
device_note_1: string;
|
|
2294
|
+
device_note_2: string;
|
|
2500
2295
|
status: Status;
|
|
2501
2296
|
added_date_time: string;
|
|
2502
2297
|
modified_date_time: string;
|
|
2503
|
-
|
|
2504
|
-
|
|
2505
|
-
|
|
2298
|
+
is_sim_linked: YesNo;
|
|
2299
|
+
sim_id?: string;
|
|
2300
|
+
MasterSim?: MasterSim;
|
|
2301
|
+
device_sim_link_date?: string;
|
|
2302
|
+
AssignRemoveSimHistory: AssignRemoveSimHistory[];
|
|
2303
|
+
is_device_used: DeviceStatus;
|
|
2304
|
+
vehicle_id?: string;
|
|
2305
|
+
MasterVehicle?: MasterVehicle;
|
|
2306
|
+
assign_device_date?: string;
|
|
2307
|
+
AssignRemoveDeviceHistory: AssignRemoveDeviceHistory[];
|
|
2308
|
+
device_gps_source: GPSSource;
|
|
2309
|
+
db_instance: string;
|
|
2310
|
+
db_group: string;
|
|
2311
|
+
device_image_url?: string;
|
|
2312
|
+
device_image_key?: string;
|
|
2313
|
+
vehicle_image_url?: string;
|
|
2314
|
+
vehicle_image_key?: string;
|
|
2315
|
+
sim_image_url?: string;
|
|
2316
|
+
sim_image_key?: string;
|
|
2317
|
+
device_manufacturer_id?: string;
|
|
2318
|
+
MasterDeviceManufacturer?: MasterDeviceManufacturer;
|
|
2319
|
+
device_model_id?: string;
|
|
2320
|
+
MasterDeviceModel?: MasterDeviceModel;
|
|
2321
|
+
device_type_id?: string;
|
|
2322
|
+
MasterDeviceType?: MasterDeviceType;
|
|
2323
|
+
organisation_id?: string;
|
|
2324
|
+
UserOrganisation?: UserOrganisation;
|
|
2325
|
+
country_id?: string;
|
|
2326
|
+
MasterMainCountry?: MasterMainCountry;
|
|
2327
|
+
time_zone_id?: string;
|
|
2328
|
+
MasterMainTimeZone?: MasterMainTimeZone;
|
|
2329
|
+
Dummy_MasterVehicle: MasterVehicle[];
|
|
2330
|
+
Dummy_MasterSim: MasterSim[];
|
|
2506
2331
|
_count?: {
|
|
2507
|
-
|
|
2332
|
+
AssignRemoveSimHistory?: number;
|
|
2333
|
+
AssignRemoveDeviceHistory?: number;
|
|
2334
|
+
GPSFuelVehicleRemoval?: number;
|
|
2335
|
+
GPSFuelVehicleDailySummary?: number;
|
|
2336
|
+
GPSLockDigitalDoorLog?: number;
|
|
2337
|
+
GPSLockRelayLog?: number;
|
|
2338
|
+
GPSFuelVehicleRefill?: number;
|
|
2339
|
+
Dummy_MasterVehicle?: number;
|
|
2340
|
+
Dummy_MasterSim?: number;
|
|
2508
2341
|
};
|
|
2509
2342
|
}
|
|
2510
|
-
|
|
2511
|
-
|
|
2512
|
-
|
|
2513
|
-
|
|
2343
|
+
interface AssignRemoveDeviceHistory extends Record<string, unknown> {
|
|
2344
|
+
history_id: string;
|
|
2345
|
+
assign_date?: string;
|
|
2346
|
+
remove_date?: string;
|
|
2347
|
+
status: Status;
|
|
2348
|
+
added_date_time: string;
|
|
2349
|
+
modified_date_time: string;
|
|
2350
|
+
vehicle_id: string;
|
|
2351
|
+
Vehicle?: MasterVehicle;
|
|
2352
|
+
device_id: string;
|
|
2353
|
+
MasterDevice?: MasterDevice;
|
|
2354
|
+
}
|
|
2355
|
+
declare const MasterDeviceSchema: z.ZodObject<{
|
|
2356
|
+
device_manufacturer_id: z.ZodEffects<z.ZodString, string, string>;
|
|
2357
|
+
device_model_id: z.ZodEffects<z.ZodString, string, string>;
|
|
2358
|
+
device_gps_source: z.ZodType<GPSSource, z.ZodTypeDef, GPSSource>;
|
|
2359
|
+
device_identifier: z.ZodEffects<z.ZodString, string, string>;
|
|
2360
|
+
device_note_1: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
|
|
2361
|
+
device_note_2: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
|
|
2514
2362
|
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
2515
2363
|
}, "strip", z.ZodTypeAny, {
|
|
2516
2364
|
status: Status;
|
|
2517
|
-
|
|
2518
|
-
|
|
2519
|
-
|
|
2365
|
+
device_manufacturer_id: string;
|
|
2366
|
+
device_model_id: string;
|
|
2367
|
+
device_identifier: string;
|
|
2368
|
+
device_note_1: string;
|
|
2369
|
+
device_note_2: string;
|
|
2370
|
+
device_gps_source: GPSSource;
|
|
2520
2371
|
}, {
|
|
2521
2372
|
status: Status;
|
|
2522
|
-
|
|
2523
|
-
|
|
2524
|
-
|
|
2373
|
+
device_manufacturer_id: string;
|
|
2374
|
+
device_model_id: string;
|
|
2375
|
+
device_identifier: string;
|
|
2376
|
+
device_gps_source: GPSSource;
|
|
2377
|
+
device_note_1?: string | undefined;
|
|
2378
|
+
device_note_2?: string | undefined;
|
|
2525
2379
|
}>;
|
|
2526
|
-
type
|
|
2527
|
-
declare const
|
|
2380
|
+
type MasterDeviceDTO = z.infer<typeof MasterDeviceSchema>;
|
|
2381
|
+
declare const MasterDeviceQuerySchema: z.ZodObject<{
|
|
2528
2382
|
search: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
|
|
2529
2383
|
status: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof Status>, "many">>>;
|
|
2530
2384
|
paging: z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof PAGING>>>;
|
|
@@ -2556,7 +2410,16 @@ declare const OrganisationTagQuerySchema: z.ZodObject<{
|
|
|
2556
2410
|
time_zone_id: z.ZodEffects<z.ZodString, string, string>;
|
|
2557
2411
|
} & {
|
|
2558
2412
|
organisation_ids: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
2559
|
-
|
|
2413
|
+
country_ids: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
2414
|
+
time_zone_ids: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
2415
|
+
vehicle_ids: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
2416
|
+
device_manufacturer_ids: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
2417
|
+
device_model_ids: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
2418
|
+
device_type_ids: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
2419
|
+
device_ids: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
2420
|
+
is_device_used: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof DeviceStatus>, "many">>>;
|
|
2421
|
+
is_sim_linked: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof YesNo>, "many">>>;
|
|
2422
|
+
device_gps_source: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof GPSSource>, "many">>>;
|
|
2560
2423
|
}, "strip", z.ZodTypeAny, {
|
|
2561
2424
|
status: Status[];
|
|
2562
2425
|
search: string;
|
|
@@ -2580,7 +2443,16 @@ declare const OrganisationTagQuerySchema: z.ZodObject<{
|
|
|
2580
2443
|
date_format_id: string;
|
|
2581
2444
|
time_zone_id: string;
|
|
2582
2445
|
organisation_ids: string[];
|
|
2583
|
-
|
|
2446
|
+
country_ids: string[];
|
|
2447
|
+
time_zone_ids: string[];
|
|
2448
|
+
vehicle_ids: string[];
|
|
2449
|
+
device_manufacturer_ids: string[];
|
|
2450
|
+
device_model_ids: string[];
|
|
2451
|
+
device_type_ids: string[];
|
|
2452
|
+
is_sim_linked: YesNo[];
|
|
2453
|
+
is_device_used: DeviceStatus[];
|
|
2454
|
+
device_gps_source: GPSSource[];
|
|
2455
|
+
device_ids: string[];
|
|
2584
2456
|
}, {
|
|
2585
2457
|
date_format_id: string;
|
|
2586
2458
|
time_zone_id: string;
|
|
@@ -2604,18 +2476,39 @@ declare const OrganisationTagQuerySchema: z.ZodObject<{
|
|
|
2604
2476
|
}[] | undefined;
|
|
2605
2477
|
include_master_data?: YesNo | undefined;
|
|
2606
2478
|
organisation_ids?: string[] | undefined;
|
|
2607
|
-
|
|
2479
|
+
country_ids?: string[] | undefined;
|
|
2480
|
+
time_zone_ids?: string[] | undefined;
|
|
2481
|
+
vehicle_ids?: string[] | undefined;
|
|
2482
|
+
device_manufacturer_ids?: string[] | undefined;
|
|
2483
|
+
device_model_ids?: string[] | undefined;
|
|
2484
|
+
device_type_ids?: string[] | undefined;
|
|
2485
|
+
is_sim_linked?: YesNo[] | undefined;
|
|
2486
|
+
is_device_used?: DeviceStatus[] | undefined;
|
|
2487
|
+
device_gps_source?: GPSSource[] | undefined;
|
|
2488
|
+
device_ids?: string[] | undefined;
|
|
2608
2489
|
}>;
|
|
2609
|
-
type
|
|
2610
|
-
declare const
|
|
2611
|
-
|
|
2612
|
-
|
|
2613
|
-
|
|
2614
|
-
|
|
2615
|
-
|
|
2616
|
-
|
|
2617
|
-
|
|
2618
|
-
|
|
2490
|
+
type MasterDeviceQueryDTO = z.infer<typeof MasterDeviceQuerySchema>;
|
|
2491
|
+
declare const DeviceSimLinkSchema: z.ZodObject<{
|
|
2492
|
+
device_id: z.ZodEffects<z.ZodString, string, string>;
|
|
2493
|
+
sim_id: z.ZodEffects<z.ZodString, string, string>;
|
|
2494
|
+
}, "strip", z.ZodTypeAny, {
|
|
2495
|
+
device_id: string;
|
|
2496
|
+
sim_id: string;
|
|
2497
|
+
}, {
|
|
2498
|
+
device_id: string;
|
|
2499
|
+
sim_id: string;
|
|
2500
|
+
}>;
|
|
2501
|
+
type DeviceSimLinkDTO = z.infer<typeof DeviceSimLinkSchema>;
|
|
2502
|
+
declare const toMasterDevicePayload: (device: MasterDevice) => MasterDeviceDTO;
|
|
2503
|
+
declare const newMasterDevicePayload: () => MasterDeviceDTO;
|
|
2504
|
+
declare const findMasterDevices: (data: MasterDeviceQueryDTO) => Promise<FBR<MasterDevice[]>>;
|
|
2505
|
+
declare const createMasterDevice: (data: MasterDeviceDTO) => Promise<SBR>;
|
|
2506
|
+
declare const updateMasterDevice: (id: string, data: MasterDeviceDTO) => Promise<SBR>;
|
|
2507
|
+
declare const deleteMasterDevice: (id: string) => Promise<SBR>;
|
|
2508
|
+
declare const device_sim_link: (payload: DeviceSimLinkDTO) => Promise<SBR>;
|
|
2509
|
+
declare const device_sim_unlink: (payload: DeviceSimLinkDTO) => Promise<SBR>;
|
|
2510
|
+
declare const get_device_sim_link_history_by_sim: (id: string, params: BaseQueryDTO) => Promise<FBR<AssignRemoveSimHistory[]>>;
|
|
2511
|
+
declare const get_device_sim_link_history_by_device: (id: string, params: BaseQueryDTO) => Promise<FBR<AssignRemoveSimHistory[]>>;
|
|
2619
2512
|
|
|
2620
2513
|
interface OrganisationGroup extends Record<string, unknown> {
|
|
2621
2514
|
organisation_group_id: string;
|
|
@@ -4447,10 +4340,10 @@ declare const VehicleDeviceLinkSchema: z.ZodObject<{
|
|
|
4447
4340
|
time_zone_id: string;
|
|
4448
4341
|
country_id: string;
|
|
4449
4342
|
vehicle_id: string;
|
|
4343
|
+
device_id: string;
|
|
4450
4344
|
device_type_id: string;
|
|
4451
4345
|
device_manufacturer_id: string;
|
|
4452
4346
|
device_model_id: string;
|
|
4453
|
-
device_id: string;
|
|
4454
4347
|
device_image_url: string;
|
|
4455
4348
|
device_image_key: string;
|
|
4456
4349
|
vehicle_image_url: string;
|
|
@@ -4470,10 +4363,10 @@ declare const VehicleDeviceLinkSchema: z.ZodObject<{
|
|
|
4470
4363
|
time_zone_id: string;
|
|
4471
4364
|
country_id: string;
|
|
4472
4365
|
vehicle_id: string;
|
|
4366
|
+
device_id: string;
|
|
4473
4367
|
device_type_id: string;
|
|
4474
4368
|
device_manufacturer_id: string;
|
|
4475
4369
|
device_model_id: string;
|
|
4476
|
-
device_id: string;
|
|
4477
4370
|
device_image_url?: string | undefined;
|
|
4478
4371
|
device_image_key?: string | undefined;
|
|
4479
4372
|
vehicle_image_url?: string | undefined;
|
|
@@ -5061,13 +4954,13 @@ declare const VehicleQuerySchema: z.ZodObject<{
|
|
|
5061
4954
|
date_format_id: string;
|
|
5062
4955
|
time_zone_id: string;
|
|
5063
4956
|
organisation_ids: string[];
|
|
5064
|
-
vehicle_ids: string[];
|
|
5065
|
-
driver_ids: string[];
|
|
5066
|
-
device_ids: string[];
|
|
5067
4957
|
organisation_sub_company_ids: string[];
|
|
5068
4958
|
organisation_branch_ids: string[];
|
|
5069
4959
|
organisation_color_ids: string[];
|
|
5070
4960
|
organisation_tag_ids: string[];
|
|
4961
|
+
vehicle_ids: string[];
|
|
4962
|
+
driver_ids: string[];
|
|
4963
|
+
device_ids: string[];
|
|
5071
4964
|
vehicle_make_ids: string[];
|
|
5072
4965
|
vehicle_model_ids: string[];
|
|
5073
4966
|
vehicle_sub_model_ids: string[];
|
|
@@ -5100,13 +4993,13 @@ declare const VehicleQuerySchema: z.ZodObject<{
|
|
|
5100
4993
|
}[] | undefined;
|
|
5101
4994
|
include_master_data?: YesNo | undefined;
|
|
5102
4995
|
organisation_ids?: string[] | undefined;
|
|
5103
|
-
vehicle_ids?: string[] | undefined;
|
|
5104
|
-
driver_ids?: string[] | undefined;
|
|
5105
|
-
device_ids?: string[] | undefined;
|
|
5106
4996
|
organisation_sub_company_ids?: string[] | undefined;
|
|
5107
4997
|
organisation_branch_ids?: string[] | undefined;
|
|
5108
4998
|
organisation_color_ids?: string[] | undefined;
|
|
5109
4999
|
organisation_tag_ids?: string[] | undefined;
|
|
5000
|
+
vehicle_ids?: string[] | undefined;
|
|
5001
|
+
driver_ids?: string[] | undefined;
|
|
5002
|
+
device_ids?: string[] | undefined;
|
|
5110
5003
|
vehicle_make_ids?: string[] | undefined;
|
|
5111
5004
|
vehicle_model_ids?: string[] | undefined;
|
|
5112
5005
|
vehicle_sub_model_ids?: string[] | undefined;
|
|
@@ -5608,6 +5501,7 @@ interface User extends Record<string, unknown> {
|
|
|
5608
5501
|
user_details?: string;
|
|
5609
5502
|
user_image_url?: string;
|
|
5610
5503
|
user_image_key?: string;
|
|
5504
|
+
user_image_name?: string;
|
|
5611
5505
|
status: Status;
|
|
5612
5506
|
added_date_time: string;
|
|
5613
5507
|
modified_date_time: string;
|
|
@@ -5626,8 +5520,10 @@ interface User extends Record<string, unknown> {
|
|
|
5626
5520
|
time_zone_id?: string;
|
|
5627
5521
|
MasterMainTimeZone?: MasterMainTimeZone;
|
|
5628
5522
|
UserVehicleLink: UserVehicleLink[];
|
|
5523
|
+
UserLoginPush: UserLoginPush[];
|
|
5629
5524
|
_count?: {
|
|
5630
5525
|
UserVehicleLink: number;
|
|
5526
|
+
UserLoginPush: number;
|
|
5631
5527
|
};
|
|
5632
5528
|
}
|
|
5633
5529
|
interface UserVehicleLink extends Record<string, unknown> {
|
|
@@ -5642,7 +5538,28 @@ interface UserVehicleLink extends Record<string, unknown> {
|
|
|
5642
5538
|
user_id: string;
|
|
5643
5539
|
User?: User;
|
|
5644
5540
|
}
|
|
5645
|
-
|
|
5541
|
+
interface UserLoginPush extends Record<string, unknown> {
|
|
5542
|
+
user_login_push_id: string;
|
|
5543
|
+
fcm_token: string;
|
|
5544
|
+
platform: LoginFrom;
|
|
5545
|
+
user_agent?: string;
|
|
5546
|
+
ip_address?: string;
|
|
5547
|
+
device_id?: string;
|
|
5548
|
+
device_model?: string;
|
|
5549
|
+
os_name?: string;
|
|
5550
|
+
os_version?: string;
|
|
5551
|
+
browser_name?: string;
|
|
5552
|
+
browser_version?: string;
|
|
5553
|
+
app_version?: string;
|
|
5554
|
+
status: Status;
|
|
5555
|
+
added_date_time: string;
|
|
5556
|
+
modified_date_time: string;
|
|
5557
|
+
organisation_id: string;
|
|
5558
|
+
UserOrganisation?: UserOrganisation;
|
|
5559
|
+
user_id: string;
|
|
5560
|
+
User?: User;
|
|
5561
|
+
}
|
|
5562
|
+
declare const UserSchema: z.ZodObject<{
|
|
5646
5563
|
first_name: z.ZodEffects<z.ZodString, string, string>;
|
|
5647
5564
|
last_name: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
|
|
5648
5565
|
email: z.ZodEffects<z.ZodString, string, string>;
|
|
@@ -5655,6 +5572,7 @@ declare const CreateUserSchema: z.ZodObject<{
|
|
|
5655
5572
|
vehicle_ids: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
5656
5573
|
user_image_url: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
|
|
5657
5574
|
user_image_key: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
|
|
5575
|
+
user_image_name: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
|
|
5658
5576
|
organisation_id: z.ZodEffects<z.ZodString, string, string>;
|
|
5659
5577
|
user_role_id: z.ZodEffects<z.ZodString, string, string>;
|
|
5660
5578
|
user_status_id: z.ZodEffects<z.ZodString, string, string>;
|
|
@@ -5682,6 +5600,7 @@ declare const CreateUserSchema: z.ZodObject<{
|
|
|
5682
5600
|
all_vehicles: YesNo;
|
|
5683
5601
|
user_image_url: string;
|
|
5684
5602
|
user_image_key: string;
|
|
5603
|
+
user_image_name: string;
|
|
5685
5604
|
}, {
|
|
5686
5605
|
status: Status;
|
|
5687
5606
|
organisation_id: string;
|
|
@@ -5702,8 +5621,9 @@ declare const CreateUserSchema: z.ZodObject<{
|
|
|
5702
5621
|
mobile?: string | undefined;
|
|
5703
5622
|
user_image_url?: string | undefined;
|
|
5704
5623
|
user_image_key?: string | undefined;
|
|
5624
|
+
user_image_name?: string | undefined;
|
|
5705
5625
|
}>;
|
|
5706
|
-
type
|
|
5626
|
+
type UserDTO = z.infer<typeof UserSchema>;
|
|
5707
5627
|
declare const UserQuerySchema: z.ZodObject<{
|
|
5708
5628
|
search: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
|
|
5709
5629
|
status: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof Status>, "many">>>;
|
|
@@ -5835,15 +5755,15 @@ declare const UserDefaultDateFormatSchema: z.ZodObject<{
|
|
|
5835
5755
|
date_format_id: string;
|
|
5836
5756
|
}>;
|
|
5837
5757
|
type UserDefaultDateFormatDTO = z.infer<typeof UserDefaultDateFormatSchema>;
|
|
5838
|
-
declare const newUserPayload: () =>
|
|
5839
|
-
declare const toUserPayload: (data: User) =>
|
|
5840
|
-
declare const
|
|
5841
|
-
declare const createUser: (data:
|
|
5842
|
-
declare const updateUser: (id: string, data:
|
|
5758
|
+
declare const newUserPayload: () => UserDTO;
|
|
5759
|
+
declare const toUserPayload: (data: User) => UserDTO;
|
|
5760
|
+
declare const findUser: (data: UserQueryDTO) => Promise<FBR<User[]>>;
|
|
5761
|
+
declare const createUser: (data: UserDTO) => Promise<SBR>;
|
|
5762
|
+
declare const updateUser: (id: string, data: UserDTO) => Promise<SBR>;
|
|
5843
5763
|
declare const deleteUser: (id: string) => Promise<SBR>;
|
|
5844
5764
|
declare const getUserCache: (organisation_id: string) => Promise<FBR<User[]>>;
|
|
5845
5765
|
declare const getUserCacheSimple: (organisation_id: string) => Promise<FBR<User[]>>;
|
|
5846
|
-
declare const
|
|
5766
|
+
declare const getUser_presigned_url: (fileName: string) => Promise<SBR>;
|
|
5847
5767
|
declare const updateUserDefaultLanguage: (id: string, data: UserDefaultLanguageDTO) => Promise<SBR>;
|
|
5848
5768
|
declare const updateUserDefaultTimezone: (id: string, data: UserDefaultTimeZoneDTO) => Promise<SBR>;
|
|
5849
5769
|
declare const updateUserDefaultDateformat: (id: string, data: UserDefaultDateFormatDTO) => Promise<SBR>;
|
|
@@ -5901,7 +5821,7 @@ interface UserOrganisation extends Record<string, unknown> {
|
|
|
5901
5821
|
date_format_id?: string;
|
|
5902
5822
|
MasterMainDateFormat?: MasterMainDateFormat;
|
|
5903
5823
|
distance_unit_id?: string;
|
|
5904
|
-
|
|
5824
|
+
UserOrganisation?: UserOrganisation;
|
|
5905
5825
|
mileage_unit_id?: string;
|
|
5906
5826
|
MasterMainUnitMileage?: MasterMainUnitMileage;
|
|
5907
5827
|
volume_unit_id?: string;
|
|
@@ -6175,12 +6095,12 @@ declare const UserOrganisationQuerySchema: z.ZodObject<{
|
|
|
6175
6095
|
type UserOrganisationQueryDTO = z.infer<typeof UserOrganisationQuerySchema>;
|
|
6176
6096
|
declare const toUserOrganisationPayload: (organisation: UserOrganisation) => UserOrganisationDTO;
|
|
6177
6097
|
declare const newUserOrganisationPayload: () => UserOrganisationDTO;
|
|
6178
|
-
declare const
|
|
6098
|
+
declare const findUserOrganisation: (data: UserOrganisationQueryDTO) => Promise<FBR<UserOrganisation[]>>;
|
|
6179
6099
|
declare const createUserOrganisation: (data: UserOrganisationDTO) => Promise<SBR>;
|
|
6180
6100
|
declare const updateUserOrganisation: (id: string, data: UserOrganisationDTO) => Promise<SBR>;
|
|
6181
6101
|
declare const deleteUserOrganisation: (id: string) => Promise<SBR>;
|
|
6182
6102
|
declare const getUserOrganisationCache: () => Promise<FBR<UserOrganisation[]>>;
|
|
6183
6103
|
declare const getUserOrganisationCacheSimple: () => Promise<FBR<UserOrganisationSimple[]>>;
|
|
6184
|
-
declare const
|
|
6104
|
+
declare const getUserOrganisation_presigned_url: (file_name: string) => Promise<SBR>;
|
|
6185
6105
|
|
|
6186
|
-
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, type AssignRemoveDriverHistory 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, updateMasterMainUnitDistance as aA, deleteMasterMainUnitDistance as aB, getMasterMainUnitDistanceCache as aC, type MasterMainUnitMileage as aD, MasterMainUnitMileageSchema as aE, type MasterMainUnitMileageDTO as aF, MasterMainUnitMileageQuerySchema as aG, type MasterMainUnitMileageQueryDTO as aH, toMasterMainUnitMileagePayload as aI, newMasterMainUnitMileagePayload as aJ, findMasterMainUnitMileages as aK, createMasterMainUnitMileage as aL, updateMasterMainUnitMileage as aM, deleteMasterMainUnitMileage as aN, getMasterMainUnitMileageCache as aO, type MasterMainUnitVolume as aP, MasterMainUnitVolumeSchema as aQ, type MasterMainUnitVolumeDTO as aR, MasterMainUnitVolumeQuerySchema as aS, type MasterMainUnitVolumeQueryDTO as aT, toMasterMainUnitVolumePayload as aU, newMasterMainUnitVolumePayload as aV, findMasterMainUnitVolumes as aW, createMasterMainUnitVolume as aX, updateMasterMainUnitVolume as aY, deleteMasterMainUnitVolume as aZ, getMasterMainUnitVolumeCache 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 MasterMainUnitDistance as ar, MasterMainUnitDistanceSchema as as, type MasterMainUnitDistanceDTO as at, MasterMainUnitDistanceQuerySchema as au, type MasterMainUnitDistanceQueryDTO as av, toMasterMainUnitDistancePayload as aw, newMasterMainUnitDistancePayload as ax, findMasterMainUnitDistances as ay, createMasterMainUnitDistance as az, type MasterDriver as b, findMasterSims as b$, MasterDriverSchema as b0, type MasterDriverDTO as b1, DriverQuerySchema as b2, type DriverQueryDTO as b3, toDriverPayload as b4, newDriverPayload as b5, findDrivers as b6, createDriver as b7, updateDriver as b8, deleteDriver as b9, updateMasterDeviceModel as bA, deleteMasterDeviceModel as bB, getMasterDeviceModelCache as bC, getMasterDeviceModelCacheCount as bD, getMasterDeviceModelCacheChild as bE, type MasterDeviceManufacturer as bF, MasterDeviceManufacturerSchema as bG, type MasterDeviceManufacturerDTO as bH, MasterDeviceManufacturerQuerySchema as bI, type MasterDeviceManufacturerQueryDTO as bJ, toMasterDeviceManufacturerPayload as bK, newMasterDeviceManufacturerPayload as bL, findMasterDeviceManufacturers as bM, createMasterDeviceManufacturer as bN, updateMasterDeviceManufacturer as bO, deleteMasterDeviceManufacturer as bP, getMasterDeviceManufacturerCache as bQ, getMasterDeviceManufacturerCacheCount as bR, getMasterDeviceManufacturerCacheChild as bS, type MasterSim as bT, type AssignRemoveSimHistory as bU, MasterSimSchema as bV, type MasterSimDTO as bW, MasterSimQuerySchema as bX, type MasterSimQueryDTO as bY, toMasterSimPayload as bZ, newMasterSimPayload as b_, getPresignedUrlForDriver as ba, getDriverCache as bb, getDriverSimpleCache as bc, type MasterDeviceType as bd, MasterDeviceTypeSchema as be, type MasterDeviceTypeDTO as bf, MasterDeviceTypeQuerySchema as bg, type MasterDeviceTypeQueryDTO as bh, toMasterDeviceTypePayload as bi, newMasterDeviceTypePayload as bj, findMasterDeviceTypes as bk, createMasterDeviceType as bl, updateMasterDeviceType as bm, deleteMasterDeviceType as bn, getMasterDeviceTypeCache as bo, getMasterDeviceTypeCacheCount as bp, getMasterDeviceTypeCacheChild as bq, type MasterDeviceModel as br, MasterDeviceModelSchema as bs, type MasterDeviceModelDTO as bt, MasterDeviceModelQuerySchema as bu, type MasterDeviceModelQueryDTO as bv, toMasterDeviceModelPayload as bw, newMasterDeviceModelPayload as bx, findMasterDeviceModels as by, createMasterDeviceModel as bz, type MasterDevice as c, type OrganisationTagDTO as c$, createMasterSim as c0, updateMasterSim as c1, deleteMasterSim as c2, type AssignRemoveDeviceHistory as c3, MasterDeviceSchema as c4, type MasterDeviceDTO as c5, MasterDeviceQuerySchema as c6, type MasterDeviceQueryDTO as c7, DeviceSimLinkSchema as c8, type DeviceSimLinkDTO as c9, OrganisationBranchQuerySchema as cA, type OrganisationBranchQueryDTO as cB, toOrganisationBranchPayload as cC, newOrganisationBranchPayload as cD, findOrganisationBranchs as cE, createOrganisationBranch as cF, updateOrganisationBranch as cG, deleteOrganisationBranch as cH, getOrganisationBranchCache as cI, getOrganisationBranchCacheCount as cJ, getOrganisationBranchCacheChild as cK, type OrganisationColor as cL, OrganisationColorSchema as cM, type OrganisationColorDTO as cN, OrganisationColorQuerySchema as cO, type OrganisationColorQueryDTO as cP, toOrganisationColorPayload as cQ, newOrganisationColorPayload as cR, findOrganisationColors as cS, createOrganisationColor as cT, updateOrganisationColor as cU, deleteOrganisationColor as cV, getOrganisationColorCache as cW, getOrganisationColorCacheCount as cX, getOrganisationColorCacheChild as cY, type OrganisationTag as cZ, OrganisationTagSchema as c_, toMasterDevicePayload as ca, newMasterDevicePayload as cb, findMasterDevices as cc, createMasterDevice as cd, updateMasterDevice as ce, deleteMasterDevice as cf, device_sim_link as cg, device_sim_unlink as ch, get_device_sim_link_history_by_sim as ci, get_device_sim_link_history_by_device as cj, type OrganisationSubCompany as ck, OrganisationSubCompanySchema as cl, type OrganisationSubCompanyDTO as cm, OrganisationSubCompanyQuerySchema as cn, type OrganisationSubCompanyQueryDTO as co, toOrganisationSubCompanyPayload as cp, newOrganisationSubCompanyPayload as cq, findOrganisationSubCompanyies as cr, createOrganisationSubCompany as cs, updateOrganisationSubCompany as ct, deleteOrganisationSubCompany as cu, getOrganisationSubCompanyCache as cv, getOrganisationSubCompanyCacheCount as cw, getOrganisationSubCompanyCacheChild as cx, OrganisationBranchSchema as cy, type OrganisationBranchDTO as cz, type MasterVehicleFuelType as d, createMasterVehicleMake as d$, OrganisationTagQuerySchema as d0, type OrganisationTagQueryDTO as d1, toOrganisationTagPayload as d2, newOrganisationTagPayload as d3, findOrganisationTags as d4, createOrganisationTag as d5, updateOrganisationTag as d6, deleteOrganisationTag as d7, getOrganisationTagCache as d8, getOrganisationTagCacheCount as d9, updateMasterVehicleSubModel as dA, deleteMasterVehicleSubModel as dB, getMasterVehicleSubModelCache as dC, getMasterVehicleSubModelCacheCount as dD, getMasterVehicleSubModelCacheChild as dE, type MasterVehicleModel as dF, MasterVehicleModelSchema as dG, type MasterVehicleModelDTO as dH, MasterVehicleModelQuerySchema as dI, type MasterVehicleModelQueryDTO as dJ, toMasterVehicleModelPayload as dK, newMasterVehicleModelPayload as dL, findMasterVehicleModels as dM, createMasterVehicleModel as dN, updateMasterVehicleModel as dO, deleteMasterVehicleModel as dP, getMasterVehicleModelCache as dQ, getMasterVehicleModelCacheCount as dR, getMasterVehicleModelCacheChild as dS, type MasterVehicleMake as dT, MasterVehicleMakeSchema as dU, type MasterVehicleMakeDTO as dV, MasterVehicleMakeQuerySchema as dW, type MasterVehicleMakeQueryDTO as dX, toMasterVehicleMakePayload as dY, newMasterVehicleMakePayload as dZ, findMasterVehicleMakes as d_, getOrganisationTagCacheChild as da, type OrganisationGroup as db, type VehicleOrganisationGroupLink as dc, OrganisationGroupSchema as dd, type OrganisationGroupDTO as de, OrganisationGroupQuerySchema as df, type OrganisationGroupQueryDTO as dg, toOrganisationGroupPayload as dh, newOrganisationGroupPayload as di, findOrganisationGroups as dj, createOrganisationGroup as dk, updateOrganisationGroup as dl, deleteOrganisationGroup as dm, getOrganisationGroupCache as dn, getOrganisationGroupCacheCount as dp, getOrganisationGroupCacheChild as dq, type MasterVehicleSubModel as dr, MasterVehicleSubModelSchema as ds, type MasterVehicleSubModelDTO as dt, MasterVehicleSubModelQuerySchema as du, type MasterVehicleSubModelQueryDTO as dv, toMasterVehicleSubModelPayload as dw, newMasterVehicleSubModelPayload as dx, findMasterVehicleSubModels as dy, createMasterVehicleSubModel as dz, type MasterVehicleFuelUnit as e, MasterVehicleAssociatedToQuerySchema as e$, updateMasterVehicleMake as e0, deleteMasterVehicleMake as e1, getMasterVehicleMakeCache as e2, getMasterVehicleMakeCacheCount as e3, getMasterVehicleMakeCacheChild as e4, type MasterVehicleStatusType as e5, MasterVehicleStatusTypeSchema as e6, type MasterVehicleStatusTypeDTO as e7, MasterVehicleStatusTypeQuerySchema as e8, type MasterVehicleStatusTypeQueryDTO as e9, MasterVehicleTypeQuerySchema as eA, type MasterVehicleTypeQueryDTO as eB, toMasterVehicleTypePayload as eC, newMasterVehicleTypePayload as eD, findMasterVehicleTypes as eE, createMasterVehicleType as eF, updateMasterVehicleType as eG, deleteMasterVehicleType as eH, getMasterVehicleTypeCache as eI, getMasterVehicleTypeCacheCount as eJ, getMasterVehicleTypeCacheChild as eK, MasterVehicleFuelTypeSchema as eL, type MasterVehicleFuelTypeDTO as eM, MasterVehicleFuelTypeQuerySchema as eN, type MasterVehicleFuelTypeQueryDTO as eO, toMasterVehicleFuelTypePayload as eP, newMasterVehicleFuelTypePayload as eQ, findMasterVehicleFuelTypes as eR, createMasterVehicleFuelType as eS, updateMasterVehicleFuelType as eT, deleteMasterVehicleFuelType as eU, getMasterVehicleFuelTypeCache as eV, getMasterVehicleFuelTypeCacheCount as eW, getMasterVehicleFuelTypeCacheChild as eX, type MasterVehicleAssociatedTo as eY, MasterVehicleAssociatedToSchema as eZ, type MasterVehicleAssociatedToDTO as e_, toMasterVehicleStatusTypePayload as ea, newMasterVehicleStatusTypePayload as eb, findMasterVehicleStatusTypes as ec, createMasterVehicleStatusType as ed, updateMasterVehicleStatusType as ee, deleteMasterVehicleStatusType as ef, getMasterVehicleStatusTypeCache as eg, getMasterVehicleStatusTypeCacheCount as eh, getMasterVehicleStatusTypeCacheChild as ei, type MasterVehicleOwnershipType as ej, MasterVehicleOwnershipTypeSchema as ek, type MasterVehicleOwnershipTypeDTO as el, MasterVehicleOwnershipTypeQuerySchema as em, type MasterVehicleOwnershipTypeQueryDTO as en, toMasterVehicleOwnershipTypePayload as eo, newMasterVehicleOwnershipTypePayload as ep, findMasterVehicleOwnershipTypes as eq, createMasterVehicleOwnershipType as er, updateMasterVehicleOwnershipType as es, deleteMasterVehicleOwnershipType as et, getMasterVehicleOwnershipTypeCache as eu, getMasterVehicleOwnershipTypeCacheCount as ev, getMasterVehicleOwnershipTypeCacheChild as ew, type MasterVehicleType as ex, MasterVehicleTypeSchema as ey, type MasterVehicleTypeDTO as ez, type MasterMainCountry as f, findVehicles as f$, type MasterVehicleAssociatedToQueryDTO as f0, toMasterVehicleAssociatedToPayload as f1, newMasterVehicleAssociatedToPayload as f2, findMasterVehicleAssociatedTos as f3, createMasterVehicleAssociatedTo as f4, updateMasterVehicleAssociatedTo as f5, deleteMasterVehicleAssociatedTo as f6, getMasterVehicleAssociatedToCache as f7, getMasterVehicleAssociatedToCacheCount as f8, getMasterVehicleAssociatedToCacheChild as f9, type VehicleDriverLinkDTO as fA, SimpleFindQuerySchema as fB, type SimpleFindQueryDTO as fC, VehicleDetailBodySchema as fD, type VehicleDetailBodyDTO as fE, VehicleDetailGPSMainSchema as fF, type VehicleDetailGPSMainDTO as fG, VehicleDetailGPSDataSchema as fH, type VehicleDetailGPSDataDTO as fI, VehicleDetailGPSAnalyticsSchema as fJ, type VehicleDetailGPSAnalyticsDTO as fK, VehicleDetailLifeCycleSchema as fL, type VehicleDetailLifeCycleDto as fM, VehicleDetailPurchaseSchema as fN, type VehicleDetailPurchaseDTO as fO, VehicleDetailTripSchema as fP, type VehicleDetailTripDTO as fQ, VehicleQuerySchema as fR, type VehicleQueryDTO as fS, VehicleGPSQuerySchema as fT, type VehicleGPSQueryDTO as fU, toVehiclePayload as fV, newVehiclePayload as fW, toVehicleDetailsGPSPayload as fX, toVehicleDetailsBodyPayload as fY, toVehicleDetailPurchasePayload as fZ, toVehicleDetailLifeCyclePayload as f_, MasterVehicleFuelUnitSchema as fa, type MasterVehicleFuelUnitDTO as fb, MasterVehicleFuelUnitQuerySchema as fc, type MasterVehicleFuelUnitQueryDTO as fd, toMasterVehicleFuelUnitPayload as fe, newMasterVehicleFuelUnitPayload as ff, findMasterVehicleFuelUnits as fg, createMasterVehicleFuelUnit as fh, updateMasterVehicleFuelUnit as fi, deleteMasterVehicleFuelUnit as fj, getMasterVehicleFuelUnitCache as fk, getMasterVehicleFuelUnitCacheCount as fl, getMasterVehicleFuelUnitCacheChild as fm, type MasterVehicleDropdown as fn, type VehicleDetailBody as fo, type VehicleDetailLifeCycle as fp, type VehicleDetailPurchase as fq, type VehicleDetailGPS as fr, type VehicleDetailTrip as fs, VehicleSchema as ft, type VehicleDTO as fu, VehicleDeviceLinkSchema as fv, type VehicleDeviceLinkDTO as fw, VehicleDeviceUnlinkSchema as fx, type VehicleDeviceUnlinkDTO as fy, VehicleDriverLinkSchema as fz, type MasterMainState as g, type UserVehicleLink as g$, findVehiclesLiveDashboard as g0, findVehicleGPSDetails as g1, createVehicle as g2, updateVehicle as g3, deleteVehicle as g4, updateVehicleBodyDetails as g5, updateVehicleLifeCycleDetails as g6, updateVehiclePurchaseDetails as g7, updateVehicleGPSDetailsMain as g8, updateVehicleGPSDetailsData as g9, getMasterUserRoleCache as gA, getMasterUserRoleCacheCount as gB, type MasterUserStatus as gC, MasterUserStatusSchema as gD, type MasterUserStatusDTO as gE, MasterUserStatusQuerySchema as gF, type MasterUserStatusQueryDTO as gG, toMasterUserStatusPayload as gH, newMasterUserStatusPayload as gI, findMasterUserStatuses as gJ, createMasterUserStatus as gK, updateMasterUserStatus as gL, deleteMasterUserStatus as gM, getMasterUserStatusCache as gN, getMasterUserStatusCacheCount as gO, type MasterMainLanguage as gP, MasterMainLanguageSchema as gQ, type MasterMainLanguageDTO as gR, MasterMainLanguageQuerySchema as gS, type MasterMainLanguageQueryDTO as gT, toMasterMainLanguagePayload as gU, newMasterMainLanguagePayload as gV, findMasterMainLanguages as gW, createMasterMainLanguage as gX, updateMasterMainLanguage as gY, deleteMasterMainLanguage as gZ, getMasterMainLanguageCache as g_, updateVehicleGPSDetailsAnalytics as ga, updateVehicleTripDetails as gb, linkDriverToVehicle as gc, unlinkDriverFromVehicle as gd, getDriverLinkHistoryByVehicle as ge, getDriverLinkHistoryByDriver as gf, linkDeviceToVehicle as gg, unlinkDeviceFromVehicle as gh, getDeviceLinkHistoryByVehicle as gi, getDeviceLinkHistoryByDevice as gj, getVehicleCache as gk, getVehicleSimpleCache as gl, getVehicleSimpleDropdownCustom as gm, getVehicleSimpleDropdownCacheLiveData as gn, getVehicleParentCache as go, type MasterUserRole as gp, MasterUserRoleSchema as gq, type MasterUserRoleDTO as gr, MasterUserRoleQuerySchema as gs, type MasterUserRoleQueryDTO as gt, toMasterUserRolePayload as gu, newMasterUserRolePayload as gv, findMasterUserRoles as gw, createMasterUserRole as gx, updateMasterUserRole as gy, deleteMasterUserRole as gz, type MasterMainIndustry as h, CreateUserSchema as h0, type CreateUserDTO as h1, UserQuerySchema as h2, type UserQueryDTO as h3, UserDefaultLanguageSchema as h4, type UserDefaultLanguageDTO as h5, UserDefaultTimeZoneSchema as h6, type UserDefaultTimeZoneDTO as h7, UserDefaultDateFormatSchema as h8, type UserDefaultDateFormatDTO as h9, newUserPayload as ha, toUserPayload as hb, findUsers as hc, createUser as hd, updateUser as he, deleteUser as hf, getUserCache as hg, getUserCacheSimple as hh, getUserPresignedUrl as hi, updateUserDefaultLanguage as hj, updateUserDefaultTimezone as hk, updateUserDefaultDateformat as hl, type UserOrganisationSimple as hm, UserOrganisationSchema as hn, type UserOrganisationDTO as ho, UserOrganisationQuerySchema as hp, type UserOrganisationQueryDTO as hq, toUserOrganisationPayload as hr, newUserOrganisationPayload as hs, findUserOrganisations as ht, createUserOrganisation as hu, updateUserOrganisation as hv, deleteUserOrganisation as hw, getUserOrganisationCache as hx, getUserOrganisationCacheSimple as hy, getUserOrganisationPresignedUrl 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 };
|
|
6106
|
+
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, newMasterDeviceTypePayload 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 AssignRemoveDriverHistory as bG, type DriverLoginPush as bH, MasterDriverSchema as bI, type MasterDriverDTO as bJ, MasterDriverQuerySchema as bK, type MasterDriverQueryDTO as bL, toDriverPayload as bM, newDriverPayload as bN, findMasterDriver as bO, createMasterDriver as bP, updateMasterDriver as bQ, deleteMasterDriver as bR, getMasterDriverCache as bS, getMasterDriverCacheSimple as bT, getMasterDriver_presigned_url as bU, type MasterDeviceType as bV, MasterDeviceTypeSchema as bW, type MasterDeviceTypeDTO as bX, MasterDeviceTypeQuerySchema as bY, type MasterDeviceTypeQueryDTO as bZ, toMasterDeviceTypePayload 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, get_device_sim_link_history_by_device as c$, findMasterDeviceTypes as c0, createMasterDeviceType as c1, updateMasterDeviceType as c2, deleteMasterDeviceType as c3, getMasterDeviceTypeCache as c4, getMasterDeviceTypeCacheCount as c5, getMasterDeviceTypeCacheChild as c6, type MasterDeviceModel as c7, MasterDeviceModelSchema as c8, type MasterDeviceModelDTO as c9, type AssignRemoveSimHistory as cA, MasterSimSchema as cB, type MasterSimDTO as cC, MasterSimQuerySchema as cD, type MasterSimQueryDTO as cE, toMasterSimPayload as cF, newMasterSimPayload as cG, findMasterSims as cH, createMasterSim as cI, updateMasterSim as cJ, deleteMasterSim as cK, type AssignRemoveDeviceHistory as cL, MasterDeviceSchema as cM, type MasterDeviceDTO as cN, MasterDeviceQuerySchema as cO, type MasterDeviceQueryDTO as cP, DeviceSimLinkSchema as cQ, type DeviceSimLinkDTO as cR, toMasterDevicePayload as cS, newMasterDevicePayload as cT, findMasterDevices as cU, createMasterDevice as cV, updateMasterDevice as cW, deleteMasterDevice as cX, device_sim_link as cY, device_sim_unlink as cZ, get_device_sim_link_history_by_sim as c_, MasterDeviceModelQuerySchema as ca, type MasterDeviceModelQueryDTO as cb, toMasterDeviceModelPayload as cc, newMasterDeviceModelPayload as cd, findMasterDeviceModels as ce, createMasterDeviceModel as cf, updateMasterDeviceModel as cg, deleteMasterDeviceModel as ch, getMasterDeviceModelCache as ci, getMasterDeviceModelCacheCount as cj, getMasterDeviceModelCacheChild as ck, type MasterDeviceManufacturer as cl, MasterDeviceManufacturerSchema as cm, type MasterDeviceManufacturerDTO as cn, MasterDeviceManufacturerQuerySchema as co, type MasterDeviceManufacturerQueryDTO as cp, toMasterDeviceManufacturerPayload as cq, newMasterDeviceManufacturerPayload as cr, findMasterDeviceManufacturers as cs, createMasterDeviceManufacturer as ct, updateMasterDeviceManufacturer as cu, deleteMasterDeviceManufacturer as cv, getMasterDeviceManufacturerCache as cw, getMasterDeviceManufacturerCacheCount as cx, getMasterDeviceManufacturerCacheChild as cy, type MasterSim as cz, type MasterVehicleFuelType as d, toMasterVehicleStatusTypePayload as d$, type OrganisationGroup as d0, type VehicleOrganisationGroupLink as d1, OrganisationGroupSchema as d2, type OrganisationGroupDTO as d3, OrganisationGroupQuerySchema as d4, type OrganisationGroupQueryDTO as d5, toOrganisationGroupPayload as d6, newOrganisationGroupPayload as d7, findOrganisationGroups as d8, createOrganisationGroup as d9, newMasterVehicleModelPayload as dA, findMasterVehicleModels as dB, createMasterVehicleModel as dC, updateMasterVehicleModel as dD, deleteMasterVehicleModel as dE, getMasterVehicleModelCache as dF, getMasterVehicleModelCacheCount as dG, getMasterVehicleModelCacheChild as dH, type MasterVehicleMake as dI, MasterVehicleMakeSchema as dJ, type MasterVehicleMakeDTO as dK, MasterVehicleMakeQuerySchema as dL, type MasterVehicleMakeQueryDTO as dM, toMasterVehicleMakePayload as dN, newMasterVehicleMakePayload as dO, findMasterVehicleMakes as dP, createMasterVehicleMake as dQ, updateMasterVehicleMake as dR, deleteMasterVehicleMake as dS, getMasterVehicleMakeCache as dT, getMasterVehicleMakeCacheCount as dU, getMasterVehicleMakeCacheChild as dV, type MasterVehicleStatusType as dW, MasterVehicleStatusTypeSchema as dX, type MasterVehicleStatusTypeDTO as dY, MasterVehicleStatusTypeQuerySchema as dZ, type MasterVehicleStatusTypeQueryDTO as d_, updateOrganisationGroup as da, deleteOrganisationGroup as db, getOrganisationGroupCache as dc, getOrganisationGroupCacheCount as dd, getOrganisationGroupCacheChild as de, type MasterVehicleSubModel as df, MasterVehicleSubModelSchema as dg, type MasterVehicleSubModelDTO as dh, MasterVehicleSubModelQuerySchema as di, type MasterVehicleSubModelQueryDTO as dj, toMasterVehicleSubModelPayload as dk, newMasterVehicleSubModelPayload as dl, findMasterVehicleSubModels as dm, createMasterVehicleSubModel as dn, updateMasterVehicleSubModel as dp, deleteMasterVehicleSubModel as dq, getMasterVehicleSubModelCache as dr, getMasterVehicleSubModelCacheCount as ds, getMasterVehicleSubModelCacheChild as dt, type MasterVehicleModel as du, MasterVehicleModelSchema as dv, type MasterVehicleModelDTO as dw, MasterVehicleModelQuerySchema as dx, type MasterVehicleModelQueryDTO as dy, toMasterVehicleModelPayload as dz, type MasterVehicleFuelUnit as e, MasterVehicleFuelUnitSchema as e$, newMasterVehicleStatusTypePayload as e0, findMasterVehicleStatusTypes as e1, createMasterVehicleStatusType as e2, updateMasterVehicleStatusType as e3, deleteMasterVehicleStatusType as e4, getMasterVehicleStatusTypeCache as e5, getMasterVehicleStatusTypeCacheCount as e6, getMasterVehicleStatusTypeCacheChild as e7, type MasterVehicleOwnershipType as e8, MasterVehicleOwnershipTypeSchema as e9, MasterVehicleFuelTypeSchema as eA, type MasterVehicleFuelTypeDTO as eB, MasterVehicleFuelTypeQuerySchema as eC, type MasterVehicleFuelTypeQueryDTO as eD, toMasterVehicleFuelTypePayload as eE, newMasterVehicleFuelTypePayload as eF, findMasterVehicleFuelTypes as eG, createMasterVehicleFuelType as eH, updateMasterVehicleFuelType as eI, deleteMasterVehicleFuelType as eJ, getMasterVehicleFuelTypeCache as eK, getMasterVehicleFuelTypeCacheCount as eL, getMasterVehicleFuelTypeCacheChild as eM, type MasterVehicleAssociatedTo as eN, MasterVehicleAssociatedToSchema as eO, type MasterVehicleAssociatedToDTO as eP, MasterVehicleAssociatedToQuerySchema as eQ, type MasterVehicleAssociatedToQueryDTO as eR, toMasterVehicleAssociatedToPayload as eS, newMasterVehicleAssociatedToPayload as eT, findMasterVehicleAssociatedTos as eU, createMasterVehicleAssociatedTo as eV, updateMasterVehicleAssociatedTo as eW, deleteMasterVehicleAssociatedTo as eX, getMasterVehicleAssociatedToCache as eY, getMasterVehicleAssociatedToCacheCount as eZ, getMasterVehicleAssociatedToCacheChild as e_, type MasterVehicleOwnershipTypeDTO as ea, MasterVehicleOwnershipTypeQuerySchema as eb, type MasterVehicleOwnershipTypeQueryDTO as ec, toMasterVehicleOwnershipTypePayload as ed, newMasterVehicleOwnershipTypePayload as ee, findMasterVehicleOwnershipTypes as ef, createMasterVehicleOwnershipType as eg, updateMasterVehicleOwnershipType as eh, deleteMasterVehicleOwnershipType as ei, getMasterVehicleOwnershipTypeCache as ej, getMasterVehicleOwnershipTypeCacheCount as ek, getMasterVehicleOwnershipTypeCacheChild as el, type MasterVehicleType as em, MasterVehicleTypeSchema as en, type MasterVehicleTypeDTO as eo, MasterVehicleTypeQuerySchema as ep, type MasterVehicleTypeQueryDTO as eq, toMasterVehicleTypePayload as er, newMasterVehicleTypePayload as es, findMasterVehicleTypes as et, createMasterVehicleType as eu, updateMasterVehicleType as ev, deleteMasterVehicleType as ew, getMasterVehicleTypeCache as ex, getMasterVehicleTypeCacheCount as ey, getMasterVehicleTypeCacheChild as ez, type MasterMainCountry as f, updateVehicleGPSDetailsAnalytics as f$, type MasterVehicleFuelUnitDTO as f0, MasterVehicleFuelUnitQuerySchema as f1, type MasterVehicleFuelUnitQueryDTO as f2, toMasterVehicleFuelUnitPayload as f3, newMasterVehicleFuelUnitPayload as f4, findMasterVehicleFuelUnits as f5, createMasterVehicleFuelUnit as f6, updateMasterVehicleFuelUnit as f7, deleteMasterVehicleFuelUnit as f8, getMasterVehicleFuelUnitCache as f9, VehicleDetailLifeCycleSchema as fA, type VehicleDetailLifeCycleDto as fB, VehicleDetailPurchaseSchema as fC, type VehicleDetailPurchaseDTO as fD, VehicleDetailTripSchema as fE, type VehicleDetailTripDTO as fF, VehicleQuerySchema as fG, type VehicleQueryDTO as fH, VehicleGPSQuerySchema as fI, type VehicleGPSQueryDTO as fJ, toVehiclePayload as fK, newVehiclePayload as fL, toVehicleDetailsGPSPayload as fM, toVehicleDetailsBodyPayload as fN, toVehicleDetailPurchasePayload as fO, toVehicleDetailLifeCyclePayload as fP, findVehicles as fQ, findVehiclesLiveDashboard as fR, findVehicleGPSDetails as fS, createVehicle as fT, updateVehicle as fU, deleteVehicle as fV, updateVehicleBodyDetails as fW, updateVehicleLifeCycleDetails as fX, updateVehiclePurchaseDetails as fY, updateVehicleGPSDetailsMain as fZ, updateVehicleGPSDetailsData as f_, getMasterVehicleFuelUnitCacheCount as fa, getMasterVehicleFuelUnitCacheChild as fb, type MasterVehicleDropdown as fc, type VehicleDetailBody as fd, type VehicleDetailLifeCycle as fe, type VehicleDetailPurchase as ff, type VehicleDetailGPS as fg, type VehicleDetailTrip as fh, VehicleSchema as fi, type VehicleDTO as fj, VehicleDeviceLinkSchema as fk, type VehicleDeviceLinkDTO as fl, VehicleDeviceUnlinkSchema as fm, type VehicleDeviceUnlinkDTO as fn, VehicleDriverLinkSchema as fo, type VehicleDriverLinkDTO as fp, SimpleFindQuerySchema as fq, type SimpleFindQueryDTO as fr, VehicleDetailBodySchema as fs, type VehicleDetailBodyDTO as ft, VehicleDetailGPSMainSchema as fu, type VehicleDetailGPSMainDTO as fv, VehicleDetailGPSDataSchema as fw, type VehicleDetailGPSDataDTO as fx, VehicleDetailGPSAnalyticsSchema as fy, type VehicleDetailGPSAnalyticsDTO as fz, type MasterMainState as g, type UserDefaultDateFormatDTO as g$, updateVehicleTripDetails as g0, linkDriverToVehicle as g1, unlinkDriverFromVehicle as g2, getDriverLinkHistoryByVehicle as g3, getDriverLinkHistoryByDriver as g4, linkDeviceToVehicle as g5, unlinkDeviceFromVehicle as g6, getDeviceLinkHistoryByVehicle as g7, getDeviceLinkHistoryByDevice as g8, getVehicleCache as g9, updateMasterUserStatus as gA, deleteMasterUserStatus as gB, getMasterUserStatusCache as gC, getMasterUserStatusCacheCount as gD, type MasterMainLanguage as gE, MasterMainLanguageSchema as gF, type MasterMainLanguageDTO as gG, MasterMainLanguageQuerySchema as gH, type MasterMainLanguageQueryDTO as gI, toMasterMainLanguagePayload as gJ, newMasterMainLanguagePayload as gK, findMasterMainLanguages as gL, createMasterMainLanguage as gM, updateMasterMainLanguage as gN, deleteMasterMainLanguage as gO, getMasterMainLanguageCache as gP, type UserVehicleLink as gQ, type UserLoginPush as gR, UserSchema as gS, type UserDTO as gT, UserQuerySchema as gU, type UserQueryDTO as gV, UserDefaultLanguageSchema as gW, type UserDefaultLanguageDTO as gX, UserDefaultTimeZoneSchema as gY, type UserDefaultTimeZoneDTO as gZ, UserDefaultDateFormatSchema as g_, getVehicleSimpleCache as ga, getVehicleSimpleDropdownCustom as gb, getVehicleSimpleDropdownCacheLiveData as gc, getVehicleParentCache as gd, type MasterUserRole as ge, MasterUserRoleSchema as gf, type MasterUserRoleDTO as gg, MasterUserRoleQuerySchema as gh, type MasterUserRoleQueryDTO as gi, toMasterUserRolePayload as gj, newMasterUserRolePayload as gk, findMasterUserRoles as gl, createMasterUserRole as gm, updateMasterUserRole as gn, deleteMasterUserRole as go, getMasterUserRoleCache as gp, getMasterUserRoleCacheCount as gq, type MasterUserStatus as gr, MasterUserStatusSchema as gs, type MasterUserStatusDTO as gt, MasterUserStatusQuerySchema as gu, type MasterUserStatusQueryDTO as gv, toMasterUserStatusPayload as gw, newMasterUserStatusPayload as gx, findMasterUserStatuses as gy, createMasterUserStatus as gz, type MasterMainIndustry as h, newUserPayload as h0, toUserPayload as h1, findUser as h2, createUser as h3, updateUser as h4, deleteUser as h5, getUserCache as h6, getUserCacheSimple as h7, getUser_presigned_url as h8, updateUserDefaultLanguage as h9, updateUserDefaultTimezone as ha, updateUserDefaultDateformat as hb, type UserOrganisationSimple as hc, UserOrganisationSchema as hd, type UserOrganisationDTO as he, UserOrganisationQuerySchema as hf, type UserOrganisationQueryDTO as hg, toUserOrganisationPayload as hh, newUserOrganisationPayload as hi, findUserOrganisation as hj, createUserOrganisation as hk, updateUserOrganisation as hl, deleteUserOrganisation as hm, getUserOrganisationCache as hn, getUserOrganisationCacheSimple as ho, getUserOrganisation_presigned_url as hp, 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 };
|