From af0fca198aed03621963a0996041ed6348f06001 Mon Sep 17 00:00:00 2001 From: TekH Date: Mon, 31 Aug 2026 00:56:27 +0200 Subject: [PATCH] Remove AddAttachmentsRequest record from PdfAttachmentRequests The `AddAttachmentsRequest` record has been removed. This record was previously used as a request DTO for adding attachments to a Base64-encoded PDF. It included a `Base64Pdf` property for the PDF document and an `Attachments` property for the list of attachments to embed. The `ExtractPdfAttachmentsRequest` and `AttachmentRequestDto` records remain unchanged. --- .../Models/Requests/PdfAttachmentRequests.cs | 17 ----------------- 1 file changed, 17 deletions(-) diff --git a/DocumentService.Client/Models/Requests/PdfAttachmentRequests.cs b/DocumentService.Client/Models/Requests/PdfAttachmentRequests.cs index 81b46ab..9cee72f 100644 --- a/DocumentService.Client/Models/Requests/PdfAttachmentRequests.cs +++ b/DocumentService.Client/Models/Requests/PdfAttachmentRequests.cs @@ -24,23 +24,6 @@ public record ExtractPdfAttachmentsRequest public required string Base64Pdf { get; init; } } -/// -/// Request DTO for Base64-encoded PDF with attachments to add -/// -public record AddAttachmentsRequest -{ - /// - /// PDF document encoded as Base64 string - /// - /// JVBERi0xLjQKJeLjz9MKMSAwIG9iago8PC9UeXBlL0NhdGFsb2c... - public required string Base64Pdf { get; init; } - - /// - /// List of attachments to embed - /// - public required List Attachments { get; init; } -} - /// /// DTO for attachment file in request ///