@bpmsoftwaresolutions/ai-engine-client 1.1.10 → 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 +12 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bpmsoftwaresolutions/ai-engine-client",
3
- "version": "1.1.10",
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
  }
@@ -1112,6 +1120,10 @@ export class AIEngineClient {
1112
1120
  return this._request(`/api/governed-implementation/packets/${packetId}`);
1113
1121
  }
1114
1122
 
1123
+ async getImplementationItemAcceptanceChecks(implementationItemId) {
1124
+ return this._request(`/api/governed-implementation/items/${implementationItemId}/acceptance-checks`);
1125
+ }
1126
+
1115
1127
  async updateImplementationItemStatus(implementationItemId, body) {
1116
1128
  return this._request(`/api/governed-implementation/items/${implementationItemId}/status`, {
1117
1129
  method: 'PATCH', body,