vms-nest-prisma-api-document 10.0.0 → 11.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 +98 -98
- package/dist/services/fleet/fuel_management/fleet_fuel_refill_service.js +62 -60
- package/dist/services/fleet/fuel_management/fleet_fuel_removal_service.d.ts +39 -39
- package/dist/services/fleet/fuel_management/fleet_fuel_removal_service.js +11 -11
- package/dist/services/gps/features/geofence/gps_geofence_service.d.ts +2 -2
- package/dist/services/gps/features/geofence/gps_geofence_transaction_service.d.ts +8 -8
- package/dist/services/gps/features/geofence/gps_geofence_transaction_summary_service.d.ts +5 -5
- package/dist/services/gps/features/geofence/trip_geofence_to_geofence_service.d.ts +11 -11
- package/dist/services/gps/features/gps_live_track_share_link_service.d.ts +16 -16
- package/dist/services/gps/features/gps_track_history_share_link_service.d.ts +9 -9
- package/dist/services/gps/reports/gps_reports_mongo_service.d.ts +46 -46
- package/dist/services/master/expense/master_fuel_company_service.d.ts +5 -5
- package/dist/services/master/expense/master_vendor_document_type_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
|
@@ -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;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { GPSFuelApproveStatus, RefillEntrySource, RefillMethod, PaymentMode, PaymentStatus, YesNo, Status, FileType, PAGING, LoadParents, LoadChild, LoadChildCount, OrderBy } from '../../../core/Enums.js';
|
|
2
2
|
import { FBR, SBR, BR, AWSPresignedUrl } from '../../../core/BaseResponse.js';
|
|
3
3
|
import { z } from 'zod';
|
|
4
4
|
import { FilePresignedUrlDTO } from '../../../zod_utils/zod_base_schema.js';
|
|
@@ -13,35 +13,26 @@ interface FleetFuelRefill extends Record<string, unknown> {
|
|
|
13
13
|
refill_quantity: number;
|
|
14
14
|
verified_refill_quantity: number;
|
|
15
15
|
diff_refill_quantity: number;
|
|
16
|
-
odometer_reading?: number;
|
|
17
|
-
is_full_tank: YesNo;
|
|
18
|
-
is_previous_entries_missed: YesNo;
|
|
19
16
|
date_time: string;
|
|
20
17
|
date?: string;
|
|
21
18
|
date_f?: string;
|
|
22
19
|
date_time_f?: string;
|
|
20
|
+
admin_verify_status: GPSFuelApproveStatus;
|
|
21
|
+
transporter_verify_status: GPSFuelApproveStatus;
|
|
23
22
|
cost_per_unit?: number;
|
|
24
23
|
total_cost?: number;
|
|
24
|
+
entry_source: RefillEntrySource;
|
|
25
|
+
source_reference_id?: string;
|
|
26
|
+
source_notes?: string;
|
|
27
|
+
refill_method?: RefillMethod;
|
|
28
|
+
refill_details?: string;
|
|
29
|
+
filled_by_person?: string;
|
|
25
30
|
invoice_number?: string;
|
|
26
31
|
payment_mode: PaymentMode;
|
|
27
32
|
payment_status: PaymentStatus;
|
|
28
33
|
payment_reference_number?: string;
|
|
29
34
|
fuel_card_number?: string;
|
|
30
35
|
payment_notes?: string;
|
|
31
|
-
refill_method?: RefillMethod;
|
|
32
|
-
refill_details?: string;
|
|
33
|
-
payment_details?: string;
|
|
34
|
-
filled_by_person?: string;
|
|
35
|
-
entry_source: RefillEntrySource;
|
|
36
|
-
source_reference_id?: string;
|
|
37
|
-
source_notes?: string;
|
|
38
|
-
admin_verify_status: GPSFuelApproveStatus;
|
|
39
|
-
transporter_verify_status: GPSFuelApproveStatus;
|
|
40
|
-
last_refill_date?: string;
|
|
41
|
-
last_odometer_reading?: number;
|
|
42
|
-
last_refill_quantity?: number;
|
|
43
|
-
diff_distance?: number;
|
|
44
|
-
fuel_efficiency?: number;
|
|
45
36
|
latitude?: number;
|
|
46
37
|
longitude?: number;
|
|
47
38
|
google_location?: string;
|
|
@@ -49,6 +40,15 @@ interface FleetFuelRefill extends Record<string, unknown> {
|
|
|
49
40
|
MasterMainLandmark?: MasterMainLandmark;
|
|
50
41
|
landmark_location?: string;
|
|
51
42
|
landmark_distance?: number;
|
|
43
|
+
odometer_reading?: number;
|
|
44
|
+
tank_size?: number;
|
|
45
|
+
is_full_tank: YesNo;
|
|
46
|
+
is_previous_entries_missed: YesNo;
|
|
47
|
+
last_refill_date?: string;
|
|
48
|
+
last_odometer_reading?: number;
|
|
49
|
+
last_refill_quantity?: number;
|
|
50
|
+
diff_distance?: number;
|
|
51
|
+
fuel_efficiency?: number;
|
|
52
52
|
status: Status;
|
|
53
53
|
added_date_time: string;
|
|
54
54
|
modified_date_time: string;
|
|
@@ -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;
|
|
@@ -149,30 +149,30 @@ declare const FleetFuelRefillSchema: z.ZodObject<{
|
|
|
149
149
|
refill_quantity: z.ZodOptional<z.ZodEffects<z.ZodDefault<z.ZodNumber>, number, unknown>>;
|
|
150
150
|
verified_refill_quantity: z.ZodOptional<z.ZodEffects<z.ZodDefault<z.ZodNumber>, number, unknown>>;
|
|
151
151
|
diff_refill_quantity: z.ZodOptional<z.ZodEffects<z.ZodDefault<z.ZodNumber>, number, unknown>>;
|
|
152
|
-
odometer_reading: z.ZodEffects<z.ZodDefault<z.ZodOptional<z.ZodNumber>>, number, unknown>;
|
|
153
|
-
is_full_tank: z.ZodType<YesNo, z.ZodTypeDef, YesNo>;
|
|
154
|
-
is_previous_entries_missed: z.ZodType<YesNo, z.ZodTypeDef, YesNo>;
|
|
155
152
|
date_time: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
153
|
+
admin_verify_status: z.ZodType<GPSFuelApproveStatus, z.ZodTypeDef, GPSFuelApproveStatus>;
|
|
154
|
+
transporter_verify_status: z.ZodType<GPSFuelApproveStatus, z.ZodTypeDef, GPSFuelApproveStatus>;
|
|
156
155
|
cost_per_unit: z.ZodOptional<z.ZodEffects<z.ZodDefault<z.ZodNumber>, number, unknown>>;
|
|
157
156
|
total_cost: z.ZodOptional<z.ZodEffects<z.ZodDefault<z.ZodNumber>, number, unknown>>;
|
|
157
|
+
entry_source: z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof RefillEntrySource>>>;
|
|
158
|
+
source_reference_id: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
|
|
159
|
+
source_notes: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
|
|
160
|
+
refill_method: z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof RefillMethod>>>;
|
|
161
|
+
refill_details: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
|
|
162
|
+
filled_by_person: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
|
|
158
163
|
invoice_number: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
|
|
159
164
|
payment_mode: z.ZodType<PaymentMode, z.ZodTypeDef, PaymentMode>;
|
|
160
165
|
payment_status: z.ZodType<PaymentStatus, z.ZodTypeDef, PaymentStatus>;
|
|
161
166
|
payment_reference_number: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
|
|
162
167
|
fuel_card_number: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
|
|
163
168
|
payment_notes: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
|
|
164
|
-
refill_method: z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof RefillMethod>>>;
|
|
165
|
-
refill_details: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
|
|
166
|
-
payment_details: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
|
|
167
|
-
filled_by_person: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
|
|
168
|
-
entry_source: z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof RefillEntrySource>>>;
|
|
169
|
-
source_reference_id: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
|
|
170
|
-
source_notes: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
|
|
171
|
-
admin_verify_status: z.ZodType<GPSFuelApproveStatus, z.ZodTypeDef, GPSFuelApproveStatus>;
|
|
172
|
-
transporter_verify_status: z.ZodType<GPSFuelApproveStatus, z.ZodTypeDef, GPSFuelApproveStatus>;
|
|
173
169
|
latitude: z.ZodOptional<z.ZodEffects<z.ZodDefault<z.ZodNumber>, number, unknown>>;
|
|
174
170
|
longitude: z.ZodOptional<z.ZodEffects<z.ZodDefault<z.ZodNumber>, number, unknown>>;
|
|
175
171
|
google_location: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
|
|
172
|
+
odometer_reading: z.ZodEffects<z.ZodDefault<z.ZodOptional<z.ZodNumber>>, number, unknown>;
|
|
173
|
+
tank_size: z.ZodEffects<z.ZodDefault<z.ZodOptional<z.ZodNumber>>, number, unknown>;
|
|
174
|
+
is_full_tank: z.ZodType<YesNo, z.ZodTypeDef, YesNo>;
|
|
175
|
+
is_previous_entries_missed: z.ZodType<YesNo, z.ZodTypeDef, YesNo>;
|
|
176
176
|
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
177
177
|
time_zone_id: z.ZodEffects<z.ZodString, string, string>;
|
|
178
178
|
refill_files: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -187,72 +187,74 @@ 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;
|
|
213
222
|
odometer_reading: number;
|
|
214
|
-
|
|
215
|
-
is_previous_entries_missed: YesNo;
|
|
223
|
+
google_location: string;
|
|
216
224
|
date_time: string;
|
|
225
|
+
admin_verify_status: GPSFuelApproveStatus;
|
|
226
|
+
transporter_verify_status: GPSFuelApproveStatus;
|
|
227
|
+
entry_source: RefillEntrySource;
|
|
228
|
+
source_reference_id: string;
|
|
229
|
+
source_notes: string;
|
|
230
|
+
refill_method: RefillMethod;
|
|
231
|
+
refill_details: string;
|
|
232
|
+
filled_by_person: string;
|
|
217
233
|
invoice_number: string;
|
|
218
234
|
payment_mode: PaymentMode;
|
|
219
235
|
payment_status: PaymentStatus;
|
|
220
236
|
payment_reference_number: string;
|
|
221
237
|
fuel_card_number: string;
|
|
222
238
|
payment_notes: string;
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
filled_by_person: string;
|
|
227
|
-
entry_source: RefillEntrySource;
|
|
228
|
-
source_reference_id: string;
|
|
229
|
-
source_notes: string;
|
|
230
|
-
admin_verify_status: GPSFuelApproveStatus;
|
|
231
|
-
transporter_verify_status: GPSFuelApproveStatus;
|
|
232
|
-
google_location: string;
|
|
233
|
-
status: Status;
|
|
234
|
-
organisation_id: string;
|
|
235
|
-
user_id: string;
|
|
236
|
-
vehicle_id: string;
|
|
237
|
-
driver_id: string;
|
|
238
|
-
device_id: string;
|
|
239
|
+
tank_size: number;
|
|
240
|
+
is_full_tank: YesNo;
|
|
241
|
+
is_previous_entries_missed: YesNo;
|
|
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,57 +262,55 @@ 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
|
-
is_full_tank: YesNo;
|
|
267
|
-
is_previous_entries_missed: YesNo;
|
|
268
|
-
date_time: string;
|
|
269
|
-
payment_mode: PaymentMode;
|
|
270
|
-
payment_status: PaymentStatus;
|
|
271
|
-
admin_verify_status: GPSFuelApproveStatus;
|
|
272
|
-
transporter_verify_status: GPSFuelApproveStatus;
|
|
273
266
|
status: Status;
|
|
274
267
|
organisation_id: string;
|
|
275
268
|
user_id: string;
|
|
276
269
|
vehicle_id: string;
|
|
277
270
|
driver_id: string;
|
|
278
271
|
device_id: string;
|
|
279
|
-
|
|
280
|
-
fuel_station_id: string;
|
|
272
|
+
time_zone_id: string;
|
|
281
273
|
vehicle_fuel_type_id: string;
|
|
282
274
|
vehicle_fuel_unit_id: string;
|
|
283
|
-
|
|
275
|
+
date_time: string;
|
|
276
|
+
admin_verify_status: GPSFuelApproveStatus;
|
|
277
|
+
transporter_verify_status: GPSFuelApproveStatus;
|
|
278
|
+
payment_mode: PaymentMode;
|
|
279
|
+
payment_status: PaymentStatus;
|
|
280
|
+
is_full_tank: YesNo;
|
|
281
|
+
is_previous_entries_missed: YesNo;
|
|
282
|
+
vendor_id: string;
|
|
283
|
+
fuel_station_id: string;
|
|
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;
|
|
287
291
|
verified_refill_quantity?: unknown;
|
|
288
292
|
diff_refill_quantity?: unknown;
|
|
289
|
-
odometer_reading?: unknown;
|
|
290
293
|
cost_per_unit?: unknown;
|
|
291
294
|
total_cost?: unknown;
|
|
295
|
+
entry_source?: RefillEntrySource | undefined;
|
|
296
|
+
source_reference_id?: string | undefined;
|
|
297
|
+
source_notes?: string | undefined;
|
|
298
|
+
refill_method?: RefillMethod | undefined;
|
|
299
|
+
refill_details?: string | undefined;
|
|
300
|
+
filled_by_person?: string | undefined;
|
|
292
301
|
invoice_number?: string | undefined;
|
|
293
302
|
payment_reference_number?: string | undefined;
|
|
294
303
|
fuel_card_number?: string | undefined;
|
|
295
304
|
payment_notes?: string | undefined;
|
|
296
|
-
|
|
297
|
-
refill_details?: string | undefined;
|
|
298
|
-
payment_details?: string | undefined;
|
|
299
|
-
filled_by_person?: string | undefined;
|
|
300
|
-
entry_source?: RefillEntrySource | undefined;
|
|
301
|
-
source_reference_id?: string | undefined;
|
|
302
|
-
source_notes?: string | undefined;
|
|
303
|
-
latitude?: unknown;
|
|
304
|
-
longitude?: unknown;
|
|
305
|
-
google_location?: string | undefined;
|
|
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
|
-
entry_source: RefillEntrySource[];
|
|
368
|
-
admin_verify_status: GPSFuelApproveStatus[];
|
|
369
|
-
transporter_verify_status: GPSFuelApproveStatus[];
|
|
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
|
-
entry_source?: RefillEntrySource[] | undefined;
|
|
409
|
-
admin_verify_status?: GPSFuelApproveStatus[] | undefined;
|
|
410
|
-
transporter_verify_status?: GPSFuelApproveStatus[] | 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
|
}>;
|