Open harryl-MoD opened 1 year ago
This would be useful for us too.
Currently we are using Notify for letters only, which require certain personalisation such as 3 address lines minimum. Something akin to the below:
type NotifyAddress = {
address_line_1: string
address_line_2: string
address_line_3: string
address_line_4?: string
address_line_5?: string
address_line_6?: string
address_line_7?: string
}
type NotifyLetterPersonalisation =
NotifyAddress & {
first_name: string;
surname: string;
}
Perhaps consider publishing just types so an npm install with:
npm i --save-dev @types/notifications-node-client
is possible?