resqueserve-core 4.8.130-dev.14 → 4.9.0-rc.10
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.
- package/main.d.ts +361 -35
- package/main.js +3619 -490
- package/package.json +2 -3
- package/main.d.ts.map +0 -1
package/main.d.ts
CHANGED
|
@@ -298,6 +298,11 @@ export interface Area {
|
|
|
298
298
|
district: IAddressDistrict;
|
|
299
299
|
}
|
|
300
300
|
export interface ChatMessage {
|
|
301
|
+
/**
|
|
302
|
+
* Gets the unique identifier of the message.
|
|
303
|
+
*
|
|
304
|
+
*/
|
|
305
|
+
id: string;
|
|
301
306
|
/**
|
|
302
307
|
* Gets or sets the user who sent the message. Is null if system message.
|
|
303
308
|
*
|
|
@@ -309,10 +314,20 @@ export interface ChatMessage {
|
|
|
309
314
|
*/
|
|
310
315
|
createdOn: string;
|
|
311
316
|
/**
|
|
312
|
-
* Gets or sets the text content of the message.
|
|
317
|
+
* Gets or sets the text content of the message (system messages: in English, see ).
|
|
313
318
|
*
|
|
314
319
|
*/
|
|
315
320
|
text: string;
|
|
321
|
+
/**
|
|
322
|
+
* Gets the localization key of a system message; clients show it in their own language with and fall back to . Null for user messages.
|
|
323
|
+
*
|
|
324
|
+
*/
|
|
325
|
+
textKey: string;
|
|
326
|
+
/**
|
|
327
|
+
* Gets the arguments of ; an argument that is a localization key itself is translated too.
|
|
328
|
+
*
|
|
329
|
+
*/
|
|
330
|
+
textArguments: string[] | null;
|
|
316
331
|
/**
|
|
317
332
|
* Gets or sets a value indicating whether the sender is a supervisor.
|
|
318
333
|
*
|
|
@@ -729,6 +744,11 @@ export interface ResourceLookupDto {
|
|
|
729
744
|
callsign: string;
|
|
730
745
|
callsignShort: string;
|
|
731
746
|
station: string;
|
|
747
|
+
/**
|
|
748
|
+
* The callsign the search matched best (callsign, short, GPS or verbal); null without search.
|
|
749
|
+
*
|
|
750
|
+
*/
|
|
751
|
+
matchedCallsign: string;
|
|
732
752
|
/**
|
|
733
753
|
* Gets or sets the cache version associated with the lookup entity.
|
|
734
754
|
*
|
|
@@ -927,7 +947,6 @@ export interface ResourceInformation {
|
|
|
927
947
|
station: string;
|
|
928
948
|
currentOperation: string;
|
|
929
949
|
destination: string;
|
|
930
|
-
duty: string;
|
|
931
950
|
}
|
|
932
951
|
export interface Keyword {
|
|
933
952
|
id: number;
|
|
@@ -1048,6 +1067,23 @@ export interface KeywordInfo {
|
|
|
1048
1067
|
*/
|
|
1049
1068
|
name: string;
|
|
1050
1069
|
}
|
|
1070
|
+
export interface KeywordLookupItem {
|
|
1071
|
+
/**
|
|
1072
|
+
* The ID of the keyword.
|
|
1073
|
+
*
|
|
1074
|
+
*/
|
|
1075
|
+
id: number;
|
|
1076
|
+
/**
|
|
1077
|
+
* The name of the keyword.
|
|
1078
|
+
*
|
|
1079
|
+
*/
|
|
1080
|
+
name: string;
|
|
1081
|
+
/**
|
|
1082
|
+
* Whether the keyword is urgent (emergency).
|
|
1083
|
+
*
|
|
1084
|
+
*/
|
|
1085
|
+
isUrgent: boolean;
|
|
1086
|
+
}
|
|
1051
1087
|
export interface MissionLoad {
|
|
1052
1088
|
id: number;
|
|
1053
1089
|
/**
|
|
@@ -1071,6 +1107,55 @@ export interface OAuthTokenResponse {
|
|
|
1071
1107
|
tokenType: string;
|
|
1072
1108
|
expiresIn: number;
|
|
1073
1109
|
}
|
|
1110
|
+
export interface OperationAuditEntry {
|
|
1111
|
+
/**
|
|
1112
|
+
* The ID of the audit entry.
|
|
1113
|
+
*
|
|
1114
|
+
*/
|
|
1115
|
+
id: string;
|
|
1116
|
+
/**
|
|
1117
|
+
* When it happened.
|
|
1118
|
+
*
|
|
1119
|
+
*/
|
|
1120
|
+
timestamp: string;
|
|
1121
|
+
/**
|
|
1122
|
+
* The user who caused it; null for the system.
|
|
1123
|
+
*
|
|
1124
|
+
*/
|
|
1125
|
+
user: IUserInfo;
|
|
1126
|
+
/**
|
|
1127
|
+
* The kind of change.
|
|
1128
|
+
*
|
|
1129
|
+
*/
|
|
1130
|
+
action: AuditAction;
|
|
1131
|
+
/**
|
|
1132
|
+
* The operation specific kind of change, if any.
|
|
1133
|
+
*
|
|
1134
|
+
*/
|
|
1135
|
+
actionSub: AuditActionSub | null;
|
|
1136
|
+
/**
|
|
1137
|
+
* The localized message (markdown) without timestamp and user.
|
|
1138
|
+
*
|
|
1139
|
+
*/
|
|
1140
|
+
message: string;
|
|
1141
|
+
}
|
|
1142
|
+
export interface OperationChangeInfo {
|
|
1143
|
+
/**
|
|
1144
|
+
* Increases with every change; a client keeps the highest revision per entity and drops events with a lower one (they arrived out of order).
|
|
1145
|
+
*
|
|
1146
|
+
*/
|
|
1147
|
+
revision: number;
|
|
1148
|
+
/**
|
|
1149
|
+
* The editor (one desk window) that made the change; null for changes by the system. A client may keep the value the user is typing in a field instead of overwriting it with its own echo.
|
|
1150
|
+
*
|
|
1151
|
+
*/
|
|
1152
|
+
editorId: string | null;
|
|
1153
|
+
/**
|
|
1154
|
+
* The changed properties, camel case as in the JSON of the entity.
|
|
1155
|
+
*
|
|
1156
|
+
*/
|
|
1157
|
+
changedProperties: string[] | null;
|
|
1158
|
+
}
|
|
1074
1159
|
export interface OperationInfo {
|
|
1075
1160
|
id: string;
|
|
1076
1161
|
/**
|
|
@@ -1104,6 +1189,33 @@ export interface OperationInfo {
|
|
|
1104
1189
|
*/
|
|
1105
1190
|
status: OperationStatus;
|
|
1106
1191
|
}
|
|
1192
|
+
export interface Pagination<T> {
|
|
1193
|
+
/**
|
|
1194
|
+
* Gets the number of the current page in the pagination sequence.
|
|
1195
|
+
*
|
|
1196
|
+
*/
|
|
1197
|
+
currentPage: number;
|
|
1198
|
+
/**
|
|
1199
|
+
* Gets the total number of pages available.
|
|
1200
|
+
*
|
|
1201
|
+
*/
|
|
1202
|
+
totalPages: number;
|
|
1203
|
+
/**
|
|
1204
|
+
* Gets the number of items per page.
|
|
1205
|
+
*
|
|
1206
|
+
*/
|
|
1207
|
+
pageSize: number;
|
|
1208
|
+
/**
|
|
1209
|
+
* Gets the total number of items across all pages.
|
|
1210
|
+
*
|
|
1211
|
+
*/
|
|
1212
|
+
totalItems: number;
|
|
1213
|
+
/**
|
|
1214
|
+
* Gets the collection of items on the current page.
|
|
1215
|
+
*
|
|
1216
|
+
*/
|
|
1217
|
+
items: T[] | null;
|
|
1218
|
+
}
|
|
1107
1219
|
export interface Poi {
|
|
1108
1220
|
id: number;
|
|
1109
1221
|
/**
|
|
@@ -1225,6 +1337,11 @@ export interface Preselection {
|
|
|
1225
1337
|
*
|
|
1226
1338
|
*/
|
|
1227
1339
|
departureTime: string | null;
|
|
1340
|
+
/**
|
|
1341
|
+
* Gets when the unit's duty ends (session time), only when it ends soon (Core DispatchDefaults.DutyEndWarningMinutes); otherwise null.
|
|
1342
|
+
*
|
|
1343
|
+
*/
|
|
1344
|
+
dutyEndsOn: string | null;
|
|
1228
1345
|
/**
|
|
1229
1346
|
* Gets the total estimated time to reach the target, combining and . Returns null when is unknown.
|
|
1230
1347
|
*
|
|
@@ -1268,6 +1385,16 @@ export interface ResourceFilter {
|
|
|
1268
1385
|
*
|
|
1269
1386
|
*/
|
|
1270
1387
|
unitCategories: UnitCategory[] | null;
|
|
1388
|
+
/**
|
|
1389
|
+
* Gets or sets a collection of to filter resources by the kind of unit (any of the groups matches).
|
|
1390
|
+
*
|
|
1391
|
+
*/
|
|
1392
|
+
unitCategoryGroups: UnitCategoryGroup[] | null;
|
|
1393
|
+
/**
|
|
1394
|
+
* Gets or sets a collection of to filter resources by how soon they are available (any of them matches).
|
|
1395
|
+
*
|
|
1396
|
+
*/
|
|
1397
|
+
unitAvailabilities: UnitAvailability[] | null;
|
|
1271
1398
|
/**
|
|
1272
1399
|
* Gets or sets a collection of to filter resources by unit display categories see .
|
|
1273
1400
|
*
|
|
@@ -1776,6 +1903,33 @@ export interface Unit {
|
|
|
1776
1903
|
*/
|
|
1777
1904
|
displayCategory: string;
|
|
1778
1905
|
}
|
|
1906
|
+
export interface UnitDutyInformation {
|
|
1907
|
+
/**
|
|
1908
|
+
* The unit.
|
|
1909
|
+
*
|
|
1910
|
+
*/
|
|
1911
|
+
unitId: number;
|
|
1912
|
+
/**
|
|
1913
|
+
* How the unit's duty is defined (always, by day, by night, by duty periods).
|
|
1914
|
+
*
|
|
1915
|
+
*/
|
|
1916
|
+
dutyOptions: UnitDutyOptions;
|
|
1917
|
+
/**
|
|
1918
|
+
* Duty periods: when the current duty ends (following shifts included); null when not on duty or around the clock.
|
|
1919
|
+
*
|
|
1920
|
+
*/
|
|
1921
|
+
dutyEndsOn: string | null;
|
|
1922
|
+
/**
|
|
1923
|
+
* Duty periods, not on duty: when the next shift starts.
|
|
1924
|
+
*
|
|
1925
|
+
*/
|
|
1926
|
+
nextDutyStartsOn: string | null;
|
|
1927
|
+
/**
|
|
1928
|
+
* Minutes from the session time until or .
|
|
1929
|
+
*
|
|
1930
|
+
*/
|
|
1931
|
+
minutesUntilChange: number | null;
|
|
1932
|
+
}
|
|
1779
1933
|
export interface UnitDutyPeriod {
|
|
1780
1934
|
id: number;
|
|
1781
1935
|
/**
|
|
@@ -1853,6 +2007,43 @@ export interface UnitInfo {
|
|
|
1853
2007
|
*/
|
|
1854
2008
|
origin: ShelfOriginBase;
|
|
1855
2009
|
}
|
|
2010
|
+
export interface UnitLookupItem {
|
|
2011
|
+
/**
|
|
2012
|
+
* The ID of the unit.
|
|
2013
|
+
*
|
|
2014
|
+
*/
|
|
2015
|
+
id: number;
|
|
2016
|
+
/**
|
|
2017
|
+
* The callsign.
|
|
2018
|
+
*
|
|
2019
|
+
*/
|
|
2020
|
+
callsign: string;
|
|
2021
|
+
/**
|
|
2022
|
+
* The short callsign.
|
|
2023
|
+
*
|
|
2024
|
+
*/
|
|
2025
|
+
callsignShort: string;
|
|
2026
|
+
/**
|
|
2027
|
+
* The GPS callsign, if any.
|
|
2028
|
+
*
|
|
2029
|
+
*/
|
|
2030
|
+
callsignGps: string;
|
|
2031
|
+
/**
|
|
2032
|
+
* The verbal callsign (as spoken on the radio), if any.
|
|
2033
|
+
*
|
|
2034
|
+
*/
|
|
2035
|
+
callsignVerbal: string;
|
|
2036
|
+
/**
|
|
2037
|
+
* The unit category, e.g. "RTW".
|
|
2038
|
+
*
|
|
2039
|
+
*/
|
|
2040
|
+
category: string;
|
|
2041
|
+
/**
|
|
2042
|
+
* The callsign (callsign, short, GPS or verbal) that matched the search best.
|
|
2043
|
+
*
|
|
2044
|
+
*/
|
|
2045
|
+
matchedCallsign: string;
|
|
2046
|
+
}
|
|
1856
2047
|
export interface UserInfo {
|
|
1857
2048
|
suspendedUntilUtc: string | null;
|
|
1858
2049
|
id: number;
|
|
@@ -1888,23 +2079,6 @@ export interface UserInfo {
|
|
|
1888
2079
|
*/
|
|
1889
2080
|
lastActivityOn: string | null;
|
|
1890
2081
|
}
|
|
1891
|
-
export interface SimulationUnitDebug {
|
|
1892
|
-
id: number;
|
|
1893
|
-
unitInformation: IUnitInfo;
|
|
1894
|
-
patient: string;
|
|
1895
|
-
session: string;
|
|
1896
|
-
state: string;
|
|
1897
|
-
mission: string;
|
|
1898
|
-
request: string;
|
|
1899
|
-
isDriving: boolean;
|
|
1900
|
-
isOnDuty: boolean;
|
|
1901
|
-
isFrozen: boolean;
|
|
1902
|
-
isFrozenUntil: string | null;
|
|
1903
|
-
knowledge: string;
|
|
1904
|
-
equipmentOnScene: string;
|
|
1905
|
-
requiredEquipments: string;
|
|
1906
|
-
onServerTime: string;
|
|
1907
|
-
}
|
|
1908
2082
|
export interface Information {
|
|
1909
2083
|
}
|
|
1910
2084
|
export interface LookupDto {
|
|
@@ -3091,6 +3265,11 @@ export interface IOperation {
|
|
|
3091
3265
|
*
|
|
3092
3266
|
*/
|
|
3093
3267
|
callerName: string;
|
|
3268
|
+
/**
|
|
3269
|
+
* Gets the properties the operation still needs before units can be dispatched to it (computed); empty when it is ready for dispatch.
|
|
3270
|
+
*
|
|
3271
|
+
*/
|
|
3272
|
+
missingDispatchRequirements: DispatchRequirement[] | null;
|
|
3094
3273
|
/**
|
|
3095
3274
|
* Gets or sets the phone number of the caller.
|
|
3096
3275
|
*
|
|
@@ -3141,6 +3320,21 @@ export interface IOperation {
|
|
|
3141
3320
|
*
|
|
3142
3321
|
*/
|
|
3143
3322
|
informationExternal: string;
|
|
3323
|
+
/**
|
|
3324
|
+
* Gets or sets the floor at the location, e.g. "3rd floor" (detail for the units; not used for geocoding).
|
|
3325
|
+
*
|
|
3326
|
+
*/
|
|
3327
|
+
locationFloor: string;
|
|
3328
|
+
/**
|
|
3329
|
+
* Gets or sets the junction, interchange or exit at the location, e.g. on a motorway (detail for the units; not used for geocoding).
|
|
3330
|
+
*
|
|
3331
|
+
*/
|
|
3332
|
+
locationJunction: string;
|
|
3333
|
+
/**
|
|
3334
|
+
* Gets or sets the position on a route at the location in any unit, e.g. "km 123.4" or "mile 76" (detail for the units; not used for geocoding).
|
|
3335
|
+
*
|
|
3336
|
+
*/
|
|
3337
|
+
locationRouteMarker: string;
|
|
3144
3338
|
id: string;
|
|
3145
3339
|
/**
|
|
3146
3340
|
* Gets or sets the internal operation number.
|
|
@@ -3300,6 +3494,11 @@ export interface IOperationResource {
|
|
|
3300
3494
|
*
|
|
3301
3495
|
*/
|
|
3302
3496
|
suggestionOn: string | null;
|
|
3497
|
+
/**
|
|
3498
|
+
* Gets or sets when the reservation for the current operation is released automatically (real time, UTC, not the session time); null without reservation.
|
|
3499
|
+
*
|
|
3500
|
+
*/
|
|
3501
|
+
reservationExpiresOn: string | null;
|
|
3303
3502
|
/**
|
|
3304
3503
|
* Gets or sets the count of times the unit has been dispatched, used for load balancing between units.
|
|
3305
3504
|
*
|
|
@@ -3361,6 +3560,16 @@ export interface IOperationTask {
|
|
|
3361
3560
|
*/
|
|
3362
3561
|
createdOn: string;
|
|
3363
3562
|
matchUnitId: number | null;
|
|
3563
|
+
/**
|
|
3564
|
+
* Gets whether a dispatcher may execute the task now (computed): manual tasks that may run several times, and manual-once tasks that have not run yet.
|
|
3565
|
+
*
|
|
3566
|
+
*/
|
|
3567
|
+
canExecuteManually: boolean;
|
|
3568
|
+
/**
|
|
3569
|
+
* Gets whether the task is still to do (computed): it has not completed and is not queued or running.
|
|
3570
|
+
*
|
|
3571
|
+
*/
|
|
3572
|
+
isOpen: boolean;
|
|
3364
3573
|
}
|
|
3365
3574
|
export interface IPatient {
|
|
3366
3575
|
id: string;
|
|
@@ -3379,6 +3588,16 @@ export interface IPatient {
|
|
|
3379
3588
|
*
|
|
3380
3589
|
*/
|
|
3381
3590
|
pickupDeadline: string | null;
|
|
3591
|
+
/**
|
|
3592
|
+
* Gets or sets the PZC (patient condition code) as its 6-digit value: incident code, age, urgency level (e.g. 232183); null if not set.
|
|
3593
|
+
*
|
|
3594
|
+
*/
|
|
3595
|
+
pzc: number | null;
|
|
3596
|
+
/**
|
|
3597
|
+
* Gets or sets the units of the operation that take care of the patient (several possible, e.g. the emergency doctor and the ambulance).
|
|
3598
|
+
*
|
|
3599
|
+
*/
|
|
3600
|
+
assignedUnitIds: number[] | null;
|
|
3382
3601
|
/**
|
|
3383
3602
|
* Gets or sets the first name of the person.
|
|
3384
3603
|
*
|
|
@@ -3575,6 +3794,11 @@ export interface IPreselection {
|
|
|
3575
3794
|
*
|
|
3576
3795
|
*/
|
|
3577
3796
|
totalTimeToTarget: string | null;
|
|
3797
|
+
/**
|
|
3798
|
+
* Gets when the unit's duty ends (session time), only when it ends soon (Core DispatchDefaults.DutyEndWarningMinutes); otherwise null.
|
|
3799
|
+
*
|
|
3800
|
+
*/
|
|
3801
|
+
dutyEndsOn: string | null;
|
|
3578
3802
|
}
|
|
3579
3803
|
export interface IPrioritizedService {
|
|
3580
3804
|
/**
|
|
@@ -3620,6 +3844,16 @@ export interface IResourceFilter {
|
|
|
3620
3844
|
*
|
|
3621
3845
|
*/
|
|
3622
3846
|
unitCategories: UnitCategory[] | null;
|
|
3847
|
+
/**
|
|
3848
|
+
* Gets or sets a collection of to filter resources by the kind of unit (any of the groups matches).
|
|
3849
|
+
*
|
|
3850
|
+
*/
|
|
3851
|
+
unitCategoryGroups: UnitCategoryGroup[] | null;
|
|
3852
|
+
/**
|
|
3853
|
+
* Gets or sets a collection of to filter resources by how soon they are available (any of them matches).
|
|
3854
|
+
*
|
|
3855
|
+
*/
|
|
3856
|
+
unitAvailabilities: UnitAvailability[] | null;
|
|
3623
3857
|
/**
|
|
3624
3858
|
* Gets or sets a collection of to filter resources by unit display categories see .
|
|
3625
3859
|
*
|
|
@@ -4214,6 +4448,11 @@ export interface IUnitResource {
|
|
|
4214
4448
|
*
|
|
4215
4449
|
*/
|
|
4216
4450
|
suggestionOn: string | null;
|
|
4451
|
+
/**
|
|
4452
|
+
* Gets or sets when the reservation for the current operation is released automatically (real time, UTC, not the session time); null without reservation.
|
|
4453
|
+
*
|
|
4454
|
+
*/
|
|
4455
|
+
reservationExpiresOn: string | null;
|
|
4217
4456
|
/**
|
|
4218
4457
|
* Gets or sets the count of times the unit has been dispatched, used for load balancing between units.
|
|
4219
4458
|
*
|
|
@@ -4567,7 +4806,12 @@ export declare enum DispatchCenterOption {
|
|
|
4567
4806
|
* Specifies whether the equipment suggester accounts for equipment already provided by units from previous suggesters (e.g., TagsSuggester). Note: This calculation is only relevant if is enabled; otherwise, the equipment suggester is skipped when tag-based units are present.
|
|
4568
4807
|
*
|
|
4569
4808
|
*/
|
|
4570
|
-
EquipmentSuggesterIncludesPreviousSuggesterResults = 22
|
|
4809
|
+
EquipmentSuggesterIncludesPreviousSuggesterResults = 22,
|
|
4810
|
+
/**
|
|
4811
|
+
* Patients are transported to the nearest hospital that accepts their PZC, as assigned per hospital. Without such a hospital, or when disabled, to the nearest hospital with the departments the PZC requires at least.
|
|
4812
|
+
*
|
|
4813
|
+
*/
|
|
4814
|
+
HospitalDestinationByPzcAssignment = 23
|
|
4571
4815
|
}
|
|
4572
4816
|
export declare enum DispatchGroupAvailabilityState {
|
|
4573
4817
|
/**
|
|
@@ -4586,6 +4830,18 @@ export declare enum DispatchGroupAvailabilityState {
|
|
|
4586
4830
|
*/
|
|
4587
4831
|
FullyAvailable = 2
|
|
4588
4832
|
}
|
|
4833
|
+
export declare enum DispatchRequirement {
|
|
4834
|
+
/**
|
|
4835
|
+
* The location must be set (any accuracy other than ).
|
|
4836
|
+
*
|
|
4837
|
+
*/
|
|
4838
|
+
Location = 0,
|
|
4839
|
+
/**
|
|
4840
|
+
* At least one keyword must be set.
|
|
4841
|
+
*
|
|
4842
|
+
*/
|
|
4843
|
+
Keyword = 1
|
|
4844
|
+
}
|
|
4589
4845
|
export declare enum Gender {
|
|
4590
4846
|
/**
|
|
4591
4847
|
* Represents the male gender.
|
|
@@ -4751,7 +5007,12 @@ export declare enum NotificationCategory {
|
|
|
4751
5007
|
* Notification for a patient transport request from a hospital / external source.
|
|
4752
5008
|
*
|
|
4753
5009
|
*/
|
|
4754
|
-
TransportRequested = 13
|
|
5010
|
+
TransportRequested = 13,
|
|
5011
|
+
/**
|
|
5012
|
+
* Notification for a PZC (Patientenzustandscode) transmitted by a unit before the patient transport.
|
|
5013
|
+
*
|
|
5014
|
+
*/
|
|
5015
|
+
PzcReported = 14
|
|
4755
5016
|
}
|
|
4756
5017
|
export declare enum OpeningDays {
|
|
4757
5018
|
Monday = 1,
|
|
@@ -5088,7 +5349,10 @@ export declare enum ProblemInformation {
|
|
|
5088
5349
|
PzcHospitalDepartmentNotFound = 172,
|
|
5089
5350
|
SessionRestoreInProgress = 173,
|
|
5090
5351
|
SessionBulkOperationInProgress = 174,
|
|
5091
|
-
DispatchCenterAreaIsNotSet = 175
|
|
5352
|
+
DispatchCenterAreaIsNotSet = 175,
|
|
5353
|
+
OperationNotReadyForDispatch = 176,
|
|
5354
|
+
OperationTaskNotExecutable = 177,
|
|
5355
|
+
OperationLocationRequired = 178
|
|
5092
5356
|
}
|
|
5093
5357
|
export declare enum SessionAccess {
|
|
5094
5358
|
Private = 0,
|
|
@@ -5209,66 +5473,66 @@ export declare enum ShelfBatchCreateMode {
|
|
|
5209
5473
|
* Validates the batch without making any changes to the database.
|
|
5210
5474
|
*
|
|
5211
5475
|
*/
|
|
5212
|
-
DryRun =
|
|
5476
|
+
DryRun = "DryRun",
|
|
5213
5477
|
/**
|
|
5214
5478
|
* Only updates existing entities. Does not create new entities.
|
|
5215
5479
|
*
|
|
5216
5480
|
*/
|
|
5217
|
-
UpdateOnly =
|
|
5481
|
+
UpdateOnly = "UpdateOnly",
|
|
5218
5482
|
/**
|
|
5219
5483
|
* Only creates new entities. Does not update existing entities.
|
|
5220
5484
|
*
|
|
5221
5485
|
*/
|
|
5222
|
-
CreateOnly =
|
|
5486
|
+
CreateOnly = "CreateOnly",
|
|
5223
5487
|
/**
|
|
5224
5488
|
* Updates existing entities and creates new entities as needed.
|
|
5225
5489
|
*
|
|
5226
5490
|
*/
|
|
5227
|
-
CreateOrUpdate =
|
|
5491
|
+
CreateOrUpdate = "CreateOrUpdate"
|
|
5228
5492
|
}
|
|
5229
5493
|
export declare enum ShelfBatchFailureMode {
|
|
5230
5494
|
/**
|
|
5231
5495
|
* Stop the entire batch operation immediately when the first entity fails. All successful operations are rolled back.
|
|
5232
5496
|
*
|
|
5233
5497
|
*/
|
|
5234
|
-
StopOnFirstFailure =
|
|
5498
|
+
StopOnFirstFailure = "StopOnFirstFailure",
|
|
5235
5499
|
/**
|
|
5236
5500
|
* Skip failed entities and continue processing the remaining entities. Successful operations are committed, failed entities are reported.
|
|
5237
5501
|
*
|
|
5238
5502
|
*/
|
|
5239
|
-
SkipAndContinue =
|
|
5503
|
+
SkipAndContinue = "SkipAndContinue",
|
|
5240
5504
|
/**
|
|
5241
5505
|
* Complete the entire batch but collect all failures. Roll back all operations if any entity fails.
|
|
5242
5506
|
*
|
|
5243
5507
|
*/
|
|
5244
|
-
AllOrNothing =
|
|
5508
|
+
AllOrNothing = "AllOrNothing"
|
|
5245
5509
|
}
|
|
5246
5510
|
export declare enum ShelfIdentificationStrategy {
|
|
5247
5511
|
/**
|
|
5248
5512
|
* Always use the origin ID for entity identification. Fails if origin ID is not provided or entity is not found.
|
|
5249
5513
|
*
|
|
5250
5514
|
*/
|
|
5251
|
-
OriginIdOnly =
|
|
5515
|
+
OriginIdOnly = "OriginIdOnly",
|
|
5252
5516
|
/**
|
|
5253
5517
|
* Use the origin ID if provided, otherwise fall back to internal ID.
|
|
5254
5518
|
*
|
|
5255
5519
|
*/
|
|
5256
|
-
OriginIdOrInternalId =
|
|
5520
|
+
OriginIdOrInternalId = "OriginIdOrInternalId",
|
|
5257
5521
|
/**
|
|
5258
5522
|
* Use the origin ID for lookup, but fall back to internal ID if entity is not found.
|
|
5259
5523
|
*
|
|
5260
5524
|
*/
|
|
5261
|
-
OriginIdWithInternalIdFallback =
|
|
5525
|
+
OriginIdWithInternalIdFallback = "OriginIdWithInternalIdFallback",
|
|
5262
5526
|
/**
|
|
5263
5527
|
* Use the origin ID if provided and entity exists, otherwise fall back to internal ID. Combines both null check and existence check fallback behavior.
|
|
5264
5528
|
*
|
|
5265
5529
|
*/
|
|
5266
|
-
OriginIdWithFullFallback =
|
|
5530
|
+
OriginIdWithFullFallback = "OriginIdWithFullFallback",
|
|
5267
5531
|
/**
|
|
5268
5532
|
* Will not compare any provided ids with existing ids. All entities will be handled as "new".
|
|
5269
5533
|
*
|
|
5270
5534
|
*/
|
|
5271
|
-
Disable =
|
|
5535
|
+
Disable = "Disable"
|
|
5272
5536
|
}
|
|
5273
5537
|
export declare enum Sound {
|
|
5274
5538
|
/**
|
|
@@ -5484,6 +5748,23 @@ export declare enum TaskStatus {
|
|
|
5484
5748
|
*/
|
|
5485
5749
|
NotSupported = 5
|
|
5486
5750
|
}
|
|
5751
|
+
export declare enum UnitAvailability {
|
|
5752
|
+
/**
|
|
5753
|
+
* On duty (at the station or on the way) and not bound to an operation.
|
|
5754
|
+
*
|
|
5755
|
+
*/
|
|
5756
|
+
Available = 0,
|
|
5757
|
+
/**
|
|
5758
|
+
* Arrived at the destination (e.g. hospital), available soon.
|
|
5759
|
+
*
|
|
5760
|
+
*/
|
|
5761
|
+
SoonAvailable = 1,
|
|
5762
|
+
/**
|
|
5763
|
+
* On the way, on scene, driving to the destination, not on duty or individual status.
|
|
5764
|
+
*
|
|
5765
|
+
*/
|
|
5766
|
+
NotAvailable = 2
|
|
5767
|
+
}
|
|
5487
5768
|
export declare enum UnitCategory {
|
|
5488
5769
|
DLK = 0,
|
|
5489
5770
|
ELW1 = 1,
|
|
@@ -5517,6 +5798,28 @@ export declare enum UnitCategory {
|
|
|
5517
5798
|
NAW = 29,
|
|
5518
5799
|
KEF = 30
|
|
5519
5800
|
}
|
|
5801
|
+
export declare enum UnitCategoryGroup {
|
|
5802
|
+
/**
|
|
5803
|
+
* Ambulances for emergencies (e.g. RTW, NAW).
|
|
5804
|
+
*
|
|
5805
|
+
*/
|
|
5806
|
+
AmbulanceUrgent = 0,
|
|
5807
|
+
/**
|
|
5808
|
+
* Ambulances for patient transports (e.g. KTW).
|
|
5809
|
+
*
|
|
5810
|
+
*/
|
|
5811
|
+
AmbulanceNonUrgent = 1,
|
|
5812
|
+
/**
|
|
5813
|
+
* Units with an emergency doctor (e.g. NEF, RTH).
|
|
5814
|
+
*
|
|
5815
|
+
*/
|
|
5816
|
+
Doctor = 2,
|
|
5817
|
+
/**
|
|
5818
|
+
* Fire brigade units (e.g. HLF, DLK).
|
|
5819
|
+
*
|
|
5820
|
+
*/
|
|
5821
|
+
Firefighter = 3
|
|
5822
|
+
}
|
|
5520
5823
|
export declare enum UnitDispatchOption {
|
|
5521
5824
|
/**
|
|
5522
5825
|
* Indicates a normal dispatch option.
|
|
@@ -5720,6 +6023,30 @@ export declare function setLocale(locale: string): void;
|
|
|
5720
6023
|
export declare function getCurrentLocale(): string;
|
|
5721
6024
|
export declare function getLocalizedEnumValue<T extends keyof typeof EnumLocalizations>(enumName: T, enumValue: keyof typeof EnumLocalizations[T], locale?: string): string;
|
|
5722
6025
|
export declare function localizeEnum<T extends Record<string, string | number>>(enumObject: T, enumName: keyof typeof EnumLocalizations, locale?: string): Record<keyof T, string>;
|
|
6026
|
+
export declare namespace DispatchDefaults {
|
|
6027
|
+
/**
|
|
6028
|
+
* How long units stay reserved for an operation (real time, IUnitResource.ReservationExpiresOn) before the reservation is released automatically. Extending a reservation starts it again.
|
|
6029
|
+
*
|
|
6030
|
+
*/
|
|
6031
|
+
const ReservationTimeoutSeconds: number;
|
|
6032
|
+
/**
|
|
6033
|
+
* Units whose duty ends within this many minutes (session time) are marked in the resource browser.
|
|
6034
|
+
*
|
|
6035
|
+
*/
|
|
6036
|
+
const DutyEndWarningMinutes: number;
|
|
6037
|
+
}
|
|
6038
|
+
export declare namespace OperationDefaults {
|
|
6039
|
+
/**
|
|
6040
|
+
* The maximum length of the internal and the external information (notes) of an operation.
|
|
6041
|
+
*
|
|
6042
|
+
*/
|
|
6043
|
+
const InformationMaxLength: number;
|
|
6044
|
+
/**
|
|
6045
|
+
* The maximum length of a location detail (floor, junction, route marker) of an operation.
|
|
6046
|
+
*
|
|
6047
|
+
*/
|
|
6048
|
+
const LocationDetailMaxLength: number;
|
|
6049
|
+
}
|
|
5723
6050
|
export declare namespace SignalRDefaults {
|
|
5724
6051
|
/**
|
|
5725
6052
|
* The interval, in seconds, at which the SignalR client sends keep-alive messages to the server.
|
|
@@ -5782,4 +6109,3 @@ export declare namespace UserInterfaceDefaults {
|
|
|
5782
6109
|
const CommandcenterHeaderImageHeight: number;
|
|
5783
6110
|
}
|
|
5784
6111
|
}
|
|
5785
|
-
//# sourceMappingURL=main.d.ts.map
|