UNPKG

@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>

50 lines 2.24 kB
import * as z from "zod/v3"; export type UpdatePrivateLinkEndpointRequestBody = { /** * A new name for the PrivateLink endpoint. When omitted, the current name is kept. */ name?: string | undefined; /** * When `true`, resolves the endpoint service through its private DNS names, which are then returned in `privateDnsNames`. When `false`, clears them. When omitted, the current setting is kept. At least one of `name` or `enablePrivateDns` must be provided. */ enablePrivateDns?: boolean | undefined; }; export type UpdatePrivateLinkEndpointRequest = { /** * The project ID the PrivateLink endpoint belongs to. */ projectId: string; /** * The unique identifier of the PrivateLink endpoint. */ endpointId: string; /** * The Team identifier to perform the request on behalf of. */ teamId?: string | undefined; /** * The Team slug to perform the request on behalf of. */ slug?: string | undefined; requestBody?: UpdatePrivateLinkEndpointRequestBody | undefined; }; /** @internal */ export type UpdatePrivateLinkEndpointRequestBody$Outbound = { name?: string | undefined; enablePrivateDns?: boolean | undefined; }; /** @internal */ export declare const UpdatePrivateLinkEndpointRequestBody$outboundSchema: z.ZodType<UpdatePrivateLinkEndpointRequestBody$Outbound, z.ZodTypeDef, UpdatePrivateLinkEndpointRequestBody>; export declare function updatePrivateLinkEndpointRequestBodyToJSON(updatePrivateLinkEndpointRequestBody: UpdatePrivateLinkEndpointRequestBody): string; /** @internal */ export type UpdatePrivateLinkEndpointRequest$Outbound = { projectId: string; endpointId: string; teamId?: string | undefined; slug?: string | undefined; RequestBody?: UpdatePrivateLinkEndpointRequestBody$Outbound | undefined; }; /** @internal */ export declare const UpdatePrivateLinkEndpointRequest$outboundSchema: z.ZodType<UpdatePrivateLinkEndpointRequest$Outbound, z.ZodTypeDef, UpdatePrivateLinkEndpointRequest>; export declare function updatePrivateLinkEndpointRequestToJSON(updatePrivateLinkEndpointRequest: UpdatePrivateLinkEndpointRequest): string; //# sourceMappingURL=updateprivatelinkendpointop.d.ts.map