@fiado/type-kit 2.1.17 → 2.1.19
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/bin/group/dtos/GroupAddDirectoryRequest.d.ts +2 -0
- package/bin/group/dtos/GroupAddDirectoryRequest.js +10 -0
- package/bin/group/dtos/GroupCreateRequest.d.ts +2 -0
- package/bin/group/dtos/GroupCreateRequest.js +12 -0
- package/bin/group/dtos/GroupDirectoryRelationsResponse.d.ts +2 -0
- package/bin/group/dtos/GroupResponse.d.ts +2 -0
- package/bin/identity/dtos/PeopleUpdateRequest.d.ts +1 -1
- package/bin/identity/enums/CPStatusEnum.d.ts +2 -1
- package/bin/identity/enums/CPStatusEnum.js +1 -0
- package/package.json +1 -1
- package/src/group/dtos/GroupAddDirectoryRequest.ts +10 -0
- package/src/group/dtos/GroupCreateRequest.ts +10 -0
- package/src/group/dtos/GroupDirectoryRelationsResponse.ts +2 -0
- package/src/group/dtos/GroupResponse.ts +2 -0
- package/src/identity/dtos/PeopleUpdateRequest.ts +1 -1
- package/src/identity/enums/CPStatusEnum.ts +2 -2
|
@@ -46,3 +46,13 @@ __decorate([
|
|
|
46
46
|
(0, class_validator_1.IsEnum)(GroupAction_1.GroupAction),
|
|
47
47
|
__metadata("design:type", String)
|
|
48
48
|
], GroupAddDirectoryRequest.prototype, "action", void 0);
|
|
49
|
+
__decorate([
|
|
50
|
+
(0, class_validator_1.IsString)(),
|
|
51
|
+
(0, class_validator_1.Length)(0, 100),
|
|
52
|
+
__metadata("design:type", String)
|
|
53
|
+
], GroupAddDirectoryRequest.prototype, "parentGroupId", void 0);
|
|
54
|
+
__decorate([
|
|
55
|
+
(0, class_validator_1.IsString)(),
|
|
56
|
+
(0, class_validator_1.Length)(0, 100),
|
|
57
|
+
__metadata("design:type", String)
|
|
58
|
+
], GroupAddDirectoryRequest.prototype, "groupPath", void 0);
|
|
@@ -81,3 +81,15 @@ __decorate([
|
|
|
81
81
|
(0, class_transformer_1.Transform)(({ value }) => value ?? null),
|
|
82
82
|
__metadata("design:type", String)
|
|
83
83
|
], GroupCreateRequest.prototype, "category", void 0);
|
|
84
|
+
__decorate([
|
|
85
|
+
(0, class_validator_1.IsOptional)(),
|
|
86
|
+
(0, class_validator_1.IsString)(),
|
|
87
|
+
(0, class_validator_1.Length)(0, 100),
|
|
88
|
+
(0, class_transformer_1.Transform)(({ value }) => value ?? "ROOT"),
|
|
89
|
+
__metadata("design:type", String)
|
|
90
|
+
], GroupCreateRequest.prototype, "parentGroupId", void 0);
|
|
91
|
+
__decorate([
|
|
92
|
+
(0, class_validator_1.IsString)(),
|
|
93
|
+
(0, class_validator_1.Length)(0, 100),
|
|
94
|
+
__metadata("design:type", String)
|
|
95
|
+
], GroupCreateRequest.prototype, "groupPath", void 0);
|
|
@@ -88,7 +88,7 @@ export declare class PeopleUpdateRequest {
|
|
|
88
88
|
SIN?: string | null;
|
|
89
89
|
documentNumber?: string;
|
|
90
90
|
stateOfDocument?: string;
|
|
91
|
-
CP_Status?: CPStatusEnum
|
|
91
|
+
CP_Status?: CPStatusEnum;
|
|
92
92
|
status?: AccountRequirementStatusEnum;
|
|
93
93
|
observations?: string;
|
|
94
94
|
externalReferenceId?: string | null;
|
|
@@ -13,4 +13,5 @@ var CPStatusEnum;
|
|
|
13
13
|
CPStatusEnum["DOCUMENT_ERROR"] = "DOCUMENT_ERROR";
|
|
14
14
|
CPStatusEnum["INCOMPLETE_OOW_ANSWERS"] = "INCOMPLETE_OOW_ANSWERS";
|
|
15
15
|
CPStatusEnum["OOW_EXPIRED"] = "OOW_EXPIRED";
|
|
16
|
+
CPStatusEnum["NONE"] = "NONE";
|
|
16
17
|
})(CPStatusEnum || (exports.CPStatusEnum = CPStatusEnum = {}));
|
package/package.json
CHANGED
|
@@ -55,4 +55,14 @@ export class GroupCreateRequest {
|
|
|
55
55
|
@Length(0, 100)
|
|
56
56
|
@Transform(({value}) => value ?? null)
|
|
57
57
|
category?: string | null;
|
|
58
|
+
|
|
59
|
+
@IsOptional()
|
|
60
|
+
@IsString()
|
|
61
|
+
@Length(0, 100)
|
|
62
|
+
@Transform(({value}) => value ?? "ROOT")
|
|
63
|
+
parentGroupId?: string;
|
|
64
|
+
|
|
65
|
+
@IsString()
|
|
66
|
+
@Length(0, 100)
|
|
67
|
+
groupPath: string;
|
|
58
68
|
}
|
|
@@ -93,7 +93,7 @@ export class PeopleUpdateRequest {
|
|
|
93
93
|
SIN?: string | null;
|
|
94
94
|
documentNumber?: string;
|
|
95
95
|
stateOfDocument?: string;
|
|
96
|
-
CP_Status?: CPStatusEnum
|
|
96
|
+
CP_Status?: CPStatusEnum;
|
|
97
97
|
status?: AccountRequirementStatusEnum;
|
|
98
98
|
observations?: string
|
|
99
99
|
externalReferenceId?: string | null;
|
|
@@ -4,10 +4,10 @@ export enum CPStatusEnum {
|
|
|
4
4
|
PENDING_OOW_QUESTIONS = "PENDING_OOW_QUESTIONS",
|
|
5
5
|
DENIED = "DENIED",
|
|
6
6
|
PENDING = "PENDING",
|
|
7
|
-
|
|
8
7
|
UNDER_REVIEW = "UNDER_REVIEW",
|
|
9
8
|
NOT_AVAILABLE = "NOT_AVAILABLE",
|
|
10
9
|
DOCUMENT_ERROR = "DOCUMENT_ERROR",
|
|
11
10
|
INCOMPLETE_OOW_ANSWERS = "INCOMPLETE_OOW_ANSWERS",
|
|
12
|
-
OOW_EXPIRED = "OOW_EXPIRED"
|
|
11
|
+
OOW_EXPIRED = "OOW_EXPIRED",
|
|
12
|
+
NONE = "NONE"
|
|
13
13
|
}
|