Interface: UpdateSubscriptionRequest
@kortexya/reasoninglayer / UpdateSubscriptionRequest
Interface: UpdateSubscriptionRequest
Section titled “Interface: UpdateSubscriptionRequest”Defined in: src/types/subscriptions.ts:150
An edit of a stored subscription. Every field is optional; at least one must be set.
Remarks
Section titled “Remarks”An omitted field keeps its stored value. features and kinds REPLACE the
stored set; they do not merge. The id, the creation time and the delivery
counters are kept.
Example
Section titled “Example”// Pause delivery and drop the sort filter.const edit: UpdateSubscriptionRequest = { enabled: false, sort: null };Properties
Section titled “Properties”backoffMs?
Section titled “backoffMs?”
optionalbackoffMs?:number
Defined in: src/types/subscriptions.ts:178
A new backoff between attempts, in milliseconds.
enabled?
Section titled “enabled?”
optionalenabled?:boolean
Defined in: src/types/subscriptions.ts:180
false pauses delivery — no later event reaches the target — and true resumes it.
exact?
Section titled “exact?”
optionalexact?:boolean
Defined in: src/types/subscriptions.ts:159
Match the sort exactly instead of by subsumption.
features?
Section titled “features?”
optionalfeatures?:Record<string,string>
Defined in: src/types/subscriptions.ts:167
Replacement feature equalities — the whole set, not a merge.
Remarks
Section titled “Remarks”The keys are feature names and reach the engine verbatim — they are not rewritten to snake_case.
kinds?
Section titled “kinds?”
optionalkinds?:SubscriptionEventKind[]
Defined in: src/types/subscriptions.ts:169
Replacement kinds. An empty list means all four.
maxRetries?
Section titled “maxRetries?”
optionalmaxRetries?:number
Defined in: src/types/subscriptions.ts:176
A new retry count after a failed delivery.
optionalname?:string
Defined in: src/types/subscriptions.ts:152
A new name. Must not be empty.
optionalsort?:string|null
Defined in: src/types/subscriptions.ts:157
A new sort filter. null removes the filter, so every sort matches;
omitting the key keeps the stored filter.
optionalurl?:string
Defined in: src/types/subscriptions.ts:174
A new delivery target, held to the same SSRF check as create (see CreateSubscriptionRequest.url).