grm-shared-library 1.0.200 → 1.0.201
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.
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
import { MapAddressDto } from "../../common";
|
|
2
2
|
import { Roles } from "../../role";
|
|
3
3
|
import { OrganizationType } from "../../organization/enums/org-type.enum";
|
|
4
|
+
import { IncidentClass } from "../../incident";
|
|
4
5
|
export declare class RegisterDto {
|
|
6
|
+
incidentClass: IncidentClass;
|
|
5
7
|
name: string;
|
|
6
8
|
email: string;
|
|
7
9
|
phoneNumber: string;
|
|
@@ -17,9 +17,15 @@ const case_decorators_1 = require("../../../decorators/case-decorators");
|
|
|
17
17
|
const password_regex_const_1 = require("../../common/constants/password-regex.const");
|
|
18
18
|
const class_transformer_1 = require("class-transformer");
|
|
19
19
|
const org_type_enum_1 = require("../../organization/enums/org-type.enum");
|
|
20
|
+
const incident_1 = require("../../incident");
|
|
20
21
|
class RegisterDto {
|
|
21
22
|
}
|
|
22
23
|
exports.RegisterDto = RegisterDto;
|
|
24
|
+
__decorate([
|
|
25
|
+
(0, class_validator_1.IsEnum)(incident_1.IncidentClass),
|
|
26
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
27
|
+
__metadata("design:type", String)
|
|
28
|
+
], RegisterDto.prototype, "incidentClass", void 0);
|
|
23
29
|
__decorate([
|
|
24
30
|
(0, class_validator_1.IsString)(),
|
|
25
31
|
(0, class_validator_1.IsNotEmpty)(),
|