grm-shared-library 1.0.112 → 1.0.114
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/index.d.ts +1 -0
- package/dist/index.js +1 -0
- package/dist/modules/response-unit/dtos/person-unit/base-person-unit.dto.d.ts +12 -0
- package/dist/modules/response-unit/dtos/person-unit/base-person-unit.dto.js +50 -0
- package/dist/modules/response-unit/dtos/person-unit/create-person-unit.dto.d.ts +5 -0
- package/dist/modules/response-unit/dtos/person-unit/create-person-unit.dto.js +8 -0
- package/dist/modules/response-unit/dtos/person-unit/person-unit.dto.d.ts +3 -0
- package/dist/modules/response-unit/dtos/person-unit/person-unit.dto.js +7 -0
- package/dist/modules/response-unit/dtos/person-unit/update-person-unit.dto.d.ts +5 -0
- package/dist/modules/response-unit/dtos/person-unit/update-person-unit.dto.js +8 -0
- package/dist/modules/response-unit/dtos/response-unit/base-response-unit.dto.d.ts +16 -0
- package/dist/modules/response-unit/dtos/response-unit/base-response-unit.dto.js +70 -0
- package/dist/modules/response-unit/dtos/response-unit/create-response-unit.dto.d.ts +5 -0
- package/dist/modules/response-unit/dtos/response-unit/create-response-unit.dto.js +8 -0
- package/dist/modules/response-unit/dtos/response-unit/response-unit.dto.d.ts +3 -0
- package/dist/modules/response-unit/dtos/response-unit/response-unit.dto.js +7 -0
- package/dist/modules/response-unit/dtos/response-unit/station.dto.d.ts +5 -0
- package/dist/modules/response-unit/dtos/response-unit/station.dto.js +27 -0
- package/dist/modules/response-unit/dtos/response-unit/update-response-unit.dto.d.ts +5 -0
- package/dist/modules/response-unit/dtos/response-unit/update-response-unit.dto.js +8 -0
- package/dist/modules/response-unit/dtos/team-unit/base-team-unit.dto.d.ts +8 -0
- package/dist/modules/response-unit/dtos/team-unit/base-team-unit.dto.js +36 -0
- package/dist/modules/response-unit/dtos/team-unit/create-team-unit.dto.d.ts +5 -0
- package/dist/modules/response-unit/dtos/team-unit/create-team-unit.dto.js +8 -0
- package/dist/modules/response-unit/dtos/team-unit/team-unit.dto.d.ts +3 -0
- package/dist/modules/response-unit/dtos/team-unit/team-unit.dto.js +7 -0
- package/dist/modules/response-unit/dtos/team-unit/update-team-unit.dto.d.ts +5 -0
- package/dist/modules/response-unit/dtos/team-unit/update-team-unit.dto.js +8 -0
- package/dist/modules/response-unit/dtos/vehicle-unit/base-vehicle-unit.dto.d.ts +19 -0
- package/dist/modules/response-unit/dtos/vehicle-unit/base-vehicle-unit.dto.js +80 -0
- package/dist/modules/response-unit/dtos/vehicle-unit/create-vehicle-unit.dto.d.ts +5 -0
- package/dist/modules/response-unit/dtos/vehicle-unit/create-vehicle-unit.dto.js +8 -0
- package/dist/modules/response-unit/dtos/vehicle-unit/crew/create-vehicle-unit-crew.dto.d.ts +5 -0
- package/dist/modules/response-unit/dtos/vehicle-unit/crew/create-vehicle-unit-crew.dto.js +8 -0
- package/dist/modules/response-unit/dtos/vehicle-unit/crew/update-vehicle-unit-crew.dto.d.ts +5 -0
- package/dist/modules/response-unit/dtos/vehicle-unit/crew/update-vehicle-unit-crew.dto.js +8 -0
- package/dist/modules/response-unit/dtos/vehicle-unit/crew/vehicle-unit-crew.dto.d.ts +10 -0
- package/dist/modules/response-unit/dtos/vehicle-unit/crew/vehicle-unit-crew.dto.js +50 -0
- package/dist/modules/response-unit/dtos/vehicle-unit/device/create-vehicle-unit-device.dto.d.ts +5 -0
- package/dist/modules/response-unit/dtos/vehicle-unit/device/create-vehicle-unit-device.dto.js +8 -0
- package/dist/modules/response-unit/dtos/vehicle-unit/device/update-vehicle-unit-device.dto.d.ts +5 -0
- package/dist/modules/response-unit/dtos/vehicle-unit/device/update-vehicle-unit-device.dto.js +8 -0
- package/dist/modules/response-unit/dtos/vehicle-unit/device/vehicle-unit-device.dto.d.ts +17 -0
- package/dist/modules/response-unit/dtos/vehicle-unit/device/vehicle-unit-device.dto.js +82 -0
- package/dist/modules/response-unit/dtos/vehicle-unit/update-vehicle-unit.dto.d.ts +5 -0
- package/dist/modules/response-unit/dtos/vehicle-unit/update-vehicle-unit.dto.js +8 -0
- package/dist/modules/response-unit/dtos/vehicle-unit/vehicle-type/ambulance-vehicle/ambulance-vehicle.dto.d.ts +3 -0
- package/dist/modules/response-unit/dtos/vehicle-unit/vehicle-type/ambulance-vehicle/ambulance-vehicle.dto.js +7 -0
- package/dist/modules/response-unit/dtos/vehicle-unit/vehicle-type/ambulance-vehicle/base-ambulance-vehicle.dto.d.ts +6 -0
- package/dist/modules/response-unit/dtos/vehicle-unit/vehicle-type/ambulance-vehicle/base-ambulance-vehicle.dto.js +26 -0
- package/dist/modules/response-unit/dtos/vehicle-unit/vehicle-type/ambulance-vehicle/create-ambulance-vehicle.dto.d.ts +5 -0
- package/dist/modules/response-unit/dtos/vehicle-unit/vehicle-type/ambulance-vehicle/create-ambulance-vehicle.dto.js +8 -0
- package/dist/modules/response-unit/dtos/vehicle-unit/vehicle-type/ambulance-vehicle/update-ambulance-vehicle.dto.d.ts +5 -0
- package/dist/modules/response-unit/dtos/vehicle-unit/vehicle-type/ambulance-vehicle/update-ambulance-vehicle.dto.js +8 -0
- package/dist/modules/response-unit/dtos/vehicle-unit/vehicle-type/fire-vehicle/base-fire-vehicle.dto.d.ts +6 -0
- package/dist/modules/response-unit/dtos/vehicle-unit/vehicle-type/fire-vehicle/base-fire-vehicle.dto.js +26 -0
- package/dist/modules/response-unit/dtos/vehicle-unit/vehicle-type/fire-vehicle/create-fire-vehicle.dto.d.ts +5 -0
- package/dist/modules/response-unit/dtos/vehicle-unit/vehicle-type/fire-vehicle/create-fire-vehicle.dto.js +8 -0
- package/dist/modules/response-unit/dtos/vehicle-unit/vehicle-type/fire-vehicle/fire-vehicle.dto.d.ts +3 -0
- package/dist/modules/response-unit/dtos/vehicle-unit/vehicle-type/fire-vehicle/fire-vehicle.dto.js +7 -0
- package/dist/modules/response-unit/dtos/vehicle-unit/vehicle-type/fire-vehicle/update-fire-vehicle.dto.d.ts +5 -0
- package/dist/modules/response-unit/dtos/vehicle-unit/vehicle-type/fire-vehicle/update-fire-vehicle.dto.js +8 -0
- package/dist/modules/response-unit/dtos/vehicle-unit/vehicle-type/road-rescue-vehicle/base-road-rescue-vehicle.dto.d.ts +6 -0
- package/dist/modules/response-unit/dtos/vehicle-unit/vehicle-type/road-rescue-vehicle/base-road-rescue-vehicle.dto.js +22 -0
- package/dist/modules/response-unit/dtos/vehicle-unit/vehicle-type/road-rescue-vehicle/create-road-rescue-vehicle.dto.d.ts +5 -0
- package/dist/modules/response-unit/dtos/vehicle-unit/vehicle-type/road-rescue-vehicle/create-road-rescue-vehicle.dto.js +8 -0
- package/dist/modules/response-unit/dtos/vehicle-unit/vehicle-type/road-rescue-vehicle/road-rescue-vehicle.dto.d.ts +3 -0
- package/dist/modules/response-unit/dtos/vehicle-unit/vehicle-type/road-rescue-vehicle/road-rescue-vehicle.dto.js +7 -0
- package/dist/modules/response-unit/dtos/vehicle-unit/vehicle-type/road-rescue-vehicle/update-road-rescue-vehicle.dto.d.ts +5 -0
- package/dist/modules/response-unit/dtos/vehicle-unit/vehicle-type/road-rescue-vehicle/update-road-rescue-vehicle.dto.js +8 -0
- package/dist/modules/response-unit/dtos/vehicle-unit/vehicle-type/security-vehicle/base-security-vehicle.dto.d.ts +6 -0
- package/dist/modules/response-unit/dtos/vehicle-unit/vehicle-type/security-vehicle/base-security-vehicle.dto.js +22 -0
- package/dist/modules/response-unit/dtos/vehicle-unit/vehicle-type/security-vehicle/create-security-vehicle.dto.d.ts +5 -0
- package/dist/modules/response-unit/dtos/vehicle-unit/vehicle-type/security-vehicle/create-security-vehicle.dto.js +8 -0
- package/dist/modules/response-unit/dtos/vehicle-unit/vehicle-type/security-vehicle/security-vehicle.dto.d.ts +3 -0
- package/dist/modules/response-unit/dtos/vehicle-unit/vehicle-type/security-vehicle/security-vehicle.dto.js +7 -0
- package/dist/modules/response-unit/dtos/vehicle-unit/vehicle-type/security-vehicle/update-security-vehicle.dto.d.ts +5 -0
- package/dist/modules/response-unit/dtos/vehicle-unit/vehicle-type/security-vehicle/update-security-vehicle.dto.js +8 -0
- package/dist/modules/response-unit/dtos/vehicle-unit/vehicle-unit.dto.d.ts +3 -0
- package/dist/modules/response-unit/dtos/vehicle-unit/vehicle-unit.dto.js +7 -0
- package/dist/modules/response-unit/enums/ambulance-vehicle-type.enum.d.ts +8 -0
- package/dist/modules/response-unit/enums/ambulance-vehicle-type.enum.js +12 -0
- package/dist/modules/response-unit/enums/fire-vehicle-type.enum.d.ts +8 -0
- package/dist/modules/response-unit/enums/fire-vehicle-type.enum.js +12 -0
- package/dist/modules/response-unit/enums/person-unit/person-unit-category.enum.d.ts +10 -0
- package/dist/modules/response-unit/enums/person-unit/person-unit-category.enum.js +14 -0
- package/dist/modules/response-unit/enums/person-unit/person-unit-status.enum.d.ts +7 -0
- package/dist/modules/response-unit/enums/person-unit/person-unit-status.enum.js +11 -0
- package/dist/modules/response-unit/enums/person-unit-category.enum.d.ts +10 -0
- package/dist/modules/response-unit/enums/person-unit-category.enum.js +14 -0
- package/dist/modules/response-unit/enums/person-unit-status.enum.d.ts +7 -0
- package/dist/modules/response-unit/enums/person-unit-status.enum.js +11 -0
- package/dist/modules/response-unit/enums/response-unit/response-unit-type.enum.d.ts +5 -0
- package/dist/modules/response-unit/enums/response-unit/response-unit-type.enum.js +9 -0
- package/dist/modules/response-unit/enums/response-unit-type.enum.d.ts +5 -0
- package/dist/modules/response-unit/enums/response-unit-type.enum.js +9 -0
- package/dist/modules/response-unit/enums/road-rescue-vehicle-type.enum.d.ts +6 -0
- package/dist/modules/response-unit/enums/road-rescue-vehicle-type.enum.js +10 -0
- package/dist/modules/response-unit/enums/security-vehicle-type.enum.d.ts +7 -0
- package/dist/modules/response-unit/enums/security-vehicle-type.enum.js +11 -0
- package/dist/modules/response-unit/enums/vehicle-unit/vehicle-type/ambulance-vehicle-type.enum.d.ts +8 -0
- package/dist/modules/response-unit/enums/vehicle-unit/vehicle-type/ambulance-vehicle-type.enum.js +12 -0
- package/dist/modules/response-unit/enums/vehicle-unit/vehicle-type/fire-vehicle-type.enum.d.ts +8 -0
- package/dist/modules/response-unit/enums/vehicle-unit/vehicle-type/fire-vehicle-type.enum.js +12 -0
- package/dist/modules/response-unit/enums/vehicle-unit/vehicle-type/road-rescue-vehicle-type.enum.d.ts +6 -0
- package/dist/modules/response-unit/enums/vehicle-unit/vehicle-type/road-rescue-vehicle-type.enum.js +10 -0
- package/dist/modules/response-unit/enums/vehicle-unit/vehicle-type/security-vehicle-type.enum.d.ts +7 -0
- package/dist/modules/response-unit/enums/vehicle-unit/vehicle-type/security-vehicle-type.enum.js +11 -0
- package/dist/modules/response-unit/enums/vehicle-unit/vehicle-unit-ownership.enum.d.ts +7 -0
- package/dist/modules/response-unit/enums/vehicle-unit/vehicle-unit-ownership.enum.js +11 -0
- package/dist/modules/response-unit/enums/vehicle-unit/vehicle-unit-status.enum.d.ts +5 -0
- package/dist/modules/response-unit/enums/vehicle-unit/vehicle-unit-status.enum.js +9 -0
- package/dist/modules/response-unit/enums/vehicle-unit/vehicle-unit-type.enum.d.ts +6 -0
- package/dist/modules/response-unit/enums/vehicle-unit/vehicle-unit-type.enum.js +10 -0
- package/dist/modules/response-unit/enums/vehicle-unit-ownership.enum.d.ts +7 -0
- package/dist/modules/response-unit/enums/vehicle-unit-ownership.enum.js +11 -0
- package/dist/modules/response-unit/enums/vehicle-unit-status.enum.d.ts +5 -0
- package/dist/modules/response-unit/enums/vehicle-unit-status.enum.js +9 -0
- package/dist/modules/response-unit/enums/vehicle-unit-type.enum.d.ts +6 -0
- package/dist/modules/response-unit/enums/vehicle-unit-type.enum.js +10 -0
- package/dist/modules/response-unit/index.d.ts +59 -0
- package/dist/modules/response-unit/index.js +88 -0
- package/dist/modules/response-unit/interfaces/ambulance-vehicle.d.ts +5 -0
- package/dist/modules/response-unit/interfaces/ambulance-vehicle.js +2 -0
- package/dist/modules/response-unit/interfaces/fire-vehicle.d.ts +5 -0
- package/dist/modules/response-unit/interfaces/fire-vehicle.js +2 -0
- package/dist/modules/response-unit/interfaces/person-unit/person-unit.d.ts +11 -0
- package/dist/modules/response-unit/interfaces/person-unit/person-unit.js +2 -0
- package/dist/modules/response-unit/interfaces/person-unit.d.ts +11 -0
- package/dist/modules/response-unit/interfaces/person-unit.js +2 -0
- package/dist/modules/response-unit/interfaces/response-unit/response-unit.d.ts +21 -0
- package/dist/modules/response-unit/interfaces/response-unit/response-unit.js +2 -0
- package/dist/modules/response-unit/interfaces/response-unit.d.ts +16 -0
- package/dist/modules/response-unit/interfaces/response-unit.js +2 -0
- package/dist/modules/response-unit/interfaces/road-rescue-vehicle.d.ts +5 -0
- package/dist/modules/response-unit/interfaces/road-rescue-vehicle.js +2 -0
- package/dist/modules/response-unit/interfaces/security-vehicle.d.ts +5 -0
- package/dist/modules/response-unit/interfaces/security-vehicle.js +2 -0
- package/dist/modules/response-unit/interfaces/team-unit/team-unit.d.ts +7 -0
- package/dist/modules/response-unit/interfaces/team-unit/team-unit.js +2 -0
- package/dist/modules/response-unit/interfaces/team-unit.d.ts +7 -0
- package/dist/modules/response-unit/interfaces/team-unit.js +2 -0
- package/dist/modules/response-unit/interfaces/vehicle-unit/vehicle-type/ambulance-vehicle.d.ts +5 -0
- package/dist/modules/response-unit/interfaces/vehicle-unit/vehicle-type/ambulance-vehicle.js +2 -0
- package/dist/modules/response-unit/interfaces/vehicle-unit/vehicle-type/fire-vehicle.d.ts +5 -0
- package/dist/modules/response-unit/interfaces/vehicle-unit/vehicle-type/fire-vehicle.js +2 -0
- package/dist/modules/response-unit/interfaces/vehicle-unit/vehicle-type/road-rescue-vehicle.d.ts +5 -0
- package/dist/modules/response-unit/interfaces/vehicle-unit/vehicle-type/road-rescue-vehicle.js +2 -0
- package/dist/modules/response-unit/interfaces/vehicle-unit/vehicle-type/security-vehicle.d.ts +5 -0
- package/dist/modules/response-unit/interfaces/vehicle-unit/vehicle-type/security-vehicle.js +2 -0
- package/dist/modules/response-unit/interfaces/vehicle-unit/vehicle-unit-crew.d.ts +10 -0
- package/dist/modules/response-unit/interfaces/vehicle-unit/vehicle-unit-crew.js +2 -0
- package/dist/modules/response-unit/interfaces/vehicle-unit/vehicle-unit-device.d.ts +15 -0
- package/dist/modules/response-unit/interfaces/vehicle-unit/vehicle-unit-device.js +2 -0
- package/dist/modules/response-unit/interfaces/vehicle-unit/vehicle-unit.d.ts +17 -0
- package/dist/modules/response-unit/interfaces/vehicle-unit/vehicle-unit.js +2 -0
- package/dist/modules/response-unit/interfaces/vehicle-unit-crew.d.ts +8 -0
- package/dist/modules/response-unit/interfaces/vehicle-unit-crew.js +2 -0
- package/dist/modules/response-unit/interfaces/vehicle-unit-device.d.ts +15 -0
- package/dist/modules/response-unit/interfaces/vehicle-unit-device.js +2 -0
- package/dist/modules/response-unit/interfaces/vehicle-unit.d.ts +22 -0
- package/dist/modules/response-unit/interfaces/vehicle-unit.js +2 -0
- package/package.json +1 -1
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.PersonUnitStatus = void 0;
|
|
4
|
+
var PersonUnitStatus;
|
|
5
|
+
(function (PersonUnitStatus) {
|
|
6
|
+
PersonUnitStatus["ON_DUTY"] = "On Duty";
|
|
7
|
+
PersonUnitStatus["OFF_DUTY"] = "Off Duty";
|
|
8
|
+
PersonUnitStatus["ON_LEAVE"] = "On Leave";
|
|
9
|
+
PersonUnitStatus["ON_MISSION"] = "On Mission";
|
|
10
|
+
PersonUnitStatus["ON_TRAINING"] = "On Training";
|
|
11
|
+
})(PersonUnitStatus || (exports.PersonUnitStatus = PersonUnitStatus = {}));
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ResponseUnitType = void 0;
|
|
4
|
+
var ResponseUnitType;
|
|
5
|
+
(function (ResponseUnitType) {
|
|
6
|
+
ResponseUnitType["VEHICLE_UNIT"] = "Vehicle";
|
|
7
|
+
ResponseUnitType["PERSON_UNIT"] = "Person";
|
|
8
|
+
ResponseUnitType["TEAM_UNIT"] = "Team";
|
|
9
|
+
})(ResponseUnitType || (exports.ResponseUnitType = ResponseUnitType = {}));
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ResponseUnitType = void 0;
|
|
4
|
+
var ResponseUnitType;
|
|
5
|
+
(function (ResponseUnitType) {
|
|
6
|
+
ResponseUnitType["VEHICLE_UNIT"] = "Vehicle";
|
|
7
|
+
ResponseUnitType["PERSON_UNIT"] = "Person";
|
|
8
|
+
ResponseUnitType["TEAM_UNIT"] = "Team";
|
|
9
|
+
})(ResponseUnitType || (exports.ResponseUnitType = ResponseUnitType = {}));
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.RoadRescueVehicleType = void 0;
|
|
4
|
+
var RoadRescueVehicleType;
|
|
5
|
+
(function (RoadRescueVehicleType) {
|
|
6
|
+
RoadRescueVehicleType["TOW_TRUCK"] = "Tow-truck";
|
|
7
|
+
RoadRescueVehicleType["FLATBED"] = "Flatbed";
|
|
8
|
+
RoadRescueVehicleType["HEAVY_DUTY"] = "Heavy-duty";
|
|
9
|
+
RoadRescueVehicleType["SERVICE_TRUCK"] = "Service truck";
|
|
10
|
+
})(RoadRescueVehicleType || (exports.RoadRescueVehicleType = RoadRescueVehicleType = {}));
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.SecurityVehicleType = void 0;
|
|
4
|
+
var SecurityVehicleType;
|
|
5
|
+
(function (SecurityVehicleType) {
|
|
6
|
+
SecurityVehicleType["PATROL"] = "Patrol";
|
|
7
|
+
SecurityVehicleType["RESPONSE"] = "Response";
|
|
8
|
+
SecurityVehicleType["TRANSPORT"] = "Transport";
|
|
9
|
+
SecurityVehicleType["SURVALENCE"] = "Survalence";
|
|
10
|
+
SecurityVehicleType["OTHER"] = "Other";
|
|
11
|
+
})(SecurityVehicleType || (exports.SecurityVehicleType = SecurityVehicleType = {}));
|
package/dist/modules/response-unit/enums/vehicle-unit/vehicle-type/ambulance-vehicle-type.enum.d.ts
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export declare enum AmbulanceVehicleType {
|
|
2
|
+
BASIC_LIFE_SUPPORT = "Basic Life Support (BLS)",
|
|
3
|
+
ADVANCED_LIFE_SUPPORT = "Advanced Life Support (ALS)",
|
|
4
|
+
CRITICAL_CARE_TRANSPORT = "Critical Care Transport (CCT)",
|
|
5
|
+
AIR_AMBULANCE_TRANSPORT = "Air Ambulance Transport (AAT)",
|
|
6
|
+
NEONATAL_TRANSPORT = "Neonatal Transport",
|
|
7
|
+
BARIATRIC_TRANSPORT = "Bariatric Transport"
|
|
8
|
+
}
|
package/dist/modules/response-unit/enums/vehicle-unit/vehicle-type/ambulance-vehicle-type.enum.js
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.AmbulanceVehicleType = void 0;
|
|
4
|
+
var AmbulanceVehicleType;
|
|
5
|
+
(function (AmbulanceVehicleType) {
|
|
6
|
+
AmbulanceVehicleType["BASIC_LIFE_SUPPORT"] = "Basic Life Support (BLS)";
|
|
7
|
+
AmbulanceVehicleType["ADVANCED_LIFE_SUPPORT"] = "Advanced Life Support (ALS)";
|
|
8
|
+
AmbulanceVehicleType["CRITICAL_CARE_TRANSPORT"] = "Critical Care Transport (CCT)";
|
|
9
|
+
AmbulanceVehicleType["AIR_AMBULANCE_TRANSPORT"] = "Air Ambulance Transport (AAT)";
|
|
10
|
+
AmbulanceVehicleType["NEONATAL_TRANSPORT"] = "Neonatal Transport";
|
|
11
|
+
AmbulanceVehicleType["BARIATRIC_TRANSPORT"] = "Bariatric Transport";
|
|
12
|
+
})(AmbulanceVehicleType || (exports.AmbulanceVehicleType = AmbulanceVehicleType = {}));
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.FireVehicleType = void 0;
|
|
4
|
+
var FireVehicleType;
|
|
5
|
+
(function (FireVehicleType) {
|
|
6
|
+
FireVehicleType["PUMPER"] = "Pumper";
|
|
7
|
+
FireVehicleType["AERIAL"] = "Aerial";
|
|
8
|
+
FireVehicleType["RESCUE"] = "Rescue";
|
|
9
|
+
FireVehicleType["TANKER"] = "Tanker";
|
|
10
|
+
FireVehicleType["WILDLAND"] = "Wildland";
|
|
11
|
+
FireVehicleType["COMMAND"] = "Command";
|
|
12
|
+
})(FireVehicleType || (exports.FireVehicleType = FireVehicleType = {}));
|
package/dist/modules/response-unit/enums/vehicle-unit/vehicle-type/road-rescue-vehicle-type.enum.js
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.RoadRescueVehicleType = void 0;
|
|
4
|
+
var RoadRescueVehicleType;
|
|
5
|
+
(function (RoadRescueVehicleType) {
|
|
6
|
+
RoadRescueVehicleType["TOW_TRUCK"] = "Tow-truck";
|
|
7
|
+
RoadRescueVehicleType["FLATBED"] = "Flatbed";
|
|
8
|
+
RoadRescueVehicleType["HEAVY_DUTY"] = "Heavy-duty";
|
|
9
|
+
RoadRescueVehicleType["SERVICE_TRUCK"] = "Service truck";
|
|
10
|
+
})(RoadRescueVehicleType || (exports.RoadRescueVehicleType = RoadRescueVehicleType = {}));
|
package/dist/modules/response-unit/enums/vehicle-unit/vehicle-type/security-vehicle-type.enum.js
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.SecurityVehicleType = void 0;
|
|
4
|
+
var SecurityVehicleType;
|
|
5
|
+
(function (SecurityVehicleType) {
|
|
6
|
+
SecurityVehicleType["PATROL"] = "Patrol";
|
|
7
|
+
SecurityVehicleType["RESPONSE"] = "Response";
|
|
8
|
+
SecurityVehicleType["TRANSPORT"] = "Transport";
|
|
9
|
+
SecurityVehicleType["SURVALENCE"] = "Survalence";
|
|
10
|
+
SecurityVehicleType["OTHER"] = "Other";
|
|
11
|
+
})(SecurityVehicleType || (exports.SecurityVehicleType = SecurityVehicleType = {}));
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.VehicleUnitOwnership = void 0;
|
|
4
|
+
var VehicleUnitOwnership;
|
|
5
|
+
(function (VehicleUnitOwnership) {
|
|
6
|
+
VehicleUnitOwnership["PRIVATE"] = "Private";
|
|
7
|
+
VehicleUnitOwnership["PUBLIC"] = "Public";
|
|
8
|
+
VehicleUnitOwnership["NGO"] = "NGO";
|
|
9
|
+
VehicleUnitOwnership["MISSION"] = "Mission";
|
|
10
|
+
VehicleUnitOwnership["OTHER"] = "Other";
|
|
11
|
+
})(VehicleUnitOwnership || (exports.VehicleUnitOwnership = VehicleUnitOwnership = {}));
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.VehicleUnitStatus = void 0;
|
|
4
|
+
var VehicleUnitStatus;
|
|
5
|
+
(function (VehicleUnitStatus) {
|
|
6
|
+
VehicleUnitStatus["OPERATIONAL"] = "Operational";
|
|
7
|
+
VehicleUnitStatus["NON_OPERATIONAL"] = "Non Operational";
|
|
8
|
+
VehicleUnitStatus["ENGAGED"] = "Engaged";
|
|
9
|
+
})(VehicleUnitStatus || (exports.VehicleUnitStatus = VehicleUnitStatus = {}));
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.VehicleUnitType = void 0;
|
|
4
|
+
var VehicleUnitType;
|
|
5
|
+
(function (VehicleUnitType) {
|
|
6
|
+
VehicleUnitType["AMBULANCE"] = "Ambulance";
|
|
7
|
+
VehicleUnitType["SECURITY"] = "Security";
|
|
8
|
+
VehicleUnitType["FIRE"] = "Fire";
|
|
9
|
+
VehicleUnitType["ROAD_RESCUE"] = "Road Rescue";
|
|
10
|
+
})(VehicleUnitType || (exports.VehicleUnitType = VehicleUnitType = {}));
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.VehicleUnitOwnership = void 0;
|
|
4
|
+
var VehicleUnitOwnership;
|
|
5
|
+
(function (VehicleUnitOwnership) {
|
|
6
|
+
VehicleUnitOwnership["PRIVATE"] = "Private";
|
|
7
|
+
VehicleUnitOwnership["PUBLIC"] = "Public";
|
|
8
|
+
VehicleUnitOwnership["NGO"] = "NGO";
|
|
9
|
+
VehicleUnitOwnership["MISSION"] = "Mission";
|
|
10
|
+
VehicleUnitOwnership["OTHER"] = "Other";
|
|
11
|
+
})(VehicleUnitOwnership || (exports.VehicleUnitOwnership = VehicleUnitOwnership = {}));
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.VehicleUnitStatus = void 0;
|
|
4
|
+
var VehicleUnitStatus;
|
|
5
|
+
(function (VehicleUnitStatus) {
|
|
6
|
+
VehicleUnitStatus["OPERATIONAL"] = "Operational";
|
|
7
|
+
VehicleUnitStatus["NON_OPERATIONAL"] = "Non Operational";
|
|
8
|
+
VehicleUnitStatus["ENGAGED"] = "Engaged";
|
|
9
|
+
})(VehicleUnitStatus || (exports.VehicleUnitStatus = VehicleUnitStatus = {}));
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.VehicleUnitType = void 0;
|
|
4
|
+
var VehicleUnitType;
|
|
5
|
+
(function (VehicleUnitType) {
|
|
6
|
+
VehicleUnitType["AMBULANCE"] = "Ambulance";
|
|
7
|
+
VehicleUnitType["SECURITY"] = "Security";
|
|
8
|
+
VehicleUnitType["FIRE"] = "Fire";
|
|
9
|
+
VehicleUnitType["ROAD_RESCUE"] = "Road Rescue";
|
|
10
|
+
})(VehicleUnitType || (exports.VehicleUnitType = VehicleUnitType = {}));
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
export * from './dtos/response-unit/base-response-unit.dto';
|
|
2
|
+
export * from './dtos/response-unit/create-response-unit.dto';
|
|
3
|
+
export * from './dtos/response-unit/update-response-unit.dto';
|
|
4
|
+
export * from './dtos/response-unit/response-unit.dto';
|
|
5
|
+
export * from './dtos/response-unit/station.dto';
|
|
6
|
+
export * from './dtos/person-unit/base-person-unit.dto';
|
|
7
|
+
export * from './dtos/person-unit/create-person-unit.dto';
|
|
8
|
+
export * from './dtos/person-unit/update-person-unit.dto';
|
|
9
|
+
export * from './dtos/person-unit/person-unit.dto';
|
|
10
|
+
export * from './dtos/team-unit/base-team-unit.dto';
|
|
11
|
+
export * from './dtos/team-unit/create-team-unit.dto';
|
|
12
|
+
export * from './dtos/team-unit/update-team-unit.dto';
|
|
13
|
+
export * from './dtos/team-unit/team-unit.dto';
|
|
14
|
+
export * from './dtos/vehicle-unit/base-vehicle-unit.dto';
|
|
15
|
+
export * from './dtos/vehicle-unit/create-vehicle-unit.dto';
|
|
16
|
+
export * from './dtos/vehicle-unit/update-vehicle-unit.dto';
|
|
17
|
+
export * from './dtos/vehicle-unit/vehicle-unit.dto';
|
|
18
|
+
export * from './dtos/vehicle-unit/vehicle-type/ambulance-vehicle/base-ambulance-vehicle.dto';
|
|
19
|
+
export * from './dtos/vehicle-unit/vehicle-type/ambulance-vehicle/create-ambulance-vehicle.dto';
|
|
20
|
+
export * from './dtos/vehicle-unit/vehicle-type/ambulance-vehicle/update-ambulance-vehicle.dto';
|
|
21
|
+
export * from './dtos/vehicle-unit/vehicle-type/ambulance-vehicle/ambulance-vehicle.dto';
|
|
22
|
+
export * from './dtos/vehicle-unit/vehicle-type/security-vehicle/base-security-vehicle.dto';
|
|
23
|
+
export * from './dtos/vehicle-unit/vehicle-type/security-vehicle/create-security-vehicle.dto';
|
|
24
|
+
export * from './dtos/vehicle-unit/vehicle-type/security-vehicle/update-security-vehicle.dto';
|
|
25
|
+
export * from './dtos/vehicle-unit/vehicle-type/security-vehicle/security-vehicle.dto';
|
|
26
|
+
export * from './dtos/vehicle-unit/vehicle-type/fire-vehicle/base-fire-vehicle.dto';
|
|
27
|
+
export * from './dtos/vehicle-unit/vehicle-type/fire-vehicle/create-fire-vehicle.dto';
|
|
28
|
+
export * from './dtos/vehicle-unit/vehicle-type/fire-vehicle/update-fire-vehicle.dto';
|
|
29
|
+
export * from './dtos/vehicle-unit/vehicle-type/fire-vehicle/fire-vehicle.dto';
|
|
30
|
+
export * from './dtos/vehicle-unit/vehicle-type/road-rescue-vehicle/base-road-rescue-vehicle.dto';
|
|
31
|
+
export * from './dtos/vehicle-unit/vehicle-type/road-rescue-vehicle/create-road-rescue-vehicle.dto';
|
|
32
|
+
export * from './dtos/vehicle-unit/vehicle-type/road-rescue-vehicle/update-road-rescue-vehicle.dto';
|
|
33
|
+
export * from './dtos/vehicle-unit/vehicle-type/road-rescue-vehicle/road-rescue-vehicle.dto';
|
|
34
|
+
export * from './dtos/vehicle-unit/crew/create-vehicle-unit-crew.dto';
|
|
35
|
+
export * from './dtos/vehicle-unit/crew/update-vehicle-unit-crew.dto';
|
|
36
|
+
export * from './dtos/vehicle-unit/crew/vehicle-unit-crew.dto';
|
|
37
|
+
export * from './dtos/vehicle-unit/device/create-vehicle-unit-device.dto';
|
|
38
|
+
export * from './dtos/vehicle-unit/device/update-vehicle-unit-device.dto';
|
|
39
|
+
export * from './dtos/vehicle-unit/device/vehicle-unit-device.dto';
|
|
40
|
+
export * from './interfaces/response-unit/response-unit';
|
|
41
|
+
export * from './interfaces/person-unit/person-unit';
|
|
42
|
+
export * from './interfaces/team-unit/team-unit';
|
|
43
|
+
export * from './interfaces/vehicle-unit/vehicle-unit';
|
|
44
|
+
export * from './interfaces/vehicle-unit/vehicle-unit-crew';
|
|
45
|
+
export * from './interfaces/vehicle-unit/vehicle-unit-device';
|
|
46
|
+
export * from './interfaces/vehicle-unit/vehicle-type/ambulance-vehicle';
|
|
47
|
+
export * from './interfaces/vehicle-unit/vehicle-type/security-vehicle';
|
|
48
|
+
export * from './interfaces/vehicle-unit/vehicle-type/fire-vehicle';
|
|
49
|
+
export * from './interfaces/vehicle-unit/vehicle-type/road-rescue-vehicle';
|
|
50
|
+
export * from './enums/response-unit/response-unit-type.enum';
|
|
51
|
+
export * from './enums/person-unit/person-unit-category.enum';
|
|
52
|
+
export * from './enums/person-unit/person-unit-status.enum';
|
|
53
|
+
export * from './enums/vehicle-unit/vehicle-unit-ownership.enum';
|
|
54
|
+
export * from './enums/vehicle-unit/vehicle-unit-status.enum';
|
|
55
|
+
export * from './enums/vehicle-unit/vehicle-unit-type.enum';
|
|
56
|
+
export * from './enums/vehicle-unit/vehicle-type/ambulance-vehicle-type.enum';
|
|
57
|
+
export * from './enums/vehicle-unit/vehicle-type/security-vehicle-type.enum';
|
|
58
|
+
export * from './enums/vehicle-unit/vehicle-type/fire-vehicle-type.enum';
|
|
59
|
+
export * from './enums/vehicle-unit/vehicle-type/road-rescue-vehicle-type.enum';
|
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
// DTOs
|
|
18
|
+
// Response Unit
|
|
19
|
+
__exportStar(require("./dtos/response-unit/base-response-unit.dto"), exports);
|
|
20
|
+
__exportStar(require("./dtos/response-unit/create-response-unit.dto"), exports);
|
|
21
|
+
__exportStar(require("./dtos/response-unit/update-response-unit.dto"), exports);
|
|
22
|
+
__exportStar(require("./dtos/response-unit/response-unit.dto"), exports);
|
|
23
|
+
__exportStar(require("./dtos/response-unit/station.dto"), exports);
|
|
24
|
+
// Response Unit - Person Unit
|
|
25
|
+
__exportStar(require("./dtos/person-unit/base-person-unit.dto"), exports);
|
|
26
|
+
__exportStar(require("./dtos/person-unit/create-person-unit.dto"), exports);
|
|
27
|
+
__exportStar(require("./dtos/person-unit/update-person-unit.dto"), exports);
|
|
28
|
+
__exportStar(require("./dtos/person-unit/person-unit.dto"), exports);
|
|
29
|
+
// Response Unit - Team Unit
|
|
30
|
+
__exportStar(require("./dtos/team-unit/base-team-unit.dto"), exports);
|
|
31
|
+
__exportStar(require("./dtos/team-unit/create-team-unit.dto"), exports);
|
|
32
|
+
__exportStar(require("./dtos/team-unit/update-team-unit.dto"), exports);
|
|
33
|
+
__exportStar(require("./dtos/team-unit/team-unit.dto"), exports);
|
|
34
|
+
// Response Unit - Vehicle Unit
|
|
35
|
+
__exportStar(require("./dtos/vehicle-unit/base-vehicle-unit.dto"), exports);
|
|
36
|
+
__exportStar(require("./dtos/vehicle-unit/create-vehicle-unit.dto"), exports);
|
|
37
|
+
__exportStar(require("./dtos/vehicle-unit/update-vehicle-unit.dto"), exports);
|
|
38
|
+
__exportStar(require("./dtos/vehicle-unit/vehicle-unit.dto"), exports);
|
|
39
|
+
// Response Unit - Vehicle Unit - Vehicle Type - Ambulance Vehicle
|
|
40
|
+
__exportStar(require("./dtos/vehicle-unit/vehicle-type/ambulance-vehicle/base-ambulance-vehicle.dto"), exports);
|
|
41
|
+
__exportStar(require("./dtos/vehicle-unit/vehicle-type/ambulance-vehicle/create-ambulance-vehicle.dto"), exports);
|
|
42
|
+
__exportStar(require("./dtos/vehicle-unit/vehicle-type/ambulance-vehicle/update-ambulance-vehicle.dto"), exports);
|
|
43
|
+
__exportStar(require("./dtos/vehicle-unit/vehicle-type/ambulance-vehicle/ambulance-vehicle.dto"), exports);
|
|
44
|
+
// Response Unit - Vehicle Unit - Vehicle Type - Security Vehicle
|
|
45
|
+
__exportStar(require("./dtos/vehicle-unit/vehicle-type/security-vehicle/base-security-vehicle.dto"), exports);
|
|
46
|
+
__exportStar(require("./dtos/vehicle-unit/vehicle-type/security-vehicle/create-security-vehicle.dto"), exports);
|
|
47
|
+
__exportStar(require("./dtos/vehicle-unit/vehicle-type/security-vehicle/update-security-vehicle.dto"), exports);
|
|
48
|
+
__exportStar(require("./dtos/vehicle-unit/vehicle-type/security-vehicle/security-vehicle.dto"), exports);
|
|
49
|
+
// Response Unit - Vehicle Unit - Vehicle Type - Fire Vehicle
|
|
50
|
+
__exportStar(require("./dtos/vehicle-unit/vehicle-type/fire-vehicle/base-fire-vehicle.dto"), exports);
|
|
51
|
+
__exportStar(require("./dtos/vehicle-unit/vehicle-type/fire-vehicle/create-fire-vehicle.dto"), exports);
|
|
52
|
+
__exportStar(require("./dtos/vehicle-unit/vehicle-type/fire-vehicle/update-fire-vehicle.dto"), exports);
|
|
53
|
+
__exportStar(require("./dtos/vehicle-unit/vehicle-type/fire-vehicle/fire-vehicle.dto"), exports);
|
|
54
|
+
// Response Unit - Vehicle Unit - Vehicle Type - Road Rescue Vehicle
|
|
55
|
+
__exportStar(require("./dtos/vehicle-unit/vehicle-type/road-rescue-vehicle/base-road-rescue-vehicle.dto"), exports);
|
|
56
|
+
__exportStar(require("./dtos/vehicle-unit/vehicle-type/road-rescue-vehicle/create-road-rescue-vehicle.dto"), exports);
|
|
57
|
+
__exportStar(require("./dtos/vehicle-unit/vehicle-type/road-rescue-vehicle/update-road-rescue-vehicle.dto"), exports);
|
|
58
|
+
__exportStar(require("./dtos/vehicle-unit/vehicle-type/road-rescue-vehicle/road-rescue-vehicle.dto"), exports);
|
|
59
|
+
// Response Unit - Vehicle Unit - crew
|
|
60
|
+
__exportStar(require("./dtos/vehicle-unit/crew/create-vehicle-unit-crew.dto"), exports);
|
|
61
|
+
__exportStar(require("./dtos/vehicle-unit/crew/update-vehicle-unit-crew.dto"), exports);
|
|
62
|
+
__exportStar(require("./dtos/vehicle-unit/crew/vehicle-unit-crew.dto"), exports);
|
|
63
|
+
// Response Unit - Vehicle Unit - device
|
|
64
|
+
__exportStar(require("./dtos/vehicle-unit/device/create-vehicle-unit-device.dto"), exports);
|
|
65
|
+
__exportStar(require("./dtos/vehicle-unit/device/update-vehicle-unit-device.dto"), exports);
|
|
66
|
+
__exportStar(require("./dtos/vehicle-unit/device/vehicle-unit-device.dto"), exports);
|
|
67
|
+
// Interfaces
|
|
68
|
+
__exportStar(require("./interfaces/response-unit/response-unit"), exports);
|
|
69
|
+
__exportStar(require("./interfaces/person-unit/person-unit"), exports);
|
|
70
|
+
__exportStar(require("./interfaces/team-unit/team-unit"), exports);
|
|
71
|
+
__exportStar(require("./interfaces/vehicle-unit/vehicle-unit"), exports);
|
|
72
|
+
__exportStar(require("./interfaces/vehicle-unit/vehicle-unit-crew"), exports);
|
|
73
|
+
__exportStar(require("./interfaces/vehicle-unit/vehicle-unit-device"), exports);
|
|
74
|
+
__exportStar(require("./interfaces/vehicle-unit/vehicle-type/ambulance-vehicle"), exports);
|
|
75
|
+
__exportStar(require("./interfaces/vehicle-unit/vehicle-type/security-vehicle"), exports);
|
|
76
|
+
__exportStar(require("./interfaces/vehicle-unit/vehicle-type/fire-vehicle"), exports);
|
|
77
|
+
__exportStar(require("./interfaces/vehicle-unit/vehicle-type/road-rescue-vehicle"), exports);
|
|
78
|
+
// Enums
|
|
79
|
+
__exportStar(require("./enums/response-unit/response-unit-type.enum"), exports);
|
|
80
|
+
__exportStar(require("./enums/person-unit/person-unit-category.enum"), exports);
|
|
81
|
+
__exportStar(require("./enums/person-unit/person-unit-status.enum"), exports);
|
|
82
|
+
__exportStar(require("./enums/vehicle-unit/vehicle-unit-ownership.enum"), exports);
|
|
83
|
+
__exportStar(require("./enums/vehicle-unit/vehicle-unit-status.enum"), exports);
|
|
84
|
+
__exportStar(require("./enums/vehicle-unit/vehicle-unit-type.enum"), exports);
|
|
85
|
+
__exportStar(require("./enums/vehicle-unit/vehicle-type/ambulance-vehicle-type.enum"), exports);
|
|
86
|
+
__exportStar(require("./enums/vehicle-unit/vehicle-type/security-vehicle-type.enum"), exports);
|
|
87
|
+
__exportStar(require("./enums/vehicle-unit/vehicle-type/fire-vehicle-type.enum"), exports);
|
|
88
|
+
__exportStar(require("./enums/vehicle-unit/vehicle-type/road-rescue-vehicle-type.enum"), exports);
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { PersonUnitCategory } from "../../enums/person-unit/person-unit-category.enum";
|
|
2
|
+
import { PersonUnitStatus } from "../../enums/person-unit/person-unit-status.enum";
|
|
3
|
+
export interface PersonUnit {
|
|
4
|
+
name: string;
|
|
5
|
+
email?: string;
|
|
6
|
+
phoneNumber: string;
|
|
7
|
+
category: PersonUnitCategory;
|
|
8
|
+
designation: string;
|
|
9
|
+
status?: PersonUnitStatus;
|
|
10
|
+
attributes?: Record<string, any>;
|
|
11
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { PersonUnitCategory } from "../enums/person-unit-category.enum";
|
|
2
|
+
import { PersonUnitStatus } from "../enums/person-unit-status.enum";
|
|
3
|
+
export interface PersonUnit {
|
|
4
|
+
name: string;
|
|
5
|
+
email?: string;
|
|
6
|
+
phoneNumber: string;
|
|
7
|
+
category: PersonUnitCategory;
|
|
8
|
+
designation: string;
|
|
9
|
+
status?: PersonUnitStatus;
|
|
10
|
+
attributes?: Record<string, any>;
|
|
11
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { MapAddressDto } from "../../../common";
|
|
2
|
+
import { ResponseUnitType } from "../../enums/response-unit/response-unit-type.enum";
|
|
3
|
+
export interface ResponseUnit {
|
|
4
|
+
id: number;
|
|
5
|
+
name: string;
|
|
6
|
+
description?: string;
|
|
7
|
+
type: ResponseUnitType;
|
|
8
|
+
isActive: boolean;
|
|
9
|
+
location: {
|
|
10
|
+
lat: number;
|
|
11
|
+
lng: number;
|
|
12
|
+
};
|
|
13
|
+
station: {
|
|
14
|
+
name: string;
|
|
15
|
+
address: MapAddressDto;
|
|
16
|
+
};
|
|
17
|
+
controlCenterId: number;
|
|
18
|
+
organizationId: number;
|
|
19
|
+
createdAt?: Date;
|
|
20
|
+
updatedAt?: Date;
|
|
21
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { ResponseUnitType } from "../enums/response-unit-type.enum";
|
|
2
|
+
export interface ResponseUnit {
|
|
3
|
+
id: number;
|
|
4
|
+
name: string;
|
|
5
|
+
description?: string;
|
|
6
|
+
type: ResponseUnitType;
|
|
7
|
+
isActive: boolean;
|
|
8
|
+
location: {
|
|
9
|
+
lat: number;
|
|
10
|
+
lng: number;
|
|
11
|
+
};
|
|
12
|
+
controlCenterId: number;
|
|
13
|
+
organizationId: number;
|
|
14
|
+
createdAt?: Date;
|
|
15
|
+
updatedAt?: Date;
|
|
16
|
+
}
|