@evergis/api 5.0.65 → 5.0.66

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) 2026 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) 2026 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__`!
@@ -2649,15 +2649,37 @@ export interface ProxyServiceConfigurationDc {
2649
2649
  sourceType?: string;
2650
2650
  /** Specifies the available types of layer services that can be used within the application. */
2651
2651
  layerType?: LayerServiceType;
2652
- geometryType?: OgcGeometryType;
2653
2652
  /** Source url path. Like http://sampleserver1.arcgisonline.com/ArcGIS/rest/services/Specialty/SuperTuesdaySample/MapServer. */
2654
2653
  sourceUrl?: string;
2654
+ /** Subdomains for the source URL. Like ["a", "b", "c"]. */
2655
+ subDomains?: string[];
2655
2656
  /** Names of layers to include in proxy layer (can be numbers). */
2656
2657
  layers?: string[];
2657
2658
  /** Additional query headers. */
2658
2659
  additionalHeaders?: Record<string, string | null>;
2659
2660
  /** Additional query parameters. */
2660
2661
  additionalQueryParams?: Record<string, string | null>;
2662
+ /**
2663
+ * Request timeout.
2664
+ * @format date-span
2665
+ */
2666
+ requestTimeout?: string;
2667
+ /** Ignore https server certificate validation check. */
2668
+ ignoreHttps?: boolean;
2669
+ /** If set true use local cache. */
2670
+ enableLocalCaching?: boolean;
2671
+ /** If set true use redis cache. */
2672
+ enableRemoteCaching?: boolean;
2673
+ /**
2674
+ * Amount of time local cache expire.
2675
+ * @format date-span
2676
+ */
2677
+ localCacheExpire?: string;
2678
+ /**
2679
+ * Amount of time remote cache expire.
2680
+ * @format date-span
2681
+ */
2682
+ remoteCacheExpire?: string;
2661
2683
  /**
2662
2684
  * Name of the service.
2663
2685
  * @minLength 1
@@ -3031,39 +3053,10 @@ export declare enum RemoteTaskStatus {
3031
3053
  /**
3032
3054
  * Configuration for the remote tile service.
3033
3055
  */
3034
- export type RemoteTileServiceConfigurationDc = ServiceConfigurationBaseDc & {
3035
- /** Specifies the available types of layer services that can be used within the application. */
3036
- layerType?: LayerServiceType;
3037
- /** Tile info structure. */
3038
- tileInfo?: TileInfoDc;
3039
- /**
3040
- * SourceBatch url mask. Like http://{0}.website.ru/{1}/{2}/{3}.png
3041
- * Where: {0} - SubDomains, {1} - Z, {2} - X, {3} - Y.
3042
- * @minLength 1
3043
- */
3044
- urlFormat: string;
3045
- /**
3046
- * Max tile count for caching.
3047
- * @format int32
3048
- * @default 50000
3049
- */
3050
- tileCacheLimit?: number;
3051
- /** If set true cache tiles in redis cache. */
3052
- useRedisCache?: boolean;
3053
- /**
3054
- * Amount of time cache expire in seconds.
3055
- * @format int32
3056
- */
3057
- cacheExpire?: number;
3058
- /**
3059
- * Subdomains. To get tiles from different servers.
3060
- * Will be inserted into the UrlFormat {0}.
3061
- */
3062
- subDomains?: string[] | null;
3056
+ export type RemoteTileServiceConfigurationDc = ProxyServiceConfigurationDc & {
3057
+ sourceType?: string | null;
3063
3058
  /** Allows the client to receive tiles directly from the source server. */
3064
3059
  allowDirectAccess?: boolean;
3065
- /** @format int32 */
3066
- RequestTimeout?: number;
3067
3060
  /** Use proxy HttpClient. */
3068
3061
  useProxyHttpClient?: boolean;
3069
3062
  };