@evergis/api 3.0.136 → 3.0.138
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__/EqlTestService.d.ts +20 -0
- package/dist/__generated__/ImportService.d.ts +12 -1
- package/dist/__generated__/ProjectsService.d.ts +13 -2
- package/dist/__generated__/StatisticService.d.ts +2 -2
- package/dist/__generated__/TablesService.d.ts +11 -0
- package/dist/__generated__/WmsServerService.d.ts +2 -2
- package/dist/__generated__/data-contracts.d.ts +256 -222
- package/dist/api.cjs.development.js +58 -17
- 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 +218 -175
- package/dist/api.esm.js.map +1 -1
- package/package.json +2 -2
|
@@ -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(
|
|
173
|
+
return desc.get.call(receiver);
|
|
182
174
|
}
|
|
183
175
|
|
|
184
176
|
return desc.value;
|
|
185
177
|
};
|
|
186
178
|
}
|
|
187
179
|
|
|
188
|
-
return _get
|
|
180
|
+
return _get(target, property, receiver || target);
|
|
189
181
|
}
|
|
190
182
|
|
|
191
183
|
let HttpClient = /*#__PURE__*/function () {
|
|
@@ -803,6 +795,22 @@ let ImportService = /*#__PURE__*/function (_Service) {
|
|
|
803
795
|
value: function getExternalWmsLayers(query) {
|
|
804
796
|
return this.http.get("/import/wms", query).json();
|
|
805
797
|
}
|
|
798
|
+
/**
|
|
799
|
+
* No description
|
|
800
|
+
*
|
|
801
|
+
* @tags ImportService
|
|
802
|
+
* @name GetExternalPbfLayers
|
|
803
|
+
* @operationId ImportServiceController_GetExternalPbfLayers
|
|
804
|
+
* @summary Get list of external PBF layers.
|
|
805
|
+
* @request GET:/import/pbf
|
|
806
|
+
* @response `200` Success
|
|
807
|
+
*/
|
|
808
|
+
|
|
809
|
+
}, {
|
|
810
|
+
key: "getExternalPbfLayers",
|
|
811
|
+
value: function getExternalPbfLayers(query) {
|
|
812
|
+
return this.http.get("/import/pbf", query).json();
|
|
813
|
+
}
|
|
806
814
|
/**
|
|
807
815
|
* No description
|
|
808
816
|
*
|
|
@@ -1010,8 +1018,8 @@ let Notification = /*#__PURE__*/function (_NotificationService) {
|
|
|
1010
1018
|
|| event.code === 4002
|
|
1011
1019
|
/* InvalidSession */
|
|
1012
1020
|
) {
|
|
1013
|
-
|
|
1014
|
-
|
|
1021
|
+
_this.connectStatus = exports.ConnectionStatus.SessionClosed;
|
|
1022
|
+
} else if (_this.reconnectTries < _this.MAX_WS_RECONNECT_TRIES) {
|
|
1015
1023
|
_this.connectStatus = exports.ConnectionStatus.Break;
|
|
1016
1024
|
_this.reconnectTries++;
|
|
1017
1025
|
|
|
@@ -1524,7 +1532,7 @@ let Scheduler = /*#__PURE__*/function (_SchedulerService) {
|
|
|
1524
1532
|
const taskProgress = await this.getTaskProgress(id);
|
|
1525
1533
|
this.resolveTaskStatus(taskProgress, resolve, reject);
|
|
1526
1534
|
|
|
1527
|
-
const taskResultCallback = async _ref => {
|
|
1535
|
+
const taskResultCallback = async (_ref) => {
|
|
1528
1536
|
let {
|
|
1529
1537
|
data
|
|
1530
1538
|
} = _ref;
|
|
@@ -2839,6 +2847,22 @@ let TablesService = /*#__PURE__*/function (_Service) {
|
|
|
2839
2847
|
value: function updateTable(name, data) {
|
|
2840
2848
|
return this.http.patch("/tables/" + name, data).json();
|
|
2841
2849
|
}
|
|
2850
|
+
/**
|
|
2851
|
+
* No description
|
|
2852
|
+
*
|
|
2853
|
+
* @tags Tables
|
|
2854
|
+
* @name PutTable
|
|
2855
|
+
* @operationId TablesController_PutTable
|
|
2856
|
+
* @summary Override exists table.
|
|
2857
|
+
* @request PUT:/tables/{name}
|
|
2858
|
+
* @response `200` Success
|
|
2859
|
+
*/
|
|
2860
|
+
|
|
2861
|
+
}, {
|
|
2862
|
+
key: "putTable",
|
|
2863
|
+
value: function putTable(name, data) {
|
|
2864
|
+
return this.http.put("/tables/" + name, data).json();
|
|
2865
|
+
}
|
|
2842
2866
|
/**
|
|
2843
2867
|
* No description
|
|
2844
2868
|
*
|
|
@@ -3399,6 +3423,22 @@ let ProjectsService = /*#__PURE__*/function (_Service) {
|
|
|
3399
3423
|
value: function getProjectLayersExtendedInfo(name) {
|
|
3400
3424
|
return this.http.get("/projects/" + name + "/extended-info").json();
|
|
3401
3425
|
}
|
|
3426
|
+
/**
|
|
3427
|
+
* No description
|
|
3428
|
+
*
|
|
3429
|
+
* @tags Projects
|
|
3430
|
+
* @name GetTilesLayerImage
|
|
3431
|
+
* @operationId ProjectsController_GetTilesLayerImage
|
|
3432
|
+
* @summary Render tile.
|
|
3433
|
+
* @request GET:/projects/{name}/tile/{z}/{x}/{y}
|
|
3434
|
+
* @response `200` Success
|
|
3435
|
+
*/
|
|
3436
|
+
|
|
3437
|
+
}, {
|
|
3438
|
+
key: "getTilesLayerImage",
|
|
3439
|
+
value: function getTilesLayerImage(name, x, y, z) {
|
|
3440
|
+
return this.http.createUrl("/projects/" + name + "/tile/" + z + "/" + x + "/" + y);
|
|
3441
|
+
}
|
|
3402
3442
|
/**
|
|
3403
3443
|
* No description
|
|
3404
3444
|
*
|
|
@@ -3713,12 +3753,12 @@ let Resources = /*#__PURE__*/function () {
|
|
|
3713
3753
|
}, {
|
|
3714
3754
|
key: "getDependentNames",
|
|
3715
3755
|
value: function getDependentNames(deps, depType) {
|
|
3716
|
-
return deps.filter(_ref => {
|
|
3756
|
+
return deps.filter((_ref) => {
|
|
3717
3757
|
let {
|
|
3718
3758
|
type
|
|
3719
3759
|
} = _ref;
|
|
3720
3760
|
return type === depType;
|
|
3721
|
-
}).map(_ref2 => {
|
|
3761
|
+
}).map((_ref2) => {
|
|
3722
3762
|
let {
|
|
3723
3763
|
name
|
|
3724
3764
|
} = _ref2;
|
|
@@ -6848,7 +6888,7 @@ function isFeatureLayer(layer) {
|
|
|
6848
6888
|
GeometryType["Unknown"] = "unknown";
|
|
6849
6889
|
GeometryType["Point"] = "point";
|
|
6850
6890
|
GeometryType["Polyline"] = "polyline";
|
|
6851
|
-
GeometryType["Polygon"] = "
|
|
6891
|
+
GeometryType["Polygon"] = "multipolygon";
|
|
6852
6892
|
GeometryType["Envelope"] = "envelope";
|
|
6853
6893
|
GeometryType["Multipoint"] = "multipoint";
|
|
6854
6894
|
})(exports.GeometryType || (exports.GeometryType = {}));
|
|
@@ -6939,6 +6979,7 @@ function isFeatureLayer(layer) {
|
|
|
6939
6979
|
(function (SimplifyType) {
|
|
6940
6980
|
SimplifyType["Basic"] = "Basic";
|
|
6941
6981
|
SimplifyType["PreserveTopology"] = "PreserveTopology";
|
|
6982
|
+
SimplifyType["VW"] = "VW";
|
|
6942
6983
|
})(exports.SimplifyType || (exports.SimplifyType = {}));
|
|
6943
6984
|
|
|
6944
6985
|
(function (StringSubType) {
|