Implements

Constructors

HandlerAndValidators

createMessage: HandlerAndValidators<{
    authentication: undefined | Predicate;
    authorization: undefined | Predicate;
    validBody: undefined | Predicate;
} & Record<string, Predicate>>

Description

Create a message handler and validators

handler: createMessageHandler

validators:

createMessageTemplate: HandlerAndValidators<{
    authentication: undefined | Predicate;
    authorization: undefined | Predicate;
    validBody: undefined | Predicate;
} & Record<string, Predicate>>

Description

Create a message template handler and validators

handler: createMessageTemplateHandler

validators:

createSubscription: HandlerAndValidators<{
    authentication: undefined | Predicate;
    authorization: undefined | Predicate;
    validBody: undefined | Predicate;
} & Record<string, Predicate>>

Description

Create a subscription handler and validators

handler: createSubscriptionHandler

validators:

createTopic: HandlerAndValidators<{
    authentication: undefined | Predicate;
    authorization: undefined | Predicate;
    validBody: undefined | Predicate;
} & Record<string, Predicate>>

Description

Create a topic handler and validators

handler: createTopicHandler

validators:

createTopicAttachment: HandlerAndValidators<Record<string, Predicate>>

Description

Create a topic attachment handler and validators

handler: adapter.notFoundHandler

validators: none

deleteMessage: HandlerAndValidators<{
    authentication: undefined | Predicate;
    authorization: undefined | Predicate;
    messageExists: undefined | Predicate;
} & Record<string, Predicate>>

Description

Delete a message handler and validators

handler: deleteMessageHandler

validators:

deleteMessageTemplate: HandlerAndValidators<{
    authentication: undefined | Predicate;
    authorization: undefined | Predicate;
} & Record<string, Predicate>>

Description

Delete a message template handler and validators

handler: deleteMessageTemplateHandler

validators:

deleteSubscription: HandlerAndValidators<{
    authentication: undefined | Predicate;
    authorization: undefined | Predicate;
    subscriptionExists: undefined | Predicate;
} & Record<string, Predicate>>

Description

Delete a subscription handler and validators

handler: deleteSubscriptionHandler

validators:

deleteTopic: HandlerAndValidators<{
    authentication: undefined | Predicate;
    authorization: undefined | Predicate;
    topicExists: undefined | Predicate;
} & Record<string, Predicate>>

Description

Delete a topic handler and validators

handler: deleteTopicHandler

validators:

deleteTopicAttachment: HandlerAndValidators<Record<string, Predicate>>

Description

Delete a topic attachment handler and validators

handler: adapter.notFoundHandler

validators: none

getMessage: HandlerAndValidators<{
    authorization: undefined | Predicate;
} & Record<string, Predicate>>

Description

Get a message handler and validators

handler: getMessageHandler

validators:

getMessageTemplate: HandlerAndValidators<{
    authentication: undefined | Predicate;
    authorization: undefined | Predicate;
} & Record<string, Predicate>>

Description

Get a message template handler and validators

handler: getMessageTemplateHandler

validators:

getSubscription: HandlerAndValidators<{
    authentication: undefined | Predicate;
    authorization: undefined | Predicate;
} & Record<string, Predicate>>

Description

Get a subscription handler and validators

handler: getSubscriptionHandler

validators:

getTopic: HandlerAndValidators<{
    authentication: undefined | Predicate;
    authorization: undefined | Predicate;
} & Record<string, Predicate>>

Description

Get a topic handler and validators

handler: getTopicHandler

validators:

getTopicAttachment: HandlerAndValidators<Record<string, Predicate>>

Description

Get a topic attachment handler and validators

handler: adapter.notFoundHandler

validators: none

getTopicAttachmentUploadUrl: HandlerAndValidators<Record<string, Predicate>>

Description

Get topic attachment upload url handler and validators

handler: adapter.notFoundHandler

validators: none

listMessageTemplates: HandlerAndValidators<{
    authentication: undefined | Predicate;
    authorization: undefined | Predicate;
} & Record<string, Predicate>>

Description

Get message templates handler and validators

handler: listMessageTemplatesHandler

validators:

listMessageTemplatesForOrganization: HandlerAndValidators<Record<string, Predicate>>

Description

List message templates for organization handler and validators

handler: adapter.notFoundHandler

validators: none

listMessages: HandlerAndValidators<{
    authentication: undefined | Predicate;
    authorization: undefined | Predicate;
} & Record<string, Predicate>>

Description

Get messages handler and validators

handler: listMessagesHandler

validators:

listMessagesForPublic: HandlerAndValidators<Record<string, Predicate>>

Description

Get public messages handler and validators

handler: listMessagesForPublicHandler

validators: none

listMessagesForTopic: HandlerAndValidators<Record<string, Predicate>>

Description

Get topic messages handler and validators

handler: adapter.notFoundHandler

validators: none

listMessagesForUser: HandlerAndValidators<{
    authentication: undefined | Predicate;
    authorization: undefined | Predicate;
} & Record<string, Predicate>>

Description

Get user messages handler and validators

handler: listMessagesForUserHandler

validators:

listSubscriptions: HandlerAndValidators<{
    authentication: undefined | Predicate;
    authorization: undefined | Predicate;
} & Record<string, Predicate>>

Description

Get subscriptions handler and validators

handler: listSubscriptionsHandler

validators:

listSubscriptionsForTopic: HandlerAndValidators<Record<string, Predicate>>

Description

Get topic subscriptions handler and validators

handler: adapter.notFoundHandler

validators: none

listTopicAttachments: HandlerAndValidators<Record<string, Predicate>>

Description

Get topic attachments handler and validators

handler: adapter.notFoundHandler

validators: none

listTopics: HandlerAndValidators<{
    authentication: undefined | Predicate;
    authorization: undefined | Predicate;
} & Record<string, Predicate>>

Description

Get topics handler and validators

handler: listTopicsHandler

validators:

listTopicsOwnedByOrganization: HandlerAndValidators<Record<string, Predicate>>

Description

Get organization subscribed topics handler and validators

handler: adapter.notFoundHandler

validators: none

listTopicsOwnedByUser: HandlerAndValidators<Record<string, Predicate>>

Description

Get user owned topics handler and validators

handler: adapter.notFoundHandler

validators: none

listTopicsSubscribedByOrganization: HandlerAndValidators<Record<string, Predicate>>

Description

Get user subscribed topics handler and validators

handler: adapter.notFoundHandler

validators: none

listTopicsSubscribedByUser: HandlerAndValidators<Record<string, Predicate>>

Description

Get organization subscribed topics handler and validators

handler: adapter.notFoundHandler

validators: none

updateMessage: HandlerAndValidators<{
    authentication: undefined | Predicate;
    authorization: undefined | Predicate;
    doesMessageExist: undefined | Predicate;
    validBody: undefined | Predicate;
} & Record<string, Predicate>>

Description

Update a message handler and validators

handler: updateMessageHandler

validators:

updateMessageReadStatus: HandlerAndValidators<{
    authentication: undefined | Predicate;
    authorization: undefined | Predicate;
    validBody: undefined | Predicate;
} & Record<string, Predicate>>

Description

Mark message as read handler and validators

handler: updateMessageReadStatusHandler

validators:

updateMessageTemplate: HandlerAndValidators<{
    authentication: undefined | Predicate;
    authorization: undefined | Predicate;
    validBody: undefined | Predicate;
} & Record<string, Predicate>>

Description

Update a message template handler and validators

handler: updateMessageTemplateHandler

validators:

updateTopic: HandlerAndValidators<{
    authentication: undefined | Predicate;
    authorization: undefined | Predicate;
    topicExists: undefined | Predicate;
    validBody: undefined | Predicate;
} & Record<string, Predicate>>

Description

Update a topic handler and validators

handler: updateTopicHandler

validators:

Properties

adapterName: string = ADAPTER_NAME
authSecrets: AuthSecrets
dataServices: {
    notification: NotificationDataService;
}

Type declaration

opts: Required<Omit<NotificationDefaultAdapterOptions, "sender" | (keyof AuthSecrets)>> & {
    sender: undefined | string;
}

Type declaration

  • sender: undefined | string

Generated using TypeDoc