feat: Add isAvailable field to AgentProfile model and DTO for managing agent availability status.
This commit is contained in:
@@ -5,6 +5,7 @@ import {
|
||||
IsInt,
|
||||
IsUrl,
|
||||
IsUUID,
|
||||
IsBoolean,
|
||||
MinLength,
|
||||
MaxLength,
|
||||
Min,
|
||||
@@ -131,4 +132,12 @@ export class CreateAgentProfileDto {
|
||||
@IsOptional()
|
||||
@IsString()
|
||||
avatar?: string;
|
||||
|
||||
@ApiPropertyOptional({
|
||||
example: true,
|
||||
description: 'Agent availability status for connect requests',
|
||||
})
|
||||
@IsOptional()
|
||||
@IsBoolean()
|
||||
isAvailable?: boolean;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user