import { HttpResponse, RequestConfig } from '../../http/types.js'; import { BaseService } from '../base-service.js'; import { WebPushTokenPayload } from '../common/web-push-token-payload.js'; import { InboxConfigPayload } from './models/inbox-config-payload.js'; import { SlackFinishInstallResponse } from './models/slack-finish-install-response.js'; import { SlackInstallation } from './models/slack-installation.js'; import { SlackStartInstall } from './models/slack-start-install.js'; import { SlackStartInstallResponseContent } from './models/slack-start-install-response-content.js'; import { WebPushStartInstallationResponse } from './models/web-push-start-installation-response.js'; /** * Service class for IntegrationsService operations. * Provides methods to interact with IntegrationsService-related API endpoints. * All methods return promises and handle request/response serialization automatically. */ export declare class IntegrationsService extends BaseService { /** * Creates a new installation of a Inbox integration for a user. This endpoint is used when an integration needs to be set up with user-specific credentials or configuration. * @param {RequestConfig} [requestConfig] - The request configuration for retry and validation. * @returns {Promise>} - OK */ saveInboxInstallation(body: InboxConfigPayload, requestConfig?: RequestConfig): Promise>; /** * Initiates the installation flow for an Inbox integration. This is the first step in a multi-step installation process where user authorization or external service configuration may be required. * @param {RequestConfig} [requestConfig] - The request configuration for retry and validation. * @returns {Promise>} - Created */ startInboxInstallation(requestConfig?: RequestConfig): Promise>; /** * Creates a new installation of a MagicBell SlackBot integration for a user. This endpoint is used when an integration needs to be set up with user-specific credentials or configuration. * @param {RequestConfig} [requestConfig] - The request configuration for retry and validation. * @returns {Promise>} - OK */ saveMagicbellSlackbotInstallation(body: SlackInstallation, requestConfig?: RequestConfig): Promise>; /** * Completes the installation flow for the MagicBell SlackBot integration. This endpoint is typically called after the user has completed any required authorization steps with MagicBell SlackBot. * @param {RequestConfig} [requestConfig] - The request configuration for retry and validation. * @returns {Promise>} - Created */ finishMagicbellSlackbotInstallation(body: SlackFinishInstallResponse, requestConfig?: RequestConfig): Promise>; /** * Initiates the installation flow for a MagicBell SlackBot integration. This is the first step in a multi-step installation process where user authorization or external service configuration may be required. * @param {RequestConfig} [requestConfig] - The request configuration for retry and validation. * @returns {Promise>} - Created */ startMagicbellSlackbotInstallation(body: SlackStartInstall, requestConfig?: RequestConfig): Promise>; /** * Creates a new installation of a Slack integration for a user. This endpoint is used when an integration needs to be set up with user-specific credentials or configuration. * @param {RequestConfig} [requestConfig] - The request configuration for retry and validation. * @returns {Promise>} - OK */ saveSlackInstallation(body: SlackInstallation, requestConfig?: RequestConfig): Promise>; /** * Completes the installation flow for the Slack integration. This endpoint is typically called after the user has completed any required authorization steps with Slack. * @param {RequestConfig} [requestConfig] - The request configuration for retry and validation. * @returns {Promise>} - Created */ finishSlackInstallation(body: SlackFinishInstallResponse, requestConfig?: RequestConfig): Promise>; /** * Initiates the installation flow for a Slack integration. This is the first step in a multi-step installation process where user authorization or external service configuration may be required. * @param {RequestConfig} [requestConfig] - The request configuration for retry and validation. * @returns {Promise>} - Created */ startSlackInstallation(body: SlackStartInstall, requestConfig?: RequestConfig): Promise>; /** * Creates a new installation of a Web Push integration for a user. This endpoint is used when an integration needs to be set up with user-specific credentials or configuration. * @param {RequestConfig} [requestConfig] - The request configuration for retry and validation. * @returns {Promise>} - OK */ saveWebPushInstallation(body: WebPushTokenPayload, requestConfig?: RequestConfig): Promise>; /** * Initiates the installation flow for a Web Push integration. This is the first step in a multi-step installation process where user authorization or external service configuration may be required. * @param {RequestConfig} [requestConfig] - The request configuration for retry and validation. * @returns {Promise>} - Created */ startWebPushInstallation(requestConfig?: RequestConfig): Promise>; } //# sourceMappingURL=integrations-service.d.ts.map