import type { BaseClientOptions, BaseRequestOptions } from "../../../../BaseClient.js"; import * as core from "../../../../core/index.js"; import * as Pinnacle from "../../../index.js"; import { Agents } from "../resources/agents/client/Client.js"; import { Test } from "../resources/test/client/Client.js"; import { WhitelistedNumbers } from "../resources/whitelistedNumbers/client/Client.js"; export declare namespace Rcs { interface Options extends BaseClientOptions { } interface RequestOptions extends BaseRequestOptions { } } export declare class Rcs { protected readonly _options: Rcs.Options; protected _agents: Agents | undefined; protected _whitelistedNumbers: WhitelistedNumbers | undefined; protected _test: Test | undefined; constructor(_options: Rcs.Options); get agents(): Agents; get whitelistedNumbers(): WhitelistedNumbers; get test(): Test; /** * Retrieve details of an RCS agent by its ID. * * Returns the agent's configuration including display name, description, logo, hero image, * contact information, and other settings. * * @param {string} agentId - The RCS agent ID (must be prefixed with `agent_`). * @param {Rcs.RequestOptions} requestOptions - Request-specific configuration. * * @throws {@link Pinnacle.BadRequestError} * @throws {@link Pinnacle.UnauthorizedError} * @throws {@link Pinnacle.ForbiddenError} * @throws {@link Pinnacle.NotFoundError} * @throws {@link Pinnacle.InternalServerError} * * @example * await client.rcs.getAgent("agent_abc123def456") */ getAgent(agentId: string, requestOptions?: Rcs.RequestOptions): core.HttpResponsePromise; private __getAgent; /** * Check RCS capabilities for one or more phone numbers. * * This endpoint allows you to verify which RCS features (cards, buttons, etc.) are supported * on specific phone numbers before sending RCS messages to them. * * @param {Pinnacle.RcsCapabilitiesQuery} request * @param {Rcs.RequestOptions} requestOptions - Request-specific configuration. * * @throws {@link Pinnacle.BadRequestError} * @throws {@link Pinnacle.UnauthorizedError} * @throws {@link Pinnacle.ForbiddenError} * @throws {@link Pinnacle.InternalServerError} * @throws {@link Pinnacle.NotImplementedError} * * @example * await client.rcs.getCapabilities({ * phoneNumbers: ["+12345678901", "+19876543210"] * }) */ getCapabilities(request: Pinnacle.RcsCapabilitiesQuery, requestOptions?: Rcs.RequestOptions): core.HttpResponsePromise; private __getCapabilities; /** * Generate a link for initiating an RCS conversation with your agent. * * Users can click these links to start conversations with your RCS agent directly * from websites, emails, or other applications. * * @param {Pinnacle.RcsLinkRequest} request * @param {Rcs.RequestOptions} requestOptions - Request-specific configuration. * * @throws {@link Pinnacle.BadRequestError} * @throws {@link Pinnacle.UnauthorizedError} * @throws {@link Pinnacle.ForbiddenError} * @throws {@link Pinnacle.NotFoundError} * @throws {@link Pinnacle.InternalServerError} * @throws {@link Pinnacle.NotImplementedError} * * @example * await client.rcs.getLink({ * agentId: "agent_XXXXXXXXXXXX", * phoneNumber: "+12345678901", * body: "Hello, I need help with my order" * }) */ getLink(request: Pinnacle.RcsLinkRequest, requestOptions?: Rcs.RequestOptions): core.HttpResponsePromise; private __getLink; protected _getCustomAuthorizationHeaders(): Promise>; }