This PR changes UpdateSubscriberPreferencesOptions struct to valid request body format
Field types in that struct changed to pointers, to avoid bug with omitempty tag, as described in issue #90
Added new struct UpdateSubscriberPreferencesResponse, because API endpoint returns single object in data field instead of array, which results in unmarshalling error
Added all notification channel types and made them optional, as API may return only some of them
This PR changes
UpdateSubscriberPreferencesOptions
struct to valid request body format Field types in that struct changed to pointers, to avoid bug withomitempty
tag, as described in issue #90Added new struct
UpdateSubscriberPreferencesResponse
, because API endpoint returns single object indata
field instead of array, which results in unmarshalling errorAdded all notification channel types and made them optional, as API may return only some of them
Fixes #90