import * as z from "zod/v4"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; import { TempoGetTraceResponse } from "./tempogettraceresponse.js"; import { WorkflowExecutionStatus } from "./workflowexecutionstatus.js"; export type WorkflowExecutionTraceOTelResponse = { /** * The name of the workflow */ workflowName: string; /** * The ID of the workflow execution */ executionId: string; /** * The parent execution ID of the workflow execution */ parentExecutionId?: string | null | undefined; /** * The root execution ID of the workflow execution */ rootExecutionId: string; /** * The unique run identifier (database UUID) */ runId?: string | null | undefined; /** * The status of the workflow execution */ status: WorkflowExecutionStatus | null; /** * The start time of the workflow execution */ startTime: Date; /** * The end time of the workflow execution, if available */ endTime: Date | null; /** * The total duration of the trace in milliseconds */ totalDurationMs?: number | null | undefined; /** * The result of the workflow execution, if available */ result: any | null; /** * The data source of the trace */ dataSource: string; /** * The ID of the trace */ otelTraceId?: string | null | undefined; /** * The raw OpenTelemetry trace data */ otelTraceData?: TempoGetTraceResponse | null | undefined; }; /** @internal */ export declare const WorkflowExecutionTraceOTelResponse$inboundSchema: z.ZodType; export declare function workflowExecutionTraceOTelResponseFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=workflowexecutiontraceotelresponse.d.ts.map