import type { BaseClientOptions, BaseRequestOptions } from "../../../../BaseClient.mjs"; import { type NormalizedClientOptionsWithAuth } from "../../../../BaseClient.mjs"; import * as core from "../../../../core/index.mjs"; import * as Corti from "../../../index.mjs"; export declare namespace InteractionsClient { type Options = BaseClientOptions; interface RequestOptions extends BaseRequestOptions { } } export declare class InteractionsClient { protected readonly _options: NormalizedClientOptionsWithAuth; constructor(options: InteractionsClient.Options); /** * Lists all existing interactions. Results can be filtered by encounter status and patient identifier. * * @param {Corti.InteractionsListRequest} request * @param {InteractionsClient.RequestOptions} requestOptions - Request-specific configuration. * * @throws {@link Corti.ForbiddenError} * @throws {@link Corti.GatewayTimeoutError} * * @example * await client.interactions.list() */ list(request?: Corti.InteractionsListRequest, requestOptions?: InteractionsClient.RequestOptions): Promise>; /** * Creates a new interaction. * * @param {Corti.InteractionsCreateRequest} request * @param {InteractionsClient.RequestOptions} requestOptions - Request-specific configuration. * * @throws {@link Corti.BadRequestError} * @throws {@link Corti.ForbiddenError} * @throws {@link Corti.InternalServerError} * @throws {@link Corti.GatewayTimeoutError} * * @example * await client.interactions.create({ * encounter: { * identifier: "identifier", * status: "planned", * type: "first_consultation" * } * }) */ create(request: Corti.InteractionsCreateRequest, requestOptions?: InteractionsClient.RequestOptions): core.HttpResponsePromise; private __create; /** * Retrieves a previously recorded interaction by its unique identifier (interaction ID). * * @param {Corti.Uuid} id - The unique identifier of the interaction. Must be a valid UUID. * @param {InteractionsClient.RequestOptions} requestOptions - Request-specific configuration. * * @throws {@link Corti.ForbiddenError} * @throws {@link Corti.GatewayTimeoutError} * * @example * await client.interactions.get("f47ac10b-58cc-4372-a567-0e02b2c3d479") */ get(id: Corti.Uuid, requestOptions?: InteractionsClient.RequestOptions): core.HttpResponsePromise; private __get; /** * Deletes an existing interaction. * * @param {Corti.Uuid} id - The unique identifier of the interaction. Must be a valid UUID. * @param {InteractionsClient.RequestOptions} requestOptions - Request-specific configuration. * * @throws {@link Corti.ForbiddenError} * @throws {@link Corti.GatewayTimeoutError} * * @example * await client.interactions.delete("f47ac10b-58cc-4372-a567-0e02b2c3d479") */ delete(id: Corti.Uuid, requestOptions?: InteractionsClient.RequestOptions): core.HttpResponsePromise; private __delete; /** * Modifies an existing interaction by updating specific fields without overwriting the entire record. * * @param {Corti.Uuid} id - The unique identifier of the interaction. Must be a valid UUID. * @param {Corti.InteractionsUpdateRequest} request * @param {InteractionsClient.RequestOptions} requestOptions - Request-specific configuration. * * @throws {@link Corti.ForbiddenError} * @throws {@link Corti.GatewayTimeoutError} * * @example * await client.interactions.update("f47ac10b-58cc-4372-a567-0e02b2c3d479") */ update(id: Corti.Uuid, request?: Corti.InteractionsUpdateRequest, requestOptions?: InteractionsClient.RequestOptions): core.HttpResponsePromise; private __update; }