@evergis/api 4.1.22 → 4.1.24

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 +1 @@
1
- {"version":3,"file":"api.esm.js","sources":["../src/constants.ts","../src/hooks/useToken.ts","../src/utils/user.ts","../src/__generated__/HttpClient.ts","../src/__generated__/Service.ts","../src/__generated__/AccountService.ts","../src/services/Account.ts","../src/__generated__/AccountPreviewService.ts","../src/services/AccountPreview.ts","../src/__generated__/ExternalProvidersService.ts","../src/services/External.ts","../src/__generated__/BulkOperationsService.ts","../src/services/BulkOperations.ts","../src/__generated__/CamerasService.ts","../src/services/Cameras.ts","../src/__generated__/ClientSettingsService.ts","../src/services/ClientSettings.ts","../src/__generated__/EqlService.ts","../src/services/Eql.ts","../src/__generated__/FeedbackService.ts","../src/services/Feedback.ts","../src/__generated__/CatalogService.ts","../src/services/FileUpload.ts","../src/__generated__/FiltersService.ts","../src/services/Filters.ts","../src/__generated__/GeocodeService.ts","../src/services/Geocode.ts","../src/__generated__/ImportService.ts","../src/services/Import.ts","../src/utils/errorHandler.ts","../src/utils/formDataFromFile.ts","../src/utils/isString.ts","../src/__generated__/DataSourceService.ts","../src/__generated__/QueryTokenAccessService.ts","../src/__generated__/SpatialReferencesService.ts","../src/ApiEvent.ts","../src/EventEmitter.ts","../src/Api.ts","../src/utils/location.ts","../src/utils/parseJwt.ts","../src/utils/promiseAllIgnoreErrors.ts","../src/utils/unique.ts","../src/utils/generateId.ts","../src/utils/stripUselessSlashes.ts","../src/__generated__/LayersService.ts","../src/services/Layers.ts","../src/services/Names.ts","../src/__generated__/NotificationService.ts","../src/services/Notification.ts","../src/services/PortalSettings.ts","../src/__generated__/ProjectsService.ts","../src/services/Projects.ts","../src/__generated__/RemoteTaskManagerService.ts","../src/services/RemoteTaskManager.ts","../src/services/Resources.ts","../src/__generated__/SecurityService.ts","../src/services/Security.ts","../src/__generated__/StatisticService.ts","../src/services/Statistic.ts","../src/__generated__/TablesService.ts","../src/services/Tables.ts","../src/__generated__/ToolsService.ts","../src/services/Tools.ts","../src/__generated__/VectorTileService.ts","../src/services/VectorTiles.ts","../src/__generated__/data-contracts.ts"],"sourcesContent":["export const API_USER_INFO_KEY = \"@evergis/user-info\";\r\n\r\nexport const STORAGE_TOKEN_KEY = \"evergis-jwt-token\";\r\nexport const STORAGE_REFRESH_TOKEN_KEY = \"evergis-refresh-token\";\r\n","import { STORAGE_REFRESH_TOKEN_KEY, STORAGE_TOKEN_KEY } from \"../constants\";\r\n\r\nexport const useToken = () => {\r\n const token = window.localStorage.getItem(STORAGE_TOKEN_KEY);\r\n const refreshToken = window.localStorage.getItem(STORAGE_REFRESH_TOKEN_KEY);\r\n\r\n return { token, refreshToken };\r\n};\r\n","import { API_USER_INFO_KEY } from \"../constants\";\r\n\r\nimport { UserInfoWithPhoto } from \"../services\";\r\n\r\nexport const getUserInfo = (): UserInfoWithPhoto | undefined =>\r\n JSON.parse(localStorage.getItem(API_USER_INFO_KEY) || \"null\") || void 0;\r\n\r\nexport const updateUserInfo = (\r\n newUserInfo?: Partial<UserInfoWithPhoto>,\r\n): void => {\r\n if (newUserInfo) {\r\n const oldUserInfo = getUserInfo();\r\n\r\n localStorage.setItem(\r\n API_USER_INFO_KEY,\r\n JSON.stringify({ ...oldUserInfo, ...newUserInfo }),\r\n );\r\n } else {\r\n localStorage.removeItem(API_USER_INFO_KEY);\r\n }\r\n};\r\n","/* eslint-disable */\n/* tslint:disable */\n/*\n * ---------------------------------------------------------------\n * ## THIS FILE WAS GENERATED VIA SWAGGER-TYPESCRIPT-API ##\n * ## ##\n * ## AUTHOR: acacode ##\n * ## SOURCE: https://github.com/acacode/swagger-typescript-api ##\n * ---------------------------------------------------------------\n */\n\nimport ky, { Options, ResponsePromise } from \"ky\";\nimport { stringify } from \"query-string\";\n\nexport { HTTPError, Options, TimeoutError } from \"ky\";\n\ntype SearchParams = Record<string | number, any>;\n\ntype AllowedBody = FormData | string | object | null;\n\nexport interface IHttpClient {\n extend(options: Options): void;\n get(url: string, params?: SearchParams): ResponsePromise;\n\n post(url: string, body?: AllowedBody, params?: SearchParams): ResponsePromise;\n\n put(url: string, body?: AllowedBody, params?: SearchParams): ResponsePromise;\n\n patch(url: string, body?: AllowedBody, params?: SearchParams): ResponsePromise;\n\n delete(url: string, body?: AllowedBody, params?: SearchParams): ResponsePromise;\n\n createUrl(url: string, params?: SearchParams): string;\n}\n\nexport class HttpClient implements IHttpClient {\n private ky: typeof ky;\n private prefixUrl: string;\n\n constructor(options: Options = {}) {\n this.ky = ky.extend(options);\n this.prefixUrl = options.prefixUrl?.toString() || \"\";\n }\n\n extend(options: Options) {\n this.ky = ky.extend(options);\n this.prefixUrl = options.prefixUrl?.toString() || \"\";\n }\n\n get(url: string, params?: SearchParams): ResponsePromise {\n return this.ky.get(this.stripSlashes(url), {\n searchParams: qs(params),\n });\n }\n\n post(url: string, body?: AllowedBody, params?: SearchParams): ResponsePromise {\n const options = kyOptions(params, body);\n return this.ky.post(this.stripSlashes(url), options);\n }\n\n put(url: string, body?: AllowedBody, params?: SearchParams): ResponsePromise {\n const options = kyOptions(params, body);\n return this.ky.put(this.stripSlashes(url), options);\n }\n\n patch(url: string, body?: AllowedBody, params?: SearchParams): ResponsePromise {\n const options = kyOptions(params, body);\n return this.ky.patch(this.stripSlashes(url), options);\n }\n\n delete(url: string, body?: AllowedBody, params?: SearchParams): ResponsePromise {\n const options = kyOptions(params, body);\n return this.ky.delete(this.stripSlashes(url), options);\n }\n\n createUrl(url: string, params?: SearchParams): string {\n const queryString = params ? `?${qs(params)}` : \"\";\n return this.prefixUrl + this.stripSlashes(url) + queryString;\n }\n\n private stripSlashes(url: string) {\n if (this.prefixUrl) {\n return url.replace(/^\\//g, \"\");\n }\n\n return url;\n }\n}\n\nfunction kyOptions(params?: SearchParams, body?: AllowedBody): Options {\n const options: Options = { searchParams: qs(params) };\n if (!isNotObject(body) || Array.isArray(body)) {\n options.json = body;\n } else {\n options.body = body;\n }\n\n return options;\n}\n\nfunction isNotObject(value: unknown): value is FormData | string {\n return !(value !== void 0 && typeof value === \"object\" && value !== null && value.constructor === Object);\n}\n\nfunction qs(params: SearchParams = {}): string {\n return stringify(params, { arrayFormat: \"comma\" });\n}\n\nexport function toFormData(input: any) {\n if (input instanceof FormData) {\n return input;\n }\n\n return Object.keys(input).reduce((data, key) => {\n data.append(key, input[key]);\n return data;\n }, new FormData());\n}\n","/* eslint-disable */\n/* tslint:disable */\n/*\n * ---------------------------------------------------------------\n * ## THIS FILE WAS GENERATED VIA SWAGGER-TYPESCRIPT-API ##\n * ## ##\n * ## AUTHOR: acacode ##\n * ## SOURCE: https://github.com/acacode/swagger-typescript-api ##\n * ---------------------------------------------------------------\n */\n\nimport { IHttpClient } from \"./HttpClient\";\n\nexport class Service {\n constructor(protected http: IHttpClient) {}\n}\n","/* eslint-disable */\n/* tslint:disable */\n/*\n * ---------------------------------------------------------------\n * ## THIS FILE WAS GENERATED VIA SWAGGER-TYPESCRIPT-API ##\n * ## ##\n * ## AUTHOR: acacode ##\n * ## SOURCE: https://github.com/acacode/swagger-typescript-api ##\n * ---------------------------------------------------------------\n */\n\n// @ts-nocheck\n\nimport { toFormData } from \"./HttpClient\";\nimport { Service } from \"./Service\";\nimport {\n AuthenticateParams,\n ChangeEmailParams,\n ChangePasswordPayload,\n ConfirmChangeEmailParams,\n ConfirmEmail1Params,\n CreateNamespaceParams,\n CreateRoleDc,\n CreateUserDc,\n CreateUserParams,\n ExtendedUserInfoDc,\n GetExtendedUsersParams,\n GetRolesParams,\n GetUsersParams,\n IsEmailExistsParams,\n IsUsernameExistsParams,\n LoginDc,\n LoginResultDc,\n NamespaceInfoDc,\n PagedListExtendedUserInfoDc,\n PagedListRoleInfoDc,\n PagedListUserInfoDc,\n RefreshTokenDc,\n RegisterClientRequestDc,\n RegisterClientResponseDc,\n RegisterUserDc,\n ResetPasswordCallbackPayload,\n ResetPasswordParams,\n SetEmailPayload,\n TokenRequestDc,\n TokenResponseDc,\n UpdateRoleDc,\n UpdateUserDc,\n UsedProjectDc,\n UserInfoDc,\n} from \"./data-contracts\";\n\n/**\n * @title Spatial Processing Core API\n * @version 1.5.1.0\n * @baseUrl /sp\n */\nexport class AccountService extends Service {\n /**\n * No description\n *\n * @tags Account\n * @name GetUsers\n * @operationId AccountController_GetUsers\n * @summary Returns the list of users that correspond to the given conditions.\n * @request GET:/account/user/list\n * @secure\n * @response `200` OK\n */\n getUsers(query: GetUsersParams) {\n return this.http.get(`/account/user/list`, query).json<PagedListUserInfoDc>();\n }\n /**\n * No description\n *\n * @tags Account\n * @name GetExtendedUsers\n * @operationId AccountController_GetExtendedUsers\n * @summary Returns the list of extended users informations that correspond to the given conditions.\n * @request GET:/account/user/extendedlist\n * @secure\n * @response `200` OK\n */\n getExtendedUsers(query: GetExtendedUsersParams) {\n return this.http.get(`/account/user/extendedlist`, query).json<PagedListExtendedUserInfoDc>();\n }\n /**\n * No description\n *\n * @tags Account\n * @name GetUserInfo\n * @operationId AccountController_GetUserInfo\n * @summary Get current user basic information.\n * @request GET:/account\n * @secure\n * @response `200` OK\n */\n getUserInfo() {\n return this.http.get(`/account`).json<UserInfoDc>();\n }\n /**\n * No description\n *\n * @tags Account\n * @name GetUserInfo1\n * @operationId AccountController_GetUserInfo_1\n * @summary Get user basic information.\n * @request GET:/account/{username}\n * @secure\n * @response `200` OK\n */\n getUserInfo1(username: string) {\n return this.http.get(`/account/${username}`).json<UserInfoDc>();\n }\n /**\n * No description\n *\n * @tags Account\n * @name GetExtendedUserInfo\n * @operationId AccountController_GetExtendedUserInfo\n * @summary Get current user extended information.\n * @request GET:/account/extended\n * @secure\n * @response `200` OK\n */\n getExtendedUserInfo() {\n return this.http.get(`/account/extended`).json<ExtendedUserInfoDc>();\n }\n /**\n * No description\n *\n * @tags Account\n * @name GetExtendedUserInfo1\n * @operationId AccountController_GetExtendedUserInfo_1\n * @summary Get user extended information.\n * @request GET:/account/extended/{username}\n * @secure\n * @response `200` OK\n */\n getExtendedUserInfo1(username: string) {\n return this.http.get(`/account/extended/${username}`).json<ExtendedUserInfoDc>();\n }\n /**\n * No description\n *\n * @tags Account\n * @name IsUsernameExists\n * @operationId AccountController_IsUsernameExists\n * @summary Checks if the user with the given name is registered in the system.\n * @request GET:/account/user/exists\n * @secure\n * @response `200` OK\n */\n isUsernameExists(query: IsUsernameExistsParams) {\n return this.http.get(`/account/user/exists`, query).json<boolean>();\n }\n /**\n * No description\n *\n * @tags Account\n * @name IsEmailExists\n * @operationId AccountController_IsEmailExists\n * @summary Checks if the user with the given email is registered in the system.\n * @request GET:/account/user/email/exists\n * @secure\n * @response `200` OK\n */\n isEmailExists(query: IsEmailExistsParams) {\n return this.http.get(`/account/user/email/exists`, query).json<boolean>();\n }\n /**\n * No description\n *\n * @tags Account\n * @name RegisterUser\n * @operationId AccountController_RegisterUser\n * @summary Register new user.\n * @request POST:/account/register\n * @secure\n * @response `200` OK\n */\n registerUser(data: RegisterUserDc) {\n return this.http.post(`/account/register`, data).text();\n }\n /**\n * @description Only for users with Everpoint.Sdk.Security.Abstractions.ISecurityManager.SuperuserRole role.\n *\n * @tags Account\n * @name CreateUser\n * @operationId AccountController_CreateUser\n * @summary Create new user.\n * @request POST:/account/user\n * @secure\n * @response `200` OK\n */\n createUser(query: CreateUserParams, data: CreateUserDc) {\n return this.http.post(`/account/user`, data, query).then(() => {});\n }\n /**\n * No description\n *\n * @tags Account\n * @name UpdateUser\n * @operationId AccountController_UpdateUser\n * @summary Update exist user.\n * @request PATCH:/account/user\n * @secure\n * @response `200` OK\n */\n updateUser(data: UpdateUserDc) {\n return this.http.patch(`/account/user`, data).then(() => {});\n }\n /**\n * @description Only for users with Everpoint.Sdk.Security.Abstractions.ISecurityManager.SuperuserRole role.\n *\n * @tags Account\n * @name ConfirmEmail\n * @operationId AccountController_ConfirmEmail\n * @summary Confirm user email.\n * @request POST:/account/user/{username}/email/confirm\n * @secure\n * @response `200` OK\n */\n confirmEmail(username: string) {\n return this.http.post(`/account/user/${username}/email/confirm`, null).then(() => {});\n }\n /**\n * No description\n *\n * @tags Account\n * @name VerifyEmail\n * @operationId AccountController_VerifyEmail\n * @summary Send email with verification code.\n * @request POST:/account/user/{username}/email/verify\n * @secure\n * @response `200` OK\n */\n verifyEmail(username: string) {\n return this.http.post(`/account/user/${username}/email/verify`, null).then(() => {});\n }\n /**\n * No description\n *\n * @tags Account\n * @name SetEmail\n * @operationId AccountController_SetEmail\n * @summary For a user that does not have a set email, sets the email and password. Requires email confirmation through link.\n * @request POST:/account/setEmail\n * @secure\n * @response `200` OK\n */\n setEmail(data: SetEmailPayload | FormData) {\n return this.http.post(`/account/setEmail`, toFormData(data)).then(() => {});\n }\n /**\n * No description\n *\n * @tags Account\n * @name ConfirmEmail1\n * @operationId AccountController_ConfirmEmail_1\n * @summary Confirm user email by code.\n * @request POST:/account/user/email/confirm\n * @secure\n * @response `200` OK\n */\n confirmEmail1(query: ConfirmEmail1Params) {\n return this.http.post(`/account/user/email/confirm`, null, query).then(() => {});\n }\n /**\n * No description\n *\n * @tags Account\n * @name ChangeEmail\n * @operationId AccountController_ChangeEmail\n * @summary Send email message with confirmation code to new email address.\n * @request POST:/account/user/email/change\n * @secure\n * @response `200` OK\n */\n changeEmail(query: ChangeEmailParams) {\n return this.http.post(`/account/user/email/change`, null, query).then(() => {});\n }\n /**\n * No description\n *\n * @tags Account\n * @name ConfirmChangeEmail\n * @operationId AccountController_ConfirmChangeEmail\n * @summary Check confirmation code and change email address.\n * @request POST:/account/user/email/change/confirm\n * @secure\n * @response `200` OK\n */\n confirmChangeEmail(query: ConfirmChangeEmailParams) {\n return this.http.post(`/account/user/email/change/confirm`, null, query).then(() => {});\n }\n /**\n * No description\n *\n * @tags Account\n * @name SetUserPassword\n * @operationId AccountController_SetUserPassword\n * @summary Set user password.\n * @request PATCH:/account/password/set\n * @secure\n * @response `200` OK\n */\n setUserPassword(data: LoginDc) {\n return this.http.patch(`/account/password/set`, data).then(() => {});\n }\n /**\n * No description\n *\n * @tags Account\n * @name ChangePassword\n * @operationId AccountController_ChangePassword\n * @summary Change current user password.\n * @request PATCH:/account/password/change\n * @secure\n * @response `200` OK\n */\n changePassword(data: ChangePasswordPayload | FormData) {\n return this.http.patch(`/account/password/change`, toFormData(data)).then(() => {});\n }\n /**\n * No description\n *\n * @tags Account\n * @name ResetPassword\n * @operationId AccountController_ResetPassword\n * @summary Send reset password message.\n * @request POST:/account/password/reset\n * @secure\n * @response `200` OK\n */\n resetPassword(query: ResetPasswordParams) {\n return this.http.post(`/account/password/reset`, null, query).then(() => {});\n }\n /**\n * No description\n *\n * @tags Account\n * @name ResetPasswordCallback\n * @operationId AccountController_ResetPasswordCallback\n * @summary Reset password.\n * @request POST:/account/password/reset/confirm\n * @secure\n * @response `200` OK\n */\n resetPasswordCallback(data: ResetPasswordCallbackPayload | FormData) {\n return this.http.post(`/account/password/reset/confirm`, toFormData(data)).then(() => {});\n }\n /**\n * No description\n *\n * @tags Account\n * @name RemoveUser\n * @operationId AccountController_RemoveUser\n * @summary Remove user.\n * @request DELETE:/account/user/{username}\n * @secure\n * @response `200` OK\n */\n removeUser(username: string) {\n return this.http.delete(`/account/user/${username}`, null).then(() => {});\n }\n /**\n * No description\n *\n * @tags Account\n * @name CreateNamespace\n * @operationId AccountController_CreateNamespace\n * @summary Creates a new namespace.\n * @request POST:/account/namespace\n * @secure\n * @response `200` OK\n */\n createNamespace(query: CreateNamespaceParams) {\n return this.http.post(`/account/namespace`, null, query).json<NamespaceInfoDc>();\n }\n /**\n * No description\n *\n * @tags Account\n * @name RemoveNamespace\n * @operationId AccountController_RemoveNamespaceAsync\n * @summary Remove namespace.\n * @request DELETE:/account/namespace/{name}\n * @secure\n * @response `200` OK\n */\n removeNamespace(name: string) {\n return this.http.delete(`/account/namespace/${name}`, null).then(() => {});\n }\n /**\n * No description\n *\n * @tags Account\n * @name ActivateUser\n * @operationId AccountController_ActivateUser\n * @summary Activate user.\n * @request POST:/account/user/{username}/activate\n * @secure\n * @response `200` OK\n */\n activateUser(username: string) {\n return this.http.post(`/account/user/${username}/activate`, null).then(() => {});\n }\n /**\n * No description\n *\n * @tags Account\n * @name DeactivateUser\n * @operationId AccountController_DeactivateUser\n * @summary Deactivate user.\n * @request POST:/account/user/{username}/deactivate\n * @secure\n * @response `200` OK\n */\n deactivateUser(username: string) {\n return this.http.post(`/account/user/${username}/deactivate`, null).then(() => {});\n }\n /**\n * No description\n *\n * @tags Account\n * @name Authenticate\n * @operationId AccountController_Authenticate\n * @summary Login.\n * @request POST:/account/login\n * @secure\n * @response `200` OK\n */\n authenticate(query: AuthenticateParams, data: LoginDc) {\n return this.http.post(`/account/login`, data, query).json<LoginResultDc>();\n }\n /**\n * No description\n *\n * @tags Account\n * @name RefreshToken\n * @operationId AccountController_RefreshToken\n * @summary Refresh JWT token.\n * @request POST:/account/refresh-token\n * @secure\n * @response `200` OK\n */\n refreshToken(data: RefreshTokenDc) {\n return this.http.post(`/account/refresh-token`, data).json<LoginResultDc>();\n }\n /**\n * No description\n *\n * @tags Account\n * @name RevokeToken\n * @operationId AccountController_RevokeToken\n * @summary Revoke refresh token.\n * @request DELETE:/account/revoke-token\n * @secure\n * @response `200` OK\n */\n revokeToken() {\n return this.http.delete(`/account/revoke-token`, null).then(() => {});\n }\n /**\n * No description\n *\n * @tags Account\n * @name LdapLogin\n * @operationId AccountController_LdapLogin\n * @summary The external login callback.\n * @request POST:/account/external/login/ldap\n * @secure\n * @response `200` OK\n */\n ldapLogin(data: LoginDc) {\n return this.http.post(`/account/external/login/ldap`, data).json<LoginResultDc>();\n }\n /**\n * No description\n *\n * @tags Account\n * @name RegisterClient\n * @operationId AccountController_RegisterClient\n * @summary Register new client.\n * @request POST:/account/oauth2/client\n * @secure\n * @response `200` OK\n */\n registerClient(data: RegisterClientRequestDc) {\n return this.http.post(`/account/oauth2/client`, data).json<RegisterClientResponseDc>();\n }\n /**\n * No description\n *\n * @tags Account\n * @name UnbindClient\n * @operationId AccountController_UnbindClient\n * @summary Unbind client with id.\n * @request DELETE:/account/oauth2/client/{clientId}\n * @secure\n * @response `200` OK\n */\n unbindClient(clientId: string) {\n return this.http.delete(`/account/oauth2/client/${clientId}`, null).then(() => {});\n }\n /**\n * No description\n *\n * @tags Account\n * @name Token\n * @operationId AccountController_Token\n * @summary Get access token request.\n * @request POST:/account/oauth2/token\n * @secure\n * @response `200` OK\n */\n token(data: TokenRequestDc) {\n return this.http.post(`/account/oauth2/token`, data).json<TokenResponseDc>();\n }\n /**\n * No description\n *\n * @tags Account\n * @name GetRoles\n * @operationId AccountController_GetRoles\n * @summary Enumerate exist roles.\n * @request GET:/account/role/list\n * @secure\n * @response `200` OK\n */\n getRoles(query: GetRolesParams) {\n return this.http.get(`/account/role/list`, query).json<PagedListRoleInfoDc>();\n }\n /**\n * No description\n *\n * @tags Account\n * @name CreateRole\n * @operationId AccountController_CreateRole\n * @summary Create new role.\n * @request POST:/account/role\n * @secure\n * @response `200` OK\n */\n createRole(data: CreateRoleDc) {\n return this.http.post(`/account/role`, data).then(() => {});\n }\n /**\n * No description\n *\n * @tags Account\n * @name UpdateRole\n * @operationId AccountController_UpdateRole\n * @summary Update exist role.\n * @request PATCH:/account/role\n * @secure\n * @response `200` OK\n */\n updateRole(data: UpdateRoleDc) {\n return this.http.patch(`/account/role`, data).then(() => {});\n }\n /**\n * No description\n *\n * @tags Account\n * @name RemoveRole\n * @operationId AccountController_RemoveRole\n * @summary Remove role.\n * @request DELETE:/account/role/{rolename}\n * @secure\n * @response `200` OK\n */\n removeRole(rolename: string) {\n return this.http.delete(`/account/role/${rolename}`, null).then(() => {});\n }\n /**\n * No description\n *\n * @tags Account\n * @name AddToRole\n * @operationId AccountController_AddToRole\n * @summary Add user to role.\n * @request POST:/account/user/{username}/role/{role}\n * @secure\n * @response `200` OK\n */\n addToRole(username: string, role: string) {\n return this.http.post(`/account/user/${username}/role/${role}`, null).then(() => {});\n }\n /**\n * No description\n *\n * @tags Account\n * @name RemoveFromRole\n * @operationId AccountController_RemoveFromRole\n * @summary Remove user from role.\n * @request DELETE:/account/user/{username}/role/{role}\n * @secure\n * @response `200` OK\n */\n removeFromRole(username: string, role: string) {\n return this.http.delete(`/account/user/${username}/role/${role}`, null).then(() => {});\n }\n /**\n * No description\n *\n * @tags Account\n * @name PostUsedProjects\n * @operationId AccountController_PostUsedProjects\n * @summary Set used project.\n * @request POST:/account/latest_projects\n * @secure\n * @response `200` OK\n */\n postUsedProjects(data: UsedProjectDc) {\n return this.http.post(`/account/latest_projects`, data).json<UsedProjectDc>();\n }\n /**\n * No description\n *\n * @tags Account\n * @name GetUsedProjects\n * @operationId AccountController_GetUsedProjects\n * @summary Get used projects.\n * @request GET:/account/latest_projects\n * @secure\n * @response `200` OK\n */\n getUsedProjects() {\n return this.http.get(`/account/latest_projects`).json<UsedProjectDc[]>();\n }\n /**\n * No description\n *\n * @tags Account\n * @name TruncateUsedProjects\n * @operationId AccountController_TruncateUsedProjects\n * @summary Truncate used projects.\n * @request DELETE:/account/latest_projects\n * @secure\n * @response `200` OK\n */\n truncateUsedProjects() {\n return this.http.delete(`/account/latest_projects`, null).then(() => {});\n }\n}\n","import { getUserInfo, updateUserInfo } from \"../utils/user\";\r\n\r\nimport { AccountService } from \"../__generated__/AccountService\";\r\nimport { AuthenticateParams, LoginDc, LoginResultDc, UserInfoDc } from \"../__generated__/data-contracts\";\r\n\r\nimport { STORAGE_TOKEN_KEY, STORAGE_REFRESH_TOKEN_KEY } from \"../constants\";\r\n\r\nexport type DecodedAuthToken = {\r\n /** емайл */\r\n email: string;\r\n /** имя пользователя */\r\n sub: string;\r\n /** Имя */\r\n given_name: string;\r\n /** Фамилия */\r\n family_name: string;\r\n /** workspace */\r\n Namespace: string;\r\n /** сроки жизни токена */\r\n exp: number;\r\n /** список ролей в будущем */\r\n role: string[];\r\n /** открывать последний проект или нет */\r\n OpenLastProject: \"False\" | \"True\";\r\n /** фото пользователя (ссылка) */\r\n HasProfilePhoto: boolean;\r\n};\r\n\r\nexport type UserInfoWithPhoto = UserInfoDc & { profile_photo?: string };\r\n\r\nexport class Account extends AccountService {\r\n private userInfo?: Partial<UserInfoWithPhoto>;\r\n\r\n get username() {\r\n return this.userInfo?.username || \"\";\r\n }\r\n\r\n get isAuth() {\r\n return !!this.userInfo?.username && this.userInfo.username !== \"public\";\r\n }\r\n\r\n get user(): Partial<UserInfoWithPhoto> | undefined {\r\n if (this.userInfo) {\r\n return this.userInfo;\r\n }\r\n\r\n const userInfo = getUserInfo();\r\n\r\n if (userInfo) {\r\n this.userInfo = userInfo;\r\n }\r\n\r\n return userInfo;\r\n }\r\n\r\n async login(params?: LoginDc, authParams: AuthenticateParams = {}, useJwt = false) {\r\n if (params) {\r\n const response: LoginResultDc = await super.authenticate(authParams, params);\r\n\r\n if (response && useJwt) {\r\n window.localStorage.setItem(STORAGE_TOKEN_KEY, response.token as string);\r\n window.localStorage.setItem(STORAGE_REFRESH_TOKEN_KEY, response.refreshToken as string);\r\n }\r\n }\r\n }\r\n\r\n async fetchCurrentUser() {\r\n this.userInfo = await this.getUserInfo();\r\n\r\n return this.userInfo;\r\n }\r\n\r\n async logout() {\r\n const token = window.localStorage.getItem(STORAGE_TOKEN_KEY);\r\n\r\n if (token) {\r\n window.localStorage.removeItem(STORAGE_TOKEN_KEY);\r\n window.localStorage.removeItem(STORAGE_REFRESH_TOKEN_KEY);\r\n }\r\n\r\n await this.revokeToken();\r\n\r\n updateUserInfo(undefined);\r\n\r\n this.userInfo = {};\r\n }\r\n\r\n async updateCurrentUser(userInfo: UserInfoWithPhoto) {\r\n await super.updateUser({\r\n username: this.username,\r\n ...userInfo,\r\n });\r\n\r\n updateUserInfo(userInfo);\r\n }\r\n\r\n setPassword(password: string) {\r\n return this.setUserPassword({ username: this.username, password });\r\n }\r\n}\r\n","/* eslint-disable */\n/* tslint:disable */\n/*\n * ---------------------------------------------------------------\n * ## THIS FILE WAS GENERATED VIA SWAGGER-TYPESCRIPT-API ##\n * ## ##\n * ## AUTHOR: acacode ##\n * ## SOURCE: https://github.com/acacode/swagger-typescript-api ##\n * ---------------------------------------------------------------\n */\n\n// @ts-nocheck\n\nimport { toFormData } from \"./HttpClient\";\nimport { Service } from \"./Service\";\nimport { FileUploadResponse, UploadPreview1Payload, UploadPreviewPayload } from \"./data-contracts\";\n\n/**\n * @title Spatial Processing Core API\n * @version 1.5.1.0\n * @baseUrl /sp\n */\nexport class AccountPreviewService extends Service {\n /**\n * No description\n *\n * @tags AccountPreview\n * @name GetPreview\n * @operationId AccountPreviewController_GetPreview\n * @summary Get current user preview image.\n * @request GET:/account/user/preview\n * @secure\n * @response `200` OK\n */\n getPreview() {\n return this.http.createUrl(`/account/user/preview`);\n }\n /**\n * No description\n *\n * @tags AccountPreview\n * @name UploadPreview\n * @operationId AccountPreviewController_UploadPreview\n * @summary Set current user preview image.\n * @request POST:/account/user/preview\n * @secure\n * @response `200` OK\n */\n uploadPreview(data: UploadPreviewPayload | FormData) {\n return this.http.post(`/account/user/preview`, toFormData(data)).json<FileUploadResponse>();\n }\n /**\n * No description\n *\n * @tags AccountPreview\n * @name DeletePreview\n * @operationId AccountPreviewController_DeletePreview\n * @summary Delete current user preview.\n * @request DELETE:/account/user/preview\n * @secure\n * @response `200` OK\n */\n deletePreview() {\n return this.http.delete(`/account/user/preview`, null).then(() => {});\n }\n /**\n * No description\n *\n * @tags AccountPreview\n * @name GetPreview1\n * @operationId AccountPreviewController_GetPreview_1\n * @summary Get user preview image.\n * @request GET:/account/user/preview/{username}\n * @secure\n * @response `200` OK\n */\n getPreview1(username: string) {\n return this.http.createUrl(`/account/user/preview/${username}`);\n }\n /**\n * No description\n *\n * @tags AccountPreview\n * @name UploadPreview1\n * @operationId AccountPreviewController_UploadPreview_1\n * @summary Set user preview image.\n * @request POST:/account/user/preview/{username}\n * @secure\n * @response `200` OK\n */\n uploadPreview1(username: string, data: UploadPreview1Payload | FormData) {\n return this.http.post(`/account/user/preview/${username}`, toFormData(data)).json<FileUploadResponse>();\n }\n /**\n * No description\n *\n * @tags AccountPreview\n * @name DeletePreview1\n * @operationId AccountPreviewController_DeletePreview_1\n * @summary Delete user preview.\n * @request DELETE:/account/user/preview/{username}\n * @secure\n * @response `200` OK\n */\n deletePreview1(username: string) {\n return this.http.delete(`/account/user/preview/${username}`, null).then(() => {});\n }\n}\n","import { AccountPreviewService } from \"../__generated__/AccountPreviewService\";\r\n\r\nexport class AccountPreview extends AccountPreviewService {}\r\n","/* eslint-disable */\r\n/* tslint:disable */\r\n/*\r\n * ---------------------------------------------------------------\r\n * ## THIS FILE WAS GENERATED VIA SWAGGER-TYPESCRIPT-API ##\r\n * ## ##\r\n * ## AUTHOR: acacode ##\r\n * ## SOURCE: https://github.com/acacode/swagger-typescript-api ##\r\n * ---------------------------------------------------------------\r\n */\r\n\r\n// @ts-nocheck\r\n\r\nimport { Service } from \"./Service\";\r\n\r\n/**\r\n * @title Spatial Processing Core API\r\n * @version 1.5.1.0\r\n * @baseUrl /sp\r\n */\r\nexport class ExternalProvidersService extends Service {\r\n /**\r\n * No description\r\n *\r\n * @tags ExternalProviders\r\n * @name FacebookLogin\r\n * @operationId ExternalProvidersController_FacebookLogin\r\n * @summary The external login by facebook.\r\n * @request GET:/account/external/login/facebook\r\n * @secure\r\n * @response `200` OK\r\n */\r\n facebookLogin() {\r\n return this.http.createUrl(`/account/external/login/facebook`);\r\n }\r\n /**\r\n * No description\r\n *\r\n * @tags ExternalProviders\r\n * @name GoogleLogin\r\n * @operationId ExternalProvidersController_GoogleLogin\r\n * @summary The external login by google.\r\n * @request GET:/account/external/login/google\r\n * @secure\r\n * @response `200` OK\r\n */\r\n googleLogin() {\r\n return this.http.createUrl(`/account/external/login/google`);\r\n }\r\n /**\r\n * No description\r\n *\r\n * @tags ExternalProviders\r\n * @name VkLogin\r\n * @operationId ExternalProvidersController_VkLogin\r\n * @summary The external login by vk.\r\n * @request GET:/account/external/login/vk\r\n * @secure\r\n * @response `200` OK\r\n */\r\n vkLogin() {\r\n return this.http.createUrl(`/account/external/login/vk`);\r\n }\r\n /**\r\n * No description\r\n *\r\n * @tags ExternalProviders\r\n * @name YandexLogin\r\n * @operationId ExternalProvidersController_YandexLogin\r\n * @summary The external login by yandex.\r\n * @request GET:/account/external/login/yandex\r\n * @secure\r\n * @response `200` OK\r\n */\r\n yandexLogin() {\r\n return this.http.get(`/account/external/login/yandex`).then(() => {});\r\n }\r\n /**\r\n * No description\r\n *\r\n * @tags ExternalProviders\r\n * @name LoginCallback\r\n * @operationId ExternalProvidersController_LoginCallback\r\n * @summary The external login callback.\r\n * @request GET:/account/external/login/callback\r\n * @secure\r\n * @response `200` OK\r\n */\r\n loginCallback() {\r\n return this.http.get(`/account/external/login/callback`).then(() => {});\r\n }\r\n /**\r\n * No description\r\n *\r\n * @tags ExternalProviders\r\n * @name UnbindFacebook\r\n * @operationId ExternalProvidersController_UnbindFacebook\r\n * @summary Unbind external login from current user account (google).\r\n * @request DELETE:/account/external/unbind/facebook\r\n * @secure\r\n * @response `200` OK\r\n */\r\n unbindFacebook() {\r\n return this.http.delete(`/account/external/unbind/facebook`, null).then(() => {});\r\n }\r\n /**\r\n * No description\r\n *\r\n * @tags ExternalProviders\r\n * @name UnbindGoogle\r\n * @operationId ExternalProvidersController_UnbindGoogle\r\n * @summary Unbind external login from current user account (google).\r\n * @request DELETE:/account/external/unbind/google\r\n * @secure\r\n * @response `200` OK\r\n */\r\n unbindGoogle() {\r\n return this.http.delete(`/account/external/unbind/google`, null).then(() => {});\r\n }\r\n /**\r\n * No description\r\n *\r\n * @tags ExternalProviders\r\n * @name UnbindVk\r\n * @operationId ExternalProvidersController_UnbindVk\r\n * @summary Unbind external login from current user account (google).\r\n * @request DELETE:/account/external/unbind/vk\r\n * @secure\r\n * @response `200` OK\r\n */\r\n unbindVk() {\r\n return this.http.delete(`/account/external/unbind/vk`, null).then(() => {});\r\n }\r\n /**\r\n * No description\r\n *\r\n * @tags ExternalProviders\r\n * @name UnbindYandex\r\n * @operationId ExternalProvidersController_UnbindYandex\r\n * @summary Unbind external login from current user account (yandex).\r\n * @request DELETE:/account/external/unbind/yandex\r\n * @secure\r\n * @response `200` OK\r\n */\r\n unbindYandex() {\r\n return this.http.delete(`/account/external/unbind/yandex`, null).then(() => {});\r\n }\r\n /**\r\n * No description\r\n *\r\n * @tags ExternalProviders\r\n * @name BindFacebook\r\n * @operationId ExternalProvidersController_BindFacebook\r\n * @summary The external login by vk.\r\n * @request GET:/account/external/bind/facebook\r\n * @secure\r\n * @response `200` OK\r\n */\r\n bindFacebook() {\r\n return this.http.createUrl(`/account/external/bind/facebook`);\r\n }\r\n /**\r\n * No description\r\n *\r\n * @tags ExternalProviders\r\n * @name BindGoogle\r\n * @operationId ExternalProvidersController_BindGoogle\r\n * @summary The external login by vk.\r\n * @request GET:/account/external/bind/google\r\n * @secure\r\n * @response `200` OK\r\n */\r\n bindGoogle() {\r\n return this.http.createUrl(`/account/external/bind/google`);\r\n }\r\n /**\r\n * No description\r\n *\r\n * @tags ExternalProviders\r\n * @name BindVk\r\n * @operationId ExternalProvidersController_BindVk\r\n * @summary The external login by vk.\r\n * @request GET:/account/external/bind/vk\r\n * @secure\r\n * @response `200` OK\r\n */\r\n bindVk() {\r\n return this.http.createUrl(`/account/external/bind/vk`);\r\n }\r\n /**\r\n * No description\r\n *\r\n * @tags ExternalProviders\r\n * @name BindYandex\r\n * @operationId ExternalProvidersController_BindYandex\r\n * @summary The external login by yandex.\r\n * @request GET:/account/external/bind/yandex\r\n * @secure\r\n * @response `200` OK\r\n */\r\n bindYandex() {\r\n return this.http.get(`/account/external/bind/yandex`).then(() => {});\r\n }\r\n /**\r\n * No description\r\n *\r\n * @tags ExternalProviders\r\n * @name BindCallback\r\n * @operationId ExternalProvidersController_BindCallback\r\n * @summary Bind external login to current user account.\r\n * @request GET:/account/external/bind/callback\r\n * @secure\r\n * @response `200` OK\r\n */\r\n bindCallback() {\r\n return this.http.get(`/account/external/bind/callback`).then(() => {});\r\n }\r\n}\r\n","import { ExternalProvidersService } from '../__generated__/ExternalProvidersService';\r\nimport { SocAuthNetwork } from '../Api';\r\n\r\nexport class External extends ExternalProvidersService {\r\n login(network?: SocAuthNetwork) {\r\n switch (network) {\r\n case 'vk':\r\n return this.vkLogin();\r\n case 'google':\r\n return this.googleLogin();\r\n case 'facebook':\r\n return this.facebookLogin();\r\n case 'yandex':\r\n return this.yandexLogin();\r\n default:\r\n return '';\r\n }\r\n }\r\n\r\n bind(network?: SocAuthNetwork) {\r\n switch (network) {\r\n case 'vk':\r\n return this.bindVk();\r\n case 'google':\r\n return this.bindGoogle();\r\n case 'facebook':\r\n return this.bindFacebook();\r\n case 'yandex':\r\n return this.bindYandex();\r\n default:\r\n return '';\r\n }\r\n }\r\n\r\n unbind(network?: SocAuthNetwork) {\r\n switch (network) {\r\n case 'vk':\r\n return this.unbindVk();\r\n case 'google':\r\n return this.unbindGoogle();\r\n case 'facebook':\r\n return this.unbindFacebook();\r\n case 'yandex':\r\n return this.unbindYandex();\r\n default:\r\n return '';\r\n }\r\n }\r\n}\r\n","/* eslint-disable */\n/* tslint:disable */\n/*\n * ---------------------------------------------------------------\n * ## THIS FILE WAS GENERATED VIA SWAGGER-TYPESCRIPT-API ##\n * ## ##\n * ## AUTHOR: acacode ##\n * ## SOURCE: https://github.com/acacode/swagger-typescript-api ##\n * ---------------------------------------------------------------\n */\n\n// @ts-nocheck\n\nimport { Service } from \"./Service\";\nimport { BatchResourcesAclDc, BulkOperationResultDc } from \"./data-contracts\";\n\n/**\n * @title Spatial Processing Core API\n * @version 1.5.1.0\n * @baseUrl /sp\n */\nexport class BulkOperationsService extends Service {\n /**\n * No description\n *\n * @tags BulkOperations\n * @name BatchResourcesPermissionsSet\n * @operationId BulkOperationsController_BatchResourcesPermissionsSet\n * @summary Perform resources set acl access batch operation.\n * @request PUT:/bulk/resources/permissions\n * @secure\n * @response `200` OK\n */\n batchResourcesPermissionsSet(data: BatchResourcesAclDc) {\n return this.http.put(`/bulk/resources/permissions`, data).json<BulkOperationResultDc[]>();\n }\n}\n","import { BulkOperationsService } from \"../__generated__/BulkOperationsService\";\r\n\r\nexport class BulkOperations extends BulkOperationsService {}\r\n","/* eslint-disable */\n/* tslint:disable */\n/*\n * ---------------------------------------------------------------\n * ## THIS FILE WAS GENERATED VIA SWAGGER-TYPESCRIPT-API ##\n * ## ##\n * ## AUTHOR: acacode ##\n * ## SOURCE: https://github.com/acacode/swagger-typescript-api ##\n * ---------------------------------------------------------------\n */\n\n// @ts-nocheck\n\nimport { Service } from \"./Service\";\nimport {\n ArchiveCalendarDc,\n ArchiveTimelineDc,\n CameraListDc,\n GetArchiveCalendarParams,\n GetArchiveFeedParams,\n GetArchiveSnapshotParams,\n GetArchiveTimelineParams,\n GetCamerasParams,\n GetLiveFeedParams,\n GetLivePreviewStreamParams,\n IAsyncEnumerableLivePreviewDc,\n} from \"./data-contracts\";\n\n/**\n * @title Spatial Processing Core API\n * @version 1.5.1.0\n * @baseUrl /sp\n */\nexport class CamerasService extends Service {\n /**\n * No description\n *\n * @tags Cameras\n * @name GetCameras\n * @operationId CamerasController_GetCameras\n * @summary Get cameras list.\n * @request GET:/cameras\n * @secure\n * @response `200` OK\n */\n getCameras(query: GetCamerasParams) {\n return this.http.get(`/cameras`, query).json<CameraListDc>();\n }\n /**\n * No description\n *\n * @tags Cameras\n * @name GetArchiveFeed\n * @operationId CamerasController_GetArchiveFeed\n * @summary Streams an FLV-over-HTTP archive feed starting at specific time.\n * @request GET:/cameras/{cameraId}/archiveFeed\n * @secure\n * @response `200` OK\n */\n getArchiveFeed({ cameraId, ...query }: GetArchiveFeedParams) {\n return this.http.get(`/cameras/${cameraId}/archiveFeed`, query).blob();\n }\n /**\n * No description\n *\n * @tags Cameras\n * @name GetArchiveTimeline\n * @operationId CamerasController_GetArchiveTimeline\n * @summary Returns a list of records available within a given timeframe.\n * @request GET:/cameras/{cameraId}/archiveTimeline\n * @secure\n * @response `200` OK\n */\n getArchiveTimeline({ cameraId, ...query }: GetArchiveTimelineParams) {\n return this.http.get(`/cameras/${cameraId}/archiveTimeline`, query).json<ArchiveTimelineDc>();\n }\n /**\n * No description\n *\n * @tags Cameras\n * @name GetArchiveCalendar\n * @operationId CamerasController_GetArchiveCalendar\n * @summary Returns a list of records available within a given timeframe.\n * @request GET:/cameras/{cameraId}/archiveCalendar\n * @secure\n * @response `200` OK\n */\n getArchiveCalendar({ cameraId, ...query }: GetArchiveCalendarParams) {\n return this.http.get(`/cameras/${cameraId}/archiveCalendar`, query).json<ArchiveCalendarDc>();\n }\n /**\n * No description\n *\n * @tags Cameras\n * @name GetArchiveSnapshot\n * @operationId CamerasController_GetArchiveSnapshot\n * @summary Returns a JPEG image from the Camera’s archive.\n * @request GET:/cameras/{cameraId}/archiveSnapshot\n * @secure\n * @response `200` OK\n */\n getArchiveSnapshot({ cameraId, ...query }: GetArchiveSnapshotParams) {\n return this.http.get(`/cameras/${cameraId}/archiveSnapshot`, query).blob();\n }\n /**\n * No description\n *\n * @tags Cameras\n * @name GetLiveFeed\n * @operationId CamerasController_GetLiveFeed\n * @summary Streams live video feed from the Camera.\n * @request GET:/cameras/{cameraId}/liveFeed\n * @secure\n * @response `200` OK\n */\n getLiveFeed({ cameraId, ...query }: GetLiveFeedParams) {\n return this.http.get(`/cameras/${cameraId}/liveFeed`, query).blob();\n }\n /**\n * No description\n *\n * @tags Cameras\n * @name GetLiveSnapshot\n * @operationId CamerasController_GetLiveSnapshot\n * @summary Returns a JPEG image from the Camera’s live feed.\n * @request GET:/cameras/{cameraId}/liveSnapshot\n * @secure\n * @response `200` OK\n */\n getLiveSnapshot(cameraId: string) {\n return this.http.get(`/cameras/${cameraId}/liveSnapshot`).blob();\n }\n /**\n * No description\n *\n * @tags Cameras\n * @name GetLivePreviewStream\n * @operationId CamerasController_GetLivePreviewStream\n * @summary Get live preview stream.\n * @request GET:/cameras/{cameraId}/getLivePreviewsStream\n * @secure\n * @response `200` OK\n */\n getLivePreviewStream({ cameraId, ...query }: GetLivePreviewStreamParams) {\n return this.http.get(`/cameras/${cameraId}/getLivePreviewsStream`, query).json<IAsyncEnumerableLivePreviewDc>();\n }\n}\n","import { CamerasService } from \"../__generated__/CamerasService\";\r\n\r\nexport class Cameras extends CamerasService {}\r\n","/* eslint-disable */\n/* tslint:disable */\n/*\n * ---------------------------------------------------------------\n * ## THIS FILE WAS GENERATED VIA SWAGGER-TYPESCRIPT-API ##\n * ## ##\n * ## AUTHOR: acacode ##\n * ## SOURCE: https://github.com/acacode/swagger-typescript-api ##\n * ---------------------------------------------------------------\n */\n\n// @ts-nocheck\n\nimport { Service } from \"./Service\";\nimport {\n GetConfigurationParams,\n GetConfigurationsListParams,\n PagedListConfigDc,\n RemoveConfigurationParams,\n SetConfigurationParams,\n SetConfigurationPayload,\n} from \"./data-contracts\";\n\n/**\n * @title Spatial Processing Core API\n * @version 1.5.1.0\n * @baseUrl /sp\n */\nexport class ClientSettingsService extends Service {\n /**\n * No description\n *\n * @tags ClientSettings\n * @name GetConfigurationsList\n * @operationId ClientSettingsController_GetConfigurationsList\n * @summary Get client configurations.\n * @request GET:/settings/config\n * @secure\n * @response `200` OK\n */\n getConfigurationsList(query: GetConfigurationsListParams) {\n return this.http.get(`/settings/config`, query).json<PagedListConfigDc>();\n }\n /**\n * No description\n *\n * @tags ClientSettings\n * @name GetConfiguration\n * @operationId ClientSettingsController_GetConfiguration\n * @summary Get config for urlPath.\n * @request GET:/settings\n * @secure\n * @response `200` OK\n */\n getConfiguration(query: GetConfigurationParams) {\n return this.http.get(`/settings`, query).text();\n }\n /**\n * No description\n *\n * @tags ClientSettings\n * @name SetConfiguration\n * @operationId ClientSettingsController_SetConfiguration\n * @summary Set config for urlPath.\n * @request POST:/settings\n * @secure\n * @response `200` OK\n */\n setConfiguration(query: SetConfigurationParams, data: SetConfigurationPayload) {\n return this.http.post(`/settings`, data, query).then(() => {});\n }\n /**\n * No description\n *\n * @tags ClientSettings\n * @name RemoveConfiguration\n * @operationId ClientSettingsController_RemoveConfiguration\n * @summary Remove config for urlPath.\n * @request DELETE:/settings\n * @secure\n * @response `200` OK\n */\n removeConfiguration(query: RemoveConfigurationParams) {\n return this.http.delete(`/settings`, null, query).then(() => {});\n }\n}\n","import { ClientSettingsService } from \"../__generated__/ClientSettingsService\";\r\nimport { GetConfigurationParams } from \"../__generated__/data-contracts\";\r\n\r\nexport class ClientSettings extends ClientSettingsService {\r\n settings: ClientConfiguration = {\r\n modules: [],\r\n connection: {\r\n url: \"\",\r\n },\r\n };\r\n\r\n async fetchClientSettings(query: GetConfigurationParams) {\r\n const config = (JSON.parse(\r\n await this.getConfiguration(query),\r\n ) as unknown) as ClientConfiguration;\r\n\r\n this.updateClientSettings(config);\r\n\r\n return config;\r\n }\r\n\r\n updateClientSettings(update: Partial<ClientConfiguration>) {\r\n Object.assign(this.settings, update);\r\n }\r\n}\r\n\r\nexport type UserDC = {\r\n username?: string;\r\n workspace?: string;\r\n email?: string;\r\n pk?: string;\r\n first_name?: string;\r\n last_name?: string;\r\n is_password_set?: boolean;\r\n description?: string;\r\n is_subscribed?: boolean;\r\n profile_photo?: string;\r\n social?: unknown;\r\n is_open_last_project?: boolean;\r\n position?: string;\r\n company?: string;\r\n location?: string;\r\n};\r\n\r\ntype MenuConfig = {\r\n title: string;\r\n icon: string;\r\n};\r\n\r\ntype LayoutConfig = {\r\n area?: string;\r\n menu?: MenuConfig;\r\n resizable?: boolean;\r\n};\r\n\r\nexport type RouteConfig =\r\n | string\r\n | {\r\n name: string;\r\n payload?: { panel: string | string[] };\r\n default?: boolean;\r\n type?: string;\r\n};\r\n\r\nexport interface ModuleConfig {\r\n name: string;\r\n modulePath: string;\r\n route?: RouteConfig;\r\n layoutOptions?: LayoutConfig;\r\n priority?: number;\r\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\r\n options?: Record<string, any>;\r\n submodules?: ModuleConfig[];\r\n preload?: boolean;\r\n}\r\n\r\nexport type ConnectionSettings = {\r\n url: string;\r\n login?: string;\r\n password?: string;\r\n session_id?: string;\r\n};\r\n\r\nexport type ClientConfiguration = {\r\n connection: ConnectionSettings;\r\n modules: ModuleConfig[];\r\n};\r\n","/* eslint-disable */\r\n/* tslint:disable */\r\n/*\r\n * ---------------------------------------------------------------\r\n * ## THIS FILE WAS GENERATED VIA SWAGGER-TYPESCRIPT-API ##\r\n * ## ##\r\n * ## AUTHOR: acacode ##\r\n * ## SOURCE: https://github.com/acacode/swagger-typescript-api ##\r\n * ---------------------------------------------------------------\r\n */\r\n\r\n// @ts-nocheck\r\n\r\nimport { Service } from \"./Service\";\r\nimport {\r\n AttributeDefinitionDc,\r\n AvailiableValuesDc,\r\n EqlDependenciesDc,\r\n EqlRequestDc,\r\n GetAvailiableLayerParametersParams,\r\n GetLayerParameters1Params,\r\n GetLayerParametersParams,\r\n GetPagedQueryResultParams,\r\n GetQueryHistoryParams,\r\n GetVectorTileParams,\r\n PagedFeaturesListDc,\r\n PagedListQueryHistoryDc,\r\n RemoveLayerParameterValueParams,\r\n SetLayerParameterValueParams,\r\n SetLayerParametersParams,\r\n SetLayerParametersPayload,\r\n} from \"./data-contracts\";\r\n\r\n/**\r\n * @title Spatial Processing Core API\r\n * @version 1.5.1.0\r\n * @baseUrl /sp\r\n */\r\nexport class EqlService extends Service {\r\n /**\r\n * No description\r\n *\r\n * @tags Eql\r\n * @name GetPagedQueryResult\r\n * @operationId EqlController_GetPagedQueryResult\r\n * @summary Perform resources set acl access batch operation.\r\n * @request POST:/eql/query\r\n * @secure\r\n * @response `200` OK\r\n */\r\n getPagedQueryResult(query: GetPagedQueryResultParams, data: EqlRequestDc) {\r\n return this.http.post(`/eql/query`, data, query).json<PagedFeaturesListDc>();\r\n }\r\n /**\r\n * No description\r\n *\r\n * @tags Eql\r\n * @name GetQueryDescription\r\n * @operationId EqlController_GetQueryDescription\r\n * @summary Get EQL result columns definitions.\r\n * @request POST:/eql/description\r\n * @secure\r\n * @response `200` OK\r\n */\r\n getQueryDescription(data: EqlRequestDc) {\r\n return this.http.post(`/eql/description`, data).json<Record<string, AttributeDefinitionDc>>();\r\n }\r\n /**\r\n * No description\r\n *\r\n * @tags Eql\r\n * @name GetQueryDependencies\r\n * @operationId EqlController_GetQueryDependencies\r\n * @summary Get EQL result dependencies.\r\n * @request POST:/eql/dependencies\r\n * @secure\r\n * @response `200` OK\r\n */\r\n getQueryDependencies(data: EqlRequestDc) {\r\n return this.http.post(`/eql/dependencies`, data).json<EqlDependenciesDc>();\r\n }\r\n /**\r\n * No description\r\n *\r\n * @tags Eql\r\n * @name GetVectorTile\r\n * @operationId EqlController_GetVectorTile\r\n * @summary Get vector tile by query.\r\n * @request GET:/eql/vt/{z}/{x}/{y}.pbf\r\n * @secure\r\n * @response `200` OK\r\n */\r\n getVectorTile({ z, x, y, ...query }: GetVectorTileParams) {\r\n return this.http.get(`/eql/vt/{z}/{x}/{y}.pbf`, query).then(() => {});\r\n }\r\n /**\r\n * No description\r\n *\r\n * @tags Eql\r\n * @name GetQueryHistory\r\n * @operationId EqlController_GetQueryHistory\r\n * @summary Get EQL requests history.\r\n * @request GET:/eql/query/history\r\n * @secure\r\n * @response `200` OK\r\n */\r\n getQueryHistory(query: GetQueryHistoryParams) {\r\n return this.http.get(`/eql/query/history`, query).json<PagedListQueryHistoryDc>();\r\n }\r\n /**\r\n * No description\r\n *\r\n * @tags Eql\r\n * @name SetLayerParameterValue\r\n * @operationId EqlController_SetLayerParameterValue\r\n * @summary Set EQL layer parameter.\r\n * @request POST:/eql/setParam\r\n * @secure\r\n * @response `200` OK\r\n */\r\n setLayerParameterValue(query: SetLayerParameterValueParams) {\r\n return this.http.post(`/eql/setParam`, null, query).then(() => {});\r\n }\r\n /**\r\n * No description\r\n *\r\n * @tags Eql\r\n * @name SetLayerParameters\r\n * @operationId EqlController_SetLayerParameters\r\n * @summary Set EQL layer parameters.\r\n * @request POST:/eql/setParams\r\n * @secure\r\n * @response `200` OK\r\n */\r\n setLayerParameters(query: SetLayerParametersParams, data: SetLayerParametersPayload) {\r\n return this.http.post(`/eql/setParams`, data, query).then(() => {});\r\n }\r\n /**\r\n * No description\r\n *\r\n * @tags Eql\r\n * @name GetLayerParameters\r\n * @operationId EqlController_GetLayerParameters\r\n * @summary Get EQL parameter.\r\n * @request GET:/eql/getParam\r\n * @secure\r\n * @response `200` OK\r\n */\r\n getLayerParameters(query: GetLayerParametersParams) {\r\n return this.http.get(`/eql/getParam`, query).text();\r\n }\r\n /**\r\n * No description\r\n *\r\n * @tags Eql\r\n * @name GetLayerParameters1\r\n * @operationId EqlController_GetLayerParameters_1\r\n * @summary Get all EQL parameters.\r\n * @request GET:/eql/getParams\r\n * @secure\r\n * @response `200` OK\r\n */\r\n getLayerParameters1(query: GetLayerParameters1Params) {\r\n return this.http.get(`/eql/getParams`, query).json<Record<string, string>>();\r\n }\r\n /**\r\n * No description\r\n *\r\n * @tags Eql\r\n * @name RemoveLayerParameterValue\r\n * @operationId EqlController_RemoveLayerParameterValue\r\n * @summary Remove EQL layer parameter.\r\n * @request DELETE:/eql/removeParam\r\n * @secure\r\n * @response `200` OK\r\n */\r\n removeLayerParameterValue(query: RemoveLayerParameterValueParams) {\r\n return this.http.delete(`/eql/removeParam`, null, query).then(() => {});\r\n }\r\n /**\r\n * No description\r\n *\r\n * @tags Eql\r\n * @name GetAvailiableLayerParameters\r\n * @operationId EqlController_GetAvailiableLayerParameters\r\n * @summary Get availiable layer parameters values.\r\n * @request GET:/eql/getAvailiableParams\r\n * @secure\r\n * @response `200` OK\r\n */\r\n getAvailiableLayerParameters(query: GetAvailiableLayerParametersParams) {\r\n return this.http.get(`/eql/getAvailiableParams`, query).json<AvailiableValuesDc>();\r\n }\r\n /**\r\n * No description\r\n *\r\n * @tags Eql\r\n * @name Get\r\n * @operationId EqlController_Get\r\n * @summary Returns the query by its id.\r\n * @request GET:/eql/query/{id}\r\n * @secure\r\n * @response `200` OK\r\n */\r\n get(id: string) {\r\n return this.http.get(`/eql/query/${id}`).json<EqlRequestDc>();\r\n }\r\n /**\r\n * No description\r\n *\r\n * @tags Eql\r\n * @name Update\r\n * @operationId EqlController_Update\r\n * @summary Replaces a query and gives it a new id.\r\n * @request POST:/eql/query/{id}\r\n * @secure\r\n * @response `200` OK\r\n */\r\n update(id: string, data: EqlRequestDc) {\r\n return this.http.post(`/eql/query/${id}`, data).then(() => {});\r\n }\r\n /**\r\n * No description\r\n *\r\n * @tags Eql\r\n * @name Create\r\n * @operationId EqlController_Create\r\n * @summary Creates a new query.\r\n * @request POST:/eql/query/save\r\n * @secure\r\n * @response `200` OK\r\n */\r\n create(data: EqlRequestDc) {\r\n return this.http.post(`/eql/query/save`, data).text();\r\n }\r\n}\r\n","import { EqlService } from \"../__generated__/EqlService\";\r\n\r\nexport class Eql extends EqlService {}\r\n","/* eslint-disable */\n/* tslint:disable */\n/*\n * ---------------------------------------------------------------\n * ## THIS FILE WAS GENERATED VIA SWAGGER-TYPESCRIPT-API ##\n * ## ##\n * ## AUTHOR: acacode ##\n * ## SOURCE: https://github.com/acacode/swagger-typescript-api ##\n * ---------------------------------------------------------------\n */\n\n// @ts-nocheck\n\nimport { toFormData } from \"./HttpClient\";\nimport { Service } from \"./Service\";\nimport { FeedbackParams, FeedbackPayload, IncreaseResourcesLimitParams } from \"./data-contracts\";\n\n/**\n * @title Spatial Processing Core API\n * @version 1.5.1.0\n * @baseUrl /sp\n */\nexport class FeedbackService extends Service {\n /**\n * No description\n *\n * @tags Feedback\n * @name IncreaseResourcesLimit\n * @operationId FeedbackController_IncreaseResourcesLimit\n * @summary Increase resources limit request.\n * @request POST:/feedback/limits\n * @secure\n * @response `200` OK\n */\n increaseResourcesLimit(query: IncreaseResourcesLimitParams) {\n return this.http.post(`/feedback/limits`, null, query).json<string[]>();\n }\n /**\n * No description\n *\n * @tags Feedback\n * @name Feedback\n * @operationId FeedbackController_Feedback\n * @summary Feedback request.\n * @request POST:/feedback\n * @secure\n * @response `200` OK\n */\n feedback(query: FeedbackParams, data: FeedbackPayload | FormData) {\n return this.http.post(`/feedback`, toFormData(data), query).json<string[]>();\n }\n}\n","import { FeedbackService } from \"../__generated__/FeedbackService\";\r\n\r\nexport class Feedback extends FeedbackService {}\r\n","/* eslint-disable */\n/* tslint:disable */\n/*\n * ---------------------------------------------------------------\n * ## THIS FILE WAS GENERATED VIA SWAGGER-TYPESCRIPT-API ##\n * ## ##\n * ## AUTHOR: acacode ##\n * ## SOURCE: https://github.com/acacode/swagger-typescript-api ##\n * ---------------------------------------------------------------\n */\n\n// @ts-nocheck\n\nimport { toFormData } from \"./HttpClient\";\nimport { Service } from \"./Service\";\nimport {\n AccessControlListDc,\n CatalogResourceDc,\n CopyResourceResultDc,\n CopyResourcesPayload,\n CreateDirectoryDc,\n CreateFile1Payload,\n CreateFilePayload,\n CreateSymlinkDc,\n GetByPathDc,\n GetTagsParams,\n ListResourcesDc,\n MoveResourceDc,\n PagedResourcesListDc,\n PagedTagsListDc,\n PatchResourceDc,\n PostGetAllParams,\n PutTagsPayload,\n ResourceParentDc,\n SetPermissionsPayload,\n ZipExtractRequestDc,\n} from \"./data-contracts\";\n\n/**\n * @title Spatial Processing Core API\n * @version 1.5.1.0\n * @baseUrl /sp\n */\nexport class CatalogService extends Service {\n /**\n * No description\n *\n * @tags Catalog\n * @name GetParents\n * @operationId CatalogController_GetParents\n * @summary Get parents.\n * @request GET:/resources/{resourceId}/parents\n * @secure\n * @response `200` OK\n */\n getParents(resourceId: string) {\n return this.http.get(`/resources/${resourceId}/parents`).json<ResourceParentDc[]>();\n }\n /**\n * No description\n *\n * @tags Catalog\n * @name GetTags\n * @operationId CatalogController_GetTags\n * @summary Get all tags of given user.\n * @request GET:/resources/tags\n * @secure\n * @response `200` OK\n */\n getTags(query: GetTagsParams) {\n return this.http.get(`/resources/tags`, query).json<PagedTagsListDc>();\n }\n /**\n * No description\n *\n * @tags Catalog\n * @name PutTags\n * @operationId CatalogController_PutTags\n * @summary Put tags to resource.\n * @request PUT:/resources/{resourceId}/tags\n * @secure\n * @response `200` OK\n */\n putTags(resourceId: string, data: PutTagsPayload) {\n return this.http.put(`/resources/${resourceId}/tags`, data).json<CatalogResourceDc>();\n }\n /**\n * No description\n *\n * @tags Catalog\n * @name PostLink\n * @operationId CatalogController_PostLink\n * @summary Put link to resource.\n * @request POST:/resources/links\n * @secure\n * @response `200` OK\n */\n postLink(data: CreateSymlinkDc) {\n return this.http.post(`/resources/links`, data).json<CatalogResourceDc>();\n }\n /**\n * No description\n *\n * @tags Catalog\n * @name PostGetAll\n * @operationId CatalogController_PostGetAll\n * @summary Get all resource with given.\n * @request POST:/resources\n * @secure\n * @response `200` OK\n */\n postGetAll(query: PostGetAllParams, data: ListResourcesDc) {\n return this.http.post(`/resources`, data, query).json<PagedResourcesListDc>();\n }\n /**\n * No description\n *\n * @tags Catalog\n * @name GetResource\n * @operationId CatalogController_GetResource\n * @summary Get resource with given id.\n * @request GET:/resources/{resourceId}\n * @secure\n * @response `200` OK\n */\n getResource(resourceId: string) {\n return this.http.get(`/resources/${resourceId}`).json<CatalogResourceDc>();\n }\n /**\n * No description\n *\n * @tags Catalog\n * @name PatchResource\n * @operationId CatalogController_PatchResource\n * @summary Update resource.\n * @request PATCH:/resources/{resourceId}\n * @secure\n * @response `200` OK\n */\n patchResource(resourceId: string, data: PatchResourceDc) {\n return this.http.patch(`/resources/${resourceId}`, data).json<CatalogResourceDc>();\n }\n /**\n * No description\n *\n * @tags Catalog\n * @name DeleteResource\n * @operationId CatalogController_DeleteResource\n * @summary Delete resource.\n * @request DELETE:/resources/{resourceId}\n * @secure\n * @response `200` OK\n */\n deleteResource(resourceId: string) {\n return this.http.delete(`/resources/${resourceId}`, null).then(() => {});\n }\n /**\n * No description\n *\n * @tags Catalog\n * @name ResourceExistsByPath\n * @operationId CatalogController_ResourceExistsByPathAsync\n * @summary Check resource path is existing.\n * @request GET:/resources/existsByPath/{path}\n * @secure\n * @response `200` OK\n */\n resourceExistsByPath(path: string) {\n return this.http.get(`/resources/existsByPath/${path}`).json<boolean>();\n }\n /**\n * No description\n *\n * @tags Catalog\n * @name ResourceExistsById\n * @operationId CatalogController_ResourceExistsByIdAsync\n * @summary Check resource id is existing.\n * @request GET:/resources/existsById/{resourceId}\n * @secure\n * @response `200` OK\n */\n resourceExistsById(resourceId: string) {\n return this.http.get(`/resources/existsById/${resourceId}`).json<boolean>();\n }\n /**\n * No description\n *\n * @tags Catalog\n * @name ResourceExistsByName\n * @operationId CatalogController_ResourceExistsByNameAsync\n * @summary Check resource path exists.\n * @request GET:/resources/existsByName/{systemName}\n * @secure\n * @response `200` OK\n */\n resourceExistsByName(systemName: string) {\n return this.http.get(`/resources/existsByName/${systemName}`).json<boolean>();\n }\n /**\n * No description\n *\n * @tags Catalog\n * @name GetResourceByPath\n * @operationId CatalogController_GetResourceByPath\n * @summary Get resource with given path.\n * @request GET:/resources/getByPath/{path}\n * @secure\n * @response `200` OK\n */\n getResourceByPath(path: string) {\n return this.http.get(`/resources/getByPath/${path}`).json<CatalogResourceDc>();\n }\n /**\n * No description\n *\n * @tags Catalog\n * @name PostGetResourceByPath\n * @operationId CatalogController_PostGetResourceByPath\n * @summary Get resource with given path.\n * @request POST:/resources/getByPath\n * @secure\n * @response `200` OK\n */\n postGetResourceByPath(data: GetByPathDc) {\n return this.http.post(`/resources/getByPath`, data).json<CatalogResourceDc>();\n }\n /**\n * No description\n *\n * @tags Catalog\n * @name MoveResource\n * @operationId CatalogController_MoveResource\n * @summary Rename resource with given id.\n * @request POST:/resources/move/{resourceId}\n * @secure\n * @response `200` OK\n */\n moveResource(resourceId: string, data: MoveResourceDc) {\n return this.http.post(`/resources/move/${resourceId}`, data).json<CatalogResourceDc>();\n }\n /**\n * No description\n *\n * @tags Catalog\n * @name CreateDirectory\n * @operationId CatalogController_CreateDirectory\n * @summary Create directory.\n * @request POST:/resources/directory\n * @secure\n * @response `200` OK\n */\n createDirectory(data: CreateDirectoryDc) {\n return this.http.post(`/resources/directory`, data).json<CatalogResourceDc>();\n }\n /**\n * No description\n *\n * @tags Catalog\n * @name CreateFile\n * @operationId CatalogController_CreateFile\n * @summary Create new file.\n * @request PATCH:/resources/file\n * @secure\n * @response `200` OK\n */\n createFile(data: CreateFilePayload | FormData) {\n return this.http.patch(`/resources/file`, toFormData(data)).json<CatalogResourceDc>();\n }\n /**\n * No description\n *\n * @tags Catalog\n * @name CreateFile1\n * @operationId CatalogController_CreateFile_1\n * @summary Create new file.\n * @request POST:/resources/file\n * @secure\n * @response `200` OK\n */\n createFile1(data: CreateFile1Payload | FormData) {\n return this.http.post(`/resources/file`, toFormData(data)).json<CatalogResourceDc>();\n }\n /**\n * No description\n *\n * @tags Catalog\n * @name GetPermissions\n * @operationId CatalogController_GetPermissions\n * @summary Set permissions to the resource.\n * @request GET:/resources/{resourceId}/permissions\n * @secure\n * @response `200` OK\n */\n getPermissions(resourceId: string) {\n return this.http.get(`/resources/${resourceId}/permissions`).json<AccessControlListDc>();\n }\n /**\n * No description\n *\n * @tags Catalog\n * @name SetPermissions1\n * @operationId CatalogController_SetPermissions_1\n * @summary Set permissions to the resource.\n * @request PUT:/resources/{resourceId}/permissions\n * @secure\n * @response `200` OK\n */\n setPermissions1(resourceId: string, data: AccessControlListDc) {\n return this.http.put(`/resources/${resourceId}/permissions`, data).then(() => {});\n }\n /**\n * No description\n *\n * @tags Catalog\n * @name SetPermissions\n * @operationId CatalogController_SetPermissions\n * @summary Set permissions to the resource.\n * @request PUT:/resources/permissions\n * @secure\n * @response `200` OK\n */\n setPermissions(data: SetPermissionsPayload) {\n return this.http.put(`/resources/permissions`, data).then(() => {});\n }\n /**\n * No description\n *\n * @tags Catalog\n * @name GetFile\n * @operationId CatalogController_GetFile\n * @summary Download file.\n * @request GET:/resources/file/{resourceId}\n * @secure\n * @response `200` OK\n */\n getFile(resourceId: string) {\n return this.http.get(`/resources/file/${resourceId}`).blob();\n }\n /**\n * No description\n *\n * @tags Catalog\n * @name CleanResources\n * @operationId CatalogController_CleanResources\n * @summary Clean user resources.\n * @request POST:/resources/clean\n * @secure\n * @response `200` OK\n */\n cleanResources() {\n return this.http.post(`/resources/clean`, null).then(() => {});\n }\n /**\n * No description\n *\n * @tags Catalog\n * @name CopyResources\n * @operationId CatalogController_CopyResources\n * @summary Copy a set of resources.\n * @request POST:/resources/copy\n * @secure\n * @response `200` OK\n */\n copyResources(data: CopyResourcesPayload) {\n return this.http.post(`/resources/copy`, data).json<CopyResourceResultDc[]>();\n }\n /**\n * No description\n *\n * @tags Catalog\n * @name ExtractZipArchive\n * @operationId CatalogController_ExtractZipArchive\n * @summary Extract zip archive.\n * @request POST:/resources/zip/extract\n * @secure\n * @response `200` OK\n */\n extractZipArchive(data: ZipExtractRequestDc) {\n return this.http.post(`/resources/zip/extract`, data).then(() => {});\n }\n}\n","import { CatalogResourceDc, CreateFile1Payload, CreateFilePayload } from \"..\";\r\nimport { CatalogService } from \"../__generated__/CatalogService\";\r\n\r\nexport class FileUpload extends CatalogService {\r\n upload(file: File, rewrite?: boolean, parentId?: string, fileName?: string): Promise<CatalogResourceDc> {\r\n const props: CreateFile1Payload = { file, rewrite: !!rewrite };\r\n\r\n if (parentId) {\r\n props.parentId = parentId;\r\n }\r\n\r\n if (fileName) {\r\n props.fileName = fileName;\r\n }\r\n\r\n return this.createFile1(props);\r\n }\r\n\r\n replaceFile(params: CreateFilePayload) {\r\n return this.createFile(params);\r\n }\r\n}\r\n","/* eslint-disable */\n/* tslint:disable */\n/*\n * ---------------------------------------------------------------\n * ## THIS FILE WAS GENERATED VIA SWAGGER-TYPESCRIPT-API ##\n * ## ##\n * ## AUTHOR: acacode ##\n * ## SOURCE: https://github.com/acacode/swagger-typescript-api ##\n * ---------------------------------------------------------------\n */\n\n// @ts-nocheck\n\nimport { Service } from \"./Service\";\nimport { FilterDc, FilterResponseDc } from \"./data-contracts\";\n\n/**\n * @title Spatial Processing Core API\n * @version 1.5.1.0\n * @baseUrl /sp\n */\nexport class FiltersService extends Service {\n /**\n * No description\n *\n * @tags FiltersService\n * @name Get\n * @operationId FiltersServiceController_Get\n * @summary Returns the filter by its id.\n * @request GET:/filters/{id}\n * @secure\n * @response `200` OK\n */\n get(id: string) {\n return this.http.get(`/filters/${id}`).json<FilterResponseDc>();\n }\n /**\n * No description\n *\n * @tags FiltersService\n * @name Update\n * @operationId FiltersServiceController_Update\n * @summary Replaces a filter and gives it a new id.\n * @request POST:/filters/{id}\n * @secure\n * @response `200` OK\n */\n update(id: string, data: FilterDc) {\n return this.http.post(`/filters/${id}`, data).json<FilterResponseDc>();\n }\n /**\n * No description\n *\n * @tags FiltersService\n * @name Create\n * @operationId FiltersServiceController_Create\n * @summary Creates a new filter.\n * @request POST:/filters\n * @secure\n * @response `200` OK\n */\n create(data: FilterDc) {\n return this.http.post(`/filters`, data).json<FilterResponseDc>();\n }\n}\n","import { FiltersService } from \"../__generated__/FiltersService\";\r\n\r\nexport class Filters extends FiltersService {}\r\n","/* eslint-disable */\n/* tslint:disable */\n/*\n * ---------------------------------------------------------------\n * ## THIS FILE WAS GENERATED VIA SWAGGER-TYPESCRIPT-API ##\n * ## ##\n * ## AUTHOR: acacode ##\n * ## SOURCE: https://github.com/acacode/swagger-typescript-api ##\n * ---------------------------------------------------------------\n */\n\n// @ts-nocheck\n\nimport { Service } from \"./Service\";\nimport {\n GeocodeByPointParams,\n GeocodeParams,\n GeocodeResultDc,\n GeocodeSuggestResultDc,\n SuggestParams,\n} from \"./data-contracts\";\n\n/**\n * @title Spatial Processing Core API\n * @version 1.5.1.0\n * @baseUrl /sp\n */\nexport class GeocodeService extends Service {\n /**\n * No description\n *\n * @tags GeocodeService\n * @name Geocode\n * @operationId GeocodeServiceController_Geocode\n * @summary Returns geocode geometry.\n * @request GET:/geocode/{providerName}\n * @secure\n * @response `200` OK\n */\n geocode({ providerName, ...query }: GeocodeParams) {\n return this.http.get(`/geocode/${providerName}`, query).json<GeocodeResultDc[]>();\n }\n /**\n * No description\n *\n * @tags GeocodeService\n * @name GeocodeByPoint\n * @operationId GeocodeServiceController_GeocodeByPoint\n * @summary Returns geocode address from point geometry.\n * @request GET:/geocode/{providerName}/geocodeByPoint\n * @secure\n * @response `200` OK\n */\n geocodeByPoint({ providerName, ...query }: GeocodeByPointParams) {\n return this.http.get(`/geocode/${providerName}/geocodeByPoint`, query).json<GeocodeResultDc[]>();\n }\n /**\n * No description\n *\n * @tags GeocodeService\n * @name Suggest\n * @operationId GeocodeServiceController_Suggest\n * @summary Returns geocode suggest.\n * @request GET:/geocode/{providerName}/suggest\n * @secure\n * @response `200` OK\n */\n suggest({ providerName, ...query }: SuggestParams) {\n return this.http.get(`/geocode/${providerName}/suggest`, query).json<GeocodeSuggestResultDc[]>();\n }\n}\n","import { GeocodeParams } from \"../__generated__/data-contracts\";\r\nimport { GeocodeService } from \"../__generated__/GeocodeService\";\r\n\r\nexport const GEOCODE_PROVIDER = \"geocode2gis\";\r\n\r\nexport type Geocode2GisType = Omit<GeocodeParams, \"providerName\">;\r\nexport type Suggest2GisType = Omit<GeocodeParams, \"providerName\">;\r\n\r\nexport class Geocode extends GeocodeService {\r\n geocode2Gis(params: Geocode2GisType) {\r\n return this.geocode({\r\n providerName: GEOCODE_PROVIDER,\r\n ...params,\r\n });\r\n }\r\n\r\n suggest2Gis(params: Suggest2GisType) {\r\n return this.suggest({\r\n providerName: GEOCODE_PROVIDER,\r\n ...params,\r\n });\r\n }\r\n}\r\n","/* eslint-disable */\n/* tslint:disable */\n/*\n * ---------------------------------------------------------------\n * ## THIS FILE WAS GENERATED VIA SWAGGER-TYPESCRIPT-API ##\n * ## ##\n * ## AUTHOR: acacode ##\n * ## SOURCE: https://github.com/acacode/swagger-typescript-api ##\n * ---------------------------------------------------------------\n */\n\n// @ts-nocheck\n\nimport { Service } from \"./Service\";\nimport {\n ExternalLayerInfoDc,\n GetDataSchemaParams,\n GetExternalArcGisLayersParams,\n GetExternalArcgisFsLayersParams,\n GetExternalPbfFeaturesParams,\n GetExternalPbfLayersParams,\n GetExternalWmsLayersParams,\n GetRasterAttributesParams,\n GetRasterMetaParams,\n ImportDataSchemaDc,\n ImportFileFeaturesCountDc,\n NetCdfMetaDc,\n PagedFeaturesListDc,\n RasterMetaDc,\n ReadPartParams,\n} from \"./data-contracts\";\n\n/**\n * @title Spatial Processing Core API\n * @version 1.5.1.0\n * @baseUrl /sp\n */\nexport class ImportService extends Service {\n /**\n * No description\n *\n * @tags ImportService\n * @name GetDataSchema\n * @operationId ImportServiceController_GetDataSchema\n * @summary Using a file uploaded to the file upload service, reads the headers of the file and returns the information about data schema of all layers in that file, available for import.\n * @request GET:/import/dataSchema\n * @secure\n * @response `200` OK\n */\n getDataSchema(query: GetDataSchemaParams) {\n return this.http.get(`/import/dataSchema`, query).json<ImportDataSchemaDc>();\n }\n /**\n * No description\n *\n * @tags ImportService\n * @name GetFeaturesCount\n * @operationId ImportServiceController_GetFeaturesCount\n * @summary Returns the features count of the given file in temporary static storage.\n * @request POST:/import/count\n * @secure\n * @response `200` OK\n */\n getFeaturesCount(data: ImportFileFeaturesCountDc) {\n return this.http.post(`/import/count`, data).json<number>();\n }\n /**\n * No description\n *\n * @tags ImportService\n * @name ReadPart\n * @operationId ImportServiceController_ReadPart\n * @summary Returns the features of the given file in temporary static storage.\n * @request GET:/import/read\n * @secure\n * @response `200` OK\n */\n readPart(query: ReadPartParams) {\n return this.http.get(`/import/read`, query).json<Record<string, any>[]>();\n }\n /**\n * No description\n *\n * @tags ImportService\n * @name GetExternalWmsLayers\n * @operationId ImportServiceController_GetExternalWmsLayers\n * @summary Get list of external WMS layers.\n * @request GET:/import/wms\n * @secure\n * @response `200` OK\n */\n getExternalWmsLayers(query: GetExternalWmsLayersParams) {\n return this.http.get(`/import/wms`, query).json<ExternalLayerInfoDc[]>();\n }\n /**\n * No description\n *\n * @tags ImportService\n * @name GetExternalPbfLayers\n * @operationId ImportServiceController_GetExternalPbfLayers\n * @summary Get list of external PBF layers.\n * @request GET:/import/pbf\n * @secure\n * @response `200` OK\n */\n getExternalPbfLayers(query: GetExternalPbfLayersParams) {\n return this.http.get(`/import/pbf`, query).json<ExternalLayerInfoDc[]>();\n }\n /**\n * No description\n *\n * @tags ImportService\n * @name GetExternalPbfFeatures\n * @operationId ImportServiceController_GetExternalPbfFeatures\n * @summary Get features list in external PBF layer.\n * @request GET:/import/pbf/features\n * @secure\n * @response `200` OK\n */\n getExternalPbfFeatures(query: GetExternalPbfFeaturesParams) {\n return this.http.get(`/import/pbf/features`, query).json<PagedFeaturesListDc>();\n }\n /**\n * No description\n *\n * @tags ImportService\n * @name GetExternalArcgisFsLayers\n * @operationId ImportServiceController_GetExternalArcgisFSLayers\n * @summary Get list of external ArcGis FeatureServer layers.\n * @request GET:/import/arcgisfeatureservice\n * @secure\n * @response `200` OK\n */\n getExternalArcgisFsLayers(query: GetExternalArcgisFsLayersParams) {\n return this.http.get(`/import/arcgisfeatureservice`, query).json<ExternalLayerInfoDc[]>();\n }\n /**\n * No description\n *\n * @tags ImportService\n * @name GetExternalArcGisLayers\n * @operationId ImportServiceController_GetExternalArcGisLayers\n * @summary Get list of external ArcGis MapServer layers.\n * @request GET:/import/arcgismapservice\n * @secure\n * @response `200` OK\n */\n getExternalArcGisLayers(query: GetExternalArcGisLayersParams) {\n return this.http.get(`/import/arcgismapservice`, query).json<ExternalLayerInfoDc[]>();\n }\n /**\n * No description\n *\n * @tags ImportService\n * @name GetRasterAttributes\n * @operationId ImportServiceController_GetRasterAttributes\n * @summary Parse raster attributes from file name.\n * @request GET:/import/rasterAttributes\n * @secure\n * @response `200` OK\n */\n getRasterAttributes(query: GetRasterAttributesParams) {\n return this.http.get(`/import/rasterAttributes`, query).json<Record<string, any>>();\n }\n /**\n * No description\n *\n * @tags ImportService\n * @name GetRasterMeta\n * @operationId ImportServiceController_GetRasterMeta\n * @summary Get raster meta data.\n * @request GET:/import/rasterMeta\n * @secure\n * @response `200` OK\n */\n getRasterMeta(query: GetRasterMetaParams) {\n return this.http.get(`/import/rasterMeta`, query).json<(RasterMetaDc | NetCdfMetaDc)[]>();\n }\n}\n","import { ImportService } from \"../__generated__/ImportService\";\r\n\r\nexport class Import extends ImportService {}\r\n","import { HTTPError } from \"ky\";\r\n\r\nexport enum ErrorReason {\r\n /** When request has status code less than 400 */\r\n HTTP_OTHER = \"other\",\r\n /** When request has status code in range 400 - 499 */\r\n HTTP_CLIENT = \"client\",\r\n /** When request has status code 500 or more */\r\n HTTP_SERVER = \"server\",\r\n /** When it's not a http bad response */\r\n UNKNOWN = \"unknown\",\r\n}\r\n\r\nexport type HandledError<E = Error> = HandledBaseError<E> | HandledHTTPError<E>;\r\n\r\nexport interface HandledBaseError<E = Error> {\r\n type: \"base\";\r\n reason: ErrorReason;\r\n origin: E;\r\n}\r\n\r\nexport interface HandledHTTPError<E = Error> {\r\n type: \"http\";\r\n reason: ErrorReason;\r\n origin: E;\r\n status: number;\r\n}\r\n\r\nconst handleBaseError = <E = Error>(e: E): HandledBaseError<E> => ({\r\n type: \"base\",\r\n reason: ErrorReason.UNKNOWN,\r\n origin: e,\r\n});\r\n\r\nconst handleHTTPError = <E extends HTTPError = HTTPError>(\r\n e: E,\r\n): HandledHTTPError<E> => {\r\n const status = e.response.status;\r\n let reason = ErrorReason.HTTP_OTHER;\r\n\r\n if (status >= 400 && status < 500) {\r\n reason = ErrorReason.HTTP_CLIENT;\r\n }\r\n if (status >= 500) {\r\n reason = ErrorReason.HTTP_SERVER;\r\n }\r\n\r\n return {\r\n type: \"http\",\r\n reason,\r\n status,\r\n origin: e,\r\n };\r\n};\r\n\r\nexport const errorHandler = <E = Error>(e: E): HandledError<E> => {\r\n if (e instanceof HTTPError) return handleHTTPError(e);\r\n return handleBaseError(e);\r\n};\r\n\r\nexport const isHandledError = (e: any): e is HandledError =>\r\n e && e.type && e.reason;\r\nexport const isHTTPError = (e: any): e is HandledHTTPError<HTTPError> =>\r\n isHandledError(e) && e.type === \"http\";\r\n","export function formDataFromFile(file: File) {\r\n const data = new FormData();\r\n data.append(\"file\", file);\r\n\r\n return data;\r\n}\r\n","export function isString(v: any): v is string {\r\n return typeof v === \"string\";\r\n}\r\n","/* eslint-disable */\n/* tslint:disable */\n/*\n * ---------------------------------------------------------------\n * ## THIS FILE WAS GENERATED VIA SWAGGER-TYPESCRIPT-API ##\n * ## ##\n * ## AUTHOR: acacode ##\n * ## SOURCE: https://github.com/acacode/swagger-typescript-api ##\n * ---------------------------------------------------------------\n */\n\n// @ts-nocheck\n\nimport { Service } from \"./Service\";\nimport {\n ArcGisDataSourceDc,\n ArcGisDataSourceInfoDc,\n GetDataSourcesListParams,\n MosRuDataSourceDc,\n MosRuDataSourceInfoDc,\n PagedListDataSourceInfoDc,\n PostgresDataSourceDc,\n PostgresDataSourceInfoDc,\n S3DataSourceDc,\n S3DataSourceInfoDc,\n SparkDataSourceDc,\n SparkDataSourceInfoDc,\n TestConnectionInfoDc,\n WmsDataSourceDc,\n} from \"./data-contracts\";\n\n/**\n * @title Spatial Processing Core API\n * @version 1.5.1.0\n * @baseUrl /sp\n */\nexport class DataSourceService extends Service {\n /**\n * No description\n *\n * @tags DataSource\n * @name CreateArcGisDataSource\n * @operationId DataSourceController_CreateArcGisDataSource\n * @summary Create S3 data source.\n * @request POST:/ds/arcgis\n * @secure\n * @response `200` OK\n */\n createArcGisDataSource(data: ArcGisDataSourceDc) {\n return this.http.post(`/ds/arcgis`, data).then(() => {});\n }\n /**\n * No description\n *\n * @tags DataSource\n * @name UpdateArcGisDataSource\n * @operationId DataSourceController_UpdateArcGisDataSource\n * @summary Update arcgis data source.\n * @request PATCH:/ds/arcgis\n * @secure\n * @response `200` OK\n */\n updateArcGisDataSource(data: ArcGisDataSourceDc) {\n return this.http.patch(`/ds/arcgis`, data).then(() => {});\n }\n /**\n * No description\n *\n * @tags DataSource\n * @name GetDataSourcesList\n * @operationId DataSourceController_GetDataSourcesList\n * @summary Returns list of the available data sources.\n * @request GET:/ds\n * @secure\n * @response `200` OK\n */\n getDataSourcesList(query: GetDataSourcesListParams) {\n return this.http.get(`/ds`, query).json<PagedListDataSourceInfoDc>();\n }\n /**\n * No description\n *\n * @tags DataSource\n * @name CreateDataSource\n * @operationId DataSourceController_CreateDataSource\n * @summary Create postgresql data source.\n * @request POST:/ds\n * @secure\n * @response `200` OK\n */\n createDataSource(data: PostgresDataSourceDc) {\n return this.http.post(`/ds`, data).then(() => {});\n }\n /**\n * No description\n *\n * @tags DataSource\n * @name UpdateDataSource\n * @operationId DataSourceController_UpdateDataSource\n * @summary Update postgresql data source.\n * @request PATCH:/ds\n * @secure\n * @response `200` OK\n */\n updateDataSource(data: PostgresDataSourceDc) {\n return this.http.patch(`/ds`, data).then(() => {});\n }\n /**\n * No description\n *\n * @tags DataSource\n * @name GetDataSource\n * @operationId DataSourceController_GetDataSource\n * @summary Get data source by name.\n * @request GET:/ds/{name}\n * @secure\n * @response `200` OK\n */\n getDataSource(name: string) {\n return this.http\n .get(`/ds/${name}`)\n .json<\n | ArcGisDataSourceInfoDc\n | MosRuDataSourceInfoDc\n | PostgresDataSourceInfoDc\n | S3DataSourceInfoDc\n | SparkDataSourceInfoDc\n >();\n }\n /**\n * No description\n *\n * @tags DataSource\n * @name RemoveDataSource\n * @operationId DataSourceController_RemoveDataSource\n * @summary Remove data source by name.\n * @request DELETE:/ds/{name}\n * @secure\n * @response `200` OK\n */\n removeDataSource(name: string) {\n return this.http.delete(`/ds/${name}`, null).then(() => {});\n }\n /**\n * No description\n *\n * @tags DataSource\n * @name TestConnection\n * @operationId DataSourceController_TestConnection\n * @summary Test ds connection.\n * @request POST:/ds/testConnection\n * @secure\n * @response `200` OK\n */\n testConnection(data: PostgresDataSourceDc) {\n return this.http.post(`/ds/testConnection`, data).json<TestConnectionInfoDc>();\n }\n /**\n * No description\n *\n * @tags DataSource\n * @name CreateMosRuDataSource\n * @operationId DataSourceController_CreateMosRuDataSource\n * @summary Create data.mos.ru data source.\n * @request POST:/ds/dataMosRu\n * @secure\n * @response `200` OK\n */\n createMosRuDataSource(data: MosRuDataSourceDc) {\n return this.http.post(`/ds/dataMosRu`, data).then(() => {});\n }\n /**\n * No description\n *\n * @tags DataSource\n * @name UpdateMosRuDataSource\n * @operationId DataSourceController_UpdateMosRuDataSource\n * @summary Update data.mos.ru data source.\n * @request PATCH:/ds/dataMosRu\n * @secure\n * @response `200` OK\n */\n updateMosRuDataSource(data: MosRuDataSourceDc) {\n return this.http.patch(`/ds/dataMosRu`, data).then(() => {});\n }\n /**\n * No description\n *\n * @tags DataSource\n * @name CreateS3DataSource\n * @operationId DataSourceController_CreateS3DataSource\n * @summary Create S3 data source.\n * @request POST:/ds/s3\n * @secure\n * @response `200` OK\n */\n createS3DataSource(data: S3DataSourceDc) {\n return this.http.post(`/ds/s3`, data).then(() => {});\n }\n /**\n * No description\n *\n * @tags DataSource\n * @name UpdateS3DataSource\n * @operationId DataSourceController_UpdateS3DataSource\n * @summary Create S3 data source.\n * @request PATCH:/ds/s3\n * @secure\n * @response `200` OK\n */\n updateS3DataSource(data: S3DataSourceDc) {\n return this.http.patch(`/ds/s3`, data).then(() => {});\n }\n /**\n * No description\n *\n * @tags DataSource\n * @name CreateSparkDataSource\n * @operationId DataSourceController_CreateSparkDataSource\n * @summary Create spark data source.\n * @request POST:/ds/spark\n * @secure\n * @response `200` OK\n */\n createSparkDataSource(data: SparkDataSourceDc) {\n return this.http.post(`/ds/spark`, data).then(() => {});\n }\n /**\n * No description\n *\n * @tags DataSource\n * @name UpdateSparkDataSource\n * @operationId DataSourceController_UpdateSparkDataSource\n * @summary Update spark data source.\n * @request PATCH:/ds/spark\n * @secure\n * @response `200` OK\n */\n updateSparkDataSource(data: SparkDataSourceDc) {\n return this.http.patch(`/ds/spark`, data).then(() => {});\n }\n /**\n * No description\n *\n * @tags DataSource\n * @name CreateArcGisDataSource1\n * @operationId DataSourceController_CreateArcGisDataSource_1\n * @summary Create WMS data source.\n * @request POST:/ds/wms\n * @secure\n * @response `200` OK\n */\n createArcGisDataSource1(data: WmsDataSourceDc) {\n return this.http.post(`/ds/wms`, data).then(() => {});\n }\n /**\n * No description\n *\n * @tags DataSource\n * @name UpdateArcGisDataSource1\n * @operationId DataSourceController_UpdateArcGisDataSource_1\n * @summary Update WMS data source.\n * @request PATCH:/ds/wms\n * @secure\n * @response `200` OK\n */\n updateArcGisDataSource1(data: WmsDataSourceDc) {\n return this.http.patch(`/ds/wms`, data).then(() => {});\n }\n}\n","/* eslint-disable */\n/* tslint:disable */\n/*\n * ---------------------------------------------------------------\n * ## THIS FILE WAS GENERATED VIA SWAGGER-TYPESCRIPT-API ##\n * ## ##\n * ## AUTHOR: acacode ##\n * ## SOURCE: https://github.com/acacode/swagger-typescript-api ##\n * ---------------------------------------------------------------\n */\n\n// @ts-nocheck\n\nimport { Service } from \"./Service\";\nimport { CreateTokenParams, GetTokensListParams, PagedListQueryTokenDc } from \"./data-contracts\";\n\n/**\n * @title Spatial Processing Core API\n * @version 1.5.1.0\n * @baseUrl /sp\n */\nexport class QueryTokenAccessService extends Service {\n /**\n * No description\n *\n * @tags QueryTokenAccess\n * @name GetTokensList\n * @operationId QueryTokenAccessController_GetTokensList\n * @request GET:/accessToken/list/{username}\n * @secure\n * @response `200` OK\n */\n getTokensList({ username, ...query }: GetTokensListParams) {\n return this.http.get(`/accessToken/list/${username}`, query).json<PagedListQueryTokenDc>();\n }\n /**\n * No description\n *\n * @tags QueryTokenAccess\n * @name CreateToken\n * @operationId QueryTokenAccessController_CreateTokenAsync\n * @request PUT:/accessToken/{username}\n * @secure\n * @response `200` OK\n */\n createToken({ username, ...query }: CreateTokenParams) {\n return this.http.put(`/accessToken/${username}`, null, query).text();\n }\n /**\n * No description\n *\n * @tags QueryTokenAccess\n * @name DisableToken\n * @operationId QueryTokenAccessController_DisableToken\n * @request POST:/accessToken/{token}/disable\n * @secure\n * @response `200` OK\n */\n disableToken(token: string) {\n return this.http.post(`/accessToken/${token}/disable`, null).then(() => {});\n }\n /**\n * No description\n *\n * @tags QueryTokenAccess\n * @name EnableToken\n * @operationId QueryTokenAccessController_EnableToken\n * @request POST:/accessToken/{token}/enable\n * @secure\n * @response `200` OK\n */\n enableToken(token: string) {\n return this.http.post(`/accessToken/${token}/enable`, null).then(() => {});\n }\n /**\n * No description\n *\n * @tags QueryTokenAccess\n * @name RevokeToken\n * @operationId QueryTokenAccessController_RevokeToken\n * @request DELETE:/accessToken/{token}\n * @secure\n * @response `200` OK\n */\n revokeToken(token: string) {\n return this.http.delete(`/accessToken/${token}`, null).then(() => {});\n }\n}\n","/* eslint-disable */\n/* tslint:disable */\n/*\n * ---------------------------------------------------------------\n * ## THIS FILE WAS GENERATED VIA SWAGGER-TYPESCRIPT-API ##\n * ## ##\n * ## AUTHOR: acacode ##\n * ## SOURCE: https://github.com/acacode/swagger-typescript-api ##\n * ---------------------------------------------------------------\n */\n\n// @ts-nocheck\n\nimport { Service } from \"./Service\";\nimport { SrInfo } from \"./data-contracts\";\n\n/**\n * @title Spatial Processing Core API\n * @version 1.5.1.0\n * @baseUrl /sp\n */\nexport class SpatialReferencesService extends Service {\n /**\n * No description\n *\n * @tags SpatialReferences\n * @name GetAvailiableCs\n * @operationId SpatialReferencesController_GetAvailiableCsAsync\n * @summary Returns list of available spatial references.\n * @request GET:/srs/list\n * @secure\n * @response `200` OK\n */\n getAvailiableCs() {\n return this.http.get(`/srs/list`).json<SrInfo[]>();\n }\n /**\n * No description\n *\n * @tags SpatialReferences\n * @name GetProj4Representation\n * @operationId SpatialReferencesController_GetProj4RepresentationAsync\n * @summary Returns a WKT representation of spatial reference.\n * @request GET:/srs/{name}/proj4\n * @secure\n * @response `200` OK\n */\n getProj4Representation(name: string) {\n return this.http.get(`/srs/${name}/proj4`).text();\n }\n /**\n * No description\n *\n * @tags SpatialReferences\n * @name GetWktRepresentation\n * @operationId SpatialReferencesController_GetWktRepresentationAsync\n * @summary Returns a WKT representation of spatial reference.\n * @request GET:/srs/{name}/wkt\n * @secure\n * @response `200` OK\n */\n getWktRepresentation(name: string) {\n return this.http.get(`/srs/${name}/wkt`).text();\n }\n}\n","export enum ApiEvent {\r\n ConnectionLost = \"ConnectionLost\",\r\n Unauthorized = \"Unauthorized\",\r\n SessionClosed = \"SessionClosed\",\r\n}\r\n","export type EventHandler = (event?: any) => void;\r\nexport type WildCardEventHandler = (type: string, event?: any) => void;\r\n\r\ntype EventHandlerMap = {\r\n \"*\": WildCardEventHandler[];\r\n [type: string]: EventHandler[];\r\n};\r\n\r\nexport class EventEmitter {\r\n private handlers: EventHandlerMap = {\r\n \"*\": [],\r\n };\r\n\r\n on(type: \"*\", handler: WildCardEventHandler): void;\r\n on(type: string, handler: EventHandler): void;\r\n on(type: string, handler: EventHandler): void {\r\n if (!this.handlers[type]) {\r\n this.handlers[type] = [];\r\n }\r\n this.handlers[type].push(handler);\r\n }\r\n\r\n off(type: \"*\", handler: WildCardEventHandler): void;\r\n off(type: string, handler: EventHandler): void;\r\n off(type: string, handler: EventHandler): void {\r\n if (!this.handlers[type]) return;\r\n\r\n const index = this.handlers[type].indexOf(handler);\r\n\r\n if (index === -1) return;\r\n\r\n this.handlers[type].splice(index, 1);\r\n }\r\n\r\n emit(type: string, event?: any) {\r\n this.handlers[type] && this.handlers[type].map(handler => handler(event));\r\n this.handlers[\"*\"].map(handler => handler(type, event));\r\n }\r\n\r\n once(type: string, handler: EventHandler) {\r\n const onceHandler: EventHandler = event => {\r\n this.off(type, onceHandler);\r\n handler(event);\r\n };\r\n this.on(type, onceHandler);\r\n }\r\n}\r\n","import { HTTPError, Options as KyOptions } from \"ky\";\r\n\r\nimport {\r\n HttpTransportType,\r\n HubConnection,\r\n HubConnectionBuilder,\r\n HubConnectionState,\r\n} from \"@microsoft/signalr\";\r\n\r\nimport { STORAGE_REFRESH_TOKEN_KEY, STORAGE_TOKEN_KEY } from \"./constants\";\r\n\r\nimport { HttpClient } from \"./__generated__/HttpClient\";\r\nimport { DataSourceService } from \"./__generated__/DataSourceService\";\r\nimport { QueryTokenAccessService } from \"./__generated__/QueryTokenAccessService\";\r\nimport { SpatialReferencesService } from \"./__generated__/SpatialReferencesService\";\r\nimport { CatalogService } from \"./__generated__/CatalogService\";\r\nimport { ApiEvent } from \"./ApiEvent\";\r\nimport { EventEmitter } from \"./EventEmitter\";\r\n\r\nimport {\r\n Account,\r\n AccountPreview,\r\n External,\r\n BulkOperations,\r\n Cameras,\r\n ClientSettings,\r\n ConnectionStatus,\r\n Eql,\r\n Feedback,\r\n FileUpload,\r\n Filters,\r\n Geocode,\r\n Import,\r\n Layers,\r\n Names,\r\n Notification,\r\n NotificationTag,\r\n PortalSettings,\r\n Projects,\r\n RemoteTaskManager,\r\n Resources,\r\n Security,\r\n Statistic,\r\n SubscriptionTag,\r\n Tables,\r\n Tools,\r\n VectorTiles,\r\n} from \"./services\";\r\n\r\nimport { errorHandler, getFetchingUrlPath } from \"./utils\";\r\n\r\nimport { AuthenticateParams, LoginDc } from \"./__generated__/data-contracts\";\r\n\r\nexport type ApiParams = {\r\n url: string;\r\n wsUrl?: string;\r\n wsKeepAlive?: boolean;\r\n snappingHubUrl?: string;\r\n http?: HttpClient;\r\n httpOptions?: KyOptions;\r\n urlPath?: string;\r\n};\r\n\r\nexport enum UrlPath {\r\n Base = \"/map\",\r\n Shared = \"/shared\",\r\n Presentation = \"/presentation\",\r\n Portal = \"/portal\",\r\n}\r\n\r\nexport type SocAuthNetwork = \"vk\" | \"facebook\" | \"google\" | \"yandex\";\r\n\r\nconst apiEventsByResponseStatus: Record<number, ApiEvent> = {\r\n 401: ApiEvent.Unauthorized,\r\n};\r\n\r\nconst SHARED_PORT = \"8082\";\r\nconst URL_PATHS = Object.values(UrlPath);\r\nconst DEFAULT_URL_PATH = URL_PATHS[0];\r\n\r\nexport class Api extends EventEmitter {\r\n readonly url: string;\r\n readonly layers: Layers;\r\n readonly tables: Tables;\r\n readonly projects: Projects;\r\n readonly security: Security;\r\n readonly notification: Notification;\r\n readonly file: FileUpload;\r\n readonly filters: Filters;\r\n readonly import: Import;\r\n readonly resources: Resources;\r\n readonly geocode: Geocode;\r\n readonly tools: Tools;\r\n readonly external: External;\r\n readonly account: Account;\r\n readonly accountPreview: AccountPreview;\r\n readonly clientSettings: ClientSettings;\r\n readonly portalSettings: PortalSettings;\r\n readonly names: Names;\r\n readonly bulk: BulkOperations;\r\n readonly statistic: Statistic;\r\n readonly feedback: Feedback;\r\n readonly snappingHub: HubConnection | null;\r\n readonly vectorTiles: VectorTiles;\r\n readonly spatialReference: SpatialReferencesService;\r\n readonly eql: Eql;\r\n readonly catalog: CatalogService;\r\n readonly queryToken: QueryTokenAccessService;\r\n readonly dataSource: DataSourceService;\r\n readonly remoteTaskManager: RemoteTaskManager;\r\n readonly cameras: Cameras;\r\n protected readonly http: HttpClient;\r\n private readonly wsUrl: string;\r\n private readonly urlPath: string;\r\n\r\n constructor({\r\n url,\r\n wsUrl,\r\n wsKeepAlive,\r\n snappingHubUrl,\r\n http,\r\n urlPath,\r\n httpOptions,\r\n }: ApiParams) {\r\n super();\r\n\r\n const { hooks } = httpOptions || {};\r\n\r\n this.http =\r\n http ||\r\n new HttpClient({\r\n prefixUrl: url,\r\n timeout: false,\r\n retry: {\r\n methods: [\"get\", \"post\", \"delete\"],\r\n limit: 5,\r\n statusCodes: [401],\r\n },\r\n ...(httpOptions || {}),\r\n hooks: {\r\n ...(hooks || {}),\r\n beforeRequest: [\r\n request => {\r\n const token = window.localStorage.getItem(STORAGE_TOKEN_KEY);\r\n\r\n if (token) {\r\n request.headers?.set(\"Authorization\", `Bearer ${token || \"\"}`);\r\n }\r\n },\r\n ...(hooks?.beforeRequest ?? []),\r\n ],\r\n beforeRetry: [\r\n async ({ request, error, retryCount }) => {\r\n if (\r\n error instanceof HTTPError &&\r\n error.response.status === 401 &&\r\n retryCount === 1\r\n ) {\r\n try {\r\n const refreshToken = window.localStorage.getItem(STORAGE_REFRESH_TOKEN_KEY);\r\n\r\n if (refreshToken) {\r\n const refreshTokenResponse = await this.account.refreshToken({\r\n refreshToken,\r\n });\r\n\r\n if (refreshTokenResponse) {\r\n window.localStorage.setItem(STORAGE_TOKEN_KEY, refreshTokenResponse.token as string);\r\n window.localStorage.setItem(STORAGE_REFRESH_TOKEN_KEY, refreshTokenResponse.refreshToken as string);\r\n }\r\n\r\n request.headers?.set(\"Authorization\", `Bearer ${refreshTokenResponse.token || \"\"}`);\r\n }\r\n } catch (error) {\r\n throw new Error(\"Failed to refresh token\");\r\n }\r\n }\r\n },\r\n ],\r\n afterResponse: [\r\n (request, options, response) => {\r\n const apiEvent = apiEventsByResponseStatus[response?.status];\r\n\r\n if (apiEvent) {\r\n this.emit(apiEvent, errorHandler(new HTTPError(response, request, options)));\r\n }\r\n\r\n return response;\r\n },\r\n ...(hooks?.afterResponse || []),\r\n ],\r\n },\r\n });\r\n this.url = url;\r\n this.wsUrl = wsUrl || url;\r\n this.urlPath = urlPath || this.defineUrlPath();\r\n this.layers = new Layers(this.http);\r\n this.tables = new Tables(this.http);\r\n this.projects = new Projects(this.http);\r\n this.resources = new Resources(this.projects, this.layers, this.tables);\r\n this.external = new External(this.http);\r\n this.account = new Account(this.http);\r\n this.accountPreview = new AccountPreview(this.http);\r\n this.bulk = new BulkOperations(this.http);\r\n this.security = new Security(this.http, this.account);\r\n this.notification = new Notification(this.http, this, wsKeepAlive);\r\n this.file = new FileUpload(this.http);\r\n this.filters = new Filters(this.http);\r\n this.import = new Import(this.http);\r\n this.geocode = new Geocode(this.http);\r\n this.tools = new Tools(this.http);\r\n this.clientSettings = new ClientSettings(this.http);\r\n this.portalSettings = new PortalSettings(this.http);\r\n this.statistic = new Statistic(this.http);\r\n this.feedback = new Feedback(this.http);\r\n this.vectorTiles = new VectorTiles(this.http);\r\n this.spatialReference = new SpatialReferencesService(this.http);\r\n this.eql = new Eql(this.http);\r\n this.catalog = new CatalogService(this.http);\r\n this.queryToken = new QueryTokenAccessService(this.http);\r\n this.dataSource = new DataSourceService(this.http);\r\n this.remoteTaskManager = new RemoteTaskManager(this.http);\r\n this.cameras = new Cameras(this.http);\r\n\r\n this.names = new Names({\r\n account: this.account,\r\n });\r\n\r\n this.snappingHub = snappingHubUrl\r\n ? new HubConnectionBuilder()\r\n .withUrl(snappingHubUrl, {\r\n withCredentials: true,\r\n skipNegotiation: true,\r\n transport: HttpTransportType.WebSockets,\r\n })\r\n .withAutomaticReconnect()\r\n .build()\r\n : null;\r\n }\r\n\r\n get isShared() {\r\n return this.urlPath === UrlPath.Shared;\r\n }\r\n\r\n get isPresentation() {\r\n return this.urlPath === UrlPath.Presentation || window.location.port === SHARED_PORT;\r\n }\r\n\r\n async init({\r\n authParams,\r\n authQueryParams,\r\n connectWs,\r\n fetchSettings,\r\n fetchUser,\r\n useJwt,\r\n }: {\r\n authParams?: LoginDc;\r\n authQueryParams?: AuthenticateParams;\r\n connectWs?: boolean;\r\n connectSignalR?: boolean;\r\n fetchSettings?: boolean;\r\n fetchUser?: boolean;\r\n useJwt?: boolean;\r\n }) {\r\n try {\r\n await this.account.login(authParams, authQueryParams, useJwt);\r\n\r\n if (fetchUser) {\r\n await this.account.fetchCurrentUser();\r\n }\r\n\r\n if (connectWs) {\r\n await this.connectWs();\r\n }\r\n\r\n if (fetchSettings) {\r\n await this.clientSettings.fetchClientSettings({\r\n urlPath: getFetchingUrlPath(this.urlPath),\r\n });\r\n }\r\n\r\n await this.notification.subscribe(SubscriptionTag.ServiceUpdate);\r\n } catch (e) {\r\n throw errorHandler(e);\r\n }\r\n }\r\n\r\n isAcceptedNetwork(network: string): network is SocAuthNetwork {\r\n return [\"vk\", \"google\", \"facebook\"].includes(network);\r\n }\r\n\r\n async socAuthLogin(network: SocAuthNetwork) {\r\n if (!this.isAcceptedNetwork(network)) return;\r\n\r\n try {\r\n await this.clientSettings.fetchClientSettings({ urlPath: UrlPath.Base });\r\n } catch (e) {\r\n throw errorHandler(e);\r\n }\r\n }\r\n\r\n async connectWs() {\r\n if (this.account.isAuth) {\r\n this.notification.connectWs(this.wsUrl);\r\n\r\n this.notification.on(NotificationTag.ConnectionStatus, connection => {\r\n if (connection.data === ConnectionStatus.Lost) {\r\n this.emit(ApiEvent.ConnectionLost, connection.data);\r\n } else if (connection.data === ConnectionStatus.SessionClosed) {\r\n this.emit(ApiEvent.SessionClosed, connection.data);\r\n }\r\n });\r\n }\r\n }\r\n\r\n async connectSignalR() {\r\n if (\r\n this.account.isAuth &&\r\n this.snappingHub &&\r\n this.snappingHub.state !== HubConnectionState.Connected\r\n ) {\r\n await this.snappingHub.start();\r\n }\r\n }\r\n\r\n async logout() {\r\n await this.account.logout();\r\n await this.security.reset();\r\n this.emit(ApiEvent.Unauthorized, null);\r\n }\r\n\r\n private defineUrlPath(): string {\r\n const firstPath = (\r\n window.location.href.split(window.location.hostname)[1] || \"\"\r\n )\r\n .split(\"/\")\r\n .filter(Boolean)[0];\r\n const urlPath = firstPath ? (`/${firstPath}` as UrlPath) : void 0;\r\n\r\n return urlPath && URL_PATHS.includes(urlPath) ? urlPath : DEFAULT_URL_PATH;\r\n }\r\n}\r\n","import { UrlPath } from \"../Api\";\r\n\r\nexport const addSubDomainToLocation = (subDomain?: string): string =>\r\n `${window.location.protocol}//${subDomain}.${window.location.host}`;\r\n\r\nexport const getFetchingUrlPath = (urlPath: string) => urlPath === UrlPath.Presentation ? UrlPath.Base : urlPath;\r\n","export const parseJwt = (token: string) => {\r\n const base64Url = token.split(\".\")[1];\r\n const base64 = base64Url.replace(/-/g, \"+\").replace(/_/g, \"/\");\r\n const jsonPayload = decodeURIComponent(atob(base64).split(\"\").map((c) => (\r\n `%${(\"00\".concat(c.charCodeAt(0).toString(16)).slice(-2))}`\r\n )).join(\"\"));\r\n\r\n return JSON.parse(jsonPayload);\r\n};\r\n","export async function promiseAllIgnoreErrors<Result>(\r\n promises: Promise<Result>[],\r\n): Promise<Result[]> {\r\n const results = await Promise.all(\r\n promises.map(promise => promise.catch(e => (isError(e) ? e : new Error(e)))),\r\n );\r\n\r\n return results.filter(notError);\r\n}\r\n\r\nfunction isError<T>(v: T | Error): v is Error {\r\n return v instanceof Error;\r\n}\r\n\r\nfunction notError<T>(v: T | Error): v is T {\r\n return !isError(v);\r\n}\r\n","export function unique<Value>(value: Value, index: number, array: Value[]) {\r\n return array.indexOf(value) === index;\r\n}\r\n","import { customAlphabet } from \"nanoid\";\r\n\r\nconst ALPHABET = \"abcdefghijklmnopqrstuvwxyz0123456789\";\r\n\r\n/** Generates unique identifier */\r\nexport const generateId = customAlphabet(ALPHABET, 12);\r\n","export const stripUselessSlashes = (...strings: string[]) =>\r\n strings\r\n .join(\"/\")\r\n .split(\"/\")\r\n .filter(Boolean)\r\n .join(\"/\");\r\n","/* eslint-disable */\n/* tslint:disable */\n/*\n * ---------------------------------------------------------------\n * ## THIS FILE WAS GENERATED VIA SWAGGER-TYPESCRIPT-API ##\n * ## ##\n * ## AUTHOR: acacode ##\n * ## SOURCE: https://github.com/acacode/swagger-typescript-api ##\n * ---------------------------------------------------------------\n */\n\n// @ts-nocheck\n\nimport { Service } from \"./Service\";\nimport {\n AggregateAttributeParams,\n AggregationDataResultDc,\n AttributeDistinctsDc,\n BulkExtentsDc,\n BulkFilteredFeaturesCountDc,\n BulkOperationResultDc,\n ClassifyDc,\n ClassifyParams,\n CreateFeaturesParams,\n CreateFeaturesPayload,\n DeleteByConditionParams,\n DeleteFeatureParams,\n DeleteFeaturesParams,\n DeleteResourcesParams,\n DistinctsParams,\n EditAttributesInfoDc,\n EnvelopeDc,\n ExpressionValidationResultDc,\n FeatureDc,\n GetBulkExtentsParams,\n GetBulkExtentsPayload,\n GetBulkFeaturesPayload,\n GetByIdParams,\n GetFeatures1Params,\n GetFeaturesParametersDc,\n GetFilteredFeaturesCount1Params,\n GetFilteredFeaturesCountDc,\n GetFilteredFeaturesCountPayload,\n GetLayerExtentParams,\n GetLayersInfoParams,\n GetRasterMetaParams2,\n GetTilesLayerImage1Params,\n GetTilesLayerImageParams,\n GetTilesLayerImageWithFormatAndDpiParams,\n LayerUpdateInfoDc,\n LinearServiceConfigurationDc,\n NetCdfMetaDc,\n PagedBulkFeaturesListDc,\n PagedFeaturesListDc,\n PbfServiceConfigurationDc,\n PbfServiceInfoDc,\n PostgresTileCatalogServiceConfigurationDc,\n ProxyServiceInfoDc,\n PublishProxyServicePayload,\n PythonServiceConfigurationDc,\n PythonServiceInfoDc,\n QueryLayerServiceConfigurationDc,\n QueryLayerServiceInfoDc,\n RasterMetaDc,\n RemoteTileServiceConfigurationDc,\n RemoteTileServiceInfoDc,\n ResourceDependenciesDc,\n ResourceInfoDc,\n RouteServiceConfigurationDc,\n ServiceInfoDc,\n TileCatalogServiceInfoDc,\n UpdateFeaturePayload,\n UpdateProxyServicePayload,\n ValidateExpressionParams,\n} from \"./data-contracts\";\n\n/**\n * @title Spatial Processing Core API\n * @version 1.5.1.0\n * @baseUrl /sp\n */\nexport class LayersService extends Service {\n /**\n * No description\n *\n * @tags Layers\n * @name GetBulkFeatures\n * @operationId LayersController_GetBulkFeatures\n * @summary Returns list of the layer features.\n * @request POST:/bulk/layers/features/query\n * @secure\n * @response `200` OK\n */\n getBulkFeatures(data: GetBulkFeaturesPayload) {\n return this.http.post(`/bulk/layers/features/query`, data).json<PagedBulkFeaturesListDc[]>();\n }\n /**\n * No description\n *\n * @tags Layers\n * @name GetBulkExtents\n * @operationId LayersController_GetBulkExtents\n * @summary Returns list of the layer extents with overall extent.\n * @request POST:/bulk/layers/extent\n * @secure\n * @response `200` OK\n */\n getBulkExtents(query: GetBulkExtentsParams, data: GetBulkExtentsPayload) {\n return this.http.post(`/bulk/layers/extent`, data, query).json<BulkExtentsDc>();\n }\n /**\n * No description\n *\n * @tags Layers\n * @name GetFilteredFeaturesCount\n * @operationId LayersController_GetFilteredFeaturesCount\n * @summary Returns list of features count according layer filter.\n * @request POST:/bulk/layers/features/count\n * @secure\n * @response `200` OK\n */\n getFilteredFeaturesCount(data: GetFilteredFeaturesCountPayload) {\n return this.http.post(`/bulk/layers/features/count`, data).json<BulkFilteredFeaturesCountDc>();\n }\n /**\n * No description\n *\n * @tags Layers\n * @name GetLayerInfo\n * @operationId LayersController_GetLayerInfoAsync\n * @summary Returns the layer information.\n * @request GET:/layers/{name}\n * @secure\n * @response `200` OK\n */\n getLayerInfo(name: string) {\n return this.http.get(`/layers/${name}`).json<ServiceInfoDc | ResourceInfoDc>();\n }\n /**\n * No description\n *\n * @tags Layers\n * @name DeleteResource\n * @operationId LayersController_DeleteResource\n * @summary Deletes resource.\n * @request DELETE:/layers/{name}\n * @secure\n * @response `200` OK\n */\n deleteResource(name: string) {\n return this.http.delete(`/layers/${name}`, null).then(() => {});\n }\n /**\n * No description\n *\n * @tags Layers\n * @name GetLayersInfo\n * @operationId LayersController_GetLayersInfoAsync\n * @summary Returns the layers information.\n * @request GET:/layers/batchInfo\n * @secure\n * @response `200` OK\n */\n getLayersInfo(query: GetLayersInfoParams) {\n return this.http.get(`/layers/batchInfo`, query).json<(ServiceInfoDc | ResourceInfoDc)[]>();\n }\n /**\n * No description\n *\n * @tags Layers\n * @name PublishMapboxService\n * @operationId LayersController_PublishMapboxService\n * @summary Creates new mapbox service.\n * @request POST:/layers#type=Mapbox\n * @secure\n * @response `default` Error\n */\n publishMapboxService(data: PbfServiceConfigurationDc) {\n return this.http.post(`/layers`, data, { type: \"Mapbox\" }).json<PbfServiceInfoDc>();\n }\n /**\n * No description\n *\n * @tags Layers\n * @name PublishProxyService\n * @operationId LayersController_PublishProxyService\n * @summary Creates new Proxy Service.\n * @request POST:/layers#type=ProxyService\n * @secure\n * @response `default` Error\n */\n publishProxyService(data: PublishProxyServicePayload) {\n return this.http\n .post(`/layers`, data, { type: \"ProxyService\" })\n .json<ProxyServiceInfoDc | PythonServiceInfoDc | PbfServiceInfoDc>();\n }\n /**\n * No description\n *\n * @tags Layers\n * @name PublishRouteService\n * @operationId LayersController_PublishRouteService\n * @summary Creates new Route Service.\n * @request POST:/layers#type=RouteService\n * @secure\n * @response `200` OK\n */\n publishRouteService(data: RouteServiceConfigurationDc) {\n return this.http.post(`/layers`, data, { type: \"RouteService\" }).then(() => {});\n }\n /**\n * No description\n *\n * @tags Layers\n * @name PublishLinearService\n * @operationId LayersController_PublishLinearService\n * @summary Creates new Linear Service.\n * @request POST:/layers#type=LinearService\n * @secure\n * @response `200` OK\n */\n publishLinearService(data: LinearServiceConfigurationDc) {\n return this.http.post(`/layers`, data, { type: \"LinearService\" }).then(() => {});\n }\n /**\n * No description\n *\n * @tags Layers\n * @name PublishRemoteTileService\n * @operationId LayersController_PublishRemoteTileService\n * @summary Creates new Remote Tile Service.\n * @request POST:/layers#type=RemoteTileService\n * @secure\n * @response `default` Error\n */\n publishRemoteTileService(data: RemoteTileServiceConfigurationDc) {\n return this.http.post(`/layers`, data, { type: \"RemoteTileService\" }).json<RemoteTileServiceInfoDc>();\n }\n /**\n * No description\n *\n * @tags Layers\n * @name PublishQueryLayerService\n * @operationId LayersController_PublishQueryLayerService\n * @summary Creates new EQL-based Query Layer Service.\n * @request POST:/layers#type=QueryLayerService\n * @secure\n * @response `default` Error\n */\n publishQueryLayerService(data: QueryLayerServiceConfigurationDc) {\n return this.http.post(`/layers`, data, { type: \"QueryLayerService\" }).json<QueryLayerServiceInfoDc>();\n }\n /**\n * No description\n *\n * @tags Layers\n * @name PublishPostgresTileCatalogService\n * @operationId LayersController_PublishPostgresTileCatalogService\n * @summary Creates new Postgres Tile Catalog Service.\n * @request POST:/layers#type=PostgresTileLayerService\n * @secure\n * @response `default` Error\n */\n publishPostgresTileCatalogService(data: PostgresTileCatalogServiceConfigurationDc) {\n return this.http.post(`/layers`, data, { type: \"PostgresTileLayerService\" }).json<TileCatalogServiceInfoDc>();\n }\n /**\n * No description\n *\n * @tags Layers\n * @name PublishPythonService\n * @operationId LayersController_PublishPythonService\n * @summary Creates new python service.\n * @request POST:/layers#type=Python\n * @secure\n * @response `default` Error\n */\n publishPythonService(data: PythonServiceConfigurationDc) {\n return this.http.post(`/layers`, data, { type: \"Python\" }).json<PythonServiceInfoDc>();\n }\n /**\n * No description\n *\n * @tags Layers\n * @name UpdateMapboxService\n * @operationId LayersController_UpdateMapboxService\n * @summary Update mapbox service.\n * @request PATCH:/layers/{name}#type=Mapbox\n * @secure\n * @response `200` OK\n */\n updateMapboxService(name: string, data: PbfServiceConfigurationDc) {\n return this.http.patch(`/layers/${name}`, data, { type: \"Mapbox\" }).json<PbfServiceInfoDc>();\n }\n /**\n * No description\n *\n * @tags Layers\n * @name UpdatePythonService\n * @operationId LayersController_UpdatePythonService\n * @summary Update python service.\n * @request PATCH:/layers/{name}#type=Python\n * @secure\n * @response `200` OK\n */\n updatePythonService(name: string, data: PythonServiceConfigurationDc) {\n return this.http.patch(`/layers/${name}`, data, { type: \"Python\" }).json<PythonServiceInfoDc>();\n }\n /**\n * No description\n *\n * @tags Layers\n * @name UpdateProxyService\n * @operationId LayersController_UpdateProxyService\n * @summary Update Proxy Service.\n * @request PATCH:/layers/{name}#type=ProxyService\n * @secure\n * @response `200` OK\n */\n updateProxyService(name: string, data: UpdateProxyServicePayload) {\n return this.http\n .patch(`/layers/${name}`, data, { type: \"ProxyService\" })\n .json<ProxyServiceInfoDc | PythonServiceInfoDc | PbfServiceInfoDc>();\n }\n /**\n * No description\n *\n * @tags Layers\n * @name UpdateTileCatalogService\n * @operationId LayersController_UpdateTileCatalogService\n * @summary Update Postgres Tile Catalog Service.\n * @request PATCH:/layers/{name}#type=PostgresTileLayerService\n * @secure\n * @response `200` OK\n */\n updateTileCatalogService(name: string, data: PostgresTileCatalogServiceConfigurationDc) {\n return this.http\n .patch(`/layers/${name}`, data, { type: \"PostgresTileLayerService\" })\n .json<TileCatalogServiceInfoDc>();\n }\n /**\n * No description\n *\n * @tags Layers\n * @name UpdateRemoteTileService\n * @operationId LayersController_UpdateRemoteTileService\n * @summary Update Remote Tile Service.\n * @request PATCH:/layers/{name}#type=RemoteTileService\n * @secure\n * @response `200` OK\n */\n updateRemoteTileService(name: string, data: RemoteTileServiceConfigurationDc) {\n return this.http.patch(`/layers/${name}`, data, { type: \"RemoteTileService\" }).json<RemoteTileServiceInfoDc>();\n }\n /**\n * No description\n *\n * @tags Layers\n * @name UpdateQueryLayerService\n * @operationId LayersController_UpdateQueryLayerService\n * @summary Update EQL-based Query Layer Service.\n * @request PATCH:/layers/{name}#type=QueryLayerService\n * @secure\n * @response `200` OK\n */\n updateQueryLayerService(name: string, data: QueryLayerServiceConfigurationDc) {\n return this.http.patch(`/layers/${name}`, data, { type: \"QueryLayerService\" }).json<QueryLayerServiceInfoDc>();\n }\n /**\n * No description\n *\n * @tags Layers\n * @name ReloadService\n * @operationId LayersController_ReloadServiceAsync\n * @summary Initialize a new instance of service by given name.\n * @request GET:/layers/{name}/reload\n * @secure\n * @response `default` Error\n */\n reloadService(name: string) {\n return this.http.get(`/layers/${name}/reload`).json<ServiceInfoDc | ResourceInfoDc>();\n }\n /**\n * No description\n *\n * @tags Layers\n * @name GetFeatures\n * @operationId LayersController_GetFeatures\n * @summary Returns list of the layer features.\n * @request POST:/layers/{name}/features/query\n * @secure\n * @response `200` OK\n */\n getFeatures(name: string, data: GetFeaturesParametersDc) {\n return this.http.post(`/layers/${name}/features/query`, data).json<PagedFeaturesListDc>();\n }\n /**\n * No description\n *\n * @tags Layers\n * @name GetFeatures1\n * @operationId LayersController_GetFeatures_1\n * @summary Returns list of the layer features.\n * @request GET:/layers/{name}/features\n * @secure\n * @response `200` OK\n */\n getFeatures1({ name, ...query }: GetFeatures1Params) {\n return this.http.get(`/layers/${name}/features`, query).json<PagedFeaturesListDc>();\n }\n /**\n * No description\n *\n * @tags Layers\n * @name DeleteFeature\n * @operationId LayersController_DeleteFeature\n * @summary Deletes feature by id.\n * @request DELETE:/layers/{name}/features\n * @secure\n * @response `200` OK\n */\n deleteFeature({ name, ...query }: DeleteFeatureParams) {\n return this.http.delete(`/layers/${name}/features`, null, query).json<LayerUpdateInfoDc>();\n }\n /**\n * No description\n *\n * @tags Layers\n * @name CreateFeatures\n * @operationId LayersController_CreateFeatures\n * @summary Creates features list of type.SPCore.Connectors.Connectors.Base.Models.Features.FeatureDc.\n * @request POST:/layers/{name}/features\n * @secure\n * @response `200` OK\n */\n createFeatures({ name, ...query }: CreateFeaturesParams, data: CreateFeaturesPayload) {\n return this.http.post(`/layers/${name}/features`, data, query).json<LayerUpdateInfoDc>();\n }\n /**\n * No description\n *\n * @tags Layers\n * @name UpdateFeature\n * @operationId LayersController_UpdateFeature\n * @summary Updates features list SPCore.Connectors.Connectors.Base.Models.Features.FeatureDc.\n * @request PATCH:/layers/{name}/features\n * @secure\n * @response `200` OK\n */\n updateFeature(name: string, data: UpdateFeaturePayload) {\n return this.http.patch(`/layers/${name}/features`, data).json<LayerUpdateInfoDc>();\n }\n /**\n * No description\n *\n * @tags Layers\n * @name GetById\n * @operationId LayersController_GetByIdAsync\n * @summary Gets feature by id.\n * @request GET:/layers/{name}/features/{id}\n * @secure\n * @response `200` OK\n */\n getById({ name, id, ...query }: GetByIdParams) {\n return this.http.get(`/layers/${name}/features/${id}`, query).json<FeatureDc>();\n }\n /**\n * No description\n *\n * @tags Layers\n * @name GetTilesLayerImage\n * @operationId LayersController_GetTilesLayerImage\n * @summary Render tile with input indexes.\n * @request GET:/layers/{name}/tile/{z}/{x}/{y}\n * @secure\n * @response `200` OK\n */\n getTilesLayerImage({ name, x, y, z, ...query }: GetTilesLayerImageParams) {\n return this.http.createUrl(`/layers/${name}/tile/{z}/{x}/{y}`, query);\n }\n /**\n * No description\n *\n * @tags Layers\n * @name GetTilesLayerImage1\n * @operationId LayersController_GetTilesLayerImage_1\n * @summary Render tile with input indexes.\n * @request GET:/layers/{name}/tile/{z}/{x}/{y}.{format}\n * @secure\n * @response `200` OK\n */\n getTilesLayerImage1({ name, x, y, z, format, ...query }: GetTilesLayerImage1Params) {\n return this.http.createUrl(`/layers/${name}/tile/{z}/{x}/{y}.${format}`, query);\n }\n /**\n * No description\n *\n * @tags Layers\n * @name GetTilesLayerImageWithFormatAndDpi\n * @operationId LayersController_GetTilesLayerImageWithFormatAndDpi\n * @summary Render tile with input indexes.\n * @request GET:/layers/{name}/tile/{z}/{x}/{y}@{dpi}x.{format}\n * @secure\n * @response `200` OK\n */\n getTilesLayerImageWithFormatAndDpi({\n name,\n x,\n y,\n z,\n dpi,\n format,\n ...query\n }: GetTilesLayerImageWithFormatAndDpiParams) {\n return this.http.createUrl(`/layers/${name}/tile/{z}/{x}/{y}@${dpi}x.${format}`, query);\n }\n /**\n * No description\n *\n * @tags Layers\n * @name GetLayerExtent\n * @operationId LayersController_GetLayerExtent\n * @summary Returns the extent of the layer.\n * @request GET:/layers/{name}/extent\n * @secure\n * @response `200` OK\n */\n getLayerExtent({ name, ...query }: GetLayerExtentParams) {\n return this.http.get(`/layers/${name}/extent`, query).json<EnvelopeDc>();\n }\n /**\n * No description\n *\n * @tags Layers\n * @name DeleteFeatures\n * @operationId LayersController_DeleteFeatures\n * @summary Delete a list of features by given ids. Example: ids=1,2,3.\n * @request DELETE:/layers/{name}/features/deleteByIds\n * @secure\n * @response `200` OK\n */\n deleteFeatures({ name, ...query }: DeleteFeaturesParams) {\n return this.http.delete(`/layers/${name}/features/deleteByIds`, null, query).json<LayerUpdateInfoDc>();\n }\n /**\n * No description\n *\n * @tags Layers\n * @name DeleteByCondition\n * @operationId LayersController_DeleteByCondition\n * @summary Delete a list of features by condition with exclude given ids.\n * @request DELETE:/layers/{name}/features/deleteByCondition\n * @secure\n * @response `200` OK\n */\n deleteByCondition({ name, ...query }: DeleteByConditionParams) {\n return this.http.delete(`/layers/${name}/features/deleteByCondition`, null, query).json<LayerUpdateInfoDc>();\n }\n /**\n * No description\n *\n * @tags Layers\n * @name Classify\n * @operationId LayersController_Classify\n * @summary Returns the classified attribute values that correspond to the given number of classes.\n * @request GET:/layers/{name}/classify\n * @secure\n * @response `200` OK\n */\n classify({ name, ...query }: ClassifyParams) {\n return this.http.get(`/layers/${name}/classify`, query).json<ClassifyDc>();\n }\n /**\n * No description\n *\n * @tags Layers\n * @name Distincts\n * @operationId LayersController_Distincts\n * @summary Returns distinct attribute values and their count.\n * @request GET:/layers/{name}/distincts\n * @secure\n * @response `200` OK\n */\n distincts({ name, ...query }: DistinctsParams) {\n return this.http.get(`/layers/${name}/distincts`, query).json<AttributeDistinctsDc>();\n }\n /**\n * No description\n *\n * @tags Layers\n * @name AggregateAttribute\n * @operationId LayersController_AggregateAttribute\n * @summary Returns aggregated value of given attribute aggregationAttributeName within a given groups groups.\n * @request GET:/layers/{name}/aggregate-values\n * @secure\n * @response `200` OK\n */\n aggregateAttribute({ name, ...query }: AggregateAttributeParams) {\n return this.http.get(`/layers/${name}/aggregate-values`, query).json<AggregationDataResultDc[]>();\n }\n /**\n * No description\n *\n * @tags Layers\n * @name GetFilteredFeaturesCount1\n * @operationId LayersController_GetFilteredFeaturesCount_1\n * @summary Get features count according layer filter of the given name.\n * @request GET:/layers/{name}/features/count\n * @secure\n * @response `200` OK\n */\n getFilteredFeaturesCount1({ name, ...query }: GetFilteredFeaturesCount1Params) {\n return this.http.get(`/layers/${name}/features/count`, query).json<number>();\n }\n /**\n * No description\n *\n * @tags Layers\n * @name GetFilteredFeaturesCount2\n * @operationId LayersController_GetFilteredFeaturesCount_2\n * @summary Get features count according layer filter of the given name.\n * @request POST:/layers/{name}/features/count\n * @secure\n * @response `200` OK\n */\n getFilteredFeaturesCount2(name: string, data: GetFilteredFeaturesCountDc) {\n return this.http.post(`/layers/${name}/features/count`, data).json<number>();\n }\n /**\n * No description\n *\n * @tags Layers\n * @name EditAttributes\n * @operationId LayersController_EditAttributes\n * @summary Edit attributes with editInfo.\n * @request POST:/layers/{name}/features/edit-attributes\n * @secure\n * @response `200` OK\n */\n editAttributes(name: string, data: EditAttributesInfoDc) {\n return this.http.post(`/layers/${name}/features/edit-attributes`, data).json<LayerUpdateInfoDc>();\n }\n /**\n * No description\n *\n * @tags Layers\n * @name ValidateExpression\n * @operationId LayersController_ValidateExpression\n * @summary Validates the given EQL expression against the requested layer. If the expression is valid, it can be executed on the features in the layer to produce a value of some type. The type of the resulting value will be also returned in the validation result.\n * @request GET:/layers/{layerName}/validateExpression\n * @secure\n * @response `200` OK\n */\n validateExpression({ layerName, ...query }: ValidateExpressionParams) {\n return this.http.get(`/layers/${layerName}/validateExpression`, query).json<ExpressionValidationResultDc>();\n }\n /**\n * No description\n *\n * @tags Layers\n * @name GetRasterMeta\n * @operationId LayersController_GetRasterMeta\n * @summary Get raster metadata.\n * @request GET:/layers/{name}/{id}/metadata\n * @secure\n * @response `200` OK\n */\n getRasterMeta({ name, id, ...query }: GetRasterMetaParams2) {\n return this.http.get(`/layers/${name}/${id}/metadata`, query).json<(RasterMetaDc | NetCdfMetaDc)[]>();\n }\n /**\n * No description\n *\n * @tags Layers\n * @name IsExists\n * @operationId LayersController_IsExistsAsync\n * @summary Check is resource exists.\n * @request GET:/layers/{name}/exists\n * @secure\n * @response `200` OK\n */\n isExists(name: string) {\n return this.http.get(`/layers/${name}/exists`).then(() => {});\n }\n /**\n * No description\n *\n * @tags Layers\n * @name GetResourceDependencies\n * @operationId LayersController_GetResourceDependencies\n * @summary Get resource dependencies.\n * @request GET:/layers/{name}/dependencies\n * @secure\n * @response `200` OK\n */\n getResourceDependencies(name: string) {\n return this.http.get(`/layers/${name}/dependencies`).json<ResourceDependenciesDc>();\n }\n /**\n * No description\n *\n * @tags Layers\n * @name GetResourceReferences\n * @operationId LayersController_GetResourceReferences\n * @summary Returns the resource dependency information.\n * @request GET:/layers/{name}/references\n * @secure\n * @response `200` OK\n */\n getResourceReferences(name: string) {\n return this.http.get(`/layers/${name}/references`).json<ResourceDependenciesDc>();\n }\n /**\n * No description\n *\n * @tags Layers\n * @name DeleteResources\n * @operationId LayersController_DeleteResources\n * @summary Bulk delete resources.\n * @request DELETE:/layers\n * @secure\n * @response `200` OK\n */\n deleteResources(query: DeleteResourcesParams) {\n return this.http.delete(`/layers`, null, query).json<BulkOperationResultDc[]>();\n }\n}\n","import { promiseAllIgnoreErrors } from \"../utils\";\r\n\r\nimport {\r\n RemoteTileServiceConfigurationDc,\r\n ServiceInfoDc,\r\n ResourceDependenciesDc,\r\n TableInfoDc,\r\n QueryLayerServiceConfigurationDc,\r\n PublishProxyServicePayload,\r\n UpdateProxyServicePayload,\r\n} from \"../__generated__/data-contracts\";\r\n\r\nimport { LayersService } from \"../__generated__/LayersService\";\r\nimport { ResourceService } from \"../interfaces/ResourceService\";\r\n\r\nexport type CreateTileLayerParams = {\r\n remote?: boolean;\r\n} & RemoteTileServiceConfigurationDc;\r\n\r\nexport type LayersWithDeps = {\r\n layers: ServiceInfoDc[];\r\n deps: {\r\n tables: TableInfoDc[];\r\n };\r\n};\r\n\r\nexport class Layers extends LayersService implements Partial<ResourceService> {\r\n getLayerInfos(layers: string[]): Promise<ServiceInfoDc[]> {\r\n return promiseAllIgnoreErrors(\r\n layers.map(layer => this.getLayerInfo(layer)),\r\n ) as Promise<ServiceInfoDc[]>;\r\n }\r\n\r\n getLayersDeps(layers: string[]): Promise<ResourceDependenciesDc[]> {\r\n return promiseAllIgnoreErrors(\r\n layers.map(layer => this.getResourceDependencies(layer)),\r\n );\r\n }\r\n\r\n\r\n findOne(name: string) {\r\n return this.getLayerInfo(name);\r\n }\r\n\r\n findMany(layerNames: string[], projectNames?: string[]) {\r\n return this.getLayersInfo({ layerNames, projectNames });\r\n }\r\n\r\n createQueryLayer(configuration: QueryLayerServiceConfigurationDc) {\r\n return this.publishQueryLayerService(configuration);\r\n }\r\n\r\n updateQueryLayer(configuration: QueryLayerServiceConfigurationDc) {\r\n return this.updateQueryLayerService(configuration.name, configuration);\r\n }\r\n\r\n createProxyLayer(configuration: PublishProxyServicePayload) {\r\n return this.publishProxyService(configuration);\r\n }\r\n\r\n updateProxyLayer(configuration: UpdateProxyServicePayload) {\r\n return this.updateProxyService(configuration.name, configuration);\r\n }\r\n\r\n async remove(name: string) {\r\n await this.deleteResource(name);\r\n\r\n return name;\r\n }\r\n}\r\n\r\nexport function isTileLayerService(layer: ServiceInfoDc) {\r\n return layer.type && /TileService/.test(layer.type);\r\n}\r\n","import { generateId } from \"../utils\";\r\nimport { Account } from \"./Account\";\r\n\r\nconst RESOURCE_TEMP_WORKSPACE = \"temp\";\r\n\r\nexport enum ResourceSeparator {\r\n Server = \".\",\r\n}\r\n\r\ntype ExtractedResource = {\r\n workspace: string;\r\n name: string;\r\n};\r\n\r\ntype CreateResourceParams = {\r\n workspace?: string;\r\n name?: string;\r\n separator?: ResourceSeparator;\r\n};\r\n\r\nexport class Names {\r\n private account: Account;\r\n\r\n constructor({ account }: { account: Account }) {\r\n this.account = account;\r\n }\r\n\r\n /** Generates unique identifier */\r\n createId() {\r\n return generateId();\r\n }\r\n\r\n /** Generates new resource name using for client\\server interactions */\r\n createResourceName(params: CreateResourceParams = {}) {\r\n const workspace =\r\n params.workspace ||\r\n (this.account.user && this.account.user.namespace) ||\r\n \"\";\r\n const name = params.name || this.createId();\r\n const separator = params.separator || ResourceSeparator.Server;\r\n\r\n if (!workspace) {\r\n console.warn(\"Resource should have workspace. Check account api\");\r\n }\r\n\r\n return `${workspace}${separator}${name}`;\r\n }\r\n\r\n /** Generates temporary resource name using for client\\server interactions */\r\n createTempResourceName(params: Omit<CreateResourceParams, \"workspace\"> = {}) {\r\n return this.createResourceName({\r\n workspace: RESOURCE_TEMP_WORKSPACE,\r\n ...params,\r\n });\r\n }\r\n\r\n /** Extract resource information (workspace, name) */\r\n extractResource(resourceName?: string): ExtractedResource {\r\n if (resourceName) {\r\n if (resourceName.includes(ResourceSeparator.Server)) {\r\n const matches = resourceName.split(ResourceSeparator.Server);\r\n const name = matches.pop() as string;\r\n const workspace = matches.join(ResourceSeparator.Server);\r\n\r\n return { workspace, name };\r\n }\r\n }\r\n\r\n return {\r\n name: \"\",\r\n workspace: \"\",\r\n };\r\n }\r\n\r\n /** Extract resource name */\r\n extractResourceName(resourceName?: string): string {\r\n return this.extractResource(resourceName).name || resourceName || \"\";\r\n }\r\n\r\n /** Extract resource workspace */\r\n extractResourceWorkspace(resourceName?: string): string {\r\n return this.extractResource(resourceName).workspace || \"\";\r\n }\r\n}\r\n","/* eslint-disable */\n/* tslint:disable */\n/*\n * ---------------------------------------------------------------\n * ## THIS FILE WAS GENERATED VIA SWAGGER-TYPESCRIPT-API ##\n * ## ##\n * ## AUTHOR: acacode ##\n * ## SOURCE: https://github.com/acacode/swagger-typescript-api ##\n * ---------------------------------------------------------------\n */\n\n// @ts-nocheck\n\nimport { Service } from \"./Service\";\nimport {\n SubscribeListOperationPayload,\n SubscribeOperationParams,\n UnsubscribeListOperationPayload,\n UnsubscribeOperationParams,\n} from \"./data-contracts\";\n\n/**\n * @title Spatial Processing Core API\n * @version 1.5.1.0\n * @baseUrl /sp\n */\nexport class NotificationService extends Service {\n /**\n * No description\n *\n * @tags NotificationService\n * @name GetSubscriptionList\n * @operationId NotificationServiceController_GetSubscriptionList\n * @summary Returns a list of notification tags that the current session is subscribed to.\n * @request GET:/notifications/subscribes\n * @secure\n * @response `200` OK\n */\n getSubscriptionList() {\n return this.http.get(`/notifications/subscribes`).json<string[]>();\n }\n /**\n * No description\n *\n * @tags NotificationService\n * @name SubscribeOperation\n * @operationId NotificationServiceController_SubscribeOperation\n * @summary Subscribe current session by subscribe tag. A subscribed session will receive all notifications added for the specified tag.\n * @request POST:/notifications/subscribes\n * @secure\n * @response `200` OK\n */\n subscribeOperation(query: SubscribeOperationParams) {\n return this.http.post(`/notifications/subscribes`, null, query).then(() => {});\n }\n /**\n * No description\n *\n * @tags NotificationService\n * @name UnsubscribeOperation\n * @operationId NotificationServiceController_UnsubscribeOperation\n * @summary Unsubscribe from receiving notifications that come for the specified tag.\n * @request DELETE:/notifications/subscribes\n * @secure\n * @response `200` OK\n */\n unsubscribeOperation(query: UnsubscribeOperationParams) {\n return this.http.delete(`/notifications/subscribes`, null, query).then(() => {});\n }\n /**\n * No description\n *\n * @tags NotificationService\n * @name SubscribeListOperation\n * @operationId NotificationServiceController_SubscribeListOperation\n * @summary Subscribe current session by subscribe tags. A subscribed session will receive all notifications added for the specified tags.\n * @request POST:/notifications/subscribe-list\n * @secure\n * @response `200` OK\n */\n subscribeListOperation(data: SubscribeListOperationPayload) {\n return this.http.post(`/notifications/subscribe-list`, data).then(() => {});\n }\n /**\n * No description\n *\n * @tags NotificationService\n * @name UnsubscribeListOperation\n * @operationId NotificationServiceController_UnsubscribeListOperation\n * @summary Unsubscribe from receiving notifications that come for the specified tags.\n * @request POST:/notifications/unsubscribe-list\n * @secure\n * @response `200` OK\n */\n unsubscribeListOperation(data: UnsubscribeListOperationPayload) {\n return this.http.post(`/notifications/unsubscribe-list`, data).then(() => {});\n }\n}\n","import { NotificationService } from \"../__generated__/NotificationService\";\r\nimport { Api } from \"../Api\";\r\nimport { EventEmitter } from \"../EventEmitter\";\r\n\r\nimport { IHttpClient } from \"../__generated__/HttpClient\";\r\n\r\ntype NotificationHandler<Data, Result> = (\r\n event: NotificationEvent<Data>,\r\n) => Result;\r\n\r\ntype WsMessage<Data = unknown> = {\r\n type?: string;\r\n data?: {\r\n tag?: string;\r\n data?: Data;\r\n };\r\n};\r\n\r\nexport enum ConnectionStatus {\r\n Initialized = \"Initialized\",\r\n Connected = \"Connected\",\r\n Break = \"Break\",\r\n Lost = \"Lost\",\r\n SessionClosed = \"SessionClosed\",\r\n}\r\n\r\nexport const enum NotificationTag {\r\n ConnectionStatus = \"ConnectionStatus\",\r\n}\r\n\r\nexport const enum SubscriptionTag {\r\n ServerTask = \"server_task\",\r\n ServiceUpdate = \"service_update\",\r\n}\r\n\r\nconst enum WsCloseStatusCode {\r\n SessionClosed = 4001,\r\n InvalidSession = 4002,\r\n}\r\n\r\nconst SUBSCRIPTION_DELAY = 500;\r\n\r\nconst KEEP_ALIVE_INTERVAL = 5 * 1000;\r\n\r\nexport class Notification extends NotificationService {\r\n private readonly MAX_WS_RECONNECT_TRIES = 10;\r\n private readonly emitter: EventEmitter;\r\n private readonly keepAlive: boolean = false;\r\n private ws?: WebSocket;\r\n private wsUrl?: string;\r\n private reconnectTries = 0;\r\n private subscriptions: string[] = [];\r\n private keepAliveTimeout?: ReturnType<typeof setInterval>;\r\n\r\n private _connectStatus: ConnectionStatus = ConnectionStatus.Initialized;\r\n\r\n // @ts-ignore\r\n public get connectStatus() {\r\n return this._connectStatus;\r\n }\r\n\r\n // @ts-ignore\r\n public set connectStatus(connectStatus) {\r\n this.emitter.emit(\r\n NotificationTag.ConnectionStatus,\r\n new NotificationEvent(connectStatus),\r\n );\r\n this._connectStatus = connectStatus;\r\n }\r\n\r\n public get currentWs() {\r\n return this.ws;\r\n }\r\n\r\n constructor(http: IHttpClient, private api: Api, keepAlive: boolean = false) {\r\n super(http);\r\n\r\n this.emitter = new EventEmitter();\r\n this.keepAlive = keepAlive;\r\n }\r\n\r\n on<Data, Result>(tag: string, handler: NotificationHandler<Data, Result>) {\r\n this.emitter.on(tag, handler);\r\n }\r\n\r\n off<Data, Result>(tag: string, handler: NotificationHandler<Data, Result>) {\r\n this.emitter.off(tag, handler);\r\n }\r\n\r\n async subscribe(tag: string) {\r\n this.subscriptions.push(tag);\r\n\r\n setTimeout(() => {\r\n if (!this.api.isShared && !this.api.isPresentation && this.subscriptions.length) {\r\n this.subscribeListOperation(this.subscriptions);\r\n }\r\n\r\n this.subscriptions = [];\r\n }, SUBSCRIPTION_DELAY);\r\n }\r\n\r\n async unsubscribe(tag: string) {\r\n const subscriptions = await this.getSubscriptionList();\r\n\r\n if (subscriptions.includes(tag)) {\r\n return this.unsubscribeOperation({ tag });\r\n }\r\n }\r\n\r\n connectWs(url: string) {\r\n const urlWithWsScheme = url\r\n .replace(\"http://\", \"ws://\")\r\n .replace(\"https://\", \"wss://\");\r\n this.wsUrl = urlWithWsScheme;\r\n\r\n this.connect();\r\n }\r\n\r\n private connect() {\r\n if (this.wsUrl) {\r\n this.ws = new WebSocket(this.wsUrl);\r\n this.ws.onopen = this.onWsConnected;\r\n this.ws.onclose = this.onWsClosed;\r\n this.ws.onmessage = this.onWsMessage;\r\n } else {\r\n console.warn(\"Connection to WebSocket not allowed. wsUrl not provided\");\r\n }\r\n }\r\n\r\n private onWsConnected = () => {\r\n this.connectStatus = ConnectionStatus.Connected;\r\n\r\n if (this.keepAlive) {\r\n this.keepAliveTimeout = setInterval(() => {\r\n if (this.ws) {\r\n this.ws.send(JSON.stringify({ keepAlive: true }));\r\n }\r\n }, KEEP_ALIVE_INTERVAL);\r\n }\r\n // TODO: comment for now. it launch endless flow of reconnections\r\n // this.reconnectTries = 0;\r\n };\r\n\r\n private onWsClosed = (event: CloseEvent) => {\r\n if (\r\n event.code === WsCloseStatusCode.SessionClosed ||\r\n event.code === WsCloseStatusCode.InvalidSession\r\n ) {\r\n this.connectStatus = ConnectionStatus.SessionClosed;\r\n } else if (this.reconnectTries < this.MAX_WS_RECONNECT_TRIES) {\r\n this.connectStatus = ConnectionStatus.Break;\r\n this.reconnectTries++;\r\n\r\n if (this.ws) {\r\n this.ws.onopen = null;\r\n this.ws.onclose = null;\r\n this.ws.onmessage = null;\r\n this.ws = void 0;\r\n }\r\n\r\n this.keepAliveTimeout && clearInterval(this.keepAliveTimeout);\r\n\r\n setTimeout(() => {\r\n this.connect();\r\n }, 0);\r\n } else {\r\n this.connectStatus = ConnectionStatus.Lost;\r\n }\r\n };\r\n\r\n private onWsMessage = (event: MessageEvent) => {\r\n let message: WsMessage = {};\r\n\r\n try {\r\n message = JSON.parse(event.data);\r\n } catch (e) {\r\n console.debug(\"Failed to parse ws message from sp.\");\r\n // ignore\r\n }\r\n\r\n if (message.type === \"notification\" && message.data) {\r\n const { tag, data } = message.data;\r\n\r\n tag && this.emitter.emit(tag, new NotificationEvent(data));\r\n }\r\n };\r\n}\r\n\r\nexport class NotificationEvent<Data> {\r\n data: Data;\r\n\r\n constructor(data: Data) {\r\n this.data = data;\r\n }\r\n}\r\n","import { ClientSettingsService } from \"../__generated__/ClientSettingsService\";\r\nimport { GetConfigurationParams } from \"../__generated__/data-contracts\";\r\n\r\nexport class PortalSettings extends ClientSettingsService {\r\n config: PortalConfiguration | null = null;\r\n\r\n async fetchPortalSettings(query: GetConfigurationParams) {\r\n this.config = (JSON.parse(\r\n await this.getConfiguration(query),\r\n ) as unknown) as PortalConfiguration | null;\r\n\r\n return this.config;\r\n }\r\n}\r\n\r\nexport type PortalConfiguration = {\r\n settings?: {\r\n withPortal?: boolean;\r\n allowRegistration?: boolean;\r\n allowSNS?: boolean;\r\n allowRecovery?: boolean;\r\n showTermsOfService?: boolean;\r\n customLogo?: {\r\n src: string;\r\n width?: number;\r\n height?: number;\r\n preserveText?: boolean;\r\n };\r\n disableSubscription?: boolean;\r\n disabledComponents?: {\r\n main?: boolean;\r\n about?: boolean;\r\n help?: boolean;\r\n footer?: boolean;\r\n google?: boolean;\r\n facebook?: boolean;\r\n vk?: boolean;\r\n };\r\n localization?: boolean;\r\n emoji?: string[];\r\n };\r\n};\r\n","/* eslint-disable */\n/* tslint:disable */\n/*\n * ---------------------------------------------------------------\n * ## THIS FILE WAS GENERATED VIA SWAGGER-TYPESCRIPT-API ##\n * ## ##\n * ## AUTHOR: acacode ##\n * ## SOURCE: https://github.com/acacode/swagger-typescript-api ##\n * ---------------------------------------------------------------\n */\n\n// @ts-nocheck\n\nimport { Service } from \"./Service\";\nimport {\n BulkOperationResultDc,\n CatalogConfigurationDc,\n DeleteResourcesParams2,\n EnvelopeDc,\n ExtendedProjectInfoDc,\n ExtendedProjectLayersInfo,\n GetProjectEnvelopeParams,\n GetProjectsInfoParams,\n Operation,\n PatchProjectConfigurationPayload,\n PutProjectConfigurationPayload,\n ResourceDependenciesDc,\n UpdateProjectV2Payload,\n} from \"./data-contracts\";\n\n/**\n * @title Spatial Processing Core API\n * @version 1.5.1.0\n * @baseUrl /sp\n */\nexport class ProjectsService extends Service {\n /**\n * No description\n *\n * @tags Projects\n * @name CreateProject\n * @operationId ProjectsController_CreateProject\n * @summary Creates a new project.\n * @request POST:/projects\n * @secure\n * @response `200` OK\n */\n createProject(data: ExtendedProjectInfoDc) {\n return this.http.post(`/projects`, data).json<ExtendedProjectInfoDc>();\n }\n /**\n * No description\n *\n * @tags Projects\n * @name DeleteResources\n * @operationId ProjectsController_DeleteResources\n * @summary Bulk delete resources.\n * @request DELETE:/projects\n * @secure\n * @response `200` OK\n */\n deleteResources(query: DeleteResourcesParams2) {\n return this.http.delete(`/projects`, null, query).json<BulkOperationResultDc[]>();\n }\n /**\n * No description\n *\n * @tags Projects\n * @name UpdateProject\n * @operationId ProjectsController_UpdateProject\n * @summary Update table.\n * @request PATCH:/projects/{name}\n * @secure\n * @response `200` OK\n */\n updateProject(name: string, data: ExtendedProjectInfoDc) {\n return this.http.patch(`/projects/${name}`, data).json<ExtendedProjectInfoDc>();\n }\n /**\n * No description\n *\n * @tags Projects\n * @name GetProjectInfo\n * @operationId ProjectsController_GetProjectInfo\n * @summary Returns the project and it's content information.\n * @request GET:/projects/{name}\n * @secure\n * @response `200` OK\n */\n getProjectInfo(name: string) {\n return this.http.get(`/projects/${name}`).json<ExtendedProjectInfoDc>();\n }\n /**\n * No description\n *\n * @tags Projects\n * @name DeleteResource\n * @operationId ProjectsController_DeleteResource\n * @summary Deletes resource.\n * @request DELETE:/projects/{name}\n * @secure\n * @response `200` OK\n */\n deleteResource(name: string) {\n return this.http.delete(`/projects/${name}`, null).then(() => {});\n }\n /**\n * No description\n *\n * @tags Projects\n * @name UpdateProjectV2\n * @operationId ProjectsController_UpdateProjectV2\n * @summary Update table.\n * @request PATCH:/projects/{name}/v2\n * @secure\n * @response `200` OK\n */\n updateProjectV2(name: string, data: UpdateProjectV2Payload) {\n return this.http.patch(`/projects/${name}/v2`, data).json<Operation[]>();\n }\n /**\n * No description\n *\n * @tags Projects\n * @name GetProjectsInfo\n * @operationId ProjectsController_GetProjectsInfoAsync\n * @summary Returns the projects information.\n * @request GET:/projects/batchInfo\n * @secure\n * @response `200` OK\n */\n getProjectsInfo(query: GetProjectsInfoParams) {\n return this.http.get(`/projects/batchInfo`, query).json<ExtendedProjectInfoDc[]>();\n }\n /**\n * No description\n *\n * @tags Projects\n * @name GetProjectEnvelope\n * @operationId ProjectsController_GetProjectEnvelope\n * @summary Get project extent.\n * @request GET:/projects/{name}/extent\n * @secure\n * @response `200` OK\n */\n getProjectEnvelope({ name, ...query }: GetProjectEnvelopeParams) {\n return this.http.get(`/projects/${name}/extent`, query).json<EnvelopeDc>();\n }\n /**\n * No description\n *\n * @tags Projects\n * @name GetProjectLayersExtendedInfo\n * @operationId ProjectsController_GetProjectLayersExtendedInfo\n * @summary Gets extended project info with layers info.\n * @request GET:/projects/{name}/extended-info\n * @secure\n * @response `200` OK\n */\n getProjectLayersExtendedInfo(name: string) {\n return this.http.get(`/projects/${name}/extended-info`).json<ExtendedProjectLayersInfo>();\n }\n /**\n * No description\n *\n * @tags Projects\n * @name PatchProjectConfiguration\n * @operationId ProjectsController_PatchProjectConfiguration\n * @summary Applies partial updates using JSON Patch.\n * @request PATCH:/projects/{name}/devConfiguration\n * @secure\n * @response `200` OK\n */\n patchProjectConfiguration(name: string, data: PatchProjectConfigurationPayload) {\n return this.http.patch(`/projects/${name}/devConfiguration`, data).json<CatalogConfigurationDc>();\n }\n /**\n * No description\n *\n * @tags Projects\n * @name PutProjectConfiguration\n * @operationId ProjectsController_PutProjectConfiguration\n * @summary Creates or updates configuration (full replacement).\n * @request PUT:/projects/{name}/devConfiguration\n * @secure\n * @response `200` OK\n */\n putProjectConfiguration(name: string, data: PutProjectConfigurationPayload) {\n return this.http.put(`/projects/${name}/devConfiguration`, data).json<CatalogConfigurationDc>();\n }\n /**\n * No description\n *\n * @tags Projects\n * @name GetProjectConfiguration\n * @operationId ProjectsController_GetProjectConfiguration\n * @summary Gets configuration for a resource and type.\n * @request GET:/projects/{name}/devConfiguration\n * @secure\n * @response `200` OK\n */\n getProjectConfiguration(name: string) {\n return this.http.get(`/projects/${name}/devConfiguration`).json<CatalogConfigurationDc>();\n }\n /**\n * No description\n *\n * @tags Projects\n * @name DeleteProjectConfiguration\n * @operationId ProjectsController_DeleteProjectConfiguration\n * @summary Creates or updates configuration (full replacement).\n * @request DELETE:/projects/{name}/devConfiguration\n * @secure\n * @response `200` OK\n */\n deleteProjectConfiguration(name: string) {\n return this.http.delete(`/projects/${name}/devConfiguration`, null).json<CatalogConfigurationDc>();\n }\n /**\n * No description\n *\n * @tags Projects\n * @name GetTilesLayerImage\n * @operationId ProjectsController_GetTilesLayerImage\n * @summary Render tile.\n * @request GET:/projects/{name}/tile/{z}/{x}/{y}\n * @secure\n * @response `200` OK\n */\n getTilesLayerImage(name: string, x: number, y: number, z: number) {\n return this.http.createUrl(`/projects/${name}/tile/{z}/{x}/{y}`);\n }\n /**\n * No description\n *\n * @tags Projects\n * @name GetTilesLayerImageWithFormat\n * @operationId ProjectsController_GetTilesLayerImageWithFormat\n * @summary Render tile.\n * @request GET:/projects/{name}/tile/{z}/{x}/{y}.{format}\n * @secure\n * @response `200` OK\n */\n getTilesLayerImageWithFormat(name: string, x: number, y: number, z: number, format: string) {\n return this.http.createUrl(`/projects/${name}/tile/{z}/{x}/{y}.${format}`);\n }\n /**\n * No description\n *\n * @tags Projects\n * @name GetTilesLayerImageWithFormatAndDpi\n * @operationId ProjectsController_GetTilesLayerImageWithFormatAndDpi\n * @summary Render tile.\n * @request GET:/projects/{name}/tile/{z}/{x}/{y}@{dpi}x.{format}\n * @secure\n * @response `200` OK\n */\n getTilesLayerImageWithFormatAndDpi(name: string, x: number, y: number, z: number, dpi: number, format: string) {\n return this.http.createUrl(`/projects/${name}/tile/{z}/{x}/{y}@${dpi}x.${format}`);\n }\n /**\n * No description\n *\n * @tags Projects\n * @name IsExists\n * @operationId ProjectsController_IsExistsAsync\n * @summary Check is resource exists.\n * @request GET:/projects/{name}/exists\n * @secure\n * @response `200` OK\n */\n isExists(name: string) {\n return this.http.get(`/projects/${name}/exists`).then(() => {});\n }\n /**\n * No description\n *\n * @tags Projects\n * @name GetResourceDependencies\n * @operationId ProjectsController_GetResourceDependencies\n * @summary Get resource dependencies.\n * @request GET:/projects/{name}/dependencies\n * @secure\n * @response `200` OK\n */\n getResourceDependencies(name: string) {\n return this.http.get(`/projects/${name}/dependencies`).json<ResourceDependenciesDc>();\n }\n /**\n * No description\n *\n * @tags Projects\n * @name GetResourceReferences\n * @operationId ProjectsController_GetResourceReferences\n * @summary Returns the resource dependency information.\n * @request GET:/projects/{name}/references\n * @secure\n * @response `200` OK\n */\n getResourceReferences(name: string) {\n return this.http.get(`/projects/${name}/references`).json<ResourceDependenciesDc>();\n }\n}\n","import { promiseAllIgnoreErrors } from \"../utils\";\r\n\r\nimport {\r\n ExtendedProjectInfoDc,\r\n ProjectContentItemDc,\r\n ResourceDependenciesDc,\r\n ServiceInfoDc,\r\n TableInfoDc,\r\n} from \"../__generated__/data-contracts\";\r\n\r\nimport { ProjectsService } from \"../__generated__/ProjectsService\";\r\nimport { ResourceService } from \"../interfaces/ResourceService\";\r\n\r\nexport class Projects extends ProjectsService implements ResourceService {\r\n getProjectInfos(projects: string[]): Promise<ExtendedProjectInfoDc[]> {\r\n return promiseAllIgnoreErrors(\r\n projects.map(project => this.getProjectInfo(project)),\r\n ) as Promise<ExtendedProjectInfoDc[]>;\r\n }\r\n\r\n getProjectsDeps(proejcts: string[]): Promise<ResourceDependenciesDc[]> {\r\n return promiseAllIgnoreErrors(\r\n proejcts.map(project => this.getResourceDependencies(project)),\r\n );\r\n }\r\n\r\n findOne(name: string) {\r\n return this.getProjectInfo(name);\r\n }\r\n\r\n create(resource: ExtendedProjectInfoDc) {\r\n return this.createProject(resource);\r\n }\r\n\r\n update(resource: ExtendedProjectInfoDc) {\r\n return this.updateProject(resource.name, resource);\r\n }\r\n\r\n async remove(name: string) {\r\n await this.deleteResource(name);\r\n\r\n return name;\r\n }\r\n}\r\n\r\nexport function isProjectContentItems(\r\n v: ProjectContentItemDc[] | undefined | null,\r\n): v is ProjectContentItemDc[] {\r\n return v !== null && v !== undefined;\r\n}\r\n\r\nexport type ProjectsWithDeps = {\r\n projects: ExtendedProjectInfoDc[];\r\n deps: {\r\n layers: ServiceInfoDc[];\r\n tables: TableInfoDc[];\r\n };\r\n};\r\n","/* eslint-disable */\n/* tslint:disable */\n/*\n * ---------------------------------------------------------------\n * ## THIS FILE WAS GENERATED VIA SWAGGER-TYPESCRIPT-API ##\n * ## ##\n * ## AUTHOR: acacode ##\n * ## SOURCE: https://github.com/acacode/swagger-typescript-api ##\n * ---------------------------------------------------------------\n */\n\n// @ts-nocheck\n\nimport { Service } from \"./Service\";\nimport {\n ActiveWorkerDc,\n CreatedTaskResultDto,\n GetTaskPrototypesParams,\n GetTaskResourceParams,\n GetTasksForPrototypeParams,\n SearchResultsDtoTaskDto,\n SearchResultsDtoTaskPrototypeDto,\n SubTasksDto,\n TaskConfigurationDc,\n TaskPrototypeDto,\n TaskPythonResourceUpdateDto,\n TaskResourceCreateDto,\n TaskSpResourceUpdateDto,\n UpdateTaskPrototypeDto,\n WorkerStartMethodDto,\n} from \"./data-contracts\";\n\n/**\n * @title Spatial Processing Core API\n * @version 1.5.1.0\n * @baseUrl /sp\n */\nexport class RemoteTaskManagerService extends Service {\n /**\n * No description\n *\n * @tags RemoteTaskManager\n * @name Get\n * @operationId RemoteTaskManagerController_Get\n * @summary Shows SubTask in Task.\n * @request GET:/scheduler/task/{id}/subtasks\n * @secure\n * @response `200` OK\n */\n get(id: string) {\n return this.http.get(`/scheduler/task/${id}/subtasks`).json<SubTasksDto[]>();\n }\n /**\n * No description\n *\n * @tags RemoteTaskManager\n * @name Stop\n * @operationId RemoteTaskManagerController_Stop\n * @summary Stop the task.\n * @request POST:/scheduler/task/{id}/stop\n * @secure\n * @response `200` OK\n */\n stop(id: string) {\n return this.http.post(`/scheduler/task/${id}/stop`, null).text();\n }\n /**\n * No description\n *\n * @tags RemoteTaskManager\n * @name CreateTaskPrototype\n * @operationId RemoteTaskManagerController_CreateTaskPrototype\n * @summary Creates TaskPrototype.\n * @request POST:/scheduler\n * @secure\n * @response `200` OK\n */\n createTaskPrototype(data: TaskPrototypeDto) {\n return this.http.post(`/scheduler`, data).text();\n }\n /**\n * No description\n *\n * @tags RemoteTaskManager\n * @name GetTaskPrototypes\n * @operationId RemoteTaskManagerController_GetTaskPrototypes\n * @summary Show TaskPrototypes for user.\n * @request GET:/scheduler\n * @secure\n * @response `200` OK\n */\n getTaskPrototypes(query: GetTaskPrototypesParams) {\n return this.http.get(`/scheduler`, query).json<SearchResultsDtoTaskPrototypeDto>();\n }\n /**\n * No description\n *\n * @tags RemoteTaskManager\n * @name UpdateTaskPrototype\n * @operationId RemoteTaskManagerController_UpdateTaskPrototype\n * @summary Updates task prototype.\n * @request PUT:/scheduler/{id}\n * @secure\n * @response `200` OK\n */\n updateTaskPrototype(id: string, data: UpdateTaskPrototypeDto) {\n return this.http.put(`/scheduler/${id}`, data).text();\n }\n /**\n * No description\n *\n * @tags RemoteTaskManager\n * @name Delete\n * @operationId RemoteTaskManagerController_Delete\n * @summary Delete task prototype.\n * @request DELETE:/scheduler/{id}\n * @secure\n * @response `200` OK\n */\n delete(id: string) {\n return this.http.delete(`/scheduler/${id}`, null).text();\n }\n /**\n * No description\n *\n * @tags RemoteTaskManager\n * @name SetEnable\n * @operationId RemoteTaskManagerController_SetEnable\n * @summary Enables task prototype.\n * @request POST:/scheduler/{id}/enable/{enable}\n * @secure\n * @response `200` OK\n */\n setEnable(id: string, enable: boolean) {\n return this.http.post(`/scheduler/${id}/enable/${enable}`, null).text();\n }\n /**\n * No description\n *\n * @tags RemoteTaskManager\n * @name GetTasksForPrototype\n * @operationId RemoteTaskManagerController_GetTasksForPrototype\n * @summary Shows Tasks that created for TaskPrototype.\n * @request GET:/scheduler/{id}/tasks\n * @secure\n * @response `200` OK\n */\n getTasksForPrototype({ id, ...query }: GetTasksForPrototypeParams) {\n return this.http.get(`/scheduler/${id}/tasks`, query).json<SearchResultsDtoTaskDto>();\n }\n /**\n * No description\n *\n * @tags RemoteTaskManager\n * @name StartTask\n * @operationId RemoteTaskManagerController_StartTask\n * @summary Starts new Task for TaskPrototype with task id definition.\n * @request POST:/scheduler/{id}/start/{taskId}\n * @secure\n * @response `200` OK\n */\n startTask(id: string, taskId: string) {\n return this.http.post(`/scheduler/${id}/start/${taskId}`, null).json<CreatedTaskResultDto>();\n }\n /**\n * No description\n *\n * @tags RemoteTaskManager\n * @name StartTask1\n * @operationId RemoteTaskManagerController_StartTask_1\n * @summary Starts new Task for TaskPrototype .\n * @request POST:/scheduler/{id}/start\n * @secure\n * @response `200` OK\n */\n startTask1(id: string) {\n return this.http.post(`/scheduler/${id}/start`, null).json<CreatedTaskResultDto>();\n }\n /**\n * No description\n *\n * @tags RemoteTaskManager\n * @name GetTaskResource\n * @operationId RemoteTaskManagerController_GetTaskResource\n * @summary Shows SubTask in Task.\n * @request GET:/scheduler/taskresource/{id}\n * @secure\n * @response `200` OK\n */\n getTaskResource({ id, ...query }: GetTaskResourceParams) {\n return this.http.get(`/scheduler/taskresource/${id}`, query).json<TaskConfigurationDc>();\n }\n /**\n * No description\n *\n * @tags RemoteTaskManager\n * @name CreateTaskResource\n * @operationId RemoteTaskManagerController_CreateTaskResource\n * @summary Create task resource.\n * @request POST:/scheduler/taskresource\n * @secure\n * @response `200` OK\n */\n createTaskResource(data: TaskResourceCreateDto) {\n return this.http.post(`/scheduler/taskresource`, data).text();\n }\n /**\n * No description\n *\n * @tags RemoteTaskManager\n * @name UpdatePythonTaskResource\n * @operationId RemoteTaskManagerController_UpdatePythonTaskResource\n * @summary Update python task resource.\n * @request PATCH:/scheduler/taskresource/{id}#type=PythonTask\n * @secure\n * @response `200` OK\n */\n updatePythonTaskResource(id: string, data: TaskPythonResourceUpdateDto) {\n return this.http.patch(`/scheduler/taskresource/${id}`, data, { type: \"PythonTask\" }).then(() => {});\n }\n /**\n * No description\n *\n * @tags RemoteTaskManager\n * @name UpdateSpTaskResource\n * @operationId RemoteTaskManagerController_UpdateSpTaskResource\n * @summary Update sp task resource.\n * @request PATCH:/scheduler/taskresource/{id}#type=SpTask\n * @secure\n * @response `200` OK\n */\n updateSpTaskResource(id: string, data: TaskSpResourceUpdateDto) {\n return this.http.patch(`/scheduler/taskresource/${id}`, data, { type: \"SpTask\" }).then(() => {});\n }\n /**\n * No description\n *\n * @tags RemoteTaskManager\n * @name Get1\n * @operationId RemoteTaskManagerController_Get_1\n * @summary Shows active workers.\n * @request GET:/scheduler/worker\n * @secure\n * @response `200` OK\n */\n get1() {\n return this.http.get(`/scheduler/worker`).json<ActiveWorkerDc[]>();\n }\n /**\n * No description\n *\n * @tags RemoteTaskManager\n * @name Post\n * @operationId RemoteTaskManagerController_Post\n * @summary Run method by HttpPost.\n * @request POST:/scheduler/worker\n * @secure\n * @response `200` OK\n */\n post(data: WorkerStartMethodDto) {\n return this.http.post(`/scheduler/worker`, data).json<any>();\n }\n /**\n * No description\n *\n * @tags RemoteTaskManager\n * @name GetWorker\n * @operationId RemoteTaskManagerController_GetWorker\n * @summary Get worker info by type.\n * @request GET:/scheduler/worker/{type}\n * @secure\n * @response `200` OK\n */\n getWorker(type: string) {\n return this.http.get(`/scheduler/worker/${type}`).json<ActiveWorkerDc[]>();\n }\n}\n","import { RemoteTaskManagerService } from \"../__generated__/RemoteTaskManagerService\";\r\n\r\nexport class RemoteTaskManager extends RemoteTaskManagerService {}\r\n","import { Projects, ProjectsWithDeps } from \"./Projects\";\r\nimport { Layers, LayersWithDeps } from \"./Layers\";\r\nimport { Tables } from \"./Tables\";\r\n\r\nimport { isString, unique } from \"../utils\";\r\n\r\nimport {\r\n DependentResourceDc,\r\n ResourceDependenciesDc,\r\n} from \"../__generated__/data-contracts\";\r\n\r\nexport enum DependencyType {\r\n Layer = \"Layer\",\r\n Table = \"Table\",\r\n Project = \"Project\",\r\n}\r\n\r\nexport class Resources {\r\n constructor(\r\n private readonly projects: Projects,\r\n private readonly layers: Layers,\r\n private readonly tables: Tables,\r\n ) {\r\n }\r\n\r\n async getProjectInfosWithDeps(projects: string[]): Promise<ProjectsWithDeps> {\r\n const projectInfos = await this.projects.getProjectInfos(projects);\r\n const projectDeps = await this.projects.getProjectsDeps(projects);\r\n const { layers, tables } = await this.getDependencies(\r\n projectDeps,\r\n true,\r\n true,\r\n );\r\n\r\n return {\r\n projects: projectInfos,\r\n deps: {\r\n layers,\r\n tables,\r\n },\r\n };\r\n }\r\n\r\n async getLayerInfosWithDeps(layers: string[]): Promise<LayersWithDeps> {\r\n const layerInfos = await this.layers.getLayerInfos(layers);\r\n const layersDeps = await this.layers.getLayersDeps(layers);\r\n\r\n const { tables } = await this.getDependencies(layersDeps, false, true);\r\n\r\n return {\r\n layers: layerInfos,\r\n deps: {\r\n tables,\r\n },\r\n };\r\n }\r\n\r\n private async getDependencies(\r\n resourceDeps: ResourceDependenciesDc[],\r\n pickLayers?: boolean,\r\n pickTables?: boolean,\r\n ) {\r\n const { tables, layers } = resourceDeps.reduce<{\r\n tables: string[];\r\n layers: string[];\r\n }>(\r\n (acc, layerDep) => {\r\n const deps = layerDep.dependencies || [];\r\n\r\n if (pickLayers) {\r\n const layerNames = this.getDependentNames(deps, DependencyType.Layer);\r\n acc.layers.push(...layerNames);\r\n }\r\n\r\n if (pickTables) {\r\n const tableNames = this.getDependentNames(deps, DependencyType.Table);\r\n acc.tables.push(...tableNames);\r\n }\r\n return acc;\r\n },\r\n {\r\n tables: [],\r\n layers: [],\r\n },\r\n );\r\n\r\n return {\r\n tables: await this.tables.getTableInfos(tables.filter(unique)),\r\n layers: await this.layers.getLayerInfos(layers.filter(unique)),\r\n };\r\n }\r\n\r\n private getDependentNames(\r\n deps: DependentResourceDc[],\r\n depType: DependencyType,\r\n ) {\r\n return deps\r\n .filter(({ type }) => type === depType)\r\n .map(({ name }) => name)\r\n .filter(isString);\r\n }\r\n}\r\n","/* eslint-disable */\n/* tslint:disable */\n/*\n * ---------------------------------------------------------------\n * ## THIS FILE WAS GENERATED VIA SWAGGER-TYPESCRIPT-API ##\n * ## ##\n * ## AUTHOR: acacode ##\n * ## SOURCE: https://github.com/acacode/swagger-typescript-api ##\n * ---------------------------------------------------------------\n */\n\n// @ts-nocheck\n\nimport { Service } from \"./Service\";\nimport {\n FindUserByNameByRolesParams,\n FindUserByNameParams,\n GetPolicyListParams,\n GetUsersAndRolesParams,\n PolicyDc,\n RemovePolicyParams,\n SearchedUserDc,\n SetPoliciesPayload,\n UserOrRoleDc,\n WorkspaceLimitsDc,\n} from \"./data-contracts\";\n\n/**\n * @title Spatial Processing Core API\n * @version 1.5.1.0\n * @baseUrl /sp\n */\nexport class SecurityService extends Service {\n /**\n * @description This method requires superuser permission.\n *\n * @tags SecurityService\n * @name SetPolicies\n * @operationId SecurityServiceController_SetPolicies\n * @summary Adds the given policies to the server policy list. If a policy with the same type and user role already exists, it replaces the existing policy with the new one.\n * @request POST:/bulk/security/policies\n * @secure\n * @response `200` OK\n */\n setPolicies(data: SetPoliciesPayload) {\n return this.http.post(`/bulk/security/policies`, data).then(() => {});\n }\n /**\n * No description\n *\n * @tags SecurityService\n * @name FindUserByNameByRoles\n * @operationId SecurityServiceController_FindUserByNameByRoles\n * @summary Get users list with given roles list.\n * @request GET:/security/findUsersWithRoles\n * @secure\n * @response `200` OK\n */\n findUserByNameByRoles(query: FindUserByNameByRolesParams) {\n return this.http.get(`/security/findUsersWithRoles`, query).json<SearchedUserDc[]>();\n }\n /**\n * No description\n *\n * @tags SecurityService\n * @name GetUsersAndRoles\n * @operationId SecurityServiceController_GetUsersAndRoles\n * @summary Get users and roles list by filter.\n * @request GET:/security/usersandroles\n * @secure\n * @response `200` OK\n */\n getUsersAndRoles(query: GetUsersAndRolesParams) {\n return this.http.get(`/security/usersandroles`, query).json<UserOrRoleDc[]>();\n }\n /**\n * No description\n *\n * @tags SecurityService\n * @name FindUserByName\n * @operationId SecurityServiceController_FindUserByName\n * @summary Returns the list of users found by username.\n * @request GET:/security/users\n * @secure\n * @response `200` OK\n */\n findUserByName(query: FindUserByNameParams) {\n return this.http.get(`/security/users`, query).json<SearchedUserDc[]>();\n }\n /**\n * @description This method requires superuser permission.\n *\n * @tags SecurityService\n * @name GetPolicyList\n * @operationId SecurityServiceController_GetPolicyList\n * @summary Returns the list of server authorization policies of the given type.\n * @request GET:/security/policies\n * @secure\n * @response `200` OK\n */\n getPolicyList(query: GetPolicyListParams) {\n return this.http.get(`/security/policies`, query).json<PolicyDc[]>();\n }\n /**\n * @description This method requires superuser permission.\n *\n * @tags SecurityService\n * @name RemovePolicy\n * @operationId SecurityServiceController_RemovePolicy\n * @summary Removes the policy of the given type with the given role. If no such policy is found, nothing is done, and OK response is returned.\n * @request DELETE:/security/policies\n * @secure\n * @response `200` OK\n */\n removePolicy(query: RemovePolicyParams) {\n return this.http.delete(`/security/policies`, null, query).then(() => {});\n }\n /**\n * @description This method requires superuser permission.\n *\n * @tags SecurityService\n * @name SetPolicy\n * @operationId SecurityServiceController_SetPolicy\n * @summary Adds the given policy to the server policy list. If a policy with the same type and user role already exists, it replaces the existing policy with the new one.\n * @request POST:/security/policies\n * @secure\n * @response `200` OK\n */\n setPolicy(data: PolicyDc) {\n return this.http.post(`/security/policies`, data).then(() => {});\n }\n /**\n * No description\n *\n * @tags SecurityService\n * @name OldCheckLimits\n * @operationId SecurityServiceController_OldCheckLimits\n * @summary Get limits of workspace.\n * @request GET:/resources/checkLimits\n * @secure\n * @response `200` OK\n */\n oldCheckLimits() {\n return this.http.get(`/resources/checkLimits`).json<WorkspaceLimitsDc>();\n }\n /**\n * No description\n *\n * @tags SecurityService\n * @name OldCheckLimits1\n * @operationId SecurityServiceController_OldCheckLimits_1\n * @summary Get limits of workspace.\n * @request GET:/resources/checkLimits/{userName}\n * @secure\n * @response `200` OK\n */\n oldCheckLimits1(userName: string) {\n return this.http.get(`/resources/checkLimits/${userName}`).json<WorkspaceLimitsDc>();\n }\n /**\n * No description\n *\n * @tags SecurityService\n * @name CheckLimitsForUser\n * @operationId SecurityServiceController_CheckLimitsForUser\n * @summary Get limits of workspace.\n * @request GET:/security/limits/user\n * @secure\n * @response `200` OK\n */\n checkLimitsForUser() {\n return this.http.get(`/security/limits/user`).json<WorkspaceLimitsDc>();\n }\n /**\n * No description\n *\n * @tags SecurityService\n * @name CheckLimitsForUser1\n * @operationId SecurityServiceController_CheckLimitsForUser_1\n * @summary Get limits of workspace.\n * @request GET:/security/limits/user/{userName}\n * @secure\n * @response `200` OK\n */\n checkLimitsForUser1(userName: string) {\n return this.http.get(`/security/limits/user/${userName}`).json<WorkspaceLimitsDc>();\n }\n /**\n * No description\n *\n * @tags SecurityService\n * @name CheckLimitsForRole\n * @operationId SecurityServiceController_CheckLimitsForRole\n * @summary Get limits of workspace.\n * @request GET:/security/limits/role/{roleName}\n * @secure\n * @response `200` OK\n */\n checkLimitsForRole(roleName: string | null) {\n return this.http.get(`/security/limits/role/${roleName}`).json<WorkspaceLimitsDc>();\n }\n /**\n * No description\n *\n * @tags SecurityService\n * @name GetDefaultLimits\n * @operationId SecurityServiceController_GetDefaultLimits\n * @summary Get default limits of workspace.\n * @request GET:/security/limits/default\n * @secure\n * @response `200` OK\n */\n getDefaultLimits() {\n return this.http.get(`/security/limits/default`).json<WorkspaceLimitsDc>();\n }\n}\n","import { SecurityService } from \"../__generated__/SecurityService\";\r\nimport { UserInfoDc } from \"../__generated__/data-contracts\";\r\nimport { IHttpClient } from \"../__generated__/HttpClient\";\r\n\r\nexport class Security extends SecurityService {\r\n ownerName: string = \"\";\r\n ownerRoles: string[] = [];\r\n\r\n constructor(http: IHttpClient, { username, roles }: UserInfoDc) {\r\n super(http);\r\n\r\n this.ownerName = username as string;\r\n this.ownerRoles = roles as string[];\r\n }\r\n\r\n reset() {\r\n this.ownerName = \"\";\r\n this.ownerRoles = [];\r\n }\r\n}\r\n","/* eslint-disable */\n/* tslint:disable */\n/*\n * ---------------------------------------------------------------\n * ## THIS FILE WAS GENERATED VIA SWAGGER-TYPESCRIPT-API ##\n * ## ##\n * ## AUTHOR: acacode ##\n * ## SOURCE: https://github.com/acacode/swagger-typescript-api ##\n * ---------------------------------------------------------------\n */\n\n// @ts-nocheck\n\nimport { Service } from \"./Service\";\nimport { ClassifyDc, GetClassifyDc, GetStatisticsDc, GetSumOfProductDc, StatisticsDc } from \"./data-contracts\";\n\n/**\n * @title Spatial Processing Core API\n * @version 1.5.1.0\n * @baseUrl /sp\n */\nexport class StatisticService extends Service {\n /**\n * No description\n *\n * @tags Statistic\n * @name StatisticsDb\n * @operationId StatisticController_StatisticsDb\n * @summary Calculates statistics for layer attribute.\n * @request POST:/statistics\n * @secure\n * @response `200` OK\n */\n statisticsDb(data: GetStatisticsDc) {\n return this.http.post(`/statistics`, data).json<StatisticsDc>();\n }\n /**\n * No description\n *\n * @tags Statistic\n * @name Classify\n * @operationId StatisticController_Classify\n * @summary Returns the classified attribute values that correspond to the given number of classes and given condition.\n * @request POST:/statistics/classify\n * @secure\n * @response `200` OK\n */\n classify(data: GetClassifyDc) {\n return this.http.post(`/statistics/classify`, data).json<ClassifyDc>();\n }\n /**\n * No description\n *\n * @tags Statistic\n * @name SumOfProduct\n * @operationId StatisticController_SumOfProduct\n * @summary Sum of product.\n * @request POST:/statistics/sumOfProduct\n * @secure\n * @response `200` OK\n */\n sumOfProduct(data: GetSumOfProductDc) {\n return this.http.post(`/statistics/sumOfProduct`, data).json<StatisticsDc>();\n }\n}\n","import { StatisticService } from \"../__generated__/StatisticService\";\r\n\r\nexport class Statistic extends StatisticService {}\r\n","/* eslint-disable */\n/* tslint:disable */\n/*\n * ---------------------------------------------------------------\n * ## THIS FILE WAS GENERATED VIA SWAGGER-TYPESCRIPT-API ##\n * ## ##\n * ## AUTHOR: acacode ##\n * ## SOURCE: https://github.com/acacode/swagger-typescript-api ##\n * ---------------------------------------------------------------\n */\n\n// @ts-nocheck\n\nimport { Service } from \"./Service\";\nimport {\n BulkOperationResultDc,\n CreateViewFromQueryDc,\n CreateViewFromQueryLayerDc,\n DeleteResourcesParams4,\n DeleteTableDataParams,\n DetailedTableInfoDc,\n GetTableDataParams,\n GetTablesInfoParams,\n MapTableInfoDc,\n MapTableParams,\n PagedBulkFeaturesListDc,\n PagedFeaturesListDc,\n PagedListFeatureDc,\n ResourceDependenciesDc,\n UpdateTableDataParams,\n UpdateTableDataPayload,\n UpdateTableDc,\n WriteTableDataPayload,\n} from \"./data-contracts\";\n\n/**\n * @title Spatial Processing Core API\n * @version 1.5.1.0\n * @baseUrl /sp\n */\nexport class TablesService extends Service {\n /**\n * No description\n *\n * @tags Tables\n * @name CreateTable\n * @operationId TablesController_CreateTable\n * @summary Creates a new table.\n * @request POST:/tables\n * @secure\n * @response `200` OK\n */\n createTable(data: DetailedTableInfoDc) {\n return this.http.post(`/tables`, data).json<DetailedTableInfoDc>();\n }\n /**\n * No description\n *\n * @tags Tables\n * @name DeleteResources\n * @operationId TablesController_DeleteResources\n * @summary Bulk delete resources.\n * @request DELETE:/tables\n * @secure\n * @response `200` OK\n */\n deleteResources(query: DeleteResourcesParams4) {\n return this.http.delete(`/tables`, null, query).json<BulkOperationResultDc[]>();\n }\n /**\n * No description\n *\n * @tags Tables\n * @name UpdateTable\n * @operationId TablesController_UpdateTable\n * @summary Update exists table.\n * @request PATCH:/tables/{name}\n * @secure\n * @response `200` OK\n */\n updateTable(name: string, data: UpdateTableDc) {\n return this.http.patch(`/tables/${name}`, data).json<DetailedTableInfoDc>();\n }\n /**\n * No description\n *\n * @tags Tables\n * @name PutTable\n * @operationId TablesController_PutTable\n * @summary Override exists table.\n * @request PUT:/tables/{name}\n * @secure\n * @response `200` OK\n */\n putTable(name: string, data: DetailedTableInfoDc) {\n return this.http.put(`/tables/${name}`, data).json<DetailedTableInfoDc>();\n }\n /**\n * No description\n *\n * @tags Tables\n * @name GetTableInfo\n * @operationId TablesController_GetTableInfo\n * @summary Returns the table information and schema.\n * @request GET:/tables/{name}\n * @secure\n * @response `200` OK\n */\n getTableInfo(name: string) {\n return this.http.get(`/tables/${name}`).json<DetailedTableInfoDc>();\n }\n /**\n * No description\n *\n * @tags Tables\n * @name DeleteResource\n * @operationId TablesController_DeleteResource\n * @summary Deletes resource.\n * @request DELETE:/tables/{name}\n * @secure\n * @response `200` OK\n */\n deleteResource(name: string) {\n return this.http.delete(`/tables/${name}`, null).then(() => {});\n }\n /**\n * No description\n *\n * @tags Tables\n * @name GetTablesInfo\n * @operationId TablesController_GetTablesInfoAsync\n * @summary Returns the tables information.\n * @request GET:/tables/batchInfo\n * @secure\n * @response `200` OK\n */\n getTablesInfo(query: GetTablesInfoParams) {\n return this.http.get(`/tables/batchInfo`, query).json<DetailedTableInfoDc[]>();\n }\n /**\n * No description\n *\n * @tags Tables\n * @name GetTableData\n * @operationId TablesController_GetTableData\n * @summary Retrieves the data from the table.\n * @request GET:/tables/{name}/data\n * @secure\n * @response `200` OK\n */\n getTableData({ name, ...query }: GetTableDataParams) {\n return this.http\n .get(`/tables/${name}/data`, query)\n .json<PagedListFeatureDc | PagedFeaturesListDc | PagedBulkFeaturesListDc>();\n }\n /**\n * No description\n *\n * @tags Tables\n * @name WriteTableData\n * @operationId TablesController_WriteTableData\n * @summary Adds the data to the table.\n * @request POST:/tables/{name}/data\n * @secure\n * @response `200` OK\n */\n writeTableData(name: string, data: WriteTableDataPayload) {\n return this.http.post(`/tables/${name}/data`, data).then(() => {});\n }\n /**\n * No description\n *\n * @tags Tables\n * @name UpdateTableData\n * @operationId TablesController_UpdateTableData\n * @summary Updates the data in the table.\n * @request PATCH:/tables/{name}/data\n * @secure\n * @response `200` OK\n */\n updateTableData({ name, ...query }: UpdateTableDataParams, data: UpdateTableDataPayload) {\n return this.http.patch(`/tables/${name}/data`, data, query).then(() => {});\n }\n /**\n * No description\n *\n * @tags Tables\n * @name DeleteTableData\n * @operationId TablesController_DeleteTableData\n * @summary Delete data rows from the table.\n * @request DELETE:/tables/{name}/data\n * @secure\n * @response `200` OK\n */\n deleteTableData({ name, ...query }: DeleteTableDataParams) {\n return this.http.delete(`/tables/${name}/data`, null, query).then(() => {});\n }\n /**\n * No description\n *\n * @tags Tables\n * @name MapTable\n * @operationId TablesController_MapTable\n * @summary Map table to exists table.\n * @request POST:/tables/map-table\n * @secure\n * @response `200` OK\n */\n mapTable(query: MapTableParams, data: MapTableInfoDc) {\n return this.http.post(`/tables/map-table`, data, query).json<DetailedTableInfoDc>();\n }\n /**\n * No description\n *\n * @tags Tables\n * @name UnmapTable\n * @operationId TablesController_UnmapTableAsync\n * @summary Unmap datasource from table.\n * @request DELETE:/tables/map-table/{name}\n * @secure\n * @response `200` OK\n */\n unmapTable(name: string) {\n return this.http.delete(`/tables/map-table/${name}`, null).then(() => {});\n }\n /**\n * No description\n *\n * @tags Tables\n * @name CreateViewFromQueryLayer\n * @operationId TablesController_CreateViewFromQueryLayer\n * @summary Creates a new view from query layer.\n * @request POST:/tables/fromLayer\n * @secure\n * @response `200` OK\n */\n createViewFromQueryLayer(data: CreateViewFromQueryLayerDc) {\n return this.http.post(`/tables/fromLayer`, data).json<DetailedTableInfoDc>();\n }\n /**\n * No description\n *\n * @tags Tables\n * @name CreateViewFromQuery\n * @operationId TablesController_CreateViewFromQuery\n * @summary Creates a new view from query.\n * @request POST:/tables/fromQuery\n * @secure\n * @response `200` OK\n */\n createViewFromQuery(data: CreateViewFromQueryDc) {\n return this.http.post(`/tables/fromQuery`, data).json<DetailedTableInfoDc>();\n }\n /**\n * No description\n *\n * @tags Tables\n * @name IsExists\n * @operationId TablesController_IsExistsAsync\n * @summary Check is resource exists.\n * @request GET:/tables/{name}/exists\n * @secure\n * @response `200` OK\n */\n isExists(name: string) {\n return this.http.get(`/tables/${name}/exists`).then(() => {});\n }\n /**\n * No description\n *\n * @tags Tables\n * @name GetResourceDependencies\n * @operationId TablesController_GetResourceDependencies\n * @summary Get resource dependencies.\n * @request GET:/tables/{name}/dependencies\n * @secure\n * @response `200` OK\n */\n getResourceDependencies(name: string) {\n return this.http.get(`/tables/${name}/dependencies`).json<ResourceDependenciesDc>();\n }\n /**\n * No description\n *\n * @tags Tables\n * @name GetResourceReferences\n * @operationId TablesController_GetResourceReferences\n * @summary Returns the resource dependency information.\n * @request GET:/tables/{name}/references\n * @secure\n * @response `200` OK\n */\n getResourceReferences(name: string) {\n return this.http.get(`/tables/${name}/references`).json<ResourceDependenciesDc>();\n }\n}\n","import { promiseAllIgnoreErrors } from \"../utils\";\r\n\r\nimport {\r\n DetailedTableInfoDc,\r\n TableInfoDc,\r\n UpdateTableDc,\r\n} from \"../__generated__/data-contracts\";\r\n\r\nimport { TablesService } from \"../__generated__/TablesService\";\r\nimport { ResourceService } from \"../interfaces/ResourceService\";\r\n\r\nexport class Tables extends TablesService implements ResourceService {\r\n getTableInfos(tables: string[]): Promise<TableInfoDc[]> {\r\n return promiseAllIgnoreErrors(\r\n tables.map(table => this.getTableInfo(table)),\r\n );\r\n }\r\n\r\n findOne(name: string): Promise<DetailedTableInfoDc> {\r\n return this.getTableInfo(name) as Promise<DetailedTableInfoDc>;\r\n }\r\n\r\n create(resource: DetailedTableInfoDc) {\r\n return this.createTable(resource);\r\n }\r\n\r\n update(table: UpdateTableDc) {\r\n return this.updateTable(table.name, table);\r\n }\r\n\r\n async remove(name: string) {\r\n await this.deleteResource(name);\r\n\r\n return name;\r\n }\r\n}\r\n","/* eslint-disable */\n/* tslint:disable */\n/*\n * ---------------------------------------------------------------\n * ## THIS FILE WAS GENERATED VIA SWAGGER-TYPESCRIPT-API ##\n * ## ##\n * ## AUTHOR: acacode ##\n * ## SOURCE: https://github.com/acacode/swagger-typescript-api ##\n * ---------------------------------------------------------------\n */\n\n// @ts-nocheck\n\nimport { Service } from \"./Service\";\n\n/**\n * @title Spatial Processing Core API\n * @version 1.5.1.0\n * @baseUrl /sp\n */\nexport class ToolsService extends Service {}\n","import { ToolsService } from \"../__generated__/ToolsService\";\r\n\r\nexport class Tools extends ToolsService {}\r\n","/* eslint-disable */\n/* tslint:disable */\n/*\n * ---------------------------------------------------------------\n * ## THIS FILE WAS GENERATED VIA SWAGGER-TYPESCRIPT-API ##\n * ## ##\n * ## AUTHOR: acacode ##\n * ## SOURCE: https://github.com/acacode/swagger-typescript-api ##\n * ---------------------------------------------------------------\n */\n\n// @ts-nocheck\n\nimport { Service } from \"./Service\";\nimport { GetVectorTileParams2 } from \"./data-contracts\";\n\n/**\n * @title Spatial Processing Core API\n * @version 1.5.1.0\n * @baseUrl /sp\n */\nexport class VectorTileService extends Service {\n /**\n * No description\n *\n * @tags VectorTileService\n * @name GetVectorTile\n * @operationId VectorTileServiceController_GetVectorTile\n * @summary Get vector tile from visible project layers or single layer.\n * @request GET:/vt/{name}/{z}/{x}/{y}.pbf\n * @secure\n * @response `200` OK\n */\n getVectorTile({ name, z, x, y, ...query }: GetVectorTileParams2) {\n return this.http.get(`/vt/${name}/{z}/{x}/{y}.pbf`, query).then(() => {});\n }\n}\n","import { VectorTileService } from \"../__generated__/VectorTileService\";\r\n\r\nexport class VectorTiles extends VectorTileService {}\r\n","// @ts-nocheck\r\n\r\ninterface BrandedType<T> {\r\n __type__?: T;\r\n}\r\n\r\n/**\r\n * Access control list for a security object.\r\n */\r\nexport interface AccessControlListDc {\r\n /** All available permissions list. */\r\n data?: RolePermissionDc[];\r\n}\r\n\r\n/**\r\n* \r\n\r\nShared\r\n\r\nPublic\r\n\r\nMy\r\n*/\r\nexport enum AccessMode {\r\n Shared = \"Shared\",\r\n Public = \"Public\",\r\n My = \"My\",\r\n}\r\n\r\n/**\r\n * Active worker data contract.\r\n */\r\nexport interface ActiveWorkerDc {\r\n /**\r\n * Идентификатор.\r\n * @format uuid\r\n */\r\n id?: string;\r\n /** Worker type. */\r\n type?: string;\r\n /** Worker tasks. */\r\n activeWorkerTasks?: ActiveWorkerTaskDc[];\r\n /**\r\n * Last update status date.\r\n * @format date-time\r\n */\r\n lastUpdateStatusDate?: string;\r\n /** IsInError. */\r\n isInError?: boolean;\r\n /** IsInTimeout. */\r\n isInTimeout?: boolean;\r\n}\r\n\r\n/**\r\n * Active worker task data contract.\r\n */\r\nexport interface ActiveWorkerTaskDc {\r\n /** Task type. */\r\n type?: string;\r\n /**\r\n *\r\n *\r\n * Task\r\n *\r\n * Rest\r\n *\r\n * Both\r\n */\r\n methodCallType?: WorkerMethodType;\r\n /** SettingsFields. */\r\n settingsFields?: WorkerSettingsFieldDc[];\r\n}\r\n\r\n/**\r\n * Additional data source connection data contract.\r\n */\r\nexport interface AdditionalDataSourceConnectionDc {\r\n /**\r\n *\r\n *\r\n * Json\r\n *\r\n * Csv\r\n *\r\n * Orc\r\n *\r\n * Parquet\r\n *\r\n * Jdbc\r\n */\r\n type?: DataSourceConnectionType;\r\n /** Temp view name. */\r\n name?: string;\r\n /** Connection string. */\r\n connectionString?: string;\r\n}\r\n\r\n/**\r\n * Describes data contract of aggregation result.\r\n */\r\nexport interface AggregationDataResultDc {\r\n /** Aggregation groups. */\r\n attributes: Record<string, any>;\r\n /**\r\n * Aggregation attribute name.\r\n * @minLength 1\r\n */\r\n aggregationAttributeName: string;\r\n /**\r\n *\r\n *\r\n * None\r\n *\r\n * Array\r\n *\r\n * Min\r\n *\r\n * Max\r\n *\r\n * Avg\r\n *\r\n * Sum\r\n *\r\n * Extent\r\n *\r\n * H3\r\n *\r\n * Count\r\n *\r\n * TotalCount\r\n *\r\n * DistinctCount\r\n *\r\n * First\r\n *\r\n * Last\r\n *\r\n * Median\r\n *\r\n * Mod\r\n *\r\n * StdDeviation\r\n *\r\n * SumOfProduct\r\n *\r\n * OnlyValue\r\n *\r\n * WeightedAvg\r\n *\r\n * DensityIndicators\r\n *\r\n * DividedSum\r\n */\r\n aggregationFunctionName: AggregationFunction;\r\n /** Aggregation result value. */\r\n value: any;\r\n}\r\n\r\n/**\r\n* \r\n\r\nNone\r\n\r\nArray\r\n\r\nMin\r\n\r\nMax\r\n\r\nAvg\r\n\r\nSum\r\n\r\nExtent\r\n\r\nH3\r\n\r\nCount\r\n\r\nTotalCount\r\n\r\nDistinctCount\r\n\r\nFirst\r\n\r\nLast\r\n\r\nMedian\r\n\r\nMod\r\n\r\nStdDeviation\r\n\r\nSumOfProduct\r\n\r\nOnlyValue\r\n\r\nWeightedAvg\r\n\r\nDensityIndicators\r\n\r\nDividedSum\r\n*/\r\nexport enum AggregationFunction {\r\n None = \"None\",\r\n Array = \"Array\",\r\n Min = \"Min\",\r\n Max = \"Max\",\r\n Avg = \"Avg\",\r\n Sum = \"Sum\",\r\n Extent = \"Extent\",\r\n H3 = \"H3\",\r\n Count = \"Count\",\r\n TotalCount = \"TotalCount\",\r\n DistinctCount = \"DistinctCount\",\r\n First = \"First\",\r\n Last = \"Last\",\r\n Median = \"Median\",\r\n Mod = \"Mod\",\r\n StdDeviation = \"StdDeviation\",\r\n SumOfProduct = \"SumOfProduct\",\r\n OnlyValue = \"OnlyValue\",\r\n WeightedAvg = \"WeightedAvg\",\r\n DensityIndicators = \"DensityIndicators\",\r\n DividedSum = \"DividedSum\",\r\n}\r\n\r\n/**\r\n * S3 data source settings.\r\n */\r\nexport type ArcGisDataSourceDc = DataSourceDc & {\r\n /**\r\n *\r\n *\r\n * Postgres\r\n *\r\n * Trino\r\n *\r\n * S3\r\n *\r\n * GisServer\r\n *\r\n * Spark\r\n *\r\n * Archive\r\n */\r\n type?: DataSourceType;\r\n /** Endpoint. */\r\n serviceUrl?: string | null;\r\n /** Endpoint. */\r\n params?: Record<string, string | null>;\r\n /** Endpoint. */\r\n headers?: Record<string, string | null>;\r\n};\r\n\r\n/**\r\n * S3 data source info.\r\n */\r\nexport type ArcGisDataSourceInfoDc = DataSourceInfoDc & {\r\n /** Service url. */\r\n serviceUrl?: string | null;\r\n};\r\n\r\n/**\r\n * Archive calendar response.\r\n */\r\nexport interface ArchiveCalendarDc {\r\n /** Each value represents the percentage of time covered by archive records within the corresponding day. */\r\n calendar?: ArchiveCalendarItemDc[];\r\n /** Check if request success. */\r\n success?: boolean;\r\n}\r\n\r\n/**\r\n * Archive calendar item.\r\n */\r\nexport interface ArchiveCalendarItemDc {\r\n /** Date. */\r\n date?: string;\r\n /**\r\n * Daily coverage values.\r\n * @format int32\r\n */\r\n coverage?: number;\r\n}\r\n\r\n/**\r\n * Archive timeline request.\r\n */\r\nexport interface ArchiveTimelineDc {\r\n /** A list of daily coverage values. */\r\n timeline?: ArchiveTimelineItemDc[];\r\n /** Check if request success. */\r\n success?: boolean;\r\n}\r\n\r\n/**\r\n * Represents the percentage of time covered by archive records within the corresponding day.\r\n */\r\nexport interface ArchiveTimelineItemDc {\r\n /**\r\n * Corresponding day.\r\n * @format date-time\r\n */\r\n startTime?: string;\r\n /**\r\n * Percentage of time covered by archive record.\r\n * @format int32\r\n */\r\n duration?: number;\r\n}\r\n\r\n/**\r\n * Configuration of an attribute in a feature layer.\r\n */\r\nexport interface AttributeConfigurationDc {\r\n /**\r\n * The name of the attribute.\r\n * @minLength 1\r\n */\r\n attributeName: string;\r\n /** The name of the column in the data table that holds the attribute values. */\r\n columnName?: string;\r\n /** Human-friendly name for the attribute. */\r\n alias?: string;\r\n /** Description for the attribute. */\r\n description?: string;\r\n /**\r\n *\r\n *\r\n * None\r\n *\r\n * Image\r\n *\r\n * PkkCode\r\n *\r\n * Attachments\r\n */\r\n subType?: StringSubType;\r\n /** If set to false, editing of the attribute value will be prohibited. */\r\n isEditable?: boolean;\r\n /** If false, attribute will not be returned in feature query. */\r\n isDisplayed?: boolean;\r\n /**\r\n *\r\n *\r\n * None\r\n *\r\n * Array\r\n *\r\n * Min\r\n *\r\n * Max\r\n *\r\n * Avg\r\n *\r\n * Sum\r\n *\r\n * Extent\r\n *\r\n * H3\r\n *\r\n * Count\r\n *\r\n * TotalCount\r\n *\r\n * DistinctCount\r\n *\r\n * First\r\n *\r\n * Last\r\n *\r\n * Median\r\n *\r\n * Mod\r\n *\r\n * StdDeviation\r\n *\r\n * SumOfProduct\r\n *\r\n * OnlyValue\r\n *\r\n * WeightedAvg\r\n *\r\n * DensityIndicators\r\n *\r\n * DividedSum\r\n */\r\n aggregation?: AggregationFunction;\r\n /** Eql expression. Provides dynamic calculated value of the attribute. */\r\n expression?: string;\r\n /** Sets attribute format settings. */\r\n stringFormat?: AttributeFormatDc;\r\n /** Name of the table. */\r\n tableName?: string;\r\n /** Client data storage. Storage isn't used by server. */\r\n clientData?: any;\r\n /** Id of table given attribute is referenced. */\r\n referenceId?: string;\r\n /** A set of layer references. */\r\n layerReferenceId?: string[];\r\n /**\r\n *\r\n *\r\n * None\r\n *\r\n * SelectFromHandBook\r\n *\r\n * SelectFromRange\r\n *\r\n * ViewHandBook\r\n */\r\n attributeSelectorType?: AttributeSelectorType;\r\n /** Values range. */\r\n ranges?: ValuesRange[];\r\n /** Information about an attribute icon. */\r\n icon?: AttributeIconDc;\r\n}\r\n\r\n/**\r\n * Information about an attribute.\r\n */\r\nexport interface AttributeDefinitionDc {\r\n /**\r\n *\r\n *\r\n * Unknown\r\n *\r\n * String\r\n *\r\n * Int32\r\n *\r\n * Int64\r\n *\r\n * Double\r\n *\r\n * DateTime\r\n *\r\n * Boolean\r\n *\r\n * Point\r\n *\r\n * LineString\r\n *\r\n * Polygon\r\n *\r\n * Multipoint\r\n *\r\n * Polyline\r\n *\r\n * H3Index\r\n *\r\n * Json\r\n *\r\n * MultiPolygon\r\n *\r\n * GeometryCollection\r\n */\r\n type: AttributeType;\r\n /** Alias of the attribute. */\r\n alias?: string;\r\n /** Description of the attribute. */\r\n description?: string;\r\n /**\r\n * If false, the attribute must have non-null value.\r\n * @default false\r\n */\r\n isNullable?: boolean;\r\n /**\r\n * Whether the value of the attribute can be edited after the entry was created.\r\n * @default true\r\n */\r\n isEditable?: boolean;\r\n /**\r\n * If false, attribute will not be returned in feature query.\r\n * @default true\r\n */\r\n isDisplayed?: boolean;\r\n /**\r\n *\r\n *\r\n * None\r\n *\r\n * Image\r\n *\r\n * PkkCode\r\n *\r\n * Attachments\r\n */\r\n subType?: StringSubType;\r\n /** Ensures that the data in the attribute is unique across all rows in a table. */\r\n isUnique?: boolean;\r\n /** Sets true if attribute calculate on the fly. */\r\n isCalculated?: boolean;\r\n /** Provides attributes format definition settings. */\r\n stringFormat?: AttributeFormatDefinitionDc;\r\n /**\r\n * Spatial reference identifier type in geometry type column.\r\n * @format int32\r\n */\r\n srId?: number;\r\n /** Information about an attribute icon. */\r\n icon?: AttributeIconDc;\r\n}\r\n\r\n/**\r\n * Information about an attribute distinct.\r\n */\r\nexport interface AttributeDistinctDc {\r\n /**\r\n * Attribute value.\r\n * @minLength 1\r\n */\r\n value: string;\r\n /**\r\n * Count of this attribute value at table.\r\n * @format int64\r\n */\r\n count: number;\r\n}\r\n\r\n/**\r\n * Information about an attribute distincts.\r\n */\r\nexport interface AttributeDistinctsDc {\r\n /** Attribute distincts. */\r\n distincts: AttributeDistinctDc[];\r\n}\r\n\r\n/**\r\n * Sets attribute format settings.\r\n */\r\nexport interface AttributeFormatDc {\r\n /**\r\n * Sets number scaling factor.\r\n *\r\n *\r\n * In case, source value is 1 000 000 and scaling factor is 0.001 formatted value to be in hundred - 1000.\r\n * @format float\r\n */\r\n scalingFactor?: number;\r\n /** Appends text label to value. */\r\n unitsLabel?: string;\r\n /**\r\n *\r\n *\r\n * Template to format attribute value.\r\n *\r\n *\r\n *\r\n * Format numeric: http://docs.microsoft.com/en-us/dotnet/standard/base-types/custom-numeric-format-strings .\r\n *\r\n *\r\n *\r\n * Format date and time: http://docs.microsoft.com/en-us/dotnet/standard/base-types/custom-date-and-time-format-strings .\r\n *\r\n * <para></para>\r\n * <example>\r\n * `#,#` - Causes value to be split into groups\r\n * ```\r\n * 1234567890 -> 1 234 567 890\r\n * ````.00` - Causes the value to be rounded.\r\n * ```\r\n * 123.446 -> 123.45\r\n * ````#,#.00` - Causes value to be split into groups and rounded.\r\n * ```\r\n * 1234567.4563 - > 1 234 567.46\r\n * ```</example>\r\n */\r\n format?: string;\r\n /**\r\n * Set formatting culture. If not set, default culture is Current.\r\n * Receive formatted value in different culture.\r\n *\r\n *\r\n * Current culture is culture specified by default on machine (en-US, ru-RU).\r\n * Invariant is culture-independent culture.\r\n * Specific cultures: ru-RU, en-US.\r\n * If specific culture has invalid name 400 error returns.\r\n */\r\n culture?: string;\r\n /** Split digit in groups. */\r\n splitDigitGroup?: boolean;\r\n /**\r\n * Rounds digit.\r\n * @format int32\r\n */\r\n rounding?: number;\r\n}\r\n\r\n/**\r\n * Provides attributes format definition settings.\r\n */\r\nexport interface AttributeFormatDefinitionDc {\r\n /**\r\n * Gets number scaling factor.\r\n * @format float\r\n */\r\n scalingFactor?: number;\r\n /** Gets appended value text label. */\r\n unitsLabel?: string;\r\n /** Gets template to format attribute value. */\r\n format?: string;\r\n /** Gets formatting culture. Default current. */\r\n culture?: string;\r\n /** Split digit in groups. */\r\n splitDigitGroup?: boolean;\r\n /**\r\n * Rounds digit.\r\n * @format int32\r\n */\r\n rounding?: number;\r\n}\r\n\r\n/**\r\n * Information about an attribute icon.\r\n */\r\nexport interface AttributeIconDc {\r\n /**\r\n *\r\n *\r\n * Unknown\r\n *\r\n * Icon\r\n *\r\n * PNG\r\n *\r\n * SVG\r\n */\r\n type?: AttributeIconType;\r\n /** Icon name from EverGIS icon library. */\r\n iconName?: string;\r\n /** URL. */\r\n url?: string;\r\n /** Icon resource id. */\r\n resourceId?: string;\r\n}\r\n\r\n/**\r\n* \r\n\r\nUnknown\r\n\r\nIcon\r\n\r\nPNG\r\n\r\nSVG\r\n*/\r\nexport enum AttributeIconType {\r\n Unknown = \"Unknown\",\r\n Icon = \"Icon\",\r\n PNG = \"PNG\",\r\n SVG = \"SVG\",\r\n}\r\n\r\n/**\r\n* \r\n\r\nNone\r\n\r\nSelectFromHandBook\r\n\r\nSelectFromRange\r\n\r\nViewHandBook\r\n*/\r\nexport enum AttributeSelectorType {\r\n None = \"None\",\r\n SelectFromHandBook = \"SelectFromHandBook\",\r\n SelectFromRange = \"SelectFromRange\",\r\n ViewHandBook = \"ViewHandBook\",\r\n}\r\n\r\n/**\r\n* \r\n\r\nUnknown\r\n\r\nString\r\n\r\nInt32\r\n\r\nInt64\r\n\r\nDouble\r\n\r\nDateTime\r\n\r\nBoolean\r\n\r\nPoint\r\n\r\nLineString\r\n\r\nPolygon\r\n\r\nMultipoint\r\n\r\nPolyline\r\n\r\nH3Index\r\n\r\nJson\r\n\r\nMultiPolygon\r\n\r\nGeometryCollection\r\n*/\r\nexport enum AttributeType {\r\n Unknown = \"Unknown\",\r\n String = \"String\",\r\n Int32 = \"Int32\",\r\n Int64 = \"Int64\",\r\n Double = \"Double\",\r\n DateTime = \"DateTime\",\r\n Boolean = \"Boolean\",\r\n Point = \"Point\",\r\n LineString = \"LineString\",\r\n Polygon = \"Polygon\",\r\n Multipoint = \"Multipoint\",\r\n Polyline = \"Polyline\",\r\n H3Index = \"H3Index\",\r\n Json = \"Json\",\r\n MultiPolygon = \"MultiPolygon\",\r\n GeometryCollection = \"GeometryCollection\",\r\n}\r\n\r\n/**\r\n * Configuration of the attribute set in a feature layer.\r\n */\r\nexport interface AttributesConfigurationDc {\r\n /**\r\n * The name of the attribute that is used for identifying features.\r\n * @minLength 1\r\n */\r\n idAttribute: string;\r\n /** The name of the attribute that is used for setting feature name (optional). */\r\n titleAttribute?: string;\r\n /** The name of the attribute that contains the feature geometry. */\r\n geometryAttribute?: string;\r\n /** The name of the table in data source service, that contains the data for this layer. */\r\n tableName?: string;\r\n /** Configuration of the attributes of the layer. */\r\n attributes?: (AttributeConfigurationDc | EqlAttributeConfigurationDc)[];\r\n /** Configuration of layer references. */\r\n layerReferences?: LayerReferenceConfigurationDc[];\r\n /** Values ranges. */\r\n valuesRange?: ValuesRangeDc[];\r\n}\r\n\r\n/**\r\n* \r\n\r\nauthorization_code\r\n\r\nrefresh_token\r\n*/\r\nexport enum AuthorizationGrant {\r\n AuthorizationCode = \"authorization_code\",\r\n RefreshToken = \"refresh_token\",\r\n}\r\n\r\n/**\r\n * Availiable values data contract.\r\n */\r\nexport interface AvailiableValuesDc {\r\n /** Layer name. */\r\n layerName?: string;\r\n /** Dictionary of availiable parameters values. */\r\n values?: Record<string, ValueDc[] | null>;\r\n}\r\n\r\n/**\r\n * Provides resources with their acl.\r\n */\r\nexport interface BatchResourcesAclDc {\r\n /** A set of layers acl. */\r\n layers?: ResourceAclDc[];\r\n /** A set of tables acl. */\r\n tables?: ResourceAclDc[];\r\n /** A set of projects acl. */\r\n projects?: ResourceAclDc[];\r\n}\r\n\r\n/**\r\n * The class describes data contract of bookmark at the map.\r\n */\r\nexport interface BookmarkDc {\r\n /** The title of the bookmark. */\r\n title?: string;\r\n /** The position at the map. */\r\n position?: PositionDc;\r\n /**\r\n * Resolution of the map.\r\n * @format double\r\n */\r\n resolution?: number;\r\n /** Map place preview. */\r\n image?: string;\r\n}\r\n\r\n/**\r\n * Get bulk extents data contract.\r\n */\r\nexport interface BulkExtentsDc {\r\n /** Envelope geometry. */\r\n overall?: EnvelopeDc;\r\n /** Extent per layer. */\r\n extents?: Record<string, EnvelopeDc>;\r\n}\r\n\r\n/**\r\n * Get bulk filtered features count data contract.\r\n */\r\nexport interface BulkFilteredFeaturesCountDc {\r\n /** Extent per layer. */\r\n counts?: Record<string, number>;\r\n}\r\n\r\n/**\r\n * Provides set resources bulk operation status.\r\n */\r\nexport interface BulkOperationResultDc {\r\n /** Name of the resource. */\r\n resourceName?: string;\r\n /** Error while perform operation. */\r\n error?: string;\r\n /** Sets true. */\r\n isSuccess?: boolean;\r\n}\r\n\r\n/**\r\n * Camera item.\r\n */\r\nexport interface CameraDc {\r\n /** Id of the camera. */\r\n id?: string;\r\n /** Name of the camera. */\r\n name?: string;\r\n /** Checks if camera online. */\r\n online?: boolean;\r\n}\r\n\r\n/**\r\n * Cameras list response.\r\n */\r\nexport interface CameraListDc {\r\n /** The retrieved items in the list. */\r\n items?: CameraDc[];\r\n /** Check if request success. */\r\n success?: boolean;\r\n}\r\n\r\n/**\r\n * Catalog configuration data contract.\r\n */\r\nexport interface CatalogConfigurationDc {\r\n /** Configuration id. */\r\n id?: string;\r\n /**\r\n *\r\n *\r\n * Default\r\n *\r\n * DevConfiguration\r\n */\r\n type?: ConfigurationType;\r\n /** Configuration data. */\r\n configuration?: any;\r\n /**\r\n * Updated at.\r\n * @format date-time\r\n */\r\n updatedAt?: string;\r\n}\r\n\r\n/**\r\n * Resource catalog item.\r\n */\r\nexport interface CatalogResourceDc {\r\n /** Resource id. */\r\n resourceId?: string;\r\n /** Resource id. */\r\n targetResourceId?: string;\r\n /** System name. */\r\n systemName?: string;\r\n /** Parent resource id. */\r\n parentId?: string;\r\n /**\r\n *\r\n *\r\n * Directory\r\n *\r\n * Map\r\n *\r\n * Layer\r\n *\r\n * Table\r\n *\r\n * File\r\n *\r\n * TaskPrototype\r\n *\r\n * DataSource\r\n */\r\n type?: CatalogResourceType;\r\n /** Resource subtype. */\r\n subtype?: string;\r\n /** Geometry type. */\r\n geometryType?: string;\r\n /** Path to the resource. */\r\n name?: string;\r\n /** Description of the resource. */\r\n description?: string;\r\n /**\r\n * Resource size.\r\n * @format int64\r\n */\r\n size?: number;\r\n /** Content type. */\r\n contentType?: string;\r\n /** Preview. */\r\n preview?: string;\r\n /** Check if resource is temporary. */\r\n isTemporary?: boolean;\r\n /** Check if resource is system. */\r\n isSystem?: boolean;\r\n /** Check if resource is symlink. */\r\n isSymlink?: boolean;\r\n /** Owner of the resource. */\r\n owner?: string;\r\n /** Resource path. */\r\n path?: string;\r\n /**\r\n * Updated at.\r\n * @format date-time\r\n */\r\n updatedAt?: string;\r\n /**\r\n * Created at.\r\n * @format date-time\r\n */\r\n createdAt?: string;\r\n /** Resource tags. */\r\n tags?: string[];\r\n /**\r\n *\r\n *\r\n * none\r\n *\r\n * configure\r\n *\r\n * write\r\n *\r\n * read\r\n *\r\n * read,configure\r\n *\r\n * read,write\r\n *\r\n * read,write,configure\r\n */\r\n permissions?: Permissions;\r\n /** Table schema. */\r\n schema?: string;\r\n /**\r\n * Spatial reference id. Nothing if geometry type is mixed.\r\n * @format int32\r\n */\r\n srid?: number;\r\n /** True if resource is observable. */\r\n isObservable?: boolean;\r\n /** Resource icon. */\r\n icon?: string;\r\n}\r\n\r\n/**\r\n* \r\n\r\nDirectory\r\n\r\nMap\r\n\r\nLayer\r\n\r\nTable\r\n\r\nFile\r\n\r\nTaskPrototype\r\n\r\nDataSource\r\n*/\r\nexport enum CatalogResourceType {\r\n Directory = \"Directory\",\r\n Map = \"Map\",\r\n Layer = \"Layer\",\r\n Table = \"Table\",\r\n File = \"File\",\r\n TaskPrototype = \"TaskPrototype\",\r\n DataSource = \"DataSource\",\r\n}\r\n\r\n/**\r\n* \r\n\r\nnone\r\n\r\nnaturalBreaks\r\n\r\nequalInterval\r\n\r\nquantile\r\n\r\nunique\r\n\r\nstep\r\n*/\r\nexport enum ClassificationType {\r\n None = \"none\",\r\n NaturalBreaks = \"naturalBreaks\",\r\n EqualInterval = \"equalInterval\",\r\n Quantile = \"quantile\",\r\n Unique = \"unique\",\r\n Step = \"step\",\r\n}\r\n\r\n/**\r\n* \r\n\r\ndecimal\r\n\r\ndateTime\r\n\r\ntext\r\n*/\r\nexport enum ClassifyAttributeType {\r\n Decimal = \"decimal\",\r\n DateTime = \"dateTime\",\r\n Text = \"text\",\r\n}\r\n\r\n/**\r\n * Classification result.\r\n */\r\nexport interface ClassifyDc {\r\n /** Classification result. */\r\n classifyResult: ClassifyResultObject[];\r\n /**\r\n * Type.\r\n * @minLength 1\r\n */\r\n type: string;\r\n}\r\n\r\n/**\r\n * Classification result.\r\n */\r\nexport interface ClassifyResultObject {\r\n /** Value. */\r\n value?: any;\r\n /** Count. */\r\n count?: any;\r\n}\r\n\r\n/**\r\n * Tile geometry clipping configuration data contract.\r\n */\r\nexport interface ClippingInfoDc {\r\n /** Tile geometry clipping configuration information by scale. */\r\n scaleItems?: Record<string, TileGeometryClippingInfoDc>;\r\n}\r\n\r\n/**\r\n * Description of a table column.\r\n */\r\nexport interface ColumnDescriptionDc {\r\n /**\r\n * Column name.\r\n * @minLength 1\r\n */\r\n name: string;\r\n /** Default value, if column is not nullable. */\r\n defaultValue?: any;\r\n /**\r\n *\r\n *\r\n * Unknown\r\n *\r\n * String\r\n *\r\n * Int32\r\n *\r\n * Int64\r\n *\r\n * Double\r\n *\r\n * DateTime\r\n *\r\n * Boolean\r\n *\r\n * Point\r\n *\r\n * LineString\r\n *\r\n * Polygon\r\n *\r\n * Multipoint\r\n *\r\n * Polyline\r\n *\r\n * H3Index\r\n *\r\n * Json\r\n *\r\n * MultiPolygon\r\n *\r\n * GeometryCollection\r\n */\r\n type: AttributeType;\r\n /**\r\n * Columns value max length.\r\n * @format int32\r\n */\r\n maxLength?: number;\r\n /**\r\n * Allows column contains null values.\r\n * @default true\r\n */\r\n isNullable?: boolean;\r\n /**\r\n * Allows column with type Int32 or Int64 be autoincrement (SERIAL, BIGSERIAL).\r\n * @default false\r\n */\r\n autoincrement?: boolean;\r\n /**\r\n * Spatial reference identifier type in geometry type column.\r\n * @format int32\r\n */\r\n srId?: number;\r\n /** Ensures that the data in the column is unique across all rows in a table. */\r\n isUnique?: boolean;\r\n /** If sets true, index will be configured. */\r\n hasIndex?: boolean;\r\n}\r\n\r\n/**\r\n * Get configuration information.\r\n */\r\nexport interface ConfigDc {\r\n /** Gets or sets config description. */\r\n description?: string;\r\n /** Gets or sets config url path. */\r\n urlPath?: string;\r\n}\r\n\r\n/**\r\n* \r\n\r\nUnknown\r\n\r\nSerializeError\r\n\r\nInvalidDataService\r\n\r\nInvalidConfiguration\r\n\r\nInvalidDataServiceName\r\n\r\nInvalidTableName\r\n\r\nInvalidLayerName\r\n\r\nResourceNotFound\r\n\r\nInvalidCondition\r\n\r\nInvalidAttributes\r\n\r\nInvalidIdAttribute\r\n\r\nInvalidGeometryAttribute\r\n\r\nInvalidGeometryAttributeType\r\n\r\nInvalidColumnName\r\n\r\nInvalidIdColumnSettings\r\n\r\nColumnNotExistsInTable\r\n\r\nInvalidStyle\r\n\r\nInvalidLayerType\r\n\r\nColumnLoadingError\r\n\r\nInvalidAttributeFormat\r\n\r\nDataSourceNotFound\r\n\r\nDuplicateColumns\r\n\r\nDuplicateAttributes\r\n\r\nTableWithoutColumns\r\n\r\nInvalidTableReferenceConfiguration\r\n*/\r\nexport enum ConfigurationErrorEnum {\r\n Unknown = \"Unknown\",\r\n SerializeError = \"SerializeError\",\r\n InvalidDataService = \"InvalidDataService\",\r\n InvalidConfiguration = \"InvalidConfiguration\",\r\n InvalidDataServiceName = \"InvalidDataServiceName\",\r\n InvalidTableName = \"InvalidTableName\",\r\n InvalidLayerName = \"InvalidLayerName\",\r\n ResourceNotFound = \"ResourceNotFound\",\r\n InvalidCondition = \"InvalidCondition\",\r\n InvalidAttributes = \"InvalidAttributes\",\r\n InvalidIdAttribute = \"InvalidIdAttribute\",\r\n InvalidGeometryAttribute = \"InvalidGeometryAttribute\",\r\n InvalidGeometryAttributeType = \"InvalidGeometryAttributeType\",\r\n InvalidColumnName = \"InvalidColumnName\",\r\n InvalidIdColumnSettings = \"InvalidIdColumnSettings\",\r\n ColumnNotExistsInTable = \"ColumnNotExistsInTable\",\r\n InvalidStyle = \"InvalidStyle\",\r\n InvalidLayerType = \"InvalidLayerType\",\r\n ColumnLoadingError = \"ColumnLoadingError\",\r\n InvalidAttributeFormat = \"InvalidAttributeFormat\",\r\n DataSourceNotFound = \"DataSourceNotFound\",\r\n DuplicateColumns = \"DuplicateColumns\",\r\n DuplicateAttributes = \"DuplicateAttributes\",\r\n TableWithoutColumns = \"TableWithoutColumns\",\r\n InvalidTableReferenceConfiguration = \"InvalidTableReferenceConfiguration\",\r\n}\r\n\r\n/**\r\n* \r\n\r\nDefault\r\n\r\nDevConfiguration\r\n*/\r\nexport enum ConfigurationType {\r\n Default = \"Default\",\r\n DevConfiguration = \"DevConfiguration\",\r\n}\r\n\r\n/**\r\n* \r\n\r\nSkip\r\n\r\nOverwrite\r\n\r\nGenerateUnique\r\n\r\nThrowError\r\n*/\r\nexport enum ConflictResolutionStrategy {\r\n Skip = \"Skip\",\r\n Overwrite = \"Overwrite\",\r\n GenerateUnique = \"GenerateUnique\",\r\n ThrowError = \"ThrowError\",\r\n}\r\n\r\n/**\r\n * Describes resource to copy.\r\n */\r\nexport interface CopyResourceDc {\r\n /**\r\n * Name of resource to copy.\r\n * @minLength 1\r\n */\r\n name: string;\r\n /**\r\n *\r\n *\r\n * Unknown\r\n *\r\n * table\r\n *\r\n * layer\r\n *\r\n * project\r\n *\r\n * file\r\n *\r\n * feature\r\n *\r\n * tag\r\n *\r\n * datasource\r\n */\r\n type: ResourceType;\r\n /**\r\n * Resource copy name.\r\n * @minLength 1\r\n */\r\n copyName: string;\r\n /**\r\n * Resource copy alias.\r\n * @minLength 1\r\n */\r\n copyAlias: string;\r\n /** Resource copy description. */\r\n copyDescription?: string;\r\n /** Resource's dependencies to copy with. */\r\n copyWith?: string[];\r\n}\r\n\r\n/**\r\n * Describes copy operation result data contract.\r\n */\r\nexport interface CopyResourceResultDc {\r\n /**\r\n * Name of the resource.\r\n * @minLength 1\r\n */\r\n name: string;\r\n /**\r\n *\r\n *\r\n * Unknown\r\n *\r\n * table\r\n *\r\n * layer\r\n *\r\n * project\r\n *\r\n * file\r\n *\r\n * feature\r\n *\r\n * tag\r\n *\r\n * datasource\r\n */\r\n type: ResourceType;\r\n /** Name of resource to copy. */\r\n copyName?: string;\r\n /** Sets true if copy operation success. */\r\n isSuccess?: boolean;\r\n /** Copied resources. */\r\n copiedResources?: string[];\r\n /** Resource error details. */\r\n errorDetails?: ErrorDetailsDc;\r\n}\r\n\r\n/**\r\n * Create directory request.\r\n */\r\nexport interface CreateDirectoryDc {\r\n /** Parent resource id. */\r\n parentId?: string;\r\n /** Path to the directory. */\r\n name?: string;\r\n /** Owner. */\r\n owner?: string;\r\n /** Description of the directory. */\r\n description?: string;\r\n /** A set of tags. */\r\n tags?: string[];\r\n /** If true root folder will create as temporary. */\r\n isTemporary?: boolean;\r\n /** Resource icon. */\r\n icon?: string;\r\n /** Rewrite if exists. */\r\n rewrite?: boolean;\r\n}\r\n\r\n/**\r\n * Data contract for create new role.\r\n */\r\nexport interface CreateRoleDc {\r\n /**\r\n * Role name.\r\n * @minLength 1\r\n */\r\n name: string;\r\n /** Description. */\r\n description?: string;\r\n /** Alias. */\r\n alias?: string;\r\n}\r\n\r\n/**\r\n * Symbol category data contract.\r\n */\r\nexport interface CreateSymbolCategoryDc {\r\n /** Name. */\r\n name?: string;\r\n /**\r\n * Parent category id.\r\n * @format int32\r\n */\r\n parentId?: number;\r\n}\r\n\r\n/**\r\n * Symbols.\r\n */\r\nexport interface CreateSymbolDc {\r\n /** Symbol name. */\r\n name?: string;\r\n /** Symbol type. */\r\n type?: string;\r\n /** Symbol geometry type. */\r\n geometryType?: string;\r\n /** Is substrate symbol. */\r\n form?: boolean;\r\n /** Symbol data. */\r\n data?: string;\r\n /**\r\n * Symbol category id.\r\n * @format int32\r\n */\r\n categoryId?: number;\r\n}\r\n\r\n/**\r\n * Create symlink.\r\n */\r\nexport interface CreateSymlinkDc {\r\n /** Symlink name. */\r\n name: string;\r\n /** System name. */\r\n systemName?: string;\r\n /** Target resource. */\r\n targetResourceId: string;\r\n /** Description of the file. */\r\n description?: string;\r\n /** Parent resource id. */\r\n parentId?: string;\r\n /** A set of tags. */\r\n tags?: string[];\r\n}\r\n\r\n/**\r\n * Data contract for create new user.\r\n */\r\nexport interface CreateUserDc {\r\n /** Whether to open the last used project when opening a client. */\r\n is_open_last_project?: boolean;\r\n /** Is active. */\r\n is_active?: boolean;\r\n /** Is active. */\r\n is_email_confirmed?: boolean;\r\n /** Namespace. */\r\n namespace?: string;\r\n /** Emoji. */\r\n emoji?: string;\r\n /** Username. */\r\n username?: string;\r\n /**\r\n * Email.\r\n * @format email\r\n */\r\n email?: string;\r\n /** Phone number. */\r\n phone?: string;\r\n /** Password. */\r\n password?: string;\r\n /** First name. */\r\n first_name?: string;\r\n /** Last name. */\r\n last_name?: string;\r\n /** Patronymic. */\r\n patronymic?: string;\r\n /** Gets or sets company. */\r\n company?: string;\r\n /** Has newsletter subscription. */\r\n is_subscribed?: boolean;\r\n}\r\n\r\n/**\r\n * Create view from query layer data contract.\r\n */\r\nexport interface CreateViewFromQueryDc {\r\n /** Is view materialized. */\r\n isMaterialized?: boolean;\r\n /** Recreate view if exists. */\r\n override?: boolean;\r\n /** Layer name. */\r\n eql?: string;\r\n /** View name. */\r\n viewName?: string;\r\n /** EQL query parameters. */\r\n parameters?: Record<string, any>;\r\n}\r\n\r\n/**\r\n * Create view from query layer data contract.\r\n */\r\nexport interface CreateViewFromQueryLayerDc {\r\n /** Is view materialized. */\r\n isMaterialized?: boolean;\r\n /** Recreate view if exists. */\r\n override?: boolean;\r\n /** Layer name. */\r\n layerName?: string;\r\n /** View name. */\r\n viewName?: string;\r\n /** Layer condition. */\r\n layerCondition?: string;\r\n}\r\n\r\n/**\r\n * Created task result.\r\n */\r\nexport interface CreatedTaskResultDto {\r\n /**\r\n * Id.\r\n * @format uuid\r\n */\r\n id?: string;\r\n /** Success flag. */\r\n success?: boolean;\r\n}\r\n\r\n/**\r\n* \r\n\r\nJson\r\n\r\nCsv\r\n\r\nOrc\r\n\r\nParquet\r\n\r\nJdbc\r\n*/\r\nexport enum DataSourceConnectionType {\r\n Json = \"Json\",\r\n Csv = \"Csv\",\r\n Orc = \"Orc\",\r\n Parquet = \"Parquet\",\r\n Jdbc = \"Jdbc\",\r\n}\r\n\r\n/**\r\n * Data source data contract.\r\n */\r\nexport interface DataSourceDc {\r\n /** Parent id. */\r\n parentId?: string;\r\n /** Login of the owner. */\r\n owner?: string;\r\n /** Access control list for a security object. */\r\n acl?: AccessControlListDc;\r\n /** Name. */\r\n name?: string;\r\n /** Alias. */\r\n alias?: string;\r\n /** Description. */\r\n description?: string;\r\n /**\r\n *\r\n *\r\n * Postgres\r\n *\r\n * Trino\r\n *\r\n * S3\r\n *\r\n * GisServer\r\n *\r\n * Spark\r\n *\r\n * Archive\r\n */\r\n type?: DataSourceType;\r\n /** Tags. */\r\n tags?: string[];\r\n}\r\n\r\n/**\r\n * Data source info.\r\n */\r\nexport interface DataSourceInfoDc {\r\n /** Name. */\r\n name?: string;\r\n /** Alias. */\r\n alias?: string;\r\n /** Description. */\r\n description?: string;\r\n /**\r\n *\r\n *\r\n * Postgres\r\n *\r\n * Trino\r\n *\r\n * S3\r\n *\r\n * GisServer\r\n *\r\n * Spark\r\n *\r\n * Archive\r\n */\r\n type?: DataSourceType;\r\n /** Tags. */\r\n tags?: string[];\r\n /** Parent id. */\r\n parentId?: string;\r\n /** Resource id. */\r\n resourceId?: string;\r\n /**\r\n * Date and time when the remote connection was created.\r\n * @format date-time\r\n */\r\n created?: string;\r\n /**\r\n * Date and time when the remote connection was last modified.\r\n * @format date-time\r\n */\r\n modified?: string;\r\n /** Login of the owner. */\r\n owner?: string;\r\n /** Access control list for a security object. */\r\n acl?: AccessControlListDc;\r\n}\r\n\r\n/**\r\n* \r\n\r\nPostgres\r\n\r\nTrino\r\n\r\nS3\r\n\r\nGisServer\r\n\r\nSpark\r\n\r\nArchive\r\n*/\r\nexport enum DataSourceType {\r\n Postgres = \"Postgres\",\r\n Trino = \"Trino\",\r\n S3 = \"S3\",\r\n GisServer = \"GisServer\",\r\n Spark = \"Spark\",\r\n Archive = \"Archive\",\r\n}\r\n\r\n/**\r\n * Configuration of a table for feature layer.\r\n */\r\nexport type DefaultTableConfigurationDc = TableConfigurationBaseDc & {\r\n type?: string | null;\r\n /** Schema name. */\r\n schemaName?: string | null;\r\n /** Table name. */\r\n tableName?: string | null;\r\n /** Remote data provider name. */\r\n dataProvider?: string | null;\r\n};\r\n\r\n/**\r\n * Dependent resource description.\r\n */\r\nexport interface DependentResourceDc {\r\n /**\r\n * Name of resource.\r\n * @minLength 1\r\n */\r\n name: string;\r\n /**\r\n * Type of resource.\r\n * @minLength 1\r\n */\r\n type: string;\r\n}\r\n\r\n/**\r\n * Table description with columns and access control list.\r\n */\r\nexport type DetailedTableInfoDc = TableInfoDc & {\r\n /** Description of table columns. */\r\n columns?: ColumnDescriptionDc[] | null;\r\n};\r\n\r\n/**\r\n * Provides attributes edit info.\r\n */\r\nexport interface EditAttributesInfoDc {\r\n /** A set of features ids. */\r\n ids: ObjectId[];\r\n /**\r\n * Attribute name to edit.\r\n * @minLength 1\r\n */\r\n attribute: string;\r\n /**\r\n * Expression to edit.\r\n * @minLength 1\r\n */\r\n editExpression: string;\r\n}\r\n\r\n/**\r\n * Envelope geometry.\r\n */\r\nexport type EnvelopeDc = GeometryDc & {\r\n /** Coordinates of the envelope. Always has exactly 2 points: left bottom and right top. */\r\n coordinates: PositionDc[];\r\n /**\r\n *\r\n *\r\n * unknown\r\n *\r\n * point\r\n *\r\n * polyline\r\n *\r\n * polygon\r\n *\r\n * envelope\r\n *\r\n * multipoint\r\n *\r\n * line\r\n *\r\n * ring\r\n *\r\n * multipolygon\r\n *\r\n * collection\r\n */\r\n type?: GeometryType;\r\n};\r\n\r\n/**\r\n * Configuration of an attribute in a feature layer.\r\n */\r\nexport type EqlAttributeConfigurationDc = AttributeConfigurationDc & {\r\n /**\r\n *\r\n *\r\n * Unknown\r\n *\r\n * String\r\n *\r\n * Int32\r\n *\r\n * Int64\r\n *\r\n * Double\r\n *\r\n * DateTime\r\n *\r\n * Boolean\r\n *\r\n * Point\r\n *\r\n * LineString\r\n *\r\n * Polygon\r\n *\r\n * Multipoint\r\n *\r\n * Polyline\r\n *\r\n * H3Index\r\n *\r\n * Json\r\n *\r\n * MultiPolygon\r\n *\r\n * GeometryCollection\r\n */\r\n type?: AttributeType;\r\n};\r\n\r\n/**\r\n * Configuration of the attribute set in a feature layer.\r\n */\r\nexport type EqlAttributesConfigurationDc = AttributesConfigurationDc & {\r\n /** Configuration of the attributes of the layer. */\r\n attributes?: EqlAttributeConfigurationDc[] | null;\r\n};\r\n\r\n/**\r\n * CTE dependency.\r\n */\r\nexport interface EqlCteDependencyDc {\r\n /** Name. */\r\n name?: string;\r\n /** Tables dependencies. */\r\n tables?: EqlTableDependencyDc[];\r\n}\r\n\r\n/**\r\n * EQL dependencies.\r\n */\r\nexport interface EqlDependenciesDc {\r\n /** Tables dependencies. */\r\n tables?: EqlTableDependencyDc[];\r\n /** CTE dependencies. */\r\n ctes?: EqlCteDependencyDc[];\r\n}\r\n\r\n/**\r\n * EQL requst data contract.\r\n */\r\nexport interface EqlRequestDc {\r\n /** Data source name. */\r\n ds?: string;\r\n /** Additional data source connection. */\r\n additionalDsConnections?: AdditionalDataSourceConnectionDc[];\r\n /**\r\n * EQL query string.\r\n * @minLength 1\r\n */\r\n query: string;\r\n /** Geometry field name. */\r\n geometryField?: string;\r\n /** Id field name. */\r\n idField?: string;\r\n /**\r\n * Offset.\r\n * @format int32\r\n */\r\n offset?: number;\r\n /**\r\n * Limit.\r\n * @format int32\r\n */\r\n limit?: number;\r\n /** With geometry. */\r\n withgeom?: boolean;\r\n /** Columns. */\r\n columns?: Record<string, string | null>;\r\n /** EQL query parameters. */\r\n parameters?: Record<string, any>;\r\n}\r\n\r\n/**\r\n * Table dependency data contract.\r\n */\r\nexport interface EqlTableDependencyDc {\r\n /** Schema. */\r\n schema?: string;\r\n /** Name. */\r\n name?: string;\r\n /** Alias. */\r\n alias?: string;\r\n}\r\n\r\n/**\r\n * Resource error details.\r\n */\r\nexport interface ErrorDetailsDc {\r\n /**\r\n * Type of the error.\r\n *\r\n * ResourceLimitExceeded\r\n *\r\n * ResourceNotFound\r\n *\r\n * InternalError\r\n *\r\n * BadRequest\r\n *\r\n * DuplicateContent\r\n */\r\n errorType?: ErrorDetailsType;\r\n /** Error message. */\r\n message?: string;\r\n /**\r\n * Copy resource status code.\r\n * @format int32\r\n */\r\n statusCode?: number;\r\n}\r\n\r\n/**\r\n* Type of the error.\r\n\r\nResourceLimitExceeded\r\n\r\nResourceNotFound\r\n\r\nInternalError\r\n\r\nBadRequest\r\n\r\nDuplicateContent\r\n*/\r\nexport enum ErrorDetailsType {\r\n ResourceLimitExceeded = \"ResourceLimitExceeded\",\r\n ResourceNotFound = \"ResourceNotFound\",\r\n InternalError = \"InternalError\",\r\n BadRequest = \"BadRequest\",\r\n DuplicateContent = \"DuplicateContent\",\r\n}\r\n\r\nexport enum ErrorType {\r\n NotSpecified = \"NotSpecified\",\r\n LimitError = \"LimitError\",\r\n ValidationError = \"ValidationError\",\r\n JwtExpired = \"JwtExpired\",\r\n TokenInvalid = \"TokenInvalid\",\r\n RefreshTokenExpired = \"RefreshTokenExpired\",\r\n RefreshTokenInvalid = \"RefreshTokenInvalid\",\r\n CreateUserFailed = \"CreateUserFailed\",\r\n SetUserPasswordFailed = \"SetUserPasswordFailed\",\r\n SetUserRoleFailed = \"SetUserRoleFailed\",\r\n UpdateUserFailed = \"UpdateUserFailed\",\r\n RemoveUserFailed = \"RemoveUserFailed\",\r\n CreateRoleFailed = \"CreateRoleFailed\",\r\n UpdateRoleFailed = \"UpdateRoleFailed\",\r\n RemoveUserRoleFailed = \"RemoveUserRoleFailed\",\r\n ChangeActiveStateFailed = \"ChangeActiveStateFailed\",\r\n RemoveRoleFailed = \"RemoveRoleFailed\",\r\n UserNotFound = \"UserNotFound\",\r\n RoleNotFound = \"RoleNotFound\",\r\n EmailNotConfirmed = \"EmailNotConfirmed\",\r\n DuplicateEmailError = \"DuplicateEmailError\",\r\n InvalidPassword = \"InvalidPassword\",\r\n RoleExists = \"RoleExists\",\r\n UserExists = \"UserExists\",\r\n UserLockedError = \"UserLockedError\",\r\n InvalidEmail = \"InvalidEmail\",\r\n InvalidUsername = \"InvalidUsername\",\r\n Unauthorized = \"Unauthorized\",\r\n EmailNotChanged = \"EmailNotChanged\",\r\n EmailNotSet = \"EmailNotSet\",\r\n}\r\n\r\n/**\r\n * Result of the eql expression validation.\r\n */\r\nexport interface ExpressionValidationResultDc {\r\n /** True if the expression is valid and can be executed on the given layer. */\r\n isValid?: boolean;\r\n /** If not valid, this field will contain the list of errors in the expression. */\r\n errors?: string[];\r\n /**\r\n *\r\n *\r\n * Unknown\r\n *\r\n * String\r\n *\r\n * Int32\r\n *\r\n * Int64\r\n *\r\n * Double\r\n *\r\n * DateTime\r\n *\r\n * Boolean\r\n *\r\n * Point\r\n *\r\n * LineString\r\n *\r\n * Polygon\r\n *\r\n * Multipoint\r\n *\r\n * Polyline\r\n *\r\n * H3Index\r\n *\r\n * Json\r\n *\r\n * MultiPolygon\r\n *\r\n * GeometryCollection\r\n */\r\n returnType?: AttributeType;\r\n /** The expression that was validated. */\r\n expression?: string;\r\n}\r\n\r\n/**\r\n * Project extended configuration data contract.\r\n */\r\nexport type ExtendedProjectInfoDc = ProjectInfoDc & {\r\n /** Project content configuration data contract. */\r\n content: ProjectConfigurationDc;\r\n};\r\n\r\n/**\r\n * SPCore.Connectors.Connectors.Base.Models.Projects.ExtendedProjectLayersInfo provides extended project info with included layers info.\r\n */\r\nexport interface ExtendedProjectLayersInfo {\r\n /** Project extended configuration data contract. */\r\n projectInfo?: ExtendedProjectInfoDc;\r\n /** A collection of layers info. */\r\n layersInfo?: ServiceListItemDc[];\r\n}\r\n\r\n/**\r\n * Extended user information.\r\n */\r\nexport interface ExtendedUserInfoDc {\r\n /**\r\n * Primary key.\r\n * @format int32\r\n */\r\n pk?: number;\r\n /** Is password set. */\r\n is_password_set?: boolean;\r\n /** Is email confirmed. */\r\n is_email_confirmed?: boolean;\r\n /** Location. */\r\n location?: string;\r\n /** Company. */\r\n company?: string;\r\n /** Position. */\r\n position?: string;\r\n /**\r\n * Gets or sets date and time of creation.\r\n * @format date-time\r\n */\r\n dtCreate?: string;\r\n /**\r\n * Gets or sets date and time of last modifing.\r\n * @format date-time\r\n */\r\n dtModify?: string;\r\n /**\r\n * Gets or sets date and time of last log in.\r\n * @format date-time\r\n */\r\n dtLastLogin?: string;\r\n /**\r\n * Gets or sets id of modified user.\r\n * @format int32\r\n */\r\n idModifyUser?: number;\r\n /** Gets or sets emoji. */\r\n emoji?: string;\r\n /** Information about connected social networks. */\r\n social?: SocialNetworkInfoDc[];\r\n /** Username. */\r\n username?: string;\r\n /** First name. */\r\n first_name?: string;\r\n /** Last name. */\r\n last_name?: string;\r\n /** Patronymic. */\r\n patronymic?: string;\r\n /** Email. */\r\n email?: string;\r\n /** Phone number. */\r\n phone?: string;\r\n /** Namespace. */\r\n namespace?: string;\r\n /** Photo. */\r\n has_profile_photo?: boolean;\r\n /** Whether to open the last used project when opening a client. */\r\n is_open_last_project?: boolean;\r\n /** Has newsletter subscription. */\r\n is_subscribed?: boolean;\r\n /** If the user account is active or not. */\r\n is_active?: boolean;\r\n /** The roles of the user. */\r\n roles?: string[];\r\n}\r\n\r\n/**\r\n * External layer information.\r\n */\r\nexport interface ExternalLayerInfoDc {\r\n /** Name. */\r\n name?: string;\r\n /** Title. */\r\n title?: string;\r\n /** Abstract. */\r\n abstract?: string;\r\n /** Child layers. */\r\n layer?: ExternalLayerInfoDc[];\r\n}\r\n\r\n/**\r\n * The `FailedServiceInfoDc` describes Everpoint.Sdk.Layers.Abstractions.Models.FailedServiceInfo data contact.\r\n */\r\nexport interface FailedServiceInfoDc {\r\n /**\r\n *\r\n *\r\n * Unknown\r\n *\r\n * SerializeError\r\n *\r\n * InvalidDataService\r\n *\r\n * InvalidConfiguration\r\n *\r\n * InvalidDataServiceName\r\n *\r\n * InvalidTableName\r\n *\r\n * InvalidLayerName\r\n *\r\n * ResourceNotFound\r\n *\r\n * InvalidCondition\r\n *\r\n * InvalidAttributes\r\n *\r\n * InvalidIdAttribute\r\n *\r\n * InvalidGeometryAttribute\r\n *\r\n * InvalidGeometryAttributeType\r\n *\r\n * InvalidColumnName\r\n *\r\n * InvalidIdColumnSettings\r\n *\r\n * ColumnNotExistsInTable\r\n *\r\n * InvalidStyle\r\n *\r\n * InvalidLayerType\r\n *\r\n * ColumnLoadingError\r\n *\r\n * InvalidAttributeFormat\r\n *\r\n * DataSourceNotFound\r\n *\r\n * DuplicateColumns\r\n *\r\n * DuplicateAttributes\r\n *\r\n * TableWithoutColumns\r\n *\r\n * InvalidTableReferenceConfiguration\r\n */\r\n errorType?: ConfigurationErrorEnum;\r\n /**\r\n * The type of the resource.\r\n * @minLength 1\r\n */\r\n type: string;\r\n /**\r\n * Minimum resolution that this service will be rendered on. If no resolution limits are set for the top-level\r\n * style of the service, or if no such property is available for this type of the service, 0 is returned.\r\n * @format double\r\n */\r\n minResolution?: number;\r\n /**\r\n * Maximum resolution that this service will be rendered on. If no resolution limits are set for the top-level\r\n * style of the service, or if no such property is available for this type of the service, 0 is returned.\r\n * @format double\r\n */\r\n maxResolution?: number;\r\n /**\r\n * Filtering condition for the objects in the service. If no condition set or if no such property is available\r\n * for the given service type, null is returned.\r\n */\r\n condition?: string;\r\n /**\r\n *\r\n *\r\n * unknown\r\n *\r\n * point\r\n *\r\n * polyline\r\n *\r\n * polygon\r\n *\r\n * envelope\r\n *\r\n * multipoint\r\n *\r\n * line\r\n *\r\n * ring\r\n *\r\n * multipolygon\r\n *\r\n * collection\r\n */\r\n geometryType: GeometryType;\r\n /**\r\n * Number of objects in the layer. If the count cannot be calculated or the layer does not contain objects,\r\n * 0 is returned.\r\n * @format int32\r\n */\r\n objectCount?: number;\r\n /** The category of the service. */\r\n categories?: string[];\r\n /** Configuration of the service. */\r\n configuration?:\r\n | LinearServiceConfigurationDc\r\n | PbfServiceConfigurationDc\r\n | PostgresTileCatalogServiceConfigurationDc\r\n | ProxyServiceConfigurationDc\r\n | PythonServiceConfigurationDc\r\n | QueryLayerServiceConfigurationDc\r\n | RemoteTileServiceConfigurationDc\r\n | RouteServiceConfigurationDc;\r\n /**\r\n * Name of the resource including its namespaces (names of the service managers that contain this service).\r\n * @minLength 1\r\n */\r\n name: string;\r\n /** Resource alias. */\r\n alias?: string;\r\n /** Resource owner. */\r\n owner?: string;\r\n /** Resource description. */\r\n description?: string;\r\n /**\r\n * The date when resource was created.\r\n * @format date-time\r\n */\r\n createdDate?: string;\r\n /**\r\n * The date when resource was last modified.\r\n * @format date-time\r\n */\r\n changedDate?: string;\r\n /**\r\n *\r\n *\r\n * none\r\n *\r\n * configure\r\n *\r\n * write\r\n *\r\n * read\r\n *\r\n * read,configure\r\n *\r\n * read,write\r\n *\r\n * read,write,configure\r\n */\r\n permissions?: Permissions;\r\n /** Access control list for a security object. */\r\n acl?: AccessControlListDc;\r\n /**\r\n * Base64 encoded image - icon of the resource. Usually shown next to the resource name in lists and legends.\r\n * @minLength 0\r\n * @maxLength 102400\r\n */\r\n icon?: string;\r\n /** Is set true resource is not visible in catalog. Can be changed only by owner or user with admin access. */\r\n invisibleInCatalog?: boolean;\r\n /** Parent id in resources catalog. */\r\n parentId?: string;\r\n /** Resource id in resources catalog. */\r\n resourceId?: string;\r\n /** Resource tags. */\r\n tags?: string[];\r\n}\r\n\r\n/**\r\n * Feature object definition.\r\n */\r\nexport interface FeatureDc {\r\n /** Feature geometry definition. */\r\n geometry?:\r\n | EnvelopeDc\r\n | GeometryCollectionDc\r\n | LineStringDc\r\n | MultiPointDc\r\n | MultiPolygonDc\r\n | PointDc\r\n | PolygonDc\r\n | PolylineDc;\r\n /** Feature attributes collection. */\r\n attributes: Record<string, any>;\r\n /** Feature unique identifier. */\r\n id?: string;\r\n /** Values for all bands of feature by pixel point. */\r\n bandsValues?: Record<string, number>;\r\n}\r\n\r\n/**\r\n * Service info for a feature layer service.\r\n */\r\nexport interface FeatureLayerServiceInfoDc {\r\n /** Information about the layer attributes and their configuration. */\r\n layerDefinition: LayerDefinitionDc;\r\n /** Provides data source type. */\r\n dataSourceType?: string;\r\n /** Copyright text. */\r\n copyrightText?: string;\r\n /** Client data storage. Storage isn't used by server. */\r\n clientData?: any;\r\n /** Client style data storage. Storage isn't used by server. */\r\n clientStyle?: any;\r\n /** Card configuration. Storage isn't used by server. */\r\n cardConfiguration?: any;\r\n /**\r\n * The type of the resource.\r\n * @minLength 1\r\n */\r\n type: string;\r\n /**\r\n * Minimum resolution that this service will be rendered on. If no resolution limits are set for the top-level\r\n * style of the service, or if no such property is available for this type of the service, 0 is returned.\r\n * @format double\r\n */\r\n minResolution?: number;\r\n /**\r\n * Maximum resolution that this service will be rendered on. If no resolution limits are set for the top-level\r\n * style of the service, or if no such property is available for this type of the service, 0 is returned.\r\n * @format double\r\n */\r\n maxResolution?: number;\r\n /**\r\n * Filtering condition for the objects in the service. If no condition set or if no such property is available\r\n * for the given service type, null is returned.\r\n */\r\n condition?: string;\r\n /**\r\n *\r\n *\r\n * unknown\r\n *\r\n * point\r\n *\r\n * polyline\r\n *\r\n * polygon\r\n *\r\n * envelope\r\n *\r\n * multipoint\r\n *\r\n * line\r\n *\r\n * ring\r\n *\r\n * multipolygon\r\n *\r\n * collection\r\n */\r\n geometryType: GeometryType;\r\n /**\r\n * Number of objects in the layer. If the count cannot be calculated or the layer does not contain objects,\r\n * 0 is returned.\r\n * @format int32\r\n */\r\n objectCount?: number;\r\n /** The category of the service. */\r\n categories?: string[];\r\n /** Configuration of the service. */\r\n configuration?:\r\n | LinearServiceConfigurationDc\r\n | PbfServiceConfigurationDc\r\n | PostgresTileCatalogServiceConfigurationDc\r\n | ProxyServiceConfigurationDc\r\n | PythonServiceConfigurationDc\r\n | QueryLayerServiceConfigurationDc\r\n | RemoteTileServiceConfigurationDc\r\n | RouteServiceConfigurationDc;\r\n /**\r\n * Name of the resource including its namespaces (names of the service managers that contain this service).\r\n * @minLength 1\r\n */\r\n name: string;\r\n /** Resource alias. */\r\n alias?: string;\r\n /** Resource owner. */\r\n owner?: string;\r\n /** Resource description. */\r\n description?: string;\r\n /**\r\n * The date when resource was created.\r\n * @format date-time\r\n */\r\n createdDate?: string;\r\n /**\r\n * The date when resource was last modified.\r\n * @format date-time\r\n */\r\n changedDate?: string;\r\n /**\r\n *\r\n *\r\n * none\r\n *\r\n * configure\r\n *\r\n * write\r\n *\r\n * read\r\n *\r\n * read,configure\r\n *\r\n * read,write\r\n *\r\n * read,write,configure\r\n */\r\n permissions?: Permissions;\r\n /** Access control list for a security object. */\r\n acl?: AccessControlListDc;\r\n /**\r\n * Base64 encoded image - icon of the resource. Usually shown next to the resource name in lists and legends.\r\n * @minLength 0\r\n * @maxLength 102400\r\n */\r\n icon?: string;\r\n /** Is set true resource is not visible in catalog. Can be changed only by owner or user with admin access. */\r\n invisibleInCatalog?: boolean;\r\n /** Parent id in resources catalog. */\r\n parentId?: string;\r\n /** Resource id in resources catalog. */\r\n resourceId?: string;\r\n /** Resource tags. */\r\n tags?: string[];\r\n}\r\n\r\n/**\r\n * The result of uploading a file.\r\n */\r\nexport interface FileUploadResponse {\r\n /** Resource id. */\r\n resourceId?: string;\r\n /** Id of the tile in the session static storage. */\r\n fileId?: string;\r\n /** Id of the file source. */\r\n sourceId?: string;\r\n /** Url to file. */\r\n url?: string;\r\n}\r\n\r\n/**\r\n * Provides filter data contract.\r\n */\r\nexport interface FilterDc {\r\n /**\r\n * Filter string to save.\r\n * @deprecated\r\n */\r\n filterString?: string;\r\n /** Filter conditions. */\r\n conditions?: string[];\r\n /** Query parameters. */\r\n parameters?: Record<string, any>;\r\n /** Filter query geometries. */\r\n geometries?: QueryGeometryDc[];\r\n}\r\n\r\n/**\r\n * Server response for the creation of a filter in filter service.\r\n */\r\nexport interface FilterResponseDc {\r\n /** Id of the filter. */\r\n id?: string;\r\n}\r\n\r\n/**\r\n * Geocode result.\r\n */\r\nexport interface GeocodeResultDc {\r\n /**\r\n * Input geocode address.\r\n * @minLength 1\r\n */\r\n address: string;\r\n /** Source. */\r\n source?: string;\r\n /**\r\n * Result score point.\r\n * @format double\r\n */\r\n score?: number;\r\n /** The position at the map. */\r\n center?: PositionDc;\r\n /** Result geometry. */\r\n geometry?:\r\n | EnvelopeDc\r\n | GeometryCollectionDc\r\n | LineStringDc\r\n | MultiPointDc\r\n | MultiPolygonDc\r\n | PointDc\r\n | PolygonDc\r\n | PolylineDc;\r\n}\r\n\r\n/**\r\n * Geocode suggest result.\r\n */\r\nexport interface GeocodeSuggestResultDc {\r\n /** Suggested text. */\r\n text?: string;\r\n /** Source label. */\r\n label?: string;\r\n /** Source id. */\r\n id?: string;\r\n}\r\n\r\n/**\r\n * Multipoint geometry object definition.\r\n */\r\nexport type GeometryCollectionDc = GeometryDc & {\r\n /** Multipoint coordinates. */\r\n geometries: (\r\n | EnvelopeDc\r\n | GeometryCollectionDc\r\n | LineStringDc\r\n | MultiPointDc\r\n | MultiPolygonDc\r\n | PointDc\r\n | PolygonDc\r\n | PolylineDc\r\n )[];\r\n /**\r\n *\r\n *\r\n * unknown\r\n *\r\n * point\r\n *\r\n * polyline\r\n *\r\n * polygon\r\n *\r\n * envelope\r\n *\r\n * multipoint\r\n *\r\n * line\r\n *\r\n * ring\r\n *\r\n * multipolygon\r\n *\r\n * collection\r\n */\r\n type?: GeometryType;\r\n};\r\n\r\n/**\r\n * Geometry data contract.\r\n */\r\nexport interface GeometryDc {\r\n /**\r\n *\r\n *\r\n * unknown\r\n *\r\n * point\r\n *\r\n * polyline\r\n *\r\n * polygon\r\n *\r\n * envelope\r\n *\r\n * multipoint\r\n *\r\n * line\r\n *\r\n * ring\r\n *\r\n * multipolygon\r\n *\r\n * collection\r\n */\r\n type: GeometryType;\r\n /**\r\n * Spatial reference id.\r\n * @format int32\r\n */\r\n srId?: number;\r\n}\r\n\r\n/**\r\n* \r\n\r\nunknown\r\n\r\npoint\r\n\r\npolyline\r\n\r\npolygon\r\n\r\nenvelope\r\n\r\nmultipoint\r\n\r\nline\r\n\r\nring\r\n\r\nmultipolygon\r\n\r\ncollection\r\n*/\r\nexport enum GeometryType {\r\n Unknown = \"unknown\",\r\n Point = \"point\",\r\n Polyline = \"polyline\",\r\n Polygon = \"polygon\",\r\n Envelope = \"envelope\",\r\n Multipoint = \"multipoint\",\r\n LineString = \"line\",\r\n LinearRing = \"ring\",\r\n MultiPolygon = \"multipolygon\",\r\n GeometryCollection = \"collection\",\r\n}\r\n\r\n/**\r\n * Get extent from layer paramaters.\r\n */\r\nexport interface GetBulkExtentsDc {\r\n /** Full name of the layer. */\r\n layerName?: string;\r\n /**\r\n * If set, only the features that satisfy the condition will be considered when calculating the extent.\r\n * @deprecated\r\n */\r\n query?: string;\r\n /** Filter conditions. */\r\n conditions?: string[];\r\n /** Query parameters. */\r\n parameters?: Record<string, any>;\r\n /** Filter query geometries. */\r\n geometries?: QueryGeometryDc[];\r\n}\r\n\r\n/**\r\n * Get features from layer paramaters.\r\n */\r\nexport interface GetBulkFeaturesParametersDc {\r\n /** Layer name. */\r\n layerName?: string;\r\n /**\r\n * Sets features filtering query.\r\n * @deprecated\r\n */\r\n query?: string;\r\n /** Collection of filtering conditions. */\r\n conditions?: string[];\r\n /** Features filtering query parameters. */\r\n parameters?: Record<string, any>;\r\n /** Filter query geometries. */\r\n geometries?: QueryGeometryDc[];\r\n /** Id of override data filter to apply to the layer. If not set, the default filter is used. */\r\n dataFilterId?: string;\r\n /** Click geometry. */\r\n ewktGeometry?: string;\r\n /**\r\n * Features count have to skip.\r\n * @format int32\r\n */\r\n offset?: number;\r\n /**\r\n * Features limit per response.\r\n * @format int32\r\n */\r\n limit?: number;\r\n /**\r\n * Spatial reference of returned features.\r\n * @format int32\r\n */\r\n srId?: number;\r\n /** If set to true, the geometry will not be returned for features. */\r\n withGeom?: boolean;\r\n /**\r\n * Comma separated list of attributes by which to sort the resulting feature list.\r\n * If the attribute name is preceded with the \"-\" sign, sorting by this attribute will be\r\n * in descending order.\r\n */\r\n sort?: string[];\r\n /** Comma separated list of features ids. */\r\n ids?: string[];\r\n /** Comma separated list of attributes to be returned. If not set, all attributes are returned. */\r\n attributes?: string[];\r\n}\r\n\r\n/**\r\n * Get features count with layer filter condition data contract.\r\n */\r\nexport interface GetBulkFilteredFeaturesCountDc {\r\n /** Layer name. */\r\n layerName?: string;\r\n /**\r\n * Layer condition.\r\n * @deprecated\r\n */\r\n condition?: string;\r\n /** Collection of filtering conditions. */\r\n conditions?: string[];\r\n /** Query parameters. */\r\n parameters?: Record<string, any>;\r\n /** Filter query geometries. */\r\n geometries?: QueryGeometryDc[];\r\n}\r\n\r\n/**\r\n * Get resource by path request data.\r\n */\r\nexport interface GetByPathDc {\r\n /** Resource path. */\r\n path: string;\r\n}\r\n\r\n/**\r\n * Get classified attribute values data contract.\r\n */\r\nexport interface GetClassifyDc {\r\n /**\r\n * Layer name.\r\n * @minLength 1\r\n */\r\n layerName: string;\r\n /**\r\n * Attribute name.\r\n * @minLength 1\r\n */\r\n attributeName: string;\r\n /**\r\n * Layer condition.\r\n * @deprecated\r\n */\r\n condition?: string;\r\n /** Collection of filtering conditions. */\r\n conditions?: string[];\r\n /** Query parameters. */\r\n parameters?: Record<string, any>;\r\n /** Filter query geometries. */\r\n geometries?: QueryGeometryDc[];\r\n /**\r\n * The number of classes.\r\n * @format int32\r\n */\r\n classes?: number;\r\n /**\r\n * Sets required values precision.\r\n * @format int32\r\n */\r\n precision?: number;\r\n /**\r\n *\r\n *\r\n * none\r\n *\r\n * naturalBreaks\r\n *\r\n * equalInterval\r\n *\r\n * quantile\r\n *\r\n * unique\r\n *\r\n * step\r\n */\r\n type?: ClassificationType;\r\n /**\r\n *\r\n *\r\n * decimal\r\n *\r\n * dateTime\r\n *\r\n * text\r\n */\r\n attributeType?: ClassifyAttributeType;\r\n}\r\n\r\n/**\r\n * Get features paramaters.\r\n */\r\nexport interface GetFeaturesParametersDc {\r\n /**\r\n * Features filtering query.\r\n * @deprecated\r\n */\r\n query?: string;\r\n /** Collection of filtering conditions. */\r\n conditions?: string[];\r\n /** Features filtering query parameters. */\r\n parameters?: Record<string, any>;\r\n /** Filter query geometries. */\r\n geometries?: QueryGeometryDc[];\r\n /** Id of override data filter to apply to the layer. If not set, the default filter is used. */\r\n dataFilterId?: string;\r\n /** Click geometry. */\r\n ewktGeometry?: string;\r\n /**\r\n * Features count have to skip.\r\n * @format int32\r\n */\r\n offset?: number;\r\n /**\r\n * Features limit per response.\r\n * @format int32\r\n */\r\n limit?: number;\r\n /**\r\n * Spatial reference of returned features.\r\n * @format int32\r\n */\r\n srId?: number;\r\n /** If set to true, the geometry will not be returned for features. */\r\n withGeom?: boolean;\r\n /**\r\n * Comma separated list of attributes by which to sort the resulting feature list.\r\n * If the attribute name is preceded with the \"-\" sign, sorting by this attribute will be\r\n * in descending order.\r\n */\r\n sort?: string[];\r\n /** Comma separated list of features ids. */\r\n ids?: string[];\r\n /** Comma separated list of attributes to be returned. If not set, all attributes are returned. */\r\n attributes?: string[];\r\n}\r\n\r\n/**\r\n * Get features count with layer filter condition data contract.\r\n */\r\nexport interface GetFilteredFeaturesCountDc {\r\n /**\r\n * Layer condition.\r\n * @deprecated\r\n */\r\n condition?: string;\r\n /** Collection of filtering conditions. */\r\n conditions?: string[];\r\n /** Query parameters. */\r\n parameters?: Record<string, any>;\r\n /** Filter query geometries. */\r\n geometries?: QueryGeometryDc[];\r\n}\r\n\r\n/**\r\n * Get statistics data contract.\r\n */\r\nexport interface GetStatisticsDc {\r\n /**\r\n * Layer name.\r\n * @minLength 1\r\n */\r\n layerName: string;\r\n /**\r\n * Attribute name.\r\n * @minLength 1\r\n */\r\n attributeName: string;\r\n /**\r\n * Condition.\r\n * @deprecated\r\n */\r\n condition?: string;\r\n /** Collection of filtering conditions. */\r\n conditions?: string[];\r\n /** Query parameters. */\r\n parameters?: Record<string, any>;\r\n /** Filter query geometries. */\r\n geometries?: QueryGeometryDc[];\r\n /** Type of required statistic function. */\r\n types?: AggregationFunction[];\r\n}\r\n\r\n/**\r\n * Get sum of product data contract.\r\n */\r\nexport interface GetSumOfProductDc {\r\n /**\r\n * Layer name.\r\n * @minLength 1\r\n */\r\n layerName: string;\r\n /** Attribute name. */\r\n attributes: string[];\r\n /**\r\n * Layer condition.\r\n * @deprecated\r\n */\r\n condition?: string;\r\n /** Collection of filtering conditions. */\r\n conditions?: string[];\r\n /** Query parameters. */\r\n parameters?: Record<string, any>;\r\n /** Filter query geometries. */\r\n geometries?: QueryGeometryDc[];\r\n}\r\n\r\nexport type IAsyncEnumerableLivePreviewDc = object;\r\n\r\n/**\r\n * Data schema of a file for import.\r\n */\r\nexport interface ImportDataSchemaDc {\r\n /** List of layers in the data-set. */\r\n layers: ImportLayerDataSchemaDc[];\r\n /**\r\n * Importing file type.\r\n * @minLength 1\r\n */\r\n type: string;\r\n}\r\n\r\n/**\r\n * Get features count data contract.\r\n */\r\nexport interface ImportFileFeaturesCountDc {\r\n /** Name of the layer. */\r\n name?: string;\r\n /**\r\n * Id of the file in the temporary static storage.\r\n * @minLength 1\r\n */\r\n fileId: string;\r\n /** Condition. */\r\n condition?: string;\r\n}\r\n\r\n/**\r\n * Schema of a layer in an imported file.\r\n */\r\nexport interface ImportLayerDataSchemaDc {\r\n /**\r\n * Name of the layer.\r\n * @minLength 1\r\n */\r\n name: string;\r\n /** Storage type. */\r\n type?: string;\r\n /** First feature in the layer. */\r\n rows?: FeatureDc[];\r\n /**\r\n * Number of objects in the layer.\r\n * @format int64\r\n */\r\n objectCount?: number;\r\n /** Assumed coordinate fields. */\r\n coordinateFields?: string[];\r\n /** Information about the layer attributes and their configuration. */\r\n layerDefinition?: LayerDefinitionDc;\r\n /** Schema of a inner layers. */\r\n children?: ImportLayerDataSchemaDc[];\r\n}\r\n\r\n/**\r\n * Information about the layer attributes and their configuration.\r\n */\r\nexport interface LayerDefinitionDc {\r\n /** The name of the attribute that is used to uniquely identify a feature in the layer. */\r\n idAttribute?: string;\r\n /** The name of the attribute that is used as a displayed name of a feature in the layer. */\r\n titleAttribute?: string;\r\n /** The name of the attribute that is used for assigning geometry value for the feature. */\r\n geometryAttribute?: string;\r\n /**\r\n *\r\n *\r\n * unknown\r\n *\r\n * point\r\n *\r\n * polyline\r\n *\r\n * polygon\r\n *\r\n * envelope\r\n *\r\n * multipoint\r\n *\r\n * line\r\n *\r\n * ring\r\n *\r\n * multipolygon\r\n *\r\n * collection\r\n */\r\n geometryType?: GeometryType;\r\n /**\r\n * The spatial reference of the layer.\r\n * @format int32\r\n */\r\n srId?: number;\r\n /** Sets false if the layer is readonly. */\r\n isEditable?: boolean;\r\n /** The description of the attributes of the layer. */\r\n attributes?: Record<string, AttributeDefinitionDc>;\r\n}\r\n\r\n/**\r\n * Layer reference configuration.\r\n */\r\nexport interface LayerReferenceConfigurationDc {\r\n /** Name of the layer. */\r\n layerName?: string;\r\n /** Condition to apply. */\r\n condition?: string;\r\n /** Attribute name in base layer. */\r\n referenceAttribute?: string;\r\n /** Attribute name in target layer. */\r\n targetAttribute?: string;\r\n /** Id of the reference. */\r\n referenceId?: string;\r\n}\r\n\r\n/**\r\n* Information about layer update.\r\nIncludes ids of modified features and their bbox.\r\n*/\r\nexport interface LayerUpdateInfoDc {\r\n /**\r\n * Updated layer service name.\r\n * @minLength 1\r\n */\r\n layerServiceName: string;\r\n /** Envelope geometry. */\r\n boundingBox?: EnvelopeDc;\r\n /** Array of created ids. */\r\n createdIds?: string[];\r\n /** Array of updated ids. */\r\n updatedIds?: string[];\r\n /** Array of deleted ids. */\r\n deletedIds?: string[];\r\n}\r\n\r\n/**\r\n * Polyline geometry object definition.\r\n */\r\nexport type LineStringDc = GeometryDc & {\r\n /**\r\n *\r\n *\r\n * unknown\r\n *\r\n * point\r\n *\r\n * polyline\r\n *\r\n * polygon\r\n *\r\n * envelope\r\n *\r\n * multipoint\r\n *\r\n * line\r\n *\r\n * ring\r\n *\r\n * multipolygon\r\n *\r\n * collection\r\n */\r\n type?: GeometryType;\r\n /** Poly coordinates. */\r\n coordinates: PositionDc[];\r\n};\r\n\r\n/**\r\n * Linear service configuration Dc.\r\n */\r\nexport type LinearServiceConfigurationDc = ServiceConfigurationBaseDc & {\r\n /** Configuration of the attributes of the layer. */\r\n attributesConfiguration: AttributesConfigurationDc | EqlAttributesConfigurationDc;\r\n /** Condition to filter returned features. */\r\n condition?: string | null;\r\n /**\r\n * Maximum number of features, that the service can return in a single request.\r\n * @format int32\r\n */\r\n featuresLimit?: number;\r\n /** Client style data storage. Storage isn't used by server. */\r\n clientStyle?: any;\r\n};\r\n\r\n/**\r\n * Search resources.\r\n */\r\nexport interface ListResourcesDc {\r\n /** Parent id. */\r\n parentId?: string;\r\n /**\r\n * Text filer support sql like symbols\r\n * for example start with 'text*', contains 'text', end with '*text'.\r\n */\r\n filter?: string;\r\n /**\r\n *\r\n *\r\n * Shared\r\n *\r\n * Public\r\n *\r\n * My\r\n */\r\n ownerFilter?: AccessMode;\r\n /** Resources types filter. */\r\n resourceTypes?: CatalogResourceType[];\r\n /** Resources subtypes filter. */\r\n subtypes?: ResourceSubTypeFilter[];\r\n /** Tags filter. */\r\n tagsFilter?: TagsFilterDc;\r\n /** Order by result. */\r\n orderBy?: string[];\r\n /** System names filter. */\r\n systemNames?: string[];\r\n /** Geometry types filter. */\r\n geometryTypes?: GeometryType[];\r\n /** Resources types filter. */\r\n types?: ResourceTypeFilter[];\r\n /** Filter by set of roles permissions. */\r\n aclFilter?: Record<string, Permissions>;\r\n /** Search mode. */\r\n searchMode?: boolean;\r\n}\r\n\r\n/**\r\n * Tile LOD structure.\r\n */\r\nexport interface LodInfo {\r\n /**\r\n * Level of tile set.\r\n * @format int32\r\n */\r\n level?: number;\r\n /**\r\n * Resolution for level.\r\n * @format double\r\n */\r\n resolution?: number;\r\n}\r\n\r\n/**\r\n * Login data contract.\r\n */\r\nexport interface LoginDc {\r\n /**\r\n * Login.\r\n * @minLength 1\r\n */\r\n username: string;\r\n /**\r\n * Password.\r\n * @minLength 1\r\n */\r\n password: string;\r\n}\r\n\r\n/**\r\n * Token data contract.\r\n */\r\nexport interface LoginResultDc {\r\n /** JWT. */\r\n token?: string;\r\n /** Refresh token. */\r\n refreshToken?: string;\r\n /** User name. */\r\n username?: string;\r\n /** Redirect url. */\r\n redirectUrl?: string;\r\n}\r\n\r\n/**\r\n* SPCore.Connectors.Connectors.Base.Models.Data.MapTableInfoDc provides information to create datasource and maps it to exists database table.\r\n \r\nSPCore.Connectors.Connectors.Base.Models.Data.MapTableInfoDc.Name can be materialized view or view.\r\n*/\r\nexport interface MapTableInfoDc {\r\n /**\r\n * Name of the data source.\r\n * @minLength 1\r\n */\r\n name: string;\r\n /** Alias of the data source. */\r\n alias?: string;\r\n /** Description of the data source. */\r\n description?: string;\r\n /**\r\n * Owner of the data source.\r\n * @minLength 1\r\n */\r\n owner: string;\r\n /** Access control list for a security object. */\r\n acl?: AccessControlListDc;\r\n}\r\n\r\n/**\r\n * Configuration of a table for feature layer.\r\n */\r\nexport type MaterializedViewConfigurationDc = TableConfigurationBaseDc & {\r\n type?: string | null;\r\n /** EQL. */\r\n eql?: string | null;\r\n /** EQL parameters. */\r\n eqlParameters?: Record<string, any>;\r\n /** Schema. */\r\n schemaName?: string | null;\r\n /** TableName. */\r\n tableName?: string | null;\r\n};\r\n\r\n/**\r\n * MosRu data source.\r\n */\r\nexport type MosRuDataSourceDc = DataSourceDc & {\r\n /**\r\n *\r\n *\r\n * Postgres\r\n *\r\n * Trino\r\n *\r\n * S3\r\n *\r\n * GisServer\r\n *\r\n * Spark\r\n *\r\n * Archive\r\n */\r\n type?: DataSourceType;\r\n /** Endpoint. */\r\n serviceUrl?: string | null;\r\n /** Access token. */\r\n accessToken?: string | null;\r\n};\r\n\r\n/**\r\n * MosRu data source info.\r\n */\r\nexport type MosRuDataSourceInfoDc = DataSourceInfoDc & {\r\n /** Service url. */\r\n serviceUrl?: string | null;\r\n /** Access token. */\r\n accessToken?: string | null;\r\n};\r\n\r\n/**\r\n * Move resource dto.\r\n */\r\nexport interface MoveResourceDc {\r\n /** Target resource to copy. */\r\n targetResource?: string;\r\n /** Name of target resource. */\r\n newName?: string;\r\n /** Rewrite target if exists. */\r\n rewrite?: boolean;\r\n}\r\n\r\n/**\r\n * Multipoint geometry object definition.\r\n */\r\nexport type MultiPointDc = GeometryDc & {\r\n /** Multipoint coordinates. */\r\n coordinates: PositionDc[];\r\n /**\r\n *\r\n *\r\n * unknown\r\n *\r\n * point\r\n *\r\n * polyline\r\n *\r\n * polygon\r\n *\r\n * envelope\r\n *\r\n * multipoint\r\n *\r\n * line\r\n *\r\n * ring\r\n *\r\n * multipolygon\r\n *\r\n * collection\r\n */\r\n type?: GeometryType;\r\n};\r\n\r\n/**\r\n * Multipoint geometry object definition.\r\n */\r\nexport type MultiPolygonDc = GeometryDc & {\r\n /** Multipoint coordinates. */\r\n coordinates: PositionDc[][][];\r\n /**\r\n *\r\n *\r\n * unknown\r\n *\r\n * point\r\n *\r\n * polyline\r\n *\r\n * polygon\r\n *\r\n * envelope\r\n *\r\n * multipoint\r\n *\r\n * line\r\n *\r\n * ring\r\n *\r\n * multipolygon\r\n *\r\n * collection\r\n */\r\n type?: GeometryType;\r\n};\r\n\r\n/**\r\n * Information about a namespace .\r\n */\r\nexport interface NamespaceInfoDc {\r\n /** Name of the namespace. */\r\n name?: string;\r\n /** Owner of the namespace. */\r\n owner?: string;\r\n /** Db schema for the namespace. */\r\n schema?: string;\r\n /**\r\n * Date when the namespace was created.\r\n * @format date-time\r\n */\r\n created?: string;\r\n /** Access control list for a security object. */\r\n acl?: AccessControlListDc;\r\n}\r\n\r\n/**\r\n * RasterMetaDc.\r\n */\r\nexport type NetCdfMetaDc = RasterMetaDc & {\r\n /** Extra dimensions values. */\r\n dimExtraValues?: Record<string, string[] | null>;\r\n};\r\n\r\nexport type ObjectId = object;\r\n\r\nexport interface Operation {\r\n value?: any;\r\n path?: string;\r\n op?: string;\r\n from?: string;\r\n}\r\n\r\n/**\r\n * Features list definition.\r\n */\r\nexport type PagedBulkFeaturesListDc = PagedListFeatureDc & {\r\n /** Layer name. */\r\n layerName?: string | null;\r\n /** Has error. */\r\n hasError?: boolean;\r\n /** Error text. */\r\n error?: string | null;\r\n};\r\n\r\n/**\r\n * Features list definition.\r\n */\r\nexport type PagedFeaturesListDc = PagedListFeatureDc & object;\r\n\r\nexport interface PagedListConfigDc {\r\n /** @format int64 */\r\n totalCount?: number;\r\n /** @format int32 */\r\n offset?: number;\r\n /** @format int32 */\r\n limit?: number;\r\n items?: ConfigDc[];\r\n}\r\n\r\nexport interface PagedListDataSourceInfoDc {\r\n /** @format int64 */\r\n totalCount?: number;\r\n /** @format int32 */\r\n offset?: number;\r\n /** @format int32 */\r\n limit?: number;\r\n items?: (\r\n | ArcGisDataSourceInfoDc\r\n | MosRuDataSourceInfoDc\r\n | PostgresDataSourceInfoDc\r\n | S3DataSourceInfoDc\r\n | SparkDataSourceInfoDc\r\n )[];\r\n}\r\n\r\nexport interface PagedListExtendedUserInfoDc {\r\n /** @format int64 */\r\n totalCount?: number;\r\n /** @format int32 */\r\n offset?: number;\r\n /** @format int32 */\r\n limit?: number;\r\n items?: ExtendedUserInfoDc[];\r\n}\r\n\r\nexport interface PagedListFeatureDc {\r\n /** @format int64 */\r\n totalCount?: number;\r\n /** @format int32 */\r\n offset?: number;\r\n /** @format int32 */\r\n limit?: number;\r\n items?: FeatureDc[];\r\n}\r\n\r\nexport interface PagedListQueryHistoryDc {\r\n /** @format int64 */\r\n totalCount?: number;\r\n /** @format int32 */\r\n offset?: number;\r\n /** @format int32 */\r\n limit?: number;\r\n items?: QueryHistoryDc[];\r\n}\r\n\r\nexport interface PagedListQueryTokenDc {\r\n /** @format int64 */\r\n totalCount?: number;\r\n /** @format int32 */\r\n offset?: number;\r\n /** @format int32 */\r\n limit?: number;\r\n items?: QueryTokenDc[];\r\n}\r\n\r\nexport interface PagedListRoleInfoDc {\r\n /** @format int64 */\r\n totalCount?: number;\r\n /** @format int32 */\r\n offset?: number;\r\n /** @format int32 */\r\n limit?: number;\r\n items?: RoleInfoDc[];\r\n}\r\n\r\nexport interface PagedListSymbolCategoryInfoDc {\r\n /** @format int64 */\r\n totalCount?: number;\r\n /** @format int32 */\r\n offset?: number;\r\n /** @format int32 */\r\n limit?: number;\r\n items?: SymbolCategoryInfoDc[];\r\n}\r\n\r\nexport interface PagedListSymbolInfoDc {\r\n /** @format int64 */\r\n totalCount?: number;\r\n /** @format int32 */\r\n offset?: number;\r\n /** @format int32 */\r\n limit?: number;\r\n items?: SymbolInfoDc[];\r\n}\r\n\r\nexport interface PagedListUserInfoDc {\r\n /** @format int64 */\r\n totalCount?: number;\r\n /** @format int32 */\r\n offset?: number;\r\n /** @format int32 */\r\n limit?: number;\r\n items?: UserInfoDc[];\r\n}\r\n\r\n/**\r\n * Paged resources list.\r\n */\r\nexport interface PagedResourcesListDc {\r\n /** @format int64 */\r\n totalCount?: number;\r\n /** @format int32 */\r\n offset?: number;\r\n /** @format int32 */\r\n limit?: number;\r\n items?: CatalogResourceDc[];\r\n}\r\n\r\n/**\r\n * Paged resources list.\r\n */\r\nexport interface PagedTagsListDc {\r\n /** @format int64 */\r\n totalCount?: number;\r\n /** @format int32 */\r\n offset?: number;\r\n /** @format int32 */\r\n limit?: number;\r\n items?: string[];\r\n}\r\n\r\n/**\r\n * Patch resource request.\r\n */\r\nexport interface PatchResourceDc {\r\n /** Description of the directory. */\r\n name?: string;\r\n /** Description of the directory. */\r\n description?: string;\r\n /** A set of tags. */\r\n tags?: string[];\r\n /** Resource icon. */\r\n icon?: string;\r\n}\r\n\r\n/**\r\n* Influences the y direction of the tile coordinates. The global-mercator (aka Spherical Mercator) profile is assumed.\r\n\r\nxyz\r\n\r\ntms\r\n*/\r\nexport enum PbfSchema {\r\n XYZ = \"xyz\",\r\n TMS = \"tms\",\r\n}\r\n\r\n/**\r\n * Configuration for the mapbox PBF/MVT service.\r\n */\r\nexport type PbfServiceConfigurationDc = ProxyServiceConfigurationDc & {\r\n /**\r\n * Influences the y direction of the tile coordinates. The global-mercator (aka Spherical Mercator) profile is assumed.\r\n *\r\n * xyz\r\n *\r\n * tms\r\n */\r\n schema?: PbfSchema;\r\n};\r\n\r\n/**\r\n * Service info for a mapbox service.\r\n */\r\nexport type PbfServiceInfoDc = ProxyServiceInfoDc & {\r\n /**\r\n * Influences the y direction of the tile coordinates. The global-mercator (aka Spherical Mercator) profile is assumed.\r\n *\r\n * xyz\r\n *\r\n * tms\r\n */\r\n schema: PbfSchema;\r\n};\r\n\r\n/**\r\n* \r\n\r\nnone\r\n\r\nconfigure\r\n\r\nwrite\r\n\r\nread\r\n\r\nread,configure\r\n\r\nread,write\r\n\r\nread,write,configure\r\n*/\r\nexport enum Permissions {\r\n None = \"none\",\r\n Configure = \"configure\",\r\n Write = \"write\",\r\n Read = \"read\",\r\n ReadConfigure = \"read,configure\",\r\n ReadWrite = \"read,write\",\r\n All = \"read,write,configure\",\r\n}\r\n\r\n/**\r\n * Spatial point geometry object representation.\r\n */\r\nexport type PointDc = GeometryDc & {\r\n /** The position at the map. */\r\n coordinates: PositionDc;\r\n /**\r\n *\r\n *\r\n * unknown\r\n *\r\n * point\r\n *\r\n * polyline\r\n *\r\n * polygon\r\n *\r\n * envelope\r\n *\r\n * multipoint\r\n *\r\n * line\r\n *\r\n * ring\r\n *\r\n * multipolygon\r\n *\r\n * collection\r\n */\r\n type?: GeometryType;\r\n};\r\n\r\nexport interface PolicyDc {\r\n /**\r\n * Type of the authorization policy.\r\n *\r\n * Unknown\r\n *\r\n * CreateTable\r\n *\r\n * CreateLayer\r\n *\r\n * CreateProject\r\n *\r\n * MaxFeaturesInOneTable\r\n *\r\n * MaxObjectsToExport\r\n *\r\n * MaxUploadContentSize\r\n *\r\n * MaxEqlQueryParametersValues\r\n */\r\n type: PolicyType;\r\n role?: string;\r\n /** @format int32 */\r\n value: number;\r\n}\r\n\r\n/**\r\n* Type of the authorization policy.\r\n\r\nUnknown\r\n\r\nCreateTable\r\n\r\nCreateLayer\r\n\r\nCreateProject\r\n\r\nMaxFeaturesInOneTable\r\n\r\nMaxObjectsToExport\r\n\r\nMaxUploadContentSize\r\n\r\nMaxEqlQueryParametersValues\r\n*/\r\nexport enum PolicyType {\r\n Unknown = \"Unknown\",\r\n CreateTable = \"CreateTable\",\r\n CreateLayer = \"CreateLayer\",\r\n CreateProject = \"CreateProject\",\r\n MaxFeaturesInOneTable = \"MaxFeaturesInOneTable\",\r\n MaxObjectsToExport = \"MaxObjectsToExport\",\r\n MaxUploadContentSize = \"MaxUploadContentSize\",\r\n MaxEqlQueryParametersValues = \"MaxEqlQueryParametersValues\",\r\n}\r\n\r\n/**\r\n * Polygon geometry object definition.\r\n */\r\nexport type PolygonDc = GeometryDc & {\r\n /**\r\n *\r\n *\r\n * unknown\r\n *\r\n * point\r\n *\r\n * polyline\r\n *\r\n * polygon\r\n *\r\n * envelope\r\n *\r\n * multipoint\r\n *\r\n * line\r\n *\r\n * ring\r\n *\r\n * multipolygon\r\n *\r\n * collection\r\n */\r\n type?: GeometryType;\r\n /** Polygon coordinates. */\r\n coordinates: PositionDc[][];\r\n};\r\n\r\n/**\r\n * Polyline geometry object definition.\r\n */\r\nexport type PolylineDc = GeometryDc & {\r\n /**\r\n *\r\n *\r\n * unknown\r\n *\r\n * point\r\n *\r\n * polyline\r\n *\r\n * polygon\r\n *\r\n * envelope\r\n *\r\n * multipoint\r\n *\r\n * line\r\n *\r\n * ring\r\n *\r\n * multipolygon\r\n *\r\n * collection\r\n */\r\n type?: GeometryType;\r\n /** Poly coordinates. */\r\n coordinates: PositionDc[][];\r\n};\r\n\r\n/**\r\n * The position at the map.\r\n */\r\nexport type PositionDc = number[];\r\n\r\n/**\r\n * Postgres connection data source connection.\r\n */\r\nexport type PostgresDataSourceDc = DataSourceDc & {\r\n /**\r\n *\r\n *\r\n * Postgres\r\n *\r\n * Trino\r\n *\r\n * S3\r\n *\r\n * GisServer\r\n *\r\n * Spark\r\n *\r\n * Archive\r\n */\r\n type?: DataSourceType;\r\n /** Host. */\r\n host?: string | null;\r\n /** UserName. */\r\n userName?: string | null;\r\n /** Password. */\r\n password?: string | null;\r\n /**\r\n * Port.\r\n * @format int32\r\n */\r\n port?: number | null;\r\n /** Database. */\r\n database?: string | null;\r\n /** Schema. */\r\n schema?: string | null;\r\n};\r\n\r\n/**\r\n * Postgres data source info.\r\n */\r\nexport type PostgresDataSourceInfoDc = DataSourceInfoDc & {\r\n /** Host. */\r\n host?: string | null;\r\n /** UserName. */\r\n userName?: string | null;\r\n /** Password. */\r\n password?: string | null;\r\n /**\r\n * Port.\r\n * @format int32\r\n */\r\n port?: number;\r\n /** Database. */\r\n database?: string | null;\r\n /** Schema. */\r\n schema?: string | null;\r\n};\r\n\r\n/**\r\n * Configuration of a postgres tile catalog service.\r\n */\r\nexport type PostgresTileCatalogServiceConfigurationDc = ServiceConfigurationBaseDc & {\r\n /** Configuration of the attributes of the layer. */\r\n attributesConfiguration: AttributesConfigurationDc | EqlAttributesConfigurationDc;\r\n /** Client style data storage. Storage isn't used by server. */\r\n clientStyle?: any;\r\n /** Condition to filter returned features. */\r\n condition?: string | null;\r\n /**\r\n * Maximum number of features, that the service can return in a single request.\r\n * @format int32\r\n */\r\n featuresLimit?: number;\r\n /**\r\n * Min lod level.\r\n * @format int32\r\n */\r\n minLodLevel?: number;\r\n /**\r\n * Max lod level.\r\n * @format int32\r\n */\r\n maxLodLevel?: number;\r\n /** IsCogLayer. */\r\n isCogLayer?: boolean;\r\n};\r\n\r\n/**\r\n * Project content configuration data contract.\r\n */\r\nexport interface ProjectConfigurationDc {\r\n /**\r\n * Map resolution.\r\n * @format double\r\n * @default 0\r\n */\r\n resolution?: number;\r\n /** The position at the map. */\r\n position?: PositionDc;\r\n /**\r\n * Map spatial reference code.\r\n * @format int32\r\n */\r\n srId?: number;\r\n /** Base map service name. */\r\n baseMapName?: string;\r\n /** Client data storage. Expecting not used by server. */\r\n clientData?: any;\r\n /** Card configuration. Storage isn't used by server. */\r\n dashboardConfiguration?: any;\r\n /** Developer configuration. */\r\n devConfiguration?: any;\r\n /** Project information. Storage isn't used by server. */\r\n projectInfo?: any;\r\n /** Project content items configurations. */\r\n items?: ProjectContentItemDc[];\r\n /** A collection of bookmarks of the map. */\r\n bookmarks?: BookmarkDc[];\r\n /** Language of the project. */\r\n language?: string;\r\n /** Project configuration. */\r\n config?: any;\r\n}\r\n\r\n/**\r\n * Project item description.\r\n */\r\nexport interface ProjectContentItemDc {\r\n /** Item name. */\r\n name?: string;\r\n /** Specifies name of the item in project. */\r\n clientData?: any;\r\n /** Client data storage. Storage isn't used by server. */\r\n alias?: string;\r\n /**\r\n * Opacity level of item.\r\n * @format float\r\n * @default 1\r\n */\r\n opacity?: number;\r\n /**\r\n * Indicates if item is visible.\r\n * @default true\r\n */\r\n isVisible?: boolean;\r\n /**\r\n * Checks if list of children is expanded.\r\n * @default false\r\n */\r\n isExpanded?: boolean;\r\n /**\r\n * Checks if legend is expanded.\r\n * @default false\r\n */\r\n isLegendExpanded?: boolean;\r\n /**\r\n * Minimum scale resolution.\r\n * @format double\r\n * @default 0\r\n */\r\n minScale?: number;\r\n /**\r\n * Maximum scale resolution.\r\n * @format double\r\n * @default 0\r\n */\r\n maxScale?: number;\r\n /** If set true, item is basemap. */\r\n isBasemap?: boolean;\r\n /** Children items. */\r\n children?: ProjectContentItemDc[];\r\n /** Layer type. */\r\n layerType?: string;\r\n}\r\n\r\n/**\r\n * A project configuration data contract.\r\n */\r\nexport type ProjectInfoDc = ResourceInfoDc & {\r\n /**\r\n * Count of the layers in project.\r\n * @format int32\r\n */\r\n layersCount?: number;\r\n /**\r\n * Zoom level of the project.\r\n * @format float\r\n */\r\n zoom?: number | null;\r\n};\r\n\r\n/**\r\n * Data contract for inner layer Legend.\r\n */\r\nexport interface ProxyInnerLayerLegendDc {\r\n /**\r\n * Layer id.\r\n * @minLength 1\r\n */\r\n layerId: string;\r\n /**\r\n * Layer name.\r\n * @minLength 1\r\n */\r\n layerName: string;\r\n /** Legend items. */\r\n items: ProxyLayerLegendItemDc[];\r\n}\r\n\r\n/**\r\n * Data contract for layer legend.\r\n */\r\nexport interface ProxyLayerLegendDc {\r\n /** Inner layers legends. */\r\n layers: ProxyInnerLayerLegendDc[];\r\n}\r\n\r\n/**\r\n * Data contract for legend item.\r\n */\r\nexport interface ProxyLayerLegendItemDc {\r\n /**\r\n * Text label of legend item.\r\n * @minLength 1\r\n */\r\n label: string;\r\n /**\r\n * Image of item encoded in Base64 string.\r\n * @minLength 1\r\n */\r\n image: string;\r\n}\r\n\r\n/**\r\n * Configuration for the proxy service.\r\n */\r\nexport type ProxyServiceConfigurationDc = ServiceConfigurationBaseDc & {\r\n /** Resource id. */\r\n resourceId?: string | null;\r\n /**\r\n *\r\n *\r\n * unknown\r\n *\r\n * point\r\n *\r\n * polyline\r\n *\r\n * polygon\r\n *\r\n * envelope\r\n *\r\n * multipoint\r\n *\r\n * line\r\n *\r\n * ring\r\n *\r\n * multipolygon\r\n *\r\n * collection\r\n */\r\n geometryType?: GeometryType;\r\n /** Source system type, e.g. \"ArcGIS\". */\r\n sourceType?: string | null;\r\n /** Source url path. Like http://sampleserver1.arcgisonline.com/ArcGIS/rest/services/Specialty/SuperTuesdaySample/MapServer. */\r\n sourceUrl?: string | null;\r\n /**\r\n * Gets or sets minimum scale resolution.\r\n * @format double\r\n */\r\n minResolution?: number;\r\n /**\r\n * Gets or sets maximum scale resolution.\r\n * @format double\r\n */\r\n maxResolution?: number;\r\n /** Names of layers to include in proxy layer (can be numbers). */\r\n layers?: string[] | null;\r\n};\r\n\r\n/**\r\n * Service info for a Proxy service.\r\n */\r\nexport interface ProxyServiceInfoDc {\r\n /** Information about the layer attributes and their configuration. */\r\n layerDefinition?: LayerDefinitionDc;\r\n /**\r\n * Source system type, e.g. \"ArcGIS\".\r\n * @minLength 1\r\n */\r\n sourceType: string;\r\n /**\r\n * Source url path. Like http://sampleserver1.arcgisonline.com/ArcGIS/rest/services/Specialty/SuperTuesdaySample/MapServer.\r\n * @minLength 1\r\n */\r\n sourceUrl: string;\r\n /** Names of layers to include in proxy layer (can be numbers). */\r\n layers: string[];\r\n /** Data contract for layer legend. */\r\n legend?: ProxyLayerLegendDc;\r\n /** Copyright text. */\r\n copyrightText?: string;\r\n /** Client data storage. Storage isn't used by server. */\r\n clientData?: any;\r\n /** Client style data storage. Storage isn't used by server. */\r\n clientStyle?: any;\r\n /** Card configuration. Storage isn't used by server. */\r\n cardConfiguration?: any;\r\n /**\r\n * The type of the resource.\r\n * @minLength 1\r\n */\r\n type: string;\r\n /**\r\n * Minimum resolution that this service will be rendered on. If no resolution limits are set for the top-level\r\n * style of the service, or if no such property is available for this type of the service, 0 is returned.\r\n * @format double\r\n */\r\n minResolution?: number;\r\n /**\r\n * Maximum resolution that this service will be rendered on. If no resolution limits are set for the top-level\r\n * style of the service, or if no such property is available for this type of the service, 0 is returned.\r\n * @format double\r\n */\r\n maxResolution?: number;\r\n /**\r\n * Filtering condition for the objects in the service. If no condition set or if no such property is available\r\n * for the given service type, null is returned.\r\n */\r\n condition?: string;\r\n /**\r\n *\r\n *\r\n * unknown\r\n *\r\n * point\r\n *\r\n * polyline\r\n *\r\n * polygon\r\n *\r\n * envelope\r\n *\r\n * multipoint\r\n *\r\n * line\r\n *\r\n * ring\r\n *\r\n * multipolygon\r\n *\r\n * collection\r\n */\r\n geometryType: GeometryType;\r\n /**\r\n * Number of objects in the layer. If the count cannot be calculated or the layer does not contain objects,\r\n * 0 is returned.\r\n * @format int32\r\n */\r\n objectCount?: number;\r\n /** The category of the service. */\r\n categories?: string[];\r\n /** Configuration of the service. */\r\n configuration?:\r\n | LinearServiceConfigurationDc\r\n | PbfServiceConfigurationDc\r\n | PostgresTileCatalogServiceConfigurationDc\r\n | ProxyServiceConfigurationDc\r\n | PythonServiceConfigurationDc\r\n | QueryLayerServiceConfigurationDc\r\n | RemoteTileServiceConfigurationDc\r\n | RouteServiceConfigurationDc;\r\n /**\r\n * Name of the resource including its namespaces (names of the service managers that contain this service).\r\n * @minLength 1\r\n */\r\n name: string;\r\n /** Resource alias. */\r\n alias?: string;\r\n /** Resource owner. */\r\n owner?: string;\r\n /** Resource description. */\r\n description?: string;\r\n /**\r\n * The date when resource was created.\r\n * @format date-time\r\n */\r\n createdDate?: string;\r\n /**\r\n * The date when resource was last modified.\r\n * @format date-time\r\n */\r\n changedDate?: string;\r\n /**\r\n *\r\n *\r\n * none\r\n *\r\n * configure\r\n *\r\n * write\r\n *\r\n * read\r\n *\r\n * read,configure\r\n *\r\n * read,write\r\n *\r\n * read,write,configure\r\n */\r\n permissions?: Permissions;\r\n /** Access control list for a security object. */\r\n acl?: AccessControlListDc;\r\n /**\r\n * Base64 encoded image - icon of the resource. Usually shown next to the resource name in lists and legends.\r\n * @minLength 0\r\n * @maxLength 102400\r\n */\r\n icon?: string;\r\n /** Is set true resource is not visible in catalog. Can be changed only by owner or user with admin access. */\r\n invisibleInCatalog?: boolean;\r\n /** Parent id in resources catalog. */\r\n parentId?: string;\r\n /** Resource id in resources catalog. */\r\n resourceId?: string;\r\n /** Resource tags. */\r\n tags?: string[];\r\n}\r\n\r\n/**\r\n * Configuration for the python service.\r\n */\r\nexport type PythonServiceConfigurationDc = ProxyServiceConfigurationDc & {\r\n /** PythonResourceId. */\r\n pythonResourceId?: string | null;\r\n /** Description python script method. */\r\n layerDefinitionQuery?: PythonServiceMethodDc;\r\n /** Description python script method. */\r\n featuresQuery?: PythonServiceMethodDc;\r\n};\r\n\r\n/**\r\n * Service info for a mapbox service.\r\n */\r\nexport type PythonServiceInfoDc = ProxyServiceInfoDc & object;\r\n\r\n/**\r\n * Description python script method.\r\n */\r\nexport interface PythonServiceMethodDc {\r\n /** Python script file name. */\r\n fileName?: string;\r\n /** Python script method name. */\r\n methodName?: string;\r\n /** Python script default parameters. */\r\n parameters?: any;\r\n}\r\n\r\n/**\r\n * TaskMethodConfiguration.\r\n */\r\nexport interface PythonTaskMethodConfiguration {\r\n /** Gets or sets script file name. */\r\n fileName?: string;\r\n /** Gets or sets method. */\r\n methodName?: string;\r\n /** Gets or sets method init error. */\r\n error?: string;\r\n /** Gets or sets description. */\r\n description?: string;\r\n /** Parameters. */\r\n parameters?: TaskParameter[];\r\n /** TaskReturnType. */\r\n return?: TaskReturnType;\r\n}\r\n\r\n/**\r\n * PythonTaskMethodConfigurationDc.\r\n */\r\nexport type PythonTaskMethodConfigurationDc = TaskMethodConfigurationDc & {\r\n /** Gets or sets script file name. */\r\n fileName?: string | null;\r\n /** Gets or sets method. */\r\n method?: string | null;\r\n};\r\n\r\n/**\r\n* Stream quality.\r\n\r\nLow\r\n\r\nMedium\r\n\r\nHigh\r\n*/\r\nexport enum Quality {\r\n Low = \"Low\",\r\n Medium = \"Medium\",\r\n High = \"High\",\r\n}\r\n\r\n/**\r\n * Query geometry data contract.\r\n */\r\nexport interface QueryGeometryDc {\r\n /** Query geometry operation data contract. */\r\n operation?: QueryGeometryOperationDc;\r\n /** Geometry in EWKT format. */\r\n geometry?: string;\r\n}\r\n\r\n/**\r\n * Query geometry operation data contract.\r\n */\r\nexport interface QueryGeometryOperationDc {\r\n /** Function name. */\r\n name?: string;\r\n /**\r\n * Buffer size.\r\n * @format int32\r\n */\r\n buffer?: number;\r\n /** Additional parameters. */\r\n parameters?: any[];\r\n}\r\n\r\n/**\r\n * Query history data contract.\r\n */\r\nexport interface QueryHistoryDc {\r\n /**\r\n * Date and time of request.\r\n * @format date-time\r\n */\r\n dt?: string;\r\n /**\r\n * Date and time of request started.\r\n * @format int64\r\n */\r\n elapsedMilliseconds?: number;\r\n /** Request owner. */\r\n owner?: string;\r\n /**\r\n * Returned rows.\r\n * @format int64\r\n */\r\n rowsCount?: number;\r\n /**\r\n * Total rows count.\r\n * @format int64\r\n */\r\n rowsTotalCount?: number;\r\n /** EQL requst data contract. */\r\n request?: EqlRequestDc;\r\n}\r\n\r\n/**\r\n * Configuration of a postgres feature layer service.\r\n */\r\nexport type QueryLayerServiceConfigurationDc = ServiceConfigurationBaseDc & {\r\n /** Data source name. */\r\n ds?: string | null;\r\n /** Additional data source connection. */\r\n additionalDsConnections?: AdditionalDataSourceConnectionDc[] | null;\r\n /** EQL query. */\r\n eql?: string | null;\r\n /** Saved query id. */\r\n queryId?: string | null;\r\n /** EQL parameters. */\r\n eqlParameters?: Record<string, QueryLayerServiceEqlParameterConfigurationDc>;\r\n /**\r\n * Spatial reference identifier type in geometry type column.\r\n * @format int32\r\n */\r\n srId?: number | null;\r\n /**\r\n *\r\n *\r\n * Unknown\r\n *\r\n * String\r\n *\r\n * Int32\r\n *\r\n * Int64\r\n *\r\n * Double\r\n *\r\n * DateTime\r\n *\r\n * Boolean\r\n *\r\n * Point\r\n *\r\n * LineString\r\n *\r\n * Polygon\r\n *\r\n * Multipoint\r\n *\r\n * Polyline\r\n *\r\n * H3Index\r\n *\r\n * Json\r\n *\r\n * MultiPolygon\r\n *\r\n * GeometryCollection\r\n */\r\n geometryType?: AttributeType;\r\n /** Configuration of the attribute set in a feature layer. */\r\n attributesConfiguration?: EqlAttributesConfigurationDc;\r\n /** Client style data storage. Storage isn't used by server. */\r\n clientStyle?: any;\r\n /** Condition to filter returned features. */\r\n condition?: string | null;\r\n /**\r\n * Maximum number of features, that the service can return in a single request.\r\n * @format int32\r\n */\r\n featuresLimit?: number;\r\n /** Simplify configuration information. */\r\n simplify?: SimplifyInfoDc;\r\n /** Tile geometry clipping configuration data contract. */\r\n clipping?: ClippingInfoDc;\r\n /** Create a table to use if it doesn't exists. */\r\n createTable?: boolean;\r\n};\r\n\r\n/**\r\n * EQL parameter configuration data contract.\r\n */\r\nexport interface QueryLayerServiceEqlParameterConfigurationDc {\r\n /**\r\n *\r\n *\r\n * Unknown\r\n *\r\n * String\r\n *\r\n * Int32\r\n *\r\n * Int64\r\n *\r\n * Double\r\n *\r\n * DateTime\r\n *\r\n * Boolean\r\n *\r\n * Point\r\n *\r\n * LineString\r\n *\r\n * Polygon\r\n *\r\n * Multipoint\r\n *\r\n * Polyline\r\n *\r\n * H3Index\r\n *\r\n * Json\r\n *\r\n * MultiPolygon\r\n *\r\n * GeometryCollection\r\n */\r\n type?: AttributeType;\r\n /** Is array type. */\r\n isArray?: boolean;\r\n /** Parameter alias. */\r\n alias?: string;\r\n /** Description. */\r\n description?: string;\r\n /** Name of the column containing the value. */\r\n valueColumn?: string;\r\n /** Name of the column containing the description. */\r\n descriptionColumn?: string;\r\n /** Data source name. */\r\n ds?: string;\r\n /** Additional data source connection. */\r\n additionalDsConnections?: AdditionalDataSourceConnectionDc[];\r\n /** Query text. */\r\n query?: string;\r\n /** Available values. */\r\n availableValues?: any[];\r\n /** Default value. */\r\n default?: any;\r\n /** EQL value from query configuration parameter data contract. */\r\n queryValue?: QueryLayerServiceEqlParameterQueryValueConfigurationDc;\r\n}\r\n\r\n/**\r\n * EQL value from query configuration parameter data contract.\r\n */\r\nexport interface QueryLayerServiceEqlParameterQueryValueConfigurationDc {\r\n /** Is values cached. */\r\n isCached?: boolean;\r\n /** Use only first value, not array. */\r\n isSingleValue?: boolean;\r\n /** Name of the column containing the value. */\r\n valueColumn?: string;\r\n /** Query text. */\r\n ds?: string;\r\n /** Additional data source connection. */\r\n additionalDsConnections?: AdditionalDataSourceConnectionDc[];\r\n /** Query text. */\r\n query?: string;\r\n}\r\n\r\n/**\r\n * Service info for a feature layer service.\r\n */\r\nexport interface QueryLayerServiceInfoDc {\r\n /** Information about the layer attributes and their configuration. */\r\n layerDefinition: LayerDefinitionDc;\r\n /** Provides data source type. */\r\n dataSourceType?: string;\r\n /** Copyright text. */\r\n copyrightText?: string;\r\n /** Client data storage. Storage isn't used by server. */\r\n clientData?: any;\r\n /** Client style data storage. Storage isn't used by server. */\r\n clientStyle?: any;\r\n /** Card configuration. Storage isn't used by server. */\r\n cardConfiguration?: any;\r\n /**\r\n * The type of the resource.\r\n * @minLength 1\r\n */\r\n type: string;\r\n /**\r\n * Minimum resolution that this service will be rendered on. If no resolution limits are set for the top-level\r\n * style of the service, or if no such property is available for this type of the service, 0 is returned.\r\n * @format double\r\n */\r\n minResolution?: number;\r\n /**\r\n * Maximum resolution that this service will be rendered on. If no resolution limits are set for the top-level\r\n * style of the service, or if no such property is available for this type of the service, 0 is returned.\r\n * @format double\r\n */\r\n maxResolution?: number;\r\n /**\r\n * Filtering condition for the objects in the service. If no condition set or if no such property is available\r\n * for the given service type, null is returned.\r\n */\r\n condition?: string;\r\n /**\r\n *\r\n *\r\n * unknown\r\n *\r\n * point\r\n *\r\n * polyline\r\n *\r\n * polygon\r\n *\r\n * envelope\r\n *\r\n * multipoint\r\n *\r\n * line\r\n *\r\n * ring\r\n *\r\n * multipolygon\r\n *\r\n * collection\r\n */\r\n geometryType: GeometryType;\r\n /**\r\n * Number of objects in the layer. If the count cannot be calculated or the layer does not contain objects,\r\n * 0 is returned.\r\n * @format int32\r\n */\r\n objectCount?: number;\r\n /** The category of the service. */\r\n categories?: string[];\r\n /** Configuration of the service. */\r\n configuration?:\r\n | LinearServiceConfigurationDc\r\n | PbfServiceConfigurationDc\r\n | PostgresTileCatalogServiceConfigurationDc\r\n | ProxyServiceConfigurationDc\r\n | PythonServiceConfigurationDc\r\n | QueryLayerServiceConfigurationDc\r\n | RemoteTileServiceConfigurationDc\r\n | RouteServiceConfigurationDc;\r\n /**\r\n * Name of the resource including its namespaces (names of the service managers that contain this service).\r\n * @minLength 1\r\n */\r\n name: string;\r\n /** Resource alias. */\r\n alias?: string;\r\n /** Resource owner. */\r\n owner?: string;\r\n /** Resource description. */\r\n description?: string;\r\n /**\r\n * The date when resource was created.\r\n * @format date-time\r\n */\r\n createdDate?: string;\r\n /**\r\n * The date when resource was last modified.\r\n * @format date-time\r\n */\r\n changedDate?: string;\r\n /**\r\n *\r\n *\r\n * none\r\n *\r\n * configure\r\n *\r\n * write\r\n *\r\n * read\r\n *\r\n * read,configure\r\n *\r\n * read,write\r\n *\r\n * read,write,configure\r\n */\r\n permissions?: Permissions;\r\n /** Access control list for a security object. */\r\n acl?: AccessControlListDc;\r\n /**\r\n * Base64 encoded image - icon of the resource. Usually shown next to the resource name in lists and legends.\r\n * @minLength 0\r\n * @maxLength 102400\r\n */\r\n icon?: string;\r\n /** Is set true resource is not visible in catalog. Can be changed only by owner or user with admin access. */\r\n invisibleInCatalog?: boolean;\r\n /** Parent id in resources catalog. */\r\n parentId?: string;\r\n /** Resource id in resources catalog. */\r\n resourceId?: string;\r\n /** Resource tags. */\r\n tags?: string[];\r\n}\r\n\r\nexport interface QueryTokenDc {\r\n username?: string;\r\n token?: string;\r\n /** @format date-time */\r\n dtCreate?: string;\r\n /** @format date-time */\r\n validBefore?: string;\r\n /** @format date-time */\r\n revokeDt?: string;\r\n isActive?: boolean;\r\n}\r\n\r\n/**\r\n * RasterBandMetaDc.\r\n */\r\nexport interface RasterBandMetaDc {\r\n /** BandType. */\r\n bandType?: string;\r\n /**\r\n * ColorMin.\r\n * @format double\r\n */\r\n colorMin?: number;\r\n /**\r\n * ColorMax.\r\n * @format double\r\n */\r\n colorMax?: number;\r\n /**\r\n * Statistic mean.\r\n * @format double\r\n */\r\n mean?: number;\r\n /**\r\n * Statistic STDDEV.\r\n * @format double\r\n */\r\n stddev?: number;\r\n /**\r\n * Data step size converted to range 0-255.\r\n * @format double\r\n */\r\n dataSterSize?: number;\r\n /**\r\n * BucketCount.\r\n * @format int32\r\n */\r\n bucketCount?: number;\r\n /**\r\n * HistValueMin.\r\n * @format double\r\n */\r\n histValueMin?: number;\r\n /**\r\n * HistValueMax.\r\n * @format double\r\n */\r\n histValueMax?: number;\r\n /** Histogram. */\r\n histogram?: number[];\r\n /** Data histogram. */\r\n dataHistogram?: Record<string, number>;\r\n}\r\n\r\n/**\r\n * RasterMetaDc.\r\n */\r\nexport interface RasterMetaDc {\r\n /** Layer name. */\r\n layerName?: string;\r\n /**\r\n * Width.\r\n * @format int32\r\n */\r\n width?: number;\r\n /**\r\n * Height.\r\n * @format int32\r\n */\r\n height?: number;\r\n /**\r\n * BandCount.\r\n * @format int32\r\n */\r\n bandCount?: number;\r\n /**\r\n * Raster size in bytes.\r\n * @format int64\r\n */\r\n rasterSizeInBytes?: number;\r\n /** BoundingBox. */\r\n boundingBox?: number[];\r\n /**\r\n * Spatial reference.\r\n * @format int32\r\n */\r\n srId?: number;\r\n /** Bands. */\r\n bands?: RasterBandMetaDc[];\r\n}\r\n\r\n/**\r\n * Refresh token request data contract.\r\n */\r\nexport interface RefreshTokenDc {\r\n /** Refresh token. */\r\n refreshToken?: string;\r\n}\r\n\r\n/**\r\n * Create client data contract.\r\n */\r\nexport interface RegisterClientRequestDc {\r\n /**\r\n * Name of the client.\r\n * @minLength 1\r\n */\r\n client_name: string;\r\n /**\r\n * Redirect uri.\r\n * @minLength 1\r\n */\r\n redirect_uri: string;\r\n /** Client uri. */\r\n client_uri?: string;\r\n}\r\n\r\n/**\r\n * Create client response dc.\r\n */\r\nexport interface RegisterClientResponseDc {\r\n /**\r\n * Client id.\r\n * @format uuid\r\n */\r\n client_id?: string;\r\n /** Client secret. */\r\n secret?: string;\r\n /** Client name. */\r\n client_name?: string;\r\n}\r\n\r\n/**\r\n * Data contract for register new user.\r\n */\r\nexport interface RegisterUserDc {\r\n /** Username. */\r\n username?: string;\r\n /**\r\n * Email.\r\n * @format email\r\n */\r\n email?: string;\r\n /** Phone number. */\r\n phone?: string;\r\n /** Password. */\r\n password?: string;\r\n /** First name. */\r\n first_name?: string;\r\n /** Last name. */\r\n last_name?: string;\r\n /** Patronymic. */\r\n patronymic?: string;\r\n /** Gets or sets company. */\r\n company?: string;\r\n /** Has newsletter subscription. */\r\n is_subscribed?: boolean;\r\n}\r\n\r\n/**\r\n* \r\n\r\nInit\r\n\r\nProcess\r\n\r\nCompleted\r\n\r\nInterrupted\r\n\r\nError\r\n\r\nTimeout\r\n\r\nWaiting\r\n\r\nInQueue\r\n\r\nUnknown\r\n*/\r\nexport enum RemoteTaskStatus {\r\n Init = \"Init\",\r\n Process = \"Process\",\r\n Completed = \"Completed\",\r\n Interrupted = \"Interrupted\",\r\n Error = \"Error\",\r\n Timeout = \"Timeout\",\r\n Waiting = \"Waiting\",\r\n InQueue = \"InQueue\",\r\n Unknown = \"Unknown\",\r\n}\r\n\r\n/**\r\n * Configuration for the remote tile service.\r\n */\r\nexport type RemoteTileServiceConfigurationDc = ServiceConfigurationBaseDc & {\r\n /** Tile info structure. */\r\n tileInfo?: TileInfoDc;\r\n /**\r\n * SourceBatch url mask. Like http://{0}.website.ru/{1}/{2}/{3}.png\r\n * Where: {0} - SubDomains, {1} - Z, {2} - X, {3} - Y.\r\n * @minLength 1\r\n */\r\n urlFormat: string;\r\n /**\r\n * Max tile count for caching.\r\n * @format int32\r\n * @default 50000\r\n */\r\n tileCacheLimit?: number;\r\n /** If set true cache tiles in redis cache. */\r\n useRedisCache?: boolean;\r\n /**\r\n * Amount of time cache expire in seconds.\r\n * @format int32\r\n */\r\n cacheExpire?: number;\r\n /**\r\n * Subdomains. To get tiles from different servers.\r\n * Will be inserted into the UrlFormat {0}.\r\n */\r\n subDomains?: string[] | null;\r\n /** Allows the client to receive tiles directly from the source server. */\r\n allowDirectAccess?: boolean;\r\n /** @format int32 */\r\n RequestTimeout?: number;\r\n /** Use proxy HttpClient. */\r\n useProxyHttpClient?: boolean;\r\n};\r\n\r\n/**\r\n * Service info for a tile service.\r\n */\r\nexport interface RemoteTileServiceInfoDc {\r\n /** Tile info structure. */\r\n tileInfo: TileInfoDc;\r\n /** Copyright text. */\r\n copyrightText?: string;\r\n /** SourceBatch server address. */\r\n sourceUrl?: string;\r\n /** Mask for getting tiles in default form www.{s}.tiles.com/{z}/{x}/{y}.png. */\r\n sourceUrlMask?: string;\r\n /** SourceBatch servers, what can be placed at source url mask, instead {s}. */\r\n sourceServers?: string[];\r\n /** Client data storage. Storage isn't used by server. */\r\n clientData?: any;\r\n /** Card configuration. Storage isn't used by server. */\r\n cardConfiguration?: any;\r\n /**\r\n * The type of the resource.\r\n * @minLength 1\r\n */\r\n type: string;\r\n /**\r\n * Minimum resolution that this service will be rendered on. If no resolution limits are set for the top-level\r\n * style of the service, or if no such property is available for this type of the service, 0 is returned.\r\n * @format double\r\n */\r\n minResolution?: number;\r\n /**\r\n * Maximum resolution that this service will be rendered on. If no resolution limits are set for the top-level\r\n * style of the service, or if no such property is available for this type of the service, 0 is returned.\r\n * @format double\r\n */\r\n maxResolution?: number;\r\n /**\r\n * Filtering condition for the objects in the service. If no condition set or if no such property is available\r\n * for the given service type, null is returned.\r\n */\r\n condition?: string;\r\n /**\r\n *\r\n *\r\n * unknown\r\n *\r\n * point\r\n *\r\n * polyline\r\n *\r\n * polygon\r\n *\r\n * envelope\r\n *\r\n * multipoint\r\n *\r\n * line\r\n *\r\n * ring\r\n *\r\n * multipolygon\r\n *\r\n * collection\r\n */\r\n geometryType: GeometryType;\r\n /**\r\n * Number of objects in the layer. If the count cannot be calculated or the layer does not contain objects,\r\n * 0 is returned.\r\n * @format int32\r\n */\r\n objectCount?: number;\r\n /** The category of the service. */\r\n categories?: string[];\r\n /** Configuration of the service. */\r\n configuration?:\r\n | LinearServiceConfigurationDc\r\n | PbfServiceConfigurationDc\r\n | PostgresTileCatalogServiceConfigurationDc\r\n | ProxyServiceConfigurationDc\r\n | PythonServiceConfigurationDc\r\n | QueryLayerServiceConfigurationDc\r\n | RemoteTileServiceConfigurationDc\r\n | RouteServiceConfigurationDc;\r\n /**\r\n * Name of the resource including its namespaces (names of the service managers that contain this service).\r\n * @minLength 1\r\n */\r\n name: string;\r\n /** Resource alias. */\r\n alias?: string;\r\n /** Resource owner. */\r\n owner?: string;\r\n /** Resource description. */\r\n description?: string;\r\n /**\r\n * The date when resource was created.\r\n * @format date-time\r\n */\r\n createdDate?: string;\r\n /**\r\n * The date when resource was last modified.\r\n * @format date-time\r\n */\r\n changedDate?: string;\r\n /**\r\n *\r\n *\r\n * none\r\n *\r\n * configure\r\n *\r\n * write\r\n *\r\n * read\r\n *\r\n * read,configure\r\n *\r\n * read,write\r\n *\r\n * read,write,configure\r\n */\r\n permissions?: Permissions;\r\n /** Access control list for a security object. */\r\n acl?: AccessControlListDc;\r\n /**\r\n * Base64 encoded image - icon of the resource. Usually shown next to the resource name in lists and legends.\r\n * @minLength 0\r\n * @maxLength 102400\r\n */\r\n icon?: string;\r\n /** Is set true resource is not visible in catalog. Can be changed only by owner or user with admin access. */\r\n invisibleInCatalog?: boolean;\r\n /** Parent id in resources catalog. */\r\n parentId?: string;\r\n /** Resource id in resources catalog. */\r\n resourceId?: string;\r\n /** Resource tags. */\r\n tags?: string[];\r\n}\r\n\r\n/**\r\n * Provides resource and its acl.\r\n */\r\nexport interface ResourceAclDc {\r\n /**\r\n * Name of the resource to apply acl.\r\n * @minLength 1\r\n */\r\n objectName: string;\r\n /** All available permissions list. */\r\n data: RolePermissionDc[];\r\n}\r\n\r\n/**\r\n * The `ResourceDependenciesDc` describes resource dependencies.\r\n */\r\nexport interface ResourceDependenciesDc {\r\n /**\r\n * Resource name.\r\n * @minLength 1\r\n */\r\n name: string;\r\n /** A collection of resource dependencies. */\r\n dependencies: DependentResourceDc[];\r\n}\r\n\r\n/**\r\n * The `ResourceInfoDc` provides information about resource.\r\n */\r\nexport interface ResourceInfoDc {\r\n /**\r\n * Name of the resource including its namespaces (names of the service managers that contain this service).\r\n * @minLength 1\r\n */\r\n name: string;\r\n /** Resource alias. */\r\n alias?: string;\r\n /** Resource owner. */\r\n owner?: string;\r\n /** Resource description. */\r\n description?: string;\r\n /**\r\n * The date when resource was created.\r\n * @format date-time\r\n */\r\n createdDate?: string;\r\n /**\r\n * The date when resource was last modified.\r\n * @format date-time\r\n */\r\n changedDate?: string;\r\n /**\r\n *\r\n *\r\n * none\r\n *\r\n * configure\r\n *\r\n * write\r\n *\r\n * read\r\n *\r\n * read,configure\r\n *\r\n * read,write\r\n *\r\n * read,write,configure\r\n */\r\n permissions?: Permissions;\r\n /** Access control list for a security object. */\r\n acl?: AccessControlListDc;\r\n /**\r\n * Base64 encoded image - icon of the resource. Usually shown next to the resource name in lists and legends.\r\n * @minLength 0\r\n * @maxLength 102400\r\n */\r\n icon?: string;\r\n /** Is set true resource is not visible in catalog. Can be changed only by owner or user with admin access. */\r\n invisibleInCatalog?: boolean;\r\n /** Parent id in resources catalog. */\r\n parentId?: string;\r\n /** Resource id in resources catalog. */\r\n resourceId?: string;\r\n /** Resource tags. */\r\n tags?: string[];\r\n}\r\n\r\n/**\r\n * Resource parent.\r\n */\r\nexport interface ResourceParentDc {\r\n /** Resource id. */\r\n resourceId?: string;\r\n /** Resource name. */\r\n name?: string;\r\n /** Resource path. */\r\n path?: string;\r\n}\r\n\r\n/**\r\n* Resources types filter.\r\n\r\nRemoteTileService\r\n\r\nProxyService\r\n\r\nQueryLayerService\r\n\r\nTileCatalogTable\r\n*/\r\nexport enum ResourceSubTypeFilter {\r\n RemoteTileService = \"RemoteTileService\",\r\n ProxyService = \"ProxyService\",\r\n QueryLayerService = \"QueryLayerService\",\r\n TileCatalogTable = \"TileCatalogTable\",\r\n}\r\n\r\n/**\r\n* \r\n\r\nUnknown\r\n\r\ntable\r\n\r\nlayer\r\n\r\nproject\r\n\r\nfile\r\n\r\nfeature\r\n\r\ntag\r\n\r\ndatasource\r\n*/\r\nexport enum ResourceType {\r\n Unknown = \"Unknown\",\r\n Table = \"table\",\r\n Layer = \"layer\",\r\n Project = \"project\",\r\n File = \"file\",\r\n Feature = \"feature\",\r\n Tag = \"tag\",\r\n DataSource = \"datasource\",\r\n}\r\n\r\n/**\r\n* Resources types filter.\r\n\r\nMap\r\n\r\nLayer\r\n\r\nTable\r\n\r\nRasterCatalog\r\n\r\nProxyService\r\n\r\nRemoteTileService\r\n\r\nFile\r\n\r\nDataSource\r\n\r\nTaskPrototype\r\n\r\nDirectory\r\n*/\r\nexport enum ResourceTypeFilter {\r\n Map = \"Map\",\r\n Layer = \"Layer\",\r\n Table = \"Table\",\r\n RasterCatalog = \"RasterCatalog\",\r\n ProxyService = \"ProxyService\",\r\n RemoteTileService = \"RemoteTileService\",\r\n File = \"File\",\r\n DataSource = \"DataSource\",\r\n TaskPrototype = \"TaskPrototype\",\r\n Directory = \"Directory\",\r\n}\r\n\r\nexport enum ResourceTypeLink {\r\n Table = \"tables\",\r\n Layer = \"layers\",\r\n Project = \"projects\",\r\n}\r\n\r\n/**\r\n* \r\n\r\ncode\r\n\r\ntoken\r\n*/\r\nexport enum ResponseType {\r\n Code = \"code\",\r\n Token = \"token\",\r\n}\r\n\r\n/**\r\n * Short role information.\r\n */\r\nexport interface RoleInfoDc {\r\n /** Username. */\r\n name?: string;\r\n /** Alias. */\r\n alias?: string;\r\n /** The number of users in the role. */\r\n users?: string[];\r\n /**\r\n * Gets or sets date and time of creation.\r\n * @format date-time\r\n */\r\n dtCreate?: string;\r\n /**\r\n * Gets or sets date and time of last modifing.\r\n * @format date-time\r\n */\r\n dtModify?: string;\r\n /**\r\n * Gets or sets id of modified user.\r\n * @format int32\r\n */\r\n idModifyUser?: number;\r\n}\r\n\r\n/**\r\n * Roles permission.\r\n */\r\nexport interface RolePermissionDc {\r\n /**\r\n * Role name.\r\n * @minLength 1\r\n */\r\n role: string;\r\n /**\r\n *\r\n *\r\n * none\r\n *\r\n * configure\r\n *\r\n * write\r\n *\r\n * read\r\n *\r\n * read,configure\r\n *\r\n * read,write\r\n *\r\n * read,write,configure\r\n */\r\n permissions: Permissions;\r\n}\r\n\r\n/**\r\n * Route service configuration Dc.\r\n */\r\nexport type RouteServiceConfigurationDc = ServiceConfigurationBaseDc & {\r\n /** Configuration of the attributes of the layer. */\r\n attributesConfiguration: AttributesConfigurationDc | EqlAttributesConfigurationDc;\r\n /** Client style data storage. Storage isn't used by server. */\r\n clientStyle?: any;\r\n /** Condition to filter returned features. */\r\n condition?: string | null;\r\n /**\r\n * Maximum number of features, that the service can return in a single request.\r\n * @format int32\r\n */\r\n featuresLimit?: number;\r\n};\r\n\r\n/**\r\n * RouteTableConfigurationDc.\r\n */\r\nexport type RouteTableConfigurationDc = TableConfigurationBaseDc & {\r\n type?: string | null;\r\n};\r\n\r\n/**\r\n * S3 data source settings.\r\n */\r\nexport type S3DataSourceDc = DataSourceDc & {\r\n /**\r\n *\r\n *\r\n * Postgres\r\n *\r\n * Trino\r\n *\r\n * S3\r\n *\r\n * GisServer\r\n *\r\n * Spark\r\n *\r\n * Archive\r\n */\r\n type?: DataSourceType;\r\n /** Endpoint. */\r\n endpoint?: string | null;\r\n /** Secret key. */\r\n secretKey?: string | null;\r\n /** Access key. */\r\n accessKey?: string | null;\r\n /** Region. */\r\n region?: string | null;\r\n /**\r\n * Port.\r\n * @format int32\r\n */\r\n port?: number | null;\r\n};\r\n\r\n/**\r\n * S3 data source info.\r\n */\r\nexport type S3DataSourceInfoDc = DataSourceInfoDc & {\r\n /** Endpoint. */\r\n endpoint?: string | null;\r\n /** Secret key. */\r\n secretKey?: string | null;\r\n /** Access key. */\r\n accessKey?: string | null;\r\n /** Region. */\r\n region?: string | null;\r\n};\r\n\r\n/**\r\n * SearchResults.\r\n */\r\nexport interface SearchResultsDtoTaskDto {\r\n /**\r\n * Count.\r\n * @format int64\r\n */\r\n count?: number;\r\n /** Results. */\r\n results?: TaskDto[];\r\n}\r\n\r\n/**\r\n * SearchResults.\r\n */\r\nexport interface SearchResultsDtoTaskPrototypeDto {\r\n /**\r\n * Count.\r\n * @format int64\r\n */\r\n count?: number;\r\n /** Results. */\r\n results?: TaskPrototypeDto[];\r\n}\r\n\r\n/**\r\n * Suggest user information.\r\n */\r\nexport interface SearchedUserDc {\r\n /** Username. */\r\n username?: string;\r\n /** Own user role. */\r\n ownRole?: string;\r\n /** Photo. */\r\n photo?: string;\r\n}\r\n\r\n/**\r\n * Common fields for service configurations.\r\n */\r\nexport interface ServiceConfigurationBaseDc {\r\n /**\r\n * Name of the service.\r\n * @minLength 1\r\n */\r\n name: string;\r\n /** Human friendly name of the service. */\r\n alias?: string;\r\n /** Description of the service. */\r\n description?: string;\r\n /** Access control list for a security object. */\r\n acl?: AccessControlListDc;\r\n /**\r\n * Base64 encoded image - icon of the resource.\r\n * @minLength 0\r\n * @maxLength 102400\r\n */\r\n icon?: string;\r\n /**\r\n * If the owner user is set, a configuration will be created for that user.\r\n * Administrator permissions are required to perform this operation.\r\n */\r\n owner?: string;\r\n /** Copyright text. */\r\n copyrightText?: string;\r\n /** A set of layer tags. */\r\n tags?: string[];\r\n /** Is set true resource is not visible in catalog. Can be changed only by owner or user with admin access. */\r\n invisibleInCatalog?: boolean;\r\n /** Client data storage. Storage isn't used by server. */\r\n clientData?: any;\r\n /** Card configuration. Storage isn't used by server. */\r\n cardConfiguration?: any;\r\n /** Parent resource id. */\r\n parentId?: string;\r\n}\r\n\r\n/**\r\n * The `ServiceInfoDc` provides information about the service.\r\n */\r\nexport type ServiceInfoDc = ResourceInfoDc & {\r\n /**\r\n * The type of the resource.\r\n * @minLength 1\r\n */\r\n type: string;\r\n /**\r\n * Minimum resolution that this service will be rendered on. If no resolution limits are set for the top-level\r\n * style of the service, or if no such property is available for this type of the service, 0 is returned.\r\n * @format double\r\n */\r\n minResolution?: number;\r\n /**\r\n * Maximum resolution that this service will be rendered on. If no resolution limits are set for the top-level\r\n * style of the service, or if no such property is available for this type of the service, 0 is returned.\r\n * @format double\r\n */\r\n maxResolution?: number;\r\n /**\r\n * Filtering condition for the objects in the service. If no condition set or if no such property is available\r\n * for the given service type, null is returned.\r\n */\r\n condition?: string | null;\r\n /**\r\n *\r\n *\r\n * unknown\r\n *\r\n * point\r\n *\r\n * polyline\r\n *\r\n * polygon\r\n *\r\n * envelope\r\n *\r\n * multipoint\r\n *\r\n * line\r\n *\r\n * ring\r\n *\r\n * multipolygon\r\n *\r\n * collection\r\n */\r\n geometryType: GeometryType;\r\n /**\r\n * Number of objects in the layer. If the count cannot be calculated or the layer does not contain objects,\r\n * 0 is returned.\r\n * @format int32\r\n */\r\n objectCount?: number;\r\n /** The category of the service. */\r\n categories?: string[] | null;\r\n /** Configuration of the service. */\r\n configuration?:\r\n | LinearServiceConfigurationDc\r\n | PbfServiceConfigurationDc\r\n | PostgresTileCatalogServiceConfigurationDc\r\n | ProxyServiceConfigurationDc\r\n | PythonServiceConfigurationDc\r\n | QueryLayerServiceConfigurationDc\r\n | RemoteTileServiceConfigurationDc\r\n | RouteServiceConfigurationDc\r\n | null;\r\n};\r\n\r\n/**\r\n * An entry in the service list response.\r\n */\r\nexport interface ServiceListItemDc {\r\n /** Name of the resource. */\r\n name?: string;\r\n /** Type of the service. */\r\n type?: string;\r\n /** Alias of the resource. */\r\n alias?: string;\r\n /** Description of the resource. */\r\n description?: string;\r\n /** System name of the resource owner. */\r\n owner?: string;\r\n /** User name of the resource owner (human friendly name). */\r\n ownerName?: string;\r\n /**\r\n * The date and time the resource was created.\r\n * @format date-time\r\n */\r\n createdDate?: string;\r\n /**\r\n * The date and time the resource was modified the last time.\r\n * @format date-time\r\n */\r\n changedDate?: string;\r\n /**\r\n *\r\n *\r\n * none\r\n *\r\n * configure\r\n *\r\n * write\r\n *\r\n * read\r\n *\r\n * read,configure\r\n *\r\n * read,write\r\n *\r\n * read,write,configure\r\n */\r\n permissions?: Permissions;\r\n /**\r\n * Minimum resolution that this service will be rendered on. If no resolution limits are set for the top-level\r\n * style of the service, or if no such property is available for this type of the service, 0 is returned.\r\n * @format double\r\n */\r\n minResolution?: number;\r\n /**\r\n * Maximum resolution that this service will be rendered on. If no resolution limits are set for the top-level\r\n * style of the service, or if no such property is available for this type of the service, 0 is returned.\r\n * @format double\r\n */\r\n maxResolution?: number;\r\n /**\r\n * Filtering condition for the objects in the service. If no condition set or if no such property is available\r\n * for the given service type, null is returned.\r\n */\r\n condition?: string;\r\n /**\r\n *\r\n *\r\n * unknown\r\n *\r\n * point\r\n *\r\n * polyline\r\n *\r\n * polygon\r\n *\r\n * envelope\r\n *\r\n * multipoint\r\n *\r\n * line\r\n *\r\n * ring\r\n *\r\n * multipolygon\r\n *\r\n * collection\r\n */\r\n geometryType?: GeometryType;\r\n /** Provides data source type info. */\r\n dataSourceType?: string;\r\n /** A set of tags. */\r\n tags?: string[];\r\n /** Envelope geometry. */\r\n envelope?: EnvelopeDc;\r\n /** Is set true resource is not visible in catalog. Can be changed only by owner or user with admin access. */\r\n invisibleInCatalog?: boolean;\r\n}\r\n\r\n/**\r\n * Simplify configuration information.\r\n */\r\nexport interface SimplifyInfoDc {\r\n /** Snap grid cell size by scale. */\r\n scaleItems?: Record<string, SimplifyInfoItemDc>;\r\n}\r\n\r\n/**\r\n * Simplify configuration information.\r\n */\r\nexport interface SimplifyInfoItemDc {\r\n /**\r\n *\r\n *\r\n * Basic\r\n *\r\n * PreserveTopology\r\n *\r\n * VW\r\n */\r\n simplifyType?: SimplifyType;\r\n /**\r\n * Tolerance.\r\n * @format float\r\n */\r\n simplifyTolerance?: number;\r\n /** The \"preserve collapsed\" flag will retain objects that would otherwise be too small given the tolerance. */\r\n simplifyPreserveCollapsed?: boolean;\r\n /**\r\n * Snap grid cell size.\r\n * @format double\r\n */\r\n snapCellSize?: number;\r\n}\r\n\r\n/**\r\n* \r\n\r\nBasic\r\n\r\nPreserveTopology\r\n\r\nVW\r\n*/\r\nexport enum SimplifyType {\r\n Basic = \"Basic\",\r\n PreserveTopology = \"PreserveTopology\",\r\n VW = \"VW\",\r\n}\r\n\r\n/**\r\n * User social network information.\r\n */\r\nexport interface SocialNetworkInfoDc {\r\n /** External user identificator. */\r\n userId?: string;\r\n /** External provider name. */\r\n providerName?: string;\r\n}\r\n\r\n/**\r\n * SpTaskMethodConfiguration.\r\n */\r\nexport interface SpTaskMethodConfiguration {\r\n /** Gets or sets method. */\r\n method?: string;\r\n /** Gets or sets description. */\r\n description?: string;\r\n /** Parameters. */\r\n parameters?: TaskParameter[];\r\n /** TaskReturnType. */\r\n return?: TaskReturnType;\r\n}\r\n\r\n/**\r\n * SpTaskMethodConfiguration.\r\n */\r\nexport type SpTaskMethodConfigurationDc = TaskMethodConfigurationDc & {\r\n /** Gets or sets method. */\r\n method?: string | null;\r\n};\r\n\r\n/**\r\n * Postgres connection data source connection.\r\n */\r\nexport type SparkDataSourceDc = DataSourceDc & {\r\n /**\r\n *\r\n *\r\n * Postgres\r\n *\r\n * Trino\r\n *\r\n * S3\r\n *\r\n * GisServer\r\n *\r\n * Spark\r\n *\r\n * Archive\r\n */\r\n type?: DataSourceType;\r\n /** Endpoint. */\r\n endpoint?: string | null;\r\n /** User name. */\r\n userName?: string | null;\r\n /** Bearer token. */\r\n token?: string | null;\r\n};\r\n\r\n/**\r\n * Postgres data source info.\r\n */\r\nexport type SparkDataSourceInfoDc = DataSourceInfoDc & {\r\n /** Endpoint. */\r\n endpoint?: string | null;\r\n /** User name. */\r\n username?: string | null;\r\n /** Bearer token. */\r\n token?: string | null;\r\n};\r\n\r\n/**\r\n * Spatial reference information data contract.\r\n */\r\nexport interface SrInfo {\r\n /** Auth name. */\r\n authName?: string;\r\n /**\r\n * Code.\r\n * @format int32\r\n */\r\n code?: number;\r\n /** Name. */\r\n name?: string;\r\n}\r\n\r\n/**\r\n * Statistics result.\r\n */\r\nexport interface StatisticsDc {\r\n /** Statistics result. */\r\n statisticsResult: StatisticsResultObject[];\r\n}\r\n\r\n/**\r\n * Statistics result.\r\n */\r\nexport interface StatisticsResultObject {\r\n /**\r\n *\r\n *\r\n * None\r\n *\r\n * Array\r\n *\r\n * Min\r\n *\r\n * Max\r\n *\r\n * Avg\r\n *\r\n * Sum\r\n *\r\n * Extent\r\n *\r\n * H3\r\n *\r\n * Count\r\n *\r\n * TotalCount\r\n *\r\n * DistinctCount\r\n *\r\n * First\r\n *\r\n * Last\r\n *\r\n * Median\r\n *\r\n * Mod\r\n *\r\n * StdDeviation\r\n *\r\n * SumOfProduct\r\n *\r\n * OnlyValue\r\n *\r\n * WeightedAvg\r\n *\r\n * DensityIndicators\r\n *\r\n * DividedSum\r\n */\r\n type?: AggregationFunction;\r\n /** Value. */\r\n value?: any;\r\n}\r\n\r\n/**\r\n* \r\n\r\nNone\r\n\r\nImage\r\n\r\nPkkCode\r\n\r\nAttachments\r\n*/\r\nexport enum StringSubType {\r\n None = \"None\",\r\n Image = \"Image\",\r\n PkkCode = \"PkkCode\",\r\n Attachments = \"Attachments\",\r\n}\r\n\r\n/**\r\n * SubTaskSettingsDto.\r\n */\r\nexport interface SubTaskSettingsDto {\r\n /**\r\n * Order.\r\n * @format int32\r\n */\r\n order?: number;\r\n /** Type. */\r\n type?: string;\r\n /** StartParameters. */\r\n startParameters?: any;\r\n}\r\n\r\n/**\r\n * SubTasksDto.\r\n */\r\nexport interface SubTasksDto {\r\n /**\r\n * Id.\r\n * @format uuid\r\n */\r\n id?: string;\r\n /**\r\n * Order.\r\n * @format int32\r\n */\r\n order?: number;\r\n /** Type. */\r\n type?: string;\r\n /**\r\n * Started.\r\n * @format date-time\r\n */\r\n started?: string;\r\n /**\r\n * Ended.\r\n * @format date-time\r\n */\r\n ended?: string;\r\n /**\r\n *\r\n *\r\n * Init\r\n *\r\n * Process\r\n *\r\n * Completed\r\n *\r\n * Interrupted\r\n *\r\n * Error\r\n *\r\n * Timeout\r\n *\r\n * Waiting\r\n *\r\n * InQueue\r\n *\r\n * Unknown\r\n */\r\n status?: RemoteTaskStatus;\r\n /**\r\n * Process.\r\n * @format int64\r\n */\r\n process?: number;\r\n /**\r\n * Max.\r\n * @format int64\r\n */\r\n max?: number;\r\n /** ErrorMessage. */\r\n errorMessage?: string;\r\n /** Results. */\r\n results?: Record<string, any>;\r\n}\r\n\r\n/**\r\n * Symbol category data contract.\r\n */\r\nexport interface SymbolCategoryInfoDc {\r\n /**\r\n * Id.\r\n * @format int32\r\n */\r\n id?: number;\r\n /** Name. */\r\n name?: string;\r\n /**\r\n * Parent category id.\r\n * @format int32\r\n */\r\n parentId?: number;\r\n}\r\n\r\n/**\r\n * Symbols.\r\n */\r\nexport interface SymbolInfoDc {\r\n /**\r\n * Primary key.\r\n * @format int32\r\n */\r\n id?: number;\r\n /** Symbol name. */\r\n name?: string;\r\n /** Symbol type. */\r\n type?: string;\r\n /** Symbol geometry type. */\r\n geometryType?: string;\r\n /** Is substrate symbol. */\r\n form?: boolean;\r\n /** Symbol data. */\r\n data?: string;\r\n /**\r\n * Symbol category id.\r\n * @format int32\r\n */\r\n categoryId?: number;\r\n}\r\n\r\n/**\r\n * Common fields for table configurations.\r\n */\r\nexport interface TableConfigurationBaseDc {\r\n /** Type of the configuration. */\r\n type?: string;\r\n}\r\n\r\n/**\r\n * Table description.\r\n */\r\nexport type TableInfoDc = ResourceInfoDc & {\r\n /** System table name. */\r\n systemName?: string | null;\r\n /**\r\n * Row count.\r\n * @format int64\r\n */\r\n rowCount?: number;\r\n /** The geometry of the table. */\r\n geometries?: GeometryType[] | null;\r\n /** The type of the table. */\r\n type?: string | null;\r\n /** Configuration of the table. */\r\n configuration?:\r\n | DefaultTableConfigurationDc\r\n | MaterializedViewConfigurationDc\r\n | RouteTableConfigurationDc\r\n | TileCatalogTableConfigurationDc\r\n | ViewConfigurationDc\r\n | null;\r\n};\r\n\r\n/**\r\n * Tags filter.\r\n */\r\nexport interface TagsFilterDc {\r\n /** Tags set. */\r\n tags?: string[];\r\n /**\r\n * AND vs OR. The AND operator displays a record if all the conditions are TRUE.\r\n * The OR operator displays a record if any of the conditions are TRUE.\r\n */\r\n useAnd?: boolean;\r\n}\r\n\r\n/**\r\n * TaskConfigurationDc.\r\n */\r\nexport interface TaskConfigurationDc {\r\n /**\r\n * TaskPrototypeSubType.\r\n *\r\n * SpTask\r\n *\r\n * PythonTask\r\n */\r\n taskResourceSubType?: TaskResourceSubType;\r\n /** TaskType. */\r\n taskType?: string;\r\n /** Description. */\r\n description?: string;\r\n /** ImportMethods. */\r\n importMethods?: string[];\r\n /** UserConfiguration. */\r\n userConfiguration?: (PythonTaskMethodConfigurationDc | SpTaskMethodConfigurationDc)[];\r\n /** DefaultConfiguration. */\r\n defaultConfiguration?: (PythonTaskMethodConfigurationDc | SpTaskMethodConfigurationDc)[];\r\n /** User ui configuration. */\r\n uiConfiguration?: any;\r\n}\r\n\r\n/**\r\n * TaskDto.\r\n */\r\nexport interface TaskDto {\r\n /**\r\n * Id.\r\n * @format uuid\r\n */\r\n id?: string;\r\n /**\r\n *\r\n *\r\n * Init\r\n *\r\n * Process\r\n *\r\n * Completed\r\n *\r\n * Interrupted\r\n *\r\n * Error\r\n *\r\n * Timeout\r\n *\r\n * Waiting\r\n *\r\n * InQueue\r\n *\r\n * Unknown\r\n */\r\n status?: RemoteTaskStatus;\r\n /**\r\n * Started.\r\n * @format date-time\r\n */\r\n started?: string;\r\n /**\r\n * Ended.\r\n * @format date-time\r\n */\r\n ended?: string;\r\n /** ForceExecution. */\r\n forceExecution?: boolean;\r\n}\r\n\r\n/**\r\n * TaskMethodConfiguration.\r\n */\r\nexport interface TaskMethodConfigurationDc {\r\n /** Gets or sets description. */\r\n description?: string;\r\n /** Parameters. */\r\n parameters?: TaskParameterDc[];\r\n /** TaskReturnType. */\r\n return?: TaskReturnType;\r\n}\r\n\r\n/**\r\n * TaskParameter.\r\n */\r\nexport interface TaskParameter {\r\n /** Name. */\r\n name?: string;\r\n /** Gets or sets description. */\r\n description?: string;\r\n /**\r\n *\r\n *\r\n * Int32\r\n *\r\n * Int64\r\n *\r\n * Double\r\n *\r\n * String\r\n *\r\n * Boolean\r\n *\r\n * DateTime\r\n *\r\n * Point\r\n *\r\n * Geometry\r\n *\r\n * Polyline\r\n *\r\n * MultiPolygon\r\n *\r\n * Polygon\r\n *\r\n * Multipoint\r\n *\r\n * IntergerArray\r\n *\r\n * DoubleArray\r\n *\r\n * StringArray\r\n *\r\n * SourceEql\r\n *\r\n * Layer\r\n *\r\n * Table\r\n *\r\n * Folder\r\n *\r\n * Json\r\n *\r\n * Attribute\r\n *\r\n * AttributeArray\r\n */\r\n type?: WorkerSettingsFieldType;\r\n /** Lookup values. */\r\n lookupValues?: Record<string, string | null>;\r\n /** ChildrenFields. */\r\n childrenFields?: Record<string, WorkerSettingsField[] | null>;\r\n /** Default value. */\r\n default?: any;\r\n /** TaskParameterRange. */\r\n range?: TaskParameterRange;\r\n /** Nullable. */\r\n nullable?: boolean;\r\n}\r\n\r\n/**\r\n * TaskParameterDc.\r\n */\r\nexport interface TaskParameterDc {\r\n /** Name. */\r\n name?: string;\r\n /** Gets or sets description. */\r\n description?: string;\r\n /**\r\n *\r\n *\r\n * Int32\r\n *\r\n * Int64\r\n *\r\n * Double\r\n *\r\n * String\r\n *\r\n * Boolean\r\n *\r\n * DateTime\r\n *\r\n * Point\r\n *\r\n * Geometry\r\n *\r\n * Polyline\r\n *\r\n * MultiPolygon\r\n *\r\n * Polygon\r\n *\r\n * Multipoint\r\n *\r\n * IntergerArray\r\n *\r\n * DoubleArray\r\n *\r\n * StringArray\r\n *\r\n * SourceEql\r\n *\r\n * Layer\r\n *\r\n * Table\r\n *\r\n * Folder\r\n *\r\n * Json\r\n *\r\n * Attribute\r\n *\r\n * AttributeArray\r\n */\r\n type?: WorkerSettingsFieldType;\r\n /** Lookup values. */\r\n lookupValues?: Record<string, string | null>;\r\n /** ChildrenFields. */\r\n childrenFields?: Record<string, WorkerSettingsField[] | null>;\r\n /** Default value. */\r\n default?: any;\r\n /** TaskParameterRange. */\r\n range?: TaskParameterRange;\r\n /** Nullable. */\r\n nullable?: boolean;\r\n}\r\n\r\n/**\r\n * TaskParameterRange.\r\n */\r\nexport interface TaskParameterRange {\r\n /** Name. */\r\n min?: any;\r\n /** Name. */\r\n max?: any;\r\n}\r\n\r\n/**\r\n * TaskPrototypeDto.\r\n */\r\nexport interface TaskPrototypeDto {\r\n /**\r\n * Id.\r\n * @format uuid\r\n */\r\n id?: string;\r\n /** User. */\r\n user?: string;\r\n /**\r\n * CreatedAt.\r\n * @format date-time\r\n */\r\n createdAt?: string;\r\n /** SubTaskSettings. */\r\n subTaskSettings?: SubTaskSettingsDto[];\r\n /** Enabled. */\r\n enabled?: boolean;\r\n /** StartIfPreviousError. */\r\n startIfPreviousError?: boolean;\r\n /** StartIfPreviousNotFinished. */\r\n startIfPreviousNotFinished?: boolean;\r\n /**\r\n * DelayDate.\r\n * @format date-time\r\n */\r\n delayDate?: string;\r\n /** Schedule. */\r\n schedule?: string;\r\n /**\r\n * Tasks count.\r\n * @format int32\r\n */\r\n tasksCount?: number;\r\n /**\r\n *\r\n *\r\n * Init\r\n *\r\n * Process\r\n *\r\n * Completed\r\n *\r\n * Interrupted\r\n *\r\n * Error\r\n *\r\n * Timeout\r\n *\r\n * Waiting\r\n *\r\n * InQueue\r\n *\r\n * Unknown\r\n */\r\n lastTaskStatus?: RemoteTaskStatus;\r\n /**\r\n * Last task finish.\r\n * @format date-time\r\n */\r\n lastTaskFinish?: string;\r\n}\r\n\r\n/**\r\n * TaskPythonResourceUpdateDto.\r\n */\r\nexport interface TaskPythonResourceUpdateDto {\r\n /** Configurations. */\r\n configurations?: PythonTaskMethodConfiguration[];\r\n /** User ui configuration. */\r\n uiConfiguration?: any;\r\n}\r\n\r\n/**\r\n * TaskResourceCreateDto.\r\n */\r\nexport interface TaskResourceCreateDto {\r\n /** SystemName. */\r\n systemName?: string;\r\n /**\r\n * TaskPrototypeSubType.\r\n *\r\n * SpTask\r\n *\r\n * PythonTask\r\n */\r\n subType?: TaskResourceSubType;\r\n /** Task type. */\r\n taskType?: string;\r\n /** Import methods. */\r\n importMethods?: string[];\r\n /** Name. */\r\n name?: string;\r\n /** ParentId. */\r\n parentId?: string;\r\n /** Description. */\r\n description?: string;\r\n /** Tags. */\r\n tags?: string[];\r\n}\r\n\r\n/**\r\n* TaskPrototypeSubType.\r\n\r\nSpTask\r\n\r\nPythonTask\r\n*/\r\nexport enum TaskResourceSubType {\r\n SpTask = \"SpTask\",\r\n PythonTask = \"PythonTask\",\r\n}\r\n\r\n/**\r\n * TaskReturnType.\r\n */\r\nexport interface TaskReturnType {\r\n /** Gets or sets description. */\r\n description?: string;\r\n /**\r\n *\r\n *\r\n * Int32\r\n *\r\n * Int64\r\n *\r\n * Double\r\n *\r\n * String\r\n *\r\n * Boolean\r\n *\r\n * DateTime\r\n *\r\n * Point\r\n *\r\n * Geometry\r\n *\r\n * Polyline\r\n *\r\n * MultiPolygon\r\n *\r\n * Polygon\r\n *\r\n * Multipoint\r\n *\r\n * IntergerArray\r\n *\r\n * DoubleArray\r\n *\r\n * StringArray\r\n *\r\n * SourceEql\r\n *\r\n * Layer\r\n *\r\n * Table\r\n *\r\n * Folder\r\n *\r\n * Json\r\n *\r\n * Attribute\r\n *\r\n * AttributeArray\r\n */\r\n type?: WorkerSettingsFieldType;\r\n /** Name. */\r\n default?: any;\r\n /** Name. */\r\n nullable?: boolean;\r\n}\r\n\r\n/**\r\n * TaskSpResourceUpdateDto.\r\n */\r\nexport interface TaskSpResourceUpdateDto {\r\n /** Configurations. */\r\n configurations?: SpTaskMethodConfiguration[];\r\n /** User ui configuration. */\r\n uiConfiguration?: any;\r\n}\r\n\r\n/**\r\n * Test connection data contract.\r\n */\r\nexport interface TestConnectionInfoDc {\r\n /** Check if connection succeed. */\r\n isSuccess?: boolean;\r\n /** Message. */\r\n message?: string;\r\n}\r\n\r\n/**\r\n * Service info for a tile catalog layer service.\r\n */\r\nexport interface TileCatalogServiceInfoDc {\r\n /** Information about the layer attributes and their configuration. */\r\n layerDefinition: LayerDefinitionDc;\r\n /** Tile info structure. */\r\n tileInfo: TileInfoDc;\r\n /** Copyright text. */\r\n copyrightText?: string;\r\n /** Client data storage. Storage isn't used by server. */\r\n clientData?: any;\r\n /** Card configuration. Storage isn't used by server. */\r\n cardConfiguration?: any;\r\n /**\r\n * The type of the resource.\r\n * @minLength 1\r\n */\r\n type: string;\r\n /**\r\n * Minimum resolution that this service will be rendered on. If no resolution limits are set for the top-level\r\n * style of the service, or if no such property is available for this type of the service, 0 is returned.\r\n * @format double\r\n */\r\n minResolution?: number;\r\n /**\r\n * Maximum resolution that this service will be rendered on. If no resolution limits are set for the top-level\r\n * style of the service, or if no such property is available for this type of the service, 0 is returned.\r\n * @format double\r\n */\r\n maxResolution?: number;\r\n /**\r\n * Filtering condition for the objects in the service. If no condition set or if no such property is available\r\n * for the given service type, null is returned.\r\n */\r\n condition?: string;\r\n /**\r\n *\r\n *\r\n * unknown\r\n *\r\n * point\r\n *\r\n * polyline\r\n *\r\n * polygon\r\n *\r\n * envelope\r\n *\r\n * multipoint\r\n *\r\n * line\r\n *\r\n * ring\r\n *\r\n * multipolygon\r\n *\r\n * collection\r\n */\r\n geometryType: GeometryType;\r\n /**\r\n * Number of objects in the layer. If the count cannot be calculated or the layer does not contain objects,\r\n * 0 is returned.\r\n * @format int32\r\n */\r\n objectCount?: number;\r\n /** The category of the service. */\r\n categories?: string[];\r\n /** Configuration of the service. */\r\n configuration?:\r\n | LinearServiceConfigurationDc\r\n | PbfServiceConfigurationDc\r\n | PostgresTileCatalogServiceConfigurationDc\r\n | ProxyServiceConfigurationDc\r\n | PythonServiceConfigurationDc\r\n | QueryLayerServiceConfigurationDc\r\n | RemoteTileServiceConfigurationDc\r\n | RouteServiceConfigurationDc;\r\n /**\r\n * Name of the resource including its namespaces (names of the service managers that contain this service).\r\n * @minLength 1\r\n */\r\n name: string;\r\n /** Resource alias. */\r\n alias?: string;\r\n /** Resource owner. */\r\n owner?: string;\r\n /** Resource description. */\r\n description?: string;\r\n /**\r\n * The date when resource was created.\r\n * @format date-time\r\n */\r\n createdDate?: string;\r\n /**\r\n * The date when resource was last modified.\r\n * @format date-time\r\n */\r\n changedDate?: string;\r\n /**\r\n *\r\n *\r\n * none\r\n *\r\n * configure\r\n *\r\n * write\r\n *\r\n * read\r\n *\r\n * read,configure\r\n *\r\n * read,write\r\n *\r\n * read,write,configure\r\n */\r\n permissions?: Permissions;\r\n /** Access control list for a security object. */\r\n acl?: AccessControlListDc;\r\n /**\r\n * Base64 encoded image - icon of the resource. Usually shown next to the resource name in lists and legends.\r\n * @minLength 0\r\n * @maxLength 102400\r\n */\r\n icon?: string;\r\n /** Is set true resource is not visible in catalog. Can be changed only by owner or user with admin access. */\r\n invisibleInCatalog?: boolean;\r\n /** Parent id in resources catalog. */\r\n parentId?: string;\r\n /** Resource id in resources catalog. */\r\n resourceId?: string;\r\n /** Resource tags. */\r\n tags?: string[];\r\n}\r\n\r\n/**\r\n * Configuration of a table for tile catalog layer.\r\n */\r\nexport type TileCatalogTableConfigurationDc = TableConfigurationBaseDc & {\r\n type?: string | null;\r\n};\r\n\r\n/**\r\n * Tile geometry clipping information data contract.\r\n */\r\nexport interface TileGeometryClippingInfoDc {\r\n /**\r\n * Buffer size in tile coordinate space for geometry clippig. Defaults to 256.\r\n * @format int32\r\n */\r\n buffer?: number;\r\n /** Control if geometries are clipped or encoded as-is. Defaults to true. */\r\n clipGeometry?: boolean;\r\n}\r\n\r\n/**\r\n * Tile info structure.\r\n */\r\nexport interface TileInfoDc {\r\n /** The zero point of the coordinates from which tiles are counted. */\r\n origin?: number[];\r\n /** Bounding rectangle of the schema. */\r\n boundingRectangle?: number[];\r\n /** If true, positive side of 'Y' coordinate, will be in the reverse side. */\r\n reversedY?: boolean;\r\n /**\r\n * The dpi of the tiling schema.\r\n * @format int32\r\n */\r\n dpi?: number;\r\n /**\r\n * Height of each tile in pixels.\r\n * @format int32\r\n */\r\n height: number;\r\n /**\r\n * Height of each tile in pixels.\r\n * @format int32\r\n */\r\n width: number;\r\n /** Image format. */\r\n format?: string;\r\n /**\r\n * A list of subdomains.<example>a,b,c</example>. Subdomains are used to distribute tile requests across multiple servers.\r\n * <example> http://{subDomain}.evergis/{x}/{y}/{z}.png</example>.\r\n */\r\n tilesSubDomains?: string[];\r\n /**\r\n * Spatial reference.\r\n * @format int32\r\n */\r\n srId?: number;\r\n /** List of levels of detail that define the tiling schema. */\r\n lods: LodInfo[];\r\n}\r\n\r\n/**\r\n * Access token request.\r\n */\r\nexport interface TokenRequestDc {\r\n /**\r\n *\r\n *\r\n * authorization_code\r\n *\r\n * refresh_token\r\n */\r\n grant_type: AuthorizationGrant;\r\n /**\r\n * Client id.\r\n * @format uuid\r\n */\r\n client_id: string;\r\n /**\r\n * Client secret.\r\n * @minLength 1\r\n */\r\n client_secret: string;\r\n /**\r\n * Authorization code.\r\n * @minLength 1\r\n */\r\n code: string;\r\n}\r\n\r\n/**\r\n * Token response.\r\n */\r\nexport interface TokenResponseDc {\r\n /** Access token. */\r\n access_token?: string;\r\n /**\r\n * Expires date.\r\n * @format date-time\r\n */\r\n expires_in?: string;\r\n /** Refresh token. */\r\n refresh_token?: string;\r\n}\r\n\r\n/**\r\n * Feature object definition for updating.\r\n */\r\nexport interface UpdateFeatureDc {\r\n /** Feature geometry definition. */\r\n geometry?:\r\n | EnvelopeDc\r\n | GeometryCollectionDc\r\n | LineStringDc\r\n | MultiPointDc\r\n | MultiPolygonDc\r\n | PointDc\r\n | PolygonDc\r\n | PolylineDc;\r\n /** Feature attributes collection. */\r\n attributes?: Record<string, any>;\r\n /** Feature unique identifier. */\r\n id?: string;\r\n}\r\n\r\n/**\r\n * Update role data contract.\r\n */\r\nexport interface UpdateRoleDc {\r\n /**\r\n * Previous role name.\r\n * @minLength 1\r\n */\r\n old_name: string;\r\n /**\r\n * Role name.\r\n * @minLength 1\r\n */\r\n name: string;\r\n /** Description. */\r\n description?: string;\r\n /** Alias. */\r\n alias?: string;\r\n}\r\n\r\n/**\r\n * Symbol category data contract.\r\n */\r\nexport interface UpdateSymbolCategoryDc {\r\n /** Name. */\r\n name?: string;\r\n /**\r\n * Parent category id.\r\n * @format int32\r\n */\r\n parentId?: number;\r\n}\r\n\r\n/**\r\n * Symbols.\r\n */\r\nexport interface UpdateSymbolDc {\r\n /** Symbol name. */\r\n name?: string;\r\n /** Symbol type. */\r\n type?: string;\r\n /** Symbol geometry type. */\r\n geometryType?: string;\r\n /** Is substrate symbol. */\r\n form?: boolean;\r\n /** Symbol data. */\r\n data?: string;\r\n /**\r\n * Symbol category id.\r\n * @format int32\r\n */\r\n categoryId?: number;\r\n}\r\n\r\n/**\r\n * Table description with columns what must be added and deleted.\r\n */\r\nexport type UpdateTableDc = TableInfoDc & {\r\n /** Description of table columns what must be added. */\r\n columnsAdd?: ColumnDescriptionDc[] | null;\r\n /** Table columns what must be deleted. */\r\n columnsDelete?: string[] | null;\r\n};\r\n\r\n/**\r\n * UpdateTaskPrototypeDto.\r\n */\r\nexport interface UpdateTaskPrototypeDto {\r\n /** Enabled. */\r\n enabled?: boolean;\r\n /** StartIfPreviousError. */\r\n startIfPreviousError?: boolean;\r\n /** StartIfPreviousNotFinished. */\r\n startIfPreviousNotFinished?: boolean;\r\n /**\r\n * DelayDate.\r\n * @format date-time\r\n */\r\n delayDate?: string;\r\n /** Schedule. */\r\n schedule?: string;\r\n}\r\n\r\n/**\r\n * Update user data contract.\r\n */\r\nexport interface UpdateUserDc {\r\n /** Gets or sets location. */\r\n location?: string;\r\n /** Gets or sets position. */\r\n position?: string;\r\n /** Whether to open the last used project when opening a client. */\r\n is_open_last_project?: boolean;\r\n /** Is active. */\r\n is_active?: boolean;\r\n /** Is active. */\r\n is_email_confirmed?: boolean;\r\n /** Namespace. */\r\n namespace?: string;\r\n /** Emoji. */\r\n emoji?: string;\r\n /** Username. */\r\n username?: string;\r\n /**\r\n * Email.\r\n * @format email\r\n */\r\n email?: string;\r\n /** Phone number. */\r\n phone?: string;\r\n /** Password. */\r\n password?: string;\r\n /** First name. */\r\n first_name?: string;\r\n /** Last name. */\r\n last_name?: string;\r\n /** Patronymic. */\r\n patronymic?: string;\r\n /** Gets or sets company. */\r\n company?: string;\r\n /** Has newsletter subscription. */\r\n is_subscribed?: boolean;\r\n}\r\n\r\n/**\r\n * Set used project.\r\n */\r\nexport interface UsedProjectDc {\r\n /**\r\n * Used project name.\r\n * @minLength 1\r\n */\r\n name: string;\r\n /**\r\n * Last project update date and time.\r\n * @format date-time\r\n */\r\n updated?: string;\r\n}\r\n\r\n/**\r\n * Short user information.\r\n */\r\nexport interface UserInfoDc {\r\n /** Username. */\r\n username?: string;\r\n /** First name. */\r\n first_name?: string;\r\n /** Last name. */\r\n last_name?: string;\r\n /** Patronymic. */\r\n patronymic?: string;\r\n /** Email. */\r\n email?: string;\r\n /** Phone number. */\r\n phone?: string;\r\n /** Namespace. */\r\n namespace?: string;\r\n /** Photo. */\r\n has_profile_photo?: boolean;\r\n /** Whether to open the last used project when opening a client. */\r\n is_open_last_project?: boolean;\r\n /** Has newsletter subscription. */\r\n is_subscribed?: boolean;\r\n /** If the user account is active or not. */\r\n is_active?: boolean;\r\n /** The roles of the user. */\r\n roles?: string[];\r\n}\r\n\r\n/**\r\n * User or role data contract.\r\n */\r\nexport interface UserOrRoleDc {\r\n /** Name. */\r\n name?: string;\r\n /** true if item is role otherwise false. */\r\n isRole?: boolean;\r\n /** User own role. */\r\n aclRole?: string;\r\n}\r\n\r\n/**\r\n * Descriptioned value data contract.\r\n */\r\nexport interface ValueDc {\r\n /** Description. */\r\n description?: string;\r\n /** Value. */\r\n value?: any;\r\n}\r\n\r\nexport interface ValuesRange {\r\n min?: any;\r\n max?: any;\r\n}\r\n\r\n/**\r\n * Values range.\r\n */\r\nexport interface ValuesRangeDc {\r\n /** Minimum value. */\r\n min: any;\r\n /** Maximum value. */\r\n max: any;\r\n}\r\n\r\n/**\r\n * Configuration of a table for feature layer.\r\n */\r\nexport type ViewConfigurationDc = TableConfigurationBaseDc & {\r\n type?: string | null;\r\n /** EQL. */\r\n eql?: string | null;\r\n /** EQL parameters. */\r\n eqlParameters?: Record<string, any>;\r\n /** Schema. */\r\n schemaName?: string | null;\r\n /** TableName. */\r\n tableName?: string | null;\r\n};\r\n\r\n/**\r\n * S3 data source settings.\r\n */\r\nexport type WmsDataSourceDc = DataSourceDc & {\r\n /**\r\n *\r\n *\r\n * Postgres\r\n *\r\n * Trino\r\n *\r\n * S3\r\n *\r\n * GisServer\r\n *\r\n * Spark\r\n *\r\n * Archive\r\n */\r\n type?: DataSourceType;\r\n /** Endpoint. */\r\n serviceUrl?: string | null;\r\n /** Endpoint. */\r\n params?: Record<string, string | null>;\r\n /** Endpoint. */\r\n headers?: Record<string, string | null>;\r\n};\r\n\r\n/**\r\n* \r\n\r\nTask\r\n\r\nRest\r\n\r\nBoth\r\n*/\r\nexport enum WorkerMethodType {\r\n Task = \"Task\",\r\n Rest = \"Rest\",\r\n Both = \"Both\",\r\n}\r\n\r\nexport interface WorkerSettingsField {\r\n name?: string;\r\n alias?: string;\r\n group?: string;\r\n nullable?: boolean;\r\n /**\r\n *\r\n *\r\n * Int32\r\n *\r\n * Int64\r\n *\r\n * Double\r\n *\r\n * String\r\n *\r\n * Boolean\r\n *\r\n * DateTime\r\n *\r\n * Point\r\n *\r\n * Geometry\r\n *\r\n * Polyline\r\n *\r\n * MultiPolygon\r\n *\r\n * Polygon\r\n *\r\n * Multipoint\r\n *\r\n * IntergerArray\r\n *\r\n * DoubleArray\r\n *\r\n * StringArray\r\n *\r\n * SourceEql\r\n *\r\n * Layer\r\n *\r\n * Table\r\n *\r\n * Folder\r\n *\r\n * Json\r\n *\r\n * Attribute\r\n *\r\n * AttributeArray\r\n */\r\n type?: WorkerSettingsFieldType;\r\n lookupValues?: Record<string, string>;\r\n childrenFields?: Record<string, WorkerSettingsField[]>;\r\n}\r\n\r\n/**\r\n * Worker settings field data contract.\r\n */\r\nexport interface WorkerSettingsFieldDc {\r\n /** Name. */\r\n name?: string;\r\n /** Alias. */\r\n alias?: string;\r\n /** Group. */\r\n group?: string;\r\n /**\r\n *\r\n *\r\n * Int32\r\n *\r\n * Int64\r\n *\r\n * Double\r\n *\r\n * String\r\n *\r\n * Boolean\r\n *\r\n * DateTime\r\n *\r\n * Point\r\n *\r\n * Geometry\r\n *\r\n * Polyline\r\n *\r\n * MultiPolygon\r\n *\r\n * Polygon\r\n *\r\n * Multipoint\r\n *\r\n * IntergerArray\r\n *\r\n * DoubleArray\r\n *\r\n * StringArray\r\n *\r\n * SourceEql\r\n *\r\n * Layer\r\n *\r\n * Table\r\n *\r\n * Folder\r\n *\r\n * Json\r\n *\r\n * Attribute\r\n *\r\n * AttributeArray\r\n */\r\n type?: WorkerSettingsFieldType;\r\n /** Lookup values. */\r\n lookupValues?: Record<string, string | null>;\r\n /** Children fields. */\r\n ChildrenFields?: Record<string, WorkerSettingsFieldDc[] | null>;\r\n}\r\n\r\n/**\r\n* \r\n\r\nInt32\r\n\r\nInt64\r\n\r\nDouble\r\n\r\nString\r\n\r\nBoolean\r\n\r\nDateTime\r\n\r\nPoint\r\n\r\nGeometry\r\n\r\nPolyline\r\n\r\nMultiPolygon\r\n\r\nPolygon\r\n\r\nMultipoint\r\n\r\nIntergerArray\r\n\r\nDoubleArray\r\n\r\nStringArray\r\n\r\nSourceEql\r\n\r\nLayer\r\n\r\nTable\r\n\r\nFolder\r\n\r\nJson\r\n\r\nAttribute\r\n\r\nAttributeArray\r\n*/\r\nexport enum WorkerSettingsFieldType {\r\n Int32 = \"Int32\",\r\n Int64 = \"Int64\",\r\n Double = \"Double\",\r\n String = \"String\",\r\n Boolean = \"Boolean\",\r\n DateTime = \"DateTime\",\r\n Point = \"Point\",\r\n Geometry = \"Geometry\",\r\n Polyline = \"Polyline\",\r\n MultiPolygon = \"MultiPolygon\",\r\n Polygon = \"Polygon\",\r\n Multipoint = \"Multipoint\",\r\n IntergerArray = \"IntergerArray\",\r\n DoubleArray = \"DoubleArray\",\r\n StringArray = \"StringArray\",\r\n SourceEql = \"SourceEql\",\r\n Layer = \"Layer\",\r\n Table = \"Table\",\r\n Folder = \"Folder\",\r\n Json = \"Json\",\r\n Attribute = \"Attribute\",\r\n AttributeArray = \"AttributeArray\",\r\n}\r\n\r\n/**\r\n * Worker post method params.\r\n */\r\nexport interface WorkerStartMethodDto {\r\n /** Worker type. */\r\n workerType: string;\r\n /** Method type. */\r\n methodType: string;\r\n /** Method input parameters. */\r\n data?: any;\r\n}\r\n\r\n/**\r\n * Workspace limits data contract.\r\n */\r\nexport interface WorkspaceLimitsDc {\r\n /**\r\n * Max services count in workspace.\r\n * @format int32\r\n */\r\n maxServicesCount?: number;\r\n /**\r\n * Max tables count in workspace.\r\n * @format int32\r\n */\r\n maxTablesCount?: number;\r\n /**\r\n * Max features count in one table in workspace.\r\n * @format int32\r\n */\r\n maxFeaturesInOneTable?: number;\r\n /**\r\n * Max projects count in workspace.\r\n * @format int32\r\n */\r\n maxProjectsCount?: number;\r\n /**\r\n * Max upload file size.\r\n * @format int64\r\n */\r\n maxUploadContentSize?: number;\r\n /**\r\n * Max objects to export.\r\n * @format int64\r\n */\r\n maxObjectsToExport?: number;\r\n /**\r\n * Maximum number of rows that a user can quering by eql parameter query.\r\n * @format int64\r\n */\r\n maxEqlQueryParametersValues?: number;\r\n /**\r\n * Current table count.\r\n * @format int64\r\n */\r\n currentTableCount?: number;\r\n /**\r\n * Current service count.\r\n * @format int64\r\n */\r\n currentServiceCount?: number;\r\n /**\r\n * Current project count.\r\n * @format int64\r\n */\r\n currentProjectCount?: number;\r\n}\r\n\r\n/**\r\n * Zip extraction request.\r\n */\r\nexport interface ZipExtractRequestDc {\r\n /** Zip resource id. */\r\n resourceId: string;\r\n /** Target parent resource id. */\r\n targetParentId?: string;\r\n /** If true delete archive after extraction. */\r\n deleteZipAfterExtraction?: boolean;\r\n /**\r\n *\r\n *\r\n * Skip\r\n *\r\n * Overwrite\r\n *\r\n * GenerateUnique\r\n *\r\n * ThrowError\r\n */\r\n conflictStrategy?: ConflictResolutionStrategy;\r\n /** Is true extract nested archives. */\r\n extractNestedArchives?: boolean;\r\n}\r\n\r\nexport interface GetUsersParams {\r\n /** String filter for the user (uses % and _ wild cards like SQL). */\r\n filter?: string;\r\n /** Ordering property name. */\r\n orderBy?: string;\r\n /**\r\n * First index in the list to get.\r\n * @format int32\r\n */\r\n offset?: number;\r\n /**\r\n * Max number of entries in the returned list.\r\n * @format int32\r\n * @default 100\r\n */\r\n limit?: number;\r\n /** If given, will retrieve only users that belong to one of the given username. */\r\n users?: string[];\r\n /** If given, will retrieve only users that have one of the given roles. */\r\n roles?: string[];\r\n}\r\n\r\nexport interface GetExtendedUsersParams {\r\n /** String filter for the user (uses % and _ wild cards like SQL). */\r\n filter?: string;\r\n /** Ordering property name. */\r\n orderBy?: string;\r\n /**\r\n * First index in the list to get.\r\n * @format int32\r\n */\r\n offset?: number;\r\n /**\r\n * Max number of entries in the returned list.\r\n * @format int32\r\n * @default 100\r\n */\r\n limit?: number;\r\n /** If given, will retrieve only users that belong to one of the given username. */\r\n users?: string[];\r\n /** If given, will retrieve only users that have one of the given roles. */\r\n roles?: string[];\r\n}\r\n\r\nexport interface IsUsernameExistsParams {\r\n /** User name to check. */\r\n username: string;\r\n}\r\n\r\nexport interface IsEmailExistsParams {\r\n /** Email to check. */\r\n email: string;\r\n}\r\n\r\nexport interface CreateUserParams {\r\n /**\r\n * Is need to send confirm email message.\r\n * @default false\r\n */\r\n sendConfirmEmail?: boolean;\r\n /**\r\n * Create user namespace if true.\r\n * @default true\r\n */\r\n createNamespace?: boolean;\r\n}\r\n\r\nexport interface SetEmailPayload {\r\n email: string;\r\n password: string;\r\n}\r\n\r\nexport interface ConfirmEmail1Params {\r\n /** User name. */\r\n username: string;\r\n /** Verification code. */\r\n code: string;\r\n}\r\n\r\nexport interface ChangeEmailParams {\r\n /** New email address. */\r\n newEmail: string;\r\n /** Current user password. */\r\n password: string;\r\n}\r\n\r\nexport interface ConfirmChangeEmailParams {\r\n /** Username. */\r\n username: string;\r\n /** New email address. */\r\n newEmail: string;\r\n /** Confirmation code. */\r\n code: string;\r\n}\r\n\r\nexport interface ChangePasswordPayload {\r\n oldPassword: string;\r\n password: string;\r\n}\r\n\r\nexport interface ResetPasswordParams {\r\n /** Email. */\r\n email?: string;\r\n}\r\n\r\nexport interface ResetPasswordCallbackPayload {\r\n username: string;\r\n code: string;\r\n newPassword: string;\r\n}\r\n\r\nexport interface CreateNamespaceParams {\r\n /** Name of the user to create the namespace for. This user will be the owner of the namespace. */\r\n userName: string;\r\n /**\r\n * If false, the name of the created namespace will be exactly the name of the user. If set to true,\r\n * the server will try to use the username as the namespace name, but if the name is occupied, it will\r\n * find a close free name for the namespace, create it and return it as the result of the operation.\r\n * @default false\r\n */\r\n adjustName?: boolean;\r\n}\r\n\r\nexport interface AuthenticateParams {\r\n /**\r\n * Client id.\r\n * @format uuid\r\n */\r\n client_id?: string;\r\n /**\r\n * Response type.\r\n *\r\n * code\r\n *\r\n * token\r\n */\r\n response_type?: ResponseType;\r\n /** Redirect uri. */\r\n redirect_uri?: string;\r\n}\r\n\r\nexport interface GetRolesParams {\r\n /** String filter for the role (uses % and _ wild cards like SQL). */\r\n filter?: string;\r\n /** String filter for the user (uses % and _ wild cards like SQL). */\r\n userFilter?: string;\r\n /** Ordering property name. */\r\n orderBy?: string;\r\n /** Include system roles (starts from '__'). */\r\n withSystem?: boolean;\r\n /**\r\n * First index in the list to get.\r\n * @format int32\r\n */\r\n offset?: number;\r\n /**\r\n * Max number of entries in the returned list.\r\n * @format int32\r\n */\r\n limit?: number;\r\n}\r\n\r\nexport interface UploadPreviewPayload {\r\n /** @format binary */\r\n file?: File;\r\n}\r\n\r\nexport interface UploadPreview1Payload {\r\n /** @format binary */\r\n file?: File;\r\n}\r\n\r\nexport interface GetCamerasParams {\r\n /**\r\n * Page objects limit.\r\n * @format int32\r\n * @default 50\r\n */\r\n limit?: number;\r\n /**\r\n * Objects skip.\r\n * @format int32\r\n * @default 0\r\n */\r\n offset?: number;\r\n}\r\n\r\nexport interface GetArchiveFeedParams {\r\n /**\r\n * Timestamp from which to start the archive playback.\r\n * UNIX time (both seconds and milliseconds are supported).\r\n * @format date-time\r\n */\r\n startTime?: string;\r\n /**\r\n * Timestamp at which to stop the playback.\r\n * UNIX time (both seconds and milliseconds are supported).\r\n * @format date-time\r\n */\r\n endTime?: string;\r\n /**\r\n * Playback speed factor.\r\n * Possible values: 1 2 4 8 16 32 64.\r\n * @format int32\r\n */\r\n speed?: number;\r\n /** Camera id. */\r\n cameraId: string;\r\n}\r\n\r\nexport interface GetArchiveTimelineParams {\r\n /**\r\n * Start of the timeframe UNIX time (seconds).\r\n * @format date-time\r\n */\r\n startTime?: string;\r\n /**\r\n * End of the timeframe UNIX time (seconds).\r\n * @format date-time\r\n */\r\n endTime?: string;\r\n /** Camera id. */\r\n cameraId: string;\r\n}\r\n\r\nexport interface GetArchiveCalendarParams {\r\n /** Start of the timeframe UNIX time (seconds). */\r\n startTime?: string;\r\n /** End of the timeframe UNIX time (seconds). */\r\n endTime?: string;\r\n /** Timezone. */\r\n tz?: string;\r\n /** Camera id. */\r\n cameraId: string;\r\n}\r\n\r\nexport interface GetArchiveSnapshotParams {\r\n /**\r\n * Timestamp of the moment at which to take the snapshot.\r\n * UNIX timestamp (in seconds).\r\n * @format date-time\r\n */\r\n time?: string;\r\n /** Camera id. */\r\n cameraId: string;\r\n}\r\n\r\nexport interface GetLiveFeedParams {\r\n /**\r\n * Duration.\r\n * @format int64\r\n */\r\n duration?: number;\r\n /** Camera id. */\r\n cameraId: string;\r\n}\r\n\r\nexport interface GetLivePreviewStreamParams {\r\n /**\r\n * Frame per second.\r\n * @format float\r\n */\r\n fps?: number;\r\n /**\r\n * Quality.\r\n *\r\n * Low\r\n *\r\n * Medium\r\n *\r\n * High\r\n */\r\n quality?: Quality;\r\n /** Id of the camera. */\r\n cameraId: string;\r\n}\r\n\r\nexport interface GetTagsParams {\r\n /** Text filter. */\r\n filter?: string;\r\n /**\r\n * Limit response page.\r\n * @format int32\r\n * @default 100\r\n */\r\n limit?: number;\r\n /**\r\n * Offset objects from start.\r\n * @format int32\r\n * @default 0\r\n */\r\n offset?: number;\r\n}\r\n\r\nexport type PutTagsPayload = string[];\r\n\r\nexport interface PostGetAllParams {\r\n /**\r\n * Limit response page.\r\n * @format int32\r\n * @default 20\r\n */\r\n limit?: number;\r\n /**\r\n * Offset objects from start.\r\n * @format int32\r\n * @default 0\r\n */\r\n offset?: number;\r\n}\r\n\r\nexport interface CreateFilePayload {\r\n /** File resource id. */\r\n resourceId?: string;\r\n /** Name of the uploading file. */\r\n fileName?: string;\r\n /** Url to upload file. */\r\n url?: string;\r\n /**\r\n * Id of the tile in the session static storage.\r\n * @format binary\r\n */\r\n file?: File;\r\n /** Description of the file. */\r\n description?: string;\r\n /** A set of tags. */\r\n tags?: string[];\r\n /** File icon. */\r\n icon?: string;\r\n}\r\n\r\nexport interface CreateFile1Payload {\r\n /** File resource id. */\r\n resourceId?: string;\r\n /** Name of the uploading file. */\r\n fileName?: string;\r\n /** Url to upload file. */\r\n url?: string;\r\n /**\r\n * Id of the tile in the session static storage.\r\n * @format binary\r\n */\r\n file?: File;\r\n /**\r\n * Rewrite flag\r\n * If true - rewrite file if exists. If false - return error.\r\n * @default false\r\n */\r\n rewrite?: boolean;\r\n /** Description of the file. */\r\n description?: string;\r\n /** Id of the parent resource. */\r\n parentId?: string;\r\n /** Owner of the file. */\r\n owner?: string;\r\n /** Check if file is temporary. */\r\n isTemporary?: boolean;\r\n /** A set of tags. */\r\n tags?: string[];\r\n /** File icon. */\r\n icon?: string;\r\n}\r\n\r\nexport type SetPermissionsPayload = ResourceAclDc[];\r\n\r\nexport type CopyResourcesPayload = CopyResourceDc[];\r\n\r\nexport interface GetConfigurationsListParams {\r\n /**\r\n * Offset.\r\n * @format int32\r\n * @default 0\r\n */\r\n offset?: number;\r\n /**\r\n * Limit (default 10).\r\n * @format int32\r\n * @default 10\r\n */\r\n limit?: number;\r\n}\r\n\r\nexport interface GetConfigurationParams {\r\n /** URL path. */\r\n urlPath: string;\r\n}\r\n\r\nexport type SetConfigurationPayload = any;\r\n\r\nexport interface SetConfigurationParams {\r\n /** URL path. */\r\n urlPath: string;\r\n /** Description. */\r\n description?: string;\r\n}\r\n\r\nexport interface RemoveConfigurationParams {\r\n /** URL path. */\r\n urlPath: string;\r\n}\r\n\r\nexport interface GetDataSourcesListParams {\r\n /** Owner. */\r\n owner?: string;\r\n /**\r\n * Objects limit per response.\r\n * @format int32\r\n */\r\n offset?: number;\r\n /**\r\n * Objects count have to skip. Default limit sets in 20 object.\r\n * @format int32\r\n * @default 20\r\n */\r\n limit?: number;\r\n}\r\n\r\nexport interface GetPagedQueryResultParams {\r\n /**\r\n * Can be saved in history.\r\n * @default false\r\n */\r\n saveInHistory?: boolean;\r\n}\r\n\r\nexport interface GetVectorTileParams {\r\n /** Query id. */\r\n eql?: string;\r\n /**\r\n * Zoom level.\r\n * @format int32\r\n */\r\n z: number;\r\n /**\r\n * X tile coordinate.\r\n * @format int32\r\n */\r\n x: number;\r\n /**\r\n * Y tile coordinate.\r\n * @format int32\r\n */\r\n y: number;\r\n}\r\n\r\nexport interface GetQueryHistoryParams {\r\n /**\r\n * Date and time start.\r\n * @format date-time\r\n */\r\n dtStart?: string;\r\n /**\r\n * Date and time end.\r\n * @format date-time\r\n */\r\n dtEnd?: string;\r\n /**\r\n * Limit.\r\n * @format int32\r\n */\r\n limit?: number;\r\n /**\r\n * Offset.\r\n * @format int32\r\n */\r\n offset?: number;\r\n /** Request initiator username. */\r\n owner?: string;\r\n}\r\n\r\nexport interface SetLayerParameterValueParams {\r\n /** Layer name. */\r\n layerName?: string;\r\n /** Layer parameter name. */\r\n paramName?: string;\r\n /** Layer parameter value. */\r\n value?: string;\r\n}\r\n\r\nexport type SetLayerParametersPayload = Record<string, any>;\r\n\r\nexport interface SetLayerParametersParams {\r\n /** Layer name. */\r\n layerName?: string;\r\n}\r\n\r\nexport interface GetLayerParametersParams {\r\n /** Layer name. */\r\n layerName?: string;\r\n /** Layer parameter name. */\r\n paramName?: string;\r\n}\r\n\r\nexport interface GetLayerParameters1Params {\r\n /** Layer name. */\r\n layerName?: string;\r\n}\r\n\r\nexport interface RemoveLayerParameterValueParams {\r\n /** Layer name. */\r\n layerName?: string;\r\n /** Layer parameter name. */\r\n paramName?: string;\r\n}\r\n\r\nexport interface GetAvailiableLayerParametersParams {\r\n /** Layer name. */\r\n layerName?: string;\r\n /** Only specified parameter name. */\r\n paramName?: string;\r\n}\r\n\r\nexport interface IncreaseResourcesLimitParams {\r\n /**\r\n * Additional maps count.\r\n * @format int32\r\n */\r\n MapLimit?: number;\r\n /**\r\n * Additional layers count.\r\n * @format int32\r\n */\r\n LayersLimit?: number;\r\n /**\r\n * Additional data sources count.\r\n * @format int32\r\n */\r\n DataSourceLimit?: number;\r\n /** Request justification. */\r\n Justification?: string;\r\n}\r\n\r\nexport interface FeedbackPayload {\r\n /** Attachments. */\r\n Attachments?: File[];\r\n}\r\n\r\nexport interface FeedbackParams {\r\n /** Name. */\r\n Name?: string;\r\n /** Phone number. */\r\n Phone?: string;\r\n /** Email address. */\r\n Email?: string;\r\n /** Message text. */\r\n Message?: string;\r\n}\r\n\r\nexport interface GeocodeParams {\r\n /** Input address. */\r\n address?: string;\r\n /**\r\n * Spatial reference.\r\n * @format int32\r\n */\r\n srId?: number;\r\n /** Bounging box from left top corner to right bottom corner. */\r\n bboxPoints?: number[];\r\n /** Geocode provider name to use. */\r\n providerName: string;\r\n}\r\n\r\nexport interface GeocodeByPointParams {\r\n /** Input point geometry. */\r\n pointGeometry?: number[];\r\n /**\r\n * Input point and bounging box sr.\r\n * @format int32\r\n */\r\n srId?: number;\r\n /** Bounging box from left top corner to right bottom corner. */\r\n bboxPoints?: number[];\r\n /** Geocode provider name to use. */\r\n providerName: string;\r\n}\r\n\r\nexport interface SuggestParams {\r\n /** Input address. */\r\n address?: string;\r\n /**\r\n * Bounging box spatial reference.\r\n * @format int32\r\n */\r\n srId?: number;\r\n /** Bounging box from left top corner to right bottom corner. */\r\n bboxPoints?: number[];\r\n /** Geocode provider name to use. */\r\n providerName: string;\r\n}\r\n\r\nexport interface GetDataSchemaParams {\r\n /** Resource id. */\r\n resourceId?: string;\r\n /** CSV columns delimiter. */\r\n csvDelimiter?: string;\r\n /**\r\n * Returned elements limit.\r\n * @format int32\r\n */\r\n limit?: number;\r\n /**\r\n * Returned elements offset.\r\n * @format int32\r\n */\r\n offset?: number;\r\n}\r\n\r\nexport interface ReadPartParams {\r\n /** Name of the layer. */\r\n LayerName?: string;\r\n /** Id of the file in the temporary static storage. */\r\n FileId: string;\r\n /** Condition. */\r\n Condition?: string;\r\n /**\r\n * Offset.\r\n * @format int32\r\n */\r\n Offset?: number;\r\n /**\r\n * Count.\r\n * @format int32\r\n */\r\n Count?: number;\r\n}\r\n\r\nexport interface GetExternalWmsLayersParams {\r\n /** WMS service url. */\r\n url?: string;\r\n}\r\n\r\nexport interface GetExternalPbfLayersParams {\r\n /** PBF service url. */\r\n url?: string;\r\n}\r\n\r\nexport interface GetExternalPbfFeaturesParams {\r\n /** PBF service url. */\r\n url?: string;\r\n /**\r\n * PBF layer name.\r\n * @default \"default\"\r\n */\r\n layerName?: string;\r\n /**\r\n * Features count have to skip.\r\n * @format int32\r\n * @default 0\r\n */\r\n offset?: number;\r\n /**\r\n * Features limit per response.\r\n * @format int32\r\n * @default 0\r\n */\r\n limit?: number;\r\n /**\r\n * If set to true, the geometry will not be returned for features.\r\n * @default true\r\n */\r\n withGeom?: boolean;\r\n /** Comma separated list of attributes to be returned. If not set, all attributes are returned. */\r\n attributes?: string[];\r\n}\r\n\r\nexport interface GetExternalArcgisFsLayersParams {\r\n /** Arcgis FeatureServer url. */\r\n url?: string;\r\n}\r\n\r\nexport interface GetExternalArcGisLayersParams {\r\n /** ArcGis map service url. */\r\n url?: string;\r\n}\r\n\r\nexport interface GetRasterAttributesParams {\r\n /** File name in the temporary static storage. */\r\n fileName?: string;\r\n}\r\n\r\nexport interface GetRasterMetaParams {\r\n /** Raster resource id.. */\r\n resourceId?: string;\r\n}\r\n\r\nexport type GetBulkFeaturesPayload = GetBulkFeaturesParametersDc[];\r\n\r\nexport type GetBulkExtentsPayload = GetBulkExtentsDc[];\r\n\r\nexport interface GetBulkExtentsParams {\r\n /**\r\n * Spatial reference to return the extent in.\r\n * @format int32\r\n */\r\n srId?: number;\r\n}\r\n\r\nexport type GetFilteredFeaturesCountPayload = GetBulkFilteredFeaturesCountDc[];\r\n\r\nexport interface GetLayersInfoParams {\r\n /** Name array of the layers. */\r\n layerNames?: string[];\r\n /** ProjectName array with layers. */\r\n projectNames?: string[];\r\n}\r\n\r\n/**\r\n * Configuration for the proxy service.\r\n */\r\nexport type PublishProxyServicePayload =\r\n | ProxyServiceConfigurationDc\r\n | PbfServiceConfigurationDc\r\n | PythonServiceConfigurationDc;\r\n\r\n/**\r\n * Configuration for the proxy service.\r\n */\r\nexport type UpdateProxyServicePayload =\r\n | ProxyServiceConfigurationDc\r\n | PbfServiceConfigurationDc\r\n | PythonServiceConfigurationDc;\r\n\r\nexport interface GetFeatures1Params {\r\n /** Click geometry. */\r\n ewktGeometry?: string;\r\n /** Sets features filtering query. */\r\n query?: string;\r\n /** Id of override data filter to apply to the layer. If not set, the default filter is used. */\r\n dataFilterId?: string;\r\n /**\r\n * Features count have to skip.\r\n * @format int32\r\n * @default 0\r\n */\r\n offset?: number;\r\n /**\r\n * Features limit per response.\r\n * @format int32\r\n * @default 0\r\n */\r\n limit?: number;\r\n /**\r\n * Spatial reference of returned features.\r\n * @format int32\r\n */\r\n srId?: number;\r\n /**\r\n * Comma separated list of attributes by which to sort the resulting feature list.\r\n * If the attribute name is preceded with the \"-\" sign, sorting by this attribute will be\r\n * in descending order.\r\n */\r\n sort?: string[];\r\n /** Comma separated list of features ids. */\r\n ids?: string[];\r\n /**\r\n * If set to true, the geometry will not be returned for features.\r\n * @default true\r\n */\r\n withGeom?: boolean;\r\n /** Comma separated list of attributes to be returned. If not set, all attributes are returned. */\r\n attributes?: string[];\r\n /** Full name of the layer. */\r\n name: string;\r\n}\r\n\r\nexport interface DeleteFeatureParams {\r\n /** Feature id. */\r\n id?: string;\r\n /** Full name of the layer. */\r\n name: string;\r\n}\r\n\r\nexport type CreateFeaturesPayload = FeatureDc[];\r\n\r\nexport interface CreateFeaturesParams {\r\n /**\r\n * Allow additional atributes.\r\n * @default false\r\n */\r\n allowAdditionalAttributes?: boolean;\r\n /** Full name of the layer. */\r\n name: string;\r\n}\r\n\r\nexport type UpdateFeaturePayload = UpdateFeatureDc[];\r\n\r\nexport interface GetByIdParams {\r\n /**\r\n * Spatial reference of returned features.\r\n * @format int32\r\n */\r\n srId?: number;\r\n /** Full name of the layer. */\r\n name: string;\r\n /** Feature id. */\r\n id: string;\r\n}\r\n\r\nexport interface GetTilesLayerImageParams {\r\n /** Tile sets to render. */\r\n ids?: number[];\r\n /** Id of override data filter to apply to the layer. If not set, the default filter is used. */\r\n dataFilterId?: string;\r\n /** Full name of the layer. */\r\n name: string;\r\n /**\r\n * X.\r\n * @format int32\r\n */\r\n x: number;\r\n /**\r\n * Y.\r\n * @format int32\r\n */\r\n y: number;\r\n /**\r\n * Z.\r\n * @format int32\r\n */\r\n z: number;\r\n}\r\n\r\nexport interface GetTilesLayerImage1Params {\r\n /** Tile sets to render. */\r\n ids?: number[];\r\n /** Id of override data filter to apply to the layer. If not set, the default filter is used. */\r\n dataFilterId?: string;\r\n /** Full name of the layer. */\r\n name: string;\r\n /**\r\n * X.\r\n * @format int32\r\n */\r\n x: number;\r\n /**\r\n * Y.\r\n * @format int32\r\n */\r\n y: number;\r\n /**\r\n * Z.\r\n * @format int32\r\n */\r\n z: number;\r\n /** Specifies the format of the returned tile. */\r\n format: string;\r\n}\r\n\r\nexport interface GetTilesLayerImageWithFormatAndDpiParams {\r\n /** Tile sets to render. */\r\n ids?: number[];\r\n /** Id of override data filter to apply to the layer. If not set, the default filter is used. */\r\n dataFilterId?: string;\r\n /** Full name of the layer. */\r\n name: string;\r\n /**\r\n * X.\r\n * @format int32\r\n */\r\n x: number;\r\n /**\r\n * Y.\r\n * @format int32\r\n */\r\n y: number;\r\n /**\r\n * Z.\r\n * @format int32\r\n */\r\n z: number;\r\n /**\r\n * Image dpi.\r\n * @format float\r\n */\r\n dpi: number;\r\n /** Specifies the format of the returned tile. */\r\n format: string;\r\n}\r\n\r\nexport interface GetLayerExtentParams {\r\n /** If set, only the features that satisfy the condition will be considered when calculating the extent. */\r\n condition?: string;\r\n /**\r\n * Spatial reference to return the extent in.\r\n * @format int32\r\n */\r\n srId?: number;\r\n /** Full name of the layer. */\r\n name: string;\r\n}\r\n\r\nexport interface DeleteFeaturesParams {\r\n /** Features ids. */\r\n ids?: string[];\r\n /** Full name of the layer. */\r\n name: string;\r\n}\r\n\r\nexport interface DeleteByConditionParams {\r\n /** Filtering query. */\r\n condition?: string;\r\n /** Full name of the layer. */\r\n name: string;\r\n}\r\n\r\nexport interface ClassifyParams {\r\n /** The name of the attribute. */\r\n attribute?: string;\r\n /**\r\n * The number of classes.\r\n * @format int32\r\n * @default 6\r\n */\r\n classes?: number;\r\n /**\r\n * Sets required values precision.\r\n * @format int32\r\n * @default 3\r\n */\r\n precision?: number;\r\n /**\r\n * Classification method.\r\n *\r\n * none\r\n *\r\n * naturalBreaks\r\n *\r\n * equalInterval\r\n *\r\n * quantile\r\n *\r\n * unique\r\n *\r\n * step\r\n */\r\n type?: ClassificationType;\r\n /** The name of the layer. */\r\n name: string;\r\n}\r\n\r\nexport interface DistinctsParams {\r\n /** Attribute name. */\r\n attribute?: string;\r\n /**\r\n * Limit the number of returned values.\r\n * @format int32\r\n * @default 0\r\n */\r\n limit?: number;\r\n /** Condition to apply to the layer to filter the features. */\r\n condition?: string;\r\n /** Filter values by startWith string pattern. */\r\n startsWith?: string;\r\n /**\r\n * Ignore default layer condition.\r\n * @default false\r\n */\r\n ignoreDefaultCondition?: boolean;\r\n /** Full name of the layer. */\r\n name: string;\r\n}\r\n\r\nexport interface AggregateAttributeParams {\r\n /** Aggregation attribute name. */\r\n aggregationAttributeName?: string;\r\n /**\r\n * Aggregation function name.\r\n *\r\n * None\r\n *\r\n * Array\r\n *\r\n * Min\r\n *\r\n * Max\r\n *\r\n * Avg\r\n *\r\n * Sum\r\n *\r\n * Extent\r\n *\r\n * H3\r\n *\r\n * Count\r\n *\r\n * TotalCount\r\n *\r\n * DistinctCount\r\n *\r\n * First\r\n *\r\n * Last\r\n *\r\n * Median\r\n *\r\n * Mod\r\n *\r\n * StdDeviation\r\n *\r\n * SumOfProduct\r\n *\r\n * OnlyValue\r\n *\r\n * WeightedAvg\r\n *\r\n * DensityIndicators\r\n *\r\n * DividedSum\r\n */\r\n aggregationFunctionName?: AggregationFunction;\r\n /** A list of attributes to group. */\r\n groups?: string[];\r\n /**\r\n * Comma separated list of attributes by which to sort the resulting values.\r\n * If the attribute name is preceded with the \"-\" sign, sorting by this attribute will be\r\n * in descending order.\r\n */\r\n sort?: string[];\r\n /** Filter condition. */\r\n condition?: string;\r\n /** Name of the layer. */\r\n name: string;\r\n}\r\n\r\nexport interface GetFilteredFeaturesCount1Params {\r\n /** Condition to apply to the layer to filter the features. */\r\n condition?: string;\r\n /** Layer name. */\r\n name: string;\r\n}\r\n\r\nexport interface ValidateExpressionParams {\r\n /** Expression to validate. */\r\n expression?: string;\r\n /** Layer name. */\r\n layerName: string;\r\n}\r\n\r\nexport interface GetRasterMetaParams2 {\r\n /**\r\n * Min value for build histogram.\r\n * @format double\r\n */\r\n min?: number;\r\n /**\r\n * Max value for build histogram.\r\n * @format double\r\n */\r\n max?: number;\r\n /** Layer name. */\r\n name: string;\r\n /**\r\n * Id of raster.\r\n * @format int64\r\n */\r\n id: number;\r\n}\r\n\r\nexport interface DeleteResourcesParams {\r\n /** Resource names. */\r\n names?: string[];\r\n}\r\n\r\nexport interface SubscribeOperationParams {\r\n /** Notification tag. */\r\n tag?: string;\r\n}\r\n\r\nexport interface UnsubscribeOperationParams {\r\n /** Notification tag. */\r\n tag?: string;\r\n}\r\n\r\nexport type SubscribeListOperationPayload = string[];\r\n\r\nexport type UnsubscribeListOperationPayload = string[];\r\n\r\nexport interface DeleteResourcesParams2 {\r\n /** Resource names. */\r\n names?: string[];\r\n}\r\n\r\nexport type UpdateProjectV2Payload = Operation[];\r\n\r\nexport interface GetProjectsInfoParams {\r\n /** Project names. */\r\n projectNames?: string[];\r\n}\r\n\r\nexport interface GetProjectEnvelopeParams {\r\n /**\r\n * Spatial reference to return the extent in.\r\n * @format int32\r\n */\r\n srId?: number;\r\n /** The name of the project. */\r\n name: string;\r\n}\r\n\r\nexport type PatchProjectConfigurationPayload = Operation[];\r\n\r\nexport type PutProjectConfigurationPayload = any;\r\n\r\nexport interface GetAllScriptMethodsParams {\r\n /** ResourceId. */\r\n resourceId?: string;\r\n}\r\n\r\nexport type RunScriptPayload = any;\r\n\r\nexport interface RunScriptParams {\r\n /** Python resource id. */\r\n resourceId?: string;\r\n /** File name. */\r\n fileName?: string;\r\n /** Method name. */\r\n methodName?: string;\r\n}\r\n\r\nexport interface GetTokensListParams {\r\n onlyValid?: boolean;\r\n /** @format int32 */\r\n limit?: number;\r\n /** @format int32 */\r\n offset?: number;\r\n /** @default \"\" */\r\n username: string;\r\n}\r\n\r\nexport interface CreateTokenParams {\r\n /** @format date-time */\r\n validBefore?: string;\r\n /** @default \"\" */\r\n username: string;\r\n}\r\n\r\nexport interface GetTaskPrototypesParams {\r\n /** Username. */\r\n Username?: string;\r\n /**\r\n * Skip.\r\n * @format int32\r\n */\r\n Skip?: number;\r\n /**\r\n * Take.\r\n * @format int32\r\n */\r\n Take?: number;\r\n /** OrderBy. */\r\n OrderBy?: string;\r\n /** Desc. */\r\n Desc?: boolean;\r\n}\r\n\r\nexport interface GetTasksForPrototypeParams {\r\n /**\r\n * Status.\r\n *\r\n * Init\r\n *\r\n * Process\r\n *\r\n * Completed\r\n *\r\n * Interrupted\r\n *\r\n * Error\r\n *\r\n * Timeout\r\n *\r\n * Waiting\r\n *\r\n * InQueue\r\n *\r\n * Unknown\r\n */\r\n Status?: RemoteTaskStatus;\r\n /**\r\n * Skip.\r\n * @format int32\r\n */\r\n Skip?: number;\r\n /**\r\n * Take.\r\n * @format int32\r\n */\r\n Take?: number;\r\n /** OrderBy. */\r\n OrderBy?: string;\r\n /** Desc. */\r\n Desc?: boolean;\r\n /**\r\n * Id.\r\n * @format uuid\r\n */\r\n id: string;\r\n}\r\n\r\nexport interface GetTaskResourceParams {\r\n /**\r\n * Update default configuration.\r\n * @default false\r\n */\r\n updateDefault?: boolean;\r\n /** Id. */\r\n id: string;\r\n}\r\n\r\nexport type SetPoliciesPayload = Record<string, PolicyDc[]>;\r\n\r\nexport interface FindUserByNameByRolesParams {\r\n /** Roles. */\r\n roles?: string[];\r\n}\r\n\r\nexport interface GetUsersAndRolesParams {\r\n /** Name filter. */\r\n filter?: string;\r\n}\r\n\r\nexport interface FindUserByNameParams {\r\n /** String filter for the username. */\r\n filter?: string;\r\n}\r\n\r\nexport interface GetPolicyListParams {\r\n /**\r\n * Type of the policies.\r\n *\r\n * Unknown\r\n *\r\n * CreateTable\r\n *\r\n * CreateLayer\r\n *\r\n * CreateProject\r\n *\r\n * MaxFeaturesInOneTable\r\n *\r\n * MaxObjectsToExport\r\n *\r\n * MaxUploadContentSize\r\n *\r\n * MaxEqlQueryParametersValues\r\n */\r\n type?: PolicyType;\r\n /** Use role the policy is applied to. */\r\n roleName?: string;\r\n}\r\n\r\nexport interface RemovePolicyParams {\r\n /**\r\n * Type of the policy.\r\n *\r\n * Unknown\r\n *\r\n * CreateTable\r\n *\r\n * CreateLayer\r\n *\r\n * CreateProject\r\n *\r\n * MaxFeaturesInOneTable\r\n *\r\n * MaxObjectsToExport\r\n *\r\n * MaxUploadContentSize\r\n *\r\n * MaxEqlQueryParametersValues\r\n */\r\n type?: PolicyType;\r\n /** Use role the policy is applied to. */\r\n role?: string;\r\n}\r\n\r\nexport interface RemoveSymbolCategoryParams {\r\n /**\r\n * Remove symbols in category.\r\n * @default false\r\n */\r\n cascade?: boolean;\r\n /**\r\n * Id symbol category.\r\n * @format int32\r\n */\r\n id: number;\r\n}\r\n\r\nexport interface GetSymbolCategoriesParams {\r\n /**\r\n * Offset.\r\n * @format int32\r\n */\r\n offset?: number;\r\n /**\r\n * Limit.\r\n * @format int32\r\n * @default 100\r\n */\r\n limit?: number;\r\n}\r\n\r\nexport interface GetSymbolsListParams {\r\n /**\r\n * Id symbol category.\r\n * @format int32\r\n */\r\n idCategory?: number;\r\n /**\r\n * Offset.\r\n * @format int32\r\n */\r\n offset?: number;\r\n /**\r\n * Limit.\r\n * @format int32\r\n * @default 100\r\n */\r\n limit?: number;\r\n}\r\n\r\nexport interface DeleteResourcesParams4 {\r\n /** Resource names. */\r\n names?: string[];\r\n}\r\n\r\nexport interface GetTablesInfoParams {\r\n /** Table names. */\r\n tableNames?: string[];\r\n}\r\n\r\nexport interface GetTableDataParams {\r\n /** Id field name. */\r\n idField?: string;\r\n /** Geometry field name. */\r\n geometryField?: string;\r\n /** String filter for the all text column (uses % and _ wild cards like SQL). */\r\n filter?: string;\r\n /**\r\n * Comma separated list of attributes by which to sort the resulting feature list.\r\n * If the attribute name is preceded with the \"-\" sign, sorting by this attribute will be\r\n * in descending order.\r\n */\r\n sort?: string[];\r\n /**\r\n * Max number of rows to return.\r\n * @format int32\r\n * @default 0\r\n */\r\n limit?: number;\r\n /**\r\n * The first row index to return.\r\n * @format int32\r\n * @default 0\r\n */\r\n offset?: number;\r\n /**\r\n * Include column with geometry.\r\n * @default false\r\n */\r\n includeGeometry?: boolean;\r\n /** Columns to select. */\r\n columns?: string[];\r\n /** Name of the table. */\r\n name: string;\r\n}\r\n\r\nexport type WriteTableDataPayload = Record<string, any>[];\r\n\r\nexport type UpdateTableDataPayload = Record<string, any>[];\r\n\r\nexport interface UpdateTableDataParams {\r\n /** Id column name. */\r\n idColumn?: string;\r\n /** Name of the table. */\r\n name: string;\r\n}\r\n\r\nexport interface DeleteTableDataParams {\r\n /** Id column name. */\r\n idColumn?: string;\r\n /** Ids of rows to delete. */\r\n ids?: string[];\r\n /** Name of the table. */\r\n name: string;\r\n}\r\n\r\nexport interface MapTableParams {\r\n /** Name of the remote data provider. Allows to map table from foreign db. */\r\n dataProvider?: string;\r\n /** Type of the resource. Default type os Table. */\r\n type?: string;\r\n}\r\n\r\nexport interface GetVectorTileParams2 {\r\n /** Condition. */\r\n condition?: string;\r\n /** Id of override data filter to apply to the layer. If not set, the default filter is used. */\r\n dataFilterId?: string;\r\n /** List of included feature attribute names. */\r\n attributes?: string[];\r\n /** Project or layer name. */\r\n name: string;\r\n /**\r\n * Zoom level.\r\n * @format int32\r\n */\r\n z: number;\r\n /**\r\n * X tile coordinate.\r\n * @format int32\r\n */\r\n x: number;\r\n /**\r\n * Y tile coordinate.\r\n * @format int32\r\n */\r\n y: number;\r\n}\r\n\r\nexport interface GetCapabilitiesParams {\r\n /** Name of the service. */\r\n Service?: string;\r\n /** When omitted, server shall return latest supported version. */\r\n AcceptVersions?: string[];\r\n /** When omitted or not supported by server, server shall return complete service metadata (Capabilities) document. */\r\n Sections?: string[];\r\n /** When omitted or not supported by server, server shall return service metadata document using the MIME type \"text/xml\". */\r\n AcceptFormats?: string[];\r\n}\r\n\r\nexport interface GetSharedCapabilitiesParams {\r\n /** Name of the service. */\r\n Service?: string;\r\n /** When omitted, server shall return latest supported version. */\r\n AcceptVersions?: string[];\r\n /** When omitted or not supported by server, server shall return complete service metadata (Capabilities) document. */\r\n Sections?: string[];\r\n /** When omitted or not supported by server, server shall return service metadata document using the MIME type \"text/xml\". */\r\n AcceptFormats?: string[];\r\n}\r\n\r\nexport interface GetPublicCapabilitiesParams {\r\n /** Name of the service. */\r\n Service?: string;\r\n /** When omitted, server shall return latest supported version. */\r\n AcceptVersions?: string[];\r\n /** When omitted or not supported by server, server shall return complete service metadata (Capabilities) document. */\r\n Sections?: string[];\r\n /** When omitted or not supported by server, server shall return service metadata document using the MIME type \"text/xml\". */\r\n AcceptFormats?: string[];\r\n}\r\n\r\nexport interface ProcessRequestParams {\r\n /** Layer name. */\r\n layer?: string;\r\n /** wmts version. */\r\n version?: string;\r\n /** Request type. */\r\n request?: string;\r\n /** Tile matrix. */\r\n tileMatrix?: string;\r\n /**\r\n * Tile row.\r\n * @format int32\r\n * @default 0\r\n */\r\n tileRow?: number;\r\n /**\r\n * Tile col.\r\n * @format int32\r\n * @default 0\r\n */\r\n tileCol?: number;\r\n}\r\n"],"names":[],"mappings":";;;;;;AAAO,MAAM,iBAAiB,GAAG,oBAAoB;AAE9C,MAAM,iBAAi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,CAAA,aAAA,CAAA,GAAA,aAA2B;AAC3B,IAAA,uBAAA,CAAA,WAAA,CAAA,GAAA,WAAuB;AACvB,IAAA,uBAAA,CAAA,OAAA,CAAA,GAAA,OAAe;AACf,IAAA,uBAAA,CAAA,OAAA,CAAA,GAAA,OAAe;AACf,IAAA,uBAAA,CAAA,QAAA,CAAA,GAAA,QAAiB;AACjB,IAAA,uBAAA,CAAA,MAAA,CAAA,GAAA,MAAa;AACb,IAAA,uBAAA,CAAA,WAAA,CAAA,GAAA,WAAuB;AACvB,IAAA,uBAAA,CAAA,gBAAA,CAAA,GAAA,gBAAiC;AACnC,CAAC,EAvBW,uBAAuB,KAAvB,uBAAuB,GAAA,EAAA,CAAA,CAAA;;;;"}
1
+ {"version":3,"file":"api.esm.js","sources":["../src/constants.ts","../src/hooks/useToken.ts","../src/utils/user.ts","../src/__generated__/HttpClient.ts","../src/__generated__/Service.ts","../src/__generated__/AccountService.ts","../src/services/Account.ts","../src/__generated__/AccountPreviewService.ts","../src/services/AccountPreview.ts","../src/__generated__/ExternalProvidersService.ts","../src/services/External.ts","../src/__generated__/BulkOperationsService.ts","../src/services/BulkOperations.ts","../src/__generated__/CamerasService.ts","../src/services/Cameras.ts","../src/__generated__/ClientSettingsService.ts","../src/services/ClientSettings.ts","../src/__generated__/EqlService.ts","../src/services/Eql.ts","../src/__generated__/FeedbackService.ts","../src/services/Feedback.ts","../src/__generated__/CatalogService.ts","../src/services/FileUpload.ts","../src/__generated__/FiltersService.ts","../src/services/Filters.ts","../src/__generated__/GeocodeService.ts","../src/services/Geocode.ts","../src/__generated__/ImportService.ts","../src/services/Import.ts","../src/utils/errorHandler.ts","../src/utils/formDataFromFile.ts","../src/utils/isString.ts","../src/__generated__/DataSourceService.ts","../src/__generated__/QueryTokenAccessService.ts","../src/__generated__/SpatialReferencesService.ts","../src/ApiEvent.ts","../src/EventEmitter.ts","../src/Api.ts","../src/utils/location.ts","../src/utils/parseJwt.ts","../src/utils/promiseAllIgnoreErrors.ts","../src/utils/unique.ts","../src/utils/generateId.ts","../src/utils/stripUselessSlashes.ts","../src/__generated__/LayersService.ts","../src/services/Layers.ts","../src/services/Names.ts","../src/__generated__/NotificationService.ts","../src/services/Notification.ts","../src/services/PortalSettings.ts","../src/__generated__/ProjectsService.ts","../src/services/Projects.ts","../src/__generated__/RemoteTaskManagerService.ts","../src/services/RemoteTaskManager.ts","../src/services/Resources.ts","../src/__generated__/SecurityService.ts","../src/services/Security.ts","../src/__generated__/StatisticService.ts","../src/services/Statistic.ts","../src/__generated__/TablesService.ts","../src/services/Tables.ts","../src/__generated__/ToolsService.ts","../src/services/Tools.ts","../src/__generated__/VectorTileService.ts","../src/services/VectorTiles.ts","../src/__generated__/data-contracts.ts"],"sourcesContent":["export const API_USER_INFO_KEY = \"@evergis/user-info\";\r\n\r\nexport const STORAGE_TOKEN_KEY = \"evergis-jwt-token\";\r\nexport const STORAGE_REFRESH_TOKEN_KEY = \"evergis-refresh-token\";\r\n","import { STORAGE_REFRESH_TOKEN_KEY, STORAGE_TOKEN_KEY } from \"../constants\";\r\n\r\nexport const useToken = () => {\r\n const token = window.localStorage.getItem(STORAGE_TOKEN_KEY);\r\n const refreshToken = window.localStorage.getItem(STORAGE_REFRESH_TOKEN_KEY);\r\n\r\n return { token, refreshToken };\r\n};\r\n","import { API_USER_INFO_KEY } from \"../constants\";\r\n\r\nimport { UserInfoWithPhoto } from \"../services\";\r\n\r\nexport const getUserInfo = (): UserInfoWithPhoto | undefined =>\r\n JSON.parse(localStorage.getItem(API_USER_INFO_KEY) || \"null\") || void 0;\r\n\r\nexport const updateUserInfo = (\r\n newUserInfo?: Partial<UserInfoWithPhoto>,\r\n): void => {\r\n if (newUserInfo) {\r\n const oldUserInfo = getUserInfo();\r\n\r\n localStorage.setItem(\r\n API_USER_INFO_KEY,\r\n JSON.stringify({ ...oldUserInfo, ...newUserInfo }),\r\n );\r\n } else {\r\n localStorage.removeItem(API_USER_INFO_KEY);\r\n }\r\n};\r\n","/* eslint-disable */\n/* tslint:disable */\n/*\n * ---------------------------------------------------------------\n * ## THIS FILE WAS GENERATED VIA SWAGGER-TYPESCRIPT-API ##\n * ## ##\n * ## AUTHOR: acacode ##\n * ## SOURCE: https://github.com/acacode/swagger-typescript-api ##\n * ---------------------------------------------------------------\n */\n\nimport ky, { Options, ResponsePromise } from \"ky\";\nimport { stringify } from \"query-string\";\n\nexport { HTTPError, Options, TimeoutError } from \"ky\";\n\ntype SearchParams = Record<string | number, any>;\n\ntype AllowedBody = FormData | string | object | null;\n\nexport interface IHttpClient {\n extend(options: Options): void;\n get(url: string, params?: SearchParams): ResponsePromise;\n\n post(url: string, body?: AllowedBody, params?: SearchParams): ResponsePromise;\n\n put(url: string, body?: AllowedBody, params?: SearchParams): ResponsePromise;\n\n patch(url: string, body?: AllowedBody, params?: SearchParams): ResponsePromise;\n\n delete(url: string, body?: AllowedBody, params?: SearchParams): ResponsePromise;\n\n createUrl(url: string, params?: SearchParams): string;\n}\n\nexport class HttpClient implements IHttpClient {\n private ky: typeof ky;\n private prefixUrl: string;\n\n constructor(options: Options = {}) {\n this.ky = ky.extend(options);\n this.prefixUrl = options.prefixUrl?.toString() || \"\";\n }\n\n extend(options: Options) {\n this.ky = ky.extend(options);\n this.prefixUrl = options.prefixUrl?.toString() || \"\";\n }\n\n get(url: string, params?: SearchParams): ResponsePromise {\n return this.ky.get(this.stripSlashes(url), {\n searchParams: qs(params),\n });\n }\n\n post(url: string, body?: AllowedBody, params?: SearchParams): ResponsePromise {\n const options = kyOptions(params, body);\n return this.ky.post(this.stripSlashes(url), options);\n }\n\n put(url: string, body?: AllowedBody, params?: SearchParams): ResponsePromise {\n const options = kyOptions(params, body);\n return this.ky.put(this.stripSlashes(url), options);\n }\n\n patch(url: string, body?: AllowedBody, params?: SearchParams): ResponsePromise {\n const options = kyOptions(params, body);\n return this.ky.patch(this.stripSlashes(url), options);\n }\n\n delete(url: string, body?: AllowedBody, params?: SearchParams): ResponsePromise {\n const options = kyOptions(params, body);\n return this.ky.delete(this.stripSlashes(url), options);\n }\n\n createUrl(url: string, params?: SearchParams): string {\n const queryString = params ? `?${qs(params)}` : \"\";\n return this.prefixUrl + this.stripSlashes(url) + queryString;\n }\n\n private stripSlashes(url: string) {\n if (this.prefixUrl) {\n return url.replace(/^\\//g, \"\");\n }\n\n return url;\n }\n}\n\nfunction kyOptions(params?: SearchParams, body?: AllowedBody): Options {\n const options: Options = { searchParams: qs(params) };\n if (!isNotObject(body) || Array.isArray(body)) {\n options.json = body;\n } else {\n options.body = body;\n }\n\n return options;\n}\n\nfunction isNotObject(value: unknown): value is FormData | string {\n return !(value !== void 0 && typeof value === \"object\" && value !== null && value.constructor === Object);\n}\n\nfunction qs(params: SearchParams = {}): string {\n return stringify(params, { arrayFormat: \"comma\" });\n}\n\nexport function toFormData(input: any) {\n if (input instanceof FormData) {\n return input;\n }\n\n return Object.keys(input).reduce((data, key) => {\n data.append(key, input[key]);\n return data;\n }, new FormData());\n}\n","/* eslint-disable */\n/* tslint:disable */\n/*\n * ---------------------------------------------------------------\n * ## THIS FILE WAS GENERATED VIA SWAGGER-TYPESCRIPT-API ##\n * ## ##\n * ## AUTHOR: acacode ##\n * ## SOURCE: https://github.com/acacode/swagger-typescript-api ##\n * ---------------------------------------------------------------\n */\n\nimport { IHttpClient } from \"./HttpClient\";\n\nexport class Service {\n constructor(protected http: IHttpClient) {}\n}\n","/* eslint-disable */\n/* tslint:disable */\n/*\n * ---------------------------------------------------------------\n * ## THIS FILE WAS GENERATED VIA SWAGGER-TYPESCRIPT-API ##\n * ## ##\n * ## AUTHOR: acacode ##\n * ## SOURCE: https://github.com/acacode/swagger-typescript-api ##\n * ---------------------------------------------------------------\n */\n\n// @ts-nocheck\n\nimport { toFormData } from \"./HttpClient\";\nimport { Service } from \"./Service\";\nimport {\n AuthenticateParams,\n ChangeEmailParams,\n ChangePasswordPayload,\n ConfirmChangeEmailParams,\n ConfirmEmail1Params,\n CreateNamespaceParams,\n CreateRoleDc,\n CreateUserDc,\n CreateUserParams,\n ExtendedUserInfoDc,\n GetExtendedUsersParams,\n GetRolesParams,\n GetUsersParams,\n IsEmailExistsParams,\n IsUsernameExistsParams,\n LoginDc,\n LoginResultDc,\n NamespaceInfoDc,\n PagedListExtendedUserInfoDc,\n PagedListRoleInfoDc,\n PagedListUserInfoDc,\n RefreshTokenDc,\n RegisterClientRequestDc,\n RegisterClientResponseDc,\n RegisterUserDc,\n ResetPasswordCallbackPayload,\n ResetPasswordParams,\n SetEmailPayload,\n TokenRequestDc,\n TokenResponseDc,\n UpdateRoleDc,\n UpdateUserDc,\n UsedProjectDc,\n UserInfoDc,\n} from \"./data-contracts\";\n\n/**\n * @title Spatial Processing Core API\n * @version 1.5.1.0\n * @baseUrl /sp\n */\nexport class AccountService extends Service {\n /**\n * No description\n *\n * @tags Account\n * @name GetUsers\n * @operationId AccountController_GetUsers\n * @summary Returns the list of users that correspond to the given conditions.\n * @request GET:/account/user/list\n * @secure\n * @response `200` OK\n */\n getUsers(query: GetUsersParams) {\n return this.http.get(`/account/user/list`, query).json<PagedListUserInfoDc>();\n }\n /**\n * No description\n *\n * @tags Account\n * @name GetExtendedUsers\n * @operationId AccountController_GetExtendedUsers\n * @summary Returns the list of extended users informations that correspond to the given conditions.\n * @request GET:/account/user/extendedlist\n * @secure\n * @response `200` OK\n */\n getExtendedUsers(query: GetExtendedUsersParams) {\n return this.http.get(`/account/user/extendedlist`, query).json<PagedListExtendedUserInfoDc>();\n }\n /**\n * No description\n *\n * @tags Account\n * @name GetUserInfo\n * @operationId AccountController_GetUserInfo\n * @summary Get current user basic information.\n * @request GET:/account\n * @secure\n * @response `200` OK\n */\n getUserInfo() {\n return this.http.get(`/account`).json<UserInfoDc>();\n }\n /**\n * No description\n *\n * @tags Account\n * @name GetUserInfo1\n * @operationId AccountController_GetUserInfo_1\n * @summary Get user basic information.\n * @request GET:/account/{username}\n * @secure\n * @response `200` OK\n */\n getUserInfo1(username: string) {\n return this.http.get(`/account/${username}`).json<UserInfoDc>();\n }\n /**\n * No description\n *\n * @tags Account\n * @name GetExtendedUserInfo\n * @operationId AccountController_GetExtendedUserInfo\n * @summary Get current user extended information.\n * @request GET:/account/extended\n * @secure\n * @response `200` OK\n */\n getExtendedUserInfo() {\n return this.http.get(`/account/extended`).json<ExtendedUserInfoDc>();\n }\n /**\n * No description\n *\n * @tags Account\n * @name GetExtendedUserInfo1\n * @operationId AccountController_GetExtendedUserInfo_1\n * @summary Get user extended information.\n * @request GET:/account/extended/{username}\n * @secure\n * @response `200` OK\n */\n getExtendedUserInfo1(username: string) {\n return this.http.get(`/account/extended/${username}`).json<ExtendedUserInfoDc>();\n }\n /**\n * No description\n *\n * @tags Account\n * @name IsUsernameExists\n * @operationId AccountController_IsUsernameExists\n * @summary Checks if the user with the given name is registered in the system.\n * @request GET:/account/user/exists\n * @secure\n * @response `200` OK\n */\n isUsernameExists(query: IsUsernameExistsParams) {\n return this.http.get(`/account/user/exists`, query).json<boolean>();\n }\n /**\n * No description\n *\n * @tags Account\n * @name IsEmailExists\n * @operationId AccountController_IsEmailExists\n * @summary Checks if the user with the given email is registered in the system.\n * @request GET:/account/user/email/exists\n * @secure\n * @response `200` OK\n */\n isEmailExists(query: IsEmailExistsParams) {\n return this.http.get(`/account/user/email/exists`, query).json<boolean>();\n }\n /**\n * No description\n *\n * @tags Account\n * @name RegisterUser\n * @operationId AccountController_RegisterUser\n * @summary Register new user.\n * @request POST:/account/register\n * @secure\n * @response `200` OK\n */\n registerUser(data: RegisterUserDc) {\n return this.http.post(`/account/register`, data).text();\n }\n /**\n * @description Only for users with Everpoint.Sdk.Security.Abstractions.ISecurityManager.SuperuserRole role.\n *\n * @tags Account\n * @name CreateUser\n * @operationId AccountController_CreateUser\n * @summary Create new user.\n * @request POST:/account/user\n * @secure\n * @response `200` OK\n */\n createUser(query: CreateUserParams, data: CreateUserDc) {\n return this.http.post(`/account/user`, data, query).then(() => {});\n }\n /**\n * No description\n *\n * @tags Account\n * @name UpdateUser\n * @operationId AccountController_UpdateUser\n * @summary Update exist user.\n * @request PATCH:/account/user\n * @secure\n * @response `200` OK\n */\n updateUser(data: UpdateUserDc) {\n return this.http.patch(`/account/user`, data).then(() => {});\n }\n /**\n * @description Only for users with Everpoint.Sdk.Security.Abstractions.ISecurityManager.SuperuserRole role.\n *\n * @tags Account\n * @name ConfirmEmail\n * @operationId AccountController_ConfirmEmail\n * @summary Confirm user email.\n * @request POST:/account/user/{username}/email/confirm\n * @secure\n * @response `200` OK\n */\n confirmEmail(username: string) {\n return this.http.post(`/account/user/${username}/email/confirm`, null).then(() => {});\n }\n /**\n * No description\n *\n * @tags Account\n * @name VerifyEmail\n * @operationId AccountController_VerifyEmail\n * @summary Send email with verification code.\n * @request POST:/account/user/{username}/email/verify\n * @secure\n * @response `200` OK\n */\n verifyEmail(username: string) {\n return this.http.post(`/account/user/${username}/email/verify`, null).then(() => {});\n }\n /**\n * No description\n *\n * @tags Account\n * @name SetEmail\n * @operationId AccountController_SetEmail\n * @summary For a user that does not have a set email, sets the email and password. Requires email confirmation through link.\n * @request POST:/account/setEmail\n * @secure\n * @response `200` OK\n */\n setEmail(data: SetEmailPayload | FormData) {\n return this.http.post(`/account/setEmail`, toFormData(data)).then(() => {});\n }\n /**\n * No description\n *\n * @tags Account\n * @name ConfirmEmail1\n * @operationId AccountController_ConfirmEmail_1\n * @summary Confirm user email by code.\n * @request POST:/account/user/email/confirm\n * @secure\n * @response `200` OK\n */\n confirmEmail1(query: ConfirmEmail1Params) {\n return this.http.post(`/account/user/email/confirm`, null, query).then(() => {});\n }\n /**\n * No description\n *\n * @tags Account\n * @name ChangeEmail\n * @operationId AccountController_ChangeEmail\n * @summary Send email message with confirmation code to new email address.\n * @request POST:/account/user/email/change\n * @secure\n * @response `200` OK\n */\n changeEmail(query: ChangeEmailParams) {\n return this.http.post(`/account/user/email/change`, null, query).then(() => {});\n }\n /**\n * No description\n *\n * @tags Account\n * @name ConfirmChangeEmail\n * @operationId AccountController_ConfirmChangeEmail\n * @summary Check confirmation code and change email address.\n * @request POST:/account/user/email/change/confirm\n * @secure\n * @response `200` OK\n */\n confirmChangeEmail(query: ConfirmChangeEmailParams) {\n return this.http.post(`/account/user/email/change/confirm`, null, query).then(() => {});\n }\n /**\n * No description\n *\n * @tags Account\n * @name SetUserPassword\n * @operationId AccountController_SetUserPassword\n * @summary Set user password.\n * @request PATCH:/account/password/set\n * @secure\n * @response `200` OK\n */\n setUserPassword(data: LoginDc) {\n return this.http.patch(`/account/password/set`, data).then(() => {});\n }\n /**\n * No description\n *\n * @tags Account\n * @name ChangePassword\n * @operationId AccountController_ChangePassword\n * @summary Change current user password.\n * @request PATCH:/account/password/change\n * @secure\n * @response `200` OK\n */\n changePassword(data: ChangePasswordPayload | FormData) {\n return this.http.patch(`/account/password/change`, toFormData(data)).then(() => {});\n }\n /**\n * No description\n *\n * @tags Account\n * @name ResetPassword\n * @operationId AccountController_ResetPassword\n * @summary Send reset password message.\n * @request POST:/account/password/reset\n * @secure\n * @response `200` OK\n */\n resetPassword(query: ResetPasswordParams) {\n return this.http.post(`/account/password/reset`, null, query).then(() => {});\n }\n /**\n * No description\n *\n * @tags Account\n * @name ResetPasswordCallback\n * @operationId AccountController_ResetPasswordCallback\n * @summary Reset password.\n * @request POST:/account/password/reset/confirm\n * @secure\n * @response `200` OK\n */\n resetPasswordCallback(data: ResetPasswordCallbackPayload | FormData) {\n return this.http.post(`/account/password/reset/confirm`, toFormData(data)).then(() => {});\n }\n /**\n * No description\n *\n * @tags Account\n * @name RemoveUser\n * @operationId AccountController_RemoveUser\n * @summary Remove user.\n * @request DELETE:/account/user/{username}\n * @secure\n * @response `200` OK\n */\n removeUser(username: string) {\n return this.http.delete(`/account/user/${username}`, null).then(() => {});\n }\n /**\n * No description\n *\n * @tags Account\n * @name CreateNamespace\n * @operationId AccountController_CreateNamespace\n * @summary Creates a new namespace.\n * @request POST:/account/namespace\n * @secure\n * @response `200` OK\n */\n createNamespace(query: CreateNamespaceParams) {\n return this.http.post(`/account/namespace`, null, query).json<NamespaceInfoDc>();\n }\n /**\n * No description\n *\n * @tags Account\n * @name RemoveNamespace\n * @operationId AccountController_RemoveNamespaceAsync\n * @summary Remove namespace.\n * @request DELETE:/account/namespace/{name}\n * @secure\n * @response `200` OK\n */\n removeNamespace(name: string) {\n return this.http.delete(`/account/namespace/${name}`, null).then(() => {});\n }\n /**\n * No description\n *\n * @tags Account\n * @name ActivateUser\n * @operationId AccountController_ActivateUser\n * @summary Activate user.\n * @request POST:/account/user/{username}/activate\n * @secure\n * @response `200` OK\n */\n activateUser(username: string) {\n return this.http.post(`/account/user/${username}/activate`, null).then(() => {});\n }\n /**\n * No description\n *\n * @tags Account\n * @name DeactivateUser\n * @operationId AccountController_DeactivateUser\n * @summary Deactivate user.\n * @request POST:/account/user/{username}/deactivate\n * @secure\n * @response `200` OK\n */\n deactivateUser(username: string) {\n return this.http.post(`/account/user/${username}/deactivate`, null).then(() => {});\n }\n /**\n * No description\n *\n * @tags Account\n * @name Authenticate\n * @operationId AccountController_Authenticate\n * @summary Login.\n * @request POST:/account/login\n * @secure\n * @response `200` OK\n */\n authenticate(query: AuthenticateParams, data: LoginDc) {\n return this.http.post(`/account/login`, data, query).json<LoginResultDc>();\n }\n /**\n * No description\n *\n * @tags Account\n * @name RefreshToken\n * @operationId AccountController_RefreshToken\n * @summary Refresh JWT token.\n * @request POST:/account/refresh-token\n * @secure\n * @response `200` OK\n */\n refreshToken(data: RefreshTokenDc) {\n return this.http.post(`/account/refresh-token`, data).json<LoginResultDc>();\n }\n /**\n * No description\n *\n * @tags Account\n * @name RevokeToken\n * @operationId AccountController_RevokeToken\n * @summary Revoke refresh token.\n * @request DELETE:/account/revoke-token\n * @secure\n * @response `200` OK\n */\n revokeToken() {\n return this.http.delete(`/account/revoke-token`, null).then(() => {});\n }\n /**\n * No description\n *\n * @tags Account\n * @name LdapLogin\n * @operationId AccountController_LdapLogin\n * @summary The external login callback.\n * @request POST:/account/external/login/ldap\n * @secure\n * @response `200` OK\n */\n ldapLogin(data: LoginDc) {\n return this.http.post(`/account/external/login/ldap`, data).json<LoginResultDc>();\n }\n /**\n * No description\n *\n * @tags Account\n * @name RegisterClient\n * @operationId AccountController_RegisterClient\n * @summary Register new client.\n * @request POST:/account/oauth2/client\n * @secure\n * @response `200` OK\n */\n registerClient(data: RegisterClientRequestDc) {\n return this.http.post(`/account/oauth2/client`, data).json<RegisterClientResponseDc>();\n }\n /**\n * No description\n *\n * @tags Account\n * @name UnbindClient\n * @operationId AccountController_UnbindClient\n * @summary Unbind client with id.\n * @request DELETE:/account/oauth2/client/{clientId}\n * @secure\n * @response `200` OK\n */\n unbindClient(clientId: string) {\n return this.http.delete(`/account/oauth2/client/${clientId}`, null).then(() => {});\n }\n /**\n * No description\n *\n * @tags Account\n * @name Token\n * @operationId AccountController_Token\n * @summary Get access token request.\n * @request POST:/account/oauth2/token\n * @secure\n * @response `200` OK\n */\n token(data: TokenRequestDc) {\n return this.http.post(`/account/oauth2/token`, data).json<TokenResponseDc>();\n }\n /**\n * No description\n *\n * @tags Account\n * @name GetRoles\n * @operationId AccountController_GetRoles\n * @summary Enumerate exist roles.\n * @request GET:/account/role/list\n * @secure\n * @response `200` OK\n */\n getRoles(query: GetRolesParams) {\n return this.http.get(`/account/role/list`, query).json<PagedListRoleInfoDc>();\n }\n /**\n * No description\n *\n * @tags Account\n * @name CreateRole\n * @operationId AccountController_CreateRole\n * @summary Create new role.\n * @request POST:/account/role\n * @secure\n * @response `200` OK\n */\n createRole(data: CreateRoleDc) {\n return this.http.post(`/account/role`, data).then(() => {});\n }\n /**\n * No description\n *\n * @tags Account\n * @name UpdateRole\n * @operationId AccountController_UpdateRole\n * @summary Update exist role.\n * @request PATCH:/account/role\n * @secure\n * @response `200` OK\n */\n updateRole(data: UpdateRoleDc) {\n return this.http.patch(`/account/role`, data).then(() => {});\n }\n /**\n * No description\n *\n * @tags Account\n * @name RemoveRole\n * @operationId AccountController_RemoveRole\n * @summary Remove role.\n * @request DELETE:/account/role/{rolename}\n * @secure\n * @response `200` OK\n */\n removeRole(rolename: string) {\n return this.http.delete(`/account/role/${rolename}`, null).then(() => {});\n }\n /**\n * No description\n *\n * @tags Account\n * @name AddToRole\n * @operationId AccountController_AddToRole\n * @summary Add user to role.\n * @request POST:/account/user/{username}/role/{role}\n * @secure\n * @response `200` OK\n */\n addToRole(username: string, role: string) {\n return this.http.post(`/account/user/${username}/role/${role}`, null).then(() => {});\n }\n /**\n * No description\n *\n * @tags Account\n * @name RemoveFromRole\n * @operationId AccountController_RemoveFromRole\n * @summary Remove user from role.\n * @request DELETE:/account/user/{username}/role/{role}\n * @secure\n * @response `200` OK\n */\n removeFromRole(username: string, role: string) {\n return this.http.delete(`/account/user/${username}/role/${role}`, null).then(() => {});\n }\n /**\n * No description\n *\n * @tags Account\n * @name PostUsedProjects\n * @operationId AccountController_PostUsedProjects\n * @summary Set used project.\n * @request POST:/account/latest_projects\n * @secure\n * @response `200` OK\n */\n postUsedProjects(data: UsedProjectDc) {\n return this.http.post(`/account/latest_projects`, data).json<UsedProjectDc>();\n }\n /**\n * No description\n *\n * @tags Account\n * @name GetUsedProjects\n * @operationId AccountController_GetUsedProjects\n * @summary Get used projects.\n * @request GET:/account/latest_projects\n * @secure\n * @response `200` OK\n */\n getUsedProjects() {\n return this.http.get(`/account/latest_projects`).json<UsedProjectDc[]>();\n }\n /**\n * No description\n *\n * @tags Account\n * @name TruncateUsedProjects\n * @operationId AccountController_TruncateUsedProjects\n * @summary Truncate used projects.\n * @request DELETE:/account/latest_projects\n * @secure\n * @response `200` OK\n */\n truncateUsedProjects() {\n return this.http.delete(`/account/latest_projects`, null).then(() => {});\n }\n}\n","import { getUserInfo, updateUserInfo } from \"../utils/user\";\r\n\r\nimport { AccountService } from \"../__generated__/AccountService\";\r\nimport { AuthenticateParams, LoginDc, LoginResultDc, UserInfoDc } from \"../__generated__/data-contracts\";\r\n\r\nimport { STORAGE_TOKEN_KEY, STORAGE_REFRESH_TOKEN_KEY } from \"../constants\";\r\n\r\nexport type DecodedAuthToken = {\r\n /** емайл */\r\n email: string;\r\n /** имя пользователя */\r\n sub: string;\r\n /** Имя */\r\n given_name: string;\r\n /** Фамилия */\r\n family_name: string;\r\n /** workspace */\r\n Namespace: string;\r\n /** сроки жизни токена */\r\n exp: number;\r\n /** список ролей в будущем */\r\n role: string[];\r\n /** открывать последний проект или нет */\r\n OpenLastProject: \"False\" | \"True\";\r\n /** фото пользователя (ссылка) */\r\n HasProfilePhoto: boolean;\r\n};\r\n\r\nexport type UserInfoWithPhoto = UserInfoDc & { profile_photo?: string };\r\n\r\nexport class Account extends AccountService {\r\n private userInfo?: Partial<UserInfoWithPhoto>;\r\n\r\n get username() {\r\n return this.userInfo?.username || \"\";\r\n }\r\n\r\n get isAuth() {\r\n return !!this.userInfo?.username && this.userInfo.username !== \"public\";\r\n }\r\n\r\n get user(): Partial<UserInfoWithPhoto> | undefined {\r\n if (this.userInfo) {\r\n return this.userInfo;\r\n }\r\n\r\n const userInfo = getUserInfo();\r\n\r\n if (userInfo) {\r\n this.userInfo = userInfo;\r\n }\r\n\r\n return userInfo;\r\n }\r\n\r\n async login(params?: LoginDc, authParams: AuthenticateParams = {}, useJwt = false) {\r\n if (params) {\r\n const response: LoginResultDc = await super.authenticate(authParams, params);\r\n\r\n if (response && useJwt) {\r\n window.localStorage.setItem(STORAGE_TOKEN_KEY, response.token as string);\r\n window.localStorage.setItem(STORAGE_REFRESH_TOKEN_KEY, response.refreshToken as string);\r\n }\r\n }\r\n }\r\n\r\n async fetchCurrentUser() {\r\n this.userInfo = await this.getUserInfo();\r\n\r\n return this.userInfo;\r\n }\r\n\r\n async logout() {\r\n const token = window.localStorage.getItem(STORAGE_TOKEN_KEY);\r\n\r\n if (token) {\r\n window.localStorage.removeItem(STORAGE_TOKEN_KEY);\r\n window.localStorage.removeItem(STORAGE_REFRESH_TOKEN_KEY);\r\n }\r\n\r\n await this.revokeToken();\r\n\r\n updateUserInfo(undefined);\r\n\r\n this.userInfo = {};\r\n }\r\n\r\n async updateCurrentUser(userInfo: UserInfoWithPhoto) {\r\n await super.updateUser({\r\n username: this.username,\r\n ...userInfo,\r\n });\r\n\r\n updateUserInfo(userInfo);\r\n }\r\n\r\n setPassword(password: string) {\r\n return this.setUserPassword({ username: this.username, password });\r\n }\r\n}\r\n","/* eslint-disable */\n/* tslint:disable */\n/*\n * ---------------------------------------------------------------\n * ## THIS FILE WAS GENERATED VIA SWAGGER-TYPESCRIPT-API ##\n * ## ##\n * ## AUTHOR: acacode ##\n * ## SOURCE: https://github.com/acacode/swagger-typescript-api ##\n * ---------------------------------------------------------------\n */\n\n// @ts-nocheck\n\nimport { toFormData } from \"./HttpClient\";\nimport { Service } from \"./Service\";\nimport { FileUploadResponse, UploadPreview1Payload, UploadPreviewPayload } from \"./data-contracts\";\n\n/**\n * @title Spatial Processing Core API\n * @version 1.5.1.0\n * @baseUrl /sp\n */\nexport class AccountPreviewService extends Service {\n /**\n * No description\n *\n * @tags AccountPreview\n * @name GetPreview\n * @operationId AccountPreviewController_GetPreview\n * @summary Get current user preview image.\n * @request GET:/account/user/preview\n * @secure\n * @response `200` OK\n */\n getPreview() {\n return this.http.createUrl(`/account/user/preview`);\n }\n /**\n * No description\n *\n * @tags AccountPreview\n * @name UploadPreview\n * @operationId AccountPreviewController_UploadPreview\n * @summary Set current user preview image.\n * @request POST:/account/user/preview\n * @secure\n * @response `200` OK\n */\n uploadPreview(data: UploadPreviewPayload | FormData) {\n return this.http.post(`/account/user/preview`, toFormData(data)).json<FileUploadResponse>();\n }\n /**\n * No description\n *\n * @tags AccountPreview\n * @name DeletePreview\n * @operationId AccountPreviewController_DeletePreview\n * @summary Delete current user preview.\n * @request DELETE:/account/user/preview\n * @secure\n * @response `200` OK\n */\n deletePreview() {\n return this.http.delete(`/account/user/preview`, null).then(() => {});\n }\n /**\n * No description\n *\n * @tags AccountPreview\n * @name GetPreview1\n * @operationId AccountPreviewController_GetPreview_1\n * @summary Get user preview image.\n * @request GET:/account/user/preview/{username}\n * @secure\n * @response `200` OK\n */\n getPreview1(username: string) {\n return this.http.createUrl(`/account/user/preview/${username}`);\n }\n /**\n * No description\n *\n * @tags AccountPreview\n * @name UploadPreview1\n * @operationId AccountPreviewController_UploadPreview_1\n * @summary Set user preview image.\n * @request POST:/account/user/preview/{username}\n * @secure\n * @response `200` OK\n */\n uploadPreview1(username: string, data: UploadPreview1Payload | FormData) {\n return this.http.post(`/account/user/preview/${username}`, toFormData(data)).json<FileUploadResponse>();\n }\n /**\n * No description\n *\n * @tags AccountPreview\n * @name DeletePreview1\n * @operationId AccountPreviewController_DeletePreview_1\n * @summary Delete user preview.\n * @request DELETE:/account/user/preview/{username}\n * @secure\n * @response `200` OK\n */\n deletePreview1(username: string) {\n return this.http.delete(`/account/user/preview/${username}`, null).then(() => {});\n }\n}\n","import { AccountPreviewService } from \"../__generated__/AccountPreviewService\";\r\n\r\nexport class AccountPreview extends AccountPreviewService {}\r\n","/* eslint-disable */\n/* tslint:disable */\n/*\n * ---------------------------------------------------------------\n * ## THIS FILE WAS GENERATED VIA SWAGGER-TYPESCRIPT-API ##\n * ## ##\n * ## AUTHOR: acacode ##\n * ## SOURCE: https://github.com/acacode/swagger-typescript-api ##\n * ---------------------------------------------------------------\n */\n\n// @ts-nocheck\n\nimport { Service } from \"./Service\";\n\n/**\n * @title Spatial Processing Core API\n * @version 1.5.1.0\n * @baseUrl /sp\n */\nexport class ExternalProvidersService extends Service {\n /**\n * No description\n *\n * @tags ExternalProviders\n * @name FacebookLogin\n * @operationId ExternalProvidersController_FacebookLogin\n * @summary The external login by facebook.\n * @request GET:/account/external/login/facebook\n * @secure\n * @response `200` OK\n */\n facebookLogin() {\n return this.http.createUrl(`/account/external/login/facebook`);\n }\n /**\n * No description\n *\n * @tags ExternalProviders\n * @name GoogleLogin\n * @operationId ExternalProvidersController_GoogleLogin\n * @summary The external login by google.\n * @request GET:/account/external/login/google\n * @secure\n * @response `200` OK\n */\n googleLogin() {\n return this.http.createUrl(`/account/external/login/google`);\n }\n /**\n * No description\n *\n * @tags ExternalProviders\n * @name VkLogin\n * @operationId ExternalProvidersController_VkLogin\n * @summary The external login by vk.\n * @request GET:/account/external/login/vk\n * @secure\n * @response `200` OK\n */\n vkLogin() {\n return this.http.createUrl(`/account/external/login/vk`);\n }\n /**\n * No description\n *\n * @tags ExternalProviders\n * @name YandexLogin\n * @operationId ExternalProvidersController_YandexLogin\n * @summary The external login by yandex.\n * @request GET:/account/external/login/yandex\n * @secure\n * @response `200` OK\n */\n yandexLogin() {\n return this.http.createUrl(`/account/external/login/yandex`);\n }\n /**\n * No description\n *\n * @tags ExternalProviders\n * @name LoginCallback\n * @operationId ExternalProvidersController_LoginCallback\n * @summary The external login callback.\n * @request GET:/account/external/login/callback\n * @secure\n * @response `200` OK\n */\n loginCallback() {\n return this.http.get(`/account/external/login/callback`).then(() => {});\n }\n /**\n * No description\n *\n * @tags ExternalProviders\n * @name UnbindFacebook\n * @operationId ExternalProvidersController_UnbindFacebook\n * @summary Unbind external login from current user account (google).\n * @request DELETE:/account/external/unbind/facebook\n * @secure\n * @response `200` OK\n */\n unbindFacebook() {\n return this.http.delete(`/account/external/unbind/facebook`, null).then(() => {});\n }\n /**\n * No description\n *\n * @tags ExternalProviders\n * @name UnbindGoogle\n * @operationId ExternalProvidersController_UnbindGoogle\n * @summary Unbind external login from current user account (google).\n * @request DELETE:/account/external/unbind/google\n * @secure\n * @response `200` OK\n */\n unbindGoogle() {\n return this.http.delete(`/account/external/unbind/google`, null).then(() => {});\n }\n /**\n * No description\n *\n * @tags ExternalProviders\n * @name UnbindVk\n * @operationId ExternalProvidersController_UnbindVk\n * @summary Unbind external login from current user account (google).\n * @request DELETE:/account/external/unbind/vk\n * @secure\n * @response `200` OK\n */\n unbindVk() {\n return this.http.delete(`/account/external/unbind/vk`, null).then(() => {});\n }\n /**\n * No description\n *\n * @tags ExternalProviders\n * @name UnbindYandex\n * @operationId ExternalProvidersController_UnbindYandex\n * @summary Unbind external login from current user account (yandex).\n * @request DELETE:/account/external/unbind/yandex\n * @secure\n * @response `200` OK\n */\n unbindYandex() {\n return this.http.delete(`/account/external/unbind/yandex`, null).then(() => {});\n }\n /**\n * No description\n *\n * @tags ExternalProviders\n * @name BindFacebook\n * @operationId ExternalProvidersController_BindFacebook\n * @summary The external login by vk.\n * @request GET:/account/external/bind/facebook\n * @secure\n * @response `200` OK\n */\n bindFacebook() {\n return this.http.createUrl(`/account/external/bind/facebook`);\n }\n /**\n * No description\n *\n * @tags ExternalProviders\n * @name BindGoogle\n * @operationId ExternalProvidersController_BindGoogle\n * @summary The external login by vk.\n * @request GET:/account/external/bind/google\n * @secure\n * @response `200` OK\n */\n bindGoogle() {\n return this.http.createUrl(`/account/external/bind/google`);\n }\n /**\n * No description\n *\n * @tags ExternalProviders\n * @name BindVk\n * @operationId ExternalProvidersController_BindVk\n * @summary The external login by vk.\n * @request GET:/account/external/bind/vk\n * @secure\n * @response `200` OK\n */\n bindVk() {\n return this.http.createUrl(`/account/external/bind/vk`);\n }\n /**\n * No description\n *\n * @tags ExternalProviders\n * @name BindYandex\n * @operationId ExternalProvidersController_BindYandex\n * @summary The external login by yandex.\n * @request GET:/account/external/bind/yandex\n * @secure\n * @response `200` OK\n */\n bindYandex() {\n return this.http.createUrl(`/account/external/bind/yandex`);\n }\n /**\n * No description\n *\n * @tags ExternalProviders\n * @name BindCallback\n * @operationId ExternalProvidersController_BindCallback\n * @summary Bind external login to current user account.\n * @request GET:/account/external/bind/callback\n * @secure\n * @response `200` OK\n */\n bindCallback() {\n return this.http.get(`/account/external/bind/callback`).then(() => {});\n }\n}\n","import { ExternalProvidersService } from '../__generated__/ExternalProvidersService';\r\nimport { SocAuthNetwork } from '../Api';\r\n\r\nexport class External extends ExternalProvidersService {\r\n login(network?: SocAuthNetwork) {\r\n switch (network) {\r\n case 'vk':\r\n return this.vkLogin();\r\n case 'google':\r\n return this.googleLogin();\r\n case 'facebook':\r\n return this.facebookLogin();\r\n case 'yandex':\r\n return this.yandexLogin();\r\n default:\r\n return '';\r\n }\r\n }\r\n\r\n bind(network?: SocAuthNetwork) {\r\n switch (network) {\r\n case 'vk':\r\n return this.bindVk();\r\n case 'google':\r\n return this.bindGoogle();\r\n case 'facebook':\r\n return this.bindFacebook();\r\n case 'yandex':\r\n return this.bindYandex();\r\n default:\r\n return '';\r\n }\r\n }\r\n\r\n unbind(network?: SocAuthNetwork) {\r\n switch (network) {\r\n case 'vk':\r\n return this.unbindVk();\r\n case 'google':\r\n return this.unbindGoogle();\r\n case 'facebook':\r\n return this.unbindFacebook();\r\n case 'yandex':\r\n return this.unbindYandex();\r\n default:\r\n return '';\r\n }\r\n }\r\n}\r\n","/* eslint-disable */\n/* tslint:disable */\n/*\n * ---------------------------------------------------------------\n * ## THIS FILE WAS GENERATED VIA SWAGGER-TYPESCRIPT-API ##\n * ## ##\n * ## AUTHOR: acacode ##\n * ## SOURCE: https://github.com/acacode/swagger-typescript-api ##\n * ---------------------------------------------------------------\n */\n\n// @ts-nocheck\n\nimport { Service } from \"./Service\";\nimport { BatchResourcesAclDc, BulkOperationResultDc } from \"./data-contracts\";\n\n/**\n * @title Spatial Processing Core API\n * @version 1.5.1.0\n * @baseUrl /sp\n */\nexport class BulkOperationsService extends Service {\n /**\n * No description\n *\n * @tags BulkOperations\n * @name BatchResourcesPermissionsSet\n * @operationId BulkOperationsController_BatchResourcesPermissionsSet\n * @summary Perform resources set acl access batch operation.\n * @request PUT:/bulk/resources/permissions\n * @secure\n * @response `200` OK\n */\n batchResourcesPermissionsSet(data: BatchResourcesAclDc) {\n return this.http.put(`/bulk/resources/permissions`, data).json<BulkOperationResultDc[]>();\n }\n}\n","import { BulkOperationsService } from \"../__generated__/BulkOperationsService\";\r\n\r\nexport class BulkOperations extends BulkOperationsService {}\r\n","/* eslint-disable */\n/* tslint:disable */\n/*\n * ---------------------------------------------------------------\n * ## THIS FILE WAS GENERATED VIA SWAGGER-TYPESCRIPT-API ##\n * ## ##\n * ## AUTHOR: acacode ##\n * ## SOURCE: https://github.com/acacode/swagger-typescript-api ##\n * ---------------------------------------------------------------\n */\n\n// @ts-nocheck\n\nimport { Service } from \"./Service\";\nimport {\n ArchiveCalendarDc,\n ArchiveTimelineDc,\n CameraListDc,\n GetArchiveCalendarParams,\n GetArchiveFeedParams,\n GetArchiveSnapshotParams,\n GetArchiveTimelineParams,\n GetCamerasParams,\n GetLiveFeedParams,\n GetLivePreviewStreamParams,\n IAsyncEnumerableLivePreviewDc,\n} from \"./data-contracts\";\n\n/**\n * @title Spatial Processing Core API\n * @version 1.5.1.0\n * @baseUrl /sp\n */\nexport class CamerasService extends Service {\n /**\n * No description\n *\n * @tags Cameras\n * @name GetCameras\n * @operationId CamerasController_GetCameras\n * @summary Get cameras list.\n * @request GET:/cameras\n * @secure\n * @response `200` OK\n */\n getCameras(query: GetCamerasParams) {\n return this.http.get(`/cameras`, query).json<CameraListDc>();\n }\n /**\n * No description\n *\n * @tags Cameras\n * @name GetArchiveFeed\n * @operationId CamerasController_GetArchiveFeed\n * @summary Streams an FLV-over-HTTP archive feed starting at specific time.\n * @request GET:/cameras/{cameraId}/archiveFeed\n * @secure\n * @response `200` OK\n */\n getArchiveFeed({ cameraId, ...query }: GetArchiveFeedParams) {\n return this.http.get(`/cameras/${cameraId}/archiveFeed`, query).blob();\n }\n /**\n * No description\n *\n * @tags Cameras\n * @name GetArchiveTimeline\n * @operationId CamerasController_GetArchiveTimeline\n * @summary Returns a list of records available within a given timeframe.\n * @request GET:/cameras/{cameraId}/archiveTimeline\n * @secure\n * @response `200` OK\n */\n getArchiveTimeline({ cameraId, ...query }: GetArchiveTimelineParams) {\n return this.http.get(`/cameras/${cameraId}/archiveTimeline`, query).json<ArchiveTimelineDc>();\n }\n /**\n * No description\n *\n * @tags Cameras\n * @name GetArchiveCalendar\n * @operationId CamerasController_GetArchiveCalendar\n * @summary Returns a list of records available within a given timeframe.\n * @request GET:/cameras/{cameraId}/archiveCalendar\n * @secure\n * @response `200` OK\n */\n getArchiveCalendar({ cameraId, ...query }: GetArchiveCalendarParams) {\n return this.http.get(`/cameras/${cameraId}/archiveCalendar`, query).json<ArchiveCalendarDc>();\n }\n /**\n * No description\n *\n * @tags Cameras\n * @name GetArchiveSnapshot\n * @operationId CamerasController_GetArchiveSnapshot\n * @summary Returns a JPEG image from the Camera’s archive.\n * @request GET:/cameras/{cameraId}/archiveSnapshot\n * @secure\n * @response `200` OK\n */\n getArchiveSnapshot({ cameraId, ...query }: GetArchiveSnapshotParams) {\n return this.http.get(`/cameras/${cameraId}/archiveSnapshot`, query).blob();\n }\n /**\n * No description\n *\n * @tags Cameras\n * @name GetLiveFeed\n * @operationId CamerasController_GetLiveFeed\n * @summary Streams live video feed from the Camera.\n * @request GET:/cameras/{cameraId}/liveFeed\n * @secure\n * @response `200` OK\n */\n getLiveFeed({ cameraId, ...query }: GetLiveFeedParams) {\n return this.http.get(`/cameras/${cameraId}/liveFeed`, query).blob();\n }\n /**\n * No description\n *\n * @tags Cameras\n * @name GetLiveSnapshot\n * @operationId CamerasController_GetLiveSnapshot\n * @summary Returns a JPEG image from the Camera’s live feed.\n * @request GET:/cameras/{cameraId}/liveSnapshot\n * @secure\n * @response `200` OK\n */\n getLiveSnapshot(cameraId: string) {\n return this.http.get(`/cameras/${cameraId}/liveSnapshot`).blob();\n }\n /**\n * No description\n *\n * @tags Cameras\n * @name GetLivePreviewStream\n * @operationId CamerasController_GetLivePreviewStream\n * @summary Get live preview stream.\n * @request GET:/cameras/{cameraId}/getLivePreviewsStream\n * @secure\n * @response `200` OK\n */\n getLivePreviewStream({ cameraId, ...query }: GetLivePreviewStreamParams) {\n return this.http.get(`/cameras/${cameraId}/getLivePreviewsStream`, query).json<IAsyncEnumerableLivePreviewDc>();\n }\n}\n","import { CamerasService } from \"../__generated__/CamerasService\";\r\n\r\nexport class Cameras extends CamerasService {}\r\n","/* eslint-disable */\n/* tslint:disable */\n/*\n * ---------------------------------------------------------------\n * ## THIS FILE WAS GENERATED VIA SWAGGER-TYPESCRIPT-API ##\n * ## ##\n * ## AUTHOR: acacode ##\n * ## SOURCE: https://github.com/acacode/swagger-typescript-api ##\n * ---------------------------------------------------------------\n */\n\n// @ts-nocheck\n\nimport { Service } from \"./Service\";\nimport {\n GetConfigurationParams,\n GetConfigurationsListParams,\n PagedListConfigDc,\n RemoveConfigurationParams,\n SetConfigurationParams,\n SetConfigurationPayload,\n} from \"./data-contracts\";\n\n/**\n * @title Spatial Processing Core API\n * @version 1.5.1.0\n * @baseUrl /sp\n */\nexport class ClientSettingsService extends Service {\n /**\n * No description\n *\n * @tags ClientSettings\n * @name GetConfigurationsList\n * @operationId ClientSettingsController_GetConfigurationsList\n * @summary Get client configurations.\n * @request GET:/settings/config\n * @secure\n * @response `200` OK\n */\n getConfigurationsList(query: GetConfigurationsListParams) {\n return this.http.get(`/settings/config`, query).json<PagedListConfigDc>();\n }\n /**\n * No description\n *\n * @tags ClientSettings\n * @name GetConfiguration\n * @operationId ClientSettingsController_GetConfiguration\n * @summary Get config for urlPath.\n * @request GET:/settings\n * @secure\n * @response `200` OK\n */\n getConfiguration(query: GetConfigurationParams) {\n return this.http.get(`/settings`, query).text();\n }\n /**\n * No description\n *\n * @tags ClientSettings\n * @name SetConfiguration\n * @operationId ClientSettingsController_SetConfiguration\n * @summary Set config for urlPath.\n * @request POST:/settings\n * @secure\n * @response `200` OK\n */\n setConfiguration(query: SetConfigurationParams, data: SetConfigurationPayload) {\n return this.http.post(`/settings`, data, query).then(() => {});\n }\n /**\n * No description\n *\n * @tags ClientSettings\n * @name RemoveConfiguration\n * @operationId ClientSettingsController_RemoveConfiguration\n * @summary Remove config for urlPath.\n * @request DELETE:/settings\n * @secure\n * @response `200` OK\n */\n removeConfiguration(query: RemoveConfigurationParams) {\n return this.http.delete(`/settings`, null, query).then(() => {});\n }\n}\n","import { ClientSettingsService } from \"../__generated__/ClientSettingsService\";\r\nimport { GetConfigurationParams } from \"../__generated__/data-contracts\";\r\n\r\nexport class ClientSettings extends ClientSettingsService {\r\n settings: ClientConfiguration = {\r\n modules: [],\r\n connection: {\r\n url: \"\",\r\n },\r\n };\r\n\r\n async fetchClientSettings(query: GetConfigurationParams) {\r\n const config = (JSON.parse(\r\n await this.getConfiguration(query),\r\n ) as unknown) as ClientConfiguration;\r\n\r\n this.updateClientSettings(config);\r\n\r\n return config;\r\n }\r\n\r\n updateClientSettings(update: Partial<ClientConfiguration>) {\r\n Object.assign(this.settings, update);\r\n }\r\n}\r\n\r\nexport type UserDC = {\r\n username?: string;\r\n workspace?: string;\r\n email?: string;\r\n pk?: string;\r\n first_name?: string;\r\n last_name?: string;\r\n is_password_set?: boolean;\r\n description?: string;\r\n is_subscribed?: boolean;\r\n profile_photo?: string;\r\n social?: unknown;\r\n is_open_last_project?: boolean;\r\n position?: string;\r\n company?: string;\r\n location?: string;\r\n};\r\n\r\ntype MenuConfig = {\r\n title: string;\r\n icon: string;\r\n};\r\n\r\ntype LayoutConfig = {\r\n area?: string;\r\n menu?: MenuConfig;\r\n resizable?: boolean;\r\n};\r\n\r\nexport type RouteConfig =\r\n | string\r\n | {\r\n name: string;\r\n payload?: { panel: string | string[] };\r\n default?: boolean;\r\n type?: string;\r\n};\r\n\r\nexport interface ModuleConfig {\r\n name: string;\r\n modulePath: string;\r\n route?: RouteConfig;\r\n layoutOptions?: LayoutConfig;\r\n priority?: number;\r\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\r\n options?: Record<string, any>;\r\n submodules?: ModuleConfig[];\r\n preload?: boolean;\r\n}\r\n\r\nexport type ConnectionSettings = {\r\n url: string;\r\n login?: string;\r\n password?: string;\r\n session_id?: string;\r\n};\r\n\r\nexport type ClientConfiguration = {\r\n connection: ConnectionSettings;\r\n modules: ModuleConfig[];\r\n};\r\n","/* eslint-disable */\n/* tslint:disable */\n/*\n * ---------------------------------------------------------------\n * ## THIS FILE WAS GENERATED VIA SWAGGER-TYPESCRIPT-API ##\n * ## ##\n * ## AUTHOR: acacode ##\n * ## SOURCE: https://github.com/acacode/swagger-typescript-api ##\n * ---------------------------------------------------------------\n */\n\n// @ts-nocheck\n\nimport { Service } from \"./Service\";\nimport {\n AttributeDefinitionDc,\n AvailiableValuesDc,\n EqlDependenciesDc,\n EqlRequestDc,\n GetAvailiableLayerParametersParams,\n GetLayerParameters1Params,\n GetLayerParametersParams,\n GetPagedQueryResultParams,\n GetQueryHistoryParams,\n GetVectorTileParams,\n PagedFeaturesListDc,\n PagedListQueryHistoryDc,\n RemoveLayerParameterValueParams,\n SetLayerParameterValueParams,\n SetLayerParametersParams,\n SetLayerParametersPayload,\n} from \"./data-contracts\";\n\n/**\n * @title Spatial Processing Core API\n * @version 1.5.1.0\n * @baseUrl /sp\n */\nexport class EqlService extends Service {\n /**\n * No description\n *\n * @tags Eql\n * @name GetPagedQueryResult\n * @operationId EqlController_GetPagedQueryResult\n * @summary Perform resources set acl access batch operation.\n * @request POST:/eql/query\n * @secure\n * @response `200` OK\n */\n getPagedQueryResult(query: GetPagedQueryResultParams, data: EqlRequestDc) {\n return this.http.post(`/eql/query`, data, query).json<PagedFeaturesListDc>();\n }\n /**\n * No description\n *\n * @tags Eql\n * @name GetQueryDescription\n * @operationId EqlController_GetQueryDescription\n * @summary Get EQL result columns definitions.\n * @request POST:/eql/description\n * @secure\n * @response `200` OK\n */\n getQueryDescription(data: EqlRequestDc) {\n return this.http.post(`/eql/description`, data).json<Record<string, AttributeDefinitionDc>>();\n }\n /**\n * No description\n *\n * @tags Eql\n * @name GetQueryDependencies\n * @operationId EqlController_GetQueryDependencies\n * @summary Get EQL result dependencies.\n * @request POST:/eql/dependencies\n * @secure\n * @response `200` OK\n */\n getQueryDependencies(data: EqlRequestDc) {\n return this.http.post(`/eql/dependencies`, data).json<EqlDependenciesDc>();\n }\n /**\n * No description\n *\n * @tags Eql\n * @name GetVectorTile\n * @operationId EqlController_GetVectorTile\n * @summary Get vector tile by query.\n * @request GET:/eql/vt/{z}/{x}/{y}.pbf\n * @secure\n * @response `200` OK\n */\n getVectorTile({ z, x, y, ...query }: GetVectorTileParams) {\n return this.http.get(`/eql/vt/{z}/{x}/{y}.pbf`, query).then(() => {});\n }\n /**\n * No description\n *\n * @tags Eql\n * @name GetQueryHistory\n * @operationId EqlController_GetQueryHistory\n * @summary Get EQL requests history.\n * @request GET:/eql/query/history\n * @secure\n * @response `200` OK\n */\n getQueryHistory(query: GetQueryHistoryParams) {\n return this.http.get(`/eql/query/history`, query).json<PagedListQueryHistoryDc>();\n }\n /**\n * No description\n *\n * @tags Eql\n * @name SetLayerParameterValue\n * @operationId EqlController_SetLayerParameterValue\n * @summary Set EQL layer parameter.\n * @request POST:/eql/setParam\n * @secure\n * @response `200` OK\n */\n setLayerParameterValue(query: SetLayerParameterValueParams) {\n return this.http.post(`/eql/setParam`, null, query).then(() => {});\n }\n /**\n * No description\n *\n * @tags Eql\n * @name SetLayerParameters\n * @operationId EqlController_SetLayerParameters\n * @summary Set EQL layer parameters.\n * @request POST:/eql/setParams\n * @secure\n * @response `200` OK\n */\n setLayerParameters(query: SetLayerParametersParams, data: SetLayerParametersPayload) {\n return this.http.post(`/eql/setParams`, data, query).then(() => {});\n }\n /**\n * No description\n *\n * @tags Eql\n * @name GetLayerParameters\n * @operationId EqlController_GetLayerParameters\n * @summary Get EQL parameter.\n * @request GET:/eql/getParam\n * @secure\n * @response `200` OK\n */\n getLayerParameters(query: GetLayerParametersParams) {\n return this.http.get(`/eql/getParam`, query).text();\n }\n /**\n * No description\n *\n * @tags Eql\n * @name GetLayerParameters1\n * @operationId EqlController_GetLayerParameters_1\n * @summary Get all EQL parameters.\n * @request GET:/eql/getParams\n * @secure\n * @response `200` OK\n */\n getLayerParameters1(query: GetLayerParameters1Params) {\n return this.http.get(`/eql/getParams`, query).json<Record<string, string>>();\n }\n /**\n * No description\n *\n * @tags Eql\n * @name RemoveLayerParameterValue\n * @operationId EqlController_RemoveLayerParameterValue\n * @summary Remove EQL layer parameter.\n * @request DELETE:/eql/removeParam\n * @secure\n * @response `200` OK\n */\n removeLayerParameterValue(query: RemoveLayerParameterValueParams) {\n return this.http.delete(`/eql/removeParam`, null, query).then(() => {});\n }\n /**\n * No description\n *\n * @tags Eql\n * @name GetAvailiableLayerParameters\n * @operationId EqlController_GetAvailiableLayerParameters\n * @summary Get availiable layer parameters values.\n * @request GET:/eql/getAvailiableParams\n * @secure\n * @response `200` OK\n */\n getAvailiableLayerParameters(query: GetAvailiableLayerParametersParams) {\n return this.http.get(`/eql/getAvailiableParams`, query).json<AvailiableValuesDc>();\n }\n /**\n * No description\n *\n * @tags Eql\n * @name Get\n * @operationId EqlController_Get\n * @summary Returns the query by its id.\n * @request GET:/eql/query/{id}\n * @secure\n * @response `200` OK\n */\n get(id: string) {\n return this.http.get(`/eql/query/${id}`).json<EqlRequestDc>();\n }\n /**\n * No description\n *\n * @tags Eql\n * @name Update\n * @operationId EqlController_Update\n * @summary Replaces a query and gives it a new id.\n * @request POST:/eql/query/{id}\n * @secure\n * @response `200` OK\n */\n update(id: string, data: EqlRequestDc) {\n return this.http.post(`/eql/query/${id}`, data).then(() => {});\n }\n /**\n * No description\n *\n * @tags Eql\n * @name Create\n * @operationId EqlController_Create\n * @summary Creates a new query.\n * @request POST:/eql/query/save\n * @secure\n * @response `200` OK\n */\n create(data: EqlRequestDc) {\n return this.http.post(`/eql/query/save`, data).text();\n }\n}\n","import { EqlService } from \"../__generated__/EqlService\";\r\n\r\nexport class Eql extends EqlService {}\r\n","/* eslint-disable */\n/* tslint:disable */\n/*\n * ---------------------------------------------------------------\n * ## THIS FILE WAS GENERATED VIA SWAGGER-TYPESCRIPT-API ##\n * ## ##\n * ## AUTHOR: acacode ##\n * ## SOURCE: https://github.com/acacode/swagger-typescript-api ##\n * ---------------------------------------------------------------\n */\n\n// @ts-nocheck\n\nimport { toFormData } from \"./HttpClient\";\nimport { Service } from \"./Service\";\nimport { FeedbackParams, FeedbackPayload, IncreaseResourcesLimitParams } from \"./data-contracts\";\n\n/**\n * @title Spatial Processing Core API\n * @version 1.5.1.0\n * @baseUrl /sp\n */\nexport class FeedbackService extends Service {\n /**\n * No description\n *\n * @tags Feedback\n * @name IncreaseResourcesLimit\n * @operationId FeedbackController_IncreaseResourcesLimit\n * @summary Increase resources limit request.\n * @request POST:/feedback/limits\n * @secure\n * @response `200` OK\n */\n increaseResourcesLimit(query: IncreaseResourcesLimitParams) {\n return this.http.post(`/feedback/limits`, null, query).json<string[]>();\n }\n /**\n * No description\n *\n * @tags Feedback\n * @name Feedback\n * @operationId FeedbackController_Feedback\n * @summary Feedback request.\n * @request POST:/feedback\n * @secure\n * @response `200` OK\n */\n feedback(query: FeedbackParams, data: FeedbackPayload | FormData) {\n return this.http.post(`/feedback`, toFormData(data), query).json<string[]>();\n }\n}\n","import { FeedbackService } from \"../__generated__/FeedbackService\";\r\n\r\nexport class Feedback extends FeedbackService {}\r\n","/* eslint-disable */\n/* tslint:disable */\n/*\n * ---------------------------------------------------------------\n * ## THIS FILE WAS GENERATED VIA SWAGGER-TYPESCRIPT-API ##\n * ## ##\n * ## AUTHOR: acacode ##\n * ## SOURCE: https://github.com/acacode/swagger-typescript-api ##\n * ---------------------------------------------------------------\n */\n\n// @ts-nocheck\n\nimport { toFormData } from \"./HttpClient\";\nimport { Service } from \"./Service\";\nimport {\n AccessControlListDc,\n CatalogResourceDc,\n CopyResourceResultDc,\n CopyResourcesPayload,\n CreateDirectoryDc,\n CreateFile1Payload,\n CreateFilePayload,\n CreateSymlinkDc,\n GetByPathDc,\n GetTagsParams,\n ListResourcesDc,\n MoveResourceDc,\n PagedResourcesListDc,\n PagedTagsListDc,\n PatchResourceDc,\n PostGetAllParams,\n PutTagsPayload,\n ResourceParentDc,\n SetPermissionsPayload,\n ZipExtractRequestDc,\n} from \"./data-contracts\";\n\n/**\n * @title Spatial Processing Core API\n * @version 1.5.1.0\n * @baseUrl /sp\n */\nexport class CatalogService extends Service {\n /**\n * No description\n *\n * @tags Catalog\n * @name GetParents\n * @operationId CatalogController_GetParents\n * @summary Get parents.\n * @request GET:/resources/{resourceId}/parents\n * @secure\n * @response `200` OK\n */\n getParents(resourceId: string) {\n return this.http.get(`/resources/${resourceId}/parents`).json<ResourceParentDc[]>();\n }\n /**\n * No description\n *\n * @tags Catalog\n * @name GetTags\n * @operationId CatalogController_GetTags\n * @summary Get all tags of given user.\n * @request GET:/resources/tags\n * @secure\n * @response `200` OK\n */\n getTags(query: GetTagsParams) {\n return this.http.get(`/resources/tags`, query).json<PagedTagsListDc>();\n }\n /**\n * No description\n *\n * @tags Catalog\n * @name PutTags\n * @operationId CatalogController_PutTags\n * @summary Put tags to resource.\n * @request PUT:/resources/{resourceId}/tags\n * @secure\n * @response `200` OK\n */\n putTags(resourceId: string, data: PutTagsPayload) {\n return this.http.put(`/resources/${resourceId}/tags`, data).json<CatalogResourceDc>();\n }\n /**\n * No description\n *\n * @tags Catalog\n * @name PostLink\n * @operationId CatalogController_PostLink\n * @summary Put link to resource.\n * @request POST:/resources/links\n * @secure\n * @response `200` OK\n */\n postLink(data: CreateSymlinkDc) {\n return this.http.post(`/resources/links`, data).json<CatalogResourceDc>();\n }\n /**\n * No description\n *\n * @tags Catalog\n * @name PostGetAll\n * @operationId CatalogController_PostGetAll\n * @summary Get all resource with given.\n * @request POST:/resources\n * @secure\n * @response `200` OK\n */\n postGetAll(query: PostGetAllParams, data: ListResourcesDc) {\n return this.http.post(`/resources`, data, query).json<PagedResourcesListDc>();\n }\n /**\n * No description\n *\n * @tags Catalog\n * @name GetResource\n * @operationId CatalogController_GetResource\n * @summary Get resource with given id.\n * @request GET:/resources/{resourceId}\n * @secure\n * @response `200` OK\n */\n getResource(resourceId: string) {\n return this.http.get(`/resources/${resourceId}`).json<CatalogResourceDc>();\n }\n /**\n * No description\n *\n * @tags Catalog\n * @name PatchResource\n * @operationId CatalogController_PatchResource\n * @summary Update resource.\n * @request PATCH:/resources/{resourceId}\n * @secure\n * @response `200` OK\n */\n patchResource(resourceId: string, data: PatchResourceDc) {\n return this.http.patch(`/resources/${resourceId}`, data).json<CatalogResourceDc>();\n }\n /**\n * No description\n *\n * @tags Catalog\n * @name DeleteResource\n * @operationId CatalogController_DeleteResource\n * @summary Delete resource.\n * @request DELETE:/resources/{resourceId}\n * @secure\n * @response `200` OK\n */\n deleteResource(resourceId: string) {\n return this.http.delete(`/resources/${resourceId}`, null).then(() => {});\n }\n /**\n * No description\n *\n * @tags Catalog\n * @name ResourceExistsByPath\n * @operationId CatalogController_ResourceExistsByPathAsync\n * @summary Check resource path is existing.\n * @request GET:/resources/existsByPath/{path}\n * @secure\n * @response `200` OK\n */\n resourceExistsByPath(path: string) {\n return this.http.get(`/resources/existsByPath/${path}`).json<boolean>();\n }\n /**\n * No description\n *\n * @tags Catalog\n * @name ResourceExistsById\n * @operationId CatalogController_ResourceExistsByIdAsync\n * @summary Check resource id is existing.\n * @request GET:/resources/existsById/{resourceId}\n * @secure\n * @response `200` OK\n */\n resourceExistsById(resourceId: string) {\n return this.http.get(`/resources/existsById/${resourceId}`).json<boolean>();\n }\n /**\n * No description\n *\n * @tags Catalog\n * @name ResourceExistsByName\n * @operationId CatalogController_ResourceExistsByNameAsync\n * @summary Check resource path exists.\n * @request GET:/resources/existsByName/{systemName}\n * @secure\n * @response `200` OK\n */\n resourceExistsByName(systemName: string) {\n return this.http.get(`/resources/existsByName/${systemName}`).json<boolean>();\n }\n /**\n * No description\n *\n * @tags Catalog\n * @name GetResourceByPath\n * @operationId CatalogController_GetResourceByPath\n * @summary Get resource with given path.\n * @request GET:/resources/getByPath/{path}\n * @secure\n * @response `200` OK\n */\n getResourceByPath(path: string) {\n return this.http.get(`/resources/getByPath/${path}`).json<CatalogResourceDc>();\n }\n /**\n * No description\n *\n * @tags Catalog\n * @name PostGetResourceByPath\n * @operationId CatalogController_PostGetResourceByPath\n * @summary Get resource with given path.\n * @request POST:/resources/getByPath\n * @secure\n * @response `200` OK\n */\n postGetResourceByPath(data: GetByPathDc) {\n return this.http.post(`/resources/getByPath`, data).json<CatalogResourceDc>();\n }\n /**\n * No description\n *\n * @tags Catalog\n * @name MoveResource\n * @operationId CatalogController_MoveResource\n * @summary Rename resource with given id.\n * @request POST:/resources/move/{resourceId}\n * @secure\n * @response `200` OK\n */\n moveResource(resourceId: string, data: MoveResourceDc) {\n return this.http.post(`/resources/move/${resourceId}`, data).json<CatalogResourceDc>();\n }\n /**\n * No description\n *\n * @tags Catalog\n * @name CreateDirectory\n * @operationId CatalogController_CreateDirectory\n * @summary Create directory.\n * @request POST:/resources/directory\n * @secure\n * @response `200` OK\n */\n createDirectory(data: CreateDirectoryDc) {\n return this.http.post(`/resources/directory`, data).json<CatalogResourceDc>();\n }\n /**\n * No description\n *\n * @tags Catalog\n * @name CreateFile\n * @operationId CatalogController_CreateFile\n * @summary Create new file.\n * @request PATCH:/resources/file\n * @secure\n * @response `200` OK\n */\n createFile(data: CreateFilePayload | FormData) {\n return this.http.patch(`/resources/file`, toFormData(data)).json<CatalogResourceDc>();\n }\n /**\n * No description\n *\n * @tags Catalog\n * @name CreateFile1\n * @operationId CatalogController_CreateFile_1\n * @summary Create new file.\n * @request POST:/resources/file\n * @secure\n * @response `200` OK\n */\n createFile1(data: CreateFile1Payload | FormData) {\n return this.http.post(`/resources/file`, toFormData(data)).json<CatalogResourceDc>();\n }\n /**\n * No description\n *\n * @tags Catalog\n * @name GetPermissions\n * @operationId CatalogController_GetPermissions\n * @summary Set permissions to the resource.\n * @request GET:/resources/{resourceId}/permissions\n * @secure\n * @response `200` OK\n */\n getPermissions(resourceId: string) {\n return this.http.get(`/resources/${resourceId}/permissions`).json<AccessControlListDc>();\n }\n /**\n * No description\n *\n * @tags Catalog\n * @name SetPermissions1\n * @operationId CatalogController_SetPermissions_1\n * @summary Set permissions to the resource.\n * @request PUT:/resources/{resourceId}/permissions\n * @secure\n * @response `200` OK\n */\n setPermissions1(resourceId: string, data: AccessControlListDc) {\n return this.http.put(`/resources/${resourceId}/permissions`, data).then(() => {});\n }\n /**\n * No description\n *\n * @tags Catalog\n * @name SetPermissions\n * @operationId CatalogController_SetPermissions\n * @summary Set permissions to the resource.\n * @request PUT:/resources/permissions\n * @secure\n * @response `200` OK\n */\n setPermissions(data: SetPermissionsPayload) {\n return this.http.put(`/resources/permissions`, data).then(() => {});\n }\n /**\n * No description\n *\n * @tags Catalog\n * @name GetFile\n * @operationId CatalogController_GetFile\n * @summary Download file.\n * @request GET:/resources/file/{resourceId}\n * @secure\n * @response `200` OK\n */\n getFile(resourceId: string) {\n return this.http.get(`/resources/file/${resourceId}`).blob();\n }\n /**\n * No description\n *\n * @tags Catalog\n * @name CleanResources\n * @operationId CatalogController_CleanResources\n * @summary Clean user resources.\n * @request POST:/resources/clean\n * @secure\n * @response `200` OK\n */\n cleanResources() {\n return this.http.post(`/resources/clean`, null).then(() => {});\n }\n /**\n * No description\n *\n * @tags Catalog\n * @name CopyResources\n * @operationId CatalogController_CopyResources\n * @summary Copy a set of resources.\n * @request POST:/resources/copy\n * @secure\n * @response `200` OK\n */\n copyResources(data: CopyResourcesPayload) {\n return this.http.post(`/resources/copy`, data).json<CopyResourceResultDc[]>();\n }\n /**\n * No description\n *\n * @tags Catalog\n * @name ExtractZipArchive\n * @operationId CatalogController_ExtractZipArchive\n * @summary Extract zip archive.\n * @request POST:/resources/zip/extract\n * @secure\n * @response `200` OK\n */\n extractZipArchive(data: ZipExtractRequestDc) {\n return this.http.post(`/resources/zip/extract`, data).then(() => {});\n }\n}\n","import { CatalogResourceDc, CreateFile1Payload, CreateFilePayload } from \"..\";\r\nimport { CatalogService } from \"../__generated__/CatalogService\";\r\n\r\nexport class FileUpload extends CatalogService {\r\n upload(file: File, rewrite?: boolean, parentId?: string, fileName?: string): Promise<CatalogResourceDc> {\r\n const props: CreateFile1Payload = { file, rewrite: !!rewrite };\r\n\r\n if (parentId) {\r\n props.parentId = parentId;\r\n }\r\n\r\n if (fileName) {\r\n props.fileName = fileName;\r\n }\r\n\r\n return this.createFile1(props);\r\n }\r\n\r\n replaceFile(params: CreateFilePayload) {\r\n return this.createFile(params);\r\n }\r\n}\r\n","/* eslint-disable */\n/* tslint:disable */\n/*\n * ---------------------------------------------------------------\n * ## THIS FILE WAS GENERATED VIA SWAGGER-TYPESCRIPT-API ##\n * ## ##\n * ## AUTHOR: acacode ##\n * ## SOURCE: https://github.com/acacode/swagger-typescript-api ##\n * ---------------------------------------------------------------\n */\n\n// @ts-nocheck\n\nimport { Service } from \"./Service\";\nimport { FilterDc, FilterResponseDc } from \"./data-contracts\";\n\n/**\n * @title Spatial Processing Core API\n * @version 1.5.1.0\n * @baseUrl /sp\n */\nexport class FiltersService extends Service {\n /**\n * No description\n *\n * @tags FiltersService\n * @name Get\n * @operationId FiltersServiceController_Get\n * @summary Returns the filter by its id.\n * @request GET:/filters/{id}\n * @secure\n * @response `200` OK\n */\n get(id: string) {\n return this.http.get(`/filters/${id}`).json<FilterResponseDc>();\n }\n /**\n * No description\n *\n * @tags FiltersService\n * @name Update\n * @operationId FiltersServiceController_Update\n * @summary Replaces a filter and gives it a new id.\n * @request POST:/filters/{id}\n * @secure\n * @response `200` OK\n */\n update(id: string, data: FilterDc) {\n return this.http.post(`/filters/${id}`, data).json<FilterResponseDc>();\n }\n /**\n * No description\n *\n * @tags FiltersService\n * @name Create\n * @operationId FiltersServiceController_Create\n * @summary Creates a new filter.\n * @request POST:/filters\n * @secure\n * @response `200` OK\n */\n create(data: FilterDc) {\n return this.http.post(`/filters`, data).json<FilterResponseDc>();\n }\n}\n","import { FiltersService } from \"../__generated__/FiltersService\";\r\n\r\nexport class Filters extends FiltersService {}\r\n","/* eslint-disable */\n/* tslint:disable */\n/*\n * ---------------------------------------------------------------\n * ## THIS FILE WAS GENERATED VIA SWAGGER-TYPESCRIPT-API ##\n * ## ##\n * ## AUTHOR: acacode ##\n * ## SOURCE: https://github.com/acacode/swagger-typescript-api ##\n * ---------------------------------------------------------------\n */\n\n// @ts-nocheck\n\nimport { Service } from \"./Service\";\nimport {\n GeocodeByPointParams,\n GeocodeParams,\n GeocodeResultDc,\n GeocodeSuggestResultDc,\n SuggestParams,\n} from \"./data-contracts\";\n\n/**\n * @title Spatial Processing Core API\n * @version 1.5.1.0\n * @baseUrl /sp\n */\nexport class GeocodeService extends Service {\n /**\n * No description\n *\n * @tags GeocodeService\n * @name Geocode\n * @operationId GeocodeServiceController_Geocode\n * @summary Returns geocode geometry.\n * @request GET:/geocode/{providerName}\n * @secure\n * @response `200` OK\n */\n geocode({ providerName, ...query }: GeocodeParams) {\n return this.http.get(`/geocode/${providerName}`, query).json<GeocodeResultDc[]>();\n }\n /**\n * No description\n *\n * @tags GeocodeService\n * @name GeocodeByPoint\n * @operationId GeocodeServiceController_GeocodeByPoint\n * @summary Returns geocode address from point geometry.\n * @request GET:/geocode/{providerName}/geocodeByPoint\n * @secure\n * @response `200` OK\n */\n geocodeByPoint({ providerName, ...query }: GeocodeByPointParams) {\n return this.http.get(`/geocode/${providerName}/geocodeByPoint`, query).json<GeocodeResultDc[]>();\n }\n /**\n * No description\n *\n * @tags GeocodeService\n * @name Suggest\n * @operationId GeocodeServiceController_Suggest\n * @summary Returns geocode suggest.\n * @request GET:/geocode/{providerName}/suggest\n * @secure\n * @response `200` OK\n */\n suggest({ providerName, ...query }: SuggestParams) {\n return this.http.get(`/geocode/${providerName}/suggest`, query).json<GeocodeSuggestResultDc[]>();\n }\n}\n","import { GeocodeParams } from \"../__generated__/data-contracts\";\r\nimport { GeocodeService } from \"../__generated__/GeocodeService\";\r\n\r\nexport const GEOCODE_PROVIDER = \"geocode2gis\";\r\n\r\nexport type Geocode2GisType = Omit<GeocodeParams, \"providerName\">;\r\nexport type Suggest2GisType = Omit<GeocodeParams, \"providerName\">;\r\n\r\nexport class Geocode extends GeocodeService {\r\n geocode2Gis(params: Geocode2GisType) {\r\n return this.geocode({\r\n providerName: GEOCODE_PROVIDER,\r\n ...params,\r\n });\r\n }\r\n\r\n suggest2Gis(params: Suggest2GisType) {\r\n return this.suggest({\r\n providerName: GEOCODE_PROVIDER,\r\n ...params,\r\n });\r\n }\r\n}\r\n","/* eslint-disable */\n/* tslint:disable */\n/*\n * ---------------------------------------------------------------\n * ## THIS FILE WAS GENERATED VIA SWAGGER-TYPESCRIPT-API ##\n * ## ##\n * ## AUTHOR: acacode ##\n * ## SOURCE: https://github.com/acacode/swagger-typescript-api ##\n * ---------------------------------------------------------------\n */\n\n// @ts-nocheck\n\nimport { Service } from \"./Service\";\nimport {\n ExternalLayerInfoDc,\n GetDataSchemaParams,\n GetExternalArcGisLayersParams,\n GetExternalArcgisFsLayersParams,\n GetExternalPbfFeaturesParams,\n GetExternalPbfLayersParams,\n GetExternalWmsLayersParams,\n GetRasterAttributesParams,\n GetRasterMetaParams,\n ImportDataSchemaDc,\n ImportFileFeaturesCountDc,\n NetCdfMetaDc,\n PagedFeaturesListDc,\n RasterMetaDc,\n ReadPartParams,\n} from \"./data-contracts\";\n\n/**\n * @title Spatial Processing Core API\n * @version 1.5.1.0\n * @baseUrl /sp\n */\nexport class ImportService extends Service {\n /**\n * No description\n *\n * @tags ImportService\n * @name GetDataSchema\n * @operationId ImportServiceController_GetDataSchema\n * @summary Using a file uploaded to the file upload service, reads the headers of the file and returns the information about data schema of all layers in that file, available for import.\n * @request GET:/import/dataSchema\n * @secure\n * @response `200` OK\n */\n getDataSchema(query: GetDataSchemaParams) {\n return this.http.get(`/import/dataSchema`, query).json<ImportDataSchemaDc>();\n }\n /**\n * No description\n *\n * @tags ImportService\n * @name GetFeaturesCount\n * @operationId ImportServiceController_GetFeaturesCount\n * @summary Returns the features count of the given file in temporary static storage.\n * @request POST:/import/count\n * @secure\n * @response `200` OK\n */\n getFeaturesCount(data: ImportFileFeaturesCountDc) {\n return this.http.post(`/import/count`, data).json<number>();\n }\n /**\n * No description\n *\n * @tags ImportService\n * @name ReadPart\n * @operationId ImportServiceController_ReadPart\n * @summary Returns the features of the given file in temporary static storage.\n * @request GET:/import/read\n * @secure\n * @response `200` OK\n */\n readPart(query: ReadPartParams) {\n return this.http.get(`/import/read`, query).json<Record<string, any>[]>();\n }\n /**\n * No description\n *\n * @tags ImportService\n * @name GetExternalWmsLayers\n * @operationId ImportServiceController_GetExternalWmsLayers\n * @summary Get list of external WMS layers.\n * @request GET:/import/wms\n * @secure\n * @response `200` OK\n */\n getExternalWmsLayers(query: GetExternalWmsLayersParams) {\n return this.http.get(`/import/wms`, query).json<ExternalLayerInfoDc[]>();\n }\n /**\n * No description\n *\n * @tags ImportService\n * @name GetExternalPbfLayers\n * @operationId ImportServiceController_GetExternalPbfLayers\n * @summary Get list of external PBF layers.\n * @request GET:/import/pbf\n * @secure\n * @response `200` OK\n */\n getExternalPbfLayers(query: GetExternalPbfLayersParams) {\n return this.http.get(`/import/pbf`, query).json<ExternalLayerInfoDc[]>();\n }\n /**\n * No description\n *\n * @tags ImportService\n * @name GetExternalPbfFeatures\n * @operationId ImportServiceController_GetExternalPbfFeatures\n * @summary Get features list in external PBF layer.\n * @request GET:/import/pbf/features\n * @secure\n * @response `200` OK\n */\n getExternalPbfFeatures(query: GetExternalPbfFeaturesParams) {\n return this.http.get(`/import/pbf/features`, query).json<PagedFeaturesListDc>();\n }\n /**\n * No description\n *\n * @tags ImportService\n * @name GetExternalArcgisFsLayers\n * @operationId ImportServiceController_GetExternalArcgisFSLayers\n * @summary Get list of external ArcGis FeatureServer layers.\n * @request GET:/import/arcgisfeatureservice\n * @secure\n * @response `200` OK\n */\n getExternalArcgisFsLayers(query: GetExternalArcgisFsLayersParams) {\n return this.http.get(`/import/arcgisfeatureservice`, query).json<ExternalLayerInfoDc[]>();\n }\n /**\n * No description\n *\n * @tags ImportService\n * @name GetExternalArcGisLayers\n * @operationId ImportServiceController_GetExternalArcGisLayers\n * @summary Get list of external ArcGis MapServer layers.\n * @request GET:/import/arcgismapservice\n * @secure\n * @response `200` OK\n */\n getExternalArcGisLayers(query: GetExternalArcGisLayersParams) {\n return this.http.get(`/import/arcgismapservice`, query).json<ExternalLayerInfoDc[]>();\n }\n /**\n * No description\n *\n * @tags ImportService\n * @name GetRasterAttributes\n * @operationId ImportServiceController_GetRasterAttributes\n * @summary Parse raster attributes from file name.\n * @request GET:/import/rasterAttributes\n * @secure\n * @response `200` OK\n */\n getRasterAttributes(query: GetRasterAttributesParams) {\n return this.http.get(`/import/rasterAttributes`, query).json<Record<string, any>>();\n }\n /**\n * No description\n *\n * @tags ImportService\n * @name GetRasterMeta\n * @operationId ImportServiceController_GetRasterMeta\n * @summary Get raster meta data.\n * @request GET:/import/rasterMeta\n * @secure\n * @response `200` OK\n */\n getRasterMeta(query: GetRasterMetaParams) {\n return this.http.get(`/import/rasterMeta`, query).json<(RasterMetaDc | NetCdfMetaDc)[]>();\n }\n}\n","import { ImportService } from \"../__generated__/ImportService\";\r\n\r\nexport class Import extends ImportService {}\r\n","import { HTTPError } from \"ky\";\r\n\r\nexport enum ErrorReason {\r\n /** When request has status code less than 400 */\r\n HTTP_OTHER = \"other\",\r\n /** When request has status code in range 400 - 499 */\r\n HTTP_CLIENT = \"client\",\r\n /** When request has status code 500 or more */\r\n HTTP_SERVER = \"server\",\r\n /** When it's not a http bad response */\r\n UNKNOWN = \"unknown\",\r\n}\r\n\r\nexport type HandledError<E = Error> = HandledBaseError<E> | HandledHTTPError<E>;\r\n\r\nexport interface HandledBaseError<E = Error> {\r\n type: \"base\";\r\n reason: ErrorReason;\r\n origin: E;\r\n}\r\n\r\nexport interface HandledHTTPError<E = Error> {\r\n type: \"http\";\r\n reason: ErrorReason;\r\n origin: E;\r\n status: number;\r\n}\r\n\r\nconst handleBaseError = <E = Error>(e: E): HandledBaseError<E> => ({\r\n type: \"base\",\r\n reason: ErrorReason.UNKNOWN,\r\n origin: e,\r\n});\r\n\r\nconst handleHTTPError = <E extends HTTPError = HTTPError>(\r\n e: E,\r\n): HandledHTTPError<E> => {\r\n const status = e.response.status;\r\n let reason = ErrorReason.HTTP_OTHER;\r\n\r\n if (status >= 400 && status < 500) {\r\n reason = ErrorReason.HTTP_CLIENT;\r\n }\r\n if (status >= 500) {\r\n reason = ErrorReason.HTTP_SERVER;\r\n }\r\n\r\n return {\r\n type: \"http\",\r\n reason,\r\n status,\r\n origin: e,\r\n };\r\n};\r\n\r\nexport const errorHandler = <E = Error>(e: E): HandledError<E> => {\r\n if (e instanceof HTTPError) return handleHTTPError(e);\r\n return handleBaseError(e);\r\n};\r\n\r\nexport const isHandledError = (e: any): e is HandledError =>\r\n e && e.type && e.reason;\r\nexport const isHTTPError = (e: any): e is HandledHTTPError<HTTPError> =>\r\n isHandledError(e) && e.type === \"http\";\r\n","export function formDataFromFile(file: File) {\r\n const data = new FormData();\r\n data.append(\"file\", file);\r\n\r\n return data;\r\n}\r\n","export function isString(v: any): v is string {\r\n return typeof v === \"string\";\r\n}\r\n","/* eslint-disable */\n/* tslint:disable */\n/*\n * ---------------------------------------------------------------\n * ## THIS FILE WAS GENERATED VIA SWAGGER-TYPESCRIPT-API ##\n * ## ##\n * ## AUTHOR: acacode ##\n * ## SOURCE: https://github.com/acacode/swagger-typescript-api ##\n * ---------------------------------------------------------------\n */\n\n// @ts-nocheck\n\nimport { Service } from \"./Service\";\nimport {\n ArcGisDataSourceDc,\n ArcGisDataSourceInfoDc,\n GetDataSourcesListParams,\n MosRuDataSourceDc,\n MosRuDataSourceInfoDc,\n PagedListDataSourceInfoDc,\n PostgresDataSourceDc,\n PostgresDataSourceInfoDc,\n S3DataSourceDc,\n S3DataSourceInfoDc,\n SparkDataSourceDc,\n SparkDataSourceInfoDc,\n TestConnectionInfoDc,\n WmsDataSourceDc,\n} from \"./data-contracts\";\n\n/**\n * @title Spatial Processing Core API\n * @version 1.5.1.0\n * @baseUrl /sp\n */\nexport class DataSourceService extends Service {\n /**\n * No description\n *\n * @tags DataSource\n * @name CreateArcGisDataSource\n * @operationId DataSourceController_CreateArcGisDataSource\n * @summary Create S3 data source.\n * @request POST:/ds/arcgis\n * @secure\n * @response `200` OK\n */\n createArcGisDataSource(data: ArcGisDataSourceDc) {\n return this.http.post(`/ds/arcgis`, data).then(() => {});\n }\n /**\n * No description\n *\n * @tags DataSource\n * @name UpdateArcGisDataSource\n * @operationId DataSourceController_UpdateArcGisDataSource\n * @summary Update arcgis data source.\n * @request PATCH:/ds/arcgis\n * @secure\n * @response `200` OK\n */\n updateArcGisDataSource(data: ArcGisDataSourceDc) {\n return this.http.patch(`/ds/arcgis`, data).then(() => {});\n }\n /**\n * No description\n *\n * @tags DataSource\n * @name GetDataSourcesList\n * @operationId DataSourceController_GetDataSourcesList\n * @summary Returns list of the available data sources.\n * @request GET:/ds\n * @secure\n * @response `200` OK\n */\n getDataSourcesList(query: GetDataSourcesListParams) {\n return this.http.get(`/ds`, query).json<PagedListDataSourceInfoDc>();\n }\n /**\n * No description\n *\n * @tags DataSource\n * @name CreateDataSource\n * @operationId DataSourceController_CreateDataSource\n * @summary Create postgresql data source.\n * @request POST:/ds\n * @secure\n * @response `200` OK\n */\n createDataSource(data: PostgresDataSourceDc) {\n return this.http.post(`/ds`, data).then(() => {});\n }\n /**\n * No description\n *\n * @tags DataSource\n * @name UpdateDataSource\n * @operationId DataSourceController_UpdateDataSource\n * @summary Update postgresql data source.\n * @request PATCH:/ds\n * @secure\n * @response `200` OK\n */\n updateDataSource(data: PostgresDataSourceDc) {\n return this.http.patch(`/ds`, data).then(() => {});\n }\n /**\n * No description\n *\n * @tags DataSource\n * @name GetDataSource\n * @operationId DataSourceController_GetDataSource\n * @summary Get data source by name.\n * @request GET:/ds/{name}\n * @secure\n * @response `200` OK\n */\n getDataSource(name: string) {\n return this.http\n .get(`/ds/${name}`)\n .json<\n | ArcGisDataSourceInfoDc\n | MosRuDataSourceInfoDc\n | PostgresDataSourceInfoDc\n | S3DataSourceInfoDc\n | SparkDataSourceInfoDc\n >();\n }\n /**\n * No description\n *\n * @tags DataSource\n * @name RemoveDataSource\n * @operationId DataSourceController_RemoveDataSource\n * @summary Remove data source by name.\n * @request DELETE:/ds/{name}\n * @secure\n * @response `200` OK\n */\n removeDataSource(name: string) {\n return this.http.delete(`/ds/${name}`, null).then(() => {});\n }\n /**\n * No description\n *\n * @tags DataSource\n * @name TestConnection\n * @operationId DataSourceController_TestConnection\n * @summary Test ds connection.\n * @request POST:/ds/testConnection\n * @secure\n * @response `200` OK\n */\n testConnection(data: PostgresDataSourceDc) {\n return this.http.post(`/ds/testConnection`, data).json<TestConnectionInfoDc>();\n }\n /**\n * No description\n *\n * @tags DataSource\n * @name CreateMosRuDataSource\n * @operationId DataSourceController_CreateMosRuDataSource\n * @summary Create data.mos.ru data source.\n * @request POST:/ds/dataMosRu\n * @secure\n * @response `200` OK\n */\n createMosRuDataSource(data: MosRuDataSourceDc) {\n return this.http.post(`/ds/dataMosRu`, data).then(() => {});\n }\n /**\n * No description\n *\n * @tags DataSource\n * @name UpdateMosRuDataSource\n * @operationId DataSourceController_UpdateMosRuDataSource\n * @summary Update data.mos.ru data source.\n * @request PATCH:/ds/dataMosRu\n * @secure\n * @response `200` OK\n */\n updateMosRuDataSource(data: MosRuDataSourceDc) {\n return this.http.patch(`/ds/dataMosRu`, data).then(() => {});\n }\n /**\n * No description\n *\n * @tags DataSource\n * @name CreateS3DataSource\n * @operationId DataSourceController_CreateS3DataSource\n * @summary Create S3 data source.\n * @request POST:/ds/s3\n * @secure\n * @response `200` OK\n */\n createS3DataSource(data: S3DataSourceDc) {\n return this.http.post(`/ds/s3`, data).then(() => {});\n }\n /**\n * No description\n *\n * @tags DataSource\n * @name UpdateS3DataSource\n * @operationId DataSourceController_UpdateS3DataSource\n * @summary Create S3 data source.\n * @request PATCH:/ds/s3\n * @secure\n * @response `200` OK\n */\n updateS3DataSource(data: S3DataSourceDc) {\n return this.http.patch(`/ds/s3`, data).then(() => {});\n }\n /**\n * No description\n *\n * @tags DataSource\n * @name CreateSparkDataSource\n * @operationId DataSourceController_CreateSparkDataSource\n * @summary Create spark data source.\n * @request POST:/ds/spark\n * @secure\n * @response `200` OK\n */\n createSparkDataSource(data: SparkDataSourceDc) {\n return this.http.post(`/ds/spark`, data).then(() => {});\n }\n /**\n * No description\n *\n * @tags DataSource\n * @name UpdateSparkDataSource\n * @operationId DataSourceController_UpdateSparkDataSource\n * @summary Update spark data source.\n * @request PATCH:/ds/spark\n * @secure\n * @response `200` OK\n */\n updateSparkDataSource(data: SparkDataSourceDc) {\n return this.http.patch(`/ds/spark`, data).then(() => {});\n }\n /**\n * No description\n *\n * @tags DataSource\n * @name CreateArcGisDataSource1\n * @operationId DataSourceController_CreateArcGisDataSource_1\n * @summary Create WMS data source.\n * @request POST:/ds/wms\n * @secure\n * @response `200` OK\n */\n createArcGisDataSource1(data: WmsDataSourceDc) {\n return this.http.post(`/ds/wms`, data).then(() => {});\n }\n /**\n * No description\n *\n * @tags DataSource\n * @name UpdateArcGisDataSource1\n * @operationId DataSourceController_UpdateArcGisDataSource_1\n * @summary Update WMS data source.\n * @request PATCH:/ds/wms\n * @secure\n * @response `200` OK\n */\n updateArcGisDataSource1(data: WmsDataSourceDc) {\n return this.http.patch(`/ds/wms`, data).then(() => {});\n }\n}\n","/* eslint-disable */\n/* tslint:disable */\n/*\n * ---------------------------------------------------------------\n * ## THIS FILE WAS GENERATED VIA SWAGGER-TYPESCRIPT-API ##\n * ## ##\n * ## AUTHOR: acacode ##\n * ## SOURCE: https://github.com/acacode/swagger-typescript-api ##\n * ---------------------------------------------------------------\n */\n\n// @ts-nocheck\n\nimport { Service } from \"./Service\";\nimport { CreateTokenParams, GetTokensListParams, PagedListQueryTokenDc } from \"./data-contracts\";\n\n/**\n * @title Spatial Processing Core API\n * @version 1.5.1.0\n * @baseUrl /sp\n */\nexport class QueryTokenAccessService extends Service {\n /**\n * No description\n *\n * @tags QueryTokenAccess\n * @name GetTokensList\n * @operationId QueryTokenAccessController_GetTokensList\n * @request GET:/accessToken/list/{username}\n * @secure\n * @response `200` OK\n */\n getTokensList({ username, ...query }: GetTokensListParams) {\n return this.http.get(`/accessToken/list/${username}`, query).json<PagedListQueryTokenDc>();\n }\n /**\n * No description\n *\n * @tags QueryTokenAccess\n * @name CreateToken\n * @operationId QueryTokenAccessController_CreateTokenAsync\n * @request PUT:/accessToken/{username}\n * @secure\n * @response `200` OK\n */\n createToken({ username, ...query }: CreateTokenParams) {\n return this.http.put(`/accessToken/${username}`, null, query).text();\n }\n /**\n * No description\n *\n * @tags QueryTokenAccess\n * @name DisableToken\n * @operationId QueryTokenAccessController_DisableToken\n * @request POST:/accessToken/{token}/disable\n * @secure\n * @response `200` OK\n */\n disableToken(token: string) {\n return this.http.post(`/accessToken/${token}/disable`, null).then(() => {});\n }\n /**\n * No description\n *\n * @tags QueryTokenAccess\n * @name EnableToken\n * @operationId QueryTokenAccessController_EnableToken\n * @request POST:/accessToken/{token}/enable\n * @secure\n * @response `200` OK\n */\n enableToken(token: string) {\n return this.http.post(`/accessToken/${token}/enable`, null).then(() => {});\n }\n /**\n * No description\n *\n * @tags QueryTokenAccess\n * @name RevokeToken\n * @operationId QueryTokenAccessController_RevokeToken\n * @request DELETE:/accessToken/{token}\n * @secure\n * @response `200` OK\n */\n revokeToken(token: string) {\n return this.http.delete(`/accessToken/${token}`, null).then(() => {});\n }\n}\n","/* eslint-disable */\n/* tslint:disable */\n/*\n * ---------------------------------------------------------------\n * ## THIS FILE WAS GENERATED VIA SWAGGER-TYPESCRIPT-API ##\n * ## ##\n * ## AUTHOR: acacode ##\n * ## SOURCE: https://github.com/acacode/swagger-typescript-api ##\n * ---------------------------------------------------------------\n */\n\n// @ts-nocheck\n\nimport { Service } from \"./Service\";\nimport { SrInfo } from \"./data-contracts\";\n\n/**\n * @title Spatial Processing Core API\n * @version 1.5.1.0\n * @baseUrl /sp\n */\nexport class SpatialReferencesService extends Service {\n /**\n * No description\n *\n * @tags SpatialReferences\n * @name GetAvailiableCs\n * @operationId SpatialReferencesController_GetAvailiableCsAsync\n * @summary Returns list of available spatial references.\n * @request GET:/srs/list\n * @secure\n * @response `200` OK\n */\n getAvailiableCs() {\n return this.http.get(`/srs/list`).json<SrInfo[]>();\n }\n /**\n * No description\n *\n * @tags SpatialReferences\n * @name GetProj4Representation\n * @operationId SpatialReferencesController_GetProj4RepresentationAsync\n * @summary Returns a WKT representation of spatial reference.\n * @request GET:/srs/{name}/proj4\n * @secure\n * @response `200` OK\n */\n getProj4Representation(name: string) {\n return this.http.get(`/srs/${name}/proj4`).text();\n }\n /**\n * No description\n *\n * @tags SpatialReferences\n * @name GetWktRepresentation\n * @operationId SpatialReferencesController_GetWktRepresentationAsync\n * @summary Returns a WKT representation of spatial reference.\n * @request GET:/srs/{name}/wkt\n * @secure\n * @response `200` OK\n */\n getWktRepresentation(name: string) {\n return this.http.get(`/srs/${name}/wkt`).text();\n }\n}\n","export enum ApiEvent {\r\n ConnectionLost = \"ConnectionLost\",\r\n Unauthorized = \"Unauthorized\",\r\n SessionClosed = \"SessionClosed\",\r\n}\r\n","export type EventHandler = (event?: any) => void;\r\nexport type WildCardEventHandler = (type: string, event?: any) => void;\r\n\r\ntype EventHandlerMap = {\r\n \"*\": WildCardEventHandler[];\r\n [type: string]: EventHandler[];\r\n};\r\n\r\nexport class EventEmitter {\r\n private handlers: EventHandlerMap = {\r\n \"*\": [],\r\n };\r\n\r\n on(type: \"*\", handler: WildCardEventHandler): void;\r\n on(type: string, handler: EventHandler): void;\r\n on(type: string, handler: EventHandler): void {\r\n if (!this.handlers[type]) {\r\n this.handlers[type] = [];\r\n }\r\n this.handlers[type].push(handler);\r\n }\r\n\r\n off(type: \"*\", handler: WildCardEventHandler): void;\r\n off(type: string, handler: EventHandler): void;\r\n off(type: string, handler: EventHandler): void {\r\n if (!this.handlers[type]) return;\r\n\r\n const index = this.handlers[type].indexOf(handler);\r\n\r\n if (index === -1) return;\r\n\r\n this.handlers[type].splice(index, 1);\r\n }\r\n\r\n emit(type: string, event?: any) {\r\n this.handlers[type] && this.handlers[type].map(handler => handler(event));\r\n this.handlers[\"*\"].map(handler => handler(type, event));\r\n }\r\n\r\n once(type: string, handler: EventHandler) {\r\n const onceHandler: EventHandler = event => {\r\n this.off(type, onceHandler);\r\n handler(event);\r\n };\r\n this.on(type, onceHandler);\r\n }\r\n}\r\n","import { HTTPError, Options as KyOptions } from \"ky\";\r\n\r\nimport {\r\n HttpTransportType,\r\n HubConnection,\r\n HubConnectionBuilder,\r\n HubConnectionState,\r\n} from \"@microsoft/signalr\";\r\n\r\nimport { STORAGE_REFRESH_TOKEN_KEY, STORAGE_TOKEN_KEY } from \"./constants\";\r\n\r\nimport { HttpClient } from \"./__generated__/HttpClient\";\r\nimport { DataSourceService } from \"./__generated__/DataSourceService\";\r\nimport { QueryTokenAccessService } from \"./__generated__/QueryTokenAccessService\";\r\nimport { SpatialReferencesService } from \"./__generated__/SpatialReferencesService\";\r\nimport { CatalogService } from \"./__generated__/CatalogService\";\r\nimport { ApiEvent } from \"./ApiEvent\";\r\nimport { EventEmitter } from \"./EventEmitter\";\r\n\r\nimport {\r\n Account,\r\n AccountPreview,\r\n External,\r\n BulkOperations,\r\n Cameras,\r\n ClientSettings,\r\n ConnectionStatus,\r\n Eql,\r\n Feedback,\r\n FileUpload,\r\n Filters,\r\n Geocode,\r\n Import,\r\n Layers,\r\n Names,\r\n Notification,\r\n NotificationTag,\r\n PortalSettings,\r\n Projects,\r\n RemoteTaskManager,\r\n Resources,\r\n Security,\r\n Statistic,\r\n SubscriptionTag,\r\n Tables,\r\n Tools,\r\n VectorTiles,\r\n} from \"./services\";\r\n\r\nimport { errorHandler, getFetchingUrlPath } from \"./utils\";\r\n\r\nimport { AuthenticateParams, LoginDc } from \"./__generated__/data-contracts\";\r\n\r\nexport type ApiParams = {\r\n url: string;\r\n wsUrl?: string;\r\n wsKeepAlive?: boolean;\r\n snappingHubUrl?: string;\r\n http?: HttpClient;\r\n httpOptions?: KyOptions;\r\n urlPath?: string;\r\n};\r\n\r\nexport enum UrlPath {\r\n Base = \"/map\",\r\n Shared = \"/shared\",\r\n Presentation = \"/presentation\",\r\n Portal = \"/portal\",\r\n}\r\n\r\nexport type SocAuthNetwork = \"vk\" | \"facebook\" | \"google\" | \"yandex\";\r\n\r\nconst apiEventsByResponseStatus: Record<number, ApiEvent> = {\r\n 401: ApiEvent.Unauthorized,\r\n};\r\n\r\nconst SHARED_PORT = \"8082\";\r\nconst URL_PATHS = Object.values(UrlPath);\r\nconst DEFAULT_URL_PATH = URL_PATHS[0];\r\n\r\nexport class Api extends EventEmitter {\r\n readonly url: string;\r\n readonly layers: Layers;\r\n readonly tables: Tables;\r\n readonly projects: Projects;\r\n readonly security: Security;\r\n readonly notification: Notification;\r\n readonly file: FileUpload;\r\n readonly filters: Filters;\r\n readonly import: Import;\r\n readonly resources: Resources;\r\n readonly geocode: Geocode;\r\n readonly tools: Tools;\r\n readonly external: External;\r\n readonly account: Account;\r\n readonly accountPreview: AccountPreview;\r\n readonly clientSettings: ClientSettings;\r\n readonly portalSettings: PortalSettings;\r\n readonly names: Names;\r\n readonly bulk: BulkOperations;\r\n readonly statistic: Statistic;\r\n readonly feedback: Feedback;\r\n readonly snappingHub: HubConnection | null;\r\n readonly vectorTiles: VectorTiles;\r\n readonly spatialReference: SpatialReferencesService;\r\n readonly eql: Eql;\r\n readonly catalog: CatalogService;\r\n readonly queryToken: QueryTokenAccessService;\r\n readonly dataSource: DataSourceService;\r\n readonly remoteTaskManager: RemoteTaskManager;\r\n readonly cameras: Cameras;\r\n protected readonly http: HttpClient;\r\n private readonly wsUrl: string;\r\n private readonly urlPath: string;\r\n\r\n constructor({\r\n url,\r\n wsUrl,\r\n wsKeepAlive,\r\n snappingHubUrl,\r\n http,\r\n urlPath,\r\n httpOptions,\r\n }: ApiParams) {\r\n super();\r\n\r\n const { hooks } = httpOptions || {};\r\n\r\n this.http =\r\n http ||\r\n new HttpClient({\r\n prefixUrl: url,\r\n timeout: false,\r\n retry: {\r\n methods: [\"get\", \"post\", \"delete\"],\r\n limit: 5,\r\n statusCodes: [401],\r\n },\r\n ...(httpOptions || {}),\r\n hooks: {\r\n ...(hooks || {}),\r\n beforeRequest: [\r\n request => {\r\n const token = window.localStorage.getItem(STORAGE_TOKEN_KEY);\r\n\r\n if (token) {\r\n request.headers?.set(\"Authorization\", `Bearer ${token || \"\"}`);\r\n }\r\n },\r\n ...(hooks?.beforeRequest ?? []),\r\n ],\r\n beforeRetry: [\r\n async ({ request, error, retryCount }) => {\r\n if (\r\n error instanceof HTTPError &&\r\n error.response.status === 401 &&\r\n retryCount === 1\r\n ) {\r\n try {\r\n const refreshToken = window.localStorage.getItem(STORAGE_REFRESH_TOKEN_KEY);\r\n\r\n if (refreshToken) {\r\n const refreshTokenResponse = await this.account.refreshToken({\r\n refreshToken,\r\n });\r\n\r\n if (refreshTokenResponse) {\r\n window.localStorage.setItem(STORAGE_TOKEN_KEY, refreshTokenResponse.token as string);\r\n window.localStorage.setItem(STORAGE_REFRESH_TOKEN_KEY, refreshTokenResponse.refreshToken as string);\r\n }\r\n\r\n request.headers?.set(\"Authorization\", `Bearer ${refreshTokenResponse.token || \"\"}`);\r\n }\r\n } catch (error) {\r\n throw new Error(\"Failed to refresh token\");\r\n }\r\n }\r\n },\r\n ],\r\n afterResponse: [\r\n (request, options, response) => {\r\n const apiEvent = apiEventsByResponseStatus[response?.status];\r\n\r\n if (apiEvent) {\r\n this.emit(apiEvent, errorHandler(new HTTPError(response, request, options)));\r\n }\r\n\r\n return response;\r\n },\r\n ...(hooks?.afterResponse || []),\r\n ],\r\n },\r\n });\r\n this.url = url;\r\n this.wsUrl = wsUrl || url;\r\n this.urlPath = urlPath || this.defineUrlPath();\r\n this.layers = new Layers(this.http);\r\n this.tables = new Tables(this.http);\r\n this.projects = new Projects(this.http);\r\n this.resources = new Resources(this.projects, this.layers, this.tables);\r\n this.external = new External(this.http);\r\n this.account = new Account(this.http);\r\n this.accountPreview = new AccountPreview(this.http);\r\n this.bulk = new BulkOperations(this.http);\r\n this.security = new Security(this.http, this.account);\r\n this.notification = new Notification(this.http, this, wsKeepAlive);\r\n this.file = new FileUpload(this.http);\r\n this.filters = new Filters(this.http);\r\n this.import = new Import(this.http);\r\n this.geocode = new Geocode(this.http);\r\n this.tools = new Tools(this.http);\r\n this.clientSettings = new ClientSettings(this.http);\r\n this.portalSettings = new PortalSettings(this.http);\r\n this.statistic = new Statistic(this.http);\r\n this.feedback = new Feedback(this.http);\r\n this.vectorTiles = new VectorTiles(this.http);\r\n this.spatialReference = new SpatialReferencesService(this.http);\r\n this.eql = new Eql(this.http);\r\n this.catalog = new CatalogService(this.http);\r\n this.queryToken = new QueryTokenAccessService(this.http);\r\n this.dataSource = new DataSourceService(this.http);\r\n this.remoteTaskManager = new RemoteTaskManager(this.http);\r\n this.cameras = new Cameras(this.http);\r\n\r\n this.names = new Names({\r\n account: this.account,\r\n });\r\n\r\n this.snappingHub = snappingHubUrl\r\n ? new HubConnectionBuilder()\r\n .withUrl(snappingHubUrl, {\r\n withCredentials: true,\r\n skipNegotiation: true,\r\n transport: HttpTransportType.WebSockets,\r\n })\r\n .withAutomaticReconnect()\r\n .build()\r\n : null;\r\n }\r\n\r\n get isShared() {\r\n return this.urlPath === UrlPath.Shared;\r\n }\r\n\r\n get isPresentation() {\r\n return this.urlPath === UrlPath.Presentation || window.location.port === SHARED_PORT;\r\n }\r\n\r\n async init({\r\n authParams,\r\n authQueryParams,\r\n connectWs,\r\n fetchSettings,\r\n fetchUser,\r\n useJwt,\r\n }: {\r\n authParams?: LoginDc;\r\n authQueryParams?: AuthenticateParams;\r\n connectWs?: boolean;\r\n connectSignalR?: boolean;\r\n fetchSettings?: boolean;\r\n fetchUser?: boolean;\r\n useJwt?: boolean;\r\n }) {\r\n try {\r\n await this.account.login(authParams, authQueryParams, useJwt);\r\n\r\n if (fetchUser) {\r\n await this.account.fetchCurrentUser();\r\n }\r\n\r\n if (connectWs) {\r\n await this.connectWs();\r\n }\r\n\r\n if (fetchSettings) {\r\n await this.clientSettings.fetchClientSettings({\r\n urlPath: getFetchingUrlPath(this.urlPath),\r\n });\r\n }\r\n\r\n await this.notification.subscribe(SubscriptionTag.ServiceUpdate);\r\n } catch (e) {\r\n throw errorHandler(e);\r\n }\r\n }\r\n\r\n isAcceptedNetwork(network: string): network is SocAuthNetwork {\r\n return [\"vk\", \"google\", \"facebook\", \"yandex\"].includes(network);\r\n }\r\n\r\n async socAuthLogin(network: SocAuthNetwork) {\r\n if (!this.isAcceptedNetwork(network)) return;\r\n\r\n try {\r\n await this.clientSettings.fetchClientSettings({ urlPath: UrlPath.Base });\r\n } catch (e) {\r\n throw errorHandler(e);\r\n }\r\n }\r\n\r\n async connectWs() {\r\n if (this.account.isAuth) {\r\n this.notification.connectWs(this.wsUrl);\r\n\r\n this.notification.on(NotificationTag.ConnectionStatus, connection => {\r\n if (connection.data === ConnectionStatus.Lost) {\r\n this.emit(ApiEvent.ConnectionLost, connection.data);\r\n } else if (connection.data === ConnectionStatus.SessionClosed) {\r\n this.emit(ApiEvent.SessionClosed, connection.data);\r\n }\r\n });\r\n }\r\n }\r\n\r\n async connectSignalR() {\r\n if (\r\n this.account.isAuth &&\r\n this.snappingHub &&\r\n this.snappingHub.state !== HubConnectionState.Connected\r\n ) {\r\n await this.snappingHub.start();\r\n }\r\n }\r\n\r\n async logout() {\r\n await this.account.logout();\r\n await this.security.reset();\r\n this.emit(ApiEvent.Unauthorized, null);\r\n }\r\n\r\n private defineUrlPath(): string {\r\n const firstPath = (\r\n window.location.href.split(window.location.hostname)[1] || \"\"\r\n )\r\n .split(\"/\")\r\n .filter(Boolean)[0];\r\n const urlPath = firstPath ? (`/${firstPath}` as UrlPath) : void 0;\r\n\r\n return urlPath && URL_PATHS.includes(urlPath) ? urlPath : DEFAULT_URL_PATH;\r\n }\r\n}\r\n","import { UrlPath } from \"../Api\";\r\n\r\nexport const addSubDomainToLocation = (subDomain?: string): string =>\r\n `${window.location.protocol}//${subDomain}.${window.location.host}`;\r\n\r\nexport const getFetchingUrlPath = (urlPath: string) => urlPath === UrlPath.Presentation ? UrlPath.Base : urlPath;\r\n","export const parseJwt = (token: string) => {\r\n const base64Url = token.split(\".\")[1];\r\n const base64 = base64Url.replace(/-/g, \"+\").replace(/_/g, \"/\");\r\n const jsonPayload = decodeURIComponent(atob(base64).split(\"\").map((c) => (\r\n `%${(\"00\".concat(c.charCodeAt(0).toString(16)).slice(-2))}`\r\n )).join(\"\"));\r\n\r\n return JSON.parse(jsonPayload);\r\n};\r\n","export async function promiseAllIgnoreErrors<Result>(\r\n promises: Promise<Result>[],\r\n): Promise<Result[]> {\r\n const results = await Promise.all(\r\n promises.map(promise => promise.catch(e => (isError(e) ? e : new Error(e)))),\r\n );\r\n\r\n return results.filter(notError);\r\n}\r\n\r\nfunction isError<T>(v: T | Error): v is Error {\r\n return v instanceof Error;\r\n}\r\n\r\nfunction notError<T>(v: T | Error): v is T {\r\n return !isError(v);\r\n}\r\n","export function unique<Value>(value: Value, index: number, array: Value[]) {\r\n return array.indexOf(value) === index;\r\n}\r\n","import { customAlphabet } from \"nanoid\";\r\n\r\nconst ALPHABET = \"abcdefghijklmnopqrstuvwxyz0123456789\";\r\n\r\n/** Generates unique identifier */\r\nexport const generateId = customAlphabet(ALPHABET, 12);\r\n","export const stripUselessSlashes = (...strings: string[]) =>\r\n strings\r\n .join(\"/\")\r\n .split(\"/\")\r\n .filter(Boolean)\r\n .join(\"/\");\r\n","/* eslint-disable */\n/* tslint:disable */\n/*\n * ---------------------------------------------------------------\n * ## THIS FILE WAS GENERATED VIA SWAGGER-TYPESCRIPT-API ##\n * ## ##\n * ## AUTHOR: acacode ##\n * ## SOURCE: https://github.com/acacode/swagger-typescript-api ##\n * ---------------------------------------------------------------\n */\n\n// @ts-nocheck\n\nimport { Service } from \"./Service\";\nimport {\n AggregateAttributeParams,\n AggregationDataResultDc,\n AttributeDistinctsDc,\n BulkExtentsDc,\n BulkFilteredFeaturesCountDc,\n BulkOperationResultDc,\n ClassifyDc,\n ClassifyParams,\n CreateFeaturesParams,\n CreateFeaturesPayload,\n DeleteByConditionParams,\n DeleteFeatureParams,\n DeleteFeaturesParams,\n DeleteResourcesParams,\n DistinctsParams,\n EditAttributesInfoDc,\n EnvelopeDc,\n ExpressionValidationResultDc,\n FeatureDc,\n GetBulkExtentsParams,\n GetBulkExtentsPayload,\n GetBulkFeaturesPayload,\n GetByIdParams,\n GetFeatures1Params,\n GetFeaturesParametersDc,\n GetFilteredFeaturesCount1Params,\n GetFilteredFeaturesCountDc,\n GetFilteredFeaturesCountPayload,\n GetLayerExtentParams,\n GetLayersInfoParams,\n GetRasterMetaParams2,\n GetTilesLayerImage1Params,\n GetTilesLayerImageParams,\n GetTilesLayerImageWithFormatAndDpiParams,\n LayerUpdateInfoDc,\n LinearServiceConfigurationDc,\n NetCdfMetaDc,\n PagedBulkFeaturesListDc,\n PagedFeaturesListDc,\n PbfServiceConfigurationDc,\n PbfServiceInfoDc,\n PostgresTileCatalogServiceConfigurationDc,\n ProxyServiceInfoDc,\n PublishProxyServicePayload,\n PythonServiceConfigurationDc,\n PythonServiceInfoDc,\n QueryLayerServiceConfigurationDc,\n QueryLayerServiceInfoDc,\n RasterMetaDc,\n RemoteTileServiceConfigurationDc,\n RemoteTileServiceInfoDc,\n ResourceDependenciesDc,\n ResourceInfoDc,\n RouteServiceConfigurationDc,\n ServiceInfoDc,\n TileCatalogServiceInfoDc,\n UpdateFeaturePayload,\n UpdateProxyServicePayload,\n ValidateExpressionParams,\n} from \"./data-contracts\";\n\n/**\n * @title Spatial Processing Core API\n * @version 1.5.1.0\n * @baseUrl /sp\n */\nexport class LayersService extends Service {\n /**\n * No description\n *\n * @tags Layers\n * @name GetBulkFeatures\n * @operationId LayersController_GetBulkFeatures\n * @summary Returns list of the layer features.\n * @request POST:/bulk/layers/features/query\n * @secure\n * @response `200` OK\n */\n getBulkFeatures(data: GetBulkFeaturesPayload) {\n return this.http.post(`/bulk/layers/features/query`, data).json<PagedBulkFeaturesListDc[]>();\n }\n /**\n * No description\n *\n * @tags Layers\n * @name GetBulkExtents\n * @operationId LayersController_GetBulkExtents\n * @summary Returns list of the layer extents with overall extent.\n * @request POST:/bulk/layers/extent\n * @secure\n * @response `200` OK\n */\n getBulkExtents(query: GetBulkExtentsParams, data: GetBulkExtentsPayload) {\n return this.http.post(`/bulk/layers/extent`, data, query).json<BulkExtentsDc>();\n }\n /**\n * No description\n *\n * @tags Layers\n * @name GetFilteredFeaturesCount\n * @operationId LayersController_GetFilteredFeaturesCount\n * @summary Returns list of features count according layer filter.\n * @request POST:/bulk/layers/features/count\n * @secure\n * @response `200` OK\n */\n getFilteredFeaturesCount(data: GetFilteredFeaturesCountPayload) {\n return this.http.post(`/bulk/layers/features/count`, data).json<BulkFilteredFeaturesCountDc>();\n }\n /**\n * No description\n *\n * @tags Layers\n * @name GetLayerInfo\n * @operationId LayersController_GetLayerInfoAsync\n * @summary Returns the layer information.\n * @request GET:/layers/{name}\n * @secure\n * @response `200` OK\n */\n getLayerInfo(name: string) {\n return this.http.get(`/layers/${name}`).json<ServiceInfoDc | ResourceInfoDc>();\n }\n /**\n * No description\n *\n * @tags Layers\n * @name DeleteResource\n * @operationId LayersController_DeleteResource\n * @summary Deletes resource.\n * @request DELETE:/layers/{name}\n * @secure\n * @response `200` OK\n */\n deleteResource(name: string) {\n return this.http.delete(`/layers/${name}`, null).then(() => {});\n }\n /**\n * No description\n *\n * @tags Layers\n * @name GetLayersInfo\n * @operationId LayersController_GetLayersInfoAsync\n * @summary Returns the layers information.\n * @request GET:/layers/batchInfo\n * @secure\n * @response `200` OK\n */\n getLayersInfo(query: GetLayersInfoParams) {\n return this.http.get(`/layers/batchInfo`, query).json<(ServiceInfoDc | ResourceInfoDc)[]>();\n }\n /**\n * No description\n *\n * @tags Layers\n * @name PublishMapboxService\n * @operationId LayersController_PublishMapboxService\n * @summary Creates new mapbox service.\n * @request POST:/layers#type=Mapbox\n * @secure\n * @response `default` Error\n */\n publishMapboxService(data: PbfServiceConfigurationDc) {\n return this.http.post(`/layers`, data, { type: \"Mapbox\" }).json<PbfServiceInfoDc>();\n }\n /**\n * No description\n *\n * @tags Layers\n * @name PublishProxyService\n * @operationId LayersController_PublishProxyService\n * @summary Creates new Proxy Service.\n * @request POST:/layers#type=ProxyService\n * @secure\n * @response `default` Error\n */\n publishProxyService(data: PublishProxyServicePayload) {\n return this.http\n .post(`/layers`, data, { type: \"ProxyService\" })\n .json<ProxyServiceInfoDc | PythonServiceInfoDc | PbfServiceInfoDc>();\n }\n /**\n * No description\n *\n * @tags Layers\n * @name PublishRouteService\n * @operationId LayersController_PublishRouteService\n * @summary Creates new Route Service.\n * @request POST:/layers#type=RouteService\n * @secure\n * @response `200` OK\n */\n publishRouteService(data: RouteServiceConfigurationDc) {\n return this.http.post(`/layers`, data, { type: \"RouteService\" }).then(() => {});\n }\n /**\n * No description\n *\n * @tags Layers\n * @name PublishLinearService\n * @operationId LayersController_PublishLinearService\n * @summary Creates new Linear Service.\n * @request POST:/layers#type=LinearService\n * @secure\n * @response `200` OK\n */\n publishLinearService(data: LinearServiceConfigurationDc) {\n return this.http.post(`/layers`, data, { type: \"LinearService\" }).then(() => {});\n }\n /**\n * No description\n *\n * @tags Layers\n * @name PublishRemoteTileService\n * @operationId LayersController_PublishRemoteTileService\n * @summary Creates new Remote Tile Service.\n * @request POST:/layers#type=RemoteTileService\n * @secure\n * @response `default` Error\n */\n publishRemoteTileService(data: RemoteTileServiceConfigurationDc) {\n return this.http.post(`/layers`, data, { type: \"RemoteTileService\" }).json<RemoteTileServiceInfoDc>();\n }\n /**\n * No description\n *\n * @tags Layers\n * @name PublishQueryLayerService\n * @operationId LayersController_PublishQueryLayerService\n * @summary Creates new EQL-based Query Layer Service.\n * @request POST:/layers#type=QueryLayerService\n * @secure\n * @response `default` Error\n */\n publishQueryLayerService(data: QueryLayerServiceConfigurationDc) {\n return this.http.post(`/layers`, data, { type: \"QueryLayerService\" }).json<QueryLayerServiceInfoDc>();\n }\n /**\n * No description\n *\n * @tags Layers\n * @name PublishPostgresTileCatalogService\n * @operationId LayersController_PublishPostgresTileCatalogService\n * @summary Creates new Postgres Tile Catalog Service.\n * @request POST:/layers#type=PostgresTileLayerService\n * @secure\n * @response `default` Error\n */\n publishPostgresTileCatalogService(data: PostgresTileCatalogServiceConfigurationDc) {\n return this.http.post(`/layers`, data, { type: \"PostgresTileLayerService\" }).json<TileCatalogServiceInfoDc>();\n }\n /**\n * No description\n *\n * @tags Layers\n * @name PublishPythonService\n * @operationId LayersController_PublishPythonService\n * @summary Creates new python service.\n * @request POST:/layers#type=Python\n * @secure\n * @response `default` Error\n */\n publishPythonService(data: PythonServiceConfigurationDc) {\n return this.http.post(`/layers`, data, { type: \"Python\" }).json<PythonServiceInfoDc>();\n }\n /**\n * No description\n *\n * @tags Layers\n * @name UpdateMapboxService\n * @operationId LayersController_UpdateMapboxService\n * @summary Update mapbox service.\n * @request PATCH:/layers/{name}#type=Mapbox\n * @secure\n * @response `200` OK\n */\n updateMapboxService(name: string, data: PbfServiceConfigurationDc) {\n return this.http.patch(`/layers/${name}`, data, { type: \"Mapbox\" }).json<PbfServiceInfoDc>();\n }\n /**\n * No description\n *\n * @tags Layers\n * @name UpdatePythonService\n * @operationId LayersController_UpdatePythonService\n * @summary Update python service.\n * @request PATCH:/layers/{name}#type=Python\n * @secure\n * @response `200` OK\n */\n updatePythonService(name: string, data: PythonServiceConfigurationDc) {\n return this.http.patch(`/layers/${name}`, data, { type: \"Python\" }).json<PythonServiceInfoDc>();\n }\n /**\n * No description\n *\n * @tags Layers\n * @name UpdateProxyService\n * @operationId LayersController_UpdateProxyService\n * @summary Update Proxy Service.\n * @request PATCH:/layers/{name}#type=ProxyService\n * @secure\n * @response `200` OK\n */\n updateProxyService(name: string, data: UpdateProxyServicePayload) {\n return this.http\n .patch(`/layers/${name}`, data, { type: \"ProxyService\" })\n .json<ProxyServiceInfoDc | PythonServiceInfoDc | PbfServiceInfoDc>();\n }\n /**\n * No description\n *\n * @tags Layers\n * @name UpdateTileCatalogService\n * @operationId LayersController_UpdateTileCatalogService\n * @summary Update Postgres Tile Catalog Service.\n * @request PATCH:/layers/{name}#type=PostgresTileLayerService\n * @secure\n * @response `200` OK\n */\n updateTileCatalogService(name: string, data: PostgresTileCatalogServiceConfigurationDc) {\n return this.http\n .patch(`/layers/${name}`, data, { type: \"PostgresTileLayerService\" })\n .json<TileCatalogServiceInfoDc>();\n }\n /**\n * No description\n *\n * @tags Layers\n * @name UpdateRemoteTileService\n * @operationId LayersController_UpdateRemoteTileService\n * @summary Update Remote Tile Service.\n * @request PATCH:/layers/{name}#type=RemoteTileService\n * @secure\n * @response `200` OK\n */\n updateRemoteTileService(name: string, data: RemoteTileServiceConfigurationDc) {\n return this.http.patch(`/layers/${name}`, data, { type: \"RemoteTileService\" }).json<RemoteTileServiceInfoDc>();\n }\n /**\n * No description\n *\n * @tags Layers\n * @name UpdateQueryLayerService\n * @operationId LayersController_UpdateQueryLayerService\n * @summary Update EQL-based Query Layer Service.\n * @request PATCH:/layers/{name}#type=QueryLayerService\n * @secure\n * @response `200` OK\n */\n updateQueryLayerService(name: string, data: QueryLayerServiceConfigurationDc) {\n return this.http.patch(`/layers/${name}`, data, { type: \"QueryLayerService\" }).json<QueryLayerServiceInfoDc>();\n }\n /**\n * No description\n *\n * @tags Layers\n * @name ReloadService\n * @operationId LayersController_ReloadServiceAsync\n * @summary Initialize a new instance of service by given name.\n * @request GET:/layers/{name}/reload\n * @secure\n * @response `default` Error\n */\n reloadService(name: string) {\n return this.http.get(`/layers/${name}/reload`).json<ServiceInfoDc | ResourceInfoDc>();\n }\n /**\n * No description\n *\n * @tags Layers\n * @name GetFeatures\n * @operationId LayersController_GetFeatures\n * @summary Returns list of the layer features.\n * @request POST:/layers/{name}/features/query\n * @secure\n * @response `200` OK\n */\n getFeatures(name: string, data: GetFeaturesParametersDc) {\n return this.http.post(`/layers/${name}/features/query`, data).json<PagedFeaturesListDc>();\n }\n /**\n * No description\n *\n * @tags Layers\n * @name GetFeatures1\n * @operationId LayersController_GetFeatures_1\n * @summary Returns list of the layer features.\n * @request GET:/layers/{name}/features\n * @secure\n * @response `200` OK\n */\n getFeatures1({ name, ...query }: GetFeatures1Params) {\n return this.http.get(`/layers/${name}/features`, query).json<PagedFeaturesListDc>();\n }\n /**\n * No description\n *\n * @tags Layers\n * @name DeleteFeature\n * @operationId LayersController_DeleteFeature\n * @summary Deletes feature by id.\n * @request DELETE:/layers/{name}/features\n * @secure\n * @response `200` OK\n */\n deleteFeature({ name, ...query }: DeleteFeatureParams) {\n return this.http.delete(`/layers/${name}/features`, null, query).json<LayerUpdateInfoDc>();\n }\n /**\n * No description\n *\n * @tags Layers\n * @name CreateFeatures\n * @operationId LayersController_CreateFeatures\n * @summary Creates features list of type.SPCore.Connectors.Connectors.Base.Models.Features.FeatureDc.\n * @request POST:/layers/{name}/features\n * @secure\n * @response `200` OK\n */\n createFeatures({ name, ...query }: CreateFeaturesParams, data: CreateFeaturesPayload) {\n return this.http.post(`/layers/${name}/features`, data, query).json<LayerUpdateInfoDc>();\n }\n /**\n * No description\n *\n * @tags Layers\n * @name UpdateFeature\n * @operationId LayersController_UpdateFeature\n * @summary Updates features list SPCore.Connectors.Connectors.Base.Models.Features.FeatureDc.\n * @request PATCH:/layers/{name}/features\n * @secure\n * @response `200` OK\n */\n updateFeature(name: string, data: UpdateFeaturePayload) {\n return this.http.patch(`/layers/${name}/features`, data).json<LayerUpdateInfoDc>();\n }\n /**\n * No description\n *\n * @tags Layers\n * @name GetById\n * @operationId LayersController_GetByIdAsync\n * @summary Gets feature by id.\n * @request GET:/layers/{name}/features/{id}\n * @secure\n * @response `200` OK\n */\n getById({ name, id, ...query }: GetByIdParams) {\n return this.http.get(`/layers/${name}/features/${id}`, query).json<FeatureDc>();\n }\n /**\n * No description\n *\n * @tags Layers\n * @name GetTilesLayerImage\n * @operationId LayersController_GetTilesLayerImage\n * @summary Render tile with input indexes.\n * @request GET:/layers/{name}/tile/{z}/{x}/{y}\n * @secure\n * @response `200` OK\n */\n getTilesLayerImage({ name, x, y, z, ...query }: GetTilesLayerImageParams) {\n return this.http.createUrl(`/layers/${name}/tile/{z}/{x}/{y}`, query);\n }\n /**\n * No description\n *\n * @tags Layers\n * @name GetTilesLayerImage1\n * @operationId LayersController_GetTilesLayerImage_1\n * @summary Render tile with input indexes.\n * @request GET:/layers/{name}/tile/{z}/{x}/{y}.{format}\n * @secure\n * @response `200` OK\n */\n getTilesLayerImage1({ name, x, y, z, format, ...query }: GetTilesLayerImage1Params) {\n return this.http.createUrl(`/layers/${name}/tile/{z}/{x}/{y}.${format}`, query);\n }\n /**\n * No description\n *\n * @tags Layers\n * @name GetTilesLayerImageWithFormatAndDpi\n * @operationId LayersController_GetTilesLayerImageWithFormatAndDpi\n * @summary Render tile with input indexes.\n * @request GET:/layers/{name}/tile/{z}/{x}/{y}@{dpi}x.{format}\n * @secure\n * @response `200` OK\n */\n getTilesLayerImageWithFormatAndDpi({\n name,\n x,\n y,\n z,\n dpi,\n format,\n ...query\n }: GetTilesLayerImageWithFormatAndDpiParams) {\n return this.http.createUrl(`/layers/${name}/tile/{z}/{x}/{y}@${dpi}x.${format}`, query);\n }\n /**\n * No description\n *\n * @tags Layers\n * @name GetLayerExtent\n * @operationId LayersController_GetLayerExtent\n * @summary Returns the extent of the layer.\n * @request GET:/layers/{name}/extent\n * @secure\n * @response `200` OK\n */\n getLayerExtent({ name, ...query }: GetLayerExtentParams) {\n return this.http.get(`/layers/${name}/extent`, query).json<EnvelopeDc>();\n }\n /**\n * No description\n *\n * @tags Layers\n * @name DeleteFeatures\n * @operationId LayersController_DeleteFeatures\n * @summary Delete a list of features by given ids. Example: ids=1,2,3.\n * @request DELETE:/layers/{name}/features/deleteByIds\n * @secure\n * @response `200` OK\n */\n deleteFeatures({ name, ...query }: DeleteFeaturesParams) {\n return this.http.delete(`/layers/${name}/features/deleteByIds`, null, query).json<LayerUpdateInfoDc>();\n }\n /**\n * No description\n *\n * @tags Layers\n * @name DeleteByCondition\n * @operationId LayersController_DeleteByCondition\n * @summary Delete a list of features by condition with exclude given ids.\n * @request DELETE:/layers/{name}/features/deleteByCondition\n * @secure\n * @response `200` OK\n */\n deleteByCondition({ name, ...query }: DeleteByConditionParams) {\n return this.http.delete(`/layers/${name}/features/deleteByCondition`, null, query).json<LayerUpdateInfoDc>();\n }\n /**\n * No description\n *\n * @tags Layers\n * @name Classify\n * @operationId LayersController_Classify\n * @summary Returns the classified attribute values that correspond to the given number of classes.\n * @request GET:/layers/{name}/classify\n * @secure\n * @response `200` OK\n */\n classify({ name, ...query }: ClassifyParams) {\n return this.http.get(`/layers/${name}/classify`, query).json<ClassifyDc>();\n }\n /**\n * No description\n *\n * @tags Layers\n * @name Distincts\n * @operationId LayersController_Distincts\n * @summary Returns distinct attribute values and their count.\n * @request GET:/layers/{name}/distincts\n * @secure\n * @response `200` OK\n */\n distincts({ name, ...query }: DistinctsParams) {\n return this.http.get(`/layers/${name}/distincts`, query).json<AttributeDistinctsDc>();\n }\n /**\n * No description\n *\n * @tags Layers\n * @name AggregateAttribute\n * @operationId LayersController_AggregateAttribute\n * @summary Returns aggregated value of given attribute aggregationAttributeName within a given groups groups.\n * @request GET:/layers/{name}/aggregate-values\n * @secure\n * @response `200` OK\n */\n aggregateAttribute({ name, ...query }: AggregateAttributeParams) {\n return this.http.get(`/layers/${name}/aggregate-values`, query).json<AggregationDataResultDc[]>();\n }\n /**\n * No description\n *\n * @tags Layers\n * @name GetFilteredFeaturesCount1\n * @operationId LayersController_GetFilteredFeaturesCount_1\n * @summary Get features count according layer filter of the given name.\n * @request GET:/layers/{name}/features/count\n * @secure\n * @response `200` OK\n */\n getFilteredFeaturesCount1({ name, ...query }: GetFilteredFeaturesCount1Params) {\n return this.http.get(`/layers/${name}/features/count`, query).json<number>();\n }\n /**\n * No description\n *\n * @tags Layers\n * @name GetFilteredFeaturesCount2\n * @operationId LayersController_GetFilteredFeaturesCount_2\n * @summary Get features count according layer filter of the given name.\n * @request POST:/layers/{name}/features/count\n * @secure\n * @response `200` OK\n */\n getFilteredFeaturesCount2(name: string, data: GetFilteredFeaturesCountDc) {\n return this.http.post(`/layers/${name}/features/count`, data).json<number>();\n }\n /**\n * No description\n *\n * @tags Layers\n * @name EditAttributes\n * @operationId LayersController_EditAttributes\n * @summary Edit attributes with editInfo.\n * @request POST:/layers/{name}/features/edit-attributes\n * @secure\n * @response `200` OK\n */\n editAttributes(name: string, data: EditAttributesInfoDc) {\n return this.http.post(`/layers/${name}/features/edit-attributes`, data).json<LayerUpdateInfoDc>();\n }\n /**\n * No description\n *\n * @tags Layers\n * @name ValidateExpression\n * @operationId LayersController_ValidateExpression\n * @summary Validates the given EQL expression against the requested layer. If the expression is valid, it can be executed on the features in the layer to produce a value of some type. The type of the resulting value will be also returned in the validation result.\n * @request GET:/layers/{layerName}/validateExpression\n * @secure\n * @response `200` OK\n */\n validateExpression({ layerName, ...query }: ValidateExpressionParams) {\n return this.http.get(`/layers/${layerName}/validateExpression`, query).json<ExpressionValidationResultDc>();\n }\n /**\n * No description\n *\n * @tags Layers\n * @name GetRasterMeta\n * @operationId LayersController_GetRasterMeta\n * @summary Get raster metadata.\n * @request GET:/layers/{name}/{id}/metadata\n * @secure\n * @response `200` OK\n */\n getRasterMeta({ name, id, ...query }: GetRasterMetaParams2) {\n return this.http.get(`/layers/${name}/${id}/metadata`, query).json<(RasterMetaDc | NetCdfMetaDc)[]>();\n }\n /**\n * No description\n *\n * @tags Layers\n * @name IsExists\n * @operationId LayersController_IsExistsAsync\n * @summary Check is resource exists.\n * @request GET:/layers/{name}/exists\n * @secure\n * @response `200` OK\n */\n isExists(name: string) {\n return this.http.get(`/layers/${name}/exists`).then(() => {});\n }\n /**\n * No description\n *\n * @tags Layers\n * @name GetResourceDependencies\n * @operationId LayersController_GetResourceDependencies\n * @summary Get resource dependencies.\n * @request GET:/layers/{name}/dependencies\n * @secure\n * @response `200` OK\n */\n getResourceDependencies(name: string) {\n return this.http.get(`/layers/${name}/dependencies`).json<ResourceDependenciesDc>();\n }\n /**\n * No description\n *\n * @tags Layers\n * @name GetResourceReferences\n * @operationId LayersController_GetResourceReferences\n * @summary Returns the resource dependency information.\n * @request GET:/layers/{name}/references\n * @secure\n * @response `200` OK\n */\n getResourceReferences(name: string) {\n return this.http.get(`/layers/${name}/references`).json<ResourceDependenciesDc>();\n }\n /**\n * No description\n *\n * @tags Layers\n * @name DeleteResources\n * @operationId LayersController_DeleteResources\n * @summary Bulk delete resources.\n * @request DELETE:/layers\n * @secure\n * @response `200` OK\n */\n deleteResources(query: DeleteResourcesParams) {\n return this.http.delete(`/layers`, null, query).json<BulkOperationResultDc[]>();\n }\n}\n","import { promiseAllIgnoreErrors } from \"../utils\";\r\n\r\nimport {\r\n RemoteTileServiceConfigurationDc,\r\n ServiceInfoDc,\r\n ResourceDependenciesDc,\r\n TableInfoDc,\r\n QueryLayerServiceConfigurationDc,\r\n PublishProxyServicePayload,\r\n UpdateProxyServicePayload,\r\n} from \"../__generated__/data-contracts\";\r\n\r\nimport { LayersService } from \"../__generated__/LayersService\";\r\nimport { ResourceService } from \"../interfaces/ResourceService\";\r\n\r\nexport type CreateTileLayerParams = {\r\n remote?: boolean;\r\n} & RemoteTileServiceConfigurationDc;\r\n\r\nexport type LayersWithDeps = {\r\n layers: ServiceInfoDc[];\r\n deps: {\r\n tables: TableInfoDc[];\r\n };\r\n};\r\n\r\nexport class Layers extends LayersService implements Partial<ResourceService> {\r\n getLayerInfos(layers: string[]): Promise<ServiceInfoDc[]> {\r\n return promiseAllIgnoreErrors(\r\n layers.map(layer => this.getLayerInfo(layer)),\r\n ) as Promise<ServiceInfoDc[]>;\r\n }\r\n\r\n getLayersDeps(layers: string[]): Promise<ResourceDependenciesDc[]> {\r\n return promiseAllIgnoreErrors(\r\n layers.map(layer => this.getResourceDependencies(layer)),\r\n );\r\n }\r\n\r\n\r\n findOne(name: string) {\r\n return this.getLayerInfo(name);\r\n }\r\n\r\n findMany(layerNames: string[], projectNames?: string[]) {\r\n return this.getLayersInfo({ layerNames, projectNames });\r\n }\r\n\r\n createQueryLayer(configuration: QueryLayerServiceConfigurationDc) {\r\n return this.publishQueryLayerService(configuration);\r\n }\r\n\r\n updateQueryLayer(configuration: QueryLayerServiceConfigurationDc) {\r\n return this.updateQueryLayerService(configuration.name, configuration);\r\n }\r\n\r\n createProxyLayer(configuration: PublishProxyServicePayload) {\r\n return this.publishProxyService(configuration);\r\n }\r\n\r\n updateProxyLayer(configuration: UpdateProxyServicePayload) {\r\n return this.updateProxyService(configuration.name, configuration);\r\n }\r\n\r\n async remove(name: string) {\r\n await this.deleteResource(name);\r\n\r\n return name;\r\n }\r\n}\r\n\r\nexport function isTileLayerService(layer: ServiceInfoDc) {\r\n return layer.type && /TileService/.test(layer.type);\r\n}\r\n","import { generateId } from \"../utils\";\r\nimport { Account } from \"./Account\";\r\n\r\nconst RESOURCE_TEMP_WORKSPACE = \"temp\";\r\n\r\nexport enum ResourceSeparator {\r\n Server = \".\",\r\n}\r\n\r\ntype ExtractedResource = {\r\n workspace: string;\r\n name: string;\r\n};\r\n\r\ntype CreateResourceParams = {\r\n workspace?: string;\r\n name?: string;\r\n separator?: ResourceSeparator;\r\n};\r\n\r\nexport class Names {\r\n private account: Account;\r\n\r\n constructor({ account }: { account: Account }) {\r\n this.account = account;\r\n }\r\n\r\n /** Generates unique identifier */\r\n createId() {\r\n return generateId();\r\n }\r\n\r\n /** Generates new resource name using for client\\server interactions */\r\n createResourceName(params: CreateResourceParams = {}) {\r\n const workspace =\r\n params.workspace ||\r\n (this.account.user && this.account.user.namespace) ||\r\n \"\";\r\n const name = params.name || this.createId();\r\n const separator = params.separator || ResourceSeparator.Server;\r\n\r\n if (!workspace) {\r\n console.warn(\"Resource should have workspace. Check account api\");\r\n }\r\n\r\n return `${workspace}${separator}${name}`;\r\n }\r\n\r\n /** Generates temporary resource name using for client\\server interactions */\r\n createTempResourceName(params: Omit<CreateResourceParams, \"workspace\"> = {}) {\r\n return this.createResourceName({\r\n workspace: RESOURCE_TEMP_WORKSPACE,\r\n ...params,\r\n });\r\n }\r\n\r\n /** Extract resource information (workspace, name) */\r\n extractResource(resourceName?: string): ExtractedResource {\r\n if (resourceName) {\r\n if (resourceName.includes(ResourceSeparator.Server)) {\r\n const matches = resourceName.split(ResourceSeparator.Server);\r\n const name = matches.pop() as string;\r\n const workspace = matches.join(ResourceSeparator.Server);\r\n\r\n return { workspace, name };\r\n }\r\n }\r\n\r\n return {\r\n name: \"\",\r\n workspace: \"\",\r\n };\r\n }\r\n\r\n /** Extract resource name */\r\n extractResourceName(resourceName?: string): string {\r\n return this.extractResource(resourceName).name || resourceName || \"\";\r\n }\r\n\r\n /** Extract resource workspace */\r\n extractResourceWorkspace(resourceName?: string): string {\r\n return this.extractResource(resourceName).workspace || \"\";\r\n }\r\n}\r\n","/* eslint-disable */\n/* tslint:disable */\n/*\n * ---------------------------------------------------------------\n * ## THIS FILE WAS GENERATED VIA SWAGGER-TYPESCRIPT-API ##\n * ## ##\n * ## AUTHOR: acacode ##\n * ## SOURCE: https://github.com/acacode/swagger-typescript-api ##\n * ---------------------------------------------------------------\n */\n\n// @ts-nocheck\n\nimport { Service } from \"./Service\";\nimport {\n SubscribeListOperationPayload,\n SubscribeOperationParams,\n UnsubscribeListOperationPayload,\n UnsubscribeOperationParams,\n} from \"./data-contracts\";\n\n/**\n * @title Spatial Processing Core API\n * @version 1.5.1.0\n * @baseUrl /sp\n */\nexport class NotificationService extends Service {\n /**\n * No description\n *\n * @tags NotificationService\n * @name GetSubscriptionList\n * @operationId NotificationServiceController_GetSubscriptionList\n * @summary Returns a list of notification tags that the current session is subscribed to.\n * @request GET:/notifications/subscribes\n * @secure\n * @response `200` OK\n */\n getSubscriptionList() {\n return this.http.get(`/notifications/subscribes`).json<string[]>();\n }\n /**\n * No description\n *\n * @tags NotificationService\n * @name SubscribeOperation\n * @operationId NotificationServiceController_SubscribeOperation\n * @summary Subscribe current session by subscribe tag. A subscribed session will receive all notifications added for the specified tag.\n * @request POST:/notifications/subscribes\n * @secure\n * @response `200` OK\n */\n subscribeOperation(query: SubscribeOperationParams) {\n return this.http.post(`/notifications/subscribes`, null, query).then(() => {});\n }\n /**\n * No description\n *\n * @tags NotificationService\n * @name UnsubscribeOperation\n * @operationId NotificationServiceController_UnsubscribeOperation\n * @summary Unsubscribe from receiving notifications that come for the specified tag.\n * @request DELETE:/notifications/subscribes\n * @secure\n * @response `200` OK\n */\n unsubscribeOperation(query: UnsubscribeOperationParams) {\n return this.http.delete(`/notifications/subscribes`, null, query).then(() => {});\n }\n /**\n * No description\n *\n * @tags NotificationService\n * @name SubscribeListOperation\n * @operationId NotificationServiceController_SubscribeListOperation\n * @summary Subscribe current session by subscribe tags. A subscribed session will receive all notifications added for the specified tags.\n * @request POST:/notifications/subscribe-list\n * @secure\n * @response `200` OK\n */\n subscribeListOperation(data: SubscribeListOperationPayload) {\n return this.http.post(`/notifications/subscribe-list`, data).then(() => {});\n }\n /**\n * No description\n *\n * @tags NotificationService\n * @name UnsubscribeListOperation\n * @operationId NotificationServiceController_UnsubscribeListOperation\n * @summary Unsubscribe from receiving notifications that come for the specified tags.\n * @request POST:/notifications/unsubscribe-list\n * @secure\n * @response `200` OK\n */\n unsubscribeListOperation(data: UnsubscribeListOperationPayload) {\n return this.http.post(`/notifications/unsubscribe-list`, data).then(() => {});\n }\n}\n","import { NotificationService } from \"../__generated__/NotificationService\";\r\nimport { Api } from \"../Api\";\r\nimport { EventEmitter } from \"../EventEmitter\";\r\n\r\nimport { IHttpClient } from \"../__generated__/HttpClient\";\r\n\r\ntype NotificationHandler<Data, Result> = (\r\n event: NotificationEvent<Data>,\r\n) => Result;\r\n\r\ntype WsMessage<Data = unknown> = {\r\n type?: string;\r\n data?: {\r\n tag?: string;\r\n data?: Data;\r\n };\r\n};\r\n\r\nexport enum ConnectionStatus {\r\n Initialized = \"Initialized\",\r\n Connected = \"Connected\",\r\n Break = \"Break\",\r\n Lost = \"Lost\",\r\n SessionClosed = \"SessionClosed\",\r\n}\r\n\r\nexport const enum NotificationTag {\r\n ConnectionStatus = \"ConnectionStatus\",\r\n}\r\n\r\nexport const enum SubscriptionTag {\r\n ServerTask = \"server_task\",\r\n ServiceUpdate = \"service_update\",\r\n}\r\n\r\nconst enum WsCloseStatusCode {\r\n SessionClosed = 4001,\r\n InvalidSession = 4002,\r\n}\r\n\r\nconst SUBSCRIPTION_DELAY = 500;\r\n\r\nconst KEEP_ALIVE_INTERVAL = 5 * 1000;\r\n\r\nexport class Notification extends NotificationService {\r\n private readonly MAX_WS_RECONNECT_TRIES = 10;\r\n private readonly emitter: EventEmitter;\r\n private readonly keepAlive: boolean = false;\r\n private ws?: WebSocket;\r\n private wsUrl?: string;\r\n private reconnectTries = 0;\r\n private subscriptions: string[] = [];\r\n private keepAliveTimeout?: ReturnType<typeof setInterval>;\r\n\r\n private _connectStatus: ConnectionStatus = ConnectionStatus.Initialized;\r\n\r\n // @ts-ignore\r\n public get connectStatus() {\r\n return this._connectStatus;\r\n }\r\n\r\n // @ts-ignore\r\n public set connectStatus(connectStatus) {\r\n this.emitter.emit(\r\n NotificationTag.ConnectionStatus,\r\n new NotificationEvent(connectStatus),\r\n );\r\n this._connectStatus = connectStatus;\r\n }\r\n\r\n public get currentWs() {\r\n return this.ws;\r\n }\r\n\r\n constructor(http: IHttpClient, private api: Api, keepAlive: boolean = false) {\r\n super(http);\r\n\r\n this.emitter = new EventEmitter();\r\n this.keepAlive = keepAlive;\r\n }\r\n\r\n on<Data, Result>(tag: string, handler: NotificationHandler<Data, Result>) {\r\n this.emitter.on(tag, handler);\r\n }\r\n\r\n off<Data, Result>(tag: string, handler: NotificationHandler<Data, Result>) {\r\n this.emitter.off(tag, handler);\r\n }\r\n\r\n async subscribe(tag: string) {\r\n this.subscriptions.push(tag);\r\n\r\n setTimeout(() => {\r\n if (!this.api.isShared && !this.api.isPresentation && this.subscriptions.length) {\r\n this.subscribeListOperation(this.subscriptions);\r\n }\r\n\r\n this.subscriptions = [];\r\n }, SUBSCRIPTION_DELAY);\r\n }\r\n\r\n async unsubscribe(tag: string) {\r\n const subscriptions = await this.getSubscriptionList();\r\n\r\n if (subscriptions.includes(tag)) {\r\n return this.unsubscribeOperation({ tag });\r\n }\r\n }\r\n\r\n connectWs(url: string) {\r\n const urlWithWsScheme = url\r\n .replace(\"http://\", \"ws://\")\r\n .replace(\"https://\", \"wss://\");\r\n this.wsUrl = urlWithWsScheme;\r\n\r\n this.connect();\r\n }\r\n\r\n private connect() {\r\n if (this.wsUrl) {\r\n this.ws = new WebSocket(this.wsUrl);\r\n this.ws.onopen = this.onWsConnected;\r\n this.ws.onclose = this.onWsClosed;\r\n this.ws.onmessage = this.onWsMessage;\r\n } else {\r\n console.warn(\"Connection to WebSocket not allowed. wsUrl not provided\");\r\n }\r\n }\r\n\r\n private onWsConnected = () => {\r\n this.connectStatus = ConnectionStatus.Connected;\r\n\r\n if (this.keepAlive) {\r\n this.keepAliveTimeout = setInterval(() => {\r\n if (this.ws) {\r\n this.ws.send(JSON.stringify({ keepAlive: true }));\r\n }\r\n }, KEEP_ALIVE_INTERVAL);\r\n }\r\n // TODO: comment for now. it launch endless flow of reconnections\r\n // this.reconnectTries = 0;\r\n };\r\n\r\n private onWsClosed = (event: CloseEvent) => {\r\n if (\r\n event.code === WsCloseStatusCode.SessionClosed ||\r\n event.code === WsCloseStatusCode.InvalidSession\r\n ) {\r\n this.connectStatus = ConnectionStatus.SessionClosed;\r\n } else if (this.reconnectTries < this.MAX_WS_RECONNECT_TRIES) {\r\n this.connectStatus = ConnectionStatus.Break;\r\n this.reconnectTries++;\r\n\r\n if (this.ws) {\r\n this.ws.onopen = null;\r\n this.ws.onclose = null;\r\n this.ws.onmessage = null;\r\n this.ws = void 0;\r\n }\r\n\r\n this.keepAliveTimeout && clearInterval(this.keepAliveTimeout);\r\n\r\n setTimeout(() => {\r\n this.connect();\r\n }, 0);\r\n } else {\r\n this.connectStatus = ConnectionStatus.Lost;\r\n }\r\n };\r\n\r\n private onWsMessage = (event: MessageEvent) => {\r\n let message: WsMessage = {};\r\n\r\n try {\r\n message = JSON.parse(event.data);\r\n } catch (e) {\r\n console.debug(\"Failed to parse ws message from sp.\");\r\n // ignore\r\n }\r\n\r\n if (message.type === \"notification\" && message.data) {\r\n const { tag, data } = message.data;\r\n\r\n tag && this.emitter.emit(tag, new NotificationEvent(data));\r\n }\r\n };\r\n}\r\n\r\nexport class NotificationEvent<Data> {\r\n data: Data;\r\n\r\n constructor(data: Data) {\r\n this.data = data;\r\n }\r\n}\r\n","import { ClientSettingsService } from \"../__generated__/ClientSettingsService\";\r\nimport { GetConfigurationParams } from \"../__generated__/data-contracts\";\r\n\r\nexport class PortalSettings extends ClientSettingsService {\r\n config: PortalConfiguration | null = null;\r\n\r\n async fetchPortalSettings(query: GetConfigurationParams) {\r\n this.config = (JSON.parse(\r\n await this.getConfiguration(query),\r\n ) as unknown) as PortalConfiguration | null;\r\n\r\n return this.config;\r\n }\r\n}\r\n\r\nexport type PortalConfiguration = {\r\n settings?: {\r\n withPortal?: boolean;\r\n allowRegistration?: boolean;\r\n allowSNS?: boolean;\r\n allowRecovery?: boolean;\r\n showTermsOfService?: boolean;\r\n customLogo?: {\r\n src: string;\r\n width?: number;\r\n height?: number;\r\n preserveText?: boolean;\r\n };\r\n disableSubscription?: boolean;\r\n disabledComponents?: {\r\n main?: boolean;\r\n about?: boolean;\r\n help?: boolean;\r\n footer?: boolean;\r\n google?: boolean;\r\n facebook?: boolean;\r\n vk?: boolean;\r\n yandex?: boolean;\r\n };\r\n localization?: boolean;\r\n emoji?: string[];\r\n };\r\n};\r\n","/* eslint-disable */\n/* tslint:disable */\n/*\n * ---------------------------------------------------------------\n * ## THIS FILE WAS GENERATED VIA SWAGGER-TYPESCRIPT-API ##\n * ## ##\n * ## AUTHOR: acacode ##\n * ## SOURCE: https://github.com/acacode/swagger-typescript-api ##\n * ---------------------------------------------------------------\n */\n\n// @ts-nocheck\n\nimport { Service } from \"./Service\";\nimport {\n BulkOperationResultDc,\n CatalogConfigurationDc,\n DeleteResourcesParams2,\n EnvelopeDc,\n ExtendedProjectInfoDc,\n ExtendedProjectLayersInfo,\n GetProjectEnvelopeParams,\n GetProjectsInfoParams,\n Operation,\n PatchProjectConfigurationPayload,\n PutProjectConfigurationPayload,\n ResourceDependenciesDc,\n UpdateProjectV2Payload,\n} from \"./data-contracts\";\n\n/**\n * @title Spatial Processing Core API\n * @version 1.5.1.0\n * @baseUrl /sp\n */\nexport class ProjectsService extends Service {\n /**\n * No description\n *\n * @tags Projects\n * @name CreateProject\n * @operationId ProjectsController_CreateProject\n * @summary Creates a new project.\n * @request POST:/projects\n * @secure\n * @response `200` OK\n */\n createProject(data: ExtendedProjectInfoDc) {\n return this.http.post(`/projects`, data).json<ExtendedProjectInfoDc>();\n }\n /**\n * No description\n *\n * @tags Projects\n * @name DeleteResources\n * @operationId ProjectsController_DeleteResources\n * @summary Bulk delete resources.\n * @request DELETE:/projects\n * @secure\n * @response `200` OK\n */\n deleteResources(query: DeleteResourcesParams2) {\n return this.http.delete(`/projects`, null, query).json<BulkOperationResultDc[]>();\n }\n /**\n * No description\n *\n * @tags Projects\n * @name UpdateProject\n * @operationId ProjectsController_UpdateProject\n * @summary Update table.\n * @request PATCH:/projects/{name}\n * @secure\n * @response `200` OK\n */\n updateProject(name: string, data: ExtendedProjectInfoDc) {\n return this.http.patch(`/projects/${name}`, data).json<ExtendedProjectInfoDc>();\n }\n /**\n * No description\n *\n * @tags Projects\n * @name GetProjectInfo\n * @operationId ProjectsController_GetProjectInfo\n * @summary Returns the project and it's content information.\n * @request GET:/projects/{name}\n * @secure\n * @response `200` OK\n */\n getProjectInfo(name: string) {\n return this.http.get(`/projects/${name}`).json<ExtendedProjectInfoDc>();\n }\n /**\n * No description\n *\n * @tags Projects\n * @name DeleteResource\n * @operationId ProjectsController_DeleteResource\n * @summary Deletes resource.\n * @request DELETE:/projects/{name}\n * @secure\n * @response `200` OK\n */\n deleteResource(name: string) {\n return this.http.delete(`/projects/${name}`, null).then(() => {});\n }\n /**\n * No description\n *\n * @tags Projects\n * @name UpdateProjectV2\n * @operationId ProjectsController_UpdateProjectV2\n * @summary Update table.\n * @request PATCH:/projects/{name}/v2\n * @secure\n * @response `200` OK\n */\n updateProjectV2(name: string, data: UpdateProjectV2Payload) {\n return this.http.patch(`/projects/${name}/v2`, data).json<Operation[]>();\n }\n /**\n * No description\n *\n * @tags Projects\n * @name GetProjectsInfo\n * @operationId ProjectsController_GetProjectsInfoAsync\n * @summary Returns the projects information.\n * @request GET:/projects/batchInfo\n * @secure\n * @response `200` OK\n */\n getProjectsInfo(query: GetProjectsInfoParams) {\n return this.http.get(`/projects/batchInfo`, query).json<ExtendedProjectInfoDc[]>();\n }\n /**\n * No description\n *\n * @tags Projects\n * @name GetProjectEnvelope\n * @operationId ProjectsController_GetProjectEnvelope\n * @summary Get project extent.\n * @request GET:/projects/{name}/extent\n * @secure\n * @response `200` OK\n */\n getProjectEnvelope({ name, ...query }: GetProjectEnvelopeParams) {\n return this.http.get(`/projects/${name}/extent`, query).json<EnvelopeDc>();\n }\n /**\n * No description\n *\n * @tags Projects\n * @name GetProjectLayersExtendedInfo\n * @operationId ProjectsController_GetProjectLayersExtendedInfo\n * @summary Gets extended project info with layers info.\n * @request GET:/projects/{name}/extended-info\n * @secure\n * @response `200` OK\n */\n getProjectLayersExtendedInfo(name: string) {\n return this.http.get(`/projects/${name}/extended-info`).json<ExtendedProjectLayersInfo>();\n }\n /**\n * No description\n *\n * @tags Projects\n * @name PatchProjectConfiguration\n * @operationId ProjectsController_PatchProjectConfiguration\n * @summary Applies partial updates using JSON Patch.\n * @request PATCH:/projects/{name}/devConfiguration\n * @secure\n * @response `200` OK\n */\n patchProjectConfiguration(name: string, data: PatchProjectConfigurationPayload) {\n return this.http.patch(`/projects/${name}/devConfiguration`, data).json<CatalogConfigurationDc>();\n }\n /**\n * No description\n *\n * @tags Projects\n * @name PutProjectConfiguration\n * @operationId ProjectsController_PutProjectConfiguration\n * @summary Creates or updates configuration (full replacement).\n * @request PUT:/projects/{name}/devConfiguration\n * @secure\n * @response `200` OK\n */\n putProjectConfiguration(name: string, data: PutProjectConfigurationPayload) {\n return this.http.put(`/projects/${name}/devConfiguration`, data).json<CatalogConfigurationDc>();\n }\n /**\n * No description\n *\n * @tags Projects\n * @name GetProjectConfiguration\n * @operationId ProjectsController_GetProjectConfiguration\n * @summary Gets configuration for a resource and type.\n * @request GET:/projects/{name}/devConfiguration\n * @secure\n * @response `200` OK\n */\n getProjectConfiguration(name: string) {\n return this.http.get(`/projects/${name}/devConfiguration`).json<CatalogConfigurationDc>();\n }\n /**\n * No description\n *\n * @tags Projects\n * @name DeleteProjectConfiguration\n * @operationId ProjectsController_DeleteProjectConfiguration\n * @summary Creates or updates configuration (full replacement).\n * @request DELETE:/projects/{name}/devConfiguration\n * @secure\n * @response `200` OK\n */\n deleteProjectConfiguration(name: string) {\n return this.http.delete(`/projects/${name}/devConfiguration`, null).json<CatalogConfigurationDc>();\n }\n /**\n * No description\n *\n * @tags Projects\n * @name GetTilesLayerImage\n * @operationId ProjectsController_GetTilesLayerImage\n * @summary Render tile.\n * @request GET:/projects/{name}/tile/{z}/{x}/{y}\n * @secure\n * @response `200` OK\n */\n getTilesLayerImage(name: string, x: number, y: number, z: number) {\n return this.http.createUrl(`/projects/${name}/tile/{z}/{x}/{y}`);\n }\n /**\n * No description\n *\n * @tags Projects\n * @name GetTilesLayerImageWithFormat\n * @operationId ProjectsController_GetTilesLayerImageWithFormat\n * @summary Render tile.\n * @request GET:/projects/{name}/tile/{z}/{x}/{y}.{format}\n * @secure\n * @response `200` OK\n */\n getTilesLayerImageWithFormat(name: string, x: number, y: number, z: number, format: string) {\n return this.http.createUrl(`/projects/${name}/tile/{z}/{x}/{y}.${format}`);\n }\n /**\n * No description\n *\n * @tags Projects\n * @name GetTilesLayerImageWithFormatAndDpi\n * @operationId ProjectsController_GetTilesLayerImageWithFormatAndDpi\n * @summary Render tile.\n * @request GET:/projects/{name}/tile/{z}/{x}/{y}@{dpi}x.{format}\n * @secure\n * @response `200` OK\n */\n getTilesLayerImageWithFormatAndDpi(name: string, x: number, y: number, z: number, dpi: number, format: string) {\n return this.http.createUrl(`/projects/${name}/tile/{z}/{x}/{y}@${dpi}x.${format}`);\n }\n /**\n * No description\n *\n * @tags Projects\n * @name IsExists\n * @operationId ProjectsController_IsExistsAsync\n * @summary Check is resource exists.\n * @request GET:/projects/{name}/exists\n * @secure\n * @response `200` OK\n */\n isExists(name: string) {\n return this.http.get(`/projects/${name}/exists`).then(() => {});\n }\n /**\n * No description\n *\n * @tags Projects\n * @name GetResourceDependencies\n * @operationId ProjectsController_GetResourceDependencies\n * @summary Get resource dependencies.\n * @request GET:/projects/{name}/dependencies\n * @secure\n * @response `200` OK\n */\n getResourceDependencies(name: string) {\n return this.http.get(`/projects/${name}/dependencies`).json<ResourceDependenciesDc>();\n }\n /**\n * No description\n *\n * @tags Projects\n * @name GetResourceReferences\n * @operationId ProjectsController_GetResourceReferences\n * @summary Returns the resource dependency information.\n * @request GET:/projects/{name}/references\n * @secure\n * @response `200` OK\n */\n getResourceReferences(name: string) {\n return this.http.get(`/projects/${name}/references`).json<ResourceDependenciesDc>();\n }\n}\n","import { promiseAllIgnoreErrors } from \"../utils\";\r\n\r\nimport {\r\n ExtendedProjectInfoDc,\r\n ProjectContentItemDc,\r\n ResourceDependenciesDc,\r\n ServiceInfoDc,\r\n TableInfoDc,\r\n} from \"../__generated__/data-contracts\";\r\n\r\nimport { ProjectsService } from \"../__generated__/ProjectsService\";\r\nimport { ResourceService } from \"../interfaces/ResourceService\";\r\n\r\nexport class Projects extends ProjectsService implements ResourceService {\r\n getProjectInfos(projects: string[]): Promise<ExtendedProjectInfoDc[]> {\r\n return promiseAllIgnoreErrors(\r\n projects.map(project => this.getProjectInfo(project)),\r\n ) as Promise<ExtendedProjectInfoDc[]>;\r\n }\r\n\r\n getProjectsDeps(proejcts: string[]): Promise<ResourceDependenciesDc[]> {\r\n return promiseAllIgnoreErrors(\r\n proejcts.map(project => this.getResourceDependencies(project)),\r\n );\r\n }\r\n\r\n findOne(name: string) {\r\n return this.getProjectInfo(name);\r\n }\r\n\r\n create(resource: ExtendedProjectInfoDc) {\r\n return this.createProject(resource);\r\n }\r\n\r\n update(resource: ExtendedProjectInfoDc) {\r\n return this.updateProject(resource.name, resource);\r\n }\r\n\r\n async remove(name: string) {\r\n await this.deleteResource(name);\r\n\r\n return name;\r\n }\r\n}\r\n\r\nexport function isProjectContentItems(\r\n v: ProjectContentItemDc[] | undefined | null,\r\n): v is ProjectContentItemDc[] {\r\n return v !== null && v !== undefined;\r\n}\r\n\r\nexport type ProjectsWithDeps = {\r\n projects: ExtendedProjectInfoDc[];\r\n deps: {\r\n layers: ServiceInfoDc[];\r\n tables: TableInfoDc[];\r\n };\r\n};\r\n","/* eslint-disable */\n/* tslint:disable */\n/*\n * ---------------------------------------------------------------\n * ## THIS FILE WAS GENERATED VIA SWAGGER-TYPESCRIPT-API ##\n * ## ##\n * ## AUTHOR: acacode ##\n * ## SOURCE: https://github.com/acacode/swagger-typescript-api ##\n * ---------------------------------------------------------------\n */\n\n// @ts-nocheck\n\nimport { Service } from \"./Service\";\nimport {\n ActiveWorkerDc,\n CreatedTaskResultDto,\n GetTaskPrototypesParams,\n GetTaskResourceParams,\n GetTasksForPrototypeParams,\n SearchResultsDtoTaskDto,\n SearchResultsDtoTaskPrototypeDto,\n SubTasksDto,\n TaskConfigurationDc,\n TaskPrototypeDto,\n TaskPythonResourceUpdateDto,\n TaskResourceCreateDto,\n TaskSpResourceUpdateDto,\n UpdateTaskPrototypeDto,\n WorkerStartMethodDto,\n} from \"./data-contracts\";\n\n/**\n * @title Spatial Processing Core API\n * @version 1.5.1.0\n * @baseUrl /sp\n */\nexport class RemoteTaskManagerService extends Service {\n /**\n * No description\n *\n * @tags RemoteTaskManager\n * @name Get\n * @operationId RemoteTaskManagerController_Get\n * @summary Shows SubTask in Task.\n * @request GET:/scheduler/task/{id}/subtasks\n * @secure\n * @response `200` OK\n */\n get(id: string) {\n return this.http.get(`/scheduler/task/${id}/subtasks`).json<SubTasksDto[]>();\n }\n /**\n * No description\n *\n * @tags RemoteTaskManager\n * @name Stop\n * @operationId RemoteTaskManagerController_Stop\n * @summary Stop the task.\n * @request POST:/scheduler/task/{id}/stop\n * @secure\n * @response `200` OK\n */\n stop(id: string) {\n return this.http.post(`/scheduler/task/${id}/stop`, null).text();\n }\n /**\n * No description\n *\n * @tags RemoteTaskManager\n * @name CreateTaskPrototype\n * @operationId RemoteTaskManagerController_CreateTaskPrototype\n * @summary Creates TaskPrototype.\n * @request POST:/scheduler\n * @secure\n * @response `200` OK\n */\n createTaskPrototype(data: TaskPrototypeDto) {\n return this.http.post(`/scheduler`, data).text();\n }\n /**\n * No description\n *\n * @tags RemoteTaskManager\n * @name GetTaskPrototypes\n * @operationId RemoteTaskManagerController_GetTaskPrototypes\n * @summary Show TaskPrototypes for user.\n * @request GET:/scheduler\n * @secure\n * @response `200` OK\n */\n getTaskPrototypes(query: GetTaskPrototypesParams) {\n return this.http.get(`/scheduler`, query).json<SearchResultsDtoTaskPrototypeDto>();\n }\n /**\n * No description\n *\n * @tags RemoteTaskManager\n * @name UpdateTaskPrototype\n * @operationId RemoteTaskManagerController_UpdateTaskPrototype\n * @summary Updates task prototype.\n * @request PUT:/scheduler/{id}\n * @secure\n * @response `200` OK\n */\n updateTaskPrototype(id: string, data: UpdateTaskPrototypeDto) {\n return this.http.put(`/scheduler/${id}`, data).text();\n }\n /**\n * No description\n *\n * @tags RemoteTaskManager\n * @name Delete\n * @operationId RemoteTaskManagerController_Delete\n * @summary Delete task prototype.\n * @request DELETE:/scheduler/{id}\n * @secure\n * @response `200` OK\n */\n delete(id: string) {\n return this.http.delete(`/scheduler/${id}`, null).text();\n }\n /**\n * No description\n *\n * @tags RemoteTaskManager\n * @name SetEnable\n * @operationId RemoteTaskManagerController_SetEnable\n * @summary Enables task prototype.\n * @request POST:/scheduler/{id}/enable/{enable}\n * @secure\n * @response `200` OK\n */\n setEnable(id: string, enable: boolean) {\n return this.http.post(`/scheduler/${id}/enable/${enable}`, null).text();\n }\n /**\n * No description\n *\n * @tags RemoteTaskManager\n * @name GetTasksForPrototype\n * @operationId RemoteTaskManagerController_GetTasksForPrototype\n * @summary Shows Tasks that created for TaskPrototype.\n * @request GET:/scheduler/{id}/tasks\n * @secure\n * @response `200` OK\n */\n getTasksForPrototype({ id, ...query }: GetTasksForPrototypeParams) {\n return this.http.get(`/scheduler/${id}/tasks`, query).json<SearchResultsDtoTaskDto>();\n }\n /**\n * No description\n *\n * @tags RemoteTaskManager\n * @name StartTask\n * @operationId RemoteTaskManagerController_StartTask\n * @summary Starts new Task for TaskPrototype with task id definition.\n * @request POST:/scheduler/{id}/start/{taskId}\n * @secure\n * @response `200` OK\n */\n startTask(id: string, taskId: string) {\n return this.http.post(`/scheduler/${id}/start/${taskId}`, null).json<CreatedTaskResultDto>();\n }\n /**\n * No description\n *\n * @tags RemoteTaskManager\n * @name StartTask1\n * @operationId RemoteTaskManagerController_StartTask_1\n * @summary Starts new Task for TaskPrototype .\n * @request POST:/scheduler/{id}/start\n * @secure\n * @response `200` OK\n */\n startTask1(id: string) {\n return this.http.post(`/scheduler/${id}/start`, null).json<CreatedTaskResultDto>();\n }\n /**\n * No description\n *\n * @tags RemoteTaskManager\n * @name GetTaskResource\n * @operationId RemoteTaskManagerController_GetTaskResource\n * @summary Shows SubTask in Task.\n * @request GET:/scheduler/taskresource/{id}\n * @secure\n * @response `200` OK\n */\n getTaskResource({ id, ...query }: GetTaskResourceParams) {\n return this.http.get(`/scheduler/taskresource/${id}`, query).json<TaskConfigurationDc>();\n }\n /**\n * No description\n *\n * @tags RemoteTaskManager\n * @name CreateTaskResource\n * @operationId RemoteTaskManagerController_CreateTaskResource\n * @summary Create task resource.\n * @request POST:/scheduler/taskresource\n * @secure\n * @response `200` OK\n */\n createTaskResource(data: TaskResourceCreateDto) {\n return this.http.post(`/scheduler/taskresource`, data).text();\n }\n /**\n * No description\n *\n * @tags RemoteTaskManager\n * @name UpdatePythonTaskResource\n * @operationId RemoteTaskManagerController_UpdatePythonTaskResource\n * @summary Update python task resource.\n * @request PATCH:/scheduler/taskresource/{id}#type=PythonTask\n * @secure\n * @response `200` OK\n */\n updatePythonTaskResource(id: string, data: TaskPythonResourceUpdateDto) {\n return this.http.patch(`/scheduler/taskresource/${id}`, data, { type: \"PythonTask\" }).then(() => {});\n }\n /**\n * No description\n *\n * @tags RemoteTaskManager\n * @name UpdateSpTaskResource\n * @operationId RemoteTaskManagerController_UpdateSpTaskResource\n * @summary Update sp task resource.\n * @request PATCH:/scheduler/taskresource/{id}#type=SpTask\n * @secure\n * @response `200` OK\n */\n updateSpTaskResource(id: string, data: TaskSpResourceUpdateDto) {\n return this.http.patch(`/scheduler/taskresource/${id}`, data, { type: \"SpTask\" }).then(() => {});\n }\n /**\n * No description\n *\n * @tags RemoteTaskManager\n * @name Get1\n * @operationId RemoteTaskManagerController_Get_1\n * @summary Shows active workers.\n * @request GET:/scheduler/worker\n * @secure\n * @response `200` OK\n */\n get1() {\n return this.http.get(`/scheduler/worker`).json<ActiveWorkerDc[]>();\n }\n /**\n * No description\n *\n * @tags RemoteTaskManager\n * @name Post\n * @operationId RemoteTaskManagerController_Post\n * @summary Run method by HttpPost.\n * @request POST:/scheduler/worker\n * @secure\n * @response `200` OK\n */\n post(data: WorkerStartMethodDto) {\n return this.http.post(`/scheduler/worker`, data).json<any>();\n }\n /**\n * No description\n *\n * @tags RemoteTaskManager\n * @name GetWorker\n * @operationId RemoteTaskManagerController_GetWorker\n * @summary Get worker info by type.\n * @request GET:/scheduler/worker/{type}\n * @secure\n * @response `200` OK\n */\n getWorker(type: string) {\n return this.http.get(`/scheduler/worker/${type}`).json<ActiveWorkerDc[]>();\n }\n}\n","import { RemoteTaskManagerService } from \"../__generated__/RemoteTaskManagerService\";\r\n\r\nexport class RemoteTaskManager extends RemoteTaskManagerService {}\r\n","import { Projects, ProjectsWithDeps } from \"./Projects\";\r\nimport { Layers, LayersWithDeps } from \"./Layers\";\r\nimport { Tables } from \"./Tables\";\r\n\r\nimport { isString, unique } from \"../utils\";\r\n\r\nimport {\r\n DependentResourceDc,\r\n ResourceDependenciesDc,\r\n} from \"../__generated__/data-contracts\";\r\n\r\nexport enum DependencyType {\r\n Layer = \"Layer\",\r\n Table = \"Table\",\r\n Project = \"Project\",\r\n}\r\n\r\nexport class Resources {\r\n constructor(\r\n private readonly projects: Projects,\r\n private readonly layers: Layers,\r\n private readonly tables: Tables,\r\n ) {\r\n }\r\n\r\n async getProjectInfosWithDeps(projects: string[]): Promise<ProjectsWithDeps> {\r\n const projectInfos = await this.projects.getProjectInfos(projects);\r\n const projectDeps = await this.projects.getProjectsDeps(projects);\r\n const { layers, tables } = await this.getDependencies(\r\n projectDeps,\r\n true,\r\n true,\r\n );\r\n\r\n return {\r\n projects: projectInfos,\r\n deps: {\r\n layers,\r\n tables,\r\n },\r\n };\r\n }\r\n\r\n async getLayerInfosWithDeps(layers: string[]): Promise<LayersWithDeps> {\r\n const layerInfos = await this.layers.getLayerInfos(layers);\r\n const layersDeps = await this.layers.getLayersDeps(layers);\r\n\r\n const { tables } = await this.getDependencies(layersDeps, false, true);\r\n\r\n return {\r\n layers: layerInfos,\r\n deps: {\r\n tables,\r\n },\r\n };\r\n }\r\n\r\n private async getDependencies(\r\n resourceDeps: ResourceDependenciesDc[],\r\n pickLayers?: boolean,\r\n pickTables?: boolean,\r\n ) {\r\n const { tables, layers } = resourceDeps.reduce<{\r\n tables: string[];\r\n layers: string[];\r\n }>(\r\n (acc, layerDep) => {\r\n const deps = layerDep.dependencies || [];\r\n\r\n if (pickLayers) {\r\n const layerNames = this.getDependentNames(deps, DependencyType.Layer);\r\n acc.layers.push(...layerNames);\r\n }\r\n\r\n if (pickTables) {\r\n const tableNames = this.getDependentNames(deps, DependencyType.Table);\r\n acc.tables.push(...tableNames);\r\n }\r\n return acc;\r\n },\r\n {\r\n tables: [],\r\n layers: [],\r\n },\r\n );\r\n\r\n return {\r\n tables: await this.tables.getTableInfos(tables.filter(unique)),\r\n layers: await this.layers.getLayerInfos(layers.filter(unique)),\r\n };\r\n }\r\n\r\n private getDependentNames(\r\n deps: DependentResourceDc[],\r\n depType: DependencyType,\r\n ) {\r\n return deps\r\n .filter(({ type }) => type === depType)\r\n .map(({ name }) => name)\r\n .filter(isString);\r\n }\r\n}\r\n","/* eslint-disable */\n/* tslint:disable */\n/*\n * ---------------------------------------------------------------\n * ## THIS FILE WAS GENERATED VIA SWAGGER-TYPESCRIPT-API ##\n * ## ##\n * ## AUTHOR: acacode ##\n * ## SOURCE: https://github.com/acacode/swagger-typescript-api ##\n * ---------------------------------------------------------------\n */\n\n// @ts-nocheck\n\nimport { Service } from \"./Service\";\nimport {\n FindUserByNameByRolesParams,\n FindUserByNameParams,\n GetPolicyListParams,\n GetUsersAndRolesParams,\n PolicyDc,\n RemovePolicyParams,\n SearchedUserDc,\n SetPoliciesPayload,\n UserOrRoleDc,\n WorkspaceLimitsDc,\n} from \"./data-contracts\";\n\n/**\n * @title Spatial Processing Core API\n * @version 1.5.1.0\n * @baseUrl /sp\n */\nexport class SecurityService extends Service {\n /**\n * @description This method requires superuser permission.\n *\n * @tags SecurityService\n * @name SetPolicies\n * @operationId SecurityServiceController_SetPolicies\n * @summary Adds the given policies to the server policy list. If a policy with the same type and user role already exists, it replaces the existing policy with the new one.\n * @request POST:/bulk/security/policies\n * @secure\n * @response `200` OK\n */\n setPolicies(data: SetPoliciesPayload) {\n return this.http.post(`/bulk/security/policies`, data).then(() => {});\n }\n /**\n * No description\n *\n * @tags SecurityService\n * @name FindUserByNameByRoles\n * @operationId SecurityServiceController_FindUserByNameByRoles\n * @summary Get users list with given roles list.\n * @request GET:/security/findUsersWithRoles\n * @secure\n * @response `200` OK\n */\n findUserByNameByRoles(query: FindUserByNameByRolesParams) {\n return this.http.get(`/security/findUsersWithRoles`, query).json<SearchedUserDc[]>();\n }\n /**\n * No description\n *\n * @tags SecurityService\n * @name GetUsersAndRoles\n * @operationId SecurityServiceController_GetUsersAndRoles\n * @summary Get users and roles list by filter.\n * @request GET:/security/usersandroles\n * @secure\n * @response `200` OK\n */\n getUsersAndRoles(query: GetUsersAndRolesParams) {\n return this.http.get(`/security/usersandroles`, query).json<UserOrRoleDc[]>();\n }\n /**\n * No description\n *\n * @tags SecurityService\n * @name FindUserByName\n * @operationId SecurityServiceController_FindUserByName\n * @summary Returns the list of users found by username.\n * @request GET:/security/users\n * @secure\n * @response `200` OK\n */\n findUserByName(query: FindUserByNameParams) {\n return this.http.get(`/security/users`, query).json<SearchedUserDc[]>();\n }\n /**\n * @description This method requires superuser permission.\n *\n * @tags SecurityService\n * @name GetPolicyList\n * @operationId SecurityServiceController_GetPolicyList\n * @summary Returns the list of server authorization policies of the given type.\n * @request GET:/security/policies\n * @secure\n * @response `200` OK\n */\n getPolicyList(query: GetPolicyListParams) {\n return this.http.get(`/security/policies`, query).json<PolicyDc[]>();\n }\n /**\n * @description This method requires superuser permission.\n *\n * @tags SecurityService\n * @name RemovePolicy\n * @operationId SecurityServiceController_RemovePolicy\n * @summary Removes the policy of the given type with the given role. If no such policy is found, nothing is done, and OK response is returned.\n * @request DELETE:/security/policies\n * @secure\n * @response `200` OK\n */\n removePolicy(query: RemovePolicyParams) {\n return this.http.delete(`/security/policies`, null, query).then(() => {});\n }\n /**\n * @description This method requires superuser permission.\n *\n * @tags SecurityService\n * @name SetPolicy\n * @operationId SecurityServiceController_SetPolicy\n * @summary Adds the given policy to the server policy list. If a policy with the same type and user role already exists, it replaces the existing policy with the new one.\n * @request POST:/security/policies\n * @secure\n * @response `200` OK\n */\n setPolicy(data: PolicyDc) {\n return this.http.post(`/security/policies`, data).then(() => {});\n }\n /**\n * No description\n *\n * @tags SecurityService\n * @name OldCheckLimits\n * @operationId SecurityServiceController_OldCheckLimits\n * @summary Get limits of workspace.\n * @request GET:/resources/checkLimits\n * @secure\n * @response `200` OK\n */\n oldCheckLimits() {\n return this.http.get(`/resources/checkLimits`).json<WorkspaceLimitsDc>();\n }\n /**\n * No description\n *\n * @tags SecurityService\n * @name OldCheckLimits1\n * @operationId SecurityServiceController_OldCheckLimits_1\n * @summary Get limits of workspace.\n * @request GET:/resources/checkLimits/{userName}\n * @secure\n * @response `200` OK\n */\n oldCheckLimits1(userName: string) {\n return this.http.get(`/resources/checkLimits/${userName}`).json<WorkspaceLimitsDc>();\n }\n /**\n * No description\n *\n * @tags SecurityService\n * @name CheckLimitsForUser\n * @operationId SecurityServiceController_CheckLimitsForUser\n * @summary Get limits of workspace.\n * @request GET:/security/limits/user\n * @secure\n * @response `200` OK\n */\n checkLimitsForUser() {\n return this.http.get(`/security/limits/user`).json<WorkspaceLimitsDc>();\n }\n /**\n * No description\n *\n * @tags SecurityService\n * @name CheckLimitsForUser1\n * @operationId SecurityServiceController_CheckLimitsForUser_1\n * @summary Get limits of workspace.\n * @request GET:/security/limits/user/{userName}\n * @secure\n * @response `200` OK\n */\n checkLimitsForUser1(userName: string) {\n return this.http.get(`/security/limits/user/${userName}`).json<WorkspaceLimitsDc>();\n }\n /**\n * No description\n *\n * @tags SecurityService\n * @name CheckLimitsForRole\n * @operationId SecurityServiceController_CheckLimitsForRole\n * @summary Get limits of workspace.\n * @request GET:/security/limits/role/{roleName}\n * @secure\n * @response `200` OK\n */\n checkLimitsForRole(roleName: string | null) {\n return this.http.get(`/security/limits/role/${roleName}`).json<WorkspaceLimitsDc>();\n }\n /**\n * No description\n *\n * @tags SecurityService\n * @name GetDefaultLimits\n * @operationId SecurityServiceController_GetDefaultLimits\n * @summary Get default limits of workspace.\n * @request GET:/security/limits/default\n * @secure\n * @response `200` OK\n */\n getDefaultLimits() {\n return this.http.get(`/security/limits/default`).json<WorkspaceLimitsDc>();\n }\n}\n","import { SecurityService } from \"../__generated__/SecurityService\";\r\nimport { UserInfoDc } from \"../__generated__/data-contracts\";\r\nimport { IHttpClient } from \"../__generated__/HttpClient\";\r\n\r\nexport class Security extends SecurityService {\r\n ownerName: string = \"\";\r\n ownerRoles: string[] = [];\r\n\r\n constructor(http: IHttpClient, { username, roles }: UserInfoDc) {\r\n super(http);\r\n\r\n this.ownerName = username as string;\r\n this.ownerRoles = roles as string[];\r\n }\r\n\r\n reset() {\r\n this.ownerName = \"\";\r\n this.ownerRoles = [];\r\n }\r\n}\r\n","/* eslint-disable */\n/* tslint:disable */\n/*\n * ---------------------------------------------------------------\n * ## THIS FILE WAS GENERATED VIA SWAGGER-TYPESCRIPT-API ##\n * ## ##\n * ## AUTHOR: acacode ##\n * ## SOURCE: https://github.com/acacode/swagger-typescript-api ##\n * ---------------------------------------------------------------\n */\n\n// @ts-nocheck\n\nimport { Service } from \"./Service\";\nimport { ClassifyDc, GetClassifyDc, GetStatisticsDc, GetSumOfProductDc, StatisticsDc } from \"./data-contracts\";\n\n/**\n * @title Spatial Processing Core API\n * @version 1.5.1.0\n * @baseUrl /sp\n */\nexport class StatisticService extends Service {\n /**\n * No description\n *\n * @tags Statistic\n * @name StatisticsDb\n * @operationId StatisticController_StatisticsDb\n * @summary Calculates statistics for layer attribute.\n * @request POST:/statistics\n * @secure\n * @response `200` OK\n */\n statisticsDb(data: GetStatisticsDc) {\n return this.http.post(`/statistics`, data).json<StatisticsDc>();\n }\n /**\n * No description\n *\n * @tags Statistic\n * @name Classify\n * @operationId StatisticController_Classify\n * @summary Returns the classified attribute values that correspond to the given number of classes and given condition.\n * @request POST:/statistics/classify\n * @secure\n * @response `200` OK\n */\n classify(data: GetClassifyDc) {\n return this.http.post(`/statistics/classify`, data).json<ClassifyDc>();\n }\n /**\n * No description\n *\n * @tags Statistic\n * @name SumOfProduct\n * @operationId StatisticController_SumOfProduct\n * @summary Sum of product.\n * @request POST:/statistics/sumOfProduct\n * @secure\n * @response `200` OK\n */\n sumOfProduct(data: GetSumOfProductDc) {\n return this.http.post(`/statistics/sumOfProduct`, data).json<StatisticsDc>();\n }\n}\n","import { StatisticService } from \"../__generated__/StatisticService\";\r\n\r\nexport class Statistic extends StatisticService {}\r\n","/* eslint-disable */\n/* tslint:disable */\n/*\n * ---------------------------------------------------------------\n * ## THIS FILE WAS GENERATED VIA SWAGGER-TYPESCRIPT-API ##\n * ## ##\n * ## AUTHOR: acacode ##\n * ## SOURCE: https://github.com/acacode/swagger-typescript-api ##\n * ---------------------------------------------------------------\n */\n\n// @ts-nocheck\n\nimport { Service } from \"./Service\";\nimport {\n BulkOperationResultDc,\n CreateViewFromQueryDc,\n CreateViewFromQueryLayerDc,\n DeleteResourcesParams4,\n DeleteTableDataParams,\n DetailedTableInfoDc,\n GetTableDataParams,\n GetTablesInfoParams,\n MapTableInfoDc,\n MapTableParams,\n PagedBulkFeaturesListDc,\n PagedFeaturesListDc,\n PagedListFeatureDc,\n ResourceDependenciesDc,\n UpdateTableDataParams,\n UpdateTableDataPayload,\n UpdateTableDc,\n WriteTableDataPayload,\n} from \"./data-contracts\";\n\n/**\n * @title Spatial Processing Core API\n * @version 1.5.1.0\n * @baseUrl /sp\n */\nexport class TablesService extends Service {\n /**\n * No description\n *\n * @tags Tables\n * @name CreateTable\n * @operationId TablesController_CreateTable\n * @summary Creates a new table.\n * @request POST:/tables\n * @secure\n * @response `200` OK\n */\n createTable(data: DetailedTableInfoDc) {\n return this.http.post(`/tables`, data).json<DetailedTableInfoDc>();\n }\n /**\n * No description\n *\n * @tags Tables\n * @name DeleteResources\n * @operationId TablesController_DeleteResources\n * @summary Bulk delete resources.\n * @request DELETE:/tables\n * @secure\n * @response `200` OK\n */\n deleteResources(query: DeleteResourcesParams4) {\n return this.http.delete(`/tables`, null, query).json<BulkOperationResultDc[]>();\n }\n /**\n * No description\n *\n * @tags Tables\n * @name UpdateTable\n * @operationId TablesController_UpdateTable\n * @summary Update exists table.\n * @request PATCH:/tables/{name}\n * @secure\n * @response `200` OK\n */\n updateTable(name: string, data: UpdateTableDc) {\n return this.http.patch(`/tables/${name}`, data).json<DetailedTableInfoDc>();\n }\n /**\n * No description\n *\n * @tags Tables\n * @name PutTable\n * @operationId TablesController_PutTable\n * @summary Override exists table.\n * @request PUT:/tables/{name}\n * @secure\n * @response `200` OK\n */\n putTable(name: string, data: DetailedTableInfoDc) {\n return this.http.put(`/tables/${name}`, data).json<DetailedTableInfoDc>();\n }\n /**\n * No description\n *\n * @tags Tables\n * @name GetTableInfo\n * @operationId TablesController_GetTableInfo\n * @summary Returns the table information and schema.\n * @request GET:/tables/{name}\n * @secure\n * @response `200` OK\n */\n getTableInfo(name: string) {\n return this.http.get(`/tables/${name}`).json<DetailedTableInfoDc>();\n }\n /**\n * No description\n *\n * @tags Tables\n * @name DeleteResource\n * @operationId TablesController_DeleteResource\n * @summary Deletes resource.\n * @request DELETE:/tables/{name}\n * @secure\n * @response `200` OK\n */\n deleteResource(name: string) {\n return this.http.delete(`/tables/${name}`, null).then(() => {});\n }\n /**\n * No description\n *\n * @tags Tables\n * @name GetTablesInfo\n * @operationId TablesController_GetTablesInfoAsync\n * @summary Returns the tables information.\n * @request GET:/tables/batchInfo\n * @secure\n * @response `200` OK\n */\n getTablesInfo(query: GetTablesInfoParams) {\n return this.http.get(`/tables/batchInfo`, query).json<DetailedTableInfoDc[]>();\n }\n /**\n * No description\n *\n * @tags Tables\n * @name GetTableData\n * @operationId TablesController_GetTableData\n * @summary Retrieves the data from the table.\n * @request GET:/tables/{name}/data\n * @secure\n * @response `200` OK\n */\n getTableData({ name, ...query }: GetTableDataParams) {\n return this.http\n .get(`/tables/${name}/data`, query)\n .json<PagedListFeatureDc | PagedFeaturesListDc | PagedBulkFeaturesListDc>();\n }\n /**\n * No description\n *\n * @tags Tables\n * @name WriteTableData\n * @operationId TablesController_WriteTableData\n * @summary Adds the data to the table.\n * @request POST:/tables/{name}/data\n * @secure\n * @response `200` OK\n */\n writeTableData(name: string, data: WriteTableDataPayload) {\n return this.http.post(`/tables/${name}/data`, data).then(() => {});\n }\n /**\n * No description\n *\n * @tags Tables\n * @name UpdateTableData\n * @operationId TablesController_UpdateTableData\n * @summary Updates the data in the table.\n * @request PATCH:/tables/{name}/data\n * @secure\n * @response `200` OK\n */\n updateTableData({ name, ...query }: UpdateTableDataParams, data: UpdateTableDataPayload) {\n return this.http.patch(`/tables/${name}/data`, data, query).then(() => {});\n }\n /**\n * No description\n *\n * @tags Tables\n * @name DeleteTableData\n * @operationId TablesController_DeleteTableData\n * @summary Delete data rows from the table.\n * @request DELETE:/tables/{name}/data\n * @secure\n * @response `200` OK\n */\n deleteTableData({ name, ...query }: DeleteTableDataParams) {\n return this.http.delete(`/tables/${name}/data`, null, query).then(() => {});\n }\n /**\n * No description\n *\n * @tags Tables\n * @name MapTable\n * @operationId TablesController_MapTable\n * @summary Map table to exists table.\n * @request POST:/tables/map-table\n * @secure\n * @response `200` OK\n */\n mapTable(query: MapTableParams, data: MapTableInfoDc) {\n return this.http.post(`/tables/map-table`, data, query).json<DetailedTableInfoDc>();\n }\n /**\n * No description\n *\n * @tags Tables\n * @name UnmapTable\n * @operationId TablesController_UnmapTableAsync\n * @summary Unmap datasource from table.\n * @request DELETE:/tables/map-table/{name}\n * @secure\n * @response `200` OK\n */\n unmapTable(name: string) {\n return this.http.delete(`/tables/map-table/${name}`, null).then(() => {});\n }\n /**\n * No description\n *\n * @tags Tables\n * @name CreateViewFromQueryLayer\n * @operationId TablesController_CreateViewFromQueryLayer\n * @summary Creates a new view from query layer.\n * @request POST:/tables/fromLayer\n * @secure\n * @response `200` OK\n */\n createViewFromQueryLayer(data: CreateViewFromQueryLayerDc) {\n return this.http.post(`/tables/fromLayer`, data).json<DetailedTableInfoDc>();\n }\n /**\n * No description\n *\n * @tags Tables\n * @name CreateViewFromQuery\n * @operationId TablesController_CreateViewFromQuery\n * @summary Creates a new view from query.\n * @request POST:/tables/fromQuery\n * @secure\n * @response `200` OK\n */\n createViewFromQuery(data: CreateViewFromQueryDc) {\n return this.http.post(`/tables/fromQuery`, data).json<DetailedTableInfoDc>();\n }\n /**\n * No description\n *\n * @tags Tables\n * @name IsExists\n * @operationId TablesController_IsExistsAsync\n * @summary Check is resource exists.\n * @request GET:/tables/{name}/exists\n * @secure\n * @response `200` OK\n */\n isExists(name: string) {\n return this.http.get(`/tables/${name}/exists`).then(() => {});\n }\n /**\n * No description\n *\n * @tags Tables\n * @name GetResourceDependencies\n * @operationId TablesController_GetResourceDependencies\n * @summary Get resource dependencies.\n * @request GET:/tables/{name}/dependencies\n * @secure\n * @response `200` OK\n */\n getResourceDependencies(name: string) {\n return this.http.get(`/tables/${name}/dependencies`).json<ResourceDependenciesDc>();\n }\n /**\n * No description\n *\n * @tags Tables\n * @name GetResourceReferences\n * @operationId TablesController_GetResourceReferences\n * @summary Returns the resource dependency information.\n * @request GET:/tables/{name}/references\n * @secure\n * @response `200` OK\n */\n getResourceReferences(name: string) {\n return this.http.get(`/tables/${name}/references`).json<ResourceDependenciesDc>();\n }\n}\n","import { promiseAllIgnoreErrors } from \"../utils\";\r\n\r\nimport {\r\n DetailedTableInfoDc,\r\n TableInfoDc,\r\n UpdateTableDc,\r\n} from \"../__generated__/data-contracts\";\r\n\r\nimport { TablesService } from \"../__generated__/TablesService\";\r\nimport { ResourceService } from \"../interfaces/ResourceService\";\r\n\r\nexport class Tables extends TablesService implements ResourceService {\r\n getTableInfos(tables: string[]): Promise<TableInfoDc[]> {\r\n return promiseAllIgnoreErrors(\r\n tables.map(table => this.getTableInfo(table)),\r\n );\r\n }\r\n\r\n findOne(name: string): Promise<DetailedTableInfoDc> {\r\n return this.getTableInfo(name) as Promise<DetailedTableInfoDc>;\r\n }\r\n\r\n create(resource: DetailedTableInfoDc) {\r\n return this.createTable(resource);\r\n }\r\n\r\n update(table: UpdateTableDc) {\r\n return this.updateTable(table.name, table);\r\n }\r\n\r\n async remove(name: string) {\r\n await this.deleteResource(name);\r\n\r\n return name;\r\n }\r\n}\r\n","/* eslint-disable */\n/* tslint:disable */\n/*\n * ---------------------------------------------------------------\n * ## THIS FILE WAS GENERATED VIA SWAGGER-TYPESCRIPT-API ##\n * ## ##\n * ## AUTHOR: acacode ##\n * ## SOURCE: https://github.com/acacode/swagger-typescript-api ##\n * ---------------------------------------------------------------\n */\n\n// @ts-nocheck\n\nimport { Service } from \"./Service\";\n\n/**\n * @title Spatial Processing Core API\n * @version 1.5.1.0\n * @baseUrl /sp\n */\nexport class ToolsService extends Service {}\n","import { ToolsService } from \"../__generated__/ToolsService\";\r\n\r\nexport class Tools extends ToolsService {}\r\n","/* eslint-disable */\n/* tslint:disable */\n/*\n * ---------------------------------------------------------------\n * ## THIS FILE WAS GENERATED VIA SWAGGER-TYPESCRIPT-API ##\n * ## ##\n * ## AUTHOR: acacode ##\n * ## SOURCE: https://github.com/acacode/swagger-typescript-api ##\n * ---------------------------------------------------------------\n */\n\n// @ts-nocheck\n\nimport { Service } from \"./Service\";\nimport { GetVectorTileParams2 } from \"./data-contracts\";\n\n/**\n * @title Spatial Processing Core API\n * @version 1.5.1.0\n * @baseUrl /sp\n */\nexport class VectorTileService extends Service {\n /**\n * No description\n *\n * @tags VectorTileService\n * @name GetVectorTile\n * @operationId VectorTileServiceController_GetVectorTile\n * @summary Get vector tile from visible project layers or single layer.\n * @request GET:/vt/{name}/{z}/{x}/{y}.pbf\n * @secure\n * @response `200` OK\n */\n getVectorTile({ name, z, x, y, ...query }: GetVectorTileParams2) {\n return this.http.get(`/vt/${name}/{z}/{x}/{y}.pbf`, query).then(() => {});\n }\n}\n","import { VectorTileService } from \"../__generated__/VectorTileService\";\r\n\r\nexport class VectorTiles extends VectorTileService {}\r\n","// @ts-nocheck\n\ninterface BrandedType<T> {\n __type__?: T;\n}\n\n/**\n * Access control list for a security object.\n */\nexport interface AccessControlListDc {\n /** All available permissions list. */\n data?: RolePermissionDc[];\n}\n\n/**\n* \n\nShared\n\nPublic\n\nMy\n*/\nexport enum AccessMode {\n Shared = \"Shared\",\n Public = \"Public\",\n My = \"My\",\n}\n\n/**\n * Active worker data contract.\n */\nexport interface ActiveWorkerDc {\n /**\n * Идентификатор.\n * @format uuid\n */\n id?: string;\n /** Worker type. */\n type?: string;\n /** Worker tasks. */\n activeWorkerTasks?: ActiveWorkerTaskDc[];\n /**\n * Last update status date.\n * @format date-time\n */\n lastUpdateStatusDate?: string;\n /** IsInError. */\n isInError?: boolean;\n /** IsInTimeout. */\n isInTimeout?: boolean;\n}\n\n/**\n * Active worker task data contract.\n */\nexport interface ActiveWorkerTaskDc {\n /** Task type. */\n type?: string;\n /**\n *\n *\n * Task\n *\n * Rest\n *\n * Both\n */\n methodCallType?: WorkerMethodType;\n /** SettingsFields. */\n settingsFields?: WorkerSettingsFieldDc[];\n}\n\n/**\n * Additional data source connection data contract.\n */\nexport interface AdditionalDataSourceConnectionDc {\n /**\n *\n *\n * Json\n *\n * Csv\n *\n * Orc\n *\n * Parquet\n *\n * Jdbc\n */\n type?: DataSourceConnectionType;\n /** Temp view name. */\n name?: string;\n /** Connection string. */\n connectionString?: string;\n}\n\n/**\n * Describes data contract of aggregation result.\n */\nexport interface AggregationDataResultDc {\n /** Aggregation groups. */\n attributes: Record<string, any>;\n /**\n * Aggregation attribute name.\n * @minLength 1\n */\n aggregationAttributeName: string;\n /**\n *\n *\n * None\n *\n * Array\n *\n * Min\n *\n * Max\n *\n * Avg\n *\n * Sum\n *\n * Extent\n *\n * H3\n *\n * Count\n *\n * TotalCount\n *\n * DistinctCount\n *\n * First\n *\n * Last\n *\n * Median\n *\n * Mod\n *\n * StdDeviation\n *\n * SumOfProduct\n *\n * OnlyValue\n *\n * WeightedAvg\n *\n * DensityIndicators\n *\n * DividedSum\n */\n aggregationFunctionName: AggregationFunction;\n /** Aggregation result value. */\n value: any;\n}\n\n/**\n* \n\nNone\n\nArray\n\nMin\n\nMax\n\nAvg\n\nSum\n\nExtent\n\nH3\n\nCount\n\nTotalCount\n\nDistinctCount\n\nFirst\n\nLast\n\nMedian\n\nMod\n\nStdDeviation\n\nSumOfProduct\n\nOnlyValue\n\nWeightedAvg\n\nDensityIndicators\n\nDividedSum\n*/\nexport enum AggregationFunction {\n None = \"None\",\n Array = \"Array\",\n Min = \"Min\",\n Max = \"Max\",\n Avg = \"Avg\",\n Sum = \"Sum\",\n Extent = \"Extent\",\n H3 = \"H3\",\n Count = \"Count\",\n TotalCount = \"TotalCount\",\n DistinctCount = \"DistinctCount\",\n First = \"First\",\n Last = \"Last\",\n Median = \"Median\",\n Mod = \"Mod\",\n StdDeviation = \"StdDeviation\",\n SumOfProduct = \"SumOfProduct\",\n OnlyValue = \"OnlyValue\",\n WeightedAvg = \"WeightedAvg\",\n DensityIndicators = \"DensityIndicators\",\n DividedSum = \"DividedSum\",\n}\n\n/**\n * S3 data source settings.\n */\nexport type ArcGisDataSourceDc = DataSourceDc & {\n /**\n *\n *\n * Postgres\n *\n * Trino\n *\n * S3\n *\n * GisServer\n *\n * Spark\n *\n * Archive\n */\n type?: DataSourceType;\n /** Endpoint. */\n serviceUrl?: string | null;\n /** Endpoint. */\n params?: Record<string, string | null>;\n /** Endpoint. */\n headers?: Record<string, string | null>;\n};\n\n/**\n * S3 data source info.\n */\nexport type ArcGisDataSourceInfoDc = DataSourceInfoDc & {\n /** Service url. */\n serviceUrl?: string | null;\n};\n\n/**\n * Archive calendar response.\n */\nexport interface ArchiveCalendarDc {\n /** Each value represents the percentage of time covered by archive records within the corresponding day. */\n calendar?: ArchiveCalendarItemDc[];\n /** Check if request success. */\n success?: boolean;\n}\n\n/**\n * Archive calendar item.\n */\nexport interface ArchiveCalendarItemDc {\n /** Date. */\n date?: string;\n /**\n * Daily coverage values.\n * @format int32\n */\n coverage?: number;\n}\n\n/**\n * Archive timeline request.\n */\nexport interface ArchiveTimelineDc {\n /** A list of daily coverage values. */\n timeline?: ArchiveTimelineItemDc[];\n /** Check if request success. */\n success?: boolean;\n}\n\n/**\n * Represents the percentage of time covered by archive records within the corresponding day.\n */\nexport interface ArchiveTimelineItemDc {\n /**\n * Corresponding day.\n * @format date-time\n */\n startTime?: string;\n /**\n * Percentage of time covered by archive record.\n * @format int32\n */\n duration?: number;\n}\n\n/**\n * Configuration of an attribute in a feature layer.\n */\nexport interface AttributeConfigurationDc {\n /**\n * The name of the attribute.\n * @minLength 1\n */\n attributeName: string;\n /** The name of the column in the data table that holds the attribute values. */\n columnName?: string;\n /** Human-friendly name for the attribute. */\n alias?: string;\n /** Description for the attribute. */\n description?: string;\n /**\n *\n *\n * None\n *\n * Image\n *\n * PkkCode\n *\n * Attachments\n */\n subType?: StringSubType;\n /** If set to false, editing of the attribute value will be prohibited. */\n isEditable?: boolean;\n /** If false, attribute will not be returned in feature query. */\n isDisplayed?: boolean;\n /**\n *\n *\n * None\n *\n * Array\n *\n * Min\n *\n * Max\n *\n * Avg\n *\n * Sum\n *\n * Extent\n *\n * H3\n *\n * Count\n *\n * TotalCount\n *\n * DistinctCount\n *\n * First\n *\n * Last\n *\n * Median\n *\n * Mod\n *\n * StdDeviation\n *\n * SumOfProduct\n *\n * OnlyValue\n *\n * WeightedAvg\n *\n * DensityIndicators\n *\n * DividedSum\n */\n aggregation?: AggregationFunction;\n /** Eql expression. Provides dynamic calculated value of the attribute. */\n expression?: string;\n /** Sets attribute format settings. */\n stringFormat?: AttributeFormatDc;\n /** Name of the table. */\n tableName?: string;\n /** Client data storage. Storage isn't used by server. */\n clientData?: any;\n /** Id of table given attribute is referenced. */\n referenceId?: string;\n /** A set of layer references. */\n layerReferenceId?: string[];\n /**\n *\n *\n * None\n *\n * SelectFromHandBook\n *\n * SelectFromRange\n *\n * ViewHandBook\n */\n attributeSelectorType?: AttributeSelectorType;\n /** Values range. */\n ranges?: ValuesRange[];\n /** Information about an attribute icon. */\n icon?: AttributeIconDc;\n}\n\n/**\n * Information about an attribute.\n */\nexport interface AttributeDefinitionDc {\n /**\n *\n *\n * Unknown\n *\n * String\n *\n * Int32\n *\n * Int64\n *\n * Double\n *\n * DateTime\n *\n * Boolean\n *\n * Point\n *\n * LineString\n *\n * Polygon\n *\n * Multipoint\n *\n * Polyline\n *\n * H3Index\n *\n * Json\n *\n * MultiPolygon\n *\n * GeometryCollection\n */\n type: AttributeType;\n /** Alias of the attribute. */\n alias?: string;\n /** Description of the attribute. */\n description?: string;\n /**\n * If false, the attribute must have non-null value.\n * @default false\n */\n isNullable?: boolean;\n /**\n * Whether the value of the attribute can be edited after the entry was created.\n * @default true\n */\n isEditable?: boolean;\n /**\n * If false, attribute will not be returned in feature query.\n * @default true\n */\n isDisplayed?: boolean;\n /**\n *\n *\n * None\n *\n * Image\n *\n * PkkCode\n *\n * Attachments\n */\n subType?: StringSubType;\n /** Ensures that the data in the attribute is unique across all rows in a table. */\n isUnique?: boolean;\n /** Sets true if attribute calculate on the fly. */\n isCalculated?: boolean;\n /** Provides attributes format definition settings. */\n stringFormat?: AttributeFormatDefinitionDc;\n /**\n * Spatial reference identifier type in geometry type column.\n * @format int32\n */\n srId?: number;\n /** Information about an attribute icon. */\n icon?: AttributeIconDc;\n}\n\n/**\n * Information about an attribute distinct.\n */\nexport interface AttributeDistinctDc {\n /**\n * Attribute value.\n * @minLength 1\n */\n value: string;\n /**\n * Count of this attribute value at table.\n * @format int64\n */\n count: number;\n}\n\n/**\n * Information about an attribute distincts.\n */\nexport interface AttributeDistinctsDc {\n /** Attribute distincts. */\n distincts: AttributeDistinctDc[];\n}\n\n/**\n * Sets attribute format settings.\n */\nexport interface AttributeFormatDc {\n /**\n * Sets number scaling factor.\n *\n *\n * In case, source value is 1 000 000 and scaling factor is 0.001 formatted value to be in hundred - 1000.\n * @format float\n */\n scalingFactor?: number;\n /** Appends text label to value. */\n unitsLabel?: string;\n /**\n *\n *\n * Template to format attribute value.\n *\n *\n *\n * Format numeric: http://docs.microsoft.com/en-us/dotnet/standard/base-types/custom-numeric-format-strings .\n *\n *\n *\n * Format date and time: http://docs.microsoft.com/en-us/dotnet/standard/base-types/custom-date-and-time-format-strings .\n *\n * <para></para>\n * <example>\n * `#,#` - Causes value to be split into groups\n * ```\n * 1234567890 -> 1 234 567 890\n * ````.00` - Causes the value to be rounded.\n * ```\n * 123.446 -> 123.45\n * ````#,#.00` - Causes value to be split into groups and rounded.\n * ```\n * 1234567.4563 - > 1 234 567.46\n * ```</example>\n */\n format?: string;\n /**\n * Set formatting culture. If not set, default culture is Current.\n * Receive formatted value in different culture.\n *\n *\n * Current culture is culture specified by default on machine (en-US, ru-RU).\n * Invariant is culture-independent culture.\n * Specific cultures: ru-RU, en-US.\n * If specific culture has invalid name 400 error returns.\n */\n culture?: string;\n /** Split digit in groups. */\n splitDigitGroup?: boolean;\n /**\n * Rounds digit.\n * @format int32\n */\n rounding?: number;\n}\n\n/**\n * Provides attributes format definition settings.\n */\nexport interface AttributeFormatDefinitionDc {\n /**\n * Gets number scaling factor.\n * @format float\n */\n scalingFactor?: number;\n /** Gets appended value text label. */\n unitsLabel?: string;\n /** Gets template to format attribute value. */\n format?: string;\n /** Gets formatting culture. Default current. */\n culture?: string;\n /** Split digit in groups. */\n splitDigitGroup?: boolean;\n /**\n * Rounds digit.\n * @format int32\n */\n rounding?: number;\n}\n\n/**\n * Information about an attribute icon.\n */\nexport interface AttributeIconDc {\n /**\n *\n *\n * Unknown\n *\n * Icon\n *\n * PNG\n *\n * SVG\n */\n type?: AttributeIconType;\n /** Icon name from EverGIS icon library. */\n iconName?: string;\n /** URL. */\n url?: string;\n /** Icon resource id. */\n resourceId?: string;\n}\n\n/**\n* \n\nUnknown\n\nIcon\n\nPNG\n\nSVG\n*/\nexport enum AttributeIconType {\n Unknown = \"Unknown\",\n Icon = \"Icon\",\n PNG = \"PNG\",\n SVG = \"SVG\",\n}\n\n/**\n* \n\nNone\n\nSelectFromHandBook\n\nSelectFromRange\n\nViewHandBook\n*/\nexport enum AttributeSelectorType {\n None = \"None\",\n SelectFromHandBook = \"SelectFromHandBook\",\n SelectFromRange = \"SelectFromRange\",\n ViewHandBook = \"ViewHandBook\",\n}\n\n/**\n* \n\nUnknown\n\nString\n\nInt32\n\nInt64\n\nDouble\n\nDateTime\n\nBoolean\n\nPoint\n\nLineString\n\nPolygon\n\nMultipoint\n\nPolyline\n\nH3Index\n\nJson\n\nMultiPolygon\n\nGeometryCollection\n*/\nexport enum AttributeType {\n Unknown = \"Unknown\",\n String = \"String\",\n Int32 = \"Int32\",\n Int64 = \"Int64\",\n Double = \"Double\",\n DateTime = \"DateTime\",\n Boolean = \"Boolean\",\n Point = \"Point\",\n LineString = \"LineString\",\n Polygon = \"Polygon\",\n Multipoint = \"Multipoint\",\n Polyline = \"Polyline\",\n H3Index = \"H3Index\",\n Json = \"Json\",\n MultiPolygon = \"MultiPolygon\",\n GeometryCollection = \"GeometryCollection\",\n}\n\n/**\n * Configuration of the attribute set in a feature layer.\n */\nexport interface AttributesConfigurationDc {\n /**\n * The name of the attribute that is used for identifying features.\n * @minLength 1\n */\n idAttribute: string;\n /** The name of the attribute that is used for setting feature name (optional). */\n titleAttribute?: string;\n /** The name of the attribute that contains the feature geometry. */\n geometryAttribute?: string;\n /** The name of the table in data source service, that contains the data for this layer. */\n tableName?: string;\n /** Configuration of the attributes of the layer. */\n attributes?: (AttributeConfigurationDc | EqlAttributeConfigurationDc)[];\n /** Configuration of layer references. */\n layerReferences?: LayerReferenceConfigurationDc[];\n /** Values ranges. */\n valuesRange?: ValuesRangeDc[];\n}\n\n/**\n* \n\nauthorization_code\n\nrefresh_token\n*/\nexport enum AuthorizationGrant {\n AuthorizationCode = \"authorization_code\",\n RefreshToken = \"refresh_token\",\n}\n\n/**\n * Availiable values data contract.\n */\nexport interface AvailiableValuesDc {\n /** Layer name. */\n layerName?: string;\n /** Dictionary of availiable parameters values. */\n values?: Record<string, ValueDc[] | null>;\n}\n\n/**\n * Provides resources with their acl.\n */\nexport interface BatchResourcesAclDc {\n /** A set of layers acl. */\n layers?: ResourceAclDc[];\n /** A set of tables acl. */\n tables?: ResourceAclDc[];\n /** A set of projects acl. */\n projects?: ResourceAclDc[];\n}\n\n/**\n * The class describes data contract of bookmark at the map.\n */\nexport interface BookmarkDc {\n /** The title of the bookmark. */\n title?: string;\n /** The position at the map. */\n position?: PositionDc;\n /**\n * Resolution of the map.\n * @format double\n */\n resolution?: number;\n /** Map place preview. */\n image?: string;\n}\n\n/**\n * Get bulk extents data contract.\n */\nexport interface BulkExtentsDc {\n /** Envelope geometry. */\n overall?: EnvelopeDc;\n /** Extent per layer. */\n extents?: Record<string, EnvelopeDc>;\n}\n\n/**\n * Get bulk filtered features count data contract.\n */\nexport interface BulkFilteredFeaturesCountDc {\n /** Extent per layer. */\n counts?: Record<string, number>;\n}\n\n/**\n * Provides set resources bulk operation status.\n */\nexport interface BulkOperationResultDc {\n /** Name of the resource. */\n resourceName?: string;\n /** Error while perform operation. */\n error?: string;\n /** Sets true. */\n isSuccess?: boolean;\n}\n\n/**\n * Camera item.\n */\nexport interface CameraDc {\n /** Id of the camera. */\n id?: string;\n /** Name of the camera. */\n name?: string;\n /** Checks if camera online. */\n online?: boolean;\n}\n\n/**\n * Cameras list response.\n */\nexport interface CameraListDc {\n /** The retrieved items in the list. */\n items?: CameraDc[];\n /** Check if request success. */\n success?: boolean;\n}\n\n/**\n * Catalog configuration data contract.\n */\nexport interface CatalogConfigurationDc {\n /** Configuration id. */\n id?: string;\n /**\n *\n *\n * Default\n *\n * DevConfiguration\n */\n type?: ConfigurationType;\n /** Configuration data. */\n configuration?: any;\n /**\n * Updated at.\n * @format date-time\n */\n updatedAt?: string;\n}\n\n/**\n * Resource catalog item.\n */\nexport interface CatalogResourceDc {\n /** Resource id. */\n resourceId?: string;\n /** Resource id. */\n targetResourceId?: string;\n /** System name. */\n systemName?: string;\n /** Parent resource id. */\n parentId?: string;\n /**\n *\n *\n * Directory\n *\n * Map\n *\n * Layer\n *\n * Table\n *\n * File\n *\n * TaskPrototype\n *\n * DataSource\n */\n type?: CatalogResourceType;\n /** Resource subtype. */\n subtype?: string;\n /** Geometry type. */\n geometryType?: string;\n /** Path to the resource. */\n name?: string;\n /** Description of the resource. */\n description?: string;\n /**\n * Resource size.\n * @format int64\n */\n size?: number;\n /** Content type. */\n contentType?: string;\n /** Preview. */\n preview?: string;\n /** Check if resource is temporary. */\n isTemporary?: boolean;\n /** Check if resource is system. */\n isSystem?: boolean;\n /** Check if resource is symlink. */\n isSymlink?: boolean;\n /** Owner of the resource. */\n owner?: string;\n /** Resource path. */\n path?: string;\n /**\n * Updated at.\n * @format date-time\n */\n updatedAt?: string;\n /**\n * Created at.\n * @format date-time\n */\n createdAt?: string;\n /** Resource tags. */\n tags?: string[];\n /**\n *\n *\n * none\n *\n * configure\n *\n * write\n *\n * read\n *\n * read,configure\n *\n * read,write\n *\n * read,write,configure\n */\n permissions?: Permissions;\n /** Table schema. */\n schema?: string;\n /**\n * Spatial reference id. Nothing if geometry type is mixed.\n * @format int32\n */\n srid?: number;\n /** True if resource is observable. */\n isObservable?: boolean;\n /** Resource icon. */\n icon?: string;\n}\n\n/**\n* \n\nDirectory\n\nMap\n\nLayer\n\nTable\n\nFile\n\nTaskPrototype\n\nDataSource\n*/\nexport enum CatalogResourceType {\n Directory = \"Directory\",\n Map = \"Map\",\n Layer = \"Layer\",\n Table = \"Table\",\n File = \"File\",\n TaskPrototype = \"TaskPrototype\",\n DataSource = \"DataSource\",\n}\n\n/**\n* \n\nnone\n\nnaturalBreaks\n\nequalInterval\n\nquantile\n\nunique\n\nstep\n*/\nexport enum ClassificationType {\n None = \"none\",\n NaturalBreaks = \"naturalBreaks\",\n EqualInterval = \"equalInterval\",\n Quantile = \"quantile\",\n Unique = \"unique\",\n Step = \"step\",\n}\n\n/**\n* \n\ndecimal\n\ndateTime\n\ntext\n*/\nexport enum ClassifyAttributeType {\n Decimal = \"decimal\",\n DateTime = \"dateTime\",\n Text = \"text\",\n}\n\n/**\n * Classification result.\n */\nexport interface ClassifyDc {\n /** Classification result. */\n classifyResult: ClassifyResultObject[];\n /**\n * Type.\n * @minLength 1\n */\n type: string;\n}\n\n/**\n * Classification result.\n */\nexport interface ClassifyResultObject {\n /** Value. */\n value?: any;\n /** Count. */\n count?: any;\n}\n\n/**\n * Tile geometry clipping configuration data contract.\n */\nexport interface ClippingInfoDc {\n /** Tile geometry clipping configuration information by scale. */\n scaleItems?: Record<string, TileGeometryClippingInfoDc>;\n}\n\n/**\n * Description of a table column.\n */\nexport interface ColumnDescriptionDc {\n /**\n * Column name.\n * @minLength 1\n */\n name: string;\n /** Default value, if column is not nullable. */\n defaultValue?: any;\n /**\n *\n *\n * Unknown\n *\n * String\n *\n * Int32\n *\n * Int64\n *\n * Double\n *\n * DateTime\n *\n * Boolean\n *\n * Point\n *\n * LineString\n *\n * Polygon\n *\n * Multipoint\n *\n * Polyline\n *\n * H3Index\n *\n * Json\n *\n * MultiPolygon\n *\n * GeometryCollection\n */\n type: AttributeType;\n /**\n * Columns value max length.\n * @format int32\n */\n maxLength?: number;\n /**\n * Allows column contains null values.\n * @default true\n */\n isNullable?: boolean;\n /**\n * Allows column with type Int32 or Int64 be autoincrement (SERIAL, BIGSERIAL).\n * @default false\n */\n autoincrement?: boolean;\n /**\n * Spatial reference identifier type in geometry type column.\n * @format int32\n */\n srId?: number;\n /** Ensures that the data in the column is unique across all rows in a table. */\n isUnique?: boolean;\n /** If sets true, index will be configured. */\n hasIndex?: boolean;\n}\n\n/**\n * Get configuration information.\n */\nexport interface ConfigDc {\n /** Gets or sets config description. */\n description?: string;\n /** Gets or sets config url path. */\n urlPath?: string;\n}\n\n/**\n* \n\nUnknown\n\nSerializeError\n\nInvalidDataService\n\nInvalidConfiguration\n\nInvalidDataServiceName\n\nInvalidTableName\n\nInvalidLayerName\n\nResourceNotFound\n\nInvalidCondition\n\nInvalidAttributes\n\nInvalidIdAttribute\n\nInvalidGeometryAttribute\n\nInvalidGeometryAttributeType\n\nInvalidColumnName\n\nInvalidIdColumnSettings\n\nColumnNotExistsInTable\n\nInvalidStyle\n\nInvalidLayerType\n\nColumnLoadingError\n\nInvalidAttributeFormat\n\nDataSourceNotFound\n\nDuplicateColumns\n\nDuplicateAttributes\n\nTableWithoutColumns\n\nInvalidTableReferenceConfiguration\n*/\nexport enum ConfigurationErrorEnum {\n Unknown = \"Unknown\",\n SerializeError = \"SerializeError\",\n InvalidDataService = \"InvalidDataService\",\n InvalidConfiguration = \"InvalidConfiguration\",\n InvalidDataServiceName = \"InvalidDataServiceName\",\n InvalidTableName = \"InvalidTableName\",\n InvalidLayerName = \"InvalidLayerName\",\n ResourceNotFound = \"ResourceNotFound\",\n InvalidCondition = \"InvalidCondition\",\n InvalidAttributes = \"InvalidAttributes\",\n InvalidIdAttribute = \"InvalidIdAttribute\",\n InvalidGeometryAttribute = \"InvalidGeometryAttribute\",\n InvalidGeometryAttributeType = \"InvalidGeometryAttributeType\",\n InvalidColumnName = \"InvalidColumnName\",\n InvalidIdColumnSettings = \"InvalidIdColumnSettings\",\n ColumnNotExistsInTable = \"ColumnNotExistsInTable\",\n InvalidStyle = \"InvalidStyle\",\n InvalidLayerType = \"InvalidLayerType\",\n ColumnLoadingError = \"ColumnLoadingError\",\n InvalidAttributeFormat = \"InvalidAttributeFormat\",\n DataSourceNotFound = \"DataSourceNotFound\",\n DuplicateColumns = \"DuplicateColumns\",\n DuplicateAttributes = \"DuplicateAttributes\",\n TableWithoutColumns = \"TableWithoutColumns\",\n InvalidTableReferenceConfiguration = \"InvalidTableReferenceConfiguration\",\n}\n\n/**\n* \n\nDefault\n\nDevConfiguration\n*/\nexport enum ConfigurationType {\n Default = \"Default\",\n DevConfiguration = \"DevConfiguration\",\n}\n\n/**\n* \n\nSkip\n\nOverwrite\n\nGenerateUnique\n\nThrowError\n*/\nexport enum ConflictResolutionStrategy {\n Skip = \"Skip\",\n Overwrite = \"Overwrite\",\n GenerateUnique = \"GenerateUnique\",\n ThrowError = \"ThrowError\",\n}\n\n/**\n * Describes resource to copy.\n */\nexport interface CopyResourceDc {\n /**\n * Name of resource to copy.\n * @minLength 1\n */\n name: string;\n /**\n *\n *\n * Unknown\n *\n * table\n *\n * layer\n *\n * project\n *\n * file\n *\n * feature\n *\n * tag\n *\n * datasource\n */\n type: ResourceType;\n /**\n * Resource copy name.\n * @minLength 1\n */\n copyName: string;\n /**\n * Resource copy alias.\n * @minLength 1\n */\n copyAlias: string;\n /** Resource copy description. */\n copyDescription?: string;\n /** Resource's dependencies to copy with. */\n copyWith?: string[];\n}\n\n/**\n * Describes copy operation result data contract.\n */\nexport interface CopyResourceResultDc {\n /**\n * Name of the resource.\n * @minLength 1\n */\n name: string;\n /**\n *\n *\n * Unknown\n *\n * table\n *\n * layer\n *\n * project\n *\n * file\n *\n * feature\n *\n * tag\n *\n * datasource\n */\n type: ResourceType;\n /** Name of resource to copy. */\n copyName?: string;\n /** Sets true if copy operation success. */\n isSuccess?: boolean;\n /** Copied resources. */\n copiedResources?: string[];\n /** Resource error details. */\n errorDetails?: ErrorDetailsDc;\n}\n\n/**\n * Create directory request.\n */\nexport interface CreateDirectoryDc {\n /** Parent resource id. */\n parentId?: string;\n /** Path to the directory. */\n name?: string;\n /** Owner. */\n owner?: string;\n /** Description of the directory. */\n description?: string;\n /** A set of tags. */\n tags?: string[];\n /** If true root folder will create as temporary. */\n isTemporary?: boolean;\n /** Resource icon. */\n icon?: string;\n /** Rewrite if exists. */\n rewrite?: boolean;\n}\n\n/**\n * Data contract for create new role.\n */\nexport interface CreateRoleDc {\n /**\n * Role name.\n * @minLength 1\n */\n name: string;\n /** Description. */\n description?: string;\n /** Alias. */\n alias?: string;\n}\n\n/**\n * Symbol category data contract.\n */\nexport interface CreateSymbolCategoryDc {\n /** Name. */\n name?: string;\n /**\n * Parent category id.\n * @format int32\n */\n parentId?: number;\n}\n\n/**\n * Symbols.\n */\nexport interface CreateSymbolDc {\n /** Symbol name. */\n name?: string;\n /** Symbol type. */\n type?: string;\n /** Symbol geometry type. */\n geometryType?: string;\n /** Is substrate symbol. */\n form?: boolean;\n /** Symbol data. */\n data?: string;\n /**\n * Symbol category id.\n * @format int32\n */\n categoryId?: number;\n}\n\n/**\n * Create symlink.\n */\nexport interface CreateSymlinkDc {\n /** Symlink name. */\n name: string;\n /** System name. */\n systemName?: string;\n /** Target resource. */\n targetResourceId: string;\n /** Description of the file. */\n description?: string;\n /** Parent resource id. */\n parentId?: string;\n /** A set of tags. */\n tags?: string[];\n}\n\n/**\n * Data contract for create new user.\n */\nexport interface CreateUserDc {\n /** Whether to open the last used project when opening a client. */\n is_open_last_project?: boolean;\n /** Is active. */\n is_active?: boolean;\n /** Is active. */\n is_email_confirmed?: boolean;\n /** Namespace. */\n namespace?: string;\n /** Emoji. */\n emoji?: string;\n /** Username. */\n username?: string;\n /**\n * Email.\n * @format email\n */\n email?: string;\n /** Phone number. */\n phone?: string;\n /** Password. */\n password?: string;\n /** First name. */\n first_name?: string;\n /** Last name. */\n last_name?: string;\n /** Patronymic. */\n patronymic?: string;\n /** Gets or sets company. */\n company?: string;\n /** Has newsletter subscription. */\n is_subscribed?: boolean;\n}\n\n/**\n * Create view from query layer data contract.\n */\nexport interface CreateViewFromQueryDc {\n /** Is view materialized. */\n isMaterialized?: boolean;\n /** Recreate view if exists. */\n override?: boolean;\n /** Layer name. */\n eql?: string;\n /** View name. */\n viewName?: string;\n /** EQL query parameters. */\n parameters?: Record<string, any>;\n}\n\n/**\n * Create view from query layer data contract.\n */\nexport interface CreateViewFromQueryLayerDc {\n /** Is view materialized. */\n isMaterialized?: boolean;\n /** Recreate view if exists. */\n override?: boolean;\n /** Layer name. */\n layerName?: string;\n /** View name. */\n viewName?: string;\n /** Layer condition. */\n layerCondition?: string;\n}\n\n/**\n * Created task result.\n */\nexport interface CreatedTaskResultDto {\n /**\n * Id.\n * @format uuid\n */\n id?: string;\n /** Success flag. */\n success?: boolean;\n}\n\n/**\n* \n\nJson\n\nCsv\n\nOrc\n\nParquet\n\nJdbc\n*/\nexport enum DataSourceConnectionType {\n Json = \"Json\",\n Csv = \"Csv\",\n Orc = \"Orc\",\n Parquet = \"Parquet\",\n Jdbc = \"Jdbc\",\n}\n\n/**\n * Data source data contract.\n */\nexport interface DataSourceDc {\n /** Parent id. */\n parentId?: string;\n /** Login of the owner. */\n owner?: string;\n /** Access control list for a security object. */\n acl?: AccessControlListDc;\n /** Name. */\n name?: string;\n /** Alias. */\n alias?: string;\n /** Description. */\n description?: string;\n /**\n *\n *\n * Postgres\n *\n * Trino\n *\n * S3\n *\n * GisServer\n *\n * Spark\n *\n * Archive\n */\n type?: DataSourceType;\n /** Tags. */\n tags?: string[];\n}\n\n/**\n * Data source info.\n */\nexport interface DataSourceInfoDc {\n /** Name. */\n name?: string;\n /** Alias. */\n alias?: string;\n /** Description. */\n description?: string;\n /**\n *\n *\n * Postgres\n *\n * Trino\n *\n * S3\n *\n * GisServer\n *\n * Spark\n *\n * Archive\n */\n type?: DataSourceType;\n /** Tags. */\n tags?: string[];\n /** Parent id. */\n parentId?: string;\n /** Resource id. */\n resourceId?: string;\n /**\n * Date and time when the remote connection was created.\n * @format date-time\n */\n created?: string;\n /**\n * Date and time when the remote connection was last modified.\n * @format date-time\n */\n modified?: string;\n /** Login of the owner. */\n owner?: string;\n /** Access control list for a security object. */\n acl?: AccessControlListDc;\n}\n\n/**\n* \n\nPostgres\n\nTrino\n\nS3\n\nGisServer\n\nSpark\n\nArchive\n*/\nexport enum DataSourceType {\n Postgres = \"Postgres\",\n Trino = \"Trino\",\n S3 = \"S3\",\n GisServer = \"GisServer\",\n Spark = \"Spark\",\n Archive = \"Archive\",\n}\n\n/**\n * Configuration of a table for feature layer.\n */\nexport type DefaultTableConfigurationDc = TableConfigurationBaseDc & {\n type?: string | null;\n /** Schema name. */\n schemaName?: string | null;\n /** Table name. */\n tableName?: string | null;\n /** Remote data provider name. */\n dataProvider?: string | null;\n};\n\n/**\n * Dependent resource description.\n */\nexport interface DependentResourceDc {\n /**\n * Name of resource.\n * @minLength 1\n */\n name: string;\n /**\n * Type of resource.\n * @minLength 1\n */\n type: string;\n}\n\n/**\n * Table description with columns and access control list.\n */\nexport type DetailedTableInfoDc = TableInfoDc & {\n /** Description of table columns. */\n columns?: ColumnDescriptionDc[] | null;\n};\n\n/**\n * Provides attributes edit info.\n */\nexport interface EditAttributesInfoDc {\n /** A set of features ids. */\n ids: ObjectId[];\n /**\n * Attribute name to edit.\n * @minLength 1\n */\n attribute: string;\n /**\n * Expression to edit.\n * @minLength 1\n */\n editExpression: string;\n}\n\n/**\n * Envelope geometry.\n */\nexport type EnvelopeDc = GeometryDc & {\n /** Coordinates of the envelope. Always has exactly 2 points: left bottom and right top. */\n coordinates: PositionDc[];\n /**\n *\n *\n * unknown\n *\n * point\n *\n * polyline\n *\n * polygon\n *\n * envelope\n *\n * multipoint\n *\n * line\n *\n * ring\n *\n * multipolygon\n *\n * collection\n */\n type?: GeometryType;\n};\n\n/**\n * Configuration of an attribute in a feature layer.\n */\nexport type EqlAttributeConfigurationDc = AttributeConfigurationDc & {\n /**\n *\n *\n * Unknown\n *\n * String\n *\n * Int32\n *\n * Int64\n *\n * Double\n *\n * DateTime\n *\n * Boolean\n *\n * Point\n *\n * LineString\n *\n * Polygon\n *\n * Multipoint\n *\n * Polyline\n *\n * H3Index\n *\n * Json\n *\n * MultiPolygon\n *\n * GeometryCollection\n */\n type?: AttributeType;\n};\n\n/**\n * Configuration of the attribute set in a feature layer.\n */\nexport type EqlAttributesConfigurationDc = AttributesConfigurationDc & {\n /** Configuration of the attributes of the layer. */\n attributes?: EqlAttributeConfigurationDc[] | null;\n};\n\n/**\n * CTE dependency.\n */\nexport interface EqlCteDependencyDc {\n /** Name. */\n name?: string;\n /** Tables dependencies. */\n tables?: EqlTableDependencyDc[];\n}\n\n/**\n * EQL dependencies.\n */\nexport interface EqlDependenciesDc {\n /** Tables dependencies. */\n tables?: EqlTableDependencyDc[];\n /** CTE dependencies. */\n ctes?: EqlCteDependencyDc[];\n}\n\n/**\n * EQL requst data contract.\n */\nexport interface EqlRequestDc {\n /** Data source name. */\n ds?: string;\n /** Additional data source connection. */\n additionalDsConnections?: AdditionalDataSourceConnectionDc[];\n /**\n * EQL query string.\n * @minLength 1\n */\n query: string;\n /** Geometry field name. */\n geometryField?: string;\n /** Id field name. */\n idField?: string;\n /**\n * Offset.\n * @format int32\n */\n offset?: number;\n /**\n * Limit.\n * @format int32\n */\n limit?: number;\n /** With geometry. */\n withgeom?: boolean;\n /** Columns. */\n columns?: Record<string, string | null>;\n /** EQL query parameters. */\n parameters?: Record<string, any>;\n}\n\n/**\n * Table dependency data contract.\n */\nexport interface EqlTableDependencyDc {\n /** Schema. */\n schema?: string;\n /** Name. */\n name?: string;\n /** Alias. */\n alias?: string;\n}\n\n/**\n * Resource error details.\n */\nexport interface ErrorDetailsDc {\n /**\n * Type of the error.\n *\n * ResourceLimitExceeded\n *\n * ResourceNotFound\n *\n * InternalError\n *\n * BadRequest\n *\n * DuplicateContent\n */\n errorType?: ErrorDetailsType;\n /** Error message. */\n message?: string;\n /**\n * Copy resource status code.\n * @format int32\n */\n statusCode?: number;\n}\n\n/**\n* Type of the error.\n\nResourceLimitExceeded\n\nResourceNotFound\n\nInternalError\n\nBadRequest\n\nDuplicateContent\n*/\nexport enum ErrorDetailsType {\n ResourceLimitExceeded = \"ResourceLimitExceeded\",\n ResourceNotFound = \"ResourceNotFound\",\n InternalError = \"InternalError\",\n BadRequest = \"BadRequest\",\n DuplicateContent = \"DuplicateContent\",\n}\n\nexport enum ErrorType {\n NotSpecified = \"NotSpecified\",\n LimitError = \"LimitError\",\n ValidationError = \"ValidationError\",\n JwtExpired = \"JwtExpired\",\n TokenInvalid = \"TokenInvalid\",\n RefreshTokenExpired = \"RefreshTokenExpired\",\n RefreshTokenInvalid = \"RefreshTokenInvalid\",\n CreateUserFailed = \"CreateUserFailed\",\n SetUserPasswordFailed = \"SetUserPasswordFailed\",\n SetUserRoleFailed = \"SetUserRoleFailed\",\n UpdateUserFailed = \"UpdateUserFailed\",\n RemoveUserFailed = \"RemoveUserFailed\",\n CreateRoleFailed = \"CreateRoleFailed\",\n UpdateRoleFailed = \"UpdateRoleFailed\",\n RemoveUserRoleFailed = \"RemoveUserRoleFailed\",\n ChangeActiveStateFailed = \"ChangeActiveStateFailed\",\n RemoveRoleFailed = \"RemoveRoleFailed\",\n UserNotFound = \"UserNotFound\",\n RoleNotFound = \"RoleNotFound\",\n EmailNotConfirmed = \"EmailNotConfirmed\",\n DuplicateEmailError = \"DuplicateEmailError\",\n InvalidPassword = \"InvalidPassword\",\n RoleExists = \"RoleExists\",\n UserExists = \"UserExists\",\n UserLockedError = \"UserLockedError\",\n InvalidEmail = \"InvalidEmail\",\n InvalidUsername = \"InvalidUsername\",\n Unauthorized = \"Unauthorized\",\n EmailNotChanged = \"EmailNotChanged\",\n EmailNotSet = \"EmailNotSet\",\n}\n\n/**\n * Result of the eql expression validation.\n */\nexport interface ExpressionValidationResultDc {\n /** True if the expression is valid and can be executed on the given layer. */\n isValid?: boolean;\n /** If not valid, this field will contain the list of errors in the expression. */\n errors?: string[];\n /**\n *\n *\n * Unknown\n *\n * String\n *\n * Int32\n *\n * Int64\n *\n * Double\n *\n * DateTime\n *\n * Boolean\n *\n * Point\n *\n * LineString\n *\n * Polygon\n *\n * Multipoint\n *\n * Polyline\n *\n * H3Index\n *\n * Json\n *\n * MultiPolygon\n *\n * GeometryCollection\n */\n returnType?: AttributeType;\n /** The expression that was validated. */\n expression?: string;\n}\n\n/**\n * Project extended configuration data contract.\n */\nexport type ExtendedProjectInfoDc = ProjectInfoDc & {\n /** Project content configuration data contract. */\n content: ProjectConfigurationDc;\n};\n\n/**\n * SPCore.Connectors.Connectors.Base.Models.Projects.ExtendedProjectLayersInfo provides extended project info with included layers info.\n */\nexport interface ExtendedProjectLayersInfo {\n /** Project extended configuration data contract. */\n projectInfo?: ExtendedProjectInfoDc;\n /** A collection of layers info. */\n layersInfo?: ServiceListItemDc[];\n}\n\n/**\n * Extended user information.\n */\nexport interface ExtendedUserInfoDc {\n /**\n * Primary key.\n * @format int32\n */\n pk?: number;\n /** Is password set. */\n is_password_set?: boolean;\n /** Is email confirmed. */\n is_email_confirmed?: boolean;\n /** Location. */\n location?: string;\n /** Company. */\n company?: string;\n /** Position. */\n position?: string;\n /**\n * Gets or sets date and time of creation.\n * @format date-time\n */\n dtCreate?: string;\n /**\n * Gets or sets date and time of last modifing.\n * @format date-time\n */\n dtModify?: string;\n /**\n * Gets or sets date and time of last log in.\n * @format date-time\n */\n dtLastLogin?: string;\n /**\n * Gets or sets id of modified user.\n * @format int32\n */\n idModifyUser?: number;\n /** Gets or sets emoji. */\n emoji?: string;\n /** Information about connected social networks. */\n social?: SocialNetworkInfoDc[];\n /** Username. */\n username?: string;\n /** First name. */\n first_name?: string;\n /** Last name. */\n last_name?: string;\n /** Patronymic. */\n patronymic?: string;\n /** Email. */\n email?: string;\n /** Phone number. */\n phone?: string;\n /** Namespace. */\n namespace?: string;\n /** Photo. */\n has_profile_photo?: boolean;\n /** Whether to open the last used project when opening a client. */\n is_open_last_project?: boolean;\n /** Has newsletter subscription. */\n is_subscribed?: boolean;\n /** If the user account is active or not. */\n is_active?: boolean;\n /** The roles of the user. */\n roles?: string[];\n}\n\n/**\n * External layer information.\n */\nexport interface ExternalLayerInfoDc {\n /** Name. */\n name?: string;\n /** Title. */\n title?: string;\n /** Abstract. */\n abstract?: string;\n /** Child layers. */\n layer?: ExternalLayerInfoDc[];\n}\n\n/**\n * The `FailedServiceInfoDc` describes Everpoint.Sdk.Layers.Abstractions.Models.FailedServiceInfo data contact.\n */\nexport interface FailedServiceInfoDc {\n /**\n *\n *\n * Unknown\n *\n * SerializeError\n *\n * InvalidDataService\n *\n * InvalidConfiguration\n *\n * InvalidDataServiceName\n *\n * InvalidTableName\n *\n * InvalidLayerName\n *\n * ResourceNotFound\n *\n * InvalidCondition\n *\n * InvalidAttributes\n *\n * InvalidIdAttribute\n *\n * InvalidGeometryAttribute\n *\n * InvalidGeometryAttributeType\n *\n * InvalidColumnName\n *\n * InvalidIdColumnSettings\n *\n * ColumnNotExistsInTable\n *\n * InvalidStyle\n *\n * InvalidLayerType\n *\n * ColumnLoadingError\n *\n * InvalidAttributeFormat\n *\n * DataSourceNotFound\n *\n * DuplicateColumns\n *\n * DuplicateAttributes\n *\n * TableWithoutColumns\n *\n * InvalidTableReferenceConfiguration\n */\n errorType?: ConfigurationErrorEnum;\n /**\n * The type of the resource.\n * @minLength 1\n */\n type: string;\n /**\n * Minimum resolution that this service will be rendered on. If no resolution limits are set for the top-level\n * style of the service, or if no such property is available for this type of the service, 0 is returned.\n * @format double\n */\n minResolution?: number;\n /**\n * Maximum resolution that this service will be rendered on. If no resolution limits are set for the top-level\n * style of the service, or if no such property is available for this type of the service, 0 is returned.\n * @format double\n */\n maxResolution?: number;\n /**\n * Filtering condition for the objects in the service. If no condition set or if no such property is available\n * for the given service type, null is returned.\n */\n condition?: string;\n /**\n *\n *\n * unknown\n *\n * point\n *\n * polyline\n *\n * polygon\n *\n * envelope\n *\n * multipoint\n *\n * line\n *\n * ring\n *\n * multipolygon\n *\n * collection\n */\n geometryType: GeometryType;\n /**\n * Number of objects in the layer. If the count cannot be calculated or the layer does not contain objects,\n * 0 is returned.\n * @format int32\n */\n objectCount?: number;\n /** The category of the service. */\n categories?: string[];\n /** Configuration of the service. */\n configuration?:\n | LinearServiceConfigurationDc\n | PbfServiceConfigurationDc\n | PostgresTileCatalogServiceConfigurationDc\n | ProxyServiceConfigurationDc\n | PythonServiceConfigurationDc\n | QueryLayerServiceConfigurationDc\n | RemoteTileServiceConfigurationDc\n | RouteServiceConfigurationDc;\n /**\n * Name of the resource including its namespaces (names of the service managers that contain this service).\n * @minLength 1\n */\n name: string;\n /** Resource alias. */\n alias?: string;\n /** Resource owner. */\n owner?: string;\n /** Resource description. */\n description?: string;\n /**\n * The date when resource was created.\n * @format date-time\n */\n createdDate?: string;\n /**\n * The date when resource was last modified.\n * @format date-time\n */\n changedDate?: string;\n /**\n *\n *\n * none\n *\n * configure\n *\n * write\n *\n * read\n *\n * read,configure\n *\n * read,write\n *\n * read,write,configure\n */\n permissions?: Permissions;\n /** Access control list for a security object. */\n acl?: AccessControlListDc;\n /**\n * Base64 encoded image - icon of the resource. Usually shown next to the resource name in lists and legends.\n * @minLength 0\n * @maxLength 102400\n */\n icon?: string;\n /** Is set true resource is not visible in catalog. Can be changed only by owner or user with admin access. */\n invisibleInCatalog?: boolean;\n /** Parent id in resources catalog. */\n parentId?: string;\n /** Resource id in resources catalog. */\n resourceId?: string;\n /** Resource tags. */\n tags?: string[];\n}\n\n/**\n * Feature object definition.\n */\nexport interface FeatureDc {\n /** Feature geometry definition. */\n geometry?:\n | EnvelopeDc\n | GeometryCollectionDc\n | LineStringDc\n | MultiPointDc\n | MultiPolygonDc\n | PointDc\n | PolygonDc\n | PolylineDc;\n /** Feature attributes collection. */\n attributes: Record<string, any>;\n /** Feature unique identifier. */\n id?: string;\n /** Values for all bands of feature by pixel point. */\n bandsValues?: Record<string, number>;\n}\n\n/**\n * Service info for a feature layer service.\n */\nexport interface FeatureLayerServiceInfoDc {\n /** Information about the layer attributes and their configuration. */\n layerDefinition: LayerDefinitionDc;\n /** Provides data source type. */\n dataSourceType?: string;\n /** Copyright text. */\n copyrightText?: string;\n /** Client data storage. Storage isn't used by server. */\n clientData?: any;\n /** Client style data storage. Storage isn't used by server. */\n clientStyle?: any;\n /** Card configuration. Storage isn't used by server. */\n cardConfiguration?: any;\n /**\n * The type of the resource.\n * @minLength 1\n */\n type: string;\n /**\n * Minimum resolution that this service will be rendered on. If no resolution limits are set for the top-level\n * style of the service, or if no such property is available for this type of the service, 0 is returned.\n * @format double\n */\n minResolution?: number;\n /**\n * Maximum resolution that this service will be rendered on. If no resolution limits are set for the top-level\n * style of the service, or if no such property is available for this type of the service, 0 is returned.\n * @format double\n */\n maxResolution?: number;\n /**\n * Filtering condition for the objects in the service. If no condition set or if no such property is available\n * for the given service type, null is returned.\n */\n condition?: string;\n /**\n *\n *\n * unknown\n *\n * point\n *\n * polyline\n *\n * polygon\n *\n * envelope\n *\n * multipoint\n *\n * line\n *\n * ring\n *\n * multipolygon\n *\n * collection\n */\n geometryType: GeometryType;\n /**\n * Number of objects in the layer. If the count cannot be calculated or the layer does not contain objects,\n * 0 is returned.\n * @format int32\n */\n objectCount?: number;\n /** The category of the service. */\n categories?: string[];\n /** Configuration of the service. */\n configuration?:\n | LinearServiceConfigurationDc\n | PbfServiceConfigurationDc\n | PostgresTileCatalogServiceConfigurationDc\n | ProxyServiceConfigurationDc\n | PythonServiceConfigurationDc\n | QueryLayerServiceConfigurationDc\n | RemoteTileServiceConfigurationDc\n | RouteServiceConfigurationDc;\n /**\n * Name of the resource including its namespaces (names of the service managers that contain this service).\n * @minLength 1\n */\n name: string;\n /** Resource alias. */\n alias?: string;\n /** Resource owner. */\n owner?: string;\n /** Resource description. */\n description?: string;\n /**\n * The date when resource was created.\n * @format date-time\n */\n createdDate?: string;\n /**\n * The date when resource was last modified.\n * @format date-time\n */\n changedDate?: string;\n /**\n *\n *\n * none\n *\n * configure\n *\n * write\n *\n * read\n *\n * read,configure\n *\n * read,write\n *\n * read,write,configure\n */\n permissions?: Permissions;\n /** Access control list for a security object. */\n acl?: AccessControlListDc;\n /**\n * Base64 encoded image - icon of the resource. Usually shown next to the resource name in lists and legends.\n * @minLength 0\n * @maxLength 102400\n */\n icon?: string;\n /** Is set true resource is not visible in catalog. Can be changed only by owner or user with admin access. */\n invisibleInCatalog?: boolean;\n /** Parent id in resources catalog. */\n parentId?: string;\n /** Resource id in resources catalog. */\n resourceId?: string;\n /** Resource tags. */\n tags?: string[];\n}\n\n/**\n * The result of uploading a file.\n */\nexport interface FileUploadResponse {\n /** Resource id. */\n resourceId?: string;\n /** Id of the tile in the session static storage. */\n fileId?: string;\n /** Id of the file source. */\n sourceId?: string;\n /** Url to file. */\n url?: string;\n}\n\n/**\n * Provides filter data contract.\n */\nexport interface FilterDc {\n /**\n * Filter string to save.\n * @deprecated\n */\n filterString?: string;\n /** Filter conditions. */\n conditions?: string[];\n /** Query parameters. */\n parameters?: Record<string, any>;\n /** Filter query geometries. */\n geometries?: QueryGeometryDc[];\n}\n\n/**\n * Server response for the creation of a filter in filter service.\n */\nexport interface FilterResponseDc {\n /** Id of the filter. */\n id?: string;\n}\n\n/**\n * Geocode result.\n */\nexport interface GeocodeResultDc {\n /**\n * Input geocode address.\n * @minLength 1\n */\n address: string;\n /** Source. */\n source?: string;\n /**\n * Result score point.\n * @format double\n */\n score?: number;\n /** The position at the map. */\n center?: PositionDc;\n /** Result geometry. */\n geometry?:\n | EnvelopeDc\n | GeometryCollectionDc\n | LineStringDc\n | MultiPointDc\n | MultiPolygonDc\n | PointDc\n | PolygonDc\n | PolylineDc;\n}\n\n/**\n * Geocode suggest result.\n */\nexport interface GeocodeSuggestResultDc {\n /** Suggested text. */\n text?: string;\n /** Source label. */\n label?: string;\n /** Source id. */\n id?: string;\n}\n\n/**\n * Multipoint geometry object definition.\n */\nexport type GeometryCollectionDc = GeometryDc & {\n /** Multipoint coordinates. */\n geometries: (\n | EnvelopeDc\n | GeometryCollectionDc\n | LineStringDc\n | MultiPointDc\n | MultiPolygonDc\n | PointDc\n | PolygonDc\n | PolylineDc\n )[];\n /**\n *\n *\n * unknown\n *\n * point\n *\n * polyline\n *\n * polygon\n *\n * envelope\n *\n * multipoint\n *\n * line\n *\n * ring\n *\n * multipolygon\n *\n * collection\n */\n type?: GeometryType;\n};\n\n/**\n * Geometry data contract.\n */\nexport interface GeometryDc {\n /**\n *\n *\n * unknown\n *\n * point\n *\n * polyline\n *\n * polygon\n *\n * envelope\n *\n * multipoint\n *\n * line\n *\n * ring\n *\n * multipolygon\n *\n * collection\n */\n type: GeometryType;\n /**\n * Spatial reference id.\n * @format int32\n */\n srId?: number;\n}\n\n/**\n* \n\nunknown\n\npoint\n\npolyline\n\npolygon\n\nenvelope\n\nmultipoint\n\nline\n\nring\n\nmultipolygon\n\ncollection\n*/\nexport enum GeometryType {\n Unknown = \"unknown\",\n Point = \"point\",\n Polyline = \"polyline\",\n Polygon = \"polygon\",\n Envelope = \"envelope\",\n Multipoint = \"multipoint\",\n LineString = \"line\",\n LinearRing = \"ring\",\n MultiPolygon = \"multipolygon\",\n GeometryCollection = \"collection\",\n}\n\n/**\n * Get extent from layer paramaters.\n */\nexport interface GetBulkExtentsDc {\n /** Full name of the layer. */\n layerName?: string;\n /**\n * If set, only the features that satisfy the condition will be considered when calculating the extent.\n * @deprecated\n */\n query?: string;\n /** Filter conditions. */\n conditions?: string[];\n /** Query parameters. */\n parameters?: Record<string, any>;\n /** Filter query geometries. */\n geometries?: QueryGeometryDc[];\n}\n\n/**\n * Get features from layer paramaters.\n */\nexport interface GetBulkFeaturesParametersDc {\n /** Layer name. */\n layerName?: string;\n /**\n * Sets features filtering query.\n * @deprecated\n */\n query?: string;\n /** Collection of filtering conditions. */\n conditions?: string[];\n /** Features filtering query parameters. */\n parameters?: Record<string, any>;\n /** Filter query geometries. */\n geometries?: QueryGeometryDc[];\n /** Id of override data filter to apply to the layer. If not set, the default filter is used. */\n dataFilterId?: string;\n /** Click geometry. */\n ewktGeometry?: string;\n /**\n * Features count have to skip.\n * @format int32\n */\n offset?: number;\n /**\n * Features limit per response.\n * @format int32\n */\n limit?: number;\n /**\n * Spatial reference of returned features.\n * @format int32\n */\n srId?: number;\n /** If set to true, the geometry will not be returned for features. */\n withGeom?: boolean;\n /**\n * Comma separated list of attributes by which to sort the resulting feature list.\n * If the attribute name is preceded with the \"-\" sign, sorting by this attribute will be\n * in descending order.\n */\n sort?: string[];\n /** Comma separated list of features ids. */\n ids?: string[];\n /** Comma separated list of attributes to be returned. If not set, all attributes are returned. */\n attributes?: string[];\n}\n\n/**\n * Get features count with layer filter condition data contract.\n */\nexport interface GetBulkFilteredFeaturesCountDc {\n /** Layer name. */\n layerName?: string;\n /**\n * Layer condition.\n * @deprecated\n */\n condition?: string;\n /** Collection of filtering conditions. */\n conditions?: string[];\n /** Query parameters. */\n parameters?: Record<string, any>;\n /** Filter query geometries. */\n geometries?: QueryGeometryDc[];\n}\n\n/**\n * Get resource by path request data.\n */\nexport interface GetByPathDc {\n /** Resource path. */\n path: string;\n}\n\n/**\n * Get classified attribute values data contract.\n */\nexport interface GetClassifyDc {\n /**\n * Layer name.\n * @minLength 1\n */\n layerName: string;\n /**\n * Attribute name.\n * @minLength 1\n */\n attributeName: string;\n /**\n * Layer condition.\n * @deprecated\n */\n condition?: string;\n /** Collection of filtering conditions. */\n conditions?: string[];\n /** Query parameters. */\n parameters?: Record<string, any>;\n /** Filter query geometries. */\n geometries?: QueryGeometryDc[];\n /**\n * The number of classes.\n * @format int32\n */\n classes?: number;\n /**\n * Sets required values precision.\n * @format int32\n */\n precision?: number;\n /**\n *\n *\n * none\n *\n * naturalBreaks\n *\n * equalInterval\n *\n * quantile\n *\n * unique\n *\n * step\n */\n type?: ClassificationType;\n /**\n *\n *\n * decimal\n *\n * dateTime\n *\n * text\n */\n attributeType?: ClassifyAttributeType;\n}\n\n/**\n * Get features paramaters.\n */\nexport interface GetFeaturesParametersDc {\n /**\n * Features filtering query.\n * @deprecated\n */\n query?: string;\n /** Collection of filtering conditions. */\n conditions?: string[];\n /** Features filtering query parameters. */\n parameters?: Record<string, any>;\n /** Filter query geometries. */\n geometries?: QueryGeometryDc[];\n /** Id of override data filter to apply to the layer. If not set, the default filter is used. */\n dataFilterId?: string;\n /** Click geometry. */\n ewktGeometry?: string;\n /**\n * Features count have to skip.\n * @format int32\n */\n offset?: number;\n /**\n * Features limit per response.\n * @format int32\n */\n limit?: number;\n /**\n * Spatial reference of returned features.\n * @format int32\n */\n srId?: number;\n /** If set to true, the geometry will not be returned for features. */\n withGeom?: boolean;\n /**\n * Comma separated list of attributes by which to sort the resulting feature list.\n * If the attribute name is preceded with the \"-\" sign, sorting by this attribute will be\n * in descending order.\n */\n sort?: string[];\n /** Comma separated list of features ids. */\n ids?: string[];\n /** Comma separated list of attributes to be returned. If not set, all attributes are returned. */\n attributes?: string[];\n}\n\n/**\n * Get features count with layer filter condition data contract.\n */\nexport interface GetFilteredFeaturesCountDc {\n /**\n * Layer condition.\n * @deprecated\n */\n condition?: string;\n /** Collection of filtering conditions. */\n conditions?: string[];\n /** Query parameters. */\n parameters?: Record<string, any>;\n /** Filter query geometries. */\n geometries?: QueryGeometryDc[];\n}\n\n/**\n * Get statistics data contract.\n */\nexport interface GetStatisticsDc {\n /**\n * Layer name.\n * @minLength 1\n */\n layerName: string;\n /**\n * Attribute name.\n * @minLength 1\n */\n attributeName: string;\n /**\n * Condition.\n * @deprecated\n */\n condition?: string;\n /** Collection of filtering conditions. */\n conditions?: string[];\n /** Query parameters. */\n parameters?: Record<string, any>;\n /** Filter query geometries. */\n geometries?: QueryGeometryDc[];\n /** Type of required statistic function. */\n types?: AggregationFunction[];\n}\n\n/**\n * Get sum of product data contract.\n */\nexport interface GetSumOfProductDc {\n /**\n * Layer name.\n * @minLength 1\n */\n layerName: string;\n /** Attribute name. */\n attributes: string[];\n /**\n * Layer condition.\n * @deprecated\n */\n condition?: string;\n /** Collection of filtering conditions. */\n conditions?: string[];\n /** Query parameters. */\n parameters?: Record<string, any>;\n /** Filter query geometries. */\n geometries?: QueryGeometryDc[];\n}\n\nexport type IAsyncEnumerableLivePreviewDc = object;\n\n/**\n * Data schema of a file for import.\n */\nexport interface ImportDataSchemaDc {\n /** List of layers in the data-set. */\n layers: ImportLayerDataSchemaDc[];\n /**\n * Importing file type.\n * @minLength 1\n */\n type: string;\n}\n\n/**\n * Get features count data contract.\n */\nexport interface ImportFileFeaturesCountDc {\n /** Name of the layer. */\n name?: string;\n /**\n * Id of the file in the temporary static storage.\n * @minLength 1\n */\n fileId: string;\n /** Condition. */\n condition?: string;\n}\n\n/**\n * Schema of a layer in an imported file.\n */\nexport interface ImportLayerDataSchemaDc {\n /**\n * Name of the layer.\n * @minLength 1\n */\n name: string;\n /** Storage type. */\n type?: string;\n /** First feature in the layer. */\n rows?: FeatureDc[];\n /**\n * Number of objects in the layer.\n * @format int64\n */\n objectCount?: number;\n /** Assumed coordinate fields. */\n coordinateFields?: string[];\n /** Information about the layer attributes and their configuration. */\n layerDefinition?: LayerDefinitionDc;\n /** Schema of a inner layers. */\n children?: ImportLayerDataSchemaDc[];\n}\n\n/**\n * Information about the layer attributes and their configuration.\n */\nexport interface LayerDefinitionDc {\n /** The name of the attribute that is used to uniquely identify a feature in the layer. */\n idAttribute?: string;\n /** The name of the attribute that is used as a displayed name of a feature in the layer. */\n titleAttribute?: string;\n /** The name of the attribute that is used for assigning geometry value for the feature. */\n geometryAttribute?: string;\n /**\n *\n *\n * unknown\n *\n * point\n *\n * polyline\n *\n * polygon\n *\n * envelope\n *\n * multipoint\n *\n * line\n *\n * ring\n *\n * multipolygon\n *\n * collection\n */\n geometryType?: GeometryType;\n /**\n * The spatial reference of the layer.\n * @format int32\n */\n srId?: number;\n /** Sets false if the layer is readonly. */\n isEditable?: boolean;\n /** The description of the attributes of the layer. */\n attributes?: Record<string, AttributeDefinitionDc>;\n}\n\n/**\n * Layer reference configuration.\n */\nexport interface LayerReferenceConfigurationDc {\n /** Name of the layer. */\n layerName?: string;\n /** Condition to apply. */\n condition?: string;\n /** Attribute name in base layer. */\n referenceAttribute?: string;\n /** Attribute name in target layer. */\n targetAttribute?: string;\n /** Id of the reference. */\n referenceId?: string;\n}\n\n/**\n* Information about layer update.\nIncludes ids of modified features and their bbox.\n*/\nexport interface LayerUpdateInfoDc {\n /**\n * Updated layer service name.\n * @minLength 1\n */\n layerServiceName: string;\n /** Envelope geometry. */\n boundingBox?: EnvelopeDc;\n /** Array of created ids. */\n createdIds?: string[];\n /** Array of updated ids. */\n updatedIds?: string[];\n /** Array of deleted ids. */\n deletedIds?: string[];\n}\n\n/**\n * Polyline geometry object definition.\n */\nexport type LineStringDc = GeometryDc & {\n /**\n *\n *\n * unknown\n *\n * point\n *\n * polyline\n *\n * polygon\n *\n * envelope\n *\n * multipoint\n *\n * line\n *\n * ring\n *\n * multipolygon\n *\n * collection\n */\n type?: GeometryType;\n /** Poly coordinates. */\n coordinates: PositionDc[];\n};\n\n/**\n * Linear service configuration Dc.\n */\nexport type LinearServiceConfigurationDc = ServiceConfigurationBaseDc & {\n /** Configuration of the attributes of the layer. */\n attributesConfiguration: AttributesConfigurationDc | EqlAttributesConfigurationDc;\n /** Condition to filter returned features. */\n condition?: string | null;\n /**\n * Maximum number of features, that the service can return in a single request.\n * @format int32\n */\n featuresLimit?: number;\n /** Client style data storage. Storage isn't used by server. */\n clientStyle?: any;\n};\n\n/**\n * Search resources.\n */\nexport interface ListResourcesDc {\n /** Parent id. */\n parentId?: string;\n /**\n * Text filer support sql like symbols\n * for example start with 'text*', contains 'text', end with '*text'.\n */\n filter?: string;\n /**\n *\n *\n * Shared\n *\n * Public\n *\n * My\n */\n ownerFilter?: AccessMode;\n /** Resources types filter. */\n resourceTypes?: CatalogResourceType[];\n /** Resources subtypes filter. */\n subtypes?: ResourceSubTypeFilter[];\n /** Tags filter. */\n tagsFilter?: TagsFilterDc;\n /** Order by result. */\n orderBy?: string[];\n /** System names filter. */\n systemNames?: string[];\n /** Geometry types filter. */\n geometryTypes?: GeometryType[];\n /** Resources types filter. */\n types?: ResourceTypeFilter[];\n /** Filter by set of roles permissions. */\n aclFilter?: Record<string, Permissions>;\n /** Search mode. */\n searchMode?: boolean;\n}\n\n/**\n * Tile LOD structure.\n */\nexport interface LodInfo {\n /**\n * Level of tile set.\n * @format int32\n */\n level?: number;\n /**\n * Resolution for level.\n * @format double\n */\n resolution?: number;\n}\n\n/**\n * Login data contract.\n */\nexport interface LoginDc {\n /**\n * Login.\n * @minLength 1\n */\n username: string;\n /**\n * Password.\n * @minLength 1\n */\n password: string;\n}\n\n/**\n * Token data contract.\n */\nexport interface LoginResultDc {\n /** JWT. */\n token?: string;\n /** Refresh token. */\n refreshToken?: string;\n /** User name. */\n username?: string;\n /** Redirect url. */\n redirectUrl?: string;\n}\n\n/**\n* SPCore.Connectors.Connectors.Base.Models.Data.MapTableInfoDc provides information to create datasource and maps it to exists database table.\n \nSPCore.Connectors.Connectors.Base.Models.Data.MapTableInfoDc.Name can be materialized view or view.\n*/\nexport interface MapTableInfoDc {\n /**\n * Name of the data source.\n * @minLength 1\n */\n name: string;\n /** Alias of the data source. */\n alias?: string;\n /** Description of the data source. */\n description?: string;\n /**\n * Owner of the data source.\n * @minLength 1\n */\n owner: string;\n /** Access control list for a security object. */\n acl?: AccessControlListDc;\n}\n\n/**\n * Configuration of a table for feature layer.\n */\nexport type MaterializedViewConfigurationDc = TableConfigurationBaseDc & {\n type?: string | null;\n /** EQL. */\n eql?: string | null;\n /** EQL parameters. */\n eqlParameters?: Record<string, any>;\n /** Schema. */\n schemaName?: string | null;\n /** TableName. */\n tableName?: string | null;\n};\n\n/**\n * MosRu data source.\n */\nexport type MosRuDataSourceDc = DataSourceDc & {\n /**\n *\n *\n * Postgres\n *\n * Trino\n *\n * S3\n *\n * GisServer\n *\n * Spark\n *\n * Archive\n */\n type?: DataSourceType;\n /** Endpoint. */\n serviceUrl?: string | null;\n /** Access token. */\n accessToken?: string | null;\n};\n\n/**\n * MosRu data source info.\n */\nexport type MosRuDataSourceInfoDc = DataSourceInfoDc & {\n /** Service url. */\n serviceUrl?: string | null;\n /** Access token. */\n accessToken?: string | null;\n};\n\n/**\n * Move resource dto.\n */\nexport interface MoveResourceDc {\n /** Target resource to copy. */\n targetResource?: string;\n /** Name of target resource. */\n newName?: string;\n /** Rewrite target if exists. */\n rewrite?: boolean;\n}\n\n/**\n * Multipoint geometry object definition.\n */\nexport type MultiPointDc = GeometryDc & {\n /** Multipoint coordinates. */\n coordinates: PositionDc[];\n /**\n *\n *\n * unknown\n *\n * point\n *\n * polyline\n *\n * polygon\n *\n * envelope\n *\n * multipoint\n *\n * line\n *\n * ring\n *\n * multipolygon\n *\n * collection\n */\n type?: GeometryType;\n};\n\n/**\n * Multipoint geometry object definition.\n */\nexport type MultiPolygonDc = GeometryDc & {\n /** Multipoint coordinates. */\n coordinates: PositionDc[][][];\n /**\n *\n *\n * unknown\n *\n * point\n *\n * polyline\n *\n * polygon\n *\n * envelope\n *\n * multipoint\n *\n * line\n *\n * ring\n *\n * multipolygon\n *\n * collection\n */\n type?: GeometryType;\n};\n\n/**\n * Information about a namespace .\n */\nexport interface NamespaceInfoDc {\n /** Name of the namespace. */\n name?: string;\n /** Owner of the namespace. */\n owner?: string;\n /** Db schema for the namespace. */\n schema?: string;\n /**\n * Date when the namespace was created.\n * @format date-time\n */\n created?: string;\n /** Access control list for a security object. */\n acl?: AccessControlListDc;\n}\n\n/**\n * RasterMetaDc.\n */\nexport type NetCdfMetaDc = RasterMetaDc & {\n /** Extra dimensions values. */\n dimExtraValues?: Record<string, string[] | null>;\n};\n\nexport type ObjectId = object;\n\nexport interface Operation {\n value?: any;\n path?: string;\n op?: string;\n from?: string;\n}\n\n/**\n * Features list definition.\n */\nexport type PagedBulkFeaturesListDc = PagedListFeatureDc & {\n /** Layer name. */\n layerName?: string | null;\n /** Has error. */\n hasError?: boolean;\n /** Error text. */\n error?: string | null;\n};\n\n/**\n * Features list definition.\n */\nexport type PagedFeaturesListDc = PagedListFeatureDc & object;\n\nexport interface PagedListConfigDc {\n /** @format int64 */\n totalCount?: number;\n /** @format int32 */\n offset?: number;\n /** @format int32 */\n limit?: number;\n items?: ConfigDc[];\n}\n\nexport interface PagedListDataSourceInfoDc {\n /** @format int64 */\n totalCount?: number;\n /** @format int32 */\n offset?: number;\n /** @format int32 */\n limit?: number;\n items?: (\n | ArcGisDataSourceInfoDc\n | MosRuDataSourceInfoDc\n | PostgresDataSourceInfoDc\n | S3DataSourceInfoDc\n | SparkDataSourceInfoDc\n )[];\n}\n\nexport interface PagedListExtendedUserInfoDc {\n /** @format int64 */\n totalCount?: number;\n /** @format int32 */\n offset?: number;\n /** @format int32 */\n limit?: number;\n items?: ExtendedUserInfoDc[];\n}\n\nexport interface PagedListFeatureDc {\n /** @format int64 */\n totalCount?: number;\n /** @format int32 */\n offset?: number;\n /** @format int32 */\n limit?: number;\n items?: FeatureDc[];\n}\n\nexport interface PagedListQueryHistoryDc {\n /** @format int64 */\n totalCount?: number;\n /** @format int32 */\n offset?: number;\n /** @format int32 */\n limit?: number;\n items?: QueryHistoryDc[];\n}\n\nexport interface PagedListQueryTokenDc {\n /** @format int64 */\n totalCount?: number;\n /** @format int32 */\n offset?: number;\n /** @format int32 */\n limit?: number;\n items?: QueryTokenDc[];\n}\n\nexport interface PagedListRoleInfoDc {\n /** @format int64 */\n totalCount?: number;\n /** @format int32 */\n offset?: number;\n /** @format int32 */\n limit?: number;\n items?: RoleInfoDc[];\n}\n\nexport interface PagedListSymbolCategoryInfoDc {\n /** @format int64 */\n totalCount?: number;\n /** @format int32 */\n offset?: number;\n /** @format int32 */\n limit?: number;\n items?: SymbolCategoryInfoDc[];\n}\n\nexport interface PagedListSymbolInfoDc {\n /** @format int64 */\n totalCount?: number;\n /** @format int32 */\n offset?: number;\n /** @format int32 */\n limit?: number;\n items?: SymbolInfoDc[];\n}\n\nexport interface PagedListUserInfoDc {\n /** @format int64 */\n totalCount?: number;\n /** @format int32 */\n offset?: number;\n /** @format int32 */\n limit?: number;\n items?: UserInfoDc[];\n}\n\n/**\n * Paged resources list.\n */\nexport interface PagedResourcesListDc {\n /** @format int64 */\n totalCount?: number;\n /** @format int32 */\n offset?: number;\n /** @format int32 */\n limit?: number;\n items?: CatalogResourceDc[];\n}\n\n/**\n * Paged resources list.\n */\nexport interface PagedTagsListDc {\n /** @format int64 */\n totalCount?: number;\n /** @format int32 */\n offset?: number;\n /** @format int32 */\n limit?: number;\n items?: string[];\n}\n\n/**\n * Patch resource request.\n */\nexport interface PatchResourceDc {\n /** Description of the directory. */\n name?: string;\n /** Description of the directory. */\n description?: string;\n /** A set of tags. */\n tags?: string[];\n /** Resource icon. */\n icon?: string;\n}\n\n/**\n* Influences the y direction of the tile coordinates. The global-mercator (aka Spherical Mercator) profile is assumed.\n\nxyz\n\ntms\n*/\nexport enum PbfSchema {\n XYZ = \"xyz\",\n TMS = \"tms\",\n}\n\n/**\n * Configuration for the mapbox PBF/MVT service.\n */\nexport type PbfServiceConfigurationDc = ProxyServiceConfigurationDc & {\n /**\n * Influences the y direction of the tile coordinates. The global-mercator (aka Spherical Mercator) profile is assumed.\n *\n * xyz\n *\n * tms\n */\n schema?: PbfSchema;\n};\n\n/**\n * Service info for a mapbox service.\n */\nexport type PbfServiceInfoDc = ProxyServiceInfoDc & {\n /**\n * Influences the y direction of the tile coordinates. The global-mercator (aka Spherical Mercator) profile is assumed.\n *\n * xyz\n *\n * tms\n */\n schema: PbfSchema;\n};\n\n/**\n* \n\nnone\n\nconfigure\n\nwrite\n\nread\n\nread,configure\n\nread,write\n\nread,write,configure\n*/\nexport enum Permissions {\n None = \"none\",\n Configure = \"configure\",\n Write = \"write\",\n Read = \"read\",\n ReadConfigure = \"read,configure\",\n ReadWrite = \"read,write\",\n All = \"read,write,configure\",\n}\n\n/**\n * Spatial point geometry object representation.\n */\nexport type PointDc = GeometryDc & {\n /** The position at the map. */\n coordinates: PositionDc;\n /**\n *\n *\n * unknown\n *\n * point\n *\n * polyline\n *\n * polygon\n *\n * envelope\n *\n * multipoint\n *\n * line\n *\n * ring\n *\n * multipolygon\n *\n * collection\n */\n type?: GeometryType;\n};\n\nexport interface PolicyDc {\n /**\n * Type of the authorization policy.\n *\n * Unknown\n *\n * CreateTable\n *\n * CreateLayer\n *\n * CreateProject\n *\n * MaxFeaturesInOneTable\n *\n * MaxObjectsToExport\n *\n * MaxUploadContentSize\n *\n * MaxEqlQueryParametersValues\n */\n type: PolicyType;\n role?: string;\n /** @format int32 */\n value: number;\n}\n\n/**\n* Type of the authorization policy.\n\nUnknown\n\nCreateTable\n\nCreateLayer\n\nCreateProject\n\nMaxFeaturesInOneTable\n\nMaxObjectsToExport\n\nMaxUploadContentSize\n\nMaxEqlQueryParametersValues\n*/\nexport enum PolicyType {\n Unknown = \"Unknown\",\n CreateTable = \"CreateTable\",\n CreateLayer = \"CreateLayer\",\n CreateProject = \"CreateProject\",\n MaxFeaturesInOneTable = \"MaxFeaturesInOneTable\",\n MaxObjectsToExport = \"MaxObjectsToExport\",\n MaxUploadContentSize = \"MaxUploadContentSize\",\n MaxEqlQueryParametersValues = \"MaxEqlQueryParametersValues\",\n}\n\n/**\n * Polygon geometry object definition.\n */\nexport type PolygonDc = GeometryDc & {\n /**\n *\n *\n * unknown\n *\n * point\n *\n * polyline\n *\n * polygon\n *\n * envelope\n *\n * multipoint\n *\n * line\n *\n * ring\n *\n * multipolygon\n *\n * collection\n */\n type?: GeometryType;\n /** Polygon coordinates. */\n coordinates: PositionDc[][];\n};\n\n/**\n * Polyline geometry object definition.\n */\nexport type PolylineDc = GeometryDc & {\n /**\n *\n *\n * unknown\n *\n * point\n *\n * polyline\n *\n * polygon\n *\n * envelope\n *\n * multipoint\n *\n * line\n *\n * ring\n *\n * multipolygon\n *\n * collection\n */\n type?: GeometryType;\n /** Poly coordinates. */\n coordinates: PositionDc[][];\n};\n\n/**\n * The position at the map.\n */\nexport type PositionDc = number[];\n\n/**\n * Postgres connection data source connection.\n */\nexport type PostgresDataSourceDc = DataSourceDc & {\n /**\n *\n *\n * Postgres\n *\n * Trino\n *\n * S3\n *\n * GisServer\n *\n * Spark\n *\n * Archive\n */\n type?: DataSourceType;\n /** Host. */\n host?: string | null;\n /** UserName. */\n userName?: string | null;\n /** Password. */\n password?: string | null;\n /**\n * Port.\n * @format int32\n */\n port?: number | null;\n /** Database. */\n database?: string | null;\n /** Schema. */\n schema?: string | null;\n};\n\n/**\n * Postgres data source info.\n */\nexport type PostgresDataSourceInfoDc = DataSourceInfoDc & {\n /** Host. */\n host?: string | null;\n /** UserName. */\n userName?: string | null;\n /** Password. */\n password?: string | null;\n /**\n * Port.\n * @format int32\n */\n port?: number;\n /** Database. */\n database?: string | null;\n /** Schema. */\n schema?: string | null;\n};\n\n/**\n * Configuration of a postgres tile catalog service.\n */\nexport type PostgresTileCatalogServiceConfigurationDc = ServiceConfigurationBaseDc & {\n /** Configuration of the attributes of the layer. */\n attributesConfiguration: AttributesConfigurationDc | EqlAttributesConfigurationDc;\n /** Client style data storage. Storage isn't used by server. */\n clientStyle?: any;\n /** Condition to filter returned features. */\n condition?: string | null;\n /**\n * Maximum number of features, that the service can return in a single request.\n * @format int32\n */\n featuresLimit?: number;\n /**\n * Min lod level.\n * @format int32\n */\n minLodLevel?: number;\n /**\n * Max lod level.\n * @format int32\n */\n maxLodLevel?: number;\n /** IsCogLayer. */\n isCogLayer?: boolean;\n};\n\n/**\n * Project content configuration data contract.\n */\nexport interface ProjectConfigurationDc {\n /**\n * Map resolution.\n * @format double\n * @default 0\n */\n resolution?: number;\n /** The position at the map. */\n position?: PositionDc;\n /**\n * Map spatial reference code.\n * @format int32\n */\n srId?: number;\n /** Base map service name. */\n baseMapName?: string;\n /** Client data storage. Expecting not used by server. */\n clientData?: any;\n /** Card configuration. Storage isn't used by server. */\n dashboardConfiguration?: any;\n /** Developer configuration. */\n devConfiguration?: any;\n /** Project information. Storage isn't used by server. */\n projectInfo?: any;\n /** Project content items configurations. */\n items?: ProjectContentItemDc[];\n /** A collection of bookmarks of the map. */\n bookmarks?: BookmarkDc[];\n /** Language of the project. */\n language?: string;\n /** Project configuration. */\n config?: any;\n}\n\n/**\n * Project item description.\n */\nexport interface ProjectContentItemDc {\n /** Item name. */\n name?: string;\n /** Specifies name of the item in project. */\n clientData?: any;\n /** Client data storage. Storage isn't used by server. */\n alias?: string;\n /**\n * Opacity level of item.\n * @format float\n * @default 1\n */\n opacity?: number;\n /**\n * Indicates if item is visible.\n * @default true\n */\n isVisible?: boolean;\n /**\n * Checks if list of children is expanded.\n * @default false\n */\n isExpanded?: boolean;\n /**\n * Checks if legend is expanded.\n * @default false\n */\n isLegendExpanded?: boolean;\n /**\n * Minimum scale resolution.\n * @format double\n * @default 0\n */\n minScale?: number;\n /**\n * Maximum scale resolution.\n * @format double\n * @default 0\n */\n maxScale?: number;\n /** If set true, item is basemap. */\n isBasemap?: boolean;\n /** Children items. */\n children?: ProjectContentItemDc[];\n /** Layer type. */\n layerType?: string;\n}\n\n/**\n * A project configuration data contract.\n */\nexport type ProjectInfoDc = ResourceInfoDc & {\n /**\n * Count of the layers in project.\n * @format int32\n */\n layersCount?: number;\n /**\n * Zoom level of the project.\n * @format float\n */\n zoom?: number | null;\n};\n\n/**\n * Data contract for inner layer Legend.\n */\nexport interface ProxyInnerLayerLegendDc {\n /**\n * Layer id.\n * @minLength 1\n */\n layerId: string;\n /**\n * Layer name.\n * @minLength 1\n */\n layerName: string;\n /** Legend items. */\n items: ProxyLayerLegendItemDc[];\n}\n\n/**\n * Data contract for layer legend.\n */\nexport interface ProxyLayerLegendDc {\n /** Inner layers legends. */\n layers: ProxyInnerLayerLegendDc[];\n}\n\n/**\n * Data contract for legend item.\n */\nexport interface ProxyLayerLegendItemDc {\n /**\n * Text label of legend item.\n * @minLength 1\n */\n label: string;\n /**\n * Image of item encoded in Base64 string.\n * @minLength 1\n */\n image: string;\n}\n\n/**\n * Configuration for the proxy service.\n */\nexport type ProxyServiceConfigurationDc = ServiceConfigurationBaseDc & {\n /** Resource id. */\n resourceId?: string | null;\n /**\n *\n *\n * unknown\n *\n * point\n *\n * polyline\n *\n * polygon\n *\n * envelope\n *\n * multipoint\n *\n * line\n *\n * ring\n *\n * multipolygon\n *\n * collection\n */\n geometryType?: GeometryType;\n /** Source system type, e.g. \"ArcGIS\". */\n sourceType?: string | null;\n /** Source url path. Like http://sampleserver1.arcgisonline.com/ArcGIS/rest/services/Specialty/SuperTuesdaySample/MapServer. */\n sourceUrl?: string | null;\n /**\n * Gets or sets minimum scale resolution.\n * @format double\n */\n minResolution?: number;\n /**\n * Gets or sets maximum scale resolution.\n * @format double\n */\n maxResolution?: number;\n /** Names of layers to include in proxy layer (can be numbers). */\n layers?: string[] | null;\n};\n\n/**\n * Service info for a Proxy service.\n */\nexport interface ProxyServiceInfoDc {\n /** Information about the layer attributes and their configuration. */\n layerDefinition?: LayerDefinitionDc;\n /**\n * Source system type, e.g. \"ArcGIS\".\n * @minLength 1\n */\n sourceType: string;\n /**\n * Source url path. Like http://sampleserver1.arcgisonline.com/ArcGIS/rest/services/Specialty/SuperTuesdaySample/MapServer.\n * @minLength 1\n */\n sourceUrl: string;\n /** Names of layers to include in proxy layer (can be numbers). */\n layers: string[];\n /** Data contract for layer legend. */\n legend?: ProxyLayerLegendDc;\n /** Copyright text. */\n copyrightText?: string;\n /** Client data storage. Storage isn't used by server. */\n clientData?: any;\n /** Client style data storage. Storage isn't used by server. */\n clientStyle?: any;\n /** Card configuration. Storage isn't used by server. */\n cardConfiguration?: any;\n /**\n * The type of the resource.\n * @minLength 1\n */\n type: string;\n /**\n * Minimum resolution that this service will be rendered on. If no resolution limits are set for the top-level\n * style of the service, or if no such property is available for this type of the service, 0 is returned.\n * @format double\n */\n minResolution?: number;\n /**\n * Maximum resolution that this service will be rendered on. If no resolution limits are set for the top-level\n * style of the service, or if no such property is available for this type of the service, 0 is returned.\n * @format double\n */\n maxResolution?: number;\n /**\n * Filtering condition for the objects in the service. If no condition set or if no such property is available\n * for the given service type, null is returned.\n */\n condition?: string;\n /**\n *\n *\n * unknown\n *\n * point\n *\n * polyline\n *\n * polygon\n *\n * envelope\n *\n * multipoint\n *\n * line\n *\n * ring\n *\n * multipolygon\n *\n * collection\n */\n geometryType: GeometryType;\n /**\n * Number of objects in the layer. If the count cannot be calculated or the layer does not contain objects,\n * 0 is returned.\n * @format int32\n */\n objectCount?: number;\n /** The category of the service. */\n categories?: string[];\n /** Configuration of the service. */\n configuration?:\n | LinearServiceConfigurationDc\n | PbfServiceConfigurationDc\n | PostgresTileCatalogServiceConfigurationDc\n | ProxyServiceConfigurationDc\n | PythonServiceConfigurationDc\n | QueryLayerServiceConfigurationDc\n | RemoteTileServiceConfigurationDc\n | RouteServiceConfigurationDc;\n /**\n * Name of the resource including its namespaces (names of the service managers that contain this service).\n * @minLength 1\n */\n name: string;\n /** Resource alias. */\n alias?: string;\n /** Resource owner. */\n owner?: string;\n /** Resource description. */\n description?: string;\n /**\n * The date when resource was created.\n * @format date-time\n */\n createdDate?: string;\n /**\n * The date when resource was last modified.\n * @format date-time\n */\n changedDate?: string;\n /**\n *\n *\n * none\n *\n * configure\n *\n * write\n *\n * read\n *\n * read,configure\n *\n * read,write\n *\n * read,write,configure\n */\n permissions?: Permissions;\n /** Access control list for a security object. */\n acl?: AccessControlListDc;\n /**\n * Base64 encoded image - icon of the resource. Usually shown next to the resource name in lists and legends.\n * @minLength 0\n * @maxLength 102400\n */\n icon?: string;\n /** Is set true resource is not visible in catalog. Can be changed only by owner or user with admin access. */\n invisibleInCatalog?: boolean;\n /** Parent id in resources catalog. */\n parentId?: string;\n /** Resource id in resources catalog. */\n resourceId?: string;\n /** Resource tags. */\n tags?: string[];\n}\n\n/**\n * Configuration for the python service.\n */\nexport type PythonServiceConfigurationDc = ProxyServiceConfigurationDc & {\n /** PythonResourceId. */\n pythonResourceId?: string | null;\n /** Description python script method. */\n layerDefinitionQuery?: PythonServiceMethodDc;\n /** Description python script method. */\n featuresQuery?: PythonServiceMethodDc;\n};\n\n/**\n * Service info for a mapbox service.\n */\nexport type PythonServiceInfoDc = ProxyServiceInfoDc & object;\n\n/**\n * Description python script method.\n */\nexport interface PythonServiceMethodDc {\n /** Python script file name. */\n fileName?: string;\n /** Python script method name. */\n methodName?: string;\n /** Python script default parameters. */\n parameters?: any;\n}\n\n/**\n * TaskMethodConfiguration.\n */\nexport interface PythonTaskMethodConfiguration {\n /** Gets or sets script file name. */\n fileName?: string;\n /** Gets or sets method. */\n methodName?: string;\n /** Gets or sets method init error. */\n error?: string;\n /** Gets or sets description. */\n description?: string;\n /** Parameters. */\n parameters?: TaskParameter[];\n /** TaskReturnType. */\n return?: TaskReturnType;\n}\n\n/**\n * PythonTaskMethodConfigurationDc.\n */\nexport type PythonTaskMethodConfigurationDc = TaskMethodConfigurationDc & {\n /** Gets or sets script file name. */\n fileName?: string | null;\n /** Gets or sets method. */\n method?: string | null;\n};\n\n/**\n* Stream quality.\n\nLow\n\nMedium\n\nHigh\n*/\nexport enum Quality {\n Low = \"Low\",\n Medium = \"Medium\",\n High = \"High\",\n}\n\n/**\n * Query geometry data contract.\n */\nexport interface QueryGeometryDc {\n /** Query geometry operation data contract. */\n operation?: QueryGeometryOperationDc;\n /** Geometry in EWKT format. */\n geometry?: string;\n}\n\n/**\n * Query geometry operation data contract.\n */\nexport interface QueryGeometryOperationDc {\n /** Function name. */\n name?: string;\n /**\n * Buffer size.\n * @format int32\n */\n buffer?: number;\n /** Additional parameters. */\n parameters?: any[];\n}\n\n/**\n * Query history data contract.\n */\nexport interface QueryHistoryDc {\n /**\n * Date and time of request.\n * @format date-time\n */\n dt?: string;\n /**\n * Date and time of request started.\n * @format int64\n */\n elapsedMilliseconds?: number;\n /** Request owner. */\n owner?: string;\n /**\n * Returned rows.\n * @format int64\n */\n rowsCount?: number;\n /**\n * Total rows count.\n * @format int64\n */\n rowsTotalCount?: number;\n /** EQL requst data contract. */\n request?: EqlRequestDc;\n}\n\n/**\n * Configuration of a postgres feature layer service.\n */\nexport type QueryLayerServiceConfigurationDc = ServiceConfigurationBaseDc & {\n /** Data source name. */\n ds?: string | null;\n /** Additional data source connection. */\n additionalDsConnections?: AdditionalDataSourceConnectionDc[] | null;\n /** EQL query. */\n eql?: string | null;\n /** Saved query id. */\n queryId?: string | null;\n /** EQL parameters. */\n eqlParameters?: Record<string, QueryLayerServiceEqlParameterConfigurationDc>;\n /**\n * Spatial reference identifier type in geometry type column.\n * @format int32\n */\n srId?: number | null;\n /**\n *\n *\n * Unknown\n *\n * String\n *\n * Int32\n *\n * Int64\n *\n * Double\n *\n * DateTime\n *\n * Boolean\n *\n * Point\n *\n * LineString\n *\n * Polygon\n *\n * Multipoint\n *\n * Polyline\n *\n * H3Index\n *\n * Json\n *\n * MultiPolygon\n *\n * GeometryCollection\n */\n geometryType?: AttributeType;\n /** Configuration of the attribute set in a feature layer. */\n attributesConfiguration?: EqlAttributesConfigurationDc;\n /** Client style data storage. Storage isn't used by server. */\n clientStyle?: any;\n /** Condition to filter returned features. */\n condition?: string | null;\n /**\n * Maximum number of features, that the service can return in a single request.\n * @format int32\n */\n featuresLimit?: number;\n /** Simplify configuration information. */\n simplify?: SimplifyInfoDc;\n /** Tile geometry clipping configuration data contract. */\n clipping?: ClippingInfoDc;\n /** Create a table to use if it doesn't exists. */\n createTable?: boolean;\n};\n\n/**\n * EQL parameter configuration data contract.\n */\nexport interface QueryLayerServiceEqlParameterConfigurationDc {\n /**\n *\n *\n * Unknown\n *\n * String\n *\n * Int32\n *\n * Int64\n *\n * Double\n *\n * DateTime\n *\n * Boolean\n *\n * Point\n *\n * LineString\n *\n * Polygon\n *\n * Multipoint\n *\n * Polyline\n *\n * H3Index\n *\n * Json\n *\n * MultiPolygon\n *\n * GeometryCollection\n */\n type?: AttributeType;\n /** Is array type. */\n isArray?: boolean;\n /** Parameter alias. */\n alias?: string;\n /** Description. */\n description?: string;\n /** Name of the column containing the value. */\n valueColumn?: string;\n /** Name of the column containing the description. */\n descriptionColumn?: string;\n /** Data source name. */\n ds?: string;\n /** Additional data source connection. */\n additionalDsConnections?: AdditionalDataSourceConnectionDc[];\n /** Query text. */\n query?: string;\n /** Available values. */\n availableValues?: any[];\n /** Default value. */\n default?: any;\n /** EQL value from query configuration parameter data contract. */\n queryValue?: QueryLayerServiceEqlParameterQueryValueConfigurationDc;\n}\n\n/**\n * EQL value from query configuration parameter data contract.\n */\nexport interface QueryLayerServiceEqlParameterQueryValueConfigurationDc {\n /** Is values cached. */\n isCached?: boolean;\n /** Use only first value, not array. */\n isSingleValue?: boolean;\n /** Name of the column containing the value. */\n valueColumn?: string;\n /** Query text. */\n ds?: string;\n /** Additional data source connection. */\n additionalDsConnections?: AdditionalDataSourceConnectionDc[];\n /** Query text. */\n query?: string;\n}\n\n/**\n * Service info for a feature layer service.\n */\nexport interface QueryLayerServiceInfoDc {\n /** Information about the layer attributes and their configuration. */\n layerDefinition: LayerDefinitionDc;\n /** Provides data source type. */\n dataSourceType?: string;\n /** Copyright text. */\n copyrightText?: string;\n /** Client data storage. Storage isn't used by server. */\n clientData?: any;\n /** Client style data storage. Storage isn't used by server. */\n clientStyle?: any;\n /** Card configuration. Storage isn't used by server. */\n cardConfiguration?: any;\n /**\n * The type of the resource.\n * @minLength 1\n */\n type: string;\n /**\n * Minimum resolution that this service will be rendered on. If no resolution limits are set for the top-level\n * style of the service, or if no such property is available for this type of the service, 0 is returned.\n * @format double\n */\n minResolution?: number;\n /**\n * Maximum resolution that this service will be rendered on. If no resolution limits are set for the top-level\n * style of the service, or if no such property is available for this type of the service, 0 is returned.\n * @format double\n */\n maxResolution?: number;\n /**\n * Filtering condition for the objects in the service. If no condition set or if no such property is available\n * for the given service type, null is returned.\n */\n condition?: string;\n /**\n *\n *\n * unknown\n *\n * point\n *\n * polyline\n *\n * polygon\n *\n * envelope\n *\n * multipoint\n *\n * line\n *\n * ring\n *\n * multipolygon\n *\n * collection\n */\n geometryType: GeometryType;\n /**\n * Number of objects in the layer. If the count cannot be calculated or the layer does not contain objects,\n * 0 is returned.\n * @format int32\n */\n objectCount?: number;\n /** The category of the service. */\n categories?: string[];\n /** Configuration of the service. */\n configuration?:\n | LinearServiceConfigurationDc\n | PbfServiceConfigurationDc\n | PostgresTileCatalogServiceConfigurationDc\n | ProxyServiceConfigurationDc\n | PythonServiceConfigurationDc\n | QueryLayerServiceConfigurationDc\n | RemoteTileServiceConfigurationDc\n | RouteServiceConfigurationDc;\n /**\n * Name of the resource including its namespaces (names of the service managers that contain this service).\n * @minLength 1\n */\n name: string;\n /** Resource alias. */\n alias?: string;\n /** Resource owner. */\n owner?: string;\n /** Resource description. */\n description?: string;\n /**\n * The date when resource was created.\n * @format date-time\n */\n createdDate?: string;\n /**\n * The date when resource was last modified.\n * @format date-time\n */\n changedDate?: string;\n /**\n *\n *\n * none\n *\n * configure\n *\n * write\n *\n * read\n *\n * read,configure\n *\n * read,write\n *\n * read,write,configure\n */\n permissions?: Permissions;\n /** Access control list for a security object. */\n acl?: AccessControlListDc;\n /**\n * Base64 encoded image - icon of the resource. Usually shown next to the resource name in lists and legends.\n * @minLength 0\n * @maxLength 102400\n */\n icon?: string;\n /** Is set true resource is not visible in catalog. Can be changed only by owner or user with admin access. */\n invisibleInCatalog?: boolean;\n /** Parent id in resources catalog. */\n parentId?: string;\n /** Resource id in resources catalog. */\n resourceId?: string;\n /** Resource tags. */\n tags?: string[];\n}\n\nexport interface QueryTokenDc {\n username?: string;\n token?: string;\n /** @format date-time */\n dtCreate?: string;\n /** @format date-time */\n validBefore?: string;\n /** @format date-time */\n revokeDt?: string;\n isActive?: boolean;\n}\n\n/**\n * RasterBandMetaDc.\n */\nexport interface RasterBandMetaDc {\n /** BandType. */\n bandType?: string;\n /**\n * ColorMin.\n * @format double\n */\n colorMin?: number;\n /**\n * ColorMax.\n * @format double\n */\n colorMax?: number;\n /**\n * Statistic mean.\n * @format double\n */\n mean?: number;\n /**\n * Statistic STDDEV.\n * @format double\n */\n stddev?: number;\n /**\n * Data step size converted to range 0-255.\n * @format double\n */\n dataSterSize?: number;\n /**\n * BucketCount.\n * @format int32\n */\n bucketCount?: number;\n /**\n * HistValueMin.\n * @format double\n */\n histValueMin?: number;\n /**\n * HistValueMax.\n * @format double\n */\n histValueMax?: number;\n /** Histogram. */\n histogram?: number[];\n /** Data histogram. */\n dataHistogram?: Record<string, number>;\n}\n\n/**\n * RasterMetaDc.\n */\nexport interface RasterMetaDc {\n /** Layer name. */\n layerName?: string;\n /**\n * Width.\n * @format int32\n */\n width?: number;\n /**\n * Height.\n * @format int32\n */\n height?: number;\n /**\n * BandCount.\n * @format int32\n */\n bandCount?: number;\n /**\n * Raster size in bytes.\n * @format int64\n */\n rasterSizeInBytes?: number;\n /** BoundingBox. */\n boundingBox?: number[];\n /**\n * Spatial reference.\n * @format int32\n */\n srId?: number;\n /** Bands. */\n bands?: RasterBandMetaDc[];\n}\n\n/**\n * Refresh token request data contract.\n */\nexport interface RefreshTokenDc {\n /** Refresh token. */\n refreshToken?: string;\n}\n\n/**\n * Create client data contract.\n */\nexport interface RegisterClientRequestDc {\n /**\n * Name of the client.\n * @minLength 1\n */\n client_name: string;\n /**\n * Redirect uri.\n * @minLength 1\n */\n redirect_uri: string;\n /** Client uri. */\n client_uri?: string;\n}\n\n/**\n * Create client response dc.\n */\nexport interface RegisterClientResponseDc {\n /**\n * Client id.\n * @format uuid\n */\n client_id?: string;\n /** Client secret. */\n secret?: string;\n /** Client name. */\n client_name?: string;\n}\n\n/**\n * Data contract for register new user.\n */\nexport interface RegisterUserDc {\n /** Username. */\n username?: string;\n /**\n * Email.\n * @format email\n */\n email?: string;\n /** Phone number. */\n phone?: string;\n /** Password. */\n password?: string;\n /** First name. */\n first_name?: string;\n /** Last name. */\n last_name?: string;\n /** Patronymic. */\n patronymic?: string;\n /** Gets or sets company. */\n company?: string;\n /** Has newsletter subscription. */\n is_subscribed?: boolean;\n}\n\n/**\n* \n\nInit\n\nProcess\n\nCompleted\n\nInterrupted\n\nError\n\nTimeout\n\nWaiting\n\nInQueue\n\nUnknown\n*/\nexport enum RemoteTaskStatus {\n Init = \"Init\",\n Process = \"Process\",\n Completed = \"Completed\",\n Interrupted = \"Interrupted\",\n Error = \"Error\",\n Timeout = \"Timeout\",\n Waiting = \"Waiting\",\n InQueue = \"InQueue\",\n Unknown = \"Unknown\",\n}\n\n/**\n * Configuration for the remote tile service.\n */\nexport type RemoteTileServiceConfigurationDc = ServiceConfigurationBaseDc & {\n /** Tile info structure. */\n tileInfo?: TileInfoDc;\n /**\n * SourceBatch url mask. Like http://{0}.website.ru/{1}/{2}/{3}.png\n * Where: {0} - SubDomains, {1} - Z, {2} - X, {3} - Y.\n * @minLength 1\n */\n urlFormat: string;\n /**\n * Max tile count for caching.\n * @format int32\n * @default 50000\n */\n tileCacheLimit?: number;\n /** If set true cache tiles in redis cache. */\n useRedisCache?: boolean;\n /**\n * Amount of time cache expire in seconds.\n * @format int32\n */\n cacheExpire?: number;\n /**\n * Subdomains. To get tiles from different servers.\n * Will be inserted into the UrlFormat {0}.\n */\n subDomains?: string[] | null;\n /** Allows the client to receive tiles directly from the source server. */\n allowDirectAccess?: boolean;\n /** @format int32 */\n RequestTimeout?: number;\n /** Use proxy HttpClient. */\n useProxyHttpClient?: boolean;\n};\n\n/**\n * Service info for a tile service.\n */\nexport interface RemoteTileServiceInfoDc {\n /** Tile info structure. */\n tileInfo: TileInfoDc;\n /** Copyright text. */\n copyrightText?: string;\n /** SourceBatch server address. */\n sourceUrl?: string;\n /** Mask for getting tiles in default form www.{s}.tiles.com/{z}/{x}/{y}.png. */\n sourceUrlMask?: string;\n /** SourceBatch servers, what can be placed at source url mask, instead {s}. */\n sourceServers?: string[];\n /** Client data storage. Storage isn't used by server. */\n clientData?: any;\n /** Card configuration. Storage isn't used by server. */\n cardConfiguration?: any;\n /**\n * The type of the resource.\n * @minLength 1\n */\n type: string;\n /**\n * Minimum resolution that this service will be rendered on. If no resolution limits are set for the top-level\n * style of the service, or if no such property is available for this type of the service, 0 is returned.\n * @format double\n */\n minResolution?: number;\n /**\n * Maximum resolution that this service will be rendered on. If no resolution limits are set for the top-level\n * style of the service, or if no such property is available for this type of the service, 0 is returned.\n * @format double\n */\n maxResolution?: number;\n /**\n * Filtering condition for the objects in the service. If no condition set or if no such property is available\n * for the given service type, null is returned.\n */\n condition?: string;\n /**\n *\n *\n * unknown\n *\n * point\n *\n * polyline\n *\n * polygon\n *\n * envelope\n *\n * multipoint\n *\n * line\n *\n * ring\n *\n * multipolygon\n *\n * collection\n */\n geometryType: GeometryType;\n /**\n * Number of objects in the layer. If the count cannot be calculated or the layer does not contain objects,\n * 0 is returned.\n * @format int32\n */\n objectCount?: number;\n /** The category of the service. */\n categories?: string[];\n /** Configuration of the service. */\n configuration?:\n | LinearServiceConfigurationDc\n | PbfServiceConfigurationDc\n | PostgresTileCatalogServiceConfigurationDc\n | ProxyServiceConfigurationDc\n | PythonServiceConfigurationDc\n | QueryLayerServiceConfigurationDc\n | RemoteTileServiceConfigurationDc\n | RouteServiceConfigurationDc;\n /**\n * Name of the resource including its namespaces (names of the service managers that contain this service).\n * @minLength 1\n */\n name: string;\n /** Resource alias. */\n alias?: string;\n /** Resource owner. */\n owner?: string;\n /** Resource description. */\n description?: string;\n /**\n * The date when resource was created.\n * @format date-time\n */\n createdDate?: string;\n /**\n * The date when resource was last modified.\n * @format date-time\n */\n changedDate?: string;\n /**\n *\n *\n * none\n *\n * configure\n *\n * write\n *\n * read\n *\n * read,configure\n *\n * read,write\n *\n * read,write,configure\n */\n permissions?: Permissions;\n /** Access control list for a security object. */\n acl?: AccessControlListDc;\n /**\n * Base64 encoded image - icon of the resource. Usually shown next to the resource name in lists and legends.\n * @minLength 0\n * @maxLength 102400\n */\n icon?: string;\n /** Is set true resource is not visible in catalog. Can be changed only by owner or user with admin access. */\n invisibleInCatalog?: boolean;\n /** Parent id in resources catalog. */\n parentId?: string;\n /** Resource id in resources catalog. */\n resourceId?: string;\n /** Resource tags. */\n tags?: string[];\n}\n\n/**\n * Provides resource and its acl.\n */\nexport interface ResourceAclDc {\n /**\n * Name of the resource to apply acl.\n * @minLength 1\n */\n objectName: string;\n /** All available permissions list. */\n data: RolePermissionDc[];\n}\n\n/**\n * The `ResourceDependenciesDc` describes resource dependencies.\n */\nexport interface ResourceDependenciesDc {\n /**\n * Resource name.\n * @minLength 1\n */\n name: string;\n /** A collection of resource dependencies. */\n dependencies: DependentResourceDc[];\n}\n\n/**\n * The `ResourceInfoDc` provides information about resource.\n */\nexport interface ResourceInfoDc {\n /**\n * Name of the resource including its namespaces (names of the service managers that contain this service).\n * @minLength 1\n */\n name: string;\n /** Resource alias. */\n alias?: string;\n /** Resource owner. */\n owner?: string;\n /** Resource description. */\n description?: string;\n /**\n * The date when resource was created.\n * @format date-time\n */\n createdDate?: string;\n /**\n * The date when resource was last modified.\n * @format date-time\n */\n changedDate?: string;\n /**\n *\n *\n * none\n *\n * configure\n *\n * write\n *\n * read\n *\n * read,configure\n *\n * read,write\n *\n * read,write,configure\n */\n permissions?: Permissions;\n /** Access control list for a security object. */\n acl?: AccessControlListDc;\n /**\n * Base64 encoded image - icon of the resource. Usually shown next to the resource name in lists and legends.\n * @minLength 0\n * @maxLength 102400\n */\n icon?: string;\n /** Is set true resource is not visible in catalog. Can be changed only by owner or user with admin access. */\n invisibleInCatalog?: boolean;\n /** Parent id in resources catalog. */\n parentId?: string;\n /** Resource id in resources catalog. */\n resourceId?: string;\n /** Resource tags. */\n tags?: string[];\n}\n\n/**\n * Resource parent.\n */\nexport interface ResourceParentDc {\n /** Resource id. */\n resourceId?: string;\n /** Resource name. */\n name?: string;\n /** Resource path. */\n path?: string;\n}\n\n/**\n* Resources types filter.\n\nRemoteTileService\n\nProxyService\n\nQueryLayerService\n\nTileCatalogTable\n*/\nexport enum ResourceSubTypeFilter {\n RemoteTileService = \"RemoteTileService\",\n ProxyService = \"ProxyService\",\n QueryLayerService = \"QueryLayerService\",\n TileCatalogTable = \"TileCatalogTable\",\n}\n\n/**\n* \n\nUnknown\n\ntable\n\nlayer\n\nproject\n\nfile\n\nfeature\n\ntag\n\ndatasource\n*/\nexport enum ResourceType {\n Unknown = \"Unknown\",\n Table = \"table\",\n Layer = \"layer\",\n Project = \"project\",\n File = \"file\",\n Feature = \"feature\",\n Tag = \"tag\",\n DataSource = \"datasource\",\n}\n\n/**\n* Resources types filter.\n\nMap\n\nLayer\n\nTable\n\nRasterCatalog\n\nProxyService\n\nRemoteTileService\n\nFile\n\nDataSource\n\nTaskPrototype\n\nDirectory\n*/\nexport enum ResourceTypeFilter {\n Map = \"Map\",\n Layer = \"Layer\",\n Table = \"Table\",\n RasterCatalog = \"RasterCatalog\",\n ProxyService = \"ProxyService\",\n RemoteTileService = \"RemoteTileService\",\n File = \"File\",\n DataSource = \"DataSource\",\n TaskPrototype = \"TaskPrototype\",\n Directory = \"Directory\",\n}\n\nexport enum ResourceTypeLink {\n Table = \"tables\",\n Layer = \"layers\",\n Project = \"projects\",\n}\n\n/**\n* \n\ncode\n\ntoken\n*/\nexport enum ResponseType {\n Code = \"code\",\n Token = \"token\",\n}\n\n/**\n * Short role information.\n */\nexport interface RoleInfoDc {\n /** Username. */\n name?: string;\n /** Alias. */\n alias?: string;\n /** The number of users in the role. */\n users?: string[];\n /**\n * Gets or sets date and time of creation.\n * @format date-time\n */\n dtCreate?: string;\n /**\n * Gets or sets date and time of last modifing.\n * @format date-time\n */\n dtModify?: string;\n /**\n * Gets or sets id of modified user.\n * @format int32\n */\n idModifyUser?: number;\n}\n\n/**\n * Roles permission.\n */\nexport interface RolePermissionDc {\n /**\n * Role name.\n * @minLength 1\n */\n role: string;\n /**\n *\n *\n * none\n *\n * configure\n *\n * write\n *\n * read\n *\n * read,configure\n *\n * read,write\n *\n * read,write,configure\n */\n permissions: Permissions;\n}\n\n/**\n * Route service configuration Dc.\n */\nexport type RouteServiceConfigurationDc = ServiceConfigurationBaseDc & {\n /** Configuration of the attributes of the layer. */\n attributesConfiguration: AttributesConfigurationDc | EqlAttributesConfigurationDc;\n /** Client style data storage. Storage isn't used by server. */\n clientStyle?: any;\n /** Condition to filter returned features. */\n condition?: string | null;\n /**\n * Maximum number of features, that the service can return in a single request.\n * @format int32\n */\n featuresLimit?: number;\n};\n\n/**\n * RouteTableConfigurationDc.\n */\nexport type RouteTableConfigurationDc = TableConfigurationBaseDc & {\n type?: string | null;\n};\n\n/**\n * S3 data source settings.\n */\nexport type S3DataSourceDc = DataSourceDc & {\n /**\n *\n *\n * Postgres\n *\n * Trino\n *\n * S3\n *\n * GisServer\n *\n * Spark\n *\n * Archive\n */\n type?: DataSourceType;\n /** Endpoint. */\n endpoint?: string | null;\n /** Secret key. */\n secretKey?: string | null;\n /** Access key. */\n accessKey?: string | null;\n /** Region. */\n region?: string | null;\n /**\n * Port.\n * @format int32\n */\n port?: number | null;\n};\n\n/**\n * S3 data source info.\n */\nexport type S3DataSourceInfoDc = DataSourceInfoDc & {\n /** Endpoint. */\n endpoint?: string | null;\n /** Secret key. */\n secretKey?: string | null;\n /** Access key. */\n accessKey?: string | null;\n /** Region. */\n region?: string | null;\n};\n\n/**\n * SearchResults.\n */\nexport interface SearchResultsDtoTaskDto {\n /**\n * Count.\n * @format int64\n */\n count?: number;\n /** Results. */\n results?: TaskDto[];\n}\n\n/**\n * SearchResults.\n */\nexport interface SearchResultsDtoTaskPrototypeDto {\n /**\n * Count.\n * @format int64\n */\n count?: number;\n /** Results. */\n results?: TaskPrototypeDto[];\n}\n\n/**\n * Suggest user information.\n */\nexport interface SearchedUserDc {\n /** Username. */\n username?: string;\n /** Own user role. */\n ownRole?: string;\n /** Photo. */\n photo?: string;\n}\n\n/**\n * Common fields for service configurations.\n */\nexport interface ServiceConfigurationBaseDc {\n /**\n * Name of the service.\n * @minLength 1\n */\n name: string;\n /** Human friendly name of the service. */\n alias?: string;\n /** Description of the service. */\n description?: string;\n /** Access control list for a security object. */\n acl?: AccessControlListDc;\n /**\n * Base64 encoded image - icon of the resource.\n * @minLength 0\n * @maxLength 102400\n */\n icon?: string;\n /**\n * If the owner user is set, a configuration will be created for that user.\n * Administrator permissions are required to perform this operation.\n */\n owner?: string;\n /** Copyright text. */\n copyrightText?: string;\n /** A set of layer tags. */\n tags?: string[];\n /** Is set true resource is not visible in catalog. Can be changed only by owner or user with admin access. */\n invisibleInCatalog?: boolean;\n /** Client data storage. Storage isn't used by server. */\n clientData?: any;\n /** Card configuration. Storage isn't used by server. */\n cardConfiguration?: any;\n /** Parent resource id. */\n parentId?: string;\n}\n\n/**\n * The `ServiceInfoDc` provides information about the service.\n */\nexport type ServiceInfoDc = ResourceInfoDc & {\n /**\n * The type of the resource.\n * @minLength 1\n */\n type: string;\n /**\n * Minimum resolution that this service will be rendered on. If no resolution limits are set for the top-level\n * style of the service, or if no such property is available for this type of the service, 0 is returned.\n * @format double\n */\n minResolution?: number;\n /**\n * Maximum resolution that this service will be rendered on. If no resolution limits are set for the top-level\n * style of the service, or if no such property is available for this type of the service, 0 is returned.\n * @format double\n */\n maxResolution?: number;\n /**\n * Filtering condition for the objects in the service. If no condition set or if no such property is available\n * for the given service type, null is returned.\n */\n condition?: string | null;\n /**\n *\n *\n * unknown\n *\n * point\n *\n * polyline\n *\n * polygon\n *\n * envelope\n *\n * multipoint\n *\n * line\n *\n * ring\n *\n * multipolygon\n *\n * collection\n */\n geometryType: GeometryType;\n /**\n * Number of objects in the layer. If the count cannot be calculated or the layer does not contain objects,\n * 0 is returned.\n * @format int32\n */\n objectCount?: number;\n /** The category of the service. */\n categories?: string[] | null;\n /** Configuration of the service. */\n configuration?:\n | LinearServiceConfigurationDc\n | PbfServiceConfigurationDc\n | PostgresTileCatalogServiceConfigurationDc\n | ProxyServiceConfigurationDc\n | PythonServiceConfigurationDc\n | QueryLayerServiceConfigurationDc\n | RemoteTileServiceConfigurationDc\n | RouteServiceConfigurationDc\n | null;\n};\n\n/**\n * An entry in the service list response.\n */\nexport interface ServiceListItemDc {\n /** Name of the resource. */\n name?: string;\n /** Type of the service. */\n type?: string;\n /** Alias of the resource. */\n alias?: string;\n /** Description of the resource. */\n description?: string;\n /** System name of the resource owner. */\n owner?: string;\n /** User name of the resource owner (human friendly name). */\n ownerName?: string;\n /**\n * The date and time the resource was created.\n * @format date-time\n */\n createdDate?: string;\n /**\n * The date and time the resource was modified the last time.\n * @format date-time\n */\n changedDate?: string;\n /**\n *\n *\n * none\n *\n * configure\n *\n * write\n *\n * read\n *\n * read,configure\n *\n * read,write\n *\n * read,write,configure\n */\n permissions?: Permissions;\n /**\n * Minimum resolution that this service will be rendered on. If no resolution limits are set for the top-level\n * style of the service, or if no such property is available for this type of the service, 0 is returned.\n * @format double\n */\n minResolution?: number;\n /**\n * Maximum resolution that this service will be rendered on. If no resolution limits are set for the top-level\n * style of the service, or if no such property is available for this type of the service, 0 is returned.\n * @format double\n */\n maxResolution?: number;\n /**\n * Filtering condition for the objects in the service. If no condition set or if no such property is available\n * for the given service type, null is returned.\n */\n condition?: string;\n /**\n *\n *\n * unknown\n *\n * point\n *\n * polyline\n *\n * polygon\n *\n * envelope\n *\n * multipoint\n *\n * line\n *\n * ring\n *\n * multipolygon\n *\n * collection\n */\n geometryType?: GeometryType;\n /** Provides data source type info. */\n dataSourceType?: string;\n /** A set of tags. */\n tags?: string[];\n /** Envelope geometry. */\n envelope?: EnvelopeDc;\n /** Is set true resource is not visible in catalog. Can be changed only by owner or user with admin access. */\n invisibleInCatalog?: boolean;\n}\n\n/**\n * Simplify configuration information.\n */\nexport interface SimplifyInfoDc {\n /** Snap grid cell size by scale. */\n scaleItems?: Record<string, SimplifyInfoItemDc>;\n}\n\n/**\n * Simplify configuration information.\n */\nexport interface SimplifyInfoItemDc {\n /**\n *\n *\n * Basic\n *\n * PreserveTopology\n *\n * VW\n */\n simplifyType?: SimplifyType;\n /**\n * Tolerance.\n * @format float\n */\n simplifyTolerance?: number;\n /** The \"preserve collapsed\" flag will retain objects that would otherwise be too small given the tolerance. */\n simplifyPreserveCollapsed?: boolean;\n /**\n * Snap grid cell size.\n * @format double\n */\n snapCellSize?: number;\n}\n\n/**\n* \n\nBasic\n\nPreserveTopology\n\nVW\n*/\nexport enum SimplifyType {\n Basic = \"Basic\",\n PreserveTopology = \"PreserveTopology\",\n VW = \"VW\",\n}\n\n/**\n * User social network information.\n */\nexport interface SocialNetworkInfoDc {\n /** External user identificator. */\n userId?: string;\n /** External provider name. */\n providerName?: string;\n}\n\n/**\n * SpTaskMethodConfiguration.\n */\nexport interface SpTaskMethodConfiguration {\n /** Gets or sets method. */\n method?: string;\n /** Gets or sets description. */\n description?: string;\n /** Parameters. */\n parameters?: TaskParameter[];\n /** TaskReturnType. */\n return?: TaskReturnType;\n}\n\n/**\n * SpTaskMethodConfiguration.\n */\nexport type SpTaskMethodConfigurationDc = TaskMethodConfigurationDc & {\n /** Gets or sets method. */\n method?: string | null;\n};\n\n/**\n * Postgres connection data source connection.\n */\nexport type SparkDataSourceDc = DataSourceDc & {\n /**\n *\n *\n * Postgres\n *\n * Trino\n *\n * S3\n *\n * GisServer\n *\n * Spark\n *\n * Archive\n */\n type?: DataSourceType;\n /** Endpoint. */\n endpoint?: string | null;\n /** User name. */\n userName?: string | null;\n /** Bearer token. */\n token?: string | null;\n};\n\n/**\n * Postgres data source info.\n */\nexport type SparkDataSourceInfoDc = DataSourceInfoDc & {\n /** Endpoint. */\n endpoint?: string | null;\n /** User name. */\n username?: string | null;\n /** Bearer token. */\n token?: string | null;\n};\n\n/**\n * Spatial reference information data contract.\n */\nexport interface SrInfo {\n /** Auth name. */\n authName?: string;\n /**\n * Code.\n * @format int32\n */\n code?: number;\n /** Name. */\n name?: string;\n}\n\n/**\n * Statistics result.\n */\nexport interface StatisticsDc {\n /** Statistics result. */\n statisticsResult: StatisticsResultObject[];\n}\n\n/**\n * Statistics result.\n */\nexport interface StatisticsResultObject {\n /**\n *\n *\n * None\n *\n * Array\n *\n * Min\n *\n * Max\n *\n * Avg\n *\n * Sum\n *\n * Extent\n *\n * H3\n *\n * Count\n *\n * TotalCount\n *\n * DistinctCount\n *\n * First\n *\n * Last\n *\n * Median\n *\n * Mod\n *\n * StdDeviation\n *\n * SumOfProduct\n *\n * OnlyValue\n *\n * WeightedAvg\n *\n * DensityIndicators\n *\n * DividedSum\n */\n type?: AggregationFunction;\n /** Value. */\n value?: any;\n}\n\n/**\n* \n\nNone\n\nImage\n\nPkkCode\n\nAttachments\n*/\nexport enum StringSubType {\n None = \"None\",\n Image = \"Image\",\n PkkCode = \"PkkCode\",\n Attachments = \"Attachments\",\n}\n\n/**\n * SubTaskSettingsDto.\n */\nexport interface SubTaskSettingsDto {\n /**\n * Order.\n * @format int32\n */\n order?: number;\n /** Type. */\n type?: string;\n /** StartParameters. */\n startParameters?: any;\n}\n\n/**\n * SubTasksDto.\n */\nexport interface SubTasksDto {\n /**\n * Id.\n * @format uuid\n */\n id?: string;\n /**\n * Order.\n * @format int32\n */\n order?: number;\n /** Type. */\n type?: string;\n /**\n * Started.\n * @format date-time\n */\n started?: string;\n /**\n * Ended.\n * @format date-time\n */\n ended?: string;\n /**\n *\n *\n * Init\n *\n * Process\n *\n * Completed\n *\n * Interrupted\n *\n * Error\n *\n * Timeout\n *\n * Waiting\n *\n * InQueue\n *\n * Unknown\n */\n status?: RemoteTaskStatus;\n /**\n * Process.\n * @format int64\n */\n process?: number;\n /**\n * Max.\n * @format int64\n */\n max?: number;\n /** ErrorMessage. */\n errorMessage?: string;\n /** Results. */\n results?: Record<string, any>;\n}\n\n/**\n * Symbol category data contract.\n */\nexport interface SymbolCategoryInfoDc {\n /**\n * Id.\n * @format int32\n */\n id?: number;\n /** Name. */\n name?: string;\n /**\n * Parent category id.\n * @format int32\n */\n parentId?: number;\n}\n\n/**\n * Symbols.\n */\nexport interface SymbolInfoDc {\n /**\n * Primary key.\n * @format int32\n */\n id?: number;\n /** Symbol name. */\n name?: string;\n /** Symbol type. */\n type?: string;\n /** Symbol geometry type. */\n geometryType?: string;\n /** Is substrate symbol. */\n form?: boolean;\n /** Symbol data. */\n data?: string;\n /**\n * Symbol category id.\n * @format int32\n */\n categoryId?: number;\n}\n\n/**\n * Common fields for table configurations.\n */\nexport interface TableConfigurationBaseDc {\n /** Type of the configuration. */\n type?: string;\n}\n\n/**\n * Table description.\n */\nexport type TableInfoDc = ResourceInfoDc & {\n /** System table name. */\n systemName?: string | null;\n /**\n * Row count.\n * @format int64\n */\n rowCount?: number;\n /** The geometry of the table. */\n geometries?: GeometryType[] | null;\n /** The type of the table. */\n type?: string | null;\n /** Configuration of the table. */\n configuration?:\n | DefaultTableConfigurationDc\n | MaterializedViewConfigurationDc\n | RouteTableConfigurationDc\n | TileCatalogTableConfigurationDc\n | ViewConfigurationDc\n | null;\n};\n\n/**\n * Tags filter.\n */\nexport interface TagsFilterDc {\n /** Tags set. */\n tags?: string[];\n /**\n * AND vs OR. The AND operator displays a record if all the conditions are TRUE.\n * The OR operator displays a record if any of the conditions are TRUE.\n */\n useAnd?: boolean;\n}\n\n/**\n * TaskConfigurationDc.\n */\nexport interface TaskConfigurationDc {\n /**\n * TaskPrototypeSubType.\n *\n * SpTask\n *\n * PythonTask\n */\n taskResourceSubType?: TaskResourceSubType;\n /** TaskType. */\n taskType?: string;\n /** Description. */\n description?: string;\n /** ImportMethods. */\n importMethods?: string[];\n /** UserConfiguration. */\n userConfiguration?: (PythonTaskMethodConfigurationDc | SpTaskMethodConfigurationDc)[];\n /** DefaultConfiguration. */\n defaultConfiguration?: (PythonTaskMethodConfigurationDc | SpTaskMethodConfigurationDc)[];\n /** User ui configuration. */\n uiConfiguration?: any;\n}\n\n/**\n * TaskDto.\n */\nexport interface TaskDto {\n /**\n * Id.\n * @format uuid\n */\n id?: string;\n /**\n *\n *\n * Init\n *\n * Process\n *\n * Completed\n *\n * Interrupted\n *\n * Error\n *\n * Timeout\n *\n * Waiting\n *\n * InQueue\n *\n * Unknown\n */\n status?: RemoteTaskStatus;\n /**\n * Started.\n * @format date-time\n */\n started?: string;\n /**\n * Ended.\n * @format date-time\n */\n ended?: string;\n /** ForceExecution. */\n forceExecution?: boolean;\n}\n\n/**\n * TaskMethodConfiguration.\n */\nexport interface TaskMethodConfigurationDc {\n /** Gets or sets description. */\n description?: string;\n /** Parameters. */\n parameters?: TaskParameterDc[];\n /** TaskReturnType. */\n return?: TaskReturnType;\n}\n\n/**\n * TaskParameter.\n */\nexport interface TaskParameter {\n /** Name. */\n name?: string;\n /** Gets or sets description. */\n description?: string;\n /**\n *\n *\n * Int32\n *\n * Int64\n *\n * Double\n *\n * String\n *\n * Boolean\n *\n * DateTime\n *\n * Point\n *\n * Geometry\n *\n * Polyline\n *\n * MultiPolygon\n *\n * Polygon\n *\n * Multipoint\n *\n * IntergerArray\n *\n * DoubleArray\n *\n * StringArray\n *\n * SourceEql\n *\n * Layer\n *\n * Table\n *\n * Folder\n *\n * Json\n *\n * Attribute\n *\n * AttributeArray\n */\n type?: WorkerSettingsFieldType;\n /** Lookup values. */\n lookupValues?: Record<string, string | null>;\n /** ChildrenFields. */\n childrenFields?: Record<string, WorkerSettingsField[] | null>;\n /** Default value. */\n default?: any;\n /** TaskParameterRange. */\n range?: TaskParameterRange;\n /** Nullable. */\n nullable?: boolean;\n}\n\n/**\n * TaskParameterDc.\n */\nexport interface TaskParameterDc {\n /** Name. */\n name?: string;\n /** Gets or sets description. */\n description?: string;\n /**\n *\n *\n * Int32\n *\n * Int64\n *\n * Double\n *\n * String\n *\n * Boolean\n *\n * DateTime\n *\n * Point\n *\n * Geometry\n *\n * Polyline\n *\n * MultiPolygon\n *\n * Polygon\n *\n * Multipoint\n *\n * IntergerArray\n *\n * DoubleArray\n *\n * StringArray\n *\n * SourceEql\n *\n * Layer\n *\n * Table\n *\n * Folder\n *\n * Json\n *\n * Attribute\n *\n * AttributeArray\n */\n type?: WorkerSettingsFieldType;\n /** Lookup values. */\n lookupValues?: Record<string, string | null>;\n /** ChildrenFields. */\n childrenFields?: Record<string, WorkerSettingsField[] | null>;\n /** Default value. */\n default?: any;\n /** TaskParameterRange. */\n range?: TaskParameterRange;\n /** Nullable. */\n nullable?: boolean;\n}\n\n/**\n * TaskParameterRange.\n */\nexport interface TaskParameterRange {\n /** Name. */\n min?: any;\n /** Name. */\n max?: any;\n}\n\n/**\n * TaskPrototypeDto.\n */\nexport interface TaskPrototypeDto {\n /**\n * Id.\n * @format uuid\n */\n id?: string;\n /** User. */\n user?: string;\n /**\n * CreatedAt.\n * @format date-time\n */\n createdAt?: string;\n /** SubTaskSettings. */\n subTaskSettings?: SubTaskSettingsDto[];\n /** Enabled. */\n enabled?: boolean;\n /** StartIfPreviousError. */\n startIfPreviousError?: boolean;\n /** StartIfPreviousNotFinished. */\n startIfPreviousNotFinished?: boolean;\n /**\n * DelayDate.\n * @format date-time\n */\n delayDate?: string;\n /** Schedule. */\n schedule?: string;\n /**\n * Tasks count.\n * @format int32\n */\n tasksCount?: number;\n /**\n *\n *\n * Init\n *\n * Process\n *\n * Completed\n *\n * Interrupted\n *\n * Error\n *\n * Timeout\n *\n * Waiting\n *\n * InQueue\n *\n * Unknown\n */\n lastTaskStatus?: RemoteTaskStatus;\n /**\n * Last task finish.\n * @format date-time\n */\n lastTaskFinish?: string;\n}\n\n/**\n * TaskPythonResourceUpdateDto.\n */\nexport interface TaskPythonResourceUpdateDto {\n /** Configurations. */\n configurations?: PythonTaskMethodConfiguration[];\n /** User ui configuration. */\n uiConfiguration?: any;\n}\n\n/**\n * TaskResourceCreateDto.\n */\nexport interface TaskResourceCreateDto {\n /** SystemName. */\n systemName?: string;\n /**\n * TaskPrototypeSubType.\n *\n * SpTask\n *\n * PythonTask\n */\n subType?: TaskResourceSubType;\n /** Task type. */\n taskType?: string;\n /** Import methods. */\n importMethods?: string[];\n /** Name. */\n name?: string;\n /** ParentId. */\n parentId?: string;\n /** Description. */\n description?: string;\n /** Tags. */\n tags?: string[];\n}\n\n/**\n* TaskPrototypeSubType.\n\nSpTask\n\nPythonTask\n*/\nexport enum TaskResourceSubType {\n SpTask = \"SpTask\",\n PythonTask = \"PythonTask\",\n}\n\n/**\n * TaskReturnType.\n */\nexport interface TaskReturnType {\n /** Gets or sets description. */\n description?: string;\n /**\n *\n *\n * Int32\n *\n * Int64\n *\n * Double\n *\n * String\n *\n * Boolean\n *\n * DateTime\n *\n * Point\n *\n * Geometry\n *\n * Polyline\n *\n * MultiPolygon\n *\n * Polygon\n *\n * Multipoint\n *\n * IntergerArray\n *\n * DoubleArray\n *\n * StringArray\n *\n * SourceEql\n *\n * Layer\n *\n * Table\n *\n * Folder\n *\n * Json\n *\n * Attribute\n *\n * AttributeArray\n */\n type?: WorkerSettingsFieldType;\n /** Name. */\n default?: any;\n /** Name. */\n nullable?: boolean;\n}\n\n/**\n * TaskSpResourceUpdateDto.\n */\nexport interface TaskSpResourceUpdateDto {\n /** Configurations. */\n configurations?: SpTaskMethodConfiguration[];\n /** User ui configuration. */\n uiConfiguration?: any;\n}\n\n/**\n * Test connection data contract.\n */\nexport interface TestConnectionInfoDc {\n /** Check if connection succeed. */\n isSuccess?: boolean;\n /** Message. */\n message?: string;\n}\n\n/**\n * Service info for a tile catalog layer service.\n */\nexport interface TileCatalogServiceInfoDc {\n /** Information about the layer attributes and their configuration. */\n layerDefinition: LayerDefinitionDc;\n /** Tile info structure. */\n tileInfo: TileInfoDc;\n /** Copyright text. */\n copyrightText?: string;\n /** Client data storage. Storage isn't used by server. */\n clientData?: any;\n /** Card configuration. Storage isn't used by server. */\n cardConfiguration?: any;\n /**\n * The type of the resource.\n * @minLength 1\n */\n type: string;\n /**\n * Minimum resolution that this service will be rendered on. If no resolution limits are set for the top-level\n * style of the service, or if no such property is available for this type of the service, 0 is returned.\n * @format double\n */\n minResolution?: number;\n /**\n * Maximum resolution that this service will be rendered on. If no resolution limits are set for the top-level\n * style of the service, or if no such property is available for this type of the service, 0 is returned.\n * @format double\n */\n maxResolution?: number;\n /**\n * Filtering condition for the objects in the service. If no condition set or if no such property is available\n * for the given service type, null is returned.\n */\n condition?: string;\n /**\n *\n *\n * unknown\n *\n * point\n *\n * polyline\n *\n * polygon\n *\n * envelope\n *\n * multipoint\n *\n * line\n *\n * ring\n *\n * multipolygon\n *\n * collection\n */\n geometryType: GeometryType;\n /**\n * Number of objects in the layer. If the count cannot be calculated or the layer does not contain objects,\n * 0 is returned.\n * @format int32\n */\n objectCount?: number;\n /** The category of the service. */\n categories?: string[];\n /** Configuration of the service. */\n configuration?:\n | LinearServiceConfigurationDc\n | PbfServiceConfigurationDc\n | PostgresTileCatalogServiceConfigurationDc\n | ProxyServiceConfigurationDc\n | PythonServiceConfigurationDc\n | QueryLayerServiceConfigurationDc\n | RemoteTileServiceConfigurationDc\n | RouteServiceConfigurationDc;\n /**\n * Name of the resource including its namespaces (names of the service managers that contain this service).\n * @minLength 1\n */\n name: string;\n /** Resource alias. */\n alias?: string;\n /** Resource owner. */\n owner?: string;\n /** Resource description. */\n description?: string;\n /**\n * The date when resource was created.\n * @format date-time\n */\n createdDate?: string;\n /**\n * The date when resource was last modified.\n * @format date-time\n */\n changedDate?: string;\n /**\n *\n *\n * none\n *\n * configure\n *\n * write\n *\n * read\n *\n * read,configure\n *\n * read,write\n *\n * read,write,configure\n */\n permissions?: Permissions;\n /** Access control list for a security object. */\n acl?: AccessControlListDc;\n /**\n * Base64 encoded image - icon of the resource. Usually shown next to the resource name in lists and legends.\n * @minLength 0\n * @maxLength 102400\n */\n icon?: string;\n /** Is set true resource is not visible in catalog. Can be changed only by owner or user with admin access. */\n invisibleInCatalog?: boolean;\n /** Parent id in resources catalog. */\n parentId?: string;\n /** Resource id in resources catalog. */\n resourceId?: string;\n /** Resource tags. */\n tags?: string[];\n}\n\n/**\n * Configuration of a table for tile catalog layer.\n */\nexport type TileCatalogTableConfigurationDc = TableConfigurationBaseDc & {\n type?: string | null;\n};\n\n/**\n * Tile geometry clipping information data contract.\n */\nexport interface TileGeometryClippingInfoDc {\n /**\n * Buffer size in tile coordinate space for geometry clippig. Defaults to 256.\n * @format int32\n */\n buffer?: number;\n /** Control if geometries are clipped or encoded as-is. Defaults to true. */\n clipGeometry?: boolean;\n}\n\n/**\n * Tile info structure.\n */\nexport interface TileInfoDc {\n /** The zero point of the coordinates from which tiles are counted. */\n origin?: number[];\n /** Bounding rectangle of the schema. */\n boundingRectangle?: number[];\n /** If true, positive side of 'Y' coordinate, will be in the reverse side. */\n reversedY?: boolean;\n /**\n * The dpi of the tiling schema.\n * @format int32\n */\n dpi?: number;\n /**\n * Height of each tile in pixels.\n * @format int32\n */\n height: number;\n /**\n * Height of each tile in pixels.\n * @format int32\n */\n width: number;\n /** Image format. */\n format?: string;\n /**\n * A list of subdomains.<example>a,b,c</example>. Subdomains are used to distribute tile requests across multiple servers.\n * <example> http://{subDomain}.evergis/{x}/{y}/{z}.png</example>.\n */\n tilesSubDomains?: string[];\n /**\n * Spatial reference.\n * @format int32\n */\n srId?: number;\n /** List of levels of detail that define the tiling schema. */\n lods: LodInfo[];\n}\n\n/**\n * Access token request.\n */\nexport interface TokenRequestDc {\n /**\n *\n *\n * authorization_code\n *\n * refresh_token\n */\n grant_type: AuthorizationGrant;\n /**\n * Client id.\n * @format uuid\n */\n client_id: string;\n /**\n * Client secret.\n * @minLength 1\n */\n client_secret: string;\n /**\n * Authorization code.\n * @minLength 1\n */\n code: string;\n}\n\n/**\n * Token response.\n */\nexport interface TokenResponseDc {\n /** Access token. */\n access_token?: string;\n /**\n * Expires date.\n * @format date-time\n */\n expires_in?: string;\n /** Refresh token. */\n refresh_token?: string;\n}\n\n/**\n * Feature object definition for updating.\n */\nexport interface UpdateFeatureDc {\n /** Feature geometry definition. */\n geometry?:\n | EnvelopeDc\n | GeometryCollectionDc\n | LineStringDc\n | MultiPointDc\n | MultiPolygonDc\n | PointDc\n | PolygonDc\n | PolylineDc;\n /** Feature attributes collection. */\n attributes?: Record<string, any>;\n /** Feature unique identifier. */\n id?: string;\n}\n\n/**\n * Update role data contract.\n */\nexport interface UpdateRoleDc {\n /**\n * Previous role name.\n * @minLength 1\n */\n old_name: string;\n /**\n * Role name.\n * @minLength 1\n */\n name: string;\n /** Description. */\n description?: string;\n /** Alias. */\n alias?: string;\n}\n\n/**\n * Symbol category data contract.\n */\nexport interface UpdateSymbolCategoryDc {\n /** Name. */\n name?: string;\n /**\n * Parent category id.\n * @format int32\n */\n parentId?: number;\n}\n\n/**\n * Symbols.\n */\nexport interface UpdateSymbolDc {\n /** Symbol name. */\n name?: string;\n /** Symbol type. */\n type?: string;\n /** Symbol geometry type. */\n geometryType?: string;\n /** Is substrate symbol. */\n form?: boolean;\n /** Symbol data. */\n data?: string;\n /**\n * Symbol category id.\n * @format int32\n */\n categoryId?: number;\n}\n\n/**\n * Table description with columns what must be added and deleted.\n */\nexport type UpdateTableDc = TableInfoDc & {\n /** Description of table columns what must be added. */\n columnsAdd?: ColumnDescriptionDc[] | null;\n /** Table columns what must be deleted. */\n columnsDelete?: string[] | null;\n};\n\n/**\n * UpdateTaskPrototypeDto.\n */\nexport interface UpdateTaskPrototypeDto {\n /** Enabled. */\n enabled?: boolean;\n /** StartIfPreviousError. */\n startIfPreviousError?: boolean;\n /** StartIfPreviousNotFinished. */\n startIfPreviousNotFinished?: boolean;\n /**\n * DelayDate.\n * @format date-time\n */\n delayDate?: string;\n /** Schedule. */\n schedule?: string;\n}\n\n/**\n * Update user data contract.\n */\nexport interface UpdateUserDc {\n /** Gets or sets location. */\n location?: string;\n /** Gets or sets position. */\n position?: string;\n /** Whether to open the last used project when opening a client. */\n is_open_last_project?: boolean;\n /** Is active. */\n is_active?: boolean;\n /** Is active. */\n is_email_confirmed?: boolean;\n /** Namespace. */\n namespace?: string;\n /** Emoji. */\n emoji?: string;\n /** Username. */\n username?: string;\n /**\n * Email.\n * @format email\n */\n email?: string;\n /** Phone number. */\n phone?: string;\n /** Password. */\n password?: string;\n /** First name. */\n first_name?: string;\n /** Last name. */\n last_name?: string;\n /** Patronymic. */\n patronymic?: string;\n /** Gets or sets company. */\n company?: string;\n /** Has newsletter subscription. */\n is_subscribed?: boolean;\n}\n\n/**\n * Set used project.\n */\nexport interface UsedProjectDc {\n /**\n * Used project name.\n * @minLength 1\n */\n name: string;\n /**\n * Last project update date and time.\n * @format date-time\n */\n updated?: string;\n}\n\n/**\n * Short user information.\n */\nexport interface UserInfoDc {\n /** Username. */\n username?: string;\n /** First name. */\n first_name?: string;\n /** Last name. */\n last_name?: string;\n /** Patronymic. */\n patronymic?: string;\n /** Email. */\n email?: string;\n /** Phone number. */\n phone?: string;\n /** Namespace. */\n namespace?: string;\n /** Photo. */\n has_profile_photo?: boolean;\n /** Whether to open the last used project when opening a client. */\n is_open_last_project?: boolean;\n /** Has newsletter subscription. */\n is_subscribed?: boolean;\n /** If the user account is active or not. */\n is_active?: boolean;\n /** The roles of the user. */\n roles?: string[];\n}\n\n/**\n * User or role data contract.\n */\nexport interface UserOrRoleDc {\n /** Name. */\n name?: string;\n /** true if item is role otherwise false. */\n isRole?: boolean;\n /** User own role. */\n aclRole?: string;\n}\n\n/**\n * Descriptioned value data contract.\n */\nexport interface ValueDc {\n /** Description. */\n description?: string;\n /** Value. */\n value?: any;\n}\n\nexport interface ValuesRange {\n min?: any;\n max?: any;\n}\n\n/**\n * Values range.\n */\nexport interface ValuesRangeDc {\n /** Minimum value. */\n min: any;\n /** Maximum value. */\n max: any;\n}\n\n/**\n * Configuration of a table for feature layer.\n */\nexport type ViewConfigurationDc = TableConfigurationBaseDc & {\n type?: string | null;\n /** EQL. */\n eql?: string | null;\n /** EQL parameters. */\n eqlParameters?: Record<string, any>;\n /** Schema. */\n schemaName?: string | null;\n /** TableName. */\n tableName?: string | null;\n};\n\n/**\n * S3 data source settings.\n */\nexport type WmsDataSourceDc = DataSourceDc & {\n /**\n *\n *\n * Postgres\n *\n * Trino\n *\n * S3\n *\n * GisServer\n *\n * Spark\n *\n * Archive\n */\n type?: DataSourceType;\n /** Endpoint. */\n serviceUrl?: string | null;\n /** Endpoint. */\n params?: Record<string, string | null>;\n /** Endpoint. */\n headers?: Record<string, string | null>;\n};\n\n/**\n* \n\nTask\n\nRest\n\nBoth\n*/\nexport enum WorkerMethodType {\n Task = \"Task\",\n Rest = \"Rest\",\n Both = \"Both\",\n}\n\nexport interface WorkerSettingsField {\n name?: string;\n alias?: string;\n group?: string;\n nullable?: boolean;\n /**\n *\n *\n * Int32\n *\n * Int64\n *\n * Double\n *\n * String\n *\n * Boolean\n *\n * DateTime\n *\n * Point\n *\n * Geometry\n *\n * Polyline\n *\n * MultiPolygon\n *\n * Polygon\n *\n * Multipoint\n *\n * IntergerArray\n *\n * DoubleArray\n *\n * StringArray\n *\n * SourceEql\n *\n * Layer\n *\n * Table\n *\n * Folder\n *\n * Json\n *\n * Attribute\n *\n * AttributeArray\n */\n type?: WorkerSettingsFieldType;\n lookupValues?: Record<string, string>;\n childrenFields?: Record<string, WorkerSettingsField[]>;\n}\n\n/**\n * Worker settings field data contract.\n */\nexport interface WorkerSettingsFieldDc {\n /** Name. */\n name?: string;\n /** Alias. */\n alias?: string;\n /** Group. */\n group?: string;\n /**\n *\n *\n * Int32\n *\n * Int64\n *\n * Double\n *\n * String\n *\n * Boolean\n *\n * DateTime\n *\n * Point\n *\n * Geometry\n *\n * Polyline\n *\n * MultiPolygon\n *\n * Polygon\n *\n * Multipoint\n *\n * IntergerArray\n *\n * DoubleArray\n *\n * StringArray\n *\n * SourceEql\n *\n * Layer\n *\n * Table\n *\n * Folder\n *\n * Json\n *\n * Attribute\n *\n * AttributeArray\n */\n type?: WorkerSettingsFieldType;\n /** Lookup values. */\n lookupValues?: Record<string, string | null>;\n /** Children fields. */\n ChildrenFields?: Record<string, WorkerSettingsFieldDc[] | null>;\n}\n\n/**\n* \n\nInt32\n\nInt64\n\nDouble\n\nString\n\nBoolean\n\nDateTime\n\nPoint\n\nGeometry\n\nPolyline\n\nMultiPolygon\n\nPolygon\n\nMultipoint\n\nIntergerArray\n\nDoubleArray\n\nStringArray\n\nSourceEql\n\nLayer\n\nTable\n\nFolder\n\nJson\n\nAttribute\n\nAttributeArray\n*/\nexport enum WorkerSettingsFieldType {\n Int32 = \"Int32\",\n Int64 = \"Int64\",\n Double = \"Double\",\n String = \"String\",\n Boolean = \"Boolean\",\n DateTime = \"DateTime\",\n Point = \"Point\",\n Geometry = \"Geometry\",\n Polyline = \"Polyline\",\n MultiPolygon = \"MultiPolygon\",\n Polygon = \"Polygon\",\n Multipoint = \"Multipoint\",\n IntergerArray = \"IntergerArray\",\n DoubleArray = \"DoubleArray\",\n StringArray = \"StringArray\",\n SourceEql = \"SourceEql\",\n Layer = \"Layer\",\n Table = \"Table\",\n Folder = \"Folder\",\n Json = \"Json\",\n Attribute = \"Attribute\",\n AttributeArray = \"AttributeArray\",\n}\n\n/**\n * Worker post method params.\n */\nexport interface WorkerStartMethodDto {\n /** Worker type. */\n workerType: string;\n /** Method type. */\n methodType: string;\n /** Method input parameters. */\n data?: any;\n}\n\n/**\n * Workspace limits data contract.\n */\nexport interface WorkspaceLimitsDc {\n /**\n * Max services count in workspace.\n * @format int32\n */\n maxServicesCount?: number;\n /**\n * Max tables count in workspace.\n * @format int32\n */\n maxTablesCount?: number;\n /**\n * Max features count in one table in workspace.\n * @format int32\n */\n maxFeaturesInOneTable?: number;\n /**\n * Max projects count in workspace.\n * @format int32\n */\n maxProjectsCount?: number;\n /**\n * Max upload file size.\n * @format int64\n */\n maxUploadContentSize?: number;\n /**\n * Max objects to export.\n * @format int64\n */\n maxObjectsToExport?: number;\n /**\n * Maximum number of rows that a user can quering by eql parameter query.\n * @format int64\n */\n maxEqlQueryParametersValues?: number;\n /**\n * Current table count.\n * @format int64\n */\n currentTableCount?: number;\n /**\n * Current service count.\n * @format int64\n */\n currentServiceCount?: number;\n /**\n * Current project count.\n * @format int64\n */\n currentProjectCount?: number;\n}\n\n/**\n * Zip extraction request.\n */\nexport interface ZipExtractRequestDc {\n /** Zip resource id. */\n resourceId: string;\n /** Target parent resource id. */\n targetParentId?: string;\n /** If true delete archive after extraction. */\n deleteZipAfterExtraction?: boolean;\n /**\n *\n *\n * Skip\n *\n * Overwrite\n *\n * GenerateUnique\n *\n * ThrowError\n */\n conflictStrategy?: ConflictResolutionStrategy;\n /** Is true extract nested archives. */\n extractNestedArchives?: boolean;\n}\n\nexport interface GetUsersParams {\n /** String filter for the user (uses % and _ wild cards like SQL). */\n filter?: string;\n /** Ordering property name. */\n orderBy?: string;\n /**\n * First index in the list to get.\n * @format int32\n */\n offset?: number;\n /**\n * Max number of entries in the returned list.\n * @format int32\n * @default 100\n */\n limit?: number;\n /** If given, will retrieve only users that belong to one of the given username. */\n users?: string[];\n /** If given, will retrieve only users that have one of the given roles. */\n roles?: string[];\n}\n\nexport interface GetExtendedUsersParams {\n /** String filter for the user (uses % and _ wild cards like SQL). */\n filter?: string;\n /** Ordering property name. */\n orderBy?: string;\n /**\n * First index in the list to get.\n * @format int32\n */\n offset?: number;\n /**\n * Max number of entries in the returned list.\n * @format int32\n * @default 100\n */\n limit?: number;\n /** If given, will retrieve only users that belong to one of the given username. */\n users?: string[];\n /** If given, will retrieve only users that have one of the given roles. */\n roles?: string[];\n}\n\nexport interface IsUsernameExistsParams {\n /** User name to check. */\n username: string;\n}\n\nexport interface IsEmailExistsParams {\n /** Email to check. */\n email: string;\n}\n\nexport interface CreateUserParams {\n /**\n * Is need to send confirm email message.\n * @default false\n */\n sendConfirmEmail?: boolean;\n /**\n * Create user namespace if true.\n * @default true\n */\n createNamespace?: boolean;\n}\n\nexport interface SetEmailPayload {\n email: string;\n password: string;\n}\n\nexport interface ConfirmEmail1Params {\n /** User name. */\n username: string;\n /** Verification code. */\n code: string;\n}\n\nexport interface ChangeEmailParams {\n /** New email address. */\n newEmail: string;\n /** Current user password. */\n password: string;\n}\n\nexport interface ConfirmChangeEmailParams {\n /** Username. */\n username: string;\n /** New email address. */\n newEmail: string;\n /** Confirmation code. */\n code: string;\n}\n\nexport interface ChangePasswordPayload {\n oldPassword: string;\n password: string;\n}\n\nexport interface ResetPasswordParams {\n /** Email. */\n email?: string;\n}\n\nexport interface ResetPasswordCallbackPayload {\n username: string;\n code: string;\n newPassword: string;\n}\n\nexport interface CreateNamespaceParams {\n /** Name of the user to create the namespace for. This user will be the owner of the namespace. */\n userName: string;\n /**\n * If false, the name of the created namespace will be exactly the name of the user. If set to true,\n * the server will try to use the username as the namespace name, but if the name is occupied, it will\n * find a close free name for the namespace, create it and return it as the result of the operation.\n * @default false\n */\n adjustName?: boolean;\n}\n\nexport interface AuthenticateParams {\n /**\n * Client id.\n * @format uuid\n */\n client_id?: string;\n /**\n * Response type.\n *\n * code\n *\n * token\n */\n response_type?: ResponseType;\n /** Redirect uri. */\n redirect_uri?: string;\n}\n\nexport interface GetRolesParams {\n /** String filter for the role (uses % and _ wild cards like SQL). */\n filter?: string;\n /** String filter for the user (uses % and _ wild cards like SQL). */\n userFilter?: string;\n /** Ordering property name. */\n orderBy?: string;\n /** Include system roles (starts from '__'). */\n withSystem?: boolean;\n /**\n * First index in the list to get.\n * @format int32\n */\n offset?: number;\n /**\n * Max number of entries in the returned list.\n * @format int32\n */\n limit?: number;\n}\n\nexport interface UploadPreviewPayload {\n /** @format binary */\n file?: File;\n}\n\nexport interface UploadPreview1Payload {\n /** @format binary */\n file?: File;\n}\n\nexport interface GetCamerasParams {\n /**\n * Page objects limit.\n * @format int32\n * @default 50\n */\n limit?: number;\n /**\n * Objects skip.\n * @format int32\n * @default 0\n */\n offset?: number;\n}\n\nexport interface GetArchiveFeedParams {\n /**\n * Timestamp from which to start the archive playback.\n * UNIX time (both seconds and milliseconds are supported).\n * @format date-time\n */\n startTime?: string;\n /**\n * Timestamp at which to stop the playback.\n * UNIX time (both seconds and milliseconds are supported).\n * @format date-time\n */\n endTime?: string;\n /**\n * Playback speed factor.\n * Possible values: 1 2 4 8 16 32 64.\n * @format int32\n */\n speed?: number;\n /** Camera id. */\n cameraId: string;\n}\n\nexport interface GetArchiveTimelineParams {\n /**\n * Start of the timeframe UNIX time (seconds).\n * @format date-time\n */\n startTime?: string;\n /**\n * End of the timeframe UNIX time (seconds).\n * @format date-time\n */\n endTime?: string;\n /** Camera id. */\n cameraId: string;\n}\n\nexport interface GetArchiveCalendarParams {\n /** Start of the timeframe UNIX time (seconds). */\n startTime?: string;\n /** End of the timeframe UNIX time (seconds). */\n endTime?: string;\n /** Timezone. */\n tz?: string;\n /** Camera id. */\n cameraId: string;\n}\n\nexport interface GetArchiveSnapshotParams {\n /**\n * Timestamp of the moment at which to take the snapshot.\n * UNIX timestamp (in seconds).\n * @format date-time\n */\n time?: string;\n /** Camera id. */\n cameraId: string;\n}\n\nexport interface GetLiveFeedParams {\n /**\n * Duration.\n * @format int64\n */\n duration?: number;\n /** Camera id. */\n cameraId: string;\n}\n\nexport interface GetLivePreviewStreamParams {\n /**\n * Frame per second.\n * @format float\n */\n fps?: number;\n /**\n * Quality.\n *\n * Low\n *\n * Medium\n *\n * High\n */\n quality?: Quality;\n /** Id of the camera. */\n cameraId: string;\n}\n\nexport interface GetTagsParams {\n /** Text filter. */\n filter?: string;\n /**\n * Limit response page.\n * @format int32\n * @default 100\n */\n limit?: number;\n /**\n * Offset objects from start.\n * @format int32\n * @default 0\n */\n offset?: number;\n}\n\nexport type PutTagsPayload = string[];\n\nexport interface PostGetAllParams {\n /**\n * Limit response page.\n * @format int32\n * @default 20\n */\n limit?: number;\n /**\n * Offset objects from start.\n * @format int32\n * @default 0\n */\n offset?: number;\n}\n\nexport interface CreateFilePayload {\n /** File resource id. */\n resourceId?: string;\n /** Name of the uploading file. */\n fileName?: string;\n /** Url to upload file. */\n url?: string;\n /**\n * Id of the tile in the session static storage.\n * @format binary\n */\n file?: File;\n /** Description of the file. */\n description?: string;\n /** A set of tags. */\n tags?: string[];\n /** File icon. */\n icon?: string;\n}\n\nexport interface CreateFile1Payload {\n /** File resource id. */\n resourceId?: string;\n /** Name of the uploading file. */\n fileName?: string;\n /** Url to upload file. */\n url?: string;\n /**\n * Id of the tile in the session static storage.\n * @format binary\n */\n file?: File;\n /**\n * Rewrite flag\n * If true - rewrite file if exists. If false - return error.\n * @default false\n */\n rewrite?: boolean;\n /** Description of the file. */\n description?: string;\n /** Id of the parent resource. */\n parentId?: string;\n /** Owner of the file. */\n owner?: string;\n /** Check if file is temporary. */\n isTemporary?: boolean;\n /** A set of tags. */\n tags?: string[];\n /** File icon. */\n icon?: string;\n}\n\nexport type SetPermissionsPayload = ResourceAclDc[];\n\nexport type CopyResourcesPayload = CopyResourceDc[];\n\nexport interface GetConfigurationsListParams {\n /**\n * Offset.\n * @format int32\n * @default 0\n */\n offset?: number;\n /**\n * Limit (default 10).\n * @format int32\n * @default 10\n */\n limit?: number;\n}\n\nexport interface GetConfigurationParams {\n /** URL path. */\n urlPath: string;\n}\n\nexport type SetConfigurationPayload = any;\n\nexport interface SetConfigurationParams {\n /** URL path. */\n urlPath: string;\n /** Description. */\n description?: string;\n}\n\nexport interface RemoveConfigurationParams {\n /** URL path. */\n urlPath: string;\n}\n\nexport interface GetDataSourcesListParams {\n /** Owner. */\n owner?: string;\n /**\n * Objects limit per response.\n * @format int32\n */\n offset?: number;\n /**\n * Objects count have to skip. Default limit sets in 20 object.\n * @format int32\n * @default 20\n */\n limit?: number;\n}\n\nexport interface GetPagedQueryResultParams {\n /**\n * Can be saved in history.\n * @default false\n */\n saveInHistory?: boolean;\n}\n\nexport interface GetVectorTileParams {\n /** Query id. */\n eql?: string;\n /**\n * Zoom level.\n * @format int32\n */\n z: number;\n /**\n * X tile coordinate.\n * @format int32\n */\n x: number;\n /**\n * Y tile coordinate.\n * @format int32\n */\n y: number;\n}\n\nexport interface GetQueryHistoryParams {\n /**\n * Date and time start.\n * @format date-time\n */\n dtStart?: string;\n /**\n * Date and time end.\n * @format date-time\n */\n dtEnd?: string;\n /**\n * Limit.\n * @format int32\n */\n limit?: number;\n /**\n * Offset.\n * @format int32\n */\n offset?: number;\n /** Request initiator username. */\n owner?: string;\n}\n\nexport interface SetLayerParameterValueParams {\n /** Layer name. */\n layerName?: string;\n /** Layer parameter name. */\n paramName?: string;\n /** Layer parameter value. */\n value?: string;\n}\n\nexport type SetLayerParametersPayload = Record<string, any>;\n\nexport interface SetLayerParametersParams {\n /** Layer name. */\n layerName?: string;\n}\n\nexport interface GetLayerParametersParams {\n /** Layer name. */\n layerName?: string;\n /** Layer parameter name. */\n paramName?: string;\n}\n\nexport interface GetLayerParameters1Params {\n /** Layer name. */\n layerName?: string;\n}\n\nexport interface RemoveLayerParameterValueParams {\n /** Layer name. */\n layerName?: string;\n /** Layer parameter name. */\n paramName?: string;\n}\n\nexport interface GetAvailiableLayerParametersParams {\n /** Layer name. */\n layerName?: string;\n /** Only specified parameter name. */\n paramName?: string;\n}\n\nexport interface IncreaseResourcesLimitParams {\n /**\n * Additional maps count.\n * @format int32\n */\n MapLimit?: number;\n /**\n * Additional layers count.\n * @format int32\n */\n LayersLimit?: number;\n /**\n * Additional data sources count.\n * @format int32\n */\n DataSourceLimit?: number;\n /** Request justification. */\n Justification?: string;\n}\n\nexport interface FeedbackPayload {\n /** Attachments. */\n Attachments?: File[];\n}\n\nexport interface FeedbackParams {\n /** Name. */\n Name?: string;\n /** Phone number. */\n Phone?: string;\n /** Email address. */\n Email?: string;\n /** Message text. */\n Message?: string;\n}\n\nexport interface GeocodeParams {\n /** Input address. */\n address?: string;\n /**\n * Spatial reference.\n * @format int32\n */\n srId?: number;\n /** Bounging box from left top corner to right bottom corner. */\n bboxPoints?: number[];\n /** Geocode provider name to use. */\n providerName: string;\n}\n\nexport interface GeocodeByPointParams {\n /** Input point geometry. */\n pointGeometry?: number[];\n /**\n * Input point and bounging box sr.\n * @format int32\n */\n srId?: number;\n /** Bounging box from left top corner to right bottom corner. */\n bboxPoints?: number[];\n /** Geocode provider name to use. */\n providerName: string;\n}\n\nexport interface SuggestParams {\n /** Input address. */\n address?: string;\n /**\n * Bounging box spatial reference.\n * @format int32\n */\n srId?: number;\n /** Bounging box from left top corner to right bottom corner. */\n bboxPoints?: number[];\n /** Geocode provider name to use. */\n providerName: string;\n}\n\nexport interface GetDataSchemaParams {\n /** Resource id. */\n resourceId?: string;\n /** CSV columns delimiter. */\n csvDelimiter?: string;\n /**\n * Returned elements limit.\n * @format int32\n */\n limit?: number;\n /**\n * Returned elements offset.\n * @format int32\n */\n offset?: number;\n}\n\nexport interface ReadPartParams {\n /** Name of the layer. */\n LayerName?: string;\n /** Id of the file in the temporary static storage. */\n FileId: string;\n /** Condition. */\n Condition?: string;\n /**\n * Offset.\n * @format int32\n */\n Offset?: number;\n /**\n * Count.\n * @format int32\n */\n Count?: number;\n}\n\nexport interface GetExternalWmsLayersParams {\n /** WMS service url. */\n url?: string;\n}\n\nexport interface GetExternalPbfLayersParams {\n /** PBF service url. */\n url?: string;\n}\n\nexport interface GetExternalPbfFeaturesParams {\n /** PBF service url. */\n url?: string;\n /**\n * PBF layer name.\n * @default \"default\"\n */\n layerName?: string;\n /**\n * Features count have to skip.\n * @format int32\n * @default 0\n */\n offset?: number;\n /**\n * Features limit per response.\n * @format int32\n * @default 0\n */\n limit?: number;\n /**\n * If set to true, the geometry will not be returned for features.\n * @default true\n */\n withGeom?: boolean;\n /** Comma separated list of attributes to be returned. If not set, all attributes are returned. */\n attributes?: string[];\n}\n\nexport interface GetExternalArcgisFsLayersParams {\n /** Arcgis FeatureServer url. */\n url?: string;\n}\n\nexport interface GetExternalArcGisLayersParams {\n /** ArcGis map service url. */\n url?: string;\n}\n\nexport interface GetRasterAttributesParams {\n /** File name in the temporary static storage. */\n fileName?: string;\n}\n\nexport interface GetRasterMetaParams {\n /** Raster resource id.. */\n resourceId?: string;\n}\n\nexport type GetBulkFeaturesPayload = GetBulkFeaturesParametersDc[];\n\nexport type GetBulkExtentsPayload = GetBulkExtentsDc[];\n\nexport interface GetBulkExtentsParams {\n /**\n * Spatial reference to return the extent in.\n * @format int32\n */\n srId?: number;\n}\n\nexport type GetFilteredFeaturesCountPayload = GetBulkFilteredFeaturesCountDc[];\n\nexport interface GetLayersInfoParams {\n /** Name array of the layers. */\n layerNames?: string[];\n /** ProjectName array with layers. */\n projectNames?: string[];\n}\n\n/**\n * Configuration for the proxy service.\n */\nexport type PublishProxyServicePayload =\n | ProxyServiceConfigurationDc\n | PbfServiceConfigurationDc\n | PythonServiceConfigurationDc;\n\n/**\n * Configuration for the proxy service.\n */\nexport type UpdateProxyServicePayload =\n | ProxyServiceConfigurationDc\n | PbfServiceConfigurationDc\n | PythonServiceConfigurationDc;\n\nexport interface GetFeatures1Params {\n /** Click geometry. */\n ewktGeometry?: string;\n /** Sets features filtering query. */\n query?: string;\n /** Id of override data filter to apply to the layer. If not set, the default filter is used. */\n dataFilterId?: string;\n /**\n * Features count have to skip.\n * @format int32\n * @default 0\n */\n offset?: number;\n /**\n * Features limit per response.\n * @format int32\n * @default 0\n */\n limit?: number;\n /**\n * Spatial reference of returned features.\n * @format int32\n */\n srId?: number;\n /**\n * Comma separated list of attributes by which to sort the resulting feature list.\n * If the attribute name is preceded with the \"-\" sign, sorting by this attribute will be\n * in descending order.\n */\n sort?: string[];\n /** Comma separated list of features ids. */\n ids?: string[];\n /**\n * If set to true, the geometry will not be returned for features.\n * @default true\n */\n withGeom?: boolean;\n /** Comma separated list of attributes to be returned. If not set, all attributes are returned. */\n attributes?: string[];\n /** Full name of the layer. */\n name: string;\n}\n\nexport interface DeleteFeatureParams {\n /** Feature id. */\n id?: string;\n /** Full name of the layer. */\n name: string;\n}\n\nexport type CreateFeaturesPayload = FeatureDc[];\n\nexport interface CreateFeaturesParams {\n /**\n * Allow additional atributes.\n * @default false\n */\n allowAdditionalAttributes?: boolean;\n /** Full name of the layer. */\n name: string;\n}\n\nexport type UpdateFeaturePayload = UpdateFeatureDc[];\n\nexport interface GetByIdParams {\n /**\n * Spatial reference of returned features.\n * @format int32\n */\n srId?: number;\n /** Full name of the layer. */\n name: string;\n /** Feature id. */\n id: string;\n}\n\nexport interface GetTilesLayerImageParams {\n /** Tile sets to render. */\n ids?: number[];\n /** Id of override data filter to apply to the layer. If not set, the default filter is used. */\n dataFilterId?: string;\n /** Full name of the layer. */\n name: string;\n /**\n * X.\n * @format int32\n */\n x: number;\n /**\n * Y.\n * @format int32\n */\n y: number;\n /**\n * Z.\n * @format int32\n */\n z: number;\n}\n\nexport interface GetTilesLayerImage1Params {\n /** Tile sets to render. */\n ids?: number[];\n /** Id of override data filter to apply to the layer. If not set, the default filter is used. */\n dataFilterId?: string;\n /** Full name of the layer. */\n name: string;\n /**\n * X.\n * @format int32\n */\n x: number;\n /**\n * Y.\n * @format int32\n */\n y: number;\n /**\n * Z.\n * @format int32\n */\n z: number;\n /** Specifies the format of the returned tile. */\n format: string;\n}\n\nexport interface GetTilesLayerImageWithFormatAndDpiParams {\n /** Tile sets to render. */\n ids?: number[];\n /** Id of override data filter to apply to the layer. If not set, the default filter is used. */\n dataFilterId?: string;\n /** Full name of the layer. */\n name: string;\n /**\n * X.\n * @format int32\n */\n x: number;\n /**\n * Y.\n * @format int32\n */\n y: number;\n /**\n * Z.\n * @format int32\n */\n z: number;\n /**\n * Image dpi.\n * @format float\n */\n dpi: number;\n /** Specifies the format of the returned tile. */\n format: string;\n}\n\nexport interface GetLayerExtentParams {\n /** If set, only the features that satisfy the condition will be considered when calculating the extent. */\n condition?: string;\n /**\n * Spatial reference to return the extent in.\n * @format int32\n */\n srId?: number;\n /** Full name of the layer. */\n name: string;\n}\n\nexport interface DeleteFeaturesParams {\n /** Features ids. */\n ids?: string[];\n /** Full name of the layer. */\n name: string;\n}\n\nexport interface DeleteByConditionParams {\n /** Filtering query. */\n condition?: string;\n /** Full name of the layer. */\n name: string;\n}\n\nexport interface ClassifyParams {\n /** The name of the attribute. */\n attribute?: string;\n /**\n * The number of classes.\n * @format int32\n * @default 6\n */\n classes?: number;\n /**\n * Sets required values precision.\n * @format int32\n * @default 3\n */\n precision?: number;\n /**\n * Classification method.\n *\n * none\n *\n * naturalBreaks\n *\n * equalInterval\n *\n * quantile\n *\n * unique\n *\n * step\n */\n type?: ClassificationType;\n /** The name of the layer. */\n name: string;\n}\n\nexport interface DistinctsParams {\n /** Attribute name. */\n attribute?: string;\n /**\n * Limit the number of returned values.\n * @format int32\n * @default 0\n */\n limit?: number;\n /** Condition to apply to the layer to filter the features. */\n condition?: string;\n /** Filter values by startWith string pattern. */\n startsWith?: string;\n /**\n * Ignore default layer condition.\n * @default false\n */\n ignoreDefaultCondition?: boolean;\n /** Full name of the layer. */\n name: string;\n}\n\nexport interface AggregateAttributeParams {\n /** Aggregation attribute name. */\n aggregationAttributeName?: string;\n /**\n * Aggregation function name.\n *\n * None\n *\n * Array\n *\n * Min\n *\n * Max\n *\n * Avg\n *\n * Sum\n *\n * Extent\n *\n * H3\n *\n * Count\n *\n * TotalCount\n *\n * DistinctCount\n *\n * First\n *\n * Last\n *\n * Median\n *\n * Mod\n *\n * StdDeviation\n *\n * SumOfProduct\n *\n * OnlyValue\n *\n * WeightedAvg\n *\n * DensityIndicators\n *\n * DividedSum\n */\n aggregationFunctionName?: AggregationFunction;\n /** A list of attributes to group. */\n groups?: string[];\n /**\n * Comma separated list of attributes by which to sort the resulting values.\n * If the attribute name is preceded with the \"-\" sign, sorting by this attribute will be\n * in descending order.\n */\n sort?: string[];\n /** Filter condition. */\n condition?: string;\n /** Name of the layer. */\n name: string;\n}\n\nexport interface GetFilteredFeaturesCount1Params {\n /** Condition to apply to the layer to filter the features. */\n condition?: string;\n /** Layer name. */\n name: string;\n}\n\nexport interface ValidateExpressionParams {\n /** Expression to validate. */\n expression?: string;\n /** Layer name. */\n layerName: string;\n}\n\nexport interface GetRasterMetaParams2 {\n /**\n * Min value for build histogram.\n * @format double\n */\n min?: number;\n /**\n * Max value for build histogram.\n * @format double\n */\n max?: number;\n /** Layer name. */\n name: string;\n /**\n * Id of raster.\n * @format int64\n */\n id: number;\n}\n\nexport interface DeleteResourcesParams {\n /** Resource names. */\n names?: string[];\n}\n\nexport interface SubscribeOperationParams {\n /** Notification tag. */\n tag?: string;\n}\n\nexport interface UnsubscribeOperationParams {\n /** Notification tag. */\n tag?: string;\n}\n\nexport type SubscribeListOperationPayload = string[];\n\nexport type UnsubscribeListOperationPayload = string[];\n\nexport interface DeleteResourcesParams2 {\n /** Resource names. */\n names?: string[];\n}\n\nexport type UpdateProjectV2Payload = Operation[];\n\nexport interface GetProjectsInfoParams {\n /** Project names. */\n projectNames?: string[];\n}\n\nexport interface GetProjectEnvelopeParams {\n /**\n * Spatial reference to return the extent in.\n * @format int32\n */\n srId?: number;\n /** The name of the project. */\n name: string;\n}\n\nexport type PatchProjectConfigurationPayload = Operation[];\n\nexport type PutProjectConfigurationPayload = any;\n\nexport interface GetAllScriptMethodsParams {\n /** ResourceId. */\n resourceId?: string;\n}\n\nexport type RunScriptPayload = any;\n\nexport interface RunScriptParams {\n /** Python resource id. */\n resourceId?: string;\n /** File name. */\n fileName?: string;\n /** Method name. */\n methodName?: string;\n}\n\nexport interface GetTokensListParams {\n onlyValid?: boolean;\n /** @format int32 */\n limit?: number;\n /** @format int32 */\n offset?: number;\n /** @default \"\" */\n username: string;\n}\n\nexport interface CreateTokenParams {\n /** @format date-time */\n validBefore?: string;\n /** @default \"\" */\n username: string;\n}\n\nexport interface GetTaskPrototypesParams {\n /** Username. */\n Username?: string;\n /**\n * Skip.\n * @format int32\n */\n Skip?: number;\n /**\n * Take.\n * @format int32\n */\n Take?: number;\n /** OrderBy. */\n OrderBy?: string;\n /** Desc. */\n Desc?: boolean;\n}\n\nexport interface GetTasksForPrototypeParams {\n /**\n * Status.\n *\n * Init\n *\n * Process\n *\n * Completed\n *\n * Interrupted\n *\n * Error\n *\n * Timeout\n *\n * Waiting\n *\n * InQueue\n *\n * Unknown\n */\n Status?: RemoteTaskStatus;\n /**\n * Skip.\n * @format int32\n */\n Skip?: number;\n /**\n * Take.\n * @format int32\n */\n Take?: number;\n /** OrderBy. */\n OrderBy?: string;\n /** Desc. */\n Desc?: boolean;\n /**\n * Id.\n * @format uuid\n */\n id: string;\n}\n\nexport interface GetTaskResourceParams {\n /**\n * Update default configuration.\n * @default false\n */\n updateDefault?: boolean;\n /** Id. */\n id: string;\n}\n\nexport type SetPoliciesPayload = Record<string, PolicyDc[]>;\n\nexport interface FindUserByNameByRolesParams {\n /** Roles. */\n roles?: string[];\n}\n\nexport interface GetUsersAndRolesParams {\n /** Name filter. */\n filter?: string;\n}\n\nexport interface FindUserByNameParams {\n /** String filter for the username. */\n filter?: string;\n}\n\nexport interface GetPolicyListParams {\n /**\n * Type of the policies.\n *\n * Unknown\n *\n * CreateTable\n *\n * CreateLayer\n *\n * CreateProject\n *\n * MaxFeaturesInOneTable\n *\n * MaxObjectsToExport\n *\n * MaxUploadContentSize\n *\n * MaxEqlQueryParametersValues\n */\n type?: PolicyType;\n /** Use role the policy is applied to. */\n roleName?: string;\n}\n\nexport interface RemovePolicyParams {\n /**\n * Type of the policy.\n *\n * Unknown\n *\n * CreateTable\n *\n * CreateLayer\n *\n * CreateProject\n *\n * MaxFeaturesInOneTable\n *\n * MaxObjectsToExport\n *\n * MaxUploadContentSize\n *\n * MaxEqlQueryParametersValues\n */\n type?: PolicyType;\n /** Use role the policy is applied to. */\n role?: string;\n}\n\nexport interface RemoveSymbolCategoryParams {\n /**\n * Remove symbols in category.\n * @default false\n */\n cascade?: boolean;\n /**\n * Id symbol category.\n * @format int32\n */\n id: number;\n}\n\nexport interface GetSymbolCategoriesParams {\n /**\n * Offset.\n * @format int32\n */\n offset?: number;\n /**\n * Limit.\n * @format int32\n * @default 100\n */\n limit?: number;\n}\n\nexport interface GetSymbolsListParams {\n /**\n * Id symbol category.\n * @format int32\n */\n idCategory?: number;\n /**\n * Offset.\n * @format int32\n */\n offset?: number;\n /**\n * Limit.\n * @format int32\n * @default 100\n */\n limit?: number;\n}\n\nexport interface DeleteResourcesParams4 {\n /** Resource names. */\n names?: string[];\n}\n\nexport interface GetTablesInfoParams {\n /** Table names. */\n tableNames?: string[];\n}\n\nexport interface GetTableDataParams {\n /** Id field name. */\n idField?: string;\n /** Geometry field name. */\n geometryField?: string;\n /** String filter for the all text column (uses % and _ wild cards like SQL). */\n filter?: string;\n /**\n * Comma separated list of attributes by which to sort the resulting feature list.\n * If the attribute name is preceded with the \"-\" sign, sorting by this attribute will be\n * in descending order.\n */\n sort?: string[];\n /**\n * Max number of rows to return.\n * @format int32\n * @default 0\n */\n limit?: number;\n /**\n * The first row index to return.\n * @format int32\n * @default 0\n */\n offset?: number;\n /**\n * Include column with geometry.\n * @default false\n */\n includeGeometry?: boolean;\n /** Columns to select. */\n columns?: string[];\n /** Name of the table. */\n name: string;\n}\n\nexport type WriteTableDataPayload = Record<string, any>[];\n\nexport type UpdateTableDataPayload = Record<string, any>[];\n\nexport interface UpdateTableDataParams {\n /** Id column name. */\n idColumn?: string;\n /** Name of the table. */\n name: string;\n}\n\nexport interface DeleteTableDataParams {\n /** Id column name. */\n idColumn?: string;\n /** Ids of rows to delete. */\n ids?: string[];\n /** Name of the table. */\n name: string;\n}\n\nexport interface MapTableParams {\n /** Name of the remote data provider. Allows to map table from foreign db. */\n dataProvider?: string;\n /** Type of the resource. Default type os Table. */\n type?: string;\n}\n\nexport interface GetVectorTileParams2 {\n /** Condition. */\n condition?: string;\n /** Id of override data filter to apply to the layer. If not set, the default filter is used. */\n dataFilterId?: string;\n /** List of included feature attribute names. */\n attributes?: string[];\n /** Project or layer name. */\n name: string;\n /**\n * Zoom level.\n * @format int32\n */\n z: number;\n /**\n * X tile coordinate.\n * @format int32\n */\n x: number;\n /**\n * Y tile coordinate.\n * @format int32\n */\n y: number;\n}\n\nexport interface GetCapabilitiesParams {\n /** Name of the service. */\n Service?: string;\n /** When omitted, server shall return latest supported version. */\n AcceptVersions?: string[];\n /** When omitted or not supported by server, server shall return complete service metadata (Capabilities) document. */\n Sections?: string[];\n /** When omitted or not supported by server, server shall return service metadata document using the MIME type \"text/xml\". */\n AcceptFormats?: string[];\n}\n\nexport interface GetSharedCapabilitiesParams {\n /** Name of the service. */\n Service?: string;\n /** When omitted, server shall return latest supported version. */\n AcceptVersions?: string[];\n /** When omitted or not supported by server, server shall return complete service metadata (Capabilities) document. */\n Sections?: string[];\n /** When omitted or not supported by server, server shall return service metadata document using the MIME type \"text/xml\". */\n AcceptFormats?: string[];\n}\n\nexport interface GetPublicCapabilitiesParams {\n /** Name of the service. */\n Service?: string;\n /** When omitted, server shall return latest supported version. */\n AcceptVersions?: string[];\n /** When omitted or not supported by server, server shall return complete service metadata (Capabilities) document. */\n Sections?: string[];\n /** When omitted or not supported by server, server shall return service metadata document using the MIME type \"text/xml\". */\n AcceptFormats?: string[];\n}\n\nexport interface ProcessRequestParams {\n /** Layer name. */\n layer?: string;\n /** wmts version. */\n version?: string;\n /** Request type. */\n request?: string;\n /** Tile matrix. */\n tileMatrix?: string;\n /**\n * Tile row.\n * @format int32\n * @default 0\n */\n tileRow?: number;\n /**\n * Tile col.\n * @format int32\n * @default 0\n */\n tileCol?: number;\n}\n"],"names":[],"mappings":";;;;;;AAAO,MAAM,iBAAiB,GAAG,oBAAoB;AAE9C,MAAM,iBAAiB,GAAG;AAC1B,MAAM,yBAAyB,GAAG;;ACDlC,MAAM,QAAQ,GAAG,MAAK;IAC3B,MAAM,KAAK,GAAG,MAAM,CAAC,YAAY,CAAC,OAAO,CAAC,iBAAiB,CAAC;IAC5D,MAAM,YAAY,GAAG,MAAM,CAAC,YAAY,CAAC,OAAO,CAAC,yBAAyB,CAAC;AAE3E,IAAA,OAAO,EAAE,KAAK,EAAE,YAAY,EAAE;AAChC;;ACHO,MAAM,WAAW,GAAG,MACzB,IAAI,CAAC,KAAK,CAAC,YAAY,CAAC,OAAO,CAAC,iBAAiB,CAAC,IAAI,MAAM,CAAC,IAAI,MAAM;AAElE,MAAM,cAAc,GAAG,CAC5B,WAAwC,KAChC;IACR,IAAI,WAAW,EAAE;AACf,QAAA,MAAM,WAAW,GAAG,WAAW,EAAE;AAEjC,QAAA,YAAY,CAAC,OAAO,CAClB,iBAAiB,EACjB,IAAI,CAAC,SAAS,CAAC,EAAE,GAAG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