@bpmsoftwaresolutions/ai-engine-client 1.1.0 → 1.1.2
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.
- package/package.json +1 -1
- package/src/index.js +8 -0
package/package.json
CHANGED
package/src/index.js
CHANGED
|
@@ -284,6 +284,14 @@ 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
|
+
|
|
291
|
+
async completeTurn(body = {}) {
|
|
292
|
+
return this._request('/api/turns/complete', { method: 'POST', body });
|
|
293
|
+
}
|
|
294
|
+
|
|
287
295
|
async persistAssistantTurn(body) {
|
|
288
296
|
return this._request('/api/v1/assistant-turns', { method: 'POST', body });
|
|
289
297
|
}
|