@bpmsoftwaresolutions/ai-engine-client 1.1.20 → 1.1.21
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/README.md +2 -0
- package/package.json +1 -1
- package/src/index.js +28 -1
package/README.md
CHANGED
|
@@ -386,6 +386,8 @@ Low-level compatibility methods:
|
|
|
386
386
|
| `submitUxGateRemediation(body)` / `client.loga.submitUxGateRemediation(body)` | `POST /api/loga/ux-gate-remediations` | Create a governed SQL-backed remediation ticket for a UX gate failure. |
|
|
387
387
|
| `listUxGateRemediations({ projectionType, status })` / `client.loga.listUxGateRemediations(...)` | `GET /api/loga/ux-gate-remediations` | List governed UX gate remediation tickets. |
|
|
388
388
|
| `getUxGateRemediation(remediationId)` / `client.loga.getUxGateRemediation(...)` | `GET /api/loga/ux-gate-remediations/:remediationId` | Read one governed UX gate remediation ticket. |
|
|
389
|
+
| `appendUxRemediationTicketNote(remediationId, body)` / `client.loga.appendUxRemediationTicketNote(...)` | `POST /api/loga/ux-gate-remediations/:remediationId/notes` | Append a governed downstream-facing remediation note to a UX gate remediation ticket. |
|
|
390
|
+
| `listUxRemediationTicketNotes(remediationId)` / `client.loga.listUxRemediationTicketNotes(...)` | `GET /api/loga/ux-gate-remediations/:remediationId/notes` | List governed remediation notes for a UX gate remediation ticket. |
|
|
389
391
|
| `promoteUxGateRemediationImplementationCandidate(remediationId, { promotedBy })` / `client.loga.promoteUxGateRemediationImplementationCandidate(...)` | `POST /api/loga/ux-gate-remediations/:remediationId/implementation-candidate` | Promote a governed UX remediation ticket into a durable implementation packet candidate. |
|
|
390
392
|
| `getLogaUxGateRemediationProjection(remediationId)` / `client.loga.getUxGateRemediationProjection(...)` | `GET /api/operator/projections/ux-gate-remediations/:remediationId` | Review a governed UX remediation ticket and its linked implementation candidate as a LOGA runtime document. |
|
|
391
393
|
|
package/package.json
CHANGED
package/src/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
const DEFAULT_TIMEOUT_MS = 30000;
|
|
2
|
-
export const AI_ENGINE_CLIENT_VERSION = '1.1.
|
|
2
|
+
export const AI_ENGINE_CLIENT_VERSION = '1.1.21';
|
|
3
3
|
export const GOVERNED_MUTATION_REQUIRED_CAPABILITIES = [
|
|
4
4
|
'executeVerifiedMutation',
|
|
5
5
|
'post_mutation_verification',
|
|
@@ -165,6 +165,8 @@ export class AIEngineClient {
|
|
|
165
165
|
submitUxGateRemediation: (payload) => this.submitUxGateRemediation(payload),
|
|
166
166
|
listUxGateRemediations: (query) => this.listUxGateRemediations(query),
|
|
167
167
|
getUxGateRemediation: (remediationId) => this.getUxGateRemediation(remediationId),
|
|
168
|
+
appendUxRemediationTicketNote: (remediationId, payload) => this.appendUxRemediationTicketNote(remediationId, payload),
|
|
169
|
+
listUxRemediationTicketNotes: (remediationId) => this.listUxRemediationTicketNotes(remediationId),
|
|
168
170
|
promoteUxGateRemediationImplementationCandidate: (remediationId, payload) =>
|
|
169
171
|
this.promoteUxGateRemediationImplementationCandidate(remediationId, payload),
|
|
170
172
|
getUxGateRemediationProjection: (remediationId) => this.getLogaUxGateRemediationProjection(remediationId),
|
|
@@ -994,6 +996,31 @@ export class AIEngineClient {
|
|
|
994
996
|
return this._request(`/api/loga/ux-gate-remediations/${remediationId}`);
|
|
995
997
|
}
|
|
996
998
|
|
|
999
|
+
async appendUxRemediationTicketNote(remediationId, {
|
|
1000
|
+
noteKind,
|
|
1001
|
+
body,
|
|
1002
|
+
visibility,
|
|
1003
|
+
authorActorId,
|
|
1004
|
+
evidenceRefs,
|
|
1005
|
+
metadata,
|
|
1006
|
+
} = {}) {
|
|
1007
|
+
return this._request(`/api/loga/ux-gate-remediations/${remediationId}/notes`, {
|
|
1008
|
+
method: 'POST',
|
|
1009
|
+
body: {
|
|
1010
|
+
noteKind,
|
|
1011
|
+
body,
|
|
1012
|
+
visibility,
|
|
1013
|
+
authorActorId,
|
|
1014
|
+
evidenceRefs,
|
|
1015
|
+
metadata,
|
|
1016
|
+
},
|
|
1017
|
+
});
|
|
1018
|
+
}
|
|
1019
|
+
|
|
1020
|
+
async listUxRemediationTicketNotes(remediationId) {
|
|
1021
|
+
return this._request(`/api/loga/ux-gate-remediations/${remediationId}/notes`);
|
|
1022
|
+
}
|
|
1023
|
+
|
|
997
1024
|
async promoteUxGateRemediationImplementationCandidate(remediationId, { promotedBy } = {}) {
|
|
998
1025
|
return this._request(`/api/loga/ux-gate-remediations/${remediationId}/implementation-candidate`, {
|
|
999
1026
|
method: 'POST',
|