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