import { APIResource } from "../../resource.js"; import * as Core from "../../core.js"; import { V4PagePaginationArray, type V4PagePaginationArrayParams } from "../../pagination.js"; export declare class Versions extends APIResource { /** * Lists all deployed versions of a workflow. */ list(workflowName: string, params: VersionListParams, options?: Core.RequestOptions): Core.PagePromise; /** * Retrieves details for a specific deployed workflow version. */ get(workflowName: string, versionId: string, params: VersionGetParams, options?: Core.RequestOptions): Core.APIPromise; } export declare class VersionListResponsesV4PagePaginationArray extends V4PagePaginationArray { } export interface VersionListResponse { id: string; class_name: string; created_on: string; has_dag: boolean; /** * The programming language of the workflow implementation */ language: 'javascript' | 'python'; modified_on: string; workflow_id: string; limits?: VersionListResponse.Limits; } export declare namespace VersionListResponse { interface Limits { steps?: number; } } export interface VersionGetResponse { id: string; class_name: string; created_on: string; has_dag: boolean; /** * The programming language of the workflow implementation */ language: 'javascript' | 'python'; modified_on: string; workflow_id: string; limits?: VersionGetResponse.Limits; } export declare namespace VersionGetResponse { interface Limits { steps?: number; } } export interface VersionListParams extends V4PagePaginationArrayParams { /** * Path param */ account_id: string; } export interface VersionGetParams { account_id: string; } export declare namespace Versions { export { type VersionListResponse as VersionListResponse, type VersionGetResponse as VersionGetResponse, VersionListResponsesV4PagePaginationArray as VersionListResponsesV4PagePaginationArray, type VersionListParams as VersionListParams, type VersionGetParams as VersionGetParams, }; } //# sourceMappingURL=versions.d.ts.map