Files
edr-platform/apps/edr-freight-api/src/modules/support-chat/dto/start-conversation.dto.ts
2026-07-17 10:59:25 +00:00

11 lines
437 B
TypeScript

import { StartSupportConversationDto as IStartSupportConversationDto } from "@edr/types";
import { ApiProperty } from "@nestjs/swagger";
import { IsUUID } from "class-validator";
/** Agent opens the thread with a company before sending the first message. */
export class StartConversationDto implements IStartSupportConversationDto {
@ApiProperty({ description: "Customer company to chat with." })
@IsUUID()
companyId!: string;
}