@evergis/api 3.0.53 → 3.0.54
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__/ProjectsService.d.ts +2 -2
- package/dist/__generated__/SecurityService.d.ts +1 -1
- package/dist/__generated__/TablesService.d.ts +13 -2
- package/dist/__generated__/data-contracts.d.ts +24 -8
- package/dist/api.cjs.development.js +31 -10
- 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 +31 -10
- package/dist/api.esm.js.map +1 -1
- package/package.json +2 -2
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AccessControlListDc, BulkOperationResultDc,
|
|
1
|
+
import { AccessControlListDc, BulkOperationResultDc, DeleteResourcesParams, ExtendedProjectInfoDc, ExtendedProjectLayersInfo, FileUploadResponse, GetProjectsListParams, ListResponseProjectInfoPubDc, ResourceDependenciesDc, SetPermissionsBatchBody, SetPreviewBody, SharedProjectConfigurationDc, SharedProjectInfoDc } from './data-contracts';
|
|
2
2
|
import { Service } from './Service';
|
|
3
3
|
/**
|
|
4
4
|
* @title Spatial Processing Core API
|
|
@@ -60,7 +60,7 @@ export declare class ProjectsService extends Service {
|
|
|
60
60
|
* @request DELETE:/projects
|
|
61
61
|
* @response `200` Success
|
|
62
62
|
*/
|
|
63
|
-
deleteResources(query:
|
|
63
|
+
deleteResources(query: DeleteResourcesParams): Promise<BulkOperationResultDc[]>;
|
|
64
64
|
/**
|
|
65
65
|
* No description
|
|
66
66
|
*
|
|
@@ -23,7 +23,7 @@ export declare class SecurityService extends Service {
|
|
|
23
23
|
* @tags SecurityService
|
|
24
24
|
* @name FindUserByName
|
|
25
25
|
* @operationId SecurityServiceController_FindUserByName
|
|
26
|
-
* @summary Returns the list of users found by username
|
|
26
|
+
* @summary Returns the list of users found by username.
|
|
27
27
|
* @request GET:/security/users
|
|
28
28
|
* @response `200` Success
|
|
29
29
|
*/
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AccessControlListDc, BulkOperationResultDc,
|
|
1
|
+
import { AccessControlListDc, BulkOperationResultDc, DeleteResourcesParams, DeleteTableDataParams, DetailedTableInfoDc, FileUploadResponse, GetTableDataParams, GetTableListParams, GetUniqueDataRowsParams, MapRemoteTableInfoDc, MapRemoteTableParams, MapTableParams, MapTablePayload, MapViewInfoDc, MapViewParams, ResourceDependenciesDc, SetPermissionsBatchInput, SetPreviewInput, UpdateTableDataParams, UpdateTableDataPayload, UpdateTableDc } 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` Success
|
|
51
51
|
*/
|
|
52
|
-
deleteResources(query:
|
|
52
|
+
deleteResources(query: DeleteResourcesParams): Promise<BulkOperationResultDc[]>;
|
|
53
53
|
/**
|
|
54
54
|
* No description
|
|
55
55
|
*
|
|
@@ -83,6 +83,17 @@ export declare class TablesService extends Service {
|
|
|
83
83
|
* @response `200` Success
|
|
84
84
|
*/
|
|
85
85
|
getTableInfo(name: string): Promise<DetailedTableInfoDc>;
|
|
86
|
+
/**
|
|
87
|
+
* No description
|
|
88
|
+
*
|
|
89
|
+
* @tags Tables
|
|
90
|
+
* @name GetTableData
|
|
91
|
+
* @operationId TablesController_GetTableData
|
|
92
|
+
* @summary Retrieves the data from the table.
|
|
93
|
+
* @request GET:/tables/{name}/data
|
|
94
|
+
* @response `200` Success
|
|
95
|
+
*/
|
|
96
|
+
getTableData({ name, ...query }: GetTableDataParams): Promise<Record<string, any>[]>;
|
|
86
97
|
/**
|
|
87
98
|
* No description
|
|
88
99
|
*
|
|
@@ -5404,6 +5404,8 @@ export interface GetLayersListParams {
|
|
|
5404
5404
|
* @format int32
|
|
5405
5405
|
*/
|
|
5406
5406
|
limit?: number;
|
|
5407
|
+
/** Strict list of names of the resources to get. */
|
|
5408
|
+
names?: string[];
|
|
5407
5409
|
/** A list of {ServiceInfoDc} fields for sorting. If a field starts with {-} ordering is by descending. */
|
|
5408
5410
|
orderByFields?: string[];
|
|
5409
5411
|
/** Filters layers by geometry types. */
|
|
@@ -5843,10 +5845,6 @@ export interface GetProjectsListParams {
|
|
|
5843
5845
|
forAllUsers?: boolean;
|
|
5844
5846
|
}
|
|
5845
5847
|
export declare type SetPermissionsBatchBody = ResourceAclDc[];
|
|
5846
|
-
export interface DeleteResourcesParams8 {
|
|
5847
|
-
/** Resource names. */
|
|
5848
|
-
names?: string[];
|
|
5849
|
-
}
|
|
5850
5848
|
export interface SetPreviewBody {
|
|
5851
5849
|
/** @format binary */
|
|
5852
5850
|
file?: File;
|
|
@@ -5978,7 +5976,7 @@ export interface FindUserByNameByRolesParams {
|
|
|
5978
5976
|
roles?: string[];
|
|
5979
5977
|
}
|
|
5980
5978
|
export interface FindUserByNameParams {
|
|
5981
|
-
/** String filter for the username
|
|
5979
|
+
/** String filter for the username. */
|
|
5982
5980
|
filter?: string;
|
|
5983
5981
|
}
|
|
5984
5982
|
export interface GetPolicyListParams {
|
|
@@ -6044,6 +6042,8 @@ export interface GetTableListParams {
|
|
|
6044
6042
|
* @format int32
|
|
6045
6043
|
*/
|
|
6046
6044
|
limit?: number;
|
|
6045
|
+
/** Strict list of names of the resources to get. */
|
|
6046
|
+
names?: string[];
|
|
6047
6047
|
/** A list of {TableListDc} fields for sorting. If a field starts with {-} ordering is by descending. */
|
|
6048
6048
|
orderByFields?: string[];
|
|
6049
6049
|
/** Filters tables list by users favorite. */
|
|
@@ -6054,9 +6054,25 @@ export interface GetTableListParams {
|
|
|
6054
6054
|
geometryFilter?: string[];
|
|
6055
6055
|
}
|
|
6056
6056
|
export declare type SetPermissionsBatchInput = ResourceAclDc[];
|
|
6057
|
-
export interface
|
|
6058
|
-
/**
|
|
6059
|
-
|
|
6057
|
+
export interface GetTableDataParams {
|
|
6058
|
+
/** String filter for the all text column (uses % and _ wild cards like SQL). */
|
|
6059
|
+
filter?: string;
|
|
6060
|
+
/**
|
|
6061
|
+
* Max number of rows to return.
|
|
6062
|
+
* @format int32
|
|
6063
|
+
*/
|
|
6064
|
+
limit?: number;
|
|
6065
|
+
/**
|
|
6066
|
+
* The first row index to return.
|
|
6067
|
+
* @format int32
|
|
6068
|
+
*/
|
|
6069
|
+
offset?: number;
|
|
6070
|
+
/** Include column with geometry. */
|
|
6071
|
+
includeGeometry?: boolean;
|
|
6072
|
+
/** Columns to select. */
|
|
6073
|
+
columns?: string[];
|
|
6074
|
+
/** Name of the table. */
|
|
6075
|
+
name: string;
|
|
6060
6076
|
}
|
|
6061
6077
|
export declare type UpdateTableDataPayload = Record<string, any>[];
|
|
6062
6078
|
export interface UpdateTableDataParams {
|
|
@@ -358,7 +358,7 @@ let SecurityService = /*#__PURE__*/function (_Service) {
|
|
|
358
358
|
* @tags SecurityService
|
|
359
359
|
* @name FindUserByName
|
|
360
360
|
* @operationId SecurityServiceController_FindUserByName
|
|
361
|
-
* @summary Returns the list of users found by username
|
|
361
|
+
* @summary Returns the list of users found by username.
|
|
362
362
|
* @request GET:/security/users
|
|
363
363
|
* @response `200` Success
|
|
364
364
|
*/
|
|
@@ -2605,6 +2605,27 @@ let TablesService = /*#__PURE__*/function (_Service) {
|
|
|
2605
2605
|
value: function getTableInfo(name) {
|
|
2606
2606
|
return this.http.get("/tables/" + name).json();
|
|
2607
2607
|
}
|
|
2608
|
+
/**
|
|
2609
|
+
* No description
|
|
2610
|
+
*
|
|
2611
|
+
* @tags Tables
|
|
2612
|
+
* @name GetTableData
|
|
2613
|
+
* @operationId TablesController_GetTableData
|
|
2614
|
+
* @summary Retrieves the data from the table.
|
|
2615
|
+
* @request GET:/tables/{name}/data
|
|
2616
|
+
* @response `200` Success
|
|
2617
|
+
*/
|
|
2618
|
+
|
|
2619
|
+
}, {
|
|
2620
|
+
key: "getTableData",
|
|
2621
|
+
value: function getTableData(_ref) {
|
|
2622
|
+
let {
|
|
2623
|
+
name
|
|
2624
|
+
} = _ref,
|
|
2625
|
+
query = _objectWithoutPropertiesLoose(_ref, ["name"]);
|
|
2626
|
+
|
|
2627
|
+
return this.http.get("/tables/" + name + "/data", query).json();
|
|
2628
|
+
}
|
|
2608
2629
|
/**
|
|
2609
2630
|
* No description
|
|
2610
2631
|
*
|
|
@@ -2618,11 +2639,11 @@ let TablesService = /*#__PURE__*/function (_Service) {
|
|
|
2618
2639
|
|
|
2619
2640
|
}, {
|
|
2620
2641
|
key: "updateTableData",
|
|
2621
|
-
value: function updateTableData(
|
|
2642
|
+
value: function updateTableData(_ref2, data) {
|
|
2622
2643
|
let {
|
|
2623
2644
|
name
|
|
2624
|
-
} =
|
|
2625
|
-
query = _objectWithoutPropertiesLoose(
|
|
2645
|
+
} = _ref2,
|
|
2646
|
+
query = _objectWithoutPropertiesLoose(_ref2, ["name"]);
|
|
2626
2647
|
|
|
2627
2648
|
return this.http.patch("/tables/" + name + "/data", data, query).then(() => {});
|
|
2628
2649
|
}
|
|
@@ -2639,11 +2660,11 @@ let TablesService = /*#__PURE__*/function (_Service) {
|
|
|
2639
2660
|
|
|
2640
2661
|
}, {
|
|
2641
2662
|
key: "deleteTableData",
|
|
2642
|
-
value: function deleteTableData(
|
|
2663
|
+
value: function deleteTableData(_ref3) {
|
|
2643
2664
|
let {
|
|
2644
2665
|
name
|
|
2645
|
-
} =
|
|
2646
|
-
query = _objectWithoutPropertiesLoose(
|
|
2666
|
+
} = _ref3,
|
|
2667
|
+
query = _objectWithoutPropertiesLoose(_ref3, ["name"]);
|
|
2647
2668
|
|
|
2648
2669
|
return this.http.delete("/tables/" + name + "/data", null, query).then(() => {});
|
|
2649
2670
|
}
|
|
@@ -2660,11 +2681,11 @@ let TablesService = /*#__PURE__*/function (_Service) {
|
|
|
2660
2681
|
|
|
2661
2682
|
}, {
|
|
2662
2683
|
key: "getUniqueDataRows",
|
|
2663
|
-
value: function getUniqueDataRows(
|
|
2684
|
+
value: function getUniqueDataRows(_ref4) {
|
|
2664
2685
|
let {
|
|
2665
2686
|
name
|
|
2666
|
-
} =
|
|
2667
|
-
query = _objectWithoutPropertiesLoose(
|
|
2687
|
+
} = _ref4,
|
|
2688
|
+
query = _objectWithoutPropertiesLoose(_ref4, ["name"]);
|
|
2668
2689
|
|
|
2669
2690
|
return this.http.get("/tables/" + name + "/data/unique-values", query).json();
|
|
2670
2691
|
}
|