@bpmsoftwaresolutions/ai-engine-client 1.1.11 → 1.1.13

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 +16 -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.13",
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
  }
@@ -1116,6 +1124,14 @@ export class AIEngineClient {
1116
1124
  return this._request(`/api/governed-implementation/items/${implementationItemId}/acceptance-checks`);
1117
1125
  }
1118
1126
 
1127
+ async getArtifactManifest(implementationItemId) {
1128
+ return this._request(`/api/governed-implementation/items/${implementationItemId}/artifact-manifest`);
1129
+ }
1130
+
1131
+ async getDecisionPacket(implementationItemId) {
1132
+ return this._request(`/api/governed-implementation/items/${implementationItemId}/decision-packet`);
1133
+ }
1134
+
1119
1135
  async updateImplementationItemStatus(implementationItemId, body) {
1120
1136
  return this._request(`/api/governed-implementation/items/${implementationItemId}/status`, {
1121
1137
  method: 'PATCH', body,