@ballistix.digital/types-eurogarant-react 0.5.0 → 0.7.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/customer/changelog/customerChangelog.dto.d.ts +13 -4
- package/dist/dto/customer/changelog/customerChangelog.dto.js +46 -5
- package/dist/dto/customer/changelog/customerChangelog.dto.js.map +1 -1
- package/dist/dto/customer/createCustomer.dto.d.ts +2 -16
- package/dist/dto/customer/createCustomer.dto.js +2 -108
- package/dist/dto/customer/createCustomer.dto.js.map +1 -1
- package/dist/dto/customer/customer.dto.d.ts +13 -11
- package/dist/dto/customer/customer.dto.js +27 -21
- package/dist/dto/customer/customer.dto.js.map +1 -1
- package/dist/dto/customer/updateCustomer.dto.d.ts +13 -11
- package/dist/dto/customer/updateCustomer.dto.js +23 -16
- package/dist/dto/customer/updateCustomer.dto.js.map +1 -1
- package/dist/dto/period/bulkCreatePeriod.dto.d.ts +9 -0
- package/dist/dto/period/bulkCreatePeriod.dto.js +9 -0
- package/dist/dto/period/bulkCreatePeriod.dto.js.map +1 -0
- package/dist/dto/period/bulkUpdatePeriod.dto.d.ts +10 -0
- package/dist/dto/period/bulkUpdatePeriod.dto.js +9 -0
- package/dist/dto/period/bulkUpdatePeriod.dto.js.map +1 -0
- package/dist/dto/period/changelog/periodChangelog.dto.d.ts +11 -0
- package/dist/dto/period/changelog/periodChangelog.dto.js +46 -0
- package/dist/dto/period/changelog/periodChangelog.dto.js.map +1 -0
- package/dist/dto/period/changelog/periodChangelogEmbedded.dto.d.ts +5 -0
- package/dist/dto/period/changelog/periodChangelogEmbedded.dto.js +31 -0
- package/dist/dto/period/changelog/periodChangelogEmbedded.dto.js.map +1 -0
- package/dist/dto/period/changelog/periodChangelogPage.dto.d.ts +13 -0
- package/dist/dto/period/changelog/periodChangelogPage.dto.js +28 -0
- package/dist/dto/period/changelog/periodChangelogPage.dto.js.map +1 -0
- package/dist/dto/period/createPeriod.dto.d.ts +6 -0
- package/dist/dto/period/createPeriod.dto.js +40 -0
- package/dist/dto/period/createPeriod.dto.js.map +1 -0
- package/dist/dto/period/period.dto.d.ts +11 -0
- package/dist/dto/period/period.dto.js +62 -0
- package/dist/dto/period/period.dto.js.map +1 -0
- package/dist/dto/period/periodEmbedded.dto.d.ts +7 -0
- package/dist/dto/period/periodEmbedded.dto.js +38 -0
- package/dist/dto/period/periodEmbedded.dto.js.map +1 -0
- package/dist/dto/period/periodPage.dto.d.ts +13 -0
- package/dist/dto/period/periodPage.dto.js +28 -0
- package/dist/dto/period/periodPage.dto.js.map +1 -0
- package/dist/dto/period/updatePeriod.dto.d.ts +5 -0
- package/dist/dto/period/updatePeriod.dto.js +35 -0
- package/dist/dto/period/updatePeriod.dto.js.map +1 -0
- 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/createProject.dto.d.ts +1 -0
- package/dist/dto/project/createProject.dto.js +7 -0
- package/dist/dto/project/createProject.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/projectEmbedded.dto.d.ts +2 -0
- package/dist/dto/project/projectEmbedded.dto.js +7 -0
- package/dist/dto/project/projectEmbedded.dto.js.map +1 -1
- package/dist/dto/project/updateProject.dto.d.ts +1 -0
- package/dist/dto/project/updateProject.dto.js +7 -0
- package/dist/dto/project/updateProject.dto.js.map +1 -1
- package/dist/enum/customerType.enum.d.ts +7 -0
- package/dist/enum/customerType.enum.js +12 -0
- package/dist/enum/customerType.enum.js.map +1 -0
- package/dist/enum/periodStatus.enum.d.ts +4 -0
- package/dist/enum/periodStatus.enum.js +9 -0
- package/dist/enum/periodStatus.enum.js.map +1 -0
- package/dist/enum/projectType.enum.d.ts +3 -6
- package/dist/enum/projectType.enum.js +3 -6
- package/dist/enum/projectType.enum.js.map +1 -1
- package/dist/index.d.ts +13 -1
- package/dist/index.js +31 -7
- package/dist/index.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { ChangelogOperationEnum } from '../../../enum/changelogOperationEnum';
|
|
2
|
+
import { CustomerTypeEnum } from '../../../enum/customerType.enum';
|
|
2
3
|
import { CustomerChangelogEmbeddedDto } from './customerChangelogEmbedded.dto';
|
|
3
4
|
declare const CustomerChangelogDto_base: import("../../generic/base.dto").BaseDtoType<CustomerChangelogEmbeddedDto>;
|
|
4
5
|
export declare class CustomerChangelogDto extends CustomerChangelogDto_base {
|
|
@@ -6,14 +7,22 @@ export declare class CustomerChangelogDto extends CustomerChangelogDto_base {
|
|
|
6
7
|
operation: ChangelogOperationEnum;
|
|
7
8
|
customerId: string;
|
|
8
9
|
name: string;
|
|
10
|
+
address?: string;
|
|
11
|
+
type: CustomerTypeEnum;
|
|
9
12
|
customerGroupId?: string;
|
|
10
13
|
status?: string;
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
+
kboName?: string;
|
|
15
|
+
kboNumber?: string;
|
|
16
|
+
commercialName?: string;
|
|
17
|
+
vatNumber?: string;
|
|
18
|
+
director?: string;
|
|
19
|
+
crmRef?: string;
|
|
20
|
+
bookkeepingRef?: string;
|
|
21
|
+
egt?: string;
|
|
14
22
|
language?: string;
|
|
15
|
-
|
|
23
|
+
telephone?: string;
|
|
16
24
|
email?: string;
|
|
25
|
+
internalComment?: string;
|
|
17
26
|
isArchived: boolean;
|
|
18
27
|
}
|
|
19
28
|
export {};
|
|
@@ -14,6 +14,7 @@ const base_dto_1 = require("../../generic/base.dto");
|
|
|
14
14
|
const class_transformer_1 = require("class-transformer");
|
|
15
15
|
const nestjs_1 = require("../../../nestjs");
|
|
16
16
|
const changelogOperationEnum_1 = require("../../../enum/changelogOperationEnum");
|
|
17
|
+
const customerType_enum_1 = require("../../../enum/customerType.enum");
|
|
17
18
|
const customerChangelogEmbedded_dto_1 = require("./customerChangelogEmbedded.dto");
|
|
18
19
|
class CustomerChangelogDto extends (0, base_dto_1.BaseDto)(customerChangelogEmbedded_dto_1.CustomerChangelogEmbeddedDto) {
|
|
19
20
|
}
|
|
@@ -38,6 +39,16 @@ __decorate([
|
|
|
38
39
|
(0, class_transformer_1.Expose)(),
|
|
39
40
|
__metadata("design:type", String)
|
|
40
41
|
], CustomerChangelogDto.prototype, "name", 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
|
+
], CustomerChangelogDto.prototype, "address", void 0);
|
|
47
|
+
__decorate([
|
|
48
|
+
(0, nestjs_1.ApiProperty)({ enum: customerType_enum_1.CustomerTypeEnum, required: true }),
|
|
49
|
+
(0, class_transformer_1.Expose)(),
|
|
50
|
+
__metadata("design:type", String)
|
|
51
|
+
], CustomerChangelogDto.prototype, "type", void 0);
|
|
41
52
|
__decorate([
|
|
42
53
|
(0, nestjs_1.ApiProperty)({ type: String, required: false, format: 'uuid' }),
|
|
43
54
|
(0, class_transformer_1.Expose)(),
|
|
@@ -52,17 +63,42 @@ __decorate([
|
|
|
52
63
|
(0, nestjs_1.ApiProperty)({ type: String, required: false }),
|
|
53
64
|
(0, class_transformer_1.Expose)(),
|
|
54
65
|
__metadata("design:type", String)
|
|
55
|
-
], CustomerChangelogDto.prototype, "
|
|
66
|
+
], CustomerChangelogDto.prototype, "kboName", void 0);
|
|
56
67
|
__decorate([
|
|
57
68
|
(0, nestjs_1.ApiProperty)({ type: String, required: false }),
|
|
58
69
|
(0, class_transformer_1.Expose)(),
|
|
59
70
|
__metadata("design:type", String)
|
|
60
|
-
], CustomerChangelogDto.prototype, "
|
|
71
|
+
], CustomerChangelogDto.prototype, "kboNumber", void 0);
|
|
61
72
|
__decorate([
|
|
62
|
-
(0, nestjs_1.ApiProperty)({ type: String, required:
|
|
73
|
+
(0, nestjs_1.ApiProperty)({ type: String, required: false }),
|
|
74
|
+
(0, class_transformer_1.Expose)(),
|
|
75
|
+
__metadata("design:type", String)
|
|
76
|
+
], CustomerChangelogDto.prototype, "commercialName", void 0);
|
|
77
|
+
__decorate([
|
|
78
|
+
(0, nestjs_1.ApiProperty)({ type: String, required: false }),
|
|
79
|
+
(0, class_transformer_1.Expose)(),
|
|
80
|
+
__metadata("design:type", String)
|
|
81
|
+
], CustomerChangelogDto.prototype, "vatNumber", void 0);
|
|
82
|
+
__decorate([
|
|
83
|
+
(0, nestjs_1.ApiProperty)({ type: String, required: false }),
|
|
63
84
|
(0, class_transformer_1.Expose)(),
|
|
64
85
|
__metadata("design:type", String)
|
|
65
|
-
], CustomerChangelogDto.prototype, "
|
|
86
|
+
], CustomerChangelogDto.prototype, "director", void 0);
|
|
87
|
+
__decorate([
|
|
88
|
+
(0, nestjs_1.ApiProperty)({ type: String, required: false }),
|
|
89
|
+
(0, class_transformer_1.Expose)(),
|
|
90
|
+
__metadata("design:type", String)
|
|
91
|
+
], CustomerChangelogDto.prototype, "crmRef", void 0);
|
|
92
|
+
__decorate([
|
|
93
|
+
(0, nestjs_1.ApiProperty)({ type: String, required: false }),
|
|
94
|
+
(0, class_transformer_1.Expose)(),
|
|
95
|
+
__metadata("design:type", String)
|
|
96
|
+
], CustomerChangelogDto.prototype, "bookkeepingRef", void 0);
|
|
97
|
+
__decorate([
|
|
98
|
+
(0, nestjs_1.ApiProperty)({ type: String, required: false }),
|
|
99
|
+
(0, class_transformer_1.Expose)(),
|
|
100
|
+
__metadata("design:type", String)
|
|
101
|
+
], CustomerChangelogDto.prototype, "egt", void 0);
|
|
66
102
|
__decorate([
|
|
67
103
|
(0, nestjs_1.ApiProperty)({ type: String, required: false }),
|
|
68
104
|
(0, class_transformer_1.Expose)(),
|
|
@@ -72,12 +108,17 @@ __decorate([
|
|
|
72
108
|
(0, nestjs_1.ApiProperty)({ type: String, required: false }),
|
|
73
109
|
(0, class_transformer_1.Expose)(),
|
|
74
110
|
__metadata("design:type", String)
|
|
75
|
-
], CustomerChangelogDto.prototype, "
|
|
111
|
+
], CustomerChangelogDto.prototype, "telephone", void 0);
|
|
76
112
|
__decorate([
|
|
77
113
|
(0, nestjs_1.ApiProperty)({ type: String, required: false }),
|
|
78
114
|
(0, class_transformer_1.Expose)(),
|
|
79
115
|
__metadata("design:type", String)
|
|
80
116
|
], CustomerChangelogDto.prototype, "email", void 0);
|
|
117
|
+
__decorate([
|
|
118
|
+
(0, nestjs_1.ApiProperty)({ type: String, required: false }),
|
|
119
|
+
(0, class_transformer_1.Expose)(),
|
|
120
|
+
__metadata("design:type", String)
|
|
121
|
+
], CustomerChangelogDto.prototype, "internalComment", void 0);
|
|
81
122
|
__decorate([
|
|
82
123
|
(0, nestjs_1.ApiProperty)({ type: Boolean, required: true }),
|
|
83
124
|
(0, class_transformer_1.Expose)(),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"customerChangelog.dto.js","sourceRoot":"","sources":["../../../../src/dto/customer/changelog/customerChangelog.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAiD;AACjD,yDAA2C;AAC3C,4CAA8C;AAC9C,iFAA8E;AAC9E,mFAA+E;AAE/E,MAAa,oBAAqB,SAAQ,IAAA,kBAAO,EAChD,4DAA4B,CAC5B;
|
|
1
|
+
{"version":3,"file":"customerChangelog.dto.js","sourceRoot":"","sources":["../../../../src/dto/customer/changelog/customerChangelog.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAiD;AACjD,yDAA2C;AAC3C,4CAA8C;AAC9C,iFAA8E;AAC9E,uEAAmE;AACnE,mFAA+E;AAE/E,MAAa,oBAAqB,SAAQ,IAAA,kBAAO,EAChD,4DAA4B,CAC5B;CAwFA;AA1FD,oDA0FC;AArFA;IAFC,IAAA,oBAAW,EAAC,EAAE,IAAI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C,IAAA,oBAAW,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;IAC9C,IAAA,0BAAM,GAAE;;6DACgB;AAIzB;IAFC,IAAA,oBAAW,EAAC,EAAE,IAAI,EAAE,OAAO,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;IAC9C,IAAA,0BAAM,GAAE;;wDACY"}
|
|
@@ -1,18 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
import { UpdateCustomerDto } from './updateCustomer.dto';
|
|
2
|
+
export declare class CreateCustomerDto extends UpdateCustomerDto {
|
|
2
3
|
name: string;
|
|
3
|
-
customerGroupId?: string;
|
|
4
|
-
status?: string;
|
|
5
|
-
legalForm?: string;
|
|
6
|
-
vrNumber?: string;
|
|
7
|
-
projectManager?: string;
|
|
8
|
-
language?: string;
|
|
9
|
-
country?: string;
|
|
10
|
-
email?: string;
|
|
11
|
-
kboNumber?: string;
|
|
12
|
-
fsmaNumber?: string;
|
|
13
|
-
address?: string;
|
|
14
|
-
contactPersonCompliance?: string;
|
|
15
|
-
privacyEmail?: string;
|
|
16
|
-
rpr?: string;
|
|
17
|
-
telephone?: string;
|
|
18
4
|
}
|
|
@@ -13,7 +13,8 @@ exports.CreateCustomerDto = void 0;
|
|
|
13
13
|
const nestjs_1 = require("../../nestjs");
|
|
14
14
|
const class_validator_1 = require("class-validator");
|
|
15
15
|
const class_transformer_1 = require("class-transformer");
|
|
16
|
-
|
|
16
|
+
const updateCustomer_dto_1 = require("./updateCustomer.dto");
|
|
17
|
+
class CreateCustomerDto extends updateCustomer_dto_1.UpdateCustomerDto {
|
|
17
18
|
}
|
|
18
19
|
exports.CreateCustomerDto = CreateCustomerDto;
|
|
19
20
|
__decorate([
|
|
@@ -22,111 +23,4 @@ __decorate([
|
|
|
22
23
|
(0, class_transformer_1.Expose)(),
|
|
23
24
|
__metadata("design:type", String)
|
|
24
25
|
], CreateCustomerDto.prototype, "name", void 0);
|
|
25
|
-
__decorate([
|
|
26
|
-
(0, nestjs_1.ApiProperty)({ type: String, required: false, format: 'uuid' }),
|
|
27
|
-
(0, class_validator_1.IsUUID)(),
|
|
28
|
-
(0, class_validator_1.IsOptional)(),
|
|
29
|
-
(0, class_transformer_1.Expose)(),
|
|
30
|
-
__metadata("design:type", String)
|
|
31
|
-
], CreateCustomerDto.prototype, "customerGroupId", 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, "status", void 0);
|
|
39
|
-
__decorate([
|
|
40
|
-
(0, nestjs_1.ApiProperty)({ type: String, required: false }),
|
|
41
|
-
(0, class_validator_1.IsString)(),
|
|
42
|
-
(0, class_validator_1.IsOptional)(),
|
|
43
|
-
(0, class_transformer_1.Expose)(),
|
|
44
|
-
__metadata("design:type", String)
|
|
45
|
-
], CreateCustomerDto.prototype, "legalForm", 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, "vrNumber", 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, "projectManager", 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, "language", 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_transformer_1.Expose)(),
|
|
72
|
-
__metadata("design:type", String)
|
|
73
|
-
], CreateCustomerDto.prototype, "country", void 0);
|
|
74
|
-
__decorate([
|
|
75
|
-
(0, nestjs_1.ApiProperty)({ type: String, required: false }),
|
|
76
|
-
(0, class_validator_1.IsString)(),
|
|
77
|
-
(0, class_validator_1.IsOptional)(),
|
|
78
|
-
(0, class_validator_1.IsEmail)(),
|
|
79
|
-
(0, class_transformer_1.Expose)(),
|
|
80
|
-
__metadata("design:type", String)
|
|
81
|
-
], CreateCustomerDto.prototype, "email", void 0);
|
|
82
|
-
__decorate([
|
|
83
|
-
(0, nestjs_1.ApiProperty)({ type: String, required: false }),
|
|
84
|
-
(0, class_validator_1.IsString)(),
|
|
85
|
-
(0, class_validator_1.IsOptional)(),
|
|
86
|
-
(0, class_transformer_1.Expose)(),
|
|
87
|
-
__metadata("design:type", String)
|
|
88
|
-
], CreateCustomerDto.prototype, "kboNumber", void 0);
|
|
89
|
-
__decorate([
|
|
90
|
-
(0, nestjs_1.ApiProperty)({ type: String, required: false }),
|
|
91
|
-
(0, class_validator_1.IsString)(),
|
|
92
|
-
(0, class_validator_1.IsOptional)(),
|
|
93
|
-
(0, class_transformer_1.Expose)(),
|
|
94
|
-
__metadata("design:type", String)
|
|
95
|
-
], CreateCustomerDto.prototype, "fsmaNumber", void 0);
|
|
96
|
-
__decorate([
|
|
97
|
-
(0, nestjs_1.ApiProperty)({ type: String, required: false }),
|
|
98
|
-
(0, class_validator_1.IsString)(),
|
|
99
|
-
(0, class_validator_1.IsOptional)(),
|
|
100
|
-
(0, class_transformer_1.Expose)(),
|
|
101
|
-
__metadata("design:type", String)
|
|
102
|
-
], CreateCustomerDto.prototype, "address", void 0);
|
|
103
|
-
__decorate([
|
|
104
|
-
(0, nestjs_1.ApiProperty)({ type: String, required: false }),
|
|
105
|
-
(0, class_validator_1.IsString)(),
|
|
106
|
-
(0, class_validator_1.IsOptional)(),
|
|
107
|
-
(0, class_transformer_1.Expose)(),
|
|
108
|
-
__metadata("design:type", String)
|
|
109
|
-
], CreateCustomerDto.prototype, "contactPersonCompliance", void 0);
|
|
110
|
-
__decorate([
|
|
111
|
-
(0, nestjs_1.ApiProperty)({ type: String, required: false }),
|
|
112
|
-
(0, class_validator_1.IsString)(),
|
|
113
|
-
(0, class_validator_1.IsOptional)(),
|
|
114
|
-
(0, class_validator_1.IsEmail)(),
|
|
115
|
-
(0, class_transformer_1.Expose)(),
|
|
116
|
-
__metadata("design:type", String)
|
|
117
|
-
], CreateCustomerDto.prototype, "privacyEmail", void 0);
|
|
118
|
-
__decorate([
|
|
119
|
-
(0, nestjs_1.ApiProperty)({ type: String, required: false }),
|
|
120
|
-
(0, class_validator_1.IsString)(),
|
|
121
|
-
(0, class_validator_1.IsOptional)(),
|
|
122
|
-
(0, class_transformer_1.Expose)(),
|
|
123
|
-
__metadata("design:type", String)
|
|
124
|
-
], CreateCustomerDto.prototype, "rpr", void 0);
|
|
125
|
-
__decorate([
|
|
126
|
-
(0, nestjs_1.ApiProperty)({ type: String, required: false }),
|
|
127
|
-
(0, class_validator_1.IsString)(),
|
|
128
|
-
(0, class_validator_1.IsOptional)(),
|
|
129
|
-
(0, class_transformer_1.Expose)(),
|
|
130
|
-
__metadata("design:type", String)
|
|
131
|
-
], CreateCustomerDto.prototype, "telephone", void 0);
|
|
132
26
|
//# 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,qDAA2C;AAC3C,yDAA2C;AAC3C,6DAAyD;AAEzD,MAAa,iBAAkB,SAAQ,sCAAiB;CAKvD;AALD,8CAKC;AADA;IAHC,IAAA,oBAAW,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;IAC7C,IAAA,0BAAQ,GAAE;IACV,IAAA,0BAAM,GAAE;;+CACK"}
|
|
@@ -1,23 +1,25 @@
|
|
|
1
1
|
import { CustomerEmbeddedDto } from './customerEmbedded.dto';
|
|
2
|
+
import { CustomerTypeEnum } from 'src/enum/customerType.enum';
|
|
2
3
|
declare const CustomerDto_base: import("../generic/base.dto").BaseDtoType<CustomerEmbeddedDto>;
|
|
3
4
|
export declare class CustomerDto extends CustomerDto_base {
|
|
4
5
|
id: string;
|
|
5
6
|
name: string;
|
|
7
|
+
address?: string;
|
|
6
8
|
customerGroupId?: string;
|
|
9
|
+
type: CustomerTypeEnum;
|
|
7
10
|
status?: string;
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
+
kboName?: string;
|
|
12
|
+
kboNumber?: string;
|
|
13
|
+
commercialName?: string;
|
|
14
|
+
vatNumber?: string;
|
|
15
|
+
director?: string;
|
|
16
|
+
crmRef?: string;
|
|
17
|
+
bookkeepingRef?: string;
|
|
18
|
+
egt?: string;
|
|
11
19
|
language?: string;
|
|
12
|
-
|
|
20
|
+
telephone?: string;
|
|
13
21
|
email?: string;
|
|
14
|
-
|
|
15
|
-
fsmaNumber?: string;
|
|
16
|
-
address?: string;
|
|
17
|
-
contactPersonCompliance?: string;
|
|
22
|
+
internalComment?: string;
|
|
18
23
|
isArchived: boolean;
|
|
19
|
-
privacyEmail?: string;
|
|
20
|
-
rpr?: string;
|
|
21
|
-
telephone?: string;
|
|
22
24
|
}
|
|
23
25
|
export {};
|
|
@@ -14,6 +14,7 @@ const base_dto_1 = require("../generic/base.dto");
|
|
|
14
14
|
const class_transformer_1 = require("class-transformer");
|
|
15
15
|
const nestjs_1 = require("../../nestjs");
|
|
16
16
|
const customerEmbedded_dto_1 = require("./customerEmbedded.dto");
|
|
17
|
+
const customerType_enum_1 = require("src/enum/customerType.enum");
|
|
17
18
|
class CustomerDto extends (0, base_dto_1.BaseDto)(customerEmbedded_dto_1.CustomerEmbeddedDto) {
|
|
18
19
|
}
|
|
19
20
|
exports.CustomerDto = CustomerDto;
|
|
@@ -27,84 +28,89 @@ __decorate([
|
|
|
27
28
|
(0, class_transformer_1.Expose)(),
|
|
28
29
|
__metadata("design:type", String)
|
|
29
30
|
], CustomerDto.prototype, "name", void 0);
|
|
31
|
+
__decorate([
|
|
32
|
+
(0, nestjs_1.ApiProperty)({ type: String, required: false }),
|
|
33
|
+
(0, class_transformer_1.Expose)(),
|
|
34
|
+
__metadata("design:type", String)
|
|
35
|
+
], CustomerDto.prototype, "address", void 0);
|
|
30
36
|
__decorate([
|
|
31
37
|
(0, nestjs_1.ApiProperty)({ type: String, required: false, format: 'uuid' }),
|
|
32
38
|
(0, class_transformer_1.Expose)(),
|
|
33
39
|
__metadata("design:type", String)
|
|
34
40
|
], CustomerDto.prototype, "customerGroupId", void 0);
|
|
35
41
|
__decorate([
|
|
36
|
-
(0, nestjs_1.ApiProperty)({
|
|
42
|
+
(0, nestjs_1.ApiProperty)({ enum: customerType_enum_1.CustomerTypeEnum, required: true }),
|
|
37
43
|
(0, class_transformer_1.Expose)(),
|
|
38
44
|
__metadata("design:type", String)
|
|
39
|
-
], CustomerDto.prototype, "
|
|
45
|
+
], CustomerDto.prototype, "type", void 0);
|
|
40
46
|
__decorate([
|
|
41
47
|
(0, nestjs_1.ApiProperty)({ type: String, required: false }),
|
|
42
48
|
(0, class_transformer_1.Expose)(),
|
|
43
49
|
__metadata("design:type", String)
|
|
44
|
-
], CustomerDto.prototype, "
|
|
50
|
+
], CustomerDto.prototype, "status", void 0);
|
|
45
51
|
__decorate([
|
|
46
52
|
(0, nestjs_1.ApiProperty)({ type: String, required: false }),
|
|
47
53
|
(0, class_transformer_1.Expose)(),
|
|
48
54
|
__metadata("design:type", String)
|
|
49
|
-
], CustomerDto.prototype, "
|
|
55
|
+
], CustomerDto.prototype, "kboName", void 0);
|
|
50
56
|
__decorate([
|
|
51
|
-
(0, nestjs_1.ApiProperty)({ type: String, required:
|
|
57
|
+
(0, nestjs_1.ApiProperty)({ type: String, required: false }),
|
|
52
58
|
(0, class_transformer_1.Expose)(),
|
|
53
59
|
__metadata("design:type", String)
|
|
54
|
-
], CustomerDto.prototype, "
|
|
60
|
+
], CustomerDto.prototype, "kboNumber", void 0);
|
|
55
61
|
__decorate([
|
|
56
62
|
(0, nestjs_1.ApiProperty)({ type: String, required: false }),
|
|
57
63
|
(0, class_transformer_1.Expose)(),
|
|
58
64
|
__metadata("design:type", String)
|
|
59
|
-
], CustomerDto.prototype, "
|
|
65
|
+
], CustomerDto.prototype, "commercialName", void 0);
|
|
60
66
|
__decorate([
|
|
61
67
|
(0, nestjs_1.ApiProperty)({ type: String, required: false }),
|
|
62
68
|
(0, class_transformer_1.Expose)(),
|
|
63
69
|
__metadata("design:type", String)
|
|
64
|
-
], CustomerDto.prototype, "
|
|
70
|
+
], CustomerDto.prototype, "vatNumber", void 0);
|
|
65
71
|
__decorate([
|
|
66
72
|
(0, nestjs_1.ApiProperty)({ type: String, required: false }),
|
|
67
73
|
(0, class_transformer_1.Expose)(),
|
|
68
74
|
__metadata("design:type", String)
|
|
69
|
-
], CustomerDto.prototype, "
|
|
75
|
+
], CustomerDto.prototype, "director", void 0);
|
|
70
76
|
__decorate([
|
|
71
77
|
(0, nestjs_1.ApiProperty)({ type: String, required: false }),
|
|
72
78
|
(0, class_transformer_1.Expose)(),
|
|
73
79
|
__metadata("design:type", String)
|
|
74
|
-
], CustomerDto.prototype, "
|
|
80
|
+
], CustomerDto.prototype, "crmRef", void 0);
|
|
75
81
|
__decorate([
|
|
76
82
|
(0, nestjs_1.ApiProperty)({ type: String, required: false }),
|
|
77
83
|
(0, class_transformer_1.Expose)(),
|
|
78
84
|
__metadata("design:type", String)
|
|
79
|
-
], CustomerDto.prototype, "
|
|
85
|
+
], CustomerDto.prototype, "bookkeepingRef", void 0);
|
|
80
86
|
__decorate([
|
|
81
87
|
(0, nestjs_1.ApiProperty)({ type: String, required: false }),
|
|
82
88
|
(0, class_transformer_1.Expose)(),
|
|
83
89
|
__metadata("design:type", String)
|
|
84
|
-
], CustomerDto.prototype, "
|
|
90
|
+
], CustomerDto.prototype, "egt", void 0);
|
|
85
91
|
__decorate([
|
|
86
92
|
(0, nestjs_1.ApiProperty)({ type: String, required: false }),
|
|
87
93
|
(0, class_transformer_1.Expose)(),
|
|
88
94
|
__metadata("design:type", String)
|
|
89
|
-
], CustomerDto.prototype, "
|
|
90
|
-
__decorate([
|
|
91
|
-
(0, nestjs_1.ApiProperty)({ type: Boolean, required: true }),
|
|
92
|
-
(0, class_transformer_1.Expose)(),
|
|
93
|
-
__metadata("design:type", Boolean)
|
|
94
|
-
], CustomerDto.prototype, "isArchived", void 0);
|
|
95
|
+
], CustomerDto.prototype, "language", void 0);
|
|
95
96
|
__decorate([
|
|
96
97
|
(0, nestjs_1.ApiProperty)({ type: String, required: false }),
|
|
97
98
|
(0, class_transformer_1.Expose)(),
|
|
98
99
|
__metadata("design:type", String)
|
|
99
|
-
], CustomerDto.prototype, "
|
|
100
|
+
], CustomerDto.prototype, "telephone", void 0);
|
|
100
101
|
__decorate([
|
|
101
102
|
(0, nestjs_1.ApiProperty)({ type: String, required: false }),
|
|
102
103
|
(0, class_transformer_1.Expose)(),
|
|
103
104
|
__metadata("design:type", String)
|
|
104
|
-
], CustomerDto.prototype, "
|
|
105
|
+
], CustomerDto.prototype, "email", void 0);
|
|
105
106
|
__decorate([
|
|
106
107
|
(0, nestjs_1.ApiProperty)({ type: String, required: false }),
|
|
107
108
|
(0, class_transformer_1.Expose)(),
|
|
108
109
|
__metadata("design:type", String)
|
|
109
|
-
], CustomerDto.prototype, "
|
|
110
|
+
], CustomerDto.prototype, "internalComment", void 0);
|
|
111
|
+
__decorate([
|
|
112
|
+
(0, nestjs_1.ApiProperty)({ type: Boolean, required: true }),
|
|
113
|
+
(0, class_transformer_1.Expose)(),
|
|
114
|
+
__metadata("design:type", Boolean)
|
|
115
|
+
], CustomerDto.prototype, "isArchived", void 0);
|
|
110
116
|
//# 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;
|
|
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;AAC7D,kEAA8D;AAE9D,MAAa,WAAY,SAAQ,IAAA,kBAAO,EAAC,0CAAmB,CAAC;CAgF5D;AAhFD,kCAgFC;AA7EA;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,M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BAAM,GAAE;;2CACO;AAKhB;IAFC,IAAA,oBAAW,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;IAC9C,IAAA,0BAAM,GAAE;;mDACe;AAIxB;IAFC,IAAA,oBAAW,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;IAC9C,IAAA,0BAAM,GAAE;;wCACI;AAIb;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;;8CACU;AAInB;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,MAAM,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;IAC9C,IAAA,0BAAM,GAAE;;oDACgB;AAIzB;IAFC,IAAA,oBAAW,EAAC,EAAE,IAAI,EAAE,OAAO,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;IAC9C,IAAA,0BAAM,GAAE;;+CACY"}
|
|
@@ -1,18 +1,20 @@
|
|
|
1
|
+
import { CustomerTypeEnum } from 'src/enum/customerType.enum';
|
|
1
2
|
export declare class UpdateCustomerDto {
|
|
2
3
|
name?: string;
|
|
3
4
|
customerGroupId?: string;
|
|
5
|
+
address?: string;
|
|
6
|
+
type?: CustomerTypeEnum;
|
|
4
7
|
status?: string;
|
|
5
|
-
|
|
6
|
-
vrNumber?: string;
|
|
7
|
-
projectManager?: string;
|
|
8
|
-
language?: string;
|
|
9
|
-
country?: string;
|
|
10
|
-
email?: string;
|
|
8
|
+
kboName?: string;
|
|
11
9
|
kboNumber?: string;
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
10
|
+
commercialName?: string;
|
|
11
|
+
vatNumber?: string;
|
|
12
|
+
director?: string;
|
|
13
|
+
crmRef?: string;
|
|
14
|
+
bookkeepingRef?: string;
|
|
15
|
+
egt?: string;
|
|
16
|
+
language?: string;
|
|
17
17
|
telephone?: string;
|
|
18
|
+
email?: string;
|
|
19
|
+
internalComment?: string;
|
|
18
20
|
}
|
|
@@ -13,6 +13,7 @@ exports.UpdateCustomerDto = void 0;
|
|
|
13
13
|
const nestjs_1 = require("../../nestjs");
|
|
14
14
|
const class_validator_1 = require("class-validator");
|
|
15
15
|
const class_transformer_1 = require("class-transformer");
|
|
16
|
+
const customerType_enum_1 = require("src/enum/customerType.enum");
|
|
16
17
|
class UpdateCustomerDto {
|
|
17
18
|
}
|
|
18
19
|
exports.UpdateCustomerDto = UpdateCustomerDto;
|
|
@@ -36,98 +37,104 @@ __decorate([
|
|
|
36
37
|
(0, class_validator_1.IsOptional)(),
|
|
37
38
|
(0, class_transformer_1.Expose)(),
|
|
38
39
|
__metadata("design:type", String)
|
|
39
|
-
], UpdateCustomerDto.prototype, "
|
|
40
|
+
], UpdateCustomerDto.prototype, "address", void 0);
|
|
41
|
+
__decorate([
|
|
42
|
+
(0, nestjs_1.ApiProperty)({ enum: customerType_enum_1.CustomerTypeEnum, required: false }),
|
|
43
|
+
(0, class_validator_1.IsOptional)(),
|
|
44
|
+
(0, class_validator_1.IsIn)(Object.values(customerType_enum_1.CustomerTypeEnum)),
|
|
45
|
+
(0, class_transformer_1.Expose)(),
|
|
46
|
+
__metadata("design:type", String)
|
|
47
|
+
], UpdateCustomerDto.prototype, "type", void 0);
|
|
40
48
|
__decorate([
|
|
41
49
|
(0, nestjs_1.ApiProperty)({ type: String, required: false }),
|
|
42
50
|
(0, class_validator_1.IsString)(),
|
|
43
51
|
(0, class_validator_1.IsOptional)(),
|
|
44
52
|
(0, class_transformer_1.Expose)(),
|
|
45
53
|
__metadata("design:type", String)
|
|
46
|
-
], UpdateCustomerDto.prototype, "
|
|
54
|
+
], UpdateCustomerDto.prototype, "status", void 0);
|
|
47
55
|
__decorate([
|
|
48
56
|
(0, nestjs_1.ApiProperty)({ type: String, required: false }),
|
|
49
57
|
(0, class_validator_1.IsString)(),
|
|
50
58
|
(0, class_validator_1.IsOptional)(),
|
|
51
59
|
(0, class_transformer_1.Expose)(),
|
|
52
60
|
__metadata("design:type", String)
|
|
53
|
-
], UpdateCustomerDto.prototype, "
|
|
61
|
+
], UpdateCustomerDto.prototype, "kboName", void 0);
|
|
54
62
|
__decorate([
|
|
55
63
|
(0, nestjs_1.ApiProperty)({ type: String, required: false }),
|
|
56
64
|
(0, class_validator_1.IsString)(),
|
|
57
65
|
(0, class_validator_1.IsOptional)(),
|
|
58
66
|
(0, class_transformer_1.Expose)(),
|
|
59
67
|
__metadata("design:type", String)
|
|
60
|
-
], UpdateCustomerDto.prototype, "
|
|
68
|
+
], UpdateCustomerDto.prototype, "kboNumber", void 0);
|
|
61
69
|
__decorate([
|
|
62
70
|
(0, nestjs_1.ApiProperty)({ type: String, required: false }),
|
|
63
71
|
(0, class_validator_1.IsString)(),
|
|
64
72
|
(0, class_validator_1.IsOptional)(),
|
|
65
73
|
(0, class_transformer_1.Expose)(),
|
|
66
74
|
__metadata("design:type", String)
|
|
67
|
-
], UpdateCustomerDto.prototype, "
|
|
75
|
+
], UpdateCustomerDto.prototype, "commercialName", void 0);
|
|
68
76
|
__decorate([
|
|
69
77
|
(0, nestjs_1.ApiProperty)({ type: String, required: false }),
|
|
70
78
|
(0, class_validator_1.IsString)(),
|
|
71
79
|
(0, class_validator_1.IsOptional)(),
|
|
72
80
|
(0, class_transformer_1.Expose)(),
|
|
73
81
|
__metadata("design:type", String)
|
|
74
|
-
], UpdateCustomerDto.prototype, "
|
|
82
|
+
], UpdateCustomerDto.prototype, "vatNumber", void 0);
|
|
75
83
|
__decorate([
|
|
76
84
|
(0, nestjs_1.ApiProperty)({ type: String, required: false }),
|
|
77
85
|
(0, class_validator_1.IsString)(),
|
|
78
86
|
(0, class_validator_1.IsOptional)(),
|
|
79
|
-
(0, class_validator_1.IsEmail)(),
|
|
80
87
|
(0, class_transformer_1.Expose)(),
|
|
81
88
|
__metadata("design:type", String)
|
|
82
|
-
], UpdateCustomerDto.prototype, "
|
|
89
|
+
], UpdateCustomerDto.prototype, "director", void 0);
|
|
83
90
|
__decorate([
|
|
84
91
|
(0, nestjs_1.ApiProperty)({ type: String, required: false }),
|
|
85
92
|
(0, class_validator_1.IsString)(),
|
|
86
93
|
(0, class_validator_1.IsOptional)(),
|
|
87
94
|
(0, class_transformer_1.Expose)(),
|
|
88
95
|
__metadata("design:type", String)
|
|
89
|
-
], UpdateCustomerDto.prototype, "
|
|
96
|
+
], UpdateCustomerDto.prototype, "crmRef", void 0);
|
|
90
97
|
__decorate([
|
|
91
98
|
(0, nestjs_1.ApiProperty)({ type: String, required: false }),
|
|
92
99
|
(0, class_validator_1.IsString)(),
|
|
93
100
|
(0, class_validator_1.IsOptional)(),
|
|
94
101
|
(0, class_transformer_1.Expose)(),
|
|
95
102
|
__metadata("design:type", String)
|
|
96
|
-
], UpdateCustomerDto.prototype, "
|
|
103
|
+
], UpdateCustomerDto.prototype, "bookkeepingRef", void 0);
|
|
97
104
|
__decorate([
|
|
98
105
|
(0, nestjs_1.ApiProperty)({ type: String, required: false }),
|
|
99
106
|
(0, class_validator_1.IsString)(),
|
|
100
107
|
(0, class_validator_1.IsOptional)(),
|
|
101
108
|
(0, class_transformer_1.Expose)(),
|
|
102
109
|
__metadata("design:type", String)
|
|
103
|
-
], UpdateCustomerDto.prototype, "
|
|
110
|
+
], UpdateCustomerDto.prototype, "egt", void 0);
|
|
104
111
|
__decorate([
|
|
105
112
|
(0, nestjs_1.ApiProperty)({ type: String, required: false }),
|
|
106
113
|
(0, class_validator_1.IsString)(),
|
|
107
114
|
(0, class_validator_1.IsOptional)(),
|
|
108
115
|
(0, class_transformer_1.Expose)(),
|
|
109
116
|
__metadata("design:type", String)
|
|
110
|
-
], UpdateCustomerDto.prototype, "
|
|
117
|
+
], UpdateCustomerDto.prototype, "language", void 0);
|
|
111
118
|
__decorate([
|
|
112
119
|
(0, nestjs_1.ApiProperty)({ type: String, required: false }),
|
|
113
120
|
(0, class_validator_1.IsString)(),
|
|
114
121
|
(0, class_validator_1.IsOptional)(),
|
|
115
|
-
(0, class_validator_1.IsEmail)(),
|
|
116
122
|
(0, class_transformer_1.Expose)(),
|
|
117
123
|
__metadata("design:type", String)
|
|
118
|
-
], UpdateCustomerDto.prototype, "
|
|
124
|
+
], UpdateCustomerDto.prototype, "telephone", void 0);
|
|
119
125
|
__decorate([
|
|
120
126
|
(0, nestjs_1.ApiProperty)({ type: String, required: false }),
|
|
121
127
|
(0, class_validator_1.IsString)(),
|
|
122
128
|
(0, class_validator_1.IsOptional)(),
|
|
129
|
+
(0, class_validator_1.IsEmail)(),
|
|
123
130
|
(0, class_transformer_1.Expose)(),
|
|
124
131
|
__metadata("design:type", String)
|
|
125
|
-
], UpdateCustomerDto.prototype, "
|
|
132
|
+
], UpdateCustomerDto.prototype, "email", void 0);
|
|
126
133
|
__decorate([
|
|
127
134
|
(0, nestjs_1.ApiProperty)({ type: String, required: false }),
|
|
128
135
|
(0, class_validator_1.IsString)(),
|
|
129
136
|
(0, class_validator_1.IsOptional)(),
|
|
130
137
|
(0, class_transformer_1.Expose)(),
|
|
131
138
|
__metadata("design:type", String)
|
|
132
|
-
], UpdateCustomerDto.prototype, "
|
|
139
|
+
], UpdateCustomerDto.prototype, "internalComment", void 0);
|
|
133
140
|
//# sourceMappingURL=updateCustomer.dto.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"updateCustomer.dto.js","sourceRoot":"","sources":["../../../src/dto/customer/updateCustomer.dto.ts"],"names":[],"mappings":";;;;;;;;;;;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