@evergis/api 3.0.178 → 3.0.180

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 () {
@@ -4536,8 +4544,8 @@ let Notification = /*#__PURE__*/function (_NotificationService) {
4536
4544
  || event.code === 4002
4537
4545
  /* InvalidSession */
4538
4546
  ) {
4539
- _this.connectStatus = ConnectionStatus.SessionClosed;
4540
- } else if (_this.reconnectTries < _this.MAX_WS_RECONNECT_TRIES) {
4547
+ _this.connectStatus = ConnectionStatus.SessionClosed;
4548
+ } else if (_this.reconnectTries < _this.MAX_WS_RECONNECT_TRIES) {
4541
4549
  _this.connectStatus = ConnectionStatus.Break;
4542
4550
  _this.reconnectTries++;
4543
4551
 
@@ -5371,12 +5379,12 @@ let Resources = /*#__PURE__*/function () {
5371
5379
  }, {
5372
5380
  key: "getDependentNames",
5373
5381
  value: function getDependentNames(deps, depType) {
5374
- return deps.filter((_ref) => {
5382
+ return deps.filter(_ref => {
5375
5383
  let {
5376
5384
  type
5377
5385
  } = _ref;
5378
5386
  return type === depType;
5379
- }).map((_ref2) => {
5387
+ }).map(_ref2 => {
5380
5388
  let {
5381
5389
  name
5382
5390
  } = _ref2;
@@ -5832,7 +5840,7 @@ let Scheduler = /*#__PURE__*/function (_SchedulerService) {
5832
5840
  const taskProgress = await this.getTaskProgress(id);
5833
5841
  this.resolveTaskStatus(taskProgress, resolve, reject);
5834
5842
 
5835
- const taskResultCallback = async (_ref) => {
5843
+ const taskResultCallback = async _ref => {
5836
5844
  let {
5837
5845
  data
5838
5846
  } = _ref;
@@ -7451,47 +7459,47 @@ function isFeatureLayer(layer) {
7451
7459
 
7452
7460
  /**
7453
7461
  *
7454
-
7462
+
7455
7463
  None
7456
-
7464
+
7457
7465
  Array
7458
-
7466
+
7459
7467
  Min
7460
-
7468
+
7461
7469
  Max
7462
-
7470
+
7463
7471
  Avg
7464
-
7472
+
7465
7473
  Sum
7466
-
7474
+
7467
7475
  Extent
7468
-
7476
+
7469
7477
  H3
7470
-
7478
+
7471
7479
  Count
7472
-
7480
+
7473
7481
  TotalCount
7474
-
7482
+
7475
7483
  DistinctCount
7476
-
7484
+
7477
7485
  First
7478
-
7486
+
7479
7487
  Last
7480
-
7488
+
7481
7489
  Median
7482
-
7490
+
7483
7491
  Mod
7484
-
7492
+
7485
7493
  StdDeviation
7486
-
7494
+
7487
7495
  SumOfProduct
7488
-
7496
+
7489
7497
  OnlyValue
7490
-
7498
+
7491
7499
  WeightedAvg
7492
-
7500
+
7493
7501
  DensityIndicators
7494
-
7502
+
7495
7503
  DividedSum
7496
7504
  */
7497
7505
  var AggregationFunction;
@@ -7521,13 +7529,13 @@ var AggregationFunction;
7521
7529
  })(AggregationFunction || (AggregationFunction = {}));
7522
7530
  /**
7523
7531
  * Attribute selector type.
7524
-
7532
+
7525
7533
  None
7526
-
7534
+
7527
7535
  SelectFromHandBook
7528
-
7536
+
7529
7537
  SelectFromRange
7530
-
7538
+
7531
7539
  ViewHandBook
7532
7540
  */
7533
7541
 
@@ -7542,31 +7550,31 @@ var AttributeSelectorType;
7542
7550
  })(AttributeSelectorType || (AttributeSelectorType = {}));
7543
7551
  /**
7544
7552
  * Types of the attributes that are supported by the system.
7545
-
7553
+
7546
7554
  Unknown
7547
-
7555
+
7548
7556
  String
7549
-
7557
+
7550
7558
  Int32
7551
-
7559
+
7552
7560
  Int64
7553
-
7561
+
7554
7562
  Double
7555
-
7563
+
7556
7564
  DateTime
7557
-
7565
+
7558
7566
  Boolean
7559
-
7567
+
7560
7568
  Point
7561
-
7569
+
7562
7570
  Polyline
7563
-
7571
+
7564
7572
  MultiPolygon
7565
-
7573
+
7566
7574
  Multipoint
7567
-
7575
+
7568
7576
  H3Index
7569
-
7577
+
7570
7578
  Json
7571
7579
  */
7572
7580
 
@@ -7590,15 +7598,15 @@ var AttributeType;
7590
7598
  })(AttributeType || (AttributeType = {}));
7591
7599
  /**
7592
7600
  * Describes classification methods.
7593
-
7601
+
7594
7602
  none
7595
-
7603
+
7596
7604
  naturalBreaks
7597
-
7605
+
7598
7606
  equalInterval
7599
-
7607
+
7600
7608
  quantile
7601
-
7609
+
7602
7610
  unique
7603
7611
  */
7604
7612
 
@@ -7614,11 +7622,11 @@ var ClassificationType;
7614
7622
  })(ClassificationType || (ClassificationType = {}));
7615
7623
  /**
7616
7624
  *
7617
-
7625
+
7618
7626
  decimal
7619
-
7627
+
7620
7628
  dateTime
7621
-
7629
+
7622
7630
  text
7623
7631
  */
7624
7632
 
@@ -7632,55 +7640,55 @@ var ClassifyAttributeType;
7632
7640
  })(ClassifyAttributeType || (ClassifyAttributeType = {}));
7633
7641
  /**
7634
7642
  * Types of errors that can occur during layer initialize.
7635
-
7643
+
7636
7644
  Unknown
7637
-
7645
+
7638
7646
  SerializeError
7639
-
7647
+
7640
7648
  InvalidDataService
7641
-
7649
+
7642
7650
  InvalidConfiguration
7643
-
7651
+
7644
7652
  InvalidDataServiceName
7645
-
7653
+
7646
7654
  InvalidTableName
7647
-
7655
+
7648
7656
  InvalidLayerName
7649
-
7657
+
7650
7658
  ResourceNotFound
7651
-
7659
+
7652
7660
  InvalidCondition
7653
-
7661
+
7654
7662
  InvalidAttributes
7655
-
7663
+
7656
7664
  InvalidIdAttribute
7657
-
7665
+
7658
7666
  InvalidGeometryAttribute
7659
-
7667
+
7660
7668
  InvalidGeometryAttributeType
7661
-
7669
+
7662
7670
  InvalidColumnName
7663
-
7671
+
7664
7672
  InvalidIdColumnSettings
7665
-
7673
+
7666
7674
  ColumnNotExistsInTable
7667
-
7675
+
7668
7676
  InvalidStyle
7669
-
7677
+
7670
7678
  InvalidLayerType
7671
-
7679
+
7672
7680
  ColumnLoadingError
7673
-
7681
+
7674
7682
  InvalidAttributeFormat
7675
-
7683
+
7676
7684
  DataSourceNotFound
7677
-
7685
+
7678
7686
  DuplicateColumns
7679
-
7687
+
7680
7688
  DuplicateAttributes
7681
-
7689
+
7682
7690
  TableWithoutColumns
7683
-
7691
+
7684
7692
  InvalidTableReferenceConfiguration
7685
7693
  */
7686
7694
 
@@ -7716,15 +7724,15 @@ var ConfigurationErrorEnum;
7716
7724
  })(ConfigurationErrorEnum || (ConfigurationErrorEnum = {}));
7717
7725
  /**
7718
7726
  * Type of the error.
7719
-
7727
+
7720
7728
  ResourceLimitExceeded
7721
-
7729
+
7722
7730
  ResourceNotFound
7723
-
7731
+
7724
7732
  InternalError
7725
-
7733
+
7726
7734
  BadRequest
7727
-
7735
+
7728
7736
  DuplicateContent
7729
7737
  */
7730
7738
 
@@ -7775,9 +7783,9 @@ var ErrorType;
7775
7783
  })(ErrorType || (ErrorType = {}));
7776
7784
  /**
7777
7785
  * Type of the feature.
7778
-
7786
+
7779
7787
  Unknown
7780
-
7788
+
7781
7789
  GeometricFeature
7782
7790
  */
7783
7791
 
@@ -7790,11 +7798,11 @@ var FeatureType;
7790
7798
  })(FeatureType || (FeatureType = {}));
7791
7799
  /**
7792
7800
  * Sets whether font should be styled.
7793
-
7801
+
7794
7802
  normal
7795
-
7803
+
7796
7804
  oblique
7797
-
7805
+
7798
7806
  italic
7799
7807
  */
7800
7808
 
@@ -7808,27 +7816,27 @@ var FontStyle;
7808
7816
  })(FontStyle || (FontStyle = {}));
7809
7817
  /**
7810
7818
  * Specifies the weight (or boldness) of the font.
7811
-
7819
+
7812
7820
  Thin
7813
-
7821
+
7814
7822
  ExtraLight
7815
-
7823
+
7816
7824
  Light
7817
-
7825
+
7818
7826
  SemiLight
7819
-
7827
+
7820
7828
  Normal
7821
-
7829
+
7822
7830
  Medium
7823
-
7831
+
7824
7832
  DemiBold
7825
-
7833
+
7826
7834
  Bold
7827
-
7835
+
7828
7836
  ExtraBold
7829
-
7837
+
7830
7838
  Black
7831
-
7839
+
7832
7840
  ExtraBlack
7833
7841
  */
7834
7842
 
@@ -7850,17 +7858,17 @@ var FontWeight;
7850
7858
  })(FontWeight || (FontWeight = {}));
7851
7859
  /**
7852
7860
  *
7853
-
7861
+
7854
7862
  unknown
7855
-
7863
+
7856
7864
  point
7857
-
7865
+
7858
7866
  polyline
7859
-
7867
+
7860
7868
  multipolygon
7861
-
7869
+
7862
7870
  envelope
7863
-
7871
+
7864
7872
  multipoint
7865
7873
  */
7866
7874
 
@@ -7877,13 +7885,13 @@ var GeometryType;
7877
7885
  })(GeometryType || (GeometryType = {}));
7878
7886
  /**
7879
7887
  * Resource group.
7880
-
7888
+
7881
7889
  my
7882
-
7890
+
7883
7891
  role
7884
-
7892
+
7885
7893
  public
7886
-
7894
+
7887
7895
  all
7888
7896
  */
7889
7897
 
@@ -7898,13 +7906,13 @@ var Group;
7898
7906
  })(Group || (Group = {}));
7899
7907
  /**
7900
7908
  * Specifies the settings of line cap. This is applied to the beginning and end of each non-closed line.
7901
-
7909
+
7902
7910
  Flat
7903
-
7911
+
7904
7912
  Square
7905
-
7913
+
7906
7914
  Round
7907
-
7915
+
7908
7916
  Triangle
7909
7917
  */
7910
7918
 
@@ -7919,29 +7927,29 @@ var LineCapStyle;
7919
7927
  })(LineCapStyle || (LineCapStyle = {}));
7920
7928
  /**
7921
7929
  * Type of the line ending.
7922
-
7930
+
7923
7931
  none
7924
-
7932
+
7925
7933
  arrow
7926
-
7934
+
7927
7935
  filledArrow
7928
-
7936
+
7929
7937
  square
7930
-
7938
+
7931
7939
  filledSquare
7932
-
7940
+
7933
7941
  circle
7934
-
7942
+
7935
7943
  filledCircle
7936
-
7944
+
7937
7945
  diamond
7938
-
7946
+
7939
7947
  filledDiamond
7940
-
7948
+
7941
7949
  roundSquare
7942
-
7950
+
7943
7951
  filledRoundSquare
7944
-
7952
+
7945
7953
  svg
7946
7954
  */
7947
7955
 
@@ -7964,11 +7972,11 @@ var LineEndingType;
7964
7972
  })(LineEndingType || (LineEndingType = {}));
7965
7973
  /**
7966
7974
  * Specifies the settings of lines join. This is applied to corners in lines and rectangles.
7967
-
7975
+
7968
7976
  Miter
7969
-
7977
+
7970
7978
  Bevel
7971
-
7979
+
7972
7980
  Round
7973
7981
  */
7974
7982
 
@@ -7982,15 +7990,15 @@ var LineJoinType;
7982
7990
  })(LineJoinType || (LineJoinType = {}));
7983
7991
  /**
7984
7992
  *
7985
-
7993
+
7986
7994
  Unknown
7987
-
7995
+
7988
7996
  union
7989
-
7997
+
7990
7998
  intersection
7991
-
7999
+
7992
8000
  subtraction
7993
-
8001
+
7994
8002
  symDifference
7995
8003
  */
7996
8004
 
@@ -8006,9 +8014,9 @@ var Operation;
8006
8014
  })(Operation || (Operation = {}));
8007
8015
  /**
8008
8016
  * Influences the y direction of the tile coordinates. The global-mercator (aka Spherical Mercator) profile is assumed.
8009
-
8017
+
8010
8018
  xyz
8011
-
8019
+
8012
8020
  tms
8013
8021
  */
8014
8022
 
@@ -8021,19 +8029,19 @@ var PbfSchema;
8021
8029
  })(PbfSchema || (PbfSchema = {}));
8022
8030
  /**
8023
8031
  * User permissions for server security objects (services, projects etc.)
8024
-
8032
+
8025
8033
  none
8026
-
8034
+
8027
8035
  configure
8028
-
8036
+
8029
8037
  write
8030
-
8038
+
8031
8039
  read
8032
-
8040
+
8033
8041
  read,configure
8034
-
8042
+
8035
8043
  read,write
8036
-
8044
+
8037
8045
  read,write,configure
8038
8046
  */
8039
8047
 
@@ -8051,19 +8059,19 @@ var Permissions;
8051
8059
  })(Permissions || (Permissions = {}));
8052
8060
  /**
8053
8061
  * Type of the authorization policy.
8054
-
8062
+
8055
8063
  Unknown
8056
-
8064
+
8057
8065
  CreateTable
8058
-
8066
+
8059
8067
  CreateLayer
8060
-
8068
+
8061
8069
  CreateProject
8062
-
8070
+
8063
8071
  MaxFeaturesInOneTable
8064
-
8072
+
8065
8073
  MaxObjectsToExport
8066
-
8074
+
8067
8075
  MaxUploadContentSize
8068
8076
  */
8069
8077
 
@@ -8081,17 +8089,17 @@ var PolicyType;
8081
8089
  })(PolicyType || (PolicyType = {}));
8082
8090
  /**
8083
8091
  * Types of table reference.
8084
-
8092
+
8085
8093
  OneToMany
8086
-
8094
+
8087
8095
  OneToOne
8088
-
8096
+
8089
8097
  Intersect
8090
-
8098
+
8091
8099
  RightJoin
8092
-
8100
+
8093
8101
  FullJoin
8094
-
8102
+
8095
8103
  CrossJoin
8096
8104
  */
8097
8105
 
@@ -8108,19 +8116,19 @@ var ReferenceJoinType;
8108
8116
  })(ReferenceJoinType || (ReferenceJoinType = {}));
8109
8117
  /**
8110
8118
  * The `ResourceType` represents resource manager supports types.
8111
-
8119
+
8112
8120
  Unknown
8113
-
8121
+
8114
8122
  table
8115
-
8123
+
8116
8124
  layer
8117
-
8125
+
8118
8126
  project
8119
-
8127
+
8120
8128
  file
8121
-
8129
+
8122
8130
  feature
8123
-
8131
+
8124
8132
  tag
8125
8133
  */
8126
8134
 
@@ -8146,21 +8154,21 @@ var ResourceTypeLink;
8146
8154
  })(ResourceTypeLink || (ResourceTypeLink = {}));
8147
8155
  /**
8148
8156
  * Status of the server task.
8149
-
8157
+
8150
8158
  None
8151
-
8159
+
8152
8160
  Scheduled
8153
-
8161
+
8154
8162
  Planning
8155
-
8163
+
8156
8164
  Executing
8157
-
8165
+
8158
8166
  Completed
8159
-
8167
+
8160
8168
  Failed
8161
-
8169
+
8162
8170
  Canceled
8163
-
8171
+
8164
8172
  Timeout
8165
8173
  */
8166
8174
 
@@ -8179,11 +8187,11 @@ var ServerTaskStatus;
8179
8187
  })(ServerTaskStatus || (ServerTaskStatus = {}));
8180
8188
  /**
8181
8189
  * Simplify type.
8182
-
8190
+
8183
8191
  Basic
8184
-
8192
+
8185
8193
  PreserveTopology
8186
-
8194
+
8187
8195
  VW
8188
8196
  */
8189
8197
 
@@ -8197,13 +8205,13 @@ var SimplifyType;
8197
8205
  })(SimplifyType || (SimplifyType = {}));
8198
8206
  /**
8199
8207
  * The `StringSubType` provides information about string attribute subtype.
8200
-
8208
+
8201
8209
  None
8202
-
8210
+
8203
8211
  Image
8204
-
8212
+
8205
8213
  PkkCode
8206
-
8214
+
8207
8215
  Attachments
8208
8216
  */
8209
8217
 
@@ -8218,9 +8226,9 @@ var StringSubType;
8218
8226
  })(StringSubType || (StringSubType = {}));
8219
8227
  /**
8220
8228
  * Task owner group.
8221
-
8229
+
8222
8230
  my
8223
-
8231
+
8224
8232
  all
8225
8233
  */
8226
8234
 
@@ -8233,13 +8241,13 @@ var TaskGroup;
8233
8241
  })(TaskGroup || (TaskGroup = {}));
8234
8242
  /**
8235
8243
  * Sets the horizontal alignment of text.
8236
-
8244
+
8237
8245
  right
8238
-
8246
+
8239
8247
  left
8240
-
8248
+
8241
8249
  center
8242
-
8250
+
8243
8251
  justified
8244
8252
  */
8245
8253
 
@@ -8254,11 +8262,11 @@ var TextAlignment;
8254
8262
  })(TextAlignment || (TextAlignment = {}));
8255
8263
  /**
8256
8264
  * Sets the vertical alignment of text.
8257
-
8265
+
8258
8266
  top
8259
-
8267
+
8260
8268
  bottom
8261
-
8269
+
8262
8270
  middle
8263
8271
  */
8264
8272