import * as z from "zod/v3"; import { Result as SafeParseResult } from "../../types/fp.js"; import * as components from "../components/index.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; /** * Channel endpoint creation request. The structure varies based on the type field. */ export type ChannelEndpointsControllerCreateChannelEndpointRequestBody = components.CreateSlackChannelEndpointDto | components.CreateSlackUserEndpointDto | components.CreateWebhookEndpointDto | components.CreatePhoneEndpointDto | components.CreateMsTeamsChannelEndpointDto | components.CreateMsTeamsUserEndpointDto; export type ChannelEndpointsControllerCreateChannelEndpointRequest = { /** * A header for idempotency purposes */ idempotencyKey?: string | undefined; /** * Channel endpoint creation request. The structure varies based on the type field. */ requestBody: components.CreateSlackChannelEndpointDto | components.CreateSlackUserEndpointDto | components.CreateWebhookEndpointDto | components.CreatePhoneEndpointDto | components.CreateMsTeamsChannelEndpointDto | components.CreateMsTeamsUserEndpointDto; }; export type ChannelEndpointsControllerCreateChannelEndpointResponse = { headers: { [k: string]: Array; }; result: components.GetChannelEndpointResponseDto; }; /** @internal */ export type ChannelEndpointsControllerCreateChannelEndpointRequestBody$Outbound = components.CreateSlackChannelEndpointDto$Outbound | components.CreateSlackUserEndpointDto$Outbound | components.CreateWebhookEndpointDto$Outbound | components.CreatePhoneEndpointDto$Outbound | components.CreateMsTeamsChannelEndpointDto$Outbound | components.CreateMsTeamsUserEndpointDto$Outbound; /** @internal */ export declare const ChannelEndpointsControllerCreateChannelEndpointRequestBody$outboundSchema: z.ZodType; export declare function channelEndpointsControllerCreateChannelEndpointRequestBodyToJSON(channelEndpointsControllerCreateChannelEndpointRequestBody: ChannelEndpointsControllerCreateChannelEndpointRequestBody): string; /** @internal */ export type ChannelEndpointsControllerCreateChannelEndpointRequest$Outbound = { "idempotency-key"?: string | undefined; RequestBody: components.CreateSlackChannelEndpointDto$Outbound | components.CreateSlackUserEndpointDto$Outbound | components.CreateWebhookEndpointDto$Outbound | components.CreatePhoneEndpointDto$Outbound | components.CreateMsTeamsChannelEndpointDto$Outbound | components.CreateMsTeamsUserEndpointDto$Outbound; }; /** @internal */ export declare const ChannelEndpointsControllerCreateChannelEndpointRequest$outboundSchema: z.ZodType; export declare function channelEndpointsControllerCreateChannelEndpointRequestToJSON(channelEndpointsControllerCreateChannelEndpointRequest: ChannelEndpointsControllerCreateChannelEndpointRequest): string; /** @internal */ export declare const ChannelEndpointsControllerCreateChannelEndpointResponse$inboundSchema: z.ZodType; export declare function channelEndpointsControllerCreateChannelEndpointResponseFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=channelendpointscontrollercreatechannelendpoint.d.ts.map