@evergis/api 5.0.2 → 5.0.4
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 +21 -21
- package/README.md +12 -12
- package/dist/__generated__/data-contracts.d.ts +104 -7
- package/dist/api.esm.js +22 -1
- package/dist/api.esm.js.map +1 -1
- package/dist/index.js +21 -0
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
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__`!
|
|
@@ -1535,7 +1535,20 @@ export declare enum DataSourceType {
|
|
|
1535
1535
|
* Configuration of a table for feature layer.
|
|
1536
1536
|
*/
|
|
1537
1537
|
export type DefaultTableConfigurationDc = TableConfigurationBaseDc & {
|
|
1538
|
-
|
|
1538
|
+
/**
|
|
1539
|
+
* Specifies the available types of table configurations that can be used within the application.
|
|
1540
|
+
*
|
|
1541
|
+
* DefaultTableConfiguration
|
|
1542
|
+
*
|
|
1543
|
+
* TileCatalogTableConfiguration
|
|
1544
|
+
*
|
|
1545
|
+
* ViewConfiguration
|
|
1546
|
+
*
|
|
1547
|
+
* MaterializedViewConfiguration
|
|
1548
|
+
*
|
|
1549
|
+
* RouteTableConfiguration
|
|
1550
|
+
*/
|
|
1551
|
+
type?: TableConfigurationType;
|
|
1539
1552
|
/** Schema name. */
|
|
1540
1553
|
schemaName?: string | null;
|
|
1541
1554
|
/** Table name. */
|
|
@@ -2803,7 +2816,20 @@ export interface MapTableInfoDc {
|
|
|
2803
2816
|
* Configuration of a table for feature layer.
|
|
2804
2817
|
*/
|
|
2805
2818
|
export type MaterializedViewConfigurationDc = TableConfigurationBaseDc & {
|
|
2806
|
-
|
|
2819
|
+
/**
|
|
2820
|
+
* Specifies the available types of table configurations that can be used within the application.
|
|
2821
|
+
*
|
|
2822
|
+
* DefaultTableConfiguration
|
|
2823
|
+
*
|
|
2824
|
+
* TileCatalogTableConfiguration
|
|
2825
|
+
*
|
|
2826
|
+
* ViewConfiguration
|
|
2827
|
+
*
|
|
2828
|
+
* MaterializedViewConfiguration
|
|
2829
|
+
*
|
|
2830
|
+
* RouteTableConfiguration
|
|
2831
|
+
*/
|
|
2832
|
+
type?: TableConfigurationType;
|
|
2807
2833
|
/** EQL. */
|
|
2808
2834
|
eql?: string | null;
|
|
2809
2835
|
/** EQL parameters. */
|
|
@@ -4770,7 +4796,20 @@ export type RouteServiceConfigurationDc = ServiceConfigurationBaseDc & {
|
|
|
4770
4796
|
* RouteTableConfigurationDc.
|
|
4771
4797
|
*/
|
|
4772
4798
|
export type RouteTableConfigurationDc = TableConfigurationBaseDc & {
|
|
4773
|
-
|
|
4799
|
+
/**
|
|
4800
|
+
* Specifies the available types of table configurations that can be used within the application.
|
|
4801
|
+
*
|
|
4802
|
+
* DefaultTableConfiguration
|
|
4803
|
+
*
|
|
4804
|
+
* TileCatalogTableConfiguration
|
|
4805
|
+
*
|
|
4806
|
+
* ViewConfiguration
|
|
4807
|
+
*
|
|
4808
|
+
* MaterializedViewConfiguration
|
|
4809
|
+
*
|
|
4810
|
+
* RouteTableConfiguration
|
|
4811
|
+
*/
|
|
4812
|
+
type?: TableConfigurationType;
|
|
4774
4813
|
};
|
|
4775
4814
|
/**
|
|
4776
4815
|
* S3 data source settings.
|
|
@@ -5420,8 +5459,40 @@ export interface SymbolInfoDc {
|
|
|
5420
5459
|
* Common fields for table configurations.
|
|
5421
5460
|
*/
|
|
5422
5461
|
export interface TableConfigurationBaseDc {
|
|
5423
|
-
/**
|
|
5424
|
-
|
|
5462
|
+
/**
|
|
5463
|
+
* Specifies the available types of table configurations that can be used within the application.
|
|
5464
|
+
*
|
|
5465
|
+
* DefaultTableConfiguration
|
|
5466
|
+
*
|
|
5467
|
+
* TileCatalogTableConfiguration
|
|
5468
|
+
*
|
|
5469
|
+
* ViewConfiguration
|
|
5470
|
+
*
|
|
5471
|
+
* MaterializedViewConfiguration
|
|
5472
|
+
*
|
|
5473
|
+
* RouteTableConfiguration
|
|
5474
|
+
*/
|
|
5475
|
+
type: TableConfigurationType;
|
|
5476
|
+
}
|
|
5477
|
+
/**
|
|
5478
|
+
* Specifies the available types of table configurations that can be used within the application.
|
|
5479
|
+
|
|
5480
|
+
DefaultTableConfiguration
|
|
5481
|
+
|
|
5482
|
+
TileCatalogTableConfiguration
|
|
5483
|
+
|
|
5484
|
+
ViewConfiguration
|
|
5485
|
+
|
|
5486
|
+
MaterializedViewConfiguration
|
|
5487
|
+
|
|
5488
|
+
RouteTableConfiguration
|
|
5489
|
+
*/
|
|
5490
|
+
export declare enum TableConfigurationType {
|
|
5491
|
+
DefaultTableConfiguration = "DefaultTableConfiguration",
|
|
5492
|
+
TileCatalogTableConfiguration = "TileCatalogTableConfiguration",
|
|
5493
|
+
ViewConfiguration = "ViewConfiguration",
|
|
5494
|
+
MaterializedViewConfiguration = "MaterializedViewConfiguration",
|
|
5495
|
+
RouteTableConfiguration = "RouteTableConfiguration"
|
|
5425
5496
|
}
|
|
5426
5497
|
/**
|
|
5427
5498
|
* Table description.
|
|
@@ -5932,7 +6003,20 @@ export type TileCatalogServiceInfoDc = ServiceInfoDc & {
|
|
|
5932
6003
|
* Configuration of a table for tile catalog layer.
|
|
5933
6004
|
*/
|
|
5934
6005
|
export type TileCatalogTableConfigurationDc = TableConfigurationBaseDc & {
|
|
5935
|
-
|
|
6006
|
+
/**
|
|
6007
|
+
* Specifies the available types of table configurations that can be used within the application.
|
|
6008
|
+
*
|
|
6009
|
+
* DefaultTableConfiguration
|
|
6010
|
+
*
|
|
6011
|
+
* TileCatalogTableConfiguration
|
|
6012
|
+
*
|
|
6013
|
+
* ViewConfiguration
|
|
6014
|
+
*
|
|
6015
|
+
* MaterializedViewConfiguration
|
|
6016
|
+
*
|
|
6017
|
+
* RouteTableConfiguration
|
|
6018
|
+
*/
|
|
6019
|
+
type?: TableConfigurationType;
|
|
5936
6020
|
};
|
|
5937
6021
|
/**
|
|
5938
6022
|
* Tile geometry clipping information data contract.
|
|
@@ -6251,7 +6335,20 @@ export interface VersionsResponse {
|
|
|
6251
6335
|
* Configuration of a table for feature layer.
|
|
6252
6336
|
*/
|
|
6253
6337
|
export type ViewConfigurationDc = TableConfigurationBaseDc & {
|
|
6254
|
-
|
|
6338
|
+
/**
|
|
6339
|
+
* Specifies the available types of table configurations that can be used within the application.
|
|
6340
|
+
*
|
|
6341
|
+
* DefaultTableConfiguration
|
|
6342
|
+
*
|
|
6343
|
+
* TileCatalogTableConfiguration
|
|
6344
|
+
*
|
|
6345
|
+
* ViewConfiguration
|
|
6346
|
+
*
|
|
6347
|
+
* MaterializedViewConfiguration
|
|
6348
|
+
*
|
|
6349
|
+
* RouteTableConfiguration
|
|
6350
|
+
*/
|
|
6351
|
+
type?: TableConfigurationType;
|
|
6255
6352
|
/** EQL. */
|
|
6256
6353
|
eql?: string | null;
|
|
6257
6354
|
/** EQL parameters. */
|
package/dist/api.esm.js
CHANGED
|
@@ -5769,6 +5769,27 @@ var StringSubType;
|
|
|
5769
5769
|
StringSubType["Attachments"] = "Attachments";
|
|
5770
5770
|
})(StringSubType || (StringSubType = {}));
|
|
5771
5771
|
/**
|
|
5772
|
+
* Specifies the available types of table configurations that can be used within the application.
|
|
5773
|
+
|
|
5774
|
+
DefaultTableConfiguration
|
|
5775
|
+
|
|
5776
|
+
TileCatalogTableConfiguration
|
|
5777
|
+
|
|
5778
|
+
ViewConfiguration
|
|
5779
|
+
|
|
5780
|
+
MaterializedViewConfiguration
|
|
5781
|
+
|
|
5782
|
+
RouteTableConfiguration
|
|
5783
|
+
*/
|
|
5784
|
+
var TableConfigurationType;
|
|
5785
|
+
(function (TableConfigurationType) {
|
|
5786
|
+
TableConfigurationType["DefaultTableConfiguration"] = "DefaultTableConfiguration";
|
|
5787
|
+
TableConfigurationType["TileCatalogTableConfiguration"] = "TileCatalogTableConfiguration";
|
|
5788
|
+
TableConfigurationType["ViewConfiguration"] = "ViewConfiguration";
|
|
5789
|
+
TableConfigurationType["MaterializedViewConfiguration"] = "MaterializedViewConfiguration";
|
|
5790
|
+
TableConfigurationType["RouteTableConfiguration"] = "RouteTableConfiguration";
|
|
5791
|
+
})(TableConfigurationType || (TableConfigurationType = {}));
|
|
5792
|
+
/**
|
|
5772
5793
|
* TaskPrototypeSubType.
|
|
5773
5794
|
|
|
5774
5795
|
SpTask
|
|
@@ -5868,5 +5889,5 @@ var WorkerSettingsFieldType;
|
|
|
5868
5889
|
WorkerSettingsFieldType["AttributeArray"] = "AttributeArray";
|
|
5869
5890
|
})(WorkerSettingsFieldType || (WorkerSettingsFieldType = {}));
|
|
5870
5891
|
|
|
5871
|
-
export { AccessMode, Account, AccountPreview, AggregationFunction, Api, ApiEvent, AttributeIconType, AttributeSelectorType, AttributeType, AuthorizationGrant, BulkOperations, CatalogResourceType, ClassificationType, ClassifyAttributeType, ClientSettings, ConfigurationErrorEnum, ConflictResolutionStrategy, ConnectionStatus, DataSourceConnectionType, DataSourceType, DependencyType, Eql, ErrorDetailsType, ErrorReason, ErrorType, External, Feedback, FileUpload, Filters, GEOCODE_PROVIDER, Geocode, HttpClient, Import, LayerServiceType, Layers, Names, Notification, NotificationEvent, OgcGeometryType, PbfSchema, Permissions, PolicyType, PortalSettings, Projects, RemoteTaskManager, RemoteTaskStatus, ResourceSeparator, ResourceSubTypeFilter, ResourceType, ResourceTypeFilter, ResourceTypeLink, Resources, ResponseType, STORAGE_REFRESH_TOKEN_KEY, STORAGE_TOKEN_KEY, Security, SimplifyType, Statistic, StringSubType, Tables, TaskResourceSubType, Tools, UrlPath, VectorTiles, WorkerMethodType, WorkerSettingsFieldType, addSubDomainToLocation, errorHandler, formDataFromFile, generateId, getFetchingUrlPath, isHTTPError, isHandledError, isProjectContentItems, isString, isTileLayerService, parseJwt, promiseAllIgnoreErrors, stripUselessSlashes, toFormData, unique, useToken };
|
|
5892
|
+
export { AccessMode, Account, AccountPreview, AggregationFunction, Api, ApiEvent, AttributeIconType, AttributeSelectorType, AttributeType, AuthorizationGrant, BulkOperations, CatalogResourceType, ClassificationType, ClassifyAttributeType, ClientSettings, ConfigurationErrorEnum, ConflictResolutionStrategy, ConnectionStatus, DataSourceConnectionType, DataSourceType, DependencyType, Eql, ErrorDetailsType, ErrorReason, ErrorType, External, Feedback, FileUpload, Filters, GEOCODE_PROVIDER, Geocode, HttpClient, Import, LayerServiceType, Layers, Names, Notification, NotificationEvent, OgcGeometryType, PbfSchema, Permissions, PolicyType, PortalSettings, Projects, RemoteTaskManager, RemoteTaskStatus, ResourceSeparator, ResourceSubTypeFilter, ResourceType, ResourceTypeFilter, ResourceTypeLink, Resources, ResponseType, STORAGE_REFRESH_TOKEN_KEY, STORAGE_TOKEN_KEY, Security, 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 };
|
|
5872
5893
|
//# sourceMappingURL=api.esm.js.map
|