@evergis/api 3.0.167 → 3.0.170

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