@azure-rest/ai-vision-face 1.0.0-alpha.20240827.1 → 1.0.0-alpha.20240829.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.
Files changed (81) hide show
  1. package/dist/browser/clientDefinitions.js +1 -1
  2. package/dist/browser/clientDefinitions.js.map +1 -1
  3. package/dist/browser/faceClient.js +1 -1
  4. package/dist/browser/faceClient.js.map +1 -1
  5. package/dist/browser/index.js +1 -1
  6. package/dist/browser/index.js.map +1 -1
  7. package/dist/browser/isUnexpected.js +1 -1
  8. package/dist/browser/isUnexpected.js.map +1 -1
  9. package/dist/browser/logger.js +1 -1
  10. package/dist/browser/logger.js.map +1 -1
  11. package/dist/browser/models.js +1 -1
  12. package/dist/browser/models.js.map +1 -1
  13. package/dist/browser/outputModels.js +1 -1
  14. package/dist/browser/outputModels.js.map +1 -1
  15. package/dist/browser/parameters.js +1 -1
  16. package/dist/browser/parameters.js.map +1 -1
  17. package/dist/browser/pollingHelper.js +1 -1
  18. package/dist/browser/pollingHelper.js.map +1 -1
  19. package/dist/browser/responses.js +1 -1
  20. package/dist/browser/responses.js.map +1 -1
  21. package/dist/commonjs/clientDefinitions.js +1 -1
  22. package/dist/commonjs/clientDefinitions.js.map +1 -1
  23. package/dist/commonjs/faceClient.js +1 -1
  24. package/dist/commonjs/faceClient.js.map +1 -1
  25. package/dist/commonjs/index.js +1 -1
  26. package/dist/commonjs/index.js.map +1 -1
  27. package/dist/commonjs/isUnexpected.js +1 -1
  28. package/dist/commonjs/isUnexpected.js.map +1 -1
  29. package/dist/commonjs/logger.js +1 -1
  30. package/dist/commonjs/logger.js.map +1 -1
  31. package/dist/commonjs/models.js +1 -1
  32. package/dist/commonjs/models.js.map +1 -1
  33. package/dist/commonjs/outputModels.js +1 -1
  34. package/dist/commonjs/outputModels.js.map +1 -1
  35. package/dist/commonjs/parameters.js +1 -1
  36. package/dist/commonjs/parameters.js.map +1 -1
  37. package/dist/commonjs/pollingHelper.js +1 -1
  38. package/dist/commonjs/pollingHelper.js.map +1 -1
  39. package/dist/commonjs/responses.js +1 -1
  40. package/dist/commonjs/responses.js.map +1 -1
  41. package/dist/esm/clientDefinitions.js +1 -1
  42. package/dist/esm/clientDefinitions.js.map +1 -1
  43. package/dist/esm/faceClient.js +1 -1
  44. package/dist/esm/faceClient.js.map +1 -1
  45. package/dist/esm/index.js +1 -1
  46. package/dist/esm/index.js.map +1 -1
  47. package/dist/esm/isUnexpected.js +1 -1
  48. package/dist/esm/isUnexpected.js.map +1 -1
  49. package/dist/esm/logger.js +1 -1
  50. package/dist/esm/logger.js.map +1 -1
  51. package/dist/esm/models.js +1 -1
  52. package/dist/esm/models.js.map +1 -1
  53. package/dist/esm/outputModels.js +1 -1
  54. package/dist/esm/outputModels.js.map +1 -1
  55. package/dist/esm/parameters.js +1 -1
  56. package/dist/esm/parameters.js.map +1 -1
  57. package/dist/esm/pollingHelper.js +1 -1
  58. package/dist/esm/pollingHelper.js.map +1 -1
  59. package/dist/esm/responses.js +1 -1
  60. package/dist/esm/responses.js.map +1 -1
  61. package/dist/react-native/clientDefinitions.js +1 -1
  62. package/dist/react-native/clientDefinitions.js.map +1 -1
  63. package/dist/react-native/faceClient.js +1 -1
  64. package/dist/react-native/faceClient.js.map +1 -1
  65. package/dist/react-native/index.js +1 -1
  66. package/dist/react-native/index.js.map +1 -1
  67. package/dist/react-native/isUnexpected.js +1 -1
  68. package/dist/react-native/isUnexpected.js.map +1 -1
  69. package/dist/react-native/logger.js +1 -1
  70. package/dist/react-native/logger.js.map +1 -1
  71. package/dist/react-native/models.js +1 -1
  72. package/dist/react-native/models.js.map +1 -1
  73. package/dist/react-native/outputModels.js +1 -1
  74. package/dist/react-native/outputModels.js.map +1 -1
  75. package/dist/react-native/parameters.js +1 -1
  76. package/dist/react-native/parameters.js.map +1 -1
  77. package/dist/react-native/pollingHelper.js +1 -1
  78. package/dist/react-native/pollingHelper.js.map +1 -1
  79. package/dist/react-native/responses.js +1 -1
  80. package/dist/react-native/responses.js.map +1 -1
  81. package/package.json +1 -1
@@ -1 +1 @@
1
- {"version":3,"file":"parameters.js","sourceRoot":"","sources":["../../src/parameters.ts"],"names":[],"mappings":";AAAA,uCAAuC;AACvC,kCAAkC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT license.\n\nimport { RequestParameters } from \"@azure-rest/core-client\";\nimport {\n DetectionModel,\n RecognitionModel,\n FaceAttributeType,\n FindSimilarMatchMode,\n CreateLivenessSessionContent,\n CreateLivenessWithVerifySessionContent,\n} from \"./models.js\";\n\nexport type GetOperationResultParameters = RequestParameters;\n\nexport interface DetectFromUrlBodyParam {\n body?: { url: string };\n}\n\nexport interface DetectFromUrlQueryParamProperties {\n /** The 'detectionModel' associated with the detected faceIds. Supported 'detectionModel' values include 'detection_01', 'detection_02' and 'detection_03'. The default value is 'detection_01'. */\n detectionModel?: DetectionModel;\n /** The 'recognitionModel' associated with the detected faceIds. Supported 'recognitionModel' values include 'recognition_01', 'recognition_02', 'recognition_03' or 'recognition_04'. The default value is 'recognition_01'. 'recognition_04' is recommended since its accuracy is improved on faces wearing masks compared with 'recognition_03', and its overall accuracy is improved compared with 'recognition_01' and 'recognition_02'. */\n recognitionModel?: RecognitionModel;\n /** Return faceIds of the detected faces or not. The default value is true. */\n returnFaceId?: boolean;\n /** Analyze and return the one or more specified face attributes in the comma-separated string like 'returnFaceAttributes=headPose,glasses'. Face attribute analysis has additional computational and time cost. */\n returnFaceAttributes?: FaceAttributeType[];\n /** Return face landmarks of the detected faces or not. The default value is false. */\n returnFaceLandmarks?: boolean;\n /** Return 'recognitionModel' or not. The default value is false. This is only applicable when returnFaceId = true. */\n returnRecognitionModel?: boolean;\n /** The number of seconds for the face ID being cached. Supported range from 60 seconds up to 86400 seconds. The default value is 86400 (24 hours). */\n faceIdTimeToLive?: number;\n}\n\nexport interface DetectFromUrlQueryParam {\n queryParameters?: DetectFromUrlQueryParamProperties;\n}\n\nexport interface DetectFromUrlMediaTypesParam {\n /** The format of the HTTP payload. */\n contentType: \"application/json\";\n}\n\nexport type DetectFromUrlParameters = DetectFromUrlQueryParam &\n DetectFromUrlMediaTypesParam &\n DetectFromUrlBodyParam &\n RequestParameters;\n\nexport interface DetectBodyParam {\n /**\n * The input image binary.\n *\n * Value may contain any sequence of octets\n */\n body: string | Uint8Array | ReadableStream<Uint8Array> | NodeJS.ReadableStream;\n}\n\nexport interface DetectQueryParamProperties {\n /** The 'detectionModel' associated with the detected faceIds. Supported 'detectionModel' values include 'detection_01', 'detection_02' and 'detection_03'. The default value is 'detection_01'. */\n detectionModel?: DetectionModel;\n /** The 'recognitionModel' associated with the detected faceIds. Supported 'recognitionModel' values include 'recognition_01', 'recognition_02', 'recognition_03' or 'recognition_04'. The default value is 'recognition_01'. 'recognition_04' is recommended since its accuracy is improved on faces wearing masks compared with 'recognition_03', and its overall accuracy is improved compared with 'recognition_01' and 'recognition_02'. */\n recognitionModel?: RecognitionModel;\n /** Return faceIds of the detected faces or not. The default value is true. */\n returnFaceId?: boolean;\n /** Analyze and return the one or more specified face attributes in the comma-separated string like 'returnFaceAttributes=headPose,glasses'. Face attribute analysis has additional computational and time cost. */\n returnFaceAttributes?: FaceAttributeType[];\n /** Return face landmarks of the detected faces or not. The default value is false. */\n returnFaceLandmarks?: boolean;\n /** Return 'recognitionModel' or not. The default value is false. This is only applicable when returnFaceId = true. */\n returnRecognitionModel?: boolean;\n /** The number of seconds for the face ID being cached. Supported range from 60 seconds up to 86400 seconds. The default value is 86400 (24 hours). */\n faceIdTimeToLive?: number;\n}\n\nexport interface DetectQueryParam {\n queryParameters?: DetectQueryParamProperties;\n}\n\nexport interface DetectMediaTypesParam {\n /** The format of the HTTP payload. */\n contentType: \"application/octet-stream\";\n}\n\nexport type DetectParameters = DetectQueryParam &\n DetectMediaTypesParam &\n DetectBodyParam &\n RequestParameters;\n\nexport interface FindSimilarBodyParam {\n body?: {\n faceId: string;\n maxNumOfCandidatesReturned?: number;\n mode?: FindSimilarMatchMode;\n faceIds: string[];\n };\n}\n\nexport type FindSimilarParameters = FindSimilarBodyParam & RequestParameters;\n\nexport interface FindSimilarFromFaceListBodyParam {\n body?: {\n faceId: string;\n maxNumOfCandidatesReturned?: number;\n mode?: FindSimilarMatchMode;\n faceListId: string;\n };\n}\n\nexport type FindSimilarFromFaceListParameters = FindSimilarFromFaceListBodyParam &\n RequestParameters;\n\nexport interface FindSimilarFromLargeFaceListBodyParam {\n body?: {\n faceId: string;\n maxNumOfCandidatesReturned?: number;\n mode?: FindSimilarMatchMode;\n largeFaceListId: string;\n };\n}\n\nexport type FindSimilarFromLargeFaceListParameters = FindSimilarFromLargeFaceListBodyParam &\n RequestParameters;\n\nexport interface IdentifyFromPersonGroupBodyParam {\n body?: {\n faceIds: string[];\n personGroupId: string;\n maxNumOfCandidatesReturned?: number;\n confidenceThreshold?: number;\n };\n}\n\nexport type IdentifyFromPersonGroupParameters = IdentifyFromPersonGroupBodyParam &\n RequestParameters;\n\nexport interface IdentifyFromLargePersonGroupBodyParam {\n body?: {\n faceIds: string[];\n largePersonGroupId: string;\n maxNumOfCandidatesReturned?: number;\n confidenceThreshold?: number;\n };\n}\n\nexport type IdentifyFromLargePersonGroupParameters = IdentifyFromLargePersonGroupBodyParam &\n RequestParameters;\n\nexport interface IdentifyFromPersonDirectoryBodyParam {\n body?: {\n faceIds: string[];\n personIds: string[];\n maxNumOfCandidatesReturned?: number;\n confidenceThreshold?: number;\n };\n}\n\nexport type IdentifyFromPersonDirectoryParameters = IdentifyFromPersonDirectoryBodyParam &\n RequestParameters;\n\nexport interface IdentifyFromDynamicPersonGroupBodyParam {\n body?: {\n faceIds: string[];\n dynamicPersonGroupId: string;\n maxNumOfCandidatesReturned?: number;\n confidenceThreshold?: number;\n };\n}\n\nexport type IdentifyFromDynamicPersonGroupParameters = IdentifyFromDynamicPersonGroupBodyParam &\n RequestParameters;\n\nexport interface VerifyFaceToFaceBodyParam {\n body?: { faceId1: string; faceId2: string };\n}\n\nexport type VerifyFaceToFaceParameters = VerifyFaceToFaceBodyParam & RequestParameters;\n\nexport interface VerifyFromPersonGroupBodyParam {\n body?: { faceId: string; personGroupId: string; personId: string };\n}\n\nexport type VerifyFromPersonGroupParameters = VerifyFromPersonGroupBodyParam & RequestParameters;\n\nexport interface VerifyFromLargePersonGroupBodyParam {\n body?: { faceId: string; largePersonGroupId: string; personId: string };\n}\n\nexport type VerifyFromLargePersonGroupParameters = VerifyFromLargePersonGroupBodyParam &\n RequestParameters;\n\nexport interface VerifyFromPersonDirectoryBodyParam {\n body?: { faceId: string; personId: string };\n}\n\nexport type VerifyFromPersonDirectoryParameters = VerifyFromPersonDirectoryBodyParam &\n RequestParameters;\n\nexport interface GroupBodyParam {\n body?: { faceIds: string[] };\n}\n\nexport type GroupParameters = GroupBodyParam & RequestParameters;\n\nexport interface CreateLivenessSessionBodyParam {\n body?: CreateLivenessSessionContent;\n}\n\nexport type CreateLivenessSessionParameters = CreateLivenessSessionBodyParam & RequestParameters;\nexport type DeleteLivenessSessionParameters = RequestParameters;\nexport type GetLivenessSessionResultParameters = RequestParameters;\n\nexport interface GetLivenessSessionsQueryParamProperties {\n /** List resources greater than the \"start\". It contains no more than 64 characters. Default is empty. */\n start?: string;\n /** The number of items to list, ranging in [1, 1000]. Default is 1000. */\n top?: number;\n}\n\nexport interface GetLivenessSessionsQueryParam {\n queryParameters?: GetLivenessSessionsQueryParamProperties;\n}\n\nexport type GetLivenessSessionsParameters = GetLivenessSessionsQueryParam & RequestParameters;\n\nexport interface GetLivenessSessionAuditEntriesQueryParamProperties {\n /** List resources greater than the \"start\". It contains no more than 64 characters. Default is empty. */\n start?: string;\n /** The number of items to list, ranging in [1, 1000]. Default is 1000. */\n top?: number;\n}\n\nexport interface GetLivenessSessionAuditEntriesQueryParam {\n queryParameters?: GetLivenessSessionAuditEntriesQueryParamProperties;\n}\n\nexport type GetLivenessSessionAuditEntriesParameters = GetLivenessSessionAuditEntriesQueryParam &\n RequestParameters;\n\nexport interface CreateLivenessWithVerifySessionWithVerifyImageBodyParam {\n body?: CreateLivenessWithVerifySessionContent;\n}\n\nexport interface CreateLivenessWithVerifySessionWithVerifyImageMediaTypesParam {\n /** The content type for the operation. Always multipart/form-data for this operation. */\n contentType: \"multipart/form-data\";\n}\n\nexport type CreateLivenessWithVerifySessionWithVerifyImageParameters =\n CreateLivenessWithVerifySessionWithVerifyImageMediaTypesParam &\n CreateLivenessWithVerifySessionWithVerifyImageBodyParam &\n RequestParameters;\n\nexport interface CreateLivenessWithVerifySessionBodyParam {\n body?: CreateLivenessSessionContent;\n}\n\nexport type CreateLivenessWithVerifySessionParameters = CreateLivenessWithVerifySessionBodyParam &\n RequestParameters;\nexport type DeleteLivenessWithVerifySessionParameters = RequestParameters;\nexport type GetLivenessWithVerifySessionResultParameters = RequestParameters;\n\nexport interface GetLivenessWithVerifySessionsQueryParamProperties {\n /** List resources greater than the \"start\". It contains no more than 64 characters. Default is empty. */\n start?: string;\n /** The number of items to list, ranging in [1, 1000]. Default is 1000. */\n top?: number;\n}\n\nexport interface GetLivenessWithVerifySessionsQueryParam {\n queryParameters?: GetLivenessWithVerifySessionsQueryParamProperties;\n}\n\nexport type GetLivenessWithVerifySessionsParameters = GetLivenessWithVerifySessionsQueryParam &\n RequestParameters;\n\nexport interface GetLivenessWithVerifySessionAuditEntriesQueryParamProperties {\n /** List resources greater than the \"start\". It contains no more than 64 characters. Default is empty. */\n start?: string;\n /** The number of items to list, ranging in [1, 1000]. Default is 1000. */\n top?: number;\n}\n\nexport interface GetLivenessWithVerifySessionAuditEntriesQueryParam {\n queryParameters?: GetLivenessWithVerifySessionAuditEntriesQueryParamProperties;\n}\n\nexport type GetLivenessWithVerifySessionAuditEntriesParameters =\n GetLivenessWithVerifySessionAuditEntriesQueryParam & RequestParameters;\n\nexport interface CreateFaceListBodyParam {\n body?: {\n name: string;\n userData?: string;\n recognitionModel?: RecognitionModel;\n };\n}\n\nexport type CreateFaceListParameters = CreateFaceListBodyParam & RequestParameters;\nexport type DeleteFaceListParameters = RequestParameters;\n\nexport interface GetFaceListQueryParamProperties {\n /** Return 'recognitionModel' or not. The default value is false. */\n returnRecognitionModel?: boolean;\n}\n\nexport interface GetFaceListQueryParam {\n queryParameters?: GetFaceListQueryParamProperties;\n}\n\nexport type GetFaceListParameters = GetFaceListQueryParam & RequestParameters;\n\nexport interface UpdateFaceListBodyParam {\n body?: { name?: string; userData?: string };\n}\n\nexport type UpdateFaceListParameters = UpdateFaceListBodyParam & RequestParameters;\n\nexport interface GetFaceListsQueryParamProperties {\n /** Return 'recognitionModel' or not. The default value is false. */\n returnRecognitionModel?: boolean;\n}\n\nexport interface GetFaceListsQueryParam {\n queryParameters?: GetFaceListsQueryParamProperties;\n}\n\nexport type GetFaceListsParameters = GetFaceListsQueryParam & RequestParameters;\n\nexport interface AddFaceListFaceFromUrlBodyParam {\n body?: { url: string };\n}\n\nexport interface AddFaceListFaceFromUrlQueryParamProperties {\n /** A face rectangle to specify the target face to be added to a person, in the format of 'targetFace=left,top,width,height'. */\n targetFace?: number[];\n /** The 'detectionModel' associated with the detected faceIds. Supported 'detectionModel' values include 'detection_01', 'detection_02' and 'detection_03'. The default value is 'detection_01'. */\n detectionModel?: DetectionModel;\n /** User-provided data attached to the face. The size limit is 1K. */\n userData?: string;\n}\n\nexport interface AddFaceListFaceFromUrlQueryParam {\n queryParameters?: AddFaceListFaceFromUrlQueryParamProperties;\n}\n\nexport type AddFaceListFaceFromUrlParameters = AddFaceListFaceFromUrlQueryParam &\n AddFaceListFaceFromUrlBodyParam &\n RequestParameters;\n\nexport interface AddFaceListFaceBodyParam {\n /**\n * The image to be analyzed\n *\n * Value may contain any sequence of octets\n */\n body: string | Uint8Array | ReadableStream<Uint8Array> | NodeJS.ReadableStream;\n}\n\nexport interface AddFaceListFaceQueryParamProperties {\n /** A face rectangle to specify the target face to be added to a person, in the format of 'targetFace=left,top,width,height'. */\n targetFace?: number[];\n /** The 'detectionModel' associated with the detected faceIds. Supported 'detectionModel' values include 'detection_01', 'detection_02' and 'detection_03'. The default value is 'detection_01'. */\n detectionModel?: DetectionModel;\n /** User-provided data attached to the face. The size limit is 1K. */\n userData?: string;\n}\n\nexport interface AddFaceListFaceQueryParam {\n queryParameters?: AddFaceListFaceQueryParamProperties;\n}\n\nexport interface AddFaceListFaceMediaTypesParam {\n /** The format of the HTTP payload. */\n contentType: \"application/octet-stream\";\n}\n\nexport type AddFaceListFaceParameters = AddFaceListFaceQueryParam &\n AddFaceListFaceMediaTypesParam &\n AddFaceListFaceBodyParam &\n RequestParameters;\nexport type DeleteFaceListFaceParameters = RequestParameters;\n\nexport interface CreateLargeFaceListBodyParam {\n body?: {\n name: string;\n userData?: string;\n recognitionModel?: RecognitionModel;\n };\n}\n\nexport type CreateLargeFaceListParameters = CreateLargeFaceListBodyParam & RequestParameters;\nexport type DeleteLargeFaceListParameters = RequestParameters;\n\nexport interface GetLargeFaceListQueryParamProperties {\n /** Return 'recognitionModel' or not. The default value is false. */\n returnRecognitionModel?: boolean;\n}\n\nexport interface GetLargeFaceListQueryParam {\n queryParameters?: GetLargeFaceListQueryParamProperties;\n}\n\nexport type GetLargeFaceListParameters = GetLargeFaceListQueryParam & RequestParameters;\n\nexport interface UpdateLargeFaceListBodyParam {\n body?: { name?: string; userData?: string };\n}\n\nexport type UpdateLargeFaceListParameters = UpdateLargeFaceListBodyParam & RequestParameters;\n\nexport interface GetLargeFaceListsQueryParamProperties {\n /** List resources greater than the \"start\". It contains no more than 64 characters. Default is empty. */\n start?: string;\n /** The number of items to list, ranging in [1, 1000]. Default is 1000. */\n top?: number;\n /** Return 'recognitionModel' or not. The default value is false. */\n returnRecognitionModel?: boolean;\n}\n\nexport interface GetLargeFaceListsQueryParam {\n queryParameters?: GetLargeFaceListsQueryParamProperties;\n}\n\nexport type GetLargeFaceListsParameters = GetLargeFaceListsQueryParam & RequestParameters;\nexport type GetLargeFaceListTrainingStatusParameters = RequestParameters;\nexport type TrainLargeFaceListParameters = RequestParameters;\n\nexport interface AddLargeFaceListFaceFromUrlBodyParam {\n body?: { url: string };\n}\n\nexport interface AddLargeFaceListFaceFromUrlQueryParamProperties {\n /** A face rectangle to specify the target face to be added to a person, in the format of 'targetFace=left,top,width,height'. */\n targetFace?: number[];\n /** The 'detectionModel' associated with the detected faceIds. Supported 'detectionModel' values include 'detection_01', 'detection_02' and 'detection_03'. The default value is 'detection_01'. */\n detectionModel?: DetectionModel;\n /** User-provided data attached to the face. The size limit is 1K. */\n userData?: string;\n}\n\nexport interface AddLargeFaceListFaceFromUrlQueryParam {\n queryParameters?: AddLargeFaceListFaceFromUrlQueryParamProperties;\n}\n\nexport type AddLargeFaceListFaceFromUrlParameters = AddLargeFaceListFaceFromUrlQueryParam &\n AddLargeFaceListFaceFromUrlBodyParam &\n RequestParameters;\n\nexport interface AddLargeFaceListFaceBodyParam {\n /**\n * The image to be analyzed\n *\n * Value may contain any sequence of octets\n */\n body: string | Uint8Array | ReadableStream<Uint8Array> | NodeJS.ReadableStream;\n}\n\nexport interface AddLargeFaceListFaceQueryParamProperties {\n /** A face rectangle to specify the target face to be added to a person, in the format of 'targetFace=left,top,width,height'. */\n targetFace?: number[];\n /** The 'detectionModel' associated with the detected faceIds. Supported 'detectionModel' values include 'detection_01', 'detection_02' and 'detection_03'. The default value is 'detection_01'. */\n detectionModel?: DetectionModel;\n /** User-provided data attached to the face. The size limit is 1K. */\n userData?: string;\n}\n\nexport interface AddLargeFaceListFaceQueryParam {\n queryParameters?: AddLargeFaceListFaceQueryParamProperties;\n}\n\nexport interface AddLargeFaceListFaceMediaTypesParam {\n /** The format of the HTTP payload. */\n contentType: \"application/octet-stream\";\n}\n\nexport type AddLargeFaceListFaceParameters = AddLargeFaceListFaceQueryParam &\n AddLargeFaceListFaceMediaTypesParam &\n AddLargeFaceListFaceBodyParam &\n RequestParameters;\nexport type DeleteLargeFaceListFaceParameters = RequestParameters;\nexport type GetLargeFaceListFaceParameters = RequestParameters;\n\nexport interface UpdateLargeFaceListFaceBodyParam {\n body?: { userData?: string };\n}\n\nexport type UpdateLargeFaceListFaceParameters = UpdateLargeFaceListFaceBodyParam &\n RequestParameters;\n\nexport interface GetLargeFaceListFacesQueryParamProperties {\n /** List resources greater than the \"start\". It contains no more than 64 characters. Default is empty. */\n start?: string;\n /** The number of items to list, ranging in [1, 1000]. Default is 1000. */\n top?: number;\n}\n\nexport interface GetLargeFaceListFacesQueryParam {\n queryParameters?: GetLargeFaceListFacesQueryParamProperties;\n}\n\nexport type GetLargeFaceListFacesParameters = GetLargeFaceListFacesQueryParam & RequestParameters;\n\nexport interface CreatePersonBodyParam {\n body?: { name: string; userData?: string };\n}\n\nexport type CreatePersonParameters = CreatePersonBodyParam & RequestParameters;\nexport type DeletePersonParameters = RequestParameters;\nexport type GetPersonParameters = RequestParameters;\n\nexport interface UpdatePersonBodyParam {\n body?: { name?: string; userData?: string };\n}\n\nexport type UpdatePersonParameters = UpdatePersonBodyParam & RequestParameters;\n\nexport interface GetPersonsQueryParamProperties {\n /** List resources greater than the \"start\". It contains no more than 64 characters. Default is empty. */\n start?: string;\n /** The number of items to list, ranging in [1, 1000]. Default is 1000. */\n top?: number;\n}\n\nexport interface GetPersonsQueryParam {\n queryParameters?: GetPersonsQueryParamProperties;\n}\n\nexport type GetPersonsParameters = GetPersonsQueryParam & RequestParameters;\n\nexport interface GetDynamicPersonGroupReferencesQueryParamProperties {\n /** List resources greater than the \"start\". It contains no more than 64 characters. Default is empty. */\n start?: string;\n /** The number of items to list, ranging in [1, 1000]. Default is 1000. */\n top?: number;\n}\n\nexport interface GetDynamicPersonGroupReferencesQueryParam {\n queryParameters?: GetDynamicPersonGroupReferencesQueryParamProperties;\n}\n\nexport type GetDynamicPersonGroupReferencesParameters = GetDynamicPersonGroupReferencesQueryParam &\n RequestParameters;\n\nexport interface AddPersonFaceBodyParam {\n /**\n * The image to be analyzed\n *\n * Value may contain any sequence of octets\n */\n body: string | Uint8Array | ReadableStream<Uint8Array> | NodeJS.ReadableStream;\n}\n\nexport interface AddPersonFaceQueryParamProperties {\n /** A face rectangle to specify the target face to be added to a person, in the format of 'targetFace=left,top,width,height'. */\n targetFace?: number[];\n /** The 'detectionModel' associated with the detected faceIds. Supported 'detectionModel' values include 'detection_01', 'detection_02' and 'detection_03'. The default value is 'detection_01'. */\n detectionModel?: DetectionModel;\n /** User-provided data attached to the face. The size limit is 1K. */\n userData?: string;\n}\n\nexport interface AddPersonFaceQueryParam {\n queryParameters?: AddPersonFaceQueryParamProperties;\n}\n\nexport interface AddPersonFaceMediaTypesParam {\n /** The format of the HTTP payload. */\n contentType: \"application/octet-stream\";\n}\n\nexport type AddPersonFaceParameters = AddPersonFaceQueryParam &\n AddPersonFaceMediaTypesParam &\n AddPersonFaceBodyParam &\n RequestParameters;\n\nexport interface AddPersonFaceFromUrlBodyParam {\n body?: { url: string };\n}\n\nexport interface AddPersonFaceFromUrlQueryParamProperties {\n /** A face rectangle to specify the target face to be added to a person, in the format of 'targetFace=left,top,width,height'. */\n targetFace?: number[];\n /** The 'detectionModel' associated with the detected faceIds. Supported 'detectionModel' values include 'detection_01', 'detection_02' and 'detection_03'. The default value is 'detection_01'. */\n detectionModel?: DetectionModel;\n /** User-provided data attached to the face. The size limit is 1K. */\n userData?: string;\n}\n\nexport interface AddPersonFaceFromUrlQueryParam {\n queryParameters?: AddPersonFaceFromUrlQueryParamProperties;\n}\n\nexport type AddPersonFaceFromUrlParameters = AddPersonFaceFromUrlQueryParam &\n AddPersonFaceFromUrlBodyParam &\n RequestParameters;\nexport type DeletePersonFaceParameters = RequestParameters;\nexport type GetPersonFaceParameters = RequestParameters;\n\nexport interface UpdatePersonFaceBodyParam {\n body?: { userData?: string };\n}\n\nexport type UpdatePersonFaceParameters = UpdatePersonFaceBodyParam & RequestParameters;\nexport type GetPersonFacesParameters = RequestParameters;\n\nexport interface CreateDynamicPersonGroupWithPersonBodyParam {\n body?: { name: string; userData?: string; addPersonIds: string[] };\n}\n\nexport type CreateDynamicPersonGroupWithPersonParameters =\n CreateDynamicPersonGroupWithPersonBodyParam & RequestParameters;\n\nexport interface CreateDynamicPersonGroupBodyParam {\n body?: { name: string; userData?: string };\n}\n\nexport type CreateDynamicPersonGroupParameters = CreateDynamicPersonGroupBodyParam &\n RequestParameters;\nexport type DeleteDynamicPersonGroupParameters = RequestParameters;\nexport type GetDynamicPersonGroupParameters = RequestParameters;\n\nexport interface UpdateDynamicPersonGroupWithPersonChangesBodyParam {\n body?: {\n name?: string;\n userData?: string;\n addPersonIds?: string[];\n removePersonIds?: string[];\n };\n}\n\nexport type UpdateDynamicPersonGroupWithPersonChangesParameters =\n UpdateDynamicPersonGroupWithPersonChangesBodyParam & RequestParameters;\n\nexport interface UpdateDynamicPersonGroupBodyParam {\n body?: { name?: string; userData?: string };\n}\n\nexport type UpdateDynamicPersonGroupParameters = UpdateDynamicPersonGroupBodyParam &\n RequestParameters;\n\nexport interface GetDynamicPersonGroupsQueryParamProperties {\n /** List resources greater than the \"start\". It contains no more than 64 characters. Default is empty. */\n start?: string;\n /** The number of items to list, ranging in [1, 1000]. Default is 1000. */\n top?: number;\n}\n\nexport interface GetDynamicPersonGroupsQueryParam {\n queryParameters?: GetDynamicPersonGroupsQueryParamProperties;\n}\n\nexport type GetDynamicPersonGroupsParameters = GetDynamicPersonGroupsQueryParam & RequestParameters;\n\nexport interface GetDynamicPersonGroupPersonsQueryParamProperties {\n /** List resources greater than the \"start\". It contains no more than 64 characters. Default is empty. */\n start?: string;\n /** The number of items to list, ranging in [1, 1000]. Default is 1000. */\n top?: number;\n}\n\nexport interface GetDynamicPersonGroupPersonsQueryParam {\n queryParameters?: GetDynamicPersonGroupPersonsQueryParamProperties;\n}\n\nexport type GetDynamicPersonGroupPersonsParameters = GetDynamicPersonGroupPersonsQueryParam &\n RequestParameters;\n\nexport interface CreatePersonGroupBodyParam {\n body?: {\n name: string;\n userData?: string;\n recognitionModel?: RecognitionModel;\n };\n}\n\nexport type CreatePersonGroupParameters = CreatePersonGroupBodyParam & RequestParameters;\nexport type DeletePersonGroupParameters = RequestParameters;\n\nexport interface GetPersonGroupQueryParamProperties {\n /** Return 'recognitionModel' or not. The default value is false. */\n returnRecognitionModel?: boolean;\n}\n\nexport interface GetPersonGroupQueryParam {\n queryParameters?: GetPersonGroupQueryParamProperties;\n}\n\nexport type GetPersonGroupParameters = GetPersonGroupQueryParam & RequestParameters;\n\nexport interface UpdatePersonGroupBodyParam {\n body?: { name?: string; userData?: string };\n}\n\nexport type UpdatePersonGroupParameters = UpdatePersonGroupBodyParam & RequestParameters;\n\nexport interface GetPersonGroupsQueryParamProperties {\n /** List resources greater than the \"start\". It contains no more than 64 characters. Default is empty. */\n start?: string;\n /** The number of items to list, ranging in [1, 1000]. Default is 1000. */\n top?: number;\n /** Return 'recognitionModel' or not. The default value is false. */\n returnRecognitionModel?: boolean;\n}\n\nexport interface GetPersonGroupsQueryParam {\n queryParameters?: GetPersonGroupsQueryParamProperties;\n}\n\nexport type GetPersonGroupsParameters = GetPersonGroupsQueryParam & RequestParameters;\nexport type GetPersonGroupTrainingStatusParameters = RequestParameters;\nexport type TrainPersonGroupParameters = RequestParameters;\n\nexport interface CreatePersonGroupPersonBodyParam {\n body?: { name: string; userData?: string };\n}\n\nexport type CreatePersonGroupPersonParameters = CreatePersonGroupPersonBodyParam &\n RequestParameters;\nexport type DeletePersonGroupPersonParameters = RequestParameters;\nexport type GetPersonGroupPersonParameters = RequestParameters;\n\nexport interface UpdatePersonGroupPersonBodyParam {\n body?: { name?: string; userData?: string };\n}\n\nexport type UpdatePersonGroupPersonParameters = UpdatePersonGroupPersonBodyParam &\n RequestParameters;\n\nexport interface GetPersonGroupPersonsQueryParamProperties {\n /** List resources greater than the \"start\". It contains no more than 64 characters. Default is empty. */\n start?: string;\n /** The number of items to list, ranging in [1, 1000]. Default is 1000. */\n top?: number;\n}\n\nexport interface GetPersonGroupPersonsQueryParam {\n queryParameters?: GetPersonGroupPersonsQueryParamProperties;\n}\n\nexport type GetPersonGroupPersonsParameters = GetPersonGroupPersonsQueryParam & RequestParameters;\n\nexport interface AddPersonGroupPersonFaceFromUrlBodyParam {\n body?: { url: string };\n}\n\nexport interface AddPersonGroupPersonFaceFromUrlQueryParamProperties {\n /** A face rectangle to specify the target face to be added to a person, in the format of 'targetFace=left,top,width,height'. */\n targetFace?: number[];\n /** The 'detectionModel' associated with the detected faceIds. Supported 'detectionModel' values include 'detection_01', 'detection_02' and 'detection_03'. The default value is 'detection_01'. */\n detectionModel?: DetectionModel;\n /** User-provided data attached to the face. The size limit is 1K. */\n userData?: string;\n}\n\nexport interface AddPersonGroupPersonFaceFromUrlQueryParam {\n queryParameters?: AddPersonGroupPersonFaceFromUrlQueryParamProperties;\n}\n\nexport type AddPersonGroupPersonFaceFromUrlParameters = AddPersonGroupPersonFaceFromUrlQueryParam &\n AddPersonGroupPersonFaceFromUrlBodyParam &\n RequestParameters;\n\nexport interface AddPersonGroupPersonFaceBodyParam {\n /**\n * The image to be analyzed\n *\n * Value may contain any sequence of octets\n */\n body: string | Uint8Array | ReadableStream<Uint8Array> | NodeJS.ReadableStream;\n}\n\nexport interface AddPersonGroupPersonFaceQueryParamProperties {\n /** A face rectangle to specify the target face to be added to a person, in the format of 'targetFace=left,top,width,height'. */\n targetFace?: number[];\n /** The 'detectionModel' associated with the detected faceIds. Supported 'detectionModel' values include 'detection_01', 'detection_02' and 'detection_03'. The default value is 'detection_01'. */\n detectionModel?: DetectionModel;\n /** User-provided data attached to the face. The size limit is 1K. */\n userData?: string;\n}\n\nexport interface AddPersonGroupPersonFaceQueryParam {\n queryParameters?: AddPersonGroupPersonFaceQueryParamProperties;\n}\n\nexport interface AddPersonGroupPersonFaceMediaTypesParam {\n /** The format of the HTTP payload. */\n contentType: \"application/octet-stream\";\n}\n\nexport type AddPersonGroupPersonFaceParameters = AddPersonGroupPersonFaceQueryParam &\n AddPersonGroupPersonFaceMediaTypesParam &\n AddPersonGroupPersonFaceBodyParam &\n RequestParameters;\nexport type DeletePersonGroupPersonFaceParameters = RequestParameters;\nexport type GetPersonGroupPersonFaceParameters = RequestParameters;\n\nexport interface UpdatePersonGroupPersonFaceBodyParam {\n body?: { userData?: string };\n}\n\nexport type UpdatePersonGroupPersonFaceParameters = UpdatePersonGroupPersonFaceBodyParam &\n RequestParameters;\n\nexport interface CreateLargePersonGroupBodyParam {\n body?: {\n name: string;\n userData?: string;\n recognitionModel?: RecognitionModel;\n };\n}\n\nexport type CreateLargePersonGroupParameters = CreateLargePersonGroupBodyParam & RequestParameters;\nexport type DeleteLargePersonGroupParameters = RequestParameters;\n\nexport interface GetLargePersonGroupQueryParamProperties {\n /** Return 'recognitionModel' or not. The default value is false. */\n returnRecognitionModel?: boolean;\n}\n\nexport interface GetLargePersonGroupQueryParam {\n queryParameters?: GetLargePersonGroupQueryParamProperties;\n}\n\nexport type GetLargePersonGroupParameters = GetLargePersonGroupQueryParam & RequestParameters;\n\nexport interface UpdateLargePersonGroupBodyParam {\n body?: { name?: string; userData?: string };\n}\n\nexport type UpdateLargePersonGroupParameters = UpdateLargePersonGroupBodyParam & RequestParameters;\n\nexport interface GetLargePersonGroupsQueryParamProperties {\n /** List resources greater than the \"start\". It contains no more than 64 characters. Default is empty. */\n start?: string;\n /** The number of items to list, ranging in [1, 1000]. Default is 1000. */\n top?: number;\n /** Return 'recognitionModel' or not. The default value is false. */\n returnRecognitionModel?: boolean;\n}\n\nexport interface GetLargePersonGroupsQueryParam {\n queryParameters?: GetLargePersonGroupsQueryParamProperties;\n}\n\nexport type GetLargePersonGroupsParameters = GetLargePersonGroupsQueryParam & RequestParameters;\nexport type GetLargePersonGroupTrainingStatusParameters = RequestParameters;\nexport type TrainLargePersonGroupParameters = RequestParameters;\n\nexport interface CreateLargePersonGroupPersonBodyParam {\n body?: { name: string; userData?: string };\n}\n\nexport type CreateLargePersonGroupPersonParameters = CreateLargePersonGroupPersonBodyParam &\n RequestParameters;\nexport type DeleteLargePersonGroupPersonParameters = RequestParameters;\nexport type GetLargePersonGroupPersonParameters = RequestParameters;\n\nexport interface UpdateLargePersonGroupPersonBodyParam {\n body?: { name?: string; userData?: string };\n}\n\nexport type UpdateLargePersonGroupPersonParameters = UpdateLargePersonGroupPersonBodyParam &\n RequestParameters;\n\nexport interface GetLargePersonGroupPersonsQueryParamProperties {\n /** List resources greater than the \"start\". It contains no more than 64 characters. Default is empty. */\n start?: string;\n /** The number of items to list, ranging in [1, 1000]. Default is 1000. */\n top?: number;\n}\n\nexport interface GetLargePersonGroupPersonsQueryParam {\n queryParameters?: GetLargePersonGroupPersonsQueryParamProperties;\n}\n\nexport type GetLargePersonGroupPersonsParameters = GetLargePersonGroupPersonsQueryParam &\n RequestParameters;\n\nexport interface AddLargePersonGroupPersonFaceFromUrlBodyParam {\n body?: { url: string };\n}\n\nexport interface AddLargePersonGroupPersonFaceFromUrlQueryParamProperties {\n /** A face rectangle to specify the target face to be added to a person, in the format of 'targetFace=left,top,width,height'. */\n targetFace?: number[];\n /** The 'detectionModel' associated with the detected faceIds. Supported 'detectionModel' values include 'detection_01', 'detection_02' and 'detection_03'. The default value is 'detection_01'. */\n detectionModel?: DetectionModel;\n /** User-provided data attached to the face. The size limit is 1K. */\n userData?: string;\n}\n\nexport interface AddLargePersonGroupPersonFaceFromUrlQueryParam {\n queryParameters?: AddLargePersonGroupPersonFaceFromUrlQueryParamProperties;\n}\n\nexport type AddLargePersonGroupPersonFaceFromUrlParameters =\n AddLargePersonGroupPersonFaceFromUrlQueryParam &\n AddLargePersonGroupPersonFaceFromUrlBodyParam &\n RequestParameters;\n\nexport interface AddLargePersonGroupPersonFaceBodyParam {\n /**\n * The image to be analyzed\n *\n * Value may contain any sequence of octets\n */\n body: string | Uint8Array | ReadableStream<Uint8Array> | NodeJS.ReadableStream;\n}\n\nexport interface AddLargePersonGroupPersonFaceQueryParamProperties {\n /** A face rectangle to specify the target face to be added to a person, in the format of 'targetFace=left,top,width,height'. */\n targetFace?: number[];\n /** The 'detectionModel' associated with the detected faceIds. Supported 'detectionModel' values include 'detection_01', 'detection_02' and 'detection_03'. The default value is 'detection_01'. */\n detectionModel?: DetectionModel;\n /** User-provided data attached to the face. The size limit is 1K. */\n userData?: string;\n}\n\nexport interface AddLargePersonGroupPersonFaceQueryParam {\n queryParameters?: AddLargePersonGroupPersonFaceQueryParamProperties;\n}\n\nexport interface AddLargePersonGroupPersonFaceMediaTypesParam {\n /** The format of the HTTP payload. */\n contentType: \"application/octet-stream\";\n}\n\nexport type AddLargePersonGroupPersonFaceParameters = AddLargePersonGroupPersonFaceQueryParam &\n AddLargePersonGroupPersonFaceMediaTypesParam &\n AddLargePersonGroupPersonFaceBodyParam &\n RequestParameters;\nexport type DeleteLargePersonGroupPersonFaceParameters = RequestParameters;\nexport type GetLargePersonGroupPersonFaceParameters = RequestParameters;\n\nexport interface UpdateLargePersonGroupPersonFaceBodyParam {\n body?: { userData?: string };\n}\n\nexport type UpdateLargePersonGroupPersonFaceParameters = UpdateLargePersonGroupPersonFaceBodyParam &\n RequestParameters;\n"]}
1
+ {"version":3,"file":"parameters.js","sourceRoot":"","sources":["../../src/parameters.ts"],"names":[],"mappings":";AAAA,uCAAuC;AACvC,kCAAkC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport { RequestParameters } from \"@azure-rest/core-client\";\nimport {\n DetectionModel,\n RecognitionModel,\n FaceAttributeType,\n FindSimilarMatchMode,\n CreateLivenessSessionContent,\n CreateLivenessWithVerifySessionContent,\n} from \"./models.js\";\n\nexport type GetOperationResultParameters = RequestParameters;\n\nexport interface DetectFromUrlBodyParam {\n body?: { url: string };\n}\n\nexport interface DetectFromUrlQueryParamProperties {\n /** The 'detectionModel' associated with the detected faceIds. Supported 'detectionModel' values include 'detection_01', 'detection_02' and 'detection_03'. The default value is 'detection_01'. */\n detectionModel?: DetectionModel;\n /** The 'recognitionModel' associated with the detected faceIds. Supported 'recognitionModel' values include 'recognition_01', 'recognition_02', 'recognition_03' or 'recognition_04'. The default value is 'recognition_01'. 'recognition_04' is recommended since its accuracy is improved on faces wearing masks compared with 'recognition_03', and its overall accuracy is improved compared with 'recognition_01' and 'recognition_02'. */\n recognitionModel?: RecognitionModel;\n /** Return faceIds of the detected faces or not. The default value is true. */\n returnFaceId?: boolean;\n /** Analyze and return the one or more specified face attributes in the comma-separated string like 'returnFaceAttributes=headPose,glasses'. Face attribute analysis has additional computational and time cost. */\n returnFaceAttributes?: FaceAttributeType[];\n /** Return face landmarks of the detected faces or not. The default value is false. */\n returnFaceLandmarks?: boolean;\n /** Return 'recognitionModel' or not. The default value is false. This is only applicable when returnFaceId = true. */\n returnRecognitionModel?: boolean;\n /** The number of seconds for the face ID being cached. Supported range from 60 seconds up to 86400 seconds. The default value is 86400 (24 hours). */\n faceIdTimeToLive?: number;\n}\n\nexport interface DetectFromUrlQueryParam {\n queryParameters?: DetectFromUrlQueryParamProperties;\n}\n\nexport interface DetectFromUrlMediaTypesParam {\n /** The format of the HTTP payload. */\n contentType: \"application/json\";\n}\n\nexport type DetectFromUrlParameters = DetectFromUrlQueryParam &\n DetectFromUrlMediaTypesParam &\n DetectFromUrlBodyParam &\n RequestParameters;\n\nexport interface DetectBodyParam {\n /**\n * The input image binary.\n *\n * Value may contain any sequence of octets\n */\n body: string | Uint8Array | ReadableStream<Uint8Array> | NodeJS.ReadableStream;\n}\n\nexport interface DetectQueryParamProperties {\n /** The 'detectionModel' associated with the detected faceIds. Supported 'detectionModel' values include 'detection_01', 'detection_02' and 'detection_03'. The default value is 'detection_01'. */\n detectionModel?: DetectionModel;\n /** The 'recognitionModel' associated with the detected faceIds. Supported 'recognitionModel' values include 'recognition_01', 'recognition_02', 'recognition_03' or 'recognition_04'. The default value is 'recognition_01'. 'recognition_04' is recommended since its accuracy is improved on faces wearing masks compared with 'recognition_03', and its overall accuracy is improved compared with 'recognition_01' and 'recognition_02'. */\n recognitionModel?: RecognitionModel;\n /** Return faceIds of the detected faces or not. The default value is true. */\n returnFaceId?: boolean;\n /** Analyze and return the one or more specified face attributes in the comma-separated string like 'returnFaceAttributes=headPose,glasses'. Face attribute analysis has additional computational and time cost. */\n returnFaceAttributes?: FaceAttributeType[];\n /** Return face landmarks of the detected faces or not. The default value is false. */\n returnFaceLandmarks?: boolean;\n /** Return 'recognitionModel' or not. The default value is false. This is only applicable when returnFaceId = true. */\n returnRecognitionModel?: boolean;\n /** The number of seconds for the face ID being cached. Supported range from 60 seconds up to 86400 seconds. The default value is 86400 (24 hours). */\n faceIdTimeToLive?: number;\n}\n\nexport interface DetectQueryParam {\n queryParameters?: DetectQueryParamProperties;\n}\n\nexport interface DetectMediaTypesParam {\n /** The format of the HTTP payload. */\n contentType: \"application/octet-stream\";\n}\n\nexport type DetectParameters = DetectQueryParam &\n DetectMediaTypesParam &\n DetectBodyParam &\n RequestParameters;\n\nexport interface FindSimilarBodyParam {\n body?: {\n faceId: string;\n maxNumOfCandidatesReturned?: number;\n mode?: FindSimilarMatchMode;\n faceIds: string[];\n };\n}\n\nexport type FindSimilarParameters = FindSimilarBodyParam & RequestParameters;\n\nexport interface FindSimilarFromFaceListBodyParam {\n body?: {\n faceId: string;\n maxNumOfCandidatesReturned?: number;\n mode?: FindSimilarMatchMode;\n faceListId: string;\n };\n}\n\nexport type FindSimilarFromFaceListParameters = FindSimilarFromFaceListBodyParam &\n RequestParameters;\n\nexport interface FindSimilarFromLargeFaceListBodyParam {\n body?: {\n faceId: string;\n maxNumOfCandidatesReturned?: number;\n mode?: FindSimilarMatchMode;\n largeFaceListId: string;\n };\n}\n\nexport type FindSimilarFromLargeFaceListParameters = FindSimilarFromLargeFaceListBodyParam &\n RequestParameters;\n\nexport interface IdentifyFromPersonGroupBodyParam {\n body?: {\n faceIds: string[];\n personGroupId: string;\n maxNumOfCandidatesReturned?: number;\n confidenceThreshold?: number;\n };\n}\n\nexport type IdentifyFromPersonGroupParameters = IdentifyFromPersonGroupBodyParam &\n RequestParameters;\n\nexport interface IdentifyFromLargePersonGroupBodyParam {\n body?: {\n faceIds: string[];\n largePersonGroupId: string;\n maxNumOfCandidatesReturned?: number;\n confidenceThreshold?: number;\n };\n}\n\nexport type IdentifyFromLargePersonGroupParameters = IdentifyFromLargePersonGroupBodyParam &\n RequestParameters;\n\nexport interface IdentifyFromPersonDirectoryBodyParam {\n body?: {\n faceIds: string[];\n personIds: string[];\n maxNumOfCandidatesReturned?: number;\n confidenceThreshold?: number;\n };\n}\n\nexport type IdentifyFromPersonDirectoryParameters = IdentifyFromPersonDirectoryBodyParam &\n RequestParameters;\n\nexport interface IdentifyFromDynamicPersonGroupBodyParam {\n body?: {\n faceIds: string[];\n dynamicPersonGroupId: string;\n maxNumOfCandidatesReturned?: number;\n confidenceThreshold?: number;\n };\n}\n\nexport type IdentifyFromDynamicPersonGroupParameters = IdentifyFromDynamicPersonGroupBodyParam &\n RequestParameters;\n\nexport interface VerifyFaceToFaceBodyParam {\n body?: { faceId1: string; faceId2: string };\n}\n\nexport type VerifyFaceToFaceParameters = VerifyFaceToFaceBodyParam & RequestParameters;\n\nexport interface VerifyFromPersonGroupBodyParam {\n body?: { faceId: string; personGroupId: string; personId: string };\n}\n\nexport type VerifyFromPersonGroupParameters = VerifyFromPersonGroupBodyParam & RequestParameters;\n\nexport interface VerifyFromLargePersonGroupBodyParam {\n body?: { faceId: string; largePersonGroupId: string; personId: string };\n}\n\nexport type VerifyFromLargePersonGroupParameters = VerifyFromLargePersonGroupBodyParam &\n RequestParameters;\n\nexport interface VerifyFromPersonDirectoryBodyParam {\n body?: { faceId: string; personId: string };\n}\n\nexport type VerifyFromPersonDirectoryParameters = VerifyFromPersonDirectoryBodyParam &\n RequestParameters;\n\nexport interface GroupBodyParam {\n body?: { faceIds: string[] };\n}\n\nexport type GroupParameters = GroupBodyParam & RequestParameters;\n\nexport interface CreateLivenessSessionBodyParam {\n body?: CreateLivenessSessionContent;\n}\n\nexport type CreateLivenessSessionParameters = CreateLivenessSessionBodyParam & RequestParameters;\nexport type DeleteLivenessSessionParameters = RequestParameters;\nexport type GetLivenessSessionResultParameters = RequestParameters;\n\nexport interface GetLivenessSessionsQueryParamProperties {\n /** List resources greater than the \"start\". It contains no more than 64 characters. Default is empty. */\n start?: string;\n /** The number of items to list, ranging in [1, 1000]. Default is 1000. */\n top?: number;\n}\n\nexport interface GetLivenessSessionsQueryParam {\n queryParameters?: GetLivenessSessionsQueryParamProperties;\n}\n\nexport type GetLivenessSessionsParameters = GetLivenessSessionsQueryParam & RequestParameters;\n\nexport interface GetLivenessSessionAuditEntriesQueryParamProperties {\n /** List resources greater than the \"start\". It contains no more than 64 characters. Default is empty. */\n start?: string;\n /** The number of items to list, ranging in [1, 1000]. Default is 1000. */\n top?: number;\n}\n\nexport interface GetLivenessSessionAuditEntriesQueryParam {\n queryParameters?: GetLivenessSessionAuditEntriesQueryParamProperties;\n}\n\nexport type GetLivenessSessionAuditEntriesParameters = GetLivenessSessionAuditEntriesQueryParam &\n RequestParameters;\n\nexport interface CreateLivenessWithVerifySessionWithVerifyImageBodyParam {\n body?: CreateLivenessWithVerifySessionContent;\n}\n\nexport interface CreateLivenessWithVerifySessionWithVerifyImageMediaTypesParam {\n /** The content type for the operation. Always multipart/form-data for this operation. */\n contentType: \"multipart/form-data\";\n}\n\nexport type CreateLivenessWithVerifySessionWithVerifyImageParameters =\n CreateLivenessWithVerifySessionWithVerifyImageMediaTypesParam &\n CreateLivenessWithVerifySessionWithVerifyImageBodyParam &\n RequestParameters;\n\nexport interface CreateLivenessWithVerifySessionBodyParam {\n body?: CreateLivenessSessionContent;\n}\n\nexport type CreateLivenessWithVerifySessionParameters = CreateLivenessWithVerifySessionBodyParam &\n RequestParameters;\nexport type DeleteLivenessWithVerifySessionParameters = RequestParameters;\nexport type GetLivenessWithVerifySessionResultParameters = RequestParameters;\n\nexport interface GetLivenessWithVerifySessionsQueryParamProperties {\n /** List resources greater than the \"start\". It contains no more than 64 characters. Default is empty. */\n start?: string;\n /** The number of items to list, ranging in [1, 1000]. Default is 1000. */\n top?: number;\n}\n\nexport interface GetLivenessWithVerifySessionsQueryParam {\n queryParameters?: GetLivenessWithVerifySessionsQueryParamProperties;\n}\n\nexport type GetLivenessWithVerifySessionsParameters = GetLivenessWithVerifySessionsQueryParam &\n RequestParameters;\n\nexport interface GetLivenessWithVerifySessionAuditEntriesQueryParamProperties {\n /** List resources greater than the \"start\". It contains no more than 64 characters. Default is empty. */\n start?: string;\n /** The number of items to list, ranging in [1, 1000]. Default is 1000. */\n top?: number;\n}\n\nexport interface GetLivenessWithVerifySessionAuditEntriesQueryParam {\n queryParameters?: GetLivenessWithVerifySessionAuditEntriesQueryParamProperties;\n}\n\nexport type GetLivenessWithVerifySessionAuditEntriesParameters =\n GetLivenessWithVerifySessionAuditEntriesQueryParam & RequestParameters;\n\nexport interface CreateFaceListBodyParam {\n body?: {\n name: string;\n userData?: string;\n recognitionModel?: RecognitionModel;\n };\n}\n\nexport type CreateFaceListParameters = CreateFaceListBodyParam & RequestParameters;\nexport type DeleteFaceListParameters = RequestParameters;\n\nexport interface GetFaceListQueryParamProperties {\n /** Return 'recognitionModel' or not. The default value is false. */\n returnRecognitionModel?: boolean;\n}\n\nexport interface GetFaceListQueryParam {\n queryParameters?: GetFaceListQueryParamProperties;\n}\n\nexport type GetFaceListParameters = GetFaceListQueryParam & RequestParameters;\n\nexport interface UpdateFaceListBodyParam {\n body?: { name?: string; userData?: string };\n}\n\nexport type UpdateFaceListParameters = UpdateFaceListBodyParam & RequestParameters;\n\nexport interface GetFaceListsQueryParamProperties {\n /** Return 'recognitionModel' or not. The default value is false. */\n returnRecognitionModel?: boolean;\n}\n\nexport interface GetFaceListsQueryParam {\n queryParameters?: GetFaceListsQueryParamProperties;\n}\n\nexport type GetFaceListsParameters = GetFaceListsQueryParam & RequestParameters;\n\nexport interface AddFaceListFaceFromUrlBodyParam {\n body?: { url: string };\n}\n\nexport interface AddFaceListFaceFromUrlQueryParamProperties {\n /** A face rectangle to specify the target face to be added to a person, in the format of 'targetFace=left,top,width,height'. */\n targetFace?: number[];\n /** The 'detectionModel' associated with the detected faceIds. Supported 'detectionModel' values include 'detection_01', 'detection_02' and 'detection_03'. The default value is 'detection_01'. */\n detectionModel?: DetectionModel;\n /** User-provided data attached to the face. The size limit is 1K. */\n userData?: string;\n}\n\nexport interface AddFaceListFaceFromUrlQueryParam {\n queryParameters?: AddFaceListFaceFromUrlQueryParamProperties;\n}\n\nexport type AddFaceListFaceFromUrlParameters = AddFaceListFaceFromUrlQueryParam &\n AddFaceListFaceFromUrlBodyParam &\n RequestParameters;\n\nexport interface AddFaceListFaceBodyParam {\n /**\n * The image to be analyzed\n *\n * Value may contain any sequence of octets\n */\n body: string | Uint8Array | ReadableStream<Uint8Array> | NodeJS.ReadableStream;\n}\n\nexport interface AddFaceListFaceQueryParamProperties {\n /** A face rectangle to specify the target face to be added to a person, in the format of 'targetFace=left,top,width,height'. */\n targetFace?: number[];\n /** The 'detectionModel' associated with the detected faceIds. Supported 'detectionModel' values include 'detection_01', 'detection_02' and 'detection_03'. The default value is 'detection_01'. */\n detectionModel?: DetectionModel;\n /** User-provided data attached to the face. The size limit is 1K. */\n userData?: string;\n}\n\nexport interface AddFaceListFaceQueryParam {\n queryParameters?: AddFaceListFaceQueryParamProperties;\n}\n\nexport interface AddFaceListFaceMediaTypesParam {\n /** The format of the HTTP payload. */\n contentType: \"application/octet-stream\";\n}\n\nexport type AddFaceListFaceParameters = AddFaceListFaceQueryParam &\n AddFaceListFaceMediaTypesParam &\n AddFaceListFaceBodyParam &\n RequestParameters;\nexport type DeleteFaceListFaceParameters = RequestParameters;\n\nexport interface CreateLargeFaceListBodyParam {\n body?: {\n name: string;\n userData?: string;\n recognitionModel?: RecognitionModel;\n };\n}\n\nexport type CreateLargeFaceListParameters = CreateLargeFaceListBodyParam & RequestParameters;\nexport type DeleteLargeFaceListParameters = RequestParameters;\n\nexport interface GetLargeFaceListQueryParamProperties {\n /** Return 'recognitionModel' or not. The default value is false. */\n returnRecognitionModel?: boolean;\n}\n\nexport interface GetLargeFaceListQueryParam {\n queryParameters?: GetLargeFaceListQueryParamProperties;\n}\n\nexport type GetLargeFaceListParameters = GetLargeFaceListQueryParam & RequestParameters;\n\nexport interface UpdateLargeFaceListBodyParam {\n body?: { name?: string; userData?: string };\n}\n\nexport type UpdateLargeFaceListParameters = UpdateLargeFaceListBodyParam & RequestParameters;\n\nexport interface GetLargeFaceListsQueryParamProperties {\n /** List resources greater than the \"start\". It contains no more than 64 characters. Default is empty. */\n start?: string;\n /** The number of items to list, ranging in [1, 1000]. Default is 1000. */\n top?: number;\n /** Return 'recognitionModel' or not. The default value is false. */\n returnRecognitionModel?: boolean;\n}\n\nexport interface GetLargeFaceListsQueryParam {\n queryParameters?: GetLargeFaceListsQueryParamProperties;\n}\n\nexport type GetLargeFaceListsParameters = GetLargeFaceListsQueryParam & RequestParameters;\nexport type GetLargeFaceListTrainingStatusParameters = RequestParameters;\nexport type TrainLargeFaceListParameters = RequestParameters;\n\nexport interface AddLargeFaceListFaceFromUrlBodyParam {\n body?: { url: string };\n}\n\nexport interface AddLargeFaceListFaceFromUrlQueryParamProperties {\n /** A face rectangle to specify the target face to be added to a person, in the format of 'targetFace=left,top,width,height'. */\n targetFace?: number[];\n /** The 'detectionModel' associated with the detected faceIds. Supported 'detectionModel' values include 'detection_01', 'detection_02' and 'detection_03'. The default value is 'detection_01'. */\n detectionModel?: DetectionModel;\n /** User-provided data attached to the face. The size limit is 1K. */\n userData?: string;\n}\n\nexport interface AddLargeFaceListFaceFromUrlQueryParam {\n queryParameters?: AddLargeFaceListFaceFromUrlQueryParamProperties;\n}\n\nexport type AddLargeFaceListFaceFromUrlParameters = AddLargeFaceListFaceFromUrlQueryParam &\n AddLargeFaceListFaceFromUrlBodyParam &\n RequestParameters;\n\nexport interface AddLargeFaceListFaceBodyParam {\n /**\n * The image to be analyzed\n *\n * Value may contain any sequence of octets\n */\n body: string | Uint8Array | ReadableStream<Uint8Array> | NodeJS.ReadableStream;\n}\n\nexport interface AddLargeFaceListFaceQueryParamProperties {\n /** A face rectangle to specify the target face to be added to a person, in the format of 'targetFace=left,top,width,height'. */\n targetFace?: number[];\n /** The 'detectionModel' associated with the detected faceIds. Supported 'detectionModel' values include 'detection_01', 'detection_02' and 'detection_03'. The default value is 'detection_01'. */\n detectionModel?: DetectionModel;\n /** User-provided data attached to the face. The size limit is 1K. */\n userData?: string;\n}\n\nexport interface AddLargeFaceListFaceQueryParam {\n queryParameters?: AddLargeFaceListFaceQueryParamProperties;\n}\n\nexport interface AddLargeFaceListFaceMediaTypesParam {\n /** The format of the HTTP payload. */\n contentType: \"application/octet-stream\";\n}\n\nexport type AddLargeFaceListFaceParameters = AddLargeFaceListFaceQueryParam &\n AddLargeFaceListFaceMediaTypesParam &\n AddLargeFaceListFaceBodyParam &\n RequestParameters;\nexport type DeleteLargeFaceListFaceParameters = RequestParameters;\nexport type GetLargeFaceListFaceParameters = RequestParameters;\n\nexport interface UpdateLargeFaceListFaceBodyParam {\n body?: { userData?: string };\n}\n\nexport type UpdateLargeFaceListFaceParameters = UpdateLargeFaceListFaceBodyParam &\n RequestParameters;\n\nexport interface GetLargeFaceListFacesQueryParamProperties {\n /** List resources greater than the \"start\". It contains no more than 64 characters. Default is empty. */\n start?: string;\n /** The number of items to list, ranging in [1, 1000]. Default is 1000. */\n top?: number;\n}\n\nexport interface GetLargeFaceListFacesQueryParam {\n queryParameters?: GetLargeFaceListFacesQueryParamProperties;\n}\n\nexport type GetLargeFaceListFacesParameters = GetLargeFaceListFacesQueryParam & RequestParameters;\n\nexport interface CreatePersonBodyParam {\n body?: { name: string; userData?: string };\n}\n\nexport type CreatePersonParameters = CreatePersonBodyParam & RequestParameters;\nexport type DeletePersonParameters = RequestParameters;\nexport type GetPersonParameters = RequestParameters;\n\nexport interface UpdatePersonBodyParam {\n body?: { name?: string; userData?: string };\n}\n\nexport type UpdatePersonParameters = UpdatePersonBodyParam & RequestParameters;\n\nexport interface GetPersonsQueryParamProperties {\n /** List resources greater than the \"start\". It contains no more than 64 characters. Default is empty. */\n start?: string;\n /** The number of items to list, ranging in [1, 1000]. Default is 1000. */\n top?: number;\n}\n\nexport interface GetPersonsQueryParam {\n queryParameters?: GetPersonsQueryParamProperties;\n}\n\nexport type GetPersonsParameters = GetPersonsQueryParam & RequestParameters;\n\nexport interface GetDynamicPersonGroupReferencesQueryParamProperties {\n /** List resources greater than the \"start\". It contains no more than 64 characters. Default is empty. */\n start?: string;\n /** The number of items to list, ranging in [1, 1000]. Default is 1000. */\n top?: number;\n}\n\nexport interface GetDynamicPersonGroupReferencesQueryParam {\n queryParameters?: GetDynamicPersonGroupReferencesQueryParamProperties;\n}\n\nexport type GetDynamicPersonGroupReferencesParameters = GetDynamicPersonGroupReferencesQueryParam &\n RequestParameters;\n\nexport interface AddPersonFaceBodyParam {\n /**\n * The image to be analyzed\n *\n * Value may contain any sequence of octets\n */\n body: string | Uint8Array | ReadableStream<Uint8Array> | NodeJS.ReadableStream;\n}\n\nexport interface AddPersonFaceQueryParamProperties {\n /** A face rectangle to specify the target face to be added to a person, in the format of 'targetFace=left,top,width,height'. */\n targetFace?: number[];\n /** The 'detectionModel' associated with the detected faceIds. Supported 'detectionModel' values include 'detection_01', 'detection_02' and 'detection_03'. The default value is 'detection_01'. */\n detectionModel?: DetectionModel;\n /** User-provided data attached to the face. The size limit is 1K. */\n userData?: string;\n}\n\nexport interface AddPersonFaceQueryParam {\n queryParameters?: AddPersonFaceQueryParamProperties;\n}\n\nexport interface AddPersonFaceMediaTypesParam {\n /** The format of the HTTP payload. */\n contentType: \"application/octet-stream\";\n}\n\nexport type AddPersonFaceParameters = AddPersonFaceQueryParam &\n AddPersonFaceMediaTypesParam &\n AddPersonFaceBodyParam &\n RequestParameters;\n\nexport interface AddPersonFaceFromUrlBodyParam {\n body?: { url: string };\n}\n\nexport interface AddPersonFaceFromUrlQueryParamProperties {\n /** A face rectangle to specify the target face to be added to a person, in the format of 'targetFace=left,top,width,height'. */\n targetFace?: number[];\n /** The 'detectionModel' associated with the detected faceIds. Supported 'detectionModel' values include 'detection_01', 'detection_02' and 'detection_03'. The default value is 'detection_01'. */\n detectionModel?: DetectionModel;\n /** User-provided data attached to the face. The size limit is 1K. */\n userData?: string;\n}\n\nexport interface AddPersonFaceFromUrlQueryParam {\n queryParameters?: AddPersonFaceFromUrlQueryParamProperties;\n}\n\nexport type AddPersonFaceFromUrlParameters = AddPersonFaceFromUrlQueryParam &\n AddPersonFaceFromUrlBodyParam &\n RequestParameters;\nexport type DeletePersonFaceParameters = RequestParameters;\nexport type GetPersonFaceParameters = RequestParameters;\n\nexport interface UpdatePersonFaceBodyParam {\n body?: { userData?: string };\n}\n\nexport type UpdatePersonFaceParameters = UpdatePersonFaceBodyParam & RequestParameters;\nexport type GetPersonFacesParameters = RequestParameters;\n\nexport interface CreateDynamicPersonGroupWithPersonBodyParam {\n body?: { name: string; userData?: string; addPersonIds: string[] };\n}\n\nexport type CreateDynamicPersonGroupWithPersonParameters =\n CreateDynamicPersonGroupWithPersonBodyParam & RequestParameters;\n\nexport interface CreateDynamicPersonGroupBodyParam {\n body?: { name: string; userData?: string };\n}\n\nexport type CreateDynamicPersonGroupParameters = CreateDynamicPersonGroupBodyParam &\n RequestParameters;\nexport type DeleteDynamicPersonGroupParameters = RequestParameters;\nexport type GetDynamicPersonGroupParameters = RequestParameters;\n\nexport interface UpdateDynamicPersonGroupWithPersonChangesBodyParam {\n body?: {\n name?: string;\n userData?: string;\n addPersonIds?: string[];\n removePersonIds?: string[];\n };\n}\n\nexport type UpdateDynamicPersonGroupWithPersonChangesParameters =\n UpdateDynamicPersonGroupWithPersonChangesBodyParam & RequestParameters;\n\nexport interface UpdateDynamicPersonGroupBodyParam {\n body?: { name?: string; userData?: string };\n}\n\nexport type UpdateDynamicPersonGroupParameters = UpdateDynamicPersonGroupBodyParam &\n RequestParameters;\n\nexport interface GetDynamicPersonGroupsQueryParamProperties {\n /** List resources greater than the \"start\". It contains no more than 64 characters. Default is empty. */\n start?: string;\n /** The number of items to list, ranging in [1, 1000]. Default is 1000. */\n top?: number;\n}\n\nexport interface GetDynamicPersonGroupsQueryParam {\n queryParameters?: GetDynamicPersonGroupsQueryParamProperties;\n}\n\nexport type GetDynamicPersonGroupsParameters = GetDynamicPersonGroupsQueryParam & RequestParameters;\n\nexport interface GetDynamicPersonGroupPersonsQueryParamProperties {\n /** List resources greater than the \"start\". It contains no more than 64 characters. Default is empty. */\n start?: string;\n /** The number of items to list, ranging in [1, 1000]. Default is 1000. */\n top?: number;\n}\n\nexport interface GetDynamicPersonGroupPersonsQueryParam {\n queryParameters?: GetDynamicPersonGroupPersonsQueryParamProperties;\n}\n\nexport type GetDynamicPersonGroupPersonsParameters = GetDynamicPersonGroupPersonsQueryParam &\n RequestParameters;\n\nexport interface CreatePersonGroupBodyParam {\n body?: {\n name: string;\n userData?: string;\n recognitionModel?: RecognitionModel;\n };\n}\n\nexport type CreatePersonGroupParameters = CreatePersonGroupBodyParam & RequestParameters;\nexport type DeletePersonGroupParameters = RequestParameters;\n\nexport interface GetPersonGroupQueryParamProperties {\n /** Return 'recognitionModel' or not. The default value is false. */\n returnRecognitionModel?: boolean;\n}\n\nexport interface GetPersonGroupQueryParam {\n queryParameters?: GetPersonGroupQueryParamProperties;\n}\n\nexport type GetPersonGroupParameters = GetPersonGroupQueryParam & RequestParameters;\n\nexport interface UpdatePersonGroupBodyParam {\n body?: { name?: string; userData?: string };\n}\n\nexport type UpdatePersonGroupParameters = UpdatePersonGroupBodyParam & RequestParameters;\n\nexport interface GetPersonGroupsQueryParamProperties {\n /** List resources greater than the \"start\". It contains no more than 64 characters. Default is empty. */\n start?: string;\n /** The number of items to list, ranging in [1, 1000]. Default is 1000. */\n top?: number;\n /** Return 'recognitionModel' or not. The default value is false. */\n returnRecognitionModel?: boolean;\n}\n\nexport interface GetPersonGroupsQueryParam {\n queryParameters?: GetPersonGroupsQueryParamProperties;\n}\n\nexport type GetPersonGroupsParameters = GetPersonGroupsQueryParam & RequestParameters;\nexport type GetPersonGroupTrainingStatusParameters = RequestParameters;\nexport type TrainPersonGroupParameters = RequestParameters;\n\nexport interface CreatePersonGroupPersonBodyParam {\n body?: { name: string; userData?: string };\n}\n\nexport type CreatePersonGroupPersonParameters = CreatePersonGroupPersonBodyParam &\n RequestParameters;\nexport type DeletePersonGroupPersonParameters = RequestParameters;\nexport type GetPersonGroupPersonParameters = RequestParameters;\n\nexport interface UpdatePersonGroupPersonBodyParam {\n body?: { name?: string; userData?: string };\n}\n\nexport type UpdatePersonGroupPersonParameters = UpdatePersonGroupPersonBodyParam &\n RequestParameters;\n\nexport interface GetPersonGroupPersonsQueryParamProperties {\n /** List resources greater than the \"start\". It contains no more than 64 characters. Default is empty. */\n start?: string;\n /** The number of items to list, ranging in [1, 1000]. Default is 1000. */\n top?: number;\n}\n\nexport interface GetPersonGroupPersonsQueryParam {\n queryParameters?: GetPersonGroupPersonsQueryParamProperties;\n}\n\nexport type GetPersonGroupPersonsParameters = GetPersonGroupPersonsQueryParam & RequestParameters;\n\nexport interface AddPersonGroupPersonFaceFromUrlBodyParam {\n body?: { url: string };\n}\n\nexport interface AddPersonGroupPersonFaceFromUrlQueryParamProperties {\n /** A face rectangle to specify the target face to be added to a person, in the format of 'targetFace=left,top,width,height'. */\n targetFace?: number[];\n /** The 'detectionModel' associated with the detected faceIds. Supported 'detectionModel' values include 'detection_01', 'detection_02' and 'detection_03'. The default value is 'detection_01'. */\n detectionModel?: DetectionModel;\n /** User-provided data attached to the face. The size limit is 1K. */\n userData?: string;\n}\n\nexport interface AddPersonGroupPersonFaceFromUrlQueryParam {\n queryParameters?: AddPersonGroupPersonFaceFromUrlQueryParamProperties;\n}\n\nexport type AddPersonGroupPersonFaceFromUrlParameters = AddPersonGroupPersonFaceFromUrlQueryParam &\n AddPersonGroupPersonFaceFromUrlBodyParam &\n RequestParameters;\n\nexport interface AddPersonGroupPersonFaceBodyParam {\n /**\n * The image to be analyzed\n *\n * Value may contain any sequence of octets\n */\n body: string | Uint8Array | ReadableStream<Uint8Array> | NodeJS.ReadableStream;\n}\n\nexport interface AddPersonGroupPersonFaceQueryParamProperties {\n /** A face rectangle to specify the target face to be added to a person, in the format of 'targetFace=left,top,width,height'. */\n targetFace?: number[];\n /** The 'detectionModel' associated with the detected faceIds. Supported 'detectionModel' values include 'detection_01', 'detection_02' and 'detection_03'. The default value is 'detection_01'. */\n detectionModel?: DetectionModel;\n /** User-provided data attached to the face. The size limit is 1K. */\n userData?: string;\n}\n\nexport interface AddPersonGroupPersonFaceQueryParam {\n queryParameters?: AddPersonGroupPersonFaceQueryParamProperties;\n}\n\nexport interface AddPersonGroupPersonFaceMediaTypesParam {\n /** The format of the HTTP payload. */\n contentType: \"application/octet-stream\";\n}\n\nexport type AddPersonGroupPersonFaceParameters = AddPersonGroupPersonFaceQueryParam &\n AddPersonGroupPersonFaceMediaTypesParam &\n AddPersonGroupPersonFaceBodyParam &\n RequestParameters;\nexport type DeletePersonGroupPersonFaceParameters = RequestParameters;\nexport type GetPersonGroupPersonFaceParameters = RequestParameters;\n\nexport interface UpdatePersonGroupPersonFaceBodyParam {\n body?: { userData?: string };\n}\n\nexport type UpdatePersonGroupPersonFaceParameters = UpdatePersonGroupPersonFaceBodyParam &\n RequestParameters;\n\nexport interface CreateLargePersonGroupBodyParam {\n body?: {\n name: string;\n userData?: string;\n recognitionModel?: RecognitionModel;\n };\n}\n\nexport type CreateLargePersonGroupParameters = CreateLargePersonGroupBodyParam & RequestParameters;\nexport type DeleteLargePersonGroupParameters = RequestParameters;\n\nexport interface GetLargePersonGroupQueryParamProperties {\n /** Return 'recognitionModel' or not. The default value is false. */\n returnRecognitionModel?: boolean;\n}\n\nexport interface GetLargePersonGroupQueryParam {\n queryParameters?: GetLargePersonGroupQueryParamProperties;\n}\n\nexport type GetLargePersonGroupParameters = GetLargePersonGroupQueryParam & RequestParameters;\n\nexport interface UpdateLargePersonGroupBodyParam {\n body?: { name?: string; userData?: string };\n}\n\nexport type UpdateLargePersonGroupParameters = UpdateLargePersonGroupBodyParam & RequestParameters;\n\nexport interface GetLargePersonGroupsQueryParamProperties {\n /** List resources greater than the \"start\". It contains no more than 64 characters. Default is empty. */\n start?: string;\n /** The number of items to list, ranging in [1, 1000]. Default is 1000. */\n top?: number;\n /** Return 'recognitionModel' or not. The default value is false. */\n returnRecognitionModel?: boolean;\n}\n\nexport interface GetLargePersonGroupsQueryParam {\n queryParameters?: GetLargePersonGroupsQueryParamProperties;\n}\n\nexport type GetLargePersonGroupsParameters = GetLargePersonGroupsQueryParam & RequestParameters;\nexport type GetLargePersonGroupTrainingStatusParameters = RequestParameters;\nexport type TrainLargePersonGroupParameters = RequestParameters;\n\nexport interface CreateLargePersonGroupPersonBodyParam {\n body?: { name: string; userData?: string };\n}\n\nexport type CreateLargePersonGroupPersonParameters = CreateLargePersonGroupPersonBodyParam &\n RequestParameters;\nexport type DeleteLargePersonGroupPersonParameters = RequestParameters;\nexport type GetLargePersonGroupPersonParameters = RequestParameters;\n\nexport interface UpdateLargePersonGroupPersonBodyParam {\n body?: { name?: string; userData?: string };\n}\n\nexport type UpdateLargePersonGroupPersonParameters = UpdateLargePersonGroupPersonBodyParam &\n RequestParameters;\n\nexport interface GetLargePersonGroupPersonsQueryParamProperties {\n /** List resources greater than the \"start\". It contains no more than 64 characters. Default is empty. */\n start?: string;\n /** The number of items to list, ranging in [1, 1000]. Default is 1000. */\n top?: number;\n}\n\nexport interface GetLargePersonGroupPersonsQueryParam {\n queryParameters?: GetLargePersonGroupPersonsQueryParamProperties;\n}\n\nexport type GetLargePersonGroupPersonsParameters = GetLargePersonGroupPersonsQueryParam &\n RequestParameters;\n\nexport interface AddLargePersonGroupPersonFaceFromUrlBodyParam {\n body?: { url: string };\n}\n\nexport interface AddLargePersonGroupPersonFaceFromUrlQueryParamProperties {\n /** A face rectangle to specify the target face to be added to a person, in the format of 'targetFace=left,top,width,height'. */\n targetFace?: number[];\n /** The 'detectionModel' associated with the detected faceIds. Supported 'detectionModel' values include 'detection_01', 'detection_02' and 'detection_03'. The default value is 'detection_01'. */\n detectionModel?: DetectionModel;\n /** User-provided data attached to the face. The size limit is 1K. */\n userData?: string;\n}\n\nexport interface AddLargePersonGroupPersonFaceFromUrlQueryParam {\n queryParameters?: AddLargePersonGroupPersonFaceFromUrlQueryParamProperties;\n}\n\nexport type AddLargePersonGroupPersonFaceFromUrlParameters =\n AddLargePersonGroupPersonFaceFromUrlQueryParam &\n AddLargePersonGroupPersonFaceFromUrlBodyParam &\n RequestParameters;\n\nexport interface AddLargePersonGroupPersonFaceBodyParam {\n /**\n * The image to be analyzed\n *\n * Value may contain any sequence of octets\n */\n body: string | Uint8Array | ReadableStream<Uint8Array> | NodeJS.ReadableStream;\n}\n\nexport interface AddLargePersonGroupPersonFaceQueryParamProperties {\n /** A face rectangle to specify the target face to be added to a person, in the format of 'targetFace=left,top,width,height'. */\n targetFace?: number[];\n /** The 'detectionModel' associated with the detected faceIds. Supported 'detectionModel' values include 'detection_01', 'detection_02' and 'detection_03'. The default value is 'detection_01'. */\n detectionModel?: DetectionModel;\n /** User-provided data attached to the face. The size limit is 1K. */\n userData?: string;\n}\n\nexport interface AddLargePersonGroupPersonFaceQueryParam {\n queryParameters?: AddLargePersonGroupPersonFaceQueryParamProperties;\n}\n\nexport interface AddLargePersonGroupPersonFaceMediaTypesParam {\n /** The format of the HTTP payload. */\n contentType: \"application/octet-stream\";\n}\n\nexport type AddLargePersonGroupPersonFaceParameters = AddLargePersonGroupPersonFaceQueryParam &\n AddLargePersonGroupPersonFaceMediaTypesParam &\n AddLargePersonGroupPersonFaceBodyParam &\n RequestParameters;\nexport type DeleteLargePersonGroupPersonFaceParameters = RequestParameters;\nexport type GetLargePersonGroupPersonFaceParameters = RequestParameters;\n\nexport interface UpdateLargePersonGroupPersonFaceBodyParam {\n body?: { userData?: string };\n}\n\nexport type UpdateLargePersonGroupPersonFaceParameters = UpdateLargePersonGroupPersonFaceBodyParam &\n RequestParameters;\n"]}
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  // Copyright (c) Microsoft Corporation.
3
- // Licensed under the MIT license.
3
+ // Licensed under the MIT License.
4
4
  Object.defineProperty(exports, "__esModule", { value: true });
5
5
  exports.getLongRunningPoller = getLongRunningPoller;
6
6
  const core_lro_1 = require("@azure/core-lro");
@@ -1 +1 @@
1
- {"version":3,"file":"pollingHelper.js","sourceRoot":"","sources":["../../src/pollingHelper.ts"],"names":[],"mappings":";AAAA,uCAAuC;AACvC,kCAAkC;;AAkMlC,oDAoFC;AAlRD,8CAOyB;AAuLlB,KAAK,UAAU,oBAAoB,CACxC,MAAc,EACd,eAAwB,EACxB,UAAqE,EAAE;;IAEvE,MAAM,eAAe,GAAG,IAAI,eAAe,EAAE,CAAC;IAC9C,MAAM,MAAM,GAAkC;QAC5C,kBAAkB,EAAE,KAAK,IAAI,EAAE;YAC7B,sGAAsG;YACtG,2FAA2F;YAC3F,6BAA6B;YAC7B,OAAO,cAAc,CAAC,eAAe,CAAC,CAAC;QACzC,CAAC;QACD,eAAe,EAAE,KAAK,EAAE,IAAI,EAAE,sBAA0D,EAAE,EAAE;YAC1F,sEAAsE;YACtE,4EAA4E;YAC5E,0JAA0J;YAC1J,+GAA+G;YAC/G,SAAS,aAAa;gBACpB,eAAe,CAAC,KAAK,EAAE,CAAC;YAC1B,CAAC;YACD,MAAM,gBAAgB,GAAG,sBAAsB,aAAtB,sBAAsB,uBAAtB,sBAAsB,CAAE,WAAW,CAAC;YAC7D,MAAM,WAAW,GAAG,eAAe,CAAC,MAAM,CAAC;YAC3C,IAAI,gBAAgB,aAAhB,gBAAgB,uBAAhB,gBAAgB,CAAE,OAAO,EAAE,CAAC;gBAC9B,eAAe,CAAC,KAAK,EAAE,CAAC;YAC1B,CAAC;iBAAM,IAAI,CAAC,WAAW,CAAC,OAAO,EAAE,CAAC;gBAChC,gBAAgB,aAAhB,gBAAgB,uBAAhB,gBAAgB,CAAE,gBAAgB,CAAC,OAAO,EAAE,aAAa,EAAE;oBACzD,IAAI,EAAE,IAAI;iBACX,CAAC,CAAC;YACL,CAAC;YACD,IAAI,QAAQ,CAAC;YACb,IAAI,CAAC;gBACH,QAAQ,GAAG,MAAM,MAAM;qBACpB,aAAa,CAAC,IAAI,aAAJ,IAAI,cAAJ,IAAI,GAAI,eAAe,CAAC,OAAO,CAAC,GAAG,CAAC;qBAClD,GAAG,CAAC,EAAE,WAAW,EAAE,CAAC,CAAC;YAC1B,CAAC;oBAAS,CAAC;gBACT,gBAAgB,aAAhB,gBAAgB,uBAAhB,gBAAgB,CAAE,mBAAmB,CAAC,OAAO,EAAE,aAAa,CAAC,CAAC;YAChE,CAAC;YACD,MAAM,WAAW,GAAG,cAAc,CAAC,QAAmB,CAAC,CAAC;YACxD,WAAW,CAAC,WAAW,CAAC,OAAO,CAAC,mBAAmB,CAAC,GAAG,eAAe,CAAC,OAAO,CAAC,GAAG,CAAC;YACnF,OAAO,WAAW,CAAC;QACrB,CAAC;KACF,CAAC;IAEF,OAAO,CAAC,qBAAqB,GAAG,MAAA,OAAO,CAAC,qBAAqB,mCAAI,IAAI,CAAC;IACtE,MAAM,UAAU,GAAG,IAAA,2BAAgB,EAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACrD,MAAM,YAAY,GAAuD;QACvE,MAAM;YACJ,OAAO,UAAU,CAAC,MAAM,CAAC;QAC3B,CAAC;QACD,SAAS;YACP,OAAO,UAAU,CAAC,SAAS,CAAC;QAC9B,CAAC;QACD,iBAAiB;YACf,IAAI,CAAC,UAAU,CAAC,cAAc,EAAE,CAAC;gBAC/B,MAAM,IAAI,KAAK,CACb,4IAA4I,CAC7I,CAAC;YACJ,CAAC;YACD,OAAO,UAAU,CAAC,cAAc,CAAC;QACnC,CAAC;QACD,SAAS;YACP,OAAO,UAAU,CAAC,MAAM,CAAC;QAC3B,CAAC;QACD,QAAQ;YACN,IAAI,CAAC,UAAU,CAAC,cAAc,EAAE,CAAC;gBAC/B,MAAM,IAAI,KAAK,CACb,4IAA4I,CAC7I,CAAC;YACJ,CAAC;YACD,OAAO,IAAI,CAAC,SAAS,CAAC;gBACpB,KAAK,EAAE,UAAU,CAAC,cAAc;aACjC,CAAC,CAAC;QACL,CAAC;QACD,WAAW;YACT,eAAe,CAAC,KAAK,EAAE,CAAC;QAC1B,CAAC;QACD,UAAU,EAAE,UAAU,CAAC,UAAU;QACjC,IAAI,EAAE,UAAU,CAAC,IAAI;QACrB,aAAa,EAAE,UAAU,CAAC,aAAa;QACvC,SAAS,EAAE,UAAU,CAAC,SAAS;QAC/B,SAAS,EAAE,UAAU,CAAC,SAAS;KAChC,CAAC;IACF,OAAO,YAAY,CAAC;AACtB,CAAC;AAED;;;;GAIG;AACH,SAAS,cAAc,CACrB,QAAiB;IAEjB,IAAI,MAAM,CAAC,KAAK,CAAC,QAAQ,CAAC,MAAM,CAAC,EAAE,CAAC;QAClC,MAAM,IAAI,SAAS,CAAC,uDAAuD,QAAQ,CAAC,MAAM,EAAE,CAAC,CAAC;IAChG,CAAC;IAED,OAAO;QACL,YAAY,EAAE,QAAQ;QACtB,WAAW,kCACN,QAAQ,KACX,UAAU,EAAE,MAAM,CAAC,QAAQ,CAAC,QAAQ,CAAC,MAAM,CAAC,EAC5C,IAAI,EAAE,QAAQ,CAAC,IAAI,GACpB;KACF,CAAC;AACJ,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT license.\n\nimport { Client, HttpResponse } from \"@azure-rest/core-client\";\nimport { AbortSignalLike } from \"@azure/abort-controller\";\nimport {\n CancelOnProgress,\n CreateHttpPollerOptions,\n LongRunningOperation,\n OperationResponse,\n OperationState,\n createHttpPoller,\n} from \"@azure/core-lro\";\nimport {\n TrainLargeFaceList202Response,\n TrainLargeFaceListDefaultResponse,\n TrainLargeFaceListLogicalResponse,\n TrainPersonGroup202Response,\n TrainPersonGroupDefaultResponse,\n TrainPersonGroupLogicalResponse,\n TrainLargePersonGroup202Response,\n TrainLargePersonGroupDefaultResponse,\n TrainLargePersonGroupLogicalResponse,\n CreatePerson202Response,\n CreatePersonDefaultResponse,\n CreatePersonLogicalResponse,\n DeletePerson202Response,\n DeletePersonDefaultResponse,\n DeletePersonLogicalResponse,\n AddPersonFace202Response,\n AddPersonFaceDefaultResponse,\n AddPersonFaceLogicalResponse,\n DeletePersonFace202Response,\n DeletePersonFaceDefaultResponse,\n DeletePersonFaceLogicalResponse,\n CreateDynamicPersonGroupWithPerson202Response,\n CreateDynamicPersonGroupWithPersonDefaultResponse,\n CreateDynamicPersonGroupWithPersonLogicalResponse,\n DeleteDynamicPersonGroup202Response,\n DeleteDynamicPersonGroupDefaultResponse,\n DeleteDynamicPersonGroupLogicalResponse,\n UpdateDynamicPersonGroupWithPersonChanges202Response,\n UpdateDynamicPersonGroupWithPersonChangesDefaultResponse,\n UpdateDynamicPersonGroupWithPersonChangesLogicalResponse,\n} from \"./responses.js\";\n\n/**\n * A simple poller that can be used to poll a long running operation.\n */\nexport interface SimplePollerLike<TState extends OperationState<TResult>, TResult> {\n /**\n * Returns true if the poller has finished polling.\n */\n isDone(): boolean;\n /**\n * Returns true if the poller is stopped.\n */\n isStopped(): boolean;\n /**\n * Returns the state of the operation.\n */\n getOperationState(): TState;\n /**\n * Returns the result value of the operation,\n * regardless of the state of the poller.\n * It can return undefined or an incomplete form of the final TResult value\n * depending on the implementation.\n */\n getResult(): TResult | undefined;\n /**\n * Returns a promise that will resolve once a single polling request finishes.\n * It does this by calling the update method of the Poller's operation.\n */\n poll(options?: { abortSignal?: AbortSignalLike }): Promise<TState>;\n /**\n * Returns a promise that will resolve once the underlying operation is completed.\n */\n pollUntilDone(pollOptions?: { abortSignal?: AbortSignalLike }): Promise<TResult>;\n /**\n * Invokes the provided callback after each polling is completed,\n * sending the current state of the poller's operation.\n *\n * It returns a method that can be used to stop receiving updates on the given callback function.\n */\n onProgress(callback: (state: TState) => void): CancelOnProgress;\n\n /**\n * Returns a promise that could be used for serialized version of the poller's operation\n * by invoking the operation's serialize method.\n */\n serialize(): Promise<string>;\n\n /**\n * Wait the poller to be submitted.\n */\n submitted(): Promise<void>;\n\n /**\n * Returns a string representation of the poller's operation. Similar to serialize but returns a string.\n * @deprecated Use serialize() instead.\n */\n toString(): string;\n\n /**\n * Stops the poller from continuing to poll. Please note this will only stop the client-side polling\n * @deprecated Use abortSignal to stop polling instead.\n */\n stopPolling(): void;\n}\n\n/**\n * Helper function that builds a Poller object to help polling a long running operation.\n * @param client - Client to use for sending the request to get additional pages.\n * @param initialResponse - The initial response.\n * @param options - Options to set a resume state or custom polling interval.\n * @returns - A poller object to poll for operation state updates and eventually get the final response.\n */\nexport async function getLongRunningPoller<\n TResult extends TrainLargeFaceListLogicalResponse | TrainLargeFaceListDefaultResponse,\n>(\n client: Client,\n initialResponse: TrainLargeFaceList202Response | TrainLargeFaceListDefaultResponse,\n options?: CreateHttpPollerOptions<TResult, OperationState<TResult>>,\n): Promise<SimplePollerLike<OperationState<TResult>, TResult>>;\nexport async function getLongRunningPoller<\n TResult extends TrainPersonGroupLogicalResponse | TrainPersonGroupDefaultResponse,\n>(\n client: Client,\n initialResponse: TrainPersonGroup202Response | TrainPersonGroupDefaultResponse,\n options?: CreateHttpPollerOptions<TResult, OperationState<TResult>>,\n): Promise<SimplePollerLike<OperationState<TResult>, TResult>>;\nexport async function getLongRunningPoller<\n TResult extends TrainLargePersonGroupLogicalResponse | TrainLargePersonGroupDefaultResponse,\n>(\n client: Client,\n initialResponse: TrainLargePersonGroup202Response | TrainLargePersonGroupDefaultResponse,\n options?: CreateHttpPollerOptions<TResult, OperationState<TResult>>,\n): Promise<SimplePollerLike<OperationState<TResult>, TResult>>;\nexport async function getLongRunningPoller<\n TResult extends CreatePersonLogicalResponse | CreatePersonDefaultResponse,\n>(\n client: Client,\n initialResponse: CreatePerson202Response | CreatePersonDefaultResponse,\n options?: CreateHttpPollerOptions<TResult, OperationState<TResult>>,\n): Promise<SimplePollerLike<OperationState<TResult>, TResult>>;\nexport async function getLongRunningPoller<\n TResult extends DeletePersonLogicalResponse | DeletePersonDefaultResponse,\n>(\n client: Client,\n initialResponse: DeletePerson202Response | DeletePersonDefaultResponse,\n options?: CreateHttpPollerOptions<TResult, OperationState<TResult>>,\n): Promise<SimplePollerLike<OperationState<TResult>, TResult>>;\nexport async function getLongRunningPoller<\n TResult extends AddPersonFaceLogicalResponse | AddPersonFaceDefaultResponse,\n>(\n client: Client,\n initialResponse: AddPersonFace202Response | AddPersonFaceDefaultResponse,\n options?: CreateHttpPollerOptions<TResult, OperationState<TResult>>,\n): Promise<SimplePollerLike<OperationState<TResult>, TResult>>;\nexport async function getLongRunningPoller<\n TResult extends DeletePersonFaceLogicalResponse | DeletePersonFaceDefaultResponse,\n>(\n client: Client,\n initialResponse: DeletePersonFace202Response | DeletePersonFaceDefaultResponse,\n options?: CreateHttpPollerOptions<TResult, OperationState<TResult>>,\n): Promise<SimplePollerLike<OperationState<TResult>, TResult>>;\nexport async function getLongRunningPoller<\n TResult extends\n | CreateDynamicPersonGroupWithPersonLogicalResponse\n | CreateDynamicPersonGroupWithPersonDefaultResponse,\n>(\n client: Client,\n initialResponse:\n | CreateDynamicPersonGroupWithPerson202Response\n | CreateDynamicPersonGroupWithPersonDefaultResponse,\n options?: CreateHttpPollerOptions<TResult, OperationState<TResult>>,\n): Promise<SimplePollerLike<OperationState<TResult>, TResult>>;\nexport async function getLongRunningPoller<\n TResult extends DeleteDynamicPersonGroupLogicalResponse | DeleteDynamicPersonGroupDefaultResponse,\n>(\n client: Client,\n initialResponse: DeleteDynamicPersonGroup202Response | DeleteDynamicPersonGroupDefaultResponse,\n options?: CreateHttpPollerOptions<TResult, OperationState<TResult>>,\n): Promise<SimplePollerLike<OperationState<TResult>, TResult>>;\nexport async function getLongRunningPoller<\n TResult extends\n | UpdateDynamicPersonGroupWithPersonChangesLogicalResponse\n | UpdateDynamicPersonGroupWithPersonChangesDefaultResponse,\n>(\n client: Client,\n initialResponse:\n | UpdateDynamicPersonGroupWithPersonChanges202Response\n | UpdateDynamicPersonGroupWithPersonChangesDefaultResponse,\n options?: CreateHttpPollerOptions<TResult, OperationState<TResult>>,\n): Promise<SimplePollerLike<OperationState<TResult>, TResult>>;\nexport async function getLongRunningPoller<TResult extends HttpResponse>(\n client: Client,\n initialResponse: TResult,\n options: CreateHttpPollerOptions<TResult, OperationState<TResult>> = {},\n): Promise<SimplePollerLike<OperationState<TResult>, TResult>> {\n const abortController = new AbortController();\n const poller: LongRunningOperation<TResult> = {\n sendInitialRequest: async () => {\n // In the case of Rest Clients we are building the LRO poller object from a response that's the reason\n // we are not triggering the initial request here, just extracting the information from the\n // response we were provided.\n return getLroResponse(initialResponse);\n },\n sendPollRequest: async (path, sendPollRequestOptions?: { abortSignal?: AbortSignalLike }) => {\n // This is the callback that is going to be called to poll the service\n // to get the latest status. We use the client provided and the polling path\n // which is an opaque URL provided by caller, the service sends this in one of the following headers: operation-location, azure-asyncoperation or location\n // depending on the lro pattern that the service implements. If non is provided we default to the initial path.\n function abortListener(): void {\n abortController.abort();\n }\n const inputAbortSignal = sendPollRequestOptions?.abortSignal;\n const abortSignal = abortController.signal;\n if (inputAbortSignal?.aborted) {\n abortController.abort();\n } else if (!abortSignal.aborted) {\n inputAbortSignal?.addEventListener(\"abort\", abortListener, {\n once: true,\n });\n }\n let response;\n try {\n response = await client\n .pathUnchecked(path ?? initialResponse.request.url)\n .get({ abortSignal });\n } finally {\n inputAbortSignal?.removeEventListener(\"abort\", abortListener);\n }\n const lroResponse = getLroResponse(response as TResult);\n lroResponse.rawResponse.headers[\"x-ms-original-url\"] = initialResponse.request.url;\n return lroResponse;\n },\n };\n\n options.resolveOnUnsuccessful = options.resolveOnUnsuccessful ?? true;\n const httpPoller = createHttpPoller(poller, options);\n const simplePoller: SimplePollerLike<OperationState<TResult>, TResult> = {\n isDone() {\n return httpPoller.isDone;\n },\n isStopped() {\n return httpPoller.isStopped;\n },\n getOperationState() {\n if (!httpPoller.operationState) {\n throw new Error(\n \"Operation state is not available. The poller may not have been started and you could await submitted() before calling getOperationState().\",\n );\n }\n return httpPoller.operationState;\n },\n getResult() {\n return httpPoller.result;\n },\n toString() {\n if (!httpPoller.operationState) {\n throw new Error(\n \"Operation state is not available. The poller may not have been started and you could await submitted() before calling getOperationState().\",\n );\n }\n return JSON.stringify({\n state: httpPoller.operationState,\n });\n },\n stopPolling() {\n abortController.abort();\n },\n onProgress: httpPoller.onProgress,\n poll: httpPoller.poll,\n pollUntilDone: httpPoller.pollUntilDone,\n serialize: httpPoller.serialize,\n submitted: httpPoller.submitted,\n };\n return simplePoller;\n}\n\n/**\n * Converts a Rest Client response to a response that the LRO implementation understands\n * @param response - a rest client http response\n * @returns - An LRO response that the LRO implementation understands\n */\nfunction getLroResponse<TResult extends HttpResponse>(\n response: TResult,\n): OperationResponse<TResult> {\n if (Number.isNaN(response.status)) {\n throw new TypeError(`Status code of the response is not a number. Value: ${response.status}`);\n }\n\n return {\n flatResponse: response,\n rawResponse: {\n ...response,\n statusCode: Number.parseInt(response.status),\n body: response.body,\n },\n };\n}\n"]}
1
+ {"version":3,"file":"pollingHelper.js","sourceRoot":"","sources":["../../src/pollingHelper.ts"],"names":[],"mappings":";AAAA,uCAAuC;AACvC,kCAAkC;;AAkMlC,oDAoFC;AAlRD,8CAOyB;AAuLlB,KAAK,UAAU,oBAAoB,CACxC,MAAc,EACd,eAAwB,EACxB,UAAqE,EAAE;;IAEvE,MAAM,eAAe,GAAG,IAAI,eAAe,EAAE,CAAC;IAC9C,MAAM,MAAM,GAAkC;QAC5C,kBAAkB,EAAE,KAAK,IAAI,EAAE;YAC7B,sGAAsG;YACtG,2FAA2F;YAC3F,6BAA6B;YAC7B,OAAO,cAAc,CAAC,eAAe,CAAC,CAAC;QACzC,CAAC;QACD,eAAe,EAAE,KAAK,EAAE,IAAI,EAAE,sBAA0D,EAAE,EAAE;YAC1F,sEAAsE;YACtE,4EAA4E;YAC5E,0JAA0J;YAC1J,+GAA+G;YAC/G,SAAS,aAAa;gBACpB,eAAe,CAAC,KAAK,EAAE,CAAC;YAC1B,CAAC;YACD,MAAM,gBAAgB,GAAG,sBAAsB,aAAtB,sBAAsB,uBAAtB,sBAAsB,CAAE,WAAW,CAAC;YAC7D,MAAM,WAAW,GAAG,eAAe,CAAC,MAAM,CAAC;YAC3C,IAAI,gBAAgB,aAAhB,gBAAgB,uBAAhB,gBAAgB,CAAE,OAAO,EAAE,CAAC;gBAC9B,eAAe,CAAC,KAAK,EAAE,CAAC;YAC1B,CAAC;iBAAM,IAAI,CAAC,WAAW,CAAC,OAAO,EAAE,CAAC;gBAChC,gBAAgB,aAAhB,gBAAgB,uBAAhB,gBAAgB,CAAE,gBAAgB,CAAC,OAAO,EAAE,aAAa,EAAE;oBACzD,IAAI,EAAE,IAAI;iBACX,CAAC,CAAC;YACL,CAAC;YACD,IAAI,QAAQ,CAAC;YACb,IAAI,CAAC;gBACH,QAAQ,GAAG,MAAM,MAAM;qBACpB,aAAa,CAAC,IAAI,aAAJ,IAAI,cAAJ,IAAI,GAAI,eAAe,CAAC,OAAO,CAAC,GAAG,CAAC;qBAClD,GAAG,CAAC,EAAE,WAAW,EAAE,CAAC,CAAC;YAC1B,CAAC;oBAAS,CAAC;gBACT,gBAAgB,aAAhB,gBAAgB,uBAAhB,gBAAgB,CAAE,mBAAmB,CAAC,OAAO,EAAE,aAAa,CAAC,CAAC;YAChE,CAAC;YACD,MAAM,WAAW,GAAG,cAAc,CAAC,QAAmB,CAAC,CAAC;YACxD,WAAW,CAAC,WAAW,CAAC,OAAO,CAAC,mBAAmB,CAAC,GAAG,eAAe,CAAC,OAAO,CAAC,GAAG,CAAC;YACnF,OAAO,WAAW,CAAC;QACrB,CAAC;KACF,CAAC;IAEF,OAAO,CAAC,qBAAqB,GAAG,MAAA,OAAO,CAAC,qBAAqB,mCAAI,IAAI,CAAC;IACtE,MAAM,UAAU,GAAG,IAAA,2BAAgB,EAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACrD,MAAM,YAAY,GAAuD;QACvE,MAAM;YACJ,OAAO,UAAU,CAAC,MAAM,CAAC;QAC3B,CAAC;QACD,SAAS;YACP,OAAO,UAAU,CAAC,SAAS,CAAC;QAC9B,CAAC;QACD,iBAAiB;YACf,IAAI,CAAC,UAAU,CAAC,cAAc,EAAE,CAAC;gBAC/B,MAAM,IAAI,KAAK,CACb,4IAA4I,CAC7I,CAAC;YACJ,CAAC;YACD,OAAO,UAAU,CAAC,cAAc,CAAC;QACnC,CAAC;QACD,SAAS;YACP,OAAO,UAAU,CAAC,MAAM,CAAC;QAC3B,CAAC;QACD,QAAQ;YACN,IAAI,CAAC,UAAU,CAAC,cAAc,EAAE,CAAC;gBAC/B,MAAM,IAAI,KAAK,CACb,4IAA4I,CAC7I,CAAC;YACJ,CAAC;YACD,OAAO,IAAI,CAAC,SAAS,CAAC;gBACpB,KAAK,EAAE,UAAU,CAAC,cAAc;aACjC,CAAC,CAAC;QACL,CAAC;QACD,WAAW;YACT,eAAe,CAAC,KAAK,EAAE,CAAC;QAC1B,CAAC;QACD,UAAU,EAAE,UAAU,CAAC,UAAU;QACjC,IAAI,EAAE,UAAU,CAAC,IAAI;QACrB,aAAa,EAAE,UAAU,CAAC,aAAa;QACvC,SAAS,EAAE,UAAU,CAAC,SAAS;QAC/B,SAAS,EAAE,UAAU,CAAC,SAAS;KAChC,CAAC;IACF,OAAO,YAAY,CAAC;AACtB,CAAC;AAED;;;;GAIG;AACH,SAAS,cAAc,CACrB,QAAiB;IAEjB,IAAI,MAAM,CAAC,KAAK,CAAC,QAAQ,CAAC,MAAM,CAAC,EAAE,CAAC;QAClC,MAAM,IAAI,SAAS,CAAC,uDAAuD,QAAQ,CAAC,MAAM,EAAE,CAAC,CAAC;IAChG,CAAC;IAED,OAAO;QACL,YAAY,EAAE,QAAQ;QACtB,WAAW,kCACN,QAAQ,KACX,UAAU,EAAE,MAAM,CAAC,QAAQ,CAAC,QAAQ,CAAC,MAAM,CAAC,EAC5C,IAAI,EAAE,QAAQ,CAAC,IAAI,GACpB;KACF,CAAC;AACJ,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport { Client, HttpResponse } from \"@azure-rest/core-client\";\nimport { AbortSignalLike } from \"@azure/abort-controller\";\nimport {\n CancelOnProgress,\n CreateHttpPollerOptions,\n LongRunningOperation,\n OperationResponse,\n OperationState,\n createHttpPoller,\n} from \"@azure/core-lro\";\nimport {\n TrainLargeFaceList202Response,\n TrainLargeFaceListDefaultResponse,\n TrainLargeFaceListLogicalResponse,\n TrainPersonGroup202Response,\n TrainPersonGroupDefaultResponse,\n TrainPersonGroupLogicalResponse,\n TrainLargePersonGroup202Response,\n TrainLargePersonGroupDefaultResponse,\n TrainLargePersonGroupLogicalResponse,\n CreatePerson202Response,\n CreatePersonDefaultResponse,\n CreatePersonLogicalResponse,\n DeletePerson202Response,\n DeletePersonDefaultResponse,\n DeletePersonLogicalResponse,\n AddPersonFace202Response,\n AddPersonFaceDefaultResponse,\n AddPersonFaceLogicalResponse,\n DeletePersonFace202Response,\n DeletePersonFaceDefaultResponse,\n DeletePersonFaceLogicalResponse,\n CreateDynamicPersonGroupWithPerson202Response,\n CreateDynamicPersonGroupWithPersonDefaultResponse,\n CreateDynamicPersonGroupWithPersonLogicalResponse,\n DeleteDynamicPersonGroup202Response,\n DeleteDynamicPersonGroupDefaultResponse,\n DeleteDynamicPersonGroupLogicalResponse,\n UpdateDynamicPersonGroupWithPersonChanges202Response,\n UpdateDynamicPersonGroupWithPersonChangesDefaultResponse,\n UpdateDynamicPersonGroupWithPersonChangesLogicalResponse,\n} from \"./responses.js\";\n\n/**\n * A simple poller that can be used to poll a long running operation.\n */\nexport interface SimplePollerLike<TState extends OperationState<TResult>, TResult> {\n /**\n * Returns true if the poller has finished polling.\n */\n isDone(): boolean;\n /**\n * Returns true if the poller is stopped.\n */\n isStopped(): boolean;\n /**\n * Returns the state of the operation.\n */\n getOperationState(): TState;\n /**\n * Returns the result value of the operation,\n * regardless of the state of the poller.\n * It can return undefined or an incomplete form of the final TResult value\n * depending on the implementation.\n */\n getResult(): TResult | undefined;\n /**\n * Returns a promise that will resolve once a single polling request finishes.\n * It does this by calling the update method of the Poller's operation.\n */\n poll(options?: { abortSignal?: AbortSignalLike }): Promise<TState>;\n /**\n * Returns a promise that will resolve once the underlying operation is completed.\n */\n pollUntilDone(pollOptions?: { abortSignal?: AbortSignalLike }): Promise<TResult>;\n /**\n * Invokes the provided callback after each polling is completed,\n * sending the current state of the poller's operation.\n *\n * It returns a method that can be used to stop receiving updates on the given callback function.\n */\n onProgress(callback: (state: TState) => void): CancelOnProgress;\n\n /**\n * Returns a promise that could be used for serialized version of the poller's operation\n * by invoking the operation's serialize method.\n */\n serialize(): Promise<string>;\n\n /**\n * Wait the poller to be submitted.\n */\n submitted(): Promise<void>;\n\n /**\n * Returns a string representation of the poller's operation. Similar to serialize but returns a string.\n * @deprecated Use serialize() instead.\n */\n toString(): string;\n\n /**\n * Stops the poller from continuing to poll. Please note this will only stop the client-side polling\n * @deprecated Use abortSignal to stop polling instead.\n */\n stopPolling(): void;\n}\n\n/**\n * Helper function that builds a Poller object to help polling a long running operation.\n * @param client - Client to use for sending the request to get additional pages.\n * @param initialResponse - The initial response.\n * @param options - Options to set a resume state or custom polling interval.\n * @returns - A poller object to poll for operation state updates and eventually get the final response.\n */\nexport async function getLongRunningPoller<\n TResult extends TrainLargeFaceListLogicalResponse | TrainLargeFaceListDefaultResponse,\n>(\n client: Client,\n initialResponse: TrainLargeFaceList202Response | TrainLargeFaceListDefaultResponse,\n options?: CreateHttpPollerOptions<TResult, OperationState<TResult>>,\n): Promise<SimplePollerLike<OperationState<TResult>, TResult>>;\nexport async function getLongRunningPoller<\n TResult extends TrainPersonGroupLogicalResponse | TrainPersonGroupDefaultResponse,\n>(\n client: Client,\n initialResponse: TrainPersonGroup202Response | TrainPersonGroupDefaultResponse,\n options?: CreateHttpPollerOptions<TResult, OperationState<TResult>>,\n): Promise<SimplePollerLike<OperationState<TResult>, TResult>>;\nexport async function getLongRunningPoller<\n TResult extends TrainLargePersonGroupLogicalResponse | TrainLargePersonGroupDefaultResponse,\n>(\n client: Client,\n initialResponse: TrainLargePersonGroup202Response | TrainLargePersonGroupDefaultResponse,\n options?: CreateHttpPollerOptions<TResult, OperationState<TResult>>,\n): Promise<SimplePollerLike<OperationState<TResult>, TResult>>;\nexport async function getLongRunningPoller<\n TResult extends CreatePersonLogicalResponse | CreatePersonDefaultResponse,\n>(\n client: Client,\n initialResponse: CreatePerson202Response | CreatePersonDefaultResponse,\n options?: CreateHttpPollerOptions<TResult, OperationState<TResult>>,\n): Promise<SimplePollerLike<OperationState<TResult>, TResult>>;\nexport async function getLongRunningPoller<\n TResult extends DeletePersonLogicalResponse | DeletePersonDefaultResponse,\n>(\n client: Client,\n initialResponse: DeletePerson202Response | DeletePersonDefaultResponse,\n options?: CreateHttpPollerOptions<TResult, OperationState<TResult>>,\n): Promise<SimplePollerLike<OperationState<TResult>, TResult>>;\nexport async function getLongRunningPoller<\n TResult extends AddPersonFaceLogicalResponse | AddPersonFaceDefaultResponse,\n>(\n client: Client,\n initialResponse: AddPersonFace202Response | AddPersonFaceDefaultResponse,\n options?: CreateHttpPollerOptions<TResult, OperationState<TResult>>,\n): Promise<SimplePollerLike<OperationState<TResult>, TResult>>;\nexport async function getLongRunningPoller<\n TResult extends DeletePersonFaceLogicalResponse | DeletePersonFaceDefaultResponse,\n>(\n client: Client,\n initialResponse: DeletePersonFace202Response | DeletePersonFaceDefaultResponse,\n options?: CreateHttpPollerOptions<TResult, OperationState<TResult>>,\n): Promise<SimplePollerLike<OperationState<TResult>, TResult>>;\nexport async function getLongRunningPoller<\n TResult extends\n | CreateDynamicPersonGroupWithPersonLogicalResponse\n | CreateDynamicPersonGroupWithPersonDefaultResponse,\n>(\n client: Client,\n initialResponse:\n | CreateDynamicPersonGroupWithPerson202Response\n | CreateDynamicPersonGroupWithPersonDefaultResponse,\n options?: CreateHttpPollerOptions<TResult, OperationState<TResult>>,\n): Promise<SimplePollerLike<OperationState<TResult>, TResult>>;\nexport async function getLongRunningPoller<\n TResult extends DeleteDynamicPersonGroupLogicalResponse | DeleteDynamicPersonGroupDefaultResponse,\n>(\n client: Client,\n initialResponse: DeleteDynamicPersonGroup202Response | DeleteDynamicPersonGroupDefaultResponse,\n options?: CreateHttpPollerOptions<TResult, OperationState<TResult>>,\n): Promise<SimplePollerLike<OperationState<TResult>, TResult>>;\nexport async function getLongRunningPoller<\n TResult extends\n | UpdateDynamicPersonGroupWithPersonChangesLogicalResponse\n | UpdateDynamicPersonGroupWithPersonChangesDefaultResponse,\n>(\n client: Client,\n initialResponse:\n | UpdateDynamicPersonGroupWithPersonChanges202Response\n | UpdateDynamicPersonGroupWithPersonChangesDefaultResponse,\n options?: CreateHttpPollerOptions<TResult, OperationState<TResult>>,\n): Promise<SimplePollerLike<OperationState<TResult>, TResult>>;\nexport async function getLongRunningPoller<TResult extends HttpResponse>(\n client: Client,\n initialResponse: TResult,\n options: CreateHttpPollerOptions<TResult, OperationState<TResult>> = {},\n): Promise<SimplePollerLike<OperationState<TResult>, TResult>> {\n const abortController = new AbortController();\n const poller: LongRunningOperation<TResult> = {\n sendInitialRequest: async () => {\n // In the case of Rest Clients we are building the LRO poller object from a response that's the reason\n // we are not triggering the initial request here, just extracting the information from the\n // response we were provided.\n return getLroResponse(initialResponse);\n },\n sendPollRequest: async (path, sendPollRequestOptions?: { abortSignal?: AbortSignalLike }) => {\n // This is the callback that is going to be called to poll the service\n // to get the latest status. We use the client provided and the polling path\n // which is an opaque URL provided by caller, the service sends this in one of the following headers: operation-location, azure-asyncoperation or location\n // depending on the lro pattern that the service implements. If non is provided we default to the initial path.\n function abortListener(): void {\n abortController.abort();\n }\n const inputAbortSignal = sendPollRequestOptions?.abortSignal;\n const abortSignal = abortController.signal;\n if (inputAbortSignal?.aborted) {\n abortController.abort();\n } else if (!abortSignal.aborted) {\n inputAbortSignal?.addEventListener(\"abort\", abortListener, {\n once: true,\n });\n }\n let response;\n try {\n response = await client\n .pathUnchecked(path ?? initialResponse.request.url)\n .get({ abortSignal });\n } finally {\n inputAbortSignal?.removeEventListener(\"abort\", abortListener);\n }\n const lroResponse = getLroResponse(response as TResult);\n lroResponse.rawResponse.headers[\"x-ms-original-url\"] = initialResponse.request.url;\n return lroResponse;\n },\n };\n\n options.resolveOnUnsuccessful = options.resolveOnUnsuccessful ?? true;\n const httpPoller = createHttpPoller(poller, options);\n const simplePoller: SimplePollerLike<OperationState<TResult>, TResult> = {\n isDone() {\n return httpPoller.isDone;\n },\n isStopped() {\n return httpPoller.isStopped;\n },\n getOperationState() {\n if (!httpPoller.operationState) {\n throw new Error(\n \"Operation state is not available. The poller may not have been started and you could await submitted() before calling getOperationState().\",\n );\n }\n return httpPoller.operationState;\n },\n getResult() {\n return httpPoller.result;\n },\n toString() {\n if (!httpPoller.operationState) {\n throw new Error(\n \"Operation state is not available. The poller may not have been started and you could await submitted() before calling getOperationState().\",\n );\n }\n return JSON.stringify({\n state: httpPoller.operationState,\n });\n },\n stopPolling() {\n abortController.abort();\n },\n onProgress: httpPoller.onProgress,\n poll: httpPoller.poll,\n pollUntilDone: httpPoller.pollUntilDone,\n serialize: httpPoller.serialize,\n submitted: httpPoller.submitted,\n };\n return simplePoller;\n}\n\n/**\n * Converts a Rest Client response to a response that the LRO implementation understands\n * @param response - a rest client http response\n * @returns - An LRO response that the LRO implementation understands\n */\nfunction getLroResponse<TResult extends HttpResponse>(\n response: TResult,\n): OperationResponse<TResult> {\n if (Number.isNaN(response.status)) {\n throw new TypeError(`Status code of the response is not a number. Value: ${response.status}`);\n }\n\n return {\n flatResponse: response,\n rawResponse: {\n ...response,\n statusCode: Number.parseInt(response.status),\n body: response.body,\n },\n };\n}\n"]}
@@ -1,5 +1,5 @@
1
1
  "use strict";
2
2
  // Copyright (c) Microsoft Corporation.
3
- // Licensed under the MIT license.
3
+ // Licensed under the MIT License.
4
4
  Object.defineProperty(exports, "__esModule", { value: true });
5
5
  //# sourceMappingURL=responses.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"responses.js","sourceRoot":"","sources":["../../src/responses.ts"],"names":[],"mappings":";AAAA,uCAAuC;AACvC,kCAAkC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT license.\n\nimport { RawHttpHeaders } from \"@azure/core-rest-pipeline\";\nimport { HttpResponse } from \"@azure-rest/core-client\";\nimport {\n OperationResultOutput,\n FaceErrorResponseOutput,\n FaceDetectionResultOutput,\n FindSimilarResultOutput,\n IdentificationResultOutput,\n VerificationResultOutput,\n GroupingResultOutput,\n CreateLivenessSessionResultOutput,\n LivenessSessionOutput,\n LivenessSessionItemOutput,\n LivenessSessionAuditEntryOutput,\n CreateLivenessWithVerifySessionResultOutput,\n LivenessWithVerifySessionOutput,\n FaceListOutput,\n FaceListItemOutput,\n AddFaceResultOutput,\n LargeFaceListOutput,\n TrainingResultOutput,\n LargeFaceListFaceOutput,\n CreatePersonResultOutput,\n PersonDirectoryPersonOutput,\n ListGroupReferenceResultOutput,\n PersonDirectoryFaceOutput,\n ListFaceResultOutput,\n DynamicPersonGroupOutput,\n ListPersonResultOutput,\n PersonGroupOutput,\n PersonGroupPersonOutput,\n PersonGroupPersonFaceOutput,\n LargePersonGroupOutput,\n LargePersonGroupPersonOutput,\n LargePersonGroupPersonFaceOutput,\n} from \"./outputModels.js\";\n\n/** A successful call returns the long running operation status. */\nexport interface GetOperationResult200Response extends HttpResponse {\n status: \"200\";\n body: OperationResultOutput;\n}\n\nexport interface GetOperationResultDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface GetOperationResultDefaultResponse extends HttpResponse {\n status: string;\n body: FaceErrorResponseOutput;\n headers: RawHttpHeaders & GetOperationResultDefaultHeaders;\n}\n\n/** A successful call returns an array of face entries ranked by face rectangle size in descending order. An empty response indicates no faces detected. */\nexport interface DetectFromUrl200Response extends HttpResponse {\n status: \"200\";\n body: Array<FaceDetectionResultOutput>;\n}\n\nexport interface DetectFromUrlDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface DetectFromUrlDefaultResponse extends HttpResponse {\n status: string;\n body: FaceErrorResponseOutput;\n headers: RawHttpHeaders & DetectFromUrlDefaultHeaders;\n}\n\n/** A successful call returns an array of face entries ranked by face rectangle size in descending order. An empty response indicates no faces detected. */\nexport interface Detect200Response extends HttpResponse {\n status: \"200\";\n body: Array<FaceDetectionResultOutput>;\n}\n\nexport interface DetectDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface DetectDefaultResponse extends HttpResponse {\n status: string;\n body: FaceErrorResponseOutput;\n headers: RawHttpHeaders & DetectDefaultHeaders;\n}\n\n/** 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. */\nexport interface FindSimilar200Response extends HttpResponse {\n status: \"200\";\n body: Array<FindSimilarResultOutput>;\n}\n\nexport interface FindSimilarDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface FindSimilarDefaultResponse extends HttpResponse {\n status: string;\n body: FaceErrorResponseOutput;\n headers: RawHttpHeaders & FindSimilarDefaultHeaders;\n}\n\n/** 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. */\nexport interface FindSimilarFromFaceList200Response extends HttpResponse {\n status: \"200\";\n body: Array<FindSimilarResultOutput>;\n}\n\nexport interface FindSimilarFromFaceListDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface FindSimilarFromFaceListDefaultResponse extends HttpResponse {\n status: string;\n body: FaceErrorResponseOutput;\n headers: RawHttpHeaders & FindSimilarFromFaceListDefaultHeaders;\n}\n\n/** 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. */\nexport interface FindSimilarFromLargeFaceList200Response extends HttpResponse {\n status: \"200\";\n body: Array<FindSimilarResultOutput>;\n}\n\nexport interface FindSimilarFromLargeFaceListDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface FindSimilarFromLargeFaceListDefaultResponse extends HttpResponse {\n status: string;\n body: FaceErrorResponseOutput;\n headers: RawHttpHeaders & FindSimilarFromLargeFaceListDefaultHeaders;\n}\n\n/** A successful call returns the identified candidate person(s) for each query face. */\nexport interface IdentifyFromPersonGroup200Response extends HttpResponse {\n status: \"200\";\n body: Array<IdentificationResultOutput>;\n}\n\nexport interface IdentifyFromPersonGroupDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface IdentifyFromPersonGroupDefaultResponse extends HttpResponse {\n status: string;\n body: FaceErrorResponseOutput;\n headers: RawHttpHeaders & IdentifyFromPersonGroupDefaultHeaders;\n}\n\n/** A successful call returns the identified candidate person(s) for each query face. */\nexport interface IdentifyFromLargePersonGroup200Response extends HttpResponse {\n status: \"200\";\n body: Array<IdentificationResultOutput>;\n}\n\nexport interface IdentifyFromLargePersonGroupDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface IdentifyFromLargePersonGroupDefaultResponse extends HttpResponse {\n status: string;\n body: FaceErrorResponseOutput;\n headers: RawHttpHeaders & IdentifyFromLargePersonGroupDefaultHeaders;\n}\n\n/** A successful call returns the identified candidate person(s) for each query face. */\nexport interface IdentifyFromPersonDirectory200Response extends HttpResponse {\n status: \"200\";\n body: Array<IdentificationResultOutput>;\n}\n\nexport interface IdentifyFromPersonDirectoryDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface IdentifyFromPersonDirectoryDefaultResponse extends HttpResponse {\n status: string;\n body: FaceErrorResponseOutput;\n headers: RawHttpHeaders & IdentifyFromPersonDirectoryDefaultHeaders;\n}\n\n/** A successful call returns the identified candidate person(s) for each query face. */\nexport interface IdentifyFromDynamicPersonGroup200Response extends HttpResponse {\n status: \"200\";\n body: Array<IdentificationResultOutput>;\n}\n\nexport interface IdentifyFromDynamicPersonGroupDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface IdentifyFromDynamicPersonGroupDefaultResponse extends HttpResponse {\n status: string;\n body: FaceErrorResponseOutput;\n headers: RawHttpHeaders & IdentifyFromDynamicPersonGroupDefaultHeaders;\n}\n\n/** A successful call returns the verification result. */\nexport interface VerifyFaceToFace200Response extends HttpResponse {\n status: \"200\";\n body: VerificationResultOutput;\n}\n\nexport interface VerifyFaceToFaceDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface VerifyFaceToFaceDefaultResponse extends HttpResponse {\n status: string;\n body: FaceErrorResponseOutput;\n headers: RawHttpHeaders & VerifyFaceToFaceDefaultHeaders;\n}\n\n/** A successful call returns the verification result. */\nexport interface VerifyFromPersonGroup200Response extends HttpResponse {\n status: \"200\";\n body: VerificationResultOutput;\n}\n\nexport interface VerifyFromPersonGroupDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface VerifyFromPersonGroupDefaultResponse extends HttpResponse {\n status: string;\n body: FaceErrorResponseOutput;\n headers: RawHttpHeaders & VerifyFromPersonGroupDefaultHeaders;\n}\n\n/** A successful call returns the verification result. */\nexport interface VerifyFromLargePersonGroup200Response extends HttpResponse {\n status: \"200\";\n body: VerificationResultOutput;\n}\n\nexport interface VerifyFromLargePersonGroupDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface VerifyFromLargePersonGroupDefaultResponse extends HttpResponse {\n status: string;\n body: FaceErrorResponseOutput;\n headers: RawHttpHeaders & VerifyFromLargePersonGroupDefaultHeaders;\n}\n\n/** A successful call returns the verification result. */\nexport interface VerifyFromPersonDirectory200Response extends HttpResponse {\n status: \"200\";\n body: VerificationResultOutput;\n}\n\nexport interface VerifyFromPersonDirectoryDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface VerifyFromPersonDirectoryDefaultResponse extends HttpResponse {\n status: string;\n body: FaceErrorResponseOutput;\n headers: RawHttpHeaders & VerifyFromPersonDirectoryDefaultHeaders;\n}\n\n/** A successful call returns one or more groups of similar faces (rank by group size) and a messyGroup. */\nexport interface Group200Response extends HttpResponse {\n status: \"200\";\n body: GroupingResultOutput;\n}\n\nexport interface GroupDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface GroupDefaultResponse extends HttpResponse {\n status: string;\n body: FaceErrorResponseOutput;\n headers: RawHttpHeaders & GroupDefaultHeaders;\n}\n\n/** 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. */\nexport interface CreateLivenessSession200Response extends HttpResponse {\n status: \"200\";\n body: CreateLivenessSessionResultOutput;\n}\n\nexport interface CreateLivenessSessionDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface CreateLivenessSessionDefaultResponse extends HttpResponse {\n status: string;\n body: FaceErrorResponseOutput;\n headers: RawHttpHeaders & CreateLivenessSessionDefaultHeaders;\n}\n\n/** The request has succeeded. */\nexport interface DeleteLivenessSession200Response extends HttpResponse {\n status: \"200\";\n}\n\nexport interface DeleteLivenessSessionDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface DeleteLivenessSessionDefaultResponse extends HttpResponse {\n status: string;\n body: FaceErrorResponseOutput;\n headers: RawHttpHeaders & DeleteLivenessSessionDefaultHeaders;\n}\n\n/** The request has succeeded. */\nexport interface GetLivenessSessionResult200Response extends HttpResponse {\n status: \"200\";\n body: LivenessSessionOutput;\n}\n\nexport interface GetLivenessSessionResultDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface GetLivenessSessionResultDefaultResponse extends HttpResponse {\n status: string;\n body: FaceErrorResponseOutput;\n headers: RawHttpHeaders & GetLivenessSessionResultDefaultHeaders;\n}\n\n/** The request has succeeded. */\nexport interface GetLivenessSessions200Response extends HttpResponse {\n status: \"200\";\n body: Array<LivenessSessionItemOutput>;\n}\n\nexport interface GetLivenessSessionsDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface GetLivenessSessionsDefaultResponse extends HttpResponse {\n status: string;\n body: FaceErrorResponseOutput;\n headers: RawHttpHeaders & GetLivenessSessionsDefaultHeaders;\n}\n\n/** The request has succeeded. */\nexport interface GetLivenessSessionAuditEntries200Response extends HttpResponse {\n status: \"200\";\n body: Array<LivenessSessionAuditEntryOutput>;\n}\n\nexport interface GetLivenessSessionAuditEntriesDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface GetLivenessSessionAuditEntriesDefaultResponse extends HttpResponse {\n status: string;\n body: FaceErrorResponseOutput;\n headers: RawHttpHeaders & GetLivenessSessionAuditEntriesDefaultHeaders;\n}\n\n/** 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. */\nexport interface CreateLivenessWithVerifySessionWithVerifyImage200Response extends HttpResponse {\n status: \"200\";\n body: CreateLivenessWithVerifySessionResultOutput;\n}\n\nexport interface CreateLivenessWithVerifySessionWithVerifyImageDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface CreateLivenessWithVerifySessionWithVerifyImageDefaultResponse\n extends HttpResponse {\n status: string;\n body: FaceErrorResponseOutput;\n headers: RawHttpHeaders & CreateLivenessWithVerifySessionWithVerifyImageDefaultHeaders;\n}\n\n/** 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. */\nexport interface CreateLivenessWithVerifySession200Response extends HttpResponse {\n status: \"200\";\n body: CreateLivenessWithVerifySessionResultOutput;\n}\n\nexport interface CreateLivenessWithVerifySessionDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface CreateLivenessWithVerifySessionDefaultResponse extends HttpResponse {\n status: string;\n body: FaceErrorResponseOutput;\n headers: RawHttpHeaders & CreateLivenessWithVerifySessionDefaultHeaders;\n}\n\n/** The request has succeeded. */\nexport interface DeleteLivenessWithVerifySession200Response extends HttpResponse {\n status: \"200\";\n}\n\nexport interface DeleteLivenessWithVerifySessionDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface DeleteLivenessWithVerifySessionDefaultResponse extends HttpResponse {\n status: string;\n body: FaceErrorResponseOutput;\n headers: RawHttpHeaders & DeleteLivenessWithVerifySessionDefaultHeaders;\n}\n\n/** The request has succeeded. */\nexport interface GetLivenessWithVerifySessionResult200Response extends HttpResponse {\n status: \"200\";\n body: LivenessWithVerifySessionOutput;\n}\n\nexport interface GetLivenessWithVerifySessionResultDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface GetLivenessWithVerifySessionResultDefaultResponse extends HttpResponse {\n status: string;\n body: FaceErrorResponseOutput;\n headers: RawHttpHeaders & GetLivenessWithVerifySessionResultDefaultHeaders;\n}\n\n/** The request has succeeded. */\nexport interface GetLivenessWithVerifySessions200Response extends HttpResponse {\n status: \"200\";\n body: Array<LivenessSessionItemOutput>;\n}\n\nexport interface GetLivenessWithVerifySessionsDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface GetLivenessWithVerifySessionsDefaultResponse extends HttpResponse {\n status: string;\n body: FaceErrorResponseOutput;\n headers: RawHttpHeaders & GetLivenessWithVerifySessionsDefaultHeaders;\n}\n\n/** The request has succeeded. */\nexport interface GetLivenessWithVerifySessionAuditEntries200Response extends HttpResponse {\n status: \"200\";\n body: Array<LivenessSessionAuditEntryOutput>;\n}\n\nexport interface GetLivenessWithVerifySessionAuditEntriesDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface GetLivenessWithVerifySessionAuditEntriesDefaultResponse extends HttpResponse {\n status: string;\n body: FaceErrorResponseOutput;\n headers: RawHttpHeaders & GetLivenessWithVerifySessionAuditEntriesDefaultHeaders;\n}\n\n/** The request has succeeded. */\nexport interface CreateFaceList200Response extends HttpResponse {\n status: \"200\";\n}\n\nexport interface CreateFaceListDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface CreateFaceListDefaultResponse extends HttpResponse {\n status: string;\n body: FaceErrorResponseOutput;\n headers: RawHttpHeaders & CreateFaceListDefaultHeaders;\n}\n\n/** The request has succeeded. */\nexport interface DeleteFaceList200Response extends HttpResponse {\n status: \"200\";\n}\n\nexport interface DeleteFaceListDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface DeleteFaceListDefaultResponse extends HttpResponse {\n status: string;\n body: FaceErrorResponseOutput;\n headers: RawHttpHeaders & DeleteFaceListDefaultHeaders;\n}\n\n/** A successful call returns the Face List's information. */\nexport interface GetFaceList200Response extends HttpResponse {\n status: \"200\";\n body: FaceListOutput;\n}\n\nexport interface GetFaceListDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface GetFaceListDefaultResponse extends HttpResponse {\n status: string;\n body: FaceErrorResponseOutput;\n headers: RawHttpHeaders & GetFaceListDefaultHeaders;\n}\n\n/** The request has succeeded. */\nexport interface UpdateFaceList200Response extends HttpResponse {\n status: \"200\";\n}\n\nexport interface UpdateFaceListDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface UpdateFaceListDefaultResponse extends HttpResponse {\n status: string;\n body: FaceErrorResponseOutput;\n headers: RawHttpHeaders & UpdateFaceListDefaultHeaders;\n}\n\n/** A successful call returns an array of Face Lists. */\nexport interface GetFaceLists200Response extends HttpResponse {\n status: \"200\";\n body: Array<FaceListItemOutput>;\n}\n\nexport interface GetFaceListsDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface GetFaceListsDefaultResponse extends HttpResponse {\n status: string;\n body: FaceErrorResponseOutput;\n headers: RawHttpHeaders & GetFaceListsDefaultHeaders;\n}\n\n/** A successful call returns a new persistedFaceId. */\nexport interface AddFaceListFaceFromUrl200Response extends HttpResponse {\n status: \"200\";\n body: AddFaceResultOutput;\n}\n\nexport interface AddFaceListFaceFromUrlDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface AddFaceListFaceFromUrlDefaultResponse extends HttpResponse {\n status: string;\n body: FaceErrorResponseOutput;\n headers: RawHttpHeaders & AddFaceListFaceFromUrlDefaultHeaders;\n}\n\n/** A successful call returns a new persistedFaceId. */\nexport interface AddFaceListFace200Response extends HttpResponse {\n status: \"200\";\n body: AddFaceResultOutput;\n}\n\nexport interface AddFaceListFaceDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface AddFaceListFaceDefaultResponse extends HttpResponse {\n status: string;\n body: FaceErrorResponseOutput;\n headers: RawHttpHeaders & AddFaceListFaceDefaultHeaders;\n}\n\n/** The request has succeeded. */\nexport interface DeleteFaceListFace200Response extends HttpResponse {\n status: \"200\";\n}\n\nexport interface DeleteFaceListFaceDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface DeleteFaceListFaceDefaultResponse extends HttpResponse {\n status: string;\n body: FaceErrorResponseOutput;\n headers: RawHttpHeaders & DeleteFaceListFaceDefaultHeaders;\n}\n\n/** The request has succeeded. */\nexport interface CreateLargeFaceList200Response extends HttpResponse {\n status: \"200\";\n}\n\nexport interface CreateLargeFaceListDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface CreateLargeFaceListDefaultResponse extends HttpResponse {\n status: string;\n body: FaceErrorResponseOutput;\n headers: RawHttpHeaders & CreateLargeFaceListDefaultHeaders;\n}\n\n/** The request has succeeded. */\nexport interface DeleteLargeFaceList200Response extends HttpResponse {\n status: \"200\";\n}\n\nexport interface DeleteLargeFaceListDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface DeleteLargeFaceListDefaultResponse extends HttpResponse {\n status: string;\n body: FaceErrorResponseOutput;\n headers: RawHttpHeaders & DeleteLargeFaceListDefaultHeaders;\n}\n\n/** A successful call returns the Large Face List's information. */\nexport interface GetLargeFaceList200Response extends HttpResponse {\n status: \"200\";\n body: LargeFaceListOutput;\n}\n\nexport interface GetLargeFaceListDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface GetLargeFaceListDefaultResponse extends HttpResponse {\n status: string;\n body: FaceErrorResponseOutput;\n headers: RawHttpHeaders & GetLargeFaceListDefaultHeaders;\n}\n\n/** The request has succeeded. */\nexport interface UpdateLargeFaceList200Response extends HttpResponse {\n status: \"200\";\n}\n\nexport interface UpdateLargeFaceListDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface UpdateLargeFaceListDefaultResponse extends HttpResponse {\n status: string;\n body: FaceErrorResponseOutput;\n headers: RawHttpHeaders & UpdateLargeFaceListDefaultHeaders;\n}\n\n/** A successful call returns an array of Large Face Lists and their information (largeFaceListId, name and userData). */\nexport interface GetLargeFaceLists200Response extends HttpResponse {\n status: \"200\";\n body: Array<LargeFaceListOutput>;\n}\n\nexport interface GetLargeFaceListsDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface GetLargeFaceListsDefaultResponse extends HttpResponse {\n status: string;\n body: FaceErrorResponseOutput;\n headers: RawHttpHeaders & GetLargeFaceListsDefaultHeaders;\n}\n\n/** A successful call returns the Large Face List's training status. */\nexport interface GetLargeFaceListTrainingStatus200Response extends HttpResponse {\n status: \"200\";\n body: TrainingResultOutput;\n}\n\nexport interface GetLargeFaceListTrainingStatusDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface GetLargeFaceListTrainingStatusDefaultResponse extends HttpResponse {\n status: string;\n body: FaceErrorResponseOutput;\n headers: RawHttpHeaders & GetLargeFaceListTrainingStatusDefaultHeaders;\n}\n\nexport interface TrainLargeFaceList202Headers {\n \"operation-location\": string;\n}\n\n/** A successful call returns an empty response body. */\nexport interface TrainLargeFaceList202Response extends HttpResponse {\n status: \"202\";\n headers: RawHttpHeaders & TrainLargeFaceList202Headers;\n}\n\nexport interface TrainLargeFaceListDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface TrainLargeFaceListDefaultResponse extends HttpResponse {\n status: string;\n body: FaceErrorResponseOutput;\n headers: RawHttpHeaders & TrainLargeFaceListDefaultHeaders;\n}\n\n/** The final response for long-running trainLargeFaceList operation */\nexport interface TrainLargeFaceListLogicalResponse extends HttpResponse {\n status: \"200\";\n}\n\n/** A successful call returns a new persistedFaceId. */\nexport interface AddLargeFaceListFaceFromUrl200Response extends HttpResponse {\n status: \"200\";\n body: AddFaceResultOutput;\n}\n\nexport interface AddLargeFaceListFaceFromUrlDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface AddLargeFaceListFaceFromUrlDefaultResponse extends HttpResponse {\n status: string;\n body: FaceErrorResponseOutput;\n headers: RawHttpHeaders & AddLargeFaceListFaceFromUrlDefaultHeaders;\n}\n\n/** A successful call returns a new persistedFaceId. */\nexport interface AddLargeFaceListFace200Response extends HttpResponse {\n status: \"200\";\n body: AddFaceResultOutput;\n}\n\nexport interface AddLargeFaceListFaceDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface AddLargeFaceListFaceDefaultResponse extends HttpResponse {\n status: string;\n body: FaceErrorResponseOutput;\n headers: RawHttpHeaders & AddLargeFaceListFaceDefaultHeaders;\n}\n\n/** The request has succeeded. */\nexport interface DeleteLargeFaceListFace200Response extends HttpResponse {\n status: \"200\";\n}\n\nexport interface DeleteLargeFaceListFaceDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface DeleteLargeFaceListFaceDefaultResponse extends HttpResponse {\n status: string;\n body: FaceErrorResponseOutput;\n headers: RawHttpHeaders & DeleteLargeFaceListFaceDefaultHeaders;\n}\n\n/** A successful call returns target persisted face's information (persistedFaceId and userData). */\nexport interface GetLargeFaceListFace200Response extends HttpResponse {\n status: \"200\";\n body: LargeFaceListFaceOutput;\n}\n\nexport interface GetLargeFaceListFaceDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface GetLargeFaceListFaceDefaultResponse extends HttpResponse {\n status: string;\n body: FaceErrorResponseOutput;\n headers: RawHttpHeaders & GetLargeFaceListFaceDefaultHeaders;\n}\n\n/** The request has succeeded. */\nexport interface UpdateLargeFaceListFace200Response extends HttpResponse {\n status: \"200\";\n}\n\nexport interface UpdateLargeFaceListFaceDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface UpdateLargeFaceListFaceDefaultResponse extends HttpResponse {\n status: string;\n body: FaceErrorResponseOutput;\n headers: RawHttpHeaders & UpdateLargeFaceListFaceDefaultHeaders;\n}\n\n/** A successful call returns an array of persisted faces and their information (persistedFaceId and userData). */\nexport interface GetLargeFaceListFaces200Response extends HttpResponse {\n status: \"200\";\n body: Array<LargeFaceListFaceOutput>;\n}\n\nexport interface GetLargeFaceListFacesDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface GetLargeFaceListFacesDefaultResponse extends HttpResponse {\n status: string;\n body: FaceErrorResponseOutput;\n headers: RawHttpHeaders & GetLargeFaceListFacesDefaultHeaders;\n}\n\nexport interface CreatePerson202Headers {\n \"operation-location\": string;\n location: string;\n}\n\n/** 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. */\nexport interface CreatePerson202Response extends HttpResponse {\n status: \"202\";\n body: CreatePersonResultOutput;\n headers: RawHttpHeaders & CreatePerson202Headers;\n}\n\nexport interface CreatePersonDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface CreatePersonDefaultResponse extends HttpResponse {\n status: string;\n body: FaceErrorResponseOutput;\n headers: RawHttpHeaders & CreatePersonDefaultHeaders;\n}\n\n/** The final response for long-running createPerson operation */\nexport interface CreatePersonLogicalResponse extends HttpResponse {\n status: \"200\";\n body: CreatePersonResultOutput;\n}\n\nexport interface DeletePerson202Headers {\n \"operation-location\": string;\n}\n\n/** 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. */\nexport interface DeletePerson202Response extends HttpResponse {\n status: \"202\";\n headers: RawHttpHeaders & DeletePerson202Headers;\n}\n\nexport interface DeletePersonDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface DeletePersonDefaultResponse extends HttpResponse {\n status: string;\n body: FaceErrorResponseOutput;\n headers: RawHttpHeaders & DeletePersonDefaultHeaders;\n}\n\n/** The final response for long-running deletePerson operation */\nexport interface DeletePersonLogicalResponse extends HttpResponse {\n status: \"200\";\n}\n\n/** A successful call returns the person's information. */\nexport interface GetPerson200Response extends HttpResponse {\n status: \"200\";\n body: PersonDirectoryPersonOutput;\n}\n\nexport interface GetPersonDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface GetPersonDefaultResponse extends HttpResponse {\n status: string;\n body: FaceErrorResponseOutput;\n headers: RawHttpHeaders & GetPersonDefaultHeaders;\n}\n\n/** The request has succeeded. */\nexport interface UpdatePerson200Response extends HttpResponse {\n status: \"200\";\n}\n\nexport interface UpdatePersonDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface UpdatePersonDefaultResponse extends HttpResponse {\n status: string;\n body: FaceErrorResponseOutput;\n headers: RawHttpHeaders & UpdatePersonDefaultHeaders;\n}\n\n/** A successful call returns an array of Person Directory Persons contained in the Dynamic Person Group. */\nexport interface GetPersons200Response extends HttpResponse {\n status: \"200\";\n body: Array<PersonDirectoryPersonOutput>;\n}\n\nexport interface GetPersonsDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface GetPersonsDefaultResponse extends HttpResponse {\n status: string;\n body: FaceErrorResponseOutput;\n headers: RawHttpHeaders & GetPersonsDefaultHeaders;\n}\n\n/** A successful call returns an array of dynamicPersonGroups information that reference the provided personId. */\nexport interface GetDynamicPersonGroupReferences200Response extends HttpResponse {\n status: \"200\";\n body: ListGroupReferenceResultOutput;\n}\n\nexport interface GetDynamicPersonGroupReferencesDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface GetDynamicPersonGroupReferencesDefaultResponse extends HttpResponse {\n status: string;\n body: FaceErrorResponseOutput;\n headers: RawHttpHeaders & GetDynamicPersonGroupReferencesDefaultHeaders;\n}\n\nexport interface AddPersonFace202Headers {\n \"operation-location\": string;\n location: string;\n}\n\n/** 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. */\nexport interface AddPersonFace202Response extends HttpResponse {\n status: \"202\";\n body: AddFaceResultOutput;\n headers: RawHttpHeaders & AddPersonFace202Headers;\n}\n\nexport interface AddPersonFaceDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface AddPersonFaceDefaultResponse extends HttpResponse {\n status: string;\n body: FaceErrorResponseOutput;\n headers: RawHttpHeaders & AddPersonFaceDefaultHeaders;\n}\n\n/** The final response for long-running addPersonFace operation */\nexport interface AddPersonFaceLogicalResponse extends HttpResponse {\n status: \"200\";\n body: AddFaceResultOutput;\n}\n\nexport interface AddPersonFaceFromUrl202Headers {\n \"operation-location\": string;\n location: string;\n}\n\n/** 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. */\nexport interface AddPersonFaceFromUrl202Response extends HttpResponse {\n status: \"202\";\n body: AddFaceResultOutput;\n headers: RawHttpHeaders & AddPersonFaceFromUrl202Headers;\n}\n\nexport interface AddPersonFaceFromUrlDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface AddPersonFaceFromUrlDefaultResponse extends HttpResponse {\n status: string;\n body: FaceErrorResponseOutput;\n headers: RawHttpHeaders & AddPersonFaceFromUrlDefaultHeaders;\n}\n\n/** The final response for long-running addPersonFaceFromUrl operation */\nexport interface AddPersonFaceFromUrlLogicalResponse extends HttpResponse {\n status: \"200\";\n body: AddFaceResultOutput;\n}\n\nexport interface DeletePersonFace202Headers {\n \"operation-location\": string;\n}\n\n/** 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. */\nexport interface DeletePersonFace202Response extends HttpResponse {\n status: \"202\";\n headers: RawHttpHeaders & DeletePersonFace202Headers;\n}\n\nexport interface DeletePersonFaceDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface DeletePersonFaceDefaultResponse extends HttpResponse {\n status: string;\n body: FaceErrorResponseOutput;\n headers: RawHttpHeaders & DeletePersonFaceDefaultHeaders;\n}\n\n/** The final response for long-running deletePersonFace operation */\nexport interface DeletePersonFaceLogicalResponse extends HttpResponse {\n status: \"200\";\n}\n\n/** A successful call returns target persisted face's information (persistedFaceId and userData). */\nexport interface GetPersonFace200Response extends HttpResponse {\n status: \"200\";\n body: PersonDirectoryFaceOutput;\n}\n\nexport interface GetPersonFaceDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface GetPersonFaceDefaultResponse extends HttpResponse {\n status: string;\n body: FaceErrorResponseOutput;\n headers: RawHttpHeaders & GetPersonFaceDefaultHeaders;\n}\n\n/** The request has succeeded. */\nexport interface UpdatePersonFace200Response extends HttpResponse {\n status: \"200\";\n}\n\nexport interface UpdatePersonFaceDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface UpdatePersonFaceDefaultResponse extends HttpResponse {\n status: string;\n body: FaceErrorResponseOutput;\n headers: RawHttpHeaders & UpdatePersonFaceDefaultHeaders;\n}\n\n/** A successful call returns an array of persistedFaceIds and and a person ID. */\nexport interface GetPersonFaces200Response extends HttpResponse {\n status: \"200\";\n body: ListFaceResultOutput;\n}\n\nexport interface GetPersonFacesDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface GetPersonFacesDefaultResponse extends HttpResponse {\n status: string;\n body: FaceErrorResponseOutput;\n headers: RawHttpHeaders & GetPersonFacesDefaultHeaders;\n}\n\nexport interface CreateDynamicPersonGroupWithPerson202Headers {\n \"operation-location\": string;\n}\n\n/** 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. */\nexport interface CreateDynamicPersonGroupWithPerson202Response extends HttpResponse {\n status: \"202\";\n headers: RawHttpHeaders & CreateDynamicPersonGroupWithPerson202Headers;\n}\n\nexport interface CreateDynamicPersonGroupWithPersonDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface CreateDynamicPersonGroupWithPersonDefaultResponse extends HttpResponse {\n status: string;\n body: FaceErrorResponseOutput;\n headers: RawHttpHeaders & CreateDynamicPersonGroupWithPersonDefaultHeaders;\n}\n\n/** The final response for long-running createDynamicPersonGroupWithPerson operation */\nexport interface CreateDynamicPersonGroupWithPersonLogicalResponse extends HttpResponse {\n status: \"200\";\n}\n\n/** The request has succeeded. */\nexport interface CreateDynamicPersonGroup200Response extends HttpResponse {\n status: \"200\";\n}\n\nexport interface CreateDynamicPersonGroupDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface CreateDynamicPersonGroupDefaultResponse extends HttpResponse {\n status: string;\n body: FaceErrorResponseOutput;\n headers: RawHttpHeaders & CreateDynamicPersonGroupDefaultHeaders;\n}\n\nexport interface DeleteDynamicPersonGroup202Headers {\n \"operation-location\": string;\n}\n\n/** 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. */\nexport interface DeleteDynamicPersonGroup202Response extends HttpResponse {\n status: \"202\";\n headers: RawHttpHeaders & DeleteDynamicPersonGroup202Headers;\n}\n\nexport interface DeleteDynamicPersonGroupDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface DeleteDynamicPersonGroupDefaultResponse extends HttpResponse {\n status: string;\n body: FaceErrorResponseOutput;\n headers: RawHttpHeaders & DeleteDynamicPersonGroupDefaultHeaders;\n}\n\n/** The final response for long-running deleteDynamicPersonGroup operation */\nexport interface DeleteDynamicPersonGroupLogicalResponse extends HttpResponse {\n status: \"200\";\n}\n\n/** A successful call returns the Dynamic Person Group's information. */\nexport interface GetDynamicPersonGroup200Response extends HttpResponse {\n status: \"200\";\n body: DynamicPersonGroupOutput;\n}\n\nexport interface GetDynamicPersonGroupDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface GetDynamicPersonGroupDefaultResponse extends HttpResponse {\n status: string;\n body: FaceErrorResponseOutput;\n headers: RawHttpHeaders & GetDynamicPersonGroupDefaultHeaders;\n}\n\nexport interface UpdateDynamicPersonGroupWithPersonChanges202Headers {\n \"operation-location\": string;\n}\n\n/** 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. */\nexport interface UpdateDynamicPersonGroupWithPersonChanges202Response extends HttpResponse {\n status: \"202\";\n headers: RawHttpHeaders & UpdateDynamicPersonGroupWithPersonChanges202Headers;\n}\n\nexport interface UpdateDynamicPersonGroupWithPersonChangesDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface UpdateDynamicPersonGroupWithPersonChangesDefaultResponse extends HttpResponse {\n status: string;\n body: FaceErrorResponseOutput;\n headers: RawHttpHeaders & UpdateDynamicPersonGroupWithPersonChangesDefaultHeaders;\n}\n\n/** The final response for long-running updateDynamicPersonGroupWithPersonChanges operation */\nexport interface UpdateDynamicPersonGroupWithPersonChangesLogicalResponse extends HttpResponse {\n status: \"200\";\n}\n\n/** The request has succeeded. */\nexport interface UpdateDynamicPersonGroup200Response extends HttpResponse {\n status: \"200\";\n}\n\nexport interface UpdateDynamicPersonGroupDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface UpdateDynamicPersonGroupDefaultResponse extends HttpResponse {\n status: string;\n body: FaceErrorResponseOutput;\n headers: RawHttpHeaders & UpdateDynamicPersonGroupDefaultHeaders;\n}\n\n/** A successful call returns an array of Dynamic Person Groups and their information (dynamicPersonGroupId, name and userData). */\nexport interface GetDynamicPersonGroups200Response extends HttpResponse {\n status: \"200\";\n body: Array<DynamicPersonGroupOutput>;\n}\n\nexport interface GetDynamicPersonGroupsDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface GetDynamicPersonGroupsDefaultResponse extends HttpResponse {\n status: string;\n body: FaceErrorResponseOutput;\n headers: RawHttpHeaders & GetDynamicPersonGroupsDefaultHeaders;\n}\n\n/** A successful call returns an array of person information in the Person Directory. */\nexport interface GetDynamicPersonGroupPersons200Response extends HttpResponse {\n status: \"200\";\n body: ListPersonResultOutput;\n}\n\nexport interface GetDynamicPersonGroupPersonsDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface GetDynamicPersonGroupPersonsDefaultResponse extends HttpResponse {\n status: string;\n body: FaceErrorResponseOutput;\n headers: RawHttpHeaders & GetDynamicPersonGroupPersonsDefaultHeaders;\n}\n\n/** The request has succeeded. */\nexport interface CreatePersonGroup200Response extends HttpResponse {\n status: \"200\";\n}\n\nexport interface CreatePersonGroupDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface CreatePersonGroupDefaultResponse extends HttpResponse {\n status: string;\n body: FaceErrorResponseOutput;\n headers: RawHttpHeaders & CreatePersonGroupDefaultHeaders;\n}\n\n/** The request has succeeded. */\nexport interface DeletePersonGroup200Response extends HttpResponse {\n status: \"200\";\n}\n\nexport interface DeletePersonGroupDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface DeletePersonGroupDefaultResponse extends HttpResponse {\n status: string;\n body: FaceErrorResponseOutput;\n headers: RawHttpHeaders & DeletePersonGroupDefaultHeaders;\n}\n\n/** A successful call returns the Person Group's information. */\nexport interface GetPersonGroup200Response extends HttpResponse {\n status: \"200\";\n body: PersonGroupOutput;\n}\n\nexport interface GetPersonGroupDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface GetPersonGroupDefaultResponse extends HttpResponse {\n status: string;\n body: FaceErrorResponseOutput;\n headers: RawHttpHeaders & GetPersonGroupDefaultHeaders;\n}\n\n/** The request has succeeded. */\nexport interface UpdatePersonGroup200Response extends HttpResponse {\n status: \"200\";\n}\n\nexport interface UpdatePersonGroupDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface UpdatePersonGroupDefaultResponse extends HttpResponse {\n status: string;\n body: FaceErrorResponseOutput;\n headers: RawHttpHeaders & UpdatePersonGroupDefaultHeaders;\n}\n\n/** A successful call returns an array of Person Groups and their information (personGroupId, name and userData). */\nexport interface GetPersonGroups200Response extends HttpResponse {\n status: \"200\";\n body: Array<PersonGroupOutput>;\n}\n\nexport interface GetPersonGroupsDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface GetPersonGroupsDefaultResponse extends HttpResponse {\n status: string;\n body: FaceErrorResponseOutput;\n headers: RawHttpHeaders & GetPersonGroupsDefaultHeaders;\n}\n\n/** A successful call returns the Person Group's training status. */\nexport interface GetPersonGroupTrainingStatus200Response extends HttpResponse {\n status: \"200\";\n body: TrainingResultOutput;\n}\n\nexport interface GetPersonGroupTrainingStatusDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface GetPersonGroupTrainingStatusDefaultResponse extends HttpResponse {\n status: string;\n body: FaceErrorResponseOutput;\n headers: RawHttpHeaders & GetPersonGroupTrainingStatusDefaultHeaders;\n}\n\nexport interface TrainPersonGroup202Headers {\n \"operation-location\": string;\n}\n\n/** A successful call returns an empty response body. */\nexport interface TrainPersonGroup202Response extends HttpResponse {\n status: \"202\";\n headers: RawHttpHeaders & TrainPersonGroup202Headers;\n}\n\nexport interface TrainPersonGroupDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface TrainPersonGroupDefaultResponse extends HttpResponse {\n status: string;\n body: FaceErrorResponseOutput;\n headers: RawHttpHeaders & TrainPersonGroupDefaultHeaders;\n}\n\n/** The final response for long-running trainPersonGroup operation */\nexport interface TrainPersonGroupLogicalResponse extends HttpResponse {\n status: \"200\";\n}\n\n/** A successful call returns a new personId created. */\nexport interface CreatePersonGroupPerson200Response extends HttpResponse {\n status: \"200\";\n body: CreatePersonResultOutput;\n}\n\nexport interface CreatePersonGroupPersonDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface CreatePersonGroupPersonDefaultResponse extends HttpResponse {\n status: string;\n body: FaceErrorResponseOutput;\n headers: RawHttpHeaders & CreatePersonGroupPersonDefaultHeaders;\n}\n\n/** The request has succeeded. */\nexport interface DeletePersonGroupPerson200Response extends HttpResponse {\n status: \"200\";\n}\n\nexport interface DeletePersonGroupPersonDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface DeletePersonGroupPersonDefaultResponse extends HttpResponse {\n status: string;\n body: FaceErrorResponseOutput;\n headers: RawHttpHeaders & DeletePersonGroupPersonDefaultHeaders;\n}\n\n/** A successful call returns the person's information. */\nexport interface GetPersonGroupPerson200Response extends HttpResponse {\n status: \"200\";\n body: PersonGroupPersonOutput;\n}\n\nexport interface GetPersonGroupPersonDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface GetPersonGroupPersonDefaultResponse extends HttpResponse {\n status: string;\n body: FaceErrorResponseOutput;\n headers: RawHttpHeaders & GetPersonGroupPersonDefaultHeaders;\n}\n\n/** The request has succeeded. */\nexport interface UpdatePersonGroupPerson200Response extends HttpResponse {\n status: \"200\";\n}\n\nexport interface UpdatePersonGroupPersonDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface UpdatePersonGroupPersonDefaultResponse extends HttpResponse {\n status: string;\n body: FaceErrorResponseOutput;\n headers: RawHttpHeaders & UpdatePersonGroupPersonDefaultHeaders;\n}\n\n/** A successful call returns an array of person information that belong to the Person Group. */\nexport interface GetPersonGroupPersons200Response extends HttpResponse {\n status: \"200\";\n body: Array<PersonGroupPersonOutput>;\n}\n\nexport interface GetPersonGroupPersonsDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface GetPersonGroupPersonsDefaultResponse extends HttpResponse {\n status: string;\n body: FaceErrorResponseOutput;\n headers: RawHttpHeaders & GetPersonGroupPersonsDefaultHeaders;\n}\n\n/** A successful call returns a new persistedFaceId. */\nexport interface AddPersonGroupPersonFaceFromUrl200Response extends HttpResponse {\n status: \"200\";\n body: AddFaceResultOutput;\n}\n\nexport interface AddPersonGroupPersonFaceFromUrlDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface AddPersonGroupPersonFaceFromUrlDefaultResponse extends HttpResponse {\n status: string;\n body: FaceErrorResponseOutput;\n headers: RawHttpHeaders & AddPersonGroupPersonFaceFromUrlDefaultHeaders;\n}\n\n/** A successful call returns a new persistedFaceId. */\nexport interface AddPersonGroupPersonFace200Response extends HttpResponse {\n status: \"200\";\n body: AddFaceResultOutput;\n}\n\nexport interface AddPersonGroupPersonFaceDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface AddPersonGroupPersonFaceDefaultResponse extends HttpResponse {\n status: string;\n body: FaceErrorResponseOutput;\n headers: RawHttpHeaders & AddPersonGroupPersonFaceDefaultHeaders;\n}\n\n/** The request has succeeded. */\nexport interface DeletePersonGroupPersonFace200Response extends HttpResponse {\n status: \"200\";\n}\n\nexport interface DeletePersonGroupPersonFaceDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface DeletePersonGroupPersonFaceDefaultResponse extends HttpResponse {\n status: string;\n body: FaceErrorResponseOutput;\n headers: RawHttpHeaders & DeletePersonGroupPersonFaceDefaultHeaders;\n}\n\n/** A successful call returns target persisted face's information (persistedFaceId and userData). */\nexport interface GetPersonGroupPersonFace200Response extends HttpResponse {\n status: \"200\";\n body: PersonGroupPersonFaceOutput;\n}\n\nexport interface GetPersonGroupPersonFaceDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface GetPersonGroupPersonFaceDefaultResponse extends HttpResponse {\n status: string;\n body: FaceErrorResponseOutput;\n headers: RawHttpHeaders & GetPersonGroupPersonFaceDefaultHeaders;\n}\n\n/** The request has succeeded. */\nexport interface UpdatePersonGroupPersonFace200Response extends HttpResponse {\n status: \"200\";\n}\n\nexport interface UpdatePersonGroupPersonFaceDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface UpdatePersonGroupPersonFaceDefaultResponse extends HttpResponse {\n status: string;\n body: FaceErrorResponseOutput;\n headers: RawHttpHeaders & UpdatePersonGroupPersonFaceDefaultHeaders;\n}\n\n/** The request has succeeded. */\nexport interface CreateLargePersonGroup200Response extends HttpResponse {\n status: \"200\";\n}\n\nexport interface CreateLargePersonGroupDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface CreateLargePersonGroupDefaultResponse extends HttpResponse {\n status: string;\n body: FaceErrorResponseOutput;\n headers: RawHttpHeaders & CreateLargePersonGroupDefaultHeaders;\n}\n\n/** The request has succeeded. */\nexport interface DeleteLargePersonGroup200Response extends HttpResponse {\n status: \"200\";\n}\n\nexport interface DeleteLargePersonGroupDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface DeleteLargePersonGroupDefaultResponse extends HttpResponse {\n status: string;\n body: FaceErrorResponseOutput;\n headers: RawHttpHeaders & DeleteLargePersonGroupDefaultHeaders;\n}\n\n/** A successful call returns the Large Person Group's information. */\nexport interface GetLargePersonGroup200Response extends HttpResponse {\n status: \"200\";\n body: LargePersonGroupOutput;\n}\n\nexport interface GetLargePersonGroupDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface GetLargePersonGroupDefaultResponse extends HttpResponse {\n status: string;\n body: FaceErrorResponseOutput;\n headers: RawHttpHeaders & GetLargePersonGroupDefaultHeaders;\n}\n\n/** The request has succeeded. */\nexport interface UpdateLargePersonGroup200Response extends HttpResponse {\n status: \"200\";\n}\n\nexport interface UpdateLargePersonGroupDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface UpdateLargePersonGroupDefaultResponse extends HttpResponse {\n status: string;\n body: FaceErrorResponseOutput;\n headers: RawHttpHeaders & UpdateLargePersonGroupDefaultHeaders;\n}\n\n/** A successful call returns an array of Large Person Groups and their information (largePersonGroupId, name and userData). */\nexport interface GetLargePersonGroups200Response extends HttpResponse {\n status: \"200\";\n body: Array<LargePersonGroupOutput>;\n}\n\nexport interface GetLargePersonGroupsDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface GetLargePersonGroupsDefaultResponse extends HttpResponse {\n status: string;\n body: FaceErrorResponseOutput;\n headers: RawHttpHeaders & GetLargePersonGroupsDefaultHeaders;\n}\n\n/** A successful call returns the Large Person Group's training status. */\nexport interface GetLargePersonGroupTrainingStatus200Response extends HttpResponse {\n status: \"200\";\n body: TrainingResultOutput;\n}\n\nexport interface GetLargePersonGroupTrainingStatusDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface GetLargePersonGroupTrainingStatusDefaultResponse extends HttpResponse {\n status: string;\n body: FaceErrorResponseOutput;\n headers: RawHttpHeaders & GetLargePersonGroupTrainingStatusDefaultHeaders;\n}\n\nexport interface TrainLargePersonGroup202Headers {\n \"operation-location\": string;\n}\n\n/** A successful call returns an empty response body. */\nexport interface TrainLargePersonGroup202Response extends HttpResponse {\n status: \"202\";\n headers: RawHttpHeaders & TrainLargePersonGroup202Headers;\n}\n\nexport interface TrainLargePersonGroupDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface TrainLargePersonGroupDefaultResponse extends HttpResponse {\n status: string;\n body: FaceErrorResponseOutput;\n headers: RawHttpHeaders & TrainLargePersonGroupDefaultHeaders;\n}\n\n/** The final response for long-running trainLargePersonGroup operation */\nexport interface TrainLargePersonGroupLogicalResponse extends HttpResponse {\n status: \"200\";\n}\n\n/** A successful call returns a new personId created. */\nexport interface CreateLargePersonGroupPerson200Response extends HttpResponse {\n status: \"200\";\n body: CreatePersonResultOutput;\n}\n\nexport interface CreateLargePersonGroupPersonDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface CreateLargePersonGroupPersonDefaultResponse extends HttpResponse {\n status: string;\n body: FaceErrorResponseOutput;\n headers: RawHttpHeaders & CreateLargePersonGroupPersonDefaultHeaders;\n}\n\n/** The request has succeeded. */\nexport interface DeleteLargePersonGroupPerson200Response extends HttpResponse {\n status: \"200\";\n}\n\nexport interface DeleteLargePersonGroupPersonDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface DeleteLargePersonGroupPersonDefaultResponse extends HttpResponse {\n status: string;\n body: FaceErrorResponseOutput;\n headers: RawHttpHeaders & DeleteLargePersonGroupPersonDefaultHeaders;\n}\n\n/** A successful call returns the person's information. */\nexport interface GetLargePersonGroupPerson200Response extends HttpResponse {\n status: \"200\";\n body: LargePersonGroupPersonOutput;\n}\n\nexport interface GetLargePersonGroupPersonDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface GetLargePersonGroupPersonDefaultResponse extends HttpResponse {\n status: string;\n body: FaceErrorResponseOutput;\n headers: RawHttpHeaders & GetLargePersonGroupPersonDefaultHeaders;\n}\n\n/** The request has succeeded. */\nexport interface UpdateLargePersonGroupPerson200Response extends HttpResponse {\n status: \"200\";\n}\n\nexport interface UpdateLargePersonGroupPersonDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface UpdateLargePersonGroupPersonDefaultResponse extends HttpResponse {\n status: string;\n body: FaceErrorResponseOutput;\n headers: RawHttpHeaders & UpdateLargePersonGroupPersonDefaultHeaders;\n}\n\n/** A successful call returns an array of person information that belong to the Large Person Group. */\nexport interface GetLargePersonGroupPersons200Response extends HttpResponse {\n status: \"200\";\n body: Array<LargePersonGroupPersonOutput>;\n}\n\nexport interface GetLargePersonGroupPersonsDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface GetLargePersonGroupPersonsDefaultResponse extends HttpResponse {\n status: string;\n body: FaceErrorResponseOutput;\n headers: RawHttpHeaders & GetLargePersonGroupPersonsDefaultHeaders;\n}\n\n/** A successful call returns a new persistedFaceId. */\nexport interface AddLargePersonGroupPersonFaceFromUrl200Response extends HttpResponse {\n status: \"200\";\n body: AddFaceResultOutput;\n}\n\nexport interface AddLargePersonGroupPersonFaceFromUrlDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface AddLargePersonGroupPersonFaceFromUrlDefaultResponse extends HttpResponse {\n status: string;\n body: FaceErrorResponseOutput;\n headers: RawHttpHeaders & AddLargePersonGroupPersonFaceFromUrlDefaultHeaders;\n}\n\n/** A successful call returns a new persistedFaceId. */\nexport interface AddLargePersonGroupPersonFace200Response extends HttpResponse {\n status: \"200\";\n body: AddFaceResultOutput;\n}\n\nexport interface AddLargePersonGroupPersonFaceDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface AddLargePersonGroupPersonFaceDefaultResponse extends HttpResponse {\n status: string;\n body: FaceErrorResponseOutput;\n headers: RawHttpHeaders & AddLargePersonGroupPersonFaceDefaultHeaders;\n}\n\n/** The request has succeeded. */\nexport interface DeleteLargePersonGroupPersonFace200Response extends HttpResponse {\n status: \"200\";\n}\n\nexport interface DeleteLargePersonGroupPersonFaceDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface DeleteLargePersonGroupPersonFaceDefaultResponse extends HttpResponse {\n status: string;\n body: FaceErrorResponseOutput;\n headers: RawHttpHeaders & DeleteLargePersonGroupPersonFaceDefaultHeaders;\n}\n\n/** A successful call returns target persisted face's information (persistedFaceId and userData). */\nexport interface GetLargePersonGroupPersonFace200Response extends HttpResponse {\n status: \"200\";\n body: LargePersonGroupPersonFaceOutput;\n}\n\nexport interface GetLargePersonGroupPersonFaceDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface GetLargePersonGroupPersonFaceDefaultResponse extends HttpResponse {\n status: string;\n body: FaceErrorResponseOutput;\n headers: RawHttpHeaders & GetLargePersonGroupPersonFaceDefaultHeaders;\n}\n\n/** The request has succeeded. */\nexport interface UpdateLargePersonGroupPersonFace200Response extends HttpResponse {\n status: \"200\";\n}\n\nexport interface UpdateLargePersonGroupPersonFaceDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface UpdateLargePersonGroupPersonFaceDefaultResponse extends HttpResponse {\n status: string;\n body: FaceErrorResponseOutput;\n headers: RawHttpHeaders & UpdateLargePersonGroupPersonFaceDefaultHeaders;\n}\n"]}
1
+ {"version":3,"file":"responses.js","sourceRoot":"","sources":["../../src/responses.ts"],"names":[],"mappings":";AAAA,uCAAuC;AACvC,kCAAkC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport { RawHttpHeaders } from \"@azure/core-rest-pipeline\";\nimport { HttpResponse } from \"@azure-rest/core-client\";\nimport {\n OperationResultOutput,\n FaceErrorResponseOutput,\n FaceDetectionResultOutput,\n FindSimilarResultOutput,\n IdentificationResultOutput,\n VerificationResultOutput,\n GroupingResultOutput,\n CreateLivenessSessionResultOutput,\n LivenessSessionOutput,\n LivenessSessionItemOutput,\n LivenessSessionAuditEntryOutput,\n CreateLivenessWithVerifySessionResultOutput,\n LivenessWithVerifySessionOutput,\n FaceListOutput,\n FaceListItemOutput,\n AddFaceResultOutput,\n LargeFaceListOutput,\n TrainingResultOutput,\n LargeFaceListFaceOutput,\n CreatePersonResultOutput,\n PersonDirectoryPersonOutput,\n ListGroupReferenceResultOutput,\n PersonDirectoryFaceOutput,\n ListFaceResultOutput,\n DynamicPersonGroupOutput,\n ListPersonResultOutput,\n PersonGroupOutput,\n PersonGroupPersonOutput,\n PersonGroupPersonFaceOutput,\n LargePersonGroupOutput,\n LargePersonGroupPersonOutput,\n LargePersonGroupPersonFaceOutput,\n} from \"./outputModels.js\";\n\n/** A successful call returns the long running operation status. */\nexport interface GetOperationResult200Response extends HttpResponse {\n status: \"200\";\n body: OperationResultOutput;\n}\n\nexport interface GetOperationResultDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface GetOperationResultDefaultResponse extends HttpResponse {\n status: string;\n body: FaceErrorResponseOutput;\n headers: RawHttpHeaders & GetOperationResultDefaultHeaders;\n}\n\n/** A successful call returns an array of face entries ranked by face rectangle size in descending order. An empty response indicates no faces detected. */\nexport interface DetectFromUrl200Response extends HttpResponse {\n status: \"200\";\n body: Array<FaceDetectionResultOutput>;\n}\n\nexport interface DetectFromUrlDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface DetectFromUrlDefaultResponse extends HttpResponse {\n status: string;\n body: FaceErrorResponseOutput;\n headers: RawHttpHeaders & DetectFromUrlDefaultHeaders;\n}\n\n/** A successful call returns an array of face entries ranked by face rectangle size in descending order. An empty response indicates no faces detected. */\nexport interface Detect200Response extends HttpResponse {\n status: \"200\";\n body: Array<FaceDetectionResultOutput>;\n}\n\nexport interface DetectDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface DetectDefaultResponse extends HttpResponse {\n status: string;\n body: FaceErrorResponseOutput;\n headers: RawHttpHeaders & DetectDefaultHeaders;\n}\n\n/** 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. */\nexport interface FindSimilar200Response extends HttpResponse {\n status: \"200\";\n body: Array<FindSimilarResultOutput>;\n}\n\nexport interface FindSimilarDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface FindSimilarDefaultResponse extends HttpResponse {\n status: string;\n body: FaceErrorResponseOutput;\n headers: RawHttpHeaders & FindSimilarDefaultHeaders;\n}\n\n/** 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. */\nexport interface FindSimilarFromFaceList200Response extends HttpResponse {\n status: \"200\";\n body: Array<FindSimilarResultOutput>;\n}\n\nexport interface FindSimilarFromFaceListDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface FindSimilarFromFaceListDefaultResponse extends HttpResponse {\n status: string;\n body: FaceErrorResponseOutput;\n headers: RawHttpHeaders & FindSimilarFromFaceListDefaultHeaders;\n}\n\n/** 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. */\nexport interface FindSimilarFromLargeFaceList200Response extends HttpResponse {\n status: \"200\";\n body: Array<FindSimilarResultOutput>;\n}\n\nexport interface FindSimilarFromLargeFaceListDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface FindSimilarFromLargeFaceListDefaultResponse extends HttpResponse {\n status: string;\n body: FaceErrorResponseOutput;\n headers: RawHttpHeaders & FindSimilarFromLargeFaceListDefaultHeaders;\n}\n\n/** A successful call returns the identified candidate person(s) for each query face. */\nexport interface IdentifyFromPersonGroup200Response extends HttpResponse {\n status: \"200\";\n body: Array<IdentificationResultOutput>;\n}\n\nexport interface IdentifyFromPersonGroupDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface IdentifyFromPersonGroupDefaultResponse extends HttpResponse {\n status: string;\n body: FaceErrorResponseOutput;\n headers: RawHttpHeaders & IdentifyFromPersonGroupDefaultHeaders;\n}\n\n/** A successful call returns the identified candidate person(s) for each query face. */\nexport interface IdentifyFromLargePersonGroup200Response extends HttpResponse {\n status: \"200\";\n body: Array<IdentificationResultOutput>;\n}\n\nexport interface IdentifyFromLargePersonGroupDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface IdentifyFromLargePersonGroupDefaultResponse extends HttpResponse {\n status: string;\n body: FaceErrorResponseOutput;\n headers: RawHttpHeaders & IdentifyFromLargePersonGroupDefaultHeaders;\n}\n\n/** A successful call returns the identified candidate person(s) for each query face. */\nexport interface IdentifyFromPersonDirectory200Response extends HttpResponse {\n status: \"200\";\n body: Array<IdentificationResultOutput>;\n}\n\nexport interface IdentifyFromPersonDirectoryDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface IdentifyFromPersonDirectoryDefaultResponse extends HttpResponse {\n status: string;\n body: FaceErrorResponseOutput;\n headers: RawHttpHeaders & IdentifyFromPersonDirectoryDefaultHeaders;\n}\n\n/** A successful call returns the identified candidate person(s) for each query face. */\nexport interface IdentifyFromDynamicPersonGroup200Response extends HttpResponse {\n status: \"200\";\n body: Array<IdentificationResultOutput>;\n}\n\nexport interface IdentifyFromDynamicPersonGroupDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface IdentifyFromDynamicPersonGroupDefaultResponse extends HttpResponse {\n status: string;\n body: FaceErrorResponseOutput;\n headers: RawHttpHeaders & IdentifyFromDynamicPersonGroupDefaultHeaders;\n}\n\n/** A successful call returns the verification result. */\nexport interface VerifyFaceToFace200Response extends HttpResponse {\n status: \"200\";\n body: VerificationResultOutput;\n}\n\nexport interface VerifyFaceToFaceDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface VerifyFaceToFaceDefaultResponse extends HttpResponse {\n status: string;\n body: FaceErrorResponseOutput;\n headers: RawHttpHeaders & VerifyFaceToFaceDefaultHeaders;\n}\n\n/** A successful call returns the verification result. */\nexport interface VerifyFromPersonGroup200Response extends HttpResponse {\n status: \"200\";\n body: VerificationResultOutput;\n}\n\nexport interface VerifyFromPersonGroupDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface VerifyFromPersonGroupDefaultResponse extends HttpResponse {\n status: string;\n body: FaceErrorResponseOutput;\n headers: RawHttpHeaders & VerifyFromPersonGroupDefaultHeaders;\n}\n\n/** A successful call returns the verification result. */\nexport interface VerifyFromLargePersonGroup200Response extends HttpResponse {\n status: \"200\";\n body: VerificationResultOutput;\n}\n\nexport interface VerifyFromLargePersonGroupDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface VerifyFromLargePersonGroupDefaultResponse extends HttpResponse {\n status: string;\n body: FaceErrorResponseOutput;\n headers: RawHttpHeaders & VerifyFromLargePersonGroupDefaultHeaders;\n}\n\n/** A successful call returns the verification result. */\nexport interface VerifyFromPersonDirectory200Response extends HttpResponse {\n status: \"200\";\n body: VerificationResultOutput;\n}\n\nexport interface VerifyFromPersonDirectoryDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface VerifyFromPersonDirectoryDefaultResponse extends HttpResponse {\n status: string;\n body: FaceErrorResponseOutput;\n headers: RawHttpHeaders & VerifyFromPersonDirectoryDefaultHeaders;\n}\n\n/** A successful call returns one or more groups of similar faces (rank by group size) and a messyGroup. */\nexport interface Group200Response extends HttpResponse {\n status: \"200\";\n body: GroupingResultOutput;\n}\n\nexport interface GroupDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface GroupDefaultResponse extends HttpResponse {\n status: string;\n body: FaceErrorResponseOutput;\n headers: RawHttpHeaders & GroupDefaultHeaders;\n}\n\n/** 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. */\nexport interface CreateLivenessSession200Response extends HttpResponse {\n status: \"200\";\n body: CreateLivenessSessionResultOutput;\n}\n\nexport interface CreateLivenessSessionDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface CreateLivenessSessionDefaultResponse extends HttpResponse {\n status: string;\n body: FaceErrorResponseOutput;\n headers: RawHttpHeaders & CreateLivenessSessionDefaultHeaders;\n}\n\n/** The request has succeeded. */\nexport interface DeleteLivenessSession200Response extends HttpResponse {\n status: \"200\";\n}\n\nexport interface DeleteLivenessSessionDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface DeleteLivenessSessionDefaultResponse extends HttpResponse {\n status: string;\n body: FaceErrorResponseOutput;\n headers: RawHttpHeaders & DeleteLivenessSessionDefaultHeaders;\n}\n\n/** The request has succeeded. */\nexport interface GetLivenessSessionResult200Response extends HttpResponse {\n status: \"200\";\n body: LivenessSessionOutput;\n}\n\nexport interface GetLivenessSessionResultDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface GetLivenessSessionResultDefaultResponse extends HttpResponse {\n status: string;\n body: FaceErrorResponseOutput;\n headers: RawHttpHeaders & GetLivenessSessionResultDefaultHeaders;\n}\n\n/** The request has succeeded. */\nexport interface GetLivenessSessions200Response extends HttpResponse {\n status: \"200\";\n body: Array<LivenessSessionItemOutput>;\n}\n\nexport interface GetLivenessSessionsDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface GetLivenessSessionsDefaultResponse extends HttpResponse {\n status: string;\n body: FaceErrorResponseOutput;\n headers: RawHttpHeaders & GetLivenessSessionsDefaultHeaders;\n}\n\n/** The request has succeeded. */\nexport interface GetLivenessSessionAuditEntries200Response extends HttpResponse {\n status: \"200\";\n body: Array<LivenessSessionAuditEntryOutput>;\n}\n\nexport interface GetLivenessSessionAuditEntriesDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface GetLivenessSessionAuditEntriesDefaultResponse extends HttpResponse {\n status: string;\n body: FaceErrorResponseOutput;\n headers: RawHttpHeaders & GetLivenessSessionAuditEntriesDefaultHeaders;\n}\n\n/** 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. */\nexport interface CreateLivenessWithVerifySessionWithVerifyImage200Response extends HttpResponse {\n status: \"200\";\n body: CreateLivenessWithVerifySessionResultOutput;\n}\n\nexport interface CreateLivenessWithVerifySessionWithVerifyImageDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface CreateLivenessWithVerifySessionWithVerifyImageDefaultResponse\n extends HttpResponse {\n status: string;\n body: FaceErrorResponseOutput;\n headers: RawHttpHeaders & CreateLivenessWithVerifySessionWithVerifyImageDefaultHeaders;\n}\n\n/** 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. */\nexport interface CreateLivenessWithVerifySession200Response extends HttpResponse {\n status: \"200\";\n body: CreateLivenessWithVerifySessionResultOutput;\n}\n\nexport interface CreateLivenessWithVerifySessionDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface CreateLivenessWithVerifySessionDefaultResponse extends HttpResponse {\n status: string;\n body: FaceErrorResponseOutput;\n headers: RawHttpHeaders & CreateLivenessWithVerifySessionDefaultHeaders;\n}\n\n/** The request has succeeded. */\nexport interface DeleteLivenessWithVerifySession200Response extends HttpResponse {\n status: \"200\";\n}\n\nexport interface DeleteLivenessWithVerifySessionDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface DeleteLivenessWithVerifySessionDefaultResponse extends HttpResponse {\n status: string;\n body: FaceErrorResponseOutput;\n headers: RawHttpHeaders & DeleteLivenessWithVerifySessionDefaultHeaders;\n}\n\n/** The request has succeeded. */\nexport interface GetLivenessWithVerifySessionResult200Response extends HttpResponse {\n status: \"200\";\n body: LivenessWithVerifySessionOutput;\n}\n\nexport interface GetLivenessWithVerifySessionResultDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface GetLivenessWithVerifySessionResultDefaultResponse extends HttpResponse {\n status: string;\n body: FaceErrorResponseOutput;\n headers: RawHttpHeaders & GetLivenessWithVerifySessionResultDefaultHeaders;\n}\n\n/** The request has succeeded. */\nexport interface GetLivenessWithVerifySessions200Response extends HttpResponse {\n status: \"200\";\n body: Array<LivenessSessionItemOutput>;\n}\n\nexport interface GetLivenessWithVerifySessionsDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface GetLivenessWithVerifySessionsDefaultResponse extends HttpResponse {\n status: string;\n body: FaceErrorResponseOutput;\n headers: RawHttpHeaders & GetLivenessWithVerifySessionsDefaultHeaders;\n}\n\n/** The request has succeeded. */\nexport interface GetLivenessWithVerifySessionAuditEntries200Response extends HttpResponse {\n status: \"200\";\n body: Array<LivenessSessionAuditEntryOutput>;\n}\n\nexport interface GetLivenessWithVerifySessionAuditEntriesDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface GetLivenessWithVerifySessionAuditEntriesDefaultResponse extends HttpResponse {\n status: string;\n body: FaceErrorResponseOutput;\n headers: RawHttpHeaders & GetLivenessWithVerifySessionAuditEntriesDefaultHeaders;\n}\n\n/** The request has succeeded. */\nexport interface CreateFaceList200Response extends HttpResponse {\n status: \"200\";\n}\n\nexport interface CreateFaceListDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface CreateFaceListDefaultResponse extends HttpResponse {\n status: string;\n body: FaceErrorResponseOutput;\n headers: RawHttpHeaders & CreateFaceListDefaultHeaders;\n}\n\n/** The request has succeeded. */\nexport interface DeleteFaceList200Response extends HttpResponse {\n status: \"200\";\n}\n\nexport interface DeleteFaceListDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface DeleteFaceListDefaultResponse extends HttpResponse {\n status: string;\n body: FaceErrorResponseOutput;\n headers: RawHttpHeaders & DeleteFaceListDefaultHeaders;\n}\n\n/** A successful call returns the Face List's information. */\nexport interface GetFaceList200Response extends HttpResponse {\n status: \"200\";\n body: FaceListOutput;\n}\n\nexport interface GetFaceListDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface GetFaceListDefaultResponse extends HttpResponse {\n status: string;\n body: FaceErrorResponseOutput;\n headers: RawHttpHeaders & GetFaceListDefaultHeaders;\n}\n\n/** The request has succeeded. */\nexport interface UpdateFaceList200Response extends HttpResponse {\n status: \"200\";\n}\n\nexport interface UpdateFaceListDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface UpdateFaceListDefaultResponse extends HttpResponse {\n status: string;\n body: FaceErrorResponseOutput;\n headers: RawHttpHeaders & UpdateFaceListDefaultHeaders;\n}\n\n/** A successful call returns an array of Face Lists. */\nexport interface GetFaceLists200Response extends HttpResponse {\n status: \"200\";\n body: Array<FaceListItemOutput>;\n}\n\nexport interface GetFaceListsDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface GetFaceListsDefaultResponse extends HttpResponse {\n status: string;\n body: FaceErrorResponseOutput;\n headers: RawHttpHeaders & GetFaceListsDefaultHeaders;\n}\n\n/** A successful call returns a new persistedFaceId. */\nexport interface AddFaceListFaceFromUrl200Response extends HttpResponse {\n status: \"200\";\n body: AddFaceResultOutput;\n}\n\nexport interface AddFaceListFaceFromUrlDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface AddFaceListFaceFromUrlDefaultResponse extends HttpResponse {\n status: string;\n body: FaceErrorResponseOutput;\n headers: RawHttpHeaders & AddFaceListFaceFromUrlDefaultHeaders;\n}\n\n/** A successful call returns a new persistedFaceId. */\nexport interface AddFaceListFace200Response extends HttpResponse {\n status: \"200\";\n body: AddFaceResultOutput;\n}\n\nexport interface AddFaceListFaceDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface AddFaceListFaceDefaultResponse extends HttpResponse {\n status: string;\n body: FaceErrorResponseOutput;\n headers: RawHttpHeaders & AddFaceListFaceDefaultHeaders;\n}\n\n/** The request has succeeded. */\nexport interface DeleteFaceListFace200Response extends HttpResponse {\n status: \"200\";\n}\n\nexport interface DeleteFaceListFaceDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface DeleteFaceListFaceDefaultResponse extends HttpResponse {\n status: string;\n body: FaceErrorResponseOutput;\n headers: RawHttpHeaders & DeleteFaceListFaceDefaultHeaders;\n}\n\n/** The request has succeeded. */\nexport interface CreateLargeFaceList200Response extends HttpResponse {\n status: \"200\";\n}\n\nexport interface CreateLargeFaceListDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface CreateLargeFaceListDefaultResponse extends HttpResponse {\n status: string;\n body: FaceErrorResponseOutput;\n headers: RawHttpHeaders & CreateLargeFaceListDefaultHeaders;\n}\n\n/** The request has succeeded. */\nexport interface DeleteLargeFaceList200Response extends HttpResponse {\n status: \"200\";\n}\n\nexport interface DeleteLargeFaceListDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface DeleteLargeFaceListDefaultResponse extends HttpResponse {\n status: string;\n body: FaceErrorResponseOutput;\n headers: RawHttpHeaders & DeleteLargeFaceListDefaultHeaders;\n}\n\n/** A successful call returns the Large Face List's information. */\nexport interface GetLargeFaceList200Response extends HttpResponse {\n status: \"200\";\n body: LargeFaceListOutput;\n}\n\nexport interface GetLargeFaceListDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface GetLargeFaceListDefaultResponse extends HttpResponse {\n status: string;\n body: FaceErrorResponseOutput;\n headers: RawHttpHeaders & GetLargeFaceListDefaultHeaders;\n}\n\n/** The request has succeeded. */\nexport interface UpdateLargeFaceList200Response extends HttpResponse {\n status: \"200\";\n}\n\nexport interface UpdateLargeFaceListDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface UpdateLargeFaceListDefaultResponse extends HttpResponse {\n status: string;\n body: FaceErrorResponseOutput;\n headers: RawHttpHeaders & UpdateLargeFaceListDefaultHeaders;\n}\n\n/** A successful call returns an array of Large Face Lists and their information (largeFaceListId, name and userData). */\nexport interface GetLargeFaceLists200Response extends HttpResponse {\n status: \"200\";\n body: Array<LargeFaceListOutput>;\n}\n\nexport interface GetLargeFaceListsDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface GetLargeFaceListsDefaultResponse extends HttpResponse {\n status: string;\n body: FaceErrorResponseOutput;\n headers: RawHttpHeaders & GetLargeFaceListsDefaultHeaders;\n}\n\n/** A successful call returns the Large Face List's training status. */\nexport interface GetLargeFaceListTrainingStatus200Response extends HttpResponse {\n status: \"200\";\n body: TrainingResultOutput;\n}\n\nexport interface GetLargeFaceListTrainingStatusDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface GetLargeFaceListTrainingStatusDefaultResponse extends HttpResponse {\n status: string;\n body: FaceErrorResponseOutput;\n headers: RawHttpHeaders & GetLargeFaceListTrainingStatusDefaultHeaders;\n}\n\nexport interface TrainLargeFaceList202Headers {\n \"operation-location\": string;\n}\n\n/** A successful call returns an empty response body. */\nexport interface TrainLargeFaceList202Response extends HttpResponse {\n status: \"202\";\n headers: RawHttpHeaders & TrainLargeFaceList202Headers;\n}\n\nexport interface TrainLargeFaceListDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface TrainLargeFaceListDefaultResponse extends HttpResponse {\n status: string;\n body: FaceErrorResponseOutput;\n headers: RawHttpHeaders & TrainLargeFaceListDefaultHeaders;\n}\n\n/** The final response for long-running trainLargeFaceList operation */\nexport interface TrainLargeFaceListLogicalResponse extends HttpResponse {\n status: \"200\";\n}\n\n/** A successful call returns a new persistedFaceId. */\nexport interface AddLargeFaceListFaceFromUrl200Response extends HttpResponse {\n status: \"200\";\n body: AddFaceResultOutput;\n}\n\nexport interface AddLargeFaceListFaceFromUrlDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface AddLargeFaceListFaceFromUrlDefaultResponse extends HttpResponse {\n status: string;\n body: FaceErrorResponseOutput;\n headers: RawHttpHeaders & AddLargeFaceListFaceFromUrlDefaultHeaders;\n}\n\n/** A successful call returns a new persistedFaceId. */\nexport interface AddLargeFaceListFace200Response extends HttpResponse {\n status: \"200\";\n body: AddFaceResultOutput;\n}\n\nexport interface AddLargeFaceListFaceDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface AddLargeFaceListFaceDefaultResponse extends HttpResponse {\n status: string;\n body: FaceErrorResponseOutput;\n headers: RawHttpHeaders & AddLargeFaceListFaceDefaultHeaders;\n}\n\n/** The request has succeeded. */\nexport interface DeleteLargeFaceListFace200Response extends HttpResponse {\n status: \"200\";\n}\n\nexport interface DeleteLargeFaceListFaceDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface DeleteLargeFaceListFaceDefaultResponse extends HttpResponse {\n status: string;\n body: FaceErrorResponseOutput;\n headers: RawHttpHeaders & DeleteLargeFaceListFaceDefaultHeaders;\n}\n\n/** A successful call returns target persisted face's information (persistedFaceId and userData). */\nexport interface GetLargeFaceListFace200Response extends HttpResponse {\n status: \"200\";\n body: LargeFaceListFaceOutput;\n}\n\nexport interface GetLargeFaceListFaceDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface GetLargeFaceListFaceDefaultResponse extends HttpResponse {\n status: string;\n body: FaceErrorResponseOutput;\n headers: RawHttpHeaders & GetLargeFaceListFaceDefaultHeaders;\n}\n\n/** The request has succeeded. */\nexport interface UpdateLargeFaceListFace200Response extends HttpResponse {\n status: \"200\";\n}\n\nexport interface UpdateLargeFaceListFaceDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface UpdateLargeFaceListFaceDefaultResponse extends HttpResponse {\n status: string;\n body: FaceErrorResponseOutput;\n headers: RawHttpHeaders & UpdateLargeFaceListFaceDefaultHeaders;\n}\n\n/** A successful call returns an array of persisted faces and their information (persistedFaceId and userData). */\nexport interface GetLargeFaceListFaces200Response extends HttpResponse {\n status: \"200\";\n body: Array<LargeFaceListFaceOutput>;\n}\n\nexport interface GetLargeFaceListFacesDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface GetLargeFaceListFacesDefaultResponse extends HttpResponse {\n status: string;\n body: FaceErrorResponseOutput;\n headers: RawHttpHeaders & GetLargeFaceListFacesDefaultHeaders;\n}\n\nexport interface CreatePerson202Headers {\n \"operation-location\": string;\n location: string;\n}\n\n/** 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. */\nexport interface CreatePerson202Response extends HttpResponse {\n status: \"202\";\n body: CreatePersonResultOutput;\n headers: RawHttpHeaders & CreatePerson202Headers;\n}\n\nexport interface CreatePersonDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface CreatePersonDefaultResponse extends HttpResponse {\n status: string;\n body: FaceErrorResponseOutput;\n headers: RawHttpHeaders & CreatePersonDefaultHeaders;\n}\n\n/** The final response for long-running createPerson operation */\nexport interface CreatePersonLogicalResponse extends HttpResponse {\n status: \"200\";\n body: CreatePersonResultOutput;\n}\n\nexport interface DeletePerson202Headers {\n \"operation-location\": string;\n}\n\n/** 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. */\nexport interface DeletePerson202Response extends HttpResponse {\n status: \"202\";\n headers: RawHttpHeaders & DeletePerson202Headers;\n}\n\nexport interface DeletePersonDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface DeletePersonDefaultResponse extends HttpResponse {\n status: string;\n body: FaceErrorResponseOutput;\n headers: RawHttpHeaders & DeletePersonDefaultHeaders;\n}\n\n/** The final response for long-running deletePerson operation */\nexport interface DeletePersonLogicalResponse extends HttpResponse {\n status: \"200\";\n}\n\n/** A successful call returns the person's information. */\nexport interface GetPerson200Response extends HttpResponse {\n status: \"200\";\n body: PersonDirectoryPersonOutput;\n}\n\nexport interface GetPersonDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface GetPersonDefaultResponse extends HttpResponse {\n status: string;\n body: FaceErrorResponseOutput;\n headers: RawHttpHeaders & GetPersonDefaultHeaders;\n}\n\n/** The request has succeeded. */\nexport interface UpdatePerson200Response extends HttpResponse {\n status: \"200\";\n}\n\nexport interface UpdatePersonDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface UpdatePersonDefaultResponse extends HttpResponse {\n status: string;\n body: FaceErrorResponseOutput;\n headers: RawHttpHeaders & UpdatePersonDefaultHeaders;\n}\n\n/** A successful call returns an array of Person Directory Persons contained in the Dynamic Person Group. */\nexport interface GetPersons200Response extends HttpResponse {\n status: \"200\";\n body: Array<PersonDirectoryPersonOutput>;\n}\n\nexport interface GetPersonsDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface GetPersonsDefaultResponse extends HttpResponse {\n status: string;\n body: FaceErrorResponseOutput;\n headers: RawHttpHeaders & GetPersonsDefaultHeaders;\n}\n\n/** A successful call returns an array of dynamicPersonGroups information that reference the provided personId. */\nexport interface GetDynamicPersonGroupReferences200Response extends HttpResponse {\n status: \"200\";\n body: ListGroupReferenceResultOutput;\n}\n\nexport interface GetDynamicPersonGroupReferencesDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface GetDynamicPersonGroupReferencesDefaultResponse extends HttpResponse {\n status: string;\n body: FaceErrorResponseOutput;\n headers: RawHttpHeaders & GetDynamicPersonGroupReferencesDefaultHeaders;\n}\n\nexport interface AddPersonFace202Headers {\n \"operation-location\": string;\n location: string;\n}\n\n/** 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. */\nexport interface AddPersonFace202Response extends HttpResponse {\n status: \"202\";\n body: AddFaceResultOutput;\n headers: RawHttpHeaders & AddPersonFace202Headers;\n}\n\nexport interface AddPersonFaceDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface AddPersonFaceDefaultResponse extends HttpResponse {\n status: string;\n body: FaceErrorResponseOutput;\n headers: RawHttpHeaders & AddPersonFaceDefaultHeaders;\n}\n\n/** The final response for long-running addPersonFace operation */\nexport interface AddPersonFaceLogicalResponse extends HttpResponse {\n status: \"200\";\n body: AddFaceResultOutput;\n}\n\nexport interface AddPersonFaceFromUrl202Headers {\n \"operation-location\": string;\n location: string;\n}\n\n/** 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. */\nexport interface AddPersonFaceFromUrl202Response extends HttpResponse {\n status: \"202\";\n body: AddFaceResultOutput;\n headers: RawHttpHeaders & AddPersonFaceFromUrl202Headers;\n}\n\nexport interface AddPersonFaceFromUrlDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface AddPersonFaceFromUrlDefaultResponse extends HttpResponse {\n status: string;\n body: FaceErrorResponseOutput;\n headers: RawHttpHeaders & AddPersonFaceFromUrlDefaultHeaders;\n}\n\n/** The final response for long-running addPersonFaceFromUrl operation */\nexport interface AddPersonFaceFromUrlLogicalResponse extends HttpResponse {\n status: \"200\";\n body: AddFaceResultOutput;\n}\n\nexport interface DeletePersonFace202Headers {\n \"operation-location\": string;\n}\n\n/** 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. */\nexport interface DeletePersonFace202Response extends HttpResponse {\n status: \"202\";\n headers: RawHttpHeaders & DeletePersonFace202Headers;\n}\n\nexport interface DeletePersonFaceDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface DeletePersonFaceDefaultResponse extends HttpResponse {\n status: string;\n body: FaceErrorResponseOutput;\n headers: RawHttpHeaders & DeletePersonFaceDefaultHeaders;\n}\n\n/** The final response for long-running deletePersonFace operation */\nexport interface DeletePersonFaceLogicalResponse extends HttpResponse {\n status: \"200\";\n}\n\n/** A successful call returns target persisted face's information (persistedFaceId and userData). */\nexport interface GetPersonFace200Response extends HttpResponse {\n status: \"200\";\n body: PersonDirectoryFaceOutput;\n}\n\nexport interface GetPersonFaceDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface GetPersonFaceDefaultResponse extends HttpResponse {\n status: string;\n body: FaceErrorResponseOutput;\n headers: RawHttpHeaders & GetPersonFaceDefaultHeaders;\n}\n\n/** The request has succeeded. */\nexport interface UpdatePersonFace200Response extends HttpResponse {\n status: \"200\";\n}\n\nexport interface UpdatePersonFaceDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface UpdatePersonFaceDefaultResponse extends HttpResponse {\n status: string;\n body: FaceErrorResponseOutput;\n headers: RawHttpHeaders & UpdatePersonFaceDefaultHeaders;\n}\n\n/** A successful call returns an array of persistedFaceIds and and a person ID. */\nexport interface GetPersonFaces200Response extends HttpResponse {\n status: \"200\";\n body: ListFaceResultOutput;\n}\n\nexport interface GetPersonFacesDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface GetPersonFacesDefaultResponse extends HttpResponse {\n status: string;\n body: FaceErrorResponseOutput;\n headers: RawHttpHeaders & GetPersonFacesDefaultHeaders;\n}\n\nexport interface CreateDynamicPersonGroupWithPerson202Headers {\n \"operation-location\": string;\n}\n\n/** 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. */\nexport interface CreateDynamicPersonGroupWithPerson202Response extends HttpResponse {\n status: \"202\";\n headers: RawHttpHeaders & CreateDynamicPersonGroupWithPerson202Headers;\n}\n\nexport interface CreateDynamicPersonGroupWithPersonDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface CreateDynamicPersonGroupWithPersonDefaultResponse extends HttpResponse {\n status: string;\n body: FaceErrorResponseOutput;\n headers: RawHttpHeaders & CreateDynamicPersonGroupWithPersonDefaultHeaders;\n}\n\n/** The final response for long-running createDynamicPersonGroupWithPerson operation */\nexport interface CreateDynamicPersonGroupWithPersonLogicalResponse extends HttpResponse {\n status: \"200\";\n}\n\n/** The request has succeeded. */\nexport interface CreateDynamicPersonGroup200Response extends HttpResponse {\n status: \"200\";\n}\n\nexport interface CreateDynamicPersonGroupDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface CreateDynamicPersonGroupDefaultResponse extends HttpResponse {\n status: string;\n body: FaceErrorResponseOutput;\n headers: RawHttpHeaders & CreateDynamicPersonGroupDefaultHeaders;\n}\n\nexport interface DeleteDynamicPersonGroup202Headers {\n \"operation-location\": string;\n}\n\n/** 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. */\nexport interface DeleteDynamicPersonGroup202Response extends HttpResponse {\n status: \"202\";\n headers: RawHttpHeaders & DeleteDynamicPersonGroup202Headers;\n}\n\nexport interface DeleteDynamicPersonGroupDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface DeleteDynamicPersonGroupDefaultResponse extends HttpResponse {\n status: string;\n body: FaceErrorResponseOutput;\n headers: RawHttpHeaders & DeleteDynamicPersonGroupDefaultHeaders;\n}\n\n/** The final response for long-running deleteDynamicPersonGroup operation */\nexport interface DeleteDynamicPersonGroupLogicalResponse extends HttpResponse {\n status: \"200\";\n}\n\n/** A successful call returns the Dynamic Person Group's information. */\nexport interface GetDynamicPersonGroup200Response extends HttpResponse {\n status: \"200\";\n body: DynamicPersonGroupOutput;\n}\n\nexport interface GetDynamicPersonGroupDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface GetDynamicPersonGroupDefaultResponse extends HttpResponse {\n status: string;\n body: FaceErrorResponseOutput;\n headers: RawHttpHeaders & GetDynamicPersonGroupDefaultHeaders;\n}\n\nexport interface UpdateDynamicPersonGroupWithPersonChanges202Headers {\n \"operation-location\": string;\n}\n\n/** 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. */\nexport interface UpdateDynamicPersonGroupWithPersonChanges202Response extends HttpResponse {\n status: \"202\";\n headers: RawHttpHeaders & UpdateDynamicPersonGroupWithPersonChanges202Headers;\n}\n\nexport interface UpdateDynamicPersonGroupWithPersonChangesDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface UpdateDynamicPersonGroupWithPersonChangesDefaultResponse extends HttpResponse {\n status: string;\n body: FaceErrorResponseOutput;\n headers: RawHttpHeaders & UpdateDynamicPersonGroupWithPersonChangesDefaultHeaders;\n}\n\n/** The final response for long-running updateDynamicPersonGroupWithPersonChanges operation */\nexport interface UpdateDynamicPersonGroupWithPersonChangesLogicalResponse extends HttpResponse {\n status: \"200\";\n}\n\n/** The request has succeeded. */\nexport interface UpdateDynamicPersonGroup200Response extends HttpResponse {\n status: \"200\";\n}\n\nexport interface UpdateDynamicPersonGroupDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface UpdateDynamicPersonGroupDefaultResponse extends HttpResponse {\n status: string;\n body: FaceErrorResponseOutput;\n headers: RawHttpHeaders & UpdateDynamicPersonGroupDefaultHeaders;\n}\n\n/** A successful call returns an array of Dynamic Person Groups and their information (dynamicPersonGroupId, name and userData). */\nexport interface GetDynamicPersonGroups200Response extends HttpResponse {\n status: \"200\";\n body: Array<DynamicPersonGroupOutput>;\n}\n\nexport interface GetDynamicPersonGroupsDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface GetDynamicPersonGroupsDefaultResponse extends HttpResponse {\n status: string;\n body: FaceErrorResponseOutput;\n headers: RawHttpHeaders & GetDynamicPersonGroupsDefaultHeaders;\n}\n\n/** A successful call returns an array of person information in the Person Directory. */\nexport interface GetDynamicPersonGroupPersons200Response extends HttpResponse {\n status: \"200\";\n body: ListPersonResultOutput;\n}\n\nexport interface GetDynamicPersonGroupPersonsDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface GetDynamicPersonGroupPersonsDefaultResponse extends HttpResponse {\n status: string;\n body: FaceErrorResponseOutput;\n headers: RawHttpHeaders & GetDynamicPersonGroupPersonsDefaultHeaders;\n}\n\n/** The request has succeeded. */\nexport interface CreatePersonGroup200Response extends HttpResponse {\n status: \"200\";\n}\n\nexport interface CreatePersonGroupDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface CreatePersonGroupDefaultResponse extends HttpResponse {\n status: string;\n body: FaceErrorResponseOutput;\n headers: RawHttpHeaders & CreatePersonGroupDefaultHeaders;\n}\n\n/** The request has succeeded. */\nexport interface DeletePersonGroup200Response extends HttpResponse {\n status: \"200\";\n}\n\nexport interface DeletePersonGroupDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface DeletePersonGroupDefaultResponse extends HttpResponse {\n status: string;\n body: FaceErrorResponseOutput;\n headers: RawHttpHeaders & DeletePersonGroupDefaultHeaders;\n}\n\n/** A successful call returns the Person Group's information. */\nexport interface GetPersonGroup200Response extends HttpResponse {\n status: \"200\";\n body: PersonGroupOutput;\n}\n\nexport interface GetPersonGroupDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface GetPersonGroupDefaultResponse extends HttpResponse {\n status: string;\n body: FaceErrorResponseOutput;\n headers: RawHttpHeaders & GetPersonGroupDefaultHeaders;\n}\n\n/** The request has succeeded. */\nexport interface UpdatePersonGroup200Response extends HttpResponse {\n status: \"200\";\n}\n\nexport interface UpdatePersonGroupDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface UpdatePersonGroupDefaultResponse extends HttpResponse {\n status: string;\n body: FaceErrorResponseOutput;\n headers: RawHttpHeaders & UpdatePersonGroupDefaultHeaders;\n}\n\n/** A successful call returns an array of Person Groups and their information (personGroupId, name and userData). */\nexport interface GetPersonGroups200Response extends HttpResponse {\n status: \"200\";\n body: Array<PersonGroupOutput>;\n}\n\nexport interface GetPersonGroupsDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface GetPersonGroupsDefaultResponse extends HttpResponse {\n status: string;\n body: FaceErrorResponseOutput;\n headers: RawHttpHeaders & GetPersonGroupsDefaultHeaders;\n}\n\n/** A successful call returns the Person Group's training status. */\nexport interface GetPersonGroupTrainingStatus200Response extends HttpResponse {\n status: \"200\";\n body: TrainingResultOutput;\n}\n\nexport interface GetPersonGroupTrainingStatusDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface GetPersonGroupTrainingStatusDefaultResponse extends HttpResponse {\n status: string;\n body: FaceErrorResponseOutput;\n headers: RawHttpHeaders & GetPersonGroupTrainingStatusDefaultHeaders;\n}\n\nexport interface TrainPersonGroup202Headers {\n \"operation-location\": string;\n}\n\n/** A successful call returns an empty response body. */\nexport interface TrainPersonGroup202Response extends HttpResponse {\n status: \"202\";\n headers: RawHttpHeaders & TrainPersonGroup202Headers;\n}\n\nexport interface TrainPersonGroupDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface TrainPersonGroupDefaultResponse extends HttpResponse {\n status: string;\n body: FaceErrorResponseOutput;\n headers: RawHttpHeaders & TrainPersonGroupDefaultHeaders;\n}\n\n/** The final response for long-running trainPersonGroup operation */\nexport interface TrainPersonGroupLogicalResponse extends HttpResponse {\n status: \"200\";\n}\n\n/** A successful call returns a new personId created. */\nexport interface CreatePersonGroupPerson200Response extends HttpResponse {\n status: \"200\";\n body: CreatePersonResultOutput;\n}\n\nexport interface CreatePersonGroupPersonDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface CreatePersonGroupPersonDefaultResponse extends HttpResponse {\n status: string;\n body: FaceErrorResponseOutput;\n headers: RawHttpHeaders & CreatePersonGroupPersonDefaultHeaders;\n}\n\n/** The request has succeeded. */\nexport interface DeletePersonGroupPerson200Response extends HttpResponse {\n status: \"200\";\n}\n\nexport interface DeletePersonGroupPersonDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface DeletePersonGroupPersonDefaultResponse extends HttpResponse {\n status: string;\n body: FaceErrorResponseOutput;\n headers: RawHttpHeaders & DeletePersonGroupPersonDefaultHeaders;\n}\n\n/** A successful call returns the person's information. */\nexport interface GetPersonGroupPerson200Response extends HttpResponse {\n status: \"200\";\n body: PersonGroupPersonOutput;\n}\n\nexport interface GetPersonGroupPersonDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface GetPersonGroupPersonDefaultResponse extends HttpResponse {\n status: string;\n body: FaceErrorResponseOutput;\n headers: RawHttpHeaders & GetPersonGroupPersonDefaultHeaders;\n}\n\n/** The request has succeeded. */\nexport interface UpdatePersonGroupPerson200Response extends HttpResponse {\n status: \"200\";\n}\n\nexport interface UpdatePersonGroupPersonDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface UpdatePersonGroupPersonDefaultResponse extends HttpResponse {\n status: string;\n body: FaceErrorResponseOutput;\n headers: RawHttpHeaders & UpdatePersonGroupPersonDefaultHeaders;\n}\n\n/** A successful call returns an array of person information that belong to the Person Group. */\nexport interface GetPersonGroupPersons200Response extends HttpResponse {\n status: \"200\";\n body: Array<PersonGroupPersonOutput>;\n}\n\nexport interface GetPersonGroupPersonsDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface GetPersonGroupPersonsDefaultResponse extends HttpResponse {\n status: string;\n body: FaceErrorResponseOutput;\n headers: RawHttpHeaders & GetPersonGroupPersonsDefaultHeaders;\n}\n\n/** A successful call returns a new persistedFaceId. */\nexport interface AddPersonGroupPersonFaceFromUrl200Response extends HttpResponse {\n status: \"200\";\n body: AddFaceResultOutput;\n}\n\nexport interface AddPersonGroupPersonFaceFromUrlDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface AddPersonGroupPersonFaceFromUrlDefaultResponse extends HttpResponse {\n status: string;\n body: FaceErrorResponseOutput;\n headers: RawHttpHeaders & AddPersonGroupPersonFaceFromUrlDefaultHeaders;\n}\n\n/** A successful call returns a new persistedFaceId. */\nexport interface AddPersonGroupPersonFace200Response extends HttpResponse {\n status: \"200\";\n body: AddFaceResultOutput;\n}\n\nexport interface AddPersonGroupPersonFaceDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface AddPersonGroupPersonFaceDefaultResponse extends HttpResponse {\n status: string;\n body: FaceErrorResponseOutput;\n headers: RawHttpHeaders & AddPersonGroupPersonFaceDefaultHeaders;\n}\n\n/** The request has succeeded. */\nexport interface DeletePersonGroupPersonFace200Response extends HttpResponse {\n status: \"200\";\n}\n\nexport interface DeletePersonGroupPersonFaceDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface DeletePersonGroupPersonFaceDefaultResponse extends HttpResponse {\n status: string;\n body: FaceErrorResponseOutput;\n headers: RawHttpHeaders & DeletePersonGroupPersonFaceDefaultHeaders;\n}\n\n/** A successful call returns target persisted face's information (persistedFaceId and userData). */\nexport interface GetPersonGroupPersonFace200Response extends HttpResponse {\n status: \"200\";\n body: PersonGroupPersonFaceOutput;\n}\n\nexport interface GetPersonGroupPersonFaceDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface GetPersonGroupPersonFaceDefaultResponse extends HttpResponse {\n status: string;\n body: FaceErrorResponseOutput;\n headers: RawHttpHeaders & GetPersonGroupPersonFaceDefaultHeaders;\n}\n\n/** The request has succeeded. */\nexport interface UpdatePersonGroupPersonFace200Response extends HttpResponse {\n status: \"200\";\n}\n\nexport interface UpdatePersonGroupPersonFaceDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface UpdatePersonGroupPersonFaceDefaultResponse extends HttpResponse {\n status: string;\n body: FaceErrorResponseOutput;\n headers: RawHttpHeaders & UpdatePersonGroupPersonFaceDefaultHeaders;\n}\n\n/** The request has succeeded. */\nexport interface CreateLargePersonGroup200Response extends HttpResponse {\n status: \"200\";\n}\n\nexport interface CreateLargePersonGroupDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface CreateLargePersonGroupDefaultResponse extends HttpResponse {\n status: string;\n body: FaceErrorResponseOutput;\n headers: RawHttpHeaders & CreateLargePersonGroupDefaultHeaders;\n}\n\n/** The request has succeeded. */\nexport interface DeleteLargePersonGroup200Response extends HttpResponse {\n status: \"200\";\n}\n\nexport interface DeleteLargePersonGroupDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface DeleteLargePersonGroupDefaultResponse extends HttpResponse {\n status: string;\n body: FaceErrorResponseOutput;\n headers: RawHttpHeaders & DeleteLargePersonGroupDefaultHeaders;\n}\n\n/** A successful call returns the Large Person Group's information. */\nexport interface GetLargePersonGroup200Response extends HttpResponse {\n status: \"200\";\n body: LargePersonGroupOutput;\n}\n\nexport interface GetLargePersonGroupDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface GetLargePersonGroupDefaultResponse extends HttpResponse {\n status: string;\n body: FaceErrorResponseOutput;\n headers: RawHttpHeaders & GetLargePersonGroupDefaultHeaders;\n}\n\n/** The request has succeeded. */\nexport interface UpdateLargePersonGroup200Response extends HttpResponse {\n status: \"200\";\n}\n\nexport interface UpdateLargePersonGroupDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface UpdateLargePersonGroupDefaultResponse extends HttpResponse {\n status: string;\n body: FaceErrorResponseOutput;\n headers: RawHttpHeaders & UpdateLargePersonGroupDefaultHeaders;\n}\n\n/** A successful call returns an array of Large Person Groups and their information (largePersonGroupId, name and userData). */\nexport interface GetLargePersonGroups200Response extends HttpResponse {\n status: \"200\";\n body: Array<LargePersonGroupOutput>;\n}\n\nexport interface GetLargePersonGroupsDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface GetLargePersonGroupsDefaultResponse extends HttpResponse {\n status: string;\n body: FaceErrorResponseOutput;\n headers: RawHttpHeaders & GetLargePersonGroupsDefaultHeaders;\n}\n\n/** A successful call returns the Large Person Group's training status. */\nexport interface GetLargePersonGroupTrainingStatus200Response extends HttpResponse {\n status: \"200\";\n body: TrainingResultOutput;\n}\n\nexport interface GetLargePersonGroupTrainingStatusDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface GetLargePersonGroupTrainingStatusDefaultResponse extends HttpResponse {\n status: string;\n body: FaceErrorResponseOutput;\n headers: RawHttpHeaders & GetLargePersonGroupTrainingStatusDefaultHeaders;\n}\n\nexport interface TrainLargePersonGroup202Headers {\n \"operation-location\": string;\n}\n\n/** A successful call returns an empty response body. */\nexport interface TrainLargePersonGroup202Response extends HttpResponse {\n status: \"202\";\n headers: RawHttpHeaders & TrainLargePersonGroup202Headers;\n}\n\nexport interface TrainLargePersonGroupDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface TrainLargePersonGroupDefaultResponse extends HttpResponse {\n status: string;\n body: FaceErrorResponseOutput;\n headers: RawHttpHeaders & TrainLargePersonGroupDefaultHeaders;\n}\n\n/** The final response for long-running trainLargePersonGroup operation */\nexport interface TrainLargePersonGroupLogicalResponse extends HttpResponse {\n status: \"200\";\n}\n\n/** A successful call returns a new personId created. */\nexport interface CreateLargePersonGroupPerson200Response extends HttpResponse {\n status: \"200\";\n body: CreatePersonResultOutput;\n}\n\nexport interface CreateLargePersonGroupPersonDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface CreateLargePersonGroupPersonDefaultResponse extends HttpResponse {\n status: string;\n body: FaceErrorResponseOutput;\n headers: RawHttpHeaders & CreateLargePersonGroupPersonDefaultHeaders;\n}\n\n/** The request has succeeded. */\nexport interface DeleteLargePersonGroupPerson200Response extends HttpResponse {\n status: \"200\";\n}\n\nexport interface DeleteLargePersonGroupPersonDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface DeleteLargePersonGroupPersonDefaultResponse extends HttpResponse {\n status: string;\n body: FaceErrorResponseOutput;\n headers: RawHttpHeaders & DeleteLargePersonGroupPersonDefaultHeaders;\n}\n\n/** A successful call returns the person's information. */\nexport interface GetLargePersonGroupPerson200Response extends HttpResponse {\n status: \"200\";\n body: LargePersonGroupPersonOutput;\n}\n\nexport interface GetLargePersonGroupPersonDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface GetLargePersonGroupPersonDefaultResponse extends HttpResponse {\n status: string;\n body: FaceErrorResponseOutput;\n headers: RawHttpHeaders & GetLargePersonGroupPersonDefaultHeaders;\n}\n\n/** The request has succeeded. */\nexport interface UpdateLargePersonGroupPerson200Response extends HttpResponse {\n status: \"200\";\n}\n\nexport interface UpdateLargePersonGroupPersonDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface UpdateLargePersonGroupPersonDefaultResponse extends HttpResponse {\n status: string;\n body: FaceErrorResponseOutput;\n headers: RawHttpHeaders & UpdateLargePersonGroupPersonDefaultHeaders;\n}\n\n/** A successful call returns an array of person information that belong to the Large Person Group. */\nexport interface GetLargePersonGroupPersons200Response extends HttpResponse {\n status: \"200\";\n body: Array<LargePersonGroupPersonOutput>;\n}\n\nexport interface GetLargePersonGroupPersonsDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface GetLargePersonGroupPersonsDefaultResponse extends HttpResponse {\n status: string;\n body: FaceErrorResponseOutput;\n headers: RawHttpHeaders & GetLargePersonGroupPersonsDefaultHeaders;\n}\n\n/** A successful call returns a new persistedFaceId. */\nexport interface AddLargePersonGroupPersonFaceFromUrl200Response extends HttpResponse {\n status: \"200\";\n body: AddFaceResultOutput;\n}\n\nexport interface AddLargePersonGroupPersonFaceFromUrlDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface AddLargePersonGroupPersonFaceFromUrlDefaultResponse extends HttpResponse {\n status: string;\n body: FaceErrorResponseOutput;\n headers: RawHttpHeaders & AddLargePersonGroupPersonFaceFromUrlDefaultHeaders;\n}\n\n/** A successful call returns a new persistedFaceId. */\nexport interface AddLargePersonGroupPersonFace200Response extends HttpResponse {\n status: \"200\";\n body: AddFaceResultOutput;\n}\n\nexport interface AddLargePersonGroupPersonFaceDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface AddLargePersonGroupPersonFaceDefaultResponse extends HttpResponse {\n status: string;\n body: FaceErrorResponseOutput;\n headers: RawHttpHeaders & AddLargePersonGroupPersonFaceDefaultHeaders;\n}\n\n/** The request has succeeded. */\nexport interface DeleteLargePersonGroupPersonFace200Response extends HttpResponse {\n status: \"200\";\n}\n\nexport interface DeleteLargePersonGroupPersonFaceDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface DeleteLargePersonGroupPersonFaceDefaultResponse extends HttpResponse {\n status: string;\n body: FaceErrorResponseOutput;\n headers: RawHttpHeaders & DeleteLargePersonGroupPersonFaceDefaultHeaders;\n}\n\n/** A successful call returns target persisted face's information (persistedFaceId and userData). */\nexport interface GetLargePersonGroupPersonFace200Response extends HttpResponse {\n status: \"200\";\n body: LargePersonGroupPersonFaceOutput;\n}\n\nexport interface GetLargePersonGroupPersonFaceDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface GetLargePersonGroupPersonFaceDefaultResponse extends HttpResponse {\n status: string;\n body: FaceErrorResponseOutput;\n headers: RawHttpHeaders & GetLargePersonGroupPersonFaceDefaultHeaders;\n}\n\n/** The request has succeeded. */\nexport interface UpdateLargePersonGroupPersonFace200Response extends HttpResponse {\n status: \"200\";\n}\n\nexport interface UpdateLargePersonGroupPersonFaceDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface UpdateLargePersonGroupPersonFaceDefaultResponse extends HttpResponse {\n status: string;\n body: FaceErrorResponseOutput;\n headers: RawHttpHeaders & UpdateLargePersonGroupPersonFaceDefaultHeaders;\n}\n"]}