@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.16 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";
/**
* The affected authorization scope. user means each affected user must authorize again.
*/
export declare const Scope: {
readonly User: "user";
};
/**
* The affected authorization scope. user means each affected user must authorize again.
*/
export type Scope = ClosedEnum<typeof Scope>;
/**
* Existing authorizations no longer cover the connector's configured scopes, so they must be re-authorized.
*/
export type ConnectReconsent = {
/**
* The affected authorization scope. user means each affected user must authorize again.
*/
scope: Scope;
};
/** @internal */
export declare const Scope$inboundSchema: z.ZodNativeEnum<typeof Scope>;
/** @internal */
export declare const ConnectReconsent$inboundSchema: z.ZodType<ConnectReconsent, z.ZodTypeDef, unknown>;
export declare function connectReconsentFromJSON(jsonString: string): SafeParseResult<ConnectReconsent, SDKValidationError>;
//# sourceMappingURL=connectreconsent.d.ts.map