vms-nest-prisma-api-document 6.0.1 → 6.0.3
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/services/account/alert_service.d.ts +32 -32
- package/dist/services/account/bookmark_service.d.ts +3 -3
- package/dist/services/account/notification_service.d.ts +6 -6
- package/dist/services/account/ticket_service.d.ts +19 -19
- package/dist/services/fleet/fuel_management/fleet_fuel_daily_summary_service.d.ts +12 -12
- package/dist/services/fleet/fuel_management/fleet_fuel_refill_service.d.ts +32 -32
- package/dist/services/fleet/fuel_management/fleet_fuel_removal_service.d.ts +43 -43
- package/dist/services/gps/features/fuel/gps_fuel_vehicle_daily_summary_service.d.ts +1 -1
- package/dist/services/gps/features/fuel/gps_fuel_vehicle_refill_service.d.ts +1 -1
- package/dist/services/gps/features/fuel/gps_fuel_vehicle_removal_service.d.ts +1 -1
- package/dist/services/gps/features/geofence/gps_geofence_data_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 +5 -5
- 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 +17 -17
- package/dist/services/gps/features/gps_track_history_share_link_service.d.ts +10 -10
- package/dist/services/gps/reports/gps_reports_mongo_service.d.ts +43 -43
- 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/sims/master_sim_service.d.ts +1 -1
- package/dist/services/main/users/auth_service.d.ts +1 -1
- package/dist/services/main/users/user_organisation_service.d.ts +1 -1
- package/dist/services/main/users/user_service.d.ts +1 -1
- package/dist/services/main/vehicle/childs/vehicle_odometer_history.d.ts +1 -1
- package/dist/services/main/vehicle/master_vehicle_service.d.ts +1 -1
- package/dist/services/main/vehicle/master_vehicle_service.js +8 -8
- package/dist/services/master/device/master_device_manufacturer_service.d.ts +1 -1
- package/dist/services/master/device/master_device_model_service.d.ts +1 -1
- package/dist/services/master/device/master_device_type_service.d.ts +1 -1
- package/dist/services/master/expense/master_expense_name_service.d.ts +1 -1
- package/dist/services/master/expense/master_expense_type_service.d.ts +1 -1
- package/dist/services/master/expense/master_fuel_company_service.d.ts +6 -6
- package/dist/services/master/expense/master_vendor_document_type_service.d.ts +3 -3
- package/dist/services/master/expense/master_vendor_type_service.d.ts +1 -1
- package/dist/services/master/fleet/master_fleet_incident_severity_service.d.ts +1 -1
- package/dist/services/master/fleet/master_fleet_incident_status_service.d.ts +1 -1
- package/dist/services/master/fleet/master_fleet_incident_type_service.d.ts +1 -1
- package/dist/services/master/fleet/master_fleet_insurance_claim_status_service.d.ts +1 -1
- package/dist/services/master/fleet/master_fleet_service_task_service.d.ts +1 -1
- package/dist/services/master/main/master_main_country_service.d.ts +1 -1
- package/dist/services/master/main/master_main_currency_service.d.ts +1 -1
- package/dist/services/master/main/master_main_date_format_service.d.ts +1 -1
- package/dist/services/master/main/master_main_eway_bill_provider_service.d.ts +2 -2
- package/dist/services/master/main/master_main_fasttag_bank_service.d.ts +2 -2
- package/dist/services/master/main/master_main_industry_service.d.ts +1 -1
- package/dist/services/master/main/master_main_landmark_service.d.ts +7 -7
- 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_unit_distance_service.d.ts +1 -1
- package/dist/services/master/main/master_main_unit_mileage_service.d.ts +1 -1
- package/dist/services/master/main/master_main_unit_volume_service.d.ts +1 -1
- package/dist/services/master/organisation/organisation_branch_service.d.ts +1 -1
- package/dist/services/master/organisation/organisation_color_service.d.ts +1 -1
- package/dist/services/master/organisation/organisation_group_service.d.ts +1 -1
- package/dist/services/master/organisation/organisation_sub_company_service.d.ts +1 -1
- package/dist/services/master/organisation/organisation_tag_service.d.ts +1 -1
- package/dist/services/master/spare_part/master_spare_part_category_service.d.ts +1 -1
- package/dist/services/master/spare_part/master_spare_part_sub_category_service.d.ts +1 -1
- package/dist/services/master/spare_part/master_spare_part_unit_service.d.ts +1 -1
- package/dist/services/master/trip/master_trip_party_type_service.d.ts +1 -1
- package/dist/services/master/tyre/master_tyre_grade_service.d.ts +1 -1
- package/dist/services/master/tyre/master_tyre_make_service.d.ts +1 -1
- package/dist/services/master/tyre/master_tyre_model_service.d.ts +1 -1
- package/dist/services/master/user/master_user_role_service.d.ts +1 -1
- package/dist/services/master/user/master_user_status_service.d.ts +1 -1
- package/dist/services/master/vehicle/master_vehicle_associated_to_service.d.ts +1 -1
- package/dist/services/master/vehicle/master_vehicle_document_type_service.d.ts +1 -1
- package/dist/services/master/vehicle/master_vehicle_fuel_removal_reason_service.d.ts +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 +4 -4
- package/dist/services/master/vehicle/master_vehicle_make_service.d.ts +1 -1
- package/dist/services/master/vehicle/master_vehicle_model_service.d.ts +1 -1
- package/dist/services/master/vehicle/master_vehicle_ownership_type_service.d.ts +1 -1
- package/dist/services/master/vehicle/master_vehicle_status_type_service.d.ts +1 -1
- package/dist/services/master/vehicle/master_vehicle_sub_model_service.d.ts +1 -1
- package/dist/services/master/vehicle/master_vehicle_type_service.d.ts +1 -1
- package/dist/services/website/contact_us_detail_service.d.ts +1 -1
- package/dist/services/website/faq_service.d.ts +1 -1
- package/package.json +1 -1
- package/dist/{user_organisation_service-nBb1eZ0_.d.ts → user_organisation_service-_rBwGIT-.d.ts} +23 -23
package/dist/{user_organisation_service-nBb1eZ0_.d.ts → user_organisation_service-_rBwGIT-.d.ts}
RENAMED
|
@@ -22,8 +22,8 @@ declare const MasterMainIndustrySchema: z.ZodObject<{
|
|
|
22
22
|
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
23
23
|
}, "strip", z.ZodTypeAny, {
|
|
24
24
|
status: Status;
|
|
25
|
-
description: string;
|
|
26
25
|
industry_name: string;
|
|
26
|
+
description: string;
|
|
27
27
|
}, {
|
|
28
28
|
status: Status;
|
|
29
29
|
industry_name: string;
|
|
@@ -1272,6 +1272,8 @@ declare const DriverQuerySchema: z.ZodObject<{
|
|
|
1272
1272
|
is_vehicle_assigned: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof YesNo>, "many">>>;
|
|
1273
1273
|
}, "strip", z.ZodTypeAny, {
|
|
1274
1274
|
status: Status[];
|
|
1275
|
+
vehicle_ids: string[];
|
|
1276
|
+
driver_ids: string[];
|
|
1275
1277
|
search: string;
|
|
1276
1278
|
paging: PAGING;
|
|
1277
1279
|
page_count: number;
|
|
@@ -1295,12 +1297,12 @@ declare const DriverQuerySchema: z.ZodObject<{
|
|
|
1295
1297
|
organisation_ids: string[];
|
|
1296
1298
|
can_login: YesNo[];
|
|
1297
1299
|
is_vehicle_assigned: YesNo[];
|
|
1298
|
-
vehicle_ids: string[];
|
|
1299
|
-
driver_ids: string[];
|
|
1300
1300
|
}, {
|
|
1301
1301
|
date_format_id: string;
|
|
1302
1302
|
time_zone_id: string;
|
|
1303
1303
|
status?: Status[] | undefined;
|
|
1304
|
+
vehicle_ids?: string[] | undefined;
|
|
1305
|
+
driver_ids?: string[] | undefined;
|
|
1304
1306
|
search?: string | undefined;
|
|
1305
1307
|
paging?: PAGING | undefined;
|
|
1306
1308
|
page_count?: unknown;
|
|
@@ -1322,8 +1324,6 @@ declare const DriverQuerySchema: z.ZodObject<{
|
|
|
1322
1324
|
organisation_ids?: string[] | undefined;
|
|
1323
1325
|
can_login?: YesNo[] | undefined;
|
|
1324
1326
|
is_vehicle_assigned?: YesNo[] | undefined;
|
|
1325
|
-
vehicle_ids?: string[] | undefined;
|
|
1326
|
-
driver_ids?: string[] | undefined;
|
|
1327
1327
|
}>;
|
|
1328
1328
|
type DriverQueryDTO = z.infer<typeof DriverQuerySchema>;
|
|
1329
1329
|
declare const toDriverPayload: (driver?: MasterDriver) => MasterDriverDTO;
|
|
@@ -2018,6 +2018,7 @@ declare const MasterDeviceQuerySchema: z.ZodObject<{
|
|
|
2018
2018
|
device_gps_source: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof GPSSource>, "many">>>;
|
|
2019
2019
|
}, "strip", z.ZodTypeAny, {
|
|
2020
2020
|
status: Status[];
|
|
2021
|
+
vehicle_ids: string[];
|
|
2021
2022
|
search: string;
|
|
2022
2023
|
paging: PAGING;
|
|
2023
2024
|
page_count: number;
|
|
@@ -2041,7 +2042,6 @@ declare const MasterDeviceQuerySchema: z.ZodObject<{
|
|
|
2041
2042
|
organisation_ids: string[];
|
|
2042
2043
|
country_ids: string[];
|
|
2043
2044
|
time_zone_ids: string[];
|
|
2044
|
-
vehicle_ids: string[];
|
|
2045
2045
|
device_manufacturer_ids: string[];
|
|
2046
2046
|
device_model_ids: string[];
|
|
2047
2047
|
device_type_ids: string[];
|
|
@@ -2053,6 +2053,7 @@ declare const MasterDeviceQuerySchema: z.ZodObject<{
|
|
|
2053
2053
|
date_format_id: string;
|
|
2054
2054
|
time_zone_id: string;
|
|
2055
2055
|
status?: Status[] | undefined;
|
|
2056
|
+
vehicle_ids?: string[] | undefined;
|
|
2056
2057
|
search?: string | undefined;
|
|
2057
2058
|
paging?: PAGING | undefined;
|
|
2058
2059
|
page_count?: unknown;
|
|
@@ -2074,7 +2075,6 @@ declare const MasterDeviceQuerySchema: z.ZodObject<{
|
|
|
2074
2075
|
organisation_ids?: string[] | undefined;
|
|
2075
2076
|
country_ids?: string[] | undefined;
|
|
2076
2077
|
time_zone_ids?: string[] | undefined;
|
|
2077
|
-
vehicle_ids?: string[] | undefined;
|
|
2078
2078
|
device_manufacturer_ids?: string[] | undefined;
|
|
2079
2079
|
device_model_ids?: string[] | undefined;
|
|
2080
2080
|
device_type_ids?: string[] | undefined;
|
|
@@ -2653,15 +2653,15 @@ declare const OrganisationGroupSchema: z.ZodObject<{
|
|
|
2653
2653
|
}, "strip", z.ZodTypeAny, {
|
|
2654
2654
|
status: Status;
|
|
2655
2655
|
organisation_id: string;
|
|
2656
|
-
description: string;
|
|
2657
2656
|
vehicle_ids: string[];
|
|
2657
|
+
description: string;
|
|
2658
2658
|
group_name: string;
|
|
2659
2659
|
}, {
|
|
2660
2660
|
status: Status;
|
|
2661
2661
|
organisation_id: string;
|
|
2662
2662
|
group_name: string;
|
|
2663
|
-
description?: string | undefined;
|
|
2664
2663
|
vehicle_ids?: string[] | undefined;
|
|
2664
|
+
description?: string | undefined;
|
|
2665
2665
|
}>;
|
|
2666
2666
|
type OrganisationGroupDTO = z.infer<typeof OrganisationGroupSchema>;
|
|
2667
2667
|
declare const OrganisationGroupQuerySchema: z.ZodObject<{
|
|
@@ -2700,6 +2700,7 @@ declare const OrganisationGroupQuerySchema: z.ZodObject<{
|
|
|
2700
2700
|
vehicle_ids: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
2701
2701
|
}, "strip", z.ZodTypeAny, {
|
|
2702
2702
|
status: Status[];
|
|
2703
|
+
vehicle_ids: string[];
|
|
2703
2704
|
search: string;
|
|
2704
2705
|
paging: PAGING;
|
|
2705
2706
|
page_count: number;
|
|
@@ -2721,12 +2722,12 @@ declare const OrganisationGroupQuerySchema: z.ZodObject<{
|
|
|
2721
2722
|
date_format_id: string;
|
|
2722
2723
|
time_zone_id: string;
|
|
2723
2724
|
organisation_ids: string[];
|
|
2724
|
-
vehicle_ids: string[];
|
|
2725
2725
|
organisation_group_ids: string[];
|
|
2726
2726
|
}, {
|
|
2727
2727
|
date_format_id: string;
|
|
2728
2728
|
time_zone_id: string;
|
|
2729
2729
|
status?: Status[] | undefined;
|
|
2730
|
+
vehicle_ids?: string[] | undefined;
|
|
2730
2731
|
search?: string | undefined;
|
|
2731
2732
|
paging?: PAGING | undefined;
|
|
2732
2733
|
page_count?: unknown;
|
|
@@ -2746,7 +2747,6 @@ declare const OrganisationGroupQuerySchema: z.ZodObject<{
|
|
|
2746
2747
|
}[] | undefined;
|
|
2747
2748
|
include_master_data?: YesNo | undefined;
|
|
2748
2749
|
organisation_ids?: string[] | undefined;
|
|
2749
|
-
vehicle_ids?: string[] | undefined;
|
|
2750
2750
|
organisation_group_ids?: string[] | undefined;
|
|
2751
2751
|
}>;
|
|
2752
2752
|
type OrganisationGroupQueryDTO = z.infer<typeof OrganisationGroupQuerySchema>;
|
|
@@ -4120,9 +4120,9 @@ declare const VehicleDeviceLinkSchema: z.ZodObject<{
|
|
|
4120
4120
|
camera_extra_count: z.ZodEffects<z.ZodDefault<z.ZodOptional<z.ZodNumber>>, number, unknown>;
|
|
4121
4121
|
}, "strip", z.ZodTypeAny, {
|
|
4122
4122
|
organisation_id: string;
|
|
4123
|
+
vehicle_id: string;
|
|
4123
4124
|
time_zone_id: string;
|
|
4124
4125
|
country_id: string;
|
|
4125
|
-
vehicle_id: string;
|
|
4126
4126
|
device_type_id: string;
|
|
4127
4127
|
device_manufacturer_id: string;
|
|
4128
4128
|
device_model_id: string;
|
|
@@ -4143,9 +4143,9 @@ declare const VehicleDeviceLinkSchema: z.ZodObject<{
|
|
|
4143
4143
|
camera_extra_count: number;
|
|
4144
4144
|
}, {
|
|
4145
4145
|
organisation_id: string;
|
|
4146
|
+
vehicle_id: string;
|
|
4146
4147
|
time_zone_id: string;
|
|
4147
4148
|
country_id: string;
|
|
4148
|
-
vehicle_id: string;
|
|
4149
4149
|
device_type_id: string;
|
|
4150
4150
|
device_manufacturer_id: string;
|
|
4151
4151
|
device_model_id: string;
|
|
@@ -4183,12 +4183,12 @@ declare const VehicleDriverLinkSchema: z.ZodObject<{
|
|
|
4183
4183
|
driver_id: z.ZodEffects<z.ZodString, string, string>;
|
|
4184
4184
|
}, "strip", z.ZodTypeAny, {
|
|
4185
4185
|
organisation_id: string;
|
|
4186
|
-
driver_id: string;
|
|
4187
4186
|
vehicle_id: string;
|
|
4187
|
+
driver_id: string;
|
|
4188
4188
|
}, {
|
|
4189
4189
|
organisation_id: string;
|
|
4190
|
-
driver_id: string;
|
|
4191
4190
|
vehicle_id: string;
|
|
4191
|
+
driver_id: string;
|
|
4192
4192
|
}>;
|
|
4193
4193
|
type VehicleDriverLinkDTO = z.infer<typeof VehicleDriverLinkSchema>;
|
|
4194
4194
|
declare const SimpleFindQuerySchema: z.ZodObject<{
|
|
@@ -4698,6 +4698,8 @@ declare const VehicleQuerySchema: z.ZodObject<{
|
|
|
4698
4698
|
is_driver_assigned: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof YesNo>, "many">>>;
|
|
4699
4699
|
}, "strip", z.ZodTypeAny, {
|
|
4700
4700
|
status: Status[];
|
|
4701
|
+
vehicle_ids: string[];
|
|
4702
|
+
driver_ids: string[];
|
|
4701
4703
|
search: string;
|
|
4702
4704
|
paging: PAGING;
|
|
4703
4705
|
page_count: number;
|
|
@@ -4719,8 +4721,6 @@ declare const VehicleQuerySchema: z.ZodObject<{
|
|
|
4719
4721
|
date_format_id: string;
|
|
4720
4722
|
time_zone_id: string;
|
|
4721
4723
|
organisation_ids: string[];
|
|
4722
|
-
vehicle_ids: string[];
|
|
4723
|
-
driver_ids: string[];
|
|
4724
4724
|
device_ids: string[];
|
|
4725
4725
|
organisation_sub_company_ids: string[];
|
|
4726
4726
|
organisation_branch_ids: string[];
|
|
@@ -4739,6 +4739,8 @@ declare const VehicleQuerySchema: z.ZodObject<{
|
|
|
4739
4739
|
date_format_id: string;
|
|
4740
4740
|
time_zone_id: string;
|
|
4741
4741
|
status?: Status[] | undefined;
|
|
4742
|
+
vehicle_ids?: string[] | undefined;
|
|
4743
|
+
driver_ids?: string[] | undefined;
|
|
4742
4744
|
search?: string | undefined;
|
|
4743
4745
|
paging?: PAGING | undefined;
|
|
4744
4746
|
page_count?: unknown;
|
|
@@ -4758,8 +4760,6 @@ declare const VehicleQuerySchema: z.ZodObject<{
|
|
|
4758
4760
|
}[] | undefined;
|
|
4759
4761
|
include_master_data?: YesNo | undefined;
|
|
4760
4762
|
organisation_ids?: string[] | undefined;
|
|
4761
|
-
vehicle_ids?: string[] | undefined;
|
|
4762
|
-
driver_ids?: string[] | undefined;
|
|
4763
4763
|
device_ids?: string[] | undefined;
|
|
4764
4764
|
organisation_sub_company_ids?: string[] | undefined;
|
|
4765
4765
|
organisation_branch_ids?: string[] | undefined;
|
|
@@ -4812,6 +4812,7 @@ declare const VehicleGPSQuerySchema: z.ZodObject<{
|
|
|
4812
4812
|
}, "strip", z.ZodTypeAny, {
|
|
4813
4813
|
status: Status[];
|
|
4814
4814
|
organisation_id: string;
|
|
4815
|
+
vehicle_id: string;
|
|
4815
4816
|
search: string;
|
|
4816
4817
|
paging: PAGING;
|
|
4817
4818
|
page_count: number;
|
|
@@ -4832,12 +4833,11 @@ declare const VehicleGPSQuerySchema: z.ZodObject<{
|
|
|
4832
4833
|
include_master_data: YesNo;
|
|
4833
4834
|
date_format_id: string;
|
|
4834
4835
|
time_zone_id: string;
|
|
4835
|
-
vehicle_id: string;
|
|
4836
4836
|
}, {
|
|
4837
4837
|
organisation_id: string;
|
|
4838
|
+
vehicle_id: string;
|
|
4838
4839
|
date_format_id: string;
|
|
4839
4840
|
time_zone_id: string;
|
|
4840
|
-
vehicle_id: string;
|
|
4841
4841
|
status?: Status[] | undefined;
|
|
4842
4842
|
search?: string | undefined;
|
|
4843
4843
|
paging?: PAGING | undefined;
|
|
@@ -5710,6 +5710,7 @@ declare const UserQuerySchema: z.ZodObject<{
|
|
|
5710
5710
|
is_activated: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof YesNo>, "many">>>;
|
|
5711
5711
|
}, "strip", z.ZodTypeAny, {
|
|
5712
5712
|
status: Status[];
|
|
5713
|
+
user_ids: string[];
|
|
5713
5714
|
search: string;
|
|
5714
5715
|
paging: PAGING;
|
|
5715
5716
|
page_count: number;
|
|
@@ -5731,7 +5732,6 @@ declare const UserQuerySchema: z.ZodObject<{
|
|
|
5731
5732
|
date_format_id: string;
|
|
5732
5733
|
time_zone_id: string;
|
|
5733
5734
|
organisation_ids: string[];
|
|
5734
|
-
user_ids: string[];
|
|
5735
5735
|
country_ids: string[];
|
|
5736
5736
|
can_login: YesNo[];
|
|
5737
5737
|
user_role_ids: string[];
|
|
@@ -5742,6 +5742,7 @@ declare const UserQuerySchema: z.ZodObject<{
|
|
|
5742
5742
|
date_format_id: string;
|
|
5743
5743
|
time_zone_id: string;
|
|
5744
5744
|
status?: Status[] | undefined;
|
|
5745
|
+
user_ids?: string[] | undefined;
|
|
5745
5746
|
search?: string | undefined;
|
|
5746
5747
|
paging?: PAGING | undefined;
|
|
5747
5748
|
page_count?: unknown;
|
|
@@ -5761,7 +5762,6 @@ declare const UserQuerySchema: z.ZodObject<{
|
|
|
5761
5762
|
}[] | undefined;
|
|
5762
5763
|
include_master_data?: YesNo | undefined;
|
|
5763
5764
|
organisation_ids?: string[] | undefined;
|
|
5764
|
-
user_ids?: string[] | undefined;
|
|
5765
5765
|
country_ids?: string[] | undefined;
|
|
5766
5766
|
can_login?: YesNo[] | undefined;
|
|
5767
5767
|
user_role_ids?: string[] | undefined;
|