@ballistix.digital/types-eurogarant-react 0.24.0 → 0.26.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/comment/updateComment.dto.js +1 -1
- package/dist/dto/comment/updateComment.dto.js.map +1 -1
- package/dist/dto/contact/updateContact.dto.d.ts +7 -7
- package/dist/dto/contact/updateContact.dto.js +18 -8
- package/dist/dto/contact/updateContact.dto.js.map +1 -1
- package/dist/dto/customer/updateCustomer.dto.d.ts +23 -23
- package/dist/dto/customer/updateCustomer.dto.js +33 -28
- package/dist/dto/customer/updateCustomer.dto.js.map +1 -1
- package/dist/dto/customerAccessRight/updateCustomerAccessRight.dto.js +1 -1
- package/dist/dto/customerAccessRight/updateCustomerAccessRight.dto.js.map +1 -1
- package/dist/dto/customerGroup/updateCustomerGroup.dto.js +1 -1
- package/dist/dto/customerGroup/updateCustomerGroup.dto.js.map +1 -1
- package/dist/dto/cycle/updateCycle.dto.js +3 -3
- package/dist/dto/cycle/updateCycle.dto.js.map +1 -1
- package/dist/dto/cycleQuestion/updateCycleQuestion.dto.js +1 -1
- package/dist/dto/cycleQuestion/updateCycleQuestion.dto.js.map +1 -1
- package/dist/dto/email/updateEmail.dto.d.ts +5 -5
- package/dist/dto/email/updateEmail.dto.js +12 -7
- package/dist/dto/email/updateEmail.dto.js.map +1 -1
- package/dist/dto/invitation/updateInvitation.dto.d.ts +2 -2
- package/dist/dto/invitation/updateInvitation.dto.js +2 -2
- package/dist/dto/invitation/updateInvitation.dto.js.map +1 -1
- package/dist/dto/period/updatePeriod.dto.js +3 -3
- package/dist/dto/period/updatePeriod.dto.js.map +1 -1
- package/dist/dto/project/changelog/projectChangelog.dto.d.ts +1 -0
- package/dist/dto/project/changelog/projectChangelog.dto.js +5 -0
- package/dist/dto/project/changelog/projectChangelog.dto.js.map +1 -1
- package/dist/dto/project/project.dto.d.ts +1 -0
- package/dist/dto/project/project.dto.js +5 -0
- package/dist/dto/project/project.dto.js.map +1 -1
- package/dist/dto/project/updateProject.dto.d.ts +13 -12
- package/dist/dto/project/updateProject.dto.js +29 -17
- package/dist/dto/project/updateProject.dto.js.map +1 -1
- package/dist/dto/projectAttachment/updateProjectAttachment.dto.d.ts +4 -4
- package/dist/dto/projectAttachment/updateProjectAttachment.dto.js +8 -8
- package/dist/dto/projectAttachment/updateProjectAttachment.dto.js.map +1 -1
- package/dist/dto/question/updateQuestion.dto.d.ts +6 -6
- package/dist/dto/question/updateQuestion.dto.js +8 -8
- package/dist/dto/question/updateQuestion.dto.js.map +1 -1
- package/dist/dto/questionAttachment/updateQuestionAttachment.dto.d.ts +1 -1
- package/dist/dto/questionAttachment/updateQuestionAttachment.dto.js +3 -3
- package/dist/dto/questionAttachment/updateQuestionAttachment.dto.js.map +1 -1
- package/dist/dto/response/updateResponse.dto.d.ts +6 -6
- package/dist/dto/response/updateResponse.dto.js +6 -6
- package/dist/dto/response/updateResponse.dto.js.map +1 -1
- package/dist/dto/responseAttachment/updateResponseAttachment.dto.d.ts +1 -1
- package/dist/dto/responseAttachment/updateResponseAttachment.dto.js +3 -3
- package/dist/dto/responseAttachment/updateResponseAttachment.dto.js.map +1 -1
- package/dist/dto/survey/updateSurvey.dto.d.ts +1 -1
- package/dist/dto/survey/updateSurvey.dto.js +4 -4
- package/dist/dto/survey/updateSurvey.dto.js.map +1 -1
- package/dist/dto/user/updateUser.dto.d.ts +5 -5
- package/dist/dto/user/updateUser.dto.js +6 -5
- package/dist/dto/user/updateUser.dto.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
|
@@ -19,7 +19,7 @@ exports.UpdateCommentDto = UpdateCommentDto;
|
|
|
19
19
|
__decorate([
|
|
20
20
|
(0, nestjs_1.ApiProperty)({ type: String, required: false }),
|
|
21
21
|
(0, class_validator_1.IsString)(),
|
|
22
|
-
(0, class_validator_1.
|
|
22
|
+
(0, class_validator_1.ValidateIf)((_, value) => value !== undefined),
|
|
23
23
|
(0, class_transformer_1.Expose)(),
|
|
24
24
|
__metadata("design:type", String)
|
|
25
25
|
], UpdateCommentDto.prototype, "content", void 0);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"updateComment.dto.js","sourceRoot":"","sources":["../../../src/dto/comment/updateComment.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yCAA2C;AAC3C,qDAAuD;AACvD,yDAA2C;AAE3C,MAAa,gBAAgB;CAM5B;AAND,4CAMC;AADA;IAJC,IAAA,oBAAW,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;IAC9C,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,
|
|
1
|
+
{"version":3,"file":"updateComment.dto.js","sourceRoot":"","sources":["../../../src/dto/comment/updateComment.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yCAA2C;AAC3C,qDAAuD;AACvD,yDAA2C;AAE3C,MAAa,gBAAgB;CAM5B;AAND,4CAMC;AADA;IAJC,IAAA,oBAAW,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;IAC9C,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,EAAC,CAAC,CAAC,EAAE,KAAK,EAAE,EAAE,CAAC,KAAK,KAAK,SAAS,CAAC;IAC7C,IAAA,0BAAM,GAAE;;iDACQ"}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
export declare class UpdateContactDto {
|
|
2
|
-
customerId?: string;
|
|
3
|
-
customerGroupId?: string;
|
|
4
|
-
firstName?: string;
|
|
5
|
-
lastName?: string;
|
|
6
|
-
email?: string;
|
|
7
|
-
telephone?: string;
|
|
8
|
-
language?: string;
|
|
2
|
+
customerId?: string | null;
|
|
3
|
+
customerGroupId?: string | null;
|
|
4
|
+
firstName?: string | null;
|
|
5
|
+
lastName?: string | null;
|
|
6
|
+
email?: string | null;
|
|
7
|
+
telephone?: string | null;
|
|
8
|
+
language?: string | null;
|
|
9
9
|
isAuditee?: boolean;
|
|
10
10
|
}
|
|
@@ -17,49 +17,59 @@ class UpdateContactDto {
|
|
|
17
17
|
}
|
|
18
18
|
exports.UpdateContactDto = UpdateContactDto;
|
|
19
19
|
__decorate([
|
|
20
|
-
(0, nestjs_1.ApiProperty)({
|
|
20
|
+
(0, nestjs_1.ApiProperty)({
|
|
21
|
+
type: String,
|
|
22
|
+
required: false,
|
|
23
|
+
format: 'uuid',
|
|
24
|
+
nullable: true,
|
|
25
|
+
}),
|
|
21
26
|
(0, class_validator_1.IsOptional)(),
|
|
22
27
|
(0, class_validator_1.IsUUID)(),
|
|
23
28
|
(0, class_transformer_1.Expose)(),
|
|
24
29
|
__metadata("design:type", String)
|
|
25
30
|
], UpdateContactDto.prototype, "customerId", void 0);
|
|
26
31
|
__decorate([
|
|
27
|
-
(0, nestjs_1.ApiProperty)({
|
|
32
|
+
(0, nestjs_1.ApiProperty)({
|
|
33
|
+
type: String,
|
|
34
|
+
required: false,
|
|
35
|
+
format: 'uuid',
|
|
36
|
+
nullable: true,
|
|
37
|
+
}),
|
|
28
38
|
(0, class_validator_1.IsOptional)(),
|
|
29
39
|
(0, class_validator_1.IsUUID)(),
|
|
30
40
|
(0, class_transformer_1.Expose)(),
|
|
31
41
|
__metadata("design:type", String)
|
|
32
42
|
], UpdateContactDto.prototype, "customerGroupId", void 0);
|
|
33
43
|
__decorate([
|
|
34
|
-
(0, nestjs_1.ApiProperty)({ type: String, required: false }),
|
|
44
|
+
(0, nestjs_1.ApiProperty)({ type: String, required: false, nullable: true }),
|
|
35
45
|
(0, class_validator_1.IsString)(),
|
|
36
46
|
(0, class_validator_1.IsOptional)(),
|
|
37
47
|
(0, class_transformer_1.Expose)(),
|
|
38
48
|
__metadata("design:type", String)
|
|
39
49
|
], UpdateContactDto.prototype, "firstName", void 0);
|
|
40
50
|
__decorate([
|
|
41
|
-
(0, nestjs_1.ApiProperty)({ type: String, required: false }),
|
|
51
|
+
(0, nestjs_1.ApiProperty)({ type: String, required: false, nullable: true }),
|
|
42
52
|
(0, class_validator_1.IsString)(),
|
|
43
53
|
(0, class_validator_1.IsOptional)(),
|
|
44
54
|
(0, class_transformer_1.Expose)(),
|
|
45
55
|
__metadata("design:type", String)
|
|
46
56
|
], UpdateContactDto.prototype, "lastName", void 0);
|
|
47
57
|
__decorate([
|
|
48
|
-
(0, nestjs_1.ApiProperty)({ type: String, required: false }),
|
|
58
|
+
(0, nestjs_1.ApiProperty)({ type: String, required: false, nullable: true }),
|
|
49
59
|
(0, class_validator_1.IsString)(),
|
|
50
60
|
(0, class_validator_1.IsOptional)(),
|
|
51
61
|
(0, class_transformer_1.Expose)(),
|
|
52
62
|
__metadata("design:type", String)
|
|
53
63
|
], UpdateContactDto.prototype, "email", void 0);
|
|
54
64
|
__decorate([
|
|
55
|
-
(0, nestjs_1.ApiProperty)({ type: String, required: false }),
|
|
65
|
+
(0, nestjs_1.ApiProperty)({ type: String, required: false, nullable: true }),
|
|
56
66
|
(0, class_validator_1.IsString)(),
|
|
57
67
|
(0, class_validator_1.IsOptional)(),
|
|
58
68
|
(0, class_transformer_1.Expose)(),
|
|
59
69
|
__metadata("design:type", String)
|
|
60
70
|
], UpdateContactDto.prototype, "telephone", void 0);
|
|
61
71
|
__decorate([
|
|
62
|
-
(0, nestjs_1.ApiProperty)({ type: String, required: false }),
|
|
72
|
+
(0, nestjs_1.ApiProperty)({ type: String, required: false, nullable: true }),
|
|
63
73
|
(0, class_validator_1.IsString)(),
|
|
64
74
|
(0, class_validator_1.IsOptional)(),
|
|
65
75
|
(0, class_transformer_1.Expose)(),
|
|
@@ -68,7 +78,7 @@ __decorate([
|
|
|
68
78
|
__decorate([
|
|
69
79
|
(0, nestjs_1.ApiProperty)({ type: Boolean, required: false }),
|
|
70
80
|
(0, class_validator_1.IsBoolean)(),
|
|
71
|
-
(0, class_validator_1.
|
|
81
|
+
(0, class_validator_1.ValidateIf)((_, value) => value !== undefined),
|
|
72
82
|
(0, class_transformer_1.Expose)(),
|
|
73
83
|
__metadata("design:type", Boolean)
|
|
74
84
|
], UpdateContactDto.prototype, "isAuditee", void 0);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"updateContact.dto.js","sourceRoot":"","sources":["../../../src/dto/contact/updateContact.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yCAA2C;AAC3C,
|
|
1
|
+
{"version":3,"file":"updateContact.dto.js","sourceRoot":"","sources":["../../../src/dto/contact/updateContact.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yCAA2C;AAC3C,qDAMyB;AACzB,yDAA2C;AAE3C,MAAa,gBAAgB;CA0D5B;AA1DD,4CA0DC;AAhDA;IATC,IAAA,oBAAW,EAAC;QACZ,IAAI,EAAE,MAAM;QACZ,QAAQ,EAAE,KAAK;QACf,MAAM,EAAE,MAAM;QACd,QAAQ,EAAE,IAAI;KACd,CAAC;IACD,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAM,GAAE;IACR,IAAA,0BAAM,GAAE;;oDACkB;AAW3B;IATC,IAAA,oBAAW,EAAC;QACZ,IAAI,EAAE,MAAM;QACZ,QAAQ,EAAE,KAAK;QACf,MAAM,EAAE,MAAM;QACd,QAAQ,EAAE,IAAI;KACd,CAAC;IACD,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAM,GAAE;IACR,IAAA,0BAAM,GAAE;;yDACuB;AAMhC;IAJC,IAAA,oBAAW,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,KAAK,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;IAC9D,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAM,GAAE;;mDACiB;AAM1B;IAJC,IAAA,oBAAW,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,KAAK,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;IAC9D,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAM,GAAE;;kDACgB;AAMzB;IAJC,IAAA,oBAAW,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,KAAK,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;IAC9D,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAM,GAAE;;+CACa;AAMtB;IAJC,IAAA,oBAAW,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,KAAK,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;IAC9D,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAM,GAAE;;mDACiB;AAM1B;IAJC,IAAA,oBAAW,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,KAAK,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;IAC9D,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAM,GAAE;;kDACgB;AAMzB;IAJC,IAAA,oBAAW,EAAC,EAAE,IAAI,EAAE,OAAO,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;IAC/C,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,EAAC,CAAC,CAAC,EAAE,KAAK,EAAE,EAAE,CAAC,KAAK,KAAK,SAAS,CAAC;IAC7C,IAAA,0BAAM,GAAE;;mDACW"}
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import { CustomerRegionEnum, CustomerTypeEnum } from '../../enum';
|
|
2
2
|
export declare class UpdateCustomerDto {
|
|
3
3
|
name?: string;
|
|
4
|
-
customerGroupId?: string;
|
|
5
|
-
address?: string;
|
|
6
|
-
zipCode?: string;
|
|
7
|
-
city?: string;
|
|
8
|
-
region?: CustomerRegionEnum;
|
|
4
|
+
customerGroupId?: string | null;
|
|
5
|
+
address?: string | null;
|
|
6
|
+
zipCode?: string | null;
|
|
7
|
+
city?: string | null;
|
|
8
|
+
region?: CustomerRegionEnum | null;
|
|
9
9
|
type?: CustomerTypeEnum;
|
|
10
|
-
status?: string;
|
|
11
|
-
kboName?: string;
|
|
12
|
-
kboNumber?: string;
|
|
13
|
-
commercialName?: string;
|
|
14
|
-
vatNumber?: string;
|
|
15
|
-
director?: string;
|
|
16
|
-
crmRef?: string;
|
|
17
|
-
crmUpdatedAt?: string;
|
|
10
|
+
status?: string | null;
|
|
11
|
+
kboName?: string | null;
|
|
12
|
+
kboNumber?: string | null;
|
|
13
|
+
commercialName?: string | null;
|
|
14
|
+
vatNumber?: string | null;
|
|
15
|
+
director?: string | null;
|
|
16
|
+
crmRef?: string | null;
|
|
17
|
+
crmUpdatedAt?: string | null;
|
|
18
18
|
isCrmUpdated?: boolean;
|
|
19
|
-
bookkeepingRef?: string;
|
|
20
|
-
informexNumbers?: string;
|
|
21
|
-
egt?: string;
|
|
22
|
-
language?: string;
|
|
23
|
-
telephone?: string;
|
|
24
|
-
email?: string;
|
|
25
|
-
productives?: number;
|
|
26
|
-
insuredDamages?: number;
|
|
27
|
-
personalDamages?: number;
|
|
28
|
-
fleet?: number;
|
|
19
|
+
bookkeepingRef?: string | null;
|
|
20
|
+
informexNumbers?: string | null;
|
|
21
|
+
egt?: string | null;
|
|
22
|
+
language?: string | null;
|
|
23
|
+
telephone?: string | null;
|
|
24
|
+
email?: string | null;
|
|
25
|
+
productives?: number | null;
|
|
26
|
+
insuredDamages?: number | null;
|
|
27
|
+
personalDamages?: number | null;
|
|
28
|
+
fleet?: number | null;
|
|
29
29
|
isSubscribedToSmartRepair?: boolean;
|
|
30
30
|
isSubscribedToEMobility?: boolean;
|
|
31
31
|
}
|
|
@@ -20,40 +20,45 @@ exports.UpdateCustomerDto = UpdateCustomerDto;
|
|
|
20
20
|
__decorate([
|
|
21
21
|
(0, nestjs_1.ApiProperty)({ type: String, required: false }),
|
|
22
22
|
(0, class_validator_1.IsString)(),
|
|
23
|
-
(0, class_validator_1.
|
|
23
|
+
(0, class_validator_1.ValidateIf)((_, value) => value !== undefined),
|
|
24
24
|
(0, class_transformer_1.Expose)(),
|
|
25
25
|
__metadata("design:type", String)
|
|
26
26
|
], UpdateCustomerDto.prototype, "name", void 0);
|
|
27
27
|
__decorate([
|
|
28
|
-
(0, nestjs_1.ApiProperty)({
|
|
28
|
+
(0, nestjs_1.ApiProperty)({
|
|
29
|
+
type: String,
|
|
30
|
+
required: false,
|
|
31
|
+
format: 'uuid',
|
|
32
|
+
nullable: true,
|
|
33
|
+
}),
|
|
29
34
|
(0, class_validator_1.IsUUID)(),
|
|
30
35
|
(0, class_validator_1.IsOptional)(),
|
|
31
36
|
(0, class_transformer_1.Expose)(),
|
|
32
37
|
__metadata("design:type", String)
|
|
33
38
|
], UpdateCustomerDto.prototype, "customerGroupId", void 0);
|
|
34
39
|
__decorate([
|
|
35
|
-
(0, nestjs_1.ApiProperty)({ type: String, required: false }),
|
|
40
|
+
(0, nestjs_1.ApiProperty)({ type: String, required: false, nullable: true }),
|
|
36
41
|
(0, class_validator_1.IsString)(),
|
|
37
42
|
(0, class_validator_1.IsOptional)(),
|
|
38
43
|
(0, class_transformer_1.Expose)(),
|
|
39
44
|
__metadata("design:type", String)
|
|
40
45
|
], UpdateCustomerDto.prototype, "address", void 0);
|
|
41
46
|
__decorate([
|
|
42
|
-
(0, nestjs_1.ApiProperty)({ type: String, required: false }),
|
|
47
|
+
(0, nestjs_1.ApiProperty)({ type: String, required: false, nullable: true }),
|
|
43
48
|
(0, class_validator_1.IsString)(),
|
|
44
49
|
(0, class_validator_1.IsOptional)(),
|
|
45
50
|
(0, class_transformer_1.Expose)(),
|
|
46
51
|
__metadata("design:type", String)
|
|
47
52
|
], UpdateCustomerDto.prototype, "zipCode", void 0);
|
|
48
53
|
__decorate([
|
|
49
|
-
(0, nestjs_1.ApiProperty)({ type: String, required: false }),
|
|
54
|
+
(0, nestjs_1.ApiProperty)({ type: String, required: false, nullable: true }),
|
|
50
55
|
(0, class_validator_1.IsString)(),
|
|
51
56
|
(0, class_validator_1.IsOptional)(),
|
|
52
57
|
(0, class_transformer_1.Expose)(),
|
|
53
58
|
__metadata("design:type", String)
|
|
54
59
|
], UpdateCustomerDto.prototype, "city", void 0);
|
|
55
60
|
__decorate([
|
|
56
|
-
(0, nestjs_1.ApiProperty)({ enum: enum_1.CustomerRegionEnum, required: false }),
|
|
61
|
+
(0, nestjs_1.ApiProperty)({ enum: enum_1.CustomerRegionEnum, required: false, nullable: true }),
|
|
57
62
|
(0, class_validator_1.IsOptional)(),
|
|
58
63
|
(0, class_validator_1.IsIn)(Object.values(enum_1.CustomerRegionEnum)),
|
|
59
64
|
(0, class_transformer_1.Expose)(),
|
|
@@ -61,62 +66,62 @@ __decorate([
|
|
|
61
66
|
], UpdateCustomerDto.prototype, "region", void 0);
|
|
62
67
|
__decorate([
|
|
63
68
|
(0, nestjs_1.ApiProperty)({ enum: enum_1.CustomerTypeEnum, required: false }),
|
|
64
|
-
(0, class_validator_1.
|
|
69
|
+
(0, class_validator_1.ValidateIf)((_, value) => value !== undefined),
|
|
65
70
|
(0, class_validator_1.IsIn)(Object.values(enum_1.CustomerTypeEnum)),
|
|
66
71
|
(0, class_transformer_1.Expose)(),
|
|
67
72
|
__metadata("design:type", String)
|
|
68
73
|
], UpdateCustomerDto.prototype, "type", void 0);
|
|
69
74
|
__decorate([
|
|
70
|
-
(0, nestjs_1.ApiProperty)({ type: String, required: false }),
|
|
75
|
+
(0, nestjs_1.ApiProperty)({ type: String, required: false, nullable: true }),
|
|
71
76
|
(0, class_validator_1.IsString)(),
|
|
72
77
|
(0, class_validator_1.IsOptional)(),
|
|
73
78
|
(0, class_transformer_1.Expose)(),
|
|
74
79
|
__metadata("design:type", String)
|
|
75
80
|
], UpdateCustomerDto.prototype, "status", void 0);
|
|
76
81
|
__decorate([
|
|
77
|
-
(0, nestjs_1.ApiProperty)({ type: String, required: false }),
|
|
82
|
+
(0, nestjs_1.ApiProperty)({ type: String, required: false, nullable: true }),
|
|
78
83
|
(0, class_validator_1.IsString)(),
|
|
79
84
|
(0, class_validator_1.IsOptional)(),
|
|
80
85
|
(0, class_transformer_1.Expose)(),
|
|
81
86
|
__metadata("design:type", String)
|
|
82
87
|
], UpdateCustomerDto.prototype, "kboName", void 0);
|
|
83
88
|
__decorate([
|
|
84
|
-
(0, nestjs_1.ApiProperty)({ type: String, required: false }),
|
|
89
|
+
(0, nestjs_1.ApiProperty)({ type: String, required: false, nullable: true }),
|
|
85
90
|
(0, class_validator_1.IsString)(),
|
|
86
91
|
(0, class_validator_1.IsOptional)(),
|
|
87
92
|
(0, class_transformer_1.Expose)(),
|
|
88
93
|
__metadata("design:type", String)
|
|
89
94
|
], UpdateCustomerDto.prototype, "kboNumber", void 0);
|
|
90
95
|
__decorate([
|
|
91
|
-
(0, nestjs_1.ApiProperty)({ type: String, required: false }),
|
|
96
|
+
(0, nestjs_1.ApiProperty)({ type: String, required: false, nullable: true }),
|
|
92
97
|
(0, class_validator_1.IsString)(),
|
|
93
98
|
(0, class_validator_1.IsOptional)(),
|
|
94
99
|
(0, class_transformer_1.Expose)(),
|
|
95
100
|
__metadata("design:type", String)
|
|
96
101
|
], UpdateCustomerDto.prototype, "commercialName", void 0);
|
|
97
102
|
__decorate([
|
|
98
|
-
(0, nestjs_1.ApiProperty)({ type: String, required: false }),
|
|
103
|
+
(0, nestjs_1.ApiProperty)({ type: String, required: false, nullable: true }),
|
|
99
104
|
(0, class_validator_1.IsString)(),
|
|
100
105
|
(0, class_validator_1.IsOptional)(),
|
|
101
106
|
(0, class_transformer_1.Expose)(),
|
|
102
107
|
__metadata("design:type", String)
|
|
103
108
|
], UpdateCustomerDto.prototype, "vatNumber", void 0);
|
|
104
109
|
__decorate([
|
|
105
|
-
(0, nestjs_1.ApiProperty)({ type: String, required: false }),
|
|
110
|
+
(0, nestjs_1.ApiProperty)({ type: String, required: false, nullable: true }),
|
|
106
111
|
(0, class_validator_1.IsString)(),
|
|
107
112
|
(0, class_validator_1.IsOptional)(),
|
|
108
113
|
(0, class_transformer_1.Expose)(),
|
|
109
114
|
__metadata("design:type", String)
|
|
110
115
|
], UpdateCustomerDto.prototype, "director", void 0);
|
|
111
116
|
__decorate([
|
|
112
|
-
(0, nestjs_1.ApiProperty)({ type: String, required: false }),
|
|
117
|
+
(0, nestjs_1.ApiProperty)({ type: String, required: false, nullable: true }),
|
|
113
118
|
(0, class_validator_1.IsString)(),
|
|
114
119
|
(0, class_validator_1.IsOptional)(),
|
|
115
120
|
(0, class_transformer_1.Expose)(),
|
|
116
121
|
__metadata("design:type", String)
|
|
117
122
|
], UpdateCustomerDto.prototype, "crmRef", void 0);
|
|
118
123
|
__decorate([
|
|
119
|
-
(0, nestjs_1.ApiProperty)({ type: String, required: false }),
|
|
124
|
+
(0, nestjs_1.ApiProperty)({ type: String, required: false, nullable: true }),
|
|
120
125
|
(0, class_validator_1.IsOptional)(),
|
|
121
126
|
(0, class_validator_1.IsDateString)(),
|
|
122
127
|
(0, class_transformer_1.Expose)(),
|
|
@@ -125,47 +130,47 @@ __decorate([
|
|
|
125
130
|
__decorate([
|
|
126
131
|
(0, nestjs_1.ApiProperty)({ type: Boolean, required: false }),
|
|
127
132
|
(0, class_validator_1.IsBoolean)(),
|
|
128
|
-
(0, class_validator_1.
|
|
133
|
+
(0, class_validator_1.ValidateIf)((_, value) => value !== undefined),
|
|
129
134
|
(0, class_transformer_1.Expose)(),
|
|
130
135
|
__metadata("design:type", Boolean)
|
|
131
136
|
], UpdateCustomerDto.prototype, "isCrmUpdated", void 0);
|
|
132
137
|
__decorate([
|
|
133
|
-
(0, nestjs_1.ApiProperty)({ type: String, required: false }),
|
|
138
|
+
(0, nestjs_1.ApiProperty)({ type: String, required: false, nullable: true }),
|
|
134
139
|
(0, class_validator_1.IsString)(),
|
|
135
140
|
(0, class_validator_1.IsOptional)(),
|
|
136
141
|
(0, class_transformer_1.Expose)(),
|
|
137
142
|
__metadata("design:type", String)
|
|
138
143
|
], UpdateCustomerDto.prototype, "bookkeepingRef", void 0);
|
|
139
144
|
__decorate([
|
|
140
|
-
(0, nestjs_1.ApiProperty)({ type: String, required: false }),
|
|
145
|
+
(0, nestjs_1.ApiProperty)({ type: String, required: false, nullable: true }),
|
|
141
146
|
(0, class_validator_1.IsString)(),
|
|
142
147
|
(0, class_validator_1.IsOptional)(),
|
|
143
148
|
(0, class_transformer_1.Expose)(),
|
|
144
149
|
__metadata("design:type", String)
|
|
145
150
|
], UpdateCustomerDto.prototype, "informexNumbers", void 0);
|
|
146
151
|
__decorate([
|
|
147
|
-
(0, nestjs_1.ApiProperty)({ type: String, required: false }),
|
|
152
|
+
(0, nestjs_1.ApiProperty)({ type: String, required: false, nullable: true }),
|
|
148
153
|
(0, class_validator_1.IsString)(),
|
|
149
154
|
(0, class_validator_1.IsOptional)(),
|
|
150
155
|
(0, class_transformer_1.Expose)(),
|
|
151
156
|
__metadata("design:type", String)
|
|
152
157
|
], UpdateCustomerDto.prototype, "egt", void 0);
|
|
153
158
|
__decorate([
|
|
154
|
-
(0, nestjs_1.ApiProperty)({ type: String, required: false }),
|
|
159
|
+
(0, nestjs_1.ApiProperty)({ type: String, required: false, nullable: true }),
|
|
155
160
|
(0, class_validator_1.IsString)(),
|
|
156
161
|
(0, class_validator_1.IsOptional)(),
|
|
157
162
|
(0, class_transformer_1.Expose)(),
|
|
158
163
|
__metadata("design:type", String)
|
|
159
164
|
], UpdateCustomerDto.prototype, "language", void 0);
|
|
160
165
|
__decorate([
|
|
161
|
-
(0, nestjs_1.ApiProperty)({ type: String, required: false }),
|
|
166
|
+
(0, nestjs_1.ApiProperty)({ type: String, required: false, nullable: true }),
|
|
162
167
|
(0, class_validator_1.IsString)(),
|
|
163
168
|
(0, class_validator_1.IsOptional)(),
|
|
164
169
|
(0, class_transformer_1.Expose)(),
|
|
165
170
|
__metadata("design:type", String)
|
|
166
171
|
], UpdateCustomerDto.prototype, "telephone", void 0);
|
|
167
172
|
__decorate([
|
|
168
|
-
(0, nestjs_1.ApiProperty)({ type: String, required: false }),
|
|
173
|
+
(0, nestjs_1.ApiProperty)({ type: String, required: false, nullable: true }),
|
|
169
174
|
(0, class_validator_1.IsString)(),
|
|
170
175
|
(0, class_validator_1.IsOptional)(),
|
|
171
176
|
(0, class_validator_1.IsEmail)(),
|
|
@@ -173,28 +178,28 @@ __decorate([
|
|
|
173
178
|
__metadata("design:type", String)
|
|
174
179
|
], UpdateCustomerDto.prototype, "email", void 0);
|
|
175
180
|
__decorate([
|
|
176
|
-
(0, nestjs_1.ApiProperty)({ type: Number, required: false }),
|
|
181
|
+
(0, nestjs_1.ApiProperty)({ type: Number, required: false, nullable: true }),
|
|
177
182
|
(0, class_validator_1.IsNumber)(),
|
|
178
183
|
(0, class_validator_1.IsOptional)(),
|
|
179
184
|
(0, class_transformer_1.Expose)(),
|
|
180
185
|
__metadata("design:type", Number)
|
|
181
186
|
], UpdateCustomerDto.prototype, "productives", void 0);
|
|
182
187
|
__decorate([
|
|
183
|
-
(0, nestjs_1.ApiProperty)({ type: Number, required: false }),
|
|
188
|
+
(0, nestjs_1.ApiProperty)({ type: Number, required: false, nullable: true }),
|
|
184
189
|
(0, class_validator_1.IsNumber)(),
|
|
185
190
|
(0, class_validator_1.IsOptional)(),
|
|
186
191
|
(0, class_transformer_1.Expose)(),
|
|
187
192
|
__metadata("design:type", Number)
|
|
188
193
|
], UpdateCustomerDto.prototype, "insuredDamages", void 0);
|
|
189
194
|
__decorate([
|
|
190
|
-
(0, nestjs_1.ApiProperty)({ type: Number, required: false }),
|
|
195
|
+
(0, nestjs_1.ApiProperty)({ type: Number, required: false, nullable: true }),
|
|
191
196
|
(0, class_validator_1.IsNumber)(),
|
|
192
197
|
(0, class_validator_1.IsOptional)(),
|
|
193
198
|
(0, class_transformer_1.Expose)(),
|
|
194
199
|
__metadata("design:type", Number)
|
|
195
200
|
], UpdateCustomerDto.prototype, "personalDamages", void 0);
|
|
196
201
|
__decorate([
|
|
197
|
-
(0, nestjs_1.ApiProperty)({ type: Number, required: false }),
|
|
202
|
+
(0, nestjs_1.ApiProperty)({ type: Number, required: false, nullable: true }),
|
|
198
203
|
(0, class_validator_1.IsNumber)(),
|
|
199
204
|
(0, class_validator_1.IsOptional)(),
|
|
200
205
|
(0, class_transformer_1.Expose)(),
|
|
@@ -203,14 +208,14 @@ __decorate([
|
|
|
203
208
|
__decorate([
|
|
204
209
|
(0, nestjs_1.ApiProperty)({ type: Boolean, required: false }),
|
|
205
210
|
(0, class_validator_1.IsBoolean)(),
|
|
206
|
-
(0, class_validator_1.
|
|
211
|
+
(0, class_validator_1.ValidateIf)((_, value) => value !== undefined),
|
|
207
212
|
(0, class_transformer_1.Expose)(),
|
|
208
213
|
__metadata("design:type", Boolean)
|
|
209
214
|
], UpdateCustomerDto.prototype, "isSubscribedToSmartRepair", void 0);
|
|
210
215
|
__decorate([
|
|
211
216
|
(0, nestjs_1.ApiProperty)({ type: Boolean, required: false }),
|
|
212
217
|
(0, class_validator_1.IsBoolean)(),
|
|
213
|
-
(0, class_validator_1.
|
|
218
|
+
(0, class_validator_1.ValidateIf)((_, value) => value !== undefined),
|
|
214
219
|
(0, class_transformer_1.Expose)(),
|
|
215
220
|
__metadata("design:type", Boolean)
|
|
216
221
|
], UpdateCustomerDto.prototype, "isSubscribedToEMobility", void 0);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"updateCustomer.dto.js","sourceRoot":"","sources":["../../../src/dto/customer/updateCustomer.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yCAA2C;AAC3C,
|
|
1
|
+
{"version":3,"file":"updateCustomer.dto.js","sourceRoot":"","sources":["../../../src/dto/customer/updateCustomer.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yCAA2C;AAC3C,qDAUyB;AACzB,yDAA2C;AAC3C,qCAAkE;AAElE,MAAa,iBAAiB;CAmL7B;AAnLD,8CAmLC;AA9KA;IAJC,IAAA,oBAAW,EAAC,EAAE,IAAI,EAAE,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validator_1.IsBoolean)(),
|
|
22
|
-
(0, class_validator_1.
|
|
22
|
+
(0, class_validator_1.ValidateIf)((_, value) => value !== undefined),
|
|
23
23
|
(0, class_transformer_1.Expose)(),
|
|
24
24
|
__metadata("design:type", Boolean)
|
|
25
25
|
], UpdateCustomerAccessRightDto.prototype, "hasFullAccess", void 0);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"updateCustomerAccessRight.dto.js","sourceRoot":"","sources":["../../../src/dto/customerAccessRight/updateCustomerAccessRight.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yCAA2C;AAC3C,qDAAwD;AACxD,yDAA2C;AAE3C,MAAa,4BAA4B;CAMxC;AAND,oEAMC;AADA;IAJC,IAAA,oBAAW,EAAC,EAAE,IAAI,EAAE,OAAO,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;IAC/C,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,
|
|
1
|
+
{"version":3,"file":"updateCustomerAccessRight.dto.js","sourceRoot":"","sources":["../../../src/dto/customerAccessRight/updateCustomerAccessRight.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yCAA2C;AAC3C,qDAAwD;AACxD,yDAA2C;AAE3C,MAAa,4BAA4B;CAMxC;AAND,oEAMC;AADA;IAJC,IAAA,oBAAW,EAAC,EAAE,IAAI,EAAE,OAAO,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;IAC/C,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,EAAC,CAAC,CAAC,EAAE,KAAK,EAAE,EAAE,CAAC,KAAK,KAAK,SAAS,CAAC;IAC7C,IAAA,0BAAM,GAAE;;mEACe"}
|
|
@@ -19,7 +19,7 @@ exports.UpdateCustomerGroupDto = UpdateCustomerGroupDto;
|
|
|
19
19
|
__decorate([
|
|
20
20
|
(0, nestjs_1.ApiProperty)({ type: String, required: false }),
|
|
21
21
|
(0, class_validator_1.IsString)(),
|
|
22
|
-
(0, class_validator_1.
|
|
22
|
+
(0, class_validator_1.ValidateIf)((_, value) => value !== undefined),
|
|
23
23
|
(0, class_transformer_1.Expose)(),
|
|
24
24
|
__metadata("design:type", String)
|
|
25
25
|
], UpdateCustomerGroupDto.prototype, "name", void 0);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"updateCustomerGroup.dto.js","sourceRoot":"","sources":["../../../src/dto/customerGroup/updateCustomerGroup.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yCAA2C;AAC3C,qDAAuD;AACvD,yDAA2C;AAE3C,MAAa,sBAAsB;CAMlC;AAND,wDAMC;AADA;IAJC,IAAA,oBAAW,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;IAC9C,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,
|
|
1
|
+
{"version":3,"file":"updateCustomerGroup.dto.js","sourceRoot":"","sources":["../../../src/dto/customerGroup/updateCustomerGroup.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yCAA2C;AAC3C,qDAAuD;AACvD,yDAA2C;AAE3C,MAAa,sBAAsB;CAMlC;AAND,wDAMC;AADA;IAJC,IAAA,oBAAW,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;IAC9C,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,EAAC,CAAC,CAAC,EAAE,KAAK,EAAE,EAAE,CAAC,KAAK,KAAK,SAAS,CAAC;IAC7C,IAAA,0BAAM,GAAE;;oDACK"}
|
|
@@ -19,7 +19,7 @@ class UpdateCycleDto {
|
|
|
19
19
|
exports.UpdateCycleDto = UpdateCycleDto;
|
|
20
20
|
__decorate([
|
|
21
21
|
(0, nestjs_1.ApiProperty)({ type: Number, required: false }),
|
|
22
|
-
(0, class_validator_1.
|
|
22
|
+
(0, class_validator_1.ValidateIf)((_, value) => value !== undefined),
|
|
23
23
|
(0, class_transformer_1.Expose)(),
|
|
24
24
|
(0, class_validator_1.IsNumber)(),
|
|
25
25
|
__metadata("design:type", Number)
|
|
@@ -27,13 +27,13 @@ __decorate([
|
|
|
27
27
|
__decorate([
|
|
28
28
|
(0, nestjs_1.ApiProperty)({ type: String, required: false }),
|
|
29
29
|
(0, class_validator_1.IsString)(),
|
|
30
|
-
(0, class_validator_1.
|
|
30
|
+
(0, class_validator_1.ValidateIf)((_, value) => value !== undefined),
|
|
31
31
|
(0, class_transformer_1.Expose)(),
|
|
32
32
|
__metadata("design:type", String)
|
|
33
33
|
], UpdateCycleDto.prototype, "title", void 0);
|
|
34
34
|
__decorate([
|
|
35
35
|
(0, nestjs_1.ApiProperty)({ enum: cycleStatus_enum_1.CycleStatusEnum, required: false }),
|
|
36
|
-
(0, class_validator_1.
|
|
36
|
+
(0, class_validator_1.ValidateIf)((_, value) => value !== undefined),
|
|
37
37
|
(0, class_validator_1.IsIn)(Object.values(cycleStatus_enum_1.CycleStatusEnum)),
|
|
38
38
|
(0, class_transformer_1.Expose)(),
|
|
39
39
|
__metadata("design:type", String)
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"updateCycle.dto.js","sourceRoot":"","sources":["../../../src/dto/cycle/updateCycle.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yCAA2C;AAC3C,qDAAuE;AACvE,yDAA2C;AAC3C,kEAA8D;AAE9D,MAAa,cAAc;CAkB1B;AAlBD,wCAkBC;AAbA;IAJC,IAAA,oBAAW,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;IAC9C,IAAA,4BAAU,
|
|
1
|
+
{"version":3,"file":"updateCycle.dto.js","sourceRoot":"","sources":["../../../src/dto/cycle/updateCycle.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yCAA2C;AAC3C,qDAAuE;AACvE,yDAA2C;AAC3C,kEAA8D;AAE9D,MAAa,cAAc;CAkB1B;AAlBD,wCAkBC;AAbA;IAJC,IAAA,oBAAW,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;IAC9C,IAAA,4BAAU,EAAC,CAAC,CAAC,EAAE,KAAK,EAAE,EAAE,CAAC,KAAK,KAAK,SAAS,CAAC;IAC7C,IAAA,0BAAM,GAAE;IACR,IAAA,0BAAQ,GAAE;;sDACa;AAMxB;IAJC,IAAA,oBAAW,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;IAC9C,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,EAAC,CAAC,CAAC,EAAE,KAAK,EAAE,EAAE,CAAC,KAAK,KAAK,SAAS,CAAC;IAC7C,IAAA,0BAAM,GAAE;;6CACM;AAMf;IAJC,IAAA,oBAAW,EAAC,EAAE,IAAI,EAAE,kCAAe,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;IACvD,IAAA,4BAAU,EAAC,CAAC,CAAC,EAAE,KAAK,EAAE,EAAE,CAAC,KAAK,KAAK,SAAS,CAAC;IAC7C,IAAA,sBAAI,EAAC,MAAM,CAAC,MAAM,CAAC,kCAAe,CAAC,CAAC;IACpC,IAAA,0BAAM,GAAE;;8CACgB"}
|
|
@@ -18,7 +18,7 @@ class UpdateCycleQuestionDto {
|
|
|
18
18
|
exports.UpdateCycleQuestionDto = UpdateCycleQuestionDto;
|
|
19
19
|
__decorate([
|
|
20
20
|
(0, nestjs_1.ApiProperty)({ type: Number, required: false }),
|
|
21
|
-
(0, class_validator_1.
|
|
21
|
+
(0, class_validator_1.ValidateIf)((_, value) => value !== undefined),
|
|
22
22
|
(0, class_transformer_1.Expose)(),
|
|
23
23
|
(0, class_validator_1.IsNumber)(),
|
|
24
24
|
__metadata("design:type", Number)
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"updateCycleQuestion.dto.js","sourceRoot":"","sources":["../../../src/dto/cycleQuestion/updateCycleQuestion.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yCAA2C;AAC3C,qDAAuD;AACvD,yDAA2C;AAE3C,MAAa,sBAAsB;CAMlC;AAND,wDAMC;AADA;IAJC,IAAA,oBAAW,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;IAC9C,IAAA,4BAAU,
|
|
1
|
+
{"version":3,"file":"updateCycleQuestion.dto.js","sourceRoot":"","sources":["../../../src/dto/cycleQuestion/updateCycleQuestion.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yCAA2C;AAC3C,qDAAuD;AACvD,yDAA2C;AAE3C,MAAa,sBAAsB;CAMlC;AAND,wDAMC;AADA;IAJC,IAAA,oBAAW,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;IAC9C,IAAA,4BAAU,EAAC,CAAC,CAAC,EAAE,KAAK,EAAE,EAAE,CAAC,KAAK,KAAK,SAAS,CAAC;IAC7C,IAAA,0BAAM,GAAE;IACR,IAAA,0BAAQ,GAAE;;8DACa"}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
export declare class UpdateEmailDto {
|
|
2
2
|
to?: string;
|
|
3
|
-
cc?: string;
|
|
4
|
-
bcc?: string;
|
|
3
|
+
cc?: string | null;
|
|
4
|
+
bcc?: string | null;
|
|
5
5
|
from?: string;
|
|
6
|
-
replyTo?: string;
|
|
7
|
-
emailTemplateId?: string;
|
|
8
|
-
dynamicTemplateData?: unknown;
|
|
6
|
+
replyTo?: string | null;
|
|
7
|
+
emailTemplateId?: string | null;
|
|
8
|
+
dynamicTemplateData?: unknown | null;
|
|
9
9
|
}
|
|
@@ -19,19 +19,19 @@ exports.UpdateEmailDto = UpdateEmailDto;
|
|
|
19
19
|
__decorate([
|
|
20
20
|
(0, nestjs_1.ApiProperty)({ type: String, required: false }),
|
|
21
21
|
(0, class_validator_1.IsString)(),
|
|
22
|
-
(0, class_validator_1.
|
|
22
|
+
(0, class_validator_1.ValidateIf)((_, value) => value !== undefined),
|
|
23
23
|
(0, class_transformer_1.Expose)(),
|
|
24
24
|
__metadata("design:type", String)
|
|
25
25
|
], UpdateEmailDto.prototype, "to", void 0);
|
|
26
26
|
__decorate([
|
|
27
|
-
(0, nestjs_1.ApiProperty)({ type: String, required: false }),
|
|
27
|
+
(0, nestjs_1.ApiProperty)({ type: String, required: false, nullable: true }),
|
|
28
28
|
(0, class_validator_1.IsString)(),
|
|
29
29
|
(0, class_validator_1.IsOptional)(),
|
|
30
30
|
(0, class_transformer_1.Expose)(),
|
|
31
31
|
__metadata("design:type", String)
|
|
32
32
|
], UpdateEmailDto.prototype, "cc", void 0);
|
|
33
33
|
__decorate([
|
|
34
|
-
(0, nestjs_1.ApiProperty)({ type: String, required: false }),
|
|
34
|
+
(0, nestjs_1.ApiProperty)({ type: String, required: false, nullable: true }),
|
|
35
35
|
(0, class_validator_1.IsString)(),
|
|
36
36
|
(0, class_validator_1.IsOptional)(),
|
|
37
37
|
(0, class_transformer_1.Expose)(),
|
|
@@ -40,26 +40,31 @@ __decorate([
|
|
|
40
40
|
__decorate([
|
|
41
41
|
(0, nestjs_1.ApiProperty)({ type: String, required: false }),
|
|
42
42
|
(0, class_validator_1.IsString)(),
|
|
43
|
-
(0, class_validator_1.
|
|
43
|
+
(0, class_validator_1.ValidateIf)((_, value) => value !== undefined),
|
|
44
44
|
(0, class_transformer_1.Expose)(),
|
|
45
45
|
__metadata("design:type", String)
|
|
46
46
|
], UpdateEmailDto.prototype, "from", void 0);
|
|
47
47
|
__decorate([
|
|
48
|
-
(0, nestjs_1.ApiProperty)({ type: String, required: false }),
|
|
48
|
+
(0, nestjs_1.ApiProperty)({ type: String, required: false, nullable: true }),
|
|
49
49
|
(0, class_validator_1.IsString)(),
|
|
50
50
|
(0, class_validator_1.IsOptional)(),
|
|
51
51
|
(0, class_transformer_1.Expose)(),
|
|
52
52
|
__metadata("design:type", String)
|
|
53
53
|
], UpdateEmailDto.prototype, "replyTo", void 0);
|
|
54
54
|
__decorate([
|
|
55
|
-
(0, nestjs_1.ApiProperty)({
|
|
55
|
+
(0, nestjs_1.ApiProperty)({
|
|
56
|
+
type: String,
|
|
57
|
+
required: false,
|
|
58
|
+
format: 'uuid',
|
|
59
|
+
nullable: true,
|
|
60
|
+
}),
|
|
56
61
|
(0, class_validator_1.IsUUID)(),
|
|
57
62
|
(0, class_validator_1.IsOptional)(),
|
|
58
63
|
(0, class_transformer_1.Expose)(),
|
|
59
64
|
__metadata("design:type", String)
|
|
60
65
|
], UpdateEmailDto.prototype, "emailTemplateId", void 0);
|
|
61
66
|
__decorate([
|
|
62
|
-
(0, nestjs_1.ApiProperty)({ type: Object, required: false }),
|
|
67
|
+
(0, nestjs_1.ApiProperty)({ type: Object, required: false, nullable: true }),
|
|
63
68
|
(0, class_validator_1.IsObject)(),
|
|
64
69
|
(0, class_validator_1.IsOptional)(),
|
|
65
70
|
(0, class_transformer_1.Expose)(),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"updateEmail.dto.js","sourceRoot":"","sources":["../../../src/dto/email/updateEmail.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yCAA2C;AAC3C,yDAA2C;AAC3C,
|
|
1
|
+
{"version":3,"file":"updateEmail.dto.js","sourceRoot":"","sources":["../../../src/dto/email/updateEmail.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yCAA2C;AAC3C,yDAA2C;AAC3C,qDAMyB;AAEzB,MAAa,cAAc;CA+C1B;AA/CD,wCA+CC;AA1CA;IAJC,IAAA,oBAAW,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;IAC9C,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,EAAC,CAAC,CAAC,EAAE,KAAK,EAAE,EAAE,CAAC,KAAK,KAAK,SAAS,CAAC;IAC7C,IAAA,0BAAM,GAAE;;0CACG;AAMZ;IAJC,IAAA,oBAAW,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BAAM,GAAE;;2DAC4B"}
|
|
@@ -17,14 +17,14 @@ class UpdateInvitationDto {
|
|
|
17
17
|
}
|
|
18
18
|
exports.UpdateInvitationDto = UpdateInvitationDto;
|
|
19
19
|
__decorate([
|
|
20
|
-
(0, nestjs_1.ApiProperty)({ type: String, required: false }),
|
|
20
|
+
(0, nestjs_1.ApiProperty)({ type: String, required: false, nullable: true }),
|
|
21
21
|
(0, class_validator_1.IsString)(),
|
|
22
22
|
(0, class_validator_1.IsOptional)(),
|
|
23
23
|
(0, class_transformer_1.Expose)(),
|
|
24
24
|
__metadata("design:type", String)
|
|
25
25
|
], UpdateInvitationDto.prototype, "firstName", void 0);
|
|
26
26
|
__decorate([
|
|
27
|
-
(0, nestjs_1.ApiProperty)({ type: String, required: false }),
|
|
27
|
+
(0, nestjs_1.ApiProperty)({ type: String, required: false, nullable: true }),
|
|
28
28
|
(0, class_validator_1.IsString)(),
|
|
29
29
|
(0, class_validator_1.IsOptional)(),
|
|
30
30
|
(0, class_transformer_1.Expose)(),
|