02d2b1e510
Threads the caller's email and client IP through the match pipeline so every Results row records who triggered the match and from where. Closes #45 Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
16 lines
669 B
C#
16 lines
669 B
C#
namespace Models.Requests;
|
|
|
|
public sealed class JobMatchRequest
|
|
{
|
|
public string? CvDocumentId { get; set; }
|
|
public string? JobUrl { get; set; }
|
|
public string? JobDescription { get; set; }
|
|
public bool GdprConsent { get; set; }
|
|
public string? Email { get; set; }
|
|
public string? CaptchaToken { get; set; }
|
|
/// <summary>ISO 639-1 language code for the match result (e.g. "en", "ro"). Defaults to "en".</summary>
|
|
public string? Language { get; set; }
|
|
/// <summary>Client IP address — set by the api layer from the HTTP context before forwarding. Not supplied by the browser.</summary>
|
|
public string? ClientIpAddress { get; set; }
|
|
}
|