45 lines
1.1 KiB
TypeScript
45 lines
1.1 KiB
TypeScript
|
|
// Code generated by apigen. DO NOT EDIT.
|
||
|
|
|
||
|
|
export interface BoundaryNode {
|
||
|
|
"callbackUrl"?: string;
|
||
|
|
"enforcement"?: "client" | "server";
|
||
|
|
"enteredAt"?: string;
|
||
|
|
"nodeId"?: string;
|
||
|
|
"sourceHandle"?: string;
|
||
|
|
"sourceNodeId"?: string;
|
||
|
|
"waitDeadline"?: string;
|
||
|
|
}
|
||
|
|
|
||
|
|
export interface ErrorResponse {
|
||
|
|
"code"?: "early_completion" | "forbidden" | "level_not_reached" | "node_not_active" | "objectives_incomplete" | "run_expired" | "run_not_active" | "scenario_not_active" | "unknown_run";
|
||
|
|
"error"?: string;
|
||
|
|
"requestId"?: string;
|
||
|
|
}
|
||
|
|
|
||
|
|
export interface ExecutionPlan {
|
||
|
|
"boundaryNodes"?: BoundaryNode[];
|
||
|
|
"context"?: { [key: string]: unknown };
|
||
|
|
"edges"?: PlanEdge[];
|
||
|
|
"nodes"?: ExecutionPlanNode[];
|
||
|
|
"planId"?: string;
|
||
|
|
"runId"?: string;
|
||
|
|
"scenarioId"?: string;
|
||
|
|
"startNodeId"?: string;
|
||
|
|
"userId"?: string;
|
||
|
|
}
|
||
|
|
|
||
|
|
export interface ExecutionPlanNode {
|
||
|
|
"data"?: { [key: string]: unknown };
|
||
|
|
"id"?: string;
|
||
|
|
"type"?: string;
|
||
|
|
}
|
||
|
|
|
||
|
|
export interface PlanEdge {
|
||
|
|
"id"?: string;
|
||
|
|
"source"?: string;
|
||
|
|
"sourceHandle"?: string;
|
||
|
|
"target"?: string;
|
||
|
|
"targetHandle"?: string;
|
||
|
|
}
|
||
|
|
|