vms-nest-prisma-api-document 860.0.0 → 930.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/{bookmark_service-DP9D40XR.d.ts → bookmark_service-BV0AXbYV.d.ts} +1921 -1935
- package/dist/core/Enums.d.ts +2 -2
- package/dist/core/Enums.js +2 -2
- 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 +1 -1
- package/dist/services/fleet/bus_mangement/bus_stop.js +44 -40
- package/dist/services/fleet/bus_mangement/calender.d.ts +1 -1
- package/dist/services/fleet/bus_mangement/master_route.d.ts +1 -1
- package/dist/services/fleet/bus_mangement/master_route.js +54 -362
- package/dist/services/fleet/bus_mangement/master_schedule.d.ts +6 -0
- package/dist/services/fleet/bus_mangement/master_schedule.js +543 -0
- package/dist/services/fleet/bus_mangement/notice_board.d.ts +1 -1
- package/dist/services/fleet/bus_mangement/student.d.ts +1 -1
- package/dist/services/fleet/fuel_management/fleet_fuel_daily_summary_service.d.ts +1 -1
- package/dist/services/fleet/fuel_management/fleet_fuel_refill_service.d.ts +1 -1
- package/dist/services/fleet/fuel_management/fleet_fuel_removal_service.d.ts +1 -1
- package/dist/services/fleet/incident_management/incident_management_service.d.ts +1 -1
- 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 +1 -1
- package/dist/services/fleet/service_management/fleet_service_management_service.d.ts +1 -1
- 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 +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 +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/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/cache_reset/master_reset_cache_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 +1 -1
- 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_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_sim_provider_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 +1 -1
- 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/faq_service.d.ts +1 -1
- package/package.json +1 -1
package/dist/core/Enums.d.ts
CHANGED
|
@@ -675,10 +675,10 @@ declare enum BusLeg {
|
|
|
675
675
|
Drop = "Drop"
|
|
676
676
|
}
|
|
677
677
|
declare enum BusStopType {
|
|
678
|
-
|
|
678
|
+
CommonPickupPoint = "CommonPickupPoint",
|
|
679
679
|
HomeStop = "HomeStop",
|
|
680
680
|
BranchGate = "BranchGate",
|
|
681
|
-
|
|
681
|
+
ParkingSlot = "ParkingSlot"
|
|
682
682
|
}
|
|
683
683
|
declare enum EnrollmentStatus {
|
|
684
684
|
Active = "Active",
|
package/dist/core/Enums.js
CHANGED
|
@@ -758,10 +758,10 @@ var BusLeg = /* @__PURE__ */ ((BusLeg2) => {
|
|
|
758
758
|
return BusLeg2;
|
|
759
759
|
})(BusLeg || {});
|
|
760
760
|
var BusStopType = /* @__PURE__ */ ((BusStopType2) => {
|
|
761
|
-
BusStopType2["
|
|
761
|
+
BusStopType2["CommonPickupPoint"] = "CommonPickupPoint";
|
|
762
762
|
BusStopType2["HomeStop"] = "HomeStop";
|
|
763
763
|
BusStopType2["BranchGate"] = "BranchGate";
|
|
764
|
-
BusStopType2["
|
|
764
|
+
BusStopType2["ParkingSlot"] = "ParkingSlot";
|
|
765
765
|
return BusStopType2;
|
|
766
766
|
})(BusStopType || {});
|
|
767
767
|
var EnrollmentStatus = /* @__PURE__ */ ((EnrollmentStatus2) => {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import '../../core/Enums.js';
|
|
2
2
|
import '../../core/BaseResponse.js';
|
|
3
3
|
import 'zod';
|
|
4
|
-
export {
|
|
4
|
+
export { zN as BookMark, zP as BookMarkDTO, zR as BookMarkQueryDTO, zQ as BookMarkQuerySchema, zO as BookMarkSchema, zV as createBookMark, zX as deleteBookMark, zU as findBookMarks, zT as newBookMarkPayload, zS as toBookMarkPayload, zW as updateBookMark } from '../../bookmark_service-BV0AXbYV.js';
|
|
5
5
|
import '../../zod_utils/zod_base_schema.js';
|
|
6
6
|
import '../gps/reports/gps_models/FuelConsumptionMonthly.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import '../../core/Enums.js';
|
|
2
2
|
import '../../core/BaseResponse.js';
|
|
3
3
|
import 'zod';
|
|
4
|
-
export { cJ as OrganisationNotificationPreference, cO as OrganisationNotificationPreferenceDTO, cL as OrganisationNotificationPreferenceGeofenceLink, cQ as OrganisationNotificationPreferenceQueryDTO, cP as OrganisationNotificationPreferenceQuerySchema, cN as OrganisationNotificationPreferenceSchema, cM as OrganisationNotificationPreferenceUserLink, cK as OrganisationNotificationPreferenceVehicleLink, cU as createOrganisationNotificationPreference, cW as deleteOrganisationNotificationPreference, cT as findOrganisationNotificationPreference, cS as newOrganisationNotificationPreferencePayload, cR as toOrganisationNotificationPreferencePayload, cV as updateOrganisationNotificationPreference } from '../../bookmark_service-
|
|
4
|
+
export { cJ as OrganisationNotificationPreference, cO as OrganisationNotificationPreferenceDTO, cL as OrganisationNotificationPreferenceGeofenceLink, cQ as OrganisationNotificationPreferenceQueryDTO, cP as OrganisationNotificationPreferenceQuerySchema, cN as OrganisationNotificationPreferenceSchema, cM as OrganisationNotificationPreferenceUserLink, cK as OrganisationNotificationPreferenceVehicleLink, cU as createOrganisationNotificationPreference, cW as deleteOrganisationNotificationPreference, cT as findOrganisationNotificationPreference, cS as newOrganisationNotificationPreferencePayload, cR as toOrganisationNotificationPreferencePayload, cV as updateOrganisationNotificationPreference } from '../../bookmark_service-BV0AXbYV.js';
|
|
5
5
|
import '../../zod_utils/zod_base_schema.js';
|
|
6
6
|
import '../gps/reports/gps_models/FuelConsumptionMonthly.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import '../../core/Enums.js';
|
|
2
2
|
import '../../core/BaseResponse.js';
|
|
3
3
|
import 'zod';
|
|
4
|
-
export { os as OrganisationReportAutomationMail, ov as OrganisationReportAutomationMailQueryDTO, ou as OrganisationReportAutomationMailQuerySchema, ot as OrganisationReportAutomationMailVehicleLink, oq as OrganisationReportPreference, ox as OrganisationReportPreferenceDTO, oz as OrganisationReportPreferenceQueryDTO, oy as OrganisationReportPreferenceQuerySchema, ow as OrganisationReportPreferenceSchema, or as OrganisationReportPreferenceVehicleLink, oD as createOrganisationReportPreference, oF as deleteOrganisationReportPreference, oG as findOrganisationReportAutomationMail, oC as findOrganisationReportPreference, oB as newOrganisationReportPreferencePayload, oA as toOrganisationReportPreferencePayload, oE as updateOrganisationReportPreference } from '../../bookmark_service-
|
|
4
|
+
export { os as OrganisationReportAutomationMail, ov as OrganisationReportAutomationMailQueryDTO, ou as OrganisationReportAutomationMailQuerySchema, ot as OrganisationReportAutomationMailVehicleLink, oq as OrganisationReportPreference, ox as OrganisationReportPreferenceDTO, oz as OrganisationReportPreferenceQueryDTO, oy as OrganisationReportPreferenceQuerySchema, ow as OrganisationReportPreferenceSchema, or as OrganisationReportPreferenceVehicleLink, oD as createOrganisationReportPreference, oF as deleteOrganisationReportPreference, oG as findOrganisationReportAutomationMail, oC as findOrganisationReportPreference, oB as newOrganisationReportPreferencePayload, oA as toOrganisationReportPreferencePayload, oE as updateOrganisationReportPreference } from '../../bookmark_service-BV0AXbYV.js';
|
|
5
5
|
import '../../zod_utils/zod_base_schema.js';
|
|
6
6
|
import '../gps/reports/gps_models/FuelConsumptionMonthly.js';
|
|
@@ -2,5 +2,5 @@ import '../../core/Enums.js';
|
|
|
2
2
|
import '../../core/BaseResponse.js';
|
|
3
3
|
import 'zod';
|
|
4
4
|
import '../../zod_utils/zod_base_schema.js';
|
|
5
|
-
export { df as Ticket, dk as TicketDTO, dg as TicketFile, di as TicketFileDTO, dh as TicketFileSchema, dp as TicketQueryDTO, dn as TicketQuerySchema, dj as TicketSchema, dm as TicketVerifyDTO, dl as TicketVerifySchema, dy as createTicket, dv as create_ticket_file, dB as deleteTicket, dx as findTickets, du as get_ticket_file_presigned_url, dr as newTicketPayload, ds as newVerifyTicketPayload, dw as remove_ticket_file, dq as toTicketPayload, dt as toVerifyTicketPayload, dz as updateTicket, dA as updateVerifyStatus } from '../../bookmark_service-
|
|
5
|
+
export { df as Ticket, dk as TicketDTO, dg as TicketFile, di as TicketFileDTO, dh as TicketFileSchema, dp as TicketQueryDTO, dn as TicketQuerySchema, dj as TicketSchema, dm as TicketVerifyDTO, dl as TicketVerifySchema, dy as createTicket, dv as create_ticket_file, dB as deleteTicket, dx as findTickets, du as get_ticket_file_presigned_url, dr as newTicketPayload, ds as newVerifyTicketPayload, dw as remove_ticket_file, dq as toTicketPayload, dt as toVerifyTicketPayload, dz as updateTicket, dA as updateVerifyStatus } from '../../bookmark_service-BV0AXbYV.js';
|
|
6
6
|
import '../gps/reports/gps_models/FuelConsumptionMonthly.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import '../../../core/Enums.js';
|
|
2
2
|
import '../../../core/BaseResponse.js';
|
|
3
3
|
import 'zod';
|
|
4
|
-
export {
|
|
4
|
+
export { qB as BusStop, qF as BusStopDTO, qA as BusStopPolygonData, qD as BusStopPolygonDataDTO, qC as BusStopPolygonDataSchema, qH as BusStopQueryDTO, qG as BusStopQuerySchema, qE as BusStopSchema, qL as createBusStop, qN as deleteBusStop, qK as findBusStop, qJ as newBusStopPayload, qI as toBusStopPayload, qM as updateBusStop } from '../../../bookmark_service-BV0AXbYV.js';
|
|
5
5
|
import '../../../zod_utils/zod_base_schema.js';
|
|
6
6
|
import '../../gps/reports/gps_models/FuelConsumptionMonthly.js';
|
|
@@ -243,10 +243,10 @@ var GeofenceType = /* @__PURE__ */ ((GeofenceType2) => {
|
|
|
243
243
|
return GeofenceType2;
|
|
244
244
|
})(GeofenceType || {});
|
|
245
245
|
var BusStopType = /* @__PURE__ */ ((BusStopType2) => {
|
|
246
|
-
BusStopType2["
|
|
246
|
+
BusStopType2["CommonPickupPoint"] = "CommonPickupPoint";
|
|
247
247
|
BusStopType2["HomeStop"] = "HomeStop";
|
|
248
248
|
BusStopType2["BranchGate"] = "BranchGate";
|
|
249
|
-
BusStopType2["
|
|
249
|
+
BusStopType2["ParkingSlot"] = "ParkingSlot";
|
|
250
250
|
return BusStopType2;
|
|
251
251
|
})(BusStopType || {});
|
|
252
252
|
|
|
@@ -322,28 +322,20 @@ var BusStopPolygonDataSchema = z3.object({
|
|
|
322
322
|
longitude: doubleMandatoryLatLng("longitude")
|
|
323
323
|
});
|
|
324
324
|
var BusStopSchema = z3.object({
|
|
325
|
+
// Relations - Parent
|
|
325
326
|
organisation_id: single_select_mandatory("UserOrganisation"),
|
|
326
327
|
// Single-Selection -> UserOrganisation
|
|
327
|
-
organisation_branch_id:
|
|
328
|
+
organisation_branch_id: single_select_mandatory("OrganisationBranch"),
|
|
328
329
|
// Single-Selection -> OrganisationBranch
|
|
329
330
|
// Basic Info
|
|
330
|
-
stop_name: stringMandatory("Stop Name", 3,
|
|
331
|
-
|
|
332
|
-
|
|
331
|
+
stop_name: stringMandatory("Stop Name", 3, 100),
|
|
332
|
+
stop_type: enumMandatory(
|
|
333
|
+
"Stop Type",
|
|
334
|
+
BusStopType,
|
|
335
|
+
"CommonPickupPoint" /* CommonPickupPoint */
|
|
336
|
+
),
|
|
333
337
|
stop_description: stringOptional("Stop Description", 0, 2e3),
|
|
334
|
-
|
|
335
|
-
// Address
|
|
336
|
-
address_line1: stringOptional("Address Line 1", 0, 150),
|
|
337
|
-
address_line2: stringOptional("Address Line 2", 0, 150),
|
|
338
|
-
locality_landmark: stringOptional("Locality / Landmark", 0, 150),
|
|
339
|
-
neighborhood: stringOptional("Neighborhood", 0, 100),
|
|
340
|
-
town_city: stringOptional("Town / City", 0, 100),
|
|
341
|
-
district_county: stringOptional("District / County", 0, 100),
|
|
342
|
-
state_province_region: stringOptional("State / Province / Region", 0, 100),
|
|
343
|
-
postal_code: stringOptional("Postal Code", 0, 20),
|
|
344
|
-
country: stringOptional("Country", 0, 100),
|
|
345
|
-
country_code: stringOptional("Country Code", 0, 5),
|
|
346
|
-
google_location: stringOptional("Google Location", 0, 500),
|
|
338
|
+
// Geofence Info
|
|
347
339
|
geofence_type: enumMandatory(
|
|
348
340
|
"Geofence Type",
|
|
349
341
|
GeofenceType,
|
|
@@ -358,15 +350,31 @@ var BusStopSchema = z3.object({
|
|
|
358
350
|
BusStopPolygonDataSchema,
|
|
359
351
|
[]
|
|
360
352
|
),
|
|
353
|
+
// Address
|
|
354
|
+
address_line1: stringOptional("Address Line 1", 0, 150),
|
|
355
|
+
address_line2: stringOptional("Address Line 2", 0, 150),
|
|
356
|
+
locality_landmark: stringOptional("Locality / Landmark", 0, 150),
|
|
357
|
+
neighborhood: stringOptional("Neighborhood", 0, 100),
|
|
358
|
+
town_city: stringOptional("Town / City", 0, 100),
|
|
359
|
+
district_county: stringOptional("District / County", 0, 100),
|
|
360
|
+
state_province_region: stringOptional("State / Province / Region", 0, 100),
|
|
361
|
+
postal_code: stringOptional("Postal Code", 0, 20),
|
|
362
|
+
country: stringOptional("Country", 0, 100),
|
|
363
|
+
country_code: stringOptional("Country Code", 0, 5),
|
|
364
|
+
google_location: stringOptional("Google Location", 0, 500),
|
|
365
|
+
// Metadata
|
|
361
366
|
status: enumMandatory("Status", Status, "Active" /* Active */)
|
|
362
367
|
});
|
|
363
368
|
var BusStopQuerySchema = BaseQuerySchema.extend({
|
|
369
|
+
// Self Table
|
|
364
370
|
bus_stop_ids: multi_select_optional("BusStop"),
|
|
365
|
-
//
|
|
371
|
+
// Multi-selection -> BusStop
|
|
372
|
+
// Relations - Parent
|
|
366
373
|
organisation_ids: multi_select_optional("UserOrganisation"),
|
|
367
|
-
//
|
|
374
|
+
// Multi-selection -> UserOrganisation
|
|
368
375
|
organisation_branch_ids: multi_select_optional("OrganisationBranch"),
|
|
369
|
-
//
|
|
376
|
+
// Multi-selection -> OrganisationBranch
|
|
377
|
+
// Enums
|
|
370
378
|
stop_type: enumArrayOptional(
|
|
371
379
|
"Stop Type",
|
|
372
380
|
BusStopType,
|
|
@@ -382,10 +390,14 @@ var toBusStopPayload = (row) => ({
|
|
|
382
390
|
organisation_id: row.organisation_id || "",
|
|
383
391
|
organisation_branch_id: row.organisation_branch_id || "",
|
|
384
392
|
stop_name: row.stop_name || "",
|
|
385
|
-
|
|
386
|
-
stop_type: row.stop_type || "FixedStop" /* FixedStop */,
|
|
393
|
+
stop_type: row.stop_type || "CommonPickupPoint" /* CommonPickupPoint */,
|
|
387
394
|
stop_description: row.stop_description || "",
|
|
388
|
-
|
|
395
|
+
geofence_type: row.geofence_type || "Circle" /* Circle */,
|
|
396
|
+
radius_m: row.radius_m || 0,
|
|
397
|
+
radius_km: row.radius_km || 0,
|
|
398
|
+
latitude: row.latitude || 0,
|
|
399
|
+
longitude: row.longitude || 0,
|
|
400
|
+
poliline_data: row.poliline_data || [],
|
|
389
401
|
address_line1: row.address_line1 || "",
|
|
390
402
|
address_line2: row.address_line2 || "",
|
|
391
403
|
locality_landmark: row.locality_landmark || "",
|
|
@@ -397,22 +409,20 @@ var toBusStopPayload = (row) => ({
|
|
|
397
409
|
country: row.country || "",
|
|
398
410
|
country_code: row.country_code || "",
|
|
399
411
|
google_location: row.google_location || "",
|
|
400
|
-
geofence_type: row.geofence_type || "Circle" /* Circle */,
|
|
401
|
-
radius_m: row.radius_m || 0,
|
|
402
|
-
radius_km: row.radius_km || 0,
|
|
403
|
-
latitude: row.latitude || 0,
|
|
404
|
-
longitude: row.longitude || 0,
|
|
405
|
-
poliline_data: row.poliline_data || [],
|
|
406
412
|
status: row.status || "Active" /* Active */
|
|
407
413
|
});
|
|
408
414
|
var newBusStopPayload = () => ({
|
|
409
415
|
organisation_id: "",
|
|
410
416
|
organisation_branch_id: "",
|
|
411
417
|
stop_name: "",
|
|
412
|
-
|
|
413
|
-
stop_type: "FixedStop" /* FixedStop */,
|
|
418
|
+
stop_type: "CommonPickupPoint" /* CommonPickupPoint */,
|
|
414
419
|
stop_description: "",
|
|
415
|
-
|
|
420
|
+
geofence_type: "Circle" /* Circle */,
|
|
421
|
+
latitude: 0,
|
|
422
|
+
longitude: 0,
|
|
423
|
+
radius_m: 0,
|
|
424
|
+
radius_km: 0,
|
|
425
|
+
poliline_data: [],
|
|
416
426
|
address_line1: "",
|
|
417
427
|
address_line2: "",
|
|
418
428
|
locality_landmark: "",
|
|
@@ -424,12 +434,6 @@ var newBusStopPayload = () => ({
|
|
|
424
434
|
country: "",
|
|
425
435
|
country_code: "",
|
|
426
436
|
google_location: "",
|
|
427
|
-
geofence_type: "Circle" /* Circle */,
|
|
428
|
-
latitude: 0,
|
|
429
|
-
longitude: 0,
|
|
430
|
-
radius_m: 0,
|
|
431
|
-
radius_km: 0,
|
|
432
|
-
poliline_data: [],
|
|
433
437
|
status: "Active" /* Active */
|
|
434
438
|
});
|
|
435
439
|
var findBusStop = async (data) => {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import '../../../core/Enums.js';
|
|
2
2
|
import '../../../core/BaseResponse.js';
|
|
3
3
|
import 'zod';
|
|
4
|
-
export {
|
|
4
|
+
export { xo as OrganisationCalendar, xq as OrganisationCalendarDTO, xs as OrganisationCalendarQueryDTO, xr as OrganisationCalendarQuerySchema, xp as OrganisationCalendarSchema, xw as createOrganisationCalendar, xy as deleteOrganisationCalendar, xv as findOrganisationCalendar, xu as newOrganisationCalendarPayload, xt as toOrganisationCalendarPayload, xx as updateOrganisationCalendar } from '../../../bookmark_service-BV0AXbYV.js';
|
|
5
5
|
import '../../../zod_utils/zod_base_schema.js';
|
|
6
6
|
import '../../gps/reports/gps_models/FuelConsumptionMonthly.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import '../../../core/Enums.js';
|
|
2
2
|
import '../../../core/BaseResponse.js';
|
|
3
3
|
import 'zod';
|
|
4
|
-
export {
|
|
4
|
+
export { qO as MasterRoute, qR as MasterRouteDTO, qT as MasterRouteQueryDTO, qS as MasterRouteQuerySchema, qQ as MasterRouteSchema, qP as MasterRouteStop, qZ as MasterRouteStopCreateDTO, qY as MasterRouteStopCreateSchema, qV as MasterRouteStopDTO, r4 as MasterRouteStopDeleteAllSchema, r5 as MasterRouteStopDeleteDTO, r3 as MasterRouteStopDeleteReOrderDTO, r2 as MasterRouteStopDeleteSchema, q_ as MasterRouteStopIds, q$ as MasterRouteStopIdsDTO, r1 as MasterRouteStopReorderDTO, r0 as MasterRouteStopReorderSchema, qU as MasterRouteStopSchema, qX as MasterRouteStopUpdateDTO, qW as MasterRouteStopUpdateSchema, rd as appendRouteStop, r9 as createMasterRoute, rc as createStopsFirstTimeRoute, rb as deleteMasterRoute, rh as deleteRouteStopReorder, rg as deleteRouteStopsAll, r8 as findMasterRoute, r7 as newMasterRoutePayload, rf as reorderRouteStops, r6 as toMasterRoutePayload, ra as updateMasterRoute, re as updateRouteStop } from '../../../bookmark_service-BV0AXbYV.js';
|
|
5
5
|
import '../../../zod_utils/zod_base_schema.js';
|
|
6
6
|
import '../../gps/reports/gps_models/FuelConsumptionMonthly.js';
|