fix: accept createIfMissing when converting a lead to a customer
This commit is contained in:
@@ -104,6 +104,8 @@ export class LeadFollowUpDto {
|
|||||||
export class ConvertLeadDto {
|
export class ConvertLeadDto {
|
||||||
@IsOptional() @IsString() firstName?: string;
|
@IsOptional() @IsString() firstName?: string;
|
||||||
@IsOptional() @IsString() lastName?: string;
|
@IsOptional() @IsString() lastName?: string;
|
||||||
|
/** سرویس همیشه در نبود شخص همموبایل، شخص جدید میسازد؛ برای سازگاری با کلاینت پذیرفته میشود */
|
||||||
|
@IsOptional() @IsBoolean() createIfMissing?: boolean;
|
||||||
}
|
}
|
||||||
|
|
||||||
export class CreateLeadStageDto {
|
export class CreateLeadStageDto {
|
||||||
|
|||||||
Reference in New Issue
Block a user