@evergis/api 4.0.1-alpha.0 → 4.0.3

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.
@@ -1,4 +1,4 @@
1
- import { FileUploadResponse, UploadPreviewParams, UploadPreviewPayload } from './data-contracts';
1
+ import { FileUploadResponse, UploadPreviewPayload } from './data-contracts';
2
2
  import { Service } from './Service';
3
3
  /**
4
4
  * @title Spatial Processing Core API
@@ -27,7 +27,7 @@ export declare class AccountPreviewService extends Service {
27
27
  * @request POST:/account/user/preview/{username}
28
28
  * @response `200` OK
29
29
  */
30
- uploadPreview({ username, ...query }: UploadPreviewParams, data: UploadPreviewPayload | FormData): Promise<FileUploadResponse>;
30
+ uploadPreview(username: string | null, data: UploadPreviewPayload | FormData): Promise<FileUploadResponse>;
31
31
  /**
32
32
  * No description
33
33
  *
@@ -1,4 +1,4 @@
1
- import { ArcGisDataSourceDc, ArcGisDataSourceInfoDc, DataSourceInfoDc, GetDataSourcesListParams, PagedListDataSourceInfoDc, PostgresDataSourceDc, PostgresDataSourceInfoDc, S3DataSourceDc, S3DataSourceInfoDc, TestConnectionInfoDc } from './data-contracts';
1
+ import { ArcGisDataSourceDc, ArcGisDataSourceInfoDc, DataSourceInfoDc, GetDataSourcesListParams, MosRuDataSourceDc, MosRuDataSourceInfoDc, PagedListDataSourceInfoDc, PostgresDataSourceDc, PostgresDataSourceInfoDc, S3DataSourceDc, S3DataSourceInfoDc, TestConnectionInfoDc, WmsDataSourceDc } from './data-contracts';
2
2
  import { Service } from './Service';
3
3
  /**
4
4
  * @title Spatial Processing Core API
@@ -71,7 +71,7 @@ export declare class DataSourceService extends Service {
71
71
  * @request GET:/ds/{name}
72
72
  * @response `200` OK
73
73
  */
74
- getDataSource(name: string): Promise<DataSourceInfoDc | ArcGisDataSourceInfoDc | PostgresDataSourceInfoDc | S3DataSourceInfoDc>;
74
+ getDataSource(name: string): Promise<DataSourceInfoDc | ArcGisDataSourceInfoDc | MosRuDataSourceInfoDc | PostgresDataSourceInfoDc | S3DataSourceInfoDc>;
75
75
  /**
76
76
  * No description
77
77
  *
@@ -94,6 +94,28 @@ export declare class DataSourceService extends Service {
94
94
  * @response `200` OK
95
95
  */
96
96
  testConnection(data: PostgresDataSourceDc): Promise<TestConnectionInfoDc>;
97
+ /**
98
+ * No description
99
+ *
100
+ * @tags DataSource
101
+ * @name CreateMosRuDataSource
102
+ * @operationId DataSourceController_CreateMosRuDataSource
103
+ * @summary Create data.mos.ru source.
104
+ * @request POST:/ds/dataMosRu
105
+ * @response `200` OK
106
+ */
107
+ createMosRuDataSource(data: MosRuDataSourceDc): Promise<void>;
108
+ /**
109
+ * No description
110
+ *
111
+ * @tags DataSource
112
+ * @name UpdateMosRuDataSource
113
+ * @operationId DataSourceController_UpdateMosRuDataSource
114
+ * @summary Update arcgis data source.
115
+ * @request PATCH:/ds/dataMosRu
116
+ * @response `200` OK
117
+ */
118
+ updateMosRuDataSource(data: MosRuDataSourceDc): Promise<void>;
97
119
  /**
98
120
  * No description
99
121
  *
@@ -116,4 +138,26 @@ export declare class DataSourceService extends Service {
116
138
  * @response `200` OK
117
139
  */
118
140
  updateS3DataSource(data: S3DataSourceDc): Promise<void>;
141
+ /**
142
+ * No description
143
+ *
144
+ * @tags DataSource
145
+ * @name CreateArcGisDataSource1
146
+ * @operationId DataSourceController_CreateArcGisDataSource_1
147
+ * @summary Create WMS data source.
148
+ * @request POST:/ds/wms
149
+ * @response `200` OK
150
+ */
151
+ createArcGisDataSource1(data: WmsDataSourceDc): Promise<void>;
152
+ /**
153
+ * No description
154
+ *
155
+ * @tags DataSource
156
+ * @name UpdateArcGisDataSource1
157
+ * @operationId DataSourceController_UpdateArcGisDataSource_1
158
+ * @summary Update WMS data source.
159
+ * @request PATCH:/ds/wms
160
+ * @response `200` OK
161
+ */
162
+ updateArcGisDataSource1(data: WmsDataSourceDc): Promise<void>;
119
163
  }
@@ -1,4 +1,4 @@
1
- import { AccessControlListDc, AggregateAttributeParams, AggregationDataResultDc, AttributeDistinctsDc, BulkExtentsDc, BulkOperationResultDc, ClassifyDc, ClassifyParams, CompositeServiceConfigurationDc, CompositeServiceInfoDc, CreateFeaturesPayload, DeleteByConditionParams, DeleteFeatureParams, DeleteFeaturesParams, DeleteResourcesParams, DistinctsParams, EditAttributesInfoDc, EnvelopeDc, ExpressionValidationResultDc, FeatureDc, FeatureLayerServiceInfoDc, FeaturesContainsParams, FeatureSelectionDc, FeaturesListDc, FileUploadResponse, GetBulkExtentsParams, GetBulkExtentsPayload, GetBulkFeaturesPayload, GetByGeometryGetParams, GetByGeometryParams, GetByGeometryPostParams, GetByGeometryPostPayload, GetByIdParams, GetFeatures1Params, GetFeaturesParametersDc, GetFilteredFeaturesCountDc, GetFilteredFeaturesCountParams, GetLayerExtentParams, GetLayerImageParams, GetLayersInfoParams, GetLayersListParams, GetRasterMetaParams9, GetTilesLayerImageParams, LayerUpdateInfo, LayerUpdateInfoDc, LinearServiceConfigurationDc, LocalTileServiceConfigurationDc, NetCdfMetaDc, PagedBulkFeaturesListDc, PagedFeaturesListDc, PbfServiceConfigurationDc, PbfServiceInfoDc, PostgresLayerServiceConfigurationDc, PostgresTileCatalogServiceConfigurationDc, ProxyServiceInfoDc, PublishProxyServicePayload, QueryLayerServiceConfigurationDc, QueryLayerServiceInfoDc, RasterMetaDc, RemoteTileServiceConfigurationDc, RemoteTileServiceInfo, RemoteTileServiceInfoDc, ResourceDependenciesDc, ResourceInfoDc, RouteFeatureDc, RouteServiceConfigurationDc, SelectFeaturesParams, ServiceInfoDc, ServiceListDc, SetPermissionsBatchPayload, SetPreviewPayload, SimpleSymbolDc, StyleDc, StyledLayerServiceConfigurationDc, SubtractParams, SubtractPayload, TileServiceInfoDc, UniteParams, UnitePayload, UpdateFeaturePayload, UpdateProxyServicePayload, ValidateExpressionParams } from './data-contracts';
1
+ import { AccessControlListDc, AggregateAttributeParams, AggregationDataResultDc, AttributeDistinctsDc, BulkExtentsDc, BulkOperationResultDc, ClassifyDc, ClassifyParams, CompositeServiceConfigurationDc, CompositeServiceInfoDc, CreateFeaturesPayload, DeleteByConditionParams, DeleteFeatureParams, DeleteFeaturesParams, DeleteResourcesParams, DistinctsParams, EditAttributesInfoDc, EnvelopeDc, ExpressionValidationResultDc, FeatureDc, FeatureLayerServiceInfoDc, FeaturesContainsParams, FeatureSelectionDc, FeaturesListDc, FileUploadResponse, GetBulkExtentsParams, GetBulkExtentsPayload, GetBulkFeaturesPayload, GetByGeometryGetParams, GetByGeometryParams, GetByGeometryPostParams, GetByGeometryPostPayload, GetByIdParams, GetFeatures1Params, GetFeaturesParametersDc, GetFilteredFeaturesCountDc, GetFilteredFeaturesCountParams, GetLayerExtentParams, GetLayerImageParams, GetLayersInfoParams, GetLayersListParams, GetRasterMetaParams6, GetTilesLayerImageParams, LayerUpdateInfo, LayerUpdateInfoDc, LinearServiceConfigurationDc, LocalTileServiceConfigurationDc, NetCdfMetaDc, PagedBulkFeaturesListDc, PagedFeaturesListDc, PbfServiceConfigurationDc, PbfServiceInfoDc, PostgresLayerServiceConfigurationDc, PostgresTileCatalogServiceConfigurationDc, ProxyServiceInfoDc, PublishProxyServicePayload, QueryLayerServiceConfigurationDc, QueryLayerServiceInfoDc, RasterMetaDc, RemoteTileServiceConfigurationDc, RemoteTileServiceInfo, RemoteTileServiceInfoDc, ResourceDependenciesDc, ResourceInfoDc, RouteFeatureDc, RouteServiceConfigurationDc, SelectFeaturesParams, ServiceInfoDc, ServiceListDc, SetPermissionsBatchPayload, SetPreviewPayload, SimpleSymbolDc, StyleDc, StyledLayerServiceConfigurationDc, SubtractParams, SubtractPayload, TileServiceInfoDc, UniteParams, UnitePayload, UpdateFeaturePayload, UpdateProxyServicePayload, ValidateExpressionParams } from './data-contracts';
2
2
  import { Service } from './Service';
3
3
  /**
4
4
  * @title Spatial Processing Core API
@@ -600,7 +600,7 @@ export declare class LayersService extends Service {
600
600
  * @request GET:/layers/{name}/{id}/metadata
601
601
  * @response `200` OK
602
602
  */
603
- getRasterMeta({ name, id, ...query }: GetRasterMetaParams9): Promise<(RasterMetaDc | NetCdfMetaDc)[]>;
603
+ getRasterMeta({ name, id, ...query }: GetRasterMetaParams6): Promise<(RasterMetaDc | NetCdfMetaDc)[]>;
604
604
  /**
605
605
  * No description
606
606
  *
@@ -1,4 +1,4 @@
1
- import { AccessControlListDc, BulkOperationResultDc, DeleteResourcesParams8, EnvelopeDc, ExtendedProjectInfoDc, ExtendedProjectLayersInfo, FileUploadResponse, GetProjectEnvelopeParams, GetProjectsInfoParams, GetProjectsListParams, PagedListProjectInfoDc, ProjectsListDc, ResourceDependenciesDc, SetPermissionsBatchBody, SetPreviewBody } from './data-contracts';
1
+ import { AccessControlListDc, BulkOperationResultDc, DeleteResourcesParams4, EnvelopeDc, ExtendedProjectInfoDc, ExtendedProjectLayersInfo, FileUploadResponse, GetProjectEnvelopeParams, GetProjectsInfoParams, GetProjectsListParams, PagedListProjectInfoDc, ProjectsListDc, ResourceDependenciesDc, SetPermissionsBatchBody, SetPreviewBody } from './data-contracts';
2
2
  import { Service } from './Service';
3
3
  /**
4
4
  * @title Spatial Processing Core API
@@ -49,7 +49,7 @@ export declare class ProjectsService extends Service {
49
49
  * @request DELETE:/projects
50
50
  * @response `200` OK
51
51
  */
52
- deleteResources(query: DeleteResourcesParams8): Promise<BulkOperationResultDc[]>;
52
+ deleteResources(query: DeleteResourcesParams4): Promise<BulkOperationResultDc[]>;
53
53
  /**
54
54
  * No description
55
55
  *
@@ -0,0 +1,75 @@
1
+ import { GetAllScriptMethodsParams, GetAutoConfigurationParams, GetPythonConfigurationParams, PythonResourceCreateDto, RunScriptParams, RunScriptPayload, ScriptConfiguration, UpdatePythonConfigurationParams } from './data-contracts';
2
+ import { Service } from './Service';
3
+ /**
4
+ * @title Spatial Processing Core API
5
+ * @version 1.5.1.0
6
+ * @baseUrl /sp
7
+ */
8
+ export declare class PythonService extends Service {
9
+ /**
10
+ * No description
11
+ *
12
+ * @tags Python
13
+ * @name CreatePythonResource
14
+ * @operationId PythonController_CreatePythonResource
15
+ * @summary Create python service.
16
+ * @request POST:/python/resource
17
+ * @response `200` OK
18
+ */
19
+ createPythonResource(data: PythonResourceCreateDto): Promise<string>;
20
+ /**
21
+ * No description
22
+ *
23
+ * @tags Python
24
+ * @name UpdatePythonConfiguration
25
+ * @operationId PythonController_UpdatePythonConfiguration
26
+ * @summary Update python configuration.
27
+ * @request PATCH:/python/resource/configuration
28
+ * @response `200` OK
29
+ */
30
+ updatePythonConfiguration(query: UpdatePythonConfigurationParams, data: ScriptConfiguration): Promise<void>;
31
+ /**
32
+ * No description
33
+ *
34
+ * @tags Python
35
+ * @name GetPythonConfiguration
36
+ * @operationId PythonController_GetPythonConfiguration
37
+ * @summary Get python configuration.
38
+ * @request GET:/python/resource/configuration
39
+ * @response `200` OK
40
+ */
41
+ getPythonConfiguration(query: GetPythonConfigurationParams): Promise<ScriptConfiguration>;
42
+ /**
43
+ * No description
44
+ *
45
+ * @tags Python
46
+ * @name GetAutoConfiguration
47
+ * @operationId PythonController_GetAutoConfiguration
48
+ * @summary Get python configuration.
49
+ * @request GET:/python/resource/autoConfiguration
50
+ * @response `200` OK
51
+ */
52
+ getAutoConfiguration(query: GetAutoConfigurationParams): Promise<ScriptConfiguration>;
53
+ /**
54
+ * No description
55
+ *
56
+ * @tags Python
57
+ * @name GetAllScriptMethods
58
+ * @operationId PythonController_GetAllScriptMethods
59
+ * @summary Get all script method configurations.
60
+ * @request GET:/python/resource/scriptMethods
61
+ * @response `200` OK
62
+ */
63
+ getAllScriptMethods(query: GetAllScriptMethodsParams): Promise<ScriptConfiguration[]>;
64
+ /**
65
+ * No description
66
+ *
67
+ * @tags Python
68
+ * @name RunScript
69
+ * @operationId PythonController_RunScript
70
+ * @summary Run python script.
71
+ * @request POST:/python/resource/run
72
+ * @response `200` OK
73
+ */
74
+ runScript(query: RunScriptParams, data: RunScriptPayload): Promise<void>;
75
+ }
@@ -1,4 +1,4 @@
1
- import { CheckLimitsParams, CopyResourceResultDc, CopyResourcesPayload, WorkspaceLimitsDc } from './data-contracts';
1
+ import { CopyResourceResultDc, CopyResourcesPayload } from './data-contracts';
2
2
  import { Service } from './Service';
3
3
  /**
4
4
  * @title Spatial Processing Core API
@@ -6,17 +6,6 @@ import { Service } from './Service';
6
6
  * @baseUrl /sp
7
7
  */
8
8
  export declare class ResourceCatalogService extends Service {
9
- /**
10
- * @description This method requires superuser permission.
11
- *
12
- * @tags ResourceCatalog
13
- * @name CheckLimits
14
- * @operationId ResourceCatalogController_CheckLimits
15
- * @summary Get limits of workspace.
16
- * @request GET:/resources/checkLimits
17
- * @response `200` OK
18
- */
19
- checkLimits(query: CheckLimitsParams): Promise<WorkspaceLimitsDc>;
20
9
  /**
21
10
  * No description
22
11
  *
@@ -1,4 +1,4 @@
1
- import { FindUserByNameByRolesParams, FindUserByNameParams, GetPolicyListParams, GetUsersAndRolesParams, PolicyDc, RemovePolicyParams, SearchedUserDc, UserOrRoleDc } from './data-contracts';
1
+ import { FindUserByNameByRolesParams, FindUserByNameParams, GetPolicyListParams, GetUsersAndRolesParams, PolicyDc, RemovePolicyParams, SearchedUserDc, UserOrRoleDc, WorkspaceLimitsDc } from './data-contracts';
2
2
  import { Service } from './Service';
3
3
  /**
4
4
  * @title Spatial Processing Core API
@@ -72,4 +72,37 @@ export declare class SecurityService extends Service {
72
72
  * @response `200` OK
73
73
  */
74
74
  setPolicy(data: PolicyDc): Promise<void>;
75
+ /**
76
+ * No description
77
+ *
78
+ * @tags SecurityService
79
+ * @name CheckLimitsForUser
80
+ * @operationId SecurityServiceController_CheckLimitsForUser
81
+ * @summary Get limits of workspace.
82
+ * @request GET:/security/limits/user/{userName}
83
+ * @response `200` OK
84
+ */
85
+ checkLimitsForUser(userName: string | null): Promise<WorkspaceLimitsDc>;
86
+ /**
87
+ * No description
88
+ *
89
+ * @tags SecurityService
90
+ * @name CheckLimitsForRole
91
+ * @operationId SecurityServiceController_CheckLimitsForRole
92
+ * @summary Get limits of workspace.
93
+ * @request GET:/security/limits/role/{roleName}
94
+ * @response `200` OK
95
+ */
96
+ checkLimitsForRole(roleName: string | null): Promise<WorkspaceLimitsDc>;
97
+ /**
98
+ * No description
99
+ *
100
+ * @tags SecurityService
101
+ * @name GetDefaultLimits
102
+ * @operationId SecurityServiceController_GetDefaultLimits
103
+ * @summary Get default limits of workspace.
104
+ * @request GET:/security/limits/default
105
+ * @response `200` OK
106
+ */
107
+ getDefaultLimits(): Promise<WorkspaceLimitsDc>;
75
108
  }
@@ -1,4 +1,4 @@
1
- import { ClassifyDc, ClassifyParams2, GetClassifyDc, GetStatisticsDc, GetSumOfProductDc, StatisticsDbParams, StatisticsDc, SumOfProductParams } from './data-contracts';
1
+ import { ClassifyDc, ClassifyParams9, GetClassifyDc, GetStatisticsDc, GetSumOfProductDc, StatisticsDbParams, StatisticsDc, SumOfProductParams } from './data-contracts';
2
2
  import { Service } from './Service';
3
3
  /**
4
4
  * @title Spatial Processing Core API
@@ -38,7 +38,7 @@ export declare class StatisticService extends Service {
38
38
  * @request GET:/statistics/classify
39
39
  * @response `200` OK
40
40
  */
41
- classify(query: ClassifyParams2): Promise<ClassifyDc>;
41
+ classify(query: ClassifyParams9): Promise<ClassifyDc>;
42
42
  /**
43
43
  * No description
44
44
  *
@@ -1,4 +1,4 @@
1
- import { AccessControlListDc, BulkOperationResultDc, CreateViewFromQueryDc, CreateViewFromQueryLayerDc, DeleteResourcesParams3, DeleteTableDataParams, DetailedTableInfoDc, FileUploadResponse, GetTableDataParams, GetTableListParams, GetTablesInfoParams, GetUniqueDataRowsParams, MapTableInfoDc, MapTableParams, PagedListIEnumerable1, PagedListTableInfoDc, ResourceDependenciesDc, SetPermissionsBatchInput, SetPreviewInput, TableListDc, UpdateTableDataParams, UpdateTableDataPayload, UpdateTableDc, WriteTableDataPayload } from './data-contracts';
1
+ import { AccessControlListDc, BulkOperationResultDc, CreateViewFromQueryDc, CreateViewFromQueryLayerDc, DeleteResourcesParams4, DeleteTableDataParams, DetailedTableInfoDc, FileUploadResponse, GetTableDataParams, GetTableListParams, GetTablesInfoParams, GetUniqueDataRowsParams, MapTableInfoDc, MapTableParams, PagedListIEnumerable1, PagedListTableInfoDc, ResourceDependenciesDc, SetPermissionsBatchInput, SetPreviewInput, TableListDc, UpdateTableDataParams, UpdateTableDataPayload, UpdateTableDc, WriteTableDataPayload } from './data-contracts';
2
2
  import { Service } from './Service';
3
3
  /**
4
4
  * @title Spatial Processing Core API
@@ -49,7 +49,7 @@ export declare class TablesService extends Service {
49
49
  * @request DELETE:/tables
50
50
  * @response `200` OK
51
51
  */
52
- deleteResources(query: DeleteResourcesParams3): Promise<BulkOperationResultDc[]>;
52
+ deleteResources(query: DeleteResourcesParams4): Promise<BulkOperationResultDc[]>;
53
53
  /**
54
54
  * No description
55
55
  *
@@ -1,4 +1,4 @@
1
- import { GetCapabilities1Params, GetCapabilitiesParams7, GetFeatureInfoParams, GetLegendGraphicParams, GetMapParams } from './data-contracts';
1
+ import { GetCapabilities1Params, GetCapabilitiesParams4, GetFeatureInfoParams, GetLegendGraphicParams, GetMapParams } from './data-contracts';
2
2
  import { Service } from './Service';
3
3
  /**
4
4
  * @title Spatial Processing Core API
@@ -16,7 +16,7 @@ export declare class WmsServerService extends Service {
16
16
  * @request GET:/wms#REQUEST=GetCapabilities
17
17
  * @response `200` OK
18
18
  */
19
- getCapabilities(query: GetCapabilitiesParams7): Promise<void>;
19
+ getCapabilities(query: GetCapabilitiesParams4): Promise<void>;
20
20
  /**
21
21
  * No description
22
22
  *