@evergis/api 4.0.19 → 4.0.20
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/LICENSE +20 -20
- package/README.md +21 -21
- package/dist/__generated__/LayersService.d.ts +14 -2
- package/dist/__generated__/ProjectsService.d.ts +14 -2
- package/dist/__generated__/StatisticService.d.ts +2 -2
- package/dist/__generated__/TablesService.d.ts +2 -2
- package/dist/__generated__/WmsServerService.d.ts +2 -2
- package/dist/__generated__/data-contracts.d.ts +282 -248
- package/dist/api.cjs.development.js +44 -16
- package/dist/api.cjs.development.js.map +1 -1
- package/dist/api.cjs.production.min.js +1 -1
- package/dist/api.cjs.production.min.js.map +1 -1
- package/dist/api.esm.js +283 -251
- package/dist/api.esm.js.map +1 -1
- package/package.json +2 -2
|
@@ -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,14 +165,14 @@ function _get() {
|
|
|
173
165
|
var desc = Object.getOwnPropertyDescriptor(base, property);
|
|
174
166
|
|
|
175
167
|
if (desc.get) {
|
|
176
|
-
return desc.get.call(
|
|
168
|
+
return desc.get.call(receiver);
|
|
177
169
|
}
|
|
178
170
|
|
|
179
171
|
return desc.value;
|
|
180
172
|
};
|
|
181
173
|
}
|
|
182
174
|
|
|
183
|
-
return _get
|
|
175
|
+
return _get(target, property, receiver || target);
|
|
184
176
|
}
|
|
185
177
|
|
|
186
178
|
const API_USER_INFO_KEY = "@evergis/user-info";
|
|
@@ -4415,6 +4407,23 @@ let LayersService = /*#__PURE__*/function (_Service) {
|
|
|
4415
4407
|
|
|
4416
4408
|
return this.http.get("/layers/" + layerName + "/validateExpression", query).json();
|
|
4417
4409
|
}
|
|
4410
|
+
/**
|
|
4411
|
+
* No description
|
|
4412
|
+
*
|
|
4413
|
+
* @tags Layers
|
|
4414
|
+
* @name FlipCoordinates
|
|
4415
|
+
* @operationId LayersController_FlipCoordinates
|
|
4416
|
+
* @summary Flip geometry coordinates.
|
|
4417
|
+
* @request POST:/layers/{layerName}/flip-coordinates
|
|
4418
|
+
* @secure
|
|
4419
|
+
* @response `200` OK
|
|
4420
|
+
*/
|
|
4421
|
+
|
|
4422
|
+
}, {
|
|
4423
|
+
key: "flipCoordinates",
|
|
4424
|
+
value: function flipCoordinates(layerName) {
|
|
4425
|
+
return this.http.post("/layers/" + layerName + "/flip-coordinates", null).json();
|
|
4426
|
+
}
|
|
4418
4427
|
/**
|
|
4419
4428
|
* No description
|
|
4420
4429
|
*
|
|
@@ -5014,8 +5023,8 @@ let Notification = /*#__PURE__*/function (_NotificationService) {
|
|
|
5014
5023
|
|| event.code === 4002
|
|
5015
5024
|
/* InvalidSession */
|
|
5016
5025
|
) {
|
|
5017
|
-
|
|
5018
|
-
|
|
5026
|
+
_this.connectStatus = exports.ConnectionStatus.SessionClosed;
|
|
5027
|
+
} else if (_this.reconnectTries < _this.MAX_WS_RECONNECT_TRIES) {
|
|
5019
5028
|
_this.connectStatus = exports.ConnectionStatus.Break;
|
|
5020
5029
|
_this.reconnectTries++;
|
|
5021
5030
|
|
|
@@ -5422,6 +5431,23 @@ let ProjectsService = /*#__PURE__*/function (_Service) {
|
|
|
5422
5431
|
value: function deleteResource(name) {
|
|
5423
5432
|
return this.http.delete("/projects/" + name, null).then(() => {});
|
|
5424
5433
|
}
|
|
5434
|
+
/**
|
|
5435
|
+
* No description
|
|
5436
|
+
*
|
|
5437
|
+
* @tags Projects
|
|
5438
|
+
* @name UpdateProjectV2
|
|
5439
|
+
* @operationId ProjectsController_UpdateProjectV2
|
|
5440
|
+
* @summary Update table.
|
|
5441
|
+
* @request PATCH:/projects/{name}/v2
|
|
5442
|
+
* @secure
|
|
5443
|
+
* @response `200` OK
|
|
5444
|
+
*/
|
|
5445
|
+
|
|
5446
|
+
}, {
|
|
5447
|
+
key: "updateProjectV2",
|
|
5448
|
+
value: function updateProjectV2(name, data) {
|
|
5449
|
+
return this.http.patch("/projects/" + name + "/v2", data).json();
|
|
5450
|
+
}
|
|
5425
5451
|
/**
|
|
5426
5452
|
* No description
|
|
5427
5453
|
*
|
|
@@ -6060,12 +6086,12 @@ let Resources = /*#__PURE__*/function () {
|
|
|
6060
6086
|
}, {
|
|
6061
6087
|
key: "getDependentNames",
|
|
6062
6088
|
value: function getDependentNames(deps, depType) {
|
|
6063
|
-
return deps.filter(_ref => {
|
|
6089
|
+
return deps.filter((_ref) => {
|
|
6064
6090
|
let {
|
|
6065
6091
|
type
|
|
6066
6092
|
} = _ref;
|
|
6067
6093
|
return type === depType;
|
|
6068
|
-
}).map(_ref2 => {
|
|
6094
|
+
}).map((_ref2) => {
|
|
6069
6095
|
let {
|
|
6070
6096
|
name
|
|
6071
6097
|
} = _ref2;
|
|
@@ -7228,7 +7254,7 @@ let Api = /*#__PURE__*/function (_EventEmitter) {
|
|
|
7228
7254
|
(_request$headers = request.headers) == null ? void 0 : _request$headers.set("Authorization", "Bearer " + (token || ""));
|
|
7229
7255
|
}
|
|
7230
7256
|
}, ...((_hooks$beforeRequest = hooks == null ? void 0 : hooks.beforeRequest) != null ? _hooks$beforeRequest : [])],
|
|
7231
|
-
beforeRetry: [async _ref2 => {
|
|
7257
|
+
beforeRetry: [async (_ref2) => {
|
|
7232
7258
|
let {
|
|
7233
7259
|
request,
|
|
7234
7260
|
error,
|
|
@@ -7495,6 +7521,8 @@ let Api = /*#__PURE__*/function (_EventEmitter) {
|
|
|
7495
7521
|
ClassificationType["NaturalBreaks"] = "naturalBreaks";
|
|
7496
7522
|
ClassificationType["EqualInterval"] = "equalInterval";
|
|
7497
7523
|
ClassificationType["Quantile"] = "quantile";
|
|
7524
|
+
ClassificationType["Distinct"] = "distinct";
|
|
7525
|
+
ClassificationType["Step"] = "step";
|
|
7498
7526
|
ClassificationType["Unique"] = "unique";
|
|
7499
7527
|
})(exports.ClassificationType || (exports.ClassificationType = {}));
|
|
7500
7528
|
|