resqueserve-core 4.9.4 → 4.10.0-rc.2

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.
Files changed (2) hide show
  1. package/main.d.ts +500 -495
  2. package/package.json +1 -1
package/main.d.ts CHANGED
@@ -49,7 +49,7 @@ export interface Address {
49
49
  * The phone prefix used within the district. This property can be null if the phone prefix is not applicable or not defined.
50
50
  *
51
51
  */
52
- districtPhonePrefix: string;
52
+ districtPhonePrefix?: string | null;
53
53
  districtCoordinates: Coordinates;
54
54
  /**
55
55
  * 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.
@@ -60,12 +60,12 @@ export interface Address {
60
60
  * 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.
61
61
  *
62
62
  */
63
- streetNumberMin: number | null;
63
+ streetNumberMin?: number | null;
64
64
  /**
65
65
  * 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.
66
66
  *
67
67
  */
68
- streetNumberMax: number | null;
68
+ streetNumberMax?: number | null;
69
69
  }
70
70
  export interface AddressCity {
71
71
  cityId: number;
@@ -139,7 +139,7 @@ export interface AddressDistrict {
139
139
  * The phone prefix used within the district. This property can be null if the phone prefix is not applicable or not defined.
140
140
  *
141
141
  */
142
- districtPhonePrefix: string;
142
+ districtPhonePrefix?: string | null;
143
143
  districtCoordinates: Coordinates;
144
144
  cityId: number;
145
145
  /**
@@ -185,42 +185,42 @@ export interface AdvancedMobileLocation {
185
185
  * Latitude of the location.
186
186
  *
187
187
  */
188
- latitude: number | null;
188
+ latitude?: number | null;
189
189
  /**
190
190
  * Longitude of the location.
191
191
  *
192
192
  */
193
- longitude: number | null;
193
+ longitude?: number | null;
194
194
  /**
195
195
  * Time when the location was recorded.
196
196
  *
197
197
  */
198
- locationTime: string | null;
198
+ locationTime?: string | null;
199
199
  /**
200
200
  * Accuracy of the location in meters.
201
201
  *
202
202
  */
203
- accuracy: number | null;
203
+ accuracy?: number | null;
204
204
  /**
205
205
  * Vertical accuracy of the location in meters.
206
206
  *
207
207
  */
208
- verticalAccuracy: number | null;
208
+ verticalAccuracy?: number | null;
209
209
  /**
210
210
  * Altitude of the location in meters.
211
211
  *
212
212
  */
213
- altitude: number | null;
213
+ altitude?: number | null;
214
214
  /**
215
215
  * Source of the location information (e.g., GPS, WiFi).
216
216
  *
217
217
  */
218
- source: string;
218
+ source?: string | null;
219
219
  /**
220
220
  * Status of the location data (e.g., ok).
221
221
  *
222
222
  */
223
- status: string;
223
+ status?: string | null;
224
224
  }
225
225
  export interface AdvancedMobileLocationEnriched {
226
226
  /**
@@ -237,47 +237,47 @@ export interface AdvancedMobileLocationEnriched {
237
237
  * Gets or sets a collection of instances. Each element contains a reference and the in meters from the AML coordinates.
238
238
  *
239
239
  */
240
- places: IAdvancedMobileLocationPlace[] | null;
240
+ places?: IAdvancedMobileLocationPlace[] | null;
241
241
  /**
242
242
  * Latitude of the location.
243
243
  *
244
244
  */
245
- latitude: number | null;
245
+ latitude?: number | null;
246
246
  /**
247
247
  * Longitude of the location.
248
248
  *
249
249
  */
250
- longitude: number | null;
250
+ longitude?: number | null;
251
251
  /**
252
252
  * Time when the location was recorded.
253
253
  *
254
254
  */
255
- locationTime: string | null;
255
+ locationTime?: string | null;
256
256
  /**
257
257
  * Accuracy of the location in meters.
258
258
  *
259
259
  */
260
- accuracy: number | null;
260
+ accuracy?: number | null;
261
261
  /**
262
262
  * Vertical accuracy of the location in meters.
263
263
  *
264
264
  */
265
- verticalAccuracy: number | null;
265
+ verticalAccuracy?: number | null;
266
266
  /**
267
267
  * Altitude of the location in meters.
268
268
  *
269
269
  */
270
- altitude: number | null;
270
+ altitude?: number | null;
271
271
  /**
272
272
  * Source of the location information (e.g., GPS, WiFi).
273
273
  *
274
274
  */
275
- source: string;
275
+ source?: string | null;
276
276
  /**
277
277
  * Status of the location data (e.g., ok).
278
278
  *
279
279
  */
280
- status: string;
280
+ status?: string | null;
281
281
  }
282
282
  export interface Area {
283
283
  id: number;
@@ -290,7 +290,7 @@ export interface Area {
290
290
  * 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.
291
291
  *
292
292
  */
293
- dispatchGroups: string;
293
+ dispatchGroups?: string | null;
294
294
  /**
295
295
  * The district this area is responsible for. This is used to map addresses to specific dispatch areas.
296
296
  *
@@ -307,7 +307,7 @@ export interface ChatMessage {
307
307
  * Gets or sets the user who sent the message. Is null if system message.
308
308
  *
309
309
  */
310
- fromUser: IUserInfo;
310
+ fromUser?: IUserInfo | null;
311
311
  /**
312
312
  * Gets or sets the date and time when the message was created.
313
313
  *
@@ -322,12 +322,12 @@ export interface ChatMessage {
322
322
  * Gets the localization key of a system message; clients show it in their own language with and fall back to . Null for user messages.
323
323
  *
324
324
  */
325
- textKey: string;
325
+ textKey?: string | null;
326
326
  /**
327
327
  * Gets the arguments of ; an argument that is a localization key itself is translated too.
328
328
  *
329
329
  */
330
- textArguments: string[] | null;
330
+ textArguments?: string[] | null;
331
331
  /**
332
332
  * Gets or sets a value indicating whether the sender is a supervisor.
333
333
  *
@@ -337,13 +337,13 @@ export interface ChatMessage {
337
337
  export interface ContactInfo {
338
338
  id: string;
339
339
  displayName: string;
340
- description: string;
340
+ description?: string | null;
341
341
  fullyQualifiedPhoneNumber: string;
342
- meta: {
342
+ meta?: {
343
343
  [key: string]: Object;
344
- };
344
+ } | null;
345
345
  isHidden: boolean;
346
- poiInfo: IPoiInfo;
346
+ poiInfo?: IPoiInfo | null;
347
347
  }
348
348
  export interface DispatchCenter {
349
349
  /**
@@ -365,17 +365,17 @@ export interface DispatchCenter {
365
365
  * The identifier for the header image of the command center, used for display purposes in interfaces.
366
366
  *
367
367
  */
368
- headerImageId: string | null;
368
+ headerImageId?: string | null;
369
369
  /**
370
370
  * The date and time when the command center was last modified.
371
371
  *
372
372
  */
373
- changedOn: string | null;
373
+ changedOn?: string | null;
374
374
  /**
375
375
  * The country where the dispatch center is located.
376
376
  *
377
377
  */
378
- country: Country | null;
378
+ country?: Country | null;
379
379
  /**
380
380
  * Indicates the Dispatch Center entire dataset is not completed or production-ready yet.
381
381
  *
@@ -385,12 +385,12 @@ export interface DispatchCenter {
385
385
  * The package of addresses associated with the command center.
386
386
  *
387
387
  */
388
- addressPackage: AddressPackage;
388
+ addressPackage?: AddressPackage | null;
389
389
  /**
390
390
  * The specific address where the command center is physically located (geographical position).
391
391
  *
392
392
  */
393
- address: IAddress;
393
+ address?: IAddress | null;
394
394
  /**
395
395
  * Indicates whether the command center is accessible to the public (read-only).
396
396
  *
@@ -405,7 +405,7 @@ export interface DispatchCenter {
405
405
  * Information about the owner of the command center, which includes details.
406
406
  *
407
407
  */
408
- owner: IUserInfo;
408
+ owner?: IUserInfo | null;
409
409
  /**
410
410
  * Indicates whether the command center is recommended within the system, possibly based on performance or user ratings.
411
411
  *
@@ -415,7 +415,7 @@ export interface DispatchCenter {
415
415
  * The average rating of the command center based on user reviews, on a scale from 1 to 5 stars.
416
416
  *
417
417
  */
418
- averageRating: number | null;
418
+ averageRating?: number | null;
419
419
  /**
420
420
  * The number of active players or users at the command center within the last 30 days, indicating its operational activity.
421
421
  *
@@ -455,32 +455,32 @@ export interface DispatchCenter {
455
455
  * 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.
456
456
  *
457
457
  */
458
- callNumberOffice: string;
458
+ callNumberOffice?: string | null;
459
459
  /**
460
460
  * 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.
461
461
  *
462
462
  */
463
- callNumberEmergency: string;
463
+ callNumberEmergency?: string | null;
464
464
  /**
465
465
  * 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.
466
466
  *
467
467
  */
468
- callNumberPatientTransport: string;
468
+ callNumberPatientTransport?: string | null;
469
469
  /**
470
470
  * The standard greeting or statement given by a call taker when answering a regular office call at the dispatch center.
471
471
  *
472
472
  */
473
- callTextOffice: string;
473
+ callTextOffice?: string | null;
474
474
  /**
475
475
  * The scripted emergency greeting or statement used by call takers when they answer an emergency call, e.g., "911, what's your emergency?"
476
476
  *
477
477
  */
478
- callTextEmergency: string;
478
+ callTextEmergency?: string | null;
479
479
  /**
480
480
  * The standard greeting or statement used when accepting calls for patient transport.
481
481
  *
482
482
  */
483
- callTextPatientTransport: string;
483
+ callTextPatientTransport?: string | null;
484
484
  /**
485
485
  * The maximum time in seconds it takes for a non-volunteer unit to depart from a department after dispatch.
486
486
  *
@@ -583,12 +583,12 @@ export interface DispatchCenter {
583
583
  *
584
584
  */
585
585
  keywordsPerOperation: number;
586
- customGeocodingSearchFormat: string;
586
+ customGeocodingSearchFormat?: string | null;
587
587
  /**
588
588
  * The identifier for a discussion topic associated with the command center on the forums.sim-dispatcher.com platform.
589
589
  *
590
590
  */
591
- discourseTopicId: number | null;
591
+ discourseTopicId?: number | null;
592
592
  /**
593
593
  * 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 (%).
594
594
  *
@@ -618,23 +618,23 @@ export interface DispatchCenter {
618
618
  * A list of configurable options that can be set per command center. These options allow for the customization of operational settings,
619
619
  *
620
620
  */
621
- options: DispatchCenterOption[] | null;
621
+ options?: DispatchCenterOption[] | null;
622
622
  /**
623
623
  * A list of custom equipment configurations available for the command center. This property allows the command center to specify unique equipment setups for automated unit suggestions, tailoring the available resources to the specific needs of operations.
624
624
  *
625
625
  */
626
- customEquipments: IDispatchCenterCustomEquipment[] | null;
626
+ customEquipments?: IDispatchCenterCustomEquipment[] | null;
627
627
  /**
628
628
  * A list of users who have administrative rights to contribute to and manage the data and operations of the command center. These administrators are responsible for overseeing the daily operations and ensuring that the command center's data and settings are correctly maintained and updated.
629
629
  *
630
630
  */
631
- administrators: IUserInfo[] | null;
632
- unitStatusWhenUnitIsOnStandbyLocation: number | null;
631
+ administrators?: IUserInfo[] | null;
632
+ unitStatusWhenUnitIsOnStandbyLocation?: number | null;
633
633
  /**
634
634
  * The status of a unit if no status was provided / received yet.
635
635
  *
636
636
  */
637
- defaultStatus: number | null;
637
+ defaultStatus?: number | null;
638
638
  simulationStatusTransmitProbabilityPercent: number;
639
639
  simulationStatusTransmitProbabilityVolunteerPercent: number;
640
640
  }
@@ -671,12 +671,12 @@ export interface DispatchCenterInfo {
671
671
  * The identifier for the header image of the command center, used for display purposes in interfaces.
672
672
  *
673
673
  */
674
- headerImageId: string | null;
674
+ headerImageId?: string | null;
675
675
  /**
676
676
  * The date and time when the command center was last modified.
677
677
  *
678
678
  */
679
- changedOn: string | null;
679
+ changedOn?: string | null;
680
680
  /**
681
681
  * The number of active players or users at the command center within the last 30 days, indicating its operational activity.
682
682
  *
@@ -686,7 +686,7 @@ export interface DispatchCenterInfo {
686
686
  * The country where the dispatch center is located.
687
687
  *
688
688
  */
689
- country: Country | null;
689
+ country?: Country | null;
690
690
  /**
691
691
  * Indicates the Dispatch Center entire dataset is not completed or production-ready yet.
692
692
  *
@@ -698,14 +698,14 @@ export interface DispatchCenterInfo {
698
698
  *
699
699
  */
700
700
  export interface AddressLookupDto {
701
- id: number | null;
702
- street: string;
703
- districtId: number | null;
704
- districtName: string;
705
- districtZip: string;
706
- cityName: string;
707
- communeName: string;
708
- stateName: string;
701
+ id?: number | null;
702
+ street?: string | null;
703
+ districtId?: number | null;
704
+ districtName?: string | null;
705
+ districtZip?: string | null;
706
+ cityName?: string | null;
707
+ communeName?: string | null;
708
+ stateName?: string | null;
709
709
  /**
710
710
  * Gets or sets the cache version associated with the lookup entity.
711
711
  *
@@ -717,16 +717,16 @@ export interface AddressLookupDto {
717
717
  *
718
718
  */
719
719
  export interface PoiLookupDto {
720
- id: number | null;
721
- name: string;
722
- category: PoiCategory | null;
723
- addressId: number | null;
724
- houseNumber: string;
725
- street: string;
726
- district: string;
727
- city: string;
728
- zip: string;
729
- searchTags: string;
720
+ id?: number | null;
721
+ name?: string | null;
722
+ category?: PoiCategory | null;
723
+ addressId?: number | null;
724
+ houseNumber?: string | null;
725
+ street?: string | null;
726
+ district?: string | null;
727
+ city?: string | null;
728
+ zip?: string | null;
729
+ searchTags?: string | null;
730
730
  /**
731
731
  * Gets or sets the cache version associated with the lookup entity.
732
732
  *
@@ -738,17 +738,17 @@ export interface PoiLookupDto {
738
738
  *
739
739
  */
740
740
  export interface ResourceLookupDto {
741
- unitId: number | null;
742
- unitStatus: UnitStatus | null;
743
- category: string;
744
- callsign: string;
745
- callsignShort: string;
746
- station: string;
741
+ unitId?: number | null;
742
+ unitStatus?: UnitStatus | null;
743
+ category?: string | null;
744
+ callsign?: string | null;
745
+ callsignShort?: string | null;
746
+ station?: string | null;
747
747
  /**
748
748
  * The callsign the search matched best (callsign, short, GPS or verbal); null without search.
749
749
  *
750
750
  */
751
- matchedCallsign: string;
751
+ matchedCallsign?: string | null;
752
752
  /**
753
753
  * Gets or sets the cache version associated with the lookup entity.
754
754
  *
@@ -775,32 +775,32 @@ export interface GeocodingResult {
775
775
  * Gets the zip code associated with the geocoding result.
776
776
  *
777
777
  */
778
- zip: string;
778
+ zip?: string | null;
779
779
  /**
780
780
  * Gets the street address associated with the geocoding result.
781
781
  *
782
782
  */
783
- street: string;
783
+ street?: string | null;
784
784
  /**
785
785
  * Gets the house number associated with the geocoding result.
786
786
  *
787
787
  */
788
- houseNumber: string;
788
+ houseNumber?: string | null;
789
789
  /**
790
790
  * Gets the city associated with the geocoding result.
791
791
  *
792
792
  */
793
- city: string;
793
+ city?: string | null;
794
794
  /**
795
795
  * Gets the district associated with the geocoding result.
796
796
  *
797
797
  */
798
- district: string;
798
+ district?: string | null;
799
799
  /**
800
800
  * Gets the commune associated with the geocoding result.
801
801
  *
802
802
  */
803
- commune: string;
803
+ commune?: string | null;
804
804
  }
805
805
  export declare enum HospitalAllocationAirway {
806
806
  /**
@@ -960,61 +960,61 @@ export interface HospitalAllocationForm {
960
960
  * Minutes until the patient arrives ("Eintreffzeit"); null if unknown (arrives now).
961
961
  *
962
962
  */
963
- arrivalMinutes: number | null;
964
- shockRoomAlarm: boolean | null;
965
- airway: HospitalAllocationAirway | null;
966
- breathing: HospitalAllocationBreathing | null;
967
- circulation: HospitalAllocationCirculation | null;
968
- disability: HospitalAllocationDisability | null;
969
- cardiacCatheterAlarm: boolean | null;
963
+ arrivalMinutes?: number | null;
964
+ shockRoomAlarm?: boolean | null;
965
+ airway?: HospitalAllocationAirway | null;
966
+ breathing?: HospitalAllocationBreathing | null;
967
+ circulation?: HospitalAllocationCirculation | null;
968
+ disability?: HospitalAllocationDisability | null;
969
+ cardiacCatheterAlarm?: boolean | null;
970
970
  occasion: HospitalAllocationOccasion;
971
971
  /**
972
972
  * Work, commuting or school accident ("Arbeits-/Wege-/Schulunfall").
973
973
  *
974
974
  */
975
- workAccident: boolean | null;
976
- gender: Gender | null;
975
+ workAccident?: boolean | null;
976
+ gender?: Gender | null;
977
977
  /**
978
978
  * The patient's age in years.
979
979
  *
980
980
  */
981
- age: number | null;
982
- resuscitation: boolean | null;
983
- ventilated: boolean | null;
984
- infection: HospitalAllocationInfection | null;
985
- pregnant: boolean | null;
986
- doctorAccompanied: boolean | null;
981
+ age?: number | null;
982
+ resuscitation?: boolean | null;
983
+ ventilated?: boolean | null;
984
+ infection?: HospitalAllocationInfection | null;
985
+ pregnant?: boolean | null;
986
+ doctorAccompanied?: boolean | null;
987
987
  /**
988
988
  * The phone number the hospital calls back.
989
989
  *
990
990
  */
991
- phone: string;
992
- reason: HospitalAllocationReason | null;
993
- operationNumber: string;
991
+ phone?: string | null;
992
+ reason?: HospitalAllocationReason | null;
993
+ operationNumber?: string | null;
994
994
  /**
995
995
  * Free text for the hospital, at most characters.
996
996
  *
997
997
  */
998
- remark: string;
999
- transport: HospitalAllocationTransport | null;
1000
- callsign: string;
998
+ remark?: string | null;
999
+ transport?: HospitalAllocationTransport | null;
1000
+ callsign?: string | null;
1001
1001
  }
1002
1002
  export interface HospitalAllocationPatientReference {
1003
1003
  operationId: string;
1004
1004
  patientId: string;
1005
- unitId: number | null;
1005
+ unitId?: number | null;
1006
1006
  }
1007
1007
  export interface HospitalAllocationRequest {
1008
1008
  form: HospitalAllocationForm;
1009
- patient: HospitalAllocationPatientReference;
1009
+ patient?: HospitalAllocationPatientReference | null;
1010
1010
  }
1011
1011
  export interface HospitalPzcTransmission {
1012
1012
  notificationId: string;
1013
1013
  receivedOn: string;
1014
1014
  operationId: string;
1015
- operationNumber: string;
1015
+ operationNumber?: string | null;
1016
1016
  patientId: string;
1017
- patientName: string;
1017
+ patientName?: string | null;
1018
1018
  unitId: number;
1019
1019
  callsign: string;
1020
1020
  /**
@@ -1026,12 +1026,12 @@ export interface HospitalPzcTransmission {
1026
1026
  * The hospital the unit preselected; null if none.
1027
1027
  *
1028
1028
  */
1029
- preselectionPoiId: number | null;
1029
+ preselectionPoiId?: number | null;
1030
1030
  /**
1031
1031
  * The hospital the patient has been allocated to with the form; null if not allocated yet.
1032
1032
  *
1033
1033
  */
1034
- allocatedHospitalId: number | null;
1034
+ allocatedHospitalId?: number | null;
1035
1035
  }
1036
1036
  export interface HospitalAllocationPrefill {
1037
1037
  form: HospitalAllocationForm;
@@ -1039,12 +1039,12 @@ export interface HospitalAllocationPrefill {
1039
1039
  * The department of the hospital that takes the PZC; null if the hospital doesn't accept it.
1040
1040
  *
1041
1041
  */
1042
- department: PoiHospitalDepartment | null;
1042
+ department?: PoiHospitalDepartment | null;
1043
1043
  /**
1044
1044
  * The phone numbers the hospital can call back (the office number of the dispatch center).
1045
1045
  *
1046
1046
  */
1047
- phoneOptions: string[] | null;
1047
+ phoneOptions: string[];
1048
1048
  }
1049
1049
  export declare enum HospitalCapacitySlotColor {
1050
1050
  Green = 0,
@@ -1108,7 +1108,7 @@ export interface HospitalCapacitySlot {
1108
1108
  export interface HospitalBooking {
1109
1109
  id: string;
1110
1110
  hospitalId: number;
1111
- hospitalName: string;
1111
+ hospitalName?: string | null;
1112
1112
  /**
1113
1113
  * The department this booking is assigned to.
1114
1114
  *
@@ -1129,7 +1129,7 @@ export interface HospitalBooking {
1129
1129
  *
1130
1130
  */
1131
1131
  createdOn: string;
1132
- createdBy: IUserInfo;
1132
+ createdBy?: IUserInfo | null;
1133
1133
  /**
1134
1134
  * The form sent to the hospital.
1135
1135
  *
@@ -1139,7 +1139,7 @@ export interface HospitalBooking {
1139
1139
  * The patient of the operation desk whose destination the allocation set; null if none.
1140
1140
  *
1141
1141
  */
1142
- patient: HospitalAllocationPatientReference;
1142
+ patient?: HospitalAllocationPatientReference | null;
1143
1143
  }
1144
1144
  export interface HospitalCapacitySlotFactory {
1145
1145
  }
@@ -1151,25 +1151,25 @@ export interface HospitalOverview {
1151
1151
  * The PZC the hospitals are filtered by (6-digit value): only those accepting its incident code and urgency level; null if not filtered.
1152
1152
  *
1153
1153
  */
1154
- pzc: number | null;
1154
+ pzc?: number | null;
1155
1155
  /**
1156
1156
  * The next moment a department's free places change by time alone (the end of a treatment or the discharge of a patient the hospital had at the start of the simulation), so the client reloads then; null if nothing changes. Allocations that are made, changed or deleted are pushed.
1157
1157
  *
1158
1158
  */
1159
- nextChangeOn: string | null;
1160
- hospitals: HospitalOverviewItem[] | null;
1159
+ nextChangeOn?: string | null;
1160
+ hospitals: HospitalOverviewItem[];
1161
1161
  }
1162
1162
  export interface HospitalOverviewItem {
1163
1163
  id: number;
1164
- name: string;
1164
+ name?: string | null;
1165
1165
  isMaxCareHospital: boolean;
1166
1166
  /**
1167
1167
  * The department that takes the PZC of the overview; null if not filtered by a PZC.
1168
1168
  *
1169
1169
  */
1170
- acceptingDepartment: PoiHospitalDepartment | null;
1171
- departments: HospitalOverviewDepartment[] | null;
1172
- capacitySlots: HospitalCapacitySlot[] | null;
1170
+ acceptingDepartment?: PoiHospitalDepartment | null;
1171
+ departments: HospitalOverviewDepartment[];
1172
+ capacitySlots: HospitalCapacitySlot[];
1173
1173
  }
1174
1174
  export interface HospitalOverviewDepartment {
1175
1175
  department: PoiHospitalDepartment;
@@ -1177,7 +1177,7 @@ export interface HospitalOverviewDepartment {
1177
1177
  * The name of the ward or station; null if not set.
1178
1178
  *
1179
1179
  */
1180
- name: string;
1180
+ name?: string | null;
1181
1181
  /**
1182
1182
  * The patients the department treats at the same time (configured or default).
1183
1183
  *
@@ -1198,52 +1198,52 @@ export interface HospitalTreatmentDuration {
1198
1198
  *
1199
1199
  */
1200
1200
  export interface AddressInformation {
1201
- geocodingResult: IGeocodingResult;
1202
- operationsNearby: OperationInformation[] | null;
1203
- cityName: string;
1204
- communeName: string;
1205
- districtZip: string;
1206
- districtName: string;
1207
- stateName: string;
1208
- country: string;
1209
- street: string;
1210
- id: number | null;
1211
- houseNumber: string;
1201
+ geocodingResult?: IGeocodingResult | null;
1202
+ operationsNearby?: OperationInformation[] | null;
1203
+ cityName?: string | null;
1204
+ communeName?: string | null;
1205
+ districtZip?: string | null;
1206
+ districtName?: string | null;
1207
+ stateName?: string | null;
1208
+ country?: string | null;
1209
+ street?: string | null;
1210
+ id?: number | null;
1211
+ houseNumber?: string | null;
1212
1212
  }
1213
1213
  export interface OperationInformation {
1214
- location: string;
1215
- status: OperationStatus | null;
1216
- numberInternal: string;
1217
- keywords: string;
1218
- createdOn: string | null;
1219
- id: string | null;
1214
+ location?: string | null;
1215
+ status?: OperationStatus | null;
1216
+ numberInternal?: string | null;
1217
+ keywords?: string | null;
1218
+ createdOn?: string | null;
1219
+ id?: string | null;
1220
1220
  }
1221
1221
  export interface PoiInformation {
1222
- addressInformation: AddressInformation;
1223
- name: string;
1224
- category: string;
1225
- coordinates: Coordinates | null;
1226
- id: number | null;
1222
+ addressInformation?: AddressInformation | null;
1223
+ name?: string | null;
1224
+ category?: string | null;
1225
+ coordinates?: Coordinates | null;
1226
+ id?: number | null;
1227
1227
  }
1228
1228
  /**
1229
1229
  * Represents a base information object for informations about entities.
1230
1230
  *
1231
1231
  */
1232
1232
  export interface ResourceInformation {
1233
- unitId: number | null;
1234
- staticPosition: Coordinates | null;
1235
- dynamicPosition: Coordinates | null;
1236
- suggestionOn: string | null;
1237
- dispatchCounter: number | null;
1238
- currentOperationId: string | null;
1239
- unitStatus: UnitStatus | null;
1240
- unitStatusNonPersistent: UnitStatusNonPersistent | null;
1241
- category: string;
1242
- callsign: string;
1243
- callsignShort: string;
1244
- station: string;
1245
- currentOperation: string;
1246
- destination: string;
1233
+ unitId?: number | null;
1234
+ staticPosition?: Coordinates | null;
1235
+ dynamicPosition?: Coordinates | null;
1236
+ suggestionOn?: string | null;
1237
+ dispatchCounter?: number | null;
1238
+ currentOperationId?: string | null;
1239
+ unitStatus?: UnitStatus | null;
1240
+ unitStatusNonPersistent?: UnitStatusNonPersistent | null;
1241
+ category?: string | null;
1242
+ callsign?: string | null;
1243
+ callsignShort?: string | null;
1244
+ station?: string | null;
1245
+ currentOperation?: string | null;
1246
+ destination?: string | null;
1247
1247
  }
1248
1248
  export interface Keyword {
1249
1249
  id: number;
@@ -1326,17 +1326,17 @@ export interface Keyword {
1326
1326
  * Groups of dispatch units suggested for the keyword, used to refine the suggestions based on unit capabilities.
1327
1327
  *
1328
1328
  */
1329
- dispatchGroups: string;
1329
+ dispatchGroups?: string | null;
1330
1330
  /**
1331
1331
  * A list of equipment required for handling the emergency, linked to this keyword.
1332
1332
  *
1333
1333
  */
1334
- requiredEquipment: IKeywordEquipment[] | null;
1334
+ requiredEquipment?: IKeywordEquipment[] | null;
1335
1335
  /**
1336
1336
  * Gets or sets the origin information for this Shelf instance. May be if the object was created locally or has no external source.
1337
1337
  *
1338
1338
  */
1339
- origin: ShelfOriginBase;
1339
+ origin?: ShelfOriginBase | null;
1340
1340
  }
1341
1341
  export interface KeywordEquipment {
1342
1342
  id: number;
@@ -1356,7 +1356,7 @@ export interface KeywordInfo {
1356
1356
  * Gets or sets the origin information for this Shelf instance. May be if the object was created locally or has no external source.
1357
1357
  *
1358
1358
  */
1359
- origin: ShelfOriginBase;
1359
+ origin?: ShelfOriginBase | null;
1360
1360
  id: number;
1361
1361
  /**
1362
1362
  * The name of the keyword used for search and identification purposes.
@@ -1405,7 +1405,7 @@ export interface OAuthErrorResponse {
1405
1405
  *
1406
1406
  */
1407
1407
  error: string;
1408
- errorDescription: string;
1408
+ errorDescription?: string | null;
1409
1409
  }
1410
1410
  export interface OAuthTokenResponse {
1411
1411
  accessToken: string;
@@ -1415,7 +1415,7 @@ export interface OAuthTokenResponse {
1415
1415
  * Gets a new access token (and a new refresh token) at the token endpoint with grant_type=refresh_token; each refresh token is valid once. Only for the authorization_code and refresh_token grants.
1416
1416
  *
1417
1417
  */
1418
- refreshToken: string;
1418
+ refreshToken?: string | null;
1419
1419
  }
1420
1420
  export interface OperationAuditEntry {
1421
1421
  /**
@@ -1432,7 +1432,7 @@ export interface OperationAuditEntry {
1432
1432
  * The user who caused it; null for the system.
1433
1433
  *
1434
1434
  */
1435
- user: IUserInfo;
1435
+ user?: IUserInfo | null;
1436
1436
  /**
1437
1437
  * The kind of change.
1438
1438
  *
@@ -1442,7 +1442,7 @@ export interface OperationAuditEntry {
1442
1442
  * The operation specific kind of change, if any.
1443
1443
  *
1444
1444
  */
1445
- actionSub: AuditActionSub | null;
1445
+ actionSub?: AuditActionSub | null;
1446
1446
  /**
1447
1447
  * The localized message (markdown) without timestamp and user.
1448
1448
  *
@@ -1459,12 +1459,12 @@ export interface OperationChangeInfo {
1459
1459
  * The editor (one desk window) that made the change; null for changes by the system. A client may keep the value the user is typing in a field instead of overwriting it with its own echo.
1460
1460
  *
1461
1461
  */
1462
- editorId: string | null;
1462
+ editorId?: string | null;
1463
1463
  /**
1464
1464
  * The changed properties, camel case as in the JSON of the entity.
1465
1465
  *
1466
1466
  */
1467
- changedProperties: string[] | null;
1467
+ changedProperties: string[];
1468
1468
  }
1469
1469
  export interface OperationInfo {
1470
1470
  id: string;
@@ -1472,22 +1472,22 @@ export interface OperationInfo {
1472
1472
  * Gets or sets the internal operation number.
1473
1473
  *
1474
1474
  */
1475
- numberInternal: string;
1475
+ numberInternal?: string | null;
1476
1476
  /**
1477
1477
  * Gets or sets the external operation number.
1478
1478
  *
1479
1479
  */
1480
- numberExternal: string;
1480
+ numberExternal?: string | null;
1481
1481
  /**
1482
1482
  * Gets or sets the collection of keywords associated with the operation.
1483
1483
  *
1484
1484
  */
1485
- keywords: IKeyword[] | null;
1485
+ keywords: IKeyword[];
1486
1486
  /**
1487
1487
  * Gets or sets the location of the operation.
1488
1488
  *
1489
1489
  */
1490
- location: IGeoReferenced;
1490
+ location?: IGeoReferenced | null;
1491
1491
  /**
1492
1492
  * Gets or sets the priority of the operation.
1493
1493
  *
@@ -1524,7 +1524,7 @@ export interface Pagination<T> {
1524
1524
  * Gets the collection of items on the current page.
1525
1525
  *
1526
1526
  */
1527
- items: T[] | null;
1527
+ items: T[];
1528
1528
  }
1529
1529
  export interface Poi {
1530
1530
  id: number;
@@ -1532,7 +1532,7 @@ export interface Poi {
1532
1532
  * The name of the point of interest. Is unique inside a dispatch center.
1533
1533
  *
1534
1534
  */
1535
- name: string;
1535
+ name?: string | null;
1536
1536
  /**
1537
1537
  * The category of the point of interest.
1538
1538
  *
@@ -1547,27 +1547,27 @@ export interface Poi {
1547
1547
  * The POI where helicopters land for this POI (category HelicopterLandingZone, e.g. the helipad of a hospital or a landing site at an airfield); null if helicopters land on the coordinates.
1548
1548
  *
1549
1549
  */
1550
- helicopterLandingZone: IPoi;
1550
+ helicopterLandingZone?: IPoi | null;
1551
1551
  /**
1552
1552
  * Tags associated with the point of interest for search purposes. Separate multiple tags with a semicolon.
1553
1553
  *
1554
1554
  */
1555
- searchTags: string;
1555
+ searchTags?: string | null;
1556
1556
  /**
1557
1557
  * The verbal name of the point of interest. May be used on radio or calls.
1558
1558
  *
1559
1559
  */
1560
- verbalName: string;
1560
+ verbalName?: string | null;
1561
1561
  /**
1562
1562
  * The German genus of the point of interest (der, die, das).
1563
1563
  *
1564
1564
  */
1565
- germanGenus: string;
1565
+ germanGenus?: string | null;
1566
1566
  /**
1567
1567
  * The departments of the hospital POI with their settings (name, entrance, landing zone, capacity), at most one per department. If IsMaxCareHospital is true, the hospital has all departments and the list only holds the settings of some of them.
1568
1568
  *
1569
1569
  */
1570
- hospitalDepartments: HospitalDepartment[] | null;
1570
+ hospitalDepartments?: HospitalDepartment[] | null;
1571
1571
  /**
1572
1572
  * Indicates whether units should be dispatched together when assigned to this POI. Should be true if non-volunteer department.
1573
1573
  *
@@ -1603,26 +1603,26 @@ export interface Poi {
1603
1603
  *
1604
1604
  */
1605
1605
  isNameCallerNumber: boolean;
1606
- address: IAddress;
1607
- houseNumber: string;
1606
+ address?: IAddress | null;
1607
+ houseNumber?: string | null;
1608
1608
  /**
1609
1609
  * Gets or sets the origin information for this Shelf instance. May be if the object was created locally or has no external source.
1610
1610
  *
1611
1611
  */
1612
- origin: ShelfOriginBase;
1612
+ origin?: ShelfOriginBase | null;
1613
1613
  }
1614
1614
  export interface PoiInfo {
1615
1615
  /**
1616
1616
  * Gets or sets the origin information for this Shelf instance. May be if the object was created locally or has no external source.
1617
1617
  *
1618
1618
  */
1619
- origin: ShelfOriginBase;
1619
+ origin?: ShelfOriginBase | null;
1620
1620
  id: number;
1621
1621
  /**
1622
1622
  * The name of the point of interest. Is unique inside a dispatch center.
1623
1623
  *
1624
1624
  */
1625
- name: string;
1625
+ name?: string | null;
1626
1626
  /**
1627
1627
  * The category of the point of interest.
1628
1628
  *
@@ -1641,27 +1641,27 @@ export interface Preselection {
1641
1641
  * Gets or sets the estimated time required for the resource to reach the target.
1642
1642
  *
1643
1643
  */
1644
- routeTimeToTarget: string | null;
1644
+ routeTimeToTarget?: string | null;
1645
1645
  /**
1646
1646
  * Gets or sets the estimated distance in meters for the resource to reach the target.
1647
1647
  *
1648
1648
  */
1649
- metersToTarget: number | null;
1649
+ metersToTarget?: number | null;
1650
1650
  /**
1651
1651
  * Gets the estimated departure time (Rüstzeit/Ausrückezeit) before the unit can begin driving to the target. Zero for units already en route (status 1); derived from dispatch center response time settings for units on duty at their station (status 2).
1652
1652
  *
1653
1653
  */
1654
- departureTime: string | null;
1654
+ departureTime?: string | null;
1655
1655
  /**
1656
1656
  * Gets when the unit's duty ends (session time), only when it ends soon (Core DispatchDefaults.DutyEndWarningMinutes); otherwise null.
1657
1657
  *
1658
1658
  */
1659
- dutyEndsOn: string | null;
1659
+ dutyEndsOn?: string | null;
1660
1660
  /**
1661
1661
  * Gets the total estimated time to reach the target, combining and . Returns null when is unknown.
1662
1662
  *
1663
1663
  */
1664
- totalTimeToTarget: string | null;
1664
+ totalTimeToTarget?: string | null;
1665
1665
  }
1666
1666
  export interface RadioGroup {
1667
1667
  id: number;
@@ -1674,7 +1674,7 @@ export interface RadioGroup {
1674
1674
  * The callsign of the dispatch center associated with the radio group. Units will use this callsign to talk to the dispatch center.
1675
1675
  *
1676
1676
  */
1677
- dispatchCallsign: string;
1677
+ dispatchCallsign?: string | null;
1678
1678
  /**
1679
1679
  * Indicates whether the radio group is the "first call" radio group for external units. Only one is allowed per dispatch center.
1680
1680
  *
@@ -1694,47 +1694,47 @@ export interface ResourceFilter {
1694
1694
  * Gets or sets a collection of to filter resources based on equipment types.
1695
1695
  *
1696
1696
  */
1697
- unitEquipments: UnitEquipment[] | null;
1697
+ unitEquipments?: UnitEquipment[] | null;
1698
1698
  /**
1699
1699
  * Gets or sets a collection of to filter resources by unit categories.
1700
1700
  *
1701
1701
  */
1702
- unitCategories: UnitCategory[] | null;
1702
+ unitCategories?: UnitCategory[] | null;
1703
1703
  /**
1704
1704
  * Gets or sets a collection of to filter resources by the kind of unit (any of the groups matches).
1705
1705
  *
1706
1706
  */
1707
- unitCategoryGroups: UnitCategoryGroup[] | null;
1707
+ unitCategoryGroups?: UnitCategoryGroup[] | null;
1708
1708
  /**
1709
1709
  * Gets or sets a collection of to filter resources by how soon they are available (any of them matches).
1710
1710
  *
1711
1711
  */
1712
- unitAvailabilities: UnitAvailability[] | null;
1712
+ unitAvailabilities?: UnitAvailability[] | null;
1713
1713
  /**
1714
1714
  * Gets or sets a collection of to filter resources by unit display categories see .
1715
1715
  *
1716
1716
  */
1717
- unitDisplayCategories: string[] | null;
1717
+ unitDisplayCategories?: string[] | null;
1718
1718
  /**
1719
1719
  * Gets or sets a collection of to filter resources by their current status.
1720
1720
  *
1721
1721
  */
1722
- unitStatus: UnitStatus[] | null;
1722
+ unitStatus?: UnitStatus[] | null;
1723
1723
  /**
1724
1724
  * Gets or sets a value indicating whether the filter should prioritize first responders.
1725
1725
  *
1726
1726
  */
1727
- isFirstResponder: boolean | null;
1727
+ isFirstResponder?: boolean | null;
1728
1728
  /**
1729
1729
  * Gets or sets a value indicating whether the filter excludes volunteer units.
1730
1730
  *
1731
1731
  */
1732
- isNotVolunteer: boolean | null;
1732
+ isNotVolunteer?: boolean | null;
1733
1733
  /**
1734
1734
  * Gets or sets a value indicating whether the filter should bind the resource to the current operation.
1735
1735
  *
1736
1736
  */
1737
- isBindToOperation: boolean | null;
1737
+ isBindToOperation?: boolean | null;
1738
1738
  }
1739
1739
  /**
1740
1740
  * Represents event arguments for a notification-related session event.
@@ -1816,7 +1816,7 @@ export interface PropertyChangedSessionEventArgs {
1816
1816
  * Gets or sets the new value of the property.
1817
1817
  *
1818
1818
  */
1819
- propertyValue: Object;
1819
+ propertyValue?: Object | null;
1820
1820
  }
1821
1821
  /**
1822
1822
  * Represents event arguments for an event involving a resource.
@@ -1853,10 +1853,10 @@ export interface WorkplaceSessionEventArgs {
1853
1853
  export interface SessionWebhook {
1854
1854
  id: number;
1855
1855
  sessionId: number;
1856
- headers: {
1856
+ headers?: {
1857
1857
  [key: string]: string;
1858
- };
1859
- events: SessionEventType[] | null;
1858
+ } | null;
1859
+ events?: SessionEventType[] | null;
1860
1860
  /**
1861
1861
  * Gets or sets the URL to which the webhook will send HTTP requests.
1862
1862
  *
@@ -1866,7 +1866,7 @@ export interface SessionWebhook {
1866
1866
  * Gets or sets the HTTP method used for the webhook (e.g., GET, POST).
1867
1867
  *
1868
1868
  */
1869
- method: SessionWebhookMethod | null;
1869
+ method?: SessionWebhookMethod | null;
1870
1870
  }
1871
1871
  export interface StatusPage {
1872
1872
  id: number;
@@ -1874,12 +1874,12 @@ export interface StatusPage {
1874
1874
  * The name of the status page.
1875
1875
  *
1876
1876
  */
1877
- name: string;
1877
+ name?: string | null;
1878
1878
  /**
1879
1879
  * The description of the status page.
1880
1880
  *
1881
1881
  */
1882
- description: string;
1882
+ description?: string | null;
1883
1883
  /**
1884
1884
  * The sort number used to determine the order of status pages.
1885
1885
  *
@@ -1894,7 +1894,7 @@ export interface StatusPage {
1894
1894
  * The list of units associated with the status page.
1895
1895
  *
1896
1896
  */
1897
- members: IStatusPageMember[] | null;
1897
+ members?: IStatusPageMember[] | null;
1898
1898
  /**
1899
1899
  * If true, members in an inactive state will be hidden on the frontend.
1900
1900
  *
@@ -1903,12 +1903,12 @@ export interface StatusPage {
1903
1903
  }
1904
1904
  export interface StatusPageMember {
1905
1905
  id: number;
1906
- unit: IUnitInfo;
1906
+ unit?: IUnitInfo | null;
1907
1907
  /**
1908
1908
  * The group to which the unit belongs. Set new value or use existing. />.
1909
1909
  *
1910
1910
  */
1911
- group: string;
1911
+ group?: string | null;
1912
1912
  /**
1913
1913
  * Member will be sorted by this property, if set.
1914
1914
  *
@@ -1916,7 +1916,7 @@ export interface StatusPageMember {
1916
1916
  sortNumber: number;
1917
1917
  }
1918
1918
  export interface TaskCatalogItem {
1919
- parameters: TaskCatalogParameter[] | null;
1919
+ parameters?: TaskCatalogParameter[] | null;
1920
1920
  /**
1921
1921
  * Gets or sets the implementation name of the task. This is the name specified in the ResQueServeTaskAttribute.
1922
1922
  *
@@ -1926,22 +1926,22 @@ export interface TaskCatalogItem {
1926
1926
  * Gets or sets the display name of the task.
1927
1927
  *
1928
1928
  */
1929
- displayName: string;
1929
+ displayName?: string | null;
1930
1930
  /**
1931
1931
  * Gets or sets the description of the task.
1932
1932
  *
1933
1933
  */
1934
- description: string;
1934
+ description?: string | null;
1935
1935
  /**
1936
1936
  * Gets or sets the category of the task.
1937
1937
  *
1938
1938
  */
1939
- category: string;
1939
+ category?: string | null;
1940
1940
  /**
1941
1941
  * Gets or sets the version of the task.
1942
1942
  *
1943
1943
  */
1944
- version: string;
1944
+ version?: string | null;
1945
1945
  /**
1946
1946
  * Gets or sets the priority of the task.
1947
1947
  *
@@ -1964,17 +1964,17 @@ export interface TaskCatalogItem {
1964
1964
  isSelectableInTemplates: boolean;
1965
1965
  }
1966
1966
  export interface TaskCatalogParameter {
1967
- propertyName: string;
1967
+ propertyName?: string | null;
1968
1968
  /**
1969
1969
  * Gets or sets the name of the parameter.
1970
1970
  *
1971
1971
  */
1972
- displayName: string;
1972
+ displayName?: string | null;
1973
1973
  /**
1974
1974
  * Gets or sets the description of the parameter.
1975
1975
  *
1976
1976
  */
1977
- description: string;
1977
+ description?: string | null;
1978
1978
  /**
1979
1979
  * Gets or sets whether this parameter is required.
1980
1980
  *
@@ -1984,7 +1984,7 @@ export interface TaskCatalogParameter {
1984
1984
  * Gets or sets the default value for this parameter.
1985
1985
  *
1986
1986
  */
1987
- defaultValue: Object;
1987
+ defaultValue?: Object | null;
1988
1988
  /**
1989
1989
  * Gets or sets the order in which this parameter should be displayed in a UI.
1990
1990
  *
@@ -1994,7 +1994,7 @@ export interface TaskCatalogParameter {
1994
1994
  * Gets or sets a validation pattern (regex) for string parameters.
1995
1995
  *
1996
1996
  */
1997
- validationPattern: string;
1997
+ validationPattern?: string | null;
1998
1998
  /**
1999
1999
  * Gets or sets whether this parameter is a secret (e.g. bearer token). Value will never be displayed on frontend.
2000
2000
  *
@@ -2004,7 +2004,7 @@ export interface TaskCatalogParameter {
2004
2004
  * Gets or sets the type of the parameter.
2005
2005
  *
2006
2006
  */
2007
- propertyType: string;
2007
+ propertyType?: string | null;
2008
2008
  }
2009
2009
  export interface TaskCondition {
2010
2010
  id: number;
@@ -2022,7 +2022,7 @@ export interface TaskCondition {
2022
2022
  * Gets or sets the value used in the condition.
2023
2023
  *
2024
2024
  */
2025
- value: string;
2025
+ value?: string | null;
2026
2026
  }
2027
2027
  export interface TaskTemplate {
2028
2028
  id: number;
@@ -2030,7 +2030,7 @@ export interface TaskTemplate {
2030
2030
  * Gets or sets the description of the task template.
2031
2031
  *
2032
2032
  */
2033
- description: string;
2033
+ description?: string | null;
2034
2034
  /**
2035
2035
  * Gets or sets a value indicating whether the task is mandatory.
2036
2036
  *
@@ -2060,38 +2060,38 @@ export interface TaskTemplate {
2060
2060
  * Defines a timeout in seconds for how long the task will wait before entering a failed state if is not executed in time.
2061
2061
  *
2062
2062
  */
2063
- timeoutSeconds: number | null;
2063
+ timeoutSeconds?: number | null;
2064
2064
  /**
2065
2065
  * Gets or sets the conditions associated with the task template.
2066
2066
  *
2067
2067
  */
2068
- conditions: ITaskCondition[] | null;
2068
+ conditions?: ITaskCondition[] | null;
2069
2069
  /**
2070
2070
  * Gets the name of the ResQueServeTask implementation to use for executing this task. This should match the Name property of a ResQueServeTaskAttribute registered in the system.
2071
2071
  *
2072
2072
  */
2073
- implementationName: string;
2073
+ implementationName?: string | null;
2074
2074
  /**
2075
2075
  * Gets or sets the parameters needed for task execution, keyed by parameter name.
2076
2076
  *
2077
2077
  */
2078
- parameters: {
2078
+ parameters?: {
2079
2079
  [key: string]: Object;
2080
- };
2080
+ } | null;
2081
2081
  }
2082
2082
  export interface TrackerIssue {
2083
2083
  id: string;
2084
- title: string;
2085
- description: string;
2086
- milestone: string;
2087
- number: number | null;
2088
- status: string;
2089
- priority: number | null;
2084
+ title?: string | null;
2085
+ description?: string | null;
2086
+ milestone?: string | null;
2087
+ number?: number | null;
2088
+ status?: string | null;
2089
+ priority?: number | null;
2090
2090
  createdOn: string;
2091
2091
  isFeatureRequest: boolean;
2092
2092
  isDone: boolean;
2093
- communityPatchCycle: string;
2094
- forumsTopicId: string;
2093
+ communityPatchCycle?: string | null;
2094
+ forumsTopicId?: string | null;
2095
2095
  }
2096
2096
  export interface Unit {
2097
2097
  id: number;
@@ -2104,7 +2104,7 @@ export interface Unit {
2104
2104
  * The overridden category of the unit.
2105
2105
  *
2106
2106
  */
2107
- categoryOverride: string;
2107
+ categoryOverride?: string | null;
2108
2108
  /**
2109
2109
  * The (long) callsign of the unit.
2110
2110
  *
@@ -2119,17 +2119,17 @@ export interface Unit {
2119
2119
  * The callsign displayed on maps if is set to true.
2120
2120
  *
2121
2121
  */
2122
- callsignGps: string;
2122
+ callsignGps?: string | null;
2123
2123
  /**
2124
2124
  * The verbal callsign of the unit.
2125
2125
  *
2126
2126
  */
2127
- callsignVerbal: string;
2127
+ callsignVerbal?: string | null;
2128
2128
  /**
2129
2129
  * The radio group associated with the unit. Is null if not set.
2130
2130
  *
2131
2131
  */
2132
- radioGroup: IRadioGroup;
2132
+ radioGroup?: IRadioGroup | null;
2133
2133
  /**
2134
2134
  * The point of interest (POI) where the unit is located.
2135
2135
  *
@@ -2139,7 +2139,7 @@ export interface Unit {
2139
2139
  * The point of interest (POI) where the doctor is picked up then value is set to.
2140
2140
  *
2141
2141
  */
2142
- doctorPickupPoi: IPoi;
2142
+ doctorPickupPoi?: IPoi | null;
2143
2143
  /**
2144
2144
  * The name of the point of interest (POI) where the unit is located.
2145
2145
  *
@@ -2174,7 +2174,7 @@ export interface Unit {
2174
2174
  * The dispatch groups associated with the unit.
2175
2175
  *
2176
2176
  */
2177
- dispatchGroups: string;
2177
+ dispatchGroups?: string | null;
2178
2178
  /**
2179
2179
  * The dispatch option of the unit, determining how the unit is automatically suggested by the system.
2180
2180
  *
@@ -2200,17 +2200,17 @@ export interface Unit {
2200
2200
  * @remarks
2201
2201
  * Required if is set to .
2202
2202
  */
2203
- dutyPeriods: IUnitDutyPeriod[] | null;
2203
+ dutyPeriods?: IUnitDutyPeriod[] | null;
2204
2204
  /**
2205
2205
  * The list of equipment associated with the unit.
2206
2206
  *
2207
2207
  */
2208
- equipments: UnitEquipment[] | null;
2208
+ equipments?: UnitEquipment[] | null;
2209
2209
  /**
2210
2210
  * Gets or sets the origin information for this Shelf instance. May be if the object was created locally or has no external source.
2211
2211
  *
2212
2212
  */
2213
- origin: ShelfOriginBase;
2213
+ origin?: ShelfOriginBase | null;
2214
2214
  /**
2215
2215
  * Gets the display category of the unit.
2216
2216
  *
@@ -2233,17 +2233,17 @@ export interface UnitDutyInformation {
2233
2233
  * Duty periods: when the current duty ends (following shifts included); null when not on duty or around the clock.
2234
2234
  *
2235
2235
  */
2236
- dutyEndsOn: string | null;
2236
+ dutyEndsOn?: string | null;
2237
2237
  /**
2238
2238
  * Duty periods, not on duty: when the next shift starts.
2239
2239
  *
2240
2240
  */
2241
- nextDutyStartsOn: string | null;
2241
+ nextDutyStartsOn?: string | null;
2242
2242
  /**
2243
2243
  * Minutes from the session time until or .
2244
2244
  *
2245
2245
  */
2246
- minutesUntilChange: number | null;
2246
+ minutesUntilChange?: number | null;
2247
2247
  }
2248
2248
  export interface UnitDutyPeriod {
2249
2249
  id: number;
@@ -2284,7 +2284,7 @@ export interface UnitInfo {
2284
2284
  * The overridden category of the unit.
2285
2285
  *
2286
2286
  */
2287
- categoryOverride: string;
2287
+ categoryOverride?: string | null;
2288
2288
  /**
2289
2289
  * The (long) callsign of the unit.
2290
2290
  *
@@ -2299,7 +2299,7 @@ export interface UnitInfo {
2299
2299
  * The callsign displayed on maps if is set to true.
2300
2300
  *
2301
2301
  */
2302
- callsignGps: string;
2302
+ callsignGps?: string | null;
2303
2303
  /**
2304
2304
  * Indicates whether the unit is not a volunteer unit. Affects departure time calculations.
2305
2305
  *
@@ -2320,7 +2320,7 @@ export interface UnitInfo {
2320
2320
  * Gets or sets the origin information for this Shelf instance. May be if the object was created locally or has no external source.
2321
2321
  *
2322
2322
  */
2323
- origin: ShelfOriginBase;
2323
+ origin?: ShelfOriginBase | null;
2324
2324
  }
2325
2325
  export interface UnitLookupItem {
2326
2326
  /**
@@ -2342,12 +2342,12 @@ export interface UnitLookupItem {
2342
2342
  * The GPS callsign, if any.
2343
2343
  *
2344
2344
  */
2345
- callsignGps: string;
2345
+ callsignGps?: string | null;
2346
2346
  /**
2347
2347
  * The verbal callsign (as spoken on the radio), if any.
2348
2348
  *
2349
2349
  */
2350
- callsignVerbal: string;
2350
+ callsignVerbal?: string | null;
2351
2351
  /**
2352
2352
  * The unit category, e.g. "RTW".
2353
2353
  *
@@ -2360,7 +2360,7 @@ export interface UnitLookupItem {
2360
2360
  matchedCallsign: string;
2361
2361
  }
2362
2362
  export interface UserInfo {
2363
- suspendedUntilUtc: string | null;
2363
+ suspendedUntilUtc?: string | null;
2364
2364
  id: number;
2365
2365
  sub: string;
2366
2366
  /**
@@ -2377,22 +2377,22 @@ export interface UserInfo {
2377
2377
  * 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.
2378
2378
  *
2379
2379
  */
2380
- displayFirstName: string;
2380
+ displayFirstName?: string | null;
2381
2381
  /**
2382
2382
  * 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.
2383
2383
  *
2384
2384
  */
2385
- displayLastName: string;
2385
+ displayLastName?: string | null;
2386
2386
  /**
2387
2387
  * 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.
2388
2388
  *
2389
2389
  */
2390
- dispatcherTag: string;
2390
+ dispatcherTag?: string | null;
2391
2391
  /**
2392
2392
  * Represents the date and time of the user's last activity.
2393
2393
  *
2394
2394
  */
2395
- lastActivityOn: string | null;
2395
+ lastActivityOn?: string | null;
2396
2396
  }
2397
2397
  export interface Information {
2398
2398
  }
@@ -2413,7 +2413,7 @@ export interface SessionEvent {
2413
2413
  * Gets or sets the arguments associated with the session event.
2414
2414
  *
2415
2415
  */
2416
- args: SessionEventArgs;
2416
+ args?: SessionEventArgs | null;
2417
2417
  }
2418
2418
  export interface SessionEventArgs {
2419
2419
  }
@@ -2422,7 +2422,7 @@ export interface SessionWebhook {
2422
2422
  * Gets or sets the types of session events that trigger the webhook.
2423
2423
  *
2424
2424
  */
2425
- events: SessionEventType[] | null;
2425
+ events?: SessionEventType[] | null;
2426
2426
  /**
2427
2427
  * Gets or sets the URL to which the webhook will send HTTP requests.
2428
2428
  *
@@ -2432,14 +2432,14 @@ export interface SessionWebhook {
2432
2432
  * Gets or sets the HTTP method used for the webhook (e.g., GET, POST).
2433
2433
  *
2434
2434
  */
2435
- method: SessionWebhookMethod | null;
2435
+ method?: SessionWebhookMethod | null;
2436
2436
  /**
2437
2437
  * Gets or sets the headers included in the webhook HTTP requests.
2438
2438
  *
2439
2439
  */
2440
- headers: {
2440
+ headers?: {
2441
2441
  [key: string]: string;
2442
- };
2442
+ } | null;
2443
2443
  }
2444
2444
  /**
2445
2445
  * Base record for all Shelf origin descriptors. Inherit from this record to represent various source or origin types (e.g., API origin, file origin, database origin, etc.).
@@ -2473,22 +2473,22 @@ export interface TaskCatalogItem {
2473
2473
  * Gets or sets the display name of the task.
2474
2474
  *
2475
2475
  */
2476
- displayName: string;
2476
+ displayName?: string | null;
2477
2477
  /**
2478
2478
  * Gets or sets the description of the task.
2479
2479
  *
2480
2480
  */
2481
- description: string;
2481
+ description?: string | null;
2482
2482
  /**
2483
2483
  * Gets or sets the category of the task.
2484
2484
  *
2485
2485
  */
2486
- category: string;
2486
+ category?: string | null;
2487
2487
  /**
2488
2488
  * Gets or sets the version of the task.
2489
2489
  *
2490
2490
  */
2491
- version: string;
2491
+ version?: string | null;
2492
2492
  /**
2493
2493
  * Gets or sets the priority of the task.
2494
2494
  *
@@ -2508,7 +2508,7 @@ export interface TaskCatalogItem {
2508
2508
  * Gets or sets the list of parameters associated with this task.
2509
2509
  *
2510
2510
  */
2511
- parameters: TaskCatalogParameter[] | null;
2511
+ parameters?: TaskCatalogParameter[] | null;
2512
2512
  /**
2513
2513
  * Gets or sets whether this task can be selected in template frontend.
2514
2514
  *
@@ -2520,12 +2520,12 @@ export interface TaskCatalogParameter {
2520
2520
  * Gets or sets the name of the parameter.
2521
2521
  *
2522
2522
  */
2523
- displayName: string;
2523
+ displayName?: string | null;
2524
2524
  /**
2525
2525
  * Gets or sets the description of the parameter.
2526
2526
  *
2527
2527
  */
2528
- description: string;
2528
+ description?: string | null;
2529
2529
  /**
2530
2530
  * Gets or sets whether this parameter is required.
2531
2531
  *
@@ -2535,7 +2535,7 @@ export interface TaskCatalogParameter {
2535
2535
  * Gets or sets the default value for this parameter.
2536
2536
  *
2537
2537
  */
2538
- defaultValue: Object;
2538
+ defaultValue?: Object | null;
2539
2539
  /**
2540
2540
  * Gets or sets the order in which this parameter should be displayed in a UI.
2541
2541
  *
@@ -2545,7 +2545,7 @@ export interface TaskCatalogParameter {
2545
2545
  * Gets or sets a validation pattern (regex) for string parameters.
2546
2546
  *
2547
2547
  */
2548
- validationPattern: string;
2548
+ validationPattern?: string | null;
2549
2549
  /**
2550
2550
  * Gets or sets whether this parameter is a secret (e.g. bearer token). Value will never be displayed on frontend.
2551
2551
  *
@@ -2555,7 +2555,7 @@ export interface TaskCatalogParameter {
2555
2555
  * Gets or sets the type of the parameter.
2556
2556
  *
2557
2557
  */
2558
- propertyType: string;
2558
+ propertyType?: string | null;
2559
2559
  }
2560
2560
  export interface IAddress {
2561
2561
  id: number;
@@ -2568,12 +2568,12 @@ export interface IAddress {
2568
2568
  * 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.
2569
2569
  *
2570
2570
  */
2571
- streetNumberMin: number | null;
2571
+ streetNumberMin?: number | null;
2572
2572
  /**
2573
2573
  * 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.
2574
2574
  *
2575
2575
  */
2576
- streetNumberMax: number | null;
2576
+ streetNumberMax?: number | null;
2577
2577
  districtId: number;
2578
2578
  /**
2579
2579
  * The name of the district.
@@ -2599,7 +2599,7 @@ export interface IAddress {
2599
2599
  * The phone prefix used within the district. This property can be null if the phone prefix is not applicable or not defined.
2600
2600
  *
2601
2601
  */
2602
- districtPhonePrefix: string;
2602
+ districtPhonePrefix?: string | null;
2603
2603
  districtCoordinates: Coordinates;
2604
2604
  cityId: number;
2605
2605
  /**
@@ -2698,7 +2698,7 @@ export interface IAddressDistrict {
2698
2698
  * The phone prefix used within the district. This property can be null if the phone prefix is not applicable or not defined.
2699
2699
  *
2700
2700
  */
2701
- districtPhonePrefix: string;
2701
+ districtPhonePrefix?: string | null;
2702
2702
  districtCoordinates: Coordinates;
2703
2703
  cityId: number;
2704
2704
  /**
@@ -2744,42 +2744,42 @@ export interface IAdvancedMobileLocation {
2744
2744
  * Latitude of the location.
2745
2745
  *
2746
2746
  */
2747
- latitude: number | null;
2747
+ latitude?: number | null;
2748
2748
  /**
2749
2749
  * Longitude of the location.
2750
2750
  *
2751
2751
  */
2752
- longitude: number | null;
2752
+ longitude?: number | null;
2753
2753
  /**
2754
2754
  * Time when the location was recorded.
2755
2755
  *
2756
2756
  */
2757
- locationTime: string | null;
2757
+ locationTime?: string | null;
2758
2758
  /**
2759
2759
  * Accuracy of the location in meters.
2760
2760
  *
2761
2761
  */
2762
- accuracy: number | null;
2762
+ accuracy?: number | null;
2763
2763
  /**
2764
2764
  * Vertical accuracy of the location in meters.
2765
2765
  *
2766
2766
  */
2767
- verticalAccuracy: number | null;
2767
+ verticalAccuracy?: number | null;
2768
2768
  /**
2769
2769
  * Altitude of the location in meters.
2770
2770
  *
2771
2771
  */
2772
- altitude: number | null;
2772
+ altitude?: number | null;
2773
2773
  /**
2774
2774
  * Source of the location information (e.g., GPS, WiFi).
2775
2775
  *
2776
2776
  */
2777
- source: string;
2777
+ source?: string | null;
2778
2778
  /**
2779
2779
  * Status of the location data (e.g., ok).
2780
2780
  *
2781
2781
  */
2782
- status: string;
2782
+ status?: string | null;
2783
2783
  }
2784
2784
  export interface IAdvancedMobileLocationEnriched {
2785
2785
  /**
@@ -2796,47 +2796,47 @@ export interface IAdvancedMobileLocationEnriched {
2796
2796
  * Gets or sets a collection of instances. Each element contains a reference and the in meters from the AML coordinates.
2797
2797
  *
2798
2798
  */
2799
- places: IAdvancedMobileLocationPlace[] | null;
2799
+ places?: IAdvancedMobileLocationPlace[] | null;
2800
2800
  /**
2801
2801
  * Latitude of the location.
2802
2802
  *
2803
2803
  */
2804
- latitude: number | null;
2804
+ latitude?: number | null;
2805
2805
  /**
2806
2806
  * Longitude of the location.
2807
2807
  *
2808
2808
  */
2809
- longitude: number | null;
2809
+ longitude?: number | null;
2810
2810
  /**
2811
2811
  * Time when the location was recorded.
2812
2812
  *
2813
2813
  */
2814
- locationTime: string | null;
2814
+ locationTime?: string | null;
2815
2815
  /**
2816
2816
  * Accuracy of the location in meters.
2817
2817
  *
2818
2818
  */
2819
- accuracy: number | null;
2819
+ accuracy?: number | null;
2820
2820
  /**
2821
2821
  * Vertical accuracy of the location in meters.
2822
2822
  *
2823
2823
  */
2824
- verticalAccuracy: number | null;
2824
+ verticalAccuracy?: number | null;
2825
2825
  /**
2826
2826
  * Altitude of the location in meters.
2827
2827
  *
2828
2828
  */
2829
- altitude: number | null;
2829
+ altitude?: number | null;
2830
2830
  /**
2831
2831
  * Source of the location information (e.g., GPS, WiFi).
2832
2832
  *
2833
2833
  */
2834
- source: string;
2834
+ source?: string | null;
2835
2835
  /**
2836
2836
  * Status of the location data (e.g., ok).
2837
2837
  *
2838
2838
  */
2839
- status: string;
2839
+ status?: string | null;
2840
2840
  }
2841
2841
  export interface IAdvancedMobileLocationPlace {
2842
2842
  /**
@@ -2861,7 +2861,7 @@ export interface IArea {
2861
2861
  * 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.
2862
2862
  *
2863
2863
  */
2864
- dispatchGroups: string;
2864
+ dispatchGroups?: string | null;
2865
2865
  /**
2866
2866
  * The district this area is responsible for. This is used to map addresses to specific dispatch areas.
2867
2867
  *
@@ -2884,43 +2884,43 @@ export interface ICallInfo {
2884
2884
  * Gets or sets the workplace associated with the call, if available.
2885
2885
  *
2886
2886
  */
2887
- workplace: IWorkplace;
2887
+ workplace?: IWorkplace | null;
2888
2888
  /**
2889
2889
  * Gets or sets the advanced mobile location (AML) data, if provided.
2890
2890
  *
2891
2891
  */
2892
- advancedMobileLocation: IAdvancedMobileLocationEnriched;
2892
+ advancedMobileLocation?: IAdvancedMobileLocationEnriched | null;
2893
2893
  /**
2894
2894
  * Gets or sets the known POI for the call, if available.
2895
2895
  *
2896
2896
  */
2897
- knownPoi: IPoi;
2897
+ knownPoi?: IPoi | null;
2898
2898
  /**
2899
2899
  * Gets or sets the known name (e.g., phonebook, LDAP) for the call, if available.
2900
2900
  *
2901
2901
  */
2902
- knownName: string;
2902
+ knownName?: string | null;
2903
2903
  /**
2904
2904
  * Gets or sets the known district area (e.g., from phone area code / number) for the call, if available.
2905
2905
  *
2906
2906
  */
2907
- knownDistrict: string;
2907
+ knownDistrict?: string | null;
2908
2908
  /**
2909
2909
  * Gets or sets the unit if the call is associated with a unit or comes from a unit.
2910
2910
  *
2911
2911
  */
2912
- unit: IUnitInfo;
2912
+ unit?: IUnitInfo | null;
2913
2913
  }
2914
2914
  export interface IContactInfo {
2915
2915
  id: string;
2916
2916
  displayName: string;
2917
- description: string;
2917
+ description?: string | null;
2918
2918
  fullyQualifiedPhoneNumber: string;
2919
- meta: {
2919
+ meta?: {
2920
2920
  [key: string]: Object;
2921
- };
2921
+ } | null;
2922
2922
  isHidden: boolean;
2923
- poiInfo: IPoiInfo;
2923
+ poiInfo?: IPoiInfo | null;
2924
2924
  }
2925
2925
  export interface IDirectionsResult {
2926
2926
  /**
@@ -2939,12 +2939,12 @@ export interface IDispatchCenter {
2939
2939
  * The package of addresses associated with the command center.
2940
2940
  *
2941
2941
  */
2942
- addressPackage: AddressPackage;
2942
+ addressPackage?: AddressPackage | null;
2943
2943
  /**
2944
2944
  * The specific address where the command center is physically located (geographical position).
2945
2945
  *
2946
2946
  */
2947
- address: IAddress;
2947
+ address?: IAddress | null;
2948
2948
  /**
2949
2949
  * Indicates whether the command center is accessible to the public (read-only).
2950
2950
  *
@@ -2959,7 +2959,7 @@ export interface IDispatchCenter {
2959
2959
  * Information about the owner of the command center, which includes details.
2960
2960
  *
2961
2961
  */
2962
- owner: IUserInfo;
2962
+ owner?: IUserInfo | null;
2963
2963
  /**
2964
2964
  * Indicates whether the command center is recommended within the system, possibly based on performance or user ratings.
2965
2965
  *
@@ -2969,7 +2969,7 @@ export interface IDispatchCenter {
2969
2969
  * The average rating of the command center based on user reviews, on a scale from 1 to 5 stars.
2970
2970
  *
2971
2971
  */
2972
- averageRating: number | null;
2972
+ averageRating?: number | null;
2973
2973
  /**
2974
2974
  * The date and time when the command center was created.
2975
2975
  *
@@ -3004,32 +3004,32 @@ export interface IDispatchCenter {
3004
3004
  * 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.
3005
3005
  *
3006
3006
  */
3007
- callNumberOffice: string;
3007
+ callNumberOffice?: string | null;
3008
3008
  /**
3009
3009
  * 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.
3010
3010
  *
3011
3011
  */
3012
- callNumberEmergency: string;
3012
+ callNumberEmergency?: string | null;
3013
3013
  /**
3014
3014
  * 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.
3015
3015
  *
3016
3016
  */
3017
- callNumberPatientTransport: string;
3017
+ callNumberPatientTransport?: string | null;
3018
3018
  /**
3019
3019
  * The standard greeting or statement given by a call taker when answering a regular office call at the dispatch center.
3020
3020
  *
3021
3021
  */
3022
- callTextOffice: string;
3022
+ callTextOffice?: string | null;
3023
3023
  /**
3024
3024
  * The scripted emergency greeting or statement used by call takers when they answer an emergency call, e.g., "911, what's your emergency?"
3025
3025
  *
3026
3026
  */
3027
- callTextEmergency: string;
3027
+ callTextEmergency?: string | null;
3028
3028
  /**
3029
3029
  * The standard greeting or statement used when accepting calls for patient transport.
3030
3030
  *
3031
3031
  */
3032
- callTextPatientTransport: string;
3032
+ callTextPatientTransport?: string | null;
3033
3033
  /**
3034
3034
  * The maximum time in seconds it takes for a non-volunteer unit to depart from a department after dispatch.
3035
3035
  *
@@ -3136,7 +3136,7 @@ export interface IDispatchCenter {
3136
3136
  * The identifier for a discussion topic associated with the command center on the forums.sim-dispatcher.com platform.
3137
3137
  *
3138
3138
  */
3139
- discourseTopicId: number | null;
3139
+ discourseTopicId?: number | null;
3140
3140
  /**
3141
3141
  * 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 (%).
3142
3142
  *
@@ -3166,23 +3166,23 @@ export interface IDispatchCenter {
3166
3166
  * A list of configurable options that can be set per command center. These options allow for the customization of operational settings,
3167
3167
  *
3168
3168
  */
3169
- options: DispatchCenterOption[] | null;
3169
+ options?: DispatchCenterOption[] | null;
3170
3170
  /**
3171
3171
  * A list of custom equipment configurations available for the command center. This property allows the command center to specify unique equipment setups for automated unit suggestions, tailoring the available resources to the specific needs of operations.
3172
3172
  *
3173
3173
  */
3174
- customEquipments: IDispatchCenterCustomEquipment[] | null;
3174
+ customEquipments?: IDispatchCenterCustomEquipment[] | null;
3175
3175
  /**
3176
3176
  * A list of users who have administrative rights to contribute to and manage the data and operations of the command center. These administrators are responsible for overseeing the daily operations and ensuring that the command center's data and settings are correctly maintained and updated.
3177
3177
  *
3178
3178
  */
3179
- administrators: IUserInfo[] | null;
3179
+ administrators?: IUserInfo[] | null;
3180
3180
  /**
3181
3181
  * The status of a unit if no status was provided / received yet.
3182
3182
  *
3183
3183
  */
3184
- defaultStatus: number | null;
3185
- unitStatusWhenUnitIsOnStandbyLocation: number | null;
3184
+ defaultStatus?: number | null;
3185
+ unitStatusWhenUnitIsOnStandbyLocation?: number | null;
3186
3186
  /**
3187
3187
  * This is the dpcId (Dispatch Center ID).
3188
3188
  *
@@ -3202,12 +3202,12 @@ export interface IDispatchCenter {
3202
3202
  * The identifier for the header image of the command center, used for display purposes in interfaces.
3203
3203
  *
3204
3204
  */
3205
- headerImageId: string | null;
3205
+ headerImageId?: string | null;
3206
3206
  /**
3207
3207
  * The date and time when the command center was last modified.
3208
3208
  *
3209
3209
  */
3210
- changedOn: string | null;
3210
+ changedOn?: string | null;
3211
3211
  /**
3212
3212
  * The number of active players or users at the command center within the last 30 days, indicating its operational activity.
3213
3213
  *
@@ -3217,7 +3217,7 @@ export interface IDispatchCenter {
3217
3217
  * The country where the dispatch center is located.
3218
3218
  *
3219
3219
  */
3220
- country: Country | null;
3220
+ country?: Country | null;
3221
3221
  /**
3222
3222
  * Indicates the Dispatch Center entire dataset is not completed or production-ready yet.
3223
3223
  *
@@ -3257,12 +3257,12 @@ export interface IDispatchCenterInfo {
3257
3257
  * The identifier for the header image of the command center, used for display purposes in interfaces.
3258
3258
  *
3259
3259
  */
3260
- headerImageId: string | null;
3260
+ headerImageId?: string | null;
3261
3261
  /**
3262
3262
  * The date and time when the command center was last modified.
3263
3263
  *
3264
3264
  */
3265
- changedOn: string | null;
3265
+ changedOn?: string | null;
3266
3266
  /**
3267
3267
  * The number of active players or users at the command center within the last 30 days, indicating its operational activity.
3268
3268
  *
@@ -3272,7 +3272,7 @@ export interface IDispatchCenterInfo {
3272
3272
  * The country where the dispatch center is located.
3273
3273
  *
3274
3274
  */
3275
- country: Country | null;
3275
+ country?: Country | null;
3276
3276
  /**
3277
3277
  * Indicates the Dispatch Center entire dataset is not completed or production-ready yet.
3278
3278
  *
@@ -3299,54 +3299,54 @@ export interface IGeocodingResult {
3299
3299
  * Gets the zip code associated with the geocoding result.
3300
3300
  *
3301
3301
  */
3302
- zip: string;
3302
+ zip?: string | null;
3303
3303
  /**
3304
3304
  * Gets the street address associated with the geocoding result.
3305
3305
  *
3306
3306
  */
3307
- street: string;
3307
+ street?: string | null;
3308
3308
  /**
3309
3309
  * Gets the house number associated with the geocoding result.
3310
3310
  *
3311
3311
  */
3312
- houseNumber: string;
3312
+ houseNumber?: string | null;
3313
3313
  /**
3314
3314
  * Gets the city associated with the geocoding result.
3315
3315
  *
3316
3316
  */
3317
- city: string;
3317
+ city?: string | null;
3318
3318
  /**
3319
3319
  * Gets the district associated with the geocoding result.
3320
3320
  *
3321
3321
  */
3322
- district: string;
3322
+ district?: string | null;
3323
3323
  /**
3324
3324
  * Gets the commune associated with the geocoding result.
3325
3325
  *
3326
3326
  */
3327
- commune: string;
3327
+ commune?: string | null;
3328
3328
  }
3329
3329
  export interface IGeoReferenced {
3330
3330
  /**
3331
3331
  * Point of interest associated with the location, if applicable.
3332
3332
  *
3333
3333
  */
3334
- poi: IPoi;
3334
+ poi?: IPoi | null;
3335
3335
  /**
3336
3336
  * Primary address details of the location.
3337
3337
  *
3338
3338
  */
3339
- address: IAddress;
3339
+ address?: IAddress | null;
3340
3340
  /**
3341
3341
  * House number at the location, if applicable.
3342
3342
  *
3343
3343
  */
3344
- houseNumber: string;
3344
+ houseNumber?: string | null;
3345
3345
  /**
3346
3346
  * Geographical coordinates of the location.
3347
3347
  *
3348
3348
  */
3349
- coordinates: Coordinates | null;
3349
+ coordinates?: Coordinates | null;
3350
3350
  /**
3351
3351
  * Specifies the accuracy of the coordinates from the geocoding process.
3352
3352
  *
@@ -3365,7 +3365,7 @@ export interface IGeoReferenced {
3365
3365
  *
3366
3366
  * @returns A list of property names to be included in the hash.
3367
3367
  */
3368
- hashProperties: string[] | null;
3368
+ hashProperties: string[];
3369
3369
  }
3370
3370
  export interface IHotkey {
3371
3371
  /**
@@ -3464,12 +3464,12 @@ export interface IKeyword {
3464
3464
  * Groups of dispatch units suggested for the keyword, used to refine the suggestions based on unit capabilities.
3465
3465
  *
3466
3466
  */
3467
- dispatchGroups: string;
3467
+ dispatchGroups?: string | null;
3468
3468
  /**
3469
3469
  * A list of equipment required for handling the emergency, linked to this keyword.
3470
3470
  *
3471
3471
  */
3472
- requiredEquipment: IKeywordEquipment[] | null;
3472
+ requiredEquipment?: IKeywordEquipment[] | null;
3473
3473
  id: number;
3474
3474
  /**
3475
3475
  * The name of the keyword used for search and identification purposes.
@@ -3480,7 +3480,7 @@ export interface IKeyword {
3480
3480
  * Gets or sets the origin information for this Shelf instance. May be if the object was created locally or has no external source.
3481
3481
  *
3482
3482
  */
3483
- origin: ShelfOriginBase;
3483
+ origin?: ShelfOriginBase | null;
3484
3484
  }
3485
3485
  export interface IKeywordEquipment {
3486
3486
  id: number;
@@ -3506,7 +3506,7 @@ export interface IKeywordInfo {
3506
3506
  * Gets or sets the origin information for this Shelf instance. May be if the object was created locally or has no external source.
3507
3507
  *
3508
3508
  */
3509
- origin: ShelfOriginBase;
3509
+ origin?: ShelfOriginBase | null;
3510
3510
  }
3511
3511
  export interface IMissionLoad {
3512
3512
  id: number;
@@ -3542,7 +3542,7 @@ export interface INotification {
3542
3542
  * Gets or sets the agent associated with the notification, may be null if not applicable.
3543
3543
  *
3544
3544
  */
3545
- agent: IUserInfo;
3545
+ agent?: IUserInfo | null;
3546
3546
  /**
3547
3547
  * Gets the category of the notification.
3548
3548
  *
@@ -3557,39 +3557,39 @@ export interface INotification {
3557
3557
  * Gets or sets about the notification.
3558
3558
  *
3559
3559
  */
3560
- about: string;
3560
+ about?: string | null;
3561
3561
  /**
3562
3562
  * Gets or sets the identifier of the operation to which the notification is applicable, may be null.
3563
3563
  *
3564
3564
  */
3565
- applicableOperationId: string | null;
3565
+ applicableOperationId?: string | null;
3566
3566
  /**
3567
3567
  * Gets or sets the identifier of the unit to which the notification is applicable, may be null.
3568
3568
  *
3569
3569
  */
3570
- applicableUnitId: number | null;
3570
+ applicableUnitId?: number | null;
3571
3571
  /**
3572
3572
  * Gets or sets the status of the unit to which the notification is applicable, may be null if it's not about a status change.
3573
3573
  *
3574
3574
  */
3575
- applicableUnitStatus: UnitStatus | null;
3575
+ applicableUnitStatus?: UnitStatus | null;
3576
3576
  }
3577
3577
  export interface IOperation {
3578
3578
  /**
3579
3579
  * Gets or sets the name of the caller.
3580
3580
  *
3581
3581
  */
3582
- callerName: string;
3582
+ callerName?: string | null;
3583
3583
  /**
3584
3584
  * Gets the properties the operation still needs before units can be dispatched to it (computed); empty when it is ready for dispatch.
3585
3585
  *
3586
3586
  */
3587
- missingDispatchRequirements: DispatchRequirement[] | null;
3587
+ missingDispatchRequirements: DispatchRequirement[];
3588
3588
  /**
3589
3589
  * Gets or sets the phone number of the caller.
3590
3590
  *
3591
3591
  */
3592
- callerNumber: string;
3592
+ callerNumber?: string | null;
3593
3593
  /**
3594
3594
  * Gets or sets the date and time the operation was created.
3595
3595
  *
@@ -3599,78 +3599,78 @@ export interface IOperation {
3599
3599
  * Gets or sets the date and time the operation was dispatched.
3600
3600
  *
3601
3601
  */
3602
- dispatchedOn: string | null;
3602
+ dispatchedOn?: string | null;
3603
3603
  /**
3604
3604
  * Gets or sets the date and time the operation was finished.
3605
3605
  *
3606
3606
  */
3607
- finishedOn: string | null;
3607
+ finishedOn?: string | null;
3608
3608
  /**
3609
3609
  * Gets or sets the scheduled pick-up date and time for the operation. A reminder notification will be created based on this value.
3610
3610
  *
3611
3611
  */
3612
- scheduledPickUpOn: string | null;
3612
+ scheduledPickUpOn?: string | null;
3613
3613
  /**
3614
3614
  * Gets or sets the user information for the creator of the operation.
3615
3615
  *
3616
3616
  */
3617
- createdBy: IUserInfo;
3617
+ createdBy?: IUserInfo | null;
3618
3618
  /**
3619
3619
  * Gets or sets the user information for the dispatcher of the operation.
3620
3620
  *
3621
3621
  */
3622
- dispatchedBy: IUserInfo;
3622
+ dispatchedBy?: IUserInfo | null;
3623
3623
  /**
3624
3624
  * Gets or sets the user information for the person who closed the operation.
3625
3625
  *
3626
3626
  */
3627
- finishedBy: IUserInfo;
3627
+ finishedBy?: IUserInfo | null;
3628
3628
  /**
3629
3629
  * Gets or sets internal information about the operation
3630
3630
  *
3631
3631
  */
3632
- informationInternal: string;
3632
+ informationInternal?: string | null;
3633
3633
  /**
3634
3634
  * Gets or sets external information about the operation.
3635
3635
  *
3636
3636
  */
3637
- informationExternal: string;
3637
+ informationExternal?: string | null;
3638
3638
  /**
3639
3639
  * Gets or sets the floor at the location, e.g. "3rd floor" (detail for the units; not used for geocoding).
3640
3640
  *
3641
3641
  */
3642
- locationFloor: string;
3642
+ locationFloor?: string | null;
3643
3643
  /**
3644
3644
  * Gets or sets the junction, interchange or exit at the location, e.g. on a motorway (detail for the units; not used for geocoding).
3645
3645
  *
3646
3646
  */
3647
- locationJunction: string;
3647
+ locationJunction?: string | null;
3648
3648
  /**
3649
3649
  * Gets or sets the position on a route at the location in any unit, e.g. "km 123.4" or "mile 76" (detail for the units; not used for geocoding).
3650
3650
  *
3651
3651
  */
3652
- locationRouteMarker: string;
3652
+ locationRouteMarker?: string | null;
3653
3653
  id: string;
3654
3654
  /**
3655
3655
  * Gets or sets the internal operation number.
3656
3656
  *
3657
3657
  */
3658
- numberInternal: string;
3658
+ numberInternal?: string | null;
3659
3659
  /**
3660
3660
  * Gets or sets the external operation number.
3661
3661
  *
3662
3662
  */
3663
- numberExternal: string;
3663
+ numberExternal?: string | null;
3664
3664
  /**
3665
3665
  * Gets or sets the collection of keywords associated with the operation.
3666
3666
  *
3667
3667
  */
3668
- keywords: IKeyword[] | null;
3668
+ keywords: IKeyword[];
3669
3669
  /**
3670
3670
  * Gets or sets the location of the operation.
3671
3671
  *
3672
3672
  */
3673
- location: IGeoReferenced;
3673
+ location?: IGeoReferenced | null;
3674
3674
  /**
3675
3675
  * Gets or sets the priority of the operation.
3676
3676
  *
@@ -3707,22 +3707,22 @@ export interface IOperationInfo {
3707
3707
  * Gets or sets the internal operation number.
3708
3708
  *
3709
3709
  */
3710
- numberInternal: string;
3710
+ numberInternal?: string | null;
3711
3711
  /**
3712
3712
  * Gets or sets the external operation number.
3713
3713
  *
3714
3714
  */
3715
- numberExternal: string;
3715
+ numberExternal?: string | null;
3716
3716
  /**
3717
3717
  * Gets or sets the collection of keywords associated with the operation.
3718
3718
  *
3719
3719
  */
3720
- keywords: IKeyword[] | null;
3720
+ keywords: IKeyword[];
3721
3721
  /**
3722
3722
  * Gets or sets the location of the operation.
3723
3723
  *
3724
3724
  */
3725
- location: IGeoReferenced;
3725
+ location?: IGeoReferenced | null;
3726
3726
  /**
3727
3727
  * Gets or sets the priority of the operation.
3728
3728
  *
@@ -3751,12 +3751,12 @@ export interface IOperationResource {
3751
3751
  * Gets or sets the date and time the resource dispatch was canceled.
3752
3752
  *
3753
3753
  */
3754
- cancelOn: string | null;
3754
+ cancelOn?: string | null;
3755
3755
  /**
3756
3756
  * Gets or sets the date and time the resource completed its task.
3757
3757
  *
3758
3758
  */
3759
- completedOn: string | null;
3759
+ completedOn?: string | null;
3760
3760
  /**
3761
3761
  * Gets or sets the timestamps of various statuses of the resource.
3762
3762
  *
@@ -3778,22 +3778,22 @@ export interface IOperationResource {
3778
3778
  * Gets or sets the current status of the unit.
3779
3779
  *
3780
3780
  */
3781
- unitStatus: UnitStatus | null;
3781
+ unitStatus?: UnitStatus | null;
3782
3782
  /**
3783
3783
  * Gets or sets a non-persistent unit status for temporary tracking.
3784
3784
  *
3785
3785
  */
3786
- unitStatusNonPersistent: UnitStatusNonPersistent | null;
3786
+ unitStatusNonPersistent?: UnitStatusNonPersistent | null;
3787
3787
  /**
3788
3788
  * Gets or sets since then the current status of the unit was set.
3789
3789
  *
3790
3790
  */
3791
- unitStatusSince: string | null;
3791
+ unitStatusSince?: string | null;
3792
3792
  /**
3793
3793
  * Gets or sets since a non-persistent unit status for temporary tracking was set.
3794
3794
  *
3795
3795
  */
3796
- unitStatusNonPersistentSince: string | null;
3796
+ unitStatusNonPersistentSince?: string | null;
3797
3797
  /**
3798
3798
  * Gets or sets the static position of the unit, representing its station location when on duty without dispatch.
3799
3799
  *
@@ -3803,17 +3803,17 @@ export interface IOperationResource {
3803
3803
  * Gets or sets the dynamic GPS position of the unit, if available.
3804
3804
  *
3805
3805
  */
3806
- dynamicPosition: Coordinates | null;
3806
+ dynamicPosition?: Coordinates | null;
3807
3807
  /**
3808
3808
  * Gets or sets the timestamp indicating when the unit was put into preselection for an operation.
3809
3809
  *
3810
3810
  */
3811
- suggestionOn: string | null;
3811
+ suggestionOn?: string | null;
3812
3812
  /**
3813
3813
  * Gets or sets when the reservation for the current operation is released automatically (real time, UTC, not the session time); null without reservation.
3814
3814
  *
3815
3815
  */
3816
- reservationExpiresOn: string | null;
3816
+ reservationExpiresOn?: string | null;
3817
3817
  /**
3818
3818
  * Gets or sets the count of times the unit has been dispatched, used for load balancing between units.
3819
3819
  *
@@ -3823,12 +3823,12 @@ export interface IOperationResource {
3823
3823
  * Gets or sets the identifier of the current operation if the unit is dispatched.
3824
3824
  *
3825
3825
  */
3826
- currentOperationId: string | null;
3826
+ currentOperationId?: string | null;
3827
3827
  /**
3828
3828
  * Gets or sets the identifier of the previous operation if the unit was dispatched.
3829
3829
  *
3830
3830
  */
3831
- previousOperationId: string | null;
3831
+ previousOperationId?: string | null;
3832
3832
  /**
3833
3833
  * Is true if the unit has a state which indicates activity (e.g. on-scene, driving ...)
3834
3834
  *
@@ -3853,7 +3853,7 @@ export interface IOperationTask {
3853
3853
  * Gets or sets notes related to the task.
3854
3854
  *
3855
3855
  */
3856
- notes: string;
3856
+ notes?: string | null;
3857
3857
  /**
3858
3858
  * Gets or sets the status of the task.
3859
3859
  *
@@ -3863,18 +3863,18 @@ export interface IOperationTask {
3863
3863
  * Gets or sets the date and time the task was last completed.
3864
3864
  *
3865
3865
  */
3866
- lastCompletedOn: string | null;
3866
+ lastCompletedOn?: string | null;
3867
3867
  /**
3868
3868
  * Gets or sets information about the user who last completed the task.
3869
3869
  *
3870
3870
  */
3871
- lastCompletedBy: IUserInfo;
3871
+ lastCompletedBy?: IUserInfo | null;
3872
3872
  /**
3873
3873
  * Gets or sets when the task was created.
3874
3874
  *
3875
3875
  */
3876
3876
  createdOn: string;
3877
- matchUnitId: number | null;
3877
+ matchUnitId?: number | null;
3878
3878
  /**
3879
3879
  * Gets whether a dispatcher may execute the task now (computed): manual tasks that may run several times, and manual-once tasks that have not run yet.
3880
3880
  *
@@ -3892,116 +3892,116 @@ export interface IPatient {
3892
3892
  * Gets or sets the insurance number of the patient, if available.
3893
3893
  *
3894
3894
  */
3895
- insuranceNumber: string;
3895
+ insuranceNumber?: string | null;
3896
3896
  /**
3897
3897
  * Gets or sets the destination location for the patient.
3898
3898
  *
3899
3899
  */
3900
- destination: IGeoReferenced;
3900
+ destination?: IGeoReferenced | null;
3901
3901
  /**
3902
3902
  * Gets or sets the department of the destination hospital that takes the patient; null if not set.
3903
3903
  *
3904
3904
  */
3905
- destinationDepartment: PoiHospitalDepartment | null;
3905
+ destinationDepartment?: PoiHospitalDepartment | null;
3906
3906
  /**
3907
3907
  * Gets or sets the hospital the transporting unit prefers ("Vorauswahl"), reported with the PZC; null if the unit preselected none. Only a wish: the unit drives to the destination once it is set.
3908
3908
  *
3909
3909
  */
3910
- preselection: IGeoReferenced;
3910
+ preselection?: IGeoReferenced | null;
3911
3911
  /**
3912
3912
  * Gets or sets the pickup deadline if the transport is time-bound. Null if not applicable.
3913
3913
  *
3914
3914
  */
3915
- pickupDeadline: string | null;
3915
+ pickupDeadline?: string | null;
3916
3916
  /**
3917
3917
  * Gets or sets the PZC (patient condition code) as its 6-digit value: incident code, age, urgency level (e.g. 232183); null if not set.
3918
3918
  *
3919
3919
  */
3920
- pzc: number | null;
3920
+ pzc?: number | null;
3921
3921
  /**
3922
3922
  * Gets or sets the units of the operation that take care of the patient (several possible, e.g. the emergency doctor and the ambulance).
3923
3923
  *
3924
3924
  */
3925
- assignedUnitIds: number[] | null;
3925
+ assignedUnitIds: number[];
3926
3926
  /**
3927
3927
  * Gets or sets the first name of the person.
3928
3928
  *
3929
3929
  */
3930
- firstName: string;
3930
+ firstName?: string | null;
3931
3931
  /**
3932
3932
  * Gets or sets the middle name of the person.
3933
3933
  *
3934
3934
  */
3935
- middleName: string;
3935
+ middleName?: string | null;
3936
3936
  /**
3937
3937
  * Gets or sets the last name of the person.
3938
3938
  *
3939
3939
  */
3940
- lastName: string;
3940
+ lastName?: string | null;
3941
3941
  /**
3942
3942
  * Gets or sets the gender of the person.
3943
3943
  *
3944
3944
  */
3945
- gender: Gender | null;
3945
+ gender?: Gender | null;
3946
3946
  /**
3947
3947
  * Gets or sets the date of birth of the person.
3948
3948
  *
3949
3949
  */
3950
- dateOfBirth: string | null;
3950
+ dateOfBirth?: string | null;
3951
3951
  }
3952
3952
  export interface IPerson {
3953
3953
  /**
3954
3954
  * Gets or sets the first name of the person.
3955
3955
  *
3956
3956
  */
3957
- firstName: string;
3957
+ firstName?: string | null;
3958
3958
  /**
3959
3959
  * Gets or sets the middle name of the person.
3960
3960
  *
3961
3961
  */
3962
- middleName: string;
3962
+ middleName?: string | null;
3963
3963
  /**
3964
3964
  * Gets or sets the last name of the person.
3965
3965
  *
3966
3966
  */
3967
- lastName: string;
3967
+ lastName?: string | null;
3968
3968
  /**
3969
3969
  * Gets or sets the gender of the person.
3970
3970
  *
3971
3971
  */
3972
- gender: Gender | null;
3972
+ gender?: Gender | null;
3973
3973
  /**
3974
3974
  * Gets or sets the date of birth of the person.
3975
3975
  *
3976
3976
  */
3977
- dateOfBirth: string | null;
3977
+ dateOfBirth?: string | null;
3978
3978
  }
3979
3979
  export interface IPoi {
3980
3980
  /**
3981
3981
  * Tags associated with the point of interest for search purposes. Separate multiple tags with a semicolon.
3982
3982
  *
3983
3983
  */
3984
- searchTags: string;
3984
+ searchTags?: string | null;
3985
3985
  /**
3986
3986
  * The verbal name of the point of interest. May be used on radio or calls.
3987
3987
  *
3988
3988
  */
3989
- verbalName: string;
3989
+ verbalName?: string | null;
3990
3990
  /**
3991
3991
  * The German genus of the point of interest (der, die, das).
3992
3992
  *
3993
3993
  */
3994
- germanGenus: string;
3994
+ germanGenus?: string | null;
3995
3995
  /**
3996
3996
  * The POI where helicopters land for this POI (category HelicopterLandingZone, e.g. the helipad of a hospital or a landing site at an airfield); null if helicopters land on the coordinates.
3997
3997
  *
3998
3998
  */
3999
- helicopterLandingZone: IPoi;
3999
+ helicopterLandingZone?: IPoi | null;
4000
4000
  /**
4001
4001
  * The departments of the hospital POI with their settings (name, entrance, landing zone, capacity), at most one per department. If IsMaxCareHospital is true, the hospital has all departments and the list only holds the settings of some of them.
4002
4002
  *
4003
4003
  */
4004
- hospitalDepartments: HospitalDepartment[] | null;
4004
+ hospitalDepartments?: HospitalDepartment[] | null;
4005
4005
  /**
4006
4006
  * Indicates whether units should be dispatched together when assigned to this POI. Should be true if non-volunteer department.
4007
4007
  *
@@ -4037,14 +4037,14 @@ export interface IPoi {
4037
4037
  *
4038
4038
  */
4039
4039
  isNameCallerNumber: boolean;
4040
- address: IAddress;
4041
- houseNumber: string;
4040
+ address?: IAddress | null;
4041
+ houseNumber?: string | null;
4042
4042
  id: number;
4043
4043
  /**
4044
4044
  * The name of the point of interest. Is unique inside a dispatch center.
4045
4045
  *
4046
4046
  */
4047
- name: string;
4047
+ name?: string | null;
4048
4048
  /**
4049
4049
  * The category of the point of interest.
4050
4050
  *
@@ -4059,19 +4059,19 @@ export interface IPoi {
4059
4059
  * Gets or sets the origin information for this Shelf instance. May be if the object was created locally or has no external source.
4060
4060
  *
4061
4061
  */
4062
- origin: ShelfOriginBase;
4062
+ origin?: ShelfOriginBase | null;
4063
4063
  }
4064
4064
  export interface IPoiCreateOptions {
4065
4065
  /**
4066
4066
  * Gets or sets the address identifier. When set, this value is directly assigned during import / create actions. If null, the is used to resolve the address ID.
4067
4067
  *
4068
4068
  */
4069
- addressId: number | null;
4069
+ addressId?: number | null;
4070
4070
  /**
4071
4071
  * Gets or sets the query string used to lookup and resolve the address identifier when is not known. The query will return the first/best match for the address.
4072
4072
  *
4073
4073
  */
4074
- addressIdLookupQuery: string;
4074
+ addressIdLookupQuery?: string | null;
4075
4075
  /**
4076
4076
  * Gets or sets the whenever the process should fail, if no address id could be assigned. If false, address object will be null if address id not determined. If true, will throw.
4077
4077
  *
@@ -4084,7 +4084,7 @@ export interface IPoiInfo {
4084
4084
  * The name of the point of interest. Is unique inside a dispatch center.
4085
4085
  *
4086
4086
  */
4087
- name: string;
4087
+ name?: string | null;
4088
4088
  /**
4089
4089
  * The category of the point of interest.
4090
4090
  *
@@ -4099,7 +4099,7 @@ export interface IPoiInfo {
4099
4099
  * Gets or sets the origin information for this Shelf instance. May be if the object was created locally or has no external source.
4100
4100
  *
4101
4101
  */
4102
- origin: ShelfOriginBase;
4102
+ origin?: ShelfOriginBase | null;
4103
4103
  }
4104
4104
  export interface IPreselection {
4105
4105
  operationId: string;
@@ -4108,41 +4108,41 @@ export interface IPreselection {
4108
4108
  * Gets or sets the estimated time required for the resource to reach the target.
4109
4109
  *
4110
4110
  */
4111
- routeTimeToTarget: string | null;
4111
+ routeTimeToTarget?: string | null;
4112
4112
  /**
4113
4113
  * Gets or sets the estimated distance in meters for the resource to reach the target.
4114
4114
  *
4115
4115
  */
4116
- metersToTarget: number | null;
4116
+ metersToTarget?: number | null;
4117
4117
  /**
4118
4118
  * Gets the estimated departure time (Rüstzeit/Ausrückezeit) before the unit can begin driving to the target. Zero for units already en route (status 1); derived from dispatch center response time settings for units on duty at their station (status 2).
4119
4119
  *
4120
4120
  */
4121
- departureTime: string | null;
4121
+ departureTime?: string | null;
4122
4122
  /**
4123
4123
  * Gets the total estimated time to reach the target, combining and . Returns null when is unknown.
4124
4124
  *
4125
4125
  */
4126
- totalTimeToTarget: string | null;
4126
+ totalTimeToTarget?: string | null;
4127
4127
  /**
4128
4128
  * Gets when the unit's duty ends (session time), only when it ends soon (Core DispatchDefaults.DutyEndWarningMinutes); otherwise null.
4129
4129
  *
4130
4130
  */
4131
- dutyEndsOn: string | null;
4131
+ dutyEndsOn?: string | null;
4132
4132
  }
4133
4133
  export interface IPrioritizedService {
4134
4134
  /**
4135
4135
  * Gets the priority of this service. Lower values indicate higher priority, and null priorities are randomized.
4136
4136
  *
4137
4137
  */
4138
- priority: number | null;
4138
+ priority?: number | null;
4139
4139
  }
4140
4140
  export interface IRadioGroup {
4141
4141
  /**
4142
4142
  * The callsign of the dispatch center associated with the radio group. Units will use this callsign to talk to the dispatch center.
4143
4143
  *
4144
4144
  */
4145
- dispatchCallsign: string;
4145
+ dispatchCallsign?: string | null;
4146
4146
  /**
4147
4147
  * Indicates whether the radio group is the "first call" radio group for external units. Only one is allowed per dispatch center.
4148
4148
  *
@@ -4168,47 +4168,47 @@ export interface IResourceFilter {
4168
4168
  * Gets or sets a collection of to filter resources based on equipment types.
4169
4169
  *
4170
4170
  */
4171
- unitEquipments: UnitEquipment[] | null;
4171
+ unitEquipments?: UnitEquipment[] | null;
4172
4172
  /**
4173
4173
  * Gets or sets a collection of to filter resources by unit categories.
4174
4174
  *
4175
4175
  */
4176
- unitCategories: UnitCategory[] | null;
4176
+ unitCategories?: UnitCategory[] | null;
4177
4177
  /**
4178
4178
  * Gets or sets a collection of to filter resources by the kind of unit (any of the groups matches).
4179
4179
  *
4180
4180
  */
4181
- unitCategoryGroups: UnitCategoryGroup[] | null;
4181
+ unitCategoryGroups?: UnitCategoryGroup[] | null;
4182
4182
  /**
4183
4183
  * Gets or sets a collection of to filter resources by how soon they are available (any of them matches).
4184
4184
  *
4185
4185
  */
4186
- unitAvailabilities: UnitAvailability[] | null;
4186
+ unitAvailabilities?: UnitAvailability[] | null;
4187
4187
  /**
4188
4188
  * Gets or sets a collection of to filter resources by unit display categories see .
4189
4189
  *
4190
4190
  */
4191
- unitDisplayCategories: string[] | null;
4191
+ unitDisplayCategories?: string[] | null;
4192
4192
  /**
4193
4193
  * Gets or sets a collection of to filter resources by their current status.
4194
4194
  *
4195
4195
  */
4196
- unitStatus: UnitStatus[] | null;
4196
+ unitStatus?: UnitStatus[] | null;
4197
4197
  /**
4198
4198
  * Gets or sets a value indicating whether the filter should prioritize first responders.
4199
4199
  *
4200
4200
  */
4201
- isFirstResponder: boolean | null;
4201
+ isFirstResponder?: boolean | null;
4202
4202
  /**
4203
4203
  * Gets or sets a value indicating whether the filter excludes volunteer units.
4204
4204
  *
4205
4205
  */
4206
- isNotVolunteer: boolean | null;
4206
+ isNotVolunteer?: boolean | null;
4207
4207
  /**
4208
4208
  * Gets or sets a value indicating whether the filter should bind the resource to the current operation.
4209
4209
  *
4210
4210
  */
4211
- isBindToOperation: boolean | null;
4211
+ isBindToOperation?: boolean | null;
4212
4212
  }
4213
4213
  export interface IRoute {
4214
4214
  /**
@@ -4235,7 +4235,7 @@ export interface IRoute {
4235
4235
  * Gets the individual steps that make up the route.
4236
4236
  *
4237
4237
  */
4238
- legs: IRouteLeg[] | null;
4238
+ legs: IRouteLeg[];
4239
4239
  }
4240
4240
  export interface IRouteLeg {
4241
4241
  /**
@@ -4257,7 +4257,7 @@ export interface IRouteLeg {
4257
4257
  * Gets or sets the name associated with this step, if available.
4258
4258
  *
4259
4259
  */
4260
- name: string;
4260
+ name?: string | null;
4261
4261
  }
4262
4262
  export interface IServerFeatures {
4263
4263
  isSimulation: boolean;
@@ -4267,12 +4267,17 @@ export interface IServerInfo {
4267
4267
  serverBaseUrl: string;
4268
4268
  dashboardBaseUrl: string;
4269
4269
  windows: IWindowDefinition[];
4270
- features: IServerFeatures;
4270
+ features?: IServerFeatures | null;
4271
4271
  isAuthenticated: boolean;
4272
+ /**
4273
+ * The user is bound to a session (joined in the Dashboard) and may access it; the session windows can open. Always false on the anonymous Home/Info.
4274
+ *
4275
+ */
4276
+ hasSessionAccess: boolean;
4272
4277
  isWorkplaceAssigned: boolean;
4273
4278
  isDispatcherTagConfigured: boolean;
4274
4279
  defaultHotkeys: IHotkey[];
4275
- user: IUserInfo;
4280
+ user?: IUserInfo | null;
4276
4281
  }
4277
4282
  export interface ISession {
4278
4283
  /**
@@ -4284,7 +4289,7 @@ export interface ISession {
4284
4289
  * Gets or sets the optional display name of the session.
4285
4290
  *
4286
4291
  */
4287
- name: string;
4292
+ name?: string | null;
4288
4293
  /**
4289
4294
  * Gets or sets the timestamp of the last activity in this session.
4290
4295
  *
@@ -4299,7 +4304,7 @@ export interface ISession {
4299
4304
  * Gets or sets dispatch center metadata associated with the session.
4300
4305
  *
4301
4306
  */
4302
- dispatchCenterInfo: IDispatchCenterInfo;
4307
+ dispatchCenterInfo?: IDispatchCenterInfo | null;
4303
4308
  /**
4304
4309
  * Gets or sets whether this session is a managed session.
4305
4310
  *
@@ -4309,12 +4314,12 @@ export interface ISession {
4309
4314
  * Gets or sets the optional welcome message shown when entering this session.
4310
4315
  *
4311
4316
  */
4312
- welcomeMessage: string;
4317
+ welcomeMessage?: string | null;
4313
4318
  /**
4314
4319
  * Gets the timestamp when this managed session was last reinitialized, or null for non-managed sessions.
4315
4320
  *
4316
4321
  */
4317
- reinitializedOn: string | null;
4322
+ reinitializedOn?: string | null;
4318
4323
  /**
4319
4324
  * Gets the timestamp when this session was last changed.
4320
4325
  *
@@ -4332,7 +4337,7 @@ export interface ISessionAudit {
4332
4337
  * Gets information about the user who performed the audited action.
4333
4338
  *
4334
4339
  */
4335
- user: IUserInfo;
4340
+ user?: IUserInfo | null;
4336
4341
  /**
4337
4342
  * Gets the type of action performed on the entity (Create, Update, Delete).
4338
4343
  *
@@ -4342,7 +4347,7 @@ export interface ISessionAudit {
4342
4347
  * Gets the type of sub action performed on the entity (e.g. dispatch, status change ...).
4343
4348
  *
4344
4349
  */
4345
- actionSub: AuditActionSub | null;
4350
+ actionSub?: AuditActionSub | null;
4346
4351
  /**
4347
4352
  * Gets the type of entity affected by the audit action.
4348
4353
  *
@@ -4357,9 +4362,9 @@ export interface ISessionAudit {
4357
4362
  * Gets a dictionary of property names and their new values after the action.
4358
4363
  *
4359
4364
  */
4360
- changedProperties: {
4365
+ changedProperties?: {
4361
4366
  [key: string]: string;
4362
- };
4367
+ } | null;
4363
4368
  /**
4364
4369
  * Gets the date and time when the audited action occurred.
4365
4370
  *
@@ -4369,7 +4374,7 @@ export interface ISessionAudit {
4369
4374
  * Gets the details when the audited action occurred.
4370
4375
  *
4371
4376
  */
4372
- details: ISessionAuditKeyValueDetail[] | null;
4377
+ details?: ISessionAuditKeyValueDetail[] | null;
4373
4378
  /**
4374
4379
  * Gets the platform version with audit entry was created.
4375
4380
  *
@@ -4379,7 +4384,7 @@ export interface ISessionAudit {
4379
4384
  * Gets the text which could contain additional information's (optional).
4380
4385
  *
4381
4386
  */
4382
- text: string;
4387
+ text?: string | null;
4383
4388
  }
4384
4389
  export interface ISessionAuditKeyValueDetail {
4385
4390
  /**
@@ -4401,19 +4406,19 @@ export interface ISessionAuditKeyValueDetail {
4401
4406
  * Gets the value that was newly set, changed, or deleted. May be null if no specific value was set, e.g. if an object was merely assigned.
4402
4407
  *
4403
4408
  */
4404
- value: Object;
4409
+ value?: Object | null;
4405
4410
  /**
4406
4411
  * Gets the frontend-friendly representation of the . Typically a string suitable for display.
4407
4412
  *
4408
4413
  */
4409
- valueText: string;
4414
+ valueText?: string | null;
4410
4415
  }
4411
4416
  export interface IShelf {
4412
4417
  /**
4413
4418
  * Gets or sets the origin information for this Shelf instance. May be if the object was created locally or has no external source.
4414
4419
  *
4415
4420
  */
4416
- origin: ShelfOriginBase;
4421
+ origin?: ShelfOriginBase | null;
4417
4422
  }
4418
4423
  export interface IStatusPage {
4419
4424
  id: number;
@@ -4421,12 +4426,12 @@ export interface IStatusPage {
4421
4426
  * The name of the status page.
4422
4427
  *
4423
4428
  */
4424
- name: string;
4429
+ name?: string | null;
4425
4430
  /**
4426
4431
  * The description of the status page.
4427
4432
  *
4428
4433
  */
4429
- description: string;
4434
+ description?: string | null;
4430
4435
  /**
4431
4436
  * The sort number used to determine the order of status pages.
4432
4437
  *
@@ -4441,7 +4446,7 @@ export interface IStatusPage {
4441
4446
  * The list of units associated with the status page.
4442
4447
  *
4443
4448
  */
4444
- members: IStatusPageMember[] | null;
4449
+ members?: IStatusPageMember[] | null;
4445
4450
  /**
4446
4451
  * If true, members in an inactive state will be hidden on the frontend.
4447
4452
  *
@@ -4450,12 +4455,12 @@ export interface IStatusPage {
4450
4455
  }
4451
4456
  export interface IStatusPageMember {
4452
4457
  id: number;
4453
- unit: IUnitInfo;
4458
+ unit?: IUnitInfo | null;
4454
4459
  /**
4455
4460
  * The group to which the unit belongs. Set new value or use existing. />.
4456
4461
  *
4457
4462
  */
4458
- group: string;
4463
+ group?: string | null;
4459
4464
  /**
4460
4465
  * Member will be sorted by this property, if set.
4461
4466
  *
@@ -4478,7 +4483,7 @@ export interface ITaskCondition {
4478
4483
  * Gets or sets the value used in the condition.
4479
4484
  *
4480
4485
  */
4481
- value: string;
4486
+ value?: string | null;
4482
4487
  }
4483
4488
  export interface ITaskTemplate {
4484
4489
  id: number;
@@ -4486,7 +4491,7 @@ export interface ITaskTemplate {
4486
4491
  * Gets or sets the description of the task template.
4487
4492
  *
4488
4493
  */
4489
- description: string;
4494
+ description?: string | null;
4490
4495
  /**
4491
4496
  * Gets or sets a value indicating whether the task is mandatory.
4492
4497
  *
@@ -4516,36 +4521,36 @@ export interface ITaskTemplate {
4516
4521
  * Defines a timeout in seconds for how long the task will wait before entering a failed state if is not executed in time.
4517
4522
  *
4518
4523
  */
4519
- timeoutSeconds: number | null;
4524
+ timeoutSeconds?: number | null;
4520
4525
  /**
4521
4526
  * Gets or sets the conditions associated with the task template.
4522
4527
  *
4523
4528
  */
4524
- conditions: ITaskCondition[] | null;
4529
+ conditions?: ITaskCondition[] | null;
4525
4530
  /**
4526
4531
  * Gets the name of the ResQueServeTask implementation to use for executing this task. This should match the Name property of a ResQueServeTaskAttribute registered in the system.
4527
4532
  *
4528
4533
  */
4529
- implementationName: string;
4534
+ implementationName?: string | null;
4530
4535
  /**
4531
4536
  * Gets or sets the parameters needed for task execution, keyed by parameter name.
4532
4537
  *
4533
4538
  */
4534
- parameters: {
4539
+ parameters?: {
4535
4540
  [key: string]: Object;
4536
- };
4541
+ } | null;
4537
4542
  }
4538
4543
  export interface IUnit {
4539
4544
  /**
4540
4545
  * The verbal callsign of the unit.
4541
4546
  *
4542
4547
  */
4543
- callsignVerbal: string;
4548
+ callsignVerbal?: string | null;
4544
4549
  /**
4545
4550
  * The radio group associated with the unit. Is null if not set.
4546
4551
  *
4547
4552
  */
4548
- radioGroup: IRadioGroup;
4553
+ radioGroup?: IRadioGroup | null;
4549
4554
  /**
4550
4555
  * The point of interest (POI) where the unit is located.
4551
4556
  *
@@ -4555,7 +4560,7 @@ export interface IUnit {
4555
4560
  * The point of interest (POI) where the doctor is picked up then value is set to.
4556
4561
  *
4557
4562
  */
4558
- doctorPickupPoi: IPoi;
4563
+ doctorPickupPoi?: IPoi | null;
4559
4564
  /**
4560
4565
  * Indicates whether the unit is a first responder. This property affects suggestions and the unit's behavior on operation sites.
4561
4566
  *
@@ -4580,7 +4585,7 @@ export interface IUnit {
4580
4585
  * The dispatch groups associated with the unit.
4581
4586
  *
4582
4587
  */
4583
- dispatchGroups: string;
4588
+ dispatchGroups?: string | null;
4584
4589
  /**
4585
4590
  * The dispatch option of the unit, determining how the unit is automatically suggested by the system.
4586
4591
  *
@@ -4606,18 +4611,18 @@ export interface IUnit {
4606
4611
  * @remarks
4607
4612
  * Required if is set to .
4608
4613
  */
4609
- dutyPeriods: IUnitDutyPeriod[] | null;
4614
+ dutyPeriods?: IUnitDutyPeriod[] | null;
4610
4615
  /**
4611
4616
  * The list of equipment associated with the unit.
4612
4617
  *
4613
4618
  */
4614
- equipments: UnitEquipment[] | null;
4619
+ equipments?: UnitEquipment[] | null;
4615
4620
  id: number;
4616
4621
  /**
4617
4622
  * The callsign displayed on maps if is set to true.
4618
4623
  *
4619
4624
  */
4620
- callsignGps: string;
4625
+ callsignGps?: string | null;
4621
4626
  /**
4622
4627
  * The category of the unit. By setting a value to , this can be cosmetically overridden.
4623
4628
  *
@@ -4627,7 +4632,7 @@ export interface IUnit {
4627
4632
  * The overridden category of the unit.
4628
4633
  *
4629
4634
  */
4630
- categoryOverride: string;
4635
+ categoryOverride?: string | null;
4631
4636
  /**
4632
4637
  * The (long) callsign of the unit.
4633
4638
  *
@@ -4658,7 +4663,7 @@ export interface IUnit {
4658
4663
  * Gets or sets the origin information for this Shelf instance. May be if the object was created locally or has no external source.
4659
4664
  *
4660
4665
  */
4661
- origin: ShelfOriginBase;
4666
+ origin?: ShelfOriginBase | null;
4662
4667
  }
4663
4668
  export interface IUnitDutyPeriod {
4664
4669
  id: number;
@@ -4694,7 +4699,7 @@ export interface IUnitInfo {
4694
4699
  * The callsign displayed on maps if is set to true.
4695
4700
  *
4696
4701
  */
4697
- callsignGps: string;
4702
+ callsignGps?: string | null;
4698
4703
  /**
4699
4704
  * The category of the unit. By setting a value to , this can be cosmetically overridden.
4700
4705
  *
@@ -4704,7 +4709,7 @@ export interface IUnitInfo {
4704
4709
  * The overridden category of the unit.
4705
4710
  *
4706
4711
  */
4707
- categoryOverride: string;
4712
+ categoryOverride?: string | null;
4708
4713
  /**
4709
4714
  * The (long) callsign of the unit.
4710
4715
  *
@@ -4735,7 +4740,7 @@ export interface IUnitInfo {
4735
4740
  * Gets or sets the origin information for this Shelf instance. May be if the object was created locally or has no external source.
4736
4741
  *
4737
4742
  */
4738
- origin: ShelfOriginBase;
4743
+ origin?: ShelfOriginBase | null;
4739
4744
  }
4740
4745
  export interface IUnitResource {
4741
4746
  /**
@@ -4747,22 +4752,22 @@ export interface IUnitResource {
4747
4752
  * Gets or sets the current status of the unit.
4748
4753
  *
4749
4754
  */
4750
- unitStatus: UnitStatus | null;
4755
+ unitStatus?: UnitStatus | null;
4751
4756
  /**
4752
4757
  * Gets or sets a non-persistent unit status for temporary tracking.
4753
4758
  *
4754
4759
  */
4755
- unitStatusNonPersistent: UnitStatusNonPersistent | null;
4760
+ unitStatusNonPersistent?: UnitStatusNonPersistent | null;
4756
4761
  /**
4757
4762
  * Gets or sets since then the current status of the unit was set.
4758
4763
  *
4759
4764
  */
4760
- unitStatusSince: string | null;
4765
+ unitStatusSince?: string | null;
4761
4766
  /**
4762
4767
  * Gets or sets since a non-persistent unit status for temporary tracking was set.
4763
4768
  *
4764
4769
  */
4765
- unitStatusNonPersistentSince: string | null;
4770
+ unitStatusNonPersistentSince?: string | null;
4766
4771
  /**
4767
4772
  * Gets or sets the static position of the unit, representing its station location when on duty without dispatch.
4768
4773
  *
@@ -4772,17 +4777,17 @@ export interface IUnitResource {
4772
4777
  * Gets or sets the dynamic GPS position of the unit, if available.
4773
4778
  *
4774
4779
  */
4775
- dynamicPosition: Coordinates | null;
4780
+ dynamicPosition?: Coordinates | null;
4776
4781
  /**
4777
4782
  * Gets or sets the timestamp indicating when the unit was put into preselection for an operation.
4778
4783
  *
4779
4784
  */
4780
- suggestionOn: string | null;
4785
+ suggestionOn?: string | null;
4781
4786
  /**
4782
4787
  * Gets or sets when the reservation for the current operation is released automatically (real time, UTC, not the session time); null without reservation.
4783
4788
  *
4784
4789
  */
4785
- reservationExpiresOn: string | null;
4790
+ reservationExpiresOn?: string | null;
4786
4791
  /**
4787
4792
  * Gets or sets the count of times the unit has been dispatched, used for load balancing between units.
4788
4793
  *
@@ -4792,12 +4797,12 @@ export interface IUnitResource {
4792
4797
  * Gets or sets the identifier of the current operation if the unit is dispatched.
4793
4798
  *
4794
4799
  */
4795
- currentOperationId: string | null;
4800
+ currentOperationId?: string | null;
4796
4801
  /**
4797
4802
  * Gets or sets the identifier of the previous operation if the unit was dispatched.
4798
4803
  *
4799
4804
  */
4800
- previousOperationId: string | null;
4805
+ previousOperationId?: string | null;
4801
4806
  /**
4802
4807
  * Is true if the unit has a state which indicates activity (e.g. on-scene, driving ...)
4803
4808
  *
@@ -4826,22 +4831,22 @@ export interface IUserInfo {
4826
4831
  * 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.
4827
4832
  *
4828
4833
  */
4829
- displayFirstName: string;
4834
+ displayFirstName?: string | null;
4830
4835
  /**
4831
4836
  * 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.
4832
4837
  *
4833
4838
  */
4834
- displayLastName: string;
4839
+ displayLastName?: string | null;
4835
4840
  /**
4836
4841
  * 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.
4837
4842
  *
4838
4843
  */
4839
- dispatcherTag: string;
4844
+ dispatcherTag?: string | null;
4840
4845
  /**
4841
4846
  * Represents the date and time of the user's last activity.
4842
4847
  *
4843
4848
  */
4844
- lastActivityOn: string | null;
4849
+ lastActivityOn?: string | null;
4845
4850
  }
4846
4851
  export interface IWindowDefinition {
4847
4852
  id: string;
@@ -4850,12 +4855,12 @@ export interface IWindowDefinition {
4850
4855
  isHome: boolean;
4851
4856
  initialWidth: number;
4852
4857
  initialHeight: number;
4853
- initialX: number | null;
4854
- initialY: number | null;
4855
- minWidth: number | null;
4856
- minHeight: number | null;
4857
- resizable: boolean | null;
4858
- showInTaskbar: boolean | null;
4858
+ initialX?: number | null;
4859
+ initialY?: number | null;
4860
+ minWidth?: number | null;
4861
+ minHeight?: number | null;
4862
+ resizable?: boolean | null;
4863
+ showInTaskbar?: boolean | null;
4859
4864
  type: WindowType;
4860
4865
  }
4861
4866
  export interface IWorkplace {
@@ -4873,7 +4878,7 @@ export interface IWorkplace {
4873
4878
  * Gets or sets the user information associated with the workplace.
4874
4879
  *
4875
4880
  */
4876
- user: IUserInfo;
4881
+ user?: IUserInfo | null;
4877
4882
  }
4878
4883
  export interface AddressPackage {
4879
4884
  id: number;
@@ -5219,22 +5224,22 @@ export interface HospitalDepartment {
5219
5224
  * The name of the department or ward (e.g. "Station 3B"); null if not set.
5220
5225
  *
5221
5226
  */
5222
- name: string;
5227
+ name?: string | null;
5223
5228
  /**
5224
5229
  * The entrance units drive or walk to for this department if it differs from the coordinates of the hospital; null if the hospital coordinates apply.
5225
5230
  *
5226
5231
  */
5227
- entrance: Coordinates | null;
5232
+ entrance?: Coordinates | null;
5228
5233
  /**
5229
5234
  * The POI where helicopters land for this department (category HelicopterLandingZone, e.g. a helipad on the roof of the building); null if the landing zone of the hospital applies.
5230
5235
  *
5231
5236
  */
5232
- helicopterLandingZone: IPoi;
5237
+ helicopterLandingZone?: IPoi | null;
5233
5238
  /**
5234
5239
  * The number of patients the department can take at the same time; null if the default capacity of the department applies.
5235
5240
  *
5236
5241
  */
5237
- capacity: number | null;
5242
+ capacity?: number | null;
5238
5243
  }
5239
5244
  export declare enum HotkeyAction {
5240
5245
  None = 0,