using Baya.Application.Models.Common;
using Baya.Application.Models.Verification;
using Mediator;

namespace Baya.Application.Features.Verification.Commands.SubmitCredentialDetails;

/// <summary>
/// The nurse-facing capture of the <b>structured</b> credential fields collected alongside the document
/// uploads (B5): the INO (nursing-system) number, professional specialties, and optional
/// license/authority/holder/date details. Without this the real path silently drops the nurse's INO number
/// and specialties until an admin re-enters them. The submitted credential is <b>unverified</b> — an admin
/// still decides it; the specialties feed the nurse's public profile/search facets.
/// </summary>
public record SubmitCredentialDetailsCommand(
    string InoNumber,
    IReadOnlyList<string> Specialties,
    string LicenseNumber = null,
    string IssuingAuthority = null,
    string HolderName = null,
    DateOnly? IssuedAt = null,
    DateOnly? ExpiresAt = null) : IRequest<OperationResult<VerificationStatusDto>>;
