Console
SDK
REST API
Preparing search index...
The search index is not available
Integration App React - v2.13.2
Integration App React
useActionInstance
Function useActionInstance
useActionInstance
(
selector
:
undefined
|
string
|
ActionInstanceSelector
,
)
:
{
actionInstance
:
undefined
|
ActionInstance
;
accessor
:
undefined
|
ActionInstanceAccessor
;
refresh
:
()
=>
Promise
<
ActionInstance
>
;
setup
:
()
=>
Promise
<
void
>
;
reset
:
()
=>
Promise
<
void
>
;
openConfiguration
:
(
options
?:
OpenActionConfigurationOptions
,
)
=>
Promise
<
undefined
|
void
>
;
run
:
(
input
?:
any
)
=>
Promise
<
undefined
|
ActionRunResponse
>
;
loading
:
boolean
;
saving
:
boolean
;
error
:
any
;
refreshing
:
boolean
;
create
:
(
data
:
CreateActionInstanceRequest
,
)
=>
Promise
<
undefined
|
ActionInstance
>
;
patch
:
(
data
:
Partial
<
UpdateActionInstanceRequest
>
)
=>
Promise
<
void
>
;
put
:
(
data
:
UpdateActionInstanceRequest
)
=>
Promise
<
void
>
;
archive
:
()
=>
Promise
<
void
>
;
}
Parameters
selector
:
undefined
|
string
|
ActionInstanceSelector
Returns
{
actionInstance
:
undefined
|
ActionInstance
;
accessor
:
undefined
|
ActionInstanceAccessor
;
refresh
:
()
=>
Promise
<
ActionInstance
>
;
setup
:
()
=>
Promise
<
void
>
;
reset
:
()
=>
Promise
<
void
>
;
openConfiguration
:
(
options
?:
OpenActionConfigurationOptions
,
)
=>
Promise
<
undefined
|
void
>
;
run
:
(
input
?:
any
)
=>
Promise
<
undefined
|
ActionRunResponse
>
;
loading
:
boolean
;
saving
:
boolean
;
error
:
any
;
refreshing
:
boolean
;
create
:
(
data
:
CreateActionInstanceRequest
,
)
=>
Promise
<
undefined
|
ActionInstance
>
;
patch
:
(
data
:
Partial
<
UpdateActionInstanceRequest
>
)
=>
Promise
<
void
>
;
put
:
(
data
:
UpdateActionInstanceRequest
)
=>
Promise
<
void
>
;
archive
:
()
=>
Promise
<
void
>
;
}
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
Console
SDK
REST API
Integration App React - v2.13.2
Loading...