import * as z from "zod/v3"; import { PhoneEndpointDto, PhoneEndpointDto$Outbound } from "./phoneendpointdto.js"; /** * Rich context object with id and optional data */ export type CreatePhoneEndpointDtoContext2 = { id: string; /** * Optional additional context data */ data?: { [k: string]: any; } | undefined; }; export type CreatePhoneEndpointDtoContext = CreatePhoneEndpointDtoContext2 | string; export type CreatePhoneEndpointDto = { /** * 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]: CreatePhoneEndpointDtoContext2 | 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: "phone"; /** * Phone endpoint data */ endpoint: PhoneEndpointDto; }; /** @internal */ export type CreatePhoneEndpointDtoContext2$Outbound = { id: string; data?: { [k: string]: any; } | undefined; }; /** @internal */ export declare const CreatePhoneEndpointDtoContext2$outboundSchema: z.ZodType; export declare function createPhoneEndpointDtoContext2ToJSON(createPhoneEndpointDtoContext2: CreatePhoneEndpointDtoContext2): string; /** @internal */ export type CreatePhoneEndpointDtoContext$Outbound = CreatePhoneEndpointDtoContext2$Outbound | string; /** @internal */ export declare const CreatePhoneEndpointDtoContext$outboundSchema: z.ZodType; export declare function createPhoneEndpointDtoContextToJSON(createPhoneEndpointDtoContext: CreatePhoneEndpointDtoContext): string; /** @internal */ export type CreatePhoneEndpointDto$Outbound = { identifier?: string | undefined; subscriberId: string; context?: { [k: string]: CreatePhoneEndpointDtoContext2$Outbound | string; } | undefined; integrationIdentifier: string; connectionIdentifier?: string | undefined; type: "phone"; endpoint: PhoneEndpointDto$Outbound; }; /** @internal */ export declare const CreatePhoneEndpointDto$outboundSchema: z.ZodType; export declare function createPhoneEndpointDtoToJSON(createPhoneEndpointDto: CreatePhoneEndpointDto): string; //# sourceMappingURL=createphoneendpointdto.d.ts.map