notifications-node-client
Advanced tools
Changelog
[3.0.0] - 2016-12-16
Using v2 of the notification-api.
Update to notifyClient.sendSms()
:
reference
: an optional identifier you generate if you don’t want to use Notify’s id
. It can be used to identify a single notification or a batch of notifications.notifyClient.sendSms(templateId, phoneNumber, personalisation, reference);
* Where `personalisation` and `reference` can be `undefined`.
notifyClient.sendEmail()
:
reference
: an optional identifier you generate if you don’t want to use Notify’s id
. It can be used to identify a single notification or a batch of notifications.notifyClient.sendEmail(templateId, emailAddress, personalisation, reference);
* Where `personalisation` and `reference` can be `undefined`.
NotificationClient.getAllNotifications()
reference
and olderThanId
, see the README for details.notifyClient.getNotifications(templateType, status, reference, olderThanId);
* Each one of these parameters can be `undefined`
Changelog not recorded - please see pull requests on github.