Refactor QuotesPublishCommand
Code cleaning and PaginatedContentInterface for API endpoints