@bpmsoftwaresolutions/ai-engine-client 1.1.2 → 1.1.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/index.js +4 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bpmsoftwaresolutions/ai-engine-client",
3
- "version": "1.1.2",
3
+ "version": "1.1.3",
4
4
  "description": "Thin npm client for the AI Engine operator and retrieval APIs",
5
5
  "type": "module",
6
6
  "main": "./src/index.js",
package/src/index.js CHANGED
@@ -292,6 +292,10 @@ export class AIEngineClient {
292
292
  return this._request('/api/turns/complete', { method: 'POST', body });
293
293
  }
294
294
 
295
+ async runCharter(body = {}) {
296
+ return this._request('/api/charters/run', { method: 'POST', body });
297
+ }
298
+
295
299
  async persistAssistantTurn(body) {
296
300
  return this._request('/api/v1/assistant-turns', { method: 'POST', body });
297
301
  }