vms-nest-prisma-api-document 25.0.0 → 27.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/report_preferences.service.d.ts +9 -9
- package/dist/services/account/report_preferences.service.js +13 -13
- package/dist/services/fleet/fuel_management/fleet_fuel_daily_summary_service.d.ts +16 -16
- package/dist/services/fleet/fuel_management/fleet_fuel_refill_service.d.ts +44 -44
- package/dist/services/fleet/fuel_management/fleet_fuel_removal_service.d.ts +29 -29
- package/dist/services/gps/features/geofence/gps_geofence_transaction_service.d.ts +5 -5
- package/dist/services/gps/features/geofence/gps_geofence_transaction_summary_service.d.ts +6 -6
- package/dist/services/gps/features/geofence/trip_geofence_to_geofence_service.d.ts +1 -1
- package/dist/services/gps/reports/gps_reports_mongo_service.d.ts +46 -46
- package/dist/services/master/main/master_main_landmark_service.d.ts +2 -2
- package/dist/services/master/vehicle/master_vehicle_fuel_removal_reason_service.d.ts +2 -2
- package/dist/services/website/contact_us_detail_service.d.ts +1 -1
- package/dist/services/website/faq_service.d.ts +1 -1
- package/package.json +1 -1
|
@@ -169,7 +169,7 @@ declare const OrganisationReportsPreferenceSchema: z.ZodObject<{
|
|
|
169
169
|
report_list: z.ZodDefault<z.ZodArray<z.ZodNativeEnum<typeof ReportList>, "many">>;
|
|
170
170
|
report_channels: z.ZodDefault<z.ZodArray<z.ZodNativeEnum<typeof ReportChannel>, "many">>;
|
|
171
171
|
mobile_numbers: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
|
|
172
|
-
email_ids: z.ZodEffects<z.ZodString, string, string
|
|
172
|
+
email_ids: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
|
|
173
173
|
cc_email_ids: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
|
|
174
174
|
all_vehicles: z.ZodType<YesNo, z.ZodTypeDef, YesNo>;
|
|
175
175
|
vehicle_ids: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
@@ -191,11 +191,11 @@ declare const OrganisationReportsPreferenceSchema: z.ZodObject<{
|
|
|
191
191
|
status: Status;
|
|
192
192
|
organisation_id: string;
|
|
193
193
|
all_vehicles: YesNo;
|
|
194
|
-
email_ids: string;
|
|
195
194
|
report_name: string;
|
|
196
195
|
report_status: OnOff;
|
|
197
196
|
vehicle_ids?: string[] | undefined;
|
|
198
197
|
mobile_numbers?: string | undefined;
|
|
198
|
+
email_ids?: string | undefined;
|
|
199
199
|
cc_email_ids?: string | undefined;
|
|
200
200
|
report_types?: ReportType[] | undefined;
|
|
201
201
|
report_list?: ReportList[] | undefined;
|
|
@@ -297,12 +297,12 @@ declare const OrganisationReportsPreferenceQuerySchema: z.ZodObject<{
|
|
|
297
297
|
report_preference_ids?: string[] | undefined;
|
|
298
298
|
}>;
|
|
299
299
|
type OrganisationReportsPreferenceQueryDTO = z.infer<typeof OrganisationReportsPreferenceQuerySchema>;
|
|
300
|
-
declare const
|
|
301
|
-
declare const
|
|
302
|
-
declare const
|
|
303
|
-
declare const
|
|
304
|
-
declare const
|
|
305
|
-
declare const
|
|
300
|
+
declare const toOrganisationNotificationPreferencePayload: (data: OrganisationReportsPreference) => OrganisationReportsPreferenceDTO;
|
|
301
|
+
declare const newOrganisationNotificationPreferencePayload: () => OrganisationReportsPreferenceDTO;
|
|
302
|
+
declare const findOrganisationNotificationPreference: (data: OrganisationReportsPreferenceQueryDTO) => Promise<FBR<OrganisationReportsPreference[]>>;
|
|
303
|
+
declare const createOrganisationNotificationPreference: (data: OrganisationReportsPreferenceDTO) => Promise<SBR>;
|
|
304
|
+
declare const updateOrganisationNotificationPreference: (id: string, data: OrganisationReportsPreferenceDTO) => Promise<SBR>;
|
|
305
|
+
declare const deleteOrganisationNotificationPreference: (id: string) => Promise<SBR>;
|
|
306
306
|
declare const findUserReportsAutomationMail: (data: OrganisationReportsAutomationMailQueryDTO) => Promise<FBR<OrganisationReportsAutomationMail[]>>;
|
|
307
307
|
|
|
308
|
-
export { type OrganisationReportsAutomationMail, type OrganisationReportsAutomationMailQueryDTO, OrganisationReportsAutomationMailQuerySchema, type OrganisationReportsAutomationMailVehicleLink, type OrganisationReportsPreference, type OrganisationReportsPreferenceDTO, type OrganisationReportsPreferenceQueryDTO, OrganisationReportsPreferenceQuerySchema, OrganisationReportsPreferenceSchema, type OrganisationReportsPreferenceVehicleLink,
|
|
308
|
+
export { type OrganisationReportsAutomationMail, type OrganisationReportsAutomationMailQueryDTO, OrganisationReportsAutomationMailQuerySchema, type OrganisationReportsAutomationMailVehicleLink, type OrganisationReportsPreference, type OrganisationReportsPreferenceDTO, type OrganisationReportsPreferenceQueryDTO, OrganisationReportsPreferenceQuerySchema, OrganisationReportsPreferenceSchema, type OrganisationReportsPreferenceVehicleLink, createOrganisationNotificationPreference, deleteOrganisationNotificationPreference, findOrganisationNotificationPreference, findUserReportsAutomationMail, newOrganisationNotificationPreferencePayload, toOrganisationNotificationPreferencePayload, updateOrganisationNotificationPreference };
|
|
@@ -337,7 +337,7 @@ var OrganisationReportsPreferenceSchema = z3.object({
|
|
|
337
337
|
getAllEnums(ReportChannel)
|
|
338
338
|
),
|
|
339
339
|
mobile_numbers: stringOptional("Mobile Numbers", 0, 300),
|
|
340
|
-
email_ids:
|
|
340
|
+
email_ids: stringOptional("Email IDs", 0, 300),
|
|
341
341
|
cc_email_ids: stringOptional("CC email IDs", 0, 300),
|
|
342
342
|
all_vehicles: enumMandatory("All Vehicles", YesNo, "No" /* No */),
|
|
343
343
|
vehicle_ids: multi_select_optional("MasterVehicle"),
|
|
@@ -366,7 +366,7 @@ var OrganisationReportsPreferenceQuerySchema = BaseQuerySchema.extend({
|
|
|
366
366
|
getAllEnums(ReportChannel)
|
|
367
367
|
)
|
|
368
368
|
});
|
|
369
|
-
var
|
|
369
|
+
var toOrganisationNotificationPreferencePayload = (data) => ({
|
|
370
370
|
organisation_id: data.organisation_id,
|
|
371
371
|
report_name: data.report_name,
|
|
372
372
|
report_status: data.report_status,
|
|
@@ -380,7 +380,7 @@ var toUserReportsPreferencesPayload = (data) => ({
|
|
|
380
380
|
vehicle_ids: data.OrganisationReportsPreferenceVehicleLink?.map((v) => v.vehicle_id) ?? [],
|
|
381
381
|
status: "Active" /* Active */
|
|
382
382
|
});
|
|
383
|
-
var
|
|
383
|
+
var newOrganisationNotificationPreferencePayload = () => ({
|
|
384
384
|
organisation_id: "",
|
|
385
385
|
report_name: "",
|
|
386
386
|
report_status: "On" /* On */,
|
|
@@ -394,16 +394,16 @@ var newUserReportsPreferencesPayload = () => ({
|
|
|
394
394
|
vehicle_ids: [],
|
|
395
395
|
status: "Active" /* Active */
|
|
396
396
|
});
|
|
397
|
-
var
|
|
397
|
+
var findOrganisationNotificationPreference = async (data) => {
|
|
398
398
|
return apiPost(ENDPOINTS.find, data);
|
|
399
399
|
};
|
|
400
|
-
var
|
|
400
|
+
var createOrganisationNotificationPreference = async (data) => {
|
|
401
401
|
return apiPost(ENDPOINTS.create, data);
|
|
402
402
|
};
|
|
403
|
-
var
|
|
403
|
+
var updateOrganisationNotificationPreference = async (id, data) => {
|
|
404
404
|
return apiPatch(ENDPOINTS.update(id), data);
|
|
405
405
|
};
|
|
406
|
-
var
|
|
406
|
+
var deleteOrganisationNotificationPreference = async (id) => {
|
|
407
407
|
return apiDelete(ENDPOINTS.delete(id));
|
|
408
408
|
};
|
|
409
409
|
var findUserReportsAutomationMail = async (data) => {
|
|
@@ -413,11 +413,11 @@ export {
|
|
|
413
413
|
OrganisationReportsAutomationMailQuerySchema,
|
|
414
414
|
OrganisationReportsPreferenceQuerySchema,
|
|
415
415
|
OrganisationReportsPreferenceSchema,
|
|
416
|
-
|
|
417
|
-
|
|
416
|
+
createOrganisationNotificationPreference,
|
|
417
|
+
deleteOrganisationNotificationPreference,
|
|
418
|
+
findOrganisationNotificationPreference,
|
|
418
419
|
findUserReportsAutomationMail,
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
updateUserReportsPreferences
|
|
420
|
+
newOrganisationNotificationPreferencePayload,
|
|
421
|
+
toOrganisationNotificationPreferencePayload,
|
|
422
|
+
updateOrganisationNotificationPreference
|
|
423
423
|
};
|
|
@@ -62,22 +62,22 @@ declare const FleetFuelDailySummarySchema: z.ZodObject<{
|
|
|
62
62
|
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
63
63
|
}, "strip", z.ZodTypeAny, {
|
|
64
64
|
date: string;
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
user_id: string;
|
|
68
|
-
vehicle_id: string;
|
|
69
|
-
driver_id: string;
|
|
70
|
-
device_id: string;
|
|
65
|
+
start_fuel_liters: number;
|
|
66
|
+
end_fuel_liters: number;
|
|
71
67
|
total_km: number;
|
|
72
68
|
consumed_fuel_liters: number;
|
|
73
69
|
refills_count: number;
|
|
74
|
-
start_fuel_liters: number;
|
|
75
|
-
end_fuel_liters: number;
|
|
76
70
|
refill_liters: number;
|
|
77
71
|
removals_count: number;
|
|
78
72
|
removal_liters: number;
|
|
79
73
|
mileage_kmpl: number;
|
|
80
74
|
liters_per_100km: number;
|
|
75
|
+
status: Status;
|
|
76
|
+
organisation_id: string;
|
|
77
|
+
user_id: string;
|
|
78
|
+
vehicle_id: string;
|
|
79
|
+
driver_id: string;
|
|
80
|
+
device_id: string;
|
|
81
81
|
}, {
|
|
82
82
|
date: string;
|
|
83
83
|
status: Status;
|
|
@@ -86,11 +86,11 @@ declare const FleetFuelDailySummarySchema: z.ZodObject<{
|
|
|
86
86
|
vehicle_id: string;
|
|
87
87
|
driver_id: string;
|
|
88
88
|
device_id: string;
|
|
89
|
+
start_fuel_liters?: unknown;
|
|
90
|
+
end_fuel_liters?: unknown;
|
|
89
91
|
total_km?: unknown;
|
|
90
92
|
consumed_fuel_liters?: unknown;
|
|
91
93
|
refills_count?: unknown;
|
|
92
|
-
start_fuel_liters?: unknown;
|
|
93
|
-
end_fuel_liters?: unknown;
|
|
94
94
|
refill_liters?: unknown;
|
|
95
95
|
removals_count?: unknown;
|
|
96
96
|
removal_liters?: unknown;
|
|
@@ -140,7 +140,6 @@ declare const FleetFuelDailySummaryQuerySchema: z.ZodObject<{
|
|
|
140
140
|
day_summary: z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof YesNo>>>;
|
|
141
141
|
}, "strip", z.ZodTypeAny, {
|
|
142
142
|
status: Status[];
|
|
143
|
-
time_zone_id: string;
|
|
144
143
|
search: string;
|
|
145
144
|
paging: PAGING;
|
|
146
145
|
page_count: number;
|
|
@@ -160,6 +159,7 @@ declare const FleetFuelDailySummaryQuerySchema: z.ZodObject<{
|
|
|
160
159
|
}[];
|
|
161
160
|
include_master_data: YesNo;
|
|
162
161
|
date_format_id: string;
|
|
162
|
+
time_zone_id: string;
|
|
163
163
|
organisation_ids: string[];
|
|
164
164
|
user_ids: string[];
|
|
165
165
|
vehicle_ids: string[];
|
|
@@ -170,8 +170,8 @@ declare const FleetFuelDailySummaryQuerySchema: z.ZodObject<{
|
|
|
170
170
|
vehicle_summary: YesNo;
|
|
171
171
|
day_summary: YesNo;
|
|
172
172
|
}, {
|
|
173
|
-
time_zone_id: string;
|
|
174
173
|
date_format_id: string;
|
|
174
|
+
time_zone_id: string;
|
|
175
175
|
from_date: string;
|
|
176
176
|
to_date: string;
|
|
177
177
|
status?: Status[] | undefined;
|
|
@@ -239,7 +239,6 @@ declare const FleetFuelDailyMonthlySummaryQuerySchema: z.ZodObject<{
|
|
|
239
239
|
to_date: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
240
240
|
}, "strip", z.ZodTypeAny, {
|
|
241
241
|
status: Status[];
|
|
242
|
-
time_zone_id: string;
|
|
243
242
|
search: string;
|
|
244
243
|
paging: PAGING;
|
|
245
244
|
page_count: number;
|
|
@@ -259,13 +258,14 @@ declare const FleetFuelDailyMonthlySummaryQuerySchema: z.ZodObject<{
|
|
|
259
258
|
}[];
|
|
260
259
|
include_master_data: YesNo;
|
|
261
260
|
date_format_id: string;
|
|
261
|
+
time_zone_id: string;
|
|
262
262
|
organisation_ids: string[];
|
|
263
263
|
vehicle_ids: string[];
|
|
264
264
|
from_date: string;
|
|
265
265
|
to_date: string;
|
|
266
266
|
}, {
|
|
267
|
-
time_zone_id: string;
|
|
268
267
|
date_format_id: string;
|
|
268
|
+
time_zone_id: string;
|
|
269
269
|
from_date: string;
|
|
270
270
|
to_date: string;
|
|
271
271
|
status?: Status[] | undefined;
|
|
@@ -327,7 +327,6 @@ declare const AllVehiclesFuelDailySummaryQuerySchema: z.ZodObject<{
|
|
|
327
327
|
}, "strip", z.ZodTypeAny, {
|
|
328
328
|
date: string;
|
|
329
329
|
status: Status[];
|
|
330
|
-
time_zone_id: string;
|
|
331
330
|
search: string;
|
|
332
331
|
paging: PAGING;
|
|
333
332
|
page_count: number;
|
|
@@ -347,11 +346,12 @@ declare const AllVehiclesFuelDailySummaryQuerySchema: z.ZodObject<{
|
|
|
347
346
|
}[];
|
|
348
347
|
include_master_data: YesNo;
|
|
349
348
|
date_format_id: string;
|
|
349
|
+
time_zone_id: string;
|
|
350
350
|
organisation_utrack_id: string;
|
|
351
351
|
}, {
|
|
352
352
|
date: string;
|
|
353
|
-
time_zone_id: string;
|
|
354
353
|
date_format_id: string;
|
|
354
|
+
time_zone_id: string;
|
|
355
355
|
organisation_utrack_id: string;
|
|
356
356
|
status?: Status[] | undefined;
|
|
357
357
|
search?: string | undefined;
|
|
@@ -101,7 +101,6 @@ declare const FleetFuelRefillFileSchema: z.ZodObject<{
|
|
|
101
101
|
organisation_id: z.ZodEffects<z.ZodString, string, string>;
|
|
102
102
|
fleet_fuel_refill_id: z.ZodEffects<z.ZodString, string, string>;
|
|
103
103
|
}, "strip", z.ZodTypeAny, {
|
|
104
|
-
fleet_fuel_refill_id: string;
|
|
105
104
|
status: Status;
|
|
106
105
|
organisation_id: string;
|
|
107
106
|
usage_type: string;
|
|
@@ -112,12 +111,13 @@ declare const FleetFuelRefillFileSchema: z.ZodObject<{
|
|
|
112
111
|
file_description: string;
|
|
113
112
|
file_size: number;
|
|
114
113
|
file_metadata: Record<string, any>;
|
|
115
|
-
}, {
|
|
116
114
|
fleet_fuel_refill_id: string;
|
|
115
|
+
}, {
|
|
117
116
|
status: Status;
|
|
118
117
|
organisation_id: string;
|
|
119
118
|
usage_type: string;
|
|
120
119
|
file_type: FileType;
|
|
120
|
+
fleet_fuel_refill_id: string;
|
|
121
121
|
file_url?: string | undefined;
|
|
122
122
|
file_key?: string | undefined;
|
|
123
123
|
file_name?: string | undefined;
|
|
@@ -181,7 +181,6 @@ declare const FleetFuelRefillSchema: z.ZodObject<{
|
|
|
181
181
|
organisation_id: z.ZodEffects<z.ZodString, string, string>;
|
|
182
182
|
fleet_fuel_refill_id: z.ZodEffects<z.ZodString, string, string>;
|
|
183
183
|
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
184
|
-
fleet_fuel_refill_id: string;
|
|
185
184
|
status: Status;
|
|
186
185
|
organisation_id: string;
|
|
187
186
|
usage_type: string;
|
|
@@ -192,12 +191,13 @@ declare const FleetFuelRefillSchema: z.ZodObject<{
|
|
|
192
191
|
file_description: string;
|
|
193
192
|
file_size: number;
|
|
194
193
|
file_metadata: Record<string, any>;
|
|
195
|
-
}, {
|
|
196
194
|
fleet_fuel_refill_id: string;
|
|
195
|
+
}, {
|
|
197
196
|
status: Status;
|
|
198
197
|
organisation_id: string;
|
|
199
198
|
usage_type: string;
|
|
200
199
|
file_type: FileType;
|
|
200
|
+
fleet_fuel_refill_id: string;
|
|
201
201
|
file_url?: string | undefined;
|
|
202
202
|
file_key?: string | undefined;
|
|
203
203
|
file_name?: string | undefined;
|
|
@@ -206,6 +206,17 @@ declare const FleetFuelRefillSchema: z.ZodObject<{
|
|
|
206
206
|
file_metadata?: Record<string, any> | undefined;
|
|
207
207
|
}>, "many">>>;
|
|
208
208
|
}, "strip", z.ZodTypeAny, {
|
|
209
|
+
status: Status;
|
|
210
|
+
organisation_id: string;
|
|
211
|
+
user_id: string;
|
|
212
|
+
vehicle_id: string;
|
|
213
|
+
driver_id: string;
|
|
214
|
+
device_id: string;
|
|
215
|
+
time_zone_id: string;
|
|
216
|
+
vehicle_fuel_type_id: string;
|
|
217
|
+
vehicle_fuel_unit_id: string;
|
|
218
|
+
odometer_reading: number;
|
|
219
|
+
google_location: string;
|
|
209
220
|
date_time: string;
|
|
210
221
|
admin_verify_status: GPSFuelApproveStatus;
|
|
211
222
|
transporter_verify_status: GPSFuelApproveStatus;
|
|
@@ -221,23 +232,12 @@ declare const FleetFuelRefillSchema: z.ZodObject<{
|
|
|
221
232
|
payment_reference_number: string;
|
|
222
233
|
fuel_card_number: string;
|
|
223
234
|
payment_notes: string;
|
|
224
|
-
google_location: string;
|
|
225
|
-
odometer_reading: number;
|
|
226
235
|
tank_size: number;
|
|
227
236
|
is_full_tank: YesNo;
|
|
228
237
|
is_previous_entries_missed: YesNo;
|
|
229
|
-
status: Status;
|
|
230
|
-
organisation_id: string;
|
|
231
|
-
user_id: string;
|
|
232
|
-
vehicle_id: string;
|
|
233
|
-
driver_id: string;
|
|
234
|
-
device_id: string;
|
|
235
238
|
vendor_id: string;
|
|
236
239
|
fuel_station_id: string;
|
|
237
|
-
vehicle_fuel_type_id: string;
|
|
238
|
-
vehicle_fuel_unit_id: string;
|
|
239
240
|
FleetFuelRefillFile: {
|
|
240
|
-
fleet_fuel_refill_id: string;
|
|
241
241
|
status: Status;
|
|
242
242
|
organisation_id: string;
|
|
243
243
|
usage_type: string;
|
|
@@ -248,8 +248,10 @@ declare const FleetFuelRefillSchema: z.ZodObject<{
|
|
|
248
248
|
file_description: string;
|
|
249
249
|
file_size: number;
|
|
250
250
|
file_metadata: Record<string, any>;
|
|
251
|
+
fleet_fuel_refill_id: string;
|
|
251
252
|
}[];
|
|
252
|
-
|
|
253
|
+
latitude?: number | undefined;
|
|
254
|
+
longitude?: number | undefined;
|
|
253
255
|
before_refill_quantity?: number | undefined;
|
|
254
256
|
after_refill_quantity?: number | undefined;
|
|
255
257
|
refill_quantity?: number | undefined;
|
|
@@ -257,9 +259,16 @@ declare const FleetFuelRefillSchema: z.ZodObject<{
|
|
|
257
259
|
diff_refill_quantity?: number | undefined;
|
|
258
260
|
cost_per_unit?: number | undefined;
|
|
259
261
|
total_cost?: number | undefined;
|
|
260
|
-
latitude?: number | undefined;
|
|
261
|
-
longitude?: number | undefined;
|
|
262
262
|
}, {
|
|
263
|
+
status: Status;
|
|
264
|
+
organisation_id: string;
|
|
265
|
+
user_id: string;
|
|
266
|
+
vehicle_id: string;
|
|
267
|
+
driver_id: string;
|
|
268
|
+
device_id: string;
|
|
269
|
+
time_zone_id: string;
|
|
270
|
+
vehicle_fuel_type_id: string;
|
|
271
|
+
vehicle_fuel_unit_id: string;
|
|
263
272
|
date_time: string;
|
|
264
273
|
admin_verify_status: GPSFuelApproveStatus;
|
|
265
274
|
transporter_verify_status: GPSFuelApproveStatus;
|
|
@@ -267,17 +276,12 @@ declare const FleetFuelRefillSchema: z.ZodObject<{
|
|
|
267
276
|
payment_status: PaymentStatus;
|
|
268
277
|
is_full_tank: YesNo;
|
|
269
278
|
is_previous_entries_missed: YesNo;
|
|
270
|
-
status: Status;
|
|
271
|
-
organisation_id: string;
|
|
272
|
-
user_id: string;
|
|
273
|
-
vehicle_id: string;
|
|
274
|
-
driver_id: string;
|
|
275
|
-
device_id: string;
|
|
276
279
|
vendor_id: string;
|
|
277
280
|
fuel_station_id: string;
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
+
odometer_reading?: unknown;
|
|
282
|
+
latitude?: unknown;
|
|
283
|
+
longitude?: unknown;
|
|
284
|
+
google_location?: string | undefined;
|
|
281
285
|
before_refill_quantity?: unknown;
|
|
282
286
|
after_refill_quantity?: unknown;
|
|
283
287
|
refill_quantity?: unknown;
|
|
@@ -295,17 +299,13 @@ declare const FleetFuelRefillSchema: z.ZodObject<{
|
|
|
295
299
|
payment_reference_number?: string | undefined;
|
|
296
300
|
fuel_card_number?: string | undefined;
|
|
297
301
|
payment_notes?: string | undefined;
|
|
298
|
-
latitude?: unknown;
|
|
299
|
-
longitude?: unknown;
|
|
300
|
-
google_location?: string | undefined;
|
|
301
|
-
odometer_reading?: unknown;
|
|
302
302
|
tank_size?: unknown;
|
|
303
303
|
FleetFuelRefillFile?: {
|
|
304
|
-
fleet_fuel_refill_id: string;
|
|
305
304
|
status: Status;
|
|
306
305
|
organisation_id: string;
|
|
307
306
|
usage_type: string;
|
|
308
307
|
file_type: FileType;
|
|
308
|
+
fleet_fuel_refill_id: string;
|
|
309
309
|
file_url?: string | undefined;
|
|
310
310
|
file_key?: string | undefined;
|
|
311
311
|
file_name?: string | undefined;
|
|
@@ -362,11 +362,7 @@ declare const FleetFuelRefillQuerySchema: z.ZodObject<{
|
|
|
362
362
|
from_date: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
363
363
|
to_date: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
364
364
|
}, "strip", z.ZodTypeAny, {
|
|
365
|
-
admin_verify_status: GPSFuelApproveStatus[];
|
|
366
|
-
transporter_verify_status: GPSFuelApproveStatus[];
|
|
367
|
-
entry_source: RefillEntrySource[];
|
|
368
365
|
status: Status[];
|
|
369
|
-
time_zone_id: string;
|
|
370
366
|
search: string;
|
|
371
367
|
paging: PAGING;
|
|
372
368
|
page_count: number;
|
|
@@ -386,26 +382,27 @@ declare const FleetFuelRefillQuerySchema: z.ZodObject<{
|
|
|
386
382
|
}[];
|
|
387
383
|
include_master_data: YesNo;
|
|
388
384
|
date_format_id: string;
|
|
385
|
+
time_zone_id: string;
|
|
389
386
|
organisation_ids: string[];
|
|
390
387
|
user_ids: string[];
|
|
391
388
|
vehicle_ids: string[];
|
|
392
389
|
driver_ids: string[];
|
|
393
390
|
device_ids: string[];
|
|
391
|
+
from_date: string;
|
|
392
|
+
to_date: string;
|
|
393
|
+
vehicle_fuel_type_ids: string[];
|
|
394
|
+
admin_verify_status: GPSFuelApproveStatus[];
|
|
395
|
+
transporter_verify_status: GPSFuelApproveStatus[];
|
|
396
|
+
entry_source: RefillEntrySource[];
|
|
394
397
|
vendor_ids: string[];
|
|
395
398
|
fuel_station_ids: string[];
|
|
396
|
-
vehicle_fuel_type_ids: string[];
|
|
397
399
|
vehicle_fuel_unit_ids: string[];
|
|
398
400
|
fleet_fuel_refill_ids: string[];
|
|
399
|
-
from_date: string;
|
|
400
|
-
to_date: string;
|
|
401
401
|
}, {
|
|
402
|
-
time_zone_id: string;
|
|
403
402
|
date_format_id: string;
|
|
403
|
+
time_zone_id: string;
|
|
404
404
|
from_date: string;
|
|
405
405
|
to_date: string;
|
|
406
|
-
admin_verify_status?: GPSFuelApproveStatus[] | undefined;
|
|
407
|
-
transporter_verify_status?: GPSFuelApproveStatus[] | undefined;
|
|
408
|
-
entry_source?: RefillEntrySource[] | undefined;
|
|
409
406
|
status?: Status[] | undefined;
|
|
410
407
|
search?: string | undefined;
|
|
411
408
|
paging?: PAGING | undefined;
|
|
@@ -430,9 +427,12 @@ declare const FleetFuelRefillQuerySchema: z.ZodObject<{
|
|
|
430
427
|
vehicle_ids?: string[] | undefined;
|
|
431
428
|
driver_ids?: string[] | undefined;
|
|
432
429
|
device_ids?: string[] | undefined;
|
|
430
|
+
vehicle_fuel_type_ids?: string[] | undefined;
|
|
431
|
+
admin_verify_status?: GPSFuelApproveStatus[] | undefined;
|
|
432
|
+
transporter_verify_status?: GPSFuelApproveStatus[] | undefined;
|
|
433
|
+
entry_source?: RefillEntrySource[] | undefined;
|
|
433
434
|
vendor_ids?: string[] | undefined;
|
|
434
435
|
fuel_station_ids?: string[] | undefined;
|
|
435
|
-
vehicle_fuel_type_ids?: string[] | undefined;
|
|
436
436
|
vehicle_fuel_unit_ids?: string[] | undefined;
|
|
437
437
|
fleet_fuel_refill_ids?: string[] | undefined;
|
|
438
438
|
}>;
|
|
@@ -177,23 +177,23 @@ declare const FleetFuelRemovalSchema: z.ZodObject<{
|
|
|
177
177
|
file_metadata?: Record<string, any> | undefined;
|
|
178
178
|
}>, "many">>>;
|
|
179
179
|
}, "strip", z.ZodTypeAny, {
|
|
180
|
-
date_time: string;
|
|
181
|
-
admin_verify_status: GPSFuelApproveStatus;
|
|
182
|
-
transporter_verify_status: GPSFuelApproveStatus;
|
|
183
|
-
entry_source: RefillEntrySource;
|
|
184
|
-
source_reference_id: string;
|
|
185
|
-
source_notes: string;
|
|
186
|
-
google_location: string;
|
|
187
|
-
odometer_reading: number;
|
|
188
180
|
status: Status;
|
|
189
181
|
organisation_id: string;
|
|
190
182
|
user_id: string;
|
|
191
183
|
vehicle_id: string;
|
|
192
184
|
driver_id: string;
|
|
193
185
|
device_id: string;
|
|
186
|
+
time_zone_id: string;
|
|
194
187
|
vehicle_fuel_type_id: string;
|
|
195
188
|
vehicle_fuel_unit_id: string;
|
|
196
|
-
|
|
189
|
+
odometer_reading: number;
|
|
190
|
+
google_location: string;
|
|
191
|
+
date_time: string;
|
|
192
|
+
admin_verify_status: GPSFuelApproveStatus;
|
|
193
|
+
transporter_verify_status: GPSFuelApproveStatus;
|
|
194
|
+
entry_source: RefillEntrySource;
|
|
195
|
+
source_reference_id: string;
|
|
196
|
+
source_notes: string;
|
|
197
197
|
fuel_removal_reason_id: string;
|
|
198
198
|
removal_details: string;
|
|
199
199
|
FleetFuelRemovalFile: {
|
|
@@ -209,38 +209,38 @@ declare const FleetFuelRemovalSchema: z.ZodObject<{
|
|
|
209
209
|
file_metadata: Record<string, any>;
|
|
210
210
|
fleet_fuel_removal_id: string;
|
|
211
211
|
}[];
|
|
212
|
-
cost_per_unit?: number | undefined;
|
|
213
|
-
total_cost?: number | undefined;
|
|
214
212
|
latitude?: number | undefined;
|
|
215
213
|
longitude?: number | undefined;
|
|
214
|
+
cost_per_unit?: number | undefined;
|
|
215
|
+
total_cost?: number | undefined;
|
|
216
216
|
before_removal_quantity?: number | undefined;
|
|
217
217
|
after_removal_quantity?: number | undefined;
|
|
218
218
|
removal_quantity?: number | undefined;
|
|
219
219
|
verified_removal_quantity?: number | undefined;
|
|
220
220
|
diff_removal_quantity?: number | undefined;
|
|
221
221
|
}, {
|
|
222
|
-
date_time: string;
|
|
223
|
-
admin_verify_status: GPSFuelApproveStatus;
|
|
224
|
-
transporter_verify_status: GPSFuelApproveStatus;
|
|
225
222
|
status: Status;
|
|
226
223
|
organisation_id: string;
|
|
227
224
|
user_id: string;
|
|
228
225
|
vehicle_id: string;
|
|
229
226
|
driver_id: string;
|
|
230
227
|
device_id: string;
|
|
228
|
+
time_zone_id: string;
|
|
231
229
|
vehicle_fuel_type_id: string;
|
|
232
230
|
vehicle_fuel_unit_id: string;
|
|
233
|
-
|
|
231
|
+
date_time: string;
|
|
232
|
+
admin_verify_status: GPSFuelApproveStatus;
|
|
233
|
+
transporter_verify_status: GPSFuelApproveStatus;
|
|
234
234
|
fuel_removal_reason_id: string;
|
|
235
|
+
odometer_reading?: unknown;
|
|
236
|
+
latitude?: unknown;
|
|
237
|
+
longitude?: unknown;
|
|
238
|
+
google_location?: string | undefined;
|
|
235
239
|
cost_per_unit?: unknown;
|
|
236
240
|
total_cost?: unknown;
|
|
237
241
|
entry_source?: RefillEntrySource | undefined;
|
|
238
242
|
source_reference_id?: string | undefined;
|
|
239
243
|
source_notes?: string | undefined;
|
|
240
|
-
latitude?: unknown;
|
|
241
|
-
longitude?: unknown;
|
|
242
|
-
google_location?: string | undefined;
|
|
243
|
-
odometer_reading?: unknown;
|
|
244
244
|
before_removal_quantity?: unknown;
|
|
245
245
|
after_removal_quantity?: unknown;
|
|
246
246
|
removal_quantity?: unknown;
|
|
@@ -307,11 +307,7 @@ declare const FleetFuelRemovalQuerySchema: z.ZodObject<{
|
|
|
307
307
|
from_date: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
308
308
|
to_date: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
309
309
|
}, "strip", z.ZodTypeAny, {
|
|
310
|
-
admin_verify_status: GPSFuelApproveStatus[];
|
|
311
|
-
transporter_verify_status: GPSFuelApproveStatus[];
|
|
312
|
-
entry_source: RefillEntrySource[];
|
|
313
310
|
status: Status[];
|
|
314
|
-
time_zone_id: string;
|
|
315
311
|
search: string;
|
|
316
312
|
paging: PAGING;
|
|
317
313
|
page_count: number;
|
|
@@ -331,24 +327,25 @@ declare const FleetFuelRemovalQuerySchema: z.ZodObject<{
|
|
|
331
327
|
}[];
|
|
332
328
|
include_master_data: YesNo;
|
|
333
329
|
date_format_id: string;
|
|
330
|
+
time_zone_id: string;
|
|
334
331
|
organisation_ids: string[];
|
|
335
332
|
user_ids: string[];
|
|
336
333
|
vehicle_ids: string[];
|
|
337
334
|
driver_ids: string[];
|
|
338
335
|
device_ids: string[];
|
|
339
|
-
vehicle_fuel_type_ids: string[];
|
|
340
|
-
vehicle_fuel_unit_ids: string[];
|
|
341
336
|
from_date: string;
|
|
342
337
|
to_date: string;
|
|
338
|
+
vehicle_fuel_type_ids: string[];
|
|
339
|
+
admin_verify_status: GPSFuelApproveStatus[];
|
|
340
|
+
transporter_verify_status: GPSFuelApproveStatus[];
|
|
341
|
+
entry_source: RefillEntrySource[];
|
|
342
|
+
vehicle_fuel_unit_ids: string[];
|
|
343
343
|
fuel_removal_reason_ids: string[];
|
|
344
344
|
}, {
|
|
345
|
-
time_zone_id: string;
|
|
346
345
|
date_format_id: string;
|
|
346
|
+
time_zone_id: string;
|
|
347
347
|
from_date: string;
|
|
348
348
|
to_date: string;
|
|
349
|
-
admin_verify_status?: GPSFuelApproveStatus[] | undefined;
|
|
350
|
-
transporter_verify_status?: GPSFuelApproveStatus[] | undefined;
|
|
351
|
-
entry_source?: RefillEntrySource[] | undefined;
|
|
352
349
|
status?: Status[] | undefined;
|
|
353
350
|
search?: string | undefined;
|
|
354
351
|
paging?: PAGING | undefined;
|
|
@@ -374,6 +371,9 @@ declare const FleetFuelRemovalQuerySchema: z.ZodObject<{
|
|
|
374
371
|
driver_ids?: string[] | undefined;
|
|
375
372
|
device_ids?: string[] | undefined;
|
|
376
373
|
vehicle_fuel_type_ids?: string[] | undefined;
|
|
374
|
+
admin_verify_status?: GPSFuelApproveStatus[] | undefined;
|
|
375
|
+
transporter_verify_status?: GPSFuelApproveStatus[] | undefined;
|
|
376
|
+
entry_source?: RefillEntrySource[] | undefined;
|
|
377
377
|
vehicle_fuel_unit_ids?: string[] | undefined;
|
|
378
378
|
fuel_removal_reason_ids?: string[] | undefined;
|
|
379
379
|
}>;
|
|
@@ -36,23 +36,23 @@ declare const GPSGeofenceTransactionSchema: z.ZodObject<{
|
|
|
36
36
|
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
37
37
|
time_zone_id: z.ZodEffects<z.ZodString, string, string>;
|
|
38
38
|
}, "strip", z.ZodTypeAny, {
|
|
39
|
-
geofence_status_type: GeofenceStatusType;
|
|
40
|
-
geofence_time: string;
|
|
41
39
|
status: Status;
|
|
42
40
|
organisation_id: string;
|
|
43
41
|
vehicle_id: string;
|
|
44
42
|
driver_id: string;
|
|
45
43
|
gps_geofence_id: string;
|
|
46
44
|
time_zone_id: string;
|
|
47
|
-
}, {
|
|
48
45
|
geofence_status_type: GeofenceStatusType;
|
|
49
46
|
geofence_time: string;
|
|
47
|
+
}, {
|
|
50
48
|
status: Status;
|
|
51
49
|
organisation_id: string;
|
|
52
50
|
vehicle_id: string;
|
|
53
51
|
driver_id: string;
|
|
54
52
|
gps_geofence_id: string;
|
|
55
53
|
time_zone_id: string;
|
|
54
|
+
geofence_status_type: GeofenceStatusType;
|
|
55
|
+
geofence_time: string;
|
|
56
56
|
}>;
|
|
57
57
|
type GPSGeofenceTransactionDTO = z.infer<typeof GPSGeofenceTransactionSchema>;
|
|
58
58
|
declare const GPSGeofenceTransactionQuerySchema: z.ZodObject<{
|
|
@@ -94,7 +94,6 @@ declare const GPSGeofenceTransactionQuerySchema: z.ZodObject<{
|
|
|
94
94
|
from_date: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
95
95
|
to_date: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
96
96
|
}, "strip", z.ZodTypeAny, {
|
|
97
|
-
geofence_status_type: GeofenceStatusType[];
|
|
98
97
|
status: Status[];
|
|
99
98
|
time_zone_id: string;
|
|
100
99
|
search: string;
|
|
@@ -122,12 +121,12 @@ declare const GPSGeofenceTransactionQuerySchema: z.ZodObject<{
|
|
|
122
121
|
gps_geofence_ids: string[];
|
|
123
122
|
from_date: string;
|
|
124
123
|
to_date: string;
|
|
124
|
+
geofence_status_type: GeofenceStatusType[];
|
|
125
125
|
}, {
|
|
126
126
|
time_zone_id: string;
|
|
127
127
|
date_format_id: string;
|
|
128
128
|
from_date: string;
|
|
129
129
|
to_date: string;
|
|
130
|
-
geofence_status_type?: GeofenceStatusType[] | undefined;
|
|
131
130
|
status?: Status[] | undefined;
|
|
132
131
|
search?: string | undefined;
|
|
133
132
|
paging?: PAGING | undefined;
|
|
@@ -151,6 +150,7 @@ declare const GPSGeofenceTransactionQuerySchema: z.ZodObject<{
|
|
|
151
150
|
vehicle_ids?: string[] | undefined;
|
|
152
151
|
driver_ids?: string[] | undefined;
|
|
153
152
|
gps_geofence_ids?: string[] | undefined;
|
|
153
|
+
geofence_status_type?: GeofenceStatusType[] | undefined;
|
|
154
154
|
}>;
|
|
155
155
|
type GPSGeofenceTransactionQueryDTO = z.infer<typeof GPSGeofenceTransactionQuerySchema>;
|
|
156
156
|
declare const toGPSGeofenceTransactionPayload: (data: GPSGeofenceTransaction) => GPSGeofenceTransactionDTO;
|
|
@@ -46,27 +46,27 @@ declare const GPSGeofenceTransactionSummarySchema: z.ZodObject<{
|
|
|
46
46
|
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
47
47
|
time_zone_id: z.ZodEffects<z.ZodString, string, string>;
|
|
48
48
|
}, "strip", z.ZodTypeAny, {
|
|
49
|
+
geofence_enter_date_time: string;
|
|
50
|
+
geofence_exit_date_time: string;
|
|
51
|
+
duration_seconds: number;
|
|
49
52
|
status: Status;
|
|
50
53
|
organisation_id: string;
|
|
51
54
|
vehicle_id: string;
|
|
52
55
|
driver_id: string;
|
|
53
56
|
gps_geofence_id: string;
|
|
54
|
-
time_zone_id: string;
|
|
55
|
-
geofence_enter_date_time: string;
|
|
56
|
-
geofence_exit_date_time: string;
|
|
57
|
-
duration_seconds: number;
|
|
58
57
|
enter_gps_geofence_transaction_id: string;
|
|
59
58
|
exit_gps_geofence_transaction_id: string;
|
|
59
|
+
time_zone_id: string;
|
|
60
60
|
}, {
|
|
61
|
+
geofence_enter_date_time: string;
|
|
61
62
|
status: Status;
|
|
62
63
|
organisation_id: string;
|
|
63
64
|
vehicle_id: string;
|
|
64
65
|
driver_id: string;
|
|
65
66
|
gps_geofence_id: string;
|
|
66
|
-
time_zone_id: string;
|
|
67
|
-
geofence_enter_date_time: string;
|
|
68
67
|
enter_gps_geofence_transaction_id: string;
|
|
69
68
|
exit_gps_geofence_transaction_id: string;
|
|
69
|
+
time_zone_id: string;
|
|
70
70
|
geofence_exit_date_time?: string | undefined;
|
|
71
71
|
duration_seconds?: unknown;
|
|
72
72
|
}>;
|
|
@@ -55,12 +55,12 @@ declare const TripGeofenceToGeofenceSchema: z.ZodObject<{
|
|
|
55
55
|
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
56
56
|
time_zone_id: z.ZodEffects<z.ZodString, string, string>;
|
|
57
57
|
}, "strip", z.ZodTypeAny, {
|
|
58
|
+
duration_seconds: number;
|
|
58
59
|
status: Status;
|
|
59
60
|
organisation_id: string;
|
|
60
61
|
vehicle_id: string;
|
|
61
62
|
driver_id: string;
|
|
62
63
|
time_zone_id: string;
|
|
63
|
-
duration_seconds: number;
|
|
64
64
|
from_geofence_exit_date_time: string;
|
|
65
65
|
to_geofence_enter_date_time: string;
|
|
66
66
|
travel_duration_seconds: number;
|
|
@@ -34,41 +34,41 @@ declare const MultipleVehicleReportSchema: z.ZodObject<{
|
|
|
34
34
|
vehicle_summary: z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof YesNo>>>;
|
|
35
35
|
driver_summary: z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof YesNo>>>;
|
|
36
36
|
}, "strip", z.ZodTypeAny, {
|
|
37
|
+
db_group: string;
|
|
38
|
+
db_instance: string;
|
|
39
|
+
night_driving: NightDriving;
|
|
37
40
|
search: string;
|
|
38
41
|
paging: PAGING;
|
|
39
42
|
page_count: number;
|
|
40
43
|
page_index: number;
|
|
41
|
-
login_from: LoginFrom;
|
|
42
44
|
date_format_id: string;
|
|
43
45
|
time_zone_id: string;
|
|
46
|
+
login_from: LoginFrom;
|
|
44
47
|
organisation_id: string;
|
|
45
|
-
db_instance: string;
|
|
46
|
-
db_group: string;
|
|
47
48
|
vehicle_ids: string[];
|
|
48
49
|
from_date: string;
|
|
49
50
|
to_date: string;
|
|
50
51
|
time_slot: TimeSlot;
|
|
51
|
-
night_driving: NightDriving;
|
|
52
52
|
over_speed: OverSpeed;
|
|
53
53
|
utilization_km: number;
|
|
54
54
|
vehicle_summary: YesNo;
|
|
55
55
|
driver_summary: YesNo;
|
|
56
56
|
}, {
|
|
57
|
-
|
|
57
|
+
db_group: string;
|
|
58
|
+
db_instance: string;
|
|
58
59
|
date_format_id: string;
|
|
59
60
|
time_zone_id: string;
|
|
61
|
+
login_from: LoginFrom;
|
|
60
62
|
organisation_id: string;
|
|
61
|
-
db_instance: string;
|
|
62
|
-
db_group: string;
|
|
63
63
|
from_date: string;
|
|
64
64
|
to_date: string;
|
|
65
|
+
night_driving?: NightDriving | undefined;
|
|
65
66
|
search?: string | undefined;
|
|
66
67
|
paging?: PAGING | undefined;
|
|
67
68
|
page_count?: unknown;
|
|
68
69
|
page_index?: unknown;
|
|
69
70
|
vehicle_ids?: string[] | undefined;
|
|
70
71
|
time_slot?: TimeSlot | undefined;
|
|
71
|
-
night_driving?: NightDriving | undefined;
|
|
72
72
|
over_speed?: OverSpeed | undefined;
|
|
73
73
|
utilization_km?: unknown;
|
|
74
74
|
vehicle_summary?: YesNo | undefined;
|
|
@@ -97,40 +97,40 @@ declare const MultipleDriverReportSchema: z.ZodObject<{
|
|
|
97
97
|
vehicle_summary: z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof YesNo>>>;
|
|
98
98
|
driver_summary: z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof YesNo>>>;
|
|
99
99
|
}, "strip", z.ZodTypeAny, {
|
|
100
|
+
db_group: string;
|
|
101
|
+
db_instance: string;
|
|
102
|
+
night_driving: NightDriving;
|
|
100
103
|
search: string;
|
|
101
104
|
paging: PAGING;
|
|
102
105
|
page_count: number;
|
|
103
106
|
page_index: number;
|
|
104
|
-
login_from: LoginFrom;
|
|
105
107
|
date_format_id: string;
|
|
106
108
|
time_zone_id: string;
|
|
109
|
+
login_from: LoginFrom;
|
|
107
110
|
organisation_id: string;
|
|
108
|
-
db_instance: string;
|
|
109
|
-
db_group: string;
|
|
110
111
|
from_date: string;
|
|
111
112
|
to_date: string;
|
|
112
113
|
time_slot: TimeSlot;
|
|
113
|
-
night_driving: NightDriving;
|
|
114
114
|
over_speed: OverSpeed;
|
|
115
115
|
utilization_km: number;
|
|
116
116
|
vehicle_summary: YesNo;
|
|
117
117
|
driver_summary: YesNo;
|
|
118
118
|
driver_ids: string[];
|
|
119
119
|
}, {
|
|
120
|
-
|
|
120
|
+
db_group: string;
|
|
121
|
+
db_instance: string;
|
|
121
122
|
date_format_id: string;
|
|
122
123
|
time_zone_id: string;
|
|
124
|
+
login_from: LoginFrom;
|
|
123
125
|
organisation_id: string;
|
|
124
|
-
db_instance: string;
|
|
125
|
-
db_group: string;
|
|
126
126
|
from_date: string;
|
|
127
127
|
to_date: string;
|
|
128
|
+
night_driving?: NightDriving | undefined;
|
|
128
129
|
search?: string | undefined;
|
|
129
130
|
paging?: PAGING | undefined;
|
|
130
131
|
page_count?: unknown;
|
|
131
132
|
page_index?: unknown;
|
|
132
133
|
time_slot?: TimeSlot | undefined;
|
|
133
|
-
night_driving?: NightDriving | undefined;
|
|
134
134
|
over_speed?: OverSpeed | undefined;
|
|
135
135
|
utilization_km?: unknown;
|
|
136
136
|
vehicle_summary?: YesNo | undefined;
|
|
@@ -157,16 +157,16 @@ declare const SimpleReportSchema: z.ZodObject<{
|
|
|
157
157
|
interval_seconds: z.ZodEffects<z.ZodDefault<z.ZodOptional<z.ZodNumber>>, number, unknown>;
|
|
158
158
|
boolean_type: z.ZodType<BooleanType, z.ZodTypeDef, BooleanType>;
|
|
159
159
|
}, "strip", z.ZodTypeAny, {
|
|
160
|
+
db_group: string;
|
|
161
|
+
db_instance: string;
|
|
160
162
|
search: string;
|
|
161
163
|
paging: PAGING;
|
|
162
164
|
page_count: number;
|
|
163
165
|
page_index: number;
|
|
164
|
-
login_from: LoginFrom;
|
|
165
166
|
date_format_id: string;
|
|
166
167
|
time_zone_id: string;
|
|
168
|
+
login_from: LoginFrom;
|
|
167
169
|
organisation_id: string;
|
|
168
|
-
db_instance: string;
|
|
169
|
-
db_group: string;
|
|
170
170
|
vehicle_ids: string[];
|
|
171
171
|
from_date: string;
|
|
172
172
|
to_date: string;
|
|
@@ -174,12 +174,12 @@ declare const SimpleReportSchema: z.ZodObject<{
|
|
|
174
174
|
interval_seconds: number;
|
|
175
175
|
boolean_type: BooleanType;
|
|
176
176
|
}, {
|
|
177
|
-
|
|
177
|
+
db_group: string;
|
|
178
|
+
db_instance: string;
|
|
178
179
|
date_format_id: string;
|
|
179
180
|
time_zone_id: string;
|
|
181
|
+
login_from: LoginFrom;
|
|
180
182
|
organisation_id: string;
|
|
181
|
-
db_instance: string;
|
|
182
|
-
db_group: string;
|
|
183
183
|
from_date: string;
|
|
184
184
|
to_date: string;
|
|
185
185
|
gps_type: GPSType;
|
|
@@ -208,26 +208,26 @@ declare const MultipleVehicleLast24HoursReportSchema: z.ZodObject<{
|
|
|
208
208
|
utilization_km: z.ZodEffects<z.ZodNumber, number, unknown>;
|
|
209
209
|
is12am: z.ZodType<Is12AM, z.ZodTypeDef, Is12AM>;
|
|
210
210
|
}, "strip", z.ZodTypeAny, {
|
|
211
|
+
db_group: string;
|
|
212
|
+
db_instance: string;
|
|
211
213
|
search: string;
|
|
212
214
|
paging: PAGING;
|
|
213
215
|
page_count: number;
|
|
214
216
|
page_index: number;
|
|
215
|
-
login_from: LoginFrom;
|
|
216
217
|
date_format_id: string;
|
|
217
218
|
time_zone_id: string;
|
|
219
|
+
login_from: LoginFrom;
|
|
218
220
|
organisation_id: string;
|
|
219
|
-
db_instance: string;
|
|
220
|
-
db_group: string;
|
|
221
221
|
vehicle_ids: string[];
|
|
222
222
|
utilization_km: number;
|
|
223
223
|
is12am: Is12AM;
|
|
224
224
|
}, {
|
|
225
|
-
|
|
225
|
+
db_group: string;
|
|
226
|
+
db_instance: string;
|
|
226
227
|
date_format_id: string;
|
|
227
228
|
time_zone_id: string;
|
|
229
|
+
login_from: LoginFrom;
|
|
228
230
|
organisation_id: string;
|
|
229
|
-
db_instance: string;
|
|
230
|
-
db_group: string;
|
|
231
231
|
is12am: Is12AM;
|
|
232
232
|
search?: string | undefined;
|
|
233
233
|
paging?: PAGING | undefined;
|
|
@@ -254,27 +254,27 @@ declare const SingleVehicleReportSchema: z.ZodObject<{
|
|
|
254
254
|
to_date_time: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
255
255
|
interval_seconds: z.ZodEffects<z.ZodNumber, number, unknown>;
|
|
256
256
|
}, "strip", z.ZodTypeAny, {
|
|
257
|
+
db_group: string;
|
|
258
|
+
db_instance: string;
|
|
257
259
|
search: string;
|
|
258
260
|
paging: PAGING;
|
|
259
261
|
page_count: number;
|
|
260
262
|
page_index: number;
|
|
261
|
-
login_from: LoginFrom;
|
|
262
263
|
date_format_id: string;
|
|
263
264
|
time_zone_id: string;
|
|
265
|
+
login_from: LoginFrom;
|
|
264
266
|
organisation_id: string;
|
|
265
|
-
db_instance: string;
|
|
266
|
-
db_group: string;
|
|
267
267
|
interval_seconds: number;
|
|
268
268
|
vehicle_id: string;
|
|
269
269
|
from_date_time: string;
|
|
270
270
|
to_date_time: string;
|
|
271
271
|
}, {
|
|
272
|
-
|
|
272
|
+
db_group: string;
|
|
273
|
+
db_instance: string;
|
|
273
274
|
date_format_id: string;
|
|
274
275
|
time_zone_id: string;
|
|
276
|
+
login_from: LoginFrom;
|
|
275
277
|
organisation_id: string;
|
|
276
|
-
db_instance: string;
|
|
277
|
-
db_group: string;
|
|
278
278
|
vehicle_id: string;
|
|
279
279
|
from_date_time: string;
|
|
280
280
|
to_date_time: string;
|
|
@@ -299,24 +299,24 @@ declare const VehicleDashboardSummaryQuerySchema: z.ZodObject<{
|
|
|
299
299
|
db_group: z.ZodEffects<z.ZodString, string, string>;
|
|
300
300
|
vehicle_id: z.ZodEffects<z.ZodString, string, string>;
|
|
301
301
|
}, "strip", z.ZodTypeAny, {
|
|
302
|
+
db_group: string;
|
|
303
|
+
db_instance: string;
|
|
302
304
|
search: string;
|
|
303
305
|
paging: PAGING;
|
|
304
306
|
page_count: number;
|
|
305
307
|
page_index: number;
|
|
306
|
-
login_from: LoginFrom;
|
|
307
308
|
date_format_id: string;
|
|
308
309
|
time_zone_id: string;
|
|
310
|
+
login_from: LoginFrom;
|
|
309
311
|
organisation_id: string;
|
|
310
|
-
db_instance: string;
|
|
311
|
-
db_group: string;
|
|
312
312
|
vehicle_id: string;
|
|
313
313
|
}, {
|
|
314
|
-
|
|
314
|
+
db_group: string;
|
|
315
|
+
db_instance: string;
|
|
315
316
|
date_format_id: string;
|
|
316
317
|
time_zone_id: string;
|
|
318
|
+
login_from: LoginFrom;
|
|
317
319
|
organisation_id: string;
|
|
318
|
-
db_instance: string;
|
|
319
|
-
db_group: string;
|
|
320
320
|
vehicle_id: string;
|
|
321
321
|
search?: string | undefined;
|
|
322
322
|
paging?: PAGING | undefined;
|
|
@@ -346,16 +346,16 @@ declare const AlertReportSchema: z.ZodObject<{
|
|
|
346
346
|
from_date: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
347
347
|
to_date: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
348
348
|
}, "strip", z.ZodTypeAny, {
|
|
349
|
+
db_group: string;
|
|
350
|
+
db_instance: string;
|
|
349
351
|
search: string;
|
|
350
352
|
paging: PAGING;
|
|
351
353
|
page_count: number;
|
|
352
354
|
page_index: number;
|
|
353
|
-
login_from: LoginFrom;
|
|
354
355
|
date_format_id: string;
|
|
355
356
|
time_zone_id: string;
|
|
357
|
+
login_from: LoginFrom;
|
|
356
358
|
organisation_id: string;
|
|
357
|
-
db_instance: string;
|
|
358
|
-
db_group: string;
|
|
359
359
|
vehicle_ids: string[];
|
|
360
360
|
from_date: string;
|
|
361
361
|
to_date: string;
|
|
@@ -366,12 +366,12 @@ declare const AlertReportSchema: z.ZodObject<{
|
|
|
366
366
|
alert_types: AlertType[];
|
|
367
367
|
alert_sub_types: AlertSubType[];
|
|
368
368
|
}, {
|
|
369
|
-
|
|
369
|
+
db_group: string;
|
|
370
|
+
db_instance: string;
|
|
370
371
|
date_format_id: string;
|
|
371
372
|
time_zone_id: string;
|
|
373
|
+
login_from: LoginFrom;
|
|
372
374
|
organisation_id: string;
|
|
373
|
-
db_instance: string;
|
|
374
|
-
db_group: string;
|
|
375
375
|
from_date: string;
|
|
376
376
|
to_date: string;
|
|
377
377
|
search?: string | undefined;
|
|
@@ -100,7 +100,6 @@ declare const MasterMainLandmarkQuerySchema: z.ZodObject<{
|
|
|
100
100
|
landmark_ids: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
101
101
|
}, "strip", z.ZodTypeAny, {
|
|
102
102
|
status: Status[];
|
|
103
|
-
time_zone_id: string;
|
|
104
103
|
search: string;
|
|
105
104
|
paging: PAGING;
|
|
106
105
|
page_count: number;
|
|
@@ -120,12 +119,13 @@ declare const MasterMainLandmarkQuerySchema: z.ZodObject<{
|
|
|
120
119
|
}[];
|
|
121
120
|
include_master_data: YesNo;
|
|
122
121
|
date_format_id: string;
|
|
122
|
+
time_zone_id: string;
|
|
123
123
|
country_ids: string[];
|
|
124
124
|
state_ids: string[];
|
|
125
125
|
landmark_ids: string[];
|
|
126
126
|
}, {
|
|
127
|
-
time_zone_id: string;
|
|
128
127
|
date_format_id: string;
|
|
128
|
+
time_zone_id: string;
|
|
129
129
|
status?: Status[] | undefined;
|
|
130
130
|
search?: string | undefined;
|
|
131
131
|
paging?: PAGING | undefined;
|
|
@@ -70,7 +70,6 @@ declare const MasterVehicleFuelRemovalReasonQuerySchema: z.ZodObject<{
|
|
|
70
70
|
fuel_removal_reason_ids: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
71
71
|
}, "strip", z.ZodTypeAny, {
|
|
72
72
|
status: Status[];
|
|
73
|
-
time_zone_id: string;
|
|
74
73
|
search: string;
|
|
75
74
|
paging: PAGING;
|
|
76
75
|
page_count: number;
|
|
@@ -90,11 +89,12 @@ declare const MasterVehicleFuelRemovalReasonQuerySchema: z.ZodObject<{
|
|
|
90
89
|
}[];
|
|
91
90
|
include_master_data: YesNo;
|
|
92
91
|
date_format_id: string;
|
|
92
|
+
time_zone_id: string;
|
|
93
93
|
organisation_ids: string[];
|
|
94
94
|
fuel_removal_reason_ids: string[];
|
|
95
95
|
}, {
|
|
96
|
-
time_zone_id: string;
|
|
97
96
|
date_format_id: string;
|
|
97
|
+
time_zone_id: string;
|
|
98
98
|
status?: Status[] | undefined;
|
|
99
99
|
search?: string | undefined;
|
|
100
100
|
paging?: PAGING | undefined;
|
|
@@ -31,6 +31,7 @@ declare const ContactUsDetailSchema: z.ZodObject<{
|
|
|
31
31
|
telegram_chat_url: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
|
|
32
32
|
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
33
33
|
}, "strip", z.ZodTypeAny, {
|
|
34
|
+
status: Status;
|
|
34
35
|
mobile_number: string;
|
|
35
36
|
email: string;
|
|
36
37
|
facebook_link: string;
|
|
@@ -41,7 +42,6 @@ declare const ContactUsDetailSchema: z.ZodObject<{
|
|
|
41
42
|
pinterest_link: string;
|
|
42
43
|
whats_app_chat_url: string;
|
|
43
44
|
telegram_chat_url: string;
|
|
44
|
-
status: Status;
|
|
45
45
|
}, {
|
|
46
46
|
status: Status;
|
|
47
47
|
mobile_number?: string | undefined;
|
|
@@ -17,10 +17,10 @@ declare const FaqSchema: z.ZodObject<{
|
|
|
17
17
|
faq_content: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
|
|
18
18
|
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
19
19
|
}, "strip", z.ZodTypeAny, {
|
|
20
|
-
status: Status;
|
|
21
20
|
faq_section: string;
|
|
22
21
|
faq_header: string;
|
|
23
22
|
faq_content: string;
|
|
23
|
+
status: Status;
|
|
24
24
|
}, {
|
|
25
25
|
status: Status;
|
|
26
26
|
faq_section?: string | undefined;
|
package/package.json
CHANGED