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 { AuthDto } from "./authdto.js"; import { WorkspaceDto } from "./workspacedto.js"; /** * The channel type (email, sms, push, chat, etc.). */ export declare const Channel: { 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 Channel = ClosedEnum; /** * The provider identifier (e.g., sendgrid, twilio, slack, etc.). */ export declare const ProviderId: { 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 ProviderId = ClosedEnum; export type GetChannelConnectionResponseDto = { /** * The unique identifier of the channel endpoint. */ identifier: string; /** * The channel type (email, sms, push, chat, etc.). */ channel: Channel | null; /** * The provider identifier (e.g., sendgrid, twilio, slack, etc.). */ providerId: ProviderId | null; /** * The identifier of the integration to use for this channel endpoint. */ integrationIdentifier: string | null; /** * The subscriber ID to which the channel connection is linked */ subscriberId: string | null; /** * The context of the channel connection */ contextKeys: Array; workspace: WorkspaceDto; auth: AuthDto; /** * 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 Channel$inboundSchema: z.ZodNativeEnum; /** @internal */ export declare const ProviderId$inboundSchema: z.ZodNativeEnum; /** @internal */ export declare const GetChannelConnectionResponseDto$inboundSchema: z.ZodType; export declare function getChannelConnectionResponseDtoFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=getchannelconnectionresponsedto.d.ts.map