Require a stage-move reason and record it on the lead timeline.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-11-18 18:18:52 +03:30
co-authored by Cursor
parent cd51439353
commit c185348c2d
7 changed files with 278 additions and 23 deletions
+6
View File
@@ -6356,6 +6356,8 @@ export interface UpdateLeadRequest {
notes?: string | null;
estimatedValue?: number | null;
stageId?: string;
/** الزامی هنگام تغییر ستون؛ در جدول زمانی لید ثبت می‌شود */
reason?: string | null;
assigneeId?: string | null;
nextFollowUpAt?: string | null;
lastContactAt?: string | null;
@@ -6364,6 +6366,8 @@ export interface UpdateLeadRequest {
export interface MoveLeadRequest {
stageId: string;
position?: number;
/** الزامی هنگام تغییر ستون؛ در جدول زمانی لید ثبت می‌شود */
reason?: string | null;
}
export interface AssignLeadsRequest {
@@ -6374,6 +6378,8 @@ export interface AssignLeadsRequest {
export interface BulkLeadStageRequest {
leadIds: string[];
stageId: string;
/** الزامی؛ در جدول زمانی هر لید ثبت می‌شود */
reason?: string | null;
}
export interface AutoAssignLeadsRequest {