@evergis/api 3.0.190 → 3.0.192
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__/CatalogService.d.ts +34 -1
- package/dist/__generated__/LayersService.d.ts +24 -2
- package/dist/__generated__/ProjectsService.d.ts +2 -2
- package/dist/__generated__/StatisticService.d.ts +2 -2
- package/dist/__generated__/TablesService.d.ts +2 -2
- package/dist/__generated__/TagsService.d.ts +2 -2
- package/dist/__generated__/WmsServerService.d.ts +2 -2
- package/dist/__generated__/data-contracts.d.ts +328 -259
- package/dist/api.cjs.development.js +90 -27
- 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 +275 -230
- package/dist/api.esm.js.map +1 -1
- package/dist/services/Statistic.d.ts +2 -2
- package/package.json +2 -2
|
@@ -36,9 +36,6 @@ function _defineProperties(target, props) {
|
|
|
36
36
|
function _createClass(Constructor, protoProps, staticProps) {
|
|
37
37
|
if (protoProps) _defineProperties(Constructor.prototype, protoProps);
|
|
38
38
|
if (staticProps) _defineProperties(Constructor, staticProps);
|
|
39
|
-
Object.defineProperty(Constructor, "prototype", {
|
|
40
|
-
writable: false
|
|
41
|
-
});
|
|
42
39
|
return Constructor;
|
|
43
40
|
}
|
|
44
41
|
|
|
@@ -72,9 +69,6 @@ function _inherits(subClass, superClass) {
|
|
|
72
69
|
configurable: true
|
|
73
70
|
}
|
|
74
71
|
});
|
|
75
|
-
Object.defineProperty(subClass, "prototype", {
|
|
76
|
-
writable: false
|
|
77
|
-
});
|
|
78
72
|
if (superClass) _setPrototypeOf(subClass, superClass);
|
|
79
73
|
}
|
|
80
74
|
|
|
@@ -133,8 +127,6 @@ function _assertThisInitialized(self) {
|
|
|
133
127
|
function _possibleConstructorReturn(self, call) {
|
|
134
128
|
if (call && (typeof call === "object" || typeof call === "function")) {
|
|
135
129
|
return call;
|
|
136
|
-
} else if (call !== void 0) {
|
|
137
|
-
throw new TypeError("Derived constructors may only return object or undefined");
|
|
138
130
|
}
|
|
139
131
|
|
|
140
132
|
return _assertThisInitialized(self);
|
|
@@ -168,7 +160,7 @@ function _superPropBase(object, property) {
|
|
|
168
160
|
return object;
|
|
169
161
|
}
|
|
170
162
|
|
|
171
|
-
function _get() {
|
|
163
|
+
function _get(target, property, receiver) {
|
|
172
164
|
if (typeof Reflect !== "undefined" && Reflect.get) {
|
|
173
165
|
_get = Reflect.get;
|
|
174
166
|
} else {
|
|
@@ -179,14 +171,14 @@ function _get() {
|
|
|
179
171
|
var desc = Object.getOwnPropertyDescriptor(base, property);
|
|
180
172
|
|
|
181
173
|
if (desc.get) {
|
|
182
|
-
return desc.get.call(
|
|
174
|
+
return desc.get.call(receiver);
|
|
183
175
|
}
|
|
184
176
|
|
|
185
177
|
return desc.value;
|
|
186
178
|
};
|
|
187
179
|
}
|
|
188
180
|
|
|
189
|
-
return _get
|
|
181
|
+
return _get(target, property, receiver || target);
|
|
190
182
|
}
|
|
191
183
|
|
|
192
184
|
let HttpClient = /*#__PURE__*/function () {
|
|
@@ -585,6 +577,38 @@ let CatalogService = /*#__PURE__*/function (_Service) {
|
|
|
585
577
|
value: function postGetAll(data) {
|
|
586
578
|
return this.http.post("/resources", data).json();
|
|
587
579
|
}
|
|
580
|
+
/**
|
|
581
|
+
* No description
|
|
582
|
+
*
|
|
583
|
+
* @tags Catalog
|
|
584
|
+
* @name GetTags
|
|
585
|
+
* @operationId CatalogController_GetTags
|
|
586
|
+
* @summary Get all tags of given user.
|
|
587
|
+
* @request GET:/resources/tags
|
|
588
|
+
* @response `200` OK
|
|
589
|
+
*/
|
|
590
|
+
|
|
591
|
+
}, {
|
|
592
|
+
key: "getTags",
|
|
593
|
+
value: function getTags(query) {
|
|
594
|
+
return this.http.get("/resources/tags", query).json();
|
|
595
|
+
}
|
|
596
|
+
/**
|
|
597
|
+
* No description
|
|
598
|
+
*
|
|
599
|
+
* @tags Catalog
|
|
600
|
+
* @name PutTags
|
|
601
|
+
* @operationId CatalogController_PutTags
|
|
602
|
+
* @summary Put tags to resource.
|
|
603
|
+
* @request PUT:/resources/{resourceId}/tags
|
|
604
|
+
* @response `200` OK
|
|
605
|
+
*/
|
|
606
|
+
|
|
607
|
+
}, {
|
|
608
|
+
key: "putTags",
|
|
609
|
+
value: function putTags(resourceId, data) {
|
|
610
|
+
return this.http.put("/resources/" + resourceId + "/tags", data).json();
|
|
611
|
+
}
|
|
588
612
|
/**
|
|
589
613
|
* No description
|
|
590
614
|
*
|
|
@@ -617,6 +641,22 @@ let CatalogService = /*#__PURE__*/function (_Service) {
|
|
|
617
641
|
value: function getResource(resourceId) {
|
|
618
642
|
return this.http.get("/resources/" + resourceId).json();
|
|
619
643
|
}
|
|
644
|
+
/**
|
|
645
|
+
* No description
|
|
646
|
+
*
|
|
647
|
+
* @tags Catalog
|
|
648
|
+
* @name PatchResource
|
|
649
|
+
* @operationId CatalogController_PatchResource
|
|
650
|
+
* @summary Update directory.
|
|
651
|
+
* @request PATCH:/resources/{resourceId}
|
|
652
|
+
* @response `200` OK
|
|
653
|
+
*/
|
|
654
|
+
|
|
655
|
+
}, {
|
|
656
|
+
key: "patchResource",
|
|
657
|
+
value: function patchResource(resourceId, data) {
|
|
658
|
+
return this.http.patch("/resources/" + resourceId, data).json();
|
|
659
|
+
}
|
|
620
660
|
/**
|
|
621
661
|
* No description
|
|
622
662
|
*
|
|
@@ -3148,8 +3188,37 @@ let LayersService = /*#__PURE__*/function (_Service) {
|
|
|
3148
3188
|
}
|
|
3149
3189
|
|
|
3150
3190
|
_createClass(LayersService, [{
|
|
3151
|
-
key: "
|
|
3191
|
+
key: "getBulkFeatures",
|
|
3152
3192
|
value:
|
|
3193
|
+
/**
|
|
3194
|
+
* No description
|
|
3195
|
+
*
|
|
3196
|
+
* @tags Layers
|
|
3197
|
+
* @name GetBulkFeatures
|
|
3198
|
+
* @operationId LayersController_GetBulkFeatures
|
|
3199
|
+
* @summary Returns list of the layer features.
|
|
3200
|
+
* @request POST:/bulk/layers/features/query
|
|
3201
|
+
* @response `200` OK
|
|
3202
|
+
*/
|
|
3203
|
+
function getBulkFeatures(data) {
|
|
3204
|
+
return this.http.post("/bulk/layers/features/query", data).json();
|
|
3205
|
+
}
|
|
3206
|
+
/**
|
|
3207
|
+
* No description
|
|
3208
|
+
*
|
|
3209
|
+
* @tags Layers
|
|
3210
|
+
* @name GetFeaturesFromLayers
|
|
3211
|
+
* @operationId LayersController_GetFeaturesFromLayers
|
|
3212
|
+
* @summary Returns list of the layer features.
|
|
3213
|
+
* @request POST:/layers/features/query
|
|
3214
|
+
* @response `200` OK
|
|
3215
|
+
*/
|
|
3216
|
+
|
|
3217
|
+
}, {
|
|
3218
|
+
key: "getFeaturesFromLayers",
|
|
3219
|
+
value: function getFeaturesFromLayers(data) {
|
|
3220
|
+
return this.http.post("/layers/features/query", data).json();
|
|
3221
|
+
}
|
|
3153
3222
|
/**
|
|
3154
3223
|
* No description
|
|
3155
3224
|
*
|
|
@@ -3160,7 +3229,10 @@ let LayersService = /*#__PURE__*/function (_Service) {
|
|
|
3160
3229
|
* @request GET:/layers
|
|
3161
3230
|
* @response `200` OK
|
|
3162
3231
|
*/
|
|
3163
|
-
|
|
3232
|
+
|
|
3233
|
+
}, {
|
|
3234
|
+
key: "getLayersList",
|
|
3235
|
+
value: function getLayersList(query) {
|
|
3164
3236
|
return this.http.get("/layers", query).json();
|
|
3165
3237
|
}
|
|
3166
3238
|
/**
|
|
@@ -4945,8 +5017,8 @@ let Notification = /*#__PURE__*/function (_NotificationService) {
|
|
|
4945
5017
|
|| event.code === 4002
|
|
4946
5018
|
/* InvalidSession */
|
|
4947
5019
|
) {
|
|
4948
|
-
|
|
4949
|
-
|
|
5020
|
+
_this.connectStatus = exports.ConnectionStatus.SessionClosed;
|
|
5021
|
+
} else if (_this.reconnectTries < _this.MAX_WS_RECONNECT_TRIES) {
|
|
4950
5022
|
_this.connectStatus = exports.ConnectionStatus.Break;
|
|
4951
5023
|
_this.reconnectTries++;
|
|
4952
5024
|
|
|
@@ -5778,12 +5850,12 @@ let Resources = /*#__PURE__*/function () {
|
|
|
5778
5850
|
}, {
|
|
5779
5851
|
key: "getDependentNames",
|
|
5780
5852
|
value: function getDependentNames(deps, depType) {
|
|
5781
|
-
return deps.filter(_ref => {
|
|
5853
|
+
return deps.filter((_ref) => {
|
|
5782
5854
|
let {
|
|
5783
5855
|
type
|
|
5784
5856
|
} = _ref;
|
|
5785
5857
|
return type === depType;
|
|
5786
|
-
}).map(_ref2 => {
|
|
5858
|
+
}).map((_ref2) => {
|
|
5787
5859
|
let {
|
|
5788
5860
|
name
|
|
5789
5861
|
} = _ref2;
|
|
@@ -6239,7 +6311,7 @@ let Scheduler = /*#__PURE__*/function (_SchedulerService) {
|
|
|
6239
6311
|
const taskProgress = await this.getTaskProgress(id);
|
|
6240
6312
|
this.resolveTaskStatus(taskProgress, resolve, reject);
|
|
6241
6313
|
|
|
6242
|
-
const taskResultCallback = async _ref => {
|
|
6314
|
+
const taskResultCallback = async (_ref) => {
|
|
6243
6315
|
let {
|
|
6244
6316
|
data
|
|
6245
6317
|
} = _ref;
|
|
@@ -8156,15 +8228,6 @@ function isFeatureLayer(layer) {
|
|
|
8156
8228
|
Quality["High"] = "High";
|
|
8157
8229
|
})(exports.Quality || (exports.Quality = {}));
|
|
8158
8230
|
|
|
8159
|
-
(function (ReferenceJoinType) {
|
|
8160
|
-
ReferenceJoinType["OneToMany"] = "OneToMany";
|
|
8161
|
-
ReferenceJoinType["OneToOne"] = "OneToOne";
|
|
8162
|
-
ReferenceJoinType["Intersect"] = "Intersect";
|
|
8163
|
-
ReferenceJoinType["RightJoin"] = "RightJoin";
|
|
8164
|
-
ReferenceJoinType["FullJoin"] = "FullJoin";
|
|
8165
|
-
ReferenceJoinType["CrossJoin"] = "CrossJoin";
|
|
8166
|
-
})(exports.ReferenceJoinType || (exports.ReferenceJoinType = {}));
|
|
8167
|
-
|
|
8168
8231
|
(function (ResourceType) {
|
|
8169
8232
|
ResourceType["Unknown"] = "Unknown";
|
|
8170
8233
|
ResourceType["Table"] = "table";
|