export interface UserNameDto {
  am: string;
  en: string;
}

export interface FileInfoDto {
  fileName: string;
  contentType: string;
  size: number;
  originalname: string;
}

export interface AttachmentFileDto {
  fileInfo: FileInfoDto;
  name: UserNameDto;
}

export interface UploadPdfDto {
  fileInfo: FileInfoDto;
  subject: string;
  receiverPositions: string[];
  receiverEmployeePositions: string[];
  letterNumber: string;
  organizationName: UserNameDto;
  deliveredBy: string;
  preferredLanguage: string;
  letterName: string;
  recordPrefixId?: string;
  attachments?: AttachmentFileDto[];
}

export interface AssignPdfDto {
  recordBoxId: string | null;
  recordId: string | null;
  employeePositionIds: string[];
  positionIds?: string[];
  comment: string;
}

export interface NonSmartRecordPdfAssignPayload {
  uploadDto: UploadPdfDto;
  assignDto: AssignPdfDto;
}
