vms-nest-prisma-api-document 6.0.8 → 6.0.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/services/account/alert_service.d.ts +36 -36
- package/dist/services/account/bookmark_service.d.ts +1 -1
- package/dist/services/account/notification_service.d.ts +22 -22
- package/dist/services/account/ticket_service.d.ts +1 -1
- package/dist/services/fleet/fuel_management/fleet_fuel_daily_summary_service.d.ts +19 -19
- package/dist/services/fleet/fuel_management/fleet_fuel_refill_service.d.ts +41 -41
- package/dist/services/fleet/fuel_management/fleet_fuel_removal_service.d.ts +55 -55
- package/dist/services/gps/features/geofence/gps_geofence_data_service.d.ts +1 -1
- package/dist/services/gps/features/geofence/gps_geofence_transaction_service.d.ts +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 +43 -43
- package/dist/services/main/devices/master_device_service.d.ts +1 -1
- package/dist/services/main/drivers/master_driver_service.d.ts +1 -1
- package/dist/services/main/sims/master_sim_service.d.ts +1 -1
- package/dist/services/main/users/auth_service.d.ts +1 -1
- package/dist/services/main/users/user_organisation_service.d.ts +1 -1
- package/dist/services/main/users/user_service.d.ts +1 -1
- package/dist/services/main/vehicle/childs/vehicle_odometer_history.d.ts +1 -1
- package/dist/services/main/vehicle/master_vehicle_service.d.ts +1 -1
- package/dist/services/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_type_service.d.ts +1 -1
- package/dist/services/master/fleet/master_fleet_incident_severity_service.d.ts +1 -1
- package/dist/services/master/fleet/master_fleet_incident_status_service.d.ts +1 -1
- package/dist/services/master/fleet/master_fleet_incident_type_service.d.ts +1 -1
- package/dist/services/master/fleet/master_fleet_insurance_claim_status_service.d.ts +1 -1
- package/dist/services/master/fleet/master_fleet_service_task_service.d.ts +1 -1
- package/dist/services/master/main/master_main_country_service.d.ts +1 -1
- package/dist/services/master/main/master_main_currency_service.d.ts +1 -1
- package/dist/services/master/main/master_main_date_format_service.d.ts +1 -1
- package/dist/services/master/main/master_main_eway_bill_provider_service.d.ts +2 -2
- package/dist/services/master/main/master_main_fasttag_bank_service.d.ts +2 -2
- package/dist/services/master/main/master_main_industry_service.d.ts +1 -1
- package/dist/services/master/main/master_main_landmark_service.d.ts +7 -7
- package/dist/services/master/main/master_main_language_service.d.ts +1 -1
- package/dist/services/master/main/master_main_state_service.d.ts +1 -1
- package/dist/services/master/main/master_main_timezone_service.d.ts +1 -1
- package/dist/services/master/main/master_main_unit_distance_service.d.ts +1 -1
- package/dist/services/master/main/master_main_unit_mileage_service.d.ts +1 -1
- package/dist/services/master/main/master_main_unit_volume_service.d.ts +1 -1
- package/dist/services/master/organisation/organisation_branch_service.d.ts +1 -1
- package/dist/services/master/organisation/organisation_color_service.d.ts +1 -1
- package/dist/services/master/organisation/organisation_group_service.d.ts +1 -1
- package/dist/services/master/organisation/organisation_sub_company_service.d.ts +1 -1
- package/dist/services/master/organisation/organisation_tag_service.d.ts +1 -1
- package/dist/services/master/spare_part/master_spare_part_category_service.d.ts +1 -1
- package/dist/services/master/spare_part/master_spare_part_sub_category_service.d.ts +1 -1
- package/dist/services/master/spare_part/master_spare_part_unit_service.d.ts +1 -1
- package/dist/services/master/trip/master_trip_party_type_service.d.ts +1 -1
- package/dist/services/master/tyre/master_tyre_grade_service.d.ts +1 -1
- package/dist/services/master/tyre/master_tyre_make_service.d.ts +1 -1
- package/dist/services/master/tyre/master_tyre_model_service.d.ts +1 -1
- package/dist/services/master/user/master_user_role_service.d.ts +1 -1
- package/dist/services/master/user/master_user_status_service.d.ts +1 -1
- package/dist/services/master/vehicle/master_vehicle_associated_to_service.d.ts +1 -1
- package/dist/services/master/vehicle/master_vehicle_document_type_service.d.ts +1 -1
- package/dist/services/master/vehicle/master_vehicle_fuel_removal_reason_service.d.ts +5 -5
- package/dist/services/master/vehicle/master_vehicle_fuel_type_service.d.ts +1 -1
- package/dist/services/master/vehicle/master_vehicle_fuel_unit_service.d.ts +4 -4
- package/dist/services/master/vehicle/master_vehicle_make_service.d.ts +1 -1
- package/dist/services/master/vehicle/master_vehicle_model_service.d.ts +1 -1
- package/dist/services/master/vehicle/master_vehicle_ownership_type_service.d.ts +1 -1
- package/dist/services/master/vehicle/master_vehicle_status_type_service.d.ts +1 -1
- package/dist/services/master/vehicle/master_vehicle_sub_model_service.d.ts +1 -1
- package/dist/services/master/vehicle/master_vehicle_type_service.d.ts +1 -1
- package/dist/services/website/faq_service.d.ts +1 -1
- package/dist/services/website/static_pages_service.d.ts +1 -1
- package/package.json +1 -1
- package/dist/{user_organisation_service-YM6HzaB8.d.ts → user_organisation_service-BCKBv8_Z.d.ts} +20 -20
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Module, SubModule, AlertType, AlertSubType, 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, a as User, M as MasterVehicle, b as MasterDriver } from '../../user_organisation_service-
|
|
4
|
+
import { U as UserOrganisation, a as User, M as MasterVehicle, b as MasterDriver } from '../../user_organisation_service-BCKBv8_Z.js';
|
|
5
5
|
import '../../zod_utils/zod_base_schema.js';
|
|
6
6
|
import '../master/main/master_main_sim_provider_service.js';
|
|
7
7
|
|
|
@@ -93,6 +93,14 @@ declare const AlertSchema: z.ZodObject<{
|
|
|
93
93
|
driver_ids: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
94
94
|
gps_geofence_ids: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
95
95
|
}, "strip", z.ZodTypeAny, {
|
|
96
|
+
mobile_numbers: string;
|
|
97
|
+
emails: string;
|
|
98
|
+
status: Status;
|
|
99
|
+
organisation_id: string;
|
|
100
|
+
user_id: string;
|
|
101
|
+
user_ids: string[];
|
|
102
|
+
vehicle_ids: string[];
|
|
103
|
+
driver_ids: string[];
|
|
96
104
|
module: Module;
|
|
97
105
|
sub_module: SubModule;
|
|
98
106
|
alert_type: AlertType;
|
|
@@ -106,27 +114,24 @@ declare const AlertSchema: z.ZodObject<{
|
|
|
106
114
|
is_sms: YesNo;
|
|
107
115
|
is_whatsapp: YesNo;
|
|
108
116
|
is_email: YesNo;
|
|
109
|
-
mobile_numbers: string;
|
|
110
|
-
emails: string;
|
|
111
117
|
all_vehicles: YesNo;
|
|
112
118
|
all_trips: YesNo;
|
|
113
119
|
all_geofences: YesNo;
|
|
114
120
|
all_drivers: YesNo;
|
|
121
|
+
gps_geofence_ids: string[];
|
|
122
|
+
}, {
|
|
115
123
|
status: Status;
|
|
116
124
|
organisation_id: string;
|
|
117
125
|
user_id: string;
|
|
118
|
-
vehicle_ids: string[];
|
|
119
|
-
user_ids: string[];
|
|
120
|
-
driver_ids: string[];
|
|
121
|
-
gps_geofence_ids: string[];
|
|
122
|
-
}, {
|
|
123
126
|
module: Module;
|
|
124
127
|
sub_module: SubModule;
|
|
125
128
|
alert_type: AlertType;
|
|
126
129
|
alert_sub_type: AlertSubType;
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
+
mobile_numbers?: string | undefined;
|
|
131
|
+
emails?: string | undefined;
|
|
132
|
+
user_ids?: string[] | undefined;
|
|
133
|
+
vehicle_ids?: string[] | undefined;
|
|
134
|
+
driver_ids?: string[] | undefined;
|
|
130
135
|
alert_key_1?: string | undefined;
|
|
131
136
|
alert_key_2?: string | undefined;
|
|
132
137
|
alert_key_3?: string | undefined;
|
|
@@ -136,15 +141,10 @@ declare const AlertSchema: z.ZodObject<{
|
|
|
136
141
|
is_sms?: YesNo | undefined;
|
|
137
142
|
is_whatsapp?: YesNo | undefined;
|
|
138
143
|
is_email?: YesNo | undefined;
|
|
139
|
-
mobile_numbers?: string | undefined;
|
|
140
|
-
emails?: string | undefined;
|
|
141
144
|
all_vehicles?: YesNo | undefined;
|
|
142
145
|
all_trips?: YesNo | undefined;
|
|
143
146
|
all_geofences?: YesNo | undefined;
|
|
144
147
|
all_drivers?: YesNo | undefined;
|
|
145
|
-
vehicle_ids?: string[] | undefined;
|
|
146
|
-
user_ids?: string[] | undefined;
|
|
147
|
-
driver_ids?: string[] | undefined;
|
|
148
148
|
gps_geofence_ids?: string[] | undefined;
|
|
149
149
|
}>;
|
|
150
150
|
type AlertDTO = z.infer<typeof AlertSchema>;
|
|
@@ -192,15 +192,6 @@ declare const AlertQuerySchema: z.ZodObject<{
|
|
|
192
192
|
is_whatsapp: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof YesNo>, "many">>>;
|
|
193
193
|
is_email: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof YesNo>, "many">>>;
|
|
194
194
|
}, "strip", z.ZodTypeAny, {
|
|
195
|
-
module: Module.ABC[];
|
|
196
|
-
sub_module: SubModule.ABC[];
|
|
197
|
-
alert_type: AlertType.ABC[];
|
|
198
|
-
alert_sub_type: AlertSubType.ABC[];
|
|
199
|
-
is_edit: YesNo[];
|
|
200
|
-
is_push: YesNo[];
|
|
201
|
-
is_sms: YesNo[];
|
|
202
|
-
is_whatsapp: YesNo[];
|
|
203
|
-
is_email: YesNo[];
|
|
204
195
|
status: Status[];
|
|
205
196
|
user_ids: string[];
|
|
206
197
|
search: string;
|
|
@@ -223,20 +214,20 @@ declare const AlertQuerySchema: z.ZodObject<{
|
|
|
223
214
|
include_master_data: YesNo;
|
|
224
215
|
date_format_id: string;
|
|
225
216
|
time_zone_id: string;
|
|
226
|
-
organisation_ids: string[];
|
|
227
217
|
alert_ids: string[];
|
|
218
|
+
organisation_ids: string[];
|
|
219
|
+
module: Module.ABC[];
|
|
220
|
+
sub_module: SubModule.ABC[];
|
|
221
|
+
alert_type: AlertType.ABC[];
|
|
222
|
+
alert_sub_type: AlertSubType.ABC[];
|
|
223
|
+
is_edit: YesNo[];
|
|
224
|
+
is_push: YesNo[];
|
|
225
|
+
is_sms: YesNo[];
|
|
226
|
+
is_whatsapp: YesNo[];
|
|
227
|
+
is_email: YesNo[];
|
|
228
228
|
}, {
|
|
229
229
|
date_format_id: string;
|
|
230
230
|
time_zone_id: string;
|
|
231
|
-
module?: Module.ABC[] | undefined;
|
|
232
|
-
sub_module?: SubModule.ABC[] | undefined;
|
|
233
|
-
alert_type?: AlertType.ABC[] | undefined;
|
|
234
|
-
alert_sub_type?: AlertSubType.ABC[] | undefined;
|
|
235
|
-
is_edit?: YesNo[] | undefined;
|
|
236
|
-
is_push?: YesNo[] | undefined;
|
|
237
|
-
is_sms?: YesNo[] | undefined;
|
|
238
|
-
is_whatsapp?: YesNo[] | undefined;
|
|
239
|
-
is_email?: YesNo[] | undefined;
|
|
240
231
|
status?: Status[] | undefined;
|
|
241
232
|
user_ids?: string[] | undefined;
|
|
242
233
|
search?: string | undefined;
|
|
@@ -257,8 +248,17 @@ declare const AlertQuerySchema: z.ZodObject<{
|
|
|
257
248
|
direction: OrderBy;
|
|
258
249
|
}[] | undefined;
|
|
259
250
|
include_master_data?: YesNo | undefined;
|
|
260
|
-
organisation_ids?: string[] | undefined;
|
|
261
251
|
alert_ids?: string[] | undefined;
|
|
252
|
+
organisation_ids?: string[] | undefined;
|
|
253
|
+
module?: Module.ABC[] | undefined;
|
|
254
|
+
sub_module?: SubModule.ABC[] | undefined;
|
|
255
|
+
alert_type?: AlertType.ABC[] | undefined;
|
|
256
|
+
alert_sub_type?: AlertSubType.ABC[] | undefined;
|
|
257
|
+
is_edit?: YesNo[] | undefined;
|
|
258
|
+
is_push?: YesNo[] | undefined;
|
|
259
|
+
is_sms?: YesNo[] | undefined;
|
|
260
|
+
is_whatsapp?: YesNo[] | undefined;
|
|
261
|
+
is_email?: YesNo[] | undefined;
|
|
262
262
|
}>;
|
|
263
263
|
type AlertQueryDTO = z.infer<typeof AlertQuerySchema>;
|
|
264
264
|
declare const toAlertPayload: (alert: Alert) => AlertDTO;
|
|
@@ -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-BCKBv8_Z.js';
|
|
5
5
|
import '../../zod_utils/zod_base_schema.js';
|
|
6
6
|
import '../master/main/master_main_sim_provider_service.js';
|
|
7
7
|
|
|
@@ -2,7 +2,7 @@ import { YesNo, Status, PAGING, LoadParents, LoadChild, LoadChildCount, OrderBy
|
|
|
2
2
|
import { FBR, SBR } from '../../core/BaseResponse.js';
|
|
3
3
|
import { z } from 'zod';
|
|
4
4
|
import { Alert } from './alert_service.js';
|
|
5
|
-
import { U as UserOrganisation, a as User } from '../../user_organisation_service-
|
|
5
|
+
import { U as UserOrganisation, a as User } from '../../user_organisation_service-BCKBv8_Z.js';
|
|
6
6
|
import '../../zod_utils/zod_base_schema.js';
|
|
7
7
|
import '../master/main/master_main_sim_provider_service.js';
|
|
8
8
|
|
|
@@ -46,31 +46,31 @@ declare const NotificationSchema: z.ZodObject<{
|
|
|
46
46
|
user_ids: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
47
47
|
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
48
48
|
}, "strip", z.ZodTypeAny, {
|
|
49
|
-
alert_id: string;
|
|
50
|
-
mobile_numbers: string;
|
|
51
|
-
emails: string;
|
|
52
|
-
status: Status;
|
|
53
|
-
organisation_id: string;
|
|
54
|
-
user_ids: string[];
|
|
55
49
|
notification_title: string;
|
|
56
50
|
notification_message: string;
|
|
57
51
|
is_push_sent: YesNo;
|
|
58
52
|
is_sms_sent: YesNo;
|
|
59
53
|
is_whatsapp_sent: YesNo;
|
|
60
54
|
is_email_sent: YesNo;
|
|
61
|
-
|
|
62
|
-
|
|
55
|
+
mobile_numbers: string;
|
|
56
|
+
emails: string;
|
|
63
57
|
status: Status;
|
|
64
58
|
organisation_id: string;
|
|
59
|
+
alert_id: string;
|
|
60
|
+
user_ids: string[];
|
|
61
|
+
}, {
|
|
65
62
|
notification_title: string;
|
|
66
63
|
notification_message: string;
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
64
|
+
status: Status;
|
|
65
|
+
organisation_id: string;
|
|
66
|
+
alert_id: string;
|
|
70
67
|
is_push_sent?: YesNo | undefined;
|
|
71
68
|
is_sms_sent?: YesNo | undefined;
|
|
72
69
|
is_whatsapp_sent?: YesNo | undefined;
|
|
73
70
|
is_email_sent?: YesNo | undefined;
|
|
71
|
+
mobile_numbers?: string | undefined;
|
|
72
|
+
emails?: string | undefined;
|
|
73
|
+
user_ids?: string[] | undefined;
|
|
74
74
|
}>;
|
|
75
75
|
type NotificationDTO = z.infer<typeof NotificationSchema>;
|
|
76
76
|
declare const NotificationQuerySchema: z.ZodObject<{
|
|
@@ -112,6 +112,10 @@ declare const NotificationQuerySchema: z.ZodObject<{
|
|
|
112
112
|
is_whatsapp_sent: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof YesNo>, "many">>>;
|
|
113
113
|
is_email_sent: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof YesNo>, "many">>>;
|
|
114
114
|
}, "strip", z.ZodTypeAny, {
|
|
115
|
+
is_push_sent: YesNo[];
|
|
116
|
+
is_sms_sent: YesNo[];
|
|
117
|
+
is_whatsapp_sent: YesNo[];
|
|
118
|
+
is_email_sent: YesNo[];
|
|
115
119
|
status: Status[];
|
|
116
120
|
search: string;
|
|
117
121
|
paging: PAGING;
|
|
@@ -133,16 +137,16 @@ declare const NotificationQuerySchema: z.ZodObject<{
|
|
|
133
137
|
include_master_data: YesNo;
|
|
134
138
|
date_format_id: string;
|
|
135
139
|
time_zone_id: string;
|
|
136
|
-
organisation_ids: string[];
|
|
137
140
|
alert_ids: string[];
|
|
138
|
-
|
|
139
|
-
is_sms_sent: YesNo[];
|
|
140
|
-
is_whatsapp_sent: YesNo[];
|
|
141
|
-
is_email_sent: YesNo[];
|
|
141
|
+
organisation_ids: string[];
|
|
142
142
|
notification_ids: string[];
|
|
143
143
|
}, {
|
|
144
144
|
date_format_id: string;
|
|
145
145
|
time_zone_id: string;
|
|
146
|
+
is_push_sent?: YesNo[] | undefined;
|
|
147
|
+
is_sms_sent?: YesNo[] | undefined;
|
|
148
|
+
is_whatsapp_sent?: YesNo[] | undefined;
|
|
149
|
+
is_email_sent?: YesNo[] | undefined;
|
|
146
150
|
status?: Status[] | undefined;
|
|
147
151
|
search?: string | undefined;
|
|
148
152
|
paging?: PAGING | undefined;
|
|
@@ -162,12 +166,8 @@ declare const NotificationQuerySchema: z.ZodObject<{
|
|
|
162
166
|
direction: OrderBy;
|
|
163
167
|
}[] | undefined;
|
|
164
168
|
include_master_data?: YesNo | undefined;
|
|
165
|
-
organisation_ids?: string[] | undefined;
|
|
166
169
|
alert_ids?: string[] | undefined;
|
|
167
|
-
|
|
168
|
-
is_sms_sent?: YesNo[] | undefined;
|
|
169
|
-
is_whatsapp_sent?: YesNo[] | undefined;
|
|
170
|
-
is_email_sent?: YesNo[] | undefined;
|
|
170
|
+
organisation_ids?: string[] | undefined;
|
|
171
171
|
notification_ids?: string[] | undefined;
|
|
172
172
|
}>;
|
|
173
173
|
type NotificationQueryDTO = z.infer<typeof NotificationQuerySchema>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { FileType, Status, TicketStatus, 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-BCKBv8_Z.js';
|
|
5
5
|
import { UserAdmin } from '../main/users/user_admin_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 { 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-BCKBv8_Z.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';
|
|
@@ -61,36 +61,36 @@ declare const FleetFuelDailySummarySchema: z.ZodObject<{
|
|
|
61
61
|
liters_per_100km: z.ZodEffects<z.ZodDefault<z.ZodNumber>, number, unknown>;
|
|
62
62
|
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
63
63
|
}, "strip", z.ZodTypeAny, {
|
|
64
|
+
status: Status;
|
|
65
|
+
organisation_id: string;
|
|
66
|
+
user_id: string;
|
|
67
|
+
vehicle_id: string;
|
|
68
|
+
driver_id: string;
|
|
69
|
+
device_id: string;
|
|
64
70
|
date: string;
|
|
65
|
-
start_fuel_liters: number;
|
|
66
|
-
end_fuel_liters: number;
|
|
67
71
|
total_km: number;
|
|
68
72
|
consumed_fuel_liters: number;
|
|
69
73
|
refills_count: number;
|
|
74
|
+
start_fuel_liters: number;
|
|
75
|
+
end_fuel_liters: number;
|
|
70
76
|
refill_liters: number;
|
|
71
77
|
removals_count: number;
|
|
72
78
|
removal_liters: number;
|
|
73
79
|
mileage_kmpl: number;
|
|
74
80
|
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
|
-
date: string;
|
|
83
82
|
status: Status;
|
|
84
83
|
organisation_id: string;
|
|
85
84
|
user_id: string;
|
|
86
85
|
vehicle_id: string;
|
|
87
86
|
driver_id: string;
|
|
88
87
|
device_id: string;
|
|
89
|
-
|
|
90
|
-
end_fuel_liters?: unknown;
|
|
88
|
+
date: string;
|
|
91
89
|
total_km?: unknown;
|
|
92
90
|
consumed_fuel_liters?: unknown;
|
|
93
91
|
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,6 +140,7 @@ 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;
|
|
143
144
|
search: string;
|
|
144
145
|
paging: PAGING;
|
|
145
146
|
page_count: number;
|
|
@@ -159,7 +160,6 @@ declare const FleetFuelDailySummaryQuerySchema: z.ZodObject<{
|
|
|
159
160
|
}[];
|
|
160
161
|
include_master_data: YesNo;
|
|
161
162
|
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
|
-
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;
|
|
@@ -239,6 +239,7 @@ 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;
|
|
242
243
|
search: string;
|
|
243
244
|
paging: PAGING;
|
|
244
245
|
page_count: number;
|
|
@@ -258,14 +259,13 @@ declare const FleetFuelDailyMonthlySummaryQuerySchema: z.ZodObject<{
|
|
|
258
259
|
}[];
|
|
259
260
|
include_master_data: YesNo;
|
|
260
261
|
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
|
-
date_format_id: string;
|
|
268
267
|
time_zone_id: string;
|
|
268
|
+
date_format_id: string;
|
|
269
269
|
from_date: string;
|
|
270
270
|
to_date: string;
|
|
271
271
|
status?: Status[] | undefined;
|
|
@@ -325,8 +325,9 @@ declare const AllVehiclesFuelDailySummaryQuerySchema: z.ZodObject<{
|
|
|
325
325
|
date: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
326
326
|
organisation_utrack_id: z.ZodEffects<z.ZodString, string, string>;
|
|
327
327
|
}, "strip", z.ZodTypeAny, {
|
|
328
|
-
date: string;
|
|
329
328
|
status: Status[];
|
|
329
|
+
date: string;
|
|
330
|
+
time_zone_id: string;
|
|
330
331
|
search: string;
|
|
331
332
|
paging: PAGING;
|
|
332
333
|
page_count: number;
|
|
@@ -346,12 +347,11 @@ declare const AllVehiclesFuelDailySummaryQuerySchema: z.ZodObject<{
|
|
|
346
347
|
}[];
|
|
347
348
|
include_master_data: YesNo;
|
|
348
349
|
date_format_id: string;
|
|
349
|
-
time_zone_id: string;
|
|
350
350
|
organisation_utrack_id: string;
|
|
351
351
|
}, {
|
|
352
352
|
date: string;
|
|
353
|
-
date_format_id: string;
|
|
354
353
|
time_zone_id: string;
|
|
354
|
+
date_format_id: string;
|
|
355
355
|
organisation_utrack_id: string;
|
|
356
356
|
status?: Status[] | undefined;
|
|
357
357
|
search?: string | undefined;
|
|
@@ -2,7 +2,7 @@ import { YesNo, PaymentMode, PaymentStatus, RefillMethod, RefillEntrySource, GPS
|
|
|
2
2
|
import { 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 } from '../../../user_organisation_service-
|
|
5
|
+
import { U as UserOrganisation, a as User, M as MasterVehicle, b as MasterDriver, c as MasterDevice, d as MasterVehicleFuelType } from '../../../user_organisation_service-BCKBv8_Z.js';
|
|
6
6
|
import { MasterMainLandmark } from '../../master/main/master_main_landmark_service.js';
|
|
7
7
|
import { MasterVehicleFuelUnit } from '../../master/vehicle/master_vehicle_fuel_unit_service.js';
|
|
8
8
|
import '../../master/main/master_main_sim_provider_service.js';
|
|
@@ -112,22 +112,22 @@ declare const FleetFuelRefillFileSchema: z.ZodObject<{
|
|
|
112
112
|
}, "strip", z.ZodTypeAny, {
|
|
113
113
|
status: Status;
|
|
114
114
|
organisation_id: string;
|
|
115
|
-
file_name: string;
|
|
116
115
|
file_type: FileType;
|
|
117
|
-
fleet_fuel_refill_id: string;
|
|
118
116
|
file_url: string;
|
|
119
117
|
file_key: string;
|
|
118
|
+
file_name: string;
|
|
120
119
|
file_description: string;
|
|
121
120
|
file_size: number;
|
|
122
121
|
file_metadata: Record<string, any>;
|
|
122
|
+
fleet_fuel_refill_id: string;
|
|
123
123
|
}, {
|
|
124
124
|
status: Status;
|
|
125
125
|
organisation_id: string;
|
|
126
126
|
file_type: FileType;
|
|
127
127
|
fleet_fuel_refill_id: string;
|
|
128
|
-
file_name?: string | undefined;
|
|
129
128
|
file_url?: string | undefined;
|
|
130
129
|
file_key?: string | undefined;
|
|
130
|
+
file_name?: string | undefined;
|
|
131
131
|
file_description?: string | undefined;
|
|
132
132
|
file_size?: unknown;
|
|
133
133
|
file_metadata?: Record<string, any> | undefined;
|
|
@@ -188,45 +188,50 @@ declare const FleetFuelRefillSchema: z.ZodObject<{
|
|
|
188
188
|
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
189
189
|
status: Status;
|
|
190
190
|
organisation_id: string;
|
|
191
|
-
file_name: string;
|
|
192
191
|
file_type: FileType;
|
|
193
|
-
fleet_fuel_refill_id: string;
|
|
194
192
|
file_url: string;
|
|
195
193
|
file_key: string;
|
|
194
|
+
file_name: string;
|
|
196
195
|
file_description: string;
|
|
197
196
|
file_size: number;
|
|
198
197
|
file_metadata: Record<string, any>;
|
|
198
|
+
fleet_fuel_refill_id: string;
|
|
199
199
|
}, {
|
|
200
200
|
status: Status;
|
|
201
201
|
organisation_id: string;
|
|
202
202
|
file_type: FileType;
|
|
203
203
|
fleet_fuel_refill_id: string;
|
|
204
|
-
file_name?: string | undefined;
|
|
205
204
|
file_url?: string | undefined;
|
|
206
205
|
file_key?: string | undefined;
|
|
206
|
+
file_name?: string | undefined;
|
|
207
207
|
file_description?: string | undefined;
|
|
208
208
|
file_size?: unknown;
|
|
209
209
|
file_metadata?: Record<string, any> | undefined;
|
|
210
210
|
}>, "many">>>;
|
|
211
211
|
}, "strip", z.ZodTypeAny, {
|
|
212
|
+
odometer_reading: number;
|
|
213
|
+
date_time: string;
|
|
214
|
+
entry_source: RefillEntrySource;
|
|
215
|
+
source_reference_id: string;
|
|
216
|
+
source_notes: string;
|
|
217
|
+
admin_verify_status: GPSFuelApproveStatus;
|
|
218
|
+
transporter_verify_status: GPSFuelApproveStatus;
|
|
219
|
+
google_location: string;
|
|
212
220
|
status: Status;
|
|
213
221
|
organisation_id: string;
|
|
214
222
|
user_id: string;
|
|
215
223
|
vehicle_id: string;
|
|
216
224
|
driver_id: string;
|
|
217
225
|
device_id: string;
|
|
218
|
-
time_zone_id: string;
|
|
219
226
|
vehicle_fuel_type_id: string;
|
|
220
|
-
odometer_reading: number;
|
|
221
|
-
google_location: string;
|
|
222
227
|
vehicle_fuel_unit_id: string;
|
|
228
|
+
time_zone_id: string;
|
|
223
229
|
before_refill_quantity: number;
|
|
224
230
|
after_refill_quantity: number;
|
|
225
231
|
refill_quantity: number;
|
|
226
232
|
verified_refill_quantity: number;
|
|
227
233
|
is_full_tank: YesNo;
|
|
228
234
|
is_previous_entries_missed: YesNo;
|
|
229
|
-
date_time: string;
|
|
230
235
|
invoice_number: string;
|
|
231
236
|
payment_mode: PaymentMode;
|
|
232
237
|
payment_status: PaymentStatus;
|
|
@@ -237,50 +242,50 @@ declare const FleetFuelRefillSchema: z.ZodObject<{
|
|
|
237
242
|
refill_details: string;
|
|
238
243
|
payment_details: string;
|
|
239
244
|
filled_by_person: string;
|
|
240
|
-
entry_source: RefillEntrySource;
|
|
241
|
-
source_reference_id: string;
|
|
242
|
-
source_notes: string;
|
|
243
|
-
admin_verify_status: GPSFuelApproveStatus;
|
|
244
|
-
transporter_verify_status: GPSFuelApproveStatus;
|
|
245
245
|
vendor_id: string;
|
|
246
246
|
fuel_station_id: string;
|
|
247
247
|
refill_files: {
|
|
248
248
|
status: Status;
|
|
249
249
|
organisation_id: string;
|
|
250
|
-
file_name: string;
|
|
251
250
|
file_type: FileType;
|
|
252
|
-
fleet_fuel_refill_id: string;
|
|
253
251
|
file_url: string;
|
|
254
252
|
file_key: string;
|
|
253
|
+
file_name: string;
|
|
255
254
|
file_description: string;
|
|
256
255
|
file_size: number;
|
|
257
256
|
file_metadata: Record<string, any>;
|
|
257
|
+
fleet_fuel_refill_id: string;
|
|
258
258
|
}[];
|
|
259
|
+
cost_per_unit?: number | undefined;
|
|
260
|
+
total_cost?: number | undefined;
|
|
259
261
|
latitude?: number | undefined;
|
|
260
262
|
longitude?: 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
|
is_full_tank: YesNo;
|
|
275
278
|
is_previous_entries_missed: YesNo;
|
|
276
|
-
date_time: string;
|
|
277
279
|
payment_mode: PaymentMode;
|
|
278
280
|
payment_status: PaymentStatus;
|
|
279
|
-
admin_verify_status: GPSFuelApproveStatus;
|
|
280
|
-
transporter_verify_status: GPSFuelApproveStatus;
|
|
281
281
|
vendor_id: string;
|
|
282
282
|
fuel_station_id: string;
|
|
283
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;
|
|
284
289
|
latitude?: unknown;
|
|
285
290
|
longitude?: unknown;
|
|
286
291
|
google_location?: string | undefined;
|
|
@@ -289,8 +294,6 @@ declare const FleetFuelRefillSchema: z.ZodObject<{
|
|
|
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
297
|
invoice_number?: string | undefined;
|
|
295
298
|
payment_reference_number?: string | undefined;
|
|
296
299
|
fuel_card_number?: string | undefined;
|
|
@@ -299,17 +302,14 @@ declare const FleetFuelRefillSchema: z.ZodObject<{
|
|
|
299
302
|
refill_details?: string | undefined;
|
|
300
303
|
payment_details?: string | undefined;
|
|
301
304
|
filled_by_person?: string | undefined;
|
|
302
|
-
entry_source?: RefillEntrySource | undefined;
|
|
303
|
-
source_reference_id?: string | undefined;
|
|
304
|
-
source_notes?: string | undefined;
|
|
305
305
|
refill_files?: {
|
|
306
306
|
status: Status;
|
|
307
307
|
organisation_id: string;
|
|
308
308
|
file_type: FileType;
|
|
309
309
|
fleet_fuel_refill_id: string;
|
|
310
|
-
file_name?: string | undefined;
|
|
311
310
|
file_url?: string | undefined;
|
|
312
311
|
file_key?: string | undefined;
|
|
312
|
+
file_name?: string | undefined;
|
|
313
313
|
file_description?: string | undefined;
|
|
314
314
|
file_size?: unknown;
|
|
315
315
|
file_metadata?: Record<string, any> | undefined;
|
|
@@ -363,7 +363,11 @@ declare const FleetFuelRefillQuerySchema: z.ZodObject<{
|
|
|
363
363
|
from_date: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
364
364
|
to_date: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
365
365
|
}, "strip", z.ZodTypeAny, {
|
|
366
|
+
entry_source: RefillEntrySource[];
|
|
367
|
+
admin_verify_status: GPSFuelApproveStatus[];
|
|
368
|
+
transporter_verify_status: GPSFuelApproveStatus[];
|
|
366
369
|
status: Status[];
|
|
370
|
+
time_zone_id: string;
|
|
367
371
|
search: string;
|
|
368
372
|
paging: PAGING;
|
|
369
373
|
page_count: number;
|
|
@@ -383,27 +387,26 @@ declare const FleetFuelRefillQuerySchema: z.ZodObject<{
|
|
|
383
387
|
}[];
|
|
384
388
|
include_master_data: YesNo;
|
|
385
389
|
date_format_id: string;
|
|
386
|
-
time_zone_id: string;
|
|
387
390
|
organisation_ids: string[];
|
|
388
391
|
user_ids: string[];
|
|
389
392
|
vehicle_ids: string[];
|
|
390
393
|
driver_ids: string[];
|
|
391
394
|
device_ids: string[];
|
|
395
|
+
vehicle_fuel_type_ids: string[];
|
|
396
|
+
vehicle_fuel_unit_ids: string[];
|
|
392
397
|
from_date: string;
|
|
393
398
|
to_date: string;
|
|
394
|
-
vehicle_fuel_type_ids: string[];
|
|
395
|
-
entry_source: RefillEntrySource[];
|
|
396
|
-
admin_verify_status: GPSFuelApproveStatus[];
|
|
397
|
-
transporter_verify_status: GPSFuelApproveStatus[];
|
|
398
399
|
vendor_ids: string[];
|
|
399
400
|
fuel_station_ids: string[];
|
|
400
|
-
vehicle_fuel_unit_ids: string[];
|
|
401
401
|
fleet_fuel_refill_ids: string[];
|
|
402
402
|
}, {
|
|
403
|
-
date_format_id: string;
|
|
404
403
|
time_zone_id: string;
|
|
404
|
+
date_format_id: string;
|
|
405
405
|
from_date: string;
|
|
406
406
|
to_date: string;
|
|
407
|
+
entry_source?: RefillEntrySource[] | undefined;
|
|
408
|
+
admin_verify_status?: GPSFuelApproveStatus[] | undefined;
|
|
409
|
+
transporter_verify_status?: GPSFuelApproveStatus[] | undefined;
|
|
407
410
|
status?: Status[] | undefined;
|
|
408
411
|
search?: string | undefined;
|
|
409
412
|
paging?: PAGING | undefined;
|
|
@@ -429,12 +432,9 @@ declare const FleetFuelRefillQuerySchema: z.ZodObject<{
|
|
|
429
432
|
driver_ids?: string[] | undefined;
|
|
430
433
|
device_ids?: string[] | undefined;
|
|
431
434
|
vehicle_fuel_type_ids?: string[] | undefined;
|
|
432
|
-
|
|
433
|
-
admin_verify_status?: GPSFuelApproveStatus[] | undefined;
|
|
434
|
-
transporter_verify_status?: GPSFuelApproveStatus[] | undefined;
|
|
435
|
+
vehicle_fuel_unit_ids?: string[] | undefined;
|
|
435
436
|
vendor_ids?: string[] | undefined;
|
|
436
437
|
fuel_station_ids?: string[] | undefined;
|
|
437
|
-
vehicle_fuel_unit_ids?: string[] | undefined;
|
|
438
438
|
fleet_fuel_refill_ids?: string[] | undefined;
|
|
439
439
|
}>;
|
|
440
440
|
type FleetFuelRefillQueryDTO = z.infer<typeof FleetFuelRefillQuerySchema>;
|