namespace DocumentService.Application.Common.DTOs.Requests; /// /// Request DTO for Base64-encoded PDF attachment check /// public record CheckPdfAttachmentsRequest : PdfBase64RequestBase; /// /// Request DTO for Base64-encoded PDF attachment extraction /// public record ExtractPdfAttachmentsRequest : PdfBase64RequestBase; /// /// Request DTO for Base64-encoded PDF with attachments to add /// public record AddAttachmentsRequest : PdfBase64RequestBase { /// /// List of attachments to embed /// public required List Attachments { get; init; } } /// /// DTO for a single attachment file in a request /// public record AttachmentRequestDto { /// /// File name (e.g., "invoice.xml", "document.pdf") /// /// factur-x.xml public required string FileName { get; init; } /// /// File content encoded as Base64 string /// /// PD94bWwgdmVyc2lvbj0iMS4wIj8+... public required string Base64Content { get; init; } /// /// MIME type (optional, e.g., "application/xml") /// /// application/xml public string? MimeType { get; init; } }