@evergis/api 3.0.121 → 3.0.122

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
@@ -29,6 +29,9 @@ function _defineProperties(target, props) {
29
29
  function _createClass(Constructor, protoProps, staticProps) {
30
30
  if (protoProps) _defineProperties(Constructor.prototype, protoProps);
31
31
  if (staticProps) _defineProperties(Constructor, staticProps);
32
+ Object.defineProperty(Constructor, "prototype", {
33
+ writable: false
34
+ });
32
35
  return Constructor;
33
36
  }
34
37
 
@@ -62,6 +65,9 @@ function _inherits(subClass, superClass) {
62
65
  configurable: true
63
66
  }
64
67
  });
68
+ Object.defineProperty(subClass, "prototype", {
69
+ writable: false
70
+ });
65
71
  if (superClass) _setPrototypeOf(subClass, superClass);
66
72
  }
67
73
 
@@ -120,6 +126,8 @@ function _assertThisInitialized(self) {
120
126
  function _possibleConstructorReturn(self, call) {
121
127
  if (call && (typeof call === "object" || typeof call === "function")) {
122
128
  return call;
129
+ } else if (call !== void 0) {
130
+ throw new TypeError("Derived constructors may only return object or undefined");
123
131
  }
124
132
 
125
133
  return _assertThisInitialized(self);
@@ -153,7 +161,7 @@ function _superPropBase(object, property) {
153
161
  return object;
154
162
  }
155
163
 
156
- function _get(target, property, receiver) {
164
+ function _get() {
157
165
  if (typeof Reflect !== "undefined" && Reflect.get) {
158
166
  _get = Reflect.get;
159
167
  } else {
@@ -164,14 +172,14 @@ function _get(target, property, receiver) {
164
172
  var desc = Object.getOwnPropertyDescriptor(base, property);
165
173
 
166
174
  if (desc.get) {
167
- return desc.get.call(receiver);
175
+ return desc.get.call(arguments.length < 3 ? target : receiver);
168
176
  }
169
177
 
170
178
  return desc.value;
171
179
  };
172
180
  }
173
181
 
174
- return _get(target, property, receiver || target);
182
+ return _get.apply(this, arguments);
175
183
  }
176
184
 
177
185
  let HttpClient = /*#__PURE__*/function () {
@@ -967,8 +975,8 @@ let Notification = /*#__PURE__*/function (_NotificationService) {
967
975
  || event.code === 4002
968
976
  /* InvalidSession */
969
977
  ) {
970
- _this.connectStatus = ConnectionStatus.SessionClosed;
971
- } else if (_this.reconnectTries < _this.MAX_WS_RECONNECT_TRIES) {
978
+ _this.connectStatus = ConnectionStatus.SessionClosed;
979
+ } else if (_this.reconnectTries < _this.MAX_WS_RECONNECT_TRIES) {
972
980
  _this.connectStatus = ConnectionStatus.Break;
973
981
  _this.reconnectTries++;
974
982
 
@@ -1474,7 +1482,7 @@ let Scheduler = /*#__PURE__*/function (_SchedulerService) {
1474
1482
  const taskProgress = await this.getTaskProgress(id);
1475
1483
  this.resolveTaskStatus(taskProgress, resolve, reject);
1476
1484
 
1477
- const taskResultCallback = async (_ref) => {
1485
+ const taskResultCallback = async _ref => {
1478
1486
  let {
1479
1487
  data
1480
1488
  } = _ref;
@@ -3617,12 +3625,12 @@ let Resources = /*#__PURE__*/function () {
3617
3625
  }, {
3618
3626
  key: "getDependentNames",
3619
3627
  value: function getDependentNames(deps, depType) {
3620
- return deps.filter((_ref) => {
3628
+ return deps.filter(_ref => {
3621
3629
  let {
3622
3630
  type
3623
3631
  } = _ref;
3624
3632
  return type === depType;
3625
- }).map((_ref2) => {
3633
+ }).map(_ref2 => {
3626
3634
  let {
3627
3635
  name
3628
3636
  } = _ref2;
@@ -6622,47 +6630,47 @@ function isFeatureLayer(layer) {
6622
6630
 
6623
6631
  /**
6624
6632
  *
6625
-
6633
+
6626
6634
  None
6627
-
6635
+
6628
6636
  Array
6629
-
6637
+
6630
6638
  Min
6631
-
6639
+
6632
6640
  Max
6633
-
6641
+
6634
6642
  Avg
6635
-
6643
+
6636
6644
  Sum
6637
-
6645
+
6638
6646
  Extent
6639
-
6647
+
6640
6648
  H3
6641
-
6649
+
6642
6650
  Count
6643
-
6651
+
6644
6652
  TotalCount
6645
-
6653
+
6646
6654
  DistinctCount
6647
-
6655
+
6648
6656
  First
6649
-
6657
+
6650
6658
  Last
6651
-
6659
+
6652
6660
  Median
6653
-
6661
+
6654
6662
  Mod
6655
-
6663
+
6656
6664
  StdDeviation
6657
-
6665
+
6658
6666
  SumOfProduct
6659
-
6667
+
6660
6668
  OnlyValue
6661
-
6669
+
6662
6670
  WeightedAvg
6663
-
6671
+
6664
6672
  DensityIndicators
6665
-
6673
+
6666
6674
  DividedSum
6667
6675
  */
6668
6676
  var AggregationFunction;
@@ -6692,28 +6700,30 @@ var AggregationFunction;
6692
6700
  })(AggregationFunction || (AggregationFunction = {}));
6693
6701
  /**
6694
6702
  * Types of the attributes that are supported by the system.
6695
-
6703
+
6696
6704
  Unknown
6697
-
6705
+
6698
6706
  String
6699
-
6707
+
6700
6708
  Int32
6701
-
6709
+
6702
6710
  Int64
6703
-
6711
+
6704
6712
  Double
6705
-
6713
+
6706
6714
  DateTime
6707
-
6715
+
6708
6716
  Boolean
6709
-
6717
+
6710
6718
  Point
6711
-
6719
+
6712
6720
  Polyline
6713
-
6721
+
6714
6722
  Polygon
6715
-
6723
+
6716
6724
  Multipoint
6725
+
6726
+ H3Index
6717
6727
  */
6718
6728
 
6719
6729
 
@@ -6731,18 +6741,19 @@ var AttributeType;
6731
6741
  AttributeType["Polyline"] = "Polyline";
6732
6742
  AttributeType["Polygon"] = "Polygon";
6733
6743
  AttributeType["Multipoint"] = "Multipoint";
6744
+ AttributeType["H3Index"] = "H3Index";
6734
6745
  })(AttributeType || (AttributeType = {}));
6735
6746
  /**
6736
6747
  * Describes classification methods.
6737
-
6748
+
6738
6749
  none
6739
-
6750
+
6740
6751
  naturalBreaks
6741
-
6752
+
6742
6753
  equalInterval
6743
-
6754
+
6744
6755
  quantile
6745
-
6756
+
6746
6757
  unique
6747
6758
  */
6748
6759
 
@@ -6758,11 +6769,11 @@ var ClassificationType;
6758
6769
  })(ClassificationType || (ClassificationType = {}));
6759
6770
  /**
6760
6771
  * Type of attribute.
6761
-
6772
+
6762
6773
  decimal
6763
-
6774
+
6764
6775
  dateTime
6765
-
6776
+
6766
6777
  text
6767
6778
  */
6768
6779
 
@@ -6776,53 +6787,55 @@ var ClassifyAttributeType;
6776
6787
  })(ClassifyAttributeType || (ClassifyAttributeType = {}));
6777
6788
  /**
6778
6789
  * Types of errors that can occur during layer initialize.
6779
-
6790
+
6780
6791
  Unknown
6781
-
6792
+
6782
6793
  SerializeError
6783
-
6794
+
6784
6795
  InvalidDataService
6785
-
6796
+
6786
6797
  InvalidConfiguration
6787
-
6798
+
6788
6799
  InvalidDataServiceName
6789
-
6800
+
6790
6801
  InvalidTableName
6791
-
6802
+
6792
6803
  InvalidLayerName
6793
-
6804
+
6794
6805
  ResourceNotFound
6795
-
6806
+
6796
6807
  InvalidCondition
6797
-
6808
+
6798
6809
  InvalidAttributes
6799
-
6810
+
6800
6811
  InvalidIdAttribute
6801
-
6812
+
6802
6813
  InvalidGeometryAttribute
6803
-
6814
+
6804
6815
  InvalidGeometryAttributeType
6805
-
6816
+
6806
6817
  InvalidColumnName
6807
-
6818
+
6808
6819
  InvalidIdColumnSettings
6809
-
6820
+
6810
6821
  ColumnNotExistsInTable
6811
-
6822
+
6812
6823
  InvalidStyle
6813
-
6824
+
6814
6825
  InvalidLayerType
6815
-
6826
+
6816
6827
  ColumnLoadingError
6817
-
6828
+
6818
6829
  InvalidAttributeFormat
6819
-
6830
+
6820
6831
  DataSourceNotFound
6821
-
6832
+
6822
6833
  DuplicateColumns
6823
-
6834
+
6835
+ DuplicateAttributes
6836
+
6824
6837
  TableWithoutColumns
6825
-
6838
+
6826
6839
  InvalidTableReferenceConfiguration
6827
6840
  */
6828
6841
 
@@ -6852,20 +6865,21 @@ var ConfigurationErrorEnum;
6852
6865
  ConfigurationErrorEnum["InvalidAttributeFormat"] = "InvalidAttributeFormat";
6853
6866
  ConfigurationErrorEnum["DataSourceNotFound"] = "DataSourceNotFound";
6854
6867
  ConfigurationErrorEnum["DuplicateColumns"] = "DuplicateColumns";
6868
+ ConfigurationErrorEnum["DuplicateAttributes"] = "DuplicateAttributes";
6855
6869
  ConfigurationErrorEnum["TableWithoutColumns"] = "TableWithoutColumns";
6856
6870
  ConfigurationErrorEnum["InvalidTableReferenceConfiguration"] = "InvalidTableReferenceConfiguration";
6857
6871
  })(ConfigurationErrorEnum || (ConfigurationErrorEnum = {}));
6858
6872
  /**
6859
6873
  * Type of the error.
6860
-
6874
+
6861
6875
  ResourceLimitExceeded
6862
-
6876
+
6863
6877
  ResourceNotFound
6864
-
6878
+
6865
6879
  InternalError
6866
-
6880
+
6867
6881
  BadRequest
6868
-
6882
+
6869
6883
  DuplicateContent
6870
6884
  */
6871
6885
 
@@ -6920,9 +6934,9 @@ var ErrorType;
6920
6934
  })(ErrorType || (ErrorType = {}));
6921
6935
  /**
6922
6936
  * Type of the feature.
6923
-
6937
+
6924
6938
  Unknown
6925
-
6939
+
6926
6940
  GeometricFeature
6927
6941
  */
6928
6942
 
@@ -6935,11 +6949,11 @@ var FeatureType;
6935
6949
  })(FeatureType || (FeatureType = {}));
6936
6950
  /**
6937
6951
  * Sets whether font should be styled.
6938
-
6952
+
6939
6953
  normal
6940
-
6954
+
6941
6955
  oblique
6942
-
6956
+
6943
6957
  italic
6944
6958
  */
6945
6959
 
@@ -6953,27 +6967,27 @@ var FontStyle;
6953
6967
  })(FontStyle || (FontStyle = {}));
6954
6968
  /**
6955
6969
  * Specifies the weight (or boldness) of the font.
6956
-
6970
+
6957
6971
  Thin
6958
-
6972
+
6959
6973
  ExtraLight
6960
-
6974
+
6961
6975
  Light
6962
-
6976
+
6963
6977
  SemiLight
6964
-
6978
+
6965
6979
  Normal
6966
-
6980
+
6967
6981
  Medium
6968
-
6982
+
6969
6983
  DemiBold
6970
-
6984
+
6971
6985
  Bold
6972
-
6986
+
6973
6987
  ExtraBold
6974
-
6988
+
6975
6989
  Black
6976
-
6990
+
6977
6991
  ExtraBlack
6978
6992
  */
6979
6993
 
@@ -6995,17 +7009,17 @@ var FontWeight;
6995
7009
  })(FontWeight || (FontWeight = {}));
6996
7010
  /**
6997
7011
  *
6998
-
7012
+
6999
7013
  unknown
7000
-
7014
+
7001
7015
  point
7002
-
7016
+
7003
7017
  polyline
7004
-
7018
+
7005
7019
  polygon
7006
-
7020
+
7007
7021
  envelope
7008
-
7022
+
7009
7023
  multipoint
7010
7024
  */
7011
7025
 
@@ -7022,13 +7036,13 @@ var GeometryType;
7022
7036
  })(GeometryType || (GeometryType = {}));
7023
7037
  /**
7024
7038
  * Resource group.
7025
-
7039
+
7026
7040
  my
7027
-
7041
+
7028
7042
  role
7029
-
7043
+
7030
7044
  public
7031
-
7045
+
7032
7046
  all
7033
7047
  */
7034
7048
 
@@ -7044,9 +7058,9 @@ var Group;
7044
7058
  /**
7045
7059
  * The size of the line ending in a SPCore.Kernel.Rendering.Symbols.SimplePolylineSymbol. The values sent here can be one
7046
7060
  of the preset values, or a number representing the size of the ending in pixels for 1px wide lines.
7047
-
7061
+
7048
7062
  small
7049
-
7063
+
7050
7064
  large
7051
7065
  */
7052
7066
 
@@ -7059,19 +7073,19 @@ var LineEndingSize;
7059
7073
  })(LineEndingSize || (LineEndingSize = {}));
7060
7074
  /**
7061
7075
  * Type of the line ending.
7062
-
7076
+
7063
7077
  none
7064
-
7078
+
7065
7079
  arrow
7066
-
7080
+
7067
7081
  filledArrow
7068
-
7082
+
7069
7083
  square
7070
-
7084
+
7071
7085
  filledSquare
7072
-
7086
+
7073
7087
  circle
7074
-
7088
+
7075
7089
  filledCircle
7076
7090
  */
7077
7091
 
@@ -7089,15 +7103,15 @@ var LineEndingType;
7089
7103
  })(LineEndingType || (LineEndingType = {}));
7090
7104
  /**
7091
7105
  *
7092
-
7106
+
7093
7107
  Unknown
7094
-
7108
+
7095
7109
  union
7096
-
7110
+
7097
7111
  intersection
7098
-
7112
+
7099
7113
  subtraction
7100
-
7114
+
7101
7115
  symDifference
7102
7116
  */
7103
7117
 
@@ -7113,19 +7127,19 @@ var Operation;
7113
7127
  })(Operation || (Operation = {}));
7114
7128
  /**
7115
7129
  * User permissions for server security objects (services, projects etc.)
7116
-
7130
+
7117
7131
  none
7118
-
7132
+
7119
7133
  configure
7120
-
7134
+
7121
7135
  write
7122
-
7136
+
7123
7137
  read
7124
-
7138
+
7125
7139
  read,configure
7126
-
7140
+
7127
7141
  read,write
7128
-
7142
+
7129
7143
  read,write,configure
7130
7144
  */
7131
7145
 
@@ -7143,19 +7157,19 @@ var Permissions;
7143
7157
  })(Permissions || (Permissions = {}));
7144
7158
  /**
7145
7159
  * Type of the authorization policy.
7146
-
7160
+
7147
7161
  Unknown
7148
-
7162
+
7149
7163
  CreateTable
7150
-
7164
+
7151
7165
  CreateLayer
7152
-
7166
+
7153
7167
  CreateProject
7154
-
7168
+
7155
7169
  MaxFeaturesInOneTable
7156
-
7170
+
7157
7171
  MaxObjectsToExport
7158
-
7172
+
7159
7173
  MaxUploadContentSize
7160
7174
  */
7161
7175
 
@@ -7173,11 +7187,11 @@ var PolicyType;
7173
7187
  })(PolicyType || (PolicyType = {}));
7174
7188
  /**
7175
7189
  * Types of table reference.
7176
-
7190
+
7177
7191
  OneToMany
7178
-
7192
+
7179
7193
  OneToOne
7180
-
7194
+
7181
7195
  Intersect
7182
7196
  */
7183
7197
 
@@ -7191,19 +7205,19 @@ var ReferenceJoinType;
7191
7205
  })(ReferenceJoinType || (ReferenceJoinType = {}));
7192
7206
  /**
7193
7207
  * The `ResourceType` represents resource manager supports types.
7194
-
7208
+
7195
7209
  Unknown
7196
-
7210
+
7197
7211
  table
7198
-
7212
+
7199
7213
  layer
7200
-
7214
+
7201
7215
  project
7202
-
7216
+
7203
7217
  file
7204
-
7218
+
7205
7219
  feature
7206
-
7220
+
7207
7221
  tag
7208
7222
  */
7209
7223
 
@@ -7229,21 +7243,21 @@ var ResourceTypeLink;
7229
7243
  })(ResourceTypeLink || (ResourceTypeLink = {}));
7230
7244
  /**
7231
7245
  * Status of the server task.
7232
-
7246
+
7233
7247
  None
7234
-
7248
+
7235
7249
  Scheduled
7236
-
7250
+
7237
7251
  Planning
7238
-
7252
+
7239
7253
  Executing
7240
-
7254
+
7241
7255
  Completed
7242
-
7256
+
7243
7257
  Failed
7244
-
7258
+
7245
7259
  Canceled
7246
-
7260
+
7247
7261
  Timeout
7248
7262
  */
7249
7263
 
@@ -7262,9 +7276,9 @@ var ServerTaskStatus;
7262
7276
  })(ServerTaskStatus || (ServerTaskStatus = {}));
7263
7277
  /**
7264
7278
  * Simplify type.
7265
-
7279
+
7266
7280
  Basic
7267
-
7281
+
7268
7282
  PreserveTopology
7269
7283
  */
7270
7284
 
@@ -7277,11 +7291,11 @@ var SimplifyType;
7277
7291
  })(SimplifyType || (SimplifyType = {}));
7278
7292
  /**
7279
7293
  * The `StringSubType` provides information about string attribute subtype.
7280
-
7294
+
7281
7295
  None
7282
-
7296
+
7283
7297
  Image
7284
-
7298
+
7285
7299
  PkkCode
7286
7300
  */
7287
7301
 
@@ -7295,9 +7309,9 @@ var StringSubType;
7295
7309
  })(StringSubType || (StringSubType = {}));
7296
7310
  /**
7297
7311
  * Task owner group.
7298
-
7312
+
7299
7313
  my
7300
-
7314
+
7301
7315
  all
7302
7316
  */
7303
7317
 
@@ -7310,13 +7324,13 @@ var TaskGroup;
7310
7324
  })(TaskGroup || (TaskGroup = {}));
7311
7325
  /**
7312
7326
  * Sets the horizontal alignment of text.
7313
-
7327
+
7314
7328
  right
7315
-
7329
+
7316
7330
  left
7317
-
7331
+
7318
7332
  center
7319
-
7333
+
7320
7334
  justified
7321
7335
  */
7322
7336
 
@@ -7331,11 +7345,11 @@ var TextAlignment;
7331
7345
  })(TextAlignment || (TextAlignment = {}));
7332
7346
  /**
7333
7347
  * Sets the vertical alignment of text.
7334
-
7348
+
7335
7349
  top
7336
-
7350
+
7337
7351
  bottom
7338
-
7352
+
7339
7353
  middle
7340
7354
  */
7341
7355