Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ public EncryptedRCLItem(byte[] encryptedRCL = default)
/// </summary>
/// <value>Base64 encoded data</value>
/*
<example>[B@233a3f8d</example>
<example>[B@764346e4</example>
*/
[DataMember(Name = "EncryptedRCL", IsRequired = true, EmitDefaultValue = true)]
public byte[] EncryptedRCL { get; set; }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@
/// </summary>
/// <value>Base64 encoded data</value>
/*
<example>[B@233a3f8d</example>
<example>[B@764346e4</example>
*/
[DataMember(Name = "EncryptedRCL", IsRequired = true, EmitDefaultValue = true)]
public byte[] EncryptedRCL { get; set; }
Expand Down Expand Up @@ -105,7 +105,7 @@
/// </summary>
/// <param name="validationContext">Validation context</param>
/// <returns>Validation Result</returns>
protected IEnumerable<ValidationResult> BaseValidate(ValidationContext validationContext)

Check warning on line 108 in src/Regula.DocumentReader.WebClient/Model/EncryptedRCLResult.cs

View workflow job for this annotation

GitHub Actions / run_smoke_test

'EncryptedRCLResult.BaseValidate(ValidationContext)' hides inherited member 'ResultItem.BaseValidate(ValidationContext)'. Use the new keyword if hiding was intended.
{
foreach (var x in base.BaseValidate(validationContext))
{
Expand Down
2 changes: 1 addition & 1 deletion src/Regula.DocumentReader.WebClient/Model/LicenseItem.cs
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ public LicenseItem(byte[] license = default)
/// </summary>
/// <value>Base64 encoded data</value>
/*
<example>[B@167722e7</example>
<example>[B@33a77abb</example>
*/
[DataMember(Name = "License", IsRequired = true, EmitDefaultValue = true)]
public byte[] License { get; set; }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ public LicenseResult(byte[] license = default, int? bufLength = default, int? li
/// </summary>
/// <value>Base64 encoded data</value>
/*
<example>[B@167722e7</example>
<example>[B@33a77abb</example>
*/
[DataMember(Name = "License", IsRequired = true, EmitDefaultValue = true)]
public byte[] License { get; set; }
Expand Down
12 changes: 11 additions & 1 deletion src/Regula.DocumentReader.WebClient/Model/ProcessParams.cs
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,8 @@ protected ProcessParams() { }
/// <param name="bsiTr03135">bsiTr03135.</param>
/// <param name="strictExpiryDate">When disabled, date of expiry doesn&#39;t affect the MRZ and text statuses..</param>
/// <param name="checkVDS">This parameter is used to enable Visible Digital Seal check. Disabled by default..</param>
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)
/// <param name="strictAgeCheck">When enabled, the age check status affects the overall status..</param>
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, bool? strictAgeCheck = default)
{
this.Scenario = scenario;
this.GenerateDTCVC = generateDTCVC;
Expand Down Expand Up @@ -218,6 +219,7 @@ public ProcessParams(bool? generateDTCVC = default, List<LCID> lcidFilter = defa
this.BsiTr03135 = bsiTr03135;
this.StrictExpiryDate = strictExpiryDate;
this.CheckVDS = checkVDS;
this.StrictAgeCheck = strictAgeCheck;
}

/// <summary>
Expand Down Expand Up @@ -669,6 +671,13 @@ public ProcessParams(bool? generateDTCVC = default, List<LCID> lcidFilter = defa
[DataMember(Name = "checkVDS", EmitDefaultValue = false)]
public bool? CheckVDS { get; set; }

/// <summary>
/// When enabled, the age check status affects the overall status.
/// </summary>
/// <value>When enabled, the age check status affects the overall status.</value>
[DataMember(Name = "strictAgeCheck", EmitDefaultValue = false)]
public bool? StrictAgeCheck { get; set; }

/// <summary>
/// Returns the string presentation of the object
/// </summary>
Expand Down Expand Up @@ -747,6 +756,7 @@ public override string ToString()
sb.Append(" BsiTr03135: ").Append(BsiTr03135).Append("\n");
sb.Append(" StrictExpiryDate: ").Append(StrictExpiryDate).Append("\n");
sb.Append(" CheckVDS: ").Append(CheckVDS).Append("\n");
sb.Append(" StrictAgeCheck: ").Append(StrictAgeCheck).Append("\n");
sb.Append("}\n");
return sb.ToString();
}
Expand Down
Loading