Members
| Name | Kind | Type | Description |
|---|---|---|---|
verify | Method | (intent: ExecutionIntent) => Promise<boolean> | Verifies an Execution Intent’s hash and signature. Maps to POST /execution-intents/verify. Takes the intent itself, and needs no caller authentication: like RefusalApi.verify(), it is the capability that makes the record independently third party verifiable. A true result proves the intent was signed by the holder of the key and has not been altered. It does NOT prove the action was released, or what its result was. |
get | Method | (businessTransactionId: string) => Promise<ExecutionIntentView> | Retrieves an Execution Intent and its status. Maps to GET /execution-intents/:businessTransactionId. Behind caller authentication and ownership scoping, like TrustRecordApi.get(). |
listUnfinalized | Method | (limit?: number | undefined) => Promise<UnfinalizedExecutionIntents> | Lists intents that never reached a signed Trust Record and were not closed by hand, oldest first. Maps to GET /execution-intents/unfinalized. Requires a credential provisioned as a verified human. |
finalize | Method | (businessTransactionId: string) => Promise<FinalizeExecutionIntentResult> | Rebuilds the signed Execution Trust Record for a released action whose record was never produced. Maps to POST /execution-intents/:businessTransactionId/finalize. It never calls a connector and is safe to run twice. Requires a credential provisioned as a verified human. |
resolve | Method | (businessTransactionId: string, input: ResolveExecutionIntentInput) => Promise<ResolveExecutionIntentResult> | Closes a PREPARED or ERRORED intent that a verified human reconciled at the connector. Maps to POST /execution-intents/:businessTransactionId/resolve. The note is required. It never calls a connector and is idempotent. The resolution is an attributed operator statement in unsigned status. It is NOT tamper evident and it is NOT a Trust Record. |