This add the cursor param to the Subscribers list method. The ListSubscribersResponse type includes the next_cursor and prev_cursor, but the get method didn't accept a cursor via the GetParams type.
I tested this locally, but when I tried running the test via npm test it required an API token and I didn't want to run the tests on my account without knowing what it would add/remove.
This add the
cursor
param to the Subscribers list method. TheListSubscribersResponse
type includes thenext_cursor
andprev_cursor
, but theget
method didn't accept acursor
via theGetParams
type.I tested this locally, but when I tried running the test via
npm test
it required an API token and I didn't want to run the tests on my account without knowing what it would add/remove.Example:
Reference: https://developers.mailerlite.com/docs/subscribers.html#list-all-subscribers