vms-nest-prisma-api-document 5.0.2 → 5.0.3
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.
|
@@ -47,36 +47,36 @@ declare const GPSFuelVehicleDailySummarySchema: z.ZodObject<{
|
|
|
47
47
|
date: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
48
48
|
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
49
49
|
}, "strip", z.ZodTypeAny, {
|
|
50
|
+
start_fuel_liters: number;
|
|
51
|
+
end_fuel_liters: number;
|
|
52
|
+
total_km: number;
|
|
53
|
+
consumed_fuel_liters: number;
|
|
54
|
+
refills_count: number;
|
|
55
|
+
removals_count: number;
|
|
56
|
+
mileage: number;
|
|
57
|
+
date: string;
|
|
50
58
|
status: Status;
|
|
51
59
|
organisation_id: string;
|
|
52
60
|
vehicle_id: string;
|
|
53
61
|
device_id: string;
|
|
54
62
|
driver_id: string;
|
|
55
|
-
date: string;
|
|
56
|
-
total_km: number;
|
|
57
|
-
consumed_fuel_liters: number;
|
|
58
|
-
refills_count: number;
|
|
59
63
|
refills_liters: number;
|
|
60
|
-
start_fuel_liters: number;
|
|
61
|
-
end_fuel_liters: number;
|
|
62
|
-
removals_count: number;
|
|
63
|
-
mileage: number;
|
|
64
64
|
removals_liters: number;
|
|
65
65
|
}, {
|
|
66
|
+
date: string;
|
|
66
67
|
status: Status;
|
|
67
68
|
organisation_id: string;
|
|
68
69
|
vehicle_id: string;
|
|
69
70
|
device_id: string;
|
|
70
71
|
driver_id: string;
|
|
71
|
-
|
|
72
|
+
start_fuel_liters?: unknown;
|
|
73
|
+
end_fuel_liters?: unknown;
|
|
72
74
|
total_km?: unknown;
|
|
73
75
|
consumed_fuel_liters?: unknown;
|
|
74
76
|
refills_count?: unknown;
|
|
75
|
-
refills_liters?: unknown;
|
|
76
|
-
start_fuel_liters?: unknown;
|
|
77
|
-
end_fuel_liters?: unknown;
|
|
78
77
|
removals_count?: unknown;
|
|
79
78
|
mileage?: unknown;
|
|
79
|
+
refills_liters?: unknown;
|
|
80
80
|
removals_liters?: unknown;
|
|
81
81
|
}>;
|
|
82
82
|
type GPSFuelVehicleDailySummaryDTO = z.infer<typeof GPSFuelVehicleDailySummarySchema>;
|
|
@@ -121,7 +121,6 @@ declare const GPSFuelVehicleDailySummaryQuerySchema: z.ZodObject<{
|
|
|
121
121
|
day_summary: z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof YesNo>>>;
|
|
122
122
|
}, "strip", z.ZodTypeAny, {
|
|
123
123
|
status: Status[];
|
|
124
|
-
time_zone_id: string;
|
|
125
124
|
search: string;
|
|
126
125
|
paging: PAGING;
|
|
127
126
|
page_count: number;
|
|
@@ -141,6 +140,7 @@ declare const GPSFuelVehicleDailySummaryQuerySchema: z.ZodObject<{
|
|
|
141
140
|
}[];
|
|
142
141
|
include_master_data: YesNo;
|
|
143
142
|
date_format_id: string;
|
|
143
|
+
time_zone_id: string;
|
|
144
144
|
organisation_ids: string[];
|
|
145
145
|
vehicle_ids: string[];
|
|
146
146
|
device_ids: string[];
|
|
@@ -150,8 +150,8 @@ declare const GPSFuelVehicleDailySummaryQuerySchema: z.ZodObject<{
|
|
|
150
150
|
vehicle_summary: YesNo;
|
|
151
151
|
day_summary: YesNo;
|
|
152
152
|
}, {
|
|
153
|
-
time_zone_id: string;
|
|
154
153
|
date_format_id: string;
|
|
154
|
+
time_zone_id: string;
|
|
155
155
|
from_date: string;
|
|
156
156
|
to_date: string;
|
|
157
157
|
status?: Status[] | undefined;
|
|
@@ -218,7 +218,6 @@ declare const GPSFuelVehicleMonthlySummaryQuerySchema: z.ZodObject<{
|
|
|
218
218
|
to_date: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
219
219
|
}, "strip", z.ZodTypeAny, {
|
|
220
220
|
status: Status[];
|
|
221
|
-
time_zone_id: string;
|
|
222
221
|
search: string;
|
|
223
222
|
paging: PAGING;
|
|
224
223
|
page_count: number;
|
|
@@ -238,13 +237,14 @@ declare const GPSFuelVehicleMonthlySummaryQuerySchema: z.ZodObject<{
|
|
|
238
237
|
}[];
|
|
239
238
|
include_master_data: YesNo;
|
|
240
239
|
date_format_id: string;
|
|
240
|
+
time_zone_id: string;
|
|
241
241
|
organisation_ids: string[];
|
|
242
242
|
vehicle_ids: string[];
|
|
243
243
|
from_date: string;
|
|
244
244
|
to_date: string;
|
|
245
245
|
}, {
|
|
246
|
-
time_zone_id: string;
|
|
247
246
|
date_format_id: string;
|
|
247
|
+
time_zone_id: string;
|
|
248
248
|
from_date: string;
|
|
249
249
|
to_date: string;
|
|
250
250
|
status?: Status[] | undefined;
|
|
@@ -15,6 +15,7 @@ interface GPSFuelVehicleRefill extends Record<string, unknown> {
|
|
|
15
15
|
admin_verify_status: GPSFuelApproveStatus;
|
|
16
16
|
transporter_verify_status: GPSFuelApproveStatus;
|
|
17
17
|
date_time: string;
|
|
18
|
+
date_time_f: string;
|
|
18
19
|
cost_per_liter?: number;
|
|
19
20
|
total_cost?: number;
|
|
20
21
|
refill_details?: string;
|
|
@@ -64,43 +65,41 @@ declare const GPSFuelVehicleRefillSchema: z.ZodObject<{
|
|
|
64
65
|
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
65
66
|
time_zone_id: z.ZodEffects<z.ZodString, string, string>;
|
|
66
67
|
}, "strip", z.ZodTypeAny, {
|
|
67
|
-
admin_verify_status: GPSFuelApproveStatus;
|
|
68
|
-
transporter_verify_status: GPSFuelApproveStatus;
|
|
69
|
-
date_time: string;
|
|
70
|
-
gl: string;
|
|
71
|
-
lid: string;
|
|
72
|
-
ll: string;
|
|
73
|
-
ld: number;
|
|
74
68
|
status: Status;
|
|
75
69
|
organisation_id: string;
|
|
76
70
|
vehicle_id: string;
|
|
77
71
|
device_id: string;
|
|
78
72
|
driver_id: string;
|
|
79
|
-
user_id: string;
|
|
80
73
|
time_zone_id: string;
|
|
74
|
+
user_id: string;
|
|
75
|
+
gl: string;
|
|
76
|
+
lid: string;
|
|
77
|
+
ll: string;
|
|
78
|
+
ld: number;
|
|
81
79
|
before_refill_fuel_liters: number;
|
|
82
80
|
after_refill_fuel_liters: number;
|
|
83
81
|
gps_refill_liters: number;
|
|
84
82
|
verified_refill_liters: number;
|
|
83
|
+
admin_verify_status: GPSFuelApproveStatus;
|
|
84
|
+
transporter_verify_status: GPSFuelApproveStatus;
|
|
85
|
+
date_time: string;
|
|
85
86
|
refill_details: string;
|
|
86
|
-
cost_per_liter?: number | undefined;
|
|
87
|
-
total_cost?: number | undefined;
|
|
88
87
|
latitude?: number | undefined;
|
|
89
88
|
longitude?: number | undefined;
|
|
90
89
|
diff_refill_liters?: number | undefined;
|
|
90
|
+
cost_per_liter?: number | undefined;
|
|
91
|
+
total_cost?: number | undefined;
|
|
91
92
|
}, {
|
|
92
|
-
admin_verify_status: GPSFuelApproveStatus;
|
|
93
|
-
transporter_verify_status: GPSFuelApproveStatus;
|
|
94
|
-
date_time: string;
|
|
95
93
|
status: Status;
|
|
96
94
|
organisation_id: string;
|
|
97
95
|
vehicle_id: string;
|
|
98
96
|
device_id: string;
|
|
99
97
|
driver_id: string;
|
|
100
|
-
user_id: string;
|
|
101
98
|
time_zone_id: string;
|
|
102
|
-
|
|
103
|
-
|
|
99
|
+
user_id: string;
|
|
100
|
+
admin_verify_status: GPSFuelApproveStatus;
|
|
101
|
+
transporter_verify_status: GPSFuelApproveStatus;
|
|
102
|
+
date_time: string;
|
|
104
103
|
latitude?: unknown;
|
|
105
104
|
longitude?: unknown;
|
|
106
105
|
gl?: string | undefined;
|
|
@@ -112,6 +111,8 @@ declare const GPSFuelVehicleRefillSchema: z.ZodObject<{
|
|
|
112
111
|
gps_refill_liters?: unknown;
|
|
113
112
|
verified_refill_liters?: unknown;
|
|
114
113
|
diff_refill_liters?: unknown;
|
|
114
|
+
cost_per_liter?: unknown;
|
|
115
|
+
total_cost?: unknown;
|
|
115
116
|
refill_details?: string | undefined;
|
|
116
117
|
}>;
|
|
117
118
|
type GPSFuelVehicleRefillDTO = z.infer<typeof GPSFuelVehicleRefillSchema>;
|
|
@@ -156,10 +157,7 @@ declare const GPSFuelVehicleRefillQuerySchema: z.ZodObject<{
|
|
|
156
157
|
from_date: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
157
158
|
to_date: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
158
159
|
}, "strip", z.ZodTypeAny, {
|
|
159
|
-
admin_verify_status: GPSFuelApproveStatus[];
|
|
160
|
-
transporter_verify_status: GPSFuelApproveStatus[];
|
|
161
160
|
status: Status[];
|
|
162
|
-
time_zone_id: string;
|
|
163
161
|
search: string;
|
|
164
162
|
paging: PAGING;
|
|
165
163
|
page_count: number;
|
|
@@ -179,20 +177,21 @@ declare const GPSFuelVehicleRefillQuerySchema: z.ZodObject<{
|
|
|
179
177
|
}[];
|
|
180
178
|
include_master_data: YesNo;
|
|
181
179
|
date_format_id: string;
|
|
180
|
+
time_zone_id: string;
|
|
182
181
|
organisation_ids: string[];
|
|
183
|
-
user_ids: string[];
|
|
184
182
|
vehicle_ids: string[];
|
|
185
183
|
device_ids: string[];
|
|
186
184
|
driver_ids: string[];
|
|
187
185
|
from_date: string;
|
|
188
186
|
to_date: string;
|
|
187
|
+
user_ids: string[];
|
|
188
|
+
admin_verify_status: GPSFuelApproveStatus[];
|
|
189
|
+
transporter_verify_status: GPSFuelApproveStatus[];
|
|
189
190
|
}, {
|
|
190
|
-
time_zone_id: string;
|
|
191
191
|
date_format_id: string;
|
|
192
|
+
time_zone_id: string;
|
|
192
193
|
from_date: string;
|
|
193
194
|
to_date: string;
|
|
194
|
-
admin_verify_status?: GPSFuelApproveStatus[] | undefined;
|
|
195
|
-
transporter_verify_status?: GPSFuelApproveStatus[] | undefined;
|
|
196
195
|
status?: Status[] | undefined;
|
|
197
196
|
search?: string | undefined;
|
|
198
197
|
paging?: PAGING | undefined;
|
|
@@ -213,10 +212,12 @@ declare const GPSFuelVehicleRefillQuerySchema: z.ZodObject<{
|
|
|
213
212
|
}[] | undefined;
|
|
214
213
|
include_master_data?: YesNo | undefined;
|
|
215
214
|
organisation_ids?: string[] | undefined;
|
|
216
|
-
user_ids?: string[] | undefined;
|
|
217
215
|
vehicle_ids?: string[] | undefined;
|
|
218
216
|
device_ids?: string[] | undefined;
|
|
219
217
|
driver_ids?: string[] | undefined;
|
|
218
|
+
user_ids?: string[] | undefined;
|
|
219
|
+
admin_verify_status?: GPSFuelApproveStatus[] | undefined;
|
|
220
|
+
transporter_verify_status?: GPSFuelApproveStatus[] | undefined;
|
|
220
221
|
}>;
|
|
221
222
|
type GPSFuelVehicleRefillQueryDTO = z.infer<typeof GPSFuelVehicleRefillQuerySchema>;
|
|
222
223
|
declare const toGPSFuelVehicleRefillPayload: (data: GPSFuelVehicleRefill) => GPSFuelVehicleRefillDTO;
|
|
@@ -15,6 +15,7 @@ interface GPSFuelVehicleRemoval extends Record<string, unknown> {
|
|
|
15
15
|
admin_verify_status: GPSFuelApproveStatus;
|
|
16
16
|
transporter_verify_status: GPSFuelApproveStatus;
|
|
17
17
|
date_time: string;
|
|
18
|
+
date_time_f: string;
|
|
18
19
|
cost_per_liter?: number;
|
|
19
20
|
total_cost?: number;
|
|
20
21
|
removal_details?: string;
|
|
@@ -64,55 +65,55 @@ declare const GPSFuelVehicleRemovalSchema: z.ZodObject<{
|
|
|
64
65
|
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
65
66
|
time_zone_id: z.ZodEffects<z.ZodString, string, string>;
|
|
66
67
|
}, "strip", z.ZodTypeAny, {
|
|
67
|
-
before_remove_fuel_liters: number;
|
|
68
|
-
after_remove_fuel_liters: number;
|
|
69
|
-
gps_removal_liters: number;
|
|
70
|
-
verified_removal_liters: number;
|
|
71
|
-
admin_verify_status: GPSFuelApproveStatus;
|
|
72
|
-
transporter_verify_status: GPSFuelApproveStatus;
|
|
73
|
-
date_time: string;
|
|
74
|
-
removal_details: string;
|
|
75
|
-
gl: string;
|
|
76
|
-
lid: string;
|
|
77
|
-
ll: string;
|
|
78
|
-
ld: number;
|
|
79
68
|
status: Status;
|
|
80
69
|
organisation_id: string;
|
|
81
70
|
vehicle_id: string;
|
|
82
71
|
device_id: string;
|
|
83
72
|
driver_id: string;
|
|
84
|
-
user_id: string;
|
|
85
73
|
time_zone_id: string;
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
}, {
|
|
74
|
+
user_id: string;
|
|
75
|
+
gl: string;
|
|
76
|
+
lid: string;
|
|
77
|
+
ll: string;
|
|
78
|
+
ld: number;
|
|
92
79
|
admin_verify_status: GPSFuelApproveStatus;
|
|
93
80
|
transporter_verify_status: GPSFuelApproveStatus;
|
|
94
81
|
date_time: string;
|
|
82
|
+
before_remove_fuel_liters: number;
|
|
83
|
+
after_remove_fuel_liters: number;
|
|
84
|
+
gps_removal_liters: number;
|
|
85
|
+
verified_removal_liters: number;
|
|
86
|
+
removal_details: string;
|
|
87
|
+
latitude?: number | undefined;
|
|
88
|
+
longitude?: number | undefined;
|
|
89
|
+
cost_per_liter?: number | undefined;
|
|
90
|
+
total_cost?: number | undefined;
|
|
91
|
+
diff_removal_liters?: number | undefined;
|
|
92
|
+
}, {
|
|
95
93
|
status: Status;
|
|
96
94
|
organisation_id: string;
|
|
97
95
|
vehicle_id: string;
|
|
98
96
|
device_id: string;
|
|
99
97
|
driver_id: string;
|
|
100
|
-
user_id: string;
|
|
101
98
|
time_zone_id: string;
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
diff_removal_liters?: unknown;
|
|
107
|
-
cost_per_liter?: unknown;
|
|
108
|
-
total_cost?: unknown;
|
|
109
|
-
removal_details?: string | undefined;
|
|
99
|
+
user_id: string;
|
|
100
|
+
admin_verify_status: GPSFuelApproveStatus;
|
|
101
|
+
transporter_verify_status: GPSFuelApproveStatus;
|
|
102
|
+
date_time: string;
|
|
110
103
|
latitude?: unknown;
|
|
111
104
|
longitude?: unknown;
|
|
112
105
|
gl?: string | undefined;
|
|
113
106
|
lid?: string | undefined;
|
|
114
107
|
ll?: string | undefined;
|
|
115
108
|
ld?: unknown;
|
|
109
|
+
cost_per_liter?: unknown;
|
|
110
|
+
total_cost?: unknown;
|
|
111
|
+
before_remove_fuel_liters?: unknown;
|
|
112
|
+
after_remove_fuel_liters?: unknown;
|
|
113
|
+
gps_removal_liters?: unknown;
|
|
114
|
+
verified_removal_liters?: unknown;
|
|
115
|
+
diff_removal_liters?: unknown;
|
|
116
|
+
removal_details?: string | undefined;
|
|
116
117
|
}>;
|
|
117
118
|
type GPSFuelVehicleRemovalDTO = z.infer<typeof GPSFuelVehicleRemovalSchema>;
|
|
118
119
|
declare const GPSFuelVehicleRemovalQuerySchema: z.ZodObject<{
|
|
@@ -156,10 +157,7 @@ declare const GPSFuelVehicleRemovalQuerySchema: z.ZodObject<{
|
|
|
156
157
|
from_date: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
157
158
|
to_date: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
158
159
|
}, "strip", z.ZodTypeAny, {
|
|
159
|
-
admin_verify_status: GPSFuelApproveStatus[];
|
|
160
|
-
transporter_verify_status: GPSFuelApproveStatus[];
|
|
161
160
|
status: Status[];
|
|
162
|
-
time_zone_id: string;
|
|
163
161
|
search: string;
|
|
164
162
|
paging: PAGING;
|
|
165
163
|
page_count: number;
|
|
@@ -179,20 +177,21 @@ declare const GPSFuelVehicleRemovalQuerySchema: z.ZodObject<{
|
|
|
179
177
|
}[];
|
|
180
178
|
include_master_data: YesNo;
|
|
181
179
|
date_format_id: string;
|
|
180
|
+
time_zone_id: string;
|
|
182
181
|
organisation_ids: string[];
|
|
183
|
-
user_ids: string[];
|
|
184
182
|
vehicle_ids: string[];
|
|
185
183
|
device_ids: string[];
|
|
186
184
|
driver_ids: string[];
|
|
187
185
|
from_date: string;
|
|
188
186
|
to_date: string;
|
|
187
|
+
user_ids: string[];
|
|
188
|
+
admin_verify_status: GPSFuelApproveStatus[];
|
|
189
|
+
transporter_verify_status: GPSFuelApproveStatus[];
|
|
189
190
|
}, {
|
|
190
|
-
time_zone_id: string;
|
|
191
191
|
date_format_id: string;
|
|
192
|
+
time_zone_id: string;
|
|
192
193
|
from_date: string;
|
|
193
194
|
to_date: string;
|
|
194
|
-
admin_verify_status?: GPSFuelApproveStatus[] | undefined;
|
|
195
|
-
transporter_verify_status?: GPSFuelApproveStatus[] | undefined;
|
|
196
195
|
status?: Status[] | undefined;
|
|
197
196
|
search?: string | undefined;
|
|
198
197
|
paging?: PAGING | undefined;
|
|
@@ -213,10 +212,12 @@ declare const GPSFuelVehicleRemovalQuerySchema: z.ZodObject<{
|
|
|
213
212
|
}[] | undefined;
|
|
214
213
|
include_master_data?: YesNo | undefined;
|
|
215
214
|
organisation_ids?: string[] | undefined;
|
|
216
|
-
user_ids?: string[] | undefined;
|
|
217
215
|
vehicle_ids?: string[] | undefined;
|
|
218
216
|
device_ids?: string[] | undefined;
|
|
219
217
|
driver_ids?: string[] | undefined;
|
|
218
|
+
user_ids?: string[] | undefined;
|
|
219
|
+
admin_verify_status?: GPSFuelApproveStatus[] | undefined;
|
|
220
|
+
transporter_verify_status?: GPSFuelApproveStatus[] | undefined;
|
|
220
221
|
}>;
|
|
221
222
|
type GPSFuelVehicleRemovalQueryDTO = z.infer<typeof GPSFuelVehicleRemovalQuerySchema>;
|
|
222
223
|
declare const toGPSFuelVehicleRemovalPayload: (item: GPSFuelVehicleRemoval) => GPSFuelVehicleRemovalDTO;
|
package/package.json
CHANGED