import type { IIntegration, IIntegrationHistory } from '@rocket.chat/core-typings'; import type { IntegrationsCreateProps } from './IntegrationsCreateProps'; import type { IntegrationsGetProps } from './IntegrationsGetProps'; import type { IntegrationsHistoryProps } from './IntegrationsHistoryProps'; import type { IntegrationsListProps } from './IntegrationsListProps'; import type { IntegrationsRemoveProps } from './IntegrationsRemoveProps'; import type { IntegrationsUpdateProps } from './IntegrationsUpdateProps'; import type { PaginatedResult } from '../../helpers/PaginatedResult'; export type IntegrationsEndpoints = { '/v1/integrations.create': { POST: (params: IntegrationsCreateProps) => { integration: IIntegration; }; }; '/v1/integrations.history': { GET: (params: IntegrationsHistoryProps) => PaginatedResult<{ history: IIntegrationHistory[]; items: number; }>; }; '/v1/integrations.list': { GET: (params: IntegrationsListProps) => PaginatedResult<{ integrations: IIntegration[]; items: number; }>; }; '/v1/integrations.remove': { POST: (params: IntegrationsRemoveProps) => { integration: IIntegration; }; }; '/v1/integrations.get': { GET: (params: IntegrationsGetProps) => { integration: IIntegration; }; }; '/v1/integrations.update': { PUT: (params: IntegrationsUpdateProps) => { integration: IIntegration | null; }; }; }; //# sourceMappingURL=integrations.d.ts.map