@evergis/api 3.0.177 → 3.0.178

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