import * as z from "zod/v3"; import { ClosedEnum } from "../../types/enums.js"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; import { PhoneEndpointDto } from "./phoneendpointdto.js"; import { SlackChannelEndpointDto } from "./slackchannelendpointdto.js"; import { SlackUserEndpointDto } from "./slackuserendpointdto.js"; import { WebhookEndpointDto } from "./webhookendpointdto.js"; /** * The channel type (email, sms, push, chat, etc.). */ export declare const GetChannelEndpointResponseDtoChannel: { readonly InApp: "in_app"; readonly Email: "email"; readonly Sms: "sms"; readonly Chat: "chat"; readonly Push: "push"; }; /** * The channel type (email, sms, push, chat, etc.). */ export type GetChannelEndpointResponseDtoChannel = ClosedEnum; /** * The provider identifier (e.g., sendgrid, twilio, slack, etc.). */ export declare const GetChannelEndpointResponseDtoProviderId: { readonly Emailjs: "emailjs"; readonly Mailgun: "mailgun"; readonly Mailjet: "mailjet"; readonly Mandrill: "mandrill"; readonly Nodemailer: "nodemailer"; readonly Postmark: "postmark"; readonly Sendgrid: "sendgrid"; readonly Sendinblue: "sendinblue"; readonly Ses: "ses"; readonly Netcore: "netcore"; readonly InfobipEmail: "infobip-email"; readonly Resend: "resend"; readonly Plunk: "plunk"; readonly Mailersend: "mailersend"; readonly Mailtrap: "mailtrap"; readonly Clickatell: "clickatell"; readonly Outlook365: "outlook365"; readonly NovuEmail: "novu-email"; readonly Sparkpost: "sparkpost"; readonly EmailWebhook: "email-webhook"; readonly Braze: "braze"; readonly NovuEmailAgent: "novu-email-agent"; readonly Nexmo: "nexmo"; readonly Plivo: "plivo"; readonly Sms77: "sms77"; readonly SmsCentral: "sms-central"; readonly Sns: "sns"; readonly Telnyx: "telnyx"; readonly Twilio: "twilio"; readonly Gupshup: "gupshup"; readonly Firetext: "firetext"; readonly InfobipSms: "infobip-sms"; readonly BurstSms: "burst-sms"; readonly BulkSms: "bulk-sms"; readonly IsendSms: "isend-sms"; readonly FortySixElks: "forty-six-elks"; readonly Kannel: "kannel"; readonly Maqsam: "maqsam"; readonly Termii: "termii"; readonly AfricasTalking: "africas-talking"; readonly NovuSms: "novu-sms"; readonly Sendchamp: "sendchamp"; readonly GenericSms: "generic-sms"; readonly Clicksend: "clicksend"; readonly Bandwidth: "bandwidth"; readonly Messagebird: "messagebird"; readonly Simpletexting: "simpletexting"; readonly AzureSms: "azure-sms"; readonly RingCentral: "ring-central"; readonly BrevoSms: "brevo-sms"; readonly EazySms: "eazy-sms"; readonly Mobishastra: "mobishastra"; readonly AfroMessage: "afro-message"; readonly Unifonic: "unifonic"; readonly Smsmode: "smsmode"; readonly Imedia: "imedia"; readonly Sinch: "sinch"; readonly IsendproSms: "isendpro-sms"; readonly CmTelecom: "cm-telecom"; readonly Fcm: "fcm"; readonly Apns: "apns"; readonly Expo: "expo"; readonly OneSignal: "one-signal"; readonly Pushpad: "pushpad"; readonly PushWebhook: "push-webhook"; readonly PusherBeams: "pusher-beams"; readonly Appio: "appio"; readonly Novu: "novu"; readonly Slack: "slack"; readonly Discord: "discord"; readonly Msteams: "msteams"; readonly Mattermost: "mattermost"; readonly Ryver: "ryver"; readonly Zulip: "zulip"; readonly GrafanaOnCall: "grafana-on-call"; readonly Getstream: "getstream"; readonly RocketChat: "rocket-chat"; readonly WhatsappBusiness: "whatsapp-business"; readonly ChatWebhook: "chat-webhook"; readonly NovuSlack: "novu-slack"; readonly Anthropic: "anthropic"; }; /** * The provider identifier (e.g., sendgrid, twilio, slack, etc.). */ export type GetChannelEndpointResponseDtoProviderId = ClosedEnum; /** * Type of channel endpoint */ export declare const GetChannelEndpointResponseDtoType: { readonly SlackChannel: "slack_channel"; readonly SlackUser: "slack_user"; readonly Webhook: "webhook"; readonly Phone: "phone"; readonly MsTeamsChannel: "ms_teams_channel"; readonly MsTeamsUser: "ms_teams_user"; }; /** * Type of channel endpoint */ export type GetChannelEndpointResponseDtoType = ClosedEnum; /** * Endpoint data specific to the channel type */ export type Endpoint = SlackChannelEndpointDto | SlackUserEndpointDto | WebhookEndpointDto | PhoneEndpointDto; export type GetChannelEndpointResponseDto = { /** * The unique identifier of the channel endpoint. */ identifier: string; /** * The channel type (email, sms, push, chat, etc.). */ channel: GetChannelEndpointResponseDtoChannel | null; /** * The provider identifier (e.g., sendgrid, twilio, slack, etc.). */ providerId: GetChannelEndpointResponseDtoProviderId | null; /** * The identifier of the integration to use for this channel endpoint. */ integrationIdentifier: string | null; /** * The identifier of the channel connection used for this endpoint. */ connectionIdentifier: string | null; /** * The subscriber ID to which the channel endpoint is linked */ subscriberId: string | null; /** * The context of the channel connection */ contextKeys: Array; /** * Type of channel endpoint */ type: GetChannelEndpointResponseDtoType; /** * Endpoint data specific to the channel type */ endpoint: SlackChannelEndpointDto | SlackUserEndpointDto | WebhookEndpointDto | PhoneEndpointDto; /** * The timestamp indicating when the channel endpoint was created, in ISO 8601 format. */ createdAt: string; /** * The timestamp indicating when the channel endpoint was last updated, in ISO 8601 format. */ updatedAt: string; }; /** @internal */ export declare const GetChannelEndpointResponseDtoChannel$inboundSchema: z.ZodNativeEnum; /** @internal */ export declare const GetChannelEndpointResponseDtoProviderId$inboundSchema: z.ZodNativeEnum; /** @internal */ export declare const GetChannelEndpointResponseDtoType$inboundSchema: z.ZodNativeEnum; /** @internal */ export declare const Endpoint$inboundSchema: z.ZodType; export declare function endpointFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const GetChannelEndpointResponseDto$inboundSchema: z.ZodType; export declare function getChannelEndpointResponseDtoFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=getchannelendpointresponsedto.d.ts.map