@evergis/api 3.0.134 → 3.0.136

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 () {
@@ -1000,8 +1008,8 @@ let Notification = /*#__PURE__*/function (_NotificationService) {
1000
1008
  || event.code === 4002
1001
1009
  /* InvalidSession */
1002
1010
  ) {
1003
- _this.connectStatus = ConnectionStatus.SessionClosed;
1004
- } else if (_this.reconnectTries < _this.MAX_WS_RECONNECT_TRIES) {
1011
+ _this.connectStatus = ConnectionStatus.SessionClosed;
1012
+ } else if (_this.reconnectTries < _this.MAX_WS_RECONNECT_TRIES) {
1005
1013
  _this.connectStatus = ConnectionStatus.Break;
1006
1014
  _this.reconnectTries++;
1007
1015
 
@@ -1514,7 +1522,7 @@ let Scheduler = /*#__PURE__*/function (_SchedulerService) {
1514
1522
  const taskProgress = await this.getTaskProgress(id);
1515
1523
  this.resolveTaskStatus(taskProgress, resolve, reject);
1516
1524
 
1517
- const taskResultCallback = async (_ref) => {
1525
+ const taskResultCallback = async _ref => {
1518
1526
  let {
1519
1527
  data
1520
1528
  } = _ref;
@@ -3705,12 +3713,12 @@ let Resources = /*#__PURE__*/function () {
3705
3713
  }, {
3706
3714
  key: "getDependentNames",
3707
3715
  value: function getDependentNames(deps, depType) {
3708
- return deps.filter((_ref) => {
3716
+ return deps.filter(_ref => {
3709
3717
  let {
3710
3718
  type
3711
3719
  } = _ref;
3712
3720
  return type === depType;
3713
- }).map((_ref2) => {
3721
+ }).map(_ref2 => {
3714
3722
  let {
3715
3723
  name
3716
3724
  } = _ref2;
@@ -6707,47 +6715,47 @@ function isFeatureLayer(layer) {
6707
6715
 
6708
6716
  /**
6709
6717
  *
6710
-
6718
+
6711
6719
  None
6712
-
6720
+
6713
6721
  Array
6714
-
6722
+
6715
6723
  Min
6716
-
6724
+
6717
6725
  Max
6718
-
6726
+
6719
6727
  Avg
6720
-
6728
+
6721
6729
  Sum
6722
-
6730
+
6723
6731
  Extent
6724
-
6732
+
6725
6733
  H3
6726
-
6734
+
6727
6735
  Count
6728
-
6736
+
6729
6737
  TotalCount
6730
-
6738
+
6731
6739
  DistinctCount
6732
-
6740
+
6733
6741
  First
6734
-
6742
+
6735
6743
  Last
6736
-
6744
+
6737
6745
  Median
6738
-
6746
+
6739
6747
  Mod
6740
-
6748
+
6741
6749
  StdDeviation
6742
-
6750
+
6743
6751
  SumOfProduct
6744
-
6752
+
6745
6753
  OnlyValue
6746
-
6754
+
6747
6755
  WeightedAvg
6748
-
6756
+
6749
6757
  DensityIndicators
6750
-
6758
+
6751
6759
  DividedSum
6752
6760
  */
6753
6761
  var AggregationFunction;
@@ -6777,29 +6785,29 @@ var AggregationFunction;
6777
6785
  })(AggregationFunction || (AggregationFunction = {}));
6778
6786
  /**
6779
6787
  * Types of the attributes that are supported by the system.
6780
-
6788
+
6781
6789
  Unknown
6782
-
6790
+
6783
6791
  String
6784
-
6792
+
6785
6793
  Int32
6786
-
6794
+
6787
6795
  Int64
6788
-
6796
+
6789
6797
  Double
6790
-
6798
+
6791
6799
  DateTime
6792
-
6800
+
6793
6801
  Boolean
6794
-
6802
+
6795
6803
  Point
6796
-
6804
+
6797
6805
  Polyline
6798
-
6806
+
6799
6807
  Polygon
6800
-
6808
+
6801
6809
  Multipoint
6802
-
6810
+
6803
6811
  H3Index
6804
6812
  */
6805
6813
 
@@ -6822,15 +6830,15 @@ var AttributeType;
6822
6830
  })(AttributeType || (AttributeType = {}));
6823
6831
  /**
6824
6832
  * Describes classification methods.
6825
-
6833
+
6826
6834
  none
6827
-
6835
+
6828
6836
  naturalBreaks
6829
-
6837
+
6830
6838
  equalInterval
6831
-
6839
+
6832
6840
  quantile
6833
-
6841
+
6834
6842
  unique
6835
6843
  */
6836
6844
 
@@ -6846,11 +6854,11 @@ var ClassificationType;
6846
6854
  })(ClassificationType || (ClassificationType = {}));
6847
6855
  /**
6848
6856
  * Type of attribute.
6849
-
6857
+
6850
6858
  decimal
6851
-
6859
+
6852
6860
  dateTime
6853
-
6861
+
6854
6862
  text
6855
6863
  */
6856
6864
 
@@ -6864,55 +6872,55 @@ var ClassifyAttributeType;
6864
6872
  })(ClassifyAttributeType || (ClassifyAttributeType = {}));
6865
6873
  /**
6866
6874
  * Types of errors that can occur during layer initialize.
6867
-
6875
+
6868
6876
  Unknown
6869
-
6877
+
6870
6878
  SerializeError
6871
-
6879
+
6872
6880
  InvalidDataService
6873
-
6881
+
6874
6882
  InvalidConfiguration
6875
-
6883
+
6876
6884
  InvalidDataServiceName
6877
-
6885
+
6878
6886
  InvalidTableName
6879
-
6887
+
6880
6888
  InvalidLayerName
6881
-
6889
+
6882
6890
  ResourceNotFound
6883
-
6891
+
6884
6892
  InvalidCondition
6885
-
6893
+
6886
6894
  InvalidAttributes
6887
-
6895
+
6888
6896
  InvalidIdAttribute
6889
-
6897
+
6890
6898
  InvalidGeometryAttribute
6891
-
6899
+
6892
6900
  InvalidGeometryAttributeType
6893
-
6901
+
6894
6902
  InvalidColumnName
6895
-
6903
+
6896
6904
  InvalidIdColumnSettings
6897
-
6905
+
6898
6906
  ColumnNotExistsInTable
6899
-
6907
+
6900
6908
  InvalidStyle
6901
-
6909
+
6902
6910
  InvalidLayerType
6903
-
6911
+
6904
6912
  ColumnLoadingError
6905
-
6913
+
6906
6914
  InvalidAttributeFormat
6907
-
6915
+
6908
6916
  DataSourceNotFound
6909
-
6917
+
6910
6918
  DuplicateColumns
6911
-
6919
+
6912
6920
  DuplicateAttributes
6913
-
6921
+
6914
6922
  TableWithoutColumns
6915
-
6923
+
6916
6924
  InvalidTableReferenceConfiguration
6917
6925
  */
6918
6926
 
@@ -6948,15 +6956,15 @@ var ConfigurationErrorEnum;
6948
6956
  })(ConfigurationErrorEnum || (ConfigurationErrorEnum = {}));
6949
6957
  /**
6950
6958
  * Type of the error.
6951
-
6959
+
6952
6960
  ResourceLimitExceeded
6953
-
6961
+
6954
6962
  ResourceNotFound
6955
-
6963
+
6956
6964
  InternalError
6957
-
6965
+
6958
6966
  BadRequest
6959
-
6967
+
6960
6968
  DuplicateContent
6961
6969
  */
6962
6970
 
@@ -7011,9 +7019,9 @@ var ErrorType;
7011
7019
  })(ErrorType || (ErrorType = {}));
7012
7020
  /**
7013
7021
  * Type of the feature.
7014
-
7022
+
7015
7023
  Unknown
7016
-
7024
+
7017
7025
  GeometricFeature
7018
7026
  */
7019
7027
 
@@ -7026,11 +7034,11 @@ var FeatureType;
7026
7034
  })(FeatureType || (FeatureType = {}));
7027
7035
  /**
7028
7036
  * Sets whether font should be styled.
7029
-
7037
+
7030
7038
  normal
7031
-
7039
+
7032
7040
  oblique
7033
-
7041
+
7034
7042
  italic
7035
7043
  */
7036
7044
 
@@ -7044,27 +7052,27 @@ var FontStyle;
7044
7052
  })(FontStyle || (FontStyle = {}));
7045
7053
  /**
7046
7054
  * Specifies the weight (or boldness) of the font.
7047
-
7055
+
7048
7056
  Thin
7049
-
7057
+
7050
7058
  ExtraLight
7051
-
7059
+
7052
7060
  Light
7053
-
7061
+
7054
7062
  SemiLight
7055
-
7063
+
7056
7064
  Normal
7057
-
7065
+
7058
7066
  Medium
7059
-
7067
+
7060
7068
  DemiBold
7061
-
7069
+
7062
7070
  Bold
7063
-
7071
+
7064
7072
  ExtraBold
7065
-
7073
+
7066
7074
  Black
7067
-
7075
+
7068
7076
  ExtraBlack
7069
7077
  */
7070
7078
 
@@ -7086,17 +7094,17 @@ var FontWeight;
7086
7094
  })(FontWeight || (FontWeight = {}));
7087
7095
  /**
7088
7096
  *
7089
-
7097
+
7090
7098
  unknown
7091
-
7099
+
7092
7100
  point
7093
-
7101
+
7094
7102
  polyline
7095
-
7103
+
7096
7104
  polygon
7097
-
7105
+
7098
7106
  envelope
7099
-
7107
+
7100
7108
  multipoint
7101
7109
  */
7102
7110
 
@@ -7113,13 +7121,13 @@ var GeometryType;
7113
7121
  })(GeometryType || (GeometryType = {}));
7114
7122
  /**
7115
7123
  * Resource group.
7116
-
7124
+
7117
7125
  my
7118
-
7126
+
7119
7127
  role
7120
-
7128
+
7121
7129
  public
7122
-
7130
+
7123
7131
  all
7124
7132
  */
7125
7133
 
@@ -7135,9 +7143,9 @@ var Group;
7135
7143
  /**
7136
7144
  * The size of the line ending in a SPCore.Kernel.Rendering.Symbols.SimplePolylineSymbol. The values sent here can be one
7137
7145
  of the preset values, or a number representing the size of the ending in pixels for 1px wide lines.
7138
-
7146
+
7139
7147
  small
7140
-
7148
+
7141
7149
  large
7142
7150
  */
7143
7151
 
@@ -7150,19 +7158,19 @@ var LineEndingSize;
7150
7158
  })(LineEndingSize || (LineEndingSize = {}));
7151
7159
  /**
7152
7160
  * Type of the line ending.
7153
-
7161
+
7154
7162
  none
7155
-
7163
+
7156
7164
  arrow
7157
-
7165
+
7158
7166
  filledArrow
7159
-
7167
+
7160
7168
  square
7161
-
7169
+
7162
7170
  filledSquare
7163
-
7171
+
7164
7172
  circle
7165
-
7173
+
7166
7174
  filledCircle
7167
7175
  */
7168
7176
 
@@ -7180,15 +7188,15 @@ var LineEndingType;
7180
7188
  })(LineEndingType || (LineEndingType = {}));
7181
7189
  /**
7182
7190
  *
7183
-
7191
+
7184
7192
  Unknown
7185
-
7193
+
7186
7194
  union
7187
-
7195
+
7188
7196
  intersection
7189
-
7197
+
7190
7198
  subtraction
7191
-
7199
+
7192
7200
  symDifference
7193
7201
  */
7194
7202
 
@@ -7204,19 +7212,19 @@ var Operation;
7204
7212
  })(Operation || (Operation = {}));
7205
7213
  /**
7206
7214
  * User permissions for server security objects (services, projects etc.)
7207
-
7215
+
7208
7216
  none
7209
-
7217
+
7210
7218
  configure
7211
-
7219
+
7212
7220
  write
7213
-
7221
+
7214
7222
  read
7215
-
7223
+
7216
7224
  read,configure
7217
-
7225
+
7218
7226
  read,write
7219
-
7227
+
7220
7228
  read,write,configure
7221
7229
  */
7222
7230
 
@@ -7234,19 +7242,19 @@ var Permissions;
7234
7242
  })(Permissions || (Permissions = {}));
7235
7243
  /**
7236
7244
  * Type of the authorization policy.
7237
-
7245
+
7238
7246
  Unknown
7239
-
7247
+
7240
7248
  CreateTable
7241
-
7249
+
7242
7250
  CreateLayer
7243
-
7251
+
7244
7252
  CreateProject
7245
-
7253
+
7246
7254
  MaxFeaturesInOneTable
7247
-
7255
+
7248
7256
  MaxObjectsToExport
7249
-
7257
+
7250
7258
  MaxUploadContentSize
7251
7259
  */
7252
7260
 
@@ -7264,11 +7272,11 @@ var PolicyType;
7264
7272
  })(PolicyType || (PolicyType = {}));
7265
7273
  /**
7266
7274
  * Types of table reference.
7267
-
7275
+
7268
7276
  OneToMany
7269
-
7277
+
7270
7278
  OneToOne
7271
-
7279
+
7272
7280
  Intersect
7273
7281
  */
7274
7282
 
@@ -7282,19 +7290,19 @@ var ReferenceJoinType;
7282
7290
  })(ReferenceJoinType || (ReferenceJoinType = {}));
7283
7291
  /**
7284
7292
  * The `ResourceType` represents resource manager supports types.
7285
-
7293
+
7286
7294
  Unknown
7287
-
7295
+
7288
7296
  table
7289
-
7297
+
7290
7298
  layer
7291
-
7299
+
7292
7300
  project
7293
-
7301
+
7294
7302
  file
7295
-
7303
+
7296
7304
  feature
7297
-
7305
+
7298
7306
  tag
7299
7307
  */
7300
7308
 
@@ -7320,21 +7328,21 @@ var ResourceTypeLink;
7320
7328
  })(ResourceTypeLink || (ResourceTypeLink = {}));
7321
7329
  /**
7322
7330
  * Status of the server task.
7323
-
7331
+
7324
7332
  None
7325
-
7333
+
7326
7334
  Scheduled
7327
-
7335
+
7328
7336
  Planning
7329
-
7337
+
7330
7338
  Executing
7331
-
7339
+
7332
7340
  Completed
7333
-
7341
+
7334
7342
  Failed
7335
-
7343
+
7336
7344
  Canceled
7337
-
7345
+
7338
7346
  Timeout
7339
7347
  */
7340
7348
 
@@ -7353,9 +7361,9 @@ var ServerTaskStatus;
7353
7361
  })(ServerTaskStatus || (ServerTaskStatus = {}));
7354
7362
  /**
7355
7363
  * Simplify type.
7356
-
7364
+
7357
7365
  Basic
7358
-
7366
+
7359
7367
  PreserveTopology
7360
7368
  */
7361
7369
 
@@ -7368,11 +7376,11 @@ var SimplifyType;
7368
7376
  })(SimplifyType || (SimplifyType = {}));
7369
7377
  /**
7370
7378
  * The `StringSubType` provides information about string attribute subtype.
7371
-
7379
+
7372
7380
  None
7373
-
7381
+
7374
7382
  Image
7375
-
7383
+
7376
7384
  PkkCode
7377
7385
  */
7378
7386
 
@@ -7386,9 +7394,9 @@ var StringSubType;
7386
7394
  })(StringSubType || (StringSubType = {}));
7387
7395
  /**
7388
7396
  * Task owner group.
7389
-
7397
+
7390
7398
  my
7391
-
7399
+
7392
7400
  all
7393
7401
  */
7394
7402
 
@@ -7401,13 +7409,13 @@ var TaskGroup;
7401
7409
  })(TaskGroup || (TaskGroup = {}));
7402
7410
  /**
7403
7411
  * Sets the horizontal alignment of text.
7404
-
7412
+
7405
7413
  right
7406
-
7414
+
7407
7415
  left
7408
-
7416
+
7409
7417
  center
7410
-
7418
+
7411
7419
  justified
7412
7420
  */
7413
7421
 
@@ -7422,11 +7430,11 @@ var TextAlignment;
7422
7430
  })(TextAlignment || (TextAlignment = {}));
7423
7431
  /**
7424
7432
  * Sets the vertical alignment of text.
7425
-
7433
+
7426
7434
  top
7427
-
7435
+
7428
7436
  bottom
7429
-
7437
+
7430
7438
  middle
7431
7439
  */
7432
7440