17 lines
686 B
C#
17 lines
686 B
C#
using Fitness_core_BE.Models.IOs;
|
|
using Microsoft.AspNetCore.Http;
|
|
|
|
namespace Fitness_core_BE.Interfaces.Services
|
|
{
|
|
public interface IAdminClientDirectoryService
|
|
{
|
|
Task<PagedResult<ClientSummary>> ListAsync(ClientDirectoryQuery query);
|
|
Task<object> GetByIdAsync(Guid id);
|
|
Task<PairingCodeResult> GeneratePairingCodeAsync(Guid clientId);
|
|
Task<AdminClientDevicesResult> GetDevicesAsync(Guid clientId);
|
|
// Re-sends the "set your password" welcome email (with a fresh temp password + link)
|
|
// for a client whose account has no usable password yet.
|
|
Task ResendWelcomeEmailAsync(Guid clientId, HttpContext httpContext);
|
|
}
|
|
}
|