import { WebexSDK } from '../types'; import type { EntryPointListResponse, EntryPointSearchParams } from '../types'; /** * EntryPoint class for managing Webex Contact Center entry points. * Provides functionality to fetch, search, and paginate through entry points. * * @class EntryPoint * @public * @example * ```typescript * import Webex from 'webex'; * * const webex = new Webex({ credentials: 'YOUR_ACCESS_TOKEN' }); * const cc = webex.cc; * * // Register and login first * await cc.register(); * await cc.stationLogin({ teamId: 'team123', loginOption: 'BROWSER' }); * * // Get EntryPoint API instance from ContactCenter * const entryPointAPI = cc.entryPoint; * * // Get all entry points with pagination * const response = await entryPointAPI.getEntryPoints({ * page: 0, * pageSize: 50 * }); * * // Search for specific entry points * const searchResults = await entryPointAPI.searchEntryPoints({ * search: 'support', * filter: 'type=="voice"' * }); * ``` */ export declare class EntryPoint { private webexRequest; private webex; private metricsManager; private pageCache; /** * Creates an instance of EntryPoint * @param {WebexSDK} webex - The Webex SDK instance * @public */ constructor(webex: WebexSDK); /** * Fetches entry points for the organization with pagination support * @param {EntryPointSearchParams} [params] - Search and pagination parameters * @returns {Promise} Promise resolving to paginated entry points * @throws {Error} If the API call fails * @public * @example * ```typescript * // Get first page of entry points * const response = await entryPointAPI.getEntryPoints(); * * // Get specific page with custom page size * const response = await entryPointAPI.getEntryPoints({ * page: 2, * pageSize: 25 * }); * ``` */ getEntryPoints(params?: EntryPointSearchParams): Promise; } export default EntryPoint;