Need to fetch all queues across multiple divisions using the Genesys Cloud Platform SDK for JavaScript. The routingApi.getAllQueues() method requires a specific divisionId, so it’s not returning the full list when called once.
const result = await routingApi.getAllQueues({ divisionId: 'my-division-id' });
Is there a built-in method to handle cross-division pagination or do I have to loop through division IDs manually?