@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>
29 lines • 1.29 kB
TypeScript
import * as z from "zod/v3";
import { Result as SafeParseResult } from "../types/fp.js";
import { SDKValidationError } from "./sdkvalidationerror.js";
export type DeleteAuthTokenRequest = {
/**
* The identifier of the token to invalidate. The special value "current" may be supplied, which invalidates the token that the HTTP request was authenticated with.
*/
tokenId: string;
};
/**
* Authentication token successfully deleted.
*/
export type DeleteAuthTokenResponseBody = {
/**
* The unique identifier of the token that was deleted.
*/
tokenId: string;
};
/** @internal */
export type DeleteAuthTokenRequest$Outbound = {
tokenId: string;
};
/** @internal */
export declare const DeleteAuthTokenRequest$outboundSchema: z.ZodType<DeleteAuthTokenRequest$Outbound, z.ZodTypeDef, DeleteAuthTokenRequest>;
export declare function deleteAuthTokenRequestToJSON(deleteAuthTokenRequest: DeleteAuthTokenRequest): string;
/** @internal */
export declare const DeleteAuthTokenResponseBody$inboundSchema: z.ZodType<DeleteAuthTokenResponseBody, z.ZodTypeDef, unknown>;
export declare function deleteAuthTokenResponseBodyFromJSON(jsonString: string): SafeParseResult<DeleteAuthTokenResponseBody, SDKValidationError>;
//# sourceMappingURL=deleteauthtokenop.d.ts.map