@fiado/type-kit 1.0.73 → 1.0.75
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/account/dtos/AccountCreateRequest.d.ts +2 -0
- package/bin/account/dtos/AccountCreateRequest.js +14 -0
- package/bin/account/dtos/CreateBankAccountOutput.d.ts +5 -0
- package/bin/account/dtos/CreateBankAccountOutput.js +6 -0
- package/bin/account/dtos/CreateBankAccountUserOutput.d.ts +8 -0
- package/bin/account/dtos/CreateBankAccountUserOutput.js +6 -0
- package/package.json +1 -1
- package/src/account/dtos/AccountCreateRequest.ts +15 -0
- package/bin/group/dtos/GroupDirectoryRetationsUpdateRequest.d.ts +0 -3
- package/bin/group/dtos/GroupDirectoryRetationsUpdateRequest.js +0 -22
|
@@ -4,6 +4,8 @@ import { SexDocument } from '../../identity';
|
|
|
4
4
|
import { Profile } from "../../directory/enums/Profile";
|
|
5
5
|
export declare class AccountCreateRequest {
|
|
6
6
|
directoryId: string;
|
|
7
|
+
ownerDirectoryId: string;
|
|
8
|
+
peopleId: string;
|
|
7
9
|
typeOfDirectoryId: string;
|
|
8
10
|
firstName: string;
|
|
9
11
|
lastName: string;
|
|
@@ -28,6 +28,20 @@ __decorate([
|
|
|
28
28
|
}),
|
|
29
29
|
__metadata("design:type", String)
|
|
30
30
|
], AccountCreateRequest.prototype, "directoryId", void 0);
|
|
31
|
+
__decorate([
|
|
32
|
+
(0, class_validator_1.IsString)(),
|
|
33
|
+
(0, class_validator_1.Matches)(regex_1.regexUuidV4, {
|
|
34
|
+
message: 'directoryId must be a valid UUID v4',
|
|
35
|
+
}),
|
|
36
|
+
__metadata("design:type", String)
|
|
37
|
+
], AccountCreateRequest.prototype, "ownerDirectoryId", void 0);
|
|
38
|
+
__decorate([
|
|
39
|
+
(0, class_validator_1.IsString)(),
|
|
40
|
+
(0, class_validator_1.Matches)(regex_1.regexUuidV4, {
|
|
41
|
+
message: 'peopleId must be a valid UUID v4',
|
|
42
|
+
}),
|
|
43
|
+
__metadata("design:type", String)
|
|
44
|
+
], AccountCreateRequest.prototype, "peopleId", void 0);
|
|
31
45
|
__decorate([
|
|
32
46
|
(0, class_validator_1.IsEnum)(directory_1.TypeOfDirectoryId),
|
|
33
47
|
__metadata("design:type", String)
|
package/package.json
CHANGED
|
@@ -15,6 +15,21 @@ export class AccountCreateRequest {
|
|
|
15
15
|
message: 'directoryId must be a valid UUID v4',
|
|
16
16
|
})
|
|
17
17
|
directoryId: string;
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
@IsString()
|
|
21
|
+
@Matches(regexUuidV4,
|
|
22
|
+
{
|
|
23
|
+
message: 'directoryId must be a valid UUID v4',
|
|
24
|
+
})
|
|
25
|
+
ownerDirectoryId: string;
|
|
26
|
+
|
|
27
|
+
@IsString()
|
|
28
|
+
@Matches(regexUuidV4,
|
|
29
|
+
{
|
|
30
|
+
message: 'peopleId must be a valid UUID v4',
|
|
31
|
+
})
|
|
32
|
+
peopleId: string;
|
|
18
33
|
|
|
19
34
|
@IsEnum(TypeOfDirectoryId)
|
|
20
35
|
typeOfDirectoryId: string;
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
-
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
-
};
|
|
8
|
-
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
-
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
-
};
|
|
11
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
-
exports.GroupDirectoryRetationsUpdateRequest = void 0;
|
|
13
|
-
const class_validator_1 = require("class-validator");
|
|
14
|
-
class GroupDirectoryRetationsUpdateRequest {
|
|
15
|
-
}
|
|
16
|
-
exports.GroupDirectoryRetationsUpdateRequest = GroupDirectoryRetationsUpdateRequest;
|
|
17
|
-
__decorate([
|
|
18
|
-
(0, class_validator_1.IsOptional)(),
|
|
19
|
-
(0, class_validator_1.IsString)(),
|
|
20
|
-
(0, class_validator_1.Length)(1, 20),
|
|
21
|
-
__metadata("design:type", String)
|
|
22
|
-
], GroupDirectoryRetationsUpdateRequest.prototype, "agent", void 0);
|