@evergis/api
Advanced tools
Comparing version 3.0.193 to 3.0.194
@@ -1,2 +0,2 @@ | ||
import { ChangeEmailParams, ChangePasswordPayload, ConfirmChangeEmailParams, ConfirmEmail1Params, CreateRoleDc, CreateUserDc, CreateUserParams, ExtendedUserInfoDc, GetExtendedUsersParams, GetRolesParams, GetUsersParams, IsEmailExistsParams, IsUsernameExistsParams, LoginDc, PagedListExtendedUserInfoDc, PagedListRoleInfoDc, PagedListUserInfoDc, RegisterUserDc, ResetPasswordCallbackPayload, ResetPasswordParams, SetEmailPayload, UpdateRoleDc, UpdateUserDc, UsedProjectDc, UserInfoDc } from './data-contracts'; | ||
import { AuthenticateParams, ChangeEmailParams, ChangePasswordPayload, ConfirmChangeEmailParams, ConfirmEmail1Params, CreateRoleDc, CreateUserDc, CreateUserParams, ExtendedUserInfoDc, GetExtendedUsersParams, GetRolesParams, GetUsersParams, IsEmailExistsParams, IsUsernameExistsParams, LoginDc, PagedListExtendedUserInfoDc, PagedListRoleInfoDc, PagedListUserInfoDc, RegisterClientRequestDc, RegisterClientResponseDc, RegisterUserDc, ResetPasswordCallbackPayload, ResetPasswordParams, SetEmailPayload, TokenRequestDc, TokenResponseDc, UpdateRoleDc, UpdateUserDc, UsedProjectDc, UserInfoDc } from './data-contracts'; | ||
import { Service } from './Service'; | ||
@@ -261,3 +261,3 @@ /** | ||
*/ | ||
authenticate(data: LoginDc): Promise<string>; | ||
authenticate(query: AuthenticateParams, data: LoginDc): Promise<string>; | ||
/** | ||
@@ -300,2 +300,35 @@ * No description | ||
* @tags Account | ||
* @name RegisterClient | ||
* @operationId AccountController_RegisterClient | ||
* @summary Register new client. | ||
* @request POST:/account/oauth2/client | ||
* @response `200` OK | ||
*/ | ||
registerClient(data: RegisterClientRequestDc): Promise<RegisterClientResponseDc>; | ||
/** | ||
* No description | ||
* | ||
* @tags Account | ||
* @name UnbindClient | ||
* @operationId AccountController_UnbindClient | ||
* @summary Unbind client with id. | ||
* @request DELETE:/account/oauth2/client/{clientId} | ||
* @response `200` OK | ||
*/ | ||
unbindClient(clientId: string): Promise<void>; | ||
/** | ||
* No description | ||
* | ||
* @tags Account | ||
* @name Token | ||
* @operationId AccountController_Token | ||
* @summary Get access token request. | ||
* @request POST:/account/oauth2/token | ||
* @response `200` OK | ||
*/ | ||
token(data: TokenRequestDc): Promise<TokenResponseDc>; | ||
/** | ||
* No description | ||
* | ||
* @tags Account | ||
* @name GetRoles | ||
@@ -302,0 +335,0 @@ * @operationId AccountController_GetRoles |
@@ -1,2 +0,2 @@ | ||
import { AccessControlListDc, CatalogResourceDc, CreateDirectoryDc, CreateFilePayload, GetAllParams, GetTagsParams, ListResourcesDto, MoveResourceDc, PagedResourcesListDc, PatchResourceDc, PostGetAllParams, PutTagsPayload, ResourceAclDc, SearchResourcesDto, SearchResourcesParams, SetPermissionsPayload } from './data-contracts'; | ||
import { AccessControlListDc, CatalogResourceDc, CreateDirectoryDc, CreateFilePayload, GetAllParams, GetTagsParams, ListResourcesDto, MoveResourceDc, PagedResourcesListDc, PatchResourceDc, PostGetAllParams, PutTagsPayload, SearchResourcesDto, SearchResourcesParams, SetPermissionsPayload } from './data-contracts'; | ||
import { Service } from './Service'; | ||
@@ -151,3 +151,3 @@ /** | ||
*/ | ||
setPermissions1(resourceId: string, data: AccessControlListDc): Promise<AccessControlListDc>; | ||
setPermissions1(resourceId: string, data: AccessControlListDc): Promise<void>; | ||
/** | ||
@@ -163,3 +163,3 @@ * No description | ||
*/ | ||
setPermissions(data: SetPermissionsPayload): Promise<ResourceAclDc[]>; | ||
setPermissions(data: SetPermissionsPayload): Promise<void>; | ||
/** | ||
@@ -166,0 +166,0 @@ * No description |
@@ -1,2 +0,2 @@ | ||
import { AccessControlListDc, BulkOperationResultDc, DeleteResourcesParams3, ExtendedProjectInfoDc, ExtendedProjectLayersInfo, FileUploadResponse, GetProjectsInfoParams, GetProjectsListParams, PagedListProjectInfoDc, ProjectsListDc, ResourceDependenciesDc, SetPermissionsBatchBody, SetPreviewBody } from './data-contracts'; | ||
import { AccessControlListDc, BulkOperationResultDc, DeleteResourcesParams4, ExtendedProjectInfoDc, ExtendedProjectLayersInfo, FileUploadResponse, GetProjectsInfoParams, GetProjectsListParams, PagedListProjectInfoDc, ProjectsListDc, ResourceDependenciesDc, SetPermissionsBatchBody, SetPreviewBody } from './data-contracts'; | ||
import { Service } from './Service'; | ||
@@ -52,3 +52,3 @@ /** | ||
*/ | ||
deleteResources(query: DeleteResourcesParams3): Promise<BulkOperationResultDc[]>; | ||
deleteResources(query: DeleteResourcesParams4): Promise<BulkOperationResultDc[]>; | ||
/** | ||
@@ -55,0 +55,0 @@ * No description |
@@ -1,2 +0,2 @@ | ||
import { ClassifyDc, ClassifyParams8, GetClassifyDc, GetStatisticsDc, GetSumOfProductDc, StatisticsDbParams, StatisticsDc, SumOfProductParams } from './data-contracts'; | ||
import { ClassifyDc, ClassifyParams4, GetClassifyDc, GetStatisticsDc, GetSumOfProductDc, StatisticsDbParams, StatisticsDc, SumOfProductParams } from './data-contracts'; | ||
import { Service } from './Service'; | ||
@@ -41,3 +41,3 @@ /** | ||
*/ | ||
classify(query: ClassifyParams8): Promise<ClassifyDc>; | ||
classify(query: ClassifyParams4): Promise<ClassifyDc>; | ||
/** | ||
@@ -44,0 +44,0 @@ * No description |
@@ -1,2 +0,2 @@ | ||
import { AccessControlListDc, BulkOperationResultDc, CreateViewFromQueryLayerDc, DeleteResourcesParams3, DeleteTableDataParams, DetailedTableInfoDc, FileUploadResponse, GetTableDataParams, GetTableListParams, GetTablesInfoParams, GetUniqueDataRowsParams, MapTableInfoDc, MapTableParams, PagedListIEnumerable1, PagedListTableInfoDc, ResourceDependenciesDc, SetPermissionsBatchInput, SetPreviewInput, TableListDc, UpdateTableDataParams, UpdateTableDataPayload, UpdateTableDc, WriteTableDataPayload } from './data-contracts'; | ||
import { AccessControlListDc, BulkOperationResultDc, CreateViewFromQueryLayerDc, DeleteResourcesParams10, DeleteTableDataParams, DetailedTableInfoDc, FileUploadResponse, GetTableDataParams, GetTableListParams, GetTablesInfoParams, GetUniqueDataRowsParams, MapTableInfoDc, MapTableParams, PagedListIEnumerable1, PagedListTableInfoDc, ResourceDependenciesDc, SetPermissionsBatchInput, SetPreviewInput, TableListDc, UpdateTableDataParams, UpdateTableDataPayload, UpdateTableDc, WriteTableDataPayload } from './data-contracts'; | ||
import { Service } from './Service'; | ||
@@ -52,3 +52,3 @@ /** | ||
*/ | ||
deleteResources(query: DeleteResourcesParams3): Promise<BulkOperationResultDc[]>; | ||
deleteResources(query: DeleteResourcesParams10): Promise<BulkOperationResultDc[]>; | ||
/** | ||
@@ -55,0 +55,0 @@ * No description |
@@ -1,2 +0,2 @@ | ||
import { GetAllParams6, PagedListTagInfoDc } from './data-contracts'; | ||
import { GetAllParams3, PagedListTagInfoDc } from './data-contracts'; | ||
import { Service } from './Service'; | ||
@@ -19,3 +19,3 @@ /** | ||
*/ | ||
getAll(query: GetAllParams6): Promise<PagedListTagInfoDc>; | ||
getAll(query: GetAllParams3): Promise<PagedListTagInfoDc>; | ||
/** | ||
@@ -22,0 +22,0 @@ * No description |
@@ -1,2 +0,2 @@ | ||
import { GetCapabilities1Params, GetCapabilitiesParams4, GetFeatureInfoParams, GetLegendGraphicParams, GetMapParams } from './data-contracts'; | ||
import { GetCapabilities1Params, GetCapabilitiesParams7, GetFeatureInfoParams, GetLegendGraphicParams, GetMapParams } from './data-contracts'; | ||
import { Service } from './Service'; | ||
@@ -19,3 +19,3 @@ /** | ||
*/ | ||
getCapabilities(query: GetCapabilitiesParams4): Promise<void>; | ||
getCapabilities(query: GetCapabilitiesParams7): Promise<void>; | ||
/** | ||
@@ -22,0 +22,0 @@ * No description |
@@ -10,3 +10,3 @@ import { EventEmitter } from '@evergis/event-emitter'; | ||
import { Account, AccountPreview, BulkOperations, Cameras, ClientSettings, External, Eql, Feedback, FileUpload, Filters, General, Geocode, IceRouter, Import, Layers, Names, Namespace, Notification, PortalSettings, Print, Projects, ResourceCatalog, Resources, Scheduler, Security, Statistic, Styles, Tables, Tools, VectorTiles } from './services'; | ||
import { LoginDc } from './__generated__/data-contracts'; | ||
import { AuthenticateParams, LoginDc } from './__generated__/data-contracts'; | ||
export declare type ApiParams = { | ||
@@ -69,4 +69,5 @@ url: string; | ||
constructor({ url, wsUrl, wsKeepAlive, snappingHubUrl, http, urlPath, httpOptions, }: ApiParams); | ||
init({ authParams, connectWs, initScheduler, fetchSettings, fetchUser, }: { | ||
init({ authParams, authQueryParams, connectWs, initScheduler, fetchSettings, fetchUser, }: { | ||
authParams?: LoginDc; | ||
authQueryParams?: AuthenticateParams; | ||
connectWs?: boolean; | ||
@@ -73,0 +74,0 @@ connectSignalR?: boolean; |
import { AccountService } from '../__generated__/AccountService'; | ||
import { LoginDc, UserInfoDc } from '../__generated__/data-contracts'; | ||
import { AuthenticateParams, LoginDc, UserInfoDc } from '../__generated__/data-contracts'; | ||
export declare type DecodedAuthToken = { | ||
@@ -28,3 +28,3 @@ /** емайл */ | ||
private userInfo?; | ||
login(params?: LoginDc): Promise<void>; | ||
login(params?: LoginDc, authParams?: AuthenticateParams): Promise<void>; | ||
fetchCurrentUser(): Promise<Partial<UserInfoWithPhoto>>; | ||
@@ -31,0 +31,0 @@ get username(): string; |
import { StatisticService } from '../__generated__/StatisticService'; | ||
import { ClassifyDc, ClassifyParams8, GetClassifyDc, GetStatisticsDc, StatisticsDbParams, StatisticsDc } from "../__generated__/data-contracts"; | ||
import { ClassifyDc, ClassifyParams4, GetClassifyDc, GetStatisticsDc, StatisticsDbParams, StatisticsDc } from "../__generated__/data-contracts"; | ||
export declare class Statistic extends StatisticService { | ||
getStatistic(params: StatisticsDbParams): Promise<StatisticsDc>; | ||
postStatistic(params: GetStatisticsDc): Promise<StatisticsDc>; | ||
getClassify(params: ClassifyParams8): Promise<ClassifyDc>; | ||
getClassify(params: ClassifyParams4): Promise<ClassifyDc>; | ||
postClassify(params: GetClassifyDc): Promise<ClassifyDc>; | ||
} |
{ | ||
"version": "3.0.193", | ||
"version": "3.0.194", | ||
"license": "MIT", | ||
@@ -48,3 +48,3 @@ "main": "dist/index.js", | ||
}, | ||
"gitHead": "8b5ea1a134a1bfdb2136020a9b2bc5c97d723626" | ||
"gitHead": "153f0c39ffb972a15d54bc8c6fcd62aba69f3369" | ||
} |
@@ -0,0 +0,0 @@ # @evergis/api |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
2563353
28646