@evergis/api 3.0.57 → 3.0.60

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/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: "getConfiguration",
5777
+ key: "getConfigurationsList",
5763
5778
  value:
5764
5779
  /**
5765
5780
  * No description
5766
5781
  *
5767
5782
  * @tags ClientSettings
5768
- * @name GetConfiguration
5769
- * @operationId ClientSettingsController_GetConfiguration
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 CreateConfig
5862
- * @operationId ClientSettingsController_CreateConfig
5863
- * @summary Create new client configuration.
5864
- * @request POST:/settings/config
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: "getVariables1",
6035
- value: function getVariables1(query) {
6036
- return this.http.get("/settings/variable", query).json();
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 CreateVariable
6043
- * @operationId ClientSettingsController_CreateVariable
6044
- * @summary Create new variable.
6045
- * @request POST:/settings/variable
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: "createVariable",
6051
- value: function createVariable(data) {
6052
- return this.http.post("/settings/variable", data).json();
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 UpdateVariable
6059
- * @operationId ClientSettingsController_UpdateVariable
6060
- * @summary Update client configuration.
6061
- * @request PATCH:/settings/variable
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: "updateVariable",
6067
- value: function updateVariable(data) {
6068
- return this.http.patch("/settings/variable", data).then(() => {});
5836
+ key: "removeConfiguration",
5837
+ value: function removeConfiguration(query) {
5838
+ return this.http.delete("/settings", null, query).then(() => {});
6069
5839
  }
6070
5840
  }]);
6071
5841
 
@@ -7185,21 +6955,6 @@ var ClassificationType;
7185
6955
  ClassificationType["Quantile"] = "quantile";
7186
6956
  })(ClassificationType || (ClassificationType = {}));
7187
6957
  /**
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
6958
  * Types of errors that can occur during layer initialize.
7204
6959
 
7205
6960
  Unknown
@@ -7868,5 +7623,5 @@ var ToolStorageType;
7868
7623
  ToolStorageType["LayersStorage"] = "layersStorage";
7869
7624
  })(ToolStorageType || (ToolStorageType = {}));
7870
7625
 
7871
- export { API_USER_INFO_KEY, Account, AccountPreview, AggregationFunction, Api, ApiEvent, ArgumentType, AttributeType, BulkOperations, ClassificationType, ClientSettings, CombineType, 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 };
7626
+ 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
7627
  //# sourceMappingURL=api.esm.js.map