/** * Airtable client types. */ import type { BaseIntegrationClient } from "../../types.js"; import type { SupportsApiRequest } from "../base/index.js"; /** * Airtable client for API interactions. * * Provides generic API request method for interacting with Airtable's API. * Use apiRequest() to make calls to any Airtable API endpoint. * * @example * ```typescript * // Declare in api(): integrations: { airtable: airtable(INTEGRATION_ID) } * // In run(), access via: ctx.integrations.airtable * const result = await ctx.integrations.airtable.apiRequest( * { * method: 'GET', * path: '/v0/{baseId}/{tableName}', * }, * { response: ResponseSchema } * ); * ``` */ export interface AirtableClient extends BaseIntegrationClient, SupportsApiRequest { // apiRequest() method inherited from SupportsApiRequest }