@evergis/api 3.0.58 → 3.0.61
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/dist/__generated__/ClientSettingsService.d.ts +17 -182
- package/dist/__generated__/SecurityService.d.ts +12 -1
- package/dist/__generated__/WfsServerService.d.ts +20 -0
- package/dist/__generated__/WmsServerService.d.ts +38 -5
- package/dist/__generated__/WmtsService.d.ts +20 -0
- package/dist/__generated__/data-contracts.d.ts +194 -291
- package/dist/api.cjs.development.js +42 -286
- package/dist/api.cjs.development.js.map +1 -1
- package/dist/api.cjs.production.min.js +1 -1
- package/dist/api.cjs.production.min.js.map +1 -1
- package/dist/api.esm.js +43 -297
- package/dist/api.esm.js.map +1 -1
- package/dist/services/PortalSettings.d.ts +16 -1
- package/dist/utils/generateId.d.ts +1 -1
- package/package.json +2 -2
package/dist/api.esm.js
CHANGED
|
@@ -346,6 +346,22 @@ let SecurityService = /*#__PURE__*/function (_Service) {
|
|
|
346
346
|
function findUserByNameByRoles(query) {
|
|
347
347
|
return this.http.get("/security/findUsersWithRoles", query).json();
|
|
348
348
|
}
|
|
349
|
+
/**
|
|
350
|
+
* No description
|
|
351
|
+
*
|
|
352
|
+
* @tags SecurityService
|
|
353
|
+
* @name GetUsersAndRoles
|
|
354
|
+
* @operationId SecurityServiceController_GetUsersAndRoles
|
|
355
|
+
* @summary Get users and roles list by filter.
|
|
356
|
+
* @request GET:/security/usersandroles
|
|
357
|
+
* @response `200` Success
|
|
358
|
+
*/
|
|
359
|
+
|
|
360
|
+
}, {
|
|
361
|
+
key: "getUsersAndRoles",
|
|
362
|
+
value: function getUsersAndRoles(query) {
|
|
363
|
+
return this.http.get("/security/usersandroles", query).json();
|
|
364
|
+
}
|
|
349
365
|
/**
|
|
350
366
|
* No description
|
|
351
367
|
*
|
|
@@ -5740,7 +5756,6 @@ let External = /*#__PURE__*/function (_ExternalProvidersSer) {
|
|
|
5740
5756
|
return External;
|
|
5741
5757
|
}(ExternalProvidersService);
|
|
5742
5758
|
|
|
5743
|
-
const _excluded$6 = ["idVariable"];
|
|
5744
5759
|
/**
|
|
5745
5760
|
* @title Spatial Processing Core API
|
|
5746
5761
|
* @version v0.6.0
|
|
@@ -5759,313 +5774,68 @@ let ClientSettingsService = /*#__PURE__*/function (_Service) {
|
|
|
5759
5774
|
}
|
|
5760
5775
|
|
|
5761
5776
|
_createClass(ClientSettingsService, [{
|
|
5762
|
-
key: "
|
|
5777
|
+
key: "getConfigurationsList",
|
|
5763
5778
|
value:
|
|
5764
5779
|
/**
|
|
5765
5780
|
* No description
|
|
5766
5781
|
*
|
|
5767
5782
|
* @tags ClientSettings
|
|
5768
|
-
* @name
|
|
5769
|
-
* @operationId
|
|
5770
|
-
* @summary Get config for urlPath.
|
|
5771
|
-
* @request GET:/settings
|
|
5772
|
-
* @response `200` Success
|
|
5773
|
-
*/
|
|
5774
|
-
function getConfiguration(query) {
|
|
5775
|
-
return this.http.get("/settings", query).text();
|
|
5776
|
-
}
|
|
5777
|
-
/**
|
|
5778
|
-
* No description
|
|
5779
|
-
*
|
|
5780
|
-
* @tags ClientSettings
|
|
5781
|
-
* @name SetConfiguration
|
|
5782
|
-
* @operationId ClientSettingsController_SetConfiguration
|
|
5783
|
-
* @summary Set config for urlPath.
|
|
5784
|
-
* @request POST:/settings
|
|
5785
|
-
* @response `200` Success
|
|
5786
|
-
*/
|
|
5787
|
-
|
|
5788
|
-
}, {
|
|
5789
|
-
key: "setConfiguration",
|
|
5790
|
-
value: function setConfiguration(query, data) {
|
|
5791
|
-
return this.http.post("/settings", data, query).then(() => {});
|
|
5792
|
-
}
|
|
5793
|
-
/**
|
|
5794
|
-
* No description
|
|
5795
|
-
*
|
|
5796
|
-
* @tags ClientSettings
|
|
5797
|
-
* @name GetConfig
|
|
5798
|
-
* @operationId ClientSettingsController_GetConfig
|
|
5799
|
-
* @summary Get client configuration.
|
|
5800
|
-
* @request GET:/settings/config/{idConfig}
|
|
5801
|
-
* @response `200` Success
|
|
5802
|
-
*/
|
|
5803
|
-
|
|
5804
|
-
}, {
|
|
5805
|
-
key: "getConfig",
|
|
5806
|
-
value: function getConfig(idConfig) {
|
|
5807
|
-
return this.http.get("/settings/config/" + idConfig).json();
|
|
5808
|
-
}
|
|
5809
|
-
/**
|
|
5810
|
-
* No description
|
|
5811
|
-
*
|
|
5812
|
-
* @tags ClientSettings
|
|
5813
|
-
* @name RemoveConfig
|
|
5814
|
-
* @operationId ClientSettingsController_RemoveConfig
|
|
5815
|
-
* @summary Remove client configuration.
|
|
5816
|
-
* @request DELETE:/settings/config/{idConfig}
|
|
5817
|
-
* @response `200` Success
|
|
5818
|
-
*/
|
|
5819
|
-
|
|
5820
|
-
}, {
|
|
5821
|
-
key: "removeConfig",
|
|
5822
|
-
value: function removeConfig(idConfig) {
|
|
5823
|
-
return this.http.delete("/settings/config/" + idConfig, null).then(() => {});
|
|
5824
|
-
}
|
|
5825
|
-
/**
|
|
5826
|
-
* No description
|
|
5827
|
-
*
|
|
5828
|
-
* @tags ClientSettings
|
|
5829
|
-
* @name GetConfigByPath
|
|
5830
|
-
* @operationId ClientSettingsController_GetConfigByPath
|
|
5831
|
-
* @summary Get configuration with given urlPath.
|
|
5832
|
-
* @request GET:/settings/config/getByPath
|
|
5833
|
-
* @response `200` Success
|
|
5834
|
-
*/
|
|
5835
|
-
|
|
5836
|
-
}, {
|
|
5837
|
-
key: "getConfigByPath",
|
|
5838
|
-
value: function getConfigByPath(query) {
|
|
5839
|
-
return this.http.get("/settings/config/getByPath", query).json();
|
|
5840
|
-
}
|
|
5841
|
-
/**
|
|
5842
|
-
* No description
|
|
5843
|
-
*
|
|
5844
|
-
* @tags ClientSettings
|
|
5845
|
-
* @name GetConfig1
|
|
5846
|
-
* @operationId ClientSettingsController_GetConfig_1
|
|
5783
|
+
* @name GetConfigurationsList
|
|
5784
|
+
* @operationId ClientSettingsController_GetConfigurationsList
|
|
5847
5785
|
* @summary Get client configurations.
|
|
5848
5786
|
* @request GET:/settings/config
|
|
5849
5787
|
* @response `200` Success
|
|
5850
5788
|
*/
|
|
5851
|
-
|
|
5852
|
-
}, {
|
|
5853
|
-
key: "getConfig1",
|
|
5854
|
-
value: function getConfig1(query) {
|
|
5789
|
+
function getConfigurationsList(query) {
|
|
5855
5790
|
return this.http.get("/settings/config", query).json();
|
|
5856
5791
|
}
|
|
5857
5792
|
/**
|
|
5858
5793
|
* No description
|
|
5859
5794
|
*
|
|
5860
5795
|
* @tags ClientSettings
|
|
5861
|
-
* @name
|
|
5862
|
-
* @operationId
|
|
5863
|
-
* @summary
|
|
5864
|
-
* @request
|
|
5865
|
-
* @response `200` Success
|
|
5866
|
-
*/
|
|
5867
|
-
|
|
5868
|
-
}, {
|
|
5869
|
-
key: "createConfig",
|
|
5870
|
-
value: function createConfig(data) {
|
|
5871
|
-
return this.http.post("/settings/config", data).json();
|
|
5872
|
-
}
|
|
5873
|
-
/**
|
|
5874
|
-
* No description
|
|
5875
|
-
*
|
|
5876
|
-
* @tags ClientSettings
|
|
5877
|
-
* @name UpdateConfig
|
|
5878
|
-
* @operationId ClientSettingsController_UpdateConfig
|
|
5879
|
-
* @summary Update client configuration.
|
|
5880
|
-
* @request PATCH:/settings/config
|
|
5881
|
-
* @response `200` Success
|
|
5882
|
-
*/
|
|
5883
|
-
|
|
5884
|
-
}, {
|
|
5885
|
-
key: "updateConfig",
|
|
5886
|
-
value: function updateConfig(data) {
|
|
5887
|
-
return this.http.patch("/settings/config", data).then(() => {});
|
|
5888
|
-
}
|
|
5889
|
-
/**
|
|
5890
|
-
* No description
|
|
5891
|
-
*
|
|
5892
|
-
* @tags ClientSettings
|
|
5893
|
-
* @name GetValue
|
|
5894
|
-
* @operationId ClientSettingsController_GetValue
|
|
5895
|
-
* @summary Get variable value.
|
|
5896
|
-
* @request GET:/settings/variable/value/{idValue}
|
|
5897
|
-
* @response `200` Success
|
|
5898
|
-
*/
|
|
5899
|
-
|
|
5900
|
-
}, {
|
|
5901
|
-
key: "getValue",
|
|
5902
|
-
value: function getValue(idValue) {
|
|
5903
|
-
return this.http.get("/settings/variable/value/" + idValue).json();
|
|
5904
|
-
}
|
|
5905
|
-
/**
|
|
5906
|
-
* No description
|
|
5907
|
-
*
|
|
5908
|
-
* @tags ClientSettings
|
|
5909
|
-
* @name RemoveValue
|
|
5910
|
-
* @operationId ClientSettingsController_RemoveValue
|
|
5911
|
-
* @summary Remove client configuration.
|
|
5912
|
-
* @request DELETE:/settings/variable/value/{idValue}
|
|
5913
|
-
* @response `200` Success
|
|
5914
|
-
*/
|
|
5915
|
-
|
|
5916
|
-
}, {
|
|
5917
|
-
key: "removeValue",
|
|
5918
|
-
value: function removeValue(idValue) {
|
|
5919
|
-
return this.http.delete("/settings/variable/value/" + idValue, null).then(() => {});
|
|
5920
|
-
}
|
|
5921
|
-
/**
|
|
5922
|
-
* No description
|
|
5923
|
-
*
|
|
5924
|
-
* @tags ClientSettings
|
|
5925
|
-
* @name GetVariables
|
|
5926
|
-
* @operationId ClientSettingsController_GetVariables
|
|
5927
|
-
* @summary Get variable values.
|
|
5928
|
-
* @request GET:/settings/variable/{idVariable}/value
|
|
5929
|
-
* @response `200` Success
|
|
5930
|
-
*/
|
|
5931
|
-
|
|
5932
|
-
}, {
|
|
5933
|
-
key: "getVariables",
|
|
5934
|
-
value: function getVariables(_ref) {
|
|
5935
|
-
let {
|
|
5936
|
-
idVariable
|
|
5937
|
-
} = _ref,
|
|
5938
|
-
query = _objectWithoutPropertiesLoose(_ref, _excluded$6);
|
|
5939
|
-
|
|
5940
|
-
return this.http.get("/settings/variable/" + idVariable + "/value", query).json();
|
|
5941
|
-
}
|
|
5942
|
-
/**
|
|
5943
|
-
* No description
|
|
5944
|
-
*
|
|
5945
|
-
* @tags ClientSettings
|
|
5946
|
-
* @name CreateValue
|
|
5947
|
-
* @operationId ClientSettingsController_CreateValue
|
|
5948
|
-
* @summary Create new variable value.
|
|
5949
|
-
* @request POST:/settings/variable/value
|
|
5950
|
-
* @response `200` Success
|
|
5951
|
-
*/
|
|
5952
|
-
|
|
5953
|
-
}, {
|
|
5954
|
-
key: "createValue",
|
|
5955
|
-
value: function createValue(data) {
|
|
5956
|
-
return this.http.post("/settings/variable/value", data).json();
|
|
5957
|
-
}
|
|
5958
|
-
/**
|
|
5959
|
-
* No description
|
|
5960
|
-
*
|
|
5961
|
-
* @tags ClientSettings
|
|
5962
|
-
* @name UpdateValue
|
|
5963
|
-
* @operationId ClientSettingsController_UpdateValue
|
|
5964
|
-
* @summary Update client configuration.
|
|
5965
|
-
* @request PATCH:/settings/variable/value
|
|
5966
|
-
* @response `200` Success
|
|
5967
|
-
*/
|
|
5968
|
-
|
|
5969
|
-
}, {
|
|
5970
|
-
key: "updateValue",
|
|
5971
|
-
value: function updateValue(data) {
|
|
5972
|
-
return this.http.patch("/settings/variable/value", data).then(() => {});
|
|
5973
|
-
}
|
|
5974
|
-
/**
|
|
5975
|
-
* No description
|
|
5976
|
-
*
|
|
5977
|
-
* @tags ClientSettings
|
|
5978
|
-
* @name GetVariable
|
|
5979
|
-
* @operationId ClientSettingsController_GetVariable
|
|
5980
|
-
* @summary Get client configuration.
|
|
5981
|
-
* @request GET:/settings/variable/{idVariable}
|
|
5982
|
-
* @response `200` Success
|
|
5983
|
-
*/
|
|
5984
|
-
|
|
5985
|
-
}, {
|
|
5986
|
-
key: "getVariable",
|
|
5987
|
-
value: function getVariable(idVariable) {
|
|
5988
|
-
return this.http.get("/settings/variable/" + idVariable).json();
|
|
5989
|
-
}
|
|
5990
|
-
/**
|
|
5991
|
-
* No description
|
|
5992
|
-
*
|
|
5993
|
-
* @tags ClientSettings
|
|
5994
|
-
* @name RemoveVariabe
|
|
5995
|
-
* @operationId ClientSettingsController_RemoveVariabe
|
|
5996
|
-
* @summary Remove client configuration.
|
|
5997
|
-
* @request DELETE:/settings/variable/{idVariable}
|
|
5998
|
-
* @response `200` Success
|
|
5999
|
-
*/
|
|
6000
|
-
|
|
6001
|
-
}, {
|
|
6002
|
-
key: "removeVariabe",
|
|
6003
|
-
value: function removeVariabe(idVariable) {
|
|
6004
|
-
return this.http.delete("/settings/variable/" + idVariable, null).then(() => {});
|
|
6005
|
-
}
|
|
6006
|
-
/**
|
|
6007
|
-
* No description
|
|
6008
|
-
*
|
|
6009
|
-
* @tags ClientSettings
|
|
6010
|
-
* @name GetConfigVariableByName
|
|
6011
|
-
* @operationId ClientSettingsController_GetConfigVariableByName
|
|
6012
|
-
* @summary Get variable by idConfig and name.
|
|
6013
|
-
* @request GET:/settings/config/{idConfig}/variable/{name}
|
|
6014
|
-
* @response `200` Success
|
|
6015
|
-
*/
|
|
6016
|
-
|
|
6017
|
-
}, {
|
|
6018
|
-
key: "getConfigVariableByName",
|
|
6019
|
-
value: function getConfigVariableByName(idConfig, name) {
|
|
6020
|
-
return this.http.get("/settings/config/" + idConfig + "/variable/" + name).json();
|
|
6021
|
-
}
|
|
6022
|
-
/**
|
|
6023
|
-
* No description
|
|
6024
|
-
*
|
|
6025
|
-
* @tags ClientSettings
|
|
6026
|
-
* @name GetVariables1
|
|
6027
|
-
* @operationId ClientSettingsController_GetVariables_1
|
|
6028
|
-
* @summary Get variables..
|
|
6029
|
-
* @request GET:/settings/variable
|
|
5796
|
+
* @name GetConfiguration
|
|
5797
|
+
* @operationId ClientSettingsController_GetConfiguration
|
|
5798
|
+
* @summary Get config for urlPath.
|
|
5799
|
+
* @request GET:/settings
|
|
6030
5800
|
* @response `200` Success
|
|
6031
5801
|
*/
|
|
6032
5802
|
|
|
6033
5803
|
}, {
|
|
6034
|
-
key: "
|
|
6035
|
-
value: function
|
|
6036
|
-
return this.http.get("/settings
|
|
5804
|
+
key: "getConfiguration",
|
|
5805
|
+
value: function getConfiguration(query) {
|
|
5806
|
+
return this.http.get("/settings", query).text();
|
|
6037
5807
|
}
|
|
6038
5808
|
/**
|
|
6039
5809
|
* No description
|
|
6040
5810
|
*
|
|
6041
5811
|
* @tags ClientSettings
|
|
6042
|
-
* @name
|
|
6043
|
-
* @operationId
|
|
6044
|
-
* @summary
|
|
6045
|
-
* @request POST:/settings
|
|
5812
|
+
* @name SetConfiguration
|
|
5813
|
+
* @operationId ClientSettingsController_SetConfiguration
|
|
5814
|
+
* @summary Set config for urlPath.
|
|
5815
|
+
* @request POST:/settings
|
|
6046
5816
|
* @response `200` Success
|
|
6047
5817
|
*/
|
|
6048
5818
|
|
|
6049
5819
|
}, {
|
|
6050
|
-
key: "
|
|
6051
|
-
value: function
|
|
6052
|
-
return this.http.post("/settings
|
|
5820
|
+
key: "setConfiguration",
|
|
5821
|
+
value: function setConfiguration(query, data) {
|
|
5822
|
+
return this.http.post("/settings", data, query).then(() => {});
|
|
6053
5823
|
}
|
|
6054
5824
|
/**
|
|
6055
5825
|
* No description
|
|
6056
5826
|
*
|
|
6057
5827
|
* @tags ClientSettings
|
|
6058
|
-
* @name
|
|
6059
|
-
* @operationId
|
|
6060
|
-
* @summary
|
|
6061
|
-
* @request
|
|
5828
|
+
* @name RemoveConfiguration
|
|
5829
|
+
* @operationId ClientSettingsController_RemoveConfiguration
|
|
5830
|
+
* @summary Remove config for urlPath.
|
|
5831
|
+
* @request DELETE:/settings
|
|
6062
5832
|
* @response `200` Success
|
|
6063
5833
|
*/
|
|
6064
5834
|
|
|
6065
5835
|
}, {
|
|
6066
|
-
key: "
|
|
6067
|
-
value: function
|
|
6068
|
-
return this.http.
|
|
5836
|
+
key: "removeConfiguration",
|
|
5837
|
+
value: function removeConfiguration(query) {
|
|
5838
|
+
return this.http.delete("/settings", null, query).then(() => {});
|
|
6069
5839
|
}
|
|
6070
5840
|
}]);
|
|
6071
5841
|
|
|
@@ -6127,16 +5897,7 @@ let PortalSettings = /*#__PURE__*/function (_ClientSettingsServic) {
|
|
|
6127
5897
|
_createClass(PortalSettings, [{
|
|
6128
5898
|
key: "fetchPortalSettings",
|
|
6129
5899
|
value: async function fetchPortalSettings(query) {
|
|
6130
|
-
|
|
6131
|
-
|
|
6132
|
-
const config = JSON.parse(await this.getConfiguration(query));
|
|
6133
|
-
this.config = _extends({}, config || {}, {
|
|
6134
|
-
settings: {
|
|
6135
|
-
withPortal: (config == null ? void 0 : (_config$settings = config.settings) == null ? void 0 : _config$settings.withPortal) === undefined || config.settings.withPortal,
|
|
6136
|
-
allowRegistration: (config == null ? void 0 : (_config$settings2 = config.settings) == null ? void 0 : _config$settings2.allowRegistration) === undefined || config.settings.allowRegistration,
|
|
6137
|
-
allowSNS: (config == null ? void 0 : (_config$settings3 = config.settings) == null ? void 0 : _config$settings3.allowSNS) === undefined || config.settings.allowSNS
|
|
6138
|
-
}
|
|
6139
|
-
});
|
|
5900
|
+
this.config = JSON.parse(await this.getConfiguration(query));
|
|
6140
5901
|
return this.config;
|
|
6141
5902
|
}
|
|
6142
5903
|
}]);
|
|
@@ -7185,21 +6946,6 @@ var ClassificationType;
|
|
|
7185
6946
|
ClassificationType["Quantile"] = "quantile";
|
|
7186
6947
|
})(ClassificationType || (ClassificationType = {}));
|
|
7187
6948
|
/**
|
|
7188
|
-
* Values combine types.
|
|
7189
|
-
|
|
7190
|
-
Array
|
|
7191
|
-
|
|
7192
|
-
Value
|
|
7193
|
-
*/
|
|
7194
|
-
|
|
7195
|
-
|
|
7196
|
-
var CombineType;
|
|
7197
|
-
|
|
7198
|
-
(function (CombineType) {
|
|
7199
|
-
CombineType["Array"] = "Array";
|
|
7200
|
-
CombineType["Value"] = "Value";
|
|
7201
|
-
})(CombineType || (CombineType = {}));
|
|
7202
|
-
/**
|
|
7203
6949
|
* Types of errors that can occur during layer initialize.
|
|
7204
6950
|
|
|
7205
6951
|
Unknown
|
|
@@ -7868,5 +7614,5 @@ var ToolStorageType;
|
|
|
7868
7614
|
ToolStorageType["LayersStorage"] = "layersStorage";
|
|
7869
7615
|
})(ToolStorageType || (ToolStorageType = {}));
|
|
7870
7616
|
|
|
7871
|
-
export { API_USER_INFO_KEY, Account, AccountPreview, AggregationFunction, Api, ApiEvent, ArgumentType, AttributeType, BulkOperations, ClassificationType, ClientSettings,
|
|
7617
|
+
export { API_USER_INFO_KEY, Account, AccountPreview, AggregationFunction, Api, ApiEvent, ArgumentType, AttributeType, BulkOperations, ClassificationType, ClientSettings, ConfigurationErrorEnum, ConnectionStatus, DependencyType, ElementType, ErrorDetailsType, ErrorReason, ErrorType, EvergisDynamicLayer, EvergisTileLayer, External, FeatureType, FileUpload, FontStyle, FontWeight, GEOCODE_PROVIDER, General, Geocode, GeometryType, HttpClient, HttpStatusCode, IceRouter, Import, Layers, LayersManager, LineEndingSize, LineEndingType, Names, Namespace, Notification, NotificationEvent, Operation, Permissions, PolicyType, PortalSettings, Projects, ResourceCatalog, ResourceSeparator, ResourceType, ResourceTypeLink, Resources, Scheduler, Security, ServerTaskStatus, SpatialProcessor, StringSubType, Styles, Tables, TextAlignment, TextVerticalAlignment, ToolStatus, ToolStorageType, Tools, UrlPath, addSubDomainToLocation, errorHandler, formDataFromFile, generateId, isEvergisDynamicLayer, isEvergisTileLayer, isFeatureLayer, isHTTPError, isHandledError, isLayer, isProjectContentItems, isString, isTileLayerService, promiseAllIgnoreErrors, stripUselessSlashes, toFormData, unique };
|
|
7872
7618
|
//# sourceMappingURL=api.esm.js.map
|