UNPKG

dots-wrapper

Version:

Digital Ocean v2 api wrapper - javascript - typescript - nodejs

10 lines 465 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.attachFunctionRoute = void 0; const attachFunctionRoute = ({ httpClient }) => ({ agent_uuid, function_route }) => { const url = `/gen-ai/agents/${agent_uuid}/functions`; const body = Object.assign({ agent_uuid }, function_route); return httpClient.post(url, body); }; exports.attachFunctionRoute = attachFunctionRoute; //# sourceMappingURL=attach-function-route.js.map