@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>
54 lines • 2.29 kB
TypeScript
import * as z from "zod/v3";
import { Result as SafeParseResult } from "../types/fp.js";
import { SDKValidationError } from "./sdkvalidationerror.js";
export type RemoveProjectDomainRequestBody = {
/**
* Whether to remove all domains from this project that redirect to the domain being removed.
*/
removeRedirects?: boolean | undefined;
};
export type RemoveProjectDomainRequest = {
/**
* The unique project identifier or the project name
*/
idOrName: string;
/**
* The project domain name
*/
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;
requestBody?: RemoveProjectDomainRequestBody | undefined;
};
/**
* The domain was succesfully removed from the project
*/
export type RemoveProjectDomainResponseBody = {};
/** @internal */
export type RemoveProjectDomainRequestBody$Outbound = {
removeRedirects?: boolean | undefined;
};
/** @internal */
export declare const RemoveProjectDomainRequestBody$outboundSchema: z.ZodType<RemoveProjectDomainRequestBody$Outbound, z.ZodTypeDef, RemoveProjectDomainRequestBody>;
export declare function removeProjectDomainRequestBodyToJSON(removeProjectDomainRequestBody: RemoveProjectDomainRequestBody): string;
/** @internal */
export type RemoveProjectDomainRequest$Outbound = {
idOrName: string;
domain: string;
teamId?: string | undefined;
slug?: string | undefined;
RequestBody?: RemoveProjectDomainRequestBody$Outbound | undefined;
};
/** @internal */
export declare const RemoveProjectDomainRequest$outboundSchema: z.ZodType<RemoveProjectDomainRequest$Outbound, z.ZodTypeDef, RemoveProjectDomainRequest>;
export declare function removeProjectDomainRequestToJSON(removeProjectDomainRequest: RemoveProjectDomainRequest): string;
/** @internal */
export declare const RemoveProjectDomainResponseBody$inboundSchema: z.ZodType<RemoveProjectDomainResponseBody, z.ZodTypeDef, unknown>;
export declare function removeProjectDomainResponseBodyFromJSON(jsonString: string): SafeParseResult<RemoveProjectDomainResponseBody, SDKValidationError>;
//# sourceMappingURL=removeprojectdomainop.d.ts.map