UNPKG

notbank

Version:
53 lines (52 loc) 2.27 kB
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 { RegisterService } from "./registerService.js"; import { ReportService } from "./reportService.js"; import { YieldService } from "./yieldService.js"; import { SubAccountService } from "./subAccountService.js"; import { SubscriptionService } from "./subscriptionService.js"; import { SystemService } from "./systemService.js"; import { TradingService } from "./tradingService.js"; import { UserService } from "./userService.js"; import { VerificationService } from "./verificationService.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: number; }): Promise<void>; updateSessionToken(aptoken: string): any; 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; newRegisterService(): RegisterService; newVerificationService(): VerificationService; newYieldService(): YieldService; newSubAccountService(): SubAccountService; }