@evergis/api 3.0.170 → 3.0.171

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
@@ -30,9 +30,6 @@ function _defineProperties(target, props) {
30
30
  function _createClass(Constructor, protoProps, staticProps) {
31
31
  if (protoProps) _defineProperties(Constructor.prototype, protoProps);
32
32
  if (staticProps) _defineProperties(Constructor, staticProps);
33
- Object.defineProperty(Constructor, "prototype", {
34
- writable: false
35
- });
36
33
  return Constructor;
37
34
  }
38
35
 
@@ -66,9 +63,6 @@ function _inherits(subClass, superClass) {
66
63
  configurable: true
67
64
  }
68
65
  });
69
- Object.defineProperty(subClass, "prototype", {
70
- writable: false
71
- });
72
66
  if (superClass) _setPrototypeOf(subClass, superClass);
73
67
  }
74
68
 
@@ -127,8 +121,6 @@ function _assertThisInitialized(self) {
127
121
  function _possibleConstructorReturn(self, call) {
128
122
  if (call && (typeof call === "object" || typeof call === "function")) {
129
123
  return call;
130
- } else if (call !== void 0) {
131
- throw new TypeError("Derived constructors may only return object or undefined");
132
124
  }
133
125
 
134
126
  return _assertThisInitialized(self);
@@ -162,7 +154,7 @@ function _superPropBase(object, property) {
162
154
  return object;
163
155
  }
164
156
 
165
- function _get() {
157
+ function _get(target, property, receiver) {
166
158
  if (typeof Reflect !== "undefined" && Reflect.get) {
167
159
  _get = Reflect.get;
168
160
  } else {
@@ -173,14 +165,14 @@ function _get() {
173
165
  var desc = Object.getOwnPropertyDescriptor(base, property);
174
166
 
175
167
  if (desc.get) {
176
- return desc.get.call(arguments.length < 3 ? target : receiver);
168
+ return desc.get.call(receiver);
177
169
  }
178
170
 
179
171
  return desc.value;
180
172
  };
181
173
  }
182
174
 
183
- return _get.apply(this, arguments);
175
+ return _get(target, property, receiver || target);
184
176
  }
185
177
 
186
178
  let HttpClient = /*#__PURE__*/function () {
@@ -1366,8 +1358,8 @@ let Notification = /*#__PURE__*/function (_NotificationService) {
1366
1358
  || event.code === 4002
1367
1359
  /* InvalidSession */
1368
1360
  ) {
1369
- _this.connectStatus = ConnectionStatus.SessionClosed;
1370
- } else if (_this.reconnectTries < _this.MAX_WS_RECONNECT_TRIES) {
1361
+ _this.connectStatus = ConnectionStatus.SessionClosed;
1362
+ } else if (_this.reconnectTries < _this.MAX_WS_RECONNECT_TRIES) {
1371
1363
  _this.connectStatus = ConnectionStatus.Break;
1372
1364
  _this.reconnectTries++;
1373
1365
 
@@ -1934,7 +1926,7 @@ let Scheduler = /*#__PURE__*/function (_SchedulerService) {
1934
1926
  const taskProgress = await this.getTaskProgress(id);
1935
1927
  this.resolveTaskStatus(taskProgress, resolve, reject);
1936
1928
 
1937
- const taskResultCallback = async _ref => {
1929
+ const taskResultCallback = async (_ref) => {
1938
1930
  let {
1939
1931
  data
1940
1932
  } = _ref;
@@ -4268,12 +4260,12 @@ let Resources = /*#__PURE__*/function () {
4268
4260
  }, {
4269
4261
  key: "getDependentNames",
4270
4262
  value: function getDependentNames(deps, depType) {
4271
- return deps.filter(_ref => {
4263
+ return deps.filter((_ref) => {
4272
4264
  let {
4273
4265
  type
4274
4266
  } = _ref;
4275
4267
  return type === depType;
4276
- }).map(_ref2 => {
4268
+ }).map((_ref2) => {
4277
4269
  let {
4278
4270
  name
4279
4271
  } = _ref2;
@@ -7259,47 +7251,47 @@ function isFeatureLayer(layer) {
7259
7251
 
7260
7252
  /**
7261
7253
  *
7262
-
7254
+
7263
7255
  None
7264
-
7256
+
7265
7257
  Array
7266
-
7258
+
7267
7259
  Min
7268
-
7260
+
7269
7261
  Max
7270
-
7262
+
7271
7263
  Avg
7272
-
7264
+
7273
7265
  Sum
7274
-
7266
+
7275
7267
  Extent
7276
-
7268
+
7277
7269
  H3
7278
-
7270
+
7279
7271
  Count
7280
-
7272
+
7281
7273
  TotalCount
7282
-
7274
+
7283
7275
  DistinctCount
7284
-
7276
+
7285
7277
  First
7286
-
7278
+
7287
7279
  Last
7288
-
7280
+
7289
7281
  Median
7290
-
7282
+
7291
7283
  Mod
7292
-
7284
+
7293
7285
  StdDeviation
7294
-
7286
+
7295
7287
  SumOfProduct
7296
-
7288
+
7297
7289
  OnlyValue
7298
-
7290
+
7299
7291
  WeightedAvg
7300
-
7292
+
7301
7293
  DensityIndicators
7302
-
7294
+
7303
7295
  DividedSum
7304
7296
  */
7305
7297
  var AggregationFunction;
@@ -7329,13 +7321,13 @@ var AggregationFunction;
7329
7321
  })(AggregationFunction || (AggregationFunction = {}));
7330
7322
  /**
7331
7323
  * Attribute selector type.
7332
-
7324
+
7333
7325
  None
7334
-
7326
+
7335
7327
  SelectFromHandBook
7336
-
7328
+
7337
7329
  SelectFromRange
7338
-
7330
+
7339
7331
  ViewHandBook
7340
7332
  */
7341
7333
 
@@ -7350,31 +7342,31 @@ var AttributeSelectorType;
7350
7342
  })(AttributeSelectorType || (AttributeSelectorType = {}));
7351
7343
  /**
7352
7344
  * Types of the attributes that are supported by the system.
7353
-
7345
+
7354
7346
  Unknown
7355
-
7347
+
7356
7348
  String
7357
-
7349
+
7358
7350
  Int32
7359
-
7351
+
7360
7352
  Int64
7361
-
7353
+
7362
7354
  Double
7363
-
7355
+
7364
7356
  DateTime
7365
-
7357
+
7366
7358
  Boolean
7367
-
7359
+
7368
7360
  Point
7369
-
7361
+
7370
7362
  Polyline
7371
-
7363
+
7372
7364
  MultiPolygon
7373
-
7365
+
7374
7366
  Multipoint
7375
-
7367
+
7376
7368
  H3Index
7377
-
7369
+
7378
7370
  Json
7379
7371
  */
7380
7372
 
@@ -7398,15 +7390,15 @@ var AttributeType;
7398
7390
  })(AttributeType || (AttributeType = {}));
7399
7391
  /**
7400
7392
  * Describes classification methods.
7401
-
7393
+
7402
7394
  none
7403
-
7395
+
7404
7396
  naturalBreaks
7405
-
7397
+
7406
7398
  equalInterval
7407
-
7399
+
7408
7400
  quantile
7409
-
7401
+
7410
7402
  unique
7411
7403
  */
7412
7404
 
@@ -7422,11 +7414,11 @@ var ClassificationType;
7422
7414
  })(ClassificationType || (ClassificationType = {}));
7423
7415
  /**
7424
7416
  *
7425
-
7417
+
7426
7418
  decimal
7427
-
7419
+
7428
7420
  dateTime
7429
-
7421
+
7430
7422
  text
7431
7423
  */
7432
7424
 
@@ -7440,55 +7432,55 @@ var ClassifyAttributeType;
7440
7432
  })(ClassifyAttributeType || (ClassifyAttributeType = {}));
7441
7433
  /**
7442
7434
  * Types of errors that can occur during layer initialize.
7443
-
7435
+
7444
7436
  Unknown
7445
-
7437
+
7446
7438
  SerializeError
7447
-
7439
+
7448
7440
  InvalidDataService
7449
-
7441
+
7450
7442
  InvalidConfiguration
7451
-
7443
+
7452
7444
  InvalidDataServiceName
7453
-
7445
+
7454
7446
  InvalidTableName
7455
-
7447
+
7456
7448
  InvalidLayerName
7457
-
7449
+
7458
7450
  ResourceNotFound
7459
-
7451
+
7460
7452
  InvalidCondition
7461
-
7453
+
7462
7454
  InvalidAttributes
7463
-
7455
+
7464
7456
  InvalidIdAttribute
7465
-
7457
+
7466
7458
  InvalidGeometryAttribute
7467
-
7459
+
7468
7460
  InvalidGeometryAttributeType
7469
-
7461
+
7470
7462
  InvalidColumnName
7471
-
7463
+
7472
7464
  InvalidIdColumnSettings
7473
-
7465
+
7474
7466
  ColumnNotExistsInTable
7475
-
7467
+
7476
7468
  InvalidStyle
7477
-
7469
+
7478
7470
  InvalidLayerType
7479
-
7471
+
7480
7472
  ColumnLoadingError
7481
-
7473
+
7482
7474
  InvalidAttributeFormat
7483
-
7475
+
7484
7476
  DataSourceNotFound
7485
-
7477
+
7486
7478
  DuplicateColumns
7487
-
7479
+
7488
7480
  DuplicateAttributes
7489
-
7481
+
7490
7482
  TableWithoutColumns
7491
-
7483
+
7492
7484
  InvalidTableReferenceConfiguration
7493
7485
  */
7494
7486
 
@@ -7524,15 +7516,15 @@ var ConfigurationErrorEnum;
7524
7516
  })(ConfigurationErrorEnum || (ConfigurationErrorEnum = {}));
7525
7517
  /**
7526
7518
  * Type of the error.
7527
-
7519
+
7528
7520
  ResourceLimitExceeded
7529
-
7521
+
7530
7522
  ResourceNotFound
7531
-
7523
+
7532
7524
  InternalError
7533
-
7525
+
7534
7526
  BadRequest
7535
-
7527
+
7536
7528
  DuplicateContent
7537
7529
  */
7538
7530
 
@@ -7583,9 +7575,9 @@ var ErrorType;
7583
7575
  })(ErrorType || (ErrorType = {}));
7584
7576
  /**
7585
7577
  * Type of the feature.
7586
-
7578
+
7587
7579
  Unknown
7588
-
7580
+
7589
7581
  GeometricFeature
7590
7582
  */
7591
7583
 
@@ -7598,11 +7590,11 @@ var FeatureType;
7598
7590
  })(FeatureType || (FeatureType = {}));
7599
7591
  /**
7600
7592
  * Sets whether font should be styled.
7601
-
7593
+
7602
7594
  normal
7603
-
7595
+
7604
7596
  oblique
7605
-
7597
+
7606
7598
  italic
7607
7599
  */
7608
7600
 
@@ -7616,27 +7608,27 @@ var FontStyle;
7616
7608
  })(FontStyle || (FontStyle = {}));
7617
7609
  /**
7618
7610
  * Specifies the weight (or boldness) of the font.
7619
-
7611
+
7620
7612
  Thin
7621
-
7613
+
7622
7614
  ExtraLight
7623
-
7615
+
7624
7616
  Light
7625
-
7617
+
7626
7618
  SemiLight
7627
-
7619
+
7628
7620
  Normal
7629
-
7621
+
7630
7622
  Medium
7631
-
7623
+
7632
7624
  DemiBold
7633
-
7625
+
7634
7626
  Bold
7635
-
7627
+
7636
7628
  ExtraBold
7637
-
7629
+
7638
7630
  Black
7639
-
7631
+
7640
7632
  ExtraBlack
7641
7633
  */
7642
7634
 
@@ -7658,17 +7650,17 @@ var FontWeight;
7658
7650
  })(FontWeight || (FontWeight = {}));
7659
7651
  /**
7660
7652
  *
7661
-
7653
+
7662
7654
  unknown
7663
-
7655
+
7664
7656
  point
7665
-
7657
+
7666
7658
  polyline
7667
-
7659
+
7668
7660
  multipolygon
7669
-
7661
+
7670
7662
  envelope
7671
-
7663
+
7672
7664
  multipoint
7673
7665
  */
7674
7666
 
@@ -7685,13 +7677,13 @@ var GeometryType;
7685
7677
  })(GeometryType || (GeometryType = {}));
7686
7678
  /**
7687
7679
  * Resource group.
7688
-
7680
+
7689
7681
  my
7690
-
7682
+
7691
7683
  role
7692
-
7684
+
7693
7685
  public
7694
-
7686
+
7695
7687
  all
7696
7688
  */
7697
7689
 
@@ -7706,13 +7698,13 @@ var Group;
7706
7698
  })(Group || (Group = {}));
7707
7699
  /**
7708
7700
  * Specifies the settings of line cap. This is applied to the beginning and end of each non-closed line.
7709
-
7701
+
7710
7702
  Flat
7711
-
7703
+
7712
7704
  Square
7713
-
7705
+
7714
7706
  Round
7715
-
7707
+
7716
7708
  Triangle
7717
7709
  */
7718
7710
 
@@ -7727,29 +7719,29 @@ var LineCapStyle;
7727
7719
  })(LineCapStyle || (LineCapStyle = {}));
7728
7720
  /**
7729
7721
  * Type of the line ending.
7730
-
7722
+
7731
7723
  none
7732
-
7724
+
7733
7725
  arrow
7734
-
7726
+
7735
7727
  filledArrow
7736
-
7728
+
7737
7729
  square
7738
-
7730
+
7739
7731
  filledSquare
7740
-
7732
+
7741
7733
  circle
7742
-
7734
+
7743
7735
  filledCircle
7744
-
7736
+
7745
7737
  diamond
7746
-
7738
+
7747
7739
  filledDiamond
7748
-
7740
+
7749
7741
  roundSquare
7750
-
7742
+
7751
7743
  filledRoundSquare
7752
-
7744
+
7753
7745
  svg
7754
7746
  */
7755
7747
 
@@ -7772,11 +7764,11 @@ var LineEndingType;
7772
7764
  })(LineEndingType || (LineEndingType = {}));
7773
7765
  /**
7774
7766
  * Specifies the settings of lines join. This is applied to corners in lines and rectangles.
7775
-
7767
+
7776
7768
  Miter
7777
-
7769
+
7778
7770
  Bevel
7779
-
7771
+
7780
7772
  Round
7781
7773
  */
7782
7774
 
@@ -7790,15 +7782,15 @@ var LineJoinType;
7790
7782
  })(LineJoinType || (LineJoinType = {}));
7791
7783
  /**
7792
7784
  *
7793
-
7785
+
7794
7786
  Unknown
7795
-
7787
+
7796
7788
  union
7797
-
7789
+
7798
7790
  intersection
7799
-
7791
+
7800
7792
  subtraction
7801
-
7793
+
7802
7794
  symDifference
7803
7795
  */
7804
7796
 
@@ -7814,9 +7806,9 @@ var Operation;
7814
7806
  })(Operation || (Operation = {}));
7815
7807
  /**
7816
7808
  * Influences the y direction of the tile coordinates. The global-mercator (aka Spherical Mercator) profile is assumed.
7817
-
7809
+
7818
7810
  xyz
7819
-
7811
+
7820
7812
  tms
7821
7813
  */
7822
7814
 
@@ -7829,19 +7821,19 @@ var PbfSchema;
7829
7821
  })(PbfSchema || (PbfSchema = {}));
7830
7822
  /**
7831
7823
  * User permissions for server security objects (services, projects etc.)
7832
-
7824
+
7833
7825
  none
7834
-
7826
+
7835
7827
  configure
7836
-
7828
+
7837
7829
  write
7838
-
7830
+
7839
7831
  read
7840
-
7832
+
7841
7833
  read,configure
7842
-
7834
+
7843
7835
  read,write
7844
-
7836
+
7845
7837
  read,write,configure
7846
7838
  */
7847
7839
 
@@ -7859,19 +7851,19 @@ var Permissions;
7859
7851
  })(Permissions || (Permissions = {}));
7860
7852
  /**
7861
7853
  * Type of the authorization policy.
7862
-
7854
+
7863
7855
  Unknown
7864
-
7856
+
7865
7857
  CreateTable
7866
-
7858
+
7867
7859
  CreateLayer
7868
-
7860
+
7869
7861
  CreateProject
7870
-
7862
+
7871
7863
  MaxFeaturesInOneTable
7872
-
7864
+
7873
7865
  MaxObjectsToExport
7874
-
7866
+
7875
7867
  MaxUploadContentSize
7876
7868
  */
7877
7869
 
@@ -7889,17 +7881,17 @@ var PolicyType;
7889
7881
  })(PolicyType || (PolicyType = {}));
7890
7882
  /**
7891
7883
  * Types of table reference.
7892
-
7884
+
7893
7885
  OneToMany
7894
-
7886
+
7895
7887
  OneToOne
7896
-
7888
+
7897
7889
  Intersect
7898
-
7890
+
7899
7891
  RightJoin
7900
-
7892
+
7901
7893
  FullJoin
7902
-
7894
+
7903
7895
  CrossJoin
7904
7896
  */
7905
7897
 
@@ -7916,19 +7908,19 @@ var ReferenceJoinType;
7916
7908
  })(ReferenceJoinType || (ReferenceJoinType = {}));
7917
7909
  /**
7918
7910
  * The `ResourceType` represents resource manager supports types.
7919
-
7911
+
7920
7912
  Unknown
7921
-
7913
+
7922
7914
  table
7923
-
7915
+
7924
7916
  layer
7925
-
7917
+
7926
7918
  project
7927
-
7919
+
7928
7920
  file
7929
-
7921
+
7930
7922
  feature
7931
-
7923
+
7932
7924
  tag
7933
7925
  */
7934
7926
 
@@ -7954,21 +7946,21 @@ var ResourceTypeLink;
7954
7946
  })(ResourceTypeLink || (ResourceTypeLink = {}));
7955
7947
  /**
7956
7948
  * Status of the server task.
7957
-
7949
+
7958
7950
  None
7959
-
7951
+
7960
7952
  Scheduled
7961
-
7953
+
7962
7954
  Planning
7963
-
7955
+
7964
7956
  Executing
7965
-
7957
+
7966
7958
  Completed
7967
-
7959
+
7968
7960
  Failed
7969
-
7961
+
7970
7962
  Canceled
7971
-
7963
+
7972
7964
  Timeout
7973
7965
  */
7974
7966
 
@@ -7987,11 +7979,11 @@ var ServerTaskStatus;
7987
7979
  })(ServerTaskStatus || (ServerTaskStatus = {}));
7988
7980
  /**
7989
7981
  * Simplify type.
7990
-
7982
+
7991
7983
  Basic
7992
-
7984
+
7993
7985
  PreserveTopology
7994
-
7986
+
7995
7987
  VW
7996
7988
  */
7997
7989
 
@@ -8005,13 +7997,13 @@ var SimplifyType;
8005
7997
  })(SimplifyType || (SimplifyType = {}));
8006
7998
  /**
8007
7999
  * The `StringSubType` provides information about string attribute subtype.
8008
-
8000
+
8009
8001
  None
8010
-
8002
+
8011
8003
  Image
8012
-
8004
+
8013
8005
  PkkCode
8014
-
8006
+
8015
8007
  Attachments
8016
8008
  */
8017
8009
 
@@ -8026,9 +8018,9 @@ var StringSubType;
8026
8018
  })(StringSubType || (StringSubType = {}));
8027
8019
  /**
8028
8020
  * Task owner group.
8029
-
8021
+
8030
8022
  my
8031
-
8023
+
8032
8024
  all
8033
8025
  */
8034
8026
 
@@ -8041,13 +8033,13 @@ var TaskGroup;
8041
8033
  })(TaskGroup || (TaskGroup = {}));
8042
8034
  /**
8043
8035
  * Sets the horizontal alignment of text.
8044
-
8036
+
8045
8037
  right
8046
-
8038
+
8047
8039
  left
8048
-
8040
+
8049
8041
  center
8050
-
8042
+
8051
8043
  justified
8052
8044
  */
8053
8045
 
@@ -8062,11 +8054,11 @@ var TextAlignment;
8062
8054
  })(TextAlignment || (TextAlignment = {}));
8063
8055
  /**
8064
8056
  * Sets the vertical alignment of text.
8065
-
8057
+
8066
8058
  top
8067
-
8059
+
8068
8060
  bottom
8069
-
8061
+
8070
8062
  middle
8071
8063
  */
8072
8064