import * as z from "zod/v3"; import { WebhookEndpointDto, WebhookEndpointDto$Outbound } from "./webhookendpointdto.js"; /** * Rich context object with id and optional data */ export type CreateWebhookEndpointDtoContext2 = { id: string; /** * Optional additional context data */ data?: { [k: string]: any; } | undefined; }; export type CreateWebhookEndpointDtoContext = CreateWebhookEndpointDtoContext2 | string; export type CreateWebhookEndpointDto = { /** * The unique identifier for the channel endpoint. If not provided, one will be generated automatically. */ identifier?: string | undefined; /** * The subscriber ID to which the channel endpoint is linked */ subscriberId: string; context?: { [k: string]: CreateWebhookEndpointDtoContext2 | string; } | undefined; /** * The identifier of the integration to use for this channel endpoint. */ integrationIdentifier: string; /** * The identifier of the channel connection to use for this channel endpoint. */ connectionIdentifier?: string | undefined; /** * Type of channel endpoint */ type: "webhook"; /** * Webhook endpoint data */ endpoint: WebhookEndpointDto; }; /** @internal */ export type CreateWebhookEndpointDtoContext2$Outbound = { id: string; data?: { [k: string]: any; } | undefined; }; /** @internal */ export declare const CreateWebhookEndpointDtoContext2$outboundSchema: z.ZodType; export declare function createWebhookEndpointDtoContext2ToJSON(createWebhookEndpointDtoContext2: CreateWebhookEndpointDtoContext2): string; /** @internal */ export type CreateWebhookEndpointDtoContext$Outbound = CreateWebhookEndpointDtoContext2$Outbound | string; /** @internal */ export declare const CreateWebhookEndpointDtoContext$outboundSchema: z.ZodType; export declare function createWebhookEndpointDtoContextToJSON(createWebhookEndpointDtoContext: CreateWebhookEndpointDtoContext): string; /** @internal */ export type CreateWebhookEndpointDto$Outbound = { identifier?: string | undefined; subscriberId: string; context?: { [k: string]: CreateWebhookEndpointDtoContext2$Outbound | string; } | undefined; integrationIdentifier: string; connectionIdentifier?: string | undefined; type: "webhook"; endpoint: WebhookEndpointDto$Outbound; }; /** @internal */ export declare const CreateWebhookEndpointDto$outboundSchema: z.ZodType; export declare function createWebhookEndpointDtoToJSON(createWebhookEndpointDto: CreateWebhookEndpointDto): string; //# sourceMappingURL=createwebhookendpointdto.d.ts.map