import { type INotificationChannelsQuery, type IOrganizationNotificationChannelService } from "@gooddata/sdk-backend-spi"; import { type INotificationChannelExternalRecipient, type INotificationChannelMetadataObject, type INotificationChannelMetadataObjectDefinition, type INotificationChannelTestResponse, type ToNotificationChannelMetadataObject } from "@gooddata/sdk-model"; import { type TigerAuthenticatedCallGuard } from "../../types/index.js"; export declare class OrganizationNotificationChannelService implements IOrganizationNotificationChannelService { readonly authCall: TigerAuthenticatedCallGuard; constructor(authCall: TigerAuthenticatedCallGuard); /** * Test notification channel * This method will test the notification channel by sending a test notification to the destination. * * @param channel - definition of the notification channel * @param externalRecipients - external recipients of the test result * @returns Promise resolved with the response from the test. * * @beta */ testNotificationChannel: (channel: INotificationChannelMetadataObject | INotificationChannelMetadataObjectDefinition, externalRecipients?: INotificationChannelExternalRecipient[] | undefined) => Promise; /** * Get notification channel by id * @param id - id of the notification channel * @returns Promise resolved with notification channel. * * @beta */ getNotificationChannel(id: string): Promise; /** * Create new notification channel * * @param notificationChannel - definition of the notification channel * @returns Promise resolved with created notification channel. * * @beta */ createNotificationChannel(notificationChannel: T): Promise>; /** * Update existing notification channel * * @param notificationChannel - definition of the notification channel * @returns Promise resolved with updated notification channel. * * @beta */ updateNotificationChannel(notificationChannel: T): Promise; /** * Delete notification channel. * * @param id - id of the notification channel * @returns Promise resolved when the notification channel is deleted. * * @beta */ deleteNotificationChannel(id: string): Promise; /** * Query notification channels * * @beta */ getNotificationChannelsQuery: () => INotificationChannelsQuery; /** * @internal */ private updateSmtpNotificationChannel; /** * @internal */ private updateWebhookNotificationChannel; } //# sourceMappingURL=notificationChannels.d.ts.map