@evergis/api 3.0.214 → 4.0.1-alpha.0

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.
Files changed (33) hide show
  1. package/dist/Api.d.ts +3 -5
  2. package/dist/__generated__/AccountService.d.ts +2 -2
  3. package/dist/__generated__/DataSourceService.d.ts +46 -2
  4. package/dist/__generated__/EqlService.d.ts +12 -1
  5. package/dist/__generated__/LayersService.d.ts +2 -2
  6. package/dist/__generated__/ProjectsService.d.ts +2 -2
  7. package/dist/__generated__/RemoteTaskManagerService.d.ts +262 -0
  8. package/dist/__generated__/TablesService.d.ts +2 -2
  9. package/dist/__generated__/WmsServerService.d.ts +2 -2
  10. package/dist/__generated__/data-contracts.d.ts +493 -455
  11. package/dist/api.cjs.development.js +509 -857
  12. package/dist/api.cjs.development.js.map +1 -1
  13. package/dist/api.cjs.production.min.js +1 -1
  14. package/dist/api.cjs.production.min.js.map +1 -1
  15. package/dist/api.esm.js +565 -883
  16. package/dist/api.esm.js.map +1 -1
  17. package/dist/index.d.ts +0 -3
  18. package/dist/services/RemoteTaskManager.d.ts +3 -0
  19. package/dist/services/Statistic.d.ts +4 -2
  20. package/dist/services/index.d.ts +1 -1
  21. package/dist/utils/errorHandler.d.ts +1 -1
  22. package/dist/utils/index.d.ts +0 -1
  23. package/package.json +2 -2
  24. package/dist/SpatialProcessor.d.ts +0 -30
  25. package/dist/__generated__/SchedulerService.d.ts +0 -207
  26. package/dist/layers/EvergisDynamicLayer.d.ts +0 -28
  27. package/dist/layers/EvergisTileLayer.d.ts +0 -18
  28. package/dist/layers/LayersManager.d.ts +0 -11
  29. package/dist/layers/index.d.ts +0 -3
  30. package/dist/services/Scheduler.d.ts +0 -20
  31. package/dist/types/EvergisLayer.d.ts +0 -6
  32. package/dist/types/index.d.ts +0 -1
  33. package/dist/utils/guards.d.ts +0 -6
package/dist/api.esm.js CHANGED
@@ -4,12 +4,6 @@ export { HTTPError, TimeoutError } from 'ky';
4
4
  import { HubConnectionBuilder, HttpTransportType, HubConnectionState } from '@microsoft/signalr';
5
5
  import { stringify } from 'query-string';
6
6
  import { customAlphabet } from 'nanoid';
7
- import { DomPainter } from '@evergis/sgis/es/painters/DomPainter/DomPainter';
8
- import { Map } from '@evergis/sgis/es/Map';
9
- import { TileLayer } from '@evergis/sgis/es/layers/TileLayer';
10
- import { webMercator } from '@evergis/sgis/es/Crs';
11
- import { DynamicLayer } from '@evergis/sgis/es/layers/DynamicLayer';
12
- import { FeatureLayer } from '@evergis/sgis';
13
7
 
14
8
  function _classCallCheck(instance, Constructor) {
15
9
  if (!(instance instanceof Constructor)) {
@@ -327,8 +321,37 @@ let DataSourceService = /*#__PURE__*/function (_Service) {
327
321
  }
328
322
 
329
323
  _createClass(DataSourceService, [{
330
- key: "getDataSourcesList",
324
+ key: "createArcGisDataSource",
331
325
  value:
326
+ /**
327
+ * No description
328
+ *
329
+ * @tags DataSource
330
+ * @name CreateArcGisDataSource
331
+ * @operationId DataSourceController_CreateArcGisDataSource
332
+ * @summary Create S3 data source.
333
+ * @request POST:/ds/arcgis
334
+ * @response `200` OK
335
+ */
336
+ function createArcGisDataSource(data) {
337
+ return this.http.post("/ds/arcgis", data).then(() => {});
338
+ }
339
+ /**
340
+ * No description
341
+ *
342
+ * @tags DataSource
343
+ * @name UpdateArcGisDataSource
344
+ * @operationId DataSourceController_UpdateArcGisDataSource
345
+ * @summary Update arcgis data source.
346
+ * @request PATCH:/ds/arcgis
347
+ * @response `200` OK
348
+ */
349
+
350
+ }, {
351
+ key: "updateArcGisDataSource",
352
+ value: function updateArcGisDataSource(data) {
353
+ return this.http.patch("/ds/arcgis", data).then(() => {});
354
+ }
332
355
  /**
333
356
  * No description
334
357
  *
@@ -339,7 +362,10 @@ let DataSourceService = /*#__PURE__*/function (_Service) {
339
362
  * @request GET:/ds
340
363
  * @response `200` OK
341
364
  */
342
- function getDataSourcesList(query) {
365
+
366
+ }, {
367
+ key: "getDataSourcesList",
368
+ value: function getDataSourcesList(query) {
343
369
  return this.http.get("/ds", query).json();
344
370
  }
345
371
  /**
@@ -422,6 +448,38 @@ let DataSourceService = /*#__PURE__*/function (_Service) {
422
448
  value: function testConnection(data) {
423
449
  return this.http.post("/ds/testConnection", data).json();
424
450
  }
451
+ /**
452
+ * No description
453
+ *
454
+ * @tags DataSource
455
+ * @name CreateS3DataSource
456
+ * @operationId DataSourceController_CreateS3DataSource
457
+ * @summary Create S3 data source.
458
+ * @request POST:/ds/s3
459
+ * @response `200` OK
460
+ */
461
+
462
+ }, {
463
+ key: "createS3DataSource",
464
+ value: function createS3DataSource(data) {
465
+ return this.http.post("/ds/s3", data).then(() => {});
466
+ }
467
+ /**
468
+ * No description
469
+ *
470
+ * @tags DataSource
471
+ * @name UpdateS3DataSource
472
+ * @operationId DataSourceController_UpdateS3DataSource
473
+ * @summary Create S3 data source.
474
+ * @request PATCH:/ds/s3
475
+ * @response `200` OK
476
+ */
477
+
478
+ }, {
479
+ key: "updateS3DataSource",
480
+ value: function updateS3DataSource(data) {
481
+ return this.http.patch("/ds/s3", data).then(() => {});
482
+ }
425
483
  }]);
426
484
 
427
485
  return DataSourceService;
@@ -1044,7 +1102,7 @@ let AccountService = /*#__PURE__*/function (_Service) {
1044
1102
  return this.http.post("/account/register", data).text();
1045
1103
  }
1046
1104
  /**
1047
- * @description Only for users with SPCore.Security.ISecurityManager.SuperuserRole role.
1105
+ * @description Only for users with SPCore.Security.Abstractions.ISecurityManager.SuperuserRole role.
1048
1106
  *
1049
1107
  * @tags Account
1050
1108
  * @name CreateUser
@@ -1076,7 +1134,7 @@ let AccountService = /*#__PURE__*/function (_Service) {
1076
1134
  return this.http.patch("/account/user", data).then(() => {});
1077
1135
  }
1078
1136
  /**
1079
- * @description Only for users with SPCore.Security.ISecurityManager.SuperuserRole role.
1137
+ * @description Only for users with SPCore.Security.Abstractions.ISecurityManager.SuperuserRole role.
1080
1138
  *
1081
1139
  * @tags Account
1082
1140
  * @name ConfirmEmail
@@ -2314,6 +2372,22 @@ let EqlService = /*#__PURE__*/function (_Service) {
2314
2372
  value: function removeLayerParameterValue(query) {
2315
2373
  return this.http.delete("/eql/removeParam", null, query).then(() => {});
2316
2374
  }
2375
+ /**
2376
+ * No description
2377
+ *
2378
+ * @tags Eql
2379
+ * @name GetAvailiableLayerParameters
2380
+ * @operationId EqlController_GetAvailiableLayerParameters
2381
+ * @summary Get availiable layer parameters values.
2382
+ * @request GET:/eql/getAvailiableParams
2383
+ * @response `200` OK
2384
+ */
2385
+
2386
+ }, {
2387
+ key: "getAvailiableLayerParameters",
2388
+ value: function getAvailiableLayerParameters(query) {
2389
+ return this.http.get("/eql/getAvailiableParams", query).json();
2390
+ }
2317
2391
  }]);
2318
2392
 
2319
2393
  return EqlService;
@@ -4826,15 +4900,6 @@ function formDataFromFile(file) {
4826
4900
  return data;
4827
4901
  }
4828
4902
 
4829
- function createGuard(type) {
4830
- return function (typed) {
4831
- if (!typed.type) return false;
4832
- return type.includes(typed.type);
4833
- };
4834
- }
4835
-
4836
- const isLayer = /*#__PURE__*/createGuard(['PostgresLayerService', 'PostgresTileLayerService', 'QueryLayerService']);
4837
-
4838
4903
  function isString(v) {
4839
4904
  return typeof v === 'string';
4840
4905
  }
@@ -5930,658 +5995,601 @@ function isProjectContentItems(v) {
5930
5995
  return v !== null && v !== undefined;
5931
5996
  }
5932
5997
 
5998
+ const _excluded$7 = ["id"];
5933
5999
  /**
5934
6000
  * @title Spatial Processing Core API
5935
6001
  * @version 1.5.1.0
5936
6002
  * @baseUrl /sp
5937
6003
  */
5938
6004
 
5939
- let ResourceCatalogService = /*#__PURE__*/function (_Service) {
5940
- _inherits(ResourceCatalogService, _Service);
6005
+ let RemoteTaskManagerService = /*#__PURE__*/function (_Service) {
6006
+ _inherits(RemoteTaskManagerService, _Service);
5941
6007
 
5942
- var _super = /*#__PURE__*/_createSuper(ResourceCatalogService);
6008
+ var _super = /*#__PURE__*/_createSuper(RemoteTaskManagerService);
5943
6009
 
5944
- function ResourceCatalogService() {
5945
- _classCallCheck(this, ResourceCatalogService);
6010
+ function RemoteTaskManagerService() {
6011
+ _classCallCheck(this, RemoteTaskManagerService);
5946
6012
 
5947
6013
  return _super.apply(this, arguments);
5948
6014
  }
5949
6015
 
5950
- _createClass(ResourceCatalogService, [{
5951
- key: "checkLimits",
6016
+ _createClass(RemoteTaskManagerService, [{
6017
+ key: "cancelTask",
5952
6018
  value:
5953
6019
  /**
5954
- * @description This method requires superuser permission.
6020
+ * No description
5955
6021
  *
5956
- * @tags ResourceCatalog
5957
- * @name CheckLimits
5958
- * @operationId ResourceCatalogController_CheckLimits
5959
- * @summary Get limits of workspace.
5960
- * @request GET:/resources/checkLimits
6022
+ * @tags RemoteTaskManager
6023
+ * @name CancelTask
6024
+ * @operationId RemoteTaskManagerController_CancelTask
6025
+ * @summary Cancel task execution by given id.
6026
+ * @request POST:/scheduler/tasks/{id}/cancel
5961
6027
  * @response `200` OK
5962
6028
  */
5963
- function checkLimits(query) {
5964
- return this.http.get("/resources/checkLimits", query).json();
6029
+ function cancelTask(id) {
6030
+ return this.http.post("/scheduler/tasks/" + id + "/cancel", null).then(() => {});
5965
6031
  }
5966
6032
  /**
5967
6033
  * No description
5968
6034
  *
5969
- * @tags ResourceCatalog
5970
- * @name CopyResources
5971
- * @operationId ResourceCatalogController_CopyResources
5972
- * @summary Copy a set of resources.
5973
- * @request POST:/resources/copy
6035
+ * @tags RemoteTaskManager
6036
+ * @name StartCogCreateTask
6037
+ * @operationId RemoteTaskManagerController_StartCogCreateTask
6038
+ * @summary Plans the execution of a 'create raster cog' server task.
6039
+ * @request POST:/scheduler/tasks#type=cogService_create
5974
6040
  * @response `200` OK
5975
6041
  */
5976
6042
 
5977
6043
  }, {
5978
- key: "copyResources",
5979
- value: function copyResources(data) {
5980
- return this.http.post("/resources/copy", data).json();
5981
- }
5982
- }]);
5983
-
5984
- return ResourceCatalogService;
5985
- }(Service);
5986
-
5987
- let ResourceCatalog = /*#__PURE__*/function (_ResourceCatalogServi) {
5988
- _inherits(ResourceCatalog, _ResourceCatalogServi);
5989
-
5990
- var _super = /*#__PURE__*/_createSuper(ResourceCatalog);
5991
-
5992
- function ResourceCatalog() {
5993
- _classCallCheck(this, ResourceCatalog);
5994
-
5995
- return _super.apply(this, arguments);
5996
- }
5997
-
5998
- return _createClass(ResourceCatalog);
5999
- }(ResourceCatalogService);
6000
-
6001
- var DependencyType;
6002
-
6003
- (function (DependencyType) {
6004
- DependencyType["Layer"] = "Layer";
6005
- DependencyType["Table"] = "Table";
6006
- DependencyType["Project"] = "Project";
6007
- })(DependencyType || (DependencyType = {}));
6008
-
6009
- let Resources = /*#__PURE__*/function () {
6010
- function Resources(projects, layers, tables) {
6011
- _classCallCheck(this, Resources);
6012
-
6013
- this.projects = projects;
6014
- this.layers = layers;
6015
- this.tables = tables;
6016
- }
6017
-
6018
- _createClass(Resources, [{
6019
- key: "getProjectInfosWithDeps",
6020
- value: async function getProjectInfosWithDeps(projects) {
6021
- const projectInfos = await this.projects.getProjectInfos(projects);
6022
- const projectDeps = await this.projects.getProjectsDeps(projects);
6023
- const {
6024
- layers,
6025
- tables
6026
- } = await this.getDependencies(projectDeps, true, true);
6027
- return {
6028
- projects: projectInfos,
6029
- deps: {
6030
- layers,
6031
- tables
6032
- }
6033
- };
6034
- }
6035
- }, {
6036
- key: "getLayerInfosWithDeps",
6037
- value: async function getLayerInfosWithDeps(layers) {
6038
- const layerInfos = await this.layers.getLayerInfos(layers);
6039
- const layersDeps = await this.layers.getLayersDeps(layers);
6040
- const {
6041
- tables
6042
- } = await this.getDependencies(layersDeps, false, true);
6043
- return {
6044
- layers: layerInfos,
6045
- deps: {
6046
- tables
6047
- }
6048
- };
6049
- }
6050
- }, {
6051
- key: "getDependencies",
6052
- value: async function getDependencies(resourceDeps, pickLayers, pickTables) {
6053
- const {
6054
- tables,
6055
- layers
6056
- } = resourceDeps.reduce((acc, layerDep) => {
6057
- const deps = layerDep.dependencies || [];
6058
-
6059
- if (pickLayers) {
6060
- const layerNames = this.getDependentNames(deps, DependencyType.Layer);
6061
- acc.layers.push(...layerNames);
6062
- }
6063
-
6064
- if (pickTables) {
6065
- const tableNames = this.getDependentNames(deps, DependencyType.Table);
6066
- acc.tables.push(...tableNames);
6067
- }
6068
-
6069
- return acc;
6070
- }, {
6071
- tables: [],
6072
- layers: []
6073
- });
6074
- return {
6075
- tables: await this.tables.getTableInfos(tables.filter(unique)),
6076
- layers: await this.layers.getLayerInfos(layers.filter(unique))
6077
- };
6078
- }
6079
- }, {
6080
- key: "getDependentNames",
6081
- value: function getDependentNames(deps, depType) {
6082
- return deps.filter((_ref) => {
6083
- let {
6084
- type
6085
- } = _ref;
6086
- return type === depType;
6087
- }).map((_ref2) => {
6088
- let {
6089
- name
6090
- } = _ref2;
6091
- return name;
6092
- }).filter(isString);
6044
+ key: "startCogCreateTask",
6045
+ value: function startCogCreateTask(data) {
6046
+ return this.http.post("/scheduler/tasks", data, {
6047
+ type: 'cogService_create'
6048
+ }).text();
6093
6049
  }
6094
- }]);
6095
-
6096
- return Resources;
6097
- }();
6098
-
6099
- /**
6100
- * @title Spatial Processing Core API
6101
- * @version 1.5.1.0
6102
- * @baseUrl /sp
6103
- */
6104
-
6105
- let SchedulerService = /*#__PURE__*/function (_Service) {
6106
- _inherits(SchedulerService, _Service);
6107
-
6108
- var _super = /*#__PURE__*/_createSuper(SchedulerService);
6109
-
6110
- function SchedulerService() {
6111
- _classCallCheck(this, SchedulerService);
6112
-
6113
- return _super.apply(this, arguments);
6114
- }
6115
-
6116
- _createClass(SchedulerService, [{
6117
- key: "getTaskList",
6118
- value:
6119
6050
  /**
6120
6051
  * No description
6121
6052
  *
6122
- * @tags SchedulerService
6123
- * @name GetTaskList
6124
- * @operationId SchedulerServiceController_GetTaskList
6125
- * @summary Returns the list of the planned and complete server tasks.
6126
- * @request GET:/scheduler/tasks
6053
+ * @tags RemoteTaskManager
6054
+ * @name StartRasterVrtTask
6055
+ * @operationId RemoteTaskManagerController_StartRasterVrtTask
6056
+ * @summary Plans the execution of a 'create raster vrt' server task.
6057
+ * @request POST:/scheduler/tasks#type=cogService_vrt
6127
6058
  * @response `200` OK
6128
6059
  */
6129
- function getTaskList(query) {
6130
- return this.http.get("/scheduler/tasks", query).json();
6060
+
6061
+ }, {
6062
+ key: "startRasterVrtTask",
6063
+ value: function startRasterVrtTask(data) {
6064
+ return this.http.post("/scheduler/tasks", data, {
6065
+ type: 'cogService_vrt'
6066
+ }).text();
6131
6067
  }
6132
6068
  /**
6133
6069
  * No description
6134
6070
  *
6135
- * @tags SchedulerService
6136
- * @name GetTaskInfo
6137
- * @operationId SchedulerServiceController_GetTaskInfo
6138
- * @summary Returns the information about the server task.
6139
- * @request GET:/scheduler/tasks/{id}
6071
+ * @tags RemoteTaskManager
6072
+ * @name StartNetCdfTask
6073
+ * @operationId RemoteTaskManagerController_StartNetCdfTask
6074
+ * @summary Plans the execution of a 'create raster netcdf' server task.
6075
+ * @request POST:/scheduler/tasks#type=cogService_netcdf
6140
6076
  * @response `200` OK
6141
6077
  */
6142
6078
 
6143
6079
  }, {
6144
- key: "getTaskInfo",
6145
- value: function getTaskInfo(id) {
6146
- return this.http.get("/scheduler/tasks/" + id).json();
6080
+ key: "startNetCdfTask",
6081
+ value: function startNetCdfTask(data) {
6082
+ return this.http.post("/scheduler/tasks", data, {
6083
+ type: 'cogService_netcdf'
6084
+ }).text();
6147
6085
  }
6148
6086
  /**
6149
6087
  * No description
6150
6088
  *
6151
- * @tags SchedulerService
6152
- * @name GetTaskProgress
6153
- * @operationId SchedulerServiceController_GetTaskProgress
6154
- * @summary Returns the progress of server task.
6155
- * @request GET:/scheduler/tasks/{id}/progress
6089
+ * @tags RemoteTaskManager
6090
+ * @name StartBufferTask
6091
+ * @operationId RemoteTaskManagerController_StartBufferTask
6092
+ * @summary Plans the execution of a 'create buffers' server task.
6093
+ * @request POST:/scheduler/tasks#type=geoService_buffer
6156
6094
  * @response `200` OK
6157
6095
  */
6158
6096
 
6159
6097
  }, {
6160
- key: "getTaskProgress",
6161
- value: function getTaskProgress(id) {
6162
- return this.http.get("/scheduler/tasks/" + id + "/progress").json();
6098
+ key: "startBufferTask",
6099
+ value: function startBufferTask(data) {
6100
+ return this.http.post("/scheduler/tasks", data, {
6101
+ type: 'geoService_buffer'
6102
+ }).text();
6163
6103
  }
6164
6104
  /**
6165
6105
  * No description
6166
6106
  *
6167
- * @tags SchedulerService
6168
- * @name CancelTask
6169
- * @operationId SchedulerServiceController_CancelTask
6170
- * @summary Cancel task execution by given id.
6171
- * @request POST:/scheduler/tasks/{id}/cancel
6107
+ * @tags RemoteTaskManager
6108
+ * @name StartCopyTableTask
6109
+ * @operationId RemoteTaskManagerController_StartCopyTableTask
6110
+ * @summary Plans the execution of a 'copy table' server task.
6111
+ * @request POST:/scheduler/tasks#type=geoService_copy
6172
6112
  * @response `200` OK
6173
6113
  */
6174
6114
 
6175
6115
  }, {
6176
- key: "cancelTask",
6177
- value: function cancelTask(id) {
6178
- return this.http.post("/scheduler/tasks/" + id + "/cancel", null).json();
6116
+ key: "startCopyTableTask",
6117
+ value: function startCopyTableTask(data) {
6118
+ return this.http.post("/scheduler/tasks", data, {
6119
+ type: 'geoService_copy'
6120
+ }).text();
6179
6121
  }
6180
6122
  /**
6181
6123
  * No description
6182
6124
  *
6183
- * @tags SchedulerService
6184
- * @name StartCopyTask
6185
- * @operationId SchedulerServiceController_StartCopyTask
6186
- * @summary Plans the execution of a 'copy' server task.
6187
- * @request POST:/scheduler/tasks#type=copy
6125
+ * @tags RemoteTaskManager
6126
+ * @name StartUnionTask
6127
+ * @operationId RemoteTaskManagerController_StartUnionTask
6128
+ * @summary Plans the execution of a 'create union' server task.
6129
+ * @request POST:/scheduler/tasks#type=geoService_union
6188
6130
  * @response `200` OK
6189
6131
  */
6190
6132
 
6191
6133
  }, {
6192
- key: "startCopyTask",
6193
- value: function startCopyTask(data) {
6134
+ key: "startUnionTask",
6135
+ value: function startUnionTask(data) {
6194
6136
  return this.http.post("/scheduler/tasks", data, {
6195
- type: 'copy'
6196
- }).json();
6137
+ type: 'geoService_union'
6138
+ }).text();
6197
6139
  }
6198
6140
  /**
6199
6141
  * No description
6200
6142
  *
6201
- * @tags SchedulerService
6202
- * @name StartAggregateTask
6203
- * @operationId SchedulerServiceController_StartAggregateTask
6204
- * @summary Plans the execution of a 'aggregate' server task.
6205
- * @request POST:/scheduler/tasks#type=aggregate
6143
+ * @tags RemoteTaskManager
6144
+ * @name StartOverlayTask
6145
+ * @operationId RemoteTaskManagerController_StartOverlayTask
6146
+ * @summary Plans the execution of a 'create overlay' server task.
6147
+ * @request POST:/scheduler/tasks#type=geoService_overlay
6206
6148
  * @response `200` OK
6207
6149
  */
6208
6150
 
6209
6151
  }, {
6210
- key: "startAggregateTask",
6211
- value: function startAggregateTask(data) {
6152
+ key: "startOverlayTask",
6153
+ value: function startOverlayTask(data) {
6212
6154
  return this.http.post("/scheduler/tasks", data, {
6213
- type: 'aggregate'
6214
- }).json();
6155
+ type: 'geoService_overlay'
6156
+ }).text();
6215
6157
  }
6216
6158
  /**
6217
6159
  * No description
6218
6160
  *
6219
- * @tags SchedulerService
6220
- * @name StartBufferTask
6221
- * @operationId SchedulerServiceController_StartBufferTask
6222
- * @summary Plans the execution of a 'buffer' server task.
6223
- * @request POST:/scheduler/tasks#type=buffer
6161
+ * @tags RemoteTaskManager
6162
+ * @name StartCopyTask
6163
+ * @operationId RemoteTaskManagerController_StartCopyTask
6164
+ * @summary Plans the execution of a 'copy storages' server task.
6165
+ * @request POST:/scheduler/tasks#type=copyTask
6224
6166
  * @response `200` OK
6225
6167
  */
6226
6168
 
6227
6169
  }, {
6228
- key: "startBufferTask",
6229
- value: function startBufferTask(data) {
6170
+ key: "startCopyTask",
6171
+ value: function startCopyTask(data) {
6230
6172
  return this.http.post("/scheduler/tasks", data, {
6231
- type: 'buffer'
6232
- }).json();
6173
+ type: 'copyTask'
6174
+ }).text();
6233
6175
  }
6234
6176
  /**
6235
6177
  * No description
6236
6178
  *
6237
- * @tags SchedulerService
6238
- * @name StartPrintTask
6239
- * @operationId SchedulerServiceController_StartPrintTask
6240
- * @summary Plans the execution of a 'print' server task.
6241
- * @request POST:/scheduler/tasks#type=print
6179
+ * @tags RemoteTaskManager
6180
+ * @name StartAvailableAreaTask
6181
+ * @operationId RemoteTaskManagerController_StartAvailableAreaTask
6182
+ * @summary Plans the execution of a 'create available area' server task.
6183
+ * @request POST:/scheduler/tasks#type=availabilityArea
6242
6184
  * @response `200` OK
6243
6185
  */
6244
6186
 
6245
6187
  }, {
6246
- key: "startPrintTask",
6247
- value: function startPrintTask(data) {
6188
+ key: "startAvailableAreaTask",
6189
+ value: function startAvailableAreaTask(data) {
6248
6190
  return this.http.post("/scheduler/tasks", data, {
6249
- type: 'print'
6250
- }).json();
6191
+ type: 'availabilityArea'
6192
+ }).text();
6251
6193
  }
6252
6194
  /**
6253
6195
  * No description
6254
6196
  *
6255
- * @tags SchedulerService
6256
- * @name StartTilingTask
6257
- * @operationId SchedulerServiceController_StartTilingTask
6258
- * @summary Plans the execution of a 'tiling' server task.
6259
- * @request POST:/scheduler/tasks#type=tiling
6197
+ * @tags RemoteTaskManager
6198
+ * @name StartGeocodeTask
6199
+ * @operationId RemoteTaskManagerController_StartGeocodeTask
6200
+ * @summary Plans the execution of a 'geocode' server task.
6201
+ * @request POST:/scheduler/tasks#type=geocodeTask
6260
6202
  * @response `200` OK
6261
6203
  */
6262
6204
 
6263
6205
  }, {
6264
- key: "startTilingTask",
6265
- value: function startTilingTask(data) {
6206
+ key: "startGeocodeTask",
6207
+ value: function startGeocodeTask(data) {
6266
6208
  return this.http.post("/scheduler/tasks", data, {
6267
- type: 'tiling'
6268
- }).json();
6209
+ type: 'geocodeTask'
6210
+ }).text();
6269
6211
  }
6270
6212
  /**
6271
6213
  * No description
6272
6214
  *
6273
- * @tags SchedulerService
6274
- * @name StartTilingTask1
6275
- * @operationId SchedulerServiceController_StartTilingTask_1
6276
- * @summary Plans the execution of a 'rasterVrt' server task.
6277
- * @request POST:/scheduler/tasks#type=rasterVrt
6215
+ * @tags RemoteTaskManager
6216
+ * @name Get
6217
+ * @operationId RemoteTaskManagerController_Get
6218
+ * @summary Shows SubTask in Task.
6219
+ * @request GET:/scheduler/task/{id}/subtasks
6278
6220
  * @response `200` OK
6279
6221
  */
6280
6222
 
6281
6223
  }, {
6282
- key: "startTilingTask1",
6283
- value: function startTilingTask1(data) {
6284
- return this.http.post("/scheduler/tasks", data, {
6285
- type: 'rasterVrt'
6286
- }).json();
6224
+ key: "get",
6225
+ value: function get(id) {
6226
+ return this.http.get("/scheduler/task/" + id + "/subtasks").then(() => {});
6287
6227
  }
6288
6228
  /**
6289
6229
  * No description
6290
6230
  *
6291
- * @tags SchedulerService
6292
- * @name StartNetCdfTask
6293
- * @operationId SchedulerServiceController_StartNetCdfTask
6294
- * @summary Plans the execution of a 'netcdf' server task.
6295
- * @request POST:/scheduler/tasks#type=netcdf
6231
+ * @tags RemoteTaskManager
6232
+ * @name Stop
6233
+ * @operationId RemoteTaskManagerController_Stop
6234
+ * @summary Stop the task.
6235
+ * @request POST:/scheduler/task/{id}/stop
6296
6236
  * @response `200` OK
6297
6237
  */
6298
6238
 
6299
6239
  }, {
6300
- key: "startNetCdfTask",
6301
- value: function startNetCdfTask(data) {
6302
- return this.http.post("/scheduler/tasks", data, {
6303
- type: 'netcdf'
6304
- }).json();
6240
+ key: "stop",
6241
+ value: function stop(id) {
6242
+ return this.http.post("/scheduler/task/" + id + "/stop", null).then(() => {});
6305
6243
  }
6306
6244
  /**
6307
6245
  * No description
6308
6246
  *
6309
- * @tags SchedulerService
6310
- * @name StartRouteTask
6311
- * @operationId SchedulerServiceController_StartRouteTask
6312
- * @summary Plans the execution of a 'availability area build' server task.
6313
- * @request POST:/scheduler/tasks#type=route
6247
+ * @tags RemoteTaskManager
6248
+ * @name CreateTaskPrototype
6249
+ * @operationId RemoteTaskManagerController_CreateTaskPrototype
6250
+ * @summary Creates TaskPrototype.
6251
+ * @request POST:/scheduler
6314
6252
  * @response `200` OK
6315
6253
  */
6316
6254
 
6317
6255
  }, {
6318
- key: "startRouteTask",
6319
- value: function startRouteTask(data) {
6320
- return this.http.post("/scheduler/tasks", data, {
6321
- type: 'route'
6322
- }).json();
6256
+ key: "createTaskPrototype",
6257
+ value: function createTaskPrototype(data) {
6258
+ return this.http.post("/scheduler", data).text();
6323
6259
  }
6324
6260
  /**
6325
6261
  * No description
6326
6262
  *
6327
- * @tags SchedulerService
6328
- * @name StartUnionTask
6329
- * @operationId SchedulerServiceController_StartUnionTask
6330
- * @summary Plans the execution of a 'union' server task.
6331
- * @request POST:/scheduler/tasks#type=union
6263
+ * @tags RemoteTaskManager
6264
+ * @name GetTaskPrototypes
6265
+ * @operationId RemoteTaskManagerController_GetTaskPrototypes
6266
+ * @summary Show TaskPrototypes for user.
6267
+ * @request GET:/scheduler
6332
6268
  * @response `200` OK
6333
6269
  */
6334
6270
 
6335
6271
  }, {
6336
- key: "startUnionTask",
6337
- value: function startUnionTask(data) {
6338
- return this.http.post("/scheduler/tasks", data, {
6339
- type: 'union'
6340
- }).json();
6272
+ key: "getTaskPrototypes",
6273
+ value: function getTaskPrototypes(query) {
6274
+ return this.http.get("/scheduler", query).then(() => {});
6341
6275
  }
6342
6276
  /**
6343
6277
  * No description
6344
6278
  *
6345
- * @tags SchedulerService
6346
- * @name StartOverlayTask
6347
- * @operationId SchedulerServiceController_StartOverlayTask
6348
- * @summary Plans the execution of a 'subtraction' server task.
6349
- * @request POST:/scheduler/tasks#type=overlay
6279
+ * @tags RemoteTaskManager
6280
+ * @name UpdateTaskPrototype
6281
+ * @operationId RemoteTaskManagerController_UpdateTaskPrototype
6282
+ * @summary Updates task prototype.
6283
+ * @request PUT:/scheduler/{id}
6350
6284
  * @response `200` OK
6351
6285
  */
6352
6286
 
6353
6287
  }, {
6354
- key: "startOverlayTask",
6355
- value: function startOverlayTask(data) {
6356
- return this.http.post("/scheduler/tasks", data, {
6357
- type: 'overlay'
6358
- }).json();
6288
+ key: "updateTaskPrototype",
6289
+ value: function updateTaskPrototype(id, data) {
6290
+ return this.http.put("/scheduler/" + id, data).then(() => {});
6359
6291
  }
6360
6292
  /**
6361
6293
  * No description
6362
6294
  *
6363
- * @tags SchedulerService
6364
- * @name StartFilterCopyTask
6365
- * @operationId SchedulerServiceController_StartFilterCopyTask
6366
- * @summary Plans the execution of a 'filter copy' server task.
6367
- * @request POST:/scheduler/tasks#type=filterCopy
6295
+ * @tags RemoteTaskManager
6296
+ * @name Delete
6297
+ * @operationId RemoteTaskManagerController_Delete
6298
+ * @summary Delete task prototype.
6299
+ * @request DELETE:/scheduler/{id}
6368
6300
  * @response `200` OK
6369
6301
  */
6370
6302
 
6371
6303
  }, {
6372
- key: "startFilterCopyTask",
6373
- value: function startFilterCopyTask(data) {
6374
- return this.http.post("/scheduler/tasks", data, {
6375
- type: 'filterCopy'
6376
- }).json();
6304
+ key: "delete",
6305
+ value: function _delete(id) {
6306
+ return this.http.delete("/scheduler/" + id, null).then(() => {});
6377
6307
  }
6378
6308
  /**
6379
6309
  * No description
6380
6310
  *
6381
- * @tags SchedulerService
6382
- * @name StartPipelineTask
6383
- * @operationId SchedulerServiceController_StartPipelineTask
6384
- * @summary Plans the execution of a 'pipeline' server task.
6385
- * @request POST:/scheduler/tasks#type=pipeline
6311
+ * @tags RemoteTaskManager
6312
+ * @name SetEnable
6313
+ * @operationId RemoteTaskManagerController_SetEnable
6314
+ * @summary Enables task prototype.
6315
+ * @request POST:/scheduler/{id}/enable/{enable}
6386
6316
  * @response `200` OK
6387
6317
  */
6388
6318
 
6389
6319
  }, {
6390
- key: "startPipelineTask",
6391
- value: function startPipelineTask(data) {
6392
- return this.http.post("/scheduler/tasks", data, {
6393
- type: 'pipeline'
6394
- }).json();
6320
+ key: "setEnable",
6321
+ value: function setEnable(id, enable) {
6322
+ return this.http.post("/scheduler/" + id + "/enable/" + enable, null).then(() => {});
6395
6323
  }
6396
6324
  /**
6397
6325
  * No description
6398
6326
  *
6399
- * @tags SchedulerService
6400
- * @name StartEditAttributesBatch
6401
- * @operationId SchedulerServiceController_StartEditAttributesBatch
6402
- * @summary Plans the execution of a 'edit attributes' server task.
6403
- * @request POST:/scheduler/tasks#type=editAttributes
6327
+ * @tags RemoteTaskManager
6328
+ * @name GetTasksForPrototype
6329
+ * @operationId RemoteTaskManagerController_GetTasksForPrototype
6330
+ * @summary Shows Tasks that created for TaskPrototype.
6331
+ * @request GET:/scheduler/{id}/tasks
6404
6332
  * @response `200` OK
6405
6333
  */
6406
6334
 
6407
6335
  }, {
6408
- key: "startEditAttributesBatch",
6409
- value: function startEditAttributesBatch(data) {
6410
- return this.http.post("/scheduler/tasks", data, {
6411
- type: 'editAttributes'
6412
- }).json();
6336
+ key: "getTasksForPrototype",
6337
+ value: function getTasksForPrototype(_ref) {
6338
+ let {
6339
+ id
6340
+ } = _ref,
6341
+ query = _objectWithoutPropertiesLoose(_ref, _excluded$7);
6342
+
6343
+ return this.http.get("/scheduler/" + id + "/tasks", query).then(() => {});
6413
6344
  }
6414
6345
  /**
6415
6346
  * No description
6416
6347
  *
6417
- * @tags SchedulerService
6418
- * @name UniversalSearchTask
6419
- * @operationId SchedulerServiceController_UniversalSearchTask
6420
- * @summary Plans the execution of a 'edit attributes' server task.
6421
- * @request POST:/scheduler/tasks#type=universalSearch
6348
+ * @tags RemoteTaskManager
6349
+ * @name StartTask
6350
+ * @operationId RemoteTaskManagerController_StartTask
6351
+ * @summary Starts new Task for TaskPrototype with task id definition.
6352
+ * @request POST:/scheduler/{id}/start/{taskId}
6422
6353
  * @response `200` OK
6423
6354
  */
6424
6355
 
6425
6356
  }, {
6426
- key: "universalSearchTask",
6427
- value: function universalSearchTask(data) {
6428
- return this.http.post("/scheduler/tasks", data, {
6429
- type: 'universalSearch'
6430
- }).json();
6357
+ key: "startTask",
6358
+ value: function startTask(id, taskId) {
6359
+ return this.http.post("/scheduler/" + id + "/start/" + taskId, null).then(() => {});
6360
+ }
6361
+ /**
6362
+ * No description
6363
+ *
6364
+ * @tags RemoteTaskManager
6365
+ * @name StartTask1
6366
+ * @operationId RemoteTaskManagerController_StartTask_1
6367
+ * @summary Starts new Task for TaskPrototype .
6368
+ * @request POST:/scheduler/{id}/start
6369
+ * @response `200` OK
6370
+ */
6371
+
6372
+ }, {
6373
+ key: "startTask1",
6374
+ value: function startTask1(id) {
6375
+ return this.http.post("/scheduler/" + id + "/start", null).then(() => {});
6376
+ }
6377
+ /**
6378
+ * No description
6379
+ *
6380
+ * @tags RemoteTaskManager
6381
+ * @name Get1
6382
+ * @operationId RemoteTaskManagerController_Get_1
6383
+ * @summary Shows active workers.
6384
+ * @request GET:/scheduler/worker
6385
+ * @response `200` OK
6386
+ */
6387
+
6388
+ }, {
6389
+ key: "get1",
6390
+ value: function get1() {
6391
+ return this.http.get("/scheduler/worker").json();
6392
+ }
6393
+ /**
6394
+ * No description
6395
+ *
6396
+ * @tags RemoteTaskManager
6397
+ * @name Post
6398
+ * @operationId RemoteTaskManagerController_Post
6399
+ * @summary Run method by HttpPost.
6400
+ * @request POST:/scheduler/worker
6401
+ * @response `200` OK
6402
+ */
6403
+
6404
+ }, {
6405
+ key: "post",
6406
+ value: function post(data) {
6407
+ return this.http.post("/scheduler/worker", data).json();
6431
6408
  }
6432
6409
  }]);
6433
6410
 
6434
- return SchedulerService;
6411
+ return RemoteTaskManagerService;
6435
6412
  }(Service);
6436
6413
 
6437
- let Scheduler = /*#__PURE__*/function (_SchedulerService) {
6438
- _inherits(Scheduler, _SchedulerService);
6414
+ let RemoteTaskManager = /*#__PURE__*/function (_RemoteTaskManagerSer) {
6415
+ _inherits(RemoteTaskManager, _RemoteTaskManagerSer);
6439
6416
 
6440
- var _super = /*#__PURE__*/_createSuper(Scheduler);
6417
+ var _super = /*#__PURE__*/_createSuper(RemoteTaskManager);
6441
6418
 
6442
- function Scheduler() {
6443
- _classCallCheck(this, Scheduler);
6419
+ function RemoteTaskManager() {
6420
+ _classCallCheck(this, RemoteTaskManager);
6444
6421
 
6445
6422
  return _super.apply(this, arguments);
6446
6423
  }
6447
6424
 
6448
- _createClass(Scheduler, [{
6449
- key: "init",
6450
- value: function init(notification) {
6451
- this.notification = notification;
6452
- return this.notification.subscribe("server_task"
6453
- /* ServerTask */
6454
- );
6455
- }
6456
- }, {
6457
- key: "runCopyTask",
6458
- value: async function runCopyTask(parameters) {
6459
- const {
6460
- taskId
6461
- } = await this.startCopyTask(parameters);
6462
- return this.processTaskId(taskId);
6463
- }
6464
- }, {
6465
- key: "runBufferTask",
6466
- value: async function runBufferTask(parameters) {
6467
- const {
6468
- taskId
6469
- } = await this.startBufferTask(parameters);
6470
- return this.processTaskId(taskId);
6471
- }
6472
- }, {
6473
- key: "runUnionTask",
6474
- value: async function runUnionTask(parameters) {
6475
- const {
6476
- taskId
6477
- } = await this.startUnionTask(parameters);
6478
- return this.processTaskId(taskId);
6479
- }
6480
- }, {
6481
- key: "runPrintTask",
6482
- value: async function runPrintTask(parameters) {
6483
- const {
6484
- taskId
6485
- } = await this.startPrintTask(parameters);
6486
- return this.processTaskId(taskId);
6487
- }
6488
- }, {
6489
- key: "runTilingTask",
6490
- value: async function runTilingTask(parameters) {
6491
- const {
6492
- taskId
6493
- } = await this.startTilingTask(parameters);
6494
- return this.processTaskId(taskId);
6495
- }
6496
- }, {
6497
- key: "runRouteTask",
6498
- value: async function runRouteTask(parameters) {
6499
- const {
6500
- taskId
6501
- } = await this.startRouteTask(parameters);
6502
- return this.processTaskId(taskId);
6425
+ return _createClass(RemoteTaskManager);
6426
+ }(RemoteTaskManagerService);
6427
+
6428
+ /**
6429
+ * @title Spatial Processing Core API
6430
+ * @version 1.5.1.0
6431
+ * @baseUrl /sp
6432
+ */
6433
+
6434
+ let ResourceCatalogService = /*#__PURE__*/function (_Service) {
6435
+ _inherits(ResourceCatalogService, _Service);
6436
+
6437
+ var _super = /*#__PURE__*/_createSuper(ResourceCatalogService);
6438
+
6439
+ function ResourceCatalogService() {
6440
+ _classCallCheck(this, ResourceCatalogService);
6441
+
6442
+ return _super.apply(this, arguments);
6443
+ }
6444
+
6445
+ _createClass(ResourceCatalogService, [{
6446
+ key: "checkLimits",
6447
+ value:
6448
+ /**
6449
+ * @description This method requires superuser permission.
6450
+ *
6451
+ * @tags ResourceCatalog
6452
+ * @name CheckLimits
6453
+ * @operationId ResourceCatalogController_CheckLimits
6454
+ * @summary Get limits of workspace.
6455
+ * @request GET:/resources/checkLimits
6456
+ * @response `200` OK
6457
+ */
6458
+ function checkLimits(query) {
6459
+ return this.http.get("/resources/checkLimits", query).json();
6503
6460
  }
6461
+ /**
6462
+ * No description
6463
+ *
6464
+ * @tags ResourceCatalog
6465
+ * @name CopyResources
6466
+ * @operationId ResourceCatalogController_CopyResources
6467
+ * @summary Copy a set of resources.
6468
+ * @request POST:/resources/copy
6469
+ * @response `200` OK
6470
+ */
6471
+
6504
6472
  }, {
6505
- key: "runOverlayTask",
6506
- value: async function runOverlayTask(parameters) {
6507
- const {
6508
- taskId
6509
- } = await this.startOverlayTask(parameters);
6510
- return this.processTaskId(taskId);
6473
+ key: "copyResources",
6474
+ value: function copyResources(data) {
6475
+ return this.http.post("/resources/copy", data).json();
6511
6476
  }
6512
- }, {
6513
- key: "runFilterCopyTask",
6514
- value: async function runFilterCopyTask(parameters) {
6477
+ }]);
6478
+
6479
+ return ResourceCatalogService;
6480
+ }(Service);
6481
+
6482
+ let ResourceCatalog = /*#__PURE__*/function (_ResourceCatalogServi) {
6483
+ _inherits(ResourceCatalog, _ResourceCatalogServi);
6484
+
6485
+ var _super = /*#__PURE__*/_createSuper(ResourceCatalog);
6486
+
6487
+ function ResourceCatalog() {
6488
+ _classCallCheck(this, ResourceCatalog);
6489
+
6490
+ return _super.apply(this, arguments);
6491
+ }
6492
+
6493
+ return _createClass(ResourceCatalog);
6494
+ }(ResourceCatalogService);
6495
+
6496
+ var DependencyType;
6497
+
6498
+ (function (DependencyType) {
6499
+ DependencyType["Layer"] = "Layer";
6500
+ DependencyType["Table"] = "Table";
6501
+ DependencyType["Project"] = "Project";
6502
+ })(DependencyType || (DependencyType = {}));
6503
+
6504
+ let Resources = /*#__PURE__*/function () {
6505
+ function Resources(projects, layers, tables) {
6506
+ _classCallCheck(this, Resources);
6507
+
6508
+ this.projects = projects;
6509
+ this.layers = layers;
6510
+ this.tables = tables;
6511
+ }
6512
+
6513
+ _createClass(Resources, [{
6514
+ key: "getProjectInfosWithDeps",
6515
+ value: async function getProjectInfosWithDeps(projects) {
6516
+ const projectInfos = await this.projects.getProjectInfos(projects);
6517
+ const projectDeps = await this.projects.getProjectsDeps(projects);
6515
6518
  const {
6516
- taskId
6517
- } = await this.startFilterCopyTask(parameters);
6518
- return this.processTaskId(taskId);
6519
+ layers,
6520
+ tables
6521
+ } = await this.getDependencies(projectDeps, true, true);
6522
+ return {
6523
+ projects: projectInfos,
6524
+ deps: {
6525
+ layers,
6526
+ tables
6527
+ }
6528
+ };
6519
6529
  }
6520
6530
  }, {
6521
- key: "runPipelineTask",
6522
- value: async function runPipelineTask(parameters) {
6531
+ key: "getLayerInfosWithDeps",
6532
+ value: async function getLayerInfosWithDeps(layers) {
6533
+ const layerInfos = await this.layers.getLayerInfos(layers);
6534
+ const layersDeps = await this.layers.getLayersDeps(layers);
6523
6535
  const {
6524
- taskId
6525
- } = await this.startPipelineTask(parameters);
6526
- return this.processTaskId(taskId);
6536
+ tables
6537
+ } = await this.getDependencies(layersDeps, false, true);
6538
+ return {
6539
+ layers: layerInfos,
6540
+ deps: {
6541
+ tables
6542
+ }
6543
+ };
6527
6544
  }
6528
6545
  }, {
6529
- key: "runEditAttributesTask",
6530
- value: async function runEditAttributesTask(parameters) {
6546
+ key: "getDependencies",
6547
+ value: async function getDependencies(resourceDeps, pickLayers, pickTables) {
6531
6548
  const {
6532
- taskId
6533
- } = await this.startEditAttributesBatch(parameters);
6534
- return this.processTaskId(taskId);
6535
- }
6536
- }, {
6537
- key: "waitTaskCompleted",
6538
- value: async function waitTaskCompleted(id) {
6539
- return new Promise(async (resolve, reject) => {
6540
- const taskProgress = await this.getTaskProgress(id);
6541
- this.resolveTaskStatus(taskProgress, resolve, reject);
6549
+ tables,
6550
+ layers
6551
+ } = resourceDeps.reduce((acc, layerDep) => {
6552
+ const deps = layerDep.dependencies || [];
6542
6553
 
6543
- const taskResultCallback = async (_ref) => {
6544
- let {
6545
- data
6546
- } = _ref;
6547
- const taskFinished = data.taskId === id && data.status && ['Completed', 'Failed', 'Canceled'].includes(data.status);
6548
-
6549
- if (taskFinished) {
6550
- const taskProgress = await this.getTaskProgress(id);
6551
- this.notification && this.notification.off("server_task"
6552
- /* ServerTask */
6553
- , taskResultCallback);
6554
- this.resolveTaskStatus(taskProgress, resolve, reject);
6555
- }
6556
- };
6554
+ if (pickLayers) {
6555
+ const layerNames = this.getDependentNames(deps, DependencyType.Layer);
6556
+ acc.layers.push(...layerNames);
6557
+ }
6558
+
6559
+ if (pickTables) {
6560
+ const tableNames = this.getDependentNames(deps, DependencyType.Table);
6561
+ acc.tables.push(...tableNames);
6562
+ }
6557
6563
 
6558
- this.notification && this.notification.on("server_task"
6559
- /* ServerTask */
6560
- , taskResultCallback);
6564
+ return acc;
6565
+ }, {
6566
+ tables: [],
6567
+ layers: []
6561
6568
  });
6569
+ return {
6570
+ tables: await this.tables.getTableInfos(tables.filter(unique)),
6571
+ layers: await this.layers.getLayerInfos(layers.filter(unique))
6572
+ };
6562
6573
  }
6563
6574
  }, {
6564
- key: "resolveTaskStatus",
6565
- value: function resolveTaskStatus(taskProgress, resolve, reject) {
6566
- if (taskProgress.status === 'Completed') {
6567
- resolve(taskProgress);
6568
- } else if (taskProgress.status === 'Failed' || taskProgress.status === 'Canceled') {
6569
- reject(taskProgress.status);
6570
- }
6571
- }
6572
- }, {
6573
- key: "processTaskId",
6574
- value: function processTaskId(taskId) {
6575
- if (taskId) {
6576
- return this.waitTaskCompleted(taskId);
6577
- } else {
6578
- throw new Error("Task was started with no testId");
6579
- }
6575
+ key: "getDependentNames",
6576
+ value: function getDependentNames(deps, depType) {
6577
+ return deps.filter((_ref) => {
6578
+ let {
6579
+ type
6580
+ } = _ref;
6581
+ return type === depType;
6582
+ }).map((_ref2) => {
6583
+ let {
6584
+ name
6585
+ } = _ref2;
6586
+ return name;
6587
+ }).filter(isString);
6580
6588
  }
6581
6589
  }]);
6582
6590
 
6583
- return Scheduler;
6584
- }(SchedulerService);
6591
+ return Resources;
6592
+ }();
6585
6593
 
6586
6594
  /**
6587
6595
  * @title Spatial Processing Core API
@@ -7021,7 +7029,7 @@ let Styles = /*#__PURE__*/function (_StyleService) {
7021
7029
  return _createClass(Styles);
7022
7030
  }(StyleService);
7023
7031
 
7024
- const _excluded$7 = ["name"],
7032
+ const _excluded$8 = ["name"],
7025
7033
  _excluded2$4 = ["name"],
7026
7034
  _excluded3$3 = ["name"],
7027
7035
  _excluded4$2 = ["name"];
@@ -7203,7 +7211,7 @@ let TablesService = /*#__PURE__*/function (_Service) {
7203
7211
  let {
7204
7212
  name
7205
7213
  } = _ref,
7206
- query = _objectWithoutPropertiesLoose(_ref, _excluded$7);
7214
+ query = _objectWithoutPropertiesLoose(_ref, _excluded$8);
7207
7215
 
7208
7216
  return this.http.get("/tables/" + name + "/data", query).json();
7209
7217
  }
@@ -7603,7 +7611,7 @@ let Tools = /*#__PURE__*/function (_ToolsService) {
7603
7611
  return _createClass(Tools);
7604
7612
  }(ToolsService);
7605
7613
 
7606
- const _excluded$8 = ["name", "z", "x", "y"];
7614
+ const _excluded$9 = ["name", "z", "x", "y"];
7607
7615
  /**
7608
7616
  * @title Spatial Processing Core API
7609
7617
  * @version 1.5.1.0
@@ -7641,7 +7649,7 @@ let VectorTileService = /*#__PURE__*/function (_Service) {
7641
7649
  x,
7642
7650
  y
7643
7651
  } = _ref,
7644
- query = _objectWithoutPropertiesLoose(_ref, _excluded$8);
7652
+ query = _objectWithoutPropertiesLoose(_ref, _excluded$9);
7645
7653
 
7646
7654
  return this.http.get("/vt/" + name + "/" + z + "/" + x + "/" + y + ".pbf", query).then(() => {});
7647
7655
  }
@@ -7791,7 +7799,6 @@ let Api = /*#__PURE__*/function (_EventEmitter) {
7791
7799
  _this.bulk = new BulkOperations(_this.http);
7792
7800
  _this.security = new Security(_this.http, _this.account);
7793
7801
  _this.notification = new Notification(_this.http, _assertThisInitialized(_this), wsKeepAlive);
7794
- _this.scheduler = new Scheduler(_this.http);
7795
7802
  _this.file = new FileUpload(_this.http);
7796
7803
  _this.filters = new Filters(_this.http);
7797
7804
  _this.import = new Import(_this.http);
@@ -7815,6 +7822,7 @@ let Api = /*#__PURE__*/function (_EventEmitter) {
7815
7822
  _this.catalog = new CatalogService(_this.http);
7816
7823
  _this.queryToken = new QueryTokenAccessService(_this.http);
7817
7824
  _this.dataSource = new DataSourceService(_this.http);
7825
+ _this.remoteTaskManager = new RemoteTaskManager(_this.http);
7818
7826
  _this.names = new Names({
7819
7827
  account: _this.account
7820
7828
  });
@@ -7833,7 +7841,6 @@ let Api = /*#__PURE__*/function (_EventEmitter) {
7833
7841
  authParams,
7834
7842
  authQueryParams,
7835
7843
  connectWs,
7836
- initScheduler,
7837
7844
  fetchSettings,
7838
7845
  fetchUser,
7839
7846
  useJwt
@@ -7850,10 +7857,6 @@ let Api = /*#__PURE__*/function (_EventEmitter) {
7850
7857
  await this.connectWs();
7851
7858
  }
7852
7859
 
7853
- if (initScheduler) {
7854
- await this.initScheduler();
7855
- }
7856
-
7857
7860
  if (fetchSettings) {
7858
7861
  await this.clientSettings.fetchClientSettings({
7859
7862
  urlPath: getFetchingUrlPath(this.urlPath)
@@ -7915,11 +7918,6 @@ let Api = /*#__PURE__*/function (_EventEmitter) {
7915
7918
  await this.security.reset();
7916
7919
  this.emit(ApiEvent.Unauthorized, null);
7917
7920
  }
7918
- }, {
7919
- key: "initScheduler",
7920
- value: function initScheduler() {
7921
- return this.scheduler.init(this.notification);
7922
- }
7923
7921
  }, {
7924
7922
  key: "defineUrlPath",
7925
7923
  value: function defineUrlPath() {
@@ -7942,355 +7940,6 @@ let Api = /*#__PURE__*/function (_EventEmitter) {
7942
7940
  return Api;
7943
7941
  }(EventEmitter);
7944
7942
 
7945
- function generateRandom(min, max) {
7946
- if (min === void 0) {
7947
- min = 0;
7948
- }
7949
-
7950
- if (max === void 0) {
7951
- max = 100;
7952
- }
7953
-
7954
- let difference = max - min;
7955
- let rand = Math.random();
7956
- rand = Math.floor(rand * difference);
7957
- rand = rand + min;
7958
- return rand;
7959
- }
7960
-
7961
- let EvergisTileLayer = /*#__PURE__*/function (_TileLayer) {
7962
- _inherits(EvergisTileLayer, _TileLayer);
7963
-
7964
- var _super = /*#__PURE__*/_createSuper(EvergisTileLayer);
7965
-
7966
- function EvergisTileLayer(configuration, api) {
7967
- var _this;
7968
-
7969
- _classCallCheck(this, EvergisTileLayer);
7970
-
7971
- _this = _super.call(this, '', {
7972
- crs: configuration.crs,
7973
- opacity: configuration.opacity
7974
- });
7975
- _this.api = api;
7976
- _this.name = configuration.name;
7977
- _this.sourceUrl = configuration.sourceUrl;
7978
- _this.subDomains = configuration.subDomains;
7979
- return _this;
7980
- }
7981
-
7982
- _createClass(EvergisTileLayer, [{
7983
- key: "getTileUrl",
7984
- value: function getTileUrl(x, y, level) {
7985
- var _this$subDomains;
7986
-
7987
- const name = this.name;
7988
- const subDomainIndex = this.subDomains ? generateRandom(0, ((_this$subDomains = this.subDomains) == null ? void 0 : _this$subDomains.length) - 1) : undefined;
7989
- return this.sourceUrl ? (this.subDomains && subDomainIndex !== undefined ? this.sourceUrl.replace("{0}", this.subDomains[subDomainIndex]) : this.sourceUrl).replace("{1}", "" + level).replace("{2}", "" + x).replace("{3}", "" + y) : this.api.layers.getTilesLayerImage({
7990
- x,
7991
- y,
7992
- z: level,
7993
- name
7994
- });
7995
- }
7996
- }]);
7997
-
7998
- return EvergisTileLayer;
7999
- }(TileLayer);
8000
-
8001
- const _excluded$9 = ["name", "style", "condition", "dataFilterId", "crs"];
8002
- let EvergisDynamicLayer = /*#__PURE__*/function (_DynamicLayer) {
8003
- _inherits(EvergisDynamicLayer, _DynamicLayer);
8004
-
8005
- var _super = /*#__PURE__*/_createSuper(EvergisDynamicLayer);
8006
-
8007
- function EvergisDynamicLayer(_ref, api) {
8008
- var _this;
8009
-
8010
- let {
8011
- name,
8012
- style,
8013
- condition,
8014
- dataFilterId,
8015
- crs = webMercator
8016
- } = _ref,
8017
- layerProps = _objectWithoutPropertiesLoose(_ref, _excluded$9);
8018
-
8019
- _classCallCheck(this, EvergisDynamicLayer);
8020
-
8021
- _this = _super.call(this, layerProps);
8022
- _this.api = api;
8023
- _this.name = name;
8024
- _this.styleId = style;
8025
- _this.conditionQuery = condition;
8026
- _this.filterId = dataFilterId;
8027
- _this.crs = crs;
8028
-
8029
- _this.subscribeRedraw();
8030
-
8031
- return _this;
8032
- } // @ts-ignore TODO
8033
-
8034
-
8035
- _createClass(EvergisDynamicLayer, [{
8036
- key: "style",
8037
- get: // @ts-ignore TODO
8038
- function get() {
8039
- return this.styleId;
8040
- } // @ts-ignore TODO
8041
- ,
8042
- set: function set(styleId) {
8043
- this.styleId = styleId;
8044
- this.forceUpdate();
8045
- }
8046
- }, {
8047
- key: "condition",
8048
- get: // @ts-ignore TODO
8049
- function get() {
8050
- return this.conditionQuery;
8051
- } // @ts-ignore TODO
8052
- ,
8053
- set: function set(condition) {
8054
- this.conditionQuery = condition;
8055
- this.forceUpdate();
8056
- }
8057
- }, {
8058
- key: "dataFilterId",
8059
- get: // @ts-ignore TODO
8060
- function get() {
8061
- return this.filterId;
8062
- },
8063
- set: function set(filterId) {
8064
- this.filterId = filterId;
8065
- this.forceUpdate();
8066
- }
8067
- }, {
8068
- key: "getUrl",
8069
- value: function getUrl(bbox, painter) {
8070
- let imgWidth = painter.width;
8071
- let imgHeight = painter.height;
8072
- return this.api.layers.getLayerImage({
8073
- name: this.name,
8074
- extent: bbox.coordinates,
8075
- size: [imgWidth, imgHeight],
8076
- extentSr: bbox.crs.wkid,
8077
- styleId: this.styleId,
8078
- condition: this.conditionQuery,
8079
- dataFilterId: this.filterId
8080
- });
8081
- }
8082
- }, {
8083
- key: "subscribeRedraw",
8084
- value: function subscribeRedraw() {
8085
- this.api.notification.on("service_update"
8086
- /* ServiceUpdate */
8087
- , e => {
8088
- if ((e == null ? void 0 : e.data.layerName) === this.name) {
8089
- this.forceUpdate();
8090
- this.redraw();
8091
- }
8092
- });
8093
- }
8094
- }]);
8095
-
8096
- return EvergisDynamicLayer;
8097
- }(DynamicLayer);
8098
-
8099
- const LayerServicesMap = {
8100
- RemoteTileService: EvergisTileLayer,
8101
- LocalTileService: EvergisTileLayer,
8102
- PostgresLayerService: EvergisDynamicLayer,
8103
- StyledFeatureLayer: EvergisDynamicLayer,
8104
- CompositeService: null
8105
- };
8106
-
8107
- const isLayerType = type => Boolean(type && Object.keys(LayerServicesMap).includes(type));
8108
-
8109
- const withServicesPrefix = layerInfo => _extends({}, layerInfo, {
8110
- name: "services/" + layerInfo.name
8111
- });
8112
-
8113
- let LayersManager = /*#__PURE__*/function () {
8114
- function LayersManager(layers, http) {
8115
- _classCallCheck(this, LayersManager);
8116
-
8117
- this.layers = layers;
8118
- this.http = http;
8119
- }
8120
-
8121
- _createClass(LayersManager, [{
8122
- key: "getLayerService",
8123
- value: async function getLayerService(name) {
8124
- let layerInfo = await this.getLayerInfo(name);
8125
- const type = layerInfo.type;
8126
-
8127
- if (!isLayerType(type)) {
8128
- return;
8129
- }
8130
-
8131
- const ServiceCtor = LayerServicesMap[type];
8132
-
8133
- if (ServiceCtor) {
8134
- // @ts-ignore
8135
- return new ServiceCtor(withServicesPrefix(layerInfo), this.http);
8136
- } else {
8137
- throw new Error("Constructor for service type: \"" + layerInfo.type + "\" not implemented");
8138
- }
8139
- }
8140
- }, {
8141
- key: "getLayerInfo",
8142
- value: async function getLayerInfo(name) {
8143
- try {
8144
- return await this.layers.getLayerInfo(name);
8145
- } catch (_unused) {
8146
- throw new Error("Service with name: \"" + name + "\" not exists");
8147
- }
8148
- }
8149
- }]);
8150
-
8151
- return LayersManager;
8152
- }();
8153
-
8154
- var LayersZIndex;
8155
-
8156
- (function (LayersZIndex) {
8157
- LayersZIndex[LayersZIndex["BaseMaps"] = 0] = "BaseMaps";
8158
- LayersZIndex[LayersZIndex["Layers"] = 1] = "Layers";
8159
- })(LayersZIndex || (LayersZIndex = {}));
8160
-
8161
- let SpatialProcessor = /*#__PURE__*/function (_Api) {
8162
- _inherits(SpatialProcessor, _Api);
8163
-
8164
- var _super = /*#__PURE__*/_createSuper(SpatialProcessor);
8165
-
8166
- function SpatialProcessor(mapProps, apiParams, authParams) {
8167
- var _this;
8168
-
8169
- _classCallCheck(this, SpatialProcessor);
8170
-
8171
- _this = _super.call(this, apiParams);
8172
- _this.map = new Map();
8173
- _this.painter = new DomPainter(_this.map);
8174
- _this.mapProps = mapProps;
8175
- _this.auth = authParams;
8176
- _this.layersManager = new LayersManager(_this.layers, _this.http);
8177
- return _this;
8178
- }
8179
-
8180
- _createClass(SpatialProcessor, [{
8181
- key: "init",
8182
- value: async function init() {
8183
- await _get(_getPrototypeOf(SpatialProcessor.prototype), "init", this).call(this, {
8184
- authParams: this.auth,
8185
- connectWs: true,
8186
- fetchSettings: true,
8187
- initScheduler: true
8188
- });
8189
- const {
8190
- baseService,
8191
- services,
8192
- projectName
8193
- } = this.mapProps;
8194
-
8195
- if (baseService) {
8196
- await this.setBaseMap(baseService);
8197
- }
8198
-
8199
- if (services) {
8200
- await Promise.all(services.map(service => this.addLayer(service)));
8201
- }
8202
-
8203
- if (projectName) {
8204
- await this.loadProject(projectName);
8205
- }
8206
-
8207
- this.setMapProps();
8208
- }
8209
- }, {
8210
- key: "reset",
8211
- value: async function reset() {
8212
- await this.account.logout();
8213
- this.painter.wrapper = null;
8214
- }
8215
- }, {
8216
- key: "addLayer",
8217
- value: async function addLayer(name) {
8218
- await this.insertLayer(name, LayersZIndex.Layers);
8219
- }
8220
- }, {
8221
- key: "setBaseMap",
8222
- value: async function setBaseMap(name) {
8223
- await this.insertLayer(name, LayersZIndex.BaseMaps);
8224
- }
8225
- }, {
8226
- key: "loadProject",
8227
- value: async function loadProject(name) {
8228
- const projectInfo = await this.projects.getProjectInfo(name);
8229
-
8230
- if (!(projectInfo && projectInfo.content)) {
8231
- return;
8232
- }
8233
-
8234
- const {
8235
- baseMapName,
8236
- items
8237
- } = projectInfo.content;
8238
-
8239
- if (baseMapName) {
8240
- await this.setBaseMap(baseMapName);
8241
- }
8242
-
8243
- if (items) {
8244
- const layers = items.map(item => item.name).filter(isString$1);
8245
- await Promise.all(layers.map(layer => this.addLayer(layer)));
8246
- }
8247
- }
8248
- }, {
8249
- key: "insertLayer",
8250
- value: async function insertLayer(name, index) {
8251
- const service = await this.layersManager.getLayerService(name);
8252
-
8253
- if (service) {
8254
- // @ts-ignore
8255
- this.map.insertLayer(service.layer, index);
8256
- }
8257
- }
8258
- }, {
8259
- key: "setMapProps",
8260
- value: function setMapProps() {
8261
- const {
8262
- position,
8263
- centerPoint,
8264
- mapWrapper,
8265
- resolution
8266
- } = this.mapProps;
8267
-
8268
- if (position) {
8269
- this.map.position = position;
8270
- } else if (centerPoint) {
8271
- this.map.centerPoint = centerPoint;
8272
- }
8273
-
8274
- if (resolution) this.map.resolution = resolution;
8275
- if (mapWrapper) this.painter.wrapper = mapWrapper;
8276
- }
8277
- }]);
8278
-
8279
- return SpatialProcessor;
8280
- }(Api);
8281
-
8282
- const isString$1 = s => s !== undefined;
8283
-
8284
- function isEvergisDynamicLayer(layer) {
8285
- return layer instanceof EvergisDynamicLayer;
8286
- }
8287
- function isEvergisTileLayer(layer) {
8288
- return layer instanceof EvergisTileLayer;
8289
- }
8290
- function isFeatureLayer(layer) {
8291
- return layer instanceof FeatureLayer;
8292
- }
8293
-
8294
7943
  /* eslint-disable */
8295
7944
 
8296
7945
  /* tslint:disable */
@@ -9027,6 +8676,8 @@ MaxFeaturesInOneTable
9027
8676
  MaxObjectsToExport
9028
8677
 
9029
8678
  MaxUploadContentSize
8679
+
8680
+ MaxEqlQueryParametersValues
9030
8681
  */
9031
8682
 
9032
8683
 
@@ -9040,6 +8691,7 @@ var PolicyType;
9040
8691
  PolicyType["MaxFeaturesInOneTable"] = "MaxFeaturesInOneTable";
9041
8692
  PolicyType["MaxObjectsToExport"] = "MaxObjectsToExport";
9042
8693
  PolicyType["MaxUploadContentSize"] = "MaxUploadContentSize";
8694
+ PolicyType["MaxEqlQueryParametersValues"] = "MaxEqlQueryParametersValues";
9043
8695
  })(PolicyType || (PolicyType = {}));
9044
8696
  /**
9045
8697
  * Stream quality.
@@ -9099,6 +8751,8 @@ file
9099
8751
  feature
9100
8752
 
9101
8753
  tag
8754
+
8755
+ datasource
9102
8756
  */
9103
8757
 
9104
8758
 
@@ -9112,6 +8766,7 @@ var ResourceType;
9112
8766
  ResourceType["File"] = "file";
9113
8767
  ResourceType["Feature"] = "feature";
9114
8768
  ResourceType["Tag"] = "tag";
8769
+ ResourceType["DataSource"] = "datasource";
9115
8770
  })(ResourceType || (ResourceType = {}));
9116
8771
  /**
9117
8772
  * Resources types filter.
@@ -9170,39 +8825,6 @@ var ResponseType;
9170
8825
  ResponseType["Token"] = "token";
9171
8826
  })(ResponseType || (ResponseType = {}));
9172
8827
  /**
9173
- * Status of the server task.
9174
-
9175
- None
9176
-
9177
- Scheduled
9178
-
9179
- Planning
9180
-
9181
- Executing
9182
-
9183
- Completed
9184
-
9185
- Failed
9186
-
9187
- Canceled
9188
-
9189
- Timeout
9190
- */
9191
-
9192
-
9193
- var ServerTaskStatus;
9194
-
9195
- (function (ServerTaskStatus) {
9196
- ServerTaskStatus["None"] = "None";
9197
- ServerTaskStatus["Scheduled"] = "Scheduled";
9198
- ServerTaskStatus["Planning"] = "Planning";
9199
- ServerTaskStatus["Executing"] = "Executing";
9200
- ServerTaskStatus["Completed"] = "Completed";
9201
- ServerTaskStatus["Failed"] = "Failed";
9202
- ServerTaskStatus["Canceled"] = "Canceled";
9203
- ServerTaskStatus["Timeout"] = "Timeout";
9204
- })(ServerTaskStatus || (ServerTaskStatus = {}));
9205
- /**
9206
8828
  *
9207
8829
 
9208
8830
  Basic
@@ -9242,21 +8864,6 @@ var StringSubType;
9242
8864
  StringSubType["Attachments"] = "Attachments";
9243
8865
  })(StringSubType || (StringSubType = {}));
9244
8866
  /**
9245
- * Task owner group.
9246
-
9247
- my
9248
-
9249
- all
9250
- */
9251
-
9252
-
9253
- var TaskGroup;
9254
-
9255
- (function (TaskGroup) {
9256
- TaskGroup["My"] = "my";
9257
- TaskGroup["All"] = "all";
9258
- })(TaskGroup || (TaskGroup = {}));
9259
- /**
9260
8867
  * Sets the horizontal alignment of text.
9261
8868
 
9262
8869
  right
@@ -9295,6 +8902,81 @@ var TextVerticalAlignment;
9295
8902
  TextVerticalAlignment["Bottom"] = "bottom";
9296
8903
  TextVerticalAlignment["Middle"] = "middle";
9297
8904
  })(TextVerticalAlignment || (TextVerticalAlignment = {}));
8905
+ /**
8906
+ *
8907
+
8908
+ Task
8909
+
8910
+ Rest
8911
+
8912
+ Both
8913
+ */
8914
+
8915
+
8916
+ var WorkerMethodType;
8917
+
8918
+ (function (WorkerMethodType) {
8919
+ WorkerMethodType["Task"] = "Task";
8920
+ WorkerMethodType["Rest"] = "Rest";
8921
+ WorkerMethodType["Both"] = "Both";
8922
+ })(WorkerMethodType || (WorkerMethodType = {}));
8923
+ /**
8924
+ *
8925
+
8926
+ Integer
8927
+
8928
+ Double
8929
+
8930
+ String
8931
+
8932
+ Extent
8933
+
8934
+ Geometry
8935
+
8936
+ IntergerArray
8937
+
8938
+ DoubleArray
8939
+
8940
+ StringArray
8941
+
8942
+ Boolean
8943
+
8944
+ SourceEql
8945
+
8946
+ Layer
8947
+
8948
+ Table
8949
+
8950
+ Folder
8951
+
8952
+ Json
8953
+
8954
+ Expression
8955
+
8956
+ Expressions
8957
+ */
8958
+
9298
8959
 
9299
- export { Account, AccountPreview, AggregationFunction, Api, ApiEvent, AttributeIconType, AttributeSelectorType, AttributeType, AuthorizationGrant, BulkOperations, Cameras, CatalogResourceType, ClassificationType, ClassifyAttributeType, ClientSettings, ConfigurationErrorEnum, ConnectionStatus, DataSourceType, DependencyType, Eql, ErrorDetailsType, ErrorReason, ErrorType, EvergisDynamicLayer, EvergisTileLayer, External, FeatureType, Feedback, FileUpload, Filters, FontStyle, FontWeight, GEOCODE_PROVIDER, General, Geocode, GeometryType, Group, HttpClient, IceRouter, Import, Layers, LayersManager, LineCapStyle, LineEndingType, LineJoinType, Names, Namespace, Notification, NotificationEvent, Operation, OwnerFilter, PbfSchema, Permissions, PolicyType, PortalSettings, Print, Projects, Quality, ResourceCatalog, ResourceSeparator, ResourceSubTypeFilter, ResourceType, ResourceTypeFilter, ResourceTypeLink, Resources, ResponseType, STORAGE_REFRESH_TOKEN_KEY, STORAGE_TOKEN_KEY, Scheduler, Security, ServerTaskStatus, SimplifyType, SpatialProcessor, Statistic, StringSubType, Styles, Tables, TaskGroup, TextAlignment, TextVerticalAlignment, Tools, UrlPath, VectorTiles, addSubDomainToLocation, errorHandler, formDataFromFile, generateId, getFetchingUrlPath, isEvergisDynamicLayer, isEvergisTileLayer, isFeatureLayer, isHTTPError, isHandledError, isLayer, isProjectContentItems, isString, isTileLayerService, parseJwt, promiseAllIgnoreErrors, stripUselessSlashes, toFormData, unique };
8960
+ var WorkerSettingsFieldType;
8961
+
8962
+ (function (WorkerSettingsFieldType) {
8963
+ WorkerSettingsFieldType["Integer"] = "Integer";
8964
+ WorkerSettingsFieldType["Double"] = "Double";
8965
+ WorkerSettingsFieldType["String"] = "String";
8966
+ WorkerSettingsFieldType["Extent"] = "Extent";
8967
+ WorkerSettingsFieldType["Geometry"] = "Geometry";
8968
+ WorkerSettingsFieldType["IntergerArray"] = "IntergerArray";
8969
+ WorkerSettingsFieldType["DoubleArray"] = "DoubleArray";
8970
+ WorkerSettingsFieldType["StringArray"] = "StringArray";
8971
+ WorkerSettingsFieldType["Boolean"] = "Boolean";
8972
+ WorkerSettingsFieldType["SourceEql"] = "SourceEql";
8973
+ WorkerSettingsFieldType["Layer"] = "Layer";
8974
+ WorkerSettingsFieldType["Table"] = "Table";
8975
+ WorkerSettingsFieldType["Folder"] = "Folder";
8976
+ WorkerSettingsFieldType["Json"] = "Json";
8977
+ WorkerSettingsFieldType["Expression"] = "Expression";
8978
+ WorkerSettingsFieldType["Expressions"] = "Expressions";
8979
+ })(WorkerSettingsFieldType || (WorkerSettingsFieldType = {}));
8980
+
8981
+ export { Account, AccountPreview, AggregationFunction, Api, ApiEvent, AttributeIconType, AttributeSelectorType, AttributeType, AuthorizationGrant, BulkOperations, Cameras, CatalogResourceType, ClassificationType, ClassifyAttributeType, ClientSettings, ConfigurationErrorEnum, ConnectionStatus, DataSourceType, DependencyType, Eql, ErrorDetailsType, ErrorReason, ErrorType, External, FeatureType, Feedback, FileUpload, Filters, FontStyle, FontWeight, GEOCODE_PROVIDER, General, Geocode, GeometryType, Group, HttpClient, IceRouter, Import, Layers, LineCapStyle, LineEndingType, LineJoinType, Names, Namespace, Notification, NotificationEvent, Operation, OwnerFilter, PbfSchema, Permissions, PolicyType, PortalSettings, Print, Projects, Quality, RemoteTaskManager, ResourceCatalog, ResourceSeparator, ResourceSubTypeFilter, ResourceType, ResourceTypeFilter, ResourceTypeLink, Resources, ResponseType, STORAGE_REFRESH_TOKEN_KEY, STORAGE_TOKEN_KEY, Security, SimplifyType, Statistic, StringSubType, Styles, Tables, TextAlignment, TextVerticalAlignment, Tools, UrlPath, VectorTiles, WorkerMethodType, WorkerSettingsFieldType, addSubDomainToLocation, errorHandler, formDataFromFile, generateId, getFetchingUrlPath, isHTTPError, isHandledError, isProjectContentItems, isString, isTileLayerService, parseJwt, promiseAllIgnoreErrors, stripUselessSlashes, toFormData, unique };
9300
8982
  //# sourceMappingURL=api.esm.js.map