UNPKG

buena-typescript-sdk

Version:

Official TypeScript SDK for Buena.ai API - LinkedIn automation and lead management

58 lines 1.51 kB
/* * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ import { createApiKey } from "../funcs/createApiKey.js"; import { createLead } from "../funcs/createLead.js"; import { healthCheck } from "../funcs/healthCheck.js"; import { listApiKeys } from "../funcs/listApiKeys.js"; import { listLeads } from "../funcs/listLeads.js"; import { ClientSDK } from "../lib/sdks.js"; import { unwrapAsync } from "../types/fp.js"; export class SDK extends ClientSDK { /** * Health Check * * @remarks * Check the API status and health */ async healthCheck(options) { return unwrapAsync(healthCheck(this, options)); } /** * Create API Key * * @remarks * Create a new API key */ async createApiKey(request, options) { return unwrapAsync(createApiKey(this, request, options)); } /** * List API Keys * * @remarks * List all API keys for the user */ async listApiKeys(options) { return unwrapAsync(listApiKeys(this, options)); } /** * List Leads * * @remarks * Get a list of leads with optional filtering */ async listLeads(request, options) { return unwrapAsync(listLeads(this, request, options)); } /** * Create Lead * * @remarks * Create a new lead */ async createLead(request, options) { return unwrapAsync(createLead(this, request, options)); } } //# sourceMappingURL=sdk.js.map