@evergis/api 3.0.92 → 3.0.94

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.
@@ -35,9 +35,6 @@ function _defineProperties(target, props) {
35
35
  function _createClass(Constructor, protoProps, staticProps) {
36
36
  if (protoProps) _defineProperties(Constructor.prototype, protoProps);
37
37
  if (staticProps) _defineProperties(Constructor, staticProps);
38
- Object.defineProperty(Constructor, "prototype", {
39
- writable: false
40
- });
41
38
  return Constructor;
42
39
  }
43
40
 
@@ -71,9 +68,6 @@ function _inherits(subClass, superClass) {
71
68
  configurable: true
72
69
  }
73
70
  });
74
- Object.defineProperty(subClass, "prototype", {
75
- writable: false
76
- });
77
71
  if (superClass) _setPrototypeOf(subClass, superClass);
78
72
  }
79
73
 
@@ -132,8 +126,6 @@ function _assertThisInitialized(self) {
132
126
  function _possibleConstructorReturn(self, call) {
133
127
  if (call && (typeof call === "object" || typeof call === "function")) {
134
128
  return call;
135
- } else if (call !== void 0) {
136
- throw new TypeError("Derived constructors may only return object or undefined");
137
129
  }
138
130
 
139
131
  return _assertThisInitialized(self);
@@ -167,7 +159,7 @@ function _superPropBase(object, property) {
167
159
  return object;
168
160
  }
169
161
 
170
- function _get() {
162
+ function _get(target, property, receiver) {
171
163
  if (typeof Reflect !== "undefined" && Reflect.get) {
172
164
  _get = Reflect.get;
173
165
  } else {
@@ -178,14 +170,14 @@ function _get() {
178
170
  var desc = Object.getOwnPropertyDescriptor(base, property);
179
171
 
180
172
  if (desc.get) {
181
- return desc.get.call(arguments.length < 3 ? target : receiver);
173
+ return desc.get.call(receiver);
182
174
  }
183
175
 
184
176
  return desc.value;
185
177
  };
186
178
  }
187
179
 
188
- return _get.apply(this, arguments);
180
+ return _get(target, property, receiver || target);
189
181
  }
190
182
 
191
183
  let HttpClient = /*#__PURE__*/function () {
@@ -861,8 +853,8 @@ let Notification = /*#__PURE__*/function (_NotificationService) {
861
853
  || event.code === 4002
862
854
  /* InvalidSession */
863
855
  ) {
864
- _this.connectStatus = exports.ConnectionStatus.SessionClosed;
865
- } else if (_this.reconnectTries < _this.MAX_WS_RECONNECT_TRIES) {
856
+ _this.connectStatus = exports.ConnectionStatus.SessionClosed;
857
+ } else if (_this.reconnectTries < _this.MAX_WS_RECONNECT_TRIES) {
866
858
  _this.connectStatus = exports.ConnectionStatus.Break;
867
859
  _this.reconnectTries++;
868
860
 
@@ -1368,7 +1360,7 @@ let Scheduler = /*#__PURE__*/function (_SchedulerService) {
1368
1360
  const taskProgress = await this.getTaskProgress(id);
1369
1361
  this.resolveTaskStatus(taskProgress, resolve, reject);
1370
1362
 
1371
- const taskResultCallback = async _ref => {
1363
+ const taskResultCallback = async (_ref) => {
1372
1364
  let {
1373
1365
  data
1374
1366
  } = _ref;
@@ -1545,6 +1537,42 @@ let LayersService = /*#__PURE__*/function (_Service) {
1545
1537
  type: 'ProxyService'
1546
1538
  }).json();
1547
1539
  }
1540
+ /**
1541
+ * No description
1542
+ *
1543
+ * @tags Layers
1544
+ * @name PublishRouteService
1545
+ * @operationId LayersController_PublishRouteService
1546
+ * @summary Creates new Route Service.
1547
+ * @request POST:/layers#type=RouteService
1548
+ * @response `200` Success
1549
+ */
1550
+
1551
+ }, {
1552
+ key: "publishRouteService",
1553
+ value: function publishRouteService(data) {
1554
+ return this.http.post("/layers", data, {
1555
+ type: 'RouteService'
1556
+ }).then(() => {});
1557
+ }
1558
+ /**
1559
+ * No description
1560
+ *
1561
+ * @tags Layers
1562
+ * @name PublishLinearService
1563
+ * @operationId LayersController_PublishLinearService
1564
+ * @summary Creates new Linear Service.
1565
+ * @request POST:/layers#type=LinearService
1566
+ * @response `200` Success
1567
+ */
1568
+
1569
+ }, {
1570
+ key: "publishLinearService",
1571
+ value: function publishLinearService(data) {
1572
+ return this.http.post("/layers", data, {
1573
+ type: 'LinearService'
1574
+ }).then(() => {});
1575
+ }
1548
1576
  /**
1549
1577
  * No description
1550
1578
  *
@@ -2247,6 +2275,22 @@ let LayersService = /*#__PURE__*/function (_Service) {
2247
2275
 
2248
2276
  return this.http.get("/layers/" + layerName + "/validateExpression", query).json();
2249
2277
  }
2278
+ /**
2279
+ * No description
2280
+ *
2281
+ * @tags Layers
2282
+ * @name CreateRoute
2283
+ * @operationId LayersController_CreateRoute
2284
+ * @summary Create new route (feature) from source features.
2285
+ * @request POST:/layers/{name}/createRoute
2286
+ * @response `200` Success
2287
+ */
2288
+
2289
+ }, {
2290
+ key: "createRoute",
2291
+ value: function createRoute(name, data) {
2292
+ return this.http.post("/layers/" + name + "/createRoute", data).json();
2293
+ }
2250
2294
  /**
2251
2295
  * No description
2252
2296
  *
@@ -3446,12 +3490,12 @@ let Resources = /*#__PURE__*/function () {
3446
3490
  }, {
3447
3491
  key: "getDependentNames",
3448
3492
  value: function getDependentNames(deps, depType) {
3449
- return deps.filter(_ref => {
3493
+ return deps.filter((_ref) => {
3450
3494
  let {
3451
3495
  type
3452
3496
  } = _ref;
3453
3497
  return type === depType;
3454
- }).map(_ref2 => {
3498
+ }).map((_ref2) => {
3455
3499
  let {
3456
3500
  name
3457
3501
  } = _ref2;
@@ -3862,8 +3906,24 @@ let GeneralService = /*#__PURE__*/function (_Service) {
3862
3906
 
3863
3907
  }, {
3864
3908
  key: "favicon",
3865
- value: function favicon() {
3866
- return this.http.createUrl("/favicon.ico");
3909
+ value: function favicon(query) {
3910
+ return this.http.createUrl("/favicon.ico", query);
3911
+ }
3912
+ /**
3913
+ * No description
3914
+ *
3915
+ * @tags General
3916
+ * @name Logo
3917
+ * @operationId GeneralController_Logo
3918
+ * @summary Returns logo.
3919
+ * @request GET:/logo.png
3920
+ * @response `200` Success
3921
+ */
3922
+
3923
+ }, {
3924
+ key: "logo",
3925
+ value: function logo(query) {
3926
+ return this.http.createUrl("/logo.png", query);
3867
3927
  }
3868
3928
  /**
3869
3929
  * No description
@@ -6309,6 +6369,8 @@ function isFeatureLayer(layer) {
6309
6369
  AggregationFunction["Sum"] = "Sum";
6310
6370
  AggregationFunction["Extent"] = "Extent";
6311
6371
  AggregationFunction["Count"] = "Count";
6372
+ AggregationFunction["TotalCount"] = "TotalCount";
6373
+ AggregationFunction["DistinctCount"] = "DistinctCount";
6312
6374
  AggregationFunction["First"] = "First";
6313
6375
  AggregationFunction["Last"] = "Last";
6314
6376
  AggregationFunction["Median"] = "Median";
@@ -6340,7 +6402,7 @@ function isFeatureLayer(layer) {
6340
6402
  ClassificationType["NaturalBreaks"] = "naturalBreaks";
6341
6403
  ClassificationType["EqualInterval"] = "equalInterval";
6342
6404
  ClassificationType["Quantile"] = "quantile";
6343
- ClassificationType["Distinct"] = "unique";
6405
+ ClassificationType["Unique"] = "unique";
6344
6406
  })(exports.ClassificationType || (exports.ClassificationType = {}));
6345
6407
 
6346
6408
  (function (ClassifyAttributeType) {
@@ -6370,6 +6432,7 @@ function isFeatureLayer(layer) {
6370
6432
  ConfigurationErrorEnum["ColumnLoadingError"] = "ColumnLoadingError";
6371
6433
  ConfigurationErrorEnum["InvalidAttributeFormat"] = "InvalidAttributeFormat";
6372
6434
  ConfigurationErrorEnum["DataSourceNotFound"] = "DataSourceNotFound";
6435
+ ConfigurationErrorEnum["DuplicateColumns"] = "DuplicateColumns";
6373
6436
  })(exports.ConfigurationErrorEnum || (exports.ConfigurationErrorEnum = {}));
6374
6437
 
6375
6438
  (function (ErrorDetailsType) {
@@ -6503,6 +6566,7 @@ function isFeatureLayer(layer) {
6503
6566
  ResourceType["Project"] = "project";
6504
6567
  ResourceType["File"] = "file";
6505
6568
  ResourceType["Feature"] = "feature";
6569
+ ResourceType["Tag"] = "tag";
6506
6570
  })(exports.ResourceType || (exports.ResourceType = {}));
6507
6571
 
6508
6572
  (function (ResourceTypeLink) {