UNPKG

@base44/sdk

Version:

JavaScript SDK for Base44 API

17 lines (16 loc) 707 B
import { AxiosInstance } from "axios"; import { ConnectorIntegrationType, ConnectorAccessTokenResponse } from "./connectors.types.js"; /** * Creates the Connectors module for the Base44 SDK * @param axios - Axios instance (should be service role client) * @param appId - Application ID * @returns Connectors module */ export declare function createConnectorsModule(axios: AxiosInstance, appId: string): { /** * Retrieve an access token for a given integration type * @param integrationType - The integration type to get access token for * @returns Access token response */ getAccessToken(integrationType: ConnectorIntegrationType): Promise<ConnectorAccessTokenResponse>; };