Console
SDK
REST API
Preparing search index...
The search index is not available
Integration App React - v2.13.2
Integration App React
useIntegration
Function useIntegration
useIntegration
(
idOrKey
:
undefined
|
string
,
)
:
{
integration
:
undefined
|
Integration
;
accessor
:
undefined
|
IntegrationAccessor
;
loading
:
boolean
;
saving
:
boolean
;
error
:
any
;
refresh
:
()
=>
Promise
<
Integration
>
;
refreshing
:
boolean
;
create
:
(
data
:
CreateIntegrationRequest
,
)
=>
Promise
<
undefined
|
Integration
>
;
patch
:
(
data
:
Partial
<
UpdateIntegrationRequest
>
)
=>
Promise
<
void
>
;
put
:
(
data
:
UpdateIntegrationRequest
)
=>
Promise
<
void
>
;
archive
:
()
=>
Promise
<
void
>
;
}
Parameters
idOrKey
:
undefined
|
string
Returns
{
integration
:
undefined
|
Integration
;
accessor
:
undefined
|
IntegrationAccessor
;
loading
:
boolean
;
saving
:
boolean
;
error
:
any
;
refresh
:
()
=>
Promise
<
Integration
>
;
refreshing
:
boolean
;
create
:
(
data
:
CreateIntegrationRequest
,
)
=>
Promise
<
undefined
|
Integration
>
;
patch
:
(
data
:
Partial
<
UpdateIntegrationRequest
>
)
=>
Promise
<
void
>
;
put
:
(
data
:
UpdateIntegrationRequest
)
=>
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...