Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Notifications

Used to send notifications to users. Right now only email is supported. Not to be confused with bunq notification filers, which are handled directly on the Bunq class (bunq.ts).

Hierarchy

  • any
    • Notifications

Index

Properties

Accessors

Methods

Properties

smtp

smtp: any

SMTP client created via Nodemailer.

Accessors

Static Export assignment Instance

Methods

init

  • init(): Promise<void>

send

  • Sends a notification to the user. This acts as a generic wrapper, so if a push service is enabled it will via push otherwise, it will send the notification via email.

    Parameters

    Returns Promise<void>

toEmail

toPush

Generated using TypeDoc