@bpmsoftwaresolutions/ai-engine-client 1.1.11 → 1.1.12

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 +8 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bpmsoftwaresolutions/ai-engine-client",
3
- "version": "1.1.11",
3
+ "version": "1.1.12",
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
@@ -368,6 +368,14 @@ export class AIEngineClient {
368
368
  return this._request('/api/governance/claims/claim-work-item', { method: 'POST', body });
369
369
  }
370
370
 
371
+ async signoffClaim(claimId, body = {}) {
372
+ if (!claimId) throw new Error('claimId is required.');
373
+ return this._request(`/api/governance/claims/${encodeURIComponent(claimId)}/signoff`, {
374
+ method: 'POST',
375
+ body,
376
+ });
377
+ }
378
+
371
379
  async completeTurn(body = {}) {
372
380
  return this._request('/api/turns/complete', { method: 'POST', body });
373
381
  }