namespace Meezi.API.Models.Public;

/// <summary>Device registration from the native (Capacitor + Pushe) shell.</summary>
public record RegisterPushDeviceRequest(
    string Token,
    string Platform = "android",
    string? City = null,
    string? ConsumerAccountId = null);

public record UnregisterPushDeviceRequest(string Token);

/// <summary>Broadcast a push to a Pushe topic (city-{slug} / cafe-{slug}).</summary>
public record BroadcastPushRequest(
    string Topic,
    string Title,
    string Body,
    string? DeepLink = null);
