export const index = async function (auth, components = null, params = null) {
  const endpoint = router.endpoint(ENDPOINT, components, params );
  const headers = auth.headers(endpoint);
  const config = headers;
  return request.get(endpoint.url, config);