@ballistix.digital/types-truyens-react 0.7.0 → 0.8.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/legalPerson/bulkUpdateLegalPerson.dto.d.ts +10 -0
- package/dist/dto/legalPerson/bulkUpdateLegalPerson.dto.js +9 -0
- package/dist/dto/legalPerson/bulkUpdateLegalPerson.dto.js.map +1 -0
- package/dist/dto/legalPerson/createLegalPerson.dto.d.ts +16 -0
- package/dist/dto/legalPerson/createLegalPerson.dto.js +118 -0
- package/dist/dto/legalPerson/createLegalPerson.dto.js.map +1 -0
- package/dist/dto/legalPerson/legalPerson.dto.d.ts +20 -0
- package/dist/dto/legalPerson/legalPerson.dto.js +95 -0
- package/dist/dto/legalPerson/legalPerson.dto.js.map +1 -0
- package/dist/dto/legalPerson/legalPersonEmbedded.dto.d.ts +7 -0
- package/dist/dto/legalPerson/legalPersonEmbedded.dto.js +38 -0
- package/dist/dto/legalPerson/legalPersonEmbedded.dto.js.map +1 -0
- package/dist/dto/legalPerson/legalPersonPage.dto.d.ts +13 -0
- package/dist/dto/legalPerson/legalPersonPage.dto.js +28 -0
- package/dist/dto/legalPerson/legalPersonPage.dto.js.map +1 -0
- package/dist/dto/legalPerson/updateLegalPerson.dto.d.ts +16 -0
- package/dist/dto/legalPerson/updateLegalPerson.dto.js +119 -0
- package/dist/dto/legalPerson/updateLegalPerson.dto.js.map +1 -0
- package/dist/dto/naturalPerson/bulkUpdateNaturalPerson.dto.d.ts +10 -0
- package/dist/dto/naturalPerson/bulkUpdateNaturalPerson.dto.js +9 -0
- package/dist/dto/naturalPerson/bulkUpdateNaturalPerson.dto.js.map +1 -0
- package/dist/dto/naturalPerson/createNaturalPerson.dto.d.ts +14 -0
- package/dist/dto/naturalPerson/createNaturalPerson.dto.js +104 -0
- package/dist/dto/naturalPerson/createNaturalPerson.dto.js.map +1 -0
- package/dist/dto/naturalPerson/naturalPerson.dto.d.ts +18 -0
- package/dist/dto/naturalPerson/naturalPerson.dto.js +85 -0
- package/dist/dto/naturalPerson/naturalPerson.dto.js.map +1 -0
- package/dist/dto/naturalPerson/naturalPersonEmbedded.dto.d.ts +7 -0
- package/dist/dto/naturalPerson/naturalPersonEmbedded.dto.js +38 -0
- package/dist/dto/naturalPerson/naturalPersonEmbedded.dto.js.map +1 -0
- package/dist/dto/naturalPerson/naturalPersonPage.dto.d.ts +13 -0
- package/dist/dto/naturalPerson/naturalPersonPage.dto.js +28 -0
- package/dist/dto/naturalPerson/naturalPersonPage.dto.js.map +1 -0
- package/dist/dto/naturalPerson/updateNaturalPerson.dto.d.ts +14 -0
- package/dist/dto/naturalPerson/updateNaturalPerson.dto.js +103 -0
- package/dist/dto/naturalPerson/updateNaturalPerson.dto.js.map +1 -0
- package/dist/index.d.ts +13 -1
- package/dist/index.js +26 -2
- package/dist/index.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.BulkUpdateLegalPersonDto = void 0;
|
|
4
|
+
const bulk_dto_1 = require("../generic/bulk.dto");
|
|
5
|
+
const updateLegalPerson_dto_1 = require("./updateLegalPerson.dto");
|
|
6
|
+
class BulkUpdateLegalPersonDto extends (0, bulk_dto_1.BulkDto)(updateLegalPerson_dto_1.UpdateLegalPersonDto) {
|
|
7
|
+
}
|
|
8
|
+
exports.BulkUpdateLegalPersonDto = BulkUpdateLegalPersonDto;
|
|
9
|
+
//# sourceMappingURL=bulkUpdateLegalPerson.dto.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"bulkUpdateLegalPerson.dto.js","sourceRoot":"","sources":["../../../src/dto/legalPerson/bulkUpdateLegalPerson.dto.ts"],"names":[],"mappings":";;;AAAA,kDAA8C;AAC9C,mEAA+D;AAE/D,MAAa,wBAAyB,SAAQ,IAAA,kBAAO,EAAC,4CAAoB,CAAC;CAAG;AAA9E,4DAA8E"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
export declare class CreateLegalPersonDto {
|
|
2
|
+
tenantId: string;
|
|
3
|
+
name: string;
|
|
4
|
+
companyType: string;
|
|
5
|
+
vatNumber: string;
|
|
6
|
+
street: string;
|
|
7
|
+
number: string;
|
|
8
|
+
postalCode: string;
|
|
9
|
+
city: string;
|
|
10
|
+
nationalNumber: string;
|
|
11
|
+
dateOfBirth: Date;
|
|
12
|
+
placeOfBirth: string;
|
|
13
|
+
finalBeneficiaryId: string;
|
|
14
|
+
kleosId: string;
|
|
15
|
+
isArchived: boolean;
|
|
16
|
+
}
|
|
@@ -0,0 +1,118 @@
|
|
|
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.CreateLegalPersonDto = void 0;
|
|
13
|
+
const nestjs_1 = require("../../nestjs");
|
|
14
|
+
const class_transformer_1 = require("class-transformer");
|
|
15
|
+
const class_validator_1 = require("class-validator");
|
|
16
|
+
class CreateLegalPersonDto {
|
|
17
|
+
}
|
|
18
|
+
exports.CreateLegalPersonDto = CreateLegalPersonDto;
|
|
19
|
+
__decorate([
|
|
20
|
+
(0, nestjs_1.ApiProperty)({ type: String, required: true, format: 'uuid', nullable: false }),
|
|
21
|
+
(0, class_validator_1.IsUUID)(4),
|
|
22
|
+
(0, class_transformer_1.Expose)(),
|
|
23
|
+
__metadata("design:type", String)
|
|
24
|
+
], CreateLegalPersonDto.prototype, "tenantId", void 0);
|
|
25
|
+
__decorate([
|
|
26
|
+
(0, nestjs_1.ApiProperty)({ type: String, required: false }),
|
|
27
|
+
(0, class_validator_1.IsOptional)(),
|
|
28
|
+
(0, class_validator_1.IsString)(),
|
|
29
|
+
(0, class_transformer_1.Expose)(),
|
|
30
|
+
__metadata("design:type", String)
|
|
31
|
+
], CreateLegalPersonDto.prototype, "name", void 0);
|
|
32
|
+
__decorate([
|
|
33
|
+
(0, nestjs_1.ApiProperty)({ type: String, required: false }),
|
|
34
|
+
(0, class_validator_1.IsOptional)(),
|
|
35
|
+
(0, class_validator_1.IsString)(),
|
|
36
|
+
(0, class_transformer_1.Expose)(),
|
|
37
|
+
__metadata("design:type", String)
|
|
38
|
+
], CreateLegalPersonDto.prototype, "companyType", void 0);
|
|
39
|
+
__decorate([
|
|
40
|
+
(0, nestjs_1.ApiProperty)({ type: String, required: false }),
|
|
41
|
+
(0, class_validator_1.IsOptional)(),
|
|
42
|
+
(0, class_validator_1.IsString)(),
|
|
43
|
+
(0, class_transformer_1.Expose)(),
|
|
44
|
+
__metadata("design:type", String)
|
|
45
|
+
], CreateLegalPersonDto.prototype, "vatNumber", void 0);
|
|
46
|
+
__decorate([
|
|
47
|
+
(0, nestjs_1.ApiProperty)({ type: String, required: false }),
|
|
48
|
+
(0, class_validator_1.IsOptional)(),
|
|
49
|
+
(0, class_validator_1.IsString)(),
|
|
50
|
+
(0, class_transformer_1.Expose)(),
|
|
51
|
+
__metadata("design:type", String)
|
|
52
|
+
], CreateLegalPersonDto.prototype, "street", void 0);
|
|
53
|
+
__decorate([
|
|
54
|
+
(0, nestjs_1.ApiProperty)({ type: String, required: false }),
|
|
55
|
+
(0, class_validator_1.IsOptional)(),
|
|
56
|
+
(0, class_validator_1.IsString)(),
|
|
57
|
+
(0, class_transformer_1.Expose)(),
|
|
58
|
+
__metadata("design:type", String)
|
|
59
|
+
], CreateLegalPersonDto.prototype, "number", void 0);
|
|
60
|
+
__decorate([
|
|
61
|
+
(0, nestjs_1.ApiProperty)({ type: String, required: false }),
|
|
62
|
+
(0, class_validator_1.IsOptional)(),
|
|
63
|
+
(0, class_validator_1.IsString)(),
|
|
64
|
+
(0, class_transformer_1.Expose)(),
|
|
65
|
+
__metadata("design:type", String)
|
|
66
|
+
], CreateLegalPersonDto.prototype, "postalCode", void 0);
|
|
67
|
+
__decorate([
|
|
68
|
+
(0, nestjs_1.ApiProperty)({ type: String, required: false }),
|
|
69
|
+
(0, class_validator_1.IsOptional)(),
|
|
70
|
+
(0, class_validator_1.IsString)(),
|
|
71
|
+
(0, class_transformer_1.Expose)(),
|
|
72
|
+
__metadata("design:type", String)
|
|
73
|
+
], CreateLegalPersonDto.prototype, "city", void 0);
|
|
74
|
+
__decorate([
|
|
75
|
+
(0, nestjs_1.ApiProperty)({ type: String, required: false }),
|
|
76
|
+
(0, class_validator_1.IsOptional)(),
|
|
77
|
+
(0, class_validator_1.IsString)(),
|
|
78
|
+
(0, class_transformer_1.Expose)(),
|
|
79
|
+
__metadata("design:type", String)
|
|
80
|
+
], CreateLegalPersonDto.prototype, "nationalNumber", void 0);
|
|
81
|
+
__decorate([
|
|
82
|
+
(0, nestjs_1.ApiProperty)({ type: Date, required: false }),
|
|
83
|
+
(0, class_transformer_1.Type)(() => Date),
|
|
84
|
+
(0, class_validator_1.MaxDate)(new Date()),
|
|
85
|
+
(0, class_validator_1.IsOptional)(),
|
|
86
|
+
(0, class_validator_1.IsDate)(),
|
|
87
|
+
(0, class_transformer_1.Expose)(),
|
|
88
|
+
__metadata("design:type", Date)
|
|
89
|
+
], CreateLegalPersonDto.prototype, "dateOfBirth", void 0);
|
|
90
|
+
__decorate([
|
|
91
|
+
(0, nestjs_1.ApiProperty)({ type: String, required: false }),
|
|
92
|
+
(0, class_validator_1.IsOptional)(),
|
|
93
|
+
(0, class_validator_1.IsString)(),
|
|
94
|
+
(0, class_transformer_1.Expose)(),
|
|
95
|
+
__metadata("design:type", String)
|
|
96
|
+
], CreateLegalPersonDto.prototype, "placeOfBirth", void 0);
|
|
97
|
+
__decorate([
|
|
98
|
+
(0, nestjs_1.ApiProperty)({ type: String, required: false, format: 'uuid' }),
|
|
99
|
+
(0, class_validator_1.IsOptional)(),
|
|
100
|
+
(0, class_validator_1.IsUUID)(4),
|
|
101
|
+
(0, class_transformer_1.Expose)(),
|
|
102
|
+
__metadata("design:type", String)
|
|
103
|
+
], CreateLegalPersonDto.prototype, "finalBeneficiaryId", void 0);
|
|
104
|
+
__decorate([
|
|
105
|
+
(0, nestjs_1.ApiProperty)({ type: String, required: false }),
|
|
106
|
+
(0, class_validator_1.IsOptional)(),
|
|
107
|
+
(0, class_validator_1.IsString)(),
|
|
108
|
+
(0, class_transformer_1.Expose)(),
|
|
109
|
+
__metadata("design:type", String)
|
|
110
|
+
], CreateLegalPersonDto.prototype, "kleosId", void 0);
|
|
111
|
+
__decorate([
|
|
112
|
+
(0, nestjs_1.ApiProperty)({ type: Boolean, required: false, nullable: false }),
|
|
113
|
+
(0, class_validator_1.IsOptional)(),
|
|
114
|
+
(0, class_validator_1.IsBoolean)(),
|
|
115
|
+
(0, class_transformer_1.Expose)(),
|
|
116
|
+
__metadata("design:type", Boolean)
|
|
117
|
+
], CreateLegalPersonDto.prototype, "isArchived", void 0);
|
|
118
|
+
//# sourceMappingURL=createLegalPerson.dto.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"createLegalPerson.dto.js","sourceRoot":"","sources":["../../../src/dto/legalPerson/createLegalPerson.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yCAA2C;AAC3C,yDAAiD;AACjD,qDAA2F;AAE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A,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;IACX,IAAA,0BAAM,GAAE;;qDACO;AAMhB;IAJC,IAAA,oBAAW,EAAC,EAAE,IAAI,EAAE,OAAO,EAAE,QAAQ,EAAE,KAAK,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;IAC/D,IAAA,4BAAU,GAAE;IACZ,IAAA,2BAAS,GAAE;IACZ,IAAA,0BAAM,GAAE;;wDACW"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { LegalPersonEmbeddedDto } from './legalPersonEmbedded.dto';
|
|
2
|
+
declare const LegalPersonDto_base: import("../generic/base.dto").BaseDtoType<LegalPersonEmbeddedDto>;
|
|
3
|
+
export declare class LegalPersonDto extends LegalPersonDto_base {
|
|
4
|
+
id: string;
|
|
5
|
+
tenantId: string;
|
|
6
|
+
name: string;
|
|
7
|
+
companyType: string;
|
|
8
|
+
vatNumber: string;
|
|
9
|
+
street: string;
|
|
10
|
+
number: string;
|
|
11
|
+
postalCode: string;
|
|
12
|
+
city: string;
|
|
13
|
+
nationalNumber: string;
|
|
14
|
+
dateOfBirth: Date;
|
|
15
|
+
placeOfBirth: string;
|
|
16
|
+
finalBeneficiaryId: string;
|
|
17
|
+
kleosId: string;
|
|
18
|
+
isArchived: boolean;
|
|
19
|
+
}
|
|
20
|
+
export {};
|
|
@@ -0,0 +1,95 @@
|
|
|
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.LegalPersonDto = void 0;
|
|
13
|
+
const class_transformer_1 = require("class-transformer");
|
|
14
|
+
const nestjs_1 = require("../../nestjs");
|
|
15
|
+
const base_dto_1 = require("../generic/base.dto");
|
|
16
|
+
const legalPersonEmbedded_dto_1 = require("./legalPersonEmbedded.dto");
|
|
17
|
+
class LegalPersonDto extends (0, base_dto_1.BaseDto)(legalPersonEmbedded_dto_1.LegalPersonEmbeddedDto) {
|
|
18
|
+
}
|
|
19
|
+
exports.LegalPersonDto = LegalPersonDto;
|
|
20
|
+
__decorate([
|
|
21
|
+
(0, nestjs_1.ApiProperty)({ type: String, required: true, format: 'uuid', nullable: false }),
|
|
22
|
+
(0, class_transformer_1.Expose)(),
|
|
23
|
+
__metadata("design:type", String)
|
|
24
|
+
], LegalPersonDto.prototype, "id", void 0);
|
|
25
|
+
__decorate([
|
|
26
|
+
(0, nestjs_1.ApiProperty)({ type: String, required: true, format: 'uuid', nullable: false }),
|
|
27
|
+
(0, class_transformer_1.Expose)(),
|
|
28
|
+
__metadata("design:type", String)
|
|
29
|
+
], LegalPersonDto.prototype, "tenantId", void 0);
|
|
30
|
+
__decorate([
|
|
31
|
+
(0, nestjs_1.ApiProperty)({ type: String, required: true }),
|
|
32
|
+
(0, class_transformer_1.Expose)(),
|
|
33
|
+
__metadata("design:type", String)
|
|
34
|
+
], LegalPersonDto.prototype, "name", void 0);
|
|
35
|
+
__decorate([
|
|
36
|
+
(0, nestjs_1.ApiProperty)({ type: String, required: true }),
|
|
37
|
+
(0, class_transformer_1.Expose)(),
|
|
38
|
+
__metadata("design:type", String)
|
|
39
|
+
], LegalPersonDto.prototype, "companyType", void 0);
|
|
40
|
+
__decorate([
|
|
41
|
+
(0, nestjs_1.ApiProperty)({ type: String, required: true }),
|
|
42
|
+
(0, class_transformer_1.Expose)(),
|
|
43
|
+
__metadata("design:type", String)
|
|
44
|
+
], LegalPersonDto.prototype, "vatNumber", 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
|
+
], LegalPersonDto.prototype, "street", void 0);
|
|
50
|
+
__decorate([
|
|
51
|
+
(0, nestjs_1.ApiProperty)({ type: String, required: true }),
|
|
52
|
+
(0, class_transformer_1.Expose)(),
|
|
53
|
+
__metadata("design:type", String)
|
|
54
|
+
], LegalPersonDto.prototype, "number", void 0);
|
|
55
|
+
__decorate([
|
|
56
|
+
(0, nestjs_1.ApiProperty)({ type: String, required: true }),
|
|
57
|
+
(0, class_transformer_1.Expose)(),
|
|
58
|
+
__metadata("design:type", String)
|
|
59
|
+
], LegalPersonDto.prototype, "postalCode", void 0);
|
|
60
|
+
__decorate([
|
|
61
|
+
(0, nestjs_1.ApiProperty)({ type: String, required: true }),
|
|
62
|
+
(0, class_transformer_1.Expose)(),
|
|
63
|
+
__metadata("design:type", String)
|
|
64
|
+
], LegalPersonDto.prototype, "city", void 0);
|
|
65
|
+
__decorate([
|
|
66
|
+
(0, nestjs_1.ApiProperty)({ type: String, required: true }),
|
|
67
|
+
(0, class_transformer_1.Expose)(),
|
|
68
|
+
__metadata("design:type", String)
|
|
69
|
+
], LegalPersonDto.prototype, "nationalNumber", void 0);
|
|
70
|
+
__decorate([
|
|
71
|
+
(0, nestjs_1.ApiProperty)({ type: Date, required: true }),
|
|
72
|
+
(0, class_transformer_1.Expose)(),
|
|
73
|
+
__metadata("design:type", Date)
|
|
74
|
+
], LegalPersonDto.prototype, "dateOfBirth", void 0);
|
|
75
|
+
__decorate([
|
|
76
|
+
(0, nestjs_1.ApiProperty)({ type: String, required: true }),
|
|
77
|
+
(0, class_transformer_1.Expose)(),
|
|
78
|
+
__metadata("design:type", String)
|
|
79
|
+
], LegalPersonDto.prototype, "placeOfBirth", void 0);
|
|
80
|
+
__decorate([
|
|
81
|
+
(0, nestjs_1.ApiProperty)({ type: String, required: true, format: 'uuid' }),
|
|
82
|
+
(0, class_transformer_1.Expose)(),
|
|
83
|
+
__metadata("design:type", String)
|
|
84
|
+
], LegalPersonDto.prototype, "finalBeneficiaryId", void 0);
|
|
85
|
+
__decorate([
|
|
86
|
+
(0, nestjs_1.ApiProperty)({ type: String, required: true }),
|
|
87
|
+
(0, class_transformer_1.Expose)(),
|
|
88
|
+
__metadata("design:type", String)
|
|
89
|
+
], LegalPersonDto.prototype, "kleosId", void 0);
|
|
90
|
+
__decorate([
|
|
91
|
+
(0, nestjs_1.ApiProperty)({ type: Boolean, required: true, nullable: false }),
|
|
92
|
+
(0, class_transformer_1.Expose)(),
|
|
93
|
+
__metadata("design:type", Boolean)
|
|
94
|
+
], LegalPersonDto.prototype, "isArchived", void 0);
|
|
95
|
+
//# sourceMappingURL=legalPerson.dto.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"legalPerson.dto.js","sourceRoot":"","sources":["../../../src/dto/legalPerson/legalPerson.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAA2C;AAC3C,yCAA2C;AAE3C,kDAA8C;AAC9C,uEAAmE;AAEnE,MAAa,cAAe,SAAQ,IAAA,kBAAO,EAAC,gDAAsB,CAAC;CA4DlE;AA5DD,wCA4DC;AAzDA;IAFC,IAAA,oBAAW,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE,MAAM,EAAE,MAAM,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;IAC9E,IAAA,0BAAM,GAAE;;0CACG;AAIZ;IAFC,IAAA,oBAAW,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE,MAAM,EAAE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;AAIlB;IAFE,IAAA,oBAAW,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;IAC9C,IAAA,0BAAM,GAAE;;oDACY;AAIrB;IAFE,IAAA,oBAAW,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE,MAAM,EAAE,MAAM,EAAE,CAAC;IAC9D,IAAA,0BAAM,GAAE;;0DACkB;AAI3B;IAFC,IAAA,oBAAW,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;IAC7C,IAAA,0BAAM,GAAE;;+CACO;AAIhB;IAFC,IAAA,oBAAW,EAAC,EAAE,IAAI,EAAE,OAAO,EAAE,QAAQ,EAAE,IAAI,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;IAC/D,IAAA,0BAAM,GAAE;;kDACW"}
|
|
@@ -0,0 +1,38 @@
|
|
|
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.LegalPersonEmbeddedDto = void 0;
|
|
13
|
+
const class_transformer_1 = require("class-transformer");
|
|
14
|
+
const nestjs_1 = require("../../nestjs");
|
|
15
|
+
const user_dto_1 = require("../user/user.dto");
|
|
16
|
+
const project_dto_1 = require("../project/project.dto");
|
|
17
|
+
class LegalPersonEmbeddedDto {
|
|
18
|
+
}
|
|
19
|
+
exports.LegalPersonEmbeddedDto = LegalPersonEmbeddedDto;
|
|
20
|
+
__decorate([
|
|
21
|
+
(0, nestjs_1.ApiProperty)({ type: () => [project_dto_1.ProjectDto], required: false }),
|
|
22
|
+
(0, class_transformer_1.Type)(() => project_dto_1.ProjectDto),
|
|
23
|
+
(0, class_transformer_1.Expose)(),
|
|
24
|
+
__metadata("design:type", Array)
|
|
25
|
+
], LegalPersonEmbeddedDto.prototype, "projects", void 0);
|
|
26
|
+
__decorate([
|
|
27
|
+
(0, nestjs_1.ApiProperty)({ type: () => user_dto_1.UserDto, required: false }),
|
|
28
|
+
(0, class_transformer_1.Type)(() => user_dto_1.UserDto),
|
|
29
|
+
(0, class_transformer_1.Expose)(),
|
|
30
|
+
__metadata("design:type", user_dto_1.UserDto)
|
|
31
|
+
], LegalPersonEmbeddedDto.prototype, "createdBy", void 0);
|
|
32
|
+
__decorate([
|
|
33
|
+
(0, nestjs_1.ApiProperty)({ type: () => user_dto_1.UserDto, required: false }),
|
|
34
|
+
(0, class_transformer_1.Type)(() => user_dto_1.UserDto),
|
|
35
|
+
(0, class_transformer_1.Expose)(),
|
|
36
|
+
__metadata("design:type", user_dto_1.UserDto)
|
|
37
|
+
], LegalPersonEmbeddedDto.prototype, "updatedBy", void 0);
|
|
38
|
+
//# sourceMappingURL=legalPersonEmbedded.dto.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"legalPersonEmbedded.dto.js","sourceRoot":"","sources":["../../../src/dto/legalPerson/legalPersonEmbedded.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAAiD;AACjD,yCAA2C;AAE3C,+CAA2C;AAC3C,wDAAoD;AAEpD,MAAa,sBAAsB;CAelC;AAfD,wDAeC;AAXA;IAHE,IAAA,oBAAW,EAAC,EAAE,IAAI,EAAE,GAAG,EAAE,CAAC,CAAC,wBAAU,CAAC,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;IAC3D,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,wBAAU,CAAC;IACtB,IAAA,0BAAM,GAAE;;wDACe;AAKxB;IAHC,IAAA,oBAAW,EAAC,EAAE,IAAI,EAAE,GAAG,EAAE,CAAC,kBAAO,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;IACrD,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,kBAAO,CAAC;IACnB,IAAA,0BAAM,GAAE;8BACG,kBAAO;yDAAC;AAKpB;IAHC,IAAA,oBAAW,EAAC,EAAE,IAAI,EAAE,GAAG,EAAE,CAAC,kBAAO,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;IACrD,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,kBAAO,CAAC;IACnB,IAAA,0BAAM,GAAE;8BACG,kBAAO;yDAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { LegalPersonDto } from './legalPerson.dto';
|
|
2
|
+
declare class EmbeddedLegalPerson {
|
|
3
|
+
legalPersons?: LegalPersonDto[];
|
|
4
|
+
}
|
|
5
|
+
declare const LegalPersonPageDto_base: {
|
|
6
|
+
new (): {
|
|
7
|
+
_page: import("../..").PageInfoDto;
|
|
8
|
+
_embedded: EmbeddedLegalPerson;
|
|
9
|
+
};
|
|
10
|
+
};
|
|
11
|
+
export declare class LegalPersonPageDto extends LegalPersonPageDto_base {
|
|
12
|
+
}
|
|
13
|
+
export {};
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
+
};
|
|
8
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
+
};
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.LegalPersonPageDto = void 0;
|
|
13
|
+
const class_transformer_1 = require("class-transformer");
|
|
14
|
+
const nestjs_1 = require("../../nestjs");
|
|
15
|
+
const page_dto_1 = require("../generic/page.dto");
|
|
16
|
+
const legalPerson_dto_1 = require("./legalPerson.dto");
|
|
17
|
+
class EmbeddedLegalPerson {
|
|
18
|
+
}
|
|
19
|
+
__decorate([
|
|
20
|
+
(0, nestjs_1.ApiProperty)({ type: () => [legalPerson_dto_1.LegalPersonDto], required: false }),
|
|
21
|
+
(0, class_transformer_1.Type)(() => legalPerson_dto_1.LegalPersonDto),
|
|
22
|
+
(0, class_transformer_1.Expose)({ name: 'items' }),
|
|
23
|
+
__metadata("design:type", Array)
|
|
24
|
+
], EmbeddedLegalPerson.prototype, "legalPersons", void 0);
|
|
25
|
+
class LegalPersonPageDto extends (0, page_dto_1.PageDto)(EmbeddedLegalPerson) {
|
|
26
|
+
}
|
|
27
|
+
exports.LegalPersonPageDto = LegalPersonPageDto;
|
|
28
|
+
//# sourceMappingURL=legalPersonPage.dto.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"legalPersonPage.dto.js","sourceRoot":"","sources":["../../../src/dto/legalPerson/legalPersonPage.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAAiD;AACjD,yCAA2C;AAE3C,kDAA8C;AAC9C,uDAAmD;AAEnD,MAAM,mBAAmB;CAKxB;AADA;IAHC,IAAA,oBAAW,EAAC,EAAE,IAAI,EAAE,GAAG,EAAE,CAAC,CAAC,gCAAc,CAAC,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;IAC9D,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,gCAAc,CAAC;IAC1B,IAAA,0BAAM,EAAC,EAAE,IAAI,EAAE,OAAO,EAAE,CAAC;;yDACM;AAGjC,MAAa,kBAAmB,SAAQ,IAAA,kBAAO,EAAC,mBAAmB,CAAC;CAAG;AAAvE,gDAAuE"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
export declare class UpdateLegalPersonDto {
|
|
2
|
+
tenantId: string;
|
|
3
|
+
name: string;
|
|
4
|
+
companyType: string;
|
|
5
|
+
vatNumber: string;
|
|
6
|
+
street: string;
|
|
7
|
+
number: string;
|
|
8
|
+
postalCode: string;
|
|
9
|
+
city: string;
|
|
10
|
+
nationalNumber: string;
|
|
11
|
+
dateOfBirth: Date;
|
|
12
|
+
placeOfBirth: string;
|
|
13
|
+
finalBeneficiaryId: string;
|
|
14
|
+
kleosId: string;
|
|
15
|
+
isArchived: boolean;
|
|
16
|
+
}
|
|
@@ -0,0 +1,119 @@
|
|
|
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.UpdateLegalPersonDto = void 0;
|
|
13
|
+
const nestjs_1 = require("../../nestjs");
|
|
14
|
+
const class_transformer_1 = require("class-transformer");
|
|
15
|
+
const class_validator_1 = require("class-validator");
|
|
16
|
+
class UpdateLegalPersonDto {
|
|
17
|
+
}
|
|
18
|
+
exports.UpdateLegalPersonDto = UpdateLegalPersonDto;
|
|
19
|
+
__decorate([
|
|
20
|
+
(0, nestjs_1.ApiProperty)({ type: String, required: false, format: 'uuid', nullable: false }),
|
|
21
|
+
(0, class_validator_1.IsOptional)(),
|
|
22
|
+
(0, class_validator_1.IsUUID)(4),
|
|
23
|
+
(0, class_transformer_1.Expose)(),
|
|
24
|
+
__metadata("design:type", String)
|
|
25
|
+
], UpdateLegalPersonDto.prototype, "tenantId", void 0);
|
|
26
|
+
__decorate([
|
|
27
|
+
(0, nestjs_1.ApiProperty)({ type: String, required: false }),
|
|
28
|
+
(0, class_validator_1.IsOptional)(),
|
|
29
|
+
(0, class_validator_1.IsString)(),
|
|
30
|
+
(0, class_transformer_1.Expose)(),
|
|
31
|
+
__metadata("design:type", String)
|
|
32
|
+
], UpdateLegalPersonDto.prototype, "name", void 0);
|
|
33
|
+
__decorate([
|
|
34
|
+
(0, nestjs_1.ApiProperty)({ type: String, required: false }),
|
|
35
|
+
(0, class_validator_1.IsOptional)(),
|
|
36
|
+
(0, class_validator_1.IsString)(),
|
|
37
|
+
(0, class_transformer_1.Expose)(),
|
|
38
|
+
__metadata("design:type", String)
|
|
39
|
+
], UpdateLegalPersonDto.prototype, "companyType", void 0);
|
|
40
|
+
__decorate([
|
|
41
|
+
(0, nestjs_1.ApiProperty)({ type: String, required: false }),
|
|
42
|
+
(0, class_validator_1.IsOptional)(),
|
|
43
|
+
(0, class_validator_1.IsString)(),
|
|
44
|
+
(0, class_transformer_1.Expose)(),
|
|
45
|
+
__metadata("design:type", String)
|
|
46
|
+
], UpdateLegalPersonDto.prototype, "vatNumber", void 0);
|
|
47
|
+
__decorate([
|
|
48
|
+
(0, nestjs_1.ApiProperty)({ type: String, required: false }),
|
|
49
|
+
(0, class_validator_1.IsOptional)(),
|
|
50
|
+
(0, class_validator_1.IsString)(),
|
|
51
|
+
(0, class_transformer_1.Expose)(),
|
|
52
|
+
__metadata("design:type", String)
|
|
53
|
+
], UpdateLegalPersonDto.prototype, "street", void 0);
|
|
54
|
+
__decorate([
|
|
55
|
+
(0, nestjs_1.ApiProperty)({ type: String, required: false }),
|
|
56
|
+
(0, class_validator_1.IsOptional)(),
|
|
57
|
+
(0, class_validator_1.IsString)(),
|
|
58
|
+
(0, class_transformer_1.Expose)(),
|
|
59
|
+
__metadata("design:type", String)
|
|
60
|
+
], UpdateLegalPersonDto.prototype, "number", void 0);
|
|
61
|
+
__decorate([
|
|
62
|
+
(0, nestjs_1.ApiProperty)({ type: String, required: false }),
|
|
63
|
+
(0, class_validator_1.IsOptional)(),
|
|
64
|
+
(0, class_validator_1.IsString)(),
|
|
65
|
+
(0, class_transformer_1.Expose)(),
|
|
66
|
+
__metadata("design:type", String)
|
|
67
|
+
], UpdateLegalPersonDto.prototype, "postalCode", void 0);
|
|
68
|
+
__decorate([
|
|
69
|
+
(0, nestjs_1.ApiProperty)({ type: String, required: false }),
|
|
70
|
+
(0, class_validator_1.IsOptional)(),
|
|
71
|
+
(0, class_validator_1.IsString)(),
|
|
72
|
+
(0, class_transformer_1.Expose)(),
|
|
73
|
+
__metadata("design:type", String)
|
|
74
|
+
], UpdateLegalPersonDto.prototype, "city", void 0);
|
|
75
|
+
__decorate([
|
|
76
|
+
(0, nestjs_1.ApiProperty)({ type: String, required: false }),
|
|
77
|
+
(0, class_validator_1.IsOptional)(),
|
|
78
|
+
(0, class_validator_1.IsString)(),
|
|
79
|
+
(0, class_transformer_1.Expose)(),
|
|
80
|
+
__metadata("design:type", String)
|
|
81
|
+
], UpdateLegalPersonDto.prototype, "nationalNumber", void 0);
|
|
82
|
+
__decorate([
|
|
83
|
+
(0, nestjs_1.ApiProperty)({ type: Date, required: false }),
|
|
84
|
+
(0, class_transformer_1.Type)(() => Date),
|
|
85
|
+
(0, class_validator_1.MaxDate)(new Date()),
|
|
86
|
+
(0, class_validator_1.IsOptional)(),
|
|
87
|
+
(0, class_validator_1.IsDate)(),
|
|
88
|
+
(0, class_transformer_1.Expose)(),
|
|
89
|
+
__metadata("design:type", Date)
|
|
90
|
+
], UpdateLegalPersonDto.prototype, "dateOfBirth", void 0);
|
|
91
|
+
__decorate([
|
|
92
|
+
(0, nestjs_1.ApiProperty)({ type: String, required: false }),
|
|
93
|
+
(0, class_validator_1.IsOptional)(),
|
|
94
|
+
(0, class_validator_1.IsString)(),
|
|
95
|
+
(0, class_transformer_1.Expose)(),
|
|
96
|
+
__metadata("design:type", String)
|
|
97
|
+
], UpdateLegalPersonDto.prototype, "placeOfBirth", void 0);
|
|
98
|
+
__decorate([
|
|
99
|
+
(0, nestjs_1.ApiProperty)({ type: String, required: false, format: 'uuid' }),
|
|
100
|
+
(0, class_validator_1.IsOptional)(),
|
|
101
|
+
(0, class_validator_1.IsUUID)(4),
|
|
102
|
+
(0, class_transformer_1.Expose)(),
|
|
103
|
+
__metadata("design:type", String)
|
|
104
|
+
], UpdateLegalPersonDto.prototype, "finalBeneficiaryId", void 0);
|
|
105
|
+
__decorate([
|
|
106
|
+
(0, nestjs_1.ApiProperty)({ type: String, required: false }),
|
|
107
|
+
(0, class_validator_1.IsOptional)(),
|
|
108
|
+
(0, class_validator_1.IsString)(),
|
|
109
|
+
(0, class_transformer_1.Expose)(),
|
|
110
|
+
__metadata("design:type", String)
|
|
111
|
+
], UpdateLegalPersonDto.prototype, "kleosId", void 0);
|
|
112
|
+
__decorate([
|
|
113
|
+
(0, nestjs_1.ApiProperty)({ type: Boolean, required: false, nullable: false }),
|
|
114
|
+
(0, class_validator_1.IsOptional)(),
|
|
115
|
+
(0, class_validator_1.IsBoolean)(),
|
|
116
|
+
(0, class_transformer_1.Expose)(),
|
|
117
|
+
__metadata("design:type", Boolean)
|
|
118
|
+
], UpdateLegalPersonDto.prototype, "isArchived", void 0);
|
|
119
|
+
//# sourceMappingURL=updateLegalPerson.dto.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"updateLegalPerson.dto.js","sourceRoot":"","sources":["../../../src/dto/legalPerson/updateLegalPerson.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yCAA2C;AAC3C,yDAAiD;AACjD,qDAA2F;AAE3F,MAAa,oBAAoB;CAsFhC;AAtFD,oDAsFC;AAjFA;IAJC,IAAA,oBAAW,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,KAAK,EAAE,MAAM,EAAE,MAAM,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;IAC9E,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAM,EAAC,CAAC,CAAC;IACV,IAAA,0BAAM,GAAE;;sDACQ;AAMjB;IAJE,IAAA,oBAAW,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;IAC9C,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;IACX,IAAA,0BAAM,GAAE;;kDACI;AAMb;IAJC,IAAA,oBAAW,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;IAC7C,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;IACX,IAAA,0BAAM,GAAE;;yDACW;AAMpB;IAJE,IAAA,oBAAW,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;IAC9C,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;IACX,IAAA,0BAAM,GAAE;;uDACS;AAMlB;IAJE,IAAA,oBAAW,EAAC,EAAE,IAAI,E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C,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;IACX,IAAA,0BAAM,GAAE;;0DACY;AAMrB;IAJE,IAAA,oBAAW,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,KAAK,EAAE,MAAM,EAAE,MAAM,EAAE,CAAC;IAC9D,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAM,EAAC,CAAC,CAAC;IACV,IAAA,0BAAM,GAAE;;gEACkB;AAM3B;IAJC,IAAA,oBAAW,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;IAC7C,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;IACX,IAAA,0BAAM,GAAE;;qDACO;AAMhB;IAJC,IAAA,oBAAW,EAAC,EAAE,IAAI,EAAE,OAAO,EAAE,QAAQ,EAAE,KAAK,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;IAC/D,IAAA,4BAAU,GAAE;IACZ,IAAA,2BAAS,GAAE;IACZ,IAAA,0BAAM,GAAE;;wDACW"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.BulkUpdateNaturalPersonDto = void 0;
|
|
4
|
+
const bulk_dto_1 = require("../generic/bulk.dto");
|
|
5
|
+
const updateNaturalPerson_dto_1 = require("./updateNaturalPerson.dto");
|
|
6
|
+
class BulkUpdateNaturalPersonDto extends (0, bulk_dto_1.BulkDto)(updateNaturalPerson_dto_1.UpdateNaturalPersonDto) {
|
|
7
|
+
}
|
|
8
|
+
exports.BulkUpdateNaturalPersonDto = BulkUpdateNaturalPersonDto;
|
|
9
|
+
//# sourceMappingURL=bulkUpdateNaturalPerson.dto.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"bulkUpdateNaturalPerson.dto.js","sourceRoot":"","sources":["../../../src/dto/naturalPerson/bulkUpdateNaturalPerson.dto.ts"],"names":[],"mappings":";;;AAAA,kDAA8C;AAC9C,uEAAmE;AAEnE,MAAa,0BAA2B,SAAQ,IAAA,kBAAO,EAAC,gDAAsB,CAAC;CAAG;AAAlF,gEAAkF"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
export declare class CreateNaturalPersonDto {
|
|
2
|
+
tenantId: string;
|
|
3
|
+
name: string;
|
|
4
|
+
firstName: string;
|
|
5
|
+
street: string;
|
|
6
|
+
number: string;
|
|
7
|
+
postalCode: string;
|
|
8
|
+
city: string;
|
|
9
|
+
nationalNumber: string;
|
|
10
|
+
dateOfBirth: Date;
|
|
11
|
+
placeOfBirth: string;
|
|
12
|
+
kleosId: string;
|
|
13
|
+
isArchived: boolean;
|
|
14
|
+
}
|