@evergis/api 5.0.24 → 5.0.26

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 CHANGED
@@ -1,21 +1,21 @@
1
- MIT License
2
-
3
- Copyright (c) 2025 Everpoint
4
-
5
- Permission is hereby granted, free of charge, to any person obtaining a copy
6
- of this software and associated documentation files (the "Software"), to deal
7
- in the Software without restriction, including without limitation the rights
8
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
- copies of the Software, and to permit persons to whom the Software is
10
- furnished to do so, subject to the following conditions:
11
-
12
- The above copyright notice and this permission notice shall be included in all
13
- copies or substantial portions of the Software.
14
-
15
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
- SOFTWARE.
1
+ MIT License
2
+
3
+ Copyright (c) 2025 Everpoint
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md CHANGED
@@ -1,12 +1,12 @@
1
- # @evergis/api
2
-
3
- Библиотека API.
4
-
5
- ### Генерирование API
6
-
7
- ```shell
8
- $ yarn generate
9
- ```
10
-
11
- ***ВАЖНО!!!***: Никогда и ни при каких обстоятельствах нельзя вручную править файлы,
12
- размещенные в директории `src/__generated__`!
1
+ # @evergis/api
2
+
3
+ Библиотека API.
4
+
5
+ ### Генерирование API
6
+
7
+ ```shell
8
+ $ yarn generate
9
+ ```
10
+
11
+ ***ВАЖНО!!!***: Никогда и ни при каких обстоятельствах нельзя вручную править файлы,
12
+ размещенные в директории `src/__generated__`!
@@ -1,5 +1,5 @@
1
1
  import { Service } from './Service';
2
- import { AuthenticateParams, ChangeEmailParams, ChangePasswordPayload, ConfirmChangeEmailParams, ConfirmEmail1Params, CreateNamespaceParams, CreateRoleDc, CreateUserDc, CreateUserParams, ExtendedUserInfoDc, GetExtendedUsersParams, GetRolesParams, GetUsersParams, IsEmailExistsParams, IsUsernameExistsParams, LoginDc, LoginResultDc, NamespaceInfoDc, PagedListExtendedUserInfoDc, PagedListRoleInfoDc, PagedListUserInfoDc, RefreshTokenDc, RegisterClientRequestDc, RegisterClientResponseDc, RegisterUserDc, ResetPasswordCallbackPayload, ResetPasswordParams, SetEmailPayload, TokenRequestDc, TokenResponseDc, UpdateRoleDc, UpdateUserDc, UsedProjectDc, UserInfoDc } from './data-contracts';
2
+ import { AuthenticateParams, ChangeEmailParams, ChangePasswordPayload, ConfirmChangeEmailParams, ConfirmEmail1Params, CreateNamespaceParams, CreateRoleDc, CreateUserDc, CreateUserParams, ExtendedUserInfoDc, GetExtendedUsersParams, GetRolesParams, GetUsersParams, IsEmailExistsParams, IsUsernameExistsParams, LoginDc, LoginResultDc, NamespaceInfoDc, PagedListExtendedUserInfoDc, PagedListRoleInfoDc, PagedListUserInfoDc, RefreshTokenDc, RegisterClientRequestDc, RegisterClientResponseDc, RegisterUserDc, RemoveNamespaceParams, ResetPasswordCallbackPayload, ResetPasswordParams, SetEmailPayload, TokenRequestDc, TokenResponseDc, UpdateRoleDc, UpdateUserDc, UsedProjectDc, UserInfoDc } from './data-contracts';
3
3
  /**
4
4
  * @title Spatial Processing Gateway API
5
5
  * @version 1.5.1.0
@@ -294,7 +294,7 @@ export declare class AccountService extends Service {
294
294
  * @secure
295
295
  * @response `200` OK
296
296
  */
297
- removeNamespace(name: string): Promise<void>;
297
+ removeNamespace({ name, ...query }: RemoveNamespaceParams): Promise<void>;
298
298
  /**
299
299
  * No description
300
300
  *
@@ -2724,10 +2724,6 @@ export type RemoteTileServiceConfigurationDc = ServiceConfigurationBaseDc & {
2724
2724
  * Service info for a tile service.
2725
2725
  */
2726
2726
  export type RemoteTileServiceInfoDc = ServiceInfoDc & {
2727
- /** Tile info structure. */
2728
- tileInfo: TileInfoDc;
2729
- /** SourceBatch server address. */
2730
- sourceUrl?: string | null;
2731
2727
  /** Mask for getting tiles in default form www.{s}.tiles.com/{z}/{x}/{y}.png. */
2732
2728
  sourceUrlMask?: string | null;
2733
2729
  /** SourceBatch servers, what can be placed at source url mask, instead {s}. */
@@ -4250,6 +4246,15 @@ export interface CreateNamespaceParams {
4250
4246
  */
4251
4247
  adjustName?: boolean;
4252
4248
  }
4249
+ export interface RemoveNamespaceParams {
4250
+ /**
4251
+ * Hard delete flag.
4252
+ * @default false
4253
+ */
4254
+ hardDelete?: boolean;
4255
+ /** Namespace name. */
4256
+ name: string;
4257
+ }
4253
4258
  export interface AuthenticateParams {
4254
4259
  /**
4255
4260
  * Client id.
package/dist/api.esm.js CHANGED
@@ -472,8 +472,8 @@ class AccountService extends Service {
472
472
  * @secure
473
473
  * @response `200` OK
474
474
  */
475
- removeNamespace(name) {
476
- return this.http.delete(`/account/namespace/${name}`, null).then(() => { });
475
+ removeNamespace({ name, ...query }) {
476
+ return this.http.delete(`/account/namespace/${name}`, null, query).then(() => { });
477
477
  }
478
478
  /**
479
479
  * No description