@evergis/api 3.0.42 → 3.0.43

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.
@@ -1,4 +1,4 @@
1
- import { ChangeEmailParams, ChangePasswordPayload, ConfirmChangeEmailParams, ConfirmEmail1Params, CreateRoleDc, CreateUserDc, CreateUserParams, ExtendedUserInfoDc, GetExtendedUsersParams, GetRolesParams, GetUsersParams, IsEmailExistsParams, IsUsernameExistsParams, ListResponseExtendedUserInfoDc, ListResponseString, ListResponseUserInfoDc, LoginDc, RegisterUserDc, ResetPasswordCallbackPayload, ResetPasswordParams, SetEmailPayload, SetUserPasswordPayload, UpdateRoleDc, UpdateUserDc, UsedProjectDc, UserInfoDc } from './data-contracts';
1
+ import { ChangeEmailParams, ChangePasswordPayload, ConfirmChangeEmailParams, ConfirmEmail1Params, CreateRoleDc, CreateUserDc, CreateUserParams, ExtendedUserInfoDc, GetExtendedUsersParams, GetRolesParams, GetUsersParams, IsEmailExistsParams, IsUsernameExistsParams, ListResponseExtendedUserInfoDc, ListResponseRoleInfoDc, ListResponseUserInfoDc, LoginDc, RegisterUserDc, ResetPasswordCallbackPayload, ResetPasswordParams, SetEmailPayload, SetUserPasswordPayload, UpdateRoleDc, UpdateUserDc, UsedProjectDc, UserInfoDc } from './data-contracts';
2
2
  import { Service } from './Service';
3
3
  /**
4
4
  * @title Spatial Processing Core API
@@ -291,7 +291,7 @@ export declare class AccountService extends Service {
291
291
  * @request GET:/account/role/list
292
292
  * @response `200` Success
293
293
  */
294
- getRoles(query: GetRolesParams): Promise<ListResponseString>;
294
+ getRoles(query: GetRolesParams): Promise<ListResponseRoleInfoDc>;
295
295
  /**
296
296
  * No description
297
297
  *
@@ -1,4 +1,4 @@
1
- import { FindUserByNameParams, GetPolicyListParams, PolicyDc, RemovePolicyParams } from './data-contracts';
1
+ import { FindUserByNameParams, GetPolicyListParams, PolicyDc, RemovePolicyParams, SearchedUserDc } from './data-contracts';
2
2
  import { Service } from './Service';
3
3
  /**
4
4
  * @title Spatial Processing Core API
@@ -16,7 +16,7 @@ export declare class SecurityService extends Service {
16
16
  * @request GET:/security/users
17
17
  * @response `200` Success
18
18
  */
19
- findUserByName(query: FindUserByNameParams): Promise<string[]>;
19
+ findUserByName(query: FindUserByNameParams): Promise<SearchedUserDc[]>;
20
20
  /**
21
21
  * @description This method requires superuser permission.
22
22
  *
@@ -2356,9 +2356,9 @@ export interface ListResponseProjectInfoPubDc {
2356
2356
  /**
2357
2357
  * The response that contains a paged list of items.
2358
2358
  */
2359
- export interface ListResponseServiceInfoPubDc {
2359
+ export interface ListResponseRoleInfoDc {
2360
2360
  /** The items of the response. */
2361
- items?: ServiceInfoPubDc[];
2361
+ items?: RoleInfoDc[];
2362
2362
  /** @format int64 */
2363
2363
  totalCount?: number;
2364
2364
  /** @format int64 */
@@ -2369,9 +2369,9 @@ export interface ListResponseServiceInfoPubDc {
2369
2369
  /**
2370
2370
  * The response that contains a paged list of items.
2371
2371
  */
2372
- export interface ListResponseServiceListItemDc {
2372
+ export interface ListResponseServiceInfoPubDc {
2373
2373
  /** The items of the response. */
2374
- items?: ServiceListItemDc[];
2374
+ items?: ServiceInfoPubDc[];
2375
2375
  /** @format int64 */
2376
2376
  totalCount?: number;
2377
2377
  /** @format int64 */
@@ -2382,9 +2382,9 @@ export interface ListResponseServiceListItemDc {
2382
2382
  /**
2383
2383
  * The response that contains a paged list of items.
2384
2384
  */
2385
- export interface ListResponseString {
2385
+ export interface ListResponseServiceListItemDc {
2386
2386
  /** The items of the response. */
2387
- items?: string[];
2387
+ items?: ServiceListItemDc[];
2388
2388
  /** @format int64 */
2389
2389
  totalCount?: number;
2390
2390
  /** @format int64 */
@@ -3280,6 +3280,18 @@ export declare enum ResourceTypeLink {
3280
3280
  Layer = "layers",
3281
3281
  Project = "projects"
3282
3282
  }
3283
+ /**
3284
+ * Short role information.
3285
+ */
3286
+ export interface RoleInfoDc {
3287
+ /** Username. */
3288
+ name?: string;
3289
+ /**
3290
+ * The number of users in the role.
3291
+ * @format int32
3292
+ */
3293
+ usersInRole?: number;
3294
+ }
3283
3295
  /**
3284
3296
  * Roles permission.
3285
3297
  */
@@ -3327,6 +3339,15 @@ export declare type ScaleBarElementDc = ModelElementDc & {
3327
3339
  font?: string;
3328
3340
  fontSize?: number;
3329
3341
  };
3342
+ /**
3343
+ * Suggest user information.
3344
+ */
3345
+ export interface SearchedUserDc {
3346
+ /** Username. */
3347
+ username?: string;
3348
+ /** Photo. */
3349
+ photo?: string;
3350
+ }
3330
3351
  /**
3331
3352
  * General information about the server.
3332
3353
  */
@@ -5001,6 +5022,8 @@ export interface WorkspaceLimitsDc {
5001
5022
  export interface GetUsersParams {
5002
5023
  /** String filter for the user name (uses % and _ wild cards like SQL). */
5003
5024
  filter?: string;
5025
+ /** Ordering property name. */
5026
+ orderBy?: string;
5004
5027
  /**
5005
5028
  * First index in the list to get.
5006
5029
  * @format int32
@@ -5021,6 +5044,8 @@ export interface GetUsersParams {
5021
5044
  export interface GetExtendedUsersParams {
5022
5045
  /** String filter for the user name (uses % and _ wild cards like SQL). */
5023
5046
  filter?: string;
5047
+ /** Ordering property name. */
5048
+ orderBy?: string;
5024
5049
  /**
5025
5050
  * First index in the list to get.
5026
5051
  * @format int32
@@ -5091,6 +5116,8 @@ export interface ResetPasswordCallbackPayload {
5091
5116
  export interface GetRolesParams {
5092
5117
  /** String filter for the role name (uses % and _ wild cards like SQL). */
5093
5118
  filter?: string;
5119
+ /** Ordering property name. */
5120
+ orderBy?: string;
5094
5121
  /** Include system roles (starts from '__'). */
5095
5122
  withSystem?: boolean;
5096
5123
  /**