@regulaforensics/facesdk-webclient 5.1.0 → 5.2.0

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 (253) hide show
  1. package/.github/workflows/run-smoke-test.yml +0 -3
  2. package/.github/workflows/trivy-scan.yaml +24 -0
  3. package/dist/cjs-es5/api/diagnostics-api.js +199 -0
  4. package/dist/cjs-es5/api/group-api.js +60 -60
  5. package/dist/cjs-es5/api/liveness20-api.js +14 -245
  6. package/dist/cjs-es5/api/matching-api.js +21 -21
  7. package/dist/cjs-es5/api/person-api.js +96 -189
  8. package/dist/cjs-es5/api/search-api.js +10 -10
  9. package/dist/cjs-es5/api.js +3 -2
  10. package/dist/cjs-es5/base.js +1 -1
  11. package/dist/cjs-es5/common.js +1 -1
  12. package/dist/cjs-es5/configuration.js +1 -1
  13. package/dist/cjs-es5/ext/person-api.js +1 -4
  14. package/dist/cjs-es5/models/crop.js +1 -1
  15. package/dist/cjs-es5/models/detect-request-attributes.js +16 -0
  16. package/dist/cjs-es5/models/detect-request.js +1 -1
  17. package/dist/cjs-es5/models/detect-response-all-of.js +1 -1
  18. package/dist/cjs-es5/models/detect-response.js +1 -1
  19. package/dist/cjs-es5/models/detect-result.js +1 -1
  20. package/dist/cjs-es5/models/detection-face.js +1 -1
  21. package/dist/cjs-es5/models/detection-quality.js +1 -1
  22. package/dist/cjs-es5/models/detection.js +1 -1
  23. package/dist/cjs-es5/models/face-attribute.js +37 -0
  24. package/dist/cjs-es5/models/face-image-quality-align-type.js +1 -1
  25. package/dist/cjs-es5/models/face-image-quality-groups.js +1 -1
  26. package/dist/cjs-es5/models/face-image-quality-status.js +1 -1
  27. package/dist/cjs-es5/models/face-quality-config-name.js +5 -4
  28. package/dist/cjs-es5/models/face-quality-scenarios.js +2 -2
  29. package/dist/cjs-es5/models/face-sdkresult-code.js +27 -26
  30. package/dist/cjs-es5/models/face-sdkresult.js +1 -1
  31. package/dist/cjs-es5/models/faces-response-all-of.js +1 -1
  32. package/dist/cjs-es5/models/faces-response.js +1 -1
  33. package/dist/cjs-es5/models/group-all-of.js +1 -1
  34. package/dist/cjs-es5/models/group-page-all-of.js +1 -1
  35. package/dist/cjs-es5/models/group-page.js +1 -1
  36. package/dist/cjs-es5/models/group-to-create.js +1 -1
  37. package/dist/cjs-es5/models/group.js +1 -1
  38. package/dist/cjs-es5/models/image-fields-image.js +1 -1
  39. package/dist/cjs-es5/models/image-fields.js +1 -1
  40. package/dist/cjs-es5/models/image-page-all-of.js +1 -1
  41. package/dist/cjs-es5/models/image-page.js +1 -1
  42. package/dist/cjs-es5/models/image-source.js +2 -2
  43. package/dist/cjs-es5/models/image.js +1 -1
  44. package/dist/cjs-es5/models/index.js +9 -2
  45. package/dist/cjs-es5/models/match-and-search-request-all-of-images.js +1 -1
  46. package/dist/cjs-es5/models/match-and-search-request-all-of.js +1 -1
  47. package/dist/cjs-es5/models/match-and-search-request.js +1 -1
  48. package/dist/cjs-es5/models/match-and-search-response-all-of-detections.js +1 -1
  49. package/dist/cjs-es5/models/match-and-search-response-all-of.js +1 -1
  50. package/dist/cjs-es5/models/match-and-search-response.js +1 -1
  51. package/dist/cjs-es5/models/match-image-detection.js +1 -1
  52. package/dist/cjs-es5/models/match-image-result.js +1 -1
  53. package/dist/cjs-es5/models/match-image.js +1 -1
  54. package/dist/cjs-es5/models/match-request.js +1 -1
  55. package/dist/cjs-es5/models/match-response-all-of.js +1 -1
  56. package/dist/cjs-es5/models/match-response.js +1 -1
  57. package/dist/cjs-es5/models/operation-log.js +1 -1
  58. package/dist/cjs-es5/models/output-image-params.js +1 -1
  59. package/dist/cjs-es5/models/page.js +1 -1
  60. package/dist/cjs-es5/models/person-all-of.js +1 -1
  61. package/dist/cjs-es5/models/person-created-response.js +16 -0
  62. package/dist/cjs-es5/models/person-fields.js +1 -1
  63. package/dist/cjs-es5/models/person-with-images-all-of.js +1 -1
  64. package/dist/cjs-es5/models/person-with-images.js +1 -1
  65. package/dist/cjs-es5/models/person.js +1 -1
  66. package/dist/cjs-es5/models/persons-page-all-of.js +1 -1
  67. package/dist/cjs-es5/models/persons-page.js +1 -1
  68. package/dist/cjs-es5/models/process-param.js +1 -1
  69. package/dist/cjs-es5/models/quality-config.js +1 -1
  70. package/dist/cjs-es5/models/quality-detail.js +1 -1
  71. package/dist/cjs-es5/models/quality-details-groups.js +1 -1
  72. package/dist/cjs-es5/models/quality-request.js +1 -1
  73. package/dist/cjs-es5/models/recognize-image-all-of.js +1 -1
  74. package/dist/cjs-es5/models/recognize-image.js +1 -1
  75. package/dist/cjs-es5/models/resize-options.js +16 -0
  76. package/dist/cjs-es5/models/search-bad-params.js +16 -0
  77. package/dist/cjs-es5/models/search-detection.js +16 -0
  78. package/dist/cjs-es5/models/search-parameters-create-person.js +16 -0
  79. package/dist/cjs-es5/models/search-parameters.js +1 -1
  80. package/dist/cjs-es5/models/search-person-all-of.js +1 -1
  81. package/dist/cjs-es5/models/search-person.js +1 -1
  82. package/dist/cjs-es5/models/search-request.js +1 -1
  83. package/dist/cjs-es5/models/search-result.js +1 -1
  84. package/dist/cjs-es5/models/transaction-info.js +16 -0
  85. package/dist/cjs-es5/models/update-group.js +1 -1
  86. package/dist/esm-es5/api/diagnostics-api.js +196 -0
  87. package/dist/esm-es5/api/group-api.js +60 -60
  88. package/dist/esm-es5/api/liveness20-api.js +14 -245
  89. package/dist/esm-es5/api/matching-api.js +21 -21
  90. package/dist/esm-es5/api/person-api.js +96 -189
  91. package/dist/esm-es5/api/search-api.js +10 -10
  92. package/dist/esm-es5/api.js +3 -2
  93. package/dist/esm-es5/base.js +1 -1
  94. package/dist/esm-es5/common.js +1 -1
  95. package/dist/esm-es5/configuration.js +1 -1
  96. package/dist/esm-es5/ext/person-api.js +1 -4
  97. package/dist/esm-es5/models/crop.js +1 -1
  98. package/dist/esm-es5/models/detect-request-attributes.js +14 -0
  99. package/dist/esm-es5/models/detect-request.js +1 -1
  100. package/dist/esm-es5/models/detect-response-all-of.js +1 -1
  101. package/dist/esm-es5/models/detect-response.js +1 -1
  102. package/dist/esm-es5/models/detect-result.js +1 -1
  103. package/dist/esm-es5/models/detection-face.js +1 -1
  104. package/dist/esm-es5/models/detection-quality.js +1 -1
  105. package/dist/esm-es5/models/detection.js +1 -1
  106. package/dist/esm-es5/models/face-attribute.js +34 -0
  107. package/dist/esm-es5/models/face-image-quality-align-type.js +1 -1
  108. package/dist/esm-es5/models/face-image-quality-groups.js +1 -1
  109. package/dist/esm-es5/models/face-image-quality-status.js +1 -1
  110. package/dist/esm-es5/models/face-quality-config-name.js +5 -4
  111. package/dist/esm-es5/models/face-quality-scenarios.js +2 -2
  112. package/dist/esm-es5/models/face-sdkresult-code.js +27 -26
  113. package/dist/esm-es5/models/face-sdkresult.js +1 -1
  114. package/dist/esm-es5/models/faces-response-all-of.js +1 -1
  115. package/dist/esm-es5/models/faces-response.js +1 -1
  116. package/dist/esm-es5/models/group-all-of.js +1 -1
  117. package/dist/esm-es5/models/group-page-all-of.js +1 -1
  118. package/dist/esm-es5/models/group-page.js +1 -1
  119. package/dist/esm-es5/models/group-to-create.js +1 -1
  120. package/dist/esm-es5/models/group.js +1 -1
  121. package/dist/esm-es5/models/image-fields-image.js +1 -1
  122. package/dist/esm-es5/models/image-fields.js +1 -1
  123. package/dist/esm-es5/models/image-page-all-of.js +1 -1
  124. package/dist/esm-es5/models/image-page.js +1 -1
  125. package/dist/esm-es5/models/image-source.js +2 -2
  126. package/dist/esm-es5/models/image.js +1 -1
  127. package/dist/esm-es5/models/index.js +9 -2
  128. package/dist/esm-es5/models/match-and-search-request-all-of-images.js +1 -1
  129. package/dist/esm-es5/models/match-and-search-request-all-of.js +1 -1
  130. package/dist/esm-es5/models/match-and-search-request.js +1 -1
  131. package/dist/esm-es5/models/match-and-search-response-all-of-detections.js +1 -1
  132. package/dist/esm-es5/models/match-and-search-response-all-of.js +1 -1
  133. package/dist/esm-es5/models/match-and-search-response.js +1 -1
  134. package/dist/esm-es5/models/match-image-detection.js +1 -1
  135. package/dist/esm-es5/models/match-image-result.js +1 -1
  136. package/dist/esm-es5/models/match-image.js +1 -1
  137. package/dist/esm-es5/models/match-request.js +1 -1
  138. package/dist/esm-es5/models/match-response-all-of.js +1 -1
  139. package/dist/esm-es5/models/match-response.js +1 -1
  140. package/dist/esm-es5/models/operation-log.js +1 -1
  141. package/dist/esm-es5/models/output-image-params.js +1 -1
  142. package/dist/esm-es5/models/page.js +1 -1
  143. package/dist/esm-es5/models/person-all-of.js +1 -1
  144. package/dist/esm-es5/models/person-created-response.js +14 -0
  145. package/dist/esm-es5/models/person-fields.js +1 -1
  146. package/dist/esm-es5/models/person-with-images-all-of.js +1 -1
  147. package/dist/esm-es5/models/person-with-images.js +1 -1
  148. package/dist/esm-es5/models/person.js +1 -1
  149. package/dist/esm-es5/models/persons-page-all-of.js +1 -1
  150. package/dist/esm-es5/models/persons-page.js +1 -1
  151. package/dist/esm-es5/models/process-param.js +1 -1
  152. package/dist/esm-es5/models/quality-config.js +1 -1
  153. package/dist/esm-es5/models/quality-detail.js +1 -1
  154. package/dist/esm-es5/models/quality-details-groups.js +1 -1
  155. package/dist/esm-es5/models/quality-request.js +1 -1
  156. package/dist/esm-es5/models/recognize-image-all-of.js +1 -1
  157. package/dist/esm-es5/models/recognize-image.js +1 -1
  158. package/dist/esm-es5/models/resize-options.js +14 -0
  159. package/dist/esm-es5/models/search-bad-params.js +14 -0
  160. package/dist/esm-es5/models/search-detection.js +14 -0
  161. package/dist/esm-es5/models/search-parameters-create-person.js +14 -0
  162. package/dist/esm-es5/models/search-parameters.js +1 -1
  163. package/dist/esm-es5/models/search-person-all-of.js +1 -1
  164. package/dist/esm-es5/models/search-person.js +1 -1
  165. package/dist/esm-es5/models/search-request.js +1 -1
  166. package/dist/esm-es5/models/search-result.js +1 -1
  167. package/dist/esm-es5/models/transaction-info.js +14 -0
  168. package/dist/esm-es5/models/update-group.js +1 -1
  169. package/package.json +1 -1
  170. package/src/api/diagnostics-api.ts +126 -0
  171. package/src/api/group-api.ts +79 -79
  172. package/src/api/liveness20-api.ts +14 -224
  173. package/src/api/matching-api.ts +21 -21
  174. package/src/api/person-api.ts +127 -217
  175. package/src/api/search-api.ts +12 -10
  176. package/src/api.ts +2 -1
  177. package/src/base.ts +1 -1
  178. package/src/common.ts +1 -1
  179. package/src/configuration.ts +1 -1
  180. package/src/ext/group-api.ts +5 -5
  181. package/src/ext/person-api.ts +8 -11
  182. package/src/models/crop.ts +3 -3
  183. package/src/models/detect-request-attributes.ts +31 -0
  184. package/src/models/detect-request.ts +5 -10
  185. package/src/models/detect-response-all-of.ts +1 -1
  186. package/src/models/detect-response.ts +1 -1
  187. package/src/models/detect-result.ts +1 -1
  188. package/src/models/detection-face.ts +9 -3
  189. package/src/models/detection-quality.ts +1 -1
  190. package/src/models/detection.ts +2 -2
  191. package/src/models/face-attribute.ts +42 -0
  192. package/src/models/face-image-quality-align-type.ts +1 -1
  193. package/src/models/face-image-quality-groups.ts +1 -1
  194. package/src/models/face-image-quality-status.ts +1 -1
  195. package/src/models/face-quality-config-name.ts +4 -3
  196. package/src/models/face-quality-scenarios.ts +2 -2
  197. package/src/models/face-sdkresult-code.ts +26 -25
  198. package/src/models/face-sdkresult.ts +1 -1
  199. package/src/models/faces-response-all-of.ts +1 -1
  200. package/src/models/faces-response.ts +1 -1
  201. package/src/models/group-all-of.ts +5 -5
  202. package/src/models/group-page-all-of.ts +2 -2
  203. package/src/models/group-page.ts +1 -1
  204. package/src/models/group-to-create.ts +7 -1
  205. package/src/models/group.ts +1 -1
  206. package/src/models/image-fields-image.ts +17 -4
  207. package/src/models/image-fields.ts +33 -2
  208. package/src/models/image-page-all-of.ts +1 -1
  209. package/src/models/image-page.ts +1 -1
  210. package/src/models/image-source.ts +2 -2
  211. package/src/models/image.ts +10 -10
  212. package/src/models/index.ts +8 -1
  213. package/src/models/match-and-search-request-all-of-images.ts +1 -1
  214. package/src/models/match-and-search-request-all-of.ts +8 -2
  215. package/src/models/match-and-search-request.ts +2 -1
  216. package/src/models/match-and-search-response-all-of-detections.ts +2 -2
  217. package/src/models/match-and-search-response-all-of.ts +1 -1
  218. package/src/models/match-and-search-response.ts +1 -1
  219. package/src/models/match-image-detection.ts +3 -3
  220. package/src/models/match-image-result.ts +20 -20
  221. package/src/models/match-image.ts +8 -2
  222. package/src/models/match-request.ts +3 -3
  223. package/src/models/match-response-all-of.ts +7 -7
  224. package/src/models/match-response.ts +1 -1
  225. package/src/models/operation-log.ts +2 -2
  226. package/src/models/output-image-params.ts +2 -2
  227. package/src/models/page.ts +2 -2
  228. package/src/models/person-all-of.ts +12 -6
  229. package/src/models/person-created-response.ts +43 -0
  230. package/src/models/person-fields.ts +13 -1
  231. package/src/models/person-with-images-all-of.ts +1 -1
  232. package/src/models/person-with-images.ts +1 -1
  233. package/src/models/person.ts +1 -1
  234. package/src/models/persons-page-all-of.ts +1 -1
  235. package/src/models/persons-page.ts +1 -1
  236. package/src/models/process-param.ts +7 -1
  237. package/src/models/quality-config.ts +5 -5
  238. package/src/models/quality-detail.ts +1 -1
  239. package/src/models/quality-details-groups.ts +3 -4
  240. package/src/models/quality-request.ts +2 -2
  241. package/src/models/recognize-image-all-of.ts +3 -3
  242. package/src/models/recognize-image.ts +1 -1
  243. package/src/models/resize-options.ts +42 -0
  244. package/src/models/search-bad-params.ts +42 -0
  245. package/src/models/search-detection.ts +90 -0
  246. package/src/models/search-parameters-create-person.ts +36 -0
  247. package/src/models/search-parameters.ts +7 -12
  248. package/src/models/search-person-all-of.ts +9 -2
  249. package/src/models/search-person.ts +2 -1
  250. package/src/models/search-request.ts +3 -1
  251. package/src/models/search-result.ts +3 -3
  252. package/src/models/transaction-info.ts +78 -0
  253. package/src/models/update-group.ts +5 -5
@@ -4,7 +4,7 @@
4
4
  * Regula FaceSDK Web API
5
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
6
  *
7
- * The version of the OpenAPI document: 4.1.3
7
+ * The version of the OpenAPI document: 5.2.0
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -21,7 +21,7 @@ import { DUMMY_BASE_URL, assertParamExists, setApiKeyToObject, setBasicAuthToObj
21
21
  // @ts-ignore
22
22
  import { BASE_PATH, COLLECTION_FORMATS, RequestArgs, BaseAPI, RequiredError } from '../base';
23
23
  // @ts-ignore
24
- import { LivenessTransaction } from '../models';
24
+ import { TransactionInfo } from '../models';
25
25
  /**
26
26
  * Liveness20Api - axios parameter creator
27
27
  * @export
@@ -30,14 +30,14 @@ export const Liveness20ApiAxiosParamCreator = function (configuration?: Configur
30
30
  return {
31
31
  /**
32
32
  *
33
- * @summary liveness
33
+ * @summary Liveness assessment
34
34
  * @param {number} transactionId ID of the current liveness transaction.
35
35
  * @param {*} [options] Override http request option.
36
36
  * @throws {RequiredError}
37
37
  */
38
- getLivenessTransaction: async (transactionId: number, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
38
+ getLivenessTransactionInfo: async (transactionId: number, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
39
39
  // verify required parameter 'transactionId' is not null or undefined
40
- assertParamExists('getLivenessTransaction', 'transactionId', transactionId)
40
+ assertParamExists('getLivenessTransactionInfo', 'transactionId', transactionId)
41
41
  const localVarPath = `/api/v2/liveness`;
42
42
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
43
43
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -56,117 +56,6 @@ export const Liveness20ApiAxiosParamCreator = function (configuration?: Configur
56
56
 
57
57
 
58
58
 
59
- setSearchParams(localVarUrlObj, localVarQueryParameter);
60
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
61
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
62
-
63
- return {
64
- url: toPathString(localVarUrlObj),
65
- options: localVarRequestOptions,
66
- };
67
- },
68
- /**
69
- *
70
- * @summary metadata
71
- * @param {number} transactionId ID of the current liveness transaction.
72
- * @param {*} [options] Override http request option.
73
- * @throws {RequiredError}
74
- */
75
- livenessMetadata: async (transactionId: number, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
76
- // verify required parameter 'transactionId' is not null or undefined
77
- assertParamExists('livenessMetadata', 'transactionId', transactionId)
78
- const localVarPath = `/api/v2/liveness/metadata`;
79
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
80
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
81
- let baseOptions;
82
- if (configuration) {
83
- baseOptions = configuration.baseOptions;
84
- }
85
-
86
- const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
87
- const localVarHeaderParameter = {} as any;
88
- const localVarQueryParameter = {} as any;
89
-
90
- if (transactionId !== undefined) {
91
- localVarQueryParameter['transactionId'] = transactionId;
92
- }
93
-
94
-
95
-
96
- setSearchParams(localVarUrlObj, localVarQueryParameter);
97
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
98
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
99
-
100
- return {
101
- url: toPathString(localVarUrlObj),
102
- options: localVarRequestOptions,
103
- };
104
- },
105
- /**
106
- *
107
- * @summary portrait
108
- * @param {number} transactionId ID of the current liveness transaction.
109
- * @param {*} [options] Override http request option.
110
- * @throws {RequiredError}
111
- */
112
- livenessPortrait: async (transactionId: number, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
113
- // verify required parameter 'transactionId' is not null or undefined
114
- assertParamExists('livenessPortrait', 'transactionId', transactionId)
115
- const localVarPath = `/api/v2/liveness/portrait`;
116
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
117
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
118
- let baseOptions;
119
- if (configuration) {
120
- baseOptions = configuration.baseOptions;
121
- }
122
-
123
- const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
124
- const localVarHeaderParameter = {} as any;
125
- const localVarQueryParameter = {} as any;
126
-
127
- if (transactionId !== undefined) {
128
- localVarQueryParameter['transactionId'] = transactionId;
129
- }
130
-
131
-
132
-
133
- setSearchParams(localVarUrlObj, localVarQueryParameter);
134
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
135
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
136
-
137
- return {
138
- url: toPathString(localVarUrlObj),
139
- options: localVarRequestOptions,
140
- };
141
- },
142
- /**
143
- *
144
- * @summary video
145
- * @param {number} transactionId ID of the current liveness transaction.
146
- * @param {*} [options] Override http request option.
147
- * @throws {RequiredError}
148
- */
149
- livenessVideo: async (transactionId: number, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
150
- // verify required parameter 'transactionId' is not null or undefined
151
- assertParamExists('livenessVideo', 'transactionId', transactionId)
152
- const localVarPath = `/api/v2/liveness/video`;
153
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
154
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
155
- let baseOptions;
156
- if (configuration) {
157
- baseOptions = configuration.baseOptions;
158
- }
159
-
160
- const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
161
- const localVarHeaderParameter = {} as any;
162
- const localVarQueryParameter = {} as any;
163
-
164
- if (transactionId !== undefined) {
165
- localVarQueryParameter['transactionId'] = transactionId;
166
- }
167
-
168
-
169
-
170
59
  setSearchParams(localVarUrlObj, localVarQueryParameter);
171
60
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
172
61
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
@@ -188,46 +77,13 @@ export const Liveness20ApiFp = function(configuration?: Configuration) {
188
77
  return {
189
78
  /**
190
79
  *
191
- * @summary liveness
80
+ * @summary Liveness assessment
192
81
  * @param {number} transactionId ID of the current liveness transaction.
193
82
  * @param {*} [options] Override http request option.
194
83
  * @throws {RequiredError}
195
84
  */
196
- async getLivenessTransaction(transactionId: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<LivenessTransaction>> {
197
- const localVarAxiosArgs = await localVarAxiosParamCreator.getLivenessTransaction(transactionId, options);
198
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
199
- },
200
- /**
201
- *
202
- * @summary metadata
203
- * @param {number} transactionId ID of the current liveness transaction.
204
- * @param {*} [options] Override http request option.
205
- * @throws {RequiredError}
206
- */
207
- async livenessMetadata(transactionId: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<{ [key: string]: object; }>> {
208
- const localVarAxiosArgs = await localVarAxiosParamCreator.livenessMetadata(transactionId, options);
209
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
210
- },
211
- /**
212
- *
213
- * @summary portrait
214
- * @param {number} transactionId ID of the current liveness transaction.
215
- * @param {*} [options] Override http request option.
216
- * @throws {RequiredError}
217
- */
218
- async livenessPortrait(transactionId: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<any>> {
219
- const localVarAxiosArgs = await localVarAxiosParamCreator.livenessPortrait(transactionId, options);
220
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
221
- },
222
- /**
223
- *
224
- * @summary video
225
- * @param {number} transactionId ID of the current liveness transaction.
226
- * @param {*} [options] Override http request option.
227
- * @throws {RequiredError}
228
- */
229
- async livenessVideo(transactionId: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<any>> {
230
- const localVarAxiosArgs = await localVarAxiosParamCreator.livenessVideo(transactionId, options);
85
+ async getLivenessTransactionInfo(transactionId: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TransactionInfo>> {
86
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getLivenessTransactionInfo(transactionId, options);
231
87
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
232
88
  },
233
89
  }
@@ -242,43 +98,13 @@ export const Liveness20ApiFactory = function (configuration?: Configuration, bas
242
98
  return {
243
99
  /**
244
100
  *
245
- * @summary liveness
101
+ * @summary Liveness assessment
246
102
  * @param {number} transactionId ID of the current liveness transaction.
247
103
  * @param {*} [options] Override http request option.
248
104
  * @throws {RequiredError}
249
105
  */
250
- getLivenessTransaction(transactionId: number, options?: any): AxiosPromise<LivenessTransaction> {
251
- return localVarFp.getLivenessTransaction(transactionId, options).then((request) => request(axios, basePath));
252
- },
253
- /**
254
- *
255
- * @summary metadata
256
- * @param {number} transactionId ID of the current liveness transaction.
257
- * @param {*} [options] Override http request option.
258
- * @throws {RequiredError}
259
- */
260
- livenessMetadata(transactionId: number, options?: any): AxiosPromise<{ [key: string]: object; }> {
261
- return localVarFp.livenessMetadata(transactionId, options).then((request) => request(axios, basePath));
262
- },
263
- /**
264
- *
265
- * @summary portrait
266
- * @param {number} transactionId ID of the current liveness transaction.
267
- * @param {*} [options] Override http request option.
268
- * @throws {RequiredError}
269
- */
270
- livenessPortrait(transactionId: number, options?: any): AxiosPromise<any> {
271
- return localVarFp.livenessPortrait(transactionId, options).then((request) => request(axios, basePath));
272
- },
273
- /**
274
- *
275
- * @summary video
276
- * @param {number} transactionId ID of the current liveness transaction.
277
- * @param {*} [options] Override http request option.
278
- * @throws {RequiredError}
279
- */
280
- livenessVideo(transactionId: number, options?: any): AxiosPromise<any> {
281
- return localVarFp.livenessVideo(transactionId, options).then((request) => request(axios, basePath));
106
+ getLivenessTransactionInfo(transactionId: number, options?: any): AxiosPromise<TransactionInfo> {
107
+ return localVarFp.getLivenessTransactionInfo(transactionId, options).then((request) => request(axios, basePath));
282
108
  },
283
109
  };
284
110
  };
@@ -292,49 +118,13 @@ export const Liveness20ApiFactory = function (configuration?: Configuration, bas
292
118
  export class Liveness20Api extends BaseAPI {
293
119
  /**
294
120
  *
295
- * @summary liveness
296
- * @param {number} transactionId ID of the current liveness transaction.
297
- * @param {*} [options] Override http request option.
298
- * @throws {RequiredError}
299
- * @memberof Liveness20Api
300
- */
301
- public getLivenessTransaction(transactionId: number, options?: AxiosRequestConfig) {
302
- return Liveness20ApiFp(this.configuration).getLivenessTransaction(transactionId, options).then((request) => request(this.axios, this.basePath));
303
- }
304
-
305
- /**
306
- *
307
- * @summary metadata
308
- * @param {number} transactionId ID of the current liveness transaction.
309
- * @param {*} [options] Override http request option.
310
- * @throws {RequiredError}
311
- * @memberof Liveness20Api
312
- */
313
- public livenessMetadata(transactionId: number, options?: AxiosRequestConfig) {
314
- return Liveness20ApiFp(this.configuration).livenessMetadata(transactionId, options).then((request) => request(this.axios, this.basePath));
315
- }
316
-
317
- /**
318
- *
319
- * @summary portrait
320
- * @param {number} transactionId ID of the current liveness transaction.
321
- * @param {*} [options] Override http request option.
322
- * @throws {RequiredError}
323
- * @memberof Liveness20Api
324
- */
325
- public livenessPortrait(transactionId: number, options?: AxiosRequestConfig) {
326
- return Liveness20ApiFp(this.configuration).livenessPortrait(transactionId, options).then((request) => request(this.axios, this.basePath));
327
- }
328
-
329
- /**
330
- *
331
- * @summary video
121
+ * @summary Liveness assessment
332
122
  * @param {number} transactionId ID of the current liveness transaction.
333
123
  * @param {*} [options] Override http request option.
334
124
  * @throws {RequiredError}
335
125
  * @memberof Liveness20Api
336
126
  */
337
- public livenessVideo(transactionId: number, options?: AxiosRequestConfig) {
338
- return Liveness20ApiFp(this.configuration).livenessVideo(transactionId, options).then((request) => request(this.axios, this.basePath));
127
+ public getLivenessTransactionInfo(transactionId: number, options?: AxiosRequestConfig) {
128
+ return Liveness20ApiFp(this.configuration).getLivenessTransactionInfo(transactionId, options).then((request) => request(this.axios, this.basePath));
339
129
  }
340
130
  }
@@ -4,7 +4,7 @@
4
4
  * Regula FaceSDK Web API
5
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
6
  *
7
- * The version of the OpenAPI document: 4.1.3
7
+ * The version of the OpenAPI document: 5.2.0
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -40,9 +40,9 @@ export const MatchingApiAxiosParamCreator = function (configuration?: Configurat
40
40
  return {
41
41
  /**
42
42
  *
43
- * @summary Detect facial coordinates
43
+ * @summary Detect face, evaluate attributes, assess the portrait quality
44
44
  * @param {DetectRequest} detectRequest
45
- * @param {string} [xRequestID]
45
+ * @param {string} [xRequestID] Request header label.
46
46
  * @param {*} [options] Override http request option.
47
47
  * @throws {RequiredError}
48
48
  */
@@ -81,9 +81,9 @@ export const MatchingApiAxiosParamCreator = function (configuration?: Configurat
81
81
  },
82
82
  /**
83
83
  *
84
- * @summary Compare provided face images in all combinations and return the similarity score for each pair.
84
+ * @summary Compare faces in all combinations
85
85
  * @param {MatchRequest} matchRequest
86
- * @param {string} [xRequestID]
86
+ * @param {string} [xRequestID] Request header label.
87
87
  * @param {*} [options] Override http request option.
88
88
  * @throws {RequiredError}
89
89
  */
@@ -124,7 +124,7 @@ export const MatchingApiAxiosParamCreator = function (configuration?: Configurat
124
124
  *
125
125
  * @summary Match and Search in one request
126
126
  * @param {MatchAndSearchRequest} matchAndSearchRequest
127
- * @param {string} [xRequestID]
127
+ * @param {string} [xRequestID] Request header label.
128
128
  * @param {*} [options] Override http request option.
129
129
  * @throws {RequiredError}
130
130
  */
@@ -173,9 +173,9 @@ export const MatchingApiFp = function(configuration?: Configuration) {
173
173
  return {
174
174
  /**
175
175
  *
176
- * @summary Detect facial coordinates
176
+ * @summary Detect face, evaluate attributes, assess the portrait quality
177
177
  * @param {DetectRequest} detectRequest
178
- * @param {string} [xRequestID]
178
+ * @param {string} [xRequestID] Request header label.
179
179
  * @param {*} [options] Override http request option.
180
180
  * @throws {RequiredError}
181
181
  */
@@ -185,9 +185,9 @@ export const MatchingApiFp = function(configuration?: Configuration) {
185
185
  },
186
186
  /**
187
187
  *
188
- * @summary Compare provided face images in all combinations and return the similarity score for each pair.
188
+ * @summary Compare faces in all combinations
189
189
  * @param {MatchRequest} matchRequest
190
- * @param {string} [xRequestID]
190
+ * @param {string} [xRequestID] Request header label.
191
191
  * @param {*} [options] Override http request option.
192
192
  * @throws {RequiredError}
193
193
  */
@@ -199,7 +199,7 @@ export const MatchingApiFp = function(configuration?: Configuration) {
199
199
  *
200
200
  * @summary Match and Search in one request
201
201
  * @param {MatchAndSearchRequest} matchAndSearchRequest
202
- * @param {string} [xRequestID]
202
+ * @param {string} [xRequestID] Request header label.
203
203
  * @param {*} [options] Override http request option.
204
204
  * @throws {RequiredError}
205
205
  */
@@ -219,9 +219,9 @@ export const MatchingApiFactory = function (configuration?: Configuration, baseP
219
219
  return {
220
220
  /**
221
221
  *
222
- * @summary Detect facial coordinates
222
+ * @summary Detect face, evaluate attributes, assess the portrait quality
223
223
  * @param {DetectRequest} detectRequest
224
- * @param {string} [xRequestID]
224
+ * @param {string} [xRequestID] Request header label.
225
225
  * @param {*} [options] Override http request option.
226
226
  * @throws {RequiredError}
227
227
  */
@@ -230,9 +230,9 @@ export const MatchingApiFactory = function (configuration?: Configuration, baseP
230
230
  },
231
231
  /**
232
232
  *
233
- * @summary Compare provided face images in all combinations and return the similarity score for each pair.
233
+ * @summary Compare faces in all combinations
234
234
  * @param {MatchRequest} matchRequest
235
- * @param {string} [xRequestID]
235
+ * @param {string} [xRequestID] Request header label.
236
236
  * @param {*} [options] Override http request option.
237
237
  * @throws {RequiredError}
238
238
  */
@@ -243,7 +243,7 @@ export const MatchingApiFactory = function (configuration?: Configuration, baseP
243
243
  *
244
244
  * @summary Match and Search in one request
245
245
  * @param {MatchAndSearchRequest} matchAndSearchRequest
246
- * @param {string} [xRequestID]
246
+ * @param {string} [xRequestID] Request header label.
247
247
  * @param {*} [options] Override http request option.
248
248
  * @throws {RequiredError}
249
249
  */
@@ -262,9 +262,9 @@ export const MatchingApiFactory = function (configuration?: Configuration, baseP
262
262
  export class MatchingApi extends BaseAPI {
263
263
  /**
264
264
  *
265
- * @summary Detect facial coordinates
265
+ * @summary Detect face, evaluate attributes, assess the portrait quality
266
266
  * @param {DetectRequest} detectRequest
267
- * @param {string} [xRequestID]
267
+ * @param {string} [xRequestID] Request header label.
268
268
  * @param {*} [options] Override http request option.
269
269
  * @throws {RequiredError}
270
270
  * @memberof MatchingApi
@@ -275,9 +275,9 @@ export class MatchingApi extends BaseAPI {
275
275
 
276
276
  /**
277
277
  *
278
- * @summary Compare provided face images in all combinations and return the similarity score for each pair.
278
+ * @summary Compare faces in all combinations
279
279
  * @param {MatchRequest} matchRequest
280
- * @param {string} [xRequestID]
280
+ * @param {string} [xRequestID] Request header label.
281
281
  * @param {*} [options] Override http request option.
282
282
  * @throws {RequiredError}
283
283
  * @memberof MatchingApi
@@ -290,7 +290,7 @@ export class MatchingApi extends BaseAPI {
290
290
  *
291
291
  * @summary Match and Search in one request
292
292
  * @param {MatchAndSearchRequest} matchAndSearchRequest
293
- * @param {string} [xRequestID]
293
+ * @param {string} [xRequestID] Request header label.
294
294
  * @param {*} [options] Override http request option.
295
295
  * @throws {RequiredError}
296
296
  * @memberof MatchingApi