@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,33 +1,33 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
/**
|
|
4
|
-
* @title Spatial Processing Core API
|
|
5
|
-
* @version 1.5.1.0
|
|
6
|
-
* @baseUrl /sp
|
|
7
|
-
*/
|
|
8
|
-
export declare class FeedbackService extends Service {
|
|
9
|
-
/**
|
|
10
|
-
* No description
|
|
11
|
-
*
|
|
12
|
-
* @tags Feedback
|
|
13
|
-
* @name IncreaseResourcesLimit
|
|
14
|
-
* @operationId FeedbackController_IncreaseResourcesLimit
|
|
15
|
-
* @summary Increase resources limit request.
|
|
16
|
-
* @request POST:/feedback/limits
|
|
17
|
-
* @secure
|
|
18
|
-
* @response `200` OK
|
|
19
|
-
*/
|
|
20
|
-
increaseResourcesLimit(query: IncreaseResourcesLimitParams): Promise<string[]>;
|
|
21
|
-
/**
|
|
22
|
-
* No description
|
|
23
|
-
*
|
|
24
|
-
* @tags Feedback
|
|
25
|
-
* @name Feedback
|
|
26
|
-
* @operationId FeedbackController_Feedback
|
|
27
|
-
* @summary Feedback request.
|
|
28
|
-
* @request POST:/feedback
|
|
29
|
-
* @secure
|
|
30
|
-
* @response `200` OK
|
|
31
|
-
*/
|
|
32
|
-
feedback(query: FeedbackParams, data: FeedbackPayload | FormData): Promise<string[]>;
|
|
33
|
-
}
|
|
1
|
+
import { Service } from './Service';
|
|
2
|
+
import { FeedbackParams, FeedbackPayload, IncreaseResourcesLimitParams } from './data-contracts';
|
|
3
|
+
/**
|
|
4
|
+
* @title Spatial Processing Core API
|
|
5
|
+
* @version 1.5.1.0
|
|
6
|
+
* @baseUrl /sp
|
|
7
|
+
*/
|
|
8
|
+
export declare class FeedbackService extends Service {
|
|
9
|
+
/**
|
|
10
|
+
* No description
|
|
11
|
+
*
|
|
12
|
+
* @tags Feedback
|
|
13
|
+
* @name IncreaseResourcesLimit
|
|
14
|
+
* @operationId FeedbackController_IncreaseResourcesLimit
|
|
15
|
+
* @summary Increase resources limit request.
|
|
16
|
+
* @request POST:/feedback/limits
|
|
17
|
+
* @secure
|
|
18
|
+
* @response `200` OK
|
|
19
|
+
*/
|
|
20
|
+
increaseResourcesLimit(query: IncreaseResourcesLimitParams): Promise<string[]>;
|
|
21
|
+
/**
|
|
22
|
+
* No description
|
|
23
|
+
*
|
|
24
|
+
* @tags Feedback
|
|
25
|
+
* @name Feedback
|
|
26
|
+
* @operationId FeedbackController_Feedback
|
|
27
|
+
* @summary Feedback request.
|
|
28
|
+
* @request POST:/feedback
|
|
29
|
+
* @secure
|
|
30
|
+
* @response `200` OK
|
|
31
|
+
*/
|
|
32
|
+
feedback(query: FeedbackParams, data: FeedbackPayload | FormData): Promise<string[]>;
|
|
33
|
+
}
|
|
@@ -1,45 +1,45 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
/**
|
|
4
|
-
* @title Spatial Processing Core API
|
|
5
|
-
* @version 1.5.1.0
|
|
6
|
-
* @baseUrl /sp
|
|
7
|
-
*/
|
|
8
|
-
export declare class FiltersService extends Service {
|
|
9
|
-
/**
|
|
10
|
-
* No description
|
|
11
|
-
*
|
|
12
|
-
* @tags FiltersService
|
|
13
|
-
* @name Get
|
|
14
|
-
* @operationId FiltersServiceController_Get
|
|
15
|
-
* @summary Returns the filter by its id.
|
|
16
|
-
* @request GET:/filters/{id}
|
|
17
|
-
* @secure
|
|
18
|
-
* @response `200` OK
|
|
19
|
-
*/
|
|
20
|
-
get(id: string): Promise<FilterResponseDc>;
|
|
21
|
-
/**
|
|
22
|
-
* No description
|
|
23
|
-
*
|
|
24
|
-
* @tags FiltersService
|
|
25
|
-
* @name Update
|
|
26
|
-
* @operationId FiltersServiceController_Update
|
|
27
|
-
* @summary Replaces a filter and gives it a new id.
|
|
28
|
-
* @request POST:/filters/{id}
|
|
29
|
-
* @secure
|
|
30
|
-
* @response `200` OK
|
|
31
|
-
*/
|
|
32
|
-
update(id: string, data: FilterDc): Promise<FilterResponseDc>;
|
|
33
|
-
/**
|
|
34
|
-
* No description
|
|
35
|
-
*
|
|
36
|
-
* @tags FiltersService
|
|
37
|
-
* @name Create
|
|
38
|
-
* @operationId FiltersServiceController_Create
|
|
39
|
-
* @summary Creates a new filter.
|
|
40
|
-
* @request POST:/filters
|
|
41
|
-
* @secure
|
|
42
|
-
* @response `200` OK
|
|
43
|
-
*/
|
|
44
|
-
create(data: FilterDc): Promise<FilterResponseDc>;
|
|
45
|
-
}
|
|
1
|
+
import { Service } from './Service';
|
|
2
|
+
import { FilterDc, FilterResponseDc } from './data-contracts';
|
|
3
|
+
/**
|
|
4
|
+
* @title Spatial Processing Core API
|
|
5
|
+
* @version 1.5.1.0
|
|
6
|
+
* @baseUrl /sp
|
|
7
|
+
*/
|
|
8
|
+
export declare class FiltersService extends Service {
|
|
9
|
+
/**
|
|
10
|
+
* No description
|
|
11
|
+
*
|
|
12
|
+
* @tags FiltersService
|
|
13
|
+
* @name Get
|
|
14
|
+
* @operationId FiltersServiceController_Get
|
|
15
|
+
* @summary Returns the filter by its id.
|
|
16
|
+
* @request GET:/filters/{id}
|
|
17
|
+
* @secure
|
|
18
|
+
* @response `200` OK
|
|
19
|
+
*/
|
|
20
|
+
get(id: string): Promise<FilterResponseDc>;
|
|
21
|
+
/**
|
|
22
|
+
* No description
|
|
23
|
+
*
|
|
24
|
+
* @tags FiltersService
|
|
25
|
+
* @name Update
|
|
26
|
+
* @operationId FiltersServiceController_Update
|
|
27
|
+
* @summary Replaces a filter and gives it a new id.
|
|
28
|
+
* @request POST:/filters/{id}
|
|
29
|
+
* @secure
|
|
30
|
+
* @response `200` OK
|
|
31
|
+
*/
|
|
32
|
+
update(id: string, data: FilterDc): Promise<FilterResponseDc>;
|
|
33
|
+
/**
|
|
34
|
+
* No description
|
|
35
|
+
*
|
|
36
|
+
* @tags FiltersService
|
|
37
|
+
* @name Create
|
|
38
|
+
* @operationId FiltersServiceController_Create
|
|
39
|
+
* @summary Creates a new filter.
|
|
40
|
+
* @request POST:/filters
|
|
41
|
+
* @secure
|
|
42
|
+
* @response `200` OK
|
|
43
|
+
*/
|
|
44
|
+
create(data: FilterDc): Promise<FilterResponseDc>;
|
|
45
|
+
}
|
|
@@ -1,45 +1,45 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
/**
|
|
4
|
-
* @title Spatial Processing Core API
|
|
5
|
-
* @version 1.5.1.0
|
|
6
|
-
* @baseUrl /sp
|
|
7
|
-
*/
|
|
8
|
-
export declare class GeocodeService extends Service {
|
|
9
|
-
/**
|
|
10
|
-
* No description
|
|
11
|
-
*
|
|
12
|
-
* @tags GeocodeService
|
|
13
|
-
* @name Geocode
|
|
14
|
-
* @operationId GeocodeServiceController_Geocode
|
|
15
|
-
* @summary Returns geocode geometry.
|
|
16
|
-
* @request GET:/geocode/{providerName}
|
|
17
|
-
* @secure
|
|
18
|
-
* @response `200` OK
|
|
19
|
-
*/
|
|
20
|
-
geocode({ providerName, ...query }: GeocodeParams): Promise<GeocodeResultDc[]>;
|
|
21
|
-
/**
|
|
22
|
-
* No description
|
|
23
|
-
*
|
|
24
|
-
* @tags GeocodeService
|
|
25
|
-
* @name GeocodeByPoint
|
|
26
|
-
* @operationId GeocodeServiceController_GeocodeByPoint
|
|
27
|
-
* @summary Returns geocode address from point geometry.
|
|
28
|
-
* @request GET:/geocode/{providerName}/geocodeByPoint
|
|
29
|
-
* @secure
|
|
30
|
-
* @response `200` OK
|
|
31
|
-
*/
|
|
32
|
-
geocodeByPoint({ providerName, ...query }: GeocodeByPointParams): Promise<GeocodeResultDc[]>;
|
|
33
|
-
/**
|
|
34
|
-
* No description
|
|
35
|
-
*
|
|
36
|
-
* @tags GeocodeService
|
|
37
|
-
* @name Suggest
|
|
38
|
-
* @operationId GeocodeServiceController_Suggest
|
|
39
|
-
* @summary Returns geocode suggest.
|
|
40
|
-
* @request GET:/geocode/{providerName}/suggest
|
|
41
|
-
* @secure
|
|
42
|
-
* @response `200` OK
|
|
43
|
-
*/
|
|
44
|
-
suggest({ providerName, ...query }: SuggestParams): Promise<GeocodeSuggestResultDc[]>;
|
|
45
|
-
}
|
|
1
|
+
import { Service } from './Service';
|
|
2
|
+
import { GeocodeByPointParams, GeocodeParams, GeocodeResultDc, GeocodeSuggestResultDc, SuggestParams } from './data-contracts';
|
|
3
|
+
/**
|
|
4
|
+
* @title Spatial Processing Core API
|
|
5
|
+
* @version 1.5.1.0
|
|
6
|
+
* @baseUrl /sp
|
|
7
|
+
*/
|
|
8
|
+
export declare class GeocodeService extends Service {
|
|
9
|
+
/**
|
|
10
|
+
* No description
|
|
11
|
+
*
|
|
12
|
+
* @tags GeocodeService
|
|
13
|
+
* @name Geocode
|
|
14
|
+
* @operationId GeocodeServiceController_Geocode
|
|
15
|
+
* @summary Returns geocode geometry.
|
|
16
|
+
* @request GET:/geocode/{providerName}
|
|
17
|
+
* @secure
|
|
18
|
+
* @response `200` OK
|
|
19
|
+
*/
|
|
20
|
+
geocode({ providerName, ...query }: GeocodeParams): Promise<GeocodeResultDc[]>;
|
|
21
|
+
/**
|
|
22
|
+
* No description
|
|
23
|
+
*
|
|
24
|
+
* @tags GeocodeService
|
|
25
|
+
* @name GeocodeByPoint
|
|
26
|
+
* @operationId GeocodeServiceController_GeocodeByPoint
|
|
27
|
+
* @summary Returns geocode address from point geometry.
|
|
28
|
+
* @request GET:/geocode/{providerName}/geocodeByPoint
|
|
29
|
+
* @secure
|
|
30
|
+
* @response `200` OK
|
|
31
|
+
*/
|
|
32
|
+
geocodeByPoint({ providerName, ...query }: GeocodeByPointParams): Promise<GeocodeResultDc[]>;
|
|
33
|
+
/**
|
|
34
|
+
* No description
|
|
35
|
+
*
|
|
36
|
+
* @tags GeocodeService
|
|
37
|
+
* @name Suggest
|
|
38
|
+
* @operationId GeocodeServiceController_Suggest
|
|
39
|
+
* @summary Returns geocode suggest.
|
|
40
|
+
* @request GET:/geocode/{providerName}/suggest
|
|
41
|
+
* @secure
|
|
42
|
+
* @response `200` OK
|
|
43
|
+
*/
|
|
44
|
+
suggest({ providerName, ...query }: SuggestParams): Promise<GeocodeSuggestResultDc[]>;
|
|
45
|
+
}
|
|
@@ -1,27 +1,27 @@
|
|
|
1
|
-
import { Options, ResponsePromise } from 'ky';
|
|
2
|
-
export { HTTPError, Options, TimeoutError } from 'ky';
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
export interface IHttpClient {
|
|
6
|
-
extend(options: Options): void;
|
|
7
|
-
get(url: string, params?: SearchParams): ResponsePromise;
|
|
8
|
-
post(url: string, body?: AllowedBody, params?: SearchParams): ResponsePromise;
|
|
9
|
-
put(url: string, body?: AllowedBody, params?: SearchParams): ResponsePromise;
|
|
10
|
-
patch(url: string, body?: AllowedBody, params?: SearchParams): ResponsePromise;
|
|
11
|
-
delete(url: string, body?: AllowedBody, params?: SearchParams): ResponsePromise;
|
|
12
|
-
createUrl(url: string, params?: SearchParams): string;
|
|
13
|
-
}
|
|
14
|
-
export declare class HttpClient implements IHttpClient {
|
|
15
|
-
private ky;
|
|
16
|
-
private prefixUrl;
|
|
17
|
-
constructor(options?: Options);
|
|
18
|
-
extend(options: Options): void;
|
|
19
|
-
get(url: string, params?: SearchParams): ResponsePromise;
|
|
20
|
-
post(url: string, body?: AllowedBody, params?: SearchParams): ResponsePromise;
|
|
21
|
-
put(url: string, body?: AllowedBody, params?: SearchParams): ResponsePromise;
|
|
22
|
-
patch(url: string, body?: AllowedBody, params?: SearchParams): ResponsePromise;
|
|
23
|
-
delete(url: string, body?: AllowedBody, params?: SearchParams): ResponsePromise;
|
|
24
|
-
createUrl(url: string, params?: SearchParams): string;
|
|
25
|
-
private stripSlashes;
|
|
26
|
-
}
|
|
27
|
-
export declare function toFormData(input: any): FormData;
|
|
1
|
+
import { Options, ResponsePromise } from 'ky';
|
|
2
|
+
export { HTTPError, Options, TimeoutError } from 'ky';
|
|
3
|
+
type SearchParams = Record<string | number, any>;
|
|
4
|
+
type AllowedBody = FormData | string | object | null;
|
|
5
|
+
export interface IHttpClient {
|
|
6
|
+
extend(options: Options): void;
|
|
7
|
+
get(url: string, params?: SearchParams): ResponsePromise;
|
|
8
|
+
post(url: string, body?: AllowedBody, params?: SearchParams): ResponsePromise;
|
|
9
|
+
put(url: string, body?: AllowedBody, params?: SearchParams): ResponsePromise;
|
|
10
|
+
patch(url: string, body?: AllowedBody, params?: SearchParams): ResponsePromise;
|
|
11
|
+
delete(url: string, body?: AllowedBody, params?: SearchParams): ResponsePromise;
|
|
12
|
+
createUrl(url: string, params?: SearchParams): string;
|
|
13
|
+
}
|
|
14
|
+
export declare class HttpClient implements IHttpClient {
|
|
15
|
+
private ky;
|
|
16
|
+
private prefixUrl;
|
|
17
|
+
constructor(options?: Options);
|
|
18
|
+
extend(options: Options): void;
|
|
19
|
+
get(url: string, params?: SearchParams): ResponsePromise;
|
|
20
|
+
post(url: string, body?: AllowedBody, params?: SearchParams): ResponsePromise;
|
|
21
|
+
put(url: string, body?: AllowedBody, params?: SearchParams): ResponsePromise;
|
|
22
|
+
patch(url: string, body?: AllowedBody, params?: SearchParams): ResponsePromise;
|
|
23
|
+
delete(url: string, body?: AllowedBody, params?: SearchParams): ResponsePromise;
|
|
24
|
+
createUrl(url: string, params?: SearchParams): string;
|
|
25
|
+
private stripSlashes;
|
|
26
|
+
}
|
|
27
|
+
export declare function toFormData(input: any): FormData;
|
|
@@ -1,129 +1,129 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
/**
|
|
4
|
-
* @title Spatial Processing Core API
|
|
5
|
-
* @version 1.5.1.0
|
|
6
|
-
* @baseUrl /sp
|
|
7
|
-
*/
|
|
8
|
-
export declare class ImportService extends Service {
|
|
9
|
-
/**
|
|
10
|
-
* No description
|
|
11
|
-
*
|
|
12
|
-
* @tags ImportService
|
|
13
|
-
* @name GetDataSchema
|
|
14
|
-
* @operationId ImportServiceController_GetDataSchema
|
|
15
|
-
* @summary Using a file uploaded to the file upload service, reads the headers of the file and returns the information about data schema of all layers in that file, available for import.
|
|
16
|
-
* @request GET:/import/dataSchema
|
|
17
|
-
* @secure
|
|
18
|
-
* @response `200` OK
|
|
19
|
-
*/
|
|
20
|
-
getDataSchema(query: GetDataSchemaParams): Promise<ImportDataSchemaDc>;
|
|
21
|
-
/**
|
|
22
|
-
* No description
|
|
23
|
-
*
|
|
24
|
-
* @tags ImportService
|
|
25
|
-
* @name GetFeaturesCount
|
|
26
|
-
* @operationId ImportServiceController_GetFeaturesCount
|
|
27
|
-
* @summary Returns the features count of the given file in temporary static storage.
|
|
28
|
-
* @request POST:/import/count
|
|
29
|
-
* @secure
|
|
30
|
-
* @response `200` OK
|
|
31
|
-
*/
|
|
32
|
-
getFeaturesCount(data: ImportFileFeaturesCountDc): Promise<number>;
|
|
33
|
-
/**
|
|
34
|
-
* No description
|
|
35
|
-
*
|
|
36
|
-
* @tags ImportService
|
|
37
|
-
* @name ReadPart
|
|
38
|
-
* @operationId ImportServiceController_ReadPart
|
|
39
|
-
* @summary Returns the features of the given file in temporary static storage.
|
|
40
|
-
* @request GET:/import/read
|
|
41
|
-
* @secure
|
|
42
|
-
* @response `200` OK
|
|
43
|
-
*/
|
|
44
|
-
readPart(query: ReadPartParams): Promise<Record<string, any>[]>;
|
|
45
|
-
/**
|
|
46
|
-
* No description
|
|
47
|
-
*
|
|
48
|
-
* @tags ImportService
|
|
49
|
-
* @name GetExternalWmsLayers
|
|
50
|
-
* @operationId ImportServiceController_GetExternalWmsLayers
|
|
51
|
-
* @summary Get list of external WMS layers.
|
|
52
|
-
* @request GET:/import/wms
|
|
53
|
-
* @secure
|
|
54
|
-
* @response `200` OK
|
|
55
|
-
*/
|
|
56
|
-
getExternalWmsLayers(query: GetExternalWmsLayersParams): Promise<ExternalLayerInfoDc[]>;
|
|
57
|
-
/**
|
|
58
|
-
* No description
|
|
59
|
-
*
|
|
60
|
-
* @tags ImportService
|
|
61
|
-
* @name GetExternalPbfLayers
|
|
62
|
-
* @operationId ImportServiceController_GetExternalPbfLayers
|
|
63
|
-
* @summary Get list of external PBF layers.
|
|
64
|
-
* @request GET:/import/pbf
|
|
65
|
-
* @secure
|
|
66
|
-
* @response `200` OK
|
|
67
|
-
*/
|
|
68
|
-
getExternalPbfLayers(query: GetExternalPbfLayersParams): Promise<ExternalLayerInfoDc[]>;
|
|
69
|
-
/**
|
|
70
|
-
* No description
|
|
71
|
-
*
|
|
72
|
-
* @tags ImportService
|
|
73
|
-
* @name GetExternalPbfFeatures
|
|
74
|
-
* @operationId ImportServiceController_GetExternalPbfFeatures
|
|
75
|
-
* @summary Get features list in external PBF layer.
|
|
76
|
-
* @request GET:/import/pbf/features
|
|
77
|
-
* @secure
|
|
78
|
-
* @response `200` OK
|
|
79
|
-
*/
|
|
80
|
-
getExternalPbfFeatures(query: GetExternalPbfFeaturesParams): Promise<PagedFeaturesListDc>;
|
|
81
|
-
/**
|
|
82
|
-
* No description
|
|
83
|
-
*
|
|
84
|
-
* @tags ImportService
|
|
85
|
-
* @name GetExternalArcgisFsLayers
|
|
86
|
-
* @operationId ImportServiceController_GetExternalArcgisFSLayers
|
|
87
|
-
* @summary Get list of external ArcGis FeatureServer layers.
|
|
88
|
-
* @request GET:/import/arcgisfeatureservice
|
|
89
|
-
* @secure
|
|
90
|
-
* @response `200` OK
|
|
91
|
-
*/
|
|
92
|
-
getExternalArcgisFsLayers(query: GetExternalArcgisFsLayersParams): Promise<ExternalLayerInfoDc[]>;
|
|
93
|
-
/**
|
|
94
|
-
* No description
|
|
95
|
-
*
|
|
96
|
-
* @tags ImportService
|
|
97
|
-
* @name GetExternalArcGisLayers
|
|
98
|
-
* @operationId ImportServiceController_GetExternalArcGisLayers
|
|
99
|
-
* @summary Get list of external ArcGis MapServer layers.
|
|
100
|
-
* @request GET:/import/arcgismapservice
|
|
101
|
-
* @secure
|
|
102
|
-
* @response `200` OK
|
|
103
|
-
*/
|
|
104
|
-
getExternalArcGisLayers(query: GetExternalArcGisLayersParams): Promise<ExternalLayerInfoDc[]>;
|
|
105
|
-
/**
|
|
106
|
-
* No description
|
|
107
|
-
*
|
|
108
|
-
* @tags ImportService
|
|
109
|
-
* @name GetRasterAttributes
|
|
110
|
-
* @operationId ImportServiceController_GetRasterAttributes
|
|
111
|
-
* @summary Parse raster attributes from file name.
|
|
112
|
-
* @request GET:/import/rasterAttributes
|
|
113
|
-
* @secure
|
|
114
|
-
* @response `200` OK
|
|
115
|
-
*/
|
|
116
|
-
getRasterAttributes(query: GetRasterAttributesParams): Promise<Record<string, any>>;
|
|
117
|
-
/**
|
|
118
|
-
* No description
|
|
119
|
-
*
|
|
120
|
-
* @tags ImportService
|
|
121
|
-
* @name GetRasterMeta
|
|
122
|
-
* @operationId ImportServiceController_GetRasterMeta
|
|
123
|
-
* @summary Get raster meta data.
|
|
124
|
-
* @request GET:/import/rasterMeta
|
|
125
|
-
* @secure
|
|
126
|
-
* @response `200` OK
|
|
127
|
-
*/
|
|
128
|
-
getRasterMeta(query: GetRasterMetaParams): Promise<(RasterMetaDc | NetCdfMetaDc)[]>;
|
|
129
|
-
}
|
|
1
|
+
import { Service } from './Service';
|
|
2
|
+
import { ExternalLayerInfoDc, GetDataSchemaParams, GetExternalArcGisLayersParams, GetExternalArcgisFsLayersParams, GetExternalPbfFeaturesParams, GetExternalPbfLayersParams, GetExternalWmsLayersParams, GetRasterAttributesParams, GetRasterMetaParams, ImportDataSchemaDc, ImportFileFeaturesCountDc, NetCdfMetaDc, PagedFeaturesListDc, RasterMetaDc, ReadPartParams } from './data-contracts';
|
|
3
|
+
/**
|
|
4
|
+
* @title Spatial Processing Core API
|
|
5
|
+
* @version 1.5.1.0
|
|
6
|
+
* @baseUrl /sp
|
|
7
|
+
*/
|
|
8
|
+
export declare class ImportService extends Service {
|
|
9
|
+
/**
|
|
10
|
+
* No description
|
|
11
|
+
*
|
|
12
|
+
* @tags ImportService
|
|
13
|
+
* @name GetDataSchema
|
|
14
|
+
* @operationId ImportServiceController_GetDataSchema
|
|
15
|
+
* @summary Using a file uploaded to the file upload service, reads the headers of the file and returns the information about data schema of all layers in that file, available for import.
|
|
16
|
+
* @request GET:/import/dataSchema
|
|
17
|
+
* @secure
|
|
18
|
+
* @response `200` OK
|
|
19
|
+
*/
|
|
20
|
+
getDataSchema(query: GetDataSchemaParams): Promise<ImportDataSchemaDc>;
|
|
21
|
+
/**
|
|
22
|
+
* No description
|
|
23
|
+
*
|
|
24
|
+
* @tags ImportService
|
|
25
|
+
* @name GetFeaturesCount
|
|
26
|
+
* @operationId ImportServiceController_GetFeaturesCount
|
|
27
|
+
* @summary Returns the features count of the given file in temporary static storage.
|
|
28
|
+
* @request POST:/import/count
|
|
29
|
+
* @secure
|
|
30
|
+
* @response `200` OK
|
|
31
|
+
*/
|
|
32
|
+
getFeaturesCount(data: ImportFileFeaturesCountDc): Promise<number>;
|
|
33
|
+
/**
|
|
34
|
+
* No description
|
|
35
|
+
*
|
|
36
|
+
* @tags ImportService
|
|
37
|
+
* @name ReadPart
|
|
38
|
+
* @operationId ImportServiceController_ReadPart
|
|
39
|
+
* @summary Returns the features of the given file in temporary static storage.
|
|
40
|
+
* @request GET:/import/read
|
|
41
|
+
* @secure
|
|
42
|
+
* @response `200` OK
|
|
43
|
+
*/
|
|
44
|
+
readPart(query: ReadPartParams): Promise<Record<string, any>[]>;
|
|
45
|
+
/**
|
|
46
|
+
* No description
|
|
47
|
+
*
|
|
48
|
+
* @tags ImportService
|
|
49
|
+
* @name GetExternalWmsLayers
|
|
50
|
+
* @operationId ImportServiceController_GetExternalWmsLayers
|
|
51
|
+
* @summary Get list of external WMS layers.
|
|
52
|
+
* @request GET:/import/wms
|
|
53
|
+
* @secure
|
|
54
|
+
* @response `200` OK
|
|
55
|
+
*/
|
|
56
|
+
getExternalWmsLayers(query: GetExternalWmsLayersParams): Promise<ExternalLayerInfoDc[]>;
|
|
57
|
+
/**
|
|
58
|
+
* No description
|
|
59
|
+
*
|
|
60
|
+
* @tags ImportService
|
|
61
|
+
* @name GetExternalPbfLayers
|
|
62
|
+
* @operationId ImportServiceController_GetExternalPbfLayers
|
|
63
|
+
* @summary Get list of external PBF layers.
|
|
64
|
+
* @request GET:/import/pbf
|
|
65
|
+
* @secure
|
|
66
|
+
* @response `200` OK
|
|
67
|
+
*/
|
|
68
|
+
getExternalPbfLayers(query: GetExternalPbfLayersParams): Promise<ExternalLayerInfoDc[]>;
|
|
69
|
+
/**
|
|
70
|
+
* No description
|
|
71
|
+
*
|
|
72
|
+
* @tags ImportService
|
|
73
|
+
* @name GetExternalPbfFeatures
|
|
74
|
+
* @operationId ImportServiceController_GetExternalPbfFeatures
|
|
75
|
+
* @summary Get features list in external PBF layer.
|
|
76
|
+
* @request GET:/import/pbf/features
|
|
77
|
+
* @secure
|
|
78
|
+
* @response `200` OK
|
|
79
|
+
*/
|
|
80
|
+
getExternalPbfFeatures(query: GetExternalPbfFeaturesParams): Promise<PagedFeaturesListDc>;
|
|
81
|
+
/**
|
|
82
|
+
* No description
|
|
83
|
+
*
|
|
84
|
+
* @tags ImportService
|
|
85
|
+
* @name GetExternalArcgisFsLayers
|
|
86
|
+
* @operationId ImportServiceController_GetExternalArcgisFSLayers
|
|
87
|
+
* @summary Get list of external ArcGis FeatureServer layers.
|
|
88
|
+
* @request GET:/import/arcgisfeatureservice
|
|
89
|
+
* @secure
|
|
90
|
+
* @response `200` OK
|
|
91
|
+
*/
|
|
92
|
+
getExternalArcgisFsLayers(query: GetExternalArcgisFsLayersParams): Promise<ExternalLayerInfoDc[]>;
|
|
93
|
+
/**
|
|
94
|
+
* No description
|
|
95
|
+
*
|
|
96
|
+
* @tags ImportService
|
|
97
|
+
* @name GetExternalArcGisLayers
|
|
98
|
+
* @operationId ImportServiceController_GetExternalArcGisLayers
|
|
99
|
+
* @summary Get list of external ArcGis MapServer layers.
|
|
100
|
+
* @request GET:/import/arcgismapservice
|
|
101
|
+
* @secure
|
|
102
|
+
* @response `200` OK
|
|
103
|
+
*/
|
|
104
|
+
getExternalArcGisLayers(query: GetExternalArcGisLayersParams): Promise<ExternalLayerInfoDc[]>;
|
|
105
|
+
/**
|
|
106
|
+
* No description
|
|
107
|
+
*
|
|
108
|
+
* @tags ImportService
|
|
109
|
+
* @name GetRasterAttributes
|
|
110
|
+
* @operationId ImportServiceController_GetRasterAttributes
|
|
111
|
+
* @summary Parse raster attributes from file name.
|
|
112
|
+
* @request GET:/import/rasterAttributes
|
|
113
|
+
* @secure
|
|
114
|
+
* @response `200` OK
|
|
115
|
+
*/
|
|
116
|
+
getRasterAttributes(query: GetRasterAttributesParams): Promise<Record<string, any>>;
|
|
117
|
+
/**
|
|
118
|
+
* No description
|
|
119
|
+
*
|
|
120
|
+
* @tags ImportService
|
|
121
|
+
* @name GetRasterMeta
|
|
122
|
+
* @operationId ImportServiceController_GetRasterMeta
|
|
123
|
+
* @summary Get raster meta data.
|
|
124
|
+
* @request GET:/import/rasterMeta
|
|
125
|
+
* @secure
|
|
126
|
+
* @response `200` OK
|
|
127
|
+
*/
|
|
128
|
+
getRasterMeta(query: GetRasterMetaParams): Promise<(RasterMetaDc | NetCdfMetaDc)[]>;
|
|
129
|
+
}
|