using System.Threading.Tasks; using _0_Framework.Application; using Microsoft.AspNetCore.Http; namespace CompanyManagment.App.Contracts.AndroidApkVersion; public record AndroidApkVersionInfo(int LatestVersionCode, string LatestVersionName, bool ShouldUpdate, bool IsForceUpdate, string DownloadUrl, string ReleaseNotes); public interface IAndroidApkVersionApplication { Task CreateAndActive(IFormFile file, ApkType apkType, bool isForce = false); Task CreateAndDeActive(IFormFile file, ApkType apkType, bool isForce = false); Task GetLatestActiveVersionPath(ApkType apkType); Task GetLatestActiveInfo(ApkType apkType, int currentVersionCode); OperationResult Remove(long id); bool HasAndroidApkToDownload(ApkType apkType); }