import * as z from "zod/v4-mini"; import { ClosedEnum } from "../../types/enums.js"; import { FilterCondition, FilterCondition$Outbound } from "./filter-condition.js"; import { SortCondition, SortCondition$Outbound } from "./sort-condition.js"; import { Status } from "./status.js"; export declare const WorkflowExecutionFilterOrder: { readonly Asc: "asc"; readonly Desc: "desc"; }; export type WorkflowExecutionFilterOrder = ClosedEnum; export type WorkflowExecutionFilter = { endTime?: Date | undefined; /** * e.g. plan, invoice, subscription */ entity?: string | undefined; /** * e.g. plan_01ABC123 */ entityId?: string | undefined; expand?: string | undefined; /** * filters allows complex filtering based on multiple fields (same as FeatureFilter) */ filters?: Array | undefined; limit?: number | undefined; offset?: number | undefined; order?: WorkflowExecutionFilterOrder | undefined; sort?: Array | undefined; startTime?: Date | undefined; status?: Status | undefined; taskQueue?: string | undefined; /** * Workflow-specific filters */ workflowId?: string | undefined; /** * e.g. Running, Completed, Failed */ workflowStatus?: string | undefined; workflowType?: string | undefined; }; /** @internal */ export declare const WorkflowExecutionFilterOrder$outboundSchema: z.ZodMiniEnum; /** @internal */ export type WorkflowExecutionFilter$Outbound = { end_time?: string | undefined; entity?: string | undefined; entity_id?: string | undefined; expand?: string | undefined; filters?: Array | undefined; limit?: number | undefined; offset?: number | undefined; order?: string | undefined; sort?: Array | undefined; start_time?: string | undefined; status?: string | undefined; task_queue?: string | undefined; workflow_id?: string | undefined; workflow_status?: string | undefined; workflow_type?: string | undefined; }; /** @internal */ export declare const WorkflowExecutionFilter$outboundSchema: z.ZodMiniType; export declare function workflowExecutionFilterToJSON(workflowExecutionFilter: WorkflowExecutionFilter): string; //# sourceMappingURL=workflow-execution-filter.d.ts.map