vms-nest-prisma-api-document 6.0.24 → 6.0.26
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 +1 -1
- package/dist/services/account/ticket_service.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 +50 -51
- package/dist/services/fleet/fuel_management/fleet_fuel_removal_service.d.ts +35 -36
- package/dist/services/gps/features/geofence/gps_geofence_data_service.d.ts +11 -11
- package/dist/services/gps/features/geofence/gps_geofence_transaction_service.d.ts +10 -10
- package/dist/services/gps/features/geofence/gps_geofence_transaction_summary_service.d.ts +5 -5
- package/dist/services/gps/features/geofence/trip_geofence_to_geofence_service.d.ts +3 -3
- package/dist/services/gps/features/gps_live_track_share_link_service.d.ts +17 -17
- package/dist/services/gps/features/gps_track_history_share_link_service.d.ts +10 -10
- package/dist/services/gps/reports/gps_models/GpsAlert.d.ts +8 -7
- package/dist/services/gps/reports/gps_models/GpsPacket.d.ts +22 -12
- package/dist/services/gps/reports/gps_models/GpsSensor.d.ts +16 -9
- package/dist/services/gps/reports/gps_reports_mongo_service.d.ts +6 -6
- package/dist/services/gps/reports/gps_reports_mongo_service.js +10 -10
- 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 +4 -130
- package/dist/services/master/vehicle/master_vehicle_document_type_service.d.ts +3 -3
- 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 +4 -135
- 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-BLMLICYW.d.ts → user_organisation_service-De28fHzO.d.ts} +284 -6
- package/package.json +1 -1
- package/dist/services/account/notification_service.d.ts +0 -232
- package/dist/services/account/notification_service.js +0 -529
|
@@ -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-De28fHzO.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 { 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-De28fHzO.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-De28fHzO.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
|
-
|
|
65
|
+
status: Status;
|
|
66
|
+
organisation_id: string;
|
|
67
|
+
user_id: string;
|
|
68
|
+
vehicle_id: string;
|
|
69
|
+
driver_id: string;
|
|
70
|
+
device_id: string;
|
|
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
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;
|
|
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;
|
|
@@ -327,6 +327,7 @@ declare const AllVehiclesFuelDailySummaryQuerySchema: z.ZodObject<{
|
|
|
327
327
|
}, "strip", z.ZodTypeAny, {
|
|
328
328
|
date: string;
|
|
329
329
|
status: Status[];
|
|
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,9 +2,8 @@ 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, e as MasterVehicleFuelUnit } from '../../../user_organisation_service-De28fHzO.js';
|
|
6
6
|
import { MasterMainLandmark } from '../../master/main/master_main_landmark_service.js';
|
|
7
|
-
import { MasterVehicleFuelUnit } from '../../master/vehicle/master_vehicle_fuel_unit_service.js';
|
|
8
7
|
import '../../master/main/master_main_sim_provider_service.js';
|
|
9
8
|
|
|
10
9
|
interface FleetFuelRefill extends Record<string, unknown> {
|
|
@@ -112,24 +111,24 @@ declare const FleetFuelRefillFileSchema: z.ZodObject<{
|
|
|
112
111
|
file_metadata: z.ZodDefault<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
113
112
|
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
114
113
|
}, "strip", z.ZodTypeAny, {
|
|
114
|
+
fleet_fuel_refill_id: string;
|
|
115
115
|
status: Status;
|
|
116
116
|
organisation_id: string;
|
|
117
|
-
file_name: string;
|
|
118
117
|
file_type: FileType;
|
|
119
|
-
fleet_fuel_refill_id: string;
|
|
120
118
|
file_url: string;
|
|
121
119
|
file_key: string;
|
|
120
|
+
file_name: string;
|
|
122
121
|
file_description: string;
|
|
123
122
|
file_size: number;
|
|
124
123
|
file_metadata: Record<string, any>;
|
|
125
124
|
}, {
|
|
125
|
+
fleet_fuel_refill_id: string;
|
|
126
126
|
status: Status;
|
|
127
127
|
organisation_id: string;
|
|
128
128
|
file_type: FileType;
|
|
129
|
-
fleet_fuel_refill_id: string;
|
|
130
|
-
file_name?: string | undefined;
|
|
131
129
|
file_url?: string | undefined;
|
|
132
130
|
file_key?: string | undefined;
|
|
131
|
+
file_name?: string | undefined;
|
|
133
132
|
file_description?: string | undefined;
|
|
134
133
|
file_size?: unknown;
|
|
135
134
|
file_metadata?: Record<string, any> | undefined;
|
|
@@ -188,40 +187,30 @@ declare const FleetFuelRefillSchema: z.ZodObject<{
|
|
|
188
187
|
file_metadata: z.ZodDefault<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
189
188
|
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
190
189
|
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
190
|
+
fleet_fuel_refill_id: string;
|
|
191
191
|
status: Status;
|
|
192
192
|
organisation_id: string;
|
|
193
|
-
file_name: string;
|
|
194
193
|
file_type: FileType;
|
|
195
|
-
fleet_fuel_refill_id: string;
|
|
196
194
|
file_url: string;
|
|
197
195
|
file_key: string;
|
|
196
|
+
file_name: string;
|
|
198
197
|
file_description: string;
|
|
199
198
|
file_size: number;
|
|
200
199
|
file_metadata: Record<string, any>;
|
|
201
200
|
}, {
|
|
201
|
+
fleet_fuel_refill_id: string;
|
|
202
202
|
status: Status;
|
|
203
203
|
organisation_id: string;
|
|
204
204
|
file_type: FileType;
|
|
205
|
-
fleet_fuel_refill_id: string;
|
|
206
|
-
file_name?: string | undefined;
|
|
207
205
|
file_url?: string | undefined;
|
|
208
206
|
file_key?: string | undefined;
|
|
207
|
+
file_name?: string | undefined;
|
|
209
208
|
file_description?: string | undefined;
|
|
210
209
|
file_size?: unknown;
|
|
211
210
|
file_metadata?: Record<string, any> | undefined;
|
|
212
211
|
}>, "many">>>;
|
|
213
212
|
}, "strip", z.ZodTypeAny, {
|
|
214
|
-
status: Status;
|
|
215
|
-
organisation_id: string;
|
|
216
|
-
user_id: string;
|
|
217
|
-
vehicle_id: string;
|
|
218
|
-
driver_id: string;
|
|
219
|
-
device_id: string;
|
|
220
|
-
time_zone_id: string;
|
|
221
|
-
vehicle_fuel_type_id: string;
|
|
222
213
|
odometer_reading: number;
|
|
223
|
-
google_location: string;
|
|
224
|
-
vehicle_fuel_unit_id: string;
|
|
225
214
|
is_full_tank: YesNo;
|
|
226
215
|
is_previous_entries_missed: YesNo;
|
|
227
216
|
date_time: string;
|
|
@@ -240,22 +229,30 @@ declare const FleetFuelRefillSchema: z.ZodObject<{
|
|
|
240
229
|
source_notes: string;
|
|
241
230
|
admin_verify_status: GPSFuelApproveStatus;
|
|
242
231
|
transporter_verify_status: GPSFuelApproveStatus;
|
|
232
|
+
google_location: string;
|
|
233
|
+
status: Status;
|
|
234
|
+
organisation_id: string;
|
|
235
|
+
user_id: string;
|
|
236
|
+
vehicle_id: string;
|
|
237
|
+
driver_id: string;
|
|
238
|
+
device_id: string;
|
|
243
239
|
vendor_id: string;
|
|
244
240
|
fuel_station_id: string;
|
|
241
|
+
vehicle_fuel_type_id: string;
|
|
242
|
+
vehicle_fuel_unit_id: string;
|
|
243
|
+
time_zone_id: string;
|
|
245
244
|
refill_files: {
|
|
245
|
+
fleet_fuel_refill_id: string;
|
|
246
246
|
status: Status;
|
|
247
247
|
organisation_id: string;
|
|
248
|
-
file_name: string;
|
|
249
248
|
file_type: FileType;
|
|
250
|
-
fleet_fuel_refill_id: string;
|
|
251
249
|
file_url: string;
|
|
252
250
|
file_key: string;
|
|
251
|
+
file_name: string;
|
|
253
252
|
file_description: string;
|
|
254
253
|
file_size: number;
|
|
255
254
|
file_metadata: Record<string, any>;
|
|
256
255
|
}[];
|
|
257
|
-
latitude?: number | undefined;
|
|
258
|
-
longitude?: number | undefined;
|
|
259
256
|
before_refill_quantity?: number | undefined;
|
|
260
257
|
after_refill_quantity?: number | undefined;
|
|
261
258
|
refill_quantity?: number | undefined;
|
|
@@ -263,16 +260,9 @@ declare const FleetFuelRefillSchema: z.ZodObject<{
|
|
|
263
260
|
diff_refill_quantity?: number | undefined;
|
|
264
261
|
cost_per_unit?: number | undefined;
|
|
265
262
|
total_cost?: number | undefined;
|
|
263
|
+
latitude?: number | undefined;
|
|
264
|
+
longitude?: number | undefined;
|
|
266
265
|
}, {
|
|
267
|
-
status: Status;
|
|
268
|
-
organisation_id: string;
|
|
269
|
-
user_id: string;
|
|
270
|
-
vehicle_id: string;
|
|
271
|
-
driver_id: string;
|
|
272
|
-
device_id: string;
|
|
273
|
-
time_zone_id: string;
|
|
274
|
-
vehicle_fuel_type_id: string;
|
|
275
|
-
vehicle_fuel_unit_id: string;
|
|
276
266
|
is_full_tank: YesNo;
|
|
277
267
|
is_previous_entries_missed: YesNo;
|
|
278
268
|
date_time: string;
|
|
@@ -280,17 +270,23 @@ declare const FleetFuelRefillSchema: z.ZodObject<{
|
|
|
280
270
|
payment_status: PaymentStatus;
|
|
281
271
|
admin_verify_status: GPSFuelApproveStatus;
|
|
282
272
|
transporter_verify_status: GPSFuelApproveStatus;
|
|
273
|
+
status: Status;
|
|
274
|
+
organisation_id: string;
|
|
275
|
+
user_id: string;
|
|
276
|
+
vehicle_id: string;
|
|
277
|
+
driver_id: string;
|
|
278
|
+
device_id: string;
|
|
283
279
|
vendor_id: string;
|
|
284
280
|
fuel_station_id: string;
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
google_location?: string | undefined;
|
|
281
|
+
vehicle_fuel_type_id: string;
|
|
282
|
+
vehicle_fuel_unit_id: string;
|
|
283
|
+
time_zone_id: string;
|
|
289
284
|
before_refill_quantity?: unknown;
|
|
290
285
|
after_refill_quantity?: unknown;
|
|
291
286
|
refill_quantity?: unknown;
|
|
292
287
|
verified_refill_quantity?: unknown;
|
|
293
288
|
diff_refill_quantity?: unknown;
|
|
289
|
+
odometer_reading?: unknown;
|
|
294
290
|
cost_per_unit?: unknown;
|
|
295
291
|
total_cost?: unknown;
|
|
296
292
|
invoice_number?: string | undefined;
|
|
@@ -304,14 +300,17 @@ declare const FleetFuelRefillSchema: z.ZodObject<{
|
|
|
304
300
|
entry_source?: RefillEntrySource | undefined;
|
|
305
301
|
source_reference_id?: string | undefined;
|
|
306
302
|
source_notes?: string | undefined;
|
|
303
|
+
latitude?: unknown;
|
|
304
|
+
longitude?: unknown;
|
|
305
|
+
google_location?: string | undefined;
|
|
307
306
|
refill_files?: {
|
|
307
|
+
fleet_fuel_refill_id: string;
|
|
308
308
|
status: Status;
|
|
309
309
|
organisation_id: string;
|
|
310
310
|
file_type: FileType;
|
|
311
|
-
fleet_fuel_refill_id: string;
|
|
312
|
-
file_name?: string | undefined;
|
|
313
311
|
file_url?: string | undefined;
|
|
314
312
|
file_key?: string | undefined;
|
|
313
|
+
file_name?: string | undefined;
|
|
315
314
|
file_description?: string | undefined;
|
|
316
315
|
file_size?: unknown;
|
|
317
316
|
file_metadata?: Record<string, any> | undefined;
|
|
@@ -365,7 +364,11 @@ declare const FleetFuelRefillQuerySchema: z.ZodObject<{
|
|
|
365
364
|
from_date: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
366
365
|
to_date: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
367
366
|
}, "strip", z.ZodTypeAny, {
|
|
367
|
+
entry_source: RefillEntrySource[];
|
|
368
|
+
admin_verify_status: GPSFuelApproveStatus[];
|
|
369
|
+
transporter_verify_status: GPSFuelApproveStatus[];
|
|
368
370
|
status: Status[];
|
|
371
|
+
time_zone_id: string;
|
|
369
372
|
search: string;
|
|
370
373
|
paging: PAGING;
|
|
371
374
|
page_count: number;
|
|
@@ -385,27 +388,26 @@ declare const FleetFuelRefillQuerySchema: z.ZodObject<{
|
|
|
385
388
|
}[];
|
|
386
389
|
include_master_data: YesNo;
|
|
387
390
|
date_format_id: string;
|
|
388
|
-
time_zone_id: string;
|
|
389
391
|
organisation_ids: string[];
|
|
390
392
|
user_ids: string[];
|
|
391
393
|
vehicle_ids: string[];
|
|
392
394
|
driver_ids: string[];
|
|
393
395
|
device_ids: string[];
|
|
394
|
-
from_date: string;
|
|
395
|
-
to_date: string;
|
|
396
|
-
vehicle_fuel_type_ids: string[];
|
|
397
|
-
entry_source: RefillEntrySource[];
|
|
398
|
-
admin_verify_status: GPSFuelApproveStatus[];
|
|
399
|
-
transporter_verify_status: GPSFuelApproveStatus[];
|
|
400
396
|
vendor_ids: string[];
|
|
401
397
|
fuel_station_ids: string[];
|
|
398
|
+
vehicle_fuel_type_ids: string[];
|
|
402
399
|
vehicle_fuel_unit_ids: string[];
|
|
403
400
|
fleet_fuel_refill_ids: string[];
|
|
401
|
+
from_date: string;
|
|
402
|
+
to_date: string;
|
|
404
403
|
}, {
|
|
405
|
-
date_format_id: string;
|
|
406
404
|
time_zone_id: string;
|
|
405
|
+
date_format_id: string;
|
|
407
406
|
from_date: string;
|
|
408
407
|
to_date: string;
|
|
408
|
+
entry_source?: RefillEntrySource[] | undefined;
|
|
409
|
+
admin_verify_status?: GPSFuelApproveStatus[] | undefined;
|
|
410
|
+
transporter_verify_status?: GPSFuelApproveStatus[] | undefined;
|
|
409
411
|
status?: Status[] | undefined;
|
|
410
412
|
search?: string | undefined;
|
|
411
413
|
paging?: PAGING | undefined;
|
|
@@ -430,12 +432,9 @@ declare const FleetFuelRefillQuerySchema: z.ZodObject<{
|
|
|
430
432
|
vehicle_ids?: string[] | undefined;
|
|
431
433
|
driver_ids?: string[] | undefined;
|
|
432
434
|
device_ids?: string[] | undefined;
|
|
433
|
-
vehicle_fuel_type_ids?: string[] | undefined;
|
|
434
|
-
entry_source?: RefillEntrySource[] | undefined;
|
|
435
|
-
admin_verify_status?: GPSFuelApproveStatus[] | undefined;
|
|
436
|
-
transporter_verify_status?: GPSFuelApproveStatus[] | undefined;
|
|
437
435
|
vendor_ids?: string[] | undefined;
|
|
438
436
|
fuel_station_ids?: string[] | undefined;
|
|
437
|
+
vehicle_fuel_type_ids?: string[] | undefined;
|
|
439
438
|
vehicle_fuel_unit_ids?: string[] | undefined;
|
|
440
439
|
fleet_fuel_refill_ids?: string[] | undefined;
|
|
441
440
|
}>;
|
|
@@ -2,9 +2,8 @@ import { RefillEntrySource, GPSFuelApproveStatus, Status, FileType, PAGING, Load
|
|
|
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, e as MasterVehicleFuelUnit } from '../../../user_organisation_service-De28fHzO.js';
|
|
6
6
|
import { MasterMainLandmark } from '../../master/main/master_main_landmark_service.js';
|
|
7
|
-
import { MasterVehicleFuelUnit } from '../../master/vehicle/master_vehicle_fuel_unit_service.js';
|
|
8
7
|
import { MasterVehicleFuelRemovalReason } from '../../master/vehicle/master_vehicle_fuel_removal_reason_service.js';
|
|
9
8
|
import '../../master/main/master_main_sim_provider_service.js';
|
|
10
9
|
|
|
@@ -97,10 +96,10 @@ declare const FleetFuelRemovalFileSchema: z.ZodObject<{
|
|
|
97
96
|
}, "strip", z.ZodTypeAny, {
|
|
98
97
|
status: Status;
|
|
99
98
|
organisation_id: string;
|
|
100
|
-
file_name: string;
|
|
101
99
|
file_type: FileType;
|
|
102
100
|
file_url: string;
|
|
103
101
|
file_key: string;
|
|
102
|
+
file_name: string;
|
|
104
103
|
file_description: string;
|
|
105
104
|
file_size: number;
|
|
106
105
|
file_metadata: Record<string, any>;
|
|
@@ -110,9 +109,9 @@ declare const FleetFuelRemovalFileSchema: z.ZodObject<{
|
|
|
110
109
|
organisation_id: string;
|
|
111
110
|
file_type: FileType;
|
|
112
111
|
fleet_fuel_removal_id: string;
|
|
113
|
-
file_name?: string | undefined;
|
|
114
112
|
file_url?: string | undefined;
|
|
115
113
|
file_key?: string | undefined;
|
|
114
|
+
file_name?: string | undefined;
|
|
116
115
|
file_description?: string | undefined;
|
|
117
116
|
file_size?: unknown;
|
|
118
117
|
file_metadata?: Record<string, any> | undefined;
|
|
@@ -161,10 +160,10 @@ declare const FleetFuelRemovalSchema: z.ZodObject<{
|
|
|
161
160
|
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
162
161
|
status: Status;
|
|
163
162
|
organisation_id: string;
|
|
164
|
-
file_name: string;
|
|
165
163
|
file_type: FileType;
|
|
166
164
|
file_url: string;
|
|
167
165
|
file_key: string;
|
|
166
|
+
file_name: string;
|
|
168
167
|
file_description: string;
|
|
169
168
|
file_size: number;
|
|
170
169
|
file_metadata: Record<string, any>;
|
|
@@ -174,77 +173,77 @@ declare const FleetFuelRemovalSchema: z.ZodObject<{
|
|
|
174
173
|
organisation_id: string;
|
|
175
174
|
file_type: FileType;
|
|
176
175
|
fleet_fuel_removal_id: string;
|
|
177
|
-
file_name?: string | undefined;
|
|
178
176
|
file_url?: string | undefined;
|
|
179
177
|
file_key?: string | undefined;
|
|
178
|
+
file_name?: string | undefined;
|
|
180
179
|
file_description?: string | undefined;
|
|
181
180
|
file_size?: unknown;
|
|
182
181
|
file_metadata?: Record<string, any> | undefined;
|
|
183
182
|
}>, "many">>>;
|
|
184
183
|
}, "strip", z.ZodTypeAny, {
|
|
184
|
+
odometer_reading: number;
|
|
185
|
+
date_time: string;
|
|
186
|
+
entry_source: RefillEntrySource;
|
|
187
|
+
source_reference_id: string;
|
|
188
|
+
source_notes: string;
|
|
189
|
+
admin_verify_status: GPSFuelApproveStatus;
|
|
190
|
+
transporter_verify_status: GPSFuelApproveStatus;
|
|
191
|
+
google_location: string;
|
|
185
192
|
status: Status;
|
|
186
193
|
organisation_id: string;
|
|
187
194
|
user_id: string;
|
|
188
195
|
vehicle_id: string;
|
|
189
196
|
driver_id: string;
|
|
190
197
|
device_id: string;
|
|
191
|
-
time_zone_id: string;
|
|
192
198
|
vehicle_fuel_type_id: string;
|
|
193
|
-
odometer_reading: number;
|
|
194
|
-
google_location: string;
|
|
195
199
|
vehicle_fuel_unit_id: string;
|
|
196
|
-
|
|
197
|
-
entry_source: RefillEntrySource;
|
|
198
|
-
source_reference_id: string;
|
|
199
|
-
source_notes: string;
|
|
200
|
-
admin_verify_status: GPSFuelApproveStatus;
|
|
201
|
-
transporter_verify_status: GPSFuelApproveStatus;
|
|
200
|
+
time_zone_id: string;
|
|
202
201
|
fuel_removal_reason_id: string;
|
|
203
202
|
removal_details: string;
|
|
204
203
|
removal_files: {
|
|
205
204
|
status: Status;
|
|
206
205
|
organisation_id: string;
|
|
207
|
-
file_name: string;
|
|
208
206
|
file_type: FileType;
|
|
209
207
|
file_url: string;
|
|
210
208
|
file_key: string;
|
|
209
|
+
file_name: string;
|
|
211
210
|
file_description: string;
|
|
212
211
|
file_size: number;
|
|
213
212
|
file_metadata: Record<string, any>;
|
|
214
213
|
fleet_fuel_removal_id: string;
|
|
215
214
|
}[];
|
|
216
|
-
latitude?: number | undefined;
|
|
217
|
-
longitude?: number | undefined;
|
|
218
215
|
cost_per_unit?: number | undefined;
|
|
219
216
|
total_cost?: number | undefined;
|
|
217
|
+
latitude?: number | undefined;
|
|
218
|
+
longitude?: number | undefined;
|
|
220
219
|
before_removal_quantity?: number | undefined;
|
|
221
220
|
after_removal_quantity?: number | undefined;
|
|
222
221
|
removal_quantity?: number | undefined;
|
|
223
222
|
verified_removal_quantity?: number | undefined;
|
|
224
223
|
diff_removal_quantity?: number | undefined;
|
|
225
224
|
}, {
|
|
225
|
+
date_time: string;
|
|
226
|
+
admin_verify_status: GPSFuelApproveStatus;
|
|
227
|
+
transporter_verify_status: GPSFuelApproveStatus;
|
|
226
228
|
status: Status;
|
|
227
229
|
organisation_id: string;
|
|
228
230
|
user_id: string;
|
|
229
231
|
vehicle_id: string;
|
|
230
232
|
driver_id: string;
|
|
231
233
|
device_id: string;
|
|
232
|
-
time_zone_id: string;
|
|
233
234
|
vehicle_fuel_type_id: string;
|
|
234
235
|
vehicle_fuel_unit_id: string;
|
|
235
|
-
|
|
236
|
-
admin_verify_status: GPSFuelApproveStatus;
|
|
237
|
-
transporter_verify_status: GPSFuelApproveStatus;
|
|
236
|
+
time_zone_id: string;
|
|
238
237
|
fuel_removal_reason_id: string;
|
|
239
238
|
odometer_reading?: unknown;
|
|
240
|
-
latitude?: unknown;
|
|
241
|
-
longitude?: unknown;
|
|
242
|
-
google_location?: string | undefined;
|
|
243
239
|
cost_per_unit?: unknown;
|
|
244
240
|
total_cost?: unknown;
|
|
245
241
|
entry_source?: RefillEntrySource | undefined;
|
|
246
242
|
source_reference_id?: string | undefined;
|
|
247
243
|
source_notes?: string | undefined;
|
|
244
|
+
latitude?: unknown;
|
|
245
|
+
longitude?: unknown;
|
|
246
|
+
google_location?: string | undefined;
|
|
248
247
|
before_removal_quantity?: unknown;
|
|
249
248
|
after_removal_quantity?: unknown;
|
|
250
249
|
removal_quantity?: unknown;
|
|
@@ -256,9 +255,9 @@ declare const FleetFuelRemovalSchema: z.ZodObject<{
|
|
|
256
255
|
organisation_id: string;
|
|
257
256
|
file_type: FileType;
|
|
258
257
|
fleet_fuel_removal_id: string;
|
|
259
|
-
file_name?: string | undefined;
|
|
260
258
|
file_url?: string | undefined;
|
|
261
259
|
file_key?: string | undefined;
|
|
260
|
+
file_name?: string | undefined;
|
|
262
261
|
file_description?: string | undefined;
|
|
263
262
|
file_size?: unknown;
|
|
264
263
|
file_metadata?: Record<string, any> | undefined;
|
|
@@ -310,7 +309,11 @@ declare const FleetFuelRemovalQuerySchema: z.ZodObject<{
|
|
|
310
309
|
from_date: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
311
310
|
to_date: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
312
311
|
}, "strip", z.ZodTypeAny, {
|
|
312
|
+
entry_source: RefillEntrySource[];
|
|
313
|
+
admin_verify_status: GPSFuelApproveStatus[];
|
|
314
|
+
transporter_verify_status: GPSFuelApproveStatus[];
|
|
313
315
|
status: Status[];
|
|
316
|
+
time_zone_id: string;
|
|
314
317
|
search: string;
|
|
315
318
|
paging: PAGING;
|
|
316
319
|
page_count: number;
|
|
@@ -330,25 +333,24 @@ declare const FleetFuelRemovalQuerySchema: z.ZodObject<{
|
|
|
330
333
|
}[];
|
|
331
334
|
include_master_data: YesNo;
|
|
332
335
|
date_format_id: string;
|
|
333
|
-
time_zone_id: string;
|
|
334
336
|
organisation_ids: string[];
|
|
335
337
|
user_ids: string[];
|
|
336
338
|
vehicle_ids: string[];
|
|
337
339
|
driver_ids: string[];
|
|
338
340
|
device_ids: string[];
|
|
339
|
-
from_date: string;
|
|
340
|
-
to_date: string;
|
|
341
341
|
vehicle_fuel_type_ids: string[];
|
|
342
|
-
entry_source: RefillEntrySource[];
|
|
343
|
-
admin_verify_status: GPSFuelApproveStatus[];
|
|
344
|
-
transporter_verify_status: GPSFuelApproveStatus[];
|
|
345
342
|
vehicle_fuel_unit_ids: string[];
|
|
343
|
+
from_date: string;
|
|
344
|
+
to_date: string;
|
|
346
345
|
fuel_removal_reason_ids: string[];
|
|
347
346
|
}, {
|
|
348
|
-
date_format_id: string;
|
|
349
347
|
time_zone_id: string;
|
|
348
|
+
date_format_id: string;
|
|
350
349
|
from_date: string;
|
|
351
350
|
to_date: string;
|
|
351
|
+
entry_source?: RefillEntrySource[] | undefined;
|
|
352
|
+
admin_verify_status?: GPSFuelApproveStatus[] | undefined;
|
|
353
|
+
transporter_verify_status?: GPSFuelApproveStatus[] | undefined;
|
|
352
354
|
status?: Status[] | undefined;
|
|
353
355
|
search?: string | undefined;
|
|
354
356
|
paging?: PAGING | undefined;
|
|
@@ -374,9 +376,6 @@ declare const FleetFuelRemovalQuerySchema: z.ZodObject<{
|
|
|
374
376
|
driver_ids?: string[] | undefined;
|
|
375
377
|
device_ids?: string[] | undefined;
|
|
376
378
|
vehicle_fuel_type_ids?: string[] | undefined;
|
|
377
|
-
entry_source?: RefillEntrySource[] | undefined;
|
|
378
|
-
admin_verify_status?: GPSFuelApproveStatus[] | undefined;
|
|
379
|
-
transporter_verify_status?: GPSFuelApproveStatus[] | undefined;
|
|
380
379
|
vehicle_fuel_unit_ids?: string[] | undefined;
|
|
381
380
|
fuel_removal_reason_ids?: string[] | undefined;
|
|
382
381
|
}>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { GeofenceType, GeofencePurposeType, 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 } from '../../../../user_organisation_service-
|
|
4
|
+
import { U as UserOrganisation } from '../../../../user_organisation_service-De28fHzO.js';
|
|
5
5
|
import '../../../../zod_utils/zod_base_schema.js';
|
|
6
6
|
import '../../../master/main/master_main_sim_provider_service.js';
|
|
7
7
|
|
|
@@ -59,8 +59,6 @@ declare const GPSGeofenceDataSchema: z.ZodObject<{
|
|
|
59
59
|
geofence_purpose_type: z.ZodType<GeofencePurposeType, z.ZodTypeDef, GeofencePurposeType>;
|
|
60
60
|
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
61
61
|
}, "strip", z.ZodTypeAny, {
|
|
62
|
-
status: Status;
|
|
63
|
-
organisation_id: string;
|
|
64
62
|
geofence_name: string;
|
|
65
63
|
location_name: string;
|
|
66
64
|
geofence_type: GeofenceType;
|
|
@@ -70,19 +68,21 @@ declare const GPSGeofenceDataSchema: z.ZodObject<{
|
|
|
70
68
|
}[];
|
|
71
69
|
geofence_description: string;
|
|
72
70
|
geofence_purpose_type: GeofencePurposeType;
|
|
71
|
+
status: Status;
|
|
72
|
+
organisation_id: string;
|
|
73
|
+
radius_km?: number | undefined;
|
|
73
74
|
latitude?: number | undefined;
|
|
74
75
|
longitude?: number | undefined;
|
|
75
|
-
radius_km?: number | undefined;
|
|
76
76
|
}, {
|
|
77
|
-
status: Status;
|
|
78
|
-
organisation_id: string;
|
|
79
77
|
geofence_name: string;
|
|
80
78
|
location_name: string;
|
|
81
79
|
geofence_type: GeofenceType;
|
|
82
80
|
geofence_purpose_type: GeofencePurposeType;
|
|
81
|
+
status: Status;
|
|
82
|
+
organisation_id: string;
|
|
83
|
+
radius_km?: unknown;
|
|
83
84
|
latitude?: unknown;
|
|
84
85
|
longitude?: unknown;
|
|
85
|
-
radius_km?: unknown;
|
|
86
86
|
poliline_data?: {
|
|
87
87
|
latitude?: unknown;
|
|
88
88
|
longitude?: unknown;
|
|
@@ -125,6 +125,8 @@ declare const GPSGeofenceDataQuerySchema: z.ZodObject<{
|
|
|
125
125
|
geofence_type: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof GeofenceType>, "many">>>;
|
|
126
126
|
geofence_purpose_type: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof GeofencePurposeType>, "many">>>;
|
|
127
127
|
}, "strip", z.ZodTypeAny, {
|
|
128
|
+
geofence_type: GeofenceType[];
|
|
129
|
+
geofence_purpose_type: GeofencePurposeType[];
|
|
128
130
|
status: Status[];
|
|
129
131
|
search: string;
|
|
130
132
|
paging: PAGING;
|
|
@@ -147,11 +149,11 @@ declare const GPSGeofenceDataQuerySchema: z.ZodObject<{
|
|
|
147
149
|
date_format_id: string;
|
|
148
150
|
time_zone_id: string;
|
|
149
151
|
organisation_ids: string[];
|
|
150
|
-
geofence_type: GeofenceType[];
|
|
151
|
-
geofence_purpose_type: GeofencePurposeType[];
|
|
152
152
|
}, {
|
|
153
153
|
date_format_id: string;
|
|
154
154
|
time_zone_id: string;
|
|
155
|
+
geofence_type?: GeofenceType[] | undefined;
|
|
156
|
+
geofence_purpose_type?: GeofencePurposeType[] | undefined;
|
|
155
157
|
status?: Status[] | undefined;
|
|
156
158
|
search?: string | undefined;
|
|
157
159
|
paging?: PAGING | undefined;
|
|
@@ -172,8 +174,6 @@ declare const GPSGeofenceDataQuerySchema: z.ZodObject<{
|
|
|
172
174
|
}[] | undefined;
|
|
173
175
|
include_master_data?: YesNo | undefined;
|
|
174
176
|
organisation_ids?: string[] | undefined;
|
|
175
|
-
geofence_type?: GeofenceType[] | undefined;
|
|
176
|
-
geofence_purpose_type?: GeofencePurposeType[] | undefined;
|
|
177
177
|
}>;
|
|
178
178
|
type GPSGeofenceDataQueryDTO = z.infer<typeof GPSGeofenceDataQuerySchema>;
|
|
179
179
|
declare const toGPSGeofenceDataPayload: (data: GPSGeofenceData) => GPSGeofenceDataDTO;
|