@vercel/sdk
Version:
<p align="center"> <a href="https://vercel.com"> <img src="https://assets.vercel.com/image/upload/v1588805858/repositories/vercel/logo.png" height="96"> <h3 align="center">Vercel</h3> </a> <p align="center">Develop. Preview. Ship.</p> </p>
17 lines • 1.25 kB
TypeScript
import * as z from "zod/v3";
import { Result as SafeParseResult } from "../types/fp.js";
import { GetDeploymentResponseBody3 } from "./getdeploymentgitsourcedeploymentsresponse200type.js";
import { GetDeploymentResponseBody1, GetDeploymentResponseBody2 } from "./getdeploymentresponsebody1.js";
import { SDKValidationError } from "./sdkvalidationerror.js";
/**
* Returns a reduced view of the deployment with public information only. Private fields are omitted when the requester is not the deployment owner.
*
* @remarks
* Returns the deployment object for the authenticated owner, including private fields such as environment variables, build log URLs, and internal metadata.
* Returns the reduced deployment view for anonymous (`vcn_`) callers. Pool-team details are withheld.
*/
export type GetDeploymentResponseBody = GetDeploymentResponseBody2 | GetDeploymentResponseBody3 | GetDeploymentResponseBody1;
/** @internal */
export declare const GetDeploymentResponseBody$inboundSchema: z.ZodType<GetDeploymentResponseBody, z.ZodTypeDef, unknown>;
export declare function getDeploymentResponseBodyFromJSON(jsonString: string): SafeParseResult<GetDeploymentResponseBody, SDKValidationError>;
//# sourceMappingURL=getdeploymentresponsebody.d.ts.map