resqueserve-core 4.10.0-rc.1 → 4.10.0-rc.4

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 (3) hide show
  1. package/main.d.ts +685 -252
  2. package/main.js +283 -2
  3. package/package.json +1 -1
package/main.d.ts CHANGED
@@ -381,6 +381,11 @@ export interface DispatchCenter {
381
381
  *
382
382
  */
383
383
  isWorkInProgress: boolean;
384
+ /**
385
+ * The environment the dispatch center is maintained for: a simulation or a real-world dispatch center without simulation, to which simulation-only settings do not apply.
386
+ *
387
+ */
388
+ environment: DispatchCenterEnvironment;
384
389
  /**
385
390
  * The package of addresses associated with the command center.
386
391
  *
@@ -391,11 +396,6 @@ export interface DispatchCenter {
391
396
  *
392
397
  */
393
398
  address?: IAddress | null;
394
- /**
395
- * Indicates whether the command center is accessible to the public (read-only).
396
- *
397
- */
398
- isPublic: boolean;
399
399
  /**
400
400
  * Indicates if there are configuration problems with the command center. If true, new sessions cannot be initiated.
401
401
  *
@@ -406,16 +406,6 @@ export interface DispatchCenter {
406
406
  *
407
407
  */
408
408
  owner?: IUserInfo | null;
409
- /**
410
- * Indicates whether the command center is recommended within the system, possibly based on performance or user ratings.
411
- *
412
- */
413
- isRecommended: boolean;
414
- /**
415
- * The average rating of the command center based on user reviews, on a scale from 1 to 5 stars.
416
- *
417
- */
418
- averageRating?: number | null;
419
409
  /**
420
410
  * The number of active players or users at the command center within the last 30 days, indicating its operational activity.
421
411
  *
@@ -441,11 +431,6 @@ export interface DispatchCenter {
441
431
  *
442
432
  */
443
433
  isDispatchingFireAndRescue: boolean;
444
- /**
445
- * The maximum number of players allowed in a single session within the command center. This limit ensures that the system can manage user loads effectively without overloading resources.
446
- *
447
- */
448
- maxPlayers: number;
449
434
  /**
450
435
  * An initial value used to calculate the number of operations per year. This property does not influence the actual number of emergencies created but helps in setting up operational expectations.
451
436
  *
@@ -466,6 +451,148 @@ export interface DispatchCenter {
466
451
  *
467
452
  */
468
453
  callNumberPatientTransport?: string | null;
454
+ /**
455
+ * Defines the number of keywords that can be associated with an operation, ranging from 1 (default) to 6 (maximum). This impacts how operations are classified and searched within the system.
456
+ *
457
+ */
458
+ keywordsPerOperation: number;
459
+ customGeocodingSearchFormat?: string | null;
460
+ /**
461
+ * The classification of the command center based on an automatic scoring system ranging from A (best) to F (not rated).
462
+ *
463
+ */
464
+ classification: DispatchCenterClassification;
465
+ /**
466
+ * A list of configurable options that can be set per command center. These options allow for the customization of operational settings,
467
+ *
468
+ */
469
+ options?: DispatchCenterOption[] | null;
470
+ /**
471
+ * 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.
472
+ *
473
+ */
474
+ customEquipments?: IDispatchCenterCustomEquipment[] | null;
475
+ /**
476
+ * 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.
477
+ *
478
+ */
479
+ administrators?: IUserInfo[] | null;
480
+ /**
481
+ * The status of a unit if no status was provided / received yet.
482
+ *
483
+ */
484
+ defaultStatus?: number | null;
485
+ /**
486
+ * The parameters of the simulation; null for a real-world dispatch center without simulation ().
487
+ *
488
+ */
489
+ simulation?: DispatchCenterSimulation | null;
490
+ /**
491
+ * How the dispatch center is published on the SIM Dispatcher platform; always set when read, an update without it keeps the stored values.
492
+ *
493
+ */
494
+ platform?: DispatchCenterPlatform | null;
495
+ }
496
+ export interface DispatchCenterCustomEquipment {
497
+ id: number;
498
+ /**
499
+ * The slot number used for this equipment, ranging from 1 to 20. Each number is unique within the command center.
500
+ *
501
+ */
502
+ number: number;
503
+ /**
504
+ * The display name of the equipment.
505
+ *
506
+ */
507
+ text: string;
508
+ }
509
+ export interface DispatchCenterInfo {
510
+ /**
511
+ * This is the dpcId (Dispatch Center ID).
512
+ *
513
+ */
514
+ id: number;
515
+ /**
516
+ * The name of the command center. This field may be null if the name has not been set.
517
+ *
518
+ */
519
+ name: string;
520
+ /**
521
+ * The category of the command center, which helps classify the center according to its primary function or operational scope.
522
+ *
523
+ */
524
+ category: DispatchCenterCategory;
525
+ /**
526
+ * The identifier for the header image of the command center, used for display purposes in interfaces.
527
+ *
528
+ */
529
+ headerImageId?: string | null;
530
+ /**
531
+ * The date and time when the command center was last modified.
532
+ *
533
+ */
534
+ changedOn?: string | null;
535
+ /**
536
+ * The number of active players or users at the command center within the last 30 days, indicating its operational activity.
537
+ *
538
+ */
539
+ activePlayers: number;
540
+ /**
541
+ * The country where the dispatch center is located.
542
+ *
543
+ */
544
+ country?: Country | null;
545
+ /**
546
+ * Indicates the Dispatch Center entire dataset is not completed or production-ready yet.
547
+ *
548
+ */
549
+ isWorkInProgress: boolean;
550
+ /**
551
+ * The environment the dispatch center is maintained for: a simulation or a real-world dispatch center without simulation, to which simulation-only settings do not apply.
552
+ *
553
+ */
554
+ environment: DispatchCenterEnvironment;
555
+ }
556
+ export interface DispatchCenterOptionInfo {
557
+ /**
558
+ * The option.
559
+ *
560
+ */
561
+ option: DispatchCenterOption;
562
+ /**
563
+ * The context of the option: options only apply to a simulation, options only to a real-world environment.
564
+ *
565
+ */
566
+ context: SettingContext;
567
+ }
568
+ export interface DispatchCenterPlatform {
569
+ /**
570
+ * Indicates whether the command center is accessible to the public (read-only).
571
+ *
572
+ */
573
+ isPublic: boolean;
574
+ /**
575
+ * Indicates whether the command center is recommended within the system, possibly based on performance or user ratings.
576
+ *
577
+ */
578
+ isRecommended: boolean;
579
+ /**
580
+ * The average rating of the command center based on user reviews, on a scale from 1 to 5 stars.
581
+ *
582
+ */
583
+ averageRating?: number | null;
584
+ /**
585
+ * The identifier for a discussion topic associated with the command center on the forums.sim-dispatcher.com platform.
586
+ *
587
+ */
588
+ discourseTopicId?: number | null;
589
+ }
590
+ export interface DispatchCenterSimulation {
591
+ /**
592
+ * The maximum number of players allowed in a single session within the command center. This limit ensures that the system can manage user loads effectively without overloading resources.
593
+ *
594
+ */
595
+ maxPlayers: number;
469
596
  /**
470
597
  * The standard greeting or statement given by a call taker when answering a regular office call at the dispatch center.
471
598
  *
@@ -578,17 +705,6 @@ export interface DispatchCenter {
578
705
  *
579
706
  */
580
707
  reduceIcuTransferSundayPercent: number;
581
- /**
582
- * Defines the number of keywords that can be associated with an operation, ranging from 1 (default) to 6 (maximum). This impacts how operations are classified and searched within the system.
583
- *
584
- */
585
- keywordsPerOperation: number;
586
- customGeocodingSearchFormat?: string | null;
587
- /**
588
- * The identifier for a discussion topic associated with the command center on the forums.sim-dispatcher.com platform.
589
- *
590
- */
591
- discourseTopicId?: number | null;
592
708
  /**
593
709
  * 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
710
  *
@@ -610,88 +726,20 @@ export interface DispatchCenter {
610
726
  */
611
727
  unitSpeedTruckSirenPercent: number;
612
728
  /**
613
- * The classification of the command center based on an automatic scoring system ranging from A (best) to F (not rated).
614
- *
615
- */
616
- classification: DispatchCenterClassification;
617
- /**
618
- * A list of configurable options that can be set per command center. These options allow for the customization of operational settings,
619
- *
620
- */
621
- options?: DispatchCenterOption[] | null;
622
- /**
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.
729
+ * The status a simulated unit reports when it reaches its standby location.
624
730
  *
625
731
  */
626
- customEquipments?: IDispatchCenterCustomEquipment[] | null;
627
- /**
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
- *
630
- */
631
- administrators?: IUserInfo[] | null;
632
732
  unitStatusWhenUnitIsOnStandbyLocation?: number | null;
633
733
  /**
634
- * The status of a unit if no status was provided / received yet.
734
+ * Probability in percent that a simulated professional unit transmits a status change.
635
735
  *
636
736
  */
637
- defaultStatus?: number | null;
638
737
  simulationStatusTransmitProbabilityPercent: number;
639
- simulationStatusTransmitProbabilityVolunteerPercent: number;
640
- }
641
- export interface DispatchCenterCustomEquipment {
642
- id: number;
643
- /**
644
- * The slot number used for this equipment, ranging from 1 to 20. Each number is unique within the command center.
645
- *
646
- */
647
- number: number;
648
- /**
649
- * The display name of the equipment.
650
- *
651
- */
652
- text: string;
653
- }
654
- export interface DispatchCenterInfo {
655
- /**
656
- * This is the dpcId (Dispatch Center ID).
657
- *
658
- */
659
- id: number;
660
- /**
661
- * The name of the command center. This field may be null if the name has not been set.
662
- *
663
- */
664
- name: string;
665
- /**
666
- * The category of the command center, which helps classify the center according to its primary function or operational scope.
667
- *
668
- */
669
- category: DispatchCenterCategory;
670
- /**
671
- * The identifier for the header image of the command center, used for display purposes in interfaces.
672
- *
673
- */
674
- headerImageId?: string | null;
675
- /**
676
- * The date and time when the command center was last modified.
677
- *
678
- */
679
- changedOn?: string | null;
680
- /**
681
- * The number of active players or users at the command center within the last 30 days, indicating its operational activity.
682
- *
683
- */
684
- activePlayers: number;
685
- /**
686
- * The country where the dispatch center is located.
687
- *
688
- */
689
- country?: Country | null;
690
738
  /**
691
- * Indicates the Dispatch Center entire dataset is not completed or production-ready yet.
739
+ * Probability in percent that a simulated volunteer unit transmits a status change.
692
740
  *
693
741
  */
694
- isWorkInProgress: boolean;
742
+ simulationStatusTransmitProbabilityVolunteerPercent: number;
695
743
  }
696
744
  /**
697
745
  * Represents a base data transfer object (DTO) for lookup entities.
@@ -2394,6 +2442,183 @@ export interface UserInfo {
2394
2442
  */
2395
2443
  lastActivityOn?: string | null;
2396
2444
  }
2445
+ export interface UcriLocation {
2446
+ coordinate?: UcriCoordinate | null;
2447
+ address?: UcriAddress | null;
2448
+ object?: UcriMissionObject | null;
2449
+ superiorObject?: UcriMissionObject | null;
2450
+ floor?: string | null;
2451
+ room?: string | null;
2452
+ additionalInformation?: string | null;
2453
+ }
2454
+ export interface UcriCoordinate {
2455
+ lat: number;
2456
+ lon: number;
2457
+ }
2458
+ export interface UcriAddress {
2459
+ street: string;
2460
+ houseNumber?: string | null;
2461
+ /**
2462
+ * Digits only.
2463
+ *
2464
+ */
2465
+ postalCode?: string | null;
2466
+ city?: string | null;
2467
+ cityDistrict?: string | null;
2468
+ state?: string | null;
2469
+ /**
2470
+ * ISO 3166-1 alpha-2.
2471
+ *
2472
+ */
2473
+ country?: string | null;
2474
+ additionalInformation?: string | null;
2475
+ }
2476
+ export interface UcriMissionObject {
2477
+ name: string;
2478
+ additionalInformation?: string | null;
2479
+ }
2480
+ export interface UcriPerson {
2481
+ name: string;
2482
+ surname?: string | null;
2483
+ phone?: string | null;
2484
+ email?: string | null;
2485
+ address?: UcriAddress | null;
2486
+ additionalInformation?: string | null;
2487
+ }
2488
+ export interface UcriNotification {
2489
+ timestamp: string;
2490
+ message: string;
2491
+ category?: string | null;
2492
+ silent?: boolean | null;
2493
+ }
2494
+ export interface UcriIncident {
2495
+ /**
2496
+ * ID of the incident shared by both dispatch centers.
2497
+ *
2498
+ */
2499
+ sharedIncidentId: string;
2500
+ /**
2501
+ * The incident number of the sender.
2502
+ *
2503
+ */
2504
+ internalId?: string | null;
2505
+ additionalInformation?: string | null;
2506
+ sentByDispatcherAt: string;
2507
+ informers?: UcriPerson[] | null;
2508
+ protocolRemarks?: UcriNotification[] | null;
2509
+ startTimestamp?: string | null;
2510
+ /**
2511
+ * Keywords of the sender's catalogue (no nationwide catalogue exists).
2512
+ *
2513
+ */
2514
+ classifications?: string[] | null;
2515
+ issue?: string | null;
2516
+ flashingLights?: boolean | null;
2517
+ /**
2518
+ * Needs a coordinate or an address.
2519
+ *
2520
+ */
2521
+ missionLocation: UcriLocation;
2522
+ }
2523
+ export interface UcriIncidentAcknowledgement {
2524
+ sharedIncidentId: string;
2525
+ acknowledgedByDispatcherAt: string;
2526
+ status: UcriAcknowledgementStatus;
2527
+ cause?: string | null;
2528
+ }
2529
+ export interface UcriIncidentCompletion {
2530
+ sharedIncidentId: string;
2531
+ completedAt: string;
2532
+ status: UcriCompletionStatus;
2533
+ additionalInformation?: string | null;
2534
+ }
2535
+ export interface UcriPartner {
2536
+ /**
2537
+ * OID of the participant.
2538
+ *
2539
+ */
2540
+ oid: string;
2541
+ /**
2542
+ * Name of the operator.
2543
+ *
2544
+ */
2545
+ name: string;
2546
+ /**
2547
+ * Short name of the operator.
2548
+ *
2549
+ */
2550
+ shortName: string;
2551
+ /**
2552
+ * online, offline or unknown.
2553
+ *
2554
+ */
2555
+ status?: string | null;
2556
+ }
2557
+ export interface UcriTransferRequest {
2558
+ destination: string;
2559
+ }
2560
+ export interface UcriRejectRequest {
2561
+ cause?: string | null;
2562
+ }
2563
+ export interface UcriTransfer {
2564
+ id: string;
2565
+ direction: UcriTransferDirection;
2566
+ status: UcriTransferStatus;
2567
+ /**
2568
+ * The other dispatch center (destination of an outgoing, source of an incoming transfer).
2569
+ *
2570
+ */
2571
+ partnerOid: string;
2572
+ partnerName?: string | null;
2573
+ /**
2574
+ * ID of the incident shared by both dispatch centers.
2575
+ *
2576
+ */
2577
+ sharedIncidentId: string;
2578
+ /**
2579
+ * The own operation: the transferred one (outgoing) or the created one once accepted (incoming).
2580
+ *
2581
+ */
2582
+ operationId?: string | null;
2583
+ /**
2584
+ * ID of the message carrying the incident, to match its delivery status.
2585
+ *
2586
+ */
2587
+ messageId?: string | null;
2588
+ /**
2589
+ * Incoming: the created operation is announced (metric, audit, clients, webhook); done only once.
2590
+ *
2591
+ */
2592
+ isOperationDistributed: boolean;
2593
+ /**
2594
+ * Incoming: the tasks and the state of the created operation are created.
2595
+ *
2596
+ */
2597
+ isOperationInitialized: boolean;
2598
+ /**
2599
+ * Incoming: the takeover is documented at the created operation.
2600
+ *
2601
+ */
2602
+ isOperationDocumented: boolean;
2603
+ /**
2604
+ * Incoming: ID of the message carrying the own answer (acknowledgement), to match its delivery status.
2605
+ *
2606
+ */
2607
+ acknowledgementMessageId?: string | null;
2608
+ /**
2609
+ * Incoming: the UCRM could not deliver the own answer; the same answer may be sent again.
2610
+ *
2611
+ */
2612
+ isAcknowledgementDeliveryFailed: boolean;
2613
+ incident: UcriIncident;
2614
+ createdOn: string;
2615
+ updatedOn?: string | null;
2616
+ /**
2617
+ * Reason of a rejection or a failed delivery.
2618
+ *
2619
+ */
2620
+ cause?: string | null;
2621
+ }
2397
2622
  export interface Information {
2398
2623
  }
2399
2624
  export interface LookupDto {
@@ -2945,11 +3170,6 @@ export interface IDispatchCenter {
2945
3170
  *
2946
3171
  */
2947
3172
  address?: IAddress | null;
2948
- /**
2949
- * Indicates whether the command center is accessible to the public (read-only).
2950
- *
2951
- */
2952
- isPublic: boolean;
2953
3173
  /**
2954
3174
  * Indicates if there are configuration problems with the command center. If true, new sessions cannot be initiated.
2955
3175
  *
@@ -2961,60 +3181,219 @@ export interface IDispatchCenter {
2961
3181
  */
2962
3182
  owner?: IUserInfo | null;
2963
3183
  /**
2964
- * Indicates whether the command center is recommended within the system, possibly based on performance or user ratings.
3184
+ * The date and time when the command center was created.
2965
3185
  *
2966
3186
  */
2967
- isRecommended: boolean;
3187
+ createdOn: string;
3188
+ /**
3189
+ * Indicates whether the command center coordinates normal patient transport services.
3190
+ *
3191
+ */
3192
+ isDispatchingPatientTransports: boolean;
3193
+ /**
3194
+ * Indicates whether the command center coordinates urgent ambulance services, typically for emergency medical response.
3195
+ *
3196
+ */
3197
+ isDispatchingUrgentAmbulance: boolean;
3198
+ /**
3199
+ * Indicates whether the command center coordinates fire and rescue operations, addressing both fire-related emergencies and other rescue missions.
3200
+ *
3201
+ */
3202
+ isDispatchingFireAndRescue: boolean;
3203
+ /**
3204
+ * An initial value used to calculate the number of operations per year. This property does not influence the actual number of emergencies created but helps in setting up operational expectations.
3205
+ *
3206
+ */
3207
+ operationsPerYear: number;
3208
+ /**
3209
+ * 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.
3210
+ *
3211
+ */
3212
+ callNumberOffice?: string | null;
3213
+ /**
3214
+ * 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.
3215
+ *
3216
+ */
3217
+ callNumberEmergency?: string | null;
3218
+ /**
3219
+ * 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.
3220
+ *
3221
+ */
3222
+ callNumberPatientTransport?: string | null;
3223
+ /**
3224
+ * Defines the number of keywords that can be associated with an operation, ranging from 1 (default) to 6 (maximum). This impacts how operations are classified and searched within the system.
3225
+ *
3226
+ */
3227
+ keywordsPerOperation: number;
3228
+ /**
3229
+ * The classification of the command center based on an automatic scoring system ranging from A (best) to F (not rated).
3230
+ *
3231
+ */
3232
+ classification: DispatchCenterClassification;
3233
+ /**
3234
+ * A list of configurable options that can be set per command center. These options allow for the customization of operational settings,
3235
+ *
3236
+ */
3237
+ options?: DispatchCenterOption[] | null;
3238
+ /**
3239
+ * 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.
3240
+ *
3241
+ */
3242
+ customEquipments?: IDispatchCenterCustomEquipment[] | null;
3243
+ /**
3244
+ * 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.
3245
+ *
3246
+ */
3247
+ administrators?: IUserInfo[] | null;
3248
+ /**
3249
+ * The status of a unit if no status was provided / received yet.
3250
+ *
3251
+ */
3252
+ defaultStatus?: number | null;
3253
+ /**
3254
+ * The parameters of the simulation of the dispatch center (simulated calls, patients, units and players); null for a real-world dispatch center without simulation ().
3255
+ *
3256
+ */
3257
+ simulation?: IDispatchCenterSimulation | null;
3258
+ /**
3259
+ * How the dispatch center is published on the SIM Dispatcher platform (public, recommended, rating, forum topic); not part of the master data of the dispatch center.
3260
+ *
3261
+ */
3262
+ platform?: IDispatchCenterPlatform | null;
3263
+ /**
3264
+ * This is the dpcId (Dispatch Center ID).
3265
+ *
3266
+ */
3267
+ id: number;
3268
+ /**
3269
+ * The name of the command center. This field may be null if the name has not been set.
3270
+ *
3271
+ */
3272
+ name: string;
3273
+ /**
3274
+ * The category of the command center, which helps classify the center according to its primary function or operational scope.
3275
+ *
3276
+ */
3277
+ category: DispatchCenterCategory;
3278
+ /**
3279
+ * The identifier for the header image of the command center, used for display purposes in interfaces.
3280
+ *
3281
+ */
3282
+ headerImageId?: string | null;
3283
+ /**
3284
+ * The date and time when the command center was last modified.
3285
+ *
3286
+ */
3287
+ changedOn?: string | null;
3288
+ /**
3289
+ * The number of active players or users at the command center within the last 30 days, indicating its operational activity.
3290
+ *
3291
+ */
3292
+ activePlayers: number;
3293
+ /**
3294
+ * The country where the dispatch center is located.
3295
+ *
3296
+ */
3297
+ country?: Country | null;
3298
+ /**
3299
+ * Indicates the Dispatch Center entire dataset is not completed or production-ready yet.
3300
+ *
3301
+ */
3302
+ isWorkInProgress: boolean;
3303
+ /**
3304
+ * The environment the dispatch center is maintained for: a simulation or a real-world dispatch center without simulation, to which simulation-only settings do not apply.
3305
+ *
3306
+ */
3307
+ environment: DispatchCenterEnvironment;
3308
+ }
3309
+ export interface IDispatchCenterCustomEquipment {
3310
+ id: number;
3311
+ /**
3312
+ * The slot number used for this equipment, ranging from 1 to 20. Each number is unique within the command center.
3313
+ *
3314
+ */
3315
+ number: number;
3316
+ /**
3317
+ * The display name of the equipment.
3318
+ *
3319
+ */
3320
+ text: string;
3321
+ }
3322
+ export interface IDispatchCenterInfo {
3323
+ /**
3324
+ * This is the dpcId (Dispatch Center ID).
3325
+ *
3326
+ */
3327
+ id: number;
3328
+ /**
3329
+ * The name of the command center. This field may be null if the name has not been set.
3330
+ *
3331
+ */
3332
+ name: string;
3333
+ /**
3334
+ * The category of the command center, which helps classify the center according to its primary function or operational scope.
3335
+ *
3336
+ */
3337
+ category: DispatchCenterCategory;
3338
+ /**
3339
+ * The identifier for the header image of the command center, used for display purposes in interfaces.
3340
+ *
3341
+ */
3342
+ headerImageId?: string | null;
2968
3343
  /**
2969
- * The average rating of the command center based on user reviews, on a scale from 1 to 5 stars.
3344
+ * The date and time when the command center was last modified.
2970
3345
  *
2971
3346
  */
2972
- averageRating?: number | null;
3347
+ changedOn?: string | null;
2973
3348
  /**
2974
- * The date and time when the command center was created.
3349
+ * The number of active players or users at the command center within the last 30 days, indicating its operational activity.
2975
3350
  *
2976
3351
  */
2977
- createdOn: string;
3352
+ activePlayers: number;
2978
3353
  /**
2979
- * Indicates whether the command center coordinates normal patient transport services.
3354
+ * The country where the dispatch center is located.
2980
3355
  *
2981
3356
  */
2982
- isDispatchingPatientTransports: boolean;
3357
+ country?: Country | null;
2983
3358
  /**
2984
- * Indicates whether the command center coordinates urgent ambulance services, typically for emergency medical response.
3359
+ * Indicates the Dispatch Center entire dataset is not completed or production-ready yet.
2985
3360
  *
2986
3361
  */
2987
- isDispatchingUrgentAmbulance: boolean;
3362
+ isWorkInProgress: boolean;
2988
3363
  /**
2989
- * Indicates whether the command center coordinates fire and rescue operations, addressing both fire-related emergencies and other rescue missions.
3364
+ * The environment the dispatch center is maintained for: a simulation or a real-world dispatch center without simulation, to which simulation-only settings do not apply.
2990
3365
  *
2991
3366
  */
2992
- isDispatchingFireAndRescue: boolean;
3367
+ environment: DispatchCenterEnvironment;
3368
+ }
3369
+ export interface IDispatchCenterPlatform {
2993
3370
  /**
2994
- * The maximum number of players allowed in a single session within the command center. This limit ensures that the system can manage user loads effectively without overloading resources.
3371
+ * Indicates whether the command center is accessible to the public (read-only).
2995
3372
  *
2996
3373
  */
2997
- maxPlayers: number;
3374
+ isPublic: boolean;
2998
3375
  /**
2999
- * An initial value used to calculate the number of operations per year. This property does not influence the actual number of emergencies created but helps in setting up operational expectations.
3376
+ * Indicates whether the command center is recommended within the system, possibly based on performance or user ratings.
3000
3377
  *
3001
3378
  */
3002
- operationsPerYear: number;
3379
+ isRecommended: boolean;
3003
3380
  /**
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.
3381
+ * The average rating of the command center based on user reviews, on a scale from 1 to 5 stars.
3005
3382
  *
3006
3383
  */
3007
- callNumberOffice?: string | null;
3384
+ averageRating?: number | null;
3008
3385
  /**
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.
3386
+ * The identifier for a discussion topic associated with the command center on the forums.sim-dispatcher.com platform.
3010
3387
  *
3011
3388
  */
3012
- callNumberEmergency?: string | null;
3389
+ discourseTopicId?: number | null;
3390
+ }
3391
+ export interface IDispatchCenterSimulation {
3013
3392
  /**
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.
3393
+ * The maximum number of players allowed in a single session within the command center. This limit ensures that the system can manage user loads effectively without overloading resources.
3015
3394
  *
3016
3395
  */
3017
- callNumberPatientTransport?: string | null;
3396
+ maxPlayers: number;
3018
3397
  /**
3019
3398
  * The standard greeting or statement given by a call taker when answering a regular office call at the dispatch center.
3020
3399
  *
@@ -3127,16 +3506,6 @@ export interface IDispatchCenter {
3127
3506
  *
3128
3507
  */
3129
3508
  reduceIcuTransferSundayPercent: number;
3130
- /**
3131
- * Defines the number of keywords that can be associated with an operation, ranging from 1 (default) to 6 (maximum). This impacts how operations are classified and searched within the system.
3132
- *
3133
- */
3134
- keywordsPerOperation: number;
3135
- /**
3136
- * The identifier for a discussion topic associated with the command center on the forums.sim-dispatcher.com platform.
3137
- *
3138
- */
3139
- discourseTopicId?: number | null;
3140
3509
  /**
3141
3510
  * 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
3511
  *
@@ -3158,126 +3527,20 @@ export interface IDispatchCenter {
3158
3527
  */
3159
3528
  unitSpeedTruckSirenPercent: number;
3160
3529
  /**
3161
- * The classification of the command center based on an automatic scoring system ranging from A (best) to F (not rated).
3162
- *
3163
- */
3164
- classification: DispatchCenterClassification;
3165
- /**
3166
- * A list of configurable options that can be set per command center. These options allow for the customization of operational settings,
3167
- *
3168
- */
3169
- options?: DispatchCenterOption[] | null;
3170
- /**
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
- *
3173
- */
3174
- customEquipments?: IDispatchCenterCustomEquipment[] | null;
3175
- /**
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
- *
3178
- */
3179
- administrators?: IUserInfo[] | null;
3180
- /**
3181
- * The status of a unit if no status was provided / received yet.
3530
+ * The status a simulated unit reports when it reaches its standby location.
3182
3531
  *
3183
3532
  */
3184
- defaultStatus?: number | null;
3185
3533
  unitStatusWhenUnitIsOnStandbyLocation?: number | null;
3186
3534
  /**
3187
- * This is the dpcId (Dispatch Center ID).
3188
- *
3189
- */
3190
- id: number;
3191
- /**
3192
- * The name of the command center. This field may be null if the name has not been set.
3193
- *
3194
- */
3195
- name: string;
3196
- /**
3197
- * The category of the command center, which helps classify the center according to its primary function or operational scope.
3198
- *
3199
- */
3200
- category: DispatchCenterCategory;
3201
- /**
3202
- * The identifier for the header image of the command center, used for display purposes in interfaces.
3203
- *
3204
- */
3205
- headerImageId?: string | null;
3206
- /**
3207
- * The date and time when the command center was last modified.
3208
- *
3209
- */
3210
- changedOn?: string | null;
3211
- /**
3212
- * The number of active players or users at the command center within the last 30 days, indicating its operational activity.
3213
- *
3214
- */
3215
- activePlayers: number;
3216
- /**
3217
- * The country where the dispatch center is located.
3218
- *
3219
- */
3220
- country?: Country | null;
3221
- /**
3222
- * Indicates the Dispatch Center entire dataset is not completed or production-ready yet.
3223
- *
3224
- */
3225
- isWorkInProgress: boolean;
3226
- }
3227
- export interface IDispatchCenterCustomEquipment {
3228
- id: number;
3229
- /**
3230
- * The slot number used for this equipment, ranging from 1 to 20. Each number is unique within the command center.
3231
- *
3232
- */
3233
- number: number;
3234
- /**
3235
- * The display name of the equipment.
3236
- *
3237
- */
3238
- text: string;
3239
- }
3240
- export interface IDispatchCenterInfo {
3241
- /**
3242
- * This is the dpcId (Dispatch Center ID).
3243
- *
3244
- */
3245
- id: number;
3246
- /**
3247
- * The name of the command center. This field may be null if the name has not been set.
3248
- *
3249
- */
3250
- name: string;
3251
- /**
3252
- * The category of the command center, which helps classify the center according to its primary function or operational scope.
3253
- *
3254
- */
3255
- category: DispatchCenterCategory;
3256
- /**
3257
- * The identifier for the header image of the command center, used for display purposes in interfaces.
3258
- *
3259
- */
3260
- headerImageId?: string | null;
3261
- /**
3262
- * The date and time when the command center was last modified.
3263
- *
3264
- */
3265
- changedOn?: string | null;
3266
- /**
3267
- * The number of active players or users at the command center within the last 30 days, indicating its operational activity.
3268
- *
3269
- */
3270
- activePlayers: number;
3271
- /**
3272
- * The country where the dispatch center is located.
3535
+ * Probability in percent that a simulated professional unit transmits a status change.
3273
3536
  *
3274
3537
  */
3275
- country?: Country | null;
3538
+ simulationStatusTransmitProbabilityPercent: number;
3276
3539
  /**
3277
- * Indicates the Dispatch Center entire dataset is not completed or production-ready yet.
3540
+ * Probability in percent that a simulated volunteer unit transmits a status change.
3278
3541
  *
3279
3542
  */
3280
- isWorkInProgress: boolean;
3543
+ simulationStatusTransmitProbabilityVolunteerPercent: number;
3281
3544
  }
3282
3545
  export interface IGeocodingResult {
3283
3546
  /**
@@ -4540,6 +4803,56 @@ export interface ITaskTemplate {
4540
4803
  [key: string]: Object;
4541
4804
  } | null;
4542
4805
  }
4806
+ export interface IUcriPartner {
4807
+ /**
4808
+ * OID of the participant.
4809
+ *
4810
+ */
4811
+ oid: string;
4812
+ /**
4813
+ * Name of the operator.
4814
+ *
4815
+ */
4816
+ name: string;
4817
+ /**
4818
+ * Short name of the operator.
4819
+ *
4820
+ */
4821
+ shortName: string;
4822
+ /**
4823
+ * online, offline or unknown.
4824
+ *
4825
+ */
4826
+ status?: string | null;
4827
+ }
4828
+ export interface IUcriTransfer {
4829
+ id: string;
4830
+ direction: UcriTransferDirection;
4831
+ status: UcriTransferStatus;
4832
+ /**
4833
+ * The other dispatch center (destination of an outgoing, source of an incoming transfer).
4834
+ *
4835
+ */
4836
+ partnerOid: string;
4837
+ partnerName?: string | null;
4838
+ /**
4839
+ * ID of the incident shared by both dispatch centers.
4840
+ *
4841
+ */
4842
+ sharedIncidentId: string;
4843
+ /**
4844
+ * The own operation: the transferred one (outgoing) or the created one once accepted (incoming).
4845
+ *
4846
+ */
4847
+ operationId?: string | null;
4848
+ createdOn: string;
4849
+ updatedOn?: string | null;
4850
+ /**
4851
+ * Reason of a rejection or a failed delivery.
4852
+ *
4853
+ */
4854
+ cause?: string | null;
4855
+ }
4543
4856
  export interface IUnit {
4544
4857
  /**
4545
4858
  * The verbal callsign of the unit.
@@ -5046,6 +5359,18 @@ export declare enum DispatchCenterClassification {
5046
5359
  B = 4,
5047
5360
  A = 5
5048
5361
  }
5362
+ export declare enum DispatchCenterEnvironment {
5363
+ /**
5364
+ * The dispatch center is simulated in the SIM Dispatcher.
5365
+ *
5366
+ */
5367
+ Simulation = 1,
5368
+ /**
5369
+ * A real-world dispatch center without simulation, e.g. master data of a real dispatch center.
5370
+ *
5371
+ */
5372
+ RealWorld = 2
5373
+ }
5049
5374
  export declare enum DispatchCenterOption {
5050
5375
  /**
5051
5376
  * Specifies that Status 6 will be only set by the command center, not by units.
@@ -5759,7 +6084,18 @@ export declare enum ProblemInformation {
5759
6084
  SupporterActionNotSupported = 205,
5760
6085
  PoiHelicopterLandingZoneInvalid = 206,
5761
6086
  PoiHospitalDepartmentHelicopterLandingZoneInvalid = 207,
5762
- PatientDestinationNotAssigned = 208
6087
+ PatientDestinationNotAssigned = 208,
6088
+ UcriNotConfigured = 209,
6089
+ UcriPartnerNotSupported = 210,
6090
+ UcriLocationMissing = 211,
6091
+ UcriRequestFailed = 212,
6092
+ UcriTransferNotPending = 213,
6093
+ DispatchCenterOptionNotFound = 214,
6094
+ DispatchCenterOptionContextInvalid = 215,
6095
+ DispatchCenterEnvironmentNotFound = 216,
6096
+ DispatchCenterSimulationNotAllowed = 217,
6097
+ DispatchCenterSimulationDataExists = 218,
6098
+ ResourceModified = 219
5763
6099
  }
5764
6100
  export declare enum SessionAccess {
5765
6101
  Private = 0,
@@ -5875,6 +6211,23 @@ export declare enum SessionWebhookMethod {
5875
6211
  PUT = 2,
5876
6212
  DELETE = 3
5877
6213
  }
6214
+ export declare enum SettingContext {
6215
+ /**
6216
+ * Valid for a real dispatch center and for the simulation of it, e.g. data grouping, locations, dispatch suggestions and the workflow of the dispatcher.
6217
+ *
6218
+ */
6219
+ Operational = 1,
6220
+ /**
6221
+ * Only meaningful in a simulation, e.g. unit behavior, status handling, driving, simulated patients.
6222
+ *
6223
+ */
6224
+ Simulation = 2,
6225
+ /**
6226
+ * Only meaningful for a real-world environment, e.g. interfaces to real systems.
6227
+ *
6228
+ */
6229
+ Real = 3
6230
+ }
5878
6231
  export declare enum ShelfBatchCreateMode {
5879
6232
  /**
5880
6233
  * Validates the batch without making any changes to the database.
@@ -6155,6 +6508,84 @@ export declare enum TaskStatus {
6155
6508
  */
6156
6509
  NotSupported = 5
6157
6510
  }
6511
+ export declare enum UcriAcknowledgementStatus {
6512
+ /**
6513
+ * The incident was accepted.
6514
+ *
6515
+ */
6516
+ Accepted = 0,
6517
+ /**
6518
+ * The incident was rejected.
6519
+ *
6520
+ */
6521
+ Rejected = 1
6522
+ }
6523
+ export declare enum UcriCompletionStatus {
6524
+ /**
6525
+ * The operation was finished.
6526
+ *
6527
+ */
6528
+ CompletedSuccessfully = 0,
6529
+ /**
6530
+ * The operation was aborted.
6531
+ *
6532
+ */
6533
+ Aborted = 1
6534
+ }
6535
+ export declare enum UcriTransferDirection {
6536
+ /**
6537
+ * The own operation is transferred to a partner dispatch center.
6538
+ *
6539
+ */
6540
+ Outgoing = 0,
6541
+ /**
6542
+ * A partner dispatch center transfers an incident to the own session.
6543
+ *
6544
+ */
6545
+ Incoming = 1
6546
+ }
6547
+ export declare enum UcriTransferStatus {
6548
+ /**
6549
+ * Outgoing: handed to the UCRM.
6550
+ *
6551
+ */
6552
+ Sent = 0,
6553
+ /**
6554
+ * Outgoing: the UCRM delivered it to the partner.
6555
+ *
6556
+ */
6557
+ Delivered = 1,
6558
+ /**
6559
+ * Outgoing: the UCRM could not deliver it.
6560
+ *
6561
+ */
6562
+ DeliveryFailed = 2,
6563
+ /**
6564
+ * Incoming: waits for the dispatcher to accept or reject it.
6565
+ *
6566
+ */
6567
+ Received = 3,
6568
+ /**
6569
+ * Accepted by the receiving dispatch center.
6570
+ *
6571
+ */
6572
+ Accepted = 4,
6573
+ /**
6574
+ * Rejected by the receiving dispatch center.
6575
+ *
6576
+ */
6577
+ Rejected = 5,
6578
+ /**
6579
+ * Outgoing: the receiving dispatch center finished the operation.
6580
+ *
6581
+ */
6582
+ Completed = 6,
6583
+ /**
6584
+ * Outgoing: the receiving dispatch center aborted the operation.
6585
+ *
6586
+ */
6587
+ Aborted = 7
6588
+ }
6158
6589
  export declare enum UnitAvailability {
6159
6590
  /**
6160
6591
  * On duty (at the station or on the way) and not bound to an operation.
@@ -6418,6 +6849,8 @@ export declare enum DayOfWeek {
6418
6849
  Friday = 5,
6419
6850
  Saturday = 6
6420
6851
  }
6852
+ /** Context of each DispatchCenterOption member (SettingContextAttribute). */
6853
+ export declare const DispatchCenterOptionSettingContext: Readonly<Record<DispatchCenterOption, SettingContext>>;
6421
6854
  export interface EnumLocalization {
6422
6855
  [enumName: string]: {
6423
6856
  [enumValue: string]: {