@azure-rest/ai-vision-face 1.0.0-alpha.20241030.1 → 1.0.0-alpha.20241031.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (112) hide show
  1. package/CHANGELOG.md +35 -0
  2. package/LICENSE +21 -0
  3. package/dist/browser/clientDefinitions.d.ts +401 -380
  4. package/dist/browser/clientDefinitions.d.ts.map +1 -1
  5. package/dist/browser/clientDefinitions.js.map +1 -1
  6. package/dist/browser/faceClient.d.ts +3 -1
  7. package/dist/browser/faceClient.d.ts.map +1 -1
  8. package/dist/browser/faceClient.js +4 -3
  9. package/dist/browser/faceClient.js.map +1 -1
  10. package/dist/browser/isUnexpected.d.ts +34 -32
  11. package/dist/browser/isUnexpected.d.ts.map +1 -1
  12. package/dist/browser/isUnexpected.js +30 -29
  13. package/dist/browser/isUnexpected.js.map +1 -1
  14. package/dist/browser/models.d.ts +92 -12
  15. package/dist/browser/models.d.ts.map +1 -1
  16. package/dist/browser/models.js.map +1 -1
  17. package/dist/browser/outputModels.d.ts +253 -161
  18. package/dist/browser/outputModels.d.ts.map +1 -1
  19. package/dist/browser/outputModels.js.map +1 -1
  20. package/dist/browser/parameters.d.ts +326 -297
  21. package/dist/browser/parameters.d.ts.map +1 -1
  22. package/dist/browser/parameters.js.map +1 -1
  23. package/dist/browser/pollingHelper.d.ts +5 -4
  24. package/dist/browser/pollingHelper.d.ts.map +1 -1
  25. package/dist/browser/pollingHelper.js +3 -3
  26. package/dist/browser/pollingHelper.js.map +1 -1
  27. package/dist/browser/responses.d.ts +573 -539
  28. package/dist/browser/responses.d.ts.map +1 -1
  29. package/dist/browser/responses.js.map +1 -1
  30. package/dist/commonjs/clientDefinitions.d.ts +401 -380
  31. package/dist/commonjs/clientDefinitions.d.ts.map +1 -1
  32. package/dist/commonjs/clientDefinitions.js.map +1 -1
  33. package/dist/commonjs/faceClient.d.ts +3 -1
  34. package/dist/commonjs/faceClient.d.ts.map +1 -1
  35. package/dist/commonjs/faceClient.js +4 -3
  36. package/dist/commonjs/faceClient.js.map +1 -1
  37. package/dist/commonjs/isUnexpected.d.ts +34 -32
  38. package/dist/commonjs/isUnexpected.d.ts.map +1 -1
  39. package/dist/commonjs/isUnexpected.js +30 -29
  40. package/dist/commonjs/isUnexpected.js.map +1 -1
  41. package/dist/commonjs/models.d.ts +92 -12
  42. package/dist/commonjs/models.d.ts.map +1 -1
  43. package/dist/commonjs/models.js.map +1 -1
  44. package/dist/commonjs/outputModels.d.ts +253 -161
  45. package/dist/commonjs/outputModels.d.ts.map +1 -1
  46. package/dist/commonjs/outputModels.js.map +1 -1
  47. package/dist/commonjs/parameters.d.ts +326 -297
  48. package/dist/commonjs/parameters.d.ts.map +1 -1
  49. package/dist/commonjs/parameters.js.map +1 -1
  50. package/dist/commonjs/pollingHelper.d.ts +5 -4
  51. package/dist/commonjs/pollingHelper.d.ts.map +1 -1
  52. package/dist/commonjs/pollingHelper.js +3 -3
  53. package/dist/commonjs/pollingHelper.js.map +1 -1
  54. package/dist/commonjs/responses.d.ts +573 -539
  55. package/dist/commonjs/responses.d.ts.map +1 -1
  56. package/dist/commonjs/responses.js.map +1 -1
  57. package/dist/esm/clientDefinitions.d.ts +401 -380
  58. package/dist/esm/clientDefinitions.d.ts.map +1 -1
  59. package/dist/esm/clientDefinitions.js.map +1 -1
  60. package/dist/esm/faceClient.d.ts +3 -1
  61. package/dist/esm/faceClient.d.ts.map +1 -1
  62. package/dist/esm/faceClient.js +4 -3
  63. package/dist/esm/faceClient.js.map +1 -1
  64. package/dist/esm/isUnexpected.d.ts +34 -32
  65. package/dist/esm/isUnexpected.d.ts.map +1 -1
  66. package/dist/esm/isUnexpected.js +30 -29
  67. package/dist/esm/isUnexpected.js.map +1 -1
  68. package/dist/esm/models.d.ts +92 -12
  69. package/dist/esm/models.d.ts.map +1 -1
  70. package/dist/esm/models.js.map +1 -1
  71. package/dist/esm/outputModels.d.ts +253 -161
  72. package/dist/esm/outputModels.d.ts.map +1 -1
  73. package/dist/esm/outputModels.js.map +1 -1
  74. package/dist/esm/parameters.d.ts +326 -297
  75. package/dist/esm/parameters.d.ts.map +1 -1
  76. package/dist/esm/parameters.js.map +1 -1
  77. package/dist/esm/pollingHelper.d.ts +5 -4
  78. package/dist/esm/pollingHelper.d.ts.map +1 -1
  79. package/dist/esm/pollingHelper.js +3 -3
  80. package/dist/esm/pollingHelper.js.map +1 -1
  81. package/dist/esm/responses.d.ts +573 -539
  82. package/dist/esm/responses.d.ts.map +1 -1
  83. package/dist/esm/responses.js.map +1 -1
  84. package/dist/react-native/clientDefinitions.d.ts +401 -380
  85. package/dist/react-native/clientDefinitions.d.ts.map +1 -1
  86. package/dist/react-native/clientDefinitions.js.map +1 -1
  87. package/dist/react-native/faceClient.d.ts +3 -1
  88. package/dist/react-native/faceClient.d.ts.map +1 -1
  89. package/dist/react-native/faceClient.js +4 -3
  90. package/dist/react-native/faceClient.js.map +1 -1
  91. package/dist/react-native/isUnexpected.d.ts +34 -32
  92. package/dist/react-native/isUnexpected.d.ts.map +1 -1
  93. package/dist/react-native/isUnexpected.js +30 -29
  94. package/dist/react-native/isUnexpected.js.map +1 -1
  95. package/dist/react-native/models.d.ts +92 -12
  96. package/dist/react-native/models.d.ts.map +1 -1
  97. package/dist/react-native/models.js.map +1 -1
  98. package/dist/react-native/outputModels.d.ts +253 -161
  99. package/dist/react-native/outputModels.d.ts.map +1 -1
  100. package/dist/react-native/outputModels.js.map +1 -1
  101. package/dist/react-native/parameters.d.ts +326 -297
  102. package/dist/react-native/parameters.d.ts.map +1 -1
  103. package/dist/react-native/parameters.js.map +1 -1
  104. package/dist/react-native/pollingHelper.d.ts +5 -4
  105. package/dist/react-native/pollingHelper.d.ts.map +1 -1
  106. package/dist/react-native/pollingHelper.js +3 -3
  107. package/dist/react-native/pollingHelper.js.map +1 -1
  108. package/dist/react-native/responses.d.ts +573 -539
  109. package/dist/react-native/responses.d.ts.map +1 -1
  110. package/dist/react-native/responses.js.map +1 -1
  111. package/package.json +39 -33
  112. package/review/ai-vision-face.api.md +375 -296
@@ -1,6 +1,6 @@
1
1
  import type { RawHttpHeaders } from "@azure/core-rest-pipeline";
2
2
  import type { HttpResponse } from "@azure-rest/core-client";
3
- import type { OperationResultOutput, FaceErrorResponseOutput, FaceDetectionResultOutput, FindSimilarResultOutput, IdentificationResultOutput, VerificationResultOutput, GroupingResultOutput, CreateLivenessSessionResultOutput, LivenessSessionOutput, LivenessSessionItemOutput, LivenessSessionAuditEntryOutput, CreateLivenessWithVerifySessionResultOutput, LivenessWithVerifySessionOutput, FaceListOutput, FaceListItemOutput, AddFaceResultOutput, LargeFaceListOutput, TrainingResultOutput, LargeFaceListFaceOutput, CreatePersonResultOutput, PersonDirectoryPersonOutput, ListGroupReferenceResultOutput, PersonDirectoryFaceOutput, ListFaceResultOutput, DynamicPersonGroupOutput, ListPersonResultOutput, PersonGroupOutput, PersonGroupPersonOutput, PersonGroupPersonFaceOutput, LargePersonGroupOutput, LargePersonGroupPersonOutput, LargePersonGroupPersonFaceOutput } from "./outputModels.js";
3
+ import type { OperationResultOutput, FaceErrorResponseOutput, FaceDetectionResultOutput, FindSimilarResultOutput, IdentificationResultOutput, VerificationResultOutput, GroupingResultOutput, FaceListOutput, FaceListItemOutput, AddFaceResultOutput, LargeFaceListOutput, TrainingResultOutput, LargeFaceListFaceOutput, PersonGroupOutput, CreatePersonResultOutput, PersonGroupPersonOutput, PersonGroupPersonFaceOutput, LargePersonGroupOutput, LargePersonGroupPersonOutput, LargePersonGroupPersonFaceOutput, CreateLivenessSessionResultOutput, LivenessSessionOutput, LivenessSessionItemOutput, LivenessSessionAuditEntryOutput, CreateLivenessWithVerifySessionResultOutput, LivenessWithVerifySessionOutput, PersonDirectoryPersonOutput, ListGroupReferenceResultOutput, PersonDirectoryFaceOutput, ListFaceResultOutput, DynamicPersonGroupOutput, ListPersonResultOutput } from "./outputModels.js";
4
4
  /** A successful call returns the long running operation status. */
5
5
  export interface GetOperationResult200Response extends HttpResponse {
6
6
  status: "200";
@@ -43,6 +43,20 @@ export interface DetectDefaultResponse extends HttpResponse {
43
43
  body: FaceErrorResponseOutput;
44
44
  headers: RawHttpHeaders & DetectDefaultHeaders;
45
45
  }
46
+ /** A successful call returns an array of face entries ranked by face rectangle size in descending order. An empty response indicates no faces detected. */
47
+ export interface DetectFromSessionImageId200Response extends HttpResponse {
48
+ status: "200";
49
+ body: Array<FaceDetectionResultOutput>;
50
+ }
51
+ export interface DetectFromSessionImageIdDefaultHeaders {
52
+ /** String error code indicating what went wrong. */
53
+ "x-ms-error-code"?: string;
54
+ }
55
+ export interface DetectFromSessionImageIdDefaultResponse extends HttpResponse {
56
+ status: string;
57
+ body: FaceErrorResponseOutput;
58
+ headers: RawHttpHeaders & DetectFromSessionImageIdDefaultHeaders;
59
+ }
46
60
  /** A successful call returns an array of the most similar faces represented in faceId if the input parameter is faceIds or persistedFaceId if the input parameter is faceListId or largeFaceListId. */
47
61
  export interface FindSimilar200Response extends HttpResponse {
48
62
  status: "200";
@@ -211,158 +225,6 @@ export interface GroupDefaultResponse extends HttpResponse {
211
225
  body: FaceErrorResponseOutput;
212
226
  headers: RawHttpHeaders & GroupDefaultHeaders;
213
227
  }
214
- /** A successful call create a session for a client device and provide an authorization token for use by the client application for a limited purpose and time. */
215
- export interface CreateLivenessSession200Response extends HttpResponse {
216
- status: "200";
217
- body: CreateLivenessSessionResultOutput;
218
- }
219
- export interface CreateLivenessSessionDefaultHeaders {
220
- /** String error code indicating what went wrong. */
221
- "x-ms-error-code"?: string;
222
- }
223
- export interface CreateLivenessSessionDefaultResponse extends HttpResponse {
224
- status: string;
225
- body: FaceErrorResponseOutput;
226
- headers: RawHttpHeaders & CreateLivenessSessionDefaultHeaders;
227
- }
228
- /** The request has succeeded. */
229
- export interface DeleteLivenessSession200Response extends HttpResponse {
230
- status: "200";
231
- }
232
- export interface DeleteLivenessSessionDefaultHeaders {
233
- /** String error code indicating what went wrong. */
234
- "x-ms-error-code"?: string;
235
- }
236
- export interface DeleteLivenessSessionDefaultResponse extends HttpResponse {
237
- status: string;
238
- body: FaceErrorResponseOutput;
239
- headers: RawHttpHeaders & DeleteLivenessSessionDefaultHeaders;
240
- }
241
- /** The request has succeeded. */
242
- export interface GetLivenessSessionResult200Response extends HttpResponse {
243
- status: "200";
244
- body: LivenessSessionOutput;
245
- }
246
- export interface GetLivenessSessionResultDefaultHeaders {
247
- /** String error code indicating what went wrong. */
248
- "x-ms-error-code"?: string;
249
- }
250
- export interface GetLivenessSessionResultDefaultResponse extends HttpResponse {
251
- status: string;
252
- body: FaceErrorResponseOutput;
253
- headers: RawHttpHeaders & GetLivenessSessionResultDefaultHeaders;
254
- }
255
- /** The request has succeeded. */
256
- export interface GetLivenessSessions200Response extends HttpResponse {
257
- status: "200";
258
- body: Array<LivenessSessionItemOutput>;
259
- }
260
- export interface GetLivenessSessionsDefaultHeaders {
261
- /** String error code indicating what went wrong. */
262
- "x-ms-error-code"?: string;
263
- }
264
- export interface GetLivenessSessionsDefaultResponse extends HttpResponse {
265
- status: string;
266
- body: FaceErrorResponseOutput;
267
- headers: RawHttpHeaders & GetLivenessSessionsDefaultHeaders;
268
- }
269
- /** The request has succeeded. */
270
- export interface GetLivenessSessionAuditEntries200Response extends HttpResponse {
271
- status: "200";
272
- body: Array<LivenessSessionAuditEntryOutput>;
273
- }
274
- export interface GetLivenessSessionAuditEntriesDefaultHeaders {
275
- /** String error code indicating what went wrong. */
276
- "x-ms-error-code"?: string;
277
- }
278
- export interface GetLivenessSessionAuditEntriesDefaultResponse extends HttpResponse {
279
- status: string;
280
- body: FaceErrorResponseOutput;
281
- headers: RawHttpHeaders & GetLivenessSessionAuditEntriesDefaultHeaders;
282
- }
283
- /** A successful call create a session for a client device and provide an authorization token for use by the client application for a limited purpose and time. */
284
- export interface CreateLivenessWithVerifySessionWithVerifyImage200Response extends HttpResponse {
285
- status: "200";
286
- body: CreateLivenessWithVerifySessionResultOutput;
287
- }
288
- export interface CreateLivenessWithVerifySessionWithVerifyImageDefaultHeaders {
289
- /** String error code indicating what went wrong. */
290
- "x-ms-error-code"?: string;
291
- }
292
- export interface CreateLivenessWithVerifySessionWithVerifyImageDefaultResponse extends HttpResponse {
293
- status: string;
294
- body: FaceErrorResponseOutput;
295
- headers: RawHttpHeaders & CreateLivenessWithVerifySessionWithVerifyImageDefaultHeaders;
296
- }
297
- /** A successful call create a session for a client device and provide an authorization token for use by the client application for a limited purpose and time. */
298
- export interface CreateLivenessWithVerifySession200Response extends HttpResponse {
299
- status: "200";
300
- body: CreateLivenessWithVerifySessionResultOutput;
301
- }
302
- export interface CreateLivenessWithVerifySessionDefaultHeaders {
303
- /** String error code indicating what went wrong. */
304
- "x-ms-error-code"?: string;
305
- }
306
- export interface CreateLivenessWithVerifySessionDefaultResponse extends HttpResponse {
307
- status: string;
308
- body: FaceErrorResponseOutput;
309
- headers: RawHttpHeaders & CreateLivenessWithVerifySessionDefaultHeaders;
310
- }
311
- /** The request has succeeded. */
312
- export interface DeleteLivenessWithVerifySession200Response extends HttpResponse {
313
- status: "200";
314
- }
315
- export interface DeleteLivenessWithVerifySessionDefaultHeaders {
316
- /** String error code indicating what went wrong. */
317
- "x-ms-error-code"?: string;
318
- }
319
- export interface DeleteLivenessWithVerifySessionDefaultResponse extends HttpResponse {
320
- status: string;
321
- body: FaceErrorResponseOutput;
322
- headers: RawHttpHeaders & DeleteLivenessWithVerifySessionDefaultHeaders;
323
- }
324
- /** The request has succeeded. */
325
- export interface GetLivenessWithVerifySessionResult200Response extends HttpResponse {
326
- status: "200";
327
- body: LivenessWithVerifySessionOutput;
328
- }
329
- export interface GetLivenessWithVerifySessionResultDefaultHeaders {
330
- /** String error code indicating what went wrong. */
331
- "x-ms-error-code"?: string;
332
- }
333
- export interface GetLivenessWithVerifySessionResultDefaultResponse extends HttpResponse {
334
- status: string;
335
- body: FaceErrorResponseOutput;
336
- headers: RawHttpHeaders & GetLivenessWithVerifySessionResultDefaultHeaders;
337
- }
338
- /** The request has succeeded. */
339
- export interface GetLivenessWithVerifySessions200Response extends HttpResponse {
340
- status: "200";
341
- body: Array<LivenessSessionItemOutput>;
342
- }
343
- export interface GetLivenessWithVerifySessionsDefaultHeaders {
344
- /** String error code indicating what went wrong. */
345
- "x-ms-error-code"?: string;
346
- }
347
- export interface GetLivenessWithVerifySessionsDefaultResponse extends HttpResponse {
348
- status: string;
349
- body: FaceErrorResponseOutput;
350
- headers: RawHttpHeaders & GetLivenessWithVerifySessionsDefaultHeaders;
351
- }
352
- /** The request has succeeded. */
353
- export interface GetLivenessWithVerifySessionAuditEntries200Response extends HttpResponse {
354
- status: "200";
355
- body: Array<LivenessSessionAuditEntryOutput>;
356
- }
357
- export interface GetLivenessWithVerifySessionAuditEntriesDefaultHeaders {
358
- /** String error code indicating what went wrong. */
359
- "x-ms-error-code"?: string;
360
- }
361
- export interface GetLivenessWithVerifySessionAuditEntriesDefaultResponse extends HttpResponse {
362
- status: string;
363
- body: FaceErrorResponseOutput;
364
- headers: RawHttpHeaders & GetLivenessWithVerifySessionAuditEntriesDefaultHeaders;
365
- }
366
228
  /** The request has succeeded. */
367
229
  export interface CreateFaceList200Response extends HttpResponse {
368
230
  status: "200";
@@ -655,821 +517,993 @@ export interface GetLargeFaceListFacesDefaultResponse extends HttpResponse {
655
517
  body: FaceErrorResponseOutput;
656
518
  headers: RawHttpHeaders & GetLargeFaceListFacesDefaultHeaders;
657
519
  }
658
- export interface CreatePerson202Headers {
659
- "operation-location": string;
660
- location: string;
661
- }
662
- /** A successful call returns an empty response body. The service has accepted the request and will start processing soon. The client can query the operation status and result using the URL specified in the 'Operation-Location' response header. The URL expires in 48 hours. */
663
- export interface CreatePerson202Response extends HttpResponse {
664
- status: "202";
665
- body: CreatePersonResultOutput;
666
- headers: RawHttpHeaders & CreatePerson202Headers;
520
+ /** The request has succeeded. */
521
+ export interface CreatePersonGroup200Response extends HttpResponse {
522
+ status: "200";
667
523
  }
668
- export interface CreatePersonDefaultHeaders {
524
+ export interface CreatePersonGroupDefaultHeaders {
669
525
  /** String error code indicating what went wrong. */
670
526
  "x-ms-error-code"?: string;
671
527
  }
672
- export interface CreatePersonDefaultResponse extends HttpResponse {
528
+ export interface CreatePersonGroupDefaultResponse extends HttpResponse {
673
529
  status: string;
674
530
  body: FaceErrorResponseOutput;
675
- headers: RawHttpHeaders & CreatePersonDefaultHeaders;
531
+ headers: RawHttpHeaders & CreatePersonGroupDefaultHeaders;
676
532
  }
677
- /** The final response for long-running createPerson operation */
678
- export interface CreatePersonLogicalResponse extends HttpResponse {
533
+ /** The request has succeeded. */
534
+ export interface DeletePersonGroup200Response extends HttpResponse {
679
535
  status: "200";
680
- body: CreatePersonResultOutput;
681
- }
682
- export interface DeletePerson202Headers {
683
- "operation-location": string;
684
- }
685
- /** A successful call returns an empty response body. The service has accepted the request and will start processing soon. The client can query the operation status and result using the URL specified in the 'Operation-Location' response header. The URL expires in 48 hours. */
686
- export interface DeletePerson202Response extends HttpResponse {
687
- status: "202";
688
- headers: RawHttpHeaders & DeletePerson202Headers;
689
536
  }
690
- export interface DeletePersonDefaultHeaders {
537
+ export interface DeletePersonGroupDefaultHeaders {
691
538
  /** String error code indicating what went wrong. */
692
539
  "x-ms-error-code"?: string;
693
540
  }
694
- export interface DeletePersonDefaultResponse extends HttpResponse {
541
+ export interface DeletePersonGroupDefaultResponse extends HttpResponse {
695
542
  status: string;
696
543
  body: FaceErrorResponseOutput;
697
- headers: RawHttpHeaders & DeletePersonDefaultHeaders;
698
- }
699
- /** The final response for long-running deletePerson operation */
700
- export interface DeletePersonLogicalResponse extends HttpResponse {
701
- status: "200";
544
+ headers: RawHttpHeaders & DeletePersonGroupDefaultHeaders;
702
545
  }
703
- /** A successful call returns the person's information. */
704
- export interface GetPerson200Response extends HttpResponse {
546
+ /** A successful call returns the Person Group's information. */
547
+ export interface GetPersonGroup200Response extends HttpResponse {
705
548
  status: "200";
706
- body: PersonDirectoryPersonOutput;
549
+ body: PersonGroupOutput;
707
550
  }
708
- export interface GetPersonDefaultHeaders {
551
+ export interface GetPersonGroupDefaultHeaders {
709
552
  /** String error code indicating what went wrong. */
710
553
  "x-ms-error-code"?: string;
711
554
  }
712
- export interface GetPersonDefaultResponse extends HttpResponse {
555
+ export interface GetPersonGroupDefaultResponse extends HttpResponse {
713
556
  status: string;
714
557
  body: FaceErrorResponseOutput;
715
- headers: RawHttpHeaders & GetPersonDefaultHeaders;
558
+ headers: RawHttpHeaders & GetPersonGroupDefaultHeaders;
716
559
  }
717
560
  /** The request has succeeded. */
718
- export interface UpdatePerson200Response extends HttpResponse {
561
+ export interface UpdatePersonGroup200Response extends HttpResponse {
719
562
  status: "200";
720
563
  }
721
- export interface UpdatePersonDefaultHeaders {
564
+ export interface UpdatePersonGroupDefaultHeaders {
722
565
  /** String error code indicating what went wrong. */
723
566
  "x-ms-error-code"?: string;
724
567
  }
725
- export interface UpdatePersonDefaultResponse extends HttpResponse {
568
+ export interface UpdatePersonGroupDefaultResponse extends HttpResponse {
726
569
  status: string;
727
570
  body: FaceErrorResponseOutput;
728
- headers: RawHttpHeaders & UpdatePersonDefaultHeaders;
571
+ headers: RawHttpHeaders & UpdatePersonGroupDefaultHeaders;
729
572
  }
730
- /** A successful call returns an array of Person Directory Persons contained in the Dynamic Person Group. */
731
- export interface GetPersons200Response extends HttpResponse {
573
+ /** A successful call returns an array of Person Groups and their information (personGroupId, name and userData). */
574
+ export interface GetPersonGroups200Response extends HttpResponse {
732
575
  status: "200";
733
- body: Array<PersonDirectoryPersonOutput>;
576
+ body: Array<PersonGroupOutput>;
734
577
  }
735
- export interface GetPersonsDefaultHeaders {
578
+ export interface GetPersonGroupsDefaultHeaders {
736
579
  /** String error code indicating what went wrong. */
737
580
  "x-ms-error-code"?: string;
738
581
  }
739
- export interface GetPersonsDefaultResponse extends HttpResponse {
582
+ export interface GetPersonGroupsDefaultResponse extends HttpResponse {
740
583
  status: string;
741
584
  body: FaceErrorResponseOutput;
742
- headers: RawHttpHeaders & GetPersonsDefaultHeaders;
585
+ headers: RawHttpHeaders & GetPersonGroupsDefaultHeaders;
743
586
  }
744
- /** A successful call returns an array of dynamicPersonGroups information that reference the provided personId. */
745
- export interface GetDynamicPersonGroupReferences200Response extends HttpResponse {
587
+ /** A successful call returns the Person Group's training status. */
588
+ export interface GetPersonGroupTrainingStatus200Response extends HttpResponse {
746
589
  status: "200";
747
- body: ListGroupReferenceResultOutput;
590
+ body: TrainingResultOutput;
748
591
  }
749
- export interface GetDynamicPersonGroupReferencesDefaultHeaders {
592
+ export interface GetPersonGroupTrainingStatusDefaultHeaders {
750
593
  /** String error code indicating what went wrong. */
751
594
  "x-ms-error-code"?: string;
752
595
  }
753
- export interface GetDynamicPersonGroupReferencesDefaultResponse extends HttpResponse {
596
+ export interface GetPersonGroupTrainingStatusDefaultResponse extends HttpResponse {
754
597
  status: string;
755
598
  body: FaceErrorResponseOutput;
756
- headers: RawHttpHeaders & GetDynamicPersonGroupReferencesDefaultHeaders;
599
+ headers: RawHttpHeaders & GetPersonGroupTrainingStatusDefaultHeaders;
757
600
  }
758
- export interface AddPersonFace202Headers {
601
+ export interface TrainPersonGroup202Headers {
759
602
  "operation-location": string;
760
- location: string;
761
603
  }
762
- /** A successful call returns an empty response body. The service has accepted the request and will start processing soon. The client can query the operation status and result using the URL specified in the 'Operation-Location' response header. The URL expires in 48 hours. */
763
- export interface AddPersonFace202Response extends HttpResponse {
604
+ /** A successful call returns an empty response body. */
605
+ export interface TrainPersonGroup202Response extends HttpResponse {
764
606
  status: "202";
765
- body: AddFaceResultOutput;
766
- headers: RawHttpHeaders & AddPersonFace202Headers;
607
+ headers: RawHttpHeaders & TrainPersonGroup202Headers;
767
608
  }
768
- export interface AddPersonFaceDefaultHeaders {
609
+ export interface TrainPersonGroupDefaultHeaders {
769
610
  /** String error code indicating what went wrong. */
770
611
  "x-ms-error-code"?: string;
771
612
  }
772
- export interface AddPersonFaceDefaultResponse extends HttpResponse {
613
+ export interface TrainPersonGroupDefaultResponse extends HttpResponse {
773
614
  status: string;
774
615
  body: FaceErrorResponseOutput;
775
- headers: RawHttpHeaders & AddPersonFaceDefaultHeaders;
616
+ headers: RawHttpHeaders & TrainPersonGroupDefaultHeaders;
776
617
  }
777
- /** The final response for long-running addPersonFace operation */
778
- export interface AddPersonFaceLogicalResponse extends HttpResponse {
618
+ /** The final response for long-running trainPersonGroup operation */
619
+ export interface TrainPersonGroupLogicalResponse extends HttpResponse {
779
620
  status: "200";
780
- body: AddFaceResultOutput;
781
- }
782
- export interface AddPersonFaceFromUrl202Headers {
783
- "operation-location": string;
784
- location: string;
785
621
  }
786
- /** A successful call returns an empty response body. The service has accepted the request and will start processing soon. The client can query the operation status and result using the URL specified in the 'Operation-Location' response header. The URL expires in 48 hours. */
787
- export interface AddPersonFaceFromUrl202Response extends HttpResponse {
788
- status: "202";
789
- body: AddFaceResultOutput;
790
- headers: RawHttpHeaders & AddPersonFaceFromUrl202Headers;
622
+ /** A successful call returns a new personId created. */
623
+ export interface CreatePersonGroupPerson200Response extends HttpResponse {
624
+ status: "200";
625
+ body: CreatePersonResultOutput;
791
626
  }
792
- export interface AddPersonFaceFromUrlDefaultHeaders {
627
+ export interface CreatePersonGroupPersonDefaultHeaders {
793
628
  /** String error code indicating what went wrong. */
794
629
  "x-ms-error-code"?: string;
795
630
  }
796
- export interface AddPersonFaceFromUrlDefaultResponse extends HttpResponse {
631
+ export interface CreatePersonGroupPersonDefaultResponse extends HttpResponse {
797
632
  status: string;
798
633
  body: FaceErrorResponseOutput;
799
- headers: RawHttpHeaders & AddPersonFaceFromUrlDefaultHeaders;
634
+ headers: RawHttpHeaders & CreatePersonGroupPersonDefaultHeaders;
800
635
  }
801
- /** The final response for long-running addPersonFaceFromUrl operation */
802
- export interface AddPersonFaceFromUrlLogicalResponse extends HttpResponse {
636
+ /** The request has succeeded. */
637
+ export interface DeletePersonGroupPerson200Response extends HttpResponse {
803
638
  status: "200";
804
- body: AddFaceResultOutput;
805
- }
806
- export interface DeletePersonFace202Headers {
807
- "operation-location": string;
808
- }
809
- /** A successful call returns an empty response body. The service has accepted the request and will start processing soon. The client can query the operation status and result using the URL specified in the 'Operation-Location' response header. The URL expires in 48 hours. */
810
- export interface DeletePersonFace202Response extends HttpResponse {
811
- status: "202";
812
- headers: RawHttpHeaders & DeletePersonFace202Headers;
813
639
  }
814
- export interface DeletePersonFaceDefaultHeaders {
640
+ export interface DeletePersonGroupPersonDefaultHeaders {
815
641
  /** String error code indicating what went wrong. */
816
642
  "x-ms-error-code"?: string;
817
643
  }
818
- export interface DeletePersonFaceDefaultResponse extends HttpResponse {
644
+ export interface DeletePersonGroupPersonDefaultResponse extends HttpResponse {
819
645
  status: string;
820
646
  body: FaceErrorResponseOutput;
821
- headers: RawHttpHeaders & DeletePersonFaceDefaultHeaders;
822
- }
823
- /** The final response for long-running deletePersonFace operation */
824
- export interface DeletePersonFaceLogicalResponse extends HttpResponse {
825
- status: "200";
647
+ headers: RawHttpHeaders & DeletePersonGroupPersonDefaultHeaders;
826
648
  }
827
- /** A successful call returns target persisted face's information (persistedFaceId and userData). */
828
- export interface GetPersonFace200Response extends HttpResponse {
649
+ /** A successful call returns the person's information. */
650
+ export interface GetPersonGroupPerson200Response extends HttpResponse {
829
651
  status: "200";
830
- body: PersonDirectoryFaceOutput;
652
+ body: PersonGroupPersonOutput;
831
653
  }
832
- export interface GetPersonFaceDefaultHeaders {
654
+ export interface GetPersonGroupPersonDefaultHeaders {
833
655
  /** String error code indicating what went wrong. */
834
656
  "x-ms-error-code"?: string;
835
657
  }
836
- export interface GetPersonFaceDefaultResponse extends HttpResponse {
658
+ export interface GetPersonGroupPersonDefaultResponse extends HttpResponse {
837
659
  status: string;
838
660
  body: FaceErrorResponseOutput;
839
- headers: RawHttpHeaders & GetPersonFaceDefaultHeaders;
661
+ headers: RawHttpHeaders & GetPersonGroupPersonDefaultHeaders;
840
662
  }
841
663
  /** The request has succeeded. */
842
- export interface UpdatePersonFace200Response extends HttpResponse {
664
+ export interface UpdatePersonGroupPerson200Response extends HttpResponse {
843
665
  status: "200";
844
666
  }
845
- export interface UpdatePersonFaceDefaultHeaders {
667
+ export interface UpdatePersonGroupPersonDefaultHeaders {
846
668
  /** String error code indicating what went wrong. */
847
669
  "x-ms-error-code"?: string;
848
670
  }
849
- export interface UpdatePersonFaceDefaultResponse extends HttpResponse {
671
+ export interface UpdatePersonGroupPersonDefaultResponse extends HttpResponse {
850
672
  status: string;
851
673
  body: FaceErrorResponseOutput;
852
- headers: RawHttpHeaders & UpdatePersonFaceDefaultHeaders;
674
+ headers: RawHttpHeaders & UpdatePersonGroupPersonDefaultHeaders;
853
675
  }
854
- /** A successful call returns an array of persistedFaceIds and and a person ID. */
855
- export interface GetPersonFaces200Response extends HttpResponse {
676
+ /** A successful call returns an array of person information that belong to the Person Group. */
677
+ export interface GetPersonGroupPersons200Response extends HttpResponse {
856
678
  status: "200";
857
- body: ListFaceResultOutput;
679
+ body: Array<PersonGroupPersonOutput>;
858
680
  }
859
- export interface GetPersonFacesDefaultHeaders {
681
+ export interface GetPersonGroupPersonsDefaultHeaders {
860
682
  /** String error code indicating what went wrong. */
861
683
  "x-ms-error-code"?: string;
862
684
  }
863
- export interface GetPersonFacesDefaultResponse extends HttpResponse {
685
+ export interface GetPersonGroupPersonsDefaultResponse extends HttpResponse {
864
686
  status: string;
865
687
  body: FaceErrorResponseOutput;
866
- headers: RawHttpHeaders & GetPersonFacesDefaultHeaders;
867
- }
868
- export interface CreateDynamicPersonGroupWithPerson202Headers {
869
- "operation-location": string;
688
+ headers: RawHttpHeaders & GetPersonGroupPersonsDefaultHeaders;
870
689
  }
871
- /** A successful call returns an empty response body. The service has accepted the request and will start processing soon. The client can query the operation status and result using the URL specified in the 'Operation-Location' response header. The URL expires in 48 hours. The URL provides the status of when Person Directory "Get Dynamic Person Group References" will return the changes made in this request. */
872
- export interface CreateDynamicPersonGroupWithPerson202Response extends HttpResponse {
873
- status: "202";
874
- headers: RawHttpHeaders & CreateDynamicPersonGroupWithPerson202Headers;
690
+ /** A successful call returns a new persistedFaceId. */
691
+ export interface AddPersonGroupPersonFaceFromUrl200Response extends HttpResponse {
692
+ status: "200";
693
+ body: AddFaceResultOutput;
875
694
  }
876
- export interface CreateDynamicPersonGroupWithPersonDefaultHeaders {
695
+ export interface AddPersonGroupPersonFaceFromUrlDefaultHeaders {
877
696
  /** String error code indicating what went wrong. */
878
697
  "x-ms-error-code"?: string;
879
698
  }
880
- export interface CreateDynamicPersonGroupWithPersonDefaultResponse extends HttpResponse {
699
+ export interface AddPersonGroupPersonFaceFromUrlDefaultResponse extends HttpResponse {
881
700
  status: string;
882
701
  body: FaceErrorResponseOutput;
883
- headers: RawHttpHeaders & CreateDynamicPersonGroupWithPersonDefaultHeaders;
884
- }
885
- /** The final response for long-running createDynamicPersonGroupWithPerson operation */
886
- export interface CreateDynamicPersonGroupWithPersonLogicalResponse extends HttpResponse {
887
- status: "200";
702
+ headers: RawHttpHeaders & AddPersonGroupPersonFaceFromUrlDefaultHeaders;
888
703
  }
889
- /** The request has succeeded. */
890
- export interface CreateDynamicPersonGroup200Response extends HttpResponse {
704
+ /** A successful call returns a new persistedFaceId. */
705
+ export interface AddPersonGroupPersonFace200Response extends HttpResponse {
891
706
  status: "200";
707
+ body: AddFaceResultOutput;
892
708
  }
893
- export interface CreateDynamicPersonGroupDefaultHeaders {
709
+ export interface AddPersonGroupPersonFaceDefaultHeaders {
894
710
  /** String error code indicating what went wrong. */
895
711
  "x-ms-error-code"?: string;
896
712
  }
897
- export interface CreateDynamicPersonGroupDefaultResponse extends HttpResponse {
713
+ export interface AddPersonGroupPersonFaceDefaultResponse extends HttpResponse {
898
714
  status: string;
899
715
  body: FaceErrorResponseOutput;
900
- headers: RawHttpHeaders & CreateDynamicPersonGroupDefaultHeaders;
901
- }
902
- export interface DeleteDynamicPersonGroup202Headers {
903
- "operation-location": string;
716
+ headers: RawHttpHeaders & AddPersonGroupPersonFaceDefaultHeaders;
904
717
  }
905
- /** A successful call returns an empty response body. The service has accepted the request and will start processing soon. The client can query the operation status and result using the URL specified in the 'Operation-Location' response header. The URL expires in 48 hours. The URL provides the status of when Person Directory "Get Dynamic Person Group References" will return the changes made in this request. */
906
- export interface DeleteDynamicPersonGroup202Response extends HttpResponse {
907
- status: "202";
908
- headers: RawHttpHeaders & DeleteDynamicPersonGroup202Headers;
718
+ /** The request has succeeded. */
719
+ export interface DeletePersonGroupPersonFace200Response extends HttpResponse {
720
+ status: "200";
909
721
  }
910
- export interface DeleteDynamicPersonGroupDefaultHeaders {
722
+ export interface DeletePersonGroupPersonFaceDefaultHeaders {
911
723
  /** String error code indicating what went wrong. */
912
724
  "x-ms-error-code"?: string;
913
725
  }
914
- export interface DeleteDynamicPersonGroupDefaultResponse extends HttpResponse {
726
+ export interface DeletePersonGroupPersonFaceDefaultResponse extends HttpResponse {
915
727
  status: string;
916
728
  body: FaceErrorResponseOutput;
917
- headers: RawHttpHeaders & DeleteDynamicPersonGroupDefaultHeaders;
918
- }
919
- /** The final response for long-running deleteDynamicPersonGroup operation */
920
- export interface DeleteDynamicPersonGroupLogicalResponse extends HttpResponse {
921
- status: "200";
729
+ headers: RawHttpHeaders & DeletePersonGroupPersonFaceDefaultHeaders;
922
730
  }
923
- /** A successful call returns the Dynamic Person Group's information. */
924
- export interface GetDynamicPersonGroup200Response extends HttpResponse {
731
+ /** A successful call returns target persisted face's information (persistedFaceId and userData). */
732
+ export interface GetPersonGroupPersonFace200Response extends HttpResponse {
925
733
  status: "200";
926
- body: DynamicPersonGroupOutput;
734
+ body: PersonGroupPersonFaceOutput;
927
735
  }
928
- export interface GetDynamicPersonGroupDefaultHeaders {
736
+ export interface GetPersonGroupPersonFaceDefaultHeaders {
929
737
  /** String error code indicating what went wrong. */
930
738
  "x-ms-error-code"?: string;
931
739
  }
932
- export interface GetDynamicPersonGroupDefaultResponse extends HttpResponse {
740
+ export interface GetPersonGroupPersonFaceDefaultResponse extends HttpResponse {
933
741
  status: string;
934
742
  body: FaceErrorResponseOutput;
935
- headers: RawHttpHeaders & GetDynamicPersonGroupDefaultHeaders;
936
- }
937
- export interface UpdateDynamicPersonGroupWithPersonChanges202Headers {
938
- "operation-location": string;
743
+ headers: RawHttpHeaders & GetPersonGroupPersonFaceDefaultHeaders;
939
744
  }
940
- /** A successful call returns an empty response body. The service has accepted the request and will start processing soon. The client can query the operation status and result using the URL specified in the 'Operation-Location' response header. The URL expires in 48 hours. The URL provides the status of when Person Directory "Get Dynamic Person Group References" will return the changes made in this request. */
941
- export interface UpdateDynamicPersonGroupWithPersonChanges202Response extends HttpResponse {
942
- status: "202";
943
- headers: RawHttpHeaders & UpdateDynamicPersonGroupWithPersonChanges202Headers;
745
+ /** The request has succeeded. */
746
+ export interface UpdatePersonGroupPersonFace200Response extends HttpResponse {
747
+ status: "200";
944
748
  }
945
- export interface UpdateDynamicPersonGroupWithPersonChangesDefaultHeaders {
749
+ export interface UpdatePersonGroupPersonFaceDefaultHeaders {
946
750
  /** String error code indicating what went wrong. */
947
751
  "x-ms-error-code"?: string;
948
752
  }
949
- export interface UpdateDynamicPersonGroupWithPersonChangesDefaultResponse extends HttpResponse {
753
+ export interface UpdatePersonGroupPersonFaceDefaultResponse extends HttpResponse {
950
754
  status: string;
951
755
  body: FaceErrorResponseOutput;
952
- headers: RawHttpHeaders & UpdateDynamicPersonGroupWithPersonChangesDefaultHeaders;
953
- }
954
- /** The final response for long-running updateDynamicPersonGroupWithPersonChanges operation */
955
- export interface UpdateDynamicPersonGroupWithPersonChangesLogicalResponse extends HttpResponse {
956
- status: "200";
756
+ headers: RawHttpHeaders & UpdatePersonGroupPersonFaceDefaultHeaders;
957
757
  }
958
758
  /** The request has succeeded. */
959
- export interface UpdateDynamicPersonGroup200Response extends HttpResponse {
759
+ export interface CreateLargePersonGroup200Response extends HttpResponse {
960
760
  status: "200";
961
761
  }
962
- export interface UpdateDynamicPersonGroupDefaultHeaders {
762
+ export interface CreateLargePersonGroupDefaultHeaders {
963
763
  /** String error code indicating what went wrong. */
964
764
  "x-ms-error-code"?: string;
965
765
  }
966
- export interface UpdateDynamicPersonGroupDefaultResponse extends HttpResponse {
766
+ export interface CreateLargePersonGroupDefaultResponse extends HttpResponse {
967
767
  status: string;
968
768
  body: FaceErrorResponseOutput;
969
- headers: RawHttpHeaders & UpdateDynamicPersonGroupDefaultHeaders;
769
+ headers: RawHttpHeaders & CreateLargePersonGroupDefaultHeaders;
970
770
  }
971
- /** A successful call returns an array of Dynamic Person Groups and their information (dynamicPersonGroupId, name and userData). */
972
- export interface GetDynamicPersonGroups200Response extends HttpResponse {
771
+ /** The request has succeeded. */
772
+ export interface DeleteLargePersonGroup200Response extends HttpResponse {
973
773
  status: "200";
974
- body: Array<DynamicPersonGroupOutput>;
975
774
  }
976
- export interface GetDynamicPersonGroupsDefaultHeaders {
775
+ export interface DeleteLargePersonGroupDefaultHeaders {
977
776
  /** String error code indicating what went wrong. */
978
777
  "x-ms-error-code"?: string;
979
778
  }
980
- export interface GetDynamicPersonGroupsDefaultResponse extends HttpResponse {
779
+ export interface DeleteLargePersonGroupDefaultResponse extends HttpResponse {
981
780
  status: string;
982
781
  body: FaceErrorResponseOutput;
983
- headers: RawHttpHeaders & GetDynamicPersonGroupsDefaultHeaders;
782
+ headers: RawHttpHeaders & DeleteLargePersonGroupDefaultHeaders;
984
783
  }
985
- /** A successful call returns an array of person information in the Person Directory. */
986
- export interface GetDynamicPersonGroupPersons200Response extends HttpResponse {
784
+ /** A successful call returns the Large Person Group's information. */
785
+ export interface GetLargePersonGroup200Response extends HttpResponse {
987
786
  status: "200";
988
- body: ListPersonResultOutput;
787
+ body: LargePersonGroupOutput;
989
788
  }
990
- export interface GetDynamicPersonGroupPersonsDefaultHeaders {
789
+ export interface GetLargePersonGroupDefaultHeaders {
991
790
  /** String error code indicating what went wrong. */
992
791
  "x-ms-error-code"?: string;
993
792
  }
994
- export interface GetDynamicPersonGroupPersonsDefaultResponse extends HttpResponse {
793
+ export interface GetLargePersonGroupDefaultResponse extends HttpResponse {
995
794
  status: string;
996
795
  body: FaceErrorResponseOutput;
997
- headers: RawHttpHeaders & GetDynamicPersonGroupPersonsDefaultHeaders;
796
+ headers: RawHttpHeaders & GetLargePersonGroupDefaultHeaders;
998
797
  }
999
798
  /** The request has succeeded. */
1000
- export interface CreatePersonGroup200Response extends HttpResponse {
799
+ export interface UpdateLargePersonGroup200Response extends HttpResponse {
1001
800
  status: "200";
1002
801
  }
1003
- export interface CreatePersonGroupDefaultHeaders {
802
+ export interface UpdateLargePersonGroupDefaultHeaders {
1004
803
  /** String error code indicating what went wrong. */
1005
804
  "x-ms-error-code"?: string;
1006
805
  }
1007
- export interface CreatePersonGroupDefaultResponse extends HttpResponse {
806
+ export interface UpdateLargePersonGroupDefaultResponse extends HttpResponse {
1008
807
  status: string;
1009
808
  body: FaceErrorResponseOutput;
1010
- headers: RawHttpHeaders & CreatePersonGroupDefaultHeaders;
809
+ headers: RawHttpHeaders & UpdateLargePersonGroupDefaultHeaders;
1011
810
  }
1012
- /** The request has succeeded. */
1013
- export interface DeletePersonGroup200Response extends HttpResponse {
811
+ /** A successful call returns an array of Large Person Groups and their information (largePersonGroupId, name and userData). */
812
+ export interface GetLargePersonGroups200Response extends HttpResponse {
1014
813
  status: "200";
814
+ body: Array<LargePersonGroupOutput>;
1015
815
  }
1016
- export interface DeletePersonGroupDefaultHeaders {
816
+ export interface GetLargePersonGroupsDefaultHeaders {
1017
817
  /** String error code indicating what went wrong. */
1018
818
  "x-ms-error-code"?: string;
1019
819
  }
1020
- export interface DeletePersonGroupDefaultResponse extends HttpResponse {
820
+ export interface GetLargePersonGroupsDefaultResponse extends HttpResponse {
1021
821
  status: string;
1022
822
  body: FaceErrorResponseOutput;
1023
- headers: RawHttpHeaders & DeletePersonGroupDefaultHeaders;
823
+ headers: RawHttpHeaders & GetLargePersonGroupsDefaultHeaders;
1024
824
  }
1025
- /** A successful call returns the Person Group's information. */
1026
- export interface GetPersonGroup200Response extends HttpResponse {
825
+ /** A successful call returns the Large Person Group's training status. */
826
+ export interface GetLargePersonGroupTrainingStatus200Response extends HttpResponse {
1027
827
  status: "200";
1028
- body: PersonGroupOutput;
828
+ body: TrainingResultOutput;
1029
829
  }
1030
- export interface GetPersonGroupDefaultHeaders {
830
+ export interface GetLargePersonGroupTrainingStatusDefaultHeaders {
1031
831
  /** String error code indicating what went wrong. */
1032
832
  "x-ms-error-code"?: string;
1033
833
  }
1034
- export interface GetPersonGroupDefaultResponse extends HttpResponse {
834
+ export interface GetLargePersonGroupTrainingStatusDefaultResponse extends HttpResponse {
1035
835
  status: string;
1036
836
  body: FaceErrorResponseOutput;
1037
- headers: RawHttpHeaders & GetPersonGroupDefaultHeaders;
837
+ headers: RawHttpHeaders & GetLargePersonGroupTrainingStatusDefaultHeaders;
1038
838
  }
1039
- /** The request has succeeded. */
1040
- export interface UpdatePersonGroup200Response extends HttpResponse {
1041
- status: "200";
839
+ export interface TrainLargePersonGroup202Headers {
840
+ "operation-location": string;
1042
841
  }
1043
- export interface UpdatePersonGroupDefaultHeaders {
842
+ /** A successful call returns an empty response body. */
843
+ export interface TrainLargePersonGroup202Response extends HttpResponse {
844
+ status: "202";
845
+ headers: RawHttpHeaders & TrainLargePersonGroup202Headers;
846
+ }
847
+ export interface TrainLargePersonGroupDefaultHeaders {
1044
848
  /** String error code indicating what went wrong. */
1045
849
  "x-ms-error-code"?: string;
1046
850
  }
1047
- export interface UpdatePersonGroupDefaultResponse extends HttpResponse {
851
+ export interface TrainLargePersonGroupDefaultResponse extends HttpResponse {
1048
852
  status: string;
1049
853
  body: FaceErrorResponseOutput;
1050
- headers: RawHttpHeaders & UpdatePersonGroupDefaultHeaders;
854
+ headers: RawHttpHeaders & TrainLargePersonGroupDefaultHeaders;
1051
855
  }
1052
- /** A successful call returns an array of Person Groups and their information (personGroupId, name and userData). */
1053
- export interface GetPersonGroups200Response extends HttpResponse {
1054
- status: "200";
1055
- body: Array<PersonGroupOutput>;
1056
- }
1057
- export interface GetPersonGroupsDefaultHeaders {
1058
- /** String error code indicating what went wrong. */
1059
- "x-ms-error-code"?: string;
1060
- }
1061
- export interface GetPersonGroupsDefaultResponse extends HttpResponse {
1062
- status: string;
1063
- body: FaceErrorResponseOutput;
1064
- headers: RawHttpHeaders & GetPersonGroupsDefaultHeaders;
1065
- }
1066
- /** A successful call returns the Person Group's training status. */
1067
- export interface GetPersonGroupTrainingStatus200Response extends HttpResponse {
1068
- status: "200";
1069
- body: TrainingResultOutput;
1070
- }
1071
- export interface GetPersonGroupTrainingStatusDefaultHeaders {
1072
- /** String error code indicating what went wrong. */
1073
- "x-ms-error-code"?: string;
1074
- }
1075
- export interface GetPersonGroupTrainingStatusDefaultResponse extends HttpResponse {
1076
- status: string;
1077
- body: FaceErrorResponseOutput;
1078
- headers: RawHttpHeaders & GetPersonGroupTrainingStatusDefaultHeaders;
1079
- }
1080
- export interface TrainPersonGroup202Headers {
1081
- "operation-location": string;
1082
- }
1083
- /** A successful call returns an empty response body. */
1084
- export interface TrainPersonGroup202Response extends HttpResponse {
1085
- status: "202";
1086
- headers: RawHttpHeaders & TrainPersonGroup202Headers;
1087
- }
1088
- export interface TrainPersonGroupDefaultHeaders {
1089
- /** String error code indicating what went wrong. */
1090
- "x-ms-error-code"?: string;
1091
- }
1092
- export interface TrainPersonGroupDefaultResponse extends HttpResponse {
1093
- status: string;
1094
- body: FaceErrorResponseOutput;
1095
- headers: RawHttpHeaders & TrainPersonGroupDefaultHeaders;
1096
- }
1097
- /** The final response for long-running trainPersonGroup operation */
1098
- export interface TrainPersonGroupLogicalResponse extends HttpResponse {
856
+ /** The final response for long-running trainLargePersonGroup operation */
857
+ export interface TrainLargePersonGroupLogicalResponse extends HttpResponse {
1099
858
  status: "200";
1100
859
  }
1101
860
  /** A successful call returns a new personId created. */
1102
- export interface CreatePersonGroupPerson200Response extends HttpResponse {
861
+ export interface CreateLargePersonGroupPerson200Response extends HttpResponse {
1103
862
  status: "200";
1104
863
  body: CreatePersonResultOutput;
1105
864
  }
1106
- export interface CreatePersonGroupPersonDefaultHeaders {
865
+ export interface CreateLargePersonGroupPersonDefaultHeaders {
1107
866
  /** String error code indicating what went wrong. */
1108
867
  "x-ms-error-code"?: string;
1109
868
  }
1110
- export interface CreatePersonGroupPersonDefaultResponse extends HttpResponse {
869
+ export interface CreateLargePersonGroupPersonDefaultResponse extends HttpResponse {
1111
870
  status: string;
1112
871
  body: FaceErrorResponseOutput;
1113
- headers: RawHttpHeaders & CreatePersonGroupPersonDefaultHeaders;
872
+ headers: RawHttpHeaders & CreateLargePersonGroupPersonDefaultHeaders;
1114
873
  }
1115
874
  /** The request has succeeded. */
1116
- export interface DeletePersonGroupPerson200Response extends HttpResponse {
875
+ export interface DeleteLargePersonGroupPerson200Response extends HttpResponse {
1117
876
  status: "200";
1118
877
  }
1119
- export interface DeletePersonGroupPersonDefaultHeaders {
878
+ export interface DeleteLargePersonGroupPersonDefaultHeaders {
1120
879
  /** String error code indicating what went wrong. */
1121
880
  "x-ms-error-code"?: string;
1122
881
  }
1123
- export interface DeletePersonGroupPersonDefaultResponse extends HttpResponse {
882
+ export interface DeleteLargePersonGroupPersonDefaultResponse extends HttpResponse {
1124
883
  status: string;
1125
884
  body: FaceErrorResponseOutput;
1126
- headers: RawHttpHeaders & DeletePersonGroupPersonDefaultHeaders;
885
+ headers: RawHttpHeaders & DeleteLargePersonGroupPersonDefaultHeaders;
1127
886
  }
1128
887
  /** A successful call returns the person's information. */
1129
- export interface GetPersonGroupPerson200Response extends HttpResponse {
888
+ export interface GetLargePersonGroupPerson200Response extends HttpResponse {
1130
889
  status: "200";
1131
- body: PersonGroupPersonOutput;
890
+ body: LargePersonGroupPersonOutput;
1132
891
  }
1133
- export interface GetPersonGroupPersonDefaultHeaders {
892
+ export interface GetLargePersonGroupPersonDefaultHeaders {
1134
893
  /** String error code indicating what went wrong. */
1135
894
  "x-ms-error-code"?: string;
1136
895
  }
1137
- export interface GetPersonGroupPersonDefaultResponse extends HttpResponse {
896
+ export interface GetLargePersonGroupPersonDefaultResponse extends HttpResponse {
1138
897
  status: string;
1139
898
  body: FaceErrorResponseOutput;
1140
- headers: RawHttpHeaders & GetPersonGroupPersonDefaultHeaders;
899
+ headers: RawHttpHeaders & GetLargePersonGroupPersonDefaultHeaders;
1141
900
  }
1142
901
  /** The request has succeeded. */
1143
- export interface UpdatePersonGroupPerson200Response extends HttpResponse {
902
+ export interface UpdateLargePersonGroupPerson200Response extends HttpResponse {
1144
903
  status: "200";
1145
904
  }
1146
- export interface UpdatePersonGroupPersonDefaultHeaders {
905
+ export interface UpdateLargePersonGroupPersonDefaultHeaders {
1147
906
  /** String error code indicating what went wrong. */
1148
907
  "x-ms-error-code"?: string;
1149
908
  }
1150
- export interface UpdatePersonGroupPersonDefaultResponse extends HttpResponse {
909
+ export interface UpdateLargePersonGroupPersonDefaultResponse extends HttpResponse {
1151
910
  status: string;
1152
911
  body: FaceErrorResponseOutput;
1153
- headers: RawHttpHeaders & UpdatePersonGroupPersonDefaultHeaders;
912
+ headers: RawHttpHeaders & UpdateLargePersonGroupPersonDefaultHeaders;
1154
913
  }
1155
- /** A successful call returns an array of person information that belong to the Person Group. */
1156
- export interface GetPersonGroupPersons200Response extends HttpResponse {
914
+ /** A successful call returns an array of person information that belong to the Large Person Group. */
915
+ export interface GetLargePersonGroupPersons200Response extends HttpResponse {
1157
916
  status: "200";
1158
- body: Array<PersonGroupPersonOutput>;
917
+ body: Array<LargePersonGroupPersonOutput>;
1159
918
  }
1160
- export interface GetPersonGroupPersonsDefaultHeaders {
919
+ export interface GetLargePersonGroupPersonsDefaultHeaders {
1161
920
  /** String error code indicating what went wrong. */
1162
921
  "x-ms-error-code"?: string;
1163
922
  }
1164
- export interface GetPersonGroupPersonsDefaultResponse extends HttpResponse {
923
+ export interface GetLargePersonGroupPersonsDefaultResponse extends HttpResponse {
1165
924
  status: string;
1166
925
  body: FaceErrorResponseOutput;
1167
- headers: RawHttpHeaders & GetPersonGroupPersonsDefaultHeaders;
926
+ headers: RawHttpHeaders & GetLargePersonGroupPersonsDefaultHeaders;
1168
927
  }
1169
928
  /** A successful call returns a new persistedFaceId. */
1170
- export interface AddPersonGroupPersonFaceFromUrl200Response extends HttpResponse {
929
+ export interface AddLargePersonGroupPersonFaceFromUrl200Response extends HttpResponse {
1171
930
  status: "200";
1172
931
  body: AddFaceResultOutput;
1173
932
  }
1174
- export interface AddPersonGroupPersonFaceFromUrlDefaultHeaders {
933
+ export interface AddLargePersonGroupPersonFaceFromUrlDefaultHeaders {
1175
934
  /** String error code indicating what went wrong. */
1176
935
  "x-ms-error-code"?: string;
1177
936
  }
1178
- export interface AddPersonGroupPersonFaceFromUrlDefaultResponse extends HttpResponse {
937
+ export interface AddLargePersonGroupPersonFaceFromUrlDefaultResponse extends HttpResponse {
1179
938
  status: string;
1180
939
  body: FaceErrorResponseOutput;
1181
- headers: RawHttpHeaders & AddPersonGroupPersonFaceFromUrlDefaultHeaders;
940
+ headers: RawHttpHeaders & AddLargePersonGroupPersonFaceFromUrlDefaultHeaders;
1182
941
  }
1183
942
  /** A successful call returns a new persistedFaceId. */
1184
- export interface AddPersonGroupPersonFace200Response extends HttpResponse {
943
+ export interface AddLargePersonGroupPersonFace200Response extends HttpResponse {
1185
944
  status: "200";
1186
945
  body: AddFaceResultOutput;
1187
946
  }
1188
- export interface AddPersonGroupPersonFaceDefaultHeaders {
947
+ export interface AddLargePersonGroupPersonFaceDefaultHeaders {
1189
948
  /** String error code indicating what went wrong. */
1190
949
  "x-ms-error-code"?: string;
1191
950
  }
1192
- export interface AddPersonGroupPersonFaceDefaultResponse extends HttpResponse {
951
+ export interface AddLargePersonGroupPersonFaceDefaultResponse extends HttpResponse {
1193
952
  status: string;
1194
953
  body: FaceErrorResponseOutput;
1195
- headers: RawHttpHeaders & AddPersonGroupPersonFaceDefaultHeaders;
954
+ headers: RawHttpHeaders & AddLargePersonGroupPersonFaceDefaultHeaders;
1196
955
  }
1197
956
  /** The request has succeeded. */
1198
- export interface DeletePersonGroupPersonFace200Response extends HttpResponse {
957
+ export interface DeleteLargePersonGroupPersonFace200Response extends HttpResponse {
1199
958
  status: "200";
1200
959
  }
1201
- export interface DeletePersonGroupPersonFaceDefaultHeaders {
960
+ export interface DeleteLargePersonGroupPersonFaceDefaultHeaders {
1202
961
  /** String error code indicating what went wrong. */
1203
962
  "x-ms-error-code"?: string;
1204
963
  }
1205
- export interface DeletePersonGroupPersonFaceDefaultResponse extends HttpResponse {
964
+ export interface DeleteLargePersonGroupPersonFaceDefaultResponse extends HttpResponse {
1206
965
  status: string;
1207
966
  body: FaceErrorResponseOutput;
1208
- headers: RawHttpHeaders & DeletePersonGroupPersonFaceDefaultHeaders;
967
+ headers: RawHttpHeaders & DeleteLargePersonGroupPersonFaceDefaultHeaders;
1209
968
  }
1210
969
  /** A successful call returns target persisted face's information (persistedFaceId and userData). */
1211
- export interface GetPersonGroupPersonFace200Response extends HttpResponse {
970
+ export interface GetLargePersonGroupPersonFace200Response extends HttpResponse {
1212
971
  status: "200";
1213
- body: PersonGroupPersonFaceOutput;
972
+ body: LargePersonGroupPersonFaceOutput;
1214
973
  }
1215
- export interface GetPersonGroupPersonFaceDefaultHeaders {
974
+ export interface GetLargePersonGroupPersonFaceDefaultHeaders {
1216
975
  /** String error code indicating what went wrong. */
1217
976
  "x-ms-error-code"?: string;
1218
977
  }
1219
- export interface GetPersonGroupPersonFaceDefaultResponse extends HttpResponse {
978
+ export interface GetLargePersonGroupPersonFaceDefaultResponse extends HttpResponse {
1220
979
  status: string;
1221
980
  body: FaceErrorResponseOutput;
1222
- headers: RawHttpHeaders & GetPersonGroupPersonFaceDefaultHeaders;
981
+ headers: RawHttpHeaders & GetLargePersonGroupPersonFaceDefaultHeaders;
1223
982
  }
1224
983
  /** The request has succeeded. */
1225
- export interface UpdatePersonGroupPersonFace200Response extends HttpResponse {
984
+ export interface UpdateLargePersonGroupPersonFace200Response extends HttpResponse {
1226
985
  status: "200";
1227
986
  }
1228
- export interface UpdatePersonGroupPersonFaceDefaultHeaders {
987
+ export interface UpdateLargePersonGroupPersonFaceDefaultHeaders {
1229
988
  /** String error code indicating what went wrong. */
1230
989
  "x-ms-error-code"?: string;
1231
990
  }
1232
- export interface UpdatePersonGroupPersonFaceDefaultResponse extends HttpResponse {
991
+ export interface UpdateLargePersonGroupPersonFaceDefaultResponse extends HttpResponse {
1233
992
  status: string;
1234
993
  body: FaceErrorResponseOutput;
1235
- headers: RawHttpHeaders & UpdatePersonGroupPersonFaceDefaultHeaders;
994
+ headers: RawHttpHeaders & UpdateLargePersonGroupPersonFaceDefaultHeaders;
1236
995
  }
1237
- /** The request has succeeded. */
1238
- export interface CreateLargePersonGroup200Response extends HttpResponse {
996
+ /** A successful call create a session for a client device and provide an authorization token for use by the client application for a limited purpose and time. */
997
+ export interface CreateLivenessSession200Response extends HttpResponse {
1239
998
  status: "200";
999
+ body: CreateLivenessSessionResultOutput;
1240
1000
  }
1241
- export interface CreateLargePersonGroupDefaultHeaders {
1001
+ export interface CreateLivenessSessionDefaultHeaders {
1242
1002
  /** String error code indicating what went wrong. */
1243
1003
  "x-ms-error-code"?: string;
1244
1004
  }
1245
- export interface CreateLargePersonGroupDefaultResponse extends HttpResponse {
1005
+ export interface CreateLivenessSessionDefaultResponse extends HttpResponse {
1246
1006
  status: string;
1247
1007
  body: FaceErrorResponseOutput;
1248
- headers: RawHttpHeaders & CreateLargePersonGroupDefaultHeaders;
1008
+ headers: RawHttpHeaders & CreateLivenessSessionDefaultHeaders;
1249
1009
  }
1250
1010
  /** The request has succeeded. */
1251
- export interface DeleteLargePersonGroup200Response extends HttpResponse {
1011
+ export interface DeleteLivenessSession200Response extends HttpResponse {
1252
1012
  status: "200";
1253
1013
  }
1254
- export interface DeleteLargePersonGroupDefaultHeaders {
1014
+ export interface DeleteLivenessSessionDefaultHeaders {
1255
1015
  /** String error code indicating what went wrong. */
1256
1016
  "x-ms-error-code"?: string;
1257
1017
  }
1258
- export interface DeleteLargePersonGroupDefaultResponse extends HttpResponse {
1018
+ export interface DeleteLivenessSessionDefaultResponse extends HttpResponse {
1259
1019
  status: string;
1260
1020
  body: FaceErrorResponseOutput;
1261
- headers: RawHttpHeaders & DeleteLargePersonGroupDefaultHeaders;
1021
+ headers: RawHttpHeaders & DeleteLivenessSessionDefaultHeaders;
1262
1022
  }
1263
- /** A successful call returns the Large Person Group's information. */
1264
- export interface GetLargePersonGroup200Response extends HttpResponse {
1023
+ /** The request has succeeded. */
1024
+ export interface GetLivenessSessionResult200Response extends HttpResponse {
1265
1025
  status: "200";
1266
- body: LargePersonGroupOutput;
1026
+ body: LivenessSessionOutput;
1267
1027
  }
1268
- export interface GetLargePersonGroupDefaultHeaders {
1028
+ export interface GetLivenessSessionResultDefaultHeaders {
1269
1029
  /** String error code indicating what went wrong. */
1270
1030
  "x-ms-error-code"?: string;
1271
1031
  }
1272
- export interface GetLargePersonGroupDefaultResponse extends HttpResponse {
1032
+ export interface GetLivenessSessionResultDefaultResponse extends HttpResponse {
1273
1033
  status: string;
1274
1034
  body: FaceErrorResponseOutput;
1275
- headers: RawHttpHeaders & GetLargePersonGroupDefaultHeaders;
1035
+ headers: RawHttpHeaders & GetLivenessSessionResultDefaultHeaders;
1276
1036
  }
1277
1037
  /** The request has succeeded. */
1278
- export interface UpdateLargePersonGroup200Response extends HttpResponse {
1038
+ export interface GetLivenessSessions200Response extends HttpResponse {
1279
1039
  status: "200";
1040
+ body: Array<LivenessSessionItemOutput>;
1280
1041
  }
1281
- export interface UpdateLargePersonGroupDefaultHeaders {
1042
+ export interface GetLivenessSessionsDefaultHeaders {
1282
1043
  /** String error code indicating what went wrong. */
1283
1044
  "x-ms-error-code"?: string;
1284
1045
  }
1285
- export interface UpdateLargePersonGroupDefaultResponse extends HttpResponse {
1046
+ export interface GetLivenessSessionsDefaultResponse extends HttpResponse {
1286
1047
  status: string;
1287
1048
  body: FaceErrorResponseOutput;
1288
- headers: RawHttpHeaders & UpdateLargePersonGroupDefaultHeaders;
1049
+ headers: RawHttpHeaders & GetLivenessSessionsDefaultHeaders;
1289
1050
  }
1290
- /** A successful call returns an array of Large Person Groups and their information (largePersonGroupId, name and userData). */
1291
- export interface GetLargePersonGroups200Response extends HttpResponse {
1051
+ /** The request has succeeded. */
1052
+ export interface GetLivenessSessionAuditEntries200Response extends HttpResponse {
1292
1053
  status: "200";
1293
- body: Array<LargePersonGroupOutput>;
1054
+ body: Array<LivenessSessionAuditEntryOutput>;
1294
1055
  }
1295
- export interface GetLargePersonGroupsDefaultHeaders {
1056
+ export interface GetLivenessSessionAuditEntriesDefaultHeaders {
1296
1057
  /** String error code indicating what went wrong. */
1297
1058
  "x-ms-error-code"?: string;
1298
1059
  }
1299
- export interface GetLargePersonGroupsDefaultResponse extends HttpResponse {
1060
+ export interface GetLivenessSessionAuditEntriesDefaultResponse extends HttpResponse {
1300
1061
  status: string;
1301
1062
  body: FaceErrorResponseOutput;
1302
- headers: RawHttpHeaders & GetLargePersonGroupsDefaultHeaders;
1063
+ headers: RawHttpHeaders & GetLivenessSessionAuditEntriesDefaultHeaders;
1303
1064
  }
1304
- /** A successful call returns the Large Person Group's training status. */
1305
- export interface GetLargePersonGroupTrainingStatus200Response extends HttpResponse {
1065
+ /** A successful call create a session for a client device and provide an authorization token for use by the client application for a limited purpose and time. */
1066
+ export interface CreateLivenessWithVerifySessionWithVerifyImage200Response extends HttpResponse {
1306
1067
  status: "200";
1307
- body: TrainingResultOutput;
1068
+ body: CreateLivenessWithVerifySessionResultOutput;
1308
1069
  }
1309
- export interface GetLargePersonGroupTrainingStatusDefaultHeaders {
1070
+ export interface CreateLivenessWithVerifySessionWithVerifyImageDefaultHeaders {
1310
1071
  /** String error code indicating what went wrong. */
1311
1072
  "x-ms-error-code"?: string;
1312
1073
  }
1313
- export interface GetLargePersonGroupTrainingStatusDefaultResponse extends HttpResponse {
1074
+ export interface CreateLivenessWithVerifySessionWithVerifyImageDefaultResponse extends HttpResponse {
1314
1075
  status: string;
1315
1076
  body: FaceErrorResponseOutput;
1316
- headers: RawHttpHeaders & GetLargePersonGroupTrainingStatusDefaultHeaders;
1317
- }
1318
- export interface TrainLargePersonGroup202Headers {
1319
- "operation-location": string;
1077
+ headers: RawHttpHeaders & CreateLivenessWithVerifySessionWithVerifyImageDefaultHeaders;
1320
1078
  }
1321
- /** A successful call returns an empty response body. */
1322
- export interface TrainLargePersonGroup202Response extends HttpResponse {
1323
- status: "202";
1324
- headers: RawHttpHeaders & TrainLargePersonGroup202Headers;
1079
+ /** A successful call create a session for a client device and provide an authorization token for use by the client application for a limited purpose and time. */
1080
+ export interface CreateLivenessWithVerifySession200Response extends HttpResponse {
1081
+ status: "200";
1082
+ body: CreateLivenessWithVerifySessionResultOutput;
1325
1083
  }
1326
- export interface TrainLargePersonGroupDefaultHeaders {
1084
+ export interface CreateLivenessWithVerifySessionDefaultHeaders {
1327
1085
  /** String error code indicating what went wrong. */
1328
1086
  "x-ms-error-code"?: string;
1329
1087
  }
1330
- export interface TrainLargePersonGroupDefaultResponse extends HttpResponse {
1088
+ export interface CreateLivenessWithVerifySessionDefaultResponse extends HttpResponse {
1331
1089
  status: string;
1332
1090
  body: FaceErrorResponseOutput;
1333
- headers: RawHttpHeaders & TrainLargePersonGroupDefaultHeaders;
1334
- }
1335
- /** The final response for long-running trainLargePersonGroup operation */
1336
- export interface TrainLargePersonGroupLogicalResponse extends HttpResponse {
1337
- status: "200";
1091
+ headers: RawHttpHeaders & CreateLivenessWithVerifySessionDefaultHeaders;
1338
1092
  }
1339
- /** A successful call returns a new personId created. */
1340
- export interface CreateLargePersonGroupPerson200Response extends HttpResponse {
1093
+ /** The request has succeeded. */
1094
+ export interface DeleteLivenessWithVerifySession200Response extends HttpResponse {
1341
1095
  status: "200";
1342
- body: CreatePersonResultOutput;
1343
1096
  }
1344
- export interface CreateLargePersonGroupPersonDefaultHeaders {
1097
+ export interface DeleteLivenessWithVerifySessionDefaultHeaders {
1345
1098
  /** String error code indicating what went wrong. */
1346
1099
  "x-ms-error-code"?: string;
1347
1100
  }
1348
- export interface CreateLargePersonGroupPersonDefaultResponse extends HttpResponse {
1101
+ export interface DeleteLivenessWithVerifySessionDefaultResponse extends HttpResponse {
1349
1102
  status: string;
1350
1103
  body: FaceErrorResponseOutput;
1351
- headers: RawHttpHeaders & CreateLargePersonGroupPersonDefaultHeaders;
1104
+ headers: RawHttpHeaders & DeleteLivenessWithVerifySessionDefaultHeaders;
1352
1105
  }
1353
1106
  /** The request has succeeded. */
1354
- export interface DeleteLargePersonGroupPerson200Response extends HttpResponse {
1107
+ export interface GetLivenessWithVerifySessionResult200Response extends HttpResponse {
1355
1108
  status: "200";
1109
+ body: LivenessWithVerifySessionOutput;
1356
1110
  }
1357
- export interface DeleteLargePersonGroupPersonDefaultHeaders {
1111
+ export interface GetLivenessWithVerifySessionResultDefaultHeaders {
1358
1112
  /** String error code indicating what went wrong. */
1359
1113
  "x-ms-error-code"?: string;
1360
1114
  }
1361
- export interface DeleteLargePersonGroupPersonDefaultResponse extends HttpResponse {
1115
+ export interface GetLivenessWithVerifySessionResultDefaultResponse extends HttpResponse {
1362
1116
  status: string;
1363
1117
  body: FaceErrorResponseOutput;
1364
- headers: RawHttpHeaders & DeleteLargePersonGroupPersonDefaultHeaders;
1118
+ headers: RawHttpHeaders & GetLivenessWithVerifySessionResultDefaultHeaders;
1365
1119
  }
1366
- /** A successful call returns the person's information. */
1367
- export interface GetLargePersonGroupPerson200Response extends HttpResponse {
1120
+ /** The request has succeeded. */
1121
+ export interface GetLivenessWithVerifySessions200Response extends HttpResponse {
1368
1122
  status: "200";
1369
- body: LargePersonGroupPersonOutput;
1123
+ body: Array<LivenessSessionItemOutput>;
1370
1124
  }
1371
- export interface GetLargePersonGroupPersonDefaultHeaders {
1125
+ export interface GetLivenessWithVerifySessionsDefaultHeaders {
1372
1126
  /** String error code indicating what went wrong. */
1373
1127
  "x-ms-error-code"?: string;
1374
1128
  }
1375
- export interface GetLargePersonGroupPersonDefaultResponse extends HttpResponse {
1129
+ export interface GetLivenessWithVerifySessionsDefaultResponse extends HttpResponse {
1376
1130
  status: string;
1377
1131
  body: FaceErrorResponseOutput;
1378
- headers: RawHttpHeaders & GetLargePersonGroupPersonDefaultHeaders;
1132
+ headers: RawHttpHeaders & GetLivenessWithVerifySessionsDefaultHeaders;
1379
1133
  }
1380
1134
  /** The request has succeeded. */
1381
- export interface UpdateLargePersonGroupPerson200Response extends HttpResponse {
1135
+ export interface GetLivenessWithVerifySessionAuditEntries200Response extends HttpResponse {
1382
1136
  status: "200";
1137
+ body: Array<LivenessSessionAuditEntryOutput>;
1383
1138
  }
1384
- export interface UpdateLargePersonGroupPersonDefaultHeaders {
1139
+ export interface GetLivenessWithVerifySessionAuditEntriesDefaultHeaders {
1385
1140
  /** String error code indicating what went wrong. */
1386
1141
  "x-ms-error-code"?: string;
1387
1142
  }
1388
- export interface UpdateLargePersonGroupPersonDefaultResponse extends HttpResponse {
1143
+ export interface GetLivenessWithVerifySessionAuditEntriesDefaultResponse extends HttpResponse {
1389
1144
  status: string;
1390
1145
  body: FaceErrorResponseOutput;
1391
- headers: RawHttpHeaders & UpdateLargePersonGroupPersonDefaultHeaders;
1146
+ headers: RawHttpHeaders & GetLivenessWithVerifySessionAuditEntriesDefaultHeaders;
1392
1147
  }
1393
- /** A successful call returns an array of person information that belong to the Large Person Group. */
1394
- export interface GetLargePersonGroupPersons200Response extends HttpResponse {
1148
+ export interface GetSessionImage200Headers {
1149
+ /** The format of the HTTP payload. */
1150
+ "content-type": "application/octet-stream";
1151
+ }
1152
+ /** The request has succeeded. */
1153
+ export interface GetSessionImage200Response extends HttpResponse {
1395
1154
  status: "200";
1396
- body: Array<LargePersonGroupPersonOutput>;
1155
+ /** Value may contain any sequence of octets */
1156
+ body: Uint8Array;
1157
+ headers: RawHttpHeaders & GetSessionImage200Headers;
1397
1158
  }
1398
- export interface GetLargePersonGroupPersonsDefaultHeaders {
1159
+ export interface GetSessionImageDefaultHeaders {
1399
1160
  /** String error code indicating what went wrong. */
1400
1161
  "x-ms-error-code"?: string;
1401
1162
  }
1402
- export interface GetLargePersonGroupPersonsDefaultResponse extends HttpResponse {
1163
+ export interface GetSessionImageDefaultResponse extends HttpResponse {
1403
1164
  status: string;
1404
1165
  body: FaceErrorResponseOutput;
1405
- headers: RawHttpHeaders & GetLargePersonGroupPersonsDefaultHeaders;
1166
+ headers: RawHttpHeaders & GetSessionImageDefaultHeaders;
1406
1167
  }
1407
- /** A successful call returns a new persistedFaceId. */
1408
- export interface AddLargePersonGroupPersonFaceFromUrl200Response extends HttpResponse {
1168
+ export interface CreatePerson202Headers {
1169
+ "operation-location": string;
1170
+ location: string;
1171
+ }
1172
+ /** A successful call returns an empty response body. The service has accepted the request and will start processing soon. The client can query the operation status and result using the URL specified in the 'Operation-Location' response header. The URL expires in 48 hours. */
1173
+ export interface CreatePerson202Response extends HttpResponse {
1174
+ status: "202";
1175
+ body: CreatePersonResultOutput;
1176
+ headers: RawHttpHeaders & CreatePerson202Headers;
1177
+ }
1178
+ export interface CreatePersonDefaultHeaders {
1179
+ /** String error code indicating what went wrong. */
1180
+ "x-ms-error-code"?: string;
1181
+ }
1182
+ export interface CreatePersonDefaultResponse extends HttpResponse {
1183
+ status: string;
1184
+ body: FaceErrorResponseOutput;
1185
+ headers: RawHttpHeaders & CreatePersonDefaultHeaders;
1186
+ }
1187
+ /** The final response for long-running createPerson operation */
1188
+ export interface CreatePersonLogicalResponse extends HttpResponse {
1189
+ status: "200";
1190
+ body: CreatePersonResultOutput;
1191
+ }
1192
+ export interface DeletePerson202Headers {
1193
+ "operation-location": string;
1194
+ }
1195
+ /** A successful call returns an empty response body. The service has accepted the request and will start processing soon. The client can query the operation status and result using the URL specified in the 'Operation-Location' response header. The URL expires in 48 hours. */
1196
+ export interface DeletePerson202Response extends HttpResponse {
1197
+ status: "202";
1198
+ headers: RawHttpHeaders & DeletePerson202Headers;
1199
+ }
1200
+ export interface DeletePersonDefaultHeaders {
1201
+ /** String error code indicating what went wrong. */
1202
+ "x-ms-error-code"?: string;
1203
+ }
1204
+ export interface DeletePersonDefaultResponse extends HttpResponse {
1205
+ status: string;
1206
+ body: FaceErrorResponseOutput;
1207
+ headers: RawHttpHeaders & DeletePersonDefaultHeaders;
1208
+ }
1209
+ /** The final response for long-running deletePerson operation */
1210
+ export interface DeletePersonLogicalResponse extends HttpResponse {
1211
+ status: "200";
1212
+ }
1213
+ /** A successful call returns the person's information. */
1214
+ export interface GetPerson200Response extends HttpResponse {
1215
+ status: "200";
1216
+ body: PersonDirectoryPersonOutput;
1217
+ }
1218
+ export interface GetPersonDefaultHeaders {
1219
+ /** String error code indicating what went wrong. */
1220
+ "x-ms-error-code"?: string;
1221
+ }
1222
+ export interface GetPersonDefaultResponse extends HttpResponse {
1223
+ status: string;
1224
+ body: FaceErrorResponseOutput;
1225
+ headers: RawHttpHeaders & GetPersonDefaultHeaders;
1226
+ }
1227
+ /** The request has succeeded. */
1228
+ export interface UpdatePerson200Response extends HttpResponse {
1229
+ status: "200";
1230
+ }
1231
+ export interface UpdatePersonDefaultHeaders {
1232
+ /** String error code indicating what went wrong. */
1233
+ "x-ms-error-code"?: string;
1234
+ }
1235
+ export interface UpdatePersonDefaultResponse extends HttpResponse {
1236
+ status: string;
1237
+ body: FaceErrorResponseOutput;
1238
+ headers: RawHttpHeaders & UpdatePersonDefaultHeaders;
1239
+ }
1240
+ /** A successful call returns an array of Person Directory Persons contained in the Dynamic Person Group. */
1241
+ export interface GetPersons200Response extends HttpResponse {
1409
1242
  status: "200";
1243
+ body: Array<PersonDirectoryPersonOutput>;
1244
+ }
1245
+ export interface GetPersonsDefaultHeaders {
1246
+ /** String error code indicating what went wrong. */
1247
+ "x-ms-error-code"?: string;
1248
+ }
1249
+ export interface GetPersonsDefaultResponse extends HttpResponse {
1250
+ status: string;
1251
+ body: FaceErrorResponseOutput;
1252
+ headers: RawHttpHeaders & GetPersonsDefaultHeaders;
1253
+ }
1254
+ /** A successful call returns an array of dynamicPersonGroups information that reference the provided personId. */
1255
+ export interface GetDynamicPersonGroupReferences200Response extends HttpResponse {
1256
+ status: "200";
1257
+ body: ListGroupReferenceResultOutput;
1258
+ }
1259
+ export interface GetDynamicPersonGroupReferencesDefaultHeaders {
1260
+ /** String error code indicating what went wrong. */
1261
+ "x-ms-error-code"?: string;
1262
+ }
1263
+ export interface GetDynamicPersonGroupReferencesDefaultResponse extends HttpResponse {
1264
+ status: string;
1265
+ body: FaceErrorResponseOutput;
1266
+ headers: RawHttpHeaders & GetDynamicPersonGroupReferencesDefaultHeaders;
1267
+ }
1268
+ export interface AddPersonFace202Headers {
1269
+ "operation-location": string;
1270
+ location: string;
1271
+ }
1272
+ /** A successful call returns an empty response body. The service has accepted the request and will start processing soon. The client can query the operation status and result using the URL specified in the 'Operation-Location' response header. The URL expires in 48 hours. */
1273
+ export interface AddPersonFace202Response extends HttpResponse {
1274
+ status: "202";
1410
1275
  body: AddFaceResultOutput;
1276
+ headers: RawHttpHeaders & AddPersonFace202Headers;
1411
1277
  }
1412
- export interface AddLargePersonGroupPersonFaceFromUrlDefaultHeaders {
1278
+ export interface AddPersonFaceDefaultHeaders {
1413
1279
  /** String error code indicating what went wrong. */
1414
1280
  "x-ms-error-code"?: string;
1415
1281
  }
1416
- export interface AddLargePersonGroupPersonFaceFromUrlDefaultResponse extends HttpResponse {
1282
+ export interface AddPersonFaceDefaultResponse extends HttpResponse {
1417
1283
  status: string;
1418
1284
  body: FaceErrorResponseOutput;
1419
- headers: RawHttpHeaders & AddLargePersonGroupPersonFaceFromUrlDefaultHeaders;
1285
+ headers: RawHttpHeaders & AddPersonFaceDefaultHeaders;
1420
1286
  }
1421
- /** A successful call returns a new persistedFaceId. */
1422
- export interface AddLargePersonGroupPersonFace200Response extends HttpResponse {
1287
+ /** The final response for long-running addPersonFace operation */
1288
+ export interface AddPersonFaceLogicalResponse extends HttpResponse {
1423
1289
  status: "200";
1424
1290
  body: AddFaceResultOutput;
1425
1291
  }
1426
- export interface AddLargePersonGroupPersonFaceDefaultHeaders {
1292
+ export interface AddPersonFaceFromUrl202Headers {
1293
+ "operation-location": string;
1294
+ location: string;
1295
+ }
1296
+ /** A successful call returns an empty response body. The service has accepted the request and will start processing soon. The client can query the operation status and result using the URL specified in the 'Operation-Location' response header. The URL expires in 48 hours. */
1297
+ export interface AddPersonFaceFromUrl202Response extends HttpResponse {
1298
+ status: "202";
1299
+ body: AddFaceResultOutput;
1300
+ headers: RawHttpHeaders & AddPersonFaceFromUrl202Headers;
1301
+ }
1302
+ export interface AddPersonFaceFromUrlDefaultHeaders {
1427
1303
  /** String error code indicating what went wrong. */
1428
1304
  "x-ms-error-code"?: string;
1429
1305
  }
1430
- export interface AddLargePersonGroupPersonFaceDefaultResponse extends HttpResponse {
1306
+ export interface AddPersonFaceFromUrlDefaultResponse extends HttpResponse {
1431
1307
  status: string;
1432
1308
  body: FaceErrorResponseOutput;
1433
- headers: RawHttpHeaders & AddLargePersonGroupPersonFaceDefaultHeaders;
1309
+ headers: RawHttpHeaders & AddPersonFaceFromUrlDefaultHeaders;
1434
1310
  }
1435
- /** The request has succeeded. */
1436
- export interface DeleteLargePersonGroupPersonFace200Response extends HttpResponse {
1311
+ /** The final response for long-running addPersonFaceFromUrl operation */
1312
+ export interface AddPersonFaceFromUrlLogicalResponse extends HttpResponse {
1437
1313
  status: "200";
1314
+ body: AddFaceResultOutput;
1438
1315
  }
1439
- export interface DeleteLargePersonGroupPersonFaceDefaultHeaders {
1316
+ export interface DeletePersonFace202Headers {
1317
+ "operation-location": string;
1318
+ }
1319
+ /** A successful call returns an empty response body. The service has accepted the request and will start processing soon. The client can query the operation status and result using the URL specified in the 'Operation-Location' response header. The URL expires in 48 hours. */
1320
+ export interface DeletePersonFace202Response extends HttpResponse {
1321
+ status: "202";
1322
+ headers: RawHttpHeaders & DeletePersonFace202Headers;
1323
+ }
1324
+ export interface DeletePersonFaceDefaultHeaders {
1440
1325
  /** String error code indicating what went wrong. */
1441
1326
  "x-ms-error-code"?: string;
1442
1327
  }
1443
- export interface DeleteLargePersonGroupPersonFaceDefaultResponse extends HttpResponse {
1328
+ export interface DeletePersonFaceDefaultResponse extends HttpResponse {
1444
1329
  status: string;
1445
1330
  body: FaceErrorResponseOutput;
1446
- headers: RawHttpHeaders & DeleteLargePersonGroupPersonFaceDefaultHeaders;
1331
+ headers: RawHttpHeaders & DeletePersonFaceDefaultHeaders;
1332
+ }
1333
+ /** The final response for long-running deletePersonFace operation */
1334
+ export interface DeletePersonFaceLogicalResponse extends HttpResponse {
1335
+ status: "200";
1447
1336
  }
1448
1337
  /** A successful call returns target persisted face's information (persistedFaceId and userData). */
1449
- export interface GetLargePersonGroupPersonFace200Response extends HttpResponse {
1338
+ export interface GetPersonFace200Response extends HttpResponse {
1450
1339
  status: "200";
1451
- body: LargePersonGroupPersonFaceOutput;
1340
+ body: PersonDirectoryFaceOutput;
1452
1341
  }
1453
- export interface GetLargePersonGroupPersonFaceDefaultHeaders {
1342
+ export interface GetPersonFaceDefaultHeaders {
1454
1343
  /** String error code indicating what went wrong. */
1455
1344
  "x-ms-error-code"?: string;
1456
1345
  }
1457
- export interface GetLargePersonGroupPersonFaceDefaultResponse extends HttpResponse {
1346
+ export interface GetPersonFaceDefaultResponse extends HttpResponse {
1458
1347
  status: string;
1459
1348
  body: FaceErrorResponseOutput;
1460
- headers: RawHttpHeaders & GetLargePersonGroupPersonFaceDefaultHeaders;
1349
+ headers: RawHttpHeaders & GetPersonFaceDefaultHeaders;
1461
1350
  }
1462
1351
  /** The request has succeeded. */
1463
- export interface UpdateLargePersonGroupPersonFace200Response extends HttpResponse {
1352
+ export interface UpdatePersonFace200Response extends HttpResponse {
1464
1353
  status: "200";
1465
1354
  }
1466
- export interface UpdateLargePersonGroupPersonFaceDefaultHeaders {
1355
+ export interface UpdatePersonFaceDefaultHeaders {
1467
1356
  /** String error code indicating what went wrong. */
1468
1357
  "x-ms-error-code"?: string;
1469
1358
  }
1470
- export interface UpdateLargePersonGroupPersonFaceDefaultResponse extends HttpResponse {
1359
+ export interface UpdatePersonFaceDefaultResponse extends HttpResponse {
1471
1360
  status: string;
1472
1361
  body: FaceErrorResponseOutput;
1473
- headers: RawHttpHeaders & UpdateLargePersonGroupPersonFaceDefaultHeaders;
1362
+ headers: RawHttpHeaders & UpdatePersonFaceDefaultHeaders;
1363
+ }
1364
+ /** A successful call returns an array of persistedFaceIds and and a person ID. */
1365
+ export interface GetPersonFaces200Response extends HttpResponse {
1366
+ status: "200";
1367
+ body: ListFaceResultOutput;
1368
+ }
1369
+ export interface GetPersonFacesDefaultHeaders {
1370
+ /** String error code indicating what went wrong. */
1371
+ "x-ms-error-code"?: string;
1372
+ }
1373
+ export interface GetPersonFacesDefaultResponse extends HttpResponse {
1374
+ status: string;
1375
+ body: FaceErrorResponseOutput;
1376
+ headers: RawHttpHeaders & GetPersonFacesDefaultHeaders;
1377
+ }
1378
+ export interface CreateDynamicPersonGroupWithPerson202Headers {
1379
+ "operation-location": string;
1380
+ }
1381
+ /** A successful call returns an empty response body. The service has accepted the request and will start processing soon. The client can query the operation status and result using the URL specified in the 'Operation-Location' response header. The URL expires in 48 hours. The URL provides the status of when Person Directory "Get Dynamic Person Group References" will return the changes made in this request. */
1382
+ export interface CreateDynamicPersonGroupWithPerson202Response extends HttpResponse {
1383
+ status: "202";
1384
+ headers: RawHttpHeaders & CreateDynamicPersonGroupWithPerson202Headers;
1385
+ }
1386
+ export interface CreateDynamicPersonGroupWithPersonDefaultHeaders {
1387
+ /** String error code indicating what went wrong. */
1388
+ "x-ms-error-code"?: string;
1389
+ }
1390
+ export interface CreateDynamicPersonGroupWithPersonDefaultResponse extends HttpResponse {
1391
+ status: string;
1392
+ body: FaceErrorResponseOutput;
1393
+ headers: RawHttpHeaders & CreateDynamicPersonGroupWithPersonDefaultHeaders;
1394
+ }
1395
+ /** The final response for long-running createDynamicPersonGroupWithPerson operation */
1396
+ export interface CreateDynamicPersonGroupWithPersonLogicalResponse extends HttpResponse {
1397
+ status: "200";
1398
+ }
1399
+ /** The request has succeeded. */
1400
+ export interface CreateDynamicPersonGroup200Response extends HttpResponse {
1401
+ status: "200";
1402
+ }
1403
+ export interface CreateDynamicPersonGroupDefaultHeaders {
1404
+ /** String error code indicating what went wrong. */
1405
+ "x-ms-error-code"?: string;
1406
+ }
1407
+ export interface CreateDynamicPersonGroupDefaultResponse extends HttpResponse {
1408
+ status: string;
1409
+ body: FaceErrorResponseOutput;
1410
+ headers: RawHttpHeaders & CreateDynamicPersonGroupDefaultHeaders;
1411
+ }
1412
+ export interface DeleteDynamicPersonGroup202Headers {
1413
+ "operation-location": string;
1414
+ }
1415
+ /** A successful call returns an empty response body. The service has accepted the request and will start processing soon. The client can query the operation status and result using the URL specified in the 'Operation-Location' response header. The URL expires in 48 hours. The URL provides the status of when Person Directory "Get Dynamic Person Group References" will return the changes made in this request. */
1416
+ export interface DeleteDynamicPersonGroup202Response extends HttpResponse {
1417
+ status: "202";
1418
+ headers: RawHttpHeaders & DeleteDynamicPersonGroup202Headers;
1419
+ }
1420
+ export interface DeleteDynamicPersonGroupDefaultHeaders {
1421
+ /** String error code indicating what went wrong. */
1422
+ "x-ms-error-code"?: string;
1423
+ }
1424
+ export interface DeleteDynamicPersonGroupDefaultResponse extends HttpResponse {
1425
+ status: string;
1426
+ body: FaceErrorResponseOutput;
1427
+ headers: RawHttpHeaders & DeleteDynamicPersonGroupDefaultHeaders;
1428
+ }
1429
+ /** The final response for long-running deleteDynamicPersonGroup operation */
1430
+ export interface DeleteDynamicPersonGroupLogicalResponse extends HttpResponse {
1431
+ status: "200";
1432
+ }
1433
+ /** A successful call returns the Dynamic Person Group's information. */
1434
+ export interface GetDynamicPersonGroup200Response extends HttpResponse {
1435
+ status: "200";
1436
+ body: DynamicPersonGroupOutput;
1437
+ }
1438
+ export interface GetDynamicPersonGroupDefaultHeaders {
1439
+ /** String error code indicating what went wrong. */
1440
+ "x-ms-error-code"?: string;
1441
+ }
1442
+ export interface GetDynamicPersonGroupDefaultResponse extends HttpResponse {
1443
+ status: string;
1444
+ body: FaceErrorResponseOutput;
1445
+ headers: RawHttpHeaders & GetDynamicPersonGroupDefaultHeaders;
1446
+ }
1447
+ export interface UpdateDynamicPersonGroupWithPersonChanges202Headers {
1448
+ "operation-location": string;
1449
+ }
1450
+ /** A successful call returns an empty response body. The service has accepted the request and will start processing soon. The client can query the operation status and result using the URL specified in the 'Operation-Location' response header. The URL expires in 48 hours. The URL provides the status of when Person Directory "Get Dynamic Person Group References" will return the changes made in this request. */
1451
+ export interface UpdateDynamicPersonGroupWithPersonChanges202Response extends HttpResponse {
1452
+ status: "202";
1453
+ headers: RawHttpHeaders & UpdateDynamicPersonGroupWithPersonChanges202Headers;
1454
+ }
1455
+ export interface UpdateDynamicPersonGroupWithPersonChangesDefaultHeaders {
1456
+ /** String error code indicating what went wrong. */
1457
+ "x-ms-error-code"?: string;
1458
+ }
1459
+ export interface UpdateDynamicPersonGroupWithPersonChangesDefaultResponse extends HttpResponse {
1460
+ status: string;
1461
+ body: FaceErrorResponseOutput;
1462
+ headers: RawHttpHeaders & UpdateDynamicPersonGroupWithPersonChangesDefaultHeaders;
1463
+ }
1464
+ /** The final response for long-running updateDynamicPersonGroupWithPersonChanges operation */
1465
+ export interface UpdateDynamicPersonGroupWithPersonChangesLogicalResponse extends HttpResponse {
1466
+ status: "200";
1467
+ }
1468
+ /** The request has succeeded. */
1469
+ export interface UpdateDynamicPersonGroup200Response extends HttpResponse {
1470
+ status: "200";
1471
+ }
1472
+ export interface UpdateDynamicPersonGroupDefaultHeaders {
1473
+ /** String error code indicating what went wrong. */
1474
+ "x-ms-error-code"?: string;
1475
+ }
1476
+ export interface UpdateDynamicPersonGroupDefaultResponse extends HttpResponse {
1477
+ status: string;
1478
+ body: FaceErrorResponseOutput;
1479
+ headers: RawHttpHeaders & UpdateDynamicPersonGroupDefaultHeaders;
1480
+ }
1481
+ /** A successful call returns an array of Dynamic Person Groups and their information (dynamicPersonGroupId, name and userData). */
1482
+ export interface GetDynamicPersonGroups200Response extends HttpResponse {
1483
+ status: "200";
1484
+ body: Array<DynamicPersonGroupOutput>;
1485
+ }
1486
+ export interface GetDynamicPersonGroupsDefaultHeaders {
1487
+ /** String error code indicating what went wrong. */
1488
+ "x-ms-error-code"?: string;
1489
+ }
1490
+ export interface GetDynamicPersonGroupsDefaultResponse extends HttpResponse {
1491
+ status: string;
1492
+ body: FaceErrorResponseOutput;
1493
+ headers: RawHttpHeaders & GetDynamicPersonGroupsDefaultHeaders;
1494
+ }
1495
+ /** A successful call returns an array of person information in the Person Directory. */
1496
+ export interface GetDynamicPersonGroupPersons200Response extends HttpResponse {
1497
+ status: "200";
1498
+ body: ListPersonResultOutput;
1499
+ }
1500
+ export interface GetDynamicPersonGroupPersonsDefaultHeaders {
1501
+ /** String error code indicating what went wrong. */
1502
+ "x-ms-error-code"?: string;
1503
+ }
1504
+ export interface GetDynamicPersonGroupPersonsDefaultResponse extends HttpResponse {
1505
+ status: string;
1506
+ body: FaceErrorResponseOutput;
1507
+ headers: RawHttpHeaders & GetDynamicPersonGroupPersonsDefaultHeaders;
1474
1508
  }
1475
1509
  //# sourceMappingURL=responses.d.ts.map