grm-shared-library 1.0.119 → 1.0.121
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/modules/response-unit/dtos/person-unit/base-person-unit.dto.d.ts +1 -1
- package/dist/modules/response-unit/dtos/person-unit/base-person-unit.dto.js +1 -1
- package/dist/modules/response-unit/dtos/team-unit/base-team-unit.dto.d.ts +1 -1
- package/dist/modules/response-unit/dtos/team-unit/base-team-unit.dto.js +1 -1
- package/dist/modules/response-unit/dtos/vehicle-unit/base-vehicle-unit.dto.d.ts +1 -1
- package/dist/modules/response-unit/dtos/vehicle-unit/base-vehicle-unit.dto.js +1 -1
- package/dist/modules/response-unit/enums/vehicle-unit/vehicle-crew/ambulance-vehicle-role.enum.d.ts +10 -0
- package/dist/modules/response-unit/enums/vehicle-unit/vehicle-crew/ambulance-vehicle-role.enum.js +14 -0
- package/dist/modules/response-unit/enums/vehicle-unit/vehicle-crew/fire-vehicle-role.enum.d.ts +14 -0
- package/dist/modules/response-unit/enums/vehicle-unit/vehicle-crew/fire-vehicle-role.enum.js +18 -0
- package/dist/modules/response-unit/enums/vehicle-unit/vehicle-crew/road-rescue-vehicle-role.enum.d.ts +13 -0
- package/dist/modules/response-unit/enums/vehicle-unit/vehicle-crew/road-rescue-vehicle-role.enum.js +17 -0
- package/dist/modules/response-unit/enums/vehicle-unit/vehicle-crew/security-vehicle-role.enum.d.ts +13 -0
- package/dist/modules/response-unit/enums/vehicle-unit/vehicle-crew/security-vehicle-role.enum.js +17 -0
- package/dist/modules/response-unit/index.d.ts +4 -0
- package/dist/modules/response-unit/index.js +4 -0
- package/dist/modules/response-unit/interfaces/person-unit/person-unit.d.ts +1 -1
- package/dist/modules/response-unit/interfaces/team-unit/team-unit.d.ts +2 -2
- package/dist/modules/response-unit/interfaces/vehicle-unit/vehicle-unit.d.ts +2 -2
- package/package.json +1 -1
|
@@ -43,7 +43,7 @@ __decorate([
|
|
|
43
43
|
(0, class_validator_1.IsEnum)(person_unit_status_enum_1.PersonUnitStatus),
|
|
44
44
|
(0, class_validator_1.IsOptional)(),
|
|
45
45
|
__metadata("design:type", String)
|
|
46
|
-
], BasePersonUnitDto.prototype, "
|
|
46
|
+
], BasePersonUnitDto.prototype, "personStatus", void 0);
|
|
47
47
|
__decorate([
|
|
48
48
|
(0, class_validator_1.IsOptional)(),
|
|
49
49
|
__metadata("design:type", Object)
|
|
@@ -2,7 +2,7 @@ import { PersonUnitStatus } from "../../enums/person-unit/person-unit-status.enu
|
|
|
2
2
|
import { BaseResponseUnitDto } from "../response-unit/base-response-unit.dto";
|
|
3
3
|
export declare class BaseTeamUnitDto extends BaseResponseUnitDto {
|
|
4
4
|
constructor();
|
|
5
|
-
|
|
5
|
+
teamStatus: PersonUnitStatus;
|
|
6
6
|
crewIds: number[];
|
|
7
7
|
attributes?: Record<string, any>;
|
|
8
8
|
}
|
|
@@ -24,7 +24,7 @@ exports.BaseTeamUnitDto = BaseTeamUnitDto;
|
|
|
24
24
|
__decorate([
|
|
25
25
|
(0, class_validator_1.IsEnum)(person_unit_status_enum_1.PersonUnitStatus),
|
|
26
26
|
__metadata("design:type", String)
|
|
27
|
-
], BaseTeamUnitDto.prototype, "
|
|
27
|
+
], BaseTeamUnitDto.prototype, "teamStatus", void 0);
|
|
28
28
|
__decorate([
|
|
29
29
|
(0, class_validator_1.IsArray)(),
|
|
30
30
|
(0, class_validator_1.IsNumber)({}, { each: true }),
|
|
@@ -8,7 +8,7 @@ export declare class BaseVehicleUnitDto extends BaseResponseUnitDto {
|
|
|
8
8
|
vehicleType: VehicleUnitType;
|
|
9
9
|
phoneNumber: string;
|
|
10
10
|
crewIds: number[];
|
|
11
|
-
|
|
11
|
+
vehicleStatus: VehicleUnitStatus;
|
|
12
12
|
ownership?: VehicleUnitOwnership;
|
|
13
13
|
ownerName?: string;
|
|
14
14
|
deviceId?: number;
|
|
@@ -43,7 +43,7 @@ __decorate([
|
|
|
43
43
|
__decorate([
|
|
44
44
|
(0, class_validator_1.IsEnum)(vehicle_unit_status_enum_1.VehicleUnitStatus),
|
|
45
45
|
__metadata("design:type", String)
|
|
46
|
-
], BaseVehicleUnitDto.prototype, "
|
|
46
|
+
], BaseVehicleUnitDto.prototype, "vehicleStatus", void 0);
|
|
47
47
|
__decorate([
|
|
48
48
|
(0, class_validator_1.IsEnum)(vehicle_unit_ownership_enum_1.VehicleUnitOwnership),
|
|
49
49
|
(0, class_validator_1.IsOptional)(),
|
package/dist/modules/response-unit/enums/vehicle-unit/vehicle-crew/ambulance-vehicle-role.enum.js
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.AmbulanceVehicleRole = void 0;
|
|
4
|
+
var AmbulanceVehicleRole;
|
|
5
|
+
(function (AmbulanceVehicleRole) {
|
|
6
|
+
AmbulanceVehicleRole["OPERATOR"] = "Operator";
|
|
7
|
+
AmbulanceVehicleRole["DRIVER"] = "Driver";
|
|
8
|
+
AmbulanceVehicleRole["PARAMEDIC"] = "Paramedic";
|
|
9
|
+
AmbulanceVehicleRole["NURSE"] = "Nurse";
|
|
10
|
+
AmbulanceVehicleRole["DOCTOR"] = "Doctor";
|
|
11
|
+
AmbulanceVehicleRole["TECHNICIAN"] = "Technician";
|
|
12
|
+
AmbulanceVehicleRole["VOLUNTEER"] = "Volunteer";
|
|
13
|
+
AmbulanceVehicleRole["OTHER"] = "Other";
|
|
14
|
+
})(AmbulanceVehicleRole || (exports.AmbulanceVehicleRole = AmbulanceVehicleRole = {}));
|
package/dist/modules/response-unit/enums/vehicle-unit/vehicle-crew/fire-vehicle-role.enum.d.ts
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
export declare enum FireVehicleRole {
|
|
2
|
+
OPERATOR = "Operator",
|
|
3
|
+
DRIVER = "Driver",
|
|
4
|
+
FIREFIGHTER = "Firefighter",
|
|
5
|
+
CAPTAIN = "Captain",
|
|
6
|
+
LIEUTENANT = "Lieutenant",
|
|
7
|
+
CHIEF = "Chief",
|
|
8
|
+
ENGINEER = "Engineer",
|
|
9
|
+
PARAMEDIC = "Paramedic",
|
|
10
|
+
HAZMAT_SPECIALIST = "Hazmat Specialist",
|
|
11
|
+
RESCUE_SPECIALIST = "Rescue Specialist",
|
|
12
|
+
VOLUNTEER = "Volunteer",
|
|
13
|
+
OTHER = "Other"
|
|
14
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.FireVehicleRole = void 0;
|
|
4
|
+
var FireVehicleRole;
|
|
5
|
+
(function (FireVehicleRole) {
|
|
6
|
+
FireVehicleRole["OPERATOR"] = "Operator";
|
|
7
|
+
FireVehicleRole["DRIVER"] = "Driver";
|
|
8
|
+
FireVehicleRole["FIREFIGHTER"] = "Firefighter";
|
|
9
|
+
FireVehicleRole["CAPTAIN"] = "Captain";
|
|
10
|
+
FireVehicleRole["LIEUTENANT"] = "Lieutenant";
|
|
11
|
+
FireVehicleRole["CHIEF"] = "Chief";
|
|
12
|
+
FireVehicleRole["ENGINEER"] = "Engineer";
|
|
13
|
+
FireVehicleRole["PARAMEDIC"] = "Paramedic";
|
|
14
|
+
FireVehicleRole["HAZMAT_SPECIALIST"] = "Hazmat Specialist";
|
|
15
|
+
FireVehicleRole["RESCUE_SPECIALIST"] = "Rescue Specialist";
|
|
16
|
+
FireVehicleRole["VOLUNTEER"] = "Volunteer";
|
|
17
|
+
FireVehicleRole["OTHER"] = "Other";
|
|
18
|
+
})(FireVehicleRole || (exports.FireVehicleRole = FireVehicleRole = {}));
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export declare enum RoadRescueVehicleRole {
|
|
2
|
+
OPERATOR = "Operator",
|
|
3
|
+
DRIVER = "Driver",
|
|
4
|
+
MECHANIC = "Mechanic",
|
|
5
|
+
TECHNICIAN = "Technician",
|
|
6
|
+
RECOVERY_SPECIALIST = "Recovery Specialist",
|
|
7
|
+
TOW_OPERATOR = "Tow Operator",
|
|
8
|
+
SUPERVISOR = "Supervisor",
|
|
9
|
+
RESCUE_SPECIALIST = "Rescue Specialist",
|
|
10
|
+
TRAFFIC_CONTROLLER = "Traffic Controller",
|
|
11
|
+
FIRST_AID_RESPONDER = "First Aid Responder",
|
|
12
|
+
OTHER = "Other"
|
|
13
|
+
}
|
package/dist/modules/response-unit/enums/vehicle-unit/vehicle-crew/road-rescue-vehicle-role.enum.js
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.RoadRescueVehicleRole = void 0;
|
|
4
|
+
var RoadRescueVehicleRole;
|
|
5
|
+
(function (RoadRescueVehicleRole) {
|
|
6
|
+
RoadRescueVehicleRole["OPERATOR"] = "Operator";
|
|
7
|
+
RoadRescueVehicleRole["DRIVER"] = "Driver";
|
|
8
|
+
RoadRescueVehicleRole["MECHANIC"] = "Mechanic";
|
|
9
|
+
RoadRescueVehicleRole["TECHNICIAN"] = "Technician";
|
|
10
|
+
RoadRescueVehicleRole["RECOVERY_SPECIALIST"] = "Recovery Specialist";
|
|
11
|
+
RoadRescueVehicleRole["TOW_OPERATOR"] = "Tow Operator";
|
|
12
|
+
RoadRescueVehicleRole["SUPERVISOR"] = "Supervisor";
|
|
13
|
+
RoadRescueVehicleRole["RESCUE_SPECIALIST"] = "Rescue Specialist";
|
|
14
|
+
RoadRescueVehicleRole["TRAFFIC_CONTROLLER"] = "Traffic Controller";
|
|
15
|
+
RoadRescueVehicleRole["FIRST_AID_RESPONDER"] = "First Aid Responder";
|
|
16
|
+
RoadRescueVehicleRole["OTHER"] = "Other";
|
|
17
|
+
})(RoadRescueVehicleRole || (exports.RoadRescueVehicleRole = RoadRescueVehicleRole = {}));
|
package/dist/modules/response-unit/enums/vehicle-unit/vehicle-crew/security-vehicle-role.enum.d.ts
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export declare enum SecurityVehicleRole {
|
|
2
|
+
OPERATOR = "Operator",
|
|
3
|
+
DRIVER = "Driver",
|
|
4
|
+
COMMANDER = "Commander",
|
|
5
|
+
SECURITY_OFFICER = "Security Officer",
|
|
6
|
+
SUPERVISOR = "Supervisor",
|
|
7
|
+
GUARD = "Guard",
|
|
8
|
+
ARMED_ESCORT = "Armed Escort",
|
|
9
|
+
K9_HANDLER = "K9 Handler",
|
|
10
|
+
INVESTIGATOR = "Investigator",
|
|
11
|
+
SURVEILLANCE_SPECIALIST = "Surveillance Specialist",
|
|
12
|
+
OTHER = "Other"
|
|
13
|
+
}
|
package/dist/modules/response-unit/enums/vehicle-unit/vehicle-crew/security-vehicle-role.enum.js
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.SecurityVehicleRole = void 0;
|
|
4
|
+
var SecurityVehicleRole;
|
|
5
|
+
(function (SecurityVehicleRole) {
|
|
6
|
+
SecurityVehicleRole["OPERATOR"] = "Operator";
|
|
7
|
+
SecurityVehicleRole["DRIVER"] = "Driver";
|
|
8
|
+
SecurityVehicleRole["COMMANDER"] = "Commander";
|
|
9
|
+
SecurityVehicleRole["SECURITY_OFFICER"] = "Security Officer";
|
|
10
|
+
SecurityVehicleRole["SUPERVISOR"] = "Supervisor";
|
|
11
|
+
SecurityVehicleRole["GUARD"] = "Guard";
|
|
12
|
+
SecurityVehicleRole["ARMED_ESCORT"] = "Armed Escort";
|
|
13
|
+
SecurityVehicleRole["K9_HANDLER"] = "K9 Handler";
|
|
14
|
+
SecurityVehicleRole["INVESTIGATOR"] = "Investigator";
|
|
15
|
+
SecurityVehicleRole["SURVEILLANCE_SPECIALIST"] = "Surveillance Specialist";
|
|
16
|
+
SecurityVehicleRole["OTHER"] = "Other";
|
|
17
|
+
})(SecurityVehicleRole || (exports.SecurityVehicleRole = SecurityVehicleRole = {}));
|
|
@@ -58,6 +58,10 @@ export * from './enums/vehicle-unit/vehicle-unit-ownership.enum';
|
|
|
58
58
|
export * from './enums/vehicle-unit/vehicle-unit-status.enum';
|
|
59
59
|
export * from './enums/vehicle-unit/vehicle-unit-type.enum';
|
|
60
60
|
export * from './enums/vehicle-unit/vehicle-type/ambulance-vehicle-type.enum';
|
|
61
|
+
export * from './enums/vehicle-unit/vehicle-crew/ambulance-vehicle-role.enum';
|
|
61
62
|
export * from './enums/vehicle-unit/vehicle-type/security-vehicle-type.enum';
|
|
63
|
+
export * from './enums/vehicle-unit/vehicle-crew/security-vehicle-role.enum';
|
|
62
64
|
export * from './enums/vehicle-unit/vehicle-type/fire-vehicle-type.enum';
|
|
65
|
+
export * from './enums/vehicle-unit/vehicle-crew/fire-vehicle-role.enum';
|
|
63
66
|
export * from './enums/vehicle-unit/vehicle-type/road-rescue-vehicle-type.enum';
|
|
67
|
+
export * from './enums/vehicle-unit/vehicle-crew/road-rescue-vehicle-role.enum';
|
|
@@ -88,6 +88,10 @@ __exportStar(require("./enums/vehicle-unit/vehicle-unit-ownership.enum"), export
|
|
|
88
88
|
__exportStar(require("./enums/vehicle-unit/vehicle-unit-status.enum"), exports);
|
|
89
89
|
__exportStar(require("./enums/vehicle-unit/vehicle-unit-type.enum"), exports);
|
|
90
90
|
__exportStar(require("./enums/vehicle-unit/vehicle-type/ambulance-vehicle-type.enum"), exports);
|
|
91
|
+
__exportStar(require("./enums/vehicle-unit/vehicle-crew/ambulance-vehicle-role.enum"), exports);
|
|
91
92
|
__exportStar(require("./enums/vehicle-unit/vehicle-type/security-vehicle-type.enum"), exports);
|
|
93
|
+
__exportStar(require("./enums/vehicle-unit/vehicle-crew/security-vehicle-role.enum"), exports);
|
|
92
94
|
__exportStar(require("./enums/vehicle-unit/vehicle-type/fire-vehicle-type.enum"), exports);
|
|
95
|
+
__exportStar(require("./enums/vehicle-unit/vehicle-crew/fire-vehicle-role.enum"), exports);
|
|
93
96
|
__exportStar(require("./enums/vehicle-unit/vehicle-type/road-rescue-vehicle-type.enum"), exports);
|
|
97
|
+
__exportStar(require("./enums/vehicle-unit/vehicle-crew/road-rescue-vehicle-role.enum"), exports);
|
|
@@ -2,8 +2,8 @@ import { PersonUnitStatus } from "../../enums/person-unit/person-unit-status.enu
|
|
|
2
2
|
import { TeamUnitCrew } from "./team-unit-crew";
|
|
3
3
|
export interface TeamUnit {
|
|
4
4
|
name: string;
|
|
5
|
-
|
|
5
|
+
teamStatus: PersonUnitStatus;
|
|
6
6
|
crewIds: number[];
|
|
7
7
|
attributes?: Record<string, any>;
|
|
8
|
-
|
|
8
|
+
teamCrew?: TeamUnitCrew[];
|
|
9
9
|
}
|
|
@@ -8,7 +8,7 @@ export interface VehicleUnit {
|
|
|
8
8
|
vehicleType: VehicleUnitType;
|
|
9
9
|
phoneNumber: string;
|
|
10
10
|
crewIds: number[];
|
|
11
|
-
|
|
11
|
+
vehicleStatus: VehicleUnitStatus;
|
|
12
12
|
ownership?: VehicleUnitOwnership;
|
|
13
13
|
ownerName?: string;
|
|
14
14
|
deviceId?: number;
|
|
@@ -16,6 +16,6 @@ export interface VehicleUnit {
|
|
|
16
16
|
mileage?: number;
|
|
17
17
|
year?: number;
|
|
18
18
|
attributes?: Record<string, any>;
|
|
19
|
-
|
|
19
|
+
vehicleCrew?: VehicleUnitCrew[];
|
|
20
20
|
device?: VehicleUnitDevice;
|
|
21
21
|
}
|