export declare const fixedURLEnc: (str: string) => string; /** * SocketConfig Class */ export declare class SocketConfig { /** * API system entity. "54cd" for LIVE system; "1234" for OT&E system */ private entity; /** * account name */ private login; /** * one time password (2FA) */ private otp; /** * account password */ private pw; /** * remote ip address (ip filter) */ private remoteaddr; /** * API session id */ private session; /** * subuser account name (subuser specific data view) */ private user; constructor(); /** * Create POST data string out of connection data * @returns POST data string */ getPOSTData(): string; /** * Get API Session ID in use * @returns API Session ID */ getSession(): string; /** * Get API System Entity in use * @returns API System Entity */ getSystemEntity(): string; /** * Set account name to use * @param value account name * @returns Current SocketConfig instance for method chaining */ setLogin(value: string): SocketConfig; /** * Set one time password to use * @param value one time password * @returns Current SocketConfig instance for method chaining */ setOTP(value: string): SocketConfig; /** * Set account password to use * @param value account password * @returns Current SocketConfig instance for method chaining */ setPassword(value: string): SocketConfig; /** * Set Remote IP Address to use * @param value remote ip address * @returns Current SocketConfig instance for method chaining */ setRemoteAddress(value: string): SocketConfig; /** * Set API Session ID to use * @param value API Session ID * @returns Current SocketConfig instance for method chaining */ setSession(value: string): SocketConfig; /** * Set API System Entity to use * This is set to 54cd / LIVE System by default * @param value API System Entity * @returns Current SocketConfig instance for method chaining */ setSystemEntity(value: string): SocketConfig; /** * Set subuser account name (for subuser data view) * @param value subuser account name * @returns Current SocketConfig instance for method chaining */ setUser(value: string): SocketConfig; }