@azure-rest/ai-vision-face 1.0.0-alpha.20250210.1 → 1.0.0-alpha.20250211.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.
- package/README.md +17 -23
- package/dist/browser/clientDefinitions.d.ts +15 -241
- package/dist/browser/clientDefinitions.d.ts.map +1 -1
- package/dist/browser/clientDefinitions.js.map +1 -1
- package/dist/browser/faceClient.d.ts.map +1 -1
- package/dist/browser/faceClient.js +1 -1
- package/dist/browser/faceClient.js.map +1 -1
- package/dist/browser/isUnexpected.d.ts +3 -29
- package/dist/browser/isUnexpected.d.ts.map +1 -1
- package/dist/browser/isUnexpected.js +7 -31
- package/dist/browser/isUnexpected.js.map +1 -1
- package/dist/browser/models.d.ts +37 -40
- package/dist/browser/models.d.ts.map +1 -1
- package/dist/browser/models.js.map +1 -1
- package/dist/browser/outputModels.d.ts +139 -215
- package/dist/browser/outputModels.d.ts.map +1 -1
- package/dist/browser/outputModels.js.map +1 -1
- package/dist/browser/parameters.d.ts +115 -195
- package/dist/browser/parameters.d.ts.map +1 -1
- package/dist/browser/parameters.js.map +1 -1
- package/dist/browser/pollingHelper.d.ts +1 -8
- package/dist/browser/pollingHelper.d.ts.map +1 -1
- package/dist/browser/pollingHelper.js.map +1 -1
- package/dist/browser/responses.d.ts +9 -434
- package/dist/browser/responses.d.ts.map +1 -1
- package/dist/browser/responses.js.map +1 -1
- package/dist/commonjs/clientDefinitions.d.ts +15 -241
- package/dist/commonjs/clientDefinitions.d.ts.map +1 -1
- package/dist/commonjs/clientDefinitions.js.map +1 -1
- package/dist/commonjs/faceClient.d.ts.map +1 -1
- package/dist/commonjs/faceClient.js +1 -1
- package/dist/commonjs/faceClient.js.map +1 -1
- package/dist/commonjs/isUnexpected.d.ts +3 -29
- package/dist/commonjs/isUnexpected.d.ts.map +1 -1
- package/dist/commonjs/isUnexpected.js +7 -31
- package/dist/commonjs/isUnexpected.js.map +1 -1
- package/dist/commonjs/models.d.ts +37 -40
- package/dist/commonjs/models.d.ts.map +1 -1
- package/dist/commonjs/models.js.map +1 -1
- package/dist/commonjs/outputModels.d.ts +139 -215
- package/dist/commonjs/outputModels.d.ts.map +1 -1
- package/dist/commonjs/outputModels.js.map +1 -1
- package/dist/commonjs/parameters.d.ts +115 -195
- package/dist/commonjs/parameters.d.ts.map +1 -1
- package/dist/commonjs/parameters.js.map +1 -1
- package/dist/commonjs/pollingHelper.d.ts +1 -8
- package/dist/commonjs/pollingHelper.d.ts.map +1 -1
- package/dist/commonjs/pollingHelper.js.map +1 -1
- package/dist/commonjs/responses.d.ts +9 -434
- package/dist/commonjs/responses.d.ts.map +1 -1
- package/dist/commonjs/responses.js.map +1 -1
- package/dist/esm/clientDefinitions.d.ts +15 -241
- package/dist/esm/clientDefinitions.d.ts.map +1 -1
- package/dist/esm/clientDefinitions.js.map +1 -1
- package/dist/esm/faceClient.d.ts.map +1 -1
- package/dist/esm/faceClient.js +1 -1
- package/dist/esm/faceClient.js.map +1 -1
- package/dist/esm/isUnexpected.d.ts +3 -29
- package/dist/esm/isUnexpected.d.ts.map +1 -1
- package/dist/esm/isUnexpected.js +7 -31
- package/dist/esm/isUnexpected.js.map +1 -1
- package/dist/esm/models.d.ts +37 -40
- package/dist/esm/models.d.ts.map +1 -1
- package/dist/esm/models.js.map +1 -1
- package/dist/esm/outputModels.d.ts +139 -215
- package/dist/esm/outputModels.d.ts.map +1 -1
- package/dist/esm/outputModels.js.map +1 -1
- package/dist/esm/parameters.d.ts +115 -195
- package/dist/esm/parameters.d.ts.map +1 -1
- package/dist/esm/parameters.js.map +1 -1
- package/dist/esm/pollingHelper.d.ts +1 -8
- package/dist/esm/pollingHelper.d.ts.map +1 -1
- package/dist/esm/pollingHelper.js.map +1 -1
- package/dist/esm/responses.d.ts +9 -434
- package/dist/esm/responses.d.ts.map +1 -1
- package/dist/esm/responses.js.map +1 -1
- package/dist/react-native/clientDefinitions.d.ts +15 -241
- package/dist/react-native/clientDefinitions.d.ts.map +1 -1
- package/dist/react-native/clientDefinitions.js.map +1 -1
- package/dist/react-native/faceClient.d.ts.map +1 -1
- package/dist/react-native/faceClient.js +1 -1
- package/dist/react-native/faceClient.js.map +1 -1
- package/dist/react-native/isUnexpected.d.ts +3 -29
- package/dist/react-native/isUnexpected.d.ts.map +1 -1
- package/dist/react-native/isUnexpected.js +7 -31
- package/dist/react-native/isUnexpected.js.map +1 -1
- package/dist/react-native/models.d.ts +37 -40
- package/dist/react-native/models.d.ts.map +1 -1
- package/dist/react-native/models.js.map +1 -1
- package/dist/react-native/outputModels.d.ts +139 -215
- package/dist/react-native/outputModels.d.ts.map +1 -1
- package/dist/react-native/outputModels.js.map +1 -1
- package/dist/react-native/parameters.d.ts +115 -195
- package/dist/react-native/parameters.d.ts.map +1 -1
- package/dist/react-native/parameters.js.map +1 -1
- package/dist/react-native/pollingHelper.d.ts +1 -8
- package/dist/react-native/pollingHelper.d.ts.map +1 -1
- package/dist/react-native/pollingHelper.js.map +1 -1
- package/dist/react-native/responses.d.ts +9 -434
- package/dist/react-native/responses.d.ts.map +1 -1
- package/dist/react-native/responses.js.map +1 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"parameters.d.ts","sourceRoot":"","sources":["../../src/parameters.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,yBAAyB,CAAC;AACjE,OAAO,KAAK,EACV,cAAc,EACd,gBAAgB,EAChB,iBAAiB,EACjB,oBAAoB,EACpB,uBAAuB,EACvB,0BAA0B,EAC1B,qBAAqB,EACrB,YAAY,EACZ,iBAAiB,EACjB,4BAA4B,EAC5B,+CAA+C,EAC/C,0CAA0C,EAC3C,MAAM,aAAa,CAAC;AAErB,MAAM,MAAM,4BAA4B,GAAG,iBAAiB,CAAC;AAE7D,MAAM,WAAW,sBAAsB;IACrC,IAAI,EAAE;QAAE,GAAG,EAAE,MAAM,CAAA;KAAE,CAAC;CACvB;AAED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AM,WAAW,4CAA4C;IAC3D,sCAAsC;IACtC,WAAW,EAAE,0BAA0B,CAAC;CACzC;AAED,MAAM,MAAM,uCAAuC,GAAG,uCAAuC,GAC3F,4CAA4C,GAC5C,sCAAsC,GACtC,iBAAiB,CAAC;AACpB,MAAM,MAAM,0CAA0C,GAAG,iBAAiB,CAAC;AAC3E,MAAM,MAAM,uCAAuC,GAAG,iBAAiB,CAAC;AAExE,MAAM,WAAW,yCAAyC;IACxD,IAAI,EAAE,YAAY,CAAC;CACpB;AAED,MAAM,MAAM,0CAA0C,GAAG,yCAAyC,GAChG,iBAAiB,CAAC;AAEpB,MAAM,WAAW,8BAA8B;IAC7C,sBAAsB;IACtB,IAAI,EAAE,4BAA4B,CAAC;CACpC;AAED,MAAM,MAAM,+BAA+B,GAAG,8BAA8B,GAAG,iBAAiB,CAAC;AACjG,MAAM,MAAM,+BAA+B,GAAG,iBAAiB,CAAC;AAChE,MAAM,MAAM,kCAAkC,GAAG,iBAAiB,CAAC;AAEnE,MAAM,WAAW,wCAAwC;IACvD,gEAAgE;IAChE,IAAI,EAAE,sCAAsC,CAAC;CAC9C;AAED,MAAM,WAAW,8CAA8C;IAC7D,yFAAyF;IACzF,WAAW,EAAE,qBAAqB,CAAC;CACpC;AAED,MAAM,MAAM,yCAAyC,GACnD,8CAA8C,GAC5C,wCAAwC,GACxC,iBAAiB,CAAC;AACtB,MAAM,MAAM,yCAAyC,GAAG,iBAAiB,CAAC;AAC1E,MAAM,MAAM,4CAA4C,GAAG,iBAAiB,CAAC;AAC7E,MAAM,MAAM,yBAAyB,GAAG,iBAAiB,CAAC"}
|
|
@@ -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 type { RequestParameters } from \"@azure-rest/core-client\";\nimport type {\n DetectionModel,\n RecognitionModel,\n FaceAttributeType,\n FindSimilarMatchMode,\n CreateCollectionRequest,\n UserDefinedFieldsForUpdate,\n AddFaceFromUrlRequest,\n FaceUserData,\n UserDefinedFields,\n CreateLivenessSessionContent,\n CreateLivenessWithVerifySessionMultipartContent,\n CreateLivenessWithVerifySessionJsonContent,\n} from \"./models.js\";\n\nexport type GetOperationResultParameters = RequestParameters;\n\nexport interface DetectFromUrlBodyParam {\n body: { url: string };\n}\n\nexport interface DetectFromUrlQueryParamProperties {\n /**\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'. 'detection_03' is recommended since its accuracy is improved on smaller faces (64x64 pixels) and rotated face orientations.\n *\n * Possible values: \"detection_01\", \"detection_02\", \"detection_03\"\n */\n detectionModel?: DetectionModel;\n /**\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 *\n * Possible values: \"recognition_01\", \"recognition_02\", \"recognition_03\", \"recognition_04\"\n */\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 /**\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'. 'detection_03' is recommended since its accuracy is improved on smaller faces (64x64 pixels) and rotated face orientations.\n *\n * Possible values: \"detection_01\", \"detection_02\", \"detection_03\"\n */\n detectionModel?: DetectionModel;\n /**\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 *\n * Possible values: \"recognition_01\", \"recognition_02\", \"recognition_03\", \"recognition_04\"\n */\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 DetectFromSessionImageIdBodyParam {\n body: { sessionImageId: string };\n}\n\nexport interface DetectFromSessionImageIdQueryParamProperties {\n /**\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'. 'detection_03' is recommended since its accuracy is improved on smaller faces (64x64 pixels) and rotated face orientations.\n *\n * Possible values: \"detection_01\", \"detection_02\", \"detection_03\"\n */\n detectionModel?: DetectionModel;\n /**\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 *\n * Possible values: \"recognition_01\", \"recognition_02\", \"recognition_03\", \"recognition_04\"\n */\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 DetectFromSessionImageIdQueryParam {\n queryParameters?: DetectFromSessionImageIdQueryParamProperties;\n}\n\nexport interface DetectFromSessionImageIdMediaTypesParam {\n /** The format of the HTTP payload. */\n contentType: \"application/json\";\n}\n\nexport type DetectFromSessionImageIdParameters = DetectFromSessionImageIdQueryParam &\n DetectFromSessionImageIdMediaTypesParam &\n DetectFromSessionImageIdBodyParam &\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 CreateFaceListBodyParam {\n body: CreateCollectionRequest;\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: UserDefinedFieldsForUpdate;\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: AddFaceFromUrlRequest;\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 /**\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 *\n * Possible values: \"detection_01\", \"detection_02\", \"detection_03\"\n */\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 /**\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 *\n * Possible values: \"detection_01\", \"detection_02\", \"detection_03\"\n */\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: CreateCollectionRequest;\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: UserDefinedFieldsForUpdate;\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: AddFaceFromUrlRequest;\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 /**\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 *\n * Possible values: \"detection_01\", \"detection_02\", \"detection_03\"\n */\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 /**\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 *\n * Possible values: \"detection_01\", \"detection_02\", \"detection_03\"\n */\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: FaceUserData;\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 CreatePersonGroupBodyParam {\n body: CreateCollectionRequest;\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: UserDefinedFieldsForUpdate;\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: UserDefinedFields;\n}\n\nexport type CreatePersonGroupPersonParameters = CreatePersonGroupPersonBodyParam &\n RequestParameters;\nexport type DeletePersonGroupPersonParameters = RequestParameters;\nexport type GetPersonGroupPersonParameters = RequestParameters;\n\nexport interface UpdatePersonGroupPersonBodyParam {\n body: UserDefinedFieldsForUpdate;\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: AddFaceFromUrlRequest;\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 /**\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 *\n * Possible values: \"detection_01\", \"detection_02\", \"detection_03\"\n */\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 /**\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 *\n * Possible values: \"detection_01\", \"detection_02\", \"detection_03\"\n */\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: FaceUserData;\n}\n\nexport type UpdatePersonGroupPersonFaceParameters = UpdatePersonGroupPersonFaceBodyParam &\n RequestParameters;\n\nexport interface CreateLargePersonGroupBodyParam {\n body: CreateCollectionRequest;\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: UserDefinedFieldsForUpdate;\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: UserDefinedFields;\n}\n\nexport type CreateLargePersonGroupPersonParameters = CreateLargePersonGroupPersonBodyParam &\n RequestParameters;\nexport type DeleteLargePersonGroupPersonParameters = RequestParameters;\nexport type GetLargePersonGroupPersonParameters = RequestParameters;\n\nexport interface UpdateLargePersonGroupPersonBodyParam {\n body: UserDefinedFieldsForUpdate;\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: AddFaceFromUrlRequest;\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 /**\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 *\n * Possible values: \"detection_01\", \"detection_02\", \"detection_03\"\n */\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 /**\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 *\n * Possible values: \"detection_01\", \"detection_02\", \"detection_03\"\n */\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: FaceUserData;\n}\n\nexport type UpdateLargePersonGroupPersonFaceParameters = UpdateLargePersonGroupPersonFaceBodyParam &\n RequestParameters;\n\nexport interface CreateLivenessSessionBodyParam {\n /** Body parameter. */\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 /** Request content of liveness with verify session creation. */\n body: CreateLivenessWithVerifySessionMultipartContent;\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 parameter. */\n body: CreateLivenessWithVerifySessionJsonContent;\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;\nexport type GetSessionImageParameters = RequestParameters;\n\nexport interface CreatePersonBodyParam {\n body: UserDefinedFields;\n}\n\nexport type CreatePersonParameters = CreatePersonBodyParam & RequestParameters;\nexport type DeletePersonParameters = RequestParameters;\nexport type GetPersonParameters = RequestParameters;\n\nexport interface UpdatePersonBodyParam {\n body: UserDefinedFieldsForUpdate;\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 /**\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 *\n * Possible values: \"detection_01\", \"detection_02\", \"detection_03\"\n */\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 /**\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 *\n * Possible values: \"detection_01\", \"detection_02\", \"detection_03\"\n */\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: FaceUserData;\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: UserDefinedFields;\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: UserDefinedFieldsForUpdate;\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"]}
|
|
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 type { RequestParameters } from \"@azure-rest/core-client\";\nimport type {\n DetectionModel,\n RecognitionModel,\n FaceAttributeType,\n FindSimilarMatchMode,\n CreateCollectionRequest,\n UserDefinedFieldsForUpdate,\n AddFaceFromUrlRequest,\n FaceUserData,\n UserDefinedFields,\n CreateLivenessSessionContent,\n CreateLivenessWithVerifySessionContent,\n} from \"./models.js\";\n\nexport interface DetectFromUrlBodyParam {\n body: { url: string };\n}\n\n/** This is the wrapper object for the parameter `returnFaceAttributes` with explode set to false and style set to form. */\nexport interface DetectFromUrlReturnFaceAttributesQueryParam {\n /** Value of the parameter */\n value: FaceAttributeType[];\n /** Should we explode the value? */\n explode: false;\n /** Style of the value */\n style: \"form\";\n}\n\nexport interface DetectFromUrlQueryParamProperties {\n /**\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'. 'detection_03' is recommended since its accuracy is improved on smaller faces (64x64 pixels) and rotated face orientations.\n *\n * Possible values: \"detection_01\", \"detection_02\", \"detection_03\"\n */\n detectionModel?: DetectionModel;\n /**\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 *\n * Possible values: \"recognition_01\", \"recognition_02\", \"recognition_03\", \"recognition_04\"\n */\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[] | DetectFromUrlReturnFaceAttributesQueryParam;\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\n/** This is the wrapper object for the parameter `returnFaceAttributes` with explode set to false and style set to form. */\nexport interface DetectReturnFaceAttributesQueryParam {\n /** Value of the parameter */\n value: FaceAttributeType[];\n /** Should we explode the value? */\n explode: false;\n /** Style of the value */\n style: \"form\";\n}\n\nexport interface DetectQueryParamProperties {\n /**\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'. 'detection_03' is recommended since its accuracy is improved on smaller faces (64x64 pixels) and rotated face orientations.\n *\n * Possible values: \"detection_01\", \"detection_02\", \"detection_03\"\n */\n detectionModel?: DetectionModel;\n /**\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 *\n * Possible values: \"recognition_01\", \"recognition_02\", \"recognition_03\", \"recognition_04\"\n */\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[] | DetectReturnFaceAttributesQueryParam;\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 DetectFromSessionImageIdBodyParam {\n body: { sessionImageId: string };\n}\n\n/** This is the wrapper object for the parameter `returnFaceAttributes` with explode set to false and style set to form. */\nexport interface DetectFromSessionImageIdReturnFaceAttributesQueryParam {\n /** Value of the parameter */\n value: FaceAttributeType[];\n /** Should we explode the value? */\n explode: false;\n /** Style of the value */\n style: \"form\";\n}\n\nexport interface DetectFromSessionImageIdQueryParamProperties {\n /**\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'. 'detection_03' is recommended since its accuracy is improved on smaller faces (64x64 pixels) and rotated face orientations.\n *\n * Possible values: \"detection_01\", \"detection_02\", \"detection_03\"\n */\n detectionModel?: DetectionModel;\n /**\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 *\n * Possible values: \"recognition_01\", \"recognition_02\", \"recognition_03\", \"recognition_04\"\n */\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?:\n | FaceAttributeType[]\n | DetectFromSessionImageIdReturnFaceAttributesQueryParam;\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 DetectFromSessionImageIdQueryParam {\n queryParameters?: DetectFromSessionImageIdQueryParamProperties;\n}\n\nexport interface DetectFromSessionImageIdMediaTypesParam {\n /** The format of the HTTP payload. */\n contentType: \"application/json\";\n}\n\nexport type DetectFromSessionImageIdParameters = DetectFromSessionImageIdQueryParam &\n DetectFromSessionImageIdMediaTypesParam &\n DetectFromSessionImageIdBodyParam &\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 CreateFaceListBodyParam {\n body: CreateCollectionRequest;\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: UserDefinedFieldsForUpdate;\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: AddFaceFromUrlRequest;\n}\n\n/** This is the wrapper object for the parameter `targetFace` with explode set to false and style set to form. */\nexport interface AddFaceListFaceFromUrlTargetFaceQueryParam {\n /** Value of the parameter */\n value: number[];\n /** Should we explode the value? */\n explode: false;\n /** Style of the value */\n style: \"form\";\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[] | AddFaceListFaceFromUrlTargetFaceQueryParam;\n /**\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 *\n * Possible values: \"detection_01\", \"detection_02\", \"detection_03\"\n */\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\n/** This is the wrapper object for the parameter `targetFace` with explode set to false and style set to form. */\nexport interface AddFaceListFaceTargetFaceQueryParam {\n /** Value of the parameter */\n value: number[];\n /** Should we explode the value? */\n explode: false;\n /** Style of the value */\n style: \"form\";\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[] | AddFaceListFaceTargetFaceQueryParam;\n /**\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 *\n * Possible values: \"detection_01\", \"detection_02\", \"detection_03\"\n */\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: CreateCollectionRequest;\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: UserDefinedFieldsForUpdate;\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: AddFaceFromUrlRequest;\n}\n\n/** This is the wrapper object for the parameter `targetFace` with explode set to false and style set to form. */\nexport interface AddLargeFaceListFaceFromUrlTargetFaceQueryParam {\n /** Value of the parameter */\n value: number[];\n /** Should we explode the value? */\n explode: false;\n /** Style of the value */\n style: \"form\";\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[] | AddLargeFaceListFaceFromUrlTargetFaceQueryParam;\n /**\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 *\n * Possible values: \"detection_01\", \"detection_02\", \"detection_03\"\n */\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\n/** This is the wrapper object for the parameter `targetFace` with explode set to false and style set to form. */\nexport interface AddLargeFaceListFaceTargetFaceQueryParam {\n /** Value of the parameter */\n value: number[];\n /** Should we explode the value? */\n explode: false;\n /** Style of the value */\n style: \"form\";\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[] | AddLargeFaceListFaceTargetFaceQueryParam;\n /**\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 *\n * Possible values: \"detection_01\", \"detection_02\", \"detection_03\"\n */\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: FaceUserData;\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 CreatePersonGroupBodyParam {\n body: CreateCollectionRequest;\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: UserDefinedFieldsForUpdate;\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: UserDefinedFields;\n}\n\nexport type CreatePersonGroupPersonParameters = CreatePersonGroupPersonBodyParam &\n RequestParameters;\nexport type DeletePersonGroupPersonParameters = RequestParameters;\nexport type GetPersonGroupPersonParameters = RequestParameters;\n\nexport interface UpdatePersonGroupPersonBodyParam {\n body: UserDefinedFieldsForUpdate;\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: AddFaceFromUrlRequest;\n}\n\n/** This is the wrapper object for the parameter `targetFace` with explode set to false and style set to form. */\nexport interface AddPersonGroupPersonFaceFromUrlTargetFaceQueryParam {\n /** Value of the parameter */\n value: number[];\n /** Should we explode the value? */\n explode: false;\n /** Style of the value */\n style: \"form\";\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[] | AddPersonGroupPersonFaceFromUrlTargetFaceQueryParam;\n /**\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 *\n * Possible values: \"detection_01\", \"detection_02\", \"detection_03\"\n */\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\n/** This is the wrapper object for the parameter `targetFace` with explode set to false and style set to form. */\nexport interface AddPersonGroupPersonFaceTargetFaceQueryParam {\n /** Value of the parameter */\n value: number[];\n /** Should we explode the value? */\n explode: false;\n /** Style of the value */\n style: \"form\";\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[] | AddPersonGroupPersonFaceTargetFaceQueryParam;\n /**\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 *\n * Possible values: \"detection_01\", \"detection_02\", \"detection_03\"\n */\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: FaceUserData;\n}\n\nexport type UpdatePersonGroupPersonFaceParameters = UpdatePersonGroupPersonFaceBodyParam &\n RequestParameters;\n\nexport interface CreateLargePersonGroupBodyParam {\n body: CreateCollectionRequest;\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: UserDefinedFieldsForUpdate;\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: UserDefinedFields;\n}\n\nexport type CreateLargePersonGroupPersonParameters = CreateLargePersonGroupPersonBodyParam &\n RequestParameters;\nexport type DeleteLargePersonGroupPersonParameters = RequestParameters;\nexport type GetLargePersonGroupPersonParameters = RequestParameters;\n\nexport interface UpdateLargePersonGroupPersonBodyParam {\n body: UserDefinedFieldsForUpdate;\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: AddFaceFromUrlRequest;\n}\n\n/** This is the wrapper object for the parameter `targetFace` with explode set to false and style set to form. */\nexport interface AddLargePersonGroupPersonFaceFromUrlTargetFaceQueryParam {\n /** Value of the parameter */\n value: number[];\n /** Should we explode the value? */\n explode: false;\n /** Style of the value */\n style: \"form\";\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[] | AddLargePersonGroupPersonFaceFromUrlTargetFaceQueryParam;\n /**\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 *\n * Possible values: \"detection_01\", \"detection_02\", \"detection_03\"\n */\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\n/** This is the wrapper object for the parameter `targetFace` with explode set to false and style set to form. */\nexport interface AddLargePersonGroupPersonFaceTargetFaceQueryParam {\n /** Value of the parameter */\n value: number[];\n /** Should we explode the value? */\n explode: false;\n /** Style of the value */\n style: \"form\";\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[] | AddLargePersonGroupPersonFaceTargetFaceQueryParam;\n /**\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 *\n * Possible values: \"detection_01\", \"detection_02\", \"detection_03\"\n */\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: FaceUserData;\n}\n\nexport type UpdateLargePersonGroupPersonFaceParameters = UpdateLargePersonGroupPersonFaceBodyParam &\n RequestParameters;\n\nexport interface CreateLivenessSessionBodyParam {\n /** Body parameter. */\n body: CreateLivenessSessionContent;\n}\n\nexport type CreateLivenessSessionParameters = CreateLivenessSessionBodyParam & RequestParameters;\nexport type DeleteLivenessSessionParameters = RequestParameters;\nexport type GetLivenessSessionResultParameters = RequestParameters;\n\nexport interface CreateLivenessWithVerifySessionBodyParam {\n /** Request content of liveness with verify session creation. */\n body: CreateLivenessWithVerifySessionContent;\n}\n\nexport interface CreateLivenessWithVerifySessionMediaTypesParam {\n /** The content type for the operation. Always multipart/form-data for this operation. */\n contentType: \"multipart/form-data\";\n}\n\nexport type CreateLivenessWithVerifySessionParameters =\n CreateLivenessWithVerifySessionMediaTypesParam &\n CreateLivenessWithVerifySessionBodyParam &\n RequestParameters;\nexport type DeleteLivenessWithVerifySessionParameters = RequestParameters;\nexport type GetLivenessWithVerifySessionResultParameters = RequestParameters;\nexport type GetSessionImageParameters = RequestParameters;\n"]}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { Client } from "@azure-rest/core-client";
|
|
2
2
|
import type { AbortSignalLike } from "@azure/abort-controller";
|
|
3
3
|
import type { CancelOnProgress, CreateHttpPollerOptions, OperationState } from "@azure/core-lro";
|
|
4
|
-
import type { TrainLargeFaceList202Response, TrainLargeFaceListDefaultResponse, TrainLargeFaceListLogicalResponse, TrainPersonGroup202Response, TrainPersonGroupDefaultResponse, TrainPersonGroupLogicalResponse, TrainLargePersonGroup202Response, TrainLargePersonGroupDefaultResponse, TrainLargePersonGroupLogicalResponse
|
|
4
|
+
import type { TrainLargeFaceList202Response, TrainLargeFaceListDefaultResponse, TrainLargeFaceListLogicalResponse, TrainPersonGroup202Response, TrainPersonGroupDefaultResponse, TrainPersonGroupLogicalResponse, TrainLargePersonGroup202Response, TrainLargePersonGroupDefaultResponse, TrainLargePersonGroupLogicalResponse } from "./responses.js";
|
|
5
5
|
/**
|
|
6
6
|
* A simple poller that can be used to poll a long running operation.
|
|
7
7
|
*/
|
|
@@ -76,11 +76,4 @@ export interface SimplePollerLike<TState extends OperationState<TResult>, TResul
|
|
|
76
76
|
export declare function getLongRunningPoller<TResult extends TrainLargeFaceListLogicalResponse | TrainLargeFaceListDefaultResponse>(client: Client, initialResponse: TrainLargeFaceList202Response | TrainLargeFaceListDefaultResponse, options?: CreateHttpPollerOptions<TResult, OperationState<TResult>>): Promise<SimplePollerLike<OperationState<TResult>, TResult>>;
|
|
77
77
|
export declare function getLongRunningPoller<TResult extends TrainPersonGroupLogicalResponse | TrainPersonGroupDefaultResponse>(client: Client, initialResponse: TrainPersonGroup202Response | TrainPersonGroupDefaultResponse, options?: CreateHttpPollerOptions<TResult, OperationState<TResult>>): Promise<SimplePollerLike<OperationState<TResult>, TResult>>;
|
|
78
78
|
export declare function getLongRunningPoller<TResult extends TrainLargePersonGroupLogicalResponse | TrainLargePersonGroupDefaultResponse>(client: Client, initialResponse: TrainLargePersonGroup202Response | TrainLargePersonGroupDefaultResponse, options?: CreateHttpPollerOptions<TResult, OperationState<TResult>>): Promise<SimplePollerLike<OperationState<TResult>, TResult>>;
|
|
79
|
-
export declare function getLongRunningPoller<TResult extends CreatePersonLogicalResponse | CreatePersonDefaultResponse>(client: Client, initialResponse: CreatePerson202Response | CreatePersonDefaultResponse, options?: CreateHttpPollerOptions<TResult, OperationState<TResult>>): Promise<SimplePollerLike<OperationState<TResult>, TResult>>;
|
|
80
|
-
export declare function getLongRunningPoller<TResult extends DeletePersonLogicalResponse | DeletePersonDefaultResponse>(client: Client, initialResponse: DeletePerson202Response | DeletePersonDefaultResponse, options?: CreateHttpPollerOptions<TResult, OperationState<TResult>>): Promise<SimplePollerLike<OperationState<TResult>, TResult>>;
|
|
81
|
-
export declare function getLongRunningPoller<TResult extends AddPersonFaceLogicalResponse | AddPersonFaceDefaultResponse>(client: Client, initialResponse: AddPersonFace202Response | AddPersonFaceDefaultResponse, options?: CreateHttpPollerOptions<TResult, OperationState<TResult>>): Promise<SimplePollerLike<OperationState<TResult>, TResult>>;
|
|
82
|
-
export declare function getLongRunningPoller<TResult extends DeletePersonFaceLogicalResponse | DeletePersonFaceDefaultResponse>(client: Client, initialResponse: DeletePersonFace202Response | DeletePersonFaceDefaultResponse, options?: CreateHttpPollerOptions<TResult, OperationState<TResult>>): Promise<SimplePollerLike<OperationState<TResult>, TResult>>;
|
|
83
|
-
export declare function getLongRunningPoller<TResult extends CreateDynamicPersonGroupWithPersonLogicalResponse | CreateDynamicPersonGroupWithPersonDefaultResponse>(client: Client, initialResponse: CreateDynamicPersonGroupWithPerson202Response | CreateDynamicPersonGroupWithPersonDefaultResponse, options?: CreateHttpPollerOptions<TResult, OperationState<TResult>>): Promise<SimplePollerLike<OperationState<TResult>, TResult>>;
|
|
84
|
-
export declare function getLongRunningPoller<TResult extends DeleteDynamicPersonGroupLogicalResponse | DeleteDynamicPersonGroupDefaultResponse>(client: Client, initialResponse: DeleteDynamicPersonGroup202Response | DeleteDynamicPersonGroupDefaultResponse, options?: CreateHttpPollerOptions<TResult, OperationState<TResult>>): Promise<SimplePollerLike<OperationState<TResult>, TResult>>;
|
|
85
|
-
export declare function getLongRunningPoller<TResult extends UpdateDynamicPersonGroupWithPersonChangesLogicalResponse | UpdateDynamicPersonGroupWithPersonChangesDefaultResponse>(client: Client, initialResponse: UpdateDynamicPersonGroupWithPersonChanges202Response | UpdateDynamicPersonGroupWithPersonChangesDefaultResponse, options?: CreateHttpPollerOptions<TResult, OperationState<TResult>>): Promise<SimplePollerLike<OperationState<TResult>, TResult>>;
|
|
86
79
|
//# sourceMappingURL=pollingHelper.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pollingHelper.d.ts","sourceRoot":"","sources":["../../src/pollingHelper.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,MAAM,EAAgB,MAAM,yBAAyB,CAAC;AACpE,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,yBAAyB,CAAC;AAC/D,OAAO,KAAK,EACV,gBAAgB,EAChB,uBAAuB,EAGvB,cAAc,EACf,MAAM,iBAAiB,CAAC;AAEzB,OAAO,KAAK,EACV,6BAA6B,EAC7B,iCAAiC,EACjC,iCAAiC,EACjC,2BAA2B,EAC3B,+BAA+B,EAC/B,+BAA+B,EAC/B,gCAAgC,EAChC,oCAAoC,EACpC,oCAAoC,
|
|
1
|
+
{"version":3,"file":"pollingHelper.d.ts","sourceRoot":"","sources":["../../src/pollingHelper.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,MAAM,EAAgB,MAAM,yBAAyB,CAAC;AACpE,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,yBAAyB,CAAC;AAC/D,OAAO,KAAK,EACV,gBAAgB,EAChB,uBAAuB,EAGvB,cAAc,EACf,MAAM,iBAAiB,CAAC;AAEzB,OAAO,KAAK,EACV,6BAA6B,E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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 type { Client, HttpResponse } from \"@azure-rest/core-client\";\nimport type { AbortSignalLike } from \"@azure/abort-controller\";\nimport type {\n CancelOnProgress,\n CreateHttpPollerOptions,\n RunningOperation,\n OperationResponse,\n OperationState,\n} from \"@azure/core-lro\";\nimport { createHttpPoller } from \"@azure/core-lro\";\nimport type {\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 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 * Returns true if the poller is stopped.\n * @deprecated Use abortSignal status to track this instead.\n */\n isStopped(): boolean;\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: RunningOperation<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: string, pollOptions?: { 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 = pollOptions?.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 abortController.signal.aborted;\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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AAC,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 type { Client, HttpResponse } from \"@azure-rest/core-client\";\nimport type { AbortSignalLike } from \"@azure/abort-controller\";\nimport type {\n CancelOnProgress,\n CreateHttpPollerOptions,\n RunningOperation,\n OperationResponse,\n OperationState,\n} from \"@azure/core-lro\";\nimport { createHttpPoller } from \"@azure/core-lro\";\nimport type {\n TrainLargeFaceList202Response,\n TrainLargeFaceListDefaultResponse,\n TrainLargeFaceListLogicalResponse,\n TrainPersonGroup202Response,\n TrainPersonGroupDefaultResponse,\n TrainPersonGroupLogicalResponse,\n TrainLargePersonGroup202Response,\n TrainLargePersonGroupDefaultResponse,\n TrainLargePersonGroupLogicalResponse,\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 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 * Returns true if the poller is stopped.\n * @deprecated Use abortSignal status to track this instead.\n */\n isStopped(): boolean;\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<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: RunningOperation<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: string, pollOptions?: { 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 = pollOptions?.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 abortController.signal.aborted;\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"]}
|