@evergis/api 4.1.6 → 4.1.8
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 +2 -2
- package/README.md +5 -15
- package/dist/Api.d.ts +78 -78
- package/dist/ApiEvent.d.ts +5 -5
- package/dist/EventEmitter.d.ts +11 -11
- package/dist/ExtendedHttpClient.d.ts +5 -0
- package/dist/__generated__/AccountPreviewService.d.ts +81 -81
- package/dist/__generated__/AccountService.d.ts +513 -513
- package/dist/__generated__/BulkOperationsService.d.ts +21 -21
- package/dist/__generated__/CamerasService.d.ts +105 -105
- package/dist/__generated__/CatalogService.d.ts +213 -213
- package/dist/__generated__/ClientSettingsService.d.ts +57 -57
- package/dist/__generated__/DataSourceService.d.ts +201 -201
- package/dist/__generated__/EqlService.d.ts +105 -105
- package/dist/__generated__/FeedbackService.d.ts +33 -33
- package/dist/__generated__/FiltersService.d.ts +45 -45
- package/dist/__generated__/GeocodeService.d.ts +45 -45
- package/dist/__generated__/HttpClient.d.ts +27 -27
- package/dist/__generated__/ImportService.d.ts +129 -129
- package/dist/__generated__/LayersService.d.ts +573 -573
- package/dist/__generated__/NotificationService.d.ts +69 -69
- package/dist/__generated__/ProjectsService.d.ts +249 -249
- package/dist/__generated__/QueryTokenAccessService.d.ts +64 -64
- package/dist/__generated__/RemoteTaskManagerService.d.ts +213 -213
- package/dist/__generated__/SecurityService.d.ts +165 -165
- package/dist/__generated__/Service.d.ts +5 -5
- package/dist/__generated__/SpatialReferencesService.d.ts +45 -45
- package/dist/__generated__/StatisticService.d.ts +45 -45
- package/dist/__generated__/TablesService.d.ts +237 -237
- package/dist/__generated__/ToolsService.d.ts +8 -8
- package/dist/__generated__/VectorTileService.d.ts +21 -21
- package/dist/__generated__/data-contracts.d.ts +7677 -6907
- package/dist/api.esm.js +5228 -7637
- package/dist/api.esm.js.map +1 -1
- package/dist/config.d.ts +4 -0
- package/dist/constants.d.ts +3 -3
- package/dist/index.d.ts +7 -7
- package/dist/index.js +5804 -5
- package/dist/index.js.map +1 -0
- package/dist/interfaces/ResourceService.d.ts +7 -7
- package/dist/services/Account.d.ts +36 -36
- package/dist/services/AccountPreview.d.ts +3 -3
- package/dist/services/BulkOperations.d.ts +3 -3
- package/dist/services/Cameras.d.ts +3 -3
- package/dist/services/ClientSettings.d.ts +62 -62
- package/dist/services/Eql.d.ts +3 -3
- package/dist/services/Feedback.d.ts +3 -3
- package/dist/services/FileUpload.d.ts +6 -6
- package/dist/services/Filters.d.ts +3 -3
- package/dist/services/Geocode.d.ts +9 -9
- package/dist/services/Import.d.ts +3 -3
- package/dist/services/Layers.d.ts +28 -28
- package/dist/services/Names.d.ts +32 -32
- package/dist/services/Notification.d.ts +48 -48
- package/dist/services/PortalSettings.d.ts +33 -33
- package/dist/services/Projects.d.ts +20 -20
- package/dist/services/RemoteTaskManager.d.ts +3 -3
- package/dist/services/Resources.d.ts +18 -18
- package/dist/services/Security.d.ts +9 -9
- package/dist/services/Statistic.d.ts +3 -3
- package/dist/services/Tables.d.ts +11 -11
- package/dist/services/Tools.d.ts +3 -3
- package/dist/services/VectorTiles.d.ts +3 -3
- package/dist/services/index.d.ts +23 -23
- package/dist/utils/errorHandler.d.ts +26 -26
- package/dist/utils/formDataFromFile.d.ts +1 -1
- package/dist/utils/generateId.d.ts +2 -2
- package/dist/utils/index.d.ts +9 -9
- package/dist/utils/isString.d.ts +1 -1
- package/dist/utils/location.d.ts +2 -2
- package/dist/utils/parseJwt.d.ts +1 -1
- package/dist/utils/promiseAllIgnoreErrors.d.ts +1 -1
- package/dist/utils/stripUselessSlashes.d.ts +1 -1
- package/dist/utils/unique.d.ts +1 -1
- package/dist/utils/user.d.ts +3 -3
- package/package.json +15 -27
- package/dist/__generated__/PythonService.d.ts +0 -33
- package/dist/__generated__/SymbolStorageService.d.ts +0 -225
- package/dist/__generated__/WfsServerService.d.ts +0 -45
- package/dist/__generated__/WmtsService.d.ts +0 -21
- package/dist/api.cjs.development.js +0 -7636
- package/dist/api.cjs.development.js.map +0 -1
- package/dist/api.cjs.production.min.js +0 -2
- package/dist/api.cjs.production.min.js.map +0 -1
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { RemoteTaskManagerService } from '../__generated__/RemoteTaskManagerService';
|
|
2
|
-
export declare class RemoteTaskManager extends RemoteTaskManagerService {
|
|
3
|
-
}
|
|
1
|
+
import { RemoteTaskManagerService } from '../__generated__/RemoteTaskManagerService';
|
|
2
|
+
export declare class RemoteTaskManager extends RemoteTaskManagerService {
|
|
3
|
+
}
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import { Projects, ProjectsWithDeps } from './Projects';
|
|
2
|
-
import { Layers, LayersWithDeps } from './Layers';
|
|
3
|
-
import { Tables } from './Tables';
|
|
4
|
-
export declare enum DependencyType {
|
|
5
|
-
Layer = "Layer",
|
|
6
|
-
Table = "Table",
|
|
7
|
-
Project = "Project"
|
|
8
|
-
}
|
|
9
|
-
export declare class Resources {
|
|
10
|
-
private readonly projects;
|
|
11
|
-
private readonly layers;
|
|
12
|
-
private readonly tables;
|
|
13
|
-
constructor(projects: Projects, layers: Layers, tables: Tables);
|
|
14
|
-
getProjectInfosWithDeps(projects: string[]): Promise<ProjectsWithDeps>;
|
|
15
|
-
getLayerInfosWithDeps(layers: string[]): Promise<LayersWithDeps>;
|
|
16
|
-
private getDependencies;
|
|
17
|
-
private getDependentNames;
|
|
18
|
-
}
|
|
1
|
+
import { Projects, ProjectsWithDeps } from './Projects';
|
|
2
|
+
import { Layers, LayersWithDeps } from './Layers';
|
|
3
|
+
import { Tables } from './Tables';
|
|
4
|
+
export declare enum DependencyType {
|
|
5
|
+
Layer = "Layer",
|
|
6
|
+
Table = "Table",
|
|
7
|
+
Project = "Project"
|
|
8
|
+
}
|
|
9
|
+
export declare class Resources {
|
|
10
|
+
private readonly projects;
|
|
11
|
+
private readonly layers;
|
|
12
|
+
private readonly tables;
|
|
13
|
+
constructor(projects: Projects, layers: Layers, tables: Tables);
|
|
14
|
+
getProjectInfosWithDeps(projects: string[]): Promise<ProjectsWithDeps>;
|
|
15
|
+
getLayerInfosWithDeps(layers: string[]): Promise<LayersWithDeps>;
|
|
16
|
+
private getDependencies;
|
|
17
|
+
private getDependentNames;
|
|
18
|
+
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import { IHttpClient } from '../__generated__/HttpClient';
|
|
4
|
-
export declare class Security extends SecurityService {
|
|
5
|
-
ownerName: string;
|
|
6
|
-
ownerRoles: string[];
|
|
7
|
-
constructor(http: IHttpClient, { username, roles }: UserInfoDc);
|
|
8
|
-
reset(): void;
|
|
9
|
-
}
|
|
1
|
+
import { SecurityService } from '../__generated__/SecurityService';
|
|
2
|
+
import { UserInfoDc } from '../__generated__/data-contracts';
|
|
3
|
+
import { IHttpClient } from '../__generated__/HttpClient';
|
|
4
|
+
export declare class Security extends SecurityService {
|
|
5
|
+
ownerName: string;
|
|
6
|
+
ownerRoles: string[];
|
|
7
|
+
constructor(http: IHttpClient, { username, roles }: UserInfoDc);
|
|
8
|
+
reset(): void;
|
|
9
|
+
}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { StatisticService } from '../__generated__/StatisticService';
|
|
2
|
-
export declare class Statistic extends StatisticService {
|
|
3
|
-
}
|
|
1
|
+
import { StatisticService } from '../__generated__/StatisticService';
|
|
2
|
+
export declare class Statistic extends StatisticService {
|
|
3
|
+
}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import { ResourceService } from '../interfaces/ResourceService';
|
|
4
|
-
export declare class Tables extends TablesService implements ResourceService {
|
|
5
|
-
getTableInfos(tables: string[]): Promise<TableInfoDc[]>;
|
|
6
|
-
findOne(name: string): Promise<DetailedTableInfoDc>;
|
|
7
|
-
findAll(params: GetTableListParams): Promise<import(
|
|
8
|
-
create(resource: DetailedTableInfoDc): Promise<DetailedTableInfoDc>;
|
|
9
|
-
update(table: UpdateTableDc): Promise<DetailedTableInfoDc>;
|
|
10
|
-
remove(name: string): Promise<string>;
|
|
11
|
-
}
|
|
1
|
+
import { DetailedTableInfoDc, TableInfoDc, UpdateTableDc, GetTableListParams } from '../__generated__/data-contracts';
|
|
2
|
+
import { TablesService } from '../__generated__/TablesService';
|
|
3
|
+
import { ResourceService } from '../interfaces/ResourceService';
|
|
4
|
+
export declare class Tables extends TablesService implements ResourceService {
|
|
5
|
+
getTableInfos(tables: string[]): Promise<TableInfoDc[]>;
|
|
6
|
+
findOne(name: string): Promise<DetailedTableInfoDc>;
|
|
7
|
+
findAll(params: GetTableListParams): Promise<import('../__generated__/data-contracts').PagedListTableListItemDc>;
|
|
8
|
+
create(resource: DetailedTableInfoDc): Promise<DetailedTableInfoDc>;
|
|
9
|
+
update(table: UpdateTableDc): Promise<DetailedTableInfoDc>;
|
|
10
|
+
remove(name: string): Promise<string>;
|
|
11
|
+
}
|
package/dist/services/Tools.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { ToolsService } from '../__generated__/ToolsService';
|
|
2
|
-
export declare class Tools extends ToolsService {
|
|
3
|
-
}
|
|
1
|
+
import { ToolsService } from '../__generated__/ToolsService';
|
|
2
|
+
export declare class Tools extends ToolsService {
|
|
3
|
+
}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { VectorTileService } from
|
|
2
|
-
export declare class VectorTiles extends VectorTileService {
|
|
3
|
-
}
|
|
1
|
+
import { VectorTileService } from '../__generated__/VectorTileService';
|
|
2
|
+
export declare class VectorTiles extends VectorTileService {
|
|
3
|
+
}
|
package/dist/services/index.d.ts
CHANGED
|
@@ -1,23 +1,23 @@
|
|
|
1
|
-
export * from
|
|
2
|
-
export * from
|
|
3
|
-
export * from
|
|
4
|
-
export * from
|
|
5
|
-
export * from
|
|
6
|
-
export * from
|
|
7
|
-
export * from
|
|
8
|
-
export * from
|
|
9
|
-
export * from
|
|
10
|
-
export * from
|
|
11
|
-
export * from
|
|
12
|
-
export * from
|
|
13
|
-
export * from
|
|
14
|
-
export * from
|
|
15
|
-
export * from
|
|
16
|
-
export * from
|
|
17
|
-
export * from
|
|
18
|
-
export * from
|
|
19
|
-
export * from
|
|
20
|
-
export * from
|
|
21
|
-
export * from
|
|
22
|
-
export * from
|
|
23
|
-
export * from
|
|
1
|
+
export * from './Account';
|
|
2
|
+
export * from './AccountPreview';
|
|
3
|
+
export * from './BulkOperations';
|
|
4
|
+
export * from './Cameras';
|
|
5
|
+
export * from './ClientSettings';
|
|
6
|
+
export * from './Eql';
|
|
7
|
+
export * from './Feedback';
|
|
8
|
+
export * from './FileUpload';
|
|
9
|
+
export * from './Filters';
|
|
10
|
+
export * from './Geocode';
|
|
11
|
+
export * from './Import';
|
|
12
|
+
export * from './Layers';
|
|
13
|
+
export * from './Names';
|
|
14
|
+
export * from './Notification';
|
|
15
|
+
export * from './PortalSettings';
|
|
16
|
+
export * from './Projects';
|
|
17
|
+
export * from './RemoteTaskManager';
|
|
18
|
+
export * from './Resources';
|
|
19
|
+
export * from './Security';
|
|
20
|
+
export * from './Statistic';
|
|
21
|
+
export * from './Tables';
|
|
22
|
+
export * from './Tools';
|
|
23
|
+
export * from './VectorTiles';
|
|
@@ -1,26 +1,26 @@
|
|
|
1
|
-
import { HTTPError } from '
|
|
2
|
-
export declare enum ErrorReason {
|
|
3
|
-
/** When request has status code less than 400 */
|
|
4
|
-
HTTP_OTHER = "other",
|
|
5
|
-
/** When request has status code in range 400 - 499 */
|
|
6
|
-
HTTP_CLIENT = "client",
|
|
7
|
-
/** When request has status code 500 or more */
|
|
8
|
-
HTTP_SERVER = "server",
|
|
9
|
-
/** When it's not a http bad response */
|
|
10
|
-
UNKNOWN = "unknown"
|
|
11
|
-
}
|
|
12
|
-
export
|
|
13
|
-
export interface HandledBaseError<E = Error> {
|
|
14
|
-
type:
|
|
15
|
-
reason: ErrorReason;
|
|
16
|
-
origin: E;
|
|
17
|
-
}
|
|
18
|
-
export interface HandledHTTPError<E = Error> {
|
|
19
|
-
type:
|
|
20
|
-
reason: ErrorReason;
|
|
21
|
-
origin: E;
|
|
22
|
-
status: number;
|
|
23
|
-
}
|
|
24
|
-
export declare const errorHandler: <E = Error>(e: E) => HandledError<E>;
|
|
25
|
-
export declare const isHandledError: (e: any) => e is HandledError
|
|
26
|
-
export declare const isHTTPError: (e: any) => e is HandledHTTPError<HTTPError
|
|
1
|
+
import { HTTPError } from 'ky';
|
|
2
|
+
export declare enum ErrorReason {
|
|
3
|
+
/** When request has status code less than 400 */
|
|
4
|
+
HTTP_OTHER = "other",
|
|
5
|
+
/** When request has status code in range 400 - 499 */
|
|
6
|
+
HTTP_CLIENT = "client",
|
|
7
|
+
/** When request has status code 500 or more */
|
|
8
|
+
HTTP_SERVER = "server",
|
|
9
|
+
/** When it's not a http bad response */
|
|
10
|
+
UNKNOWN = "unknown"
|
|
11
|
+
}
|
|
12
|
+
export type HandledError<E = Error> = HandledBaseError<E> | HandledHTTPError<E>;
|
|
13
|
+
export interface HandledBaseError<E = Error> {
|
|
14
|
+
type: "base";
|
|
15
|
+
reason: ErrorReason;
|
|
16
|
+
origin: E;
|
|
17
|
+
}
|
|
18
|
+
export interface HandledHTTPError<E = Error> {
|
|
19
|
+
type: "http";
|
|
20
|
+
reason: ErrorReason;
|
|
21
|
+
origin: E;
|
|
22
|
+
status: number;
|
|
23
|
+
}
|
|
24
|
+
export declare const errorHandler: <E = Error>(e: E) => HandledError<E>;
|
|
25
|
+
export declare const isHandledError: (e: any) => e is HandledError;
|
|
26
|
+
export declare const isHTTPError: (e: any) => e is HandledHTTPError<HTTPError>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare function formDataFromFile(file: File): FormData;
|
|
1
|
+
export declare function formDataFromFile(file: File): FormData;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
/** Generates unique identifier */
|
|
2
|
-
export declare const generateId: (size?: number
|
|
1
|
+
/** Generates unique identifier */
|
|
2
|
+
export declare const generateId: (size?: number) => string;
|
package/dist/utils/index.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
export * from
|
|
2
|
-
export * from
|
|
3
|
-
export * from
|
|
4
|
-
export * from
|
|
5
|
-
export * from
|
|
6
|
-
export * from
|
|
7
|
-
export * from
|
|
8
|
-
export * from
|
|
9
|
-
export * from
|
|
1
|
+
export * from './errorHandler';
|
|
2
|
+
export * from './formDataFromFile';
|
|
3
|
+
export * from './isString';
|
|
4
|
+
export * from './location';
|
|
5
|
+
export * from './parseJwt';
|
|
6
|
+
export * from './promiseAllIgnoreErrors';
|
|
7
|
+
export * from './unique';
|
|
8
|
+
export * from './generateId';
|
|
9
|
+
export * from './stripUselessSlashes';
|
package/dist/utils/isString.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare function isString(v: any): v is string;
|
|
1
|
+
export declare function isString(v: any): v is string;
|
package/dist/utils/location.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const addSubDomainToLocation: (subDomain?: string
|
|
2
|
-
export declare const getFetchingUrlPath: (urlPath: string) => string;
|
|
1
|
+
export declare const addSubDomainToLocation: (subDomain?: string) => string;
|
|
2
|
+
export declare const getFetchingUrlPath: (urlPath: string) => string;
|
package/dist/utils/parseJwt.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const parseJwt: (token: string) => any;
|
|
1
|
+
export declare const parseJwt: (token: string) => any;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare function promiseAllIgnoreErrors<Result>(promises: Promise<Result>[]): Promise<Result[]>;
|
|
1
|
+
export declare function promiseAllIgnoreErrors<Result>(promises: Promise<Result>[]): Promise<Result[]>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const stripUselessSlashes: (...strings: string[]) => string;
|
|
1
|
+
export declare const stripUselessSlashes: (...strings: string[]) => string;
|
package/dist/utils/unique.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare function unique<Value>(value: Value, index: number, array: Value[]): boolean;
|
|
1
|
+
export declare function unique<Value>(value: Value, index: number, array: Value[]): boolean;
|
package/dist/utils/user.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { UserInfoWithPhoto } from '../services';
|
|
2
|
-
export declare const getUserInfo: () => UserInfoWithPhoto | undefined;
|
|
3
|
-
export declare const updateUserInfo: (newUserInfo?: Partial<UserInfoWithPhoto>
|
|
1
|
+
import { UserInfoWithPhoto } from '../services';
|
|
2
|
+
export declare const getUserInfo: () => UserInfoWithPhoto | undefined;
|
|
3
|
+
export declare const updateUserInfo: (newUserInfo?: Partial<UserInfoWithPhoto>) => void;
|
package/package.json
CHANGED
|
@@ -1,42 +1,30 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "4.1.
|
|
2
|
+
"version": "4.1.8",
|
|
3
|
+
"name": "@evergis/api",
|
|
4
|
+
"author": "Everpoint",
|
|
3
5
|
"license": "MIT",
|
|
4
6
|
"main": "dist/index.js",
|
|
7
|
+
"module": "dist/api.esm.js",
|
|
5
8
|
"typings": "dist/index.d.ts",
|
|
6
9
|
"files": [
|
|
7
10
|
"dist"
|
|
8
11
|
],
|
|
9
12
|
"engines": {
|
|
10
|
-
"node": ">=
|
|
13
|
+
"node": ">=20"
|
|
11
14
|
},
|
|
12
15
|
"scripts": {
|
|
13
|
-
"
|
|
14
|
-
"build": "
|
|
15
|
-
"
|
|
16
|
-
"
|
|
17
|
-
"lint:fix": "tsdx lint --fix",
|
|
18
|
-
"prepare": "tsdx build",
|
|
19
|
-
"generate": "node ../api-generator/src/generate.js --url=https://dev.evergis.ru/sp/swagger/1.5.1.0/swagger.json -o ./src/__generated__"
|
|
20
|
-
},
|
|
21
|
-
"husky": {
|
|
22
|
-
"hooks": {
|
|
23
|
-
"pre-push": "tsdx lint"
|
|
24
|
-
}
|
|
16
|
+
"clean": "../../node_modules/.bin/rimraf dist",
|
|
17
|
+
"build": "yarn clean && rollup -c",
|
|
18
|
+
"prepare": "rollup -c",
|
|
19
|
+
"generate": "node ./src/generate.js"
|
|
25
20
|
},
|
|
26
|
-
"prettier": {
|
|
27
|
-
"printWidth": 80,
|
|
28
|
-
"semi": true,
|
|
29
|
-
"singleQuote": true,
|
|
30
|
-
"trailingComma": "es5"
|
|
31
|
-
},
|
|
32
|
-
"name": "@evergis/api",
|
|
33
|
-
"author": "Everpoint",
|
|
34
|
-
"module": "dist/api.esm.js",
|
|
35
21
|
"dependencies": {
|
|
36
|
-
"@microsoft/signalr": "^
|
|
22
|
+
"@microsoft/signalr": "^8.0.7",
|
|
37
23
|
"ky": "^1.7.4",
|
|
38
|
-
"
|
|
39
|
-
"
|
|
24
|
+
"lodash": "^4.17.21",
|
|
25
|
+
"nanoid": "^5.1.5",
|
|
26
|
+
"query-string": "^6.7.0",
|
|
27
|
+
"swagger-typescript-api": "13.0.23"
|
|
40
28
|
},
|
|
41
|
-
"gitHead": "
|
|
29
|
+
"gitHead": "6c6c255bd70f5d7f9c341263fff016c71d7c0241"
|
|
42
30
|
}
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
import { GetAllScriptMethodsParams, PythonTaskMethodConfiguration, RunScriptParams, RunScriptPayload } 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 GetAllScriptMethods
|
|
14
|
-
* @operationId PythonController_GetAllScriptMethods
|
|
15
|
-
* @summary Get all script method configurations.
|
|
16
|
-
* @request GET:/python/resource/scriptMethods
|
|
17
|
-
* @secure
|
|
18
|
-
* @response `200` OK
|
|
19
|
-
*/
|
|
20
|
-
getAllScriptMethods(query: GetAllScriptMethodsParams): Promise<PythonTaskMethodConfiguration[]>;
|
|
21
|
-
/**
|
|
22
|
-
* No description
|
|
23
|
-
*
|
|
24
|
-
* @tags Python
|
|
25
|
-
* @name RunScript
|
|
26
|
-
* @operationId PythonController_RunScript
|
|
27
|
-
* @summary Run python script.
|
|
28
|
-
* @request POST:/python/resource/run
|
|
29
|
-
* @secure
|
|
30
|
-
* @response `200` OK
|
|
31
|
-
*/
|
|
32
|
-
runScript(query: RunScriptParams, data: RunScriptPayload): Promise<void>;
|
|
33
|
-
}
|
|
@@ -1,225 +0,0 @@
|
|
|
1
|
-
import { AccessControlListDc, CreateSymbolCategoryDc, CreateSymbolDc, GetSymbolCategoriesParams, GetSymbolsListParams, PagedListSymbolCategoryInfoDc, PagedListSymbolInfoDc, RemoveSymbolCategoryParams, SymbolCategoryInfoDc, SymbolInfoDc, UpdateSymbolCategoryDc, UpdateSymbolDc } 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 SymbolStorageService extends Service {
|
|
9
|
-
/**
|
|
10
|
-
* No description
|
|
11
|
-
*
|
|
12
|
-
* @tags SymbolStorage
|
|
13
|
-
* @name AddSymbolCategory
|
|
14
|
-
* @operationId SymbolStorageController_AddSymbolCategory
|
|
15
|
-
* @summary Add symbol category.
|
|
16
|
-
* @request POST:/symbols/category
|
|
17
|
-
* @secure
|
|
18
|
-
* @response `200` OK
|
|
19
|
-
*/
|
|
20
|
-
addSymbolCategory(data: CreateSymbolCategoryDc): Promise<number>;
|
|
21
|
-
/**
|
|
22
|
-
* No description
|
|
23
|
-
*
|
|
24
|
-
* @tags SymbolStorage
|
|
25
|
-
* @name UpdateSymbolCategory
|
|
26
|
-
* @operationId SymbolStorageController_UpdateSymbolCategory
|
|
27
|
-
* @summary Update symbol category by id.
|
|
28
|
-
* @request PATCH:/symbols/category/{id}
|
|
29
|
-
* @secure
|
|
30
|
-
* @response `200` OK
|
|
31
|
-
*/
|
|
32
|
-
updateSymbolCategory(id: number, data: UpdateSymbolCategoryDc): Promise<void>;
|
|
33
|
-
/**
|
|
34
|
-
* No description
|
|
35
|
-
*
|
|
36
|
-
* @tags SymbolStorage
|
|
37
|
-
* @name GetSymbolCategory
|
|
38
|
-
* @operationId SymbolStorageController_GetSymbolCategory
|
|
39
|
-
* @summary Get symbol category by id.
|
|
40
|
-
* @request GET:/symbols/category/{id}
|
|
41
|
-
* @secure
|
|
42
|
-
* @response `200` OK
|
|
43
|
-
*/
|
|
44
|
-
getSymbolCategory(id: number): Promise<SymbolCategoryInfoDc>;
|
|
45
|
-
/**
|
|
46
|
-
* No description
|
|
47
|
-
*
|
|
48
|
-
* @tags SymbolStorage
|
|
49
|
-
* @name RemoveSymbolCategory
|
|
50
|
-
* @operationId SymbolStorageController_RemoveSymbolCategory
|
|
51
|
-
* @summary Delete symbol category by id.
|
|
52
|
-
* @request DELETE:/symbols/category/{id}
|
|
53
|
-
* @secure
|
|
54
|
-
* @response `200` OK
|
|
55
|
-
*/
|
|
56
|
-
removeSymbolCategory({ id, ...query }: RemoveSymbolCategoryParams): Promise<void>;
|
|
57
|
-
/**
|
|
58
|
-
* No description
|
|
59
|
-
*
|
|
60
|
-
* @tags SymbolStorage
|
|
61
|
-
* @name GetSymbolCategories
|
|
62
|
-
* @operationId SymbolStorageController_GetSymbolCategories
|
|
63
|
-
* @summary Get list of symbol categories.
|
|
64
|
-
* @request GET:/symbols/category/list
|
|
65
|
-
* @secure
|
|
66
|
-
* @response `200` OK
|
|
67
|
-
*/
|
|
68
|
-
getSymbolCategories(query: GetSymbolCategoriesParams): Promise<PagedListSymbolCategoryInfoDc>;
|
|
69
|
-
/**
|
|
70
|
-
* No description
|
|
71
|
-
*
|
|
72
|
-
* @tags SymbolStorage
|
|
73
|
-
* @name GetCategoryPermissions
|
|
74
|
-
* @operationId SymbolStorageController_GetCategoryPermissions
|
|
75
|
-
* @summary Get symbol category permissions.
|
|
76
|
-
* @request GET:/symbols/category/permissions/{id}
|
|
77
|
-
* @secure
|
|
78
|
-
* @response `200` OK
|
|
79
|
-
*/
|
|
80
|
-
getCategoryPermissions(id: number): Promise<AccessControlListDc>;
|
|
81
|
-
/**
|
|
82
|
-
* No description
|
|
83
|
-
*
|
|
84
|
-
* @tags SymbolStorage
|
|
85
|
-
* @name AddCategoryPermissions
|
|
86
|
-
* @operationId SymbolStorageController_AddCategoryPermissions
|
|
87
|
-
* @summary Adds permissions for the symbol category, combining existing permissions with the given one.
|
|
88
|
-
* @request POST:/symbols/category/permissions/{id}
|
|
89
|
-
* @secure
|
|
90
|
-
* @response `200` OK
|
|
91
|
-
*/
|
|
92
|
-
addCategoryPermissions(id: number, data: AccessControlListDc): Promise<AccessControlListDc>;
|
|
93
|
-
/**
|
|
94
|
-
* No description
|
|
95
|
-
*
|
|
96
|
-
* @tags SymbolStorage
|
|
97
|
-
* @name ChangeCategoryPermissions
|
|
98
|
-
* @operationId SymbolStorageController_ChangeCategoryPermissions
|
|
99
|
-
* @summary Replaces existing access control list for the symbol category with the given one.
|
|
100
|
-
* @request PATCH:/symbols/category/permissions/{id}
|
|
101
|
-
* @secure
|
|
102
|
-
* @response `200` OK
|
|
103
|
-
*/
|
|
104
|
-
changeCategoryPermissions(id: number, data: AccessControlListDc): Promise<AccessControlListDc>;
|
|
105
|
-
/**
|
|
106
|
-
* No description
|
|
107
|
-
*
|
|
108
|
-
* @tags SymbolStorage
|
|
109
|
-
* @name RemoveCategoryPermissions
|
|
110
|
-
* @operationId SymbolStorageController_RemoveCategoryPermissions
|
|
111
|
-
* @summary Removes permissions for the symbol category for the given role.
|
|
112
|
-
* @request DELETE:/symbols/category/permissions/{id}/{role}
|
|
113
|
-
* @secure
|
|
114
|
-
* @response `200` OK
|
|
115
|
-
*/
|
|
116
|
-
removeCategoryPermissions(id: number, role: string): Promise<AccessControlListDc>;
|
|
117
|
-
/**
|
|
118
|
-
* No description
|
|
119
|
-
*
|
|
120
|
-
* @tags SymbolStorage
|
|
121
|
-
* @name AddSymbol
|
|
122
|
-
* @operationId SymbolStorageController_AddSymbol
|
|
123
|
-
* @summary Add symbol.
|
|
124
|
-
* @request POST:/symbols
|
|
125
|
-
* @secure
|
|
126
|
-
* @response `200` OK
|
|
127
|
-
*/
|
|
128
|
-
addSymbol(data: CreateSymbolDc): Promise<number>;
|
|
129
|
-
/**
|
|
130
|
-
* No description
|
|
131
|
-
*
|
|
132
|
-
* @tags SymbolStorage
|
|
133
|
-
* @name UpdateSymbol
|
|
134
|
-
* @operationId SymbolStorageController_UpdateSymbol
|
|
135
|
-
* @summary Update symbol by id.
|
|
136
|
-
* @request PATCH:/symbols/{id}
|
|
137
|
-
* @secure
|
|
138
|
-
* @response `200` OK
|
|
139
|
-
*/
|
|
140
|
-
updateSymbol(id: number, data: UpdateSymbolDc): Promise<void>;
|
|
141
|
-
/**
|
|
142
|
-
* No description
|
|
143
|
-
*
|
|
144
|
-
* @tags SymbolStorage
|
|
145
|
-
* @name GetSymbol
|
|
146
|
-
* @operationId SymbolStorageController_GetSymbol
|
|
147
|
-
* @summary Get symbol by id.
|
|
148
|
-
* @request GET:/symbols/{id}
|
|
149
|
-
* @secure
|
|
150
|
-
* @response `200` OK
|
|
151
|
-
*/
|
|
152
|
-
getSymbol(id: number): Promise<SymbolInfoDc>;
|
|
153
|
-
/**
|
|
154
|
-
* No description
|
|
155
|
-
*
|
|
156
|
-
* @tags SymbolStorage
|
|
157
|
-
* @name RemoveSymbol
|
|
158
|
-
* @operationId SymbolStorageController_RemoveSymbol
|
|
159
|
-
* @summary Remove symbol by id.
|
|
160
|
-
* @request DELETE:/symbols/{id}
|
|
161
|
-
* @secure
|
|
162
|
-
* @response `200` OK
|
|
163
|
-
*/
|
|
164
|
-
removeSymbol(id: number): Promise<void>;
|
|
165
|
-
/**
|
|
166
|
-
* No description
|
|
167
|
-
*
|
|
168
|
-
* @tags SymbolStorage
|
|
169
|
-
* @name GetSymbolsList
|
|
170
|
-
* @operationId SymbolStorageController_GetSymbolsList
|
|
171
|
-
* @summary Get symbol list.
|
|
172
|
-
* @request GET:/symbols/list
|
|
173
|
-
* @secure
|
|
174
|
-
* @response `200` OK
|
|
175
|
-
*/
|
|
176
|
-
getSymbolsList(query: GetSymbolsListParams): Promise<PagedListSymbolInfoDc>;
|
|
177
|
-
/**
|
|
178
|
-
* No description
|
|
179
|
-
*
|
|
180
|
-
* @tags SymbolStorage
|
|
181
|
-
* @name GetPermissions
|
|
182
|
-
* @operationId SymbolStorageController_GetPermissions
|
|
183
|
-
* @summary Get symbol permissions.
|
|
184
|
-
* @request GET:/symbols/permissions/{id}
|
|
185
|
-
* @secure
|
|
186
|
-
* @response `200` OK
|
|
187
|
-
*/
|
|
188
|
-
getPermissions(id: number): Promise<AccessControlListDc>;
|
|
189
|
-
/**
|
|
190
|
-
* No description
|
|
191
|
-
*
|
|
192
|
-
* @tags SymbolStorage
|
|
193
|
-
* @name AddPermissions
|
|
194
|
-
* @operationId SymbolStorageController_AddPermissions
|
|
195
|
-
* @summary Adds permissions for the symbol, combining existing permissions with the given one.
|
|
196
|
-
* @request POST:/symbols/permissions/{id}
|
|
197
|
-
* @secure
|
|
198
|
-
* @response `200` OK
|
|
199
|
-
*/
|
|
200
|
-
addPermissions(id: number, data: AccessControlListDc): Promise<AccessControlListDc>;
|
|
201
|
-
/**
|
|
202
|
-
* No description
|
|
203
|
-
*
|
|
204
|
-
* @tags SymbolStorage
|
|
205
|
-
* @name ChangePermissions
|
|
206
|
-
* @operationId SymbolStorageController_ChangePermissions
|
|
207
|
-
* @summary Replaces existing access control list for the symbol with the given one.
|
|
208
|
-
* @request PATCH:/symbols/permissions/{id}
|
|
209
|
-
* @secure
|
|
210
|
-
* @response `200` OK
|
|
211
|
-
*/
|
|
212
|
-
changePermissions(id: number, data: AccessControlListDc): Promise<AccessControlListDc>;
|
|
213
|
-
/**
|
|
214
|
-
* No description
|
|
215
|
-
*
|
|
216
|
-
* @tags SymbolStorage
|
|
217
|
-
* @name RemovePermissions
|
|
218
|
-
* @operationId SymbolStorageController_RemovePermissions
|
|
219
|
-
* @summary Removes permissions for the symbol for the given role.
|
|
220
|
-
* @request DELETE:/symbols/permissions/{id}/{role}
|
|
221
|
-
* @secure
|
|
222
|
-
* @response `200` OK
|
|
223
|
-
*/
|
|
224
|
-
removePermissions(id: number, role: string): Promise<AccessControlListDc>;
|
|
225
|
-
}
|
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
import { GetCapabilitiesParams, GetPublicCapabilitiesParams, GetSharedCapabilitiesParams } 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 WfsServerService extends Service {
|
|
9
|
-
/**
|
|
10
|
-
* No description
|
|
11
|
-
*
|
|
12
|
-
* @tags WfsServer
|
|
13
|
-
* @name GetCapabilities
|
|
14
|
-
* @operationId WfsServerController_GetCapabilities
|
|
15
|
-
* @summary Returns get capabilities of wfs service.
|
|
16
|
-
* @request GET:/wfs
|
|
17
|
-
* @secure
|
|
18
|
-
* @response `200` OK
|
|
19
|
-
*/
|
|
20
|
-
getCapabilities(query: GetCapabilitiesParams): Promise<void>;
|
|
21
|
-
/**
|
|
22
|
-
* No description
|
|
23
|
-
*
|
|
24
|
-
* @tags WfsServer
|
|
25
|
-
* @name GetSharedCapabilities
|
|
26
|
-
* @operationId WfsServerController_GetSharedCapabilities
|
|
27
|
-
* @summary Returns get capabilities of wfs service.
|
|
28
|
-
* @request GET:/shared/wfs
|
|
29
|
-
* @secure
|
|
30
|
-
* @response `200` OK
|
|
31
|
-
*/
|
|
32
|
-
getSharedCapabilities(query: GetSharedCapabilitiesParams): Promise<void>;
|
|
33
|
-
/**
|
|
34
|
-
* No description
|
|
35
|
-
*
|
|
36
|
-
* @tags WfsServer
|
|
37
|
-
* @name GetPublicCapabilities
|
|
38
|
-
* @operationId WfsServerController_GetPublicCapabilities
|
|
39
|
-
* @summary Returns get capabilities of wfs service.
|
|
40
|
-
* @request GET:/public/wfs
|
|
41
|
-
* @secure
|
|
42
|
-
* @response `200` OK
|
|
43
|
-
*/
|
|
44
|
-
getPublicCapabilities(query: GetPublicCapabilitiesParams): Promise<void>;
|
|
45
|
-
}
|