@evergis/api 3.0.198 → 3.0.200

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,16 +165,26 @@ 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
 
178
+ const STORAGE_TOKEN_KEY = "evergis-jwt-token";
179
+ const STORAGE_REFRESH_TOKEN_KEY = "evergis-jwt-token";
180
+
181
+ const parseJwt = token => {
182
+ const base64Url = token.split(".")[1];
183
+ const base64 = base64Url.replace(/-/g, "+").replace(/_/g, "/");
184
+ const jsonPayload = decodeURIComponent(atob(base64).split("").map(c => "%" + "00".concat(c.charCodeAt(0).toString(16)).slice(-2)).join(""));
185
+ return JSON.parse(jsonPayload);
186
+ };
187
+
186
188
  let HttpClient = /*#__PURE__*/function () {
187
189
  function HttpClient(options) {
188
190
  var _options$prefixUrl;
@@ -202,7 +204,30 @@ let HttpClient = /*#__PURE__*/function () {
202
204
  value: function extend(options) {
203
205
  var _options$prefixUrl2;
204
206
 
205
- this.ky = ky.extend(options);
207
+ this.ky = ky.extend(_extends({}, options, {
208
+ hooks: {
209
+ beforeRequest: [async request => {
210
+ const token = window.localStorage.getItem(STORAGE_TOKEN_KEY);
211
+ const refreshToken = window.localStorage.getItem(STORAGE_REFRESH_TOKEN_KEY);
212
+
213
+ if (token) {
214
+ var _request$headers;
215
+
216
+ const {
217
+ exp
218
+ } = parseJwt(token) || {};
219
+
220
+ if (typeof exp === 'number' && exp - new Date().getTime() < 60 * 1000) {
221
+ await this.post("/account/refresh-token", {
222
+ refreshToken
223
+ });
224
+ }
225
+
226
+ (_request$headers = request.headers) == null ? void 0 : _request$headers.set('Authorization', "Bearer " + (token || ''));
227
+ }
228
+ }]
229
+ }
230
+ }));
206
231
  this.prefixUrl = ((_options$prefixUrl2 = options.prefixUrl) == null ? void 0 : _options$prefixUrl2.toString()) || '';
207
232
  }
208
233
  }, {
@@ -1167,7 +1192,7 @@ let AccountService = /*#__PURE__*/function (_Service) {
1167
1192
  }, {
1168
1193
  key: "authenticate",
1169
1194
  value: function authenticate(query, data) {
1170
- return this.http.post("/account/login", data, query).text();
1195
+ return this.http.post("/account/login", data, query).json();
1171
1196
  }
1172
1197
  /**
1173
1198
  * No description
@@ -1182,8 +1207,8 @@ let AccountService = /*#__PURE__*/function (_Service) {
1182
1207
 
1183
1208
  }, {
1184
1209
  key: "refreshToken",
1185
- value: function refreshToken() {
1186
- return this.http.post("/account/refresh-token", null).text();
1210
+ value: function refreshToken(data) {
1211
+ return this.http.post("/account/refresh-token", data).text();
1187
1212
  }
1188
1213
  /**
1189
1214
  * No description
@@ -1215,7 +1240,7 @@ let AccountService = /*#__PURE__*/function (_Service) {
1215
1240
  }, {
1216
1241
  key: "ldapLogin",
1217
1242
  value: function ldapLogin(data) {
1218
- return this.http.post("/account/external/login/ldap", data).then(() => {});
1243
+ return this.http.post("/account/external/login/ldap", data).json();
1219
1244
  }
1220
1245
  /**
1221
1246
  * No description
@@ -1439,13 +1464,18 @@ let Account = /*#__PURE__*/function (_AccountService) {
1439
1464
 
1440
1465
  _createClass(Account, [{
1441
1466
  key: "login",
1442
- value: async function login(params, authParams) {
1467
+ value: function login(params, authParams) {
1443
1468
  if (authParams === void 0) {
1444
1469
  authParams = {};
1445
1470
  }
1446
1471
 
1447
1472
  if (params) {
1448
- await _get(_getPrototypeOf(Account.prototype), "authenticate", this).call(this, authParams, params);
1473
+ _get(_getPrototypeOf(Account.prototype), "authenticate", this).call(this, authParams, params).then(resonse => {
1474
+ if (resonse) {
1475
+ window.localStorage.setItem(STORAGE_TOKEN_KEY, resonse.token);
1476
+ window.localStorage.setItem(STORAGE_REFRESH_TOKEN_KEY, resonse.refreshToken);
1477
+ }
1478
+ });
1449
1479
  }
1450
1480
  }
1451
1481
  }, {
@@ -1464,8 +1494,10 @@ let Account = /*#__PURE__*/function (_AccountService) {
1464
1494
  }, {
1465
1495
  key: "logout",
1466
1496
  value: async function logout() {
1497
+ window.localStorage.removeItem(STORAGE_TOKEN_KEY);
1498
+ window.localStorage.removeItem(STORAGE_REFRESH_TOKEN_KEY);
1467
1499
  await this.revokeToken();
1468
- updateUserInfo(void 0);
1500
+ updateUserInfo(undefined);
1469
1501
  this.userInfo = {};
1470
1502
  }
1471
1503
  }, {
@@ -5054,8 +5086,8 @@ let Notification = /*#__PURE__*/function (_NotificationService) {
5054
5086
  || event.code === 4002
5055
5087
  /* InvalidSession */
5056
5088
  ) {
5057
- _this.connectStatus = ConnectionStatus.SessionClosed;
5058
- } else if (_this.reconnectTries < _this.MAX_WS_RECONNECT_TRIES) {
5089
+ _this.connectStatus = ConnectionStatus.SessionClosed;
5090
+ } else if (_this.reconnectTries < _this.MAX_WS_RECONNECT_TRIES) {
5059
5091
  _this.connectStatus = ConnectionStatus.Break;
5060
5092
  _this.reconnectTries++;
5061
5093
 
@@ -5889,12 +5921,12 @@ let Resources = /*#__PURE__*/function () {
5889
5921
  }, {
5890
5922
  key: "getDependentNames",
5891
5923
  value: function getDependentNames(deps, depType) {
5892
- return deps.filter(_ref => {
5924
+ return deps.filter((_ref) => {
5893
5925
  let {
5894
5926
  type
5895
5927
  } = _ref;
5896
5928
  return type === depType;
5897
- }).map(_ref2 => {
5929
+ }).map((_ref2) => {
5898
5930
  let {
5899
5931
  name
5900
5932
  } = _ref2;
@@ -6350,7 +6382,7 @@ let Scheduler = /*#__PURE__*/function (_SchedulerService) {
6350
6382
  const taskProgress = await this.getTaskProgress(id);
6351
6383
  this.resolveTaskStatus(taskProgress, resolve, reject);
6352
6384
 
6353
- const taskResultCallback = async _ref => {
6385
+ const taskResultCallback = async (_ref) => {
6354
6386
  let {
6355
6387
  data
6356
6388
  } = _ref;
@@ -7601,7 +7633,7 @@ let Api = /*#__PURE__*/function (_EventEmitter) {
7601
7633
  } = _ref2;
7602
7634
 
7603
7635
  try {
7604
- await this.account.login(authParams, authQueryParams);
7636
+ this.account.login(authParams, authQueryParams);
7605
7637
 
7606
7638
  if (fetchUser) {
7607
7639
  await this.account.fetchCurrentUser();
@@ -8062,47 +8094,47 @@ function isFeatureLayer(layer) {
8062
8094
 
8063
8095
  /**
8064
8096
  *
8065
-
8097
+
8066
8098
  None
8067
-
8099
+
8068
8100
  Array
8069
-
8101
+
8070
8102
  Min
8071
-
8103
+
8072
8104
  Max
8073
-
8105
+
8074
8106
  Avg
8075
-
8107
+
8076
8108
  Sum
8077
-
8109
+
8078
8110
  Extent
8079
-
8111
+
8080
8112
  H3
8081
-
8113
+
8082
8114
  Count
8083
-
8115
+
8084
8116
  TotalCount
8085
-
8117
+
8086
8118
  DistinctCount
8087
-
8119
+
8088
8120
  First
8089
-
8121
+
8090
8122
  Last
8091
-
8123
+
8092
8124
  Median
8093
-
8125
+
8094
8126
  Mod
8095
-
8127
+
8096
8128
  StdDeviation
8097
-
8129
+
8098
8130
  SumOfProduct
8099
-
8131
+
8100
8132
  OnlyValue
8101
-
8133
+
8102
8134
  WeightedAvg
8103
-
8135
+
8104
8136
  DensityIndicators
8105
-
8137
+
8106
8138
  DividedSum
8107
8139
  */
8108
8140
  var AggregationFunction;
@@ -8132,13 +8164,13 @@ var AggregationFunction;
8132
8164
  })(AggregationFunction || (AggregationFunction = {}));
8133
8165
  /**
8134
8166
  *
8135
-
8167
+
8136
8168
  Unknown
8137
-
8169
+
8138
8170
  Icon
8139
-
8171
+
8140
8172
  PNG
8141
-
8173
+
8142
8174
  SVG
8143
8175
  */
8144
8176
 
@@ -8153,13 +8185,13 @@ var AttributeIconType;
8153
8185
  })(AttributeIconType || (AttributeIconType = {}));
8154
8186
  /**
8155
8187
  *
8156
-
8188
+
8157
8189
  None
8158
-
8190
+
8159
8191
  SelectFromHandBook
8160
-
8192
+
8161
8193
  SelectFromRange
8162
-
8194
+
8163
8195
  ViewHandBook
8164
8196
  */
8165
8197
 
@@ -8174,31 +8206,31 @@ var AttributeSelectorType;
8174
8206
  })(AttributeSelectorType || (AttributeSelectorType = {}));
8175
8207
  /**
8176
8208
  *
8177
-
8209
+
8178
8210
  Unknown
8179
-
8211
+
8180
8212
  String
8181
-
8213
+
8182
8214
  Int32
8183
-
8215
+
8184
8216
  Int64
8185
-
8217
+
8186
8218
  Double
8187
-
8219
+
8188
8220
  DateTime
8189
-
8221
+
8190
8222
  Boolean
8191
-
8223
+
8192
8224
  Point
8193
-
8225
+
8194
8226
  Polyline
8195
-
8227
+
8196
8228
  MultiPolygon
8197
-
8229
+
8198
8230
  Multipoint
8199
-
8231
+
8200
8232
  H3Index
8201
-
8233
+
8202
8234
  Json
8203
8235
  */
8204
8236
 
@@ -8224,9 +8256,9 @@ var AttributeType;
8224
8256
  * An authorization grant is a credential representing the resource
8225
8257
  owner's authorization (to access its protected resources) used by the
8226
8258
  client to obtain an access token.
8227
-
8259
+
8228
8260
  authorization_code
8229
-
8261
+
8230
8262
  refresh_token
8231
8263
  */
8232
8264
 
@@ -8239,17 +8271,17 @@ var AuthorizationGrant;
8239
8271
  })(AuthorizationGrant || (AuthorizationGrant = {}));
8240
8272
  /**
8241
8273
  *
8242
-
8274
+
8243
8275
  None
8244
-
8276
+
8245
8277
  Map
8246
-
8278
+
8247
8279
  Layer
8248
-
8280
+
8249
8281
  Table
8250
-
8282
+
8251
8283
  File
8252
-
8284
+
8253
8285
  TaskPrototype
8254
8286
  */
8255
8287
 
@@ -8266,15 +8298,15 @@ var CatalogResourceType;
8266
8298
  })(CatalogResourceType || (CatalogResourceType = {}));
8267
8299
  /**
8268
8300
  * Describes classification methods.
8269
-
8301
+
8270
8302
  none
8271
-
8303
+
8272
8304
  naturalBreaks
8273
-
8305
+
8274
8306
  equalInterval
8275
-
8307
+
8276
8308
  quantile
8277
-
8309
+
8278
8310
  unique
8279
8311
  */
8280
8312
 
@@ -8290,11 +8322,11 @@ var ClassificationType;
8290
8322
  })(ClassificationType || (ClassificationType = {}));
8291
8323
  /**
8292
8324
  *
8293
-
8325
+
8294
8326
  decimal
8295
-
8327
+
8296
8328
  dateTime
8297
-
8329
+
8298
8330
  text
8299
8331
  */
8300
8332
 
@@ -8308,55 +8340,55 @@ var ClassifyAttributeType;
8308
8340
  })(ClassifyAttributeType || (ClassifyAttributeType = {}));
8309
8341
  /**
8310
8342
  *
8311
-
8343
+
8312
8344
  Unknown
8313
-
8345
+
8314
8346
  SerializeError
8315
-
8347
+
8316
8348
  InvalidDataService
8317
-
8349
+
8318
8350
  InvalidConfiguration
8319
-
8351
+
8320
8352
  InvalidDataServiceName
8321
-
8353
+
8322
8354
  InvalidTableName
8323
-
8355
+
8324
8356
  InvalidLayerName
8325
-
8357
+
8326
8358
  ResourceNotFound
8327
-
8359
+
8328
8360
  InvalidCondition
8329
-
8361
+
8330
8362
  InvalidAttributes
8331
-
8363
+
8332
8364
  InvalidIdAttribute
8333
-
8365
+
8334
8366
  InvalidGeometryAttribute
8335
-
8367
+
8336
8368
  InvalidGeometryAttributeType
8337
-
8369
+
8338
8370
  InvalidColumnName
8339
-
8371
+
8340
8372
  InvalidIdColumnSettings
8341
-
8373
+
8342
8374
  ColumnNotExistsInTable
8343
-
8375
+
8344
8376
  InvalidStyle
8345
-
8377
+
8346
8378
  InvalidLayerType
8347
-
8379
+
8348
8380
  ColumnLoadingError
8349
-
8381
+
8350
8382
  InvalidAttributeFormat
8351
-
8383
+
8352
8384
  DataSourceNotFound
8353
-
8385
+
8354
8386
  DuplicateColumns
8355
-
8387
+
8356
8388
  DuplicateAttributes
8357
-
8389
+
8358
8390
  TableWithoutColumns
8359
-
8391
+
8360
8392
  InvalidTableReferenceConfiguration
8361
8393
  */
8362
8394
 
@@ -8392,7 +8424,7 @@ var ConfigurationErrorEnum;
8392
8424
  })(ConfigurationErrorEnum || (ConfigurationErrorEnum = {}));
8393
8425
  /**
8394
8426
  * Data source type.
8395
-
8427
+
8396
8428
  Postgres
8397
8429
  */
8398
8430
 
@@ -8404,15 +8436,15 @@ var DataSourceType;
8404
8436
  })(DataSourceType || (DataSourceType = {}));
8405
8437
  /**
8406
8438
  * Type of the error.
8407
-
8439
+
8408
8440
  ResourceLimitExceeded
8409
-
8441
+
8410
8442
  ResourceNotFound
8411
-
8443
+
8412
8444
  InternalError
8413
-
8445
+
8414
8446
  BadRequest
8415
-
8447
+
8416
8448
  DuplicateContent
8417
8449
  */
8418
8450
 
@@ -8463,9 +8495,9 @@ var ErrorType;
8463
8495
  })(ErrorType || (ErrorType = {}));
8464
8496
  /**
8465
8497
  * Type of the feature.
8466
-
8498
+
8467
8499
  Unknown
8468
-
8500
+
8469
8501
  GeometricFeature
8470
8502
  */
8471
8503
 
@@ -8478,11 +8510,11 @@ var FeatureType;
8478
8510
  })(FeatureType || (FeatureType = {}));
8479
8511
  /**
8480
8512
  * Sets whether font should be styled.
8481
-
8513
+
8482
8514
  normal
8483
-
8515
+
8484
8516
  oblique
8485
-
8517
+
8486
8518
  italic
8487
8519
  */
8488
8520
 
@@ -8496,27 +8528,27 @@ var FontStyle;
8496
8528
  })(FontStyle || (FontStyle = {}));
8497
8529
  /**
8498
8530
  * Specifies the weight (or boldness) of the font.
8499
-
8531
+
8500
8532
  Thin
8501
-
8533
+
8502
8534
  ExtraLight
8503
-
8535
+
8504
8536
  Light
8505
-
8537
+
8506
8538
  SemiLight
8507
-
8539
+
8508
8540
  Normal
8509
-
8541
+
8510
8542
  Medium
8511
-
8543
+
8512
8544
  DemiBold
8513
-
8545
+
8514
8546
  Bold
8515
-
8547
+
8516
8548
  ExtraBold
8517
-
8549
+
8518
8550
  Black
8519
-
8551
+
8520
8552
  ExtraBlack
8521
8553
  */
8522
8554
 
@@ -8538,17 +8570,17 @@ var FontWeight;
8538
8570
  })(FontWeight || (FontWeight = {}));
8539
8571
  /**
8540
8572
  *
8541
-
8573
+
8542
8574
  unknown
8543
-
8575
+
8544
8576
  point
8545
-
8577
+
8546
8578
  polyline
8547
-
8579
+
8548
8580
  multipolygon
8549
-
8581
+
8550
8582
  envelope
8551
-
8583
+
8552
8584
  multipoint
8553
8585
  */
8554
8586
 
@@ -8565,13 +8597,13 @@ var GeometryType;
8565
8597
  })(GeometryType || (GeometryType = {}));
8566
8598
  /**
8567
8599
  * Resource group.
8568
-
8600
+
8569
8601
  my
8570
-
8602
+
8571
8603
  role
8572
-
8604
+
8573
8605
  public
8574
-
8606
+
8575
8607
  all
8576
8608
  */
8577
8609
 
@@ -8586,13 +8618,13 @@ var Group;
8586
8618
  })(Group || (Group = {}));
8587
8619
  /**
8588
8620
  * Specifies the settings of line cap. This is applied to the beginning and end of each non-closed line.
8589
-
8621
+
8590
8622
  Flat
8591
-
8623
+
8592
8624
  Square
8593
-
8625
+
8594
8626
  Round
8595
-
8627
+
8596
8628
  Triangle
8597
8629
  */
8598
8630
 
@@ -8607,29 +8639,29 @@ var LineCapStyle;
8607
8639
  })(LineCapStyle || (LineCapStyle = {}));
8608
8640
  /**
8609
8641
  * Type of the line ending.
8610
-
8642
+
8611
8643
  none
8612
-
8644
+
8613
8645
  arrow
8614
-
8646
+
8615
8647
  filledArrow
8616
-
8648
+
8617
8649
  square
8618
-
8650
+
8619
8651
  filledSquare
8620
-
8652
+
8621
8653
  circle
8622
-
8654
+
8623
8655
  filledCircle
8624
-
8656
+
8625
8657
  diamond
8626
-
8658
+
8627
8659
  filledDiamond
8628
-
8660
+
8629
8661
  roundSquare
8630
-
8662
+
8631
8663
  filledRoundSquare
8632
-
8664
+
8633
8665
  svg
8634
8666
  */
8635
8667
 
@@ -8652,11 +8684,11 @@ var LineEndingType;
8652
8684
  })(LineEndingType || (LineEndingType = {}));
8653
8685
  /**
8654
8686
  * Specifies the settings of lines join. This is applied to corners in lines and rectangles.
8655
-
8687
+
8656
8688
  Miter
8657
-
8689
+
8658
8690
  Bevel
8659
-
8691
+
8660
8692
  Round
8661
8693
  */
8662
8694
 
@@ -8670,15 +8702,15 @@ var LineJoinType;
8670
8702
  })(LineJoinType || (LineJoinType = {}));
8671
8703
  /**
8672
8704
  *
8673
-
8705
+
8674
8706
  Unknown
8675
-
8707
+
8676
8708
  union
8677
-
8709
+
8678
8710
  intersection
8679
-
8711
+
8680
8712
  subtraction
8681
-
8713
+
8682
8714
  symDifference
8683
8715
  */
8684
8716
 
@@ -8694,27 +8726,27 @@ var Operation;
8694
8726
  })(Operation || (Operation = {}));
8695
8727
  /**
8696
8728
  * Filter exists resources by owner.
8697
-
8729
+
8698
8730
  My
8699
-
8731
+
8700
8732
  Shared
8701
-
8733
+
8702
8734
  Public
8703
8735
  */
8704
8736
 
8705
8737
 
8706
- var OwnerFilterDc;
8738
+ var OwnerFilter;
8707
8739
 
8708
- (function (OwnerFilterDc) {
8709
- OwnerFilterDc["My"] = "My";
8710
- OwnerFilterDc["Shared"] = "Shared";
8711
- OwnerFilterDc["Public"] = "Public";
8712
- })(OwnerFilterDc || (OwnerFilterDc = {}));
8740
+ (function (OwnerFilter) {
8741
+ OwnerFilter["My"] = "My";
8742
+ OwnerFilter["Shared"] = "Shared";
8743
+ OwnerFilter["Public"] = "Public";
8744
+ })(OwnerFilter || (OwnerFilter = {}));
8713
8745
  /**
8714
8746
  * Influences the y direction of the tile coordinates. The global-mercator (aka Spherical Mercator) profile is assumed.
8715
-
8747
+
8716
8748
  xyz
8717
-
8749
+
8718
8750
  tms
8719
8751
  */
8720
8752
 
@@ -8727,19 +8759,19 @@ var PbfSchema;
8727
8759
  })(PbfSchema || (PbfSchema = {}));
8728
8760
  /**
8729
8761
  *
8730
-
8762
+
8731
8763
  none
8732
-
8764
+
8733
8765
  configure
8734
-
8766
+
8735
8767
  write
8736
-
8768
+
8737
8769
  read
8738
-
8770
+
8739
8771
  read,configure
8740
-
8772
+
8741
8773
  read,write
8742
-
8774
+
8743
8775
  read,write,configure
8744
8776
  */
8745
8777
 
@@ -8757,19 +8789,19 @@ var Permissions;
8757
8789
  })(Permissions || (Permissions = {}));
8758
8790
  /**
8759
8791
  * Type of the authorization policy.
8760
-
8792
+
8761
8793
  Unknown
8762
-
8794
+
8763
8795
  CreateTable
8764
-
8796
+
8765
8797
  CreateLayer
8766
-
8798
+
8767
8799
  CreateProject
8768
-
8800
+
8769
8801
  MaxFeaturesInOneTable
8770
-
8802
+
8771
8803
  MaxObjectsToExport
8772
-
8804
+
8773
8805
  MaxUploadContentSize
8774
8806
  */
8775
8807
 
@@ -8787,11 +8819,11 @@ var PolicyType;
8787
8819
  })(PolicyType || (PolicyType = {}));
8788
8820
  /**
8789
8821
  * Stream quality.
8790
-
8822
+
8791
8823
  Low
8792
-
8824
+
8793
8825
  Medium
8794
-
8826
+
8795
8827
  High
8796
8828
  */
8797
8829
 
@@ -8805,15 +8837,15 @@ var Quality;
8805
8837
  })(Quality || (Quality = {}));
8806
8838
  /**
8807
8839
  * Resources types filter.
8808
-
8840
+
8809
8841
  RemoteTileService
8810
-
8842
+
8811
8843
  ProxyService
8812
-
8844
+
8813
8845
  PostgresLayerService
8814
-
8846
+
8815
8847
  QueryLayerService
8816
-
8848
+
8817
8849
  TileCatalogTable
8818
8850
  */
8819
8851
 
@@ -8829,19 +8861,19 @@ var ResourceSubTypeFilter;
8829
8861
  })(ResourceSubTypeFilter || (ResourceSubTypeFilter = {}));
8830
8862
  /**
8831
8863
  *
8832
-
8864
+
8833
8865
  Unknown
8834
-
8866
+
8835
8867
  table
8836
-
8868
+
8837
8869
  layer
8838
-
8870
+
8839
8871
  project
8840
-
8872
+
8841
8873
  file
8842
-
8874
+
8843
8875
  feature
8844
-
8876
+
8845
8877
  tag
8846
8878
  */
8847
8879
 
@@ -8859,19 +8891,19 @@ var ResourceType;
8859
8891
  })(ResourceType || (ResourceType = {}));
8860
8892
  /**
8861
8893
  * Resources types filter.
8862
-
8894
+
8863
8895
  Map
8864
-
8896
+
8865
8897
  Layer
8866
-
8898
+
8867
8899
  Table
8868
-
8900
+
8869
8901
  RasterCatalog
8870
-
8902
+
8871
8903
  ProxyService
8872
-
8904
+
8873
8905
  RemoteTileService
8874
-
8906
+
8875
8907
  File
8876
8908
  */
8877
8909
 
@@ -8897,9 +8929,9 @@ var ResourceTypeLink;
8897
8929
  })(ResourceTypeLink || (ResourceTypeLink = {}));
8898
8930
  /**
8899
8931
  * Response type.
8900
-
8932
+
8901
8933
  code
8902
-
8934
+
8903
8935
  token
8904
8936
  */
8905
8937
 
@@ -8912,21 +8944,21 @@ var ResponseType;
8912
8944
  })(ResponseType || (ResponseType = {}));
8913
8945
  /**
8914
8946
  * Status of the server task.
8915
-
8947
+
8916
8948
  None
8917
-
8949
+
8918
8950
  Scheduled
8919
-
8951
+
8920
8952
  Planning
8921
-
8953
+
8922
8954
  Executing
8923
-
8955
+
8924
8956
  Completed
8925
-
8957
+
8926
8958
  Failed
8927
-
8959
+
8928
8960
  Canceled
8929
-
8961
+
8930
8962
  Timeout
8931
8963
  */
8932
8964
 
@@ -8945,11 +8977,11 @@ var ServerTaskStatus;
8945
8977
  })(ServerTaskStatus || (ServerTaskStatus = {}));
8946
8978
  /**
8947
8979
  *
8948
-
8980
+
8949
8981
  Basic
8950
-
8982
+
8951
8983
  PreserveTopology
8952
-
8984
+
8953
8985
  VW
8954
8986
  */
8955
8987
 
@@ -8963,13 +8995,13 @@ var SimplifyType;
8963
8995
  })(SimplifyType || (SimplifyType = {}));
8964
8996
  /**
8965
8997
  *
8966
-
8998
+
8967
8999
  None
8968
-
9000
+
8969
9001
  Image
8970
-
9002
+
8971
9003
  PkkCode
8972
-
9004
+
8973
9005
  Attachments
8974
9006
  */
8975
9007
 
@@ -8984,9 +9016,9 @@ var StringSubType;
8984
9016
  })(StringSubType || (StringSubType = {}));
8985
9017
  /**
8986
9018
  * Task owner group.
8987
-
9019
+
8988
9020
  my
8989
-
9021
+
8990
9022
  all
8991
9023
  */
8992
9024
 
@@ -8999,13 +9031,13 @@ var TaskGroup;
8999
9031
  })(TaskGroup || (TaskGroup = {}));
9000
9032
  /**
9001
9033
  * Sets the horizontal alignment of text.
9002
-
9034
+
9003
9035
  right
9004
-
9036
+
9005
9037
  left
9006
-
9038
+
9007
9039
  center
9008
-
9040
+
9009
9041
  justified
9010
9042
  */
9011
9043
 
@@ -9020,11 +9052,11 @@ var TextAlignment;
9020
9052
  })(TextAlignment || (TextAlignment = {}));
9021
9053
  /**
9022
9054
  * Sets the vertical alignment of text.
9023
-
9055
+
9024
9056
  top
9025
-
9057
+
9026
9058
  bottom
9027
-
9059
+
9028
9060
  middle
9029
9061
  */
9030
9062
 
@@ -9037,5 +9069,5 @@ var TextVerticalAlignment;
9037
9069
  TextVerticalAlignment["Middle"] = "middle";
9038
9070
  })(TextVerticalAlignment || (TextVerticalAlignment = {}));
9039
9071
 
9040
- 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, OwnerFilterDc, PbfSchema, Permissions, PolicyType, PortalSettings, Print, Projects, Quality, ResourceCatalog, ResourceSeparator, ResourceSubTypeFilter, ResourceType, ResourceTypeFilter, ResourceTypeLink, Resources, ResponseType, 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, promiseAllIgnoreErrors, stripUselessSlashes, toFormData, unique };
9072
+ 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, 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, promiseAllIgnoreErrors, stripUselessSlashes, toFormData, unique };
9041
9073
  //# sourceMappingURL=api.esm.js.map