vms-nest-prisma-api-document 14.0.0 → 15.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/fleet/fuel_management/fleet_fuel_daily_summary_service.d.ts +16 -16
- package/dist/services/fleet/fuel_management/fleet_fuel_refill_service.d.ts +50 -50
- package/dist/services/fleet/fuel_management/fleet_fuel_removal_service.d.ts +35 -35
- package/dist/services/gps/features/geofence/gps_geofence_service.d.ts +16 -16
- package/dist/services/gps/features/geofence/gps_geofence_transaction_service.d.ts +11 -11
- package/dist/services/gps/features/geofence/gps_geofence_transaction_summary_service.d.ts +14 -14
- package/dist/services/gps/features/geofence/trip_geofence_to_geofence_service.d.ts +7 -7
- package/dist/services/gps/features/user_report_preferences.service.js +2 -2
- package/dist/services/master/main/master_main_eway_bill_provider_service.d.ts +2 -2
- package/dist/services/master/main/master_main_fasttag_bank_service.d.ts +2 -2
- package/dist/services/master/main/master_main_landmark_service.d.ts +6 -6
- package/dist/services/master/vehicle/master_vehicle_fuel_removal_reason_service.d.ts +2 -2
- package/package.json +1 -1
|
@@ -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;
|
|
@@ -111,24 +111,24 @@ declare const FleetFuelRefillFileSchema: z.ZodObject<{
|
|
|
111
111
|
file_metadata: z.ZodDefault<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
112
112
|
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
113
113
|
}, "strip", z.ZodTypeAny, {
|
|
114
|
-
fleet_fuel_refill_id: string;
|
|
115
114
|
status: Status;
|
|
116
115
|
organisation_id: string;
|
|
116
|
+
file_name: string;
|
|
117
117
|
file_type: FileType;
|
|
118
|
+
fleet_fuel_refill_id: string;
|
|
118
119
|
file_url: string;
|
|
119
120
|
file_key: string;
|
|
120
|
-
file_name: string;
|
|
121
121
|
file_description: string;
|
|
122
122
|
file_size: number;
|
|
123
123
|
file_metadata: Record<string, any>;
|
|
124
124
|
}, {
|
|
125
|
-
fleet_fuel_refill_id: string;
|
|
126
125
|
status: Status;
|
|
127
126
|
organisation_id: string;
|
|
128
127
|
file_type: FileType;
|
|
128
|
+
fleet_fuel_refill_id: string;
|
|
129
|
+
file_name?: string | undefined;
|
|
129
130
|
file_url?: string | undefined;
|
|
130
131
|
file_key?: string | undefined;
|
|
131
|
-
file_name?: string | undefined;
|
|
132
132
|
file_description?: string | undefined;
|
|
133
133
|
file_size?: unknown;
|
|
134
134
|
file_metadata?: Record<string, any> | undefined;
|
|
@@ -187,29 +187,40 @@ declare const FleetFuelRefillSchema: z.ZodObject<{
|
|
|
187
187
|
file_metadata: z.ZodDefault<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
188
188
|
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
189
189
|
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
190
|
-
fleet_fuel_refill_id: string;
|
|
191
190
|
status: Status;
|
|
192
191
|
organisation_id: string;
|
|
192
|
+
file_name: string;
|
|
193
193
|
file_type: FileType;
|
|
194
|
+
fleet_fuel_refill_id: string;
|
|
194
195
|
file_url: string;
|
|
195
196
|
file_key: string;
|
|
196
|
-
file_name: string;
|
|
197
197
|
file_description: string;
|
|
198
198
|
file_size: number;
|
|
199
199
|
file_metadata: Record<string, any>;
|
|
200
200
|
}, {
|
|
201
|
-
fleet_fuel_refill_id: string;
|
|
202
201
|
status: Status;
|
|
203
202
|
organisation_id: string;
|
|
204
203
|
file_type: FileType;
|
|
204
|
+
fleet_fuel_refill_id: string;
|
|
205
|
+
file_name?: string | undefined;
|
|
205
206
|
file_url?: string | undefined;
|
|
206
207
|
file_key?: string | undefined;
|
|
207
|
-
file_name?: string | undefined;
|
|
208
208
|
file_description?: string | undefined;
|
|
209
209
|
file_size?: unknown;
|
|
210
210
|
file_metadata?: Record<string, any> | undefined;
|
|
211
211
|
}>, "many">>>;
|
|
212
212
|
}, "strip", z.ZodTypeAny, {
|
|
213
|
+
status: Status;
|
|
214
|
+
organisation_id: string;
|
|
215
|
+
user_id: string;
|
|
216
|
+
vehicle_id: string;
|
|
217
|
+
driver_id: string;
|
|
218
|
+
device_id: string;
|
|
219
|
+
time_zone_id: string;
|
|
220
|
+
vehicle_fuel_type_id: string;
|
|
221
|
+
vehicle_fuel_unit_id: string;
|
|
222
|
+
odometer_reading: number;
|
|
223
|
+
google_location: string;
|
|
213
224
|
date_time: string;
|
|
214
225
|
admin_verify_status: GPSFuelApproveStatus;
|
|
215
226
|
transporter_verify_status: GPSFuelApproveStatus;
|
|
@@ -225,34 +236,25 @@ declare const FleetFuelRefillSchema: z.ZodObject<{
|
|
|
225
236
|
payment_reference_number: string;
|
|
226
237
|
fuel_card_number: string;
|
|
227
238
|
payment_notes: string;
|
|
228
|
-
google_location: string;
|
|
229
|
-
odometer_reading: number;
|
|
230
239
|
tank_size: number;
|
|
231
240
|
is_full_tank: YesNo;
|
|
232
241
|
is_previous_entries_missed: YesNo;
|
|
233
|
-
status: Status;
|
|
234
|
-
organisation_id: string;
|
|
235
|
-
user_id: string;
|
|
236
|
-
vehicle_id: string;
|
|
237
|
-
driver_id: string;
|
|
238
|
-
device_id: string;
|
|
239
242
|
vendor_id: string;
|
|
240
243
|
fuel_station_id: string;
|
|
241
|
-
vehicle_fuel_type_id: string;
|
|
242
|
-
vehicle_fuel_unit_id: string;
|
|
243
|
-
time_zone_id: string;
|
|
244
244
|
refill_files: {
|
|
245
|
-
fleet_fuel_refill_id: string;
|
|
246
245
|
status: Status;
|
|
247
246
|
organisation_id: string;
|
|
247
|
+
file_name: string;
|
|
248
248
|
file_type: FileType;
|
|
249
|
+
fleet_fuel_refill_id: string;
|
|
249
250
|
file_url: string;
|
|
250
251
|
file_key: string;
|
|
251
|
-
file_name: string;
|
|
252
252
|
file_description: string;
|
|
253
253
|
file_size: number;
|
|
254
254
|
file_metadata: Record<string, any>;
|
|
255
255
|
}[];
|
|
256
|
+
latitude?: number | undefined;
|
|
257
|
+
longitude?: number | undefined;
|
|
256
258
|
before_refill_quantity?: number | undefined;
|
|
257
259
|
after_refill_quantity?: number | undefined;
|
|
258
260
|
refill_quantity?: number | undefined;
|
|
@@ -260,9 +262,16 @@ declare const FleetFuelRefillSchema: z.ZodObject<{
|
|
|
260
262
|
diff_refill_quantity?: number | undefined;
|
|
261
263
|
cost_per_unit?: number | undefined;
|
|
262
264
|
total_cost?: number | undefined;
|
|
263
|
-
latitude?: number | undefined;
|
|
264
|
-
longitude?: number | undefined;
|
|
265
265
|
}, {
|
|
266
|
+
status: Status;
|
|
267
|
+
organisation_id: string;
|
|
268
|
+
user_id: string;
|
|
269
|
+
vehicle_id: string;
|
|
270
|
+
driver_id: string;
|
|
271
|
+
device_id: string;
|
|
272
|
+
time_zone_id: string;
|
|
273
|
+
vehicle_fuel_type_id: string;
|
|
274
|
+
vehicle_fuel_unit_id: string;
|
|
266
275
|
date_time: string;
|
|
267
276
|
admin_verify_status: GPSFuelApproveStatus;
|
|
268
277
|
transporter_verify_status: GPSFuelApproveStatus;
|
|
@@ -270,17 +279,12 @@ declare const FleetFuelRefillSchema: z.ZodObject<{
|
|
|
270
279
|
payment_status: PaymentStatus;
|
|
271
280
|
is_full_tank: YesNo;
|
|
272
281
|
is_previous_entries_missed: YesNo;
|
|
273
|
-
status: Status;
|
|
274
|
-
organisation_id: string;
|
|
275
|
-
user_id: string;
|
|
276
|
-
vehicle_id: string;
|
|
277
|
-
driver_id: string;
|
|
278
|
-
device_id: string;
|
|
279
282
|
vendor_id: string;
|
|
280
283
|
fuel_station_id: string;
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
+
odometer_reading?: unknown;
|
|
285
|
+
latitude?: unknown;
|
|
286
|
+
longitude?: unknown;
|
|
287
|
+
google_location?: string | undefined;
|
|
284
288
|
before_refill_quantity?: unknown;
|
|
285
289
|
after_refill_quantity?: unknown;
|
|
286
290
|
refill_quantity?: unknown;
|
|
@@ -298,19 +302,15 @@ declare const FleetFuelRefillSchema: z.ZodObject<{
|
|
|
298
302
|
payment_reference_number?: string | undefined;
|
|
299
303
|
fuel_card_number?: string | undefined;
|
|
300
304
|
payment_notes?: string | undefined;
|
|
301
|
-
latitude?: unknown;
|
|
302
|
-
longitude?: unknown;
|
|
303
|
-
google_location?: string | undefined;
|
|
304
|
-
odometer_reading?: unknown;
|
|
305
305
|
tank_size?: unknown;
|
|
306
306
|
refill_files?: {
|
|
307
|
-
fleet_fuel_refill_id: string;
|
|
308
307
|
status: Status;
|
|
309
308
|
organisation_id: string;
|
|
310
309
|
file_type: FileType;
|
|
310
|
+
fleet_fuel_refill_id: string;
|
|
311
|
+
file_name?: string | undefined;
|
|
311
312
|
file_url?: string | undefined;
|
|
312
313
|
file_key?: string | undefined;
|
|
313
|
-
file_name?: string | undefined;
|
|
314
314
|
file_description?: string | undefined;
|
|
315
315
|
file_size?: unknown;
|
|
316
316
|
file_metadata?: Record<string, any> | undefined;
|
|
@@ -364,11 +364,7 @@ declare const FleetFuelRefillQuerySchema: z.ZodObject<{
|
|
|
364
364
|
from_date: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
365
365
|
to_date: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
366
366
|
}, "strip", z.ZodTypeAny, {
|
|
367
|
-
admin_verify_status: GPSFuelApproveStatus[];
|
|
368
|
-
transporter_verify_status: GPSFuelApproveStatus[];
|
|
369
|
-
entry_source: RefillEntrySource[];
|
|
370
367
|
status: Status[];
|
|
371
|
-
time_zone_id: string;
|
|
372
368
|
search: string;
|
|
373
369
|
paging: PAGING;
|
|
374
370
|
page_count: number;
|
|
@@ -388,26 +384,27 @@ declare const FleetFuelRefillQuerySchema: z.ZodObject<{
|
|
|
388
384
|
}[];
|
|
389
385
|
include_master_data: YesNo;
|
|
390
386
|
date_format_id: string;
|
|
387
|
+
time_zone_id: string;
|
|
391
388
|
organisation_ids: string[];
|
|
392
389
|
user_ids: string[];
|
|
393
390
|
vehicle_ids: string[];
|
|
394
391
|
driver_ids: string[];
|
|
395
392
|
device_ids: string[];
|
|
393
|
+
from_date: string;
|
|
394
|
+
to_date: string;
|
|
395
|
+
vehicle_fuel_type_ids: string[];
|
|
396
|
+
admin_verify_status: GPSFuelApproveStatus[];
|
|
397
|
+
transporter_verify_status: GPSFuelApproveStatus[];
|
|
398
|
+
entry_source: RefillEntrySource[];
|
|
396
399
|
vendor_ids: string[];
|
|
397
400
|
fuel_station_ids: string[];
|
|
398
|
-
vehicle_fuel_type_ids: string[];
|
|
399
401
|
vehicle_fuel_unit_ids: string[];
|
|
400
402
|
fleet_fuel_refill_ids: string[];
|
|
401
|
-
from_date: string;
|
|
402
|
-
to_date: string;
|
|
403
403
|
}, {
|
|
404
|
-
time_zone_id: string;
|
|
405
404
|
date_format_id: string;
|
|
405
|
+
time_zone_id: string;
|
|
406
406
|
from_date: string;
|
|
407
407
|
to_date: string;
|
|
408
|
-
admin_verify_status?: GPSFuelApproveStatus[] | undefined;
|
|
409
|
-
transporter_verify_status?: GPSFuelApproveStatus[] | undefined;
|
|
410
|
-
entry_source?: RefillEntrySource[] | undefined;
|
|
411
408
|
status?: Status[] | undefined;
|
|
412
409
|
search?: string | undefined;
|
|
413
410
|
paging?: PAGING | undefined;
|
|
@@ -432,9 +429,12 @@ declare const FleetFuelRefillQuerySchema: z.ZodObject<{
|
|
|
432
429
|
vehicle_ids?: string[] | undefined;
|
|
433
430
|
driver_ids?: string[] | undefined;
|
|
434
431
|
device_ids?: string[] | undefined;
|
|
432
|
+
vehicle_fuel_type_ids?: string[] | undefined;
|
|
433
|
+
admin_verify_status?: GPSFuelApproveStatus[] | undefined;
|
|
434
|
+
transporter_verify_status?: GPSFuelApproveStatus[] | undefined;
|
|
435
|
+
entry_source?: RefillEntrySource[] | undefined;
|
|
435
436
|
vendor_ids?: string[] | undefined;
|
|
436
437
|
fuel_station_ids?: string[] | undefined;
|
|
437
|
-
vehicle_fuel_type_ids?: string[] | undefined;
|
|
438
438
|
vehicle_fuel_unit_ids?: string[] | undefined;
|
|
439
439
|
fleet_fuel_refill_ids?: string[] | undefined;
|
|
440
440
|
}>;
|
|
@@ -96,10 +96,10 @@ declare const FleetFuelRemovalFileSchema: z.ZodObject<{
|
|
|
96
96
|
}, "strip", z.ZodTypeAny, {
|
|
97
97
|
status: Status;
|
|
98
98
|
organisation_id: string;
|
|
99
|
+
file_name: string;
|
|
99
100
|
file_type: FileType;
|
|
100
101
|
file_url: string;
|
|
101
102
|
file_key: string;
|
|
102
|
-
file_name: string;
|
|
103
103
|
file_description: string;
|
|
104
104
|
file_size: number;
|
|
105
105
|
file_metadata: Record<string, any>;
|
|
@@ -109,9 +109,9 @@ declare const FleetFuelRemovalFileSchema: z.ZodObject<{
|
|
|
109
109
|
organisation_id: string;
|
|
110
110
|
file_type: FileType;
|
|
111
111
|
fleet_fuel_removal_id: string;
|
|
112
|
+
file_name?: string | undefined;
|
|
112
113
|
file_url?: string | undefined;
|
|
113
114
|
file_key?: string | undefined;
|
|
114
|
-
file_name?: string | undefined;
|
|
115
115
|
file_description?: string | undefined;
|
|
116
116
|
file_size?: unknown;
|
|
117
117
|
file_metadata?: Record<string, any> | undefined;
|
|
@@ -160,10 +160,10 @@ declare const FleetFuelRemovalSchema: z.ZodObject<{
|
|
|
160
160
|
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
161
161
|
status: Status;
|
|
162
162
|
organisation_id: string;
|
|
163
|
+
file_name: string;
|
|
163
164
|
file_type: FileType;
|
|
164
165
|
file_url: string;
|
|
165
166
|
file_key: string;
|
|
166
|
-
file_name: string;
|
|
167
167
|
file_description: string;
|
|
168
168
|
file_size: number;
|
|
169
169
|
file_metadata: Record<string, any>;
|
|
@@ -173,77 +173,77 @@ declare const FleetFuelRemovalSchema: z.ZodObject<{
|
|
|
173
173
|
organisation_id: string;
|
|
174
174
|
file_type: FileType;
|
|
175
175
|
fleet_fuel_removal_id: string;
|
|
176
|
+
file_name?: string | undefined;
|
|
176
177
|
file_url?: string | undefined;
|
|
177
178
|
file_key?: string | undefined;
|
|
178
|
-
file_name?: string | undefined;
|
|
179
179
|
file_description?: string | undefined;
|
|
180
180
|
file_size?: unknown;
|
|
181
181
|
file_metadata?: Record<string, any> | undefined;
|
|
182
182
|
}>, "many">>>;
|
|
183
183
|
}, "strip", z.ZodTypeAny, {
|
|
184
|
-
date_time: string;
|
|
185
|
-
admin_verify_status: GPSFuelApproveStatus;
|
|
186
|
-
transporter_verify_status: GPSFuelApproveStatus;
|
|
187
|
-
entry_source: RefillEntrySource;
|
|
188
|
-
source_reference_id: string;
|
|
189
|
-
source_notes: string;
|
|
190
|
-
google_location: string;
|
|
191
|
-
odometer_reading: number;
|
|
192
184
|
status: Status;
|
|
193
185
|
organisation_id: string;
|
|
194
186
|
user_id: string;
|
|
195
187
|
vehicle_id: string;
|
|
196
188
|
driver_id: string;
|
|
197
189
|
device_id: string;
|
|
190
|
+
time_zone_id: string;
|
|
198
191
|
vehicle_fuel_type_id: string;
|
|
199
192
|
vehicle_fuel_unit_id: string;
|
|
200
|
-
|
|
193
|
+
odometer_reading: number;
|
|
194
|
+
google_location: string;
|
|
195
|
+
date_time: string;
|
|
196
|
+
admin_verify_status: GPSFuelApproveStatus;
|
|
197
|
+
transporter_verify_status: GPSFuelApproveStatus;
|
|
198
|
+
entry_source: RefillEntrySource;
|
|
199
|
+
source_reference_id: string;
|
|
200
|
+
source_notes: string;
|
|
201
201
|
fuel_removal_reason_id: string;
|
|
202
202
|
removal_details: string;
|
|
203
203
|
removal_files: {
|
|
204
204
|
status: Status;
|
|
205
205
|
organisation_id: string;
|
|
206
|
+
file_name: string;
|
|
206
207
|
file_type: FileType;
|
|
207
208
|
file_url: string;
|
|
208
209
|
file_key: string;
|
|
209
|
-
file_name: string;
|
|
210
210
|
file_description: string;
|
|
211
211
|
file_size: number;
|
|
212
212
|
file_metadata: Record<string, any>;
|
|
213
213
|
fleet_fuel_removal_id: string;
|
|
214
214
|
}[];
|
|
215
|
-
cost_per_unit?: number | undefined;
|
|
216
|
-
total_cost?: number | undefined;
|
|
217
215
|
latitude?: number | undefined;
|
|
218
216
|
longitude?: number | undefined;
|
|
217
|
+
cost_per_unit?: number | undefined;
|
|
218
|
+
total_cost?: number | undefined;
|
|
219
219
|
before_removal_quantity?: number | undefined;
|
|
220
220
|
after_removal_quantity?: number | undefined;
|
|
221
221
|
removal_quantity?: number | undefined;
|
|
222
222
|
verified_removal_quantity?: number | undefined;
|
|
223
223
|
diff_removal_quantity?: number | undefined;
|
|
224
224
|
}, {
|
|
225
|
-
date_time: string;
|
|
226
|
-
admin_verify_status: GPSFuelApproveStatus;
|
|
227
|
-
transporter_verify_status: GPSFuelApproveStatus;
|
|
228
225
|
status: Status;
|
|
229
226
|
organisation_id: string;
|
|
230
227
|
user_id: string;
|
|
231
228
|
vehicle_id: string;
|
|
232
229
|
driver_id: string;
|
|
233
230
|
device_id: string;
|
|
231
|
+
time_zone_id: string;
|
|
234
232
|
vehicle_fuel_type_id: string;
|
|
235
233
|
vehicle_fuel_unit_id: string;
|
|
236
|
-
|
|
234
|
+
date_time: string;
|
|
235
|
+
admin_verify_status: GPSFuelApproveStatus;
|
|
236
|
+
transporter_verify_status: GPSFuelApproveStatus;
|
|
237
237
|
fuel_removal_reason_id: string;
|
|
238
|
+
odometer_reading?: unknown;
|
|
239
|
+
latitude?: unknown;
|
|
240
|
+
longitude?: unknown;
|
|
241
|
+
google_location?: string | undefined;
|
|
238
242
|
cost_per_unit?: unknown;
|
|
239
243
|
total_cost?: unknown;
|
|
240
244
|
entry_source?: RefillEntrySource | undefined;
|
|
241
245
|
source_reference_id?: string | undefined;
|
|
242
246
|
source_notes?: string | undefined;
|
|
243
|
-
latitude?: unknown;
|
|
244
|
-
longitude?: unknown;
|
|
245
|
-
google_location?: string | undefined;
|
|
246
|
-
odometer_reading?: unknown;
|
|
247
247
|
before_removal_quantity?: unknown;
|
|
248
248
|
after_removal_quantity?: unknown;
|
|
249
249
|
removal_quantity?: unknown;
|
|
@@ -255,9 +255,9 @@ declare const FleetFuelRemovalSchema: z.ZodObject<{
|
|
|
255
255
|
organisation_id: string;
|
|
256
256
|
file_type: FileType;
|
|
257
257
|
fleet_fuel_removal_id: string;
|
|
258
|
+
file_name?: string | undefined;
|
|
258
259
|
file_url?: string | undefined;
|
|
259
260
|
file_key?: string | undefined;
|
|
260
|
-
file_name?: string | undefined;
|
|
261
261
|
file_description?: string | undefined;
|
|
262
262
|
file_size?: unknown;
|
|
263
263
|
file_metadata?: Record<string, any> | undefined;
|
|
@@ -309,11 +309,7 @@ declare const FleetFuelRemovalQuerySchema: z.ZodObject<{
|
|
|
309
309
|
from_date: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
310
310
|
to_date: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
311
311
|
}, "strip", z.ZodTypeAny, {
|
|
312
|
-
admin_verify_status: GPSFuelApproveStatus[];
|
|
313
|
-
transporter_verify_status: GPSFuelApproveStatus[];
|
|
314
|
-
entry_source: RefillEntrySource[];
|
|
315
312
|
status: Status[];
|
|
316
|
-
time_zone_id: string;
|
|
317
313
|
search: string;
|
|
318
314
|
paging: PAGING;
|
|
319
315
|
page_count: number;
|
|
@@ -333,24 +329,25 @@ declare const FleetFuelRemovalQuerySchema: z.ZodObject<{
|
|
|
333
329
|
}[];
|
|
334
330
|
include_master_data: YesNo;
|
|
335
331
|
date_format_id: string;
|
|
332
|
+
time_zone_id: string;
|
|
336
333
|
organisation_ids: string[];
|
|
337
334
|
user_ids: string[];
|
|
338
335
|
vehicle_ids: string[];
|
|
339
336
|
driver_ids: string[];
|
|
340
337
|
device_ids: string[];
|
|
341
|
-
vehicle_fuel_type_ids: string[];
|
|
342
|
-
vehicle_fuel_unit_ids: string[];
|
|
343
338
|
from_date: string;
|
|
344
339
|
to_date: string;
|
|
340
|
+
vehicle_fuel_type_ids: string[];
|
|
341
|
+
admin_verify_status: GPSFuelApproveStatus[];
|
|
342
|
+
transporter_verify_status: GPSFuelApproveStatus[];
|
|
343
|
+
entry_source: RefillEntrySource[];
|
|
344
|
+
vehicle_fuel_unit_ids: string[];
|
|
345
345
|
fuel_removal_reason_ids: string[];
|
|
346
346
|
}, {
|
|
347
|
-
time_zone_id: string;
|
|
348
347
|
date_format_id: string;
|
|
348
|
+
time_zone_id: string;
|
|
349
349
|
from_date: string;
|
|
350
350
|
to_date: string;
|
|
351
|
-
admin_verify_status?: GPSFuelApproveStatus[] | undefined;
|
|
352
|
-
transporter_verify_status?: GPSFuelApproveStatus[] | undefined;
|
|
353
|
-
entry_source?: RefillEntrySource[] | undefined;
|
|
354
351
|
status?: Status[] | undefined;
|
|
355
352
|
search?: string | undefined;
|
|
356
353
|
paging?: PAGING | undefined;
|
|
@@ -376,6 +373,9 @@ declare const FleetFuelRemovalQuerySchema: z.ZodObject<{
|
|
|
376
373
|
driver_ids?: string[] | undefined;
|
|
377
374
|
device_ids?: string[] | undefined;
|
|
378
375
|
vehicle_fuel_type_ids?: string[] | undefined;
|
|
376
|
+
admin_verify_status?: GPSFuelApproveStatus[] | undefined;
|
|
377
|
+
transporter_verify_status?: GPSFuelApproveStatus[] | undefined;
|
|
378
|
+
entry_source?: RefillEntrySource[] | undefined;
|
|
379
379
|
vehicle_fuel_unit_ids?: string[] | undefined;
|
|
380
380
|
fuel_removal_reason_ids?: string[] | undefined;
|
|
381
381
|
}>;
|
|
@@ -82,6 +82,9 @@ declare const GPSGeofenceSchema: z.ZodObject<{
|
|
|
82
82
|
google_location: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
|
|
83
83
|
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
84
84
|
}, "strip", z.ZodTypeAny, {
|
|
85
|
+
status: Status;
|
|
86
|
+
organisation_id: string;
|
|
87
|
+
country_code: string;
|
|
85
88
|
geofence_name: string;
|
|
86
89
|
geofence_purpose_type: GeofencePurposeType;
|
|
87
90
|
geofence_description: string;
|
|
@@ -99,25 +102,23 @@ declare const GPSGeofenceSchema: z.ZodObject<{
|
|
|
99
102
|
state_province_region: string;
|
|
100
103
|
postal_code: string;
|
|
101
104
|
country: string;
|
|
102
|
-
country_code: string;
|
|
103
105
|
google_location: string;
|
|
104
|
-
status: Status;
|
|
105
|
-
organisation_id: string;
|
|
106
|
-
radius_m?: number | undefined;
|
|
107
|
-
radius_km?: number | undefined;
|
|
108
106
|
latitude?: number | undefined;
|
|
109
107
|
longitude?: number | undefined;
|
|
108
|
+
radius_m?: number | undefined;
|
|
109
|
+
radius_km?: number | undefined;
|
|
110
110
|
}, {
|
|
111
|
+
status: Status;
|
|
112
|
+
organisation_id: string;
|
|
111
113
|
geofence_name: string;
|
|
112
114
|
geofence_purpose_type: GeofencePurposeType;
|
|
113
115
|
geofence_type: GeofenceType;
|
|
114
|
-
|
|
115
|
-
|
|
116
|
+
country_code?: string | undefined;
|
|
117
|
+
latitude?: unknown;
|
|
118
|
+
longitude?: unknown;
|
|
116
119
|
geofence_description?: string | undefined;
|
|
117
120
|
radius_m?: unknown;
|
|
118
121
|
radius_km?: unknown;
|
|
119
|
-
latitude?: unknown;
|
|
120
|
-
longitude?: unknown;
|
|
121
122
|
poliline_data?: {
|
|
122
123
|
latitude?: unknown;
|
|
123
124
|
longitude?: unknown;
|
|
@@ -131,7 +132,6 @@ declare const GPSGeofenceSchema: z.ZodObject<{
|
|
|
131
132
|
state_province_region?: string | undefined;
|
|
132
133
|
postal_code?: string | undefined;
|
|
133
134
|
country?: string | undefined;
|
|
134
|
-
country_code?: string | undefined;
|
|
135
135
|
google_location?: string | undefined;
|
|
136
136
|
}>;
|
|
137
137
|
type GPSGeofenceDTO = z.infer<typeof GPSGeofenceSchema>;
|
|
@@ -171,9 +171,8 @@ declare const GPSGeofenceQuerySchema: z.ZodObject<{
|
|
|
171
171
|
geofence_type: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof GeofenceType>, "many">>>;
|
|
172
172
|
gps_geofence_ids: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
173
173
|
}, "strip", z.ZodTypeAny, {
|
|
174
|
-
geofence_purpose_type: GeofencePurposeType[];
|
|
175
|
-
geofence_type: GeofenceType[];
|
|
176
174
|
status: Status[];
|
|
175
|
+
time_zone_id: string;
|
|
177
176
|
search: string;
|
|
178
177
|
paging: PAGING;
|
|
179
178
|
page_count: number;
|
|
@@ -193,14 +192,13 @@ declare const GPSGeofenceQuerySchema: z.ZodObject<{
|
|
|
193
192
|
}[];
|
|
194
193
|
include_master_data: YesNo;
|
|
195
194
|
date_format_id: string;
|
|
196
|
-
time_zone_id: string;
|
|
197
195
|
organisation_ids: string[];
|
|
198
196
|
gps_geofence_ids: string[];
|
|
197
|
+
geofence_purpose_type: GeofencePurposeType[];
|
|
198
|
+
geofence_type: GeofenceType[];
|
|
199
199
|
}, {
|
|
200
|
-
date_format_id: string;
|
|
201
200
|
time_zone_id: string;
|
|
202
|
-
|
|
203
|
-
geofence_type?: GeofenceType[] | undefined;
|
|
201
|
+
date_format_id: string;
|
|
204
202
|
status?: Status[] | undefined;
|
|
205
203
|
search?: string | undefined;
|
|
206
204
|
paging?: PAGING | undefined;
|
|
@@ -222,6 +220,8 @@ declare const GPSGeofenceQuerySchema: z.ZodObject<{
|
|
|
222
220
|
include_master_data?: YesNo | undefined;
|
|
223
221
|
organisation_ids?: string[] | undefined;
|
|
224
222
|
gps_geofence_ids?: string[] | undefined;
|
|
223
|
+
geofence_purpose_type?: GeofencePurposeType[] | undefined;
|
|
224
|
+
geofence_type?: GeofenceType[] | undefined;
|
|
225
225
|
}>;
|
|
226
226
|
type GPSGeofenceQueryDTO = z.infer<typeof GPSGeofenceQuerySchema>;
|
|
227
227
|
declare const toGPSGeofencePayload: (data: GPSGeofence) => GPSGeofenceDTO;
|
|
@@ -36,21 +36,21 @@ 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
|
-
gps_geofence_id: string;
|
|
40
39
|
status: Status;
|
|
41
40
|
organisation_id: string;
|
|
42
|
-
time_zone_id: string;
|
|
43
|
-
driver_id: string;
|
|
44
41
|
vehicle_id: string;
|
|
42
|
+
driver_id: string;
|
|
43
|
+
gps_geofence_id: string;
|
|
44
|
+
time_zone_id: string;
|
|
45
45
|
geofence_status_type: GeofenceStatusType;
|
|
46
46
|
geofence_time: string;
|
|
47
47
|
}, {
|
|
48
|
-
gps_geofence_id: string;
|
|
49
48
|
status: Status;
|
|
50
49
|
organisation_id: string;
|
|
51
|
-
time_zone_id: string;
|
|
52
|
-
driver_id: string;
|
|
53
50
|
vehicle_id: string;
|
|
51
|
+
driver_id: string;
|
|
52
|
+
gps_geofence_id: string;
|
|
53
|
+
time_zone_id: string;
|
|
54
54
|
geofence_status_type: GeofenceStatusType;
|
|
55
55
|
geofence_time: string;
|
|
56
56
|
}>;
|
|
@@ -95,6 +95,7 @@ declare const GPSGeofenceTransactionQuerySchema: z.ZodObject<{
|
|
|
95
95
|
to_date: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
96
96
|
}, "strip", z.ZodTypeAny, {
|
|
97
97
|
status: Status[];
|
|
98
|
+
time_zone_id: string;
|
|
98
99
|
search: string;
|
|
99
100
|
paging: PAGING;
|
|
100
101
|
page_count: number;
|
|
@@ -114,17 +115,16 @@ declare const GPSGeofenceTransactionQuerySchema: z.ZodObject<{
|
|
|
114
115
|
}[];
|
|
115
116
|
include_master_data: YesNo;
|
|
116
117
|
date_format_id: string;
|
|
117
|
-
time_zone_id: string;
|
|
118
118
|
organisation_ids: string[];
|
|
119
|
-
gps_geofence_ids: string[];
|
|
120
119
|
vehicle_ids: string[];
|
|
121
120
|
driver_ids: string[];
|
|
122
|
-
|
|
121
|
+
gps_geofence_ids: string[];
|
|
123
122
|
from_date: string;
|
|
124
123
|
to_date: string;
|
|
124
|
+
geofence_status_type: GeofenceStatusType[];
|
|
125
125
|
}, {
|
|
126
|
-
date_format_id: string;
|
|
127
126
|
time_zone_id: string;
|
|
127
|
+
date_format_id: string;
|
|
128
128
|
from_date: string;
|
|
129
129
|
to_date: string;
|
|
130
130
|
status?: Status[] | undefined;
|
|
@@ -147,9 +147,9 @@ declare const GPSGeofenceTransactionQuerySchema: z.ZodObject<{
|
|
|
147
147
|
}[] | undefined;
|
|
148
148
|
include_master_data?: YesNo | undefined;
|
|
149
149
|
organisation_ids?: string[] | undefined;
|
|
150
|
-
gps_geofence_ids?: string[] | undefined;
|
|
151
150
|
vehicle_ids?: string[] | undefined;
|
|
152
151
|
driver_ids?: string[] | undefined;
|
|
152
|
+
gps_geofence_ids?: string[] | undefined;
|
|
153
153
|
geofence_status_type?: GeofenceStatusType[] | undefined;
|
|
154
154
|
}>;
|
|
155
155
|
type GPSGeofenceTransactionQueryDTO = z.infer<typeof GPSGeofenceTransactionQuerySchema>;
|
|
@@ -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
|
-
gps_geofence_id: string;
|
|
50
|
-
status: Status;
|
|
51
|
-
organisation_id: string;
|
|
52
|
-
time_zone_id: string;
|
|
53
|
-
driver_id: string;
|
|
54
|
-
vehicle_id: string;
|
|
55
49
|
geofence_enter_date_time: string;
|
|
56
50
|
geofence_exit_date_time: string;
|
|
57
51
|
duration_seconds: number;
|
|
52
|
+
status: Status;
|
|
53
|
+
organisation_id: string;
|
|
54
|
+
vehicle_id: string;
|
|
55
|
+
driver_id: string;
|
|
56
|
+
gps_geofence_id: string;
|
|
58
57
|
enter_gps_geofence_transaction_id: string;
|
|
59
58
|
exit_gps_geofence_transaction_id: string;
|
|
59
|
+
time_zone_id: string;
|
|
60
60
|
}, {
|
|
61
|
-
|
|
61
|
+
geofence_enter_date_time: string;
|
|
62
62
|
status: Status;
|
|
63
63
|
organisation_id: string;
|
|
64
|
-
time_zone_id: string;
|
|
65
|
-
driver_id: string;
|
|
66
64
|
vehicle_id: string;
|
|
67
|
-
|
|
65
|
+
driver_id: string;
|
|
66
|
+
gps_geofence_id: 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
|
}>;
|
|
@@ -110,6 +110,7 @@ declare const GPSGeofenceTransactionSummaryQuerySchema: z.ZodObject<{
|
|
|
110
110
|
to_date: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
111
111
|
}, "strip", z.ZodTypeAny, {
|
|
112
112
|
status: Status[];
|
|
113
|
+
time_zone_id: string;
|
|
113
114
|
search: string;
|
|
114
115
|
paging: PAGING;
|
|
115
116
|
page_count: number;
|
|
@@ -129,16 +130,15 @@ declare const GPSGeofenceTransactionSummaryQuerySchema: z.ZodObject<{
|
|
|
129
130
|
}[];
|
|
130
131
|
include_master_data: YesNo;
|
|
131
132
|
date_format_id: string;
|
|
132
|
-
time_zone_id: string;
|
|
133
133
|
organisation_ids: string[];
|
|
134
|
-
gps_geofence_ids: string[];
|
|
135
134
|
vehicle_ids: string[];
|
|
136
135
|
driver_ids: string[];
|
|
136
|
+
gps_geofence_ids: string[];
|
|
137
137
|
from_date: string;
|
|
138
138
|
to_date: string;
|
|
139
139
|
}, {
|
|
140
|
-
date_format_id: string;
|
|
141
140
|
time_zone_id: string;
|
|
141
|
+
date_format_id: string;
|
|
142
142
|
from_date: string;
|
|
143
143
|
to_date: string;
|
|
144
144
|
status?: Status[] | undefined;
|
|
@@ -161,9 +161,9 @@ declare const GPSGeofenceTransactionSummaryQuerySchema: z.ZodObject<{
|
|
|
161
161
|
}[] | undefined;
|
|
162
162
|
include_master_data?: YesNo | undefined;
|
|
163
163
|
organisation_ids?: string[] | undefined;
|
|
164
|
-
gps_geofence_ids?: string[] | undefined;
|
|
165
164
|
vehicle_ids?: string[] | undefined;
|
|
166
165
|
driver_ids?: string[] | undefined;
|
|
166
|
+
gps_geofence_ids?: string[] | undefined;
|
|
167
167
|
}>;
|
|
168
168
|
type GPSGeofenceTransactionSummaryQueryDTO = z.infer<typeof GPSGeofenceTransactionSummaryQuerySchema>;
|
|
169
169
|
declare const toGPSGeofenceTransactionSummaryPayload: (data: GPSGeofenceTransactionSummary) => GPSGeofenceTransactionSummaryDTO;
|
|
@@ -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
|
-
time_zone_id: string;
|
|
61
|
-
driver_id: string;
|
|
62
61
|
vehicle_id: string;
|
|
63
|
-
|
|
62
|
+
driver_id: string;
|
|
63
|
+
time_zone_id: string;
|
|
64
64
|
from_geofence_exit_date_time: string;
|
|
65
65
|
to_geofence_enter_date_time: string;
|
|
66
66
|
travel_duration_seconds: number;
|
|
@@ -73,9 +73,9 @@ declare const TripGeofenceToGeofenceSchema: z.ZodObject<{
|
|
|
73
73
|
}, {
|
|
74
74
|
status: Status;
|
|
75
75
|
organisation_id: string;
|
|
76
|
-
time_zone_id: string;
|
|
77
|
-
driver_id: string;
|
|
78
76
|
vehicle_id: string;
|
|
77
|
+
driver_id: string;
|
|
78
|
+
time_zone_id: string;
|
|
79
79
|
from_geofence_exit_date_time: string;
|
|
80
80
|
to_geofence_enter_date_time: string;
|
|
81
81
|
from_geofence_id: string;
|
|
@@ -128,6 +128,7 @@ declare const TripGeofenceToGeofenceQuerySchema: z.ZodObject<{
|
|
|
128
128
|
to_date: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
129
129
|
}, "strip", z.ZodTypeAny, {
|
|
130
130
|
status: Status[];
|
|
131
|
+
time_zone_id: string;
|
|
131
132
|
search: string;
|
|
132
133
|
paging: PAGING;
|
|
133
134
|
page_count: number;
|
|
@@ -147,7 +148,6 @@ declare const TripGeofenceToGeofenceQuerySchema: z.ZodObject<{
|
|
|
147
148
|
}[];
|
|
148
149
|
include_master_data: YesNo;
|
|
149
150
|
date_format_id: string;
|
|
150
|
-
time_zone_id: string;
|
|
151
151
|
organisation_ids: string[];
|
|
152
152
|
vehicle_ids: string[];
|
|
153
153
|
driver_ids: string[];
|
|
@@ -156,8 +156,8 @@ declare const TripGeofenceToGeofenceQuerySchema: z.ZodObject<{
|
|
|
156
156
|
from_geofence_ids: string[];
|
|
157
157
|
to_geofence_ids: string[];
|
|
158
158
|
}, {
|
|
159
|
-
date_format_id: string;
|
|
160
159
|
time_zone_id: string;
|
|
160
|
+
date_format_id: string;
|
|
161
161
|
from_date: string;
|
|
162
162
|
to_date: string;
|
|
163
163
|
status?: Status[] | undefined;
|
|
@@ -314,8 +314,8 @@ var toUserReportsPreferencesPayload = (data) => ({
|
|
|
314
314
|
report_status: data.report_status,
|
|
315
315
|
report_types: data.report_types,
|
|
316
316
|
report_list: data.report_list,
|
|
317
|
-
email_ids: data.email_ids,
|
|
318
|
-
cc_email_ids: data.
|
|
317
|
+
email_ids: data.email_ids || "",
|
|
318
|
+
cc_email_ids: data.cc_email_ids || "",
|
|
319
319
|
all_vehicles: data.all_vehicles,
|
|
320
320
|
vehicle_ids: data.UserReportsPreferencesVehicleLink?.map((v) => v.vehicle_id) ?? [],
|
|
321
321
|
status: "Active" /* Active */
|
|
@@ -15,12 +15,12 @@ declare const MasterMainEwayBillProviderSchema: z.ZodObject<{
|
|
|
15
15
|
provider_code: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
|
|
16
16
|
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
17
17
|
}, "strip", z.ZodTypeAny, {
|
|
18
|
+
status: Status;
|
|
18
19
|
provider_name: string;
|
|
19
20
|
provider_code: string;
|
|
20
|
-
status: Status;
|
|
21
21
|
}, {
|
|
22
|
-
provider_name: string;
|
|
23
22
|
status: Status;
|
|
23
|
+
provider_name: string;
|
|
24
24
|
provider_code?: string | undefined;
|
|
25
25
|
}>;
|
|
26
26
|
type MasterMainEwayBillProviderDTO = z.infer<typeof MasterMainEwayBillProviderSchema>;
|
|
@@ -15,12 +15,12 @@ declare const MasterMainFasttagBankSchema: z.ZodObject<{
|
|
|
15
15
|
bank_code: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
|
|
16
16
|
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
17
17
|
}, "strip", z.ZodTypeAny, {
|
|
18
|
-
status: Status;
|
|
19
18
|
bank_name: string;
|
|
20
19
|
bank_code: string;
|
|
21
|
-
}, {
|
|
22
20
|
status: Status;
|
|
21
|
+
}, {
|
|
23
22
|
bank_name: string;
|
|
23
|
+
status: Status;
|
|
24
24
|
bank_code?: string | undefined;
|
|
25
25
|
}>;
|
|
26
26
|
type MasterMainFasttagBankDTO = z.infer<typeof MasterMainFasttagBankSchema>;
|
|
@@ -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
|
zip_code: string;
|
|
49
48
|
landmark_name: string;
|
|
50
49
|
location: string;
|
|
50
|
+
google_location: string;
|
|
51
51
|
latitude?: number | undefined;
|
|
52
52
|
longitude?: number | undefined;
|
|
53
53
|
}, {
|
|
@@ -55,13 +55,13 @@ declare const MasterMainLandmarkSchema: z.ZodObject<{
|
|
|
55
55
|
country_id: string;
|
|
56
56
|
state_id: string;
|
|
57
57
|
landmark_name: string;
|
|
58
|
-
latitude?: unknown;
|
|
59
|
-
longitude?: unknown;
|
|
60
|
-
google_location?: string | undefined;
|
|
61
58
|
locality?: string | undefined;
|
|
62
59
|
city_district_town?: string | undefined;
|
|
63
60
|
zip_code?: string | undefined;
|
|
61
|
+
latitude?: unknown;
|
|
62
|
+
longitude?: unknown;
|
|
64
63
|
location?: 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;
|
|
@@ -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;
|
package/package.json
CHANGED