Members
| Name | Kind | Type | Description |
|---|---|---|---|
decide | Method | (request: PolicyV2DecisionRequest) => Promise<PolicyV2Decision> | Runs and records a decision under policy version 2. Maps to POST /v2/decisions. The caller must be authenticated. |
review | Method | (itemId: string) => Promise<PolicyV2ReviewView> | The status of a review item, for the requester who asked for it. Maps to GET /v2/reviews/{itemId}. Any other caller gets 404. |
decideReview | Method | (itemId: string, decision: PolicyV2ReviewDecisionValue) => Promise<PolicyV2ReviewDecision> | A reviewer approves or rejects a review item. Maps to POST /v2/reviews/{itemId}/decision. The reviewer must hold an active grant for the item’s action. |
replay | Method | (recordId: string) => Promise<PolicyV2ReplayResult> | Replays a recorded policy version 2 decision from its evidence record. Maps to GET /v2/evidence/{recordId}/replay. The caller must hold a register role. The replay changes nothing. |