export interface MetadataDTO {
  uploadedBy: {
    am: string;
    en: string;
  };
  deliveredBy: {
    am: string;
    en: string;
  };
  organizationName: {
    am: string;
    en: string;
  };
}

export interface ContentDTO {
  id: string;
  subject: string;
  receiverEmployees: any[]; // replace `any` with proper type if known
  receiverPositions: any[]; // replace `any` with proper type if known
}

export interface RecordDTO {
  createdAt: string;
  updatedAt: string;
  id: string;
  referenceNumber: string;
  letterNumber: string;
  metadata: MetadataDTO;
  dispatchedDate: string;
  amharicDispatchedDate: string;
  amharicCreatedAt: string;
  statusKey: string;
  recordTypeKey: string;
  initiator: string | null;
  content: ContentDTO[];
}

export interface MainDTO {
  createdAt: string;
  updatedAt: string;
  id: string;
  amharicCreatedAt: string;
  status: string;
  record: RecordDTO;
}

export interface MainDtoResponse {
    items:MainDTO[];
    count:number;
}
