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>

35 lines 1.67 kB
import * as z from "zod/v3"; import { ClosedEnum } from "../types/enums.js"; import { Result as SafeParseResult } from "../types/fp.js"; import { ConnectServiceSyncError } from "./connectservicesyncerror.js"; import { SDKValidationError } from "./sdkvalidationerror.js"; /** * done means the external service was updated. required means the Vercel update was saved, but provider-side configuration still needs attention. */ export declare const ConnectServiceSyncStatus: { readonly Done: "done"; readonly Required: "required"; }; /** * done means the external service was updated. required means the Vercel update was saved, but provider-side configuration still needs attention. */ export type ConnectServiceSyncStatus = ClosedEnum<typeof ConnectServiceSyncStatus>; /** * Provider-side configuration synchronization result. */ export type ConnectServiceSync = { /** * done means the external service was updated. required means the Vercel update was saved, but provider-side configuration still needs attention. */ status: ConnectServiceSyncStatus; /** * Provider synchronization errors. Present when serviceSync.status is required. */ errors?: Array<ConnectServiceSyncError> | undefined; }; /** @internal */ export declare const ConnectServiceSyncStatus$inboundSchema: z.ZodNativeEnum<typeof ConnectServiceSyncStatus>; /** @internal */ export declare const ConnectServiceSync$inboundSchema: z.ZodType<ConnectServiceSync, z.ZodTypeDef, unknown>; export declare function connectServiceSyncFromJSON(jsonString: string): SafeParseResult<ConnectServiceSync, SDKValidationError>; //# sourceMappingURL=connectservicesync.d.ts.map