@evergis/api 5.0.38 → 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/api.esm.js CHANGED
@@ -1870,6 +1870,20 @@ class CatalogService extends Service {
1870
1870
  deleteResource({ resourceId, ...query }) {
1871
1871
  return this.http.delete(`/resources/${resourceId}`, null, query).then(() => { });
1872
1872
  }
1873
+ /**
1874
+ * No description
1875
+ *
1876
+ * @tags Catalog
1877
+ * @name CreateResource
1878
+ * @operationId CatalogController_CreateResource
1879
+ * @summary Create new Everpoint.ResourcesCatalog.Tools.Models.CatalogResourceType.Custom resource.
1880
+ * @request POST:/resources/custom
1881
+ * @secure
1882
+ * @response `200` OK
1883
+ */
1884
+ createResource(data) {
1885
+ return this.http.post(`/resources/custom`, data).json();
1886
+ }
1873
1887
  /**
1874
1888
  * No description
1875
1889
  *
@@ -3259,6 +3273,7 @@ var CatalogResourceType;
3259
3273
  CatalogResourceType["File"] = "File";
3260
3274
  CatalogResourceType["TaskPrototype"] = "TaskPrototype";
3261
3275
  CatalogResourceType["DataSource"] = "DataSource";
3276
+ CatalogResourceType["Custom"] = "Custom";
3262
3277
  })(CatalogResourceType || (CatalogResourceType = {}));
3263
3278
  var ClassificationType;
3264
3279
  (function (ClassificationType) {
@@ -4171,76 +4186,6 @@ class ProjectsService extends Service {
4171
4186
  getProjectsInfo(query) {
4172
4187
  return this.http.get(`/projects/batchInfo`, query).json();
4173
4188
  }
4174
- /**
4175
- * No description
4176
- *
4177
- * @tags Projects
4178
- * @name GetProjectEnvelope
4179
- * @operationId ProjectsController_GetProjectEnvelope
4180
- * @summary Get project extent.
4181
- * @request GET:/projects/{name}/extent
4182
- * @secure
4183
- * @response `200` OK
4184
- */
4185
- getProjectEnvelope({ name, ...query }) {
4186
- return this.http.get(`/projects/${name}/extent`, query).json();
4187
- }
4188
- /**
4189
- * No description
4190
- *
4191
- * @tags Projects
4192
- * @name GetProjectLayersExtendedInfo
4193
- * @operationId ProjectsController_GetProjectLayersExtendedInfo
4194
- * @summary Gets extended project info with layers info.
4195
- * @request GET:/projects/{name}/extended-info
4196
- * @secure
4197
- * @response `200` OK
4198
- */
4199
- getProjectLayersExtendedInfo(name) {
4200
- return this.http.get(`/projects/${name}/extended-info`).json();
4201
- }
4202
- /**
4203
- * No description
4204
- *
4205
- * @tags Projects
4206
- * @name GetTilesLayerImage
4207
- * @operationId ProjectsController_GetTilesLayerImage
4208
- * @summary Render tile.
4209
- * @request GET:/projects/{name}/tile/{z}/{x}/{y}
4210
- * @secure
4211
- * @response `200` OK
4212
- */
4213
- getTilesLayerImage(name, x, y, z) {
4214
- return this.http.createUrl(`/projects/${name}/tile/{z}/{x}/{y}`);
4215
- }
4216
- /**
4217
- * No description
4218
- *
4219
- * @tags Projects
4220
- * @name GetTilesLayerImageWithFormat
4221
- * @operationId ProjectsController_GetTilesLayerImageWithFormat
4222
- * @summary Render tile.
4223
- * @request GET:/projects/{name}/tile/{z}/{x}/{y}.{format}
4224
- * @secure
4225
- * @response `200` OK
4226
- */
4227
- getTilesLayerImageWithFormat(name, x, y, z, format) {
4228
- return this.http.createUrl(`/projects/${name}/tile/{z}/{x}/{y}.${format}`);
4229
- }
4230
- /**
4231
- * No description
4232
- *
4233
- * @tags Projects
4234
- * @name GetTilesLayerImageWithFormatAndDpi
4235
- * @operationId ProjectsController_GetTilesLayerImageWithFormatAndDpi
4236
- * @summary Render tile.
4237
- * @request GET:/projects/{name}/tile/{z}/{x}/{y}@{dpi}x.{format}
4238
- * @secure
4239
- * @response `200` OK
4240
- */
4241
- getTilesLayerImageWithFormatAndDpi(name, x, y, z, dpi, format) {
4242
- return this.http.createUrl(`/projects/${name}/tile/{z}/{x}/{y}@${dpi}x.${format}`);
4243
- }
4244
4189
  /**
4245
4190
  * No description
4246
4191
  *
@@ -4302,9 +4247,6 @@ class Projects extends ProjectsService {
4302
4247
  return this.updateProject(resource.name, resource);
4303
4248
  }
4304
4249
  }
4305
- function isProjectContentItems(v) {
4306
- return v !== null && v !== undefined;
4307
- }
4308
4250
 
4309
4251
  /* eslint-disable */
4310
4252
  /* tslint:disable */
@@ -5245,5 +5187,5 @@ class VectorTileService extends Service {
5245
5187
  class VectorTiles extends VectorTileService {
5246
5188
  }
5247
5189
 
5248
- export { AccessMode, Account, AccountPreview, AggregationFunction, Api, ApiEvent, AttributeConfigurationType, AttributeIconType, AttributeType, AuthorizationGrant, BulkOperations, CatalogResourceType, CatalogShare, ClassificationType, ClassifyAttributeType, ClientSettings, ConfigOperationType, ConflictResolutionStrategy, DataSourceConnectionType, DataSourceType, DependencyType, Eql, ErrorDetailsType, ErrorReason, External, Feedback, FileUpload, Filters, GEOCODE_PROVIDER, Geocode, History, HttpClient, Import, LayerServiceType, Layers, Names, OgcGeometryType, PbfSchema, Permissions, PolicyType, PortalSettings, Projects, RemoteTaskManager, RemoteTaskStatus, ResourceSeparator, ResourceSubTypeFilter, ResourceType, ResourceTypeFilter, Resources, ResponseType, STORAGE_REFRESH_TOKEN_KEY, STORAGE_TOKEN_KEY, Security, ShareInvitationStatus, SimplifyType, Statistic, StringSubType, TableConfigurationType, Tables, TaskResourceSubType, Tools, UrlPath, VectorTiles, WorkerMethodType, WorkerSettingsFieldType, addSubDomainToLocation, errorHandler, formDataFromFile, generateId, getFetchingUrlPath, isHTTPError, isHandledError, isProjectContentItems, isString, isTileLayerService, parseJwt, promiseAllIgnoreErrors, stripUselessSlashes, toFormData, unique, useToken };
5190
+ export { AccessMode, Account, AccountPreview, AggregationFunction, Api, ApiEvent, AttributeConfigurationType, AttributeIconType, AttributeType, AuthorizationGrant, BulkOperations, CatalogResourceType, CatalogShare, ClassificationType, ClassifyAttributeType, ClientSettings, ConfigOperationType, ConflictResolutionStrategy, DataSourceConnectionType, DataSourceType, DependencyType, Eql, ErrorDetailsType, ErrorReason, External, Feedback, FileUpload, Filters, GEOCODE_PROVIDER, Geocode, History, HttpClient, Import, LayerServiceType, Layers, Names, OgcGeometryType, PbfSchema, Permissions, PolicyType, PortalSettings, Projects, RemoteTaskManager, RemoteTaskStatus, ResourceSeparator, ResourceSubTypeFilter, ResourceType, ResourceTypeFilter, Resources, ResponseType, STORAGE_REFRESH_TOKEN_KEY, STORAGE_TOKEN_KEY, Security, ShareInvitationStatus, SimplifyType, Statistic, StringSubType, TableConfigurationType, Tables, TaskResourceSubType, Tools, UrlPath, VectorTiles, WorkerMethodType, WorkerSettingsFieldType, addSubDomainToLocation, errorHandler, formDataFromFile, generateId, getFetchingUrlPath, isHTTPError, isHandledError, isString, isTileLayerService, parseJwt, promiseAllIgnoreErrors, stripUselessSlashes, toFormData, unique, useToken };
5249
5191
  //# sourceMappingURL=api.esm.js.map