UNPKG

buena-typescript-sdk

Version:

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

62 lines 1.83 kB
"use strict"; /* * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ Object.defineProperty(exports, "__esModule", { value: true }); exports.SDK = void 0; const createApiKey_js_1 = require("../funcs/createApiKey.js"); const createLead_js_1 = require("../funcs/createLead.js"); const healthCheck_js_1 = require("../funcs/healthCheck.js"); const listApiKeys_js_1 = require("../funcs/listApiKeys.js"); const listLeads_js_1 = require("../funcs/listLeads.js"); const sdks_js_1 = require("../lib/sdks.js"); const fp_js_1 = require("../types/fp.js"); class SDK extends sdks_js_1.ClientSDK { /** * Health Check * * @remarks * Check the API status and health */ async healthCheck(options) { return (0, fp_js_1.unwrapAsync)((0, healthCheck_js_1.healthCheck)(this, options)); } /** * Create API Key * * @remarks * Create a new API key */ async createApiKey(request, options) { return (0, fp_js_1.unwrapAsync)((0, createApiKey_js_1.createApiKey)(this, request, options)); } /** * List API Keys * * @remarks * List all API keys for the user */ async listApiKeys(options) { return (0, fp_js_1.unwrapAsync)((0, listApiKeys_js_1.listApiKeys)(this, options)); } /** * List Leads * * @remarks * Get a list of leads with optional filtering */ async listLeads(request, options) { return (0, fp_js_1.unwrapAsync)((0, listLeads_js_1.listLeads)(this, request, options)); } /** * Create Lead * * @remarks * Create a new lead */ async createLead(request, options) { return (0, fp_js_1.unwrapAsync)((0, createLead_js_1.createLead)(this, request, options)); } } exports.SDK = SDK; //# sourceMappingURL=sdk.js.map