notbank
Version:
The Notbank for Node.js
45 lines (44 loc) • 1.99 kB
TypeScript
import { AccountService } from "./accountService.js";
import { AuthService } from "./authService.js";
import { FeeService } from "./feeService.js";
import { InstrumentService } from "./instrumentService.js";
import { ProductService } from "./productService.js";
import { ReportService } from "./reportService.js";
import { SystemService } from "./systemService.js";
import { TradingService } from "./tradingService.js";
import { UserService } from "./userService.js";
import { WalletService } from "./walletService.js";
import { QuoteService } from "./quoteService.js";
import { ServiceConnection } from "../core/serviceClient.js";
import { VerificationService } from "./verificationService.js";
import { RegisterService } from "./registerService.js";
import { YieldService } from "./yieldService.js";
import { SubAccountService } from "./subAccountService.js";
import { RequestData } from "../core/http/jsonRequester.js";
import { AxiosResponse } from "axios";
export declare class HttpServiceFactory {
#private;
constructor(domain?: string, peekRequest?: (data: RequestData<any>) => void, peekResponse?: (response: AxiosResponse<any>) => void);
authenticateUser(params: {
ApiPublicKey: string;
ApiSecretKey: string;
UserId: number;
}): Promise<void>;
updateSessionToken(sessionToken: string): void;
getConnection(): ServiceConnection;
newAccountService(): AccountService;
newAuthService(): AuthService;
newFeeService(): FeeService;
newInstrumentService(): InstrumentService;
newProductService(): ProductService;
newReportService(): ReportService;
newSystemService(): SystemService;
newTradingService(): TradingService;
newUserService(): UserService;
newWalletService(): WalletService;
newQuoteService(): QuoteService;
newRegisterService(): RegisterService;
newVerificationService(): VerificationService;
newYieldService(): YieldService;
newSubAccountService(): SubAccountService;
}