import { type INotificationChannelExternalRecipient, type INotificationChannelMetadataObject, type INotificationChannelMetadataObjectDefinition, type INotificationChannelTestResponse } from "@gooddata/sdk-model"; import { type INotificationChannelsQuery } from "./query.js"; /** * This service provides access to organization notifications channels. * * @beta */ export interface IOrganizationNotificationChannelService { /** * Test notification channel * * @param channel - definition of the channel * @param notificationId - id of the notification to test if its already created * @param externalRecipients - external recipients of the test result * @returns Promise resolved with test response. */ testNotificationChannel(channel: INotificationChannelMetadataObjectDefinition, externalRecipients?: INotificationChannelExternalRecipient[]): Promise; getNotificationChannel(id: string): Promise; createNotificationChannel(notificationChannel: INotificationChannelMetadataObjectDefinition): Promise; /** * Update existing notification channel * * @param notificationChannel - definition of the notification channel * @returns Promise resolved with updated notification channel. */ updateNotificationChannel(notificationChannel: INotificationChannelMetadataObject): Promise; /** * Delete notification channel * * @param id - id of the notification channel * @returns Promise resolved when the notification channel is deleted. */ deleteNotificationChannel(id: string): Promise; /** * Query list of notification channels */ getNotificationChannelsQuery(): INotificationChannelsQuery; } //# sourceMappingURL=index.d.ts.map