@evergis/api 3.0.59 → 3.0.62
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/__generated__/ClientSettingsService.d.ts +17 -182
- package/dist/__generated__/S3Service.d.ts +75 -0
- package/dist/__generated__/SecurityService.d.ts +12 -1
- package/dist/__generated__/WmsServerService.d.ts +50 -6
- package/dist/__generated__/data-contracts.d.ts +297 -301
- package/dist/api.cjs.development.js +49 -286
- package/dist/api.cjs.development.js.map +1 -1
- package/dist/api.cjs.production.min.js +1 -1
- package/dist/api.cjs.production.min.js.map +1 -1
- package/dist/api.esm.js +64 -297
- package/dist/api.esm.js.map +1 -1
- package/dist/services/PortalSettings.d.ts +16 -1
- package/package.json +2 -2
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { GetConfigurationParams, GetConfigurationsListParams, PagedListConfigDc, RemoveConfigurationParams, SetConfigurationParams, SetConfigurationPayload } from './data-contracts';
|
|
2
2
|
import { Service } from './Service';
|
|
3
3
|
/**
|
|
4
4
|
* @title Spatial Processing Core API
|
|
@@ -6,6 +6,17 @@ import { Service } from './Service';
|
|
|
6
6
|
* @baseUrl /sp
|
|
7
7
|
*/
|
|
8
8
|
export declare class ClientSettingsService extends Service {
|
|
9
|
+
/**
|
|
10
|
+
* No description
|
|
11
|
+
*
|
|
12
|
+
* @tags ClientSettings
|
|
13
|
+
* @name GetConfigurationsList
|
|
14
|
+
* @operationId ClientSettingsController_GetConfigurationsList
|
|
15
|
+
* @summary Get client configurations.
|
|
16
|
+
* @request GET:/settings/config
|
|
17
|
+
* @response `200` Success
|
|
18
|
+
*/
|
|
19
|
+
getConfigurationsList(query: GetConfigurationsListParams): Promise<PagedListConfigDc>;
|
|
9
20
|
/**
|
|
10
21
|
* No description
|
|
11
22
|
*
|
|
@@ -32,187 +43,11 @@ export declare class ClientSettingsService extends Service {
|
|
|
32
43
|
* No description
|
|
33
44
|
*
|
|
34
45
|
* @tags ClientSettings
|
|
35
|
-
* @name
|
|
36
|
-
* @operationId
|
|
37
|
-
* @summary
|
|
38
|
-
* @request
|
|
39
|
-
* @response `200` Success
|
|
40
|
-
*/
|
|
41
|
-
getConfig(idConfig: number): Promise<ConfigInfo>;
|
|
42
|
-
/**
|
|
43
|
-
* No description
|
|
44
|
-
*
|
|
45
|
-
* @tags ClientSettings
|
|
46
|
-
* @name RemoveConfig
|
|
47
|
-
* @operationId ClientSettingsController_RemoveConfig
|
|
48
|
-
* @summary Remove client configuration.
|
|
49
|
-
* @request DELETE:/settings/config/{idConfig}
|
|
50
|
-
* @response `200` Success
|
|
51
|
-
*/
|
|
52
|
-
removeConfig(idConfig: number): Promise<void>;
|
|
53
|
-
/**
|
|
54
|
-
* No description
|
|
55
|
-
*
|
|
56
|
-
* @tags ClientSettings
|
|
57
|
-
* @name GetConfigByPath
|
|
58
|
-
* @operationId ClientSettingsController_GetConfigByPath
|
|
59
|
-
* @summary Get configuration with given urlPath.
|
|
60
|
-
* @request GET:/settings/config/getByPath
|
|
61
|
-
* @response `200` Success
|
|
62
|
-
*/
|
|
63
|
-
getConfigByPath(query: GetConfigByPathParams): Promise<ConfigInfo>;
|
|
64
|
-
/**
|
|
65
|
-
* No description
|
|
66
|
-
*
|
|
67
|
-
* @tags ClientSettings
|
|
68
|
-
* @name GetConfig1
|
|
69
|
-
* @operationId ClientSettingsController_GetConfig_1
|
|
70
|
-
* @summary Get client configurations.
|
|
71
|
-
* @request GET:/settings/config
|
|
72
|
-
* @response `200` Success
|
|
73
|
-
*/
|
|
74
|
-
getConfig1(query: GetConfig1Params): Promise<PagedListConfigInfo>;
|
|
75
|
-
/**
|
|
76
|
-
* No description
|
|
77
|
-
*
|
|
78
|
-
* @tags ClientSettings
|
|
79
|
-
* @name CreateConfig
|
|
80
|
-
* @operationId ClientSettingsController_CreateConfig
|
|
81
|
-
* @summary Create new client configuration.
|
|
82
|
-
* @request POST:/settings/config
|
|
83
|
-
* @response `200` Success
|
|
84
|
-
*/
|
|
85
|
-
createConfig(data: CreateConfigDc): Promise<number>;
|
|
86
|
-
/**
|
|
87
|
-
* No description
|
|
88
|
-
*
|
|
89
|
-
* @tags ClientSettings
|
|
90
|
-
* @name UpdateConfig
|
|
91
|
-
* @operationId ClientSettingsController_UpdateConfig
|
|
92
|
-
* @summary Update client configuration.
|
|
93
|
-
* @request PATCH:/settings/config
|
|
94
|
-
* @response `200` Success
|
|
95
|
-
*/
|
|
96
|
-
updateConfig(data: UpdateConfigDc): Promise<void>;
|
|
97
|
-
/**
|
|
98
|
-
* No description
|
|
99
|
-
*
|
|
100
|
-
* @tags ClientSettings
|
|
101
|
-
* @name GetValue
|
|
102
|
-
* @operationId ClientSettingsController_GetValue
|
|
103
|
-
* @summary Get variable value.
|
|
104
|
-
* @request GET:/settings/variable/value/{idValue}
|
|
105
|
-
* @response `200` Success
|
|
106
|
-
*/
|
|
107
|
-
getValue(idValue: number): Promise<VariableValueInfo>;
|
|
108
|
-
/**
|
|
109
|
-
* No description
|
|
110
|
-
*
|
|
111
|
-
* @tags ClientSettings
|
|
112
|
-
* @name RemoveValue
|
|
113
|
-
* @operationId ClientSettingsController_RemoveValue
|
|
114
|
-
* @summary Remove client configuration.
|
|
115
|
-
* @request DELETE:/settings/variable/value/{idValue}
|
|
116
|
-
* @response `200` Success
|
|
117
|
-
*/
|
|
118
|
-
removeValue(idValue: number): Promise<void>;
|
|
119
|
-
/**
|
|
120
|
-
* No description
|
|
121
|
-
*
|
|
122
|
-
* @tags ClientSettings
|
|
123
|
-
* @name GetVariables
|
|
124
|
-
* @operationId ClientSettingsController_GetVariables
|
|
125
|
-
* @summary Get variable values.
|
|
126
|
-
* @request GET:/settings/variable/{idVariable}/value
|
|
127
|
-
* @response `200` Success
|
|
128
|
-
*/
|
|
129
|
-
getVariables({ idVariable, ...query }: GetVariablesParams): Promise<PagedListVariableValueInfo>;
|
|
130
|
-
/**
|
|
131
|
-
* No description
|
|
132
|
-
*
|
|
133
|
-
* @tags ClientSettings
|
|
134
|
-
* @name CreateValue
|
|
135
|
-
* @operationId ClientSettingsController_CreateValue
|
|
136
|
-
* @summary Create new variable value.
|
|
137
|
-
* @request POST:/settings/variable/value
|
|
138
|
-
* @response `200` Success
|
|
139
|
-
*/
|
|
140
|
-
createValue(data: CreateValueDc): Promise<number>;
|
|
141
|
-
/**
|
|
142
|
-
* No description
|
|
143
|
-
*
|
|
144
|
-
* @tags ClientSettings
|
|
145
|
-
* @name UpdateValue
|
|
146
|
-
* @operationId ClientSettingsController_UpdateValue
|
|
147
|
-
* @summary Update client configuration.
|
|
148
|
-
* @request PATCH:/settings/variable/value
|
|
149
|
-
* @response `200` Success
|
|
150
|
-
*/
|
|
151
|
-
updateValue(data: UpdateValueDc): Promise<void>;
|
|
152
|
-
/**
|
|
153
|
-
* No description
|
|
154
|
-
*
|
|
155
|
-
* @tags ClientSettings
|
|
156
|
-
* @name GetVariable
|
|
157
|
-
* @operationId ClientSettingsController_GetVariable
|
|
158
|
-
* @summary Get client configuration.
|
|
159
|
-
* @request GET:/settings/variable/{idVariable}
|
|
160
|
-
* @response `200` Success
|
|
161
|
-
*/
|
|
162
|
-
getVariable(idVariable: number): Promise<VariableInfo>;
|
|
163
|
-
/**
|
|
164
|
-
* No description
|
|
165
|
-
*
|
|
166
|
-
* @tags ClientSettings
|
|
167
|
-
* @name RemoveVariabe
|
|
168
|
-
* @operationId ClientSettingsController_RemoveVariabe
|
|
169
|
-
* @summary Remove client configuration.
|
|
170
|
-
* @request DELETE:/settings/variable/{idVariable}
|
|
171
|
-
* @response `200` Success
|
|
172
|
-
*/
|
|
173
|
-
removeVariabe(idVariable: number): Promise<void>;
|
|
174
|
-
/**
|
|
175
|
-
* No description
|
|
176
|
-
*
|
|
177
|
-
* @tags ClientSettings
|
|
178
|
-
* @name GetConfigVariableByName
|
|
179
|
-
* @operationId ClientSettingsController_GetConfigVariableByName
|
|
180
|
-
* @summary Get variable by idConfig and name.
|
|
181
|
-
* @request GET:/settings/config/{idConfig}/variable/{name}
|
|
182
|
-
* @response `200` Success
|
|
183
|
-
*/
|
|
184
|
-
getConfigVariableByName(idConfig: number, name: string): Promise<VariableInfo>;
|
|
185
|
-
/**
|
|
186
|
-
* No description
|
|
187
|
-
*
|
|
188
|
-
* @tags ClientSettings
|
|
189
|
-
* @name GetVariables1
|
|
190
|
-
* @operationId ClientSettingsController_GetVariables_1
|
|
191
|
-
* @summary Get variables..
|
|
192
|
-
* @request GET:/settings/variable
|
|
193
|
-
* @response `200` Success
|
|
194
|
-
*/
|
|
195
|
-
getVariables1(query: GetVariables1Params): Promise<PagedListVariableInfo>;
|
|
196
|
-
/**
|
|
197
|
-
* No description
|
|
198
|
-
*
|
|
199
|
-
* @tags ClientSettings
|
|
200
|
-
* @name CreateVariable
|
|
201
|
-
* @operationId ClientSettingsController_CreateVariable
|
|
202
|
-
* @summary Create new variable.
|
|
203
|
-
* @request POST:/settings/variable
|
|
204
|
-
* @response `200` Success
|
|
205
|
-
*/
|
|
206
|
-
createVariable(data: CreateVariableDc): Promise<number>;
|
|
207
|
-
/**
|
|
208
|
-
* No description
|
|
209
|
-
*
|
|
210
|
-
* @tags ClientSettings
|
|
211
|
-
* @name UpdateVariable
|
|
212
|
-
* @operationId ClientSettingsController_UpdateVariable
|
|
213
|
-
* @summary Update client configuration.
|
|
214
|
-
* @request PATCH:/settings/variable
|
|
46
|
+
* @name RemoveConfiguration
|
|
47
|
+
* @operationId ClientSettingsController_RemoveConfiguration
|
|
48
|
+
* @summary Remove config for urlPath.
|
|
49
|
+
* @request DELETE:/settings
|
|
215
50
|
* @response `200` Success
|
|
216
51
|
*/
|
|
217
|
-
|
|
52
|
+
removeConfiguration(query: RemoveConfigurationParams): Promise<void>;
|
|
218
53
|
}
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
import { CreateResourcePayload, CreateStorageParams, GetResourceParams, GetUrlParams, RemoveObjectFromStorageParams } from './data-contracts';
|
|
2
|
+
import { Service } from './Service';
|
|
3
|
+
/**
|
|
4
|
+
* @title Spatial Processing Core API
|
|
5
|
+
* @version v0.6.0
|
|
6
|
+
* @baseUrl /sp
|
|
7
|
+
*/
|
|
8
|
+
export declare class S3Service extends Service {
|
|
9
|
+
/**
|
|
10
|
+
* No description
|
|
11
|
+
*
|
|
12
|
+
* @tags S3
|
|
13
|
+
* @name GetResource
|
|
14
|
+
* @operationId S3Controller_GetResource
|
|
15
|
+
* @summary Get objects from s3 storage.
|
|
16
|
+
* @request GET:/storages/{storageName}/objects
|
|
17
|
+
* @response `200` Success
|
|
18
|
+
*/
|
|
19
|
+
getResource({ storageName, ...query }: GetResourceParams): Promise<Blob>;
|
|
20
|
+
/**
|
|
21
|
+
* No description
|
|
22
|
+
*
|
|
23
|
+
* @tags S3
|
|
24
|
+
* @name CreateResource
|
|
25
|
+
* @operationId S3Controller_CreateResource
|
|
26
|
+
* @summary Create or update objects.
|
|
27
|
+
* @request POST:/storages/{storageName}/objects
|
|
28
|
+
* @response `200` Success
|
|
29
|
+
*/
|
|
30
|
+
createResource(storageName: string, data: CreateResourcePayload): Promise<void>;
|
|
31
|
+
/**
|
|
32
|
+
* No description
|
|
33
|
+
*
|
|
34
|
+
* @tags S3
|
|
35
|
+
* @name RemoveObjectFromStorage
|
|
36
|
+
* @operationId S3Controller_RemoveObjectFromStorage
|
|
37
|
+
* @summary Delete objects from s3 storage.
|
|
38
|
+
* @request DELETE:/storages/{storageName}/objects
|
|
39
|
+
* @response `200` Success
|
|
40
|
+
*/
|
|
41
|
+
removeObjectFromStorage({ storageName, ...query }: RemoveObjectFromStorageParams): Promise<void>;
|
|
42
|
+
/**
|
|
43
|
+
* No description
|
|
44
|
+
*
|
|
45
|
+
* @tags S3
|
|
46
|
+
* @name GetUrl
|
|
47
|
+
* @operationId S3Controller_GetUrl
|
|
48
|
+
* @summary Get url to object.
|
|
49
|
+
* @request GET:/storages/{storageName}/objects/url
|
|
50
|
+
* @response `200` Success
|
|
51
|
+
*/
|
|
52
|
+
getUrl({ storageName, ...query }: GetUrlParams): Promise<void>;
|
|
53
|
+
/**
|
|
54
|
+
* No description
|
|
55
|
+
*
|
|
56
|
+
* @tags S3
|
|
57
|
+
* @name CreateStorage
|
|
58
|
+
* @operationId S3Controller_CreateStorage
|
|
59
|
+
* @summary Create a new storage.
|
|
60
|
+
* @request POST:/storages
|
|
61
|
+
* @response `200` Success
|
|
62
|
+
*/
|
|
63
|
+
createStorage(query: CreateStorageParams): Promise<void>;
|
|
64
|
+
/**
|
|
65
|
+
* No description
|
|
66
|
+
*
|
|
67
|
+
* @tags S3
|
|
68
|
+
* @name DeleteStorage
|
|
69
|
+
* @operationId S3Controller_DeleteStorage
|
|
70
|
+
* @summary Delete storage.
|
|
71
|
+
* @request DELETE:/storages/{storageName}
|
|
72
|
+
* @response `200` Success
|
|
73
|
+
*/
|
|
74
|
+
deleteStorage(storageName: string): Promise<void>;
|
|
75
|
+
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { FindUserByNameByRolesParams, FindUserByNameParams, GetPolicyListParams, PolicyDc, RemovePolicyParams, SearchedUserDc } from './data-contracts';
|
|
1
|
+
import { FindUserByNameByRolesParams, FindUserByNameParams, GetPolicyListParams, GetUsersAndRolesParams, PolicyDc, RemovePolicyParams, SearchedUserDc, UserOrRoleDc } from './data-contracts';
|
|
2
2
|
import { Service } from './Service';
|
|
3
3
|
/**
|
|
4
4
|
* @title Spatial Processing Core API
|
|
@@ -17,6 +17,17 @@ export declare class SecurityService extends Service {
|
|
|
17
17
|
* @response `200` Success
|
|
18
18
|
*/
|
|
19
19
|
findUserByNameByRoles(query: FindUserByNameByRolesParams): Promise<SearchedUserDc[]>;
|
|
20
|
+
/**
|
|
21
|
+
* No description
|
|
22
|
+
*
|
|
23
|
+
* @tags SecurityService
|
|
24
|
+
* @name GetUsersAndRoles
|
|
25
|
+
* @operationId SecurityServiceController_GetUsersAndRoles
|
|
26
|
+
* @summary Get users and roles list by filter.
|
|
27
|
+
* @request GET:/security/usersandroles
|
|
28
|
+
* @response `200` Success
|
|
29
|
+
*/
|
|
30
|
+
getUsersAndRoles(query: GetUsersAndRolesParams): Promise<UserOrRoleDc[]>;
|
|
20
31
|
/**
|
|
21
32
|
* No description
|
|
22
33
|
*
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { GetCapabilitiesParams1, GetCapabilitiesParams2, GetFeatureInfoParams, GetLegendGraphicParams, GetMapParams } from './data-contracts';
|
|
2
2
|
import { Service } from './Service';
|
|
3
3
|
/**
|
|
4
4
|
* @title Spatial Processing Core API
|
|
@@ -10,11 +10,55 @@ export declare class WmsServerService extends Service {
|
|
|
10
10
|
* No description
|
|
11
11
|
*
|
|
12
12
|
* @tags WmsServer
|
|
13
|
-
* @name
|
|
14
|
-
* @operationId
|
|
15
|
-
* @summary WMS
|
|
16
|
-
* @request GET:/wms
|
|
13
|
+
* @name GetCapabilities
|
|
14
|
+
* @operationId WmsServerController_GetCapabilities
|
|
15
|
+
* @summary WMS GetCapabilities endpoint.
|
|
16
|
+
* @request GET:/wms#REQUEST=GetCapabilities
|
|
17
17
|
* @response `200` Success
|
|
18
18
|
*/
|
|
19
|
-
|
|
19
|
+
getCapabilities(query: GetCapabilitiesParams2): Promise<void>;
|
|
20
|
+
/**
|
|
21
|
+
* No description
|
|
22
|
+
*
|
|
23
|
+
* @tags WmsServer
|
|
24
|
+
* @name GetMap
|
|
25
|
+
* @operationId WmsServerController_GetMap
|
|
26
|
+
* @summary WMS GetMap endpoint.
|
|
27
|
+
* @request GET:/wms#REQUEST=GetMap
|
|
28
|
+
* @response `200` Success
|
|
29
|
+
*/
|
|
30
|
+
getMap(query: GetMapParams): Promise<void>;
|
|
31
|
+
/**
|
|
32
|
+
* No description
|
|
33
|
+
*
|
|
34
|
+
* @tags WmsServer
|
|
35
|
+
* @name GetFeatureInfo
|
|
36
|
+
* @operationId WmsServerController_GetFeatureInfo
|
|
37
|
+
* @summary WMS GetFeatureInfo entrypoint.
|
|
38
|
+
* @request GET:/wms#REQUEST=GetFeatureInfo
|
|
39
|
+
* @response `200` Success
|
|
40
|
+
*/
|
|
41
|
+
getFeatureInfo(query: GetFeatureInfoParams): Promise<void>;
|
|
42
|
+
/**
|
|
43
|
+
* No description
|
|
44
|
+
*
|
|
45
|
+
* @tags WmsServer
|
|
46
|
+
* @name GetLegendGraphic
|
|
47
|
+
* @operationId WmsServerController_GetLegendGraphic
|
|
48
|
+
* @summary WMS GetLegend entrypoint.
|
|
49
|
+
* @request GET:/wms#REQUEST=GetLegendGraphic
|
|
50
|
+
* @response `200` Success
|
|
51
|
+
*/
|
|
52
|
+
getLegendGraphic(query: GetLegendGraphicParams): Promise<void>;
|
|
53
|
+
/**
|
|
54
|
+
* No description
|
|
55
|
+
*
|
|
56
|
+
* @tags WmsServer
|
|
57
|
+
* @name GetCapabilities1
|
|
58
|
+
* @operationId WmsServerController_GetCapabilities_1
|
|
59
|
+
* @summary WMS GetCapabilities endpoint.
|
|
60
|
+
* @request GET:/wms/{name}
|
|
61
|
+
* @response `200` Success
|
|
62
|
+
*/
|
|
63
|
+
getCapabilities1({ name, ...query }: GetCapabilitiesParams1): Promise<void>;
|
|
20
64
|
}
|