Skip to content

Commit eff108c

Browse files
committed
Commit: 0d7bf58c
1 parent 2db1b4f commit eff108c

6 files changed

Lines changed: 26 additions & 16 deletions

File tree

src/Regula.DocumentReader.WebClient/Model/EncryptedRCLItem.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ public EncryptedRCLItem(byte[] encryptedRCL = default)
5656
/// </summary>
5757
/// <value>Base64 encoded data</value>
5858
/*
59-
<example>[B@233a3f8d</example>
59+
<example>[B@5dd32b7b</example>
6060
*/
6161
[DataMember(Name = "EncryptedRCL", IsRequired = true, EmitDefaultValue = true)]
6262
public byte[] EncryptedRCL { get; set; }

src/Regula.DocumentReader.WebClient/Model/EncryptedRCLResult.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ public EncryptedRCLResult(byte[] encryptedRCL = default, int? bufLength = defaul
6262
/// </summary>
6363
/// <value>Base64 encoded data</value>
6464
/*
65-
<example>[B@233a3f8d</example>
65+
<example>[B@5dd32b7b</example>
6666
*/
6767
[DataMember(Name = "EncryptedRCL", IsRequired = true, EmitDefaultValue = true)]
6868
public byte[] EncryptedRCL { get; set; }

src/Regula.DocumentReader.WebClient/Model/LicenseItem.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ public LicenseItem(byte[] license = default)
5656
/// </summary>
5757
/// <value>Base64 encoded data</value>
5858
/*
59-
<example>[B@167722e7</example>
59+
<example>[B@2e418234</example>
6060
*/
6161
[DataMember(Name = "License", IsRequired = true, EmitDefaultValue = true)]
6262
public byte[] License { get; set; }

src/Regula.DocumentReader.WebClient/Model/LicenseResult.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ public LicenseResult(byte[] license = default, int? bufLength = default, int? li
6262
/// </summary>
6363
/// <value>Base64 encoded data</value>
6464
/*
65-
<example>[B@167722e7</example>
65+
<example>[B@2e418234</example>
6666
*/
6767
[DataMember(Name = "License", IsRequired = true, EmitDefaultValue = true)]
6868
public byte[] License { get; set; }

src/Regula.DocumentReader.WebClient/Model/LivenessParams.cs

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,8 @@ public partial class LivenessParams : IValidatableObject
4242
/// <param name="checkBlackAndWhiteCopy">This parameter is used to enable Black and white copy check.</param>
4343
/// <param name="checkDynaprint">This parameter is used to enable Dynaprint check.</param>
4444
/// <param name="checkGeometry">This parameter is used to enable Geometry check.</param>
45-
public LivenessParams(bool? checkOVI = default, bool? checkMLI = default, bool? checkHolo = default, bool? checkED = default, bool? checkBlackAndWhiteCopy = default, bool? checkDynaprint = default, bool? checkGeometry = default)
45+
/// <param name="checkBarcodeBackground">This parameter is used to enable Barcode background check as part of the Liveness checks.</param>
46+
public LivenessParams(bool? checkOVI = default, bool? checkMLI = default, bool? checkHolo = default, bool? checkED = default, bool? checkBlackAndWhiteCopy = default, bool? checkDynaprint = default, bool? checkGeometry = default, bool? checkBarcodeBackground = default)
4647
{
4748
this.CheckOVI = checkOVI;
4849
this.CheckMLI = checkMLI;
@@ -51,6 +52,7 @@ public LivenessParams(bool? checkOVI = default, bool? checkMLI = default, bool?
5152
this.CheckBlackAndWhiteCopy = checkBlackAndWhiteCopy;
5253
this.CheckDynaprint = checkDynaprint;
5354
this.CheckGeometry = checkGeometry;
55+
this.CheckBarcodeBackground = checkBarcodeBackground;
5456
}
5557

5658
/// <summary>
@@ -102,6 +104,13 @@ public LivenessParams(bool? checkOVI = default, bool? checkMLI = default, bool?
102104
[DataMember(Name = "checkGeometry", EmitDefaultValue = false)]
103105
public bool? CheckGeometry { get; set; }
104106

107+
/// <summary>
108+
/// This parameter is used to enable Barcode background check as part of the Liveness checks
109+
/// </summary>
110+
/// <value>This parameter is used to enable Barcode background check as part of the Liveness checks</value>
111+
[DataMember(Name = "checkBarcodeBackground", EmitDefaultValue = false)]
112+
public bool? CheckBarcodeBackground { get; set; }
113+
105114
/// <summary>
106115
/// Returns the string presentation of the object
107116
/// </summary>
@@ -117,6 +126,7 @@ public override string ToString()
117126
sb.Append(" CheckBlackAndWhiteCopy: ").Append(CheckBlackAndWhiteCopy).Append("\n");
118127
sb.Append(" CheckDynaprint: ").Append(CheckDynaprint).Append("\n");
119128
sb.Append(" CheckGeometry: ").Append(CheckGeometry).Append("\n");
129+
sb.Append(" CheckBarcodeBackground: ").Append(CheckBarcodeBackground).Append("\n");
120130
sb.Append("}\n");
121131
return sb.ToString();
122132
}

src/Regula.DocumentReader.WebClient/Model/ProcessParams.cs

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,6 @@ protected ProcessParams() { }
117117
/// <param name="minimalHolderAge">This options allows specifying the minimal age in years of the document holder for the document to be considered valid..</param>
118118
/// <param name="returnUncroppedImage">When enabled, returns input images in output. Disabled by default..</param>
119119
/// <param name="mrzFormatsFilter">This option allows limiting MRZ formats to be recognized by specifying them in array..</param>
120-
/// <param name="forceReadMrzBeforeLocate">When enabled, make sure that in series processing MRZ is located fully inside the result document image, if present on the document. Enabling this option may add extra processing time, by disabling optimizations, but allows more stability in output image quality. Disabled by default..</param>
121120
/// <param name="parseBarcodes">This option can be disabled to stop parsing after barcode is read. Enabled by default..</param>
122121
/// <param name="convertCase">convertCase.</param>
123122
/// <param name="splitNames">When enabled, the Surname and GivenNames fields from MRZ will be divided into ft_First_Name, ft_Second_Name, ft_Third_Name, ft_Fourth_Name, ft_Last_Name fields. Disabled by default..</param>
@@ -146,7 +145,8 @@ protected ProcessParams() { }
146145
/// <param name="bsiTr03135">bsiTr03135.</param>
147146
/// <param name="strictExpiryDate">When disabled, date of expiry doesn&#39;t affect the MRZ and text statuses..</param>
148147
/// <param name="checkVDS">This parameter is used to enable Visible Digital Seal check. Disabled by default..</param>
149-
public ProcessParams(bool? generateDTCVC = default, List<LCID> lcidFilter = default, bool? checkLiveness = default, List<LCID> lcidIgnoreFilter = default, bool? oneShotIdentification = default, bool? useFaceApi = default, FaceApi? faceApi = default, bool? doDetectCan = default, int? imageOutputMaxHeight = default, int? imageOutputMaxWidth = default, Scenario scenario = default, List<Result> resultTypeOutput = default, bool? doublePageSpread = default, bool? generateDoublePageSpreadImage = default, List<TextFieldType> fieldTypesFilter = default, List<TextFieldType> fieldTypesIgnoreFilter = default, string? dateFormat = default, MeasureSystem? measureSystem = default, int? imageDpiOutMax = default, bool? alreadyCropped = default, Dictionary<string, Object> customParams = default, List<PerDocumentConfig> config = default, bool? log = default, LogLevel? logLevel = default, int? forceDocID = default, bool? matchTextFieldMask = default, bool? fastDocDetect = default, bool? updateOCRValidityByGlare = default, bool? checkRequiredTextFields = default, bool? returnCroppedBarcode = default, ImageQA? imageQa = default, bool? strictImageQuality = default, bool? respectImageQuality = default, DocumentFormat? forceDocFormat = default, bool? noGraphics = default, bool? depersonalizeLog = default, bool? multiDocOnImage = default, int? shiftExpiryDate = default, int? minimalHolderAge = default, bool? returnUncroppedImage = default, List<MRZFormat> mrzFormatsFilter = default, bool? forceReadMrzBeforeLocate = default, bool? parseBarcodes = default, TextPostProcessing? convertCase = default, bool? splitNames = default, bool? disablePerforationOCR = default, List<DocumentType> documentGroupFilter = default, long? processAuth = default, int? deviceId = default, int? deviceType = default, string? deviceTypeHex = default, bool? ignoreDeviceIdFromImage = default, List<int> documentIdList = default, ProcessParamsRfid? rfid = default, bool? checkAuth = default, AuthParams? authParams = default, MrzDetectModeEnum? mrzDetectMode = default, bool? generateNumericCodes = default, bool? strictBarcodeDigitalSignatureCheck = default, bool? selectLongestNames = default, List<InputBarcodeType> doBarcodes = default, bool? strictDLCategoryExpiry = default, bool? generateAlpha2Codes = default, int? pdfPagesLimit = default, bool? disableAuthResolutionFilter = default, bool? strictSecurityChecks = default, bool? returnTransliteratedFields = default, BsiTr03135? bsiTr03135 = default, bool? strictExpiryDate = default, bool? checkVDS = default)
148+
/// <param name="strictAgeCheck">When enabled, the age check status affects the overall status..</param>
149+
public ProcessParams(bool? generateDTCVC = default, List<LCID> lcidFilter = default, bool? checkLiveness = default, List<LCID> lcidIgnoreFilter = default, bool? oneShotIdentification = default, bool? useFaceApi = default, FaceApi? faceApi = default, bool? doDetectCan = default, int? imageOutputMaxHeight = default, int? imageOutputMaxWidth = default, Scenario scenario = default, List<Result> resultTypeOutput = default, bool? doublePageSpread = default, bool? generateDoublePageSpreadImage = default, List<TextFieldType> fieldTypesFilter = default, List<TextFieldType> fieldTypesIgnoreFilter = default, string? dateFormat = default, MeasureSystem? measureSystem = default, int? imageDpiOutMax = default, bool? alreadyCropped = default, Dictionary<string, Object> customParams = default, List<PerDocumentConfig> config = default, bool? log = default, LogLevel? logLevel = default, int? forceDocID = default, bool? matchTextFieldMask = default, bool? fastDocDetect = default, bool? updateOCRValidityByGlare = default, bool? checkRequiredTextFields = default, bool? returnCroppedBarcode = default, ImageQA? imageQa = default, bool? strictImageQuality = default, bool? respectImageQuality = default, DocumentFormat? forceDocFormat = default, bool? noGraphics = default, bool? depersonalizeLog = default, bool? multiDocOnImage = default, int? shiftExpiryDate = default, int? minimalHolderAge = default, bool? returnUncroppedImage = default, List<MRZFormat> mrzFormatsFilter = default, bool? parseBarcodes = default, TextPostProcessing? convertCase = default, bool? splitNames = default, bool? disablePerforationOCR = default, List<DocumentType> documentGroupFilter = default, long? processAuth = default, int? deviceId = default, int? deviceType = default, string? deviceTypeHex = default, bool? ignoreDeviceIdFromImage = default, List<int> documentIdList = default, ProcessParamsRfid? rfid = default, bool? checkAuth = default, AuthParams? authParams = default, MrzDetectModeEnum? mrzDetectMode = default, bool? generateNumericCodes = default, bool? strictBarcodeDigitalSignatureCheck = default, bool? selectLongestNames = default, List<InputBarcodeType> doBarcodes = default, bool? strictDLCategoryExpiry = default, bool? generateAlpha2Codes = default, int? pdfPagesLimit = default, bool? disableAuthResolutionFilter = default, bool? strictSecurityChecks = default, bool? returnTransliteratedFields = default, BsiTr03135? bsiTr03135 = default, bool? strictExpiryDate = default, bool? checkVDS = default, bool? strictAgeCheck = default)
150150
{
151151
this.Scenario = scenario;
152152
this.GenerateDTCVC = generateDTCVC;
@@ -189,7 +189,6 @@ public ProcessParams(bool? generateDTCVC = default, List<LCID> lcidFilter = defa
189189
this.MinimalHolderAge = minimalHolderAge;
190190
this.ReturnUncroppedImage = returnUncroppedImage;
191191
this.MrzFormatsFilter = mrzFormatsFilter;
192-
this.ForceReadMrzBeforeLocate = forceReadMrzBeforeLocate;
193192
this.ParseBarcodes = parseBarcodes;
194193
this.ConvertCase = convertCase;
195194
this.SplitNames = splitNames;
@@ -218,6 +217,7 @@ public ProcessParams(bool? generateDTCVC = default, List<LCID> lcidFilter = defa
218217
this.BsiTr03135 = bsiTr03135;
219218
this.StrictExpiryDate = strictExpiryDate;
220219
this.CheckVDS = checkVDS;
220+
this.StrictAgeCheck = strictAgeCheck;
221221
}
222222

223223
/// <summary>
@@ -483,13 +483,6 @@ public ProcessParams(bool? generateDTCVC = default, List<LCID> lcidFilter = defa
483483
[DataMember(Name = "mrzFormatsFilter", EmitDefaultValue = false)]
484484
public List<MRZFormat>? MrzFormatsFilter { get; set; }
485485

486-
/// <summary>
487-
/// When enabled, make sure that in series processing MRZ is located fully inside the result document image, if present on the document. Enabling this option may add extra processing time, by disabling optimizations, but allows more stability in output image quality. Disabled by default.
488-
/// </summary>
489-
/// <value>When enabled, make sure that in series processing MRZ is located fully inside the result document image, if present on the document. Enabling this option may add extra processing time, by disabling optimizations, but allows more stability in output image quality. Disabled by default.</value>
490-
[DataMember(Name = "forceReadMrzBeforeLocate", EmitDefaultValue = false)]
491-
public bool? ForceReadMrzBeforeLocate { get; set; }
492-
493486
/// <summary>
494487
/// This option can be disabled to stop parsing after barcode is read. Enabled by default.
495488
/// </summary>
@@ -669,6 +662,13 @@ public ProcessParams(bool? generateDTCVC = default, List<LCID> lcidFilter = defa
669662
[DataMember(Name = "checkVDS", EmitDefaultValue = false)]
670663
public bool? CheckVDS { get; set; }
671664

665+
/// <summary>
666+
/// When enabled, the age check status affects the overall status.
667+
/// </summary>
668+
/// <value>When enabled, the age check status affects the overall status.</value>
669+
[DataMember(Name = "strictAgeCheck", EmitDefaultValue = false)]
670+
public bool? StrictAgeCheck { get; set; }
671+
672672
/// <summary>
673673
/// Returns the string presentation of the object
674674
/// </summary>
@@ -718,7 +718,6 @@ public override string ToString()
718718
sb.Append(" MinimalHolderAge: ").Append(MinimalHolderAge).Append("\n");
719719
sb.Append(" ReturnUncroppedImage: ").Append(ReturnUncroppedImage).Append("\n");
720720
sb.Append(" MrzFormatsFilter: ").Append(MrzFormatsFilter).Append("\n");
721-
sb.Append(" ForceReadMrzBeforeLocate: ").Append(ForceReadMrzBeforeLocate).Append("\n");
722721
sb.Append(" ParseBarcodes: ").Append(ParseBarcodes).Append("\n");
723722
sb.Append(" ConvertCase: ").Append(ConvertCase).Append("\n");
724723
sb.Append(" SplitNames: ").Append(SplitNames).Append("\n");
@@ -747,6 +746,7 @@ public override string ToString()
747746
sb.Append(" BsiTr03135: ").Append(BsiTr03135).Append("\n");
748747
sb.Append(" StrictExpiryDate: ").Append(StrictExpiryDate).Append("\n");
749748
sb.Append(" CheckVDS: ").Append(CheckVDS).Append("\n");
749+
sb.Append(" StrictAgeCheck: ").Append(StrictAgeCheck).Append("\n");
750750
sb.Append("}\n");
751751
return sb.ToString();
752752
}

0 commit comments

Comments
 (0)