This commit is contained in:
seb
2026-10-17 19:51:27 +02:00
parent 7080382f56
commit c332be8916
3 changed files with 44 additions and 4 deletions

View File

@@ -118,4 +118,15 @@ export const delivery = {
return http(`/api/delivery/${id}/file/${fileId}`, { method: 'DELETE' });
},
// #endregion
/**
* POST /api/delivery/:id/pdf
* Generates the "Wareneingang" PDF and stores it as a manifest attachment.
* → 201 { attachment, fileUrl }
*/
// #region POST /api/delivery/:id/pdf — createPdf
createPdf(id) {
return http(`/api/delivery/${id}/pdf`, { method: 'POST' });
},
// #endregion
};