feat(customers): add optional group assignees with OR visibility for people, companies, and birthdays
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -1324,6 +1324,11 @@ export interface CustomerGroupSummaryDto {
|
||||
source?: "manual" | "tahesab";
|
||||
}
|
||||
|
||||
export interface CustomerGroupAssigneeDto {
|
||||
id: string;
|
||||
fullName: string;
|
||||
}
|
||||
|
||||
export interface CustomerGroupDto {
|
||||
id: string;
|
||||
name: string;
|
||||
@@ -1336,11 +1341,14 @@ export interface CustomerGroupDto {
|
||||
/** گروه اصلی؛ خالی یعنی خودش اصلی است */
|
||||
parentId?: string | null;
|
||||
parentName?: string | null;
|
||||
/** مسئولان گروه (اختیاری) */
|
||||
assignees: CustomerGroupAssigneeDto[];
|
||||
}
|
||||
|
||||
export interface CreateCustomerGroupRequest {
|
||||
name: string;
|
||||
color?: CustomerGroupColor;
|
||||
assigneeIds?: string[];
|
||||
}
|
||||
|
||||
export interface UpdateCustomerGroupRequest {
|
||||
@@ -1348,6 +1356,8 @@ export interface UpdateCustomerGroupRequest {
|
||||
color?: CustomerGroupColor;
|
||||
/** null = برداشتن گروه اصلی */
|
||||
parentId?: string | null;
|
||||
/** جایگزینی کامل فهرست مسئولان */
|
||||
assigneeIds?: string[];
|
||||
}
|
||||
|
||||
export interface CompanySummaryDto {
|
||||
|
||||
Reference in New Issue
Block a user