UNPKG

@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>

31 lines 1.4 kB
import * as z from "zod/v3"; import { Result as SafeParseResult } from "../types/fp.js"; import { ConnectConnector } from "./connectconnector.js"; import { ConnectReconsent } from "./connectreconsent.js"; import { ConnectServiceSync } from "./connectservicesync.js"; import { SDKValidationError } from "./sdkvalidationerror.js"; /** * Updated connector and any required provider follow-up actions. */ export type ConnectConnectorUpdateResult = { /** * A connector that defines how Vercel accesses an external service. */ connector: ConnectConnector; /** * When true, prompt a team owner or administrator to reinstall the connector before relying on the change. */ reinstallNeeded?: boolean | undefined; /** * Existing authorizations no longer cover the connector's configured scopes, so they must be re-authorized. */ reconsentNeeded?: ConnectReconsent | undefined; /** * Provider-side configuration synchronization result. */ serviceSync?: ConnectServiceSync | undefined; }; /** @internal */ export declare const ConnectConnectorUpdateResult$inboundSchema: z.ZodType<ConnectConnectorUpdateResult, z.ZodTypeDef, unknown>; export declare function connectConnectorUpdateResultFromJSON(jsonString: string): SafeParseResult<ConnectConnectorUpdateResult, SDKValidationError>; //# sourceMappingURL=connectconnectorupdateresult.d.ts.map