@hed-hog/contact 0.0.294 → 0.0.296
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/person/dto/account.dto.d.ts +28 -0
- package/dist/person/dto/account.dto.d.ts.map +1 -0
- package/dist/person/dto/account.dto.js +123 -0
- package/dist/person/dto/account.dto.js.map +1 -0
- package/dist/person/dto/activity.dto.d.ts +15 -0
- package/dist/person/dto/activity.dto.d.ts.map +1 -0
- package/dist/person/dto/activity.dto.js +65 -0
- package/dist/person/dto/activity.dto.js.map +1 -0
- package/dist/person/dto/dashboard-query.dto.d.ts +9 -0
- package/dist/person/dto/dashboard-query.dto.d.ts.map +1 -0
- package/dist/person/dto/dashboard-query.dto.js +40 -0
- package/dist/person/dto/dashboard-query.dto.js.map +1 -0
- package/dist/person/dto/followup-query.dto.d.ts +10 -0
- package/dist/person/dto/followup-query.dto.d.ts.map +1 -0
- package/dist/person/dto/followup-query.dto.js +45 -0
- package/dist/person/dto/followup-query.dto.js.map +1 -0
- package/dist/person/dto/reports-query.dto.d.ts +8 -0
- package/dist/person/dto/reports-query.dto.d.ts.map +1 -0
- package/dist/person/dto/reports-query.dto.js +33 -0
- package/dist/person/dto/reports-query.dto.js.map +1 -0
- package/dist/person/person.controller.d.ts +266 -5
- package/dist/person/person.controller.d.ts.map +1 -1
- package/dist/person/person.controller.js +164 -6
- package/dist/person/person.controller.js.map +1 -1
- package/dist/person/person.service.d.ts +295 -5
- package/dist/person/person.service.d.ts.map +1 -1
- package/dist/person/person.service.js +1752 -27
- package/dist/person/person.service.js.map +1 -1
- package/dist/person-relation-type/person-relation-type.controller.d.ts +2 -2
- package/dist/person-relation-type/person-relation-type.service.d.ts +2 -2
- package/hedhog/data/route.yaml +68 -19
- package/hedhog/frontend/app/_lib/crm-sections.tsx.ejs +9 -9
- package/hedhog/frontend/app/accounts/_components/account-form-sheet.tsx.ejs +573 -477
- package/hedhog/frontend/app/accounts/_components/account-types.ts.ejs +9 -6
- package/hedhog/frontend/app/accounts/page.tsx.ejs +970 -892
- package/hedhog/frontend/app/activities/_components/activity-detail-sheet.tsx.ejs +240 -0
- package/hedhog/frontend/app/activities/_components/activity-types.ts.ejs +66 -0
- package/hedhog/frontend/app/activities/page.tsx.ejs +460 -812
- package/hedhog/frontend/app/dashboard/_components/dashboard-types.ts.ejs +70 -0
- package/hedhog/frontend/app/dashboard/page.tsx.ejs +639 -491
- package/hedhog/frontend/app/follow-ups/page.tsx.ejs +785 -696
- package/hedhog/frontend/app/person/_components/person-interaction-dialog.tsx.ejs +10 -12
- package/hedhog/frontend/app/reports/_components/report-types.ts.ejs +84 -0
- package/hedhog/frontend/app/reports/page.tsx.ejs +1196 -15
- package/hedhog/frontend/messages/en.json +242 -38
- package/hedhog/frontend/messages/pt.json +242 -38
- package/hedhog/table/crm_activity.yaml +68 -0
- package/hedhog/table/crm_stage_history.yaml +34 -0
- package/hedhog/table/person_company.yaml +27 -5
- package/package.json +9 -9
- package/src/person/dto/account.dto.ts +100 -0
- package/src/person/dto/activity.dto.ts +54 -0
- package/src/person/dto/dashboard-query.dto.ts +25 -0
- package/src/person/dto/followup-query.dto.ts +25 -0
- package/src/person/dto/reports-query.dto.ts +25 -0
- package/src/person/person.controller.ts +176 -43
- package/src/person/person.service.ts +4825 -2226
|
@@ -2,11 +2,16 @@ import { DeleteDTO } from '@hed-hog/api';
|
|
|
2
2
|
import { PaginationDTO, PaginationService } from '@hed-hog/api-pagination';
|
|
3
3
|
import { Prisma, PrismaService } from '@hed-hog/api-prisma';
|
|
4
4
|
import { FileService, SettingService } from '@hed-hog/core';
|
|
5
|
+
import { type AccountLifecycleStage, type CreateAccountDTO, type UpdateAccountDTO } from './dto/account.dto';
|
|
6
|
+
import { type ActivityListQueryDTO, type CrmActivityPriority, type CrmActivitySourceKind, type CrmActivityStatus, type CrmActivityType } from './dto/activity.dto';
|
|
5
7
|
import { CreateFollowupDTO } from './dto/create-followup.dto';
|
|
6
8
|
import { CreateInteractionDTO } from './dto/create-interaction.dto';
|
|
7
9
|
import { CreateDTO } from './dto/create.dto';
|
|
10
|
+
import { type DashboardQueryDTO } from './dto/dashboard-query.dto';
|
|
8
11
|
import { CheckPersonDuplicatesQueryDTO } from './dto/duplicates-query.dto';
|
|
12
|
+
import { FollowupListQueryDTO, FollowupStatsQueryDTO } from './dto/followup-query.dto';
|
|
9
13
|
import { MergePersonDTO } from './dto/merge.dto';
|
|
14
|
+
import { ReportsQueryDTO } from './dto/reports-query.dto';
|
|
10
15
|
import { UpdateLifecycleStageDTO } from './dto/update-lifecycle-stage.dto';
|
|
11
16
|
type DuplicateReason = 'email' | 'phone' | 'document';
|
|
12
17
|
type DuplicateMatch = {
|
|
@@ -22,6 +27,175 @@ type PersonInteractionRecord = {
|
|
|
22
27
|
user_id: number | null;
|
|
23
28
|
user_name: string | null;
|
|
24
29
|
};
|
|
30
|
+
type FollowupStatus = 'today' | 'upcoming' | 'overdue';
|
|
31
|
+
type FollowupListParams = PaginationDTO & FollowupListQueryDTO & {
|
|
32
|
+
page?: number;
|
|
33
|
+
pageSize?: number;
|
|
34
|
+
};
|
|
35
|
+
type FollowupListItem = {
|
|
36
|
+
person: any;
|
|
37
|
+
next_action_at: string;
|
|
38
|
+
last_interaction_at: string | null;
|
|
39
|
+
status: FollowupStatus;
|
|
40
|
+
};
|
|
41
|
+
type AccountListParams = Omit<PaginationDTO, 'sortField' | 'sortOrder'> & {
|
|
42
|
+
search?: string;
|
|
43
|
+
status?: 'all' | 'active' | 'inactive';
|
|
44
|
+
lifecycle_stage?: 'all' | AccountLifecycleStage;
|
|
45
|
+
sortField?: 'name' | 'created_at';
|
|
46
|
+
sortOrder?: 'asc' | 'desc';
|
|
47
|
+
page?: number;
|
|
48
|
+
pageSize?: number;
|
|
49
|
+
};
|
|
50
|
+
type AccountListItem = {
|
|
51
|
+
id: number;
|
|
52
|
+
name: string;
|
|
53
|
+
trade_name: string | null;
|
|
54
|
+
status: 'active' | 'inactive';
|
|
55
|
+
industry: string | null;
|
|
56
|
+
website: string | null;
|
|
57
|
+
email: string | null;
|
|
58
|
+
phone: string | null;
|
|
59
|
+
owner_user_id: number | null;
|
|
60
|
+
owner_user: {
|
|
61
|
+
id: number;
|
|
62
|
+
name: string;
|
|
63
|
+
} | null;
|
|
64
|
+
annual_revenue: number | null;
|
|
65
|
+
employee_count: number | null;
|
|
66
|
+
lifecycle_stage: AccountLifecycleStage | null;
|
|
67
|
+
city: string | null;
|
|
68
|
+
state: string | null;
|
|
69
|
+
created_at: string;
|
|
70
|
+
last_interaction_at: string | null;
|
|
71
|
+
};
|
|
72
|
+
type CrmActivityListParams = Omit<PaginationDTO, 'sortField' | 'sortOrder'> & ActivityListQueryDTO & {
|
|
73
|
+
page?: number;
|
|
74
|
+
pageSize?: number;
|
|
75
|
+
};
|
|
76
|
+
type CrmActivityUserSummary = {
|
|
77
|
+
id: number;
|
|
78
|
+
name: string;
|
|
79
|
+
};
|
|
80
|
+
type CrmActivityPersonSummary = {
|
|
81
|
+
id: number;
|
|
82
|
+
name: string;
|
|
83
|
+
type: 'individual' | 'company';
|
|
84
|
+
status: 'active' | 'inactive';
|
|
85
|
+
trade_name: string | null;
|
|
86
|
+
};
|
|
87
|
+
type CrmActivityListItem = {
|
|
88
|
+
id: number;
|
|
89
|
+
person_id: number;
|
|
90
|
+
person: CrmActivityPersonSummary;
|
|
91
|
+
owner_user_id: number | null;
|
|
92
|
+
owner_user: CrmActivityUserSummary | null;
|
|
93
|
+
type: CrmActivityType;
|
|
94
|
+
subject: string;
|
|
95
|
+
notes: string | null;
|
|
96
|
+
due_at: string;
|
|
97
|
+
completed_at: string | null;
|
|
98
|
+
created_at: string;
|
|
99
|
+
priority: CrmActivityPriority;
|
|
100
|
+
status: CrmActivityStatus;
|
|
101
|
+
};
|
|
102
|
+
type CrmActivityDetail = CrmActivityListItem & {
|
|
103
|
+
source_kind: CrmActivitySourceKind;
|
|
104
|
+
created_by_user_id: number | null;
|
|
105
|
+
created_by_user: CrmActivityUserSummary | null;
|
|
106
|
+
completed_by_user_id: number | null;
|
|
107
|
+
completed_by_user: CrmActivityUserSummary | null;
|
|
108
|
+
};
|
|
109
|
+
declare const CRM_DASHBOARD_STAGE_ORDER: readonly ["new", "contacted", "qualified", "proposal", "negotiation", "customer", "lost"];
|
|
110
|
+
declare const CRM_DASHBOARD_SOURCE_ORDER: readonly ["website", "referral", "social", "inbound", "outbound", "other"];
|
|
111
|
+
declare const CRM_REPORT_ACTIVITY_ORDER: readonly ["call", "email", "meeting", "whatsapp", "task", "note"];
|
|
112
|
+
type CrmDashboardStageKey = (typeof CRM_DASHBOARD_STAGE_ORDER)[number];
|
|
113
|
+
type CrmDashboardSourceKey = (typeof CRM_DASHBOARD_SOURCE_ORDER)[number];
|
|
114
|
+
type DashboardListPersonItem = {
|
|
115
|
+
id: number;
|
|
116
|
+
name: string;
|
|
117
|
+
trade_name: string | null;
|
|
118
|
+
owner_user: {
|
|
119
|
+
id: number;
|
|
120
|
+
name: string;
|
|
121
|
+
} | null;
|
|
122
|
+
source: CrmDashboardSourceKey;
|
|
123
|
+
lifecycle_stage: CrmDashboardStageKey;
|
|
124
|
+
next_action_at?: string;
|
|
125
|
+
created_at?: string;
|
|
126
|
+
};
|
|
127
|
+
type DashboardOwnerPerformanceItem = {
|
|
128
|
+
owner_user_id: number;
|
|
129
|
+
owner_name: string;
|
|
130
|
+
leads: number;
|
|
131
|
+
customers: number;
|
|
132
|
+
pipeline_value: number;
|
|
133
|
+
};
|
|
134
|
+
type DashboardBucket<T extends string> = {
|
|
135
|
+
key: T;
|
|
136
|
+
total: number;
|
|
137
|
+
};
|
|
138
|
+
type DashboardPayload = {
|
|
139
|
+
kpis: {
|
|
140
|
+
total_leads: number;
|
|
141
|
+
qualified: number;
|
|
142
|
+
proposal: number;
|
|
143
|
+
customers: number;
|
|
144
|
+
lost: number;
|
|
145
|
+
unassigned: number;
|
|
146
|
+
overdue: number;
|
|
147
|
+
next_actions: number;
|
|
148
|
+
};
|
|
149
|
+
charts: {
|
|
150
|
+
stage: Array<DashboardBucket<CrmDashboardStageKey>>;
|
|
151
|
+
source: Array<DashboardBucket<CrmDashboardSourceKey>>;
|
|
152
|
+
owner_performance: DashboardOwnerPerformanceItem[];
|
|
153
|
+
};
|
|
154
|
+
lists: {
|
|
155
|
+
next_actions: DashboardListPersonItem[];
|
|
156
|
+
unattended: DashboardListPersonItem[];
|
|
157
|
+
};
|
|
158
|
+
};
|
|
159
|
+
type CrmReportSummary = {
|
|
160
|
+
new_leads: number;
|
|
161
|
+
qualified_moves: number;
|
|
162
|
+
customer_moves: number;
|
|
163
|
+
lost_moves: number;
|
|
164
|
+
interactions: number;
|
|
165
|
+
followups_completed: number;
|
|
166
|
+
conversion_rate: number;
|
|
167
|
+
};
|
|
168
|
+
type CrmReportTimelineItem = {
|
|
169
|
+
period: string;
|
|
170
|
+
label: string;
|
|
171
|
+
} & CrmReportSummary;
|
|
172
|
+
type CrmReportOwnerPerformanceItem = {
|
|
173
|
+
owner_user_id: number;
|
|
174
|
+
owner_name: string;
|
|
175
|
+
interactions: number;
|
|
176
|
+
followups_completed: number;
|
|
177
|
+
customer_moves: number;
|
|
178
|
+
};
|
|
179
|
+
type CrmReportPayload = {
|
|
180
|
+
summary: CrmReportSummary;
|
|
181
|
+
timeline: CrmReportTimelineItem[];
|
|
182
|
+
breakdowns: {
|
|
183
|
+
source: Array<{
|
|
184
|
+
key: CrmDashboardSourceKey;
|
|
185
|
+
total: number;
|
|
186
|
+
}>;
|
|
187
|
+
current_stage: Array<{
|
|
188
|
+
key: CrmDashboardStageKey;
|
|
189
|
+
total: number;
|
|
190
|
+
}>;
|
|
191
|
+
activity_type: Array<{
|
|
192
|
+
key: (typeof CRM_REPORT_ACTIVITY_ORDER)[number];
|
|
193
|
+
total: number;
|
|
194
|
+
}>;
|
|
195
|
+
};
|
|
196
|
+
owners: CrmReportOwnerPerformanceItem[];
|
|
197
|
+
table: CrmReportTimelineItem[];
|
|
198
|
+
};
|
|
25
199
|
export declare class PersonService {
|
|
26
200
|
private readonly prismaService;
|
|
27
201
|
private readonly paginationService;
|
|
@@ -35,6 +209,8 @@ export declare class PersonService {
|
|
|
35
209
|
active: number;
|
|
36
210
|
inactive: number;
|
|
37
211
|
}>;
|
|
212
|
+
getDashboard(query: DashboardQueryDTO, locale: string): Promise<DashboardPayload>;
|
|
213
|
+
getReports(query: ReportsQueryDTO, locale: string): Promise<CrmReportPayload>;
|
|
38
214
|
getOwnerOptions(currentUserId?: number): Promise<{
|
|
39
215
|
id: number;
|
|
40
216
|
name: string;
|
|
@@ -66,6 +242,68 @@ export declare class PersonService {
|
|
|
66
242
|
next: number;
|
|
67
243
|
data: any[];
|
|
68
244
|
}>;
|
|
245
|
+
listAccounts(paginationParams: AccountListParams): Promise<{
|
|
246
|
+
total: number;
|
|
247
|
+
lastPage: number;
|
|
248
|
+
page: number;
|
|
249
|
+
pageSize: number;
|
|
250
|
+
prev: number;
|
|
251
|
+
next: any;
|
|
252
|
+
data: AccountListItem[];
|
|
253
|
+
}>;
|
|
254
|
+
getAccountStats(): Promise<{
|
|
255
|
+
total: number;
|
|
256
|
+
active: number;
|
|
257
|
+
customers: number;
|
|
258
|
+
prospects: number;
|
|
259
|
+
}>;
|
|
260
|
+
createAccount(data: CreateAccountDTO, locale: string): Promise<{
|
|
261
|
+
success: boolean;
|
|
262
|
+
id: number;
|
|
263
|
+
}>;
|
|
264
|
+
updateAccount(id: number, data: UpdateAccountDTO, locale: string): Promise<{
|
|
265
|
+
success: boolean;
|
|
266
|
+
id: number;
|
|
267
|
+
}>;
|
|
268
|
+
deleteAccounts({ ids }: DeleteDTO, locale: string): Promise<[Prisma.BatchPayload, Prisma.BatchPayload, Prisma.BatchPayload, Prisma.BatchPayload, Prisma.BatchPayload, Prisma.BatchPayload, Prisma.BatchPayload, Prisma.BatchPayload, Prisma.BatchPayload]>;
|
|
269
|
+
listActivities(paginationParams: CrmActivityListParams): Promise<{
|
|
270
|
+
total: number;
|
|
271
|
+
lastPage: number;
|
|
272
|
+
page: number;
|
|
273
|
+
pageSize: number;
|
|
274
|
+
prev: number;
|
|
275
|
+
next: any;
|
|
276
|
+
data: CrmActivityListItem[];
|
|
277
|
+
}>;
|
|
278
|
+
getActivityStats(): Promise<{
|
|
279
|
+
total: number;
|
|
280
|
+
pending: number;
|
|
281
|
+
overdue: number;
|
|
282
|
+
completed: number;
|
|
283
|
+
}>;
|
|
284
|
+
getActivity(id: number, locale: string): Promise<CrmActivityDetail>;
|
|
285
|
+
completeActivity(id: number, locale: string, user: {
|
|
286
|
+
id?: number;
|
|
287
|
+
name?: string | null;
|
|
288
|
+
}): Promise<{
|
|
289
|
+
success: boolean;
|
|
290
|
+
completed_at: string;
|
|
291
|
+
}>;
|
|
292
|
+
listFollowups(paginationParams: FollowupListParams, _currentUserId?: number): Promise<{
|
|
293
|
+
total: number;
|
|
294
|
+
lastPage: number;
|
|
295
|
+
page: number;
|
|
296
|
+
pageSize: number;
|
|
297
|
+
prev: number;
|
|
298
|
+
next: any;
|
|
299
|
+
data: FollowupListItem[];
|
|
300
|
+
}>;
|
|
301
|
+
getFollowupStats(query: FollowupStatsQueryDTO, _currentUserId?: number): Promise<{
|
|
302
|
+
total: number;
|
|
303
|
+
today: number;
|
|
304
|
+
overdue: number;
|
|
305
|
+
upcoming: number;
|
|
306
|
+
}>;
|
|
69
307
|
get(locale: string, id: number): Promise<{
|
|
70
308
|
id: any;
|
|
71
309
|
name: any;
|
|
@@ -75,7 +313,7 @@ export declare class PersonService {
|
|
|
75
313
|
created_at: any;
|
|
76
314
|
updated_at: any;
|
|
77
315
|
birth_date: Date;
|
|
78
|
-
gender: import(".prisma/client").$Enums.
|
|
316
|
+
gender: import(".prisma/client").$Enums.person_individual_gender_90a9e91531_enum;
|
|
79
317
|
job_title: string;
|
|
80
318
|
trade_name: string;
|
|
81
319
|
foundation_date: Date;
|
|
@@ -121,24 +359,52 @@ export declare class PersonService {
|
|
|
121
359
|
success: boolean;
|
|
122
360
|
next_action_at: string;
|
|
123
361
|
}>;
|
|
124
|
-
updateLifecycleStage(id: number, data: UpdateLifecycleStageDTO, locale: string
|
|
362
|
+
updateLifecycleStage(id: number, data: UpdateLifecycleStageDTO, locale: string, user?: {
|
|
363
|
+
id?: number;
|
|
364
|
+
name?: string | null;
|
|
365
|
+
}): Promise<{
|
|
125
366
|
success: boolean;
|
|
126
367
|
lifecycle_stage: import("./dto/update-lifecycle-stage.dto").PersonLifecycleStageDTO;
|
|
127
368
|
}>;
|
|
128
369
|
create(data: CreateDTO, locale: string): Promise<{
|
|
129
370
|
name: string;
|
|
130
|
-
type: import(".prisma/client").$Enums.
|
|
371
|
+
type: import(".prisma/client").$Enums.person_type_6dfa750c4d_enum;
|
|
131
372
|
id: number;
|
|
132
373
|
created_at: Date;
|
|
133
374
|
updated_at: Date;
|
|
134
|
-
status: import(".prisma/client").$Enums.
|
|
375
|
+
status: import(".prisma/client").$Enums.person_status_7efb97d61c_enum;
|
|
135
376
|
avatar_id: number | null;
|
|
136
377
|
}>;
|
|
137
|
-
update(id: number, data: any, locale: string
|
|
378
|
+
update(id: number, data: any, locale: string, user?: {
|
|
379
|
+
id?: number;
|
|
380
|
+
name?: string | null;
|
|
381
|
+
}): Promise<{
|
|
138
382
|
success: boolean;
|
|
139
383
|
}>;
|
|
140
384
|
delete({ ids }: DeleteDTO, locale: string): Promise<[Prisma.BatchPayload, Prisma.BatchPayload, Prisma.BatchPayload, Prisma.BatchPayload, Prisma.BatchPayload, Prisma.BatchPayload, Prisma.BatchPayload, Prisma.BatchPayload, Prisma.BatchPayload]>;
|
|
385
|
+
private findFollowupSearchPersonIds;
|
|
386
|
+
private buildFollowupSqlFilters;
|
|
387
|
+
private createEmptyFollowupPagination;
|
|
388
|
+
private getFollowupTimestampSql;
|
|
389
|
+
private getFollowupDayBoundaryDates;
|
|
390
|
+
private getFollowupDayBoundaryIsoStrings;
|
|
391
|
+
private normalizeDateOnlyBoundary;
|
|
392
|
+
private getFollowupStatus;
|
|
393
|
+
private coerceCount;
|
|
141
394
|
openPublicAvatar(locale: string, fileId: number, res: any): Promise<void>;
|
|
395
|
+
private resolveDashboardRanges;
|
|
396
|
+
private resolveReportsRange;
|
|
397
|
+
private getReportPeriodKey;
|
|
398
|
+
private getOrCreateReportTimelineBucket;
|
|
399
|
+
private startOfWeek;
|
|
400
|
+
private toDateKey;
|
|
401
|
+
private buildDashboardOwnerPerformance;
|
|
402
|
+
private mapDashboardListItem;
|
|
403
|
+
private isDateWithinRange;
|
|
404
|
+
private parseDateOrThrow;
|
|
405
|
+
private addDays;
|
|
406
|
+
private startOfDay;
|
|
407
|
+
private endOfDay;
|
|
142
408
|
private enrichPeople;
|
|
143
409
|
private metadataArrayToMap;
|
|
144
410
|
private metadataToString;
|
|
@@ -146,6 +412,8 @@ export declare class PersonService {
|
|
|
146
412
|
private metadataToIsoString;
|
|
147
413
|
private metadataToStringArray;
|
|
148
414
|
private metadataToInteractions;
|
|
415
|
+
private getPersonLifecycleStage;
|
|
416
|
+
private registerStageTransition;
|
|
149
417
|
private syncPersonSubtypeData;
|
|
150
418
|
private syncCompanyBranches;
|
|
151
419
|
private syncPersonMetadata;
|
|
@@ -166,15 +434,37 @@ export declare class PersonService {
|
|
|
166
434
|
private normalizeText;
|
|
167
435
|
private validateSinglePrimaryPerType;
|
|
168
436
|
private parseDateOrNull;
|
|
437
|
+
private normalizeDecimalOrNull;
|
|
438
|
+
private normalizeIntegerOrNull;
|
|
169
439
|
private normalizeTextOrNull;
|
|
170
440
|
private normalizeDateTimeOrNull;
|
|
171
441
|
private coerceNumber;
|
|
442
|
+
private normalizeStateOrNull;
|
|
443
|
+
private normalizeAccountLifecycleStage;
|
|
172
444
|
private resolveRequestedOwnerUserId;
|
|
173
445
|
private ensurePersonAccessible;
|
|
446
|
+
private getPersonOwnerUserId;
|
|
447
|
+
private upsertFollowupActivity;
|
|
448
|
+
private createCompletedInteractionActivity;
|
|
449
|
+
private getFollowupActivitySubject;
|
|
450
|
+
private getInteractionActivitySubject;
|
|
451
|
+
private ensureCompanyAccountAccessible;
|
|
452
|
+
private loadAccountPeopleByIds;
|
|
453
|
+
private mapAccountFromPerson;
|
|
454
|
+
private getPrimaryAccountContactValue;
|
|
455
|
+
private upsertPrimaryAccountContact;
|
|
174
456
|
private loadInteractionsFromTx;
|
|
175
457
|
private buildInteractionRecord;
|
|
176
458
|
private sortInteractions;
|
|
177
459
|
private buildSearchFilters;
|
|
460
|
+
private buildAccountSqlFilters;
|
|
461
|
+
private getAccountOrderBySql;
|
|
462
|
+
private createEmptyAccountPagination;
|
|
463
|
+
private buildCrmActivitySqlFilters;
|
|
464
|
+
private createEmptyCrmActivityPagination;
|
|
465
|
+
private mapCrmActivityListRow;
|
|
466
|
+
private mapCrmActivityDetailRow;
|
|
467
|
+
private getCrmActivityStatus;
|
|
178
468
|
private normalizeDigits;
|
|
179
469
|
private findPersonIdsByNormalizedDigits;
|
|
180
470
|
private ensureCompanyRegistrationAllowed;
|
|
@@ -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,MAAM,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAC;AAC5D,OAAO,EAAE,WAAW,EAAE,cAAc,EAAE,MAAM,eAAe,CAAC;AAQ5D,OAAO,EAAE,iBAAiB,EAAE,MAAM,2BAA2B,CAAC;AAC9D,OAAO,EACH,oBAAoB,EAEvB,MAAM,8BAA8B,CAAC;AACtC,OAAO,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAC7C,OAAO,EAAE,6BAA6B,EAAE,MAAM,4BAA4B,CAAC;AAC3E,OAAO,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AACjD,OAAO,EAAE,uBAAuB,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