Fetching all queues across divisions with Genesys JS SDK

Hey folks,

Trying to grab every queue in our org using the JS SDK. The routingApi.getRoutingQueues() call only returns queues for the default division, even though we’ve got a handful of others. I’ve tried passing the divisionId param, but I have to know the IDs beforehand.

Is there a clean way to list all divisions and loop through them, or am I missing a bulk fetch method? The docs are a bit sparse on multi-division handling here.

routingApi.getRoutingQueues({}, {}, {})