@evergis/api 3.0.127 → 3.0.129

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 () {
@@ -975,8 +967,8 @@ let Notification = /*#__PURE__*/function (_NotificationService) {
975
967
  || event.code === 4002
976
968
  /* InvalidSession */
977
969
  ) {
978
- _this.connectStatus = ConnectionStatus.SessionClosed;
979
- } else if (_this.reconnectTries < _this.MAX_WS_RECONNECT_TRIES) {
970
+ _this.connectStatus = ConnectionStatus.SessionClosed;
971
+ } else if (_this.reconnectTries < _this.MAX_WS_RECONNECT_TRIES) {
980
972
  _this.connectStatus = ConnectionStatus.Break;
981
973
  _this.reconnectTries++;
982
974
 
@@ -1482,7 +1474,7 @@ let Scheduler = /*#__PURE__*/function (_SchedulerService) {
1482
1474
  const taskProgress = await this.getTaskProgress(id);
1483
1475
  this.resolveTaskStatus(taskProgress, resolve, reject);
1484
1476
 
1485
- const taskResultCallback = async _ref => {
1477
+ const taskResultCallback = async (_ref) => {
1486
1478
  let {
1487
1479
  data
1488
1480
  } = _ref;
@@ -3625,12 +3617,12 @@ let Resources = /*#__PURE__*/function () {
3625
3617
  }, {
3626
3618
  key: "getDependentNames",
3627
3619
  value: function getDependentNames(deps, depType) {
3628
- return deps.filter(_ref => {
3620
+ return deps.filter((_ref) => {
3629
3621
  let {
3630
3622
  type
3631
3623
  } = _ref;
3632
3624
  return type === depType;
3633
- }).map(_ref2 => {
3625
+ }).map((_ref2) => {
3634
3626
  let {
3635
3627
  name
3636
3628
  } = _ref2;
@@ -6642,47 +6634,47 @@ function isFeatureLayer(layer) {
6642
6634
 
6643
6635
  /**
6644
6636
  *
6645
-
6637
+
6646
6638
  None
6647
-
6639
+
6648
6640
  Array
6649
-
6641
+
6650
6642
  Min
6651
-
6643
+
6652
6644
  Max
6653
-
6645
+
6654
6646
  Avg
6655
-
6647
+
6656
6648
  Sum
6657
-
6649
+
6658
6650
  Extent
6659
-
6651
+
6660
6652
  H3
6661
-
6653
+
6662
6654
  Count
6663
-
6655
+
6664
6656
  TotalCount
6665
-
6657
+
6666
6658
  DistinctCount
6667
-
6659
+
6668
6660
  First
6669
-
6661
+
6670
6662
  Last
6671
-
6663
+
6672
6664
  Median
6673
-
6665
+
6674
6666
  Mod
6675
-
6667
+
6676
6668
  StdDeviation
6677
-
6669
+
6678
6670
  SumOfProduct
6679
-
6671
+
6680
6672
  OnlyValue
6681
-
6673
+
6682
6674
  WeightedAvg
6683
-
6675
+
6684
6676
  DensityIndicators
6685
-
6677
+
6686
6678
  DividedSum
6687
6679
  */
6688
6680
  var AggregationFunction;
@@ -6712,29 +6704,29 @@ var AggregationFunction;
6712
6704
  })(AggregationFunction || (AggregationFunction = {}));
6713
6705
  /**
6714
6706
  * Types of the attributes that are supported by the system.
6715
-
6707
+
6716
6708
  Unknown
6717
-
6709
+
6718
6710
  String
6719
-
6711
+
6720
6712
  Int32
6721
-
6713
+
6722
6714
  Int64
6723
-
6715
+
6724
6716
  Double
6725
-
6717
+
6726
6718
  DateTime
6727
-
6719
+
6728
6720
  Boolean
6729
-
6721
+
6730
6722
  Point
6731
-
6723
+
6732
6724
  Polyline
6733
-
6725
+
6734
6726
  Polygon
6735
-
6727
+
6736
6728
  Multipoint
6737
-
6729
+
6738
6730
  H3Index
6739
6731
  */
6740
6732
 
@@ -6757,15 +6749,15 @@ var AttributeType;
6757
6749
  })(AttributeType || (AttributeType = {}));
6758
6750
  /**
6759
6751
  * Describes classification methods.
6760
-
6752
+
6761
6753
  none
6762
-
6754
+
6763
6755
  naturalBreaks
6764
-
6756
+
6765
6757
  equalInterval
6766
-
6758
+
6767
6759
  quantile
6768
-
6760
+
6769
6761
  unique
6770
6762
  */
6771
6763
 
@@ -6781,11 +6773,11 @@ var ClassificationType;
6781
6773
  })(ClassificationType || (ClassificationType = {}));
6782
6774
  /**
6783
6775
  * Type of attribute.
6784
-
6776
+
6785
6777
  decimal
6786
-
6778
+
6787
6779
  dateTime
6788
-
6780
+
6789
6781
  text
6790
6782
  */
6791
6783
 
@@ -6799,55 +6791,55 @@ var ClassifyAttributeType;
6799
6791
  })(ClassifyAttributeType || (ClassifyAttributeType = {}));
6800
6792
  /**
6801
6793
  * Types of errors that can occur during layer initialize.
6802
-
6794
+
6803
6795
  Unknown
6804
-
6796
+
6805
6797
  SerializeError
6806
-
6798
+
6807
6799
  InvalidDataService
6808
-
6800
+
6809
6801
  InvalidConfiguration
6810
-
6802
+
6811
6803
  InvalidDataServiceName
6812
-
6804
+
6813
6805
  InvalidTableName
6814
-
6806
+
6815
6807
  InvalidLayerName
6816
-
6808
+
6817
6809
  ResourceNotFound
6818
-
6810
+
6819
6811
  InvalidCondition
6820
-
6812
+
6821
6813
  InvalidAttributes
6822
-
6814
+
6823
6815
  InvalidIdAttribute
6824
-
6816
+
6825
6817
  InvalidGeometryAttribute
6826
-
6818
+
6827
6819
  InvalidGeometryAttributeType
6828
-
6820
+
6829
6821
  InvalidColumnName
6830
-
6822
+
6831
6823
  InvalidIdColumnSettings
6832
-
6824
+
6833
6825
  ColumnNotExistsInTable
6834
-
6826
+
6835
6827
  InvalidStyle
6836
-
6828
+
6837
6829
  InvalidLayerType
6838
-
6830
+
6839
6831
  ColumnLoadingError
6840
-
6832
+
6841
6833
  InvalidAttributeFormat
6842
-
6834
+
6843
6835
  DataSourceNotFound
6844
-
6836
+
6845
6837
  DuplicateColumns
6846
-
6838
+
6847
6839
  DuplicateAttributes
6848
-
6840
+
6849
6841
  TableWithoutColumns
6850
-
6842
+
6851
6843
  InvalidTableReferenceConfiguration
6852
6844
  */
6853
6845
 
@@ -6883,15 +6875,15 @@ var ConfigurationErrorEnum;
6883
6875
  })(ConfigurationErrorEnum || (ConfigurationErrorEnum = {}));
6884
6876
  /**
6885
6877
  * Type of the error.
6886
-
6878
+
6887
6879
  ResourceLimitExceeded
6888
-
6880
+
6889
6881
  ResourceNotFound
6890
-
6882
+
6891
6883
  InternalError
6892
-
6884
+
6893
6885
  BadRequest
6894
-
6886
+
6895
6887
  DuplicateContent
6896
6888
  */
6897
6889
 
@@ -6946,9 +6938,9 @@ var ErrorType;
6946
6938
  })(ErrorType || (ErrorType = {}));
6947
6939
  /**
6948
6940
  * Type of the feature.
6949
-
6941
+
6950
6942
  Unknown
6951
-
6943
+
6952
6944
  GeometricFeature
6953
6945
  */
6954
6946
 
@@ -6961,11 +6953,11 @@ var FeatureType;
6961
6953
  })(FeatureType || (FeatureType = {}));
6962
6954
  /**
6963
6955
  * Sets whether font should be styled.
6964
-
6956
+
6965
6957
  normal
6966
-
6958
+
6967
6959
  oblique
6968
-
6960
+
6969
6961
  italic
6970
6962
  */
6971
6963
 
@@ -6979,27 +6971,27 @@ var FontStyle;
6979
6971
  })(FontStyle || (FontStyle = {}));
6980
6972
  /**
6981
6973
  * Specifies the weight (or boldness) of the font.
6982
-
6974
+
6983
6975
  Thin
6984
-
6976
+
6985
6977
  ExtraLight
6986
-
6978
+
6987
6979
  Light
6988
-
6980
+
6989
6981
  SemiLight
6990
-
6982
+
6991
6983
  Normal
6992
-
6984
+
6993
6985
  Medium
6994
-
6986
+
6995
6987
  DemiBold
6996
-
6988
+
6997
6989
  Bold
6998
-
6990
+
6999
6991
  ExtraBold
7000
-
6992
+
7001
6993
  Black
7002
-
6994
+
7003
6995
  ExtraBlack
7004
6996
  */
7005
6997
 
@@ -7021,17 +7013,17 @@ var FontWeight;
7021
7013
  })(FontWeight || (FontWeight = {}));
7022
7014
  /**
7023
7015
  *
7024
-
7016
+
7025
7017
  unknown
7026
-
7018
+
7027
7019
  point
7028
-
7020
+
7029
7021
  polyline
7030
-
7022
+
7031
7023
  polygon
7032
-
7024
+
7033
7025
  envelope
7034
-
7026
+
7035
7027
  multipoint
7036
7028
  */
7037
7029
 
@@ -7048,13 +7040,13 @@ var GeometryType;
7048
7040
  })(GeometryType || (GeometryType = {}));
7049
7041
  /**
7050
7042
  * Resource group.
7051
-
7043
+
7052
7044
  my
7053
-
7045
+
7054
7046
  role
7055
-
7047
+
7056
7048
  public
7057
-
7049
+
7058
7050
  all
7059
7051
  */
7060
7052
 
@@ -7070,9 +7062,9 @@ var Group;
7070
7062
  /**
7071
7063
  * The size of the line ending in a SPCore.Kernel.Rendering.Symbols.SimplePolylineSymbol. The values sent here can be one
7072
7064
  of the preset values, or a number representing the size of the ending in pixels for 1px wide lines.
7073
-
7065
+
7074
7066
  small
7075
-
7067
+
7076
7068
  large
7077
7069
  */
7078
7070
 
@@ -7085,19 +7077,19 @@ var LineEndingSize;
7085
7077
  })(LineEndingSize || (LineEndingSize = {}));
7086
7078
  /**
7087
7079
  * Type of the line ending.
7088
-
7080
+
7089
7081
  none
7090
-
7082
+
7091
7083
  arrow
7092
-
7084
+
7093
7085
  filledArrow
7094
-
7086
+
7095
7087
  square
7096
-
7088
+
7097
7089
  filledSquare
7098
-
7090
+
7099
7091
  circle
7100
-
7092
+
7101
7093
  filledCircle
7102
7094
  */
7103
7095
 
@@ -7115,15 +7107,15 @@ var LineEndingType;
7115
7107
  })(LineEndingType || (LineEndingType = {}));
7116
7108
  /**
7117
7109
  *
7118
-
7110
+
7119
7111
  Unknown
7120
-
7112
+
7121
7113
  union
7122
-
7114
+
7123
7115
  intersection
7124
-
7116
+
7125
7117
  subtraction
7126
-
7118
+
7127
7119
  symDifference
7128
7120
  */
7129
7121
 
@@ -7139,19 +7131,19 @@ var Operation;
7139
7131
  })(Operation || (Operation = {}));
7140
7132
  /**
7141
7133
  * User permissions for server security objects (services, projects etc.)
7142
-
7134
+
7143
7135
  none
7144
-
7136
+
7145
7137
  configure
7146
-
7138
+
7147
7139
  write
7148
-
7140
+
7149
7141
  read
7150
-
7142
+
7151
7143
  read,configure
7152
-
7144
+
7153
7145
  read,write
7154
-
7146
+
7155
7147
  read,write,configure
7156
7148
  */
7157
7149
 
@@ -7169,19 +7161,19 @@ var Permissions;
7169
7161
  })(Permissions || (Permissions = {}));
7170
7162
  /**
7171
7163
  * Type of the authorization policy.
7172
-
7164
+
7173
7165
  Unknown
7174
-
7166
+
7175
7167
  CreateTable
7176
-
7168
+
7177
7169
  CreateLayer
7178
-
7170
+
7179
7171
  CreateProject
7180
-
7172
+
7181
7173
  MaxFeaturesInOneTable
7182
-
7174
+
7183
7175
  MaxObjectsToExport
7184
-
7176
+
7185
7177
  MaxUploadContentSize
7186
7178
  */
7187
7179
 
@@ -7199,11 +7191,11 @@ var PolicyType;
7199
7191
  })(PolicyType || (PolicyType = {}));
7200
7192
  /**
7201
7193
  * Types of table reference.
7202
-
7194
+
7203
7195
  OneToMany
7204
-
7196
+
7205
7197
  OneToOne
7206
-
7198
+
7207
7199
  Intersect
7208
7200
  */
7209
7201
 
@@ -7217,19 +7209,19 @@ var ReferenceJoinType;
7217
7209
  })(ReferenceJoinType || (ReferenceJoinType = {}));
7218
7210
  /**
7219
7211
  * The `ResourceType` represents resource manager supports types.
7220
-
7212
+
7221
7213
  Unknown
7222
-
7214
+
7223
7215
  table
7224
-
7216
+
7225
7217
  layer
7226
-
7218
+
7227
7219
  project
7228
-
7220
+
7229
7221
  file
7230
-
7222
+
7231
7223
  feature
7232
-
7224
+
7233
7225
  tag
7234
7226
  */
7235
7227
 
@@ -7255,21 +7247,21 @@ var ResourceTypeLink;
7255
7247
  })(ResourceTypeLink || (ResourceTypeLink = {}));
7256
7248
  /**
7257
7249
  * Status of the server task.
7258
-
7250
+
7259
7251
  None
7260
-
7252
+
7261
7253
  Scheduled
7262
-
7254
+
7263
7255
  Planning
7264
-
7256
+
7265
7257
  Executing
7266
-
7258
+
7267
7259
  Completed
7268
-
7260
+
7269
7261
  Failed
7270
-
7262
+
7271
7263
  Canceled
7272
-
7264
+
7273
7265
  Timeout
7274
7266
  */
7275
7267
 
@@ -7288,9 +7280,9 @@ var ServerTaskStatus;
7288
7280
  })(ServerTaskStatus || (ServerTaskStatus = {}));
7289
7281
  /**
7290
7282
  * Simplify type.
7291
-
7283
+
7292
7284
  Basic
7293
-
7285
+
7294
7286
  PreserveTopology
7295
7287
  */
7296
7288
 
@@ -7303,11 +7295,11 @@ var SimplifyType;
7303
7295
  })(SimplifyType || (SimplifyType = {}));
7304
7296
  /**
7305
7297
  * The `StringSubType` provides information about string attribute subtype.
7306
-
7298
+
7307
7299
  None
7308
-
7300
+
7309
7301
  Image
7310
-
7302
+
7311
7303
  PkkCode
7312
7304
  */
7313
7305
 
@@ -7321,9 +7313,9 @@ var StringSubType;
7321
7313
  })(StringSubType || (StringSubType = {}));
7322
7314
  /**
7323
7315
  * Task owner group.
7324
-
7316
+
7325
7317
  my
7326
-
7318
+
7327
7319
  all
7328
7320
  */
7329
7321
 
@@ -7336,13 +7328,13 @@ var TaskGroup;
7336
7328
  })(TaskGroup || (TaskGroup = {}));
7337
7329
  /**
7338
7330
  * Sets the horizontal alignment of text.
7339
-
7331
+
7340
7332
  right
7341
-
7333
+
7342
7334
  left
7343
-
7335
+
7344
7336
  center
7345
-
7337
+
7346
7338
  justified
7347
7339
  */
7348
7340
 
@@ -7357,11 +7349,11 @@ var TextAlignment;
7357
7349
  })(TextAlignment || (TextAlignment = {}));
7358
7350
  /**
7359
7351
  * Sets the vertical alignment of text.
7360
-
7352
+
7361
7353
  top
7362
-
7354
+
7363
7355
  bottom
7364
-
7356
+
7365
7357
  middle
7366
7358
  */
7367
7359