@regulaforensics/facesdk-webclient 4.1.2 → 4.1.4

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 (199) hide show
  1. package/dist/cjs-es5/api/group-api.js +100 -51
  2. package/dist/cjs-es5/api/matching-api.js +30 -16
  3. package/dist/cjs-es5/api/person-api.js +142 -72
  4. package/dist/cjs-es5/api/search-api.js +16 -9
  5. package/dist/cjs-es5/api.js +1 -1
  6. package/dist/cjs-es5/base.js +1 -1
  7. package/dist/cjs-es5/common.js +1 -1
  8. package/dist/cjs-es5/configuration.js +1 -1
  9. package/dist/cjs-es5/ext/group-api.js +15 -15
  10. package/dist/cjs-es5/ext/matching-api.js +5 -5
  11. package/dist/cjs-es5/ext/person-api.js +21 -21
  12. package/dist/cjs-es5/ext/search-api.js +3 -3
  13. package/dist/cjs-es5/models/crop.js +1 -1
  14. package/dist/cjs-es5/models/detect-request.js +1 -1
  15. package/dist/cjs-es5/models/detect-response-all-of.js +1 -1
  16. package/dist/cjs-es5/models/detect-response.js +1 -1
  17. package/dist/cjs-es5/models/detect-result.js +1 -1
  18. package/dist/cjs-es5/models/detection-face.js +1 -1
  19. package/dist/cjs-es5/models/detection-quality.js +1 -1
  20. package/dist/cjs-es5/models/detection.js +1 -1
  21. package/dist/cjs-es5/models/face-image-quality-align-type.js +29 -0
  22. package/dist/cjs-es5/models/face-image-quality-groups.js +1 -1
  23. package/dist/cjs-es5/models/face-image-quality-status.js +27 -0
  24. package/dist/cjs-es5/models/face-quality-config-name.js +3 -2
  25. package/dist/cjs-es5/models/face-quality-scenarios.js +1 -1
  26. package/dist/cjs-es5/models/face-sdkresult-code.js +1 -1
  27. package/dist/cjs-es5/models/face-sdkresult.js +1 -1
  28. package/dist/cjs-es5/models/group-all-of.js +1 -1
  29. package/dist/cjs-es5/models/group-page-all-of.js +1 -1
  30. package/dist/cjs-es5/models/group-page.js +1 -1
  31. package/dist/cjs-es5/models/group-to-create.js +1 -1
  32. package/dist/cjs-es5/models/group.js +1 -1
  33. package/dist/cjs-es5/models/image-fields-image.js +1 -1
  34. package/dist/cjs-es5/models/image-fields.js +1 -1
  35. package/dist/cjs-es5/models/image-page-all-of.js +1 -1
  36. package/dist/cjs-es5/models/image-page.js +1 -1
  37. package/dist/cjs-es5/models/image-source.js +1 -1
  38. package/dist/cjs-es5/models/image.js +1 -1
  39. package/dist/cjs-es5/models/index.js +3 -3
  40. package/dist/cjs-es5/models/match-image-detection.js +1 -1
  41. package/dist/cjs-es5/models/match-image-result.js +1 -1
  42. package/dist/cjs-es5/models/match-image.js +1 -1
  43. package/dist/cjs-es5/models/match-request.js +1 -1
  44. package/dist/cjs-es5/models/match-response-all-of.js +1 -1
  45. package/dist/cjs-es5/models/match-response.js +1 -1
  46. package/dist/cjs-es5/models/operation-log.js +1 -1
  47. package/dist/cjs-es5/models/output-image-params.js +1 -1
  48. package/dist/cjs-es5/models/page.js +1 -1
  49. package/dist/cjs-es5/models/person-all-of.js +1 -1
  50. package/dist/cjs-es5/models/person-fields.js +1 -1
  51. package/dist/cjs-es5/models/person.js +1 -1
  52. package/dist/cjs-es5/models/persons-page-all-of.js +1 -1
  53. package/dist/cjs-es5/models/persons-page.js +1 -1
  54. package/dist/cjs-es5/models/process-param.js +1 -1
  55. package/dist/cjs-es5/models/quality-config.js +1 -1
  56. package/dist/cjs-es5/models/quality-detail.js +1 -1
  57. package/dist/cjs-es5/models/quality-details-groups.js +1 -1
  58. package/dist/cjs-es5/models/quality-request.js +1 -1
  59. package/dist/cjs-es5/models/recognize-image-all-of.js +1 -1
  60. package/dist/cjs-es5/models/recognize-image.js +1 -1
  61. package/dist/cjs-es5/models/search-person-all-of.js +1 -1
  62. package/dist/cjs-es5/models/search-person.js +1 -1
  63. package/dist/cjs-es5/models/search-request-all-of.js +1 -1
  64. package/dist/cjs-es5/models/search-request.js +1 -1
  65. package/dist/cjs-es5/models/search-result.js +1 -1
  66. package/dist/cjs-es5/models/update-group.js +1 -1
  67. package/dist/esm-es5/api/group-api.js +100 -51
  68. package/dist/esm-es5/api/matching-api.js +30 -16
  69. package/dist/esm-es5/api/person-api.js +142 -72
  70. package/dist/esm-es5/api/search-api.js +16 -9
  71. package/dist/esm-es5/api.js +1 -1
  72. package/dist/esm-es5/base.js +1 -1
  73. package/dist/esm-es5/common.js +1 -1
  74. package/dist/esm-es5/configuration.js +1 -1
  75. package/dist/esm-es5/ext/group-api.js +15 -15
  76. package/dist/esm-es5/ext/matching-api.js +5 -5
  77. package/dist/esm-es5/ext/person-api.js +21 -21
  78. package/dist/esm-es5/ext/search-api.js +3 -3
  79. package/dist/esm-es5/models/crop.js +1 -1
  80. package/dist/esm-es5/models/detect-request.js +1 -1
  81. package/dist/esm-es5/models/detect-response-all-of.js +1 -1
  82. package/dist/esm-es5/models/detect-response.js +1 -1
  83. package/dist/esm-es5/models/detect-result.js +1 -1
  84. package/dist/esm-es5/models/detection-face.js +1 -1
  85. package/dist/esm-es5/models/detection-quality.js +1 -1
  86. package/dist/esm-es5/models/detection.js +1 -1
  87. package/dist/esm-es5/models/face-image-quality-align-type.js +26 -0
  88. package/dist/esm-es5/models/face-image-quality-groups.js +1 -1
  89. package/dist/esm-es5/models/face-image-quality-status.js +24 -0
  90. package/dist/esm-es5/models/face-quality-config-name.js +3 -2
  91. package/dist/esm-es5/models/face-quality-scenarios.js +1 -1
  92. package/dist/esm-es5/models/face-sdkresult-code.js +1 -1
  93. package/dist/esm-es5/models/face-sdkresult.js +1 -1
  94. package/dist/esm-es5/models/group-all-of.js +1 -1
  95. package/dist/esm-es5/models/group-page-all-of.js +1 -1
  96. package/dist/esm-es5/models/group-page.js +1 -1
  97. package/dist/esm-es5/models/group-to-create.js +1 -1
  98. package/dist/esm-es5/models/group.js +1 -1
  99. package/dist/esm-es5/models/image-fields-image.js +1 -1
  100. package/dist/esm-es5/models/image-fields.js +1 -1
  101. package/dist/esm-es5/models/image-page-all-of.js +1 -1
  102. package/dist/esm-es5/models/image-page.js +1 -1
  103. package/dist/esm-es5/models/image-source.js +1 -1
  104. package/dist/esm-es5/models/image.js +1 -1
  105. package/dist/esm-es5/models/index.js +3 -3
  106. package/dist/esm-es5/models/match-image-detection.js +1 -1
  107. package/dist/esm-es5/models/match-image-result.js +1 -1
  108. package/dist/esm-es5/models/match-image.js +1 -1
  109. package/dist/esm-es5/models/match-request.js +1 -1
  110. package/dist/esm-es5/models/match-response-all-of.js +1 -1
  111. package/dist/esm-es5/models/match-response.js +1 -1
  112. package/dist/esm-es5/models/operation-log.js +1 -1
  113. package/dist/esm-es5/models/output-image-params.js +1 -1
  114. package/dist/esm-es5/models/page.js +1 -1
  115. package/dist/esm-es5/models/person-all-of.js +1 -1
  116. package/dist/esm-es5/models/person-fields.js +1 -1
  117. package/dist/esm-es5/models/person.js +1 -1
  118. package/dist/esm-es5/models/persons-page-all-of.js +1 -1
  119. package/dist/esm-es5/models/persons-page.js +1 -1
  120. package/dist/esm-es5/models/process-param.js +1 -1
  121. package/dist/esm-es5/models/quality-config.js +1 -1
  122. package/dist/esm-es5/models/quality-detail.js +1 -1
  123. package/dist/esm-es5/models/quality-details-groups.js +1 -1
  124. package/dist/esm-es5/models/quality-request.js +1 -1
  125. package/dist/esm-es5/models/recognize-image-all-of.js +1 -1
  126. package/dist/esm-es5/models/recognize-image.js +1 -1
  127. package/dist/esm-es5/models/search-person-all-of.js +1 -1
  128. package/dist/esm-es5/models/search-person.js +1 -1
  129. package/dist/esm-es5/models/search-request-all-of.js +1 -1
  130. package/dist/esm-es5/models/search-request.js +1 -1
  131. package/dist/esm-es5/models/search-result.js +1 -1
  132. package/dist/esm-es5/models/update-group.js +1 -1
  133. package/package.json +1 -1
  134. package/src/api/group-api.ts +106 -50
  135. package/src/api/matching-api.ts +31 -15
  136. package/src/api/person-api.ts +151 -71
  137. package/src/api/search-api.ts +16 -8
  138. package/src/api.ts +1 -1
  139. package/src/base.ts +1 -1
  140. package/src/common.ts +1 -1
  141. package/src/configuration.ts +1 -1
  142. package/src/ext/group-api.ts +14 -14
  143. package/src/ext/matching-api.ts +4 -4
  144. package/src/ext/person-api.ts +20 -20
  145. package/src/ext/search-api.ts +2 -2
  146. package/src/models/crop.ts +4 -4
  147. package/src/models/detect-request.ts +1 -1
  148. package/src/models/detect-response-all-of.ts +1 -1
  149. package/src/models/detect-response.ts +1 -1
  150. package/src/models/detect-result.ts +1 -1
  151. package/src/models/detection-face.ts +1 -1
  152. package/src/models/detection-quality.ts +1 -1
  153. package/src/models/detection.ts +1 -1
  154. package/src/models/face-image-quality-align-type.ts +34 -0
  155. package/src/models/face-image-quality-groups.ts +1 -1
  156. package/src/models/face-image-quality-status.ts +32 -0
  157. package/src/models/face-quality-config-name.ts +2 -1
  158. package/src/models/face-quality-scenarios.ts +1 -1
  159. package/src/models/face-sdkresult-code.ts +1 -1
  160. package/src/models/face-sdkresult.ts +1 -1
  161. package/src/models/group-all-of.ts +1 -1
  162. package/src/models/group-page-all-of.ts +1 -1
  163. package/src/models/group-page.ts +1 -1
  164. package/src/models/group-to-create.ts +1 -1
  165. package/src/models/group.ts +1 -1
  166. package/src/models/image-fields-image.ts +1 -1
  167. package/src/models/image-fields.ts +1 -1
  168. package/src/models/image-page-all-of.ts +1 -1
  169. package/src/models/image-page.ts +1 -1
  170. package/src/models/image-source.ts +1 -1
  171. package/src/models/image.ts +1 -1
  172. package/src/models/index.ts +2 -2
  173. package/src/models/match-image-detection.ts +1 -1
  174. package/src/models/match-image-result.ts +1 -1
  175. package/src/models/match-image.ts +1 -1
  176. package/src/models/match-request.ts +1 -1
  177. package/src/models/match-response-all-of.ts +1 -1
  178. package/src/models/match-response.ts +1 -1
  179. package/src/models/operation-log.ts +1 -1
  180. package/src/models/output-image-params.ts +1 -1
  181. package/src/models/page.ts +1 -1
  182. package/src/models/person-all-of.ts +1 -1
  183. package/src/models/person-fields.ts +1 -1
  184. package/src/models/person.ts +1 -1
  185. package/src/models/persons-page-all-of.ts +1 -1
  186. package/src/models/persons-page.ts +1 -1
  187. package/src/models/process-param.ts +1 -1
  188. package/src/models/quality-config.ts +1 -1
  189. package/src/models/quality-detail.ts +4 -4
  190. package/src/models/quality-details-groups.ts +1 -1
  191. package/src/models/quality-request.ts +1 -1
  192. package/src/models/recognize-image-all-of.ts +1 -1
  193. package/src/models/recognize-image.ts +1 -1
  194. package/src/models/search-person-all-of.ts +1 -1
  195. package/src/models/search-person.ts +1 -1
  196. package/src/models/search-request-all-of.ts +1 -1
  197. package/src/models/search-request.ts +1 -1
  198. package/src/models/search-result.ts +1 -1
  199. package/src/models/update-group.ts +1 -1
@@ -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.0
7
+ * The version of the OpenAPI document: 4.1.3
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -42,10 +42,11 @@ export const GroupApiAxiosParamCreator = function (configuration?: Configuration
42
42
  *
43
43
  * @summary Create group
44
44
  * @param {GroupToCreate} groupToCreate Request body for the group to create.
45
+ * @param {string} [xRequestID]
45
46
  * @param {*} [options] Override http request option.
46
47
  * @throws {RequiredError}
47
48
  */
48
- createGroup: async (groupToCreate: GroupToCreate, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
49
+ createGroup: async (groupToCreate: GroupToCreate, xRequestID?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
49
50
  // verify required parameter 'groupToCreate' is not null or undefined
50
51
  assertParamExists('createGroup', 'groupToCreate', groupToCreate)
51
52
  const localVarPath = `/api/groups`;
@@ -60,6 +61,10 @@ export const GroupApiAxiosParamCreator = function (configuration?: Configuration
60
61
  const localVarHeaderParameter = {} as any;
61
62
  const localVarQueryParameter = {} as any;
62
63
 
64
+ if (xRequestID !== undefined && xRequestID !== null) {
65
+ localVarHeaderParameter['X-RequestID'] = String(xRequestID);
66
+ }
67
+
63
68
 
64
69
 
65
70
  localVarHeaderParameter['Content-Type'] = 'application/json';
@@ -78,10 +83,11 @@ export const GroupApiAxiosParamCreator = function (configuration?: Configuration
78
83
  *
79
84
  * @summary Delete group
80
85
  * @param {number} groupId Group ID.
86
+ * @param {string} [xRequestID]
81
87
  * @param {*} [options] Override http request option.
82
88
  * @throws {RequiredError}
83
89
  */
84
- deleteGroup: async (groupId: number, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
90
+ deleteGroup: async (groupId: number, xRequestID?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
85
91
  // verify required parameter 'groupId' is not null or undefined
86
92
  assertParamExists('deleteGroup', 'groupId', groupId)
87
93
  const localVarPath = `/api/groups/{group_id}`
@@ -97,6 +103,10 @@ export const GroupApiAxiosParamCreator = function (configuration?: Configuration
97
103
  const localVarHeaderParameter = {} as any;
98
104
  const localVarQueryParameter = {} as any;
99
105
 
106
+ if (xRequestID !== undefined && xRequestID !== null) {
107
+ localVarHeaderParameter['X-RequestID'] = String(xRequestID);
108
+ }
109
+
100
110
 
101
111
 
102
112
  setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -113,10 +123,11 @@ export const GroupApiAxiosParamCreator = function (configuration?: Configuration
113
123
  * @summary Get groups
114
124
  * @param {number} page The page number to get a list of persons or groups.
115
125
  * @param {number} size The page size with a list of persons or groups, items.
126
+ * @param {string} [xRequestID]
116
127
  * @param {*} [options] Override http request option.
117
128
  * @throws {RequiredError}
118
129
  */
119
- getAllGroups: async (page: number, size: number, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
130
+ getAllGroups: async (page: number, size: number, xRequestID?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
120
131
  // verify required parameter 'page' is not null or undefined
121
132
  assertParamExists('getAllGroups', 'page', page)
122
133
  // verify required parameter 'size' is not null or undefined
@@ -141,6 +152,10 @@ export const GroupApiAxiosParamCreator = function (configuration?: Configuration
141
152
  localVarQueryParameter['size'] = size;
142
153
  }
143
154
 
155
+ if (xRequestID !== undefined && xRequestID !== null) {
156
+ localVarHeaderParameter['X-RequestID'] = String(xRequestID);
157
+ }
158
+
144
159
 
145
160
 
146
161
  setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -158,10 +173,11 @@ export const GroupApiAxiosParamCreator = function (configuration?: Configuration
158
173
  * @param {number} page The page number to get a list of persons or groups.
159
174
  * @param {number} size The page size with a list of persons or groups, items.
160
175
  * @param {number} groupId Group ID.
176
+ * @param {string} [xRequestID]
161
177
  * @param {*} [options] Override http request option.
162
178
  * @throws {RequiredError}
163
179
  */
164
- getAllPersonsByGroupId: async (page: number, size: number, groupId: number, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
180
+ getAllPersonsByGroupId: async (page: number, size: number, groupId: number, xRequestID?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
165
181
  // verify required parameter 'page' is not null or undefined
166
182
  assertParamExists('getAllPersonsByGroupId', 'page', page)
167
183
  // verify required parameter 'size' is not null or undefined
@@ -189,6 +205,10 @@ export const GroupApiAxiosParamCreator = function (configuration?: Configuration
189
205
  localVarQueryParameter['size'] = size;
190
206
  }
191
207
 
208
+ if (xRequestID !== undefined && xRequestID !== null) {
209
+ localVarHeaderParameter['X-RequestID'] = String(xRequestID);
210
+ }
211
+
192
212
 
193
213
 
194
214
  setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -204,10 +224,11 @@ export const GroupApiAxiosParamCreator = function (configuration?: Configuration
204
224
  *
205
225
  * @summary Get group
206
226
  * @param {number} groupId Group ID.
227
+ * @param {string} [xRequestID]
207
228
  * @param {*} [options] Override http request option.
208
229
  * @throws {RequiredError}
209
230
  */
210
- getGroup: async (groupId: number, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
231
+ getGroup: async (groupId: number, xRequestID?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
211
232
  // verify required parameter 'groupId' is not null or undefined
212
233
  assertParamExists('getGroup', 'groupId', groupId)
213
234
  const localVarPath = `/api/groups/{group_id}`
@@ -223,6 +244,10 @@ export const GroupApiAxiosParamCreator = function (configuration?: Configuration
223
244
  const localVarHeaderParameter = {} as any;
224
245
  const localVarQueryParameter = {} as any;
225
246
 
247
+ if (xRequestID !== undefined && xRequestID !== null) {
248
+ localVarHeaderParameter['X-RequestID'] = String(xRequestID);
249
+ }
250
+
226
251
 
227
252
 
228
253
  setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -239,10 +264,11 @@ export const GroupApiAxiosParamCreator = function (configuration?: Configuration
239
264
  * @summary Update group
240
265
  * @param {number} groupId Group ID.
241
266
  * @param {GroupToCreate} groupToCreate Request body for the group to update.
267
+ * @param {string} [xRequestID]
242
268
  * @param {*} [options] Override http request option.
243
269
  * @throws {RequiredError}
244
270
  */
245
- updateGroup: async (groupId: number, groupToCreate: GroupToCreate, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
271
+ updateGroup: async (groupId: number, groupToCreate: GroupToCreate, xRequestID?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
246
272
  // verify required parameter 'groupId' is not null or undefined
247
273
  assertParamExists('updateGroup', 'groupId', groupId)
248
274
  // verify required parameter 'groupToCreate' is not null or undefined
@@ -260,6 +286,10 @@ export const GroupApiAxiosParamCreator = function (configuration?: Configuration
260
286
  const localVarHeaderParameter = {} as any;
261
287
  const localVarQueryParameter = {} as any;
262
288
 
289
+ if (xRequestID !== undefined && xRequestID !== null) {
290
+ localVarHeaderParameter['X-RequestID'] = String(xRequestID);
291
+ }
292
+
263
293
 
264
294
 
265
295
  localVarHeaderParameter['Content-Type'] = 'application/json';
@@ -279,10 +309,11 @@ export const GroupApiAxiosParamCreator = function (configuration?: Configuration
279
309
  * @summary Add/remove persons to group
280
310
  * @param {number} groupId Group ID.
281
311
  * @param {UpdateGroup} updateGroup Request body for person IDs to add or remove.
312
+ * @param {string} [xRequestID]
282
313
  * @param {*} [options] Override http request option.
283
314
  * @throws {RequiredError}
284
315
  */
285
- updatePersonsInGroup: async (groupId: number, updateGroup: UpdateGroup, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
316
+ updatePersonsInGroup: async (groupId: number, updateGroup: UpdateGroup, xRequestID?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
286
317
  // verify required parameter 'groupId' is not null or undefined
287
318
  assertParamExists('updatePersonsInGroup', 'groupId', groupId)
288
319
  // verify required parameter 'updateGroup' is not null or undefined
@@ -300,6 +331,10 @@ export const GroupApiAxiosParamCreator = function (configuration?: Configuration
300
331
  const localVarHeaderParameter = {} as any;
301
332
  const localVarQueryParameter = {} as any;
302
333
 
334
+ if (xRequestID !== undefined && xRequestID !== null) {
335
+ localVarHeaderParameter['X-RequestID'] = String(xRequestID);
336
+ }
337
+
303
338
 
304
339
 
305
340
  localVarHeaderParameter['Content-Type'] = 'application/json';
@@ -328,22 +363,24 @@ export const GroupApiFp = function(configuration?: Configuration) {
328
363
  *
329
364
  * @summary Create group
330
365
  * @param {GroupToCreate} groupToCreate Request body for the group to create.
366
+ * @param {string} [xRequestID]
331
367
  * @param {*} [options] Override http request option.
332
368
  * @throws {RequiredError}
333
369
  */
334
- async createGroup(groupToCreate: GroupToCreate, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Group>> {
335
- const localVarAxiosArgs = await localVarAxiosParamCreator.createGroup(groupToCreate, options);
370
+ async createGroup(groupToCreate: GroupToCreate, xRequestID?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Group>> {
371
+ const localVarAxiosArgs = await localVarAxiosParamCreator.createGroup(groupToCreate, xRequestID, options);
336
372
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
337
373
  },
338
374
  /**
339
375
  *
340
376
  * @summary Delete group
341
377
  * @param {number} groupId Group ID.
378
+ * @param {string} [xRequestID]
342
379
  * @param {*} [options] Override http request option.
343
380
  * @throws {RequiredError}
344
381
  */
345
- async deleteGroup(groupId: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
346
- const localVarAxiosArgs = await localVarAxiosParamCreator.deleteGroup(groupId, options);
382
+ async deleteGroup(groupId: number, xRequestID?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
383
+ const localVarAxiosArgs = await localVarAxiosParamCreator.deleteGroup(groupId, xRequestID, options);
347
384
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
348
385
  },
349
386
  /**
@@ -351,11 +388,12 @@ export const GroupApiFp = function(configuration?: Configuration) {
351
388
  * @summary Get groups
352
389
  * @param {number} page The page number to get a list of persons or groups.
353
390
  * @param {number} size The page size with a list of persons or groups, items.
391
+ * @param {string} [xRequestID]
354
392
  * @param {*} [options] Override http request option.
355
393
  * @throws {RequiredError}
356
394
  */
357
- async getAllGroups(page: number, size: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GroupPage>> {
358
- const localVarAxiosArgs = await localVarAxiosParamCreator.getAllGroups(page, size, options);
395
+ async getAllGroups(page: number, size: number, xRequestID?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GroupPage>> {
396
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getAllGroups(page, size, xRequestID, options);
359
397
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
360
398
  },
361
399
  /**
@@ -364,22 +402,24 @@ export const GroupApiFp = function(configuration?: Configuration) {
364
402
  * @param {number} page The page number to get a list of persons or groups.
365
403
  * @param {number} size The page size with a list of persons or groups, items.
366
404
  * @param {number} groupId Group ID.
405
+ * @param {string} [xRequestID]
367
406
  * @param {*} [options] Override http request option.
368
407
  * @throws {RequiredError}
369
408
  */
370
- async getAllPersonsByGroupId(page: number, size: number, groupId: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PersonsPage>> {
371
- const localVarAxiosArgs = await localVarAxiosParamCreator.getAllPersonsByGroupId(page, size, groupId, options);
409
+ async getAllPersonsByGroupId(page: number, size: number, groupId: number, xRequestID?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PersonsPage>> {
410
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getAllPersonsByGroupId(page, size, groupId, xRequestID, options);
372
411
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
373
412
  },
374
413
  /**
375
414
  *
376
415
  * @summary Get group
377
416
  * @param {number} groupId Group ID.
417
+ * @param {string} [xRequestID]
378
418
  * @param {*} [options] Override http request option.
379
419
  * @throws {RequiredError}
380
420
  */
381
- async getGroup(groupId: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Group>> {
382
- const localVarAxiosArgs = await localVarAxiosParamCreator.getGroup(groupId, options);
421
+ async getGroup(groupId: number, xRequestID?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Group>> {
422
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getGroup(groupId, xRequestID, options);
383
423
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
384
424
  },
385
425
  /**
@@ -387,11 +427,12 @@ export const GroupApiFp = function(configuration?: Configuration) {
387
427
  * @summary Update group
388
428
  * @param {number} groupId Group ID.
389
429
  * @param {GroupToCreate} groupToCreate Request body for the group to update.
430
+ * @param {string} [xRequestID]
390
431
  * @param {*} [options] Override http request option.
391
432
  * @throws {RequiredError}
392
433
  */
393
- async updateGroup(groupId: number, groupToCreate: GroupToCreate, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
394
- const localVarAxiosArgs = await localVarAxiosParamCreator.updateGroup(groupId, groupToCreate, options);
434
+ async updateGroup(groupId: number, groupToCreate: GroupToCreate, xRequestID?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
435
+ const localVarAxiosArgs = await localVarAxiosParamCreator.updateGroup(groupId, groupToCreate, xRequestID, options);
395
436
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
396
437
  },
397
438
  /**
@@ -399,11 +440,12 @@ export const GroupApiFp = function(configuration?: Configuration) {
399
440
  * @summary Add/remove persons to group
400
441
  * @param {number} groupId Group ID.
401
442
  * @param {UpdateGroup} updateGroup Request body for person IDs to add or remove.
443
+ * @param {string} [xRequestID]
402
444
  * @param {*} [options] Override http request option.
403
445
  * @throws {RequiredError}
404
446
  */
405
- async updatePersonsInGroup(groupId: number, updateGroup: UpdateGroup, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
406
- const localVarAxiosArgs = await localVarAxiosParamCreator.updatePersonsInGroup(groupId, updateGroup, options);
447
+ async updatePersonsInGroup(groupId: number, updateGroup: UpdateGroup, xRequestID?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
448
+ const localVarAxiosArgs = await localVarAxiosParamCreator.updatePersonsInGroup(groupId, updateGroup, xRequestID, options);
407
449
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
408
450
  },
409
451
  }
@@ -420,32 +462,35 @@ export const GroupApiFactory = function (configuration?: Configuration, basePath
420
462
  *
421
463
  * @summary Create group
422
464
  * @param {GroupToCreate} groupToCreate Request body for the group to create.
465
+ * @param {string} [xRequestID]
423
466
  * @param {*} [options] Override http request option.
424
467
  * @throws {RequiredError}
425
468
  */
426
- createGroup(groupToCreate: GroupToCreate, options?: any): AxiosPromise<Group> {
427
- return localVarFp.createGroup(groupToCreate, options).then((request) => request(axios, basePath));
469
+ createGroup(groupToCreate: GroupToCreate, xRequestID?: string, options?: any): AxiosPromise<Group> {
470
+ return localVarFp.createGroup(groupToCreate, xRequestID, options).then((request) => request(axios, basePath));
428
471
  },
429
472
  /**
430
473
  *
431
474
  * @summary Delete group
432
475
  * @param {number} groupId Group ID.
476
+ * @param {string} [xRequestID]
433
477
  * @param {*} [options] Override http request option.
434
478
  * @throws {RequiredError}
435
479
  */
436
- deleteGroup(groupId: number, options?: any): AxiosPromise<void> {
437
- return localVarFp.deleteGroup(groupId, options).then((request) => request(axios, basePath));
480
+ deleteGroup(groupId: number, xRequestID?: string, options?: any): AxiosPromise<void> {
481
+ return localVarFp.deleteGroup(groupId, xRequestID, options).then((request) => request(axios, basePath));
438
482
  },
439
483
  /**
440
484
  *
441
485
  * @summary Get groups
442
486
  * @param {number} page The page number to get a list of persons or groups.
443
487
  * @param {number} size The page size with a list of persons or groups, items.
488
+ * @param {string} [xRequestID]
444
489
  * @param {*} [options] Override http request option.
445
490
  * @throws {RequiredError}
446
491
  */
447
- getAllGroups(page: number, size: number, options?: any): AxiosPromise<GroupPage> {
448
- return localVarFp.getAllGroups(page, size, options).then((request) => request(axios, basePath));
492
+ getAllGroups(page: number, size: number, xRequestID?: string, options?: any): AxiosPromise<GroupPage> {
493
+ return localVarFp.getAllGroups(page, size, xRequestID, options).then((request) => request(axios, basePath));
449
494
  },
450
495
  /**
451
496
  *
@@ -453,43 +498,47 @@ export const GroupApiFactory = function (configuration?: Configuration, basePath
453
498
  * @param {number} page The page number to get a list of persons or groups.
454
499
  * @param {number} size The page size with a list of persons or groups, items.
455
500
  * @param {number} groupId Group ID.
501
+ * @param {string} [xRequestID]
456
502
  * @param {*} [options] Override http request option.
457
503
  * @throws {RequiredError}
458
504
  */
459
- getAllPersonsByGroupId(page: number, size: number, groupId: number, options?: any): AxiosPromise<PersonsPage> {
460
- return localVarFp.getAllPersonsByGroupId(page, size, groupId, options).then((request) => request(axios, basePath));
505
+ getAllPersonsByGroupId(page: number, size: number, groupId: number, xRequestID?: string, options?: any): AxiosPromise<PersonsPage> {
506
+ return localVarFp.getAllPersonsByGroupId(page, size, groupId, xRequestID, options).then((request) => request(axios, basePath));
461
507
  },
462
508
  /**
463
509
  *
464
510
  * @summary Get group
465
511
  * @param {number} groupId Group ID.
512
+ * @param {string} [xRequestID]
466
513
  * @param {*} [options] Override http request option.
467
514
  * @throws {RequiredError}
468
515
  */
469
- getGroup(groupId: number, options?: any): AxiosPromise<Group> {
470
- return localVarFp.getGroup(groupId, options).then((request) => request(axios, basePath));
516
+ getGroup(groupId: number, xRequestID?: string, options?: any): AxiosPromise<Group> {
517
+ return localVarFp.getGroup(groupId, xRequestID, options).then((request) => request(axios, basePath));
471
518
  },
472
519
  /**
473
520
  *
474
521
  * @summary Update group
475
522
  * @param {number} groupId Group ID.
476
523
  * @param {GroupToCreate} groupToCreate Request body for the group to update.
524
+ * @param {string} [xRequestID]
477
525
  * @param {*} [options] Override http request option.
478
526
  * @throws {RequiredError}
479
527
  */
480
- updateGroup(groupId: number, groupToCreate: GroupToCreate, options?: any): AxiosPromise<void> {
481
- return localVarFp.updateGroup(groupId, groupToCreate, options).then((request) => request(axios, basePath));
528
+ updateGroup(groupId: number, groupToCreate: GroupToCreate, xRequestID?: string, options?: any): AxiosPromise<void> {
529
+ return localVarFp.updateGroup(groupId, groupToCreate, xRequestID, options).then((request) => request(axios, basePath));
482
530
  },
483
531
  /**
484
532
  *
485
533
  * @summary Add/remove persons to group
486
534
  * @param {number} groupId Group ID.
487
535
  * @param {UpdateGroup} updateGroup Request body for person IDs to add or remove.
536
+ * @param {string} [xRequestID]
488
537
  * @param {*} [options] Override http request option.
489
538
  * @throws {RequiredError}
490
539
  */
491
- updatePersonsInGroup(groupId: number, updateGroup: UpdateGroup, options?: any): AxiosPromise<void> {
492
- return localVarFp.updatePersonsInGroup(groupId, updateGroup, options).then((request) => request(axios, basePath));
540
+ updatePersonsInGroup(groupId: number, updateGroup: UpdateGroup, xRequestID?: string, options?: any): AxiosPromise<void> {
541
+ return localVarFp.updatePersonsInGroup(groupId, updateGroup, xRequestID, options).then((request) => request(axios, basePath));
493
542
  },
494
543
  };
495
544
  };
@@ -505,24 +554,26 @@ export class GroupApi extends BaseAPI {
505
554
  *
506
555
  * @summary Create group
507
556
  * @param {GroupToCreate} groupToCreate Request body for the group to create.
557
+ * @param {string} [xRequestID]
508
558
  * @param {*} [options] Override http request option.
509
559
  * @throws {RequiredError}
510
560
  * @memberof GroupApi
511
561
  */
512
- public createGroup(groupToCreate: GroupToCreate, options?: AxiosRequestConfig) {
513
- return GroupApiFp(this.configuration).createGroup(groupToCreate, options).then((request) => request(this.axios, this.basePath));
562
+ public createGroup(groupToCreate: GroupToCreate, xRequestID?: string, options?: AxiosRequestConfig) {
563
+ return GroupApiFp(this.configuration).createGroup(groupToCreate, xRequestID, options).then((request) => request(this.axios, this.basePath));
514
564
  }
515
565
 
516
566
  /**
517
567
  *
518
568
  * @summary Delete group
519
569
  * @param {number} groupId Group ID.
570
+ * @param {string} [xRequestID]
520
571
  * @param {*} [options] Override http request option.
521
572
  * @throws {RequiredError}
522
573
  * @memberof GroupApi
523
574
  */
524
- public deleteGroup(groupId: number, options?: AxiosRequestConfig) {
525
- return GroupApiFp(this.configuration).deleteGroup(groupId, options).then((request) => request(this.axios, this.basePath));
575
+ public deleteGroup(groupId: number, xRequestID?: string, options?: AxiosRequestConfig) {
576
+ return GroupApiFp(this.configuration).deleteGroup(groupId, xRequestID, options).then((request) => request(this.axios, this.basePath));
526
577
  }
527
578
 
528
579
  /**
@@ -530,12 +581,13 @@ export class GroupApi extends BaseAPI {
530
581
  * @summary Get groups
531
582
  * @param {number} page The page number to get a list of persons or groups.
532
583
  * @param {number} size The page size with a list of persons or groups, items.
584
+ * @param {string} [xRequestID]
533
585
  * @param {*} [options] Override http request option.
534
586
  * @throws {RequiredError}
535
587
  * @memberof GroupApi
536
588
  */
537
- public getAllGroups(page: number, size: number, options?: AxiosRequestConfig) {
538
- return GroupApiFp(this.configuration).getAllGroups(page, size, options).then((request) => request(this.axios, this.basePath));
589
+ public getAllGroups(page: number, size: number, xRequestID?: string, options?: AxiosRequestConfig) {
590
+ return GroupApiFp(this.configuration).getAllGroups(page, size, xRequestID, options).then((request) => request(this.axios, this.basePath));
539
591
  }
540
592
 
541
593
  /**
@@ -544,24 +596,26 @@ export class GroupApi extends BaseAPI {
544
596
  * @param {number} page The page number to get a list of persons or groups.
545
597
  * @param {number} size The page size with a list of persons or groups, items.
546
598
  * @param {number} groupId Group ID.
599
+ * @param {string} [xRequestID]
547
600
  * @param {*} [options] Override http request option.
548
601
  * @throws {RequiredError}
549
602
  * @memberof GroupApi
550
603
  */
551
- public getAllPersonsByGroupId(page: number, size: number, groupId: number, options?: AxiosRequestConfig) {
552
- return GroupApiFp(this.configuration).getAllPersonsByGroupId(page, size, groupId, options).then((request) => request(this.axios, this.basePath));
604
+ public getAllPersonsByGroupId(page: number, size: number, groupId: number, xRequestID?: string, options?: AxiosRequestConfig) {
605
+ return GroupApiFp(this.configuration).getAllPersonsByGroupId(page, size, groupId, xRequestID, options).then((request) => request(this.axios, this.basePath));
553
606
  }
554
607
 
555
608
  /**
556
609
  *
557
610
  * @summary Get group
558
611
  * @param {number} groupId Group ID.
612
+ * @param {string} [xRequestID]
559
613
  * @param {*} [options] Override http request option.
560
614
  * @throws {RequiredError}
561
615
  * @memberof GroupApi
562
616
  */
563
- public getGroup(groupId: number, options?: AxiosRequestConfig) {
564
- return GroupApiFp(this.configuration).getGroup(groupId, options).then((request) => request(this.axios, this.basePath));
617
+ public getGroup(groupId: number, xRequestID?: string, options?: AxiosRequestConfig) {
618
+ return GroupApiFp(this.configuration).getGroup(groupId, xRequestID, options).then((request) => request(this.axios, this.basePath));
565
619
  }
566
620
 
567
621
  /**
@@ -569,12 +623,13 @@ export class GroupApi extends BaseAPI {
569
623
  * @summary Update group
570
624
  * @param {number} groupId Group ID.
571
625
  * @param {GroupToCreate} groupToCreate Request body for the group to update.
626
+ * @param {string} [xRequestID]
572
627
  * @param {*} [options] Override http request option.
573
628
  * @throws {RequiredError}
574
629
  * @memberof GroupApi
575
630
  */
576
- public updateGroup(groupId: number, groupToCreate: GroupToCreate, options?: AxiosRequestConfig) {
577
- return GroupApiFp(this.configuration).updateGroup(groupId, groupToCreate, options).then((request) => request(this.axios, this.basePath));
631
+ public updateGroup(groupId: number, groupToCreate: GroupToCreate, xRequestID?: string, options?: AxiosRequestConfig) {
632
+ return GroupApiFp(this.configuration).updateGroup(groupId, groupToCreate, xRequestID, options).then((request) => request(this.axios, this.basePath));
578
633
  }
579
634
 
580
635
  /**
@@ -582,11 +637,12 @@ export class GroupApi extends BaseAPI {
582
637
  * @summary Add/remove persons to group
583
638
  * @param {number} groupId Group ID.
584
639
  * @param {UpdateGroup} updateGroup Request body for person IDs to add or remove.
640
+ * @param {string} [xRequestID]
585
641
  * @param {*} [options] Override http request option.
586
642
  * @throws {RequiredError}
587
643
  * @memberof GroupApi
588
644
  */
589
- public updatePersonsInGroup(groupId: number, updateGroup: UpdateGroup, options?: AxiosRequestConfig) {
590
- return GroupApiFp(this.configuration).updatePersonsInGroup(groupId, updateGroup, options).then((request) => request(this.axios, this.basePath));
645
+ public updatePersonsInGroup(groupId: number, updateGroup: UpdateGroup, xRequestID?: string, options?: AxiosRequestConfig) {
646
+ return GroupApiFp(this.configuration).updatePersonsInGroup(groupId, updateGroup, xRequestID, options).then((request) => request(this.axios, this.basePath));
591
647
  }
592
648
  }
@@ -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.0
7
+ * The version of the OpenAPI document: 4.1.3
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -38,10 +38,11 @@ export const MatchingApiAxiosParamCreator = function (configuration?: Configurat
38
38
  *
39
39
  * @summary Detect facial coordinates
40
40
  * @param {DetectRequest} detectRequest
41
+ * @param {string} [xRequestID]
41
42
  * @param {*} [options] Override http request option.
42
43
  * @throws {RequiredError}
43
44
  */
44
- detect: async (detectRequest: DetectRequest, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
45
+ detect: async (detectRequest: DetectRequest, xRequestID?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
45
46
  // verify required parameter 'detectRequest' is not null or undefined
46
47
  assertParamExists('detect', 'detectRequest', detectRequest)
47
48
  const localVarPath = `/api/detect`;
@@ -56,6 +57,10 @@ export const MatchingApiAxiosParamCreator = function (configuration?: Configurat
56
57
  const localVarHeaderParameter = {} as any;
57
58
  const localVarQueryParameter = {} as any;
58
59
 
60
+ if (xRequestID !== undefined && xRequestID !== null) {
61
+ localVarHeaderParameter['X-RequestID'] = String(xRequestID);
62
+ }
63
+
59
64
 
60
65
 
61
66
  localVarHeaderParameter['Content-Type'] = 'application/json';
@@ -74,10 +79,11 @@ export const MatchingApiAxiosParamCreator = function (configuration?: Configurat
74
79
  *
75
80
  * @summary Compare provided face images in all combinations and return similarity score for each pair.
76
81
  * @param {MatchRequest} matchRequest
82
+ * @param {string} [xRequestID]
77
83
  * @param {*} [options] Override http request option.
78
84
  * @throws {RequiredError}
79
85
  */
80
- match: async (matchRequest: MatchRequest, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
86
+ match: async (matchRequest: MatchRequest, xRequestID?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
81
87
  // verify required parameter 'matchRequest' is not null or undefined
82
88
  assertParamExists('match', 'matchRequest', matchRequest)
83
89
  const localVarPath = `/api/match`;
@@ -92,6 +98,10 @@ export const MatchingApiAxiosParamCreator = function (configuration?: Configurat
92
98
  const localVarHeaderParameter = {} as any;
93
99
  const localVarQueryParameter = {} as any;
94
100
 
101
+ if (xRequestID !== undefined && xRequestID !== null) {
102
+ localVarHeaderParameter['X-RequestID'] = String(xRequestID);
103
+ }
104
+
95
105
 
96
106
 
97
107
  localVarHeaderParameter['Content-Type'] = 'application/json';
@@ -120,22 +130,24 @@ export const MatchingApiFp = function(configuration?: Configuration) {
120
130
  *
121
131
  * @summary Detect facial coordinates
122
132
  * @param {DetectRequest} detectRequest
133
+ * @param {string} [xRequestID]
123
134
  * @param {*} [options] Override http request option.
124
135
  * @throws {RequiredError}
125
136
  */
126
- async detect(detectRequest: DetectRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DetectResponse>> {
127
- const localVarAxiosArgs = await localVarAxiosParamCreator.detect(detectRequest, options);
137
+ async detect(detectRequest: DetectRequest, xRequestID?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DetectResponse>> {
138
+ const localVarAxiosArgs = await localVarAxiosParamCreator.detect(detectRequest, xRequestID, options);
128
139
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
129
140
  },
130
141
  /**
131
142
  *
132
143
  * @summary Compare provided face images in all combinations and return similarity score for each pair.
133
144
  * @param {MatchRequest} matchRequest
145
+ * @param {string} [xRequestID]
134
146
  * @param {*} [options] Override http request option.
135
147
  * @throws {RequiredError}
136
148
  */
137
- async match(matchRequest: MatchRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<MatchResponse>> {
138
- const localVarAxiosArgs = await localVarAxiosParamCreator.match(matchRequest, options);
149
+ async match(matchRequest: MatchRequest, xRequestID?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<MatchResponse>> {
150
+ const localVarAxiosArgs = await localVarAxiosParamCreator.match(matchRequest, xRequestID, options);
139
151
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
140
152
  },
141
153
  }
@@ -152,21 +164,23 @@ export const MatchingApiFactory = function (configuration?: Configuration, baseP
152
164
  *
153
165
  * @summary Detect facial coordinates
154
166
  * @param {DetectRequest} detectRequest
167
+ * @param {string} [xRequestID]
155
168
  * @param {*} [options] Override http request option.
156
169
  * @throws {RequiredError}
157
170
  */
158
- detect(detectRequest: DetectRequest, options?: any): AxiosPromise<DetectResponse> {
159
- return localVarFp.detect(detectRequest, options).then((request) => request(axios, basePath));
171
+ detect(detectRequest: DetectRequest, xRequestID?: string, options?: any): AxiosPromise<DetectResponse> {
172
+ return localVarFp.detect(detectRequest, xRequestID, options).then((request) => request(axios, basePath));
160
173
  },
161
174
  /**
162
175
  *
163
176
  * @summary Compare provided face images in all combinations and return similarity score for each pair.
164
177
  * @param {MatchRequest} matchRequest
178
+ * @param {string} [xRequestID]
165
179
  * @param {*} [options] Override http request option.
166
180
  * @throws {RequiredError}
167
181
  */
168
- match(matchRequest: MatchRequest, options?: any): AxiosPromise<MatchResponse> {
169
- return localVarFp.match(matchRequest, options).then((request) => request(axios, basePath));
182
+ match(matchRequest: MatchRequest, xRequestID?: string, options?: any): AxiosPromise<MatchResponse> {
183
+ return localVarFp.match(matchRequest, xRequestID, options).then((request) => request(axios, basePath));
170
184
  },
171
185
  };
172
186
  };
@@ -182,23 +196,25 @@ export class MatchingApi extends BaseAPI {
182
196
  *
183
197
  * @summary Detect facial coordinates
184
198
  * @param {DetectRequest} detectRequest
199
+ * @param {string} [xRequestID]
185
200
  * @param {*} [options] Override http request option.
186
201
  * @throws {RequiredError}
187
202
  * @memberof MatchingApi
188
203
  */
189
- public detect(detectRequest: DetectRequest, options?: AxiosRequestConfig) {
190
- return MatchingApiFp(this.configuration).detect(detectRequest, options).then((request) => request(this.axios, this.basePath));
204
+ public detect(detectRequest: DetectRequest, xRequestID?: string, options?: AxiosRequestConfig) {
205
+ return MatchingApiFp(this.configuration).detect(detectRequest, xRequestID, options).then((request) => request(this.axios, this.basePath));
191
206
  }
192
207
 
193
208
  /**
194
209
  *
195
210
  * @summary Compare provided face images in all combinations and return similarity score for each pair.
196
211
  * @param {MatchRequest} matchRequest
212
+ * @param {string} [xRequestID]
197
213
  * @param {*} [options] Override http request option.
198
214
  * @throws {RequiredError}
199
215
  * @memberof MatchingApi
200
216
  */
201
- public match(matchRequest: MatchRequest, options?: AxiosRequestConfig) {
202
- return MatchingApiFp(this.configuration).match(matchRequest, options).then((request) => request(this.axios, this.basePath));
217
+ public match(matchRequest: MatchRequest, xRequestID?: string, options?: AxiosRequestConfig) {
218
+ return MatchingApiFp(this.configuration).match(matchRequest, xRequestID, options).then((request) => request(this.axios, this.basePath));
203
219
  }
204
220
  }