/* * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. * @generated-id: 772abb94c6df */ import * as z from "zod/v4"; export type GetProjectActiveReleaseGlobals = { /** * Workspace name. Platform API keys already select a workspace; other authentication methods can configure it once on the SDK client. */ workspace?: string | undefined; }; export type GetProjectActiveReleaseRequest = { /** * Project ID or name. */ idOrName: string; /** * Optional deployment ID to check for pinned release */ deploymentId?: string | undefined; }; /** @internal */ export type GetProjectActiveReleaseRequest$Outbound = { idOrName: string; deploymentId?: string | undefined; }; /** @internal */ export const GetProjectActiveReleaseRequest$outboundSchema: z.ZodType< GetProjectActiveReleaseRequest$Outbound, GetProjectActiveReleaseRequest > = z.object({ idOrName: z.string(), deploymentId: z.string().optional(), }); export function getProjectActiveReleaseRequestToJSON( getProjectActiveReleaseRequest: GetProjectActiveReleaseRequest, ): string { return JSON.stringify( GetProjectActiveReleaseRequest$outboundSchema.parse( getProjectActiveReleaseRequest, ), ); }