@evergis/api 3.0.149 → 3.0.151

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 () {
@@ -1101,8 +1093,8 @@ let Notification = /*#__PURE__*/function (_NotificationService) {
1101
1093
  || event.code === 4002
1102
1094
  /* InvalidSession */
1103
1095
  ) {
1104
- _this.connectStatus = ConnectionStatus.SessionClosed;
1105
- } else if (_this.reconnectTries < _this.MAX_WS_RECONNECT_TRIES) {
1096
+ _this.connectStatus = ConnectionStatus.SessionClosed;
1097
+ } else if (_this.reconnectTries < _this.MAX_WS_RECONNECT_TRIES) {
1106
1098
  _this.connectStatus = ConnectionStatus.Break;
1107
1099
  _this.reconnectTries++;
1108
1100
 
@@ -1651,7 +1643,7 @@ let Scheduler = /*#__PURE__*/function (_SchedulerService) {
1651
1643
  const taskProgress = await this.getTaskProgress(id);
1652
1644
  this.resolveTaskStatus(taskProgress, resolve, reject);
1653
1645
 
1654
- const taskResultCallback = async _ref => {
1646
+ const taskResultCallback = async (_ref) => {
1655
1647
  let {
1656
1648
  data
1657
1649
  } = _ref;
@@ -3915,12 +3907,12 @@ let Resources = /*#__PURE__*/function () {
3915
3907
  }, {
3916
3908
  key: "getDependentNames",
3917
3909
  value: function getDependentNames(deps, depType) {
3918
- return deps.filter(_ref => {
3910
+ return deps.filter((_ref) => {
3919
3911
  let {
3920
3912
  type
3921
3913
  } = _ref;
3922
3914
  return type === depType;
3923
- }).map(_ref2 => {
3915
+ }).map((_ref2) => {
3924
3916
  let {
3925
3917
  name
3926
3918
  } = _ref2;
@@ -6918,47 +6910,47 @@ function isFeatureLayer(layer) {
6918
6910
 
6919
6911
  /**
6920
6912
  *
6921
-
6913
+
6922
6914
  None
6923
-
6915
+
6924
6916
  Array
6925
-
6917
+
6926
6918
  Min
6927
-
6919
+
6928
6920
  Max
6929
-
6921
+
6930
6922
  Avg
6931
-
6923
+
6932
6924
  Sum
6933
-
6925
+
6934
6926
  Extent
6935
-
6927
+
6936
6928
  H3
6937
-
6929
+
6938
6930
  Count
6939
-
6931
+
6940
6932
  TotalCount
6941
-
6933
+
6942
6934
  DistinctCount
6943
-
6935
+
6944
6936
  First
6945
-
6937
+
6946
6938
  Last
6947
-
6939
+
6948
6940
  Median
6949
-
6941
+
6950
6942
  Mod
6951
-
6943
+
6952
6944
  StdDeviation
6953
-
6945
+
6954
6946
  SumOfProduct
6955
-
6947
+
6956
6948
  OnlyValue
6957
-
6949
+
6958
6950
  WeightedAvg
6959
-
6951
+
6960
6952
  DensityIndicators
6961
-
6953
+
6962
6954
  DividedSum
6963
6955
  */
6964
6956
  var AggregationFunction;
@@ -6988,29 +6980,29 @@ var AggregationFunction;
6988
6980
  })(AggregationFunction || (AggregationFunction = {}));
6989
6981
  /**
6990
6982
  * Types of the attributes that are supported by the system.
6991
-
6983
+
6992
6984
  Unknown
6993
-
6985
+
6994
6986
  String
6995
-
6987
+
6996
6988
  Int32
6997
-
6989
+
6998
6990
  Int64
6999
-
6991
+
7000
6992
  Double
7001
-
6993
+
7002
6994
  DateTime
7003
-
6995
+
7004
6996
  Boolean
7005
-
6997
+
7006
6998
  Point
7007
-
6999
+
7008
7000
  Polyline
7009
-
7001
+
7010
7002
  Polygon
7011
-
7003
+
7012
7004
  Multipoint
7013
-
7005
+
7014
7006
  H3Index
7015
7007
  */
7016
7008
 
@@ -7033,15 +7025,15 @@ var AttributeType;
7033
7025
  })(AttributeType || (AttributeType = {}));
7034
7026
  /**
7035
7027
  * Describes classification methods.
7036
-
7028
+
7037
7029
  none
7038
-
7030
+
7039
7031
  naturalBreaks
7040
-
7032
+
7041
7033
  equalInterval
7042
-
7034
+
7043
7035
  quantile
7044
-
7036
+
7045
7037
  unique
7046
7038
  */
7047
7039
 
@@ -7057,11 +7049,11 @@ var ClassificationType;
7057
7049
  })(ClassificationType || (ClassificationType = {}));
7058
7050
  /**
7059
7051
  * Type of attribute.
7060
-
7052
+
7061
7053
  decimal
7062
-
7054
+
7063
7055
  dateTime
7064
-
7056
+
7065
7057
  text
7066
7058
  */
7067
7059
 
@@ -7075,55 +7067,55 @@ var ClassifyAttributeType;
7075
7067
  })(ClassifyAttributeType || (ClassifyAttributeType = {}));
7076
7068
  /**
7077
7069
  * Types of errors that can occur during layer initialize.
7078
-
7070
+
7079
7071
  Unknown
7080
-
7072
+
7081
7073
  SerializeError
7082
-
7074
+
7083
7075
  InvalidDataService
7084
-
7076
+
7085
7077
  InvalidConfiguration
7086
-
7078
+
7087
7079
  InvalidDataServiceName
7088
-
7080
+
7089
7081
  InvalidTableName
7090
-
7082
+
7091
7083
  InvalidLayerName
7092
-
7084
+
7093
7085
  ResourceNotFound
7094
-
7086
+
7095
7087
  InvalidCondition
7096
-
7088
+
7097
7089
  InvalidAttributes
7098
-
7090
+
7099
7091
  InvalidIdAttribute
7100
-
7092
+
7101
7093
  InvalidGeometryAttribute
7102
-
7094
+
7103
7095
  InvalidGeometryAttributeType
7104
-
7096
+
7105
7097
  InvalidColumnName
7106
-
7098
+
7107
7099
  InvalidIdColumnSettings
7108
-
7100
+
7109
7101
  ColumnNotExistsInTable
7110
-
7102
+
7111
7103
  InvalidStyle
7112
-
7104
+
7113
7105
  InvalidLayerType
7114
-
7106
+
7115
7107
  ColumnLoadingError
7116
-
7108
+
7117
7109
  InvalidAttributeFormat
7118
-
7110
+
7119
7111
  DataSourceNotFound
7120
-
7112
+
7121
7113
  DuplicateColumns
7122
-
7114
+
7123
7115
  DuplicateAttributes
7124
-
7116
+
7125
7117
  TableWithoutColumns
7126
-
7118
+
7127
7119
  InvalidTableReferenceConfiguration
7128
7120
  */
7129
7121
 
@@ -7159,15 +7151,15 @@ var ConfigurationErrorEnum;
7159
7151
  })(ConfigurationErrorEnum || (ConfigurationErrorEnum = {}));
7160
7152
  /**
7161
7153
  * Type of the error.
7162
-
7154
+
7163
7155
  ResourceLimitExceeded
7164
-
7156
+
7165
7157
  ResourceNotFound
7166
-
7158
+
7167
7159
  InternalError
7168
-
7160
+
7169
7161
  BadRequest
7170
-
7162
+
7171
7163
  DuplicateContent
7172
7164
  */
7173
7165
 
@@ -7218,9 +7210,9 @@ var ErrorType;
7218
7210
  })(ErrorType || (ErrorType = {}));
7219
7211
  /**
7220
7212
  * Type of the feature.
7221
-
7213
+
7222
7214
  Unknown
7223
-
7215
+
7224
7216
  GeometricFeature
7225
7217
  */
7226
7218
 
@@ -7233,11 +7225,11 @@ var FeatureType;
7233
7225
  })(FeatureType || (FeatureType = {}));
7234
7226
  /**
7235
7227
  * Sets whether font should be styled.
7236
-
7228
+
7237
7229
  normal
7238
-
7230
+
7239
7231
  oblique
7240
-
7232
+
7241
7233
  italic
7242
7234
  */
7243
7235
 
@@ -7251,27 +7243,27 @@ var FontStyle;
7251
7243
  })(FontStyle || (FontStyle = {}));
7252
7244
  /**
7253
7245
  * Specifies the weight (or boldness) of the font.
7254
-
7246
+
7255
7247
  Thin
7256
-
7248
+
7257
7249
  ExtraLight
7258
-
7250
+
7259
7251
  Light
7260
-
7252
+
7261
7253
  SemiLight
7262
-
7254
+
7263
7255
  Normal
7264
-
7256
+
7265
7257
  Medium
7266
-
7258
+
7267
7259
  DemiBold
7268
-
7260
+
7269
7261
  Bold
7270
-
7262
+
7271
7263
  ExtraBold
7272
-
7264
+
7273
7265
  Black
7274
-
7266
+
7275
7267
  ExtraBlack
7276
7268
  */
7277
7269
 
@@ -7293,17 +7285,17 @@ var FontWeight;
7293
7285
  })(FontWeight || (FontWeight = {}));
7294
7286
  /**
7295
7287
  *
7296
-
7288
+
7297
7289
  unknown
7298
-
7290
+
7299
7291
  point
7300
-
7292
+
7301
7293
  polyline
7302
-
7294
+
7303
7295
  multipolygon
7304
-
7296
+
7305
7297
  envelope
7306
-
7298
+
7307
7299
  multipoint
7308
7300
  */
7309
7301
 
@@ -7320,13 +7312,13 @@ var GeometryType;
7320
7312
  })(GeometryType || (GeometryType = {}));
7321
7313
  /**
7322
7314
  * Resource group.
7323
-
7315
+
7324
7316
  my
7325
-
7317
+
7326
7318
  role
7327
-
7319
+
7328
7320
  public
7329
-
7321
+
7330
7322
  all
7331
7323
  */
7332
7324
 
@@ -7341,13 +7333,13 @@ var Group;
7341
7333
  })(Group || (Group = {}));
7342
7334
  /**
7343
7335
  * Specifies the settings of line cap. This is applied to the beginning and end of each non-closed line.
7344
-
7336
+
7345
7337
  Flat
7346
-
7338
+
7347
7339
  Square
7348
-
7340
+
7349
7341
  Round
7350
-
7342
+
7351
7343
  Triangle
7352
7344
  */
7353
7345
 
@@ -7362,23 +7354,23 @@ var LineCapStyle;
7362
7354
  })(LineCapStyle || (LineCapStyle = {}));
7363
7355
  /**
7364
7356
  * Type of the line ending.
7365
-
7357
+
7366
7358
  none
7367
-
7359
+
7368
7360
  arrow
7369
-
7361
+
7370
7362
  revertArrow
7371
-
7363
+
7372
7364
  filledArrow
7373
-
7365
+
7374
7366
  square
7375
-
7367
+
7376
7368
  filledSquare
7377
-
7369
+
7378
7370
  circle
7379
-
7371
+
7380
7372
  filledCircle
7381
-
7373
+
7382
7374
  svg
7383
7375
  */
7384
7376
 
@@ -7398,11 +7390,11 @@ var LineEndingType;
7398
7390
  })(LineEndingType || (LineEndingType = {}));
7399
7391
  /**
7400
7392
  * Specifies the settings of lines join. This is applied to corners in lines and rectangles.
7401
-
7393
+
7402
7394
  Miter
7403
-
7395
+
7404
7396
  Bevel
7405
-
7397
+
7406
7398
  Round
7407
7399
  */
7408
7400
 
@@ -7416,15 +7408,15 @@ var LineJoinType;
7416
7408
  })(LineJoinType || (LineJoinType = {}));
7417
7409
  /**
7418
7410
  *
7419
-
7411
+
7420
7412
  Unknown
7421
-
7413
+
7422
7414
  union
7423
-
7415
+
7424
7416
  intersection
7425
-
7417
+
7426
7418
  subtraction
7427
-
7419
+
7428
7420
  symDifference
7429
7421
  */
7430
7422
 
@@ -7440,19 +7432,19 @@ var Operation;
7440
7432
  })(Operation || (Operation = {}));
7441
7433
  /**
7442
7434
  * User permissions for server security objects (services, projects etc.)
7443
-
7435
+
7444
7436
  none
7445
-
7437
+
7446
7438
  configure
7447
-
7439
+
7448
7440
  write
7449
-
7441
+
7450
7442
  read
7451
-
7443
+
7452
7444
  read,configure
7453
-
7445
+
7454
7446
  read,write
7455
-
7447
+
7456
7448
  read,write,configure
7457
7449
  */
7458
7450
 
@@ -7470,19 +7462,19 @@ var Permissions;
7470
7462
  })(Permissions || (Permissions = {}));
7471
7463
  /**
7472
7464
  * Type of the authorization policy.
7473
-
7465
+
7474
7466
  Unknown
7475
-
7467
+
7476
7468
  CreateTable
7477
-
7469
+
7478
7470
  CreateLayer
7479
-
7471
+
7480
7472
  CreateProject
7481
-
7473
+
7482
7474
  MaxFeaturesInOneTable
7483
-
7475
+
7484
7476
  MaxObjectsToExport
7485
-
7477
+
7486
7478
  MaxUploadContentSize
7487
7479
  */
7488
7480
 
@@ -7500,11 +7492,11 @@ var PolicyType;
7500
7492
  })(PolicyType || (PolicyType = {}));
7501
7493
  /**
7502
7494
  * Types of table reference.
7503
-
7495
+
7504
7496
  OneToMany
7505
-
7497
+
7506
7498
  OneToOne
7507
-
7499
+
7508
7500
  Intersect
7509
7501
  */
7510
7502
 
@@ -7518,19 +7510,19 @@ var ReferenceJoinType;
7518
7510
  })(ReferenceJoinType || (ReferenceJoinType = {}));
7519
7511
  /**
7520
7512
  * The `ResourceType` represents resource manager supports types.
7521
-
7513
+
7522
7514
  Unknown
7523
-
7515
+
7524
7516
  table
7525
-
7517
+
7526
7518
  layer
7527
-
7519
+
7528
7520
  project
7529
-
7521
+
7530
7522
  file
7531
-
7523
+
7532
7524
  feature
7533
-
7525
+
7534
7526
  tag
7535
7527
  */
7536
7528
 
@@ -7556,21 +7548,21 @@ var ResourceTypeLink;
7556
7548
  })(ResourceTypeLink || (ResourceTypeLink = {}));
7557
7549
  /**
7558
7550
  * Status of the server task.
7559
-
7551
+
7560
7552
  None
7561
-
7553
+
7562
7554
  Scheduled
7563
-
7555
+
7564
7556
  Planning
7565
-
7557
+
7566
7558
  Executing
7567
-
7559
+
7568
7560
  Completed
7569
-
7561
+
7570
7562
  Failed
7571
-
7563
+
7572
7564
  Canceled
7573
-
7565
+
7574
7566
  Timeout
7575
7567
  */
7576
7568
 
@@ -7589,11 +7581,11 @@ var ServerTaskStatus;
7589
7581
  })(ServerTaskStatus || (ServerTaskStatus = {}));
7590
7582
  /**
7591
7583
  * Simplify type.
7592
-
7584
+
7593
7585
  Basic
7594
-
7586
+
7595
7587
  PreserveTopology
7596
-
7588
+
7597
7589
  VW
7598
7590
  */
7599
7591
 
@@ -7607,11 +7599,11 @@ var SimplifyType;
7607
7599
  })(SimplifyType || (SimplifyType = {}));
7608
7600
  /**
7609
7601
  * The `StringSubType` provides information about string attribute subtype.
7610
-
7602
+
7611
7603
  None
7612
-
7604
+
7613
7605
  Image
7614
-
7606
+
7615
7607
  PkkCode
7616
7608
  */
7617
7609
 
@@ -7625,9 +7617,9 @@ var StringSubType;
7625
7617
  })(StringSubType || (StringSubType = {}));
7626
7618
  /**
7627
7619
  * Task owner group.
7628
-
7620
+
7629
7621
  my
7630
-
7622
+
7631
7623
  all
7632
7624
  */
7633
7625
 
@@ -7640,13 +7632,13 @@ var TaskGroup;
7640
7632
  })(TaskGroup || (TaskGroup = {}));
7641
7633
  /**
7642
7634
  * Sets the horizontal alignment of text.
7643
-
7635
+
7644
7636
  right
7645
-
7637
+
7646
7638
  left
7647
-
7639
+
7648
7640
  center
7649
-
7641
+
7650
7642
  justified
7651
7643
  */
7652
7644
 
@@ -7661,11 +7653,11 @@ var TextAlignment;
7661
7653
  })(TextAlignment || (TextAlignment = {}));
7662
7654
  /**
7663
7655
  * Sets the vertical alignment of text.
7664
-
7656
+
7665
7657
  top
7666
-
7658
+
7667
7659
  bottom
7668
-
7660
+
7669
7661
  middle
7670
7662
  */
7671
7663