notifications-node-client
Advanced tools
Changelog
[4.5.1] - 2018-09-14
Changelog
[4.5.0] - 2018-09-13
Changelog
[4.4.0] - 2018-09-05
prepareUpload
as a part of this development. This function encodes the document that is to be uploaded with base64 and returns a dictionary with prepared document as a value (the way our API is prepared to receive it). It also checks if the provided file is not larger than 2MB. The function throws an error if the file is too big.Changelog
[4.3.0] - 2018-09-04
name
to the response for getTemplateById()
and getTemplateByIdAndVersion()
Changelog
[4.2.0] - 2018-07-24
created_by_name
to the response for .getNotificationById()
and .getNotifications()
:
null
.Changelog
[4.1.0] - 2017-11-23
getReceivedTexts
- get one page of text messages (250) per callChangelog
[4.0.0] - 2017-11-07
sendSms
, sendEmail
and sendLetter
to take an options
object as a parameter.
personalisation
, reference
, smsSenderId
and emailReplyToId
now need to be passed to these functions inside options
.Crypto
dependencyChangelog
[3.5.0] - 2017-11-01
sendSms
method with optional argument:
smsSenderId
- specify the identifier of the sms sender (optional)Changelog
[3.2.0] - 2017-09-22
setProxy(proxyUrl)
- specify the URL of a proxy for the client to use (optional)Changelog
[3.1.0] - 2017-05-10
Added new methods for managing templates:
getTemplateById
- retrieve a single templategetTemplateByIdAndVersion
- retrieve a specific version for a desired templategetAllTemplates
- retrieve all templates (can filter by type)previewTemplateById
- preview a template with personalisation appliedUpdate README to describe how to catch errors