Skip to content

Interface: SubscriptionDto

@kortexya/reasoninglayer


@kortexya/reasoninglayer / SubscriptionDto

Defined in: src/types/subscriptions.ts:102

A stored subscription, as the listing reports it.

backoffMs: number

Defined in: src/types/subscriptions.ts:126

Backoff between attempts in milliseconds, as stored (1000 when create omitted it).


createdAt: string

Defined in: src/types/subscriptions.ts:130

When it was created (RFC 3339).


delivery: DeliveryStatusDto

Defined in: src/types/subscriptions.ts:132

Delivery health — read failed to learn what was lost.


enabled: boolean

Defined in: src/types/subscriptions.ts:128

Whether the subscription currently delivers. client.subscriptions.update sets it.


exact: boolean

Defined in: src/types/subscriptions.ts:112

Whether the sort is matched exactly rather than by subsumption.


features: FeatureFilterDto[]

Defined in: src/types/subscriptions.ts:122

The ANDed feature equalities.


id: string

Defined in: src/types/subscriptions.ts:104

The subscription’s stable id.


kinds: string[]

Defined in: src/types/subscriptions.ts:120

The kinds delivered. Empty means all four.

Typed as string[], not SubscriptionEventKind[]: an engine that gains a fifth kind must not have it silently dropped on the way out.


maxRetries: number

Defined in: src/types/subscriptions.ts:124

Retry attempts after a failed delivery, as stored (3 when create omitted it).


name: string

Defined in: src/types/subscriptions.ts:106

Human-readable name.


optional sort?: string

Defined in: src/types/subscriptions.ts:110

The sort the pattern selects. Absent means every sort.


url: string

Defined in: src/types/subscriptions.ts:108

The delivery target URL.