import { IsObject, IsOptional, IsString } from 'class-validator';

export class SendDto {
  @IsString() target!: string;
  @IsOptional() @IsObject() payload?: Record<string, unknown>;
  @IsOptional() @IsString() idempotencyKey?: string;
}
