@hed-hog/contact 0.0.261 → 0.0.270
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/address-type.enum.d.ts +10 -0
- package/dist/address-type.enum.d.ts.map +1 -0
- package/dist/address-type.enum.js +14 -0
- package/dist/address-type.enum.js.map +1 -0
- package/dist/contact.module.d.ts.map +1 -1
- package/dist/contact.module.js +0 -2
- package/dist/contact.module.js.map +1 -1
- package/dist/contact.service.d.ts +19 -22
- package/dist/contact.service.d.ts.map +1 -1
- package/dist/contact.service.js +22 -2
- package/dist/contact.service.js.map +1 -1
- package/dist/index.d.ts +5 -8
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -4
- package/dist/index.js.map +1 -1
- package/dist/person/dto/create.dto.d.ts +14 -0
- package/dist/person/dto/create.dto.d.ts.map +1 -1
- package/dist/person/dto/create.dto.js +52 -1
- package/dist/person/dto/create.dto.js.map +1 -1
- package/dist/person/dto/update.dto.d.ts +17 -1
- package/dist/person/dto/update.dto.d.ts.map +1 -1
- package/dist/person/dto/update.dto.js +79 -3
- package/dist/person/dto/update.dto.js.map +1 -1
- package/dist/person/person.controller.d.ts +33 -8
- package/dist/person/person.controller.d.ts.map +1 -1
- package/dist/person/person.controller.js +19 -3
- package/dist/person/person.controller.js.map +1 -1
- package/dist/person/person.service.d.ts +59 -10
- package/dist/person/person.service.d.ts.map +1 -1
- package/dist/person/person.service.js +710 -107
- package/dist/person/person.service.js.map +1 -1
- package/dist/person-relation-type/person-relation-type.controller.d.ts +13 -9
- package/dist/person-relation-type/person-relation-type.controller.d.ts.map +1 -1
- package/dist/person-relation-type/person-relation-type.service.d.ts +16 -20
- package/dist/person-relation-type/person-relation-type.service.d.ts.map +1 -1
- package/dist/person-relation-type/person-relation-type.service.js +48 -41
- package/dist/person-relation-type/person-relation-type.service.js.map +1 -1
- package/hedhog/data/menu.yaml +2 -16
- package/hedhog/data/route.yaml +2 -21
- package/hedhog/data/setting_group.yaml +21 -0
- package/hedhog/frontend/app/person/_components/delete-person-dialog.tsx.ejs +59 -0
- package/hedhog/frontend/app/person/_components/person-field-with-create.tsx.ejs +831 -0
- package/hedhog/frontend/app/person/_components/person-form-sheet.tsx.ejs +1997 -0
- package/hedhog/frontend/app/person/_components/person-types.ts.ejs +115 -0
- package/hedhog/frontend/app/person/page.tsx.ejs +1209 -1530
- package/hedhog/frontend/messages/en.json +114 -4
- package/hedhog/frontend/messages/pt.json +114 -4
- package/hedhog/table/person.yaml +7 -0
- package/hedhog/table/person_address.yaml +18 -0
- package/hedhog/table/person_company.yaml +26 -11
- package/hedhog/table/person_individual.yaml +17 -13
- package/hedhog/table/person_individual_relation.yaml +39 -0
- package/package.json +8 -7
- package/src/address-type.enum.ts +9 -0
- package/src/contact.module.ts +46 -48
- package/src/contact.service.ts +28 -13
- package/src/index.ts +6 -13
- package/src/language/en.json +13 -6
- package/src/language/pt.json +14 -6
- package/src/person/dto/create.dto.ts +62 -14
- package/src/person/dto/update.dto.ts +147 -75
- package/src/person/person.controller.ts +39 -27
- package/src/person/person.service.ts +1071 -239
- package/src/person-relation-type/person-relation-type.service.ts +84 -76
- package/hedhog/data/address_type.yaml +0 -28
- package/hedhog/frontend/app/address-type/page.tsx.ejs +0 -480
- package/hedhog/query/add-unique-address-type-locale.sql +0 -3
- package/hedhog/table/address.yaml +0 -28
- package/hedhog/table/address_type.yaml +0 -11
- package/hedhog/table/person_relation.yaml +0 -20
- package/hedhog/table/person_relation_type.yaml +0 -6
- package/src/address-type/address-type.controller.ts +0 -55
- package/src/address-type/address-type.enum.ts +0 -9
- package/src/address-type/address-type.module.ts +0 -18
- package/src/address-type/address-type.service.ts +0 -121
- package/src/address-type/dto/create.dto.ts +0 -19
- package/src/address-type/dto/update.dto.ts +0 -9
|
@@ -10,6 +10,8 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
10
10
|
};
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
12
|
exports.UpdateAllPersonDTO = exports.UpdateAllDocumentDTO = exports.UpdateAllAddressDTO = exports.UpdateAllContactDTO = void 0;
|
|
13
|
+
const address_type_enum_1 = require("../../address-type.enum");
|
|
14
|
+
const create_dto_1 = require("./create.dto");
|
|
13
15
|
const api_locale_1 = require("@hed-hog/api-locale");
|
|
14
16
|
const class_transformer_1 = require("class-transformer");
|
|
15
17
|
const class_validator_1 = require("class-validator");
|
|
@@ -45,6 +47,11 @@ __decorate([
|
|
|
45
47
|
(0, class_validator_1.IsString)({ message: (args) => (0, api_locale_1.getLocaleText)('validation.line1MustBeString', args.value) }),
|
|
46
48
|
__metadata("design:type", String)
|
|
47
49
|
], UpdateAllAddressDTO.prototype, "line1", void 0);
|
|
50
|
+
__decorate([
|
|
51
|
+
(0, class_validator_1.IsOptional)(),
|
|
52
|
+
(0, class_validator_1.IsString)({ message: (args) => (0, api_locale_1.getLocaleText)('validation.line2MustBeString', args.value) }),
|
|
53
|
+
__metadata("design:type", String)
|
|
54
|
+
], UpdateAllAddressDTO.prototype, "line2", void 0);
|
|
48
55
|
__decorate([
|
|
49
56
|
(0, class_validator_1.IsString)({ message: (args) => (0, api_locale_1.getLocaleText)('validation.cityMustBeString', args.value) }),
|
|
50
57
|
__metadata("design:type", String)
|
|
@@ -53,14 +60,26 @@ __decorate([
|
|
|
53
60
|
(0, class_validator_1.IsString)({ message: (args) => (0, api_locale_1.getLocaleText)('validation.stateMustBeString', args.value) }),
|
|
54
61
|
__metadata("design:type", String)
|
|
55
62
|
], UpdateAllAddressDTO.prototype, "state", void 0);
|
|
63
|
+
__decorate([
|
|
64
|
+
(0, class_validator_1.IsOptional)(),
|
|
65
|
+
(0, class_validator_1.IsString)({ message: (args) => (0, api_locale_1.getLocaleText)('validation.countryCodeMustBeString', args.value) }),
|
|
66
|
+
__metadata("design:type", String)
|
|
67
|
+
], UpdateAllAddressDTO.prototype, "country_code", void 0);
|
|
68
|
+
__decorate([
|
|
69
|
+
(0, class_validator_1.IsOptional)(),
|
|
70
|
+
(0, class_validator_1.IsString)({ message: (args) => (0, api_locale_1.getLocaleText)('validation.postalCodeMustBeString', args.value) }),
|
|
71
|
+
__metadata("design:type", String)
|
|
72
|
+
], UpdateAllAddressDTO.prototype, "postal_code", void 0);
|
|
56
73
|
__decorate([
|
|
57
74
|
(0, class_validator_1.IsBoolean)({ message: (args) => (0, api_locale_1.getLocaleText)('validation.isPrimaryMustBeBoolean', args.value) }),
|
|
58
75
|
__metadata("design:type", Boolean)
|
|
59
76
|
], UpdateAllAddressDTO.prototype, "is_primary", void 0);
|
|
60
77
|
__decorate([
|
|
61
|
-
(0, class_validator_1.
|
|
62
|
-
|
|
63
|
-
|
|
78
|
+
(0, class_validator_1.IsEnum)(address_type_enum_1.AddressTypeEnum, {
|
|
79
|
+
message: (args) => (0, api_locale_1.getLocaleText)('validation.addressTypeMustBeEnum', args.value),
|
|
80
|
+
}),
|
|
81
|
+
__metadata("design:type", String)
|
|
82
|
+
], UpdateAllAddressDTO.prototype, "address_type", void 0);
|
|
64
83
|
class UpdateAllDocumentDTO {
|
|
65
84
|
}
|
|
66
85
|
exports.UpdateAllDocumentDTO = UpdateAllDocumentDTO;
|
|
@@ -92,6 +111,63 @@ __decorate([
|
|
|
92
111
|
(0, class_validator_1.IsString)({ message: (args) => (0, api_locale_1.getLocaleText)('validation.statusMustBeEnum', args.value) }),
|
|
93
112
|
__metadata("design:type", String)
|
|
94
113
|
], UpdateAllPersonDTO.prototype, "status", void 0);
|
|
114
|
+
__decorate([
|
|
115
|
+
(0, class_validator_1.IsOptional)(),
|
|
116
|
+
(0, class_validator_1.IsInt)({ message: (args) => (0, api_locale_1.getLocaleText)('validation.idMustBeInteger', args.value) }),
|
|
117
|
+
__metadata("design:type", Number)
|
|
118
|
+
], UpdateAllPersonDTO.prototype, "avatar_id", void 0);
|
|
119
|
+
__decorate([
|
|
120
|
+
(0, class_validator_1.IsOptional)(),
|
|
121
|
+
(0, class_validator_1.IsDateString)({}, { message: (args) => (0, api_locale_1.getLocaleText)('validation.dateMustBeString', args.value) }),
|
|
122
|
+
__metadata("design:type", String)
|
|
123
|
+
], UpdateAllPersonDTO.prototype, "birth_date", void 0);
|
|
124
|
+
__decorate([
|
|
125
|
+
(0, class_validator_1.IsOptional)(),
|
|
126
|
+
(0, class_validator_1.IsEnum)(create_dto_1.PersonGender, { message: (args) => (0, api_locale_1.getLocaleText)('validation.typeMustBeEnum', args.value) }),
|
|
127
|
+
__metadata("design:type", String)
|
|
128
|
+
], UpdateAllPersonDTO.prototype, "gender", void 0);
|
|
129
|
+
__decorate([
|
|
130
|
+
(0, class_validator_1.IsOptional)(),
|
|
131
|
+
(0, class_validator_1.IsString)({ message: (args) => (0, api_locale_1.getLocaleText)('validation.stringRequired', args.value) }),
|
|
132
|
+
__metadata("design:type", String)
|
|
133
|
+
], UpdateAllPersonDTO.prototype, "job_title", void 0);
|
|
134
|
+
__decorate([
|
|
135
|
+
(0, class_validator_1.IsOptional)(),
|
|
136
|
+
(0, class_validator_1.IsString)({ message: (args) => (0, api_locale_1.getLocaleText)('validation.stringRequired', args.value) }),
|
|
137
|
+
__metadata("design:type", String)
|
|
138
|
+
], UpdateAllPersonDTO.prototype, "trade_name", void 0);
|
|
139
|
+
__decorate([
|
|
140
|
+
(0, class_validator_1.IsOptional)(),
|
|
141
|
+
(0, class_validator_1.IsDateString)({}, { message: (args) => (0, api_locale_1.getLocaleText)('validation.dateMustBeString', args.value) }),
|
|
142
|
+
__metadata("design:type", String)
|
|
143
|
+
], UpdateAllPersonDTO.prototype, "foundation_date", void 0);
|
|
144
|
+
__decorate([
|
|
145
|
+
(0, class_validator_1.IsOptional)(),
|
|
146
|
+
(0, class_validator_1.IsString)({ message: (args) => (0, api_locale_1.getLocaleText)('validation.stringRequired', args.value) }),
|
|
147
|
+
__metadata("design:type", String)
|
|
148
|
+
], UpdateAllPersonDTO.prototype, "legal_nature", void 0);
|
|
149
|
+
__decorate([
|
|
150
|
+
(0, class_validator_1.IsOptional)(),
|
|
151
|
+
(0, class_validator_1.IsString)({ message: (args) => (0, api_locale_1.getLocaleText)('validation.notesMustBeString', args.value) }),
|
|
152
|
+
__metadata("design:type", String)
|
|
153
|
+
], UpdateAllPersonDTO.prototype, "notes", void 0);
|
|
154
|
+
__decorate([
|
|
155
|
+
(0, class_validator_1.IsOptional)(),
|
|
156
|
+
(0, class_validator_1.IsInt)({ message: (args) => (0, api_locale_1.getLocaleText)('validation.idMustBeInteger', args.value) }),
|
|
157
|
+
__metadata("design:type", Number)
|
|
158
|
+
], UpdateAllPersonDTO.prototype, "employer_company_id", void 0);
|
|
159
|
+
__decorate([
|
|
160
|
+
(0, class_validator_1.IsOptional)(),
|
|
161
|
+
(0, class_validator_1.IsInt)({ message: (args) => (0, api_locale_1.getLocaleText)('validation.idMustBeInteger', args.value) }),
|
|
162
|
+
__metadata("design:type", Number)
|
|
163
|
+
], UpdateAllPersonDTO.prototype, "headquarter_id", void 0);
|
|
164
|
+
__decorate([
|
|
165
|
+
(0, class_validator_1.IsOptional)(),
|
|
166
|
+
(0, class_validator_1.IsArray)({ message: (args) => (0, api_locale_1.getLocaleText)('validation.contactsMustBeArray', args.value) }),
|
|
167
|
+
(0, class_transformer_1.Type)(() => Number),
|
|
168
|
+
(0, class_validator_1.IsInt)({ each: true, message: (args) => (0, api_locale_1.getLocaleText)('validation.idMustBeInteger', args.value) }),
|
|
169
|
+
__metadata("design:type", Array)
|
|
170
|
+
], UpdateAllPersonDTO.prototype, "branch_ids", void 0);
|
|
95
171
|
__decorate([
|
|
96
172
|
(0, class_validator_1.IsArray)({ message: (args) => (0, api_locale_1.getLocaleText)('validation.contactsMustBeArray', args.value) }),
|
|
97
173
|
(0, class_validator_1.ValidateNested)({ each: true }),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update.dto.js","sourceRoot":"","sources":["../../../src/person/dto/update.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,oDAAoD;AACpD,yDAAyC;AACzC,
|
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AI,EAAE,EAAE,CAAC,IAAA,0BAAa,EAAC,iCAAiC,EAAE,IAAI,CAAC,KAAK,CAAC,EAAE,CAAC;IAC5F,IAAA,gCAAc,EAAC,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;IAC9B,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,mBAAmB,CAAC;;qDACC;AAKjC;IAHC,IAAA,yBAAO,EAAC,EAAE,OAAO,EAAE,CAAC,IAAI,EAAE,EAAE,CAAC,IAAA,0BAAa,EAAC,iCAAiC,EAAE,IAAI,CAAC,KAAK,CAAC,EAAE,CAAC;IAC5F,IAAA,gCAAc,EAAC,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;IAC9B,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,oBAAoB,CAAC;;qDACC"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { DeleteDTO } from '@hed-hog/api';
|
|
2
|
+
import { Response } from 'express';
|
|
2
3
|
import { CreateDTO } from './dto/create.dto';
|
|
3
4
|
import { UpdateAllPersonDTO } from './dto/update.dto';
|
|
4
5
|
import { PersonService } from './person.service';
|
|
@@ -21,25 +22,49 @@ export declare class PersonController {
|
|
|
21
22
|
next: number;
|
|
22
23
|
data: any[];
|
|
23
24
|
}>;
|
|
25
|
+
openAvatar(id: number, res: Response, locale: string): Promise<void>;
|
|
24
26
|
get(id: number, locale: string): Promise<{
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
27
|
+
id: any;
|
|
28
|
+
name: any;
|
|
29
|
+
type: any;
|
|
30
|
+
status: any;
|
|
31
|
+
avatar_id: any;
|
|
32
|
+
created_at: any;
|
|
33
|
+
updated_at: any;
|
|
34
|
+
birth_date: Date;
|
|
35
|
+
gender: import("@prisma/client").$Enums.person_individual_gender_enum;
|
|
36
|
+
job_title: string;
|
|
37
|
+
trade_name: string;
|
|
38
|
+
foundation_date: Date;
|
|
39
|
+
legal_nature: string;
|
|
40
|
+
headquarter_id: number;
|
|
41
|
+
branch_ids: number[];
|
|
42
|
+
notes: string;
|
|
43
|
+
employer_company_id: number;
|
|
44
|
+
employer_company: {
|
|
45
|
+
id: any;
|
|
46
|
+
name: any;
|
|
47
|
+
type: any;
|
|
48
|
+
status: any;
|
|
49
|
+
avatar_id: any;
|
|
50
|
+
trade_name: string;
|
|
51
|
+
};
|
|
52
|
+
contact: any;
|
|
53
|
+
document: any;
|
|
54
|
+
address: any;
|
|
31
55
|
}>;
|
|
32
|
-
create(data: CreateDTO): Promise<{
|
|
56
|
+
create(data: CreateDTO, locale: string): Promise<{
|
|
33
57
|
name: string;
|
|
34
58
|
type: import("@prisma/client").$Enums.person_type_enum;
|
|
35
59
|
id: number;
|
|
36
60
|
created_at: Date;
|
|
37
61
|
updated_at: Date;
|
|
38
62
|
status: import("@prisma/client").$Enums.person_status_enum;
|
|
63
|
+
avatar_id: number | null;
|
|
39
64
|
}>;
|
|
40
65
|
update(id: number, data: UpdateAllPersonDTO, locale: string): Promise<{
|
|
41
66
|
success: boolean;
|
|
42
67
|
}>;
|
|
43
|
-
delete(data: DeleteDTO, locale: string): Promise<[import("@prisma/client").Prisma.BatchPayload, import("@prisma/client").Prisma.BatchPayload, import("@prisma/client").Prisma.BatchPayload, import("@prisma/client").Prisma.BatchPayload]>;
|
|
68
|
+
delete(data: DeleteDTO, locale: string): Promise<[import("@prisma/client").Prisma.BatchPayload, import("@prisma/client").Prisma.BatchPayload, import("@prisma/client").Prisma.BatchPayload, import("@prisma/client").Prisma.BatchPayload, import("@prisma/client").Prisma.BatchPayload, import("@prisma/client").Prisma.BatchPayload, import("@prisma/client").Prisma.BatchPayload, import("@prisma/client").Prisma.BatchPayload, import("@prisma/client").Prisma.BatchPayload]>;
|
|
44
69
|
}
|
|
45
70
|
//# sourceMappingURL=person.controller.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"person.controller.d.ts","sourceRoot":"","sources":["../../src/person/person.controller.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,
|
|
1
|
+
{"version":3,"file":"person.controller.d.ts","sourceRoot":"","sources":["../../src/person/person.controller.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAgB,MAAM,cAAc,CAAC;AAiBvD,OAAO,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAC;AACnC,OAAO,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAC7C,OAAO,EAAE,kBAAkB,EAAE,MAAM,kBAAkB,CAAC;AACtD,OAAO,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAEjD,qBAEa,gBAAgB;IAGzB,OAAO,CAAC,QAAQ,CAAC,aAAa;gBAAb,aAAa,EAAE,aAAa;IAIzC,QAAQ;;;;;;;IAKR,IAAI,CAAe,gBAAgB,KAAA,EAAW,OAAO,KAAA;;;;;;;;;IAMrD,UAAU,CACa,EAAE,EAAE,MAAM,EAC9B,GAAG,EAAE,QAAQ,EACV,MAAM,EAAE,MAAM;IAMpB,GAAG,CAA4B,EAAE,EAAE,MAAM,EAAY,MAAM,EAAE,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAKnE,MAAM,CAAS,IAAI,EAAE,SAAS,EAAY,MAAM,EAAE,MAAM;;;;;;;;;IAKxD,MAAM,CACiB,EAAE,EAAE,MAAM,EAC7B,IAAI,EAAE,kBAAkB,EACtB,MAAM,EAAE,MAAM;;;IAMpB,MAAM,CAAS,IAAI,EAAE,SAAS,EAAY,MAAM,EAAE,MAAM;CAG/D"}
|
|
@@ -11,12 +11,14 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
11
11
|
var __param = (this && this.__param) || function (paramIndex, decorator) {
|
|
12
12
|
return function (target, key) { decorator(target, key, paramIndex); }
|
|
13
13
|
};
|
|
14
|
+
var _a;
|
|
14
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
16
|
exports.PersonController = void 0;
|
|
16
17
|
const api_1 = require("@hed-hog/api");
|
|
17
18
|
const api_locale_1 = require("@hed-hog/api-locale");
|
|
18
19
|
const api_pagination_1 = require("@hed-hog/api-pagination");
|
|
19
20
|
const common_1 = require("@nestjs/common");
|
|
21
|
+
const express_1 = require("express");
|
|
20
22
|
const create_dto_1 = require("./dto/create.dto");
|
|
21
23
|
const update_dto_1 = require("./dto/update.dto");
|
|
22
24
|
const person_service_1 = require("./person.service");
|
|
@@ -30,11 +32,14 @@ let PersonController = class PersonController {
|
|
|
30
32
|
async list(paginationParams, filters) {
|
|
31
33
|
return this.personService.list(Object.assign(Object.assign({}, paginationParams), filters));
|
|
32
34
|
}
|
|
35
|
+
async openAvatar(id, res, locale) {
|
|
36
|
+
return this.personService.openPublicAvatar(locale, id, res);
|
|
37
|
+
}
|
|
33
38
|
async get(id, locale) {
|
|
34
39
|
return this.personService.get(locale, id);
|
|
35
40
|
}
|
|
36
|
-
async create(data) {
|
|
37
|
-
return this.personService.create(data);
|
|
41
|
+
async create(data, locale) {
|
|
42
|
+
return this.personService.create(data, locale);
|
|
38
43
|
}
|
|
39
44
|
async update(id, data, locale) {
|
|
40
45
|
return this.personService.update(id, data, locale);
|
|
@@ -58,6 +63,16 @@ __decorate([
|
|
|
58
63
|
__metadata("design:paramtypes", [Object, Object]),
|
|
59
64
|
__metadata("design:returntype", Promise)
|
|
60
65
|
], PersonController.prototype, "list", null);
|
|
66
|
+
__decorate([
|
|
67
|
+
(0, api_1.Public)(),
|
|
68
|
+
(0, common_1.Get)('avatar/:id'),
|
|
69
|
+
__param(0, (0, common_1.Param)('id', common_1.ParseIntPipe)),
|
|
70
|
+
__param(1, (0, common_1.Res)()),
|
|
71
|
+
__param(2, (0, api_locale_1.Locale)()),
|
|
72
|
+
__metadata("design:type", Function),
|
|
73
|
+
__metadata("design:paramtypes", [Number, typeof (_a = typeof express_1.Response !== "undefined" && express_1.Response) === "function" ? _a : Object, String]),
|
|
74
|
+
__metadata("design:returntype", Promise)
|
|
75
|
+
], PersonController.prototype, "openAvatar", null);
|
|
61
76
|
__decorate([
|
|
62
77
|
(0, common_1.Get)(':id'),
|
|
63
78
|
__param(0, (0, common_1.Param)('id', common_1.ParseIntPipe)),
|
|
@@ -69,8 +84,9 @@ __decorate([
|
|
|
69
84
|
__decorate([
|
|
70
85
|
(0, common_1.Post)(),
|
|
71
86
|
__param(0, (0, common_1.Body)()),
|
|
87
|
+
__param(1, (0, api_locale_1.Locale)()),
|
|
72
88
|
__metadata("design:type", Function),
|
|
73
|
-
__metadata("design:paramtypes", [create_dto_1.CreateDTO]),
|
|
89
|
+
__metadata("design:paramtypes", [create_dto_1.CreateDTO, String]),
|
|
74
90
|
__metadata("design:returntype", Promise)
|
|
75
91
|
], PersonController.prototype, "create", null);
|
|
76
92
|
__decorate([
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"person.controller.js","sourceRoot":"","sources":["../../src/person/person.controller.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"person.controller.js","sourceRoot":"","sources":["../../src/person/person.controller.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,sCAAuD;AACvD,oDAA6C;AAC7C,4DAAqD;AACrD,2CAawB;AACxB,qCAAmC;AACnC,iDAA6C;AAC7C,iDAAsD;AACtD,qDAAiD;AAI1C,IAAM,gBAAgB,GAAtB,MAAM,gBAAgB;IAC3B,YAEmB,aAA4B;QAA5B,kBAAa,GAAb,aAAa,CAAe;IAC5C,CAAC;IAGE,AAAN,KAAK,CAAC,QAAQ;QACZ,OAAO,IAAI,CAAC,aAAa,CAAC,QAAQ,EAAE,CAAC;IACvC,CAAC;IAGK,AAAN,KAAK,CAAC,IAAI,CAAe,gBAAgB,EAAW,OAAO;QACzD,OAAO,IAAI,CAAC,aAAa,CAAC,IAAI,iCAAM,gBAAgB,GAAK,OAAO,EAAG,CAAC;IACtE,CAAC;IAIK,AAAN,KAAK,CAAC,UAAU,CACa,EAAU,EAC9B,GAAa,EACV,MAAc;QAExB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CAAC,CAAA;IAAc,WAAA,IAAA,mBAAM,GAAE,CAAA;;;;2CAEzD;AAGK;IADL,IAAA,aAAI,GAAE;IACO,WAAA,IAAA,aAAI,GAAE,CAAA;IAAmB,WAAA,IAAA,mBAAM,GAAE,CAAA;;qCAApB,sBAAS;;8CAEnC;AAGK;IADL,IAAA,cAAK,EAAC,KAAK,CAAC;IAEV,WAAA,IAAA,cAAK,EAAC,IAAI,EAAE,qBAAY,CAAC,CAAA;IACzB,WAAA,IAAA,aAAI,GAAE,CAAA;IACN,WAAA,IAAA,mBAAM,GAAE,CAAA;;6CADK,+BAAkB;;8CAIjC;AAGK;IADL,IAAA,eAAM,GAAE;IACK,WAAA,IAAA,aAAI,GAAE,CAAA;IAAmB,WAAA,IAAA,mBAAM,GAAE,CAAA;;qCAApB,eAAS;;8CAEnC;2BAhDU,gBAAgB;IAF5B,IAAA,UAAI,GAAE;IACN,IAAA,mBAAU,EAAC,QAAQ,CAAC;IAGhB,WAAA,IAAA,eAAM,EAAC,IAAA,mBAAU,EAAC,GAAG,EAAE,CAAC,8BAAa,CAAC,CAAC,CAAA;qCACR,8BAAa;GAHpC,gBAAgB,CAiD5B"}
|
|
@@ -1,11 +1,14 @@
|
|
|
1
1
|
import { DeleteDTO } from '@hed-hog/api';
|
|
2
2
|
import { PaginationDTO, PaginationService } from '@hed-hog/api-pagination';
|
|
3
|
-
import { PrismaService } from '@hed-hog/api-prisma';
|
|
3
|
+
import { Prisma, PrismaService } from '@hed-hog/api-prisma';
|
|
4
|
+
import { FileService, SettingService } from '@hed-hog/core';
|
|
4
5
|
import { CreateDTO } from './dto/create.dto';
|
|
5
6
|
export declare class PersonService {
|
|
6
7
|
private readonly prismaService;
|
|
7
8
|
private readonly paginationService;
|
|
8
|
-
|
|
9
|
+
private readonly fileService;
|
|
10
|
+
private readonly settingService;
|
|
11
|
+
constructor(prismaService: PrismaService, paginationService: PaginationService, fileService: FileService, settingService: SettingService);
|
|
9
12
|
getStats(): Promise<{
|
|
10
13
|
total: number;
|
|
11
14
|
individual: number;
|
|
@@ -26,24 +29,70 @@ export declare class PersonService {
|
|
|
26
29
|
data: any[];
|
|
27
30
|
}>;
|
|
28
31
|
get(locale: string, id: number): Promise<{
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
32
|
+
id: any;
|
|
33
|
+
name: any;
|
|
34
|
+
type: any;
|
|
35
|
+
status: any;
|
|
36
|
+
avatar_id: any;
|
|
37
|
+
created_at: any;
|
|
38
|
+
updated_at: any;
|
|
39
|
+
birth_date: Date;
|
|
40
|
+
gender: import("@prisma/client").$Enums.person_individual_gender_enum;
|
|
41
|
+
job_title: string;
|
|
42
|
+
trade_name: string;
|
|
43
|
+
foundation_date: Date;
|
|
44
|
+
legal_nature: string;
|
|
45
|
+
headquarter_id: number;
|
|
46
|
+
branch_ids: number[];
|
|
47
|
+
notes: string;
|
|
48
|
+
employer_company_id: number;
|
|
49
|
+
employer_company: {
|
|
50
|
+
id: any;
|
|
51
|
+
name: any;
|
|
52
|
+
type: any;
|
|
53
|
+
status: any;
|
|
54
|
+
avatar_id: any;
|
|
55
|
+
trade_name: string;
|
|
56
|
+
};
|
|
57
|
+
contact: any;
|
|
58
|
+
document: any;
|
|
59
|
+
address: any;
|
|
35
60
|
}>;
|
|
36
|
-
create(data: CreateDTO): Promise<{
|
|
61
|
+
create(data: CreateDTO, locale: string): Promise<{
|
|
37
62
|
name: string;
|
|
38
63
|
type: import("@prisma/client").$Enums.person_type_enum;
|
|
39
64
|
id: number;
|
|
40
65
|
created_at: Date;
|
|
41
66
|
updated_at: Date;
|
|
42
67
|
status: import("@prisma/client").$Enums.person_status_enum;
|
|
68
|
+
avatar_id: number | null;
|
|
43
69
|
}>;
|
|
44
70
|
update(id: number, data: any, locale: string): Promise<{
|
|
45
71
|
success: boolean;
|
|
46
72
|
}>;
|
|
47
|
-
delete({ ids }: DeleteDTO, locale: string): Promise<[
|
|
73
|
+
delete({ ids }: DeleteDTO, locale: string): Promise<[Prisma.BatchPayload, Prisma.BatchPayload, Prisma.BatchPayload, Prisma.BatchPayload, Prisma.BatchPayload, Prisma.BatchPayload, Prisma.BatchPayload, Prisma.BatchPayload, Prisma.BatchPayload]>;
|
|
74
|
+
openPublicAvatar(locale: string, fileId: number, res: any): Promise<void>;
|
|
75
|
+
private enrichPeople;
|
|
76
|
+
private metadataArrayToMap;
|
|
77
|
+
private metadataToString;
|
|
78
|
+
private syncPersonSubtypeData;
|
|
79
|
+
private syncCompanyBranches;
|
|
80
|
+
private syncPersonMetadata;
|
|
81
|
+
private upsertMetadataValue;
|
|
82
|
+
private normalizeMetadataValue;
|
|
83
|
+
private syncContacts;
|
|
84
|
+
private syncAddresses;
|
|
85
|
+
private syncDocuments;
|
|
86
|
+
private validateSinglePrimaryPerType;
|
|
87
|
+
private parseDateOrNull;
|
|
88
|
+
private normalizeTextOrNull;
|
|
89
|
+
private coerceNumber;
|
|
90
|
+
private buildSearchFilters;
|
|
91
|
+
private normalizeDigits;
|
|
92
|
+
private findPersonIdsByNormalizedDigits;
|
|
93
|
+
private ensureCompanyRegistrationAllowed;
|
|
94
|
+
private isCompanyRegistrationAllowed;
|
|
95
|
+
private cleanupReplacedAvatar;
|
|
96
|
+
private normalizeRelationPersonSummary;
|
|
48
97
|
}
|
|
49
98
|
//# sourceMappingURL=person.service.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"person.service.d.ts","sourceRoot":"","sources":["../../src/person/person.service.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAEzC,OAAO,EAAE,aAAa,EAAE,iBAAiB,EAAE,MAAM,yBAAyB,CAAC;AAC3E,OAAO,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAC;
|
|
1
|
+
{"version":3,"file":"person.service.d.ts","sourceRoot":"","sources":["../../src/person/person.service.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAA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