Expected response
Pageable {
response: {
type: 'list',
data: [ [Object], [Object], [Object], [Object], [Object] ],
pages: {
type: 'pages',
next: null,
page: 1,
per_page: 50,
total_pages: 1
},
total_count: 5
},
data: [],
_hasNextPage: [Function: hasNextPage],
getItems: [Function: getItems],
loadNextPage: [Function: loadPage]
}
Observed response
...
"pages": {
"type": "pages",
"next": {
"page": 2,
"starting_after": "WzE3NDczNjU1NTUwMDAsIjYzMTFhMTRkOWRiYzJjNGQ5NmU3MWJhNSIsMl0="
},
"page": 1,
"per_page": 50,
"total_pages": 4
}
The main issue im facing here is the lack of the getting next page automatically as described in the sdk notes
_hasNextPage: [Function: hasNextPage],
getItems: [Function: getItems],
loadNextPage: [Function: loadPage]