fix(workbench): remove synthetic check projections
This commit is contained in:
+107
-314
@@ -2131,7 +2131,7 @@
|
||||
"work_order_snapshot": {
|
||||
"anyOf": [
|
||||
{
|
||||
"$ref": "#/components/schemas/ExternalWorkOrderSnapshot-Input"
|
||||
"$ref": "#/components/schemas/ExternalWorkOrderSnapshot"
|
||||
},
|
||||
{
|
||||
"type": "null"
|
||||
@@ -2235,9 +2235,16 @@
|
||||
"title": "ExternalFeedbackResult",
|
||||
"type": "object"
|
||||
},
|
||||
"ExternalWorkOrderSnapshot-Input": {
|
||||
"ExternalWorkOrderSnapshot": {
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"activity": {
|
||||
"items": {
|
||||
"$ref": "#/components/schemas/WorkOrderActivity"
|
||||
},
|
||||
"title": "Activity",
|
||||
"type": "array"
|
||||
},
|
||||
"assignee": {
|
||||
"anyOf": [
|
||||
{
|
||||
@@ -2250,6 +2257,14 @@
|
||||
],
|
||||
"title": "Assignee"
|
||||
},
|
||||
"feedback_requirements": {
|
||||
"items": {
|
||||
"minLength": 1,
|
||||
"type": "string"
|
||||
},
|
||||
"title": "Feedback Requirements",
|
||||
"type": "array"
|
||||
},
|
||||
"location": {
|
||||
"anyOf": [
|
||||
{
|
||||
@@ -2318,165 +2333,6 @@
|
||||
"title": "Status",
|
||||
"type": "string"
|
||||
},
|
||||
"subtasks": {
|
||||
"anyOf": [
|
||||
{
|
||||
"items": {
|
||||
"$ref": "#/components/schemas/WorkbenchRuntimeWorkOrderSubtask"
|
||||
},
|
||||
"maxItems": 50,
|
||||
"minItems": 1,
|
||||
"type": "array"
|
||||
},
|
||||
{
|
||||
"type": "null"
|
||||
}
|
||||
],
|
||||
"title": "Subtasks"
|
||||
},
|
||||
"summary": {
|
||||
"minLength": 1,
|
||||
"title": "Summary",
|
||||
"type": "string"
|
||||
},
|
||||
"title": {
|
||||
"minLength": 1,
|
||||
"title": "Title",
|
||||
"type": "string"
|
||||
},
|
||||
"updated_at": {
|
||||
"format": "date-time",
|
||||
"title": "Updated At",
|
||||
"type": "string"
|
||||
},
|
||||
"work_order_id": {
|
||||
"format": "uuid",
|
||||
"title": "Work Order Id",
|
||||
"type": "string"
|
||||
},
|
||||
"work_order_type": {
|
||||
"default": "general",
|
||||
"enum": [
|
||||
"general",
|
||||
"water_quality_complaint",
|
||||
"burst_report"
|
||||
],
|
||||
"title": "Work Order Type",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"work_order_id",
|
||||
"revision",
|
||||
"title",
|
||||
"summary",
|
||||
"status",
|
||||
"priority",
|
||||
"origin",
|
||||
"updated_at"
|
||||
],
|
||||
"title": "ExternalWorkOrderSnapshot",
|
||||
"type": "object"
|
||||
},
|
||||
"ExternalWorkOrderSnapshot-Output": {
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"assignee": {
|
||||
"anyOf": [
|
||||
{
|
||||
"minLength": 1,
|
||||
"type": "string"
|
||||
},
|
||||
{
|
||||
"type": "null"
|
||||
}
|
||||
],
|
||||
"title": "Assignee"
|
||||
},
|
||||
"location": {
|
||||
"anyOf": [
|
||||
{
|
||||
"minLength": 1,
|
||||
"type": "string"
|
||||
},
|
||||
{
|
||||
"type": "null"
|
||||
}
|
||||
],
|
||||
"title": "Location"
|
||||
},
|
||||
"origin": {
|
||||
"const": "synthetic",
|
||||
"title": "Origin",
|
||||
"type": "string"
|
||||
},
|
||||
"priority": {
|
||||
"enum": [
|
||||
"low",
|
||||
"normal",
|
||||
"high",
|
||||
"urgent"
|
||||
],
|
||||
"title": "Priority",
|
||||
"type": "string"
|
||||
},
|
||||
"revision": {
|
||||
"minimum": 1.0,
|
||||
"title": "Revision",
|
||||
"type": "integer"
|
||||
},
|
||||
"scenario_code": {
|
||||
"anyOf": [
|
||||
{
|
||||
"minLength": 1,
|
||||
"type": "string"
|
||||
},
|
||||
{
|
||||
"type": "null"
|
||||
}
|
||||
],
|
||||
"title": "Scenario Code"
|
||||
},
|
||||
"scheduled_at": {
|
||||
"anyOf": [
|
||||
{
|
||||
"format": "date-time",
|
||||
"type": "string"
|
||||
},
|
||||
{
|
||||
"type": "null"
|
||||
}
|
||||
],
|
||||
"title": "Scheduled At"
|
||||
},
|
||||
"status": {
|
||||
"enum": [
|
||||
"draft",
|
||||
"open",
|
||||
"in_progress",
|
||||
"awaiting_reply",
|
||||
"completed",
|
||||
"cancelled"
|
||||
],
|
||||
"title": "Status",
|
||||
"type": "string"
|
||||
},
|
||||
"subtasks": {
|
||||
"anyOf": [
|
||||
{
|
||||
"items": {
|
||||
"$ref": "#/components/schemas/WorkbenchRuntimeWorkOrderSubtask"
|
||||
},
|
||||
"maxItems": 50,
|
||||
"minItems": 1,
|
||||
"type": "array"
|
||||
},
|
||||
{
|
||||
"type": "null"
|
||||
}
|
||||
],
|
||||
"title": "Subtasks"
|
||||
},
|
||||
"summary": {
|
||||
"minLength": 1,
|
||||
"title": "Summary",
|
||||
@@ -3705,7 +3561,7 @@
|
||||
"work_order_snapshot": {
|
||||
"anyOf": [
|
||||
{
|
||||
"$ref": "#/components/schemas/ExternalWorkOrderSnapshot-Output"
|
||||
"$ref": "#/components/schemas/ExternalWorkOrderSnapshot"
|
||||
},
|
||||
{
|
||||
"type": "null"
|
||||
@@ -6577,6 +6433,55 @@
|
||||
"title": "WebSearchRequest",
|
||||
"type": "object"
|
||||
},
|
||||
"WorkOrderActivity": {
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"actor": {
|
||||
"minLength": 1,
|
||||
"title": "Actor",
|
||||
"type": "string"
|
||||
},
|
||||
"detail": {
|
||||
"minLength": 1,
|
||||
"title": "Detail",
|
||||
"type": "string"
|
||||
},
|
||||
"kind": {
|
||||
"enum": [
|
||||
"created",
|
||||
"updated",
|
||||
"feedback"
|
||||
],
|
||||
"title": "Kind",
|
||||
"type": "string"
|
||||
},
|
||||
"occurred_at": {
|
||||
"format": "date-time",
|
||||
"title": "Occurred At",
|
||||
"type": "string"
|
||||
},
|
||||
"sequence": {
|
||||
"minimum": 1.0,
|
||||
"title": "Sequence",
|
||||
"type": "integer"
|
||||
},
|
||||
"title": {
|
||||
"minLength": 1,
|
||||
"title": "Title",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"sequence",
|
||||
"occurred_at",
|
||||
"actor",
|
||||
"kind",
|
||||
"title",
|
||||
"detail"
|
||||
],
|
||||
"title": "WorkOrderActivity",
|
||||
"type": "object"
|
||||
},
|
||||
"WorkbenchAlertSource": {
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
@@ -7217,6 +7122,25 @@
|
||||
"WorkbenchRuntimeWorkOrder": {
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"activity": {
|
||||
"items": {
|
||||
"$ref": "#/components/schemas/WorkOrderActivity"
|
||||
},
|
||||
"title": "Activity",
|
||||
"type": "array"
|
||||
},
|
||||
"assignee": {
|
||||
"anyOf": [
|
||||
{
|
||||
"minLength": 1,
|
||||
"type": "string"
|
||||
},
|
||||
{
|
||||
"type": "null"
|
||||
}
|
||||
],
|
||||
"title": "Assignee"
|
||||
},
|
||||
"code": {
|
||||
"minLength": 1,
|
||||
"title": "Code",
|
||||
@@ -7237,11 +7161,31 @@
|
||||
"title": "Duration Minutes",
|
||||
"type": "integer"
|
||||
},
|
||||
"feedback_requirements": {
|
||||
"items": {
|
||||
"minLength": 1,
|
||||
"type": "string"
|
||||
},
|
||||
"title": "Feedback Requirements",
|
||||
"type": "array"
|
||||
},
|
||||
"id": {
|
||||
"minLength": 1,
|
||||
"title": "Id",
|
||||
"type": "string"
|
||||
},
|
||||
"location": {
|
||||
"anyOf": [
|
||||
{
|
||||
"minLength": 1,
|
||||
"type": "string"
|
||||
},
|
||||
{
|
||||
"type": "null"
|
||||
}
|
||||
],
|
||||
"title": "Location"
|
||||
},
|
||||
"priority": {
|
||||
"enum": [
|
||||
"normal",
|
||||
@@ -7291,13 +7235,6 @@
|
||||
"title": "Status",
|
||||
"type": "string"
|
||||
},
|
||||
"subtasks": {
|
||||
"items": {
|
||||
"$ref": "#/components/schemas/WorkbenchRuntimeWorkOrderSubtask"
|
||||
},
|
||||
"title": "Subtasks",
|
||||
"type": "array"
|
||||
},
|
||||
"summary": {
|
||||
"minLength": 1,
|
||||
"title": "Summary",
|
||||
@@ -7328,155 +7265,11 @@
|
||||
"duration_minutes",
|
||||
"source",
|
||||
"dispatcher",
|
||||
"priority",
|
||||
"subtasks"
|
||||
"priority"
|
||||
],
|
||||
"title": "WorkbenchRuntimeWorkOrder",
|
||||
"type": "object"
|
||||
},
|
||||
"WorkbenchRuntimeWorkOrderStage": {
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"description": {
|
||||
"minLength": 1,
|
||||
"title": "Description",
|
||||
"type": "string"
|
||||
},
|
||||
"id": {
|
||||
"minLength": 1,
|
||||
"title": "Id",
|
||||
"type": "string"
|
||||
},
|
||||
"owner": {
|
||||
"minLength": 1,
|
||||
"title": "Owner",
|
||||
"type": "string"
|
||||
},
|
||||
"sequence": {
|
||||
"minimum": 1.0,
|
||||
"title": "Sequence",
|
||||
"type": "integer"
|
||||
},
|
||||
"status": {
|
||||
"enum": [
|
||||
"done",
|
||||
"current",
|
||||
"pending",
|
||||
"blocked",
|
||||
"skipped"
|
||||
],
|
||||
"title": "Status",
|
||||
"type": "string"
|
||||
},
|
||||
"time_label": {
|
||||
"minLength": 1,
|
||||
"title": "Time Label",
|
||||
"type": "string"
|
||||
},
|
||||
"title": {
|
||||
"minLength": 1,
|
||||
"title": "Title",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"id",
|
||||
"sequence",
|
||||
"title",
|
||||
"status",
|
||||
"owner",
|
||||
"time_label",
|
||||
"description"
|
||||
],
|
||||
"title": "WorkbenchRuntimeWorkOrderStage",
|
||||
"type": "object"
|
||||
},
|
||||
"WorkbenchRuntimeWorkOrderSubtask": {
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"assignee": {
|
||||
"minLength": 1,
|
||||
"title": "Assignee",
|
||||
"type": "string"
|
||||
},
|
||||
"duration_minutes": {
|
||||
"minimum": 1.0,
|
||||
"title": "Duration Minutes",
|
||||
"type": "integer"
|
||||
},
|
||||
"id": {
|
||||
"minLength": 1,
|
||||
"title": "Id",
|
||||
"type": "string"
|
||||
},
|
||||
"location": {
|
||||
"minLength": 1,
|
||||
"title": "Location",
|
||||
"type": "string"
|
||||
},
|
||||
"reply_requirements": {
|
||||
"items": {
|
||||
"minLength": 1,
|
||||
"type": "string"
|
||||
},
|
||||
"title": "Reply Requirements",
|
||||
"type": "array"
|
||||
},
|
||||
"reply_window_minutes": {
|
||||
"minimum": 1.0,
|
||||
"title": "Reply Window Minutes",
|
||||
"type": "integer"
|
||||
},
|
||||
"scheduled_at": {
|
||||
"format": "date-time",
|
||||
"title": "Scheduled At",
|
||||
"type": "string"
|
||||
},
|
||||
"stages": {
|
||||
"items": {
|
||||
"$ref": "#/components/schemas/WorkbenchRuntimeWorkOrderStage"
|
||||
},
|
||||
"title": "Stages",
|
||||
"type": "array"
|
||||
},
|
||||
"status": {
|
||||
"enum": [
|
||||
"pending",
|
||||
"running",
|
||||
"blocked",
|
||||
"completed",
|
||||
"cancelled"
|
||||
],
|
||||
"title": "Status",
|
||||
"type": "string"
|
||||
},
|
||||
"summary": {
|
||||
"minLength": 1,
|
||||
"title": "Summary",
|
||||
"type": "string"
|
||||
},
|
||||
"title": {
|
||||
"minLength": 1,
|
||||
"title": "Title",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"id",
|
||||
"title",
|
||||
"summary",
|
||||
"status",
|
||||
"scheduled_at",
|
||||
"location",
|
||||
"assignee",
|
||||
"duration_minutes",
|
||||
"reply_window_minutes",
|
||||
"stages",
|
||||
"reply_requirements"
|
||||
],
|
||||
"title": "WorkbenchRuntimeWorkOrderSubtask",
|
||||
"type": "object"
|
||||
},
|
||||
"WorkbenchSyncSnapshot": {
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
|
||||
Reference in New Issue
Block a user