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
|
@@ -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-DFQbMQ0s.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,6 +304,7 @@ 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[];
|
|
307
308
|
class_ids: string[];
|
|
308
309
|
program_ids: string[];
|
|
309
310
|
section_ids: string[];
|
|
@@ -312,7 +313,6 @@ declare const StudentQuerySchema: z.ZodObject<{
|
|
|
312
313
|
year_ids: string[];
|
|
313
314
|
enrollment_status: EnrollmentStatus[];
|
|
314
315
|
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,6 +343,7 @@ 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;
|
|
346
347
|
class_ids?: string[] | undefined;
|
|
347
348
|
program_ids?: string[] | undefined;
|
|
348
349
|
section_ids?: string[] | undefined;
|
|
@@ -351,7 +352,6 @@ declare const StudentQuerySchema: z.ZodObject<{
|
|
|
351
352
|
year_ids?: string[] | undefined;
|
|
352
353
|
enrollment_status?: EnrollmentStatus[] | undefined;
|
|
353
354
|
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,10 +464,10 @@ 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
|
-
notes: string;
|
|
468
467
|
status: Status;
|
|
469
468
|
organisation_id: string;
|
|
470
469
|
organisation_branch_id: string;
|
|
470
|
+
student_id: string;
|
|
471
471
|
country_code: string;
|
|
472
472
|
google_location: string;
|
|
473
473
|
address_line1: string;
|
|
@@ -480,17 +480,16 @@ declare const StudentAddressSchema: z.ZodObject<{
|
|
|
480
480
|
postal_code: string;
|
|
481
481
|
country: string;
|
|
482
482
|
is_default: YesNo;
|
|
483
|
-
|
|
483
|
+
notes: string;
|
|
484
484
|
latitude?: number | undefined;
|
|
485
485
|
longitude?: number | undefined;
|
|
486
486
|
}, {
|
|
487
487
|
status: Status;
|
|
488
488
|
organisation_id: string;
|
|
489
489
|
organisation_branch_id: string;
|
|
490
|
+
student_id: string;
|
|
490
491
|
address_line1: string;
|
|
491
492
|
is_default: YesNo;
|
|
492
|
-
student_id: string;
|
|
493
|
-
notes?: string | undefined;
|
|
494
493
|
country_code?: string | undefined;
|
|
495
494
|
latitude?: unknown;
|
|
496
495
|
longitude?: unknown;
|
|
@@ -503,6 +502,7 @@ declare const StudentAddressSchema: z.ZodObject<{
|
|
|
503
502
|
state_province_region?: string | undefined;
|
|
504
503
|
postal_code?: string | undefined;
|
|
505
504
|
country?: string | undefined;
|
|
505
|
+
notes?: string | undefined;
|
|
506
506
|
}>;
|
|
507
507
|
type StudentAddressDTO = z.infer<typeof StudentAddressSchema>;
|
|
508
508
|
declare const StudentAddressBusStopAssignSchema: z.ZodObject<{
|
|
@@ -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[];
|
|
577
578
|
is_default: YesNo[];
|
|
578
579
|
bus_stop_ids: string[];
|
|
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;
|
|
605
606
|
is_default?: YesNo[] | undefined;
|
|
606
607
|
bus_stop_ids?: string[] | undefined;
|
|
607
|
-
student_ids?: string[] | undefined;
|
|
608
608
|
student_address_ids?: string[] | undefined;
|
|
609
609
|
}>;
|
|
610
610
|
type StudentAddressQueryDTO = z.infer<typeof StudentAddressQuerySchema>;
|
|
@@ -624,16 +624,16 @@ declare const StudentGuardianLinkSchema: z.ZodObject<{
|
|
|
624
624
|
alternative_mobile: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
|
|
625
625
|
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
626
626
|
}, "strip", z.ZodTypeAny, {
|
|
627
|
-
notes: string;
|
|
628
627
|
status: Status;
|
|
629
628
|
organisation_id: string;
|
|
630
629
|
organisation_branch_id: string;
|
|
630
|
+
student_id: string;
|
|
631
631
|
email: string;
|
|
632
632
|
mobile: string;
|
|
633
|
+
notes: string;
|
|
633
634
|
is_primary: YesNo;
|
|
634
635
|
alternative_mobile: string;
|
|
635
636
|
relationship_id: string;
|
|
636
|
-
student_id: string;
|
|
637
637
|
photo_url: string;
|
|
638
638
|
photo_key: string;
|
|
639
639
|
photo_name: string;
|
|
@@ -642,13 +642,13 @@ declare const StudentGuardianLinkSchema: z.ZodObject<{
|
|
|
642
642
|
status: Status;
|
|
643
643
|
organisation_id: string;
|
|
644
644
|
organisation_branch_id: string;
|
|
645
|
+
student_id: string;
|
|
645
646
|
mobile: string;
|
|
646
647
|
is_primary: YesNo;
|
|
647
648
|
relationship_id: string;
|
|
648
|
-
student_id: string;
|
|
649
649
|
full_name: string;
|
|
650
|
-
notes?: string | undefined;
|
|
651
650
|
email?: string | undefined;
|
|
651
|
+
notes?: string | undefined;
|
|
652
652
|
alternative_mobile?: string | undefined;
|
|
653
653
|
photo_url?: string | undefined;
|
|
654
654
|
photo_key?: 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
|
-
approval_status: ApprovalStatus[];
|
|
976
975
|
student_ids: string[];
|
|
976
|
+
approval_status: ApprovalStatus[];
|
|
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
|
-
approval_status?: ApprovalStatus[] | undefined;
|
|
1003
1002
|
student_ids?: string[] | undefined;
|
|
1003
|
+
approval_status?: ApprovalStatus[] | 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
|
-
approval_status: ApprovalStatus[];
|
|
1118
1117
|
student_ids: string[];
|
|
1118
|
+
approval_status: ApprovalStatus[];
|
|
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
|
-
approval_status?: ApprovalStatus[] | undefined;
|
|
1146
1145
|
student_ids?: string[] | undefined;
|
|
1146
|
+
approval_status?: ApprovalStatus[] | 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, d as MasterDevice } from '../../../user_organisation_service-DFQbMQ0s.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
|
-
|
|
62
|
+
date: string;
|
|
63
|
+
status: Status;
|
|
64
|
+
organisation_id: string;
|
|
65
|
+
user_id: string;
|
|
66
|
+
vehicle_id: string;
|
|
67
|
+
driver_id: string;
|
|
68
|
+
device_id: string;
|
|
64
69
|
total_km: number;
|
|
65
70
|
consumed_fuel_liters: number;
|
|
66
71
|
refills_count: number;
|
|
72
|
+
start_fuel_liters: number;
|
|
73
|
+
end_fuel_liters: number;
|
|
67
74
|
refill_liters: number;
|
|
68
75
|
removals_count: number;
|
|
69
76
|
removal_liters: number;
|
|
70
77
|
mileage_kmpl: number;
|
|
71
78
|
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;
|
|
89
87
|
total_km?: unknown;
|
|
90
88
|
consumed_fuel_liters?: unknown;
|
|
91
89
|
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,6 +139,7 @@ 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;
|
|
142
143
|
search: string;
|
|
143
144
|
paging: PAGING;
|
|
144
145
|
page_count: number;
|
|
@@ -158,20 +159,19 @@ declare const FleetFuelDailySummaryQuerySchema: z.ZodObject<{
|
|
|
158
159
|
}[];
|
|
159
160
|
include_master_data: YesNo;
|
|
160
161
|
date_format_id: string;
|
|
161
|
-
time_zone_id: string;
|
|
162
|
-
fleet_fuel_daily_summary_ids: string[];
|
|
163
162
|
organisation_ids: string[];
|
|
164
163
|
user_ids: string[];
|
|
165
164
|
vehicle_ids: string[];
|
|
166
165
|
driver_ids: string[];
|
|
167
166
|
device_ids: string[];
|
|
168
|
-
vehicle_summary: YesNo;
|
|
169
|
-
day_summary: YesNo;
|
|
170
167
|
from_date: string;
|
|
171
168
|
to_date: string;
|
|
169
|
+
fleet_fuel_daily_summary_ids: string[];
|
|
170
|
+
vehicle_summary: YesNo;
|
|
171
|
+
day_summary: YesNo;
|
|
172
172
|
}, {
|
|
173
|
-
date_format_id: string;
|
|
174
173
|
time_zone_id: string;
|
|
174
|
+
date_format_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;
|
|
197
196
|
organisation_ids?: string[] | undefined;
|
|
198
197
|
user_ids?: string[] | undefined;
|
|
199
198
|
vehicle_ids?: string[] | undefined;
|
|
200
199
|
driver_ids?: string[] | undefined;
|
|
201
200
|
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,6 +240,7 @@ 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;
|
|
243
244
|
search: string;
|
|
244
245
|
paging: PAGING;
|
|
245
246
|
page_count: number;
|
|
@@ -259,14 +260,13 @@ declare const FleetFuelDailyMonthlySummaryQuerySchema: z.ZodObject<{
|
|
|
259
260
|
}[];
|
|
260
261
|
include_master_data: YesNo;
|
|
261
262
|
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
|
-
date_format_id: string;
|
|
269
268
|
time_zone_id: string;
|
|
269
|
+
date_format_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 { e as MasterMainLandmark, U as UserOrganisation, a as User, M as MasterVehicle, b as MasterDriver, d as MasterDevice, F as FleetVendor, f as FleetVendorFuelStation, g as MasterVehicleFuelType, h as MasterVehicleFuelUnit } from '../../../user_organisation_service-DFQbMQ0s.js';
|
|
6
6
|
import '../../master/main/master_main_sim_provider_service.js';
|
|
7
7
|
|
|
8
8
|
interface FleetFuelRefill extends Record<string, unknown> {
|
|
@@ -103,6 +103,7 @@ 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;
|
|
106
107
|
status: Status;
|
|
107
108
|
organisation_id: string;
|
|
108
109
|
usage_type: string;
|
|
@@ -113,13 +114,12 @@ declare const FleetFuelRefillFileSchema: z.ZodObject<{
|
|
|
113
114
|
file_description: string;
|
|
114
115
|
file_size: number;
|
|
115
116
|
file_metadata: Record<string, any>;
|
|
116
|
-
fleet_fuel_refill_id: string;
|
|
117
117
|
}, {
|
|
118
|
+
fleet_fuel_refill_id: string;
|
|
118
119
|
status: Status;
|
|
119
120
|
organisation_id: string;
|
|
120
121
|
usage_type: string;
|
|
121
122
|
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,6 +183,7 @@ 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;
|
|
186
187
|
status: Status;
|
|
187
188
|
organisation_id: string;
|
|
188
189
|
usage_type: string;
|
|
@@ -193,13 +194,12 @@ declare const FleetFuelRefillSchema: z.ZodObject<{
|
|
|
193
194
|
file_description: string;
|
|
194
195
|
file_size: number;
|
|
195
196
|
file_metadata: Record<string, any>;
|
|
196
|
-
fleet_fuel_refill_id: string;
|
|
197
197
|
}, {
|
|
198
|
+
fleet_fuel_refill_id: string;
|
|
198
199
|
status: Status;
|
|
199
200
|
organisation_id: string;
|
|
200
201
|
usage_type: string;
|
|
201
202
|
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,19 +208,6 @@ 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;
|
|
224
211
|
date_time: string;
|
|
225
212
|
admin_verify_status: GPSFuelApproveStatus;
|
|
226
213
|
transporter_verify_status: GPSFuelApproveStatus;
|
|
@@ -236,10 +223,23 @@ declare const FleetFuelRefillSchema: z.ZodObject<{
|
|
|
236
223
|
payment_reference_number: string;
|
|
237
224
|
fuel_card_number: string;
|
|
238
225
|
payment_notes: string;
|
|
226
|
+
google_location: string;
|
|
227
|
+
odometer_reading: number;
|
|
239
228
|
tank_size: number;
|
|
240
229
|
is_full_tank: YesNo;
|
|
241
230
|
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;
|
|
242
241
|
FleetFuelRefillFile: {
|
|
242
|
+
fleet_fuel_refill_id: string;
|
|
243
243
|
status: Status;
|
|
244
244
|
organisation_id: string;
|
|
245
245
|
usage_type: string;
|
|
@@ -250,10 +250,8 @@ 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;
|
|
254
253
|
}[];
|
|
255
|
-
|
|
256
|
-
longitude?: number | undefined;
|
|
254
|
+
time_zone_id: string;
|
|
257
255
|
before_refill_quantity?: number | undefined;
|
|
258
256
|
after_refill_quantity?: number | undefined;
|
|
259
257
|
refill_quantity?: number | undefined;
|
|
@@ -261,29 +259,27 @@ declare const FleetFuelRefillSchema: z.ZodObject<{
|
|
|
261
259
|
diff_refill_quantity?: number | undefined;
|
|
262
260
|
cost_per_unit?: number | undefined;
|
|
263
261
|
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;
|
|
265
272
|
status: Status;
|
|
266
273
|
organisation_id: string;
|
|
267
274
|
user_id: string;
|
|
268
275
|
vehicle_id: string;
|
|
269
276
|
driver_id: string;
|
|
270
277
|
device_id: string;
|
|
271
|
-
time_zone_id: string;
|
|
272
|
-
vehicle_fuel_type_id: string;
|
|
273
|
-
vehicle_fuel_unit_id: string;
|
|
274
278
|
vendor_id: string;
|
|
275
279
|
fuel_station_id: string;
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
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;
|
|
280
|
+
vehicle_fuel_type_id: string;
|
|
281
|
+
vehicle_fuel_unit_id: string;
|
|
282
|
+
time_zone_id: string;
|
|
287
283
|
before_refill_quantity?: unknown;
|
|
288
284
|
after_refill_quantity?: unknown;
|
|
289
285
|
refill_quantity?: unknown;
|
|
@@ -301,13 +297,17 @@ declare const FleetFuelRefillSchema: z.ZodObject<{
|
|
|
301
297
|
payment_reference_number?: string | undefined;
|
|
302
298
|
fuel_card_number?: string | undefined;
|
|
303
299
|
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;
|
|
306
307
|
status: Status;
|
|
307
308
|
organisation_id: string;
|
|
308
309
|
usage_type: string;
|
|
309
310
|
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,7 +369,16 @@ 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[];
|
|
372
380
|
status: Status[];
|
|
381
|
+
time_zone_id: string;
|
|
373
382
|
search: string;
|
|
374
383
|
paging: PAGING;
|
|
375
384
|
page_count: number;
|
|
@@ -389,32 +398,31 @@ declare const FleetFuelRefillQuerySchema: z.ZodObject<{
|
|
|
389
398
|
}[];
|
|
390
399
|
include_master_data: YesNo;
|
|
391
400
|
date_format_id: string;
|
|
392
|
-
|
|
401
|
+
fleet_fuel_refill_ids: string[];
|
|
393
402
|
organisation_ids: string[];
|
|
394
403
|
user_ids: string[];
|
|
395
404
|
vehicle_ids: string[];
|
|
396
405
|
driver_ids: string[];
|
|
397
406
|
device_ids: string[];
|
|
398
|
-
from_date: string;
|
|
399
|
-
to_date: string;
|
|
400
407
|
vendor_ids: string[];
|
|
401
408
|
fuel_station_ids: string[];
|
|
402
409
|
vehicle_fuel_type_ids: string[];
|
|
403
410
|
vehicle_fuel_unit_ids: string[];
|
|
404
|
-
|
|
405
|
-
|
|
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[];
|
|
411
|
+
from_date: string;
|
|
412
|
+
to_date: string;
|
|
413
413
|
}, {
|
|
414
|
-
date_format_id: string;
|
|
415
414
|
time_zone_id: string;
|
|
415
|
+
date_format_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;
|
|
418
426
|
status?: Status[] | undefined;
|
|
419
427
|
search?: string | undefined;
|
|
420
428
|
paging?: PAGING | undefined;
|
|
@@ -434,6 +442,7 @@ declare const FleetFuelRefillQuerySchema: z.ZodObject<{
|
|
|
434
442
|
direction: OrderBy;
|
|
435
443
|
}[] | undefined;
|
|
436
444
|
include_master_data?: YesNo | undefined;
|
|
445
|
+
fleet_fuel_refill_ids?: string[] | undefined;
|
|
437
446
|
organisation_ids?: string[] | undefined;
|
|
438
447
|
user_ids?: string[] | undefined;
|
|
439
448
|
vehicle_ids?: string[] | undefined;
|
|
@@ -443,15 +452,6 @@ declare const FleetFuelRefillQuerySchema: z.ZodObject<{
|
|
|
443
452
|
fuel_station_ids?: string[] | undefined;
|
|
444
453
|
vehicle_fuel_type_ids?: string[] | undefined;
|
|
445
454
|
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;
|