Handling of AI pack through mmicrosoft store.

This commit is contained in:
Burak Kaan Köse
2026-04-02 15:07:05 +02:00
parent 7b369201b0
commit 8f16f553f5
26 changed files with 765 additions and 578 deletions
@@ -1,12 +0,0 @@
using System;
namespace Wino.Core.Domain.Models.Accounts;
public sealed record WinoAccountAddOnSnapshot(
bool HasAiPack,
int? UsageCount = null,
int? UsageLimit = null,
DateTimeOffset? BillingPeriodStartUtc = null,
DateTimeOffset? BillingPeriodEndUtc = null,
bool HasUnlimitedAccounts = false,
DateTimeOffset? LastUpdatedUtc = null);
@@ -1,12 +0,0 @@
using System;
using Wino.Core.Domain.Enums;
namespace Wino.Core.Domain.Models.Accounts;
public sealed record WinoAddOnInfo(
WinoAddOnProductType ProductType,
bool IsPurchased,
int? UsageCount = null,
int? UsageLimit = null,
double UsagePercentage = 0,
DateTimeOffset? RenewalDateUtc = null);
@@ -0,0 +1,9 @@
#nullable enable
using System;
namespace Wino.Core.Domain.Models.Accounts;
public sealed record WinoStoreCollectionsIdTicketInfo(
string ServiceTicket,
string PublisherUserId,
DateTimeOffset ExpiresAtUtc);