import * as z from "zod/v3"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; export type PublishRequest = { /** * Optional. A unique identifier for the event. If not provided, a UUID will be generated. */ id?: string | undefined; /** * The ID of the tenant to publish for. */ tenantId?: string | undefined; /** * Optional. Route event to a specific destination. */ destinationId?: string | undefined; /** * Topic name for the event. Required if Outpost has been configured with topics. */ topic?: string | undefined; /** * Should event delivery be retried on failure. */ eligibleForRetry?: boolean | undefined; /** * Optional. Custom timestamp for the event. If not provided, defaults to the current time. */ time?: Date | undefined; /** * Any key-value string pairs for metadata. */ metadata?: { [k: string]: string; } | undefined; /** * Any JSON payload for the event data. */ data: { [k: string]: any; }; }; /** @internal */ export declare const PublishRequest$inboundSchema: z.ZodType; /** @internal */ export type PublishRequest$Outbound = { id?: string | undefined; tenant_id?: string | undefined; destination_id?: string | undefined; topic?: string | undefined; eligible_for_retry?: boolean | undefined; time?: string | undefined; metadata?: { [k: string]: string; } | undefined; data: { [k: string]: any; }; }; /** @internal */ export declare const PublishRequest$outboundSchema: z.ZodType; export declare function publishRequestToJSON(publishRequest: PublishRequest): string; export declare function publishRequestFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=publishrequest.d.ts.map