import * as z from "zod/v4"; import { ClosedEnum } from "../../types/enums.js"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; import * as models from "../index.js"; export type ListReleasesGlobals = { /** * Workspace name. Platform API keys already select a workspace; other authentication methods can configure it once on the SDK client. */ workspace?: string | undefined; }; export declare const AllChannels: { readonly True: "true"; readonly False: "false"; }; export type AllChannels = ClosedEnum; export declare const ListReleasesInclude: { readonly Project: "project"; readonly Rollout: "rollout"; readonly CreatedBy: "createdBy"; }; export type ListReleasesInclude = ClosedEnum; export type ListReleasesRequest = { /** * Filter by project ID or name. */ project?: string | null | undefined; /** * Filter to releases promoted to this channel. Defaults to production. */ channel?: string | null | undefined; allChannels?: AllChannels | undefined; /** * Optional fields to include: project, rollout */ include?: Array | undefined; /** * Search releases by commit message, branch, SHA, or release ID */ search?: string | null | undefined; /** * Filter by git branch (commitRef) */ branch?: string | null | undefined; /** * Filter by commit author login or name */ author?: string | null | undefined; /** * Filter releases created after this date (ISO 8601) */ createdAfter?: Date | null | undefined; /** * Filter releases created before this date (ISO 8601) */ createdBefore?: Date | null | undefined; /** * Maximum number of items to return per page */ limit?: number | undefined; /** * Cursor for pagination - omit for first page */ cursor?: string | undefined; }; /** * Paginated response */ export type ListReleasesResponse = { /** * Items in this page */ items: Array; /** * Cursor for the next page, null if last page */ nextCursor: string | null; }; /** @internal */ export declare const AllChannels$outboundSchema: z.ZodEnum; /** @internal */ export declare const ListReleasesInclude$outboundSchema: z.ZodEnum; /** @internal */ export type ListReleasesRequest$Outbound = { project?: string | null | undefined; channel?: string | null | undefined; allChannels: string; include?: Array | undefined; search?: string | null | undefined; branch?: string | null | undefined; author?: string | null | undefined; createdAfter?: string | null | undefined; createdBefore?: string | null | undefined; limit: number; cursor?: string | undefined; }; /** @internal */ export declare const ListReleasesRequest$outboundSchema: z.ZodType; export declare function listReleasesRequestToJSON(listReleasesRequest: ListReleasesRequest): string; /** @internal */ export declare const ListReleasesResponse$inboundSchema: z.ZodType; export declare function listReleasesResponseFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=listreleases.d.ts.map