import * as z from "zod/v3"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; import { HookdeckCredentials, HookdeckCredentials$Outbound } from "./hookdeckcredentials.js"; import { Topics, Topics$Outbound } from "./topics.js"; export type DestinationCreateHookdeck = { /** * Optional user-provided ID. A UUID will be generated if empty. */ id?: string | undefined; /** * Type of the destination. Must be 'hookdeck'. */ type: "hookdeck"; /** * "*" or an array of enabled topics. */ topics: Topics; /** * Optional JSON schema filter for event matching. Events must match this filter to be delivered to this destination. * * @remarks * Supports operators: $eq, $neq, $gt, $gte, $lt, $lte, $in, $nin, $startsWith, $endsWith, $exist, $or, $and, $not. * If null or empty, all events matching the topic filter will be delivered. * To remove an existing filter when updating a destination, set filter to an empty object `{}`. */ filter?: { [k: string]: any; } | null | undefined; config?: any | undefined; credentials: HookdeckCredentials; /** * Static key-value pairs merged into event metadata on every attempt. */ deliveryMetadata?: { [k: string]: string; } | null | undefined; /** * Arbitrary contextual information stored with the destination. */ metadata?: { [k: string]: string; } | null | undefined; }; /** @internal */ export declare const DestinationCreateHookdeck$inboundSchema: z.ZodType; /** @internal */ export type DestinationCreateHookdeck$Outbound = { id?: string | undefined; type: "hookdeck"; topics: Topics$Outbound; filter?: { [k: string]: any; } | null | undefined; config?: any | undefined; credentials: HookdeckCredentials$Outbound; delivery_metadata?: { [k: string]: string; } | null | undefined; metadata?: { [k: string]: string; } | null | undefined; }; /** @internal */ export declare const DestinationCreateHookdeck$outboundSchema: z.ZodType; export declare function destinationCreateHookdeckToJSON(destinationCreateHookdeck: DestinationCreateHookdeck): string; export declare function destinationCreateHookdeckFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=destinationcreatehookdeck.d.ts.map