vms-nest-prisma-api-document 12.0.1 → 14.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/core/Enums.d.ts +27 -9
- package/dist/core/Enums.js +28 -10
- 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 +50 -50
- package/dist/services/fleet/fuel_management/fleet_fuel_removal_service.d.ts +35 -35
- package/dist/services/gps/features/gps_live_track_share_link_service.d.ts +17 -17
- package/dist/services/gps/features/gps_track_history_share_link_service.d.ts +6 -6
- package/dist/services/gps/features/user_notification_preferences.service.d.ts +22 -24
- package/dist/services/gps/features/user_notification_preferences.service.js +28 -29
- package/dist/services/gps/features/user_report_preferences.service.d.ts +15 -18
- package/dist/services/gps/features/user_report_preferences.service.js +29 -24
- package/dist/services/gps/reports/gps_reports_mongo_service.d.ts +46 -46
- 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
package/dist/core/Enums.d.ts
CHANGED
|
@@ -140,18 +140,36 @@ declare enum NotificationType {
|
|
|
140
140
|
Email = "Email",
|
|
141
141
|
Push = "Push"
|
|
142
142
|
}
|
|
143
|
+
declare enum ReportPreference {
|
|
144
|
+
AllVehiclesFullAnalysisReport = "AllVehiclesFullAnalysisReport",
|
|
145
|
+
AllDriversPerformanceReport = "AllDriversPerformanceReport",
|
|
146
|
+
MonthlyKilometersSummaryReport = "MonthlyKilometersSummaryReport",
|
|
147
|
+
VehicleStoppageReport = "VehicleStoppageReport",
|
|
148
|
+
GeofenceReport = "GeofenceReport",
|
|
149
|
+
GeofenceToGeofenceReport = "GeofenceToGeofenceReport",
|
|
150
|
+
VehicleIgnitionActivityLogReport = "VehicleIgnitionActivityLogReport",
|
|
151
|
+
AllVehiclesIgnitionTimeSummaryReport = "AllVehiclesIgnitionTimeSummaryReport",
|
|
152
|
+
AllVehiclesOverSpeedViolationReport = "AllVehiclesOverSpeedViolationReport",
|
|
153
|
+
MonthlyOverSpeedSummaryReport = "MonthlyOverSpeedSummaryReport",
|
|
154
|
+
FuelConsumptionReport = "FuelConsumptionReport",
|
|
155
|
+
FuelRefillReport = "FuelRefillReport",
|
|
156
|
+
FuelRemovalReport = "FuelRemovalReport"
|
|
157
|
+
}
|
|
143
158
|
declare enum NotificationPreference {
|
|
159
|
+
VehicleMoving = "VehicleMoving",
|
|
160
|
+
VehicleStopped = "VehicleStopped",
|
|
161
|
+
IgnitionOn = "IgnitionOn",
|
|
162
|
+
IgnitionOff = "IgnitionOff",
|
|
144
163
|
GeofenceEnter = "GeofenceEnter",
|
|
145
164
|
GeofenceExit = "GeofenceExit",
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
FleetFuelConsumptionReport = "FleetFuelConsumptionReport"
|
|
165
|
+
FuelSuddenIncrease = "FuelSuddenIncrease",
|
|
166
|
+
FuelSuddenDecrease = "FuelSuddenDecrease",
|
|
167
|
+
OverSpeed70 = "OverSpeed70",
|
|
168
|
+
OverSpeed80 = "OverSpeed80",
|
|
169
|
+
OverSpeed90 = "OverSpeed90",
|
|
170
|
+
OverSpeed100 = "OverSpeed100",
|
|
171
|
+
OverSpeed110 = "OverSpeed110",
|
|
172
|
+
OverSpeed120 = "OverSpeed120"
|
|
155
173
|
}
|
|
156
174
|
declare enum ReportType {
|
|
157
175
|
Daily = "Daily",
|
package/dist/core/Enums.js
CHANGED
|
@@ -168,21 +168,39 @@ var NotificationType = /* @__PURE__ */ ((NotificationType2) => {
|
|
|
168
168
|
NotificationType2["Push"] = "Push";
|
|
169
169
|
return NotificationType2;
|
|
170
170
|
})(NotificationType || {});
|
|
171
|
+
var ReportPreference = /* @__PURE__ */ ((ReportPreference2) => {
|
|
172
|
+
ReportPreference2["AllVehiclesFullAnalysisReport"] = "AllVehiclesFullAnalysisReport";
|
|
173
|
+
ReportPreference2["AllDriversPerformanceReport"] = "AllDriversPerformanceReport";
|
|
174
|
+
ReportPreference2["MonthlyKilometersSummaryReport"] = "MonthlyKilometersSummaryReport";
|
|
175
|
+
ReportPreference2["VehicleStoppageReport"] = "VehicleStoppageReport";
|
|
176
|
+
ReportPreference2["GeofenceReport"] = "GeofenceReport";
|
|
177
|
+
ReportPreference2["GeofenceToGeofenceReport"] = "GeofenceToGeofenceReport";
|
|
178
|
+
ReportPreference2["VehicleIgnitionActivityLogReport"] = "VehicleIgnitionActivityLogReport";
|
|
179
|
+
ReportPreference2["AllVehiclesIgnitionTimeSummaryReport"] = "AllVehiclesIgnitionTimeSummaryReport";
|
|
180
|
+
ReportPreference2["AllVehiclesOverSpeedViolationReport"] = "AllVehiclesOverSpeedViolationReport";
|
|
181
|
+
ReportPreference2["MonthlyOverSpeedSummaryReport"] = "MonthlyOverSpeedSummaryReport";
|
|
182
|
+
ReportPreference2["FuelConsumptionReport"] = "FuelConsumptionReport";
|
|
183
|
+
ReportPreference2["FuelRefillReport"] = "FuelRefillReport";
|
|
184
|
+
ReportPreference2["FuelRemovalReport"] = "FuelRemovalReport";
|
|
185
|
+
return ReportPreference2;
|
|
186
|
+
})(ReportPreference || {});
|
|
171
187
|
var NotificationPreference = /* @__PURE__ */ ((NotificationPreference2) => {
|
|
172
|
-
NotificationPreference2["
|
|
173
|
-
NotificationPreference2["
|
|
174
|
-
NotificationPreference2["FuelRemoval"] = "FuelRemoval";
|
|
175
|
-
NotificationPreference2["FuelRefill"] = "FuelRefill";
|
|
188
|
+
NotificationPreference2["VehicleMoving"] = "VehicleMoving";
|
|
189
|
+
NotificationPreference2["VehicleStopped"] = "VehicleStopped";
|
|
176
190
|
NotificationPreference2["IgnitionOn"] = "IgnitionOn";
|
|
177
191
|
NotificationPreference2["IgnitionOff"] = "IgnitionOff";
|
|
192
|
+
NotificationPreference2["GeofenceEnter"] = "GeofenceEnter";
|
|
193
|
+
NotificationPreference2["GeofenceExit"] = "GeofenceExit";
|
|
194
|
+
NotificationPreference2["FuelSuddenIncrease"] = "FuelSuddenIncrease";
|
|
195
|
+
NotificationPreference2["FuelSuddenDecrease"] = "FuelSuddenDecrease";
|
|
196
|
+
NotificationPreference2["OverSpeed70"] = "OverSpeed70";
|
|
197
|
+
NotificationPreference2["OverSpeed80"] = "OverSpeed80";
|
|
198
|
+
NotificationPreference2["OverSpeed90"] = "OverSpeed90";
|
|
199
|
+
NotificationPreference2["OverSpeed100"] = "OverSpeed100";
|
|
200
|
+
NotificationPreference2["OverSpeed110"] = "OverSpeed110";
|
|
201
|
+
NotificationPreference2["OverSpeed120"] = "OverSpeed120";
|
|
178
202
|
return NotificationPreference2;
|
|
179
203
|
})(NotificationPreference || {});
|
|
180
|
-
var ReportPreference = /* @__PURE__ */ ((ReportPreference2) => {
|
|
181
|
-
ReportPreference2["FleetFuelRefillReport"] = "FleetFuelRefillReport";
|
|
182
|
-
ReportPreference2["FleetFuelRemovalReport"] = "FleetFuelRemovalReport";
|
|
183
|
-
ReportPreference2["FleetFuelConsumptionReport"] = "FleetFuelConsumptionReport";
|
|
184
|
-
return ReportPreference2;
|
|
185
|
-
})(ReportPreference || {});
|
|
186
204
|
var ReportType = /* @__PURE__ */ ((ReportType2) => {
|
|
187
205
|
ReportType2["Daily"] = "Daily";
|
|
188
206
|
ReportType2["Weekly"] = "Weekly";
|
|
@@ -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
|
-
country_id: string;
|
|
26
25
|
login_from: LoginFrom;
|
|
26
|
+
country_id: string;
|
|
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
|
-
country_id: string;
|
|
33
32
|
login_from: LoginFrom;
|
|
33
|
+
country_id: string;
|
|
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;
|
|
52
51
|
search: string;
|
|
53
52
|
paging: PAGING;
|
|
54
53
|
page_count: number;
|
|
55
54
|
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;
|
|
47
46
|
search: string;
|
|
48
47
|
paging: PAGING;
|
|
49
48
|
page_count: number;
|
|
50
49
|
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
|
-
|
|
65
|
+
status: Status;
|
|
66
|
+
organisation_id: string;
|
|
67
|
+
user_id: string;
|
|
68
|
+
vehicle_id: string;
|
|
69
|
+
driver_id: string;
|
|
70
|
+
device_id: string;
|
|
67
71
|
total_km: number;
|
|
68
72
|
consumed_fuel_liters: number;
|
|
69
73
|
refills_count: number;
|
|
74
|
+
start_fuel_liters: number;
|
|
75
|
+
end_fuel_liters: number;
|
|
70
76
|
refill_liters: number;
|
|
71
77
|
removals_count: number;
|
|
72
78
|
removal_liters: number;
|
|
73
79
|
mileage_kmpl: number;
|
|
74
80
|
liters_per_100km: number;
|
|
75
|
-
status: Status;
|
|
76
|
-
organisation_id: string;
|
|
77
|
-
user_id: string;
|
|
78
|
-
vehicle_id: string;
|
|
79
|
-
driver_id: string;
|
|
80
|
-
device_id: string;
|
|
81
81
|
}, {
|
|
82
82
|
date: string;
|
|
83
83
|
status: Status;
|
|
@@ -86,11 +86,11 @@ declare const FleetFuelDailySummarySchema: z.ZodObject<{
|
|
|
86
86
|
vehicle_id: string;
|
|
87
87
|
driver_id: string;
|
|
88
88
|
device_id: string;
|
|
89
|
-
start_fuel_liters?: unknown;
|
|
90
|
-
end_fuel_liters?: unknown;
|
|
91
89
|
total_km?: unknown;
|
|
92
90
|
consumed_fuel_liters?: unknown;
|
|
93
91
|
refills_count?: unknown;
|
|
92
|
+
start_fuel_liters?: unknown;
|
|
93
|
+
end_fuel_liters?: unknown;
|
|
94
94
|
refill_liters?: unknown;
|
|
95
95
|
removals_count?: unknown;
|
|
96
96
|
removal_liters?: unknown;
|
|
@@ -140,6 +140,7 @@ declare const FleetFuelDailySummaryQuerySchema: z.ZodObject<{
|
|
|
140
140
|
day_summary: z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof YesNo>>>;
|
|
141
141
|
}, "strip", z.ZodTypeAny, {
|
|
142
142
|
status: Status[];
|
|
143
|
+
time_zone_id: string;
|
|
143
144
|
search: string;
|
|
144
145
|
paging: PAGING;
|
|
145
146
|
page_count: number;
|
|
@@ -159,7 +160,6 @@ declare const FleetFuelDailySummaryQuerySchema: z.ZodObject<{
|
|
|
159
160
|
}[];
|
|
160
161
|
include_master_data: YesNo;
|
|
161
162
|
date_format_id: string;
|
|
162
|
-
time_zone_id: string;
|
|
163
163
|
organisation_ids: string[];
|
|
164
164
|
user_ids: string[];
|
|
165
165
|
vehicle_ids: string[];
|
|
@@ -170,8 +170,8 @@ declare const FleetFuelDailySummaryQuerySchema: z.ZodObject<{
|
|
|
170
170
|
vehicle_summary: YesNo;
|
|
171
171
|
day_summary: YesNo;
|
|
172
172
|
}, {
|
|
173
|
-
date_format_id: string;
|
|
174
173
|
time_zone_id: string;
|
|
174
|
+
date_format_id: string;
|
|
175
175
|
from_date: string;
|
|
176
176
|
to_date: string;
|
|
177
177
|
status?: Status[] | undefined;
|
|
@@ -239,6 +239,7 @@ declare const FleetFuelDailyMonthlySummaryQuerySchema: z.ZodObject<{
|
|
|
239
239
|
to_date: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
240
240
|
}, "strip", z.ZodTypeAny, {
|
|
241
241
|
status: Status[];
|
|
242
|
+
time_zone_id: string;
|
|
242
243
|
search: string;
|
|
243
244
|
paging: PAGING;
|
|
244
245
|
page_count: number;
|
|
@@ -258,14 +259,13 @@ declare const FleetFuelDailyMonthlySummaryQuerySchema: z.ZodObject<{
|
|
|
258
259
|
}[];
|
|
259
260
|
include_master_data: YesNo;
|
|
260
261
|
date_format_id: string;
|
|
261
|
-
time_zone_id: string;
|
|
262
262
|
organisation_ids: string[];
|
|
263
263
|
vehicle_ids: string[];
|
|
264
264
|
from_date: string;
|
|
265
265
|
to_date: string;
|
|
266
266
|
}, {
|
|
267
|
-
date_format_id: string;
|
|
268
267
|
time_zone_id: string;
|
|
268
|
+
date_format_id: string;
|
|
269
269
|
from_date: string;
|
|
270
270
|
to_date: string;
|
|
271
271
|
status?: Status[] | undefined;
|
|
@@ -327,6 +327,7 @@ declare const AllVehiclesFuelDailySummaryQuerySchema: z.ZodObject<{
|
|
|
327
327
|
}, "strip", z.ZodTypeAny, {
|
|
328
328
|
date: string;
|
|
329
329
|
status: Status[];
|
|
330
|
+
time_zone_id: string;
|
|
330
331
|
search: string;
|
|
331
332
|
paging: PAGING;
|
|
332
333
|
page_count: number;
|
|
@@ -346,12 +347,11 @@ declare const AllVehiclesFuelDailySummaryQuerySchema: z.ZodObject<{
|
|
|
346
347
|
}[];
|
|
347
348
|
include_master_data: YesNo;
|
|
348
349
|
date_format_id: string;
|
|
349
|
-
time_zone_id: string;
|
|
350
350
|
organisation_utrack_id: string;
|
|
351
351
|
}, {
|
|
352
352
|
date: string;
|
|
353
|
-
date_format_id: string;
|
|
354
353
|
time_zone_id: string;
|
|
354
|
+
date_format_id: string;
|
|
355
355
|
organisation_utrack_id: string;
|
|
356
356
|
status?: Status[] | undefined;
|
|
357
357
|
search?: string | undefined;
|
|
@@ -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;
|
|
114
115
|
status: Status;
|
|
115
116
|
organisation_id: string;
|
|
116
|
-
file_name: string;
|
|
117
117
|
file_type: FileType;
|
|
118
|
-
fleet_fuel_refill_id: string;
|
|
119
118
|
file_url: string;
|
|
120
119
|
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;
|
|
125
126
|
status: Status;
|
|
126
127
|
organisation_id: string;
|
|
127
128
|
file_type: FileType;
|
|
128
|
-
fleet_fuel_refill_id: string;
|
|
129
|
-
file_name?: string | undefined;
|
|
130
129
|
file_url?: string | undefined;
|
|
131
130
|
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,40 +187,29 @@ 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;
|
|
190
191
|
status: Status;
|
|
191
192
|
organisation_id: string;
|
|
192
|
-
file_name: string;
|
|
193
193
|
file_type: FileType;
|
|
194
|
-
fleet_fuel_refill_id: string;
|
|
195
194
|
file_url: string;
|
|
196
195
|
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;
|
|
201
202
|
status: Status;
|
|
202
203
|
organisation_id: string;
|
|
203
204
|
file_type: FileType;
|
|
204
|
-
fleet_fuel_refill_id: string;
|
|
205
|
-
file_name?: string | undefined;
|
|
206
205
|
file_url?: string | undefined;
|
|
207
206
|
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;
|
|
224
213
|
date_time: string;
|
|
225
214
|
admin_verify_status: GPSFuelApproveStatus;
|
|
226
215
|
transporter_verify_status: GPSFuelApproveStatus;
|
|
@@ -236,25 +225,34 @@ declare const FleetFuelRefillSchema: z.ZodObject<{
|
|
|
236
225
|
payment_reference_number: string;
|
|
237
226
|
fuel_card_number: string;
|
|
238
227
|
payment_notes: string;
|
|
228
|
+
google_location: string;
|
|
229
|
+
odometer_reading: number;
|
|
239
230
|
tank_size: number;
|
|
240
231
|
is_full_tank: YesNo;
|
|
241
232
|
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;
|
|
242
239
|
vendor_id: string;
|
|
243
240
|
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;
|
|
245
246
|
status: Status;
|
|
246
247
|
organisation_id: string;
|
|
247
|
-
file_name: string;
|
|
248
248
|
file_type: FileType;
|
|
249
|
-
fleet_fuel_refill_id: string;
|
|
250
249
|
file_url: string;
|
|
251
250
|
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;
|
|
258
256
|
before_refill_quantity?: number | undefined;
|
|
259
257
|
after_refill_quantity?: number | undefined;
|
|
260
258
|
refill_quantity?: number | undefined;
|
|
@@ -262,16 +260,9 @@ declare const FleetFuelRefillSchema: z.ZodObject<{
|
|
|
262
260
|
diff_refill_quantity?: number | undefined;
|
|
263
261
|
cost_per_unit?: number | undefined;
|
|
264
262
|
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;
|
|
275
266
|
date_time: string;
|
|
276
267
|
admin_verify_status: GPSFuelApproveStatus;
|
|
277
268
|
transporter_verify_status: GPSFuelApproveStatus;
|
|
@@ -279,12 +270,17 @@ declare const FleetFuelRefillSchema: z.ZodObject<{
|
|
|
279
270
|
payment_status: PaymentStatus;
|
|
280
271
|
is_full_tank: YesNo;
|
|
281
272
|
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;
|
|
282
279
|
vendor_id: string;
|
|
283
280
|
fuel_station_id: string;
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
google_location?: string | undefined;
|
|
281
|
+
vehicle_fuel_type_id: string;
|
|
282
|
+
vehicle_fuel_unit_id: string;
|
|
283
|
+
time_zone_id: string;
|
|
288
284
|
before_refill_quantity?: unknown;
|
|
289
285
|
after_refill_quantity?: unknown;
|
|
290
286
|
refill_quantity?: unknown;
|
|
@@ -302,15 +298,19 @@ declare const FleetFuelRefillSchema: z.ZodObject<{
|
|
|
302
298
|
payment_reference_number?: string | undefined;
|
|
303
299
|
fuel_card_number?: string | undefined;
|
|
304
300
|
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;
|
|
307
308
|
status: Status;
|
|
308
309
|
organisation_id: string;
|
|
309
310
|
file_type: FileType;
|
|
310
|
-
fleet_fuel_refill_id: string;
|
|
311
|
-
file_name?: string | undefined;
|
|
312
311
|
file_url?: string | undefined;
|
|
313
312
|
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,7 +364,11 @@ 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[];
|
|
367
370
|
status: Status[];
|
|
371
|
+
time_zone_id: string;
|
|
368
372
|
search: string;
|
|
369
373
|
paging: PAGING;
|
|
370
374
|
page_count: number;
|
|
@@ -384,27 +388,26 @@ declare const FleetFuelRefillQuerySchema: z.ZodObject<{
|
|
|
384
388
|
}[];
|
|
385
389
|
include_master_data: YesNo;
|
|
386
390
|
date_format_id: string;
|
|
387
|
-
time_zone_id: string;
|
|
388
391
|
organisation_ids: string[];
|
|
389
392
|
user_ids: string[];
|
|
390
393
|
vehicle_ids: string[];
|
|
391
394
|
driver_ids: string[];
|
|
392
395
|
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[];
|
|
399
396
|
vendor_ids: string[];
|
|
400
397
|
fuel_station_ids: string[];
|
|
398
|
+
vehicle_fuel_type_ids: string[];
|
|
401
399
|
vehicle_fuel_unit_ids: string[];
|
|
402
400
|
fleet_fuel_refill_ids: string[];
|
|
401
|
+
from_date: string;
|
|
402
|
+
to_date: string;
|
|
403
403
|
}, {
|
|
404
|
-
date_format_id: string;
|
|
405
404
|
time_zone_id: string;
|
|
405
|
+
date_format_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;
|
|
408
411
|
status?: Status[] | undefined;
|
|
409
412
|
search?: string | undefined;
|
|
410
413
|
paging?: PAGING | undefined;
|
|
@@ -429,12 +432,9 @@ declare const FleetFuelRefillQuerySchema: z.ZodObject<{
|
|
|
429
432
|
vehicle_ids?: string[] | undefined;
|
|
430
433
|
driver_ids?: string[] | undefined;
|
|
431
434
|
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;
|
|
436
435
|
vendor_ids?: string[] | undefined;
|
|
437
436
|
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;
|
|
100
99
|
file_type: FileType;
|
|
101
100
|
file_url: string;
|
|
102
101
|
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;
|
|
113
112
|
file_url?: string | undefined;
|
|
114
113
|
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;
|
|
164
163
|
file_type: FileType;
|
|
165
164
|
file_url: string;
|
|
166
165
|
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;
|
|
177
176
|
file_url?: string | undefined;
|
|
178
177
|
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;
|
|
184
192
|
status: Status;
|
|
185
193
|
organisation_id: string;
|
|
186
194
|
user_id: string;
|
|
187
195
|
vehicle_id: string;
|
|
188
196
|
driver_id: string;
|
|
189
197
|
device_id: string;
|
|
190
|
-
time_zone_id: string;
|
|
191
198
|
vehicle_fuel_type_id: string;
|
|
192
199
|
vehicle_fuel_unit_id: string;
|
|
193
|
-
|
|
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;
|
|
200
|
+
time_zone_id: 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;
|
|
207
206
|
file_type: FileType;
|
|
208
207
|
file_url: string;
|
|
209
208
|
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
|
-
latitude?: number | undefined;
|
|
216
|
-
longitude?: number | undefined;
|
|
217
215
|
cost_per_unit?: number | undefined;
|
|
218
216
|
total_cost?: number | undefined;
|
|
217
|
+
latitude?: number | undefined;
|
|
218
|
+
longitude?: 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;
|
|
225
228
|
status: Status;
|
|
226
229
|
organisation_id: string;
|
|
227
230
|
user_id: string;
|
|
228
231
|
vehicle_id: string;
|
|
229
232
|
driver_id: string;
|
|
230
233
|
device_id: string;
|
|
231
|
-
time_zone_id: string;
|
|
232
234
|
vehicle_fuel_type_id: string;
|
|
233
235
|
vehicle_fuel_unit_id: string;
|
|
234
|
-
|
|
235
|
-
admin_verify_status: GPSFuelApproveStatus;
|
|
236
|
-
transporter_verify_status: GPSFuelApproveStatus;
|
|
236
|
+
time_zone_id: string;
|
|
237
237
|
fuel_removal_reason_id: string;
|
|
238
|
-
odometer_reading?: unknown;
|
|
239
|
-
latitude?: unknown;
|
|
240
|
-
longitude?: unknown;
|
|
241
|
-
google_location?: string | undefined;
|
|
242
238
|
cost_per_unit?: unknown;
|
|
243
239
|
total_cost?: unknown;
|
|
244
240
|
entry_source?: RefillEntrySource | undefined;
|
|
245
241
|
source_reference_id?: string | undefined;
|
|
246
242
|
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;
|
|
259
258
|
file_url?: string | undefined;
|
|
260
259
|
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,7 +309,11 @@ 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[];
|
|
312
315
|
status: Status[];
|
|
316
|
+
time_zone_id: string;
|
|
313
317
|
search: string;
|
|
314
318
|
paging: PAGING;
|
|
315
319
|
page_count: number;
|
|
@@ -329,25 +333,24 @@ declare const FleetFuelRemovalQuerySchema: z.ZodObject<{
|
|
|
329
333
|
}[];
|
|
330
334
|
include_master_data: YesNo;
|
|
331
335
|
date_format_id: string;
|
|
332
|
-
time_zone_id: string;
|
|
333
336
|
organisation_ids: string[];
|
|
334
337
|
user_ids: string[];
|
|
335
338
|
vehicle_ids: string[];
|
|
336
339
|
driver_ids: string[];
|
|
337
340
|
device_ids: string[];
|
|
338
|
-
from_date: string;
|
|
339
|
-
to_date: string;
|
|
340
341
|
vehicle_fuel_type_ids: string[];
|
|
341
|
-
admin_verify_status: GPSFuelApproveStatus[];
|
|
342
|
-
transporter_verify_status: GPSFuelApproveStatus[];
|
|
343
|
-
entry_source: RefillEntrySource[];
|
|
344
342
|
vehicle_fuel_unit_ids: string[];
|
|
343
|
+
from_date: string;
|
|
344
|
+
to_date: string;
|
|
345
345
|
fuel_removal_reason_ids: string[];
|
|
346
346
|
}, {
|
|
347
|
-
date_format_id: string;
|
|
348
347
|
time_zone_id: string;
|
|
348
|
+
date_format_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;
|
|
351
354
|
status?: Status[] | undefined;
|
|
352
355
|
search?: string | undefined;
|
|
353
356
|
paging?: PAGING | undefined;
|
|
@@ -373,9 +376,6 @@ declare const FleetFuelRemovalQuerySchema: z.ZodObject<{
|
|
|
373
376
|
driver_ids?: string[] | undefined;
|
|
374
377
|
device_ids?: string[] | undefined;
|
|
375
378
|
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
|
}>;
|