vms-nest-prisma-api-document 193.0.0 → 194.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/analytics/user_login_analytics_service.d.ts +3 -3
- package/dist/services/account/analytics/user_page_analytics_service.d.ts +1 -1
- package/dist/services/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/gps_live_track_share_link_service.d.ts +4 -4
- package/dist/services/gps/features/gps_track_history_share_link_service.d.ts +7 -7
- package/dist/services/gps/reports/gps_reports_mongo_service.d.ts +46 -46
- package/dist/services/main/users/user_admin_service.d.ts +0 -6
- package/dist/services/main/users/user_admin_service.js +2 -6
- package/dist/services/master/fleet/master_fleet_incident_severity_service.d.ts +2 -2
- package/dist/services/master/fleet/master_fleet_insurance_claim_status_service.d.ts +2 -2
- package/dist/services/master/main/master_main_landmark_service.d.ts +4 -4
- package/dist/services/master/spare_part/master_spare_part_sub_category_service.d.ts +8 -8
- 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
|
@@ -22,15 +22,15 @@ declare const UserLoginAnalyticsSchema: z.ZodObject<{
|
|
|
22
22
|
}, "strip", z.ZodTypeAny, {
|
|
23
23
|
user_id: string;
|
|
24
24
|
organisation_id: string;
|
|
25
|
-
login_from: LoginFrom;
|
|
26
25
|
country_id: string;
|
|
26
|
+
login_from: LoginFrom;
|
|
27
27
|
os_details: Record<string, any>;
|
|
28
28
|
ip_details: Record<string, any>;
|
|
29
29
|
}, {
|
|
30
30
|
user_id: string;
|
|
31
31
|
organisation_id: string;
|
|
32
|
-
login_from: LoginFrom;
|
|
33
32
|
country_id: string;
|
|
33
|
+
login_from: LoginFrom;
|
|
34
34
|
os_details?: Record<string, any> | undefined;
|
|
35
35
|
ip_details?: Record<string, any> | undefined;
|
|
36
36
|
}>;
|
|
@@ -48,11 +48,11 @@ declare const UserLoginAnalyticsQuerySchema: z.ZodObject<{
|
|
|
48
48
|
organisation_ids: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
49
49
|
country_ids: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
50
50
|
}, "strip", z.ZodTypeAny, {
|
|
51
|
+
login_from: LoginFrom;
|
|
51
52
|
search: string;
|
|
52
53
|
paging: PAGING;
|
|
53
54
|
page_count: number;
|
|
54
55
|
page_index: number;
|
|
55
|
-
login_from: LoginFrom;
|
|
56
56
|
date_format_id: string;
|
|
57
57
|
time_zone_id: string;
|
|
58
58
|
user_ids: string[];
|
|
@@ -43,11 +43,11 @@ declare const UserPageAnalyticsQuerySchema: z.ZodObject<{
|
|
|
43
43
|
user_ids: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
44
44
|
organisation_ids: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
45
45
|
}, "strip", z.ZodTypeAny, {
|
|
46
|
+
login_from: LoginFrom;
|
|
46
47
|
search: string;
|
|
47
48
|
paging: PAGING;
|
|
48
49
|
page_count: number;
|
|
49
50
|
page_index: number;
|
|
50
|
-
login_from: LoginFrom;
|
|
51
51
|
date_format_id: string;
|
|
52
52
|
time_zone_id: string;
|
|
53
53
|
user_ids: string[];
|
|
@@ -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
|
}>;
|
|
@@ -48,17 +48,17 @@ declare const GPSLiveTrackShareLinkNotificationSchema: z.ZodObject<{
|
|
|
48
48
|
cc_email_ids: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
|
|
49
49
|
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
50
50
|
}, "strip", z.ZodTypeAny, {
|
|
51
|
-
gps_live_track_share_link_id: string;
|
|
52
51
|
status: Status;
|
|
53
52
|
organisation_id: string;
|
|
54
53
|
share_channels: ShareChannel.Email[];
|
|
55
54
|
mobile_numbers: string;
|
|
56
55
|
email_ids: string;
|
|
57
56
|
cc_email_ids: string;
|
|
58
|
-
}, {
|
|
59
57
|
gps_live_track_share_link_id: string;
|
|
58
|
+
}, {
|
|
60
59
|
status: Status;
|
|
61
60
|
organisation_id: string;
|
|
61
|
+
gps_live_track_share_link_id: string;
|
|
62
62
|
share_channels?: ShareChannel.Email[] | undefined;
|
|
63
63
|
mobile_numbers?: string | undefined;
|
|
64
64
|
email_ids?: string | undefined;
|
|
@@ -139,6 +139,7 @@ declare const GPSLiveTrackShareLinkQuerySchema: z.ZodObject<{
|
|
|
139
139
|
}, "strip", z.ZodTypeAny, {
|
|
140
140
|
link_status: LinkStatus[];
|
|
141
141
|
status: Status[];
|
|
142
|
+
time_zone_id: string;
|
|
142
143
|
search: string;
|
|
143
144
|
paging: PAGING;
|
|
144
145
|
page_count: number;
|
|
@@ -158,13 +159,12 @@ declare const GPSLiveTrackShareLinkQuerySchema: z.ZodObject<{
|
|
|
158
159
|
}[];
|
|
159
160
|
include_master_data: YesNo;
|
|
160
161
|
date_format_id: string;
|
|
161
|
-
time_zone_id: string;
|
|
162
162
|
organisation_ids: string[];
|
|
163
163
|
vehicle_ids: string[];
|
|
164
164
|
gps_live_track_share_link_ids: string[];
|
|
165
165
|
}, {
|
|
166
|
-
date_format_id: string;
|
|
167
166
|
time_zone_id: string;
|
|
167
|
+
date_format_id: string;
|
|
168
168
|
link_status?: LinkStatus[] | undefined;
|
|
169
169
|
status?: Status[] | undefined;
|
|
170
170
|
search?: string | undefined;
|
|
@@ -48,17 +48,17 @@ declare const GPSTrackHistoryShareLinkNotificationSchema: z.ZodObject<{
|
|
|
48
48
|
cc_email_ids: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
|
|
49
49
|
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
50
50
|
}, "strip", z.ZodTypeAny, {
|
|
51
|
+
gps_track_history_share_link_id: string;
|
|
51
52
|
status: Status;
|
|
52
53
|
organisation_id: string;
|
|
53
54
|
share_channels: ShareChannel.Email[];
|
|
54
55
|
mobile_numbers: string;
|
|
55
56
|
email_ids: string;
|
|
56
57
|
cc_email_ids: string;
|
|
57
|
-
gps_track_history_share_link_id: string;
|
|
58
58
|
}, {
|
|
59
|
+
gps_track_history_share_link_id: string;
|
|
59
60
|
status: Status;
|
|
60
61
|
organisation_id: string;
|
|
61
|
-
gps_track_history_share_link_id: string;
|
|
62
62
|
share_channels?: ShareChannel.Email[] | undefined;
|
|
63
63
|
mobile_numbers?: string | undefined;
|
|
64
64
|
email_ids?: string | undefined;
|
|
@@ -74,21 +74,21 @@ declare const GPSTrackHistoryShareLinkSchema: z.ZodObject<{
|
|
|
74
74
|
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
75
75
|
time_zone_id: z.ZodEffects<z.ZodString, string, string>;
|
|
76
76
|
}, "strip", z.ZodTypeAny, {
|
|
77
|
+
from_date_time: string;
|
|
78
|
+
to_date_time: string;
|
|
77
79
|
link_status: TrackHistoryLinkStatus;
|
|
78
80
|
status: Status;
|
|
79
81
|
organisation_id: string;
|
|
80
82
|
vehicle_id: string;
|
|
81
83
|
time_zone_id: string;
|
|
84
|
+
}, {
|
|
82
85
|
from_date_time: string;
|
|
83
86
|
to_date_time: string;
|
|
84
|
-
}, {
|
|
85
87
|
link_status: TrackHistoryLinkStatus;
|
|
86
88
|
status: Status;
|
|
87
89
|
organisation_id: string;
|
|
88
90
|
vehicle_id: string;
|
|
89
91
|
time_zone_id: string;
|
|
90
|
-
from_date_time: string;
|
|
91
|
-
to_date_time: string;
|
|
92
92
|
}>;
|
|
93
93
|
type GPSTrackHistoryShareLinkDTO = z.infer<typeof GPSTrackHistoryShareLinkSchema>;
|
|
94
94
|
declare const GPSTrackHistoryShareLinkUpdateLinkStatusSchema: z.ZodObject<{
|
|
@@ -137,6 +137,7 @@ declare const GPSTrackHistoryShareLinkQuerySchema: z.ZodObject<{
|
|
|
137
137
|
}, "strip", z.ZodTypeAny, {
|
|
138
138
|
link_status: TrackHistoryLinkStatus[];
|
|
139
139
|
status: Status[];
|
|
140
|
+
time_zone_id: string;
|
|
140
141
|
search: string;
|
|
141
142
|
paging: PAGING;
|
|
142
143
|
page_count: number;
|
|
@@ -156,13 +157,12 @@ declare const GPSTrackHistoryShareLinkQuerySchema: z.ZodObject<{
|
|
|
156
157
|
}[];
|
|
157
158
|
include_master_data: YesNo;
|
|
158
159
|
date_format_id: string;
|
|
159
|
-
time_zone_id: string;
|
|
160
160
|
organisation_ids: string[];
|
|
161
161
|
vehicle_ids: string[];
|
|
162
162
|
gps_track_history_share_link_ids: string[];
|
|
163
163
|
}, {
|
|
164
|
-
date_format_id: string;
|
|
165
164
|
time_zone_id: string;
|
|
165
|
+
date_format_id: string;
|
|
166
166
|
link_status?: TrackHistoryLinkStatus[] | undefined;
|
|
167
167
|
status?: Status[] | undefined;
|
|
168
168
|
search?: string | undefined;
|
|
@@ -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;
|
|
40
37
|
search: string;
|
|
41
38
|
paging: PAGING;
|
|
42
39
|
page_count: number;
|
|
43
40
|
page_index: number;
|
|
41
|
+
login_from: LoginFrom;
|
|
44
42
|
date_format_id: string;
|
|
45
43
|
time_zone_id: string;
|
|
46
|
-
login_from: LoginFrom;
|
|
47
44
|
organisation_id: string;
|
|
45
|
+
db_instance: string;
|
|
46
|
+
db_group: string;
|
|
48
47
|
vehicle_ids: string[];
|
|
49
48
|
from_date: string;
|
|
50
49
|
to_date: string;
|
|
51
50
|
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
|
-
|
|
58
|
-
db_instance: string;
|
|
57
|
+
login_from: LoginFrom;
|
|
59
58
|
date_format_id: string;
|
|
60
59
|
time_zone_id: string;
|
|
61
|
-
login_from: LoginFrom;
|
|
62
60
|
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;
|
|
66
65
|
search?: string | undefined;
|
|
67
66
|
paging?: PAGING | undefined;
|
|
68
67
|
page_count?: unknown;
|
|
69
68
|
page_index?: unknown;
|
|
70
69
|
vehicle_ids?: string[] | undefined;
|
|
71
70
|
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;
|
|
103
100
|
search: string;
|
|
104
101
|
paging: PAGING;
|
|
105
102
|
page_count: number;
|
|
106
103
|
page_index: number;
|
|
104
|
+
login_from: LoginFrom;
|
|
107
105
|
date_format_id: string;
|
|
108
106
|
time_zone_id: string;
|
|
109
|
-
login_from: LoginFrom;
|
|
110
107
|
organisation_id: string;
|
|
108
|
+
db_instance: string;
|
|
109
|
+
db_group: string;
|
|
111
110
|
from_date: string;
|
|
112
111
|
to_date: string;
|
|
113
112
|
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
|
-
|
|
121
|
-
db_instance: string;
|
|
120
|
+
login_from: LoginFrom;
|
|
122
121
|
date_format_id: string;
|
|
123
122
|
time_zone_id: string;
|
|
124
|
-
login_from: LoginFrom;
|
|
125
123
|
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;
|
|
129
128
|
search?: string | undefined;
|
|
130
129
|
paging?: PAGING | undefined;
|
|
131
130
|
page_count?: unknown;
|
|
132
131
|
page_index?: unknown;
|
|
133
132
|
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;
|
|
162
160
|
search: string;
|
|
163
161
|
paging: PAGING;
|
|
164
162
|
page_count: number;
|
|
165
163
|
page_index: number;
|
|
164
|
+
login_from: LoginFrom;
|
|
166
165
|
date_format_id: string;
|
|
167
166
|
time_zone_id: string;
|
|
168
|
-
login_from: LoginFrom;
|
|
169
167
|
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
|
-
|
|
178
|
-
db_instance: string;
|
|
177
|
+
login_from: LoginFrom;
|
|
179
178
|
date_format_id: string;
|
|
180
179
|
time_zone_id: string;
|
|
181
|
-
login_from: LoginFrom;
|
|
182
180
|
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;
|
|
213
211
|
search: string;
|
|
214
212
|
paging: PAGING;
|
|
215
213
|
page_count: number;
|
|
216
214
|
page_index: number;
|
|
215
|
+
login_from: LoginFrom;
|
|
217
216
|
date_format_id: string;
|
|
218
217
|
time_zone_id: string;
|
|
219
|
-
login_from: LoginFrom;
|
|
220
218
|
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
|
-
|
|
226
|
-
db_instance: string;
|
|
225
|
+
login_from: LoginFrom;
|
|
227
226
|
date_format_id: string;
|
|
228
227
|
time_zone_id: string;
|
|
229
|
-
login_from: LoginFrom;
|
|
230
228
|
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;
|
|
259
257
|
search: string;
|
|
260
258
|
paging: PAGING;
|
|
261
259
|
page_count: number;
|
|
262
260
|
page_index: number;
|
|
261
|
+
login_from: LoginFrom;
|
|
263
262
|
date_format_id: string;
|
|
264
263
|
time_zone_id: string;
|
|
265
|
-
login_from: LoginFrom;
|
|
266
264
|
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
|
-
|
|
273
|
-
db_instance: string;
|
|
272
|
+
login_from: LoginFrom;
|
|
274
273
|
date_format_id: string;
|
|
275
274
|
time_zone_id: string;
|
|
276
|
-
login_from: LoginFrom;
|
|
277
275
|
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;
|
|
304
302
|
search: string;
|
|
305
303
|
paging: PAGING;
|
|
306
304
|
page_count: number;
|
|
307
305
|
page_index: number;
|
|
306
|
+
login_from: LoginFrom;
|
|
308
307
|
date_format_id: string;
|
|
309
308
|
time_zone_id: string;
|
|
310
|
-
login_from: LoginFrom;
|
|
311
309
|
organisation_id: string;
|
|
310
|
+
db_instance: string;
|
|
311
|
+
db_group: string;
|
|
312
312
|
vehicle_id: string;
|
|
313
313
|
}, {
|
|
314
|
-
|
|
315
|
-
db_instance: string;
|
|
314
|
+
login_from: LoginFrom;
|
|
316
315
|
date_format_id: string;
|
|
317
316
|
time_zone_id: string;
|
|
318
|
-
login_from: LoginFrom;
|
|
319
317
|
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;
|
|
351
349
|
search: string;
|
|
352
350
|
paging: PAGING;
|
|
353
351
|
page_count: number;
|
|
354
352
|
page_index: number;
|
|
353
|
+
login_from: LoginFrom;
|
|
355
354
|
date_format_id: string;
|
|
356
355
|
time_zone_id: string;
|
|
357
|
-
login_from: LoginFrom;
|
|
358
356
|
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
|
-
|
|
370
|
-
db_instance: string;
|
|
369
|
+
login_from: LoginFrom;
|
|
371
370
|
date_format_id: string;
|
|
372
371
|
time_zone_id: string;
|
|
373
|
-
login_from: LoginFrom;
|
|
374
372
|
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;
|
|
@@ -93,15 +93,11 @@ type UserAdminLogoDTO = z.infer<typeof UserAdminLogoSchema>;
|
|
|
93
93
|
declare const UserAdminProfileSchema: z.ZodObject<{
|
|
94
94
|
admin_name: z.ZodEffects<z.ZodString, string, string>;
|
|
95
95
|
email: z.ZodEffects<z.ZodString, string, string>;
|
|
96
|
-
password: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
|
|
97
96
|
mobile: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
|
|
98
97
|
admin_image_url: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
|
|
99
98
|
admin_image_key: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
|
|
100
99
|
admin_image_name: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
|
|
101
|
-
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
102
100
|
}, "strip", z.ZodTypeAny, {
|
|
103
|
-
status: Status;
|
|
104
|
-
password: string;
|
|
105
101
|
email: string;
|
|
106
102
|
mobile: string;
|
|
107
103
|
admin_name: string;
|
|
@@ -109,10 +105,8 @@ declare const UserAdminProfileSchema: z.ZodObject<{
|
|
|
109
105
|
admin_image_key: string;
|
|
110
106
|
admin_image_name: string;
|
|
111
107
|
}, {
|
|
112
|
-
status: Status;
|
|
113
108
|
email: string;
|
|
114
109
|
admin_name: string;
|
|
115
|
-
password?: string | undefined;
|
|
116
110
|
mobile?: string | undefined;
|
|
117
111
|
admin_image_url?: string | undefined;
|
|
118
112
|
admin_image_key?: string | undefined;
|
|
@@ -278,12 +278,10 @@ var UserAdminLogoSchema = z3.object({
|
|
|
278
278
|
var UserAdminProfileSchema = z3.object({
|
|
279
279
|
admin_name: stringMandatory("Admin Name", 3, 100),
|
|
280
280
|
email: stringMandatory("Email", 3, 100),
|
|
281
|
-
password: stringOptional("Password", 0, 20),
|
|
282
281
|
mobile: stringOptional("Password", 0, 20),
|
|
283
282
|
admin_image_url: stringOptional("Admin Image URL", 0, 300),
|
|
284
283
|
admin_image_key: stringOptional("Admin Image Key", 0, 300),
|
|
285
|
-
admin_image_name: stringOptional("Admin Image Name", 0, 300)
|
|
286
|
-
status: enumMandatory("Status", Status, "Active" /* Active */)
|
|
284
|
+
admin_image_name: stringOptional("Admin Image Name", 0, 300)
|
|
287
285
|
});
|
|
288
286
|
var UserAdminQuerySchema = BaseQuerySchema.extend({
|
|
289
287
|
admin_ids: multi_select_optional("UserAdmin"),
|
|
@@ -313,12 +311,10 @@ var toUserAdminLogoPayload = (admin) => ({
|
|
|
313
311
|
var toUserAdminProfilePayload = (admin) => ({
|
|
314
312
|
admin_name: admin.admin_name,
|
|
315
313
|
email: admin.email,
|
|
316
|
-
password: admin.password || "",
|
|
317
314
|
mobile: admin.mobile || "",
|
|
318
315
|
admin_image_url: admin.admin_image_url || "",
|
|
319
316
|
admin_image_key: admin.admin_image_key || "",
|
|
320
|
-
admin_image_name: admin.admin_image_name || ""
|
|
321
|
-
status: admin.status
|
|
317
|
+
admin_image_name: admin.admin_image_name || ""
|
|
322
318
|
});
|
|
323
319
|
var newUserAdminPayload = () => ({
|
|
324
320
|
admin_name: "",
|
|
@@ -24,14 +24,14 @@ declare const MasterFleetIncidentSeveritySchema: z.ZodObject<{
|
|
|
24
24
|
description: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
|
|
25
25
|
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
26
26
|
}, "strip", z.ZodTypeAny, {
|
|
27
|
-
fleet_incident_severity: string;
|
|
28
27
|
description: string;
|
|
29
28
|
status: Status;
|
|
30
29
|
organisation_id: string;
|
|
31
|
-
}, {
|
|
32
30
|
fleet_incident_severity: string;
|
|
31
|
+
}, {
|
|
33
32
|
status: Status;
|
|
34
33
|
organisation_id: string;
|
|
34
|
+
fleet_incident_severity: string;
|
|
35
35
|
description?: string | undefined;
|
|
36
36
|
}>;
|
|
37
37
|
type MasterFleetIncidentSeverityDTO = z.infer<typeof MasterFleetIncidentSeveritySchema>;
|
|
@@ -24,14 +24,14 @@ declare const MasterFleetInsuranceClaimStatusSchema: z.ZodObject<{
|
|
|
24
24
|
description: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
|
|
25
25
|
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
26
26
|
}, "strip", z.ZodTypeAny, {
|
|
27
|
+
fleet_insurance_claim_status: string;
|
|
27
28
|
description: string;
|
|
28
29
|
status: Status;
|
|
29
30
|
organisation_id: string;
|
|
30
|
-
fleet_insurance_claim_status: string;
|
|
31
31
|
}, {
|
|
32
|
+
fleet_insurance_claim_status: string;
|
|
32
33
|
status: Status;
|
|
33
34
|
organisation_id: string;
|
|
34
|
-
fleet_insurance_claim_status: string;
|
|
35
35
|
description?: string | undefined;
|
|
36
36
|
}>;
|
|
37
37
|
type MasterFleetInsuranceClaimStatusDTO = z.infer<typeof MasterFleetInsuranceClaimStatusSchema>;
|
|
@@ -39,7 +39,6 @@ declare const MasterMainLandmarkSchema: z.ZodObject<{
|
|
|
39
39
|
longitude: z.ZodOptional<z.ZodEffects<z.ZodDefault<z.ZodNumber>, number, unknown>>;
|
|
40
40
|
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
41
41
|
}, "strip", z.ZodTypeAny, {
|
|
42
|
-
google_location: string;
|
|
43
42
|
status: Status;
|
|
44
43
|
country_id: string;
|
|
45
44
|
state_id: string;
|
|
@@ -48,6 +47,7 @@ declare const MasterMainLandmarkSchema: z.ZodObject<{
|
|
|
48
47
|
locality: string;
|
|
49
48
|
city_district_town: string;
|
|
50
49
|
zip_code: string;
|
|
50
|
+
google_location: string;
|
|
51
51
|
latitude?: number | undefined;
|
|
52
52
|
longitude?: number | undefined;
|
|
53
53
|
}, {
|
|
@@ -57,11 +57,11 @@ declare const MasterMainLandmarkSchema: z.ZodObject<{
|
|
|
57
57
|
landmark_name: string;
|
|
58
58
|
latitude?: unknown;
|
|
59
59
|
longitude?: unknown;
|
|
60
|
-
google_location?: string | undefined;
|
|
61
60
|
location?: string | undefined;
|
|
62
61
|
locality?: string | undefined;
|
|
63
62
|
city_district_town?: string | undefined;
|
|
64
63
|
zip_code?: string | undefined;
|
|
64
|
+
google_location?: string | undefined;
|
|
65
65
|
}>;
|
|
66
66
|
type MasterMainLandmarkDTO = z.infer<typeof MasterMainLandmarkSchema>;
|
|
67
67
|
declare const MasterMainLandmarkQuerySchema: z.ZodObject<{
|
|
@@ -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;
|
|
@@ -29,18 +29,18 @@ declare const MasterSparePartSubCategorySchema: z.ZodObject<{
|
|
|
29
29
|
description: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
|
|
30
30
|
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
31
31
|
}, "strip", z.ZodTypeAny, {
|
|
32
|
-
|
|
32
|
+
sub_category_name: string;
|
|
33
|
+
sub_category_code: string;
|
|
33
34
|
description: string;
|
|
34
35
|
status: Status;
|
|
35
36
|
organisation_id: string;
|
|
37
|
+
spare_part_category_id: string;
|
|
38
|
+
}, {
|
|
36
39
|
sub_category_name: string;
|
|
37
40
|
sub_category_code: string;
|
|
38
|
-
}, {
|
|
39
|
-
spare_part_category_id: string;
|
|
40
41
|
status: Status;
|
|
41
42
|
organisation_id: string;
|
|
42
|
-
|
|
43
|
-
sub_category_code: string;
|
|
43
|
+
spare_part_category_id: string;
|
|
44
44
|
description?: string | undefined;
|
|
45
45
|
}>;
|
|
46
46
|
type MasterSparePartSubCategoryDTO = z.infer<typeof MasterSparePartSubCategorySchema>;
|
|
@@ -162,16 +162,16 @@ declare const MasterSparePartCategorySchema: z.ZodObject<{
|
|
|
162
162
|
description: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
|
|
163
163
|
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
164
164
|
}, "strip", z.ZodTypeAny, {
|
|
165
|
-
category_name: string;
|
|
166
|
-
category_code: string;
|
|
167
165
|
description: string;
|
|
168
166
|
status: Status;
|
|
169
167
|
organisation_id: string;
|
|
170
|
-
}, {
|
|
171
168
|
category_name: string;
|
|
172
169
|
category_code: string;
|
|
170
|
+
}, {
|
|
173
171
|
status: Status;
|
|
174
172
|
organisation_id: string;
|
|
173
|
+
category_name: string;
|
|
174
|
+
category_code: string;
|
|
175
175
|
description?: string | undefined;
|
|
176
176
|
}>;
|
|
177
177
|
type MasterSparePartCategoryDTO = z.infer<typeof MasterSparePartCategorySchema>;
|
|
@@ -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