feat: make the support require nothing

This commit is contained in:
Nathnael
2026-07-08 05:33:02 +00:00
parent 9cd3ac42b4
commit a817976db8
11 changed files with 237 additions and 508 deletions

View File

@@ -93,6 +93,26 @@ export class GuestIdBodyDto {
guestId!: string;
}
export class DeviceSendMessageDto {
@ApiProperty({ description: 'Client device id (localStorage).' })
@IsString()
@Length(8, 120)
deviceId!: string;
@ApiProperty({ description: 'Message text.' })
@IsString()
@MinLength(1)
@MaxLength(4000)
text!: string;
}
export class DeviceIdBodyDto {
@ApiProperty()
@IsString()
@Length(8, 120)
deviceId!: string;
}
export class UpdateStatusDto {
@ApiProperty({ enum: SupportStatusDto })
@IsEnum(SupportStatusDto)