@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>
43 lines • 1.63 kB
TypeScript
import * as z from "zod/v3";
import { ClosedEnum } from "../types/enums.js";
import { Result as SafeParseResult } from "../types/fp.js";
import { SDKValidationError } from "./sdkvalidationerror.js";
export type DeleteAliasRequest = {
/**
* The ID or alias that will be removed
*/
aliasId: 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;
};
export declare const DeleteAliasStatus: {
readonly Success: "SUCCESS";
};
export type DeleteAliasStatus = ClosedEnum<typeof DeleteAliasStatus>;
/**
* The alias was successfully removed
*/
export type DeleteAliasResponseBody = {
status: DeleteAliasStatus;
};
/** @internal */
export type DeleteAliasRequest$Outbound = {
aliasId: string;
teamId?: string | undefined;
slug?: string | undefined;
};
/** @internal */
export declare const DeleteAliasRequest$outboundSchema: z.ZodType<DeleteAliasRequest$Outbound, z.ZodTypeDef, DeleteAliasRequest>;
export declare function deleteAliasRequestToJSON(deleteAliasRequest: DeleteAliasRequest): string;
/** @internal */
export declare const DeleteAliasStatus$inboundSchema: z.ZodNativeEnum<typeof DeleteAliasStatus>;
/** @internal */
export declare const DeleteAliasResponseBody$inboundSchema: z.ZodType<DeleteAliasResponseBody, z.ZodTypeDef, unknown>;
export declare function deleteAliasResponseBodyFromJSON(jsonString: string): SafeParseResult<DeleteAliasResponseBody, SDKValidationError>;
//# sourceMappingURL=deletealiasop.d.ts.map