@azure-rest/ai-vision-face 1.0.0-alpha.20240527.2

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 (168) hide show
  1. package/README.md +464 -0
  2. package/dist/browser/clientDefinitions.d.ts +962 -0
  3. package/dist/browser/clientDefinitions.d.ts.map +1 -0
  4. package/dist/browser/clientDefinitions.js +4 -0
  5. package/dist/browser/clientDefinitions.js.map +1 -0
  6. package/dist/browser/faceClient.d.ts +16 -0
  7. package/dist/browser/faceClient.d.ts.map +1 -0
  8. package/dist/browser/faceClient.js +47 -0
  9. package/dist/browser/faceClient.js.map +1 -0
  10. package/dist/browser/index.d.ts +11 -0
  11. package/dist/browser/index.d.ts.map +1 -0
  12. package/dist/browser/index.js +13 -0
  13. package/dist/browser/index.js.map +1 -0
  14. package/dist/browser/isUnexpected.d.ts +103 -0
  15. package/dist/browser/isUnexpected.d.ts.map +1 -0
  16. package/dist/browser/isUnexpected.js +162 -0
  17. package/dist/browser/isUnexpected.js.map +1 -0
  18. package/dist/browser/logger.d.ts +2 -0
  19. package/dist/browser/logger.d.ts.map +1 -0
  20. package/dist/browser/logger.js +5 -0
  21. package/dist/browser/logger.js.map +1 -0
  22. package/dist/browser/models.d.ts +39 -0
  23. package/dist/browser/models.d.ts.map +1 -0
  24. package/dist/browser/models.js +4 -0
  25. package/dist/browser/models.js.map +1 -0
  26. package/dist/browser/outputModels.d.ts +608 -0
  27. package/dist/browser/outputModels.d.ts.map +1 -0
  28. package/dist/browser/outputModels.js +4 -0
  29. package/dist/browser/outputModels.js.map +1 -0
  30. package/dist/browser/package.json +3 -0
  31. package/dist/browser/parameters.d.ts +761 -0
  32. package/dist/browser/parameters.d.ts.map +1 -0
  33. package/dist/browser/parameters.js +4 -0
  34. package/dist/browser/parameters.js.map +1 -0
  35. package/dist/browser/pollingHelper.d.ts +85 -0
  36. package/dist/browser/pollingHelper.d.ts.map +1 -0
  37. package/dist/browser/pollingHelper.js +97 -0
  38. package/dist/browser/pollingHelper.js.map +1 -0
  39. package/dist/browser/responses.d.ts +1475 -0
  40. package/dist/browser/responses.d.ts.map +1 -0
  41. package/dist/browser/responses.js +4 -0
  42. package/dist/browser/responses.js.map +1 -0
  43. package/dist/commonjs/clientDefinitions.d.ts +962 -0
  44. package/dist/commonjs/clientDefinitions.d.ts.map +1 -0
  45. package/dist/commonjs/clientDefinitions.js +5 -0
  46. package/dist/commonjs/clientDefinitions.js.map +1 -0
  47. package/dist/commonjs/faceClient.d.ts +16 -0
  48. package/dist/commonjs/faceClient.d.ts.map +1 -0
  49. package/dist/commonjs/faceClient.js +50 -0
  50. package/dist/commonjs/faceClient.js.map +1 -0
  51. package/dist/commonjs/index.d.ts +11 -0
  52. package/dist/commonjs/index.d.ts.map +1 -0
  53. package/dist/commonjs/index.js +16 -0
  54. package/dist/commonjs/index.js.map +1 -0
  55. package/dist/commonjs/isUnexpected.d.ts +103 -0
  56. package/dist/commonjs/isUnexpected.d.ts.map +1 -0
  57. package/dist/commonjs/isUnexpected.js +166 -0
  58. package/dist/commonjs/isUnexpected.js.map +1 -0
  59. package/dist/commonjs/logger.d.ts +2 -0
  60. package/dist/commonjs/logger.d.ts.map +1 -0
  61. package/dist/commonjs/logger.js +8 -0
  62. package/dist/commonjs/logger.js.map +1 -0
  63. package/dist/commonjs/models.d.ts +39 -0
  64. package/dist/commonjs/models.d.ts.map +1 -0
  65. package/dist/commonjs/models.js +5 -0
  66. package/dist/commonjs/models.js.map +1 -0
  67. package/dist/commonjs/outputModels.d.ts +608 -0
  68. package/dist/commonjs/outputModels.d.ts.map +1 -0
  69. package/dist/commonjs/outputModels.js +5 -0
  70. package/dist/commonjs/outputModels.js.map +1 -0
  71. package/dist/commonjs/package.json +3 -0
  72. package/dist/commonjs/parameters.d.ts +761 -0
  73. package/dist/commonjs/parameters.d.ts.map +1 -0
  74. package/dist/commonjs/parameters.js +5 -0
  75. package/dist/commonjs/parameters.js.map +1 -0
  76. package/dist/commonjs/pollingHelper.d.ts +85 -0
  77. package/dist/commonjs/pollingHelper.d.ts.map +1 -0
  78. package/dist/commonjs/pollingHelper.js +101 -0
  79. package/dist/commonjs/pollingHelper.js.map +1 -0
  80. package/dist/commonjs/responses.d.ts +1475 -0
  81. package/dist/commonjs/responses.d.ts.map +1 -0
  82. package/dist/commonjs/responses.js +5 -0
  83. package/dist/commonjs/responses.js.map +1 -0
  84. package/dist/commonjs/tsdoc-metadata.json +11 -0
  85. package/dist/esm/clientDefinitions.d.ts +962 -0
  86. package/dist/esm/clientDefinitions.d.ts.map +1 -0
  87. package/dist/esm/clientDefinitions.js +4 -0
  88. package/dist/esm/clientDefinitions.js.map +1 -0
  89. package/dist/esm/faceClient.d.ts +16 -0
  90. package/dist/esm/faceClient.d.ts.map +1 -0
  91. package/dist/esm/faceClient.js +47 -0
  92. package/dist/esm/faceClient.js.map +1 -0
  93. package/dist/esm/index.d.ts +11 -0
  94. package/dist/esm/index.d.ts.map +1 -0
  95. package/dist/esm/index.js +13 -0
  96. package/dist/esm/index.js.map +1 -0
  97. package/dist/esm/isUnexpected.d.ts +103 -0
  98. package/dist/esm/isUnexpected.d.ts.map +1 -0
  99. package/dist/esm/isUnexpected.js +162 -0
  100. package/dist/esm/isUnexpected.js.map +1 -0
  101. package/dist/esm/logger.d.ts +2 -0
  102. package/dist/esm/logger.d.ts.map +1 -0
  103. package/dist/esm/logger.js +5 -0
  104. package/dist/esm/logger.js.map +1 -0
  105. package/dist/esm/models.d.ts +39 -0
  106. package/dist/esm/models.d.ts.map +1 -0
  107. package/dist/esm/models.js +4 -0
  108. package/dist/esm/models.js.map +1 -0
  109. package/dist/esm/outputModels.d.ts +608 -0
  110. package/dist/esm/outputModels.d.ts.map +1 -0
  111. package/dist/esm/outputModels.js +4 -0
  112. package/dist/esm/outputModels.js.map +1 -0
  113. package/dist/esm/package.json +3 -0
  114. package/dist/esm/parameters.d.ts +761 -0
  115. package/dist/esm/parameters.d.ts.map +1 -0
  116. package/dist/esm/parameters.js +4 -0
  117. package/dist/esm/parameters.js.map +1 -0
  118. package/dist/esm/pollingHelper.d.ts +85 -0
  119. package/dist/esm/pollingHelper.d.ts.map +1 -0
  120. package/dist/esm/pollingHelper.js +97 -0
  121. package/dist/esm/pollingHelper.js.map +1 -0
  122. package/dist/esm/responses.d.ts +1475 -0
  123. package/dist/esm/responses.d.ts.map +1 -0
  124. package/dist/esm/responses.js +4 -0
  125. package/dist/esm/responses.js.map +1 -0
  126. package/dist/react-native/clientDefinitions.d.ts +962 -0
  127. package/dist/react-native/clientDefinitions.d.ts.map +1 -0
  128. package/dist/react-native/clientDefinitions.js +4 -0
  129. package/dist/react-native/clientDefinitions.js.map +1 -0
  130. package/dist/react-native/faceClient.d.ts +16 -0
  131. package/dist/react-native/faceClient.d.ts.map +1 -0
  132. package/dist/react-native/faceClient.js +47 -0
  133. package/dist/react-native/faceClient.js.map +1 -0
  134. package/dist/react-native/index.d.ts +11 -0
  135. package/dist/react-native/index.d.ts.map +1 -0
  136. package/dist/react-native/index.js +13 -0
  137. package/dist/react-native/index.js.map +1 -0
  138. package/dist/react-native/isUnexpected.d.ts +103 -0
  139. package/dist/react-native/isUnexpected.d.ts.map +1 -0
  140. package/dist/react-native/isUnexpected.js +162 -0
  141. package/dist/react-native/isUnexpected.js.map +1 -0
  142. package/dist/react-native/logger.d.ts +2 -0
  143. package/dist/react-native/logger.d.ts.map +1 -0
  144. package/dist/react-native/logger.js +5 -0
  145. package/dist/react-native/logger.js.map +1 -0
  146. package/dist/react-native/models.d.ts +39 -0
  147. package/dist/react-native/models.d.ts.map +1 -0
  148. package/dist/react-native/models.js +4 -0
  149. package/dist/react-native/models.js.map +1 -0
  150. package/dist/react-native/outputModels.d.ts +608 -0
  151. package/dist/react-native/outputModels.d.ts.map +1 -0
  152. package/dist/react-native/outputModels.js +4 -0
  153. package/dist/react-native/outputModels.js.map +1 -0
  154. package/dist/react-native/package.json +3 -0
  155. package/dist/react-native/parameters.d.ts +761 -0
  156. package/dist/react-native/parameters.d.ts.map +1 -0
  157. package/dist/react-native/parameters.js +4 -0
  158. package/dist/react-native/parameters.js.map +1 -0
  159. package/dist/react-native/pollingHelper.d.ts +85 -0
  160. package/dist/react-native/pollingHelper.d.ts.map +1 -0
  161. package/dist/react-native/pollingHelper.js +97 -0
  162. package/dist/react-native/pollingHelper.js.map +1 -0
  163. package/dist/react-native/responses.d.ts +1475 -0
  164. package/dist/react-native/responses.d.ts.map +1 -0
  165. package/dist/react-native/responses.js +4 -0
  166. package/dist/react-native/responses.js.map +1 -0
  167. package/package.json +157 -0
  168. package/review/ai-vision-face.api.md +4815 -0
@@ -0,0 +1,1475 @@
1
+ import { RawHttpHeaders } from "@azure/core-rest-pipeline";
2
+ import { HttpResponse } from "@azure-rest/core-client";
3
+ import { OperationResultOutput, FaceErrorResponseOutput, FaceDetectionResultOutput, FindSimilarResultOutput, IdentificationResultOutput, VerificationResultOutput, GroupingResultOutput, CreateLivenessSessionResultOutput, LivenessSessionOutput, LivenessSessionItemOutput, LivenessSessionAuditEntryOutput, CreateLivenessWithVerifySessionResultOutput, LivenessWithVerifySessionOutput, FaceListOutput, FaceListItemOutput, AddFaceResultOutput, LargeFaceListOutput, TrainingResultOutput, LargeFaceListFaceOutput, CreatePersonResultOutput, PersonDirectoryPersonOutput, ListGroupReferenceResultOutput, PersonDirectoryFaceOutput, ListFaceResultOutput, DynamicPersonGroupOutput, ListPersonResultOutput, PersonGroupOutput, PersonGroupPersonOutput, PersonGroupPersonFaceOutput, LargePersonGroupOutput, LargePersonGroupPersonOutput, LargePersonGroupPersonFaceOutput } from "./outputModels.js";
4
+ /** A successful call returns the long running operation status. */
5
+ export interface GetOperationResult200Response extends HttpResponse {
6
+ status: "200";
7
+ body: OperationResultOutput;
8
+ }
9
+ export interface GetOperationResultDefaultHeaders {
10
+ /** String error code indicating what went wrong. */
11
+ "x-ms-error-code"?: string;
12
+ }
13
+ export interface GetOperationResultDefaultResponse extends HttpResponse {
14
+ status: string;
15
+ body: FaceErrorResponseOutput;
16
+ headers: RawHttpHeaders & GetOperationResultDefaultHeaders;
17
+ }
18
+ /** A successful call returns an array of face entries ranked by face rectangle size in descending order. An empty response indicates no faces detected. */
19
+ export interface DetectFromUrl200Response extends HttpResponse {
20
+ status: "200";
21
+ body: Array<FaceDetectionResultOutput>;
22
+ }
23
+ export interface DetectFromUrlDefaultHeaders {
24
+ /** String error code indicating what went wrong. */
25
+ "x-ms-error-code"?: string;
26
+ }
27
+ export interface DetectFromUrlDefaultResponse extends HttpResponse {
28
+ status: string;
29
+ body: FaceErrorResponseOutput;
30
+ headers: RawHttpHeaders & DetectFromUrlDefaultHeaders;
31
+ }
32
+ /** A successful call returns an array of face entries ranked by face rectangle size in descending order. An empty response indicates no faces detected. */
33
+ export interface Detect200Response extends HttpResponse {
34
+ status: "200";
35
+ body: Array<FaceDetectionResultOutput>;
36
+ }
37
+ export interface DetectDefaultHeaders {
38
+ /** String error code indicating what went wrong. */
39
+ "x-ms-error-code"?: string;
40
+ }
41
+ export interface DetectDefaultResponse extends HttpResponse {
42
+ status: string;
43
+ body: FaceErrorResponseOutput;
44
+ headers: RawHttpHeaders & DetectDefaultHeaders;
45
+ }
46
+ /** A successful call returns an array of the most similar faces represented in faceId if the input parameter is faceIds or persistedFaceId if the input parameter is faceListId or largeFaceListId. */
47
+ export interface FindSimilar200Response extends HttpResponse {
48
+ status: "200";
49
+ body: Array<FindSimilarResultOutput>;
50
+ }
51
+ export interface FindSimilarDefaultHeaders {
52
+ /** String error code indicating what went wrong. */
53
+ "x-ms-error-code"?: string;
54
+ }
55
+ export interface FindSimilarDefaultResponse extends HttpResponse {
56
+ status: string;
57
+ body: FaceErrorResponseOutput;
58
+ headers: RawHttpHeaders & FindSimilarDefaultHeaders;
59
+ }
60
+ /** A successful call returns an array of the most similar faces represented in faceId if the input parameter is faceIds or persistedFaceId if the input parameter is faceListId or largeFaceListId. */
61
+ export interface FindSimilarFromFaceList200Response extends HttpResponse {
62
+ status: "200";
63
+ body: Array<FindSimilarResultOutput>;
64
+ }
65
+ export interface FindSimilarFromFaceListDefaultHeaders {
66
+ /** String error code indicating what went wrong. */
67
+ "x-ms-error-code"?: string;
68
+ }
69
+ export interface FindSimilarFromFaceListDefaultResponse extends HttpResponse {
70
+ status: string;
71
+ body: FaceErrorResponseOutput;
72
+ headers: RawHttpHeaders & FindSimilarFromFaceListDefaultHeaders;
73
+ }
74
+ /** A successful call returns an array of the most similar faces represented in faceId if the input parameter is faceIds or persistedFaceId if the input parameter is faceListId or largeFaceListId. */
75
+ export interface FindSimilarFromLargeFaceList200Response extends HttpResponse {
76
+ status: "200";
77
+ body: Array<FindSimilarResultOutput>;
78
+ }
79
+ export interface FindSimilarFromLargeFaceListDefaultHeaders {
80
+ /** String error code indicating what went wrong. */
81
+ "x-ms-error-code"?: string;
82
+ }
83
+ export interface FindSimilarFromLargeFaceListDefaultResponse extends HttpResponse {
84
+ status: string;
85
+ body: FaceErrorResponseOutput;
86
+ headers: RawHttpHeaders & FindSimilarFromLargeFaceListDefaultHeaders;
87
+ }
88
+ /** A successful call returns the identified candidate person(s) for each query face. */
89
+ export interface IdentifyFromPersonGroup200Response extends HttpResponse {
90
+ status: "200";
91
+ body: Array<IdentificationResultOutput>;
92
+ }
93
+ export interface IdentifyFromPersonGroupDefaultHeaders {
94
+ /** String error code indicating what went wrong. */
95
+ "x-ms-error-code"?: string;
96
+ }
97
+ export interface IdentifyFromPersonGroupDefaultResponse extends HttpResponse {
98
+ status: string;
99
+ body: FaceErrorResponseOutput;
100
+ headers: RawHttpHeaders & IdentifyFromPersonGroupDefaultHeaders;
101
+ }
102
+ /** A successful call returns the identified candidate person(s) for each query face. */
103
+ export interface IdentifyFromLargePersonGroup200Response extends HttpResponse {
104
+ status: "200";
105
+ body: Array<IdentificationResultOutput>;
106
+ }
107
+ export interface IdentifyFromLargePersonGroupDefaultHeaders {
108
+ /** String error code indicating what went wrong. */
109
+ "x-ms-error-code"?: string;
110
+ }
111
+ export interface IdentifyFromLargePersonGroupDefaultResponse extends HttpResponse {
112
+ status: string;
113
+ body: FaceErrorResponseOutput;
114
+ headers: RawHttpHeaders & IdentifyFromLargePersonGroupDefaultHeaders;
115
+ }
116
+ /** A successful call returns the identified candidate person(s) for each query face. */
117
+ export interface IdentifyFromPersonDirectory200Response extends HttpResponse {
118
+ status: "200";
119
+ body: Array<IdentificationResultOutput>;
120
+ }
121
+ export interface IdentifyFromPersonDirectoryDefaultHeaders {
122
+ /** String error code indicating what went wrong. */
123
+ "x-ms-error-code"?: string;
124
+ }
125
+ export interface IdentifyFromPersonDirectoryDefaultResponse extends HttpResponse {
126
+ status: string;
127
+ body: FaceErrorResponseOutput;
128
+ headers: RawHttpHeaders & IdentifyFromPersonDirectoryDefaultHeaders;
129
+ }
130
+ /** A successful call returns the identified candidate person(s) for each query face. */
131
+ export interface IdentifyFromDynamicPersonGroup200Response extends HttpResponse {
132
+ status: "200";
133
+ body: Array<IdentificationResultOutput>;
134
+ }
135
+ export interface IdentifyFromDynamicPersonGroupDefaultHeaders {
136
+ /** String error code indicating what went wrong. */
137
+ "x-ms-error-code"?: string;
138
+ }
139
+ export interface IdentifyFromDynamicPersonGroupDefaultResponse extends HttpResponse {
140
+ status: string;
141
+ body: FaceErrorResponseOutput;
142
+ headers: RawHttpHeaders & IdentifyFromDynamicPersonGroupDefaultHeaders;
143
+ }
144
+ /** A successful call returns the verification result. */
145
+ export interface VerifyFaceToFace200Response extends HttpResponse {
146
+ status: "200";
147
+ body: VerificationResultOutput;
148
+ }
149
+ export interface VerifyFaceToFaceDefaultHeaders {
150
+ /** String error code indicating what went wrong. */
151
+ "x-ms-error-code"?: string;
152
+ }
153
+ export interface VerifyFaceToFaceDefaultResponse extends HttpResponse {
154
+ status: string;
155
+ body: FaceErrorResponseOutput;
156
+ headers: RawHttpHeaders & VerifyFaceToFaceDefaultHeaders;
157
+ }
158
+ /** A successful call returns the verification result. */
159
+ export interface VerifyFromPersonGroup200Response extends HttpResponse {
160
+ status: "200";
161
+ body: VerificationResultOutput;
162
+ }
163
+ export interface VerifyFromPersonGroupDefaultHeaders {
164
+ /** String error code indicating what went wrong. */
165
+ "x-ms-error-code"?: string;
166
+ }
167
+ export interface VerifyFromPersonGroupDefaultResponse extends HttpResponse {
168
+ status: string;
169
+ body: FaceErrorResponseOutput;
170
+ headers: RawHttpHeaders & VerifyFromPersonGroupDefaultHeaders;
171
+ }
172
+ /** A successful call returns the verification result. */
173
+ export interface VerifyFromLargePersonGroup200Response extends HttpResponse {
174
+ status: "200";
175
+ body: VerificationResultOutput;
176
+ }
177
+ export interface VerifyFromLargePersonGroupDefaultHeaders {
178
+ /** String error code indicating what went wrong. */
179
+ "x-ms-error-code"?: string;
180
+ }
181
+ export interface VerifyFromLargePersonGroupDefaultResponse extends HttpResponse {
182
+ status: string;
183
+ body: FaceErrorResponseOutput;
184
+ headers: RawHttpHeaders & VerifyFromLargePersonGroupDefaultHeaders;
185
+ }
186
+ /** A successful call returns the verification result. */
187
+ export interface VerifyFromPersonDirectory200Response extends HttpResponse {
188
+ status: "200";
189
+ body: VerificationResultOutput;
190
+ }
191
+ export interface VerifyFromPersonDirectoryDefaultHeaders {
192
+ /** String error code indicating what went wrong. */
193
+ "x-ms-error-code"?: string;
194
+ }
195
+ export interface VerifyFromPersonDirectoryDefaultResponse extends HttpResponse {
196
+ status: string;
197
+ body: FaceErrorResponseOutput;
198
+ headers: RawHttpHeaders & VerifyFromPersonDirectoryDefaultHeaders;
199
+ }
200
+ /** A successful call returns one or more groups of similar faces (rank by group size) and a messyGroup. */
201
+ export interface Group200Response extends HttpResponse {
202
+ status: "200";
203
+ body: GroupingResultOutput;
204
+ }
205
+ export interface GroupDefaultHeaders {
206
+ /** String error code indicating what went wrong. */
207
+ "x-ms-error-code"?: string;
208
+ }
209
+ export interface GroupDefaultResponse extends HttpResponse {
210
+ status: string;
211
+ body: FaceErrorResponseOutput;
212
+ headers: RawHttpHeaders & GroupDefaultHeaders;
213
+ }
214
+ /** A successful call create a session for a client device and provide an authorization token for use by the client application for a limited purpose and time. */
215
+ export interface CreateLivenessSession200Response extends HttpResponse {
216
+ status: "200";
217
+ body: CreateLivenessSessionResultOutput;
218
+ }
219
+ export interface CreateLivenessSessionDefaultHeaders {
220
+ /** String error code indicating what went wrong. */
221
+ "x-ms-error-code"?: string;
222
+ }
223
+ export interface CreateLivenessSessionDefaultResponse extends HttpResponse {
224
+ status: string;
225
+ body: FaceErrorResponseOutput;
226
+ headers: RawHttpHeaders & CreateLivenessSessionDefaultHeaders;
227
+ }
228
+ /** The request has succeeded. */
229
+ export interface DeleteLivenessSession200Response extends HttpResponse {
230
+ status: "200";
231
+ }
232
+ export interface DeleteLivenessSessionDefaultHeaders {
233
+ /** String error code indicating what went wrong. */
234
+ "x-ms-error-code"?: string;
235
+ }
236
+ export interface DeleteLivenessSessionDefaultResponse extends HttpResponse {
237
+ status: string;
238
+ body: FaceErrorResponseOutput;
239
+ headers: RawHttpHeaders & DeleteLivenessSessionDefaultHeaders;
240
+ }
241
+ /** The request has succeeded. */
242
+ export interface GetLivenessSessionResult200Response extends HttpResponse {
243
+ status: "200";
244
+ body: LivenessSessionOutput;
245
+ }
246
+ export interface GetLivenessSessionResultDefaultHeaders {
247
+ /** String error code indicating what went wrong. */
248
+ "x-ms-error-code"?: string;
249
+ }
250
+ export interface GetLivenessSessionResultDefaultResponse extends HttpResponse {
251
+ status: string;
252
+ body: FaceErrorResponseOutput;
253
+ headers: RawHttpHeaders & GetLivenessSessionResultDefaultHeaders;
254
+ }
255
+ /** The request has succeeded. */
256
+ export interface GetLivenessSessions200Response extends HttpResponse {
257
+ status: "200";
258
+ body: Array<LivenessSessionItemOutput>;
259
+ }
260
+ export interface GetLivenessSessionsDefaultHeaders {
261
+ /** String error code indicating what went wrong. */
262
+ "x-ms-error-code"?: string;
263
+ }
264
+ export interface GetLivenessSessionsDefaultResponse extends HttpResponse {
265
+ status: string;
266
+ body: FaceErrorResponseOutput;
267
+ headers: RawHttpHeaders & GetLivenessSessionsDefaultHeaders;
268
+ }
269
+ /** The request has succeeded. */
270
+ export interface GetLivenessSessionAuditEntries200Response extends HttpResponse {
271
+ status: "200";
272
+ body: Array<LivenessSessionAuditEntryOutput>;
273
+ }
274
+ export interface GetLivenessSessionAuditEntriesDefaultHeaders {
275
+ /** String error code indicating what went wrong. */
276
+ "x-ms-error-code"?: string;
277
+ }
278
+ export interface GetLivenessSessionAuditEntriesDefaultResponse extends HttpResponse {
279
+ status: string;
280
+ body: FaceErrorResponseOutput;
281
+ headers: RawHttpHeaders & GetLivenessSessionAuditEntriesDefaultHeaders;
282
+ }
283
+ /** A successful call create a session for a client device and provide an authorization token for use by the client application for a limited purpose and time. */
284
+ export interface CreateLivenessWithVerifySessionWithVerifyImage200Response extends HttpResponse {
285
+ status: "200";
286
+ body: CreateLivenessWithVerifySessionResultOutput;
287
+ }
288
+ export interface CreateLivenessWithVerifySessionWithVerifyImageDefaultHeaders {
289
+ /** String error code indicating what went wrong. */
290
+ "x-ms-error-code"?: string;
291
+ }
292
+ export interface CreateLivenessWithVerifySessionWithVerifyImageDefaultResponse extends HttpResponse {
293
+ status: string;
294
+ body: FaceErrorResponseOutput;
295
+ headers: RawHttpHeaders & CreateLivenessWithVerifySessionWithVerifyImageDefaultHeaders;
296
+ }
297
+ /** A successful call create a session for a client device and provide an authorization token for use by the client application for a limited purpose and time. */
298
+ export interface CreateLivenessWithVerifySession200Response extends HttpResponse {
299
+ status: "200";
300
+ body: CreateLivenessWithVerifySessionResultOutput;
301
+ }
302
+ export interface CreateLivenessWithVerifySessionDefaultHeaders {
303
+ /** String error code indicating what went wrong. */
304
+ "x-ms-error-code"?: string;
305
+ }
306
+ export interface CreateLivenessWithVerifySessionDefaultResponse extends HttpResponse {
307
+ status: string;
308
+ body: FaceErrorResponseOutput;
309
+ headers: RawHttpHeaders & CreateLivenessWithVerifySessionDefaultHeaders;
310
+ }
311
+ /** The request has succeeded. */
312
+ export interface DeleteLivenessWithVerifySession200Response extends HttpResponse {
313
+ status: "200";
314
+ }
315
+ export interface DeleteLivenessWithVerifySessionDefaultHeaders {
316
+ /** String error code indicating what went wrong. */
317
+ "x-ms-error-code"?: string;
318
+ }
319
+ export interface DeleteLivenessWithVerifySessionDefaultResponse extends HttpResponse {
320
+ status: string;
321
+ body: FaceErrorResponseOutput;
322
+ headers: RawHttpHeaders & DeleteLivenessWithVerifySessionDefaultHeaders;
323
+ }
324
+ /** The request has succeeded. */
325
+ export interface GetLivenessWithVerifySessionResult200Response extends HttpResponse {
326
+ status: "200";
327
+ body: LivenessWithVerifySessionOutput;
328
+ }
329
+ export interface GetLivenessWithVerifySessionResultDefaultHeaders {
330
+ /** String error code indicating what went wrong. */
331
+ "x-ms-error-code"?: string;
332
+ }
333
+ export interface GetLivenessWithVerifySessionResultDefaultResponse extends HttpResponse {
334
+ status: string;
335
+ body: FaceErrorResponseOutput;
336
+ headers: RawHttpHeaders & GetLivenessWithVerifySessionResultDefaultHeaders;
337
+ }
338
+ /** The request has succeeded. */
339
+ export interface GetLivenessWithVerifySessions200Response extends HttpResponse {
340
+ status: "200";
341
+ body: Array<LivenessSessionItemOutput>;
342
+ }
343
+ export interface GetLivenessWithVerifySessionsDefaultHeaders {
344
+ /** String error code indicating what went wrong. */
345
+ "x-ms-error-code"?: string;
346
+ }
347
+ export interface GetLivenessWithVerifySessionsDefaultResponse extends HttpResponse {
348
+ status: string;
349
+ body: FaceErrorResponseOutput;
350
+ headers: RawHttpHeaders & GetLivenessWithVerifySessionsDefaultHeaders;
351
+ }
352
+ /** The request has succeeded. */
353
+ export interface GetLivenessWithVerifySessionAuditEntries200Response extends HttpResponse {
354
+ status: "200";
355
+ body: Array<LivenessSessionAuditEntryOutput>;
356
+ }
357
+ export interface GetLivenessWithVerifySessionAuditEntriesDefaultHeaders {
358
+ /** String error code indicating what went wrong. */
359
+ "x-ms-error-code"?: string;
360
+ }
361
+ export interface GetLivenessWithVerifySessionAuditEntriesDefaultResponse extends HttpResponse {
362
+ status: string;
363
+ body: FaceErrorResponseOutput;
364
+ headers: RawHttpHeaders & GetLivenessWithVerifySessionAuditEntriesDefaultHeaders;
365
+ }
366
+ /** The request has succeeded. */
367
+ export interface CreateFaceList200Response extends HttpResponse {
368
+ status: "200";
369
+ }
370
+ export interface CreateFaceListDefaultHeaders {
371
+ /** String error code indicating what went wrong. */
372
+ "x-ms-error-code"?: string;
373
+ }
374
+ export interface CreateFaceListDefaultResponse extends HttpResponse {
375
+ status: string;
376
+ body: FaceErrorResponseOutput;
377
+ headers: RawHttpHeaders & CreateFaceListDefaultHeaders;
378
+ }
379
+ /** The request has succeeded. */
380
+ export interface DeleteFaceList200Response extends HttpResponse {
381
+ status: "200";
382
+ }
383
+ export interface DeleteFaceListDefaultHeaders {
384
+ /** String error code indicating what went wrong. */
385
+ "x-ms-error-code"?: string;
386
+ }
387
+ export interface DeleteFaceListDefaultResponse extends HttpResponse {
388
+ status: string;
389
+ body: FaceErrorResponseOutput;
390
+ headers: RawHttpHeaders & DeleteFaceListDefaultHeaders;
391
+ }
392
+ /** A successful call returns the Face List's information. */
393
+ export interface GetFaceList200Response extends HttpResponse {
394
+ status: "200";
395
+ body: FaceListOutput;
396
+ }
397
+ export interface GetFaceListDefaultHeaders {
398
+ /** String error code indicating what went wrong. */
399
+ "x-ms-error-code"?: string;
400
+ }
401
+ export interface GetFaceListDefaultResponse extends HttpResponse {
402
+ status: string;
403
+ body: FaceErrorResponseOutput;
404
+ headers: RawHttpHeaders & GetFaceListDefaultHeaders;
405
+ }
406
+ /** The request has succeeded. */
407
+ export interface UpdateFaceList200Response extends HttpResponse {
408
+ status: "200";
409
+ }
410
+ export interface UpdateFaceListDefaultHeaders {
411
+ /** String error code indicating what went wrong. */
412
+ "x-ms-error-code"?: string;
413
+ }
414
+ export interface UpdateFaceListDefaultResponse extends HttpResponse {
415
+ status: string;
416
+ body: FaceErrorResponseOutput;
417
+ headers: RawHttpHeaders & UpdateFaceListDefaultHeaders;
418
+ }
419
+ /** A successful call returns an array of Face Lists. */
420
+ export interface GetFaceLists200Response extends HttpResponse {
421
+ status: "200";
422
+ body: Array<FaceListItemOutput>;
423
+ }
424
+ export interface GetFaceListsDefaultHeaders {
425
+ /** String error code indicating what went wrong. */
426
+ "x-ms-error-code"?: string;
427
+ }
428
+ export interface GetFaceListsDefaultResponse extends HttpResponse {
429
+ status: string;
430
+ body: FaceErrorResponseOutput;
431
+ headers: RawHttpHeaders & GetFaceListsDefaultHeaders;
432
+ }
433
+ /** A successful call returns a new persistedFaceId. */
434
+ export interface AddFaceListFaceFromUrl200Response extends HttpResponse {
435
+ status: "200";
436
+ body: AddFaceResultOutput;
437
+ }
438
+ export interface AddFaceListFaceFromUrlDefaultHeaders {
439
+ /** String error code indicating what went wrong. */
440
+ "x-ms-error-code"?: string;
441
+ }
442
+ export interface AddFaceListFaceFromUrlDefaultResponse extends HttpResponse {
443
+ status: string;
444
+ body: FaceErrorResponseOutput;
445
+ headers: RawHttpHeaders & AddFaceListFaceFromUrlDefaultHeaders;
446
+ }
447
+ /** A successful call returns a new persistedFaceId. */
448
+ export interface AddFaceListFace200Response extends HttpResponse {
449
+ status: "200";
450
+ body: AddFaceResultOutput;
451
+ }
452
+ export interface AddFaceListFaceDefaultHeaders {
453
+ /** String error code indicating what went wrong. */
454
+ "x-ms-error-code"?: string;
455
+ }
456
+ export interface AddFaceListFaceDefaultResponse extends HttpResponse {
457
+ status: string;
458
+ body: FaceErrorResponseOutput;
459
+ headers: RawHttpHeaders & AddFaceListFaceDefaultHeaders;
460
+ }
461
+ /** The request has succeeded. */
462
+ export interface DeleteFaceListFace200Response extends HttpResponse {
463
+ status: "200";
464
+ }
465
+ export interface DeleteFaceListFaceDefaultHeaders {
466
+ /** String error code indicating what went wrong. */
467
+ "x-ms-error-code"?: string;
468
+ }
469
+ export interface DeleteFaceListFaceDefaultResponse extends HttpResponse {
470
+ status: string;
471
+ body: FaceErrorResponseOutput;
472
+ headers: RawHttpHeaders & DeleteFaceListFaceDefaultHeaders;
473
+ }
474
+ /** The request has succeeded. */
475
+ export interface CreateLargeFaceList200Response extends HttpResponse {
476
+ status: "200";
477
+ }
478
+ export interface CreateLargeFaceListDefaultHeaders {
479
+ /** String error code indicating what went wrong. */
480
+ "x-ms-error-code"?: string;
481
+ }
482
+ export interface CreateLargeFaceListDefaultResponse extends HttpResponse {
483
+ status: string;
484
+ body: FaceErrorResponseOutput;
485
+ headers: RawHttpHeaders & CreateLargeFaceListDefaultHeaders;
486
+ }
487
+ /** The request has succeeded. */
488
+ export interface DeleteLargeFaceList200Response extends HttpResponse {
489
+ status: "200";
490
+ }
491
+ export interface DeleteLargeFaceListDefaultHeaders {
492
+ /** String error code indicating what went wrong. */
493
+ "x-ms-error-code"?: string;
494
+ }
495
+ export interface DeleteLargeFaceListDefaultResponse extends HttpResponse {
496
+ status: string;
497
+ body: FaceErrorResponseOutput;
498
+ headers: RawHttpHeaders & DeleteLargeFaceListDefaultHeaders;
499
+ }
500
+ /** A successful call returns the Large Face List's information. */
501
+ export interface GetLargeFaceList200Response extends HttpResponse {
502
+ status: "200";
503
+ body: LargeFaceListOutput;
504
+ }
505
+ export interface GetLargeFaceListDefaultHeaders {
506
+ /** String error code indicating what went wrong. */
507
+ "x-ms-error-code"?: string;
508
+ }
509
+ export interface GetLargeFaceListDefaultResponse extends HttpResponse {
510
+ status: string;
511
+ body: FaceErrorResponseOutput;
512
+ headers: RawHttpHeaders & GetLargeFaceListDefaultHeaders;
513
+ }
514
+ /** The request has succeeded. */
515
+ export interface UpdateLargeFaceList200Response extends HttpResponse {
516
+ status: "200";
517
+ }
518
+ export interface UpdateLargeFaceListDefaultHeaders {
519
+ /** String error code indicating what went wrong. */
520
+ "x-ms-error-code"?: string;
521
+ }
522
+ export interface UpdateLargeFaceListDefaultResponse extends HttpResponse {
523
+ status: string;
524
+ body: FaceErrorResponseOutput;
525
+ headers: RawHttpHeaders & UpdateLargeFaceListDefaultHeaders;
526
+ }
527
+ /** A successful call returns an array of Large Face Lists and their information (largeFaceListId, name and userData). */
528
+ export interface GetLargeFaceLists200Response extends HttpResponse {
529
+ status: "200";
530
+ body: Array<LargeFaceListOutput>;
531
+ }
532
+ export interface GetLargeFaceListsDefaultHeaders {
533
+ /** String error code indicating what went wrong. */
534
+ "x-ms-error-code"?: string;
535
+ }
536
+ export interface GetLargeFaceListsDefaultResponse extends HttpResponse {
537
+ status: string;
538
+ body: FaceErrorResponseOutput;
539
+ headers: RawHttpHeaders & GetLargeFaceListsDefaultHeaders;
540
+ }
541
+ /** A successful call returns the Large Face List's training status. */
542
+ export interface GetLargeFaceListTrainingStatus200Response extends HttpResponse {
543
+ status: "200";
544
+ body: TrainingResultOutput;
545
+ }
546
+ export interface GetLargeFaceListTrainingStatusDefaultHeaders {
547
+ /** String error code indicating what went wrong. */
548
+ "x-ms-error-code"?: string;
549
+ }
550
+ export interface GetLargeFaceListTrainingStatusDefaultResponse extends HttpResponse {
551
+ status: string;
552
+ body: FaceErrorResponseOutput;
553
+ headers: RawHttpHeaders & GetLargeFaceListTrainingStatusDefaultHeaders;
554
+ }
555
+ export interface TrainLargeFaceList202Headers {
556
+ "operation-location": string;
557
+ }
558
+ /** A successful call returns an empty response body. */
559
+ export interface TrainLargeFaceList202Response extends HttpResponse {
560
+ status: "202";
561
+ headers: RawHttpHeaders & TrainLargeFaceList202Headers;
562
+ }
563
+ export interface TrainLargeFaceListDefaultHeaders {
564
+ /** String error code indicating what went wrong. */
565
+ "x-ms-error-code"?: string;
566
+ }
567
+ export interface TrainLargeFaceListDefaultResponse extends HttpResponse {
568
+ status: string;
569
+ body: FaceErrorResponseOutput;
570
+ headers: RawHttpHeaders & TrainLargeFaceListDefaultHeaders;
571
+ }
572
+ /** The final response for long-running trainLargeFaceList operation */
573
+ export interface TrainLargeFaceListLogicalResponse extends HttpResponse {
574
+ status: "200";
575
+ }
576
+ /** A successful call returns a new persistedFaceId. */
577
+ export interface AddLargeFaceListFaceFromUrl200Response extends HttpResponse {
578
+ status: "200";
579
+ body: AddFaceResultOutput;
580
+ }
581
+ export interface AddLargeFaceListFaceFromUrlDefaultHeaders {
582
+ /** String error code indicating what went wrong. */
583
+ "x-ms-error-code"?: string;
584
+ }
585
+ export interface AddLargeFaceListFaceFromUrlDefaultResponse extends HttpResponse {
586
+ status: string;
587
+ body: FaceErrorResponseOutput;
588
+ headers: RawHttpHeaders & AddLargeFaceListFaceFromUrlDefaultHeaders;
589
+ }
590
+ /** A successful call returns a new persistedFaceId. */
591
+ export interface AddLargeFaceListFace200Response extends HttpResponse {
592
+ status: "200";
593
+ body: AddFaceResultOutput;
594
+ }
595
+ export interface AddLargeFaceListFaceDefaultHeaders {
596
+ /** String error code indicating what went wrong. */
597
+ "x-ms-error-code"?: string;
598
+ }
599
+ export interface AddLargeFaceListFaceDefaultResponse extends HttpResponse {
600
+ status: string;
601
+ body: FaceErrorResponseOutput;
602
+ headers: RawHttpHeaders & AddLargeFaceListFaceDefaultHeaders;
603
+ }
604
+ /** The request has succeeded. */
605
+ export interface DeleteLargeFaceListFace200Response extends HttpResponse {
606
+ status: "200";
607
+ }
608
+ export interface DeleteLargeFaceListFaceDefaultHeaders {
609
+ /** String error code indicating what went wrong. */
610
+ "x-ms-error-code"?: string;
611
+ }
612
+ export interface DeleteLargeFaceListFaceDefaultResponse extends HttpResponse {
613
+ status: string;
614
+ body: FaceErrorResponseOutput;
615
+ headers: RawHttpHeaders & DeleteLargeFaceListFaceDefaultHeaders;
616
+ }
617
+ /** A successful call returns target persisted face's information (persistedFaceId and userData). */
618
+ export interface GetLargeFaceListFace200Response extends HttpResponse {
619
+ status: "200";
620
+ body: LargeFaceListFaceOutput;
621
+ }
622
+ export interface GetLargeFaceListFaceDefaultHeaders {
623
+ /** String error code indicating what went wrong. */
624
+ "x-ms-error-code"?: string;
625
+ }
626
+ export interface GetLargeFaceListFaceDefaultResponse extends HttpResponse {
627
+ status: string;
628
+ body: FaceErrorResponseOutput;
629
+ headers: RawHttpHeaders & GetLargeFaceListFaceDefaultHeaders;
630
+ }
631
+ /** The request has succeeded. */
632
+ export interface UpdateLargeFaceListFace200Response extends HttpResponse {
633
+ status: "200";
634
+ }
635
+ export interface UpdateLargeFaceListFaceDefaultHeaders {
636
+ /** String error code indicating what went wrong. */
637
+ "x-ms-error-code"?: string;
638
+ }
639
+ export interface UpdateLargeFaceListFaceDefaultResponse extends HttpResponse {
640
+ status: string;
641
+ body: FaceErrorResponseOutput;
642
+ headers: RawHttpHeaders & UpdateLargeFaceListFaceDefaultHeaders;
643
+ }
644
+ /** A successful call returns an array of persisted faces and their information (persistedFaceId and userData). */
645
+ export interface GetLargeFaceListFaces200Response extends HttpResponse {
646
+ status: "200";
647
+ body: Array<LargeFaceListFaceOutput>;
648
+ }
649
+ export interface GetLargeFaceListFacesDefaultHeaders {
650
+ /** String error code indicating what went wrong. */
651
+ "x-ms-error-code"?: string;
652
+ }
653
+ export interface GetLargeFaceListFacesDefaultResponse extends HttpResponse {
654
+ status: string;
655
+ body: FaceErrorResponseOutput;
656
+ headers: RawHttpHeaders & GetLargeFaceListFacesDefaultHeaders;
657
+ }
658
+ export interface CreatePerson202Headers {
659
+ "operation-location": string;
660
+ location: string;
661
+ }
662
+ /** A successful call returns an empty response body. The service has accepted the request and will start processing soon. The client can query the operation status and result using the URL specified in the 'Operation-Location' response header. The URL expires in 48 hours. */
663
+ export interface CreatePerson202Response extends HttpResponse {
664
+ status: "202";
665
+ body: CreatePersonResultOutput;
666
+ headers: RawHttpHeaders & CreatePerson202Headers;
667
+ }
668
+ export interface CreatePersonDefaultHeaders {
669
+ /** String error code indicating what went wrong. */
670
+ "x-ms-error-code"?: string;
671
+ }
672
+ export interface CreatePersonDefaultResponse extends HttpResponse {
673
+ status: string;
674
+ body: FaceErrorResponseOutput;
675
+ headers: RawHttpHeaders & CreatePersonDefaultHeaders;
676
+ }
677
+ /** The final response for long-running createPerson operation */
678
+ export interface CreatePersonLogicalResponse extends HttpResponse {
679
+ status: "200";
680
+ body: CreatePersonResultOutput;
681
+ }
682
+ export interface DeletePerson202Headers {
683
+ "operation-location": string;
684
+ }
685
+ /** A successful call returns an empty response body. The service has accepted the request and will start processing soon. The client can query the operation status and result using the URL specified in the 'Operation-Location' response header. The URL expires in 48 hours. */
686
+ export interface DeletePerson202Response extends HttpResponse {
687
+ status: "202";
688
+ headers: RawHttpHeaders & DeletePerson202Headers;
689
+ }
690
+ export interface DeletePersonDefaultHeaders {
691
+ /** String error code indicating what went wrong. */
692
+ "x-ms-error-code"?: string;
693
+ }
694
+ export interface DeletePersonDefaultResponse extends HttpResponse {
695
+ status: string;
696
+ body: FaceErrorResponseOutput;
697
+ headers: RawHttpHeaders & DeletePersonDefaultHeaders;
698
+ }
699
+ /** The final response for long-running deletePerson operation */
700
+ export interface DeletePersonLogicalResponse extends HttpResponse {
701
+ status: "200";
702
+ }
703
+ /** A successful call returns the person's information. */
704
+ export interface GetPerson200Response extends HttpResponse {
705
+ status: "200";
706
+ body: PersonDirectoryPersonOutput;
707
+ }
708
+ export interface GetPersonDefaultHeaders {
709
+ /** String error code indicating what went wrong. */
710
+ "x-ms-error-code"?: string;
711
+ }
712
+ export interface GetPersonDefaultResponse extends HttpResponse {
713
+ status: string;
714
+ body: FaceErrorResponseOutput;
715
+ headers: RawHttpHeaders & GetPersonDefaultHeaders;
716
+ }
717
+ /** The request has succeeded. */
718
+ export interface UpdatePerson200Response extends HttpResponse {
719
+ status: "200";
720
+ }
721
+ export interface UpdatePersonDefaultHeaders {
722
+ /** String error code indicating what went wrong. */
723
+ "x-ms-error-code"?: string;
724
+ }
725
+ export interface UpdatePersonDefaultResponse extends HttpResponse {
726
+ status: string;
727
+ body: FaceErrorResponseOutput;
728
+ headers: RawHttpHeaders & UpdatePersonDefaultHeaders;
729
+ }
730
+ /** A successful call returns an array of Person Directory Persons contained in the Dynamic Person Group. */
731
+ export interface GetPersons200Response extends HttpResponse {
732
+ status: "200";
733
+ body: Array<PersonDirectoryPersonOutput>;
734
+ }
735
+ export interface GetPersonsDefaultHeaders {
736
+ /** String error code indicating what went wrong. */
737
+ "x-ms-error-code"?: string;
738
+ }
739
+ export interface GetPersonsDefaultResponse extends HttpResponse {
740
+ status: string;
741
+ body: FaceErrorResponseOutput;
742
+ headers: RawHttpHeaders & GetPersonsDefaultHeaders;
743
+ }
744
+ /** A successful call returns an array of dynamicPersonGroups information that reference the provided personId. */
745
+ export interface GetDynamicPersonGroupReferences200Response extends HttpResponse {
746
+ status: "200";
747
+ body: ListGroupReferenceResultOutput;
748
+ }
749
+ export interface GetDynamicPersonGroupReferencesDefaultHeaders {
750
+ /** String error code indicating what went wrong. */
751
+ "x-ms-error-code"?: string;
752
+ }
753
+ export interface GetDynamicPersonGroupReferencesDefaultResponse extends HttpResponse {
754
+ status: string;
755
+ body: FaceErrorResponseOutput;
756
+ headers: RawHttpHeaders & GetDynamicPersonGroupReferencesDefaultHeaders;
757
+ }
758
+ export interface AddPersonFace202Headers {
759
+ "operation-location": string;
760
+ location: string;
761
+ }
762
+ /** A successful call returns an empty response body. The service has accepted the request and will start processing soon. The client can query the operation status and result using the URL specified in the 'Operation-Location' response header. The URL expires in 48 hours. */
763
+ export interface AddPersonFace202Response extends HttpResponse {
764
+ status: "202";
765
+ body: AddFaceResultOutput;
766
+ headers: RawHttpHeaders & AddPersonFace202Headers;
767
+ }
768
+ export interface AddPersonFaceDefaultHeaders {
769
+ /** String error code indicating what went wrong. */
770
+ "x-ms-error-code"?: string;
771
+ }
772
+ export interface AddPersonFaceDefaultResponse extends HttpResponse {
773
+ status: string;
774
+ body: FaceErrorResponseOutput;
775
+ headers: RawHttpHeaders & AddPersonFaceDefaultHeaders;
776
+ }
777
+ /** The final response for long-running addPersonFace operation */
778
+ export interface AddPersonFaceLogicalResponse extends HttpResponse {
779
+ status: "200";
780
+ body: AddFaceResultOutput;
781
+ }
782
+ export interface AddPersonFaceFromUrl202Headers {
783
+ "operation-location": string;
784
+ location: string;
785
+ }
786
+ /** A successful call returns an empty response body. The service has accepted the request and will start processing soon. The client can query the operation status and result using the URL specified in the 'Operation-Location' response header. The URL expires in 48 hours. */
787
+ export interface AddPersonFaceFromUrl202Response extends HttpResponse {
788
+ status: "202";
789
+ body: AddFaceResultOutput;
790
+ headers: RawHttpHeaders & AddPersonFaceFromUrl202Headers;
791
+ }
792
+ export interface AddPersonFaceFromUrlDefaultHeaders {
793
+ /** String error code indicating what went wrong. */
794
+ "x-ms-error-code"?: string;
795
+ }
796
+ export interface AddPersonFaceFromUrlDefaultResponse extends HttpResponse {
797
+ status: string;
798
+ body: FaceErrorResponseOutput;
799
+ headers: RawHttpHeaders & AddPersonFaceFromUrlDefaultHeaders;
800
+ }
801
+ /** The final response for long-running addPersonFaceFromUrl operation */
802
+ export interface AddPersonFaceFromUrlLogicalResponse extends HttpResponse {
803
+ status: "200";
804
+ body: AddFaceResultOutput;
805
+ }
806
+ export interface DeletePersonFace202Headers {
807
+ "operation-location": string;
808
+ }
809
+ /** A successful call returns an empty response body. The service has accepted the request and will start processing soon. The client can query the operation status and result using the URL specified in the 'Operation-Location' response header. The URL expires in 48 hours. */
810
+ export interface DeletePersonFace202Response extends HttpResponse {
811
+ status: "202";
812
+ headers: RawHttpHeaders & DeletePersonFace202Headers;
813
+ }
814
+ export interface DeletePersonFaceDefaultHeaders {
815
+ /** String error code indicating what went wrong. */
816
+ "x-ms-error-code"?: string;
817
+ }
818
+ export interface DeletePersonFaceDefaultResponse extends HttpResponse {
819
+ status: string;
820
+ body: FaceErrorResponseOutput;
821
+ headers: RawHttpHeaders & DeletePersonFaceDefaultHeaders;
822
+ }
823
+ /** The final response for long-running deletePersonFace operation */
824
+ export interface DeletePersonFaceLogicalResponse extends HttpResponse {
825
+ status: "200";
826
+ }
827
+ /** A successful call returns target persisted face's information (persistedFaceId and userData). */
828
+ export interface GetPersonFace200Response extends HttpResponse {
829
+ status: "200";
830
+ body: PersonDirectoryFaceOutput;
831
+ }
832
+ export interface GetPersonFaceDefaultHeaders {
833
+ /** String error code indicating what went wrong. */
834
+ "x-ms-error-code"?: string;
835
+ }
836
+ export interface GetPersonFaceDefaultResponse extends HttpResponse {
837
+ status: string;
838
+ body: FaceErrorResponseOutput;
839
+ headers: RawHttpHeaders & GetPersonFaceDefaultHeaders;
840
+ }
841
+ /** The request has succeeded. */
842
+ export interface UpdatePersonFace200Response extends HttpResponse {
843
+ status: "200";
844
+ }
845
+ export interface UpdatePersonFaceDefaultHeaders {
846
+ /** String error code indicating what went wrong. */
847
+ "x-ms-error-code"?: string;
848
+ }
849
+ export interface UpdatePersonFaceDefaultResponse extends HttpResponse {
850
+ status: string;
851
+ body: FaceErrorResponseOutput;
852
+ headers: RawHttpHeaders & UpdatePersonFaceDefaultHeaders;
853
+ }
854
+ /** A successful call returns an array of persistedFaceIds and and a person ID. */
855
+ export interface GetPersonFaces200Response extends HttpResponse {
856
+ status: "200";
857
+ body: ListFaceResultOutput;
858
+ }
859
+ export interface GetPersonFacesDefaultHeaders {
860
+ /** String error code indicating what went wrong. */
861
+ "x-ms-error-code"?: string;
862
+ }
863
+ export interface GetPersonFacesDefaultResponse extends HttpResponse {
864
+ status: string;
865
+ body: FaceErrorResponseOutput;
866
+ headers: RawHttpHeaders & GetPersonFacesDefaultHeaders;
867
+ }
868
+ export interface CreateDynamicPersonGroupWithPerson202Headers {
869
+ "operation-location": string;
870
+ }
871
+ /** A successful call returns an empty response body. The service has accepted the request and will start processing soon. The client can query the operation status and result using the URL specified in the 'Operation-Location' response header. The URL expires in 48 hours. The URL provides the status of when Person Directory "Get Dynamic Person Group References" will return the changes made in this request. */
872
+ export interface CreateDynamicPersonGroupWithPerson202Response extends HttpResponse {
873
+ status: "202";
874
+ headers: RawHttpHeaders & CreateDynamicPersonGroupWithPerson202Headers;
875
+ }
876
+ export interface CreateDynamicPersonGroupWithPersonDefaultHeaders {
877
+ /** String error code indicating what went wrong. */
878
+ "x-ms-error-code"?: string;
879
+ }
880
+ export interface CreateDynamicPersonGroupWithPersonDefaultResponse extends HttpResponse {
881
+ status: string;
882
+ body: FaceErrorResponseOutput;
883
+ headers: RawHttpHeaders & CreateDynamicPersonGroupWithPersonDefaultHeaders;
884
+ }
885
+ /** The final response for long-running createDynamicPersonGroupWithPerson operation */
886
+ export interface CreateDynamicPersonGroupWithPersonLogicalResponse extends HttpResponse {
887
+ status: "200";
888
+ }
889
+ /** The request has succeeded. */
890
+ export interface CreateDynamicPersonGroup200Response extends HttpResponse {
891
+ status: "200";
892
+ }
893
+ export interface CreateDynamicPersonGroupDefaultHeaders {
894
+ /** String error code indicating what went wrong. */
895
+ "x-ms-error-code"?: string;
896
+ }
897
+ export interface CreateDynamicPersonGroupDefaultResponse extends HttpResponse {
898
+ status: string;
899
+ body: FaceErrorResponseOutput;
900
+ headers: RawHttpHeaders & CreateDynamicPersonGroupDefaultHeaders;
901
+ }
902
+ export interface DeleteDynamicPersonGroup202Headers {
903
+ "operation-location": string;
904
+ }
905
+ /** A successful call returns an empty response body. The service has accepted the request and will start processing soon. The client can query the operation status and result using the URL specified in the 'Operation-Location' response header. The URL expires in 48 hours. The URL provides the status of when Person Directory "Get Dynamic Person Group References" will return the changes made in this request. */
906
+ export interface DeleteDynamicPersonGroup202Response extends HttpResponse {
907
+ status: "202";
908
+ headers: RawHttpHeaders & DeleteDynamicPersonGroup202Headers;
909
+ }
910
+ export interface DeleteDynamicPersonGroupDefaultHeaders {
911
+ /** String error code indicating what went wrong. */
912
+ "x-ms-error-code"?: string;
913
+ }
914
+ export interface DeleteDynamicPersonGroupDefaultResponse extends HttpResponse {
915
+ status: string;
916
+ body: FaceErrorResponseOutput;
917
+ headers: RawHttpHeaders & DeleteDynamicPersonGroupDefaultHeaders;
918
+ }
919
+ /** The final response for long-running deleteDynamicPersonGroup operation */
920
+ export interface DeleteDynamicPersonGroupLogicalResponse extends HttpResponse {
921
+ status: "200";
922
+ }
923
+ /** A successful call returns the Dynamic Person Group's information. */
924
+ export interface GetDynamicPersonGroup200Response extends HttpResponse {
925
+ status: "200";
926
+ body: DynamicPersonGroupOutput;
927
+ }
928
+ export interface GetDynamicPersonGroupDefaultHeaders {
929
+ /** String error code indicating what went wrong. */
930
+ "x-ms-error-code"?: string;
931
+ }
932
+ export interface GetDynamicPersonGroupDefaultResponse extends HttpResponse {
933
+ status: string;
934
+ body: FaceErrorResponseOutput;
935
+ headers: RawHttpHeaders & GetDynamicPersonGroupDefaultHeaders;
936
+ }
937
+ export interface UpdateDynamicPersonGroupWithPersonChanges202Headers {
938
+ "operation-location": string;
939
+ }
940
+ /** A successful call returns an empty response body. The service has accepted the request and will start processing soon. The client can query the operation status and result using the URL specified in the 'Operation-Location' response header. The URL expires in 48 hours. The URL provides the status of when Person Directory "Get Dynamic Person Group References" will return the changes made in this request. */
941
+ export interface UpdateDynamicPersonGroupWithPersonChanges202Response extends HttpResponse {
942
+ status: "202";
943
+ headers: RawHttpHeaders & UpdateDynamicPersonGroupWithPersonChanges202Headers;
944
+ }
945
+ export interface UpdateDynamicPersonGroupWithPersonChangesDefaultHeaders {
946
+ /** String error code indicating what went wrong. */
947
+ "x-ms-error-code"?: string;
948
+ }
949
+ export interface UpdateDynamicPersonGroupWithPersonChangesDefaultResponse extends HttpResponse {
950
+ status: string;
951
+ body: FaceErrorResponseOutput;
952
+ headers: RawHttpHeaders & UpdateDynamicPersonGroupWithPersonChangesDefaultHeaders;
953
+ }
954
+ /** The final response for long-running updateDynamicPersonGroupWithPersonChanges operation */
955
+ export interface UpdateDynamicPersonGroupWithPersonChangesLogicalResponse extends HttpResponse {
956
+ status: "200";
957
+ }
958
+ /** The request has succeeded. */
959
+ export interface UpdateDynamicPersonGroup200Response extends HttpResponse {
960
+ status: "200";
961
+ }
962
+ export interface UpdateDynamicPersonGroupDefaultHeaders {
963
+ /** String error code indicating what went wrong. */
964
+ "x-ms-error-code"?: string;
965
+ }
966
+ export interface UpdateDynamicPersonGroupDefaultResponse extends HttpResponse {
967
+ status: string;
968
+ body: FaceErrorResponseOutput;
969
+ headers: RawHttpHeaders & UpdateDynamicPersonGroupDefaultHeaders;
970
+ }
971
+ /** A successful call returns an array of Dynamic Person Groups and their information (dynamicPersonGroupId, name and userData). */
972
+ export interface GetDynamicPersonGroups200Response extends HttpResponse {
973
+ status: "200";
974
+ body: Array<DynamicPersonGroupOutput>;
975
+ }
976
+ export interface GetDynamicPersonGroupsDefaultHeaders {
977
+ /** String error code indicating what went wrong. */
978
+ "x-ms-error-code"?: string;
979
+ }
980
+ export interface GetDynamicPersonGroupsDefaultResponse extends HttpResponse {
981
+ status: string;
982
+ body: FaceErrorResponseOutput;
983
+ headers: RawHttpHeaders & GetDynamicPersonGroupsDefaultHeaders;
984
+ }
985
+ /** A successful call returns an array of person information in the Person Directory. */
986
+ export interface GetDynamicPersonGroupPersons200Response extends HttpResponse {
987
+ status: "200";
988
+ body: ListPersonResultOutput;
989
+ }
990
+ export interface GetDynamicPersonGroupPersonsDefaultHeaders {
991
+ /** String error code indicating what went wrong. */
992
+ "x-ms-error-code"?: string;
993
+ }
994
+ export interface GetDynamicPersonGroupPersonsDefaultResponse extends HttpResponse {
995
+ status: string;
996
+ body: FaceErrorResponseOutput;
997
+ headers: RawHttpHeaders & GetDynamicPersonGroupPersonsDefaultHeaders;
998
+ }
999
+ /** The request has succeeded. */
1000
+ export interface CreatePersonGroup200Response extends HttpResponse {
1001
+ status: "200";
1002
+ }
1003
+ export interface CreatePersonGroupDefaultHeaders {
1004
+ /** String error code indicating what went wrong. */
1005
+ "x-ms-error-code"?: string;
1006
+ }
1007
+ export interface CreatePersonGroupDefaultResponse extends HttpResponse {
1008
+ status: string;
1009
+ body: FaceErrorResponseOutput;
1010
+ headers: RawHttpHeaders & CreatePersonGroupDefaultHeaders;
1011
+ }
1012
+ /** The request has succeeded. */
1013
+ export interface DeletePersonGroup200Response extends HttpResponse {
1014
+ status: "200";
1015
+ }
1016
+ export interface DeletePersonGroupDefaultHeaders {
1017
+ /** String error code indicating what went wrong. */
1018
+ "x-ms-error-code"?: string;
1019
+ }
1020
+ export interface DeletePersonGroupDefaultResponse extends HttpResponse {
1021
+ status: string;
1022
+ body: FaceErrorResponseOutput;
1023
+ headers: RawHttpHeaders & DeletePersonGroupDefaultHeaders;
1024
+ }
1025
+ /** A successful call returns the Person Group's information. */
1026
+ export interface GetPersonGroup200Response extends HttpResponse {
1027
+ status: "200";
1028
+ body: PersonGroupOutput;
1029
+ }
1030
+ export interface GetPersonGroupDefaultHeaders {
1031
+ /** String error code indicating what went wrong. */
1032
+ "x-ms-error-code"?: string;
1033
+ }
1034
+ export interface GetPersonGroupDefaultResponse extends HttpResponse {
1035
+ status: string;
1036
+ body: FaceErrorResponseOutput;
1037
+ headers: RawHttpHeaders & GetPersonGroupDefaultHeaders;
1038
+ }
1039
+ /** The request has succeeded. */
1040
+ export interface UpdatePersonGroup200Response extends HttpResponse {
1041
+ status: "200";
1042
+ }
1043
+ export interface UpdatePersonGroupDefaultHeaders {
1044
+ /** String error code indicating what went wrong. */
1045
+ "x-ms-error-code"?: string;
1046
+ }
1047
+ export interface UpdatePersonGroupDefaultResponse extends HttpResponse {
1048
+ status: string;
1049
+ body: FaceErrorResponseOutput;
1050
+ headers: RawHttpHeaders & UpdatePersonGroupDefaultHeaders;
1051
+ }
1052
+ /** A successful call returns an array of Person Groups and their information (personGroupId, name and userData). */
1053
+ export interface GetPersonGroups200Response extends HttpResponse {
1054
+ status: "200";
1055
+ body: Array<PersonGroupOutput>;
1056
+ }
1057
+ export interface GetPersonGroupsDefaultHeaders {
1058
+ /** String error code indicating what went wrong. */
1059
+ "x-ms-error-code"?: string;
1060
+ }
1061
+ export interface GetPersonGroupsDefaultResponse extends HttpResponse {
1062
+ status: string;
1063
+ body: FaceErrorResponseOutput;
1064
+ headers: RawHttpHeaders & GetPersonGroupsDefaultHeaders;
1065
+ }
1066
+ /** A successful call returns the Person Group's training status. */
1067
+ export interface GetPersonGroupTrainingStatus200Response extends HttpResponse {
1068
+ status: "200";
1069
+ body: TrainingResultOutput;
1070
+ }
1071
+ export interface GetPersonGroupTrainingStatusDefaultHeaders {
1072
+ /** String error code indicating what went wrong. */
1073
+ "x-ms-error-code"?: string;
1074
+ }
1075
+ export interface GetPersonGroupTrainingStatusDefaultResponse extends HttpResponse {
1076
+ status: string;
1077
+ body: FaceErrorResponseOutput;
1078
+ headers: RawHttpHeaders & GetPersonGroupTrainingStatusDefaultHeaders;
1079
+ }
1080
+ export interface TrainPersonGroup202Headers {
1081
+ "operation-location": string;
1082
+ }
1083
+ /** A successful call returns an empty response body. */
1084
+ export interface TrainPersonGroup202Response extends HttpResponse {
1085
+ status: "202";
1086
+ headers: RawHttpHeaders & TrainPersonGroup202Headers;
1087
+ }
1088
+ export interface TrainPersonGroupDefaultHeaders {
1089
+ /** String error code indicating what went wrong. */
1090
+ "x-ms-error-code"?: string;
1091
+ }
1092
+ export interface TrainPersonGroupDefaultResponse extends HttpResponse {
1093
+ status: string;
1094
+ body: FaceErrorResponseOutput;
1095
+ headers: RawHttpHeaders & TrainPersonGroupDefaultHeaders;
1096
+ }
1097
+ /** The final response for long-running trainPersonGroup operation */
1098
+ export interface TrainPersonGroupLogicalResponse extends HttpResponse {
1099
+ status: "200";
1100
+ }
1101
+ /** A successful call returns a new personId created. */
1102
+ export interface CreatePersonGroupPerson200Response extends HttpResponse {
1103
+ status: "200";
1104
+ body: CreatePersonResultOutput;
1105
+ }
1106
+ export interface CreatePersonGroupPersonDefaultHeaders {
1107
+ /** String error code indicating what went wrong. */
1108
+ "x-ms-error-code"?: string;
1109
+ }
1110
+ export interface CreatePersonGroupPersonDefaultResponse extends HttpResponse {
1111
+ status: string;
1112
+ body: FaceErrorResponseOutput;
1113
+ headers: RawHttpHeaders & CreatePersonGroupPersonDefaultHeaders;
1114
+ }
1115
+ /** The request has succeeded. */
1116
+ export interface DeletePersonGroupPerson200Response extends HttpResponse {
1117
+ status: "200";
1118
+ }
1119
+ export interface DeletePersonGroupPersonDefaultHeaders {
1120
+ /** String error code indicating what went wrong. */
1121
+ "x-ms-error-code"?: string;
1122
+ }
1123
+ export interface DeletePersonGroupPersonDefaultResponse extends HttpResponse {
1124
+ status: string;
1125
+ body: FaceErrorResponseOutput;
1126
+ headers: RawHttpHeaders & DeletePersonGroupPersonDefaultHeaders;
1127
+ }
1128
+ /** A successful call returns the person's information. */
1129
+ export interface GetPersonGroupPerson200Response extends HttpResponse {
1130
+ status: "200";
1131
+ body: PersonGroupPersonOutput;
1132
+ }
1133
+ export interface GetPersonGroupPersonDefaultHeaders {
1134
+ /** String error code indicating what went wrong. */
1135
+ "x-ms-error-code"?: string;
1136
+ }
1137
+ export interface GetPersonGroupPersonDefaultResponse extends HttpResponse {
1138
+ status: string;
1139
+ body: FaceErrorResponseOutput;
1140
+ headers: RawHttpHeaders & GetPersonGroupPersonDefaultHeaders;
1141
+ }
1142
+ /** The request has succeeded. */
1143
+ export interface UpdatePersonGroupPerson200Response extends HttpResponse {
1144
+ status: "200";
1145
+ }
1146
+ export interface UpdatePersonGroupPersonDefaultHeaders {
1147
+ /** String error code indicating what went wrong. */
1148
+ "x-ms-error-code"?: string;
1149
+ }
1150
+ export interface UpdatePersonGroupPersonDefaultResponse extends HttpResponse {
1151
+ status: string;
1152
+ body: FaceErrorResponseOutput;
1153
+ headers: RawHttpHeaders & UpdatePersonGroupPersonDefaultHeaders;
1154
+ }
1155
+ /** A successful call returns an array of person information that belong to the Person Group. */
1156
+ export interface GetPersonGroupPersons200Response extends HttpResponse {
1157
+ status: "200";
1158
+ body: Array<PersonGroupPersonOutput>;
1159
+ }
1160
+ export interface GetPersonGroupPersonsDefaultHeaders {
1161
+ /** String error code indicating what went wrong. */
1162
+ "x-ms-error-code"?: string;
1163
+ }
1164
+ export interface GetPersonGroupPersonsDefaultResponse extends HttpResponse {
1165
+ status: string;
1166
+ body: FaceErrorResponseOutput;
1167
+ headers: RawHttpHeaders & GetPersonGroupPersonsDefaultHeaders;
1168
+ }
1169
+ /** A successful call returns a new persistedFaceId. */
1170
+ export interface AddPersonGroupPersonFaceFromUrl200Response extends HttpResponse {
1171
+ status: "200";
1172
+ body: AddFaceResultOutput;
1173
+ }
1174
+ export interface AddPersonGroupPersonFaceFromUrlDefaultHeaders {
1175
+ /** String error code indicating what went wrong. */
1176
+ "x-ms-error-code"?: string;
1177
+ }
1178
+ export interface AddPersonGroupPersonFaceFromUrlDefaultResponse extends HttpResponse {
1179
+ status: string;
1180
+ body: FaceErrorResponseOutput;
1181
+ headers: RawHttpHeaders & AddPersonGroupPersonFaceFromUrlDefaultHeaders;
1182
+ }
1183
+ /** A successful call returns a new persistedFaceId. */
1184
+ export interface AddPersonGroupPersonFace200Response extends HttpResponse {
1185
+ status: "200";
1186
+ body: AddFaceResultOutput;
1187
+ }
1188
+ export interface AddPersonGroupPersonFaceDefaultHeaders {
1189
+ /** String error code indicating what went wrong. */
1190
+ "x-ms-error-code"?: string;
1191
+ }
1192
+ export interface AddPersonGroupPersonFaceDefaultResponse extends HttpResponse {
1193
+ status: string;
1194
+ body: FaceErrorResponseOutput;
1195
+ headers: RawHttpHeaders & AddPersonGroupPersonFaceDefaultHeaders;
1196
+ }
1197
+ /** The request has succeeded. */
1198
+ export interface DeletePersonGroupPersonFace200Response extends HttpResponse {
1199
+ status: "200";
1200
+ }
1201
+ export interface DeletePersonGroupPersonFaceDefaultHeaders {
1202
+ /** String error code indicating what went wrong. */
1203
+ "x-ms-error-code"?: string;
1204
+ }
1205
+ export interface DeletePersonGroupPersonFaceDefaultResponse extends HttpResponse {
1206
+ status: string;
1207
+ body: FaceErrorResponseOutput;
1208
+ headers: RawHttpHeaders & DeletePersonGroupPersonFaceDefaultHeaders;
1209
+ }
1210
+ /** A successful call returns target persisted face's information (persistedFaceId and userData). */
1211
+ export interface GetPersonGroupPersonFace200Response extends HttpResponse {
1212
+ status: "200";
1213
+ body: PersonGroupPersonFaceOutput;
1214
+ }
1215
+ export interface GetPersonGroupPersonFaceDefaultHeaders {
1216
+ /** String error code indicating what went wrong. */
1217
+ "x-ms-error-code"?: string;
1218
+ }
1219
+ export interface GetPersonGroupPersonFaceDefaultResponse extends HttpResponse {
1220
+ status: string;
1221
+ body: FaceErrorResponseOutput;
1222
+ headers: RawHttpHeaders & GetPersonGroupPersonFaceDefaultHeaders;
1223
+ }
1224
+ /** The request has succeeded. */
1225
+ export interface UpdatePersonGroupPersonFace200Response extends HttpResponse {
1226
+ status: "200";
1227
+ }
1228
+ export interface UpdatePersonGroupPersonFaceDefaultHeaders {
1229
+ /** String error code indicating what went wrong. */
1230
+ "x-ms-error-code"?: string;
1231
+ }
1232
+ export interface UpdatePersonGroupPersonFaceDefaultResponse extends HttpResponse {
1233
+ status: string;
1234
+ body: FaceErrorResponseOutput;
1235
+ headers: RawHttpHeaders & UpdatePersonGroupPersonFaceDefaultHeaders;
1236
+ }
1237
+ /** The request has succeeded. */
1238
+ export interface CreateLargePersonGroup200Response extends HttpResponse {
1239
+ status: "200";
1240
+ }
1241
+ export interface CreateLargePersonGroupDefaultHeaders {
1242
+ /** String error code indicating what went wrong. */
1243
+ "x-ms-error-code"?: string;
1244
+ }
1245
+ export interface CreateLargePersonGroupDefaultResponse extends HttpResponse {
1246
+ status: string;
1247
+ body: FaceErrorResponseOutput;
1248
+ headers: RawHttpHeaders & CreateLargePersonGroupDefaultHeaders;
1249
+ }
1250
+ /** The request has succeeded. */
1251
+ export interface DeleteLargePersonGroup200Response extends HttpResponse {
1252
+ status: "200";
1253
+ }
1254
+ export interface DeleteLargePersonGroupDefaultHeaders {
1255
+ /** String error code indicating what went wrong. */
1256
+ "x-ms-error-code"?: string;
1257
+ }
1258
+ export interface DeleteLargePersonGroupDefaultResponse extends HttpResponse {
1259
+ status: string;
1260
+ body: FaceErrorResponseOutput;
1261
+ headers: RawHttpHeaders & DeleteLargePersonGroupDefaultHeaders;
1262
+ }
1263
+ /** A successful call returns the Large Person Group's information. */
1264
+ export interface GetLargePersonGroup200Response extends HttpResponse {
1265
+ status: "200";
1266
+ body: LargePersonGroupOutput;
1267
+ }
1268
+ export interface GetLargePersonGroupDefaultHeaders {
1269
+ /** String error code indicating what went wrong. */
1270
+ "x-ms-error-code"?: string;
1271
+ }
1272
+ export interface GetLargePersonGroupDefaultResponse extends HttpResponse {
1273
+ status: string;
1274
+ body: FaceErrorResponseOutput;
1275
+ headers: RawHttpHeaders & GetLargePersonGroupDefaultHeaders;
1276
+ }
1277
+ /** The request has succeeded. */
1278
+ export interface UpdateLargePersonGroup200Response extends HttpResponse {
1279
+ status: "200";
1280
+ }
1281
+ export interface UpdateLargePersonGroupDefaultHeaders {
1282
+ /** String error code indicating what went wrong. */
1283
+ "x-ms-error-code"?: string;
1284
+ }
1285
+ export interface UpdateLargePersonGroupDefaultResponse extends HttpResponse {
1286
+ status: string;
1287
+ body: FaceErrorResponseOutput;
1288
+ headers: RawHttpHeaders & UpdateLargePersonGroupDefaultHeaders;
1289
+ }
1290
+ /** A successful call returns an array of Large Person Groups and their information (largePersonGroupId, name and userData). */
1291
+ export interface GetLargePersonGroups200Response extends HttpResponse {
1292
+ status: "200";
1293
+ body: Array<LargePersonGroupOutput>;
1294
+ }
1295
+ export interface GetLargePersonGroupsDefaultHeaders {
1296
+ /** String error code indicating what went wrong. */
1297
+ "x-ms-error-code"?: string;
1298
+ }
1299
+ export interface GetLargePersonGroupsDefaultResponse extends HttpResponse {
1300
+ status: string;
1301
+ body: FaceErrorResponseOutput;
1302
+ headers: RawHttpHeaders & GetLargePersonGroupsDefaultHeaders;
1303
+ }
1304
+ /** A successful call returns the Large Person Group's training status. */
1305
+ export interface GetLargePersonGroupTrainingStatus200Response extends HttpResponse {
1306
+ status: "200";
1307
+ body: TrainingResultOutput;
1308
+ }
1309
+ export interface GetLargePersonGroupTrainingStatusDefaultHeaders {
1310
+ /** String error code indicating what went wrong. */
1311
+ "x-ms-error-code"?: string;
1312
+ }
1313
+ export interface GetLargePersonGroupTrainingStatusDefaultResponse extends HttpResponse {
1314
+ status: string;
1315
+ body: FaceErrorResponseOutput;
1316
+ headers: RawHttpHeaders & GetLargePersonGroupTrainingStatusDefaultHeaders;
1317
+ }
1318
+ export interface TrainLargePersonGroup202Headers {
1319
+ "operation-location": string;
1320
+ }
1321
+ /** A successful call returns an empty response body. */
1322
+ export interface TrainLargePersonGroup202Response extends HttpResponse {
1323
+ status: "202";
1324
+ headers: RawHttpHeaders & TrainLargePersonGroup202Headers;
1325
+ }
1326
+ export interface TrainLargePersonGroupDefaultHeaders {
1327
+ /** String error code indicating what went wrong. */
1328
+ "x-ms-error-code"?: string;
1329
+ }
1330
+ export interface TrainLargePersonGroupDefaultResponse extends HttpResponse {
1331
+ status: string;
1332
+ body: FaceErrorResponseOutput;
1333
+ headers: RawHttpHeaders & TrainLargePersonGroupDefaultHeaders;
1334
+ }
1335
+ /** The final response for long-running trainLargePersonGroup operation */
1336
+ export interface TrainLargePersonGroupLogicalResponse extends HttpResponse {
1337
+ status: "200";
1338
+ }
1339
+ /** A successful call returns a new personId created. */
1340
+ export interface CreateLargePersonGroupPerson200Response extends HttpResponse {
1341
+ status: "200";
1342
+ body: CreatePersonResultOutput;
1343
+ }
1344
+ export interface CreateLargePersonGroupPersonDefaultHeaders {
1345
+ /** String error code indicating what went wrong. */
1346
+ "x-ms-error-code"?: string;
1347
+ }
1348
+ export interface CreateLargePersonGroupPersonDefaultResponse extends HttpResponse {
1349
+ status: string;
1350
+ body: FaceErrorResponseOutput;
1351
+ headers: RawHttpHeaders & CreateLargePersonGroupPersonDefaultHeaders;
1352
+ }
1353
+ /** The request has succeeded. */
1354
+ export interface DeleteLargePersonGroupPerson200Response extends HttpResponse {
1355
+ status: "200";
1356
+ }
1357
+ export interface DeleteLargePersonGroupPersonDefaultHeaders {
1358
+ /** String error code indicating what went wrong. */
1359
+ "x-ms-error-code"?: string;
1360
+ }
1361
+ export interface DeleteLargePersonGroupPersonDefaultResponse extends HttpResponse {
1362
+ status: string;
1363
+ body: FaceErrorResponseOutput;
1364
+ headers: RawHttpHeaders & DeleteLargePersonGroupPersonDefaultHeaders;
1365
+ }
1366
+ /** A successful call returns the person's information. */
1367
+ export interface GetLargePersonGroupPerson200Response extends HttpResponse {
1368
+ status: "200";
1369
+ body: LargePersonGroupPersonOutput;
1370
+ }
1371
+ export interface GetLargePersonGroupPersonDefaultHeaders {
1372
+ /** String error code indicating what went wrong. */
1373
+ "x-ms-error-code"?: string;
1374
+ }
1375
+ export interface GetLargePersonGroupPersonDefaultResponse extends HttpResponse {
1376
+ status: string;
1377
+ body: FaceErrorResponseOutput;
1378
+ headers: RawHttpHeaders & GetLargePersonGroupPersonDefaultHeaders;
1379
+ }
1380
+ /** The request has succeeded. */
1381
+ export interface UpdateLargePersonGroupPerson200Response extends HttpResponse {
1382
+ status: "200";
1383
+ }
1384
+ export interface UpdateLargePersonGroupPersonDefaultHeaders {
1385
+ /** String error code indicating what went wrong. */
1386
+ "x-ms-error-code"?: string;
1387
+ }
1388
+ export interface UpdateLargePersonGroupPersonDefaultResponse extends HttpResponse {
1389
+ status: string;
1390
+ body: FaceErrorResponseOutput;
1391
+ headers: RawHttpHeaders & UpdateLargePersonGroupPersonDefaultHeaders;
1392
+ }
1393
+ /** A successful call returns an array of person information that belong to the Large Person Group. */
1394
+ export interface GetLargePersonGroupPersons200Response extends HttpResponse {
1395
+ status: "200";
1396
+ body: Array<LargePersonGroupPersonOutput>;
1397
+ }
1398
+ export interface GetLargePersonGroupPersonsDefaultHeaders {
1399
+ /** String error code indicating what went wrong. */
1400
+ "x-ms-error-code"?: string;
1401
+ }
1402
+ export interface GetLargePersonGroupPersonsDefaultResponse extends HttpResponse {
1403
+ status: string;
1404
+ body: FaceErrorResponseOutput;
1405
+ headers: RawHttpHeaders & GetLargePersonGroupPersonsDefaultHeaders;
1406
+ }
1407
+ /** A successful call returns a new persistedFaceId. */
1408
+ export interface AddLargePersonGroupPersonFaceFromUrl200Response extends HttpResponse {
1409
+ status: "200";
1410
+ body: AddFaceResultOutput;
1411
+ }
1412
+ export interface AddLargePersonGroupPersonFaceFromUrlDefaultHeaders {
1413
+ /** String error code indicating what went wrong. */
1414
+ "x-ms-error-code"?: string;
1415
+ }
1416
+ export interface AddLargePersonGroupPersonFaceFromUrlDefaultResponse extends HttpResponse {
1417
+ status: string;
1418
+ body: FaceErrorResponseOutput;
1419
+ headers: RawHttpHeaders & AddLargePersonGroupPersonFaceFromUrlDefaultHeaders;
1420
+ }
1421
+ /** A successful call returns a new persistedFaceId. */
1422
+ export interface AddLargePersonGroupPersonFace200Response extends HttpResponse {
1423
+ status: "200";
1424
+ body: AddFaceResultOutput;
1425
+ }
1426
+ export interface AddLargePersonGroupPersonFaceDefaultHeaders {
1427
+ /** String error code indicating what went wrong. */
1428
+ "x-ms-error-code"?: string;
1429
+ }
1430
+ export interface AddLargePersonGroupPersonFaceDefaultResponse extends HttpResponse {
1431
+ status: string;
1432
+ body: FaceErrorResponseOutput;
1433
+ headers: RawHttpHeaders & AddLargePersonGroupPersonFaceDefaultHeaders;
1434
+ }
1435
+ /** The request has succeeded. */
1436
+ export interface DeleteLargePersonGroupPersonFace200Response extends HttpResponse {
1437
+ status: "200";
1438
+ }
1439
+ export interface DeleteLargePersonGroupPersonFaceDefaultHeaders {
1440
+ /** String error code indicating what went wrong. */
1441
+ "x-ms-error-code"?: string;
1442
+ }
1443
+ export interface DeleteLargePersonGroupPersonFaceDefaultResponse extends HttpResponse {
1444
+ status: string;
1445
+ body: FaceErrorResponseOutput;
1446
+ headers: RawHttpHeaders & DeleteLargePersonGroupPersonFaceDefaultHeaders;
1447
+ }
1448
+ /** A successful call returns target persisted face's information (persistedFaceId and userData). */
1449
+ export interface GetLargePersonGroupPersonFace200Response extends HttpResponse {
1450
+ status: "200";
1451
+ body: LargePersonGroupPersonFaceOutput;
1452
+ }
1453
+ export interface GetLargePersonGroupPersonFaceDefaultHeaders {
1454
+ /** String error code indicating what went wrong. */
1455
+ "x-ms-error-code"?: string;
1456
+ }
1457
+ export interface GetLargePersonGroupPersonFaceDefaultResponse extends HttpResponse {
1458
+ status: string;
1459
+ body: FaceErrorResponseOutput;
1460
+ headers: RawHttpHeaders & GetLargePersonGroupPersonFaceDefaultHeaders;
1461
+ }
1462
+ /** The request has succeeded. */
1463
+ export interface UpdateLargePersonGroupPersonFace200Response extends HttpResponse {
1464
+ status: "200";
1465
+ }
1466
+ export interface UpdateLargePersonGroupPersonFaceDefaultHeaders {
1467
+ /** String error code indicating what went wrong. */
1468
+ "x-ms-error-code"?: string;
1469
+ }
1470
+ export interface UpdateLargePersonGroupPersonFaceDefaultResponse extends HttpResponse {
1471
+ status: string;
1472
+ body: FaceErrorResponseOutput;
1473
+ headers: RawHttpHeaders & UpdateLargePersonGroupPersonFaceDefaultHeaders;
1474
+ }
1475
+ //# sourceMappingURL=responses.d.ts.map