vms-nest-prisma-api-document 6.0.30 → 6.0.51
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 +49 -49
- package/dist/services/fleet/fuel_management/fleet_fuel_removal_service.d.ts +34 -34
- package/dist/services/gps/features/geofence/gps_geofence_data_service.d.ts +11 -10
- package/dist/services/gps/features/geofence/gps_geofence_transaction_service.d.ts +14 -10
- package/dist/services/gps/features/geofence/gps_geofence_transaction_service.js +1 -1
- package/dist/services/gps/features/geofence/gps_geofence_transaction_summary_service.d.ts +9 -4
- package/dist/services/gps/features/geofence/trip_geofence_to_geofence_service.d.ts +12 -35
- package/dist/services/gps/features/geofence/trip_geofence_to_geofence_service.js +1 -25
- 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_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/dist/services/website/contact_us_detail_service.d.ts +1 -1
- package/dist/services/website/faq_service.d.ts +1 -1
- package/package.json +1 -1
|
@@ -266,8 +266,8 @@ var ENDPOINTS = {
|
|
|
266
266
|
var GPSGeofenceTransactionSchema = z3.object({
|
|
267
267
|
organisation_id: single_select_mandatory("Organisation ID"),
|
|
268
268
|
vehicle_id: single_select_mandatory("Master Vehicle ID"),
|
|
269
|
-
gps_geofence_id: single_select_mandatory("GPS Geofence ID"),
|
|
270
269
|
driver_id: single_select_optional("Driver ID"),
|
|
270
|
+
gps_geofence_id: single_select_mandatory("GPS Geofence ID"),
|
|
271
271
|
geofence_status_type: enumMandatory(
|
|
272
272
|
"Geofence Status Type",
|
|
273
273
|
GeofenceStatusType,
|
|
@@ -19,14 +19,19 @@ interface GPSGeofenceTransactionSummary extends Record<string, unknown> {
|
|
|
19
19
|
UserOrganisation?: UserOrganisation;
|
|
20
20
|
vehicle_id: string;
|
|
21
21
|
MasterVehicle?: MasterVehicle;
|
|
22
|
+
vehicle_number?: string;
|
|
23
|
+
vehicle_type?: string;
|
|
22
24
|
driver_id?: string;
|
|
23
25
|
MasterDriver?: MasterDriver;
|
|
26
|
+
driver_details?: string;
|
|
24
27
|
gps_geofence_id: string;
|
|
25
28
|
GPSGeofenceData?: GPSGeofenceData;
|
|
29
|
+
geofence_details?: string;
|
|
26
30
|
enter_gps_geofence_transaction_id: string;
|
|
27
31
|
EnterGPSGeofenceTransaction?: GPSGeofenceTransaction;
|
|
28
32
|
exit_gps_geofence_transaction_id?: string;
|
|
29
33
|
ExitGPSGeofenceTransaction?: GPSGeofenceTransaction;
|
|
34
|
+
duration_seconds_f?: string;
|
|
30
35
|
}
|
|
31
36
|
declare const GPSGeofenceTransactionSummarySchema: z.ZodObject<{
|
|
32
37
|
organisation_id: z.ZodEffects<z.ZodString, string, string>;
|
|
@@ -40,22 +45,22 @@ declare const GPSGeofenceTransactionSummarySchema: z.ZodObject<{
|
|
|
40
45
|
duration_seconds: z.ZodEffects<z.ZodDefault<z.ZodOptional<z.ZodNumber>>, number, unknown>;
|
|
41
46
|
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
42
47
|
}, "strip", z.ZodTypeAny, {
|
|
48
|
+
gps_geofence_id: string;
|
|
43
49
|
status: Status;
|
|
44
50
|
organisation_id: string;
|
|
45
|
-
vehicle_id: string;
|
|
46
51
|
driver_id: string;
|
|
47
|
-
|
|
52
|
+
vehicle_id: string;
|
|
48
53
|
geofence_enter_date_time: string;
|
|
49
54
|
geofence_exit_date_time: string;
|
|
50
55
|
duration_seconds: number;
|
|
51
56
|
enter_gps_geofence_transaction_id: string;
|
|
52
57
|
exit_gps_geofence_transaction_id: string;
|
|
53
58
|
}, {
|
|
59
|
+
gps_geofence_id: string;
|
|
54
60
|
status: Status;
|
|
55
61
|
organisation_id: string;
|
|
56
|
-
vehicle_id: string;
|
|
57
62
|
driver_id: string;
|
|
58
|
-
|
|
63
|
+
vehicle_id: string;
|
|
59
64
|
geofence_enter_date_time: string;
|
|
60
65
|
enter_gps_geofence_transaction_id: string;
|
|
61
66
|
exit_gps_geofence_transaction_id: string;
|
|
@@ -16,14 +16,6 @@ interface TripGeofenceToGeofence extends Record<string, unknown> {
|
|
|
16
16
|
distance_meters?: number;
|
|
17
17
|
max_speed?: number;
|
|
18
18
|
avg_speed?: number;
|
|
19
|
-
start_fuel_liters?: number;
|
|
20
|
-
end_fuel_liters?: number;
|
|
21
|
-
consumed_fuel_liters?: number;
|
|
22
|
-
refill_fuel_liters?: number;
|
|
23
|
-
removal_fuel_liters?: number;
|
|
24
|
-
refills_count?: number;
|
|
25
|
-
removals_count?: number;
|
|
26
|
-
mileage?: number;
|
|
27
19
|
status: Status;
|
|
28
20
|
added_date_time: string;
|
|
29
21
|
modified_date_time: string;
|
|
@@ -31,19 +23,28 @@ interface TripGeofenceToGeofence extends Record<string, unknown> {
|
|
|
31
23
|
UserOrganisation?: UserOrganisation;
|
|
32
24
|
vehicle_id: string;
|
|
33
25
|
MasterVehicle?: MasterVehicle;
|
|
26
|
+
vehicle_number?: string;
|
|
27
|
+
vehicle_type?: string;
|
|
34
28
|
driver_id?: string;
|
|
35
29
|
MasterDriver?: MasterDriver;
|
|
30
|
+
driver_details?: string;
|
|
36
31
|
from_geofence_id: string;
|
|
37
32
|
FromGeofence?: GPSGeofenceData;
|
|
33
|
+
from_geofence_details?: string;
|
|
38
34
|
to_geofence_id: string;
|
|
39
35
|
ToGeofence?: GPSGeofenceData;
|
|
36
|
+
to_geofence_details?: string;
|
|
37
|
+
duration_seconds_f?: string;
|
|
38
|
+
travel_duration_seconds_f?: string;
|
|
39
|
+
stopped_duration_seconds_f?: string;
|
|
40
|
+
distance_km_f?: string;
|
|
40
41
|
}
|
|
41
42
|
declare const TripGeofenceToGeofenceSchema: z.ZodObject<{
|
|
42
43
|
organisation_id: z.ZodEffects<z.ZodString, string, string>;
|
|
43
44
|
vehicle_id: z.ZodEffects<z.ZodString, string, string>;
|
|
45
|
+
driver_id: z.ZodEffects<z.ZodString, string, string>;
|
|
44
46
|
from_geofence_id: z.ZodEffects<z.ZodString, string, string>;
|
|
45
47
|
to_geofence_id: z.ZodEffects<z.ZodString, string, string>;
|
|
46
|
-
driver_id: z.ZodEffects<z.ZodString, string, string>;
|
|
47
48
|
from_geofence_exit_date_time: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
48
49
|
to_geofence_enter_date_time: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
49
50
|
duration_seconds: z.ZodEffects<z.ZodNumber, number, unknown>;
|
|
@@ -52,20 +53,12 @@ declare const TripGeofenceToGeofenceSchema: z.ZodObject<{
|
|
|
52
53
|
distance_meters: z.ZodOptional<z.ZodEffects<z.ZodDefault<z.ZodNumber>, number, unknown>>;
|
|
53
54
|
max_speed: z.ZodEffects<z.ZodDefault<z.ZodOptional<z.ZodNumber>>, number, unknown>;
|
|
54
55
|
avg_speed: z.ZodEffects<z.ZodDefault<z.ZodOptional<z.ZodNumber>>, number, unknown>;
|
|
55
|
-
start_fuel_liters: z.ZodOptional<z.ZodEffects<z.ZodDefault<z.ZodNumber>, number, unknown>>;
|
|
56
|
-
end_fuel_liters: z.ZodOptional<z.ZodEffects<z.ZodDefault<z.ZodNumber>, number, unknown>>;
|
|
57
|
-
consumed_fuel_liters: z.ZodOptional<z.ZodEffects<z.ZodDefault<z.ZodNumber>, number, unknown>>;
|
|
58
|
-
refill_fuel_liters: z.ZodOptional<z.ZodEffects<z.ZodDefault<z.ZodNumber>, number, unknown>>;
|
|
59
|
-
removal_fuel_liters: z.ZodOptional<z.ZodEffects<z.ZodDefault<z.ZodNumber>, number, unknown>>;
|
|
60
|
-
refills_count: z.ZodEffects<z.ZodDefault<z.ZodOptional<z.ZodNumber>>, number, unknown>;
|
|
61
|
-
removals_count: z.ZodEffects<z.ZodDefault<z.ZodOptional<z.ZodNumber>>, number, unknown>;
|
|
62
|
-
mileage: z.ZodOptional<z.ZodEffects<z.ZodDefault<z.ZodNumber>, number, unknown>>;
|
|
63
56
|
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
64
57
|
}, "strip", z.ZodTypeAny, {
|
|
65
58
|
status: Status;
|
|
66
59
|
organisation_id: string;
|
|
67
|
-
vehicle_id: string;
|
|
68
60
|
driver_id: string;
|
|
61
|
+
vehicle_id: string;
|
|
69
62
|
duration_seconds: number;
|
|
70
63
|
from_geofence_exit_date_time: string;
|
|
71
64
|
to_geofence_enter_date_time: string;
|
|
@@ -73,22 +66,14 @@ declare const TripGeofenceToGeofenceSchema: z.ZodObject<{
|
|
|
73
66
|
stopped_duration_seconds: number;
|
|
74
67
|
max_speed: number;
|
|
75
68
|
avg_speed: number;
|
|
76
|
-
refills_count: number;
|
|
77
|
-
removals_count: number;
|
|
78
69
|
from_geofence_id: string;
|
|
79
70
|
to_geofence_id: string;
|
|
80
71
|
distance_meters?: number | undefined;
|
|
81
|
-
start_fuel_liters?: number | undefined;
|
|
82
|
-
end_fuel_liters?: number | undefined;
|
|
83
|
-
consumed_fuel_liters?: number | undefined;
|
|
84
|
-
refill_fuel_liters?: number | undefined;
|
|
85
|
-
removal_fuel_liters?: number | undefined;
|
|
86
|
-
mileage?: number | undefined;
|
|
87
72
|
}, {
|
|
88
73
|
status: Status;
|
|
89
74
|
organisation_id: string;
|
|
90
|
-
vehicle_id: string;
|
|
91
75
|
driver_id: string;
|
|
76
|
+
vehicle_id: string;
|
|
92
77
|
from_geofence_exit_date_time: string;
|
|
93
78
|
to_geofence_enter_date_time: string;
|
|
94
79
|
from_geofence_id: string;
|
|
@@ -99,14 +84,6 @@ declare const TripGeofenceToGeofenceSchema: z.ZodObject<{
|
|
|
99
84
|
distance_meters?: unknown;
|
|
100
85
|
max_speed?: unknown;
|
|
101
86
|
avg_speed?: unknown;
|
|
102
|
-
start_fuel_liters?: unknown;
|
|
103
|
-
end_fuel_liters?: unknown;
|
|
104
|
-
consumed_fuel_liters?: unknown;
|
|
105
|
-
refill_fuel_liters?: unknown;
|
|
106
|
-
removal_fuel_liters?: unknown;
|
|
107
|
-
refills_count?: unknown;
|
|
108
|
-
removals_count?: unknown;
|
|
109
|
-
mileage?: unknown;
|
|
110
87
|
}>;
|
|
111
88
|
type TripGeofenceToGeofenceDTO = z.infer<typeof TripGeofenceToGeofenceSchema>;
|
|
112
89
|
declare const TripGeofenceToGeofenceQuerySchema: z.ZodObject<{
|
|
@@ -289,9 +289,9 @@ var ENDPOINTS = {
|
|
|
289
289
|
var TripGeofenceToGeofenceSchema = z3.object({
|
|
290
290
|
organisation_id: single_select_mandatory("Organisation ID"),
|
|
291
291
|
vehicle_id: single_select_mandatory("Master Vehicle ID"),
|
|
292
|
+
driver_id: single_select_optional("Driver ID"),
|
|
292
293
|
from_geofence_id: single_select_mandatory("From Geofence ID"),
|
|
293
294
|
to_geofence_id: single_select_mandatory("To Geofence ID"),
|
|
294
|
-
driver_id: single_select_optional("Driver ID"),
|
|
295
295
|
from_geofence_exit_date_time: dateMandatory("From Geofence Exit Date Time"),
|
|
296
296
|
to_geofence_enter_date_time: dateMandatory("To Geofence Enter Date Time"),
|
|
297
297
|
duration_seconds: numberMandatory("Duration Seconds"),
|
|
@@ -301,14 +301,6 @@ var TripGeofenceToGeofenceSchema = z3.object({
|
|
|
301
301
|
distance_meters: doubleOptional("Distance KM"),
|
|
302
302
|
max_speed: numberOptional("Max Speed"),
|
|
303
303
|
avg_speed: numberOptional("Avg Speed"),
|
|
304
|
-
start_fuel_liters: doubleOptional("Start Fuel Liters"),
|
|
305
|
-
end_fuel_liters: doubleOptional("End Fuel Liters"),
|
|
306
|
-
consumed_fuel_liters: doubleOptional("Consumed Fuel Liters"),
|
|
307
|
-
refill_fuel_liters: doubleOptional("Refill Fuel Liters"),
|
|
308
|
-
removal_fuel_liters: doubleOptional("Removals Fuel Liters"),
|
|
309
|
-
refills_count: numberOptional("Refills Count"),
|
|
310
|
-
removals_count: numberOptional("Removals Count"),
|
|
311
|
-
mileage: doubleOptional("Mileage"),
|
|
312
304
|
status: enumMandatory("Status", Status, "Active" /* Active */)
|
|
313
305
|
});
|
|
314
306
|
var TripGeofenceToGeofenceQuerySchema = BaseQuerySchema.extend({
|
|
@@ -339,14 +331,6 @@ var toTripGeofenceToGeofencePayload = (data) => ({
|
|
|
339
331
|
distance_meters: data.distance_meters,
|
|
340
332
|
max_speed: data.max_speed || 0,
|
|
341
333
|
avg_speed: data.avg_speed || 0,
|
|
342
|
-
start_fuel_liters: data.start_fuel_liters,
|
|
343
|
-
end_fuel_liters: data.end_fuel_liters,
|
|
344
|
-
consumed_fuel_liters: data.consumed_fuel_liters,
|
|
345
|
-
refill_fuel_liters: data.refill_fuel_liters,
|
|
346
|
-
removal_fuel_liters: data.removal_fuel_liters,
|
|
347
|
-
refills_count: data.refills_count || 0,
|
|
348
|
-
removals_count: data.removals_count || 0,
|
|
349
|
-
mileage: data.mileage,
|
|
350
334
|
status: data.status
|
|
351
335
|
});
|
|
352
336
|
var newTripGeofenceToGeofencePayload = () => ({
|
|
@@ -363,14 +347,6 @@ var newTripGeofenceToGeofencePayload = () => ({
|
|
|
363
347
|
distance_meters: 0,
|
|
364
348
|
max_speed: 0,
|
|
365
349
|
avg_speed: 0,
|
|
366
|
-
start_fuel_liters: 0,
|
|
367
|
-
end_fuel_liters: 0,
|
|
368
|
-
consumed_fuel_liters: 0,
|
|
369
|
-
refill_fuel_liters: 0,
|
|
370
|
-
removal_fuel_liters: 0,
|
|
371
|
-
refills_count: 0,
|
|
372
|
-
removals_count: 0,
|
|
373
|
-
mileage: 0,
|
|
374
350
|
status: "Active" /* Active */
|
|
375
351
|
});
|
|
376
352
|
var findTripGeofenceToGeofence = async (data) => {
|
|
@@ -34,41 +34,41 @@ declare const MultipleVehicleReportSchema: z.ZodObject<{
|
|
|
34
34
|
vehicle_summary: z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof YesNo>>>;
|
|
35
35
|
driver_summary: z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof YesNo>>>;
|
|
36
36
|
}, "strip", z.ZodTypeAny, {
|
|
37
|
-
db_group: string;
|
|
38
|
-
db_instance: string;
|
|
39
|
-
night_driving: NightDriving;
|
|
40
37
|
search: string;
|
|
41
38
|
paging: PAGING;
|
|
42
39
|
page_count: number;
|
|
43
40
|
page_index: number;
|
|
41
|
+
login_from: LoginFrom;
|
|
44
42
|
date_format_id: string;
|
|
45
43
|
time_zone_id: string;
|
|
46
|
-
login_from: LoginFrom;
|
|
47
44
|
organisation_id: string;
|
|
45
|
+
db_instance: string;
|
|
46
|
+
db_group: string;
|
|
48
47
|
vehicle_ids: string[];
|
|
49
48
|
from_date: string;
|
|
50
49
|
to_date: string;
|
|
51
50
|
time_slot: TimeSlot;
|
|
51
|
+
night_driving: NightDriving;
|
|
52
52
|
over_speed: OverSpeed;
|
|
53
53
|
utilization_km: number;
|
|
54
54
|
vehicle_summary: YesNo;
|
|
55
55
|
driver_summary: YesNo;
|
|
56
56
|
}, {
|
|
57
|
-
|
|
58
|
-
db_instance: string;
|
|
57
|
+
login_from: LoginFrom;
|
|
59
58
|
date_format_id: string;
|
|
60
59
|
time_zone_id: string;
|
|
61
|
-
login_from: LoginFrom;
|
|
62
60
|
organisation_id: string;
|
|
61
|
+
db_instance: string;
|
|
62
|
+
db_group: string;
|
|
63
63
|
from_date: string;
|
|
64
64
|
to_date: string;
|
|
65
|
-
night_driving?: NightDriving | undefined;
|
|
66
65
|
search?: string | undefined;
|
|
67
66
|
paging?: PAGING | undefined;
|
|
68
67
|
page_count?: unknown;
|
|
69
68
|
page_index?: unknown;
|
|
70
69
|
vehicle_ids?: string[] | undefined;
|
|
71
70
|
time_slot?: TimeSlot | undefined;
|
|
71
|
+
night_driving?: NightDriving | undefined;
|
|
72
72
|
over_speed?: OverSpeed | undefined;
|
|
73
73
|
utilization_km?: unknown;
|
|
74
74
|
vehicle_summary?: YesNo | undefined;
|
|
@@ -97,40 +97,40 @@ declare const MultipleDriverReportSchema: z.ZodObject<{
|
|
|
97
97
|
vehicle_summary: z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof YesNo>>>;
|
|
98
98
|
driver_summary: z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof YesNo>>>;
|
|
99
99
|
}, "strip", z.ZodTypeAny, {
|
|
100
|
-
db_group: string;
|
|
101
|
-
db_instance: string;
|
|
102
|
-
night_driving: NightDriving;
|
|
103
100
|
search: string;
|
|
104
101
|
paging: PAGING;
|
|
105
102
|
page_count: number;
|
|
106
103
|
page_index: number;
|
|
104
|
+
login_from: LoginFrom;
|
|
107
105
|
date_format_id: string;
|
|
108
106
|
time_zone_id: string;
|
|
109
|
-
login_from: LoginFrom;
|
|
110
107
|
organisation_id: string;
|
|
108
|
+
db_instance: string;
|
|
109
|
+
db_group: string;
|
|
111
110
|
from_date: string;
|
|
112
111
|
to_date: string;
|
|
113
112
|
time_slot: TimeSlot;
|
|
113
|
+
night_driving: NightDriving;
|
|
114
114
|
over_speed: OverSpeed;
|
|
115
115
|
utilization_km: number;
|
|
116
116
|
vehicle_summary: YesNo;
|
|
117
117
|
driver_summary: YesNo;
|
|
118
118
|
driver_ids: string[];
|
|
119
119
|
}, {
|
|
120
|
-
|
|
121
|
-
db_instance: string;
|
|
120
|
+
login_from: LoginFrom;
|
|
122
121
|
date_format_id: string;
|
|
123
122
|
time_zone_id: string;
|
|
124
|
-
login_from: LoginFrom;
|
|
125
123
|
organisation_id: string;
|
|
124
|
+
db_instance: string;
|
|
125
|
+
db_group: string;
|
|
126
126
|
from_date: string;
|
|
127
127
|
to_date: string;
|
|
128
|
-
night_driving?: NightDriving | undefined;
|
|
129
128
|
search?: string | undefined;
|
|
130
129
|
paging?: PAGING | undefined;
|
|
131
130
|
page_count?: unknown;
|
|
132
131
|
page_index?: unknown;
|
|
133
132
|
time_slot?: TimeSlot | undefined;
|
|
133
|
+
night_driving?: NightDriving | undefined;
|
|
134
134
|
over_speed?: OverSpeed | undefined;
|
|
135
135
|
utilization_km?: unknown;
|
|
136
136
|
vehicle_summary?: YesNo | undefined;
|
|
@@ -157,16 +157,16 @@ declare const SimpleReportSchema: z.ZodObject<{
|
|
|
157
157
|
interval_seconds: z.ZodEffects<z.ZodDefault<z.ZodOptional<z.ZodNumber>>, number, unknown>;
|
|
158
158
|
boolean_type: z.ZodType<BooleanType, z.ZodTypeDef, BooleanType>;
|
|
159
159
|
}, "strip", z.ZodTypeAny, {
|
|
160
|
-
db_group: string;
|
|
161
|
-
db_instance: string;
|
|
162
160
|
search: string;
|
|
163
161
|
paging: PAGING;
|
|
164
162
|
page_count: number;
|
|
165
163
|
page_index: number;
|
|
164
|
+
login_from: LoginFrom;
|
|
166
165
|
date_format_id: string;
|
|
167
166
|
time_zone_id: string;
|
|
168
|
-
login_from: LoginFrom;
|
|
169
167
|
organisation_id: string;
|
|
168
|
+
db_instance: string;
|
|
169
|
+
db_group: string;
|
|
170
170
|
vehicle_ids: string[];
|
|
171
171
|
from_date: string;
|
|
172
172
|
to_date: string;
|
|
@@ -174,12 +174,12 @@ declare const SimpleReportSchema: z.ZodObject<{
|
|
|
174
174
|
interval_seconds: number;
|
|
175
175
|
boolean_type: BooleanType;
|
|
176
176
|
}, {
|
|
177
|
-
|
|
178
|
-
db_instance: string;
|
|
177
|
+
login_from: LoginFrom;
|
|
179
178
|
date_format_id: string;
|
|
180
179
|
time_zone_id: string;
|
|
181
|
-
login_from: LoginFrom;
|
|
182
180
|
organisation_id: string;
|
|
181
|
+
db_instance: string;
|
|
182
|
+
db_group: string;
|
|
183
183
|
from_date: string;
|
|
184
184
|
to_date: string;
|
|
185
185
|
gps_type: GPSType;
|
|
@@ -208,26 +208,26 @@ declare const MultipleVehicleLast24HoursReportSchema: z.ZodObject<{
|
|
|
208
208
|
utilization_km: z.ZodEffects<z.ZodNumber, number, unknown>;
|
|
209
209
|
is12am: z.ZodType<Is12AM, z.ZodTypeDef, Is12AM>;
|
|
210
210
|
}, "strip", z.ZodTypeAny, {
|
|
211
|
-
db_group: string;
|
|
212
|
-
db_instance: string;
|
|
213
211
|
search: string;
|
|
214
212
|
paging: PAGING;
|
|
215
213
|
page_count: number;
|
|
216
214
|
page_index: number;
|
|
215
|
+
login_from: LoginFrom;
|
|
217
216
|
date_format_id: string;
|
|
218
217
|
time_zone_id: string;
|
|
219
|
-
login_from: LoginFrom;
|
|
220
218
|
organisation_id: string;
|
|
219
|
+
db_instance: string;
|
|
220
|
+
db_group: string;
|
|
221
221
|
vehicle_ids: string[];
|
|
222
222
|
utilization_km: number;
|
|
223
223
|
is12am: Is12AM;
|
|
224
224
|
}, {
|
|
225
|
-
|
|
226
|
-
db_instance: string;
|
|
225
|
+
login_from: LoginFrom;
|
|
227
226
|
date_format_id: string;
|
|
228
227
|
time_zone_id: string;
|
|
229
|
-
login_from: LoginFrom;
|
|
230
228
|
organisation_id: string;
|
|
229
|
+
db_instance: string;
|
|
230
|
+
db_group: string;
|
|
231
231
|
is12am: Is12AM;
|
|
232
232
|
search?: string | undefined;
|
|
233
233
|
paging?: PAGING | undefined;
|
|
@@ -254,27 +254,27 @@ declare const SingleVehicleReportSchema: z.ZodObject<{
|
|
|
254
254
|
to_date_time: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
255
255
|
interval_seconds: z.ZodEffects<z.ZodNumber, number, unknown>;
|
|
256
256
|
}, "strip", z.ZodTypeAny, {
|
|
257
|
-
db_group: string;
|
|
258
|
-
db_instance: string;
|
|
259
257
|
search: string;
|
|
260
258
|
paging: PAGING;
|
|
261
259
|
page_count: number;
|
|
262
260
|
page_index: number;
|
|
261
|
+
login_from: LoginFrom;
|
|
263
262
|
date_format_id: string;
|
|
264
263
|
time_zone_id: string;
|
|
265
|
-
login_from: LoginFrom;
|
|
266
264
|
organisation_id: string;
|
|
265
|
+
db_instance: string;
|
|
266
|
+
db_group: string;
|
|
267
267
|
interval_seconds: number;
|
|
268
268
|
vehicle_id: string;
|
|
269
269
|
from_date_time: string;
|
|
270
270
|
to_date_time: string;
|
|
271
271
|
}, {
|
|
272
|
-
|
|
273
|
-
db_instance: string;
|
|
272
|
+
login_from: LoginFrom;
|
|
274
273
|
date_format_id: string;
|
|
275
274
|
time_zone_id: string;
|
|
276
|
-
login_from: LoginFrom;
|
|
277
275
|
organisation_id: string;
|
|
276
|
+
db_instance: string;
|
|
277
|
+
db_group: string;
|
|
278
278
|
vehicle_id: string;
|
|
279
279
|
from_date_time: string;
|
|
280
280
|
to_date_time: string;
|
|
@@ -299,24 +299,24 @@ declare const VehicleDashboardSummaryQuerySchema: z.ZodObject<{
|
|
|
299
299
|
db_group: z.ZodEffects<z.ZodString, string, string>;
|
|
300
300
|
vehicle_id: z.ZodEffects<z.ZodString, string, string>;
|
|
301
301
|
}, "strip", z.ZodTypeAny, {
|
|
302
|
-
db_group: string;
|
|
303
|
-
db_instance: string;
|
|
304
302
|
search: string;
|
|
305
303
|
paging: PAGING;
|
|
306
304
|
page_count: number;
|
|
307
305
|
page_index: number;
|
|
306
|
+
login_from: LoginFrom;
|
|
308
307
|
date_format_id: string;
|
|
309
308
|
time_zone_id: string;
|
|
310
|
-
login_from: LoginFrom;
|
|
311
309
|
organisation_id: string;
|
|
310
|
+
db_instance: string;
|
|
311
|
+
db_group: string;
|
|
312
312
|
vehicle_id: string;
|
|
313
313
|
}, {
|
|
314
|
-
|
|
315
|
-
db_instance: string;
|
|
314
|
+
login_from: LoginFrom;
|
|
316
315
|
date_format_id: string;
|
|
317
316
|
time_zone_id: string;
|
|
318
|
-
login_from: LoginFrom;
|
|
319
317
|
organisation_id: string;
|
|
318
|
+
db_instance: string;
|
|
319
|
+
db_group: string;
|
|
320
320
|
vehicle_id: string;
|
|
321
321
|
search?: string | undefined;
|
|
322
322
|
paging?: PAGING | undefined;
|
|
@@ -346,16 +346,16 @@ declare const AlertReportSchema: z.ZodObject<{
|
|
|
346
346
|
from_date: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
347
347
|
to_date: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
348
348
|
}, "strip", z.ZodTypeAny, {
|
|
349
|
-
db_group: string;
|
|
350
|
-
db_instance: string;
|
|
351
349
|
search: string;
|
|
352
350
|
paging: PAGING;
|
|
353
351
|
page_count: number;
|
|
354
352
|
page_index: number;
|
|
353
|
+
login_from: LoginFrom;
|
|
355
354
|
date_format_id: string;
|
|
356
355
|
time_zone_id: string;
|
|
357
|
-
login_from: LoginFrom;
|
|
358
356
|
organisation_id: string;
|
|
357
|
+
db_instance: string;
|
|
358
|
+
db_group: string;
|
|
359
359
|
vehicle_ids: string[];
|
|
360
360
|
from_date: string;
|
|
361
361
|
to_date: string;
|
|
@@ -366,12 +366,12 @@ declare const AlertReportSchema: z.ZodObject<{
|
|
|
366
366
|
alert_types: AlertType[];
|
|
367
367
|
alert_sub_types: AlertSubType[];
|
|
368
368
|
}, {
|
|
369
|
-
|
|
370
|
-
db_instance: string;
|
|
369
|
+
login_from: LoginFrom;
|
|
371
370
|
date_format_id: string;
|
|
372
371
|
time_zone_id: string;
|
|
373
|
-
login_from: LoginFrom;
|
|
374
372
|
organisation_id: string;
|
|
373
|
+
db_instance: string;
|
|
374
|
+
db_group: string;
|
|
375
375
|
from_date: string;
|
|
376
376
|
to_date: string;
|
|
377
377
|
search?: string | undefined;
|
|
@@ -28,21 +28,21 @@ declare const MasterFuelCompanySchema: z.ZodObject<{
|
|
|
28
28
|
logo_key: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
|
|
29
29
|
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
30
30
|
}, "strip", z.ZodTypeAny, {
|
|
31
|
+
company_name: string;
|
|
31
32
|
description: string;
|
|
33
|
+
logo_url: string;
|
|
34
|
+
logo_key: string;
|
|
32
35
|
status: Status;
|
|
33
36
|
organisation_id: string;
|
|
34
37
|
country_id: string;
|
|
35
|
-
logo_key: string;
|
|
36
|
-
logo_url: string;
|
|
37
|
-
company_name: string;
|
|
38
38
|
}, {
|
|
39
|
+
company_name: string;
|
|
39
40
|
status: Status;
|
|
40
41
|
organisation_id: string;
|
|
41
42
|
country_id: string;
|
|
42
|
-
company_name: string;
|
|
43
43
|
description?: string | undefined;
|
|
44
|
-
logo_key?: string | undefined;
|
|
45
44
|
logo_url?: string | undefined;
|
|
45
|
+
logo_key?: string | undefined;
|
|
46
46
|
}>;
|
|
47
47
|
type MasterFuelCompanyDTO = z.infer<typeof MasterFuelCompanySchema>;
|
|
48
48
|
declare const MasterFuelCompanyQuerySchema: z.ZodObject<{
|
|
@@ -21,14 +21,14 @@ declare const MasterVendorDocumentTypeSchema: z.ZodObject<{
|
|
|
21
21
|
description: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
|
|
22
22
|
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
23
23
|
}, "strip", z.ZodTypeAny, {
|
|
24
|
-
document_type: string;
|
|
25
24
|
description: string;
|
|
26
25
|
status: Status;
|
|
27
26
|
organisation_id: string;
|
|
28
|
-
}, {
|
|
29
27
|
document_type: string;
|
|
28
|
+
}, {
|
|
30
29
|
status: Status;
|
|
31
30
|
organisation_id: string;
|
|
31
|
+
document_type: string;
|
|
32
32
|
description?: string | undefined;
|
|
33
33
|
}>;
|
|
34
34
|
type MasterVendorDocumentTypeDTO = z.infer<typeof MasterVendorDocumentTypeSchema>;
|
|
@@ -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;
|
|
19
18
|
provider_name: string;
|
|
20
19
|
provider_code: string;
|
|
21
|
-
}, {
|
|
22
20
|
status: Status;
|
|
21
|
+
}, {
|
|
23
22
|
provider_name: string;
|
|
23
|
+
status: Status;
|
|
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;
|
|
18
19
|
bank_name: string;
|
|
19
20
|
bank_code: string;
|
|
20
|
-
status: Status;
|
|
21
21
|
}, {
|
|
22
|
-
bank_name: string;
|
|
23
22
|
status: Status;
|
|
23
|
+
bank_name: string;
|
|
24
24
|
bank_code?: string | undefined;
|
|
25
25
|
}>;
|
|
26
26
|
type MasterMainFasttagBankDTO = z.infer<typeof MasterMainFasttagBankSchema>;
|
|
@@ -39,6 +39,7 @@ 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;
|
|
42
43
|
status: Status;
|
|
43
44
|
country_id: string;
|
|
44
45
|
state_id: string;
|
|
@@ -47,7 +48,6 @@ declare const MasterMainLandmarkSchema: z.ZodObject<{
|
|
|
47
48
|
zip_code: string;
|
|
48
49
|
landmark_name: string;
|
|
49
50
|
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;
|
|
58
61
|
locality?: string | undefined;
|
|
59
62
|
city_district_town?: string | undefined;
|
|
60
63
|
zip_code?: string | undefined;
|
|
61
|
-
latitude?: unknown;
|
|
62
|
-
longitude?: unknown;
|
|
63
64
|
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,6 +100,7 @@ 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;
|
|
103
104
|
search: string;
|
|
104
105
|
paging: PAGING;
|
|
105
106
|
page_count: number;
|
|
@@ -119,13 +120,12 @@ declare const MasterMainLandmarkQuerySchema: z.ZodObject<{
|
|
|
119
120
|
}[];
|
|
120
121
|
include_master_data: YesNo;
|
|
121
122
|
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
|
-
date_format_id: string;
|
|
128
127
|
time_zone_id: string;
|
|
128
|
+
date_format_id: string;
|
|
129
129
|
status?: Status[] | undefined;
|
|
130
130
|
search?: string | undefined;
|
|
131
131
|
paging?: PAGING | undefined;
|
|
@@ -70,6 +70,7 @@ 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;
|
|
73
74
|
search: string;
|
|
74
75
|
paging: PAGING;
|
|
75
76
|
page_count: number;
|
|
@@ -89,12 +90,11 @@ declare const MasterVehicleFuelRemovalReasonQuerySchema: z.ZodObject<{
|
|
|
89
90
|
}[];
|
|
90
91
|
include_master_data: YesNo;
|
|
91
92
|
date_format_id: string;
|
|
92
|
-
time_zone_id: string;
|
|
93
93
|
organisation_ids: string[];
|
|
94
94
|
fuel_removal_reason_ids: string[];
|
|
95
95
|
}, {
|
|
96
|
-
date_format_id: string;
|
|
97
96
|
time_zone_id: string;
|
|
97
|
+
date_format_id: string;
|
|
98
98
|
status?: Status[] | undefined;
|
|
99
99
|
search?: string | undefined;
|
|
100
100
|
paging?: PAGING | undefined;
|
|
@@ -31,7 +31,6 @@ declare const ContactUsDetailSchema: z.ZodObject<{
|
|
|
31
31
|
telegram_chat_url: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
|
|
32
32
|
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
33
33
|
}, "strip", z.ZodTypeAny, {
|
|
34
|
-
status: Status;
|
|
35
34
|
mobile_number: string;
|
|
36
35
|
email: string;
|
|
37
36
|
facebook_link: string;
|
|
@@ -42,6 +41,7 @@ declare const ContactUsDetailSchema: z.ZodObject<{
|
|
|
42
41
|
pinterest_link: string;
|
|
43
42
|
whats_app_chat_url: string;
|
|
44
43
|
telegram_chat_url: string;
|
|
44
|
+
status: Status;
|
|
45
45
|
}, {
|
|
46
46
|
status: Status;
|
|
47
47
|
mobile_number?: string | undefined;
|
|
@@ -17,10 +17,10 @@ declare const FaqSchema: z.ZodObject<{
|
|
|
17
17
|
faq_content: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
|
|
18
18
|
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
19
19
|
}, "strip", z.ZodTypeAny, {
|
|
20
|
+
status: Status;
|
|
20
21
|
faq_section: string;
|
|
21
22
|
faq_header: string;
|
|
22
23
|
faq_content: string;
|
|
23
|
-
status: Status;
|
|
24
24
|
}, {
|
|
25
25
|
status: Status;
|
|
26
26
|
faq_section?: string | undefined;
|
package/package.json
CHANGED