u
This commit is contained in:
@@ -84,6 +84,19 @@ export const delivery = {
|
||||
},
|
||||
// #endregion
|
||||
|
||||
/**
|
||||
* DELETE /api/delivery/:id/file/:fileId
|
||||
* Deletes delivery file attachment.
|
||||
* @param {number|string} id Delivery ID
|
||||
* @param {number|string} fileId File ID
|
||||
* → 204 void
|
||||
*/
|
||||
// #region DELETE /api/delivery/:id/file/:fileId — deleteFile
|
||||
deleteFile(id, fileId) {
|
||||
return http(`/api/delivery/${id}/file/${fileId}`, { method: 'DELETE' });
|
||||
},
|
||||
// #endregion
|
||||
|
||||
/**
|
||||
* POST /api/delivery/parse — multipart/form-data, field "file"
|
||||
* Accepts PDF, TXT or CSV document (max 50 MB)
|
||||
|
||||
Reference in New Issue
Block a user