resqueserve-core 4.0.0-258 → 4.0.0-259
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/.tsbuildinfo +1 -1
- package/main.d.ts +725 -832
- package/main.d.ts.map +1 -1
- package/main.js +50 -100
- package/package.json +1 -1
package/main.d.ts
CHANGED
|
@@ -72,12 +72,9 @@ export interface BuildArea {
|
|
|
72
72
|
*/
|
|
73
73
|
dispatchGroups: string;
|
|
74
74
|
}
|
|
75
|
-
/**
|
|
76
|
-
* Represents the keyword associated with an emergency, which acts as a key identifier in categorizing and managing the dispatch of units based on specific emergency conditions and requirements.
|
|
77
|
-
*
|
|
78
|
-
*/
|
|
79
75
|
export interface BuildKeyword {
|
|
80
|
-
|
|
76
|
+
id: number;
|
|
77
|
+
commandcenterId: number;
|
|
81
78
|
/**
|
|
82
79
|
* The name of the keyword used for search and identification purposes.
|
|
83
80
|
*
|
|
@@ -158,6 +155,11 @@ export interface BuildKeyword {
|
|
|
158
155
|
*
|
|
159
156
|
*/
|
|
160
157
|
dispatchGroups: string;
|
|
158
|
+
/**
|
|
159
|
+
* A list of equipment required for handling the emergency, linked to this keyword.
|
|
160
|
+
*
|
|
161
|
+
*/
|
|
162
|
+
requiredEquipment: IKeywordEquipment[] | null;
|
|
161
163
|
}
|
|
162
164
|
/**
|
|
163
165
|
* Represents a data structure for scheduling simulated emergencies based on time and category within a dispatch center's operational plans. This record allows setting specific hours and the corresponding number of emergencies to be generated.
|
|
@@ -334,6 +336,8 @@ export interface BuildTaskTemplate {
|
|
|
334
336
|
*
|
|
335
337
|
*/
|
|
336
338
|
conditions: BuildTaskCondition[] | null;
|
|
339
|
+
id: number;
|
|
340
|
+
commandcenterId: number;
|
|
337
341
|
/**
|
|
338
342
|
* Gets or sets the description of the task template.
|
|
339
343
|
*
|
|
@@ -794,6 +798,7 @@ export interface Commandcenter {
|
|
|
794
798
|
*
|
|
795
799
|
*/
|
|
796
800
|
options: CommandcenterOption[] | null;
|
|
801
|
+
unitStatusWhenUnitIsOnStandbyLocation: UnitStatus;
|
|
797
802
|
}
|
|
798
803
|
/**
|
|
799
804
|
* Enables the creation of custom equipment for units within a command center, which assists in the suggestion process during dispatch operations but does not influence simulation outcomes directly.
|
|
@@ -882,7 +887,7 @@ export interface PoiLookupDto {
|
|
|
882
887
|
*
|
|
883
888
|
*/
|
|
884
889
|
export interface ResourceLookupDto {
|
|
885
|
-
|
|
890
|
+
unitId: number | null;
|
|
886
891
|
unitStatus: UnitStatus | null;
|
|
887
892
|
category: string;
|
|
888
893
|
callsign: string;
|
|
@@ -1066,7 +1071,6 @@ export interface PoiInformation {
|
|
|
1066
1071
|
*
|
|
1067
1072
|
*/
|
|
1068
1073
|
export interface ResourceInformation {
|
|
1069
|
-
id: string | null;
|
|
1070
1074
|
unitId: number | null;
|
|
1071
1075
|
staticPosition: Coordinates | null;
|
|
1072
1076
|
dynamicPosition: Coordinates | null;
|
|
@@ -1083,14 +1087,13 @@ export interface ResourceInformation {
|
|
|
1083
1087
|
currentOperation: string;
|
|
1084
1088
|
duty: string;
|
|
1085
1089
|
}
|
|
1086
|
-
/**
|
|
1087
|
-
* Represents the keyword associated with an emergency, which acts as a key identifier in categorizing and managing the dispatch of units based on specific emergency conditions and requirements.
|
|
1088
|
-
*
|
|
1089
|
-
*/
|
|
1090
1090
|
export interface Keyword {
|
|
1091
1091
|
id: number;
|
|
1092
1092
|
commandcenterId: number;
|
|
1093
|
-
|
|
1093
|
+
/**
|
|
1094
|
+
* The name of the keyword used for search and identification purposes.
|
|
1095
|
+
*
|
|
1096
|
+
*/
|
|
1094
1097
|
name: string;
|
|
1095
1098
|
/**
|
|
1096
1099
|
* Indicates if the emergency is urgent, which may prompt units to use sirens.
|
|
@@ -1167,14 +1170,14 @@ export interface Keyword {
|
|
|
1167
1170
|
*
|
|
1168
1171
|
*/
|
|
1169
1172
|
dispatchGroups: string;
|
|
1173
|
+
/**
|
|
1174
|
+
* A list of equipment required for handling the emergency, linked to this keyword.
|
|
1175
|
+
*
|
|
1176
|
+
*/
|
|
1177
|
+
requiredEquipment: IKeywordEquipment[] | null;
|
|
1170
1178
|
}
|
|
1171
|
-
/**
|
|
1172
|
-
* Represents a specific type of equipment associated with a keyword, detailing the quantity needed and the type of equipment. This record is used to manage equipment requirements for specific emergency scenarios as specified by keywords.
|
|
1173
|
-
*
|
|
1174
|
-
*/
|
|
1175
1179
|
export interface KeywordEquipment {
|
|
1176
1180
|
id: number;
|
|
1177
|
-
keywordId: number;
|
|
1178
1181
|
/**
|
|
1179
1182
|
* The amount of this equipment type required for the associated emergency scenario.
|
|
1180
1183
|
*
|
|
@@ -1204,59 +1207,6 @@ export interface KeywordTask {
|
|
|
1204
1207
|
*/
|
|
1205
1208
|
text: string;
|
|
1206
1209
|
}
|
|
1207
|
-
/**
|
|
1208
|
-
* Represents a geographical location, including details such as address, point of interest, coordinates, and location accuracy. This record is used throughout the dispatch system to manage and validate the positions of units and incidents.
|
|
1209
|
-
*
|
|
1210
|
-
*/
|
|
1211
|
-
export interface Location {
|
|
1212
|
-
/**
|
|
1213
|
-
* Point of interest associated with the location, if applicable.
|
|
1214
|
-
*
|
|
1215
|
-
*/
|
|
1216
|
-
poi: Poi;
|
|
1217
|
-
/**
|
|
1218
|
-
* Specifies the names of the properties that should be used in the stable hash calculation.
|
|
1219
|
-
*
|
|
1220
|
-
* @returns A list of property names to be included in the hash.
|
|
1221
|
-
*/
|
|
1222
|
-
hashProperties: string[] | null;
|
|
1223
|
-
/**
|
|
1224
|
-
* Gets a value indicating whether the location has been set through a point of interest (POI) or an address.
|
|
1225
|
-
*
|
|
1226
|
-
*
|
|
1227
|
-
* @remarks
|
|
1228
|
-
* Returns true if the location has been set by a point of interest or an address; otherwise, false.
|
|
1229
|
-
*/
|
|
1230
|
-
isLocationSet: boolean;
|
|
1231
|
-
/**
|
|
1232
|
-
* Gets a value indicating whether the coordinates have been successfully resolved for the location.
|
|
1233
|
-
*
|
|
1234
|
-
*
|
|
1235
|
-
* @remarks
|
|
1236
|
-
* Returns true if the location has been set and coordinates are not null; otherwise, false.
|
|
1237
|
-
*/
|
|
1238
|
-
isCoordinatesResolved: boolean;
|
|
1239
|
-
/**
|
|
1240
|
-
* Primary address details of the location.
|
|
1241
|
-
*
|
|
1242
|
-
*/
|
|
1243
|
-
address: Address;
|
|
1244
|
-
/**
|
|
1245
|
-
* House number at the location, if applicable.
|
|
1246
|
-
*
|
|
1247
|
-
*/
|
|
1248
|
-
houseNumber: string;
|
|
1249
|
-
/**
|
|
1250
|
-
* Geographical coordinates of the location.
|
|
1251
|
-
*
|
|
1252
|
-
*/
|
|
1253
|
-
coordinates: Coordinates | null;
|
|
1254
|
-
/**
|
|
1255
|
-
* Specifies the accuracy of the coordinates from the geocoding process.
|
|
1256
|
-
*
|
|
1257
|
-
*/
|
|
1258
|
-
accuracy: LocationAccuracy;
|
|
1259
|
-
}
|
|
1260
1210
|
/**
|
|
1261
1211
|
* Represents a data structure for scheduling simulated emergencies based on time and category within a dispatch center's operational plans. This record allows setting specific hours and the corresponding number of emergencies to be generated.
|
|
1262
1212
|
*
|
|
@@ -1280,1300 +1230,1233 @@ export interface MissionLoad {
|
|
|
1280
1230
|
*/
|
|
1281
1231
|
amount: number;
|
|
1282
1232
|
}
|
|
1283
|
-
|
|
1284
|
-
* Represents a notification in a dispatch center session.
|
|
1285
|
-
*
|
|
1286
|
-
*/
|
|
1287
|
-
export interface Notification {
|
|
1288
|
-
/**
|
|
1289
|
-
* Gets the unique identifier of the session associated with this entity.
|
|
1290
|
-
*
|
|
1291
|
-
*/
|
|
1292
|
-
sessionId: number;
|
|
1233
|
+
export interface Patient {
|
|
1293
1234
|
id: string;
|
|
1235
|
+
operationId: string;
|
|
1294
1236
|
/**
|
|
1295
|
-
* Gets the
|
|
1237
|
+
* Gets or sets the first name of the person.
|
|
1296
1238
|
*
|
|
1297
1239
|
*/
|
|
1298
|
-
|
|
1240
|
+
firstName: string;
|
|
1299
1241
|
/**
|
|
1300
|
-
* Gets or sets
|
|
1242
|
+
* Gets or sets the middle name of the person.
|
|
1301
1243
|
*
|
|
1302
1244
|
*/
|
|
1303
|
-
|
|
1245
|
+
middleName: string;
|
|
1304
1246
|
/**
|
|
1305
|
-
* Gets or sets the
|
|
1247
|
+
* Gets or sets the last name of the person.
|
|
1306
1248
|
*
|
|
1307
1249
|
*/
|
|
1308
|
-
|
|
1250
|
+
lastName: string;
|
|
1309
1251
|
/**
|
|
1310
|
-
* Gets the
|
|
1252
|
+
* Gets or sets the gender of the person.
|
|
1311
1253
|
*
|
|
1312
1254
|
*/
|
|
1313
|
-
|
|
1255
|
+
gender: Gender | null;
|
|
1314
1256
|
/**
|
|
1315
|
-
* Gets or sets the
|
|
1257
|
+
* Gets or sets the date of birth of the person.
|
|
1316
1258
|
*
|
|
1317
1259
|
*/
|
|
1318
|
-
|
|
1260
|
+
dateOfBirth: string | null;
|
|
1319
1261
|
/**
|
|
1320
|
-
* Gets or sets the
|
|
1262
|
+
* Gets or sets the insurance number of the patient, if available.
|
|
1321
1263
|
*
|
|
1322
1264
|
*/
|
|
1323
|
-
|
|
1265
|
+
insuranceNumber: string;
|
|
1324
1266
|
/**
|
|
1325
|
-
* Gets or sets the
|
|
1267
|
+
* Gets or sets the destination location for the patient.
|
|
1326
1268
|
*
|
|
1327
1269
|
*/
|
|
1328
|
-
|
|
1270
|
+
destination: IGeoReferenced;
|
|
1329
1271
|
}
|
|
1330
1272
|
/**
|
|
1331
|
-
* Represents
|
|
1273
|
+
* Represents a point of interest (POI) such as hospitals, fire stations, or other locations.
|
|
1332
1274
|
*
|
|
1333
1275
|
*/
|
|
1334
|
-
export interface
|
|
1335
|
-
id:
|
|
1336
|
-
|
|
1337
|
-
|
|
1338
|
-
[key: string]: Patient;
|
|
1339
|
-
};
|
|
1340
|
-
resources: {
|
|
1341
|
-
[key: string]: OperationResource;
|
|
1342
|
-
};
|
|
1343
|
-
documentations: {
|
|
1344
|
-
[key: string]: OperationDocumentation;
|
|
1345
|
-
};
|
|
1346
|
-
tasks: {
|
|
1347
|
-
[key: string]: OperationTask;
|
|
1348
|
-
};
|
|
1349
|
-
events: {
|
|
1350
|
-
[key: string]: OperationEvent;
|
|
1351
|
-
};
|
|
1352
|
-
location: Location;
|
|
1353
|
-
/**
|
|
1354
|
-
* Gets or sets the internal operation number.
|
|
1355
|
-
*
|
|
1356
|
-
*/
|
|
1357
|
-
numberInternal: string;
|
|
1276
|
+
export interface Poi {
|
|
1277
|
+
id: number;
|
|
1278
|
+
commandcenterId: number;
|
|
1279
|
+
address: Address;
|
|
1358
1280
|
/**
|
|
1359
|
-
*
|
|
1281
|
+
* The name of the point of interest. Is unique inside a dispatch center.
|
|
1360
1282
|
*
|
|
1361
1283
|
*/
|
|
1362
|
-
|
|
1284
|
+
name: string;
|
|
1363
1285
|
/**
|
|
1364
|
-
*
|
|
1286
|
+
* The category of the point of interest.
|
|
1365
1287
|
*
|
|
1366
1288
|
*/
|
|
1367
|
-
|
|
1289
|
+
category: PoiCategory;
|
|
1368
1290
|
/**
|
|
1369
|
-
*
|
|
1291
|
+
* Tags associated with the point of interest for search purposes. Separate multiple tags with a comma.
|
|
1370
1292
|
*
|
|
1371
1293
|
*/
|
|
1372
|
-
|
|
1294
|
+
searchTags: string;
|
|
1373
1295
|
/**
|
|
1374
|
-
*
|
|
1296
|
+
* The verbal name of the point of interest. May be used on radio or calls.
|
|
1375
1297
|
*
|
|
1376
1298
|
*/
|
|
1377
|
-
|
|
1299
|
+
verbalName: string;
|
|
1378
1300
|
/**
|
|
1379
|
-
*
|
|
1301
|
+
* The German genus of the point of interest (der, die, das).
|
|
1380
1302
|
*
|
|
1381
1303
|
*/
|
|
1382
|
-
|
|
1304
|
+
germanGenus: string;
|
|
1383
1305
|
/**
|
|
1384
|
-
*
|
|
1306
|
+
* The hospital departments associated with the hospital POI if is hospital. Has no effect if is true.
|
|
1385
1307
|
*
|
|
1386
1308
|
*/
|
|
1387
|
-
|
|
1309
|
+
hospitalDepartments: PoiHospitalDepartment[] | null;
|
|
1388
1310
|
/**
|
|
1389
|
-
*
|
|
1311
|
+
* Indicates whether units should be dispatched together when assigned to this POI. Should be true if non-volunteer department.
|
|
1390
1312
|
*
|
|
1391
1313
|
*/
|
|
1392
|
-
|
|
1314
|
+
isUnitsMoveOutTogether: boolean;
|
|
1393
1315
|
/**
|
|
1394
|
-
*
|
|
1316
|
+
* The bonus or malus value associated with the point of interest (POI). Must be a value between -100 or +100 (%). This value affects the calculated distance if the POI is a hospital. Units will always prioritize the nearest hospital with the required hospital departments.
|
|
1395
1317
|
*
|
|
1396
1318
|
*/
|
|
1397
|
-
|
|
1319
|
+
bonusMalus: number;
|
|
1398
1320
|
/**
|
|
1399
|
-
*
|
|
1321
|
+
* Indicates whether the hospital is a maximum care hospital and has all .
|
|
1400
1322
|
*
|
|
1401
1323
|
*/
|
|
1402
|
-
|
|
1324
|
+
isMaxCareHospital: boolean;
|
|
1403
1325
|
/**
|
|
1404
|
-
*
|
|
1326
|
+
* Indicates whether the hospital is an external hospital. External hospitals do not generate patient transports, but units may use them as destinations for patients.
|
|
1405
1327
|
*
|
|
1406
1328
|
*/
|
|
1407
|
-
|
|
1329
|
+
isExternalHospital: boolean;
|
|
1408
1330
|
/**
|
|
1409
|
-
*
|
|
1331
|
+
* Indicates whether patient information transmission is automatic at this POI. Units will transmit patient information to the hospital non-verbally if this property is set to true.
|
|
1410
1332
|
*
|
|
1411
1333
|
*/
|
|
1412
|
-
|
|
1334
|
+
isAutomaticPatientTransmission: boolean;
|
|
1413
1335
|
/**
|
|
1414
|
-
*
|
|
1336
|
+
* Indicates whether a fire alarm system is present at this POI. The presence of a fire alarm system may generate calls.
|
|
1415
1337
|
*
|
|
1416
1338
|
*/
|
|
1417
|
-
|
|
1339
|
+
isWithFireAlarmSystem: boolean;
|
|
1418
1340
|
/**
|
|
1419
|
-
*
|
|
1341
|
+
* Indicates whether the object name is shown as the caller number for this POI or a random number is generated. .
|
|
1420
1342
|
*
|
|
1421
1343
|
*/
|
|
1422
|
-
|
|
1344
|
+
isNameCallerNumber: boolean;
|
|
1345
|
+
coordinates: Coordinates | null;
|
|
1346
|
+
houseNumber: string;
|
|
1347
|
+
}
|
|
1348
|
+
export interface Preselection {
|
|
1349
|
+
operationId: string;
|
|
1423
1350
|
/**
|
|
1424
|
-
* Gets or sets the
|
|
1351
|
+
* Gets or sets the estimated time required for the resource to reach the target.
|
|
1425
1352
|
*
|
|
1426
1353
|
*/
|
|
1427
|
-
|
|
1354
|
+
routeTimeToTarget: string | null;
|
|
1428
1355
|
/**
|
|
1429
|
-
* Gets or sets the
|
|
1356
|
+
* Gets or sets the estimated distance in meters for the resource to reach the target.
|
|
1430
1357
|
*
|
|
1431
1358
|
*/
|
|
1432
|
-
|
|
1359
|
+
metersToTarget: number | null;
|
|
1360
|
+
resource: IUnitResource;
|
|
1433
1361
|
}
|
|
1434
1362
|
/**
|
|
1435
|
-
* Represents
|
|
1363
|
+
* Represents a radio group that can be associated with units.
|
|
1436
1364
|
*
|
|
1437
1365
|
*/
|
|
1438
|
-
export interface
|
|
1439
|
-
|
|
1440
|
-
|
|
1441
|
-
*
|
|
1442
|
-
*/
|
|
1443
|
-
id: string;
|
|
1444
|
-
/**
|
|
1445
|
-
* Gets the unique identifier of the operation associated with this entity.
|
|
1446
|
-
*
|
|
1447
|
-
*/
|
|
1448
|
-
operationId: string;
|
|
1366
|
+
export interface Radiogroup {
|
|
1367
|
+
id: number;
|
|
1368
|
+
commandcenterId: number;
|
|
1449
1369
|
/**
|
|
1450
|
-
*
|
|
1370
|
+
* The callsign of the command center associated with the radio group. Units will use this callsign to talk to the dispatch center.
|
|
1451
1371
|
*
|
|
1452
1372
|
*/
|
|
1453
|
-
|
|
1373
|
+
commandcenterCallsign: string;
|
|
1454
1374
|
/**
|
|
1455
|
-
*
|
|
1375
|
+
* The name of the radio group.
|
|
1456
1376
|
*
|
|
1457
1377
|
*/
|
|
1458
|
-
|
|
1378
|
+
name: string;
|
|
1459
1379
|
/**
|
|
1460
|
-
*
|
|
1380
|
+
* Indicates whether the radio group is the "first call" radio group for external units. Only one is allowed per dispatch center.
|
|
1461
1381
|
*
|
|
1462
1382
|
*/
|
|
1463
|
-
|
|
1383
|
+
isCommandcenterCallGroup: boolean;
|
|
1464
1384
|
}
|
|
1465
1385
|
/**
|
|
1466
|
-
* Represents
|
|
1386
|
+
* Represents event arguments for a notification-related session event.
|
|
1467
1387
|
*
|
|
1468
1388
|
*/
|
|
1469
|
-
export interface
|
|
1389
|
+
export interface NotificationSessionEventArgs {
|
|
1470
1390
|
/**
|
|
1471
|
-
* Gets the
|
|
1391
|
+
* Gets or sets the notification associated with the session event.
|
|
1472
1392
|
*
|
|
1473
1393
|
*/
|
|
1474
|
-
|
|
1394
|
+
notification: INotification;
|
|
1395
|
+
}
|
|
1396
|
+
/**
|
|
1397
|
+
* Represents event arguments for an event involving operation documentation.
|
|
1398
|
+
*
|
|
1399
|
+
*/
|
|
1400
|
+
export interface OperationDocumentationSessionEventArgs {
|
|
1475
1401
|
/**
|
|
1476
|
-
* Gets
|
|
1402
|
+
* Gets or sets the operation documentation associated with the session event.
|
|
1477
1403
|
*
|
|
1478
1404
|
*/
|
|
1479
|
-
|
|
1405
|
+
operationDocumentation: IOperationDocumentation;
|
|
1406
|
+
}
|
|
1407
|
+
/**
|
|
1408
|
+
* Represents event arguments for an operation involving a resource within a session event.
|
|
1409
|
+
*
|
|
1410
|
+
*/
|
|
1411
|
+
export interface OperationResourceSessionEventArgs {
|
|
1480
1412
|
/**
|
|
1481
|
-
* Gets or sets the
|
|
1413
|
+
* Gets or sets the operation resource associated with the session event.
|
|
1482
1414
|
*
|
|
1483
1415
|
*/
|
|
1484
|
-
|
|
1416
|
+
operationResource: IOperationResource;
|
|
1417
|
+
}
|
|
1418
|
+
/**
|
|
1419
|
+
* Represents event arguments for an event involving an operation.
|
|
1420
|
+
*
|
|
1421
|
+
*/
|
|
1422
|
+
export interface OperationSessionEventArgs {
|
|
1485
1423
|
/**
|
|
1486
|
-
* Gets or sets the
|
|
1424
|
+
* Gets or sets the operation associated with the session event.
|
|
1487
1425
|
*
|
|
1488
1426
|
*/
|
|
1489
|
-
|
|
1427
|
+
operation: IOperation;
|
|
1428
|
+
}
|
|
1429
|
+
/**
|
|
1430
|
+
* Represents event arguments for an event involving an operation task.
|
|
1431
|
+
*
|
|
1432
|
+
*/
|
|
1433
|
+
export interface OperationTaskSessionEventArgs {
|
|
1490
1434
|
/**
|
|
1491
|
-
* Gets or sets the
|
|
1435
|
+
* Gets or sets the operation task associated with the session event.
|
|
1492
1436
|
*
|
|
1493
1437
|
*/
|
|
1494
|
-
|
|
1438
|
+
operationTask: IOperationTask;
|
|
1495
1439
|
}
|
|
1496
|
-
|
|
1440
|
+
/**
|
|
1441
|
+
* Represents event arguments for an event involving a patient person.
|
|
1442
|
+
*
|
|
1443
|
+
*/
|
|
1444
|
+
export interface PatientSessionEventArgs {
|
|
1497
1445
|
/**
|
|
1498
|
-
* Gets
|
|
1446
|
+
* Gets or sets the patient person associated with the session event.
|
|
1499
1447
|
*
|
|
1500
1448
|
*/
|
|
1501
|
-
|
|
1502
|
-
|
|
1503
|
-
|
|
1504
|
-
|
|
1505
|
-
|
|
1506
|
-
|
|
1507
|
-
|
|
1508
|
-
* Gets or sets the session identifier associated with the task.
|
|
1509
|
-
*
|
|
1510
|
-
*/
|
|
1511
|
-
sessionId: number;
|
|
1512
|
-
/**
|
|
1513
|
-
* Gets or sets the task template used to create this task.
|
|
1514
|
-
*
|
|
1515
|
-
*/
|
|
1516
|
-
template: ITaskTemplate;
|
|
1517
|
-
/**
|
|
1518
|
-
* Gets or sets notes related to the task.
|
|
1519
|
-
*
|
|
1520
|
-
*/
|
|
1521
|
-
notes: string;
|
|
1522
|
-
/**
|
|
1523
|
-
* Gets or sets the status of the task.
|
|
1524
|
-
*
|
|
1525
|
-
*/
|
|
1526
|
-
status: TaskStatus;
|
|
1449
|
+
patient: IPatient;
|
|
1450
|
+
}
|
|
1451
|
+
/**
|
|
1452
|
+
* Represents event arguments for a property change within a session event.
|
|
1453
|
+
*
|
|
1454
|
+
*/
|
|
1455
|
+
export interface PropertyChangedSessionEventArgs {
|
|
1527
1456
|
/**
|
|
1528
|
-
* Gets or sets the
|
|
1457
|
+
* Gets or sets the name of the property that changed.
|
|
1529
1458
|
*
|
|
1530
1459
|
*/
|
|
1531
|
-
|
|
1460
|
+
propertyName: string;
|
|
1532
1461
|
/**
|
|
1533
|
-
* Gets or sets
|
|
1462
|
+
* Gets or sets the new value of the property.
|
|
1534
1463
|
*
|
|
1535
1464
|
*/
|
|
1536
|
-
|
|
1465
|
+
propertyValue: Object;
|
|
1537
1466
|
}
|
|
1538
1467
|
/**
|
|
1539
|
-
* Represents
|
|
1468
|
+
* Represents event arguments for an event involving a resource.
|
|
1540
1469
|
*
|
|
1541
1470
|
*/
|
|
1542
|
-
export interface
|
|
1471
|
+
export interface ResourceSessionEventArgs {
|
|
1543
1472
|
/**
|
|
1544
|
-
* Gets or sets the
|
|
1473
|
+
* Gets or sets the resource involved in the session event.
|
|
1545
1474
|
*
|
|
1546
1475
|
*/
|
|
1547
|
-
|
|
1476
|
+
resource: IUnitResource;
|
|
1477
|
+
}
|
|
1478
|
+
/**
|
|
1479
|
+
* Represents the base class for session event arguments.
|
|
1480
|
+
*
|
|
1481
|
+
*/
|
|
1482
|
+
export interface SessionEventArgs {
|
|
1483
|
+
}
|
|
1484
|
+
/**
|
|
1485
|
+
* Represents event arguments for an event involving a workplace.
|
|
1486
|
+
*
|
|
1487
|
+
*/
|
|
1488
|
+
export interface WorkplaceSessionEventArgs {
|
|
1548
1489
|
/**
|
|
1549
|
-
* Gets or sets the
|
|
1490
|
+
* Gets or sets the workplace associated with the session event.
|
|
1550
1491
|
*
|
|
1551
1492
|
*/
|
|
1552
|
-
|
|
1493
|
+
workplace: IWorkplace;
|
|
1494
|
+
}
|
|
1495
|
+
/**
|
|
1496
|
+
* Represents a webhook for registering HTTP callbacks to handle managed session events.
|
|
1497
|
+
*
|
|
1498
|
+
*/
|
|
1499
|
+
export interface SessionWebhook {
|
|
1500
|
+
id: number;
|
|
1501
|
+
sessionId: number;
|
|
1502
|
+
headers: {
|
|
1503
|
+
[key: string]: string;
|
|
1504
|
+
};
|
|
1505
|
+
events: SessionEventType[] | null;
|
|
1553
1506
|
/**
|
|
1554
|
-
* Gets the
|
|
1507
|
+
* Gets or sets the URL to which the webhook will send HTTP requests.
|
|
1555
1508
|
*
|
|
1556
1509
|
*/
|
|
1557
|
-
|
|
1510
|
+
url: string;
|
|
1558
1511
|
/**
|
|
1559
|
-
* Gets the
|
|
1512
|
+
* Gets or sets the HTTP method used for the webhook (e.g., GET, POST).
|
|
1560
1513
|
*
|
|
1561
1514
|
*/
|
|
1562
|
-
|
|
1515
|
+
method: SessionWebhookMethod | null;
|
|
1516
|
+
}
|
|
1517
|
+
/**
|
|
1518
|
+
* Represents a status page used for displaying unit statuses.
|
|
1519
|
+
*
|
|
1520
|
+
*/
|
|
1521
|
+
export interface Statuspage {
|
|
1522
|
+
id: number;
|
|
1523
|
+
commandcenterId: number;
|
|
1524
|
+
members: StatuspageMembers[] | null;
|
|
1563
1525
|
/**
|
|
1564
|
-
*
|
|
1526
|
+
* The name of the status page.
|
|
1565
1527
|
*
|
|
1566
1528
|
*/
|
|
1567
|
-
|
|
1529
|
+
name: string;
|
|
1568
1530
|
/**
|
|
1569
|
-
*
|
|
1531
|
+
* The description of the status page.
|
|
1570
1532
|
*
|
|
1571
1533
|
*/
|
|
1572
|
-
|
|
1534
|
+
description: string;
|
|
1573
1535
|
/**
|
|
1574
|
-
*
|
|
1536
|
+
* The sort number used to determine the order of status pages.
|
|
1575
1537
|
*
|
|
1576
1538
|
*/
|
|
1577
|
-
|
|
1539
|
+
sortNumber: number;
|
|
1578
1540
|
/**
|
|
1579
|
-
*
|
|
1541
|
+
* The display option of the status page.
|
|
1580
1542
|
*
|
|
1581
1543
|
*/
|
|
1582
|
-
|
|
1544
|
+
displayOption: StatuspageDisplayOption;
|
|
1583
1545
|
/**
|
|
1584
|
-
*
|
|
1546
|
+
* If true, members in an inactive state will be hidden on the frontend.
|
|
1585
1547
|
*
|
|
1586
1548
|
*/
|
|
1587
|
-
|
|
1549
|
+
isInactiveResourcesHidden: boolean;
|
|
1588
1550
|
}
|
|
1589
1551
|
/**
|
|
1590
|
-
* Represents a
|
|
1552
|
+
* Represents a unit associated with a status page. Will be grouped within other units by the value in .
|
|
1591
1553
|
*
|
|
1592
1554
|
*/
|
|
1593
|
-
export interface
|
|
1555
|
+
export interface StatuspageMembers {
|
|
1556
|
+
id: number | null;
|
|
1557
|
+
unitId: number | null;
|
|
1594
1558
|
/**
|
|
1595
|
-
*
|
|
1559
|
+
* The group to which the unit belongs. Set new value or use existing. />.
|
|
1596
1560
|
*
|
|
1597
1561
|
*/
|
|
1598
|
-
|
|
1562
|
+
group: string;
|
|
1599
1563
|
/**
|
|
1600
|
-
*
|
|
1564
|
+
* Member will be sorted by this property, if set.
|
|
1601
1565
|
*
|
|
1602
1566
|
*/
|
|
1603
|
-
|
|
1567
|
+
sortNumber: number;
|
|
1568
|
+
}
|
|
1569
|
+
export interface TaskCatalogItem {
|
|
1570
|
+
parameters: TaskCatalogParameter[] | null;
|
|
1604
1571
|
/**
|
|
1605
|
-
* Gets the
|
|
1572
|
+
* Gets or sets the implementation name of the task. This is the name specified in the ResQueServeTaskAttribute.
|
|
1606
1573
|
*
|
|
1607
1574
|
*/
|
|
1608
|
-
|
|
1575
|
+
implementationName: string;
|
|
1609
1576
|
/**
|
|
1610
|
-
* Gets the
|
|
1577
|
+
* Gets or sets the display name of the task.
|
|
1611
1578
|
*
|
|
1612
1579
|
*/
|
|
1613
|
-
|
|
1614
|
-
}
|
|
1615
|
-
/**
|
|
1616
|
-
* Represents a point of interest (POI) such as hospitals, fire stations, or other locations.
|
|
1617
|
-
*
|
|
1618
|
-
*/
|
|
1619
|
-
export interface Poi {
|
|
1620
|
-
id: number;
|
|
1621
|
-
commandcenterId: number;
|
|
1622
|
-
address: Address;
|
|
1580
|
+
displayName: string;
|
|
1623
1581
|
/**
|
|
1624
|
-
*
|
|
1582
|
+
* Gets or sets the description of the task.
|
|
1625
1583
|
*
|
|
1626
1584
|
*/
|
|
1627
|
-
|
|
1585
|
+
description: string;
|
|
1628
1586
|
/**
|
|
1629
|
-
*
|
|
1587
|
+
* Gets or sets the category of the task.
|
|
1630
1588
|
*
|
|
1631
1589
|
*/
|
|
1632
|
-
category:
|
|
1590
|
+
category: string;
|
|
1633
1591
|
/**
|
|
1634
|
-
*
|
|
1592
|
+
* Gets or sets the version of the task.
|
|
1635
1593
|
*
|
|
1636
1594
|
*/
|
|
1637
|
-
|
|
1595
|
+
version: string;
|
|
1638
1596
|
/**
|
|
1639
|
-
*
|
|
1597
|
+
* Gets or sets the priority of the task.
|
|
1640
1598
|
*
|
|
1641
1599
|
*/
|
|
1642
|
-
|
|
1600
|
+
priority: TaskPriority;
|
|
1643
1601
|
/**
|
|
1644
|
-
*
|
|
1602
|
+
* Gets or sets the number of parameters the task requires.
|
|
1645
1603
|
*
|
|
1646
1604
|
*/
|
|
1647
|
-
|
|
1605
|
+
parameterCount: number;
|
|
1648
1606
|
/**
|
|
1649
|
-
*
|
|
1607
|
+
* Gets or sets whether the task requires administrative privileges.
|
|
1650
1608
|
*
|
|
1651
1609
|
*/
|
|
1652
|
-
|
|
1610
|
+
requiresAdmin: boolean;
|
|
1611
|
+
}
|
|
1612
|
+
export interface TaskCatalogParameter {
|
|
1613
|
+
propertyName: string;
|
|
1653
1614
|
/**
|
|
1654
|
-
*
|
|
1615
|
+
* Gets or sets the name of the parameter.
|
|
1655
1616
|
*
|
|
1656
1617
|
*/
|
|
1657
|
-
|
|
1618
|
+
displayName: string;
|
|
1658
1619
|
/**
|
|
1659
|
-
*
|
|
1620
|
+
* Gets or sets the description of the parameter.
|
|
1660
1621
|
*
|
|
1661
1622
|
*/
|
|
1662
|
-
|
|
1623
|
+
description: string;
|
|
1663
1624
|
/**
|
|
1664
|
-
*
|
|
1625
|
+
* Gets or sets whether this parameter is required.
|
|
1665
1626
|
*
|
|
1666
1627
|
*/
|
|
1667
|
-
|
|
1628
|
+
isRequired: boolean;
|
|
1668
1629
|
/**
|
|
1669
|
-
*
|
|
1630
|
+
* Gets or sets the default value for this parameter.
|
|
1670
1631
|
*
|
|
1671
1632
|
*/
|
|
1672
|
-
|
|
1633
|
+
defaultValue: Object;
|
|
1673
1634
|
/**
|
|
1674
|
-
*
|
|
1635
|
+
* Gets or sets the order in which this parameter should be displayed in a UI.
|
|
1675
1636
|
*
|
|
1676
1637
|
*/
|
|
1677
|
-
|
|
1638
|
+
order: number;
|
|
1678
1639
|
/**
|
|
1679
|
-
*
|
|
1640
|
+
* Gets or sets a validation pattern (regex) for string parameters.
|
|
1680
1641
|
*
|
|
1681
1642
|
*/
|
|
1682
|
-
|
|
1643
|
+
validationPattern: string;
|
|
1683
1644
|
/**
|
|
1684
|
-
*
|
|
1645
|
+
* Gets or sets whether this parameter is a secret (e.g. bearer token). Value will never be displayed on frontend.
|
|
1685
1646
|
*
|
|
1686
1647
|
*/
|
|
1687
|
-
|
|
1688
|
-
coordinates: Coordinates | null;
|
|
1689
|
-
houseNumber: string;
|
|
1690
|
-
}
|
|
1691
|
-
export interface Preselection {
|
|
1648
|
+
isSecret: boolean;
|
|
1692
1649
|
/**
|
|
1693
|
-
* Gets or sets the
|
|
1650
|
+
* Gets or sets the type of the parameter.
|
|
1694
1651
|
*
|
|
1695
1652
|
*/
|
|
1696
|
-
|
|
1653
|
+
propertyType: string;
|
|
1654
|
+
}
|
|
1655
|
+
/**
|
|
1656
|
+
* Represents a condition used within a task.
|
|
1657
|
+
*
|
|
1658
|
+
*/
|
|
1659
|
+
export interface TaskCondition {
|
|
1660
|
+
id: number;
|
|
1661
|
+
value: string;
|
|
1697
1662
|
/**
|
|
1698
|
-
* Gets or sets the
|
|
1663
|
+
* Gets or sets the field to which the condition applies.
|
|
1699
1664
|
*
|
|
1700
1665
|
*/
|
|
1701
|
-
|
|
1702
|
-
sessionResource: SessionResource;
|
|
1666
|
+
field: TaskConditionField;
|
|
1703
1667
|
/**
|
|
1704
|
-
* Gets the
|
|
1668
|
+
* Gets or sets the operator used in the condition.
|
|
1705
1669
|
*
|
|
1706
1670
|
*/
|
|
1707
|
-
|
|
1671
|
+
operator: TaskConditionOperator;
|
|
1672
|
+
}
|
|
1673
|
+
export interface TaskTemplate {
|
|
1708
1674
|
/**
|
|
1709
|
-
* Gets
|
|
1675
|
+
* Gets or sets the conditions associated with the task template.
|
|
1710
1676
|
*
|
|
1711
1677
|
*/
|
|
1712
|
-
|
|
1713
|
-
}
|
|
1714
|
-
/**
|
|
1715
|
-
* Represents a radio group that can be associated with units.
|
|
1716
|
-
*
|
|
1717
|
-
*/
|
|
1718
|
-
export interface Radiogroup {
|
|
1678
|
+
conditions: TaskCondition[] | null;
|
|
1719
1679
|
id: number;
|
|
1720
1680
|
commandcenterId: number;
|
|
1721
1681
|
/**
|
|
1722
|
-
*
|
|
1682
|
+
* Gets or sets the description of the task template.
|
|
1723
1683
|
*
|
|
1724
1684
|
*/
|
|
1725
|
-
|
|
1685
|
+
description: string;
|
|
1726
1686
|
/**
|
|
1727
|
-
*
|
|
1687
|
+
* Gets or sets a value indicating whether the task is mandatory.
|
|
1728
1688
|
*
|
|
1729
1689
|
*/
|
|
1730
|
-
|
|
1690
|
+
isMandatory: boolean;
|
|
1731
1691
|
/**
|
|
1732
|
-
*
|
|
1692
|
+
* Gets or sets the execution type of the task.
|
|
1733
1693
|
*
|
|
1734
1694
|
*/
|
|
1735
|
-
|
|
1736
|
-
}
|
|
1737
|
-
export interface OperationResource {
|
|
1695
|
+
execution: TaskExecution;
|
|
1738
1696
|
/**
|
|
1739
|
-
* Gets or sets
|
|
1697
|
+
* Gets or sets a value indicating whether all conditions must be met.
|
|
1740
1698
|
*
|
|
1741
1699
|
*/
|
|
1742
|
-
|
|
1700
|
+
requireAllConditions: boolean;
|
|
1743
1701
|
/**
|
|
1744
|
-
* Gets or sets
|
|
1702
|
+
* Gets or sets a value indicating whether a task should be created for each match found.
|
|
1745
1703
|
*
|
|
1746
1704
|
*/
|
|
1747
|
-
|
|
1705
|
+
createTaskForEachMatch: boolean;
|
|
1748
1706
|
/**
|
|
1749
|
-
*
|
|
1707
|
+
* Indicates if the task is waiting for an external signal or callback to confirm success. If set to false, the task is considered successfully completed once the internal execution code completes.
|
|
1750
1708
|
*
|
|
1751
1709
|
*/
|
|
1752
|
-
|
|
1710
|
+
requiresSuccessfulSignal: boolean;
|
|
1753
1711
|
/**
|
|
1754
|
-
*
|
|
1712
|
+
* Defines a timeout in seconds for how long the task will wait before entering a failed state if is not executed in time.
|
|
1755
1713
|
*
|
|
1756
1714
|
*/
|
|
1757
|
-
|
|
1715
|
+
timeoutSeconds: number | null;
|
|
1758
1716
|
/**
|
|
1759
|
-
* Gets
|
|
1717
|
+
* Gets the name of the ResQueServeTask implementation to use for executing this task. This should match the Name property of a ResQueServeTaskAttribute registered in the system.
|
|
1760
1718
|
*
|
|
1761
1719
|
*/
|
|
1762
|
-
|
|
1763
|
-
[key: number]: string;
|
|
1764
|
-
};
|
|
1765
|
-
sessionResource: SessionResource;
|
|
1720
|
+
implementationName: string;
|
|
1766
1721
|
/**
|
|
1767
|
-
* Gets the
|
|
1722
|
+
* Gets or sets the parameters needed for task execution, keyed by parameter name.
|
|
1768
1723
|
*
|
|
1769
1724
|
*/
|
|
1770
|
-
|
|
1725
|
+
parameters: {
|
|
1726
|
+
[key: string]: Object;
|
|
1727
|
+
};
|
|
1728
|
+
}
|
|
1729
|
+
/**
|
|
1730
|
+
* Represents a unit within the area of a dispatch center.
|
|
1731
|
+
*
|
|
1732
|
+
*/
|
|
1733
|
+
export interface Unit {
|
|
1734
|
+
id: number;
|
|
1735
|
+
commandcenterId: number;
|
|
1771
1736
|
/**
|
|
1772
|
-
*
|
|
1737
|
+
* The radio group associated with the unit. Is null if not set.
|
|
1773
1738
|
*
|
|
1774
1739
|
*/
|
|
1775
|
-
|
|
1776
|
-
}
|
|
1777
|
-
export interface SessionResource {
|
|
1740
|
+
radiogroup: Radiogroup;
|
|
1778
1741
|
/**
|
|
1779
|
-
*
|
|
1742
|
+
* The point of interest (POI) where the unit is located.
|
|
1780
1743
|
*
|
|
1781
1744
|
*/
|
|
1782
|
-
|
|
1745
|
+
poi: Poi;
|
|
1783
1746
|
/**
|
|
1784
|
-
*
|
|
1747
|
+
* The point of interest (POI) where the doctor is picked up then value is set to .
|
|
1785
1748
|
*
|
|
1786
1749
|
*/
|
|
1787
|
-
|
|
1750
|
+
doctorPickupPoi: Poi;
|
|
1751
|
+
info: IUnitInformation;
|
|
1752
|
+
dutyPeriods: UnitDutyPeriod[] | null;
|
|
1788
1753
|
/**
|
|
1789
|
-
*
|
|
1754
|
+
* The (long) callsign of the unit.
|
|
1790
1755
|
*
|
|
1791
1756
|
*/
|
|
1792
|
-
|
|
1757
|
+
callsign: string;
|
|
1793
1758
|
/**
|
|
1794
|
-
*
|
|
1759
|
+
* A short callsign variant of the unit.
|
|
1795
1760
|
*
|
|
1796
1761
|
*/
|
|
1797
|
-
|
|
1762
|
+
callsignShort: string;
|
|
1798
1763
|
/**
|
|
1799
|
-
*
|
|
1764
|
+
* The name of the point of interest (POI) where the unit is located.
|
|
1800
1765
|
*
|
|
1801
1766
|
*/
|
|
1802
|
-
|
|
1767
|
+
station: string;
|
|
1803
1768
|
/**
|
|
1804
|
-
*
|
|
1769
|
+
* The category of the unit. By setting a value to , this can be cosmetically overridden.
|
|
1805
1770
|
*
|
|
1806
1771
|
*/
|
|
1807
|
-
|
|
1772
|
+
category: UnitCategory;
|
|
1808
1773
|
/**
|
|
1809
|
-
*
|
|
1774
|
+
* The overridden category of the unit.
|
|
1810
1775
|
*
|
|
1811
1776
|
*/
|
|
1812
|
-
|
|
1813
|
-
unitId: number;
|
|
1777
|
+
categoryOverride: string;
|
|
1814
1778
|
/**
|
|
1815
|
-
*
|
|
1779
|
+
* The callsign displayed on maps if is set to true.
|
|
1816
1780
|
*
|
|
1817
1781
|
*/
|
|
1818
|
-
|
|
1782
|
+
callsignGps: string;
|
|
1819
1783
|
/**
|
|
1820
|
-
*
|
|
1784
|
+
* The verbal callsign of the unit.
|
|
1821
1785
|
*
|
|
1822
1786
|
*/
|
|
1823
|
-
|
|
1787
|
+
callsignVerbal: string;
|
|
1824
1788
|
/**
|
|
1825
|
-
*
|
|
1789
|
+
* Indicates whether the unit is a first responder. This property affects suggestions and the unit's behavior on operation sites.
|
|
1826
1790
|
*
|
|
1827
1791
|
*/
|
|
1828
|
-
|
|
1829
|
-
}
|
|
1830
|
-
/**
|
|
1831
|
-
* Represents event arguments for a notification-related session event.
|
|
1832
|
-
*
|
|
1833
|
-
*/
|
|
1834
|
-
export interface NotificationSessionEventArgs {
|
|
1792
|
+
isFirstResponder: boolean;
|
|
1835
1793
|
/**
|
|
1836
|
-
*
|
|
1794
|
+
* Indicates whether the unit is not a volunteer unit. Dispatch times will affect based on this value.
|
|
1837
1795
|
*
|
|
1838
1796
|
*/
|
|
1839
|
-
|
|
1840
|
-
}
|
|
1841
|
-
/**
|
|
1842
|
-
* Represents event arguments for an event involving operation documentation.
|
|
1843
|
-
*
|
|
1844
|
-
*/
|
|
1845
|
-
export interface OperationDocumentationSessionEventArgs {
|
|
1797
|
+
isNotVolunteerUnit: boolean;
|
|
1846
1798
|
/**
|
|
1847
|
-
*
|
|
1799
|
+
* Indicates whether the unit starts in a new session with status . This property affects the visual representation only and does not affect the actual duty status of the unit. To control the unit's duty status, use the property. The unit will react to dispatches based on its duty status as determined by the .
|
|
1848
1800
|
*
|
|
1849
1801
|
*/
|
|
1850
|
-
|
|
1851
|
-
}
|
|
1852
|
-
/**
|
|
1853
|
-
* Represents event arguments for an event involving an operation event.
|
|
1854
|
-
*
|
|
1855
|
-
*/
|
|
1856
|
-
export interface OperationEventSessionEventArgs {
|
|
1802
|
+
isStartingWithStatus6: boolean;
|
|
1857
1803
|
/**
|
|
1858
|
-
*
|
|
1804
|
+
* Indicates whether the unit is equipped with GPS. This property determines whether the unit's geographical information is displayed on maps. It also affects automatic suggestions: - If false, suggestions use the location for calculating the nearest units. - If true and unit status is , suggestions use the real GPS location to calculate the distance to the operation location.
|
|
1859
1805
|
*
|
|
1860
1806
|
*/
|
|
1861
|
-
|
|
1862
|
-
}
|
|
1863
|
-
/**
|
|
1864
|
-
* Represents event arguments for an operation involving a resource within a session event.
|
|
1865
|
-
*
|
|
1866
|
-
*/
|
|
1867
|
-
export interface OperationResourceSessionEventArgs {
|
|
1807
|
+
isEquippedWithGps: boolean;
|
|
1868
1808
|
/**
|
|
1869
|
-
*
|
|
1809
|
+
* The external availability percentage of the unit when referenced by another dispatch center. This value determines the unit's potential availability.
|
|
1870
1810
|
*
|
|
1871
1811
|
*/
|
|
1872
|
-
|
|
1873
|
-
}
|
|
1874
|
-
/**
|
|
1875
|
-
* Represents event arguments for an event involving an operation.
|
|
1876
|
-
*
|
|
1877
|
-
*/
|
|
1878
|
-
export interface OperationSessionEventArgs {
|
|
1812
|
+
externalAvailablePercent: number;
|
|
1879
1813
|
/**
|
|
1880
|
-
*
|
|
1814
|
+
* The dispatch groups associated with the unit.
|
|
1881
1815
|
*
|
|
1882
1816
|
*/
|
|
1883
|
-
|
|
1884
|
-
}
|
|
1885
|
-
/**
|
|
1886
|
-
* Represents event arguments for an event involving an operation task.
|
|
1887
|
-
*
|
|
1888
|
-
*/
|
|
1889
|
-
export interface OperationTaskSessionEventArgs {
|
|
1817
|
+
dispatchGroups: string;
|
|
1890
1818
|
/**
|
|
1891
|
-
*
|
|
1819
|
+
* The dispatch option of the unit, determining how the unit is automatically suggested by the system.
|
|
1892
1820
|
*
|
|
1893
1821
|
*/
|
|
1894
|
-
|
|
1895
|
-
}
|
|
1896
|
-
/**
|
|
1897
|
-
* Represents event arguments for an event involving a patient person.
|
|
1898
|
-
*
|
|
1899
|
-
*/
|
|
1900
|
-
export interface PatientSessionEventArgs {
|
|
1822
|
+
dispatchOption: UnitDispatchOption;
|
|
1901
1823
|
/**
|
|
1902
|
-
*
|
|
1824
|
+
* The doctor option of the unit.
|
|
1903
1825
|
*
|
|
1826
|
+
*
|
|
1827
|
+
* @remarks
|
|
1828
|
+
* If set to , the doctor is picked up at the specified doctor pickup POI after dispatch.
|
|
1904
1829
|
*/
|
|
1905
|
-
|
|
1906
|
-
}
|
|
1907
|
-
/**
|
|
1908
|
-
* Represents event arguments for a property change within a session event.
|
|
1909
|
-
*
|
|
1910
|
-
*/
|
|
1911
|
-
export interface PropertyChangedSessionEventArgs {
|
|
1830
|
+
doctorOption: UnitDoctorOption;
|
|
1912
1831
|
/**
|
|
1913
|
-
*
|
|
1832
|
+
* Determines the duty options of the unit, including its availability and reaction to dispatch.
|
|
1833
|
+
*
|
|
1914
1834
|
*
|
|
1835
|
+
* @remarks
|
|
1836
|
+
* If set to , unit duty periods in are required.
|
|
1915
1837
|
*/
|
|
1916
|
-
|
|
1838
|
+
dutyOptions: UnitDutyOptions;
|
|
1917
1839
|
/**
|
|
1918
|
-
*
|
|
1840
|
+
* The list of equipment associated with the unit.
|
|
1919
1841
|
*
|
|
1920
1842
|
*/
|
|
1921
|
-
|
|
1843
|
+
equipments: UnitEquipment[] | null;
|
|
1922
1844
|
}
|
|
1923
1845
|
/**
|
|
1924
|
-
* Represents
|
|
1846
|
+
* Represents a duty period for a unit. Duty periods are required if the property is set to .
|
|
1925
1847
|
*
|
|
1926
1848
|
*/
|
|
1927
|
-
export interface
|
|
1849
|
+
export interface UnitDutyPeriod {
|
|
1850
|
+
id: number | null;
|
|
1851
|
+
unitId: number;
|
|
1928
1852
|
/**
|
|
1929
|
-
*
|
|
1853
|
+
* Represents the day of the week for the duty period.
|
|
1930
1854
|
*
|
|
1931
1855
|
*/
|
|
1932
|
-
|
|
1933
|
-
}
|
|
1934
|
-
/**
|
|
1935
|
-
* Represents the base class for session event arguments.
|
|
1936
|
-
*
|
|
1937
|
-
*/
|
|
1938
|
-
export interface SessionEventArgs {
|
|
1939
|
-
}
|
|
1940
|
-
/**
|
|
1941
|
-
* Represents event arguments for an event involving a workplace.
|
|
1942
|
-
*
|
|
1943
|
-
*/
|
|
1944
|
-
export interface WorkplaceSessionEventArgs {
|
|
1856
|
+
day: DayOfWeek;
|
|
1945
1857
|
/**
|
|
1946
|
-
*
|
|
1858
|
+
* Represents the starting hour of the duty period.
|
|
1947
1859
|
*
|
|
1948
1860
|
*/
|
|
1949
|
-
|
|
1950
|
-
}
|
|
1951
|
-
/**
|
|
1952
|
-
* Represents a webhook for registering HTTP callbacks to handle managed session events.
|
|
1953
|
-
*
|
|
1954
|
-
*/
|
|
1955
|
-
export interface SessionWebhook {
|
|
1956
|
-
id: number;
|
|
1957
|
-
sessionId: number;
|
|
1958
|
-
headers: {
|
|
1959
|
-
[key: string]: string;
|
|
1960
|
-
};
|
|
1961
|
-
events: SessionEventType[] | null;
|
|
1861
|
+
hourStart: number;
|
|
1962
1862
|
/**
|
|
1963
|
-
*
|
|
1863
|
+
* Represents the starting minute of the duty period.
|
|
1964
1864
|
*
|
|
1965
1865
|
*/
|
|
1966
|
-
|
|
1866
|
+
minuteStart: number;
|
|
1967
1867
|
/**
|
|
1968
|
-
*
|
|
1868
|
+
* Represents the ending hour of the duty period.
|
|
1969
1869
|
*
|
|
1970
1870
|
*/
|
|
1971
|
-
|
|
1972
|
-
}
|
|
1973
|
-
/**
|
|
1974
|
-
* Represents a status page used for displaying unit statuses.
|
|
1975
|
-
*
|
|
1976
|
-
*/
|
|
1977
|
-
export interface Statuspage {
|
|
1978
|
-
id: number;
|
|
1979
|
-
commandcenterId: number;
|
|
1980
|
-
members: StatuspageMembers[] | null;
|
|
1871
|
+
hourEnd: number;
|
|
1981
1872
|
/**
|
|
1982
|
-
*
|
|
1873
|
+
* Represents the ending minute of the duty period.
|
|
1983
1874
|
*
|
|
1984
1875
|
*/
|
|
1985
|
-
|
|
1876
|
+
minuteEnd: number;
|
|
1877
|
+
}
|
|
1878
|
+
export interface UnitInformation {
|
|
1986
1879
|
/**
|
|
1987
|
-
* The
|
|
1880
|
+
* The category of the unit. By setting a value to , this can be cosmetically overridden.
|
|
1988
1881
|
*
|
|
1989
1882
|
*/
|
|
1990
|
-
|
|
1883
|
+
category: UnitCategory;
|
|
1991
1884
|
/**
|
|
1992
|
-
* The
|
|
1885
|
+
* The overridden category of the unit.
|
|
1993
1886
|
*
|
|
1994
1887
|
*/
|
|
1995
|
-
|
|
1888
|
+
categoryOverride: string;
|
|
1996
1889
|
/**
|
|
1997
|
-
* The
|
|
1890
|
+
* The (long) callsign of the unit.
|
|
1998
1891
|
*
|
|
1999
1892
|
*/
|
|
2000
|
-
|
|
1893
|
+
callsign: string;
|
|
2001
1894
|
/**
|
|
2002
|
-
*
|
|
1895
|
+
* A short callsign variant of the unit.
|
|
2003
1896
|
*
|
|
2004
1897
|
*/
|
|
2005
|
-
|
|
2006
|
-
}
|
|
2007
|
-
/**
|
|
2008
|
-
* Represents a unit associated with a status page. Will be grouped within other units by the value in .
|
|
2009
|
-
*
|
|
2010
|
-
*/
|
|
2011
|
-
export interface StatuspageMembers {
|
|
2012
|
-
id: number | null;
|
|
2013
|
-
unitId: number | null;
|
|
1898
|
+
callsignShort: string;
|
|
2014
1899
|
/**
|
|
2015
|
-
* The
|
|
1900
|
+
* The callsign displayed on maps if is set to true.
|
|
2016
1901
|
*
|
|
2017
1902
|
*/
|
|
2018
|
-
|
|
1903
|
+
callsignGps: string;
|
|
2019
1904
|
/**
|
|
2020
|
-
*
|
|
1905
|
+
* The name of the point of interest (POI) where the unit is located.
|
|
2021
1906
|
*
|
|
2022
1907
|
*/
|
|
2023
|
-
|
|
1908
|
+
station: string;
|
|
2024
1909
|
}
|
|
2025
|
-
export interface
|
|
2026
|
-
|
|
1910
|
+
export interface UserInformation {
|
|
1911
|
+
id: number;
|
|
1912
|
+
sub: string;
|
|
2027
1913
|
/**
|
|
2028
|
-
*
|
|
1914
|
+
* Represents the rank of the user.
|
|
2029
1915
|
*
|
|
2030
1916
|
*/
|
|
2031
|
-
|
|
1917
|
+
rank: number;
|
|
2032
1918
|
/**
|
|
2033
|
-
*
|
|
1919
|
+
* Represents the name (username) of the user. Unique but could change over time.
|
|
2034
1920
|
*
|
|
2035
1921
|
*/
|
|
2036
|
-
|
|
1922
|
+
name: string;
|
|
2037
1923
|
/**
|
|
2038
|
-
*
|
|
1924
|
+
* Represents the first name of the user, which can be displayed publicly. This property is null if the user has not set a publicly used display name. It may differ from the user's actual first name for privacy purposes.
|
|
2039
1925
|
*
|
|
2040
1926
|
*/
|
|
2041
|
-
|
|
1927
|
+
displayFirstName: string;
|
|
2042
1928
|
/**
|
|
2043
|
-
*
|
|
1929
|
+
* Represents the last name of the user, which can be displayed publicly. This property is null if the user has not set a publicly used display name. It may differ from the user's actual last name for privacy purposes.
|
|
2044
1930
|
*
|
|
2045
1931
|
*/
|
|
2046
|
-
|
|
1932
|
+
displayLastName: string;
|
|
2047
1933
|
/**
|
|
2048
|
-
*
|
|
1934
|
+
* Represents an abbreviation formed by the first two letters of the first name and the first two letters of the last name, which can be displayed publicly. This property is null if the user has not set a publicly used display name. It may differ from the user's actual last name for privacy purposes.
|
|
2049
1935
|
*
|
|
2050
1936
|
*/
|
|
2051
|
-
|
|
1937
|
+
dispatcherTag: string;
|
|
2052
1938
|
/**
|
|
2053
|
-
*
|
|
1939
|
+
* Represents the date and time of the user's last activity.
|
|
2054
1940
|
*
|
|
2055
1941
|
*/
|
|
2056
|
-
|
|
1942
|
+
lastActivityOn: string | null;
|
|
1943
|
+
}
|
|
1944
|
+
export interface ICommandcenterInformation {
|
|
1945
|
+
id: number;
|
|
2057
1946
|
/**
|
|
2058
|
-
*
|
|
1947
|
+
* The name of the command center. This field may be null if the name has not been set.
|
|
2059
1948
|
*
|
|
2060
1949
|
*/
|
|
2061
|
-
|
|
1950
|
+
name: string;
|
|
2062
1951
|
/**
|
|
2063
|
-
*
|
|
1952
|
+
* The category of the command center, which helps classify the center according to its primary function or operational scope.
|
|
2064
1953
|
*
|
|
2065
1954
|
*/
|
|
2066
|
-
|
|
2067
|
-
}
|
|
2068
|
-
export interface TaskCatalogParameter {
|
|
2069
|
-
propertyName: string;
|
|
1955
|
+
category: CommandcenterCategory;
|
|
2070
1956
|
/**
|
|
2071
|
-
*
|
|
1957
|
+
* The identifier for the header image of the command center, used for display purposes in interfaces.
|
|
2072
1958
|
*
|
|
2073
1959
|
*/
|
|
2074
|
-
|
|
1960
|
+
headerImageId: string | null;
|
|
2075
1961
|
/**
|
|
2076
|
-
*
|
|
1962
|
+
* The date and time when the command center was last modified.
|
|
2077
1963
|
*
|
|
2078
1964
|
*/
|
|
2079
|
-
|
|
1965
|
+
changedOn: string | null;
|
|
1966
|
+
}
|
|
1967
|
+
export interface IGeoReferenced {
|
|
2080
1968
|
/**
|
|
2081
|
-
*
|
|
1969
|
+
* Point of interest associated with the location, if applicable.
|
|
2082
1970
|
*
|
|
2083
1971
|
*/
|
|
2084
|
-
|
|
1972
|
+
poi: Poi;
|
|
2085
1973
|
/**
|
|
2086
|
-
*
|
|
1974
|
+
* Primary address details of the location.
|
|
2087
1975
|
*
|
|
2088
1976
|
*/
|
|
2089
|
-
|
|
1977
|
+
address: Address;
|
|
2090
1978
|
/**
|
|
2091
|
-
*
|
|
1979
|
+
* House number at the location, if applicable.
|
|
2092
1980
|
*
|
|
2093
1981
|
*/
|
|
2094
|
-
|
|
1982
|
+
houseNumber: string;
|
|
2095
1983
|
/**
|
|
2096
|
-
*
|
|
1984
|
+
* Geographical coordinates of the location.
|
|
2097
1985
|
*
|
|
2098
1986
|
*/
|
|
2099
|
-
|
|
1987
|
+
coordinates: Coordinates | null;
|
|
2100
1988
|
/**
|
|
2101
|
-
*
|
|
1989
|
+
* Specifies the accuracy of the coordinates from the geocoding process.
|
|
2102
1990
|
*
|
|
2103
1991
|
*/
|
|
2104
|
-
|
|
1992
|
+
accuracy: LocationAccuracy;
|
|
2105
1993
|
/**
|
|
2106
|
-
* Gets
|
|
1994
|
+
* Gets a value indicating whether the coordinates have been successfully resolved for the location.
|
|
1995
|
+
*
|
|
2107
1996
|
*
|
|
1997
|
+
* @remarks
|
|
1998
|
+
* Returns true if the location has been set and coordinates are not null; otherwise, false.
|
|
2108
1999
|
*/
|
|
2109
|
-
|
|
2000
|
+
isCoordinatesResolved: boolean;
|
|
2110
2001
|
}
|
|
2111
|
-
|
|
2112
|
-
* Represents a condition used within a task.
|
|
2113
|
-
*
|
|
2114
|
-
*/
|
|
2115
|
-
export interface TaskCondition {
|
|
2002
|
+
export interface IKeyword {
|
|
2116
2003
|
id: number;
|
|
2117
|
-
|
|
2004
|
+
commandcenterId: number;
|
|
2118
2005
|
/**
|
|
2119
|
-
*
|
|
2006
|
+
* The name of the keyword used for search and identification purposes.
|
|
2120
2007
|
*
|
|
2121
2008
|
*/
|
|
2122
|
-
|
|
2009
|
+
name: string;
|
|
2123
2010
|
/**
|
|
2124
|
-
*
|
|
2011
|
+
* Indicates if the emergency is urgent, which may prompt units to use sirens.
|
|
2125
2012
|
*
|
|
2126
2013
|
*/
|
|
2127
|
-
|
|
2128
|
-
}
|
|
2129
|
-
export interface TaskTemplate {
|
|
2130
|
-
id: number;
|
|
2131
|
-
commandcenterId: number;
|
|
2014
|
+
isUrgent: boolean;
|
|
2132
2015
|
/**
|
|
2133
|
-
*
|
|
2016
|
+
* Indicates if the keyword is used for auto-assigning regular ambulance transport operations where the patient can sit (mapping property).
|
|
2134
2017
|
*
|
|
2135
2018
|
*/
|
|
2136
|
-
|
|
2019
|
+
isUsedForAmbulanceRegularSitting: boolean;
|
|
2137
2020
|
/**
|
|
2138
|
-
*
|
|
2021
|
+
* Indicates if the keyword is used for auto-assigning regular ambulance transport operations where the patient can only lay (mapping property).
|
|
2139
2022
|
*
|
|
2140
2023
|
*/
|
|
2141
|
-
|
|
2024
|
+
isUsedForAmbulanceRegularLying: boolean;
|
|
2142
2025
|
/**
|
|
2143
|
-
*
|
|
2026
|
+
* Indicates if the keyword is used for a standby position.
|
|
2144
2027
|
*
|
|
2145
2028
|
*/
|
|
2146
|
-
|
|
2029
|
+
isUsedForStandbyPosition: boolean;
|
|
2147
2030
|
/**
|
|
2148
|
-
*
|
|
2031
|
+
* Indicates if the keyword is used for automatically initiating operations triggered by fire alarm systems reporting a fire at a point of interest (POI) (mapping property).
|
|
2149
2032
|
*
|
|
2150
2033
|
*/
|
|
2151
|
-
|
|
2034
|
+
isUsedForFireAlarmSystem: boolean;
|
|
2152
2035
|
/**
|
|
2153
|
-
*
|
|
2036
|
+
* Specifies whether police assistance is required for the emergency situation.
|
|
2154
2037
|
*
|
|
2155
2038
|
*/
|
|
2156
|
-
|
|
2039
|
+
isPoliceRequired: boolean;
|
|
2157
2040
|
/**
|
|
2158
|
-
*
|
|
2041
|
+
* Specifies the number of medical units with a doctor to be suggested (can be air or ground units).
|
|
2159
2042
|
*
|
|
2160
2043
|
*/
|
|
2161
|
-
|
|
2044
|
+
dispatchAmountDoctor: number;
|
|
2162
2045
|
/**
|
|
2163
|
-
*
|
|
2046
|
+
* Specifies the number of ground medical units with a doctor to be suggested (excluding air units).
|
|
2164
2047
|
*
|
|
2165
2048
|
*/
|
|
2166
|
-
|
|
2049
|
+
dispatchAmountDoctorGround: number;
|
|
2167
2050
|
/**
|
|
2168
|
-
*
|
|
2051
|
+
* Specifies the number of urgent ambulance units to be suggested.
|
|
2169
2052
|
*
|
|
2170
2053
|
*/
|
|
2171
|
-
|
|
2054
|
+
dispatchAmountAmbulanceUrgent: number;
|
|
2172
2055
|
/**
|
|
2173
|
-
*
|
|
2056
|
+
* Specifies the number of ambulance units with a doctor to be suggested.
|
|
2174
2057
|
*
|
|
2175
2058
|
*/
|
|
2176
|
-
|
|
2059
|
+
dispatchAmountAmbulanceDoctor: number;
|
|
2177
2060
|
/**
|
|
2178
|
-
*
|
|
2061
|
+
* Specifies the number of regular transport ambulance units to be suggested for non-urgent patient transport.
|
|
2179
2062
|
*
|
|
2180
2063
|
*/
|
|
2181
|
-
|
|
2182
|
-
[key: string]: Object;
|
|
2183
|
-
};
|
|
2184
|
-
}
|
|
2185
|
-
/**
|
|
2186
|
-
* Represents a unit within the area of a dispatch center.
|
|
2187
|
-
*
|
|
2188
|
-
*/
|
|
2189
|
-
export interface Unit {
|
|
2190
|
-
id: number;
|
|
2191
|
-
commandcenterId: number;
|
|
2064
|
+
dispatchAmountAmbulanceRegular: number;
|
|
2192
2065
|
/**
|
|
2193
|
-
*
|
|
2066
|
+
* Specifies the number of helicopters to be suggested.
|
|
2194
2067
|
*
|
|
2195
2068
|
*/
|
|
2196
|
-
|
|
2069
|
+
dispatchAmountHelicopter: number;
|
|
2197
2070
|
/**
|
|
2198
|
-
*
|
|
2071
|
+
* Specifies the number of ICU-equipped ambulance units to be suggested.
|
|
2199
2072
|
*
|
|
2200
2073
|
*/
|
|
2201
|
-
|
|
2074
|
+
dispatchAmountAmbulanceICU: number;
|
|
2202
2075
|
/**
|
|
2203
|
-
*
|
|
2076
|
+
* Specifies the number of ICU-equipped helicopters to be suggested.
|
|
2204
2077
|
*
|
|
2205
2078
|
*/
|
|
2206
|
-
|
|
2207
|
-
info: IUnitInformation;
|
|
2208
|
-
dutyPeriods: UnitDutyPeriod[] | null;
|
|
2079
|
+
dispatchAmountHelicopterICU: number;
|
|
2209
2080
|
/**
|
|
2210
|
-
*
|
|
2081
|
+
* Groups of dispatch units suggested for the keyword, used to refine the suggestions based on unit capabilities.
|
|
2211
2082
|
*
|
|
2212
2083
|
*/
|
|
2213
|
-
|
|
2084
|
+
dispatchGroups: string;
|
|
2214
2085
|
/**
|
|
2215
|
-
* A
|
|
2086
|
+
* A list of equipment required for handling the emergency, linked to this keyword.
|
|
2216
2087
|
*
|
|
2217
2088
|
*/
|
|
2218
|
-
|
|
2089
|
+
requiredEquipment: IKeywordEquipment[] | null;
|
|
2090
|
+
}
|
|
2091
|
+
export interface IKeywordEquipment {
|
|
2092
|
+
id: number;
|
|
2219
2093
|
/**
|
|
2220
|
-
* The
|
|
2094
|
+
* The amount of this equipment type required for the associated emergency scenario.
|
|
2221
2095
|
*
|
|
2222
2096
|
*/
|
|
2223
|
-
|
|
2097
|
+
amount: number;
|
|
2224
2098
|
/**
|
|
2225
|
-
* The
|
|
2099
|
+
* The type of equipment required, represented as an enum of UnitEquipment.
|
|
2226
2100
|
*
|
|
2227
2101
|
*/
|
|
2228
|
-
|
|
2102
|
+
equipment: UnitEquipment;
|
|
2103
|
+
}
|
|
2104
|
+
export interface INotification {
|
|
2105
|
+
id: string;
|
|
2229
2106
|
/**
|
|
2230
|
-
*
|
|
2107
|
+
* Gets the date and time when the notification was created.
|
|
2231
2108
|
*
|
|
2232
2109
|
*/
|
|
2233
|
-
|
|
2110
|
+
createdOn: string;
|
|
2234
2111
|
/**
|
|
2235
|
-
*
|
|
2112
|
+
* Gets or sets a value indicating whether the notification requires a resolution.
|
|
2236
2113
|
*
|
|
2237
2114
|
*/
|
|
2238
|
-
|
|
2115
|
+
isRequiredToBeSolved: boolean;
|
|
2239
2116
|
/**
|
|
2240
|
-
*
|
|
2117
|
+
* Gets or sets the agent associated with the notification, may be null if not applicable.
|
|
2241
2118
|
*
|
|
2242
2119
|
*/
|
|
2243
|
-
|
|
2120
|
+
agent: IUserInformation;
|
|
2244
2121
|
/**
|
|
2245
|
-
*
|
|
2122
|
+
* Gets the category of the notification.
|
|
2246
2123
|
*
|
|
2247
2124
|
*/
|
|
2248
|
-
|
|
2125
|
+
category: NotificationCategory;
|
|
2249
2126
|
/**
|
|
2250
|
-
*
|
|
2127
|
+
* Gets or sets the text of the notification.
|
|
2251
2128
|
*
|
|
2252
2129
|
*/
|
|
2253
|
-
|
|
2130
|
+
text: string;
|
|
2254
2131
|
/**
|
|
2255
|
-
*
|
|
2132
|
+
* Gets or sets the identifier of the operation to which the notification is applicable, may be null.
|
|
2256
2133
|
*
|
|
2257
2134
|
*/
|
|
2258
|
-
|
|
2135
|
+
applicableOperationId: string | null;
|
|
2259
2136
|
/**
|
|
2260
|
-
*
|
|
2137
|
+
* Gets or sets the identifier of the unit to which the notification is applicable, may be null.
|
|
2261
2138
|
*
|
|
2262
2139
|
*/
|
|
2263
|
-
|
|
2140
|
+
applicableUnitId: number | null;
|
|
2141
|
+
}
|
|
2142
|
+
export interface IOperation {
|
|
2143
|
+
id: string;
|
|
2264
2144
|
/**
|
|
2265
|
-
*
|
|
2145
|
+
* Gets or sets the internal operation number.
|
|
2266
2146
|
*
|
|
2267
2147
|
*/
|
|
2268
|
-
|
|
2148
|
+
numberInternal: string;
|
|
2269
2149
|
/**
|
|
2270
|
-
*
|
|
2150
|
+
* ‘ Gets or sets the external operation number.
|
|
2271
2151
|
*
|
|
2272
2152
|
*/
|
|
2273
|
-
|
|
2153
|
+
numberExternal: string;
|
|
2274
2154
|
/**
|
|
2275
|
-
*
|
|
2155
|
+
* Gets or sets the name of the caller.
|
|
2276
2156
|
*
|
|
2277
2157
|
*/
|
|
2278
|
-
|
|
2158
|
+
callerName: string;
|
|
2279
2159
|
/**
|
|
2280
|
-
*
|
|
2160
|
+
* Gets or sets the phone number of the caller.
|
|
2281
2161
|
*
|
|
2162
|
+
*/
|
|
2163
|
+
callerNumber: IPhoneNumber;
|
|
2164
|
+
/**
|
|
2165
|
+
* Gets or sets the date and time the operation was created.
|
|
2282
2166
|
*
|
|
2283
|
-
* @remarks
|
|
2284
|
-
* If set to , the doctor is picked up at the specified doctor pickup POI after dispatch.
|
|
2285
2167
|
*/
|
|
2286
|
-
|
|
2168
|
+
createdOn: string;
|
|
2287
2169
|
/**
|
|
2288
|
-
*
|
|
2170
|
+
* Gets or sets the date and time the operation was dispatched.
|
|
2289
2171
|
*
|
|
2172
|
+
*/
|
|
2173
|
+
dispatchedOn: string | null;
|
|
2174
|
+
/**
|
|
2175
|
+
* Gets or sets the date and time the operation was finished.
|
|
2290
2176
|
*
|
|
2291
|
-
* @remarks
|
|
2292
|
-
* If set to , unit duty periods in are required.
|
|
2293
2177
|
*/
|
|
2294
|
-
|
|
2178
|
+
finishedOn: string | null;
|
|
2295
2179
|
/**
|
|
2296
|
-
*
|
|
2180
|
+
* Gets or sets the scheduled pick-up date and time for the operation. A reminder notification will be created based on this value.
|
|
2297
2181
|
*
|
|
2298
2182
|
*/
|
|
2299
|
-
|
|
2300
|
-
}
|
|
2301
|
-
/**
|
|
2302
|
-
* Represents a duty period for a unit. Duty periods are required if the property is set to .
|
|
2303
|
-
*
|
|
2304
|
-
*/
|
|
2305
|
-
export interface UnitDutyPeriod {
|
|
2306
|
-
id: number | null;
|
|
2307
|
-
unitId: number;
|
|
2183
|
+
scheduledPickUpOn: string | null;
|
|
2308
2184
|
/**
|
|
2309
|
-
*
|
|
2185
|
+
* Gets or sets the user information for the creator of the operation.
|
|
2310
2186
|
*
|
|
2311
2187
|
*/
|
|
2312
|
-
|
|
2188
|
+
createdBy: IUserInformation;
|
|
2313
2189
|
/**
|
|
2314
|
-
*
|
|
2190
|
+
* Gets or sets the user information for the dispatcher of the operation.
|
|
2315
2191
|
*
|
|
2316
2192
|
*/
|
|
2317
|
-
|
|
2193
|
+
dispatchedBy: IUserInformation;
|
|
2318
2194
|
/**
|
|
2319
|
-
*
|
|
2195
|
+
* Gets or sets the user information for the person who closed the operation.
|
|
2320
2196
|
*
|
|
2321
2197
|
*/
|
|
2322
|
-
|
|
2198
|
+
finishedBy: IUserInformation;
|
|
2323
2199
|
/**
|
|
2324
|
-
*
|
|
2200
|
+
* Gets or sets the collection of keywords associated with the operation.
|
|
2325
2201
|
*
|
|
2326
2202
|
*/
|
|
2327
|
-
|
|
2203
|
+
keywords: IKeyword[] | null;
|
|
2328
2204
|
/**
|
|
2329
|
-
*
|
|
2205
|
+
* Gets or sets the location of the operation.
|
|
2330
2206
|
*
|
|
2331
2207
|
*/
|
|
2332
|
-
|
|
2333
|
-
}
|
|
2334
|
-
export interface UnitInformation {
|
|
2208
|
+
location: IGeoReferenced;
|
|
2335
2209
|
/**
|
|
2336
|
-
*
|
|
2210
|
+
* Gets or sets internal information about the operation
|
|
2337
2211
|
*
|
|
2338
2212
|
*/
|
|
2339
|
-
|
|
2213
|
+
informationInternal: string;
|
|
2340
2214
|
/**
|
|
2341
|
-
*
|
|
2215
|
+
* Gets or sets external information about the operation.
|
|
2342
2216
|
*
|
|
2343
2217
|
*/
|
|
2344
|
-
|
|
2218
|
+
informationExternal: string;
|
|
2345
2219
|
/**
|
|
2346
|
-
*
|
|
2220
|
+
* Gets or sets the priority of the operation.
|
|
2347
2221
|
*
|
|
2348
2222
|
*/
|
|
2349
|
-
|
|
2223
|
+
priority: OperationPriority;
|
|
2350
2224
|
/**
|
|
2351
|
-
*
|
|
2225
|
+
* Gets or sets the current status of the operation.
|
|
2352
2226
|
*
|
|
2353
2227
|
*/
|
|
2354
|
-
|
|
2228
|
+
status: OperationStatus;
|
|
2355
2229
|
/**
|
|
2356
|
-
*
|
|
2230
|
+
* Gets or sets a dictionary of patients associated with the operation.
|
|
2357
2231
|
*
|
|
2358
2232
|
*/
|
|
2359
|
-
|
|
2233
|
+
patients: {
|
|
2234
|
+
[key: string]: IPatient;
|
|
2235
|
+
};
|
|
2360
2236
|
/**
|
|
2361
|
-
*
|
|
2237
|
+
* Gets or sets a dictionary of documents associated with the operation.
|
|
2362
2238
|
*
|
|
2363
2239
|
*/
|
|
2364
|
-
|
|
2365
|
-
|
|
2366
|
-
|
|
2367
|
-
|
|
2368
|
-
|
|
2240
|
+
documentations: {
|
|
2241
|
+
[key: string]: IOperationDocumentation;
|
|
2242
|
+
};
|
|
2243
|
+
/**
|
|
2244
|
+
* Gets or sets a dictionary of resources associated with the operation.
|
|
2245
|
+
*
|
|
2246
|
+
*/
|
|
2247
|
+
resources: {
|
|
2248
|
+
[key: string]: IOperationResource;
|
|
2249
|
+
};
|
|
2369
2250
|
/**
|
|
2370
|
-
*
|
|
2251
|
+
* Gets or sets a dictionary of tasks associated with the operation.
|
|
2371
2252
|
*
|
|
2372
2253
|
*/
|
|
2373
|
-
|
|
2254
|
+
tasks: {
|
|
2255
|
+
[key: string]: IOperationTask;
|
|
2256
|
+
};
|
|
2374
2257
|
/**
|
|
2375
|
-
*
|
|
2258
|
+
* Gets or sets a list of relevant audit information's associated with the operation.
|
|
2376
2259
|
*
|
|
2377
2260
|
*/
|
|
2378
|
-
|
|
2261
|
+
audits: ISessionAudit[] | null;
|
|
2379
2262
|
/**
|
|
2380
|
-
*
|
|
2263
|
+
* Gets or sets the duration of the operation.
|
|
2381
2264
|
*
|
|
2382
2265
|
*/
|
|
2383
|
-
|
|
2266
|
+
duration: string;
|
|
2267
|
+
}
|
|
2268
|
+
export interface IOperationDocumentation {
|
|
2269
|
+
id: string;
|
|
2270
|
+
operationId: string;
|
|
2384
2271
|
/**
|
|
2385
|
-
*
|
|
2272
|
+
* Gets or sets the date and time when this documentation was created.
|
|
2386
2273
|
*
|
|
2387
2274
|
*/
|
|
2388
|
-
|
|
2275
|
+
createdOn: string;
|
|
2389
2276
|
/**
|
|
2390
|
-
*
|
|
2277
|
+
* Gets or sets the user information of the individual who created this documentation.
|
|
2391
2278
|
*
|
|
2392
2279
|
*/
|
|
2393
|
-
|
|
2280
|
+
createdBy: IUserInformation;
|
|
2394
2281
|
/**
|
|
2395
|
-
*
|
|
2282
|
+
* Gets or sets the textual content of the documentation.
|
|
2396
2283
|
*
|
|
2397
2284
|
*/
|
|
2398
|
-
|
|
2285
|
+
text: string;
|
|
2399
2286
|
}
|
|
2400
|
-
|
|
2401
|
-
|
|
2402
|
-
|
|
2403
|
-
*/
|
|
2404
|
-
export interface Workplace {
|
|
2287
|
+
export interface IOperationResource {
|
|
2288
|
+
id: string;
|
|
2289
|
+
operationId: string;
|
|
2405
2290
|
/**
|
|
2406
|
-
* Gets or sets the
|
|
2291
|
+
* Gets or sets the information of the user who dispatched the resource.
|
|
2407
2292
|
*
|
|
2408
2293
|
*/
|
|
2409
|
-
|
|
2294
|
+
dispatchedBy: IUserInformation;
|
|
2410
2295
|
/**
|
|
2411
|
-
* Gets or sets the
|
|
2296
|
+
* Gets or sets the date and time the resource was dispatched.
|
|
2412
2297
|
*
|
|
2413
2298
|
*/
|
|
2414
|
-
|
|
2299
|
+
dispatchOn: string;
|
|
2415
2300
|
/**
|
|
2416
|
-
* Gets or sets the
|
|
2301
|
+
* Gets or sets the date and time the resource dispatch was canceled.
|
|
2417
2302
|
*
|
|
2418
2303
|
*/
|
|
2419
|
-
|
|
2420
|
-
}
|
|
2421
|
-
export interface ICommandcenterInformation {
|
|
2422
|
-
id: number;
|
|
2304
|
+
cancelOn: string | null;
|
|
2423
2305
|
/**
|
|
2424
|
-
*
|
|
2306
|
+
* Gets or sets the date and time the resource completed its task.
|
|
2425
2307
|
*
|
|
2426
2308
|
*/
|
|
2427
|
-
|
|
2309
|
+
completedOn: string | null;
|
|
2428
2310
|
/**
|
|
2429
|
-
*
|
|
2311
|
+
* Gets or sets the timestamps of various statuses of the resource.
|
|
2430
2312
|
*
|
|
2431
2313
|
*/
|
|
2432
|
-
|
|
2314
|
+
statusTimestamps: {
|
|
2315
|
+
[key: number]: string;
|
|
2316
|
+
};
|
|
2317
|
+
resource: IUnitResource;
|
|
2318
|
+
}
|
|
2319
|
+
export interface IOperationTask {
|
|
2320
|
+
id: string;
|
|
2321
|
+
operationId: string;
|
|
2322
|
+
sessionId: number;
|
|
2433
2323
|
/**
|
|
2434
|
-
*
|
|
2324
|
+
* Gets or sets the task template used to create this task.
|
|
2435
2325
|
*
|
|
2436
2326
|
*/
|
|
2437
|
-
|
|
2327
|
+
template: ITaskTemplate;
|
|
2438
2328
|
/**
|
|
2439
|
-
*
|
|
2329
|
+
* Gets or sets notes related to the task.
|
|
2440
2330
|
*
|
|
2441
2331
|
*/
|
|
2442
|
-
|
|
2443
|
-
}
|
|
2444
|
-
export interface IExecutable {
|
|
2445
|
-
context: ITaskExecutionContext;
|
|
2446
|
-
}
|
|
2447
|
-
export interface IGeoReferenced {
|
|
2332
|
+
notes: string;
|
|
2448
2333
|
/**
|
|
2449
|
-
*
|
|
2334
|
+
* Gets or sets the status of the task.
|
|
2450
2335
|
*
|
|
2451
2336
|
*/
|
|
2452
|
-
|
|
2337
|
+
status: TaskStatus;
|
|
2453
2338
|
/**
|
|
2454
|
-
*
|
|
2339
|
+
* Gets or sets the date and time the task was last completed.
|
|
2455
2340
|
*
|
|
2456
2341
|
*/
|
|
2457
|
-
|
|
2342
|
+
lastCompletedOn: string | null;
|
|
2458
2343
|
/**
|
|
2459
|
-
*
|
|
2344
|
+
* Gets or sets information about the user who last completed the task.
|
|
2460
2345
|
*
|
|
2461
2346
|
*/
|
|
2462
|
-
|
|
2347
|
+
lastCompletedBy: IUserInformation;
|
|
2348
|
+
}
|
|
2349
|
+
export interface IPatient {
|
|
2350
|
+
id: string;
|
|
2351
|
+
operationId: string;
|
|
2463
2352
|
/**
|
|
2464
|
-
*
|
|
2353
|
+
* Gets or sets the insurance number of the patient, if available.
|
|
2465
2354
|
*
|
|
2466
2355
|
*/
|
|
2467
|
-
|
|
2356
|
+
insuranceNumber: string;
|
|
2468
2357
|
/**
|
|
2469
|
-
*
|
|
2358
|
+
* Gets or sets the destination location for the patient.
|
|
2470
2359
|
*
|
|
2471
2360
|
*/
|
|
2472
|
-
|
|
2361
|
+
destination: IGeoReferenced;
|
|
2473
2362
|
}
|
|
2474
|
-
export interface
|
|
2363
|
+
export interface IPerson {
|
|
2475
2364
|
/**
|
|
2476
|
-
* Gets the
|
|
2365
|
+
* Gets or sets the first name of the person.
|
|
2477
2366
|
*
|
|
2478
2367
|
*/
|
|
2479
|
-
|
|
2368
|
+
firstName: string;
|
|
2480
2369
|
/**
|
|
2481
|
-
* Gets the
|
|
2370
|
+
* Gets or sets the middle name of the person.
|
|
2482
2371
|
*
|
|
2483
2372
|
*/
|
|
2484
|
-
|
|
2485
|
-
}
|
|
2486
|
-
export interface IOperationTask {
|
|
2373
|
+
middleName: string;
|
|
2487
2374
|
/**
|
|
2488
|
-
* Gets or sets the
|
|
2375
|
+
* Gets or sets the last name of the person.
|
|
2489
2376
|
*
|
|
2490
2377
|
*/
|
|
2491
|
-
|
|
2378
|
+
lastName: string;
|
|
2492
2379
|
/**
|
|
2493
|
-
* Gets or sets the
|
|
2380
|
+
* Gets or sets the gender of the person.
|
|
2494
2381
|
*
|
|
2495
2382
|
*/
|
|
2496
|
-
|
|
2383
|
+
gender: Gender | null;
|
|
2497
2384
|
/**
|
|
2498
|
-
* Gets or sets the
|
|
2385
|
+
* Gets or sets the date of birth of the person.
|
|
2499
2386
|
*
|
|
2500
2387
|
*/
|
|
2501
|
-
|
|
2388
|
+
dateOfBirth: string | null;
|
|
2389
|
+
}
|
|
2390
|
+
export interface IPhoneNumber {
|
|
2502
2391
|
/**
|
|
2503
|
-
* Gets
|
|
2392
|
+
* Gets the country associated with the phone number.
|
|
2504
2393
|
*
|
|
2505
2394
|
*/
|
|
2506
|
-
|
|
2395
|
+
country: Country;
|
|
2507
2396
|
/**
|
|
2508
|
-
* Gets
|
|
2397
|
+
* Gets the country calling code derived from the enumeration.
|
|
2509
2398
|
*
|
|
2510
2399
|
*/
|
|
2511
|
-
|
|
2400
|
+
countryCode: string;
|
|
2512
2401
|
/**
|
|
2513
|
-
* Gets
|
|
2402
|
+
* Gets the area code for specific regions within the country.
|
|
2514
2403
|
*
|
|
2515
2404
|
*/
|
|
2516
|
-
|
|
2405
|
+
areaCode: string;
|
|
2517
2406
|
/**
|
|
2518
|
-
* Gets
|
|
2407
|
+
* Gets the local phone number.
|
|
2519
2408
|
*
|
|
2520
2409
|
*/
|
|
2521
|
-
|
|
2410
|
+
number: string;
|
|
2522
2411
|
}
|
|
2523
|
-
export interface
|
|
2412
|
+
export interface ISessionAudit {
|
|
2413
|
+
id: string;
|
|
2524
2414
|
/**
|
|
2525
|
-
* Gets
|
|
2415
|
+
* Gets information about the user who performed the audited action.
|
|
2526
2416
|
*
|
|
2527
2417
|
*/
|
|
2528
|
-
|
|
2418
|
+
user: IUserInformation;
|
|
2529
2419
|
/**
|
|
2530
|
-
* Gets
|
|
2420
|
+
* Gets the type of action performed on the entity (Create, Update, Delete).
|
|
2531
2421
|
*
|
|
2532
2422
|
*/
|
|
2533
|
-
|
|
2423
|
+
action: AuditAction;
|
|
2534
2424
|
/**
|
|
2535
|
-
* Gets
|
|
2425
|
+
* Gets the type of sub action performed on the entity (e.g. dispatch, status change ...).
|
|
2536
2426
|
*
|
|
2537
2427
|
*/
|
|
2538
|
-
|
|
2428
|
+
actionSub: AuditActionSub | null;
|
|
2539
2429
|
/**
|
|
2540
|
-
* Gets
|
|
2430
|
+
* Gets the type of entity affected by the audit action.
|
|
2541
2431
|
*
|
|
2542
2432
|
*/
|
|
2543
|
-
|
|
2433
|
+
entityType: AuditEntityType;
|
|
2544
2434
|
/**
|
|
2545
|
-
* Gets
|
|
2435
|
+
* Gets the unique identifier of the specific entity instance that was affected.
|
|
2546
2436
|
*
|
|
2547
2437
|
*/
|
|
2548
|
-
|
|
2438
|
+
entityId: string;
|
|
2549
2439
|
/**
|
|
2550
|
-
* Gets
|
|
2440
|
+
* Gets a dictionary of property names and their new values after the action.
|
|
2551
2441
|
*
|
|
2552
2442
|
*/
|
|
2553
|
-
|
|
2554
|
-
|
|
2555
|
-
|
|
2443
|
+
changedProperties: {
|
|
2444
|
+
[key: string]: string;
|
|
2445
|
+
};
|
|
2556
2446
|
/**
|
|
2557
|
-
* Gets
|
|
2447
|
+
* Gets any supplementary information relevant to understanding the audit event.
|
|
2558
2448
|
*
|
|
2559
2449
|
*/
|
|
2560
|
-
|
|
2450
|
+
additionalInfo: string;
|
|
2561
2451
|
/**
|
|
2562
|
-
* Gets the
|
|
2452
|
+
* Gets the date and time when the audited action occurred.
|
|
2563
2453
|
*
|
|
2564
2454
|
*/
|
|
2565
|
-
|
|
2566
|
-
}
|
|
2567
|
-
export interface ITaskExecutionContext {
|
|
2568
|
-
connector: ITaskSessionConnector;
|
|
2569
|
-
operation: Operation;
|
|
2570
|
-
executedBy: IUserInformation;
|
|
2571
|
-
task: IOperationTask;
|
|
2572
|
-
cancel: CancellationToken;
|
|
2573
|
-
}
|
|
2574
|
-
export interface ITaskSessionConnector {
|
|
2455
|
+
timestamp: string;
|
|
2575
2456
|
}
|
|
2576
2457
|
export interface ITaskTemplate {
|
|
2458
|
+
id: number;
|
|
2459
|
+
commandcenterId: number;
|
|
2577
2460
|
/**
|
|
2578
2461
|
* Gets or sets the description of the task template.
|
|
2579
2462
|
*
|
|
@@ -2659,6 +2542,50 @@ export interface IUnitInformation {
|
|
|
2659
2542
|
*/
|
|
2660
2543
|
station: string;
|
|
2661
2544
|
}
|
|
2545
|
+
export interface IUnitResource {
|
|
2546
|
+
sessionId: number;
|
|
2547
|
+
unitId: number;
|
|
2548
|
+
/**
|
|
2549
|
+
* Gets or sets the unit information associated with the resource.
|
|
2550
|
+
*
|
|
2551
|
+
*/
|
|
2552
|
+
unit: IUnitInformation;
|
|
2553
|
+
/**
|
|
2554
|
+
* Gets or sets the current status of the unit.
|
|
2555
|
+
*
|
|
2556
|
+
*/
|
|
2557
|
+
unitStatus: UnitStatus | null;
|
|
2558
|
+
/**
|
|
2559
|
+
* Gets or sets a non-persistent unit status for temporary tracking.
|
|
2560
|
+
*
|
|
2561
|
+
*/
|
|
2562
|
+
unitStatusNonPersistent: UnitStatusNonPersistent | null;
|
|
2563
|
+
/**
|
|
2564
|
+
* Gets or sets the static position of the unit, representing its station location when on duty without dispatch.
|
|
2565
|
+
*
|
|
2566
|
+
*/
|
|
2567
|
+
staticPosition: Coordinates;
|
|
2568
|
+
/**
|
|
2569
|
+
* Gets or sets the dynamic GPS position of the unit, if available.
|
|
2570
|
+
*
|
|
2571
|
+
*/
|
|
2572
|
+
dynamicPosition: Coordinates | null;
|
|
2573
|
+
/**
|
|
2574
|
+
* Gets or sets the timestamp indicating when the unit was put into preselection for an operation.
|
|
2575
|
+
*
|
|
2576
|
+
*/
|
|
2577
|
+
suggestionOn: string | null;
|
|
2578
|
+
/**
|
|
2579
|
+
* Gets or sets the count of times the unit has been dispatched, used for load balancing between units.
|
|
2580
|
+
*
|
|
2581
|
+
*/
|
|
2582
|
+
dispatchCounter: number;
|
|
2583
|
+
/**
|
|
2584
|
+
* Gets or sets the identifier of the current operation if the unit is dispatched.
|
|
2585
|
+
*
|
|
2586
|
+
*/
|
|
2587
|
+
currentOperationId: string | null;
|
|
2588
|
+
}
|
|
2662
2589
|
export interface IUserInformation {
|
|
2663
2590
|
id: number;
|
|
2664
2591
|
sub: string;
|
|
@@ -2693,6 +2620,23 @@ export interface IUserInformation {
|
|
|
2693
2620
|
*/
|
|
2694
2621
|
lastActivityOn: string | null;
|
|
2695
2622
|
}
|
|
2623
|
+
export interface IWorkplace {
|
|
2624
|
+
/**
|
|
2625
|
+
* Gets or sets the number that identifies the workplace.
|
|
2626
|
+
*
|
|
2627
|
+
*/
|
|
2628
|
+
number: number;
|
|
2629
|
+
/**
|
|
2630
|
+
* Gets or sets the current status of the workplace.
|
|
2631
|
+
*
|
|
2632
|
+
*/
|
|
2633
|
+
status: WorkplaceStatus;
|
|
2634
|
+
/**
|
|
2635
|
+
* Gets or sets the user information associated with the workplace.
|
|
2636
|
+
*
|
|
2637
|
+
*/
|
|
2638
|
+
user: IUserInformation;
|
|
2639
|
+
}
|
|
2696
2640
|
/**
|
|
2697
2641
|
* Represents a specific address within a district, providing detailed street-level information. This record extends the to include street name and potential street number ranges, which can be used to generate random house numbers within simulations.
|
|
2698
2642
|
*
|
|
@@ -2912,6 +2856,38 @@ export interface AddressState {
|
|
|
2912
2856
|
*/
|
|
2913
2857
|
stateName: string;
|
|
2914
2858
|
}
|
|
2859
|
+
export declare enum AuditAction {
|
|
2860
|
+
/**
|
|
2861
|
+
* Indicates that a new entity was created in the system.
|
|
2862
|
+
*
|
|
2863
|
+
*/
|
|
2864
|
+
Create = 0,
|
|
2865
|
+
/**
|
|
2866
|
+
* Indicates that an existing entity was modified in the system.
|
|
2867
|
+
*
|
|
2868
|
+
*/
|
|
2869
|
+
Update = 1,
|
|
2870
|
+
/**
|
|
2871
|
+
* Indicates that an entity was removed from the system.
|
|
2872
|
+
*
|
|
2873
|
+
*/
|
|
2874
|
+
Delete = 2
|
|
2875
|
+
}
|
|
2876
|
+
export declare enum AuditActionSub {
|
|
2877
|
+
OperationPreselectionAddSuggestion = 0,
|
|
2878
|
+
OperationPreselectionAddManual = 1,
|
|
2879
|
+
OperationPreselectionRemoveManual = 2,
|
|
2880
|
+
OperationPreselectionRemoveTimeout = 3,
|
|
2881
|
+
OperationTaskMatch = 4,
|
|
2882
|
+
OperationTaskMissmatch = 5,
|
|
2883
|
+
OperationTaskExecuted = 6,
|
|
2884
|
+
OperationDispatch = 7,
|
|
2885
|
+
OperationDispatchCancel = 8,
|
|
2886
|
+
OperationStatusChange = 9
|
|
2887
|
+
}
|
|
2888
|
+
export declare enum AuditEntityType {
|
|
2889
|
+
Operation = 0
|
|
2890
|
+
}
|
|
2915
2891
|
export declare enum CommandcenterCategory {
|
|
2916
2892
|
AerztlicherBereitschaftsdienst = 0,
|
|
2917
2893
|
Einsatzleitstelle = 1,
|
|
@@ -3172,38 +3148,6 @@ export declare enum NotificationCategory {
|
|
|
3172
3148
|
*/
|
|
3173
3149
|
OpenTask = 9
|
|
3174
3150
|
}
|
|
3175
|
-
export declare enum OperationEventCategory {
|
|
3176
|
-
/**
|
|
3177
|
-
* Indicates that the operation was created.
|
|
3178
|
-
*
|
|
3179
|
-
*/
|
|
3180
|
-
Created = 0,
|
|
3181
|
-
/**
|
|
3182
|
-
* Represents a change in a property of the operation.
|
|
3183
|
-
*
|
|
3184
|
-
*/
|
|
3185
|
-
ChangedProperty = 1,
|
|
3186
|
-
/**
|
|
3187
|
-
* Represents a suggestion for unit assignment within the operation.
|
|
3188
|
-
*
|
|
3189
|
-
*/
|
|
3190
|
-
UnitSuggestion = 2,
|
|
3191
|
-
/**
|
|
3192
|
-
* Indicates that a dispatch action occurred within the operation.
|
|
3193
|
-
*
|
|
3194
|
-
*/
|
|
3195
|
-
Dispatch = 3,
|
|
3196
|
-
/**
|
|
3197
|
-
* Represents a status update for a unit involved in the operation.
|
|
3198
|
-
*
|
|
3199
|
-
*/
|
|
3200
|
-
UnitStatus = 4,
|
|
3201
|
-
/**
|
|
3202
|
-
* Represents a task-related event within the operation.
|
|
3203
|
-
*
|
|
3204
|
-
*/
|
|
3205
|
-
Task = 5
|
|
3206
|
-
}
|
|
3207
3151
|
export declare enum OperationPriority {
|
|
3208
3152
|
/**
|
|
3209
3153
|
* The priority has not been set, indicating an undefined or initial state.
|
|
@@ -3499,98 +3443,76 @@ export declare enum SessionEventType {
|
|
|
3499
3443
|
*
|
|
3500
3444
|
*/
|
|
3501
3445
|
OperationPropertyChanged = 4,
|
|
3502
|
-
/**
|
|
3503
|
-
* Indicates that a new event has been created within an operation.
|
|
3504
|
-
*
|
|
3505
|
-
*/
|
|
3506
|
-
OperationEventCreated = 5,
|
|
3507
3446
|
/**
|
|
3508
3447
|
* Indicates that documentation for an operation has been created.
|
|
3509
3448
|
*
|
|
3510
3449
|
*/
|
|
3511
|
-
OperationDocumentationCreated =
|
|
3450
|
+
OperationDocumentationCreated = 5,
|
|
3512
3451
|
/**
|
|
3513
3452
|
* Indicates that a patient record for an operation has been created.
|
|
3514
3453
|
*
|
|
3515
3454
|
*/
|
|
3516
|
-
OperationPatientCreated =
|
|
3455
|
+
OperationPatientCreated = 6,
|
|
3517
3456
|
/**
|
|
3518
3457
|
* Indicates that a task within an operation has been created.
|
|
3519
3458
|
*
|
|
3520
3459
|
*/
|
|
3521
|
-
OperationTaskCreated =
|
|
3460
|
+
OperationTaskCreated = 7,
|
|
3522
3461
|
/**
|
|
3523
3462
|
* Indicates that a task within an operation has been removed.
|
|
3524
3463
|
*
|
|
3525
3464
|
*/
|
|
3526
|
-
OperationTaskRemoved =
|
|
3465
|
+
OperationTaskRemoved = 8,
|
|
3527
3466
|
/**
|
|
3528
3467
|
* Indicates that a task within an operation is set to execute.
|
|
3529
3468
|
*
|
|
3530
3469
|
*/
|
|
3531
|
-
OperationTaskExecute =
|
|
3470
|
+
OperationTaskExecute = 9,
|
|
3532
3471
|
/**
|
|
3533
3472
|
* Indicates that a resource is now suggested for use.
|
|
3534
3473
|
*
|
|
3535
3474
|
*/
|
|
3536
|
-
ResourceNowSuggested =
|
|
3475
|
+
ResourceNowSuggested = 10,
|
|
3537
3476
|
/**
|
|
3538
3477
|
* Indicates that a resource is no longer suggested for use.
|
|
3539
3478
|
*
|
|
3540
3479
|
*/
|
|
3541
|
-
ResourceNoLongerSuggested =
|
|
3480
|
+
ResourceNoLongerSuggested = 11,
|
|
3542
3481
|
/**
|
|
3543
3482
|
* Indicates that the status of a resource has changed.
|
|
3544
3483
|
*
|
|
3545
3484
|
*/
|
|
3546
|
-
ResourceStatusChanged =
|
|
3485
|
+
ResourceStatusChanged = 12,
|
|
3547
3486
|
/**
|
|
3548
3487
|
* Indicates that a resource has been dispatched.
|
|
3549
3488
|
*
|
|
3550
3489
|
*/
|
|
3551
|
-
ResourceDispatched =
|
|
3490
|
+
ResourceDispatched = 13,
|
|
3552
3491
|
/**
|
|
3553
3492
|
* Indicates that the dispatch of a resource has been canceled.
|
|
3554
3493
|
*
|
|
3555
3494
|
*/
|
|
3556
|
-
ResourceDispatchCanceled =
|
|
3495
|
+
ResourceDispatchCanceled = 14,
|
|
3557
3496
|
/**
|
|
3558
3497
|
* Indicates that the dispatch of a resource has been completed.
|
|
3559
3498
|
*
|
|
3560
3499
|
*/
|
|
3561
|
-
ResourceDispatchCompleted =
|
|
3500
|
+
ResourceDispatchCompleted = 15,
|
|
3562
3501
|
/**
|
|
3563
3502
|
* Indicates that the position of a resource has changed.
|
|
3564
3503
|
*
|
|
3565
3504
|
*/
|
|
3566
|
-
ResourcePositionChanged =
|
|
3505
|
+
ResourcePositionChanged = 16,
|
|
3567
3506
|
/**
|
|
3568
3507
|
* Indicates a request for a resource to speak.
|
|
3569
3508
|
*
|
|
3570
3509
|
*/
|
|
3571
|
-
ResourceSpeakRequest =
|
|
3510
|
+
ResourceSpeakRequest = 17,
|
|
3572
3511
|
/**
|
|
3573
3512
|
* Indicates that a notification has been created.
|
|
3574
3513
|
*
|
|
3575
3514
|
*/
|
|
3576
|
-
NotificationCreated =
|
|
3577
|
-
}
|
|
3578
|
-
export declare enum SessionState {
|
|
3579
|
-
/**
|
|
3580
|
-
* The session has been requested but not yet processed.
|
|
3581
|
-
*
|
|
3582
|
-
*/
|
|
3583
|
-
Requested = 0,
|
|
3584
|
-
/**
|
|
3585
|
-
* The session is ready for use.
|
|
3586
|
-
*
|
|
3587
|
-
*/
|
|
3588
|
-
Ready = 100,
|
|
3589
|
-
/**
|
|
3590
|
-
* The session has failed due to an error or issue.
|
|
3591
|
-
*
|
|
3592
|
-
*/
|
|
3593
|
-
Failed = 200
|
|
3515
|
+
NotificationCreated = 18
|
|
3594
3516
|
}
|
|
3595
3517
|
export declare enum SessionWebhookMethod {
|
|
3596
3518
|
GET = 0,
|
|
@@ -3795,26 +3717,6 @@ export declare enum TaskStatus {
|
|
|
3795
3717
|
*/
|
|
3796
3718
|
NotSupported = 5
|
|
3797
3719
|
}
|
|
3798
|
-
export declare enum UIText {
|
|
3799
|
-
BtnSave = 0,
|
|
3800
|
-
BtnDuplicate = 1,
|
|
3801
|
-
BtnDelete = 2,
|
|
3802
|
-
BtnRemove = 3,
|
|
3803
|
-
BtnCancel = 4,
|
|
3804
|
-
BtnConfirm = 5,
|
|
3805
|
-
BtnCreate = 6,
|
|
3806
|
-
BtnOk = 7,
|
|
3807
|
-
LblRequired = 8,
|
|
3808
|
-
LblOptional = 9,
|
|
3809
|
-
DlgTitleDelete = 10,
|
|
3810
|
-
DlgBodyDelete = 11,
|
|
3811
|
-
DlgBodyDeleteWithInput = 12,
|
|
3812
|
-
DlgTitleSuccess = 13,
|
|
3813
|
-
DlgBodySuccessSaved = 14,
|
|
3814
|
-
DlgTitleFailed = 15,
|
|
3815
|
-
DlgTitleProcessing = 16,
|
|
3816
|
-
DlgBodyProcessing = 17
|
|
3817
|
-
}
|
|
3818
3720
|
export declare enum UnitCategory {
|
|
3819
3721
|
DLK = 0,
|
|
3820
3722
|
ELW1 = 1,
|
|
@@ -4047,13 +3949,6 @@ export declare namespace SignalRDefaults {
|
|
|
4047
3949
|
*/
|
|
4048
3950
|
const ServerTimeoutSeconds: number;
|
|
4049
3951
|
}
|
|
4050
|
-
export declare namespace SIMDispatcherDefaults {
|
|
4051
|
-
/**
|
|
4052
|
-
* URL for accessing forums.
|
|
4053
|
-
*
|
|
4054
|
-
*/
|
|
4055
|
-
const Forums: string;
|
|
4056
|
-
}
|
|
4057
3952
|
export declare namespace UrlDefaults {
|
|
4058
3953
|
/**
|
|
4059
3954
|
* URL for contact the customer support.
|
|
@@ -4070,8 +3965,6 @@ export declare namespace UrlDefaults {
|
|
|
4070
3965
|
*
|
|
4071
3966
|
*/
|
|
4072
3967
|
const Bugtracker: string;
|
|
4073
|
-
namespace Server {
|
|
4074
|
-
}
|
|
4075
3968
|
}
|
|
4076
3969
|
export declare namespace UserInterfaceDefaults {
|
|
4077
3970
|
namespace UnitStatusBackground {
|