feat: record skipped dispatches and approver ids
- store trigger dispatches as started or skipped, with a JSON reason surfaced in the API and UI - persist the answering account's identity id beside its display name for approvals and judgements - save connector acceptances and their declarations in one transaction so a refused change stores nothing
This commit is contained in:
29 files changed
+517
-158
No files matched your search
+18
-4
@@ -61,6 +61,8 @@ components:
|
||||
type: string
|
||||
answered_by:
|
||||
type: string
|
||||
answered_by_id:
|
||||
type: string
|
||||
answered_via:
|
||||
type: string
|
||||
deadline:
|
||||
@@ -1302,13 +1304,19 @@ components:
|
||||
type: string
|
||||
event_id:
|
||||
type: string
|
||||
outcome:
|
||||
enum:
|
||||
- started
|
||||
- skipped
|
||||
type: string
|
||||
reason: {}
|
||||
run_id:
|
||||
type: string
|
||||
trigger:
|
||||
type: string
|
||||
required:
|
||||
- event_id
|
||||
- run_id
|
||||
- outcome
|
||||
type: object
|
||||
EventsEventDetail:
|
||||
additionalProperties: false
|
||||
@@ -1605,13 +1613,19 @@ components:
|
||||
EventsTriggerRun:
|
||||
additionalProperties: false
|
||||
properties:
|
||||
outcome:
|
||||
enum:
|
||||
- started
|
||||
- skipped
|
||||
type: string
|
||||
reason: {}
|
||||
run_id:
|
||||
type: string
|
||||
trigger:
|
||||
type: string
|
||||
required:
|
||||
- trigger
|
||||
- run_id
|
||||
- outcome
|
||||
type: object
|
||||
EventsTriggerSaved:
|
||||
additionalProperties: false
|
||||
@@ -5057,7 +5071,7 @@ paths:
|
||||
schema:
|
||||
$ref: "#/components/schemas/ErrorModel"
|
||||
description: Error
|
||||
summary: List the runs a capture started
|
||||
summary: List trigger dispatches for a capture
|
||||
tags:
|
||||
- Events
|
||||
/api/chat/sessions:
|
||||
@@ -8644,7 +8658,7 @@ paths:
|
||||
schema:
|
||||
$ref: "#/components/schemas/ErrorModel"
|
||||
description: Error
|
||||
summary: List the runs a trigger started
|
||||
summary: List the dispatches of a trigger
|
||||
tags:
|
||||
- Events
|
||||
/api/triggers/{name}/pause:
|
||||
|
||||
Reference in new issue
Block a user