
namespace TIAMWebApp.Shared.Application.Models
{
    public class APIUrls
    {
        public const string BaseUrl = "api";
        public const string BaseUrlWithSlash = BaseUrl + "/";
        public const string BaseUrlWithSlashAndVersion = BaseUrlWithSlash + "v1/";

        public const string UserAPI = BaseUrlWithSlash + "UserAPI";
        public const string WeatherForecastAPI = BaseUrlWithSlash + "WeatherForecastAPI";
        public const string PopulationStructureAPI = BaseUrlWithSlash + "PopulationStructureAPI";
        public const string TransferDataAPI = BaseUrlWithSlash + "TransferDataAPI";
        public const string ServiceProviderAPI = BaseUrlWithSlash + "ServiceProviderAPI";
        public const string UserPermissionAPI = BaseUrlWithSlash + "UserPermissionAPI";

        public const string UserTest = UserAPI + "/test1";
        public const string GetUserByEmail = UserAPI + "/GetUserByEmail";
        public const string GetUserById = UserAPI + "/GetUserById";
        public const string GetUsers = UserAPI + "/GetUsers";
        public const string AuthenticateUser = UserAPI + "/AuthenticateUser";
        public const string CreateUser = UserAPI + "/CreateUser";
        public const string RefreshToken = UserAPI + "/RefreshToken";


        //public const string WeatherForecast = "api/WeatherForecastAPI";
        public const string WeatherForecast = WeatherForecastAPI;

        //public const string PopulationStructure = "PopulationStructureAPI";
        public const string PopulationStructure = PopulationStructureAPI;

        public const string GetTransferDestinations = TransferDataAPI+"/GetTransferDestinations";
        public const string GetTransferDestinationByCoordinates = TransferDataAPI+"/GetTransferDestinationByCoordinates";
        public const string GetTransferDestinationByAddress = TransferDataAPI+"/GetTransferDestinationByAddress";
        public const string CreateTransferDestination = TransferDataAPI+"/CreateTransferDestination";

        public const string GetServiceProvidersByOwnerId = ServiceProviderAPI+"/GetServiceProvidersByOwnerId";
        public const string GetQRCodeByProductId = ServiceProviderAPI+"/GetQRCodeByProductId";
        public const string AddProductRouteName = "/AddProduct";
        public const string AddProductRouteUrl = ServiceProviderAPI + AddProductRouteName;

        //AssingedUsers
        public const string CreateAssignedUser = "api/ServiceProviderAPI/CreateAssignedUser";
        public const string GetAssignedUsersForServiceProvider = "api/ServiceProviderAPI/GetAssignedUsersForServiceProvider";

        //permissions
        //1
        public const string GetPermissionsForContextByContextId = "api/UserPermissionAPI/GetPermissionsForContextByContextId";
        //2. get the contexts where the user has permission
        public const string GetPermissionContextByUserId = "api/UserPermissionAPI/GetPermissionContextByUserId";
        //12
        public const string GetPermissionGroupsForContextByContextId = "api/UserPermissionAPI/GetPermissionGroupsForContextByContextId";
    }
}
