@evergis/api 3.0.59 → 3.0.62

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.
@@ -352,6 +352,22 @@ let SecurityService = /*#__PURE__*/function (_Service) {
352
352
  function findUserByNameByRoles(query) {
353
353
  return this.http.get("/security/findUsersWithRoles", query).json();
354
354
  }
355
+ /**
356
+ * No description
357
+ *
358
+ * @tags SecurityService
359
+ * @name GetUsersAndRoles
360
+ * @operationId SecurityServiceController_GetUsersAndRoles
361
+ * @summary Get users and roles list by filter.
362
+ * @request GET:/security/usersandroles
363
+ * @response `200` Success
364
+ */
365
+
366
+ }, {
367
+ key: "getUsersAndRoles",
368
+ value: function getUsersAndRoles(query) {
369
+ return this.http.get("/security/usersandroles", query).json();
370
+ }
355
371
  /**
356
372
  * No description
357
373
  *
@@ -5742,7 +5758,6 @@ let External = /*#__PURE__*/function (_ExternalProvidersSer) {
5742
5758
  return External;
5743
5759
  }(ExternalProvidersService);
5744
5760
 
5745
- const _excluded$6 = ["idVariable"];
5746
5761
  /**
5747
5762
  * @title Spatial Processing Core API
5748
5763
  * @version v0.6.0
@@ -5761,313 +5776,68 @@ let ClientSettingsService = /*#__PURE__*/function (_Service) {
5761
5776
  }
5762
5777
 
5763
5778
  _createClass(ClientSettingsService, [{
5764
- key: "getConfiguration",
5779
+ key: "getConfigurationsList",
5765
5780
  value:
5766
5781
  /**
5767
5782
  * No description
5768
5783
  *
5769
5784
  * @tags ClientSettings
5770
- * @name GetConfiguration
5771
- * @operationId ClientSettingsController_GetConfiguration
5772
- * @summary Get config for urlPath.
5773
- * @request GET:/settings
5774
- * @response `200` Success
5775
- */
5776
- function getConfiguration(query) {
5777
- return this.http.get("/settings", query).text();
5778
- }
5779
- /**
5780
- * No description
5781
- *
5782
- * @tags ClientSettings
5783
- * @name SetConfiguration
5784
- * @operationId ClientSettingsController_SetConfiguration
5785
- * @summary Set config for urlPath.
5786
- * @request POST:/settings
5787
- * @response `200` Success
5788
- */
5789
-
5790
- }, {
5791
- key: "setConfiguration",
5792
- value: function setConfiguration(query, data) {
5793
- return this.http.post("/settings", data, query).then(() => {});
5794
- }
5795
- /**
5796
- * No description
5797
- *
5798
- * @tags ClientSettings
5799
- * @name GetConfig
5800
- * @operationId ClientSettingsController_GetConfig
5801
- * @summary Get client configuration.
5802
- * @request GET:/settings/config/{idConfig}
5803
- * @response `200` Success
5804
- */
5805
-
5806
- }, {
5807
- key: "getConfig",
5808
- value: function getConfig(idConfig) {
5809
- return this.http.get("/settings/config/" + idConfig).json();
5810
- }
5811
- /**
5812
- * No description
5813
- *
5814
- * @tags ClientSettings
5815
- * @name RemoveConfig
5816
- * @operationId ClientSettingsController_RemoveConfig
5817
- * @summary Remove client configuration.
5818
- * @request DELETE:/settings/config/{idConfig}
5819
- * @response `200` Success
5820
- */
5821
-
5822
- }, {
5823
- key: "removeConfig",
5824
- value: function removeConfig(idConfig) {
5825
- return this.http.delete("/settings/config/" + idConfig, null).then(() => {});
5826
- }
5827
- /**
5828
- * No description
5829
- *
5830
- * @tags ClientSettings
5831
- * @name GetConfigByPath
5832
- * @operationId ClientSettingsController_GetConfigByPath
5833
- * @summary Get configuration with given urlPath.
5834
- * @request GET:/settings/config/getByPath
5835
- * @response `200` Success
5836
- */
5837
-
5838
- }, {
5839
- key: "getConfigByPath",
5840
- value: function getConfigByPath(query) {
5841
- return this.http.get("/settings/config/getByPath", query).json();
5842
- }
5843
- /**
5844
- * No description
5845
- *
5846
- * @tags ClientSettings
5847
- * @name GetConfig1
5848
- * @operationId ClientSettingsController_GetConfig_1
5785
+ * @name GetConfigurationsList
5786
+ * @operationId ClientSettingsController_GetConfigurationsList
5849
5787
  * @summary Get client configurations.
5850
5788
  * @request GET:/settings/config
5851
5789
  * @response `200` Success
5852
5790
  */
5853
-
5854
- }, {
5855
- key: "getConfig1",
5856
- value: function getConfig1(query) {
5791
+ function getConfigurationsList(query) {
5857
5792
  return this.http.get("/settings/config", query).json();
5858
5793
  }
5859
5794
  /**
5860
5795
  * No description
5861
5796
  *
5862
5797
  * @tags ClientSettings
5863
- * @name CreateConfig
5864
- * @operationId ClientSettingsController_CreateConfig
5865
- * @summary Create new client configuration.
5866
- * @request POST:/settings/config
5867
- * @response `200` Success
5868
- */
5869
-
5870
- }, {
5871
- key: "createConfig",
5872
- value: function createConfig(data) {
5873
- return this.http.post("/settings/config", data).json();
5874
- }
5875
- /**
5876
- * No description
5877
- *
5878
- * @tags ClientSettings
5879
- * @name UpdateConfig
5880
- * @operationId ClientSettingsController_UpdateConfig
5881
- * @summary Update client configuration.
5882
- * @request PATCH:/settings/config
5883
- * @response `200` Success
5884
- */
5885
-
5886
- }, {
5887
- key: "updateConfig",
5888
- value: function updateConfig(data) {
5889
- return this.http.patch("/settings/config", data).then(() => {});
5890
- }
5891
- /**
5892
- * No description
5893
- *
5894
- * @tags ClientSettings
5895
- * @name GetValue
5896
- * @operationId ClientSettingsController_GetValue
5897
- * @summary Get variable value.
5898
- * @request GET:/settings/variable/value/{idValue}
5899
- * @response `200` Success
5900
- */
5901
-
5902
- }, {
5903
- key: "getValue",
5904
- value: function getValue(idValue) {
5905
- return this.http.get("/settings/variable/value/" + idValue).json();
5906
- }
5907
- /**
5908
- * No description
5909
- *
5910
- * @tags ClientSettings
5911
- * @name RemoveValue
5912
- * @operationId ClientSettingsController_RemoveValue
5913
- * @summary Remove client configuration.
5914
- * @request DELETE:/settings/variable/value/{idValue}
5915
- * @response `200` Success
5916
- */
5917
-
5918
- }, {
5919
- key: "removeValue",
5920
- value: function removeValue(idValue) {
5921
- return this.http.delete("/settings/variable/value/" + idValue, null).then(() => {});
5922
- }
5923
- /**
5924
- * No description
5925
- *
5926
- * @tags ClientSettings
5927
- * @name GetVariables
5928
- * @operationId ClientSettingsController_GetVariables
5929
- * @summary Get variable values.
5930
- * @request GET:/settings/variable/{idVariable}/value
5931
- * @response `200` Success
5932
- */
5933
-
5934
- }, {
5935
- key: "getVariables",
5936
- value: function getVariables(_ref) {
5937
- let {
5938
- idVariable
5939
- } = _ref,
5940
- query = _objectWithoutPropertiesLoose(_ref, _excluded$6);
5941
-
5942
- return this.http.get("/settings/variable/" + idVariable + "/value", query).json();
5943
- }
5944
- /**
5945
- * No description
5946
- *
5947
- * @tags ClientSettings
5948
- * @name CreateValue
5949
- * @operationId ClientSettingsController_CreateValue
5950
- * @summary Create new variable value.
5951
- * @request POST:/settings/variable/value
5952
- * @response `200` Success
5953
- */
5954
-
5955
- }, {
5956
- key: "createValue",
5957
- value: function createValue(data) {
5958
- return this.http.post("/settings/variable/value", data).json();
5959
- }
5960
- /**
5961
- * No description
5962
- *
5963
- * @tags ClientSettings
5964
- * @name UpdateValue
5965
- * @operationId ClientSettingsController_UpdateValue
5966
- * @summary Update client configuration.
5967
- * @request PATCH:/settings/variable/value
5968
- * @response `200` Success
5969
- */
5970
-
5971
- }, {
5972
- key: "updateValue",
5973
- value: function updateValue(data) {
5974
- return this.http.patch("/settings/variable/value", data).then(() => {});
5975
- }
5976
- /**
5977
- * No description
5978
- *
5979
- * @tags ClientSettings
5980
- * @name GetVariable
5981
- * @operationId ClientSettingsController_GetVariable
5982
- * @summary Get client configuration.
5983
- * @request GET:/settings/variable/{idVariable}
5984
- * @response `200` Success
5985
- */
5986
-
5987
- }, {
5988
- key: "getVariable",
5989
- value: function getVariable(idVariable) {
5990
- return this.http.get("/settings/variable/" + idVariable).json();
5991
- }
5992
- /**
5993
- * No description
5994
- *
5995
- * @tags ClientSettings
5996
- * @name RemoveVariabe
5997
- * @operationId ClientSettingsController_RemoveVariabe
5998
- * @summary Remove client configuration.
5999
- * @request DELETE:/settings/variable/{idVariable}
6000
- * @response `200` Success
6001
- */
6002
-
6003
- }, {
6004
- key: "removeVariabe",
6005
- value: function removeVariabe(idVariable) {
6006
- return this.http.delete("/settings/variable/" + idVariable, null).then(() => {});
6007
- }
6008
- /**
6009
- * No description
6010
- *
6011
- * @tags ClientSettings
6012
- * @name GetConfigVariableByName
6013
- * @operationId ClientSettingsController_GetConfigVariableByName
6014
- * @summary Get variable by idConfig and name.
6015
- * @request GET:/settings/config/{idConfig}/variable/{name}
6016
- * @response `200` Success
6017
- */
6018
-
6019
- }, {
6020
- key: "getConfigVariableByName",
6021
- value: function getConfigVariableByName(idConfig, name) {
6022
- return this.http.get("/settings/config/" + idConfig + "/variable/" + name).json();
6023
- }
6024
- /**
6025
- * No description
6026
- *
6027
- * @tags ClientSettings
6028
- * @name GetVariables1
6029
- * @operationId ClientSettingsController_GetVariables_1
6030
- * @summary Get variables..
6031
- * @request GET:/settings/variable
5798
+ * @name GetConfiguration
5799
+ * @operationId ClientSettingsController_GetConfiguration
5800
+ * @summary Get config for urlPath.
5801
+ * @request GET:/settings
6032
5802
  * @response `200` Success
6033
5803
  */
6034
5804
 
6035
5805
  }, {
6036
- key: "getVariables1",
6037
- value: function getVariables1(query) {
6038
- return this.http.get("/settings/variable", query).json();
5806
+ key: "getConfiguration",
5807
+ value: function getConfiguration(query) {
5808
+ return this.http.get("/settings", query).text();
6039
5809
  }
6040
5810
  /**
6041
5811
  * No description
6042
5812
  *
6043
5813
  * @tags ClientSettings
6044
- * @name CreateVariable
6045
- * @operationId ClientSettingsController_CreateVariable
6046
- * @summary Create new variable.
6047
- * @request POST:/settings/variable
5814
+ * @name SetConfiguration
5815
+ * @operationId ClientSettingsController_SetConfiguration
5816
+ * @summary Set config for urlPath.
5817
+ * @request POST:/settings
6048
5818
  * @response `200` Success
6049
5819
  */
6050
5820
 
6051
5821
  }, {
6052
- key: "createVariable",
6053
- value: function createVariable(data) {
6054
- return this.http.post("/settings/variable", data).json();
5822
+ key: "setConfiguration",
5823
+ value: function setConfiguration(query, data) {
5824
+ return this.http.post("/settings", data, query).then(() => {});
6055
5825
  }
6056
5826
  /**
6057
5827
  * No description
6058
5828
  *
6059
5829
  * @tags ClientSettings
6060
- * @name UpdateVariable
6061
- * @operationId ClientSettingsController_UpdateVariable
6062
- * @summary Update client configuration.
6063
- * @request PATCH:/settings/variable
5830
+ * @name RemoveConfiguration
5831
+ * @operationId ClientSettingsController_RemoveConfiguration
5832
+ * @summary Remove config for urlPath.
5833
+ * @request DELETE:/settings
6064
5834
  * @response `200` Success
6065
5835
  */
6066
5836
 
6067
5837
  }, {
6068
- key: "updateVariable",
6069
- value: function updateVariable(data) {
6070
- return this.http.patch("/settings/variable", data).then(() => {});
5838
+ key: "removeConfiguration",
5839
+ value: function removeConfiguration(query) {
5840
+ return this.http.delete("/settings", null, query).then(() => {});
6071
5841
  }
6072
5842
  }]);
6073
5843
 
@@ -6129,16 +5899,7 @@ let PortalSettings = /*#__PURE__*/function (_ClientSettingsServic) {
6129
5899
  _createClass(PortalSettings, [{
6130
5900
  key: "fetchPortalSettings",
6131
5901
  value: async function fetchPortalSettings(query) {
6132
- var _config$settings, _config$settings2, _config$settings3;
6133
-
6134
- const config = JSON.parse(await this.getConfiguration(query));
6135
- this.config = _extends({}, config || {}, {
6136
- settings: {
6137
- withPortal: (config == null ? void 0 : (_config$settings = config.settings) == null ? void 0 : _config$settings.withPortal) === undefined || config.settings.withPortal,
6138
- allowRegistration: (config == null ? void 0 : (_config$settings2 = config.settings) == null ? void 0 : _config$settings2.allowRegistration) === undefined || config.settings.allowRegistration,
6139
- allowSNS: (config == null ? void 0 : (_config$settings3 = config.settings) == null ? void 0 : _config$settings3.allowSNS) === undefined || config.settings.allowSNS
6140
- }
6141
- });
5902
+ this.config = JSON.parse(await this.getConfiguration(query));
6142
5903
  return this.config;
6143
5904
  }
6144
5905
  }]);
@@ -7068,11 +6829,6 @@ function isFeatureLayer(layer) {
7068
6829
  ClassificationType["Quantile"] = "quantile";
7069
6830
  })(exports.ClassificationType || (exports.ClassificationType = {}));
7070
6831
 
7071
- (function (CombineType) {
7072
- CombineType["Array"] = "Array";
7073
- CombineType["Value"] = "Value";
7074
- })(exports.CombineType || (exports.CombineType = {}));
7075
-
7076
6832
  (function (ConfigurationErrorEnum) {
7077
6833
  ConfigurationErrorEnum["Unknown"] = "Unknown";
7078
6834
  ConfigurationErrorEnum["SerializeError"] = "SerializeError";
@@ -7183,6 +6939,13 @@ function isFeatureLayer(layer) {
7183
6939
  GeometryType["Multipoint"] = "multipoint";
7184
6940
  })(exports.GeometryType || (exports.GeometryType = {}));
7185
6941
 
6942
+ (function (Group) {
6943
+ Group["My"] = "my";
6944
+ Group["Role"] = "role";
6945
+ Group["Public"] = "public";
6946
+ Group["All"] = "all";
6947
+ })(exports.Group || (exports.Group = {}));
6948
+
7186
6949
  (function (HttpStatusCode) {
7187
6950
  HttpStatusCode["Continue"] = "Continue";
7188
6951
  HttpStatusCode["SwitchingProtocols"] = "SwitchingProtocols";