@evergis/api 3.0.212 → 3.0.214

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,17 +165,17 @@ 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
- const API_USER_INFO_KEY = '@evergis/user-info';
178
+ const API_USER_INFO_KEY = "@evergis/user-info";
187
179
  const STORAGE_TOKEN_KEY = "evergis-jwt-token";
188
180
  const STORAGE_REFRESH_TOKEN_KEY = "evergis-refresh-token";
189
181
 
@@ -4848,6 +4840,7 @@ function isString(v) {
4848
4840
  }
4849
4841
 
4850
4842
  const addSubDomainToLocation = subDomain => window.location.protocol + "//" + subDomain + "." + window.location.host;
4843
+ const getFetchingUrlPath = urlPath => urlPath === UrlPath.Presentation ? UrlPath.Base : urlPath;
4851
4844
 
4852
4845
  const parseJwt = token => {
4853
4846
  const base64Url = token.split(".")[1];
@@ -5229,8 +5222,8 @@ let Notification = /*#__PURE__*/function (_NotificationService) {
5229
5222
  || event.code === 4002
5230
5223
  /* InvalidSession */
5231
5224
  ) {
5232
- _this.connectStatus = ConnectionStatus.SessionClosed;
5233
- } else if (_this.reconnectTries < _this.MAX_WS_RECONNECT_TRIES) {
5225
+ _this.connectStatus = ConnectionStatus.SessionClosed;
5226
+ } else if (_this.reconnectTries < _this.MAX_WS_RECONNECT_TRIES) {
5234
5227
  _this.connectStatus = ConnectionStatus.Break;
5235
5228
  _this.reconnectTries++;
5236
5229
 
@@ -6086,12 +6079,12 @@ let Resources = /*#__PURE__*/function () {
6086
6079
  }, {
6087
6080
  key: "getDependentNames",
6088
6081
  value: function getDependentNames(deps, depType) {
6089
- return deps.filter(_ref => {
6082
+ return deps.filter((_ref) => {
6090
6083
  let {
6091
6084
  type
6092
6085
  } = _ref;
6093
6086
  return type === depType;
6094
- }).map(_ref2 => {
6087
+ }).map((_ref2) => {
6095
6088
  let {
6096
6089
  name
6097
6090
  } = _ref2;
@@ -6547,7 +6540,7 @@ let Scheduler = /*#__PURE__*/function (_SchedulerService) {
6547
6540
  const taskProgress = await this.getTaskProgress(id);
6548
6541
  this.resolveTaskStatus(taskProgress, resolve, reject);
6549
6542
 
6550
- const taskResultCallback = async _ref => {
6543
+ const taskResultCallback = async (_ref) => {
6551
6544
  let {
6552
6545
  data
6553
6546
  } = _ref;
@@ -7727,7 +7720,12 @@ let Api = /*#__PURE__*/function (_EventEmitter) {
7727
7720
  } = httpOptions || {};
7728
7721
  _this.http = http || new HttpClient(_extends({
7729
7722
  prefixUrl: url,
7730
- timeout: false
7723
+ timeout: false,
7724
+ retry: {
7725
+ methods: ["get", "post", "delete"],
7726
+ limit: 5,
7727
+ statusCodes: [401]
7728
+ }
7731
7729
  }, httpOptions || {}, {
7732
7730
  hooks: _extends({}, hooks || {}, {
7733
7731
  beforeRequest: [request => {
@@ -7736,14 +7734,44 @@ let Api = /*#__PURE__*/function (_EventEmitter) {
7736
7734
  if (token) {
7737
7735
  var _request$headers;
7738
7736
 
7739
- (_request$headers = request.headers) == null ? void 0 : _request$headers.set('Authorization', "Bearer " + (token || ''));
7737
+ (_request$headers = request.headers) == null ? void 0 : _request$headers.set("Authorization", "Bearer " + (token || ""));
7740
7738
  }
7741
7739
  }, ...((_hooks$beforeRequest = hooks == null ? void 0 : hooks.beforeRequest) != null ? _hooks$beforeRequest : [])],
7742
- afterResponse: [response => {
7740
+ beforeRetry: [async (_ref2) => {
7741
+ let {
7742
+ request,
7743
+ error,
7744
+ retryCount
7745
+ } = _ref2;
7746
+
7747
+ if (error instanceof HTTPError && error.response.status === 401 && retryCount === 1) {
7748
+ try {
7749
+ const refreshToken = window.localStorage.getItem(STORAGE_REFRESH_TOKEN_KEY);
7750
+
7751
+ if (refreshToken) {
7752
+ var _request$headers2;
7753
+
7754
+ const refreshTokenResponse = await _this.account.refreshToken({
7755
+ refreshToken
7756
+ });
7757
+
7758
+ if (refreshTokenResponse) {
7759
+ window.localStorage.setItem(STORAGE_TOKEN_KEY, refreshTokenResponse.token);
7760
+ window.localStorage.setItem(STORAGE_REFRESH_TOKEN_KEY, refreshTokenResponse.refreshToken);
7761
+ }
7762
+
7763
+ (_request$headers2 = request.headers) == null ? void 0 : _request$headers2.set("Authorization", "Bearer " + (refreshTokenResponse.token || ""));
7764
+ }
7765
+ } catch (error) {
7766
+ throw new Error("Failed to refresh token");
7767
+ }
7768
+ }
7769
+ }],
7770
+ afterResponse: [(request, options, response) => {
7743
7771
  const apiEvent = apiEventsByResponseStatus[response.status];
7744
7772
 
7745
7773
  if (apiEvent) {
7746
- _this.emit(apiEvent, errorHandler(new HTTPError(response)));
7774
+ _this.emit(apiEvent, errorHandler(new HTTPError(response, request, options)));
7747
7775
  }
7748
7776
 
7749
7777
  return response;
@@ -7800,7 +7828,7 @@ let Api = /*#__PURE__*/function (_EventEmitter) {
7800
7828
 
7801
7829
  _createClass(Api, [{
7802
7830
  key: "init",
7803
- value: async function init(_ref2) {
7831
+ value: async function init(_ref3) {
7804
7832
  let {
7805
7833
  authParams,
7806
7834
  authQueryParams,
@@ -7809,7 +7837,7 @@ let Api = /*#__PURE__*/function (_EventEmitter) {
7809
7837
  fetchSettings,
7810
7838
  fetchUser,
7811
7839
  useJwt
7812
- } = _ref2;
7840
+ } = _ref3;
7813
7841
 
7814
7842
  try {
7815
7843
  await this.account.login(authParams, authQueryParams, useJwt);
@@ -7828,7 +7856,7 @@ let Api = /*#__PURE__*/function (_EventEmitter) {
7828
7856
 
7829
7857
  if (fetchSettings) {
7830
7858
  await this.clientSettings.fetchClientSettings({
7831
- urlPath: this.urlPath
7859
+ urlPath: getFetchingUrlPath(this.urlPath)
7832
7860
  });
7833
7861
  }
7834
7862
 
@@ -8278,47 +8306,47 @@ function isFeatureLayer(layer) {
8278
8306
 
8279
8307
  /**
8280
8308
  *
8281
-
8309
+
8282
8310
  None
8283
-
8311
+
8284
8312
  Array
8285
-
8313
+
8286
8314
  Min
8287
-
8315
+
8288
8316
  Max
8289
-
8317
+
8290
8318
  Avg
8291
-
8319
+
8292
8320
  Sum
8293
-
8321
+
8294
8322
  Extent
8295
-
8323
+
8296
8324
  H3
8297
-
8325
+
8298
8326
  Count
8299
-
8327
+
8300
8328
  TotalCount
8301
-
8329
+
8302
8330
  DistinctCount
8303
-
8331
+
8304
8332
  First
8305
-
8333
+
8306
8334
  Last
8307
-
8335
+
8308
8336
  Median
8309
-
8337
+
8310
8338
  Mod
8311
-
8339
+
8312
8340
  StdDeviation
8313
-
8341
+
8314
8342
  SumOfProduct
8315
-
8343
+
8316
8344
  OnlyValue
8317
-
8345
+
8318
8346
  WeightedAvg
8319
-
8347
+
8320
8348
  DensityIndicators
8321
-
8349
+
8322
8350
  DividedSum
8323
8351
  */
8324
8352
  var AggregationFunction;
@@ -8348,13 +8376,13 @@ var AggregationFunction;
8348
8376
  })(AggregationFunction || (AggregationFunction = {}));
8349
8377
  /**
8350
8378
  *
8351
-
8379
+
8352
8380
  Unknown
8353
-
8381
+
8354
8382
  Icon
8355
-
8383
+
8356
8384
  PNG
8357
-
8385
+
8358
8386
  SVG
8359
8387
  */
8360
8388
 
@@ -8369,13 +8397,13 @@ var AttributeIconType;
8369
8397
  })(AttributeIconType || (AttributeIconType = {}));
8370
8398
  /**
8371
8399
  *
8372
-
8400
+
8373
8401
  None
8374
-
8402
+
8375
8403
  SelectFromHandBook
8376
-
8404
+
8377
8405
  SelectFromRange
8378
-
8406
+
8379
8407
  ViewHandBook
8380
8408
  */
8381
8409
 
@@ -8390,31 +8418,31 @@ var AttributeSelectorType;
8390
8418
  })(AttributeSelectorType || (AttributeSelectorType = {}));
8391
8419
  /**
8392
8420
  *
8393
-
8421
+
8394
8422
  Unknown
8395
-
8423
+
8396
8424
  String
8397
-
8425
+
8398
8426
  Int32
8399
-
8427
+
8400
8428
  Int64
8401
-
8429
+
8402
8430
  Double
8403
-
8431
+
8404
8432
  DateTime
8405
-
8433
+
8406
8434
  Boolean
8407
-
8435
+
8408
8436
  Point
8409
-
8437
+
8410
8438
  Polyline
8411
-
8439
+
8412
8440
  MultiPolygon
8413
-
8441
+
8414
8442
  Multipoint
8415
-
8443
+
8416
8444
  H3Index
8417
-
8445
+
8418
8446
  Json
8419
8447
  */
8420
8448
 
@@ -8440,9 +8468,9 @@ var AttributeType;
8440
8468
  * An authorization grant is a credential representing the resource
8441
8469
  owner's authorization (to access its protected resources) used by the
8442
8470
  client to obtain an access token.
8443
-
8471
+
8444
8472
  authorization_code
8445
-
8473
+
8446
8474
  refresh_token
8447
8475
  */
8448
8476
 
@@ -8455,19 +8483,19 @@ var AuthorizationGrant;
8455
8483
  })(AuthorizationGrant || (AuthorizationGrant = {}));
8456
8484
  /**
8457
8485
  *
8458
-
8486
+
8459
8487
  None
8460
-
8488
+
8461
8489
  Map
8462
-
8490
+
8463
8491
  Layer
8464
-
8492
+
8465
8493
  Table
8466
-
8494
+
8467
8495
  File
8468
-
8496
+
8469
8497
  TaskPrototype
8470
-
8498
+
8471
8499
  DataSource
8472
8500
  */
8473
8501
 
@@ -8485,15 +8513,15 @@ var CatalogResourceType;
8485
8513
  })(CatalogResourceType || (CatalogResourceType = {}));
8486
8514
  /**
8487
8515
  * Describes classification methods.
8488
-
8516
+
8489
8517
  none
8490
-
8518
+
8491
8519
  naturalBreaks
8492
-
8520
+
8493
8521
  equalInterval
8494
-
8522
+
8495
8523
  quantile
8496
-
8524
+
8497
8525
  unique
8498
8526
  */
8499
8527
 
@@ -8509,11 +8537,11 @@ var ClassificationType;
8509
8537
  })(ClassificationType || (ClassificationType = {}));
8510
8538
  /**
8511
8539
  *
8512
-
8540
+
8513
8541
  decimal
8514
-
8542
+
8515
8543
  dateTime
8516
-
8544
+
8517
8545
  text
8518
8546
  */
8519
8547
 
@@ -8527,55 +8555,55 @@ var ClassifyAttributeType;
8527
8555
  })(ClassifyAttributeType || (ClassifyAttributeType = {}));
8528
8556
  /**
8529
8557
  *
8530
-
8558
+
8531
8559
  Unknown
8532
-
8560
+
8533
8561
  SerializeError
8534
-
8562
+
8535
8563
  InvalidDataService
8536
-
8564
+
8537
8565
  InvalidConfiguration
8538
-
8566
+
8539
8567
  InvalidDataServiceName
8540
-
8568
+
8541
8569
  InvalidTableName
8542
-
8570
+
8543
8571
  InvalidLayerName
8544
-
8572
+
8545
8573
  ResourceNotFound
8546
-
8574
+
8547
8575
  InvalidCondition
8548
-
8576
+
8549
8577
  InvalidAttributes
8550
-
8578
+
8551
8579
  InvalidIdAttribute
8552
-
8580
+
8553
8581
  InvalidGeometryAttribute
8554
-
8582
+
8555
8583
  InvalidGeometryAttributeType
8556
-
8584
+
8557
8585
  InvalidColumnName
8558
-
8586
+
8559
8587
  InvalidIdColumnSettings
8560
-
8588
+
8561
8589
  ColumnNotExistsInTable
8562
-
8590
+
8563
8591
  InvalidStyle
8564
-
8592
+
8565
8593
  InvalidLayerType
8566
-
8594
+
8567
8595
  ColumnLoadingError
8568
-
8596
+
8569
8597
  InvalidAttributeFormat
8570
-
8598
+
8571
8599
  DataSourceNotFound
8572
-
8600
+
8573
8601
  DuplicateColumns
8574
-
8602
+
8575
8603
  DuplicateAttributes
8576
-
8604
+
8577
8605
  TableWithoutColumns
8578
-
8606
+
8579
8607
  InvalidTableReferenceConfiguration
8580
8608
  */
8581
8609
 
@@ -8611,13 +8639,13 @@ var ConfigurationErrorEnum;
8611
8639
  })(ConfigurationErrorEnum || (ConfigurationErrorEnum = {}));
8612
8640
  /**
8613
8641
  *
8614
-
8642
+
8615
8643
  Postgres
8616
-
8644
+
8617
8645
  Trino
8618
-
8646
+
8619
8647
  S3
8620
-
8648
+
8621
8649
  GisServer
8622
8650
  */
8623
8651
 
@@ -8632,15 +8660,15 @@ var DataSourceType;
8632
8660
  })(DataSourceType || (DataSourceType = {}));
8633
8661
  /**
8634
8662
  * Type of the error.
8635
-
8663
+
8636
8664
  ResourceLimitExceeded
8637
-
8665
+
8638
8666
  ResourceNotFound
8639
-
8667
+
8640
8668
  InternalError
8641
-
8669
+
8642
8670
  BadRequest
8643
-
8671
+
8644
8672
  DuplicateContent
8645
8673
  */
8646
8674
 
@@ -8691,9 +8719,9 @@ var ErrorType;
8691
8719
  })(ErrorType || (ErrorType = {}));
8692
8720
  /**
8693
8721
  * Type of the feature.
8694
-
8722
+
8695
8723
  Unknown
8696
-
8724
+
8697
8725
  GeometricFeature
8698
8726
  */
8699
8727
 
@@ -8706,11 +8734,11 @@ var FeatureType;
8706
8734
  })(FeatureType || (FeatureType = {}));
8707
8735
  /**
8708
8736
  * Sets whether font should be styled.
8709
-
8737
+
8710
8738
  normal
8711
-
8739
+
8712
8740
  oblique
8713
-
8741
+
8714
8742
  italic
8715
8743
  */
8716
8744
 
@@ -8724,27 +8752,27 @@ var FontStyle;
8724
8752
  })(FontStyle || (FontStyle = {}));
8725
8753
  /**
8726
8754
  * Specifies the weight (or boldness) of the font.
8727
-
8755
+
8728
8756
  Thin
8729
-
8757
+
8730
8758
  ExtraLight
8731
-
8759
+
8732
8760
  Light
8733
-
8761
+
8734
8762
  SemiLight
8735
-
8763
+
8736
8764
  Normal
8737
-
8765
+
8738
8766
  Medium
8739
-
8767
+
8740
8768
  DemiBold
8741
-
8769
+
8742
8770
  Bold
8743
-
8771
+
8744
8772
  ExtraBold
8745
-
8773
+
8746
8774
  Black
8747
-
8775
+
8748
8776
  ExtraBlack
8749
8777
  */
8750
8778
 
@@ -8766,17 +8794,17 @@ var FontWeight;
8766
8794
  })(FontWeight || (FontWeight = {}));
8767
8795
  /**
8768
8796
  *
8769
-
8797
+
8770
8798
  unknown
8771
-
8799
+
8772
8800
  point
8773
-
8801
+
8774
8802
  polyline
8775
-
8803
+
8776
8804
  multipolygon
8777
-
8805
+
8778
8806
  envelope
8779
-
8807
+
8780
8808
  multipoint
8781
8809
  */
8782
8810
 
@@ -8793,13 +8821,13 @@ var GeometryType;
8793
8821
  })(GeometryType || (GeometryType = {}));
8794
8822
  /**
8795
8823
  * Resource group.
8796
-
8824
+
8797
8825
  my
8798
-
8826
+
8799
8827
  role
8800
-
8828
+
8801
8829
  public
8802
-
8830
+
8803
8831
  all
8804
8832
  */
8805
8833
 
@@ -8814,13 +8842,13 @@ var Group;
8814
8842
  })(Group || (Group = {}));
8815
8843
  /**
8816
8844
  * Specifies the settings of line cap. This is applied to the beginning and end of each non-closed line.
8817
-
8845
+
8818
8846
  Flat
8819
-
8847
+
8820
8848
  Square
8821
-
8849
+
8822
8850
  Round
8823
-
8851
+
8824
8852
  Triangle
8825
8853
  */
8826
8854
 
@@ -8835,29 +8863,29 @@ var LineCapStyle;
8835
8863
  })(LineCapStyle || (LineCapStyle = {}));
8836
8864
  /**
8837
8865
  * Type of the line ending.
8838
-
8866
+
8839
8867
  none
8840
-
8868
+
8841
8869
  arrow
8842
-
8870
+
8843
8871
  filledArrow
8844
-
8872
+
8845
8873
  square
8846
-
8874
+
8847
8875
  filledSquare
8848
-
8876
+
8849
8877
  circle
8850
-
8878
+
8851
8879
  filledCircle
8852
-
8880
+
8853
8881
  diamond
8854
-
8882
+
8855
8883
  filledDiamond
8856
-
8884
+
8857
8885
  roundSquare
8858
-
8886
+
8859
8887
  filledRoundSquare
8860
-
8888
+
8861
8889
  svg
8862
8890
  */
8863
8891
 
@@ -8880,11 +8908,11 @@ var LineEndingType;
8880
8908
  })(LineEndingType || (LineEndingType = {}));
8881
8909
  /**
8882
8910
  * Specifies the settings of lines join. This is applied to corners in lines and rectangles.
8883
-
8911
+
8884
8912
  Miter
8885
-
8913
+
8886
8914
  Bevel
8887
-
8915
+
8888
8916
  Round
8889
8917
  */
8890
8918
 
@@ -8898,15 +8926,15 @@ var LineJoinType;
8898
8926
  })(LineJoinType || (LineJoinType = {}));
8899
8927
  /**
8900
8928
  *
8901
-
8929
+
8902
8930
  Unknown
8903
-
8931
+
8904
8932
  union
8905
-
8933
+
8906
8934
  intersection
8907
-
8935
+
8908
8936
  subtraction
8909
-
8937
+
8910
8938
  symDifference
8911
8939
  */
8912
8940
 
@@ -8922,11 +8950,11 @@ var Operation;
8922
8950
  })(Operation || (Operation = {}));
8923
8951
  /**
8924
8952
  * Filter exists resources by owner.
8925
-
8953
+
8926
8954
  My
8927
-
8955
+
8928
8956
  Shared
8929
-
8957
+
8930
8958
  Public
8931
8959
  */
8932
8960
 
@@ -8940,9 +8968,9 @@ var OwnerFilter;
8940
8968
  })(OwnerFilter || (OwnerFilter = {}));
8941
8969
  /**
8942
8970
  * Influences the y direction of the tile coordinates. The global-mercator (aka Spherical Mercator) profile is assumed.
8943
-
8971
+
8944
8972
  xyz
8945
-
8973
+
8946
8974
  tms
8947
8975
  */
8948
8976
 
@@ -8955,19 +8983,19 @@ var PbfSchema;
8955
8983
  })(PbfSchema || (PbfSchema = {}));
8956
8984
  /**
8957
8985
  *
8958
-
8986
+
8959
8987
  none
8960
-
8988
+
8961
8989
  configure
8962
-
8990
+
8963
8991
  write
8964
-
8992
+
8965
8993
  read
8966
-
8994
+
8967
8995
  read,configure
8968
-
8996
+
8969
8997
  read,write
8970
-
8998
+
8971
8999
  read,write,configure
8972
9000
  */
8973
9001
 
@@ -8985,19 +9013,19 @@ var Permissions;
8985
9013
  })(Permissions || (Permissions = {}));
8986
9014
  /**
8987
9015
  * Type of the authorization policy.
8988
-
9016
+
8989
9017
  Unknown
8990
-
9018
+
8991
9019
  CreateTable
8992
-
9020
+
8993
9021
  CreateLayer
8994
-
9022
+
8995
9023
  CreateProject
8996
-
9024
+
8997
9025
  MaxFeaturesInOneTable
8998
-
9026
+
8999
9027
  MaxObjectsToExport
9000
-
9028
+
9001
9029
  MaxUploadContentSize
9002
9030
  */
9003
9031
 
@@ -9015,11 +9043,11 @@ var PolicyType;
9015
9043
  })(PolicyType || (PolicyType = {}));
9016
9044
  /**
9017
9045
  * Stream quality.
9018
-
9046
+
9019
9047
  Low
9020
-
9048
+
9021
9049
  Medium
9022
-
9050
+
9023
9051
  High
9024
9052
  */
9025
9053
 
@@ -9033,15 +9061,15 @@ var Quality;
9033
9061
  })(Quality || (Quality = {}));
9034
9062
  /**
9035
9063
  * Resources types filter.
9036
-
9064
+
9037
9065
  RemoteTileService
9038
-
9066
+
9039
9067
  ProxyService
9040
-
9068
+
9041
9069
  PostgresLayerService
9042
-
9070
+
9043
9071
  QueryLayerService
9044
-
9072
+
9045
9073
  TileCatalogTable
9046
9074
  */
9047
9075
 
@@ -9057,19 +9085,19 @@ var ResourceSubTypeFilter;
9057
9085
  })(ResourceSubTypeFilter || (ResourceSubTypeFilter = {}));
9058
9086
  /**
9059
9087
  *
9060
-
9088
+
9061
9089
  Unknown
9062
-
9090
+
9063
9091
  table
9064
-
9092
+
9065
9093
  layer
9066
-
9094
+
9067
9095
  project
9068
-
9096
+
9069
9097
  file
9070
-
9098
+
9071
9099
  feature
9072
-
9100
+
9073
9101
  tag
9074
9102
  */
9075
9103
 
@@ -9087,21 +9115,21 @@ var ResourceType;
9087
9115
  })(ResourceType || (ResourceType = {}));
9088
9116
  /**
9089
9117
  * Resources types filter.
9090
-
9118
+
9091
9119
  Map
9092
-
9120
+
9093
9121
  Layer
9094
-
9122
+
9095
9123
  Table
9096
-
9124
+
9097
9125
  RasterCatalog
9098
-
9126
+
9099
9127
  ProxyService
9100
-
9128
+
9101
9129
  RemoteTileService
9102
-
9130
+
9103
9131
  File
9104
-
9132
+
9105
9133
  DataSource
9106
9134
  */
9107
9135
 
@@ -9128,9 +9156,9 @@ var ResourceTypeLink;
9128
9156
  })(ResourceTypeLink || (ResourceTypeLink = {}));
9129
9157
  /**
9130
9158
  * Response type.
9131
-
9159
+
9132
9160
  code
9133
-
9161
+
9134
9162
  token
9135
9163
  */
9136
9164
 
@@ -9143,21 +9171,21 @@ var ResponseType;
9143
9171
  })(ResponseType || (ResponseType = {}));
9144
9172
  /**
9145
9173
  * Status of the server task.
9146
-
9174
+
9147
9175
  None
9148
-
9176
+
9149
9177
  Scheduled
9150
-
9178
+
9151
9179
  Planning
9152
-
9180
+
9153
9181
  Executing
9154
-
9182
+
9155
9183
  Completed
9156
-
9184
+
9157
9185
  Failed
9158
-
9186
+
9159
9187
  Canceled
9160
-
9188
+
9161
9189
  Timeout
9162
9190
  */
9163
9191
 
@@ -9176,11 +9204,11 @@ var ServerTaskStatus;
9176
9204
  })(ServerTaskStatus || (ServerTaskStatus = {}));
9177
9205
  /**
9178
9206
  *
9179
-
9207
+
9180
9208
  Basic
9181
-
9209
+
9182
9210
  PreserveTopology
9183
-
9211
+
9184
9212
  VW
9185
9213
  */
9186
9214
 
@@ -9194,13 +9222,13 @@ var SimplifyType;
9194
9222
  })(SimplifyType || (SimplifyType = {}));
9195
9223
  /**
9196
9224
  *
9197
-
9225
+
9198
9226
  None
9199
-
9227
+
9200
9228
  Image
9201
-
9229
+
9202
9230
  PkkCode
9203
-
9231
+
9204
9232
  Attachments
9205
9233
  */
9206
9234
 
@@ -9215,9 +9243,9 @@ var StringSubType;
9215
9243
  })(StringSubType || (StringSubType = {}));
9216
9244
  /**
9217
9245
  * Task owner group.
9218
-
9246
+
9219
9247
  my
9220
-
9248
+
9221
9249
  all
9222
9250
  */
9223
9251
 
@@ -9230,13 +9258,13 @@ var TaskGroup;
9230
9258
  })(TaskGroup || (TaskGroup = {}));
9231
9259
  /**
9232
9260
  * Sets the horizontal alignment of text.
9233
-
9261
+
9234
9262
  right
9235
-
9263
+
9236
9264
  left
9237
-
9265
+
9238
9266
  center
9239
-
9267
+
9240
9268
  justified
9241
9269
  */
9242
9270
 
@@ -9251,11 +9279,11 @@ var TextAlignment;
9251
9279
  })(TextAlignment || (TextAlignment = {}));
9252
9280
  /**
9253
9281
  * Sets the vertical alignment of text.
9254
-
9282
+
9255
9283
  top
9256
-
9284
+
9257
9285
  bottom
9258
-
9286
+
9259
9287
  middle
9260
9288
  */
9261
9289
 
@@ -9268,5 +9296,5 @@ var TextVerticalAlignment;
9268
9296
  TextVerticalAlignment["Middle"] = "middle";
9269
9297
  })(TextVerticalAlignment || (TextVerticalAlignment = {}));
9270
9298
 
9271
- export { Account, AccountPreview, AggregationFunction, Api, ApiEvent, AttributeIconType, AttributeSelectorType, AttributeType, AuthorizationGrant, BulkOperations, Cameras, CatalogResourceType, ClassificationType, ClassifyAttributeType, ClientSettings, ConfigurationErrorEnum, ConnectionStatus, DataSourceType, DependencyType, Eql, ErrorDetailsType, ErrorReason, ErrorType, EvergisDynamicLayer, EvergisTileLayer, External, FeatureType, Feedback, FileUpload, Filters, FontStyle, FontWeight, GEOCODE_PROVIDER, General, Geocode, GeometryType, Group, HttpClient, IceRouter, Import, Layers, LayersManager, LineCapStyle, LineEndingType, LineJoinType, Names, Namespace, Notification, NotificationEvent, Operation, OwnerFilter, PbfSchema, Permissions, PolicyType, PortalSettings, Print, Projects, Quality, ResourceCatalog, ResourceSeparator, ResourceSubTypeFilter, ResourceType, ResourceTypeFilter, ResourceTypeLink, Resources, ResponseType, STORAGE_REFRESH_TOKEN_KEY, STORAGE_TOKEN_KEY, Scheduler, Security, ServerTaskStatus, SimplifyType, SpatialProcessor, Statistic, StringSubType, Styles, Tables, TaskGroup, TextAlignment, TextVerticalAlignment, Tools, UrlPath, VectorTiles, addSubDomainToLocation, errorHandler, formDataFromFile, generateId, isEvergisDynamicLayer, isEvergisTileLayer, isFeatureLayer, isHTTPError, isHandledError, isLayer, isProjectContentItems, isString, isTileLayerService, parseJwt, promiseAllIgnoreErrors, stripUselessSlashes, toFormData, unique };
9299
+ export { Account, AccountPreview, AggregationFunction, Api, ApiEvent, AttributeIconType, AttributeSelectorType, AttributeType, AuthorizationGrant, BulkOperations, Cameras, CatalogResourceType, ClassificationType, ClassifyAttributeType, ClientSettings, ConfigurationErrorEnum, ConnectionStatus, DataSourceType, DependencyType, Eql, ErrorDetailsType, ErrorReason, ErrorType, EvergisDynamicLayer, EvergisTileLayer, External, FeatureType, Feedback, FileUpload, Filters, FontStyle, FontWeight, GEOCODE_PROVIDER, General, Geocode, GeometryType, Group, HttpClient, IceRouter, Import, Layers, LayersManager, LineCapStyle, LineEndingType, LineJoinType, Names, Namespace, Notification, NotificationEvent, Operation, OwnerFilter, PbfSchema, Permissions, PolicyType, PortalSettings, Print, Projects, Quality, ResourceCatalog, ResourceSeparator, ResourceSubTypeFilter, ResourceType, ResourceTypeFilter, ResourceTypeLink, Resources, ResponseType, STORAGE_REFRESH_TOKEN_KEY, STORAGE_TOKEN_KEY, Scheduler, Security, ServerTaskStatus, SimplifyType, SpatialProcessor, Statistic, StringSubType, Styles, Tables, TaskGroup, TextAlignment, TextVerticalAlignment, Tools, UrlPath, VectorTiles, addSubDomainToLocation, errorHandler, formDataFromFile, generateId, getFetchingUrlPath, isEvergisDynamicLayer, isEvergisTileLayer, isFeatureLayer, isHTTPError, isHandledError, isLayer, isProjectContentItems, isString, isTileLayerService, parseJwt, promiseAllIgnoreErrors, stripUselessSlashes, toFormData, unique };
9272
9300
  //# sourceMappingURL=api.esm.js.map