vms-nest-prisma-api-document 227.0.0 → 228.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/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 +1 -1
- package/dist/services/fleet/issue_management/issue_management_service.d.ts +1 -1
- package/dist/services/fleet/service_management/fleet_service_management_service.d.ts +43 -43
- package/dist/services/fleet/service_management/fleet_service_management_task_service.d.ts +6 -6
- package/dist/services/fleet/vendor_management/fleet_vendor_fuel_station.d.ts +1 -1
- package/dist/services/fleet/vendor_management/fleet_vendor_fuel_station.js +11 -1
- package/dist/services/fleet/vendor_management/fleet_vendor_service.d.ts +1 -1
- package/dist/services/fleet/vendor_management/fleet_vendor_service.js +9 -9
- package/dist/services/fleet/vendor_management/fleet_vendor_service_center.d.ts +1 -1
- package/dist/services/fleet/vendor_management/fleet_vendor_service_center.js +12 -2
- 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/gps/reports/gps_reports_mongo_service.d.ts +46 -46
- 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 +1 -1
- package/dist/services/master/expense/master_expense_type_service.d.ts +1 -1
- package/dist/services/master/expense/master_fuel_company_service.d.ts +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 +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 +6 -6
- 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 +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 +1 -1
- package/dist/services/master/tyre/master_tyre_make_service.d.ts +1 -1
- package/dist/services/master/tyre/master_tyre_model_service.d.ts +1 -1
- package/dist/services/master/user/master_user_role_service.d.ts +1 -1
- package/dist/services/master/user/master_user_status_service.d.ts +1 -1
- package/dist/services/master/vehicle/master_vehicle_associated_to_service.d.ts +1 -1
- package/dist/services/master/vehicle/master_vehicle_document_type_service.d.ts +1 -1
- package/dist/services/master/vehicle/master_vehicle_fuel_removal_reason_service.d.ts +5 -5
- package/dist/services/master/vehicle/master_vehicle_fuel_type_service.d.ts +1 -1
- package/dist/services/master/vehicle/master_vehicle_fuel_unit_service.d.ts +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-5X-6GA_y.d.ts → user_organisation_service-4bBzFQBd.d.ts} +80 -59
- package/package.json +1 -1
|
@@ -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-4bBzFQBd.js';
|
|
5
5
|
import '../../zod_utils/zod_base_schema.js';
|
|
6
6
|
import '../master/main/master_main_sim_provider_service.js';
|
|
7
7
|
|
|
@@ -40,9 +40,12 @@ 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;
|
|
43
47
|
module_name: string;
|
|
44
48
|
menu_type: MenuType;
|
|
45
|
-
group_name: string;
|
|
46
49
|
group_name_language: string;
|
|
47
50
|
group_icon: string;
|
|
48
51
|
group_url: string;
|
|
@@ -50,19 +53,16 @@ declare const BookMarkSchema: z.ZodObject<{
|
|
|
50
53
|
sub_item_name_language: string;
|
|
51
54
|
sub_item_icon: string;
|
|
52
55
|
sub_item_url: string;
|
|
56
|
+
}, {
|
|
53
57
|
status: Status;
|
|
54
58
|
organisation_id: string;
|
|
55
59
|
user_id: string;
|
|
56
|
-
|
|
60
|
+
group_name: string;
|
|
57
61
|
module_name: string;
|
|
58
62
|
menu_type: MenuType;
|
|
59
|
-
group_name: string;
|
|
60
63
|
group_name_language: string;
|
|
61
64
|
group_icon: string;
|
|
62
65
|
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[];
|
|
109
108
|
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
|
+
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;
|
|
137
136
|
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
|
+
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-4bBzFQBd.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-4bBzFQBd.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-4bBzFQBd.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-4bBzFQBd.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-4bBzFQBd.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-4bBzFQBd.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-4bBzFQBd.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-4bBzFQBd.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-4bBzFQBd.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
|
-
|
|
62
|
+
date: string;
|
|
63
|
+
status: Status;
|
|
64
|
+
organisation_id: string;
|
|
65
|
+
user_id: string;
|
|
66
|
+
vehicle_id: string;
|
|
67
|
+
driver_id: string;
|
|
68
|
+
device_id: string;
|
|
64
69
|
total_km: number;
|
|
65
70
|
consumed_fuel_liters: number;
|
|
66
71
|
refills_count: number;
|
|
72
|
+
start_fuel_liters: number;
|
|
73
|
+
end_fuel_liters: number;
|
|
67
74
|
refill_liters: number;
|
|
68
75
|
removals_count: number;
|
|
69
76
|
removal_liters: number;
|
|
70
77
|
mileage_kmpl: number;
|
|
71
78
|
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;
|
|
89
87
|
total_km?: unknown;
|
|
90
88
|
consumed_fuel_liters?: unknown;
|
|
91
89
|
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,6 +139,7 @@ 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;
|
|
142
143
|
search: string;
|
|
143
144
|
paging: PAGING;
|
|
144
145
|
page_count: number;
|
|
@@ -158,20 +159,19 @@ declare const FleetFuelDailySummaryQuerySchema: z.ZodObject<{
|
|
|
158
159
|
}[];
|
|
159
160
|
include_master_data: YesNo;
|
|
160
161
|
date_format_id: string;
|
|
161
|
-
time_zone_id: string;
|
|
162
|
-
fleet_fuel_daily_summary_ids: string[];
|
|
163
162
|
organisation_ids: string[];
|
|
164
163
|
user_ids: string[];
|
|
165
164
|
vehicle_ids: string[];
|
|
166
165
|
driver_ids: string[];
|
|
167
166
|
device_ids: string[];
|
|
168
|
-
vehicle_summary: YesNo;
|
|
169
|
-
day_summary: YesNo;
|
|
170
167
|
from_date: string;
|
|
171
168
|
to_date: string;
|
|
169
|
+
fleet_fuel_daily_summary_ids: string[];
|
|
170
|
+
vehicle_summary: YesNo;
|
|
171
|
+
day_summary: YesNo;
|
|
172
172
|
}, {
|
|
173
|
-
date_format_id: string;
|
|
174
173
|
time_zone_id: string;
|
|
174
|
+
date_format_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;
|
|
197
196
|
organisation_ids?: string[] | undefined;
|
|
198
197
|
user_ids?: string[] | undefined;
|
|
199
198
|
vehicle_ids?: string[] | undefined;
|
|
200
199
|
driver_ids?: string[] | undefined;
|
|
201
200
|
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,6 +240,7 @@ 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;
|
|
243
244
|
search: string;
|
|
244
245
|
paging: PAGING;
|
|
245
246
|
page_count: number;
|
|
@@ -259,14 +260,13 @@ declare const FleetFuelDailyMonthlySummaryQuerySchema: z.ZodObject<{
|
|
|
259
260
|
}[];
|
|
260
261
|
include_master_data: YesNo;
|
|
261
262
|
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
|
-
date_format_id: string;
|
|
269
268
|
time_zone_id: string;
|
|
269
|
+
date_format_id: string;
|
|
270
270
|
from_date: string;
|
|
271
271
|
to_date: string;
|
|
272
272
|
status?: Status[] | undefined;
|
|
@@ -2,7 +2,7 @@ import { GPSFuelApproveStatus, RefillEntrySource, RefillMethod, PaymentMode, Pay
|
|
|
2
2
|
import { BaseCommonFile, BR, AWSPresignedUrl, SBR, FBR } from '../../../core/BaseResponse.js';
|
|
3
3
|
import { z } from 'zod';
|
|
4
4
|
import { FilePresignedUrlDTO } from '../../../zod_utils/zod_base_schema.js';
|
|
5
|
-
import { d as MasterMainLandmark, U as UserOrganisation, a as User, M as MasterVehicle, b as MasterDriver, c as MasterDevice, F as FleetVendor, e as FleetVendorFuelStation, f as MasterVehicleFuelType, g as MasterVehicleFuelUnit } from '../../../user_organisation_service-
|
|
5
|
+
import { d as MasterMainLandmark, U as UserOrganisation, a as User, M as MasterVehicle, b as MasterDriver, c as MasterDevice, F as FleetVendor, e as FleetVendorFuelStation, f as MasterVehicleFuelType, g as MasterVehicleFuelUnit } from '../../../user_organisation_service-4bBzFQBd.js';
|
|
6
6
|
import '../../master/main/master_main_sim_provider_service.js';
|
|
7
7
|
|
|
8
8
|
interface FleetFuelRefill extends Record<string, unknown> {
|
|
@@ -208,25 +208,25 @@ declare const FleetFuelRefillSchema: z.ZodObject<{
|
|
|
208
208
|
file_metadata?: Record<string, any> | undefined;
|
|
209
209
|
}>, "many">>>;
|
|
210
210
|
}, "strip", z.ZodTypeAny, {
|
|
211
|
+
odometer_reading: number;
|
|
212
|
+
date_time: string;
|
|
213
|
+
admin_verify_status: GPSFuelApproveStatus;
|
|
214
|
+
transporter_verify_status: GPSFuelApproveStatus;
|
|
215
|
+
entry_source: RefillEntrySource;
|
|
216
|
+
source_reference_id: string;
|
|
217
|
+
source_notes: string;
|
|
218
|
+
google_location: string;
|
|
211
219
|
status: Status;
|
|
212
220
|
organisation_id: string;
|
|
213
221
|
user_id: string;
|
|
214
222
|
vehicle_id: string;
|
|
215
223
|
driver_id: string;
|
|
216
224
|
device_id: string;
|
|
217
|
-
time_zone_id: string;
|
|
218
225
|
vehicle_fuel_type_id: string;
|
|
219
226
|
vehicle_fuel_unit_id: string;
|
|
220
|
-
|
|
227
|
+
time_zone_id: string;
|
|
221
228
|
vendor_id: string;
|
|
222
229
|
fuel_station_id: string;
|
|
223
|
-
odometer_reading: number;
|
|
224
|
-
date_time: string;
|
|
225
|
-
admin_verify_status: GPSFuelApproveStatus;
|
|
226
|
-
transporter_verify_status: GPSFuelApproveStatus;
|
|
227
|
-
entry_source: RefillEntrySource;
|
|
228
|
-
source_reference_id: string;
|
|
229
|
-
source_notes: string;
|
|
230
230
|
refill_method: RefillMethod;
|
|
231
231
|
refill_details: string;
|
|
232
232
|
filled_by_person: string;
|
|
@@ -252,6 +252,8 @@ declare const FleetFuelRefillSchema: z.ZodObject<{
|
|
|
252
252
|
file_metadata: Record<string, any>;
|
|
253
253
|
fleet_fuel_refill_id: string;
|
|
254
254
|
}[];
|
|
255
|
+
cost_per_unit?: number | undefined;
|
|
256
|
+
total_cost?: number | undefined;
|
|
255
257
|
latitude?: number | undefined;
|
|
256
258
|
longitude?: number | undefined;
|
|
257
259
|
before_refill_quantity?: number | undefined;
|
|
@@ -259,41 +261,39 @@ declare const FleetFuelRefillSchema: z.ZodObject<{
|
|
|
259
261
|
refill_quantity?: number | undefined;
|
|
260
262
|
verified_refill_quantity?: number | undefined;
|
|
261
263
|
diff_refill_quantity?: number | undefined;
|
|
262
|
-
cost_per_unit?: number | undefined;
|
|
263
|
-
total_cost?: number | undefined;
|
|
264
264
|
}, {
|
|
265
|
+
date_time: string;
|
|
266
|
+
admin_verify_status: GPSFuelApproveStatus;
|
|
267
|
+
transporter_verify_status: GPSFuelApproveStatus;
|
|
265
268
|
status: Status;
|
|
266
269
|
organisation_id: string;
|
|
267
270
|
user_id: string;
|
|
268
271
|
vehicle_id: string;
|
|
269
272
|
driver_id: string;
|
|
270
273
|
device_id: string;
|
|
271
|
-
time_zone_id: string;
|
|
272
274
|
vehicle_fuel_type_id: string;
|
|
273
275
|
vehicle_fuel_unit_id: string;
|
|
276
|
+
time_zone_id: string;
|
|
274
277
|
vendor_id: string;
|
|
275
278
|
fuel_station_id: string;
|
|
276
|
-
date_time: string;
|
|
277
|
-
admin_verify_status: GPSFuelApproveStatus;
|
|
278
|
-
transporter_verify_status: GPSFuelApproveStatus;
|
|
279
279
|
payment_mode: PaymentMode;
|
|
280
280
|
payment_status: PaymentStatus;
|
|
281
281
|
is_full_tank: YesNo;
|
|
282
282
|
is_previous_entries_missed: YesNo;
|
|
283
|
+
odometer_reading?: unknown;
|
|
284
|
+
cost_per_unit?: unknown;
|
|
285
|
+
total_cost?: unknown;
|
|
286
|
+
entry_source?: RefillEntrySource | undefined;
|
|
287
|
+
source_reference_id?: string | undefined;
|
|
288
|
+
source_notes?: string | undefined;
|
|
283
289
|
latitude?: unknown;
|
|
284
290
|
longitude?: unknown;
|
|
285
291
|
google_location?: string | undefined;
|
|
286
|
-
odometer_reading?: unknown;
|
|
287
292
|
before_refill_quantity?: unknown;
|
|
288
293
|
after_refill_quantity?: unknown;
|
|
289
294
|
refill_quantity?: unknown;
|
|
290
295
|
verified_refill_quantity?: unknown;
|
|
291
296
|
diff_refill_quantity?: unknown;
|
|
292
|
-
cost_per_unit?: unknown;
|
|
293
|
-
total_cost?: unknown;
|
|
294
|
-
entry_source?: RefillEntrySource | undefined;
|
|
295
|
-
source_reference_id?: string | undefined;
|
|
296
|
-
source_notes?: string | undefined;
|
|
297
297
|
refill_method?: RefillMethod | undefined;
|
|
298
298
|
refill_details?: string | undefined;
|
|
299
299
|
filled_by_person?: string | undefined;
|
|
@@ -369,7 +369,11 @@ declare const FleetFuelRefillQuerySchema: z.ZodObject<{
|
|
|
369
369
|
from_date: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
370
370
|
to_date: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
371
371
|
}, "strip", z.ZodTypeAny, {
|
|
372
|
+
admin_verify_status: GPSFuelApproveStatus[];
|
|
373
|
+
transporter_verify_status: GPSFuelApproveStatus[];
|
|
374
|
+
entry_source: RefillEntrySource[];
|
|
372
375
|
status: Status[];
|
|
376
|
+
time_zone_id: string;
|
|
373
377
|
search: string;
|
|
374
378
|
paging: PAGING;
|
|
375
379
|
page_count: number;
|
|
@@ -389,21 +393,17 @@ declare const FleetFuelRefillQuerySchema: z.ZodObject<{
|
|
|
389
393
|
}[];
|
|
390
394
|
include_master_data: YesNo;
|
|
391
395
|
date_format_id: string;
|
|
392
|
-
time_zone_id: string;
|
|
393
396
|
organisation_ids: string[];
|
|
394
397
|
user_ids: string[];
|
|
395
398
|
vehicle_ids: string[];
|
|
396
399
|
driver_ids: string[];
|
|
397
400
|
device_ids: string[];
|
|
401
|
+
vehicle_fuel_type_ids: string[];
|
|
402
|
+
vehicle_fuel_unit_ids: string[];
|
|
398
403
|
from_date: string;
|
|
399
404
|
to_date: string;
|
|
400
405
|
vendor_ids: string[];
|
|
401
406
|
fuel_station_ids: string[];
|
|
402
|
-
vehicle_fuel_type_ids: string[];
|
|
403
|
-
vehicle_fuel_unit_ids: string[];
|
|
404
|
-
admin_verify_status: GPSFuelApproveStatus[];
|
|
405
|
-
transporter_verify_status: GPSFuelApproveStatus[];
|
|
406
|
-
entry_source: RefillEntrySource[];
|
|
407
407
|
refill_method: RefillMethod[];
|
|
408
408
|
payment_mode: PaymentMode[];
|
|
409
409
|
payment_status: PaymentStatus[];
|
|
@@ -411,10 +411,13 @@ declare const FleetFuelRefillQuerySchema: z.ZodObject<{
|
|
|
411
411
|
is_previous_entries_missed: YesNo[];
|
|
412
412
|
fleet_fuel_refill_ids: string[];
|
|
413
413
|
}, {
|
|
414
|
-
date_format_id: string;
|
|
415
414
|
time_zone_id: string;
|
|
415
|
+
date_format_id: string;
|
|
416
416
|
from_date: string;
|
|
417
417
|
to_date: string;
|
|
418
|
+
admin_verify_status?: GPSFuelApproveStatus[] | undefined;
|
|
419
|
+
transporter_verify_status?: GPSFuelApproveStatus[] | undefined;
|
|
420
|
+
entry_source?: RefillEntrySource[] | undefined;
|
|
418
421
|
status?: Status[] | undefined;
|
|
419
422
|
search?: string | undefined;
|
|
420
423
|
paging?: PAGING | undefined;
|
|
@@ -439,13 +442,10 @@ declare const FleetFuelRefillQuerySchema: z.ZodObject<{
|
|
|
439
442
|
vehicle_ids?: string[] | undefined;
|
|
440
443
|
driver_ids?: string[] | undefined;
|
|
441
444
|
device_ids?: string[] | undefined;
|
|
442
|
-
vendor_ids?: string[] | undefined;
|
|
443
|
-
fuel_station_ids?: string[] | undefined;
|
|
444
445
|
vehicle_fuel_type_ids?: string[] | undefined;
|
|
445
446
|
vehicle_fuel_unit_ids?: string[] | undefined;
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
entry_source?: RefillEntrySource[] | undefined;
|
|
447
|
+
vendor_ids?: string[] | undefined;
|
|
448
|
+
fuel_station_ids?: string[] | undefined;
|
|
449
449
|
refill_method?: RefillMethod[] | undefined;
|
|
450
450
|
payment_mode?: PaymentMode[] | undefined;
|
|
451
451
|
payment_status?: PaymentStatus[] | undefined;
|