@hed-hog/contact 0.0.296 → 0.0.298
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 +5 -5
- package/dist/person/person.service.d.ts +3 -3
- package/hedhog/frontend/app/_lib/crm-sections.tsx.ejs +9 -9
- package/hedhog/frontend/app/accounts/_components/account-form-sheet.tsx.ejs +573 -573
- package/hedhog/frontend/app/accounts/_components/account-types.ts.ejs +9 -9
- package/hedhog/frontend/app/accounts/page.tsx.ejs +970 -970
- package/hedhog/frontend/app/activities/_components/activity-detail-sheet.tsx.ejs +240 -240
- package/hedhog/frontend/app/activities/_components/activity-types.ts.ejs +66 -66
- package/hedhog/frontend/app/activities/page.tsx.ejs +460 -460
- package/hedhog/frontend/app/dashboard/_components/dashboard-types.ts.ejs +70 -70
- package/hedhog/frontend/app/dashboard/page.tsx.ejs +639 -639
- package/hedhog/frontend/app/follow-ups/page.tsx.ejs +785 -785
- package/hedhog/frontend/app/person/_components/person-interaction-dialog.tsx.ejs +10 -10
- package/hedhog/frontend/app/reports/_components/report-types.ts.ejs +84 -84
- package/hedhog/frontend/app/reports/page.tsx.ejs +1196 -1196
- package/hedhog/frontend/messages/en.json +242 -242
- package/hedhog/frontend/messages/pt.json +242 -242
- package/package.json +6 -6
|
@@ -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
|
|
@@ -201,7 +201,7 @@ export declare class PersonController {
|
|
|
201
201
|
success: boolean;
|
|
202
202
|
id: number;
|
|
203
203
|
}>;
|
|
204
|
-
deleteAccounts(data: DeleteDTO, locale: string): Promise<[import("
|
|
204
|
+
deleteAccounts(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]>;
|
|
205
205
|
listFollowups(paginationParams: any, query: FollowupListQueryDTO, user: any): Promise<{
|
|
206
206
|
total: number;
|
|
207
207
|
lastPage: number;
|
|
@@ -310,7 +310,7 @@ export declare class PersonController {
|
|
|
310
310
|
created_at: any;
|
|
311
311
|
updated_at: any;
|
|
312
312
|
birth_date: Date;
|
|
313
|
-
gender: import("
|
|
313
|
+
gender: import("@prisma/client").$Enums.person_individual_gender_90a9e91531_enum;
|
|
314
314
|
job_title: string;
|
|
315
315
|
trade_name: string;
|
|
316
316
|
foundation_date: Date;
|
|
@@ -346,11 +346,11 @@ export declare class PersonController {
|
|
|
346
346
|
}>;
|
|
347
347
|
create(data: CreateDTO, locale: string): Promise<{
|
|
348
348
|
name: string;
|
|
349
|
-
type: import("
|
|
349
|
+
type: import("@prisma/client").$Enums.person_type_6dfa750c4d_enum;
|
|
350
350
|
id: number;
|
|
351
351
|
created_at: Date;
|
|
352
352
|
updated_at: Date;
|
|
353
|
-
status: import("
|
|
353
|
+
status: import("@prisma/client").$Enums.person_status_7efb97d61c_enum;
|
|
354
354
|
avatar_id: number | null;
|
|
355
355
|
}>;
|
|
356
356
|
merge(data: MergePersonDTO, locale: string): Promise<{
|
|
@@ -386,6 +386,6 @@ export declare class PersonController {
|
|
|
386
386
|
update(id: number, data: UpdateAllPersonDTO, locale: string, user: any): Promise<{
|
|
387
387
|
success: boolean;
|
|
388
388
|
}>;
|
|
389
|
-
delete(data: DeleteDTO, locale: string): Promise<[import("
|
|
389
|
+
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]>;
|
|
390
390
|
}
|
|
391
391
|
//# sourceMappingURL=person.controller.d.ts.map
|
|
@@ -313,7 +313,7 @@ export declare class PersonService {
|
|
|
313
313
|
created_at: any;
|
|
314
314
|
updated_at: any;
|
|
315
315
|
birth_date: Date;
|
|
316
|
-
gender: import("
|
|
316
|
+
gender: import("@prisma/client").$Enums.person_individual_gender_90a9e91531_enum;
|
|
317
317
|
job_title: string;
|
|
318
318
|
trade_name: string;
|
|
319
319
|
foundation_date: Date;
|
|
@@ -368,11 +368,11 @@ export declare class PersonService {
|
|
|
368
368
|
}>;
|
|
369
369
|
create(data: CreateDTO, locale: string): Promise<{
|
|
370
370
|
name: string;
|
|
371
|
-
type: import("
|
|
371
|
+
type: import("@prisma/client").$Enums.person_type_6dfa750c4d_enum;
|
|
372
372
|
id: number;
|
|
373
373
|
created_at: Date;
|
|
374
374
|
updated_at: Date;
|
|
375
|
-
status: import("
|
|
375
|
+
status: import("@prisma/client").$Enums.person_status_7efb97d61c_enum;
|
|
376
376
|
avatar_id: number | null;
|
|
377
377
|
}>;
|
|
378
378
|
update(id: number, data: any, locale: string, user?: {
|
|
@@ -66,15 +66,15 @@ export const crmSections: CrmSection[] = [
|
|
|
66
66
|
colorClass: 'from-lime-500/20 via-green-500/10 to-transparent',
|
|
67
67
|
glowClass: 'bg-lime-500/10 text-lime-700',
|
|
68
68
|
},
|
|
69
|
-
{
|
|
70
|
-
href: '/contact/reports',
|
|
71
|
-
translationKey: 'reports',
|
|
72
|
-
icon: BarChart3,
|
|
73
|
-
implemented: true,
|
|
74
|
-
colorClass: 'from-slate-500/20 via-zinc-500/10 to-transparent',
|
|
75
|
-
glowClass: 'bg-slate-500/10 text-slate-700',
|
|
76
|
-
},
|
|
77
|
-
];
|
|
69
|
+
{
|
|
70
|
+
href: '/contact/reports',
|
|
71
|
+
translationKey: 'reports',
|
|
72
|
+
icon: BarChart3,
|
|
73
|
+
implemented: true,
|
|
74
|
+
colorClass: 'from-slate-500/20 via-zinc-500/10 to-transparent',
|
|
75
|
+
glowClass: 'bg-slate-500/10 text-slate-700',
|
|
76
|
+
},
|
|
77
|
+
];
|
|
78
78
|
|
|
79
79
|
export const crmImplementedSections = crmSections.filter(
|
|
80
80
|
(section) => section.implemented
|