Add deal co-assignees and saved filters on people/pipeline lists.
Deals keep a primary owner plus shared assignees with matching visibility; Contacts and Pipeline can save and reuse filter presets.
This commit is contained in:
@@ -774,6 +774,8 @@ export interface DealDto {
|
||||
person: PersonSummaryDto | null;
|
||||
company: CompanySummaryDto | null;
|
||||
owner: UserSummaryDto | null;
|
||||
/** مسئولان مشترک معامله (علاوه بر مالک اصلی) */
|
||||
assignees: UserSummaryDto[];
|
||||
lineItems: DealLineItemDto[];
|
||||
createdAt: string;
|
||||
updatedAt: string;
|
||||
@@ -820,6 +822,7 @@ export interface CreateDealRequest {
|
||||
personId?: string | null;
|
||||
companyId?: string | null;
|
||||
ownerId?: string | null;
|
||||
assigneeIds?: string[];
|
||||
customFields?: Record<string, unknown>;
|
||||
lineItems?: DealLineItemInput[];
|
||||
}
|
||||
@@ -838,10 +841,27 @@ export interface UpdateDealRequest {
|
||||
personId?: string | null;
|
||||
companyId?: string | null;
|
||||
ownerId?: string | null;
|
||||
assigneeIds?: string[];
|
||||
customFields?: Record<string, unknown>;
|
||||
lineItems?: DealLineItemInput[];
|
||||
}
|
||||
|
||||
/** فیلتر ذخیرهشدهٔ لیست اشخاص */
|
||||
export interface PeopleViewFilters {
|
||||
q?: string;
|
||||
sort?: string;
|
||||
mood?: string;
|
||||
page?: number;
|
||||
}
|
||||
|
||||
/** فیلتر ذخیرهشدهٔ کاریز / معاملات */
|
||||
export interface DealsViewFilters {
|
||||
q?: string;
|
||||
amountMin?: string;
|
||||
amountMax?: string;
|
||||
pipelineId?: string;
|
||||
viewMode?: string;
|
||||
}
|
||||
export interface MoveDealRequest {
|
||||
stageId: string;
|
||||
position?: number;
|
||||
|
||||
Reference in New Issue
Block a user