feat(api): pipeline merge preview and merge endpoints

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-10-12 20:23:56 +03:30
co-authored by Cursor
parent fd8966e13f
commit d00f362376
3 changed files with 211 additions and 0 deletions
+13
View File
@@ -351,3 +351,16 @@ export class MoveDealDto {
@Min(0)
position?: number;
}
export class MergePipelineDto {
@IsString()
@MinLength(1)
targetPipelineId!: string;
@IsObject()
stageMap!: Record<string, string>;
@IsOptional()
@IsString()
leadFormMode?: 'retarget_all';
}