import { ClientSDK, RequestOptions } from "../lib/sdks.js"; import * as operations from "./models/operations/index.js"; import * as shared from "./models/shared/index.js"; export declare class Connections extends ClientSDK { /** * List connections * * @remarks * List the connections for a company. */ list(request: operations.ListConnectionsRequest, options?: RequestOptions): Promise; /** * Create connection * * @remarks * Creates a connection for the company by providing a valid `platformKey`. * * Use the [List Integrations](https://docs.codat.io/platform-api#/operations/list-integrations) endpoint to access valid platform keys. */ create(request: operations.CreateConnectionRequest, options?: RequestOptions): Promise; /** * Get connection * * @remarks * Returns a specific connection for a company when valid identifiers are provided. If the identifiers are for a deleted company and/or connection, a not found response is returned. */ get(request: operations.GetConnectionRequest, options?: RequestOptions): Promise; /** * Delete connection * * @remarks * Revoke and remove a connection from a company. * This operation is not reversible. The end user would need to reauthorize a new data connection if you wish to view new data for this company. */ delete(request: operations.DeleteConnectionRequest, options?: RequestOptions): Promise; /** * Unlink connection * * @remarks * This allows you to deauthorize a connection, without deleting it from Codat. This means you can still view any data that has previously been pulled into Codat, and also lets you re-authorize in future if your customer wishes to resume sharing their data. */ unlink(request: operations.UnlinkConnectionRequest, options?: RequestOptions): Promise; } //# sourceMappingURL=connections.d.ts.map