/* * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ import * as z from "zod/v3"; export type GetDeploymentsGlobals = { appId?: string | undefined; }; export type GetDeploymentsRequest = { appId?: string | undefined; deploymentTag?: string | undefined; buildTag?: string | undefined; }; /** @internal */ export type GetDeploymentsRequest$Outbound = { appId?: string | undefined; deploymentTag?: string | undefined; buildTag?: string | undefined; }; /** @internal */ export const GetDeploymentsRequest$outboundSchema: z.ZodType< GetDeploymentsRequest$Outbound, z.ZodTypeDef, GetDeploymentsRequest > = z.object({ appId: z.string().optional(), deploymentTag: z.string().optional(), buildTag: z.string().optional(), }); export function getDeploymentsRequestToJSON( getDeploymentsRequest: GetDeploymentsRequest, ): string { return JSON.stringify( GetDeploymentsRequest$outboundSchema.parse(getDeploymentsRequest), ); }