@evergis/api 3.0.163 → 3.0.165

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,6 +29,9 @@ 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
+ });
32
35
  return Constructor;
33
36
  }
34
37
 
@@ -62,6 +65,9 @@ function _inherits(subClass, superClass) {
62
65
  configurable: true
63
66
  }
64
67
  });
68
+ Object.defineProperty(subClass, "prototype", {
69
+ writable: false
70
+ });
65
71
  if (superClass) _setPrototypeOf(subClass, superClass);
66
72
  }
67
73
 
@@ -120,6 +126,8 @@ function _assertThisInitialized(self) {
120
126
  function _possibleConstructorReturn(self, call) {
121
127
  if (call && (typeof call === "object" || typeof call === "function")) {
122
128
  return call;
129
+ } else if (call !== void 0) {
130
+ throw new TypeError("Derived constructors may only return object or undefined");
123
131
  }
124
132
 
125
133
  return _assertThisInitialized(self);
@@ -153,7 +161,7 @@ function _superPropBase(object, property) {
153
161
  return object;
154
162
  }
155
163
 
156
- function _get(target, property, receiver) {
164
+ function _get() {
157
165
  if (typeof Reflect !== "undefined" && Reflect.get) {
158
166
  _get = Reflect.get;
159
167
  } else {
@@ -164,14 +172,14 @@ function _get(target, property, receiver) {
164
172
  var desc = Object.getOwnPropertyDescriptor(base, property);
165
173
 
166
174
  if (desc.get) {
167
- return desc.get.call(receiver);
175
+ return desc.get.call(arguments.length < 3 ? target : receiver);
168
176
  }
169
177
 
170
178
  return desc.value;
171
179
  };
172
180
  }
173
181
 
174
- return _get(target, property, receiver || target);
182
+ return _get.apply(this, arguments);
175
183
  }
176
184
 
177
185
  let HttpClient = /*#__PURE__*/function () {
@@ -1287,8 +1295,8 @@ let Notification = /*#__PURE__*/function (_NotificationService) {
1287
1295
  || event.code === 4002
1288
1296
  /* InvalidSession */
1289
1297
  ) {
1290
- _this.connectStatus = ConnectionStatus.SessionClosed;
1291
- } else if (_this.reconnectTries < _this.MAX_WS_RECONNECT_TRIES) {
1298
+ _this.connectStatus = ConnectionStatus.SessionClosed;
1299
+ } else if (_this.reconnectTries < _this.MAX_WS_RECONNECT_TRIES) {
1292
1300
  _this.connectStatus = ConnectionStatus.Break;
1293
1301
  _this.reconnectTries++;
1294
1302
 
@@ -1855,7 +1863,7 @@ let Scheduler = /*#__PURE__*/function (_SchedulerService) {
1855
1863
  const taskProgress = await this.getTaskProgress(id);
1856
1864
  this.resolveTaskStatus(taskProgress, resolve, reject);
1857
1865
 
1858
- const taskResultCallback = async (_ref) => {
1866
+ const taskResultCallback = async _ref => {
1859
1867
  let {
1860
1868
  data
1861
1869
  } = _ref;
@@ -4173,12 +4181,12 @@ let Resources = /*#__PURE__*/function () {
4173
4181
  }, {
4174
4182
  key: "getDependentNames",
4175
4183
  value: function getDependentNames(deps, depType) {
4176
- return deps.filter((_ref) => {
4184
+ return deps.filter(_ref => {
4177
4185
  let {
4178
4186
  type
4179
4187
  } = _ref;
4180
4188
  return type === depType;
4181
- }).map((_ref2) => {
4189
+ }).map(_ref2 => {
4182
4190
  let {
4183
4191
  name
4184
4192
  } = _ref2;
@@ -7161,47 +7169,47 @@ function isFeatureLayer(layer) {
7161
7169
 
7162
7170
  /**
7163
7171
  *
7164
-
7172
+
7165
7173
  None
7166
-
7174
+
7167
7175
  Array
7168
-
7176
+
7169
7177
  Min
7170
-
7178
+
7171
7179
  Max
7172
-
7180
+
7173
7181
  Avg
7174
-
7182
+
7175
7183
  Sum
7176
-
7184
+
7177
7185
  Extent
7178
-
7186
+
7179
7187
  H3
7180
-
7188
+
7181
7189
  Count
7182
-
7190
+
7183
7191
  TotalCount
7184
-
7192
+
7185
7193
  DistinctCount
7186
-
7194
+
7187
7195
  First
7188
-
7196
+
7189
7197
  Last
7190
-
7198
+
7191
7199
  Median
7192
-
7200
+
7193
7201
  Mod
7194
-
7202
+
7195
7203
  StdDeviation
7196
-
7204
+
7197
7205
  SumOfProduct
7198
-
7206
+
7199
7207
  OnlyValue
7200
-
7208
+
7201
7209
  WeightedAvg
7202
-
7210
+
7203
7211
  DensityIndicators
7204
-
7212
+
7205
7213
  DividedSum
7206
7214
  */
7207
7215
  var AggregationFunction;
@@ -7231,13 +7239,13 @@ var AggregationFunction;
7231
7239
  })(AggregationFunction || (AggregationFunction = {}));
7232
7240
  /**
7233
7241
  * Attribute selector type.
7234
-
7242
+
7235
7243
  None
7236
-
7244
+
7237
7245
  SelectFromHandBook
7238
-
7246
+
7239
7247
  SelectFromRange
7240
-
7248
+
7241
7249
  ViewHandBook
7242
7250
  */
7243
7251
 
@@ -7252,31 +7260,31 @@ var AttributeSelectorType;
7252
7260
  })(AttributeSelectorType || (AttributeSelectorType = {}));
7253
7261
  /**
7254
7262
  * Types of the attributes that are supported by the system.
7255
-
7263
+
7256
7264
  Unknown
7257
-
7265
+
7258
7266
  String
7259
-
7267
+
7260
7268
  Int32
7261
-
7269
+
7262
7270
  Int64
7263
-
7271
+
7264
7272
  Double
7265
-
7273
+
7266
7274
  DateTime
7267
-
7275
+
7268
7276
  Boolean
7269
-
7277
+
7270
7278
  Point
7271
-
7279
+
7272
7280
  Polyline
7273
-
7281
+
7274
7282
  MultiPolygon
7275
-
7283
+
7276
7284
  Multipoint
7277
-
7285
+
7278
7286
  H3Index
7279
-
7287
+
7280
7288
  Json
7281
7289
  */
7282
7290
 
@@ -7300,15 +7308,15 @@ var AttributeType;
7300
7308
  })(AttributeType || (AttributeType = {}));
7301
7309
  /**
7302
7310
  * Describes classification methods.
7303
-
7311
+
7304
7312
  none
7305
-
7313
+
7306
7314
  naturalBreaks
7307
-
7315
+
7308
7316
  equalInterval
7309
-
7317
+
7310
7318
  quantile
7311
-
7319
+
7312
7320
  unique
7313
7321
  */
7314
7322
 
@@ -7324,11 +7332,11 @@ var ClassificationType;
7324
7332
  })(ClassificationType || (ClassificationType = {}));
7325
7333
  /**
7326
7334
  *
7327
-
7335
+
7328
7336
  decimal
7329
-
7337
+
7330
7338
  dateTime
7331
-
7339
+
7332
7340
  text
7333
7341
  */
7334
7342
 
@@ -7342,55 +7350,55 @@ var ClassifyAttributeType;
7342
7350
  })(ClassifyAttributeType || (ClassifyAttributeType = {}));
7343
7351
  /**
7344
7352
  * Types of errors that can occur during layer initialize.
7345
-
7353
+
7346
7354
  Unknown
7347
-
7355
+
7348
7356
  SerializeError
7349
-
7357
+
7350
7358
  InvalidDataService
7351
-
7359
+
7352
7360
  InvalidConfiguration
7353
-
7361
+
7354
7362
  InvalidDataServiceName
7355
-
7363
+
7356
7364
  InvalidTableName
7357
-
7365
+
7358
7366
  InvalidLayerName
7359
-
7367
+
7360
7368
  ResourceNotFound
7361
-
7369
+
7362
7370
  InvalidCondition
7363
-
7371
+
7364
7372
  InvalidAttributes
7365
-
7373
+
7366
7374
  InvalidIdAttribute
7367
-
7375
+
7368
7376
  InvalidGeometryAttribute
7369
-
7377
+
7370
7378
  InvalidGeometryAttributeType
7371
-
7379
+
7372
7380
  InvalidColumnName
7373
-
7381
+
7374
7382
  InvalidIdColumnSettings
7375
-
7383
+
7376
7384
  ColumnNotExistsInTable
7377
-
7385
+
7378
7386
  InvalidStyle
7379
-
7387
+
7380
7388
  InvalidLayerType
7381
-
7389
+
7382
7390
  ColumnLoadingError
7383
-
7391
+
7384
7392
  InvalidAttributeFormat
7385
-
7393
+
7386
7394
  DataSourceNotFound
7387
-
7395
+
7388
7396
  DuplicateColumns
7389
-
7397
+
7390
7398
  DuplicateAttributes
7391
-
7399
+
7392
7400
  TableWithoutColumns
7393
-
7401
+
7394
7402
  InvalidTableReferenceConfiguration
7395
7403
  */
7396
7404
 
@@ -7426,15 +7434,15 @@ var ConfigurationErrorEnum;
7426
7434
  })(ConfigurationErrorEnum || (ConfigurationErrorEnum = {}));
7427
7435
  /**
7428
7436
  * Type of the error.
7429
-
7437
+
7430
7438
  ResourceLimitExceeded
7431
-
7439
+
7432
7440
  ResourceNotFound
7433
-
7441
+
7434
7442
  InternalError
7435
-
7443
+
7436
7444
  BadRequest
7437
-
7445
+
7438
7446
  DuplicateContent
7439
7447
  */
7440
7448
 
@@ -7485,9 +7493,9 @@ var ErrorType;
7485
7493
  })(ErrorType || (ErrorType = {}));
7486
7494
  /**
7487
7495
  * Type of the feature.
7488
-
7496
+
7489
7497
  Unknown
7490
-
7498
+
7491
7499
  GeometricFeature
7492
7500
  */
7493
7501
 
@@ -7500,11 +7508,11 @@ var FeatureType;
7500
7508
  })(FeatureType || (FeatureType = {}));
7501
7509
  /**
7502
7510
  * Sets whether font should be styled.
7503
-
7511
+
7504
7512
  normal
7505
-
7513
+
7506
7514
  oblique
7507
-
7515
+
7508
7516
  italic
7509
7517
  */
7510
7518
 
@@ -7518,27 +7526,27 @@ var FontStyle;
7518
7526
  })(FontStyle || (FontStyle = {}));
7519
7527
  /**
7520
7528
  * Specifies the weight (or boldness) of the font.
7521
-
7529
+
7522
7530
  Thin
7523
-
7531
+
7524
7532
  ExtraLight
7525
-
7533
+
7526
7534
  Light
7527
-
7535
+
7528
7536
  SemiLight
7529
-
7537
+
7530
7538
  Normal
7531
-
7539
+
7532
7540
  Medium
7533
-
7541
+
7534
7542
  DemiBold
7535
-
7543
+
7536
7544
  Bold
7537
-
7545
+
7538
7546
  ExtraBold
7539
-
7547
+
7540
7548
  Black
7541
-
7549
+
7542
7550
  ExtraBlack
7543
7551
  */
7544
7552
 
@@ -7560,17 +7568,17 @@ var FontWeight;
7560
7568
  })(FontWeight || (FontWeight = {}));
7561
7569
  /**
7562
7570
  *
7563
-
7571
+
7564
7572
  unknown
7565
-
7573
+
7566
7574
  point
7567
-
7575
+
7568
7576
  polyline
7569
-
7577
+
7570
7578
  multipolygon
7571
-
7579
+
7572
7580
  envelope
7573
-
7581
+
7574
7582
  multipoint
7575
7583
  */
7576
7584
 
@@ -7587,13 +7595,13 @@ var GeometryType;
7587
7595
  })(GeometryType || (GeometryType = {}));
7588
7596
  /**
7589
7597
  * Resource group.
7590
-
7598
+
7591
7599
  my
7592
-
7600
+
7593
7601
  role
7594
-
7602
+
7595
7603
  public
7596
-
7604
+
7597
7605
  all
7598
7606
  */
7599
7607
 
@@ -7608,13 +7616,13 @@ var Group;
7608
7616
  })(Group || (Group = {}));
7609
7617
  /**
7610
7618
  * Specifies the settings of line cap. This is applied to the beginning and end of each non-closed line.
7611
-
7619
+
7612
7620
  Flat
7613
-
7621
+
7614
7622
  Square
7615
-
7623
+
7616
7624
  Round
7617
-
7625
+
7618
7626
  Triangle
7619
7627
  */
7620
7628
 
@@ -7629,29 +7637,29 @@ var LineCapStyle;
7629
7637
  })(LineCapStyle || (LineCapStyle = {}));
7630
7638
  /**
7631
7639
  * Type of the line ending.
7632
-
7640
+
7633
7641
  none
7634
-
7642
+
7635
7643
  arrow
7636
-
7644
+
7637
7645
  filledArrow
7638
-
7646
+
7639
7647
  square
7640
-
7648
+
7641
7649
  filledSquare
7642
-
7650
+
7643
7651
  circle
7644
-
7652
+
7645
7653
  filledCircle
7646
-
7654
+
7647
7655
  diamond
7648
-
7656
+
7649
7657
  filledDiamond
7650
-
7658
+
7651
7659
  roundSquare
7652
-
7660
+
7653
7661
  filledRoundSquare
7654
-
7662
+
7655
7663
  svg
7656
7664
  */
7657
7665
 
@@ -7674,11 +7682,11 @@ var LineEndingType;
7674
7682
  })(LineEndingType || (LineEndingType = {}));
7675
7683
  /**
7676
7684
  * Specifies the settings of lines join. This is applied to corners in lines and rectangles.
7677
-
7685
+
7678
7686
  Miter
7679
-
7687
+
7680
7688
  Bevel
7681
-
7689
+
7682
7690
  Round
7683
7691
  */
7684
7692
 
@@ -7692,15 +7700,15 @@ var LineJoinType;
7692
7700
  })(LineJoinType || (LineJoinType = {}));
7693
7701
  /**
7694
7702
  *
7695
-
7703
+
7696
7704
  Unknown
7697
-
7705
+
7698
7706
  union
7699
-
7707
+
7700
7708
  intersection
7701
-
7709
+
7702
7710
  subtraction
7703
-
7711
+
7704
7712
  symDifference
7705
7713
  */
7706
7714
 
@@ -7716,9 +7724,9 @@ var Operation;
7716
7724
  })(Operation || (Operation = {}));
7717
7725
  /**
7718
7726
  * Influences the y direction of the tile coordinates. The global-mercator (aka Spherical Mercator) profile is assumed.
7719
-
7727
+
7720
7728
  xyz
7721
-
7729
+
7722
7730
  tms
7723
7731
  */
7724
7732
 
@@ -7731,19 +7739,19 @@ var PbfSchema;
7731
7739
  })(PbfSchema || (PbfSchema = {}));
7732
7740
  /**
7733
7741
  * User permissions for server security objects (services, projects etc.)
7734
-
7742
+
7735
7743
  none
7736
-
7744
+
7737
7745
  configure
7738
-
7746
+
7739
7747
  write
7740
-
7748
+
7741
7749
  read
7742
-
7750
+
7743
7751
  read,configure
7744
-
7752
+
7745
7753
  read,write
7746
-
7754
+
7747
7755
  read,write,configure
7748
7756
  */
7749
7757
 
@@ -7761,19 +7769,19 @@ var Permissions;
7761
7769
  })(Permissions || (Permissions = {}));
7762
7770
  /**
7763
7771
  * Type of the authorization policy.
7764
-
7772
+
7765
7773
  Unknown
7766
-
7774
+
7767
7775
  CreateTable
7768
-
7776
+
7769
7777
  CreateLayer
7770
-
7778
+
7771
7779
  CreateProject
7772
-
7780
+
7773
7781
  MaxFeaturesInOneTable
7774
-
7782
+
7775
7783
  MaxObjectsToExport
7776
-
7784
+
7777
7785
  MaxUploadContentSize
7778
7786
  */
7779
7787
 
@@ -7791,17 +7799,17 @@ var PolicyType;
7791
7799
  })(PolicyType || (PolicyType = {}));
7792
7800
  /**
7793
7801
  * Types of table reference.
7794
-
7802
+
7795
7803
  OneToMany
7796
-
7804
+
7797
7805
  OneToOne
7798
-
7806
+
7799
7807
  Intersect
7800
-
7808
+
7801
7809
  RightJoin
7802
-
7810
+
7803
7811
  FullJoin
7804
-
7812
+
7805
7813
  CrossJoin
7806
7814
  */
7807
7815
 
@@ -7818,19 +7826,19 @@ var ReferenceJoinType;
7818
7826
  })(ReferenceJoinType || (ReferenceJoinType = {}));
7819
7827
  /**
7820
7828
  * The `ResourceType` represents resource manager supports types.
7821
-
7829
+
7822
7830
  Unknown
7823
-
7831
+
7824
7832
  table
7825
-
7833
+
7826
7834
  layer
7827
-
7835
+
7828
7836
  project
7829
-
7837
+
7830
7838
  file
7831
-
7839
+
7832
7840
  feature
7833
-
7841
+
7834
7842
  tag
7835
7843
  */
7836
7844
 
@@ -7856,21 +7864,21 @@ var ResourceTypeLink;
7856
7864
  })(ResourceTypeLink || (ResourceTypeLink = {}));
7857
7865
  /**
7858
7866
  * Status of the server task.
7859
-
7867
+
7860
7868
  None
7861
-
7869
+
7862
7870
  Scheduled
7863
-
7871
+
7864
7872
  Planning
7865
-
7873
+
7866
7874
  Executing
7867
-
7875
+
7868
7876
  Completed
7869
-
7877
+
7870
7878
  Failed
7871
-
7879
+
7872
7880
  Canceled
7873
-
7881
+
7874
7882
  Timeout
7875
7883
  */
7876
7884
 
@@ -7889,11 +7897,11 @@ var ServerTaskStatus;
7889
7897
  })(ServerTaskStatus || (ServerTaskStatus = {}));
7890
7898
  /**
7891
7899
  * Simplify type.
7892
-
7900
+
7893
7901
  Basic
7894
-
7902
+
7895
7903
  PreserveTopology
7896
-
7904
+
7897
7905
  VW
7898
7906
  */
7899
7907
 
@@ -7907,13 +7915,13 @@ var SimplifyType;
7907
7915
  })(SimplifyType || (SimplifyType = {}));
7908
7916
  /**
7909
7917
  * The `StringSubType` provides information about string attribute subtype.
7910
-
7918
+
7911
7919
  None
7912
-
7920
+
7913
7921
  Image
7914
-
7922
+
7915
7923
  PkkCode
7916
-
7924
+
7917
7925
  Attachments
7918
7926
  */
7919
7927
 
@@ -7928,9 +7936,9 @@ var StringSubType;
7928
7936
  })(StringSubType || (StringSubType = {}));
7929
7937
  /**
7930
7938
  * Task owner group.
7931
-
7939
+
7932
7940
  my
7933
-
7941
+
7934
7942
  all
7935
7943
  */
7936
7944
 
@@ -7943,13 +7951,13 @@ var TaskGroup;
7943
7951
  })(TaskGroup || (TaskGroup = {}));
7944
7952
  /**
7945
7953
  * Sets the horizontal alignment of text.
7946
-
7954
+
7947
7955
  right
7948
-
7956
+
7949
7957
  left
7950
-
7958
+
7951
7959
  center
7952
-
7960
+
7953
7961
  justified
7954
7962
  */
7955
7963
 
@@ -7964,11 +7972,11 @@ var TextAlignment;
7964
7972
  })(TextAlignment || (TextAlignment = {}));
7965
7973
  /**
7966
7974
  * Sets the vertical alignment of text.
7967
-
7975
+
7968
7976
  top
7969
-
7977
+
7970
7978
  bottom
7971
-
7979
+
7972
7980
  middle
7973
7981
  */
7974
7982