UNPKG

@cognigy/rest-api-client

Version:

Cognigy REST-Client

9 lines 614 B
import { GenericAPIFn } from "../../GenericAPIFn"; import { stringifyQuery } from "../../shared/helper/rest"; export function addToolDescriptorAPIs(self) { return { // see: https://cognigy.visualstudio.com/Cognigy.AI/_git/cognigy?path=/services/service-resources/src/toolDescriptors/controllers/restAPI.ts&version=GBmain&line=110&lineEnd=111&lineStartColumn=1&lineEndColumn=1&lineStyle=plain&_a=contents indexToolDescriptors: (args, options) => GenericAPIFn(`/v1/tools/descriptors?${stringifyQuery(args)}`, "GET", self)(undefined, options) }; } //# sourceMappingURL=toolDescriptorAPI.js.map