@azure-rest/ai-vision-face 1.0.0-alpha.20240827.1 → 1.0.0-alpha.20240829.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (81) hide show
  1. package/dist/browser/clientDefinitions.js +1 -1
  2. package/dist/browser/clientDefinitions.js.map +1 -1
  3. package/dist/browser/faceClient.js +1 -1
  4. package/dist/browser/faceClient.js.map +1 -1
  5. package/dist/browser/index.js +1 -1
  6. package/dist/browser/index.js.map +1 -1
  7. package/dist/browser/isUnexpected.js +1 -1
  8. package/dist/browser/isUnexpected.js.map +1 -1
  9. package/dist/browser/logger.js +1 -1
  10. package/dist/browser/logger.js.map +1 -1
  11. package/dist/browser/models.js +1 -1
  12. package/dist/browser/models.js.map +1 -1
  13. package/dist/browser/outputModels.js +1 -1
  14. package/dist/browser/outputModels.js.map +1 -1
  15. package/dist/browser/parameters.js +1 -1
  16. package/dist/browser/parameters.js.map +1 -1
  17. package/dist/browser/pollingHelper.js +1 -1
  18. package/dist/browser/pollingHelper.js.map +1 -1
  19. package/dist/browser/responses.js +1 -1
  20. package/dist/browser/responses.js.map +1 -1
  21. package/dist/commonjs/clientDefinitions.js +1 -1
  22. package/dist/commonjs/clientDefinitions.js.map +1 -1
  23. package/dist/commonjs/faceClient.js +1 -1
  24. package/dist/commonjs/faceClient.js.map +1 -1
  25. package/dist/commonjs/index.js +1 -1
  26. package/dist/commonjs/index.js.map +1 -1
  27. package/dist/commonjs/isUnexpected.js +1 -1
  28. package/dist/commonjs/isUnexpected.js.map +1 -1
  29. package/dist/commonjs/logger.js +1 -1
  30. package/dist/commonjs/logger.js.map +1 -1
  31. package/dist/commonjs/models.js +1 -1
  32. package/dist/commonjs/models.js.map +1 -1
  33. package/dist/commonjs/outputModels.js +1 -1
  34. package/dist/commonjs/outputModels.js.map +1 -1
  35. package/dist/commonjs/parameters.js +1 -1
  36. package/dist/commonjs/parameters.js.map +1 -1
  37. package/dist/commonjs/pollingHelper.js +1 -1
  38. package/dist/commonjs/pollingHelper.js.map +1 -1
  39. package/dist/commonjs/responses.js +1 -1
  40. package/dist/commonjs/responses.js.map +1 -1
  41. package/dist/esm/clientDefinitions.js +1 -1
  42. package/dist/esm/clientDefinitions.js.map +1 -1
  43. package/dist/esm/faceClient.js +1 -1
  44. package/dist/esm/faceClient.js.map +1 -1
  45. package/dist/esm/index.js +1 -1
  46. package/dist/esm/index.js.map +1 -1
  47. package/dist/esm/isUnexpected.js +1 -1
  48. package/dist/esm/isUnexpected.js.map +1 -1
  49. package/dist/esm/logger.js +1 -1
  50. package/dist/esm/logger.js.map +1 -1
  51. package/dist/esm/models.js +1 -1
  52. package/dist/esm/models.js.map +1 -1
  53. package/dist/esm/outputModels.js +1 -1
  54. package/dist/esm/outputModels.js.map +1 -1
  55. package/dist/esm/parameters.js +1 -1
  56. package/dist/esm/parameters.js.map +1 -1
  57. package/dist/esm/pollingHelper.js +1 -1
  58. package/dist/esm/pollingHelper.js.map +1 -1
  59. package/dist/esm/responses.js +1 -1
  60. package/dist/esm/responses.js.map +1 -1
  61. package/dist/react-native/clientDefinitions.js +1 -1
  62. package/dist/react-native/clientDefinitions.js.map +1 -1
  63. package/dist/react-native/faceClient.js +1 -1
  64. package/dist/react-native/faceClient.js.map +1 -1
  65. package/dist/react-native/index.js +1 -1
  66. package/dist/react-native/index.js.map +1 -1
  67. package/dist/react-native/isUnexpected.js +1 -1
  68. package/dist/react-native/isUnexpected.js.map +1 -1
  69. package/dist/react-native/logger.js +1 -1
  70. package/dist/react-native/logger.js.map +1 -1
  71. package/dist/react-native/models.js +1 -1
  72. package/dist/react-native/models.js.map +1 -1
  73. package/dist/react-native/outputModels.js +1 -1
  74. package/dist/react-native/outputModels.js.map +1 -1
  75. package/dist/react-native/parameters.js +1 -1
  76. package/dist/react-native/parameters.js.map +1 -1
  77. package/dist/react-native/pollingHelper.js +1 -1
  78. package/dist/react-native/pollingHelper.js.map +1 -1
  79. package/dist/react-native/responses.js +1 -1
  80. package/dist/react-native/responses.js.map +1 -1
  81. package/package.json +1 -1
@@ -1 +1 @@
1
- {"version":3,"file":"isUnexpected.js","sourceRoot":"","sources":["../../src/isUnexpected.ts"],"names":[],"mappings":";AAAA,uCAAuC;AACvC,kCAAkC;;AAkqBlC,oCAqUC;AA7wBD,MAAM,WAAW,GAA6B;IAC5C,+BAA+B,EAAE,CAAC,KAAK,CAAC;IACxC,cAAc,EAAE,CAAC,KAAK,CAAC;IACvB,oBAAoB,EAAE,CAAC,KAAK,CAAC;IAC7B,gBAAgB,EAAE,CAAC,KAAK,CAAC;IACzB,cAAc,EAAE,CAAC,KAAK,CAAC;IACvB,aAAa,EAAE,CAAC,KAAK,CAAC;IACtB,2CAA2C,EAAE,CAAC,KAAK,CAAC;IACpD,0CAA0C,EAAE,CAAC,KAAK,CAAC;IACnD,yDAAyD,EAAE,CAAC,KAAK,CAAC;IAClE,sDAAsD,EAAE,CAAC,KAAK,CAAC;IAC/D,4DAA4D,EAAE,CAAC,KAAK,CAAC;IACrE,qDAAqD,EAAE,CAAC,KAAK,CAAC;IAC9D,oDAAoD,EAAE,CAAC,KAAK,CAAC;IAC7D,mEAAmE,EAAE,CAAC,KAAK,CAAC;IAC5E,gEAAgE,EAAE,CAAC,KAAK,CAAC;IACzE,sEAAsE,EAAE,CAAC,KAAK,CAAC;IAC/E,6BAA6B,EAAE,CAAC,KAAK,CAAC;IACtC,gCAAgC,EAAE,CAAC,KAAK,CAAC;IACzC,6BAA6B,EAAE,CAAC,KAAK,CAAC;IACtC,+BAA+B,EAAE,CAAC,KAAK,CAAC;IACxC,gBAAgB,EAAE,CAAC,KAAK,CAAC;IACzB,6CAA6C,EAAE,CAAC,KAAK,CAAC;IACtD,iEAAiE,EAAE,CAAC,KAAK,CAAC;IAC1E,uCAAuC,EAAE,CAAC,KAAK,CAAC;IAChD,0CAA0C,EAAE,CAAC,KAAK,CAAC;IACnD,uCAAuC,EAAE,CAAC,KAAK,CAAC;IAChD,yCAAyC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,GAAG,KAAK,CAAC;QACvB,CAAC;IACH,CAAC;IAED,OAAO,YAAY,CAAC;AACtB,CAAC;AAED,SAAS,iBAAiB,CAAC,MAAc;IACvC,MAAM,SAAS,GAAG,MAAM,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC;IACtC,OAAO,MAAM,CAAC,KAAK,CAAC,SAAS,CAAC,CAAC;AACjC,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT license.\n\nimport {\n GetOperationResult200Response,\n GetOperationResultDefaultResponse,\n DetectFromUrl200Response,\n DetectFromUrlDefaultResponse,\n Detect200Response,\n DetectDefaultResponse,\n FindSimilar200Response,\n FindSimilarDefaultResponse,\n FindSimilarFromFaceList200Response,\n FindSimilarFromFaceListDefaultResponse,\n FindSimilarFromLargeFaceList200Response,\n FindSimilarFromLargeFaceListDefaultResponse,\n IdentifyFromPersonGroup200Response,\n IdentifyFromPersonGroupDefaultResponse,\n IdentifyFromLargePersonGroup200Response,\n IdentifyFromLargePersonGroupDefaultResponse,\n IdentifyFromPersonDirectory200Response,\n IdentifyFromPersonDirectoryDefaultResponse,\n IdentifyFromDynamicPersonGroup200Response,\n IdentifyFromDynamicPersonGroupDefaultResponse,\n VerifyFaceToFace200Response,\n VerifyFaceToFaceDefaultResponse,\n VerifyFromPersonGroup200Response,\n VerifyFromPersonGroupDefaultResponse,\n VerifyFromLargePersonGroup200Response,\n VerifyFromLargePersonGroupDefaultResponse,\n VerifyFromPersonDirectory200Response,\n VerifyFromPersonDirectoryDefaultResponse,\n Group200Response,\n GroupDefaultResponse,\n CreateLivenessSession200Response,\n CreateLivenessSessionDefaultResponse,\n GetLivenessSessions200Response,\n GetLivenessSessionsDefaultResponse,\n DeleteLivenessSession200Response,\n DeleteLivenessSessionDefaultResponse,\n GetLivenessSessionResult200Response,\n GetLivenessSessionResultDefaultResponse,\n GetLivenessSessionAuditEntries200Response,\n GetLivenessSessionAuditEntriesDefaultResponse,\n CreateLivenessWithVerifySessionWithVerifyImage200Response,\n CreateLivenessWithVerifySessionWithVerifyImageDefaultResponse,\n CreateLivenessWithVerifySession200Response,\n CreateLivenessWithVerifySessionDefaultResponse,\n GetLivenessWithVerifySessions200Response,\n GetLivenessWithVerifySessionsDefaultResponse,\n DeleteLivenessWithVerifySession200Response,\n DeleteLivenessWithVerifySessionDefaultResponse,\n GetLivenessWithVerifySessionResult200Response,\n GetLivenessWithVerifySessionResultDefaultResponse,\n GetLivenessWithVerifySessionAuditEntries200Response,\n GetLivenessWithVerifySessionAuditEntriesDefaultResponse,\n CreateFaceList200Response,\n CreateFaceListDefaultResponse,\n DeleteFaceList200Response,\n DeleteFaceListDefaultResponse,\n GetFaceList200Response,\n GetFaceListDefaultResponse,\n UpdateFaceList200Response,\n UpdateFaceListDefaultResponse,\n GetFaceLists200Response,\n GetFaceListsDefaultResponse,\n AddFaceListFaceFromUrl200Response,\n AddFaceListFaceFromUrlDefaultResponse,\n AddFaceListFace200Response,\n AddFaceListFaceDefaultResponse,\n DeleteFaceListFace200Response,\n DeleteFaceListFaceDefaultResponse,\n CreateLargeFaceList200Response,\n CreateLargeFaceListDefaultResponse,\n DeleteLargeFaceList200Response,\n DeleteLargeFaceListDefaultResponse,\n GetLargeFaceList200Response,\n GetLargeFaceListDefaultResponse,\n UpdateLargeFaceList200Response,\n UpdateLargeFaceListDefaultResponse,\n GetLargeFaceLists200Response,\n GetLargeFaceListsDefaultResponse,\n GetLargeFaceListTrainingStatus200Response,\n GetLargeFaceListTrainingStatusDefaultResponse,\n TrainLargeFaceList202Response,\n TrainLargeFaceListLogicalResponse,\n TrainLargeFaceListDefaultResponse,\n AddLargeFaceListFaceFromUrl200Response,\n AddLargeFaceListFaceFromUrlDefaultResponse,\n AddLargeFaceListFace200Response,\n AddLargeFaceListFaceDefaultResponse,\n GetLargeFaceListFaces200Response,\n GetLargeFaceListFacesDefaultResponse,\n DeleteLargeFaceListFace200Response,\n DeleteLargeFaceListFaceDefaultResponse,\n GetLargeFaceListFace200Response,\n GetLargeFaceListFaceDefaultResponse,\n UpdateLargeFaceListFace200Response,\n UpdateLargeFaceListFaceDefaultResponse,\n CreatePerson202Response,\n CreatePersonLogicalResponse,\n CreatePersonDefaultResponse,\n GetPersons200Response,\n GetPersonsDefaultResponse,\n DeletePerson202Response,\n DeletePersonLogicalResponse,\n DeletePersonDefaultResponse,\n GetPerson200Response,\n GetPersonDefaultResponse,\n UpdatePerson200Response,\n UpdatePersonDefaultResponse,\n GetDynamicPersonGroupReferences200Response,\n GetDynamicPersonGroupReferencesDefaultResponse,\n AddPersonFace202Response,\n AddPersonFaceLogicalResponse,\n AddPersonFaceDefaultResponse,\n AddPersonFaceFromUrl202Response,\n AddPersonFaceFromUrlLogicalResponse,\n AddPersonFaceFromUrlDefaultResponse,\n GetPersonFaces200Response,\n GetPersonFacesDefaultResponse,\n DeletePersonFace202Response,\n DeletePersonFaceLogicalResponse,\n DeletePersonFaceDefaultResponse,\n GetPersonFace200Response,\n GetPersonFaceDefaultResponse,\n UpdatePersonFace200Response,\n UpdatePersonFaceDefaultResponse,\n CreateDynamicPersonGroupWithPerson202Response,\n CreateDynamicPersonGroupWithPersonLogicalResponse,\n CreateDynamicPersonGroupWithPersonDefaultResponse,\n CreateDynamicPersonGroup200Response,\n CreateDynamicPersonGroupDefaultResponse,\n DeleteDynamicPersonGroup202Response,\n DeleteDynamicPersonGroupLogicalResponse,\n DeleteDynamicPersonGroupDefaultResponse,\n GetDynamicPersonGroup200Response,\n GetDynamicPersonGroupDefaultResponse,\n UpdateDynamicPersonGroupWithPersonChanges202Response,\n UpdateDynamicPersonGroupWithPersonChangesLogicalResponse,\n UpdateDynamicPersonGroupWithPersonChangesDefaultResponse,\n UpdateDynamicPersonGroup200Response,\n UpdateDynamicPersonGroupDefaultResponse,\n GetDynamicPersonGroups200Response,\n GetDynamicPersonGroupsDefaultResponse,\n GetDynamicPersonGroupPersons200Response,\n GetDynamicPersonGroupPersonsDefaultResponse,\n CreatePersonGroup200Response,\n CreatePersonGroupDefaultResponse,\n DeletePersonGroup200Response,\n DeletePersonGroupDefaultResponse,\n GetPersonGroup200Response,\n GetPersonGroupDefaultResponse,\n UpdatePersonGroup200Response,\n UpdatePersonGroupDefaultResponse,\n GetPersonGroups200Response,\n GetPersonGroupsDefaultResponse,\n GetPersonGroupTrainingStatus200Response,\n GetPersonGroupTrainingStatusDefaultResponse,\n TrainPersonGroup202Response,\n TrainPersonGroupLogicalResponse,\n TrainPersonGroupDefaultResponse,\n CreatePersonGroupPerson200Response,\n CreatePersonGroupPersonDefaultResponse,\n GetPersonGroupPersons200Response,\n GetPersonGroupPersonsDefaultResponse,\n DeletePersonGroupPerson200Response,\n DeletePersonGroupPersonDefaultResponse,\n GetPersonGroupPerson200Response,\n GetPersonGroupPersonDefaultResponse,\n UpdatePersonGroupPerson200Response,\n UpdatePersonGroupPersonDefaultResponse,\n AddPersonGroupPersonFaceFromUrl200Response,\n AddPersonGroupPersonFaceFromUrlDefaultResponse,\n AddPersonGroupPersonFace200Response,\n AddPersonGroupPersonFaceDefaultResponse,\n DeletePersonGroupPersonFace200Response,\n DeletePersonGroupPersonFaceDefaultResponse,\n GetPersonGroupPersonFace200Response,\n GetPersonGroupPersonFaceDefaultResponse,\n UpdatePersonGroupPersonFace200Response,\n UpdatePersonGroupPersonFaceDefaultResponse,\n CreateLargePersonGroup200Response,\n CreateLargePersonGroupDefaultResponse,\n DeleteLargePersonGroup200Response,\n DeleteLargePersonGroupDefaultResponse,\n GetLargePersonGroup200Response,\n GetLargePersonGroupDefaultResponse,\n UpdateLargePersonGroup200Response,\n UpdateLargePersonGroupDefaultResponse,\n GetLargePersonGroups200Response,\n GetLargePersonGroupsDefaultResponse,\n GetLargePersonGroupTrainingStatus200Response,\n GetLargePersonGroupTrainingStatusDefaultResponse,\n TrainLargePersonGroup202Response,\n TrainLargePersonGroupLogicalResponse,\n TrainLargePersonGroupDefaultResponse,\n CreateLargePersonGroupPerson200Response,\n CreateLargePersonGroupPersonDefaultResponse,\n GetLargePersonGroupPersons200Response,\n GetLargePersonGroupPersonsDefaultResponse,\n DeleteLargePersonGroupPerson200Response,\n DeleteLargePersonGroupPersonDefaultResponse,\n GetLargePersonGroupPerson200Response,\n GetLargePersonGroupPersonDefaultResponse,\n UpdateLargePersonGroupPerson200Response,\n UpdateLargePersonGroupPersonDefaultResponse,\n AddLargePersonGroupPersonFaceFromUrl200Response,\n AddLargePersonGroupPersonFaceFromUrlDefaultResponse,\n AddLargePersonGroupPersonFace200Response,\n AddLargePersonGroupPersonFaceDefaultResponse,\n DeleteLargePersonGroupPersonFace200Response,\n DeleteLargePersonGroupPersonFaceDefaultResponse,\n GetLargePersonGroupPersonFace200Response,\n GetLargePersonGroupPersonFaceDefaultResponse,\n UpdateLargePersonGroupPersonFace200Response,\n UpdateLargePersonGroupPersonFaceDefaultResponse,\n} from \"./responses.js\";\n\nconst responseMap: Record<string, string[]> = {\n \"GET /operations/{operationId}\": [\"200\"],\n \"POST /detect\": [\"200\"],\n \"POST /findsimilars\": [\"200\"],\n \"POST /identify\": [\"200\"],\n \"POST /verify\": [\"200\"],\n \"POST /group\": [\"200\"],\n \"POST /detectLiveness/singleModal/sessions\": [\"200\"],\n \"GET /detectLiveness/singleModal/sessions\": [\"200\"],\n \"DELETE /detectLiveness/singleModal/sessions/{sessionId}\": [\"200\"],\n \"GET /detectLiveness/singleModal/sessions/{sessionId}\": [\"200\"],\n \"GET /detectLiveness/singleModal/sessions/{sessionId}/audit\": [\"200\"],\n \"POST /detectLivenessWithVerify/singleModal/sessions\": [\"200\"],\n \"GET /detectLivenessWithVerify/singleModal/sessions\": [\"200\"],\n \"DELETE /detectLivenessWithVerify/singleModal/sessions/{sessionId}\": [\"200\"],\n \"GET /detectLivenessWithVerify/singleModal/sessions/{sessionId}\": [\"200\"],\n \"GET /detectLivenessWithVerify/singleModal/sessions/{sessionId}/audit\": [\"200\"],\n \"PUT /facelists/{faceListId}\": [\"200\"],\n \"DELETE /facelists/{faceListId}\": [\"200\"],\n \"GET /facelists/{faceListId}\": [\"200\"],\n \"PATCH /facelists/{faceListId}\": [\"200\"],\n \"GET /facelists\": [\"200\"],\n \"POST /facelists/{faceListId}/persistedfaces\": [\"200\"],\n \"DELETE /facelists/{faceListId}/persistedfaces/{persistedFaceId}\": [\"200\"],\n \"PUT /largefacelists/{largeFaceListId}\": [\"200\"],\n \"DELETE /largefacelists/{largeFaceListId}\": [\"200\"],\n \"GET /largefacelists/{largeFaceListId}\": [\"200\"],\n \"PATCH /largefacelists/{largeFaceListId}\": [\"200\"],\n \"GET /largefacelists\": [\"200\"],\n \"GET /largefacelists/{largeFaceListId}/training\": [\"200\"],\n \"GET /largefacelists/{largeFaceListId}/train\": [\"200\", \"202\"],\n \"POST /largefacelists/{largeFaceListId}/train\": [\"202\"],\n \"POST /largefacelists/{largeFaceListId}/persistedfaces\": [\"200\"],\n \"GET /largefacelists/{largeFaceListId}/persistedfaces\": [\"200\"],\n \"DELETE /largefacelists/{largeFaceListId}/persistedfaces/{persistedFaceId}\": [\"200\"],\n \"GET /largefacelists/{largeFaceListId}/persistedfaces/{persistedFaceId}\": [\"200\"],\n \"PATCH /largefacelists/{largeFaceListId}/persistedfaces/{persistedFaceId}\": [\"200\"],\n \"GET /persons\": [\"200\"],\n \"POST /persons\": [\"202\"],\n \"GET /persons/{personId}\": [\"200\"],\n \"DELETE /persons/{personId}\": [\"202\"],\n \"PATCH /persons/{personId}\": [\"200\"],\n \"GET /persons/{personId}/dynamicPersonGroupReferences\": [\"200\"],\n \"GET /persons/{personId}/recognitionModels/{recognitionModel}/persistedfaces\": [\"200\"],\n \"POST /persons/{personId}/recognitionModels/{recognitionModel}/persistedfaces\": [\"202\"],\n \"GET /persons/{personId}/recognitionModels/{recognitionModel}/persistedfaces/{persistedFaceId}\": [\n \"200\",\n ],\n \"DELETE /persons/{personId}/recognitionModels/{recognitionModel}/persistedfaces/{persistedFaceId}\":\n [\"202\"],\n \"PATCH /persons/{personId}/recognitionModels/{recognitionModel}/persistedfaces/{persistedFaceId}\":\n [\"200\"],\n \"GET /dynamicpersongroups/{dynamicPersonGroupId}\": [\"200\"],\n \"PUT /dynamicpersongroups/{dynamicPersonGroupId}\": [\"202\", \"200\"],\n \"DELETE /dynamicpersongroups/{dynamicPersonGroupId}\": [\"202\"],\n \"PATCH /dynamicpersongroups/{dynamicPersonGroupId}\": [\"202\", \"200\"],\n \"GET /dynamicpersongroups\": [\"200\"],\n \"GET /dynamicpersongroups/{dynamicPersonGroupId}/persons\": [\"200\"],\n \"PUT /persongroups/{personGroupId}\": [\"200\"],\n \"DELETE /persongroups/{personGroupId}\": [\"200\"],\n \"GET /persongroups/{personGroupId}\": [\"200\"],\n \"PATCH /persongroups/{personGroupId}\": [\"200\"],\n \"GET /persongroups\": [\"200\"],\n \"GET /persongroups/{personGroupId}/training\": [\"200\"],\n \"GET /persongroups/{personGroupId}/train\": [\"200\", \"202\"],\n \"POST /persongroups/{personGroupId}/train\": [\"202\"],\n \"POST /persongroups/{personGroupId}/persons\": [\"200\"],\n \"GET /persongroups/{personGroupId}/persons\": [\"200\"],\n \"DELETE /persongroups/{personGroupId}/persons/{personId}\": [\"200\"],\n \"GET /persongroups/{personGroupId}/persons/{personId}\": [\"200\"],\n \"PATCH /persongroups/{personGroupId}/persons/{personId}\": [\"200\"],\n \"POST /persongroups/{personGroupId}/persons/{personId}/persistedfaces\": [\"200\"],\n \"DELETE /persongroups/{personGroupId}/persons/{personId}/persistedfaces/{persistedFaceId}\": [\n \"200\",\n ],\n \"GET /persongroups/{personGroupId}/persons/{personId}/persistedfaces/{persistedFaceId}\": [\"200\"],\n \"PATCH /persongroups/{personGroupId}/persons/{personId}/persistedfaces/{persistedFaceId}\": [\n \"200\",\n ],\n \"PUT /largepersongroups/{largePersonGroupId}\": [\"200\"],\n \"DELETE /largepersongroups/{largePersonGroupId}\": [\"200\"],\n \"GET /largepersongroups/{largePersonGroupId}\": [\"200\"],\n \"PATCH /largepersongroups/{largePersonGroupId}\": [\"200\"],\n \"GET /largepersongroups\": [\"200\"],\n \"GET /largepersongroups/{largePersonGroupId}/training\": [\"200\"],\n \"GET /largepersongroups/{largePersonGroupId}/train\": [\"200\", \"202\"],\n \"POST /largepersongroups/{largePersonGroupId}/train\": [\"202\"],\n \"POST /largepersongroups/{largePersonGroupId}/persons\": [\"200\"],\n \"GET /largepersongroups/{largePersonGroupId}/persons\": [\"200\"],\n \"DELETE /largepersongroups/{largePersonGroupId}/persons/{personId}\": [\"200\"],\n \"GET /largepersongroups/{largePersonGroupId}/persons/{personId}\": [\"200\"],\n \"PATCH /largepersongroups/{largePersonGroupId}/persons/{personId}\": [\"200\"],\n \"POST /largepersongroups/{largePersonGroupId}/persons/{personId}/persistedfaces\": [\"200\"],\n \"DELETE /largepersongroups/{largePersonGroupId}/persons/{personId}/persistedfaces/{persistedFaceId}\":\n [\"200\"],\n \"GET /largepersongroups/{largePersonGroupId}/persons/{personId}/persistedfaces/{persistedFaceId}\":\n [\"200\"],\n \"PATCH /largepersongroups/{largePersonGroupId}/persons/{personId}/persistedfaces/{persistedFaceId}\":\n [\"200\"],\n};\n\nexport function isUnexpected(\n response: GetOperationResult200Response | GetOperationResultDefaultResponse,\n): response is GetOperationResultDefaultResponse;\nexport function isUnexpected(\n response: DetectFromUrl200Response | DetectFromUrlDefaultResponse,\n): response is DetectFromUrlDefaultResponse;\nexport function isUnexpected(\n response: Detect200Response | DetectDefaultResponse,\n): response is DetectDefaultResponse;\nexport function isUnexpected(\n response: FindSimilar200Response | FindSimilarDefaultResponse,\n): response is FindSimilarDefaultResponse;\nexport function isUnexpected(\n response: FindSimilarFromFaceList200Response | FindSimilarFromFaceListDefaultResponse,\n): response is FindSimilarFromFaceListDefaultResponse;\nexport function isUnexpected(\n response: FindSimilarFromLargeFaceList200Response | FindSimilarFromLargeFaceListDefaultResponse,\n): response is FindSimilarFromLargeFaceListDefaultResponse;\nexport function isUnexpected(\n response: IdentifyFromPersonGroup200Response | IdentifyFromPersonGroupDefaultResponse,\n): response is IdentifyFromPersonGroupDefaultResponse;\nexport function isUnexpected(\n response: IdentifyFromLargePersonGroup200Response | IdentifyFromLargePersonGroupDefaultResponse,\n): response is IdentifyFromLargePersonGroupDefaultResponse;\nexport function isUnexpected(\n response: IdentifyFromPersonDirectory200Response | IdentifyFromPersonDirectoryDefaultResponse,\n): response is IdentifyFromPersonDirectoryDefaultResponse;\nexport function isUnexpected(\n response:\n | IdentifyFromDynamicPersonGroup200Response\n | IdentifyFromDynamicPersonGroupDefaultResponse,\n): response is IdentifyFromDynamicPersonGroupDefaultResponse;\nexport function isUnexpected(\n response: VerifyFaceToFace200Response | VerifyFaceToFaceDefaultResponse,\n): response is VerifyFaceToFaceDefaultResponse;\nexport function isUnexpected(\n response: VerifyFromPersonGroup200Response | VerifyFromPersonGroupDefaultResponse,\n): response is VerifyFromPersonGroupDefaultResponse;\nexport function isUnexpected(\n response: VerifyFromLargePersonGroup200Response | VerifyFromLargePersonGroupDefaultResponse,\n): response is VerifyFromLargePersonGroupDefaultResponse;\nexport function isUnexpected(\n response: VerifyFromPersonDirectory200Response | VerifyFromPersonDirectoryDefaultResponse,\n): response is VerifyFromPersonDirectoryDefaultResponse;\nexport function isUnexpected(\n response: Group200Response | GroupDefaultResponse,\n): response is GroupDefaultResponse;\nexport function isUnexpected(\n response: CreateLivenessSession200Response | CreateLivenessSessionDefaultResponse,\n): response is CreateLivenessSessionDefaultResponse;\nexport function isUnexpected(\n response: GetLivenessSessions200Response | GetLivenessSessionsDefaultResponse,\n): response is GetLivenessSessionsDefaultResponse;\nexport function isUnexpected(\n response: DeleteLivenessSession200Response | DeleteLivenessSessionDefaultResponse,\n): response is DeleteLivenessSessionDefaultResponse;\nexport function isUnexpected(\n response: GetLivenessSessionResult200Response | GetLivenessSessionResultDefaultResponse,\n): response is GetLivenessSessionResultDefaultResponse;\nexport function isUnexpected(\n response:\n | GetLivenessSessionAuditEntries200Response\n | GetLivenessSessionAuditEntriesDefaultResponse,\n): response is GetLivenessSessionAuditEntriesDefaultResponse;\nexport function isUnexpected(\n response:\n | CreateLivenessWithVerifySessionWithVerifyImage200Response\n | CreateLivenessWithVerifySessionWithVerifyImageDefaultResponse,\n): response is CreateLivenessWithVerifySessionWithVerifyImageDefaultResponse;\nexport function isUnexpected(\n response:\n | CreateLivenessWithVerifySession200Response\n | CreateLivenessWithVerifySessionDefaultResponse,\n): response is CreateLivenessWithVerifySessionDefaultResponse;\nexport function isUnexpected(\n response: GetLivenessWithVerifySessions200Response | GetLivenessWithVerifySessionsDefaultResponse,\n): response is GetLivenessWithVerifySessionsDefaultResponse;\nexport function isUnexpected(\n response:\n | DeleteLivenessWithVerifySession200Response\n | DeleteLivenessWithVerifySessionDefaultResponse,\n): response is DeleteLivenessWithVerifySessionDefaultResponse;\nexport function isUnexpected(\n response:\n | GetLivenessWithVerifySessionResult200Response\n | GetLivenessWithVerifySessionResultDefaultResponse,\n): response is GetLivenessWithVerifySessionResultDefaultResponse;\nexport function isUnexpected(\n response:\n | GetLivenessWithVerifySessionAuditEntries200Response\n | GetLivenessWithVerifySessionAuditEntriesDefaultResponse,\n): response is GetLivenessWithVerifySessionAuditEntriesDefaultResponse;\nexport function isUnexpected(\n response: CreateFaceList200Response | CreateFaceListDefaultResponse,\n): response is CreateFaceListDefaultResponse;\nexport function isUnexpected(\n response: DeleteFaceList200Response | DeleteFaceListDefaultResponse,\n): response is DeleteFaceListDefaultResponse;\nexport function isUnexpected(\n response: GetFaceList200Response | GetFaceListDefaultResponse,\n): response is GetFaceListDefaultResponse;\nexport function isUnexpected(\n response: UpdateFaceList200Response | UpdateFaceListDefaultResponse,\n): response is UpdateFaceListDefaultResponse;\nexport function isUnexpected(\n response: GetFaceLists200Response | GetFaceListsDefaultResponse,\n): response is GetFaceListsDefaultResponse;\nexport function isUnexpected(\n response: AddFaceListFaceFromUrl200Response | AddFaceListFaceFromUrlDefaultResponse,\n): response is AddFaceListFaceFromUrlDefaultResponse;\nexport function isUnexpected(\n response: AddFaceListFace200Response | AddFaceListFaceDefaultResponse,\n): response is AddFaceListFaceDefaultResponse;\nexport function isUnexpected(\n response: DeleteFaceListFace200Response | DeleteFaceListFaceDefaultResponse,\n): response is DeleteFaceListFaceDefaultResponse;\nexport function isUnexpected(\n response: CreateLargeFaceList200Response | CreateLargeFaceListDefaultResponse,\n): response is CreateLargeFaceListDefaultResponse;\nexport function isUnexpected(\n response: DeleteLargeFaceList200Response | DeleteLargeFaceListDefaultResponse,\n): response is DeleteLargeFaceListDefaultResponse;\nexport function isUnexpected(\n response: GetLargeFaceList200Response | GetLargeFaceListDefaultResponse,\n): response is GetLargeFaceListDefaultResponse;\nexport function isUnexpected(\n response: UpdateLargeFaceList200Response | UpdateLargeFaceListDefaultResponse,\n): response is UpdateLargeFaceListDefaultResponse;\nexport function isUnexpected(\n response: GetLargeFaceLists200Response | GetLargeFaceListsDefaultResponse,\n): response is GetLargeFaceListsDefaultResponse;\nexport function isUnexpected(\n response:\n | GetLargeFaceListTrainingStatus200Response\n | GetLargeFaceListTrainingStatusDefaultResponse,\n): response is GetLargeFaceListTrainingStatusDefaultResponse;\nexport function isUnexpected(\n response:\n | TrainLargeFaceList202Response\n | TrainLargeFaceListLogicalResponse\n | TrainLargeFaceListDefaultResponse,\n): response is TrainLargeFaceListDefaultResponse;\nexport function isUnexpected(\n response: AddLargeFaceListFaceFromUrl200Response | AddLargeFaceListFaceFromUrlDefaultResponse,\n): response is AddLargeFaceListFaceFromUrlDefaultResponse;\nexport function isUnexpected(\n response: AddLargeFaceListFace200Response | AddLargeFaceListFaceDefaultResponse,\n): response is AddLargeFaceListFaceDefaultResponse;\nexport function isUnexpected(\n response: GetLargeFaceListFaces200Response | GetLargeFaceListFacesDefaultResponse,\n): response is GetLargeFaceListFacesDefaultResponse;\nexport function isUnexpected(\n response: DeleteLargeFaceListFace200Response | DeleteLargeFaceListFaceDefaultResponse,\n): response is DeleteLargeFaceListFaceDefaultResponse;\nexport function isUnexpected(\n response: GetLargeFaceListFace200Response | GetLargeFaceListFaceDefaultResponse,\n): response is GetLargeFaceListFaceDefaultResponse;\nexport function isUnexpected(\n response: UpdateLargeFaceListFace200Response | UpdateLargeFaceListFaceDefaultResponse,\n): response is UpdateLargeFaceListFaceDefaultResponse;\nexport function isUnexpected(\n response: CreatePerson202Response | CreatePersonLogicalResponse | CreatePersonDefaultResponse,\n): response is CreatePersonDefaultResponse;\nexport function isUnexpected(\n response: GetPersons200Response | GetPersonsDefaultResponse,\n): response is GetPersonsDefaultResponse;\nexport function isUnexpected(\n response: DeletePerson202Response | DeletePersonLogicalResponse | DeletePersonDefaultResponse,\n): response is DeletePersonDefaultResponse;\nexport function isUnexpected(\n response: GetPerson200Response | GetPersonDefaultResponse,\n): response is GetPersonDefaultResponse;\nexport function isUnexpected(\n response: UpdatePerson200Response | UpdatePersonDefaultResponse,\n): response is UpdatePersonDefaultResponse;\nexport function isUnexpected(\n response:\n | GetDynamicPersonGroupReferences200Response\n | GetDynamicPersonGroupReferencesDefaultResponse,\n): response is GetDynamicPersonGroupReferencesDefaultResponse;\nexport function isUnexpected(\n response: AddPersonFace202Response | AddPersonFaceLogicalResponse | AddPersonFaceDefaultResponse,\n): response is AddPersonFaceDefaultResponse;\nexport function isUnexpected(\n response:\n | AddPersonFaceFromUrl202Response\n | AddPersonFaceFromUrlLogicalResponse\n | AddPersonFaceFromUrlDefaultResponse,\n): response is AddPersonFaceFromUrlDefaultResponse;\nexport function isUnexpected(\n response: GetPersonFaces200Response | GetPersonFacesDefaultResponse,\n): response is GetPersonFacesDefaultResponse;\nexport function isUnexpected(\n response:\n | DeletePersonFace202Response\n | DeletePersonFaceLogicalResponse\n | DeletePersonFaceDefaultResponse,\n): response is DeletePersonFaceDefaultResponse;\nexport function isUnexpected(\n response: GetPersonFace200Response | GetPersonFaceDefaultResponse,\n): response is GetPersonFaceDefaultResponse;\nexport function isUnexpected(\n response: UpdatePersonFace200Response | UpdatePersonFaceDefaultResponse,\n): response is UpdatePersonFaceDefaultResponse;\nexport function isUnexpected(\n response:\n | CreateDynamicPersonGroupWithPerson202Response\n | CreateDynamicPersonGroupWithPersonLogicalResponse\n | CreateDynamicPersonGroupWithPersonDefaultResponse,\n): response is CreateDynamicPersonGroupWithPersonDefaultResponse;\nexport function isUnexpected(\n response: CreateDynamicPersonGroup200Response | CreateDynamicPersonGroupDefaultResponse,\n): response is CreateDynamicPersonGroupDefaultResponse;\nexport function isUnexpected(\n response:\n | DeleteDynamicPersonGroup202Response\n | DeleteDynamicPersonGroupLogicalResponse\n | DeleteDynamicPersonGroupDefaultResponse,\n): response is DeleteDynamicPersonGroupDefaultResponse;\nexport function isUnexpected(\n response: GetDynamicPersonGroup200Response | GetDynamicPersonGroupDefaultResponse,\n): response is GetDynamicPersonGroupDefaultResponse;\nexport function isUnexpected(\n response:\n | UpdateDynamicPersonGroupWithPersonChanges202Response\n | UpdateDynamicPersonGroupWithPersonChangesLogicalResponse\n | UpdateDynamicPersonGroupWithPersonChangesDefaultResponse,\n): response is UpdateDynamicPersonGroupWithPersonChangesDefaultResponse;\nexport function isUnexpected(\n response: UpdateDynamicPersonGroup200Response | UpdateDynamicPersonGroupDefaultResponse,\n): response is UpdateDynamicPersonGroupDefaultResponse;\nexport function isUnexpected(\n response: GetDynamicPersonGroups200Response | GetDynamicPersonGroupsDefaultResponse,\n): response is GetDynamicPersonGroupsDefaultResponse;\nexport function isUnexpected(\n response: GetDynamicPersonGroupPersons200Response | GetDynamicPersonGroupPersonsDefaultResponse,\n): response is GetDynamicPersonGroupPersonsDefaultResponse;\nexport function isUnexpected(\n response: CreatePersonGroup200Response | CreatePersonGroupDefaultResponse,\n): response is CreatePersonGroupDefaultResponse;\nexport function isUnexpected(\n response: DeletePersonGroup200Response | DeletePersonGroupDefaultResponse,\n): response is DeletePersonGroupDefaultResponse;\nexport function isUnexpected(\n response: GetPersonGroup200Response | GetPersonGroupDefaultResponse,\n): response is GetPersonGroupDefaultResponse;\nexport function isUnexpected(\n response: UpdatePersonGroup200Response | UpdatePersonGroupDefaultResponse,\n): response is UpdatePersonGroupDefaultResponse;\nexport function isUnexpected(\n response: GetPersonGroups200Response | GetPersonGroupsDefaultResponse,\n): response is GetPersonGroupsDefaultResponse;\nexport function isUnexpected(\n response: GetPersonGroupTrainingStatus200Response | GetPersonGroupTrainingStatusDefaultResponse,\n): response is GetPersonGroupTrainingStatusDefaultResponse;\nexport function isUnexpected(\n response:\n | TrainPersonGroup202Response\n | TrainPersonGroupLogicalResponse\n | TrainPersonGroupDefaultResponse,\n): response is TrainPersonGroupDefaultResponse;\nexport function isUnexpected(\n response: CreatePersonGroupPerson200Response | CreatePersonGroupPersonDefaultResponse,\n): response is CreatePersonGroupPersonDefaultResponse;\nexport function isUnexpected(\n response: GetPersonGroupPersons200Response | GetPersonGroupPersonsDefaultResponse,\n): response is GetPersonGroupPersonsDefaultResponse;\nexport function isUnexpected(\n response: DeletePersonGroupPerson200Response | DeletePersonGroupPersonDefaultResponse,\n): response is DeletePersonGroupPersonDefaultResponse;\nexport function isUnexpected(\n response: GetPersonGroupPerson200Response | GetPersonGroupPersonDefaultResponse,\n): response is GetPersonGroupPersonDefaultResponse;\nexport function isUnexpected(\n response: UpdatePersonGroupPerson200Response | UpdatePersonGroupPersonDefaultResponse,\n): response is UpdatePersonGroupPersonDefaultResponse;\nexport function isUnexpected(\n response:\n | AddPersonGroupPersonFaceFromUrl200Response\n | AddPersonGroupPersonFaceFromUrlDefaultResponse,\n): response is AddPersonGroupPersonFaceFromUrlDefaultResponse;\nexport function isUnexpected(\n response: AddPersonGroupPersonFace200Response | AddPersonGroupPersonFaceDefaultResponse,\n): response is AddPersonGroupPersonFaceDefaultResponse;\nexport function isUnexpected(\n response: DeletePersonGroupPersonFace200Response | DeletePersonGroupPersonFaceDefaultResponse,\n): response is DeletePersonGroupPersonFaceDefaultResponse;\nexport function isUnexpected(\n response: GetPersonGroupPersonFace200Response | GetPersonGroupPersonFaceDefaultResponse,\n): response is GetPersonGroupPersonFaceDefaultResponse;\nexport function isUnexpected(\n response: UpdatePersonGroupPersonFace200Response | UpdatePersonGroupPersonFaceDefaultResponse,\n): response is UpdatePersonGroupPersonFaceDefaultResponse;\nexport function isUnexpected(\n response: CreateLargePersonGroup200Response | CreateLargePersonGroupDefaultResponse,\n): response is CreateLargePersonGroupDefaultResponse;\nexport function isUnexpected(\n response: DeleteLargePersonGroup200Response | DeleteLargePersonGroupDefaultResponse,\n): response is DeleteLargePersonGroupDefaultResponse;\nexport function isUnexpected(\n response: GetLargePersonGroup200Response | GetLargePersonGroupDefaultResponse,\n): response is GetLargePersonGroupDefaultResponse;\nexport function isUnexpected(\n response: UpdateLargePersonGroup200Response | UpdateLargePersonGroupDefaultResponse,\n): response is UpdateLargePersonGroupDefaultResponse;\nexport function isUnexpected(\n response: GetLargePersonGroups200Response | GetLargePersonGroupsDefaultResponse,\n): response is GetLargePersonGroupsDefaultResponse;\nexport function isUnexpected(\n response:\n | GetLargePersonGroupTrainingStatus200Response\n | GetLargePersonGroupTrainingStatusDefaultResponse,\n): response is GetLargePersonGroupTrainingStatusDefaultResponse;\nexport function isUnexpected(\n response:\n | TrainLargePersonGroup202Response\n | TrainLargePersonGroupLogicalResponse\n | TrainLargePersonGroupDefaultResponse,\n): response is TrainLargePersonGroupDefaultResponse;\nexport function isUnexpected(\n response: CreateLargePersonGroupPerson200Response | CreateLargePersonGroupPersonDefaultResponse,\n): response is CreateLargePersonGroupPersonDefaultResponse;\nexport function isUnexpected(\n response: GetLargePersonGroupPersons200Response | GetLargePersonGroupPersonsDefaultResponse,\n): response is GetLargePersonGroupPersonsDefaultResponse;\nexport function isUnexpected(\n response: DeleteLargePersonGroupPerson200Response | DeleteLargePersonGroupPersonDefaultResponse,\n): response is DeleteLargePersonGroupPersonDefaultResponse;\nexport function isUnexpected(\n response: GetLargePersonGroupPerson200Response | GetLargePersonGroupPersonDefaultResponse,\n): response is GetLargePersonGroupPersonDefaultResponse;\nexport function isUnexpected(\n response: UpdateLargePersonGroupPerson200Response | UpdateLargePersonGroupPersonDefaultResponse,\n): response is UpdateLargePersonGroupPersonDefaultResponse;\nexport function isUnexpected(\n response:\n | AddLargePersonGroupPersonFaceFromUrl200Response\n | AddLargePersonGroupPersonFaceFromUrlDefaultResponse,\n): response is AddLargePersonGroupPersonFaceFromUrlDefaultResponse;\nexport function isUnexpected(\n response: AddLargePersonGroupPersonFace200Response | AddLargePersonGroupPersonFaceDefaultResponse,\n): response is AddLargePersonGroupPersonFaceDefaultResponse;\nexport function isUnexpected(\n response:\n | DeleteLargePersonGroupPersonFace200Response\n | DeleteLargePersonGroupPersonFaceDefaultResponse,\n): response is DeleteLargePersonGroupPersonFaceDefaultResponse;\nexport function isUnexpected(\n response: GetLargePersonGroupPersonFace200Response | GetLargePersonGroupPersonFaceDefaultResponse,\n): response is GetLargePersonGroupPersonFaceDefaultResponse;\nexport function isUnexpected(\n response:\n | UpdateLargePersonGroupPersonFace200Response\n | UpdateLargePersonGroupPersonFaceDefaultResponse,\n): response is UpdateLargePersonGroupPersonFaceDefaultResponse;\nexport function isUnexpected(\n response:\n | GetOperationResult200Response\n | GetOperationResultDefaultResponse\n | DetectFromUrl200Response\n | DetectFromUrlDefaultResponse\n | Detect200Response\n | DetectDefaultResponse\n | FindSimilar200Response\n | FindSimilarDefaultResponse\n | FindSimilarFromFaceList200Response\n | FindSimilarFromFaceListDefaultResponse\n | FindSimilarFromLargeFaceList200Response\n | FindSimilarFromLargeFaceListDefaultResponse\n | IdentifyFromPersonGroup200Response\n | IdentifyFromPersonGroupDefaultResponse\n | IdentifyFromLargePersonGroup200Response\n | IdentifyFromLargePersonGroupDefaultResponse\n | IdentifyFromPersonDirectory200Response\n | IdentifyFromPersonDirectoryDefaultResponse\n | IdentifyFromDynamicPersonGroup200Response\n | IdentifyFromDynamicPersonGroupDefaultResponse\n | VerifyFaceToFace200Response\n | VerifyFaceToFaceDefaultResponse\n | VerifyFromPersonGroup200Response\n | VerifyFromPersonGroupDefaultResponse\n | VerifyFromLargePersonGroup200Response\n | VerifyFromLargePersonGroupDefaultResponse\n | VerifyFromPersonDirectory200Response\n | VerifyFromPersonDirectoryDefaultResponse\n | Group200Response\n | GroupDefaultResponse\n | CreateLivenessSession200Response\n | CreateLivenessSessionDefaultResponse\n | GetLivenessSessions200Response\n | GetLivenessSessionsDefaultResponse\n | DeleteLivenessSession200Response\n | DeleteLivenessSessionDefaultResponse\n | GetLivenessSessionResult200Response\n | GetLivenessSessionResultDefaultResponse\n | GetLivenessSessionAuditEntries200Response\n | GetLivenessSessionAuditEntriesDefaultResponse\n | CreateLivenessWithVerifySessionWithVerifyImage200Response\n | CreateLivenessWithVerifySessionWithVerifyImageDefaultResponse\n | CreateLivenessWithVerifySession200Response\n | CreateLivenessWithVerifySessionDefaultResponse\n | GetLivenessWithVerifySessions200Response\n | GetLivenessWithVerifySessionsDefaultResponse\n | DeleteLivenessWithVerifySession200Response\n | DeleteLivenessWithVerifySessionDefaultResponse\n | GetLivenessWithVerifySessionResult200Response\n | GetLivenessWithVerifySessionResultDefaultResponse\n | GetLivenessWithVerifySessionAuditEntries200Response\n | GetLivenessWithVerifySessionAuditEntriesDefaultResponse\n | CreateFaceList200Response\n | CreateFaceListDefaultResponse\n | DeleteFaceList200Response\n | DeleteFaceListDefaultResponse\n | GetFaceList200Response\n | GetFaceListDefaultResponse\n | UpdateFaceList200Response\n | UpdateFaceListDefaultResponse\n | GetFaceLists200Response\n | GetFaceListsDefaultResponse\n | AddFaceListFaceFromUrl200Response\n | AddFaceListFaceFromUrlDefaultResponse\n | AddFaceListFace200Response\n | AddFaceListFaceDefaultResponse\n | DeleteFaceListFace200Response\n | DeleteFaceListFaceDefaultResponse\n | CreateLargeFaceList200Response\n | CreateLargeFaceListDefaultResponse\n | DeleteLargeFaceList200Response\n | DeleteLargeFaceListDefaultResponse\n | GetLargeFaceList200Response\n | GetLargeFaceListDefaultResponse\n | UpdateLargeFaceList200Response\n | UpdateLargeFaceListDefaultResponse\n | GetLargeFaceLists200Response\n | GetLargeFaceListsDefaultResponse\n | GetLargeFaceListTrainingStatus200Response\n | GetLargeFaceListTrainingStatusDefaultResponse\n | TrainLargeFaceList202Response\n | TrainLargeFaceListLogicalResponse\n | TrainLargeFaceListDefaultResponse\n | AddLargeFaceListFaceFromUrl200Response\n | AddLargeFaceListFaceFromUrlDefaultResponse\n | AddLargeFaceListFace200Response\n | AddLargeFaceListFaceDefaultResponse\n | GetLargeFaceListFaces200Response\n | GetLargeFaceListFacesDefaultResponse\n | DeleteLargeFaceListFace200Response\n | DeleteLargeFaceListFaceDefaultResponse\n | GetLargeFaceListFace200Response\n | GetLargeFaceListFaceDefaultResponse\n | UpdateLargeFaceListFace200Response\n | UpdateLargeFaceListFaceDefaultResponse\n | CreatePerson202Response\n | CreatePersonLogicalResponse\n | CreatePersonDefaultResponse\n | GetPersons200Response\n | GetPersonsDefaultResponse\n | DeletePerson202Response\n | DeletePersonLogicalResponse\n | DeletePersonDefaultResponse\n | GetPerson200Response\n | GetPersonDefaultResponse\n | UpdatePerson200Response\n | UpdatePersonDefaultResponse\n | GetDynamicPersonGroupReferences200Response\n | GetDynamicPersonGroupReferencesDefaultResponse\n | AddPersonFace202Response\n | AddPersonFaceLogicalResponse\n | AddPersonFaceDefaultResponse\n | AddPersonFaceFromUrl202Response\n | AddPersonFaceFromUrlLogicalResponse\n | AddPersonFaceFromUrlDefaultResponse\n | GetPersonFaces200Response\n | GetPersonFacesDefaultResponse\n | DeletePersonFace202Response\n | DeletePersonFaceLogicalResponse\n | DeletePersonFaceDefaultResponse\n | GetPersonFace200Response\n | GetPersonFaceDefaultResponse\n | UpdatePersonFace200Response\n | UpdatePersonFaceDefaultResponse\n | CreateDynamicPersonGroupWithPerson202Response\n | CreateDynamicPersonGroupWithPersonLogicalResponse\n | CreateDynamicPersonGroupWithPersonDefaultResponse\n | CreateDynamicPersonGroup200Response\n | CreateDynamicPersonGroupDefaultResponse\n | DeleteDynamicPersonGroup202Response\n | DeleteDynamicPersonGroupLogicalResponse\n | DeleteDynamicPersonGroupDefaultResponse\n | GetDynamicPersonGroup200Response\n | GetDynamicPersonGroupDefaultResponse\n | UpdateDynamicPersonGroupWithPersonChanges202Response\n | UpdateDynamicPersonGroupWithPersonChangesLogicalResponse\n | UpdateDynamicPersonGroupWithPersonChangesDefaultResponse\n | UpdateDynamicPersonGroup200Response\n | UpdateDynamicPersonGroupDefaultResponse\n | GetDynamicPersonGroups200Response\n | GetDynamicPersonGroupsDefaultResponse\n | GetDynamicPersonGroupPersons200Response\n | GetDynamicPersonGroupPersonsDefaultResponse\n | CreatePersonGroup200Response\n | CreatePersonGroupDefaultResponse\n | DeletePersonGroup200Response\n | DeletePersonGroupDefaultResponse\n | GetPersonGroup200Response\n | GetPersonGroupDefaultResponse\n | UpdatePersonGroup200Response\n | UpdatePersonGroupDefaultResponse\n | GetPersonGroups200Response\n | GetPersonGroupsDefaultResponse\n | GetPersonGroupTrainingStatus200Response\n | GetPersonGroupTrainingStatusDefaultResponse\n | TrainPersonGroup202Response\n | TrainPersonGroupLogicalResponse\n | TrainPersonGroupDefaultResponse\n | CreatePersonGroupPerson200Response\n | CreatePersonGroupPersonDefaultResponse\n | GetPersonGroupPersons200Response\n | GetPersonGroupPersonsDefaultResponse\n | DeletePersonGroupPerson200Response\n | DeletePersonGroupPersonDefaultResponse\n | GetPersonGroupPerson200Response\n | GetPersonGroupPersonDefaultResponse\n | UpdatePersonGroupPerson200Response\n | UpdatePersonGroupPersonDefaultResponse\n | AddPersonGroupPersonFaceFromUrl200Response\n | AddPersonGroupPersonFaceFromUrlDefaultResponse\n | AddPersonGroupPersonFace200Response\n | AddPersonGroupPersonFaceDefaultResponse\n | DeletePersonGroupPersonFace200Response\n | DeletePersonGroupPersonFaceDefaultResponse\n | GetPersonGroupPersonFace200Response\n | GetPersonGroupPersonFaceDefaultResponse\n | UpdatePersonGroupPersonFace200Response\n | UpdatePersonGroupPersonFaceDefaultResponse\n | CreateLargePersonGroup200Response\n | CreateLargePersonGroupDefaultResponse\n | DeleteLargePersonGroup200Response\n | DeleteLargePersonGroupDefaultResponse\n | GetLargePersonGroup200Response\n | GetLargePersonGroupDefaultResponse\n | UpdateLargePersonGroup200Response\n | UpdateLargePersonGroupDefaultResponse\n | GetLargePersonGroups200Response\n | GetLargePersonGroupsDefaultResponse\n | GetLargePersonGroupTrainingStatus200Response\n | GetLargePersonGroupTrainingStatusDefaultResponse\n | TrainLargePersonGroup202Response\n | TrainLargePersonGroupLogicalResponse\n | TrainLargePersonGroupDefaultResponse\n | CreateLargePersonGroupPerson200Response\n | CreateLargePersonGroupPersonDefaultResponse\n | GetLargePersonGroupPersons200Response\n | GetLargePersonGroupPersonsDefaultResponse\n | DeleteLargePersonGroupPerson200Response\n | DeleteLargePersonGroupPersonDefaultResponse\n | GetLargePersonGroupPerson200Response\n | GetLargePersonGroupPersonDefaultResponse\n | UpdateLargePersonGroupPerson200Response\n | UpdateLargePersonGroupPersonDefaultResponse\n | AddLargePersonGroupPersonFaceFromUrl200Response\n | AddLargePersonGroupPersonFaceFromUrlDefaultResponse\n | AddLargePersonGroupPersonFace200Response\n | AddLargePersonGroupPersonFaceDefaultResponse\n | DeleteLargePersonGroupPersonFace200Response\n | DeleteLargePersonGroupPersonFaceDefaultResponse\n | GetLargePersonGroupPersonFace200Response\n | GetLargePersonGroupPersonFaceDefaultResponse\n | UpdateLargePersonGroupPersonFace200Response\n | UpdateLargePersonGroupPersonFaceDefaultResponse,\n): response is\n | GetOperationResultDefaultResponse\n | DetectFromUrlDefaultResponse\n | DetectDefaultResponse\n | FindSimilarDefaultResponse\n | FindSimilarFromFaceListDefaultResponse\n | FindSimilarFromLargeFaceListDefaultResponse\n | IdentifyFromPersonGroupDefaultResponse\n | IdentifyFromLargePersonGroupDefaultResponse\n | IdentifyFromPersonDirectoryDefaultResponse\n | IdentifyFromDynamicPersonGroupDefaultResponse\n | VerifyFaceToFaceDefaultResponse\n | VerifyFromPersonGroupDefaultResponse\n | VerifyFromLargePersonGroupDefaultResponse\n | VerifyFromPersonDirectoryDefaultResponse\n | GroupDefaultResponse\n | CreateLivenessSessionDefaultResponse\n | GetLivenessSessionsDefaultResponse\n | DeleteLivenessSessionDefaultResponse\n | GetLivenessSessionResultDefaultResponse\n | GetLivenessSessionAuditEntriesDefaultResponse\n | CreateLivenessWithVerifySessionWithVerifyImageDefaultResponse\n | CreateLivenessWithVerifySessionDefaultResponse\n | GetLivenessWithVerifySessionsDefaultResponse\n | DeleteLivenessWithVerifySessionDefaultResponse\n | GetLivenessWithVerifySessionResultDefaultResponse\n | GetLivenessWithVerifySessionAuditEntriesDefaultResponse\n | CreateFaceListDefaultResponse\n | DeleteFaceListDefaultResponse\n | GetFaceListDefaultResponse\n | UpdateFaceListDefaultResponse\n | GetFaceListsDefaultResponse\n | AddFaceListFaceFromUrlDefaultResponse\n | AddFaceListFaceDefaultResponse\n | DeleteFaceListFaceDefaultResponse\n | CreateLargeFaceListDefaultResponse\n | DeleteLargeFaceListDefaultResponse\n | GetLargeFaceListDefaultResponse\n | UpdateLargeFaceListDefaultResponse\n | GetLargeFaceListsDefaultResponse\n | GetLargeFaceListTrainingStatusDefaultResponse\n | TrainLargeFaceListDefaultResponse\n | AddLargeFaceListFaceFromUrlDefaultResponse\n | AddLargeFaceListFaceDefaultResponse\n | GetLargeFaceListFacesDefaultResponse\n | DeleteLargeFaceListFaceDefaultResponse\n | GetLargeFaceListFaceDefaultResponse\n | UpdateLargeFaceListFaceDefaultResponse\n | CreatePersonDefaultResponse\n | GetPersonsDefaultResponse\n | DeletePersonDefaultResponse\n | GetPersonDefaultResponse\n | UpdatePersonDefaultResponse\n | GetDynamicPersonGroupReferencesDefaultResponse\n | AddPersonFaceDefaultResponse\n | AddPersonFaceFromUrlDefaultResponse\n | GetPersonFacesDefaultResponse\n | DeletePersonFaceDefaultResponse\n | GetPersonFaceDefaultResponse\n | UpdatePersonFaceDefaultResponse\n | CreateDynamicPersonGroupWithPersonDefaultResponse\n | CreateDynamicPersonGroupDefaultResponse\n | DeleteDynamicPersonGroupDefaultResponse\n | GetDynamicPersonGroupDefaultResponse\n | UpdateDynamicPersonGroupWithPersonChangesDefaultResponse\n | UpdateDynamicPersonGroupDefaultResponse\n | GetDynamicPersonGroupsDefaultResponse\n | GetDynamicPersonGroupPersonsDefaultResponse\n | CreatePersonGroupDefaultResponse\n | DeletePersonGroupDefaultResponse\n | GetPersonGroupDefaultResponse\n | UpdatePersonGroupDefaultResponse\n | GetPersonGroupsDefaultResponse\n | GetPersonGroupTrainingStatusDefaultResponse\n | TrainPersonGroupDefaultResponse\n | CreatePersonGroupPersonDefaultResponse\n | GetPersonGroupPersonsDefaultResponse\n | DeletePersonGroupPersonDefaultResponse\n | GetPersonGroupPersonDefaultResponse\n | UpdatePersonGroupPersonDefaultResponse\n | AddPersonGroupPersonFaceFromUrlDefaultResponse\n | AddPersonGroupPersonFaceDefaultResponse\n | DeletePersonGroupPersonFaceDefaultResponse\n | GetPersonGroupPersonFaceDefaultResponse\n | UpdatePersonGroupPersonFaceDefaultResponse\n | CreateLargePersonGroupDefaultResponse\n | DeleteLargePersonGroupDefaultResponse\n | GetLargePersonGroupDefaultResponse\n | UpdateLargePersonGroupDefaultResponse\n | GetLargePersonGroupsDefaultResponse\n | GetLargePersonGroupTrainingStatusDefaultResponse\n | TrainLargePersonGroupDefaultResponse\n | CreateLargePersonGroupPersonDefaultResponse\n | GetLargePersonGroupPersonsDefaultResponse\n | DeleteLargePersonGroupPersonDefaultResponse\n | GetLargePersonGroupPersonDefaultResponse\n | UpdateLargePersonGroupPersonDefaultResponse\n | AddLargePersonGroupPersonFaceFromUrlDefaultResponse\n | AddLargePersonGroupPersonFaceDefaultResponse\n | DeleteLargePersonGroupPersonFaceDefaultResponse\n | GetLargePersonGroupPersonFaceDefaultResponse\n | UpdateLargePersonGroupPersonFaceDefaultResponse {\n const lroOriginal = response.headers[\"x-ms-original-url\"];\n const url = new URL(lroOriginal ?? response.request.url);\n const method = response.request.method;\n let pathDetails = responseMap[`${method} ${url.pathname}`];\n if (!pathDetails) {\n pathDetails = getParametrizedPathSuccess(method, url.pathname);\n }\n return !pathDetails.includes(response.status);\n}\n\nfunction getParametrizedPathSuccess(method: string, path: string): string[] {\n const pathParts = path.split(\"/\");\n\n // Traverse list to match the longest candidate\n // matchedLen: the length of candidate path\n // matchedValue: the matched status code array\n let matchedLen = -1,\n matchedValue: string[] = [];\n\n // Iterate the responseMap to find a match\n for (const [key, value] of Object.entries(responseMap)) {\n // Extracting the path from the map key which is in format\n // GET /path/foo\n if (!key.startsWith(method)) {\n continue;\n }\n const candidatePath = getPathFromMapKey(key);\n // Get each part of the url path\n const candidateParts = candidatePath.split(\"/\");\n\n // track if we have found a match to return the values found.\n let found = true;\n for (let i = candidateParts.length - 1, j = pathParts.length - 1; i >= 1 && j >= 1; i--, j--) {\n if (candidateParts[i]?.startsWith(\"{\") && candidateParts[i]?.indexOf(\"}\") !== -1) {\n const start = candidateParts[i]!.indexOf(\"}\") + 1,\n end = candidateParts[i]?.length;\n // If the current part of the candidate is a \"template\" part\n // Try to use the suffix of pattern to match the path\n // {guid} ==> $\n // {guid}:export ==> :export$\n const isMatched = new RegExp(`${candidateParts[i]?.slice(start, end)}`).test(\n pathParts[j] || \"\",\n );\n\n if (!isMatched) {\n found = false;\n break;\n }\n continue;\n }\n\n // If the candidate part is not a template and\n // the parts don't match mark the candidate as not found\n // to move on with the next candidate path.\n if (candidateParts[i] !== pathParts[j]) {\n found = false;\n break;\n }\n }\n\n // We finished evaluating the current candidate parts\n // Update the matched value if and only if we found the longer pattern\n if (found && candidatePath.length > matchedLen) {\n matchedLen = candidatePath.length;\n matchedValue = value;\n }\n }\n\n return matchedValue;\n}\n\nfunction getPathFromMapKey(mapKey: string): string {\n const pathStart = mapKey.indexOf(\"/\");\n return mapKey.slice(pathStart);\n}\n"]}
1
+ {"version":3,"file":"isUnexpected.js","sourceRoot":"","sources":["../../src/isUnexpected.ts"],"names":[],"mappings":";AAAA,uCAAuC;AACvC,kCAAkC;;AAkqBlC,oCAqUC;AA7wBD,MAAM,WAAW,G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,SAAS,CAAC,CAAC;AACjC,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport {\n GetOperationResult200Response,\n GetOperationResultDefaultResponse,\n DetectFromUrl200Response,\n DetectFromUrlDefaultResponse,\n Detect200Response,\n DetectDefaultResponse,\n FindSimilar200Response,\n FindSimilarDefaultResponse,\n FindSimilarFromFaceList200Response,\n FindSimilarFromFaceListDefaultResponse,\n FindSimilarFromLargeFaceList200Response,\n FindSimilarFromLargeFaceListDefaultResponse,\n IdentifyFromPersonGroup200Response,\n IdentifyFromPersonGroupDefaultResponse,\n IdentifyFromLargePersonGroup200Response,\n IdentifyFromLargePersonGroupDefaultResponse,\n IdentifyFromPersonDirectory200Response,\n IdentifyFromPersonDirectoryDefaultResponse,\n IdentifyFromDynamicPersonGroup200Response,\n IdentifyFromDynamicPersonGroupDefaultResponse,\n VerifyFaceToFace200Response,\n VerifyFaceToFaceDefaultResponse,\n VerifyFromPersonGroup200Response,\n VerifyFromPersonGroupDefaultResponse,\n VerifyFromLargePersonGroup200Response,\n VerifyFromLargePersonGroupDefaultResponse,\n VerifyFromPersonDirectory200Response,\n VerifyFromPersonDirectoryDefaultResponse,\n Group200Response,\n GroupDefaultResponse,\n CreateLivenessSession200Response,\n CreateLivenessSessionDefaultResponse,\n GetLivenessSessions200Response,\n GetLivenessSessionsDefaultResponse,\n DeleteLivenessSession200Response,\n DeleteLivenessSessionDefaultResponse,\n GetLivenessSessionResult200Response,\n GetLivenessSessionResultDefaultResponse,\n GetLivenessSessionAuditEntries200Response,\n GetLivenessSessionAuditEntriesDefaultResponse,\n CreateLivenessWithVerifySessionWithVerifyImage200Response,\n CreateLivenessWithVerifySessionWithVerifyImageDefaultResponse,\n CreateLivenessWithVerifySession200Response,\n CreateLivenessWithVerifySessionDefaultResponse,\n GetLivenessWithVerifySessions200Response,\n GetLivenessWithVerifySessionsDefaultResponse,\n DeleteLivenessWithVerifySession200Response,\n DeleteLivenessWithVerifySessionDefaultResponse,\n GetLivenessWithVerifySessionResult200Response,\n GetLivenessWithVerifySessionResultDefaultResponse,\n GetLivenessWithVerifySessionAuditEntries200Response,\n GetLivenessWithVerifySessionAuditEntriesDefaultResponse,\n CreateFaceList200Response,\n CreateFaceListDefaultResponse,\n DeleteFaceList200Response,\n DeleteFaceListDefaultResponse,\n GetFaceList200Response,\n GetFaceListDefaultResponse,\n UpdateFaceList200Response,\n UpdateFaceListDefaultResponse,\n GetFaceLists200Response,\n GetFaceListsDefaultResponse,\n AddFaceListFaceFromUrl200Response,\n AddFaceListFaceFromUrlDefaultResponse,\n AddFaceListFace200Response,\n AddFaceListFaceDefaultResponse,\n DeleteFaceListFace200Response,\n DeleteFaceListFaceDefaultResponse,\n CreateLargeFaceList200Response,\n CreateLargeFaceListDefaultResponse,\n DeleteLargeFaceList200Response,\n DeleteLargeFaceListDefaultResponse,\n GetLargeFaceList200Response,\n GetLargeFaceListDefaultResponse,\n UpdateLargeFaceList200Response,\n UpdateLargeFaceListDefaultResponse,\n GetLargeFaceLists200Response,\n GetLargeFaceListsDefaultResponse,\n GetLargeFaceListTrainingStatus200Response,\n GetLargeFaceListTrainingStatusDefaultResponse,\n TrainLargeFaceList202Response,\n TrainLargeFaceListLogicalResponse,\n TrainLargeFaceListDefaultResponse,\n AddLargeFaceListFaceFromUrl200Response,\n AddLargeFaceListFaceFromUrlDefaultResponse,\n AddLargeFaceListFace200Response,\n AddLargeFaceListFaceDefaultResponse,\n GetLargeFaceListFaces200Response,\n GetLargeFaceListFacesDefaultResponse,\n DeleteLargeFaceListFace200Response,\n DeleteLargeFaceListFaceDefaultResponse,\n GetLargeFaceListFace200Response,\n GetLargeFaceListFaceDefaultResponse,\n UpdateLargeFaceListFace200Response,\n UpdateLargeFaceListFaceDefaultResponse,\n CreatePerson202Response,\n CreatePersonLogicalResponse,\n CreatePersonDefaultResponse,\n GetPersons200Response,\n GetPersonsDefaultResponse,\n DeletePerson202Response,\n DeletePersonLogicalResponse,\n DeletePersonDefaultResponse,\n GetPerson200Response,\n GetPersonDefaultResponse,\n UpdatePerson200Response,\n UpdatePersonDefaultResponse,\n GetDynamicPersonGroupReferences200Response,\n GetDynamicPersonGroupReferencesDefaultResponse,\n AddPersonFace202Response,\n AddPersonFaceLogicalResponse,\n AddPersonFaceDefaultResponse,\n AddPersonFaceFromUrl202Response,\n AddPersonFaceFromUrlLogicalResponse,\n AddPersonFaceFromUrlDefaultResponse,\n GetPersonFaces200Response,\n GetPersonFacesDefaultResponse,\n DeletePersonFace202Response,\n DeletePersonFaceLogicalResponse,\n DeletePersonFaceDefaultResponse,\n GetPersonFace200Response,\n GetPersonFaceDefaultResponse,\n UpdatePersonFace200Response,\n UpdatePersonFaceDefaultResponse,\n CreateDynamicPersonGroupWithPerson202Response,\n CreateDynamicPersonGroupWithPersonLogicalResponse,\n CreateDynamicPersonGroupWithPersonDefaultResponse,\n CreateDynamicPersonGroup200Response,\n CreateDynamicPersonGroupDefaultResponse,\n DeleteDynamicPersonGroup202Response,\n DeleteDynamicPersonGroupLogicalResponse,\n DeleteDynamicPersonGroupDefaultResponse,\n GetDynamicPersonGroup200Response,\n GetDynamicPersonGroupDefaultResponse,\n UpdateDynamicPersonGroupWithPersonChanges202Response,\n UpdateDynamicPersonGroupWithPersonChangesLogicalResponse,\n UpdateDynamicPersonGroupWithPersonChangesDefaultResponse,\n UpdateDynamicPersonGroup200Response,\n UpdateDynamicPersonGroupDefaultResponse,\n GetDynamicPersonGroups200Response,\n GetDynamicPersonGroupsDefaultResponse,\n GetDynamicPersonGroupPersons200Response,\n GetDynamicPersonGroupPersonsDefaultResponse,\n CreatePersonGroup200Response,\n CreatePersonGroupDefaultResponse,\n DeletePersonGroup200Response,\n DeletePersonGroupDefaultResponse,\n GetPersonGroup200Response,\n GetPersonGroupDefaultResponse,\n UpdatePersonGroup200Response,\n UpdatePersonGroupDefaultResponse,\n GetPersonGroups200Response,\n GetPersonGroupsDefaultResponse,\n GetPersonGroupTrainingStatus200Response,\n GetPersonGroupTrainingStatusDefaultResponse,\n TrainPersonGroup202Response,\n TrainPersonGroupLogicalResponse,\n TrainPersonGroupDefaultResponse,\n CreatePersonGroupPerson200Response,\n CreatePersonGroupPersonDefaultResponse,\n GetPersonGroupPersons200Response,\n GetPersonGroupPersonsDefaultResponse,\n DeletePersonGroupPerson200Response,\n DeletePersonGroupPersonDefaultResponse,\n GetPersonGroupPerson200Response,\n GetPersonGroupPersonDefaultResponse,\n UpdatePersonGroupPerson200Response,\n UpdatePersonGroupPersonDefaultResponse,\n AddPersonGroupPersonFaceFromUrl200Response,\n AddPersonGroupPersonFaceFromUrlDefaultResponse,\n AddPersonGroupPersonFace200Response,\n AddPersonGroupPersonFaceDefaultResponse,\n DeletePersonGroupPersonFace200Response,\n DeletePersonGroupPersonFaceDefaultResponse,\n GetPersonGroupPersonFace200Response,\n GetPersonGroupPersonFaceDefaultResponse,\n UpdatePersonGroupPersonFace200Response,\n UpdatePersonGroupPersonFaceDefaultResponse,\n CreateLargePersonGroup200Response,\n CreateLargePersonGroupDefaultResponse,\n DeleteLargePersonGroup200Response,\n DeleteLargePersonGroupDefaultResponse,\n GetLargePersonGroup200Response,\n GetLargePersonGroupDefaultResponse,\n UpdateLargePersonGroup200Response,\n UpdateLargePersonGroupDefaultResponse,\n GetLargePersonGroups200Response,\n GetLargePersonGroupsDefaultResponse,\n GetLargePersonGroupTrainingStatus200Response,\n GetLargePersonGroupTrainingStatusDefaultResponse,\n TrainLargePersonGroup202Response,\n TrainLargePersonGroupLogicalResponse,\n TrainLargePersonGroupDefaultResponse,\n CreateLargePersonGroupPerson200Response,\n CreateLargePersonGroupPersonDefaultResponse,\n GetLargePersonGroupPersons200Response,\n GetLargePersonGroupPersonsDefaultResponse,\n DeleteLargePersonGroupPerson200Response,\n DeleteLargePersonGroupPersonDefaultResponse,\n GetLargePersonGroupPerson200Response,\n GetLargePersonGroupPersonDefaultResponse,\n UpdateLargePersonGroupPerson200Response,\n UpdateLargePersonGroupPersonDefaultResponse,\n AddLargePersonGroupPersonFaceFromUrl200Response,\n AddLargePersonGroupPersonFaceFromUrlDefaultResponse,\n AddLargePersonGroupPersonFace200Response,\n AddLargePersonGroupPersonFaceDefaultResponse,\n DeleteLargePersonGroupPersonFace200Response,\n DeleteLargePersonGroupPersonFaceDefaultResponse,\n GetLargePersonGroupPersonFace200Response,\n GetLargePersonGroupPersonFaceDefaultResponse,\n UpdateLargePersonGroupPersonFace200Response,\n UpdateLargePersonGroupPersonFaceDefaultResponse,\n} from \"./responses.js\";\n\nconst responseMap: Record<string, string[]> = {\n \"GET /operations/{operationId}\": [\"200\"],\n \"POST /detect\": [\"200\"],\n \"POST /findsimilars\": [\"200\"],\n \"POST /identify\": [\"200\"],\n \"POST /verify\": [\"200\"],\n \"POST /group\": [\"200\"],\n \"POST /detectLiveness/singleModal/sessions\": [\"200\"],\n \"GET /detectLiveness/singleModal/sessions\": [\"200\"],\n \"DELETE /detectLiveness/singleModal/sessions/{sessionId}\": [\"200\"],\n \"GET /detectLiveness/singleModal/sessions/{sessionId}\": [\"200\"],\n \"GET /detectLiveness/singleModal/sessions/{sessionId}/audit\": [\"200\"],\n \"POST /detectLivenessWithVerify/singleModal/sessions\": [\"200\"],\n \"GET /detectLivenessWithVerify/singleModal/sessions\": [\"200\"],\n \"DELETE /detectLivenessWithVerify/singleModal/sessions/{sessionId}\": [\"200\"],\n \"GET /detectLivenessWithVerify/singleModal/sessions/{sessionId}\": [\"200\"],\n \"GET /detectLivenessWithVerify/singleModal/sessions/{sessionId}/audit\": [\"200\"],\n \"PUT /facelists/{faceListId}\": [\"200\"],\n \"DELETE /facelists/{faceListId}\": [\"200\"],\n \"GET /facelists/{faceListId}\": [\"200\"],\n \"PATCH /facelists/{faceListId}\": [\"200\"],\n \"GET /facelists\": [\"200\"],\n \"POST /facelists/{faceListId}/persistedfaces\": [\"200\"],\n \"DELETE /facelists/{faceListId}/persistedfaces/{persistedFaceId}\": [\"200\"],\n \"PUT /largefacelists/{largeFaceListId}\": [\"200\"],\n \"DELETE /largefacelists/{largeFaceListId}\": [\"200\"],\n \"GET /largefacelists/{largeFaceListId}\": [\"200\"],\n \"PATCH /largefacelists/{largeFaceListId}\": [\"200\"],\n \"GET /largefacelists\": [\"200\"],\n \"GET /largefacelists/{largeFaceListId}/training\": [\"200\"],\n \"GET /largefacelists/{largeFaceListId}/train\": [\"200\", \"202\"],\n \"POST /largefacelists/{largeFaceListId}/train\": [\"202\"],\n \"POST /largefacelists/{largeFaceListId}/persistedfaces\": [\"200\"],\n \"GET /largefacelists/{largeFaceListId}/persistedfaces\": [\"200\"],\n \"DELETE /largefacelists/{largeFaceListId}/persistedfaces/{persistedFaceId}\": [\"200\"],\n \"GET /largefacelists/{largeFaceListId}/persistedfaces/{persistedFaceId}\": [\"200\"],\n \"PATCH /largefacelists/{largeFaceListId}/persistedfaces/{persistedFaceId}\": [\"200\"],\n \"GET /persons\": [\"200\"],\n \"POST /persons\": [\"202\"],\n \"GET /persons/{personId}\": [\"200\"],\n \"DELETE /persons/{personId}\": [\"202\"],\n \"PATCH /persons/{personId}\": [\"200\"],\n \"GET /persons/{personId}/dynamicPersonGroupReferences\": [\"200\"],\n \"GET /persons/{personId}/recognitionModels/{recognitionModel}/persistedfaces\": [\"200\"],\n \"POST /persons/{personId}/recognitionModels/{recognitionModel}/persistedfaces\": [\"202\"],\n \"GET /persons/{personId}/recognitionModels/{recognitionModel}/persistedfaces/{persistedFaceId}\": [\n \"200\",\n ],\n \"DELETE /persons/{personId}/recognitionModels/{recognitionModel}/persistedfaces/{persistedFaceId}\":\n [\"202\"],\n \"PATCH /persons/{personId}/recognitionModels/{recognitionModel}/persistedfaces/{persistedFaceId}\":\n [\"200\"],\n \"GET /dynamicpersongroups/{dynamicPersonGroupId}\": [\"200\"],\n \"PUT /dynamicpersongroups/{dynamicPersonGroupId}\": [\"202\", \"200\"],\n \"DELETE /dynamicpersongroups/{dynamicPersonGroupId}\": [\"202\"],\n \"PATCH /dynamicpersongroups/{dynamicPersonGroupId}\": [\"202\", \"200\"],\n \"GET /dynamicpersongroups\": [\"200\"],\n \"GET /dynamicpersongroups/{dynamicPersonGroupId}/persons\": [\"200\"],\n \"PUT /persongroups/{personGroupId}\": [\"200\"],\n \"DELETE /persongroups/{personGroupId}\": [\"200\"],\n \"GET /persongroups/{personGroupId}\": [\"200\"],\n \"PATCH /persongroups/{personGroupId}\": [\"200\"],\n \"GET /persongroups\": [\"200\"],\n \"GET /persongroups/{personGroupId}/training\": [\"200\"],\n \"GET /persongroups/{personGroupId}/train\": [\"200\", \"202\"],\n \"POST /persongroups/{personGroupId}/train\": [\"202\"],\n \"POST /persongroups/{personGroupId}/persons\": [\"200\"],\n \"GET /persongroups/{personGroupId}/persons\": [\"200\"],\n \"DELETE /persongroups/{personGroupId}/persons/{personId}\": [\"200\"],\n \"GET /persongroups/{personGroupId}/persons/{personId}\": [\"200\"],\n \"PATCH /persongroups/{personGroupId}/persons/{personId}\": [\"200\"],\n \"POST /persongroups/{personGroupId}/persons/{personId}/persistedfaces\": [\"200\"],\n \"DELETE /persongroups/{personGroupId}/persons/{personId}/persistedfaces/{persistedFaceId}\": [\n \"200\",\n ],\n \"GET /persongroups/{personGroupId}/persons/{personId}/persistedfaces/{persistedFaceId}\": [\"200\"],\n \"PATCH /persongroups/{personGroupId}/persons/{personId}/persistedfaces/{persistedFaceId}\": [\n \"200\",\n ],\n \"PUT /largepersongroups/{largePersonGroupId}\": [\"200\"],\n \"DELETE /largepersongroups/{largePersonGroupId}\": [\"200\"],\n \"GET /largepersongroups/{largePersonGroupId}\": [\"200\"],\n \"PATCH /largepersongroups/{largePersonGroupId}\": [\"200\"],\n \"GET /largepersongroups\": [\"200\"],\n \"GET /largepersongroups/{largePersonGroupId}/training\": [\"200\"],\n \"GET /largepersongroups/{largePersonGroupId}/train\": [\"200\", \"202\"],\n \"POST /largepersongroups/{largePersonGroupId}/train\": [\"202\"],\n \"POST /largepersongroups/{largePersonGroupId}/persons\": [\"200\"],\n \"GET /largepersongroups/{largePersonGroupId}/persons\": [\"200\"],\n \"DELETE /largepersongroups/{largePersonGroupId}/persons/{personId}\": [\"200\"],\n \"GET /largepersongroups/{largePersonGroupId}/persons/{personId}\": [\"200\"],\n \"PATCH /largepersongroups/{largePersonGroupId}/persons/{personId}\": [\"200\"],\n \"POST /largepersongroups/{largePersonGroupId}/persons/{personId}/persistedfaces\": [\"200\"],\n \"DELETE /largepersongroups/{largePersonGroupId}/persons/{personId}/persistedfaces/{persistedFaceId}\":\n [\"200\"],\n \"GET /largepersongroups/{largePersonGroupId}/persons/{personId}/persistedfaces/{persistedFaceId}\":\n [\"200\"],\n \"PATCH /largepersongroups/{largePersonGroupId}/persons/{personId}/persistedfaces/{persistedFaceId}\":\n [\"200\"],\n};\n\nexport function isUnexpected(\n response: GetOperationResult200Response | GetOperationResultDefaultResponse,\n): response is GetOperationResultDefaultResponse;\nexport function isUnexpected(\n response: DetectFromUrl200Response | DetectFromUrlDefaultResponse,\n): response is DetectFromUrlDefaultResponse;\nexport function isUnexpected(\n response: Detect200Response | DetectDefaultResponse,\n): response is DetectDefaultResponse;\nexport function isUnexpected(\n response: FindSimilar200Response | FindSimilarDefaultResponse,\n): response is FindSimilarDefaultResponse;\nexport function isUnexpected(\n response: FindSimilarFromFaceList200Response | FindSimilarFromFaceListDefaultResponse,\n): response is FindSimilarFromFaceListDefaultResponse;\nexport function isUnexpected(\n response: FindSimilarFromLargeFaceList200Response | FindSimilarFromLargeFaceListDefaultResponse,\n): response is FindSimilarFromLargeFaceListDefaultResponse;\nexport function isUnexpected(\n response: IdentifyFromPersonGroup200Response | IdentifyFromPersonGroupDefaultResponse,\n): response is IdentifyFromPersonGroupDefaultResponse;\nexport function isUnexpected(\n response: IdentifyFromLargePersonGroup200Response | IdentifyFromLargePersonGroupDefaultResponse,\n): response is IdentifyFromLargePersonGroupDefaultResponse;\nexport function isUnexpected(\n response: IdentifyFromPersonDirectory200Response | IdentifyFromPersonDirectoryDefaultResponse,\n): response is IdentifyFromPersonDirectoryDefaultResponse;\nexport function isUnexpected(\n response:\n | IdentifyFromDynamicPersonGroup200Response\n | IdentifyFromDynamicPersonGroupDefaultResponse,\n): response is IdentifyFromDynamicPersonGroupDefaultResponse;\nexport function isUnexpected(\n response: VerifyFaceToFace200Response | VerifyFaceToFaceDefaultResponse,\n): response is VerifyFaceToFaceDefaultResponse;\nexport function isUnexpected(\n response: VerifyFromPersonGroup200Response | VerifyFromPersonGroupDefaultResponse,\n): response is VerifyFromPersonGroupDefaultResponse;\nexport function isUnexpected(\n response: VerifyFromLargePersonGroup200Response | VerifyFromLargePersonGroupDefaultResponse,\n): response is VerifyFromLargePersonGroupDefaultResponse;\nexport function isUnexpected(\n response: VerifyFromPersonDirectory200Response | VerifyFromPersonDirectoryDefaultResponse,\n): response is VerifyFromPersonDirectoryDefaultResponse;\nexport function isUnexpected(\n response: Group200Response | GroupDefaultResponse,\n): response is GroupDefaultResponse;\nexport function isUnexpected(\n response: CreateLivenessSession200Response | CreateLivenessSessionDefaultResponse,\n): response is CreateLivenessSessionDefaultResponse;\nexport function isUnexpected(\n response: GetLivenessSessions200Response | GetLivenessSessionsDefaultResponse,\n): response is GetLivenessSessionsDefaultResponse;\nexport function isUnexpected(\n response: DeleteLivenessSession200Response | DeleteLivenessSessionDefaultResponse,\n): response is DeleteLivenessSessionDefaultResponse;\nexport function isUnexpected(\n response: GetLivenessSessionResult200Response | GetLivenessSessionResultDefaultResponse,\n): response is GetLivenessSessionResultDefaultResponse;\nexport function isUnexpected(\n response:\n | GetLivenessSessionAuditEntries200Response\n | GetLivenessSessionAuditEntriesDefaultResponse,\n): response is GetLivenessSessionAuditEntriesDefaultResponse;\nexport function isUnexpected(\n response:\n | CreateLivenessWithVerifySessionWithVerifyImage200Response\n | CreateLivenessWithVerifySessionWithVerifyImageDefaultResponse,\n): response is CreateLivenessWithVerifySessionWithVerifyImageDefaultResponse;\nexport function isUnexpected(\n response:\n | CreateLivenessWithVerifySession200Response\n | CreateLivenessWithVerifySessionDefaultResponse,\n): response is CreateLivenessWithVerifySessionDefaultResponse;\nexport function isUnexpected(\n response: GetLivenessWithVerifySessions200Response | GetLivenessWithVerifySessionsDefaultResponse,\n): response is GetLivenessWithVerifySessionsDefaultResponse;\nexport function isUnexpected(\n response:\n | DeleteLivenessWithVerifySession200Response\n | DeleteLivenessWithVerifySessionDefaultResponse,\n): response is DeleteLivenessWithVerifySessionDefaultResponse;\nexport function isUnexpected(\n response:\n | GetLivenessWithVerifySessionResult200Response\n | GetLivenessWithVerifySessionResultDefaultResponse,\n): response is GetLivenessWithVerifySessionResultDefaultResponse;\nexport function isUnexpected(\n response:\n | GetLivenessWithVerifySessionAuditEntries200Response\n | GetLivenessWithVerifySessionAuditEntriesDefaultResponse,\n): response is GetLivenessWithVerifySessionAuditEntriesDefaultResponse;\nexport function isUnexpected(\n response: CreateFaceList200Response | CreateFaceListDefaultResponse,\n): response is CreateFaceListDefaultResponse;\nexport function isUnexpected(\n response: DeleteFaceList200Response | DeleteFaceListDefaultResponse,\n): response is DeleteFaceListDefaultResponse;\nexport function isUnexpected(\n response: GetFaceList200Response | GetFaceListDefaultResponse,\n): response is GetFaceListDefaultResponse;\nexport function isUnexpected(\n response: UpdateFaceList200Response | UpdateFaceListDefaultResponse,\n): response is UpdateFaceListDefaultResponse;\nexport function isUnexpected(\n response: GetFaceLists200Response | GetFaceListsDefaultResponse,\n): response is GetFaceListsDefaultResponse;\nexport function isUnexpected(\n response: AddFaceListFaceFromUrl200Response | AddFaceListFaceFromUrlDefaultResponse,\n): response is AddFaceListFaceFromUrlDefaultResponse;\nexport function isUnexpected(\n response: AddFaceListFace200Response | AddFaceListFaceDefaultResponse,\n): response is AddFaceListFaceDefaultResponse;\nexport function isUnexpected(\n response: DeleteFaceListFace200Response | DeleteFaceListFaceDefaultResponse,\n): response is DeleteFaceListFaceDefaultResponse;\nexport function isUnexpected(\n response: CreateLargeFaceList200Response | CreateLargeFaceListDefaultResponse,\n): response is CreateLargeFaceListDefaultResponse;\nexport function isUnexpected(\n response: DeleteLargeFaceList200Response | DeleteLargeFaceListDefaultResponse,\n): response is DeleteLargeFaceListDefaultResponse;\nexport function isUnexpected(\n response: GetLargeFaceList200Response | GetLargeFaceListDefaultResponse,\n): response is GetLargeFaceListDefaultResponse;\nexport function isUnexpected(\n response: UpdateLargeFaceList200Response | UpdateLargeFaceListDefaultResponse,\n): response is UpdateLargeFaceListDefaultResponse;\nexport function isUnexpected(\n response: GetLargeFaceLists200Response | GetLargeFaceListsDefaultResponse,\n): response is GetLargeFaceListsDefaultResponse;\nexport function isUnexpected(\n response:\n | GetLargeFaceListTrainingStatus200Response\n | GetLargeFaceListTrainingStatusDefaultResponse,\n): response is GetLargeFaceListTrainingStatusDefaultResponse;\nexport function isUnexpected(\n response:\n | TrainLargeFaceList202Response\n | TrainLargeFaceListLogicalResponse\n | TrainLargeFaceListDefaultResponse,\n): response is TrainLargeFaceListDefaultResponse;\nexport function isUnexpected(\n response: AddLargeFaceListFaceFromUrl200Response | AddLargeFaceListFaceFromUrlDefaultResponse,\n): response is AddLargeFaceListFaceFromUrlDefaultResponse;\nexport function isUnexpected(\n response: AddLargeFaceListFace200Response | AddLargeFaceListFaceDefaultResponse,\n): response is AddLargeFaceListFaceDefaultResponse;\nexport function isUnexpected(\n response: GetLargeFaceListFaces200Response | GetLargeFaceListFacesDefaultResponse,\n): response is GetLargeFaceListFacesDefaultResponse;\nexport function isUnexpected(\n response: DeleteLargeFaceListFace200Response | DeleteLargeFaceListFaceDefaultResponse,\n): response is DeleteLargeFaceListFaceDefaultResponse;\nexport function isUnexpected(\n response: GetLargeFaceListFace200Response | GetLargeFaceListFaceDefaultResponse,\n): response is GetLargeFaceListFaceDefaultResponse;\nexport function isUnexpected(\n response: UpdateLargeFaceListFace200Response | UpdateLargeFaceListFaceDefaultResponse,\n): response is UpdateLargeFaceListFaceDefaultResponse;\nexport function isUnexpected(\n response: CreatePerson202Response | CreatePersonLogicalResponse | CreatePersonDefaultResponse,\n): response is CreatePersonDefaultResponse;\nexport function isUnexpected(\n response: GetPersons200Response | GetPersonsDefaultResponse,\n): response is GetPersonsDefaultResponse;\nexport function isUnexpected(\n response: DeletePerson202Response | DeletePersonLogicalResponse | DeletePersonDefaultResponse,\n): response is DeletePersonDefaultResponse;\nexport function isUnexpected(\n response: GetPerson200Response | GetPersonDefaultResponse,\n): response is GetPersonDefaultResponse;\nexport function isUnexpected(\n response: UpdatePerson200Response | UpdatePersonDefaultResponse,\n): response is UpdatePersonDefaultResponse;\nexport function isUnexpected(\n response:\n | GetDynamicPersonGroupReferences200Response\n | GetDynamicPersonGroupReferencesDefaultResponse,\n): response is GetDynamicPersonGroupReferencesDefaultResponse;\nexport function isUnexpected(\n response: AddPersonFace202Response | AddPersonFaceLogicalResponse | AddPersonFaceDefaultResponse,\n): response is AddPersonFaceDefaultResponse;\nexport function isUnexpected(\n response:\n | AddPersonFaceFromUrl202Response\n | AddPersonFaceFromUrlLogicalResponse\n | AddPersonFaceFromUrlDefaultResponse,\n): response is AddPersonFaceFromUrlDefaultResponse;\nexport function isUnexpected(\n response: GetPersonFaces200Response | GetPersonFacesDefaultResponse,\n): response is GetPersonFacesDefaultResponse;\nexport function isUnexpected(\n response:\n | DeletePersonFace202Response\n | DeletePersonFaceLogicalResponse\n | DeletePersonFaceDefaultResponse,\n): response is DeletePersonFaceDefaultResponse;\nexport function isUnexpected(\n response: GetPersonFace200Response | GetPersonFaceDefaultResponse,\n): response is GetPersonFaceDefaultResponse;\nexport function isUnexpected(\n response: UpdatePersonFace200Response | UpdatePersonFaceDefaultResponse,\n): response is UpdatePersonFaceDefaultResponse;\nexport function isUnexpected(\n response:\n | CreateDynamicPersonGroupWithPerson202Response\n | CreateDynamicPersonGroupWithPersonLogicalResponse\n | CreateDynamicPersonGroupWithPersonDefaultResponse,\n): response is CreateDynamicPersonGroupWithPersonDefaultResponse;\nexport function isUnexpected(\n response: CreateDynamicPersonGroup200Response | CreateDynamicPersonGroupDefaultResponse,\n): response is CreateDynamicPersonGroupDefaultResponse;\nexport function isUnexpected(\n response:\n | DeleteDynamicPersonGroup202Response\n | DeleteDynamicPersonGroupLogicalResponse\n | DeleteDynamicPersonGroupDefaultResponse,\n): response is DeleteDynamicPersonGroupDefaultResponse;\nexport function isUnexpected(\n response: GetDynamicPersonGroup200Response | GetDynamicPersonGroupDefaultResponse,\n): response is GetDynamicPersonGroupDefaultResponse;\nexport function isUnexpected(\n response:\n | UpdateDynamicPersonGroupWithPersonChanges202Response\n | UpdateDynamicPersonGroupWithPersonChangesLogicalResponse\n | UpdateDynamicPersonGroupWithPersonChangesDefaultResponse,\n): response is UpdateDynamicPersonGroupWithPersonChangesDefaultResponse;\nexport function isUnexpected(\n response: UpdateDynamicPersonGroup200Response | UpdateDynamicPersonGroupDefaultResponse,\n): response is UpdateDynamicPersonGroupDefaultResponse;\nexport function isUnexpected(\n response: GetDynamicPersonGroups200Response | GetDynamicPersonGroupsDefaultResponse,\n): response is GetDynamicPersonGroupsDefaultResponse;\nexport function isUnexpected(\n response: GetDynamicPersonGroupPersons200Response | GetDynamicPersonGroupPersonsDefaultResponse,\n): response is GetDynamicPersonGroupPersonsDefaultResponse;\nexport function isUnexpected(\n response: CreatePersonGroup200Response | CreatePersonGroupDefaultResponse,\n): response is CreatePersonGroupDefaultResponse;\nexport function isUnexpected(\n response: DeletePersonGroup200Response | DeletePersonGroupDefaultResponse,\n): response is DeletePersonGroupDefaultResponse;\nexport function isUnexpected(\n response: GetPersonGroup200Response | GetPersonGroupDefaultResponse,\n): response is GetPersonGroupDefaultResponse;\nexport function isUnexpected(\n response: UpdatePersonGroup200Response | UpdatePersonGroupDefaultResponse,\n): response is UpdatePersonGroupDefaultResponse;\nexport function isUnexpected(\n response: GetPersonGroups200Response | GetPersonGroupsDefaultResponse,\n): response is GetPersonGroupsDefaultResponse;\nexport function isUnexpected(\n response: GetPersonGroupTrainingStatus200Response | GetPersonGroupTrainingStatusDefaultResponse,\n): response is GetPersonGroupTrainingStatusDefaultResponse;\nexport function isUnexpected(\n response:\n | TrainPersonGroup202Response\n | TrainPersonGroupLogicalResponse\n | TrainPersonGroupDefaultResponse,\n): response is TrainPersonGroupDefaultResponse;\nexport function isUnexpected(\n response: CreatePersonGroupPerson200Response | CreatePersonGroupPersonDefaultResponse,\n): response is CreatePersonGroupPersonDefaultResponse;\nexport function isUnexpected(\n response: GetPersonGroupPersons200Response | GetPersonGroupPersonsDefaultResponse,\n): response is GetPersonGroupPersonsDefaultResponse;\nexport function isUnexpected(\n response: DeletePersonGroupPerson200Response | DeletePersonGroupPersonDefaultResponse,\n): response is DeletePersonGroupPersonDefaultResponse;\nexport function isUnexpected(\n response: GetPersonGroupPerson200Response | GetPersonGroupPersonDefaultResponse,\n): response is GetPersonGroupPersonDefaultResponse;\nexport function isUnexpected(\n response: UpdatePersonGroupPerson200Response | UpdatePersonGroupPersonDefaultResponse,\n): response is UpdatePersonGroupPersonDefaultResponse;\nexport function isUnexpected(\n response:\n | AddPersonGroupPersonFaceFromUrl200Response\n | AddPersonGroupPersonFaceFromUrlDefaultResponse,\n): response is AddPersonGroupPersonFaceFromUrlDefaultResponse;\nexport function isUnexpected(\n response: AddPersonGroupPersonFace200Response | AddPersonGroupPersonFaceDefaultResponse,\n): response is AddPersonGroupPersonFaceDefaultResponse;\nexport function isUnexpected(\n response: DeletePersonGroupPersonFace200Response | DeletePersonGroupPersonFaceDefaultResponse,\n): response is DeletePersonGroupPersonFaceDefaultResponse;\nexport function isUnexpected(\n response: GetPersonGroupPersonFace200Response | GetPersonGroupPersonFaceDefaultResponse,\n): response is GetPersonGroupPersonFaceDefaultResponse;\nexport function isUnexpected(\n response: UpdatePersonGroupPersonFace200Response | UpdatePersonGroupPersonFaceDefaultResponse,\n): response is UpdatePersonGroupPersonFaceDefaultResponse;\nexport function isUnexpected(\n response: CreateLargePersonGroup200Response | CreateLargePersonGroupDefaultResponse,\n): response is CreateLargePersonGroupDefaultResponse;\nexport function isUnexpected(\n response: DeleteLargePersonGroup200Response | DeleteLargePersonGroupDefaultResponse,\n): response is DeleteLargePersonGroupDefaultResponse;\nexport function isUnexpected(\n response: GetLargePersonGroup200Response | GetLargePersonGroupDefaultResponse,\n): response is GetLargePersonGroupDefaultResponse;\nexport function isUnexpected(\n response: UpdateLargePersonGroup200Response | UpdateLargePersonGroupDefaultResponse,\n): response is UpdateLargePersonGroupDefaultResponse;\nexport function isUnexpected(\n response: GetLargePersonGroups200Response | GetLargePersonGroupsDefaultResponse,\n): response is GetLargePersonGroupsDefaultResponse;\nexport function isUnexpected(\n response:\n | GetLargePersonGroupTrainingStatus200Response\n | GetLargePersonGroupTrainingStatusDefaultResponse,\n): response is GetLargePersonGroupTrainingStatusDefaultResponse;\nexport function isUnexpected(\n response:\n | TrainLargePersonGroup202Response\n | TrainLargePersonGroupLogicalResponse\n | TrainLargePersonGroupDefaultResponse,\n): response is TrainLargePersonGroupDefaultResponse;\nexport function isUnexpected(\n response: CreateLargePersonGroupPerson200Response | CreateLargePersonGroupPersonDefaultResponse,\n): response is CreateLargePersonGroupPersonDefaultResponse;\nexport function isUnexpected(\n response: GetLargePersonGroupPersons200Response | GetLargePersonGroupPersonsDefaultResponse,\n): response is GetLargePersonGroupPersonsDefaultResponse;\nexport function isUnexpected(\n response: DeleteLargePersonGroupPerson200Response | DeleteLargePersonGroupPersonDefaultResponse,\n): response is DeleteLargePersonGroupPersonDefaultResponse;\nexport function isUnexpected(\n response: GetLargePersonGroupPerson200Response | GetLargePersonGroupPersonDefaultResponse,\n): response is GetLargePersonGroupPersonDefaultResponse;\nexport function isUnexpected(\n response: UpdateLargePersonGroupPerson200Response | UpdateLargePersonGroupPersonDefaultResponse,\n): response is UpdateLargePersonGroupPersonDefaultResponse;\nexport function isUnexpected(\n response:\n | AddLargePersonGroupPersonFaceFromUrl200Response\n | AddLargePersonGroupPersonFaceFromUrlDefaultResponse,\n): response is AddLargePersonGroupPersonFaceFromUrlDefaultResponse;\nexport function isUnexpected(\n response: AddLargePersonGroupPersonFace200Response | AddLargePersonGroupPersonFaceDefaultResponse,\n): response is AddLargePersonGroupPersonFaceDefaultResponse;\nexport function isUnexpected(\n response:\n | DeleteLargePersonGroupPersonFace200Response\n | DeleteLargePersonGroupPersonFaceDefaultResponse,\n): response is DeleteLargePersonGroupPersonFaceDefaultResponse;\nexport function isUnexpected(\n response: GetLargePersonGroupPersonFace200Response | GetLargePersonGroupPersonFaceDefaultResponse,\n): response is GetLargePersonGroupPersonFaceDefaultResponse;\nexport function isUnexpected(\n response:\n | UpdateLargePersonGroupPersonFace200Response\n | UpdateLargePersonGroupPersonFaceDefaultResponse,\n): response is UpdateLargePersonGroupPersonFaceDefaultResponse;\nexport function isUnexpected(\n response:\n | GetOperationResult200Response\n | GetOperationResultDefaultResponse\n | DetectFromUrl200Response\n | DetectFromUrlDefaultResponse\n | Detect200Response\n | DetectDefaultResponse\n | FindSimilar200Response\n | FindSimilarDefaultResponse\n | FindSimilarFromFaceList200Response\n | FindSimilarFromFaceListDefaultResponse\n | FindSimilarFromLargeFaceList200Response\n | FindSimilarFromLargeFaceListDefaultResponse\n | IdentifyFromPersonGroup200Response\n | IdentifyFromPersonGroupDefaultResponse\n | IdentifyFromLargePersonGroup200Response\n | IdentifyFromLargePersonGroupDefaultResponse\n | IdentifyFromPersonDirectory200Response\n | IdentifyFromPersonDirectoryDefaultResponse\n | IdentifyFromDynamicPersonGroup200Response\n | IdentifyFromDynamicPersonGroupDefaultResponse\n | VerifyFaceToFace200Response\n | VerifyFaceToFaceDefaultResponse\n | VerifyFromPersonGroup200Response\n | VerifyFromPersonGroupDefaultResponse\n | VerifyFromLargePersonGroup200Response\n | VerifyFromLargePersonGroupDefaultResponse\n | VerifyFromPersonDirectory200Response\n | VerifyFromPersonDirectoryDefaultResponse\n | Group200Response\n | GroupDefaultResponse\n | CreateLivenessSession200Response\n | CreateLivenessSessionDefaultResponse\n | GetLivenessSessions200Response\n | GetLivenessSessionsDefaultResponse\n | DeleteLivenessSession200Response\n | DeleteLivenessSessionDefaultResponse\n | GetLivenessSessionResult200Response\n | GetLivenessSessionResultDefaultResponse\n | GetLivenessSessionAuditEntries200Response\n | GetLivenessSessionAuditEntriesDefaultResponse\n | CreateLivenessWithVerifySessionWithVerifyImage200Response\n | CreateLivenessWithVerifySessionWithVerifyImageDefaultResponse\n | CreateLivenessWithVerifySession200Response\n | CreateLivenessWithVerifySessionDefaultResponse\n | GetLivenessWithVerifySessions200Response\n | GetLivenessWithVerifySessionsDefaultResponse\n | DeleteLivenessWithVerifySession200Response\n | DeleteLivenessWithVerifySessionDefaultResponse\n | GetLivenessWithVerifySessionResult200Response\n | GetLivenessWithVerifySessionResultDefaultResponse\n | GetLivenessWithVerifySessionAuditEntries200Response\n | GetLivenessWithVerifySessionAuditEntriesDefaultResponse\n | CreateFaceList200Response\n | CreateFaceListDefaultResponse\n | DeleteFaceList200Response\n | DeleteFaceListDefaultResponse\n | GetFaceList200Response\n | GetFaceListDefaultResponse\n | UpdateFaceList200Response\n | UpdateFaceListDefaultResponse\n | GetFaceLists200Response\n | GetFaceListsDefaultResponse\n | AddFaceListFaceFromUrl200Response\n | AddFaceListFaceFromUrlDefaultResponse\n | AddFaceListFace200Response\n | AddFaceListFaceDefaultResponse\n | DeleteFaceListFace200Response\n | DeleteFaceListFaceDefaultResponse\n | CreateLargeFaceList200Response\n | CreateLargeFaceListDefaultResponse\n | DeleteLargeFaceList200Response\n | DeleteLargeFaceListDefaultResponse\n | GetLargeFaceList200Response\n | GetLargeFaceListDefaultResponse\n | UpdateLargeFaceList200Response\n | UpdateLargeFaceListDefaultResponse\n | GetLargeFaceLists200Response\n | GetLargeFaceListsDefaultResponse\n | GetLargeFaceListTrainingStatus200Response\n | GetLargeFaceListTrainingStatusDefaultResponse\n | TrainLargeFaceList202Response\n | TrainLargeFaceListLogicalResponse\n | TrainLargeFaceListDefaultResponse\n | AddLargeFaceListFaceFromUrl200Response\n | AddLargeFaceListFaceFromUrlDefaultResponse\n | AddLargeFaceListFace200Response\n | AddLargeFaceListFaceDefaultResponse\n | GetLargeFaceListFaces200Response\n | GetLargeFaceListFacesDefaultResponse\n | DeleteLargeFaceListFace200Response\n | DeleteLargeFaceListFaceDefaultResponse\n | GetLargeFaceListFace200Response\n | GetLargeFaceListFaceDefaultResponse\n | UpdateLargeFaceListFace200Response\n | UpdateLargeFaceListFaceDefaultResponse\n | CreatePerson202Response\n | CreatePersonLogicalResponse\n | CreatePersonDefaultResponse\n | GetPersons200Response\n | GetPersonsDefaultResponse\n | DeletePerson202Response\n | DeletePersonLogicalResponse\n | DeletePersonDefaultResponse\n | GetPerson200Response\n | GetPersonDefaultResponse\n | UpdatePerson200Response\n | UpdatePersonDefaultResponse\n | GetDynamicPersonGroupReferences200Response\n | GetDynamicPersonGroupReferencesDefaultResponse\n | AddPersonFace202Response\n | AddPersonFaceLogicalResponse\n | AddPersonFaceDefaultResponse\n | AddPersonFaceFromUrl202Response\n | AddPersonFaceFromUrlLogicalResponse\n | AddPersonFaceFromUrlDefaultResponse\n | GetPersonFaces200Response\n | GetPersonFacesDefaultResponse\n | DeletePersonFace202Response\n | DeletePersonFaceLogicalResponse\n | DeletePersonFaceDefaultResponse\n | GetPersonFace200Response\n | GetPersonFaceDefaultResponse\n | UpdatePersonFace200Response\n | UpdatePersonFaceDefaultResponse\n | CreateDynamicPersonGroupWithPerson202Response\n | CreateDynamicPersonGroupWithPersonLogicalResponse\n | CreateDynamicPersonGroupWithPersonDefaultResponse\n | CreateDynamicPersonGroup200Response\n | CreateDynamicPersonGroupDefaultResponse\n | DeleteDynamicPersonGroup202Response\n | DeleteDynamicPersonGroupLogicalResponse\n | DeleteDynamicPersonGroupDefaultResponse\n | GetDynamicPersonGroup200Response\n | GetDynamicPersonGroupDefaultResponse\n | UpdateDynamicPersonGroupWithPersonChanges202Response\n | UpdateDynamicPersonGroupWithPersonChangesLogicalResponse\n | UpdateDynamicPersonGroupWithPersonChangesDefaultResponse\n | UpdateDynamicPersonGroup200Response\n | UpdateDynamicPersonGroupDefaultResponse\n | GetDynamicPersonGroups200Response\n | GetDynamicPersonGroupsDefaultResponse\n | GetDynamicPersonGroupPersons200Response\n | GetDynamicPersonGroupPersonsDefaultResponse\n | CreatePersonGroup200Response\n | CreatePersonGroupDefaultResponse\n | DeletePersonGroup200Response\n | DeletePersonGroupDefaultResponse\n | GetPersonGroup200Response\n | GetPersonGroupDefaultResponse\n | UpdatePersonGroup200Response\n | UpdatePersonGroupDefaultResponse\n | GetPersonGroups200Response\n | GetPersonGroupsDefaultResponse\n | GetPersonGroupTrainingStatus200Response\n | GetPersonGroupTrainingStatusDefaultResponse\n | TrainPersonGroup202Response\n | TrainPersonGroupLogicalResponse\n | TrainPersonGroupDefaultResponse\n | CreatePersonGroupPerson200Response\n | CreatePersonGroupPersonDefaultResponse\n | GetPersonGroupPersons200Response\n | GetPersonGroupPersonsDefaultResponse\n | DeletePersonGroupPerson200Response\n | DeletePersonGroupPersonDefaultResponse\n | GetPersonGroupPerson200Response\n | GetPersonGroupPersonDefaultResponse\n | UpdatePersonGroupPerson200Response\n | UpdatePersonGroupPersonDefaultResponse\n | AddPersonGroupPersonFaceFromUrl200Response\n | AddPersonGroupPersonFaceFromUrlDefaultResponse\n | AddPersonGroupPersonFace200Response\n | AddPersonGroupPersonFaceDefaultResponse\n | DeletePersonGroupPersonFace200Response\n | DeletePersonGroupPersonFaceDefaultResponse\n | GetPersonGroupPersonFace200Response\n | GetPersonGroupPersonFaceDefaultResponse\n | UpdatePersonGroupPersonFace200Response\n | UpdatePersonGroupPersonFaceDefaultResponse\n | CreateLargePersonGroup200Response\n | CreateLargePersonGroupDefaultResponse\n | DeleteLargePersonGroup200Response\n | DeleteLargePersonGroupDefaultResponse\n | GetLargePersonGroup200Response\n | GetLargePersonGroupDefaultResponse\n | UpdateLargePersonGroup200Response\n | UpdateLargePersonGroupDefaultResponse\n | GetLargePersonGroups200Response\n | GetLargePersonGroupsDefaultResponse\n | GetLargePersonGroupTrainingStatus200Response\n | GetLargePersonGroupTrainingStatusDefaultResponse\n | TrainLargePersonGroup202Response\n | TrainLargePersonGroupLogicalResponse\n | TrainLargePersonGroupDefaultResponse\n | CreateLargePersonGroupPerson200Response\n | CreateLargePersonGroupPersonDefaultResponse\n | GetLargePersonGroupPersons200Response\n | GetLargePersonGroupPersonsDefaultResponse\n | DeleteLargePersonGroupPerson200Response\n | DeleteLargePersonGroupPersonDefaultResponse\n | GetLargePersonGroupPerson200Response\n | GetLargePersonGroupPersonDefaultResponse\n | UpdateLargePersonGroupPerson200Response\n | UpdateLargePersonGroupPersonDefaultResponse\n | AddLargePersonGroupPersonFaceFromUrl200Response\n | AddLargePersonGroupPersonFaceFromUrlDefaultResponse\n | AddLargePersonGroupPersonFace200Response\n | AddLargePersonGroupPersonFaceDefaultResponse\n | DeleteLargePersonGroupPersonFace200Response\n | DeleteLargePersonGroupPersonFaceDefaultResponse\n | GetLargePersonGroupPersonFace200Response\n | GetLargePersonGroupPersonFaceDefaultResponse\n | UpdateLargePersonGroupPersonFace200Response\n | UpdateLargePersonGroupPersonFaceDefaultResponse,\n): response is\n | GetOperationResultDefaultResponse\n | DetectFromUrlDefaultResponse\n | DetectDefaultResponse\n | FindSimilarDefaultResponse\n | FindSimilarFromFaceListDefaultResponse\n | FindSimilarFromLargeFaceListDefaultResponse\n | IdentifyFromPersonGroupDefaultResponse\n | IdentifyFromLargePersonGroupDefaultResponse\n | IdentifyFromPersonDirectoryDefaultResponse\n | IdentifyFromDynamicPersonGroupDefaultResponse\n | VerifyFaceToFaceDefaultResponse\n | VerifyFromPersonGroupDefaultResponse\n | VerifyFromLargePersonGroupDefaultResponse\n | VerifyFromPersonDirectoryDefaultResponse\n | GroupDefaultResponse\n | CreateLivenessSessionDefaultResponse\n | GetLivenessSessionsDefaultResponse\n | DeleteLivenessSessionDefaultResponse\n | GetLivenessSessionResultDefaultResponse\n | GetLivenessSessionAuditEntriesDefaultResponse\n | CreateLivenessWithVerifySessionWithVerifyImageDefaultResponse\n | CreateLivenessWithVerifySessionDefaultResponse\n | GetLivenessWithVerifySessionsDefaultResponse\n | DeleteLivenessWithVerifySessionDefaultResponse\n | GetLivenessWithVerifySessionResultDefaultResponse\n | GetLivenessWithVerifySessionAuditEntriesDefaultResponse\n | CreateFaceListDefaultResponse\n | DeleteFaceListDefaultResponse\n | GetFaceListDefaultResponse\n | UpdateFaceListDefaultResponse\n | GetFaceListsDefaultResponse\n | AddFaceListFaceFromUrlDefaultResponse\n | AddFaceListFaceDefaultResponse\n | DeleteFaceListFaceDefaultResponse\n | CreateLargeFaceListDefaultResponse\n | DeleteLargeFaceListDefaultResponse\n | GetLargeFaceListDefaultResponse\n | UpdateLargeFaceListDefaultResponse\n | GetLargeFaceListsDefaultResponse\n | GetLargeFaceListTrainingStatusDefaultResponse\n | TrainLargeFaceListDefaultResponse\n | AddLargeFaceListFaceFromUrlDefaultResponse\n | AddLargeFaceListFaceDefaultResponse\n | GetLargeFaceListFacesDefaultResponse\n | DeleteLargeFaceListFaceDefaultResponse\n | GetLargeFaceListFaceDefaultResponse\n | UpdateLargeFaceListFaceDefaultResponse\n | CreatePersonDefaultResponse\n | GetPersonsDefaultResponse\n | DeletePersonDefaultResponse\n | GetPersonDefaultResponse\n | UpdatePersonDefaultResponse\n | GetDynamicPersonGroupReferencesDefaultResponse\n | AddPersonFaceDefaultResponse\n | AddPersonFaceFromUrlDefaultResponse\n | GetPersonFacesDefaultResponse\n | DeletePersonFaceDefaultResponse\n | GetPersonFaceDefaultResponse\n | UpdatePersonFaceDefaultResponse\n | CreateDynamicPersonGroupWithPersonDefaultResponse\n | CreateDynamicPersonGroupDefaultResponse\n | DeleteDynamicPersonGroupDefaultResponse\n | GetDynamicPersonGroupDefaultResponse\n | UpdateDynamicPersonGroupWithPersonChangesDefaultResponse\n | UpdateDynamicPersonGroupDefaultResponse\n | GetDynamicPersonGroupsDefaultResponse\n | GetDynamicPersonGroupPersonsDefaultResponse\n | CreatePersonGroupDefaultResponse\n | DeletePersonGroupDefaultResponse\n | GetPersonGroupDefaultResponse\n | UpdatePersonGroupDefaultResponse\n | GetPersonGroupsDefaultResponse\n | GetPersonGroupTrainingStatusDefaultResponse\n | TrainPersonGroupDefaultResponse\n | CreatePersonGroupPersonDefaultResponse\n | GetPersonGroupPersonsDefaultResponse\n | DeletePersonGroupPersonDefaultResponse\n | GetPersonGroupPersonDefaultResponse\n | UpdatePersonGroupPersonDefaultResponse\n | AddPersonGroupPersonFaceFromUrlDefaultResponse\n | AddPersonGroupPersonFaceDefaultResponse\n | DeletePersonGroupPersonFaceDefaultResponse\n | GetPersonGroupPersonFaceDefaultResponse\n | UpdatePersonGroupPersonFaceDefaultResponse\n | CreateLargePersonGroupDefaultResponse\n | DeleteLargePersonGroupDefaultResponse\n | GetLargePersonGroupDefaultResponse\n | UpdateLargePersonGroupDefaultResponse\n | GetLargePersonGroupsDefaultResponse\n | GetLargePersonGroupTrainingStatusDefaultResponse\n | TrainLargePersonGroupDefaultResponse\n | CreateLargePersonGroupPersonDefaultResponse\n | GetLargePersonGroupPersonsDefaultResponse\n | DeleteLargePersonGroupPersonDefaultResponse\n | GetLargePersonGroupPersonDefaultResponse\n | UpdateLargePersonGroupPersonDefaultResponse\n | AddLargePersonGroupPersonFaceFromUrlDefaultResponse\n | AddLargePersonGroupPersonFaceDefaultResponse\n | DeleteLargePersonGroupPersonFaceDefaultResponse\n | GetLargePersonGroupPersonFaceDefaultResponse\n | UpdateLargePersonGroupPersonFaceDefaultResponse {\n const lroOriginal = response.headers[\"x-ms-original-url\"];\n const url = new URL(lroOriginal ?? response.request.url);\n const method = response.request.method;\n let pathDetails = responseMap[`${method} ${url.pathname}`];\n if (!pathDetails) {\n pathDetails = getParametrizedPathSuccess(method, url.pathname);\n }\n return !pathDetails.includes(response.status);\n}\n\nfunction getParametrizedPathSuccess(method: string, path: string): string[] {\n const pathParts = path.split(\"/\");\n\n // Traverse list to match the longest candidate\n // matchedLen: the length of candidate path\n // matchedValue: the matched status code array\n let matchedLen = -1,\n matchedValue: string[] = [];\n\n // Iterate the responseMap to find a match\n for (const [key, value] of Object.entries(responseMap)) {\n // Extracting the path from the map key which is in format\n // GET /path/foo\n if (!key.startsWith(method)) {\n continue;\n }\n const candidatePath = getPathFromMapKey(key);\n // Get each part of the url path\n const candidateParts = candidatePath.split(\"/\");\n\n // track if we have found a match to return the values found.\n let found = true;\n for (let i = candidateParts.length - 1, j = pathParts.length - 1; i >= 1 && j >= 1; i--, j--) {\n if (candidateParts[i]?.startsWith(\"{\") && candidateParts[i]?.indexOf(\"}\") !== -1) {\n const start = candidateParts[i]!.indexOf(\"}\") + 1,\n end = candidateParts[i]?.length;\n // If the current part of the candidate is a \"template\" part\n // Try to use the suffix of pattern to match the path\n // {guid} ==> $\n // {guid}:export ==> :export$\n const isMatched = new RegExp(`${candidateParts[i]?.slice(start, end)}`).test(\n pathParts[j] || \"\",\n );\n\n if (!isMatched) {\n found = false;\n break;\n }\n continue;\n }\n\n // If the candidate part is not a template and\n // the parts don't match mark the candidate as not found\n // to move on with the next candidate path.\n if (candidateParts[i] !== pathParts[j]) {\n found = false;\n break;\n }\n }\n\n // We finished evaluating the current candidate parts\n // Update the matched value if and only if we found the longer pattern\n if (found && candidatePath.length > matchedLen) {\n matchedLen = candidatePath.length;\n matchedValue = value;\n }\n }\n\n return matchedValue;\n}\n\nfunction getPathFromMapKey(mapKey: string): string {\n const pathStart = mapKey.indexOf(\"/\");\n return mapKey.slice(pathStart);\n}\n"]}
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  // Copyright (c) Microsoft Corporation.
3
- // Licensed under the MIT license.
3
+ // Licensed under the MIT License.
4
4
  Object.defineProperty(exports, "__esModule", { value: true });
5
5
  exports.logger = void 0;
6
6
  const logger_1 = require("@azure/logger");
@@ -1 +1 @@
1
- {"version":3,"file":"logger.js","sourceRoot":"","sources":["../../src/logger.ts"],"names":[],"mappings":";AAAA,uCAAuC;AACvC,kCAAkC;;;AAElC,0CAAmD;AACtC,QAAA,MAAM,GAAG,IAAA,2BAAkB,EAAC,gBAAgB,CAAC,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT license.\n\nimport { createClientLogger } from \"@azure/logger\";\nexport const logger = createClientLogger(\"ai-vision-face\");\n"]}
1
+ {"version":3,"file":"logger.js","sourceRoot":"","sources":["../../src/logger.ts"],"names":[],"mappings":";AAAA,uCAAuC;AACvC,kCAAkC;;;AAElC,0CAAmD;AACtC,QAAA,MAAM,GAAG,IAAA,2BAAkB,EAAC,gBAAgB,CAAC,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport { createClientLogger } from \"@azure/logger\";\nexport const logger = createClientLogger(\"ai-vision-face\");\n"]}
@@ -1,5 +1,5 @@
1
1
  "use strict";
2
2
  // Copyright (c) Microsoft Corporation.
3
- // Licensed under the MIT license.
3
+ // Licensed under the MIT License.
4
4
  Object.defineProperty(exports, "__esModule", { value: true });
5
5
  //# sourceMappingURL=models.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"models.js","sourceRoot":"","sources":["../../src/models.ts"],"names":[],"mappings":";AAAA,uCAAuC;AACvC,kCAAkC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT license.\n\n/** Request for creating liveness session. */\nexport interface CreateLivenessSessionContent {\n /** Type of liveness mode the client should follow. */\n livenessOperationMode: LivenessOperationMode;\n /** Whether or not to allow a '200 - Success' response body to be sent to the client, which may be undesirable for security reasons. Default is false, clients will receive a '204 - NoContent' empty body response. Regardless of selection, calling Session GetResult will always contain a response body enabling business logic to be implemented. */\n sendResultsToClient?: boolean;\n /** Whether or not to allow client to set their own 'deviceCorrelationId' via the Vision SDK. Default is false, and 'deviceCorrelationId' must be set in this request body. */\n deviceCorrelationIdSetInClient?: boolean;\n /** Unique Guid per each end-user device. This is to provide rate limiting and anti-hammering. If 'deviceCorrelationIdSetInClient' is true in this request, this 'deviceCorrelationId' must be null. */\n deviceCorrelationId?: string;\n /** Seconds the session should last for. Range is 60 to 86400 seconds. Default value is 600. */\n authTokenTimeToLiveInSeconds?: number;\n}\n\nexport interface CreateLivenessWithVerifySessionContentParametersPartDescriptor {\n name: \"Parameters\";\n body: CreateLivenessSessionContent;\n}\n\nexport interface CreateLivenessWithVerifySessionContentVerifyImagePartDescriptor {\n name: \"VerifyImage\";\n body: string | Uint8Array | ReadableStream<Uint8Array> | NodeJS.ReadableStream | File;\n filename?: string;\n contentType?: string;\n}\n\n/** Alias for DetectionModel */\nexport type DetectionModel = string | \"detection_01\" | \"detection_02\" | \"detection_03\";\n/** Alias for RecognitionModel */\nexport type RecognitionModel =\n | string\n | \"recognition_01\"\n | \"recognition_02\"\n | \"recognition_03\"\n | \"recognition_04\";\n/** Alias for FaceAttributeType */\nexport type FaceAttributeType =\n | string\n | \"headPose\"\n | \"glasses\"\n | \"occlusion\"\n | \"accessories\"\n | \"blur\"\n | \"exposure\"\n | \"noise\"\n | \"mask\"\n | \"qualityForRecognition\"\n | \"age\"\n | \"smile\"\n | \"facialHair\"\n | \"hair\";\n/** Alias for FindSimilarMatchMode */\nexport type FindSimilarMatchMode = string | \"matchPerson\" | \"matchFace\";\n/** Alias for LivenessOperationMode */\nexport type LivenessOperationMode = string | \"Passive\" | \"PassiveActive\";\n/** Request of liveness with verify session creation. */\nexport type CreateLivenessWithVerifySessionContent =\n | FormData\n | Array<\n | CreateLivenessWithVerifySessionContentParametersPartDescriptor\n | CreateLivenessWithVerifySessionContentVerifyImagePartDescriptor\n >;\n/** API versions for Azure AI Face API. */\nexport type Versions = \"v1.1-preview.1\";\n"]}
1
+ {"version":3,"file":"models.js","sourceRoot":"","sources":["../../src/models.ts"],"names":[],"mappings":";AAAA,uCAAuC;AACvC,kCAAkC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\n/** Request for creating liveness session. */\nexport interface CreateLivenessSessionContent {\n /** Type of liveness mode the client should follow. */\n livenessOperationMode: LivenessOperationMode;\n /** Whether or not to allow a '200 - Success' response body to be sent to the client, which may be undesirable for security reasons. Default is false, clients will receive a '204 - NoContent' empty body response. Regardless of selection, calling Session GetResult will always contain a response body enabling business logic to be implemented. */\n sendResultsToClient?: boolean;\n /** Whether or not to allow client to set their own 'deviceCorrelationId' via the Vision SDK. Default is false, and 'deviceCorrelationId' must be set in this request body. */\n deviceCorrelationIdSetInClient?: boolean;\n /** Unique Guid per each end-user device. This is to provide rate limiting and anti-hammering. If 'deviceCorrelationIdSetInClient' is true in this request, this 'deviceCorrelationId' must be null. */\n deviceCorrelationId?: string;\n /** Seconds the session should last for. Range is 60 to 86400 seconds. Default value is 600. */\n authTokenTimeToLiveInSeconds?: number;\n}\n\nexport interface CreateLivenessWithVerifySessionContentParametersPartDescriptor {\n name: \"Parameters\";\n body: CreateLivenessSessionContent;\n}\n\nexport interface CreateLivenessWithVerifySessionContentVerifyImagePartDescriptor {\n name: \"VerifyImage\";\n body: string | Uint8Array | ReadableStream<Uint8Array> | NodeJS.ReadableStream | File;\n filename?: string;\n contentType?: string;\n}\n\n/** Alias for DetectionModel */\nexport type DetectionModel = string | \"detection_01\" | \"detection_02\" | \"detection_03\";\n/** Alias for RecognitionModel */\nexport type RecognitionModel =\n | string\n | \"recognition_01\"\n | \"recognition_02\"\n | \"recognition_03\"\n | \"recognition_04\";\n/** Alias for FaceAttributeType */\nexport type FaceAttributeType =\n | string\n | \"headPose\"\n | \"glasses\"\n | \"occlusion\"\n | \"accessories\"\n | \"blur\"\n | \"exposure\"\n | \"noise\"\n | \"mask\"\n | \"qualityForRecognition\"\n | \"age\"\n | \"smile\"\n | \"facialHair\"\n | \"hair\";\n/** Alias for FindSimilarMatchMode */\nexport type FindSimilarMatchMode = string | \"matchPerson\" | \"matchFace\";\n/** Alias for LivenessOperationMode */\nexport type LivenessOperationMode = string | \"Passive\" | \"PassiveActive\";\n/** Request of liveness with verify session creation. */\nexport type CreateLivenessWithVerifySessionContent =\n | FormData\n | Array<\n | CreateLivenessWithVerifySessionContentParametersPartDescriptor\n | CreateLivenessWithVerifySessionContentVerifyImagePartDescriptor\n >;\n/** API versions for Azure AI Face API. */\nexport type Versions = \"v1.1-preview.1\";\n"]}
@@ -1,5 +1,5 @@
1
1
  "use strict";
2
2
  // Copyright (c) Microsoft Corporation.
3
- // Licensed under the MIT license.
3
+ // Licensed under the MIT License.
4
4
  Object.defineProperty(exports, "__esModule", { value: true });
5
5
  //# sourceMappingURL=outputModels.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"outputModels.js","sourceRoot":"","sources":["../../src/outputModels.ts"],"names":[],"mappings":";AAAA,uCAAuC;AACvC,kCAAkC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT license.\n\n/** Long running operation resource for person directory. */\nexport interface OperationResultOutput {\n /** Operation ID of the operation. */\n readonly operationId: string;\n /** Current status of the operation. */\n status: OperationStatusOutput;\n /** Date and time the operation was created. */\n createdTime: string;\n /** Date and time the operation was last updated. */\n lastActionTime?: string;\n /** Date and time the operation was finished. */\n finishedTime?: string;\n /** Message for the operation. */\n message?: string;\n}\n\n/** A response containing error details. */\nexport interface FaceErrorResponseOutput {\n /** The error object. */\n error: FaceErrorOutput;\n}\n\n/** The error object. For comprehensive details on error codes and messages returned by the Face Service, please refer to the following link: https://aka.ms/face-error-codes-and-messages. */\nexport interface FaceErrorOutput {\n /** One of a server-defined set of error codes. */\n code: string;\n /** A human-readable representation of the error. */\n message: string;\n}\n\n/** Response for detect API. */\nexport interface FaceDetectionResultOutput {\n /** Unique faceId of the detected face, created by detection API and it will expire 24 hours after the detection call. To return this, it requires 'returnFaceId' parameter to be true. */\n faceId?: string;\n /** The 'recognitionModel' associated with this faceId. This is only returned when 'returnRecognitionModel' is explicitly set as true. */\n recognitionModel?: RecognitionModelOutput;\n /** A rectangle area for the face location on image. */\n faceRectangle: FaceRectangleOutput;\n /** An array of 27-point face landmarks pointing to the important positions of face components. To return this, it requires 'returnFaceLandmarks' parameter to be true. */\n faceLandmarks?: FaceLandmarksOutput;\n /** Face attributes for detected face. */\n faceAttributes?: FaceAttributesOutput;\n}\n\n/** A rectangle within which a face can be found. */\nexport interface FaceRectangleOutput {\n /** The distance from the top edge if the image to the top edge of the rectangle, in pixels. */\n top: number;\n /** The distance from the left edge if the image to the left edge of the rectangle, in pixels. */\n left: number;\n /** The width of the rectangle, in pixels. */\n width: number;\n /** The height of the rectangle, in pixels. */\n height: number;\n}\n\n/** A collection of 27-point face landmarks pointing to the important positions of face components. */\nexport interface FaceLandmarksOutput {\n /** The coordinates of the left eye pupil. */\n pupilLeft: LandmarkCoordinateOutput;\n /** The coordinates of the right eye pupil. */\n pupilRight: LandmarkCoordinateOutput;\n /** The coordinates of the nose tip. */\n noseTip: LandmarkCoordinateOutput;\n /** The coordinates of the mouth left. */\n mouthLeft: LandmarkCoordinateOutput;\n /** The coordinates of the mouth right. */\n mouthRight: LandmarkCoordinateOutput;\n /** The coordinates of the left eyebrow outer. */\n eyebrowLeftOuter: LandmarkCoordinateOutput;\n /** The coordinates of the left eyebrow inner. */\n eyebrowLeftInner: LandmarkCoordinateOutput;\n /** The coordinates of the left eye outer. */\n eyeLeftOuter: LandmarkCoordinateOutput;\n /** The coordinates of the left eye top. */\n eyeLeftTop: LandmarkCoordinateOutput;\n /** The coordinates of the left eye bottom. */\n eyeLeftBottom: LandmarkCoordinateOutput;\n /** The coordinates of the left eye inner. */\n eyeLeftInner: LandmarkCoordinateOutput;\n /** The coordinates of the right eyebrow inner. */\n eyebrowRightInner: LandmarkCoordinateOutput;\n /** The coordinates of the right eyebrow outer. */\n eyebrowRightOuter: LandmarkCoordinateOutput;\n /** The coordinates of the right eye inner. */\n eyeRightInner: LandmarkCoordinateOutput;\n /** The coordinates of the right eye top. */\n eyeRightTop: LandmarkCoordinateOutput;\n /** The coordinates of the right eye bottom. */\n eyeRightBottom: LandmarkCoordinateOutput;\n /** The coordinates of the right eye outer. */\n eyeRightOuter: LandmarkCoordinateOutput;\n /** The coordinates of the nose root left. */\n noseRootLeft: LandmarkCoordinateOutput;\n /** The coordinates of the nose root right. */\n noseRootRight: LandmarkCoordinateOutput;\n /** The coordinates of the nose left alar top. */\n noseLeftAlarTop: LandmarkCoordinateOutput;\n /** The coordinates of the nose right alar top. */\n noseRightAlarTop: LandmarkCoordinateOutput;\n /** The coordinates of the nose left alar out tip. */\n noseLeftAlarOutTip: LandmarkCoordinateOutput;\n /** The coordinates of the nose right alar out tip. */\n noseRightAlarOutTip: LandmarkCoordinateOutput;\n /** The coordinates of the upper lip top. */\n upperLipTop: LandmarkCoordinateOutput;\n /** The coordinates of the upper lip bottom. */\n upperLipBottom: LandmarkCoordinateOutput;\n /** The coordinates of the under lip top. */\n underLipTop: LandmarkCoordinateOutput;\n /** The coordinates of the under lip bottom. */\n underLipBottom: LandmarkCoordinateOutput;\n}\n\n/** Landmark coordinates within an image. */\nexport interface LandmarkCoordinateOutput {\n /** The horizontal component, in pixels. */\n x: number;\n /** The vertical component, in pixels. */\n y: number;\n}\n\n/** Face attributes for the detected face. */\nexport interface FaceAttributesOutput {\n /** Age in years. */\n age?: number;\n /** Smile intensity, a number between [0,1]. */\n smile?: number;\n /** Properties describing facial hair attributes. */\n facialHair?: FacialHairOutput;\n /** Glasses type if any of the face. */\n glasses?: GlassesTypeOutput;\n /** 3-D roll/yaw/pitch angles for face direction. */\n headPose?: HeadPoseOutput;\n /** Properties describing hair attributes. */\n hair?: HairPropertiesOutput;\n /** Properties describing occlusions on a given face. */\n occlusion?: OcclusionPropertiesOutput;\n /** Properties describing any accessories on a given face. */\n accessories?: Array<AccessoryItemOutput>;\n /** Properties describing any presence of blur within the image. */\n blur?: BlurPropertiesOutput;\n /** Properties describing exposure level of the image. */\n exposure?: ExposurePropertiesOutput;\n /** Properties describing noise level of the image. */\n noise?: NoisePropertiesOutput;\n /** Properties describing the presence of a mask on a given face. */\n mask?: MaskPropertiesOutput;\n /** Properties describing the overall image quality regarding whether the image being used in the detection is of sufficient quality to attempt face recognition on. */\n qualityForRecognition?: QualityForRecognitionOutput;\n}\n\n/** Properties describing facial hair attributes. */\nexport interface FacialHairOutput {\n /** A number ranging from 0 to 1 indicating a level of confidence associated with a property. */\n moustache: number;\n /** A number ranging from 0 to 1 indicating a level of confidence associated with a property. */\n beard: number;\n /** A number ranging from 0 to 1 indicating a level of confidence associated with a property. */\n sideburns: number;\n}\n\n/** 3-D roll/yaw/pitch angles for face direction. */\nexport interface HeadPoseOutput {\n /** Value of angles. */\n pitch: number;\n /** Value of angles. */\n roll: number;\n /** Value of angles. */\n yaw: number;\n}\n\n/** Properties describing hair attributes. */\nexport interface HairPropertiesOutput {\n /** A number describing confidence level of whether the person is bald. */\n bald: number;\n /** A boolean value describing whether the hair is visible in the image. */\n invisible: boolean;\n /** An array of candidate colors and confidence level in the presence of each. */\n hairColor: Array<HairColorOutput>;\n}\n\n/** An array of candidate colors and confidence level in the presence of each. */\nexport interface HairColorOutput {\n /** Name of the hair color. */\n color: HairColorTypeOutput;\n /** Confidence level of the color. Range between [0,1]. */\n confidence: number;\n}\n\n/** Properties describing occlusions on a given face. */\nexport interface OcclusionPropertiesOutput {\n /** A boolean value indicating whether forehead is occluded. */\n foreheadOccluded: boolean;\n /** A boolean value indicating whether eyes are occluded. */\n eyeOccluded: boolean;\n /** A boolean value indicating whether the mouth is occluded. */\n mouthOccluded: boolean;\n}\n\n/** Accessory item and corresponding confidence level. */\nexport interface AccessoryItemOutput {\n /** Type of the accessory. */\n type: AccessoryTypeOutput;\n /** Confidence level of the accessory type. Range between [0,1]. */\n confidence: number;\n}\n\n/** Properties describing any presence of blur within the image. */\nexport interface BlurPropertiesOutput {\n /** An enum value indicating level of blurriness. */\n blurLevel: BlurLevelOutput;\n /** A number indicating level of blurriness ranging from 0 to 1. */\n value: number;\n}\n\n/** Properties describing exposure level of the image. */\nexport interface ExposurePropertiesOutput {\n /** An enum value indicating level of exposure. */\n exposureLevel: ExposureLevelOutput;\n /** A number indicating level of exposure level ranging from 0 to 1. [0, 0.25) is under exposure. [0.25, 0.75) is good exposure. [0.75, 1] is over exposure. */\n value: number;\n}\n\n/** Properties describing noise level of the image. */\nexport interface NoisePropertiesOutput {\n /** An enum value indicating level of noise. */\n noiseLevel: NoiseLevelOutput;\n /** A number indicating level of noise level ranging from 0 to 1. [0, 0.25) is under exposure. [0.25, 0.75) is good exposure. [0.75, 1] is over exposure. [0, 0.3) is low noise level. [0.3, 0.7) is medium noise level. [0.7, 1] is high noise level. */\n value: number;\n}\n\n/** Properties describing the presence of a mask on a given face. */\nexport interface MaskPropertiesOutput {\n /** A boolean value indicating whether nose and mouth are covered. */\n noseAndMouthCovered: boolean;\n /** Type of the mask. */\n type: MaskTypeOutput;\n}\n\n/** Response body for find similar face operation. */\nexport interface FindSimilarResultOutput {\n /** Confidence value of the candidate. The higher confidence, the more similar. Range between [0,1]. */\n confidence: number;\n /** faceId of candidate face when find by faceIds. faceId is created by \"Detect\" and will expire 24 hours after the detection call. */\n faceId?: string;\n /** persistedFaceId of candidate face when find by faceListId or largeFaceListId. persistedFaceId in face list/large face list is persisted and will not expire. */\n persistedFaceId?: string;\n}\n\n/** Identify result. */\nexport interface IdentificationResultOutput {\n /** faceId of the query face. */\n faceId: string;\n /** Identified person candidates for that face (ranked by confidence). Array size should be no larger than input maxNumOfCandidatesReturned. If no person is identified, will return an empty array. */\n candidates: Array<IdentificationCandidateOutput>;\n}\n\n/** Candidate for identify call. */\nexport interface IdentificationCandidateOutput {\n /** personId of candidate person. */\n personId: string;\n /** Confidence value of the candidate. The higher confidence, the more similar. Range between [0,1]. */\n confidence: number;\n}\n\n/** Verify result. */\nexport interface VerificationResultOutput {\n /** True if the two faces belong to the same person or the face belongs to the person, otherwise false. */\n isIdentical: boolean;\n /** A number indicates the similarity confidence of whether two faces belong to the same person, or whether the face belongs to the person. By default, isIdentical is set to True if similarity confidence is greater than or equal to 0.5. This is useful for advanced users to override 'isIdentical' and fine-tune the result on their own data. */\n confidence: number;\n}\n\n/** Response body for group face operation. */\nexport interface GroupingResultOutput {\n /** A partition of the original faces based on face similarity. Groups are ranked by number of faces. */\n groups: string[][];\n /** Face ids array of faces that cannot find any similar faces from original faces. */\n messyGroup: string[];\n}\n\n/** Response of liveness session creation. */\nexport interface CreateLivenessSessionResultOutput {\n /** The unique session ID of the created session. It will expire 48 hours after it was created or may be deleted sooner using the corresponding Session DELETE operation. */\n sessionId: string;\n /** Bearer token to provide authentication for the Vision SDK running on a client application. This Bearer token has limited permissions to perform only the required action and expires after the TTL time. It is also auditable. */\n authToken: string;\n}\n\n/** Session result of detect liveness. */\nexport interface LivenessSessionOutput {\n /** The unique ID to reference this session. */\n readonly id: string;\n /** DateTime when this session was created. */\n createdDateTime: string;\n /** DateTime when this session was started by the client. */\n sessionStartDateTime?: string;\n /** Whether or not the session is expired. */\n sessionExpired: boolean;\n /** Unique Guid per each end-user device. This is to provide rate limiting and anti-hammering. If 'deviceCorrelationIdSetInClient' is true in this request, this 'deviceCorrelationId' must be null. */\n deviceCorrelationId?: string;\n /** Seconds the session should last for. Range is 60 to 86400 seconds. Default value is 600. */\n authTokenTimeToLiveInSeconds?: number;\n /** The current status of the session. */\n status: FaceSessionStatusOutput;\n /** The latest session audit result only populated if status == 'ResultAvailable'. */\n result?: LivenessSessionAuditEntryOutput;\n}\n\n/** Audit entry for a request in session. */\nexport interface LivenessSessionAuditEntryOutput {\n /** The unique id to refer to this audit request. Use this id with the 'start' query parameter to continue on to the next page of audit results. */\n id: number;\n /** The unique sessionId of the created session. It will expire 48 hours after it was created or may be deleted sooner using the corresponding session DELETE operation. */\n sessionId: string;\n /** The unique requestId that is returned by the service to the client in the 'apim-request-id' header. */\n requestId: string;\n /** The unique clientRequestId that is sent by the client in the 'client-request-id' header. */\n clientRequestId: string;\n /** The UTC DateTime that the request was received. */\n receivedDateTime: string;\n /** The request of this entry. */\n request: AuditRequestInfoOutput;\n /** The response of this entry. */\n response: AuditLivenessResponseInfoOutput;\n /** The server calculated digest for this request. If the client reported digest differs from the server calculated digest, then the message integrity between the client and service has been compromised and the result should not be trusted. For more information, see how to guides on how to leverage this value to secure your end-to-end solution. */\n digest: string;\n}\n\n/** Audit entry for a request in the session. */\nexport interface AuditRequestInfoOutput {\n /** The relative URL and query of the liveness request. */\n url: string;\n /** The HTTP method of the request (i.e., GET, POST, DELETE). */\n method: string;\n /** The length of the request body in bytes. */\n contentLength?: number;\n /** The content type of the request. */\n contentType: string;\n /** The user agent used to submit the request. */\n userAgent?: string;\n}\n\n/** Audit entry for a response in the session. */\nexport interface AuditLivenessResponseInfoOutput {\n /** The response body. The schema of this field will depend on the request.url and request.method used by the client. */\n body: LivenessResponseBodyOutput;\n /** The HTTP status code returned to the client. */\n statusCode: number;\n /** The server measured latency for this request in milliseconds. */\n latencyInMilliseconds: number;\n}\n\n/** The response body of detect liveness API call. */\nexport interface LivenessResponseBodyOutput extends Record<string, any> {\n /** The liveness classification for the target face. */\n livenessDecision?: LivenessDecisionOutput;\n /** Specific targets used for liveness classification. */\n target?: LivenessOutputsTargetOutput;\n /** The model version used for liveness classification. */\n modelVersionUsed?: LivenessModelOutput;\n /** The face verification output. Only available when the request is liveness with verify. */\n verifyResult?: LivenessWithVerifyOutputsOutput;\n}\n\n/** The liveness classification for target face. */\nexport interface LivenessOutputsTargetOutput {\n /** The face region where the liveness classification was made on. */\n faceRectangle: FaceRectangleOutput;\n /** The file name which contains the face rectangle where the liveness classification was made on. */\n fileName: string;\n /** The time offset within the file of the frame which contains the face rectangle where the liveness classification was made on. */\n timeOffsetWithinFile: number;\n /** The image type which contains the face rectangle where the liveness classification was made on. */\n imageType: ImageTypeOutput;\n}\n\n/** The face verification output. */\nexport interface LivenessWithVerifyOutputsOutput {\n /** The detail of face for verification. */\n verifyImage: LivenessWithVerifyImageOutput;\n /** The target face liveness face and comparison image face verification confidence. */\n matchConfidence: number;\n /** Whether the target liveness face and comparison image face match. */\n isIdentical: boolean;\n}\n\n/** The detail of face for verification. */\nexport interface LivenessWithVerifyImageOutput {\n /** The face region where the comparison image's classification was made. */\n faceRectangle: FaceRectangleOutput;\n /** Quality of face image for recognition. */\n qualityForRecognition: QualityForRecognitionOutput;\n}\n\n/** Session data returned for enumeration. */\nexport interface LivenessSessionItemOutput {\n /** The unique ID to reference this session. */\n readonly id: string;\n /** DateTime when this session was created. */\n createdDateTime: string;\n /** DateTime when this session was started by the client. */\n sessionStartDateTime?: string;\n /** Whether or not the session is expired. */\n sessionExpired: boolean;\n /** Unique Guid per each end-user device. This is to provide rate limiting and anti-hammering. If 'deviceCorrelationIdSetInClient' is true in this request, this 'deviceCorrelationId' must be null. */\n deviceCorrelationId?: string;\n /** Seconds the session should last for. Range is 60 to 86400 seconds. Default value is 600. */\n authTokenTimeToLiveInSeconds?: number;\n}\n\n/** Response of liveness session with verify creation with verify image provided. */\nexport interface CreateLivenessWithVerifySessionResultOutput {\n /** The unique session ID of the created session. It will expire 48 hours after it was created or may be deleted sooner using the corresponding Session DELETE operation. */\n sessionId: string;\n /** Bearer token to provide authentication for the Vision SDK running on a client application. This Bearer token has limited permissions to perform only the required action and expires after the TTL time. It is also auditable. */\n authToken: string;\n /** The detail of face for verification. */\n verifyImage?: LivenessWithVerifyImageOutput;\n}\n\n/** Session result of detect liveness with verify. */\nexport interface LivenessWithVerifySessionOutput {\n /** The unique ID to reference this session. */\n readonly id: string;\n /** DateTime when this session was created. */\n createdDateTime: string;\n /** DateTime when this session was started by the client. */\n sessionStartDateTime?: string;\n /** Whether or not the session is expired. */\n sessionExpired: boolean;\n /** Unique Guid per each end-user device. This is to provide rate limiting and anti-hammering. If 'deviceCorrelationIdSetInClient' is true in this request, this 'deviceCorrelationId' must be null. */\n deviceCorrelationId?: string;\n /** Seconds the session should last for. Range is 60 to 86400 seconds. Default value is 600. */\n authTokenTimeToLiveInSeconds?: number;\n /** The current status of the session. */\n status: FaceSessionStatusOutput;\n /** The latest session audit result only populated if status == 'ResultAvailable'. */\n result?: LivenessSessionAuditEntryOutput;\n}\n\n/** Face list is a list of faces, up to 1,000 faces. */\nexport interface FaceListOutput {\n /** User defined name, maximum length is 128. */\n name: string;\n /** Optional user defined data. Length should not exceed 16K. */\n userData?: string;\n /** Name of recognition model. Recognition model is used when the face features are extracted and associated with detected faceIds. */\n recognitionModel?: RecognitionModelOutput;\n /** Valid character is letter in lower case or digit or '-' or '_', maximum length is 64. */\n readonly faceListId: string;\n /** Face ids of registered faces in the face list. */\n persistedFaces?: Array<FaceListFaceOutput>;\n}\n\n/** Face resource for face list. */\nexport interface FaceListFaceOutput {\n /** Face ID of the face. */\n readonly persistedFaceId: string;\n /** User-provided data attached to the face. The length limit is 1K. */\n userData?: string;\n}\n\n/** Face list item for list face list. */\nexport interface FaceListItemOutput {\n /** User defined name, maximum length is 128. */\n name: string;\n /** Optional user defined data. Length should not exceed 16K. */\n userData?: string;\n /** Name of recognition model. Recognition model is used when the face features are extracted and associated with detected faceIds. */\n recognitionModel?: RecognitionModelOutput;\n /** Valid character is letter in lower case or digit or '-' or '_', maximum length is 64. */\n faceListId: string;\n}\n\n/** Response body for adding face. */\nexport interface AddFaceResultOutput {\n /** Persisted Face ID of the added face, which is persisted and will not expire. Different from faceId which is created in \"Detect\" and will expire in 24 hours after the detection call. */\n persistedFaceId: string;\n}\n\n/** Large face list is a list of faces, up to 1,000,000 faces. */\nexport interface LargeFaceListOutput {\n /** User defined name, maximum length is 128. */\n name: string;\n /** Optional user defined data. Length should not exceed 16K. */\n userData?: string;\n /** Name of recognition model. Recognition model is used when the face features are extracted and associated with detected faceIds. */\n recognitionModel?: RecognitionModelOutput;\n /** Valid character is letter in lower case or digit or '-' or '_', maximum length is 64. */\n readonly largeFaceListId: string;\n}\n\n/** Training result of a container */\nexport interface TrainingResultOutput {\n /** Training status of the container. */\n status: OperationStatusOutput;\n /** A combined UTC date and time string that describes the created time of the person group, large person group or large face list. */\n createdDateTime: string;\n /** A combined UTC date and time string that describes the last modify time of the person group, large person group or large face list, could be null value when the group is not successfully trained. */\n lastActionDateTime: string;\n /** A combined UTC date and time string that describes the last successful training time of the person group, large person group or large face list. */\n lastSuccessfulTrainingDateTime: string;\n /** Show failure message when training failed (omitted when training succeed). */\n message?: string;\n}\n\n/** Face resource for large face list. */\nexport interface LargeFaceListFaceOutput {\n /** Face ID of the face. */\n readonly persistedFaceId: string;\n /** User-provided data attached to the face. The length limit is 1K. */\n userData?: string;\n}\n\n/** Response of create person. */\nexport interface CreatePersonResultOutput {\n /** Person ID of the person. */\n personId: string;\n}\n\n/** Person resource for person directory */\nexport interface PersonDirectoryPersonOutput {\n /** Person ID of the person. */\n readonly personId: string;\n /** User defined name, maximum length is 128. */\n name: string;\n /** Optional user defined data. Length should not exceed 16K. */\n userData?: string;\n}\n\n/** Response of list dynamic person group of person. */\nexport interface ListGroupReferenceResultOutput {\n /** Array of PersonDirectory DynamicPersonGroup ids. */\n dynamicPersonGroupIds: string[];\n}\n\n/** Face resource for person directory person. */\nexport interface PersonDirectoryFaceOutput {\n /** Face ID of the face. */\n readonly persistedFaceId: string;\n /** User-provided data attached to the face. The length limit is 1K. */\n userData?: string;\n}\n\n/** Response of list face of person. */\nexport interface ListFaceResultOutput {\n /** Id of person. */\n personId: string;\n /** Array of persisted face ids. */\n persistedFaceIds: string[];\n}\n\n/** A container that references Person Directory \"Create Person\". */\nexport interface DynamicPersonGroupOutput {\n /** ID of the dynamic person group. */\n readonly dynamicPersonGroupId: string;\n /** User defined name, maximum length is 128. */\n name: string;\n /** Optional user defined data. Length should not exceed 16K. */\n userData?: string;\n}\n\n/** Response of list dynamic person group person. */\nexport interface ListPersonResultOutput {\n /** Array of PersonDirectory Person ids. */\n personIds: string[];\n}\n\n/** The container of the uploaded person data, including face recognition feature, and up to 10,000 persons. To handle larger scale face identification problem, please consider using Large Person Group. */\nexport interface PersonGroupOutput {\n /** User defined name, maximum length is 128. */\n name: string;\n /** Optional user defined data. Length should not exceed 16K. */\n userData?: string;\n /** Name of recognition model. Recognition model is used when the face features are extracted and associated with detected faceIds. */\n recognitionModel?: RecognitionModelOutput;\n /** ID of the container. */\n readonly personGroupId: string;\n}\n\n/** The person in a specified person group. To add face to this person, please call \"Add Large Person Group Person Face\". */\nexport interface PersonGroupPersonOutput {\n /** ID of the person. */\n readonly personId: string;\n /** User defined name, maximum length is 128. */\n name: string;\n /** Optional user defined data. Length should not exceed 16K. */\n userData?: string;\n /** Face ids of registered faces in the person. */\n persistedFaceIds?: string[];\n}\n\n/** Face resource for person group person. */\nexport interface PersonGroupPersonFaceOutput {\n /** Face ID of the face. */\n readonly persistedFaceId: string;\n /** User-provided data attached to the face. The length limit is 1K. */\n userData?: string;\n}\n\n/** The container of the uploaded person data, including face recognition feature, and up to 1,000,000 people. */\nexport interface LargePersonGroupOutput {\n /** User defined name, maximum length is 128. */\n name: string;\n /** Optional user defined data. Length should not exceed 16K. */\n userData?: string;\n /** Name of recognition model. Recognition model is used when the face features are extracted and associated with detected faceIds. */\n recognitionModel?: RecognitionModelOutput;\n /** ID of the container. */\n readonly largePersonGroupId: string;\n}\n\n/** The person in a specified large person group. To add face to this person, please call \"Add Large Person Group Person Face\". */\nexport interface LargePersonGroupPersonOutput {\n /** ID of the person. */\n readonly personId: string;\n /** User defined name, maximum length is 128. */\n name: string;\n /** Optional user defined data. Length should not exceed 16K. */\n userData?: string;\n /** Face ids of registered faces in the person. */\n persistedFaceIds?: string[];\n}\n\n/** Face resource for large person group person. */\nexport interface LargePersonGroupPersonFaceOutput {\n /** Face ID of the face. */\n readonly persistedFaceId: string;\n /** User-provided data attached to the face. The length limit is 1K. */\n userData?: string;\n}\n\n/** Alias for OperationStatusOutput */\nexport type OperationStatusOutput = string | \"notStarted\" | \"running\" | \"succeeded\" | \"failed\";\n/** Alias for RecognitionModelOutput */\nexport type RecognitionModelOutput =\n | string\n | \"recognition_01\"\n | \"recognition_02\"\n | \"recognition_03\"\n | \"recognition_04\";\n/** Alias for GlassesTypeOutput */\nexport type GlassesTypeOutput =\n | string\n | \"noGlasses\"\n | \"readingGlasses\"\n | \"sunglasses\"\n | \"swimmingGoggles\";\n/** Alias for HairColorTypeOutput */\nexport type HairColorTypeOutput =\n | string\n | \"unknown\"\n | \"white\"\n | \"gray\"\n | \"blond\"\n | \"brown\"\n | \"red\"\n | \"black\"\n | \"other\";\n/** Alias for AccessoryTypeOutput */\nexport type AccessoryTypeOutput = string | \"headwear\" | \"glasses\" | \"mask\";\n/** Alias for BlurLevelOutput */\nexport type BlurLevelOutput = string | \"low\" | \"medium\" | \"high\";\n/** Alias for ExposureLevelOutput */\nexport type ExposureLevelOutput = string | \"underExposure\" | \"goodExposure\" | \"overExposure\";\n/** Alias for NoiseLevelOutput */\nexport type NoiseLevelOutput = string | \"low\" | \"medium\" | \"high\";\n/** Alias for MaskTypeOutput */\nexport type MaskTypeOutput = string | \"faceMask\" | \"noMask\" | \"otherMaskOrOcclusion\" | \"uncertain\";\n/** Alias for QualityForRecognitionOutput */\nexport type QualityForRecognitionOutput = string | \"low\" | \"medium\" | \"high\";\n/** Alias for FaceSessionStatusOutput */\nexport type FaceSessionStatusOutput = string | \"NotStarted\" | \"Started\" | \"ResultAvailable\";\n/** Alias for LivenessDecisionOutput */\nexport type LivenessDecisionOutput = string | \"uncertain\" | \"realface\" | \"spoofface\";\n/** Alias for ImageTypeOutput */\nexport type ImageTypeOutput = string | \"Color\" | \"Infrared\" | \"Depth\";\n/** Alias for LivenessModelOutput */\nexport type LivenessModelOutput =\n | string\n | \"2020-02-15-preview.01\"\n | \"2021-11-12-preview.03\"\n | \"2022-10-15-preview.04\"\n | \"2023-03-02-preview.05\";\n"]}
1
+ {"version":3,"file":"outputModels.js","sourceRoot":"","sources":["../../src/outputModels.ts"],"names":[],"mappings":";AAAA,uCAAuC;AACvC,kCAAkC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\n/** Long running operation resource for person directory. */\nexport interface OperationResultOutput {\n /** Operation ID of the operation. */\n readonly operationId: string;\n /** Current status of the operation. */\n status: OperationStatusOutput;\n /** Date and time the operation was created. */\n createdTime: string;\n /** Date and time the operation was last updated. */\n lastActionTime?: string;\n /** Date and time the operation was finished. */\n finishedTime?: string;\n /** Message for the operation. */\n message?: string;\n}\n\n/** A response containing error details. */\nexport interface FaceErrorResponseOutput {\n /** The error object. */\n error: FaceErrorOutput;\n}\n\n/** The error object. For comprehensive details on error codes and messages returned by the Face Service, please refer to the following link: https://aka.ms/face-error-codes-and-messages. */\nexport interface FaceErrorOutput {\n /** One of a server-defined set of error codes. */\n code: string;\n /** A human-readable representation of the error. */\n message: string;\n}\n\n/** Response for detect API. */\nexport interface FaceDetectionResultOutput {\n /** Unique faceId of the detected face, created by detection API and it will expire 24 hours after the detection call. To return this, it requires 'returnFaceId' parameter to be true. */\n faceId?: string;\n /** The 'recognitionModel' associated with this faceId. This is only returned when 'returnRecognitionModel' is explicitly set as true. */\n recognitionModel?: RecognitionModelOutput;\n /** A rectangle area for the face location on image. */\n faceRectangle: FaceRectangleOutput;\n /** An array of 27-point face landmarks pointing to the important positions of face components. To return this, it requires 'returnFaceLandmarks' parameter to be true. */\n faceLandmarks?: FaceLandmarksOutput;\n /** Face attributes for detected face. */\n faceAttributes?: FaceAttributesOutput;\n}\n\n/** A rectangle within which a face can be found. */\nexport interface FaceRectangleOutput {\n /** The distance from the top edge if the image to the top edge of the rectangle, in pixels. */\n top: number;\n /** The distance from the left edge if the image to the left edge of the rectangle, in pixels. */\n left: number;\n /** The width of the rectangle, in pixels. */\n width: number;\n /** The height of the rectangle, in pixels. */\n height: number;\n}\n\n/** A collection of 27-point face landmarks pointing to the important positions of face components. */\nexport interface FaceLandmarksOutput {\n /** The coordinates of the left eye pupil. */\n pupilLeft: LandmarkCoordinateOutput;\n /** The coordinates of the right eye pupil. */\n pupilRight: LandmarkCoordinateOutput;\n /** The coordinates of the nose tip. */\n noseTip: LandmarkCoordinateOutput;\n /** The coordinates of the mouth left. */\n mouthLeft: LandmarkCoordinateOutput;\n /** The coordinates of the mouth right. */\n mouthRight: LandmarkCoordinateOutput;\n /** The coordinates of the left eyebrow outer. */\n eyebrowLeftOuter: LandmarkCoordinateOutput;\n /** The coordinates of the left eyebrow inner. */\n eyebrowLeftInner: LandmarkCoordinateOutput;\n /** The coordinates of the left eye outer. */\n eyeLeftOuter: LandmarkCoordinateOutput;\n /** The coordinates of the left eye top. */\n eyeLeftTop: LandmarkCoordinateOutput;\n /** The coordinates of the left eye bottom. */\n eyeLeftBottom: LandmarkCoordinateOutput;\n /** The coordinates of the left eye inner. */\n eyeLeftInner: LandmarkCoordinateOutput;\n /** The coordinates of the right eyebrow inner. */\n eyebrowRightInner: LandmarkCoordinateOutput;\n /** The coordinates of the right eyebrow outer. */\n eyebrowRightOuter: LandmarkCoordinateOutput;\n /** The coordinates of the right eye inner. */\n eyeRightInner: LandmarkCoordinateOutput;\n /** The coordinates of the right eye top. */\n eyeRightTop: LandmarkCoordinateOutput;\n /** The coordinates of the right eye bottom. */\n eyeRightBottom: LandmarkCoordinateOutput;\n /** The coordinates of the right eye outer. */\n eyeRightOuter: LandmarkCoordinateOutput;\n /** The coordinates of the nose root left. */\n noseRootLeft: LandmarkCoordinateOutput;\n /** The coordinates of the nose root right. */\n noseRootRight: LandmarkCoordinateOutput;\n /** The coordinates of the nose left alar top. */\n noseLeftAlarTop: LandmarkCoordinateOutput;\n /** The coordinates of the nose right alar top. */\n noseRightAlarTop: LandmarkCoordinateOutput;\n /** The coordinates of the nose left alar out tip. */\n noseLeftAlarOutTip: LandmarkCoordinateOutput;\n /** The coordinates of the nose right alar out tip. */\n noseRightAlarOutTip: LandmarkCoordinateOutput;\n /** The coordinates of the upper lip top. */\n upperLipTop: LandmarkCoordinateOutput;\n /** The coordinates of the upper lip bottom. */\n upperLipBottom: LandmarkCoordinateOutput;\n /** The coordinates of the under lip top. */\n underLipTop: LandmarkCoordinateOutput;\n /** The coordinates of the under lip bottom. */\n underLipBottom: LandmarkCoordinateOutput;\n}\n\n/** Landmark coordinates within an image. */\nexport interface LandmarkCoordinateOutput {\n /** The horizontal component, in pixels. */\n x: number;\n /** The vertical component, in pixels. */\n y: number;\n}\n\n/** Face attributes for the detected face. */\nexport interface FaceAttributesOutput {\n /** Age in years. */\n age?: number;\n /** Smile intensity, a number between [0,1]. */\n smile?: number;\n /** Properties describing facial hair attributes. */\n facialHair?: FacialHairOutput;\n /** Glasses type if any of the face. */\n glasses?: GlassesTypeOutput;\n /** 3-D roll/yaw/pitch angles for face direction. */\n headPose?: HeadPoseOutput;\n /** Properties describing hair attributes. */\n hair?: HairPropertiesOutput;\n /** Properties describing occlusions on a given face. */\n occlusion?: OcclusionPropertiesOutput;\n /** Properties describing any accessories on a given face. */\n accessories?: Array<AccessoryItemOutput>;\n /** Properties describing any presence of blur within the image. */\n blur?: BlurPropertiesOutput;\n /** Properties describing exposure level of the image. */\n exposure?: ExposurePropertiesOutput;\n /** Properties describing noise level of the image. */\n noise?: NoisePropertiesOutput;\n /** Properties describing the presence of a mask on a given face. */\n mask?: MaskPropertiesOutput;\n /** Properties describing the overall image quality regarding whether the image being used in the detection is of sufficient quality to attempt face recognition on. */\n qualityForRecognition?: QualityForRecognitionOutput;\n}\n\n/** Properties describing facial hair attributes. */\nexport interface FacialHairOutput {\n /** A number ranging from 0 to 1 indicating a level of confidence associated with a property. */\n moustache: number;\n /** A number ranging from 0 to 1 indicating a level of confidence associated with a property. */\n beard: number;\n /** A number ranging from 0 to 1 indicating a level of confidence associated with a property. */\n sideburns: number;\n}\n\n/** 3-D roll/yaw/pitch angles for face direction. */\nexport interface HeadPoseOutput {\n /** Value of angles. */\n pitch: number;\n /** Value of angles. */\n roll: number;\n /** Value of angles. */\n yaw: number;\n}\n\n/** Properties describing hair attributes. */\nexport interface HairPropertiesOutput {\n /** A number describing confidence level of whether the person is bald. */\n bald: number;\n /** A boolean value describing whether the hair is visible in the image. */\n invisible: boolean;\n /** An array of candidate colors and confidence level in the presence of each. */\n hairColor: Array<HairColorOutput>;\n}\n\n/** An array of candidate colors and confidence level in the presence of each. */\nexport interface HairColorOutput {\n /** Name of the hair color. */\n color: HairColorTypeOutput;\n /** Confidence level of the color. Range between [0,1]. */\n confidence: number;\n}\n\n/** Properties describing occlusions on a given face. */\nexport interface OcclusionPropertiesOutput {\n /** A boolean value indicating whether forehead is occluded. */\n foreheadOccluded: boolean;\n /** A boolean value indicating whether eyes are occluded. */\n eyeOccluded: boolean;\n /** A boolean value indicating whether the mouth is occluded. */\n mouthOccluded: boolean;\n}\n\n/** Accessory item and corresponding confidence level. */\nexport interface AccessoryItemOutput {\n /** Type of the accessory. */\n type: AccessoryTypeOutput;\n /** Confidence level of the accessory type. Range between [0,1]. */\n confidence: number;\n}\n\n/** Properties describing any presence of blur within the image. */\nexport interface BlurPropertiesOutput {\n /** An enum value indicating level of blurriness. */\n blurLevel: BlurLevelOutput;\n /** A number indicating level of blurriness ranging from 0 to 1. */\n value: number;\n}\n\n/** Properties describing exposure level of the image. */\nexport interface ExposurePropertiesOutput {\n /** An enum value indicating level of exposure. */\n exposureLevel: ExposureLevelOutput;\n /** A number indicating level of exposure level ranging from 0 to 1. [0, 0.25) is under exposure. [0.25, 0.75) is good exposure. [0.75, 1] is over exposure. */\n value: number;\n}\n\n/** Properties describing noise level of the image. */\nexport interface NoisePropertiesOutput {\n /** An enum value indicating level of noise. */\n noiseLevel: NoiseLevelOutput;\n /** A number indicating level of noise level ranging from 0 to 1. [0, 0.25) is under exposure. [0.25, 0.75) is good exposure. [0.75, 1] is over exposure. [0, 0.3) is low noise level. [0.3, 0.7) is medium noise level. [0.7, 1] is high noise level. */\n value: number;\n}\n\n/** Properties describing the presence of a mask on a given face. */\nexport interface MaskPropertiesOutput {\n /** A boolean value indicating whether nose and mouth are covered. */\n noseAndMouthCovered: boolean;\n /** Type of the mask. */\n type: MaskTypeOutput;\n}\n\n/** Response body for find similar face operation. */\nexport interface FindSimilarResultOutput {\n /** Confidence value of the candidate. The higher confidence, the more similar. Range between [0,1]. */\n confidence: number;\n /** faceId of candidate face when find by faceIds. faceId is created by \"Detect\" and will expire 24 hours after the detection call. */\n faceId?: string;\n /** persistedFaceId of candidate face when find by faceListId or largeFaceListId. persistedFaceId in face list/large face list is persisted and will not expire. */\n persistedFaceId?: string;\n}\n\n/** Identify result. */\nexport interface IdentificationResultOutput {\n /** faceId of the query face. */\n faceId: string;\n /** Identified person candidates for that face (ranked by confidence). Array size should be no larger than input maxNumOfCandidatesReturned. If no person is identified, will return an empty array. */\n candidates: Array<IdentificationCandidateOutput>;\n}\n\n/** Candidate for identify call. */\nexport interface IdentificationCandidateOutput {\n /** personId of candidate person. */\n personId: string;\n /** Confidence value of the candidate. The higher confidence, the more similar. Range between [0,1]. */\n confidence: number;\n}\n\n/** Verify result. */\nexport interface VerificationResultOutput {\n /** True if the two faces belong to the same person or the face belongs to the person, otherwise false. */\n isIdentical: boolean;\n /** A number indicates the similarity confidence of whether two faces belong to the same person, or whether the face belongs to the person. By default, isIdentical is set to True if similarity confidence is greater than or equal to 0.5. This is useful for advanced users to override 'isIdentical' and fine-tune the result on their own data. */\n confidence: number;\n}\n\n/** Response body for group face operation. */\nexport interface GroupingResultOutput {\n /** A partition of the original faces based on face similarity. Groups are ranked by number of faces. */\n groups: string[][];\n /** Face ids array of faces that cannot find any similar faces from original faces. */\n messyGroup: string[];\n}\n\n/** Response of liveness session creation. */\nexport interface CreateLivenessSessionResultOutput {\n /** The unique session ID of the created session. It will expire 48 hours after it was created or may be deleted sooner using the corresponding Session DELETE operation. */\n sessionId: string;\n /** Bearer token to provide authentication for the Vision SDK running on a client application. This Bearer token has limited permissions to perform only the required action and expires after the TTL time. It is also auditable. */\n authToken: string;\n}\n\n/** Session result of detect liveness. */\nexport interface LivenessSessionOutput {\n /** The unique ID to reference this session. */\n readonly id: string;\n /** DateTime when this session was created. */\n createdDateTime: string;\n /** DateTime when this session was started by the client. */\n sessionStartDateTime?: string;\n /** Whether or not the session is expired. */\n sessionExpired: boolean;\n /** Unique Guid per each end-user device. This is to provide rate limiting and anti-hammering. If 'deviceCorrelationIdSetInClient' is true in this request, this 'deviceCorrelationId' must be null. */\n deviceCorrelationId?: string;\n /** Seconds the session should last for. Range is 60 to 86400 seconds. Default value is 600. */\n authTokenTimeToLiveInSeconds?: number;\n /** The current status of the session. */\n status: FaceSessionStatusOutput;\n /** The latest session audit result only populated if status == 'ResultAvailable'. */\n result?: LivenessSessionAuditEntryOutput;\n}\n\n/** Audit entry for a request in session. */\nexport interface LivenessSessionAuditEntryOutput {\n /** The unique id to refer to this audit request. Use this id with the 'start' query parameter to continue on to the next page of audit results. */\n id: number;\n /** The unique sessionId of the created session. It will expire 48 hours after it was created or may be deleted sooner using the corresponding session DELETE operation. */\n sessionId: string;\n /** The unique requestId that is returned by the service to the client in the 'apim-request-id' header. */\n requestId: string;\n /** The unique clientRequestId that is sent by the client in the 'client-request-id' header. */\n clientRequestId: string;\n /** The UTC DateTime that the request was received. */\n receivedDateTime: string;\n /** The request of this entry. */\n request: AuditRequestInfoOutput;\n /** The response of this entry. */\n response: AuditLivenessResponseInfoOutput;\n /** The server calculated digest for this request. If the client reported digest differs from the server calculated digest, then the message integrity between the client and service has been compromised and the result should not be trusted. For more information, see how to guides on how to leverage this value to secure your end-to-end solution. */\n digest: string;\n}\n\n/** Audit entry for a request in the session. */\nexport interface AuditRequestInfoOutput {\n /** The relative URL and query of the liveness request. */\n url: string;\n /** The HTTP method of the request (i.e., GET, POST, DELETE). */\n method: string;\n /** The length of the request body in bytes. */\n contentLength?: number;\n /** The content type of the request. */\n contentType: string;\n /** The user agent used to submit the request. */\n userAgent?: string;\n}\n\n/** Audit entry for a response in the session. */\nexport interface AuditLivenessResponseInfoOutput {\n /** The response body. The schema of this field will depend on the request.url and request.method used by the client. */\n body: LivenessResponseBodyOutput;\n /** The HTTP status code returned to the client. */\n statusCode: number;\n /** The server measured latency for this request in milliseconds. */\n latencyInMilliseconds: number;\n}\n\n/** The response body of detect liveness API call. */\nexport interface LivenessResponseBodyOutput extends Record<string, any> {\n /** The liveness classification for the target face. */\n livenessDecision?: LivenessDecisionOutput;\n /** Specific targets used for liveness classification. */\n target?: LivenessOutputsTargetOutput;\n /** The model version used for liveness classification. */\n modelVersionUsed?: LivenessModelOutput;\n /** The face verification output. Only available when the request is liveness with verify. */\n verifyResult?: LivenessWithVerifyOutputsOutput;\n}\n\n/** The liveness classification for target face. */\nexport interface LivenessOutputsTargetOutput {\n /** The face region where the liveness classification was made on. */\n faceRectangle: FaceRectangleOutput;\n /** The file name which contains the face rectangle where the liveness classification was made on. */\n fileName: string;\n /** The time offset within the file of the frame which contains the face rectangle where the liveness classification was made on. */\n timeOffsetWithinFile: number;\n /** The image type which contains the face rectangle where the liveness classification was made on. */\n imageType: ImageTypeOutput;\n}\n\n/** The face verification output. */\nexport interface LivenessWithVerifyOutputsOutput {\n /** The detail of face for verification. */\n verifyImage: LivenessWithVerifyImageOutput;\n /** The target face liveness face and comparison image face verification confidence. */\n matchConfidence: number;\n /** Whether the target liveness face and comparison image face match. */\n isIdentical: boolean;\n}\n\n/** The detail of face for verification. */\nexport interface LivenessWithVerifyImageOutput {\n /** The face region where the comparison image's classification was made. */\n faceRectangle: FaceRectangleOutput;\n /** Quality of face image for recognition. */\n qualityForRecognition: QualityForRecognitionOutput;\n}\n\n/** Session data returned for enumeration. */\nexport interface LivenessSessionItemOutput {\n /** The unique ID to reference this session. */\n readonly id: string;\n /** DateTime when this session was created. */\n createdDateTime: string;\n /** DateTime when this session was started by the client. */\n sessionStartDateTime?: string;\n /** Whether or not the session is expired. */\n sessionExpired: boolean;\n /** Unique Guid per each end-user device. This is to provide rate limiting and anti-hammering. If 'deviceCorrelationIdSetInClient' is true in this request, this 'deviceCorrelationId' must be null. */\n deviceCorrelationId?: string;\n /** Seconds the session should last for. Range is 60 to 86400 seconds. Default value is 600. */\n authTokenTimeToLiveInSeconds?: number;\n}\n\n/** Response of liveness session with verify creation with verify image provided. */\nexport interface CreateLivenessWithVerifySessionResultOutput {\n /** The unique session ID of the created session. It will expire 48 hours after it was created or may be deleted sooner using the corresponding Session DELETE operation. */\n sessionId: string;\n /** Bearer token to provide authentication for the Vision SDK running on a client application. This Bearer token has limited permissions to perform only the required action and expires after the TTL time. It is also auditable. */\n authToken: string;\n /** The detail of face for verification. */\n verifyImage?: LivenessWithVerifyImageOutput;\n}\n\n/** Session result of detect liveness with verify. */\nexport interface LivenessWithVerifySessionOutput {\n /** The unique ID to reference this session. */\n readonly id: string;\n /** DateTime when this session was created. */\n createdDateTime: string;\n /** DateTime when this session was started by the client. */\n sessionStartDateTime?: string;\n /** Whether or not the session is expired. */\n sessionExpired: boolean;\n /** Unique Guid per each end-user device. This is to provide rate limiting and anti-hammering. If 'deviceCorrelationIdSetInClient' is true in this request, this 'deviceCorrelationId' must be null. */\n deviceCorrelationId?: string;\n /** Seconds the session should last for. Range is 60 to 86400 seconds. Default value is 600. */\n authTokenTimeToLiveInSeconds?: number;\n /** The current status of the session. */\n status: FaceSessionStatusOutput;\n /** The latest session audit result only populated if status == 'ResultAvailable'. */\n result?: LivenessSessionAuditEntryOutput;\n}\n\n/** Face list is a list of faces, up to 1,000 faces. */\nexport interface FaceListOutput {\n /** User defined name, maximum length is 128. */\n name: string;\n /** Optional user defined data. Length should not exceed 16K. */\n userData?: string;\n /** Name of recognition model. Recognition model is used when the face features are extracted and associated with detected faceIds. */\n recognitionModel?: RecognitionModelOutput;\n /** Valid character is letter in lower case or digit or '-' or '_', maximum length is 64. */\n readonly faceListId: string;\n /** Face ids of registered faces in the face list. */\n persistedFaces?: Array<FaceListFaceOutput>;\n}\n\n/** Face resource for face list. */\nexport interface FaceListFaceOutput {\n /** Face ID of the face. */\n readonly persistedFaceId: string;\n /** User-provided data attached to the face. The length limit is 1K. */\n userData?: string;\n}\n\n/** Face list item for list face list. */\nexport interface FaceListItemOutput {\n /** User defined name, maximum length is 128. */\n name: string;\n /** Optional user defined data. Length should not exceed 16K. */\n userData?: string;\n /** Name of recognition model. Recognition model is used when the face features are extracted and associated with detected faceIds. */\n recognitionModel?: RecognitionModelOutput;\n /** Valid character is letter in lower case or digit or '-' or '_', maximum length is 64. */\n faceListId: string;\n}\n\n/** Response body for adding face. */\nexport interface AddFaceResultOutput {\n /** Persisted Face ID of the added face, which is persisted and will not expire. Different from faceId which is created in \"Detect\" and will expire in 24 hours after the detection call. */\n persistedFaceId: string;\n}\n\n/** Large face list is a list of faces, up to 1,000,000 faces. */\nexport interface LargeFaceListOutput {\n /** User defined name, maximum length is 128. */\n name: string;\n /** Optional user defined data. Length should not exceed 16K. */\n userData?: string;\n /** Name of recognition model. Recognition model is used when the face features are extracted and associated with detected faceIds. */\n recognitionModel?: RecognitionModelOutput;\n /** Valid character is letter in lower case or digit or '-' or '_', maximum length is 64. */\n readonly largeFaceListId: string;\n}\n\n/** Training result of a container */\nexport interface TrainingResultOutput {\n /** Training status of the container. */\n status: OperationStatusOutput;\n /** A combined UTC date and time string that describes the created time of the person group, large person group or large face list. */\n createdDateTime: string;\n /** A combined UTC date and time string that describes the last modify time of the person group, large person group or large face list, could be null value when the group is not successfully trained. */\n lastActionDateTime: string;\n /** A combined UTC date and time string that describes the last successful training time of the person group, large person group or large face list. */\n lastSuccessfulTrainingDateTime: string;\n /** Show failure message when training failed (omitted when training succeed). */\n message?: string;\n}\n\n/** Face resource for large face list. */\nexport interface LargeFaceListFaceOutput {\n /** Face ID of the face. */\n readonly persistedFaceId: string;\n /** User-provided data attached to the face. The length limit is 1K. */\n userData?: string;\n}\n\n/** Response of create person. */\nexport interface CreatePersonResultOutput {\n /** Person ID of the person. */\n personId: string;\n}\n\n/** Person resource for person directory */\nexport interface PersonDirectoryPersonOutput {\n /** Person ID of the person. */\n readonly personId: string;\n /** User defined name, maximum length is 128. */\n name: string;\n /** Optional user defined data. Length should not exceed 16K. */\n userData?: string;\n}\n\n/** Response of list dynamic person group of person. */\nexport interface ListGroupReferenceResultOutput {\n /** Array of PersonDirectory DynamicPersonGroup ids. */\n dynamicPersonGroupIds: string[];\n}\n\n/** Face resource for person directory person. */\nexport interface PersonDirectoryFaceOutput {\n /** Face ID of the face. */\n readonly persistedFaceId: string;\n /** User-provided data attached to the face. The length limit is 1K. */\n userData?: string;\n}\n\n/** Response of list face of person. */\nexport interface ListFaceResultOutput {\n /** Id of person. */\n personId: string;\n /** Array of persisted face ids. */\n persistedFaceIds: string[];\n}\n\n/** A container that references Person Directory \"Create Person\". */\nexport interface DynamicPersonGroupOutput {\n /** ID of the dynamic person group. */\n readonly dynamicPersonGroupId: string;\n /** User defined name, maximum length is 128. */\n name: string;\n /** Optional user defined data. Length should not exceed 16K. */\n userData?: string;\n}\n\n/** Response of list dynamic person group person. */\nexport interface ListPersonResultOutput {\n /** Array of PersonDirectory Person ids. */\n personIds: string[];\n}\n\n/** The container of the uploaded person data, including face recognition feature, and up to 10,000 persons. To handle larger scale face identification problem, please consider using Large Person Group. */\nexport interface PersonGroupOutput {\n /** User defined name, maximum length is 128. */\n name: string;\n /** Optional user defined data. Length should not exceed 16K. */\n userData?: string;\n /** Name of recognition model. Recognition model is used when the face features are extracted and associated with detected faceIds. */\n recognitionModel?: RecognitionModelOutput;\n /** ID of the container. */\n readonly personGroupId: string;\n}\n\n/** The person in a specified person group. To add face to this person, please call \"Add Large Person Group Person Face\". */\nexport interface PersonGroupPersonOutput {\n /** ID of the person. */\n readonly personId: string;\n /** User defined name, maximum length is 128. */\n name: string;\n /** Optional user defined data. Length should not exceed 16K. */\n userData?: string;\n /** Face ids of registered faces in the person. */\n persistedFaceIds?: string[];\n}\n\n/** Face resource for person group person. */\nexport interface PersonGroupPersonFaceOutput {\n /** Face ID of the face. */\n readonly persistedFaceId: string;\n /** User-provided data attached to the face. The length limit is 1K. */\n userData?: string;\n}\n\n/** The container of the uploaded person data, including face recognition feature, and up to 1,000,000 people. */\nexport interface LargePersonGroupOutput {\n /** User defined name, maximum length is 128. */\n name: string;\n /** Optional user defined data. Length should not exceed 16K. */\n userData?: string;\n /** Name of recognition model. Recognition model is used when the face features are extracted and associated with detected faceIds. */\n recognitionModel?: RecognitionModelOutput;\n /** ID of the container. */\n readonly largePersonGroupId: string;\n}\n\n/** The person in a specified large person group. To add face to this person, please call \"Add Large Person Group Person Face\". */\nexport interface LargePersonGroupPersonOutput {\n /** ID of the person. */\n readonly personId: string;\n /** User defined name, maximum length is 128. */\n name: string;\n /** Optional user defined data. Length should not exceed 16K. */\n userData?: string;\n /** Face ids of registered faces in the person. */\n persistedFaceIds?: string[];\n}\n\n/** Face resource for large person group person. */\nexport interface LargePersonGroupPersonFaceOutput {\n /** Face ID of the face. */\n readonly persistedFaceId: string;\n /** User-provided data attached to the face. The length limit is 1K. */\n userData?: string;\n}\n\n/** Alias for OperationStatusOutput */\nexport type OperationStatusOutput = string | \"notStarted\" | \"running\" | \"succeeded\" | \"failed\";\n/** Alias for RecognitionModelOutput */\nexport type RecognitionModelOutput =\n | string\n | \"recognition_01\"\n | \"recognition_02\"\n | \"recognition_03\"\n | \"recognition_04\";\n/** Alias for GlassesTypeOutput */\nexport type GlassesTypeOutput =\n | string\n | \"noGlasses\"\n | \"readingGlasses\"\n | \"sunglasses\"\n | \"swimmingGoggles\";\n/** Alias for HairColorTypeOutput */\nexport type HairColorTypeOutput =\n | string\n | \"unknown\"\n | \"white\"\n | \"gray\"\n | \"blond\"\n | \"brown\"\n | \"red\"\n | \"black\"\n | \"other\";\n/** Alias for AccessoryTypeOutput */\nexport type AccessoryTypeOutput = string | \"headwear\" | \"glasses\" | \"mask\";\n/** Alias for BlurLevelOutput */\nexport type BlurLevelOutput = string | \"low\" | \"medium\" | \"high\";\n/** Alias for ExposureLevelOutput */\nexport type ExposureLevelOutput = string | \"underExposure\" | \"goodExposure\" | \"overExposure\";\n/** Alias for NoiseLevelOutput */\nexport type NoiseLevelOutput = string | \"low\" | \"medium\" | \"high\";\n/** Alias for MaskTypeOutput */\nexport type MaskTypeOutput = string | \"faceMask\" | \"noMask\" | \"otherMaskOrOcclusion\" | \"uncertain\";\n/** Alias for QualityForRecognitionOutput */\nexport type QualityForRecognitionOutput = string | \"low\" | \"medium\" | \"high\";\n/** Alias for FaceSessionStatusOutput */\nexport type FaceSessionStatusOutput = string | \"NotStarted\" | \"Started\" | \"ResultAvailable\";\n/** Alias for LivenessDecisionOutput */\nexport type LivenessDecisionOutput = string | \"uncertain\" | \"realface\" | \"spoofface\";\n/** Alias for ImageTypeOutput */\nexport type ImageTypeOutput = string | \"Color\" | \"Infrared\" | \"Depth\";\n/** Alias for LivenessModelOutput */\nexport type LivenessModelOutput =\n | string\n | \"2020-02-15-preview.01\"\n | \"2021-11-12-preview.03\"\n | \"2022-10-15-preview.04\"\n | \"2023-03-02-preview.05\";\n"]}
@@ -1,5 +1,5 @@
1
1
  "use strict";
2
2
  // Copyright (c) Microsoft Corporation.
3
- // Licensed under the MIT license.
3
+ // Licensed under the MIT License.
4
4
  Object.defineProperty(exports, "__esModule", { value: true });
5
5
  //# sourceMappingURL=parameters.js.map