Skip to content

Interface: UpdateScenarioResponse

@kortexya/reasoninglayer


@kortexya/reasoninglayer / UpdateScenarioResponse

Defined in: src/types/scenarios.ts:531

Response from updating a scenario.

beliefsAdded: number

Defined in: src/types/scenarios.ts:533

Number of beliefs added in this update.


constraintsAdded: number

Defined in: src/types/scenarios.ts:535

Number of generic constraints added in this update.


guardConstraintsAdded: number

Defined in: src/types/scenarios.ts:537

Number of guard constraints added in this update.


rulesAdded: number

Defined in: src/types/scenarios.ts:539

Number of rules added in this update.


scenarioId: string

Defined in: src/types/scenarios.ts:541

Scenario ID that was updated.


sortsAdded: number

Defined in: src/types/scenarios.ts:543

Number of sorts added in this update.


temporalConstraintsAdded: number

Defined in: src/types/scenarios.ts:545

Number of temporal constraints added in this update.


totalBeliefs: number

Defined in: src/types/scenarios.ts:547

Updated total beliefs count.


totalConstraints: number

Defined in: src/types/scenarios.ts:549

Updated total generic constraints count.


totalGuardConstraints: number

Defined in: src/types/scenarios.ts:551

Updated total guard constraints count.


totalRules: number

Defined in: src/types/scenarios.ts:553

Updated total rules count.


totalSorts: number

Defined in: src/types/scenarios.ts:555

Updated total sorts count.


totalTemporalConstraints: number

Defined in: src/types/scenarios.ts:557

Updated total temporal constraints count.


totalWebhookActions: number

Defined in: src/types/scenarios.ts:559

Updated total webhook actions count.


warnings: string[]

Defined in: src/types/scenarios.ts:568

Non-fatal warnings. A rule the engine refused is named here, not thrown: rules[i] (conclusion \s`) was not written: `. A refused rule is not counted in rulesAdded. Empty when there were none — read it after every call.


webhookActionsAdded: number

Defined in: src/types/scenarios.ts:561

Number of webhook actions added in this update.