Search
Preparing search index...
The search index is not available
wideq
Options
All
Public
Public/Protected
All
Inherited
Externals
Only exported
Menu
Globals
"cli"
External module "cli"
Index
Variables
program
version
Functions
authenticate
delay
init
input
save
State
Object literals
options
Variables
Const
program
program
:
Command
= new commander.Command('WideQJS')
Const
version
version
:
any
= fs.existsSync(path.join(__dirname, '../package.json')) ? JSON.parse(fs.readFileSync(path.join(__dirname, '../package.json')).toString()).version : ''
Functions
authenticate
authenticate
(
gateway
:
Gateway
)
:
Promise
<
Auth
>
Parameters
gateway:
Gateway
Returns
Promise
<
Auth
>
Const
delay
delay
(
ms
:
number
)
:
Promise
<
unknown
>
Parameters
ms:
number
Returns
Promise
<
unknown
>
init
init
(
country
:
string
, language
:
string
, stateFilePath
?:
undefined
|
string
)
:
Promise
<
Client
>
Parameters
country:
string
language:
string
Optional
stateFilePath:
undefined
|
string
Returns
Promise
<
Client
>
Const
input
input
(
question
:
string
)
:
Promise
<
string
>
Parameters
question:
string
Returns
Promise
<
string
>
save
State
save
State
(
stateFilePath
:
string
, client
:
Client
)
:
void
Parameters
stateFilePath:
string
client:
Client
Returns
void
Object literals
Const
options
options
:
object
country
country
:
string
= constants.DEFAULT_COUNTRY
language
language
:
string
= constants.DEFAULT_LANGUAGE
state
Path
state
Path
:
string
= "wideq-state.json"
Globals
"cli"
"client"
"core/auth"
"core/constants"
"core/device"
"core/device-
info"
"core/errors"
"core/gateway"
"core/model-
info"
"core/monitor"
"core/request"
"core/session"
"devices/ac"
"devices/dehumidifier"
"devices/dishwasher"
"devices/dryer"
"devices/washer"
"index"
"utils"
program
version
authenticate
delay
init
input
save
State
options
Generated using
TypeDoc