/** * Dropbox client types. */ import type { BaseIntegrationClient } from "../../types.js"; import type { SupportsApiRequest } from "../base/index.js"; /** * Dropbox client for API interactions. * * Provides generic API request method for interacting with Dropbox's API. * Use apiRequest() to make calls to any Dropbox API endpoint. * * @example * ```typescript * // Declare in api(): integrations: { dropbox: dropbox(INTEGRATION_ID) } * // In run(), access via ctx.integrations.dropbox * * // Make API requests * const ResponseSchema = z.object({ * // Define your response schema * }); * * const result = await dropbox.apiRequest( * { * method: 'POST', * path: '/2/files/list_folder', * }, * { response: ResponseSchema } * ); * ``` */ export interface DropboxClient extends BaseIntegrationClient, SupportsApiRequest { // apiRequest() method inherited from SupportsApiRequest }