@bpmsoftwaresolutions/ai-engine-client 1.1.0 → 1.1.1

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.0",
3
+ "version": "1.1.1",
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
@@ -284,6 +284,10 @@ export class AIEngineClient {
284
284
  return this._request('/api/v1/session-governance/startup', { method: 'POST', body });
285
285
  }
286
286
 
287
+ async startWork(body = {}) {
288
+ return this._request('/api/work/start', { method: 'POST', body });
289
+ }
290
+
287
291
  async persistAssistantTurn(body) {
288
292
  return this._request('/api/v1/assistant-turns', { method: 'POST', body });
289
293
  }