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>

36 lines 1.31 kB
import * as z from "zod/v3"; import { Result as SafeParseResult } from "../types/fp.js"; import { SDKValidationError } from "./sdkvalidationerror.js"; export type DeleteDomainRequest = { /** * The name of the domain. */ domain: 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; }; /** * Successful response removing a domain. */ export type DeleteDomainResponseBody = { uid: string; }; /** @internal */ export type DeleteDomainRequest$Outbound = { domain: string; teamId?: string | undefined; slug?: string | undefined; }; /** @internal */ export declare const DeleteDomainRequest$outboundSchema: z.ZodType<DeleteDomainRequest$Outbound, z.ZodTypeDef, DeleteDomainRequest>; export declare function deleteDomainRequestToJSON(deleteDomainRequest: DeleteDomainRequest): string; /** @internal */ export declare const DeleteDomainResponseBody$inboundSchema: z.ZodType<DeleteDomainResponseBody, z.ZodTypeDef, unknown>; export declare function deleteDomainResponseBodyFromJSON(jsonString: string): SafeParseResult<DeleteDomainResponseBody, SDKValidationError>; //# sourceMappingURL=deletedomainop.d.ts.map