resqueserve-core 4.0.0-300 → 4.0.0-309
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.tsbuildinfo +1 -1
- package/main.d.ts +380 -76
- package/main.d.ts.map +1 -1
- package/main.js +2096 -32
- package/package.json +1 -1
package/.tsbuildinfo
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"fileNames":["../../../../../../../usr/local/lib/node_modules/typescript/lib/lib.es5.d.ts","../../../../../../../usr/local/lib/node_modules/typescript/lib/lib.es2015.d.ts","../../../../../../../usr/local/lib/node_modules/typescript/lib/lib.es2016.d.ts","../../../../../../../usr/local/lib/node_modules/typescript/lib/lib.dom.d.ts","../../../../../../../usr/local/lib/node_modules/typescript/lib/lib.dom.iterable.d.ts","../../../../../../../usr/local/lib/node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../../../../../usr/local/lib/node_modules/typescript/lib/lib.scripthost.d.ts","../../../../../../../usr/local/lib/node_modules/typescript/lib/lib.es2015.core.d.ts","../../../../../../../usr/local/lib/node_modules/typescript/lib/lib.es2015.collection.d.ts","../../../../../../../usr/local/lib/node_modules/typescript/lib/lib.es2015.generator.d.ts","../../../../../../../usr/local/lib/node_modules/typescript/lib/lib.es2015.iterable.d.ts","../../../../../../../usr/local/lib/node_modules/typescript/lib/lib.es2015.promise.d.ts","../../../../../../../usr/local/lib/node_modules/typescript/lib/lib.es2015.proxy.d.ts","../../../../../../../usr/local/lib/node_modules/typescript/lib/lib.es2015.reflect.d.ts","../../../../../../../usr/local/lib/node_modules/typescript/lib/lib.es2015.symbol.d.ts","../../../../../../../usr/local/lib/node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","../../../../../../../usr/local/lib/node_modules/typescript/lib/lib.es2016.array.include.d.ts","../../../../../../../usr/local/lib/node_modules/typescript/lib/lib.es2016.intl.d.ts","../../../../../../../usr/local/lib/node_modules/typescript/lib/lib.decorators.d.ts","../../../../../../../usr/local/lib/node_modules/typescript/lib/lib.decorators.legacy.d.ts","../../../../../../../usr/local/lib/node_modules/typescript/lib/lib.es2016.full.d.ts","../../src/ScriptBuilder/bin/Debug/net9.0/output/main.ts"],"fileInfos":[{"version":"c430d44666289dae81f30fa7b2edebf186ecc91a2d4c71266ea6ae76388792e1","affectsGlobalScope":true,"impliedFormat":1},{"version":"45b7ab580deca34ae9729e97c13cfd999df04416a79116c3bfb483804f85ded4","impliedFormat":1},{"version":"3facaf05f0c5fc569c5649dd359892c98a85557e3e0c847964caeb67076f4d75","impliedFormat":1},{"version":"080941d9f9ff9307f7e27a83bcd888b7c8270716c39af943532438932ec1d0b9","affectsGlobalScope":true,"impliedFormat":1},{"version":"2e80ee7a49e8ac312cc11b77f1475804bee36b3b2bc896bead8b6e1266befb43","affectsGlobalScope":true,"impliedFormat":1},{"version":"80e18897e5884b6723488d4f5652167e7bb5024f946743134ecc4aa4ee731f89","affectsGlobalScope":true,"impliedFormat":1},{"version":"cd034f499c6cdca722b60c04b5b1b78e058487a7085a8e0d6fb50809947ee573","affectsGlobalScope":true,"impliedFormat":1},{"version":"c57796738e7f83dbc4b8e65132f11a377649c00dd3eee333f672b8f0a6bea671","affectsGlobalScope":true,"impliedFormat":1},{"version":"dc2df20b1bcdc8c2d34af4926e2c3ab15ffe1160a63e58b7e09833f616efff44","affectsGlobalScope":true,"impliedFormat":1},{"version":"515d0b7b9bea2e31ea4ec968e9edd2c39d3eebf4a2d5cbd04e88639819ae3b71","affectsGlobalScope":true,"impliedFormat":1},{"version":"0559b1f683ac7505ae451f9a96ce4c3c92bdc71411651ca6ddb0e88baaaad6a3","affectsGlobalScope":true,"impliedFormat":1},{"version":"0dc1e7ceda9b8b9b455c3a2d67b0412feab00bd2f66656cd8850e8831b08b537","affectsGlobalScope":true,"impliedFormat":1},{"version":"ce691fb9e5c64efb9547083e4a34091bcbe5bdb41027e310ebba8f7d96a98671","affectsGlobalScope":true,"impliedFormat":1},{"version":"8d697a2a929a5fcb38b7a65594020fcef05ec1630804a33748829c5ff53640d0","affectsGlobalScope":true,"impliedFormat":1},{"version":"4ff2a353abf8a80ee399af572debb8faab2d33ad38c4b4474cff7f26e7653b8d","affectsGlobalScope":true,"impliedFormat":1},{"version":"fb0f136d372979348d59b3f5020b4cdb81b5504192b1cacff5d1fbba29378aa1","affectsGlobalScope":true,"impliedFormat":1},{"version":"d15bea3d62cbbdb9797079416b8ac375ae99162a7fba5de2c6c505446486ac0a","affectsGlobalScope":true,"impliedFormat":1},{"version":"68d18b664c9d32a7336a70235958b8997ebc1c3b8505f4f1ae2b7e7753b87618","affectsGlobalScope":true,"impliedFormat":1},{"version":"8e7f8264d0fb4c5339605a15daadb037bf238c10b654bb3eee14208f860a32ea","affectsGlobalScope":true,"impliedFormat":1},{"version":"782dec38049b92d4e85c1585fbea5474a219c6984a35b004963b00beb1aab538","affectsGlobalScope":true,"impliedFormat":1},{"version":"807e0e0bdc67605dd28efe18f20ab5fcd75d944ef95936120702335f9379094b","impliedFormat":1},{"version":"
|
|
1
|
+
{"fileNames":["../../../../../../../usr/local/lib/node_modules/typescript/lib/lib.es5.d.ts","../../../../../../../usr/local/lib/node_modules/typescript/lib/lib.es2015.d.ts","../../../../../../../usr/local/lib/node_modules/typescript/lib/lib.es2016.d.ts","../../../../../../../usr/local/lib/node_modules/typescript/lib/lib.dom.d.ts","../../../../../../../usr/local/lib/node_modules/typescript/lib/lib.dom.iterable.d.ts","../../../../../../../usr/local/lib/node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../../../../../usr/local/lib/node_modules/typescript/lib/lib.scripthost.d.ts","../../../../../../../usr/local/lib/node_modules/typescript/lib/lib.es2015.core.d.ts","../../../../../../../usr/local/lib/node_modules/typescript/lib/lib.es2015.collection.d.ts","../../../../../../../usr/local/lib/node_modules/typescript/lib/lib.es2015.generator.d.ts","../../../../../../../usr/local/lib/node_modules/typescript/lib/lib.es2015.iterable.d.ts","../../../../../../../usr/local/lib/node_modules/typescript/lib/lib.es2015.promise.d.ts","../../../../../../../usr/local/lib/node_modules/typescript/lib/lib.es2015.proxy.d.ts","../../../../../../../usr/local/lib/node_modules/typescript/lib/lib.es2015.reflect.d.ts","../../../../../../../usr/local/lib/node_modules/typescript/lib/lib.es2015.symbol.d.ts","../../../../../../../usr/local/lib/node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","../../../../../../../usr/local/lib/node_modules/typescript/lib/lib.es2016.array.include.d.ts","../../../../../../../usr/local/lib/node_modules/typescript/lib/lib.es2016.intl.d.ts","../../../../../../../usr/local/lib/node_modules/typescript/lib/lib.decorators.d.ts","../../../../../../../usr/local/lib/node_modules/typescript/lib/lib.decorators.legacy.d.ts","../../../../../../../usr/local/lib/node_modules/typescript/lib/lib.es2016.full.d.ts","../../src/ScriptBuilder/bin/Debug/net9.0/output/main.ts"],"fileInfos":[{"version":"c430d44666289dae81f30fa7b2edebf186ecc91a2d4c71266ea6ae76388792e1","affectsGlobalScope":true,"impliedFormat":1},{"version":"45b7ab580deca34ae9729e97c13cfd999df04416a79116c3bfb483804f85ded4","impliedFormat":1},{"version":"3facaf05f0c5fc569c5649dd359892c98a85557e3e0c847964caeb67076f4d75","impliedFormat":1},{"version":"080941d9f9ff9307f7e27a83bcd888b7c8270716c39af943532438932ec1d0b9","affectsGlobalScope":true,"impliedFormat":1},{"version":"2e80ee7a49e8ac312cc11b77f1475804bee36b3b2bc896bead8b6e1266befb43","affectsGlobalScope":true,"impliedFormat":1},{"version":"80e18897e5884b6723488d4f5652167e7bb5024f946743134ecc4aa4ee731f89","affectsGlobalScope":true,"impliedFormat":1},{"version":"cd034f499c6cdca722b60c04b5b1b78e058487a7085a8e0d6fb50809947ee573","affectsGlobalScope":true,"impliedFormat":1},{"version":"c57796738e7f83dbc4b8e65132f11a377649c00dd3eee333f672b8f0a6bea671","affectsGlobalScope":true,"impliedFormat":1},{"version":"dc2df20b1bcdc8c2d34af4926e2c3ab15ffe1160a63e58b7e09833f616efff44","affectsGlobalScope":true,"impliedFormat":1},{"version":"515d0b7b9bea2e31ea4ec968e9edd2c39d3eebf4a2d5cbd04e88639819ae3b71","affectsGlobalScope":true,"impliedFormat":1},{"version":"0559b1f683ac7505ae451f9a96ce4c3c92bdc71411651ca6ddb0e88baaaad6a3","affectsGlobalScope":true,"impliedFormat":1},{"version":"0dc1e7ceda9b8b9b455c3a2d67b0412feab00bd2f66656cd8850e8831b08b537","affectsGlobalScope":true,"impliedFormat":1},{"version":"ce691fb9e5c64efb9547083e4a34091bcbe5bdb41027e310ebba8f7d96a98671","affectsGlobalScope":true,"impliedFormat":1},{"version":"8d697a2a929a5fcb38b7a65594020fcef05ec1630804a33748829c5ff53640d0","affectsGlobalScope":true,"impliedFormat":1},{"version":"4ff2a353abf8a80ee399af572debb8faab2d33ad38c4b4474cff7f26e7653b8d","affectsGlobalScope":true,"impliedFormat":1},{"version":"fb0f136d372979348d59b3f5020b4cdb81b5504192b1cacff5d1fbba29378aa1","affectsGlobalScope":true,"impliedFormat":1},{"version":"d15bea3d62cbbdb9797079416b8ac375ae99162a7fba5de2c6c505446486ac0a","affectsGlobalScope":true,"impliedFormat":1},{"version":"68d18b664c9d32a7336a70235958b8997ebc1c3b8505f4f1ae2b7e7753b87618","affectsGlobalScope":true,"impliedFormat":1},{"version":"8e7f8264d0fb4c5339605a15daadb037bf238c10b654bb3eee14208f860a32ea","affectsGlobalScope":true,"impliedFormat":1},{"version":"782dec38049b92d4e85c1585fbea5474a219c6984a35b004963b00beb1aab538","affectsGlobalScope":true,"impliedFormat":1},{"version":"807e0e0bdc67605dd28efe18f20ab5fcd75d944ef95936120702335f9379094b","impliedFormat":1},{"version":"0c6cb156668097bc42edb9130f38cf57aa1a23320ca74625a3c3f410b2861cc5","signature":"c0a2d7f077a8d56223f548ffab6dd59e227056873493129e498a10078bd1b06b"}],"root":[22],"options":{"composite":true,"declaration":true,"declarationMap":true,"esModuleInterop":true,"module":1,"outDir":"./","rootDir":"../../src/ScriptBuilder/bin/Debug/net9.0/output","skipLibCheck":true,"strict":true,"target":3,"tsBuildInfoFile":"./.tsbuildinfo"},"semanticDiagnosticsPerFile":[[22,[{"start":86471,"length":10,"messageText":"Cannot find name 'WindowType'.","category":1,"code":2304}]]],"latestChangedDtsFile":"./main.d.ts","version":"5.9.2"}
|
package/main.d.ts
CHANGED
|
@@ -40,6 +40,63 @@ export interface AdvancedMobileLocation {
|
|
|
40
40
|
*/
|
|
41
41
|
status: string;
|
|
42
42
|
}
|
|
43
|
+
export interface AdvancedMobileLocationEnriched {
|
|
44
|
+
/**
|
|
45
|
+
* Gets or sets the unique identifier for this enriched AML record.
|
|
46
|
+
*
|
|
47
|
+
*/
|
|
48
|
+
id: string;
|
|
49
|
+
/**
|
|
50
|
+
* Gets or sets the complete telephone number including country code and area code.
|
|
51
|
+
*
|
|
52
|
+
*/
|
|
53
|
+
fullyQualifiedTelephoneNumber: string;
|
|
54
|
+
/**
|
|
55
|
+
* Gets or sets a collection of instances. Each element contains a reference and the in meters from the AML coordinates.
|
|
56
|
+
*
|
|
57
|
+
*/
|
|
58
|
+
places: IAdvancedMobileLocationPlace[] | null;
|
|
59
|
+
/**
|
|
60
|
+
* Latitude of the location.
|
|
61
|
+
*
|
|
62
|
+
*/
|
|
63
|
+
latitude: number | null;
|
|
64
|
+
/**
|
|
65
|
+
* Longitude of the location.
|
|
66
|
+
*
|
|
67
|
+
*/
|
|
68
|
+
longitude: number | null;
|
|
69
|
+
/**
|
|
70
|
+
* Time when the location was recorded.
|
|
71
|
+
*
|
|
72
|
+
*/
|
|
73
|
+
locationTime: string | null;
|
|
74
|
+
/**
|
|
75
|
+
* Accuracy of the location in meters.
|
|
76
|
+
*
|
|
77
|
+
*/
|
|
78
|
+
accuracy: number | null;
|
|
79
|
+
/**
|
|
80
|
+
* Vertical accuracy of the location in meters.
|
|
81
|
+
*
|
|
82
|
+
*/
|
|
83
|
+
verticalAccuracy: number | null;
|
|
84
|
+
/**
|
|
85
|
+
* Altitude of the location in meters.
|
|
86
|
+
*
|
|
87
|
+
*/
|
|
88
|
+
altitude: number | null;
|
|
89
|
+
/**
|
|
90
|
+
* Source of the location information (e.g., GPS, WiFi).
|
|
91
|
+
*
|
|
92
|
+
*/
|
|
93
|
+
source: string;
|
|
94
|
+
/**
|
|
95
|
+
* Status of the location data (e.g., ok).
|
|
96
|
+
*
|
|
97
|
+
*/
|
|
98
|
+
status: string;
|
|
99
|
+
}
|
|
43
100
|
export interface Area {
|
|
44
101
|
id: number;
|
|
45
102
|
commandcenterId: number;
|
|
@@ -896,57 +953,6 @@ export interface ResourceLookupDto {
|
|
|
896
953
|
*/
|
|
897
954
|
cacheVersion: number;
|
|
898
955
|
}
|
|
899
|
-
/**
|
|
900
|
-
* Represents the base class for all filters, providing a foundation for defining criteria-based filtering functionality.
|
|
901
|
-
*
|
|
902
|
-
*/
|
|
903
|
-
export interface NotificationFilter {
|
|
904
|
-
/**
|
|
905
|
-
* Gets or sets a collection of to filter notifications based on their category.
|
|
906
|
-
*
|
|
907
|
-
*/
|
|
908
|
-
notificationCategories: NotificationCategory[] | null;
|
|
909
|
-
/**
|
|
910
|
-
* Gets or sets a value indicating whether the filter should prioritize notifications relevant to the current user.
|
|
911
|
-
*
|
|
912
|
-
*/
|
|
913
|
-
isRelevantToMe: boolean | null;
|
|
914
|
-
/**
|
|
915
|
-
* Gets or sets a value indicating whether the filter should include notifications relevant to other users.
|
|
916
|
-
*
|
|
917
|
-
*/
|
|
918
|
-
isRelevantToOthers: boolean | null;
|
|
919
|
-
}
|
|
920
|
-
/**
|
|
921
|
-
* Represents the base class for all filters, providing a foundation for defining criteria-based filtering functionality.
|
|
922
|
-
*
|
|
923
|
-
*/
|
|
924
|
-
export interface OperationFilter {
|
|
925
|
-
/**
|
|
926
|
-
* Gets or sets a collection of to filter operations based on their status.
|
|
927
|
-
*
|
|
928
|
-
*/
|
|
929
|
-
operationStatus: OperationStatus[] | null;
|
|
930
|
-
/**
|
|
931
|
-
* Gets or sets a collection of to filter operations by priority level.
|
|
932
|
-
*
|
|
933
|
-
*/
|
|
934
|
-
operationPriority: OperationPriority[] | null;
|
|
935
|
-
/**
|
|
936
|
-
* Gets or sets the property name by which to order the filtered operations.
|
|
937
|
-
*
|
|
938
|
-
*/
|
|
939
|
-
orderBy: string;
|
|
940
|
-
/**
|
|
941
|
-
* Gets or sets a value indicating whether to sort the filtered operations in ascending order.
|
|
942
|
-
*
|
|
943
|
-
*/
|
|
944
|
-
orderByAscending: boolean;
|
|
945
|
-
}
|
|
946
|
-
/**
|
|
947
|
-
* Represents the base class for all filters, providing a foundation for defining criteria-based filtering functionality.
|
|
948
|
-
*
|
|
949
|
-
*/
|
|
950
956
|
export interface ResourceFilter {
|
|
951
957
|
/**
|
|
952
958
|
* Gets or sets a collection of to filter resources based on equipment types.
|
|
@@ -1031,7 +1037,7 @@ export interface GeocodingResult {
|
|
|
1031
1037
|
*
|
|
1032
1038
|
*/
|
|
1033
1039
|
export interface AddressInformation {
|
|
1034
|
-
geocodingResult:
|
|
1040
|
+
geocodingResult: IGeocodingResult;
|
|
1035
1041
|
operationsNearby: OperationInformation[] | null;
|
|
1036
1042
|
cityName: string;
|
|
1037
1043
|
communeName: string;
|
|
@@ -1755,7 +1761,7 @@ export interface Unit {
|
|
|
1755
1761
|
* The point of interest (POI) where the unit is located.
|
|
1756
1762
|
*
|
|
1757
1763
|
*/
|
|
1758
|
-
poi:
|
|
1764
|
+
poi: Poi;
|
|
1759
1765
|
/**
|
|
1760
1766
|
* The point of interest (POI) where the doctor is picked up then value is set to .
|
|
1761
1767
|
*
|
|
@@ -1954,6 +1960,134 @@ export interface UserInformation {
|
|
|
1954
1960
|
*/
|
|
1955
1961
|
lastActivityOn: string | null;
|
|
1956
1962
|
}
|
|
1963
|
+
export interface SimulationUnitDebug {
|
|
1964
|
+
id: number;
|
|
1965
|
+
unitInformation: IUnitInformation;
|
|
1966
|
+
patient: string;
|
|
1967
|
+
state: string;
|
|
1968
|
+
mission: string;
|
|
1969
|
+
request: string;
|
|
1970
|
+
isDriving: boolean;
|
|
1971
|
+
isOnDuty: boolean;
|
|
1972
|
+
onServerTime: string;
|
|
1973
|
+
knowledge: string;
|
|
1974
|
+
equipmentOnScene: string;
|
|
1975
|
+
requiredEquipments: string;
|
|
1976
|
+
}
|
|
1977
|
+
export interface IAdvancedMobileLocation {
|
|
1978
|
+
/**
|
|
1979
|
+
* Latitude of the location.
|
|
1980
|
+
*
|
|
1981
|
+
*/
|
|
1982
|
+
latitude: number | null;
|
|
1983
|
+
/**
|
|
1984
|
+
* Longitude of the location.
|
|
1985
|
+
*
|
|
1986
|
+
*/
|
|
1987
|
+
longitude: number | null;
|
|
1988
|
+
/**
|
|
1989
|
+
* Time when the location was recorded.
|
|
1990
|
+
*
|
|
1991
|
+
*/
|
|
1992
|
+
locationTime: string | null;
|
|
1993
|
+
/**
|
|
1994
|
+
* Accuracy of the location in meters.
|
|
1995
|
+
*
|
|
1996
|
+
*/
|
|
1997
|
+
accuracy: number | null;
|
|
1998
|
+
/**
|
|
1999
|
+
* Vertical accuracy of the location in meters.
|
|
2000
|
+
*
|
|
2001
|
+
*/
|
|
2002
|
+
verticalAccuracy: number | null;
|
|
2003
|
+
/**
|
|
2004
|
+
* Altitude of the location in meters.
|
|
2005
|
+
*
|
|
2006
|
+
*/
|
|
2007
|
+
altitude: number | null;
|
|
2008
|
+
/**
|
|
2009
|
+
* Source of the location information (e.g., GPS, WiFi).
|
|
2010
|
+
*
|
|
2011
|
+
*/
|
|
2012
|
+
source: string;
|
|
2013
|
+
/**
|
|
2014
|
+
* Status of the location data (e.g., ok).
|
|
2015
|
+
*
|
|
2016
|
+
*/
|
|
2017
|
+
status: string;
|
|
2018
|
+
}
|
|
2019
|
+
export interface IAdvancedMobileLocationEnriched {
|
|
2020
|
+
/**
|
|
2021
|
+
* Gets or sets the unique identifier for this enriched AML record.
|
|
2022
|
+
*
|
|
2023
|
+
*/
|
|
2024
|
+
id: string;
|
|
2025
|
+
/**
|
|
2026
|
+
* Gets or sets the complete telephone number including country code and area code.
|
|
2027
|
+
*
|
|
2028
|
+
*/
|
|
2029
|
+
fullyQualifiedTelephoneNumber: string;
|
|
2030
|
+
/**
|
|
2031
|
+
* Gets or sets a collection of instances. Each element contains a reference and the in meters from the AML coordinates.
|
|
2032
|
+
*
|
|
2033
|
+
*/
|
|
2034
|
+
places: IAdvancedMobileLocationPlace[] | null;
|
|
2035
|
+
}
|
|
2036
|
+
export interface IAdvancedMobileLocationPlace {
|
|
2037
|
+
/**
|
|
2038
|
+
* Gets or sets the geo-referenced location for this place.
|
|
2039
|
+
*
|
|
2040
|
+
*/
|
|
2041
|
+
place: IGeoReferenced;
|
|
2042
|
+
/**
|
|
2043
|
+
* Gets or sets the distance in meters from the AML coordinates to the .
|
|
2044
|
+
*
|
|
2045
|
+
*/
|
|
2046
|
+
distance: number;
|
|
2047
|
+
}
|
|
2048
|
+
export interface ICallInformation {
|
|
2049
|
+
id: string;
|
|
2050
|
+
/**
|
|
2051
|
+
* Gets or sets the current state of the call.
|
|
2052
|
+
*
|
|
2053
|
+
*/
|
|
2054
|
+
state: CallState;
|
|
2055
|
+
/**
|
|
2056
|
+
* Gets or sets the fully qualified telephone number (FQTN).
|
|
2057
|
+
*
|
|
2058
|
+
*/
|
|
2059
|
+
fullyQualifiedTelephoneNumber: string;
|
|
2060
|
+
/**
|
|
2061
|
+
* Gets or sets the workplace associated with the call, if available.
|
|
2062
|
+
*
|
|
2063
|
+
*/
|
|
2064
|
+
workplace: IWorkplace;
|
|
2065
|
+
/**
|
|
2066
|
+
* Gets or sets the advanced mobile location (AML) data, if provided.
|
|
2067
|
+
*
|
|
2068
|
+
*/
|
|
2069
|
+
advancedMobileLocation: IAdvancedMobileLocationEnriched;
|
|
2070
|
+
/**
|
|
2071
|
+
* Gets or sets the known POI for the call, if available.
|
|
2072
|
+
*
|
|
2073
|
+
*/
|
|
2074
|
+
knownPoi: IPoi;
|
|
2075
|
+
/**
|
|
2076
|
+
* Gets or sets the known name (e.g., phonebook, LDAP) for the call, if available.
|
|
2077
|
+
*
|
|
2078
|
+
*/
|
|
2079
|
+
knownName: string;
|
|
2080
|
+
/**
|
|
2081
|
+
* Gets or sets the known district area (e.g., from phone area code / number) for the call, if available.
|
|
2082
|
+
*
|
|
2083
|
+
*/
|
|
2084
|
+
knownDistrict: string;
|
|
2085
|
+
/**
|
|
2086
|
+
* Gets or sets the unit if the call is associated with a unit or comes from a unit.
|
|
2087
|
+
*
|
|
2088
|
+
*/
|
|
2089
|
+
unit: IUnitInformation;
|
|
2090
|
+
}
|
|
1957
2091
|
export interface ICommandcenterInformation {
|
|
1958
2092
|
id: number;
|
|
1959
2093
|
/**
|
|
@@ -2071,6 +2205,28 @@ export interface IGeoReferenced {
|
|
|
2071
2205
|
*/
|
|
2072
2206
|
isCoordinatesResolved: boolean;
|
|
2073
2207
|
}
|
|
2208
|
+
export interface IHotkey {
|
|
2209
|
+
/**
|
|
2210
|
+
* The action this hotkey performs
|
|
2211
|
+
*
|
|
2212
|
+
*/
|
|
2213
|
+
action: HotkeyAction;
|
|
2214
|
+
/**
|
|
2215
|
+
* The main key (e.g., 'A', 'F1', 'Escape')
|
|
2216
|
+
*
|
|
2217
|
+
*/
|
|
2218
|
+
key: string;
|
|
2219
|
+
/**
|
|
2220
|
+
* Modifier keys (Ctrl, Alt, Shift, Meta)
|
|
2221
|
+
*
|
|
2222
|
+
*/
|
|
2223
|
+
modifiers: HotkeyModifiers;
|
|
2224
|
+
/**
|
|
2225
|
+
* The original accelerator string
|
|
2226
|
+
*
|
|
2227
|
+
*/
|
|
2228
|
+
acceleratorKey: string;
|
|
2229
|
+
}
|
|
2074
2230
|
export interface IKeyword {
|
|
2075
2231
|
id: number;
|
|
2076
2232
|
commandcenterId: number;
|
|
@@ -2591,6 +2747,22 @@ export interface IRouteLeg {
|
|
|
2591
2747
|
*/
|
|
2592
2748
|
name: string;
|
|
2593
2749
|
}
|
|
2750
|
+
export interface IServerFeatures {
|
|
2751
|
+
isSimulation: boolean;
|
|
2752
|
+
}
|
|
2753
|
+
export interface IServerInfo {
|
|
2754
|
+
serverName: string;
|
|
2755
|
+
serverBaseUrl: string;
|
|
2756
|
+
dashboardBaseUrl: string;
|
|
2757
|
+
updateUrl: string;
|
|
2758
|
+
windows: IWindowDefinition[];
|
|
2759
|
+
features: IServerFeatures;
|
|
2760
|
+
isAuthenticated: boolean;
|
|
2761
|
+
isWorkplaceAssigned: boolean;
|
|
2762
|
+
isDispatcherTagConfigured: boolean;
|
|
2763
|
+
defaultHotkeys: IHotkey[];
|
|
2764
|
+
user: IUserInformation;
|
|
2765
|
+
}
|
|
2594
2766
|
export interface ISessionAudit {
|
|
2595
2767
|
id: string;
|
|
2596
2768
|
/**
|
|
@@ -2827,6 +2999,16 @@ export interface IUnitResource {
|
|
|
2827
2999
|
*
|
|
2828
3000
|
*/
|
|
2829
3001
|
currentOperationId: string | null;
|
|
3002
|
+
/**
|
|
3003
|
+
* Is true if the unit has a state which indicates activity (e.g. on-scene, driving ...)
|
|
3004
|
+
*
|
|
3005
|
+
*/
|
|
3006
|
+
isActive: boolean;
|
|
3007
|
+
/**
|
|
3008
|
+
* Is true if the unit is blocked in an operation (e.g. suggested / selected) - pre dispatch
|
|
3009
|
+
*
|
|
3010
|
+
*/
|
|
3011
|
+
isReserved: boolean;
|
|
2830
3012
|
}
|
|
2831
3013
|
export interface IUserInformation {
|
|
2832
3014
|
id: number;
|
|
@@ -2862,6 +3044,21 @@ export interface IUserInformation {
|
|
|
2862
3044
|
*/
|
|
2863
3045
|
lastActivityOn: string | null;
|
|
2864
3046
|
}
|
|
3047
|
+
export interface IWindowDefinition {
|
|
3048
|
+
id: string;
|
|
3049
|
+
name: string;
|
|
3050
|
+
url: string;
|
|
3051
|
+
isHome: boolean;
|
|
3052
|
+
initialWidth: number;
|
|
3053
|
+
initialHeight: number;
|
|
3054
|
+
initialX: number | null;
|
|
3055
|
+
initialY: number | null;
|
|
3056
|
+
minWidth: number | null;
|
|
3057
|
+
minHeight: number | null;
|
|
3058
|
+
resizable: boolean | null;
|
|
3059
|
+
showInTaskbar: boolean | null;
|
|
3060
|
+
type: WindowType;
|
|
3061
|
+
}
|
|
2865
3062
|
export interface IWorkplace {
|
|
2866
3063
|
/**
|
|
2867
3064
|
* Gets or sets the number that identifies the workplace.
|
|
@@ -3132,6 +3329,43 @@ export declare enum AuditEntityIdType {
|
|
|
3132
3329
|
Unit = 1,
|
|
3133
3330
|
Task = 2
|
|
3134
3331
|
}
|
|
3332
|
+
export declare enum CallState {
|
|
3333
|
+
/**
|
|
3334
|
+
* The call is ringing and waiting to be answered.
|
|
3335
|
+
*
|
|
3336
|
+
*/
|
|
3337
|
+
Ring = 1,
|
|
3338
|
+
/**
|
|
3339
|
+
* The call has been accepted by the recipient.
|
|
3340
|
+
*
|
|
3341
|
+
*/
|
|
3342
|
+
Accept = 2,
|
|
3343
|
+
/**
|
|
3344
|
+
* The call is placed on hold.
|
|
3345
|
+
*
|
|
3346
|
+
*/
|
|
3347
|
+
Hold = 3,
|
|
3348
|
+
/**
|
|
3349
|
+
* The call is being forwarded to another recipient.
|
|
3350
|
+
*
|
|
3351
|
+
*/
|
|
3352
|
+
Forward = 4,
|
|
3353
|
+
/**
|
|
3354
|
+
* The call has ended or the caller has left.
|
|
3355
|
+
*
|
|
3356
|
+
*/
|
|
3357
|
+
Gone = 5,
|
|
3358
|
+
/**
|
|
3359
|
+
* The requested call or recipient could not be found.
|
|
3360
|
+
*
|
|
3361
|
+
*/
|
|
3362
|
+
NotFound = 6,
|
|
3363
|
+
/**
|
|
3364
|
+
* The call cannot be completed because the line is busy.
|
|
3365
|
+
*
|
|
3366
|
+
*/
|
|
3367
|
+
Busy = 7
|
|
3368
|
+
}
|
|
3135
3369
|
export declare enum CommandcenterCategory {
|
|
3136
3370
|
AerztlicherBereitschaftsdienst = 0,
|
|
3137
3371
|
Einsatzleitstelle = 1,
|
|
@@ -3216,18 +3450,30 @@ export declare enum CommandcenterOption {
|
|
|
3216
3450
|
*/
|
|
3217
3451
|
OperationLocationFromCallKnownPoi = 11,
|
|
3218
3452
|
/**
|
|
3219
|
-
*
|
|
3453
|
+
* Resources in Status 3 drive to their assigned standby area.
|
|
3220
3454
|
*
|
|
3221
3455
|
*/
|
|
3222
|
-
|
|
3456
|
+
UnitsDriveToStandbyPositionInStatus3 = 14,
|
|
3223
3457
|
/**
|
|
3224
|
-
*
|
|
3458
|
+
* Resources continue driving to the standby area until an abort command is received.
|
|
3225
3459
|
*
|
|
3226
3460
|
*/
|
|
3227
|
-
OperationLocationFromCallAddress = 13,
|
|
3228
|
-
UnitsDriveToStandbyPositionInStatus3 = 14,
|
|
3229
3461
|
UnitsDriveBackToStandbyPositionUntilAbortSend = 15,
|
|
3230
|
-
|
|
3462
|
+
/**
|
|
3463
|
+
* GPS positions will be interpolated to avoid units appearing “stuck” on routes with few coordinates. Interpolation updates unit positions more often on long stretches.
|
|
3464
|
+
*
|
|
3465
|
+
*/
|
|
3466
|
+
UnitGpsPositionInterpolation = 16,
|
|
3467
|
+
/**
|
|
3468
|
+
* Disable Advanced Mobile Location (AML) data usage.
|
|
3469
|
+
*
|
|
3470
|
+
*/
|
|
3471
|
+
DisableAdvancedMobileLocation = 17,
|
|
3472
|
+
/**
|
|
3473
|
+
* Units will respond then off-duty.
|
|
3474
|
+
*
|
|
3475
|
+
*/
|
|
3476
|
+
UnitsOffDutyWillRespond = 17
|
|
3231
3477
|
}
|
|
3232
3478
|
export interface Coordinates {
|
|
3233
3479
|
latitude: number;
|
|
@@ -3311,6 +3557,43 @@ export declare enum GeoProvider {
|
|
|
3311
3557
|
Valhalla = 6,
|
|
3312
3558
|
InternalDirectAirwayCalculationFallback = 7
|
|
3313
3559
|
}
|
|
3560
|
+
export declare enum HotkeyAction {
|
|
3561
|
+
None = 0,
|
|
3562
|
+
LayoutSave = 200,
|
|
3563
|
+
LayoutSaveAs = 201,
|
|
3564
|
+
LayoutDelete = 202,
|
|
3565
|
+
LayoutLoad1 = 203,
|
|
3566
|
+
LayoutLoad2 = 204,
|
|
3567
|
+
LayoutLoad3 = 205,
|
|
3568
|
+
LayoutLoad4 = 206,
|
|
3569
|
+
LayoutLoad5 = 207,
|
|
3570
|
+
OperationNew = 300,
|
|
3571
|
+
OperationDuplicate = 301,
|
|
3572
|
+
OperationSplit = 302,
|
|
3573
|
+
OperationMerge = 303,
|
|
3574
|
+
OperationClose = 304,
|
|
3575
|
+
OperationJumpCaller = 305,
|
|
3576
|
+
OperationJumpScheduled = 306,
|
|
3577
|
+
OperationJumpPoi = 307,
|
|
3578
|
+
OperationJumpAddress = 308,
|
|
3579
|
+
OperationJumpIncident = 309,
|
|
3580
|
+
OperationJumpReport = 310,
|
|
3581
|
+
OperationClearReservation = 311,
|
|
3582
|
+
OperationManualReservation = 312,
|
|
3583
|
+
OperationSuggestion = 313,
|
|
3584
|
+
OperationDispatch = 314,
|
|
3585
|
+
OperationExecuteAllMandatoryActions = 315,
|
|
3586
|
+
PhoneAcceptFirst = 400,
|
|
3587
|
+
PhoneHold = 401,
|
|
3588
|
+
PhoneDisconnect = 402
|
|
3589
|
+
}
|
|
3590
|
+
export declare enum HotkeyModifiers {
|
|
3591
|
+
None = 0,
|
|
3592
|
+
Alt = 1,
|
|
3593
|
+
Ctrl = 2,
|
|
3594
|
+
Shift = 4,
|
|
3595
|
+
Meta = 8
|
|
3596
|
+
}
|
|
3314
3597
|
export declare enum LocationAccuracy {
|
|
3315
3598
|
NotSet = 0,
|
|
3316
3599
|
District = 1,
|
|
@@ -3683,7 +3966,11 @@ export declare enum ProblemInformation {
|
|
|
3683
3966
|
TaskTemplateParameterIsRequired = 121,
|
|
3684
3967
|
TaskTemplateParameterFormatInvalid = 122,
|
|
3685
3968
|
ObjectIsReadOnly = 123,
|
|
3686
|
-
OperationPropertyNameIsRequired = 124
|
|
3969
|
+
OperationPropertyNameIsRequired = 124,
|
|
3970
|
+
OperationPriorityNotFound = 125,
|
|
3971
|
+
PatientNotFound = 126,
|
|
3972
|
+
OperationStatusNotFound = 127,
|
|
3973
|
+
OperationStatusNotAllowed = 128
|
|
3687
3974
|
}
|
|
3688
3975
|
export declare enum SessionEventType {
|
|
3689
3976
|
/**
|
|
@@ -3701,86 +3988,91 @@ export declare enum SessionEventType {
|
|
|
3701
3988
|
*
|
|
3702
3989
|
*/
|
|
3703
3990
|
WorkplaceChanged = 2,
|
|
3991
|
+
/**
|
|
3992
|
+
* Indicates that the workplace was removed.
|
|
3993
|
+
*
|
|
3994
|
+
*/
|
|
3995
|
+
WorkplaceRemoved = 3,
|
|
3704
3996
|
/**
|
|
3705
3997
|
* Indicates that a new operation has been created.
|
|
3706
3998
|
*
|
|
3707
3999
|
*/
|
|
3708
|
-
OperationCreated =
|
|
4000
|
+
OperationCreated = 4,
|
|
3709
4001
|
/**
|
|
3710
4002
|
* Indicates that a property of an operation has changed.
|
|
3711
4003
|
*
|
|
3712
4004
|
*/
|
|
3713
|
-
OperationPropertyChanged =
|
|
4005
|
+
OperationPropertyChanged = 5,
|
|
3714
4006
|
/**
|
|
3715
4007
|
* Indicates that documentation for an operation has been created.
|
|
3716
4008
|
*
|
|
3717
4009
|
*/
|
|
3718
|
-
OperationDocumentationCreated =
|
|
4010
|
+
OperationDocumentationCreated = 6,
|
|
3719
4011
|
/**
|
|
3720
4012
|
* Indicates that a patient record for an operation has been created.
|
|
3721
4013
|
*
|
|
3722
4014
|
*/
|
|
3723
|
-
OperationPatientCreated =
|
|
4015
|
+
OperationPatientCreated = 7,
|
|
3724
4016
|
/**
|
|
3725
4017
|
* Indicates that a task within an operation has been created.
|
|
3726
4018
|
*
|
|
3727
4019
|
*/
|
|
3728
|
-
OperationTaskCreated =
|
|
4020
|
+
OperationTaskCreated = 8,
|
|
3729
4021
|
/**
|
|
3730
4022
|
* Indicates that a task within an operation has been removed.
|
|
3731
4023
|
*
|
|
3732
4024
|
*/
|
|
3733
|
-
OperationTaskRemoved =
|
|
4025
|
+
OperationTaskRemoved = 9,
|
|
3734
4026
|
/**
|
|
3735
4027
|
* Indicates that a task within an operation is set to execute.
|
|
3736
4028
|
*
|
|
3737
4029
|
*/
|
|
3738
|
-
OperationTaskExecute =
|
|
4030
|
+
OperationTaskExecute = 10,
|
|
3739
4031
|
/**
|
|
3740
4032
|
* Indicates that a resource is now suggested for use.
|
|
3741
4033
|
*
|
|
3742
4034
|
*/
|
|
3743
|
-
ResourceNowSuggested =
|
|
4035
|
+
ResourceNowSuggested = 11,
|
|
3744
4036
|
/**
|
|
3745
4037
|
* Indicates that a resource is no longer suggested for use.
|
|
3746
4038
|
*
|
|
3747
4039
|
*/
|
|
3748
|
-
ResourceNoLongerSuggested =
|
|
4040
|
+
ResourceNoLongerSuggested = 12,
|
|
3749
4041
|
/**
|
|
3750
4042
|
* Indicates that the status of a resource has changed.
|
|
3751
4043
|
*
|
|
3752
4044
|
*/
|
|
3753
|
-
ResourceStatusChanged =
|
|
4045
|
+
ResourceStatusChanged = 13,
|
|
3754
4046
|
/**
|
|
3755
4047
|
* Indicates that a resource has been dispatched.
|
|
3756
4048
|
*
|
|
3757
4049
|
*/
|
|
3758
|
-
ResourceDispatched =
|
|
4050
|
+
ResourceDispatched = 14,
|
|
3759
4051
|
/**
|
|
3760
4052
|
* Indicates that the dispatch of a resource has been canceled.
|
|
3761
4053
|
*
|
|
3762
4054
|
*/
|
|
3763
|
-
ResourceDispatchCanceled =
|
|
4055
|
+
ResourceDispatchCanceled = 15,
|
|
3764
4056
|
/**
|
|
3765
4057
|
* Indicates that the dispatch of a resource has been completed.
|
|
3766
4058
|
*
|
|
3767
4059
|
*/
|
|
3768
|
-
ResourceDispatchCompleted =
|
|
4060
|
+
ResourceDispatchCompleted = 16,
|
|
3769
4061
|
/**
|
|
3770
4062
|
* Indicates that the position of a resource has changed.
|
|
3771
4063
|
*
|
|
3772
4064
|
*/
|
|
3773
|
-
ResourcePositionChanged =
|
|
4065
|
+
ResourcePositionChanged = 17,
|
|
3774
4066
|
/**
|
|
3775
4067
|
* Indicates a request for a resource to speak.
|
|
3776
4068
|
*
|
|
3777
4069
|
*/
|
|
3778
|
-
ResourceSpeakRequest =
|
|
4070
|
+
ResourceSpeakRequest = 18,
|
|
3779
4071
|
/**
|
|
3780
4072
|
* Indicates that a notification has been created.
|
|
3781
4073
|
*
|
|
3782
4074
|
*/
|
|
3783
|
-
NotificationCreated =
|
|
4075
|
+
NotificationCreated = 19
|
|
3784
4076
|
}
|
|
3785
4077
|
export declare enum SessionWebhookMethod {
|
|
3786
4078
|
GET = 0,
|
|
@@ -4212,6 +4504,18 @@ export declare enum DayOfWeek {
|
|
|
4212
4504
|
Friday = 5,
|
|
4213
4505
|
Saturday = 6
|
|
4214
4506
|
}
|
|
4507
|
+
export interface EnumLocalization {
|
|
4508
|
+
[enumName: string]: {
|
|
4509
|
+
[enumValue: string]: {
|
|
4510
|
+
[locale: string]: string;
|
|
4511
|
+
};
|
|
4512
|
+
};
|
|
4513
|
+
}
|
|
4514
|
+
export declare const EnumLocalizations: EnumLocalization;
|
|
4515
|
+
export declare function setLocale(locale: string): void;
|
|
4516
|
+
export declare function getCurrentLocale(): string;
|
|
4517
|
+
export declare function getLocalizedEnumValue<T extends keyof typeof EnumLocalizations>(enumName: T, enumValue: keyof typeof EnumLocalizations[T], locale?: string): string;
|
|
4518
|
+
export declare function localizeEnum<T extends Record<string, string | number>>(enumObject: T, enumName: keyof typeof EnumLocalizations, locale?: string): Record<keyof T, string>;
|
|
4215
4519
|
export declare namespace GISDefaults {
|
|
4216
4520
|
/**
|
|
4217
4521
|
* The default format string used for geocoding search queries. This format is used to construct address queries when no custom format is specified in a command center's settings. It combines multiple address components into a single string that can be interpreted by geocoding services to locate precise geographical coordinates. The format includes placeholders for house number, street name, city name, district name, state name, and postal code.
|