august-yale
Preparing search index...
default
Class default
Index
Constructors
constructor
Properties
config
token
Methods
_
details
_
locks
_
status
_
subscribe
add
Simple
Props
authorize
details
end
fetch
get
lock
locks
post
put
status
subscribe
unlock
validate
add
Simple
Props
authorize
details
lock
locks
status
subscribe
unlock
validate
Constructors
constructor
new
default
(
config
:
config
)
:
default
Parameters
config
:
config
Returns
default
Properties
config
config
:
config
token
token
:
any
Methods
_
details
_details
(
lockId
:
string
)
:
Promise
<
AugustLockDetails
[]
>
Parameters
lockId
:
string
Returns
Promise
<
AugustLockDetails
[]
>
_
locks
_locks
()
:
Promise
<
any
>
Returns
Promise
<
any
>
_
status
_status
(
lockId
:
string
)
:
Promise
<
any
>
Parameters
lockId
:
string
Returns
Promise
<
any
>
_
subscribe
_subscribe
(
lockId
:
any
,
callback
:
any
)
:
Promise
<
()
=>
void
>
Parameters
lockId
:
any
callback
:
any
Returns
Promise
<
()
=>
void
>
add
Simple
Props
addSimpleProps
(
obj
:
{
doorState
?:
any
;
info
?:
any
;
lockID
?:
any
;
state
?:
any
;
status
?:
any
;
}
,
)
:
void
Parameters
obj
:
{
doorState
?:
any
;
info
?:
any
;
lockID
?:
any
;
state
?:
any
;
status
?:
any
}
Returns
void
authorize
authorize
()
:
Promise
<
boolean
>
Returns
Promise
<
boolean
>
details
details
(
lockId
:
string
)
:
Promise
<
AugustLockDetails
[]
>
Parameters
lockId
:
string
Returns
Promise
<
AugustLockDetails
[]
>
end
end
()
:
void
Returns
void
fetch
fetch
(
__namedParameters
:
FetchOptions
)
:
Promise
<
TinyResult
>
Parameters
__namedParameters
:
FetchOptions
Returns
Promise
<
TinyResult
>
get
get
(
endpoint
:
any
)
:
Promise
<
TinyResult
>
Parameters
endpoint
:
any
Returns
Promise
<
TinyResult
>
lock
lock
(
lockId
:
string
)
:
Promise
<
AugustLockStatus
>
Parameters
lockId
:
string
Returns
Promise
<
AugustLockStatus
>
locks
locks
()
:
Promise
<
any
>
Returns
Promise
<
any
>
post
post
(
endpoint
:
any
,
data
:
any
)
:
Promise
<
TinyResult
>
Parameters
endpoint
:
any
data
:
any
Returns
Promise
<
TinyResult
>
put
put
(
endpoint
:
any
,
data
:
any
)
:
Promise
<
TinyResult
>
Parameters
endpoint
:
any
data
:
any
Returns
Promise
<
TinyResult
>
status
status
(
lockId
:
string
)
:
Promise
<
any
>
Parameters
lockId
:
string
Returns
Promise
<
any
>
subscribe
subscribe
(
lockId
:
any
,
callback
:
any
)
:
Promise
<
()
=>
void
>
Parameters
lockId
:
any
callback
:
any
Returns
Promise
<
()
=>
void
>
unlock
unlock
(
lockId
:
string
)
:
Promise
<
AugustLockStatus
>
Parameters
lockId
:
string
Returns
Promise
<
AugustLockStatus
>
validate
validate
(
code
:
string
)
:
Promise
<
boolean
>
Parameters
code
:
string
Returns
Promise
<
boolean
>
Static
add
Simple
Props
addSimpleProps
(
config
:
config
,
obj
:
{
doorState
?:
any
;
info
?:
any
;
lockID
?:
any
;
state
?:
any
;
status
?:
any
;
}
,
)
:
void
Parameters
config
:
config
obj
:
{
doorState
?:
any
;
info
?:
any
;
lockID
?:
any
;
state
?:
any
;
status
?:
any
}
Returns
void
Static
authorize
authorize
(
config
:
config
)
:
Promise
<
boolean
>
Parameters
config
:
config
Returns
Promise
<
boolean
>
Static
details
details
(
config
:
config
,
lockId
:
string
)
:
Promise
<
AugustLockDetails
[]
>
Parameters
config
:
config
lockId
:
string
Returns
Promise
<
AugustLockDetails
[]
>
Static
lock
lock
(
config
:
config
,
lockId
:
string
)
:
Promise
<
AugustLockStatus
>
Parameters
config
:
config
lockId
:
string
Returns
Promise
<
AugustLockStatus
>
Static
locks
locks
(
config
:
config
)
:
Promise
<
any
>
Parameters
config
:
config
Returns
Promise
<
any
>
Static
status
status
(
config
:
config
,
lockId
:
string
)
:
Promise
<
any
>
Parameters
config
:
config
lockId
:
string
Returns
Promise
<
any
>
Static
subscribe
subscribe
(
config
:
config
,
lockId
:
string
,
callback
?:
any
)
:
Promise
<
()
=>
void
>
Parameters
config
:
config
lockId
:
string
Optional
callback
:
any
Returns
Promise
<
()
=>
void
>
Static
unlock
unlock
(
config
:
config
,
lockId
:
string
)
:
Promise
<
AugustLockStatus
>
Parameters
config
:
config
lockId
:
string
Returns
Promise
<
AugustLockStatus
>
Static
validate
validate
(
config
:
config
,
code
:
string
)
:
Promise
<
boolean
>
Parameters
config
:
config
code
:
string
Returns
Promise
<
boolean
>
Settings
Member Visibility
Inherited
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
config
token
Methods
_
details
_
locks
_
status
_
subscribe
add
Simple
Props
authorize
details
end
fetch
get
lock
locks
post
put
status
subscribe
unlock
validate
add
Simple
Props
authorize
details
lock
locks
status
subscribe
unlock
validate
august-yale
Loading...