@evergis/api 3.0.153 → 3.0.154

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