vms-nest-prisma-api-document 228.0.0 → 230.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/Enums.d.ts +12 -1
- package/dist/core/Enums.js +15 -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 +11 -11
- package/dist/services/account/notification_preferences.service.d.ts +18 -18
- package/dist/services/account/report_preferences.service.d.ts +7 -7
- package/dist/services/account/ticket_service.d.ts +1 -1
- package/dist/services/fleet/bus_mangement/bus_stop.d.ts +1 -1
- package/dist/services/fleet/bus_mangement/calender.d.ts +1 -1
- package/dist/services/fleet/bus_mangement/master_route.d.ts +1 -1
- package/dist/services/fleet/bus_mangement/notice_board.d.ts +1 -1
- package/dist/services/fleet/bus_mangement/student.d.ts +1 -1
- package/dist/services/fleet/fuel_management/fleet_fuel_daily_summary_service.d.ts +20 -20
- 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/fleet/incident_management/incident_management_service.d.ts +71 -71
- package/dist/services/fleet/inspection_management/fleet_inspection_form_service.d.ts +16 -0
- package/dist/services/fleet/{service_management/fleet_service_management_task_service.js → inspection_management/fleet_inspection_form_service.js} +46 -64
- package/dist/services/fleet/inspection_management/fleet_inspection_management_service.d.ts +16 -0
- package/dist/services/fleet/inspection_management/fleet_inspection_management_service.js +501 -0
- package/dist/services/fleet/inspection_management/fleet_inspection_schedule_service.d.ts +697 -0
- package/dist/services/fleet/inspection_management/fleet_inspection_schedule_service.js +340 -0
- package/dist/services/fleet/issue_management/issue_management_service.d.ts +2 -1
- package/dist/services/fleet/service_management/fleet_service_management_service.d.ts +297 -23
- package/dist/services/fleet/service_management/fleet_service_management_service.js +174 -20
- package/dist/services/fleet/service_management/fleet_service_schedule_service.d.ts +166 -0
- package/dist/services/fleet/service_management/fleet_service_schedule_service.js +338 -0
- package/dist/services/fleet/vendor_management/fleet_vendor_fuel_station.d.ts +1 -1
- package/dist/services/fleet/vendor_management/fleet_vendor_service.d.ts +1 -1
- package/dist/services/fleet/vendor_management/fleet_vendor_service_center.d.ts +1 -1
- package/dist/services/gps/features/geofence/gps_geofence_service.d.ts +3 -3
- package/dist/services/gps/features/geofence/gps_geofence_transaction_service.d.ts +1 -1
- package/dist/services/gps/features/geofence/gps_geofence_transaction_summary_service.d.ts +1 -1
- package/dist/services/gps/features/geofence/trip_geofence_to_geofence_service.d.ts +1 -1
- package/dist/services/gps/features/gps_live_track_share_link_service.d.ts +1 -1
- package/dist/services/gps/features/gps_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/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_admin_service.d.ts +3 -3
- package/dist/services/main/users/user_organisation_service.d.ts +1 -1
- package/dist/services/main/users/user_service.d.ts +1 -1
- package/dist/services/main/vehicle/childs/vehicle_odometer_history.d.ts +1 -1
- package/dist/services/main/vehicle/master_vehicle_service.d.ts +1 -1
- package/dist/services/master/bus/master_class_service.d.ts +1 -1
- package/dist/services/master/bus/master_program_service.d.ts +1 -1
- package/dist/services/master/bus/master_relationship_service.d.ts +1 -1
- package/dist/services/master/bus/master_section_service.d.ts +1 -1
- package/dist/services/master/bus/master_semester_service.d.ts +1 -1
- package/dist/services/master/bus/master_stream_service.d.ts +1 -1
- package/dist/services/master/bus/master_year_service.d.ts +1 -1
- package/dist/services/master/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 +3 -3
- package/dist/services/master/expense/master_expense_type_service.d.ts +1 -1
- package/dist/services/master/expense/master_fuel_company_service.d.ts +1 -1
- package/dist/services/master/expense/master_vendor_document_type_service.d.ts +1 -1
- package/dist/services/master/expense/master_vendor_tag_service.d.ts +1 -1
- package/dist/services/master/expense/master_vendor_type_service.d.ts +1 -1
- package/dist/services/master/fleet/master_fleet_incident_severity_service.d.ts +2 -2
- 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 +8 -8
- 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 +1 -1
- 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 +3 -3
- package/dist/services/master/tyre/master_tyre_make_service.d.ts +1 -1
- package/dist/services/master/tyre/master_tyre_model_service.d.ts +5 -5
- 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/services/website/faq_service.d.ts +1 -1
- package/dist/services/website/static_pages_service.d.ts +1 -1
- package/package.json +1 -1
- package/dist/services/fleet/service_management/fleet_service_management_task_service.d.ts +0 -145
- package/dist/{user_organisation_service-4bBzFQBd.d.ts → user_organisation_service-KwfWBPXf.d.ts} +47 -47
package/dist/core/Enums.d.ts
CHANGED
|
@@ -38,6 +38,10 @@ declare enum Status {
|
|
|
38
38
|
Active = "Active",
|
|
39
39
|
Inactive = "Inactive"
|
|
40
40
|
}
|
|
41
|
+
declare enum ReminderType {
|
|
42
|
+
Upcoming = "Upcoming",
|
|
43
|
+
OverDue = "OverDue"
|
|
44
|
+
}
|
|
41
45
|
declare enum ExpenseCategory {
|
|
42
46
|
Main = "Main",
|
|
43
47
|
Document = "Document",
|
|
@@ -222,6 +226,13 @@ declare enum InspectionStatus {
|
|
|
222
226
|
Cancelled = "Cancelled",
|
|
223
227
|
Failed = "Failed"
|
|
224
228
|
}
|
|
229
|
+
declare enum InspectionPriority {
|
|
230
|
+
Critical = "Critical",
|
|
231
|
+
High = "High",
|
|
232
|
+
Medium = "Medium",
|
|
233
|
+
Low = "Low",
|
|
234
|
+
NoPriority = "NoPriority"
|
|
235
|
+
}
|
|
225
236
|
declare enum ScheduleType {
|
|
226
237
|
OneTime = "OneTime",
|
|
227
238
|
Recurring = "Recurring"
|
|
@@ -773,4 +784,4 @@ declare enum IncidentVisibility {
|
|
|
773
784
|
Unknown = "Unknown"
|
|
774
785
|
}
|
|
775
786
|
|
|
776
|
-
export { AdminRole, AlertSubType, AlertType, ApprovalStatus, BillingStatus, BooleanType, BusLeg, BusStopType, DeviceStatus, DeviceType, DocumentStatus, DocumentType, DocumentValidityStatus, DoorSensorStatus, DriverType, EnrollmentStatus, ExpenseCategory, ExpiryType, FileType, FleetSize, FleetVendorAddressLabel, FuelTankType, GPSFuelApproveStatus, GPSSource, GPSType, GeofencePurposeType, GeofenceStatusType, GeofenceType, HolidayType, IncidentRoadType, IncidentTime, IncidentVisibility, IncidentWeather, InspectionActionStatus, InspectionStatus, InspectionType, Is12AM, IssueSeverity, IssueSource, IssueStatus, JobCardStatus, LifeExpiry, LinkStatus, LinkType, LoadChild, LoadChildCount, LoadParents, LoanInterestType, LoginFrom, MenuType, Module, NightDriving, NotificationChannel, NotificationList, NotificationPreference, OdometerSource, OnOff, OrderBy, OverSpeed, PAGING, PaymentMode, PaymentStatus, Priority, PurchaseOrderStatus, PurchaseType, PurchaseVehicleType, RecurrenceInterval, RefillEntrySource, RefillMethod, ReminderSource, ReminderStatus, ReminderTriggerType, ReportChannel, ReportList, ReportType, RequestType, RetreadingMethod, ScheduleStatus, ScheduleType, ServiceStatus, ServiceType, ShareChannel, SimStatus, Status, SteeringType, StockType, StudentLeaveType, TicketStatus, TimeSlot, TrackHistoryLinkStatus, TransportPlanType, TyreStatus, VehicleLifeStatus, VerifyStatus, WheelDriveType, YesNo };
|
|
787
|
+
export { AdminRole, AlertSubType, AlertType, ApprovalStatus, BillingStatus, BooleanType, BusLeg, BusStopType, DeviceStatus, DeviceType, DocumentStatus, DocumentType, DocumentValidityStatus, DoorSensorStatus, DriverType, EnrollmentStatus, ExpenseCategory, ExpiryType, FileType, FleetSize, FleetVendorAddressLabel, FuelTankType, GPSFuelApproveStatus, GPSSource, GPSType, GeofencePurposeType, GeofenceStatusType, GeofenceType, HolidayType, IncidentRoadType, IncidentTime, IncidentVisibility, IncidentWeather, InspectionActionStatus, InspectionPriority, InspectionStatus, InspectionType, Is12AM, IssueSeverity, IssueSource, IssueStatus, JobCardStatus, LifeExpiry, LinkStatus, LinkType, LoadChild, LoadChildCount, LoadParents, LoanInterestType, LoginFrom, MenuType, Module, NightDriving, NotificationChannel, NotificationList, NotificationPreference, OdometerSource, OnOff, OrderBy, OverSpeed, PAGING, PaymentMode, PaymentStatus, Priority, PurchaseOrderStatus, PurchaseType, PurchaseVehicleType, RecurrenceInterval, RefillEntrySource, RefillMethod, ReminderSource, ReminderStatus, ReminderTriggerType, ReminderType, ReportChannel, ReportList, ReportType, RequestType, RetreadingMethod, ScheduleStatus, ScheduleType, ServiceStatus, ServiceType, ShareChannel, SimStatus, Status, SteeringType, StockType, StudentLeaveType, TicketStatus, TimeSlot, TrackHistoryLinkStatus, TransportPlanType, TyreStatus, VehicleLifeStatus, VerifyStatus, WheelDriveType, YesNo };
|
package/dist/core/Enums.js
CHANGED
|
@@ -47,6 +47,11 @@ var Status = /* @__PURE__ */ ((Status2) => {
|
|
|
47
47
|
Status2["Inactive"] = "Inactive";
|
|
48
48
|
return Status2;
|
|
49
49
|
})(Status || {});
|
|
50
|
+
var ReminderType = /* @__PURE__ */ ((ReminderType2) => {
|
|
51
|
+
ReminderType2["Upcoming"] = "Upcoming";
|
|
52
|
+
ReminderType2["OverDue"] = "OverDue";
|
|
53
|
+
return ReminderType2;
|
|
54
|
+
})(ReminderType || {});
|
|
50
55
|
var ExpenseCategory = /* @__PURE__ */ ((ExpenseCategory2) => {
|
|
51
56
|
ExpenseCategory2["Main"] = "Main";
|
|
52
57
|
ExpenseCategory2["Document"] = "Document";
|
|
@@ -262,6 +267,14 @@ var InspectionStatus = /* @__PURE__ */ ((InspectionStatus2) => {
|
|
|
262
267
|
InspectionStatus2["Failed"] = "Failed";
|
|
263
268
|
return InspectionStatus2;
|
|
264
269
|
})(InspectionStatus || {});
|
|
270
|
+
var InspectionPriority = /* @__PURE__ */ ((InspectionPriority2) => {
|
|
271
|
+
InspectionPriority2["Critical"] = "Critical";
|
|
272
|
+
InspectionPriority2["High"] = "High";
|
|
273
|
+
InspectionPriority2["Medium"] = "Medium";
|
|
274
|
+
InspectionPriority2["Low"] = "Low";
|
|
275
|
+
InspectionPriority2["NoPriority"] = "NoPriority";
|
|
276
|
+
return InspectionPriority2;
|
|
277
|
+
})(InspectionPriority || {});
|
|
265
278
|
var ScheduleType = /* @__PURE__ */ ((ScheduleType2) => {
|
|
266
279
|
ScheduleType2["OneTime"] = "OneTime";
|
|
267
280
|
ScheduleType2["Recurring"] = "Recurring";
|
|
@@ -904,6 +917,7 @@ export {
|
|
|
904
917
|
IncidentVisibility,
|
|
905
918
|
IncidentWeather,
|
|
906
919
|
InspectionActionStatus,
|
|
920
|
+
InspectionPriority,
|
|
907
921
|
InspectionStatus,
|
|
908
922
|
InspectionType,
|
|
909
923
|
Is12AM,
|
|
@@ -942,6 +956,7 @@ export {
|
|
|
942
956
|
ReminderSource,
|
|
943
957
|
ReminderStatus,
|
|
944
958
|
ReminderTriggerType,
|
|
959
|
+
ReminderType,
|
|
945
960
|
ReportChannel,
|
|
946
961
|
ReportList,
|
|
947
962
|
ReportType,
|
|
@@ -22,15 +22,15 @@ declare const UserLoginAnalyticsSchema: z.ZodObject<{
|
|
|
22
22
|
}, "strip", z.ZodTypeAny, {
|
|
23
23
|
user_id: string;
|
|
24
24
|
organisation_id: string;
|
|
25
|
-
login_from: LoginFrom;
|
|
26
25
|
country_id: string;
|
|
26
|
+
login_from: LoginFrom;
|
|
27
27
|
os_details: Record<string, any>;
|
|
28
28
|
ip_details: Record<string, any>;
|
|
29
29
|
}, {
|
|
30
30
|
user_id: string;
|
|
31
31
|
organisation_id: string;
|
|
32
|
-
login_from: LoginFrom;
|
|
33
32
|
country_id: string;
|
|
33
|
+
login_from: LoginFrom;
|
|
34
34
|
os_details?: Record<string, any> | undefined;
|
|
35
35
|
ip_details?: Record<string, any> | undefined;
|
|
36
36
|
}>;
|
|
@@ -48,11 +48,11 @@ declare const UserLoginAnalyticsQuerySchema: z.ZodObject<{
|
|
|
48
48
|
organisation_ids: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
49
49
|
country_ids: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
50
50
|
}, "strip", z.ZodTypeAny, {
|
|
51
|
+
login_from: LoginFrom;
|
|
51
52
|
search: string;
|
|
52
53
|
paging: PAGING;
|
|
53
54
|
page_count: number;
|
|
54
55
|
page_index: number;
|
|
55
|
-
login_from: LoginFrom;
|
|
56
56
|
date_format_id: string;
|
|
57
57
|
time_zone_id: string;
|
|
58
58
|
user_ids: string[];
|
|
@@ -43,11 +43,11 @@ declare const UserPageAnalyticsQuerySchema: z.ZodObject<{
|
|
|
43
43
|
user_ids: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
44
44
|
organisation_ids: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
45
45
|
}, "strip", z.ZodTypeAny, {
|
|
46
|
+
login_from: LoginFrom;
|
|
46
47
|
search: string;
|
|
47
48
|
paging: PAGING;
|
|
48
49
|
page_count: number;
|
|
49
50
|
page_index: number;
|
|
50
|
-
login_from: LoginFrom;
|
|
51
51
|
date_format_id: string;
|
|
52
52
|
time_zone_id: string;
|
|
53
53
|
user_ids: string[];
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { MenuType, Status, PAGING, LoadParents, LoadChild, LoadChildCount, OrderBy, YesNo } from '../../core/Enums.js';
|
|
2
2
|
import { FBR, SBR } from '../../core/BaseResponse.js';
|
|
3
3
|
import { z } from 'zod';
|
|
4
|
-
import { U as UserOrganisation, a as User } from '../../user_organisation_service-
|
|
4
|
+
import { U as UserOrganisation, a as User } from '../../user_organisation_service-KwfWBPXf.js';
|
|
5
5
|
import '../../zod_utils/zod_base_schema.js';
|
|
6
6
|
import '../master/main/master_main_sim_provider_service.js';
|
|
7
7
|
|
|
@@ -40,12 +40,9 @@ declare const BookMarkSchema: z.ZodObject<{
|
|
|
40
40
|
sub_item_url: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
|
|
41
41
|
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
42
42
|
}, "strip", z.ZodTypeAny, {
|
|
43
|
-
status: Status;
|
|
44
|
-
organisation_id: string;
|
|
45
|
-
user_id: string;
|
|
46
|
-
group_name: string;
|
|
47
43
|
module_name: string;
|
|
48
44
|
menu_type: MenuType;
|
|
45
|
+
group_name: string;
|
|
49
46
|
group_name_language: string;
|
|
50
47
|
group_icon: string;
|
|
51
48
|
group_url: string;
|
|
@@ -53,16 +50,19 @@ declare const BookMarkSchema: z.ZodObject<{
|
|
|
53
50
|
sub_item_name_language: string;
|
|
54
51
|
sub_item_icon: string;
|
|
55
52
|
sub_item_url: string;
|
|
56
|
-
}, {
|
|
57
53
|
status: Status;
|
|
58
54
|
organisation_id: string;
|
|
59
55
|
user_id: string;
|
|
60
|
-
|
|
56
|
+
}, {
|
|
61
57
|
module_name: string;
|
|
62
58
|
menu_type: MenuType;
|
|
59
|
+
group_name: string;
|
|
63
60
|
group_name_language: string;
|
|
64
61
|
group_icon: string;
|
|
65
62
|
group_url: string;
|
|
63
|
+
status: Status;
|
|
64
|
+
organisation_id: string;
|
|
65
|
+
user_id: string;
|
|
66
66
|
sub_item_name?: string | undefined;
|
|
67
67
|
sub_item_name_language?: string | undefined;
|
|
68
68
|
sub_item_icon?: string | undefined;
|
|
@@ -105,8 +105,8 @@ declare const BookMarkQuerySchema: z.ZodObject<{
|
|
|
105
105
|
bookmark_ids: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
106
106
|
menu_type: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof MenuType>, "many">>>;
|
|
107
107
|
}, "strip", z.ZodTypeAny, {
|
|
108
|
+
menu_type: MenuType[];
|
|
108
109
|
status: Status[];
|
|
109
|
-
user_ids: string[];
|
|
110
110
|
search: string;
|
|
111
111
|
paging: PAGING;
|
|
112
112
|
page_count: number;
|
|
@@ -128,13 +128,13 @@ declare const BookMarkQuerySchema: z.ZodObject<{
|
|
|
128
128
|
date_format_id: string;
|
|
129
129
|
time_zone_id: string;
|
|
130
130
|
organisation_ids: string[];
|
|
131
|
-
|
|
131
|
+
user_ids: string[];
|
|
132
132
|
bookmark_ids: string[];
|
|
133
133
|
}, {
|
|
134
134
|
date_format_id: string;
|
|
135
135
|
time_zone_id: string;
|
|
136
|
+
menu_type?: MenuType[] | undefined;
|
|
136
137
|
status?: Status[] | undefined;
|
|
137
|
-
user_ids?: string[] | undefined;
|
|
138
138
|
search?: string | undefined;
|
|
139
139
|
paging?: PAGING | undefined;
|
|
140
140
|
page_count?: unknown;
|
|
@@ -154,7 +154,7 @@ declare const BookMarkQuerySchema: z.ZodObject<{
|
|
|
154
154
|
}[] | undefined;
|
|
155
155
|
include_master_data?: YesNo | undefined;
|
|
156
156
|
organisation_ids?: string[] | undefined;
|
|
157
|
-
|
|
157
|
+
user_ids?: string[] | undefined;
|
|
158
158
|
bookmark_ids?: string[] | undefined;
|
|
159
159
|
}>;
|
|
160
160
|
type BookMarkQueryDTO = z.infer<typeof BookMarkQuerySchema>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { OnOff, NotificationChannel, YesNo, NotificationList, Status, PAGING, LoadParents, LoadChild, LoadChildCount, OrderBy } from '../../core/Enums.js';
|
|
2
2
|
import { FBR, SBR } from '../../core/BaseResponse.js';
|
|
3
3
|
import { z } from 'zod';
|
|
4
|
-
import { U as UserOrganisation, M as MasterVehicle, a as User } from '../../user_organisation_service-
|
|
4
|
+
import { U as UserOrganisation, M as MasterVehicle, a as User } from '../../user_organisation_service-KwfWBPXf.js';
|
|
5
5
|
import { GPSGeofence } from '../gps/features/geofence/gps_geofence_service.js';
|
|
6
6
|
import '../../zod_utils/zod_base_schema.js';
|
|
7
7
|
import '../master/main/master_main_sim_provider_service.js';
|
|
@@ -85,6 +85,12 @@ declare const OrganisationNotificationPreferenceSchema: z.ZodObject<{
|
|
|
85
85
|
vehicle_ids: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
86
86
|
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
87
87
|
}, "strip", z.ZodTypeAny, {
|
|
88
|
+
status: Status;
|
|
89
|
+
organisation_id: string;
|
|
90
|
+
user_ids: string[];
|
|
91
|
+
vehicle_ids: string[];
|
|
92
|
+
all_vehicles: YesNo;
|
|
93
|
+
gps_geofence_ids: string[];
|
|
88
94
|
notification_name: string;
|
|
89
95
|
notification_status: OnOff;
|
|
90
96
|
notification_channels: NotificationChannel[];
|
|
@@ -95,29 +101,23 @@ declare const OrganisationNotificationPreferenceSchema: z.ZodObject<{
|
|
|
95
101
|
notification_list: NotificationList[];
|
|
96
102
|
over_speed_limit: number;
|
|
97
103
|
all_geofences: YesNo;
|
|
98
|
-
|
|
104
|
+
}, {
|
|
99
105
|
status: Status;
|
|
100
106
|
organisation_id: string;
|
|
101
|
-
|
|
102
|
-
gps_geofence_ids: string[];
|
|
103
|
-
vehicle_ids: string[];
|
|
104
|
-
}, {
|
|
107
|
+
all_vehicles: YesNo;
|
|
105
108
|
notification_name: string;
|
|
106
109
|
notification_status: OnOff;
|
|
107
110
|
all_users: YesNo;
|
|
108
111
|
all_geofences: YesNo;
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
+
user_ids?: string[] | undefined;
|
|
113
|
+
vehicle_ids?: string[] | undefined;
|
|
114
|
+
gps_geofence_ids?: string[] | undefined;
|
|
112
115
|
notification_channels?: NotificationChannel[] | undefined;
|
|
113
116
|
mobile_numbers?: string | undefined;
|
|
114
117
|
email_ids?: string | undefined;
|
|
115
118
|
cc_email_ids?: string | undefined;
|
|
116
119
|
notification_list?: NotificationList[] | undefined;
|
|
117
120
|
over_speed_limit?: unknown;
|
|
118
|
-
user_ids?: string[] | undefined;
|
|
119
|
-
gps_geofence_ids?: string[] | undefined;
|
|
120
|
-
vehicle_ids?: string[] | undefined;
|
|
121
121
|
}>;
|
|
122
122
|
type OrganisationNotificationPreferenceDTO = z.infer<typeof OrganisationNotificationPreferenceSchema>;
|
|
123
123
|
declare const OrganisationNotificationPreferenceQuerySchema: z.ZodObject<{
|
|
@@ -157,9 +157,6 @@ declare const OrganisationNotificationPreferenceQuerySchema: z.ZodObject<{
|
|
|
157
157
|
notification_channels: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof NotificationChannel>, "many">>>;
|
|
158
158
|
notification_list: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof NotificationList>, "many">>>;
|
|
159
159
|
}, "strip", z.ZodTypeAny, {
|
|
160
|
-
notification_status: OnOff[];
|
|
161
|
-
notification_channels: NotificationChannel[];
|
|
162
|
-
notification_list: NotificationList[];
|
|
163
160
|
status: Status[];
|
|
164
161
|
search: string;
|
|
165
162
|
paging: PAGING;
|
|
@@ -182,13 +179,13 @@ declare const OrganisationNotificationPreferenceQuerySchema: z.ZodObject<{
|
|
|
182
179
|
date_format_id: string;
|
|
183
180
|
time_zone_id: string;
|
|
184
181
|
organisation_ids: string[];
|
|
182
|
+
notification_status: OnOff[];
|
|
183
|
+
notification_channels: NotificationChannel[];
|
|
184
|
+
notification_list: NotificationList[];
|
|
185
185
|
notification_preference_ids: string[];
|
|
186
186
|
}, {
|
|
187
187
|
date_format_id: string;
|
|
188
188
|
time_zone_id: string;
|
|
189
|
-
notification_status?: OnOff[] | undefined;
|
|
190
|
-
notification_channels?: NotificationChannel[] | undefined;
|
|
191
|
-
notification_list?: NotificationList[] | undefined;
|
|
192
189
|
status?: Status[] | undefined;
|
|
193
190
|
search?: string | undefined;
|
|
194
191
|
paging?: PAGING | undefined;
|
|
@@ -209,6 +206,9 @@ declare const OrganisationNotificationPreferenceQuerySchema: z.ZodObject<{
|
|
|
209
206
|
}[] | undefined;
|
|
210
207
|
include_master_data?: YesNo | undefined;
|
|
211
208
|
organisation_ids?: string[] | undefined;
|
|
209
|
+
notification_status?: OnOff[] | undefined;
|
|
210
|
+
notification_channels?: NotificationChannel[] | undefined;
|
|
211
|
+
notification_list?: NotificationList[] | undefined;
|
|
212
212
|
notification_preference_ids?: string[] | undefined;
|
|
213
213
|
}>;
|
|
214
214
|
type OrganisationNotificationPreferenceQueryDTO = z.infer<typeof OrganisationNotificationPreferenceQuerySchema>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { OnOff, ReportType, ReportList, ReportChannel, YesNo, Status, PAGING, LoadParents, LoadChild, LoadChildCount, OrderBy } from '../../core/Enums.js';
|
|
2
2
|
import { FBR, SBR } from '../../core/BaseResponse.js';
|
|
3
3
|
import { z } from 'zod';
|
|
4
|
-
import { U as UserOrganisation, M as MasterVehicle } from '../../user_organisation_service-
|
|
4
|
+
import { U as UserOrganisation, M as MasterVehicle } from '../../user_organisation_service-KwfWBPXf.js';
|
|
5
5
|
import '../../zod_utils/zod_base_schema.js';
|
|
6
6
|
import '../master/main/master_main_sim_provider_service.js';
|
|
7
7
|
|
|
@@ -179,28 +179,28 @@ declare const OrganisationReportPreferenceSchema: z.ZodObject<{
|
|
|
179
179
|
vehicle_ids: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
180
180
|
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
181
181
|
}, "strip", z.ZodTypeAny, {
|
|
182
|
-
mobile_numbers: string;
|
|
183
|
-
email_ids: string;
|
|
184
|
-
cc_email_ids: string;
|
|
185
|
-
all_vehicles: YesNo;
|
|
186
182
|
status: Status;
|
|
187
183
|
organisation_id: string;
|
|
188
184
|
vehicle_ids: string[];
|
|
185
|
+
all_vehicles: YesNo;
|
|
186
|
+
mobile_numbers: string;
|
|
187
|
+
email_ids: string;
|
|
188
|
+
cc_email_ids: string;
|
|
189
189
|
report_name: string;
|
|
190
190
|
report_status: OnOff;
|
|
191
191
|
report_types: ReportType[];
|
|
192
192
|
report_list: ReportList[];
|
|
193
193
|
report_channels: ReportChannel.Email[];
|
|
194
194
|
}, {
|
|
195
|
-
all_vehicles: YesNo;
|
|
196
195
|
status: Status;
|
|
197
196
|
organisation_id: string;
|
|
197
|
+
all_vehicles: YesNo;
|
|
198
198
|
report_name: string;
|
|
199
199
|
report_status: OnOff;
|
|
200
|
+
vehicle_ids?: string[] | undefined;
|
|
200
201
|
mobile_numbers?: string | undefined;
|
|
201
202
|
email_ids?: string | undefined;
|
|
202
203
|
cc_email_ids?: string | undefined;
|
|
203
|
-
vehicle_ids?: string[] | undefined;
|
|
204
204
|
report_types?: ReportType[] | undefined;
|
|
205
205
|
report_list?: ReportList[] | undefined;
|
|
206
206
|
report_channels?: ReportChannel.Email[] | undefined;
|
|
@@ -2,6 +2,6 @@ import '../../core/Enums.js';
|
|
|
2
2
|
import '../../core/BaseResponse.js';
|
|
3
3
|
import 'zod';
|
|
4
4
|
import '../../zod_utils/zod_base_schema.js';
|
|
5
|
-
import '../../user_organisation_service-
|
|
5
|
+
import '../../user_organisation_service-KwfWBPXf.js';
|
|
6
6
|
export { T as Ticket, e as TicketDTO, a as TicketFile, c as TicketFileDTO, b as TicketFileSchema, i as TicketQueryDTO, h as TicketQuerySchema, d as TicketSchema, g as TicketVerifyDTO, f as TicketVerifySchema, l as createTicket, q as createTicketFile, o as deleteTicket, k as findTickets, p as getTicketFilePresignedUrl, n as newTicketPayload, r as removeTicketFile, t as toTicketPayload, j as toVerifyTicketPayload, u as updateTicket, m as updateVerifyStatus } from '../main/users/user_admin_service.js';
|
|
7
7
|
import '../master/main/master_main_sim_provider_service.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { BusStopType, GeofenceType, Status, PAGING, LoadParents, LoadChild, LoadChildCount, OrderBy, YesNo } from '../../../core/Enums.js';
|
|
2
2
|
import { FBR, SBR } from '../../../core/BaseResponse.js';
|
|
3
3
|
import { z } from 'zod';
|
|
4
|
-
import { U as UserOrganisation, O as OrganisationBranch } from '../../../user_organisation_service-
|
|
4
|
+
import { U as UserOrganisation, O as OrganisationBranch } from '../../../user_organisation_service-KwfWBPXf.js';
|
|
5
5
|
import '../../../zod_utils/zod_base_schema.js';
|
|
6
6
|
import '../../master/main/master_main_sim_provider_service.js';
|
|
7
7
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { HolidayType, Status, PAGING, LoadParents, LoadChild, LoadChildCount, OrderBy, YesNo } from '../../../core/Enums.js';
|
|
2
2
|
import { FBR, SBR } from '../../../core/BaseResponse.js';
|
|
3
3
|
import { z } from 'zod';
|
|
4
|
-
import { U as UserOrganisation, O as OrganisationBranch } from '../../../user_organisation_service-
|
|
4
|
+
import { U as UserOrganisation, O as OrganisationBranch } from '../../../user_organisation_service-KwfWBPXf.js';
|
|
5
5
|
import '../../../zod_utils/zod_base_schema.js';
|
|
6
6
|
import '../../master/main/master_main_sim_provider_service.js';
|
|
7
7
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Status, BusLeg, YesNo, PAGING, LoadParents, LoadChild, LoadChildCount, OrderBy } from '../../../core/Enums.js';
|
|
2
2
|
import { FBR, SBR } from '../../../core/BaseResponse.js';
|
|
3
3
|
import { z } from 'zod';
|
|
4
|
-
import { U as UserOrganisation, O as OrganisationBranch, M as MasterVehicle, b as MasterDriver } from '../../../user_organisation_service-
|
|
4
|
+
import { U as UserOrganisation, O as OrganisationBranch, M as MasterVehicle, b as MasterDriver } from '../../../user_organisation_service-KwfWBPXf.js';
|
|
5
5
|
import { BusStop } from './bus_stop.js';
|
|
6
6
|
import { Student } from './student.js';
|
|
7
7
|
import '../../../zod_utils/zod_base_schema.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Status, PAGING, LoadParents, LoadChild, LoadChildCount, OrderBy, YesNo } from '../../../core/Enums.js';
|
|
2
2
|
import { FBR, SBR } from '../../../core/BaseResponse.js';
|
|
3
3
|
import { z } from 'zod';
|
|
4
|
-
import { U as UserOrganisation, O as OrganisationBranch } from '../../../user_organisation_service-
|
|
4
|
+
import { U as UserOrganisation, O as OrganisationBranch } from '../../../user_organisation_service-KwfWBPXf.js';
|
|
5
5
|
import '../../../zod_utils/zod_base_schema.js';
|
|
6
6
|
import '../../master/main/master_main_sim_provider_service.js';
|
|
7
7
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { EnrollmentStatus, TransportPlanType, Status, YesNo, StudentLeaveType, ApprovalStatus, PAGING, LoadParents, LoadChild, LoadChildCount, OrderBy } from '../../../core/Enums.js';
|
|
2
2
|
import { FBR, SBR } from '../../../core/BaseResponse.js';
|
|
3
3
|
import { z } from 'zod';
|
|
4
|
-
import { U as UserOrganisation, O as OrganisationBranch } from '../../../user_organisation_service-
|
|
4
|
+
import { U as UserOrganisation, O as OrganisationBranch } from '../../../user_organisation_service-KwfWBPXf.js';
|
|
5
5
|
import { MasterClass } from '../../master/bus/master_class_service.js';
|
|
6
6
|
import { MasterProgram } from '../../master/bus/master_program_service.js';
|
|
7
7
|
import { MasterSection } from '../../master/bus/master_section_service.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Status, PAGING, LoadParents, LoadChild, LoadChildCount, OrderBy, YesNo } from '../../../core/Enums.js';
|
|
2
2
|
import { FBR, SBR } from '../../../core/BaseResponse.js';
|
|
3
3
|
import { z } from 'zod';
|
|
4
|
-
import { U as UserOrganisation, a as User, M as MasterVehicle, b as MasterDriver, c as MasterDevice } from '../../../user_organisation_service-
|
|
4
|
+
import { U as UserOrganisation, a as User, M as MasterVehicle, b as MasterDriver, c as MasterDevice } from '../../../user_organisation_service-KwfWBPXf.js';
|
|
5
5
|
import { FuelConsumptionMonthly } from '../../gps/reports/gps_models/FuelConsumptionMonthly.js';
|
|
6
6
|
import '../../../zod_utils/zod_base_schema.js';
|
|
7
7
|
import '../../master/main/master_main_sim_provider_service.js';
|
|
@@ -59,23 +59,23 @@ declare const FleetFuelDailySummarySchema: z.ZodObject<{
|
|
|
59
59
|
liters_per_100km: z.ZodEffects<z.ZodDefault<z.ZodNumber>, number, unknown>;
|
|
60
60
|
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
61
61
|
}, "strip", z.ZodTypeAny, {
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
organisation_id: string;
|
|
65
|
-
user_id: string;
|
|
66
|
-
vehicle_id: string;
|
|
67
|
-
driver_id: string;
|
|
68
|
-
device_id: string;
|
|
62
|
+
start_fuel_liters: number;
|
|
63
|
+
end_fuel_liters: number;
|
|
69
64
|
total_km: number;
|
|
70
65
|
consumed_fuel_liters: number;
|
|
71
66
|
refills_count: number;
|
|
72
|
-
start_fuel_liters: number;
|
|
73
|
-
end_fuel_liters: number;
|
|
74
67
|
refill_liters: number;
|
|
75
68
|
removals_count: number;
|
|
76
69
|
removal_liters: number;
|
|
77
70
|
mileage_kmpl: number;
|
|
78
71
|
liters_per_100km: number;
|
|
72
|
+
date: string;
|
|
73
|
+
status: Status;
|
|
74
|
+
organisation_id: string;
|
|
75
|
+
user_id: string;
|
|
76
|
+
vehicle_id: string;
|
|
77
|
+
driver_id: string;
|
|
78
|
+
device_id: string;
|
|
79
79
|
}, {
|
|
80
80
|
date: string;
|
|
81
81
|
status: Status;
|
|
@@ -84,11 +84,11 @@ declare const FleetFuelDailySummarySchema: z.ZodObject<{
|
|
|
84
84
|
vehicle_id: string;
|
|
85
85
|
driver_id: string;
|
|
86
86
|
device_id: string;
|
|
87
|
+
start_fuel_liters?: unknown;
|
|
88
|
+
end_fuel_liters?: unknown;
|
|
87
89
|
total_km?: unknown;
|
|
88
90
|
consumed_fuel_liters?: unknown;
|
|
89
91
|
refills_count?: unknown;
|
|
90
|
-
start_fuel_liters?: unknown;
|
|
91
|
-
end_fuel_liters?: unknown;
|
|
92
92
|
refill_liters?: unknown;
|
|
93
93
|
removals_count?: unknown;
|
|
94
94
|
removal_liters?: unknown;
|
|
@@ -139,7 +139,6 @@ declare const FleetFuelDailySummaryQuerySchema: z.ZodObject<{
|
|
|
139
139
|
to_date: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
140
140
|
}, "strip", z.ZodTypeAny, {
|
|
141
141
|
status: Status[];
|
|
142
|
-
time_zone_id: string;
|
|
143
142
|
search: string;
|
|
144
143
|
paging: PAGING;
|
|
145
144
|
page_count: number;
|
|
@@ -159,19 +158,20 @@ declare const FleetFuelDailySummaryQuerySchema: z.ZodObject<{
|
|
|
159
158
|
}[];
|
|
160
159
|
include_master_data: YesNo;
|
|
161
160
|
date_format_id: string;
|
|
161
|
+
time_zone_id: string;
|
|
162
|
+
fleet_fuel_daily_summary_ids: string[];
|
|
162
163
|
organisation_ids: string[];
|
|
163
164
|
user_ids: string[];
|
|
164
165
|
vehicle_ids: string[];
|
|
165
166
|
driver_ids: string[];
|
|
166
167
|
device_ids: string[];
|
|
167
|
-
from_date: string;
|
|
168
|
-
to_date: string;
|
|
169
|
-
fleet_fuel_daily_summary_ids: string[];
|
|
170
168
|
vehicle_summary: YesNo;
|
|
171
169
|
day_summary: YesNo;
|
|
170
|
+
from_date: string;
|
|
171
|
+
to_date: string;
|
|
172
172
|
}, {
|
|
173
|
-
time_zone_id: string;
|
|
174
173
|
date_format_id: string;
|
|
174
|
+
time_zone_id: string;
|
|
175
175
|
from_date: string;
|
|
176
176
|
to_date: string;
|
|
177
177
|
status?: Status[] | undefined;
|
|
@@ -193,12 +193,12 @@ declare const FleetFuelDailySummaryQuerySchema: z.ZodObject<{
|
|
|
193
193
|
direction: OrderBy;
|
|
194
194
|
}[] | undefined;
|
|
195
195
|
include_master_data?: YesNo | undefined;
|
|
196
|
+
fleet_fuel_daily_summary_ids?: string[] | undefined;
|
|
196
197
|
organisation_ids?: string[] | undefined;
|
|
197
198
|
user_ids?: string[] | undefined;
|
|
198
199
|
vehicle_ids?: string[] | undefined;
|
|
199
200
|
driver_ids?: string[] | undefined;
|
|
200
201
|
device_ids?: string[] | undefined;
|
|
201
|
-
fleet_fuel_daily_summary_ids?: string[] | undefined;
|
|
202
202
|
vehicle_summary?: YesNo | undefined;
|
|
203
203
|
day_summary?: YesNo | undefined;
|
|
204
204
|
}>;
|
|
@@ -240,7 +240,6 @@ declare const FleetFuelDailyMonthlySummaryQuerySchema: z.ZodObject<{
|
|
|
240
240
|
to_date: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
241
241
|
}, "strip", z.ZodTypeAny, {
|
|
242
242
|
status: Status[];
|
|
243
|
-
time_zone_id: string;
|
|
244
243
|
search: string;
|
|
245
244
|
paging: PAGING;
|
|
246
245
|
page_count: number;
|
|
@@ -260,13 +259,14 @@ declare const FleetFuelDailyMonthlySummaryQuerySchema: z.ZodObject<{
|
|
|
260
259
|
}[];
|
|
261
260
|
include_master_data: YesNo;
|
|
262
261
|
date_format_id: string;
|
|
262
|
+
time_zone_id: string;
|
|
263
263
|
organisation_ids: string[];
|
|
264
264
|
vehicle_ids: string[];
|
|
265
265
|
from_date: string;
|
|
266
266
|
to_date: string;
|
|
267
267
|
}, {
|
|
268
|
-
time_zone_id: string;
|
|
269
268
|
date_format_id: string;
|
|
269
|
+
time_zone_id: string;
|
|
270
270
|
from_date: string;
|
|
271
271
|
to_date: string;
|
|
272
272
|
status?: Status[] | undefined;
|