@evergis/api 3.0.102 → 3.0.104

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 () {
@@ -891,8 +883,8 @@ let Notification = /*#__PURE__*/function (_NotificationService) {
891
883
  || event.code === 4002
892
884
  /* InvalidSession */
893
885
  ) {
894
- _this.connectStatus = ConnectionStatus.SessionClosed;
895
- } else if (_this.reconnectTries < _this.MAX_WS_RECONNECT_TRIES) {
886
+ _this.connectStatus = ConnectionStatus.SessionClosed;
887
+ } else if (_this.reconnectTries < _this.MAX_WS_RECONNECT_TRIES) {
896
888
  _this.connectStatus = ConnectionStatus.Break;
897
889
  _this.reconnectTries++;
898
890
 
@@ -1398,7 +1390,7 @@ let Scheduler = /*#__PURE__*/function (_SchedulerService) {
1398
1390
  const taskProgress = await this.getTaskProgress(id);
1399
1391
  this.resolveTaskStatus(taskProgress, resolve, reject);
1400
1392
 
1401
- const taskResultCallback = async _ref => {
1393
+ const taskResultCallback = async (_ref) => {
1402
1394
  let {
1403
1395
  data
1404
1396
  } = _ref;
@@ -3540,12 +3532,12 @@ let Resources = /*#__PURE__*/function () {
3540
3532
  }, {
3541
3533
  key: "getDependentNames",
3542
3534
  value: function getDependentNames(deps, depType) {
3543
- return deps.filter(_ref => {
3535
+ return deps.filter((_ref) => {
3544
3536
  let {
3545
3537
  type
3546
3538
  } = _ref;
3547
3539
  return type === depType;
3548
- }).map(_ref2 => {
3540
+ }).map((_ref2) => {
3549
3541
  let {
3550
3542
  name
3551
3543
  } = _ref2;
@@ -6440,45 +6432,45 @@ function isFeatureLayer(layer) {
6440
6432
 
6441
6433
  /**
6442
6434
  *
6443
-
6435
+
6444
6436
  None
6445
-
6437
+
6446
6438
  Array
6447
-
6439
+
6448
6440
  Min
6449
-
6441
+
6450
6442
  Max
6451
-
6443
+
6452
6444
  Avg
6453
-
6445
+
6454
6446
  Sum
6455
-
6447
+
6456
6448
  Extent
6457
-
6449
+
6458
6450
  Count
6459
-
6451
+
6460
6452
  TotalCount
6461
-
6453
+
6462
6454
  DistinctCount
6463
-
6455
+
6464
6456
  First
6465
-
6457
+
6466
6458
  Last
6467
-
6459
+
6468
6460
  Median
6469
-
6461
+
6470
6462
  Mod
6471
-
6463
+
6472
6464
  StdDeviation
6473
-
6465
+
6474
6466
  SumOfProduct
6475
-
6467
+
6476
6468
  OnlyValue
6477
-
6469
+
6478
6470
  WeightedAvg
6479
-
6471
+
6480
6472
  DensityIndicators
6481
-
6473
+
6482
6474
  DividedSum
6483
6475
  */
6484
6476
  var AggregationFunction;
@@ -6507,27 +6499,27 @@ var AggregationFunction;
6507
6499
  })(AggregationFunction || (AggregationFunction = {}));
6508
6500
  /**
6509
6501
  * Types of the attributes that are supported by the system.
6510
-
6502
+
6511
6503
  Unknown
6512
-
6504
+
6513
6505
  String
6514
-
6506
+
6515
6507
  Int32
6516
-
6508
+
6517
6509
  Int64
6518
-
6510
+
6519
6511
  Double
6520
-
6512
+
6521
6513
  DateTime
6522
-
6514
+
6523
6515
  Boolean
6524
-
6516
+
6525
6517
  Point
6526
-
6518
+
6527
6519
  Polyline
6528
-
6520
+
6529
6521
  Polygon
6530
-
6522
+
6531
6523
  Multipoint
6532
6524
  */
6533
6525
 
@@ -6549,15 +6541,15 @@ var AttributeType;
6549
6541
  })(AttributeType || (AttributeType = {}));
6550
6542
  /**
6551
6543
  * Describes classification methods.
6552
-
6544
+
6553
6545
  none
6554
-
6546
+
6555
6547
  naturalBreaks
6556
-
6548
+
6557
6549
  equalInterval
6558
-
6550
+
6559
6551
  quantile
6560
-
6552
+
6561
6553
  unique
6562
6554
  */
6563
6555
 
@@ -6573,11 +6565,11 @@ var ClassificationType;
6573
6565
  })(ClassificationType || (ClassificationType = {}));
6574
6566
  /**
6575
6567
  * Type of attribute.
6576
-
6568
+
6577
6569
  decimal
6578
-
6570
+
6579
6571
  dateTime
6580
-
6572
+
6581
6573
  text
6582
6574
  */
6583
6575
 
@@ -6591,51 +6583,51 @@ var ClassifyAttributeType;
6591
6583
  })(ClassifyAttributeType || (ClassifyAttributeType = {}));
6592
6584
  /**
6593
6585
  * Types of errors that can occur during layer initialize.
6594
-
6586
+
6595
6587
  Unknown
6596
-
6588
+
6597
6589
  SerializeError
6598
-
6590
+
6599
6591
  InvalidDataService
6600
-
6592
+
6601
6593
  InvalidConfiguration
6602
-
6594
+
6603
6595
  InvalidDataServiceName
6604
-
6596
+
6605
6597
  InvalidTableName
6606
-
6598
+
6607
6599
  InvalidLayerName
6608
-
6600
+
6609
6601
  ResourceNotFound
6610
-
6602
+
6611
6603
  InvalidCondition
6612
-
6604
+
6613
6605
  InvalidAttributes
6614
-
6606
+
6615
6607
  InvalidIdAttribute
6616
-
6608
+
6617
6609
  InvalidGeometryAttribute
6618
-
6610
+
6619
6611
  InvalidGeometryAttributeType
6620
-
6612
+
6621
6613
  InvalidColumnName
6622
-
6614
+
6623
6615
  InvalidIdColumnSettings
6624
-
6616
+
6625
6617
  ColumnNotExistsInTable
6626
-
6618
+
6627
6619
  InvalidStyle
6628
-
6620
+
6629
6621
  InvalidLayerType
6630
-
6622
+
6631
6623
  ColumnLoadingError
6632
-
6624
+
6633
6625
  InvalidAttributeFormat
6634
-
6626
+
6635
6627
  DataSourceNotFound
6636
-
6628
+
6637
6629
  DuplicateColumns
6638
-
6630
+
6639
6631
  TableWithoutColumns
6640
6632
  */
6641
6633
 
@@ -6669,15 +6661,15 @@ var ConfigurationErrorEnum;
6669
6661
  })(ConfigurationErrorEnum || (ConfigurationErrorEnum = {}));
6670
6662
  /**
6671
6663
  * Type of the error.
6672
-
6664
+
6673
6665
  ResourceLimitExceeded
6674
-
6666
+
6675
6667
  ResourceNotFound
6676
-
6668
+
6677
6669
  InternalError
6678
-
6670
+
6679
6671
  BadRequest
6680
-
6672
+
6681
6673
  DuplicateContent
6682
6674
  */
6683
6675
 
@@ -6732,9 +6724,9 @@ var ErrorType;
6732
6724
  })(ErrorType || (ErrorType = {}));
6733
6725
  /**
6734
6726
  * Type of the feature.
6735
-
6727
+
6736
6728
  Unknown
6737
-
6729
+
6738
6730
  GeometricFeature
6739
6731
  */
6740
6732
 
@@ -6747,11 +6739,11 @@ var FeatureType;
6747
6739
  })(FeatureType || (FeatureType = {}));
6748
6740
  /**
6749
6741
  * Sets whether font should be styled.
6750
-
6742
+
6751
6743
  normal
6752
-
6744
+
6753
6745
  oblique
6754
-
6746
+
6755
6747
  italic
6756
6748
  */
6757
6749
 
@@ -6765,27 +6757,27 @@ var FontStyle;
6765
6757
  })(FontStyle || (FontStyle = {}));
6766
6758
  /**
6767
6759
  * Specifies the weight (or boldness) of the font.
6768
-
6760
+
6769
6761
  Thin
6770
-
6762
+
6771
6763
  ExtraLight
6772
-
6764
+
6773
6765
  Light
6774
-
6766
+
6775
6767
  SemiLight
6776
-
6768
+
6777
6769
  Normal
6778
-
6770
+
6779
6771
  Medium
6780
-
6772
+
6781
6773
  DemiBold
6782
-
6774
+
6783
6775
  Bold
6784
-
6776
+
6785
6777
  ExtraBold
6786
-
6778
+
6787
6779
  Black
6788
-
6780
+
6789
6781
  ExtraBlack
6790
6782
  */
6791
6783
 
@@ -6807,17 +6799,17 @@ var FontWeight;
6807
6799
  })(FontWeight || (FontWeight = {}));
6808
6800
  /**
6809
6801
  *
6810
-
6802
+
6811
6803
  unknown
6812
-
6804
+
6813
6805
  point
6814
-
6806
+
6815
6807
  polyline
6816
-
6808
+
6817
6809
  polygon
6818
-
6810
+
6819
6811
  envelope
6820
-
6812
+
6821
6813
  multipoint
6822
6814
  */
6823
6815
 
@@ -6834,13 +6826,13 @@ var GeometryType;
6834
6826
  })(GeometryType || (GeometryType = {}));
6835
6827
  /**
6836
6828
  * Resource group.
6837
-
6829
+
6838
6830
  my
6839
-
6831
+
6840
6832
  role
6841
-
6833
+
6842
6834
  public
6843
-
6835
+
6844
6836
  all
6845
6837
  */
6846
6838
 
@@ -6856,9 +6848,9 @@ var Group;
6856
6848
  /**
6857
6849
  * The size of the line ending in a SPCore.Kernel.Rendering.Symbols.SimplePolylineSymbol. The values sent here can be one
6858
6850
  of the preset values, or a number representing the size of the ending in pixels for 1px wide lines.
6859
-
6851
+
6860
6852
  small
6861
-
6853
+
6862
6854
  large
6863
6855
  */
6864
6856
 
@@ -6871,19 +6863,19 @@ var LineEndingSize;
6871
6863
  })(LineEndingSize || (LineEndingSize = {}));
6872
6864
  /**
6873
6865
  * Type of the line ending.
6874
-
6866
+
6875
6867
  none
6876
-
6868
+
6877
6869
  arrow
6878
-
6870
+
6879
6871
  filledArrow
6880
-
6872
+
6881
6873
  square
6882
-
6874
+
6883
6875
  filledSquare
6884
-
6876
+
6885
6877
  circle
6886
-
6878
+
6887
6879
  filledCircle
6888
6880
  */
6889
6881
 
@@ -6901,15 +6893,15 @@ var LineEndingType;
6901
6893
  })(LineEndingType || (LineEndingType = {}));
6902
6894
  /**
6903
6895
  *
6904
-
6896
+
6905
6897
  Unknown
6906
-
6898
+
6907
6899
  union
6908
-
6900
+
6909
6901
  intersection
6910
-
6902
+
6911
6903
  subtraction
6912
-
6904
+
6913
6905
  symDifference
6914
6906
  */
6915
6907
 
@@ -6925,19 +6917,19 @@ var Operation;
6925
6917
  })(Operation || (Operation = {}));
6926
6918
  /**
6927
6919
  * User permissions for server security objects (services, projects etc.)
6928
-
6920
+
6929
6921
  none
6930
-
6922
+
6931
6923
  configure
6932
-
6924
+
6933
6925
  write
6934
-
6926
+
6935
6927
  read
6936
-
6928
+
6937
6929
  read,configure
6938
-
6930
+
6939
6931
  read,write
6940
-
6932
+
6941
6933
  read,write,configure
6942
6934
  */
6943
6935
 
@@ -6955,19 +6947,19 @@ var Permissions;
6955
6947
  })(Permissions || (Permissions = {}));
6956
6948
  /**
6957
6949
  * Type of the authorization policy.
6958
-
6950
+
6959
6951
  Unknown
6960
-
6952
+
6961
6953
  CreateTable
6962
-
6954
+
6963
6955
  CreateLayer
6964
-
6956
+
6965
6957
  CreateProject
6966
-
6958
+
6967
6959
  MaxFeaturesInOneTable
6968
-
6960
+
6969
6961
  MaxObjectsToExport
6970
-
6962
+
6971
6963
  MaxUploadContentSize
6972
6964
  */
6973
6965
 
@@ -6985,19 +6977,19 @@ var PolicyType;
6985
6977
  })(PolicyType || (PolicyType = {}));
6986
6978
  /**
6987
6979
  * The `ResourceType` represents resource manager supports types.
6988
-
6980
+
6989
6981
  Unknown
6990
-
6982
+
6991
6983
  table
6992
-
6984
+
6993
6985
  layer
6994
-
6986
+
6995
6987
  project
6996
-
6988
+
6997
6989
  file
6998
-
6990
+
6999
6991
  feature
7000
-
6992
+
7001
6993
  tag
7002
6994
  */
7003
6995
 
@@ -7023,21 +7015,21 @@ var ResourceTypeLink;
7023
7015
  })(ResourceTypeLink || (ResourceTypeLink = {}));
7024
7016
  /**
7025
7017
  * Status of the server task.
7026
-
7018
+
7027
7019
  None
7028
-
7020
+
7029
7021
  Scheduled
7030
-
7022
+
7031
7023
  Planning
7032
-
7024
+
7033
7025
  Executing
7034
-
7026
+
7035
7027
  Completed
7036
-
7028
+
7037
7029
  Failed
7038
-
7030
+
7039
7031
  Canceled
7040
-
7032
+
7041
7033
  Timeout
7042
7034
  */
7043
7035
 
@@ -7056,11 +7048,11 @@ var ServerTaskStatus;
7056
7048
  })(ServerTaskStatus || (ServerTaskStatus = {}));
7057
7049
  /**
7058
7050
  * The `StringSubType` provides information about string attribute subtype.
7059
-
7051
+
7060
7052
  None
7061
-
7053
+
7062
7054
  Image
7063
-
7055
+
7064
7056
  PkkCode
7065
7057
  */
7066
7058
 
@@ -7074,13 +7066,13 @@ var StringSubType;
7074
7066
  })(StringSubType || (StringSubType = {}));
7075
7067
  /**
7076
7068
  * Sets the horizontal alignment of text.
7077
-
7069
+
7078
7070
  right
7079
-
7071
+
7080
7072
  left
7081
-
7073
+
7082
7074
  center
7083
-
7075
+
7084
7076
  justified
7085
7077
  */
7086
7078
 
@@ -7095,11 +7087,11 @@ var TextAlignment;
7095
7087
  })(TextAlignment || (TextAlignment = {}));
7096
7088
  /**
7097
7089
  * Sets the vertical alignment of text.
7098
-
7090
+
7099
7091
  top
7100
-
7092
+
7101
7093
  bottom
7102
-
7094
+
7103
7095
  middle
7104
7096
  */
7105
7097