@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>
56 lines • 2.11 kB
TypeScript
import * as z from "zod/v3";
import { Result as SafeParseResult } from "../types/fp.js";
import { SDKValidationError } from "./sdkvalidationerror.js";
export type VerifyProjectDomainRequest = {
/**
* The unique project identifier or the project name
*/
idOrName: string;
/**
* The domain name you want to verify
*/
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;
};
/**
* The project domain was verified successfully
*
* @remarks
* Domain is already verified
*/
export type VerifyProjectDomainResponseBody = {
name: string;
apexName: string;
projectId: string;
redirect?: string | null | undefined;
redirectStatusCode?: number | null | undefined;
gitBranch?: string | null | undefined;
customEnvironmentId?: string | null | undefined;
updatedAt?: number | undefined;
createdAt?: number | undefined;
/**
* `true` if the domain is verified for use with the project. If `false` it will not be used as an alias on this project until the challenge in `verification` is completed.
*/
verified: boolean;
};
/** @internal */
export type VerifyProjectDomainRequest$Outbound = {
idOrName: string;
domain: string;
teamId?: string | undefined;
slug?: string | undefined;
};
/** @internal */
export declare const VerifyProjectDomainRequest$outboundSchema: z.ZodType<VerifyProjectDomainRequest$Outbound, z.ZodTypeDef, VerifyProjectDomainRequest>;
export declare function verifyProjectDomainRequestToJSON(verifyProjectDomainRequest: VerifyProjectDomainRequest): string;
/** @internal */
export declare const VerifyProjectDomainResponseBody$inboundSchema: z.ZodType<VerifyProjectDomainResponseBody, z.ZodTypeDef, unknown>;
export declare function verifyProjectDomainResponseBodyFromJSON(jsonString: string): SafeParseResult<VerifyProjectDomainResponseBody, SDKValidationError>;
//# sourceMappingURL=verifyprojectdomainop.d.ts.map