using Volo.Abp.Application.Services;
using Yi.Framework.AiHub.Application.Contracts.Dtos.ActivationCode;

namespace Yi.Framework.AiHub.Application.Contracts.IServices;

/// <summary>
/// 激活码服务接口
/// </summary>
public interface IActivationCodeService : IApplicationService
{
    /// <summary>
    /// 批量生成激活码
    /// </summary>
    Task<ActivationCodeCreateListOutput> CreateBatchAsync(ActivationCodeCreateListInput input);

    /// <summary>
    /// 兑换激活码
    /// </summary>
    Task<ActivationCodeRedeemOutput> RedeemAsync(ActivationCodeRedeemInput input);
}
