many fixes and improvements - rework for modules/ and common/

feat(emailer): add Postmark and Resend providers
This commit is contained in:
2025-06-06 12:21:43 -04:00
parent 31ba18fa8d
commit 25b94d3e02
313 changed files with 6586 additions and 18260 deletions

View File

@@ -0,0 +1,6 @@
namespace Hutopy.Modules.Tipping.Contracts;
public interface ITipPaymentNotifier
{
Task NotifyPaymentSucceedAsync(string stripeId, string invoiceUrl, CancellationToken ct);
}

View File

@@ -0,0 +1,16 @@
using Hutopy.Modules.Creators.Contracts;
namespace Hutopy.Modules.Tipping.Contracts;
public interface ITipProcessor
{
Task<TipCheckoutSession> CreateCheckoutSessionAsync(
Guid tipId,
CreatorReference creator,
decimal amount,
string currency,
string message,
string successUrl,
string cancelUrl,
CancellationToken ct = default);
}

View File

@@ -0,0 +1,5 @@
namespace Hutopy.Modules.Tipping.Contracts;
public record TipCheckoutSession(
string Id,
string Url);