import { RouteServiceTemplate, ExpressService } from "root-ts"; import { AuthenticationService } from "../service/authenticationService"; import { AccountService } from "../service/accountService"; export declare class AccountAPIService extends RouteServiceTemplate { readonly name = "api.account"; readonly dependencies: any; constructor(); services: { AuthenticationService: AuthenticationService; AccountService: AccountService; ExpressService: ExpressService; }; initialize(): void; } export declare namespace AccountAPIServiceSpec { const prefix = "/api/"; const name = "api.account"; const API: { getCurrentAccount: { readonly method: "POST"; readonly path: "account/me/GET"; info: { account: Type.Account.AccountService.AccountDefinition; }; return: Type.Account.AccountService.AccountDefinition; error: Error; }; webLoginStandard: { readonly method: "POST"; readonly path: "account/authentication/standard/GET"; body: { login: string; password: string; }; return: { account: Type.Account.AccountService.AccountDefinition; }; error: Error; }; getTokenStandard: { readonly method: "POST"; readonly path: "account/authentication/standard/token/GET"; body: { login: string; password: string; }; return: { account: Type.Account.AccountService.AccountDefinition; token: string; }; error: Error; }; registerStandard: { readonly method: "POST"; readonly path: "account/authentication/standard"; body: { name: string; password: string; email: string; }; return: { account: Type.Account.AccountService.AccountDefinition; }; error: Error; }; }; }