feat: add parameter preprocessing audit trail

This commit is contained in:
2026-05-12 13:54:51 +08:00
parent 9ea83be718
commit b9c9f457e9
17 changed files with 2323 additions and 28 deletions
+8
View File
@@ -16,6 +16,7 @@ import type {
GatewayTenantUpsertRequest,
GatewayNetworkProxyConfig,
GatewayTask,
GatewayTaskParamPreprocessingLog,
GatewayUser,
GatewayUserUpsertRequest,
GatewayWalletTransaction,
@@ -660,6 +661,13 @@ export async function getTask(token: string, taskId: string): Promise<GatewayTas
return request<GatewayTask>(`/api/workspace/tasks/${taskId}`, { token });
}
export async function listTaskParamPreprocessing(
token: string,
taskId: string,
): Promise<ListResponse<GatewayTaskParamPreprocessingLog>> {
return request<ListResponse<GatewayTaskParamPreprocessingLog>>(`/api/workspace/tasks/${taskId}/param-preprocessing`, { token });
}
export async function pollTaskUntilSettled(
token: string,
task: GatewayTask,