@evergis/api 3.0.41 → 3.0.42

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, GetRolesParams, GetUsersParams, IsEmailExistsParams, IsUsernameExistsParams, 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, ListResponseString, 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
@@ -17,6 +17,17 @@ export declare class AccountService extends Service {
17
17
  * @response `200` Success
18
18
  */
19
19
  getUsers(query: GetUsersParams): Promise<ListResponseUserInfoDc>;
20
+ /**
21
+ * No description
22
+ *
23
+ * @tags Account
24
+ * @name GetExtendedUsers
25
+ * @operationId AccountController_GetExtendedUsers
26
+ * @summary Returns the list of extended users informations that correspond to the given conditions.
27
+ * @request GET:/account/user/extendedlist
28
+ * @response `200` Success
29
+ */
30
+ getExtendedUsers(query: GetExtendedUsersParams): Promise<ListResponseExtendedUserInfoDc>;
20
31
  /**
21
32
  * No description
22
33
  *
@@ -2301,6 +2301,19 @@ export declare enum LineEndingType {
2301
2301
  Circle = "circle",
2302
2302
  FilledCircle = "filledCircle"
2303
2303
  }
2304
+ /**
2305
+ * The response that contains a paged list of items.
2306
+ */
2307
+ export interface ListResponseExtendedUserInfoDc {
2308
+ /** The items of the response. */
2309
+ items?: ExtendedUserInfoDc[];
2310
+ /** @format int64 */
2311
+ totalCount?: number;
2312
+ /** @format int64 */
2313
+ offset?: number;
2314
+ /** @format int64 */
2315
+ limit?: number;
2316
+ }
2304
2317
  /**
2305
2318
  * The response that contains a paged list of items.
2306
2319
  */
@@ -3377,6 +3390,13 @@ export interface ServiceConfigurationBaseDc {
3377
3390
  acl?: AccessControlListDc;
3378
3391
  /** Base64 encoded image - icon of the resource. */
3379
3392
  icon?: string;
3393
+ /**
3394
+ * <br>
3395
+ * If the owner user is set, a configuration will be created for that user.
3396
+ * Administrator permissions are required to perform this operation.
3397
+ *
3398
+ */
3399
+ owner?: string;
3380
3400
  }
3381
3401
  /**
3382
3402
  * Description of a service in the Spatial Processor.
@@ -3668,6 +3688,13 @@ export interface SharedProjectConfigurationDc {
3668
3688
  acl?: AccessControlListDc;
3669
3689
  /** Base64 encoded image - icon of the resource. */
3670
3690
  icon?: string;
3691
+ /**
3692
+ * <br>
3693
+ * If the owner user is set, a configuration will be created for that user.
3694
+ * Administrator permissions are required to perform this operation.
3695
+ *
3696
+ */
3697
+ owner?: string;
3671
3698
  }
3672
3699
  /**
3673
3700
  * The {SharedProjectInfoDc} describes shared project info data contract.
@@ -4991,6 +5018,26 @@ export interface GetUsersParams {
4991
5018
  /** If given, will retrieve only users that have one of the given roles. */
4992
5019
  roles?: string[];
4993
5020
  }
5021
+ export interface GetExtendedUsersParams {
5022
+ /** String filter for the user name (uses % and _ wild cards like SQL). */
5023
+ filter?: string;
5024
+ /**
5025
+ * First index in the list to get.
5026
+ * @format int32
5027
+ */
5028
+ offset?: number;
5029
+ /**
5030
+ * Max number of entries in the returned list.
5031
+ * @format int32
5032
+ */
5033
+ limit?: number;
5034
+ /** If given, will retrieve only users that belong to one of the given username. */
5035
+ users?: string[];
5036
+ /** If given, will retrieve only users that belong to one of the given groups. */
5037
+ groups?: string[];
5038
+ /** If given, will retrieve only users that have one of the given roles. */
5039
+ roles?: string[];
5040
+ }
4994
5041
  export interface IsUsernameExistsParams {
4995
5042
  /** User name to check. */
4996
5043
  username: string;
@@ -92,7 +92,7 @@ function _isNativeReflectConstruct() {
92
92
  if (typeof Proxy === "function") return true;
93
93
 
94
94
  try {
95
- Date.prototype.toString.call(Reflect.construct(Date, [], function () {}));
95
+ Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {}));
96
96
  return true;
97
97
  } catch (e) {
98
98
  return false;
@@ -4372,6 +4372,22 @@ let AccountService = /*#__PURE__*/function (_Service) {
4372
4372
  value: function getUsers(query) {
4373
4373
  return this.http.get("/account/user/list", query).json();
4374
4374
  }
4375
+ /**
4376
+ * No description
4377
+ *
4378
+ * @tags Account
4379
+ * @name GetExtendedUsers
4380
+ * @operationId AccountController_GetExtendedUsers
4381
+ * @summary Returns the list of extended users informations that correspond to the given conditions.
4382
+ * @request GET:/account/user/extendedlist
4383
+ * @response `200` Success
4384
+ */
4385
+
4386
+ }, {
4387
+ key: "getExtendedUsers",
4388
+ value: function getExtendedUsers(query) {
4389
+ return this.http.get("/account/user/extendedlist", query).json();
4390
+ }
4375
4391
  /**
4376
4392
  * No description
4377
4393
  *