Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

5.2 release #54

Merged
merged 1 commit into from
Dec 20, 2023
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
2 changes: 2 additions & 0 deletions .openapi-generator/FILES
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,8 @@ src/Regula.FaceSDK.WebClient/Model/MatchImage.cs
src/Regula.FaceSDK.WebClient/Model/MatchImageDetection.cs
src/Regula.FaceSDK.WebClient/Model/MatchImageResult.cs
src/Regula.FaceSDK.WebClient/Model/MatchRequest.cs
src/Regula.FaceSDK.WebClient/Model/MatchRequestOutputImageParams.cs
src/Regula.FaceSDK.WebClient/Model/MatchRequestOutputImageParamsCrop.cs
src/Regula.FaceSDK.WebClient/Model/MatchResponse.cs
src/Regula.FaceSDK.WebClient/Model/OperationLog.cs
src/Regula.FaceSDK.WebClient/Model/OutputImageParams.cs
Expand Down
2 changes: 1 addition & 1 deletion src/Regula.FaceSDK.WebClient/Api/DiagnosticsApi.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
*
* Regula FaceSDK Web API # Clients * [JavaScript](https://github.com/regulaforensics/FaceSDK-web-js-client) client for the browser and node.js based on axios * [Java](https://github.com/regulaforensics/FaceSDK-web-java-client) client compatible with jvm and android * [Python](https://github.com/regulaforensics/FaceSDK-web-python-client) 3.5+ client * [C#](https://github.com/regulaforensics/FaceSDK-web-csharp-client) client for .NET & .NET Core
*
* The version of the OpenAPI document: 5.2.0
* The version of the OpenAPI document: 6.1.0
*
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
Expand Down
2 changes: 1 addition & 1 deletion src/Regula.FaceSDK.WebClient/Api/GroupApi.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
*
* Regula FaceSDK Web API # Clients * [JavaScript](https://github.com/regulaforensics/FaceSDK-web-js-client) client for the browser and node.js based on axios * [Java](https://github.com/regulaforensics/FaceSDK-web-java-client) client compatible with jvm and android * [Python](https://github.com/regulaforensics/FaceSDK-web-python-client) 3.5+ client * [C#](https://github.com/regulaforensics/FaceSDK-web-csharp-client) client for .NET & .NET Core
*
* The version of the OpenAPI document: 5.2.0
* The version of the OpenAPI document: 6.1.0
*
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
Expand Down
2 changes: 1 addition & 1 deletion src/Regula.FaceSDK.WebClient/Api/Liveness20Api.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
*
* Regula FaceSDK Web API # Clients * [JavaScript](https://github.com/regulaforensics/FaceSDK-web-js-client) client for the browser and node.js based on axios * [Java](https://github.com/regulaforensics/FaceSDK-web-java-client) client compatible with jvm and android * [Python](https://github.com/regulaforensics/FaceSDK-web-python-client) 3.5+ client * [C#](https://github.com/regulaforensics/FaceSDK-web-csharp-client) client for .NET & .NET Core
*
* The version of the OpenAPI document: 5.2.0
* The version of the OpenAPI document: 6.1.0
*
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
Expand Down
2 changes: 1 addition & 1 deletion src/Regula.FaceSDK.WebClient/Api/MatchingApi.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
*
* Regula FaceSDK Web API # Clients * [JavaScript](https://github.com/regulaforensics/FaceSDK-web-js-client) client for the browser and node.js based on axios * [Java](https://github.com/regulaforensics/FaceSDK-web-java-client) client compatible with jvm and android * [Python](https://github.com/regulaforensics/FaceSDK-web-python-client) 3.5+ client * [C#](https://github.com/regulaforensics/FaceSDK-web-csharp-client) client for .NET & .NET Core
*
* The version of the OpenAPI document: 5.2.0
* The version of the OpenAPI document: 6.1.0
*
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
Expand Down
2 changes: 1 addition & 1 deletion src/Regula.FaceSDK.WebClient/Api/PersonApi.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
*
* Regula FaceSDK Web API # Clients * [JavaScript](https://github.com/regulaforensics/FaceSDK-web-js-client) client for the browser and node.js based on axios * [Java](https://github.com/regulaforensics/FaceSDK-web-java-client) client compatible with jvm and android * [Python](https://github.com/regulaforensics/FaceSDK-web-python-client) 3.5+ client * [C#](https://github.com/regulaforensics/FaceSDK-web-csharp-client) client for .NET & .NET Core
*
* The version of the OpenAPI document: 5.2.0
* The version of the OpenAPI document: 6.1.0
*
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
Expand Down
2 changes: 1 addition & 1 deletion src/Regula.FaceSDK.WebClient/Client/ApiClient.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
*
* Regula FaceSDK Web API # Clients * [JavaScript](https://github.com/regulaforensics/FaceSDK-web-js-client) client for the browser and node.js based on axios * [Java](https://github.com/regulaforensics/FaceSDK-web-java-client) client compatible with jvm and android * [Python](https://github.com/regulaforensics/FaceSDK-web-python-client) 3.5+ client * [C#](https://github.com/regulaforensics/FaceSDK-web-csharp-client) client for .NET & .NET Core
*
* The version of the OpenAPI document: 5.2.0
* The version of the OpenAPI document: 6.1.0
*
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
Expand Down Expand Up @@ -206,7 +206,7 @@
pathParams, contentType);
RestClient.UserAgent = Configuration.UserAgent;
InterceptRequest(request);
var response = await RestClient.ExecuteTaskAsync(request, cancellationToken);

Check warning on line 209 in src/Regula.FaceSDK.WebClient/Client/ApiClient.cs

View workflow job for this annotation

GitHub Actions / run_smoke_test

'RestClient.ExecuteTaskAsync(IRestRequest, CancellationToken)' is obsolete: 'Use ExecuteAsync instead'
InterceptResponse(request, response);
return (Object)response;
}
Expand Down
2 changes: 1 addition & 1 deletion src/Regula.FaceSDK.WebClient/Client/ApiException.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
*
* Regula FaceSDK Web API # Clients * [JavaScript](https://github.com/regulaforensics/FaceSDK-web-js-client) client for the browser and node.js based on axios * [Java](https://github.com/regulaforensics/FaceSDK-web-java-client) client compatible with jvm and android * [Python](https://github.com/regulaforensics/FaceSDK-web-python-client) 3.5+ client * [C#](https://github.com/regulaforensics/FaceSDK-web-csharp-client) client for .NET & .NET Core
*
* The version of the OpenAPI document: 5.2.0
* The version of the OpenAPI document: 6.1.0
*
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
Expand Down
2 changes: 1 addition & 1 deletion src/Regula.FaceSDK.WebClient/Client/ApiResponse.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
*
* Regula FaceSDK Web API # Clients * [JavaScript](https://github.com/regulaforensics/FaceSDK-web-js-client) client for the browser and node.js based on axios * [Java](https://github.com/regulaforensics/FaceSDK-web-java-client) client compatible with jvm and android * [Python](https://github.com/regulaforensics/FaceSDK-web-python-client) 3.5+ client * [C#](https://github.com/regulaforensics/FaceSDK-web-csharp-client) client for .NET & .NET Core
*
* The version of the OpenAPI document: 5.2.0
* The version of the OpenAPI document: 6.1.0
*
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
Expand Down
4 changes: 2 additions & 2 deletions src/Regula.FaceSDK.WebClient/Client/Configuration.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
*
* Regula FaceSDK Web API # Clients * [JavaScript](https://github.com/regulaforensics/FaceSDK-web-js-client) client for the browser and node.js based on axios * [Java](https://github.com/regulaforensics/FaceSDK-web-java-client) client compatible with jvm and android * [Python](https://github.com/regulaforensics/FaceSDK-web-python-client) 3.5+ client * [C#](https://github.com/regulaforensics/FaceSDK-web-csharp-client) client for .NET & .NET Core
*
* The version of the OpenAPI document: 5.2.0
* The version of the OpenAPI document: 6.1.0
*
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
Expand Down Expand Up @@ -420,7 +420,7 @@ public static String ToDebugReport()
String report = "C# SDK (Regula.FaceSDK.WebClient) Debug Report:\n";
report += " OS: " + System.Environment.OSVersion + "\n";
report += " .NET Framework Version: " + System.Environment.Version + "\n";
report += " Version of the API: 5.2.0\n";
report += " Version of the API: 6.1.0\n";
report += " SDK Package Version: 1.0.0\n";

return report;
Expand Down
2 changes: 1 addition & 1 deletion src/Regula.FaceSDK.WebClient/Client/ExceptionFactory.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
*
* Regula FaceSDK Web API # Clients * [JavaScript](https://github.com/regulaforensics/FaceSDK-web-js-client) client for the browser and node.js based on axios * [Java](https://github.com/regulaforensics/FaceSDK-web-java-client) client compatible with jvm and android * [Python](https://github.com/regulaforensics/FaceSDK-web-python-client) 3.5+ client * [C#](https://github.com/regulaforensics/FaceSDK-web-csharp-client) client for .NET & .NET Core
*
* The version of the OpenAPI document: 5.2.0
* The version of the OpenAPI document: 6.1.0
*
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
*
* Regula FaceSDK Web API # Clients * [JavaScript](https://github.com/regulaforensics/FaceSDK-web-js-client) client for the browser and node.js based on axios * [Java](https://github.com/regulaforensics/FaceSDK-web-java-client) client compatible with jvm and android * [Python](https://github.com/regulaforensics/FaceSDK-web-python-client) 3.5+ client * [C#](https://github.com/regulaforensics/FaceSDK-web-csharp-client) client for .NET & .NET Core
*
* The version of the OpenAPI document: 5.2.0
* The version of the OpenAPI document: 6.1.0
*
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
Expand Down
2 changes: 1 addition & 1 deletion src/Regula.FaceSDK.WebClient/Client/IApiAccessor.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
*
* Regula FaceSDK Web API # Clients * [JavaScript](https://github.com/regulaforensics/FaceSDK-web-js-client) client for the browser and node.js based on axios * [Java](https://github.com/regulaforensics/FaceSDK-web-java-client) client compatible with jvm and android * [Python](https://github.com/regulaforensics/FaceSDK-web-python-client) 3.5+ client * [C#](https://github.com/regulaforensics/FaceSDK-web-csharp-client) client for .NET & .NET Core
*
* The version of the OpenAPI document: 5.2.0
* The version of the OpenAPI document: 6.1.0
*
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
*
* Regula FaceSDK Web API # Clients * [JavaScript](https://github.com/regulaforensics/FaceSDK-web-js-client) client for the browser and node.js based on axios * [Java](https://github.com/regulaforensics/FaceSDK-web-java-client) client compatible with jvm and android * [Python](https://github.com/regulaforensics/FaceSDK-web-python-client) 3.5+ client * [C#](https://github.com/regulaforensics/FaceSDK-web-csharp-client) client for .NET & .NET Core
*
* The version of the OpenAPI document: 5.2.0
* The version of the OpenAPI document: 6.1.0
*
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
*
* Regula FaceSDK Web API # Clients * [JavaScript](https://github.com/regulaforensics/FaceSDK-web-js-client) client for the browser and node.js based on axios * [Java](https://github.com/regulaforensics/FaceSDK-web-java-client) client compatible with jvm and android * [Python](https://github.com/regulaforensics/FaceSDK-web-python-client) 3.5+ client * [C#](https://github.com/regulaforensics/FaceSDK-web-csharp-client) client for .NET & .NET Core
*
* The version of the OpenAPI document: 5.2.0
* The version of the OpenAPI document: 6.1.0
*
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
Expand Down
10 changes: 5 additions & 5 deletions src/Regula.FaceSDK.WebClient/Model/Crop.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
*
* Regula FaceSDK Web API # Clients * [JavaScript](https://github.com/regulaforensics/FaceSDK-web-js-client) client for the browser and node.js based on axios * [Java](https://github.com/regulaforensics/FaceSDK-web-java-client) client compatible with jvm and android * [Python](https://github.com/regulaforensics/FaceSDK-web-python-client) 3.5+ client * [C#](https://github.com/regulaforensics/FaceSDK-web-csharp-client) client for .NET & .NET Core
*
* The version of the OpenAPI document: 5.2.0
* The version of the OpenAPI document: 6.1.0
*
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
Expand All @@ -25,7 +25,7 @@
namespace Regula.FaceSDK.WebClient.Model
{
/// <summary>
/// Whether to return the Base64 of an aligned and cropped portrait in the crop field.
/// Whether to return the Base64 image of an aligned and cropped portrait in the &#x60;crop&#x60; field.
/// </summary>
[DataContract]
public partial class Crop : IEquatable<Crop>, IValidatableObject
Expand All @@ -40,7 +40,7 @@
/// </summary>
/// <param name="type">type.</param>
/// <param name="padColor">The RGB value of a color for filling background behind a person&#39;s silhouette and for aligning the image..</param>
/// <param name="size">The resize value in case type matches this value. If it doesn&#39;t, no resize is done..</param>
/// <param name="size">The resize value in case &#x60;type&#x60; matches this value. If it doesn&#39;t, no resize is performed..</param>
/// <param name="returnOriginalRect">Whether to return the coordinates of the rectangle with the face in the original image prepared for the face crop..</param>
public Crop(FaceImageQualityAlignType? type = default(FaceImageQualityAlignType?), List<int> padColor = default(List<int>), List<int> size = default(List<int>), bool returnOriginalRect = default(bool))
{
Expand All @@ -59,9 +59,9 @@
public List<int> PadColor { get; set; }

/// <summary>
/// The resize value in case type matches this value. If it doesn&#39;t, no resize is done.
/// The resize value in case &#x60;type&#x60; matches this value. If it doesn&#39;t, no resize is performed.
/// </summary>
/// <value>The resize value in case type matches this value. If it doesn&#39;t, no resize is done.</value>
/// <value>The resize value in case &#x60;type&#x60; matches this value. If it doesn&#39;t, no resize is performed.</value>
[DataMember(Name="size", EmitDefaultValue=false)]
public List<int> Size { get; set; }

Expand Down Expand Up @@ -137,7 +137,7 @@
) &&
(
this.ReturnOriginalRect == input.ReturnOriginalRect ||
(this.ReturnOriginalRect != null &&

Check warning on line 140 in src/Regula.FaceSDK.WebClient/Model/Crop.cs

View workflow job for this annotation

GitHub Actions / run_smoke_test

The result of the expression is always 'true' since a value of type 'bool' is never equal to 'null' of type 'bool?'
this.ReturnOriginalRect.Equals(input.ReturnOriginalRect))
);
}
Expand All @@ -157,7 +157,7 @@
hashCode = hashCode * 59 + this.PadColor.GetHashCode();
if (this.Size != null)
hashCode = hashCode * 59 + this.Size.GetHashCode();
if (this.ReturnOriginalRect != null)

Check warning on line 160 in src/Regula.FaceSDK.WebClient/Model/Crop.cs

View workflow job for this annotation

GitHub Actions / run_smoke_test

The result of the expression is always 'true' since a value of type 'bool' is never equal to 'null' of type 'bool?'
hashCode = hashCode * 59 + this.ReturnOriginalRect.GetHashCode();
return hashCode;
}
Expand Down
8 changes: 4 additions & 4 deletions src/Regula.FaceSDK.WebClient/Model/DetectRequest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
*
* Regula FaceSDK Web API # Clients * [JavaScript](https://github.com/regulaforensics/FaceSDK-web-js-client) client for the browser and node.js based on axios * [Java](https://github.com/regulaforensics/FaceSDK-web-java-client) client compatible with jvm and android * [Python](https://github.com/regulaforensics/FaceSDK-web-python-client) 3.5+ client * [C#](https://github.com/regulaforensics/FaceSDK-web-csharp-client) client for .NET & .NET Core
*
* The version of the OpenAPI document: 5.2.0
* The version of the OpenAPI document: 6.1.0
*
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
Expand Down Expand Up @@ -36,7 +36,7 @@ public partial class DetectRequest : IEquatable<DetectRequest>, IValidatableObj
/// <param name="tag">Session identificator..</param>
/// <param name="processParam">processParam.</param>
/// <param name="image">Base64 encoded image..</param>
/// <param name="thumbnails">Whether to return the cropped portrains with the detected faces. (default to false).</param>
/// <param name="thumbnails">Deprecated, use the &#x60;crop&#x60; field in &#x60;processParam&#x60; instead. (default to false).</param>
public DetectRequest(string tag = default(string), ProcessParam processParam = default(ProcessParam), byte[] image = default(byte[]), bool thumbnails = false)
{
this.Tag = tag;
Expand Down Expand Up @@ -74,9 +74,9 @@ public partial class DetectRequest : IEquatable<DetectRequest>, IValidatableObj
public byte[] Image { get; set; }

/// <summary>
/// Whether to return the cropped portrains with the detected faces.
/// Deprecated, use the &#x60;crop&#x60; field in &#x60;processParam&#x60; instead.
/// </summary>
/// <value>Whether to return the cropped portrains with the detected faces.</value>
/// <value>Deprecated, use the &#x60;crop&#x60; field in &#x60;processParam&#x60; instead.</value>
[DataMember(Name="thumbnails", EmitDefaultValue=false)]
public bool Thumbnails { get; set; }

Expand Down
2 changes: 1 addition & 1 deletion src/Regula.FaceSDK.WebClient/Model/DetectResponse.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
*
* Regula FaceSDK Web API # Clients * [JavaScript](https://github.com/regulaforensics/FaceSDK-web-js-client) client for the browser and node.js based on axios * [Java](https://github.com/regulaforensics/FaceSDK-web-java-client) client compatible with jvm and android * [Python](https://github.com/regulaforensics/FaceSDK-web-python-client) 3.5+ client * [C#](https://github.com/regulaforensics/FaceSDK-web-csharp-client) client for .NET & .NET Core
*
* The version of the OpenAPI document: 5.2.0
* The version of the OpenAPI document: 6.1.0
*
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
Expand Down
2 changes: 1 addition & 1 deletion src/Regula.FaceSDK.WebClient/Model/DetectResult.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
*
* Regula FaceSDK Web API # Clients * [JavaScript](https://github.com/regulaforensics/FaceSDK-web-js-client) client for the browser and node.js based on axios * [Java](https://github.com/regulaforensics/FaceSDK-web-java-client) client compatible with jvm and android * [Python](https://github.com/regulaforensics/FaceSDK-web-python-client) 3.5+ client * [C#](https://github.com/regulaforensics/FaceSDK-web-csharp-client) client for .NET & .NET Core
*
* The version of the OpenAPI document: 5.2.0
* The version of the OpenAPI document: 6.1.0
*
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
Expand Down
2 changes: 1 addition & 1 deletion src/Regula.FaceSDK.WebClient/Model/Detection.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
*
* Regula FaceSDK Web API # Clients * [JavaScript](https://github.com/regulaforensics/FaceSDK-web-js-client) client for the browser and node.js based on axios * [Java](https://github.com/regulaforensics/FaceSDK-web-java-client) client compatible with jvm and android * [Python](https://github.com/regulaforensics/FaceSDK-web-python-client) 3.5+ client * [C#](https://github.com/regulaforensics/FaceSDK-web-csharp-client) client for .NET & .NET Core
*
* The version of the OpenAPI document: 5.2.0
* The version of the OpenAPI document: 6.1.0
*
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
*
* Regula FaceSDK Web API # Clients * [JavaScript](https://github.com/regulaforensics/FaceSDK-web-js-client) client for the browser and node.js based on axios * [Java](https://github.com/regulaforensics/FaceSDK-web-java-client) client compatible with jvm and android * [Python](https://github.com/regulaforensics/FaceSDK-web-python-client) 3.5+ client * [C#](https://github.com/regulaforensics/FaceSDK-web-csharp-client) client for .NET & .NET Core
*
* The version of the OpenAPI document: 5.2.0
* The version of the OpenAPI document: 6.1.0
*
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
Expand Down Expand Up @@ -106,7 +106,7 @@
) &&
(
this.ElapsedTime == input.ElapsedTime ||
(this.ElapsedTime != null &&

Check warning on line 109 in src/Regula.FaceSDK.WebClient/Model/DetectionAttributes.cs

View workflow job for this annotation

GitHub Actions / run_smoke_test

The result of the expression is always 'true' since a value of type 'decimal' is never equal to 'null' of type 'decimal?'
this.ElapsedTime.Equals(input.ElapsedTime))
);
}
Expand All @@ -122,7 +122,7 @@
int hashCode = 41;
if (this.Details != null)
hashCode = hashCode * 59 + this.Details.GetHashCode();
if (this.ElapsedTime != null)

Check warning on line 125 in src/Regula.FaceSDK.WebClient/Model/DetectionAttributes.cs

View workflow job for this annotation

GitHub Actions / run_smoke_test

The result of the expression is always 'true' since a value of type 'decimal' is never equal to 'null' of type 'decimal?'
hashCode = hashCode * 59 + this.ElapsedTime.GetHashCode();
return hashCode;
}
Expand Down
Loading
Loading