@regulaforensics/facesdk-webclient 4.1.4 → 4.1.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (44) hide show
  1. package/dist/cjs-es5/api/matching-api.js +88 -5
  2. package/dist/cjs-es5/models/faces-response-all-of.js +16 -0
  3. package/dist/cjs-es5/models/faces-response.js +16 -0
  4. package/dist/cjs-es5/models/index.js +12 -2
  5. package/dist/cjs-es5/models/match-and-search-request-all-of-images.js +16 -0
  6. package/dist/cjs-es5/models/match-and-search-request-all-of.js +16 -0
  7. package/dist/cjs-es5/models/match-and-search-request.js +16 -0
  8. package/dist/cjs-es5/models/match-and-search-response-all-of-detections.js +16 -0
  9. package/dist/cjs-es5/models/match-and-search-response-all-of.js +16 -0
  10. package/dist/cjs-es5/models/match-and-search-response.js +16 -0
  11. package/dist/cjs-es5/models/person-with-images-all-of.js +16 -0
  12. package/dist/cjs-es5/models/person-with-images.js +16 -0
  13. package/dist/cjs-es5/models/search-parameters.js +16 -0
  14. package/dist/esm-es5/api/matching-api.js +88 -5
  15. package/dist/esm-es5/models/faces-response-all-of.js +14 -0
  16. package/dist/esm-es5/models/faces-response.js +14 -0
  17. package/dist/esm-es5/models/index.js +12 -2
  18. package/dist/esm-es5/models/match-and-search-request-all-of-images.js +14 -0
  19. package/dist/esm-es5/models/match-and-search-request-all-of.js +14 -0
  20. package/dist/esm-es5/models/match-and-search-request.js +14 -0
  21. package/dist/esm-es5/models/match-and-search-response-all-of-detections.js +14 -0
  22. package/dist/esm-es5/models/match-and-search-response-all-of.js +14 -0
  23. package/dist/esm-es5/models/match-and-search-response.js +14 -0
  24. package/dist/esm-es5/models/person-with-images-all-of.js +14 -0
  25. package/dist/esm-es5/models/person-with-images.js +14 -0
  26. package/dist/esm-es5/models/search-parameters.js +14 -0
  27. package/package.json +1 -1
  28. package/src/api/matching-api.ts +85 -4
  29. package/src/models/crop.ts +1 -1
  30. package/src/models/faces-response-all-of.ts +37 -0
  31. package/src/models/faces-response.ts +26 -0
  32. package/src/models/image.ts +12 -0
  33. package/src/models/index.ts +11 -1
  34. package/src/models/match-and-search-request-all-of-images.ts +38 -0
  35. package/src/models/match-and-search-request-all-of.ts +31 -0
  36. package/src/models/match-and-search-request.ts +26 -0
  37. package/src/models/match-and-search-response-all-of-detections.ts +44 -0
  38. package/src/models/match-and-search-response-all-of.ts +50 -0
  39. package/src/models/match-and-search-response.ts +28 -0
  40. package/src/models/person-with-images-all-of.ts +31 -0
  41. package/src/models/person-with-images.ts +26 -0
  42. package/src/models/recognize-image-all-of.ts +6 -0
  43. package/src/models/search-parameters.ts +42 -0
  44. package/src/models/search-request.ts +2 -2
@@ -0,0 +1,50 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Regula FaceSDK Web API
5
+ * 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
6
+ *
7
+ * The version of the OpenAPI document: 4.1.3
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+
16
+ import { MatchAndSearchResponseAllOfDetections } from './match-and-search-response-all-of-detections';
17
+ import { MatchImageResult } from './match-image-result';
18
+
19
+ /**
20
+ *
21
+ * @export
22
+ * @interface MatchAndSearchResponseAllOf
23
+ */
24
+ export interface MatchAndSearchResponseAllOf {
25
+ /**
26
+ *
27
+ * @type {Array<MatchImageResult>}
28
+ * @memberof MatchAndSearchResponseAllOf
29
+ */
30
+ 'results'?: Array<MatchImageResult>;
31
+ /**
32
+ *
33
+ * @type {number}
34
+ * @memberof MatchAndSearchResponseAllOf
35
+ */
36
+ 'elapsedTime'?: number;
37
+ /**
38
+ * A free-form object containing person\'s extended attributes.
39
+ * @type {{ [key: string]: object; }}
40
+ * @memberof MatchAndSearchResponseAllOf
41
+ */
42
+ 'metadata'?: { [key: string]: object; };
43
+ /**
44
+ *
45
+ * @type {Array<MatchAndSearchResponseAllOfDetections>}
46
+ * @memberof MatchAndSearchResponseAllOf
47
+ */
48
+ 'detections'?: Array<MatchAndSearchResponseAllOfDetections>;
49
+ }
50
+
@@ -0,0 +1,28 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Regula FaceSDK Web API
5
+ * 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
6
+ *
7
+ * The version of the OpenAPI document: 4.1.3
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+
16
+ import { FaceSDKResult } from './face-sdkresult';
17
+ import { FaceSDKResultCode } from './face-sdkresult-code';
18
+ import { MatchAndSearchResponseAllOf } from './match-and-search-response-all-of';
19
+ import { MatchAndSearchResponseAllOfDetections } from './match-and-search-response-all-of-detections';
20
+ import { MatchImageResult } from './match-image-result';
21
+
22
+ /**
23
+ * @type MatchAndSearchResponse
24
+ * @export
25
+ */
26
+ export type MatchAndSearchResponse = FaceSDKResult & MatchAndSearchResponseAllOf;
27
+
28
+
@@ -0,0 +1,31 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Regula FaceSDK Web API
5
+ * 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
6
+ *
7
+ * The version of the OpenAPI document: 4.1.3
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+
16
+ import { RecognizeImage } from './recognize-image';
17
+
18
+ /**
19
+ *
20
+ * @export
21
+ * @interface PersonWithImagesAllOf
22
+ */
23
+ export interface PersonWithImagesAllOf {
24
+ /**
25
+ *
26
+ * @type {Array<RecognizeImage>}
27
+ * @memberof PersonWithImagesAllOf
28
+ */
29
+ 'images'?: Array<RecognizeImage>;
30
+ }
31
+
@@ -0,0 +1,26 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Regula FaceSDK Web API
5
+ * 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
6
+ *
7
+ * The version of the OpenAPI document: 4.1.3
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+
16
+ import { Person } from './person';
17
+ import { PersonWithImagesAllOf } from './person-with-images-all-of';
18
+ import { RecognizeImage } from './recognize-image';
19
+
20
+ /**
21
+ * @type PersonWithImages
22
+ * @export
23
+ */
24
+ export type PersonWithImages = Person & PersonWithImagesAllOf;
25
+
26
+
@@ -26,5 +26,11 @@ export interface RecognizeImageAllOf {
26
26
  * @memberof RecognizeImageAllOf
27
27
  */
28
28
  'similarity'?: number;
29
+ /**
30
+ * The similarity distance score: the lower the distance, the higher the face\'s similarity.
31
+ * @type {number}
32
+ * @memberof RecognizeImageAllOf
33
+ */
34
+ 'distance'?: number;
29
35
  }
30
36
 
@@ -0,0 +1,42 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Regula FaceSDK Web API
5
+ * 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
6
+ *
7
+ * The version of the OpenAPI document: 4.1.3
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+
16
+
17
+ /**
18
+ * Request search data.
19
+ * @export
20
+ * @interface SearchParameters
21
+ */
22
+ export interface SearchParameters {
23
+ /**
24
+ * The number of returned Persons limit.
25
+ * @type {number}
26
+ * @memberof SearchParameters
27
+ */
28
+ 'limit'?: number;
29
+ /**
30
+ * The similarity distance threshold.
31
+ * @type {number}
32
+ * @memberof SearchParameters
33
+ */
34
+ 'threshold'?: number;
35
+ /**
36
+ * The IDs of the groups in which the search is performed.
37
+ * @type {Array<number>}
38
+ * @memberof SearchParameters
39
+ */
40
+ 'group_ids'?: Array<number>;
41
+ }
42
+
@@ -15,12 +15,12 @@
15
15
 
16
16
  import { ImageFields } from './image-fields';
17
17
  import { ImageFieldsImage } from './image-fields-image';
18
- import { SearchRequestAllOf } from './search-request-all-of';
18
+ import { SearchParameters } from './search-parameters';
19
19
 
20
20
  /**
21
21
  * @type SearchRequest
22
22
  * @export
23
23
  */
24
- export type SearchRequest = ImageFields & SearchRequestAllOf;
24
+ export type SearchRequest = ImageFields & SearchParameters;
25
25
 
26
26