/* * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. * @generated-id: 2fdb9cc1c475 */ import * as z from "zod/v4"; /** * Request schema for pinning/unpinning deployment release */ export type PinReleaseRequest = { /** * Release ID to pin the deployment to. Set to null to resume its followed channel. */ releaseId?: string | null | undefined; }; /** @internal */ export type PinReleaseRequest$Outbound = { releaseId?: string | null | undefined; }; /** @internal */ export const PinReleaseRequest$outboundSchema: z.ZodType< PinReleaseRequest$Outbound, PinReleaseRequest > = z.object({ releaseId: z.nullable(z.string()).optional(), }); export function pinReleaseRequestToJSON( pinReleaseRequest: PinReleaseRequest, ): string { return JSON.stringify( PinReleaseRequest$outboundSchema.parse(pinReleaseRequest), ); }