protected function transformPresencesForApi($presences)
    {
        $response = [];

        foreach ($presences as $presence) {
            $response[] = $this->transformPresenceForApi($presence);
        }

        return $response;
    }