@azure-rest/ai-vision-face 1.0.0-alpha.20250331.1 → 1.0.0-alpha.20250402.1

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.
@@ -0,0 +1,3794 @@
1
+ ## API Report File for "@azure-rest/ai-vision-face"
2
+
3
+ > Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/).
4
+
5
+ ```ts
6
+
7
+ import type { AbortSignalLike } from '@azure/abort-controller';
8
+ import type { CancelOnProgress } from '@azure/core-lro';
9
+ import type { Client } from '@azure-rest/core-client';
10
+ import type { ClientOptions } from '@azure-rest/core-client';
11
+ import type { CreateHttpPollerOptions } from '@azure/core-lro';
12
+ import type { HttpResponse } from '@azure-rest/core-client';
13
+ import type { KeyCredential } from '@azure/core-auth';
14
+ import type { OperationState } from '@azure/core-lro';
15
+ import type { RawHttpHeaders } from '@azure/core-rest-pipeline';
16
+ import type { RequestParameters } from '@azure-rest/core-client';
17
+ import type { StreamableMethod } from '@azure-rest/core-client';
18
+ import type { TokenCredential } from '@azure/core-auth';
19
+
20
+ // @public
21
+ export interface AccessoryItemOutput {
22
+ confidence: number;
23
+ type: AccessoryTypeOutput;
24
+ }
25
+
26
+ // @public
27
+ export type AccessoryTypeOutput = string;
28
+
29
+ // @public
30
+ export interface AddFaceFromUrlRequest {
31
+ url: string;
32
+ }
33
+
34
+ // @public
35
+ export interface AddFaceListFace200Response extends HttpResponse {
36
+ // (undocumented)
37
+ body: AddFaceResultOutput;
38
+ // (undocumented)
39
+ status: "200";
40
+ }
41
+
42
+ // @public (undocumented)
43
+ export interface AddFaceListFaceBodyParam {
44
+ body: string | Uint8Array | ReadableStream<Uint8Array> | NodeJS.ReadableStream;
45
+ }
46
+
47
+ // @public (undocumented)
48
+ export interface AddFaceListFaceDefaultHeaders {
49
+ "x-ms-error-code"?: string;
50
+ }
51
+
52
+ // @public (undocumented)
53
+ export interface AddFaceListFaceDefaultResponse extends HttpResponse {
54
+ // (undocumented)
55
+ body: FaceErrorResponseOutput;
56
+ // (undocumented)
57
+ headers: RawHttpHeaders & AddFaceListFaceDefaultHeaders;
58
+ // (undocumented)
59
+ status: string;
60
+ }
61
+
62
+ // @public (undocumented)
63
+ export interface AddFaceListFaceFromUrl {
64
+ post(options: AddFaceListFaceFromUrlParameters): StreamableMethod<AddFaceListFaceFromUrl200Response | AddFaceListFaceFromUrlDefaultResponse>;
65
+ post(options: AddFaceListFaceParameters): StreamableMethod<AddFaceListFace200Response | AddFaceListFaceDefaultResponse>;
66
+ }
67
+
68
+ // @public
69
+ export interface AddFaceListFaceFromUrl200Response extends HttpResponse {
70
+ // (undocumented)
71
+ body: AddFaceResultOutput;
72
+ // (undocumented)
73
+ status: "200";
74
+ }
75
+
76
+ // @public (undocumented)
77
+ export interface AddFaceListFaceFromUrlBodyParam {
78
+ // (undocumented)
79
+ body: AddFaceFromUrlRequest;
80
+ }
81
+
82
+ // @public (undocumented)
83
+ export interface AddFaceListFaceFromUrlDefaultHeaders {
84
+ "x-ms-error-code"?: string;
85
+ }
86
+
87
+ // @public (undocumented)
88
+ export interface AddFaceListFaceFromUrlDefaultResponse extends HttpResponse {
89
+ // (undocumented)
90
+ body: FaceErrorResponseOutput;
91
+ // (undocumented)
92
+ headers: RawHttpHeaders & AddFaceListFaceFromUrlDefaultHeaders;
93
+ // (undocumented)
94
+ status: string;
95
+ }
96
+
97
+ // @public (undocumented)
98
+ export type AddFaceListFaceFromUrlParameters = AddFaceListFaceFromUrlQueryParam & AddFaceListFaceFromUrlBodyParam & RequestParameters;
99
+
100
+ // @public (undocumented)
101
+ export interface AddFaceListFaceFromUrlQueryParam {
102
+ // (undocumented)
103
+ queryParameters?: AddFaceListFaceFromUrlQueryParamProperties;
104
+ }
105
+
106
+ // @public (undocumented)
107
+ export interface AddFaceListFaceFromUrlQueryParamProperties {
108
+ detectionModel?: DetectionModel;
109
+ targetFace?: number[] | AddFaceListFaceFromUrlTargetFaceQueryParam;
110
+ userData?: string;
111
+ }
112
+
113
+ // @public
114
+ export interface AddFaceListFaceFromUrlTargetFaceQueryParam {
115
+ explode: false;
116
+ style: "form";
117
+ value: number[];
118
+ }
119
+
120
+ // @public (undocumented)
121
+ export interface AddFaceListFaceMediaTypesParam {
122
+ contentType: "application/octet-stream";
123
+ }
124
+
125
+ // @public (undocumented)
126
+ export type AddFaceListFaceParameters = AddFaceListFaceQueryParam & AddFaceListFaceMediaTypesParam & AddFaceListFaceBodyParam & RequestParameters;
127
+
128
+ // @public (undocumented)
129
+ export interface AddFaceListFaceQueryParam {
130
+ // (undocumented)
131
+ queryParameters?: AddFaceListFaceQueryParamProperties;
132
+ }
133
+
134
+ // @public (undocumented)
135
+ export interface AddFaceListFaceQueryParamProperties {
136
+ detectionModel?: DetectionModel;
137
+ targetFace?: number[] | AddFaceListFaceTargetFaceQueryParam;
138
+ userData?: string;
139
+ }
140
+
141
+ // @public
142
+ export interface AddFaceListFaceTargetFaceQueryParam {
143
+ explode: false;
144
+ style: "form";
145
+ value: number[];
146
+ }
147
+
148
+ // @public
149
+ export interface AddFaceResultOutput {
150
+ persistedFaceId: string;
151
+ }
152
+
153
+ // @public
154
+ export interface AddLargeFaceListFace200Response extends HttpResponse {
155
+ // (undocumented)
156
+ body: AddFaceResultOutput;
157
+ // (undocumented)
158
+ status: "200";
159
+ }
160
+
161
+ // @public (undocumented)
162
+ export interface AddLargeFaceListFaceBodyParam {
163
+ body: string | Uint8Array | ReadableStream<Uint8Array> | NodeJS.ReadableStream;
164
+ }
165
+
166
+ // @public (undocumented)
167
+ export interface AddLargeFaceListFaceDefaultHeaders {
168
+ "x-ms-error-code"?: string;
169
+ }
170
+
171
+ // @public (undocumented)
172
+ export interface AddLargeFaceListFaceDefaultResponse extends HttpResponse {
173
+ // (undocumented)
174
+ body: FaceErrorResponseOutput;
175
+ // (undocumented)
176
+ headers: RawHttpHeaders & AddLargeFaceListFaceDefaultHeaders;
177
+ // (undocumented)
178
+ status: string;
179
+ }
180
+
181
+ // @public (undocumented)
182
+ export interface AddLargeFaceListFaceFromUrl {
183
+ get(options?: GetLargeFaceListFacesParameters): StreamableMethod<GetLargeFaceListFaces200Response | GetLargeFaceListFacesDefaultResponse>;
184
+ post(options: AddLargeFaceListFaceFromUrlParameters): StreamableMethod<AddLargeFaceListFaceFromUrl200Response | AddLargeFaceListFaceFromUrlDefaultResponse>;
185
+ post(options: AddLargeFaceListFaceParameters): StreamableMethod<AddLargeFaceListFace200Response | AddLargeFaceListFaceDefaultResponse>;
186
+ }
187
+
188
+ // @public
189
+ export interface AddLargeFaceListFaceFromUrl200Response extends HttpResponse {
190
+ // (undocumented)
191
+ body: AddFaceResultOutput;
192
+ // (undocumented)
193
+ status: "200";
194
+ }
195
+
196
+ // @public (undocumented)
197
+ export interface AddLargeFaceListFaceFromUrlBodyParam {
198
+ // (undocumented)
199
+ body: AddFaceFromUrlRequest;
200
+ }
201
+
202
+ // @public (undocumented)
203
+ export interface AddLargeFaceListFaceFromUrlDefaultHeaders {
204
+ "x-ms-error-code"?: string;
205
+ }
206
+
207
+ // @public (undocumented)
208
+ export interface AddLargeFaceListFaceFromUrlDefaultResponse extends HttpResponse {
209
+ // (undocumented)
210
+ body: FaceErrorResponseOutput;
211
+ // (undocumented)
212
+ headers: RawHttpHeaders & AddLargeFaceListFaceFromUrlDefaultHeaders;
213
+ // (undocumented)
214
+ status: string;
215
+ }
216
+
217
+ // @public (undocumented)
218
+ export type AddLargeFaceListFaceFromUrlParameters = AddLargeFaceListFaceFromUrlQueryParam & AddLargeFaceListFaceFromUrlBodyParam & RequestParameters;
219
+
220
+ // @public (undocumented)
221
+ export interface AddLargeFaceListFaceFromUrlQueryParam {
222
+ // (undocumented)
223
+ queryParameters?: AddLargeFaceListFaceFromUrlQueryParamProperties;
224
+ }
225
+
226
+ // @public (undocumented)
227
+ export interface AddLargeFaceListFaceFromUrlQueryParamProperties {
228
+ detectionModel?: DetectionModel;
229
+ targetFace?: number[] | AddLargeFaceListFaceFromUrlTargetFaceQueryParam;
230
+ userData?: string;
231
+ }
232
+
233
+ // @public
234
+ export interface AddLargeFaceListFaceFromUrlTargetFaceQueryParam {
235
+ explode: false;
236
+ style: "form";
237
+ value: number[];
238
+ }
239
+
240
+ // @public (undocumented)
241
+ export interface AddLargeFaceListFaceMediaTypesParam {
242
+ contentType: "application/octet-stream";
243
+ }
244
+
245
+ // @public (undocumented)
246
+ export type AddLargeFaceListFaceParameters = AddLargeFaceListFaceQueryParam & AddLargeFaceListFaceMediaTypesParam & AddLargeFaceListFaceBodyParam & RequestParameters;
247
+
248
+ // @public (undocumented)
249
+ export interface AddLargeFaceListFaceQueryParam {
250
+ // (undocumented)
251
+ queryParameters?: AddLargeFaceListFaceQueryParamProperties;
252
+ }
253
+
254
+ // @public (undocumented)
255
+ export interface AddLargeFaceListFaceQueryParamProperties {
256
+ detectionModel?: DetectionModel;
257
+ targetFace?: number[] | AddLargeFaceListFaceTargetFaceQueryParam;
258
+ userData?: string;
259
+ }
260
+
261
+ // @public
262
+ export interface AddLargeFaceListFaceTargetFaceQueryParam {
263
+ explode: false;
264
+ style: "form";
265
+ value: number[];
266
+ }
267
+
268
+ // @public
269
+ export interface AddLargePersonGroupPersonFace200Response extends HttpResponse {
270
+ // (undocumented)
271
+ body: AddFaceResultOutput;
272
+ // (undocumented)
273
+ status: "200";
274
+ }
275
+
276
+ // @public (undocumented)
277
+ export interface AddLargePersonGroupPersonFaceBodyParam {
278
+ body: string | Uint8Array | ReadableStream<Uint8Array> | NodeJS.ReadableStream;
279
+ }
280
+
281
+ // @public (undocumented)
282
+ export interface AddLargePersonGroupPersonFaceDefaultHeaders {
283
+ "x-ms-error-code"?: string;
284
+ }
285
+
286
+ // @public (undocumented)
287
+ export interface AddLargePersonGroupPersonFaceDefaultResponse extends HttpResponse {
288
+ // (undocumented)
289
+ body: FaceErrorResponseOutput;
290
+ // (undocumented)
291
+ headers: RawHttpHeaders & AddLargePersonGroupPersonFaceDefaultHeaders;
292
+ // (undocumented)
293
+ status: string;
294
+ }
295
+
296
+ // @public (undocumented)
297
+ export interface AddLargePersonGroupPersonFaceFromUrl {
298
+ post(options: AddLargePersonGroupPersonFaceFromUrlParameters): StreamableMethod<AddLargePersonGroupPersonFaceFromUrl200Response | AddLargePersonGroupPersonFaceFromUrlDefaultResponse>;
299
+ post(options: AddLargePersonGroupPersonFaceParameters): StreamableMethod<AddLargePersonGroupPersonFace200Response | AddLargePersonGroupPersonFaceDefaultResponse>;
300
+ }
301
+
302
+ // @public
303
+ export interface AddLargePersonGroupPersonFaceFromUrl200Response extends HttpResponse {
304
+ // (undocumented)
305
+ body: AddFaceResultOutput;
306
+ // (undocumented)
307
+ status: "200";
308
+ }
309
+
310
+ // @public (undocumented)
311
+ export interface AddLargePersonGroupPersonFaceFromUrlBodyParam {
312
+ // (undocumented)
313
+ body: AddFaceFromUrlRequest;
314
+ }
315
+
316
+ // @public (undocumented)
317
+ export interface AddLargePersonGroupPersonFaceFromUrlDefaultHeaders {
318
+ "x-ms-error-code"?: string;
319
+ }
320
+
321
+ // @public (undocumented)
322
+ export interface AddLargePersonGroupPersonFaceFromUrlDefaultResponse extends HttpResponse {
323
+ // (undocumented)
324
+ body: FaceErrorResponseOutput;
325
+ // (undocumented)
326
+ headers: RawHttpHeaders & AddLargePersonGroupPersonFaceFromUrlDefaultHeaders;
327
+ // (undocumented)
328
+ status: string;
329
+ }
330
+
331
+ // @public (undocumented)
332
+ export type AddLargePersonGroupPersonFaceFromUrlParameters = AddLargePersonGroupPersonFaceFromUrlQueryParam & AddLargePersonGroupPersonFaceFromUrlBodyParam & RequestParameters;
333
+
334
+ // @public (undocumented)
335
+ export interface AddLargePersonGroupPersonFaceFromUrlQueryParam {
336
+ // (undocumented)
337
+ queryParameters?: AddLargePersonGroupPersonFaceFromUrlQueryParamProperties;
338
+ }
339
+
340
+ // @public (undocumented)
341
+ export interface AddLargePersonGroupPersonFaceFromUrlQueryParamProperties {
342
+ detectionModel?: DetectionModel;
343
+ targetFace?: number[] | AddLargePersonGroupPersonFaceFromUrlTargetFaceQueryParam;
344
+ userData?: string;
345
+ }
346
+
347
+ // @public
348
+ export interface AddLargePersonGroupPersonFaceFromUrlTargetFaceQueryParam {
349
+ explode: false;
350
+ style: "form";
351
+ value: number[];
352
+ }
353
+
354
+ // @public (undocumented)
355
+ export interface AddLargePersonGroupPersonFaceMediaTypesParam {
356
+ contentType: "application/octet-stream";
357
+ }
358
+
359
+ // @public (undocumented)
360
+ export type AddLargePersonGroupPersonFaceParameters = AddLargePersonGroupPersonFaceQueryParam & AddLargePersonGroupPersonFaceMediaTypesParam & AddLargePersonGroupPersonFaceBodyParam & RequestParameters;
361
+
362
+ // @public (undocumented)
363
+ export interface AddLargePersonGroupPersonFaceQueryParam {
364
+ // (undocumented)
365
+ queryParameters?: AddLargePersonGroupPersonFaceQueryParamProperties;
366
+ }
367
+
368
+ // @public (undocumented)
369
+ export interface AddLargePersonGroupPersonFaceQueryParamProperties {
370
+ detectionModel?: DetectionModel;
371
+ targetFace?: number[] | AddLargePersonGroupPersonFaceTargetFaceQueryParam;
372
+ userData?: string;
373
+ }
374
+
375
+ // @public
376
+ export interface AddLargePersonGroupPersonFaceTargetFaceQueryParam {
377
+ explode: false;
378
+ style: "form";
379
+ value: number[];
380
+ }
381
+
382
+ // @public
383
+ export interface AddPersonGroupPersonFace200Response extends HttpResponse {
384
+ // (undocumented)
385
+ body: AddFaceResultOutput;
386
+ // (undocumented)
387
+ status: "200";
388
+ }
389
+
390
+ // @public (undocumented)
391
+ export interface AddPersonGroupPersonFaceBodyParam {
392
+ body: string | Uint8Array | ReadableStream<Uint8Array> | NodeJS.ReadableStream;
393
+ }
394
+
395
+ // @public (undocumented)
396
+ export interface AddPersonGroupPersonFaceDefaultHeaders {
397
+ "x-ms-error-code"?: string;
398
+ }
399
+
400
+ // @public (undocumented)
401
+ export interface AddPersonGroupPersonFaceDefaultResponse extends HttpResponse {
402
+ // (undocumented)
403
+ body: FaceErrorResponseOutput;
404
+ // (undocumented)
405
+ headers: RawHttpHeaders & AddPersonGroupPersonFaceDefaultHeaders;
406
+ // (undocumented)
407
+ status: string;
408
+ }
409
+
410
+ // @public (undocumented)
411
+ export interface AddPersonGroupPersonFaceFromUrl {
412
+ post(options: AddPersonGroupPersonFaceFromUrlParameters): StreamableMethod<AddPersonGroupPersonFaceFromUrl200Response | AddPersonGroupPersonFaceFromUrlDefaultResponse>;
413
+ post(options: AddPersonGroupPersonFaceParameters): StreamableMethod<AddPersonGroupPersonFace200Response | AddPersonGroupPersonFaceDefaultResponse>;
414
+ }
415
+
416
+ // @public
417
+ export interface AddPersonGroupPersonFaceFromUrl200Response extends HttpResponse {
418
+ // (undocumented)
419
+ body: AddFaceResultOutput;
420
+ // (undocumented)
421
+ status: "200";
422
+ }
423
+
424
+ // @public (undocumented)
425
+ export interface AddPersonGroupPersonFaceFromUrlBodyParam {
426
+ // (undocumented)
427
+ body: AddFaceFromUrlRequest;
428
+ }
429
+
430
+ // @public (undocumented)
431
+ export interface AddPersonGroupPersonFaceFromUrlDefaultHeaders {
432
+ "x-ms-error-code"?: string;
433
+ }
434
+
435
+ // @public (undocumented)
436
+ export interface AddPersonGroupPersonFaceFromUrlDefaultResponse extends HttpResponse {
437
+ // (undocumented)
438
+ body: FaceErrorResponseOutput;
439
+ // (undocumented)
440
+ headers: RawHttpHeaders & AddPersonGroupPersonFaceFromUrlDefaultHeaders;
441
+ // (undocumented)
442
+ status: string;
443
+ }
444
+
445
+ // @public (undocumented)
446
+ export type AddPersonGroupPersonFaceFromUrlParameters = AddPersonGroupPersonFaceFromUrlQueryParam & AddPersonGroupPersonFaceFromUrlBodyParam & RequestParameters;
447
+
448
+ // @public (undocumented)
449
+ export interface AddPersonGroupPersonFaceFromUrlQueryParam {
450
+ // (undocumented)
451
+ queryParameters?: AddPersonGroupPersonFaceFromUrlQueryParamProperties;
452
+ }
453
+
454
+ // @public (undocumented)
455
+ export interface AddPersonGroupPersonFaceFromUrlQueryParamProperties {
456
+ detectionModel?: DetectionModel;
457
+ targetFace?: number[] | AddPersonGroupPersonFaceFromUrlTargetFaceQueryParam;
458
+ userData?: string;
459
+ }
460
+
461
+ // @public
462
+ export interface AddPersonGroupPersonFaceFromUrlTargetFaceQueryParam {
463
+ explode: false;
464
+ style: "form";
465
+ value: number[];
466
+ }
467
+
468
+ // @public (undocumented)
469
+ export interface AddPersonGroupPersonFaceMediaTypesParam {
470
+ contentType: "application/octet-stream";
471
+ }
472
+
473
+ // @public (undocumented)
474
+ export type AddPersonGroupPersonFaceParameters = AddPersonGroupPersonFaceQueryParam & AddPersonGroupPersonFaceMediaTypesParam & AddPersonGroupPersonFaceBodyParam & RequestParameters;
475
+
476
+ // @public (undocumented)
477
+ export interface AddPersonGroupPersonFaceQueryParam {
478
+ // (undocumented)
479
+ queryParameters?: AddPersonGroupPersonFaceQueryParamProperties;
480
+ }
481
+
482
+ // @public (undocumented)
483
+ export interface AddPersonGroupPersonFaceQueryParamProperties {
484
+ detectionModel?: DetectionModel;
485
+ targetFace?: number[] | AddPersonGroupPersonFaceTargetFaceQueryParam;
486
+ userData?: string;
487
+ }
488
+
489
+ // @public
490
+ export interface AddPersonGroupPersonFaceTargetFaceQueryParam {
491
+ explode: false;
492
+ style: "form";
493
+ value: number[];
494
+ }
495
+
496
+ // @public
497
+ export type BlurLevelOutput = string;
498
+
499
+ // @public
500
+ export interface BlurPropertiesOutput {
501
+ blurLevel: BlurLevelOutput;
502
+ value: number;
503
+ }
504
+
505
+ // @public
506
+ function createClient(endpointParam: string, credentials: TokenCredential | KeyCredential, { apiVersion, ...options }?: FaceClientOptions): FaceClient;
507
+ export default createClient;
508
+
509
+ // @public
510
+ export interface CreateCollectionRequest {
511
+ name: string;
512
+ recognitionModel?: RecognitionModel;
513
+ userData?: string;
514
+ }
515
+
516
+ // @public (undocumented)
517
+ export interface CreateFaceList {
518
+ delete(options?: DeleteFaceListParameters): StreamableMethod<DeleteFaceList200Response | DeleteFaceListDefaultResponse>;
519
+ get(options?: GetFaceListParameters): StreamableMethod<GetFaceList200Response | GetFaceListDefaultResponse>;
520
+ patch(options: UpdateFaceListParameters): StreamableMethod<UpdateFaceList200Response | UpdateFaceListDefaultResponse>;
521
+ put(options: CreateFaceListParameters): StreamableMethod<CreateFaceList200Response | CreateFaceListDefaultResponse>;
522
+ }
523
+
524
+ // @public
525
+ export interface CreateFaceList200Response extends HttpResponse {
526
+ // (undocumented)
527
+ status: "200";
528
+ }
529
+
530
+ // @public (undocumented)
531
+ export interface CreateFaceListBodyParam {
532
+ // (undocumented)
533
+ body: CreateCollectionRequest;
534
+ }
535
+
536
+ // @public (undocumented)
537
+ export interface CreateFaceListDefaultHeaders {
538
+ "x-ms-error-code"?: string;
539
+ }
540
+
541
+ // @public (undocumented)
542
+ export interface CreateFaceListDefaultResponse extends HttpResponse {
543
+ // (undocumented)
544
+ body: FaceErrorResponseOutput;
545
+ // (undocumented)
546
+ headers: RawHttpHeaders & CreateFaceListDefaultHeaders;
547
+ // (undocumented)
548
+ status: string;
549
+ }
550
+
551
+ // @public (undocumented)
552
+ export type CreateFaceListParameters = CreateFaceListBodyParam & RequestParameters;
553
+
554
+ // @public (undocumented)
555
+ export interface CreateLargeFaceList {
556
+ delete(options?: DeleteLargeFaceListParameters): StreamableMethod<DeleteLargeFaceList200Response | DeleteLargeFaceListDefaultResponse>;
557
+ get(options?: GetLargeFaceListParameters): StreamableMethod<GetLargeFaceList200Response | GetLargeFaceListDefaultResponse>;
558
+ patch(options: UpdateLargeFaceListParameters): StreamableMethod<UpdateLargeFaceList200Response | UpdateLargeFaceListDefaultResponse>;
559
+ put(options: CreateLargeFaceListParameters): StreamableMethod<CreateLargeFaceList200Response | CreateLargeFaceListDefaultResponse>;
560
+ }
561
+
562
+ // @public
563
+ export interface CreateLargeFaceList200Response extends HttpResponse {
564
+ // (undocumented)
565
+ status: "200";
566
+ }
567
+
568
+ // @public (undocumented)
569
+ export interface CreateLargeFaceListBodyParam {
570
+ // (undocumented)
571
+ body: CreateCollectionRequest;
572
+ }
573
+
574
+ // @public (undocumented)
575
+ export interface CreateLargeFaceListDefaultHeaders {
576
+ "x-ms-error-code"?: string;
577
+ }
578
+
579
+ // @public (undocumented)
580
+ export interface CreateLargeFaceListDefaultResponse extends HttpResponse {
581
+ // (undocumented)
582
+ body: FaceErrorResponseOutput;
583
+ // (undocumented)
584
+ headers: RawHttpHeaders & CreateLargeFaceListDefaultHeaders;
585
+ // (undocumented)
586
+ status: string;
587
+ }
588
+
589
+ // @public (undocumented)
590
+ export type CreateLargeFaceListParameters = CreateLargeFaceListBodyParam & RequestParameters;
591
+
592
+ // @public (undocumented)
593
+ export interface CreateLargePersonGroup {
594
+ delete(options?: DeleteLargePersonGroupParameters): StreamableMethod<DeleteLargePersonGroup200Response | DeleteLargePersonGroupDefaultResponse>;
595
+ get(options?: GetLargePersonGroupParameters): StreamableMethod<GetLargePersonGroup200Response | GetLargePersonGroupDefaultResponse>;
596
+ patch(options: UpdateLargePersonGroupParameters): StreamableMethod<UpdateLargePersonGroup200Response | UpdateLargePersonGroupDefaultResponse>;
597
+ put(options: CreateLargePersonGroupParameters): StreamableMethod<CreateLargePersonGroup200Response | CreateLargePersonGroupDefaultResponse>;
598
+ }
599
+
600
+ // @public
601
+ export interface CreateLargePersonGroup200Response extends HttpResponse {
602
+ // (undocumented)
603
+ status: "200";
604
+ }
605
+
606
+ // @public (undocumented)
607
+ export interface CreateLargePersonGroupBodyParam {
608
+ // (undocumented)
609
+ body: CreateCollectionRequest;
610
+ }
611
+
612
+ // @public (undocumented)
613
+ export interface CreateLargePersonGroupDefaultHeaders {
614
+ "x-ms-error-code"?: string;
615
+ }
616
+
617
+ // @public (undocumented)
618
+ export interface CreateLargePersonGroupDefaultResponse extends HttpResponse {
619
+ // (undocumented)
620
+ body: FaceErrorResponseOutput;
621
+ // (undocumented)
622
+ headers: RawHttpHeaders & CreateLargePersonGroupDefaultHeaders;
623
+ // (undocumented)
624
+ status: string;
625
+ }
626
+
627
+ // @public (undocumented)
628
+ export type CreateLargePersonGroupParameters = CreateLargePersonGroupBodyParam & RequestParameters;
629
+
630
+ // @public (undocumented)
631
+ export interface CreateLargePersonGroupPerson {
632
+ get(options?: GetLargePersonGroupPersonsParameters): StreamableMethod<GetLargePersonGroupPersons200Response | GetLargePersonGroupPersonsDefaultResponse>;
633
+ post(options: CreateLargePersonGroupPersonParameters): StreamableMethod<CreateLargePersonGroupPerson200Response | CreateLargePersonGroupPersonDefaultResponse>;
634
+ }
635
+
636
+ // @public
637
+ export interface CreateLargePersonGroupPerson200Response extends HttpResponse {
638
+ // (undocumented)
639
+ body: CreatePersonResultOutput;
640
+ // (undocumented)
641
+ status: "200";
642
+ }
643
+
644
+ // @public (undocumented)
645
+ export interface CreateLargePersonGroupPersonBodyParam {
646
+ // (undocumented)
647
+ body: UserDefinedFields;
648
+ }
649
+
650
+ // @public (undocumented)
651
+ export interface CreateLargePersonGroupPersonDefaultHeaders {
652
+ "x-ms-error-code"?: string;
653
+ }
654
+
655
+ // @public (undocumented)
656
+ export interface CreateLargePersonGroupPersonDefaultResponse extends HttpResponse {
657
+ // (undocumented)
658
+ body: FaceErrorResponseOutput;
659
+ // (undocumented)
660
+ headers: RawHttpHeaders & CreateLargePersonGroupPersonDefaultHeaders;
661
+ // (undocumented)
662
+ status: string;
663
+ }
664
+
665
+ // @public (undocumented)
666
+ export type CreateLargePersonGroupPersonParameters = CreateLargePersonGroupPersonBodyParam & RequestParameters;
667
+
668
+ // @public (undocumented)
669
+ export interface CreateLivenessSession {
670
+ post(options: CreateLivenessSessionParameters): StreamableMethod<CreateLivenessSession200Response | CreateLivenessSessionDefaultResponse>;
671
+ }
672
+
673
+ // @public
674
+ export interface CreateLivenessSession200Response extends HttpResponse {
675
+ // (undocumented)
676
+ body: LivenessSessionOutput;
677
+ // (undocumented)
678
+ status: "200";
679
+ }
680
+
681
+ // @public (undocumented)
682
+ export interface CreateLivenessSessionBodyParam {
683
+ body: CreateLivenessSessionContent;
684
+ }
685
+
686
+ // @public
687
+ export interface CreateLivenessSessionContent {
688
+ authTokenTimeToLiveInSeconds?: number;
689
+ deviceCorrelationId?: string;
690
+ deviceCorrelationIdSetInClient?: boolean;
691
+ enableSessionImage?: boolean;
692
+ livenessModelVersion?: LivenessModel;
693
+ livenessOperationMode: LivenessOperationMode;
694
+ }
695
+
696
+ // @public (undocumented)
697
+ export interface CreateLivenessSessionDefaultHeaders {
698
+ "x-ms-error-code"?: string;
699
+ }
700
+
701
+ // @public (undocumented)
702
+ export interface CreateLivenessSessionDefaultResponse extends HttpResponse {
703
+ // (undocumented)
704
+ body: FaceErrorResponseOutput;
705
+ // (undocumented)
706
+ headers: RawHttpHeaders & CreateLivenessSessionDefaultHeaders;
707
+ // (undocumented)
708
+ status: string;
709
+ }
710
+
711
+ // @public (undocumented)
712
+ export type CreateLivenessSessionParameters = CreateLivenessSessionBodyParam & RequestParameters;
713
+
714
+ // @public (undocumented)
715
+ export interface CreateLivenessWithVerifySession {
716
+ post(options: CreateLivenessWithVerifySessionParameters): StreamableMethod<CreateLivenessWithVerifySession200Response | CreateLivenessWithVerifySessionDefaultResponse>;
717
+ }
718
+
719
+ // @public
720
+ export interface CreateLivenessWithVerifySession200Response extends HttpResponse {
721
+ // (undocumented)
722
+ body: LivenessWithVerifySessionOutput;
723
+ // (undocumented)
724
+ status: "200";
725
+ }
726
+
727
+ // @public (undocumented)
728
+ export interface CreateLivenessWithVerifySessionBodyParam {
729
+ body: CreateLivenessWithVerifySessionContent;
730
+ }
731
+
732
+ // @public
733
+ export type CreateLivenessWithVerifySessionContent = FormData | Array<CreateLivenessWithVerifySessionContentLivenessOperationModePartDescriptor | CreateLivenessWithVerifySessionContentDeviceCorrelationIdSetInClientPartDescriptor | CreateLivenessWithVerifySessionContentEnableSessionImagePartDescriptor | CreateLivenessWithVerifySessionContentLivenessModelVersionPartDescriptor | CreateLivenessWithVerifySessionContentDeviceCorrelationIdPartDescriptor | CreateLivenessWithVerifySessionContentAuthTokenTimeToLiveInSecondsPartDescriptor | CreateLivenessWithVerifySessionContentReturnVerifyImageHashPartDescriptor | CreateLivenessWithVerifySessionContentVerifyConfidenceThresholdPartDescriptor | CreateLivenessWithVerifySessionContentVerifyImagePartDescriptor>;
734
+
735
+ // @public (undocumented)
736
+ export interface CreateLivenessWithVerifySessionContentAuthTokenTimeToLiveInSecondsPartDescriptor {
737
+ // (undocumented)
738
+ body: number;
739
+ // (undocumented)
740
+ name: "authTokenTimeToLiveInSeconds";
741
+ }
742
+
743
+ // @public (undocumented)
744
+ export interface CreateLivenessWithVerifySessionContentDeviceCorrelationIdPartDescriptor {
745
+ // (undocumented)
746
+ body: string;
747
+ // (undocumented)
748
+ name: "deviceCorrelationId";
749
+ }
750
+
751
+ // @public (undocumented)
752
+ export interface CreateLivenessWithVerifySessionContentDeviceCorrelationIdSetInClientPartDescriptor {
753
+ // (undocumented)
754
+ body: boolean;
755
+ // (undocumented)
756
+ name: "deviceCorrelationIdSetInClient";
757
+ }
758
+
759
+ // @public (undocumented)
760
+ export interface CreateLivenessWithVerifySessionContentEnableSessionImagePartDescriptor {
761
+ // (undocumented)
762
+ body: boolean;
763
+ // (undocumented)
764
+ name: "enableSessionImage";
765
+ }
766
+
767
+ // @public (undocumented)
768
+ export interface CreateLivenessWithVerifySessionContentLivenessModelVersionPartDescriptor {
769
+ // (undocumented)
770
+ body: LivenessModel;
771
+ // (undocumented)
772
+ name: "livenessModelVersion";
773
+ }
774
+
775
+ // @public (undocumented)
776
+ export interface CreateLivenessWithVerifySessionContentLivenessOperationModePartDescriptor {
777
+ // (undocumented)
778
+ body: LivenessOperationMode;
779
+ // (undocumented)
780
+ name: "livenessOperationMode";
781
+ }
782
+
783
+ // @public (undocumented)
784
+ export interface CreateLivenessWithVerifySessionContentReturnVerifyImageHashPartDescriptor {
785
+ // (undocumented)
786
+ body: boolean;
787
+ // (undocumented)
788
+ name: "returnVerifyImageHash";
789
+ }
790
+
791
+ // @public (undocumented)
792
+ export interface CreateLivenessWithVerifySessionContentVerifyConfidenceThresholdPartDescriptor {
793
+ // (undocumented)
794
+ body: number;
795
+ // (undocumented)
796
+ name: "verifyConfidenceThreshold";
797
+ }
798
+
799
+ // @public (undocumented)
800
+ export interface CreateLivenessWithVerifySessionContentVerifyImagePartDescriptor {
801
+ // (undocumented)
802
+ body: string | Uint8Array | ReadableStream<Uint8Array> | NodeJS.ReadableStream | File;
803
+ // (undocumented)
804
+ contentType?: string;
805
+ // (undocumented)
806
+ filename?: string;
807
+ // (undocumented)
808
+ name: "verifyImage";
809
+ }
810
+
811
+ // @public (undocumented)
812
+ export interface CreateLivenessWithVerifySessionDefaultHeaders {
813
+ "x-ms-error-code"?: string;
814
+ }
815
+
816
+ // @public (undocumented)
817
+ export interface CreateLivenessWithVerifySessionDefaultResponse extends HttpResponse {
818
+ // (undocumented)
819
+ body: FaceErrorResponseOutput;
820
+ // (undocumented)
821
+ headers: RawHttpHeaders & CreateLivenessWithVerifySessionDefaultHeaders;
822
+ // (undocumented)
823
+ status: string;
824
+ }
825
+
826
+ // @public (undocumented)
827
+ export interface CreateLivenessWithVerifySessionMediaTypesParam {
828
+ contentType: "multipart/form-data";
829
+ }
830
+
831
+ // @public (undocumented)
832
+ export type CreateLivenessWithVerifySessionParameters = CreateLivenessWithVerifySessionMediaTypesParam & CreateLivenessWithVerifySessionBodyParam & RequestParameters;
833
+
834
+ // @public (undocumented)
835
+ export interface CreatePersonGroup {
836
+ delete(options?: DeletePersonGroupParameters): StreamableMethod<DeletePersonGroup200Response | DeletePersonGroupDefaultResponse>;
837
+ get(options?: GetPersonGroupParameters): StreamableMethod<GetPersonGroup200Response | GetPersonGroupDefaultResponse>;
838
+ patch(options: UpdatePersonGroupParameters): StreamableMethod<UpdatePersonGroup200Response | UpdatePersonGroupDefaultResponse>;
839
+ put(options: CreatePersonGroupParameters): StreamableMethod<CreatePersonGroup200Response | CreatePersonGroupDefaultResponse>;
840
+ }
841
+
842
+ // @public
843
+ export interface CreatePersonGroup200Response extends HttpResponse {
844
+ // (undocumented)
845
+ status: "200";
846
+ }
847
+
848
+ // @public (undocumented)
849
+ export interface CreatePersonGroupBodyParam {
850
+ // (undocumented)
851
+ body: CreateCollectionRequest;
852
+ }
853
+
854
+ // @public (undocumented)
855
+ export interface CreatePersonGroupDefaultHeaders {
856
+ "x-ms-error-code"?: string;
857
+ }
858
+
859
+ // @public (undocumented)
860
+ export interface CreatePersonGroupDefaultResponse extends HttpResponse {
861
+ // (undocumented)
862
+ body: FaceErrorResponseOutput;
863
+ // (undocumented)
864
+ headers: RawHttpHeaders & CreatePersonGroupDefaultHeaders;
865
+ // (undocumented)
866
+ status: string;
867
+ }
868
+
869
+ // @public (undocumented)
870
+ export type CreatePersonGroupParameters = CreatePersonGroupBodyParam & RequestParameters;
871
+
872
+ // @public (undocumented)
873
+ export interface CreatePersonGroupPerson {
874
+ get(options?: GetPersonGroupPersonsParameters): StreamableMethod<GetPersonGroupPersons200Response | GetPersonGroupPersonsDefaultResponse>;
875
+ post(options: CreatePersonGroupPersonParameters): StreamableMethod<CreatePersonGroupPerson200Response | CreatePersonGroupPersonDefaultResponse>;
876
+ }
877
+
878
+ // @public
879
+ export interface CreatePersonGroupPerson200Response extends HttpResponse {
880
+ // (undocumented)
881
+ body: CreatePersonResultOutput;
882
+ // (undocumented)
883
+ status: "200";
884
+ }
885
+
886
+ // @public (undocumented)
887
+ export interface CreatePersonGroupPersonBodyParam {
888
+ // (undocumented)
889
+ body: UserDefinedFields;
890
+ }
891
+
892
+ // @public (undocumented)
893
+ export interface CreatePersonGroupPersonDefaultHeaders {
894
+ "x-ms-error-code"?: string;
895
+ }
896
+
897
+ // @public (undocumented)
898
+ export interface CreatePersonGroupPersonDefaultResponse extends HttpResponse {
899
+ // (undocumented)
900
+ body: FaceErrorResponseOutput;
901
+ // (undocumented)
902
+ headers: RawHttpHeaders & CreatePersonGroupPersonDefaultHeaders;
903
+ // (undocumented)
904
+ status: string;
905
+ }
906
+
907
+ // @public (undocumented)
908
+ export type CreatePersonGroupPersonParameters = CreatePersonGroupPersonBodyParam & RequestParameters;
909
+
910
+ // @public
911
+ export interface CreatePersonResultOutput {
912
+ personId: string;
913
+ }
914
+
915
+ // @public
916
+ export interface DeleteFaceList200Response extends HttpResponse {
917
+ // (undocumented)
918
+ status: "200";
919
+ }
920
+
921
+ // @public (undocumented)
922
+ export interface DeleteFaceListDefaultHeaders {
923
+ "x-ms-error-code"?: string;
924
+ }
925
+
926
+ // @public (undocumented)
927
+ export interface DeleteFaceListDefaultResponse extends HttpResponse {
928
+ // (undocumented)
929
+ body: FaceErrorResponseOutput;
930
+ // (undocumented)
931
+ headers: RawHttpHeaders & DeleteFaceListDefaultHeaders;
932
+ // (undocumented)
933
+ status: string;
934
+ }
935
+
936
+ // @public (undocumented)
937
+ export interface DeleteFaceListFace {
938
+ delete(options?: DeleteFaceListFaceParameters): StreamableMethod<DeleteFaceListFace200Response | DeleteFaceListFaceDefaultResponse>;
939
+ }
940
+
941
+ // @public
942
+ export interface DeleteFaceListFace200Response extends HttpResponse {
943
+ // (undocumented)
944
+ status: "200";
945
+ }
946
+
947
+ // @public (undocumented)
948
+ export interface DeleteFaceListFaceDefaultHeaders {
949
+ "x-ms-error-code"?: string;
950
+ }
951
+
952
+ // @public (undocumented)
953
+ export interface DeleteFaceListFaceDefaultResponse extends HttpResponse {
954
+ // (undocumented)
955
+ body: FaceErrorResponseOutput;
956
+ // (undocumented)
957
+ headers: RawHttpHeaders & DeleteFaceListFaceDefaultHeaders;
958
+ // (undocumented)
959
+ status: string;
960
+ }
961
+
962
+ // @public (undocumented)
963
+ export type DeleteFaceListFaceParameters = RequestParameters;
964
+
965
+ // @public (undocumented)
966
+ export type DeleteFaceListParameters = RequestParameters;
967
+
968
+ // @public
969
+ export interface DeleteLargeFaceList200Response extends HttpResponse {
970
+ // (undocumented)
971
+ status: "200";
972
+ }
973
+
974
+ // @public (undocumented)
975
+ export interface DeleteLargeFaceListDefaultHeaders {
976
+ "x-ms-error-code"?: string;
977
+ }
978
+
979
+ // @public (undocumented)
980
+ export interface DeleteLargeFaceListDefaultResponse extends HttpResponse {
981
+ // (undocumented)
982
+ body: FaceErrorResponseOutput;
983
+ // (undocumented)
984
+ headers: RawHttpHeaders & DeleteLargeFaceListDefaultHeaders;
985
+ // (undocumented)
986
+ status: string;
987
+ }
988
+
989
+ // @public (undocumented)
990
+ export interface DeleteLargeFaceListFace {
991
+ delete(options?: DeleteLargeFaceListFaceParameters): StreamableMethod<DeleteLargeFaceListFace200Response | DeleteLargeFaceListFaceDefaultResponse>;
992
+ get(options?: GetLargeFaceListFaceParameters): StreamableMethod<GetLargeFaceListFace200Response | GetLargeFaceListFaceDefaultResponse>;
993
+ patch(options: UpdateLargeFaceListFaceParameters): StreamableMethod<UpdateLargeFaceListFace200Response | UpdateLargeFaceListFaceDefaultResponse>;
994
+ }
995
+
996
+ // @public
997
+ export interface DeleteLargeFaceListFace200Response extends HttpResponse {
998
+ // (undocumented)
999
+ status: "200";
1000
+ }
1001
+
1002
+ // @public (undocumented)
1003
+ export interface DeleteLargeFaceListFaceDefaultHeaders {
1004
+ "x-ms-error-code"?: string;
1005
+ }
1006
+
1007
+ // @public (undocumented)
1008
+ export interface DeleteLargeFaceListFaceDefaultResponse extends HttpResponse {
1009
+ // (undocumented)
1010
+ body: FaceErrorResponseOutput;
1011
+ // (undocumented)
1012
+ headers: RawHttpHeaders & DeleteLargeFaceListFaceDefaultHeaders;
1013
+ // (undocumented)
1014
+ status: string;
1015
+ }
1016
+
1017
+ // @public (undocumented)
1018
+ export type DeleteLargeFaceListFaceParameters = RequestParameters;
1019
+
1020
+ // @public (undocumented)
1021
+ export type DeleteLargeFaceListParameters = RequestParameters;
1022
+
1023
+ // @public
1024
+ export interface DeleteLargePersonGroup200Response extends HttpResponse {
1025
+ // (undocumented)
1026
+ status: "200";
1027
+ }
1028
+
1029
+ // @public (undocumented)
1030
+ export interface DeleteLargePersonGroupDefaultHeaders {
1031
+ "x-ms-error-code"?: string;
1032
+ }
1033
+
1034
+ // @public (undocumented)
1035
+ export interface DeleteLargePersonGroupDefaultResponse extends HttpResponse {
1036
+ // (undocumented)
1037
+ body: FaceErrorResponseOutput;
1038
+ // (undocumented)
1039
+ headers: RawHttpHeaders & DeleteLargePersonGroupDefaultHeaders;
1040
+ // (undocumented)
1041
+ status: string;
1042
+ }
1043
+
1044
+ // @public (undocumented)
1045
+ export type DeleteLargePersonGroupParameters = RequestParameters;
1046
+
1047
+ // @public (undocumented)
1048
+ export interface DeleteLargePersonGroupPerson {
1049
+ delete(options?: DeleteLargePersonGroupPersonParameters): StreamableMethod<DeleteLargePersonGroupPerson200Response | DeleteLargePersonGroupPersonDefaultResponse>;
1050
+ get(options?: GetLargePersonGroupPersonParameters): StreamableMethod<GetLargePersonGroupPerson200Response | GetLargePersonGroupPersonDefaultResponse>;
1051
+ patch(options: UpdateLargePersonGroupPersonParameters): StreamableMethod<UpdateLargePersonGroupPerson200Response | UpdateLargePersonGroupPersonDefaultResponse>;
1052
+ }
1053
+
1054
+ // @public
1055
+ export interface DeleteLargePersonGroupPerson200Response extends HttpResponse {
1056
+ // (undocumented)
1057
+ status: "200";
1058
+ }
1059
+
1060
+ // @public (undocumented)
1061
+ export interface DeleteLargePersonGroupPersonDefaultHeaders {
1062
+ "x-ms-error-code"?: string;
1063
+ }
1064
+
1065
+ // @public (undocumented)
1066
+ export interface DeleteLargePersonGroupPersonDefaultResponse extends HttpResponse {
1067
+ // (undocumented)
1068
+ body: FaceErrorResponseOutput;
1069
+ // (undocumented)
1070
+ headers: RawHttpHeaders & DeleteLargePersonGroupPersonDefaultHeaders;
1071
+ // (undocumented)
1072
+ status: string;
1073
+ }
1074
+
1075
+ // @public (undocumented)
1076
+ export interface DeleteLargePersonGroupPersonFace {
1077
+ delete(options?: DeleteLargePersonGroupPersonFaceParameters): StreamableMethod<DeleteLargePersonGroupPersonFace200Response | DeleteLargePersonGroupPersonFaceDefaultResponse>;
1078
+ get(options?: GetLargePersonGroupPersonFaceParameters): StreamableMethod<GetLargePersonGroupPersonFace200Response | GetLargePersonGroupPersonFaceDefaultResponse>;
1079
+ patch(options: UpdateLargePersonGroupPersonFaceParameters): StreamableMethod<UpdateLargePersonGroupPersonFace200Response | UpdateLargePersonGroupPersonFaceDefaultResponse>;
1080
+ }
1081
+
1082
+ // @public
1083
+ export interface DeleteLargePersonGroupPersonFace200Response extends HttpResponse {
1084
+ // (undocumented)
1085
+ status: "200";
1086
+ }
1087
+
1088
+ // @public (undocumented)
1089
+ export interface DeleteLargePersonGroupPersonFaceDefaultHeaders {
1090
+ "x-ms-error-code"?: string;
1091
+ }
1092
+
1093
+ // @public (undocumented)
1094
+ export interface DeleteLargePersonGroupPersonFaceDefaultResponse extends HttpResponse {
1095
+ // (undocumented)
1096
+ body: FaceErrorResponseOutput;
1097
+ // (undocumented)
1098
+ headers: RawHttpHeaders & DeleteLargePersonGroupPersonFaceDefaultHeaders;
1099
+ // (undocumented)
1100
+ status: string;
1101
+ }
1102
+
1103
+ // @public (undocumented)
1104
+ export type DeleteLargePersonGroupPersonFaceParameters = RequestParameters;
1105
+
1106
+ // @public (undocumented)
1107
+ export type DeleteLargePersonGroupPersonParameters = RequestParameters;
1108
+
1109
+ // @public (undocumented)
1110
+ export interface DeleteLivenessSession {
1111
+ delete(options?: DeleteLivenessSessionParameters): StreamableMethod<DeleteLivenessSession204Response | DeleteLivenessSessionDefaultResponse>;
1112
+ get(options?: GetLivenessSessionResultParameters): StreamableMethod<GetLivenessSessionResult200Response | GetLivenessSessionResultDefaultResponse>;
1113
+ }
1114
+
1115
+ // @public
1116
+ export interface DeleteLivenessSession204Response extends HttpResponse {
1117
+ // (undocumented)
1118
+ status: "204";
1119
+ }
1120
+
1121
+ // @public (undocumented)
1122
+ export interface DeleteLivenessSessionDefaultHeaders {
1123
+ "x-ms-error-code"?: string;
1124
+ }
1125
+
1126
+ // @public (undocumented)
1127
+ export interface DeleteLivenessSessionDefaultResponse extends HttpResponse {
1128
+ // (undocumented)
1129
+ body: FaceErrorResponseOutput;
1130
+ // (undocumented)
1131
+ headers: RawHttpHeaders & DeleteLivenessSessionDefaultHeaders;
1132
+ // (undocumented)
1133
+ status: string;
1134
+ }
1135
+
1136
+ // @public (undocumented)
1137
+ export type DeleteLivenessSessionParameters = RequestParameters;
1138
+
1139
+ // @public (undocumented)
1140
+ export interface DeleteLivenessWithVerifySession {
1141
+ delete(options?: DeleteLivenessWithVerifySessionParameters): StreamableMethod<DeleteLivenessWithVerifySession204Response | DeleteLivenessWithVerifySessionDefaultResponse>;
1142
+ get(options?: GetLivenessWithVerifySessionResultParameters): StreamableMethod<GetLivenessWithVerifySessionResult200Response | GetLivenessWithVerifySessionResultDefaultResponse>;
1143
+ }
1144
+
1145
+ // @public
1146
+ export interface DeleteLivenessWithVerifySession204Response extends HttpResponse {
1147
+ // (undocumented)
1148
+ status: "204";
1149
+ }
1150
+
1151
+ // @public (undocumented)
1152
+ export interface DeleteLivenessWithVerifySessionDefaultHeaders {
1153
+ "x-ms-error-code"?: string;
1154
+ }
1155
+
1156
+ // @public (undocumented)
1157
+ export interface DeleteLivenessWithVerifySessionDefaultResponse extends HttpResponse {
1158
+ // (undocumented)
1159
+ body: FaceErrorResponseOutput;
1160
+ // (undocumented)
1161
+ headers: RawHttpHeaders & DeleteLivenessWithVerifySessionDefaultHeaders;
1162
+ // (undocumented)
1163
+ status: string;
1164
+ }
1165
+
1166
+ // @public (undocumented)
1167
+ export type DeleteLivenessWithVerifySessionParameters = RequestParameters;
1168
+
1169
+ // @public
1170
+ export interface DeletePersonGroup200Response extends HttpResponse {
1171
+ // (undocumented)
1172
+ status: "200";
1173
+ }
1174
+
1175
+ // @public (undocumented)
1176
+ export interface DeletePersonGroupDefaultHeaders {
1177
+ "x-ms-error-code"?: string;
1178
+ }
1179
+
1180
+ // @public (undocumented)
1181
+ export interface DeletePersonGroupDefaultResponse extends HttpResponse {
1182
+ // (undocumented)
1183
+ body: FaceErrorResponseOutput;
1184
+ // (undocumented)
1185
+ headers: RawHttpHeaders & DeletePersonGroupDefaultHeaders;
1186
+ // (undocumented)
1187
+ status: string;
1188
+ }
1189
+
1190
+ // @public (undocumented)
1191
+ export type DeletePersonGroupParameters = RequestParameters;
1192
+
1193
+ // @public (undocumented)
1194
+ export interface DeletePersonGroupPerson {
1195
+ delete(options?: DeletePersonGroupPersonParameters): StreamableMethod<DeletePersonGroupPerson200Response | DeletePersonGroupPersonDefaultResponse>;
1196
+ get(options?: GetPersonGroupPersonParameters): StreamableMethod<GetPersonGroupPerson200Response | GetPersonGroupPersonDefaultResponse>;
1197
+ patch(options: UpdatePersonGroupPersonParameters): StreamableMethod<UpdatePersonGroupPerson200Response | UpdatePersonGroupPersonDefaultResponse>;
1198
+ }
1199
+
1200
+ // @public
1201
+ export interface DeletePersonGroupPerson200Response extends HttpResponse {
1202
+ // (undocumented)
1203
+ status: "200";
1204
+ }
1205
+
1206
+ // @public (undocumented)
1207
+ export interface DeletePersonGroupPersonDefaultHeaders {
1208
+ "x-ms-error-code"?: string;
1209
+ }
1210
+
1211
+ // @public (undocumented)
1212
+ export interface DeletePersonGroupPersonDefaultResponse extends HttpResponse {
1213
+ // (undocumented)
1214
+ body: FaceErrorResponseOutput;
1215
+ // (undocumented)
1216
+ headers: RawHttpHeaders & DeletePersonGroupPersonDefaultHeaders;
1217
+ // (undocumented)
1218
+ status: string;
1219
+ }
1220
+
1221
+ // @public (undocumented)
1222
+ export interface DeletePersonGroupPersonFace {
1223
+ delete(options?: DeletePersonGroupPersonFaceParameters): StreamableMethod<DeletePersonGroupPersonFace200Response | DeletePersonGroupPersonFaceDefaultResponse>;
1224
+ get(options?: GetPersonGroupPersonFaceParameters): StreamableMethod<GetPersonGroupPersonFace200Response | GetPersonGroupPersonFaceDefaultResponse>;
1225
+ patch(options: UpdatePersonGroupPersonFaceParameters): StreamableMethod<UpdatePersonGroupPersonFace200Response | UpdatePersonGroupPersonFaceDefaultResponse>;
1226
+ }
1227
+
1228
+ // @public
1229
+ export interface DeletePersonGroupPersonFace200Response extends HttpResponse {
1230
+ // (undocumented)
1231
+ status: "200";
1232
+ }
1233
+
1234
+ // @public (undocumented)
1235
+ export interface DeletePersonGroupPersonFaceDefaultHeaders {
1236
+ "x-ms-error-code"?: string;
1237
+ }
1238
+
1239
+ // @public (undocumented)
1240
+ export interface DeletePersonGroupPersonFaceDefaultResponse extends HttpResponse {
1241
+ // (undocumented)
1242
+ body: FaceErrorResponseOutput;
1243
+ // (undocumented)
1244
+ headers: RawHttpHeaders & DeletePersonGroupPersonFaceDefaultHeaders;
1245
+ // (undocumented)
1246
+ status: string;
1247
+ }
1248
+
1249
+ // @public (undocumented)
1250
+ export type DeletePersonGroupPersonFaceParameters = RequestParameters;
1251
+
1252
+ // @public (undocumented)
1253
+ export type DeletePersonGroupPersonParameters = RequestParameters;
1254
+
1255
+ // @public
1256
+ export interface Detect200Response extends HttpResponse {
1257
+ // (undocumented)
1258
+ body: Array<FaceDetectionResultOutput>;
1259
+ // (undocumented)
1260
+ status: "200";
1261
+ }
1262
+
1263
+ // @public (undocumented)
1264
+ export interface DetectBodyParam {
1265
+ body: string | Uint8Array | ReadableStream<Uint8Array> | NodeJS.ReadableStream;
1266
+ }
1267
+
1268
+ // @public (undocumented)
1269
+ export interface DetectDefaultHeaders {
1270
+ "x-ms-error-code"?: string;
1271
+ }
1272
+
1273
+ // @public (undocumented)
1274
+ export interface DetectDefaultResponse extends HttpResponse {
1275
+ // (undocumented)
1276
+ body: FaceErrorResponseOutput;
1277
+ // (undocumented)
1278
+ headers: RawHttpHeaders & DetectDefaultHeaders;
1279
+ // (undocumented)
1280
+ status: string;
1281
+ }
1282
+
1283
+ // @public
1284
+ export interface DetectFromSessionImageId200Response extends HttpResponse {
1285
+ // (undocumented)
1286
+ body: Array<FaceDetectionResultOutput>;
1287
+ // (undocumented)
1288
+ status: "200";
1289
+ }
1290
+
1291
+ // @public (undocumented)
1292
+ export interface DetectFromSessionImageIdBodyParam {
1293
+ // (undocumented)
1294
+ body: {
1295
+ sessionImageId: string;
1296
+ };
1297
+ }
1298
+
1299
+ // @public (undocumented)
1300
+ export interface DetectFromSessionImageIdDefaultHeaders {
1301
+ "x-ms-error-code"?: string;
1302
+ }
1303
+
1304
+ // @public (undocumented)
1305
+ export interface DetectFromSessionImageIdDefaultResponse extends HttpResponse {
1306
+ // (undocumented)
1307
+ body: FaceErrorResponseOutput;
1308
+ // (undocumented)
1309
+ headers: RawHttpHeaders & DetectFromSessionImageIdDefaultHeaders;
1310
+ // (undocumented)
1311
+ status: string;
1312
+ }
1313
+
1314
+ // @public (undocumented)
1315
+ export interface DetectFromSessionImageIdMediaTypesParam {
1316
+ contentType: "application/json";
1317
+ }
1318
+
1319
+ // @public (undocumented)
1320
+ export type DetectFromSessionImageIdParameters = DetectFromSessionImageIdQueryParam & DetectFromSessionImageIdMediaTypesParam & DetectFromSessionImageIdBodyParam & RequestParameters;
1321
+
1322
+ // @public (undocumented)
1323
+ export interface DetectFromSessionImageIdQueryParam {
1324
+ // (undocumented)
1325
+ queryParameters?: DetectFromSessionImageIdQueryParamProperties;
1326
+ }
1327
+
1328
+ // @public (undocumented)
1329
+ export interface DetectFromSessionImageIdQueryParamProperties {
1330
+ detectionModel?: DetectionModel;
1331
+ faceIdTimeToLive?: number;
1332
+ recognitionModel?: RecognitionModel;
1333
+ returnFaceAttributes?: FaceAttributeType[] | DetectFromSessionImageIdReturnFaceAttributesQueryParam;
1334
+ returnFaceId?: boolean;
1335
+ returnFaceLandmarks?: boolean;
1336
+ returnRecognitionModel?: boolean;
1337
+ }
1338
+
1339
+ // @public
1340
+ export interface DetectFromSessionImageIdReturnFaceAttributesQueryParam {
1341
+ explode: false;
1342
+ style: "form";
1343
+ value: FaceAttributeType[];
1344
+ }
1345
+
1346
+ // @public (undocumented)
1347
+ export interface DetectFromUrl {
1348
+ post(options: DetectFromUrlParameters): StreamableMethod<DetectFromUrl200Response | DetectFromUrlDefaultResponse>;
1349
+ post(options: DetectParameters): StreamableMethod<Detect200Response | DetectDefaultResponse>;
1350
+ post(options: DetectFromSessionImageIdParameters): StreamableMethod<DetectFromSessionImageId200Response | DetectFromSessionImageIdDefaultResponse>;
1351
+ }
1352
+
1353
+ // @public
1354
+ export interface DetectFromUrl200Response extends HttpResponse {
1355
+ // (undocumented)
1356
+ body: Array<FaceDetectionResultOutput>;
1357
+ // (undocumented)
1358
+ status: "200";
1359
+ }
1360
+
1361
+ // @public (undocumented)
1362
+ export interface DetectFromUrlBodyParam {
1363
+ // (undocumented)
1364
+ body: {
1365
+ url: string;
1366
+ };
1367
+ }
1368
+
1369
+ // @public (undocumented)
1370
+ export interface DetectFromUrlDefaultHeaders {
1371
+ "x-ms-error-code"?: string;
1372
+ }
1373
+
1374
+ // @public (undocumented)
1375
+ export interface DetectFromUrlDefaultResponse extends HttpResponse {
1376
+ // (undocumented)
1377
+ body: FaceErrorResponseOutput;
1378
+ // (undocumented)
1379
+ headers: RawHttpHeaders & DetectFromUrlDefaultHeaders;
1380
+ // (undocumented)
1381
+ status: string;
1382
+ }
1383
+
1384
+ // @public (undocumented)
1385
+ export interface DetectFromUrlMediaTypesParam {
1386
+ contentType: "application/json";
1387
+ }
1388
+
1389
+ // @public (undocumented)
1390
+ export type DetectFromUrlParameters = DetectFromUrlQueryParam & DetectFromUrlMediaTypesParam & DetectFromUrlBodyParam & RequestParameters;
1391
+
1392
+ // @public (undocumented)
1393
+ export interface DetectFromUrlQueryParam {
1394
+ // (undocumented)
1395
+ queryParameters?: DetectFromUrlQueryParamProperties;
1396
+ }
1397
+
1398
+ // @public (undocumented)
1399
+ export interface DetectFromUrlQueryParamProperties {
1400
+ detectionModel?: DetectionModel;
1401
+ faceIdTimeToLive?: number;
1402
+ recognitionModel?: RecognitionModel;
1403
+ returnFaceAttributes?: FaceAttributeType[] | DetectFromUrlReturnFaceAttributesQueryParam;
1404
+ returnFaceId?: boolean;
1405
+ returnFaceLandmarks?: boolean;
1406
+ returnRecognitionModel?: boolean;
1407
+ }
1408
+
1409
+ // @public
1410
+ export interface DetectFromUrlReturnFaceAttributesQueryParam {
1411
+ explode: false;
1412
+ style: "form";
1413
+ value: FaceAttributeType[];
1414
+ }
1415
+
1416
+ // @public
1417
+ export type DetectionModel = string;
1418
+
1419
+ // @public (undocumented)
1420
+ export interface DetectMediaTypesParam {
1421
+ contentType: "application/octet-stream";
1422
+ }
1423
+
1424
+ // @public (undocumented)
1425
+ export type DetectParameters = DetectQueryParam & DetectMediaTypesParam & DetectBodyParam & RequestParameters;
1426
+
1427
+ // @public (undocumented)
1428
+ export interface DetectQueryParam {
1429
+ // (undocumented)
1430
+ queryParameters?: DetectQueryParamProperties;
1431
+ }
1432
+
1433
+ // @public (undocumented)
1434
+ export interface DetectQueryParamProperties {
1435
+ detectionModel?: DetectionModel;
1436
+ faceIdTimeToLive?: number;
1437
+ recognitionModel?: RecognitionModel;
1438
+ returnFaceAttributes?: FaceAttributeType[] | DetectReturnFaceAttributesQueryParam;
1439
+ returnFaceId?: boolean;
1440
+ returnFaceLandmarks?: boolean;
1441
+ returnRecognitionModel?: boolean;
1442
+ }
1443
+
1444
+ // @public
1445
+ export interface DetectReturnFaceAttributesQueryParam {
1446
+ explode: false;
1447
+ style: "form";
1448
+ value: FaceAttributeType[];
1449
+ }
1450
+
1451
+ // @public
1452
+ export type ExposureLevelOutput = string;
1453
+
1454
+ // @public
1455
+ export interface ExposurePropertiesOutput {
1456
+ exposureLevel: ExposureLevelOutput;
1457
+ value: number;
1458
+ }
1459
+
1460
+ // @public
1461
+ export interface FaceAttributesOutput {
1462
+ accessories?: Array<AccessoryItemOutput>;
1463
+ age?: number;
1464
+ blur?: BlurPropertiesOutput;
1465
+ exposure?: ExposurePropertiesOutput;
1466
+ facialHair?: FacialHairOutput;
1467
+ glasses?: GlassesTypeOutput;
1468
+ hair?: HairPropertiesOutput;
1469
+ headPose?: HeadPoseOutput;
1470
+ mask?: MaskPropertiesOutput;
1471
+ noise?: NoisePropertiesOutput;
1472
+ occlusion?: OcclusionPropertiesOutput;
1473
+ qualityForRecognition?: QualityForRecognitionOutput;
1474
+ smile?: number;
1475
+ }
1476
+
1477
+ // @public
1478
+ export type FaceAttributeType = string;
1479
+
1480
+ // @public (undocumented)
1481
+ export type FaceClient = Client & {
1482
+ path: Routes;
1483
+ };
1484
+
1485
+ // @public
1486
+ export interface FaceClientOptions extends ClientOptions {
1487
+ apiVersion?: Versions;
1488
+ }
1489
+
1490
+ // @public
1491
+ export interface FaceDetectionResultOutput {
1492
+ faceAttributes?: FaceAttributesOutput;
1493
+ faceId?: string;
1494
+ faceLandmarks?: FaceLandmarksOutput;
1495
+ faceRectangle: FaceRectangleOutput;
1496
+ recognitionModel?: RecognitionModelOutput;
1497
+ }
1498
+
1499
+ // @public
1500
+ export interface FaceErrorOutput {
1501
+ code: string;
1502
+ message: string;
1503
+ }
1504
+
1505
+ // @public
1506
+ export interface FaceErrorResponseOutput {
1507
+ error: FaceErrorOutput;
1508
+ }
1509
+
1510
+ // @public
1511
+ export interface FaceLandmarksOutput {
1512
+ eyebrowLeftInner: LandmarkCoordinateOutput;
1513
+ eyebrowLeftOuter: LandmarkCoordinateOutput;
1514
+ eyebrowRightInner: LandmarkCoordinateOutput;
1515
+ eyebrowRightOuter: LandmarkCoordinateOutput;
1516
+ eyeLeftBottom: LandmarkCoordinateOutput;
1517
+ eyeLeftInner: LandmarkCoordinateOutput;
1518
+ eyeLeftOuter: LandmarkCoordinateOutput;
1519
+ eyeLeftTop: LandmarkCoordinateOutput;
1520
+ eyeRightBottom: LandmarkCoordinateOutput;
1521
+ eyeRightInner: LandmarkCoordinateOutput;
1522
+ eyeRightOuter: LandmarkCoordinateOutput;
1523
+ eyeRightTop: LandmarkCoordinateOutput;
1524
+ mouthLeft: LandmarkCoordinateOutput;
1525
+ mouthRight: LandmarkCoordinateOutput;
1526
+ noseLeftAlarOutTip: LandmarkCoordinateOutput;
1527
+ noseLeftAlarTop: LandmarkCoordinateOutput;
1528
+ noseRightAlarOutTip: LandmarkCoordinateOutput;
1529
+ noseRightAlarTop: LandmarkCoordinateOutput;
1530
+ noseRootLeft: LandmarkCoordinateOutput;
1531
+ noseRootRight: LandmarkCoordinateOutput;
1532
+ noseTip: LandmarkCoordinateOutput;
1533
+ pupilLeft: LandmarkCoordinateOutput;
1534
+ pupilRight: LandmarkCoordinateOutput;
1535
+ underLipBottom: LandmarkCoordinateOutput;
1536
+ underLipTop: LandmarkCoordinateOutput;
1537
+ upperLipBottom: LandmarkCoordinateOutput;
1538
+ upperLipTop: LandmarkCoordinateOutput;
1539
+ }
1540
+
1541
+ // @public
1542
+ export interface FaceListFaceOutput {
1543
+ readonly persistedFaceId: string;
1544
+ userData?: string;
1545
+ }
1546
+
1547
+ // @public
1548
+ export interface FaceListItemOutput {
1549
+ faceListId: string;
1550
+ name: string;
1551
+ recognitionModel?: RecognitionModelOutput;
1552
+ userData?: string;
1553
+ }
1554
+
1555
+ // @public
1556
+ export interface FaceListOutput {
1557
+ readonly faceListId: string;
1558
+ name: string;
1559
+ persistedFaces?: Array<FaceListFaceOutput>;
1560
+ recognitionModel?: RecognitionModelOutput;
1561
+ userData?: string;
1562
+ }
1563
+
1564
+ // @public
1565
+ export interface FaceRectangleOutput {
1566
+ height: number;
1567
+ left: number;
1568
+ top: number;
1569
+ width: number;
1570
+ }
1571
+
1572
+ // @public
1573
+ export interface FaceUserData {
1574
+ userData?: string;
1575
+ }
1576
+
1577
+ // @public
1578
+ export interface FacialHairOutput {
1579
+ beard: number;
1580
+ moustache: number;
1581
+ sideburns: number;
1582
+ }
1583
+
1584
+ // @public (undocumented)
1585
+ export interface FindSimilar {
1586
+ post(options: FindSimilarParameters): StreamableMethod<FindSimilar200Response | FindSimilarDefaultResponse>;
1587
+ post(options: FindSimilarFromFaceListParameters): StreamableMethod<FindSimilarFromFaceList200Response | FindSimilarFromFaceListDefaultResponse>;
1588
+ post(options: FindSimilarFromLargeFaceListParameters): StreamableMethod<FindSimilarFromLargeFaceList200Response | FindSimilarFromLargeFaceListDefaultResponse>;
1589
+ }
1590
+
1591
+ // @public
1592
+ export interface FindSimilar200Response extends HttpResponse {
1593
+ // (undocumented)
1594
+ body: Array<FindSimilarResultOutput>;
1595
+ // (undocumented)
1596
+ status: "200";
1597
+ }
1598
+
1599
+ // @public (undocumented)
1600
+ export interface FindSimilarBodyParam {
1601
+ // (undocumented)
1602
+ body: {
1603
+ faceId: string;
1604
+ maxNumOfCandidatesReturned?: number;
1605
+ mode?: FindSimilarMatchMode;
1606
+ faceIds: string[];
1607
+ };
1608
+ }
1609
+
1610
+ // @public (undocumented)
1611
+ export interface FindSimilarDefaultHeaders {
1612
+ "x-ms-error-code"?: string;
1613
+ }
1614
+
1615
+ // @public (undocumented)
1616
+ export interface FindSimilarDefaultResponse extends HttpResponse {
1617
+ // (undocumented)
1618
+ body: FaceErrorResponseOutput;
1619
+ // (undocumented)
1620
+ headers: RawHttpHeaders & FindSimilarDefaultHeaders;
1621
+ // (undocumented)
1622
+ status: string;
1623
+ }
1624
+
1625
+ // @public
1626
+ export interface FindSimilarFromFaceList200Response extends HttpResponse {
1627
+ // (undocumented)
1628
+ body: Array<FindSimilarResultOutput>;
1629
+ // (undocumented)
1630
+ status: "200";
1631
+ }
1632
+
1633
+ // @public (undocumented)
1634
+ export interface FindSimilarFromFaceListBodyParam {
1635
+ // (undocumented)
1636
+ body: {
1637
+ faceId: string;
1638
+ maxNumOfCandidatesReturned?: number;
1639
+ mode?: FindSimilarMatchMode;
1640
+ faceListId: string;
1641
+ };
1642
+ }
1643
+
1644
+ // @public (undocumented)
1645
+ export interface FindSimilarFromFaceListDefaultHeaders {
1646
+ "x-ms-error-code"?: string;
1647
+ }
1648
+
1649
+ // @public (undocumented)
1650
+ export interface FindSimilarFromFaceListDefaultResponse extends HttpResponse {
1651
+ // (undocumented)
1652
+ body: FaceErrorResponseOutput;
1653
+ // (undocumented)
1654
+ headers: RawHttpHeaders & FindSimilarFromFaceListDefaultHeaders;
1655
+ // (undocumented)
1656
+ status: string;
1657
+ }
1658
+
1659
+ // @public (undocumented)
1660
+ export type FindSimilarFromFaceListParameters = FindSimilarFromFaceListBodyParam & RequestParameters;
1661
+
1662
+ // @public
1663
+ export interface FindSimilarFromLargeFaceList200Response extends HttpResponse {
1664
+ // (undocumented)
1665
+ body: Array<FindSimilarResultOutput>;
1666
+ // (undocumented)
1667
+ status: "200";
1668
+ }
1669
+
1670
+ // @public (undocumented)
1671
+ export interface FindSimilarFromLargeFaceListBodyParam {
1672
+ // (undocumented)
1673
+ body: {
1674
+ faceId: string;
1675
+ maxNumOfCandidatesReturned?: number;
1676
+ mode?: FindSimilarMatchMode;
1677
+ largeFaceListId: string;
1678
+ };
1679
+ }
1680
+
1681
+ // @public (undocumented)
1682
+ export interface FindSimilarFromLargeFaceListDefaultHeaders {
1683
+ "x-ms-error-code"?: string;
1684
+ }
1685
+
1686
+ // @public (undocumented)
1687
+ export interface FindSimilarFromLargeFaceListDefaultResponse extends HttpResponse {
1688
+ // (undocumented)
1689
+ body: FaceErrorResponseOutput;
1690
+ // (undocumented)
1691
+ headers: RawHttpHeaders & FindSimilarFromLargeFaceListDefaultHeaders;
1692
+ // (undocumented)
1693
+ status: string;
1694
+ }
1695
+
1696
+ // @public (undocumented)
1697
+ export type FindSimilarFromLargeFaceListParameters = FindSimilarFromLargeFaceListBodyParam & RequestParameters;
1698
+
1699
+ // @public
1700
+ export type FindSimilarMatchMode = string;
1701
+
1702
+ // @public (undocumented)
1703
+ export type FindSimilarParameters = FindSimilarBodyParam & RequestParameters;
1704
+
1705
+ // @public
1706
+ export interface FindSimilarResultOutput {
1707
+ confidence: number;
1708
+ faceId?: string;
1709
+ persistedFaceId?: string;
1710
+ }
1711
+
1712
+ // @public
1713
+ export interface GetFaceList200Response extends HttpResponse {
1714
+ // (undocumented)
1715
+ body: FaceListOutput;
1716
+ // (undocumented)
1717
+ status: "200";
1718
+ }
1719
+
1720
+ // @public (undocumented)
1721
+ export interface GetFaceListDefaultHeaders {
1722
+ "x-ms-error-code"?: string;
1723
+ }
1724
+
1725
+ // @public (undocumented)
1726
+ export interface GetFaceListDefaultResponse extends HttpResponse {
1727
+ // (undocumented)
1728
+ body: FaceErrorResponseOutput;
1729
+ // (undocumented)
1730
+ headers: RawHttpHeaders & GetFaceListDefaultHeaders;
1731
+ // (undocumented)
1732
+ status: string;
1733
+ }
1734
+
1735
+ // @public (undocumented)
1736
+ export type GetFaceListParameters = GetFaceListQueryParam & RequestParameters;
1737
+
1738
+ // @public (undocumented)
1739
+ export interface GetFaceListQueryParam {
1740
+ // (undocumented)
1741
+ queryParameters?: GetFaceListQueryParamProperties;
1742
+ }
1743
+
1744
+ // @public (undocumented)
1745
+ export interface GetFaceListQueryParamProperties {
1746
+ returnRecognitionModel?: boolean;
1747
+ }
1748
+
1749
+ // @public (undocumented)
1750
+ export interface GetFaceLists {
1751
+ get(options?: GetFaceListsParameters): StreamableMethod<GetFaceLists200Response | GetFaceListsDefaultResponse>;
1752
+ }
1753
+
1754
+ // @public
1755
+ export interface GetFaceLists200Response extends HttpResponse {
1756
+ // (undocumented)
1757
+ body: Array<FaceListItemOutput>;
1758
+ // (undocumented)
1759
+ status: "200";
1760
+ }
1761
+
1762
+ // @public (undocumented)
1763
+ export interface GetFaceListsDefaultHeaders {
1764
+ "x-ms-error-code"?: string;
1765
+ }
1766
+
1767
+ // @public (undocumented)
1768
+ export interface GetFaceListsDefaultResponse extends HttpResponse {
1769
+ // (undocumented)
1770
+ body: FaceErrorResponseOutput;
1771
+ // (undocumented)
1772
+ headers: RawHttpHeaders & GetFaceListsDefaultHeaders;
1773
+ // (undocumented)
1774
+ status: string;
1775
+ }
1776
+
1777
+ // @public (undocumented)
1778
+ export type GetFaceListsParameters = GetFaceListsQueryParam & RequestParameters;
1779
+
1780
+ // @public (undocumented)
1781
+ export interface GetFaceListsQueryParam {
1782
+ // (undocumented)
1783
+ queryParameters?: GetFaceListsQueryParamProperties;
1784
+ }
1785
+
1786
+ // @public (undocumented)
1787
+ export interface GetFaceListsQueryParamProperties {
1788
+ returnRecognitionModel?: boolean;
1789
+ }
1790
+
1791
+ // @public
1792
+ export interface GetLargeFaceList200Response extends HttpResponse {
1793
+ // (undocumented)
1794
+ body: LargeFaceListOutput;
1795
+ // (undocumented)
1796
+ status: "200";
1797
+ }
1798
+
1799
+ // @public (undocumented)
1800
+ export interface GetLargeFaceListDefaultHeaders {
1801
+ "x-ms-error-code"?: string;
1802
+ }
1803
+
1804
+ // @public (undocumented)
1805
+ export interface GetLargeFaceListDefaultResponse extends HttpResponse {
1806
+ // (undocumented)
1807
+ body: FaceErrorResponseOutput;
1808
+ // (undocumented)
1809
+ headers: RawHttpHeaders & GetLargeFaceListDefaultHeaders;
1810
+ // (undocumented)
1811
+ status: string;
1812
+ }
1813
+
1814
+ // @public
1815
+ export interface GetLargeFaceListFace200Response extends HttpResponse {
1816
+ // (undocumented)
1817
+ body: LargeFaceListFaceOutput;
1818
+ // (undocumented)
1819
+ status: "200";
1820
+ }
1821
+
1822
+ // @public (undocumented)
1823
+ export interface GetLargeFaceListFaceDefaultHeaders {
1824
+ "x-ms-error-code"?: string;
1825
+ }
1826
+
1827
+ // @public (undocumented)
1828
+ export interface GetLargeFaceListFaceDefaultResponse extends HttpResponse {
1829
+ // (undocumented)
1830
+ body: FaceErrorResponseOutput;
1831
+ // (undocumented)
1832
+ headers: RawHttpHeaders & GetLargeFaceListFaceDefaultHeaders;
1833
+ // (undocumented)
1834
+ status: string;
1835
+ }
1836
+
1837
+ // @public (undocumented)
1838
+ export type GetLargeFaceListFaceParameters = RequestParameters;
1839
+
1840
+ // @public
1841
+ export interface GetLargeFaceListFaces200Response extends HttpResponse {
1842
+ // (undocumented)
1843
+ body: Array<LargeFaceListFaceOutput>;
1844
+ // (undocumented)
1845
+ status: "200";
1846
+ }
1847
+
1848
+ // @public (undocumented)
1849
+ export interface GetLargeFaceListFacesDefaultHeaders {
1850
+ "x-ms-error-code"?: string;
1851
+ }
1852
+
1853
+ // @public (undocumented)
1854
+ export interface GetLargeFaceListFacesDefaultResponse extends HttpResponse {
1855
+ // (undocumented)
1856
+ body: FaceErrorResponseOutput;
1857
+ // (undocumented)
1858
+ headers: RawHttpHeaders & GetLargeFaceListFacesDefaultHeaders;
1859
+ // (undocumented)
1860
+ status: string;
1861
+ }
1862
+
1863
+ // @public (undocumented)
1864
+ export type GetLargeFaceListFacesParameters = GetLargeFaceListFacesQueryParam & RequestParameters;
1865
+
1866
+ // @public (undocumented)
1867
+ export interface GetLargeFaceListFacesQueryParam {
1868
+ // (undocumented)
1869
+ queryParameters?: GetLargeFaceListFacesQueryParamProperties;
1870
+ }
1871
+
1872
+ // @public (undocumented)
1873
+ export interface GetLargeFaceListFacesQueryParamProperties {
1874
+ start?: string;
1875
+ top?: number;
1876
+ }
1877
+
1878
+ // @public (undocumented)
1879
+ export type GetLargeFaceListParameters = GetLargeFaceListQueryParam & RequestParameters;
1880
+
1881
+ // @public (undocumented)
1882
+ export interface GetLargeFaceListQueryParam {
1883
+ // (undocumented)
1884
+ queryParameters?: GetLargeFaceListQueryParamProperties;
1885
+ }
1886
+
1887
+ // @public (undocumented)
1888
+ export interface GetLargeFaceListQueryParamProperties {
1889
+ returnRecognitionModel?: boolean;
1890
+ }
1891
+
1892
+ // @public (undocumented)
1893
+ export interface GetLargeFaceLists {
1894
+ get(options?: GetLargeFaceListsParameters): StreamableMethod<GetLargeFaceLists200Response | GetLargeFaceListsDefaultResponse>;
1895
+ }
1896
+
1897
+ // @public
1898
+ export interface GetLargeFaceLists200Response extends HttpResponse {
1899
+ // (undocumented)
1900
+ body: Array<LargeFaceListOutput>;
1901
+ // (undocumented)
1902
+ status: "200";
1903
+ }
1904
+
1905
+ // @public (undocumented)
1906
+ export interface GetLargeFaceListsDefaultHeaders {
1907
+ "x-ms-error-code"?: string;
1908
+ }
1909
+
1910
+ // @public (undocumented)
1911
+ export interface GetLargeFaceListsDefaultResponse extends HttpResponse {
1912
+ // (undocumented)
1913
+ body: FaceErrorResponseOutput;
1914
+ // (undocumented)
1915
+ headers: RawHttpHeaders & GetLargeFaceListsDefaultHeaders;
1916
+ // (undocumented)
1917
+ status: string;
1918
+ }
1919
+
1920
+ // @public (undocumented)
1921
+ export type GetLargeFaceListsParameters = GetLargeFaceListsQueryParam & RequestParameters;
1922
+
1923
+ // @public (undocumented)
1924
+ export interface GetLargeFaceListsQueryParam {
1925
+ // (undocumented)
1926
+ queryParameters?: GetLargeFaceListsQueryParamProperties;
1927
+ }
1928
+
1929
+ // @public (undocumented)
1930
+ export interface GetLargeFaceListsQueryParamProperties {
1931
+ returnRecognitionModel?: boolean;
1932
+ start?: string;
1933
+ top?: number;
1934
+ }
1935
+
1936
+ // @public (undocumented)
1937
+ export interface GetLargeFaceListTrainingStatus {
1938
+ get(options?: GetLargeFaceListTrainingStatusParameters): StreamableMethod<GetLargeFaceListTrainingStatus200Response | GetLargeFaceListTrainingStatusDefaultResponse>;
1939
+ }
1940
+
1941
+ // @public
1942
+ export interface GetLargeFaceListTrainingStatus200Response extends HttpResponse {
1943
+ // (undocumented)
1944
+ body: TrainingResultOutput;
1945
+ // (undocumented)
1946
+ status: "200";
1947
+ }
1948
+
1949
+ // @public (undocumented)
1950
+ export interface GetLargeFaceListTrainingStatusDefaultHeaders {
1951
+ "x-ms-error-code"?: string;
1952
+ }
1953
+
1954
+ // @public (undocumented)
1955
+ export interface GetLargeFaceListTrainingStatusDefaultResponse extends HttpResponse {
1956
+ // (undocumented)
1957
+ body: FaceErrorResponseOutput;
1958
+ // (undocumented)
1959
+ headers: RawHttpHeaders & GetLargeFaceListTrainingStatusDefaultHeaders;
1960
+ // (undocumented)
1961
+ status: string;
1962
+ }
1963
+
1964
+ // @public (undocumented)
1965
+ export type GetLargeFaceListTrainingStatusParameters = RequestParameters;
1966
+
1967
+ // @public
1968
+ export interface GetLargePersonGroup200Response extends HttpResponse {
1969
+ // (undocumented)
1970
+ body: LargePersonGroupOutput;
1971
+ // (undocumented)
1972
+ status: "200";
1973
+ }
1974
+
1975
+ // @public (undocumented)
1976
+ export interface GetLargePersonGroupDefaultHeaders {
1977
+ "x-ms-error-code"?: string;
1978
+ }
1979
+
1980
+ // @public (undocumented)
1981
+ export interface GetLargePersonGroupDefaultResponse extends HttpResponse {
1982
+ // (undocumented)
1983
+ body: FaceErrorResponseOutput;
1984
+ // (undocumented)
1985
+ headers: RawHttpHeaders & GetLargePersonGroupDefaultHeaders;
1986
+ // (undocumented)
1987
+ status: string;
1988
+ }
1989
+
1990
+ // @public (undocumented)
1991
+ export type GetLargePersonGroupParameters = GetLargePersonGroupQueryParam & RequestParameters;
1992
+
1993
+ // @public
1994
+ export interface GetLargePersonGroupPerson200Response extends HttpResponse {
1995
+ // (undocumented)
1996
+ body: LargePersonGroupPersonOutput;
1997
+ // (undocumented)
1998
+ status: "200";
1999
+ }
2000
+
2001
+ // @public (undocumented)
2002
+ export interface GetLargePersonGroupPersonDefaultHeaders {
2003
+ "x-ms-error-code"?: string;
2004
+ }
2005
+
2006
+ // @public (undocumented)
2007
+ export interface GetLargePersonGroupPersonDefaultResponse extends HttpResponse {
2008
+ // (undocumented)
2009
+ body: FaceErrorResponseOutput;
2010
+ // (undocumented)
2011
+ headers: RawHttpHeaders & GetLargePersonGroupPersonDefaultHeaders;
2012
+ // (undocumented)
2013
+ status: string;
2014
+ }
2015
+
2016
+ // @public
2017
+ export interface GetLargePersonGroupPersonFace200Response extends HttpResponse {
2018
+ // (undocumented)
2019
+ body: LargePersonGroupPersonFaceOutput;
2020
+ // (undocumented)
2021
+ status: "200";
2022
+ }
2023
+
2024
+ // @public (undocumented)
2025
+ export interface GetLargePersonGroupPersonFaceDefaultHeaders {
2026
+ "x-ms-error-code"?: string;
2027
+ }
2028
+
2029
+ // @public (undocumented)
2030
+ export interface GetLargePersonGroupPersonFaceDefaultResponse extends HttpResponse {
2031
+ // (undocumented)
2032
+ body: FaceErrorResponseOutput;
2033
+ // (undocumented)
2034
+ headers: RawHttpHeaders & GetLargePersonGroupPersonFaceDefaultHeaders;
2035
+ // (undocumented)
2036
+ status: string;
2037
+ }
2038
+
2039
+ // @public (undocumented)
2040
+ export type GetLargePersonGroupPersonFaceParameters = RequestParameters;
2041
+
2042
+ // @public (undocumented)
2043
+ export type GetLargePersonGroupPersonParameters = RequestParameters;
2044
+
2045
+ // @public
2046
+ export interface GetLargePersonGroupPersons200Response extends HttpResponse {
2047
+ // (undocumented)
2048
+ body: Array<LargePersonGroupPersonOutput>;
2049
+ // (undocumented)
2050
+ status: "200";
2051
+ }
2052
+
2053
+ // @public (undocumented)
2054
+ export interface GetLargePersonGroupPersonsDefaultHeaders {
2055
+ "x-ms-error-code"?: string;
2056
+ }
2057
+
2058
+ // @public (undocumented)
2059
+ export interface GetLargePersonGroupPersonsDefaultResponse extends HttpResponse {
2060
+ // (undocumented)
2061
+ body: FaceErrorResponseOutput;
2062
+ // (undocumented)
2063
+ headers: RawHttpHeaders & GetLargePersonGroupPersonsDefaultHeaders;
2064
+ // (undocumented)
2065
+ status: string;
2066
+ }
2067
+
2068
+ // @public (undocumented)
2069
+ export type GetLargePersonGroupPersonsParameters = GetLargePersonGroupPersonsQueryParam & RequestParameters;
2070
+
2071
+ // @public (undocumented)
2072
+ export interface GetLargePersonGroupPersonsQueryParam {
2073
+ // (undocumented)
2074
+ queryParameters?: GetLargePersonGroupPersonsQueryParamProperties;
2075
+ }
2076
+
2077
+ // @public (undocumented)
2078
+ export interface GetLargePersonGroupPersonsQueryParamProperties {
2079
+ start?: string;
2080
+ top?: number;
2081
+ }
2082
+
2083
+ // @public (undocumented)
2084
+ export interface GetLargePersonGroupQueryParam {
2085
+ // (undocumented)
2086
+ queryParameters?: GetLargePersonGroupQueryParamProperties;
2087
+ }
2088
+
2089
+ // @public (undocumented)
2090
+ export interface GetLargePersonGroupQueryParamProperties {
2091
+ returnRecognitionModel?: boolean;
2092
+ }
2093
+
2094
+ // @public (undocumented)
2095
+ export interface GetLargePersonGroups {
2096
+ get(options?: GetLargePersonGroupsParameters): StreamableMethod<GetLargePersonGroups200Response | GetLargePersonGroupsDefaultResponse>;
2097
+ }
2098
+
2099
+ // @public
2100
+ export interface GetLargePersonGroups200Response extends HttpResponse {
2101
+ // (undocumented)
2102
+ body: Array<LargePersonGroupOutput>;
2103
+ // (undocumented)
2104
+ status: "200";
2105
+ }
2106
+
2107
+ // @public (undocumented)
2108
+ export interface GetLargePersonGroupsDefaultHeaders {
2109
+ "x-ms-error-code"?: string;
2110
+ }
2111
+
2112
+ // @public (undocumented)
2113
+ export interface GetLargePersonGroupsDefaultResponse extends HttpResponse {
2114
+ // (undocumented)
2115
+ body: FaceErrorResponseOutput;
2116
+ // (undocumented)
2117
+ headers: RawHttpHeaders & GetLargePersonGroupsDefaultHeaders;
2118
+ // (undocumented)
2119
+ status: string;
2120
+ }
2121
+
2122
+ // @public (undocumented)
2123
+ export type GetLargePersonGroupsParameters = GetLargePersonGroupsQueryParam & RequestParameters;
2124
+
2125
+ // @public (undocumented)
2126
+ export interface GetLargePersonGroupsQueryParam {
2127
+ // (undocumented)
2128
+ queryParameters?: GetLargePersonGroupsQueryParamProperties;
2129
+ }
2130
+
2131
+ // @public (undocumented)
2132
+ export interface GetLargePersonGroupsQueryParamProperties {
2133
+ returnRecognitionModel?: boolean;
2134
+ start?: string;
2135
+ top?: number;
2136
+ }
2137
+
2138
+ // @public (undocumented)
2139
+ export interface GetLargePersonGroupTrainingStatus {
2140
+ get(options?: GetLargePersonGroupTrainingStatusParameters): StreamableMethod<GetLargePersonGroupTrainingStatus200Response | GetLargePersonGroupTrainingStatusDefaultResponse>;
2141
+ }
2142
+
2143
+ // @public
2144
+ export interface GetLargePersonGroupTrainingStatus200Response extends HttpResponse {
2145
+ // (undocumented)
2146
+ body: TrainingResultOutput;
2147
+ // (undocumented)
2148
+ status: "200";
2149
+ }
2150
+
2151
+ // @public (undocumented)
2152
+ export interface GetLargePersonGroupTrainingStatusDefaultHeaders {
2153
+ "x-ms-error-code"?: string;
2154
+ }
2155
+
2156
+ // @public (undocumented)
2157
+ export interface GetLargePersonGroupTrainingStatusDefaultResponse extends HttpResponse {
2158
+ // (undocumented)
2159
+ body: FaceErrorResponseOutput;
2160
+ // (undocumented)
2161
+ headers: RawHttpHeaders & GetLargePersonGroupTrainingStatusDefaultHeaders;
2162
+ // (undocumented)
2163
+ status: string;
2164
+ }
2165
+
2166
+ // @public (undocumented)
2167
+ export type GetLargePersonGroupTrainingStatusParameters = RequestParameters;
2168
+
2169
+ // @public
2170
+ export interface GetLivenessSessionResult200Response extends HttpResponse {
2171
+ // (undocumented)
2172
+ body: LivenessSessionOutput;
2173
+ // (undocumented)
2174
+ status: "200";
2175
+ }
2176
+
2177
+ // @public (undocumented)
2178
+ export interface GetLivenessSessionResultDefaultHeaders {
2179
+ "x-ms-error-code"?: string;
2180
+ }
2181
+
2182
+ // @public (undocumented)
2183
+ export interface GetLivenessSessionResultDefaultResponse extends HttpResponse {
2184
+ // (undocumented)
2185
+ body: FaceErrorResponseOutput;
2186
+ // (undocumented)
2187
+ headers: RawHttpHeaders & GetLivenessSessionResultDefaultHeaders;
2188
+ // (undocumented)
2189
+ status: string;
2190
+ }
2191
+
2192
+ // @public (undocumented)
2193
+ export type GetLivenessSessionResultParameters = RequestParameters;
2194
+
2195
+ // @public
2196
+ export interface GetLivenessWithVerifySessionResult200Response extends HttpResponse {
2197
+ // (undocumented)
2198
+ body: LivenessWithVerifySessionOutput;
2199
+ // (undocumented)
2200
+ status: "200";
2201
+ }
2202
+
2203
+ // @public (undocumented)
2204
+ export interface GetLivenessWithVerifySessionResultDefaultHeaders {
2205
+ "x-ms-error-code"?: string;
2206
+ }
2207
+
2208
+ // @public (undocumented)
2209
+ export interface GetLivenessWithVerifySessionResultDefaultResponse extends HttpResponse {
2210
+ // (undocumented)
2211
+ body: FaceErrorResponseOutput;
2212
+ // (undocumented)
2213
+ headers: RawHttpHeaders & GetLivenessWithVerifySessionResultDefaultHeaders;
2214
+ // (undocumented)
2215
+ status: string;
2216
+ }
2217
+
2218
+ // @public (undocumented)
2219
+ export type GetLivenessWithVerifySessionResultParameters = RequestParameters;
2220
+
2221
+ // @public
2222
+ export function getLongRunningPoller<TResult extends TrainLargeFaceListLogicalResponse | TrainLargeFaceListDefaultResponse>(client: Client, initialResponse: TrainLargeFaceList202Response | TrainLargeFaceListDefaultResponse, options?: CreateHttpPollerOptions<TResult, OperationState<TResult>>): Promise<SimplePollerLike<OperationState<TResult>, TResult>>;
2223
+
2224
+ // @public (undocumented)
2225
+ export function getLongRunningPoller<TResult extends TrainPersonGroupLogicalResponse | TrainPersonGroupDefaultResponse>(client: Client, initialResponse: TrainPersonGroup202Response | TrainPersonGroupDefaultResponse, options?: CreateHttpPollerOptions<TResult, OperationState<TResult>>): Promise<SimplePollerLike<OperationState<TResult>, TResult>>;
2226
+
2227
+ // @public (undocumented)
2228
+ export function getLongRunningPoller<TResult extends TrainLargePersonGroupLogicalResponse | TrainLargePersonGroupDefaultResponse>(client: Client, initialResponse: TrainLargePersonGroup202Response | TrainLargePersonGroupDefaultResponse, options?: CreateHttpPollerOptions<TResult, OperationState<TResult>>): Promise<SimplePollerLike<OperationState<TResult>, TResult>>;
2229
+
2230
+ // @public
2231
+ export interface GetPersonGroup200Response extends HttpResponse {
2232
+ // (undocumented)
2233
+ body: PersonGroupOutput;
2234
+ // (undocumented)
2235
+ status: "200";
2236
+ }
2237
+
2238
+ // @public (undocumented)
2239
+ export interface GetPersonGroupDefaultHeaders {
2240
+ "x-ms-error-code"?: string;
2241
+ }
2242
+
2243
+ // @public (undocumented)
2244
+ export interface GetPersonGroupDefaultResponse extends HttpResponse {
2245
+ // (undocumented)
2246
+ body: FaceErrorResponseOutput;
2247
+ // (undocumented)
2248
+ headers: RawHttpHeaders & GetPersonGroupDefaultHeaders;
2249
+ // (undocumented)
2250
+ status: string;
2251
+ }
2252
+
2253
+ // @public (undocumented)
2254
+ export type GetPersonGroupParameters = GetPersonGroupQueryParam & RequestParameters;
2255
+
2256
+ // @public
2257
+ export interface GetPersonGroupPerson200Response extends HttpResponse {
2258
+ // (undocumented)
2259
+ body: PersonGroupPersonOutput;
2260
+ // (undocumented)
2261
+ status: "200";
2262
+ }
2263
+
2264
+ // @public (undocumented)
2265
+ export interface GetPersonGroupPersonDefaultHeaders {
2266
+ "x-ms-error-code"?: string;
2267
+ }
2268
+
2269
+ // @public (undocumented)
2270
+ export interface GetPersonGroupPersonDefaultResponse extends HttpResponse {
2271
+ // (undocumented)
2272
+ body: FaceErrorResponseOutput;
2273
+ // (undocumented)
2274
+ headers: RawHttpHeaders & GetPersonGroupPersonDefaultHeaders;
2275
+ // (undocumented)
2276
+ status: string;
2277
+ }
2278
+
2279
+ // @public
2280
+ export interface GetPersonGroupPersonFace200Response extends HttpResponse {
2281
+ // (undocumented)
2282
+ body: PersonGroupPersonFaceOutput;
2283
+ // (undocumented)
2284
+ status: "200";
2285
+ }
2286
+
2287
+ // @public (undocumented)
2288
+ export interface GetPersonGroupPersonFaceDefaultHeaders {
2289
+ "x-ms-error-code"?: string;
2290
+ }
2291
+
2292
+ // @public (undocumented)
2293
+ export interface GetPersonGroupPersonFaceDefaultResponse extends HttpResponse {
2294
+ // (undocumented)
2295
+ body: FaceErrorResponseOutput;
2296
+ // (undocumented)
2297
+ headers: RawHttpHeaders & GetPersonGroupPersonFaceDefaultHeaders;
2298
+ // (undocumented)
2299
+ status: string;
2300
+ }
2301
+
2302
+ // @public (undocumented)
2303
+ export type GetPersonGroupPersonFaceParameters = RequestParameters;
2304
+
2305
+ // @public (undocumented)
2306
+ export type GetPersonGroupPersonParameters = RequestParameters;
2307
+
2308
+ // @public
2309
+ export interface GetPersonGroupPersons200Response extends HttpResponse {
2310
+ // (undocumented)
2311
+ body: Array<PersonGroupPersonOutput>;
2312
+ // (undocumented)
2313
+ status: "200";
2314
+ }
2315
+
2316
+ // @public (undocumented)
2317
+ export interface GetPersonGroupPersonsDefaultHeaders {
2318
+ "x-ms-error-code"?: string;
2319
+ }
2320
+
2321
+ // @public (undocumented)
2322
+ export interface GetPersonGroupPersonsDefaultResponse extends HttpResponse {
2323
+ // (undocumented)
2324
+ body: FaceErrorResponseOutput;
2325
+ // (undocumented)
2326
+ headers: RawHttpHeaders & GetPersonGroupPersonsDefaultHeaders;
2327
+ // (undocumented)
2328
+ status: string;
2329
+ }
2330
+
2331
+ // @public (undocumented)
2332
+ export type GetPersonGroupPersonsParameters = GetPersonGroupPersonsQueryParam & RequestParameters;
2333
+
2334
+ // @public (undocumented)
2335
+ export interface GetPersonGroupPersonsQueryParam {
2336
+ // (undocumented)
2337
+ queryParameters?: GetPersonGroupPersonsQueryParamProperties;
2338
+ }
2339
+
2340
+ // @public (undocumented)
2341
+ export interface GetPersonGroupPersonsQueryParamProperties {
2342
+ start?: string;
2343
+ top?: number;
2344
+ }
2345
+
2346
+ // @public (undocumented)
2347
+ export interface GetPersonGroupQueryParam {
2348
+ // (undocumented)
2349
+ queryParameters?: GetPersonGroupQueryParamProperties;
2350
+ }
2351
+
2352
+ // @public (undocumented)
2353
+ export interface GetPersonGroupQueryParamProperties {
2354
+ returnRecognitionModel?: boolean;
2355
+ }
2356
+
2357
+ // @public (undocumented)
2358
+ export interface GetPersonGroups {
2359
+ get(options?: GetPersonGroupsParameters): StreamableMethod<GetPersonGroups200Response | GetPersonGroupsDefaultResponse>;
2360
+ }
2361
+
2362
+ // @public
2363
+ export interface GetPersonGroups200Response extends HttpResponse {
2364
+ // (undocumented)
2365
+ body: Array<PersonGroupOutput>;
2366
+ // (undocumented)
2367
+ status: "200";
2368
+ }
2369
+
2370
+ // @public (undocumented)
2371
+ export interface GetPersonGroupsDefaultHeaders {
2372
+ "x-ms-error-code"?: string;
2373
+ }
2374
+
2375
+ // @public (undocumented)
2376
+ export interface GetPersonGroupsDefaultResponse extends HttpResponse {
2377
+ // (undocumented)
2378
+ body: FaceErrorResponseOutput;
2379
+ // (undocumented)
2380
+ headers: RawHttpHeaders & GetPersonGroupsDefaultHeaders;
2381
+ // (undocumented)
2382
+ status: string;
2383
+ }
2384
+
2385
+ // @public (undocumented)
2386
+ export type GetPersonGroupsParameters = GetPersonGroupsQueryParam & RequestParameters;
2387
+
2388
+ // @public (undocumented)
2389
+ export interface GetPersonGroupsQueryParam {
2390
+ // (undocumented)
2391
+ queryParameters?: GetPersonGroupsQueryParamProperties;
2392
+ }
2393
+
2394
+ // @public (undocumented)
2395
+ export interface GetPersonGroupsQueryParamProperties {
2396
+ returnRecognitionModel?: boolean;
2397
+ start?: string;
2398
+ top?: number;
2399
+ }
2400
+
2401
+ // @public (undocumented)
2402
+ export interface GetPersonGroupTrainingStatus {
2403
+ get(options?: GetPersonGroupTrainingStatusParameters): StreamableMethod<GetPersonGroupTrainingStatus200Response | GetPersonGroupTrainingStatusDefaultResponse>;
2404
+ }
2405
+
2406
+ // @public
2407
+ export interface GetPersonGroupTrainingStatus200Response extends HttpResponse {
2408
+ // (undocumented)
2409
+ body: TrainingResultOutput;
2410
+ // (undocumented)
2411
+ status: "200";
2412
+ }
2413
+
2414
+ // @public (undocumented)
2415
+ export interface GetPersonGroupTrainingStatusDefaultHeaders {
2416
+ "x-ms-error-code"?: string;
2417
+ }
2418
+
2419
+ // @public (undocumented)
2420
+ export interface GetPersonGroupTrainingStatusDefaultResponse extends HttpResponse {
2421
+ // (undocumented)
2422
+ body: FaceErrorResponseOutput;
2423
+ // (undocumented)
2424
+ headers: RawHttpHeaders & GetPersonGroupTrainingStatusDefaultHeaders;
2425
+ // (undocumented)
2426
+ status: string;
2427
+ }
2428
+
2429
+ // @public (undocumented)
2430
+ export type GetPersonGroupTrainingStatusParameters = RequestParameters;
2431
+
2432
+ // @public (undocumented)
2433
+ export interface GetSessionImage {
2434
+ get(options?: GetSessionImageParameters): StreamableMethod<GetSessionImage200Response | GetSessionImageDefaultResponse>;
2435
+ }
2436
+
2437
+ // @public (undocumented)
2438
+ export interface GetSessionImage200Headers {
2439
+ "content-type": "application/octet-stream";
2440
+ }
2441
+
2442
+ // @public
2443
+ export interface GetSessionImage200Response extends HttpResponse {
2444
+ body: Uint8Array;
2445
+ // (undocumented)
2446
+ headers: RawHttpHeaders & GetSessionImage200Headers;
2447
+ // (undocumented)
2448
+ status: "200";
2449
+ }
2450
+
2451
+ // @public (undocumented)
2452
+ export interface GetSessionImageDefaultHeaders {
2453
+ "x-ms-error-code"?: string;
2454
+ }
2455
+
2456
+ // @public (undocumented)
2457
+ export interface GetSessionImageDefaultResponse extends HttpResponse {
2458
+ // (undocumented)
2459
+ body: FaceErrorResponseOutput;
2460
+ // (undocumented)
2461
+ headers: RawHttpHeaders & GetSessionImageDefaultHeaders;
2462
+ // (undocumented)
2463
+ status: string;
2464
+ }
2465
+
2466
+ // @public (undocumented)
2467
+ export type GetSessionImageParameters = RequestParameters;
2468
+
2469
+ // @public
2470
+ export type GlassesTypeOutput = string;
2471
+
2472
+ // @public (undocumented)
2473
+ export interface Group {
2474
+ post(options: GroupParameters): StreamableMethod<Group200Response | GroupDefaultResponse>;
2475
+ }
2476
+
2477
+ // @public
2478
+ export interface Group200Response extends HttpResponse {
2479
+ // (undocumented)
2480
+ body: GroupingResultOutput;
2481
+ // (undocumented)
2482
+ status: "200";
2483
+ }
2484
+
2485
+ // @public (undocumented)
2486
+ export interface GroupBodyParam {
2487
+ // (undocumented)
2488
+ body: {
2489
+ faceIds: string[];
2490
+ };
2491
+ }
2492
+
2493
+ // @public (undocumented)
2494
+ export interface GroupDefaultHeaders {
2495
+ "x-ms-error-code"?: string;
2496
+ }
2497
+
2498
+ // @public (undocumented)
2499
+ export interface GroupDefaultResponse extends HttpResponse {
2500
+ // (undocumented)
2501
+ body: FaceErrorResponseOutput;
2502
+ // (undocumented)
2503
+ headers: RawHttpHeaders & GroupDefaultHeaders;
2504
+ // (undocumented)
2505
+ status: string;
2506
+ }
2507
+
2508
+ // @public
2509
+ export interface GroupingResultOutput {
2510
+ groups: string[][];
2511
+ messyGroup: string[];
2512
+ }
2513
+
2514
+ // @public (undocumented)
2515
+ export type GroupParameters = GroupBodyParam & RequestParameters;
2516
+
2517
+ // @public
2518
+ export interface HairColorOutput {
2519
+ color: HairColorTypeOutput;
2520
+ confidence: number;
2521
+ }
2522
+
2523
+ // @public
2524
+ export type HairColorTypeOutput = string;
2525
+
2526
+ // @public
2527
+ export interface HairPropertiesOutput {
2528
+ bald: number;
2529
+ hairColor: Array<HairColorOutput>;
2530
+ invisible: boolean;
2531
+ }
2532
+
2533
+ // @public
2534
+ export interface HeadPoseOutput {
2535
+ pitch: number;
2536
+ roll: number;
2537
+ yaw: number;
2538
+ }
2539
+
2540
+ // @public
2541
+ export interface IdentificationCandidateOutput {
2542
+ confidence: number;
2543
+ personId: string;
2544
+ }
2545
+
2546
+ // @public
2547
+ export interface IdentificationResultOutput {
2548
+ candidates: Array<IdentificationCandidateOutput>;
2549
+ faceId: string;
2550
+ }
2551
+
2552
+ // @public
2553
+ export interface IdentifyFromDynamicPersonGroup200Response extends HttpResponse {
2554
+ // (undocumented)
2555
+ body: Array<IdentificationResultOutput>;
2556
+ // (undocumented)
2557
+ status: "200";
2558
+ }
2559
+
2560
+ // @public (undocumented)
2561
+ export interface IdentifyFromDynamicPersonGroupBodyParam {
2562
+ // (undocumented)
2563
+ body: {
2564
+ faceIds: string[];
2565
+ dynamicPersonGroupId: string;
2566
+ maxNumOfCandidatesReturned?: number;
2567
+ confidenceThreshold?: number;
2568
+ };
2569
+ }
2570
+
2571
+ // @public (undocumented)
2572
+ export interface IdentifyFromDynamicPersonGroupDefaultHeaders {
2573
+ "x-ms-error-code"?: string;
2574
+ }
2575
+
2576
+ // @public (undocumented)
2577
+ export interface IdentifyFromDynamicPersonGroupDefaultResponse extends HttpResponse {
2578
+ // (undocumented)
2579
+ body: FaceErrorResponseOutput;
2580
+ // (undocumented)
2581
+ headers: RawHttpHeaders & IdentifyFromDynamicPersonGroupDefaultHeaders;
2582
+ // (undocumented)
2583
+ status: string;
2584
+ }
2585
+
2586
+ // @public (undocumented)
2587
+ export type IdentifyFromDynamicPersonGroupParameters = IdentifyFromDynamicPersonGroupBodyParam & RequestParameters;
2588
+
2589
+ // @public
2590
+ export interface IdentifyFromLargePersonGroup200Response extends HttpResponse {
2591
+ // (undocumented)
2592
+ body: Array<IdentificationResultOutput>;
2593
+ // (undocumented)
2594
+ status: "200";
2595
+ }
2596
+
2597
+ // @public (undocumented)
2598
+ export interface IdentifyFromLargePersonGroupBodyParam {
2599
+ // (undocumented)
2600
+ body: {
2601
+ faceIds: string[];
2602
+ largePersonGroupId: string;
2603
+ maxNumOfCandidatesReturned?: number;
2604
+ confidenceThreshold?: number;
2605
+ };
2606
+ }
2607
+
2608
+ // @public (undocumented)
2609
+ export interface IdentifyFromLargePersonGroupDefaultHeaders {
2610
+ "x-ms-error-code"?: string;
2611
+ }
2612
+
2613
+ // @public (undocumented)
2614
+ export interface IdentifyFromLargePersonGroupDefaultResponse extends HttpResponse {
2615
+ // (undocumented)
2616
+ body: FaceErrorResponseOutput;
2617
+ // (undocumented)
2618
+ headers: RawHttpHeaders & IdentifyFromLargePersonGroupDefaultHeaders;
2619
+ // (undocumented)
2620
+ status: string;
2621
+ }
2622
+
2623
+ // @public (undocumented)
2624
+ export type IdentifyFromLargePersonGroupParameters = IdentifyFromLargePersonGroupBodyParam & RequestParameters;
2625
+
2626
+ // @public
2627
+ export interface IdentifyFromPersonDirectory200Response extends HttpResponse {
2628
+ // (undocumented)
2629
+ body: Array<IdentificationResultOutput>;
2630
+ // (undocumented)
2631
+ status: "200";
2632
+ }
2633
+
2634
+ // @public (undocumented)
2635
+ export interface IdentifyFromPersonDirectoryBodyParam {
2636
+ // (undocumented)
2637
+ body: {
2638
+ faceIds: string[];
2639
+ personIds: string[];
2640
+ maxNumOfCandidatesReturned?: number;
2641
+ confidenceThreshold?: number;
2642
+ };
2643
+ }
2644
+
2645
+ // @public (undocumented)
2646
+ export interface IdentifyFromPersonDirectoryDefaultHeaders {
2647
+ "x-ms-error-code"?: string;
2648
+ }
2649
+
2650
+ // @public (undocumented)
2651
+ export interface IdentifyFromPersonDirectoryDefaultResponse extends HttpResponse {
2652
+ // (undocumented)
2653
+ body: FaceErrorResponseOutput;
2654
+ // (undocumented)
2655
+ headers: RawHttpHeaders & IdentifyFromPersonDirectoryDefaultHeaders;
2656
+ // (undocumented)
2657
+ status: string;
2658
+ }
2659
+
2660
+ // @public (undocumented)
2661
+ export type IdentifyFromPersonDirectoryParameters = IdentifyFromPersonDirectoryBodyParam & RequestParameters;
2662
+
2663
+ // @public (undocumented)
2664
+ export interface IdentifyFromPersonGroup {
2665
+ post(options: IdentifyFromPersonGroupParameters): StreamableMethod<IdentifyFromPersonGroup200Response | IdentifyFromPersonGroupDefaultResponse>;
2666
+ post(options: IdentifyFromLargePersonGroupParameters): StreamableMethod<IdentifyFromLargePersonGroup200Response | IdentifyFromLargePersonGroupDefaultResponse>;
2667
+ post(options: IdentifyFromPersonDirectoryParameters): StreamableMethod<IdentifyFromPersonDirectory200Response | IdentifyFromPersonDirectoryDefaultResponse>;
2668
+ post(options: IdentifyFromDynamicPersonGroupParameters): StreamableMethod<IdentifyFromDynamicPersonGroup200Response | IdentifyFromDynamicPersonGroupDefaultResponse>;
2669
+ }
2670
+
2671
+ // @public
2672
+ export interface IdentifyFromPersonGroup200Response extends HttpResponse {
2673
+ // (undocumented)
2674
+ body: Array<IdentificationResultOutput>;
2675
+ // (undocumented)
2676
+ status: "200";
2677
+ }
2678
+
2679
+ // @public (undocumented)
2680
+ export interface IdentifyFromPersonGroupBodyParam {
2681
+ // (undocumented)
2682
+ body: {
2683
+ faceIds: string[];
2684
+ personGroupId: string;
2685
+ maxNumOfCandidatesReturned?: number;
2686
+ confidenceThreshold?: number;
2687
+ };
2688
+ }
2689
+
2690
+ // @public (undocumented)
2691
+ export interface IdentifyFromPersonGroupDefaultHeaders {
2692
+ "x-ms-error-code"?: string;
2693
+ }
2694
+
2695
+ // @public (undocumented)
2696
+ export interface IdentifyFromPersonGroupDefaultResponse extends HttpResponse {
2697
+ // (undocumented)
2698
+ body: FaceErrorResponseOutput;
2699
+ // (undocumented)
2700
+ headers: RawHttpHeaders & IdentifyFromPersonGroupDefaultHeaders;
2701
+ // (undocumented)
2702
+ status: string;
2703
+ }
2704
+
2705
+ // @public (undocumented)
2706
+ export type IdentifyFromPersonGroupParameters = IdentifyFromPersonGroupBodyParam & RequestParameters;
2707
+
2708
+ // @public
2709
+ export type ImageTypeOutput = string;
2710
+
2711
+ // @public (undocumented)
2712
+ export function isUnexpected(response: DetectFromUrl200Response | DetectFromUrlDefaultResponse): response is DetectFromUrlDefaultResponse;
2713
+
2714
+ // @public (undocumented)
2715
+ export function isUnexpected(response: Detect200Response | DetectDefaultResponse): response is DetectDefaultResponse;
2716
+
2717
+ // @public (undocumented)
2718
+ export function isUnexpected(response: DetectFromSessionImageId200Response | DetectFromSessionImageIdDefaultResponse): response is DetectFromSessionImageIdDefaultResponse;
2719
+
2720
+ // @public (undocumented)
2721
+ export function isUnexpected(response: FindSimilar200Response | FindSimilarDefaultResponse): response is FindSimilarDefaultResponse;
2722
+
2723
+ // @public (undocumented)
2724
+ export function isUnexpected(response: FindSimilarFromFaceList200Response | FindSimilarFromFaceListDefaultResponse): response is FindSimilarFromFaceListDefaultResponse;
2725
+
2726
+ // @public (undocumented)
2727
+ export function isUnexpected(response: FindSimilarFromLargeFaceList200Response | FindSimilarFromLargeFaceListDefaultResponse): response is FindSimilarFromLargeFaceListDefaultResponse;
2728
+
2729
+ // @public (undocumented)
2730
+ export function isUnexpected(response: IdentifyFromPersonGroup200Response | IdentifyFromPersonGroupDefaultResponse): response is IdentifyFromPersonGroupDefaultResponse;
2731
+
2732
+ // @public (undocumented)
2733
+ export function isUnexpected(response: IdentifyFromLargePersonGroup200Response | IdentifyFromLargePersonGroupDefaultResponse): response is IdentifyFromLargePersonGroupDefaultResponse;
2734
+
2735
+ // @public (undocumented)
2736
+ export function isUnexpected(response: IdentifyFromPersonDirectory200Response | IdentifyFromPersonDirectoryDefaultResponse): response is IdentifyFromPersonDirectoryDefaultResponse;
2737
+
2738
+ // @public (undocumented)
2739
+ export function isUnexpected(response: IdentifyFromDynamicPersonGroup200Response | IdentifyFromDynamicPersonGroupDefaultResponse): response is IdentifyFromDynamicPersonGroupDefaultResponse;
2740
+
2741
+ // @public (undocumented)
2742
+ export function isUnexpected(response: VerifyFaceToFace200Response | VerifyFaceToFaceDefaultResponse): response is VerifyFaceToFaceDefaultResponse;
2743
+
2744
+ // @public (undocumented)
2745
+ export function isUnexpected(response: VerifyFromPersonGroup200Response | VerifyFromPersonGroupDefaultResponse): response is VerifyFromPersonGroupDefaultResponse;
2746
+
2747
+ // @public (undocumented)
2748
+ export function isUnexpected(response: VerifyFromLargePersonGroup200Response | VerifyFromLargePersonGroupDefaultResponse): response is VerifyFromLargePersonGroupDefaultResponse;
2749
+
2750
+ // @public (undocumented)
2751
+ export function isUnexpected(response: VerifyFromPersonDirectory200Response | VerifyFromPersonDirectoryDefaultResponse): response is VerifyFromPersonDirectoryDefaultResponse;
2752
+
2753
+ // @public (undocumented)
2754
+ export function isUnexpected(response: Group200Response | GroupDefaultResponse): response is GroupDefaultResponse;
2755
+
2756
+ // @public (undocumented)
2757
+ export function isUnexpected(response: CreateFaceList200Response | CreateFaceListDefaultResponse): response is CreateFaceListDefaultResponse;
2758
+
2759
+ // @public (undocumented)
2760
+ export function isUnexpected(response: DeleteFaceList200Response | DeleteFaceListDefaultResponse): response is DeleteFaceListDefaultResponse;
2761
+
2762
+ // @public (undocumented)
2763
+ export function isUnexpected(response: GetFaceList200Response | GetFaceListDefaultResponse): response is GetFaceListDefaultResponse;
2764
+
2765
+ // @public (undocumented)
2766
+ export function isUnexpected(response: UpdateFaceList200Response | UpdateFaceListDefaultResponse): response is UpdateFaceListDefaultResponse;
2767
+
2768
+ // @public (undocumented)
2769
+ export function isUnexpected(response: GetFaceLists200Response | GetFaceListsDefaultResponse): response is GetFaceListsDefaultResponse;
2770
+
2771
+ // @public (undocumented)
2772
+ export function isUnexpected(response: AddFaceListFaceFromUrl200Response | AddFaceListFaceFromUrlDefaultResponse): response is AddFaceListFaceFromUrlDefaultResponse;
2773
+
2774
+ // @public (undocumented)
2775
+ export function isUnexpected(response: AddFaceListFace200Response | AddFaceListFaceDefaultResponse): response is AddFaceListFaceDefaultResponse;
2776
+
2777
+ // @public (undocumented)
2778
+ export function isUnexpected(response: DeleteFaceListFace200Response | DeleteFaceListFaceDefaultResponse): response is DeleteFaceListFaceDefaultResponse;
2779
+
2780
+ // @public (undocumented)
2781
+ export function isUnexpected(response: CreateLargeFaceList200Response | CreateLargeFaceListDefaultResponse): response is CreateLargeFaceListDefaultResponse;
2782
+
2783
+ // @public (undocumented)
2784
+ export function isUnexpected(response: DeleteLargeFaceList200Response | DeleteLargeFaceListDefaultResponse): response is DeleteLargeFaceListDefaultResponse;
2785
+
2786
+ // @public (undocumented)
2787
+ export function isUnexpected(response: GetLargeFaceList200Response | GetLargeFaceListDefaultResponse): response is GetLargeFaceListDefaultResponse;
2788
+
2789
+ // @public (undocumented)
2790
+ export function isUnexpected(response: UpdateLargeFaceList200Response | UpdateLargeFaceListDefaultResponse): response is UpdateLargeFaceListDefaultResponse;
2791
+
2792
+ // @public (undocumented)
2793
+ export function isUnexpected(response: GetLargeFaceLists200Response | GetLargeFaceListsDefaultResponse): response is GetLargeFaceListsDefaultResponse;
2794
+
2795
+ // @public (undocumented)
2796
+ export function isUnexpected(response: GetLargeFaceListTrainingStatus200Response | GetLargeFaceListTrainingStatusDefaultResponse): response is GetLargeFaceListTrainingStatusDefaultResponse;
2797
+
2798
+ // @public (undocumented)
2799
+ export function isUnexpected(response: TrainLargeFaceList202Response | TrainLargeFaceListLogicalResponse | TrainLargeFaceListDefaultResponse): response is TrainLargeFaceListDefaultResponse;
2800
+
2801
+ // @public (undocumented)
2802
+ export function isUnexpected(response: AddLargeFaceListFaceFromUrl200Response | AddLargeFaceListFaceFromUrlDefaultResponse): response is AddLargeFaceListFaceFromUrlDefaultResponse;
2803
+
2804
+ // @public (undocumented)
2805
+ export function isUnexpected(response: AddLargeFaceListFace200Response | AddLargeFaceListFaceDefaultResponse): response is AddLargeFaceListFaceDefaultResponse;
2806
+
2807
+ // @public (undocumented)
2808
+ export function isUnexpected(response: GetLargeFaceListFaces200Response | GetLargeFaceListFacesDefaultResponse): response is GetLargeFaceListFacesDefaultResponse;
2809
+
2810
+ // @public (undocumented)
2811
+ export function isUnexpected(response: DeleteLargeFaceListFace200Response | DeleteLargeFaceListFaceDefaultResponse): response is DeleteLargeFaceListFaceDefaultResponse;
2812
+
2813
+ // @public (undocumented)
2814
+ export function isUnexpected(response: GetLargeFaceListFace200Response | GetLargeFaceListFaceDefaultResponse): response is GetLargeFaceListFaceDefaultResponse;
2815
+
2816
+ // @public (undocumented)
2817
+ export function isUnexpected(response: UpdateLargeFaceListFace200Response | UpdateLargeFaceListFaceDefaultResponse): response is UpdateLargeFaceListFaceDefaultResponse;
2818
+
2819
+ // @public (undocumented)
2820
+ export function isUnexpected(response: CreatePersonGroup200Response | CreatePersonGroupDefaultResponse): response is CreatePersonGroupDefaultResponse;
2821
+
2822
+ // @public (undocumented)
2823
+ export function isUnexpected(response: DeletePersonGroup200Response | DeletePersonGroupDefaultResponse): response is DeletePersonGroupDefaultResponse;
2824
+
2825
+ // @public (undocumented)
2826
+ export function isUnexpected(response: GetPersonGroup200Response | GetPersonGroupDefaultResponse): response is GetPersonGroupDefaultResponse;
2827
+
2828
+ // @public (undocumented)
2829
+ export function isUnexpected(response: UpdatePersonGroup200Response | UpdatePersonGroupDefaultResponse): response is UpdatePersonGroupDefaultResponse;
2830
+
2831
+ // @public (undocumented)
2832
+ export function isUnexpected(response: GetPersonGroups200Response | GetPersonGroupsDefaultResponse): response is GetPersonGroupsDefaultResponse;
2833
+
2834
+ // @public (undocumented)
2835
+ export function isUnexpected(response: GetPersonGroupTrainingStatus200Response | GetPersonGroupTrainingStatusDefaultResponse): response is GetPersonGroupTrainingStatusDefaultResponse;
2836
+
2837
+ // @public (undocumented)
2838
+ export function isUnexpected(response: TrainPersonGroup202Response | TrainPersonGroupLogicalResponse | TrainPersonGroupDefaultResponse): response is TrainPersonGroupDefaultResponse;
2839
+
2840
+ // @public (undocumented)
2841
+ export function isUnexpected(response: CreatePersonGroupPerson200Response | CreatePersonGroupPersonDefaultResponse): response is CreatePersonGroupPersonDefaultResponse;
2842
+
2843
+ // @public (undocumented)
2844
+ export function isUnexpected(response: GetPersonGroupPersons200Response | GetPersonGroupPersonsDefaultResponse): response is GetPersonGroupPersonsDefaultResponse;
2845
+
2846
+ // @public (undocumented)
2847
+ export function isUnexpected(response: DeletePersonGroupPerson200Response | DeletePersonGroupPersonDefaultResponse): response is DeletePersonGroupPersonDefaultResponse;
2848
+
2849
+ // @public (undocumented)
2850
+ export function isUnexpected(response: GetPersonGroupPerson200Response | GetPersonGroupPersonDefaultResponse): response is GetPersonGroupPersonDefaultResponse;
2851
+
2852
+ // @public (undocumented)
2853
+ export function isUnexpected(response: UpdatePersonGroupPerson200Response | UpdatePersonGroupPersonDefaultResponse): response is UpdatePersonGroupPersonDefaultResponse;
2854
+
2855
+ // @public (undocumented)
2856
+ export function isUnexpected(response: AddPersonGroupPersonFaceFromUrl200Response | AddPersonGroupPersonFaceFromUrlDefaultResponse): response is AddPersonGroupPersonFaceFromUrlDefaultResponse;
2857
+
2858
+ // @public (undocumented)
2859
+ export function isUnexpected(response: AddPersonGroupPersonFace200Response | AddPersonGroupPersonFaceDefaultResponse): response is AddPersonGroupPersonFaceDefaultResponse;
2860
+
2861
+ // @public (undocumented)
2862
+ export function isUnexpected(response: DeletePersonGroupPersonFace200Response | DeletePersonGroupPersonFaceDefaultResponse): response is DeletePersonGroupPersonFaceDefaultResponse;
2863
+
2864
+ // @public (undocumented)
2865
+ export function isUnexpected(response: GetPersonGroupPersonFace200Response | GetPersonGroupPersonFaceDefaultResponse): response is GetPersonGroupPersonFaceDefaultResponse;
2866
+
2867
+ // @public (undocumented)
2868
+ export function isUnexpected(response: UpdatePersonGroupPersonFace200Response | UpdatePersonGroupPersonFaceDefaultResponse): response is UpdatePersonGroupPersonFaceDefaultResponse;
2869
+
2870
+ // @public (undocumented)
2871
+ export function isUnexpected(response: CreateLargePersonGroup200Response | CreateLargePersonGroupDefaultResponse): response is CreateLargePersonGroupDefaultResponse;
2872
+
2873
+ // @public (undocumented)
2874
+ export function isUnexpected(response: DeleteLargePersonGroup200Response | DeleteLargePersonGroupDefaultResponse): response is DeleteLargePersonGroupDefaultResponse;
2875
+
2876
+ // @public (undocumented)
2877
+ export function isUnexpected(response: GetLargePersonGroup200Response | GetLargePersonGroupDefaultResponse): response is GetLargePersonGroupDefaultResponse;
2878
+
2879
+ // @public (undocumented)
2880
+ export function isUnexpected(response: UpdateLargePersonGroup200Response | UpdateLargePersonGroupDefaultResponse): response is UpdateLargePersonGroupDefaultResponse;
2881
+
2882
+ // @public (undocumented)
2883
+ export function isUnexpected(response: GetLargePersonGroups200Response | GetLargePersonGroupsDefaultResponse): response is GetLargePersonGroupsDefaultResponse;
2884
+
2885
+ // @public (undocumented)
2886
+ export function isUnexpected(response: GetLargePersonGroupTrainingStatus200Response | GetLargePersonGroupTrainingStatusDefaultResponse): response is GetLargePersonGroupTrainingStatusDefaultResponse;
2887
+
2888
+ // @public (undocumented)
2889
+ export function isUnexpected(response: TrainLargePersonGroup202Response | TrainLargePersonGroupLogicalResponse | TrainLargePersonGroupDefaultResponse): response is TrainLargePersonGroupDefaultResponse;
2890
+
2891
+ // @public (undocumented)
2892
+ export function isUnexpected(response: CreateLargePersonGroupPerson200Response | CreateLargePersonGroupPersonDefaultResponse): response is CreateLargePersonGroupPersonDefaultResponse;
2893
+
2894
+ // @public (undocumented)
2895
+ export function isUnexpected(response: GetLargePersonGroupPersons200Response | GetLargePersonGroupPersonsDefaultResponse): response is GetLargePersonGroupPersonsDefaultResponse;
2896
+
2897
+ // @public (undocumented)
2898
+ export function isUnexpected(response: DeleteLargePersonGroupPerson200Response | DeleteLargePersonGroupPersonDefaultResponse): response is DeleteLargePersonGroupPersonDefaultResponse;
2899
+
2900
+ // @public (undocumented)
2901
+ export function isUnexpected(response: GetLargePersonGroupPerson200Response | GetLargePersonGroupPersonDefaultResponse): response is GetLargePersonGroupPersonDefaultResponse;
2902
+
2903
+ // @public (undocumented)
2904
+ export function isUnexpected(response: UpdateLargePersonGroupPerson200Response | UpdateLargePersonGroupPersonDefaultResponse): response is UpdateLargePersonGroupPersonDefaultResponse;
2905
+
2906
+ // @public (undocumented)
2907
+ export function isUnexpected(response: AddLargePersonGroupPersonFaceFromUrl200Response | AddLargePersonGroupPersonFaceFromUrlDefaultResponse): response is AddLargePersonGroupPersonFaceFromUrlDefaultResponse;
2908
+
2909
+ // @public (undocumented)
2910
+ export function isUnexpected(response: AddLargePersonGroupPersonFace200Response | AddLargePersonGroupPersonFaceDefaultResponse): response is AddLargePersonGroupPersonFaceDefaultResponse;
2911
+
2912
+ // @public (undocumented)
2913
+ export function isUnexpected(response: DeleteLargePersonGroupPersonFace200Response | DeleteLargePersonGroupPersonFaceDefaultResponse): response is DeleteLargePersonGroupPersonFaceDefaultResponse;
2914
+
2915
+ // @public (undocumented)
2916
+ export function isUnexpected(response: GetLargePersonGroupPersonFace200Response | GetLargePersonGroupPersonFaceDefaultResponse): response is GetLargePersonGroupPersonFaceDefaultResponse;
2917
+
2918
+ // @public (undocumented)
2919
+ export function isUnexpected(response: UpdateLargePersonGroupPersonFace200Response | UpdateLargePersonGroupPersonFaceDefaultResponse): response is UpdateLargePersonGroupPersonFaceDefaultResponse;
2920
+
2921
+ // @public (undocumented)
2922
+ export function isUnexpected(response: CreateLivenessSession200Response | CreateLivenessSessionDefaultResponse): response is CreateLivenessSessionDefaultResponse;
2923
+
2924
+ // @public (undocumented)
2925
+ export function isUnexpected(response: DeleteLivenessSession204Response | DeleteLivenessSessionDefaultResponse): response is DeleteLivenessSessionDefaultResponse;
2926
+
2927
+ // @public (undocumented)
2928
+ export function isUnexpected(response: GetLivenessSessionResult200Response | GetLivenessSessionResultDefaultResponse): response is GetLivenessSessionResultDefaultResponse;
2929
+
2930
+ // @public (undocumented)
2931
+ export function isUnexpected(response: CreateLivenessWithVerifySession200Response | CreateLivenessWithVerifySessionDefaultResponse): response is CreateLivenessWithVerifySessionDefaultResponse;
2932
+
2933
+ // @public (undocumented)
2934
+ export function isUnexpected(response: DeleteLivenessWithVerifySession204Response | DeleteLivenessWithVerifySessionDefaultResponse): response is DeleteLivenessWithVerifySessionDefaultResponse;
2935
+
2936
+ // @public (undocumented)
2937
+ export function isUnexpected(response: GetLivenessWithVerifySessionResult200Response | GetLivenessWithVerifySessionResultDefaultResponse): response is GetLivenessWithVerifySessionResultDefaultResponse;
2938
+
2939
+ // @public (undocumented)
2940
+ export function isUnexpected(response: GetSessionImage200Response | GetSessionImageDefaultResponse): response is GetSessionImageDefaultResponse;
2941
+
2942
+ // @public
2943
+ export interface LandmarkCoordinateOutput {
2944
+ x: number;
2945
+ y: number;
2946
+ }
2947
+
2948
+ // @public
2949
+ export interface LargeFaceListFaceOutput {
2950
+ readonly persistedFaceId: string;
2951
+ userData?: string;
2952
+ }
2953
+
2954
+ // @public
2955
+ export interface LargeFaceListOutput {
2956
+ readonly largeFaceListId: string;
2957
+ name: string;
2958
+ recognitionModel?: RecognitionModelOutput;
2959
+ userData?: string;
2960
+ }
2961
+
2962
+ // @public
2963
+ export interface LargePersonGroupOutput {
2964
+ readonly largePersonGroupId: string;
2965
+ name: string;
2966
+ recognitionModel?: RecognitionModelOutput;
2967
+ userData?: string;
2968
+ }
2969
+
2970
+ // @public
2971
+ export interface LargePersonGroupPersonFaceOutput {
2972
+ readonly persistedFaceId: string;
2973
+ userData?: string;
2974
+ }
2975
+
2976
+ // @public
2977
+ export interface LargePersonGroupPersonOutput {
2978
+ name: string;
2979
+ persistedFaceIds?: string[];
2980
+ readonly personId: string;
2981
+ userData?: string;
2982
+ }
2983
+
2984
+ // @public
2985
+ export interface LivenessColorDecisionTargetOutput {
2986
+ faceRectangle: FaceRectangleOutput;
2987
+ }
2988
+
2989
+ // @public
2990
+ export type LivenessDecisionOutput = string;
2991
+
2992
+ // @public
2993
+ export interface LivenessDecisionTargetsOutput {
2994
+ color: LivenessColorDecisionTargetOutput;
2995
+ }
2996
+
2997
+ // @public
2998
+ export interface LivenessErrorOutput {
2999
+ code: string;
3000
+ message: string;
3001
+ targets: LivenessDecisionTargetsOutput;
3002
+ }
3003
+
3004
+ // @public
3005
+ export type LivenessModel = string;
3006
+
3007
+ // @public
3008
+ export type LivenessModelOutput = string;
3009
+
3010
+ // @public
3011
+ export type LivenessOperationMode = string;
3012
+
3013
+ // @public
3014
+ export interface LivenessResultOutput {
3015
+ digest: string;
3016
+ livenessDecision?: LivenessDecisionOutput;
3017
+ sessionImageId?: string;
3018
+ targets: LivenessDecisionTargetsOutput;
3019
+ }
3020
+
3021
+ // @public
3022
+ export interface LivenessSessionAttemptOutput {
3023
+ attemptId: number;
3024
+ attemptStatus: OperationStateOutput;
3025
+ error?: LivenessErrorOutput;
3026
+ result?: LivenessResultOutput;
3027
+ }
3028
+
3029
+ // @public
3030
+ export interface LivenessSessionOutput {
3031
+ authToken: string;
3032
+ modelVersion?: LivenessModelOutput;
3033
+ results: LivenessSessionResultsOutput;
3034
+ readonly sessionId: string;
3035
+ status: OperationStateOutput;
3036
+ }
3037
+
3038
+ // @public
3039
+ export interface LivenessSessionResultsOutput {
3040
+ attempts: Array<LivenessSessionAttemptOutput>;
3041
+ }
3042
+
3043
+ // @public
3044
+ export interface LivenessWithVerifyOutputsOutput {
3045
+ isIdentical: boolean;
3046
+ matchConfidence: number;
3047
+ }
3048
+
3049
+ // @public
3050
+ export interface LivenessWithVerifyReferenceOutput {
3051
+ faceRectangle: FaceRectangleOutput;
3052
+ qualityForRecognition: QualityForRecognitionOutput;
3053
+ referenceType: ImageTypeOutput;
3054
+ }
3055
+
3056
+ // @public
3057
+ export interface LivenessWithVerifyResultOutput {
3058
+ digest: string;
3059
+ livenessDecision?: LivenessDecisionOutput;
3060
+ sessionImageId?: string;
3061
+ targets: LivenessDecisionTargetsOutput;
3062
+ verifyImageHash?: string;
3063
+ verifyResult?: LivenessWithVerifyOutputsOutput;
3064
+ }
3065
+
3066
+ // @public
3067
+ export interface LivenessWithVerifySessionAttemptOutput {
3068
+ attemptId: number;
3069
+ attemptStatus: OperationStateOutput;
3070
+ error?: LivenessErrorOutput;
3071
+ result?: LivenessWithVerifyResultOutput;
3072
+ }
3073
+
3074
+ // @public
3075
+ export interface LivenessWithVerifySessionOutput {
3076
+ authToken: string;
3077
+ modelVersion?: LivenessModelOutput;
3078
+ results: LivenessWithVerifySessionResultsOutput;
3079
+ readonly sessionId: string;
3080
+ status: OperationStateOutput;
3081
+ }
3082
+
3083
+ // @public
3084
+ export interface LivenessWithVerifySessionResultsOutput {
3085
+ attempts: Array<LivenessWithVerifySessionAttemptOutput>;
3086
+ verifyReferences: Array<LivenessWithVerifyReferenceOutput>;
3087
+ }
3088
+
3089
+ // @public
3090
+ export interface MaskPropertiesOutput {
3091
+ noseAndMouthCovered: boolean;
3092
+ type: MaskTypeOutput;
3093
+ }
3094
+
3095
+ // @public
3096
+ export type MaskTypeOutput = string;
3097
+
3098
+ // @public
3099
+ export type NoiseLevelOutput = string;
3100
+
3101
+ // @public
3102
+ export interface NoisePropertiesOutput {
3103
+ noiseLevel: NoiseLevelOutput;
3104
+ value: number;
3105
+ }
3106
+
3107
+ // @public
3108
+ export interface OcclusionPropertiesOutput {
3109
+ eyeOccluded: boolean;
3110
+ foreheadOccluded: boolean;
3111
+ mouthOccluded: boolean;
3112
+ }
3113
+
3114
+ // @public
3115
+ export type OperationStateOutput = string;
3116
+
3117
+ // @public
3118
+ export type OperationStatusOutput = string;
3119
+
3120
+ // @public
3121
+ export interface PersonGroupOutput {
3122
+ name: string;
3123
+ readonly personGroupId: string;
3124
+ recognitionModel?: RecognitionModelOutput;
3125
+ userData?: string;
3126
+ }
3127
+
3128
+ // @public
3129
+ export interface PersonGroupPersonFaceOutput {
3130
+ readonly persistedFaceId: string;
3131
+ userData?: string;
3132
+ }
3133
+
3134
+ // @public
3135
+ export interface PersonGroupPersonOutput {
3136
+ name: string;
3137
+ persistedFaceIds?: string[];
3138
+ readonly personId: string;
3139
+ userData?: string;
3140
+ }
3141
+
3142
+ // @public
3143
+ export type QualityForRecognitionOutput = string;
3144
+
3145
+ // @public
3146
+ export type RecognitionModel = string;
3147
+
3148
+ // @public
3149
+ export type RecognitionModelOutput = string;
3150
+
3151
+ // @public (undocumented)
3152
+ export interface Routes {
3153
+ (path: "/detect"): DetectFromUrl;
3154
+ (path: "/findsimilars"): FindSimilar;
3155
+ (path: "/identify"): IdentifyFromPersonGroup;
3156
+ (path: "/verify"): VerifyFaceToFace;
3157
+ (path: "/group"): Group;
3158
+ (path: "/facelists/{faceListId}", faceListId: string): CreateFaceList;
3159
+ (path: "/facelists"): GetFaceLists;
3160
+ (path: "/facelists/{faceListId}/persistedfaces", faceListId: string): AddFaceListFaceFromUrl;
3161
+ (path: "/facelists/{faceListId}/persistedfaces/{persistedFaceId}", faceListId: string, persistedFaceId: string): DeleteFaceListFace;
3162
+ (path: "/largefacelists/{largeFaceListId}", largeFaceListId: string): CreateLargeFaceList;
3163
+ (path: "/largefacelists"): GetLargeFaceLists;
3164
+ (path: "/largefacelists/{largeFaceListId}/training", largeFaceListId: string): GetLargeFaceListTrainingStatus;
3165
+ (path: "/largefacelists/{largeFaceListId}/train", largeFaceListId: string): TrainLargeFaceList;
3166
+ (path: "/largefacelists/{largeFaceListId}/persistedfaces", largeFaceListId: string): AddLargeFaceListFaceFromUrl;
3167
+ (path: "/largefacelists/{largeFaceListId}/persistedfaces/{persistedFaceId}", largeFaceListId: string, persistedFaceId: string): DeleteLargeFaceListFace;
3168
+ (path: "/persongroups/{personGroupId}", personGroupId: string): CreatePersonGroup;
3169
+ (path: "/persongroups"): GetPersonGroups;
3170
+ (path: "/persongroups/{personGroupId}/training", personGroupId: string): GetPersonGroupTrainingStatus;
3171
+ (path: "/persongroups/{personGroupId}/train", personGroupId: string): TrainPersonGroup;
3172
+ (path: "/persongroups/{personGroupId}/persons", personGroupId: string): CreatePersonGroupPerson;
3173
+ (path: "/persongroups/{personGroupId}/persons/{personId}", personGroupId: string, personId: string): DeletePersonGroupPerson;
3174
+ (path: "/persongroups/{personGroupId}/persons/{personId}/persistedfaces", personGroupId: string, personId: string): AddPersonGroupPersonFaceFromUrl;
3175
+ (path: "/persongroups/{personGroupId}/persons/{personId}/persistedfaces/{persistedFaceId}", personGroupId: string, personId: string, persistedFaceId: string): DeletePersonGroupPersonFace;
3176
+ (path: "/largepersongroups/{largePersonGroupId}", largePersonGroupId: string): CreateLargePersonGroup;
3177
+ (path: "/largepersongroups"): GetLargePersonGroups;
3178
+ (path: "/largepersongroups/{largePersonGroupId}/training", largePersonGroupId: string): GetLargePersonGroupTrainingStatus;
3179
+ (path: "/largepersongroups/{largePersonGroupId}/train", largePersonGroupId: string): TrainLargePersonGroup;
3180
+ (path: "/largepersongroups/{largePersonGroupId}/persons", largePersonGroupId: string): CreateLargePersonGroupPerson;
3181
+ (path: "/largepersongroups/{largePersonGroupId}/persons/{personId}", largePersonGroupId: string, personId: string): DeleteLargePersonGroupPerson;
3182
+ (path: "/largepersongroups/{largePersonGroupId}/persons/{personId}/persistedfaces", largePersonGroupId: string, personId: string): AddLargePersonGroupPersonFaceFromUrl;
3183
+ (path: "/largepersongroups/{largePersonGroupId}/persons/{personId}/persistedfaces/{persistedFaceId}", largePersonGroupId: string, personId: string, persistedFaceId: string): DeleteLargePersonGroupPersonFace;
3184
+ (path: "/detectLiveness-sessions"): CreateLivenessSession;
3185
+ (path: "/detectLiveness-sessions/{sessionId}", sessionId: string): DeleteLivenessSession;
3186
+ (path: "/detectLivenessWithVerify-sessions"): CreateLivenessWithVerifySession;
3187
+ (path: "/detectLivenessWithVerify-sessions/{sessionId}", sessionId: string): DeleteLivenessWithVerifySession;
3188
+ (path: "/sessionImages/{sessionImageId}", sessionImageId: string): GetSessionImage;
3189
+ }
3190
+
3191
+ // @public
3192
+ export interface SimplePollerLike<TState extends OperationState<TResult>, TResult> {
3193
+ getOperationState(): TState;
3194
+ getResult(): TResult | undefined;
3195
+ isDone(): boolean;
3196
+ // @deprecated
3197
+ isStopped(): boolean;
3198
+ onProgress(callback: (state: TState) => void): CancelOnProgress;
3199
+ poll(options?: {
3200
+ abortSignal?: AbortSignalLike;
3201
+ }): Promise<TState>;
3202
+ pollUntilDone(pollOptions?: {
3203
+ abortSignal?: AbortSignalLike;
3204
+ }): Promise<TResult>;
3205
+ serialize(): Promise<string>;
3206
+ // @deprecated
3207
+ stopPolling(): void;
3208
+ submitted(): Promise<void>;
3209
+ // @deprecated
3210
+ toString(): string;
3211
+ }
3212
+
3213
+ // @public
3214
+ export interface TrainingResultOutput {
3215
+ createdDateTime: string;
3216
+ lastActionDateTime: string;
3217
+ lastSuccessfulTrainingDateTime: string;
3218
+ message?: string;
3219
+ status: OperationStatusOutput;
3220
+ }
3221
+
3222
+ // @public (undocumented)
3223
+ export interface TrainLargeFaceList {
3224
+ post(options?: TrainLargeFaceListParameters): StreamableMethod<TrainLargeFaceList202Response | TrainLargeFaceListDefaultResponse>;
3225
+ }
3226
+
3227
+ // @public (undocumented)
3228
+ export interface TrainLargeFaceList202Headers {
3229
+ // (undocumented)
3230
+ "operation-location": string;
3231
+ }
3232
+
3233
+ // @public
3234
+ export interface TrainLargeFaceList202Response extends HttpResponse {
3235
+ // (undocumented)
3236
+ headers: RawHttpHeaders & TrainLargeFaceList202Headers;
3237
+ // (undocumented)
3238
+ status: "202";
3239
+ }
3240
+
3241
+ // @public (undocumented)
3242
+ export interface TrainLargeFaceListDefaultHeaders {
3243
+ "x-ms-error-code"?: string;
3244
+ }
3245
+
3246
+ // @public (undocumented)
3247
+ export interface TrainLargeFaceListDefaultResponse extends HttpResponse {
3248
+ // (undocumented)
3249
+ body: FaceErrorResponseOutput;
3250
+ // (undocumented)
3251
+ headers: RawHttpHeaders & TrainLargeFaceListDefaultHeaders;
3252
+ // (undocumented)
3253
+ status: string;
3254
+ }
3255
+
3256
+ // @public
3257
+ export interface TrainLargeFaceListLogicalResponse extends HttpResponse {
3258
+ // (undocumented)
3259
+ status: "200";
3260
+ }
3261
+
3262
+ // @public (undocumented)
3263
+ export type TrainLargeFaceListParameters = RequestParameters;
3264
+
3265
+ // @public (undocumented)
3266
+ export interface TrainLargePersonGroup {
3267
+ post(options?: TrainLargePersonGroupParameters): StreamableMethod<TrainLargePersonGroup202Response | TrainLargePersonGroupDefaultResponse>;
3268
+ }
3269
+
3270
+ // @public (undocumented)
3271
+ export interface TrainLargePersonGroup202Headers {
3272
+ // (undocumented)
3273
+ "operation-location": string;
3274
+ }
3275
+
3276
+ // @public
3277
+ export interface TrainLargePersonGroup202Response extends HttpResponse {
3278
+ // (undocumented)
3279
+ headers: RawHttpHeaders & TrainLargePersonGroup202Headers;
3280
+ // (undocumented)
3281
+ status: "202";
3282
+ }
3283
+
3284
+ // @public (undocumented)
3285
+ export interface TrainLargePersonGroupDefaultHeaders {
3286
+ "x-ms-error-code"?: string;
3287
+ }
3288
+
3289
+ // @public (undocumented)
3290
+ export interface TrainLargePersonGroupDefaultResponse extends HttpResponse {
3291
+ // (undocumented)
3292
+ body: FaceErrorResponseOutput;
3293
+ // (undocumented)
3294
+ headers: RawHttpHeaders & TrainLargePersonGroupDefaultHeaders;
3295
+ // (undocumented)
3296
+ status: string;
3297
+ }
3298
+
3299
+ // @public
3300
+ export interface TrainLargePersonGroupLogicalResponse extends HttpResponse {
3301
+ // (undocumented)
3302
+ status: "200";
3303
+ }
3304
+
3305
+ // @public (undocumented)
3306
+ export type TrainLargePersonGroupParameters = RequestParameters;
3307
+
3308
+ // @public (undocumented)
3309
+ export interface TrainPersonGroup {
3310
+ post(options?: TrainPersonGroupParameters): StreamableMethod<TrainPersonGroup202Response | TrainPersonGroupDefaultResponse>;
3311
+ }
3312
+
3313
+ // @public (undocumented)
3314
+ export interface TrainPersonGroup202Headers {
3315
+ // (undocumented)
3316
+ "operation-location": string;
3317
+ }
3318
+
3319
+ // @public
3320
+ export interface TrainPersonGroup202Response extends HttpResponse {
3321
+ // (undocumented)
3322
+ headers: RawHttpHeaders & TrainPersonGroup202Headers;
3323
+ // (undocumented)
3324
+ status: "202";
3325
+ }
3326
+
3327
+ // @public (undocumented)
3328
+ export interface TrainPersonGroupDefaultHeaders {
3329
+ "x-ms-error-code"?: string;
3330
+ }
3331
+
3332
+ // @public (undocumented)
3333
+ export interface TrainPersonGroupDefaultResponse extends HttpResponse {
3334
+ // (undocumented)
3335
+ body: FaceErrorResponseOutput;
3336
+ // (undocumented)
3337
+ headers: RawHttpHeaders & TrainPersonGroupDefaultHeaders;
3338
+ // (undocumented)
3339
+ status: string;
3340
+ }
3341
+
3342
+ // @public
3343
+ export interface TrainPersonGroupLogicalResponse extends HttpResponse {
3344
+ // (undocumented)
3345
+ status: "200";
3346
+ }
3347
+
3348
+ // @public (undocumented)
3349
+ export type TrainPersonGroupParameters = RequestParameters;
3350
+
3351
+ // @public
3352
+ export interface UpdateFaceList200Response extends HttpResponse {
3353
+ // (undocumented)
3354
+ status: "200";
3355
+ }
3356
+
3357
+ // @public (undocumented)
3358
+ export interface UpdateFaceListBodyParam {
3359
+ // (undocumented)
3360
+ body: UserDefinedFieldsForUpdate;
3361
+ }
3362
+
3363
+ // @public (undocumented)
3364
+ export interface UpdateFaceListDefaultHeaders {
3365
+ "x-ms-error-code"?: string;
3366
+ }
3367
+
3368
+ // @public (undocumented)
3369
+ export interface UpdateFaceListDefaultResponse extends HttpResponse {
3370
+ // (undocumented)
3371
+ body: FaceErrorResponseOutput;
3372
+ // (undocumented)
3373
+ headers: RawHttpHeaders & UpdateFaceListDefaultHeaders;
3374
+ // (undocumented)
3375
+ status: string;
3376
+ }
3377
+
3378
+ // @public (undocumented)
3379
+ export type UpdateFaceListParameters = UpdateFaceListBodyParam & RequestParameters;
3380
+
3381
+ // @public
3382
+ export interface UpdateLargeFaceList200Response extends HttpResponse {
3383
+ // (undocumented)
3384
+ status: "200";
3385
+ }
3386
+
3387
+ // @public (undocumented)
3388
+ export interface UpdateLargeFaceListBodyParam {
3389
+ // (undocumented)
3390
+ body: UserDefinedFieldsForUpdate;
3391
+ }
3392
+
3393
+ // @public (undocumented)
3394
+ export interface UpdateLargeFaceListDefaultHeaders {
3395
+ "x-ms-error-code"?: string;
3396
+ }
3397
+
3398
+ // @public (undocumented)
3399
+ export interface UpdateLargeFaceListDefaultResponse extends HttpResponse {
3400
+ // (undocumented)
3401
+ body: FaceErrorResponseOutput;
3402
+ // (undocumented)
3403
+ headers: RawHttpHeaders & UpdateLargeFaceListDefaultHeaders;
3404
+ // (undocumented)
3405
+ status: string;
3406
+ }
3407
+
3408
+ // @public
3409
+ export interface UpdateLargeFaceListFace200Response extends HttpResponse {
3410
+ // (undocumented)
3411
+ status: "200";
3412
+ }
3413
+
3414
+ // @public (undocumented)
3415
+ export interface UpdateLargeFaceListFaceBodyParam {
3416
+ // (undocumented)
3417
+ body: FaceUserData;
3418
+ }
3419
+
3420
+ // @public (undocumented)
3421
+ export interface UpdateLargeFaceListFaceDefaultHeaders {
3422
+ "x-ms-error-code"?: string;
3423
+ }
3424
+
3425
+ // @public (undocumented)
3426
+ export interface UpdateLargeFaceListFaceDefaultResponse extends HttpResponse {
3427
+ // (undocumented)
3428
+ body: FaceErrorResponseOutput;
3429
+ // (undocumented)
3430
+ headers: RawHttpHeaders & UpdateLargeFaceListFaceDefaultHeaders;
3431
+ // (undocumented)
3432
+ status: string;
3433
+ }
3434
+
3435
+ // @public (undocumented)
3436
+ export type UpdateLargeFaceListFaceParameters = UpdateLargeFaceListFaceBodyParam & RequestParameters;
3437
+
3438
+ // @public (undocumented)
3439
+ export type UpdateLargeFaceListParameters = UpdateLargeFaceListBodyParam & RequestParameters;
3440
+
3441
+ // @public
3442
+ export interface UpdateLargePersonGroup200Response extends HttpResponse {
3443
+ // (undocumented)
3444
+ status: "200";
3445
+ }
3446
+
3447
+ // @public (undocumented)
3448
+ export interface UpdateLargePersonGroupBodyParam {
3449
+ // (undocumented)
3450
+ body: UserDefinedFieldsForUpdate;
3451
+ }
3452
+
3453
+ // @public (undocumented)
3454
+ export interface UpdateLargePersonGroupDefaultHeaders {
3455
+ "x-ms-error-code"?: string;
3456
+ }
3457
+
3458
+ // @public (undocumented)
3459
+ export interface UpdateLargePersonGroupDefaultResponse extends HttpResponse {
3460
+ // (undocumented)
3461
+ body: FaceErrorResponseOutput;
3462
+ // (undocumented)
3463
+ headers: RawHttpHeaders & UpdateLargePersonGroupDefaultHeaders;
3464
+ // (undocumented)
3465
+ status: string;
3466
+ }
3467
+
3468
+ // @public (undocumented)
3469
+ export type UpdateLargePersonGroupParameters = UpdateLargePersonGroupBodyParam & RequestParameters;
3470
+
3471
+ // @public
3472
+ export interface UpdateLargePersonGroupPerson200Response extends HttpResponse {
3473
+ // (undocumented)
3474
+ status: "200";
3475
+ }
3476
+
3477
+ // @public (undocumented)
3478
+ export interface UpdateLargePersonGroupPersonBodyParam {
3479
+ // (undocumented)
3480
+ body: UserDefinedFieldsForUpdate;
3481
+ }
3482
+
3483
+ // @public (undocumented)
3484
+ export interface UpdateLargePersonGroupPersonDefaultHeaders {
3485
+ "x-ms-error-code"?: string;
3486
+ }
3487
+
3488
+ // @public (undocumented)
3489
+ export interface UpdateLargePersonGroupPersonDefaultResponse extends HttpResponse {
3490
+ // (undocumented)
3491
+ body: FaceErrorResponseOutput;
3492
+ // (undocumented)
3493
+ headers: RawHttpHeaders & UpdateLargePersonGroupPersonDefaultHeaders;
3494
+ // (undocumented)
3495
+ status: string;
3496
+ }
3497
+
3498
+ // @public
3499
+ export interface UpdateLargePersonGroupPersonFace200Response extends HttpResponse {
3500
+ // (undocumented)
3501
+ status: "200";
3502
+ }
3503
+
3504
+ // @public (undocumented)
3505
+ export interface UpdateLargePersonGroupPersonFaceBodyParam {
3506
+ // (undocumented)
3507
+ body: FaceUserData;
3508
+ }
3509
+
3510
+ // @public (undocumented)
3511
+ export interface UpdateLargePersonGroupPersonFaceDefaultHeaders {
3512
+ "x-ms-error-code"?: string;
3513
+ }
3514
+
3515
+ // @public (undocumented)
3516
+ export interface UpdateLargePersonGroupPersonFaceDefaultResponse extends HttpResponse {
3517
+ // (undocumented)
3518
+ body: FaceErrorResponseOutput;
3519
+ // (undocumented)
3520
+ headers: RawHttpHeaders & UpdateLargePersonGroupPersonFaceDefaultHeaders;
3521
+ // (undocumented)
3522
+ status: string;
3523
+ }
3524
+
3525
+ // @public (undocumented)
3526
+ export type UpdateLargePersonGroupPersonFaceParameters = UpdateLargePersonGroupPersonFaceBodyParam & RequestParameters;
3527
+
3528
+ // @public (undocumented)
3529
+ export type UpdateLargePersonGroupPersonParameters = UpdateLargePersonGroupPersonBodyParam & RequestParameters;
3530
+
3531
+ // @public
3532
+ export interface UpdatePersonGroup200Response extends HttpResponse {
3533
+ // (undocumented)
3534
+ status: "200";
3535
+ }
3536
+
3537
+ // @public (undocumented)
3538
+ export interface UpdatePersonGroupBodyParam {
3539
+ // (undocumented)
3540
+ body: UserDefinedFieldsForUpdate;
3541
+ }
3542
+
3543
+ // @public (undocumented)
3544
+ export interface UpdatePersonGroupDefaultHeaders {
3545
+ "x-ms-error-code"?: string;
3546
+ }
3547
+
3548
+ // @public (undocumented)
3549
+ export interface UpdatePersonGroupDefaultResponse extends HttpResponse {
3550
+ // (undocumented)
3551
+ body: FaceErrorResponseOutput;
3552
+ // (undocumented)
3553
+ headers: RawHttpHeaders & UpdatePersonGroupDefaultHeaders;
3554
+ // (undocumented)
3555
+ status: string;
3556
+ }
3557
+
3558
+ // @public (undocumented)
3559
+ export type UpdatePersonGroupParameters = UpdatePersonGroupBodyParam & RequestParameters;
3560
+
3561
+ // @public
3562
+ export interface UpdatePersonGroupPerson200Response extends HttpResponse {
3563
+ // (undocumented)
3564
+ status: "200";
3565
+ }
3566
+
3567
+ // @public (undocumented)
3568
+ export interface UpdatePersonGroupPersonBodyParam {
3569
+ // (undocumented)
3570
+ body: UserDefinedFieldsForUpdate;
3571
+ }
3572
+
3573
+ // @public (undocumented)
3574
+ export interface UpdatePersonGroupPersonDefaultHeaders {
3575
+ "x-ms-error-code"?: string;
3576
+ }
3577
+
3578
+ // @public (undocumented)
3579
+ export interface UpdatePersonGroupPersonDefaultResponse extends HttpResponse {
3580
+ // (undocumented)
3581
+ body: FaceErrorResponseOutput;
3582
+ // (undocumented)
3583
+ headers: RawHttpHeaders & UpdatePersonGroupPersonDefaultHeaders;
3584
+ // (undocumented)
3585
+ status: string;
3586
+ }
3587
+
3588
+ // @public
3589
+ export interface UpdatePersonGroupPersonFace200Response extends HttpResponse {
3590
+ // (undocumented)
3591
+ status: "200";
3592
+ }
3593
+
3594
+ // @public (undocumented)
3595
+ export interface UpdatePersonGroupPersonFaceBodyParam {
3596
+ // (undocumented)
3597
+ body: FaceUserData;
3598
+ }
3599
+
3600
+ // @public (undocumented)
3601
+ export interface UpdatePersonGroupPersonFaceDefaultHeaders {
3602
+ "x-ms-error-code"?: string;
3603
+ }
3604
+
3605
+ // @public (undocumented)
3606
+ export interface UpdatePersonGroupPersonFaceDefaultResponse extends HttpResponse {
3607
+ // (undocumented)
3608
+ body: FaceErrorResponseOutput;
3609
+ // (undocumented)
3610
+ headers: RawHttpHeaders & UpdatePersonGroupPersonFaceDefaultHeaders;
3611
+ // (undocumented)
3612
+ status: string;
3613
+ }
3614
+
3615
+ // @public (undocumented)
3616
+ export type UpdatePersonGroupPersonFaceParameters = UpdatePersonGroupPersonFaceBodyParam & RequestParameters;
3617
+
3618
+ // @public (undocumented)
3619
+ export type UpdatePersonGroupPersonParameters = UpdatePersonGroupPersonBodyParam & RequestParameters;
3620
+
3621
+ // @public
3622
+ export interface UserDefinedFields {
3623
+ name: string;
3624
+ userData?: string;
3625
+ }
3626
+
3627
+ // @public
3628
+ export interface UserDefinedFieldsForUpdate {
3629
+ name?: string;
3630
+ userData?: string;
3631
+ }
3632
+
3633
+ // @public
3634
+ export interface VerificationResultOutput {
3635
+ confidence: number;
3636
+ isIdentical: boolean;
3637
+ }
3638
+
3639
+ // @public (undocumented)
3640
+ export interface VerifyFaceToFace {
3641
+ post(options: VerifyFaceToFaceParameters): StreamableMethod<VerifyFaceToFace200Response | VerifyFaceToFaceDefaultResponse>;
3642
+ post(options: VerifyFromPersonGroupParameters): StreamableMethod<VerifyFromPersonGroup200Response | VerifyFromPersonGroupDefaultResponse>;
3643
+ post(options: VerifyFromLargePersonGroupParameters): StreamableMethod<VerifyFromLargePersonGroup200Response | VerifyFromLargePersonGroupDefaultResponse>;
3644
+ post(options: VerifyFromPersonDirectoryParameters): StreamableMethod<VerifyFromPersonDirectory200Response | VerifyFromPersonDirectoryDefaultResponse>;
3645
+ }
3646
+
3647
+ // @public
3648
+ export interface VerifyFaceToFace200Response extends HttpResponse {
3649
+ // (undocumented)
3650
+ body: VerificationResultOutput;
3651
+ // (undocumented)
3652
+ status: "200";
3653
+ }
3654
+
3655
+ // @public (undocumented)
3656
+ export interface VerifyFaceToFaceBodyParam {
3657
+ // (undocumented)
3658
+ body: {
3659
+ faceId1: string;
3660
+ faceId2: string;
3661
+ };
3662
+ }
3663
+
3664
+ // @public (undocumented)
3665
+ export interface VerifyFaceToFaceDefaultHeaders {
3666
+ "x-ms-error-code"?: string;
3667
+ }
3668
+
3669
+ // @public (undocumented)
3670
+ export interface VerifyFaceToFaceDefaultResponse extends HttpResponse {
3671
+ // (undocumented)
3672
+ body: FaceErrorResponseOutput;
3673
+ // (undocumented)
3674
+ headers: RawHttpHeaders & VerifyFaceToFaceDefaultHeaders;
3675
+ // (undocumented)
3676
+ status: string;
3677
+ }
3678
+
3679
+ // @public (undocumented)
3680
+ export type VerifyFaceToFaceParameters = VerifyFaceToFaceBodyParam & RequestParameters;
3681
+
3682
+ // @public
3683
+ export interface VerifyFromLargePersonGroup200Response extends HttpResponse {
3684
+ // (undocumented)
3685
+ body: VerificationResultOutput;
3686
+ // (undocumented)
3687
+ status: "200";
3688
+ }
3689
+
3690
+ // @public (undocumented)
3691
+ export interface VerifyFromLargePersonGroupBodyParam {
3692
+ // (undocumented)
3693
+ body: {
3694
+ faceId: string;
3695
+ largePersonGroupId: string;
3696
+ personId: string;
3697
+ };
3698
+ }
3699
+
3700
+ // @public (undocumented)
3701
+ export interface VerifyFromLargePersonGroupDefaultHeaders {
3702
+ "x-ms-error-code"?: string;
3703
+ }
3704
+
3705
+ // @public (undocumented)
3706
+ export interface VerifyFromLargePersonGroupDefaultResponse extends HttpResponse {
3707
+ // (undocumented)
3708
+ body: FaceErrorResponseOutput;
3709
+ // (undocumented)
3710
+ headers: RawHttpHeaders & VerifyFromLargePersonGroupDefaultHeaders;
3711
+ // (undocumented)
3712
+ status: string;
3713
+ }
3714
+
3715
+ // @public (undocumented)
3716
+ export type VerifyFromLargePersonGroupParameters = VerifyFromLargePersonGroupBodyParam & RequestParameters;
3717
+
3718
+ // @public
3719
+ export interface VerifyFromPersonDirectory200Response extends HttpResponse {
3720
+ // (undocumented)
3721
+ body: VerificationResultOutput;
3722
+ // (undocumented)
3723
+ status: "200";
3724
+ }
3725
+
3726
+ // @public (undocumented)
3727
+ export interface VerifyFromPersonDirectoryBodyParam {
3728
+ // (undocumented)
3729
+ body: {
3730
+ faceId: string;
3731
+ personId: string;
3732
+ };
3733
+ }
3734
+
3735
+ // @public (undocumented)
3736
+ export interface VerifyFromPersonDirectoryDefaultHeaders {
3737
+ "x-ms-error-code"?: string;
3738
+ }
3739
+
3740
+ // @public (undocumented)
3741
+ export interface VerifyFromPersonDirectoryDefaultResponse extends HttpResponse {
3742
+ // (undocumented)
3743
+ body: FaceErrorResponseOutput;
3744
+ // (undocumented)
3745
+ headers: RawHttpHeaders & VerifyFromPersonDirectoryDefaultHeaders;
3746
+ // (undocumented)
3747
+ status: string;
3748
+ }
3749
+
3750
+ // @public (undocumented)
3751
+ export type VerifyFromPersonDirectoryParameters = VerifyFromPersonDirectoryBodyParam & RequestParameters;
3752
+
3753
+ // @public
3754
+ export interface VerifyFromPersonGroup200Response extends HttpResponse {
3755
+ // (undocumented)
3756
+ body: VerificationResultOutput;
3757
+ // (undocumented)
3758
+ status: "200";
3759
+ }
3760
+
3761
+ // @public (undocumented)
3762
+ export interface VerifyFromPersonGroupBodyParam {
3763
+ // (undocumented)
3764
+ body: {
3765
+ faceId: string;
3766
+ personGroupId: string;
3767
+ personId: string;
3768
+ };
3769
+ }
3770
+
3771
+ // @public (undocumented)
3772
+ export interface VerifyFromPersonGroupDefaultHeaders {
3773
+ "x-ms-error-code"?: string;
3774
+ }
3775
+
3776
+ // @public (undocumented)
3777
+ export interface VerifyFromPersonGroupDefaultResponse extends HttpResponse {
3778
+ // (undocumented)
3779
+ body: FaceErrorResponseOutput;
3780
+ // (undocumented)
3781
+ headers: RawHttpHeaders & VerifyFromPersonGroupDefaultHeaders;
3782
+ // (undocumented)
3783
+ status: string;
3784
+ }
3785
+
3786
+ // @public (undocumented)
3787
+ export type VerifyFromPersonGroupParameters = VerifyFromPersonGroupBodyParam & RequestParameters;
3788
+
3789
+ // @public
3790
+ export type Versions = "v1.1-preview.1" | "v1.2-preview.1" | "v1.2";
3791
+
3792
+ // (No @packageDocumentation comment for this package)
3793
+
3794
+ ```