clarion-shared-types 1.0.87 → 1.0.88
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.
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { IncidentPartnerRoutingStatus } from "../../partner/enums/partner-enums";
|
|
2
|
+
import { IncidentPartnerRoutingSnapshotDto } from "../../partner/interfaces/incident-partner-routing.dto";
|
|
1
3
|
import { MapLocation } from "../../common/interfaces/map-location";
|
|
2
4
|
import { IncidentAppId } from "../enums/incident-app-id.enum";
|
|
3
5
|
import { IncidentChannel } from "../enums/incident-channel.enum";
|
|
@@ -77,6 +79,17 @@ export interface Incident {
|
|
|
77
79
|
* billing withheld is not an alert somebody chose to withhold.
|
|
78
80
|
*/
|
|
79
81
|
notifyServiceProviderRequested?: boolean;
|
|
82
|
+
/**
|
|
83
|
+
* Whether this incident was handed to a third-party partner (an ambulance
|
|
84
|
+
* firm, a private security responder) and how that went. Denormalised onto
|
|
85
|
+
* the incident by clarion-partner-services so the list and detail screens
|
|
86
|
+
* can answer "was an ambulance called for this?" in one request.
|
|
87
|
+
*/
|
|
88
|
+
partnerRoutingStatus?: IncidentPartnerRoutingStatus;
|
|
89
|
+
/** When routing was last evaluated for this incident. */
|
|
90
|
+
partnerRoutedAt?: string | null;
|
|
91
|
+
/** Per-partner detail behind `partnerRoutingStatus`. */
|
|
92
|
+
partnerRoutingSnapshot?: IncidentPartnerRoutingSnapshotDto | null;
|
|
80
93
|
createdAt?: string;
|
|
81
94
|
updatedAt?: string;
|
|
82
95
|
category?: IncidentCategory;
|