@evergis/api 4.1.9 → 4.1.12
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__/AccountService.d.ts +2 -2
- package/dist/__generated__/QueryTokenAccessService.d.ts +2 -2
- package/dist/__generated__/data-contracts.d.ts +46 -23
- package/dist/api.esm.js +1569 -1563
- package/dist/api.esm.js.map +1 -1
- package/dist/hooks/index.d.ts +1 -0
- package/dist/hooks/useToken.d.ts +4 -0
- package/dist/index.d.ts +3 -2
- package/dist/index.js +1569 -1562
- package/dist/index.js.map +1 -1
- package/dist/services/Account.d.ts +3 -3
- package/package.json +2 -2
|
@@ -115,7 +115,7 @@ export declare class AccountService extends Service {
|
|
|
115
115
|
*/
|
|
116
116
|
registerUser(data: RegisterUserDc): Promise<string>;
|
|
117
117
|
/**
|
|
118
|
-
* @description Only for users with
|
|
118
|
+
* @description Only for users with Everpoint.Sdk.Security.Abstractions.ISecurityManager.SuperuserRole role.
|
|
119
119
|
*
|
|
120
120
|
* @tags Account
|
|
121
121
|
* @name CreateUser
|
|
@@ -139,7 +139,7 @@ export declare class AccountService extends Service {
|
|
|
139
139
|
*/
|
|
140
140
|
updateUser(data: UpdateUserDc): Promise<void>;
|
|
141
141
|
/**
|
|
142
|
-
* @description Only for users with
|
|
142
|
+
* @description Only for users with Everpoint.Sdk.Security.Abstractions.ISecurityManager.SuperuserRole role.
|
|
143
143
|
*
|
|
144
144
|
* @tags Account
|
|
145
145
|
* @name ConfirmEmail
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Service } from './Service';
|
|
2
|
-
import { GetTokensListParams, PagedListQueryTokenDc } from './data-contracts';
|
|
2
|
+
import { CreateTokenParams, GetTokensListParams, PagedListQueryTokenDc } from './data-contracts';
|
|
3
3
|
/**
|
|
4
4
|
* @title Spatial Processing Core API
|
|
5
5
|
* @version 1.5.1.0
|
|
@@ -27,7 +27,7 @@ export declare class QueryTokenAccessService extends Service {
|
|
|
27
27
|
* @secure
|
|
28
28
|
* @response `200` OK
|
|
29
29
|
*/
|
|
30
|
-
createToken(username
|
|
30
|
+
createToken({ username, ...query }: CreateTokenParams): Promise<string>;
|
|
31
31
|
/**
|
|
32
32
|
* No description
|
|
33
33
|
*
|
|
@@ -1272,6 +1272,8 @@ export interface CreateDirectoryDc {
|
|
|
1272
1272
|
isTemporary?: boolean;
|
|
1273
1273
|
/** Resource icon. */
|
|
1274
1274
|
icon?: string;
|
|
1275
|
+
/** Rewrite if exists. */
|
|
1276
|
+
rewrite?: boolean;
|
|
1275
1277
|
}
|
|
1276
1278
|
/**
|
|
1277
1279
|
* Data contract for create new role.
|
|
@@ -1323,14 +1325,14 @@ export interface CreateSymbolDc {
|
|
|
1323
1325
|
* Data contract for create new user.
|
|
1324
1326
|
*/
|
|
1325
1327
|
export interface CreateUserDc {
|
|
1326
|
-
/** Password. */
|
|
1327
|
-
password?: string;
|
|
1328
1328
|
/** First name. */
|
|
1329
1329
|
first_name?: string;
|
|
1330
1330
|
/** Last name. */
|
|
1331
1331
|
last_name?: string;
|
|
1332
|
-
/**
|
|
1333
|
-
|
|
1332
|
+
/** Patronymic. */
|
|
1333
|
+
patronymic?: string;
|
|
1334
|
+
/** Phone number. */
|
|
1335
|
+
phone?: string;
|
|
1334
1336
|
/** Has newsletter subscription. */
|
|
1335
1337
|
is_subscribed?: boolean;
|
|
1336
1338
|
/** Whether to open the last used project when opening a client. */
|
|
@@ -1350,8 +1352,8 @@ export interface CreateUserDc {
|
|
|
1350
1352
|
* @format email
|
|
1351
1353
|
*/
|
|
1352
1354
|
email?: string;
|
|
1353
|
-
/**
|
|
1354
|
-
|
|
1355
|
+
/** Password. */
|
|
1356
|
+
password?: string;
|
|
1355
1357
|
}
|
|
1356
1358
|
/**
|
|
1357
1359
|
* Create view from query layer data contract.
|
|
@@ -1854,8 +1856,12 @@ export interface ExtendedUserInfoDc {
|
|
|
1854
1856
|
first_name?: string;
|
|
1855
1857
|
/** Last name. */
|
|
1856
1858
|
last_name?: string;
|
|
1859
|
+
/** Patronymic. */
|
|
1860
|
+
patronymic?: string;
|
|
1857
1861
|
/** Email. */
|
|
1858
1862
|
email?: string;
|
|
1863
|
+
/** Phone number. */
|
|
1864
|
+
phone?: string;
|
|
1859
1865
|
/** Namespace. */
|
|
1860
1866
|
namespace?: string;
|
|
1861
1867
|
/** Photo. */
|
|
@@ -2611,7 +2617,7 @@ export interface ImportLayerDataSchemaDc {
|
|
|
2611
2617
|
/** Storage type. */
|
|
2612
2618
|
type?: string;
|
|
2613
2619
|
/** First feature in the layer. */
|
|
2614
|
-
|
|
2620
|
+
rows?: FeatureDc[];
|
|
2615
2621
|
/**
|
|
2616
2622
|
* Number of objects in the layer.
|
|
2617
2623
|
* @format int64
|
|
@@ -2628,11 +2634,8 @@ export interface ImportLayerDataSchemaDc {
|
|
|
2628
2634
|
* Information about the layer attributes and their configuration.
|
|
2629
2635
|
*/
|
|
2630
2636
|
export interface LayerDefinitionDc {
|
|
2631
|
-
/**
|
|
2632
|
-
|
|
2633
|
-
* @minLength 1
|
|
2634
|
-
*/
|
|
2635
|
-
idAttribute: string;
|
|
2637
|
+
/** The name of the attribute that is used to uniquely identify a feature in the layer. */
|
|
2638
|
+
idAttribute?: string;
|
|
2636
2639
|
/** The name of the attribute that is used as a displayed name of a feature in the layer. */
|
|
2637
2640
|
titleAttribute?: string;
|
|
2638
2641
|
/** The name of the attribute that is used for assigning geometry value for the feature. */
|
|
@@ -2661,7 +2664,7 @@ export interface LayerDefinitionDc {
|
|
|
2661
2664
|
/** Sets false if the layer is readonly. */
|
|
2662
2665
|
isEditable?: boolean;
|
|
2663
2666
|
/** The description of the attributes of the layer. */
|
|
2664
|
-
attributes
|
|
2667
|
+
attributes?: Record<string, AttributeDefinitionDc>;
|
|
2665
2668
|
}
|
|
2666
2669
|
/**
|
|
2667
2670
|
* Layer reference configuration.
|
|
@@ -2912,8 +2915,8 @@ export interface NamespaceInfoDc {
|
|
|
2912
2915
|
* @format date-time
|
|
2913
2916
|
*/
|
|
2914
2917
|
created?: string;
|
|
2915
|
-
/** Access control list. */
|
|
2916
|
-
acl?:
|
|
2918
|
+
/** Access control list for a security object. */
|
|
2919
|
+
acl?: AccessControlListDc;
|
|
2917
2920
|
}
|
|
2918
2921
|
/**
|
|
2919
2922
|
* RasterMetaDc.
|
|
@@ -4209,8 +4212,6 @@ export interface RegisterUserDc {
|
|
|
4209
4212
|
* @format email
|
|
4210
4213
|
*/
|
|
4211
4214
|
email?: string;
|
|
4212
|
-
/** Phone number. */
|
|
4213
|
-
phone?: string;
|
|
4214
4215
|
/** Password. */
|
|
4215
4216
|
password?: string;
|
|
4216
4217
|
}
|
|
@@ -6079,14 +6080,14 @@ export interface UpdateUserDc {
|
|
|
6079
6080
|
company?: string;
|
|
6080
6081
|
/** Gets or sets position. */
|
|
6081
6082
|
position?: string;
|
|
6082
|
-
/** Password. */
|
|
6083
|
-
password?: string;
|
|
6084
6083
|
/** First name. */
|
|
6085
6084
|
first_name?: string;
|
|
6086
6085
|
/** Last name. */
|
|
6087
6086
|
last_name?: string;
|
|
6088
|
-
/**
|
|
6089
|
-
|
|
6087
|
+
/** Patronymic. */
|
|
6088
|
+
patronymic?: string;
|
|
6089
|
+
/** Phone number. */
|
|
6090
|
+
phone?: string;
|
|
6090
6091
|
/** Has newsletter subscription. */
|
|
6091
6092
|
is_subscribed?: boolean;
|
|
6092
6093
|
/** Whether to open the last used project when opening a client. */
|
|
@@ -6106,8 +6107,8 @@ export interface UpdateUserDc {
|
|
|
6106
6107
|
* @format email
|
|
6107
6108
|
*/
|
|
6108
6109
|
email?: string;
|
|
6109
|
-
/**
|
|
6110
|
-
|
|
6110
|
+
/** Password. */
|
|
6111
|
+
password?: string;
|
|
6111
6112
|
}
|
|
6112
6113
|
/**
|
|
6113
6114
|
* Set used project.
|
|
@@ -6134,8 +6135,12 @@ export interface UserInfoDc {
|
|
|
6134
6135
|
first_name?: string;
|
|
6135
6136
|
/** Last name. */
|
|
6136
6137
|
last_name?: string;
|
|
6138
|
+
/** Patronymic. */
|
|
6139
|
+
patronymic?: string;
|
|
6137
6140
|
/** Email. */
|
|
6138
6141
|
email?: string;
|
|
6142
|
+
/** Phone number. */
|
|
6143
|
+
phone?: string;
|
|
6139
6144
|
/** Namespace. */
|
|
6140
6145
|
namespace?: string;
|
|
6141
6146
|
/** Photo. */
|
|
@@ -7033,6 +7038,18 @@ export interface SuggestParams {
|
|
|
7033
7038
|
export interface GetDataSchemaParams {
|
|
7034
7039
|
/** Resource id. */
|
|
7035
7040
|
resourceId?: string;
|
|
7041
|
+
/** CSV columns delimiter. */
|
|
7042
|
+
csvDelimiter?: string;
|
|
7043
|
+
/**
|
|
7044
|
+
* Returned elements limit.
|
|
7045
|
+
* @format int32
|
|
7046
|
+
*/
|
|
7047
|
+
limit?: number;
|
|
7048
|
+
/**
|
|
7049
|
+
* Returned elements offset.
|
|
7050
|
+
* @format int32
|
|
7051
|
+
*/
|
|
7052
|
+
offset?: number;
|
|
7036
7053
|
}
|
|
7037
7054
|
export interface ReadPartParams {
|
|
7038
7055
|
/** Name of the layer. */
|
|
@@ -7621,6 +7638,12 @@ export interface GetTokensListParams {
|
|
|
7621
7638
|
/** @default "" */
|
|
7622
7639
|
username: string;
|
|
7623
7640
|
}
|
|
7641
|
+
export interface CreateTokenParams {
|
|
7642
|
+
/** @format date-time */
|
|
7643
|
+
validBefore?: string;
|
|
7644
|
+
/** @default "" */
|
|
7645
|
+
username: string;
|
|
7646
|
+
}
|
|
7624
7647
|
export interface GetTaskPrototypesParams {
|
|
7625
7648
|
/** Username. */
|
|
7626
7649
|
Username?: string;
|