clarion-shared-types 1.0.83 → 1.0.84
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -6,6 +6,7 @@ import { ResponseUnit } from "../../response-unit";
|
|
|
6
6
|
import { User } from "../../user";
|
|
7
7
|
import { WebNotification } from "../../web-notification";
|
|
8
8
|
import { IncidentEntitlementScope } from "../../entitlement/enums/incident-entitlement-scope.enum";
|
|
9
|
+
import { IncidentDispatchScope } from "../../alert-dispatch/enums/incident-dispatch-scope.enum";
|
|
9
10
|
export interface PaginationParams {
|
|
10
11
|
page?: number;
|
|
11
12
|
limit?: number;
|
|
@@ -21,6 +22,13 @@ export interface PaginationParams {
|
|
|
21
22
|
*/
|
|
22
23
|
export interface IncidentQueryParams extends PaginationParams {
|
|
23
24
|
entitlementScope?: IncidentEntitlementScope;
|
|
25
|
+
/**
|
|
26
|
+
* Independent of `entitlementScope`: filters on whether the reporter asked
|
|
27
|
+
* for the provider to be alerted at all. The control-room views combine
|
|
28
|
+
* `ENTITLED` + `DISPATCHED`; the "Incident List - Marked Ignore" view asks
|
|
29
|
+
* for `ENTITLED` + `SUPPRESSED`. Omitting it applies no dispatch filter.
|
|
30
|
+
*/
|
|
31
|
+
dispatchScope?: IncidentDispatchScope;
|
|
24
32
|
}
|
|
25
33
|
export interface PaginatedResponse<T> {
|
|
26
34
|
data: T[];
|