Update react-query typings and methods for API endpoints
This refactor replaces outdated API methods with new ones, aligning with updated backend endpoints. The changes include renaming and restructuring query/mutation functions and their corresponding types to improve consistency and support additional API capabilities.
This commit is contained in: