import * as z from "zod/v3"; import { OpenEnum } from "../../types/enums.js"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; /** * Unify event source */ export declare const EventSource: { readonly Native: "native"; readonly Virtual: "virtual"; }; /** * Unify event source */ export type EventSource = OpenEnum; /** * Unify event that is supported on the connector. Events are delivered via Webhooks. */ export type ConnectorEvent = { /** * Unify event type */ eventType?: string | undefined; /** * Unify event source */ eventSource?: EventSource | undefined; /** * Downstream event type */ downstreamEventType?: string | undefined; resources?: Array | undefined; /** * Unify entity type */ entityType?: string | undefined; }; /** @internal */ export declare const EventSource$inboundSchema: z.ZodType; /** @internal */ export declare const ConnectorEvent$inboundSchema: z.ZodType; export declare function connectorEventFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=connectorevent.d.ts.map