Construct a NotificationsApiV1 object.
Name | Type | Attribute | Description |
---|---|---|---|
options |
UserOptions |
Options for the service. |
Configure the service using external configuration
Name | Type | Attribute | Description |
---|---|---|---|
serviceName |
string |
The name of the service. Will be used to read from external configuration. |
create notification channel.
create notification channel.
Name | Type | Attribute | Description | ||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
params |
CreateNotificationChannelParams |
The parameters to send to the service. Properties
|
Wrapper around sendRequest
that enforces the request will be authenticated.
Name | Type | Attribute | Description |
---|---|---|---|
parameters |
any |
Service request options passed in by user. |
delete the details of a specific channel.
delete the details of a specific channel.
Name | Type | Attribute | Description | ||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
params |
DeleteNotificationChannelParams |
The parameters to send to the service. Properties
|
bulk delete of channels.
bulk delete of channels.
Name | Type | Attribute | Description | ||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
params |
DeleteNotificationChannelsParams |
The parameters to send to the service. Properties
|
Get the instance of the authenticator set on the service.
get the details of a specific channel.
get the details of a specific channel.
Name | Type | Attribute | Description | ||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
params |
GetNotificationChannelParams |
The parameters to send to the service. Properties
|
fetch notifications public key.
fetch public key to decrypt messages in notification payload.
Name | Type | Attribute | Description | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
params |
GetPublicKeyParams |
The parameters to send to the service. Properties
|
list all channels.
list all channels under this account.
Name | Type | Attribute | Description | ||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
params |
ListAllChannelsParams |
The parameters to send to the service. Properties
|
Set the service URL to send requests to.
Name | Type | Attribute | Description |
---|---|---|---|
url |
string |
The base URL for the service. |
test notification channel.
test a nofication channel under this account.
Name | Type | Attribute | Description | ||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
params |
TestNotificationChannelParams |
The parameters to send to the service. Properties
|
update notification channel.
update notification channel.
Name | Type | Attribute | Description | ||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
params |
UpdateNotificationChannelParams |
The parameters to send to the service. Properties
|
Constructs an instance of NotificationsApiV1 with passed in options and external configuration.
Name | Type | Attribute | Description |
---|---|---|---|
options |
UserOptions |
Generated using TypeDoc
notifications-api interfaces