@evergis/api 3.0.118 → 3.0.119

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