vms-nest-prisma-api-document 224.0.0 → 225.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/account/bookmark_service.d.ts +3 -3
- package/dist/services/account/notification_preferences.service.d.ts +11 -11
- package/dist/services/account/report_preferences.service.d.ts +24 -24
- package/dist/services/account/ticket_service.d.ts +1 -1
- package/dist/services/fleet/bus_mangement/bus_stop.d.ts +4 -4
- package/dist/services/fleet/bus_mangement/calender.d.ts +8 -8
- package/dist/services/fleet/bus_mangement/master_route.d.ts +41 -41
- package/dist/services/fleet/bus_mangement/notice_board.d.ts +1 -1
- package/dist/services/fleet/bus_mangement/student.d.ts +17 -17
- package/dist/services/fleet/fuel_management/fleet_fuel_daily_summary_service.d.ts +20 -20
- package/dist/services/fleet/fuel_management/fleet_fuel_refill_service.d.ts +58 -58
- package/dist/services/fleet/fuel_management/fleet_fuel_removal_service.d.ts +32 -30
- package/dist/services/fleet/incident_management/incident_management_service.d.ts +1 -1
- package/dist/services/fleet/issue_management/issue_management_service.d.ts +1 -1
- package/dist/services/fleet/service_management/fleet_service_management_service.d.ts +40 -40
- package/dist/services/fleet/service_management/fleet_service_management_task_service.d.ts +6 -6
- package/dist/services/fleet/vendor_management/fleet_vendor_fuel_station.d.ts +1 -1
- package/dist/services/fleet/vendor_management/fleet_vendor_service.d.ts +1 -1
- package/dist/services/fleet/vendor_management/fleet_vendor_service_center.d.ts +1 -1
- package/dist/services/gps/features/geofence/gps_geofence_service.d.ts +1 -1
- package/dist/services/gps/features/geofence/gps_geofence_transaction_service.d.ts +9 -9
- package/dist/services/gps/features/geofence/gps_geofence_transaction_summary_service.d.ts +6 -6
- package/dist/services/gps/features/geofence/trip_geofence_to_geofence_service.d.ts +12 -12
- package/dist/services/gps/features/gps_live_track_share_link_service.d.ts +1 -1
- package/dist/services/gps/features/gps_track_history_share_link_service.d.ts +1 -1
- package/dist/services/main/devices/master_device_service.d.ts +1 -1
- package/dist/services/main/drivers/master_driver_service.d.ts +1 -1
- package/dist/services/main/sims/master_sim_service.d.ts +1 -1
- package/dist/services/main/users/auth_service.d.ts +1 -1
- package/dist/services/main/users/user_admin_service.d.ts +20 -20
- package/dist/services/main/users/user_organisation_service.d.ts +1 -1
- package/dist/services/main/users/user_service.d.ts +1 -1
- package/dist/services/main/vehicle/childs/vehicle_odometer_history.d.ts +1 -1
- package/dist/services/main/vehicle/master_vehicle_service.d.ts +1 -1
- package/dist/services/master/bus/master_class_service.d.ts +1 -1
- package/dist/services/master/bus/master_program_service.d.ts +1 -1
- package/dist/services/master/bus/master_relationship_service.d.ts +1 -1
- package/dist/services/master/bus/master_section_service.d.ts +1 -1
- package/dist/services/master/bus/master_semester_service.d.ts +1 -1
- package/dist/services/master/bus/master_stream_service.d.ts +1 -1
- package/dist/services/master/bus/master_year_service.d.ts +1 -1
- package/dist/services/master/device/master_device_manufacturer_service.d.ts +1 -1
- package/dist/services/master/device/master_device_model_service.d.ts +1 -1
- package/dist/services/master/device/master_device_type_service.d.ts +1 -1
- package/dist/services/master/expense/master_expense_name_service.d.ts +1 -1
- package/dist/services/master/expense/master_expense_type_service.d.ts +1 -1
- package/dist/services/master/expense/master_fuel_company_service.d.ts +1 -1
- package/dist/services/master/expense/master_vendor_document_type_service.d.ts +1 -1
- package/dist/services/master/expense/master_vendor_tag_service.d.ts +1 -1
- package/dist/services/master/expense/master_vendor_type_service.d.ts +1 -1
- package/dist/services/master/fleet/master_fleet_incident_severity_service.d.ts +1 -1
- package/dist/services/master/fleet/master_fleet_incident_status_service.d.ts +1 -1
- package/dist/services/master/fleet/master_fleet_incident_type_service.d.ts +1 -1
- package/dist/services/master/fleet/master_fleet_insurance_claim_status_service.d.ts +1 -1
- package/dist/services/master/fleet/master_fleet_service_task_service.d.ts +6 -6
- package/dist/services/master/main/master_main_country_service.d.ts +1 -1
- package/dist/services/master/main/master_main_currency_service.d.ts +1 -1
- package/dist/services/master/main/master_main_date_format_service.d.ts +1 -1
- 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_industry_service.d.ts +1 -1
- package/dist/services/master/main/master_main_landmark_service.d.ts +1 -1
- package/dist/services/master/main/master_main_language_service.d.ts +1 -1
- package/dist/services/master/main/master_main_state_service.d.ts +1 -1
- package/dist/services/master/main/master_main_timezone_service.d.ts +1 -1
- package/dist/services/master/main/master_main_unit_distance_service.d.ts +1 -1
- package/dist/services/master/main/master_main_unit_mileage_service.d.ts +1 -1
- package/dist/services/master/main/master_main_unit_volume_service.d.ts +1 -1
- package/dist/services/master/organisation/organisation_branch_service.d.ts +1 -1
- package/dist/services/master/organisation/organisation_color_service.d.ts +1 -1
- package/dist/services/master/organisation/organisation_group_service.d.ts +1 -1
- package/dist/services/master/organisation/organisation_sub_company_service.d.ts +1 -1
- package/dist/services/master/organisation/organisation_tag_service.d.ts +1 -1
- package/dist/services/master/spare_part/master_spare_part_category_service.d.ts +1 -1
- package/dist/services/master/spare_part/master_spare_part_sub_category_service.d.ts +9 -9
- package/dist/services/master/spare_part/master_spare_part_unit_service.d.ts +1 -1
- package/dist/services/master/trip/master_trip_party_type_service.d.ts +1 -1
- package/dist/services/master/tyre/master_tyre_grade_service.d.ts +1 -1
- package/dist/services/master/tyre/master_tyre_make_service.d.ts +1 -1
- package/dist/services/master/tyre/master_tyre_model_service.d.ts +1 -1
- package/dist/services/master/user/master_user_role_service.d.ts +1 -1
- package/dist/services/master/user/master_user_status_service.d.ts +1 -1
- package/dist/services/master/vehicle/master_vehicle_associated_to_service.d.ts +1 -1
- package/dist/services/master/vehicle/master_vehicle_document_type_service.d.ts +1 -1
- package/dist/services/master/vehicle/master_vehicle_fuel_removal_reason_service.d.ts +3 -3
- package/dist/services/master/vehicle/master_vehicle_fuel_type_service.d.ts +1 -1
- package/dist/services/master/vehicle/master_vehicle_fuel_unit_service.d.ts +1 -1
- package/dist/services/master/vehicle/master_vehicle_make_service.d.ts +1 -1
- package/dist/services/master/vehicle/master_vehicle_model_service.d.ts +1 -1
- package/dist/services/master/vehicle/master_vehicle_ownership_type_service.d.ts +1 -1
- package/dist/services/master/vehicle/master_vehicle_status_type_service.d.ts +1 -1
- package/dist/services/master/vehicle/master_vehicle_sub_model_service.d.ts +1 -1
- package/dist/services/master/vehicle/master_vehicle_type_service.d.ts +1 -1
- package/dist/{user_organisation_service-gB6DgPZW.d.ts → user_organisation_service-DFQbMQ0s.d.ts} +69 -69
- package/package.json +1 -1
|
@@ -2,7 +2,7 @@ import { GPSFuelApproveStatus, RefillEntrySource, Status, FileType, PAGING, Load
|
|
|
2
2
|
import { BaseCommonFile, BR, AWSPresignedUrl, SBR, FBR } from '../../../core/BaseResponse.js';
|
|
3
3
|
import { z } from 'zod';
|
|
4
4
|
import { FilePresignedUrlDTO } from '../../../zod_utils/zod_base_schema.js';
|
|
5
|
-
import {
|
|
5
|
+
import { e as MasterMainLandmark, U as UserOrganisation, a as User, M as MasterVehicle, b as MasterDriver, d as MasterDevice, g as MasterVehicleFuelType, h as MasterVehicleFuelUnit } from '../../../user_organisation_service-DFQbMQ0s.js';
|
|
6
6
|
import { MasterVehicleFuelRemovalReason } from '../../master/vehicle/master_vehicle_fuel_removal_reason_service.js';
|
|
7
7
|
import '../../master/main/master_main_sim_provider_service.js';
|
|
8
8
|
|
|
@@ -16,6 +16,8 @@ interface FleetFuelRemoval extends Record<string, unknown> {
|
|
|
16
16
|
odometer_reading?: number;
|
|
17
17
|
date_time: string;
|
|
18
18
|
date_time_f?: string;
|
|
19
|
+
date: string;
|
|
20
|
+
date_f?: string;
|
|
19
21
|
admin_verify_status: GPSFuelApproveStatus;
|
|
20
22
|
transporter_verify_status: GPSFuelApproveStatus;
|
|
21
23
|
cost_per_unit?: number;
|
|
@@ -176,23 +178,23 @@ declare const FleetFuelRemovalSchema: z.ZodObject<{
|
|
|
176
178
|
file_metadata?: Record<string, any> | undefined;
|
|
177
179
|
}>, "many">>>;
|
|
178
180
|
}, "strip", z.ZodTypeAny, {
|
|
181
|
+
date_time: string;
|
|
182
|
+
admin_verify_status: GPSFuelApproveStatus;
|
|
183
|
+
transporter_verify_status: GPSFuelApproveStatus;
|
|
184
|
+
entry_source: RefillEntrySource;
|
|
185
|
+
source_reference_id: string;
|
|
186
|
+
source_notes: string;
|
|
187
|
+
google_location: string;
|
|
188
|
+
odometer_reading: number;
|
|
179
189
|
status: Status;
|
|
180
190
|
organisation_id: string;
|
|
181
191
|
user_id: string;
|
|
182
192
|
vehicle_id: string;
|
|
183
193
|
driver_id: string;
|
|
184
194
|
device_id: string;
|
|
185
|
-
time_zone_id: string;
|
|
186
195
|
vehicle_fuel_type_id: string;
|
|
187
196
|
vehicle_fuel_unit_id: string;
|
|
188
|
-
|
|
189
|
-
odometer_reading: number;
|
|
190
|
-
date_time: string;
|
|
191
|
-
admin_verify_status: GPSFuelApproveStatus;
|
|
192
|
-
transporter_verify_status: GPSFuelApproveStatus;
|
|
193
|
-
entry_source: RefillEntrySource;
|
|
194
|
-
source_reference_id: string;
|
|
195
|
-
source_notes: string;
|
|
197
|
+
time_zone_id: string;
|
|
196
198
|
fuel_removal_reason_id: string;
|
|
197
199
|
removal_details: string;
|
|
198
200
|
FleetFuelRemovalFileSchema: {
|
|
@@ -208,38 +210,38 @@ declare const FleetFuelRemovalSchema: z.ZodObject<{
|
|
|
208
210
|
file_metadata: Record<string, any>;
|
|
209
211
|
fleet_fuel_removal_id: string;
|
|
210
212
|
}[];
|
|
211
|
-
latitude?: number | undefined;
|
|
212
|
-
longitude?: number | undefined;
|
|
213
213
|
cost_per_unit?: number | undefined;
|
|
214
214
|
total_cost?: number | undefined;
|
|
215
|
+
latitude?: number | undefined;
|
|
216
|
+
longitude?: number | undefined;
|
|
215
217
|
before_removal_quantity?: number | undefined;
|
|
216
218
|
after_removal_quantity?: number | undefined;
|
|
217
219
|
removal_quantity?: number | undefined;
|
|
218
220
|
verified_removal_quantity?: number | undefined;
|
|
219
221
|
diff_removal_quantity?: number | undefined;
|
|
220
222
|
}, {
|
|
223
|
+
date_time: string;
|
|
224
|
+
admin_verify_status: GPSFuelApproveStatus;
|
|
225
|
+
transporter_verify_status: GPSFuelApproveStatus;
|
|
221
226
|
status: Status;
|
|
222
227
|
organisation_id: string;
|
|
223
228
|
user_id: string;
|
|
224
229
|
vehicle_id: string;
|
|
225
230
|
driver_id: string;
|
|
226
231
|
device_id: string;
|
|
227
|
-
time_zone_id: string;
|
|
228
232
|
vehicle_fuel_type_id: string;
|
|
229
233
|
vehicle_fuel_unit_id: string;
|
|
230
|
-
|
|
231
|
-
admin_verify_status: GPSFuelApproveStatus;
|
|
232
|
-
transporter_verify_status: GPSFuelApproveStatus;
|
|
234
|
+
time_zone_id: string;
|
|
233
235
|
fuel_removal_reason_id: string;
|
|
234
|
-
latitude?: unknown;
|
|
235
|
-
longitude?: unknown;
|
|
236
|
-
google_location?: string | undefined;
|
|
237
|
-
odometer_reading?: unknown;
|
|
238
236
|
cost_per_unit?: unknown;
|
|
239
237
|
total_cost?: unknown;
|
|
240
238
|
entry_source?: RefillEntrySource | undefined;
|
|
241
239
|
source_reference_id?: string | undefined;
|
|
242
240
|
source_notes?: string | undefined;
|
|
241
|
+
latitude?: unknown;
|
|
242
|
+
longitude?: unknown;
|
|
243
|
+
google_location?: string | undefined;
|
|
244
|
+
odometer_reading?: unknown;
|
|
243
245
|
before_removal_quantity?: unknown;
|
|
244
246
|
after_removal_quantity?: unknown;
|
|
245
247
|
removal_quantity?: unknown;
|
|
@@ -307,7 +309,11 @@ declare const FleetFuelRemovalQuerySchema: z.ZodObject<{
|
|
|
307
309
|
from_date: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
308
310
|
to_date: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
309
311
|
}, "strip", z.ZodTypeAny, {
|
|
312
|
+
admin_verify_status: GPSFuelApproveStatus[];
|
|
313
|
+
transporter_verify_status: GPSFuelApproveStatus[];
|
|
314
|
+
entry_source: RefillEntrySource[];
|
|
310
315
|
status: Status[];
|
|
316
|
+
time_zone_id: string;
|
|
311
317
|
search: string;
|
|
312
318
|
paging: PAGING;
|
|
313
319
|
page_count: number;
|
|
@@ -327,26 +333,25 @@ declare const FleetFuelRemovalQuerySchema: z.ZodObject<{
|
|
|
327
333
|
}[];
|
|
328
334
|
include_master_data: YesNo;
|
|
329
335
|
date_format_id: string;
|
|
330
|
-
time_zone_id: string;
|
|
331
336
|
organisation_ids: string[];
|
|
332
337
|
user_ids: string[];
|
|
333
338
|
vehicle_ids: string[];
|
|
334
339
|
driver_ids: string[];
|
|
335
340
|
device_ids: string[];
|
|
336
|
-
from_date: string;
|
|
337
|
-
to_date: string;
|
|
338
341
|
vehicle_fuel_type_ids: string[];
|
|
339
342
|
vehicle_fuel_unit_ids: string[];
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
entry_source: RefillEntrySource[];
|
|
343
|
+
from_date: string;
|
|
344
|
+
to_date: string;
|
|
343
345
|
fuel_removal_reason_ids: string[];
|
|
344
346
|
fleet_fuel_removal_ids: string[];
|
|
345
347
|
}, {
|
|
346
|
-
date_format_id: string;
|
|
347
348
|
time_zone_id: string;
|
|
349
|
+
date_format_id: string;
|
|
348
350
|
from_date: string;
|
|
349
351
|
to_date: string;
|
|
352
|
+
admin_verify_status?: GPSFuelApproveStatus[] | undefined;
|
|
353
|
+
transporter_verify_status?: GPSFuelApproveStatus[] | undefined;
|
|
354
|
+
entry_source?: RefillEntrySource[] | undefined;
|
|
350
355
|
status?: Status[] | undefined;
|
|
351
356
|
search?: string | undefined;
|
|
352
357
|
paging?: PAGING | undefined;
|
|
@@ -373,9 +378,6 @@ declare const FleetFuelRemovalQuerySchema: z.ZodObject<{
|
|
|
373
378
|
device_ids?: string[] | undefined;
|
|
374
379
|
vehicle_fuel_type_ids?: string[] | undefined;
|
|
375
380
|
vehicle_fuel_unit_ids?: string[] | undefined;
|
|
376
|
-
admin_verify_status?: GPSFuelApproveStatus[] | undefined;
|
|
377
|
-
transporter_verify_status?: GPSFuelApproveStatus[] | undefined;
|
|
378
|
-
entry_source?: RefillEntrySource[] | undefined;
|
|
379
381
|
fuel_removal_reason_ids?: string[] | undefined;
|
|
380
382
|
fleet_fuel_removal_ids?: string[] | undefined;
|
|
381
383
|
}>;
|
|
@@ -2,7 +2,7 @@ import { YesNo, IncidentTime, IncidentWeather, IncidentRoadType, IncidentVisibil
|
|
|
2
2
|
import { BaseCommonFile, BR, AWSPresignedUrl, SBR, FBR } from '../../../core/BaseResponse.js';
|
|
3
3
|
import { z } from 'zod';
|
|
4
4
|
import { FilePresignedUrlDTO } from '../../../zod_utils/zod_base_schema.js';
|
|
5
|
-
import { U as UserOrganisation, a as User, M as MasterVehicle, b as MasterDriver } from '../../../user_organisation_service-
|
|
5
|
+
import { U as UserOrganisation, a as User, M as MasterVehicle, b as MasterDriver } from '../../../user_organisation_service-DFQbMQ0s.js';
|
|
6
6
|
import { MasterFleetInsuranceClaimStatus } from '../../master/fleet/master_fleet_insurance_claim_status_service.js';
|
|
7
7
|
import { MasterFleetIncidentSeverity } from '../../master/fleet/master_fleet_incident_severity_service.js';
|
|
8
8
|
import { MasterFleetIncidentStatus } from '../../master/fleet/master_fleet_incident_status_service.js';
|
|
@@ -2,7 +2,7 @@ import { IssueStatus, Priority, IssueSeverity, IssueSource, Status, FileType, PA
|
|
|
2
2
|
import { BaseCommonFile, BR, AWSPresignedUrl, SBR, FBR } from '../../../core/BaseResponse.js';
|
|
3
3
|
import { z } from 'zod';
|
|
4
4
|
import { FilePresignedUrlDTO } from '../../../zod_utils/zod_base_schema.js';
|
|
5
|
-
import { U as UserOrganisation, a as User, M as MasterVehicle, b as MasterDriver } from '../../../user_organisation_service-
|
|
5
|
+
import { U as UserOrganisation, a as User, M as MasterVehicle, b as MasterDriver } from '../../../user_organisation_service-DFQbMQ0s.js';
|
|
6
6
|
import { FleetIncidentManagement } from '../incident_management/incident_management_service.js';
|
|
7
7
|
import { FleetServiceManagement } from '../service_management/fleet_service_management_service.js';
|
|
8
8
|
import '../../master/main/master_main_sim_provider_service.js';
|
|
@@ -2,7 +2,7 @@ import { ServiceStatus, ServiceType, YesNo, PaymentStatus, Status, FileType, PAG
|
|
|
2
2
|
import { BaseCommonFile, BR, AWSPresignedUrl, SBR, FBR } from '../../../core/BaseResponse.js';
|
|
3
3
|
import { z } from 'zod';
|
|
4
4
|
import { FilePresignedUrlDTO } from '../../../zod_utils/zod_base_schema.js';
|
|
5
|
-
import { U as UserOrganisation, a as User, M as MasterVehicle, b as MasterDriver, F as FleetVendor,
|
|
5
|
+
import { U as UserOrganisation, a as User, M as MasterVehicle, b as MasterDriver, F as FleetVendor, c as FleetVendorServiceCenter } from '../../../user_organisation_service-DFQbMQ0s.js';
|
|
6
6
|
import '../../master/main/master_main_sim_provider_service.js';
|
|
7
7
|
|
|
8
8
|
interface FleetServiceManagement extends Record<string, unknown> {
|
|
@@ -84,9 +84,9 @@ declare const FleetServiceManagementFileSchema: z.ZodObject<{
|
|
|
84
84
|
organisation_id: z.ZodEffects<z.ZodString, string, string>;
|
|
85
85
|
service_management_id: z.ZodEffects<z.ZodString, string, string>;
|
|
86
86
|
}, "strip", z.ZodTypeAny, {
|
|
87
|
-
service_management_id: string;
|
|
88
87
|
status: Status;
|
|
89
88
|
organisation_id: string;
|
|
89
|
+
service_management_id: string;
|
|
90
90
|
usage_type: string;
|
|
91
91
|
file_type: FileType;
|
|
92
92
|
file_url: string;
|
|
@@ -96,9 +96,9 @@ declare const FleetServiceManagementFileSchema: z.ZodObject<{
|
|
|
96
96
|
file_size: number;
|
|
97
97
|
file_metadata: Record<string, any>;
|
|
98
98
|
}, {
|
|
99
|
-
service_management_id: string;
|
|
100
99
|
status: Status;
|
|
101
100
|
organisation_id: string;
|
|
101
|
+
service_management_id: string;
|
|
102
102
|
usage_type: string;
|
|
103
103
|
file_type: FileType;
|
|
104
104
|
file_url?: string | undefined;
|
|
@@ -155,9 +155,9 @@ declare const FleetServiceManagementSchema: z.ZodObject<{
|
|
|
155
155
|
organisation_id: z.ZodEffects<z.ZodString, string, string>;
|
|
156
156
|
service_management_id: z.ZodEffects<z.ZodString, string, string>;
|
|
157
157
|
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
158
|
-
service_management_id: string;
|
|
159
158
|
status: Status;
|
|
160
159
|
organisation_id: string;
|
|
160
|
+
service_management_id: string;
|
|
161
161
|
usage_type: string;
|
|
162
162
|
file_type: FileType;
|
|
163
163
|
file_url: string;
|
|
@@ -167,9 +167,9 @@ declare const FleetServiceManagementSchema: z.ZodObject<{
|
|
|
167
167
|
file_size: number;
|
|
168
168
|
file_metadata: Record<string, any>;
|
|
169
169
|
}, {
|
|
170
|
-
service_management_id: string;
|
|
171
170
|
status: Status;
|
|
172
171
|
organisation_id: string;
|
|
172
|
+
service_management_id: string;
|
|
173
173
|
usage_type: string;
|
|
174
174
|
file_type: FileType;
|
|
175
175
|
file_url?: string | undefined;
|
|
@@ -180,16 +180,23 @@ declare const FleetServiceManagementSchema: z.ZodObject<{
|
|
|
180
180
|
file_metadata?: Record<string, any> | undefined;
|
|
181
181
|
}>, "many">>>;
|
|
182
182
|
}, "strip", z.ZodTypeAny, {
|
|
183
|
+
odometer_reading: number;
|
|
184
|
+
status: Status;
|
|
185
|
+
organisation_id: string;
|
|
186
|
+
user_id: string;
|
|
187
|
+
vehicle_id: string;
|
|
188
|
+
driver_id: string;
|
|
189
|
+
service_center_id: string;
|
|
190
|
+
vendor_id: string;
|
|
191
|
+
rating: number;
|
|
192
|
+
service_start_date: string;
|
|
183
193
|
service_status: ServiceStatus;
|
|
184
194
|
service_type: ServiceType;
|
|
185
195
|
service_date: string;
|
|
186
|
-
service_start_date: string;
|
|
187
196
|
service_complete_date: string;
|
|
188
|
-
odometer_reading: number;
|
|
189
197
|
estimated_notes: string;
|
|
190
198
|
final_notes: string;
|
|
191
199
|
is_inhouse_service: YesNo;
|
|
192
|
-
rating: number;
|
|
193
200
|
rating_comments: string;
|
|
194
201
|
warranty_related_information: string;
|
|
195
202
|
payment_related_information: string;
|
|
@@ -197,17 +204,10 @@ declare const FleetServiceManagementSchema: z.ZodObject<{
|
|
|
197
204
|
payment_method: string;
|
|
198
205
|
next_odometer_reading: number;
|
|
199
206
|
next_service_schedule_date: string;
|
|
200
|
-
status: Status;
|
|
201
|
-
organisation_id: string;
|
|
202
|
-
user_id: string;
|
|
203
|
-
vehicle_id: string;
|
|
204
|
-
driver_id: string;
|
|
205
|
-
vendor_id: string;
|
|
206
|
-
service_center_id: string;
|
|
207
207
|
FleetServiceManagementFileSchema: {
|
|
208
|
-
service_management_id: string;
|
|
209
208
|
status: Status;
|
|
210
209
|
organisation_id: string;
|
|
210
|
+
service_management_id: string;
|
|
211
211
|
usage_type: string;
|
|
212
212
|
file_type: FileType;
|
|
213
213
|
file_url: string;
|
|
@@ -225,22 +225,23 @@ declare const FleetServiceManagementSchema: z.ZodObject<{
|
|
|
225
225
|
actual_parts_cost?: number | undefined;
|
|
226
226
|
actual_total_cost?: number | undefined;
|
|
227
227
|
}, {
|
|
228
|
-
service_status: ServiceStatus;
|
|
229
|
-
service_type: ServiceType;
|
|
230
|
-
service_date: string;
|
|
231
|
-
is_inhouse_service: YesNo;
|
|
232
|
-
payment_status: PaymentStatus;
|
|
233
228
|
status: Status;
|
|
234
229
|
organisation_id: string;
|
|
235
230
|
user_id: string;
|
|
236
231
|
vehicle_id: string;
|
|
237
232
|
driver_id: string;
|
|
238
|
-
vendor_id: string;
|
|
239
233
|
service_center_id: string;
|
|
240
|
-
|
|
241
|
-
|
|
234
|
+
vendor_id: string;
|
|
235
|
+
service_status: ServiceStatus;
|
|
236
|
+
service_type: ServiceType;
|
|
237
|
+
service_date: string;
|
|
238
|
+
is_inhouse_service: YesNo;
|
|
239
|
+
payment_status: PaymentStatus;
|
|
242
240
|
odometer_reading?: unknown;
|
|
241
|
+
rating?: unknown;
|
|
243
242
|
fuel?: unknown;
|
|
243
|
+
service_start_date?: string | undefined;
|
|
244
|
+
service_complete_date?: string | undefined;
|
|
244
245
|
estimated_labor_cost?: unknown;
|
|
245
246
|
estimated_parts_cost?: unknown;
|
|
246
247
|
estimated_total_cost?: unknown;
|
|
@@ -249,7 +250,6 @@ declare const FleetServiceManagementSchema: z.ZodObject<{
|
|
|
249
250
|
actual_parts_cost?: unknown;
|
|
250
251
|
actual_total_cost?: unknown;
|
|
251
252
|
final_notes?: string | undefined;
|
|
252
|
-
rating?: unknown;
|
|
253
253
|
rating_comments?: string | undefined;
|
|
254
254
|
warranty_related_information?: string | undefined;
|
|
255
255
|
payment_related_information?: string | undefined;
|
|
@@ -257,9 +257,9 @@ declare const FleetServiceManagementSchema: z.ZodObject<{
|
|
|
257
257
|
next_odometer_reading?: unknown;
|
|
258
258
|
next_service_schedule_date?: string | undefined;
|
|
259
259
|
FleetServiceManagementFileSchema?: {
|
|
260
|
-
service_management_id: string;
|
|
261
260
|
status: Status;
|
|
262
261
|
organisation_id: string;
|
|
262
|
+
service_management_id: string;
|
|
263
263
|
usage_type: string;
|
|
264
264
|
file_type: FileType;
|
|
265
265
|
file_url?: string | undefined;
|
|
@@ -316,11 +316,8 @@ declare const FleetServiceManagementQuerySchema: z.ZodObject<{
|
|
|
316
316
|
from_date: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
317
317
|
to_date: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
318
318
|
}, "strip", z.ZodTypeAny, {
|
|
319
|
-
service_status: ServiceStatus[];
|
|
320
|
-
service_type: ServiceType[];
|
|
321
|
-
is_inhouse_service: YesNo[];
|
|
322
|
-
payment_status: PaymentStatus[];
|
|
323
319
|
status: Status[];
|
|
320
|
+
time_zone_id: string;
|
|
324
321
|
search: string;
|
|
325
322
|
paging: PAGING;
|
|
326
323
|
page_count: number;
|
|
@@ -340,25 +337,24 @@ declare const FleetServiceManagementQuerySchema: z.ZodObject<{
|
|
|
340
337
|
}[];
|
|
341
338
|
include_master_data: YesNo;
|
|
342
339
|
date_format_id: string;
|
|
343
|
-
time_zone_id: string;
|
|
344
|
-
service_management_ids: string[];
|
|
345
340
|
organisation_ids: string[];
|
|
346
341
|
user_ids: string[];
|
|
347
342
|
vehicle_ids: string[];
|
|
348
343
|
driver_ids: string[];
|
|
349
|
-
|
|
350
|
-
service_center_ids: string[];
|
|
344
|
+
service_management_ids: string[];
|
|
351
345
|
from_date: string;
|
|
352
346
|
to_date: string;
|
|
347
|
+
vendor_ids: string[];
|
|
348
|
+
service_center_ids: string[];
|
|
349
|
+
service_status: ServiceStatus[];
|
|
350
|
+
service_type: ServiceType[];
|
|
351
|
+
is_inhouse_service: YesNo[];
|
|
352
|
+
payment_status: PaymentStatus[];
|
|
353
353
|
}, {
|
|
354
|
-
date_format_id: string;
|
|
355
354
|
time_zone_id: string;
|
|
355
|
+
date_format_id: string;
|
|
356
356
|
from_date: string;
|
|
357
357
|
to_date: string;
|
|
358
|
-
service_status?: ServiceStatus[] | undefined;
|
|
359
|
-
service_type?: ServiceType[] | undefined;
|
|
360
|
-
is_inhouse_service?: YesNo[] | undefined;
|
|
361
|
-
payment_status?: PaymentStatus[] | undefined;
|
|
362
358
|
status?: Status[] | undefined;
|
|
363
359
|
search?: string | undefined;
|
|
364
360
|
paging?: PAGING | undefined;
|
|
@@ -378,13 +374,17 @@ declare const FleetServiceManagementQuerySchema: z.ZodObject<{
|
|
|
378
374
|
direction: OrderBy;
|
|
379
375
|
}[] | undefined;
|
|
380
376
|
include_master_data?: YesNo | undefined;
|
|
381
|
-
service_management_ids?: string[] | undefined;
|
|
382
377
|
organisation_ids?: string[] | undefined;
|
|
383
378
|
user_ids?: string[] | undefined;
|
|
384
379
|
vehicle_ids?: string[] | undefined;
|
|
385
380
|
driver_ids?: string[] | undefined;
|
|
381
|
+
service_management_ids?: string[] | undefined;
|
|
386
382
|
vendor_ids?: string[] | undefined;
|
|
387
383
|
service_center_ids?: string[] | undefined;
|
|
384
|
+
service_status?: ServiceStatus[] | undefined;
|
|
385
|
+
service_type?: ServiceType[] | undefined;
|
|
386
|
+
is_inhouse_service?: YesNo[] | undefined;
|
|
387
|
+
payment_status?: PaymentStatus[] | undefined;
|
|
388
388
|
}>;
|
|
389
389
|
type FleetServiceManagementQueryDTO = z.infer<typeof FleetServiceManagementQuerySchema>;
|
|
390
390
|
declare const toFleetServiceManagementPayload: (row: FleetServiceManagement) => FleetServiceManagementDTO;
|
|
@@ -4,7 +4,7 @@ import { z } from 'zod';
|
|
|
4
4
|
import { FleetServiceManagement } from './fleet_service_management_service.js';
|
|
5
5
|
import { MasterFleetServiceTask } from '../../master/fleet/master_fleet_service_task_service.js';
|
|
6
6
|
import '../../../zod_utils/zod_base_schema.js';
|
|
7
|
-
import '../../../user_organisation_service-
|
|
7
|
+
import '../../../user_organisation_service-DFQbMQ0s.js';
|
|
8
8
|
import '../../master/main/master_main_sim_provider_service.js';
|
|
9
9
|
|
|
10
10
|
interface FleetServiceManagementTask extends Record<string, unknown> {
|
|
@@ -32,16 +32,16 @@ declare const FleetServiceManagementTaskSchema: z.ZodObject<{
|
|
|
32
32
|
task_notes: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
|
|
33
33
|
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
34
34
|
}, "strip", z.ZodTypeAny, {
|
|
35
|
-
|
|
35
|
+
task_notes: string;
|
|
36
36
|
status: Status;
|
|
37
|
+
service_management_id: string;
|
|
37
38
|
fleet_service_task_id: string;
|
|
38
|
-
task_notes: string;
|
|
39
39
|
task_cost?: number | undefined;
|
|
40
40
|
labor_cost?: number | undefined;
|
|
41
41
|
parts_cost?: number | undefined;
|
|
42
42
|
}, {
|
|
43
|
-
service_management_id: string;
|
|
44
43
|
status: Status;
|
|
44
|
+
service_management_id: string;
|
|
45
45
|
fleet_service_task_id: string;
|
|
46
46
|
task_cost?: unknown;
|
|
47
47
|
labor_cost?: unknown;
|
|
@@ -105,9 +105,9 @@ declare const FleetServiceManagementTaskQuerySchema: z.ZodObject<{
|
|
|
105
105
|
include_master_data: YesNo;
|
|
106
106
|
date_format_id: string;
|
|
107
107
|
time_zone_id: string;
|
|
108
|
+
fleet_service_management_task_ids: string[];
|
|
108
109
|
service_management_ids: string[];
|
|
109
110
|
fleet_service_task_ids: string[];
|
|
110
|
-
fleet_service_management_task_ids: string[];
|
|
111
111
|
}, {
|
|
112
112
|
date_format_id: string;
|
|
113
113
|
time_zone_id: string;
|
|
@@ -130,9 +130,9 @@ declare const FleetServiceManagementTaskQuerySchema: z.ZodObject<{
|
|
|
130
130
|
direction: OrderBy;
|
|
131
131
|
}[] | undefined;
|
|
132
132
|
include_master_data?: YesNo | undefined;
|
|
133
|
+
fleet_service_management_task_ids?: string[] | undefined;
|
|
133
134
|
service_management_ids?: string[] | undefined;
|
|
134
135
|
fleet_service_task_ids?: string[] | undefined;
|
|
135
|
-
fleet_service_management_task_ids?: string[] | undefined;
|
|
136
136
|
}>;
|
|
137
137
|
type FleetServiceManagementTaskQueryDTO = z.infer<typeof FleetServiceManagementTaskQuerySchema>;
|
|
138
138
|
declare const toFleetServiceManagementTaskPayload: (row: FleetServiceManagementTask) => FleetServiceManagementTaskDTO;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import '../../../core/Enums.js';
|
|
2
2
|
import '../../../core/BaseResponse.js';
|
|
3
3
|
import 'zod';
|
|
4
|
-
export { hW as FleetFuelStationRateDTO, hY as FleetFuelStationRateQueryDTO, hX as FleetFuelStationRateQuerySchema, hV as FleetFuelStationRateSchema,
|
|
4
|
+
export { hW as FleetFuelStationRateDTO, hY as FleetFuelStationRateQueryDTO, hX as FleetFuelStationRateQuerySchema, hV as FleetFuelStationRateSchema, f as FleetVendorFuelStation, hS as FleetVendorFuelStationDTO, hU as FleetVendorFuelStationQueryDTO, hT as FleetVendorFuelStationQuerySchema, hR as FleetVendorFuelStationSchema, i0 as createFleetVendorFuelStation, i2 as deleteFleetVendorFuelStation, h$ as findFleetVendorFuelStation, h_ as newFleetVendorFuelStationPayload, hZ as toFleetVendorFuelStationPayload, i1 as updateFleetVendorFuelStation } from '../../../user_organisation_service-DFQbMQ0s.js';
|
|
5
5
|
import '../../../zod_utils/zod_base_schema.js';
|
|
6
6
|
import '../../master/main/master_main_sim_provider_service.js';
|
|
@@ -2,5 +2,5 @@ import '../../../core/Enums.js';
|
|
|
2
2
|
import '../../../core/BaseResponse.js';
|
|
3
3
|
import 'zod';
|
|
4
4
|
import '../../../zod_utils/zod_base_schema.js';
|
|
5
|
-
export { F as FleetVendor, i5 as FleetVendorAddress, ij as FleetVendorAddressDTO, il as FleetVendorAddressQueryDTO, ik as FleetVendorAddressQuerySchema, ii as FleetVendorAddressSchema, i6 as FleetVendorBankAccount, io as FleetVendorBankAccountDTO, iq as FleetVendorBankAccountQueryDTO, ip as FleetVendorBankAccountQuerySchema, im as FleetVendorBankAccountSchema, i7 as FleetVendorContactPersons, iu as FleetVendorContactPersonsDTO, is as FleetVendorContactPersonsLogoDTO, ir as FleetVendorContactPersonsLogoSchema, iw as FleetVendorContactPersonsQueryDTO, iv as FleetVendorContactPersonsQuerySchema, it as FleetVendorContactPersonsSchema, ie as FleetVendorDTO, i9 as FleetVendorDocument, iE as FleetVendorDocumentDTO, ia as FleetVendorDocumentFile, iC as FleetVendorDocumentFileDTO, iB as FleetVendorDocumentFileSchema, iG as FleetVendorDocumentQueryDTO, iF as FleetVendorDocumentQuerySchema, iD as FleetVendorDocumentSchema, ic as FleetVendorLogoDTO, ib as FleetVendorLogoSchema, ih as FleetVendorQueryDTO, ig as FleetVendorQuerySchema, i8 as FleetVendorReview, iy as FleetVendorReviewDTO, iA as FleetVendorReviewQueryDTO, iz as FleetVendorReviewQuerySchema, ix as FleetVendorReviewSchema, id as FleetVendorSchema, i4 as FleetVendorTagLink, i3 as FleetVendorTypeLink, iZ as createFleetVendor, j0 as createFleetVendorAddress, j4 as createFleetVendorBankAccount, j8 as createFleetVendorContactPersons, jk as createFleetVendorDocument, je as createFleetVendorReview, ji as create_file, i$ as deleteFleetVendor, j3 as deleteFleetVendorAddress, j7 as deleteFleetVendorBankAccount, jb as deleteFleetVendorContactPersons, jd as deleteFleetVendorContactPersonsLogo, jn as deleteFleetVendorDocument, iX as deleteFleetVendorLogo, jh as deleteFleetVendorReview, iY as findFleetVendor, j1 as findFleetVendorAddress, j5 as findFleetVendorBankAccount, j9 as findFleetVendorContactPersons, jl as findFleetVendorDocument, jf as findFleetVendorReview, jo as getFleetVendorCacheSimple, iV as get_vendor_document_file_presigned_url, iK as newFleetVendorAddressPayload, iM as newFleetVendorBankAccountPayload, iO as newFleetVendorContactPersonsPayload, iS as newFleetVendorDocumentPayload, iI as newFleetVendorPayload, iQ as newFleetVendorReviewPayload, jj as remove_file, iJ as toFleetVendorAddressPayload, iL as toFleetVendorBankAccountPayload, iN as toFleetVendorContactPersonsPayload, iR as toFleetVendorDocumentPayload, iH as toFleetVendorPayload, iP as toFleetVendorReviewPayload, i_ as updateFleetVendor, j2 as updateFleetVendorAddress, j6 as updateFleetVendorBankAccount, ja as updateFleetVendorContactPersons, jc as updateFleetVendorContactPersonsLogo, jm as updateFleetVendorDocument, iW as updateFleetVendorLogo, jg as updateFleetVendorReview, iU as vendor_contact_person_logo_presigned_url, iT as vendor_logo_presigned_url } from '../../../user_organisation_service-
|
|
5
|
+
export { F as FleetVendor, i5 as FleetVendorAddress, ij as FleetVendorAddressDTO, il as FleetVendorAddressQueryDTO, ik as FleetVendorAddressQuerySchema, ii as FleetVendorAddressSchema, i6 as FleetVendorBankAccount, io as FleetVendorBankAccountDTO, iq as FleetVendorBankAccountQueryDTO, ip as FleetVendorBankAccountQuerySchema, im as FleetVendorBankAccountSchema, i7 as FleetVendorContactPersons, iu as FleetVendorContactPersonsDTO, is as FleetVendorContactPersonsLogoDTO, ir as FleetVendorContactPersonsLogoSchema, iw as FleetVendorContactPersonsQueryDTO, iv as FleetVendorContactPersonsQuerySchema, it as FleetVendorContactPersonsSchema, ie as FleetVendorDTO, i9 as FleetVendorDocument, iE as FleetVendorDocumentDTO, ia as FleetVendorDocumentFile, iC as FleetVendorDocumentFileDTO, iB as FleetVendorDocumentFileSchema, iG as FleetVendorDocumentQueryDTO, iF as FleetVendorDocumentQuerySchema, iD as FleetVendorDocumentSchema, ic as FleetVendorLogoDTO, ib as FleetVendorLogoSchema, ih as FleetVendorQueryDTO, ig as FleetVendorQuerySchema, i8 as FleetVendorReview, iy as FleetVendorReviewDTO, iA as FleetVendorReviewQueryDTO, iz as FleetVendorReviewQuerySchema, ix as FleetVendorReviewSchema, id as FleetVendorSchema, i4 as FleetVendorTagLink, i3 as FleetVendorTypeLink, iZ as createFleetVendor, j0 as createFleetVendorAddress, j4 as createFleetVendorBankAccount, j8 as createFleetVendorContactPersons, jk as createFleetVendorDocument, je as createFleetVendorReview, ji as create_file, i$ as deleteFleetVendor, j3 as deleteFleetVendorAddress, j7 as deleteFleetVendorBankAccount, jb as deleteFleetVendorContactPersons, jd as deleteFleetVendorContactPersonsLogo, jn as deleteFleetVendorDocument, iX as deleteFleetVendorLogo, jh as deleteFleetVendorReview, iY as findFleetVendor, j1 as findFleetVendorAddress, j5 as findFleetVendorBankAccount, j9 as findFleetVendorContactPersons, jl as findFleetVendorDocument, jf as findFleetVendorReview, jo as getFleetVendorCacheSimple, iV as get_vendor_document_file_presigned_url, iK as newFleetVendorAddressPayload, iM as newFleetVendorBankAccountPayload, iO as newFleetVendorContactPersonsPayload, iS as newFleetVendorDocumentPayload, iI as newFleetVendorPayload, iQ as newFleetVendorReviewPayload, jj as remove_file, iJ as toFleetVendorAddressPayload, iL as toFleetVendorBankAccountPayload, iN as toFleetVendorContactPersonsPayload, iR as toFleetVendorDocumentPayload, iH as toFleetVendorPayload, iP as toFleetVendorReviewPayload, i_ as updateFleetVendor, j2 as updateFleetVendorAddress, j6 as updateFleetVendorBankAccount, ja as updateFleetVendorContactPersons, jc as updateFleetVendorContactPersonsLogo, jm as updateFleetVendorDocument, iW as updateFleetVendorLogo, jg as updateFleetVendorReview, iU as vendor_contact_person_logo_presigned_url, iT as vendor_logo_presigned_url } from '../../../user_organisation_service-DFQbMQ0s.js';
|
|
6
6
|
import '../../master/main/master_main_sim_provider_service.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import '../../../core/Enums.js';
|
|
2
2
|
import '../../../core/BaseResponse.js';
|
|
3
3
|
import 'zod';
|
|
4
|
-
export {
|
|
4
|
+
export { c as FleetVendorServiceCenter, hw as FleetVendorServiceCenterDTO, hy as FleetVendorServiceCenterQueryDTO, hx as FleetVendorServiceCenterQuerySchema, hv as FleetVendorServiceCenterSchema, hC as createFleetVendorServiceCenter, hE as deleteFleetVendorServiceCenter, hB as findFleetVendorServiceCenter, hA as newFleetVendorServiceCenterPayload, hz as toFleetVendorServiceCenterPayload, hD as updateFleetVendorServiceCenter } from '../../../user_organisation_service-DFQbMQ0s.js';
|
|
5
5
|
import '../../../zod_utils/zod_base_schema.js';
|
|
6
6
|
import '../../master/main/master_main_sim_provider_service.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { GeofencePurposeType, GeofenceType, Status, PAGING, LoadParents, LoadChild, LoadChildCount, OrderBy, YesNo } from '../../../../core/Enums.js';
|
|
2
2
|
import { FBR, SBR } from '../../../../core/BaseResponse.js';
|
|
3
3
|
import { z } from 'zod';
|
|
4
|
-
import { U as UserOrganisation } from '../../../../user_organisation_service-
|
|
4
|
+
import { U as UserOrganisation } from '../../../../user_organisation_service-DFQbMQ0s.js';
|
|
5
5
|
import '../../../../zod_utils/zod_base_schema.js';
|
|
6
6
|
import '../../../master/main/master_main_sim_provider_service.js';
|
|
7
7
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { GeofenceStatusType, Status, PAGING, LoadParents, LoadChild, LoadChildCount, OrderBy, YesNo } from '../../../../core/Enums.js';
|
|
2
2
|
import { FBR, SBR } from '../../../../core/BaseResponse.js';
|
|
3
3
|
import { z } from 'zod';
|
|
4
|
-
import { U as UserOrganisation, M as MasterVehicle, b as MasterDriver } from '../../../../user_organisation_service-
|
|
4
|
+
import { U as UserOrganisation, M as MasterVehicle, b as MasterDriver } from '../../../../user_organisation_service-DFQbMQ0s.js';
|
|
5
5
|
import { GPSGeofence } from './gps_geofence_service.js';
|
|
6
6
|
import '../../../../zod_utils/zod_base_schema.js';
|
|
7
7
|
import '../../../master/main/master_main_sim_provider_service.js';
|
|
@@ -36,23 +36,23 @@ declare const GPSGeofenceTransactionSchema: z.ZodObject<{
|
|
|
36
36
|
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
37
37
|
time_zone_id: z.ZodEffects<z.ZodString, string, string>;
|
|
38
38
|
}, "strip", z.ZodTypeAny, {
|
|
39
|
-
geofence_status_type: GeofenceStatusType;
|
|
40
|
-
geofence_time: string;
|
|
41
39
|
status: Status;
|
|
42
40
|
organisation_id: string;
|
|
43
41
|
vehicle_id: string;
|
|
44
42
|
driver_id: string;
|
|
45
|
-
gps_geofence_id: string;
|
|
46
43
|
time_zone_id: string;
|
|
47
|
-
|
|
44
|
+
gps_geofence_id: string;
|
|
48
45
|
geofence_status_type: GeofenceStatusType;
|
|
49
46
|
geofence_time: string;
|
|
47
|
+
}, {
|
|
50
48
|
status: Status;
|
|
51
49
|
organisation_id: string;
|
|
52
50
|
vehicle_id: string;
|
|
53
51
|
driver_id: string;
|
|
54
|
-
gps_geofence_id: string;
|
|
55
52
|
time_zone_id: string;
|
|
53
|
+
gps_geofence_id: string;
|
|
54
|
+
geofence_status_type: GeofenceStatusType;
|
|
55
|
+
geofence_time: string;
|
|
56
56
|
}>;
|
|
57
57
|
type GPSGeofenceTransactionDTO = z.infer<typeof GPSGeofenceTransactionSchema>;
|
|
58
58
|
declare const GPSGeofenceTransactionQuerySchema: z.ZodObject<{
|
|
@@ -94,7 +94,6 @@ declare const GPSGeofenceTransactionQuerySchema: z.ZodObject<{
|
|
|
94
94
|
from_date: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
95
95
|
to_date: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
96
96
|
}, "strip", z.ZodTypeAny, {
|
|
97
|
-
geofence_status_type: GeofenceStatusType[];
|
|
98
97
|
status: Status[];
|
|
99
98
|
time_zone_id: string;
|
|
100
99
|
search: string;
|
|
@@ -119,15 +118,15 @@ declare const GPSGeofenceTransactionQuerySchema: z.ZodObject<{
|
|
|
119
118
|
organisation_ids: string[];
|
|
120
119
|
vehicle_ids: string[];
|
|
121
120
|
driver_ids: string[];
|
|
122
|
-
gps_geofence_ids: string[];
|
|
123
121
|
from_date: string;
|
|
124
122
|
to_date: string;
|
|
123
|
+
gps_geofence_ids: string[];
|
|
124
|
+
geofence_status_type: GeofenceStatusType[];
|
|
125
125
|
}, {
|
|
126
126
|
time_zone_id: string;
|
|
127
127
|
date_format_id: string;
|
|
128
128
|
from_date: string;
|
|
129
129
|
to_date: string;
|
|
130
|
-
geofence_status_type?: GeofenceStatusType[] | undefined;
|
|
131
130
|
status?: Status[] | undefined;
|
|
132
131
|
search?: string | undefined;
|
|
133
132
|
paging?: PAGING | undefined;
|
|
@@ -151,6 +150,7 @@ declare const GPSGeofenceTransactionQuerySchema: z.ZodObject<{
|
|
|
151
150
|
vehicle_ids?: string[] | undefined;
|
|
152
151
|
driver_ids?: string[] | undefined;
|
|
153
152
|
gps_geofence_ids?: string[] | undefined;
|
|
153
|
+
geofence_status_type?: GeofenceStatusType[] | undefined;
|
|
154
154
|
}>;
|
|
155
155
|
type GPSGeofenceTransactionQueryDTO = z.infer<typeof GPSGeofenceTransactionQuerySchema>;
|
|
156
156
|
declare const toGPSGeofenceTransactionPayload: (data: GPSGeofenceTransaction) => GPSGeofenceTransactionDTO;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Status, PAGING, LoadParents, LoadChild, LoadChildCount, OrderBy, YesNo } from '../../../../core/Enums.js';
|
|
2
2
|
import { FBR, SBR } from '../../../../core/BaseResponse.js';
|
|
3
3
|
import { z } from 'zod';
|
|
4
|
-
import { U as UserOrganisation, M as MasterVehicle, b as MasterDriver } from '../../../../user_organisation_service-
|
|
4
|
+
import { U as UserOrganisation, M as MasterVehicle, b as MasterDriver } from '../../../../user_organisation_service-DFQbMQ0s.js';
|
|
5
5
|
import { GPSGeofence } from './gps_geofence_service.js';
|
|
6
6
|
import { GPSGeofenceTransaction } from './gps_geofence_transaction_service.js';
|
|
7
7
|
import '../../../../zod_utils/zod_base_schema.js';
|
|
@@ -46,15 +46,15 @@ declare const GPSGeofenceTransactionSummarySchema: z.ZodObject<{
|
|
|
46
46
|
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
47
47
|
time_zone_id: z.ZodEffects<z.ZodString, string, string>;
|
|
48
48
|
}, "strip", z.ZodTypeAny, {
|
|
49
|
+
duration_seconds: number;
|
|
49
50
|
status: Status;
|
|
50
51
|
organisation_id: string;
|
|
51
52
|
vehicle_id: string;
|
|
52
53
|
driver_id: string;
|
|
53
|
-
gps_geofence_id: string;
|
|
54
54
|
time_zone_id: string;
|
|
55
|
+
gps_geofence_id: string;
|
|
55
56
|
geofence_enter_date_time: string;
|
|
56
57
|
geofence_exit_date_time: string;
|
|
57
|
-
duration_seconds: number;
|
|
58
58
|
enter_gps_geofence_transaction_id: string;
|
|
59
59
|
exit_gps_geofence_transaction_id: string;
|
|
60
60
|
}, {
|
|
@@ -62,13 +62,13 @@ declare const GPSGeofenceTransactionSummarySchema: z.ZodObject<{
|
|
|
62
62
|
organisation_id: string;
|
|
63
63
|
vehicle_id: string;
|
|
64
64
|
driver_id: string;
|
|
65
|
-
gps_geofence_id: string;
|
|
66
65
|
time_zone_id: string;
|
|
66
|
+
gps_geofence_id: string;
|
|
67
67
|
geofence_enter_date_time: string;
|
|
68
68
|
enter_gps_geofence_transaction_id: string;
|
|
69
69
|
exit_gps_geofence_transaction_id: string;
|
|
70
|
-
geofence_exit_date_time?: string | undefined;
|
|
71
70
|
duration_seconds?: unknown;
|
|
71
|
+
geofence_exit_date_time?: string | undefined;
|
|
72
72
|
}>;
|
|
73
73
|
type GPSGeofenceTransactionSummaryDTO = z.infer<typeof GPSGeofenceTransactionSummarySchema>;
|
|
74
74
|
declare const GPSGeofenceTransactionSummaryQuerySchema: z.ZodObject<{
|
|
@@ -133,9 +133,9 @@ declare const GPSGeofenceTransactionSummaryQuerySchema: z.ZodObject<{
|
|
|
133
133
|
organisation_ids: string[];
|
|
134
134
|
vehicle_ids: string[];
|
|
135
135
|
driver_ids: string[];
|
|
136
|
-
gps_geofence_ids: string[];
|
|
137
136
|
from_date: string;
|
|
138
137
|
to_date: string;
|
|
138
|
+
gps_geofence_ids: string[];
|
|
139
139
|
}, {
|
|
140
140
|
time_zone_id: string;
|
|
141
141
|
date_format_id: string;
|