Merge branch 'hugo-auto-transfer' into dev

# Conflicts:
#	backend/app/api/shipping_notice_tools.py
This commit is contained in:
hugo committed 2026-09-30 00:34:28 +08:00
commit 6cf71679b7
143 files changed
+10145 -2132

No files matched your search

@@ -159,6 +159,9 @@ export const adminRunExcelUrl = (runId: number) => `/api/admin/schedule-runs/${r
export const adminRunInventoryRawZipUrl = (runId: number) =>
`/api/admin/schedule-runs/${runId}/inventory-raw-zip`;
export const adminRunReceiptRawZipUrl = (runId: number) =>
`/api/admin/schedule-runs/${runId}/receipt-raw-zip`;
export interface RpaWorkerHeartbeatWorker {
worker_id?: string;
hostname?: string;
@@ -178,6 +181,7 @@ export interface RpaWorkerHeartbeatWorker {
}
export interface RpaWorkerHeartbeatSummary {
scope?: 'inventory' | 'receipt' | string;
ready: boolean;
message: string;
detail_message?: string;
@@ -191,7 +195,7 @@ export interface RpaWorkerHeartbeatSummary {
workers: RpaWorkerHeartbeatWorker[];
}
export const getAdminRpaWorkersStatus = () =>
getJson<RpaWorkerHeartbeatSummary>('/api/admin/rpa-workers/status');
export const getAdminRpaWorkersStatus = (scope: 'inventory' | 'receipt' = 'inventory') =>
getJson<RpaWorkerHeartbeatSummary>(`/api/admin/rpa-workers/status?scope=${encodeURIComponent(scope)}`);
export type { DifyExecutionSnapshot, ScheduleRun, ScheduleTask, StepLog, TestScheduleRunResult, TestScheduleSqlResult };