@hed-hog/contact 0.0.292 → 0.0.293
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/contact-type/contact-type.controller.d.ts +1 -1
- package/dist/contact-type/contact-type.service.d.ts +1 -1
- package/dist/document-type/document-type.controller.d.ts +1 -1
- package/dist/document-type/document-type.service.d.ts +1 -1
- package/dist/person/person.controller.d.ts +4 -4
- package/dist/person/person.service.d.ts +3 -3
- package/hedhog/data/menu.yaml +163 -163
- package/package.json +5 -5
|
@@ -17,6 +17,6 @@ export declare class PersonContactTypeController {
|
|
|
17
17
|
get(id: number, locale: string): Promise<any>;
|
|
18
18
|
create(data: CreateDTO, locale: string): Promise<any>;
|
|
19
19
|
update(id: number, data: UpdateDTO, locale: string): Promise<any>;
|
|
20
|
-
delete(data: DeleteDTO, locale: string): Promise<import("
|
|
20
|
+
delete(data: DeleteDTO, locale: string): Promise<import(".prisma/client").Prisma.BatchPayload>;
|
|
21
21
|
}
|
|
22
22
|
//# sourceMappingURL=contact-type.controller.d.ts.map
|
|
@@ -25,6 +25,6 @@ export declare class PersonContactTypeService {
|
|
|
25
25
|
id: number;
|
|
26
26
|
data: UpdateDTO;
|
|
27
27
|
}, locale: string): Promise<any>;
|
|
28
|
-
delete({ ids }: DeleteDTO, locale: string): Promise<import("
|
|
28
|
+
delete({ ids }: DeleteDTO, locale: string): Promise<import(".prisma/client").Prisma.BatchPayload>;
|
|
29
29
|
}
|
|
30
30
|
//# sourceMappingURL=contact-type.service.d.ts.map
|
|
@@ -17,6 +17,6 @@ export declare class PersonDocumentTypeController {
|
|
|
17
17
|
get(id: number, locale: string): Promise<any>;
|
|
18
18
|
create(data: CreateDTO, locale: string): Promise<any>;
|
|
19
19
|
update(id: number, data: UpdateDTO, locale: string): Promise<any>;
|
|
20
|
-
delete(data: DeleteDTO, locale: string): Promise<import("
|
|
20
|
+
delete(data: DeleteDTO, locale: string): Promise<import(".prisma/client").Prisma.BatchPayload>;
|
|
21
21
|
}
|
|
22
22
|
//# sourceMappingURL=document-type.controller.d.ts.map
|
|
@@ -25,6 +25,6 @@ export declare class PersonDocumentTypeService {
|
|
|
25
25
|
id: number;
|
|
26
26
|
data: UpdateDTO;
|
|
27
27
|
}, locale: string): Promise<any>;
|
|
28
|
-
delete({ ids }: DeleteDTO, locale: string): Promise<import("
|
|
28
|
+
delete({ ids }: DeleteDTO, locale: string): Promise<import(".prisma/client").Prisma.BatchPayload>;
|
|
29
29
|
}
|
|
30
30
|
//# sourceMappingURL=document-type.service.d.ts.map
|
|
@@ -49,7 +49,7 @@ export declare class PersonController {
|
|
|
49
49
|
created_at: any;
|
|
50
50
|
updated_at: any;
|
|
51
51
|
birth_date: Date;
|
|
52
|
-
gender: import("
|
|
52
|
+
gender: import(".prisma/client").$Enums.person_individual_gender_enum;
|
|
53
53
|
job_title: string;
|
|
54
54
|
trade_name: string;
|
|
55
55
|
foundation_date: Date;
|
|
@@ -85,11 +85,11 @@ export declare class PersonController {
|
|
|
85
85
|
}>;
|
|
86
86
|
create(data: CreateDTO, locale: string): Promise<{
|
|
87
87
|
name: string;
|
|
88
|
-
type: import("
|
|
88
|
+
type: import(".prisma/client").$Enums.person_type_enum;
|
|
89
89
|
id: number;
|
|
90
90
|
created_at: Date;
|
|
91
91
|
updated_at: Date;
|
|
92
|
-
status: import("
|
|
92
|
+
status: import(".prisma/client").$Enums.person_status_enum;
|
|
93
93
|
avatar_id: number | null;
|
|
94
94
|
}>;
|
|
95
95
|
merge(data: MergePersonDTO, locale: string): Promise<{
|
|
@@ -125,6 +125,6 @@ export declare class PersonController {
|
|
|
125
125
|
update(id: number, data: UpdateAllPersonDTO, locale: string): Promise<{
|
|
126
126
|
success: boolean;
|
|
127
127
|
}>;
|
|
128
|
-
delete(data: DeleteDTO, locale: string): Promise<[import("
|
|
128
|
+
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]>;
|
|
129
129
|
}
|
|
130
130
|
//# sourceMappingURL=person.controller.d.ts.map
|
|
@@ -75,7 +75,7 @@ export declare class PersonService {
|
|
|
75
75
|
created_at: any;
|
|
76
76
|
updated_at: any;
|
|
77
77
|
birth_date: Date;
|
|
78
|
-
gender: import("
|
|
78
|
+
gender: import(".prisma/client").$Enums.person_individual_gender_enum;
|
|
79
79
|
job_title: string;
|
|
80
80
|
trade_name: string;
|
|
81
81
|
foundation_date: Date;
|
|
@@ -127,11 +127,11 @@ export declare class PersonService {
|
|
|
127
127
|
}>;
|
|
128
128
|
create(data: CreateDTO, locale: string): Promise<{
|
|
129
129
|
name: string;
|
|
130
|
-
type: import("
|
|
130
|
+
type: import(".prisma/client").$Enums.person_type_enum;
|
|
131
131
|
id: number;
|
|
132
132
|
created_at: Date;
|
|
133
133
|
updated_at: Date;
|
|
134
|
-
status: import("
|
|
134
|
+
status: import(".prisma/client").$Enums.person_status_enum;
|
|
135
135
|
avatar_id: number | null;
|
|
136
136
|
}>;
|
|
137
137
|
update(id: number, data: any, locale: string): Promise<{
|
package/hedhog/data/menu.yaml
CHANGED
|
@@ -1,163 +1,163 @@
|
|
|
1
|
-
- icon: users
|
|
2
|
-
name:
|
|
3
|
-
en: CRM
|
|
4
|
-
pt: CRM
|
|
5
|
-
slug: /contact
|
|
6
|
-
order: 40
|
|
7
|
-
relations:
|
|
8
|
-
role:
|
|
9
|
-
- where:
|
|
10
|
-
slug: admin
|
|
11
|
-
- where:
|
|
12
|
-
slug: admin-contact
|
|
13
|
-
|
|
14
|
-
- menu_id:
|
|
15
|
-
where:
|
|
16
|
-
slug: /contact
|
|
17
|
-
icon: layout-dashboard
|
|
18
|
-
url: /contact/dashboard
|
|
19
|
-
name:
|
|
20
|
-
en: Dashboard
|
|
21
|
-
pt: Dashboard
|
|
22
|
-
slug: /contact/dashboard
|
|
23
|
-
order: 41
|
|
24
|
-
relations:
|
|
25
|
-
role:
|
|
26
|
-
- where:
|
|
27
|
-
slug: admin
|
|
28
|
-
- where:
|
|
29
|
-
slug: admin-contact
|
|
30
|
-
|
|
31
|
-
- menu_id:
|
|
32
|
-
where:
|
|
33
|
-
slug: /contact
|
|
34
|
-
icon: rows-3
|
|
35
|
-
url: /contact/pipeline
|
|
36
|
-
name:
|
|
37
|
-
en: Pipeline
|
|
38
|
-
pt: Pipeline
|
|
39
|
-
slug: /contact/pipeline
|
|
40
|
-
order: 42
|
|
41
|
-
relations:
|
|
42
|
-
role:
|
|
43
|
-
- where:
|
|
44
|
-
slug: admin
|
|
45
|
-
- where:
|
|
46
|
-
slug: admin-contact
|
|
47
|
-
|
|
48
|
-
- menu_id:
|
|
49
|
-
where:
|
|
50
|
-
slug: /contact
|
|
51
|
-
icon: users
|
|
52
|
-
url: /contact/person
|
|
53
|
-
name:
|
|
54
|
-
en: Leads and Contacts
|
|
55
|
-
pt: Leads e Contatos
|
|
56
|
-
slug: /contact/person
|
|
57
|
-
order: 43
|
|
58
|
-
relations:
|
|
59
|
-
role:
|
|
60
|
-
- where:
|
|
61
|
-
slug: admin
|
|
62
|
-
- where:
|
|
63
|
-
slug: admin-contact
|
|
64
|
-
|
|
65
|
-
- menu_id:
|
|
66
|
-
where:
|
|
67
|
-
slug: /contact
|
|
68
|
-
icon: activity
|
|
69
|
-
url: /contact/activities
|
|
70
|
-
name:
|
|
71
|
-
en: Activities
|
|
72
|
-
pt: Atividades
|
|
73
|
-
slug: /contact/activities
|
|
74
|
-
order: 44
|
|
75
|
-
relations:
|
|
76
|
-
role:
|
|
77
|
-
- where:
|
|
78
|
-
slug: admin
|
|
79
|
-
- where:
|
|
80
|
-
slug: admin-contact
|
|
81
|
-
|
|
82
|
-
- menu_id:
|
|
83
|
-
where:
|
|
84
|
-
slug: /contact
|
|
85
|
-
icon: calendar-clock
|
|
86
|
-
url: /contact/follow-ups
|
|
87
|
-
name:
|
|
88
|
-
en: Follow-ups
|
|
89
|
-
pt: Follow-ups
|
|
90
|
-
slug: /contact/follow-ups
|
|
91
|
-
order: 45
|
|
92
|
-
relations:
|
|
93
|
-
role:
|
|
94
|
-
- where:
|
|
95
|
-
slug: admin
|
|
96
|
-
- where:
|
|
97
|
-
slug: admin-contact
|
|
98
|
-
|
|
99
|
-
- menu_id:
|
|
100
|
-
where:
|
|
101
|
-
slug: /contact
|
|
102
|
-
icon: building-2
|
|
103
|
-
url: /contact/accounts
|
|
104
|
-
name:
|
|
105
|
-
en: Accounts
|
|
106
|
-
pt: Contas
|
|
107
|
-
slug: /contact/accounts
|
|
108
|
-
order: 46
|
|
109
|
-
relations:
|
|
110
|
-
role:
|
|
111
|
-
- where:
|
|
112
|
-
slug: admin
|
|
113
|
-
- where:
|
|
114
|
-
slug: admin-contact
|
|
115
|
-
|
|
116
|
-
- menu_id:
|
|
117
|
-
where:
|
|
118
|
-
slug: /contact
|
|
119
|
-
icon: bar-chart-3
|
|
120
|
-
url: /contact/reports
|
|
121
|
-
name:
|
|
122
|
-
en: Reports
|
|
123
|
-
pt: Relatórios
|
|
124
|
-
slug: /contact/reports
|
|
125
|
-
order: 47
|
|
126
|
-
relations:
|
|
127
|
-
role:
|
|
128
|
-
- where:
|
|
129
|
-
slug: admin
|
|
130
|
-
- where:
|
|
131
|
-
slug: admin-contact
|
|
132
|
-
|
|
133
|
-
- menu_id:
|
|
134
|
-
where:
|
|
135
|
-
slug: /core/management
|
|
136
|
-
url: /contact/contact-type
|
|
137
|
-
icon: phone
|
|
138
|
-
name:
|
|
139
|
-
en: Contact Type
|
|
140
|
-
pt: Tipos de Contato
|
|
141
|
-
slug: /contact/contact-type
|
|
142
|
-
relations:
|
|
143
|
-
role:
|
|
144
|
-
- where:
|
|
145
|
-
slug: admin
|
|
146
|
-
- where:
|
|
147
|
-
slug: admin-contact
|
|
148
|
-
|
|
149
|
-
- menu_id:
|
|
150
|
-
where:
|
|
151
|
-
slug: /core/management
|
|
152
|
-
url: /contact/document-type
|
|
153
|
-
icon: file-text
|
|
154
|
-
name:
|
|
155
|
-
en: Document Type
|
|
156
|
-
pt: Tipos de Documento
|
|
157
|
-
slug: /contact/document-type
|
|
158
|
-
relations:
|
|
159
|
-
role:
|
|
160
|
-
- where:
|
|
161
|
-
slug: admin
|
|
162
|
-
- where:
|
|
163
|
-
slug: admin-contact
|
|
1
|
+
- icon: users
|
|
2
|
+
name:
|
|
3
|
+
en: CRM
|
|
4
|
+
pt: CRM
|
|
5
|
+
slug: /contact
|
|
6
|
+
order: 40
|
|
7
|
+
relations:
|
|
8
|
+
role:
|
|
9
|
+
- where:
|
|
10
|
+
slug: admin
|
|
11
|
+
- where:
|
|
12
|
+
slug: admin-contact
|
|
13
|
+
|
|
14
|
+
- menu_id:
|
|
15
|
+
where:
|
|
16
|
+
slug: /contact
|
|
17
|
+
icon: layout-dashboard
|
|
18
|
+
url: /contact/dashboard
|
|
19
|
+
name:
|
|
20
|
+
en: Dashboard
|
|
21
|
+
pt: Dashboard
|
|
22
|
+
slug: /contact/dashboard
|
|
23
|
+
order: 41
|
|
24
|
+
relations:
|
|
25
|
+
role:
|
|
26
|
+
- where:
|
|
27
|
+
slug: admin
|
|
28
|
+
- where:
|
|
29
|
+
slug: admin-contact
|
|
30
|
+
|
|
31
|
+
- menu_id:
|
|
32
|
+
where:
|
|
33
|
+
slug: /contact
|
|
34
|
+
icon: rows-3
|
|
35
|
+
url: /contact/pipeline
|
|
36
|
+
name:
|
|
37
|
+
en: Pipeline
|
|
38
|
+
pt: Pipeline
|
|
39
|
+
slug: /contact/pipeline
|
|
40
|
+
order: 42
|
|
41
|
+
relations:
|
|
42
|
+
role:
|
|
43
|
+
- where:
|
|
44
|
+
slug: admin
|
|
45
|
+
- where:
|
|
46
|
+
slug: admin-contact
|
|
47
|
+
|
|
48
|
+
- menu_id:
|
|
49
|
+
where:
|
|
50
|
+
slug: /contact
|
|
51
|
+
icon: users
|
|
52
|
+
url: /contact/person
|
|
53
|
+
name:
|
|
54
|
+
en: Leads and Contacts
|
|
55
|
+
pt: Leads e Contatos
|
|
56
|
+
slug: /contact/person
|
|
57
|
+
order: 43
|
|
58
|
+
relations:
|
|
59
|
+
role:
|
|
60
|
+
- where:
|
|
61
|
+
slug: admin
|
|
62
|
+
- where:
|
|
63
|
+
slug: admin-contact
|
|
64
|
+
|
|
65
|
+
- menu_id:
|
|
66
|
+
where:
|
|
67
|
+
slug: /contact
|
|
68
|
+
icon: activity
|
|
69
|
+
url: /contact/activities
|
|
70
|
+
name:
|
|
71
|
+
en: Activities
|
|
72
|
+
pt: Atividades
|
|
73
|
+
slug: /contact/activities
|
|
74
|
+
order: 44
|
|
75
|
+
relations:
|
|
76
|
+
role:
|
|
77
|
+
- where:
|
|
78
|
+
slug: admin
|
|
79
|
+
- where:
|
|
80
|
+
slug: admin-contact
|
|
81
|
+
|
|
82
|
+
- menu_id:
|
|
83
|
+
where:
|
|
84
|
+
slug: /contact
|
|
85
|
+
icon: calendar-clock
|
|
86
|
+
url: /contact/follow-ups
|
|
87
|
+
name:
|
|
88
|
+
en: Follow-ups
|
|
89
|
+
pt: Follow-ups
|
|
90
|
+
slug: /contact/follow-ups
|
|
91
|
+
order: 45
|
|
92
|
+
relations:
|
|
93
|
+
role:
|
|
94
|
+
- where:
|
|
95
|
+
slug: admin
|
|
96
|
+
- where:
|
|
97
|
+
slug: admin-contact
|
|
98
|
+
|
|
99
|
+
- menu_id:
|
|
100
|
+
where:
|
|
101
|
+
slug: /contact
|
|
102
|
+
icon: building-2
|
|
103
|
+
url: /contact/accounts
|
|
104
|
+
name:
|
|
105
|
+
en: Accounts
|
|
106
|
+
pt: Contas
|
|
107
|
+
slug: /contact/accounts
|
|
108
|
+
order: 46
|
|
109
|
+
relations:
|
|
110
|
+
role:
|
|
111
|
+
- where:
|
|
112
|
+
slug: admin
|
|
113
|
+
- where:
|
|
114
|
+
slug: admin-contact
|
|
115
|
+
|
|
116
|
+
- menu_id:
|
|
117
|
+
where:
|
|
118
|
+
slug: /contact
|
|
119
|
+
icon: bar-chart-3
|
|
120
|
+
url: /contact/reports
|
|
121
|
+
name:
|
|
122
|
+
en: Reports
|
|
123
|
+
pt: Relatórios
|
|
124
|
+
slug: /contact/reports
|
|
125
|
+
order: 47
|
|
126
|
+
relations:
|
|
127
|
+
role:
|
|
128
|
+
- where:
|
|
129
|
+
slug: admin
|
|
130
|
+
- where:
|
|
131
|
+
slug: admin-contact
|
|
132
|
+
|
|
133
|
+
- menu_id:
|
|
134
|
+
where:
|
|
135
|
+
slug: /core/management
|
|
136
|
+
url: /contact/contact-type
|
|
137
|
+
icon: phone
|
|
138
|
+
name:
|
|
139
|
+
en: Contact Type
|
|
140
|
+
pt: Tipos de Contato
|
|
141
|
+
slug: /contact/contact-type
|
|
142
|
+
relations:
|
|
143
|
+
role:
|
|
144
|
+
- where:
|
|
145
|
+
slug: admin
|
|
146
|
+
- where:
|
|
147
|
+
slug: admin-contact
|
|
148
|
+
|
|
149
|
+
- menu_id:
|
|
150
|
+
where:
|
|
151
|
+
slug: /core/management
|
|
152
|
+
url: /contact/document-type
|
|
153
|
+
icon: file-text
|
|
154
|
+
name:
|
|
155
|
+
en: Document Type
|
|
156
|
+
pt: Tipos de Documento
|
|
157
|
+
slug: /contact/document-type
|
|
158
|
+
relations:
|
|
159
|
+
role:
|
|
160
|
+
- where:
|
|
161
|
+
slug: admin
|
|
162
|
+
- where:
|
|
163
|
+
slug: admin-contact
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hed-hog/contact",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.293",
|
|
4
4
|
"main": "dist/index.js",
|
|
5
5
|
"types": "dist/index.d.ts",
|
|
6
6
|
"dependencies": {
|
|
@@ -9,12 +9,12 @@
|
|
|
9
9
|
"@nestjs/core": "^11",
|
|
10
10
|
"@nestjs/jwt": "^11",
|
|
11
11
|
"@nestjs/mapped-types": "*",
|
|
12
|
-
"@hed-hog/core": "0.0.
|
|
13
|
-
"@hed-hog/api-mail": "0.0.8",
|
|
14
|
-
"@hed-hog/api-prisma": "0.0.5",
|
|
12
|
+
"@hed-hog/core": "0.0.293",
|
|
15
13
|
"@hed-hog/api-locale": "0.0.13",
|
|
14
|
+
"@hed-hog/api-prisma": "0.0.5",
|
|
15
|
+
"@hed-hog/address": "0.0.293",
|
|
16
|
+
"@hed-hog/api-mail": "0.0.8",
|
|
16
17
|
"@hed-hog/api": "0.0.4",
|
|
17
|
-
"@hed-hog/address": "0.0.292",
|
|
18
18
|
"@hed-hog/api-pagination": "0.0.6"
|
|
19
19
|
},
|
|
20
20
|
"exports": {
|