import * as z from "zod/v3"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; import { RabbitMQConfig, RabbitMQConfig$Outbound } from "./rabbitmqconfig.js"; import { RabbitMQCredentials, RabbitMQCredentials$Outbound } from "./rabbitmqcredentials.js"; import { Topics, Topics$Outbound } from "./topics.js"; export type DestinationCreateRabbitMQ = { /** * Optional user-provided ID. A UUID will be generated if empty. */ id?: string | undefined; /** * Type of the destination. Must be 'rabbitmq'. */ type: "rabbitmq"; /** * "*" 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: RabbitMQConfig; credentials: RabbitMQCredentials; /** * 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 DestinationCreateRabbitMQ$inboundSchema: z.ZodType; /** @internal */ export type DestinationCreateRabbitMQ$Outbound = { id?: string | undefined; type: "rabbitmq"; topics: Topics$Outbound; filter?: { [k: string]: any; } | null | undefined; config: RabbitMQConfig$Outbound; credentials: RabbitMQCredentials$Outbound; delivery_metadata?: { [k: string]: string; } | null | undefined; metadata?: { [k: string]: string; } | null | undefined; }; /** @internal */ export declare const DestinationCreateRabbitMQ$outboundSchema: z.ZodType; export declare function destinationCreateRabbitMQToJSON(destinationCreateRabbitMQ: DestinationCreateRabbitMQ): string; export declare function destinationCreateRabbitMQFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=destinationcreaterabbitmq.d.ts.map