@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.
- package/package.json +1 -1
- package/src/index.js +8 -0
package/package.json
CHANGED
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
|
}
|