@ballistix.digital/types-pbc-react 0.11.0 → 0.12.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/audit/audit.dto.d.ts +8 -6
- package/dist/dto/audit/audit.dto.js +17 -7
- package/dist/dto/audit/audit.dto.js.map +1 -1
- package/dist/dto/audit/createAudit.dto.d.ts +6 -5
- package/dist/dto/audit/createAudit.dto.js +17 -9
- package/dist/dto/audit/createAudit.dto.js.map +1 -1
- package/dist/dto/audit/updateAudit.dto.d.ts +5 -4
- package/dist/dto/audit/updateAudit.dto.js +15 -8
- package/dist/dto/audit/updateAudit.dto.js.map +1 -1
- package/dist/dto/customer/createCustomer.dto.d.ts +6 -0
- package/dist/dto/customer/createCustomer.dto.js +43 -0
- package/dist/dto/customer/createCustomer.dto.js.map +1 -1
- package/dist/dto/customer/customer.dto.d.ts +7 -0
- package/dist/dto/customer/customer.dto.js +35 -0
- package/dist/dto/customer/customer.dto.js.map +1 -1
- package/dist/dto/customer/updateCustomer.dto.d.ts +6 -0
- package/dist/dto/customer/updateCustomer.dto.js +43 -0
- package/dist/dto/customer/updateCustomer.dto.js.map +1 -1
- package/dist/dto/cycle/cycleCalculatedView.dto.d.ts +7 -0
- package/dist/dto/cycle/cycleCalculatedView.dto.js +43 -0
- package/dist/dto/cycle/cycleCalculatedView.dto.js.map +1 -0
- package/dist/dto/cycle/cycleEmbedded.dto.d.ts +2 -0
- package/dist/dto/cycle/cycleEmbedded.dto.js +7 -0
- package/dist/dto/cycle/cycleEmbedded.dto.js.map +1 -1
- package/dist/enum/auditType.enum.d.ts +3 -1
- package/dist/enum/auditType.enum.js +3 -1
- package/dist/enum/auditType.enum.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
|
@@ -1,15 +1,17 @@
|
|
|
1
|
-
import { AuditEmbeddedDto } from
|
|
2
|
-
import { AuditStatusEnum } from
|
|
3
|
-
import { AuditTypeEnum } from
|
|
1
|
+
import { AuditEmbeddedDto } from './auditEmbedded.dto';
|
|
2
|
+
import { AuditStatusEnum } from '../../enum/auditStatus.enum';
|
|
3
|
+
import { AuditTypeEnum } from '../../enum/auditType.enum';
|
|
4
4
|
declare const AuditDto_base: import("../generic/base.dto").BaseDtoType<AuditEmbeddedDto>;
|
|
5
5
|
export declare class AuditDto extends AuditDto_base {
|
|
6
6
|
id: string;
|
|
7
|
-
|
|
8
|
-
|
|
7
|
+
project: string;
|
|
8
|
+
projectStatus?: string;
|
|
9
|
+
year?: number;
|
|
10
|
+
projectNumber?: string;
|
|
9
11
|
status: AuditStatusEnum;
|
|
10
12
|
type?: AuditTypeEnum;
|
|
11
|
-
caseManager?: string;
|
|
12
13
|
customerId: string;
|
|
13
14
|
auditTeamId?: string;
|
|
15
|
+
isArchived: boolean;
|
|
14
16
|
}
|
|
15
17
|
export {};
|
|
@@ -28,12 +28,22 @@ __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
|
-
], AuditDto.prototype, "
|
|
31
|
+
], AuditDto.prototype, "project", void 0);
|
|
32
32
|
__decorate([
|
|
33
|
-
(0, nestjs_1.ApiProperty)({ type:
|
|
33
|
+
(0, nestjs_1.ApiProperty)({ type: String, required: false }),
|
|
34
|
+
(0, class_transformer_1.Expose)(),
|
|
35
|
+
__metadata("design:type", String)
|
|
36
|
+
], AuditDto.prototype, "projectStatus", void 0);
|
|
37
|
+
__decorate([
|
|
38
|
+
(0, nestjs_1.ApiProperty)({ type: Number, required: false }),
|
|
34
39
|
(0, class_transformer_1.Expose)(),
|
|
35
40
|
__metadata("design:type", Number)
|
|
36
41
|
], AuditDto.prototype, "year", void 0);
|
|
42
|
+
__decorate([
|
|
43
|
+
(0, nestjs_1.ApiProperty)({ type: String, required: false }),
|
|
44
|
+
(0, class_transformer_1.Expose)(),
|
|
45
|
+
__metadata("design:type", String)
|
|
46
|
+
], AuditDto.prototype, "projectNumber", void 0);
|
|
37
47
|
__decorate([
|
|
38
48
|
(0, nestjs_1.ApiProperty)({ enum: auditStatus_enum_1.AuditStatusEnum, required: true }),
|
|
39
49
|
(0, class_transformer_1.Expose)(),
|
|
@@ -44,11 +54,6 @@ __decorate([
|
|
|
44
54
|
(0, class_transformer_1.Expose)(),
|
|
45
55
|
__metadata("design:type", String)
|
|
46
56
|
], AuditDto.prototype, "type", void 0);
|
|
47
|
-
__decorate([
|
|
48
|
-
(0, nestjs_1.ApiProperty)({ type: String, required: true }),
|
|
49
|
-
(0, class_transformer_1.Expose)(),
|
|
50
|
-
__metadata("design:type", String)
|
|
51
|
-
], AuditDto.prototype, "caseManager", void 0);
|
|
52
57
|
__decorate([
|
|
53
58
|
(0, nestjs_1.ApiProperty)({ type: String, required: true, format: 'uuid' }),
|
|
54
59
|
(0, class_transformer_1.Expose)(),
|
|
@@ -59,4 +64,9 @@ __decorate([
|
|
|
59
64
|
(0, class_transformer_1.Expose)(),
|
|
60
65
|
__metadata("design:type", String)
|
|
61
66
|
], AuditDto.prototype, "auditTeamId", void 0);
|
|
67
|
+
__decorate([
|
|
68
|
+
(0, nestjs_1.ApiProperty)({ type: Boolean, required: true }),
|
|
69
|
+
(0, class_transformer_1.Expose)(),
|
|
70
|
+
__metadata("design:type", Boolean)
|
|
71
|
+
], AuditDto.prototype, "isArchived", void 0);
|
|
62
72
|
//# sourceMappingURL=audit.dto.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"audit.dto.js","sourceRoot":"","sources":["../../../src/dto/audit/audit.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,kDAA8C;AAC9C,yDAA2C;AAC3C,yCAA2C;AAC3C,2DAAuD;AACvD,
|
|
1
|
+
{"version":3,"file":"audit.dto.js","sourceRoot":"","sources":["../../../src/dto/audit/audit.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,kDAA8C;AAC9C,yDAA2C;AAC3C,yCAA2C;AAC3C,2DAAuD;AACvD,kEAA8D;AAC9D,8DAA0D;AAE1D,MAAa,QAAS,SAAQ,IAAA,kBAAO,EAAC,oCAAgB,CAAC;CAwCtD;AAxCD,4BAwCC;AArCA;IAFC,IAAA,oBAAW,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE,MAAM,EAAE,MAAM,EAAE,CAAC;IAC7D,IAAA,0BAAM,GAAE;;oCACG;AAIZ;IAFC,IAAA,oBAAW,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;IAC7C,IAAA,0BAAM,GAAE;;yCACQ;AAIjB;IAFC,IAAA,oBAAW,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;IAC9C,IAAA,0BAAM,GAAE;;+CACc;AAIvB;IAFC,IAAA,oBAAW,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;IAC9C,IAAA,0BAAM,GAAE;;sCACK;AAId;IAFC,IAAA,oBAAW,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;IAC9C,IAAA,0BAAM,GAAE;;+CACc;AAIvB;IAFC,IAAA,oBAAW,EAAC,EAAE,IAAI,EAAE,kCAAe,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;IACtD,IAAA,0BAAM,GAAE;;wCACgB;AAIzB;IAFC,IAAA,oBAAW,EAAC,EAAE,IAAI,EAAE,8BAAa,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;IACrD,IAAA,0BAAM,GAAE;;sCACY;AAIrB;IAFC,IAAA,oBAAW,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE,MAAM,EAAE,MAAM,EAAE,CAAC;IAC7D,IAAA,0BAAM,GAAE;;4CACW;AAIpB;IAFC,IAAA,oBAAW,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,KAAK,EAAE,MAAM,EAAE,MAAM,EAAE,CAAC;IAC9D,IAAA,0BAAM,GAAE;;6CACY;AAIrB;IAFC,IAAA,oBAAW,EAAC,EAAE,IAAI,EAAE,OAAO,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;IAC9C,IAAA,0BAAM,GAAE;;4CACY"}
|
|
@@ -1,11 +1,12 @@
|
|
|
1
|
-
import { AuditStatusEnum } from
|
|
2
|
-
import { AuditTypeEnum } from
|
|
1
|
+
import { AuditStatusEnum } from '../../enum/auditStatus.enum';
|
|
2
|
+
import { AuditTypeEnum } from '../../enum/auditType.enum';
|
|
3
3
|
export declare class CreateAuditDto {
|
|
4
|
-
|
|
5
|
-
|
|
4
|
+
project: string;
|
|
5
|
+
projectStatus?: string;
|
|
6
|
+
year?: number;
|
|
7
|
+
projectNumber?: string;
|
|
6
8
|
status?: AuditStatusEnum;
|
|
7
9
|
type?: AuditTypeEnum;
|
|
8
|
-
caseManager?: string;
|
|
9
10
|
customerId: string;
|
|
10
11
|
auditTeamId?: string;
|
|
11
12
|
}
|
|
@@ -23,16 +23,31 @@ __decorate([
|
|
|
23
23
|
(0, class_validator_1.IsString)(),
|
|
24
24
|
(0, class_transformer_1.Expose)(),
|
|
25
25
|
__metadata("design:type", String)
|
|
26
|
-
], CreateAuditDto.prototype, "
|
|
26
|
+
], CreateAuditDto.prototype, "project", void 0);
|
|
27
27
|
__decorate([
|
|
28
|
-
(0, nestjs_1.ApiProperty)({ type:
|
|
28
|
+
(0, nestjs_1.ApiProperty)({ type: String, required: false }),
|
|
29
|
+
(0, class_validator_1.IsString)(),
|
|
30
|
+
(0, class_validator_1.IsOptional)(),
|
|
31
|
+
(0, class_transformer_1.Expose)(),
|
|
32
|
+
__metadata("design:type", String)
|
|
33
|
+
], CreateAuditDto.prototype, "projectStatus", void 0);
|
|
34
|
+
__decorate([
|
|
35
|
+
(0, nestjs_1.ApiProperty)({ type: Number, required: false }),
|
|
29
36
|
(0, class_validator_1.IsNumber)(),
|
|
30
37
|
(0, class_validator_1.IsPositive)(),
|
|
38
|
+
(0, class_validator_1.IsOptional)(),
|
|
31
39
|
(0, class_validator_1.Min)(1970),
|
|
32
40
|
(0, class_validator_1.Max)(2100),
|
|
33
41
|
(0, class_transformer_1.Expose)(),
|
|
34
42
|
__metadata("design:type", Number)
|
|
35
43
|
], CreateAuditDto.prototype, "year", void 0);
|
|
44
|
+
__decorate([
|
|
45
|
+
(0, nestjs_1.ApiProperty)({ type: String, required: false }),
|
|
46
|
+
(0, class_validator_1.IsString)(),
|
|
47
|
+
(0, class_validator_1.IsOptional)(),
|
|
48
|
+
(0, class_transformer_1.Expose)(),
|
|
49
|
+
__metadata("design:type", String)
|
|
50
|
+
], CreateAuditDto.prototype, "projectNumber", void 0);
|
|
36
51
|
__decorate([
|
|
37
52
|
(0, nestjs_1.ApiProperty)({ enum: auditStatus_enum_1.AuditStatusEnum, required: false }),
|
|
38
53
|
(0, class_validator_1.IsString)(),
|
|
@@ -49,13 +64,6 @@ __decorate([
|
|
|
49
64
|
(0, class_transformer_1.Expose)(),
|
|
50
65
|
__metadata("design:type", String)
|
|
51
66
|
], CreateAuditDto.prototype, "type", void 0);
|
|
52
|
-
__decorate([
|
|
53
|
-
(0, nestjs_1.ApiProperty)({ type: String, required: false }),
|
|
54
|
-
(0, class_validator_1.IsString)(),
|
|
55
|
-
(0, class_validator_1.IsOptional)(),
|
|
56
|
-
(0, class_transformer_1.Expose)(),
|
|
57
|
-
__metadata("design:type", String)
|
|
58
|
-
], CreateAuditDto.prototype, "caseManager", void 0);
|
|
59
67
|
__decorate([
|
|
60
68
|
(0, nestjs_1.ApiProperty)({ type: String, required: true, format: 'uuid' }),
|
|
61
69
|
(0, class_validator_1.IsUUID)(),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"createAudit.dto.js","sourceRoot":"","sources":["../../../src/dto/audit/createAudit.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yCAA2C;AAC3C,
|
|
1
|
+
{"version":3,"file":"createAudit.dto.js","sourceRoot":"","sources":["../../../src/dto/audit/createAudit.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yCAA2C;AAC3C,qDAAqG;AACrG,yDAA2C;AAC3C,kEAA8D;AAC9D,8DAA0D;AAE1D,MAAa,cAAc;CAmD1B;AAnDD,wCAmDC;AA/CA;IAHC,IAAA,oBAAW,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;IAC7C,IAAA,0BAAQ,GAAE;IACV,IAAA,0BAAM,GAAE;;+CACQ;AAMjB;IAJC,IAAA,oBAAW,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;IAC9C,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAM,GAAE;;qDACc;AASvB;IAPC,IAAA,oBAAW,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;IAC9C,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;IACZ,IAAA,4BAAU,GAAE;IACZ,IAAA,qBAAG,EAAC,IAAI,CAAC;IACT,IAAA,qBAAG,EAAC,IAAI,CAAC;IACT,IAAA,0BAAM,GAAE;;4CACK;AAMd;IAJC,IAAA,oBAAW,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;IAC9C,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAM,GAAE;;qDACc;AAOvB;IALC,IAAA,oBAAW,EAAC,EAAE,IAAI,EAAE,kCAAe,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;IACvD,IAAA,0BAAQ,GAAE;IACV,IAAA,sBAAI,EAAC,MAAM,CAAC,MAAM,CAAC,kCAAe,CAAC,CAAC;IACpC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAM,GAAE;;8CACgB;AAOzB;IALC,IAAA,oBAAW,EAAC,EAAE,IAAI,EAAE,8BAAa,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;IACrD,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;IACZ,IAAA,sBAAI,EAAC,MAAM,CAAC,MAAM,CAAC,8BAAa,CAAC,CAAC;IAClC,IAAA,0BAAM,GAAE;;4CACY;AAKrB;IAHC,IAAA,oBAAW,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE,MAAM,EAAE,MAAM,EAAE,CAAC;IAC7D,IAAA,wBAAM,GAAE;IACR,IAAA,0BAAM,GAAE;;kDACW;AAMpB;IAJC,IAAA,oBAAW,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,KAAK,EAAE,MAAM,EAAE,MAAM,EAAE,CAAC;IAC9D,IAAA,wBAAM,GAAE;IACR,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAM,GAAE;;mDACY"}
|
|
@@ -1,10 +1,11 @@
|
|
|
1
|
-
import { AuditStatusEnum } from
|
|
2
|
-
import { AuditTypeEnum } from
|
|
1
|
+
import { AuditStatusEnum } from '../../enum/auditStatus.enum';
|
|
2
|
+
import { AuditTypeEnum } from '../../enum/auditType.enum';
|
|
3
3
|
export declare class UpdateAuditDto {
|
|
4
|
-
|
|
4
|
+
project?: string;
|
|
5
|
+
projectStatus?: string;
|
|
5
6
|
year?: number;
|
|
7
|
+
projectNumber?: string;
|
|
6
8
|
status?: AuditStatusEnum;
|
|
7
9
|
type?: AuditTypeEnum;
|
|
8
|
-
caseManager?: string;
|
|
9
10
|
auditTeamId?: string;
|
|
10
11
|
}
|
|
@@ -24,7 +24,14 @@ __decorate([
|
|
|
24
24
|
(0, class_validator_1.IsOptional)(),
|
|
25
25
|
(0, class_transformer_1.Expose)(),
|
|
26
26
|
__metadata("design:type", String)
|
|
27
|
-
], UpdateAuditDto.prototype, "
|
|
27
|
+
], UpdateAuditDto.prototype, "project", void 0);
|
|
28
|
+
__decorate([
|
|
29
|
+
(0, nestjs_1.ApiProperty)({ type: String, required: false }),
|
|
30
|
+
(0, class_validator_1.IsString)(),
|
|
31
|
+
(0, class_validator_1.IsOptional)(),
|
|
32
|
+
(0, class_transformer_1.Expose)(),
|
|
33
|
+
__metadata("design:type", String)
|
|
34
|
+
], UpdateAuditDto.prototype, "projectStatus", void 0);
|
|
28
35
|
__decorate([
|
|
29
36
|
(0, nestjs_1.ApiProperty)({ type: Number, required: false }),
|
|
30
37
|
(0, class_validator_1.IsNumber)(),
|
|
@@ -35,6 +42,13 @@ __decorate([
|
|
|
35
42
|
(0, class_transformer_1.Expose)(),
|
|
36
43
|
__metadata("design:type", Number)
|
|
37
44
|
], UpdateAuditDto.prototype, "year", void 0);
|
|
45
|
+
__decorate([
|
|
46
|
+
(0, nestjs_1.ApiProperty)({ type: String, required: false }),
|
|
47
|
+
(0, class_validator_1.IsString)(),
|
|
48
|
+
(0, class_validator_1.IsOptional)(),
|
|
49
|
+
(0, class_transformer_1.Expose)(),
|
|
50
|
+
__metadata("design:type", String)
|
|
51
|
+
], UpdateAuditDto.prototype, "projectNumber", void 0);
|
|
38
52
|
__decorate([
|
|
39
53
|
(0, nestjs_1.ApiProperty)({ enum: auditStatus_enum_1.AuditStatusEnum, required: false }),
|
|
40
54
|
(0, class_validator_1.IsString)(),
|
|
@@ -51,13 +65,6 @@ __decorate([
|
|
|
51
65
|
(0, class_transformer_1.Expose)(),
|
|
52
66
|
__metadata("design:type", String)
|
|
53
67
|
], UpdateAuditDto.prototype, "type", void 0);
|
|
54
|
-
__decorate([
|
|
55
|
-
(0, nestjs_1.ApiProperty)({ type: String, required: false }),
|
|
56
|
-
(0, class_validator_1.IsString)(),
|
|
57
|
-
(0, class_validator_1.IsOptional)(),
|
|
58
|
-
(0, class_transformer_1.Expose)(),
|
|
59
|
-
__metadata("design:type", String)
|
|
60
|
-
], UpdateAuditDto.prototype, "caseManager", void 0);
|
|
61
68
|
__decorate([
|
|
62
69
|
(0, nestjs_1.ApiProperty)({ type: String, required: false, format: 'uuid' }),
|
|
63
70
|
(0, class_validator_1.IsUUID)(),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"updateAudit.dto.js","sourceRoot":"","sources":["../../../src/dto/audit/updateAudit.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yCAA2C;AAC3C,
|
|
1
|
+
{"version":3,"file":"updateAudit.dto.js","sourceRoot":"","sources":["../../../src/dto/audit/updateAudit.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yCAA2C;AAC3C,qDAAqG;AACrG,yDAA2C;AAC3C,kEAA8D;AAC9D,8DAA0D;AAE1D,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,GAAE;IACZ,IAAA,0BAAM,GAAE;;+CACQ;AAMjB;IAJC,IAAA,oBAAW,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;IAC9C,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAM,GAAE;;qDACc;AASvB;IAPC,IAAA,oBAAW,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;IAC9C,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;IACZ,IAAA,4BAAU,GAAE;IACZ,IAAA,qBAAG,EAAC,IAAI,CAAC;IACT,IAAA,qBAAG,EAAC,IAAI,CAAC;IACT,IAAA,0BAAM,GAAE;;4CACK;AAMd;IAJC,IAAA,oBAAW,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;IAC9C,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAM,GAAE;;qDACc;AAOvB;IALC,IAAA,oBAAW,EAAC,EAAE,IAAI,EAAE,kCAAe,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;IACvD,IAAA,0BAAQ,GAAE;IACV,IAAA,sBAAI,EAAC,MAAM,CAAC,MAAM,CAAC,kCAAe,CAAC,CAAC;IACpC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAM,GAAE;;8CACgB;AAOzB;IALC,IAAA,oBAAW,EAAC,EAAE,IAAI,EAAE,8BAAa,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;IACrD,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;IACZ,IAAA,sBAAI,EAAC,MAAM,CAAC,MAAM,CAAC,8BAAa,CAAC,CAAC;IAClC,IAAA,0BAAM,GAAE;;4CACY;AAMrB;IAJC,IAAA,oBAAW,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,KAAK,EAAE,MAAM,EAAE,MAAM,EAAE,CAAC;IAC9D,IAAA,wBAAM,GAAE;IACR,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAM,GAAE;;mDACY"}
|
|
@@ -22,6 +22,20 @@ __decorate([
|
|
|
22
22
|
(0, class_transformer_1.Expose)(),
|
|
23
23
|
__metadata("design:type", String)
|
|
24
24
|
], CreateCustomerDto.prototype, "name", void 0);
|
|
25
|
+
__decorate([
|
|
26
|
+
(0, nestjs_1.ApiProperty)({ type: String, required: false }),
|
|
27
|
+
(0, class_validator_1.IsString)(),
|
|
28
|
+
(0, class_validator_1.IsOptional)(),
|
|
29
|
+
(0, class_transformer_1.Expose)(),
|
|
30
|
+
__metadata("design:type", String)
|
|
31
|
+
], CreateCustomerDto.prototype, "status", void 0);
|
|
32
|
+
__decorate([
|
|
33
|
+
(0, nestjs_1.ApiProperty)({ type: String, required: false }),
|
|
34
|
+
(0, class_validator_1.IsString)(),
|
|
35
|
+
(0, class_validator_1.IsOptional)(),
|
|
36
|
+
(0, class_transformer_1.Expose)(),
|
|
37
|
+
__metadata("design:type", String)
|
|
38
|
+
], CreateCustomerDto.prototype, "legalForm", void 0);
|
|
25
39
|
__decorate([
|
|
26
40
|
(0, nestjs_1.ApiProperty)({ type: String, required: false }),
|
|
27
41
|
(0, class_validator_1.IsString)(),
|
|
@@ -29,4 +43,33 @@ __decorate([
|
|
|
29
43
|
(0, class_transformer_1.Expose)(),
|
|
30
44
|
__metadata("design:type", String)
|
|
31
45
|
], CreateCustomerDto.prototype, "vrNumber", void 0);
|
|
46
|
+
__decorate([
|
|
47
|
+
(0, nestjs_1.ApiProperty)({ type: String, required: false }),
|
|
48
|
+
(0, class_validator_1.IsString)(),
|
|
49
|
+
(0, class_validator_1.IsOptional)(),
|
|
50
|
+
(0, class_transformer_1.Expose)(),
|
|
51
|
+
__metadata("design:type", String)
|
|
52
|
+
], CreateCustomerDto.prototype, "caseManager", void 0);
|
|
53
|
+
__decorate([
|
|
54
|
+
(0, nestjs_1.ApiProperty)({ type: String, required: false }),
|
|
55
|
+
(0, class_validator_1.IsString)(),
|
|
56
|
+
(0, class_validator_1.IsOptional)(),
|
|
57
|
+
(0, class_transformer_1.Expose)(),
|
|
58
|
+
__metadata("design:type", String)
|
|
59
|
+
], CreateCustomerDto.prototype, "language", void 0);
|
|
60
|
+
__decorate([
|
|
61
|
+
(0, nestjs_1.ApiProperty)({ type: String, required: false }),
|
|
62
|
+
(0, class_validator_1.IsString)(),
|
|
63
|
+
(0, class_validator_1.IsOptional)(),
|
|
64
|
+
(0, class_transformer_1.Expose)(),
|
|
65
|
+
__metadata("design:type", String)
|
|
66
|
+
], CreateCustomerDto.prototype, "country", void 0);
|
|
67
|
+
__decorate([
|
|
68
|
+
(0, nestjs_1.ApiProperty)({ type: String, required: false }),
|
|
69
|
+
(0, class_validator_1.IsString)(),
|
|
70
|
+
(0, class_validator_1.IsOptional)(),
|
|
71
|
+
(0, class_validator_1.IsEmail)(),
|
|
72
|
+
(0, class_transformer_1.Expose)(),
|
|
73
|
+
__metadata("design:type", String)
|
|
74
|
+
], CreateCustomerDto.prototype, "email", void 0);
|
|
32
75
|
//# sourceMappingURL=createCustomer.dto.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"createCustomer.dto.js","sourceRoot":"","sources":["../../../src/dto/customer/createCustomer.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yCAA2C;AAC3C,
|
|
1
|
+
{"version":3,"file":"createCustomer.dto.js","sourceRoot":"","sources":["../../../src/dto/customer/createCustomer.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yCAA2C;AAC3C,qDAAgE;AAChE,yDAA2C;AAE3C,MAAa,iBAAiB;CAgD7B;AAhDD,8CAgDC;AA5CA;IAHC,IAAA,oBAAW,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;IAC7C,IAAA,0BAAQ,GAAE;IACV,IAAA,0BAAM,GAAE;;+CACK;AAMd;IAJC,IAAA,oBAAW,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;IAC9C,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAM,GAAE;;iDACO;AAMhB;IAJC,IAAA,oBAAW,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;IAC9C,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAM,GAAE;;oDACU;AAMnB;IAJC,IAAA,oBAAW,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;IAC9C,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAM,GAAE;;mDACS;AAMlB;IAJC,IAAA,oBAAW,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;IAC9C,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAM,GAAE;;sDACY;AAMrB;IAJC,IAAA,oBAAW,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;IAC9C,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAM,GAAE;;mDACS;AAMlB;IAJC,IAAA,oBAAW,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;IAC9C,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAM,GAAE;;kDACQ;AAOjB;IALC,IAAA,oBAAW,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;IAC9C,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;IACZ,IAAA,yBAAO,GAAE;IACT,IAAA,0BAAM,GAAE;;gDACM"}
|
|
@@ -3,6 +3,13 @@ declare const CustomerDto_base: import("../generic/base.dto").BaseDtoType<Custom
|
|
|
3
3
|
export declare class CustomerDto extends CustomerDto_base {
|
|
4
4
|
id: string;
|
|
5
5
|
name: string;
|
|
6
|
+
status?: string;
|
|
7
|
+
legalForm?: string;
|
|
6
8
|
vrNumber?: string;
|
|
9
|
+
caseManager?: string;
|
|
10
|
+
language?: string;
|
|
11
|
+
country?: string;
|
|
12
|
+
email?: string;
|
|
13
|
+
isArchived: boolean;
|
|
7
14
|
}
|
|
8
15
|
export {};
|
|
@@ -27,9 +27,44 @@ __decorate([
|
|
|
27
27
|
(0, class_transformer_1.Expose)(),
|
|
28
28
|
__metadata("design:type", String)
|
|
29
29
|
], CustomerDto.prototype, "name", void 0);
|
|
30
|
+
__decorate([
|
|
31
|
+
(0, nestjs_1.ApiProperty)({ type: String, required: false }),
|
|
32
|
+
(0, class_transformer_1.Expose)(),
|
|
33
|
+
__metadata("design:type", String)
|
|
34
|
+
], CustomerDto.prototype, "status", 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
|
+
], CustomerDto.prototype, "legalForm", void 0);
|
|
30
40
|
__decorate([
|
|
31
41
|
(0, nestjs_1.ApiProperty)({ type: String, required: false }),
|
|
32
42
|
(0, class_transformer_1.Expose)(),
|
|
33
43
|
__metadata("design:type", String)
|
|
34
44
|
], CustomerDto.prototype, "vrNumber", void 0);
|
|
45
|
+
__decorate([
|
|
46
|
+
(0, nestjs_1.ApiProperty)({ type: String, required: true }),
|
|
47
|
+
(0, class_transformer_1.Expose)(),
|
|
48
|
+
__metadata("design:type", String)
|
|
49
|
+
], CustomerDto.prototype, "caseManager", void 0);
|
|
50
|
+
__decorate([
|
|
51
|
+
(0, nestjs_1.ApiProperty)({ type: String, required: false }),
|
|
52
|
+
(0, class_transformer_1.Expose)(),
|
|
53
|
+
__metadata("design:type", String)
|
|
54
|
+
], CustomerDto.prototype, "language", void 0);
|
|
55
|
+
__decorate([
|
|
56
|
+
(0, nestjs_1.ApiProperty)({ type: String, required: false }),
|
|
57
|
+
(0, class_transformer_1.Expose)(),
|
|
58
|
+
__metadata("design:type", String)
|
|
59
|
+
], CustomerDto.prototype, "country", void 0);
|
|
60
|
+
__decorate([
|
|
61
|
+
(0, nestjs_1.ApiProperty)({ type: String, required: false }),
|
|
62
|
+
(0, class_transformer_1.Expose)(),
|
|
63
|
+
__metadata("design:type", String)
|
|
64
|
+
], CustomerDto.prototype, "email", void 0);
|
|
65
|
+
__decorate([
|
|
66
|
+
(0, nestjs_1.ApiProperty)({ type: Boolean, required: true }),
|
|
67
|
+
(0, class_transformer_1.Expose)(),
|
|
68
|
+
__metadata("design:type", Boolean)
|
|
69
|
+
], CustomerDto.prototype, "isArchived", void 0);
|
|
35
70
|
//# sourceMappingURL=customer.dto.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"customer.dto.js","sourceRoot":"","sources":["../../../src/dto/customer/customer.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,kDAA8C;AAC9C,yDAA2C;AAC3C,yCAA2C;AAC3C,iEAA6D;AAE7D,MAAa,WAAY,SAAQ,IAAA,kBAAO,EAAC,0CAAmB,CAAC;
|
|
1
|
+
{"version":3,"file":"customer.dto.js","sourceRoot":"","sources":["../../../src/dto/customer/customer.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,kDAA8C;AAC9C,yDAA2C;AAC3C,yCAA2C;AAC3C,iEAA6D;AAE7D,MAAa,WAAY,SAAQ,IAAA,kBAAO,EAAC,0CAAmB,CAAC;CAwC5D;AAxCD,kCAwCC;AArCA;IAFC,IAAA,oBAAW,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE,MAAM,EAAE,MAAM,EAAE,CAAC;IAC7D,IAAA,0BAAM,GAAE;;uCACG;AAIZ;IAFC,IAAA,oBAAW,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;IAC7C,IAAA,0BAAM,GAAE;;yCACK;AAId;IAFC,IAAA,oBAAW,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;IAC9C,IAAA,0BAAM,GAAE;;2CACO;AAIhB;IAFC,IAAA,oBAAW,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;IAC9C,IAAA,0BAAM,GAAE;;8CACU;AAInB;IAFC,IAAA,oBAAW,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;IAC9C,IAAA,0BAAM,GAAE;;6CACS;AAIlB;IAFC,IAAA,oBAAW,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;IAC7C,IAAA,0BAAM,GAAE;;gDACY;AAIrB;IAFC,IAAA,oBAAW,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;IAC9C,IAAA,0BAAM,GAAE;;6CACS;AAIlB;IAFC,IAAA,oBAAW,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;IAC9C,IAAA,0BAAM,GAAE;;4CACQ;AAIjB;IAFC,IAAA,oBAAW,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;IAC9C,IAAA,0BAAM,GAAE;;0CACM;AAIf;IAFC,IAAA,oBAAW,EAAC,EAAE,IAAI,EAAE,OAAO,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;IAC9C,IAAA,0BAAM,GAAE;;+CACY"}
|
|
@@ -23,6 +23,20 @@ __decorate([
|
|
|
23
23
|
(0, class_transformer_1.Expose)(),
|
|
24
24
|
__metadata("design:type", String)
|
|
25
25
|
], UpdateCustomerDto.prototype, "name", void 0);
|
|
26
|
+
__decorate([
|
|
27
|
+
(0, nestjs_1.ApiProperty)({ type: String, required: false }),
|
|
28
|
+
(0, class_validator_1.IsString)(),
|
|
29
|
+
(0, class_validator_1.IsOptional)(),
|
|
30
|
+
(0, class_transformer_1.Expose)(),
|
|
31
|
+
__metadata("design:type", String)
|
|
32
|
+
], UpdateCustomerDto.prototype, "status", void 0);
|
|
33
|
+
__decorate([
|
|
34
|
+
(0, nestjs_1.ApiProperty)({ type: String, required: false }),
|
|
35
|
+
(0, class_validator_1.IsString)(),
|
|
36
|
+
(0, class_validator_1.IsOptional)(),
|
|
37
|
+
(0, class_transformer_1.Expose)(),
|
|
38
|
+
__metadata("design:type", String)
|
|
39
|
+
], UpdateCustomerDto.prototype, "legalForm", void 0);
|
|
26
40
|
__decorate([
|
|
27
41
|
(0, nestjs_1.ApiProperty)({ type: String, required: false }),
|
|
28
42
|
(0, class_validator_1.IsString)(),
|
|
@@ -30,4 +44,33 @@ __decorate([
|
|
|
30
44
|
(0, class_transformer_1.Expose)(),
|
|
31
45
|
__metadata("design:type", String)
|
|
32
46
|
], UpdateCustomerDto.prototype, "vrNumber", void 0);
|
|
47
|
+
__decorate([
|
|
48
|
+
(0, nestjs_1.ApiProperty)({ type: String, required: false }),
|
|
49
|
+
(0, class_validator_1.IsString)(),
|
|
50
|
+
(0, class_validator_1.IsOptional)(),
|
|
51
|
+
(0, class_transformer_1.Expose)(),
|
|
52
|
+
__metadata("design:type", String)
|
|
53
|
+
], UpdateCustomerDto.prototype, "caseManager", void 0);
|
|
54
|
+
__decorate([
|
|
55
|
+
(0, nestjs_1.ApiProperty)({ type: String, required: false }),
|
|
56
|
+
(0, class_validator_1.IsString)(),
|
|
57
|
+
(0, class_validator_1.IsOptional)(),
|
|
58
|
+
(0, class_transformer_1.Expose)(),
|
|
59
|
+
__metadata("design:type", String)
|
|
60
|
+
], UpdateCustomerDto.prototype, "language", void 0);
|
|
61
|
+
__decorate([
|
|
62
|
+
(0, nestjs_1.ApiProperty)({ type: String, required: false }),
|
|
63
|
+
(0, class_validator_1.IsString)(),
|
|
64
|
+
(0, class_validator_1.IsOptional)(),
|
|
65
|
+
(0, class_transformer_1.Expose)(),
|
|
66
|
+
__metadata("design:type", String)
|
|
67
|
+
], UpdateCustomerDto.prototype, "country", void 0);
|
|
68
|
+
__decorate([
|
|
69
|
+
(0, nestjs_1.ApiProperty)({ type: String, required: false }),
|
|
70
|
+
(0, class_validator_1.IsString)(),
|
|
71
|
+
(0, class_validator_1.IsOptional)(),
|
|
72
|
+
(0, class_validator_1.IsEmail)(),
|
|
73
|
+
(0, class_transformer_1.Expose)(),
|
|
74
|
+
__metadata("design:type", String)
|
|
75
|
+
], UpdateCustomerDto.prototype, "email", void 0);
|
|
33
76
|
//# sourceMappingURL=updateCustomer.dto.js.map
|
|
@@ -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,qDAAgE;AAChE,yDAA2C;AAE3C,MAAa,iBAAiB;CAiD7B;AAjDD,8CAiDC;AA5CA;IAJC,IAAA,oBAAW,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;IAC9C,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAM,GAAE;;+CACK;AAMd;IAJC,IAAA,oBAAW,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;IAC9C,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAM,GAAE;;iDACO;AAMhB;IAJC,IAAA,oBAAW,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;IAC9C,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAM,GAAE;;oDACU;AAMnB;IAJC,IAAA,oBAAW,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;IAC9C,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAM,GAAE;;mDACS;AAMlB;IAJC,IAAA,oBAAW,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;IAC9C,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAM,GAAE;;sDACY;AAMrB;IAJC,IAAA,oBAAW,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;IAC9C,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAM,GAAE;;mDACS;AAMlB;IAJC,IAAA,oBAAW,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;IAC9C,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAM,GAAE;;kDACQ;AAOjB;IALC,IAAA,oBAAW,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;IAC9C,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;IACZ,IAAA,yBAAO,GAAE;IACT,IAAA,0BAAM,GAAE;;gDACM"}
|
|
@@ -0,0 +1,43 @@
|
|
|
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.CycleCalculatedViewDto = void 0;
|
|
13
|
+
const class_transformer_1 = require("class-transformer");
|
|
14
|
+
const nestjs_1 = require("../../nestjs");
|
|
15
|
+
class CycleCalculatedViewDto {
|
|
16
|
+
}
|
|
17
|
+
exports.CycleCalculatedViewDto = CycleCalculatedViewDto;
|
|
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
|
+
], CycleCalculatedViewDto.prototype, "id", void 0);
|
|
23
|
+
__decorate([
|
|
24
|
+
(0, nestjs_1.ApiProperty)({ type: Number, required: true }),
|
|
25
|
+
(0, class_transformer_1.Expose)(),
|
|
26
|
+
__metadata("design:type", Number)
|
|
27
|
+
], CycleCalculatedViewDto.prototype, "nrOfAcceptedQuestions", void 0);
|
|
28
|
+
__decorate([
|
|
29
|
+
(0, nestjs_1.ApiProperty)({ type: Number, required: true }),
|
|
30
|
+
(0, class_transformer_1.Expose)(),
|
|
31
|
+
__metadata("design:type", Number)
|
|
32
|
+
], CycleCalculatedViewDto.prototype, "nrOfOpenQuestions", void 0);
|
|
33
|
+
__decorate([
|
|
34
|
+
(0, nestjs_1.ApiProperty)({ type: Number, required: true }),
|
|
35
|
+
(0, class_transformer_1.Expose)(),
|
|
36
|
+
__metadata("design:type", Number)
|
|
37
|
+
], CycleCalculatedViewDto.prototype, "nrOfRejectedQuestions", void 0);
|
|
38
|
+
__decorate([
|
|
39
|
+
(0, nestjs_1.ApiProperty)({ type: Number, required: true }),
|
|
40
|
+
(0, class_transformer_1.Expose)(),
|
|
41
|
+
__metadata("design:type", Number)
|
|
42
|
+
], CycleCalculatedViewDto.prototype, "nrOfReopenedQuestions", void 0);
|
|
43
|
+
//# sourceMappingURL=cycleCalculatedView.dto.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"cycleCalculatedView.dto.js","sourceRoot":"","sources":["../../../src/dto/cycle/cycleCalculatedView.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAA2C;AAC3C,yCAA2C;AAE3C,MAAa,sBAAsB;CAoBlC;AApBD,wDAoBC;AAjBA;IAFC,IAAA,oBAAW,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE,MAAM,EAAE,MAAM,EAAE,CAAC;IAC7D,IAAA,0BAAM,GAAE;;kDACG;AAIZ;IAFC,IAAA,oBAAW,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;IAC7C,IAAA,0BAAM,GAAE;;qEACsB;AAI/B;IAFC,IAAA,oBAAW,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;IAC7C,IAAA,0BAAM,GAAE;;iEACkB;AAI3B;IAFC,IAAA,oBAAW,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;IAC7C,IAAA,0BAAM,GAAE;;qEACsB;AAI/B;IAFC,IAAA,oBAAW,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;IAC7C,IAAA,0BAAM,GAAE;;qEACsB"}
|
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
import { UserDto } from '../user/user.dto';
|
|
2
2
|
import { SurveyDto } from '../survey/survey.dto';
|
|
3
3
|
import { QuestionDto } from '../question/question.dto';
|
|
4
|
+
import { CycleCalculatedViewDto } from './cycleCalculatedView.dto';
|
|
4
5
|
export declare class CycleEmbeddedDto {
|
|
5
6
|
survey?: SurveyDto;
|
|
6
7
|
questions: QuestionDto[];
|
|
8
|
+
calculated?: CycleCalculatedViewDto;
|
|
7
9
|
createdBy?: UserDto;
|
|
8
10
|
updatedBy?: UserDto;
|
|
9
11
|
}
|
|
@@ -15,6 +15,7 @@ const class_transformer_1 = require("class-transformer");
|
|
|
15
15
|
const user_dto_1 = require("../user/user.dto");
|
|
16
16
|
const survey_dto_1 = require("../survey/survey.dto");
|
|
17
17
|
const question_dto_1 = require("../question/question.dto");
|
|
18
|
+
const cycleCalculatedView_dto_1 = require("./cycleCalculatedView.dto");
|
|
18
19
|
class CycleEmbeddedDto {
|
|
19
20
|
}
|
|
20
21
|
exports.CycleEmbeddedDto = CycleEmbeddedDto;
|
|
@@ -30,6 +31,12 @@ __decorate([
|
|
|
30
31
|
(0, class_transformer_1.Expose)(),
|
|
31
32
|
__metadata("design:type", Array)
|
|
32
33
|
], CycleEmbeddedDto.prototype, "questions", void 0);
|
|
34
|
+
__decorate([
|
|
35
|
+
(0, nestjs_1.ApiProperty)({ type: () => cycleCalculatedView_dto_1.CycleCalculatedViewDto, required: false }),
|
|
36
|
+
(0, class_transformer_1.Type)(() => cycleCalculatedView_dto_1.CycleCalculatedViewDto),
|
|
37
|
+
(0, class_transformer_1.Expose)(),
|
|
38
|
+
__metadata("design:type", cycleCalculatedView_dto_1.CycleCalculatedViewDto)
|
|
39
|
+
], CycleEmbeddedDto.prototype, "calculated", void 0);
|
|
33
40
|
__decorate([
|
|
34
41
|
(0, nestjs_1.ApiProperty)({ type: () => user_dto_1.UserDto, required: false }),
|
|
35
42
|
(0, class_transformer_1.Type)(() => user_dto_1.UserDto),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cycleEmbedded.dto.js","sourceRoot":"","sources":["../../../src/dto/cycle/cycleEmbedded.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yCAA2C;AAC3C,yDAAiD;AACjD,+CAA2C;AAC3C,qDAAiD;AACjD,2DAAuD;
|
|
1
|
+
{"version":3,"file":"cycleEmbedded.dto.js","sourceRoot":"","sources":["../../../src/dto/cycle/cycleEmbedded.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yCAA2C;AAC3C,yDAAiD;AACjD,+CAA2C;AAC3C,qDAAiD;AACjD,2DAAuD;AACvD,uEAAmE;AAEnE,MAAa,gBAAgB;CAyB5B;AAzBD,4CAyBC;AArBA;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;8BACA,sBAAS;gDAAC;AAKnB;IAHC,IAAA,oBAAW,EAAC,EAAE,IAAI,EAAE,GAAG,EAAE,CAAC,CAAC,0BAAW,CAAC,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;IAC3D,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,0BAAW,CAAC;IACvB,IAAA,0BAAM,GAAE;;mDACgB;AAKzB;IAHC,IAAA,oBAAW,EAAC,EAAE,IAAI,EAAE,GAAG,EAAE,CAAC,gDAAsB,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;IACpE,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,gDAAsB,CAAC;IAClC,IAAA,0BAAM,GAAE;8BACI,gDAAsB;oDAAC;AAKpC;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;mDAAC;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;mDAAC"}
|
|
@@ -6,6 +6,8 @@ var AuditTypeEnum;
|
|
|
6
6
|
AuditTypeEnum["CONTRACTUAL"] = "CONTRACTUAL";
|
|
7
7
|
AuditTypeEnum["LEGAL"] = "LEGAL";
|
|
8
8
|
AuditTypeEnum["DUE_DILIGENCE"] = "DUE_DILIGENCE";
|
|
9
|
-
AuditTypeEnum["
|
|
9
|
+
AuditTypeEnum["CONSOLIDATION"] = "CONSOLIDATION";
|
|
10
|
+
AuditTypeEnum["AUP"] = "AUP";
|
|
11
|
+
AuditTypeEnum["MANDATE"] = "MANDATE";
|
|
10
12
|
})(AuditTypeEnum || (exports.AuditTypeEnum = AuditTypeEnum = {}));
|
|
11
13
|
//# sourceMappingURL=auditType.enum.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"auditType.enum.js","sourceRoot":"","sources":["../../src/enum/auditType.enum.ts"],"names":[],"mappings":";;;AAAA,IAAY,
|
|
1
|
+
{"version":3,"file":"auditType.enum.js","sourceRoot":"","sources":["../../src/enum/auditType.enum.ts"],"names":[],"mappings":";;;AAAA,IAAY,aAOX;AAPD,WAAY,aAAa;IACxB,4CAA2B,CAAA;IAC3B,gCAAe,CAAA;IACf,gDAA+B,CAAA;IAC/B,gDAA+B,CAAA;IAC/B,4BAAW,CAAA;IACX,oCAAmB,CAAA;AACpB,CAAC,EAPW,aAAa,6BAAb,aAAa,QAOxB"}
|
package/dist/index.d.ts
CHANGED
|
@@ -124,4 +124,5 @@ import { QuestionAccessRightPageDto } from './dto/questionAccessRight/questionAc
|
|
|
124
124
|
import { BulkUpdateQuestionAccessRightDto } from './dto/questionAccessRight/bulkUpdateQuestionAccessRight.dto';
|
|
125
125
|
import { ResponseStatusEnum } from "./enum/responseStatus.enum";
|
|
126
126
|
import { QuestionCalculatedViewDto } from './dto/question/questionCalculatedView.dto';
|
|
127
|
-
|
|
127
|
+
import { CycleCalculatedViewDto } from './dto/cycle/cycleCalculatedView.dto';
|
|
128
|
+
export { ExceptionDto, BaseDto, BaseViewDto, CollectionFilterDto, FilterDto, PageDto, PageInfoDto, BulkDto, EmbeddedDto, CronJobDto, CronJobPageDto, CronJobOptionsDto, ComponentDto, ComponentHealthDto, HealthDto, SurveyDto, SurveyEmbeddedDto, CreateSurveyDto, UpdateSurveyDto, SurveyPageDto, BulkUpdateSurveyDto, NotificationTaskDto, NotificationTaskEmbeddedDto, NotificationTaskPageDto, AuditDto, AuditEmbeddedDto, AuditPageDto, BulkUpdateAuditDto, CreateAuditDto, UpdateAuditDto, AuditAccessRightDto, AuditAccessRightEmbeddedDto, CreateAuditAccessRightDto, UpdateAuditAccessRightDto, AuditAccessRightPageDto, BulkUpdateAuditAccessRightDto, AuditTeamDto, AuditTeamEmbeddedDto, CreateAuditTeamDto, UpdateAuditTeamDto, AuditTeamPageDto, BulkUpdateAuditTeamDto, AttachmentDto, AttachmentEmbeddedDto, AttachmentPageDto, CreateAttachmentDto, UpdateAttachmentDto, BulkUpdateAttachmentDto, BulkUpdateCommentDto, CommentDto, CommentEmbeddedDto, CommentPageDto, CreateCommentDto, UpdateCommentDto, BulkUpdateCustomerDto, CreateCustomerDto, CustomerDto, CustomerEmbeddedDto, CustomerPageDto, UpdateCustomerDto, BulkUpdateCycleDto, CreateCycleDto, CycleDto, CycleCalculatedViewDto, CycleEmbeddedDto, CyclePageDto, UpdateCycleDto, CycleAccessRightDto, CycleAccessRightEmbeddedDto, CreateCycleAccessRightDto, UpdateCycleAccessRightDto, CycleAccessRightPageDto, BulkUpdateCycleAccessRightDto, BulkUpdateQuestionDto, CreateQuestionDto, QuestionDto, QuestionCalculatedViewDto, QuestionEmbeddedDto, QuestionPageDto, UpdateQuestionDto, QuestionAccessRightDto, QuestionAccessRightEmbeddedDto, CreateQuestionAccessRightDto, UpdateQuestionAccessRightDto, QuestionAccessRightPageDto, BulkUpdateQuestionAccessRightDto, BulkUpdateResponseDto, CreateResponseDto, ResponseDto, ResponseEmbeddedDto, ResponsePageDto, UpdateResponseDto, UserDto, UserEmbeddedDto, CreateUserDto, UpdateUserDto, UserPageDto, BulkUpdateUserDto, UserRoleEnum, AttachmentStatusEnum, AttachmentUploadStatusEnum, NotificationTaskStatusEnum, NotificationTaskTypeEnum, SurveyErrorStatusEnum, SurveyStatusEnum, QuestionStatusEnum, QuestionCategoryEnum, QuestionTypeEnum, ResponseStatusEnum, CommentStatusEnum, AuditTypeEnum, ChangelogOperationEnum, AuditStatusEnum, CycleStatusEnum, ValidationException, convertAndValidate, IsBiggerThan, IsEmptyAttribute, IsRequiredFields, IsRequiredFieldValue, IsSmallerThan, Default, TransformEmbedded, TransformFloat, TransformInteger, TransformTotal, DtoType, BaseDtoType, BaseViewDtoType, };
|
package/dist/index.js
CHANGED
|
@@ -4,8 +4,8 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
4
4
|
};
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
6
|
exports.CommentDto = exports.BulkUpdateCommentDto = exports.BulkUpdateAttachmentDto = exports.UpdateAttachmentDto = exports.CreateAttachmentDto = exports.AttachmentPageDto = exports.AttachmentEmbeddedDto = exports.AttachmentDto = exports.BulkUpdateAuditTeamDto = exports.AuditTeamPageDto = exports.UpdateAuditTeamDto = exports.CreateAuditTeamDto = exports.AuditTeamEmbeddedDto = exports.AuditTeamDto = exports.BulkUpdateAuditAccessRightDto = exports.AuditAccessRightPageDto = exports.UpdateAuditAccessRightDto = exports.CreateAuditAccessRightDto = exports.AuditAccessRightEmbeddedDto = exports.AuditAccessRightDto = exports.UpdateAuditDto = exports.CreateAuditDto = exports.BulkUpdateAuditDto = exports.AuditPageDto = exports.AuditEmbeddedDto = exports.AuditDto = exports.NotificationTaskPageDto = exports.NotificationTaskEmbeddedDto = exports.NotificationTaskDto = exports.BulkUpdateSurveyDto = exports.SurveyPageDto = exports.UpdateSurveyDto = exports.CreateSurveyDto = exports.SurveyEmbeddedDto = exports.SurveyDto = exports.HealthDto = exports.ComponentHealthDto = exports.ComponentDto = exports.CronJobOptionsDto = exports.CronJobPageDto = exports.CronJobDto = exports.EmbeddedDto = exports.BulkDto = exports.PageInfoDto = exports.PageDto = exports.FilterDto = exports.CollectionFilterDto = exports.BaseViewDto = exports.BaseDto = exports.ExceptionDto = void 0;
|
|
7
|
-
exports.
|
|
8
|
-
exports.TransformTotal = exports.TransformInteger = exports.TransformFloat = exports.TransformEmbedded = exports.Default = exports.IsSmallerThan = exports.IsRequiredFieldValue = exports.IsRequiredFields = exports.IsEmptyAttribute = exports.IsBiggerThan = exports.convertAndValidate = exports.ValidationException = exports.CycleStatusEnum = exports.AuditStatusEnum = exports.ChangelogOperationEnum = exports.AuditTypeEnum = exports.CommentStatusEnum = exports.ResponseStatusEnum = exports.QuestionTypeEnum = exports.QuestionCategoryEnum = exports.QuestionStatusEnum = exports.SurveyStatusEnum = exports.SurveyErrorStatusEnum = exports.NotificationTaskTypeEnum = exports.NotificationTaskStatusEnum = void 0;
|
|
7
|
+
exports.AttachmentStatusEnum = exports.UserRoleEnum = exports.BulkUpdateUserDto = exports.UserPageDto = exports.UpdateUserDto = exports.CreateUserDto = exports.UserEmbeddedDto = exports.UserDto = exports.UpdateResponseDto = exports.ResponsePageDto = exports.ResponseEmbeddedDto = exports.ResponseDto = exports.CreateResponseDto = exports.BulkUpdateResponseDto = exports.BulkUpdateQuestionAccessRightDto = exports.QuestionAccessRightPageDto = exports.UpdateQuestionAccessRightDto = exports.CreateQuestionAccessRightDto = exports.QuestionAccessRightEmbeddedDto = exports.QuestionAccessRightDto = exports.UpdateQuestionDto = exports.QuestionPageDto = exports.QuestionEmbeddedDto = exports.QuestionCalculatedViewDto = exports.QuestionDto = exports.CreateQuestionDto = exports.BulkUpdateQuestionDto = exports.BulkUpdateCycleAccessRightDto = exports.CycleAccessRightPageDto = exports.UpdateCycleAccessRightDto = exports.CreateCycleAccessRightDto = exports.CycleAccessRightEmbeddedDto = exports.CycleAccessRightDto = exports.UpdateCycleDto = exports.CyclePageDto = exports.CycleEmbeddedDto = exports.CycleCalculatedViewDto = exports.CycleDto = exports.CreateCycleDto = exports.BulkUpdateCycleDto = exports.UpdateCustomerDto = exports.CustomerPageDto = exports.CustomerEmbeddedDto = exports.CustomerDto = exports.CreateCustomerDto = exports.BulkUpdateCustomerDto = exports.UpdateCommentDto = exports.CreateCommentDto = exports.CommentPageDto = exports.CommentEmbeddedDto = void 0;
|
|
8
|
+
exports.TransformTotal = exports.TransformInteger = exports.TransformFloat = exports.TransformEmbedded = exports.Default = exports.IsSmallerThan = exports.IsRequiredFieldValue = exports.IsRequiredFields = exports.IsEmptyAttribute = exports.IsBiggerThan = exports.convertAndValidate = exports.ValidationException = exports.CycleStatusEnum = exports.AuditStatusEnum = exports.ChangelogOperationEnum = exports.AuditTypeEnum = exports.CommentStatusEnum = exports.ResponseStatusEnum = exports.QuestionTypeEnum = exports.QuestionCategoryEnum = exports.QuestionStatusEnum = exports.SurveyStatusEnum = exports.SurveyErrorStatusEnum = exports.NotificationTaskTypeEnum = exports.NotificationTaskStatusEnum = exports.AttachmentUploadStatusEnum = void 0;
|
|
9
9
|
const exception_dto_1 = require("./dto/exception/exception.dto");
|
|
10
10
|
Object.defineProperty(exports, "ExceptionDto", { enumerable: true, get: function () { return exception_dto_1.ExceptionDto; } });
|
|
11
11
|
const baseView_dto_1 = require("./dto/generic/baseView.dto");
|
|
@@ -256,4 +256,6 @@ const responseStatus_enum_1 = require("./enum/responseStatus.enum");
|
|
|
256
256
|
Object.defineProperty(exports, "ResponseStatusEnum", { enumerable: true, get: function () { return responseStatus_enum_1.ResponseStatusEnum; } });
|
|
257
257
|
const questionCalculatedView_dto_1 = require("./dto/question/questionCalculatedView.dto");
|
|
258
258
|
Object.defineProperty(exports, "QuestionCalculatedViewDto", { enumerable: true, get: function () { return questionCalculatedView_dto_1.QuestionCalculatedViewDto; } });
|
|
259
|
+
const cycleCalculatedView_dto_1 = require("./dto/cycle/cycleCalculatedView.dto");
|
|
260
|
+
Object.defineProperty(exports, "CycleCalculatedViewDto", { enumerable: true, get: function () { return cycleCalculatedView_dto_1.CycleCalculatedViewDto; } });
|
|
259
261
|
//# sourceMappingURL=index.js.map
|