chore(api): regenerate server contract

This commit is contained in:
2026-09-24 12:01:11 +08:00
parent b31033e9ce
commit ac31875019
2 changed files with 143 additions and 422 deletions
+36 -108
View File
@@ -6066,7 +6066,7 @@ export interface components {
* @enum {string}
*/
status: "scheduled" | "assigned" | "in_progress" | "awaiting_feedback" | "completed" | "cancelled" | "failed";
work_order_snapshot?: components["schemas"]["ExternalWorkOrderSnapshot-Input"] | null;
work_order_snapshot?: components["schemas"]["ExternalWorkOrderSnapshot"] | null;
};
/** ExternalFeedbackEvidence */
ExternalFeedbackEvidence: {
@@ -6104,9 +6104,13 @@ export interface components {
task: components["schemas"]["OperationalTaskDetail"];
};
/** ExternalWorkOrderSnapshot */
"ExternalWorkOrderSnapshot-Input": {
ExternalWorkOrderSnapshot: {
/** Activity */
activity?: components["schemas"]["WorkOrderActivity"][];
/** Assignee */
assignee?: string | null;
/** Feedback Requirements */
feedback_requirements?: string[];
/** Location */
location?: string | null;
/**
@@ -6130,58 +6134,6 @@ export interface components {
* @enum {string}
*/
status: "draft" | "open" | "in_progress" | "awaiting_reply" | "completed" | "cancelled";
/** Subtasks */
subtasks?: components["schemas"]["WorkbenchRuntimeWorkOrderSubtask"][] | null;
/** Summary */
summary: string;
/** Title */
title: string;
/**
* Updated At
* Format: date-time
*/
updated_at: string;
/**
* Work Order Id
* Format: uuid
*/
work_order_id: string;
/**
* Work Order Type
* @default general
* @enum {string}
*/
work_order_type: "general" | "water_quality_complaint" | "burst_report";
};
/** ExternalWorkOrderSnapshot */
"ExternalWorkOrderSnapshot-Output": {
/** Assignee */
assignee?: string | null;
/** Location */
location?: string | null;
/**
* Origin
* @constant
*/
origin: "synthetic";
/**
* Priority
* @enum {string}
*/
priority: "low" | "normal" | "high" | "urgent";
/** Revision */
revision: number;
/** Scenario Code */
scenario_code?: string | null;
/** Scheduled At */
scheduled_at?: string | null;
/**
* Status
* @enum {string}
*/
status: "draft" | "open" | "in_progress" | "awaiting_reply" | "completed" | "cancelled";
/** Subtasks */
subtasks?: components["schemas"]["WorkbenchRuntimeWorkOrderSubtask"][] | null;
/** Summary */
summary: string;
/** Title */
@@ -6674,7 +6626,7 @@ export interface components {
* Format: date-time
*/
updated_at: string;
work_order_snapshot?: components["schemas"]["ExternalWorkOrderSnapshot-Output"] | null;
work_order_snapshot?: components["schemas"]["ExternalWorkOrderSnapshot"] | null;
/** Workflow */
workflow: string;
};
@@ -7769,6 +7721,27 @@ export interface components {
*/
summary: boolean;
};
/** WorkOrderActivity */
WorkOrderActivity: {
/** Actor */
actor: string;
/** Detail */
detail: string;
/**
* Kind
* @enum {string}
*/
kind: "created" | "updated" | "feedback";
/**
* Occurred At
* Format: date-time
*/
occurred_at: string;
/** Sequence */
sequence: number;
/** Title */
title: string;
};
/** WorkbenchAlertSource */
WorkbenchAlertSource: {
/** Run Id */
@@ -8023,6 +7996,10 @@ export interface components {
};
/** WorkbenchRuntimeWorkOrder */
WorkbenchRuntimeWorkOrder: {
/** Activity */
activity?: components["schemas"]["WorkOrderActivity"][];
/** Assignee */
assignee?: string | null;
/** Code */
code: string;
/** Detail */
@@ -8031,8 +8008,12 @@ export interface components {
dispatcher: string;
/** Duration Minutes */
duration_minutes: number;
/** Feedback Requirements */
feedback_requirements?: string[];
/** Id */
id: string;
/** Location */
location?: string | null;
/**
* Priority
* @enum {string}
@@ -8057,8 +8038,6 @@ export interface components {
* @enum {string}
*/
status: "pending" | "running" | "awaiting_reply" | "completed";
/** Subtasks */
subtasks: components["schemas"]["WorkbenchRuntimeWorkOrderSubtask"][];
/** Summary */
summary: string;
/** Title */
@@ -8069,57 +8048,6 @@ export interface components {
*/
updated_at: string;
};
/** WorkbenchRuntimeWorkOrderStage */
WorkbenchRuntimeWorkOrderStage: {
/** Description */
description: string;
/** Id */
id: string;
/** Owner */
owner: string;
/** Sequence */
sequence: number;
/**
* Status
* @enum {string}
*/
status: "done" | "current" | "pending" | "blocked" | "skipped";
/** Time Label */
time_label: string;
/** Title */
title: string;
};
/** WorkbenchRuntimeWorkOrderSubtask */
WorkbenchRuntimeWorkOrderSubtask: {
/** Assignee */
assignee: string;
/** Duration Minutes */
duration_minutes: number;
/** Id */
id: string;
/** Location */
location: string;
/** Reply Requirements */
reply_requirements: string[];
/** Reply Window Minutes */
reply_window_minutes: number;
/**
* Scheduled At
* Format: date-time
*/
scheduled_at: string;
/** Stages */
stages: components["schemas"]["WorkbenchRuntimeWorkOrderStage"][];
/**
* Status
* @enum {string}
*/
status: "pending" | "running" | "blocked" | "completed" | "cancelled";
/** Summary */
summary: string;
/** Title */
title: string;
};
/** WorkbenchSyncSnapshot */
WorkbenchSyncSnapshot: {
/** Event Cursor */