@evergis/api 5.0.37 → 5.0.39
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/__generated__/CatalogService.d.ts +13 -1
- package/dist/__generated__/LayersService.d.ts +6 -6
- package/dist/__generated__/ProjectsService.d.ts +1 -61
- package/dist/__generated__/TablesService.d.ts +2 -2
- package/dist/__generated__/data-contracts.d.ts +95 -185
- package/dist/api.esm.js +16 -74
- package/dist/api.esm.js.map +1 -1
- package/dist/index.js +15 -74
- package/dist/index.js.map +1 -1
- package/dist/services/Layers.d.ts +4 -4
- package/dist/services/Projects.d.ts +1 -2
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -1871,6 +1871,20 @@ class CatalogService extends Service {
|
|
|
1871
1871
|
deleteResource({ resourceId, ...query }) {
|
|
1872
1872
|
return this.http.delete(`/resources/${resourceId}`, null, query).then(() => { });
|
|
1873
1873
|
}
|
|
1874
|
+
/**
|
|
1875
|
+
* No description
|
|
1876
|
+
*
|
|
1877
|
+
* @tags Catalog
|
|
1878
|
+
* @name CreateResource
|
|
1879
|
+
* @operationId CatalogController_CreateResource
|
|
1880
|
+
* @summary Create new Everpoint.ResourcesCatalog.Tools.Models.CatalogResourceType.Custom resource.
|
|
1881
|
+
* @request POST:/resources/custom
|
|
1882
|
+
* @secure
|
|
1883
|
+
* @response `200` OK
|
|
1884
|
+
*/
|
|
1885
|
+
createResource(data) {
|
|
1886
|
+
return this.http.post(`/resources/custom`, data).json();
|
|
1887
|
+
}
|
|
1874
1888
|
/**
|
|
1875
1889
|
* No description
|
|
1876
1890
|
*
|
|
@@ -3260,6 +3274,7 @@ exports.CatalogResourceType = void 0;
|
|
|
3260
3274
|
CatalogResourceType["File"] = "File";
|
|
3261
3275
|
CatalogResourceType["TaskPrototype"] = "TaskPrototype";
|
|
3262
3276
|
CatalogResourceType["DataSource"] = "DataSource";
|
|
3277
|
+
CatalogResourceType["Custom"] = "Custom";
|
|
3263
3278
|
})(exports.CatalogResourceType || (exports.CatalogResourceType = {}));
|
|
3264
3279
|
exports.ClassificationType = void 0;
|
|
3265
3280
|
(function (ClassificationType) {
|
|
@@ -4172,76 +4187,6 @@ class ProjectsService extends Service {
|
|
|
4172
4187
|
getProjectsInfo(query) {
|
|
4173
4188
|
return this.http.get(`/projects/batchInfo`, query).json();
|
|
4174
4189
|
}
|
|
4175
|
-
/**
|
|
4176
|
-
* No description
|
|
4177
|
-
*
|
|
4178
|
-
* @tags Projects
|
|
4179
|
-
* @name GetProjectEnvelope
|
|
4180
|
-
* @operationId ProjectsController_GetProjectEnvelope
|
|
4181
|
-
* @summary Get project extent.
|
|
4182
|
-
* @request GET:/projects/{name}/extent
|
|
4183
|
-
* @secure
|
|
4184
|
-
* @response `200` OK
|
|
4185
|
-
*/
|
|
4186
|
-
getProjectEnvelope({ name, ...query }) {
|
|
4187
|
-
return this.http.get(`/projects/${name}/extent`, query).json();
|
|
4188
|
-
}
|
|
4189
|
-
/**
|
|
4190
|
-
* No description
|
|
4191
|
-
*
|
|
4192
|
-
* @tags Projects
|
|
4193
|
-
* @name GetProjectLayersExtendedInfo
|
|
4194
|
-
* @operationId ProjectsController_GetProjectLayersExtendedInfo
|
|
4195
|
-
* @summary Gets extended project info with layers info.
|
|
4196
|
-
* @request GET:/projects/{name}/extended-info
|
|
4197
|
-
* @secure
|
|
4198
|
-
* @response `200` OK
|
|
4199
|
-
*/
|
|
4200
|
-
getProjectLayersExtendedInfo(name) {
|
|
4201
|
-
return this.http.get(`/projects/${name}/extended-info`).json();
|
|
4202
|
-
}
|
|
4203
|
-
/**
|
|
4204
|
-
* No description
|
|
4205
|
-
*
|
|
4206
|
-
* @tags Projects
|
|
4207
|
-
* @name GetTilesLayerImage
|
|
4208
|
-
* @operationId ProjectsController_GetTilesLayerImage
|
|
4209
|
-
* @summary Render tile.
|
|
4210
|
-
* @request GET:/projects/{name}/tile/{z}/{x}/{y}
|
|
4211
|
-
* @secure
|
|
4212
|
-
* @response `200` OK
|
|
4213
|
-
*/
|
|
4214
|
-
getTilesLayerImage(name, x, y, z) {
|
|
4215
|
-
return this.http.createUrl(`/projects/${name}/tile/{z}/{x}/{y}`);
|
|
4216
|
-
}
|
|
4217
|
-
/**
|
|
4218
|
-
* No description
|
|
4219
|
-
*
|
|
4220
|
-
* @tags Projects
|
|
4221
|
-
* @name GetTilesLayerImageWithFormat
|
|
4222
|
-
* @operationId ProjectsController_GetTilesLayerImageWithFormat
|
|
4223
|
-
* @summary Render tile.
|
|
4224
|
-
* @request GET:/projects/{name}/tile/{z}/{x}/{y}.{format}
|
|
4225
|
-
* @secure
|
|
4226
|
-
* @response `200` OK
|
|
4227
|
-
*/
|
|
4228
|
-
getTilesLayerImageWithFormat(name, x, y, z, format) {
|
|
4229
|
-
return this.http.createUrl(`/projects/${name}/tile/{z}/{x}/{y}.${format}`);
|
|
4230
|
-
}
|
|
4231
|
-
/**
|
|
4232
|
-
* No description
|
|
4233
|
-
*
|
|
4234
|
-
* @tags Projects
|
|
4235
|
-
* @name GetTilesLayerImageWithFormatAndDpi
|
|
4236
|
-
* @operationId ProjectsController_GetTilesLayerImageWithFormatAndDpi
|
|
4237
|
-
* @summary Render tile.
|
|
4238
|
-
* @request GET:/projects/{name}/tile/{z}/{x}/{y}@{dpi}x.{format}
|
|
4239
|
-
* @secure
|
|
4240
|
-
* @response `200` OK
|
|
4241
|
-
*/
|
|
4242
|
-
getTilesLayerImageWithFormatAndDpi(name, x, y, z, dpi, format) {
|
|
4243
|
-
return this.http.createUrl(`/projects/${name}/tile/{z}/{x}/{y}@${dpi}x.${format}`);
|
|
4244
|
-
}
|
|
4245
4190
|
/**
|
|
4246
4191
|
* No description
|
|
4247
4192
|
*
|
|
@@ -4303,9 +4248,6 @@ class Projects extends ProjectsService {
|
|
|
4303
4248
|
return this.updateProject(resource.name, resource);
|
|
4304
4249
|
}
|
|
4305
4250
|
}
|
|
4306
|
-
function isProjectContentItems(v) {
|
|
4307
|
-
return v !== null && v !== undefined;
|
|
4308
|
-
}
|
|
4309
4251
|
|
|
4310
4252
|
/* eslint-disable */
|
|
4311
4253
|
/* tslint:disable */
|
|
@@ -5290,7 +5232,6 @@ exports.generateId = generateId;
|
|
|
5290
5232
|
exports.getFetchingUrlPath = getFetchingUrlPath;
|
|
5291
5233
|
exports.isHTTPError = isHTTPError;
|
|
5292
5234
|
exports.isHandledError = isHandledError;
|
|
5293
|
-
exports.isProjectContentItems = isProjectContentItems;
|
|
5294
5235
|
exports.isString = isString;
|
|
5295
5236
|
exports.isTileLayerService = isTileLayerService;
|
|
5296
5237
|
exports.parseJwt = parseJwt;
|