@ballistix.digital/types-truyens-react 0.8.0 → 0.11.0
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/dto/attachment/attachment.dto.d.ts +4 -8
- package/dist/dto/attachment/attachment.dto.js +8 -28
- package/dist/dto/attachment/attachment.dto.js.map +1 -1
- package/dist/dto/attachment/createAttachment.dto.d.ts +0 -2
- package/dist/dto/attachment/createAttachment.dto.js +0 -12
- package/dist/dto/attachment/createAttachment.dto.js.map +1 -1
- package/dist/dto/attachment/updateAttachment.dto.d.ts +0 -1
- package/dist/dto/attachment/updateAttachment.dto.js +0 -7
- package/dist/dto/attachment/updateAttachment.dto.js.map +1 -1
- package/dist/dto/legalPerson/legalPersonEmbedded.dto.d.ts +2 -0
- package/dist/dto/legalPerson/legalPersonEmbedded.dto.js +7 -0
- package/dist/dto/legalPerson/legalPersonEmbedded.dto.js.map +1 -1
- package/dist/dto/naturalPerson/naturalPersonEmbedded.dto.d.ts +2 -0
- package/dist/dto/naturalPerson/naturalPersonEmbedded.dto.js +7 -0
- package/dist/dto/naturalPerson/naturalPersonEmbedded.dto.js.map +1 -1
- package/dist/dto/project/projectEmbedded.dto.d.ts +6 -0
- package/dist/dto/project/projectEmbedded.dto.js +21 -0
- package/dist/dto/project/projectEmbedded.dto.js.map +1 -1
- package/dist/dto/projectAccessRight/createManyProjectAccessRight.dto.d.ts +1 -1
- package/dist/dto/projectAccessRight/createManyProjectAccessRight.dto.js +4 -3
- package/dist/dto/projectAccessRight/createManyProjectAccessRight.dto.js.map +1 -1
- package/dist/dto/tenant/tenant.dto.d.ts +4 -0
- package/dist/dto/tenant/tenant.dto.js +28 -0
- package/dist/dto/tenant/tenant.dto.js.map +1 -0
- package/dist/dto/user/createUser.dto.d.ts +11 -0
- package/dist/dto/user/createUser.dto.js +73 -0
- package/dist/dto/user/createUser.dto.js.map +1 -1
- package/dist/dto/user/updateUser.dto.d.ts +11 -0
- package/dist/dto/user/updateUser.dto.js +77 -0
- package/dist/dto/user/updateUser.dto.js.map +1 -1
- package/dist/dto/user/user.dto.d.ts +10 -0
- package/dist/dto/user/user.dto.js +46 -0
- package/dist/dto/user/user.dto.js.map +1 -1
- package/dist/dto/user/userEmbedded.dto.d.ts +6 -1
- package/dist/dto/user/userEmbedded.dto.js +21 -1
- package/dist/dto/user/userEmbedded.dto.js.map +1 -1
- package/dist/index.d.ts +2 -1
- package/dist/index.js +4 -2
- package/dist/index.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
|
@@ -4,17 +4,13 @@ import { AttachmentStatusEnum } from '../../enum/attachmentStatus.enum';
|
|
|
4
4
|
declare const AttachmentDto_base: import("../generic/base.dto").BaseDtoType<AttachmentEmbeddedDto>;
|
|
5
5
|
export declare class AttachmentDto extends AttachmentDto_base {
|
|
6
6
|
id: string;
|
|
7
|
+
storageId: string;
|
|
8
|
+
projectId: string;
|
|
7
9
|
name: string;
|
|
8
|
-
questionIdentifier: string;
|
|
9
|
-
indexNumber: number;
|
|
10
|
-
presignedUrl: string;
|
|
11
10
|
fileSize: number;
|
|
12
|
-
mimeType: string;
|
|
13
11
|
description: string;
|
|
14
|
-
|
|
15
|
-
status: AttachmentStatusEnum;
|
|
12
|
+
mimeType: string;
|
|
16
13
|
uploadStatus: AttachmentUploadStatusEnum;
|
|
17
|
-
|
|
18
|
-
projectId: string;
|
|
14
|
+
status: AttachmentStatusEnum;
|
|
19
15
|
}
|
|
20
16
|
export {};
|
|
@@ -28,60 +28,40 @@ __decorate([
|
|
|
28
28
|
(0, nestjs_1.ApiProperty)({ type: String, required: true }),
|
|
29
29
|
(0, class_transformer_1.Expose)(),
|
|
30
30
|
__metadata("design:type", String)
|
|
31
|
-
], AttachmentDto.prototype, "
|
|
31
|
+
], AttachmentDto.prototype, "storageId", void 0);
|
|
32
32
|
__decorate([
|
|
33
|
-
(0, nestjs_1.ApiProperty)({ type: String, required: true }),
|
|
33
|
+
(0, nestjs_1.ApiProperty)({ type: String, required: true, format: 'uuid' }),
|
|
34
34
|
(0, class_transformer_1.Expose)(),
|
|
35
35
|
__metadata("design:type", String)
|
|
36
|
-
], AttachmentDto.prototype, "
|
|
37
|
-
__decorate([
|
|
38
|
-
(0, nestjs_1.ApiProperty)({ type: Number, required: true }),
|
|
39
|
-
(0, class_transformer_1.Expose)(),
|
|
40
|
-
__metadata("design:type", Number)
|
|
41
|
-
], AttachmentDto.prototype, "indexNumber", void 0);
|
|
36
|
+
], AttachmentDto.prototype, "projectId", void 0);
|
|
42
37
|
__decorate([
|
|
43
38
|
(0, nestjs_1.ApiProperty)({ type: String, required: true }),
|
|
44
39
|
(0, class_transformer_1.Expose)(),
|
|
45
40
|
__metadata("design:type", String)
|
|
46
|
-
], AttachmentDto.prototype, "
|
|
41
|
+
], AttachmentDto.prototype, "name", void 0);
|
|
47
42
|
__decorate([
|
|
48
43
|
(0, nestjs_1.ApiProperty)({ type: Number, required: true }),
|
|
49
44
|
(0, class_transformer_1.Expose)(),
|
|
50
45
|
__metadata("design:type", Number)
|
|
51
46
|
], AttachmentDto.prototype, "fileSize", void 0);
|
|
52
|
-
__decorate([
|
|
53
|
-
(0, nestjs_1.ApiProperty)({ type: String, required: true }),
|
|
54
|
-
(0, class_transformer_1.Expose)(),
|
|
55
|
-
__metadata("design:type", String)
|
|
56
|
-
], AttachmentDto.prototype, "mimeType", void 0);
|
|
57
47
|
__decorate([
|
|
58
48
|
(0, nestjs_1.ApiProperty)({ type: String, required: true }),
|
|
59
49
|
(0, class_transformer_1.Expose)(),
|
|
60
50
|
__metadata("design:type", String)
|
|
61
51
|
], AttachmentDto.prototype, "description", void 0);
|
|
62
52
|
__decorate([
|
|
63
|
-
(0, nestjs_1.ApiProperty)({ type:
|
|
64
|
-
(0, class_transformer_1.Expose)(),
|
|
65
|
-
__metadata("design:type", Boolean)
|
|
66
|
-
], AttachmentDto.prototype, "isVisible", void 0);
|
|
67
|
-
__decorate([
|
|
68
|
-
(0, nestjs_1.ApiProperty)({ enum: attachmentStatus_enum_1.AttachmentStatusEnum, required: true }),
|
|
53
|
+
(0, nestjs_1.ApiProperty)({ type: String, required: true }),
|
|
69
54
|
(0, class_transformer_1.Expose)(),
|
|
70
55
|
__metadata("design:type", String)
|
|
71
|
-
], AttachmentDto.prototype, "
|
|
56
|
+
], AttachmentDto.prototype, "mimeType", void 0);
|
|
72
57
|
__decorate([
|
|
73
58
|
(0, nestjs_1.ApiProperty)({ enum: attachmentUploadStatus_enum_1.AttachmentUploadStatusEnum, required: true }),
|
|
74
59
|
(0, class_transformer_1.Expose)(),
|
|
75
60
|
__metadata("design:type", String)
|
|
76
61
|
], AttachmentDto.prototype, "uploadStatus", void 0);
|
|
77
62
|
__decorate([
|
|
78
|
-
(0, nestjs_1.ApiProperty)({
|
|
79
|
-
(0, class_transformer_1.Expose)(),
|
|
80
|
-
__metadata("design:type", String)
|
|
81
|
-
], AttachmentDto.prototype, "storageId", void 0);
|
|
82
|
-
__decorate([
|
|
83
|
-
(0, nestjs_1.ApiProperty)({ type: String, required: true, format: 'uuid' }),
|
|
63
|
+
(0, nestjs_1.ApiProperty)({ enum: attachmentStatus_enum_1.AttachmentStatusEnum, required: true }),
|
|
84
64
|
(0, class_transformer_1.Expose)(),
|
|
85
65
|
__metadata("design:type", String)
|
|
86
|
-
], AttachmentDto.prototype, "
|
|
66
|
+
], AttachmentDto.prototype, "status", void 0);
|
|
87
67
|
//# sourceMappingURL=attachment.dto.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"attachment.dto.js","sourceRoot":"","sources":["../../../src/dto/attachment/attachment.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAA2C;AAC3C,yCAA2C;AAE3C,kDAA8C;AAE9C,qEAAiE;AACjE,wFAAoF;AACpF,4EAAwE;AAExE,MAAa,aAAc,SAAQ,IAAA,kBAAO,EAAC,8CAAqB,CAAC;
|
|
1
|
+
{"version":3,"file":"attachment.dto.js","source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,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;IACjE,IAAA,0BAAM,GAAE;;mDACiC;AAI1C;IAFC,IAAA,oBAAW,EAAC,EAAE,IAAI,EAAE,4CAAoB,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;IAC3D,IAAA,0BAAM,GAAE;;6CACqB"}
|
|
@@ -25,18 +25,6 @@ __decorate([
|
|
|
25
25
|
(0, class_transformer_1.Expose)(),
|
|
26
26
|
__metadata("design:type", String)
|
|
27
27
|
], CreateAttachmentDto.prototype, "name", void 0);
|
|
28
|
-
__decorate([
|
|
29
|
-
(0, nestjs_1.ApiProperty)({ type: Boolean, required: false }),
|
|
30
|
-
(0, class_transformer_1.Expose)(),
|
|
31
|
-
(0, class_validator_1.IsBoolean)(),
|
|
32
|
-
(0, class_validator_1.IsOptional)(),
|
|
33
|
-
__metadata("design:type", Boolean)
|
|
34
|
-
], CreateAttachmentDto.prototype, "isVisible", void 0);
|
|
35
|
-
__decorate([
|
|
36
|
-
(0, nestjs_1.ApiProperty)({ type: String, required: false }),
|
|
37
|
-
(0, class_transformer_1.Expose)(),
|
|
38
|
-
__metadata("design:type", String)
|
|
39
|
-
], CreateAttachmentDto.prototype, "questionIdentifier", void 0);
|
|
40
28
|
__decorate([
|
|
41
29
|
(0, nestjs_1.ApiProperty)({ type: String, required: true, format: 'uuid' }),
|
|
42
30
|
(0, class_validator_1.IsUUID)(4),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"createAttachment.dto.js","sourceRoot":"","sources":["../../../src/dto/attachment/createAttachment.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAA2C;AAC3C,qDAAyF;AACzF,yCAA2C;AAI3C,MAAa,mBAAmB;
|
|
1
|
+
{"version":3,"file":"createAttachment.dto.js","sourceRoot":"","sources":["../../../src/dto/attachment/createAttachment.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAA2C;AAC3C,qDAAyF;AACzF,yCAA2C;AAI3C,MAAa,mBAAmB;CAa/B;AAbD,kDAaC;AANA;IANC,IAAA,oBAAW,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;IAC7C,IAAA,0BAAQ,GAAE;IACV,IAAA,yBAAO,EAAC,0BAA0B,EAAE;QACpC,OAAO,EAAE,gDAAgD;KACzD,CAAC;IACD,IAAA,0BAAM,GAAE;;iDACI;AAKb;IAHC,IAAA,oBAAW,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE,MAAM,EAAE,MAAM,EAAE,CAAC;IAC7D,IAAA,wBAAM,EAAC,CAAC,CAAC;IACT,IAAA,0BAAM,GAAE;;sDACS"}
|
|
@@ -33,13 +33,6 @@ __decorate([
|
|
|
33
33
|
(0, class_transformer_1.Expose)(),
|
|
34
34
|
__metadata("design:type", String)
|
|
35
35
|
], UpdateAttachmentDto.prototype, "description", void 0);
|
|
36
|
-
__decorate([
|
|
37
|
-
(0, nestjs_1.ApiProperty)({ type: Boolean, required: false }),
|
|
38
|
-
(0, class_transformer_1.Expose)(),
|
|
39
|
-
(0, class_validator_1.IsBoolean)(),
|
|
40
|
-
(0, class_validator_1.IsOptional)(),
|
|
41
|
-
__metadata("design:type", Boolean)
|
|
42
|
-
], UpdateAttachmentDto.prototype, "isVisible", void 0);
|
|
43
36
|
__decorate([
|
|
44
37
|
(0, nestjs_1.ApiProperty)({ enum: attachmentUploadStatus_enum_1.AttachmentUploadStatusEnum, required: false }),
|
|
45
38
|
(0, class_validator_1.IsOptional)(),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"updateAttachment.dto.js","sourceRoot":"","sources":["../../../src/dto/attachment/updateAttachment.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yCAA2C;AAC3C,yDAA2C;AAC3C,qDAAwE;AACxE,mCAAgC;AAChC,wFAAoF;AACpF,4EAAwE;AAExE,MAAa,mBAAmB;
|
|
1
|
+
{"version":3,"file":"updateAttachment.dto.js","sourceRoot":"","sources":["../../../src/dto/attachment/updateAttachment.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yCAA2C;AAC3C,yDAA2C;AAC3C,qDAAwE;AACxE,mCAAgC;AAChC,wFAAoF;AACpF,4EAAwE;AAExE,MAAa,mBAAmB;CAwB/B;AAxBD,kDAwBC;AAnBA;IAJC,IAAA,oBAAW,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;IAC9C,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;IACV,IAAA,0BAAM,GAAE;;iDACK;AAMd;IAJC,IAAA,oBAAW,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;IAC9C,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;IACV,IAAA,0BAAM,GAAE;;wDACY;AAMrB;IAJC,IAAA,oBAAW,EAAC,EAAE,IAAI,EAAE,wDAA0B,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;IAClE,IAAA,4BAAU,GAAE;IACZ,IAAA,sBAAI,EAAC,IAAA,eAAM,EAAC,wDAA0B,CAAC,CAAC;IACxC,IAAA,0BAAM,GAAE;;yDACiC;AAM1C;IAJC,IAAA,oBAAW,EAAC,EAAE,IAAI,EAAE,4CAAoB,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;IAC5D,IAAA,4BAAU,GAAE;IACZ,IAAA,sBAAI,EAAC,IAAA,eAAM,EAAC,4CAAoB,CAAC,CAAC;IAClC,IAAA,0BAAM,GAAE;;mDACqB"}
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import { UserDto } from '../user/user.dto';
|
|
2
2
|
import { ProjectDto } from '../project/project.dto';
|
|
3
|
+
import { TenantDto } from '../tenant/tenant.dto';
|
|
3
4
|
export declare class LegalPersonEmbeddedDto {
|
|
5
|
+
tenant: TenantDto;
|
|
4
6
|
projects?: ProjectDto[];
|
|
5
7
|
createdBy?: UserDto;
|
|
6
8
|
updatedBy?: UserDto;
|
|
@@ -14,9 +14,16 @@ const class_transformer_1 = require("class-transformer");
|
|
|
14
14
|
const nestjs_1 = require("../../nestjs");
|
|
15
15
|
const user_dto_1 = require("../user/user.dto");
|
|
16
16
|
const project_dto_1 = require("../project/project.dto");
|
|
17
|
+
const tenant_dto_1 = require("../tenant/tenant.dto");
|
|
17
18
|
class LegalPersonEmbeddedDto {
|
|
18
19
|
}
|
|
19
20
|
exports.LegalPersonEmbeddedDto = LegalPersonEmbeddedDto;
|
|
21
|
+
__decorate([
|
|
22
|
+
(0, nestjs_1.ApiProperty)({ type: () => tenant_dto_1.TenantDto, required: false }),
|
|
23
|
+
(0, class_transformer_1.Type)(() => tenant_dto_1.TenantDto),
|
|
24
|
+
(0, class_transformer_1.Expose)(),
|
|
25
|
+
__metadata("design:type", tenant_dto_1.TenantDto)
|
|
26
|
+
], LegalPersonEmbeddedDto.prototype, "tenant", void 0);
|
|
20
27
|
__decorate([
|
|
21
28
|
(0, nestjs_1.ApiProperty)({ type: () => [project_dto_1.ProjectDto], required: false }),
|
|
22
29
|
(0, class_transformer_1.Type)(() => project_dto_1.ProjectDto),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"legalPersonEmbedded.dto.js","sourceRoot":"","sources":["../../../src/dto/legalPerson/legalPersonEmbedded.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAAiD;AACjD,yCAA2C;AAE3C,+CAA2C;AAC3C,wDAAoD;
|
|
1
|
+
{"version":3,"file":"legalPersonEmbedded.dto.js","sourceRoot":"","sources":["../../../src/dto/legalPerson/legalPersonEmbedded.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAAiD;AACjD,yCAA2C;AAE3C,+CAA2C;AAC3C,wDAAoD;AACpD,qDAAiD;AAEjD,MAAa,sBAAsB;CAoBlC;AApBD,wDAoBC;AAhBA;IAHE,IAAA,oBAAW,EAAC,EAAE,IAAI,EAAE,GAAG,EAAE,CAAC,sBAAS,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;IACxD,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,sBAAS,CAAC;IACrB,IAAA,0BAAM,GAAE;8BACD,sBAAS;sDAAC;AAKlB;IAHE,IAAA,oBAAW,EAAC,EAAE,IAAI,EAAE,GAAG,EAAE,CAAC,CAAC,wBAAU,CAAC,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;IAC3D,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,wBAAU,CAAC;IACtB,IAAA,0BAAM,GAAE;;wDACe;AAKxB;IAHC,IAAA,oBAAW,EAAC,EAAE,IAAI,EAAE,GAAG,EAAE,CAAC,kBAAO,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;IACrD,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,kBAAO,CAAC;IACnB,IAAA,0BAAM,GAAE;8BACG,kBAAO;yDAAC;AAKpB;IAHC,IAAA,oBAAW,EAAC,EAAE,IAAI,EAAE,GAAG,EAAE,CAAC,kBAAO,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;IACrD,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,kBAAO,CAAC;IACnB,IAAA,0BAAM,GAAE;8BACG,kBAAO;yDAAC"}
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import { UserDto } from '../user/user.dto';
|
|
2
2
|
import { ProjectDto } from '../project/project.dto';
|
|
3
|
+
import { TenantDto } from '../tenant/tenant.dto';
|
|
3
4
|
export declare class NaturalPersonEmbeddedDto {
|
|
5
|
+
tenant: TenantDto;
|
|
4
6
|
projects?: ProjectDto[];
|
|
5
7
|
createdBy?: UserDto;
|
|
6
8
|
updatedBy?: UserDto;
|
|
@@ -14,9 +14,16 @@ const class_transformer_1 = require("class-transformer");
|
|
|
14
14
|
const nestjs_1 = require("../../nestjs");
|
|
15
15
|
const user_dto_1 = require("../user/user.dto");
|
|
16
16
|
const project_dto_1 = require("../project/project.dto");
|
|
17
|
+
const tenant_dto_1 = require("../tenant/tenant.dto");
|
|
17
18
|
class NaturalPersonEmbeddedDto {
|
|
18
19
|
}
|
|
19
20
|
exports.NaturalPersonEmbeddedDto = NaturalPersonEmbeddedDto;
|
|
21
|
+
__decorate([
|
|
22
|
+
(0, nestjs_1.ApiProperty)({ type: () => tenant_dto_1.TenantDto, required: false }),
|
|
23
|
+
(0, class_transformer_1.Type)(() => tenant_dto_1.TenantDto),
|
|
24
|
+
(0, class_transformer_1.Expose)(),
|
|
25
|
+
__metadata("design:type", tenant_dto_1.TenantDto)
|
|
26
|
+
], NaturalPersonEmbeddedDto.prototype, "tenant", void 0);
|
|
20
27
|
__decorate([
|
|
21
28
|
(0, nestjs_1.ApiProperty)({ type: () => [project_dto_1.ProjectDto], required: false }),
|
|
22
29
|
(0, class_transformer_1.Type)(() => project_dto_1.ProjectDto),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"naturalPersonEmbedded.dto.js","sourceRoot":"","sources":["../../../src/dto/naturalPerson/naturalPersonEmbedded.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAAiD;AACjD,yCAA2C;AAE3C,+CAA2C;AAC3C,wDAAoD;
|
|
1
|
+
{"version":3,"file":"naturalPersonEmbedded.dto.js","sourceRoot":"","sources":["../../../src/dto/naturalPerson/naturalPersonEmbedded.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAAiD;AACjD,yCAA2C;AAE3C,+CAA2C;AAC3C,wDAAoD;AACpD,qDAAiD;AAEjD,MAAa,wBAAwB;CAoBpC;AApBD,4DAoBC;AAhBA;IAHE,IAAA,oBAAW,EAAC,EAAE,IAAI,EAAE,GAAG,EAAE,CAAC,sBAAS,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;IACxD,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,sBAAS,CAAC;IACrB,IAAA,0BAAM,GAAE;8BACD,sBAAS;wDAAC;AAKlB;IAHE,IAAA,oBAAW,EAAC,EAAE,IAAI,EAAE,GAAG,EAAE,CAAC,CAAC,wBAAU,CAAC,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;IAC3D,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,wBAAU,CAAC;IACtB,IAAA,0BAAM,GAAE;;0DACe;AAKxB;IAHC,IAAA,oBAAW,EAAC,EAAE,IAAI,EAAE,GAAG,EAAE,CAAC,kBAAO,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;IACrD,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,kBAAO,CAAC;IACnB,IAAA,0BAAM,GAAE;8BACG,kBAAO;2DAAC;AAKpB;IAHC,IAAA,oBAAW,EAAC,EAAE,IAAI,EAAE,GAAG,EAAE,CAAC,kBAAO,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;IACrD,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,kBAAO,CAAC;IACnB,IAAA,0BAAM,GAAE;8BACG,kBAAO;2DAAC"}
|
|
@@ -3,7 +3,13 @@ import { ResponseDto } from '../response/response.dto';
|
|
|
3
3
|
import { AttachmentDto } from '../attachment/attachment.dto';
|
|
4
4
|
import { ProjectCalculatedViewDto } from '../projectCalculated/projectCalculatedView.dto';
|
|
5
5
|
import { LatestNotificationTaskViewDto } from '../latestNotificationTaskView/latestNotificationTaskView.dto';
|
|
6
|
+
import { LegalPersonDto } from '../legalPerson/legalPerson.dto';
|
|
7
|
+
import { NaturalPersonDto } from '../naturalPerson/naturalPerson.dto';
|
|
8
|
+
import { TenantDto } from '../tenant/tenant.dto';
|
|
6
9
|
export declare class ProjectEmbeddedDto {
|
|
10
|
+
tenant: TenantDto;
|
|
11
|
+
naturalPersonClient: NaturalPersonDto;
|
|
12
|
+
legalPersonClient: LegalPersonDto;
|
|
7
13
|
responses: ResponseDto[];
|
|
8
14
|
attachments: AttachmentDto[];
|
|
9
15
|
calculated: ProjectCalculatedViewDto[];
|
|
@@ -17,9 +17,30 @@ const response_dto_1 = require("../response/response.dto");
|
|
|
17
17
|
const attachment_dto_1 = require("../attachment/attachment.dto");
|
|
18
18
|
const projectCalculatedView_dto_1 = require("../projectCalculated/projectCalculatedView.dto");
|
|
19
19
|
const latestNotificationTaskView_dto_1 = require("../latestNotificationTaskView/latestNotificationTaskView.dto");
|
|
20
|
+
const legalPerson_dto_1 = require("../legalPerson/legalPerson.dto");
|
|
21
|
+
const naturalPerson_dto_1 = require("../naturalPerson/naturalPerson.dto");
|
|
22
|
+
const tenant_dto_1 = require("../tenant/tenant.dto");
|
|
20
23
|
class ProjectEmbeddedDto {
|
|
21
24
|
}
|
|
22
25
|
exports.ProjectEmbeddedDto = ProjectEmbeddedDto;
|
|
26
|
+
__decorate([
|
|
27
|
+
(0, nestjs_1.ApiProperty)({ type: () => tenant_dto_1.TenantDto, required: false }),
|
|
28
|
+
(0, class_transformer_1.Type)(() => tenant_dto_1.TenantDto),
|
|
29
|
+
(0, class_transformer_1.Expose)(),
|
|
30
|
+
__metadata("design:type", tenant_dto_1.TenantDto)
|
|
31
|
+
], ProjectEmbeddedDto.prototype, "tenant", void 0);
|
|
32
|
+
__decorate([
|
|
33
|
+
(0, nestjs_1.ApiProperty)({ type: () => naturalPerson_dto_1.NaturalPersonDto, required: false }),
|
|
34
|
+
(0, class_transformer_1.Type)(() => naturalPerson_dto_1.NaturalPersonDto),
|
|
35
|
+
(0, class_transformer_1.Expose)(),
|
|
36
|
+
__metadata("design:type", naturalPerson_dto_1.NaturalPersonDto)
|
|
37
|
+
], ProjectEmbeddedDto.prototype, "naturalPersonClient", void 0);
|
|
38
|
+
__decorate([
|
|
39
|
+
(0, nestjs_1.ApiProperty)({ type: () => legalPerson_dto_1.LegalPersonDto, required: false }),
|
|
40
|
+
(0, class_transformer_1.Type)(() => legalPerson_dto_1.LegalPersonDto),
|
|
41
|
+
(0, class_transformer_1.Expose)(),
|
|
42
|
+
__metadata("design:type", legalPerson_dto_1.LegalPersonDto)
|
|
43
|
+
], ProjectEmbeddedDto.prototype, "legalPersonClient", void 0);
|
|
23
44
|
__decorate([
|
|
24
45
|
(0, nestjs_1.ApiProperty)({ type: () => [response_dto_1.ResponseDto], required: false }),
|
|
25
46
|
(0, class_transformer_1.Type)(() => response_dto_1.ResponseDto),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"projectEmbedded.dto.js","sourceRoot":"","sources":["../../../src/dto/project/projectEmbedded.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAAiD;AACjD,yCAA2C;AAE3C,+CAA2C;AAC3C,2DAAuD;AACvD,iEAA6D;AAC7D,8FAA0F;AAC1F,iHAA6G;
|
|
1
|
+
{"version":3,"file":"projectEmbedded.dto.js","sourceRoot":"","sources":["../../../src/dto/project/projectEmbedded.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAAiD;AACjD,yCAA2C;AAE3C,+CAA2C;AAC3C,2DAAuD;AACvD,iEAA6D;AAC7D,8FAA0F;AAC1F,iHAA6G;AAC7G,oEAAgE;AAChE,0EAAsE;AACtE,qDAAiD;AAEjD,MAAa,kBAAkB;CA6C9B;AA7CD,gDA6CC;AAzCA;IAHC,IAAA,oBAAW,EAAC,EAAE,IAAI,EAAE,GAAG,EAAE,CAAC,sBAAS,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;IACvD,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,sBAAS,CAAC;IACrB,IAAA,0BAAM,GAAE;8BACD,sBAAS;kDAAC;AAKlB;IAHC,IAAA,oBAAW,EAAC,EAAE,IAAI,EAAE,GAAG,EAAE,CAAC,oCAAgB,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;IAC9D,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,oCAAgB,CAAC;IAC5B,IAAA,0BAAM,GAAE;8BACY,oCAAgB;+DAAC;AAKtC;IAHC,IAA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AAA,0BAAM,GAAE;8BACG,kBAAO;qDAAC;AAKpB;IAHC,IAAA,oBAAW,EAAC,EAAE,IAAI,EAAE,GAAG,EAAE,CAAC,kBAAO,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;IACrD,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,kBAAO,CAAC;IACnB,IAAA,0BAAM,GAAE;8BACG,kBAAO;qDAAC"}
|
|
@@ -18,10 +18,11 @@ class CreateManyProjectAccessRightDto {
|
|
|
18
18
|
exports.CreateManyProjectAccessRightDto = CreateManyProjectAccessRightDto;
|
|
19
19
|
__decorate([
|
|
20
20
|
(0, nestjs_1.ApiProperty)({ type: String, required: true }),
|
|
21
|
-
(0, class_validator_1.
|
|
21
|
+
(0, class_validator_1.IsArray)(),
|
|
22
|
+
(0, class_validator_1.IsString)({ each: true }),
|
|
22
23
|
(0, class_transformer_1.Expose)(),
|
|
23
|
-
__metadata("design:type",
|
|
24
|
-
], CreateManyProjectAccessRightDto.prototype, "
|
|
24
|
+
__metadata("design:type", Array)
|
|
25
|
+
], CreateManyProjectAccessRightDto.prototype, "projectIds", void 0);
|
|
25
26
|
__decorate([
|
|
26
27
|
(0, nestjs_1.ApiProperty)({ type: String, required: false, description: 'Leave blank to use the userId of the authenticated user' }),
|
|
27
28
|
(0, class_validator_1.IsOptional)(),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"createManyProjectAccessRight.dto.js","sourceRoot":"","sources":["../../../src/dto/projectAccessRight/createManyProjectAccessRight.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yCAA2C;AAC3C,
|
|
1
|
+
{"version":3,"file":"createManyProjectAccessRight.dto.js","sourceRoot":"","sources":["../../../src/dto/projectAccessRight/createManyProjectAccessRight.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yCAA2C;AAC3C,qDAAgE;AAChE,yDAA2C;AAE3C,MAAa,+BAA+B;CAY3C;AAZD,0EAYC;AAPA;IAJC,IAAA,oBAAW,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;IAC7C,IAAA,yBAAO,GAAE;IACT,IAAA,0BAAQ,EAAC,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;IACxB,IAAA,0BAAM,GAAE;;mEACa;AAMtB;IAJC,IAAA,oBAAW,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,KAAK,EAAE,WAAW,EAAE,yDAAyD,EAAE,CAAC;IACtH,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;IACV,IAAA,0BAAM,GAAE;;+DACO"}
|
|
@@ -0,0 +1,28 @@
|
|
|
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.TenantDto = void 0;
|
|
13
|
+
const class_transformer_1 = require("class-transformer");
|
|
14
|
+
const nestjs_1 = require("../../nestjs");
|
|
15
|
+
class TenantDto {
|
|
16
|
+
}
|
|
17
|
+
exports.TenantDto = TenantDto;
|
|
18
|
+
__decorate([
|
|
19
|
+
(0, nestjs_1.ApiProperty)({ type: String, required: true, format: 'uuid' }),
|
|
20
|
+
(0, class_transformer_1.Expose)(),
|
|
21
|
+
__metadata("design:type", String)
|
|
22
|
+
], TenantDto.prototype, "id", void 0);
|
|
23
|
+
__decorate([
|
|
24
|
+
(0, nestjs_1.ApiProperty)({ type: String, required: true }),
|
|
25
|
+
(0, class_transformer_1.Expose)(),
|
|
26
|
+
__metadata("design:type", String)
|
|
27
|
+
], TenantDto.prototype, "name", void 0);
|
|
28
|
+
//# sourceMappingURL=tenant.dto.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tenant.dto.js","sourceRoot":"","sources":["../../../src/dto/tenant/tenant.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAA2C;AAC3C,yCAA2C;AAE3C,MAAa,SAAS;CAQrB;AARD,8BAQC;AALC;IAFC,IAAA,oBAAW,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE,MAAM,EAAE,MAAM,EAAE,CAAC;IAC7D,IAAA,0BAAM,GAAE;;qCACE;AAIX;IAFC,IAAA,oBAAW,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;IAC7C,IAAA,0BAAM,GAAE;;uCACI"}
|
|
@@ -1,2 +1,13 @@
|
|
|
1
|
+
import { RoleEnum } from "../../enum/role.enum";
|
|
2
|
+
import { LanguageEnum } from "src/enum/language.enum";
|
|
1
3
|
export declare class CreateUserDto {
|
|
4
|
+
tenantId: string;
|
|
5
|
+
email: string;
|
|
6
|
+
role: RoleEnum;
|
|
7
|
+
firstname: string;
|
|
8
|
+
lastname: string;
|
|
9
|
+
language: LanguageEnum;
|
|
10
|
+
phone: string;
|
|
11
|
+
mobile: string;
|
|
12
|
+
kleosId: string;
|
|
2
13
|
}
|
|
@@ -1,7 +1,80 @@
|
|
|
1
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
|
+
};
|
|
2
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
12
|
exports.CreateUserDto = void 0;
|
|
13
|
+
const nestjs_1 = require("../../nestjs");
|
|
14
|
+
const class_transformer_1 = require("class-transformer");
|
|
15
|
+
const class_validator_1 = require("class-validator");
|
|
16
|
+
const role_enum_1 = require("../../enum/role.enum");
|
|
17
|
+
const language_enum_1 = require("src/enum/language.enum");
|
|
4
18
|
class CreateUserDto {
|
|
5
19
|
}
|
|
6
20
|
exports.CreateUserDto = CreateUserDto;
|
|
21
|
+
__decorate([
|
|
22
|
+
(0, nestjs_1.ApiProperty)({ type: String, required: true, format: 'uuid' }),
|
|
23
|
+
(0, class_validator_1.IsUUID)(4),
|
|
24
|
+
(0, class_transformer_1.Expose)(),
|
|
25
|
+
__metadata("design:type", String)
|
|
26
|
+
], CreateUserDto.prototype, "tenantId", void 0);
|
|
27
|
+
__decorate([
|
|
28
|
+
(0, nestjs_1.ApiProperty)({ type: String, required: true }),
|
|
29
|
+
(0, class_validator_1.IsString)(),
|
|
30
|
+
(0, class_transformer_1.Expose)(),
|
|
31
|
+
__metadata("design:type", String)
|
|
32
|
+
], CreateUserDto.prototype, "email", void 0);
|
|
33
|
+
__decorate([
|
|
34
|
+
(0, nestjs_1.ApiProperty)({ enum: role_enum_1.RoleEnum, required: true }),
|
|
35
|
+
(0, class_validator_1.IsEnum)(role_enum_1.RoleEnum),
|
|
36
|
+
(0, class_transformer_1.Expose)(),
|
|
37
|
+
__metadata("design:type", String)
|
|
38
|
+
], CreateUserDto.prototype, "role", void 0);
|
|
39
|
+
__decorate([
|
|
40
|
+
(0, nestjs_1.ApiProperty)({ type: String, required: false }),
|
|
41
|
+
(0, class_validator_1.IsOptional)(),
|
|
42
|
+
(0, class_validator_1.IsString)(),
|
|
43
|
+
(0, class_transformer_1.Expose)(),
|
|
44
|
+
__metadata("design:type", String)
|
|
45
|
+
], CreateUserDto.prototype, "firstname", void 0);
|
|
46
|
+
__decorate([
|
|
47
|
+
(0, nestjs_1.ApiProperty)({ type: String, required: false }),
|
|
48
|
+
(0, class_validator_1.IsOptional)(),
|
|
49
|
+
(0, class_validator_1.IsString)(),
|
|
50
|
+
(0, class_transformer_1.Expose)(),
|
|
51
|
+
__metadata("design:type", String)
|
|
52
|
+
], CreateUserDto.prototype, "lastname", void 0);
|
|
53
|
+
__decorate([
|
|
54
|
+
(0, nestjs_1.ApiProperty)({ enum: language_enum_1.LanguageEnum, required: true }),
|
|
55
|
+
(0, class_validator_1.IsEnum)(language_enum_1.LanguageEnum),
|
|
56
|
+
(0, class_transformer_1.Expose)(),
|
|
57
|
+
__metadata("design:type", String)
|
|
58
|
+
], CreateUserDto.prototype, "language", void 0);
|
|
59
|
+
__decorate([
|
|
60
|
+
(0, nestjs_1.ApiProperty)({ type: String, required: false }),
|
|
61
|
+
(0, class_validator_1.IsOptional)(),
|
|
62
|
+
(0, class_validator_1.IsString)(),
|
|
63
|
+
(0, class_transformer_1.Expose)(),
|
|
64
|
+
__metadata("design:type", String)
|
|
65
|
+
], CreateUserDto.prototype, "phone", void 0);
|
|
66
|
+
__decorate([
|
|
67
|
+
(0, nestjs_1.ApiProperty)({ type: String, required: false }),
|
|
68
|
+
(0, class_validator_1.IsOptional)(),
|
|
69
|
+
(0, class_validator_1.IsString)(),
|
|
70
|
+
(0, class_transformer_1.Expose)(),
|
|
71
|
+
__metadata("design:type", String)
|
|
72
|
+
], CreateUserDto.prototype, "mobile", void 0);
|
|
73
|
+
__decorate([
|
|
74
|
+
(0, nestjs_1.ApiProperty)({ type: String, required: false }),
|
|
75
|
+
(0, class_validator_1.IsOptional)(),
|
|
76
|
+
(0, class_validator_1.IsString)(),
|
|
77
|
+
(0, class_transformer_1.Expose)(),
|
|
78
|
+
__metadata("design:type", String)
|
|
79
|
+
], CreateUserDto.prototype, "kleosId", void 0);
|
|
7
80
|
//# sourceMappingURL=createUser.dto.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"createUser.dto.js","sourceRoot":"","sources":["../../../src/dto/user/createUser.dto.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"createUser.dto.js","sourceRoot":"","sources":["../../../src/dto/user/createUser.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yCAA2C;AAC3C,yDAA2C;AAC3C,qDAAuE;AACvE,oDAAgD;AAChD,0DAAsD;AAOtD,MAAa,aAAa;CAkDzB;AAlDD,sCAkDC;AA9CC;IAHC,IAAA,oBAAW,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE,MAAM,EAAE,MAAM,EAAE,CAAC;IAC7D,IAAA,wBAAM,EAAC,CAAC,CAAC;IACT,IAAA,0BAAM,GAAE;;+CACQ;AAKjB;IAHC,IAAA,oBAAW,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;IAC7C,IAAA,0BAAQ,GAAE;IACV,IAAA,0BAAM,GAAE;;4CACK;AAKd;IAHC,IAAA,oBAAW,EAAC,EAAE,IAAI,EAAE,oBAAQ,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;IAC/C,IAAA,wBAAM,EAAC,oBAAQ,CAAC;IAChB,IAAA,0BAAM,GAAE;;2CACM;AAMf;IAJC,IAAA,oBAAW,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;IAC9C,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;IACV,IAAA,0BAAM,GAAE;;gDACS;AAMlB;IAJC,IAAA,oBAAW,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;IAC9C,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;IACV,IAAA,0BAAM,GAAE;;+CACQ;AAKjB;IAHC,IAAA,oBAAW,EAAC,EAAE,IAAI,EAAE,4BAAY,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;IACnD,IAAA,wBAAM,EAAC,4BAAY,CAAC;IACpB,IAAA,0BAAM,GAAE;;+CACc;AAMvB;IAJC,IAAA,oBAAW,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;IAC9C,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;IACV,IAAA,0BAAM,GAAE;;4CACK;AAMd;IAJC,IAAA,oBAAW,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;IAC9C,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;IACV,IAAA,0BAAM,GAAE;;6CACM;AAMf;IAJC,IAAA,oBAAW,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;IAC9C,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;IACV,IAAA,0BAAM,GAAE;;8CACO"}
|
|
@@ -1,2 +1,13 @@
|
|
|
1
|
+
import { RoleEnum } from "src/enum/role.enum";
|
|
2
|
+
import { LanguageEnum } from "src/enum/language.enum";
|
|
1
3
|
export declare class UpdateUserDto {
|
|
4
|
+
tenantId: string;
|
|
5
|
+
email: string;
|
|
6
|
+
role: RoleEnum;
|
|
7
|
+
firstname: string;
|
|
8
|
+
lastname: string;
|
|
9
|
+
language: LanguageEnum;
|
|
10
|
+
phone: string;
|
|
11
|
+
mobile: string;
|
|
12
|
+
kleosId: string;
|
|
2
13
|
}
|
|
@@ -1,7 +1,84 @@
|
|
|
1
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
|
+
};
|
|
2
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
12
|
exports.UpdateUserDto = void 0;
|
|
13
|
+
const swagger_1 = require("@nestjs/swagger");
|
|
14
|
+
const class_transformer_1 = require("class-transformer");
|
|
15
|
+
const class_validator_1 = require("class-validator");
|
|
16
|
+
const role_enum_1 = require("src/enum/role.enum");
|
|
17
|
+
const language_enum_1 = require("src/enum/language.enum");
|
|
4
18
|
class UpdateUserDto {
|
|
5
19
|
}
|
|
6
20
|
exports.UpdateUserDto = UpdateUserDto;
|
|
21
|
+
__decorate([
|
|
22
|
+
(0, swagger_1.ApiProperty)({ type: String, required: false, format: 'uuid' }),
|
|
23
|
+
(0, class_validator_1.IsOptional)(),
|
|
24
|
+
(0, class_validator_1.IsUUID)(4),
|
|
25
|
+
(0, class_transformer_1.Expose)(),
|
|
26
|
+
__metadata("design:type", String)
|
|
27
|
+
], UpdateUserDto.prototype, "tenantId", void 0);
|
|
28
|
+
__decorate([
|
|
29
|
+
(0, swagger_1.ApiProperty)({ type: String, required: false }),
|
|
30
|
+
(0, class_validator_1.IsOptional)(),
|
|
31
|
+
(0, class_validator_1.IsString)(),
|
|
32
|
+
(0, class_transformer_1.Expose)(),
|
|
33
|
+
__metadata("design:type", String)
|
|
34
|
+
], UpdateUserDto.prototype, "email", void 0);
|
|
35
|
+
__decorate([
|
|
36
|
+
(0, swagger_1.ApiProperty)({ type: String, required: false }),
|
|
37
|
+
(0, class_validator_1.IsOptional)(),
|
|
38
|
+
(0, class_validator_1.IsEnum)(role_enum_1.RoleEnum),
|
|
39
|
+
(0, class_transformer_1.Expose)(),
|
|
40
|
+
__metadata("design:type", String)
|
|
41
|
+
], UpdateUserDto.prototype, "role", void 0);
|
|
42
|
+
__decorate([
|
|
43
|
+
(0, swagger_1.ApiProperty)({ type: String, required: false }),
|
|
44
|
+
(0, class_validator_1.IsOptional)(),
|
|
45
|
+
(0, class_validator_1.IsString)(),
|
|
46
|
+
(0, class_transformer_1.Expose)(),
|
|
47
|
+
__metadata("design:type", String)
|
|
48
|
+
], UpdateUserDto.prototype, "firstname", void 0);
|
|
49
|
+
__decorate([
|
|
50
|
+
(0, swagger_1.ApiProperty)({ type: String, required: false }),
|
|
51
|
+
(0, class_validator_1.IsOptional)(),
|
|
52
|
+
(0, class_validator_1.IsString)(),
|
|
53
|
+
(0, class_transformer_1.Expose)(),
|
|
54
|
+
__metadata("design:type", String)
|
|
55
|
+
], UpdateUserDto.prototype, "lastname", void 0);
|
|
56
|
+
__decorate([
|
|
57
|
+
(0, swagger_1.ApiProperty)({ enum: language_enum_1.LanguageEnum, required: false }),
|
|
58
|
+
(0, class_validator_1.IsOptional)(),
|
|
59
|
+
(0, class_validator_1.IsEnum)(language_enum_1.LanguageEnum),
|
|
60
|
+
(0, class_transformer_1.Expose)(),
|
|
61
|
+
__metadata("design:type", String)
|
|
62
|
+
], UpdateUserDto.prototype, "language", void 0);
|
|
63
|
+
__decorate([
|
|
64
|
+
(0, swagger_1.ApiProperty)({ type: String, required: false }),
|
|
65
|
+
(0, class_validator_1.IsOptional)(),
|
|
66
|
+
(0, class_validator_1.IsString)(),
|
|
67
|
+
(0, class_transformer_1.Expose)(),
|
|
68
|
+
__metadata("design:type", String)
|
|
69
|
+
], UpdateUserDto.prototype, "phone", void 0);
|
|
70
|
+
__decorate([
|
|
71
|
+
(0, swagger_1.ApiProperty)({ type: String, required: false }),
|
|
72
|
+
(0, class_validator_1.IsOptional)(),
|
|
73
|
+
(0, class_validator_1.IsString)(),
|
|
74
|
+
(0, class_transformer_1.Expose)(),
|
|
75
|
+
__metadata("design:type", String)
|
|
76
|
+
], UpdateUserDto.prototype, "mobile", void 0);
|
|
77
|
+
__decorate([
|
|
78
|
+
(0, swagger_1.ApiProperty)({ type: String, required: false }),
|
|
79
|
+
(0, class_validator_1.IsOptional)(),
|
|
80
|
+
(0, class_validator_1.IsString)(),
|
|
81
|
+
(0, class_transformer_1.Expose)(),
|
|
82
|
+
__metadata("design:type", String)
|
|
83
|
+
], UpdateUserDto.prototype, "kleosId", void 0);
|
|
7
84
|
//# sourceMappingURL=updateUser.dto.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"updateUser.dto.js","sourceRoot":"","sources":["../../../src/dto/user/updateUser.dto.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"updateUser.dto.js","sourceRoot":"","sources":["../../../src/dto/user/updateUser.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,6CAA8C;AAC9C,yDAA2C;AAC3C,qDAAuE;AACvE,kDAA8C;AAC9C,0DAAsD;AAEtD,MAAa,aAAa;CAsDzB;AAtDD,sCAsDC;AAjDC;IAJC,IAAA,qBAAW,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,KAAK,EAAE,MAAM,EAAE,MAAM,EAAE,CAAC;IAC9D,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAM,EAA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C;IAC9C,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;IACV,IAAA,0BAAM,GAAE;;6CACM;AAMf;IAJC,IAAA,qBAAW,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;IAC9C,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;IACV,IAAA,0BAAM,GAAE;;8CACO"}
|
|
@@ -1,9 +1,19 @@
|
|
|
1
1
|
import { UserEmbeddedDto } from './userEmbedded.dto';
|
|
2
2
|
import { RoleEnum } from '../../enum/role.enum';
|
|
3
|
+
import { LanguageEnum } from '../../enum/language.enum';
|
|
3
4
|
declare const UserDto_base: import("../generic/base.dto").BaseDtoType<UserEmbeddedDto>;
|
|
4
5
|
export declare class UserDto extends UserDto_base {
|
|
5
6
|
id: string;
|
|
7
|
+
tenantId: string;
|
|
6
8
|
email: string;
|
|
9
|
+
oidcId: string;
|
|
7
10
|
role: RoleEnum;
|
|
11
|
+
firstname: string;
|
|
12
|
+
lastname: string;
|
|
13
|
+
language: LanguageEnum;
|
|
14
|
+
phone: string;
|
|
15
|
+
mobile: string;
|
|
16
|
+
kleosId: string;
|
|
17
|
+
isArchived: boolean;
|
|
8
18
|
}
|
|
9
19
|
export {};
|