Skip to content

Commit

Permalink
add support for drawable minimum height/width
Browse files Browse the repository at this point in the history
  • Loading branch information
mickhansen committed Sep 5, 2024
1 parent e57b3e6 commit 4f62d26
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Criipto.Signatures/Criipto.Signatures.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<AnalysisMode>All</AnalysisMode>

<PackageId>Criipto.Signatures</PackageId>
<Version>1.14.0</Version>
<Version>1.15.0</Version>
<Authors>Mick Hansen</Authors>
<Company>Criipto</Company>
<PackageLicenseExpression>MIT</PackageLicenseExpression>
Expand Down
25 changes: 25 additions & 0 deletions Criipto.Signatures/Models.cs
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,9 @@ public class AddSignatoriesOutput {
#region AddSignatoryInput
public class AddSignatoryInput {
#region members
/// <summary>
/// Define a subset of documents for the signatory. Must be a non-empty list. Leave null for all documents.
/// </summary>
public List<SignatoryDocumentInput> documents { get; set; }

/// <summary>
Expand Down Expand Up @@ -299,6 +302,9 @@ public class CancelSignatureOrderOutput {
#region ChangeSignatoryInput
public class ChangeSignatoryInput {
#region members
/// <summary>
/// Define a subset of documents for the signatory. Must be a non-empty list. Leave null for all documents.
/// </summary>
public List<SignatoryDocumentInput> documents { get; set; }

/// <summary>
Expand Down Expand Up @@ -675,6 +681,9 @@ public class CreateSignatureOrderOutput {
#region CreateSignatureOrderSignatoryInput
public class CreateSignatureOrderSignatoryInput {
#region members
/// <summary>
/// Define a subset of documents for the signatory. Must be a non-empty list. Leave null for all documents.
/// </summary>
public List<SignatoryDocumentInput> documents { get; set; }

/// <summary>
Expand Down Expand Up @@ -1178,6 +1187,16 @@ public dynamic GetInputObject()
/// </summary>
public class DrawableEvidenceProviderInput {
#region members
/// <summary>
/// Required minimum height of drawed area in pixels.
/// </summary>
public int? minimumHeight { get; set; }

/// <summary>
/// Required minimum width of drawed area in pixels.
/// </summary>
public int? minimumWidth { get; set; }

public bool? requireName { get; set; }
#endregion

Expand Down Expand Up @@ -1226,6 +1245,12 @@ public class DrawableSignatureEvidenceProvider : SignatureEvidenceProvider, Sing
[JsonProperty("id")]
public string id { get; set; }

[JsonProperty("minimumHeight")]
public int? minimumHeight { get; set; }

[JsonProperty("minimumWidth")]
public int? minimumWidth { get; set; }

[JsonProperty("requireName")]
public bool requireName { get; set; }
#endregion
Expand Down

0 comments on commit 4f62d26

Please sign in to comment.