Ok frontend service

This commit is contained in:
shamoon
2026-08-18 13:25:16 -07:00
parent 97a4be6df5
commit c2425a28c6
2 changed files with 20 additions and 0 deletions
@@ -374,6 +374,13 @@ export class DocumentService extends AbstractPaperlessService<Document> {
})
}
mergeDocumentsAsVersions(ids: number[], rootDocumentId: number) {
return this.http.post(this.getResourceUrl(null, 'merge_as_versions'), {
documents: ids,
root_document_id: rootDocumentId,
})
}
editPdfDocuments(ids: number[], request: EditPdfDocumentsRequest) {
return this.http.post(this.getResourceUrl(null, 'edit_pdf'), {
documents: ids,