vms-nest-prisma-api-document 230.0.0 → 240.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/core/Enums.d.ts +7 -1
- package/dist/core/Enums.js +8 -0
- package/dist/services/account/bookmark_service.d.ts +1 -1
- package/dist/services/account/notification_preferences.service.d.ts +1 -1
- package/dist/services/account/report_preferences.service.d.ts +1 -1
- package/dist/services/account/ticket_service.d.ts +1 -1
- package/dist/services/fleet/bus_mangement/bus_stop.d.ts +13 -248
- package/dist/services/fleet/bus_mangement/bus_stop.js +9 -7
- package/dist/services/fleet/bus_mangement/calender.d.ts +6 -2
- package/dist/services/fleet/bus_mangement/calender.js +18 -12
- package/dist/services/fleet/bus_mangement/master_route.d.ts +251 -4
- package/dist/services/fleet/bus_mangement/master_route.js +58 -52
- package/dist/services/fleet/bus_mangement/notice_board.d.ts +6 -2
- package/dist/services/fleet/bus_mangement/notice_board.js +17 -11
- package/dist/services/fleet/bus_mangement/student.d.ts +40 -27
- package/dist/services/fleet/bus_mangement/student.js +130 -105
- 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 +71 -71
- package/dist/services/fleet/inspection_management/fleet_inspection_form_service.d.ts +1 -1
- package/dist/services/fleet/inspection_management/fleet_inspection_management_service.d.ts +1 -1
- package/dist/services/fleet/inspection_management/fleet_inspection_schedule_service.d.ts +1 -1
- package/dist/services/fleet/issue_management/issue_management_service.d.ts +48 -48
- package/dist/services/fleet/service_management/fleet_service_management_service.d.ts +33 -33
- package/dist/services/fleet/service_management/fleet_service_schedule_service.d.ts +1 -1
- 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 +1 -1
- package/dist/services/gps/features/geofence/gps_geofence_transaction_summary_service.d.ts +1 -1
- package/dist/services/gps/features/geofence/trip_geofence_to_geofence_service.d.ts +1 -1
- package/dist/services/gps/features/gps_live_track_share_link_service.d.ts +5 -5
- package/dist/services/gps/features/gps_track_history_share_link_service.d.ts +8 -8
- 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 +1 -1
- 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/main/vehicle/master_vehicle_service.js +13 -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 +3 -3
- 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 +2 -2
- package/dist/services/master/fleet/master_fleet_incident_status_service.d.ts +2 -2
- package/dist/services/master/fleet/master_fleet_incident_type_service.d.ts +2 -2
- package/dist/services/master/fleet/master_fleet_insurance_claim_status_service.d.ts +2 -2
- package/dist/services/master/fleet/master_fleet_service_task_service.d.ts +3 -3
- 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 +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/services/website/contact_us_detail_service.d.ts +1 -1
- package/dist/services/website/static_pages_service.d.ts +1 -1
- package/dist/{user_organisation_service-KwfWBPXf.d.ts → user_organisation_service-BZaeiu6L.d.ts} +4 -1
- package/package.json +1 -1
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { BusLeg, Status, YesNo, PAGING, LoadParents, LoadChild, LoadChildCount, OrderBy, BusStopType, GeofenceType } 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, M as MasterVehicle, b as MasterDriver } from '../../../user_organisation_service-
|
|
5
|
-
import { BusStop } from './bus_stop.js';
|
|
4
|
+
import { U as UserOrganisation, O as OrganisationBranch, M as MasterVehicle, b as MasterDriver } from '../../../user_organisation_service-BZaeiu6L.js';
|
|
6
5
|
import { Student } from './student.js';
|
|
7
6
|
import '../../../zod_utils/zod_base_schema.js';
|
|
8
7
|
import '../../master/main/master_main_sim_provider_service.js';
|
|
@@ -264,10 +263,12 @@ declare const MasterFixedScheduleSchema: z.ZodObject<{
|
|
|
264
263
|
friday: z.ZodType<YesNo, z.ZodTypeDef, YesNo>;
|
|
265
264
|
saturday: z.ZodType<YesNo, z.ZodTypeDef, YesNo>;
|
|
266
265
|
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
266
|
+
time_zone_id: z.ZodEffects<z.ZodString, string, string>;
|
|
267
267
|
}, "strip", z.ZodTypeAny, {
|
|
268
268
|
status: Status;
|
|
269
269
|
organisation_id: string;
|
|
270
270
|
organisation_branch_id: string;
|
|
271
|
+
time_zone_id: string;
|
|
271
272
|
driver_id: string;
|
|
272
273
|
vehicle_id: string;
|
|
273
274
|
route_id: string;
|
|
@@ -293,6 +294,7 @@ declare const MasterFixedScheduleSchema: z.ZodObject<{
|
|
|
293
294
|
status: Status;
|
|
294
295
|
organisation_id: string;
|
|
295
296
|
organisation_branch_id: string;
|
|
297
|
+
time_zone_id: string;
|
|
296
298
|
driver_id: string;
|
|
297
299
|
vehicle_id: string;
|
|
298
300
|
route_id: string;
|
|
@@ -798,4 +800,249 @@ declare const assignMasterRouteStudentScheduleToStudentDrop: (data: MasterRouteS
|
|
|
798
800
|
declare const removeMasterRouteStudentScheduleToStudentPickup: (data: MasterRouteStudentScheduleAssignRemoveDTO) => Promise<SBR>;
|
|
799
801
|
declare const removeMasterRouteStudentScheduleToStudentDrop: (data: MasterRouteStudentScheduleAssignRemoveDTO) => Promise<SBR>;
|
|
800
802
|
|
|
801
|
-
|
|
803
|
+
interface BusStopPolygonData {
|
|
804
|
+
latitude: number;
|
|
805
|
+
longitude: number;
|
|
806
|
+
}
|
|
807
|
+
interface BusStop extends Record<string, unknown> {
|
|
808
|
+
bus_stop_id: string;
|
|
809
|
+
stop_name: string;
|
|
810
|
+
stop_code?: string;
|
|
811
|
+
stop_type: BusStopType;
|
|
812
|
+
stop_description?: string;
|
|
813
|
+
stop_duration_seconds?: number;
|
|
814
|
+
address_line1?: string;
|
|
815
|
+
address_line2?: string;
|
|
816
|
+
locality_landmark?: string;
|
|
817
|
+
neighborhood?: string;
|
|
818
|
+
town_city?: string;
|
|
819
|
+
district_county?: string;
|
|
820
|
+
state_province_region?: string;
|
|
821
|
+
postal_code?: string;
|
|
822
|
+
country?: string;
|
|
823
|
+
country_code?: string;
|
|
824
|
+
google_location?: string;
|
|
825
|
+
geofence_type: GeofenceType;
|
|
826
|
+
stop_latitude?: number;
|
|
827
|
+
stop_longitude?: number;
|
|
828
|
+
radius_meters?: number;
|
|
829
|
+
radius_km?: number;
|
|
830
|
+
polygon_data?: BusStopPolygonData[];
|
|
831
|
+
status: Status;
|
|
832
|
+
added_date_time: string;
|
|
833
|
+
modified_date_time: string;
|
|
834
|
+
organisation_id: string;
|
|
835
|
+
UserOrganisation?: UserOrganisation;
|
|
836
|
+
organisation_branch_id?: string;
|
|
837
|
+
OrganisationBranch?: OrganisationBranch;
|
|
838
|
+
MasterRouteStop: MasterRouteStop[];
|
|
839
|
+
_count?: {
|
|
840
|
+
MasterRouteStop: number;
|
|
841
|
+
};
|
|
842
|
+
}
|
|
843
|
+
declare const BusStopPolygonDataSchema: z.ZodObject<{
|
|
844
|
+
latitude: z.ZodEffects<z.ZodDefault<z.ZodNumber>, number, unknown>;
|
|
845
|
+
longitude: z.ZodEffects<z.ZodDefault<z.ZodNumber>, number, unknown>;
|
|
846
|
+
}, "strip", z.ZodTypeAny, {
|
|
847
|
+
latitude: number;
|
|
848
|
+
longitude: number;
|
|
849
|
+
}, {
|
|
850
|
+
latitude?: unknown;
|
|
851
|
+
longitude?: unknown;
|
|
852
|
+
}>;
|
|
853
|
+
type BusStopPolygonDataDTO = z.infer<typeof BusStopPolygonDataSchema>;
|
|
854
|
+
declare const BusStopSchema: z.ZodObject<{
|
|
855
|
+
organisation_id: z.ZodEffects<z.ZodString, string, string>;
|
|
856
|
+
organisation_branch_id: z.ZodEffects<z.ZodString, string, string>;
|
|
857
|
+
stop_name: z.ZodEffects<z.ZodString, string, string>;
|
|
858
|
+
stop_code: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
|
|
859
|
+
stop_type: z.ZodType<BusStopType, z.ZodTypeDef, BusStopType>;
|
|
860
|
+
stop_description: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
|
|
861
|
+
stop_duration_seconds: z.ZodEffects<z.ZodDefault<z.ZodOptional<z.ZodNumber>>, number, unknown>;
|
|
862
|
+
address_line1: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
|
|
863
|
+
address_line2: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
|
|
864
|
+
locality_landmark: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
|
|
865
|
+
neighborhood: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
|
|
866
|
+
town_city: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
|
|
867
|
+
district_county: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
|
|
868
|
+
state_province_region: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
|
|
869
|
+
postal_code: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
|
|
870
|
+
country: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
|
|
871
|
+
country_code: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
|
|
872
|
+
google_location: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
|
|
873
|
+
geofence_type: z.ZodType<GeofenceType, z.ZodTypeDef, GeofenceType>;
|
|
874
|
+
stop_latitude: z.ZodOptional<z.ZodEffects<z.ZodDefault<z.ZodNumber>, number, unknown>>;
|
|
875
|
+
stop_longitude: z.ZodOptional<z.ZodEffects<z.ZodDefault<z.ZodNumber>, number, unknown>>;
|
|
876
|
+
radius_meters: z.ZodOptional<z.ZodEffects<z.ZodDefault<z.ZodNumber>, number, unknown>>;
|
|
877
|
+
radius_km: z.ZodOptional<z.ZodEffects<z.ZodDefault<z.ZodNumber>, number, unknown>>;
|
|
878
|
+
polygon_data: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
879
|
+
latitude: z.ZodEffects<z.ZodDefault<z.ZodNumber>, number, unknown>;
|
|
880
|
+
longitude: z.ZodEffects<z.ZodDefault<z.ZodNumber>, number, unknown>;
|
|
881
|
+
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
882
|
+
latitude: number;
|
|
883
|
+
longitude: number;
|
|
884
|
+
}, {
|
|
885
|
+
latitude?: unknown;
|
|
886
|
+
longitude?: unknown;
|
|
887
|
+
}>, "many">>>;
|
|
888
|
+
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
889
|
+
}, "strip", z.ZodTypeAny, {
|
|
890
|
+
stop_name: string;
|
|
891
|
+
stop_code: string;
|
|
892
|
+
stop_type: BusStopType;
|
|
893
|
+
stop_description: string;
|
|
894
|
+
stop_duration_seconds: number;
|
|
895
|
+
address_line1: string;
|
|
896
|
+
address_line2: string;
|
|
897
|
+
locality_landmark: string;
|
|
898
|
+
neighborhood: string;
|
|
899
|
+
town_city: string;
|
|
900
|
+
district_county: string;
|
|
901
|
+
state_province_region: string;
|
|
902
|
+
postal_code: string;
|
|
903
|
+
country: string;
|
|
904
|
+
country_code: string;
|
|
905
|
+
google_location: string;
|
|
906
|
+
geofence_type: GeofenceType;
|
|
907
|
+
polygon_data: {
|
|
908
|
+
latitude: number;
|
|
909
|
+
longitude: number;
|
|
910
|
+
}[];
|
|
911
|
+
status: Status;
|
|
912
|
+
organisation_id: string;
|
|
913
|
+
organisation_branch_id: string;
|
|
914
|
+
stop_latitude?: number | undefined;
|
|
915
|
+
stop_longitude?: number | undefined;
|
|
916
|
+
radius_meters?: number | undefined;
|
|
917
|
+
radius_km?: number | undefined;
|
|
918
|
+
}, {
|
|
919
|
+
stop_name: string;
|
|
920
|
+
stop_type: BusStopType;
|
|
921
|
+
geofence_type: GeofenceType;
|
|
922
|
+
status: Status;
|
|
923
|
+
organisation_id: string;
|
|
924
|
+
organisation_branch_id: string;
|
|
925
|
+
stop_code?: string | undefined;
|
|
926
|
+
stop_description?: string | undefined;
|
|
927
|
+
stop_duration_seconds?: unknown;
|
|
928
|
+
address_line1?: string | undefined;
|
|
929
|
+
address_line2?: string | undefined;
|
|
930
|
+
locality_landmark?: string | undefined;
|
|
931
|
+
neighborhood?: string | undefined;
|
|
932
|
+
town_city?: string | undefined;
|
|
933
|
+
district_county?: string | undefined;
|
|
934
|
+
state_province_region?: string | undefined;
|
|
935
|
+
postal_code?: string | undefined;
|
|
936
|
+
country?: string | undefined;
|
|
937
|
+
country_code?: string | undefined;
|
|
938
|
+
google_location?: string | undefined;
|
|
939
|
+
stop_latitude?: unknown;
|
|
940
|
+
stop_longitude?: unknown;
|
|
941
|
+
radius_meters?: unknown;
|
|
942
|
+
radius_km?: unknown;
|
|
943
|
+
polygon_data?: {
|
|
944
|
+
latitude?: unknown;
|
|
945
|
+
longitude?: unknown;
|
|
946
|
+
}[] | undefined;
|
|
947
|
+
}>;
|
|
948
|
+
type BusStopDTO = z.infer<typeof BusStopSchema>;
|
|
949
|
+
declare const BusStopQuerySchema: z.ZodObject<{
|
|
950
|
+
search: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
|
|
951
|
+
status: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof Status>, "many">>>;
|
|
952
|
+
paging: z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof PAGING>>>;
|
|
953
|
+
page_count: z.ZodEffects<z.ZodDefault<z.ZodOptional<z.ZodNumber>>, number, unknown>;
|
|
954
|
+
page_index: z.ZodEffects<z.ZodDefault<z.ZodOptional<z.ZodNumber>>, number, unknown>;
|
|
955
|
+
load_parents: z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof LoadParents>>>;
|
|
956
|
+
load_parents_list: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
957
|
+
load_child: z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof LoadChild>>>;
|
|
958
|
+
load_child_list: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
959
|
+
load_child_count: z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof LoadChildCount>>>;
|
|
960
|
+
load_child_count_list: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
961
|
+
include_details: z.ZodDefault<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
962
|
+
where_relations: z.ZodDefault<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
963
|
+
order_by: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
964
|
+
name: z.ZodEffects<z.ZodString, string, string>;
|
|
965
|
+
field: z.ZodEffects<z.ZodString, string, string>;
|
|
966
|
+
direction: z.ZodType<OrderBy, z.ZodTypeDef, OrderBy>;
|
|
967
|
+
}, "strip", z.ZodTypeAny, {
|
|
968
|
+
name: string;
|
|
969
|
+
field: string;
|
|
970
|
+
direction: OrderBy;
|
|
971
|
+
}, {
|
|
972
|
+
name: string;
|
|
973
|
+
field: string;
|
|
974
|
+
direction: OrderBy;
|
|
975
|
+
}>, "many">>>;
|
|
976
|
+
include_master_data: z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof YesNo>>>;
|
|
977
|
+
date_format_id: z.ZodEffects<z.ZodString, string, string>;
|
|
978
|
+
time_zone_id: z.ZodEffects<z.ZodString, string, string>;
|
|
979
|
+
} & {
|
|
980
|
+
bus_stop_ids: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
981
|
+
organisation_ids: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
982
|
+
organisation_branch_ids: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
983
|
+
stop_type: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof BusStopType>, "many">>>;
|
|
984
|
+
geofence_type: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof GeofenceType>, "many">>>;
|
|
985
|
+
}, "strip", z.ZodTypeAny, {
|
|
986
|
+
stop_type: BusStopType[];
|
|
987
|
+
geofence_type: GeofenceType[];
|
|
988
|
+
status: Status[];
|
|
989
|
+
search: string;
|
|
990
|
+
paging: PAGING;
|
|
991
|
+
page_count: number;
|
|
992
|
+
page_index: number;
|
|
993
|
+
load_parents: LoadParents;
|
|
994
|
+
load_parents_list: string[];
|
|
995
|
+
load_child: LoadChild;
|
|
996
|
+
load_child_list: string[];
|
|
997
|
+
load_child_count: LoadChildCount;
|
|
998
|
+
load_child_count_list: string[];
|
|
999
|
+
include_details: Record<string, any>;
|
|
1000
|
+
where_relations: Record<string, any>;
|
|
1001
|
+
order_by: {
|
|
1002
|
+
name: string;
|
|
1003
|
+
field: string;
|
|
1004
|
+
direction: OrderBy;
|
|
1005
|
+
}[];
|
|
1006
|
+
include_master_data: YesNo;
|
|
1007
|
+
date_format_id: string;
|
|
1008
|
+
time_zone_id: string;
|
|
1009
|
+
bus_stop_ids: string[];
|
|
1010
|
+
organisation_ids: string[];
|
|
1011
|
+
organisation_branch_ids: string[];
|
|
1012
|
+
}, {
|
|
1013
|
+
date_format_id: string;
|
|
1014
|
+
time_zone_id: string;
|
|
1015
|
+
stop_type?: BusStopType[] | undefined;
|
|
1016
|
+
geofence_type?: GeofenceType[] | undefined;
|
|
1017
|
+
status?: Status[] | undefined;
|
|
1018
|
+
search?: string | undefined;
|
|
1019
|
+
paging?: PAGING | undefined;
|
|
1020
|
+
page_count?: unknown;
|
|
1021
|
+
page_index?: unknown;
|
|
1022
|
+
load_parents?: LoadParents | undefined;
|
|
1023
|
+
load_parents_list?: string[] | undefined;
|
|
1024
|
+
load_child?: LoadChild | undefined;
|
|
1025
|
+
load_child_list?: string[] | undefined;
|
|
1026
|
+
load_child_count?: LoadChildCount | undefined;
|
|
1027
|
+
load_child_count_list?: string[] | undefined;
|
|
1028
|
+
include_details?: Record<string, any> | undefined;
|
|
1029
|
+
where_relations?: Record<string, any> | undefined;
|
|
1030
|
+
order_by?: {
|
|
1031
|
+
name: string;
|
|
1032
|
+
field: string;
|
|
1033
|
+
direction: OrderBy;
|
|
1034
|
+
}[] | undefined;
|
|
1035
|
+
include_master_data?: YesNo | undefined;
|
|
1036
|
+
bus_stop_ids?: string[] | undefined;
|
|
1037
|
+
organisation_ids?: string[] | undefined;
|
|
1038
|
+
organisation_branch_ids?: string[] | undefined;
|
|
1039
|
+
}>;
|
|
1040
|
+
type BusStopQueryDTO = z.infer<typeof BusStopQuerySchema>;
|
|
1041
|
+
declare const toBusStopPayload: (row: BusStop) => BusStopDTO;
|
|
1042
|
+
declare const newBusStopPayload: () => BusStopDTO;
|
|
1043
|
+
declare const findBusStop: (data: BusStopQueryDTO) => Promise<FBR<BusStop[]>>;
|
|
1044
|
+
declare const createBusStop: (data: BusStopDTO) => Promise<SBR>;
|
|
1045
|
+
declare const updateBusStop: (id: string, data: BusStopDTO) => Promise<SBR>;
|
|
1046
|
+
declare const deleteBusStop: (id: string) => Promise<SBR>;
|
|
1047
|
+
|
|
1048
|
+
export { type BusStopPolygonData as B, type MasterFixedSchedule, type MasterFixedScheduleDTO, type MasterFixedScheduleQueryDTO, MasterFixedScheduleQuerySchema, MasterFixedScheduleSchema, type MasterRoute, type MasterRouteDTO, type MasterRouteQueryDTO, MasterRouteQuerySchema, MasterRouteSchema, type MasterRouteStop, type MasterRouteStopCreateDTO, MasterRouteStopCreateSchema, type MasterRouteStopDTO, MasterRouteStopDeleteAllSchema, type MasterRouteStopDeleteDTO, type MasterRouteStopDeleteReOrderDTO, MasterRouteStopDeleteSchema, MasterRouteStopIds, type MasterRouteStopIdsDTO, type MasterRouteStopReorderDTO, MasterRouteStopReorderSchema, MasterRouteStopSchema, type MasterRouteStopUpdateDTO, MasterRouteStopUpdateSchema, type MasterRouteStudent, type MasterRouteStudentAssignRemoveDTO, MasterRouteStudentAssignRemoveSchema, type MasterRouteStudentScheduleAssignRemoveDTO, MasterRouteStudentScheduleAssignRemoveSchema, type MasterRouteStudentStopAssignRemoveDTO, MasterRouteStudentStopAssignRemoveSchema, type StudentNoScheduleQueryDTO, StudentNoScheduleQuerySchema, type StudentNoStopQueryDTO, StudentNoStopQuerySchema, type BusStop as a, appendRouteStop, assignMasterRouteStudentScheduleToStudentDrop, assignMasterRouteStudentScheduleToStudentsPickup, assignMasterRouteStudentStopToStudentsDrop, assignMasterRouteStudentStopToStudentsPickup, assignRouteStudentsDrop, assignRouteStudentsPickup, BusStopPolygonDataSchema as b, type BusStopPolygonDataDTO as c, createMasterFixedSchedule, createMasterRoute, createStopsFirstTimeRoute, BusStopSchema as d, deleteMasterFixedSchedule, deleteMasterRoute, deleteRouteStopReorder, deleteRouteStopsAll, type BusStopDTO as e, BusStopQuerySchema as f, findMasterFixedSchedule, findMasterRoute, findStudentsWithNoScheduleDrop, findStudentsWithNoSchedulePickup, findStudentsWithNoStopDrop, findStudentsWithNoStopPickup, type BusStopQueryDTO as g, findBusStop as h, createBusStop as i, deleteBusStop as j, newBusStopPayload as n, newMasterFixedSchedulePayload, newMasterRoutePayload, newMasterRouteStopPayload, newMasterRouteStudentAssignPayload, removeMasterRouteStudentScheduleToStudentDrop, removeMasterRouteStudentScheduleToStudentPickup, removeMasterRouteStudentStopToStudentsDrop, removeMasterRouteStudentStopToStudentsPickup, removeRouteStudentsDrop, removeRouteStudentsPickup, reorderRouteStops, toBusStopPayload as t, toMasterFixedSchedulePayload, toMasterRoutePayload, toMasterRouteStopPayload, toMasterRouteStopReorderPayload, toMasterRouteStudentAssignPayload, updateBusStop as u, updateMasterFixedSchedule, updateMasterRoute, updateRouteStop };
|
|
@@ -387,7 +387,9 @@ var MasterFixedScheduleSchema = z3.object({
|
|
|
387
387
|
thursday: enumMandatory("Thursday", YesNo, "Yes" /* Yes */),
|
|
388
388
|
friday: enumMandatory("Friday", YesNo, "Yes" /* Yes */),
|
|
389
389
|
saturday: enumMandatory("Saturday", YesNo, "Yes" /* Yes */),
|
|
390
|
-
|
|
390
|
+
// Other
|
|
391
|
+
status: enumMandatory("Status", Status, "Active" /* Active */),
|
|
392
|
+
time_zone_id: single_select_mandatory("MasterMainTimeZone")
|
|
391
393
|
});
|
|
392
394
|
var MasterFixedScheduleQuerySchema = BaseQuerySchema.extend({
|
|
393
395
|
organisation_ids: multi_select_optional("UserOrganisation"),
|
|
@@ -504,22 +506,21 @@ var MasterRouteStudentScheduleAssignRemoveSchema = z3.object({
|
|
|
504
506
|
// Multi selection -> MasterRouteStudent
|
|
505
507
|
});
|
|
506
508
|
var toMasterRoutePayload = (row) => ({
|
|
507
|
-
organisation_id: row.organisation_id,
|
|
508
|
-
organisation_branch_id: row.organisation_branch_id,
|
|
509
|
-
pickup_start_stop_id: row.pickup_start_stop_id
|
|
510
|
-
pickup_end_stop_id: row.pickup_end_stop_id
|
|
511
|
-
drop_start_stop_id: row.drop_start_stop_id
|
|
512
|
-
drop_end_stop_id: row.drop_end_stop_id
|
|
513
|
-
route_name: row.route_name,
|
|
514
|
-
route_code: row.route_code
|
|
515
|
-
route_notes: row.route_notes
|
|
509
|
+
organisation_id: row.organisation_id || "",
|
|
510
|
+
organisation_branch_id: row.organisation_branch_id || "",
|
|
511
|
+
pickup_start_stop_id: row.pickup_start_stop_id || "",
|
|
512
|
+
pickup_end_stop_id: row.pickup_end_stop_id || "",
|
|
513
|
+
drop_start_stop_id: row.drop_start_stop_id || "",
|
|
514
|
+
drop_end_stop_id: row.drop_end_stop_id || "",
|
|
515
|
+
route_name: row.route_name || "",
|
|
516
|
+
route_code: row.route_code || "",
|
|
517
|
+
route_notes: row.route_notes || "",
|
|
516
518
|
route_status: row.route_status,
|
|
517
|
-
pickup_journey_time_in_seconds:
|
|
518
|
-
drop_journey_time_in_seconds:
|
|
519
|
-
status: row.status
|
|
519
|
+
pickup_journey_time_in_seconds: row.pickup_journey_time_in_seconds || 0,
|
|
520
|
+
drop_journey_time_in_seconds: row.drop_journey_time_in_seconds || 0,
|
|
521
|
+
status: row.status || "Active" /* Active */
|
|
520
522
|
});
|
|
521
523
|
var newMasterRoutePayload = () => ({
|
|
522
|
-
status: "Active" /* Active */,
|
|
523
524
|
organisation_id: "",
|
|
524
525
|
organisation_branch_id: "",
|
|
525
526
|
pickup_start_stop_id: "",
|
|
@@ -531,42 +532,44 @@ var newMasterRoutePayload = () => ({
|
|
|
531
532
|
route_notes: "",
|
|
532
533
|
route_status: "Active" /* Active */,
|
|
533
534
|
pickup_journey_time_in_seconds: 0,
|
|
534
|
-
drop_journey_time_in_seconds: 0
|
|
535
|
+
drop_journey_time_in_seconds: 0,
|
|
536
|
+
status: "Active" /* Active */
|
|
535
537
|
});
|
|
536
538
|
var toMasterFixedSchedulePayload = (row) => ({
|
|
537
|
-
organisation_id: row.organisation_id,
|
|
538
|
-
organisation_branch_id: row.organisation_branch_id,
|
|
539
|
-
route_id: row.route_id,
|
|
540
|
-
vehicle_id: row.vehicle_id
|
|
541
|
-
driver_id: row.driver_id
|
|
542
|
-
attendant_id: row.attendant_id
|
|
543
|
-
schedule_name: row.schedule_name,
|
|
544
|
-
schedule_status: row.schedule_status
|
|
545
|
-
is_stops_finalized: row.is_stops_finalized
|
|
546
|
-
schedule_type: row.schedule_type
|
|
547
|
-
start_hour:
|
|
548
|
-
start_minute:
|
|
549
|
-
end_hour:
|
|
550
|
-
end_minute:
|
|
551
|
-
schedule_plan_start_date: row.schedule_plan_start_date
|
|
552
|
-
schedule_plan_end_date: row.schedule_plan_end_date
|
|
553
|
-
sunday: row.sunday
|
|
554
|
-
monday: row.monday
|
|
555
|
-
tuesday: row.tuesday
|
|
556
|
-
wednesday: row.wednesday
|
|
557
|
-
thursday: row.thursday
|
|
558
|
-
friday: row.friday
|
|
559
|
-
saturday: row.saturday
|
|
560
|
-
status: row.status
|
|
539
|
+
organisation_id: row.organisation_id || "",
|
|
540
|
+
organisation_branch_id: row.organisation_branch_id || "",
|
|
541
|
+
route_id: row.route_id || "",
|
|
542
|
+
vehicle_id: row.vehicle_id || "",
|
|
543
|
+
driver_id: row.driver_id || "",
|
|
544
|
+
attendant_id: row.attendant_id || "",
|
|
545
|
+
schedule_name: row.schedule_name || "",
|
|
546
|
+
schedule_status: row.schedule_status || "Active" /* Active */,
|
|
547
|
+
is_stops_finalized: row.is_stops_finalized || "No" /* No */,
|
|
548
|
+
schedule_type: row.schedule_type || "Pickup" /* Pickup */,
|
|
549
|
+
start_hour: row.start_hour || 0,
|
|
550
|
+
start_minute: row.start_minute || 0,
|
|
551
|
+
end_hour: row.end_hour || 0,
|
|
552
|
+
end_minute: row.end_minute || 0,
|
|
553
|
+
schedule_plan_start_date: row.schedule_plan_start_date || "",
|
|
554
|
+
schedule_plan_end_date: row.schedule_plan_end_date || "",
|
|
555
|
+
sunday: row.sunday || "No" /* No */,
|
|
556
|
+
monday: row.monday || "Yes" /* Yes */,
|
|
557
|
+
tuesday: row.tuesday || "Yes" /* Yes */,
|
|
558
|
+
wednesday: row.wednesday || "Yes" /* Yes */,
|
|
559
|
+
thursday: row.thursday || "Yes" /* Yes */,
|
|
560
|
+
friday: row.friday || "Yes" /* Yes */,
|
|
561
|
+
saturday: row.saturday || "Yes" /* Yes */,
|
|
562
|
+
status: row.status,
|
|
563
|
+
time_zone_id: ""
|
|
564
|
+
// Needs to be provided manually
|
|
561
565
|
});
|
|
562
566
|
var newMasterFixedSchedulePayload = () => ({
|
|
563
567
|
route_id: "",
|
|
564
|
-
status: "Active" /* Active */,
|
|
565
568
|
organisation_id: "",
|
|
566
569
|
organisation_branch_id: "",
|
|
567
570
|
schedule_name: "",
|
|
568
571
|
schedule_status: "Active" /* Active */,
|
|
569
|
-
is_stops_finalized: "
|
|
572
|
+
is_stops_finalized: "No" /* No */,
|
|
570
573
|
schedule_type: "Pickup" /* Pickup */,
|
|
571
574
|
start_hour: 0,
|
|
572
575
|
start_minute: 0,
|
|
@@ -574,7 +577,7 @@ var newMasterFixedSchedulePayload = () => ({
|
|
|
574
577
|
end_minute: 0,
|
|
575
578
|
schedule_plan_start_date: "",
|
|
576
579
|
schedule_plan_end_date: "",
|
|
577
|
-
sunday: "
|
|
580
|
+
sunday: "No" /* No */,
|
|
578
581
|
monday: "Yes" /* Yes */,
|
|
579
582
|
tuesday: "Yes" /* Yes */,
|
|
580
583
|
wednesday: "Yes" /* Yes */,
|
|
@@ -583,14 +586,17 @@ var newMasterFixedSchedulePayload = () => ({
|
|
|
583
586
|
saturday: "Yes" /* Yes */,
|
|
584
587
|
vehicle_id: "",
|
|
585
588
|
driver_id: "",
|
|
586
|
-
attendant_id: ""
|
|
589
|
+
attendant_id: "",
|
|
590
|
+
status: "Active" /* Active */,
|
|
591
|
+
time_zone_id: ""
|
|
592
|
+
// Needs to be provided manually
|
|
587
593
|
});
|
|
588
594
|
var toMasterRouteStopPayload = (row) => ({
|
|
589
|
-
organisation_id: row.organisation_id,
|
|
590
|
-
organisation_branch_id: row.organisation_branch_id,
|
|
591
|
-
route_id: row.route_id,
|
|
592
|
-
leg: row.leg
|
|
593
|
-
status: row.status
|
|
595
|
+
organisation_id: row.organisation_id || "",
|
|
596
|
+
organisation_branch_id: row.organisation_branch_id || "",
|
|
597
|
+
route_id: row.route_id || "",
|
|
598
|
+
leg: row.leg || "Pickup" /* Pickup */,
|
|
599
|
+
status: row.status || "Active" /* Active */,
|
|
594
600
|
MasterRouteStop: []
|
|
595
601
|
});
|
|
596
602
|
var newMasterRouteStopPayload = () => ({
|
|
@@ -602,13 +608,13 @@ var newMasterRouteStopPayload = () => ({
|
|
|
602
608
|
MasterRouteStop: []
|
|
603
609
|
});
|
|
604
610
|
var toMasterRouteStopReorderPayload = (row) => ({
|
|
605
|
-
route_id: row.route_id
|
|
606
|
-
leg: row.leg
|
|
611
|
+
route_id: row.route_id || "",
|
|
612
|
+
leg: row.leg || "Pickup" /* Pickup */,
|
|
607
613
|
MasterRouteStopIds: []
|
|
608
614
|
});
|
|
609
615
|
var toMasterRouteStudentAssignPayload = (row) => ({
|
|
610
|
-
route_id: row.route_id
|
|
611
|
-
student_ids:
|
|
616
|
+
route_id: row.route_id || "",
|
|
617
|
+
student_ids: []
|
|
612
618
|
});
|
|
613
619
|
var newMasterRouteStudentAssignPayload = () => ({
|
|
614
620
|
route_id: "",
|
|
@@ -1,13 +1,14 @@
|
|
|
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, O as OrganisationBranch } from '../../../user_organisation_service-
|
|
4
|
+
import { U as UserOrganisation, O as OrganisationBranch } from '../../../user_organisation_service-BZaeiu6L.js';
|
|
5
5
|
import '../../../zod_utils/zod_base_schema.js';
|
|
6
6
|
import '../../master/main/master_main_sim_provider_service.js';
|
|
7
7
|
|
|
8
8
|
interface OrganisationNoticeBoard extends Record<string, unknown> {
|
|
9
9
|
notice_id: string;
|
|
10
10
|
notice_date_time: string;
|
|
11
|
+
notice_date_time_f: string;
|
|
11
12
|
notice_subject: string;
|
|
12
13
|
notice_description?: string;
|
|
13
14
|
status: Status;
|
|
@@ -26,10 +27,12 @@ declare const OrganisationNoticeBoardSchema: z.ZodObject<{
|
|
|
26
27
|
notice_subject: z.ZodEffects<z.ZodString, string, string>;
|
|
27
28
|
notice_description: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
|
|
28
29
|
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
30
|
+
time_zone_id: z.ZodEffects<z.ZodString, string, string>;
|
|
29
31
|
}, "strip", z.ZodTypeAny, {
|
|
30
32
|
status: Status;
|
|
31
33
|
organisation_id: string;
|
|
32
34
|
organisation_branch_id: string;
|
|
35
|
+
time_zone_id: string;
|
|
33
36
|
notice_date_time: string;
|
|
34
37
|
notice_subject: string;
|
|
35
38
|
notice_description: string;
|
|
@@ -37,6 +40,7 @@ declare const OrganisationNoticeBoardSchema: z.ZodObject<{
|
|
|
37
40
|
status: Status;
|
|
38
41
|
organisation_id: string;
|
|
39
42
|
organisation_branch_id: string;
|
|
43
|
+
time_zone_id: string;
|
|
40
44
|
notice_date_time: string;
|
|
41
45
|
notice_subject: string;
|
|
42
46
|
notice_description?: string | undefined;
|
|
@@ -73,9 +77,9 @@ declare const OrganisationNoticeBoardQuerySchema: z.ZodObject<{
|
|
|
73
77
|
date_format_id: z.ZodEffects<z.ZodString, string, string>;
|
|
74
78
|
time_zone_id: z.ZodEffects<z.ZodString, string, string>;
|
|
75
79
|
} & {
|
|
80
|
+
notice_ids: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
76
81
|
organisation_ids: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
77
82
|
organisation_branch_ids: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
78
|
-
notice_ids: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
79
83
|
}, "strip", z.ZodTypeAny, {
|
|
80
84
|
status: Status[];
|
|
81
85
|
search: string;
|
|
@@ -279,23 +279,27 @@ var OrganisationNoticeBoardSchema = z3.object({
|
|
|
279
279
|
notice_date_time: dateMandatory("Notice Date Time"),
|
|
280
280
|
notice_subject: stringMandatory("Notice Subject", 3, 100),
|
|
281
281
|
notice_description: stringOptional("Notice Description", 0, 500),
|
|
282
|
-
|
|
282
|
+
// Other
|
|
283
|
+
status: enumMandatory("Status", Status, "Active" /* Active */),
|
|
284
|
+
time_zone_id: single_select_mandatory("MasterMainTimeZone")
|
|
283
285
|
});
|
|
284
286
|
var OrganisationNoticeBoardQuerySchema = BaseQuerySchema.extend({
|
|
287
|
+
notice_ids: multi_select_optional("OrganisationNoticeBoard"),
|
|
288
|
+
// ✅ Multi-selection -> OrganisationNoticeBoard
|
|
285
289
|
organisation_ids: multi_select_optional("UserOrganisation"),
|
|
286
290
|
// ✅ Multi-selection -> UserOrganisation
|
|
287
|
-
organisation_branch_ids: multi_select_optional("OrganisationBranch")
|
|
291
|
+
organisation_branch_ids: multi_select_optional("OrganisationBranch")
|
|
288
292
|
// ✅ Multi-selection -> OrganisationBranch
|
|
289
|
-
notice_ids: multi_select_optional("OrganisationNoticeBoard")
|
|
290
|
-
// ✅ Multi-selection -> OrganisationNoticeBoard
|
|
291
293
|
});
|
|
292
294
|
var toOrganisationNoticeBoardPayload = (row) => ({
|
|
293
|
-
organisation_id: row.organisation_id,
|
|
294
|
-
organisation_branch_id: row.organisation_branch_id
|
|
295
|
-
notice_date_time: row.notice_date_time,
|
|
296
|
-
notice_subject: row.notice_subject,
|
|
297
|
-
notice_description: row.notice_description
|
|
298
|
-
status: row.status
|
|
295
|
+
organisation_id: row.organisation_id || "",
|
|
296
|
+
organisation_branch_id: row.organisation_branch_id || "",
|
|
297
|
+
notice_date_time: row.notice_date_time || "",
|
|
298
|
+
notice_subject: row.notice_subject || "",
|
|
299
|
+
notice_description: row.notice_description || "",
|
|
300
|
+
status: row.status,
|
|
301
|
+
time_zone_id: ""
|
|
302
|
+
// Needs to be provided manually
|
|
299
303
|
});
|
|
300
304
|
var newOrganisationNoticeBoardPayload = () => ({
|
|
301
305
|
organisation_id: "",
|
|
@@ -303,7 +307,9 @@ var newOrganisationNoticeBoardPayload = () => ({
|
|
|
303
307
|
notice_date_time: "",
|
|
304
308
|
notice_subject: "",
|
|
305
309
|
notice_description: "",
|
|
306
|
-
status: "Active" /* Active
|
|
310
|
+
status: "Active" /* Active */,
|
|
311
|
+
time_zone_id: ""
|
|
312
|
+
// Needs to be provided manually
|
|
307
313
|
});
|
|
308
314
|
var findOrganisationNoticeBoard = async (data) => {
|
|
309
315
|
return apiPost(ENDPOINTS.find, data);
|