2024-08-06 15:29:29 -04:00
|
|
|
using HermesSocketLibrary.Requests.Messages;
|
|
|
|
|
|
|
|
namespace TwitchChatTTS.Twitch.Redemptions
|
|
|
|
{
|
|
|
|
public interface IRedemptionManager
|
|
|
|
{
|
2025-01-06 09:36:54 -05:00
|
|
|
void Add(RedeemableAction action);
|
|
|
|
void Add(Redemption redemption);
|
2024-08-06 15:29:29 -04:00
|
|
|
Task Execute(RedeemableAction action, string senderDisplayName, long senderId);
|
2025-01-06 09:36:54 -05:00
|
|
|
IEnumerable<RedeemableAction> Get(string twitchRedemptionId);
|
|
|
|
void Initialize();
|
|
|
|
bool RemoveAction(string actionName);
|
|
|
|
bool RemoveRedemption(string redemptionId);
|
|
|
|
bool Update(Redemption redemption);
|
|
|
|
bool Update(RedeemableAction action);
|
2024-08-06 15:29:29 -04:00
|
|
|
}
|
|
|
|
}
|