vms-nest-prisma-api-document 216.0.0 → 218.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 +43 -1
- package/dist/core/Enums.js +50 -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 +3 -3
- 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 +23 -23
- package/dist/services/fleet/bus_mangement/calender.d.ts +7 -7
- 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 +24 -24
- 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 +47 -48
- package/dist/services/fleet/fuel_management/fleet_fuel_removal_service.d.ts +30 -31
- package/dist/services/fleet/incident_management/incident_management_service.d.ts +597 -0
- package/dist/services/fleet/incident_management/incident_management_service.js +734 -0
- package/dist/services/fleet/issue_management/issue_management_service.d.ts +54 -50
- package/dist/services/fleet/issue_management/issue_management_service.js +90 -87
- package/dist/services/fleet/vendor_management/fleet_vendor_fuel_station.d.ts +4 -288
- package/dist/services/fleet/vendor_management/fleet_vendor_fuel_station.js +66 -2
- package/dist/services/fleet/vendor_management/fleet_vendor_service.d.ts +5 -1219
- package/dist/services/fleet/vendor_management/fleet_vendor_service.js +63 -52
- package/dist/services/fleet/vendor_management/fleet_vendor_service_center.d.ts +4 -312
- package/dist/services/fleet/vendor_management/fleet_vendor_service_center.js +5 -2
- package/dist/services/gps/features/geofence/gps_geofence_service.d.ts +5 -5
- 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 +5 -5
- package/dist/services/gps/features/gps_track_history_share_link_service.d.ts +8 -8
- 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 +22 -22
- 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 +108 -47
- 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 +3 -3
- package/dist/services/master/expense/master_fuel_company_service.d.ts +4 -140
- package/dist/services/master/expense/master_vendor_document_type_service.d.ts +4 -124
- package/dist/services/master/expense/master_vendor_tag_service.d.ts +4 -124
- package/dist/services/master/expense/master_vendor_type_service.d.ts +4 -124
- 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 +3 -3
- 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 +4 -158
- 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 +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 +3 -3
- 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-C186BM9A.d.ts → user_organisation_service-BE5iA8UK.d.ts} +4913 -2364
- package/package.json +1 -1
package/dist/core/Enums.d.ts
CHANGED
|
@@ -723,5 +723,47 @@ declare enum FleetVendorAddressLabel {
|
|
|
723
723
|
WORKSHOP = "WORKSHOP",
|
|
724
724
|
OTHER = "OTHER"
|
|
725
725
|
}
|
|
726
|
+
declare enum IncidentTime {
|
|
727
|
+
EarlyMorning = "EarlyMorning",
|
|
728
|
+
Morning = "Morning",
|
|
729
|
+
Afternoon = "Afternoon",
|
|
730
|
+
Evening = "Evening",
|
|
731
|
+
Night = "Night",
|
|
732
|
+
Unknown = "Unknown"
|
|
733
|
+
}
|
|
734
|
+
declare enum IncidentWeather {
|
|
735
|
+
Clear = "Clear",
|
|
736
|
+
Cloudy = "Cloudy",
|
|
737
|
+
Rainy = "Rainy",
|
|
738
|
+
Stormy = "Stormy",
|
|
739
|
+
Foggy = "Foggy",
|
|
740
|
+
Snowy = "Snowy",
|
|
741
|
+
Hail = "Hail",
|
|
742
|
+
Windy = "Windy",
|
|
743
|
+
Other = "Other",
|
|
744
|
+
Unknown = "Unknown"
|
|
745
|
+
}
|
|
746
|
+
declare enum IncidentRoadType {
|
|
747
|
+
Highway = "Highway",
|
|
748
|
+
CityStreet = "CityStreet",
|
|
749
|
+
RuralRoad = "RuralRoad",
|
|
750
|
+
MountainRoad = "MountainRoad",
|
|
751
|
+
ConstructionZone = "ConstructionZone",
|
|
752
|
+
Alley = "Alley",
|
|
753
|
+
Expressway = "Expressway",
|
|
754
|
+
DirtRoad = "DirtRoad",
|
|
755
|
+
Tunnel = "Tunnel",
|
|
756
|
+
Bridge = "Bridge",
|
|
757
|
+
Other = "Other",
|
|
758
|
+
Unknown = "Unknown"
|
|
759
|
+
}
|
|
760
|
+
declare enum IncidentVisibility {
|
|
761
|
+
Excellent = "Excellent",
|
|
762
|
+
Good = "Good",
|
|
763
|
+
Moderate = "Moderate",
|
|
764
|
+
Poor = "Poor",
|
|
765
|
+
VeryPoor = "VeryPoor",
|
|
766
|
+
Unknown = "Unknown"
|
|
767
|
+
}
|
|
726
768
|
|
|
727
|
-
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, 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, ServiceType, ShareChannel, SimStatus, Status, SteeringType, StockType, StudentLeaveType, TicketStatus, TimeSlot, TrackHistoryLinkStatus, TransportPlanType, TyreStatus, VehicleLifeStatus, VerifyStatus, WheelDriveType, YesNo };
|
|
769
|
+
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, ServiceType, ShareChannel, SimStatus, Status, SteeringType, StockType, StudentLeaveType, TicketStatus, TimeSlot, TrackHistoryLinkStatus, TransportPlanType, TyreStatus, VehicleLifeStatus, VerifyStatus, WheelDriveType, YesNo };
|
package/dist/core/Enums.js
CHANGED
|
@@ -815,6 +815,52 @@ var FleetVendorAddressLabel = /* @__PURE__ */ ((FleetVendorAddressLabel2) => {
|
|
|
815
815
|
FleetVendorAddressLabel2["OTHER"] = "OTHER";
|
|
816
816
|
return FleetVendorAddressLabel2;
|
|
817
817
|
})(FleetVendorAddressLabel || {});
|
|
818
|
+
var IncidentTime = /* @__PURE__ */ ((IncidentTime2) => {
|
|
819
|
+
IncidentTime2["EarlyMorning"] = "EarlyMorning";
|
|
820
|
+
IncidentTime2["Morning"] = "Morning";
|
|
821
|
+
IncidentTime2["Afternoon"] = "Afternoon";
|
|
822
|
+
IncidentTime2["Evening"] = "Evening";
|
|
823
|
+
IncidentTime2["Night"] = "Night";
|
|
824
|
+
IncidentTime2["Unknown"] = "Unknown";
|
|
825
|
+
return IncidentTime2;
|
|
826
|
+
})(IncidentTime || {});
|
|
827
|
+
var IncidentWeather = /* @__PURE__ */ ((IncidentWeather2) => {
|
|
828
|
+
IncidentWeather2["Clear"] = "Clear";
|
|
829
|
+
IncidentWeather2["Cloudy"] = "Cloudy";
|
|
830
|
+
IncidentWeather2["Rainy"] = "Rainy";
|
|
831
|
+
IncidentWeather2["Stormy"] = "Stormy";
|
|
832
|
+
IncidentWeather2["Foggy"] = "Foggy";
|
|
833
|
+
IncidentWeather2["Snowy"] = "Snowy";
|
|
834
|
+
IncidentWeather2["Hail"] = "Hail";
|
|
835
|
+
IncidentWeather2["Windy"] = "Windy";
|
|
836
|
+
IncidentWeather2["Other"] = "Other";
|
|
837
|
+
IncidentWeather2["Unknown"] = "Unknown";
|
|
838
|
+
return IncidentWeather2;
|
|
839
|
+
})(IncidentWeather || {});
|
|
840
|
+
var IncidentRoadType = /* @__PURE__ */ ((IncidentRoadType2) => {
|
|
841
|
+
IncidentRoadType2["Highway"] = "Highway";
|
|
842
|
+
IncidentRoadType2["CityStreet"] = "CityStreet";
|
|
843
|
+
IncidentRoadType2["RuralRoad"] = "RuralRoad";
|
|
844
|
+
IncidentRoadType2["MountainRoad"] = "MountainRoad";
|
|
845
|
+
IncidentRoadType2["ConstructionZone"] = "ConstructionZone";
|
|
846
|
+
IncidentRoadType2["Alley"] = "Alley";
|
|
847
|
+
IncidentRoadType2["Expressway"] = "Expressway";
|
|
848
|
+
IncidentRoadType2["DirtRoad"] = "DirtRoad";
|
|
849
|
+
IncidentRoadType2["Tunnel"] = "Tunnel";
|
|
850
|
+
IncidentRoadType2["Bridge"] = "Bridge";
|
|
851
|
+
IncidentRoadType2["Other"] = "Other";
|
|
852
|
+
IncidentRoadType2["Unknown"] = "Unknown";
|
|
853
|
+
return IncidentRoadType2;
|
|
854
|
+
})(IncidentRoadType || {});
|
|
855
|
+
var IncidentVisibility = /* @__PURE__ */ ((IncidentVisibility2) => {
|
|
856
|
+
IncidentVisibility2["Excellent"] = "Excellent";
|
|
857
|
+
IncidentVisibility2["Good"] = "Good";
|
|
858
|
+
IncidentVisibility2["Moderate"] = "Moderate";
|
|
859
|
+
IncidentVisibility2["Poor"] = "Poor";
|
|
860
|
+
IncidentVisibility2["VeryPoor"] = "VeryPoor";
|
|
861
|
+
IncidentVisibility2["Unknown"] = "Unknown";
|
|
862
|
+
return IncidentVisibility2;
|
|
863
|
+
})(IncidentVisibility || {});
|
|
818
864
|
export {
|
|
819
865
|
AdminRole,
|
|
820
866
|
AlertSubType,
|
|
@@ -845,6 +891,10 @@ export {
|
|
|
845
891
|
GeofenceStatusType,
|
|
846
892
|
GeofenceType,
|
|
847
893
|
HolidayType,
|
|
894
|
+
IncidentRoadType,
|
|
895
|
+
IncidentTime,
|
|
896
|
+
IncidentVisibility,
|
|
897
|
+
IncidentWeather,
|
|
848
898
|
InspectionActionStatus,
|
|
849
899
|
InspectionStatus,
|
|
850
900
|
InspectionType,
|
|
@@ -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-BE5iA8UK.js';
|
|
5
5
|
import '../../zod_utils/zod_base_schema.js';
|
|
6
6
|
import '../master/main/master_main_sim_provider_service.js';
|
|
7
7
|
|
|
@@ -106,6 +106,7 @@ declare const BookMarkQuerySchema: z.ZodObject<{
|
|
|
106
106
|
menu_type: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof MenuType>, "many">>>;
|
|
107
107
|
}, "strip", z.ZodTypeAny, {
|
|
108
108
|
status: Status[];
|
|
109
|
+
user_ids: string[];
|
|
109
110
|
search: string;
|
|
110
111
|
paging: PAGING;
|
|
111
112
|
page_count: number;
|
|
@@ -127,13 +128,13 @@ declare const BookMarkQuerySchema: z.ZodObject<{
|
|
|
127
128
|
date_format_id: string;
|
|
128
129
|
time_zone_id: string;
|
|
129
130
|
organisation_ids: string[];
|
|
130
|
-
user_ids: string[];
|
|
131
131
|
menu_type: MenuType[];
|
|
132
132
|
bookmark_ids: string[];
|
|
133
133
|
}, {
|
|
134
134
|
date_format_id: string;
|
|
135
135
|
time_zone_id: string;
|
|
136
136
|
status?: Status[] | undefined;
|
|
137
|
+
user_ids?: string[] | undefined;
|
|
137
138
|
search?: string | undefined;
|
|
138
139
|
paging?: PAGING | undefined;
|
|
139
140
|
page_count?: unknown;
|
|
@@ -153,7 +154,6 @@ declare const BookMarkQuerySchema: z.ZodObject<{
|
|
|
153
154
|
}[] | undefined;
|
|
154
155
|
include_master_data?: YesNo | undefined;
|
|
155
156
|
organisation_ids?: string[] | undefined;
|
|
156
|
-
user_ids?: string[] | undefined;
|
|
157
157
|
menu_type?: MenuType[] | undefined;
|
|
158
158
|
bookmark_ids?: string[] | undefined;
|
|
159
159
|
}>;
|
|
@@ -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-BE5iA8UK.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,12 +85,6 @@ 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[];
|
|
94
88
|
notification_name: string;
|
|
95
89
|
notification_status: OnOff;
|
|
96
90
|
notification_channels: NotificationChannel[];
|
|
@@ -101,23 +95,29 @@ declare const OrganisationNotificationPreferenceSchema: z.ZodObject<{
|
|
|
101
95
|
notification_list: NotificationList[];
|
|
102
96
|
over_speed_limit: number;
|
|
103
97
|
all_geofences: YesNo;
|
|
104
|
-
|
|
98
|
+
all_vehicles: YesNo;
|
|
105
99
|
status: Status;
|
|
106
100
|
organisation_id: string;
|
|
107
|
-
|
|
101
|
+
user_ids: string[];
|
|
102
|
+
gps_geofence_ids: string[];
|
|
103
|
+
vehicle_ids: string[];
|
|
104
|
+
}, {
|
|
108
105
|
notification_name: string;
|
|
109
106
|
notification_status: OnOff;
|
|
110
107
|
all_users: YesNo;
|
|
111
108
|
all_geofences: YesNo;
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
109
|
+
all_vehicles: YesNo;
|
|
110
|
+
status: Status;
|
|
111
|
+
organisation_id: string;
|
|
115
112
|
notification_channels?: NotificationChannel[] | undefined;
|
|
116
113
|
mobile_numbers?: string | undefined;
|
|
117
114
|
email_ids?: string | undefined;
|
|
118
115
|
cc_email_ids?: string | undefined;
|
|
119
116
|
notification_list?: NotificationList[] | undefined;
|
|
120
117
|
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,6 +157,9 @@ 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[];
|
|
160
163
|
status: Status[];
|
|
161
164
|
search: string;
|
|
162
165
|
paging: PAGING;
|
|
@@ -179,13 +182,13 @@ declare const OrganisationNotificationPreferenceQuerySchema: z.ZodObject<{
|
|
|
179
182
|
date_format_id: string;
|
|
180
183
|
time_zone_id: string;
|
|
181
184
|
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;
|
|
189
192
|
status?: Status[] | undefined;
|
|
190
193
|
search?: string | undefined;
|
|
191
194
|
paging?: PAGING | undefined;
|
|
@@ -206,9 +209,6 @@ declare const OrganisationNotificationPreferenceQuerySchema: z.ZodObject<{
|
|
|
206
209
|
}[] | undefined;
|
|
207
210
|
include_master_data?: YesNo | undefined;
|
|
208
211
|
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-BE5iA8UK.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
|
-
status: Status;
|
|
183
|
-
organisation_id: string;
|
|
184
|
-
vehicle_ids: string[];
|
|
185
|
-
all_vehicles: YesNo;
|
|
186
182
|
mobile_numbers: string;
|
|
187
183
|
email_ids: string;
|
|
188
184
|
cc_email_ids: string;
|
|
185
|
+
all_vehicles: YesNo;
|
|
186
|
+
status: Status;
|
|
187
|
+
organisation_id: string;
|
|
188
|
+
vehicle_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;
|
|
195
196
|
status: Status;
|
|
196
197
|
organisation_id: string;
|
|
197
|
-
all_vehicles: YesNo;
|
|
198
198
|
report_name: string;
|
|
199
199
|
report_status: OnOff;
|
|
200
|
-
vehicle_ids?: string[] | undefined;
|
|
201
200
|
mobile_numbers?: string | undefined;
|
|
202
201
|
email_ids?: string | undefined;
|
|
203
202
|
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-BE5iA8UK.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-BE5iA8UK.js';
|
|
5
5
|
import '../../../zod_utils/zod_base_schema.js';
|
|
6
6
|
import '../../master/main/master_main_sim_provider_service.js';
|
|
7
7
|
|
|
@@ -89,11 +89,11 @@ declare const BusStopSchema: z.ZodObject<{
|
|
|
89
89
|
}>, "many">>>;
|
|
90
90
|
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
91
91
|
}, "strip", z.ZodTypeAny, {
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
92
|
+
status: Status;
|
|
93
|
+
organisation_id: string;
|
|
94
|
+
organisation_branch_id: string;
|
|
95
|
+
country_code: string;
|
|
96
|
+
google_location: string;
|
|
97
97
|
address_line1: string;
|
|
98
98
|
address_line2: string;
|
|
99
99
|
locality_landmark: string;
|
|
@@ -103,30 +103,29 @@ declare const BusStopSchema: z.ZodObject<{
|
|
|
103
103
|
state_province_region: string;
|
|
104
104
|
postal_code: string;
|
|
105
105
|
country: string;
|
|
106
|
-
|
|
107
|
-
|
|
106
|
+
stop_name: string;
|
|
107
|
+
stop_code: string;
|
|
108
|
+
stop_type: BusStopType;
|
|
109
|
+
stop_description: string;
|
|
110
|
+
stop_duration_seconds: number;
|
|
108
111
|
geofence_type: GeofenceType;
|
|
109
112
|
polygon_data: {
|
|
110
113
|
latitude: number;
|
|
111
114
|
longitude: number;
|
|
112
115
|
}[];
|
|
113
|
-
status: Status;
|
|
114
|
-
organisation_id: string;
|
|
115
|
-
organisation_branch_id: string;
|
|
116
116
|
stop_latitude?: number | undefined;
|
|
117
117
|
stop_longitude?: number | undefined;
|
|
118
118
|
radius_meters?: number | undefined;
|
|
119
119
|
radius_km?: number | undefined;
|
|
120
120
|
}, {
|
|
121
|
-
stop_name: string;
|
|
122
|
-
stop_type: BusStopType;
|
|
123
|
-
geofence_type: GeofenceType;
|
|
124
121
|
status: Status;
|
|
125
122
|
organisation_id: string;
|
|
126
123
|
organisation_branch_id: string;
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
124
|
+
stop_name: string;
|
|
125
|
+
stop_type: BusStopType;
|
|
126
|
+
geofence_type: GeofenceType;
|
|
127
|
+
country_code?: string | undefined;
|
|
128
|
+
google_location?: string | undefined;
|
|
130
129
|
address_line1?: string | undefined;
|
|
131
130
|
address_line2?: string | undefined;
|
|
132
131
|
locality_landmark?: string | undefined;
|
|
@@ -136,8 +135,9 @@ declare const BusStopSchema: z.ZodObject<{
|
|
|
136
135
|
state_province_region?: string | undefined;
|
|
137
136
|
postal_code?: string | undefined;
|
|
138
137
|
country?: string | undefined;
|
|
139
|
-
|
|
140
|
-
|
|
138
|
+
stop_code?: string | undefined;
|
|
139
|
+
stop_description?: string | undefined;
|
|
140
|
+
stop_duration_seconds?: unknown;
|
|
141
141
|
stop_latitude?: unknown;
|
|
142
142
|
stop_longitude?: unknown;
|
|
143
143
|
radius_meters?: unknown;
|
|
@@ -185,8 +185,6 @@ declare const BusStopQuerySchema: z.ZodObject<{
|
|
|
185
185
|
stop_type: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof BusStopType>, "many">>>;
|
|
186
186
|
geofence_type: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof GeofenceType>, "many">>>;
|
|
187
187
|
}, "strip", z.ZodTypeAny, {
|
|
188
|
-
stop_type: BusStopType[];
|
|
189
|
-
geofence_type: GeofenceType[];
|
|
190
188
|
status: Status[];
|
|
191
189
|
search: string;
|
|
192
190
|
paging: PAGING;
|
|
@@ -210,12 +208,12 @@ declare const BusStopQuerySchema: z.ZodObject<{
|
|
|
210
208
|
time_zone_id: string;
|
|
211
209
|
organisation_ids: string[];
|
|
212
210
|
organisation_branch_ids: string[];
|
|
211
|
+
stop_type: BusStopType[];
|
|
212
|
+
geofence_type: GeofenceType[];
|
|
213
213
|
bus_stop_ids: string[];
|
|
214
214
|
}, {
|
|
215
215
|
date_format_id: string;
|
|
216
216
|
time_zone_id: string;
|
|
217
|
-
stop_type?: BusStopType[] | undefined;
|
|
218
|
-
geofence_type?: GeofenceType[] | undefined;
|
|
219
217
|
status?: Status[] | undefined;
|
|
220
218
|
search?: string | undefined;
|
|
221
219
|
paging?: PAGING | undefined;
|
|
@@ -237,6 +235,8 @@ declare const BusStopQuerySchema: z.ZodObject<{
|
|
|
237
235
|
include_master_data?: YesNo | undefined;
|
|
238
236
|
organisation_ids?: string[] | undefined;
|
|
239
237
|
organisation_branch_ids?: string[] | undefined;
|
|
238
|
+
stop_type?: BusStopType[] | undefined;
|
|
239
|
+
geofence_type?: GeofenceType[] | undefined;
|
|
240
240
|
bus_stop_ids?: string[] | undefined;
|
|
241
241
|
}>;
|
|
242
242
|
type BusStopQueryDTO = z.infer<typeof BusStopQuerySchema>;
|
|
@@ -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-BE5iA8UK.js';
|
|
5
5
|
import '../../../zod_utils/zod_base_schema.js';
|
|
6
6
|
import '../../master/main/master_main_sim_provider_service.js';
|
|
7
7
|
|
|
@@ -29,20 +29,20 @@ declare const OrganisationCalendarSchema: z.ZodObject<{
|
|
|
29
29
|
notes: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
|
|
30
30
|
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
31
31
|
}, "strip", z.ZodTypeAny, {
|
|
32
|
-
status: Status;
|
|
33
|
-
organisation_id: string;
|
|
34
|
-
organisation_branch_id: string;
|
|
35
32
|
calendar_date: string;
|
|
36
33
|
holiday_type: HolidayType;
|
|
37
34
|
title: string;
|
|
38
35
|
notes: string;
|
|
39
|
-
}, {
|
|
40
36
|
status: Status;
|
|
41
37
|
organisation_id: string;
|
|
42
38
|
organisation_branch_id: string;
|
|
39
|
+
}, {
|
|
43
40
|
calendar_date: string;
|
|
44
41
|
holiday_type: HolidayType;
|
|
45
42
|
title: string;
|
|
43
|
+
status: Status;
|
|
44
|
+
organisation_id: string;
|
|
45
|
+
organisation_branch_id: string;
|
|
46
46
|
notes?: string | undefined;
|
|
47
47
|
}>;
|
|
48
48
|
type OrganisationCalendarDTO = z.infer<typeof OrganisationCalendarSchema>;
|
|
@@ -82,6 +82,7 @@ declare const OrganisationCalendarQuerySchema: z.ZodObject<{
|
|
|
82
82
|
calendar_ids: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
83
83
|
holiday_type: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof HolidayType>, "many">>>;
|
|
84
84
|
}, "strip", z.ZodTypeAny, {
|
|
85
|
+
holiday_type: HolidayType[];
|
|
85
86
|
status: Status[];
|
|
86
87
|
search: string;
|
|
87
88
|
paging: PAGING;
|
|
@@ -105,11 +106,11 @@ declare const OrganisationCalendarQuerySchema: z.ZodObject<{
|
|
|
105
106
|
time_zone_id: string;
|
|
106
107
|
organisation_ids: string[];
|
|
107
108
|
organisation_branch_ids: string[];
|
|
108
|
-
holiday_type: HolidayType[];
|
|
109
109
|
calendar_ids: string[];
|
|
110
110
|
}, {
|
|
111
111
|
date_format_id: string;
|
|
112
112
|
time_zone_id: string;
|
|
113
|
+
holiday_type?: HolidayType[] | undefined;
|
|
113
114
|
status?: Status[] | undefined;
|
|
114
115
|
search?: string | undefined;
|
|
115
116
|
paging?: PAGING | undefined;
|
|
@@ -131,7 +132,6 @@ declare const OrganisationCalendarQuerySchema: z.ZodObject<{
|
|
|
131
132
|
include_master_data?: YesNo | undefined;
|
|
132
133
|
organisation_ids?: string[] | undefined;
|
|
133
134
|
organisation_branch_ids?: string[] | undefined;
|
|
134
|
-
holiday_type?: HolidayType[] | undefined;
|
|
135
135
|
calendar_ids?: string[] | undefined;
|
|
136
136
|
}>;
|
|
137
137
|
type OrganisationCalendarQueryDTO = z.infer<typeof OrganisationCalendarQuerySchema>;
|
|
@@ -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-BE5iA8UK.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-BE5iA8UK.js';
|
|
5
5
|
import '../../../zod_utils/zod_base_schema.js';
|
|
6
6
|
import '../../master/main/master_main_sim_provider_service.js';
|
|
7
7
|
|