Interface: OutboxDelivery
Defined in: packages/agentos/src/io/channels/meetings/stores/types.ts:157
One event's delivery to one destination.
Properties
attempts
attempts:
number
Defined in: packages/agentos/src/io/channels/meetings/stores/types.ts:171
The failed attempts so far.
destinationRef
destinationRef:
string
Defined in: packages/agentos/src/io/channels/meetings/stores/types.ts:163
The product's reference for where it goes (a webhook registration).
eventId
eventId:
string
Defined in: packages/agentos/src/io/channels/meetings/stores/types.ts:165
The event the delivery carries.
expiresAt?
optionalexpiresAt:number
Defined in: packages/agentos/src/io/channels/meetings/stores/types.ts:183
A mail delivery's expiry: it is not due after it, and markFailed ends it dead at it. Absent on an event delivery.
firstAttemptAt?
optionalfirstAttemptAt:number
Defined in: packages/agentos/src/io/channels/meetings/stores/types.ts:173
When the first failed attempt was recorded; a delivery still failing a day later is given up.
id
id:
string
Defined in: packages/agentos/src/io/channels/meetings/stores/types.ts:159
The delivery's id.
kind
kind:
"event"|"mail"
Defined in: packages/agentos/src/io/channels/meetings/stores/types.ts:181
What the delivery is: a run event to a webhook registration (event, the default), or a mail the host renders and sends (mail).
nextAt
nextAt:
number
Defined in: packages/agentos/src/io/channels/meetings/stores/types.ts:175
When the next attempt is due.
payload
payload:
string
Defined in: packages/agentos/src/io/channels/meetings/stores/types.ts:169
The body to send; empty once a purge emptied the delivery, and empty once a mail delivery ended (delivered, dead, cancelled or expired), so a mail's body outlives no pending delivery.
purged
purged:
boolean
Defined in: packages/agentos/src/io/channels/meetings/stores/types.ts:179
Set when a purge emptied the delivery.
runId
runId:
string
Defined in: packages/agentos/src/io/channels/meetings/stores/types.ts:161
The run the event belongs to.
state
state:
"pending"|"delivered"|"dead"
Defined in: packages/agentos/src/io/channels/meetings/stores/types.ts:177
pending until the destination takes it, or until it is given up as dead.
type
type:
MeetingEventType
Defined in: packages/agentos/src/io/channels/meetings/stores/types.ts:167
The event's type; bot:purged once a purge emptied the delivery.