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