import { HttpResponse, RequestConfig } from '../../http/types.js'; import { BaseService } from '../base-service.js'; import { ApnsConfigCollection } from './models/apns-config-collection.js'; import { ApnsConfigPayload } from './models/apns-config-payload.js'; import { EventSourceConfigCollection } from './models/event-source-config-collection.js'; import { EventSourceConfigPayload } from './models/event-source-config-payload.js'; import { ExpoConfigCollection } from './models/expo-config-collection.js'; import { ExpoConfigPayload } from './models/expo-config-payload.js'; import { FcmConfigCollection } from './models/fcm-config-collection.js'; import { FcmConfigPayload } from './models/fcm-config-payload.js'; import { GithubConfigCollection } from './models/github-config-collection.js'; import { GithubConfigPayload } from './models/github-config-payload.js'; import { InboxConfigCollection } from './models/inbox-config-collection.js'; import { InboxConfigPayload } from './models/inbox-config-payload.js'; import { IntegrationConfigCollection } from './models/integration-config-collection.js'; import { MailgunConfigCollection } from './models/mailgun-config-collection.js'; import { MailgunConfigPayload } from './models/mailgun-config-payload.js'; import { PingConfigCollection } from './models/ping-config-collection.js'; import { PingConfigPayload } from './models/ping-config-payload.js'; import { SendgridConfigCollection } from './models/sendgrid-config-collection.js'; import { SendgridConfigPayload } from './models/sendgrid-config-payload.js'; import { SesConfigCollection } from './models/ses-config-collection.js'; import { SesConfigPayload } from './models/ses-config-payload.js'; import { SlackBotConfigCollection } from './models/slack-bot-config-collection.js'; import { SlackBotConfigPayload } from './models/slack-bot-config-payload.js'; import { SlackConfigCollection } from './models/slack-config-collection.js'; import { SlackConfigPayload } from './models/slack-config-payload.js'; import { SmtpConfig } from './models/smtp-config.js'; import { SmtpConfigObjectCollection } from './models/smtp-config-object-collection.js'; import { StripeConfigCollection } from './models/stripe-config-collection.js'; import { StripeConfigPayload } from './models/stripe-config-payload.js'; import { TwilioConfigCollection } from './models/twilio-config-collection.js'; import { TwilioConfigPayload } from './models/twilio-config-payload.js'; import { WebpushConfigCollection } from './models/webpush-config-collection.js'; import { WebpushConfigPayload } from './models/webpush-config-payload.js'; import { DeleteApnsIntegrationParams, DeleteEventsourceIntegrationParams, DeleteExpoIntegrationParams, DeleteFcmIntegrationParams, DeleteGithubIntegrationParams, DeleteInboxIntegrationParams, DeleteMagicbellSlackbotIntegrationParams, DeleteMailgunIntegrationParams, DeletePingEmailIntegrationParams, DeleteSendgridIntegrationParams, DeleteSesIntegrationParams, DeleteSlackIntegrationParams, DeleteSmtpIntegrationParams, DeleteStripeIntegrationParams, DeleteTwilioIntegrationParams, DeleteWebPushIntegrationParams, ListIntegrationsParams } from './request-params.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 { /** * Lists all available and configured integrations for the project. Returns a summary of each integration including its type, status, and basic configuration information. * @param {number} [params.limit] - defines the maximum number of items to return per page (default: 50) * @param {string} [params.startingAfter] - a cursor for use in pagination, points to the last ID in previous page * @param {string} [params.endingBefore] - a cursor for use in pagination, points to the first ID in next page * @param {RequestConfig} [requestConfig] - The request configuration for retry and validation. * @returns {Promise>} - OK */ listIntegrations(params?: ListIntegrationsParams, requestConfig?: RequestConfig): Promise>; /** * Retrieves the current APNs integration configurations for a specific integration type in the project. Returns configuration details and status information. * @param {RequestConfig} [requestConfig] - The request configuration for retry and validation. * @returns {Promise>} - OK */ listApnsIntegrations(requestConfig?: RequestConfig): Promise>; /** * Updates or creates the APNs integration for the project. * @param {RequestConfig} [requestConfig] - The request configuration for retry and validation. * @returns {Promise>} - OK */ saveApnsIntegration(body: ApnsConfigPayload, requestConfig?: RequestConfig): Promise>; /** * Deletes the APNs integration configuration from the project. This will disable the integration's functionality within the project. * @param {string} [params.id] - the unique identifier of the integration to be deleted * @param {RequestConfig} [requestConfig] - The request configuration for retry and validation. * @returns {Promise>} - No Content */ deleteApnsIntegration(params?: DeleteApnsIntegrationParams, requestConfig?: RequestConfig): Promise>; /** * Retrieves the current EventSource integration configurations for a specific integration type in the project. Returns configuration details and status information. * @param {RequestConfig} [requestConfig] - The request configuration for retry and validation. * @returns {Promise>} - OK */ listEventsourceIntegrations(requestConfig?: RequestConfig): Promise>; /** * Updates or creates the EventSource integration for the project. * @param {RequestConfig} [requestConfig] - The request configuration for retry and validation. * @returns {Promise>} - OK */ saveEventsourceIntegration(body: EventSourceConfigPayload, requestConfig?: RequestConfig): Promise>; /** * Deletes the EventSource integration configuration from the project. This will disable the integration's functionality within the project. * @param {string} [params.id] - the unique identifier of the integration to be deleted * @param {RequestConfig} [requestConfig] - The request configuration for retry and validation. * @returns {Promise>} - No Content */ deleteEventsourceIntegration(params?: DeleteEventsourceIntegrationParams, requestConfig?: RequestConfig): Promise>; /** * Retrieves the current Expo integration configurations for a specific integration type in the project. Returns configuration details and status information. * @param {RequestConfig} [requestConfig] - The request configuration for retry and validation. * @returns {Promise>} - OK */ listExpoIntegrations(requestConfig?: RequestConfig): Promise>; /** * Updates or creates the Expo integration for the project. * @param {RequestConfig} [requestConfig] - The request configuration for retry and validation. * @returns {Promise>} - OK */ saveExpoIntegration(body: ExpoConfigPayload, requestConfig?: RequestConfig): Promise>; /** * Deletes the Expo integration configuration from the project. This will disable the integration's functionality within the project. * @param {string} [params.id] - the unique identifier of the integration to be deleted * @param {RequestConfig} [requestConfig] - The request configuration for retry and validation. * @returns {Promise>} - No Content */ deleteExpoIntegration(params?: DeleteExpoIntegrationParams, requestConfig?: RequestConfig): Promise>; /** * Retrieves the current FCM integration configurations for a specific integration type in the project. Returns configuration details and status information. * @param {RequestConfig} [requestConfig] - The request configuration for retry and validation. * @returns {Promise>} - OK */ listFcmIntegrations(requestConfig?: RequestConfig): Promise>; /** * Updates or creates the FCM integration for the project. * @param {RequestConfig} [requestConfig] - The request configuration for retry and validation. * @returns {Promise>} - OK */ saveFcmIntegration(body: FcmConfigPayload, requestConfig?: RequestConfig): Promise>; /** * Deletes the FCM integration configuration from the project. This will disable the integration's functionality within the project. * @param {string} [params.id] - the unique identifier of the integration to be deleted * @param {RequestConfig} [requestConfig] - The request configuration for retry and validation. * @returns {Promise>} - No Content */ deleteFcmIntegration(params?: DeleteFcmIntegrationParams, requestConfig?: RequestConfig): Promise>; /** * Retrieves the current GitHub integration configurations for a specific integration type in the project. Returns configuration details and status information. * @param {RequestConfig} [requestConfig] - The request configuration for retry and validation. * @returns {Promise>} - OK */ listGithubIntegrations(requestConfig?: RequestConfig): Promise>; /** * Updates or creates the GitHub integration for the project. * @param {RequestConfig} [requestConfig] - The request configuration for retry and validation. * @returns {Promise>} - OK */ saveGithubIntegration(body: GithubConfigPayload, requestConfig?: RequestConfig): Promise>; /** * Deletes the GitHub integration configuration from the project. This will disable the integration's functionality within the project. * @param {string} [params.id] - the unique identifier of the integration to be deleted * @param {RequestConfig} [requestConfig] - The request configuration for retry and validation. * @returns {Promise>} - No Content */ deleteGithubIntegration(params?: DeleteGithubIntegrationParams, requestConfig?: RequestConfig): Promise>; /** * Retrieves the current Inbox integration configurations for a specific integration type in the project. Returns configuration details and status information. * @param {RequestConfig} [requestConfig] - The request configuration for retry and validation. * @returns {Promise>} - OK */ listInboxIntegrations(requestConfig?: RequestConfig): Promise>; /** * Updates or creates the Inbox integration for the project. * @param {RequestConfig} [requestConfig] - The request configuration for retry and validation. * @returns {Promise>} - OK */ saveInboxIntegration(body: InboxConfigPayload, requestConfig?: RequestConfig): Promise>; /** * Deletes the Inbox integration configuration from the project. This will disable the integration's functionality within the project. * @param {string} [params.id] - the unique identifier of the integration to be deleted * @param {RequestConfig} [requestConfig] - The request configuration for retry and validation. * @returns {Promise>} - No Content */ deleteInboxIntegration(params?: DeleteInboxIntegrationParams, requestConfig?: RequestConfig): Promise>; /** * Retrieves the current MagicBell SlackBot integration configurations for a specific integration type in the project. Returns configuration details and status information. * @param {RequestConfig} [requestConfig] - The request configuration for retry and validation. * @returns {Promise>} - OK */ listMagicbellSlackbotIntegrations(requestConfig?: RequestConfig): Promise>; /** * Updates or creates the MagicBell SlackBot integration for the project. * @param {RequestConfig} [requestConfig] - The request configuration for retry and validation. * @returns {Promise>} - OK */ saveMagicbellSlackbotIntegration(body: SlackBotConfigPayload, requestConfig?: RequestConfig): Promise>; /** * Deletes the MagicBell SlackBot integration configuration from the project. This will disable the integration's functionality within the project. * @param {string} [params.id] - the unique identifier of the integration to be deleted * @param {RequestConfig} [requestConfig] - The request configuration for retry and validation. * @returns {Promise>} - No Content */ deleteMagicbellSlackbotIntegration(params?: DeleteMagicbellSlackbotIntegrationParams, requestConfig?: RequestConfig): Promise>; /** * Retrieves the current Mailgun integration configurations for a specific integration type in the project. Returns configuration details and status information. * @param {RequestConfig} [requestConfig] - The request configuration for retry and validation. * @returns {Promise>} - OK */ listMailgunIntegrations(requestConfig?: RequestConfig): Promise>; /** * Updates or creates the Mailgun integration for the project. * @param {RequestConfig} [requestConfig] - The request configuration for retry and validation. * @returns {Promise>} - OK */ saveMailgunIntegration(body: MailgunConfigPayload, requestConfig?: RequestConfig): Promise>; /** * Deletes the Mailgun integration configuration from the project. This will disable the integration's functionality within the project. * @param {string} [params.id] - the unique identifier of the integration to be deleted * @param {RequestConfig} [requestConfig] - The request configuration for retry and validation. * @returns {Promise>} - No Content */ deleteMailgunIntegration(params?: DeleteMailgunIntegrationParams, requestConfig?: RequestConfig): Promise>; /** * Retrieves the current Ping Email integration configurations for a specific integration type in the project. Returns configuration details and status information. * @param {RequestConfig} [requestConfig] - The request configuration for retry and validation. * @returns {Promise>} - OK */ listPingEmailIntegrations(requestConfig?: RequestConfig): Promise>; /** * Updates or creates the Ping Email integration for the project. * @param {RequestConfig} [requestConfig] - The request configuration for retry and validation. * @returns {Promise>} - OK */ savePingEmailIntegration(body: PingConfigPayload, requestConfig?: RequestConfig): Promise>; /** * Deletes the Ping Email integration configuration from the project. This will disable the integration's functionality within the project. * @param {string} [params.id] - the unique identifier of the integration to be deleted * @param {RequestConfig} [requestConfig] - The request configuration for retry and validation. * @returns {Promise>} - No Content */ deletePingEmailIntegration(params?: DeletePingEmailIntegrationParams, requestConfig?: RequestConfig): Promise>; /** * Retrieves the current SendGrid integration configurations for a specific integration type in the project. Returns configuration details and status information. * @param {RequestConfig} [requestConfig] - The request configuration for retry and validation. * @returns {Promise>} - OK */ listSendgridIntegrations(requestConfig?: RequestConfig): Promise>; /** * Updates or creates the SendGrid integration for the project. * @param {RequestConfig} [requestConfig] - The request configuration for retry and validation. * @returns {Promise>} - OK */ saveSendgridIntegration(body: SendgridConfigPayload, requestConfig?: RequestConfig): Promise>; /** * Deletes the SendGrid integration configuration from the project. This will disable the integration's functionality within the project. * @param {string} [params.id] - the unique identifier of the integration to be deleted * @param {RequestConfig} [requestConfig] - The request configuration for retry and validation. * @returns {Promise>} - No Content */ deleteSendgridIntegration(params?: DeleteSendgridIntegrationParams, requestConfig?: RequestConfig): Promise>; /** * Retrieves the current Amazon SES integration configurations for a specific integration type in the project. Returns configuration details and status information. * @param {RequestConfig} [requestConfig] - The request configuration for retry and validation. * @returns {Promise>} - OK */ listSesIntegrations(requestConfig?: RequestConfig): Promise>; /** * Updates or creates the Amazon SES integration for the project. * @param {RequestConfig} [requestConfig] - The request configuration for retry and validation. * @returns {Promise>} - OK */ saveSesIntegration(body: SesConfigPayload, requestConfig?: RequestConfig): Promise>; /** * Deletes the Amazon SES integration configuration from the project. This will disable the integration's functionality within the project. * @param {string} [params.id] - the unique identifier of the integration to be deleted * @param {RequestConfig} [requestConfig] - The request configuration for retry and validation. * @returns {Promise>} - No Content */ deleteSesIntegration(params?: DeleteSesIntegrationParams, requestConfig?: RequestConfig): Promise>; /** * Retrieves the current Slack integration configurations for a specific integration type in the project. Returns configuration details and status information. * @param {RequestConfig} [requestConfig] - The request configuration for retry and validation. * @returns {Promise>} - OK */ listSlackIntegrations(requestConfig?: RequestConfig): Promise>; /** * Updates or creates the Slack integration for the project. * @param {RequestConfig} [requestConfig] - The request configuration for retry and validation. * @returns {Promise>} - OK */ saveSlackIntegration(body: SlackConfigPayload, requestConfig?: RequestConfig): Promise>; /** * Deletes the Slack integration configuration from the project. This will disable the integration's functionality within the project. * @param {string} [params.id] - the unique identifier of the integration to be deleted * @param {RequestConfig} [requestConfig] - The request configuration for retry and validation. * @returns {Promise>} - No Content */ deleteSlackIntegration(params?: DeleteSlackIntegrationParams, requestConfig?: RequestConfig): Promise>; /** * Retrieves the current SMTP integration configurations for a specific integration type in the project. Returns configuration details and status information. * @param {RequestConfig} [requestConfig] - The request configuration for retry and validation. * @returns {Promise>} - OK */ listSmtpIntegrations(requestConfig?: RequestConfig): Promise>; /** * Updates or creates the SMTP integration for the project. * @param {RequestConfig} [requestConfig] - The request configuration for retry and validation. * @returns {Promise>} - OK */ saveSmtpIntegration(body: SmtpConfig, requestConfig?: RequestConfig): Promise>; /** * Deletes the SMTP integration configuration from the project. This will disable the integration's functionality within the project. * @param {string} [params.id] - the unique identifier of the integration to be deleted * @param {RequestConfig} [requestConfig] - The request configuration for retry and validation. * @returns {Promise>} - No Content */ deleteSmtpIntegration(params?: DeleteSmtpIntegrationParams, requestConfig?: RequestConfig): Promise>; /** * Retrieves the current Stripe integration configurations for a specific integration type in the project. Returns configuration details and status information. * @param {RequestConfig} [requestConfig] - The request configuration for retry and validation. * @returns {Promise>} - OK */ listStripeIntegrations(requestConfig?: RequestConfig): Promise>; /** * Updates or creates the Stripe integration for the project. * @param {RequestConfig} [requestConfig] - The request configuration for retry and validation. * @returns {Promise>} - OK */ saveStripeIntegration(body: StripeConfigPayload, requestConfig?: RequestConfig): Promise>; /** * Deletes the Stripe integration configuration from the project. This will disable the integration's functionality within the project. * @param {string} [params.id] - the unique identifier of the integration to be deleted * @param {RequestConfig} [requestConfig] - The request configuration for retry and validation. * @returns {Promise>} - No Content */ deleteStripeIntegration(params?: DeleteStripeIntegrationParams, requestConfig?: RequestConfig): Promise>; /** * Retrieves the current Twilio integration configurations for a specific integration type in the project. Returns configuration details and status information. * @param {RequestConfig} [requestConfig] - The request configuration for retry and validation. * @returns {Promise>} - OK */ listTwilioIntegrations(requestConfig?: RequestConfig): Promise>; /** * Updates or creates the Twilio integration for the project. * @param {RequestConfig} [requestConfig] - The request configuration for retry and validation. * @returns {Promise>} - OK */ saveTwilioIntegration(body: TwilioConfigPayload, requestConfig?: RequestConfig): Promise>; /** * Deletes the Twilio integration configuration from the project. This will disable the integration's functionality within the project. * @param {string} [params.id] - the unique identifier of the integration to be deleted * @param {RequestConfig} [requestConfig] - The request configuration for retry and validation. * @returns {Promise>} - No Content */ deleteTwilioIntegration(params?: DeleteTwilioIntegrationParams, requestConfig?: RequestConfig): Promise>; /** * Retrieves the current Web Push integration configurations for a specific integration type in the project. Returns configuration details and status information. * @param {RequestConfig} [requestConfig] - The request configuration for retry and validation. * @returns {Promise>} - OK */ listWebPushIntegrations(requestConfig?: RequestConfig): Promise>; /** * Updates or creates the Web Push integration for the project. * @param {RequestConfig} [requestConfig] - The request configuration for retry and validation. * @returns {Promise>} - OK */ saveWebPushIntegration(body: WebpushConfigPayload, requestConfig?: RequestConfig): Promise>; /** * Deletes the Web Push integration configuration from the project. This will disable the integration's functionality within the project. * @param {string} [params.id] - the unique identifier of the integration to be deleted * @param {RequestConfig} [requestConfig] - The request configuration for retry and validation. * @returns {Promise>} - No Content */ deleteWebPushIntegration(params?: DeleteWebPushIntegrationParams, requestConfig?: RequestConfig): Promise>; } //# sourceMappingURL=integrations-service.d.ts.map