vms-nest-prisma-api-document 212.0.0 → 213.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 +5 -1
- package/dist/core/Enums.js +6 -0
- package/dist/services/account/analytics/user_login_analytics_service.d.ts +3 -3
- package/dist/services/account/analytics/user_page_analytics_service.d.ts +1 -1
- package/dist/services/account/bookmark_service.d.ts +9 -9
- package/dist/services/account/notification_preferences.service.d.ts +1 -1
- package/dist/services/account/report_preferences.service.d.ts +1 -1
- package/dist/services/account/ticket_service.d.ts +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 +17 -17
- package/dist/services/fleet/fuel_management/fleet_fuel_refill_service.d.ts +47 -47
- package/dist/services/fleet/fuel_management/fleet_fuel_removal_service.d.ts +30 -30
- package/dist/services/gps/features/geofence/gps_geofence_service.d.ts +1 -1
- package/dist/services/gps/features/geofence/gps_geofence_transaction_service.d.ts +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 +20 -20
- 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 +28 -0
- 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 +6 -6
- 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 +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 +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_industry_service.d.ts +1 -1
- package/dist/services/master/main/master_main_landmark_service.d.ts +5 -5
- package/dist/services/master/main/master_main_language_service.d.ts +1 -1
- package/dist/services/master/main/master_main_state_service.d.ts +1 -1
- package/dist/services/master/main/master_main_timezone_service.d.ts +1 -1
- package/dist/services/master/main/master_main_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 +9 -9
- 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 +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/services/website/contact_us_detail_service.d.ts +1 -1
- package/dist/services/website/faq_service.d.ts +1 -1
- package/dist/{user_organisation_service-DuOC_IdW.d.ts → user_organisation_service-NFqqAGYh.d.ts} +38 -24
- package/package.json +1 -1
package/dist/core/Enums.d.ts
CHANGED
|
@@ -83,6 +83,10 @@ declare enum YesNo {
|
|
|
83
83
|
Yes = "Yes",
|
|
84
84
|
No = "No"
|
|
85
85
|
}
|
|
86
|
+
declare enum FuelTankType {
|
|
87
|
+
SingleTank = "SingleTank",
|
|
88
|
+
DualTank = "DualTank"
|
|
89
|
+
}
|
|
86
90
|
declare enum OnOff {
|
|
87
91
|
On = "On",
|
|
88
92
|
Off = "Off"
|
|
@@ -713,4 +717,4 @@ declare enum ExpiryType {
|
|
|
713
717
|
Expired = "Expired"
|
|
714
718
|
}
|
|
715
719
|
|
|
716
|
-
export { AdminRole, AlertSubType, AlertType, ApprovalStatus, BillingStatus, BooleanType, BusLeg, BusStopType, DeviceStatus, DeviceType, DocumentStatus, DocumentType, DocumentValidityStatus, DoorSensorStatus, DriverType, EnrollmentStatus, ExpenseCategory, ExpiryType, FileType, FleetSize, 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 };
|
|
720
|
+
export { AdminRole, AlertSubType, AlertType, ApprovalStatus, BillingStatus, BooleanType, BusLeg, BusStopType, DeviceStatus, DeviceType, DocumentStatus, DocumentType, DocumentValidityStatus, DoorSensorStatus, DriverType, EnrollmentStatus, ExpenseCategory, ExpiryType, FileType, FleetSize, 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 };
|
package/dist/core/Enums.js
CHANGED
|
@@ -101,6 +101,11 @@ var YesNo = /* @__PURE__ */ ((YesNo2) => {
|
|
|
101
101
|
YesNo2["No"] = "No";
|
|
102
102
|
return YesNo2;
|
|
103
103
|
})(YesNo || {});
|
|
104
|
+
var FuelTankType = /* @__PURE__ */ ((FuelTankType2) => {
|
|
105
|
+
FuelTankType2["SingleTank"] = "SingleTank";
|
|
106
|
+
FuelTankType2["DualTank"] = "DualTank";
|
|
107
|
+
return FuelTankType2;
|
|
108
|
+
})(FuelTankType || {});
|
|
104
109
|
var OnOff = /* @__PURE__ */ ((OnOff2) => {
|
|
105
110
|
OnOff2["On"] = "On";
|
|
106
111
|
OnOff2["Off"] = "Off";
|
|
@@ -823,6 +828,7 @@ export {
|
|
|
823
828
|
ExpiryType,
|
|
824
829
|
FileType,
|
|
825
830
|
FleetSize,
|
|
831
|
+
FuelTankType,
|
|
826
832
|
GPSFuelApproveStatus,
|
|
827
833
|
GPSSource,
|
|
828
834
|
GPSType,
|
|
@@ -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-NFqqAGYh.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,6 +105,7 @@ 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
110
|
search: string;
|
|
110
111
|
paging: PAGING;
|
|
@@ -128,11 +129,11 @@ declare const BookMarkQuerySchema: z.ZodObject<{
|
|
|
128
129
|
time_zone_id: string;
|
|
129
130
|
organisation_ids: string[];
|
|
130
131
|
user_ids: string[];
|
|
131
|
-
menu_type: MenuType[];
|
|
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
138
|
search?: string | undefined;
|
|
138
139
|
paging?: PAGING | undefined;
|
|
@@ -154,7 +155,6 @@ declare const BookMarkQuerySchema: z.ZodObject<{
|
|
|
154
155
|
include_master_data?: YesNo | undefined;
|
|
155
156
|
organisation_ids?: string[] | undefined;
|
|
156
157
|
user_ids?: string[] | undefined;
|
|
157
|
-
menu_type?: MenuType[] | 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-NFqqAGYh.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';
|
|
@@ -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-NFqqAGYh.js';
|
|
5
5
|
import '../../zod_utils/zod_base_schema.js';
|
|
6
6
|
import '../master/main/master_main_sim_provider_service.js';
|
|
7
7
|
|
|
@@ -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-NFqqAGYh.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-NFqqAGYh.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-NFqqAGYh.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-NFqqAGYh.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-NFqqAGYh.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-NFqqAGYh.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-NFqqAGYh.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';
|
|
@@ -62,22 +62,22 @@ declare const FleetFuelDailySummarySchema: z.ZodObject<{
|
|
|
62
62
|
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
63
63
|
}, "strip", z.ZodTypeAny, {
|
|
64
64
|
date: string;
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
user_id: string;
|
|
68
|
-
vehicle_id: string;
|
|
69
|
-
driver_id: string;
|
|
70
|
-
device_id: string;
|
|
65
|
+
start_fuel_liters: number;
|
|
66
|
+
end_fuel_liters: number;
|
|
71
67
|
total_km: number;
|
|
72
68
|
consumed_fuel_liters: number;
|
|
73
69
|
refills_count: number;
|
|
74
|
-
start_fuel_liters: number;
|
|
75
|
-
end_fuel_liters: number;
|
|
76
70
|
refill_liters: number;
|
|
77
71
|
removals_count: number;
|
|
78
72
|
removal_liters: number;
|
|
79
73
|
mileage_kmpl: number;
|
|
80
74
|
liters_per_100km: number;
|
|
75
|
+
status: Status;
|
|
76
|
+
organisation_id: string;
|
|
77
|
+
user_id: string;
|
|
78
|
+
vehicle_id: string;
|
|
79
|
+
driver_id: string;
|
|
80
|
+
device_id: string;
|
|
81
81
|
}, {
|
|
82
82
|
date: string;
|
|
83
83
|
status: Status;
|
|
@@ -86,11 +86,11 @@ declare const FleetFuelDailySummarySchema: z.ZodObject<{
|
|
|
86
86
|
vehicle_id: string;
|
|
87
87
|
driver_id: string;
|
|
88
88
|
device_id: string;
|
|
89
|
+
start_fuel_liters?: unknown;
|
|
90
|
+
end_fuel_liters?: unknown;
|
|
89
91
|
total_km?: unknown;
|
|
90
92
|
consumed_fuel_liters?: unknown;
|
|
91
93
|
refills_count?: unknown;
|
|
92
|
-
start_fuel_liters?: unknown;
|
|
93
|
-
end_fuel_liters?: unknown;
|
|
94
94
|
refill_liters?: unknown;
|
|
95
95
|
removals_count?: unknown;
|
|
96
96
|
removal_liters?: unknown;
|
|
@@ -140,7 +140,6 @@ declare const FleetFuelDailySummaryQuerySchema: z.ZodObject<{
|
|
|
140
140
|
day_summary: z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof YesNo>>>;
|
|
141
141
|
}, "strip", z.ZodTypeAny, {
|
|
142
142
|
status: Status[];
|
|
143
|
-
time_zone_id: string;
|
|
144
143
|
search: string;
|
|
145
144
|
paging: PAGING;
|
|
146
145
|
page_count: number;
|
|
@@ -160,6 +159,7 @@ declare const FleetFuelDailySummaryQuerySchema: z.ZodObject<{
|
|
|
160
159
|
}[];
|
|
161
160
|
include_master_data: YesNo;
|
|
162
161
|
date_format_id: string;
|
|
162
|
+
time_zone_id: string;
|
|
163
163
|
organisation_ids: string[];
|
|
164
164
|
user_ids: string[];
|
|
165
165
|
vehicle_ids: string[];
|
|
@@ -170,8 +170,8 @@ declare const FleetFuelDailySummaryQuerySchema: z.ZodObject<{
|
|
|
170
170
|
vehicle_summary: YesNo;
|
|
171
171
|
day_summary: YesNo;
|
|
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;
|
|
@@ -239,7 +239,6 @@ declare const FleetFuelDailyMonthlySummaryQuerySchema: z.ZodObject<{
|
|
|
239
239
|
to_date: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
240
240
|
}, "strip", z.ZodTypeAny, {
|
|
241
241
|
status: Status[];
|
|
242
|
-
time_zone_id: string;
|
|
243
242
|
search: string;
|
|
244
243
|
paging: PAGING;
|
|
245
244
|
page_count: number;
|
|
@@ -259,13 +258,14 @@ declare const FleetFuelDailyMonthlySummaryQuerySchema: z.ZodObject<{
|
|
|
259
258
|
}[];
|
|
260
259
|
include_master_data: YesNo;
|
|
261
260
|
date_format_id: string;
|
|
261
|
+
time_zone_id: string;
|
|
262
262
|
organisation_ids: string[];
|
|
263
263
|
vehicle_ids: string[];
|
|
264
264
|
from_date: string;
|
|
265
265
|
to_date: string;
|
|
266
266
|
}, {
|
|
267
|
-
time_zone_id: string;
|
|
268
267
|
date_format_id: string;
|
|
268
|
+
time_zone_id: string;
|
|
269
269
|
from_date: string;
|
|
270
270
|
to_date: string;
|
|
271
271
|
status?: Status[] | undefined;
|
|
@@ -327,7 +327,6 @@ declare const AllVehiclesFuelDailySummaryQuerySchema: z.ZodObject<{
|
|
|
327
327
|
}, "strip", z.ZodTypeAny, {
|
|
328
328
|
date: string;
|
|
329
329
|
status: Status[];
|
|
330
|
-
time_zone_id: string;
|
|
331
330
|
search: string;
|
|
332
331
|
paging: PAGING;
|
|
333
332
|
page_count: number;
|
|
@@ -347,11 +346,12 @@ declare const AllVehiclesFuelDailySummaryQuerySchema: z.ZodObject<{
|
|
|
347
346
|
}[];
|
|
348
347
|
include_master_data: YesNo;
|
|
349
348
|
date_format_id: string;
|
|
349
|
+
time_zone_id: string;
|
|
350
350
|
organisation_utrack_id: string;
|
|
351
351
|
}, {
|
|
352
352
|
date: string;
|
|
353
|
-
time_zone_id: string;
|
|
354
353
|
date_format_id: string;
|
|
354
|
+
time_zone_id: string;
|
|
355
355
|
organisation_utrack_id: string;
|
|
356
356
|
status?: Status[] | undefined;
|
|
357
357
|
search?: string | undefined;
|
|
@@ -2,7 +2,7 @@ import { GPSFuelApproveStatus, RefillEntrySource, RefillMethod, PaymentMode, Pay
|
|
|
2
2
|
import { BaseCommonFile, FBR, SBR, BR, AWSPresignedUrl } from '../../../core/BaseResponse.js';
|
|
3
3
|
import { z } from 'zod';
|
|
4
4
|
import { FilePresignedUrlDTO } from '../../../zod_utils/zod_base_schema.js';
|
|
5
|
-
import { U as UserOrganisation, a as User, M as MasterVehicle, b as MasterDriver, c as MasterDevice, d as MasterVehicleFuelType, e as MasterVehicleFuelUnit } from '../../../user_organisation_service-
|
|
5
|
+
import { U as UserOrganisation, a as User, M as MasterVehicle, b as MasterDriver, c as MasterDevice, d as MasterVehicleFuelType, e as MasterVehicleFuelUnit } from '../../../user_organisation_service-NFqqAGYh.js';
|
|
6
6
|
import { MasterMainLandmark } from '../../master/main/master_main_landmark_service.js';
|
|
7
7
|
import '../../master/main/master_main_sim_provider_service.js';
|
|
8
8
|
|
|
@@ -101,7 +101,6 @@ declare const FleetFuelRefillFileSchema: z.ZodObject<{
|
|
|
101
101
|
organisation_id: z.ZodEffects<z.ZodString, string, string>;
|
|
102
102
|
fleet_fuel_refill_id: z.ZodEffects<z.ZodString, string, string>;
|
|
103
103
|
}, "strip", z.ZodTypeAny, {
|
|
104
|
-
fleet_fuel_refill_id: string;
|
|
105
104
|
status: Status;
|
|
106
105
|
organisation_id: string;
|
|
107
106
|
usage_type: string;
|
|
@@ -112,12 +111,13 @@ declare const FleetFuelRefillFileSchema: z.ZodObject<{
|
|
|
112
111
|
file_description: string;
|
|
113
112
|
file_size: number;
|
|
114
113
|
file_metadata: Record<string, any>;
|
|
115
|
-
}, {
|
|
116
114
|
fleet_fuel_refill_id: string;
|
|
115
|
+
}, {
|
|
117
116
|
status: Status;
|
|
118
117
|
organisation_id: string;
|
|
119
118
|
usage_type: string;
|
|
120
119
|
file_type: FileType;
|
|
120
|
+
fleet_fuel_refill_id: string;
|
|
121
121
|
file_url?: string | undefined;
|
|
122
122
|
file_key?: string | undefined;
|
|
123
123
|
file_name?: string | undefined;
|
|
@@ -181,7 +181,6 @@ declare const FleetFuelRefillSchema: z.ZodObject<{
|
|
|
181
181
|
organisation_id: z.ZodEffects<z.ZodString, string, string>;
|
|
182
182
|
fleet_fuel_refill_id: z.ZodEffects<z.ZodString, string, string>;
|
|
183
183
|
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
184
|
-
fleet_fuel_refill_id: string;
|
|
185
184
|
status: Status;
|
|
186
185
|
organisation_id: string;
|
|
187
186
|
usage_type: string;
|
|
@@ -192,12 +191,13 @@ declare const FleetFuelRefillSchema: z.ZodObject<{
|
|
|
192
191
|
file_description: string;
|
|
193
192
|
file_size: number;
|
|
194
193
|
file_metadata: Record<string, any>;
|
|
195
|
-
}, {
|
|
196
194
|
fleet_fuel_refill_id: string;
|
|
195
|
+
}, {
|
|
197
196
|
status: Status;
|
|
198
197
|
organisation_id: string;
|
|
199
198
|
usage_type: string;
|
|
200
199
|
file_type: FileType;
|
|
200
|
+
fleet_fuel_refill_id: string;
|
|
201
201
|
file_url?: string | undefined;
|
|
202
202
|
file_key?: string | undefined;
|
|
203
203
|
file_name?: string | undefined;
|
|
@@ -206,6 +206,18 @@ declare const FleetFuelRefillSchema: z.ZodObject<{
|
|
|
206
206
|
file_metadata?: Record<string, any> | undefined;
|
|
207
207
|
}>, "many">>>;
|
|
208
208
|
}, "strip", z.ZodTypeAny, {
|
|
209
|
+
status: Status;
|
|
210
|
+
organisation_id: string;
|
|
211
|
+
user_id: string;
|
|
212
|
+
vehicle_id: string;
|
|
213
|
+
driver_id: string;
|
|
214
|
+
device_id: string;
|
|
215
|
+
time_zone_id: string;
|
|
216
|
+
vehicle_fuel_type_id: string;
|
|
217
|
+
vehicle_fuel_unit_id: string;
|
|
218
|
+
odometer_reading: number;
|
|
219
|
+
vendor_id: string;
|
|
220
|
+
google_location: string;
|
|
209
221
|
date_time: string;
|
|
210
222
|
admin_verify_status: GPSFuelApproveStatus;
|
|
211
223
|
transporter_verify_status: GPSFuelApproveStatus;
|
|
@@ -221,23 +233,11 @@ declare const FleetFuelRefillSchema: z.ZodObject<{
|
|
|
221
233
|
payment_reference_number: string;
|
|
222
234
|
fuel_card_number: string;
|
|
223
235
|
payment_notes: string;
|
|
224
|
-
google_location: string;
|
|
225
|
-
odometer_reading: number;
|
|
226
236
|
tank_size: number;
|
|
227
237
|
is_full_tank: YesNo;
|
|
228
238
|
is_previous_entries_missed: YesNo;
|
|
229
|
-
status: Status;
|
|
230
|
-
organisation_id: string;
|
|
231
|
-
user_id: string;
|
|
232
|
-
vehicle_id: string;
|
|
233
|
-
driver_id: string;
|
|
234
|
-
device_id: string;
|
|
235
|
-
vendor_id: string;
|
|
236
239
|
fuel_station_id: string;
|
|
237
|
-
vehicle_fuel_type_id: string;
|
|
238
|
-
vehicle_fuel_unit_id: string;
|
|
239
240
|
FleetFuelRefillFile: {
|
|
240
|
-
fleet_fuel_refill_id: string;
|
|
241
241
|
status: Status;
|
|
242
242
|
organisation_id: string;
|
|
243
243
|
usage_type: string;
|
|
@@ -248,8 +248,10 @@ declare const FleetFuelRefillSchema: z.ZodObject<{
|
|
|
248
248
|
file_description: string;
|
|
249
249
|
file_size: number;
|
|
250
250
|
file_metadata: Record<string, any>;
|
|
251
|
+
fleet_fuel_refill_id: string;
|
|
251
252
|
}[];
|
|
252
|
-
|
|
253
|
+
latitude?: number | undefined;
|
|
254
|
+
longitude?: number | undefined;
|
|
253
255
|
before_refill_quantity?: number | undefined;
|
|
254
256
|
after_refill_quantity?: number | undefined;
|
|
255
257
|
refill_quantity?: number | undefined;
|
|
@@ -257,27 +259,29 @@ declare const FleetFuelRefillSchema: z.ZodObject<{
|
|
|
257
259
|
diff_refill_quantity?: number | undefined;
|
|
258
260
|
cost_per_unit?: number | undefined;
|
|
259
261
|
total_cost?: number | undefined;
|
|
260
|
-
latitude?: number | undefined;
|
|
261
|
-
longitude?: number | undefined;
|
|
262
262
|
}, {
|
|
263
|
-
date_time: string;
|
|
264
|
-
admin_verify_status: GPSFuelApproveStatus;
|
|
265
|
-
transporter_verify_status: GPSFuelApproveStatus;
|
|
266
|
-
payment_mode: PaymentMode;
|
|
267
|
-
payment_status: PaymentStatus;
|
|
268
|
-
is_full_tank: YesNo;
|
|
269
|
-
is_previous_entries_missed: YesNo;
|
|
270
263
|
status: Status;
|
|
271
264
|
organisation_id: string;
|
|
272
265
|
user_id: string;
|
|
273
266
|
vehicle_id: string;
|
|
274
267
|
driver_id: string;
|
|
275
268
|
device_id: string;
|
|
276
|
-
|
|
277
|
-
fuel_station_id: string;
|
|
269
|
+
time_zone_id: string;
|
|
278
270
|
vehicle_fuel_type_id: string;
|
|
279
271
|
vehicle_fuel_unit_id: string;
|
|
280
|
-
|
|
272
|
+
vendor_id: string;
|
|
273
|
+
date_time: string;
|
|
274
|
+
admin_verify_status: GPSFuelApproveStatus;
|
|
275
|
+
transporter_verify_status: GPSFuelApproveStatus;
|
|
276
|
+
payment_mode: PaymentMode;
|
|
277
|
+
payment_status: PaymentStatus;
|
|
278
|
+
is_full_tank: YesNo;
|
|
279
|
+
is_previous_entries_missed: YesNo;
|
|
280
|
+
fuel_station_id: string;
|
|
281
|
+
odometer_reading?: unknown;
|
|
282
|
+
latitude?: unknown;
|
|
283
|
+
longitude?: unknown;
|
|
284
|
+
google_location?: string | undefined;
|
|
281
285
|
before_refill_quantity?: unknown;
|
|
282
286
|
after_refill_quantity?: unknown;
|
|
283
287
|
refill_quantity?: unknown;
|
|
@@ -295,17 +299,13 @@ declare const FleetFuelRefillSchema: z.ZodObject<{
|
|
|
295
299
|
payment_reference_number?: string | undefined;
|
|
296
300
|
fuel_card_number?: string | undefined;
|
|
297
301
|
payment_notes?: string | undefined;
|
|
298
|
-
latitude?: unknown;
|
|
299
|
-
longitude?: unknown;
|
|
300
|
-
google_location?: string | undefined;
|
|
301
|
-
odometer_reading?: unknown;
|
|
302
302
|
tank_size?: unknown;
|
|
303
303
|
FleetFuelRefillFile?: {
|
|
304
|
-
fleet_fuel_refill_id: string;
|
|
305
304
|
status: Status;
|
|
306
305
|
organisation_id: string;
|
|
307
306
|
usage_type: string;
|
|
308
307
|
file_type: FileType;
|
|
308
|
+
fleet_fuel_refill_id: string;
|
|
309
309
|
file_url?: string | undefined;
|
|
310
310
|
file_key?: string | undefined;
|
|
311
311
|
file_name?: string | undefined;
|
|
@@ -362,11 +362,7 @@ declare const FleetFuelRefillQuerySchema: z.ZodObject<{
|
|
|
362
362
|
from_date: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
363
363
|
to_date: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
364
364
|
}, "strip", z.ZodTypeAny, {
|
|
365
|
-
admin_verify_status: GPSFuelApproveStatus[];
|
|
366
|
-
transporter_verify_status: GPSFuelApproveStatus[];
|
|
367
|
-
entry_source: RefillEntrySource[];
|
|
368
365
|
status: Status[];
|
|
369
|
-
time_zone_id: string;
|
|
370
366
|
search: string;
|
|
371
367
|
paging: PAGING;
|
|
372
368
|
page_count: number;
|
|
@@ -386,26 +382,27 @@ declare const FleetFuelRefillQuerySchema: z.ZodObject<{
|
|
|
386
382
|
}[];
|
|
387
383
|
include_master_data: YesNo;
|
|
388
384
|
date_format_id: string;
|
|
385
|
+
time_zone_id: string;
|
|
389
386
|
organisation_ids: string[];
|
|
390
387
|
user_ids: string[];
|
|
391
388
|
vehicle_ids: string[];
|
|
392
389
|
driver_ids: string[];
|
|
393
390
|
device_ids: string[];
|
|
391
|
+
from_date: string;
|
|
392
|
+
to_date: string;
|
|
394
393
|
vendor_ids: string[];
|
|
395
|
-
fuel_station_ids: string[];
|
|
396
394
|
vehicle_fuel_type_ids: string[];
|
|
397
395
|
vehicle_fuel_unit_ids: string[];
|
|
396
|
+
admin_verify_status: GPSFuelApproveStatus[];
|
|
397
|
+
transporter_verify_status: GPSFuelApproveStatus[];
|
|
398
|
+
entry_source: RefillEntrySource[];
|
|
399
|
+
fuel_station_ids: string[];
|
|
398
400
|
fleet_fuel_refill_ids: string[];
|
|
399
|
-
from_date: string;
|
|
400
|
-
to_date: string;
|
|
401
401
|
}, {
|
|
402
|
-
time_zone_id: string;
|
|
403
402
|
date_format_id: string;
|
|
403
|
+
time_zone_id: string;
|
|
404
404
|
from_date: string;
|
|
405
405
|
to_date: string;
|
|
406
|
-
admin_verify_status?: GPSFuelApproveStatus[] | undefined;
|
|
407
|
-
transporter_verify_status?: GPSFuelApproveStatus[] | undefined;
|
|
408
|
-
entry_source?: RefillEntrySource[] | undefined;
|
|
409
406
|
status?: Status[] | undefined;
|
|
410
407
|
search?: string | undefined;
|
|
411
408
|
paging?: PAGING | undefined;
|
|
@@ -431,9 +428,12 @@ declare const FleetFuelRefillQuerySchema: z.ZodObject<{
|
|
|
431
428
|
driver_ids?: string[] | undefined;
|
|
432
429
|
device_ids?: string[] | undefined;
|
|
433
430
|
vendor_ids?: string[] | undefined;
|
|
434
|
-
fuel_station_ids?: string[] | undefined;
|
|
435
431
|
vehicle_fuel_type_ids?: string[] | undefined;
|
|
436
432
|
vehicle_fuel_unit_ids?: string[] | undefined;
|
|
433
|
+
admin_verify_status?: GPSFuelApproveStatus[] | undefined;
|
|
434
|
+
transporter_verify_status?: GPSFuelApproveStatus[] | undefined;
|
|
435
|
+
entry_source?: RefillEntrySource[] | undefined;
|
|
436
|
+
fuel_station_ids?: string[] | undefined;
|
|
437
437
|
fleet_fuel_refill_ids?: string[] | undefined;
|
|
438
438
|
}>;
|
|
439
439
|
type FleetFuelRefillQueryDTO = z.infer<typeof FleetFuelRefillQuerySchema>;
|