@evergis/api 3.0.135 → 3.0.137
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 +66 -9
- 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 +226 -167
- package/dist/api.esm.js.map +1 -1
- package/package.json +2 -2
|
@@ -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(
|
|
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(
|
|
188
|
+
return _get.apply(this, arguments);
|
|
181
189
|
}
|
|
182
190
|
|
|
183
191
|
let HttpClient = /*#__PURE__*/function () {
|
|
@@ -795,6 +803,22 @@ let ImportService = /*#__PURE__*/function (_Service) {
|
|
|
795
803
|
value: function getExternalWmsLayers(query) {
|
|
796
804
|
return this.http.get("/import/wms", query).json();
|
|
797
805
|
}
|
|
806
|
+
/**
|
|
807
|
+
* No description
|
|
808
|
+
*
|
|
809
|
+
* @tags ImportService
|
|
810
|
+
* @name GetExternalPbfLayers
|
|
811
|
+
* @operationId ImportServiceController_GetExternalPbfLayers
|
|
812
|
+
* @summary Get list of external PBF layers.
|
|
813
|
+
* @request GET:/import/pbf
|
|
814
|
+
* @response `200` Success
|
|
815
|
+
*/
|
|
816
|
+
|
|
817
|
+
}, {
|
|
818
|
+
key: "getExternalPbfLayers",
|
|
819
|
+
value: function getExternalPbfLayers(query) {
|
|
820
|
+
return this.http.get("/import/pbf", query).json();
|
|
821
|
+
}
|
|
798
822
|
/**
|
|
799
823
|
* No description
|
|
800
824
|
*
|
|
@@ -1002,8 +1026,8 @@ let Notification = /*#__PURE__*/function (_NotificationService) {
|
|
|
1002
1026
|
|| event.code === 4002
|
|
1003
1027
|
/* InvalidSession */
|
|
1004
1028
|
) {
|
|
1005
|
-
|
|
1006
|
-
|
|
1029
|
+
_this.connectStatus = exports.ConnectionStatus.SessionClosed;
|
|
1030
|
+
} else if (_this.reconnectTries < _this.MAX_WS_RECONNECT_TRIES) {
|
|
1007
1031
|
_this.connectStatus = exports.ConnectionStatus.Break;
|
|
1008
1032
|
_this.reconnectTries++;
|
|
1009
1033
|
|
|
@@ -1516,7 +1540,7 @@ let Scheduler = /*#__PURE__*/function (_SchedulerService) {
|
|
|
1516
1540
|
const taskProgress = await this.getTaskProgress(id);
|
|
1517
1541
|
this.resolveTaskStatus(taskProgress, resolve, reject);
|
|
1518
1542
|
|
|
1519
|
-
const taskResultCallback = async
|
|
1543
|
+
const taskResultCallback = async _ref => {
|
|
1520
1544
|
let {
|
|
1521
1545
|
data
|
|
1522
1546
|
} = _ref;
|
|
@@ -2831,6 +2855,22 @@ let TablesService = /*#__PURE__*/function (_Service) {
|
|
|
2831
2855
|
value: function updateTable(name, data) {
|
|
2832
2856
|
return this.http.patch("/tables/" + name, data).json();
|
|
2833
2857
|
}
|
|
2858
|
+
/**
|
|
2859
|
+
* No description
|
|
2860
|
+
*
|
|
2861
|
+
* @tags Tables
|
|
2862
|
+
* @name PutTable
|
|
2863
|
+
* @operationId TablesController_PutTable
|
|
2864
|
+
* @summary Override exists table.
|
|
2865
|
+
* @request PUT:/tables/{name}
|
|
2866
|
+
* @response `200` Success
|
|
2867
|
+
*/
|
|
2868
|
+
|
|
2869
|
+
}, {
|
|
2870
|
+
key: "putTable",
|
|
2871
|
+
value: function putTable(name, data) {
|
|
2872
|
+
return this.http.put("/tables/" + name, data).json();
|
|
2873
|
+
}
|
|
2834
2874
|
/**
|
|
2835
2875
|
* No description
|
|
2836
2876
|
*
|
|
@@ -3391,6 +3431,22 @@ let ProjectsService = /*#__PURE__*/function (_Service) {
|
|
|
3391
3431
|
value: function getProjectLayersExtendedInfo(name) {
|
|
3392
3432
|
return this.http.get("/projects/" + name + "/extended-info").json();
|
|
3393
3433
|
}
|
|
3434
|
+
/**
|
|
3435
|
+
* No description
|
|
3436
|
+
*
|
|
3437
|
+
* @tags Projects
|
|
3438
|
+
* @name GetTilesLayerImage
|
|
3439
|
+
* @operationId ProjectsController_GetTilesLayerImage
|
|
3440
|
+
* @summary Render tile.
|
|
3441
|
+
* @request GET:/projects/{name}/tile/{z}/{x}/{y}
|
|
3442
|
+
* @response `200` Success
|
|
3443
|
+
*/
|
|
3444
|
+
|
|
3445
|
+
}, {
|
|
3446
|
+
key: "getTilesLayerImage",
|
|
3447
|
+
value: function getTilesLayerImage(name, x, y, z) {
|
|
3448
|
+
return this.http.createUrl("/projects/" + name + "/tile/" + z + "/" + x + "/" + y);
|
|
3449
|
+
}
|
|
3394
3450
|
/**
|
|
3395
3451
|
* No description
|
|
3396
3452
|
*
|
|
@@ -3705,12 +3761,12 @@ let Resources = /*#__PURE__*/function () {
|
|
|
3705
3761
|
}, {
|
|
3706
3762
|
key: "getDependentNames",
|
|
3707
3763
|
value: function getDependentNames(deps, depType) {
|
|
3708
|
-
return deps.filter(
|
|
3764
|
+
return deps.filter(_ref => {
|
|
3709
3765
|
let {
|
|
3710
3766
|
type
|
|
3711
3767
|
} = _ref;
|
|
3712
3768
|
return type === depType;
|
|
3713
|
-
}).map(
|
|
3769
|
+
}).map(_ref2 => {
|
|
3714
3770
|
let {
|
|
3715
3771
|
name
|
|
3716
3772
|
} = _ref2;
|
|
@@ -6840,7 +6896,7 @@ function isFeatureLayer(layer) {
|
|
|
6840
6896
|
GeometryType["Unknown"] = "unknown";
|
|
6841
6897
|
GeometryType["Point"] = "point";
|
|
6842
6898
|
GeometryType["Polyline"] = "polyline";
|
|
6843
|
-
GeometryType["Polygon"] = "
|
|
6899
|
+
GeometryType["Polygon"] = "multipolygon";
|
|
6844
6900
|
GeometryType["Envelope"] = "envelope";
|
|
6845
6901
|
GeometryType["Multipoint"] = "multipoint";
|
|
6846
6902
|
})(exports.GeometryType || (exports.GeometryType = {}));
|
|
@@ -6931,6 +6987,7 @@ function isFeatureLayer(layer) {
|
|
|
6931
6987
|
(function (SimplifyType) {
|
|
6932
6988
|
SimplifyType["Basic"] = "Basic";
|
|
6933
6989
|
SimplifyType["PreserveTopology"] = "PreserveTopology";
|
|
6990
|
+
SimplifyType["VW"] = "VW";
|
|
6934
6991
|
})(exports.SimplifyType || (exports.SimplifyType = {}));
|
|
6935
6992
|
|
|
6936
6993
|
(function (StringSubType) {
|