@evergis/api 3.0.141 → 3.0.142

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 () {
@@ -1024,8 +1016,8 @@ let Notification = /*#__PURE__*/function (_NotificationService) {
1024
1016
  || event.code === 4002
1025
1017
  /* InvalidSession */
1026
1018
  ) {
1027
- _this.connectStatus = ConnectionStatus.SessionClosed;
1028
- } else if (_this.reconnectTries < _this.MAX_WS_RECONNECT_TRIES) {
1019
+ _this.connectStatus = ConnectionStatus.SessionClosed;
1020
+ } else if (_this.reconnectTries < _this.MAX_WS_RECONNECT_TRIES) {
1029
1021
  _this.connectStatus = ConnectionStatus.Break;
1030
1022
  _this.reconnectTries++;
1031
1023
 
@@ -1538,7 +1530,7 @@ let Scheduler = /*#__PURE__*/function (_SchedulerService) {
1538
1530
  const taskProgress = await this.getTaskProgress(id);
1539
1531
  this.resolveTaskStatus(taskProgress, resolve, reject);
1540
1532
 
1541
- const taskResultCallback = async _ref => {
1533
+ const taskResultCallback = async (_ref) => {
1542
1534
  let {
1543
1535
  data
1544
1536
  } = _ref;
@@ -3761,12 +3753,12 @@ let Resources = /*#__PURE__*/function () {
3761
3753
  }, {
3762
3754
  key: "getDependentNames",
3763
3755
  value: function getDependentNames(deps, depType) {
3764
- return deps.filter(_ref => {
3756
+ return deps.filter((_ref) => {
3765
3757
  let {
3766
3758
  type
3767
3759
  } = _ref;
3768
3760
  return type === depType;
3769
- }).map(_ref2 => {
3761
+ }).map((_ref2) => {
3770
3762
  let {
3771
3763
  name
3772
3764
  } = _ref2;
@@ -6763,47 +6755,47 @@ function isFeatureLayer(layer) {
6763
6755
 
6764
6756
  /**
6765
6757
  *
6766
-
6758
+
6767
6759
  None
6768
-
6760
+
6769
6761
  Array
6770
-
6762
+
6771
6763
  Min
6772
-
6764
+
6773
6765
  Max
6774
-
6766
+
6775
6767
  Avg
6776
-
6768
+
6777
6769
  Sum
6778
-
6770
+
6779
6771
  Extent
6780
-
6772
+
6781
6773
  H3
6782
-
6774
+
6783
6775
  Count
6784
-
6776
+
6785
6777
  TotalCount
6786
-
6778
+
6787
6779
  DistinctCount
6788
-
6780
+
6789
6781
  First
6790
-
6782
+
6791
6783
  Last
6792
-
6784
+
6793
6785
  Median
6794
-
6786
+
6795
6787
  Mod
6796
-
6788
+
6797
6789
  StdDeviation
6798
-
6790
+
6799
6791
  SumOfProduct
6800
-
6792
+
6801
6793
  OnlyValue
6802
-
6794
+
6803
6795
  WeightedAvg
6804
-
6796
+
6805
6797
  DensityIndicators
6806
-
6798
+
6807
6799
  DividedSum
6808
6800
  */
6809
6801
  var AggregationFunction;
@@ -6833,29 +6825,29 @@ var AggregationFunction;
6833
6825
  })(AggregationFunction || (AggregationFunction = {}));
6834
6826
  /**
6835
6827
  * Types of the attributes that are supported by the system.
6836
-
6828
+
6837
6829
  Unknown
6838
-
6830
+
6839
6831
  String
6840
-
6832
+
6841
6833
  Int32
6842
-
6834
+
6843
6835
  Int64
6844
-
6836
+
6845
6837
  Double
6846
-
6838
+
6847
6839
  DateTime
6848
-
6840
+
6849
6841
  Boolean
6850
-
6842
+
6851
6843
  Point
6852
-
6844
+
6853
6845
  Polyline
6854
-
6846
+
6855
6847
  Polygon
6856
-
6848
+
6857
6849
  Multipoint
6858
-
6850
+
6859
6851
  H3Index
6860
6852
  */
6861
6853
 
@@ -6878,15 +6870,15 @@ var AttributeType;
6878
6870
  })(AttributeType || (AttributeType = {}));
6879
6871
  /**
6880
6872
  * Describes classification methods.
6881
-
6873
+
6882
6874
  none
6883
-
6875
+
6884
6876
  naturalBreaks
6885
-
6877
+
6886
6878
  equalInterval
6887
-
6879
+
6888
6880
  quantile
6889
-
6881
+
6890
6882
  unique
6891
6883
  */
6892
6884
 
@@ -6902,11 +6894,11 @@ var ClassificationType;
6902
6894
  })(ClassificationType || (ClassificationType = {}));
6903
6895
  /**
6904
6896
  * Type of attribute.
6905
-
6897
+
6906
6898
  decimal
6907
-
6899
+
6908
6900
  dateTime
6909
-
6901
+
6910
6902
  text
6911
6903
  */
6912
6904
 
@@ -6920,55 +6912,55 @@ var ClassifyAttributeType;
6920
6912
  })(ClassifyAttributeType || (ClassifyAttributeType = {}));
6921
6913
  /**
6922
6914
  * Types of errors that can occur during layer initialize.
6923
-
6915
+
6924
6916
  Unknown
6925
-
6917
+
6926
6918
  SerializeError
6927
-
6919
+
6928
6920
  InvalidDataService
6929
-
6921
+
6930
6922
  InvalidConfiguration
6931
-
6923
+
6932
6924
  InvalidDataServiceName
6933
-
6925
+
6934
6926
  InvalidTableName
6935
-
6927
+
6936
6928
  InvalidLayerName
6937
-
6929
+
6938
6930
  ResourceNotFound
6939
-
6931
+
6940
6932
  InvalidCondition
6941
-
6933
+
6942
6934
  InvalidAttributes
6943
-
6935
+
6944
6936
  InvalidIdAttribute
6945
-
6937
+
6946
6938
  InvalidGeometryAttribute
6947
-
6939
+
6948
6940
  InvalidGeometryAttributeType
6949
-
6941
+
6950
6942
  InvalidColumnName
6951
-
6943
+
6952
6944
  InvalidIdColumnSettings
6953
-
6945
+
6954
6946
  ColumnNotExistsInTable
6955
-
6947
+
6956
6948
  InvalidStyle
6957
-
6949
+
6958
6950
  InvalidLayerType
6959
-
6951
+
6960
6952
  ColumnLoadingError
6961
-
6953
+
6962
6954
  InvalidAttributeFormat
6963
-
6955
+
6964
6956
  DataSourceNotFound
6965
-
6957
+
6966
6958
  DuplicateColumns
6967
-
6959
+
6968
6960
  DuplicateAttributes
6969
-
6961
+
6970
6962
  TableWithoutColumns
6971
-
6963
+
6972
6964
  InvalidTableReferenceConfiguration
6973
6965
  */
6974
6966
 
@@ -7004,15 +6996,15 @@ var ConfigurationErrorEnum;
7004
6996
  })(ConfigurationErrorEnum || (ConfigurationErrorEnum = {}));
7005
6997
  /**
7006
6998
  * Type of the error.
7007
-
6999
+
7008
7000
  ResourceLimitExceeded
7009
-
7001
+
7010
7002
  ResourceNotFound
7011
-
7003
+
7012
7004
  InternalError
7013
-
7005
+
7014
7006
  BadRequest
7015
-
7007
+
7016
7008
  DuplicateContent
7017
7009
  */
7018
7010
 
@@ -7067,9 +7059,9 @@ var ErrorType;
7067
7059
  })(ErrorType || (ErrorType = {}));
7068
7060
  /**
7069
7061
  * Type of the feature.
7070
-
7062
+
7071
7063
  Unknown
7072
-
7064
+
7073
7065
  GeometricFeature
7074
7066
  */
7075
7067
 
@@ -7082,11 +7074,11 @@ var FeatureType;
7082
7074
  })(FeatureType || (FeatureType = {}));
7083
7075
  /**
7084
7076
  * Sets whether font should be styled.
7085
-
7077
+
7086
7078
  normal
7087
-
7079
+
7088
7080
  oblique
7089
-
7081
+
7090
7082
  italic
7091
7083
  */
7092
7084
 
@@ -7100,27 +7092,27 @@ var FontStyle;
7100
7092
  })(FontStyle || (FontStyle = {}));
7101
7093
  /**
7102
7094
  * Specifies the weight (or boldness) of the font.
7103
-
7095
+
7104
7096
  Thin
7105
-
7097
+
7106
7098
  ExtraLight
7107
-
7099
+
7108
7100
  Light
7109
-
7101
+
7110
7102
  SemiLight
7111
-
7103
+
7112
7104
  Normal
7113
-
7105
+
7114
7106
  Medium
7115
-
7107
+
7116
7108
  DemiBold
7117
-
7109
+
7118
7110
  Bold
7119
-
7111
+
7120
7112
  ExtraBold
7121
-
7113
+
7122
7114
  Black
7123
-
7115
+
7124
7116
  ExtraBlack
7125
7117
  */
7126
7118
 
@@ -7142,17 +7134,17 @@ var FontWeight;
7142
7134
  })(FontWeight || (FontWeight = {}));
7143
7135
  /**
7144
7136
  *
7145
-
7137
+
7146
7138
  unknown
7147
-
7139
+
7148
7140
  point
7149
-
7141
+
7150
7142
  polyline
7151
-
7143
+
7152
7144
  multipolygon
7153
-
7145
+
7154
7146
  envelope
7155
-
7147
+
7156
7148
  multipoint
7157
7149
  */
7158
7150
 
@@ -7169,13 +7161,13 @@ var GeometryType;
7169
7161
  })(GeometryType || (GeometryType = {}));
7170
7162
  /**
7171
7163
  * Resource group.
7172
-
7164
+
7173
7165
  my
7174
-
7166
+
7175
7167
  role
7176
-
7168
+
7177
7169
  public
7178
-
7170
+
7179
7171
  all
7180
7172
  */
7181
7173
 
@@ -7191,9 +7183,9 @@ var Group;
7191
7183
  /**
7192
7184
  * The size of the line ending in a SPCore.Kernel.Rendering.Symbols.SimplePolylineSymbol. The values sent here can be one
7193
7185
  of the preset values, or a number representing the size of the ending in pixels for 1px wide lines.
7194
-
7186
+
7195
7187
  small
7196
-
7188
+
7197
7189
  large
7198
7190
  */
7199
7191
 
@@ -7206,19 +7198,19 @@ var LineEndingSize;
7206
7198
  })(LineEndingSize || (LineEndingSize = {}));
7207
7199
  /**
7208
7200
  * Type of the line ending.
7209
-
7201
+
7210
7202
  none
7211
-
7203
+
7212
7204
  arrow
7213
-
7205
+
7214
7206
  filledArrow
7215
-
7207
+
7216
7208
  square
7217
-
7209
+
7218
7210
  filledSquare
7219
-
7211
+
7220
7212
  circle
7221
-
7213
+
7222
7214
  filledCircle
7223
7215
  */
7224
7216
 
@@ -7236,15 +7228,15 @@ var LineEndingType;
7236
7228
  })(LineEndingType || (LineEndingType = {}));
7237
7229
  /**
7238
7230
  *
7239
-
7231
+
7240
7232
  Unknown
7241
-
7233
+
7242
7234
  union
7243
-
7235
+
7244
7236
  intersection
7245
-
7237
+
7246
7238
  subtraction
7247
-
7239
+
7248
7240
  symDifference
7249
7241
  */
7250
7242
 
@@ -7260,19 +7252,19 @@ var Operation;
7260
7252
  })(Operation || (Operation = {}));
7261
7253
  /**
7262
7254
  * User permissions for server security objects (services, projects etc.)
7263
-
7255
+
7264
7256
  none
7265
-
7257
+
7266
7258
  configure
7267
-
7259
+
7268
7260
  write
7269
-
7261
+
7270
7262
  read
7271
-
7263
+
7272
7264
  read,configure
7273
-
7265
+
7274
7266
  read,write
7275
-
7267
+
7276
7268
  read,write,configure
7277
7269
  */
7278
7270
 
@@ -7290,19 +7282,19 @@ var Permissions;
7290
7282
  })(Permissions || (Permissions = {}));
7291
7283
  /**
7292
7284
  * Type of the authorization policy.
7293
-
7285
+
7294
7286
  Unknown
7295
-
7287
+
7296
7288
  CreateTable
7297
-
7289
+
7298
7290
  CreateLayer
7299
-
7291
+
7300
7292
  CreateProject
7301
-
7293
+
7302
7294
  MaxFeaturesInOneTable
7303
-
7295
+
7304
7296
  MaxObjectsToExport
7305
-
7297
+
7306
7298
  MaxUploadContentSize
7307
7299
  */
7308
7300
 
@@ -7320,11 +7312,11 @@ var PolicyType;
7320
7312
  })(PolicyType || (PolicyType = {}));
7321
7313
  /**
7322
7314
  * Types of table reference.
7323
-
7315
+
7324
7316
  OneToMany
7325
-
7317
+
7326
7318
  OneToOne
7327
-
7319
+
7328
7320
  Intersect
7329
7321
  */
7330
7322
 
@@ -7338,19 +7330,19 @@ var ReferenceJoinType;
7338
7330
  })(ReferenceJoinType || (ReferenceJoinType = {}));
7339
7331
  /**
7340
7332
  * The `ResourceType` represents resource manager supports types.
7341
-
7333
+
7342
7334
  Unknown
7343
-
7335
+
7344
7336
  table
7345
-
7337
+
7346
7338
  layer
7347
-
7339
+
7348
7340
  project
7349
-
7341
+
7350
7342
  file
7351
-
7343
+
7352
7344
  feature
7353
-
7345
+
7354
7346
  tag
7355
7347
  */
7356
7348
 
@@ -7376,21 +7368,21 @@ var ResourceTypeLink;
7376
7368
  })(ResourceTypeLink || (ResourceTypeLink = {}));
7377
7369
  /**
7378
7370
  * Status of the server task.
7379
-
7371
+
7380
7372
  None
7381
-
7373
+
7382
7374
  Scheduled
7383
-
7375
+
7384
7376
  Planning
7385
-
7377
+
7386
7378
  Executing
7387
-
7379
+
7388
7380
  Completed
7389
-
7381
+
7390
7382
  Failed
7391
-
7383
+
7392
7384
  Canceled
7393
-
7385
+
7394
7386
  Timeout
7395
7387
  */
7396
7388
 
@@ -7409,11 +7401,11 @@ var ServerTaskStatus;
7409
7401
  })(ServerTaskStatus || (ServerTaskStatus = {}));
7410
7402
  /**
7411
7403
  * Simplify type.
7412
-
7404
+
7413
7405
  Basic
7414
-
7406
+
7415
7407
  PreserveTopology
7416
-
7408
+
7417
7409
  VW
7418
7410
  */
7419
7411
 
@@ -7427,11 +7419,11 @@ var SimplifyType;
7427
7419
  })(SimplifyType || (SimplifyType = {}));
7428
7420
  /**
7429
7421
  * The `StringSubType` provides information about string attribute subtype.
7430
-
7422
+
7431
7423
  None
7432
-
7424
+
7433
7425
  Image
7434
-
7426
+
7435
7427
  PkkCode
7436
7428
  */
7437
7429
 
@@ -7445,9 +7437,9 @@ var StringSubType;
7445
7437
  })(StringSubType || (StringSubType = {}));
7446
7438
  /**
7447
7439
  * Task owner group.
7448
-
7440
+
7449
7441
  my
7450
-
7442
+
7451
7443
  all
7452
7444
  */
7453
7445
 
@@ -7460,13 +7452,13 @@ var TaskGroup;
7460
7452
  })(TaskGroup || (TaskGroup = {}));
7461
7453
  /**
7462
7454
  * Sets the horizontal alignment of text.
7463
-
7455
+
7464
7456
  right
7465
-
7457
+
7466
7458
  left
7467
-
7459
+
7468
7460
  center
7469
-
7461
+
7470
7462
  justified
7471
7463
  */
7472
7464
 
@@ -7481,11 +7473,11 @@ var TextAlignment;
7481
7473
  })(TextAlignment || (TextAlignment = {}));
7482
7474
  /**
7483
7475
  * Sets the vertical alignment of text.
7484
-
7476
+
7485
7477
  top
7486
-
7478
+
7487
7479
  bottom
7488
-
7480
+
7489
7481
  middle
7490
7482
  */
7491
7483