/**
 * SMS Job DTO
 * 
 * Data Transfer Object for queuing SMS jobs
 */

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

export class QueueSmsDto {
  @IsString()
  phoneNumber: string; // With country code

  @IsString()
  message: string;

  @IsString()
  @IsOptional()
  senderId?: string; // SMS sender ID

  @IsString()
  @IsOptional()
  dltTemplateId?: string; // DLT template ID for India

  @IsBoolean()
  @IsOptional()
  unicode?: boolean; // Whether message contains unicode characters

  @IsString()
  @IsOptional()
  correlationId?: string;

  @IsString()
  @IsOptional()
  userId?: string;

  @IsOptional()
  metadata?: Record<string, any>;
}
