Preparing search index...
The search index is not available
BIM.works SDKs - v1.3.11-b201k
BIM.works SDKs
@sascom/jsclient
Client
Class Client
Index
Constructors
constructor
Properties
status
Methods
is
Expired
post
set
Auth
set
Default
Error
Handler
validate
And
Set
Auth
Constructors
constructor
new
Client
(
clientFactory
,
settings
)
:
Client
Parameters
clientFactory
:
ClientFactory
settings
:
ClientFactorySettings
Returns
Client
Properties
Readonly
status
status
:
"closed"
|
"new"
|
"open"
Methods
is
Expired
is
Expired
(
auth
)
:
boolean
Parameters
auth
:
AuthToken
Returns
boolean
post
post
(
projectName
,
taskName
,
input
?
,
auth
?
)
:
Task
Parameters
projectName
:
string
taskName
:
string
Optional
input
:
unknown
Optional
auth
:
AuthToken
Returns
Task
post
(
projectName
,
input
?
,
auth
?
)
:
Task
Parameters
projectName
:
string
Optional
input
:
unknown
Optional
auth
:
AuthToken
Returns
Task
post
(
projectName
,
taskName
,
input
?
,
auth
?
)
:
Task
Parameters
projectName
:
string
taskName
:
string
Optional
input
:
unknown
Optional
auth
:
AuthToken
Returns
Task
set
Auth
set
Auth
(
auth
)
:
Promise
<
void
>
Parameters
auth
:
AuthToken
Returns
Promise
<
void
>
set
Default
Error
Handler
set
Default
Error
Handler
(
defaultErrorHandler
)
:
void
Parameters
defaultErrorHandler
:
(
(
error
:
Error
,
request
:
unknown
,
response
:
unknown
)
=>
void
)
(
error
,
request
,
response
)
:
void
Parameters
error
:
Error
request
:
unknown
response
:
unknown
Returns
void
Returns
void
validate
And
Set
Auth
validate
And
Set
Auth
(
auth
)
:
Promise
<
void
>
Parameters
auth
:
AuthToken
Returns
Promise
<
void
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
status
Methods
is
Expired
post
set
Auth
set
Default
Error
Handler
validate
And
Set
Auth
BIM.works SDKs - v1.3.11-b201k
Loading...