Search
Preparing search index...
The search index is not available
@myinterview/global-api-sdk
Options
All
Public
Public/Protected
All
Inherited
Externals
Menu
@myinterview/global-api-sdk
GAWebhooks
Class GAWebhooks
Hierarchy
GlobalApi
GAWebhooks
Index
Constructors
constructor
Properties
config
Methods
make
Api
Call
create
Webhook
populate
Headers
set
Config
test
Webhook
Constructors
constructor
new GAWebhooks
(
instanceConfig
?:
IGlobalApiSdkConfig
)
:
GAWebhooks
Parameters
Optional
instanceConfig:
IGlobalApiSdkConfig
Returns
GAWebhooks
Properties
Static
config
config
:
IGlobalApiSdkConfig
Methods
Protected
make
Api
Call
make
Api
Call
(
action
:
string
, data
?:
indexedObject
)
:
IGlobalApiCallConfig
Parameters
action:
string
Optional
data:
indexedObject
Returns
IGlobalApiCallConfig
Static
create
Webhook
create
Webhook
(
body
:
{
url
:
string
}
, instanceConfig
?:
IGlobalApiSdkConfig
)
:
Promise
<
IApiResponseObj
<
{
message
:
string
}
>
>
Parameters
body:
{
url
:
string
}
url
:
string
Optional
instanceConfig:
IGlobalApiSdkConfig
Returns
Promise
<
IApiResponseObj
<
{
message
:
string
}
>
>
Static
populate
Headers
populate
Headers
(
config
:
IGlobalApiSdkConfig
)
:
IGlobalApiHeaders
Parameters
config:
IGlobalApiSdkConfig
Returns
IGlobalApiHeaders
Static
set
Config
set
Config
(
config
:
IGlobalApiSdkConfig
)
:
void
Parameters
config:
IGlobalApiSdkConfig
Returns
void
Static
test
Webhook
test
Webhook
(
body
:
{
url
:
string
}
, instanceConfig
?:
IGlobalApiSdkConfig
)
:
Promise
<
IApiResponseObj
<
{
message
:
string
}
>
>
Parameters
body:
{
url
:
string
}
url
:
string
Optional
instanceConfig:
IGlobalApiSdkConfig
Returns
Promise
<
IApiResponseObj
<
{
message
:
string
}
>
>
Exports
GAWebhooks
constructor
config
make
Api
Call
create
Webhook
populate
Headers
set
Config
test
Webhook
Generated using
TypeDoc