refactor(api): service entity