import { IWebhookTest, IWebhooksSaveData, ISlackSubscription, IEmailSMSConfigResponse, IEmailSMSSubscriptionResponse, ISlackChannel, ISlackConfigurations, IWebhookLog, ICategory, IChannelsMap } from './interfaces'; import { BaseApiClient } from '../BaseApiClient'; export declare class ConnectivityApi extends BaseApiClient { constructor(appName: string); /** Get Slack configuration */ getSlackConfiguration: () => Promise; /** Get Slack scope */ getSlackScope: () => Promise; /** Get Slack channels */ getSlackChannels: () => Promise; /** * Post Slack configuration * @param data Slack subscription data */ postSlackConfiguration: (data: ISlackSubscription) => Promise; /** * Delete Slack configuration * @param data Required Slack subscription data */ deleteSlackConfiguration: (data: Required) => Promise; /** * Post Slack code * @param code Slack authorization code */ postSlackCode: (code: string) => Promise; /** Get email configuration */ getEmailConfiguration: () => Promise; /** * Post email configuration * @param data Email configuration data */ postEmailConfiguration: ({ eventKey, ...data }: IEmailSMSConfigResponse) => Promise; /** * Patch email configuration * @param enabled Email configuration enabled status * @param eventKey Email event key */ patchEmailConfiguration: ({ eventKey, enabled, }: Pick) => Promise; /** * Delete email subscriptions * @param eventKey Email event key * @param subscriptionId Email subscription ID */ deleteEmailSubscriptions: (eventKey: string, subscriptionId: string) => Promise; /** * Put email subscriptions * @param subscriptionId Email subscription ID * @param eventKey Email event key * @param data Email subscription data */ putEmailSubscriptions: (subscriptionId: string, eventKey: string, data: IEmailSMSSubscriptionResponse) => Promise; /** * Delete email configuration * @param eventKey Email event key */ deleteEmailConfiguration: (eventKey: string) => Promise; /** Get SMS configuration */ getSMSConfiguration: () => Promise; /** * Post SMS configuration * @param data SMS configuration data */ postSMSConfiguration: ({ eventKey, ...data }: IEmailSMSConfigResponse) => Promise; /** * Patch SMS configuration * @param enabled SMS configuration enabled status * @param eventKey SMS event key */ patchSMSConfiguration: ({ eventKey, enabled, }: Pick) => Promise; /** * Delete SMS subscriptions * @param eventKey SMS event key * @param subscriptionId SMS subscription ID */ deleteSMSSubscriptions: (eventKey: string, subscriptionId: string) => Promise; /** * Put SMS subscriptions * @param subscriptionId SMS subscription ID * @param eventKey SMS event key * @param data SMS subscription data */ putSMSSubscriptions: (subscriptionId: string, eventKey: string, data: IEmailSMSSubscriptionResponse) => Promise; /** * Delete SMS configuration * @param eventKey SMS event key */ deleteSMSConfiguration: (eventKey: string) => Promise; /** Get webhooks configurations */ getWebhooksConfigurations: () => Promise; /** * Post webhooks configuration * @param data Webhooks save data */ postWebhooksConfiguration: (data: IWebhooksSaveData) => Promise; /** * Delete webhooks configuration * @param id Webhook ID */ deleteWebhooksConfiguration: (id: string) => Promise; /** * Get webhook log * @param id Webhook ID * @param offset Pagination offset * @param limit Pagination limit */ getWebhookLog: (id: string, offset?: number, limit?: number) => Promise; /** * Post webhook test * @param data Webhook test data */ postWebhookTest: (data: IWebhookTest) => Promise; /** * Post webhook retry * @param id Webhook log ID */ postWebhookRetry: (id: string) => Promise; /** Get event categories */ getCategories: () => Promise; /** * Get channel maps * @param channels Channel names */ getChannelMaps: (channels: string) => Promise; } declare const _default: ConnectivityApi; export default _default;