Skip to content
Merged
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@72cd526</example>
<example>[B@643cdc8d</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@72cd526</example>
<example>[B@643cdc8d</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@6964cf02</example>
<example>[B@5a3b79e4</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@6964cf02</example>
<example>[B@5a3b79e4</example>
*/
[DataMember(Name = "License", IsRequired = true, EmitDefaultValue = true)]
public byte[] License { get; set; }
Expand Down
18 changes: 14 additions & 4 deletions src/Regula.DocumentReader.WebClient/Model/ProcessParams.cs
Original file line number Diff line number Diff line change
Expand Up @@ -144,8 +144,9 @@ protected ProcessParams() { }
/// <param name="strictSecurityChecks">When enabled, this parameter marks security checks that don’t meet minimum requirements as &#39;Failed&#39; (instead of &#39;WasNotDone&#39;), which causes the overall security status to be &#39;Failed&#39;..</param>
/// <param name="returnTransliteratedFields">Allows transliteration to be turned on or off; by default, it is enabled..</param>
/// <param name="bsiTr03135">bsiTr03135.</param>
/// <param name="strictExpiryDate">When disabled, date of expiry doesn&#39;t affect the mrz and text statuses..</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)
/// <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)
{
this.Scenario = scenario;
this.GenerateDTCVC = generateDTCVC;
Expand Down Expand Up @@ -216,6 +217,7 @@ public ProcessParams(bool? generateDTCVC = default, List<LCID> lcidFilter = defa
this.ReturnTransliteratedFields = returnTransliteratedFields;
this.BsiTr03135 = bsiTr03135;
this.StrictExpiryDate = strictExpiryDate;
this.CheckVDS = checkVDS;
}

/// <summary>
Expand Down Expand Up @@ -654,12 +656,19 @@ public ProcessParams(bool? generateDTCVC = default, List<LCID> lcidFilter = defa
public BsiTr03135? BsiTr03135 { get; set; }

/// <summary>
/// When disabled, date of expiry doesn&#39;t affect the mrz and text statuses.
/// When disabled, date of expiry doesn&#39;t affect the MRZ and text statuses.
/// </summary>
/// <value>When disabled, date of expiry doesn&#39;t affect the mrz and text statuses.</value>
/// <value>When disabled, date of expiry doesn&#39;t affect the MRZ and text statuses.</value>
[DataMember(Name = "strictExpiryDate", EmitDefaultValue = false)]
public bool? StrictExpiryDate { get; set; }

/// <summary>
/// This parameter is used to enable Visible Digital Seal check. Disabled by default.
/// </summary>
/// <value>This parameter is used to enable Visible Digital Seal check. Disabled by default.</value>
[DataMember(Name = "checkVDS", EmitDefaultValue = false)]
public bool? CheckVDS { get; set; }

/// <summary>
/// Returns the string presentation of the object
/// </summary>
Expand Down Expand Up @@ -737,6 +746,7 @@ public override string ToString()
sb.Append(" ReturnTransliteratedFields: ").Append(ReturnTransliteratedFields).Append("\n");
sb.Append(" BsiTr03135: ").Append(BsiTr03135).Append("\n");
sb.Append(" StrictExpiryDate: ").Append(StrictExpiryDate).Append("\n");
sb.Append(" CheckVDS: ").Append(CheckVDS).Append("\n");
sb.Append("}\n");
return sb.ToString();
}
Expand Down
8 changes: 7 additions & 1 deletion src/Regula.DocumentReader.WebClient/Model/Scenario.cs
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,13 @@ public enum Scenario
/// Enum RFID for value: RFID
/// </summary>
[EnumMember(Value = "RFID")]
RFID = 20
RFID = 20,

/// <summary>
/// Enum MDL for value: mDL
/// </summary>
[EnumMember(Value = "mDL")]
MDL = 21
}

}
Loading