vms-nest-prisma-api-document 6.0.3 → 6.0.5

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.
Files changed (22) hide show
  1. package/dist/services/account/analytics/user_login_analytics_service.d.ts +3 -3
  2. package/dist/services/account/analytics/user_page_analytics_service.d.ts +1 -1
  3. package/dist/services/fleet/fuel_management/fleet_fuel_daily_summary_service.d.ts +1 -0
  4. package/dist/services/fleet/fuel_management/fleet_fuel_refill_service.d.ts +38 -37
  5. package/dist/services/fleet/fuel_management/fleet_fuel_removal_service.d.ts +16 -15
  6. package/dist/services/gps/features/geofence/gps_geofence_data_service.d.ts +10 -10
  7. package/dist/services/gps/features/geofence/gps_geofence_transaction_service.d.ts +9 -9
  8. package/dist/services/gps/features/geofence/gps_geofence_transaction_summary_service.d.ts +4 -4
  9. package/dist/services/gps/features/geofence/trip_geofence_to_geofence_service.d.ts +2 -2
  10. package/dist/services/gps/reports/gps_reports_mongo_service.d.ts +43 -43
  11. package/dist/services/master/expense/master_fuel_company_service.d.ts +5 -5
  12. package/dist/services/master/expense/master_vendor_document_type_service.d.ts +2 -2
  13. package/dist/services/master/vehicle/master_vehicle_fuel_removal_reason_service.d.ts +2 -2
  14. package/dist/services/website/contact_us_detail_service.d.ts +1 -1
  15. package/dist/services/website/faq_service.d.ts +1 -1
  16. package/package.json +1 -1
  17. package/dist/services/gps/features/fuel/gps_fuel_vehicle_daily_summary_service.d.ts +0 -282
  18. package/dist/services/gps/features/fuel/gps_fuel_vehicle_daily_summary_service.js +0 -379
  19. package/dist/services/gps/features/fuel/gps_fuel_vehicle_refill_service.d.ts +0 -230
  20. package/dist/services/gps/features/fuel/gps_fuel_vehicle_refill_service.js +0 -432
  21. package/dist/services/gps/features/fuel/gps_fuel_vehicle_removal_service.d.ts +0 -230
  22. package/dist/services/gps/features/fuel/gps_fuel_vehicle_removal_service.js +0 -432
@@ -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[];
@@ -8,6 +8,7 @@ import '../../master/main/master_main_sim_provider_service.js';
8
8
  interface FleetFuelDailySummary extends Record<string, unknown> {
9
9
  fleet_fuel_daily_summary_id: string;
10
10
  date: string;
11
+ date_f?: string;
11
12
  day?: string;
12
13
  start_fuel_liters: number;
13
14
  end_fuel_liters: number;
@@ -18,6 +18,7 @@ interface FleetFuelRefill extends Record<string, unknown> {
18
18
  is_full_tank: YesNo;
19
19
  is_previous_entries_missed: YesNo;
20
20
  date_time: string;
21
+ date_time_f?: string;
21
22
  cost_per_unit?: number;
22
23
  total_cost?: number;
23
24
  invoice_number?: string;
@@ -139,29 +140,14 @@ declare const FleetFuelRefillchema: z.ZodObject<{
139
140
  status: z.ZodType<Status, z.ZodTypeDef, Status>;
140
141
  time_zone_id: z.ZodEffects<z.ZodString, string, string>;
141
142
  }, "strip", z.ZodTypeAny, {
142
- odometer_reading: number;
143
- date_time: string;
144
- entry_source: RefillEntrySource;
145
- source_reference_id: string;
146
- source_notes: string;
147
- admin_verify_status: GPSFuelApproveStatus;
148
- transporter_verify_status: GPSFuelApproveStatus;
149
- google_location: string;
150
- status: Status;
151
- organisation_id: string;
152
- user_id: string;
153
- vehicle_id: string;
154
- driver_id: string;
155
- device_id: string;
156
- vehicle_fuel_type_id: string;
157
- vehicle_fuel_unit_id: string;
158
- time_zone_id: string;
159
143
  before_refill_quantity: number;
160
144
  after_refill_quantity: number;
161
145
  refill_quantity: number;
162
146
  verified_refill_quantity: number;
147
+ odometer_reading: number;
163
148
  is_full_tank: YesNo;
164
149
  is_previous_entries_missed: YesNo;
150
+ date_time: string;
165
151
  invoice_number: string;
166
152
  payment_mode: PaymentMode;
167
153
  payment_status: PaymentStatus;
@@ -172,15 +158,34 @@ declare const FleetFuelRefillchema: z.ZodObject<{
172
158
  refill_details: string;
173
159
  payment_details: string;
174
160
  filled_by_person: string;
161
+ entry_source: RefillEntrySource;
162
+ source_reference_id: string;
163
+ source_notes: string;
164
+ admin_verify_status: GPSFuelApproveStatus;
165
+ transporter_verify_status: GPSFuelApproveStatus;
166
+ google_location: string;
167
+ status: Status;
168
+ organisation_id: string;
169
+ user_id: string;
170
+ vehicle_id: string;
171
+ driver_id: string;
172
+ device_id: string;
175
173
  vendor_id: string;
176
174
  fuel_station_id: string;
175
+ vehicle_fuel_type_id: string;
176
+ vehicle_fuel_unit_id: string;
177
+ time_zone_id: string;
178
+ diff_refill_quantity?: number | undefined;
177
179
  cost_per_unit?: number | undefined;
178
180
  total_cost?: number | undefined;
179
181
  latitude?: number | undefined;
180
182
  longitude?: number | undefined;
181
- diff_refill_quantity?: number | undefined;
182
183
  }, {
184
+ is_full_tank: YesNo;
185
+ is_previous_entries_missed: YesNo;
183
186
  date_time: string;
187
+ payment_mode: PaymentMode;
188
+ payment_status: PaymentStatus;
184
189
  admin_verify_status: GPSFuelApproveStatus;
185
190
  transporter_verify_status: GPSFuelApproveStatus;
186
191
  status: Status;
@@ -189,29 +194,19 @@ declare const FleetFuelRefillchema: z.ZodObject<{
189
194
  vehicle_id: string;
190
195
  driver_id: string;
191
196
  device_id: string;
197
+ vendor_id: string;
198
+ fuel_station_id: string;
192
199
  vehicle_fuel_type_id: string;
193
200
  vehicle_fuel_unit_id: string;
194
201
  time_zone_id: string;
195
- is_full_tank: YesNo;
196
- is_previous_entries_missed: YesNo;
197
- payment_mode: PaymentMode;
198
- payment_status: PaymentStatus;
199
- vendor_id: string;
200
- fuel_station_id: string;
201
- odometer_reading?: unknown;
202
- cost_per_unit?: unknown;
203
- total_cost?: unknown;
204
- entry_source?: RefillEntrySource | undefined;
205
- source_reference_id?: string | undefined;
206
- source_notes?: string | undefined;
207
- latitude?: unknown;
208
- longitude?: unknown;
209
- google_location?: string | undefined;
210
202
  before_refill_quantity?: unknown;
211
203
  after_refill_quantity?: unknown;
212
204
  refill_quantity?: unknown;
213
205
  verified_refill_quantity?: unknown;
214
206
  diff_refill_quantity?: unknown;
207
+ odometer_reading?: unknown;
208
+ cost_per_unit?: unknown;
209
+ total_cost?: unknown;
215
210
  invoice_number?: string | undefined;
216
211
  payment_reference_number?: string | undefined;
217
212
  fuel_card_number?: string | undefined;
@@ -220,6 +215,12 @@ declare const FleetFuelRefillchema: z.ZodObject<{
220
215
  refill_details?: string | undefined;
221
216
  payment_details?: string | undefined;
222
217
  filled_by_person?: string | undefined;
218
+ entry_source?: RefillEntrySource | undefined;
219
+ source_reference_id?: string | undefined;
220
+ source_notes?: string | undefined;
221
+ latitude?: unknown;
222
+ longitude?: unknown;
223
+ google_location?: string | undefined;
223
224
  }>;
224
225
  type FleetFuelRefillDTO = z.infer<typeof FleetFuelRefillchema>;
225
226
  declare const FleetFuelRefillQuerySchema: z.ZodObject<{
@@ -297,12 +298,12 @@ declare const FleetFuelRefillQuerySchema: z.ZodObject<{
297
298
  vehicle_ids: string[];
298
299
  driver_ids: string[];
299
300
  device_ids: string[];
301
+ vendor_ids: string[];
302
+ fuel_station_ids: string[];
300
303
  vehicle_fuel_type_ids: string[];
301
304
  vehicle_fuel_unit_ids: string[];
302
305
  from_date: string;
303
306
  to_date: string;
304
- vendor_ids: string[];
305
- fuel_station_ids: string[];
306
307
  }, {
307
308
  time_zone_id: string;
308
309
  date_format_id: string;
@@ -335,10 +336,10 @@ declare const FleetFuelRefillQuerySchema: z.ZodObject<{
335
336
  vehicle_ids?: string[] | undefined;
336
337
  driver_ids?: string[] | undefined;
337
338
  device_ids?: string[] | undefined;
338
- vehicle_fuel_type_ids?: string[] | undefined;
339
- vehicle_fuel_unit_ids?: string[] | undefined;
340
339
  vendor_ids?: string[] | undefined;
341
340
  fuel_station_ids?: string[] | undefined;
341
+ vehicle_fuel_type_ids?: string[] | undefined;
342
+ vehicle_fuel_unit_ids?: string[] | undefined;
342
343
  }>;
343
344
  type FleetFuelRefillQueryDTO = z.infer<typeof FleetFuelRefillQuerySchema>;
344
345
  declare const toFleetFuelRefillPayload: (row: FleetFuelRefill) => FleetFuelRefillDTO;
@@ -17,6 +17,7 @@ interface FleetFuelRemoval extends Record<string, unknown> {
17
17
  diff_quantity: number;
18
18
  odometer_reading?: number;
19
19
  date_time: string;
20
+ date_time_f?: string;
20
21
  cost_per_unit?: number;
21
22
  total_cost?: number;
22
23
  fuel_removal_reason_id?: string;
@@ -110,14 +111,8 @@ declare const FleetFuelRemovalSchema: z.ZodObject<{
110
111
  status: z.ZodType<Status, z.ZodTypeDef, Status>;
111
112
  time_zone_id: z.ZodEffects<z.ZodString, string, string>;
112
113
  }, "strip", z.ZodTypeAny, {
113
- before_removal_quantity: number;
114
- after_removal_quantity: number;
115
- removed_quantity: number;
116
- verified_quantity: number;
117
114
  odometer_reading: number;
118
115
  date_time: string;
119
- fuel_removal_reason_id: string;
120
- removal_details: string;
121
116
  entry_source: RefillEntrySource;
122
117
  source_reference_id: string;
123
118
  source_notes: string;
@@ -133,14 +128,19 @@ declare const FleetFuelRemovalSchema: z.ZodObject<{
133
128
  vehicle_fuel_type_id: string;
134
129
  vehicle_fuel_unit_id: string;
135
130
  time_zone_id: string;
136
- diff_quantity?: number | undefined;
131
+ fuel_removal_reason_id: string;
132
+ before_removal_quantity: number;
133
+ after_removal_quantity: number;
134
+ removed_quantity: number;
135
+ verified_quantity: number;
136
+ removal_details: string;
137
137
  cost_per_unit?: number | undefined;
138
138
  total_cost?: number | undefined;
139
139
  latitude?: number | undefined;
140
140
  longitude?: number | undefined;
141
+ diff_quantity?: number | undefined;
141
142
  }, {
142
143
  date_time: string;
143
- fuel_removal_reason_id: string;
144
144
  admin_verify_status: GPSFuelApproveStatus;
145
145
  transporter_verify_status: GPSFuelApproveStatus;
146
146
  status: Status;
@@ -152,21 +152,22 @@ declare const FleetFuelRemovalSchema: z.ZodObject<{
152
152
  vehicle_fuel_type_id: string;
153
153
  vehicle_fuel_unit_id: string;
154
154
  time_zone_id: string;
155
- before_removal_quantity?: unknown;
156
- after_removal_quantity?: unknown;
157
- removed_quantity?: unknown;
158
- verified_quantity?: unknown;
159
- diff_quantity?: unknown;
155
+ fuel_removal_reason_id: string;
160
156
  odometer_reading?: unknown;
161
157
  cost_per_unit?: unknown;
162
158
  total_cost?: unknown;
163
- removal_details?: string | undefined;
164
159
  entry_source?: RefillEntrySource | undefined;
165
160
  source_reference_id?: string | undefined;
166
161
  source_notes?: string | undefined;
167
162
  latitude?: unknown;
168
163
  longitude?: unknown;
169
164
  google_location?: string | undefined;
165
+ before_removal_quantity?: unknown;
166
+ after_removal_quantity?: unknown;
167
+ removed_quantity?: unknown;
168
+ verified_quantity?: unknown;
169
+ diff_quantity?: unknown;
170
+ removal_details?: string | undefined;
170
171
  }>;
171
172
  type FleetFuelRemovalDTO = z.infer<typeof FleetFuelRemovalSchema>;
172
173
  declare const FleetFuelRemovalQuerySchema: z.ZodObject<{
@@ -245,9 +246,9 @@ declare const FleetFuelRemovalQuerySchema: z.ZodObject<{
245
246
  device_ids: string[];
246
247
  vehicle_fuel_type_ids: string[];
247
248
  vehicle_fuel_unit_ids: string[];
248
- fuel_removal_reason_ids: string[];
249
249
  from_date: string;
250
250
  to_date: string;
251
+ fuel_removal_reason_ids: string[];
251
252
  }, {
252
253
  time_zone_id: string;
253
254
  date_format_id: string;
@@ -59,8 +59,6 @@ declare const GPSGeofenceDataSchema: z.ZodObject<{
59
59
  geofence_purpose_type: z.ZodType<GeofencePurposeType, z.ZodTypeDef, GeofencePurposeType>;
60
60
  status: z.ZodType<Status, z.ZodTypeDef, Status>;
61
61
  }, "strip", z.ZodTypeAny, {
62
- status: Status;
63
- organisation_id: string;
64
62
  geofence_name: string;
65
63
  location_name: string;
66
64
  geofence_type: GeofenceType;
@@ -70,19 +68,21 @@ declare const GPSGeofenceDataSchema: z.ZodObject<{
70
68
  }[];
71
69
  geofence_description: string;
72
70
  geofence_purpose_type: GeofencePurposeType;
71
+ status: Status;
72
+ organisation_id: string;
73
+ radius_km?: number | undefined;
73
74
  latitude?: number | undefined;
74
75
  longitude?: number | undefined;
75
- radius_km?: number | undefined;
76
76
  }, {
77
- status: Status;
78
- organisation_id: string;
79
77
  geofence_name: string;
80
78
  location_name: string;
81
79
  geofence_type: GeofenceType;
82
80
  geofence_purpose_type: GeofencePurposeType;
81
+ status: Status;
82
+ organisation_id: string;
83
+ radius_km?: unknown;
83
84
  latitude?: unknown;
84
85
  longitude?: unknown;
85
- radius_km?: unknown;
86
86
  poliline_data?: {
87
87
  latitude?: unknown;
88
88
  longitude?: unknown;
@@ -125,6 +125,8 @@ declare const GPSGeofenceDataQuerySchema: z.ZodObject<{
125
125
  geofence_type: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof GeofenceType>, "many">>>;
126
126
  geofence_purpose_type: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof GeofencePurposeType>, "many">>>;
127
127
  }, "strip", z.ZodTypeAny, {
128
+ geofence_type: GeofenceType[];
129
+ geofence_purpose_type: GeofencePurposeType[];
128
130
  status: Status[];
129
131
  search: string;
130
132
  paging: PAGING;
@@ -147,11 +149,11 @@ declare const GPSGeofenceDataQuerySchema: z.ZodObject<{
147
149
  date_format_id: string;
148
150
  time_zone_id: string;
149
151
  organisation_ids: string[];
150
- geofence_type: GeofenceType[];
151
- geofence_purpose_type: GeofencePurposeType[];
152
152
  }, {
153
153
  date_format_id: string;
154
154
  time_zone_id: string;
155
+ geofence_type?: GeofenceType[] | undefined;
156
+ geofence_purpose_type?: GeofencePurposeType[] | undefined;
155
157
  status?: Status[] | undefined;
156
158
  search?: string | undefined;
157
159
  paging?: PAGING | undefined;
@@ -172,8 +174,6 @@ declare const GPSGeofenceDataQuerySchema: z.ZodObject<{
172
174
  }[] | undefined;
173
175
  include_master_data?: YesNo | undefined;
174
176
  organisation_ids?: string[] | undefined;
175
- geofence_type?: GeofenceType[] | undefined;
176
- geofence_purpose_type?: GeofencePurposeType[] | undefined;
177
177
  }>;
178
178
  type GPSGeofenceDataQueryDTO = z.infer<typeof GPSGeofenceDataQuerySchema>;
179
179
  declare const toGPSGeofenceDataPayload: (data: GPSGeofenceData) => GPSGeofenceDataDTO;
@@ -31,21 +31,21 @@ declare const GPSGeofenceTransactionSchema: z.ZodObject<{
31
31
  geofence_time: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
32
32
  status: z.ZodType<Status, z.ZodTypeDef, Status>;
33
33
  }, "strip", z.ZodTypeAny, {
34
- geofence_status_type: GeofenceStatusType;
35
- geofence_time: string;
34
+ gps_geofence_id: string;
36
35
  status: Status;
37
36
  organisation_id: string;
38
- vehicle_id: string;
39
37
  driver_id: string;
40
- gps_geofence_id: string;
41
- }, {
38
+ vehicle_id: string;
42
39
  geofence_status_type: GeofenceStatusType;
43
40
  geofence_time: string;
41
+ }, {
42
+ gps_geofence_id: string;
44
43
  status: Status;
45
44
  organisation_id: string;
46
- vehicle_id: string;
47
45
  driver_id: string;
48
- gps_geofence_id: string;
46
+ vehicle_id: string;
47
+ geofence_status_type: GeofenceStatusType;
48
+ geofence_time: string;
49
49
  }>;
50
50
  type GPSGeofenceTransactionDTO = z.infer<typeof GPSGeofenceTransactionSchema>;
51
51
  declare const GPSGeofenceTransactionQuerySchema: z.ZodObject<{
@@ -85,7 +85,6 @@ declare const GPSGeofenceTransactionQuerySchema: z.ZodObject<{
85
85
  gps_geofence_ids: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
86
86
  geofence_status_type: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof GeofenceStatusType>, "many">>>;
87
87
  }, "strip", z.ZodTypeAny, {
88
- geofence_status_type: GeofenceStatusType[];
89
88
  status: Status[];
90
89
  search: string;
91
90
  paging: PAGING;
@@ -110,11 +109,11 @@ declare const GPSGeofenceTransactionQuerySchema: z.ZodObject<{
110
109
  organisation_ids: string[];
111
110
  vehicle_ids: string[];
112
111
  driver_ids: string[];
112
+ geofence_status_type: GeofenceStatusType[];
113
113
  gps_geofence_ids: string[];
114
114
  }, {
115
115
  date_format_id: string;
116
116
  time_zone_id: string;
117
- geofence_status_type?: GeofenceStatusType[] | undefined;
118
117
  status?: Status[] | undefined;
119
118
  search?: string | undefined;
120
119
  paging?: PAGING | undefined;
@@ -137,6 +136,7 @@ declare const GPSGeofenceTransactionQuerySchema: z.ZodObject<{
137
136
  organisation_ids?: string[] | undefined;
138
137
  vehicle_ids?: string[] | undefined;
139
138
  driver_ids?: string[] | undefined;
139
+ geofence_status_type?: GeofenceStatusType[] | undefined;
140
140
  gps_geofence_ids?: string[] | undefined;
141
141
  }>;
142
142
  type GPSGeofenceTransactionQueryDTO = z.infer<typeof GPSGeofenceTransactionQuerySchema>;
@@ -40,22 +40,22 @@ declare const GPSGeofenceTransactionSummarySchema: z.ZodObject<{
40
40
  duration_seconds: z.ZodEffects<z.ZodDefault<z.ZodOptional<z.ZodNumber>>, number, unknown>;
41
41
  status: z.ZodType<Status, z.ZodTypeDef, Status>;
42
42
  }, "strip", z.ZodTypeAny, {
43
+ gps_geofence_id: string;
43
44
  status: Status;
44
45
  organisation_id: string;
45
- vehicle_id: string;
46
46
  driver_id: string;
47
- gps_geofence_id: string;
47
+ vehicle_id: string;
48
48
  geofence_enter_date_time: string;
49
49
  geofence_exit_date_time: string;
50
50
  duration_seconds: number;
51
51
  enter_gps_geofence_transaction_id: string;
52
52
  exit_gps_geofence_transaction_id: string;
53
53
  }, {
54
+ gps_geofence_id: string;
54
55
  status: Status;
55
56
  organisation_id: string;
56
- vehicle_id: string;
57
57
  driver_id: string;
58
- gps_geofence_id: string;
58
+ vehicle_id: string;
59
59
  geofence_enter_date_time: string;
60
60
  enter_gps_geofence_transaction_id: string;
61
61
  exit_gps_geofence_transaction_id: string;
@@ -64,8 +64,8 @@ declare const TripGeofenceToGeofenceSchema: z.ZodObject<{
64
64
  }, "strip", z.ZodTypeAny, {
65
65
  status: Status;
66
66
  organisation_id: string;
67
- vehicle_id: string;
68
67
  driver_id: string;
68
+ vehicle_id: string;
69
69
  duration_seconds: number;
70
70
  from_geofence_exit_date_time: string;
71
71
  to_geofence_enter_date_time: string;
@@ -87,8 +87,8 @@ declare const TripGeofenceToGeofenceSchema: z.ZodObject<{
87
87
  }, {
88
88
  status: Status;
89
89
  organisation_id: string;
90
- vehicle_id: string;
91
90
  driver_id: string;
91
+ vehicle_id: string;
92
92
  from_geofence_exit_date_time: string;
93
93
  to_geofence_enter_date_time: string;
94
94
  from_geofence_id: string;
@@ -33,41 +33,41 @@ declare const MultipleVehicleReportSchema: z.ZodObject<{
33
33
  vehicle_summary: z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof YesNo>>>;
34
34
  driver_summary: z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof YesNo>>>;
35
35
  }, "strip", z.ZodTypeAny, {
36
+ db_index: string;
37
+ db_instance: string;
38
+ night_driving: NightDriving;
36
39
  search: string;
37
40
  paging: PAGING;
38
41
  page_count: number;
39
42
  page_index: number;
40
- login_from: LoginFrom;
41
43
  date_format_id: string;
42
44
  time_zone_id: string;
45
+ login_from: LoginFrom;
43
46
  organisation_id: string;
44
- db_instance: string;
45
- db_index: string;
46
47
  vehicle_ids: string[];
47
48
  from_date: string;
48
49
  to_date: string;
49
50
  time_slot: TimeSlot;
50
- night_driving: NightDriving;
51
51
  over_speed: OverSpeed;
52
52
  utilization_km: number;
53
53
  vehicle_summary: YesNo;
54
54
  driver_summary: YesNo;
55
55
  }, {
56
- login_from: LoginFrom;
56
+ db_index: string;
57
+ db_instance: string;
57
58
  date_format_id: string;
58
59
  time_zone_id: string;
60
+ login_from: LoginFrom;
59
61
  organisation_id: string;
60
- db_instance: string;
61
- db_index: string;
62
62
  from_date: string;
63
63
  to_date: string;
64
+ night_driving?: NightDriving | undefined;
64
65
  search?: string | undefined;
65
66
  paging?: PAGING | undefined;
66
67
  page_count?: unknown;
67
68
  page_index?: unknown;
68
69
  vehicle_ids?: string[] | undefined;
69
70
  time_slot?: TimeSlot | undefined;
70
- night_driving?: NightDriving | undefined;
71
71
  over_speed?: OverSpeed | undefined;
72
72
  utilization_km?: unknown;
73
73
  vehicle_summary?: YesNo | undefined;
@@ -96,40 +96,40 @@ declare const MultipleDriverReportSchema: z.ZodObject<{
96
96
  vehicle_summary: z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof YesNo>>>;
97
97
  driver_summary: z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof YesNo>>>;
98
98
  }, "strip", z.ZodTypeAny, {
99
+ db_index: string;
100
+ db_instance: string;
101
+ night_driving: NightDriving;
99
102
  search: string;
100
103
  paging: PAGING;
101
104
  page_count: number;
102
105
  page_index: number;
103
- login_from: LoginFrom;
104
106
  date_format_id: string;
105
107
  time_zone_id: string;
108
+ login_from: LoginFrom;
106
109
  organisation_id: string;
107
- db_instance: string;
108
- db_index: string;
109
110
  from_date: string;
110
111
  to_date: string;
111
112
  time_slot: TimeSlot;
112
- night_driving: NightDriving;
113
113
  over_speed: OverSpeed;
114
114
  utilization_km: number;
115
115
  vehicle_summary: YesNo;
116
116
  driver_summary: YesNo;
117
117
  driver_ids: string[];
118
118
  }, {
119
- login_from: LoginFrom;
119
+ db_index: string;
120
+ db_instance: string;
120
121
  date_format_id: string;
121
122
  time_zone_id: string;
123
+ login_from: LoginFrom;
122
124
  organisation_id: string;
123
- db_instance: string;
124
- db_index: string;
125
125
  from_date: string;
126
126
  to_date: string;
127
+ night_driving?: NightDriving | undefined;
127
128
  search?: string | undefined;
128
129
  paging?: PAGING | undefined;
129
130
  page_count?: unknown;
130
131
  page_index?: unknown;
131
132
  time_slot?: TimeSlot | undefined;
132
- night_driving?: NightDriving | undefined;
133
133
  over_speed?: OverSpeed | undefined;
134
134
  utilization_km?: unknown;
135
135
  vehicle_summary?: YesNo | undefined;
@@ -156,16 +156,16 @@ declare const SimpleReportSchema: z.ZodObject<{
156
156
  interval_seconds: z.ZodEffects<z.ZodDefault<z.ZodOptional<z.ZodNumber>>, number, unknown>;
157
157
  boolean_type: z.ZodType<BooleanType, z.ZodTypeDef, BooleanType>;
158
158
  }, "strip", z.ZodTypeAny, {
159
+ db_index: string;
160
+ db_instance: string;
159
161
  search: string;
160
162
  paging: PAGING;
161
163
  page_count: number;
162
164
  page_index: number;
163
- login_from: LoginFrom;
164
165
  date_format_id: string;
165
166
  time_zone_id: string;
167
+ login_from: LoginFrom;
166
168
  organisation_id: string;
167
- db_instance: string;
168
- db_index: string;
169
169
  vehicle_ids: string[];
170
170
  from_date: string;
171
171
  to_date: string;
@@ -173,12 +173,12 @@ declare const SimpleReportSchema: z.ZodObject<{
173
173
  interval_seconds: number;
174
174
  boolean_type: BooleanType;
175
175
  }, {
176
- login_from: LoginFrom;
176
+ db_index: string;
177
+ db_instance: string;
177
178
  date_format_id: string;
178
179
  time_zone_id: string;
180
+ login_from: LoginFrom;
179
181
  organisation_id: string;
180
- db_instance: string;
181
- db_index: string;
182
182
  from_date: string;
183
183
  to_date: string;
184
184
  gps_type: GPSType;
@@ -207,26 +207,26 @@ declare const MultipleVehicleLast24HoursReportSchema: z.ZodObject<{
207
207
  utilization_km: z.ZodEffects<z.ZodNumber, number, unknown>;
208
208
  is12am: z.ZodType<Is12AM, z.ZodTypeDef, Is12AM>;
209
209
  }, "strip", z.ZodTypeAny, {
210
+ db_index: string;
211
+ db_instance: string;
210
212
  search: string;
211
213
  paging: PAGING;
212
214
  page_count: number;
213
215
  page_index: number;
214
- login_from: LoginFrom;
215
216
  date_format_id: string;
216
217
  time_zone_id: string;
218
+ login_from: LoginFrom;
217
219
  organisation_id: string;
218
- db_instance: string;
219
- db_index: string;
220
220
  vehicle_ids: string[];
221
221
  utilization_km: number;
222
222
  is12am: Is12AM;
223
223
  }, {
224
- login_from: LoginFrom;
224
+ db_index: string;
225
+ db_instance: string;
225
226
  date_format_id: string;
226
227
  time_zone_id: string;
228
+ login_from: LoginFrom;
227
229
  organisation_id: string;
228
- db_instance: string;
229
- db_index: string;
230
230
  is12am: Is12AM;
231
231
  search?: string | undefined;
232
232
  paging?: PAGING | undefined;
@@ -253,28 +253,28 @@ declare const SingleVehicleReportSchema: z.ZodObject<{
253
253
  to_date_time: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
254
254
  interval_seconds: z.ZodEffects<z.ZodNumber, number, unknown>;
255
255
  }, "strip", z.ZodTypeAny, {
256
+ db_index: string;
257
+ db_instance: string;
258
+ vehicle_id: string;
256
259
  search: string;
257
260
  paging: PAGING;
258
261
  page_count: number;
259
262
  page_index: number;
260
- login_from: LoginFrom;
261
263
  date_format_id: string;
262
264
  time_zone_id: string;
265
+ login_from: LoginFrom;
263
266
  organisation_id: string;
264
- db_instance: string;
265
- db_index: string;
266
267
  interval_seconds: number;
267
- vehicle_id: string;
268
268
  from_date_time: string;
269
269
  to_date_time: string;
270
270
  }, {
271
- login_from: LoginFrom;
271
+ db_index: string;
272
+ db_instance: string;
273
+ vehicle_id: string;
272
274
  date_format_id: string;
273
275
  time_zone_id: string;
276
+ login_from: LoginFrom;
274
277
  organisation_id: string;
275
- db_instance: string;
276
- db_index: string;
277
- vehicle_id: string;
278
278
  from_date_time: string;
279
279
  to_date_time: string;
280
280
  search?: string | undefined;
@@ -298,25 +298,25 @@ declare const VehicleDashboardSummaryQuerySchema: z.ZodObject<{
298
298
  db_index: z.ZodEffects<z.ZodString, string, string>;
299
299
  vehicle_id: z.ZodEffects<z.ZodString, string, string>;
300
300
  }, "strip", z.ZodTypeAny, {
301
+ db_index: string;
302
+ db_instance: string;
303
+ vehicle_id: string;
301
304
  search: string;
302
305
  paging: PAGING;
303
306
  page_count: number;
304
307
  page_index: number;
305
- login_from: LoginFrom;
306
308
  date_format_id: string;
307
309
  time_zone_id: string;
310
+ login_from: LoginFrom;
308
311
  organisation_id: string;
309
- db_instance: string;
312
+ }, {
310
313
  db_index: string;
314
+ db_instance: string;
311
315
  vehicle_id: string;
312
- }, {
313
- login_from: LoginFrom;
314
316
  date_format_id: string;
315
317
  time_zone_id: string;
318
+ login_from: LoginFrom;
316
319
  organisation_id: string;
317
- db_instance: string;
318
- db_index: string;
319
- vehicle_id: string;
320
320
  search?: string | undefined;
321
321
  paging?: PAGING | undefined;
322
322
  page_count?: unknown;