using Yavsc.Models.Billing; namespace Yavsc.ViewModels.FrontOffice { /// /// Body of POST /api/v1/front/query/accept and /// .../reject. The field is optional: /// when present (non-empty) on accept, it is the PostIt wire-format /// signature captured with the acceptance. All fields are optional /// so a caller may post {} to accept/reject without a /// signature. /// public class QueryAcceptanceRequest { /// /// Wire-format strokes. See /// PostIt.Models.SignaturePadData. Null or empty means /// no signature. /// public int[]? Strokes { get; set; } public int CoordinateMax { get; set; } = 10_000; public DateTime? CapturedAtUtc { get; set; } /// /// Which signature is being submitted: /// (the provider) or /// . When /// is present this declares the side the caller is signing as; /// the server honors it only if the caller is that party /// (query.PerformerId for Pro, query.ClientId /// for Client). This disambiguates the case where one user is /// both parties, and makes "write only for its author" /// explicit. When null, the server falls back to the role /// inferred from the caller's identity. /// public SignatureType? SignatureType { get; set; } } }