@evergis/api 5.0.41 → 5.0.42

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 CHANGED
@@ -1,21 +1,21 @@
1
- MIT License
2
-
3
- Copyright (c) 2025 Everpoint
4
-
5
- Permission is hereby granted, free of charge, to any person obtaining a copy
6
- of this software and associated documentation files (the "Software"), to deal
7
- in the Software without restriction, including without limitation the rights
8
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
- copies of the Software, and to permit persons to whom the Software is
10
- furnished to do so, subject to the following conditions:
11
-
12
- The above copyright notice and this permission notice shall be included in all
13
- copies or substantial portions of the Software.
14
-
15
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
- SOFTWARE.
1
+ MIT License
2
+
3
+ Copyright (c) 2025 Everpoint
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md CHANGED
@@ -1,12 +1,12 @@
1
- # @evergis/api
2
-
3
- Библиотека API.
4
-
5
- ### Генерирование API
6
-
7
- ```shell
8
- $ yarn generate
9
- ```
10
-
11
- ***ВАЖНО!!!***: Никогда и ни при каких обстоятельствах нельзя вручную править файлы,
12
- размещенные в директории `src/__generated__`!
1
+ # @evergis/api
2
+
3
+ Библиотека API.
4
+
5
+ ### Генерирование API
6
+
7
+ ```shell
8
+ $ yarn generate
9
+ ```
10
+
11
+ ***ВАЖНО!!!***: Никогда и ни при каких обстоятельствах нельзя вручную править файлы,
12
+ размещенные в директории `src/__generated__`!
@@ -247,18 +247,6 @@ export declare class CatalogService extends Service {
247
247
  * @response `200` OK
248
248
  */
249
249
  getFile(resourceId: string): Promise<Blob>;
250
- /**
251
- * No description
252
- *
253
- * @tags Catalog
254
- * @name CleanResources
255
- * @operationId CatalogController_CleanResources
256
- * @summary Clean user resources.
257
- * @request POST:/resources/clean
258
- * @secure
259
- * @response `200` OK
260
- */
261
- cleanResources(): Promise<void>;
262
250
  /**
263
251
  * No description
264
252
  *
@@ -1185,6 +1185,8 @@ export interface ExpressionValidationResultDc {
1185
1185
  * Extended resource info.
1186
1186
  */
1187
1187
  export type ExtendedCatalogResourceDc = CatalogResourceDc & {
1188
+ /** Resource configuration. */
1189
+ configuration?: any;
1188
1190
  /** Resource path. */
1189
1191
  path?: string | null;
1190
1192
  };
@@ -2172,6 +2174,8 @@ export interface PatchResourceDc {
2172
2174
  tags?: string[];
2173
2175
  /** Resource icon. */
2174
2176
  icon?: string;
2177
+ /** The JSON configuration, or null if not set. */
2178
+ configuration?: any;
2175
2179
  }
2176
2180
  /**
2177
2181
  * Influences the y direction of the tile coordinates. The global-mercator (aka Spherical Mercator) profile is assumed.
@@ -2958,7 +2962,9 @@ export declare enum ResourceSubTypeFilter {
2958
2962
  RemoteTileService = "RemoteTileService",
2959
2963
  ProxyService = "ProxyService",
2960
2964
  QueryLayerService = "QueryLayerService",
2961
- TileCatalogTable = "TileCatalogTable"
2965
+ TileCatalogTable = "TileCatalogTable",
2966
+ Story = "Story",
2967
+ Basemap = "Basemap"
2962
2968
  }
2963
2969
  export declare enum ResourceType {
2964
2970
  Unknown = "Unknown",
package/dist/api.esm.js CHANGED
@@ -2037,20 +2037,6 @@ class CatalogService extends Service {
2037
2037
  getFile(resourceId) {
2038
2038
  return this.http.get(`/resources/file/${resourceId}`).blob();
2039
2039
  }
2040
- /**
2041
- * No description
2042
- *
2043
- * @tags Catalog
2044
- * @name CleanResources
2045
- * @operationId CatalogController_CleanResources
2046
- * @summary Clean user resources.
2047
- * @request POST:/resources/clean
2048
- * @secure
2049
- * @response `200` OK
2050
- */
2051
- cleanResources() {
2052
- return this.http.post(`/resources/clean`, null).then(() => { });
2053
- }
2054
2040
  /**
2055
2041
  * No description
2056
2042
  *
@@ -3378,6 +3364,8 @@ var ResourceSubTypeFilter;
3378
3364
  ResourceSubTypeFilter["ProxyService"] = "ProxyService";
3379
3365
  ResourceSubTypeFilter["QueryLayerService"] = "QueryLayerService";
3380
3366
  ResourceSubTypeFilter["TileCatalogTable"] = "TileCatalogTable";
3367
+ ResourceSubTypeFilter["Story"] = "Story";
3368
+ ResourceSubTypeFilter["Basemap"] = "Basemap";
3381
3369
  })(ResourceSubTypeFilter || (ResourceSubTypeFilter = {}));
3382
3370
  var ResourceType;
3383
3371
  (function (ResourceType) {