notbank
Version:
The Notbank for Node.js
44 lines (43 loc) • 1.81 kB
TypeScript
import { ServiceConnection } from "../core/serviceClient.js";
import { WebsocketConnectionConfiguration } from "../core/websocket/websocketConnectionConfiguration.js";
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 { QuoteService } from "./quoteService.js";
import { ReportService } from "./reportService.js";
import { SubscriptionService } from "./subscriptionService.js";
import { SystemService } from "./systemService.js";
import { TradingService } from "./tradingService.js";
import { UserService } from "./userService.js";
import { WalletService } from "./walletService.js";
export declare class WebsocketServiceFactory {
private serviceConnection;
private getReadyState;
constructor(configuration?: WebsocketConnectionConfiguration);
connect(): Promise<void>;
close(): Promise<void>;
get isConnecting(): boolean;
get isConnected(): boolean;
get isClosing(): boolean;
get isClosed(): boolean;
authenticateUser(params: {
ApiPublicKey: string;
ApiSecretKey: string;
UserId: string;
}): Promise<void>;
getConnection(): ServiceConnection;
newAccountService(): AccountService;
newAuthService(): AuthService;
newFeeService(): FeeService;
newInstrumentService(): InstrumentService;
newProductService(): ProductService;
newReportService(): ReportService;
newSystemService(): SystemService;
getSubscriptionService(): SubscriptionService;
newTradingService(): TradingService;
newUserService(): UserService;
newWalletService(): WalletService;
newQuoteService(): QuoteService;
}