@evergis/api 3.0.205 → 3.0.207
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/dist/Api.d.ts +4 -0
- package/dist/__generated__/DataSourceService.d.ts +5 -5
- package/dist/__generated__/LayersService.d.ts +2 -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__/WmsServerService.d.ts +2 -2
- package/dist/__generated__/data-contracts.d.ts +84 -14
- package/dist/api.cjs.development.js +112 -1
- 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 +116 -1
- package/dist/api.esm.js.map +1 -1
- package/dist/services/Statistic.d.ts +2 -2
- package/package.json +2 -2
package/dist/api.esm.js
CHANGED
|
@@ -309,6 +309,108 @@ let Service = /*#__PURE__*/_createClass(function Service(http) {
|
|
|
309
309
|
this.http = http;
|
|
310
310
|
});
|
|
311
311
|
|
|
312
|
+
/**
|
|
313
|
+
* @title Spatial Processing Core API
|
|
314
|
+
* @version 1.5.1.0
|
|
315
|
+
* @baseUrl /sp
|
|
316
|
+
*/
|
|
317
|
+
|
|
318
|
+
let DataSourceService = /*#__PURE__*/function (_Service) {
|
|
319
|
+
_inherits(DataSourceService, _Service);
|
|
320
|
+
|
|
321
|
+
var _super = /*#__PURE__*/_createSuper(DataSourceService);
|
|
322
|
+
|
|
323
|
+
function DataSourceService() {
|
|
324
|
+
_classCallCheck(this, DataSourceService);
|
|
325
|
+
|
|
326
|
+
return _super.apply(this, arguments);
|
|
327
|
+
}
|
|
328
|
+
|
|
329
|
+
_createClass(DataSourceService, [{
|
|
330
|
+
key: "getDataSourcesList",
|
|
331
|
+
value:
|
|
332
|
+
/**
|
|
333
|
+
* No description
|
|
334
|
+
*
|
|
335
|
+
* @tags DataSource
|
|
336
|
+
* @name GetDataSourcesList
|
|
337
|
+
* @operationId DataSourceController_GetDataSourcesList
|
|
338
|
+
* @summary Returns list of the available data sources.
|
|
339
|
+
* @request GET:/ds
|
|
340
|
+
* @response `200` OK
|
|
341
|
+
*/
|
|
342
|
+
function getDataSourcesList(query) {
|
|
343
|
+
return this.http.get("/ds", query).json();
|
|
344
|
+
}
|
|
345
|
+
/**
|
|
346
|
+
* No description
|
|
347
|
+
*
|
|
348
|
+
* @tags DataSource
|
|
349
|
+
* @name CreateDataSource
|
|
350
|
+
* @operationId DataSourceController_CreateDataSource
|
|
351
|
+
* @summary Create data source.
|
|
352
|
+
* @request POST:/ds
|
|
353
|
+
* @response `200` OK
|
|
354
|
+
*/
|
|
355
|
+
|
|
356
|
+
}, {
|
|
357
|
+
key: "createDataSource",
|
|
358
|
+
value: function createDataSource(data) {
|
|
359
|
+
return this.http.post("/ds", data).then(() => {});
|
|
360
|
+
}
|
|
361
|
+
/**
|
|
362
|
+
* No description
|
|
363
|
+
*
|
|
364
|
+
* @tags DataSource
|
|
365
|
+
* @name UpdateDataSource
|
|
366
|
+
* @operationId DataSourceController_UpdateDataSource
|
|
367
|
+
* @summary Update data source.
|
|
368
|
+
* @request PATCH:/ds
|
|
369
|
+
* @response `200` OK
|
|
370
|
+
*/
|
|
371
|
+
|
|
372
|
+
}, {
|
|
373
|
+
key: "updateDataSource",
|
|
374
|
+
value: function updateDataSource(data) {
|
|
375
|
+
return this.http.patch("/ds", data).then(() => {});
|
|
376
|
+
}
|
|
377
|
+
/**
|
|
378
|
+
* No description
|
|
379
|
+
*
|
|
380
|
+
* @tags DataSource
|
|
381
|
+
* @name GetDataSource
|
|
382
|
+
* @operationId DataSourceController_GetDataSource
|
|
383
|
+
* @summary Get data source by name.
|
|
384
|
+
* @request GET:/ds/{name}
|
|
385
|
+
* @response `200` OK
|
|
386
|
+
*/
|
|
387
|
+
|
|
388
|
+
}, {
|
|
389
|
+
key: "getDataSource",
|
|
390
|
+
value: function getDataSource(name) {
|
|
391
|
+
return this.http.get("/ds/" + name).json();
|
|
392
|
+
}
|
|
393
|
+
/**
|
|
394
|
+
* No description
|
|
395
|
+
*
|
|
396
|
+
* @tags DataSource
|
|
397
|
+
* @name RemoveDataSource
|
|
398
|
+
* @operationId DataSourceController_RemoveDataSource
|
|
399
|
+
* @summary Remove data source by name.
|
|
400
|
+
* @request DELETE:/ds/{name}
|
|
401
|
+
* @response `200` OK
|
|
402
|
+
*/
|
|
403
|
+
|
|
404
|
+
}, {
|
|
405
|
+
key: "removeDataSource",
|
|
406
|
+
value: function removeDataSource(name) {
|
|
407
|
+
return this.http.delete("/ds/" + name, null).then(() => {});
|
|
408
|
+
}
|
|
409
|
+
}]);
|
|
410
|
+
|
|
411
|
+
return DataSourceService;
|
|
412
|
+
}(Service);
|
|
413
|
+
|
|
312
414
|
/**
|
|
313
415
|
* @title Spatial Processing Core API
|
|
314
416
|
* @version 1.5.1.0
|
|
@@ -5148,7 +5250,7 @@ let Notification = /*#__PURE__*/function (_NotificationService) {
|
|
|
5148
5250
|
value: async function subscribe(tag) {
|
|
5149
5251
|
this.subscriptions.push(tag);
|
|
5150
5252
|
setTimeout(() => {
|
|
5151
|
-
if (!this.api.isShared && this.subscriptions.length) {
|
|
5253
|
+
if (!this.api.isShared && !this.api.isPresentation && this.subscriptions.length) {
|
|
5152
5254
|
this.subscribeListOperation(this.subscriptions);
|
|
5153
5255
|
}
|
|
5154
5256
|
|
|
@@ -7509,6 +7611,7 @@ var UrlPath;
|
|
|
7509
7611
|
(function (UrlPath) {
|
|
7510
7612
|
UrlPath["Base"] = "/map";
|
|
7511
7613
|
UrlPath["Shared"] = "/shared";
|
|
7614
|
+
UrlPath["Presentation"] = "/presentation";
|
|
7512
7615
|
UrlPath["Portal"] = "/portal";
|
|
7513
7616
|
})(UrlPath || (UrlPath = {}));
|
|
7514
7617
|
|
|
@@ -7604,6 +7707,7 @@ let Api = /*#__PURE__*/function (_EventEmitter) {
|
|
|
7604
7707
|
_this.eql = new Eql(_this.http);
|
|
7605
7708
|
_this.catalog = new CatalogService(_this.http);
|
|
7606
7709
|
_this.queryToken = new QueryTokenAccessService(_this.http);
|
|
7710
|
+
_this.dataSource = new DataSourceService(_this.http);
|
|
7607
7711
|
_this.names = new Names({
|
|
7608
7712
|
account: _this.account
|
|
7609
7713
|
});
|
|
@@ -7721,6 +7825,11 @@ let Api = /*#__PURE__*/function (_EventEmitter) {
|
|
|
7721
7825
|
get: function get() {
|
|
7722
7826
|
return this.urlPath === UrlPath.Shared;
|
|
7723
7827
|
}
|
|
7828
|
+
}, {
|
|
7829
|
+
key: "isPresentation",
|
|
7830
|
+
get: function get() {
|
|
7831
|
+
return this.urlPath === UrlPath.Presentation;
|
|
7832
|
+
}
|
|
7724
7833
|
}]);
|
|
7725
7834
|
|
|
7726
7835
|
return Api;
|
|
@@ -8279,6 +8388,8 @@ Table
|
|
|
8279
8388
|
File
|
|
8280
8389
|
|
|
8281
8390
|
TaskPrototype
|
|
8391
|
+
|
|
8392
|
+
DataSource
|
|
8282
8393
|
*/
|
|
8283
8394
|
|
|
8284
8395
|
|
|
@@ -8291,6 +8402,7 @@ var CatalogResourceType;
|
|
|
8291
8402
|
CatalogResourceType["Table"] = "Table";
|
|
8292
8403
|
CatalogResourceType["File"] = "File";
|
|
8293
8404
|
CatalogResourceType["TaskPrototype"] = "TaskPrototype";
|
|
8405
|
+
CatalogResourceType["DataSource"] = "DataSource";
|
|
8294
8406
|
})(CatalogResourceType || (CatalogResourceType = {}));
|
|
8295
8407
|
/**
|
|
8296
8408
|
* Describes classification methods.
|
|
@@ -8423,6 +8535,8 @@ var ConfigurationErrorEnum;
|
|
|
8423
8535
|
|
|
8424
8536
|
Postgres
|
|
8425
8537
|
|
|
8538
|
+
Trino
|
|
8539
|
+
|
|
8426
8540
|
S3
|
|
8427
8541
|
|
|
8428
8542
|
GisServer
|
|
@@ -8433,6 +8547,7 @@ var DataSourceType;
|
|
|
8433
8547
|
|
|
8434
8548
|
(function (DataSourceType) {
|
|
8435
8549
|
DataSourceType["Postgres"] = "Postgres";
|
|
8550
|
+
DataSourceType["Trino"] = "Trino";
|
|
8436
8551
|
DataSourceType["S3"] = "S3";
|
|
8437
8552
|
DataSourceType["GisServer"] = "GisServer";
|
|
8438
8553
|
})(DataSourceType || (DataSourceType = {}));
|