fix(admin): complete container loading workflows
This commit is contained in:
@@ -538,6 +538,17 @@ export async function uploadEvidenceFile(
|
||||
return unwrapApiResponse(response)
|
||||
}
|
||||
|
||||
export function downloadEvidenceFile(
|
||||
tenantId: string | number,
|
||||
inboundId: string | number,
|
||||
fileId: string | number,
|
||||
) {
|
||||
return http.get<Blob, Blob>(
|
||||
`/platform/v1/files/loading-evidence/${encodeURIComponent(String(tenantId))}/${encodeURIComponent(String(inboundId))}/${encodeURIComponent(String(fileId))}`,
|
||||
{ responseType: 'blob' },
|
||||
)
|
||||
}
|
||||
|
||||
export async function voidEvidence(
|
||||
tenantId: string | number,
|
||||
inboundId: string | number,
|
||||
|
||||
Reference in New Issue
Block a user