@evergis/api 3.0.131 → 3.0.133

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,6 +35,9 @@ 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
+ });
38
41
  return Constructor;
39
42
  }
40
43
 
@@ -68,6 +71,9 @@ function _inherits(subClass, superClass) {
68
71
  configurable: true
69
72
  }
70
73
  });
74
+ Object.defineProperty(subClass, "prototype", {
75
+ writable: false
76
+ });
71
77
  if (superClass) _setPrototypeOf(subClass, superClass);
72
78
  }
73
79
 
@@ -126,6 +132,8 @@ function _assertThisInitialized(self) {
126
132
  function _possibleConstructorReturn(self, call) {
127
133
  if (call && (typeof call === "object" || typeof call === "function")) {
128
134
  return call;
135
+ } else if (call !== void 0) {
136
+ throw new TypeError("Derived constructors may only return object or undefined");
129
137
  }
130
138
 
131
139
  return _assertThisInitialized(self);
@@ -159,7 +167,7 @@ function _superPropBase(object, property) {
159
167
  return object;
160
168
  }
161
169
 
162
- function _get(target, property, receiver) {
170
+ function _get() {
163
171
  if (typeof Reflect !== "undefined" && Reflect.get) {
164
172
  _get = Reflect.get;
165
173
  } else {
@@ -170,14 +178,14 @@ function _get(target, property, receiver) {
170
178
  var desc = Object.getOwnPropertyDescriptor(base, property);
171
179
 
172
180
  if (desc.get) {
173
- return desc.get.call(receiver);
181
+ return desc.get.call(arguments.length < 3 ? target : receiver);
174
182
  }
175
183
 
176
184
  return desc.value;
177
185
  };
178
186
  }
179
187
 
180
- return _get(target, property, receiver || target);
188
+ return _get.apply(this, arguments);
181
189
  }
182
190
 
183
191
  let HttpClient = /*#__PURE__*/function () {
@@ -763,6 +771,22 @@ let ImportService = /*#__PURE__*/function (_Service) {
763
771
  value: function getFeaturesCount(data) {
764
772
  return this.http.post("/import/count", data).json();
765
773
  }
774
+ /**
775
+ * No description
776
+ *
777
+ * @tags ImportService
778
+ * @name ReadPart
779
+ * @operationId ImportServiceController_ReadPart
780
+ * @summary Returns the features of the given file in temporary static storage.
781
+ * @request GET:/import/read
782
+ * @response `200` Success
783
+ */
784
+
785
+ }, {
786
+ key: "readPart",
787
+ value: function readPart(query) {
788
+ return this.http.get("/import/read", query).then(() => {});
789
+ }
766
790
  /**
767
791
  * No description
768
792
  *
@@ -986,8 +1010,8 @@ let Notification = /*#__PURE__*/function (_NotificationService) {
986
1010
  || event.code === 4002
987
1011
  /* InvalidSession */
988
1012
  ) {
989
- _this.connectStatus = exports.ConnectionStatus.SessionClosed;
990
- } else if (_this.reconnectTries < _this.MAX_WS_RECONNECT_TRIES) {
1013
+ _this.connectStatus = exports.ConnectionStatus.SessionClosed;
1014
+ } else if (_this.reconnectTries < _this.MAX_WS_RECONNECT_TRIES) {
991
1015
  _this.connectStatus = exports.ConnectionStatus.Break;
992
1016
  _this.reconnectTries++;
993
1017
 
@@ -1500,7 +1524,7 @@ let Scheduler = /*#__PURE__*/function (_SchedulerService) {
1500
1524
  const taskProgress = await this.getTaskProgress(id);
1501
1525
  this.resolveTaskStatus(taskProgress, resolve, reject);
1502
1526
 
1503
- const taskResultCallback = async (_ref) => {
1527
+ const taskResultCallback = async _ref => {
1504
1528
  let {
1505
1529
  data
1506
1530
  } = _ref;
@@ -2495,6 +2519,22 @@ let LayersService = /*#__PURE__*/function (_Service) {
2495
2519
  value: function deletePreview(name) {
2496
2520
  return this.http.delete("/layers/" + name + "/preview", null).then(() => {});
2497
2521
  }
2522
+ /**
2523
+ * No description
2524
+ *
2525
+ * @tags Layers
2526
+ * @name IsExists
2527
+ * @operationId LayersController_IsExistsAsync
2528
+ * @summary Check is resource exists.
2529
+ * @request GET:/layers/{name}/exists
2530
+ * @response `200` Success
2531
+ */
2532
+
2533
+ }, {
2534
+ key: "isExists",
2535
+ value: function isExists(name) {
2536
+ return this.http.get("/layers/" + name + "/exists").then(() => {});
2537
+ }
2498
2538
  /**
2499
2539
  * No description
2500
2540
  *
@@ -3027,6 +3067,22 @@ let TablesService = /*#__PURE__*/function (_Service) {
3027
3067
  value: function deletePreview(name) {
3028
3068
  return this.http.delete("/tables/" + name + "/preview", null).then(() => {});
3029
3069
  }
3070
+ /**
3071
+ * No description
3072
+ *
3073
+ * @tags Tables
3074
+ * @name IsExists
3075
+ * @operationId TablesController_IsExistsAsync
3076
+ * @summary Check is resource exists.
3077
+ * @request GET:/tables/{name}/exists
3078
+ * @response `200` Success
3079
+ */
3080
+
3081
+ }, {
3082
+ key: "isExists",
3083
+ value: function isExists(name) {
3084
+ return this.http.get("/tables/" + name + "/exists").then(() => {});
3085
+ }
3030
3086
  /**
3031
3087
  * No description
3032
3088
  *
@@ -3391,6 +3447,22 @@ let ProjectsService = /*#__PURE__*/function (_Service) {
3391
3447
  value: function deletePreview(name) {
3392
3448
  return this.http.delete("/projects/" + name + "/preview", null).then(() => {});
3393
3449
  }
3450
+ /**
3451
+ * No description
3452
+ *
3453
+ * @tags Projects
3454
+ * @name IsExists
3455
+ * @operationId ProjectsController_IsExistsAsync
3456
+ * @summary Check is resource exists.
3457
+ * @request GET:/projects/{name}/exists
3458
+ * @response `200` Success
3459
+ */
3460
+
3461
+ }, {
3462
+ key: "isExists",
3463
+ value: function isExists(name) {
3464
+ return this.http.get("/projects/" + name + "/exists").then(() => {});
3465
+ }
3394
3466
  /**
3395
3467
  * No description
3396
3468
  *
@@ -3641,12 +3713,12 @@ let Resources = /*#__PURE__*/function () {
3641
3713
  }, {
3642
3714
  key: "getDependentNames",
3643
3715
  value: function getDependentNames(deps, depType) {
3644
- return deps.filter((_ref) => {
3716
+ return deps.filter(_ref => {
3645
3717
  let {
3646
3718
  type
3647
3719
  } = _ref;
3648
3720
  return type === depType;
3649
- }).map((_ref2) => {
3721
+ }).map(_ref2 => {
3650
3722
  let {
3651
3723
  name
3652
3724
  } = _ref2;
@@ -4048,33 +4120,17 @@ let GeneralService = /*#__PURE__*/function (_Service) {
4048
4120
  * No description
4049
4121
  *
4050
4122
  * @tags General
4051
- * @name Favicon
4052
- * @operationId GeneralController_Favicon
4053
- * @summary Returns server favicon.
4054
- * @request GET:/favicon.ico
4055
- * @response `200` Success
4056
- */
4057
-
4058
- }, {
4059
- key: "favicon",
4060
- value: function favicon(query) {
4061
- return this.http.createUrl("/favicon.ico", query);
4062
- }
4063
- /**
4064
- * No description
4065
- *
4066
- * @tags General
4067
- * @name Logo
4068
- * @operationId GeneralController_Logo
4069
- * @summary Returns logo.
4070
- * @request GET:/logo.png
4123
+ * @name CancelTest
4124
+ * @operationId GeneralController_CancelTest
4125
+ * @summary Test method for CancellationToken.
4126
+ * @request GET:/cancel
4071
4127
  * @response `200` Success
4072
4128
  */
4073
4129
 
4074
4130
  }, {
4075
- key: "logo",
4076
- value: function logo(query) {
4077
- return this.http.createUrl("/logo.png", query);
4131
+ key: "cancelTest",
4132
+ value: function cancelTest(query) {
4133
+ return this.http.get("/cancel", query).then(() => {});
4078
4134
  }
4079
4135
  /**
4080
4136
  * No description