resqueserve-core 4.0.0-238
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 -0
- package/main.d.ts +3841 -0
- package/main.d.ts.map +1 -0
- package/main.js +1156 -0
- package/package.json +11 -0
package/main.d.ts
ADDED
|
@@ -0,0 +1,3841 @@
|
|
|
1
|
+
export interface Area {
|
|
2
|
+
/**
|
|
3
|
+
* The district this area is responsible for. This is used to map addresses to specific dispatch areas.
|
|
4
|
+
*
|
|
5
|
+
*/
|
|
6
|
+
district: AddressDistrict;
|
|
7
|
+
/**
|
|
8
|
+
* Gets the identifier of the entity.
|
|
9
|
+
*
|
|
10
|
+
*/
|
|
11
|
+
id: number;
|
|
12
|
+
/**
|
|
13
|
+
* Gets or sets the identifier of the associated dispatch center.
|
|
14
|
+
*
|
|
15
|
+
*/
|
|
16
|
+
commandcenterId: number;
|
|
17
|
+
/**
|
|
18
|
+
* Indicates how many more or fewer emergencies should be generated for this area compared to other areas. Adjusting this value can help balance the workload across different districts. (1 default / normal, e.g. 50 much more emergencies in this area).
|
|
19
|
+
*
|
|
20
|
+
*/
|
|
21
|
+
increase: number;
|
|
22
|
+
/**
|
|
23
|
+
* A list of group identifiers used for suggesting appropriate response units for incidents within this area. The groups listed here should match those specified in Unit.DispatchGroups and Keyword.DispatchGroups to ensure correct unit dispatch.
|
|
24
|
+
*
|
|
25
|
+
*/
|
|
26
|
+
dispatchGroups: string;
|
|
27
|
+
}
|
|
28
|
+
export interface BuildArea {
|
|
29
|
+
districtId: number;
|
|
30
|
+
/**
|
|
31
|
+
* Indicates how many more or fewer emergencies should be generated for this area compared to other areas. Adjusting this value can help balance the workload across different districts. (1 default / normal, e.g. 50 much more emergencies in this area).
|
|
32
|
+
*
|
|
33
|
+
*/
|
|
34
|
+
increase: number;
|
|
35
|
+
/**
|
|
36
|
+
* A list of group identifiers used for suggesting appropriate response units for incidents within this area. The groups listed here should match those specified in Unit.DispatchGroups and Keyword.DispatchGroups to ensure correct unit dispatch.
|
|
37
|
+
*
|
|
38
|
+
*/
|
|
39
|
+
dispatchGroups: string;
|
|
40
|
+
}
|
|
41
|
+
/**
|
|
42
|
+
* 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.
|
|
43
|
+
*
|
|
44
|
+
*/
|
|
45
|
+
export interface BuildKeyword {
|
|
46
|
+
requiredEquipment: KeywordEquipment[] | null;
|
|
47
|
+
/**
|
|
48
|
+
* The name of the keyword used for search and identification purposes.
|
|
49
|
+
*
|
|
50
|
+
*/
|
|
51
|
+
name: string;
|
|
52
|
+
/**
|
|
53
|
+
* Indicates if the emergency is urgent, which may prompt units to use sirens.
|
|
54
|
+
*
|
|
55
|
+
*/
|
|
56
|
+
isUrgent: boolean;
|
|
57
|
+
/**
|
|
58
|
+
* Indicates if the keyword is used for auto-assigning regular ambulance transport operations where the patient can sit (mapping property).
|
|
59
|
+
*
|
|
60
|
+
*/
|
|
61
|
+
isUsedForAmbulanceRegularSitting: boolean;
|
|
62
|
+
/**
|
|
63
|
+
* Indicates if the keyword is used for auto-assigning regular ambulance transport operations where the patient can only lay (mapping property).
|
|
64
|
+
*
|
|
65
|
+
*/
|
|
66
|
+
isUsedForAmbulanceRegularLying: boolean;
|
|
67
|
+
/**
|
|
68
|
+
* Indicates if the keyword is used for a standby position.
|
|
69
|
+
*
|
|
70
|
+
*/
|
|
71
|
+
isUsedForStandbyPosition: boolean;
|
|
72
|
+
/**
|
|
73
|
+
* 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).
|
|
74
|
+
*
|
|
75
|
+
*/
|
|
76
|
+
isUsedForFireAlarmSystem: boolean;
|
|
77
|
+
/**
|
|
78
|
+
* Specifies whether police assistance is required for the emergency situation.
|
|
79
|
+
*
|
|
80
|
+
*/
|
|
81
|
+
isPoliceRequired: boolean;
|
|
82
|
+
/**
|
|
83
|
+
* Specifies the number of medical units with a doctor to be suggested (can be air or ground units).
|
|
84
|
+
*
|
|
85
|
+
*/
|
|
86
|
+
dispatchAmountDoctor: number;
|
|
87
|
+
/**
|
|
88
|
+
* Specifies the number of ground medical units with a doctor to be suggested (excluding air units).
|
|
89
|
+
*
|
|
90
|
+
*/
|
|
91
|
+
dispatchAmountDoctorGround: number;
|
|
92
|
+
/**
|
|
93
|
+
* Specifies the number of urgent ambulance units to be suggested.
|
|
94
|
+
*
|
|
95
|
+
*/
|
|
96
|
+
dispatchAmountAmbulanceUrgent: number;
|
|
97
|
+
/**
|
|
98
|
+
* Specifies the number of ambulance units with a doctor to be suggested.
|
|
99
|
+
*
|
|
100
|
+
*/
|
|
101
|
+
dispatchAmountAmbulanceDoctor: number;
|
|
102
|
+
/**
|
|
103
|
+
* Specifies the number of regular transport ambulance units to be suggested for non-urgent patient transport.
|
|
104
|
+
*
|
|
105
|
+
*/
|
|
106
|
+
dispatchAmountAmbulanceRegular: number;
|
|
107
|
+
/**
|
|
108
|
+
* Specifies the number of helicopters to be suggested.
|
|
109
|
+
*
|
|
110
|
+
*/
|
|
111
|
+
dispatchAmountHelicopter: number;
|
|
112
|
+
/**
|
|
113
|
+
* Specifies the number of ICU-equipped ambulance units to be suggested.
|
|
114
|
+
*
|
|
115
|
+
*/
|
|
116
|
+
dispatchAmountAmbulanceICU: number;
|
|
117
|
+
/**
|
|
118
|
+
* Specifies the number of ICU-equipped helicopters to be suggested.
|
|
119
|
+
*
|
|
120
|
+
*/
|
|
121
|
+
dispatchAmountHelicopterICU: number;
|
|
122
|
+
/**
|
|
123
|
+
* Groups of dispatch units suggested for the keyword, used to refine the suggestions based on unit capabilities.
|
|
124
|
+
*
|
|
125
|
+
*/
|
|
126
|
+
dispatchGroups: string;
|
|
127
|
+
/**
|
|
128
|
+
* Tasks associated with this keyword that might need to be performed during the emergency response.
|
|
129
|
+
*
|
|
130
|
+
*/
|
|
131
|
+
tasks: KeywordTask[] | null;
|
|
132
|
+
}
|
|
133
|
+
/**
|
|
134
|
+
* 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.
|
|
135
|
+
*
|
|
136
|
+
*/
|
|
137
|
+
export interface BuildMissionLoad {
|
|
138
|
+
/**
|
|
139
|
+
* The category of mission this load applies to, influencing the type of emergencies simulated.
|
|
140
|
+
*
|
|
141
|
+
*/
|
|
142
|
+
category: MissionCategory;
|
|
143
|
+
/**
|
|
144
|
+
* The hour of the day (0-23) this load starts. Represents the start time for generating the specified amount of emergencies.
|
|
145
|
+
*
|
|
146
|
+
*/
|
|
147
|
+
hour: number;
|
|
148
|
+
/**
|
|
149
|
+
* The amount of emergencies to be generated during the specified hour until the next defined hour in the schedule. For example, setting Hour to 10 and Amount to 15 means 15 emergencies will be generated starting at 10:00 until the next hour set in another Missionload item.
|
|
150
|
+
*
|
|
151
|
+
*/
|
|
152
|
+
amount: number;
|
|
153
|
+
}
|
|
154
|
+
/**
|
|
155
|
+
* Represents a point of interest (POI) such as hospitals, fire stations, or other locations.
|
|
156
|
+
*
|
|
157
|
+
*/
|
|
158
|
+
export interface BuildPoi {
|
|
159
|
+
addressId: number | null;
|
|
160
|
+
/**
|
|
161
|
+
* The name of the point of interest. Is unique inside a dispatch center.
|
|
162
|
+
*
|
|
163
|
+
*/
|
|
164
|
+
name: string;
|
|
165
|
+
/**
|
|
166
|
+
* The category of the point of interest.
|
|
167
|
+
*
|
|
168
|
+
*/
|
|
169
|
+
category: PoiCategory;
|
|
170
|
+
/**
|
|
171
|
+
* Tags associated with the point of interest for search purposes. Separate multiple tags with a comma.
|
|
172
|
+
*
|
|
173
|
+
*/
|
|
174
|
+
searchTags: string;
|
|
175
|
+
/**
|
|
176
|
+
* The verbal name of the point of interest. May be used on radio or calls.
|
|
177
|
+
*
|
|
178
|
+
*/
|
|
179
|
+
verbalName: string;
|
|
180
|
+
/**
|
|
181
|
+
* The German genus of the point of interest (der, die, das).
|
|
182
|
+
*
|
|
183
|
+
*/
|
|
184
|
+
germanGenus: string;
|
|
185
|
+
/**
|
|
186
|
+
* The hospital departments associated with the hospital POI if is hospital. Has no effect if is true.
|
|
187
|
+
*
|
|
188
|
+
*/
|
|
189
|
+
hospitalDepartments: PoiHospitalDepartment[] | null;
|
|
190
|
+
/**
|
|
191
|
+
* Indicates whether units should be dispatched together when assigned to this POI. Should be true if non-volunteer department.
|
|
192
|
+
*
|
|
193
|
+
*/
|
|
194
|
+
isUnitsMoveOutTogether: boolean;
|
|
195
|
+
/**
|
|
196
|
+
* 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.
|
|
197
|
+
*
|
|
198
|
+
*/
|
|
199
|
+
bonusMalus: number;
|
|
200
|
+
/**
|
|
201
|
+
* Indicates whether the hospital is a maximum care hospital and has all .
|
|
202
|
+
*
|
|
203
|
+
*/
|
|
204
|
+
isMaxCareHospital: boolean;
|
|
205
|
+
/**
|
|
206
|
+
* Indicates whether the hospital is an external hospital. External hospitals do not generate patient transports, but units may use them as destinations for patients.
|
|
207
|
+
*
|
|
208
|
+
*/
|
|
209
|
+
isExternalHospital: boolean;
|
|
210
|
+
/**
|
|
211
|
+
* 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.
|
|
212
|
+
*
|
|
213
|
+
*/
|
|
214
|
+
isAutomaticPatientTransmission: boolean;
|
|
215
|
+
/**
|
|
216
|
+
* Indicates whether a fire alarm system is present at this POI. The presence of a fire alarm system may generate calls.
|
|
217
|
+
*
|
|
218
|
+
*/
|
|
219
|
+
isWithFireAlarmSystem: boolean;
|
|
220
|
+
/**
|
|
221
|
+
* Indicates whether the object name is shown as the caller number for this POI or a random number is generated. .
|
|
222
|
+
*
|
|
223
|
+
*/
|
|
224
|
+
isNameCallerNumber: boolean;
|
|
225
|
+
coordinates: Coordinates | null;
|
|
226
|
+
houseNumber: string;
|
|
227
|
+
}
|
|
228
|
+
/**
|
|
229
|
+
* Represents a radio group that can be associated with units.
|
|
230
|
+
*
|
|
231
|
+
*/
|
|
232
|
+
export interface BuildRadiogroup {
|
|
233
|
+
/**
|
|
234
|
+
* The callsign of the command center associated with the radio group. Units will use this callsign to talk to the dispatch center.
|
|
235
|
+
*
|
|
236
|
+
*/
|
|
237
|
+
commandcenterCallsign: string;
|
|
238
|
+
/**
|
|
239
|
+
* The name of the radio group.
|
|
240
|
+
*
|
|
241
|
+
*/
|
|
242
|
+
name: string;
|
|
243
|
+
/**
|
|
244
|
+
* Indicates whether the radio group is the "first call" radio group for external units. Only one is allowed per dispatch center.
|
|
245
|
+
*
|
|
246
|
+
*/
|
|
247
|
+
isCommandcenterCallGroup: boolean;
|
|
248
|
+
}
|
|
249
|
+
/**
|
|
250
|
+
* Represents a status page used for displaying unit statuses.
|
|
251
|
+
*
|
|
252
|
+
*/
|
|
253
|
+
export interface BuildStatuspage {
|
|
254
|
+
members: StatuspageMembers[] | null;
|
|
255
|
+
/**
|
|
256
|
+
* The name of the status page.
|
|
257
|
+
*
|
|
258
|
+
*/
|
|
259
|
+
name: string;
|
|
260
|
+
/**
|
|
261
|
+
* The description of the status page.
|
|
262
|
+
*
|
|
263
|
+
*/
|
|
264
|
+
description: string;
|
|
265
|
+
/**
|
|
266
|
+
* The sort number used to determine the order of status pages.
|
|
267
|
+
*
|
|
268
|
+
*/
|
|
269
|
+
sortNumber: number;
|
|
270
|
+
/**
|
|
271
|
+
* The display option of the status page.
|
|
272
|
+
*
|
|
273
|
+
*/
|
|
274
|
+
displayOption: StatuspageDisplayOption;
|
|
275
|
+
/**
|
|
276
|
+
* If true, members in an inactive state will be hidden on the frontend.
|
|
277
|
+
*
|
|
278
|
+
*/
|
|
279
|
+
isInactiveResourcesHidden: boolean;
|
|
280
|
+
}
|
|
281
|
+
/**
|
|
282
|
+
* Represents a unit within the area of a dispatch center.
|
|
283
|
+
*
|
|
284
|
+
*/
|
|
285
|
+
export interface BuildUnit {
|
|
286
|
+
poiId: number | null;
|
|
287
|
+
doctorPickupPoiId: number | null;
|
|
288
|
+
radiogroupId: number | null;
|
|
289
|
+
dutyPeriods: BuildUnitDutyPeriod[] | null;
|
|
290
|
+
/**
|
|
291
|
+
* The category of the unit. By setting a value to , this can be cosmetically overridden.
|
|
292
|
+
*
|
|
293
|
+
*/
|
|
294
|
+
category: UnitCategory;
|
|
295
|
+
/**
|
|
296
|
+
* The overridden category of the unit.
|
|
297
|
+
*
|
|
298
|
+
*/
|
|
299
|
+
categoryOverride: string;
|
|
300
|
+
/**
|
|
301
|
+
* The (long) callsign of the unit.
|
|
302
|
+
*
|
|
303
|
+
*/
|
|
304
|
+
callsign: string;
|
|
305
|
+
/**
|
|
306
|
+
* A short callsign variant of the unit.
|
|
307
|
+
*
|
|
308
|
+
*/
|
|
309
|
+
callsignShort: string;
|
|
310
|
+
/**
|
|
311
|
+
* The callsign displayed on maps if is set to true.
|
|
312
|
+
*
|
|
313
|
+
*/
|
|
314
|
+
callsignGps: string;
|
|
315
|
+
/**
|
|
316
|
+
* The verbal callsign of the unit.
|
|
317
|
+
*
|
|
318
|
+
*/
|
|
319
|
+
callsignVerbal: string;
|
|
320
|
+
/**
|
|
321
|
+
* Indicates whether the unit is a first responder. This property affects suggestions and the unit's behavior on operation sites.
|
|
322
|
+
*
|
|
323
|
+
*/
|
|
324
|
+
isFirstResponder: boolean;
|
|
325
|
+
/**
|
|
326
|
+
* Indicates whether the unit is not a volunteer unit. Dispatch times will affect based on this value.
|
|
327
|
+
*
|
|
328
|
+
*/
|
|
329
|
+
isNotVolunteerUnit: boolean;
|
|
330
|
+
/**
|
|
331
|
+
* 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 .
|
|
332
|
+
*
|
|
333
|
+
*/
|
|
334
|
+
isStartingWithStatus6: boolean;
|
|
335
|
+
/**
|
|
336
|
+
* 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.
|
|
337
|
+
*
|
|
338
|
+
*/
|
|
339
|
+
isEquippedWithGps: boolean;
|
|
340
|
+
/**
|
|
341
|
+
* The external availability percentage of the unit when referenced by another dispatch center. This value determines the unit's potential availability.
|
|
342
|
+
*
|
|
343
|
+
*/
|
|
344
|
+
externalAvailablePercent: number;
|
|
345
|
+
/**
|
|
346
|
+
* The dispatch groups associated with the unit.
|
|
347
|
+
*
|
|
348
|
+
*/
|
|
349
|
+
dispatchGroups: string;
|
|
350
|
+
/**
|
|
351
|
+
* The dispatch option of the unit, determining how the unit is automatically suggested by the system.
|
|
352
|
+
*
|
|
353
|
+
*/
|
|
354
|
+
dispatchOption: UnitDispatchOption;
|
|
355
|
+
/**
|
|
356
|
+
* The doctor option of the unit.
|
|
357
|
+
*
|
|
358
|
+
*
|
|
359
|
+
* @remarks
|
|
360
|
+
* If set to , the doctor is picked up at the specified doctor pickup POI after dispatch.
|
|
361
|
+
*/
|
|
362
|
+
doctorOption: UnitDoctorOption;
|
|
363
|
+
/**
|
|
364
|
+
* Determines the duty options of the unit, including its availability and reaction to dispatch.
|
|
365
|
+
*
|
|
366
|
+
*
|
|
367
|
+
* @remarks
|
|
368
|
+
* If set to , unit duty periods in are required.
|
|
369
|
+
*/
|
|
370
|
+
dutyOptions: UnitDutyOptions;
|
|
371
|
+
/**
|
|
372
|
+
* The list of equipment associated with the unit.
|
|
373
|
+
*
|
|
374
|
+
*/
|
|
375
|
+
equipments: UnitEquipment[] | null;
|
|
376
|
+
}
|
|
377
|
+
/**
|
|
378
|
+
* Represents a duty period for a unit. Duty periods are required if the property is set to .
|
|
379
|
+
*
|
|
380
|
+
*/
|
|
381
|
+
export interface BuildUnitDutyPeriod {
|
|
382
|
+
unitId: number;
|
|
383
|
+
/**
|
|
384
|
+
* Represents the day of the week for the duty period.
|
|
385
|
+
*
|
|
386
|
+
*/
|
|
387
|
+
day: DayOfWeek;
|
|
388
|
+
/**
|
|
389
|
+
* Represents the starting hour of the duty period.
|
|
390
|
+
*
|
|
391
|
+
*/
|
|
392
|
+
hourStart: number;
|
|
393
|
+
/**
|
|
394
|
+
* Represents the starting minute of the duty period.
|
|
395
|
+
*
|
|
396
|
+
*/
|
|
397
|
+
minuteStart: number;
|
|
398
|
+
/**
|
|
399
|
+
* Represents the ending hour of the duty period.
|
|
400
|
+
*
|
|
401
|
+
*/
|
|
402
|
+
hourEnd: number;
|
|
403
|
+
/**
|
|
404
|
+
* Represents the ending minute of the duty period.
|
|
405
|
+
*
|
|
406
|
+
*/
|
|
407
|
+
minuteEnd: number;
|
|
408
|
+
}
|
|
409
|
+
/**
|
|
410
|
+
* Represents a chat message with user details, creation timestamp, and message content.
|
|
411
|
+
*
|
|
412
|
+
*/
|
|
413
|
+
export interface ChatMessage {
|
|
414
|
+
/**
|
|
415
|
+
* Gets or sets the user who sent the message. Is null if system message.
|
|
416
|
+
*
|
|
417
|
+
*/
|
|
418
|
+
fromUser: IUserInformation;
|
|
419
|
+
/**
|
|
420
|
+
* Gets or sets the date and time when the message was created.
|
|
421
|
+
*
|
|
422
|
+
*/
|
|
423
|
+
createdOn: string;
|
|
424
|
+
/**
|
|
425
|
+
* Gets or sets the text content of the message.
|
|
426
|
+
*
|
|
427
|
+
*/
|
|
428
|
+
text: string;
|
|
429
|
+
/**
|
|
430
|
+
* Gets or sets a value indicating whether the sender is a supervisor.
|
|
431
|
+
*
|
|
432
|
+
*/
|
|
433
|
+
fromUserIsSupervisor: boolean;
|
|
434
|
+
}
|
|
435
|
+
/**
|
|
436
|
+
* Represents a dispatch center within the simulation platform, managing a variety of emergency and non-emergency responses. The Commandcenter model encapsulates a wide range of operational details, including operational statistics, configurable settings, and equipment options. It also covers administrative aspects, allowing for robust management and customization of emergency service dispatching. This model serves as a central point for configuring and controlling the functionality and responsiveness of the simulated dispatch operations.
|
|
437
|
+
*
|
|
438
|
+
*/
|
|
439
|
+
export interface Commandcenter {
|
|
440
|
+
addressPackage: AddressPackage;
|
|
441
|
+
customEquipments: CommandcenterCustomEquipment[] | null;
|
|
442
|
+
administrators: IUserInformation[] | null;
|
|
443
|
+
address: Address;
|
|
444
|
+
owner: IUserInformation;
|
|
445
|
+
id: number;
|
|
446
|
+
/**
|
|
447
|
+
* The name of the command center. This field may be null if the name has not been set.
|
|
448
|
+
*
|
|
449
|
+
*/
|
|
450
|
+
name: string;
|
|
451
|
+
/**
|
|
452
|
+
* The category of the command center, which helps classify the center according to its primary function or operational scope.
|
|
453
|
+
*
|
|
454
|
+
*/
|
|
455
|
+
category: CommandcenterCategory;
|
|
456
|
+
/**
|
|
457
|
+
* The identifier for the header image of the command center, used for display purposes in interfaces.
|
|
458
|
+
*
|
|
459
|
+
*/
|
|
460
|
+
headerImageId: string | null;
|
|
461
|
+
/**
|
|
462
|
+
* The date and time when the command center was last modified.
|
|
463
|
+
*
|
|
464
|
+
*/
|
|
465
|
+
changedOn: string | null;
|
|
466
|
+
/**
|
|
467
|
+
* Indicates whether the command center is accessible to the public (read-only).
|
|
468
|
+
*
|
|
469
|
+
*/
|
|
470
|
+
isPublic: boolean;
|
|
471
|
+
/**
|
|
472
|
+
* Indicates if there are configuration problems with the command center. If true, new sessions cannot be initiated.
|
|
473
|
+
*
|
|
474
|
+
*/
|
|
475
|
+
hasErrors: boolean;
|
|
476
|
+
/**
|
|
477
|
+
* Indicates whether the command center is recommended within the system, possibly based on performance or user ratings.
|
|
478
|
+
*
|
|
479
|
+
*/
|
|
480
|
+
isRecommended: boolean;
|
|
481
|
+
/**
|
|
482
|
+
* The average rating of the command center based on user reviews, on a scale from 1 to 5 stars.
|
|
483
|
+
*
|
|
484
|
+
*/
|
|
485
|
+
averageRating: number | null;
|
|
486
|
+
/**
|
|
487
|
+
* The number of active players or users at the command center within the last 30 days, indicating its operational activity.
|
|
488
|
+
*
|
|
489
|
+
*/
|
|
490
|
+
activePlayers: number;
|
|
491
|
+
/**
|
|
492
|
+
* The date and time when the command center was created.
|
|
493
|
+
*
|
|
494
|
+
*/
|
|
495
|
+
createdOn: string;
|
|
496
|
+
/**
|
|
497
|
+
* Indicates whether the command center coordinates normal patient transport services.
|
|
498
|
+
*
|
|
499
|
+
*/
|
|
500
|
+
isDispatchingPatientTransports: boolean;
|
|
501
|
+
/**
|
|
502
|
+
* Indicates whether the command center coordinates urgent ambulance services, typically for emergency medical response.
|
|
503
|
+
*
|
|
504
|
+
*/
|
|
505
|
+
isDispatchingUrgentAmbulance: boolean;
|
|
506
|
+
/**
|
|
507
|
+
* Indicates whether the command center coordinates fire and rescue operations, addressing both fire-related emergencies and other rescue missions.
|
|
508
|
+
*
|
|
509
|
+
*/
|
|
510
|
+
isDispatchingFireAndRescue: boolean;
|
|
511
|
+
/**
|
|
512
|
+
* The maximum number of players allowed in a single session within the command center. This limit ensures that the system can manage user loads effectively without overloading resources.
|
|
513
|
+
*
|
|
514
|
+
*/
|
|
515
|
+
maxPlayers: number;
|
|
516
|
+
/**
|
|
517
|
+
* An initial value used to calculate the number of operations per year. This property does not influence the actual number of emergencies created but helps in setting up operational expectations.
|
|
518
|
+
*
|
|
519
|
+
*/
|
|
520
|
+
operationsPerYear: number;
|
|
521
|
+
/**
|
|
522
|
+
* The standard office phone number of the dispatch center, used for non-emergency calls. This number provides a way for the public to contact the dispatch center for general inquiries.
|
|
523
|
+
*
|
|
524
|
+
*/
|
|
525
|
+
callNumberOffice: string;
|
|
526
|
+
/**
|
|
527
|
+
* The emergency phone number for the dispatch center, which is typically 911 in North America or 112 in Europe. This number is used for emergency calls requiring immediate response.
|
|
528
|
+
*
|
|
529
|
+
*/
|
|
530
|
+
callNumberEmergency: string;
|
|
531
|
+
/**
|
|
532
|
+
* The specific phone number for arranging patient transports, such as 19222 in Germany. This number is designated for services that are urgent but not life-threatening.
|
|
533
|
+
*
|
|
534
|
+
*/
|
|
535
|
+
callNumberPatientTransport: string;
|
|
536
|
+
/**
|
|
537
|
+
* The standard greeting or statement given by a call taker when answering a regular office call at the dispatch center.
|
|
538
|
+
*
|
|
539
|
+
*/
|
|
540
|
+
callTextOffice: string;
|
|
541
|
+
/**
|
|
542
|
+
* The scripted emergency greeting or statement used by call takers when they answer an emergency call, e.g., "911, what's your emergency?"
|
|
543
|
+
*
|
|
544
|
+
*/
|
|
545
|
+
callTextEmergency: string;
|
|
546
|
+
/**
|
|
547
|
+
* The standard greeting or statement used when accepting calls for patient transport.
|
|
548
|
+
*
|
|
549
|
+
*/
|
|
550
|
+
callTextPatientTransport: string;
|
|
551
|
+
/**
|
|
552
|
+
* The maximum time in seconds it takes for a non-volunteer unit to depart from a department after dispatch.
|
|
553
|
+
*
|
|
554
|
+
*/
|
|
555
|
+
responseTimeNonVolunteerMax: number;
|
|
556
|
+
/**
|
|
557
|
+
* The minimum time in seconds it takes for a non-volunteer unit to be dispatched and leave the department.
|
|
558
|
+
*
|
|
559
|
+
*/
|
|
560
|
+
responseTimeNonVolunteerMin: number;
|
|
561
|
+
/**
|
|
562
|
+
* The maximum time in seconds it takes for a volunteer unit to depart from a station after being dispatched.
|
|
563
|
+
*
|
|
564
|
+
*/
|
|
565
|
+
responseTimeVolunteerMax: number;
|
|
566
|
+
/**
|
|
567
|
+
* The minimum time in seconds it takes for a volunteer unit to be dispatched and leave the station.
|
|
568
|
+
*
|
|
569
|
+
*/
|
|
570
|
+
responseTimeVolunteerMin: number;
|
|
571
|
+
/**
|
|
572
|
+
* Percentage of patient transports that result in hospitalization.
|
|
573
|
+
*
|
|
574
|
+
*
|
|
575
|
+
* @remarks
|
|
576
|
+
* Must total 100% with the other values:
|
|
577
|
+
*/
|
|
578
|
+
patientHospitalizationPercent: number;
|
|
579
|
+
/**
|
|
580
|
+
* Percentage of patient transports that involve discharging patients from the hospital.
|
|
581
|
+
*
|
|
582
|
+
*
|
|
583
|
+
* @remarks
|
|
584
|
+
* Must total 100% with the other values:
|
|
585
|
+
*/
|
|
586
|
+
patientHospitalDischargePercent: number;
|
|
587
|
+
/**
|
|
588
|
+
* Percentage of patient transports that are transfers from one hospital to another.
|
|
589
|
+
*
|
|
590
|
+
*
|
|
591
|
+
* @remarks
|
|
592
|
+
* Must total 100% with the other values:
|
|
593
|
+
*/
|
|
594
|
+
patientHospitalTransferPercent: number;
|
|
595
|
+
/**
|
|
596
|
+
* Percentage of patient transports that are for ambulatory services, not requiring hospitalization.
|
|
597
|
+
*
|
|
598
|
+
*
|
|
599
|
+
* @remarks
|
|
600
|
+
* Must total 100% with the other values:
|
|
601
|
+
*/
|
|
602
|
+
patientHospitalAmbulantPercent: number;
|
|
603
|
+
/**
|
|
604
|
+
* Percentage indicating how often patient transports are needed immediately as opposed to being scheduled.
|
|
605
|
+
*
|
|
606
|
+
*/
|
|
607
|
+
patientPickupImmediatelyPercent: number;
|
|
608
|
+
/**
|
|
609
|
+
* For hospitalizations, the percentage of transports originating from a home address versus a point of interest like a doctor's office or nursing home.
|
|
610
|
+
*
|
|
611
|
+
*/
|
|
612
|
+
patientHospitalizationFromHomePercent: number;
|
|
613
|
+
/**
|
|
614
|
+
* For discharges, the percentage of patient transports to nursing homes as opposed to their own homes.
|
|
615
|
+
*
|
|
616
|
+
*/
|
|
617
|
+
patientHospitalDischargeToNursingHomePercent: number;
|
|
618
|
+
/**
|
|
619
|
+
* Reduction percentage in emergency medical services operations on Saturdays from 0 (no transports) and 100 (as normal).
|
|
620
|
+
*
|
|
621
|
+
*/
|
|
622
|
+
reduceAmbulanceSaturdayPercent: number;
|
|
623
|
+
/**
|
|
624
|
+
* Reduction percentage in emergency medical services operations on Sundays from 0 (no transports) and 100 (as normal).
|
|
625
|
+
*
|
|
626
|
+
*/
|
|
627
|
+
reduceAmbulanceSundayPercent: number;
|
|
628
|
+
/**
|
|
629
|
+
* Reduction percentage for patient transports on Saturdays from 0 (no transports) and 100 (as normal).
|
|
630
|
+
*
|
|
631
|
+
*/
|
|
632
|
+
reducePatientSaturdayPercent: number;
|
|
633
|
+
/**
|
|
634
|
+
* Reduction percentage for patient transports on Sundays from 0 (no transports) and 100 (as normal).
|
|
635
|
+
*
|
|
636
|
+
*/
|
|
637
|
+
reducePatientSundayPercent: number;
|
|
638
|
+
/**
|
|
639
|
+
* Reduction percentage for intensive care unit transports on Saturdays from 0 (no transports) and 100 (as normal).
|
|
640
|
+
*
|
|
641
|
+
*/
|
|
642
|
+
reduceIcuTransferSaturdayPercent: number;
|
|
643
|
+
/**
|
|
644
|
+
* Reduction percentage for intensive care unit transports on Sundays from 0 (no transports) and 100 (as normal).
|
|
645
|
+
*
|
|
646
|
+
*/
|
|
647
|
+
reduceIcuTransferSundayPercent: number;
|
|
648
|
+
/**
|
|
649
|
+
* Defines the number of keywords that can be associated with an operation, ranging from 1 (default) to 6 (maximum). This impacts how operations are classified and searched within the system.
|
|
650
|
+
*
|
|
651
|
+
*/
|
|
652
|
+
keywordsPerOperation: number;
|
|
653
|
+
/**
|
|
654
|
+
* Defines a custom query format for geocoding searches, allowing modification of how addresses are queried for coordinate determination. This setting should be altered only if default geocoding results are consistently inaccurate, as incorrect configurations can lead to significant errors in location-based responses. The format supports several placeholders: {houseNumber}, {street}, {cityName}, {districtName}, {stateName}, {districtZip}, and {communeName}. Each placeholder corresponds to properties within the , , , , and models, which define various levels of geographical data. Adjusting this format impacts how the system interprets and searches for address data, directly affecting the accuracy of operations that rely on precise location information.
|
|
655
|
+
*
|
|
656
|
+
*
|
|
657
|
+
* @remarks
|
|
658
|
+
*
|
|
659
|
+
*/
|
|
660
|
+
customGeocodingSearchFormat: string;
|
|
661
|
+
/**
|
|
662
|
+
* The identifier for a discussion topic associated with the command center on the forums.sim-dispatcher.com platform.
|
|
663
|
+
*
|
|
664
|
+
*/
|
|
665
|
+
discourseTopicId: number | null;
|
|
666
|
+
/**
|
|
667
|
+
* Adjustment percentage for the speed of cars under normal conditions, used to simulate varying response times based on vehicle type and urgency from 50 (fast) and 200 (slow). Default 100 (%).
|
|
668
|
+
*
|
|
669
|
+
*/
|
|
670
|
+
unitSpeedCarPercent: number;
|
|
671
|
+
/**
|
|
672
|
+
* Adjustment percentage for the speed of trucks under normal conditions from 50 (fast) and 200 (slow). Default 100 (%).
|
|
673
|
+
*
|
|
674
|
+
*/
|
|
675
|
+
unitSpeedTruckPercent: number;
|
|
676
|
+
/**
|
|
677
|
+
* Adjustment percentage for the speed of cars when a siren is used, simulating faster travel during emergencies from 50 (fast) and 200 (slow). Default 100 (%).
|
|
678
|
+
*
|
|
679
|
+
*/
|
|
680
|
+
unitSpeedCarSirenPercent: number;
|
|
681
|
+
/**
|
|
682
|
+
* Adjustment percentage for the speed of trucks when a siren is used from 50 (fast) and 200 (slow). Default 100 (%).
|
|
683
|
+
*
|
|
684
|
+
*/
|
|
685
|
+
unitSpeedTruckSirenPercent: number;
|
|
686
|
+
/**
|
|
687
|
+
* The classification of the command center based on an automatic scoring system ranging from A (best) to F (not rated).
|
|
688
|
+
*
|
|
689
|
+
*/
|
|
690
|
+
classification: CommandcenterClassification;
|
|
691
|
+
/**
|
|
692
|
+
* A list of configurable options that can be set per command center. These options allow for the customization of operational settings,
|
|
693
|
+
*
|
|
694
|
+
*/
|
|
695
|
+
options: CommandcenterOption[] | null;
|
|
696
|
+
}
|
|
697
|
+
/**
|
|
698
|
+
* 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.
|
|
699
|
+
*
|
|
700
|
+
*/
|
|
701
|
+
export interface CommandcenterCustomEquipment {
|
|
702
|
+
/**
|
|
703
|
+
* Gets the identifier of the entity.
|
|
704
|
+
*
|
|
705
|
+
*/
|
|
706
|
+
id: number;
|
|
707
|
+
/**
|
|
708
|
+
* Gets or sets the identifier of the associated dispatch center.
|
|
709
|
+
*
|
|
710
|
+
*/
|
|
711
|
+
commandcenterId: number;
|
|
712
|
+
/**
|
|
713
|
+
* The slot number used for this equipment, ranging from 1 to 20. Each number is unique within the command center.
|
|
714
|
+
*
|
|
715
|
+
*/
|
|
716
|
+
number: number;
|
|
717
|
+
/**
|
|
718
|
+
* The display name of the equipment.
|
|
719
|
+
*
|
|
720
|
+
*/
|
|
721
|
+
text: string;
|
|
722
|
+
}
|
|
723
|
+
export interface CommandcenterInformation {
|
|
724
|
+
id: number;
|
|
725
|
+
/**
|
|
726
|
+
* The name of the command center. This field may be null if the name has not been set.
|
|
727
|
+
*
|
|
728
|
+
*/
|
|
729
|
+
name: string;
|
|
730
|
+
/**
|
|
731
|
+
* The category of the command center, which helps classify the center according to its primary function or operational scope.
|
|
732
|
+
*
|
|
733
|
+
*/
|
|
734
|
+
category: CommandcenterCategory;
|
|
735
|
+
/**
|
|
736
|
+
* The identifier for the header image of the command center, used for display purposes in interfaces.
|
|
737
|
+
*
|
|
738
|
+
*/
|
|
739
|
+
headerImageId: string | null;
|
|
740
|
+
/**
|
|
741
|
+
* The date and time when the command center was last modified.
|
|
742
|
+
*
|
|
743
|
+
*/
|
|
744
|
+
changedOn: string | null;
|
|
745
|
+
}
|
|
746
|
+
/**
|
|
747
|
+
* Represents a base data transfer object (DTO) for lookup entities.
|
|
748
|
+
*
|
|
749
|
+
*/
|
|
750
|
+
export interface AddressLookupDto {
|
|
751
|
+
id: number | null;
|
|
752
|
+
street: string;
|
|
753
|
+
districtId: number | null;
|
|
754
|
+
districtName: string;
|
|
755
|
+
districtZip: string;
|
|
756
|
+
cityName: string;
|
|
757
|
+
communeName: string;
|
|
758
|
+
stateName: string;
|
|
759
|
+
/**
|
|
760
|
+
* Gets or sets the cache version associated with the lookup entity.
|
|
761
|
+
*
|
|
762
|
+
*/
|
|
763
|
+
cacheVersion: number;
|
|
764
|
+
}
|
|
765
|
+
/**
|
|
766
|
+
* Represents a base data transfer object (DTO) for lookup entities.
|
|
767
|
+
*
|
|
768
|
+
*/
|
|
769
|
+
export interface PoiLookupDto {
|
|
770
|
+
id: number | null;
|
|
771
|
+
commandcenterId: number | null;
|
|
772
|
+
name: string;
|
|
773
|
+
category: PoiCategory | null;
|
|
774
|
+
addressId: number | null;
|
|
775
|
+
houseNumber: string;
|
|
776
|
+
street: string;
|
|
777
|
+
district: string;
|
|
778
|
+
city: string;
|
|
779
|
+
zip: string;
|
|
780
|
+
searchTags: string;
|
|
781
|
+
/**
|
|
782
|
+
* Gets or sets the cache version associated with the lookup entity.
|
|
783
|
+
*
|
|
784
|
+
*/
|
|
785
|
+
cacheVersion: number;
|
|
786
|
+
}
|
|
787
|
+
/**
|
|
788
|
+
* Represents the base class for all filters, providing a foundation for defining criteria-based filtering functionality.
|
|
789
|
+
*
|
|
790
|
+
*/
|
|
791
|
+
export interface NotificationFilter {
|
|
792
|
+
/**
|
|
793
|
+
* Gets or sets a collection of to filter notifications based on their category.
|
|
794
|
+
*
|
|
795
|
+
*/
|
|
796
|
+
notificationCategories: NotificationCategory[] | null;
|
|
797
|
+
/**
|
|
798
|
+
* Gets or sets a value indicating whether the filter should prioritize notifications relevant to the current user.
|
|
799
|
+
*
|
|
800
|
+
*/
|
|
801
|
+
isRelevantToMe: boolean | null;
|
|
802
|
+
/**
|
|
803
|
+
* Gets or sets a value indicating whether the filter should include notifications relevant to other users.
|
|
804
|
+
*
|
|
805
|
+
*/
|
|
806
|
+
isRelevantToOthers: boolean | null;
|
|
807
|
+
}
|
|
808
|
+
/**
|
|
809
|
+
* Represents the base class for all filters, providing a foundation for defining criteria-based filtering functionality.
|
|
810
|
+
*
|
|
811
|
+
*/
|
|
812
|
+
export interface OperationFilter {
|
|
813
|
+
/**
|
|
814
|
+
* Gets or sets a collection of to filter operations based on their status.
|
|
815
|
+
*
|
|
816
|
+
*/
|
|
817
|
+
operationStatus: OperationStatus[] | null;
|
|
818
|
+
/**
|
|
819
|
+
* Gets or sets a collection of to filter operations by priority level.
|
|
820
|
+
*
|
|
821
|
+
*/
|
|
822
|
+
operationPriority: OperationPriority[] | null;
|
|
823
|
+
/**
|
|
824
|
+
* Gets or sets the property name by which to order the filtered operations.
|
|
825
|
+
*
|
|
826
|
+
*/
|
|
827
|
+
orderBy: string;
|
|
828
|
+
/**
|
|
829
|
+
* Gets or sets a value indicating whether to sort the filtered operations in ascending order.
|
|
830
|
+
*
|
|
831
|
+
*/
|
|
832
|
+
orderByAscending: boolean;
|
|
833
|
+
}
|
|
834
|
+
/**
|
|
835
|
+
* Represents the base class for all filters, providing a foundation for defining criteria-based filtering functionality.
|
|
836
|
+
*
|
|
837
|
+
*/
|
|
838
|
+
export interface ResourceFilter {
|
|
839
|
+
/**
|
|
840
|
+
* Gets or sets a collection of to filter resources based on equipment types.
|
|
841
|
+
*
|
|
842
|
+
*/
|
|
843
|
+
unitEquipments: UnitEquipment[] | null;
|
|
844
|
+
/**
|
|
845
|
+
* Gets or sets a collection of to filter resources by unit categories.
|
|
846
|
+
*
|
|
847
|
+
*/
|
|
848
|
+
unitCategories: UnitCategory[] | null;
|
|
849
|
+
/**
|
|
850
|
+
* Gets or sets a collection of to filter resources by their current status.
|
|
851
|
+
*
|
|
852
|
+
*/
|
|
853
|
+
unitStatus: UnitStatus[] | null;
|
|
854
|
+
/**
|
|
855
|
+
* Gets or sets a value indicating whether the filter should prioritize first responders.
|
|
856
|
+
*
|
|
857
|
+
*/
|
|
858
|
+
isFirstResponder: boolean | null;
|
|
859
|
+
/**
|
|
860
|
+
* Gets or sets a value indicating whether the filter excludes volunteer units.
|
|
861
|
+
*
|
|
862
|
+
*/
|
|
863
|
+
isNotVolunteer: boolean | null;
|
|
864
|
+
/**
|
|
865
|
+
* Gets or sets a value indicating whether the filter should bind the resource to the current operation.
|
|
866
|
+
*
|
|
867
|
+
*/
|
|
868
|
+
isBindToOperation: boolean | null;
|
|
869
|
+
}
|
|
870
|
+
/**
|
|
871
|
+
* Represents a geocoding result, including the provider, coordinates, and detailed address information such as zip code, street, city, and district.
|
|
872
|
+
*
|
|
873
|
+
*/
|
|
874
|
+
export interface GeocodingResult {
|
|
875
|
+
/**
|
|
876
|
+
* Gets the coordinates associated with the geocoding result.
|
|
877
|
+
*
|
|
878
|
+
*/
|
|
879
|
+
coordinates: Coordinates;
|
|
880
|
+
/**
|
|
881
|
+
* Gets the provider that supplied the geocoding result.
|
|
882
|
+
*
|
|
883
|
+
*/
|
|
884
|
+
provider: GeoProvider;
|
|
885
|
+
/**
|
|
886
|
+
* Gets the hash of the object using associated with the geocoding result.
|
|
887
|
+
*
|
|
888
|
+
*/
|
|
889
|
+
locationHashSha256: string;
|
|
890
|
+
/**
|
|
891
|
+
* Gets the zip code associated with the geocoding result.
|
|
892
|
+
*
|
|
893
|
+
*/
|
|
894
|
+
zip: string;
|
|
895
|
+
/**
|
|
896
|
+
* Gets the street address associated with the geocoding result.
|
|
897
|
+
*
|
|
898
|
+
*/
|
|
899
|
+
street: string;
|
|
900
|
+
/**
|
|
901
|
+
* Gets the house number associated with the geocoding result.
|
|
902
|
+
*
|
|
903
|
+
*/
|
|
904
|
+
houseNumber: string;
|
|
905
|
+
/**
|
|
906
|
+
* Gets the city associated with the geocoding result.
|
|
907
|
+
*
|
|
908
|
+
*/
|
|
909
|
+
city: string;
|
|
910
|
+
/**
|
|
911
|
+
* Gets the district associated with the geocoding result.
|
|
912
|
+
*
|
|
913
|
+
*/
|
|
914
|
+
district: string;
|
|
915
|
+
/**
|
|
916
|
+
* Gets the commune associated with the geocoding result.
|
|
917
|
+
*
|
|
918
|
+
*/
|
|
919
|
+
commune: string;
|
|
920
|
+
}
|
|
921
|
+
/**
|
|
922
|
+
* 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.
|
|
923
|
+
*
|
|
924
|
+
*/
|
|
925
|
+
export interface Keyword {
|
|
926
|
+
requiredEquipment: KeywordEquipment[] | null;
|
|
927
|
+
tasks: KeywordTask[] | null;
|
|
928
|
+
/**
|
|
929
|
+
* Gets the identifier of the entity.
|
|
930
|
+
*
|
|
931
|
+
*/
|
|
932
|
+
id: number;
|
|
933
|
+
/**
|
|
934
|
+
* Gets or sets the identifier of the associated dispatch center.
|
|
935
|
+
*
|
|
936
|
+
*/
|
|
937
|
+
commandcenterId: number;
|
|
938
|
+
/**
|
|
939
|
+
* The name of the keyword used for search and identification purposes.
|
|
940
|
+
*
|
|
941
|
+
*/
|
|
942
|
+
name: string;
|
|
943
|
+
/**
|
|
944
|
+
* Indicates if the emergency is urgent, which may prompt units to use sirens.
|
|
945
|
+
*
|
|
946
|
+
*/
|
|
947
|
+
isUrgent: boolean;
|
|
948
|
+
/**
|
|
949
|
+
* Indicates if the keyword is used for auto-assigning regular ambulance transport operations where the patient can sit (mapping property).
|
|
950
|
+
*
|
|
951
|
+
*/
|
|
952
|
+
isUsedForAmbulanceRegularSitting: boolean;
|
|
953
|
+
/**
|
|
954
|
+
* Indicates if the keyword is used for auto-assigning regular ambulance transport operations where the patient can only lay (mapping property).
|
|
955
|
+
*
|
|
956
|
+
*/
|
|
957
|
+
isUsedForAmbulanceRegularLying: boolean;
|
|
958
|
+
/**
|
|
959
|
+
* Indicates if the keyword is used for a standby position.
|
|
960
|
+
*
|
|
961
|
+
*/
|
|
962
|
+
isUsedForStandbyPosition: boolean;
|
|
963
|
+
/**
|
|
964
|
+
* 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).
|
|
965
|
+
*
|
|
966
|
+
*/
|
|
967
|
+
isUsedForFireAlarmSystem: boolean;
|
|
968
|
+
/**
|
|
969
|
+
* Specifies whether police assistance is required for the emergency situation.
|
|
970
|
+
*
|
|
971
|
+
*/
|
|
972
|
+
isPoliceRequired: boolean;
|
|
973
|
+
/**
|
|
974
|
+
* Specifies the number of medical units with a doctor to be suggested (can be air or ground units).
|
|
975
|
+
*
|
|
976
|
+
*/
|
|
977
|
+
dispatchAmountDoctor: number;
|
|
978
|
+
/**
|
|
979
|
+
* Specifies the number of ground medical units with a doctor to be suggested (excluding air units).
|
|
980
|
+
*
|
|
981
|
+
*/
|
|
982
|
+
dispatchAmountDoctorGround: number;
|
|
983
|
+
/**
|
|
984
|
+
* Specifies the number of urgent ambulance units to be suggested.
|
|
985
|
+
*
|
|
986
|
+
*/
|
|
987
|
+
dispatchAmountAmbulanceUrgent: number;
|
|
988
|
+
/**
|
|
989
|
+
* Specifies the number of ambulance units with a doctor to be suggested.
|
|
990
|
+
*
|
|
991
|
+
*/
|
|
992
|
+
dispatchAmountAmbulanceDoctor: number;
|
|
993
|
+
/**
|
|
994
|
+
* Specifies the number of regular transport ambulance units to be suggested for non-urgent patient transport.
|
|
995
|
+
*
|
|
996
|
+
*/
|
|
997
|
+
dispatchAmountAmbulanceRegular: number;
|
|
998
|
+
/**
|
|
999
|
+
* Specifies the number of helicopters to be suggested.
|
|
1000
|
+
*
|
|
1001
|
+
*/
|
|
1002
|
+
dispatchAmountHelicopter: number;
|
|
1003
|
+
/**
|
|
1004
|
+
* Specifies the number of ICU-equipped ambulance units to be suggested.
|
|
1005
|
+
*
|
|
1006
|
+
*/
|
|
1007
|
+
dispatchAmountAmbulanceICU: number;
|
|
1008
|
+
/**
|
|
1009
|
+
* Specifies the number of ICU-equipped helicopters to be suggested.
|
|
1010
|
+
*
|
|
1011
|
+
*/
|
|
1012
|
+
dispatchAmountHelicopterICU: number;
|
|
1013
|
+
/**
|
|
1014
|
+
* Groups of dispatch units suggested for the keyword, used to refine the suggestions based on unit capabilities.
|
|
1015
|
+
*
|
|
1016
|
+
*/
|
|
1017
|
+
dispatchGroups: string;
|
|
1018
|
+
}
|
|
1019
|
+
/**
|
|
1020
|
+
* 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.
|
|
1021
|
+
*
|
|
1022
|
+
*/
|
|
1023
|
+
export interface KeywordEquipment {
|
|
1024
|
+
id: number;
|
|
1025
|
+
keywordId: number;
|
|
1026
|
+
/**
|
|
1027
|
+
* The amount of this equipment type required for the associated emergency scenario.
|
|
1028
|
+
*
|
|
1029
|
+
*/
|
|
1030
|
+
amount: number;
|
|
1031
|
+
/**
|
|
1032
|
+
* The type of equipment required, represented as an enum of UnitEquipment.
|
|
1033
|
+
*
|
|
1034
|
+
*/
|
|
1035
|
+
equipment: UnitEquipment;
|
|
1036
|
+
}
|
|
1037
|
+
/**
|
|
1038
|
+
* Represents a task associated with a keyword, detailing specific actions that may need to be performed during an emergency response. This record is used to manage and track mandatory or optional tasks for different scenarios.
|
|
1039
|
+
*
|
|
1040
|
+
*/
|
|
1041
|
+
export interface KeywordTask {
|
|
1042
|
+
id: number;
|
|
1043
|
+
keywordId: number;
|
|
1044
|
+
/**
|
|
1045
|
+
* Indicates whether this task is mandatory for the associated keyword scenario.
|
|
1046
|
+
*
|
|
1047
|
+
*/
|
|
1048
|
+
isRequired: boolean;
|
|
1049
|
+
/**
|
|
1050
|
+
* The description or detail of the task to be performed.
|
|
1051
|
+
*
|
|
1052
|
+
*/
|
|
1053
|
+
text: string;
|
|
1054
|
+
}
|
|
1055
|
+
/**
|
|
1056
|
+
* 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.
|
|
1057
|
+
*
|
|
1058
|
+
*/
|
|
1059
|
+
export interface Location {
|
|
1060
|
+
/**
|
|
1061
|
+
* Point of interest associated with the location, if applicable.
|
|
1062
|
+
*
|
|
1063
|
+
*/
|
|
1064
|
+
poi: Poi;
|
|
1065
|
+
searchableBy: string;
|
|
1066
|
+
verbalDestination: string;
|
|
1067
|
+
getPrimaryLine: string;
|
|
1068
|
+
getSecondaryLine: string;
|
|
1069
|
+
getIcon: string;
|
|
1070
|
+
/**
|
|
1071
|
+
* Specifies the names of the properties that should be used in the stable hash calculation.
|
|
1072
|
+
*
|
|
1073
|
+
* @returns A list of property names to be included in the hash.
|
|
1074
|
+
*/
|
|
1075
|
+
hashProperties: string[] | null;
|
|
1076
|
+
/**
|
|
1077
|
+
* Gets a value indicating whether the location has been set through a point of interest (POI) or an address.
|
|
1078
|
+
*
|
|
1079
|
+
*
|
|
1080
|
+
* @remarks
|
|
1081
|
+
* Returns true if the location has been set by a point of interest or an address; otherwise, false.
|
|
1082
|
+
*/
|
|
1083
|
+
isLocationSet: boolean;
|
|
1084
|
+
/**
|
|
1085
|
+
* Gets a value indicating whether the coordinates have been successfully resolved for the location.
|
|
1086
|
+
*
|
|
1087
|
+
*
|
|
1088
|
+
* @remarks
|
|
1089
|
+
* Returns true if the location has been set and coordinates are not null; otherwise, false.
|
|
1090
|
+
*/
|
|
1091
|
+
isCoordinatesResolved: boolean;
|
|
1092
|
+
/**
|
|
1093
|
+
* Primary address details of the location.
|
|
1094
|
+
*
|
|
1095
|
+
*/
|
|
1096
|
+
address: Address;
|
|
1097
|
+
/**
|
|
1098
|
+
* House number at the location, if applicable.
|
|
1099
|
+
*
|
|
1100
|
+
*/
|
|
1101
|
+
houseNumber: string;
|
|
1102
|
+
/**
|
|
1103
|
+
* Geographical coordinates of the location.
|
|
1104
|
+
*
|
|
1105
|
+
*/
|
|
1106
|
+
coordinates: Coordinates | null;
|
|
1107
|
+
/**
|
|
1108
|
+
* Specifies the accuracy of the coordinates from the geocoding process.
|
|
1109
|
+
*
|
|
1110
|
+
*/
|
|
1111
|
+
accuracy: LocationAccuracy;
|
|
1112
|
+
}
|
|
1113
|
+
/**
|
|
1114
|
+
* 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.
|
|
1115
|
+
*
|
|
1116
|
+
*/
|
|
1117
|
+
export interface MissionLoad {
|
|
1118
|
+
/**
|
|
1119
|
+
* Gets the identifier of the entity.
|
|
1120
|
+
*
|
|
1121
|
+
*/
|
|
1122
|
+
id: number;
|
|
1123
|
+
/**
|
|
1124
|
+
* Gets or sets the identifier of the associated dispatch center.
|
|
1125
|
+
*
|
|
1126
|
+
*/
|
|
1127
|
+
commandcenterId: number;
|
|
1128
|
+
/**
|
|
1129
|
+
* The category of mission this load applies to, influencing the type of emergencies simulated.
|
|
1130
|
+
*
|
|
1131
|
+
*/
|
|
1132
|
+
category: MissionCategory;
|
|
1133
|
+
/**
|
|
1134
|
+
* The hour of the day (0-23) this load starts. Represents the start time for generating the specified amount of emergencies.
|
|
1135
|
+
*
|
|
1136
|
+
*/
|
|
1137
|
+
hour: number;
|
|
1138
|
+
/**
|
|
1139
|
+
* The amount of emergencies to be generated during the specified hour until the next defined hour in the schedule. For example, setting Hour to 10 and Amount to 15 means 15 emergencies will be generated starting at 10:00 until the next hour set in another Missionload item.
|
|
1140
|
+
*
|
|
1141
|
+
*/
|
|
1142
|
+
amount: number;
|
|
1143
|
+
}
|
|
1144
|
+
/**
|
|
1145
|
+
* Represents a notification in a dispatch center session.
|
|
1146
|
+
*
|
|
1147
|
+
*/
|
|
1148
|
+
export interface Notification {
|
|
1149
|
+
/**
|
|
1150
|
+
* Gets the unique identifier of the session associated with this entity.
|
|
1151
|
+
*
|
|
1152
|
+
*/
|
|
1153
|
+
sessionId: number;
|
|
1154
|
+
id: string;
|
|
1155
|
+
/**
|
|
1156
|
+
* Gets the date and time when the notification was created.
|
|
1157
|
+
*
|
|
1158
|
+
*/
|
|
1159
|
+
createdOn: string;
|
|
1160
|
+
/**
|
|
1161
|
+
* Gets or sets a value indicating whether the notification requires a resolution.
|
|
1162
|
+
*
|
|
1163
|
+
*/
|
|
1164
|
+
isRequiredToBeSolved: boolean;
|
|
1165
|
+
/**
|
|
1166
|
+
* Gets or sets the agent associated with the notification, may be null if not applicable.
|
|
1167
|
+
*
|
|
1168
|
+
*/
|
|
1169
|
+
agent: IUserInformation;
|
|
1170
|
+
/**
|
|
1171
|
+
* Gets the category of the notification.
|
|
1172
|
+
*
|
|
1173
|
+
*/
|
|
1174
|
+
category: NotificationCategory;
|
|
1175
|
+
/**
|
|
1176
|
+
* Gets or sets the text of the notification.
|
|
1177
|
+
*
|
|
1178
|
+
*/
|
|
1179
|
+
text: string;
|
|
1180
|
+
/**
|
|
1181
|
+
* Gets or sets the identifier of the operation to which the notification is applicable, may be null.
|
|
1182
|
+
*
|
|
1183
|
+
*/
|
|
1184
|
+
applicableOperationId: string | null;
|
|
1185
|
+
/**
|
|
1186
|
+
* Gets or sets the identifier of the unit to which the notification is applicable, may be null.
|
|
1187
|
+
*
|
|
1188
|
+
*/
|
|
1189
|
+
applicableResourceId: string | null;
|
|
1190
|
+
}
|
|
1191
|
+
/**
|
|
1192
|
+
* Represents an operation with various details such as caller information, status, location, and associated resources and tasks.
|
|
1193
|
+
*
|
|
1194
|
+
*/
|
|
1195
|
+
export interface Operation {
|
|
1196
|
+
id: string;
|
|
1197
|
+
keywords: Keyword[] | null;
|
|
1198
|
+
patients: {
|
|
1199
|
+
[key: string]: Patient;
|
|
1200
|
+
};
|
|
1201
|
+
resources: {
|
|
1202
|
+
[key: string]: OperationResource;
|
|
1203
|
+
};
|
|
1204
|
+
documentations: {
|
|
1205
|
+
[key: string]: OperationDocumentation;
|
|
1206
|
+
};
|
|
1207
|
+
tasks: {
|
|
1208
|
+
[key: string]: OperationTask;
|
|
1209
|
+
};
|
|
1210
|
+
events: {
|
|
1211
|
+
[key: string]: OperationEvent;
|
|
1212
|
+
};
|
|
1213
|
+
location: Location;
|
|
1214
|
+
/**
|
|
1215
|
+
* Gets or sets the internal operation number.
|
|
1216
|
+
*
|
|
1217
|
+
*/
|
|
1218
|
+
numberInternal: string;
|
|
1219
|
+
/**
|
|
1220
|
+
* Gets or sets the external operation number.
|
|
1221
|
+
*
|
|
1222
|
+
*/
|
|
1223
|
+
numberExternal: string;
|
|
1224
|
+
/**
|
|
1225
|
+
* Gets or sets the name of the caller.
|
|
1226
|
+
*
|
|
1227
|
+
*/
|
|
1228
|
+
callerName: string;
|
|
1229
|
+
/**
|
|
1230
|
+
* Gets or sets the phone number of the caller.
|
|
1231
|
+
*
|
|
1232
|
+
*/
|
|
1233
|
+
callerNumber: PhoneNumber;
|
|
1234
|
+
/**
|
|
1235
|
+
* Gets or sets the date and time the operation was created.
|
|
1236
|
+
*
|
|
1237
|
+
*/
|
|
1238
|
+
createdOn: string;
|
|
1239
|
+
/**
|
|
1240
|
+
* Gets or sets the date and time the operation was dispatched.
|
|
1241
|
+
*
|
|
1242
|
+
*/
|
|
1243
|
+
dispatchedOn: string | null;
|
|
1244
|
+
/**
|
|
1245
|
+
* Gets or sets the date and time the operation was finished.
|
|
1246
|
+
*
|
|
1247
|
+
*/
|
|
1248
|
+
finishedOn: string | null;
|
|
1249
|
+
/**
|
|
1250
|
+
* Gets or sets the scheduled pick-up date and time for the operation. A reminder notification will be created based on this value.
|
|
1251
|
+
*
|
|
1252
|
+
*/
|
|
1253
|
+
scheduledPickUpOn: string | null;
|
|
1254
|
+
/**
|
|
1255
|
+
* Gets or sets the user information for the creator of the operation.
|
|
1256
|
+
*
|
|
1257
|
+
*/
|
|
1258
|
+
createdBy: IUserInformation;
|
|
1259
|
+
/**
|
|
1260
|
+
* Gets or sets the user information for the dispatcher of the operation.
|
|
1261
|
+
*
|
|
1262
|
+
*/
|
|
1263
|
+
dispatchedBy: IUserInformation;
|
|
1264
|
+
/**
|
|
1265
|
+
* Gets or sets the user information for the person who closed the operation.
|
|
1266
|
+
*
|
|
1267
|
+
*/
|
|
1268
|
+
finishedBy: IUserInformation;
|
|
1269
|
+
/**
|
|
1270
|
+
* Gets or sets internal information about the operation
|
|
1271
|
+
*
|
|
1272
|
+
*/
|
|
1273
|
+
informationInternal: string;
|
|
1274
|
+
/**
|
|
1275
|
+
* Gets or sets external information about the operation.
|
|
1276
|
+
*
|
|
1277
|
+
*/
|
|
1278
|
+
informationExternal: string;
|
|
1279
|
+
/**
|
|
1280
|
+
* Gets or sets the priority of the operation.
|
|
1281
|
+
*
|
|
1282
|
+
*/
|
|
1283
|
+
priority: OperationPriority;
|
|
1284
|
+
/**
|
|
1285
|
+
* Gets or sets the current status of the operation.
|
|
1286
|
+
*
|
|
1287
|
+
*/
|
|
1288
|
+
status: OperationStatus;
|
|
1289
|
+
/**
|
|
1290
|
+
* Gets or sets the duration of the operation.
|
|
1291
|
+
*
|
|
1292
|
+
*/
|
|
1293
|
+
duration: string;
|
|
1294
|
+
}
|
|
1295
|
+
/**
|
|
1296
|
+
* Represents documentation for an operation, including metadata such as the creator, creation date, and textual content.
|
|
1297
|
+
*
|
|
1298
|
+
*/
|
|
1299
|
+
export interface OperationDocumentation {
|
|
1300
|
+
/**
|
|
1301
|
+
* Gets the unique identifier for the entity.
|
|
1302
|
+
*
|
|
1303
|
+
*/
|
|
1304
|
+
id: string;
|
|
1305
|
+
/**
|
|
1306
|
+
* Gets the unique identifier of the operation associated with this entity.
|
|
1307
|
+
*
|
|
1308
|
+
*/
|
|
1309
|
+
operationId: string;
|
|
1310
|
+
/**
|
|
1311
|
+
* Gets or sets the date and time when this documentation was created.
|
|
1312
|
+
*
|
|
1313
|
+
*/
|
|
1314
|
+
createdOn: string;
|
|
1315
|
+
/**
|
|
1316
|
+
* Gets or sets the user information of the individual who created this documentation.
|
|
1317
|
+
*
|
|
1318
|
+
*/
|
|
1319
|
+
createdBy: IUserInformation;
|
|
1320
|
+
/**
|
|
1321
|
+
* Gets or sets the textual content of the documentation.
|
|
1322
|
+
*
|
|
1323
|
+
*/
|
|
1324
|
+
text: string;
|
|
1325
|
+
}
|
|
1326
|
+
/**
|
|
1327
|
+
* Represents an event within an operation, including details such as event category, creation timestamp, and descriptive text.
|
|
1328
|
+
*
|
|
1329
|
+
*/
|
|
1330
|
+
export interface OperationEvent {
|
|
1331
|
+
/**
|
|
1332
|
+
* Gets the unique identifier for the entity.
|
|
1333
|
+
*
|
|
1334
|
+
*/
|
|
1335
|
+
id: string;
|
|
1336
|
+
/**
|
|
1337
|
+
* Gets the unique identifier of the operation associated with this entity.
|
|
1338
|
+
*
|
|
1339
|
+
*/
|
|
1340
|
+
operationId: string;
|
|
1341
|
+
/**
|
|
1342
|
+
* Gets or sets the date and time when this event was created.
|
|
1343
|
+
*
|
|
1344
|
+
*/
|
|
1345
|
+
createdOn: string;
|
|
1346
|
+
/**
|
|
1347
|
+
* Gets or sets the category of the event, represented by the .
|
|
1348
|
+
*
|
|
1349
|
+
*/
|
|
1350
|
+
category: OperationEventCategory;
|
|
1351
|
+
/**
|
|
1352
|
+
* Gets or sets the descriptive text associated with this event.
|
|
1353
|
+
*
|
|
1354
|
+
*/
|
|
1355
|
+
text: string;
|
|
1356
|
+
}
|
|
1357
|
+
export interface OperationTask {
|
|
1358
|
+
/**
|
|
1359
|
+
* Gets or sets the identifier associated with the task.
|
|
1360
|
+
*
|
|
1361
|
+
*/
|
|
1362
|
+
id: string;
|
|
1363
|
+
/**
|
|
1364
|
+
* Gets or sets the session identifier associated with the task.
|
|
1365
|
+
*
|
|
1366
|
+
*/
|
|
1367
|
+
sessionId: number;
|
|
1368
|
+
/**
|
|
1369
|
+
* Gets the unique identifier of the operation associated with this entity.
|
|
1370
|
+
*
|
|
1371
|
+
*/
|
|
1372
|
+
operationId: string;
|
|
1373
|
+
/**
|
|
1374
|
+
* Gets or sets the task template used to create this task.
|
|
1375
|
+
*
|
|
1376
|
+
*/
|
|
1377
|
+
template: ITaskTemplate;
|
|
1378
|
+
/**
|
|
1379
|
+
* Gets or sets notes related to the task.
|
|
1380
|
+
*
|
|
1381
|
+
*/
|
|
1382
|
+
notes: string;
|
|
1383
|
+
/**
|
|
1384
|
+
* Gets or sets the status of the task.
|
|
1385
|
+
*
|
|
1386
|
+
*/
|
|
1387
|
+
status: TaskStatus;
|
|
1388
|
+
/**
|
|
1389
|
+
* Gets or sets the date and time the task was last completed.
|
|
1390
|
+
*
|
|
1391
|
+
*/
|
|
1392
|
+
lastCompletedOn: string | null;
|
|
1393
|
+
/**
|
|
1394
|
+
* Gets or sets information about the user who last completed the task.
|
|
1395
|
+
*
|
|
1396
|
+
*/
|
|
1397
|
+
lastCompletedBy: IUserInformation;
|
|
1398
|
+
}
|
|
1399
|
+
/**
|
|
1400
|
+
* Represents a person with optional first, middle, and last names, gender, and date of birth.
|
|
1401
|
+
*
|
|
1402
|
+
*/
|
|
1403
|
+
export interface Patient {
|
|
1404
|
+
/**
|
|
1405
|
+
* Gets or sets the insurance number of the patient, if available.
|
|
1406
|
+
*
|
|
1407
|
+
*/
|
|
1408
|
+
insuranceNumber: string;
|
|
1409
|
+
/**
|
|
1410
|
+
* Gets or sets the destination location for the patient.
|
|
1411
|
+
*
|
|
1412
|
+
*/
|
|
1413
|
+
destination: Location;
|
|
1414
|
+
/**
|
|
1415
|
+
* Gets the unique identifier for the entity.
|
|
1416
|
+
*
|
|
1417
|
+
*/
|
|
1418
|
+
id: string;
|
|
1419
|
+
/**
|
|
1420
|
+
* Gets the unique identifier of the operation associated with this entity.
|
|
1421
|
+
*
|
|
1422
|
+
*/
|
|
1423
|
+
operationId: string;
|
|
1424
|
+
/**
|
|
1425
|
+
* Gets or sets the first name of the person.
|
|
1426
|
+
*
|
|
1427
|
+
*/
|
|
1428
|
+
firstName: string;
|
|
1429
|
+
/**
|
|
1430
|
+
* Gets or sets the middle name of the person.
|
|
1431
|
+
*
|
|
1432
|
+
*/
|
|
1433
|
+
middleName: string;
|
|
1434
|
+
/**
|
|
1435
|
+
* Gets or sets the last name of the person.
|
|
1436
|
+
*
|
|
1437
|
+
*/
|
|
1438
|
+
lastName: string;
|
|
1439
|
+
/**
|
|
1440
|
+
* Gets or sets the gender of the person.
|
|
1441
|
+
*
|
|
1442
|
+
*/
|
|
1443
|
+
gender: Gender | null;
|
|
1444
|
+
/**
|
|
1445
|
+
* Gets or sets the date of birth of the person.
|
|
1446
|
+
*
|
|
1447
|
+
*/
|
|
1448
|
+
dateOfBirth: string | null;
|
|
1449
|
+
}
|
|
1450
|
+
/**
|
|
1451
|
+
* Represents a phone number with associated country and area code information.
|
|
1452
|
+
*
|
|
1453
|
+
*/
|
|
1454
|
+
export interface PhoneNumber {
|
|
1455
|
+
/**
|
|
1456
|
+
* Gets the country associated with the phone number.
|
|
1457
|
+
*
|
|
1458
|
+
*/
|
|
1459
|
+
country: Country;
|
|
1460
|
+
/**
|
|
1461
|
+
* Gets the country calling code derived from the enumeration.
|
|
1462
|
+
*
|
|
1463
|
+
*/
|
|
1464
|
+
countryCode: string;
|
|
1465
|
+
/**
|
|
1466
|
+
* Gets the area code for specific regions within the country.
|
|
1467
|
+
*
|
|
1468
|
+
*/
|
|
1469
|
+
areaCode: string;
|
|
1470
|
+
/**
|
|
1471
|
+
* Gets the local phone number.
|
|
1472
|
+
*
|
|
1473
|
+
*/
|
|
1474
|
+
number: string;
|
|
1475
|
+
}
|
|
1476
|
+
/**
|
|
1477
|
+
* Represents a point of interest (POI) such as hospitals, fire stations, or other locations.
|
|
1478
|
+
*
|
|
1479
|
+
*/
|
|
1480
|
+
export interface Poi {
|
|
1481
|
+
address: Address;
|
|
1482
|
+
/**
|
|
1483
|
+
* Gets the identifier of the entity.
|
|
1484
|
+
*
|
|
1485
|
+
*/
|
|
1486
|
+
id: number;
|
|
1487
|
+
/**
|
|
1488
|
+
* Gets or sets the identifier of the associated dispatch center.
|
|
1489
|
+
*
|
|
1490
|
+
*/
|
|
1491
|
+
commandcenterId: number;
|
|
1492
|
+
/**
|
|
1493
|
+
* The name of the point of interest. Is unique inside a dispatch center.
|
|
1494
|
+
*
|
|
1495
|
+
*/
|
|
1496
|
+
name: string;
|
|
1497
|
+
/**
|
|
1498
|
+
* The category of the point of interest.
|
|
1499
|
+
*
|
|
1500
|
+
*/
|
|
1501
|
+
category: PoiCategory;
|
|
1502
|
+
/**
|
|
1503
|
+
* Tags associated with the point of interest for search purposes. Separate multiple tags with a comma.
|
|
1504
|
+
*
|
|
1505
|
+
*/
|
|
1506
|
+
searchTags: string;
|
|
1507
|
+
/**
|
|
1508
|
+
* The verbal name of the point of interest. May be used on radio or calls.
|
|
1509
|
+
*
|
|
1510
|
+
*/
|
|
1511
|
+
verbalName: string;
|
|
1512
|
+
/**
|
|
1513
|
+
* The German genus of the point of interest (der, die, das).
|
|
1514
|
+
*
|
|
1515
|
+
*/
|
|
1516
|
+
germanGenus: string;
|
|
1517
|
+
/**
|
|
1518
|
+
* The hospital departments associated with the hospital POI if is hospital. Has no effect if is true.
|
|
1519
|
+
*
|
|
1520
|
+
*/
|
|
1521
|
+
hospitalDepartments: PoiHospitalDepartment[] | null;
|
|
1522
|
+
/**
|
|
1523
|
+
* Indicates whether units should be dispatched together when assigned to this POI. Should be true if non-volunteer department.
|
|
1524
|
+
*
|
|
1525
|
+
*/
|
|
1526
|
+
isUnitsMoveOutTogether: boolean;
|
|
1527
|
+
/**
|
|
1528
|
+
* 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.
|
|
1529
|
+
*
|
|
1530
|
+
*/
|
|
1531
|
+
bonusMalus: number;
|
|
1532
|
+
/**
|
|
1533
|
+
* Indicates whether the hospital is a maximum care hospital and has all .
|
|
1534
|
+
*
|
|
1535
|
+
*/
|
|
1536
|
+
isMaxCareHospital: boolean;
|
|
1537
|
+
/**
|
|
1538
|
+
* Indicates whether the hospital is an external hospital. External hospitals do not generate patient transports, but units may use them as destinations for patients.
|
|
1539
|
+
*
|
|
1540
|
+
*/
|
|
1541
|
+
isExternalHospital: boolean;
|
|
1542
|
+
/**
|
|
1543
|
+
* 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.
|
|
1544
|
+
*
|
|
1545
|
+
*/
|
|
1546
|
+
isAutomaticPatientTransmission: boolean;
|
|
1547
|
+
/**
|
|
1548
|
+
* Indicates whether a fire alarm system is present at this POI. The presence of a fire alarm system may generate calls.
|
|
1549
|
+
*
|
|
1550
|
+
*/
|
|
1551
|
+
isWithFireAlarmSystem: boolean;
|
|
1552
|
+
/**
|
|
1553
|
+
* Indicates whether the object name is shown as the caller number for this POI or a random number is generated. .
|
|
1554
|
+
*
|
|
1555
|
+
*/
|
|
1556
|
+
isNameCallerNumber: boolean;
|
|
1557
|
+
coordinates: Coordinates | null;
|
|
1558
|
+
houseNumber: string;
|
|
1559
|
+
}
|
|
1560
|
+
export interface Preselection {
|
|
1561
|
+
/**
|
|
1562
|
+
* Gets or sets the estimated time required for the resource to reach the target.
|
|
1563
|
+
*
|
|
1564
|
+
*/
|
|
1565
|
+
routeTimeToTarget: string | null;
|
|
1566
|
+
/**
|
|
1567
|
+
* Gets or sets the estimated distance in meters for the resource to reach the target.
|
|
1568
|
+
*
|
|
1569
|
+
*/
|
|
1570
|
+
metersToTarget: number | null;
|
|
1571
|
+
sessionResource: SessionResource;
|
|
1572
|
+
/**
|
|
1573
|
+
* Gets the unique identifier for the entity.
|
|
1574
|
+
*
|
|
1575
|
+
*/
|
|
1576
|
+
id: string;
|
|
1577
|
+
/**
|
|
1578
|
+
* Gets the unique identifier of the operation associated with this entity.
|
|
1579
|
+
*
|
|
1580
|
+
*/
|
|
1581
|
+
operationId: string;
|
|
1582
|
+
}
|
|
1583
|
+
/**
|
|
1584
|
+
* Represents a radio group that can be associated with units.
|
|
1585
|
+
*
|
|
1586
|
+
*/
|
|
1587
|
+
export interface Radiogroup {
|
|
1588
|
+
/**
|
|
1589
|
+
* Gets the identifier of the entity.
|
|
1590
|
+
*
|
|
1591
|
+
*/
|
|
1592
|
+
id: number;
|
|
1593
|
+
/**
|
|
1594
|
+
* Gets or sets the identifier of the associated dispatch center.
|
|
1595
|
+
*
|
|
1596
|
+
*/
|
|
1597
|
+
commandcenterId: number;
|
|
1598
|
+
/**
|
|
1599
|
+
* The callsign of the command center associated with the radio group. Units will use this callsign to talk to the dispatch center.
|
|
1600
|
+
*
|
|
1601
|
+
*/
|
|
1602
|
+
commandcenterCallsign: string;
|
|
1603
|
+
/**
|
|
1604
|
+
* The name of the radio group.
|
|
1605
|
+
*
|
|
1606
|
+
*/
|
|
1607
|
+
name: string;
|
|
1608
|
+
/**
|
|
1609
|
+
* Indicates whether the radio group is the "first call" radio group for external units. Only one is allowed per dispatch center.
|
|
1610
|
+
*
|
|
1611
|
+
*/
|
|
1612
|
+
isCommandcenterCallGroup: boolean;
|
|
1613
|
+
}
|
|
1614
|
+
export interface OperationResource {
|
|
1615
|
+
/**
|
|
1616
|
+
* Gets or sets the information of the user who dispatched the resource.
|
|
1617
|
+
*
|
|
1618
|
+
*/
|
|
1619
|
+
dispatchedBy: IUserInformation;
|
|
1620
|
+
/**
|
|
1621
|
+
* Gets or sets the date and time the resource was dispatched.
|
|
1622
|
+
*
|
|
1623
|
+
*/
|
|
1624
|
+
dispatchOn: string;
|
|
1625
|
+
/**
|
|
1626
|
+
* Gets or sets the date and time the resource dispatch was canceled.
|
|
1627
|
+
*
|
|
1628
|
+
*/
|
|
1629
|
+
cancelOn: string | null;
|
|
1630
|
+
/**
|
|
1631
|
+
* Gets or sets the date and time the resource completed its task.
|
|
1632
|
+
*
|
|
1633
|
+
*/
|
|
1634
|
+
completedOn: string | null;
|
|
1635
|
+
/**
|
|
1636
|
+
* Gets or sets the timestamps of various statuses of the resource.
|
|
1637
|
+
*
|
|
1638
|
+
*/
|
|
1639
|
+
statusTimestamps: {
|
|
1640
|
+
[key: number]: string;
|
|
1641
|
+
};
|
|
1642
|
+
sessionResource: SessionResource;
|
|
1643
|
+
/**
|
|
1644
|
+
* Gets the unique identifier for the entity.
|
|
1645
|
+
*
|
|
1646
|
+
*/
|
|
1647
|
+
id: string;
|
|
1648
|
+
/**
|
|
1649
|
+
* Gets the unique identifier of the operation associated with this entity.
|
|
1650
|
+
*
|
|
1651
|
+
*/
|
|
1652
|
+
operationId: string;
|
|
1653
|
+
}
|
|
1654
|
+
export interface SessionResource {
|
|
1655
|
+
/**
|
|
1656
|
+
* Gets or sets the static position of the unit, representing its station location when on duty without dispatch.
|
|
1657
|
+
*
|
|
1658
|
+
*/
|
|
1659
|
+
staticPosition: Coordinates;
|
|
1660
|
+
/**
|
|
1661
|
+
* Gets or sets the dynamic GPS position of the unit, if available.
|
|
1662
|
+
*
|
|
1663
|
+
*/
|
|
1664
|
+
dynamicPosition: Coordinates | null;
|
|
1665
|
+
/**
|
|
1666
|
+
* Gets or sets the timestamp indicating when the unit was put into preselection for an operation.
|
|
1667
|
+
*
|
|
1668
|
+
*/
|
|
1669
|
+
suggestionOn: string | null;
|
|
1670
|
+
/**
|
|
1671
|
+
* Gets or sets the count of times the unit has been dispatched, used for load balancing between units.
|
|
1672
|
+
*
|
|
1673
|
+
*/
|
|
1674
|
+
dispatchCounter: number;
|
|
1675
|
+
/**
|
|
1676
|
+
* Gets or sets the identifier of the current operation if the unit is dispatched.
|
|
1677
|
+
*
|
|
1678
|
+
*/
|
|
1679
|
+
currentOperationId: string | null;
|
|
1680
|
+
/**
|
|
1681
|
+
* Gets the unique identifier for the entity.
|
|
1682
|
+
*
|
|
1683
|
+
*/
|
|
1684
|
+
id: string;
|
|
1685
|
+
/**
|
|
1686
|
+
* Gets the unique identifier of the session associated with this entity.
|
|
1687
|
+
*
|
|
1688
|
+
*/
|
|
1689
|
+
sessionId: number;
|
|
1690
|
+
unitId: number;
|
|
1691
|
+
/**
|
|
1692
|
+
* Gets or sets the unit information associated with the resource.
|
|
1693
|
+
*
|
|
1694
|
+
*/
|
|
1695
|
+
unit: IUnitInformation;
|
|
1696
|
+
/**
|
|
1697
|
+
* Gets or sets the current status of the unit.
|
|
1698
|
+
*
|
|
1699
|
+
*/
|
|
1700
|
+
unitStatus: UnitStatus | null;
|
|
1701
|
+
/**
|
|
1702
|
+
* Gets or sets a non-persistent unit status for temporary tracking.
|
|
1703
|
+
*
|
|
1704
|
+
*/
|
|
1705
|
+
unitStatusNonPersistent: UnitStatusNonPersistent | null;
|
|
1706
|
+
}
|
|
1707
|
+
/**
|
|
1708
|
+
* Represents event arguments for a notification-related session event.
|
|
1709
|
+
*
|
|
1710
|
+
*/
|
|
1711
|
+
export interface NotificationSessionEventArgs {
|
|
1712
|
+
/**
|
|
1713
|
+
* Gets or sets the notification associated with the session event.
|
|
1714
|
+
*
|
|
1715
|
+
*/
|
|
1716
|
+
notification: Notification;
|
|
1717
|
+
}
|
|
1718
|
+
/**
|
|
1719
|
+
* Represents event arguments for an event involving operation documentation.
|
|
1720
|
+
*
|
|
1721
|
+
*/
|
|
1722
|
+
export interface OperationDocumentationSessionEventArgs {
|
|
1723
|
+
/**
|
|
1724
|
+
* Gets or sets the operation documentation associated with the session event.
|
|
1725
|
+
*
|
|
1726
|
+
*/
|
|
1727
|
+
operationDocumentation: OperationDocumentation;
|
|
1728
|
+
}
|
|
1729
|
+
/**
|
|
1730
|
+
* Represents event arguments for an event involving an operation event.
|
|
1731
|
+
*
|
|
1732
|
+
*/
|
|
1733
|
+
export interface OperationEventSessionEventArgs {
|
|
1734
|
+
/**
|
|
1735
|
+
* Gets or sets the operation event associated with the session event.
|
|
1736
|
+
*
|
|
1737
|
+
*/
|
|
1738
|
+
operationEvent: OperationEvent;
|
|
1739
|
+
}
|
|
1740
|
+
/**
|
|
1741
|
+
* Represents event arguments for an operation involving a resource within a session event.
|
|
1742
|
+
*
|
|
1743
|
+
*/
|
|
1744
|
+
export interface OperationResourceSessionEventArgs {
|
|
1745
|
+
/**
|
|
1746
|
+
* Gets or sets the operation resource associated with the session event.
|
|
1747
|
+
*
|
|
1748
|
+
*/
|
|
1749
|
+
operationResource: OperationResource;
|
|
1750
|
+
}
|
|
1751
|
+
/**
|
|
1752
|
+
* Represents event arguments for an event involving an operation.
|
|
1753
|
+
*
|
|
1754
|
+
*/
|
|
1755
|
+
export interface OperationSessionEventArgs {
|
|
1756
|
+
/**
|
|
1757
|
+
* Gets or sets the operation associated with the session event.
|
|
1758
|
+
*
|
|
1759
|
+
*/
|
|
1760
|
+
operation: Operation;
|
|
1761
|
+
}
|
|
1762
|
+
/**
|
|
1763
|
+
* Represents event arguments for an event involving an operation task.
|
|
1764
|
+
*
|
|
1765
|
+
*/
|
|
1766
|
+
export interface OperationTaskSessionEventArgs {
|
|
1767
|
+
/**
|
|
1768
|
+
* Gets or sets the operation task associated with the session event.
|
|
1769
|
+
*
|
|
1770
|
+
*/
|
|
1771
|
+
operationTask: IOperationTask;
|
|
1772
|
+
}
|
|
1773
|
+
/**
|
|
1774
|
+
* Represents event arguments for an event involving a patient person.
|
|
1775
|
+
*
|
|
1776
|
+
*/
|
|
1777
|
+
export interface PatientSessionEventArgs {
|
|
1778
|
+
/**
|
|
1779
|
+
* Gets or sets the patient person associated with the session event.
|
|
1780
|
+
*
|
|
1781
|
+
*/
|
|
1782
|
+
patient: Patient;
|
|
1783
|
+
}
|
|
1784
|
+
/**
|
|
1785
|
+
* Represents event arguments for a property change within a session event.
|
|
1786
|
+
*
|
|
1787
|
+
*/
|
|
1788
|
+
export interface PropertyChangedSessionEventArgs {
|
|
1789
|
+
/**
|
|
1790
|
+
* Gets or sets the name of the property that changed.
|
|
1791
|
+
*
|
|
1792
|
+
*/
|
|
1793
|
+
propertyName: string;
|
|
1794
|
+
/**
|
|
1795
|
+
* Gets or sets the new value of the property.
|
|
1796
|
+
*
|
|
1797
|
+
*/
|
|
1798
|
+
propertyValue: Object;
|
|
1799
|
+
}
|
|
1800
|
+
/**
|
|
1801
|
+
* Represents event arguments for an event involving a resource.
|
|
1802
|
+
*
|
|
1803
|
+
*/
|
|
1804
|
+
export interface ResourceSessionEventArgs {
|
|
1805
|
+
/**
|
|
1806
|
+
* Gets or sets the resource involved in the session event.
|
|
1807
|
+
*
|
|
1808
|
+
*/
|
|
1809
|
+
resource: SessionResource;
|
|
1810
|
+
}
|
|
1811
|
+
/**
|
|
1812
|
+
* Represents the base class for session event arguments.
|
|
1813
|
+
*
|
|
1814
|
+
*/
|
|
1815
|
+
export interface SessionEventArgs {
|
|
1816
|
+
}
|
|
1817
|
+
/**
|
|
1818
|
+
* Represents event arguments for an event involving a workplace.
|
|
1819
|
+
*
|
|
1820
|
+
*/
|
|
1821
|
+
export interface WorkplaceSessionEventArgs {
|
|
1822
|
+
/**
|
|
1823
|
+
* Gets or sets the workplace associated with the session event.
|
|
1824
|
+
*
|
|
1825
|
+
*/
|
|
1826
|
+
workplace: Workplace;
|
|
1827
|
+
}
|
|
1828
|
+
/**
|
|
1829
|
+
* Represents a webhook for registering HTTP callbacks to handle managed session events.
|
|
1830
|
+
*
|
|
1831
|
+
*/
|
|
1832
|
+
export interface SessionWebhook {
|
|
1833
|
+
id: number;
|
|
1834
|
+
sessionId: number;
|
|
1835
|
+
headers: {
|
|
1836
|
+
[key: string]: string;
|
|
1837
|
+
};
|
|
1838
|
+
events: SessionEventType[] | null;
|
|
1839
|
+
/**
|
|
1840
|
+
* Gets or sets the URL to which the webhook will send HTTP requests.
|
|
1841
|
+
*
|
|
1842
|
+
*/
|
|
1843
|
+
url: string;
|
|
1844
|
+
/**
|
|
1845
|
+
* Gets or sets the HTTP method used for the webhook (e.g., GET, POST).
|
|
1846
|
+
*
|
|
1847
|
+
*/
|
|
1848
|
+
method: SessionWebhookMethod | null;
|
|
1849
|
+
}
|
|
1850
|
+
/**
|
|
1851
|
+
* Represents a status page used for displaying unit statuses.
|
|
1852
|
+
*
|
|
1853
|
+
*/
|
|
1854
|
+
export interface Statuspage {
|
|
1855
|
+
members: StatuspageMembers[] | null;
|
|
1856
|
+
/**
|
|
1857
|
+
* Gets the identifier of the entity.
|
|
1858
|
+
*
|
|
1859
|
+
*/
|
|
1860
|
+
id: number;
|
|
1861
|
+
/**
|
|
1862
|
+
* Gets or sets the identifier of the associated dispatch center.
|
|
1863
|
+
*
|
|
1864
|
+
*/
|
|
1865
|
+
commandcenterId: number;
|
|
1866
|
+
/**
|
|
1867
|
+
* The name of the status page.
|
|
1868
|
+
*
|
|
1869
|
+
*/
|
|
1870
|
+
name: string;
|
|
1871
|
+
/**
|
|
1872
|
+
* The description of the status page.
|
|
1873
|
+
*
|
|
1874
|
+
*/
|
|
1875
|
+
description: string;
|
|
1876
|
+
/**
|
|
1877
|
+
* The sort number used to determine the order of status pages.
|
|
1878
|
+
*
|
|
1879
|
+
*/
|
|
1880
|
+
sortNumber: number;
|
|
1881
|
+
/**
|
|
1882
|
+
* The display option of the status page.
|
|
1883
|
+
*
|
|
1884
|
+
*/
|
|
1885
|
+
displayOption: StatuspageDisplayOption;
|
|
1886
|
+
/**
|
|
1887
|
+
* If true, members in an inactive state will be hidden on the frontend.
|
|
1888
|
+
*
|
|
1889
|
+
*/
|
|
1890
|
+
isInactiveResourcesHidden: boolean;
|
|
1891
|
+
}
|
|
1892
|
+
/**
|
|
1893
|
+
* Represents a unit associated with a status page. Will be grouped within other units by the value in .
|
|
1894
|
+
*
|
|
1895
|
+
*/
|
|
1896
|
+
export interface StatuspageMembers {
|
|
1897
|
+
id: number;
|
|
1898
|
+
statuspageId: number;
|
|
1899
|
+
unitId: number | null;
|
|
1900
|
+
/**
|
|
1901
|
+
* The group to which the unit belongs. Set new value or use existing from .
|
|
1902
|
+
*
|
|
1903
|
+
*/
|
|
1904
|
+
group: string;
|
|
1905
|
+
/**
|
|
1906
|
+
* Member will be sorted by this property, if set.
|
|
1907
|
+
*
|
|
1908
|
+
*/
|
|
1909
|
+
sortNumber: number | null;
|
|
1910
|
+
}
|
|
1911
|
+
export interface TaskTemplate {
|
|
1912
|
+
/**
|
|
1913
|
+
* Gets or sets the description of the task template.
|
|
1914
|
+
*
|
|
1915
|
+
*/
|
|
1916
|
+
description: string;
|
|
1917
|
+
/**
|
|
1918
|
+
* Gets or sets a value indicating whether the task is mandatory.
|
|
1919
|
+
*
|
|
1920
|
+
*/
|
|
1921
|
+
isMandatory: boolean;
|
|
1922
|
+
/**
|
|
1923
|
+
* Gets or sets the execution type of the task.
|
|
1924
|
+
*
|
|
1925
|
+
*/
|
|
1926
|
+
execution: TaskExecution;
|
|
1927
|
+
/**
|
|
1928
|
+
* Gets or sets a value indicating whether all conditions must be met.
|
|
1929
|
+
*
|
|
1930
|
+
*/
|
|
1931
|
+
requireAllConditions: boolean;
|
|
1932
|
+
/**
|
|
1933
|
+
* Gets or sets a value indicating whether a task should be created for each match found.
|
|
1934
|
+
*
|
|
1935
|
+
*/
|
|
1936
|
+
createTaskForEachMatch: boolean;
|
|
1937
|
+
/**
|
|
1938
|
+
* 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.
|
|
1939
|
+
*
|
|
1940
|
+
*/
|
|
1941
|
+
requiresSuccessfulSignal: boolean;
|
|
1942
|
+
/**
|
|
1943
|
+
* Defines a timeout in seconds for how long the task will wait before entering a failed state if the successful signal is not received in time. Requires to be true.
|
|
1944
|
+
*
|
|
1945
|
+
*/
|
|
1946
|
+
timeoutSeconds: number | null;
|
|
1947
|
+
/**
|
|
1948
|
+
* Gets or sets the conditions associated with the task template.
|
|
1949
|
+
*
|
|
1950
|
+
*/
|
|
1951
|
+
conditions: TaskCondition[] | null;
|
|
1952
|
+
/**
|
|
1953
|
+
* Gets the identifier of the entity.
|
|
1954
|
+
*
|
|
1955
|
+
*/
|
|
1956
|
+
id: number;
|
|
1957
|
+
/**
|
|
1958
|
+
* Gets or sets the identifier of the associated dispatch center.
|
|
1959
|
+
*
|
|
1960
|
+
*/
|
|
1961
|
+
commandcenterId: number;
|
|
1962
|
+
}
|
|
1963
|
+
/**
|
|
1964
|
+
* Represents a unit within the area of a dispatch center.
|
|
1965
|
+
*
|
|
1966
|
+
*/
|
|
1967
|
+
export interface Unit {
|
|
1968
|
+
/**
|
|
1969
|
+
* The radio group associated with the unit. Is null if not set.
|
|
1970
|
+
*
|
|
1971
|
+
*/
|
|
1972
|
+
radiogroup: Radiogroup;
|
|
1973
|
+
/**
|
|
1974
|
+
* The point of interest (POI) where the unit is located.
|
|
1975
|
+
*
|
|
1976
|
+
*/
|
|
1977
|
+
poi: Poi;
|
|
1978
|
+
/**
|
|
1979
|
+
* The point of interest (POI) where the doctor is picked up then value is set to .
|
|
1980
|
+
*
|
|
1981
|
+
*/
|
|
1982
|
+
doctorPickupPoi: Poi;
|
|
1983
|
+
info: IUnitInformation;
|
|
1984
|
+
/**
|
|
1985
|
+
* Gets the identifier of the entity.
|
|
1986
|
+
*
|
|
1987
|
+
*/
|
|
1988
|
+
id: number;
|
|
1989
|
+
/**
|
|
1990
|
+
* Gets or sets the identifier of the associated dispatch center.
|
|
1991
|
+
*
|
|
1992
|
+
*/
|
|
1993
|
+
commandcenterId: number;
|
|
1994
|
+
/**
|
|
1995
|
+
* The name of the point of interest (POI) where the unit is located.
|
|
1996
|
+
*
|
|
1997
|
+
*/
|
|
1998
|
+
station: string;
|
|
1999
|
+
dutyPeriods: UnitDutyPeriod[] | null;
|
|
2000
|
+
/**
|
|
2001
|
+
* The category of the unit. By setting a value to , this can be cosmetically overridden.
|
|
2002
|
+
*
|
|
2003
|
+
*/
|
|
2004
|
+
category: UnitCategory;
|
|
2005
|
+
/**
|
|
2006
|
+
* The overridden category of the unit.
|
|
2007
|
+
*
|
|
2008
|
+
*/
|
|
2009
|
+
categoryOverride: string;
|
|
2010
|
+
/**
|
|
2011
|
+
* The (long) callsign of the unit.
|
|
2012
|
+
*
|
|
2013
|
+
*/
|
|
2014
|
+
callsign: string;
|
|
2015
|
+
/**
|
|
2016
|
+
* A short callsign variant of the unit.
|
|
2017
|
+
*
|
|
2018
|
+
*/
|
|
2019
|
+
callsignShort: string;
|
|
2020
|
+
/**
|
|
2021
|
+
* The callsign displayed on maps if is set to true.
|
|
2022
|
+
*
|
|
2023
|
+
*/
|
|
2024
|
+
callsignGps: string;
|
|
2025
|
+
/**
|
|
2026
|
+
* The verbal callsign of the unit.
|
|
2027
|
+
*
|
|
2028
|
+
*/
|
|
2029
|
+
callsignVerbal: string;
|
|
2030
|
+
/**
|
|
2031
|
+
* Indicates whether the unit is a first responder. This property affects suggestions and the unit's behavior on operation sites.
|
|
2032
|
+
*
|
|
2033
|
+
*/
|
|
2034
|
+
isFirstResponder: boolean;
|
|
2035
|
+
/**
|
|
2036
|
+
* Indicates whether the unit is not a volunteer unit. Dispatch times will affect based on this value.
|
|
2037
|
+
*
|
|
2038
|
+
*/
|
|
2039
|
+
isNotVolunteerUnit: boolean;
|
|
2040
|
+
/**
|
|
2041
|
+
* 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 .
|
|
2042
|
+
*
|
|
2043
|
+
*/
|
|
2044
|
+
isStartingWithStatus6: boolean;
|
|
2045
|
+
/**
|
|
2046
|
+
* 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.
|
|
2047
|
+
*
|
|
2048
|
+
*/
|
|
2049
|
+
isEquippedWithGps: boolean;
|
|
2050
|
+
/**
|
|
2051
|
+
* The external availability percentage of the unit when referenced by another dispatch center. This value determines the unit's potential availability.
|
|
2052
|
+
*
|
|
2053
|
+
*/
|
|
2054
|
+
externalAvailablePercent: number;
|
|
2055
|
+
/**
|
|
2056
|
+
* The dispatch groups associated with the unit.
|
|
2057
|
+
*
|
|
2058
|
+
*/
|
|
2059
|
+
dispatchGroups: string;
|
|
2060
|
+
/**
|
|
2061
|
+
* The dispatch option of the unit, determining how the unit is automatically suggested by the system.
|
|
2062
|
+
*
|
|
2063
|
+
*/
|
|
2064
|
+
dispatchOption: UnitDispatchOption;
|
|
2065
|
+
/**
|
|
2066
|
+
* The doctor option of the unit.
|
|
2067
|
+
*
|
|
2068
|
+
*
|
|
2069
|
+
* @remarks
|
|
2070
|
+
* If set to , the doctor is picked up at the specified doctor pickup POI after dispatch.
|
|
2071
|
+
*/
|
|
2072
|
+
doctorOption: UnitDoctorOption;
|
|
2073
|
+
/**
|
|
2074
|
+
* Determines the duty options of the unit, including its availability and reaction to dispatch.
|
|
2075
|
+
*
|
|
2076
|
+
*
|
|
2077
|
+
* @remarks
|
|
2078
|
+
* If set to , unit duty periods in are required.
|
|
2079
|
+
*/
|
|
2080
|
+
dutyOptions: UnitDutyOptions;
|
|
2081
|
+
/**
|
|
2082
|
+
* The list of equipment associated with the unit.
|
|
2083
|
+
*
|
|
2084
|
+
*/
|
|
2085
|
+
equipments: UnitEquipment[] | null;
|
|
2086
|
+
}
|
|
2087
|
+
/**
|
|
2088
|
+
* Represents a duty period for a unit. Duty periods are required if the property is set to .
|
|
2089
|
+
*
|
|
2090
|
+
*/
|
|
2091
|
+
export interface UnitDutyPeriod {
|
|
2092
|
+
id: number;
|
|
2093
|
+
unitId: number;
|
|
2094
|
+
/**
|
|
2095
|
+
* Represents the day of the week for the duty period.
|
|
2096
|
+
*
|
|
2097
|
+
*/
|
|
2098
|
+
day: DayOfWeek;
|
|
2099
|
+
/**
|
|
2100
|
+
* Represents the starting hour of the duty period.
|
|
2101
|
+
*
|
|
2102
|
+
*/
|
|
2103
|
+
hourStart: number;
|
|
2104
|
+
/**
|
|
2105
|
+
* Represents the starting minute of the duty period.
|
|
2106
|
+
*
|
|
2107
|
+
*/
|
|
2108
|
+
minuteStart: number;
|
|
2109
|
+
/**
|
|
2110
|
+
* Represents the ending hour of the duty period.
|
|
2111
|
+
*
|
|
2112
|
+
*/
|
|
2113
|
+
hourEnd: number;
|
|
2114
|
+
/**
|
|
2115
|
+
* Represents the ending minute of the duty period.
|
|
2116
|
+
*
|
|
2117
|
+
*/
|
|
2118
|
+
minuteEnd: number;
|
|
2119
|
+
}
|
|
2120
|
+
export interface UnitInformation {
|
|
2121
|
+
/**
|
|
2122
|
+
* The category of the unit. By setting a value to , this can be cosmetically overridden.
|
|
2123
|
+
*
|
|
2124
|
+
*/
|
|
2125
|
+
category: UnitCategory;
|
|
2126
|
+
/**
|
|
2127
|
+
* The overridden category of the unit.
|
|
2128
|
+
*
|
|
2129
|
+
*/
|
|
2130
|
+
categoryOverride: string;
|
|
2131
|
+
/**
|
|
2132
|
+
* The (long) callsign of the unit.
|
|
2133
|
+
*
|
|
2134
|
+
*/
|
|
2135
|
+
callsign: string;
|
|
2136
|
+
/**
|
|
2137
|
+
* A short callsign variant of the unit.
|
|
2138
|
+
*
|
|
2139
|
+
*/
|
|
2140
|
+
callsignShort: string;
|
|
2141
|
+
/**
|
|
2142
|
+
* The callsign displayed on maps if is set to true.
|
|
2143
|
+
*
|
|
2144
|
+
*/
|
|
2145
|
+
callsignGps: string;
|
|
2146
|
+
/**
|
|
2147
|
+
* The name of the point of interest (POI) where the unit is located.
|
|
2148
|
+
*
|
|
2149
|
+
*/
|
|
2150
|
+
station: string;
|
|
2151
|
+
}
|
|
2152
|
+
export interface UserInformation {
|
|
2153
|
+
id: number;
|
|
2154
|
+
sub: string;
|
|
2155
|
+
/**
|
|
2156
|
+
* Represents the rank of the user.
|
|
2157
|
+
*
|
|
2158
|
+
*/
|
|
2159
|
+
rank: number;
|
|
2160
|
+
/**
|
|
2161
|
+
* Represents the name (username) of the user. Unique but could change over time.
|
|
2162
|
+
*
|
|
2163
|
+
*/
|
|
2164
|
+
name: string;
|
|
2165
|
+
/**
|
|
2166
|
+
* 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.
|
|
2167
|
+
*
|
|
2168
|
+
*/
|
|
2169
|
+
displayFirstName: string;
|
|
2170
|
+
/**
|
|
2171
|
+
* 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.
|
|
2172
|
+
*
|
|
2173
|
+
*/
|
|
2174
|
+
displayLastName: string;
|
|
2175
|
+
/**
|
|
2176
|
+
* 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.
|
|
2177
|
+
*
|
|
2178
|
+
*/
|
|
2179
|
+
dispatcherTag: string;
|
|
2180
|
+
/**
|
|
2181
|
+
* Represents the date and time of the user's last activity.
|
|
2182
|
+
*
|
|
2183
|
+
*/
|
|
2184
|
+
lastActivityOn: string | null;
|
|
2185
|
+
}
|
|
2186
|
+
/**
|
|
2187
|
+
* Represents a workplace, including its status, associated user, and identifying number.
|
|
2188
|
+
*
|
|
2189
|
+
*/
|
|
2190
|
+
export interface Workplace {
|
|
2191
|
+
/**
|
|
2192
|
+
* Gets or sets the number that identifies the workplace.
|
|
2193
|
+
*
|
|
2194
|
+
*/
|
|
2195
|
+
number: number;
|
|
2196
|
+
/**
|
|
2197
|
+
* Gets or sets the current status of the workplace.
|
|
2198
|
+
*
|
|
2199
|
+
*/
|
|
2200
|
+
status: WorkplaceStatus;
|
|
2201
|
+
/**
|
|
2202
|
+
* Gets or sets the user information associated with the workplace.
|
|
2203
|
+
*
|
|
2204
|
+
*/
|
|
2205
|
+
user: IUserInformation;
|
|
2206
|
+
}
|
|
2207
|
+
export interface ICommandcenterEntity {
|
|
2208
|
+
/**
|
|
2209
|
+
* Gets the identifier of the entity.
|
|
2210
|
+
*
|
|
2211
|
+
*/
|
|
2212
|
+
id: number;
|
|
2213
|
+
/**
|
|
2214
|
+
* Gets or sets the identifier of the associated dispatch center.
|
|
2215
|
+
*
|
|
2216
|
+
*/
|
|
2217
|
+
commandcenterId: number;
|
|
2218
|
+
}
|
|
2219
|
+
export interface ICommandcenterInformation {
|
|
2220
|
+
id: number;
|
|
2221
|
+
/**
|
|
2222
|
+
* The name of the command center. This field may be null if the name has not been set.
|
|
2223
|
+
*
|
|
2224
|
+
*/
|
|
2225
|
+
name: string;
|
|
2226
|
+
/**
|
|
2227
|
+
* The category of the command center, which helps classify the center according to its primary function or operational scope.
|
|
2228
|
+
*
|
|
2229
|
+
*/
|
|
2230
|
+
category: CommandcenterCategory;
|
|
2231
|
+
/**
|
|
2232
|
+
* The identifier for the header image of the command center, used for display purposes in interfaces.
|
|
2233
|
+
*
|
|
2234
|
+
*/
|
|
2235
|
+
headerImageId: string | null;
|
|
2236
|
+
/**
|
|
2237
|
+
* The date and time when the command center was last modified.
|
|
2238
|
+
*
|
|
2239
|
+
*/
|
|
2240
|
+
changedOn: string | null;
|
|
2241
|
+
}
|
|
2242
|
+
export interface IExecutable {
|
|
2243
|
+
/**
|
|
2244
|
+
* Gets or sets the associated with this executable instance.
|
|
2245
|
+
*
|
|
2246
|
+
*/
|
|
2247
|
+
operationTask: IOperationTask;
|
|
2248
|
+
}
|
|
2249
|
+
export interface IGeoReferenced {
|
|
2250
|
+
/**
|
|
2251
|
+
* Point of interest associated with the location, if applicable.
|
|
2252
|
+
*
|
|
2253
|
+
*/
|
|
2254
|
+
poi: Poi;
|
|
2255
|
+
/**
|
|
2256
|
+
* Primary address details of the location.
|
|
2257
|
+
*
|
|
2258
|
+
*/
|
|
2259
|
+
address: Address;
|
|
2260
|
+
/**
|
|
2261
|
+
* House number at the location, if applicable.
|
|
2262
|
+
*
|
|
2263
|
+
*/
|
|
2264
|
+
houseNumber: string;
|
|
2265
|
+
/**
|
|
2266
|
+
* Geographical coordinates of the location.
|
|
2267
|
+
*
|
|
2268
|
+
*/
|
|
2269
|
+
coordinates: Coordinates | null;
|
|
2270
|
+
/**
|
|
2271
|
+
* Specifies the accuracy of the coordinates from the geocoding process.
|
|
2272
|
+
*
|
|
2273
|
+
*/
|
|
2274
|
+
accuracy: LocationAccuracy;
|
|
2275
|
+
}
|
|
2276
|
+
export interface IOperationEntity {
|
|
2277
|
+
/**
|
|
2278
|
+
* Gets the unique identifier for the entity.
|
|
2279
|
+
*
|
|
2280
|
+
*/
|
|
2281
|
+
id: string;
|
|
2282
|
+
/**
|
|
2283
|
+
* Gets the unique identifier of the operation associated with this entity.
|
|
2284
|
+
*
|
|
2285
|
+
*/
|
|
2286
|
+
operationId: string;
|
|
2287
|
+
}
|
|
2288
|
+
export interface IOperationTask {
|
|
2289
|
+
/**
|
|
2290
|
+
* Gets or sets the identifier associated with the task.
|
|
2291
|
+
*
|
|
2292
|
+
*/
|
|
2293
|
+
id: string;
|
|
2294
|
+
/**
|
|
2295
|
+
* Gets or sets the session identifier associated with the task.
|
|
2296
|
+
*
|
|
2297
|
+
*/
|
|
2298
|
+
sessionId: number;
|
|
2299
|
+
/**
|
|
2300
|
+
* Gets or sets the task template used to create this task.
|
|
2301
|
+
*
|
|
2302
|
+
*/
|
|
2303
|
+
template: ITaskTemplate;
|
|
2304
|
+
/**
|
|
2305
|
+
* Gets or sets notes related to the task.
|
|
2306
|
+
*
|
|
2307
|
+
*/
|
|
2308
|
+
notes: string;
|
|
2309
|
+
/**
|
|
2310
|
+
* Gets or sets the status of the task.
|
|
2311
|
+
*
|
|
2312
|
+
*/
|
|
2313
|
+
status: TaskStatus;
|
|
2314
|
+
/**
|
|
2315
|
+
* Gets or sets the date and time the task was last completed.
|
|
2316
|
+
*
|
|
2317
|
+
*/
|
|
2318
|
+
lastCompletedOn: string | null;
|
|
2319
|
+
/**
|
|
2320
|
+
* Gets or sets information about the user who last completed the task.
|
|
2321
|
+
*
|
|
2322
|
+
*/
|
|
2323
|
+
lastCompletedBy: IUserInformation;
|
|
2324
|
+
}
|
|
2325
|
+
export interface IRealmInformation {
|
|
2326
|
+
/**
|
|
2327
|
+
* Gets or sets the unique identifier for the realm.
|
|
2328
|
+
*
|
|
2329
|
+
*/
|
|
2330
|
+
id: string;
|
|
2331
|
+
/**
|
|
2332
|
+
* Gets or sets the hostname associated with the realm.
|
|
2333
|
+
*
|
|
2334
|
+
*/
|
|
2335
|
+
hostname: string;
|
|
2336
|
+
/**
|
|
2337
|
+
* Gets or sets the country associated with the realm.
|
|
2338
|
+
*
|
|
2339
|
+
*/
|
|
2340
|
+
country: Country;
|
|
2341
|
+
/**
|
|
2342
|
+
* Gets or sets the display name of the realm.
|
|
2343
|
+
*
|
|
2344
|
+
*/
|
|
2345
|
+
displayName: string;
|
|
2346
|
+
/**
|
|
2347
|
+
* Gets or sets the response time of the realm in milliseconds.
|
|
2348
|
+
*
|
|
2349
|
+
*/
|
|
2350
|
+
responseTimeMs: number | null;
|
|
2351
|
+
/**
|
|
2352
|
+
* Gets or sets the version information of the realm.
|
|
2353
|
+
*
|
|
2354
|
+
*/
|
|
2355
|
+
version: string;
|
|
2356
|
+
}
|
|
2357
|
+
export interface ISessionEntity {
|
|
2358
|
+
/**
|
|
2359
|
+
* Gets the unique identifier for the entity.
|
|
2360
|
+
*
|
|
2361
|
+
*/
|
|
2362
|
+
id: string;
|
|
2363
|
+
/**
|
|
2364
|
+
* Gets the unique identifier of the session associated with this entity.
|
|
2365
|
+
*
|
|
2366
|
+
*/
|
|
2367
|
+
sessionId: number;
|
|
2368
|
+
}
|
|
2369
|
+
export interface ITaskTemplate {
|
|
2370
|
+
/**
|
|
2371
|
+
* Gets or sets the description of the task template.
|
|
2372
|
+
*
|
|
2373
|
+
*/
|
|
2374
|
+
description: string;
|
|
2375
|
+
/**
|
|
2376
|
+
* Gets or sets a value indicating whether the task is mandatory.
|
|
2377
|
+
*
|
|
2378
|
+
*/
|
|
2379
|
+
isMandatory: boolean;
|
|
2380
|
+
/**
|
|
2381
|
+
* Gets or sets the execution type of the task.
|
|
2382
|
+
*
|
|
2383
|
+
*/
|
|
2384
|
+
execution: TaskExecution;
|
|
2385
|
+
/**
|
|
2386
|
+
* Gets or sets a value indicating whether all conditions must be met.
|
|
2387
|
+
*
|
|
2388
|
+
*/
|
|
2389
|
+
requireAllConditions: boolean;
|
|
2390
|
+
/**
|
|
2391
|
+
* Gets or sets a value indicating whether a task should be created for each match found.
|
|
2392
|
+
*
|
|
2393
|
+
*/
|
|
2394
|
+
createTaskForEachMatch: boolean;
|
|
2395
|
+
/**
|
|
2396
|
+
* 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.
|
|
2397
|
+
*
|
|
2398
|
+
*/
|
|
2399
|
+
requiresSuccessfulSignal: boolean;
|
|
2400
|
+
/**
|
|
2401
|
+
* Defines a timeout in seconds for how long the task will wait before entering a failed state if the successful signal is not received in time. Requires to be true.
|
|
2402
|
+
*
|
|
2403
|
+
*/
|
|
2404
|
+
timeoutSeconds: number | null;
|
|
2405
|
+
/**
|
|
2406
|
+
* Gets or sets the conditions associated with the task template.
|
|
2407
|
+
*
|
|
2408
|
+
*/
|
|
2409
|
+
conditions: TaskCondition[] | null;
|
|
2410
|
+
}
|
|
2411
|
+
export interface IUnitInformation {
|
|
2412
|
+
/**
|
|
2413
|
+
* The category of the unit. By setting a value to , this can be cosmetically overridden.
|
|
2414
|
+
*
|
|
2415
|
+
*/
|
|
2416
|
+
category: UnitCategory;
|
|
2417
|
+
/**
|
|
2418
|
+
* The overridden category of the unit.
|
|
2419
|
+
*
|
|
2420
|
+
*/
|
|
2421
|
+
categoryOverride: string;
|
|
2422
|
+
/**
|
|
2423
|
+
* The (long) callsign of the unit.
|
|
2424
|
+
*
|
|
2425
|
+
*/
|
|
2426
|
+
callsign: string;
|
|
2427
|
+
/**
|
|
2428
|
+
* A short callsign variant of the unit.
|
|
2429
|
+
*
|
|
2430
|
+
*/
|
|
2431
|
+
callsignShort: string;
|
|
2432
|
+
/**
|
|
2433
|
+
* The callsign displayed on maps if is set to true.
|
|
2434
|
+
*
|
|
2435
|
+
*/
|
|
2436
|
+
callsignGps: string;
|
|
2437
|
+
/**
|
|
2438
|
+
* The name of the point of interest (POI) where the unit is located.
|
|
2439
|
+
*
|
|
2440
|
+
*/
|
|
2441
|
+
station: string;
|
|
2442
|
+
}
|
|
2443
|
+
export interface IUserInformation {
|
|
2444
|
+
id: number;
|
|
2445
|
+
sub: string;
|
|
2446
|
+
/**
|
|
2447
|
+
* Represents the rank of the user.
|
|
2448
|
+
*
|
|
2449
|
+
*/
|
|
2450
|
+
rank: number;
|
|
2451
|
+
/**
|
|
2452
|
+
* Represents the name (username) of the user. Unique but could change over time.
|
|
2453
|
+
*
|
|
2454
|
+
*/
|
|
2455
|
+
name: string;
|
|
2456
|
+
/**
|
|
2457
|
+
* 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.
|
|
2458
|
+
*
|
|
2459
|
+
*/
|
|
2460
|
+
displayFirstName: string;
|
|
2461
|
+
/**
|
|
2462
|
+
* 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.
|
|
2463
|
+
*
|
|
2464
|
+
*/
|
|
2465
|
+
displayLastName: string;
|
|
2466
|
+
/**
|
|
2467
|
+
* 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.
|
|
2468
|
+
*
|
|
2469
|
+
*/
|
|
2470
|
+
dispatcherTag: string;
|
|
2471
|
+
/**
|
|
2472
|
+
* Represents the date and time of the user's last activity.
|
|
2473
|
+
*
|
|
2474
|
+
*/
|
|
2475
|
+
lastActivityOn: string | null;
|
|
2476
|
+
}
|
|
2477
|
+
/**
|
|
2478
|
+
* 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.
|
|
2479
|
+
*
|
|
2480
|
+
*/
|
|
2481
|
+
export interface Address {
|
|
2482
|
+
id: number;
|
|
2483
|
+
/**
|
|
2484
|
+
* The name of the street for this address. This property is essential for locating the address within its district and city context. Is unique inside a district.
|
|
2485
|
+
*
|
|
2486
|
+
*/
|
|
2487
|
+
street: string;
|
|
2488
|
+
/**
|
|
2489
|
+
* The minimum street number available for this address. This optional field can be used in the simulation to randomly generate a house number within a defined range, starting from this minimum value.
|
|
2490
|
+
*
|
|
2491
|
+
*/
|
|
2492
|
+
streetNumberMin: number | null;
|
|
2493
|
+
/**
|
|
2494
|
+
* The maximum street number available for this address. Similar to the minimum street number, this optional field defines the upper limit for randomly generating house numbers within the simulation, providing flexibility in address allocation.
|
|
2495
|
+
*
|
|
2496
|
+
*/
|
|
2497
|
+
streetNumberMax: number | null;
|
|
2498
|
+
districtId: number;
|
|
2499
|
+
/**
|
|
2500
|
+
* The name of the district.
|
|
2501
|
+
*
|
|
2502
|
+
*/
|
|
2503
|
+
districtName: string;
|
|
2504
|
+
/**
|
|
2505
|
+
* The postal code for the district.
|
|
2506
|
+
*
|
|
2507
|
+
*/
|
|
2508
|
+
districtZip: string;
|
|
2509
|
+
/**
|
|
2510
|
+
* The latitude coordinate of the district. This geographic detail supports mapping and location-based services. If the specific street coordinates are not available, these coordinates serve as a fallback location.
|
|
2511
|
+
*
|
|
2512
|
+
*/
|
|
2513
|
+
districtLat: number;
|
|
2514
|
+
/**
|
|
2515
|
+
* The longitude coordinate of the district. Alongside latitude, this provides a precise location for the district on global mapping services. Like latitude, longitude will also be used as a fallback if specific street coordinates cannot be found.
|
|
2516
|
+
*
|
|
2517
|
+
*/
|
|
2518
|
+
districtLng: number;
|
|
2519
|
+
/**
|
|
2520
|
+
* The phone prefix used within the district. This property can be null if the phone prefix is not applicable or not defined.
|
|
2521
|
+
*
|
|
2522
|
+
*/
|
|
2523
|
+
districtPhonePrefix: string;
|
|
2524
|
+
cityId: number;
|
|
2525
|
+
/**
|
|
2526
|
+
* The name of the city. This property is crucial for identifying the city within its broader regional context (e.g., state, commune).
|
|
2527
|
+
*
|
|
2528
|
+
*/
|
|
2529
|
+
cityName: string;
|
|
2530
|
+
communeId: number;
|
|
2531
|
+
/**
|
|
2532
|
+
* The name of the commune.
|
|
2533
|
+
*
|
|
2534
|
+
*/
|
|
2535
|
+
communeName: string;
|
|
2536
|
+
stateId: number;
|
|
2537
|
+
addressPackageId: number;
|
|
2538
|
+
/**
|
|
2539
|
+
* The country to which this state belongs. The class encapsulates details like the country's name, its ISO codes, and other pertinent information.
|
|
2540
|
+
*
|
|
2541
|
+
*/
|
|
2542
|
+
country: Country;
|
|
2543
|
+
/**
|
|
2544
|
+
* The name of the state.
|
|
2545
|
+
*
|
|
2546
|
+
*/
|
|
2547
|
+
stateName: string;
|
|
2548
|
+
}
|
|
2549
|
+
/**
|
|
2550
|
+
* Represents a city within a commune for addressing purposes. This record captures city-specific details such as city identifiers and names, extending the commune-level details from the .
|
|
2551
|
+
*
|
|
2552
|
+
*/
|
|
2553
|
+
export interface AddressCity {
|
|
2554
|
+
cityId: number;
|
|
2555
|
+
/**
|
|
2556
|
+
* The name of the city. This property is crucial for identifying the city within its broader regional context (e.g., state, commune).
|
|
2557
|
+
*
|
|
2558
|
+
*/
|
|
2559
|
+
cityName: string;
|
|
2560
|
+
communeId: number;
|
|
2561
|
+
/**
|
|
2562
|
+
* The name of the commune.
|
|
2563
|
+
*
|
|
2564
|
+
*/
|
|
2565
|
+
communeName: string;
|
|
2566
|
+
stateId: number;
|
|
2567
|
+
addressPackageId: number;
|
|
2568
|
+
/**
|
|
2569
|
+
* The country to which this state belongs. The class encapsulates details like the country's name, its ISO codes, and other pertinent information.
|
|
2570
|
+
*
|
|
2571
|
+
*/
|
|
2572
|
+
country: Country;
|
|
2573
|
+
/**
|
|
2574
|
+
* The name of the state.
|
|
2575
|
+
*
|
|
2576
|
+
*/
|
|
2577
|
+
stateName: string;
|
|
2578
|
+
}
|
|
2579
|
+
/**
|
|
2580
|
+
* Represents a commune-level division within a state or region for addressing purposes. This record extends the to provide additional details specific to the commune level, such as commune identifiers and names.
|
|
2581
|
+
*
|
|
2582
|
+
*/
|
|
2583
|
+
export interface AddressCommune {
|
|
2584
|
+
communeId: number;
|
|
2585
|
+
/**
|
|
2586
|
+
* The name of the commune.
|
|
2587
|
+
*
|
|
2588
|
+
*/
|
|
2589
|
+
communeName: string;
|
|
2590
|
+
stateId: number;
|
|
2591
|
+
addressPackageId: number;
|
|
2592
|
+
/**
|
|
2593
|
+
* The country to which this state belongs. The class encapsulates details like the country's name, its ISO codes, and other pertinent information.
|
|
2594
|
+
*
|
|
2595
|
+
*/
|
|
2596
|
+
country: Country;
|
|
2597
|
+
/**
|
|
2598
|
+
* The name of the state.
|
|
2599
|
+
*
|
|
2600
|
+
*/
|
|
2601
|
+
stateName: string;
|
|
2602
|
+
}
|
|
2603
|
+
/**
|
|
2604
|
+
* Represents a district within a city, including detailed geographic and administrative data. This record extends the and provides additional details specific to the district level, such as the district's unique identifier, name, postal code, geographic coordinates, and optional phone prefix.
|
|
2605
|
+
*
|
|
2606
|
+
*/
|
|
2607
|
+
export interface AddressDistrict {
|
|
2608
|
+
districtId: number;
|
|
2609
|
+
/**
|
|
2610
|
+
* The name of the district.
|
|
2611
|
+
*
|
|
2612
|
+
*/
|
|
2613
|
+
districtName: string;
|
|
2614
|
+
/**
|
|
2615
|
+
* The postal code for the district.
|
|
2616
|
+
*
|
|
2617
|
+
*/
|
|
2618
|
+
districtZip: string;
|
|
2619
|
+
/**
|
|
2620
|
+
* The latitude coordinate of the district. This geographic detail supports mapping and location-based services. If the specific street coordinates are not available, these coordinates serve as a fallback location.
|
|
2621
|
+
*
|
|
2622
|
+
*/
|
|
2623
|
+
districtLat: number;
|
|
2624
|
+
/**
|
|
2625
|
+
* The longitude coordinate of the district. Alongside latitude, this provides a precise location for the district on global mapping services. Like latitude, longitude will also be used as a fallback if specific street coordinates cannot be found.
|
|
2626
|
+
*
|
|
2627
|
+
*/
|
|
2628
|
+
districtLng: number;
|
|
2629
|
+
/**
|
|
2630
|
+
* The phone prefix used within the district. This property can be null if the phone prefix is not applicable or not defined.
|
|
2631
|
+
*
|
|
2632
|
+
*/
|
|
2633
|
+
districtPhonePrefix: string;
|
|
2634
|
+
cityId: number;
|
|
2635
|
+
/**
|
|
2636
|
+
* The name of the city. This property is crucial for identifying the city within its broader regional context (e.g., state, commune).
|
|
2637
|
+
*
|
|
2638
|
+
*/
|
|
2639
|
+
cityName: string;
|
|
2640
|
+
communeId: number;
|
|
2641
|
+
/**
|
|
2642
|
+
* The name of the commune.
|
|
2643
|
+
*
|
|
2644
|
+
*/
|
|
2645
|
+
communeName: string;
|
|
2646
|
+
stateId: number;
|
|
2647
|
+
addressPackageId: number;
|
|
2648
|
+
/**
|
|
2649
|
+
* The country to which this state belongs. The class encapsulates details like the country's name, its ISO codes, and other pertinent information.
|
|
2650
|
+
*
|
|
2651
|
+
*/
|
|
2652
|
+
country: Country;
|
|
2653
|
+
/**
|
|
2654
|
+
* The name of the state.
|
|
2655
|
+
*
|
|
2656
|
+
*/
|
|
2657
|
+
stateName: string;
|
|
2658
|
+
}
|
|
2659
|
+
export interface AddressPackage {
|
|
2660
|
+
id: number;
|
|
2661
|
+
/**
|
|
2662
|
+
* The name of the address package.
|
|
2663
|
+
*
|
|
2664
|
+
*/
|
|
2665
|
+
name: string;
|
|
2666
|
+
/**
|
|
2667
|
+
* User information's of the owner of this address package who has control over its contents and settings.
|
|
2668
|
+
*
|
|
2669
|
+
*/
|
|
2670
|
+
owner: IUserInformation;
|
|
2671
|
+
/**
|
|
2672
|
+
* Indicates whether this address package is accessible to other users. If true, the package can be viewed by anyone; otherwise, it is private.
|
|
2673
|
+
*
|
|
2674
|
+
*/
|
|
2675
|
+
isPublic: boolean;
|
|
2676
|
+
/**
|
|
2677
|
+
* The date and time when this address package was created.
|
|
2678
|
+
*
|
|
2679
|
+
*/
|
|
2680
|
+
createdOn: string;
|
|
2681
|
+
}
|
|
2682
|
+
export interface AddressState {
|
|
2683
|
+
stateId: number;
|
|
2684
|
+
addressPackageId: number;
|
|
2685
|
+
/**
|
|
2686
|
+
* The country to which this state belongs. The class encapsulates details like the country's name, its ISO codes, and other pertinent information.
|
|
2687
|
+
*
|
|
2688
|
+
*/
|
|
2689
|
+
country: Country;
|
|
2690
|
+
/**
|
|
2691
|
+
* The name of the state.
|
|
2692
|
+
*
|
|
2693
|
+
*/
|
|
2694
|
+
stateName: string;
|
|
2695
|
+
}
|
|
2696
|
+
export declare enum CommandcenterCategory {
|
|
2697
|
+
AerztlicherBereitschaftsdienst = 0,
|
|
2698
|
+
Einsatzleitstelle = 1,
|
|
2699
|
+
Feuerwehreinsatzzentrale = 2,
|
|
2700
|
+
IntegrierteLeitstelle = 3,
|
|
2701
|
+
IntegrierteRegionalleitstelle = 4,
|
|
2702
|
+
KantonaleNotrufzentrale = 5,
|
|
2703
|
+
KommunaleRegionalleitstelle = 6,
|
|
2704
|
+
KoordinationszentralefuerIntensivtransporthubschrauber = 7,
|
|
2705
|
+
Koordinierungsstelle = 8,
|
|
2706
|
+
KoordinierungsstellefuerspezielleSekundaertransporte = 9,
|
|
2707
|
+
Kreisleitstelle = 10,
|
|
2708
|
+
Leitfunkstelle = 11,
|
|
2709
|
+
Leitstelle = 12,
|
|
2710
|
+
RettungsUndFeuerwehrleitstelle = 13,
|
|
2711
|
+
Rettungsleitstelle = 14,
|
|
2712
|
+
ZentralefuerKrankenbefoerderungundNotfallservice = 15,
|
|
2713
|
+
ZentraleKoordinierungsstelle = 16,
|
|
2714
|
+
ZentraleLeitstelle = 17,
|
|
2715
|
+
KooperativeLeitstelle = 18,
|
|
2716
|
+
RescueCoordinationCentre = 19,
|
|
2717
|
+
KooperativeRegionalleitstelle = 20,
|
|
2718
|
+
Bezirksalarmzentrale = 21
|
|
2719
|
+
}
|
|
2720
|
+
export declare enum CommandcenterClassification {
|
|
2721
|
+
F = 0,
|
|
2722
|
+
E = 1,
|
|
2723
|
+
D = 2,
|
|
2724
|
+
C = 3,
|
|
2725
|
+
B = 4,
|
|
2726
|
+
A = 5
|
|
2727
|
+
}
|
|
2728
|
+
export declare enum CommandcenterOption {
|
|
2729
|
+
/**
|
|
2730
|
+
* Specifies that Status 6 will be only set by the command center, not by units.
|
|
2731
|
+
*
|
|
2732
|
+
*/
|
|
2733
|
+
Status6IsSetByCommandcenter = 1,
|
|
2734
|
+
/**
|
|
2735
|
+
* Restricts units to always use Status 5 for making speak requests.
|
|
2736
|
+
*
|
|
2737
|
+
*/
|
|
2738
|
+
UnitsUseOnlyStatus5ForSpeakRequest = 2,
|
|
2739
|
+
/**
|
|
2740
|
+
* Enables doctors to use sirens when assigned Status 7.
|
|
2741
|
+
*
|
|
2742
|
+
*/
|
|
2743
|
+
DoctorUsesSirenWithStatus7 = 3,
|
|
2744
|
+
/**
|
|
2745
|
+
* Ensures units are suggested in dispatch operations when they reach Status 8.
|
|
2746
|
+
*
|
|
2747
|
+
*/
|
|
2748
|
+
UnitsWillBeSuggestedInStatus8 = 4,
|
|
2749
|
+
/**
|
|
2750
|
+
* Requires units to verbally inform the dispatch center of their transport destination.
|
|
2751
|
+
*
|
|
2752
|
+
*/
|
|
2753
|
+
UnitsTellPatientDestinationVerbal = 5,
|
|
2754
|
+
/**
|
|
2755
|
+
* Mandates the use of verbal call signs for all communications.
|
|
2756
|
+
*
|
|
2757
|
+
*/
|
|
2758
|
+
AlwaysUseVerbalCallSign = 6,
|
|
2759
|
+
/**
|
|
2760
|
+
* Includes keyword equipment in suggestions even if a dispatch order is used.
|
|
2761
|
+
*
|
|
2762
|
+
*/
|
|
2763
|
+
IncludeKeywordEquipmentEvenIfDispatchOrderFound = 8,
|
|
2764
|
+
/**
|
|
2765
|
+
* Initiates sessions assuming regular ambulance service unless specified otherwise.
|
|
2766
|
+
*
|
|
2767
|
+
*/
|
|
2768
|
+
StartSessionWithAmbulanceRegular = 9,
|
|
2769
|
+
/**
|
|
2770
|
+
* Disables automatic creation of operations upon call acceptance.
|
|
2771
|
+
*
|
|
2772
|
+
*/
|
|
2773
|
+
IsCreateOperationOnCallAcceptDisabled = 10,
|
|
2774
|
+
/**
|
|
2775
|
+
* Uses known points of interest as the default operation location for calls.
|
|
2776
|
+
*
|
|
2777
|
+
*/
|
|
2778
|
+
OperationLocationFromCallKnownPoi = 11,
|
|
2779
|
+
/**
|
|
2780
|
+
* Allows the use of unknown points of interest for determining operation locations.
|
|
2781
|
+
*
|
|
2782
|
+
*/
|
|
2783
|
+
OperationLocationFromCallUnknownPoi = 12,
|
|
2784
|
+
/**
|
|
2785
|
+
* Uses the caller's address as the operation location by default.
|
|
2786
|
+
*
|
|
2787
|
+
*/
|
|
2788
|
+
OperationLocationFromCallAddress = 13,
|
|
2789
|
+
UnitsDriveToStandbyPositionInStatus3 = 14,
|
|
2790
|
+
UnitsDriveBackToStandbyPositionUntilAbortSend = 15
|
|
2791
|
+
}
|
|
2792
|
+
export interface Coordinates {
|
|
2793
|
+
latitude: number;
|
|
2794
|
+
longitude: number;
|
|
2795
|
+
}
|
|
2796
|
+
export declare enum Country {
|
|
2797
|
+
NotSet = 0,
|
|
2798
|
+
Germany = 1,
|
|
2799
|
+
Austria = 2,
|
|
2800
|
+
Switzerland = 3,
|
|
2801
|
+
Netherlands = 4,
|
|
2802
|
+
UnitedKingdom = 5,
|
|
2803
|
+
UnitedStatesOfAmerica = 6,
|
|
2804
|
+
France = 7,
|
|
2805
|
+
Poland = 8,
|
|
2806
|
+
Italy = 9,
|
|
2807
|
+
Spain = 10
|
|
2808
|
+
}
|
|
2809
|
+
export declare enum DateTimeFormat {
|
|
2810
|
+
DayFormat = 0,
|
|
2811
|
+
HourFormat = 1,
|
|
2812
|
+
JustNow = 2,
|
|
2813
|
+
MinuteFormat = 3,
|
|
2814
|
+
MonthFormat = 4,
|
|
2815
|
+
YearFormat = 5
|
|
2816
|
+
}
|
|
2817
|
+
export declare enum DispatchGroupAvailabilityState {
|
|
2818
|
+
/**
|
|
2819
|
+
* The dispatch group is unavailable.
|
|
2820
|
+
*
|
|
2821
|
+
*/
|
|
2822
|
+
Unavailable = 0,
|
|
2823
|
+
/**
|
|
2824
|
+
* The dispatch group is partially available.
|
|
2825
|
+
*
|
|
2826
|
+
*/
|
|
2827
|
+
PartiallyAvailable = 1,
|
|
2828
|
+
/**
|
|
2829
|
+
* The dispatch group is fully available.
|
|
2830
|
+
*
|
|
2831
|
+
*/
|
|
2832
|
+
FullyAvailable = 2
|
|
2833
|
+
}
|
|
2834
|
+
export interface EmailReceiver {
|
|
2835
|
+
/**
|
|
2836
|
+
* Gets the optional name of the receiver.
|
|
2837
|
+
*
|
|
2838
|
+
*/
|
|
2839
|
+
name: string;
|
|
2840
|
+
/**
|
|
2841
|
+
* Gets the email address of the receiver.
|
|
2842
|
+
*
|
|
2843
|
+
*/
|
|
2844
|
+
email: string;
|
|
2845
|
+
}
|
|
2846
|
+
export declare enum Gender {
|
|
2847
|
+
/**
|
|
2848
|
+
* Represents the male gender.
|
|
2849
|
+
*
|
|
2850
|
+
*/
|
|
2851
|
+
Male = 0,
|
|
2852
|
+
/**
|
|
2853
|
+
* Represents the female gender.
|
|
2854
|
+
*
|
|
2855
|
+
*/
|
|
2856
|
+
Female = 1,
|
|
2857
|
+
/**
|
|
2858
|
+
* Represents a non-binary gender.
|
|
2859
|
+
*
|
|
2860
|
+
*/
|
|
2861
|
+
NonBinary = 2
|
|
2862
|
+
}
|
|
2863
|
+
export declare enum GeoProvider {
|
|
2864
|
+
Mapbox = 0,
|
|
2865
|
+
TomTom = 1,
|
|
2866
|
+
Bing = 2,
|
|
2867
|
+
Google = 3,
|
|
2868
|
+
Here = 4
|
|
2869
|
+
}
|
|
2870
|
+
export declare enum LocationAccuracy {
|
|
2871
|
+
NotSet = 0,
|
|
2872
|
+
District = 1,
|
|
2873
|
+
Street = 2,
|
|
2874
|
+
HouseNumber = 3,
|
|
2875
|
+
Object = 4
|
|
2876
|
+
}
|
|
2877
|
+
export declare enum MissionCategory {
|
|
2878
|
+
/**
|
|
2879
|
+
* Represents a standard non-urgent ambulance transport mission.
|
|
2880
|
+
*
|
|
2881
|
+
*/
|
|
2882
|
+
AmbulanceRegular = 1,
|
|
2883
|
+
/**
|
|
2884
|
+
* Denotes an urgent ambulance mission requiring rapid response.
|
|
2885
|
+
*
|
|
2886
|
+
*/
|
|
2887
|
+
AmbulanceUrgent = 2,
|
|
2888
|
+
/**
|
|
2889
|
+
* Indicates an urgent ambulance mission that also requires a doctor on board.
|
|
2890
|
+
*
|
|
2891
|
+
*/
|
|
2892
|
+
AmbulanceUrgentWithDoctor = 3,
|
|
2893
|
+
/**
|
|
2894
|
+
* Refers to a mission for transferring a patient requiring intensive care unit (ICU) support.
|
|
2895
|
+
*
|
|
2896
|
+
*/
|
|
2897
|
+
IcuTransfer = 4,
|
|
2898
|
+
/**
|
|
2899
|
+
* Encompasses missions related to fire incidents and rescue operations.
|
|
2900
|
+
*
|
|
2901
|
+
*/
|
|
2902
|
+
FireAndRescue = 5
|
|
2903
|
+
}
|
|
2904
|
+
export declare enum NotificationCategory {
|
|
2905
|
+
/**
|
|
2906
|
+
* Represents an informational notification.
|
|
2907
|
+
*
|
|
2908
|
+
*/
|
|
2909
|
+
Information = 0,
|
|
2910
|
+
/**
|
|
2911
|
+
* Notification indicating a change in unit status.
|
|
2912
|
+
*
|
|
2913
|
+
*/
|
|
2914
|
+
UnitStatusChange = 1,
|
|
2915
|
+
/**
|
|
2916
|
+
* Notification indicating a unit dispatch.
|
|
2917
|
+
*
|
|
2918
|
+
*/
|
|
2919
|
+
UnitDispatch = 2,
|
|
2920
|
+
/**
|
|
2921
|
+
* Notification for a unit's speak request.
|
|
2922
|
+
*
|
|
2923
|
+
*/
|
|
2924
|
+
UnitSpeakRequest = 3,
|
|
2925
|
+
/**
|
|
2926
|
+
* Urgent notification for a unit's speak request.
|
|
2927
|
+
*
|
|
2928
|
+
*/
|
|
2929
|
+
UnitSpeakRequestUrgent = 4,
|
|
2930
|
+
/**
|
|
2931
|
+
* Notification indicating a change in workplace.
|
|
2932
|
+
*
|
|
2933
|
+
*/
|
|
2934
|
+
WorkplaceChanged = 5,
|
|
2935
|
+
/**
|
|
2936
|
+
* Notification triggered by a fire alarm system.
|
|
2937
|
+
*
|
|
2938
|
+
*/
|
|
2939
|
+
TriggeredFireAlarmSystem = 6,
|
|
2940
|
+
/**
|
|
2941
|
+
* Reminder notification for a scheduled pick-up.
|
|
2942
|
+
*
|
|
2943
|
+
*/
|
|
2944
|
+
ScheduledPickUpReminder = 7,
|
|
2945
|
+
/**
|
|
2946
|
+
* Notification containing a server message.
|
|
2947
|
+
*
|
|
2948
|
+
*/
|
|
2949
|
+
ServerMessage = 8,
|
|
2950
|
+
/**
|
|
2951
|
+
* Notification indicating an open task.
|
|
2952
|
+
*
|
|
2953
|
+
*/
|
|
2954
|
+
OpenTask = 9
|
|
2955
|
+
}
|
|
2956
|
+
export declare enum OperationEventCategory {
|
|
2957
|
+
/**
|
|
2958
|
+
* Indicates that the operation was created.
|
|
2959
|
+
*
|
|
2960
|
+
*/
|
|
2961
|
+
Created = 0,
|
|
2962
|
+
/**
|
|
2963
|
+
* Represents a change in a property of the operation.
|
|
2964
|
+
*
|
|
2965
|
+
*/
|
|
2966
|
+
ChangedProperty = 1,
|
|
2967
|
+
/**
|
|
2968
|
+
* Represents a suggestion for unit assignment within the operation.
|
|
2969
|
+
*
|
|
2970
|
+
*/
|
|
2971
|
+
UnitSuggestion = 2,
|
|
2972
|
+
/**
|
|
2973
|
+
* Indicates that a dispatch action occurred within the operation.
|
|
2974
|
+
*
|
|
2975
|
+
*/
|
|
2976
|
+
Dispatch = 3,
|
|
2977
|
+
/**
|
|
2978
|
+
* Represents a status update for a unit involved in the operation.
|
|
2979
|
+
*
|
|
2980
|
+
*/
|
|
2981
|
+
UnitStatus = 4,
|
|
2982
|
+
/**
|
|
2983
|
+
* Represents a task-related event within the operation.
|
|
2984
|
+
*
|
|
2985
|
+
*/
|
|
2986
|
+
Task = 5
|
|
2987
|
+
}
|
|
2988
|
+
export declare enum OperationPriority {
|
|
2989
|
+
/**
|
|
2990
|
+
* The priority has not been set, indicating an undefined or initial state.
|
|
2991
|
+
*
|
|
2992
|
+
*/
|
|
2993
|
+
NotSet = 0,
|
|
2994
|
+
/**
|
|
2995
|
+
* Low priority - situations that do not pose immediate threats to life, health, property, or the environment. These are routine operations or minor incidents requiring standard, non-urgent responses.
|
|
2996
|
+
*
|
|
2997
|
+
*/
|
|
2998
|
+
Low = 1,
|
|
2999
|
+
/**
|
|
3000
|
+
* Medium priority - incidents that could potentially escalate in severity but do not currently pose an immediate threat to life or property. Requires coordinated response to prevent escalation.
|
|
3001
|
+
*
|
|
3002
|
+
*/
|
|
3003
|
+
Medium = 2,
|
|
3004
|
+
/**
|
|
3005
|
+
* High priority - incidents that pose immediate and significant threats to life, health, property, or the environment. Such emergencies require a rapid and comprehensive response to mitigate impacts.
|
|
3006
|
+
*
|
|
3007
|
+
*/
|
|
3008
|
+
High = 3,
|
|
3009
|
+
/**
|
|
3010
|
+
* Critical priority - the highest level of emergency, typically involving severe and widespread impact. Demands an immediate response and often requires significant resources and coordination among multiple agencies, with sustained efforts in recovery and mitigation.
|
|
3011
|
+
*
|
|
3012
|
+
*/
|
|
3013
|
+
Critical = 4
|
|
3014
|
+
}
|
|
3015
|
+
export declare enum OperationStatus {
|
|
3016
|
+
/**
|
|
3017
|
+
* Created - The operation has been initiated but planning and resource allocation have not yet begun.
|
|
3018
|
+
*
|
|
3019
|
+
*/
|
|
3020
|
+
Created = 0,
|
|
3021
|
+
/**
|
|
3022
|
+
* Planned - The operation has been scheduled and necessary preparations are set, such as setting a date.
|
|
3023
|
+
*
|
|
3024
|
+
*/
|
|
3025
|
+
Planned = 1,
|
|
3026
|
+
/**
|
|
3027
|
+
* DispatchRequired - The operation is ready to proceed but requires dispatching of resources or personnel.
|
|
3028
|
+
*
|
|
3029
|
+
*/
|
|
3030
|
+
DispatchRequired = 2,
|
|
3031
|
+
/**
|
|
3032
|
+
* Dispatched - Resources and personnel have been dispatched to the operation site.
|
|
3033
|
+
*
|
|
3034
|
+
*/
|
|
3035
|
+
Dispatched = 3,
|
|
3036
|
+
/**
|
|
3037
|
+
* AllResourcesOut - All resources have been withdrawn from the scene, indicating that active management of the scene has ended.
|
|
3038
|
+
*
|
|
3039
|
+
*/
|
|
3040
|
+
AllResourcesOut = 4,
|
|
3041
|
+
/**
|
|
3042
|
+
* Finished - The operation has been officially closed or marked as completed by the dispatcher.
|
|
3043
|
+
*
|
|
3044
|
+
*/
|
|
3045
|
+
Finished = 5
|
|
3046
|
+
}
|
|
3047
|
+
export declare enum PoiCategory {
|
|
3048
|
+
PickupPoint = 0,
|
|
3049
|
+
NursingHome = 1,
|
|
3050
|
+
OutpatientCenter = 2,
|
|
3051
|
+
Highway = 3,
|
|
3052
|
+
RailroadCrossing = 4,
|
|
3053
|
+
BankBranch = 5,
|
|
3054
|
+
Farm = 6,
|
|
3055
|
+
BurialSite = 7,
|
|
3056
|
+
BloodBank = 8,
|
|
3057
|
+
DialysisCenter = 9,
|
|
3058
|
+
Nightclub = 10,
|
|
3059
|
+
ShoppingCenter = 11,
|
|
3060
|
+
LongDistanceTrainStation = 12,
|
|
3061
|
+
FireDepartment = 13,
|
|
3062
|
+
FireStation = 14,
|
|
3063
|
+
RiverLocksForShips = 15,
|
|
3064
|
+
PublicSwimmingPool = 16,
|
|
3065
|
+
AmusementPark = 17,
|
|
3066
|
+
SoccerField = 18,
|
|
3067
|
+
HospitalityEstablishment = 19,
|
|
3068
|
+
HouseOfWorship = 20,
|
|
3069
|
+
MajorAirport = 21,
|
|
3070
|
+
LargeShoppingCenter = 22,
|
|
3071
|
+
LargeCompanyOrIndustry = 23,
|
|
3072
|
+
CraftBusinessOrIndustry = 24,
|
|
3073
|
+
DeepSeaPort = 25,
|
|
3074
|
+
YouthHostel = 26,
|
|
3075
|
+
Prison = 27,
|
|
3076
|
+
Kindergarten = 28,
|
|
3077
|
+
SmallRegionalAirport = 29,
|
|
3078
|
+
Hospital = 30,
|
|
3079
|
+
AirRescueCenter = 34,
|
|
3080
|
+
OperaHouseTheaterFestivalsMuseums = 35,
|
|
3081
|
+
LocalOrganizationOrNGO = 36,
|
|
3082
|
+
ParkLocalGreenArea = 37,
|
|
3083
|
+
PoliceStation = 38,
|
|
3084
|
+
RegionalTrainStation = 39,
|
|
3085
|
+
AmbulanceStation = 40,
|
|
3086
|
+
CastleOrFortress = 41,
|
|
3087
|
+
School = 42,
|
|
3088
|
+
SwimmingPool = 43,
|
|
3089
|
+
Lake = 44,
|
|
3090
|
+
SportsArenaOrStadium = 45,
|
|
3091
|
+
Beach = 46,
|
|
3092
|
+
RiverBridge = 47,
|
|
3093
|
+
RoadTunnel = 48,
|
|
3094
|
+
GasStation = 49,
|
|
3095
|
+
Campsite = 50,
|
|
3096
|
+
Bridge = 51,
|
|
3097
|
+
Forest = 52,
|
|
3098
|
+
RidingStable = 53,
|
|
3099
|
+
MedicalPractice = 54,
|
|
3100
|
+
RuralArea = 55,
|
|
3101
|
+
RehabilitationClinic = 56,
|
|
3102
|
+
RoadServices = 57,
|
|
3103
|
+
EnergyServices = 58,
|
|
3104
|
+
NotSet = -1
|
|
3105
|
+
}
|
|
3106
|
+
export declare enum PoiHospitalDepartment {
|
|
3107
|
+
Ophthalmology = 0,
|
|
3108
|
+
BurnUnit = 1,
|
|
3109
|
+
TraumaSurgery = 2,
|
|
3110
|
+
SurgicalIntensiveCare = 3,
|
|
3111
|
+
CT = 4,
|
|
3112
|
+
Dermatology = 5,
|
|
3113
|
+
HyperbaricChamber = 6,
|
|
3114
|
+
VascularSurgery = 7,
|
|
3115
|
+
Gynecology = 8,
|
|
3116
|
+
ChestPainUnit = 9,
|
|
3117
|
+
EarNoseAndThroat = 10,
|
|
3118
|
+
MedicalIntensiveCare = 11,
|
|
3119
|
+
EmergencyDepartment = 12,
|
|
3120
|
+
Cardiology = 13,
|
|
3121
|
+
DeliveryRoom = 14,
|
|
3122
|
+
MRI = 15,
|
|
3123
|
+
MaxillofacialSurgery = 16,
|
|
3124
|
+
Neurosurgery = 17,
|
|
3125
|
+
Neurology = 18,
|
|
3126
|
+
ShockRoom = 19,
|
|
3127
|
+
NuclearMedicine = 20,
|
|
3128
|
+
Oncology = 21,
|
|
3129
|
+
Psychiatry = 22,
|
|
3130
|
+
Pediatrics = 23,
|
|
3131
|
+
StrokeUnit = 24,
|
|
3132
|
+
Urology = 25
|
|
3133
|
+
}
|
|
3134
|
+
export declare enum ProblemInformation {
|
|
3135
|
+
UnhandledProblem = 0,
|
|
3136
|
+
ValidationProblem = 1,
|
|
3137
|
+
TokenLifetimeInvalid = 2,
|
|
3138
|
+
TokenDescriptionRequired = 3,
|
|
3139
|
+
NumberExpected = 4,
|
|
3140
|
+
DispatchCenterNotFound = 5,
|
|
3141
|
+
UserNotFound = 6,
|
|
3142
|
+
UnitNotFound = 7,
|
|
3143
|
+
KeywordNotFound = 8,
|
|
3144
|
+
PoiNotFound = 9,
|
|
3145
|
+
RadiogroupNotFound = 10,
|
|
3146
|
+
StatuspageNotFound = 11,
|
|
3147
|
+
CallsignShortIsRequired = 12,
|
|
3148
|
+
CallsignIsRequired = 13,
|
|
3149
|
+
UnitCategoryNotFound = 14,
|
|
3150
|
+
UnitStationPoiIsInvalid = 15,
|
|
3151
|
+
UnitStationPoiIsRequired = 16,
|
|
3152
|
+
UnitStationPoiNotFound = 17,
|
|
3153
|
+
UnitDoctorPickupPoiNotFound = 18,
|
|
3154
|
+
UnitDoctorPickupPoiIsRequired = 19,
|
|
3155
|
+
CallsignFormatInvalid = 20,
|
|
3156
|
+
CallsignAlreadyExists = 21,
|
|
3157
|
+
CallsignShortAlreadyExists = 22,
|
|
3158
|
+
CallsignShortFormatInvalid = 23,
|
|
3159
|
+
CallsignVerbalFormatInvalid = 24,
|
|
3160
|
+
CallsignGpsFormatInvalid = 25,
|
|
3161
|
+
DutyPeriodsIsRequired = 26,
|
|
3162
|
+
StatuspageNameIsRequired = 27,
|
|
3163
|
+
StatuspageUnitGroupIsRequired = 28,
|
|
3164
|
+
StatuspageUnitIdIsRequired = 29,
|
|
3165
|
+
StatuspageUnitNotFound = 30,
|
|
3166
|
+
StatuspageNameFormatInvalid = 31,
|
|
3167
|
+
StatuspageDescriptionFormatInvalid = 32,
|
|
3168
|
+
StatuspageSortNumberFormatInvalid = 33,
|
|
3169
|
+
RadiogroupNameIsRequired = 34,
|
|
3170
|
+
RadiogroupNameAlreadyExists = 35,
|
|
3171
|
+
RadiogroupDispatchCenterCallsignIsRequired = 36,
|
|
3172
|
+
RadiogroupNameFormatInvalid = 37,
|
|
3173
|
+
RadiogroupDispatchCenterCallsignFormatInvalid = 38,
|
|
3174
|
+
KeywordNameIsRequired = 39,
|
|
3175
|
+
KeywordNameAlreadyExists = 40,
|
|
3176
|
+
KeywordNameFormatInvalid = 41,
|
|
3177
|
+
KeywordDispatchAmountFormatInvalid = 42,
|
|
3178
|
+
KeywordRequiredEquipmentAmountFormatInvalid = 43,
|
|
3179
|
+
KeywordTaskNameIsRequired = 44,
|
|
3180
|
+
PoiHasUnitsAssigned = 45,
|
|
3181
|
+
PoiNameIsRequired = 46,
|
|
3182
|
+
PoiAddressNotFound = 47,
|
|
3183
|
+
PoiNameAlreadyExists = 48,
|
|
3184
|
+
PoiCategoryNotFound = 49,
|
|
3185
|
+
PoiNameFormatInvalid = 50,
|
|
3186
|
+
PoiVerbalNameFormatInvalid = 51,
|
|
3187
|
+
PoiGermanGenusFormatInvalid = 52,
|
|
3188
|
+
PoiHouseNumberFormatInvalid = 53,
|
|
3189
|
+
PoiBonusMalusFormatInvalid = 54,
|
|
3190
|
+
PoiSearchTagsFormatInvalid = 55,
|
|
3191
|
+
AreaNotFound = 56,
|
|
3192
|
+
AreaDistrictIsRequired = 57,
|
|
3193
|
+
AreaDistrictNotFound = 58,
|
|
3194
|
+
AreaIncreaseFormatInvalid = 59,
|
|
3195
|
+
AlreadyFriendsOrOpenRequest = 60,
|
|
3196
|
+
CanNotFriendYourself = 61,
|
|
3197
|
+
FriendRequestNotFound = 62,
|
|
3198
|
+
MissionLoadNotFound = 63,
|
|
3199
|
+
MissionLoadCategoryNotFound = 64,
|
|
3200
|
+
MissionLoadHourFormatInvalid = 65,
|
|
3201
|
+
MissionLoadAmountIsInvalid = 66,
|
|
3202
|
+
MissionLoadHourAlreadyExists = 67,
|
|
3203
|
+
DispatchCenterNameIsRequired = 68,
|
|
3204
|
+
DispatchCenterAddressNotFound = 69,
|
|
3205
|
+
DispatchCenterAddressPackageNotFound = 70,
|
|
3206
|
+
DispatchCenterMaxUsersFormatInvalid = 71,
|
|
3207
|
+
DispatchCenterCallNumberOfficeFormatInvalid = 72,
|
|
3208
|
+
DispatchCenterCallNumberEmergencyFormatInvalid = 73,
|
|
3209
|
+
DispatchCenterCallNumberPatientTransportFormatInvalid = 74,
|
|
3210
|
+
DispatchCenterCallTextEmergencyFormatInvalid = 75,
|
|
3211
|
+
DispatchCenterCallTextOfficeFormatInvalid = 76,
|
|
3212
|
+
DispatchCenterCallTextPatientTransportFormatInvalid = 77,
|
|
3213
|
+
DispatchCenterKeywordsPerOperationFormatInvalid = 78,
|
|
3214
|
+
DispatchCenterCustomGeocodingSearchFormatFormatInvalid = 79,
|
|
3215
|
+
DispatchCenterCategoryNotFound = 80,
|
|
3216
|
+
FileToLarge = 81,
|
|
3217
|
+
FileFormatNotSupported = 82,
|
|
3218
|
+
FileNotFound = 83,
|
|
3219
|
+
SessionAlreadyExistsWithSameDispatchCenter = 84,
|
|
3220
|
+
SessionNotFound = 85,
|
|
3221
|
+
SessionCreationFailed = 86,
|
|
3222
|
+
UserAlreadyOwnsThis = 87,
|
|
3223
|
+
AddressPackageIsNotSet = 88,
|
|
3224
|
+
RealmIdIsRequired = 89,
|
|
3225
|
+
RealmHostnameIsRequired = 90,
|
|
3226
|
+
RealmHostnameInternalIsRequired = 91,
|
|
3227
|
+
RealmDisplayNameIsRequired = 92,
|
|
3228
|
+
RealmVersionIsRequired = 93,
|
|
3229
|
+
RealmCountryIsRequired = 94,
|
|
3230
|
+
RealmRunningSinceIsRequired = 95,
|
|
3231
|
+
UrlFormatInvalid = 96,
|
|
3232
|
+
HttpMethodFormatInvalid = 97,
|
|
3233
|
+
UrlFormatProtocolInvalid = 98,
|
|
3234
|
+
ManagedSessionNotFound = 99,
|
|
3235
|
+
NoRealmAvailable = 100,
|
|
3236
|
+
TokenNameRequired = 101,
|
|
3237
|
+
TokenNameFormatInvalid = 102,
|
|
3238
|
+
TooManyManagedSessions = 103,
|
|
3239
|
+
CoordinatesFormatInvalid = 104
|
|
3240
|
+
}
|
|
3241
|
+
export declare enum SessionEventType {
|
|
3242
|
+
/**
|
|
3243
|
+
* Indicates that a session is available.
|
|
3244
|
+
*
|
|
3245
|
+
*/
|
|
3246
|
+
SessionAvailable = 0,
|
|
3247
|
+
/**
|
|
3248
|
+
* Indicates that a session is unavailable.
|
|
3249
|
+
*
|
|
3250
|
+
*/
|
|
3251
|
+
SessionUnavailable = 1,
|
|
3252
|
+
/**
|
|
3253
|
+
* Indicates that the workplace has changed.
|
|
3254
|
+
*
|
|
3255
|
+
*/
|
|
3256
|
+
WorkplaceChanged = 2,
|
|
3257
|
+
/**
|
|
3258
|
+
* Indicates that a new operation has been created.
|
|
3259
|
+
*
|
|
3260
|
+
*/
|
|
3261
|
+
OperationCreated = 3,
|
|
3262
|
+
/**
|
|
3263
|
+
* Indicates that a property of an operation has changed.
|
|
3264
|
+
*
|
|
3265
|
+
*/
|
|
3266
|
+
OperationPropertyChanged = 4,
|
|
3267
|
+
/**
|
|
3268
|
+
* Indicates that a new event has been created within an operation.
|
|
3269
|
+
*
|
|
3270
|
+
*/
|
|
3271
|
+
OperationEventCreated = 5,
|
|
3272
|
+
/**
|
|
3273
|
+
* Indicates that documentation for an operation has been created.
|
|
3274
|
+
*
|
|
3275
|
+
*/
|
|
3276
|
+
OperationDocumentationCreated = 6,
|
|
3277
|
+
/**
|
|
3278
|
+
* Indicates that a patient record for an operation has been created.
|
|
3279
|
+
*
|
|
3280
|
+
*/
|
|
3281
|
+
OperationPatientCreated = 7,
|
|
3282
|
+
/**
|
|
3283
|
+
* Indicates that a task within an operation has been created.
|
|
3284
|
+
*
|
|
3285
|
+
*/
|
|
3286
|
+
OperationTaskCreated = 8,
|
|
3287
|
+
/**
|
|
3288
|
+
* Indicates that a task within an operation has been removed.
|
|
3289
|
+
*
|
|
3290
|
+
*/
|
|
3291
|
+
OperationTaskRemoved = 9,
|
|
3292
|
+
/**
|
|
3293
|
+
* Indicates that a task within an operation is set to execute.
|
|
3294
|
+
*
|
|
3295
|
+
*/
|
|
3296
|
+
OperationTaskExecute = 10,
|
|
3297
|
+
/**
|
|
3298
|
+
* Indicates that a resource is now suggested for use.
|
|
3299
|
+
*
|
|
3300
|
+
*/
|
|
3301
|
+
ResourceNowSuggested = 11,
|
|
3302
|
+
/**
|
|
3303
|
+
* Indicates that a resource is no longer suggested for use.
|
|
3304
|
+
*
|
|
3305
|
+
*/
|
|
3306
|
+
ResourceNoLongerSuggested = 12,
|
|
3307
|
+
/**
|
|
3308
|
+
* Indicates that the status of a resource has changed.
|
|
3309
|
+
*
|
|
3310
|
+
*/
|
|
3311
|
+
ResourceStatusChanged = 13,
|
|
3312
|
+
/**
|
|
3313
|
+
* Indicates that a resource has been dispatched.
|
|
3314
|
+
*
|
|
3315
|
+
*/
|
|
3316
|
+
ResourceDispatched = 14,
|
|
3317
|
+
/**
|
|
3318
|
+
* Indicates that the dispatch of a resource has been canceled.
|
|
3319
|
+
*
|
|
3320
|
+
*/
|
|
3321
|
+
ResourceDispatchCanceled = 15,
|
|
3322
|
+
/**
|
|
3323
|
+
* Indicates that the dispatch of a resource has been completed.
|
|
3324
|
+
*
|
|
3325
|
+
*/
|
|
3326
|
+
ResourceDispatchCompleted = 16,
|
|
3327
|
+
/**
|
|
3328
|
+
* Indicates that the position of a resource has changed.
|
|
3329
|
+
*
|
|
3330
|
+
*/
|
|
3331
|
+
ResourcePositionChanged = 17,
|
|
3332
|
+
/**
|
|
3333
|
+
* Indicates a request for a resource to speak.
|
|
3334
|
+
*
|
|
3335
|
+
*/
|
|
3336
|
+
ResourceSpeakRequest = 18,
|
|
3337
|
+
/**
|
|
3338
|
+
* Indicates that a notification has been created.
|
|
3339
|
+
*
|
|
3340
|
+
*/
|
|
3341
|
+
NotificationCreated = 19
|
|
3342
|
+
}
|
|
3343
|
+
export declare enum SessionState {
|
|
3344
|
+
/**
|
|
3345
|
+
* The session has been requested but not yet processed.
|
|
3346
|
+
*
|
|
3347
|
+
*/
|
|
3348
|
+
Requested = 0,
|
|
3349
|
+
/**
|
|
3350
|
+
* The session is ready for use.
|
|
3351
|
+
*
|
|
3352
|
+
*/
|
|
3353
|
+
Ready = 100,
|
|
3354
|
+
/**
|
|
3355
|
+
* The session has failed due to an error or issue.
|
|
3356
|
+
*
|
|
3357
|
+
*/
|
|
3358
|
+
Failed = 200
|
|
3359
|
+
}
|
|
3360
|
+
export declare enum SessionWebhookMethod {
|
|
3361
|
+
GET = 0,
|
|
3362
|
+
POST = 1,
|
|
3363
|
+
PUT = 2,
|
|
3364
|
+
DELETE = 3
|
|
3365
|
+
}
|
|
3366
|
+
export declare enum Sound {
|
|
3367
|
+
/**
|
|
3368
|
+
* The sound for an emergency ringtone.
|
|
3369
|
+
*
|
|
3370
|
+
*/
|
|
3371
|
+
RingtoneEmergency = 1,
|
|
3372
|
+
/**
|
|
3373
|
+
* The sound for an office ringtone.
|
|
3374
|
+
*
|
|
3375
|
+
*/
|
|
3376
|
+
RingtoneOffice = 2,
|
|
3377
|
+
/**
|
|
3378
|
+
* The sound for an incoming radio communication.
|
|
3379
|
+
*
|
|
3380
|
+
*/
|
|
3381
|
+
RadioIncoming = 3,
|
|
3382
|
+
/**
|
|
3383
|
+
* The sound for an outgoing radio communication.
|
|
3384
|
+
*
|
|
3385
|
+
*/
|
|
3386
|
+
RadioOutgoing = 4,
|
|
3387
|
+
/**
|
|
3388
|
+
* The sound for a fire alarm system notification.
|
|
3389
|
+
*
|
|
3390
|
+
*/
|
|
3391
|
+
FireAlarmSystem = 5,
|
|
3392
|
+
/**
|
|
3393
|
+
* The sound for a reminder notification.
|
|
3394
|
+
*
|
|
3395
|
+
*/
|
|
3396
|
+
Reminder = 6,
|
|
3397
|
+
/**
|
|
3398
|
+
* The sound for a speak request notification.
|
|
3399
|
+
*
|
|
3400
|
+
*/
|
|
3401
|
+
SpeakRequest = 7,
|
|
3402
|
+
/**
|
|
3403
|
+
* The sound for an urgent speak request notification.
|
|
3404
|
+
*
|
|
3405
|
+
*/
|
|
3406
|
+
UrgentSpeakRequest = 8,
|
|
3407
|
+
/**
|
|
3408
|
+
* The sound for a dispatch notification.
|
|
3409
|
+
*
|
|
3410
|
+
*/
|
|
3411
|
+
Dispatch = 9,
|
|
3412
|
+
/**
|
|
3413
|
+
* The sound for a status change notification.
|
|
3414
|
+
*
|
|
3415
|
+
*/
|
|
3416
|
+
StatusChange = 10
|
|
3417
|
+
}
|
|
3418
|
+
export declare enum StatuspageDisplayOption {
|
|
3419
|
+
CallSign = 0,
|
|
3420
|
+
CallSignShort = 1
|
|
3421
|
+
}
|
|
3422
|
+
export interface TaskCondition {
|
|
3423
|
+
/**
|
|
3424
|
+
* Gets or sets the field to which the condition applies.
|
|
3425
|
+
*
|
|
3426
|
+
*/
|
|
3427
|
+
field: TaskConditionField;
|
|
3428
|
+
/**
|
|
3429
|
+
* Gets or sets the operator used in the condition.
|
|
3430
|
+
*
|
|
3431
|
+
*/
|
|
3432
|
+
operator: TaskConditionOperator;
|
|
3433
|
+
/**
|
|
3434
|
+
* Gets or sets the value used in the condition.
|
|
3435
|
+
*
|
|
3436
|
+
*/
|
|
3437
|
+
value: string;
|
|
3438
|
+
}
|
|
3439
|
+
export declare enum TaskConditionField {
|
|
3440
|
+
/**
|
|
3441
|
+
* Represents the field for a condition.
|
|
3442
|
+
*
|
|
3443
|
+
*/
|
|
3444
|
+
Location = 0,
|
|
3445
|
+
/**
|
|
3446
|
+
* Represents the district within the in the field for a condition.
|
|
3447
|
+
*
|
|
3448
|
+
*/
|
|
3449
|
+
LocationDistrict = 1,
|
|
3450
|
+
/**
|
|
3451
|
+
* Represents the city within the in the field for a condition.
|
|
3452
|
+
*
|
|
3453
|
+
*/
|
|
3454
|
+
LocationCity = 2,
|
|
3455
|
+
/**
|
|
3456
|
+
* Represents the object ID within the in the field for a condition.
|
|
3457
|
+
*
|
|
3458
|
+
*/
|
|
3459
|
+
LocationPoiId = 3,
|
|
3460
|
+
/**
|
|
3461
|
+
* Represents the object name within the in the field for a condition.
|
|
3462
|
+
*
|
|
3463
|
+
*/
|
|
3464
|
+
LocationPoiName = 4,
|
|
3465
|
+
/**
|
|
3466
|
+
* Represents the keyword name within the field for a condition.
|
|
3467
|
+
*
|
|
3468
|
+
*/
|
|
3469
|
+
Keyword = 5,
|
|
3470
|
+
/**
|
|
3471
|
+
* Represents the resource field for a condition.
|
|
3472
|
+
*
|
|
3473
|
+
*/
|
|
3474
|
+
Resource = 6,
|
|
3475
|
+
/**
|
|
3476
|
+
* Represents the resource field for a condition.
|
|
3477
|
+
*
|
|
3478
|
+
*/
|
|
3479
|
+
ResourceStation = 7
|
|
3480
|
+
}
|
|
3481
|
+
export declare enum TaskConditionOperator {
|
|
3482
|
+
/**
|
|
3483
|
+
* Specifies that the condition should check if a value contains a specified substring.
|
|
3484
|
+
*
|
|
3485
|
+
*/
|
|
3486
|
+
Contains = 0,
|
|
3487
|
+
/**
|
|
3488
|
+
* Specifies that the condition should check if a value does not contain a specified substring.
|
|
3489
|
+
*
|
|
3490
|
+
*/
|
|
3491
|
+
DoesNotContain = 1,
|
|
3492
|
+
/**
|
|
3493
|
+
* Specifies that the condition should check if a value starts with a specified substring.
|
|
3494
|
+
*
|
|
3495
|
+
*/
|
|
3496
|
+
StartsWith = 2,
|
|
3497
|
+
/**
|
|
3498
|
+
* Specifies that the condition should check if a value ends with a specified substring.
|
|
3499
|
+
*
|
|
3500
|
+
*/
|
|
3501
|
+
EndsWith = 3,
|
|
3502
|
+
Equals = 4
|
|
3503
|
+
}
|
|
3504
|
+
export declare enum TaskExecution {
|
|
3505
|
+
/**
|
|
3506
|
+
* Indicates the task should be manually executed once.
|
|
3507
|
+
*
|
|
3508
|
+
*/
|
|
3509
|
+
ManualOnce = 0,
|
|
3510
|
+
/**
|
|
3511
|
+
* Indicates the task can be manually executed multiple times.
|
|
3512
|
+
*
|
|
3513
|
+
*/
|
|
3514
|
+
ManualMultiple = 1,
|
|
3515
|
+
/**
|
|
3516
|
+
* Indicates the task should be automatically executed once.
|
|
3517
|
+
*
|
|
3518
|
+
*/
|
|
3519
|
+
AutomaticOnce = 2,
|
|
3520
|
+
/**
|
|
3521
|
+
* Indicates the task should always be automatically executed.
|
|
3522
|
+
*
|
|
3523
|
+
*/
|
|
3524
|
+
AutomaticAlways = 3
|
|
3525
|
+
}
|
|
3526
|
+
export declare enum TaskStatus {
|
|
3527
|
+
/**
|
|
3528
|
+
* Indicates the task is available to be picked up or started.
|
|
3529
|
+
*
|
|
3530
|
+
*/
|
|
3531
|
+
Available = 0,
|
|
3532
|
+
/**
|
|
3533
|
+
* Indicates the task is queued and awaiting execution.
|
|
3534
|
+
*
|
|
3535
|
+
*/
|
|
3536
|
+
InQueue = 1,
|
|
3537
|
+
/**
|
|
3538
|
+
* Indicates the task is currently being processed.
|
|
3539
|
+
*
|
|
3540
|
+
*/
|
|
3541
|
+
IsProcessing = 2,
|
|
3542
|
+
/**
|
|
3543
|
+
* Indicates the task has finished successfully.
|
|
3544
|
+
*
|
|
3545
|
+
*/
|
|
3546
|
+
Finished = 3,
|
|
3547
|
+
/**
|
|
3548
|
+
* Indicates the task has ended due to an error.
|
|
3549
|
+
*
|
|
3550
|
+
*/
|
|
3551
|
+
EndedWithError = 4
|
|
3552
|
+
}
|
|
3553
|
+
export declare enum UnitCategory {
|
|
3554
|
+
DLK = 0,
|
|
3555
|
+
ELW1 = 1,
|
|
3556
|
+
ELW2 = 2,
|
|
3557
|
+
GWG = 3,
|
|
3558
|
+
GWL = 4,
|
|
3559
|
+
GWDEKON = 5,
|
|
3560
|
+
HLF = 6,
|
|
3561
|
+
ITH = 7,
|
|
3562
|
+
ITW = 8,
|
|
3563
|
+
KDOW = 9,
|
|
3564
|
+
KLF = 10,
|
|
3565
|
+
KRBM = 11,
|
|
3566
|
+
STBM = 12,
|
|
3567
|
+
GEBM = 13,
|
|
3568
|
+
KTW = 14,
|
|
3569
|
+
LF = 15,
|
|
3570
|
+
LNA = 16,
|
|
3571
|
+
MLF = 17,
|
|
3572
|
+
MTW = 18,
|
|
3573
|
+
MZF = 19,
|
|
3574
|
+
NEF = 20,
|
|
3575
|
+
ORGL = 21,
|
|
3576
|
+
PKW = 22,
|
|
3577
|
+
RTH = 23,
|
|
3578
|
+
RTW = 24,
|
|
3579
|
+
RW = 25,
|
|
3580
|
+
SRTW = 26,
|
|
3581
|
+
TLF = 27,
|
|
3582
|
+
WLF = 28,
|
|
3583
|
+
NAW = 29,
|
|
3584
|
+
KEF = 30
|
|
3585
|
+
}
|
|
3586
|
+
export declare enum UnitDispatchOption {
|
|
3587
|
+
/**
|
|
3588
|
+
* Indicates a normal dispatch option.
|
|
3589
|
+
*
|
|
3590
|
+
*/
|
|
3591
|
+
Normal = 0,
|
|
3592
|
+
/**
|
|
3593
|
+
* Indicates that the unit should be excluded from automatic dispatch.
|
|
3594
|
+
*
|
|
3595
|
+
*/
|
|
3596
|
+
Exclude = 1,
|
|
3597
|
+
/**
|
|
3598
|
+
* Indicates that the unit should be dispatched based on the closest distance to the location, with a minimum distance override.
|
|
3599
|
+
*
|
|
3600
|
+
*/
|
|
3601
|
+
MinDistance = 2,
|
|
3602
|
+
/**
|
|
3603
|
+
* Indicates that the unit should be dispatched based on the closest distance to the location, with a maximum distance override.
|
|
3604
|
+
*
|
|
3605
|
+
*/
|
|
3606
|
+
MaxDistance = 3
|
|
3607
|
+
}
|
|
3608
|
+
export declare enum UnitDoctorOption {
|
|
3609
|
+
/**
|
|
3610
|
+
* Indicates that there is no doctor assigned to the unit.
|
|
3611
|
+
*
|
|
3612
|
+
*/
|
|
3613
|
+
NoDoctor = 0,
|
|
3614
|
+
/**
|
|
3615
|
+
* Indicates that the unit has a doctor assigned to it.
|
|
3616
|
+
*
|
|
3617
|
+
*/
|
|
3618
|
+
HasDoctor = 1,
|
|
3619
|
+
/**
|
|
3620
|
+
* Indicates that the doctor is picked up at the specified doctor pickup point of interest (POI) after dispatch. This option must be set at if is selected.
|
|
3621
|
+
*
|
|
3622
|
+
*/
|
|
3623
|
+
PickUpAtPoi = 2
|
|
3624
|
+
}
|
|
3625
|
+
export declare enum UnitDutyOptions {
|
|
3626
|
+
/**
|
|
3627
|
+
* The unit is always on duty.
|
|
3628
|
+
*
|
|
3629
|
+
*/
|
|
3630
|
+
AlwaysOnDuty = 0,
|
|
3631
|
+
/**
|
|
3632
|
+
* The unit is only on duty during specified duty periods. must be set.
|
|
3633
|
+
*
|
|
3634
|
+
*/
|
|
3635
|
+
OnlyOnPeriods = 1,
|
|
3636
|
+
/**
|
|
3637
|
+
* The unit is on duty during the day.
|
|
3638
|
+
*
|
|
3639
|
+
*/
|
|
3640
|
+
DuringDay = 2,
|
|
3641
|
+
/**
|
|
3642
|
+
* The unit is on duty during the night.
|
|
3643
|
+
*
|
|
3644
|
+
*/
|
|
3645
|
+
DuringNight = 3
|
|
3646
|
+
}
|
|
3647
|
+
export declare enum UnitEquipment {
|
|
3648
|
+
Lighting = 0,
|
|
3649
|
+
Boat = 1,
|
|
3650
|
+
Ventilator = 2,
|
|
3651
|
+
IceRescue = 3,
|
|
3652
|
+
Waterpump = 4,
|
|
3653
|
+
GasWarning = 5,
|
|
3654
|
+
AerialLadderTruck = 6,
|
|
3655
|
+
SmallFastExtinguishing = 7,
|
|
3656
|
+
Chainsaw = 8,
|
|
3657
|
+
OilDamage = 9,
|
|
3658
|
+
FoamExtinguishing = 10,
|
|
3659
|
+
RailroadKit = 11,
|
|
3660
|
+
BasketStretcher = 12,
|
|
3661
|
+
CutterSpreader = 13,
|
|
3662
|
+
JumpCushion = 14,
|
|
3663
|
+
DoorOpeningKit = 15,
|
|
3664
|
+
WaterDamage = 16,
|
|
3665
|
+
WatertankSmall = 17,
|
|
3666
|
+
WatertankMedium = 18,
|
|
3667
|
+
Commander = 19,
|
|
3668
|
+
Command = 20,
|
|
3669
|
+
Engine = 21,
|
|
3670
|
+
Tanker = 22,
|
|
3671
|
+
Ladder = 23,
|
|
3672
|
+
Custom1 = 25,
|
|
3673
|
+
Custom2 = 26,
|
|
3674
|
+
Custom3 = 27,
|
|
3675
|
+
Custom4 = 28,
|
|
3676
|
+
Custom5 = 29,
|
|
3677
|
+
Custom6 = 30,
|
|
3678
|
+
Custom7 = 31,
|
|
3679
|
+
Custom8 = 32,
|
|
3680
|
+
Custom9 = 33,
|
|
3681
|
+
Custom10 = 34,
|
|
3682
|
+
Custom11 = 35,
|
|
3683
|
+
Custom12 = 36,
|
|
3684
|
+
Custom13 = 37,
|
|
3685
|
+
Custom14 = 38,
|
|
3686
|
+
Custom15 = 39,
|
|
3687
|
+
Custom16 = 40,
|
|
3688
|
+
Custom17 = 41,
|
|
3689
|
+
Custom18 = 42,
|
|
3690
|
+
Custom19 = 43,
|
|
3691
|
+
Custom20 = 44
|
|
3692
|
+
}
|
|
3693
|
+
export declare enum UnitStatus {
|
|
3694
|
+
UrgentSpeakRequest = 0,
|
|
3695
|
+
OnDutyAlongWay = 1,
|
|
3696
|
+
OnDuty = 2,
|
|
3697
|
+
OnTheWay = 3,
|
|
3698
|
+
OnScene = 4,
|
|
3699
|
+
SpeakRequest = 5,
|
|
3700
|
+
NotOnDuty = 6,
|
|
3701
|
+
DriveToDestination = 7,
|
|
3702
|
+
ArrivedAtDestination = 8,
|
|
3703
|
+
Individual = 9
|
|
3704
|
+
}
|
|
3705
|
+
export declare enum UnitStatusNonPersistent {
|
|
3706
|
+
/**
|
|
3707
|
+
* Indicates that the current status is not allowed.
|
|
3708
|
+
*
|
|
3709
|
+
*/
|
|
3710
|
+
StatusNotAllowed = 0,
|
|
3711
|
+
/**
|
|
3712
|
+
* Indicates that a request to speak is pending.
|
|
3713
|
+
*
|
|
3714
|
+
*/
|
|
3715
|
+
PendingSpeakRequest = 1,
|
|
3716
|
+
/**
|
|
3717
|
+
* Indicates a prompt to speak.
|
|
3718
|
+
*
|
|
3719
|
+
*/
|
|
3720
|
+
SpeakPrompt = 2,
|
|
3721
|
+
/**
|
|
3722
|
+
* Indicates that the unit has been dispatched.
|
|
3723
|
+
*
|
|
3724
|
+
*/
|
|
3725
|
+
Dispatched = 3,
|
|
3726
|
+
/**
|
|
3727
|
+
* Indicates that the dispatch has been canceled.
|
|
3728
|
+
*
|
|
3729
|
+
*/
|
|
3730
|
+
CancelDispatch = 4
|
|
3731
|
+
}
|
|
3732
|
+
export declare enum WorkplaceStatus {
|
|
3733
|
+
/**
|
|
3734
|
+
* The workplace is off or inactive.
|
|
3735
|
+
*
|
|
3736
|
+
*/
|
|
3737
|
+
Off = 0,
|
|
3738
|
+
/**
|
|
3739
|
+
* The workplace is taken by a user, and the user is available.
|
|
3740
|
+
*
|
|
3741
|
+
*/
|
|
3742
|
+
Blue = 1,
|
|
3743
|
+
/**
|
|
3744
|
+
* The workplace is taken by a user, and the user is not available or in "do not disturb" mode.
|
|
3745
|
+
*
|
|
3746
|
+
*/
|
|
3747
|
+
Yellow = 2,
|
|
3748
|
+
/**
|
|
3749
|
+
* The workplace is taken by a user, and the user is currently on a call or using a phone or radio.
|
|
3750
|
+
*
|
|
3751
|
+
*/
|
|
3752
|
+
Red = 3
|
|
3753
|
+
}
|
|
3754
|
+
export declare enum DayOfWeek {
|
|
3755
|
+
Sunday = 0,
|
|
3756
|
+
Monday = 1,
|
|
3757
|
+
Tuesday = 2,
|
|
3758
|
+
Wednesday = 3,
|
|
3759
|
+
Thursday = 4,
|
|
3760
|
+
Friday = 5,
|
|
3761
|
+
Saturday = 6
|
|
3762
|
+
}
|
|
3763
|
+
export declare namespace GISDefaults {
|
|
3764
|
+
/**
|
|
3765
|
+
* The default format string used for geocoding search queries. This format is used to construct address queries when no custom format is specified in a command center's settings. It combines multiple address components into a single string that can be interpreted by geocoding services to locate precise geographical coordinates. The format includes placeholders for house number, street name, city name, district name, state name, and postal code.
|
|
3766
|
+
*
|
|
3767
|
+
*/
|
|
3768
|
+
const GeocodingSearchFormat: string;
|
|
3769
|
+
}
|
|
3770
|
+
export declare namespace SignalRDefaults {
|
|
3771
|
+
/**
|
|
3772
|
+
* The interval, in seconds, at which the SignalR client sends keep-alive messages to the server.
|
|
3773
|
+
*
|
|
3774
|
+
*/
|
|
3775
|
+
const KeepAliveIntervalSeconds: number;
|
|
3776
|
+
/**
|
|
3777
|
+
* The timeout, in seconds, for the SignalR server to wait before considering the client disconnected.
|
|
3778
|
+
*
|
|
3779
|
+
*
|
|
3780
|
+
* @remarks
|
|
3781
|
+
* This value represents the time to wait for a response. For example, two retries at 3 seconds each would result in a 6-second timeout, causing a failure.
|
|
3782
|
+
*/
|
|
3783
|
+
const ServerTimeoutSeconds: number;
|
|
3784
|
+
}
|
|
3785
|
+
export declare namespace SIMDispatcherDefaults {
|
|
3786
|
+
/**
|
|
3787
|
+
* URL for accessing forums.
|
|
3788
|
+
*
|
|
3789
|
+
*/
|
|
3790
|
+
const Forums: string;
|
|
3791
|
+
}
|
|
3792
|
+
export declare namespace UrlDefaults {
|
|
3793
|
+
/**
|
|
3794
|
+
* URL for contact the customer support.
|
|
3795
|
+
*
|
|
3796
|
+
*/
|
|
3797
|
+
const CustomerSupport: string;
|
|
3798
|
+
/**
|
|
3799
|
+
* URL for (developer) documentation.
|
|
3800
|
+
*
|
|
3801
|
+
*/
|
|
3802
|
+
const Docs: string;
|
|
3803
|
+
/**
|
|
3804
|
+
* URL of the bugtracker.
|
|
3805
|
+
*
|
|
3806
|
+
*/
|
|
3807
|
+
const Bugtracker: string;
|
|
3808
|
+
namespace Server {
|
|
3809
|
+
}
|
|
3810
|
+
}
|
|
3811
|
+
export declare namespace UserInterfaceDefaults {
|
|
3812
|
+
namespace UnitStatusBackground {
|
|
3813
|
+
const UrgentSpeakRequest: string;
|
|
3814
|
+
const OnDutyAlongWay: string;
|
|
3815
|
+
const OnDuty: string;
|
|
3816
|
+
const OnTheWay: string;
|
|
3817
|
+
const OnScene: string;
|
|
3818
|
+
const SpeakRequest: string;
|
|
3819
|
+
const NotOnDuty: string;
|
|
3820
|
+
const DriveToDestination: string;
|
|
3821
|
+
const ArrivedAtDestination: string;
|
|
3822
|
+
const Individual: string;
|
|
3823
|
+
}
|
|
3824
|
+
namespace UnitStatusForeground {
|
|
3825
|
+
const UrgentSpeakRequest: string;
|
|
3826
|
+
const OnDutyAlongWay: string;
|
|
3827
|
+
const OnDuty: string;
|
|
3828
|
+
const OnTheWay: string;
|
|
3829
|
+
const OnScene: string;
|
|
3830
|
+
const SpeakRequest: string;
|
|
3831
|
+
const NotOnDuty: string;
|
|
3832
|
+
const DriveToDestination: string;
|
|
3833
|
+
const ArrivedAtDestination: string;
|
|
3834
|
+
const Individual: string;
|
|
3835
|
+
}
|
|
3836
|
+
namespace Sizes {
|
|
3837
|
+
const CommandcenterHeaderImageWidth: number;
|
|
3838
|
+
const CommandcenterHeaderImageHeight: number;
|
|
3839
|
+
}
|
|
3840
|
+
}
|
|
3841
|
+
//# sourceMappingURL=main.d.ts.map
|