vms-nest-prisma-api-document 225.0.0 → 227.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/bookmark_service.d.ts +9 -9
- 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 +21 -21
- package/dist/services/fleet/bus_mangement/calender.d.ts +1 -1
- 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 +25 -25
- 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 +30 -30
- package/dist/services/fleet/incident_management/incident_management_service.d.ts +2 -2
- package/dist/services/fleet/incident_management/incident_management_service.js +10 -10
- package/dist/services/fleet/issue_management/issue_management_service.d.ts +4 -2
- package/dist/services/fleet/issue_management/issue_management_service.js +9 -9
- 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.js +20 -21
- 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/gps/reports/gps_reports_mongo_service.d.ts +46 -46
- 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 +2 -2
- 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 +1 -1
- 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 +3 -3
- package/dist/services/master/tyre/master_tyre_make_service.d.ts +1 -1
- package/dist/services/master/tyre/master_tyre_model_service.d.ts +5 -5
- 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-DFQbMQ0s.d.ts → user_organisation_service-5X-6GA_y.d.ts} +56 -56
- package/package.json +1 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { EnrollmentStatus, TransportPlanType, Status, YesNo, StudentLeaveType, ApprovalStatus, PAGING, LoadParents, LoadChild, LoadChildCount, OrderBy } from '../../../core/Enums.js';
|
|
2
2
|
import { FBR, SBR } from '../../../core/BaseResponse.js';
|
|
3
3
|
import { z } from 'zod';
|
|
4
|
-
import { U as UserOrganisation, O as OrganisationBranch } from '../../../user_organisation_service-
|
|
4
|
+
import { U as UserOrganisation, O as OrganisationBranch } from '../../../user_organisation_service-5X-6GA_y.js';
|
|
5
5
|
import { MasterClass } from '../../master/bus/master_class_service.js';
|
|
6
6
|
import { MasterProgram } from '../../master/bus/master_program_service.js';
|
|
7
7
|
import { MasterSection } from '../../master/bus/master_section_service.js';
|
|
@@ -304,7 +304,6 @@ declare const StudentQuerySchema: z.ZodObject<{
|
|
|
304
304
|
time_zone_id: string;
|
|
305
305
|
organisation_ids: string[];
|
|
306
306
|
organisation_branch_ids: string[];
|
|
307
|
-
student_ids: string[];
|
|
308
307
|
class_ids: string[];
|
|
309
308
|
program_ids: string[];
|
|
310
309
|
section_ids: string[];
|
|
@@ -313,6 +312,7 @@ declare const StudentQuerySchema: z.ZodObject<{
|
|
|
313
312
|
year_ids: string[];
|
|
314
313
|
enrollment_status: EnrollmentStatus[];
|
|
315
314
|
transport_plan_type: TransportPlanType[];
|
|
315
|
+
student_ids: string[];
|
|
316
316
|
pickup_route_ids: string[];
|
|
317
317
|
drop_route_ids: string[];
|
|
318
318
|
pickup_route_stop_ids: string[];
|
|
@@ -343,7 +343,6 @@ declare const StudentQuerySchema: z.ZodObject<{
|
|
|
343
343
|
include_master_data?: YesNo | undefined;
|
|
344
344
|
organisation_ids?: string[] | undefined;
|
|
345
345
|
organisation_branch_ids?: string[] | undefined;
|
|
346
|
-
student_ids?: string[] | undefined;
|
|
347
346
|
class_ids?: string[] | undefined;
|
|
348
347
|
program_ids?: string[] | undefined;
|
|
349
348
|
section_ids?: string[] | undefined;
|
|
@@ -352,6 +351,7 @@ declare const StudentQuerySchema: z.ZodObject<{
|
|
|
352
351
|
year_ids?: string[] | undefined;
|
|
353
352
|
enrollment_status?: EnrollmentStatus[] | undefined;
|
|
354
353
|
transport_plan_type?: TransportPlanType[] | undefined;
|
|
354
|
+
student_ids?: string[] | undefined;
|
|
355
355
|
pickup_route_ids?: string[] | undefined;
|
|
356
356
|
drop_route_ids?: string[] | undefined;
|
|
357
357
|
pickup_route_stop_ids?: string[] | undefined;
|
|
@@ -464,12 +464,6 @@ declare const StudentAddressSchema: z.ZodObject<{
|
|
|
464
464
|
notes: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
|
|
465
465
|
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
466
466
|
}, "strip", z.ZodTypeAny, {
|
|
467
|
-
status: Status;
|
|
468
|
-
organisation_id: string;
|
|
469
|
-
organisation_branch_id: string;
|
|
470
|
-
student_id: string;
|
|
471
|
-
country_code: string;
|
|
472
|
-
google_location: string;
|
|
473
467
|
address_line1: string;
|
|
474
468
|
address_line2: string;
|
|
475
469
|
locality_landmark: string;
|
|
@@ -479,21 +473,23 @@ declare const StudentAddressSchema: z.ZodObject<{
|
|
|
479
473
|
state_province_region: string;
|
|
480
474
|
postal_code: string;
|
|
481
475
|
country: string;
|
|
476
|
+
country_code: string;
|
|
477
|
+
google_location: string;
|
|
478
|
+
status: Status;
|
|
479
|
+
organisation_id: string;
|
|
480
|
+
organisation_branch_id: string;
|
|
482
481
|
is_default: YesNo;
|
|
483
482
|
notes: string;
|
|
483
|
+
student_id: string;
|
|
484
484
|
latitude?: number | undefined;
|
|
485
485
|
longitude?: number | undefined;
|
|
486
486
|
}, {
|
|
487
|
+
address_line1: string;
|
|
487
488
|
status: Status;
|
|
488
489
|
organisation_id: string;
|
|
489
490
|
organisation_branch_id: string;
|
|
490
|
-
student_id: string;
|
|
491
|
-
address_line1: string;
|
|
492
491
|
is_default: YesNo;
|
|
493
|
-
|
|
494
|
-
latitude?: unknown;
|
|
495
|
-
longitude?: unknown;
|
|
496
|
-
google_location?: string | undefined;
|
|
492
|
+
student_id: string;
|
|
497
493
|
address_line2?: string | undefined;
|
|
498
494
|
locality_landmark?: string | undefined;
|
|
499
495
|
neighborhood?: string | undefined;
|
|
@@ -502,6 +498,10 @@ declare const StudentAddressSchema: z.ZodObject<{
|
|
|
502
498
|
state_province_region?: string | undefined;
|
|
503
499
|
postal_code?: string | undefined;
|
|
504
500
|
country?: string | undefined;
|
|
501
|
+
country_code?: string | undefined;
|
|
502
|
+
google_location?: string | undefined;
|
|
503
|
+
latitude?: unknown;
|
|
504
|
+
longitude?: unknown;
|
|
505
505
|
notes?: string | undefined;
|
|
506
506
|
}>;
|
|
507
507
|
type StudentAddressDTO = z.infer<typeof StudentAddressSchema>;
|
|
@@ -574,9 +574,9 @@ declare const StudentAddressQuerySchema: z.ZodObject<{
|
|
|
574
574
|
time_zone_id: string;
|
|
575
575
|
organisation_ids: string[];
|
|
576
576
|
organisation_branch_ids: string[];
|
|
577
|
-
student_ids: string[];
|
|
578
|
-
is_default: YesNo[];
|
|
579
577
|
bus_stop_ids: string[];
|
|
578
|
+
is_default: YesNo[];
|
|
579
|
+
student_ids: string[];
|
|
580
580
|
student_address_ids: string[];
|
|
581
581
|
}, {
|
|
582
582
|
date_format_id: string;
|
|
@@ -602,9 +602,9 @@ declare const StudentAddressQuerySchema: z.ZodObject<{
|
|
|
602
602
|
include_master_data?: YesNo | undefined;
|
|
603
603
|
organisation_ids?: string[] | undefined;
|
|
604
604
|
organisation_branch_ids?: string[] | undefined;
|
|
605
|
-
student_ids?: string[] | undefined;
|
|
606
|
-
is_default?: YesNo[] | undefined;
|
|
607
605
|
bus_stop_ids?: string[] | undefined;
|
|
606
|
+
is_default?: YesNo[] | undefined;
|
|
607
|
+
student_ids?: string[] | undefined;
|
|
608
608
|
student_address_ids?: string[] | undefined;
|
|
609
609
|
}>;
|
|
610
610
|
type StudentAddressQueryDTO = z.infer<typeof StudentAddressQuerySchema>;
|
|
@@ -627,13 +627,13 @@ declare const StudentGuardianLinkSchema: z.ZodObject<{
|
|
|
627
627
|
status: Status;
|
|
628
628
|
organisation_id: string;
|
|
629
629
|
organisation_branch_id: string;
|
|
630
|
-
student_id: string;
|
|
631
630
|
email: string;
|
|
632
631
|
mobile: string;
|
|
633
632
|
notes: string;
|
|
634
633
|
is_primary: YesNo;
|
|
635
634
|
alternative_mobile: string;
|
|
636
635
|
relationship_id: string;
|
|
636
|
+
student_id: string;
|
|
637
637
|
photo_url: string;
|
|
638
638
|
photo_key: string;
|
|
639
639
|
photo_name: string;
|
|
@@ -642,10 +642,10 @@ declare const StudentGuardianLinkSchema: z.ZodObject<{
|
|
|
642
642
|
status: Status;
|
|
643
643
|
organisation_id: string;
|
|
644
644
|
organisation_branch_id: string;
|
|
645
|
-
student_id: string;
|
|
646
645
|
mobile: string;
|
|
647
646
|
is_primary: YesNo;
|
|
648
647
|
relationship_id: string;
|
|
648
|
+
student_id: string;
|
|
649
649
|
full_name: string;
|
|
650
650
|
email?: string | undefined;
|
|
651
651
|
notes?: string | undefined;
|
|
@@ -972,8 +972,8 @@ declare const StudentLeaveRequestQuerySchema: z.ZodObject<{
|
|
|
972
972
|
time_zone_id: string;
|
|
973
973
|
organisation_ids: string[];
|
|
974
974
|
organisation_branch_ids: string[];
|
|
975
|
-
student_ids: string[];
|
|
976
975
|
approval_status: ApprovalStatus[];
|
|
976
|
+
student_ids: string[];
|
|
977
977
|
student_leave_request_ids: string[];
|
|
978
978
|
}, {
|
|
979
979
|
date_format_id: string;
|
|
@@ -999,8 +999,8 @@ declare const StudentLeaveRequestQuerySchema: z.ZodObject<{
|
|
|
999
999
|
include_master_data?: YesNo | undefined;
|
|
1000
1000
|
organisation_ids?: string[] | undefined;
|
|
1001
1001
|
organisation_branch_ids?: string[] | undefined;
|
|
1002
|
-
student_ids?: string[] | undefined;
|
|
1003
1002
|
approval_status?: ApprovalStatus[] | undefined;
|
|
1003
|
+
student_ids?: string[] | undefined;
|
|
1004
1004
|
student_leave_request_ids?: string[] | undefined;
|
|
1005
1005
|
}>;
|
|
1006
1006
|
type StudentLeaveRequestQueryDTO = z.infer<typeof StudentLeaveRequestQuerySchema>;
|
|
@@ -1114,8 +1114,8 @@ declare const StudentStopChangeRequestQuerySchema: z.ZodObject<{
|
|
|
1114
1114
|
time_zone_id: string;
|
|
1115
1115
|
organisation_ids: string[];
|
|
1116
1116
|
organisation_branch_ids: string[];
|
|
1117
|
-
student_ids: string[];
|
|
1118
1117
|
approval_status: ApprovalStatus[];
|
|
1118
|
+
student_ids: string[];
|
|
1119
1119
|
student_address_ids: string[];
|
|
1120
1120
|
student_stop_change_request_ids: string[];
|
|
1121
1121
|
}, {
|
|
@@ -1142,8 +1142,8 @@ declare const StudentStopChangeRequestQuerySchema: z.ZodObject<{
|
|
|
1142
1142
|
include_master_data?: YesNo | undefined;
|
|
1143
1143
|
organisation_ids?: string[] | undefined;
|
|
1144
1144
|
organisation_branch_ids?: string[] | undefined;
|
|
1145
|
-
student_ids?: string[] | undefined;
|
|
1146
1145
|
approval_status?: ApprovalStatus[] | undefined;
|
|
1146
|
+
student_ids?: string[] | undefined;
|
|
1147
1147
|
student_address_ids?: string[] | undefined;
|
|
1148
1148
|
student_stop_change_request_ids?: string[] | undefined;
|
|
1149
1149
|
}>;
|
|
@@ -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, a as User, M as MasterVehicle, b as MasterDriver,
|
|
4
|
+
import { U as UserOrganisation, a as User, M as MasterVehicle, b as MasterDriver, c as MasterDevice } from '../../../user_organisation_service-5X-6GA_y.js';
|
|
5
5
|
import { FuelConsumptionMonthly } from '../../gps/reports/gps_models/FuelConsumptionMonthly.js';
|
|
6
6
|
import '../../../zod_utils/zod_base_schema.js';
|
|
7
7
|
import '../../master/main/master_main_sim_provider_service.js';
|
|
@@ -59,23 +59,23 @@ declare const FleetFuelDailySummarySchema: z.ZodObject<{
|
|
|
59
59
|
liters_per_100km: z.ZodEffects<z.ZodDefault<z.ZodNumber>, number, unknown>;
|
|
60
60
|
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
61
61
|
}, "strip", z.ZodTypeAny, {
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
organisation_id: string;
|
|
65
|
-
user_id: string;
|
|
66
|
-
vehicle_id: string;
|
|
67
|
-
driver_id: string;
|
|
68
|
-
device_id: string;
|
|
62
|
+
start_fuel_liters: number;
|
|
63
|
+
end_fuel_liters: number;
|
|
69
64
|
total_km: number;
|
|
70
65
|
consumed_fuel_liters: number;
|
|
71
66
|
refills_count: number;
|
|
72
|
-
start_fuel_liters: number;
|
|
73
|
-
end_fuel_liters: number;
|
|
74
67
|
refill_liters: number;
|
|
75
68
|
removals_count: number;
|
|
76
69
|
removal_liters: number;
|
|
77
70
|
mileage_kmpl: number;
|
|
78
71
|
liters_per_100km: number;
|
|
72
|
+
date: string;
|
|
73
|
+
status: Status;
|
|
74
|
+
organisation_id: string;
|
|
75
|
+
user_id: string;
|
|
76
|
+
vehicle_id: string;
|
|
77
|
+
driver_id: string;
|
|
78
|
+
device_id: string;
|
|
79
79
|
}, {
|
|
80
80
|
date: string;
|
|
81
81
|
status: Status;
|
|
@@ -84,11 +84,11 @@ declare const FleetFuelDailySummarySchema: z.ZodObject<{
|
|
|
84
84
|
vehicle_id: string;
|
|
85
85
|
driver_id: string;
|
|
86
86
|
device_id: string;
|
|
87
|
+
start_fuel_liters?: unknown;
|
|
88
|
+
end_fuel_liters?: unknown;
|
|
87
89
|
total_km?: unknown;
|
|
88
90
|
consumed_fuel_liters?: unknown;
|
|
89
91
|
refills_count?: unknown;
|
|
90
|
-
start_fuel_liters?: unknown;
|
|
91
|
-
end_fuel_liters?: unknown;
|
|
92
92
|
refill_liters?: unknown;
|
|
93
93
|
removals_count?: unknown;
|
|
94
94
|
removal_liters?: unknown;
|
|
@@ -139,7 +139,6 @@ declare const FleetFuelDailySummaryQuerySchema: z.ZodObject<{
|
|
|
139
139
|
to_date: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
140
140
|
}, "strip", z.ZodTypeAny, {
|
|
141
141
|
status: Status[];
|
|
142
|
-
time_zone_id: string;
|
|
143
142
|
search: string;
|
|
144
143
|
paging: PAGING;
|
|
145
144
|
page_count: number;
|
|
@@ -159,19 +158,20 @@ declare const FleetFuelDailySummaryQuerySchema: z.ZodObject<{
|
|
|
159
158
|
}[];
|
|
160
159
|
include_master_data: YesNo;
|
|
161
160
|
date_format_id: string;
|
|
161
|
+
time_zone_id: string;
|
|
162
|
+
fleet_fuel_daily_summary_ids: string[];
|
|
162
163
|
organisation_ids: string[];
|
|
163
164
|
user_ids: string[];
|
|
164
165
|
vehicle_ids: string[];
|
|
165
166
|
driver_ids: string[];
|
|
166
167
|
device_ids: string[];
|
|
167
|
-
from_date: string;
|
|
168
|
-
to_date: string;
|
|
169
|
-
fleet_fuel_daily_summary_ids: string[];
|
|
170
168
|
vehicle_summary: YesNo;
|
|
171
169
|
day_summary: YesNo;
|
|
170
|
+
from_date: string;
|
|
171
|
+
to_date: string;
|
|
172
172
|
}, {
|
|
173
|
-
time_zone_id: string;
|
|
174
173
|
date_format_id: string;
|
|
174
|
+
time_zone_id: string;
|
|
175
175
|
from_date: string;
|
|
176
176
|
to_date: string;
|
|
177
177
|
status?: Status[] | undefined;
|
|
@@ -193,12 +193,12 @@ declare const FleetFuelDailySummaryQuerySchema: z.ZodObject<{
|
|
|
193
193
|
direction: OrderBy;
|
|
194
194
|
}[] | undefined;
|
|
195
195
|
include_master_data?: YesNo | undefined;
|
|
196
|
+
fleet_fuel_daily_summary_ids?: string[] | undefined;
|
|
196
197
|
organisation_ids?: string[] | undefined;
|
|
197
198
|
user_ids?: string[] | undefined;
|
|
198
199
|
vehicle_ids?: string[] | undefined;
|
|
199
200
|
driver_ids?: string[] | undefined;
|
|
200
201
|
device_ids?: string[] | undefined;
|
|
201
|
-
fleet_fuel_daily_summary_ids?: string[] | undefined;
|
|
202
202
|
vehicle_summary?: YesNo | undefined;
|
|
203
203
|
day_summary?: YesNo | undefined;
|
|
204
204
|
}>;
|
|
@@ -240,7 +240,6 @@ declare const FleetFuelDailyMonthlySummaryQuerySchema: z.ZodObject<{
|
|
|
240
240
|
to_date: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
241
241
|
}, "strip", z.ZodTypeAny, {
|
|
242
242
|
status: Status[];
|
|
243
|
-
time_zone_id: string;
|
|
244
243
|
search: string;
|
|
245
244
|
paging: PAGING;
|
|
246
245
|
page_count: number;
|
|
@@ -260,13 +259,14 @@ declare const FleetFuelDailyMonthlySummaryQuerySchema: z.ZodObject<{
|
|
|
260
259
|
}[];
|
|
261
260
|
include_master_data: YesNo;
|
|
262
261
|
date_format_id: string;
|
|
262
|
+
time_zone_id: string;
|
|
263
263
|
organisation_ids: string[];
|
|
264
264
|
vehicle_ids: string[];
|
|
265
265
|
from_date: string;
|
|
266
266
|
to_date: string;
|
|
267
267
|
}, {
|
|
268
|
-
time_zone_id: string;
|
|
269
268
|
date_format_id: string;
|
|
269
|
+
time_zone_id: string;
|
|
270
270
|
from_date: string;
|
|
271
271
|
to_date: string;
|
|
272
272
|
status?: Status[] | undefined;
|
|
@@ -2,7 +2,7 @@ import { GPSFuelApproveStatus, RefillEntrySource, RefillMethod, PaymentMode, Pay
|
|
|
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 { d as MasterMainLandmark, U as UserOrganisation, a as User, M as MasterVehicle, b as MasterDriver, c as MasterDevice, F as FleetVendor, e as FleetVendorFuelStation, f as MasterVehicleFuelType, g as MasterVehicleFuelUnit } from '../../../user_organisation_service-5X-6GA_y.js';
|
|
6
6
|
import '../../master/main/master_main_sim_provider_service.js';
|
|
7
7
|
|
|
8
8
|
interface FleetFuelRefill extends Record<string, unknown> {
|
|
@@ -103,7 +103,6 @@ declare const FleetFuelRefillFileSchema: z.ZodObject<{
|
|
|
103
103
|
organisation_id: z.ZodEffects<z.ZodString, string, string>;
|
|
104
104
|
fleet_fuel_refill_id: z.ZodEffects<z.ZodString, string, string>;
|
|
105
105
|
}, "strip", z.ZodTypeAny, {
|
|
106
|
-
fleet_fuel_refill_id: string;
|
|
107
106
|
status: Status;
|
|
108
107
|
organisation_id: string;
|
|
109
108
|
usage_type: string;
|
|
@@ -114,12 +113,13 @@ declare const FleetFuelRefillFileSchema: z.ZodObject<{
|
|
|
114
113
|
file_description: string;
|
|
115
114
|
file_size: number;
|
|
116
115
|
file_metadata: Record<string, any>;
|
|
117
|
-
}, {
|
|
118
116
|
fleet_fuel_refill_id: string;
|
|
117
|
+
}, {
|
|
119
118
|
status: Status;
|
|
120
119
|
organisation_id: string;
|
|
121
120
|
usage_type: string;
|
|
122
121
|
file_type: FileType;
|
|
122
|
+
fleet_fuel_refill_id: string;
|
|
123
123
|
file_url?: string | undefined;
|
|
124
124
|
file_key?: string | undefined;
|
|
125
125
|
file_name?: string | undefined;
|
|
@@ -183,7 +183,6 @@ declare const FleetFuelRefillSchema: z.ZodObject<{
|
|
|
183
183
|
organisation_id: z.ZodEffects<z.ZodString, string, string>;
|
|
184
184
|
fleet_fuel_refill_id: z.ZodEffects<z.ZodString, string, string>;
|
|
185
185
|
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
186
|
-
fleet_fuel_refill_id: string;
|
|
187
186
|
status: Status;
|
|
188
187
|
organisation_id: string;
|
|
189
188
|
usage_type: string;
|
|
@@ -194,12 +193,13 @@ declare const FleetFuelRefillSchema: z.ZodObject<{
|
|
|
194
193
|
file_description: string;
|
|
195
194
|
file_size: number;
|
|
196
195
|
file_metadata: Record<string, any>;
|
|
197
|
-
}, {
|
|
198
196
|
fleet_fuel_refill_id: string;
|
|
197
|
+
}, {
|
|
199
198
|
status: Status;
|
|
200
199
|
organisation_id: string;
|
|
201
200
|
usage_type: string;
|
|
202
201
|
file_type: FileType;
|
|
202
|
+
fleet_fuel_refill_id: string;
|
|
203
203
|
file_url?: string | undefined;
|
|
204
204
|
file_key?: string | undefined;
|
|
205
205
|
file_name?: string | undefined;
|
|
@@ -208,6 +208,19 @@ declare const FleetFuelRefillSchema: z.ZodObject<{
|
|
|
208
208
|
file_metadata?: Record<string, any> | undefined;
|
|
209
209
|
}>, "many">>>;
|
|
210
210
|
}, "strip", z.ZodTypeAny, {
|
|
211
|
+
status: Status;
|
|
212
|
+
organisation_id: string;
|
|
213
|
+
user_id: string;
|
|
214
|
+
vehicle_id: string;
|
|
215
|
+
driver_id: string;
|
|
216
|
+
device_id: string;
|
|
217
|
+
time_zone_id: string;
|
|
218
|
+
vehicle_fuel_type_id: string;
|
|
219
|
+
vehicle_fuel_unit_id: string;
|
|
220
|
+
google_location: string;
|
|
221
|
+
vendor_id: string;
|
|
222
|
+
fuel_station_id: string;
|
|
223
|
+
odometer_reading: number;
|
|
211
224
|
date_time: string;
|
|
212
225
|
admin_verify_status: GPSFuelApproveStatus;
|
|
213
226
|
transporter_verify_status: GPSFuelApproveStatus;
|
|
@@ -223,23 +236,10 @@ declare const FleetFuelRefillSchema: z.ZodObject<{
|
|
|
223
236
|
payment_reference_number: string;
|
|
224
237
|
fuel_card_number: string;
|
|
225
238
|
payment_notes: string;
|
|
226
|
-
google_location: string;
|
|
227
|
-
odometer_reading: number;
|
|
228
239
|
tank_size: number;
|
|
229
240
|
is_full_tank: YesNo;
|
|
230
241
|
is_previous_entries_missed: YesNo;
|
|
231
|
-
status: Status;
|
|
232
|
-
organisation_id: string;
|
|
233
|
-
user_id: string;
|
|
234
|
-
vehicle_id: string;
|
|
235
|
-
driver_id: string;
|
|
236
|
-
device_id: string;
|
|
237
|
-
vendor_id: string;
|
|
238
|
-
fuel_station_id: string;
|
|
239
|
-
vehicle_fuel_type_id: string;
|
|
240
|
-
vehicle_fuel_unit_id: string;
|
|
241
242
|
FleetFuelRefillFile: {
|
|
242
|
-
fleet_fuel_refill_id: string;
|
|
243
243
|
status: Status;
|
|
244
244
|
organisation_id: string;
|
|
245
245
|
usage_type: string;
|
|
@@ -250,8 +250,10 @@ declare const FleetFuelRefillSchema: z.ZodObject<{
|
|
|
250
250
|
file_description: string;
|
|
251
251
|
file_size: number;
|
|
252
252
|
file_metadata: Record<string, any>;
|
|
253
|
+
fleet_fuel_refill_id: string;
|
|
253
254
|
}[];
|
|
254
|
-
|
|
255
|
+
latitude?: number | undefined;
|
|
256
|
+
longitude?: number | undefined;
|
|
255
257
|
before_refill_quantity?: number | undefined;
|
|
256
258
|
after_refill_quantity?: number | undefined;
|
|
257
259
|
refill_quantity?: number | undefined;
|
|
@@ -259,27 +261,29 @@ declare const FleetFuelRefillSchema: z.ZodObject<{
|
|
|
259
261
|
diff_refill_quantity?: number | undefined;
|
|
260
262
|
cost_per_unit?: number | undefined;
|
|
261
263
|
total_cost?: number | undefined;
|
|
262
|
-
latitude?: number | undefined;
|
|
263
|
-
longitude?: number | undefined;
|
|
264
264
|
}, {
|
|
265
|
-
date_time: string;
|
|
266
|
-
admin_verify_status: GPSFuelApproveStatus;
|
|
267
|
-
transporter_verify_status: GPSFuelApproveStatus;
|
|
268
|
-
payment_mode: PaymentMode;
|
|
269
|
-
payment_status: PaymentStatus;
|
|
270
|
-
is_full_tank: YesNo;
|
|
271
|
-
is_previous_entries_missed: YesNo;
|
|
272
265
|
status: Status;
|
|
273
266
|
organisation_id: string;
|
|
274
267
|
user_id: string;
|
|
275
268
|
vehicle_id: string;
|
|
276
269
|
driver_id: string;
|
|
277
270
|
device_id: string;
|
|
278
|
-
|
|
279
|
-
fuel_station_id: string;
|
|
271
|
+
time_zone_id: string;
|
|
280
272
|
vehicle_fuel_type_id: string;
|
|
281
273
|
vehicle_fuel_unit_id: string;
|
|
282
|
-
|
|
274
|
+
vendor_id: string;
|
|
275
|
+
fuel_station_id: string;
|
|
276
|
+
date_time: string;
|
|
277
|
+
admin_verify_status: GPSFuelApproveStatus;
|
|
278
|
+
transporter_verify_status: GPSFuelApproveStatus;
|
|
279
|
+
payment_mode: PaymentMode;
|
|
280
|
+
payment_status: PaymentStatus;
|
|
281
|
+
is_full_tank: YesNo;
|
|
282
|
+
is_previous_entries_missed: YesNo;
|
|
283
|
+
latitude?: unknown;
|
|
284
|
+
longitude?: unknown;
|
|
285
|
+
google_location?: string | undefined;
|
|
286
|
+
odometer_reading?: unknown;
|
|
283
287
|
before_refill_quantity?: unknown;
|
|
284
288
|
after_refill_quantity?: unknown;
|
|
285
289
|
refill_quantity?: unknown;
|
|
@@ -297,17 +301,13 @@ declare const FleetFuelRefillSchema: z.ZodObject<{
|
|
|
297
301
|
payment_reference_number?: string | undefined;
|
|
298
302
|
fuel_card_number?: string | undefined;
|
|
299
303
|
payment_notes?: string | undefined;
|
|
300
|
-
latitude?: unknown;
|
|
301
|
-
longitude?: unknown;
|
|
302
|
-
google_location?: string | undefined;
|
|
303
|
-
odometer_reading?: unknown;
|
|
304
304
|
tank_size?: unknown;
|
|
305
305
|
FleetFuelRefillFile?: {
|
|
306
|
-
fleet_fuel_refill_id: string;
|
|
307
306
|
status: Status;
|
|
308
307
|
organisation_id: string;
|
|
309
308
|
usage_type: string;
|
|
310
309
|
file_type: FileType;
|
|
310
|
+
fleet_fuel_refill_id: string;
|
|
311
311
|
file_url?: string | undefined;
|
|
312
312
|
file_key?: string | undefined;
|
|
313
313
|
file_name?: string | undefined;
|
|
@@ -369,16 +369,7 @@ declare const FleetFuelRefillQuerySchema: z.ZodObject<{
|
|
|
369
369
|
from_date: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
370
370
|
to_date: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
371
371
|
}, "strip", z.ZodTypeAny, {
|
|
372
|
-
admin_verify_status: GPSFuelApproveStatus[];
|
|
373
|
-
transporter_verify_status: GPSFuelApproveStatus[];
|
|
374
|
-
entry_source: RefillEntrySource[];
|
|
375
|
-
refill_method: RefillMethod[];
|
|
376
|
-
payment_mode: PaymentMode[];
|
|
377
|
-
payment_status: PaymentStatus[];
|
|
378
|
-
is_full_tank: YesNo[];
|
|
379
|
-
is_previous_entries_missed: YesNo[];
|
|
380
372
|
status: Status[];
|
|
381
|
-
time_zone_id: string;
|
|
382
373
|
search: string;
|
|
383
374
|
paging: PAGING;
|
|
384
375
|
page_count: number;
|
|
@@ -398,31 +389,32 @@ declare const FleetFuelRefillQuerySchema: z.ZodObject<{
|
|
|
398
389
|
}[];
|
|
399
390
|
include_master_data: YesNo;
|
|
400
391
|
date_format_id: string;
|
|
401
|
-
|
|
392
|
+
time_zone_id: string;
|
|
402
393
|
organisation_ids: string[];
|
|
403
394
|
user_ids: string[];
|
|
404
395
|
vehicle_ids: string[];
|
|
405
396
|
driver_ids: string[];
|
|
406
397
|
device_ids: string[];
|
|
398
|
+
from_date: string;
|
|
399
|
+
to_date: string;
|
|
407
400
|
vendor_ids: string[];
|
|
408
401
|
fuel_station_ids: string[];
|
|
409
402
|
vehicle_fuel_type_ids: string[];
|
|
410
403
|
vehicle_fuel_unit_ids: string[];
|
|
411
|
-
|
|
412
|
-
|
|
404
|
+
admin_verify_status: GPSFuelApproveStatus[];
|
|
405
|
+
transporter_verify_status: GPSFuelApproveStatus[];
|
|
406
|
+
entry_source: RefillEntrySource[];
|
|
407
|
+
refill_method: RefillMethod[];
|
|
408
|
+
payment_mode: PaymentMode[];
|
|
409
|
+
payment_status: PaymentStatus[];
|
|
410
|
+
is_full_tank: YesNo[];
|
|
411
|
+
is_previous_entries_missed: YesNo[];
|
|
412
|
+
fleet_fuel_refill_ids: string[];
|
|
413
413
|
}, {
|
|
414
|
-
time_zone_id: string;
|
|
415
414
|
date_format_id: string;
|
|
415
|
+
time_zone_id: string;
|
|
416
416
|
from_date: string;
|
|
417
417
|
to_date: string;
|
|
418
|
-
admin_verify_status?: GPSFuelApproveStatus[] | undefined;
|
|
419
|
-
transporter_verify_status?: GPSFuelApproveStatus[] | undefined;
|
|
420
|
-
entry_source?: RefillEntrySource[] | undefined;
|
|
421
|
-
refill_method?: RefillMethod[] | undefined;
|
|
422
|
-
payment_mode?: PaymentMode[] | undefined;
|
|
423
|
-
payment_status?: PaymentStatus[] | undefined;
|
|
424
|
-
is_full_tank?: YesNo[] | undefined;
|
|
425
|
-
is_previous_entries_missed?: YesNo[] | undefined;
|
|
426
418
|
status?: Status[] | undefined;
|
|
427
419
|
search?: string | undefined;
|
|
428
420
|
paging?: PAGING | undefined;
|
|
@@ -442,7 +434,6 @@ declare const FleetFuelRefillQuerySchema: z.ZodObject<{
|
|
|
442
434
|
direction: OrderBy;
|
|
443
435
|
}[] | undefined;
|
|
444
436
|
include_master_data?: YesNo | undefined;
|
|
445
|
-
fleet_fuel_refill_ids?: string[] | undefined;
|
|
446
437
|
organisation_ids?: string[] | undefined;
|
|
447
438
|
user_ids?: string[] | undefined;
|
|
448
439
|
vehicle_ids?: string[] | undefined;
|
|
@@ -452,6 +443,15 @@ declare const FleetFuelRefillQuerySchema: z.ZodObject<{
|
|
|
452
443
|
fuel_station_ids?: string[] | undefined;
|
|
453
444
|
vehicle_fuel_type_ids?: string[] | undefined;
|
|
454
445
|
vehicle_fuel_unit_ids?: string[] | undefined;
|
|
446
|
+
admin_verify_status?: GPSFuelApproveStatus[] | undefined;
|
|
447
|
+
transporter_verify_status?: GPSFuelApproveStatus[] | undefined;
|
|
448
|
+
entry_source?: RefillEntrySource[] | undefined;
|
|
449
|
+
refill_method?: RefillMethod[] | undefined;
|
|
450
|
+
payment_mode?: PaymentMode[] | undefined;
|
|
451
|
+
payment_status?: PaymentStatus[] | undefined;
|
|
452
|
+
is_full_tank?: YesNo[] | undefined;
|
|
453
|
+
is_previous_entries_missed?: YesNo[] | undefined;
|
|
454
|
+
fleet_fuel_refill_ids?: string[] | undefined;
|
|
455
455
|
}>;
|
|
456
456
|
type FleetFuelRefillQueryDTO = z.infer<typeof FleetFuelRefillQuerySchema>;
|
|
457
457
|
declare const toFleetFuelRefillPayload: (row: FleetFuelRefill) => FleetFuelRefillDTO;
|