feat: add save to paperless and send email functionality to inbox detail page with tiptap editor integration
Build and Push Multi-Platform Images / build-and-push (push) Successful in 46s

This commit is contained in:
2026-05-06 08:48:42 +02:00
parent 771c758fc7
commit 4f1f030423
8 changed files with 985 additions and 10 deletions
+24
View File
@@ -106,6 +106,30 @@ export const inboxApi = {
region,
)
.then((r) => r.data),
saveToPaperless: (
id: string,
body: {
title: string;
date?: string;
documentTypeId?: number;
correspondentId?: number;
tagIds?: number[];
},
) =>
api.post(`/api/inbox/${encodeURIComponent(id)}/save-to-paperless`, body).then(() => {}),
sendEmail: (
id: string,
body: {
to: string;
subject: string;
body: string;
html?: string;
filename?: string;
},
) =>
api.post(`/api/inbox/${encodeURIComponent(id)}/send-email`, body).then(() => {}),
};
export interface PostprocessActionResult {