@azure/ai-language-conversations 1.0.0-beta.1 → 1.0.0-beta.2

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 (246) hide show
  1. package/LICENSE +4 -4
  2. package/README.md +15 -11
  3. package/{types/src → dist/browser}/azureKeyCredentialPolicy.d.ts +2 -2
  4. package/dist/browser/azureKeyCredentialPolicy.d.ts.map +1 -0
  5. package/{dist-esm/src → dist/browser}/azureKeyCredentialPolicy.js +1 -1
  6. package/dist/browser/azureKeyCredentialPolicy.js.map +1 -0
  7. package/{dist-esm/src → dist/browser}/constants.js +1 -1
  8. package/{dist-esm/src → dist/browser}/constants.js.map +1 -1
  9. package/{types/src → dist/browser}/conversationAnalysisClient.d.ts +6 -8
  10. package/dist/browser/conversationAnalysisClient.d.ts.map +1 -0
  11. package/{dist-esm/src → dist/browser}/conversationAnalysisClient.js +8 -10
  12. package/dist/browser/conversationAnalysisClient.js.map +1 -0
  13. package/{types/src → dist/browser}/generated/conversationAnalysisClient.d.ts +1 -1
  14. package/dist/browser/generated/conversationAnalysisClient.d.ts.map +1 -0
  15. package/{dist-esm/src → dist/browser}/generated/conversationAnalysisClient.js +25 -14
  16. package/{dist-esm/src → dist/browser}/generated/conversationAnalysisClient.js.map +1 -1
  17. package/dist/browser/generated/index.d.ts +3 -0
  18. package/{types/src → dist/browser}/generated/index.d.ts.map +1 -1
  19. package/{dist-esm/src → dist/browser}/generated/index.js +2 -2
  20. package/dist/browser/generated/index.js.map +1 -0
  21. package/{dist-esm/src → dist/browser}/generated/lroImpl.js +11 -3
  22. package/dist/browser/generated/lroImpl.js.map +1 -0
  23. package/{types/src → dist/browser}/generated/models/index.d.ts +46 -46
  24. package/dist/browser/generated/models/index.d.ts.map +1 -0
  25. package/{dist-esm/src → dist/browser}/generated/models/mappers.js +297 -117
  26. package/dist/browser/generated/models/mappers.js.map +1 -0
  27. package/{dist-esm/src → dist/browser}/generated/models/parameters.js +1 -1
  28. package/{dist-esm/src → dist/browser}/generated/models/parameters.js.map +1 -1
  29. package/{types/src → dist/browser}/index.d.ts +3 -3
  30. package/{types/src → dist/browser}/index.d.ts.map +1 -1
  31. package/{dist-esm/src → dist/browser}/index.js +4 -4
  32. package/dist/browser/index.js.map +1 -0
  33. package/{types/src → dist/browser}/models.d.ts +47 -47
  34. package/dist/browser/models.d.ts.map +1 -0
  35. package/{dist-esm/src → dist/browser}/models.js +0 -2
  36. package/dist/browser/models.js.map +1 -0
  37. package/dist/browser/package.json +3 -0
  38. package/dist/commonjs/azureKeyCredentialPolicy.d.ts +9 -0
  39. package/dist/commonjs/azureKeyCredentialPolicy.d.ts.map +1 -0
  40. package/dist/commonjs/azureKeyCredentialPolicy.js +25 -0
  41. package/dist/commonjs/azureKeyCredentialPolicy.js.map +1 -0
  42. package/dist/commonjs/constants.d.ts +3 -0
  43. package/dist/commonjs/constants.d.ts.map +1 -0
  44. package/dist/commonjs/constants.js +8 -0
  45. package/dist/commonjs/constants.js.map +1 -0
  46. package/dist/commonjs/conversationAnalysisClient.d.ts +63 -0
  47. package/dist/commonjs/conversationAnalysisClient.d.ts.map +1 -0
  48. package/dist/commonjs/conversationAnalysisClient.js +85 -0
  49. package/dist/commonjs/conversationAnalysisClient.js.map +1 -0
  50. package/dist/commonjs/generated/conversationAnalysisClient.d.ts +36 -0
  51. package/dist/commonjs/generated/conversationAnalysisClient.d.ts.map +1 -0
  52. package/dist/commonjs/generated/conversationAnalysisClient.js +207 -0
  53. package/dist/commonjs/generated/conversationAnalysisClient.js.map +1 -0
  54. package/dist/commonjs/generated/index.d.ts +3 -0
  55. package/dist/commonjs/generated/index.d.ts.map +1 -0
  56. package/dist/commonjs/generated/index.js +15 -0
  57. package/dist/commonjs/generated/index.js.map +1 -0
  58. package/dist/commonjs/generated/lroImpl.d.ts +16 -0
  59. package/dist/commonjs/generated/lroImpl.d.ts.map +1 -0
  60. package/dist/commonjs/generated/lroImpl.js +37 -0
  61. package/dist/commonjs/generated/lroImpl.js.map +1 -0
  62. package/dist/commonjs/generated/models/index.d.ts +1951 -0
  63. package/dist/commonjs/generated/models/index.d.ts.map +1 -0
  64. package/dist/commonjs/generated/models/index.js +659 -0
  65. package/dist/commonjs/generated/models/index.js.map +1 -0
  66. package/dist/commonjs/generated/models/mappers.d.ts +153 -0
  67. package/dist/commonjs/generated/models/mappers.d.ts.map +1 -0
  68. package/dist/commonjs/generated/models/mappers.js +2847 -0
  69. package/dist/commonjs/generated/models/mappers.js.map +1 -0
  70. package/dist/commonjs/generated/models/parameters.d.ts +8 -0
  71. package/dist/commonjs/generated/models/parameters.d.ts.map +1 -0
  72. package/dist/commonjs/generated/models/parameters.js +64 -0
  73. package/dist/commonjs/generated/models/parameters.js.map +1 -0
  74. package/dist/commonjs/index.d.ts +13 -0
  75. package/dist/commonjs/index.d.ts.map +1 -0
  76. package/dist/commonjs/index.js +21 -0
  77. package/dist/commonjs/index.js.map +1 -0
  78. package/{types/ai-language-conversations.d.ts → dist/commonjs/models.d.ts} +1953 -2221
  79. package/dist/commonjs/models.d.ts.map +1 -0
  80. package/dist/commonjs/models.js +652 -0
  81. package/dist/commonjs/models.js.map +1 -0
  82. package/dist/commonjs/package.json +3 -0
  83. package/{types → dist/commonjs}/tsdoc-metadata.json +11 -11
  84. package/dist/esm/azureKeyCredentialPolicy.d.ts +9 -0
  85. package/dist/esm/azureKeyCredentialPolicy.d.ts.map +1 -0
  86. package/dist/esm/azureKeyCredentialPolicy.js +22 -0
  87. package/dist/esm/azureKeyCredentialPolicy.js.map +1 -0
  88. package/dist/esm/constants.d.ts +3 -0
  89. package/dist/esm/constants.d.ts.map +1 -0
  90. package/dist/esm/constants.js +5 -0
  91. package/dist/esm/constants.js.map +1 -0
  92. package/dist/esm/conversationAnalysisClient.d.ts +63 -0
  93. package/dist/esm/conversationAnalysisClient.d.ts.map +1 -0
  94. package/dist/esm/conversationAnalysisClient.js +81 -0
  95. package/dist/esm/conversationAnalysisClient.js.map +1 -0
  96. package/dist/esm/generated/conversationAnalysisClient.d.ts +36 -0
  97. package/dist/esm/generated/conversationAnalysisClient.d.ts.map +1 -0
  98. package/dist/esm/generated/conversationAnalysisClient.js +202 -0
  99. package/dist/esm/generated/conversationAnalysisClient.js.map +1 -0
  100. package/dist/esm/generated/index.d.ts +3 -0
  101. package/dist/esm/generated/index.d.ts.map +1 -0
  102. package/dist/esm/generated/index.js +10 -0
  103. package/dist/esm/generated/index.js.map +1 -0
  104. package/dist/esm/generated/lroImpl.d.ts +16 -0
  105. package/dist/esm/generated/lroImpl.d.ts.map +1 -0
  106. package/dist/esm/generated/lroImpl.js +33 -0
  107. package/dist/esm/generated/lroImpl.js.map +1 -0
  108. package/dist/esm/generated/models/index.d.ts +1951 -0
  109. package/dist/esm/generated/models/index.d.ts.map +1 -0
  110. package/dist/esm/generated/models/index.js +656 -0
  111. package/dist/esm/generated/models/index.js.map +1 -0
  112. package/dist/esm/generated/models/mappers.d.ts +153 -0
  113. package/dist/esm/generated/models/mappers.d.ts.map +1 -0
  114. package/dist/{index.js → esm/generated/models/mappers.js} +404 -1395
  115. package/dist/esm/generated/models/mappers.js.map +1 -0
  116. package/dist/esm/generated/models/parameters.d.ts +8 -0
  117. package/dist/esm/generated/models/parameters.d.ts.map +1 -0
  118. package/dist/esm/generated/models/parameters.js +61 -0
  119. package/dist/esm/generated/models/parameters.js.map +1 -0
  120. package/dist/esm/index.d.ts +13 -0
  121. package/dist/esm/index.d.ts.map +1 -0
  122. package/dist/esm/index.js +15 -0
  123. package/dist/esm/index.js.map +1 -0
  124. package/dist/esm/models.d.ts +1953 -0
  125. package/dist/esm/models.d.ts.map +1 -0
  126. package/dist/esm/models.js +649 -0
  127. package/dist/esm/models.js.map +1 -0
  128. package/dist/esm/package.json +3 -0
  129. package/dist/react-native/azureKeyCredentialPolicy.d.ts +9 -0
  130. package/dist/react-native/azureKeyCredentialPolicy.d.ts.map +1 -0
  131. package/dist/react-native/azureKeyCredentialPolicy.js +22 -0
  132. package/dist/react-native/azureKeyCredentialPolicy.js.map +1 -0
  133. package/dist/react-native/constants.d.ts +3 -0
  134. package/dist/react-native/constants.d.ts.map +1 -0
  135. package/dist/react-native/constants.js +5 -0
  136. package/dist/react-native/constants.js.map +1 -0
  137. package/dist/react-native/conversationAnalysisClient.d.ts +63 -0
  138. package/dist/react-native/conversationAnalysisClient.d.ts.map +1 -0
  139. package/dist/react-native/conversationAnalysisClient.js +81 -0
  140. package/dist/react-native/conversationAnalysisClient.js.map +1 -0
  141. package/dist/react-native/generated/conversationAnalysisClient.d.ts +36 -0
  142. package/dist/react-native/generated/conversationAnalysisClient.d.ts.map +1 -0
  143. package/dist/react-native/generated/conversationAnalysisClient.js +202 -0
  144. package/dist/react-native/generated/conversationAnalysisClient.js.map +1 -0
  145. package/dist/react-native/generated/index.d.ts +3 -0
  146. package/dist/react-native/generated/index.d.ts.map +1 -0
  147. package/dist/react-native/generated/index.js +10 -0
  148. package/dist/react-native/generated/index.js.map +1 -0
  149. package/dist/react-native/generated/lroImpl.d.ts +16 -0
  150. package/dist/react-native/generated/lroImpl.d.ts.map +1 -0
  151. package/dist/react-native/generated/lroImpl.js +33 -0
  152. package/dist/react-native/generated/lroImpl.js.map +1 -0
  153. package/dist/react-native/generated/models/index.d.ts +1951 -0
  154. package/dist/react-native/generated/models/index.d.ts.map +1 -0
  155. package/dist/react-native/generated/models/index.js +656 -0
  156. package/dist/react-native/generated/models/index.js.map +1 -0
  157. package/dist/react-native/generated/models/mappers.d.ts +153 -0
  158. package/dist/react-native/generated/models/mappers.d.ts.map +1 -0
  159. package/dist/react-native/generated/models/mappers.js +2842 -0
  160. package/dist/react-native/generated/models/mappers.js.map +1 -0
  161. package/dist/react-native/generated/models/parameters.d.ts +8 -0
  162. package/dist/react-native/generated/models/parameters.d.ts.map +1 -0
  163. package/dist/react-native/generated/models/parameters.js +61 -0
  164. package/dist/react-native/generated/models/parameters.js.map +1 -0
  165. package/dist/react-native/index.d.ts +13 -0
  166. package/dist/react-native/index.d.ts.map +1 -0
  167. package/dist/react-native/index.js +15 -0
  168. package/dist/react-native/index.js.map +1 -0
  169. package/dist/react-native/models.d.ts +1953 -0
  170. package/dist/react-native/models.d.ts.map +1 -0
  171. package/dist/react-native/models.js +649 -0
  172. package/dist/react-native/models.js.map +1 -0
  173. package/dist/react-native/package.json +3 -0
  174. package/package.json +95 -100
  175. package/CHANGELOG.md +0 -5
  176. package/dist/index.js.map +0 -1
  177. package/dist-esm/samples-dev/sample_analyze_conversation_app.js +0 -74
  178. package/dist-esm/samples-dev/sample_analyze_conversation_app.js.map +0 -1
  179. package/dist-esm/samples-dev/sample_analyze_orchestration_app_conv_response.js +0 -89
  180. package/dist-esm/samples-dev/sample_analyze_orchestration_app_conv_response.js.map +0 -1
  181. package/dist-esm/samples-dev/sample_analyze_orchestration_app_luis_response.js +0 -65
  182. package/dist-esm/samples-dev/sample_analyze_orchestration_app_luis_response.js.map +0 -1
  183. package/dist-esm/samples-dev/sample_analyze_orchestration_app_qna_response.js +0 -66
  184. package/dist-esm/samples-dev/sample_analyze_orchestration_app_qna_response.js.map +0 -1
  185. package/dist-esm/samples-dev/sample_analyze_orchestration_direct_target.js +0 -76
  186. package/dist-esm/samples-dev/sample_analyze_orchestration_direct_target.js.map +0 -1
  187. package/dist-esm/samples-dev/sample_authentication.js +0 -44
  188. package/dist-esm/samples-dev/sample_authentication.js.map +0 -1
  189. package/dist-esm/samples-dev/sample_conv_pii_transcript_input.js +0 -112
  190. package/dist-esm/samples-dev/sample_conv_pii_transcript_input.js.map +0 -1
  191. package/dist-esm/samples-dev/sample_conv_summarization.js +0 -95
  192. package/dist-esm/samples-dev/sample_conv_summarization.js.map +0 -1
  193. package/dist-esm/src/azureKeyCredentialPolicy.js.map +0 -1
  194. package/dist-esm/src/conversationAnalysisClient.js.map +0 -1
  195. package/dist-esm/src/generated/index.js.map +0 -1
  196. package/dist-esm/src/generated/lroImpl.js.map +0 -1
  197. package/dist-esm/src/generated/models/mappers.js.map +0 -1
  198. package/dist-esm/src/index.js.map +0 -1
  199. package/dist-esm/src/models.js.map +0 -1
  200. package/dist-esm/test/public/analyze.spec.js +0 -159
  201. package/dist-esm/test/public/analyze.spec.js.map +0 -1
  202. package/dist-esm/test/public/inputs.js +0 -166
  203. package/dist-esm/test/public/inputs.js.map +0 -1
  204. package/dist-esm/test/public/utils/recordedClient.js +0 -50
  205. package/dist-esm/test/public/utils/recordedClient.js.map +0 -1
  206. package/review/ai-language-conversations.api.md +0 -1291
  207. package/rollup.config.js +0 -122
  208. package/tsconfig.json +0 -11
  209. package/types/samples-dev/sample_analyze_conversation_app.d.ts +0 -2
  210. package/types/samples-dev/sample_analyze_conversation_app.d.ts.map +0 -1
  211. package/types/samples-dev/sample_analyze_orchestration_app_conv_response.d.ts +0 -2
  212. package/types/samples-dev/sample_analyze_orchestration_app_conv_response.d.ts.map +0 -1
  213. package/types/samples-dev/sample_analyze_orchestration_app_luis_response.d.ts +0 -2
  214. package/types/samples-dev/sample_analyze_orchestration_app_luis_response.d.ts.map +0 -1
  215. package/types/samples-dev/sample_analyze_orchestration_app_qna_response.d.ts +0 -2
  216. package/types/samples-dev/sample_analyze_orchestration_app_qna_response.d.ts.map +0 -1
  217. package/types/samples-dev/sample_analyze_orchestration_direct_target.d.ts +0 -2
  218. package/types/samples-dev/sample_analyze_orchestration_direct_target.d.ts.map +0 -1
  219. package/types/samples-dev/sample_authentication.d.ts +0 -2
  220. package/types/samples-dev/sample_authentication.d.ts.map +0 -1
  221. package/types/samples-dev/sample_conv_pii_transcript_input.d.ts +0 -2
  222. package/types/samples-dev/sample_conv_pii_transcript_input.d.ts.map +0 -1
  223. package/types/samples-dev/sample_conv_summarization.d.ts +0 -2
  224. package/types/samples-dev/sample_conv_summarization.d.ts.map +0 -1
  225. package/types/src/azureKeyCredentialPolicy.d.ts.map +0 -1
  226. package/types/src/conversationAnalysisClient.d.ts.map +0 -1
  227. package/types/src/generated/conversationAnalysisClient.d.ts.map +0 -1
  228. package/types/src/generated/index.d.ts +0 -3
  229. package/types/src/generated/models/index.d.ts.map +0 -1
  230. package/types/src/models.d.ts.map +0 -1
  231. package/types/test/public/analyze.spec.d.ts +0 -2
  232. package/types/test/public/analyze.spec.d.ts.map +0 -1
  233. package/types/test/public/inputs.d.ts +0 -8
  234. package/types/test/public/inputs.d.ts.map +0 -1
  235. package/types/test/public/utils/recordedClient.d.ts +0 -16
  236. package/types/test/public/utils/recordedClient.d.ts.map +0 -1
  237. /package/{types/src → dist/browser}/constants.d.ts +0 -0
  238. /package/{types/src → dist/browser}/constants.d.ts.map +0 -0
  239. /package/{types/src → dist/browser}/generated/lroImpl.d.ts +0 -0
  240. /package/{types/src → dist/browser}/generated/lroImpl.d.ts.map +0 -0
  241. /package/{dist-esm/src → dist/browser}/generated/models/index.js +0 -0
  242. /package/{dist-esm/src → dist/browser}/generated/models/index.js.map +0 -0
  243. /package/{types/src → dist/browser}/generated/models/mappers.d.ts +0 -0
  244. /package/{types/src → dist/browser}/generated/models/mappers.d.ts.map +0 -0
  245. /package/{types/src → dist/browser}/generated/models/parameters.d.ts +0 -0
  246. /package/{types/src → dist/browser}/generated/models/parameters.d.ts.map +0 -0
@@ -0,0 +1 @@
1
+ {"version":3,"file":"models.js","sourceRoot":"","sources":["../../src/models.ts"],"names":[],"mappings":";;;AAw8BA,oFAAoF;AACpF,IAAY,gCAGX;AAHD,WAAY,gCAAgC;IAC1C,mBAAmB;IACnB,iEAA6B,CAAA;AAC/B,CAAC,EAHW,gCAAgC,gDAAhC,gCAAgC,QAG3C;AAWD,2FAA2F;AAC3F,IAAY,uCAGX;AAHD,WAAY,uCAAuC;IACjD,yBAAyB;IACzB,oFAAyC,CAAA;AAC3C,CAAC,EAHW,uCAAuC,uDAAvC,uCAAuC,QAGlD;AAWD,kEAAkE;AAClE,IAAY,cAqCX;AArCD,WAAY,cAAc;IACxB,qBAAqB;IACrB,mDAAiC,CAAA;IACjC,sBAAsB;IACtB,qDAAmC,CAAA;IACnC,mBAAmB;IACnB,+CAA6B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B,4CAA5B,4BAA4B,QAiBvC;AAkBD,8EAA8E;AAC9E,IAAY,0BASX;AATD,WAAY,0BAA0B;IACpC,cAAc;IACd,iDAAmB,CAAA;IACnB,UAAU;IACV,yCAAW,CAAA;IACX,gBAAgB;IAChB,qDAAuB,CAAA;IACvB,WAAW;IACX,2CAAa,CAAA;AACf,CAAC,EATW,0BAA0B,0CAA1B,0BAA0B,QASrC;AAcD,sEAAsE;AACtE,IAAY,kBAKX;AALD,WAAY,kBAAkB;IAC5B,YAAY;IACZ,qCAAe,CAAA;IACf,iBAAiB;IACjB,+CAAyB,CAAA;AAC3B,CAAC,EALW,kBAAkB,kCAAlB,kBAAkB,QAK7B","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\nimport type * as coreClient from \"@azure/core-client\";\n\nexport type AnalyzeConversationTaskUnion = ConversationalTask;\nexport type AnalyzeConversationTaskResultUnion = ConversationalTaskResult;\nexport type ConversationUnion = TextConversation | TranscriptConversation;\nexport type AnalysisParametersUnion =\n | LuisParameters\n | ConversationParameters\n | QuestionAnsweringParameters;\nexport type BasePredictionUnion = ConversationPrediction | OrchestrationPrediction;\nexport type BaseResolutionUnion =\n | AgeResolution\n | VolumeResolution\n | SpeedResolution\n | AreaResolution\n | LengthResolution\n | InformationResolution\n | TemperatureResolution\n | WeightResolution\n | CurrencyResolution\n | BooleanResolution\n | DateTimeResolution\n | NumberResolution\n | OrdinalResolution\n | TemporalSpanResolution\n | NumericRangeResolution;\nexport type BaseExtraInformationUnion = EntitySubtype | ListKey;\nexport type TargetIntentResultUnion =\n | NoneLinkedTargetIntentResult\n | ConversationTargetIntentResult\n | LuisTargetIntentResult\n | QuestionAnsweringTargetIntentResult;\nexport type AnalyzeConversationLROTaskUnion =\n | AnalyzeConversationPIITask\n | AnalyzeConversationSummarizationTask;\nexport type AnalyzeConversationJobResultUnion =\n | AnalyzeConversationPIIResult\n | AnalyzeConversationSummarizationResult;\n\n/** The base class of a conversation input task. */\nexport interface AnalyzeConversationTask {\n /** Polymorphic discriminator, which specifies the different types this object can be */\n kind: \"Conversation\";\n}\n\n/** The base class of a conversation task result. */\nexport interface AnalyzeConversationTaskResult {\n /** Polymorphic discriminator, which specifies the different types this object can be */\n kind: \"ConversationResult\";\n}\n\n/** Error response. */\nexport interface ErrorResponse {\n /** The error object. */\n error: ErrorModel;\n}\n\n/** The error object. */\nexport interface ErrorModel {\n /** Describes unknown properties. The value of an unknown property can be of \"any\" type. */\n [property: string]: any;\n /** One of a server-defined set of error codes. */\n code: ErrorCode;\n /** A human-readable representation of the error. */\n message: string;\n /** The target of the error. */\n target?: string;\n /** An array of details about specific errors that led to this reported error. */\n details?: ErrorModel[];\n /** An object containing more specific information than the current object about the error. */\n innererror?: InnerErrorModel;\n}\n\n/** An object containing more specific information about the error. As per Microsoft One API guidelines - https://github.com/Microsoft/api-guidelines/blob/vNext/Guidelines.md#7102-error-condition-responses. */\nexport interface InnerErrorModel {\n /** One of a server-defined set of error codes. */\n code: InnerErrorCode;\n /** Error message. */\n message: string;\n /** Error details. */\n details?: { [propertyName: string]: string };\n /** Error target. */\n target?: string;\n /** An object containing more specific information than the current object about the error. */\n innererror?: InnerErrorModel;\n}\n\nexport interface AnalyzeConversationJobsInput {\n /** Optional display name for the analysis job. */\n displayName?: string;\n analysisInput: MultiLanguageConversationAnalysisInput;\n /** The set of tasks to execute on the input conversation. */\n tasks: AnalyzeConversationLROTaskUnion[];\n}\n\nexport interface MultiLanguageConversationAnalysisInput {\n conversations: ConversationUnion[];\n}\n\n/** A complete ordered set of utterances (spoken or written), by one or more speakers to be used for analysis. */\nexport interface Conversation {\n /** Polymorphic discriminator, which specifies the different types this object can be */\n modality: \"text\" | \"transcript\";\n /** Unique identifier for the conversation. */\n id: string;\n /** The language of the conversation item in BCP-47 format. */\n language: string;\n /** Enumeration of supported conversational domains. */\n domain?: ConversationDomain;\n}\n\n/** Base task object. */\nexport interface TaskIdentifier {\n taskName?: string;\n}\n\nexport interface JobStateAutoGenerated {\n displayName?: string;\n createdDateTime: Date;\n expirationDateTime?: Date;\n jobId: string;\n lastUpdatedDateTime: Date;\n status: JobState;\n errors?: ErrorModel[];\n nextLink?: string;\n}\n\n/** Contains the state for the tasks being executed as part of the analyze conversation job submitted. */\nexport interface ConversationTasksState {\n tasks: ConversationTasksStateTasks;\n}\n\nexport interface ConversationTasksStateTasks {\n /** Count of tasks completed successfully. */\n completed: number;\n /** Count of tasks that failed. */\n failed: number;\n /** Count of tasks in progress currently. */\n inProgress: number;\n /** Total count of tasks submitted as part of the job. */\n total: number;\n /** List of results from tasks (if available). */\n items?: AnalyzeConversationJobResultUnion[];\n}\n\n/** Returns the current state of the task. */\nexport interface TaskStateAutoGenerated {\n /** The last updated time in UTC for the task. */\n lastUpdateDateTime: Date;\n /** The status of the task at the mentioned last update time. */\n status: TaskState;\n}\n\n/** Contains the statistics for the job submitted. */\nexport interface AnalyzeConversationJobStatistics {\n /** if showStats=true was specified in the request this field will contain information about the request payload. */\n statistics?: ConversationRequestStatistics;\n}\n\n/** if showStats=true was specified in the request this field will contain information about the request payload. */\nexport interface RequestStatistics {\n /** Describes unknown properties. The value of an unknown property can be of \"any\" type. */\n [property: string]: any;\n /** Number of transactions for the request. */\n transactionsCount: number;\n}\n\n/** The input ConversationItem and its optional parameters */\nexport interface ConversationAnalysisOptions {\n /** The abstract base for a user input formatted conversation (e.g., Text, Transcript). */\n conversationItem: ConversationItemBase;\n}\n\n/** The abstract base for a user input formatted conversation (e.g., Text, Transcript). */\nexport interface ConversationItemBase {\n /** Describes unknown properties. The value of an unknown property can be of \"any\" type. */\n [property: string]: any;\n /** The ID of a conversation item. */\n id: string;\n /** The participant ID of a conversation item. */\n participantId: string;\n /** The override language of a conversation item in BCP 47 language representation. */\n language?: string;\n /** Enumeration of supported conversational modalities. */\n modality?: InputModality;\n /** The role of the participant. */\n role?: Role;\n}\n\n/** Input parameters necessary for a Conversation task. */\nexport interface ConversationTaskParameters {\n /** The name of the project to use. */\n projectName: string;\n /** The name of the deployment to use. */\n deploymentName: string;\n /** If true, the service will return more detailed information in the response. */\n verbose?: boolean;\n /** If true, the service will keep the query for further review. */\n isLoggingEnabled?: boolean;\n /** Specifies the method used to interpret string offsets. Defaults to Text Elements (Graphemes) according to Unicode v8.0.0. For additional information see https://aka.ms/text-analytics-offsets. */\n stringIndexType?: StringIndexType;\n /** The name of a target project to forward the request to. */\n directTarget?: string;\n /** A dictionary representing the parameters for each target project. */\n targetProjectParameters?: { [propertyName: string]: AnalysisParametersUnion };\n}\n\n/** This is the parameter set of either the Orchestration project itself or one of the target services. */\nexport interface AnalysisParameters {\n /** Polymorphic discriminator, which specifies the different types this object can be */\n targetProjectKind: \"Luis\" | \"Conversation\" | \"QuestionAnswering\";\n /** The API version to use when call a specific target service. */\n apiVersion?: string;\n}\n\n/** Represents a conversation analysis response. */\nexport interface AnalyzeConversationResult {\n /** The conversation utterance given by the caller. */\n query: string;\n /** The system detected language for the query in BCP 47 language representation.. */\n detectedLanguage?: string;\n /** The prediction result of a conversation project. */\n prediction: BasePredictionUnion;\n}\n\n/** This is the base class of prediction */\nexport interface BasePrediction {\n /** Polymorphic discriminator, which specifies the different types this object can be */\n projectKind: \"Conversation\" | \"Orchestration\";\n /** The intent with the highest score. */\n topIntent?: string;\n}\n\n/** The response returned by a Conversation project. */\nexport interface ConversationResult {\n /** The same query given in request. */\n query: string;\n /** The detected language from the query in BCP 47 language representation.. */\n detectedLanguage?: string;\n /** The predicted result for the query. */\n prediction?: ConversationPrediction;\n}\n\n/** The intent classification result of a Conversation project. */\nexport interface ConversationIntent {\n /** A predicted class. */\n category: string;\n /** The confidence score of the class from 0.0 to 1.0. */\n confidence: number;\n}\n\n/** The entity extraction result of a Conversation project. */\nexport interface ConversationEntity {\n /** The entity category. */\n category: string;\n /** The predicted entity text. */\n text: string;\n /** The starting index of this entity in the query. */\n offset: number;\n /** The length of the text. */\n length: number;\n /** The entity confidence score. */\n confidence: number;\n /** The collection of entity resolution objects. */\n resolutions?: BaseResolutionUnion[];\n /** The collection of entity extra information objects. */\n extraInformation?: BaseExtraInformationUnion[];\n}\n\n/** The abstract base class for entity resolutions. */\nexport interface BaseResolution {\n /** Polymorphic discriminator, which specifies the different types this object can be */\n resolutionKind:\n | \"Age\"\n | \"Volume\"\n | \"Speed\"\n | \"Area\"\n | \"Length\"\n | \"Information\"\n | \"Temperature\"\n | \"Weight\"\n | \"Currency\"\n | \"Boolean\"\n | \"DateTime\"\n | \"Number\"\n | \"Ordinal\"\n | \"TemporalSpan\"\n | \"NumericRange\";\n}\n\n/** The abstract base object for entity extra information. */\nexport interface BaseExtraInformation {\n /** Polymorphic discriminator, which specifies the different types this object can be */\n extraInformationKind: \"EntitySubtype\" | \"ListKey\";\n}\n\n/** This is the base class of an intent prediction */\nexport interface TargetIntentResult {\n /** Polymorphic discriminator, which specifies the different types this object can be */\n targetProjectKind: \"NonLinked\" | \"Conversation\" | \"Luis\" | \"QuestionAnswering\";\n /** The API version used to call a target service. */\n apiVersion?: string;\n /** The prediction score and it ranges from 0.0 to 1.0. */\n confidence: number;\n}\n\n/** This customizes how the service calls LUIS Generally Available projects. */\nexport interface LuisCallingOptions {\n /** Enable verbose response. */\n verbose?: boolean;\n /** Save log to add in training utterances later. */\n log?: boolean;\n /** Set true to show all intents. */\n showAllIntents?: boolean;\n /** The timezone offset for the location of the request. */\n timezoneOffset?: number;\n /** Enable spell checking. */\n spellCheck?: boolean;\n /** The subscription key to use when enabling Bing spell check */\n bingSpellCheckSubscriptionKey?: string;\n}\n\n/** The option to set to call a Conversation project. */\nexport interface ConversationCallingOptions {\n /** The language of the query in BCP 47 language representation.. */\n language?: string;\n /** If true, the service will return more detailed information. */\n verbose?: boolean;\n /** If true, the query will be saved for customers to further review in authoring, to improve the model quality. */\n isLoggingEnabled?: boolean;\n}\n\n/** Parameters to query a knowledge base. */\nexport interface AnswersOptions {\n /** Exact QnA ID to fetch from the knowledge base, this field takes priority over question. */\n qnaId?: number;\n /** User question to query against the knowledge base. */\n question?: string;\n /** Max number of answers to be returned for the question. */\n top?: number;\n /** Unique identifier for the user. */\n userId?: string;\n /** Minimum threshold score for answers, value ranges from 0 to 1. */\n confidenceThreshold?: number;\n /** Context object with previous QnA's information. */\n answerContext?: KnowledgeBaseAnswerContext;\n /** Type of ranker to be used. */\n rankerKind?: RankerKind;\n /** Filter QnAs based on given metadata list and knowledge base sources. */\n filters?: QueryFilters;\n /** To configure Answer span prediction feature. */\n shortAnswerOptions?: ShortAnswerOptions;\n /** (Optional) Flag to enable Query over Unstructured Sources. */\n includeUnstructuredSources?: boolean;\n}\n\n/** Context object with previous QnA's information. */\nexport interface KnowledgeBaseAnswerContext {\n /** Previous turn top answer result QnA ID. */\n previousQnaId: number;\n /** Previous user query. */\n previousQuestion?: string;\n}\n\n/** filters over knowledge base. */\nexport interface QueryFilters {\n /** Find QnAs that are associated with the given list of metadata. */\n metadataFilter?: MetadataFilter;\n /** Find QnAs that are associated with any of the given list of sources in knowledge base. */\n sourceFilter?: string[];\n /** Logical operation used to join metadata filter with source filter. */\n logicalOperation?: LogicalOperationKind;\n}\n\n/** Find QnAs that are associated with the given list of metadata. */\nexport interface MetadataFilter {\n metadata?: MetadataRecord[];\n /** Operation used to join metadata filters. */\n logicalOperation?: LogicalOperationKind;\n}\n\n/** Object to provide the key value pair for each metadata. */\nexport interface MetadataRecord {\n /** Metadata Key from Metadata dictionary used in the QnA. */\n key: string;\n /** Metadata Value from Metadata dictionary used in the QnA. */\n value: string;\n}\n\n/** To configure Answer span prediction feature. */\nexport interface ShortAnswerOptions {\n /** Enable or disable Answer Span prediction. */\n enable: true;\n /** Minimum threshold score required to include an answer span, value ranges from 0 to 1. */\n confidenceThreshold?: number;\n /** Number of Top answers to be considered for span prediction from 1 to 10. */\n top?: number;\n}\n\n/** Represents resolutions for quantities. */\nexport interface QuantityResolution {\n /** The numeric value that the extracted text denotes. */\n value: number;\n}\n\n/** Represents List of Question Answers. */\nexport interface AnswersResult {\n /** Represents Answer Result list. */\n answers?: KnowledgeBaseAnswer[];\n}\n\n/** Represents knowledge base answer. */\nexport interface KnowledgeBaseAnswer {\n /** List of questions associated with the answer. */\n questions?: string[];\n /** Answer text. */\n answer?: string;\n /** Answer confidence score, value ranges from 0 to 1. */\n confidence?: number;\n /** ID of the QnA result. */\n qnaId?: number;\n /** Source of QnA result. */\n source?: string;\n /** Metadata associated with the answer, useful to categorize or filter question answers. */\n metadata?: { [propertyName: string]: string };\n /** Dialog associated with Answer. */\n dialog?: KnowledgeBaseAnswerDialog;\n /** Answer span object of QnA with respect to user's question. */\n shortAnswer?: AnswerSpan;\n}\n\n/** Dialog associated with Answer. */\nexport interface KnowledgeBaseAnswerDialog {\n /** To mark if a prompt is relevant only with a previous question or not. If true, do not include this QnA as search result for queries without context; otherwise, if false, ignores context and includes this QnA in search result. */\n isContextOnly?: boolean;\n /** List of prompts associated with the answer. */\n prompts?: KnowledgeBaseAnswerPrompt[];\n}\n\n/** Prompt for an answer. */\nexport interface KnowledgeBaseAnswerPrompt {\n /** Index of the prompt - used in ordering of the prompts. */\n displayOrder?: number;\n /** QnA ID corresponding to the prompt. */\n qnaId?: number;\n /** Text displayed to represent a follow up question prompt. */\n displayText?: string;\n}\n\n/** Answer span object of QnA. */\nexport interface AnswerSpan {\n /** Predicted text of answer span. */\n text?: string;\n /** Predicted score of answer span, value ranges from 0 to 1. */\n confidence?: number;\n /** The answer span offset from the start of answer. */\n offset?: number;\n /** The length of the answer span. */\n length?: number;\n}\n\n/** Base parameters object for a text analysis task. */\nexport interface TaskParameters {\n loggingOptOut?: boolean;\n}\n\nexport interface ConversationPIIItemResult {\n id: string;\n /** The transcript content response generated by the service with all necessary personally identifiable information redacted. */\n redactedContent: RedactedTranscriptContent;\n entities: Entity[];\n}\n\n/** The transcript content response generated by the service with all necessary personally identifiable information redacted. */\nexport interface RedactedTranscriptContent {\n /** The redacted output for inverse text normalized format input. */\n itn?: string;\n /** The redacted output for masked inverse text normalized format input. */\n maskedItn?: string;\n /** The redacted output for text (Microsoft's Speech to Text 'display') format input. */\n text?: string;\n /** The redacted output for lexical format input. */\n lexical?: string;\n /** The list of redacted audio segments. */\n audioTimings?: AudioTiming[];\n}\n\n/** The audio timing information. */\nexport interface AudioTiming {\n /** Offset from start of speech audio, in ticks. 1 tick = 100 ns. */\n offset?: number;\n /** Duration of word articulation, in ticks. 1 tick = 100 ns. */\n duration?: number;\n}\n\nexport interface Entity {\n /** Entity text as appears in the request. */\n text: string;\n /** Entity type. */\n category: string;\n /** (Optional) Entity sub type. */\n subcategory?: string;\n /** Start position for the entity text. Use of different 'stringIndexType' values can affect the offset returned. */\n offset: number;\n /** Length for the entity text. Use of different 'stringIndexType' values can affect the length returned. */\n length: number;\n /** Confidence score between 0 and 1 of the extracted entity. */\n confidenceScore: number;\n}\n\n/** The result from PII detection and redaction operation for each conversation. */\nexport interface ConversationPIIResult {\n /** Enumeration of PII detection and redaction operation results for all the conversation items in a conversation. */\n conversationItems: ConversationPIIItemResult[];\n}\n\n/** Shared attributes for all conversational task results. */\nexport interface ConversationResultBase {\n /** Unique, non-empty conversation identifier. */\n id: string;\n /** Warnings encountered while processing document. */\n warnings: InputWarning[];\n /** If showStats=true was specified in the request this field will contain information about the conversation payload. */\n statistics?: ConversationStatistics;\n}\n\n/** Contains details of warnings encountered during a job execution. */\nexport interface InputWarning {\n /** Warning code. */\n code: string;\n /** Warning message. */\n message: string;\n /** A JSON pointer reference indicating the target object. */\n targetRef?: string;\n}\n\n/** If showStats=true was specified in the request this field will contain information about the conversation payload. */\nexport interface ConversationStatistics {\n /** Number of text units for the request. */\n transactionsCount: number;\n}\n\nexport interface PreBuiltResult {\n /** Errors by document id. */\n errors: InputError[];\n /** if showStats=true was specified in the request this field will contain information about the request payload. */\n statistics?: RequestStatistics;\n /** This field indicates which model is used for scoring. */\n modelVersion: string;\n}\n\n/** Contains details of errors encountered during a job execution. */\nexport interface InputError {\n /** The ID of the input. */\n id: string;\n /** Error encountered. */\n error: ErrorModel;\n}\n\nexport interface ConversationsSummaryResult {\n summaries: ConversationsSummaryResultSummariesItem[];\n}\n\nexport interface SummaryResultItem {\n aspect: string;\n text: string;\n}\n\n/** The input for a custom conversation task. */\nexport interface ConversationalTask extends AnalyzeConversationTask {\n /** Polymorphic discriminator, which specifies the different types this object can be */\n kind: \"Conversation\";\n /** The input ConversationItem and its optional parameters */\n analysisInput: ConversationAnalysisOptions;\n /** Input parameters necessary for a Conversation task. */\n parameters: ConversationTaskParameters;\n}\n\n/** The results of a Conversation task. */\nexport interface ConversationalTaskResult extends AnalyzeConversationTaskResult {\n /** Polymorphic discriminator, which specifies the different types this object can be */\n kind: \"ConversationResult\";\n /** Represents a conversation analysis response. */\n result: AnalyzeConversationResult;\n}\n\nexport interface TextConversation extends Conversation {\n /** Polymorphic discriminator, which specifies the different types this object can be */\n modality: \"text\";\n /** Ordered list of text conversation items in the conversation. */\n conversationItems: TextConversationItem[];\n}\n\nexport interface TranscriptConversation extends Conversation {\n /** Polymorphic discriminator, which specifies the different types this object can be */\n modality: \"transcript\";\n /** Ordered list of transcript conversation items in the conversation. */\n conversationItems: TranscriptConversationItem[];\n}\n\n/** The base class for an long running conversation input task. */\nexport interface AnalyzeConversationLROTask extends TaskIdentifier {\n /** Enumeration of supported analysis tasks on a collection of conversations. */\n kind: AnalyzeConversationLROTaskKind;\n}\n\n/** Container for results for all tasks in the conversation job. */\nexport interface AnalyzeConversationJobResult extends TaskStateAutoGenerated, TaskIdentifier {\n /** Enumeration of supported Conversation Analysis task results. */\n kind: AnalyzeConversationResultsKind;\n}\n\n/** Contains the status of the analyze conversations job submitted along with related statistics. */\nexport interface AnalyzeConversationJobState\n extends JobStateAutoGenerated,\n ConversationTasksState,\n AnalyzeConversationJobStatistics {}\n\n/** if showStats=true was specified in the request this field will contain information about the request payload. */\nexport interface ConversationRequestStatistics extends RequestStatistics {\n /** Number of conversations submitted in the request. */\n conversationsCount: number;\n /** Number of conversations documents. This excludes empty, over-size limit or non-supported languages documents. */\n validConversationsCount: number;\n /** Number of invalid documents. This includes empty, over-size limit or non-supported languages documents. */\n erroneousConversationsCount: number;\n}\n\n/** The text modality of an input conversation. */\nexport interface TextConversationItem extends ConversationItemBase {\n /** The text input */\n text: string;\n}\n\n/** Additional properties for supporting transcript conversation. */\nexport interface TranscriptConversationItem extends ConversationItemBase {\n /** Inverse Text Normalization representation of input. The inverse-text-normalized form is the recognized text from Microsoft’s Speech to Text API, with phone numbers, numbers, abbreviations, and other transformations applied. */\n itn?: string;\n /** The Inverse Text Normalized format with profanity masking applied. */\n maskedItn?: string;\n /** The display form of the recognized text from speech to text API, with punctuation and capitalization added. */\n text?: string;\n /** The lexical form of the recognized text from speech to text API with the actual words recognized. */\n lexical?: string;\n /** The list of word level audio timing information */\n audioTimings?: WordLevelTiming[];\n}\n\n/** This is a set of request parameters for LUIS Generally Available projects. */\nexport interface LuisParameters extends AnalysisParameters {\n /** Polymorphic discriminator, which specifies the different types this object can be */\n targetProjectKind: \"Luis\";\n /** Describes unknown properties. The value of an unknown property can be of \"any\" type. */\n [property: string]: any;\n /** The utterance to predict. */\n query?: string;\n /** This customizes how the service calls LUIS Generally Available projects. */\n callingOptions?: LuisCallingOptions;\n}\n\n/** This is a set of request parameters for Customized Conversation projects. */\nexport interface ConversationParameters extends AnalysisParameters {\n /** Polymorphic discriminator, which specifies the different types this object can be */\n targetProjectKind: \"Conversation\";\n /** The option to set to call a Conversation project. */\n callingOptions?: ConversationCallingOptions;\n}\n\n/** This is a set of request parameters for Question Answering knowledge bases. */\nexport interface QuestionAnsweringParameters extends AnalysisParameters {\n /** Polymorphic discriminator, which specifies the different types this object can be */\n targetProjectKind: \"QuestionAnswering\";\n /** The options sent to a Question Answering KB. */\n callingOptions?: AnswersOptions;\n}\n\n/** Represents the prediction section of a Conversation project. */\nexport interface ConversationPrediction extends BasePrediction {\n /** Polymorphic discriminator, which specifies the different types this object can be */\n projectKind: \"Conversation\";\n /** The intent classification results. */\n intents: ConversationIntent[];\n /** The entity extraction results. */\n entities: ConversationEntity[];\n}\n\n/** This represents the prediction result of an Orchestration project. */\nexport interface OrchestrationPrediction extends BasePrediction {\n /** Polymorphic discriminator, which specifies the different types this object can be */\n projectKind: \"Orchestration\";\n /** A dictionary that contains all intents. A key is an intent name and a value is its confidence score and target type. The top intent's value also contains the actual response from the target project. */\n intents: { [propertyName: string]: TargetIntentResultUnion };\n}\n\n/** Represents the Age entity resolution model. */\nexport interface AgeResolution extends BaseResolution, QuantityResolution {\n /** Polymorphic discriminator, which specifies the different types this object can be */\n resolutionKind: \"Age\";\n /** The Age Unit of measurement */\n unit: AgeUnit;\n}\n\n/** Represents the volume entity resolution model. */\nexport interface VolumeResolution extends BaseResolution, QuantityResolution {\n /** Polymorphic discriminator, which specifies the different types this object can be */\n resolutionKind: \"Volume\";\n /** The Volume Unit of measurement */\n unit: VolumeUnit;\n}\n\n/** Represents the speed entity resolution model. */\nexport interface SpeedResolution extends BaseResolution, QuantityResolution {\n /** Polymorphic discriminator, which specifies the different types this object can be */\n resolutionKind: \"Speed\";\n /** The speed Unit of measurement */\n unit: SpeedUnit;\n}\n\n/** Represents the area entity resolution model. */\nexport interface AreaResolution extends BaseResolution, QuantityResolution {\n /** Polymorphic discriminator, which specifies the different types this object can be */\n resolutionKind: \"Area\";\n /** The area Unit of measurement */\n unit: AreaUnit;\n}\n\n/** Represents the length entity resolution model. */\nexport interface LengthResolution extends BaseResolution, QuantityResolution {\n /** Polymorphic discriminator, which specifies the different types this object can be */\n resolutionKind: \"Length\";\n /** The length Unit of measurement */\n unit: LengthUnit;\n}\n\n/** Represents the information (data) entity resolution model. */\nexport interface InformationResolution extends BaseResolution, QuantityResolution {\n /** Polymorphic discriminator, which specifies the different types this object can be */\n resolutionKind: \"Information\";\n /** The information (data) Unit of measurement. */\n unit: InformationUnit;\n}\n\n/** Represents the temperature entity resolution model. */\nexport interface TemperatureResolution extends BaseResolution, QuantityResolution {\n /** Polymorphic discriminator, which specifies the different types this object can be */\n resolutionKind: \"Temperature\";\n /** The temperature Unit of measurement. */\n unit: TemperatureUnit;\n}\n\n/** Represents the weight entity resolution model. */\nexport interface WeightResolution extends BaseResolution, QuantityResolution {\n /** Polymorphic discriminator, which specifies the different types this object can be */\n resolutionKind: \"Weight\";\n /** The weight Unit of measurement. */\n unit: WeightUnit;\n}\n\n/** Represents the currency entity resolution model. */\nexport interface CurrencyResolution extends BaseResolution, QuantityResolution {\n /** Polymorphic discriminator, which specifies the different types this object can be */\n resolutionKind: \"Currency\";\n /** The alphabetic code based on another ISO standard, ISO 3166, which lists the codes for country names. The first two letters of the ISO 4217 three-letter code are the same as the code for the country name, and, where possible, the third letter corresponds to the first letter of the currency name. */\n iso4217?: string;\n /** The unit of the amount captured in the extracted entity */\n unit: string;\n}\n\n/** A resolution for boolean expressions */\nexport interface BooleanResolution extends BaseResolution {\n /** Polymorphic discriminator, which specifies the different types this object can be */\n resolutionKind: \"Boolean\";\n value: boolean;\n}\n\n/** A resolution for datetime entity instances. */\nexport interface DateTimeResolution extends BaseResolution {\n /** Polymorphic discriminator, which specifies the different types this object can be */\n resolutionKind: \"DateTime\";\n /** An extended ISO 8601 date/time representation as described in (https://github.com/Microsoft/Recognizers-Text/blob/master/Patterns/English/English-DateTime.yaml) */\n timex: string;\n /** The DateTime SubKind */\n dateTimeSubKind: DateTimeSubKind;\n /** The actual time that the extracted text denote. */\n value: string;\n /** An optional modifier of a date/time instance. */\n modifier?: TemporalModifier;\n}\n\n/** A resolution for numeric entity instances. */\nexport interface NumberResolution extends BaseResolution {\n /** Polymorphic discriminator, which specifies the different types this object can be */\n resolutionKind: \"Number\";\n /** The type of the extracted number entity. */\n numberKind: NumberKind;\n /** A numeric representation of what the extracted text denotes. */\n value: string;\n}\n\n/** A resolution for ordinal numbers entity instances. */\nexport interface OrdinalResolution extends BaseResolution {\n /** Polymorphic discriminator, which specifies the different types this object can be */\n resolutionKind: \"Ordinal\";\n /** The offset With respect to the reference (e.g., offset = -1 in \"show me the second to last\" */\n offset: string;\n /** The reference point that the ordinal number denotes. */\n relativeTo: RelativeTo;\n /** A simple arithmetic expression that the ordinal denotes. */\n value: string;\n}\n\n/** represents the resolution of a date and/or time span. */\nexport interface TemporalSpanResolution extends BaseResolution {\n /** Polymorphic discriminator, which specifies the different types this object can be */\n resolutionKind: \"TemporalSpan\";\n /** An extended ISO 8601 date/time representation as described in (https://github.com/Microsoft/Recognizers-Text/blob/master/Patterns/English/English-DateTime.yaml) */\n begin?: string;\n /** An extended ISO 8601 date/time representation as described in (https://github.com/Microsoft/Recognizers-Text/blob/master/Patterns/English/English-DateTime.yaml) */\n end?: string;\n /** An optional duration value formatted based on the ISO 8601 (https://en.wikipedia.org/wiki/ISO_8601#Durations) */\n duration?: string;\n /** An optional modifier of a date/time instance. */\n modifier?: TemporalModifier;\n}\n\n/** represents the resolution of numeric intervals. */\nexport interface NumericRangeResolution extends BaseResolution {\n /** Polymorphic discriminator, which specifies the different types this object can be */\n resolutionKind: \"NumericRange\";\n /** The kind of range that the resolution object represents. */\n rangeKind: RangeKind;\n /** The beginning value of the interval. */\n minimum: number;\n /** The ending value of the interval. */\n maximum: number;\n}\n\n/** The concrete entity Subtype model of extra information. */\nexport interface EntitySubtype extends BaseExtraInformation {\n /** Polymorphic discriminator, which specifies the different types this object can be */\n extraInformationKind: \"EntitySubtype\";\n /** The Subtype of an extracted entity type. */\n value?: string;\n}\n\n/** The list key extra data kind. */\nexport interface ListKey extends BaseExtraInformation {\n /** Polymorphic discriminator, which specifies the different types this object can be */\n extraInformationKind: \"ListKey\";\n /** The canonical form of the extracted entity. */\n key?: string;\n}\n\n/** A wrap up of non-linked intent response. */\nexport interface NoneLinkedTargetIntentResult extends TargetIntentResult {\n /** Polymorphic discriminator, which specifies the different types this object can be */\n targetProjectKind: \"NonLinked\";\n /** The actual response from a Conversation project. */\n result?: ConversationResult;\n}\n\n/** A wrap up of Conversation project response. */\nexport interface ConversationTargetIntentResult extends TargetIntentResult {\n /** Polymorphic discriminator, which specifies the different types this object can be */\n targetProjectKind: \"Conversation\";\n /** The actual response from a Conversation project. */\n result?: ConversationResult;\n}\n\n/** It is a wrap up of LUIS Generally Available response. */\nexport interface LuisTargetIntentResult extends TargetIntentResult {\n /** Polymorphic discriminator, which specifies the different types this object can be */\n targetProjectKind: \"Luis\";\n /** The actual response from a LUIS Generally Available application. */\n result?: Record<string, ConversationPrediction>;\n}\n\n/** It is a wrap up a Question Answering KB response. */\nexport interface QuestionAnsweringTargetIntentResult extends TargetIntentResult {\n /** Polymorphic discriminator, which specifies the different types this object can be */\n targetProjectKind: \"QuestionAnswering\";\n /** The generated answer by a Question Answering KB. */\n result?: AnswersResult;\n}\n\n/** Parameters object for a text analysis task using pre-built models. */\nexport interface PreBuiltTaskParameters extends TaskParameters {\n modelVersion?: string;\n}\n\n/** Word level timing information generated by the speech to text API. The words in this object should have 1:1 correspondence with the 'lexical' input to allow for audio redaction. */\nexport interface WordLevelTiming extends AudioTiming {\n /** The word recognized. */\n word?: string;\n}\n\nexport interface ConversationPIIResultsConversationsItem\n extends ConversationPIIResult,\n ConversationResultBase {}\n\nexport interface SummaryResultConversationsItem\n extends ConversationsSummaryResult,\n ConversationResultBase {}\n\n/** The result from PII detection and redaction operation for each conversation. */\nexport interface ConversationPIIResults extends PreBuiltResult {\n conversations: ConversationPIIResultsConversationsItem[];\n}\n\nexport interface SummaryResult extends PreBuiltResult {\n conversations: SummaryResultConversationsItem[];\n}\n\nexport interface ConversationsSummaryResultSummariesItem extends SummaryResultItem {}\n\n/** Task definition for a PII redaction in conversations. */\nexport interface AnalyzeConversationPIITask extends AnalyzeConversationLROTask {\n /** Supported parameters for a Conversational PII detection and redaction task. */\n parameters?: ConversationPIITaskParameters;\n}\n\n/** Task definition for conversational summarization. */\nexport interface AnalyzeConversationSummarizationTask extends AnalyzeConversationLROTask {\n /** Supported parameters for an conversational summarization task. */\n parameters?: ConversationSummarizationTaskParameters;\n}\n\n/** Result from the personally identifiable information detection and redaction operation performed on a list of conversations. */\nexport interface AnalyzeConversationPIIResult extends AnalyzeConversationJobResult {\n /** The result from PII detection and redaction operation for each conversation. */\n kind: \"conversationalPIIResults\";\n results: ConversationPIIResults;\n}\n\n/** Result for the summarization task on the conversation. */\nexport interface AnalyzeConversationSummarizationResult extends AnalyzeConversationJobResult {\n kind: \"conversationalSummarizationResults\";\n results: SummaryResult;\n}\n\n/** Supported parameters for a Conversational PII detection and redaction task. */\nexport interface ConversationPIITaskParameters extends PreBuiltTaskParameters {\n /** Describes the PII categories to return for detection. If not provided, 'default' categories will be returned which will vary with the language. */\n piiCategories?: ConversationPIICategory[];\n /** Flag to indicate if audio redaction is requested. By default audio redaction will not be performed. */\n includeAudioRedaction?: boolean;\n /** For transcript conversations, this parameter provides information regarding which content type (ITN, Text, Lexical, Masked ITN) should be used for entity detection. The details of the entities detected - like the offset, length and the text itself - will correspond to the text type selected here. */\n redactionSource?: TranscriptContentType;\n}\n\n/** Supported parameters for an conversational summarization task. */\nexport interface ConversationSummarizationTaskParameters extends PreBuiltTaskParameters {\n summaryAspects: SummaryAspect[];\n}\n\n/** Defines headers for ConversationAnalysisClient_analyzeConversation operation. */\nexport interface ConversationAnalysisClientAnalyzeConversationExceptionHeaders {\n /** The error code for specific error that occurred. */\n xMsErrorCode?: string;\n}\n\n/** Defines headers for ConversationAnalysisClient_conversationAnalysis operation. */\nexport interface ConversationAnalysisClientConversationAnalysisHeaders {\n operationLocation?: string;\n}\n\n/** Known values of {@link AnalyzeConversationTaskKind} that the service accepts. */\nexport enum KnownAnalyzeConversationTaskKind {\n /** Conversation */\n Conversation = \"Conversation\",\n}\n\n/**\n * Defines values for AnalyzeConversationTaskKind.\n * {@link KnownAnalyzeConversationTaskKind} can be used interchangeably with AnalyzeConversationTaskKind,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **Conversation**\n */\nexport type AnalyzeConversationTaskKind = string;\n\n/** Known values of {@link AnalyzeConversationTaskResultsKind} that the service accepts. */\nexport enum KnownAnalyzeConversationTaskResultsKind {\n /** ConversationResult */\n ConversationResult = \"ConversationResult\",\n}\n\n/**\n * Defines values for AnalyzeConversationTaskResultsKind.\n * {@link KnownAnalyzeConversationTaskResultsKind} can be used interchangeably with AnalyzeConversationTaskResultsKind,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **ConversationResult**\n */\nexport type AnalyzeConversationTaskResultsKind = string;\n\n/** Known values of {@link ErrorCode} that the service accepts. */\nexport enum KnownErrorCode {\n /** InvalidRequest */\n InvalidRequest = \"InvalidRequest\",\n /** InvalidArgument */\n InvalidArgument = \"InvalidArgument\",\n /** Unauthorized */\n Unauthorized = \"Unauthorized\",\n /** Forbidden */\n Forbidden = \"Forbidden\",\n /** NotFound */\n NotFound = \"NotFound\",\n /** ProjectNotFound */\n ProjectNotFound = \"ProjectNotFound\",\n /** OperationNotFound */\n OperationNotFound = \"OperationNotFound\",\n /** AzureCognitiveSearchNotFound */\n AzureCognitiveSearchNotFound = \"AzureCognitiveSearchNotFound\",\n /** AzureCognitiveSearchIndexNotFound */\n AzureCognitiveSearchIndexNotFound = \"AzureCognitiveSearchIndexNotFound\",\n /** TooManyRequests */\n TooManyRequests = \"TooManyRequests\",\n /** AzureCognitiveSearchThrottling */\n AzureCognitiveSearchThrottling = \"AzureCognitiveSearchThrottling\",\n /** AzureCognitiveSearchIndexLimitReached */\n AzureCognitiveSearchIndexLimitReached = \"AzureCognitiveSearchIndexLimitReached\",\n /** InternalServerError */\n InternalServerError = \"InternalServerError\",\n /** ServiceUnavailable */\n ServiceUnavailable = \"ServiceUnavailable\",\n /** Timeout */\n Timeout = \"Timeout\",\n /** QuotaExceeded */\n QuotaExceeded = \"QuotaExceeded\",\n /** Conflict */\n Conflict = \"Conflict\",\n /** Warning */\n Warning = \"Warning\",\n}\n\n/**\n * Defines values for ErrorCode.\n * {@link KnownErrorCode} can be used interchangeably with ErrorCode,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **InvalidRequest**\n * **InvalidArgument**\n * **Unauthorized**\n * **Forbidden**\n * **NotFound**\n * **ProjectNotFound**\n * **OperationNotFound**\n * **AzureCognitiveSearchNotFound**\n * **AzureCognitiveSearchIndexNotFound**\n * **TooManyRequests**\n * **AzureCognitiveSearchThrottling**\n * **AzureCognitiveSearchIndexLimitReached**\n * **InternalServerError**\n * **ServiceUnavailable**\n * **Timeout**\n * **QuotaExceeded**\n * **Conflict**\n * **Warning**\n */\nexport type ErrorCode = string;\n\n/** Known values of {@link InnerErrorCode} that the service accepts. */\nexport enum KnownInnerErrorCode {\n /** InvalidRequest */\n InvalidRequest = \"InvalidRequest\",\n /** InvalidParameterValue */\n InvalidParameterValue = \"InvalidParameterValue\",\n /** KnowledgeBaseNotFound */\n KnowledgeBaseNotFound = \"KnowledgeBaseNotFound\",\n /** AzureCognitiveSearchNotFound */\n AzureCognitiveSearchNotFound = \"AzureCognitiveSearchNotFound\",\n /** AzureCognitiveSearchThrottling */\n AzureCognitiveSearchThrottling = \"AzureCognitiveSearchThrottling\",\n /** ExtractionFailure */\n ExtractionFailure = \"ExtractionFailure\",\n /** InvalidRequestBodyFormat */\n InvalidRequestBodyFormat = \"InvalidRequestBodyFormat\",\n /** EmptyRequest */\n EmptyRequest = \"EmptyRequest\",\n /** MissingInputDocuments */\n MissingInputDocuments = \"MissingInputDocuments\",\n /** InvalidDocument */\n InvalidDocument = \"InvalidDocument\",\n /** ModelVersionIncorrect */\n ModelVersionIncorrect = \"ModelVersionIncorrect\",\n /** InvalidDocumentBatch */\n InvalidDocumentBatch = \"InvalidDocumentBatch\",\n /** UnsupportedLanguageCode */\n UnsupportedLanguageCode = \"UnsupportedLanguageCode\",\n /** InvalidCountryHint */\n InvalidCountryHint = \"InvalidCountryHint\",\n}\n\n/**\n * Defines values for InnerErrorCode.\n * {@link KnownInnerErrorCode} can be used interchangeably with InnerErrorCode,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **InvalidRequest**\n * **InvalidParameterValue**\n * **KnowledgeBaseNotFound**\n * **AzureCognitiveSearchNotFound**\n * **AzureCognitiveSearchThrottling**\n * **ExtractionFailure**\n * **InvalidRequestBodyFormat**\n * **EmptyRequest**\n * **MissingInputDocuments**\n * **InvalidDocument**\n * **ModelVersionIncorrect**\n * **InvalidDocumentBatch**\n * **UnsupportedLanguageCode**\n * **InvalidCountryHint**\n */\nexport type InnerErrorCode = string;\n\n/** Known values of {@link InputModality} that the service accepts. */\nexport enum KnownInputModality {\n /** Transcript */\n Transcript = \"transcript\",\n /** Text */\n Text = \"text\",\n}\n\n/**\n * Defines values for InputModality.\n * {@link KnownInputModality} can be used interchangeably with InputModality,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **transcript**\n * **text**\n */\nexport type InputModality = string;\n\n/** Known values of {@link ConversationDomain} that the service accepts. */\nexport enum KnownConversationDomain {\n /** Finance */\n Finance = \"finance\",\n /** Healthcare */\n Healthcare = \"healthcare\",\n /** Generic */\n Generic = \"generic\",\n}\n\n/**\n * Defines values for ConversationDomain.\n * {@link KnownConversationDomain} can be used interchangeably with ConversationDomain,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **finance**\n * **healthcare**\n * **generic**\n */\nexport type ConversationDomain = string;\n\n/** Known values of {@link AnalyzeConversationLROTaskKind} that the service accepts. */\nexport enum KnownAnalyzeConversationLROTaskKind {\n /** ConversationalPIITask */\n ConversationalPIITask = \"ConversationalPIITask\",\n /** ConversationalSummarizationTask */\n ConversationalSummarizationTask = \"ConversationalSummarizationTask\",\n}\n\n/**\n * Defines values for AnalyzeConversationLROTaskKind.\n * {@link KnownAnalyzeConversationLROTaskKind} can be used interchangeably with AnalyzeConversationLROTaskKind,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **ConversationalPIITask**\n * **ConversationalSummarizationTask**\n */\nexport type AnalyzeConversationLROTaskKind = string;\n\n/** Known values of {@link JobState} that the service accepts. */\nexport enum KnownJobState {\n /** NotStarted */\n NotStarted = \"notStarted\",\n /** Running */\n Running = \"running\",\n /** Succeeded */\n Succeeded = \"succeeded\",\n /** PartiallyCompleted */\n PartiallyCompleted = \"partiallyCompleted\",\n /** Failed */\n Failed = \"failed\",\n /** Cancelled */\n Cancelled = \"cancelled\",\n /** Cancelling */\n Cancelling = \"cancelling\",\n}\n\n/**\n * Defines values for JobState.\n * {@link KnownJobState} can be used interchangeably with JobState,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **notStarted**\n * **running**\n * **succeeded**\n * **partiallyCompleted**\n * **failed**\n * **cancelled**\n * **cancelling**\n */\nexport type JobState = string;\n\n/** Known values of {@link AnalyzeConversationResultsKind} that the service accepts. */\nexport enum KnownAnalyzeConversationResultsKind {\n /** ConversationalPIIResults */\n ConversationalPIIResults = \"ConversationalPIIResults\",\n /** ConversationalSummarizationResults */\n ConversationalSummarizationResults = \"ConversationalSummarizationResults\",\n}\n\n/**\n * Defines values for AnalyzeConversationResultsKind.\n * {@link KnownAnalyzeConversationResultsKind} can be used interchangeably with AnalyzeConversationResultsKind,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **ConversationalPIIResults**\n * **ConversationalSummarizationResults**\n */\nexport type AnalyzeConversationResultsKind =\n | \"conversationalPIIResults\"\n | \"conversationalSummarizationResults\";\n\n/** Known values of {@link TaskState} that the service accepts. */\nexport enum KnownTaskState {\n /** NotStarted */\n NotStarted = \"notStarted\",\n /** Running */\n Running = \"running\",\n /** Succeeded */\n Succeeded = \"succeeded\",\n /** Failed */\n Failed = \"failed\",\n /** Cancelled */\n Cancelled = \"cancelled\",\n /** Cancelling */\n Cancelling = \"cancelling\",\n}\n\n/**\n * Defines values for TaskState.\n * {@link KnownTaskState} can be used interchangeably with TaskState,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **notStarted**\n * **running**\n * **succeeded**\n * **failed**\n * **cancelled**\n * **cancelling**\n */\nexport type TaskState = string;\n\n/** Known values of {@link Role} that the service accepts. */\nexport enum KnownRole {\n /** Agent */\n Agent = \"agent\",\n /** Customer */\n Customer = \"customer\",\n /** Generic */\n Generic = \"generic\",\n}\n\n/**\n * Defines values for Role.\n * {@link KnownRole} can be used interchangeably with Role,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **agent**\n * **customer**\n * **generic**\n */\nexport type Role = string;\n\n/** Known values of {@link StringIndexType} that the service accepts. */\nexport enum KnownStringIndexType {\n /** Returned offset and length values will correspond to TextElements (Graphemes and Grapheme clusters) confirming to the Unicode 8.0.0 standard. Use this option if your application is written in .Net Framework or .Net Core and you will be using StringInfo. */\n TextElementsV8 = \"TextElements_v8\",\n /** Returned offset and length values will correspond to Unicode code points. Use this option if your application is written in a language that support Unicode, for example Python. */\n UnicodeCodePoint = \"UnicodeCodePoint\",\n /** Returned offset and length values will correspond to UTF-16 code units. Use this option if your application is written in a language that support Unicode, for example Java, JavaScript. */\n Utf16CodeUnit = \"Utf16CodeUnit\",\n}\n\n/**\n * Defines values for StringIndexType.\n * {@link KnownStringIndexType} can be used interchangeably with StringIndexType,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **TextElements_v8**: Returned offset and length values will correspond to TextElements (Graphemes and Grapheme clusters) confirming to the Unicode 8.0.0 standard. Use this option if your application is written in .Net Framework or .Net Core and you will be using StringInfo.\n * **UnicodeCodePoint**: Returned offset and length values will correspond to Unicode code points. Use this option if your application is written in a language that support Unicode, for example Python.\n * **Utf16CodeUnit**: Returned offset and length values will correspond to UTF-16 code units. Use this option if your application is written in a language that support Unicode, for example Java, JavaScript.\n */\nexport type StringIndexType = string;\n\n/** Known values of {@link TargetProjectKind} that the service accepts. */\nexport enum KnownTargetProjectKind {\n /** Luis */\n Luis = \"Luis\",\n /** Conversation */\n Conversation = \"Conversation\",\n /** QuestionAnswering */\n QuestionAnswering = \"QuestionAnswering\",\n /** NonLinked */\n NonLinked = \"NonLinked\",\n}\n\n/**\n * Defines values for TargetProjectKind.\n * {@link KnownTargetProjectKind} can be used interchangeably with TargetProjectKind,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **Luis**\n * **Conversation**\n * **QuestionAnswering**\n * **NonLinked**\n */\nexport type TargetProjectKind = string;\n\n/** Known values of {@link ProjectKind} that the service accepts. */\nexport enum KnownProjectKind {\n /** Conversation */\n Conversation = \"Conversation\",\n /** Orchestration */\n Orchestration = \"Orchestration\",\n}\n\n/**\n * Defines values for ProjectKind.\n * {@link KnownProjectKind} can be used interchangeably with ProjectKind,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **Conversation**\n * **Orchestration**\n */\nexport type ProjectKind = string;\n\n/** Known values of {@link ResolutionKind} that the service accepts. */\nexport enum KnownResolutionKind {\n /** Boolean */\n Boolean = \"Boolean\",\n /** DateTime */\n DateTime = \"DateTime\",\n /** Number */\n Number = \"Number\",\n /** Ordinal */\n Ordinal = \"Ordinal\",\n /** Speed */\n Speed = \"Speed\",\n /** Weight */\n Weight = \"Weight\",\n /** Length */\n Length = \"Length\",\n /** Volume */\n Volume = \"Volume\",\n /** Area */\n Area = \"Area\",\n /** Age */\n Age = \"Age\",\n /** Information */\n Information = \"Information\",\n /** Temperature */\n Temperature = \"Temperature\",\n /** Currency */\n Currency = \"Currency\",\n /** NumericRange */\n NumericRange = \"NumericRange\",\n /** TemporalSpan */\n TemporalSpan = \"TemporalSpan\",\n}\n\n/**\n * Defines values for ResolutionKind.\n * {@link KnownResolutionKind} can be used interchangeably with ResolutionKind,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **Boolean**\n * **DateTime**\n * **Number**\n * **Ordinal**\n * **Speed**\n * **Weight**\n * **Length**\n * **Volume**\n * **Area**\n * **Age**\n * **Information**\n * **Temperature**\n * **Currency**\n * **NumericRange**\n * **TemporalSpan**\n */\nexport type ResolutionKind = string;\n\n/** Known values of {@link ExtraInformationKind} that the service accepts. */\nexport enum KnownExtraInformationKind {\n /** EntitySubtype */\n EntitySubtype = \"EntitySubtype\",\n /** ListKey */\n ListKey = \"ListKey\",\n}\n\n/**\n * Defines values for ExtraInformationKind.\n * {@link KnownExtraInformationKind} can be used interchangeably with ExtraInformationKind,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **EntitySubtype**\n * **ListKey**\n */\nexport type ExtraInformationKind = string;\n\n/** Known values of {@link RankerKind} that the service accepts. */\nexport enum KnownRankerKind {\n /** Question only ranker. */\n QuestionOnly = \"QuestionOnly\",\n /** Default ranker. */\n Default = \"Default\",\n}\n\n/**\n * Defines values for RankerKind.\n * {@link KnownRankerKind} can be used interchangeably with RankerKind,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **QuestionOnly**: Question only ranker.\n * **Default**: Default ranker.\n */\nexport type RankerKind = string;\n\n/** Known values of {@link LogicalOperationKind} that the service accepts. */\nexport enum KnownLogicalOperationKind {\n /** AND */\n AND = \"AND\",\n /** OR */\n OR = \"OR\",\n}\n\n/**\n * Defines values for LogicalOperationKind.\n * {@link KnownLogicalOperationKind} can be used interchangeably with LogicalOperationKind,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **AND**\n * **OR**\n */\nexport type LogicalOperationKind = string;\n\n/** Known values of {@link AgeUnit} that the service accepts. */\nexport enum KnownAgeUnit {\n /** Unspecified */\n Unspecified = \"Unspecified\",\n /** Year */\n Year = \"Year\",\n /** Month */\n Month = \"Month\",\n /** Week */\n Week = \"Week\",\n /** Day */\n Day = \"Day\",\n}\n\n/**\n * Defines values for AgeUnit.\n * {@link KnownAgeUnit} can be used interchangeably with AgeUnit,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **Unspecified**\n * **Year**\n * **Month**\n * **Week**\n * **Day**\n */\nexport type AgeUnit = string;\n\n/** Known values of {@link VolumeUnit} that the service accepts. */\nexport enum KnownVolumeUnit {\n /** Unspecified */\n Unspecified = \"Unspecified\",\n /** CubicMeter */\n CubicMeter = \"CubicMeter\",\n /** CubicCentimeter */\n CubicCentimeter = \"CubicCentimeter\",\n /** CubicMillimeter */\n CubicMillimeter = \"CubicMillimeter\",\n /** Hectoliter */\n Hectoliter = \"Hectoliter\",\n /** Decaliter */\n Decaliter = \"Decaliter\",\n /** Liter */\n Liter = \"Liter\",\n /** Centiliter */\n Centiliter = \"Centiliter\",\n /** Milliliter */\n Milliliter = \"Milliliter\",\n /** CubicYard */\n CubicYard = \"CubicYard\",\n /** CubicInch */\n CubicInch = \"CubicInch\",\n /** CubicFoot */\n CubicFoot = \"CubicFoot\",\n /** CubicMile */\n CubicMile = \"CubicMile\",\n /** FluidOunce */\n FluidOunce = \"FluidOunce\",\n /** Teaspoon */\n Teaspoon = \"Teaspoon\",\n /** Tablespoon */\n Tablespoon = \"Tablespoon\",\n /** Pint */\n Pint = \"Pint\",\n /** Quart */\n Quart = \"Quart\",\n /** Cup */\n Cup = \"Cup\",\n /** Gill */\n Gill = \"Gill\",\n /** Pinch */\n Pinch = \"Pinch\",\n /** FluidDram */\n FluidDram = \"FluidDram\",\n /** Barrel */\n Barrel = \"Barrel\",\n /** Minim */\n Minim = \"Minim\",\n /** Cord */\n Cord = \"Cord\",\n /** Peck */\n Peck = \"Peck\",\n /** Bushel */\n Bushel = \"Bushel\",\n /** Hogshead */\n Hogshead = \"Hogshead\",\n}\n\n/**\n * Defines values for VolumeUnit.\n * {@link KnownVolumeUnit} can be used interchangeably with VolumeUnit,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **Unspecified**\n * **CubicMeter**\n * **CubicCentimeter**\n * **CubicMillimeter**\n * **Hectoliter**\n * **Decaliter**\n * **Liter**\n * **Centiliter**\n * **Milliliter**\n * **CubicYard**\n * **CubicInch**\n * **CubicFoot**\n * **CubicMile**\n * **FluidOunce**\n * **Teaspoon**\n * **Tablespoon**\n * **Pint**\n * **Quart**\n * **Cup**\n * **Gill**\n * **Pinch**\n * **FluidDram**\n * **Barrel**\n * **Minim**\n * **Cord**\n * **Peck**\n * **Bushel**\n * **Hogshead**\n */\nexport type VolumeUnit = string;\n\n/** Known values of {@link SpeedUnit} that the service accepts. */\nexport enum KnownSpeedUnit {\n /** Unspecified */\n Unspecified = \"Unspecified\",\n /** MetersPerSecond */\n MetersPerSecond = \"MetersPerSecond\",\n /** KilometersPerHour */\n KilometersPerHour = \"KilometersPerHour\",\n /** KilometersPerMinute */\n KilometersPerMinute = \"KilometersPerMinute\",\n /** KilometersPerSecond */\n KilometersPerSecond = \"KilometersPerSecond\",\n /** MilesPerHour */\n MilesPerHour = \"MilesPerHour\",\n /** Knot */\n Knot = \"Knot\",\n /** FootPerSecond */\n FootPerSecond = \"FootPerSecond\",\n /** FootPerMinute */\n FootPerMinute = \"FootPerMinute\",\n /** YardsPerMinute */\n YardsPerMinute = \"YardsPerMinute\",\n /** YardsPerSecond */\n YardsPerSecond = \"YardsPerSecond\",\n /** MetersPerMillisecond */\n MetersPerMillisecond = \"MetersPerMillisecond\",\n /** CentimetersPerMillisecond */\n CentimetersPerMillisecond = \"CentimetersPerMillisecond\",\n /** KilometersPerMillisecond */\n KilometersPerMillisecond = \"KilometersPerMillisecond\",\n}\n\n/**\n * Defines values for SpeedUnit.\n * {@link KnownSpeedUnit} can be used interchangeably with SpeedUnit,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **Unspecified**\n * **MetersPerSecond**\n * **KilometersPerHour**\n * **KilometersPerMinute**\n * **KilometersPerSecond**\n * **MilesPerHour**\n * **Knot**\n * **FootPerSecond**\n * **FootPerMinute**\n * **YardsPerMinute**\n * **YardsPerSecond**\n * **MetersPerMillisecond**\n * **CentimetersPerMillisecond**\n * **KilometersPerMillisecond**\n */\nexport type SpeedUnit = string;\n\n/** Known values of {@link AreaUnit} that the service accepts. */\nexport enum KnownAreaUnit {\n /** Unspecified */\n Unspecified = \"Unspecified\",\n /** SquareKilometer */\n SquareKilometer = \"SquareKilometer\",\n /** SquareHectometer */\n SquareHectometer = \"SquareHectometer\",\n /** SquareDecameter */\n SquareDecameter = \"SquareDecameter\",\n /** SquareDecimeter */\n SquareDecimeter = \"SquareDecimeter\",\n /** SquareMeter */\n SquareMeter = \"SquareMeter\",\n /** SquareCentimeter */\n SquareCentimeter = \"SquareCentimeter\",\n /** SquareMillimeter */\n SquareMillimeter = \"SquareMillimeter\",\n /** SquareInch */\n SquareInch = \"SquareInch\",\n /** SquareFoot */\n SquareFoot = \"SquareFoot\",\n /** SquareMile */\n SquareMile = \"SquareMile\",\n /** SquareYard */\n SquareYard = \"SquareYard\",\n /** Acre */\n Acre = \"Acre\",\n}\n\n/**\n * Defines values for AreaUnit.\n * {@link KnownAreaUnit} can be used interchangeably with AreaUnit,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **Unspecified**\n * **SquareKilometer**\n * **SquareHectometer**\n * **SquareDecameter**\n * **SquareDecimeter**\n * **SquareMeter**\n * **SquareCentimeter**\n * **SquareMillimeter**\n * **SquareInch**\n * **SquareFoot**\n * **SquareMile**\n * **SquareYard**\n * **Acre**\n */\nexport type AreaUnit = string;\n\n/** Known values of {@link LengthUnit} that the service accepts. */\nexport enum KnownLengthUnit {\n /** Unspecified */\n Unspecified = \"Unspecified\",\n /** Kilometer */\n Kilometer = \"Kilometer\",\n /** Hectometer */\n Hectometer = \"Hectometer\",\n /** Decameter */\n Decameter = \"Decameter\",\n /** Meter */\n Meter = \"Meter\",\n /** Decimeter */\n Decimeter = \"Decimeter\",\n /** Centimeter */\n Centimeter = \"Centimeter\",\n /** Millimeter */\n Millimeter = \"Millimeter\",\n /** Micrometer */\n Micrometer = \"Micrometer\",\n /** Nanometer */\n Nanometer = \"Nanometer\",\n /** Picometer */\n Picometer = \"Picometer\",\n /** Mile */\n Mile = \"Mile\",\n /** Yard */\n Yard = \"Yard\",\n /** Inch */\n Inch = \"Inch\",\n /** Foot */\n Foot = \"Foot\",\n /** LightYear */\n LightYear = \"LightYear\",\n /** Pt */\n Pt = \"Pt\",\n}\n\n/**\n * Defines values for LengthUnit.\n * {@link KnownLengthUnit} can be used interchangeably with LengthUnit,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **Unspecified**\n * **Kilometer**\n * **Hectometer**\n * **Decameter**\n * **Meter**\n * **Decimeter**\n * **Centimeter**\n * **Millimeter**\n * **Micrometer**\n * **Nanometer**\n * **Picometer**\n * **Mile**\n * **Yard**\n * **Inch**\n * **Foot**\n * **LightYear**\n * **Pt**\n */\nexport type LengthUnit = string;\n\n/** Known values of {@link InformationUnit} that the service accepts. */\nexport enum KnownInformationUnit {\n /** Unspecified */\n Unspecified = \"Unspecified\",\n /** Bit */\n Bit = \"Bit\",\n /** Kilobit */\n Kilobit = \"Kilobit\",\n /** Megabit */\n Megabit = \"Megabit\",\n /** Gigabit */\n Gigabit = \"Gigabit\",\n /** Terabit */\n Terabit = \"Terabit\",\n /** Petabit */\n Petabit = \"Petabit\",\n /** Byte */\n Byte = \"Byte\",\n /** Kilobyte */\n Kilobyte = \"Kilobyte\",\n /** Megabyte */\n Megabyte = \"Megabyte\",\n /** Gigabyte */\n Gigabyte = \"Gigabyte\",\n /** Terabyte */\n Terabyte = \"Terabyte\",\n /** Petabyte */\n Petabyte = \"Petabyte\",\n}\n\n/**\n * Defines values for InformationUnit.\n * {@link KnownInformationUnit} can be used interchangeably with InformationUnit,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **Unspecified**\n * **Bit**\n * **Kilobit**\n * **Megabit**\n * **Gigabit**\n * **Terabit**\n * **Petabit**\n * **Byte**\n * **Kilobyte**\n * **Megabyte**\n * **Gigabyte**\n * **Terabyte**\n * **Petabyte**\n */\nexport type InformationUnit = string;\n\n/** Known values of {@link TemperatureUnit} that the service accepts. */\nexport enum KnownTemperatureUnit {\n /** Unspecified */\n Unspecified = \"Unspecified\",\n /** Fahrenheit */\n Fahrenheit = \"Fahrenheit\",\n /** Kelvin */\n Kelvin = \"Kelvin\",\n /** Rankine */\n Rankine = \"Rankine\",\n /** Celsius */\n Celsius = \"Celsius\",\n}\n\n/**\n * Defines values for TemperatureUnit.\n * {@link KnownTemperatureUnit} can be used interchangeably with TemperatureUnit,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **Unspecified**\n * **Fahrenheit**\n * **Kelvin**\n * **Rankine**\n * **Celsius**\n */\nexport type TemperatureUnit = string;\n\n/** Known values of {@link WeightUnit} that the service accepts. */\nexport enum KnownWeightUnit {\n /** Unspecified */\n Unspecified = \"Unspecified\",\n /** Kilogram */\n Kilogram = \"Kilogram\",\n /** Gram */\n Gram = \"Gram\",\n /** Milligram */\n Milligram = \"Milligram\",\n /** Gallon */\n Gallon = \"Gallon\",\n /** MetricTon */\n MetricTon = \"MetricTon\",\n /** Ton */\n Ton = \"Ton\",\n /** Pound */\n Pound = \"Pound\",\n /** Ounce */\n Ounce = \"Ounce\",\n /** Grain */\n Grain = \"Grain\",\n /** PennyWeight */\n PennyWeight = \"PennyWeight\",\n /** LongTonBritish */\n LongTonBritish = \"LongTonBritish\",\n /** ShortTonUS */\n ShortTonUS = \"ShortTonUS\",\n /** ShortHundredWeightUS */\n ShortHundredWeightUS = \"ShortHundredWeightUS\",\n /** Stone */\n Stone = \"Stone\",\n /** Dram */\n Dram = \"Dram\",\n}\n\n/**\n * Defines values for WeightUnit.\n * {@link KnownWeightUnit} can be used interchangeably with WeightUnit,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **Unspecified**\n * **Kilogram**\n * **Gram**\n * **Milligram**\n * **Gallon**\n * **MetricTon**\n * **Ton**\n * **Pound**\n * **Ounce**\n * **Grain**\n * **PennyWeight**\n * **LongTonBritish**\n * **ShortTonUS**\n * **ShortHundredWeightUS**\n * **Stone**\n * **Dram**\n */\nexport type WeightUnit = string;\n\n/** Known values of {@link DateTimeSubKind} that the service accepts. */\nexport enum KnownDateTimeSubKind {\n /** Time */\n Time = \"Time\",\n /** Date */\n Date = \"Date\",\n /** DateTime */\n DateTime = \"DateTime\",\n /** Duration */\n Duration = \"Duration\",\n /** Set */\n Set = \"Set\",\n}\n\n/**\n * Defines values for DateTimeSubKind.\n * {@link KnownDateTimeSubKind} can be used interchangeably with DateTimeSubKind,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **Time**\n * **Date**\n * **DateTime**\n * **Duration**\n * **Set**\n */\nexport type DateTimeSubKind = string;\n\n/** Known values of {@link TemporalModifier} that the service accepts. */\nexport enum KnownTemporalModifier {\n /** AfterApprox */\n AfterApprox = \"AfterApprox\",\n /** Before */\n Before = \"Before\",\n /** BeforeStart */\n BeforeStart = \"BeforeStart\",\n /** Approx */\n Approx = \"Approx\",\n /** ReferenceUndefined */\n ReferenceUndefined = \"ReferenceUndefined\",\n /** SinceEnd */\n SinceEnd = \"SinceEnd\",\n /** AfterMid */\n AfterMid = \"AfterMid\",\n /** Start */\n Start = \"Start\",\n /** After */\n After = \"After\",\n /** BeforeEnd */\n BeforeEnd = \"BeforeEnd\",\n /** Until */\n Until = \"Until\",\n /** End */\n End = \"End\",\n /** Less */\n Less = \"Less\",\n /** Since */\n Since = \"Since\",\n /** AfterStart */\n AfterStart = \"AfterStart\",\n /** BeforeApprox */\n BeforeApprox = \"BeforeApprox\",\n /** Mid */\n Mid = \"Mid\",\n /** More */\n More = \"More\",\n}\n\n/**\n * Defines values for TemporalModifier.\n * {@link KnownTemporalModifier} can be used interchangeably with TemporalModifier,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **AfterApprox**\n * **Before**\n * **BeforeStart**\n * **Approx**\n * **ReferenceUndefined**\n * **SinceEnd**\n * **AfterMid**\n * **Start**\n * **After**\n * **BeforeEnd**\n * **Until**\n * **End**\n * **Less**\n * **Since**\n * **AfterStart**\n * **BeforeApprox**\n * **Mid**\n * **More**\n */\nexport type TemporalModifier = string;\n\n/** Known values of {@link NumberKind} that the service accepts. */\nexport enum KnownNumberKind {\n /** Integer */\n Integer = \"Integer\",\n /** Decimal */\n Decimal = \"Decimal\",\n /** Power */\n Power = \"Power\",\n /** Fraction */\n Fraction = \"Fraction\",\n /** Percent */\n Percent = \"Percent\",\n /** Unspecified */\n Unspecified = \"Unspecified\",\n}\n\n/**\n * Defines values for NumberKind.\n * {@link KnownNumberKind} can be used interchangeably with NumberKind,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **Integer**\n * **Decimal**\n * **Power**\n * **Fraction**\n * **Percent**\n * **Unspecified**\n */\nexport type NumberKind = string;\n\n/** Known values of {@link RelativeTo} that the service accepts. */\nexport enum KnownRelativeTo {\n /** Current */\n Current = \"Current\",\n /** End */\n End = \"End\",\n /** Start */\n Start = \"Start\",\n}\n\n/**\n * Defines values for RelativeTo.\n * {@link KnownRelativeTo} can be used interchangeably with RelativeTo,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **Current**\n * **End**\n * **Start**\n */\nexport type RelativeTo = string;\n\n/** Known values of {@link RangeKind} that the service accepts. */\nexport enum KnownRangeKind {\n /** Number */\n Number = \"Number\",\n /** Speed */\n Speed = \"Speed\",\n /** Weight */\n Weight = \"Weight\",\n /** Length */\n Length = \"Length\",\n /** Volume */\n Volume = \"Volume\",\n /** Area */\n Area = \"Area\",\n /** Age */\n Age = \"Age\",\n /** Information */\n Information = \"Information\",\n /** Temperature */\n Temperature = \"Temperature\",\n /** Currency */\n Currency = \"Currency\",\n}\n\n/**\n * Defines values for RangeKind.\n * {@link KnownRangeKind} can be used interchangeably with RangeKind,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **Number**\n * **Speed**\n * **Weight**\n * **Length**\n * **Volume**\n * **Area**\n * **Age**\n * **Information**\n * **Temperature**\n * **Currency**\n */\nexport type RangeKind = string;\n\n/** Known values of {@link ConversationPIICategory} that the service accepts. */\nexport enum KnownConversationPIICategory {\n /** Address */\n Address = \"Address\",\n /** CreditCard */\n CreditCard = \"CreditCard\",\n /** Email */\n Email = \"Email\",\n /** Name */\n Name = \"Name\",\n /** NumericIdentifier */\n NumericIdentifier = \"NumericIdentifier\",\n /** PhoneNumber */\n PhoneNumber = \"PhoneNumber\",\n /** All */\n All = \"All\",\n /** Default */\n Default = \"Default\",\n}\n\n/**\n * Defines values for ConversationPIICategory.\n * {@link KnownConversationPIICategory} can be used interchangeably with ConversationPIICategory,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **Address**\n * **CreditCard**\n * **Email**\n * **Name**\n * **NumericIdentifier**\n * **PhoneNumber**\n * **All**\n * **Default**\n */\nexport type ConversationPIICategory = string;\n\n/** Known values of {@link TranscriptContentType} that the service accepts. */\nexport enum KnownTranscriptContentType {\n /** Lexical */\n Lexical = \"lexical\",\n /** Itn */\n Itn = \"itn\",\n /** MaskedItn */\n MaskedItn = \"maskedItn\",\n /** Text */\n Text = \"text\",\n}\n\n/**\n * Defines values for TranscriptContentType.\n * {@link KnownTranscriptContentType} can be used interchangeably with TranscriptContentType,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **lexical**\n * **itn**\n * **maskedItn**\n * **text**\n */\nexport type TranscriptContentType = string;\n\n/** Known values of {@link SummaryAspect} that the service accepts. */\nexport enum KnownSummaryAspect {\n /** Issue */\n Issue = \"issue\",\n /** Resolution */\n Resolution = \"resolution\",\n}\n\n/**\n * Defines values for SummaryAspect.\n * {@link KnownSummaryAspect} can be used interchangeably with SummaryAspect,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **issue**\n * **resolution**\n */\nexport type SummaryAspect = string;\n\n/** Optional parameters. */\nexport interface AnalyzeConversationOptionalParams extends coreClient.OperationOptions {}\n\n/** Contains response data for the analyzeConversation operation. */\nexport type AnalyzeConversationResponse = AnalyzeConversationTaskResultUnion;\n\n/** Optional parameters. */\nexport interface ConversationAnalysisOptionalParams extends coreClient.OperationOptions {\n /** Delay to wait until next poll, in milliseconds. */\n updateIntervalInMs?: number;\n /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */\n resumeFrom?: string;\n}\n\n/** Contains response data for the conversationAnalysis operation. */\nexport type ConversationAnalysisResponse = AnalyzeConversationJobState;\n\n/** Optional parameters. */\nexport interface ConversationAnalysisClientOptionalParams extends coreClient.ServiceClientOptions {\n /** Api Version */\n apiVersion?: string;\n /** Overrides client endpoint. */\n endpoint?: string;\n}\n"]}
@@ -0,0 +1,3 @@
1
+ {
2
+ "type": "commonjs"
3
+ }
@@ -1,11 +1,11 @@
1
- // This file is read by tools that parse documentation comments conforming to the TSDoc standard.
2
- // It should be published with your NPM package. It should not be tracked by Git.
3
- {
4
- "tsdocVersion": "0.12",
5
- "toolPackages": [
6
- {
7
- "packageName": "@microsoft/api-extractor",
8
- "packageVersion": "7.18.11"
9
- }
10
- ]
11
- }
1
+ // This file is read by tools that parse documentation comments conforming to the TSDoc standard.
2
+ // It should be published with your NPM package. It should not be tracked by Git.
3
+ {
4
+ "tsdocVersion": "0.12",
5
+ "toolPackages": [
6
+ {
7
+ "packageName": "@microsoft/api-extractor",
8
+ "packageVersion": "7.52.10"
9
+ }
10
+ ]
11
+ }
@@ -0,0 +1,9 @@
1
+ import type { PipelinePolicy } from "@azure/core-rest-pipeline";
2
+ import type { KeyCredential } from "@azure/core-auth";
3
+ /**
4
+ * Create an HTTP pipeline policy to authenticate a request
5
+ * using an `AzureKeyCredential` for Conversation Analysis
6
+ * @internal
7
+ */
8
+ export declare function conversationAnalysisAzureKeyCredentialPolicy(credential: KeyCredential): PipelinePolicy;
9
+ //# sourceMappingURL=azureKeyCredentialPolicy.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"azureKeyCredentialPolicy.d.ts","sourceRoot":"","sources":["../../src/azureKeyCredentialPolicy.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EACV,cAAc,EAIf,MAAM,2BAA2B,CAAC;AACnC,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAUtD;;;;GAIG;AACH,wBAAgB,4CAA4C,CAC1D,UAAU,EAAE,aAAa,GACxB,cAAc,CAQhB"}
@@ -0,0 +1,22 @@
1
+ // Copyright (c) Microsoft Corporation.
2
+ // Licensed under the MIT License.
3
+ const API_KEY_HEADER_NAME = "Ocp-Apim-Subscription-Key";
4
+ /**
5
+ * The programmatic identifier of the conversationAnalysisAzureKeyCredentialPolicy.
6
+ */
7
+ const conversationAnalysisAzureKeyCredentialPolicyName = "conversationAnalysisAzureKeyCredentialPolicy";
8
+ /**
9
+ * Create an HTTP pipeline policy to authenticate a request
10
+ * using an `AzureKeyCredential` for Conversation Analysis
11
+ * @internal
12
+ */
13
+ export function conversationAnalysisAzureKeyCredentialPolicy(credential) {
14
+ return {
15
+ name: conversationAnalysisAzureKeyCredentialPolicyName,
16
+ sendRequest(request, next) {
17
+ request.headers.set(API_KEY_HEADER_NAME, credential.key);
18
+ return next(request);
19
+ },
20
+ };
21
+ }
22
+ //# sourceMappingURL=azureKeyCredentialPolicy.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"azureKeyCredentialPolicy.js","sourceRoot":"","sources":["../../src/azureKeyCredentialPolicy.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAUlC,MAAM,mBAAmB,GAAG,2BAA2B,CAAC;AAExD;;GAEG;AACH,MAAM,gDAAgD,GACpD,8CAA8C,CAAC;AAEjD;;;;GAIG;AACH,MAAM,UAAU,4CAA4C,CAC1D,UAAyB;IAEzB,OAAO;QACL,IAAI,EAAE,gDAAgD;QACtD,WAAW,CAAC,OAAwB,EAAE,IAAiB;YACrD,OAAO,CAAC,OAAO,CAAC,GAAG,CAAC,mBAAmB,EAAE,UAAU,CAAC,GAAG,CAAC,CAAC;YACzD,OAAO,IAAI,CAAC,OAAO,CAAC,CAAC;QACvB,CAAC;KACF,CAAC;AACJ,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport type {\n PipelinePolicy,\n PipelineRequest,\n PipelineResponse,\n SendRequest,\n} from \"@azure/core-rest-pipeline\";\nimport type { KeyCredential } from \"@azure/core-auth\";\n\nconst API_KEY_HEADER_NAME = \"Ocp-Apim-Subscription-Key\";\n\n/**\n * The programmatic identifier of the conversationAnalysisAzureKeyCredentialPolicy.\n */\nconst conversationAnalysisAzureKeyCredentialPolicyName =\n \"conversationAnalysisAzureKeyCredentialPolicy\";\n\n/**\n * Create an HTTP pipeline policy to authenticate a request\n * using an `AzureKeyCredential` for Conversation Analysis\n * @internal\n */\nexport function conversationAnalysisAzureKeyCredentialPolicy(\n credential: KeyCredential,\n): PipelinePolicy {\n return {\n name: conversationAnalysisAzureKeyCredentialPolicyName,\n sendRequest(request: PipelineRequest, next: SendRequest): Promise<PipelineResponse> {\n request.headers.set(API_KEY_HEADER_NAME, credential.key);\n return next(request);\n },\n };\n}\n"]}
@@ -0,0 +1,3 @@
1
+ export declare const DEFAULT_COGNITIVE_SCOPE = "https://cognitiveservices.azure.com/.default";
2
+ export declare const SDK_VERSION = "1.0.0-beta.1";
3
+ //# sourceMappingURL=constants.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../src/constants.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,uBAAuB,iDAAiD,CAAC;AACtF,eAAO,MAAM,WAAW,iBAAiB,CAAC"}
@@ -0,0 +1,5 @@
1
+ // Copyright (c) Microsoft Corporation.
2
+ // Licensed under the MIT License.
3
+ export const DEFAULT_COGNITIVE_SCOPE = "https://cognitiveservices.azure.com/.default";
4
+ export const SDK_VERSION = "1.0.0-beta.1";
5
+ //# sourceMappingURL=constants.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"constants.js","sourceRoot":"","sources":["../../src/constants.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAElC,MAAM,CAAC,MAAM,uBAAuB,GAAG,8CAA8C,CAAC;AACtF,MAAM,CAAC,MAAM,WAAW,GAAG,cAAc,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nexport const DEFAULT_COGNITIVE_SCOPE = \"https://cognitiveservices.azure.com/.default\";\nexport const SDK_VERSION = \"1.0.0-beta.1\";\n"]}
@@ -0,0 +1,63 @@
1
+ import type { AnalyzeConversationJobsInput, AnalyzeConversationOptionalParams, AnalyzeConversationResponse, AnalyzeConversationTaskUnion, ConversationAnalysisClientOptionalParams, ConversationAnalysisOptionalParams, ConversationAnalysisResponse } from "./models.js";
2
+ import type { KeyCredential, TokenCredential } from "@azure/core-auth";
3
+ import type { PollOperationState, PollerLike } from "@azure/core-lro";
4
+ /**
5
+ * A client for interacting with the conversational language understanding
6
+ * features in Azure Cognitive Language Service.
7
+ *
8
+ * The client needs the endpoint of a Language resource and an authentication
9
+ * method such as an API key or AAD. The API key and endpoint can be found in
10
+ * the Language resource page in the Azure portal. They will be located in the
11
+ * resource's Keys and Endpoint page, under Resource Management.
12
+ *
13
+ * ### Examples for authentication:
14
+ *
15
+ * #### API Key
16
+ *
17
+ * ```ts snippet:ReadmeSampleCreateClient_Key
18
+ * import { AzureKeyCredential } from "@azure/core-auth";
19
+ * import { ConversationAnalysisClient } from "@azure/ai-language-conversations";
20
+ *
21
+ * const endpoint = "https://<resource name>.cognitiveservices.azure.com";
22
+ * const credential = new AzureKeyCredential("<api key>");
23
+ * const client = new ConversationAnalysisClient(endpoint, credential);
24
+ * ```
25
+ *
26
+ * #### Azure Active Directory
27
+ *
28
+ * See the [`@azure/identity`](https://npmjs.com/package/\@azure/identity)
29
+ * package for more information about authenticating with Azure Active Directory.
30
+ *
31
+ * ```ts snippet:ReadmeSampleCreateClient_ActiveDirectory
32
+ * import { DefaultAzureCredential } from "@azure/identity";
33
+ * import { ConversationAnalysisClient } from "@azure/ai-language-conversations";
34
+ *
35
+ * const endpoint = "https://<resource name>.cognitiveservices.azure.com";
36
+ * const credential = new DefaultAzureCredential();
37
+ * const client = new ConversationAnalysisClient(endpoint, credential);
38
+ * ```
39
+ */
40
+ export declare class ConversationAnalysisClient {
41
+ private readonly _client;
42
+ private readonly _tracing;
43
+ /**
44
+ * Initializes a new instance of the ConversationAnalysisClient class.
45
+ * @param endpoint - Supported Cognitive Services endpoint (e.g.,
46
+ * https://<resource-name>.api.cognitiveservices.azure.com).
47
+ * @param options - The parameter options
48
+ */
49
+ constructor(endpoint: string, credential: TokenCredential | KeyCredential, options?: ConversationAnalysisClientOptionalParams);
50
+ /**
51
+ * Analyzes the input conversation utterance.
52
+ * @param task - A single conversational task to execute.
53
+ * @param options - The options parameters.
54
+ */
55
+ analyzeConversation(task: AnalyzeConversationTaskUnion, options?: AnalyzeConversationOptionalParams): Promise<AnalyzeConversationResponse>;
56
+ /**
57
+ * Submit a collection of conversations for analysis. Specify one or more unique tasks to be executed.
58
+ * @param task - The collection of conversations to analyze and one or more tasks to execute.
59
+ * @param options - The options parameters.
60
+ */
61
+ beginConversationAnalysis(task: AnalyzeConversationJobsInput, options?: ConversationAnalysisOptionalParams): Promise<PollerLike<PollOperationState<ConversationAnalysisResponse>, ConversationAnalysisResponse>>;
62
+ }
63
+ //# sourceMappingURL=conversationAnalysisClient.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"conversationAnalysisClient.d.ts","sourceRoot":"","sources":["../../src/conversationAnalysisClient.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EACV,4BAA4B,EAC5B,iCAAiC,EACjC,2BAA2B,EAC3B,4BAA4B,EAC5B,wCAAwC,EACxC,kCAAkC,EAClC,4BAA4B,EAC7B,MAAM,aAAa,CAAC;AAErB,OAAO,KAAK,EAAE,aAAa,EAAE,eAAe,EAAE,MAAM,kBAAkB,CAAC;AAEvE,OAAO,KAAK,EAAE,kBAAkB,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAOtE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAmCG;AACH,qBAAa,0BAA0B;IACrC,OAAO,CAAC,QAAQ,CAAC,OAAO,CAAkB;IAC1C,OAAO,CAAC,QAAQ,CAAC,QAAQ,CAAgB;IAEzC;;;;;OAKG;gBAED,QAAQ,EAAE,MAAM,EAChB,UAAU,EAAE,eAAe,GAAG,aAAa,EAC3C,OAAO,GAAE,wCAA6C;IAiBxD;;;;OAIG;IACH,mBAAmB,CACjB,IAAI,EAAE,4BAA4B,EAClC,OAAO,CAAC,EAAE,iCAAiC,GAC1C,OAAO,CAAC,2BAA2B,CAAC;IAYvC;;;;OAIG;IACG,yBAAyB,CAC7B,IAAI,EAAE,4BAA4B,EAClC,OAAO,CAAC,EAAE,kCAAkC,GAC3C,OAAO,CACR,UAAU,CAAC,kBAAkB,CAAC,4BAA4B,CAAC,EAAE,4BAA4B,CAAC,CAC3F;CAUF"}
@@ -0,0 +1,81 @@
1
+ import { DEFAULT_COGNITIVE_SCOPE, SDK_VERSION } from "./constants.js";
2
+ import { isTokenCredential } from "@azure/core-auth";
3
+ import { createTracingClient } from "@azure/core-tracing";
4
+ import { ConversationAnalysisClient as GeneratedClient } from "./generated/index.js";
5
+ import { bearerTokenAuthenticationPolicy } from "@azure/core-rest-pipeline";
6
+ import { conversationAnalysisAzureKeyCredentialPolicy } from "./azureKeyCredentialPolicy.js";
7
+ /**
8
+ * A client for interacting with the conversational language understanding
9
+ * features in Azure Cognitive Language Service.
10
+ *
11
+ * The client needs the endpoint of a Language resource and an authentication
12
+ * method such as an API key or AAD. The API key and endpoint can be found in
13
+ * the Language resource page in the Azure portal. They will be located in the
14
+ * resource's Keys and Endpoint page, under Resource Management.
15
+ *
16
+ * ### Examples for authentication:
17
+ *
18
+ * #### API Key
19
+ *
20
+ * ```ts snippet:ReadmeSampleCreateClient_Key
21
+ * import { AzureKeyCredential } from "@azure/core-auth";
22
+ * import { ConversationAnalysisClient } from "@azure/ai-language-conversations";
23
+ *
24
+ * const endpoint = "https://<resource name>.cognitiveservices.azure.com";
25
+ * const credential = new AzureKeyCredential("<api key>");
26
+ * const client = new ConversationAnalysisClient(endpoint, credential);
27
+ * ```
28
+ *
29
+ * #### Azure Active Directory
30
+ *
31
+ * See the [`@azure/identity`](https://npmjs.com/package/\@azure/identity)
32
+ * package for more information about authenticating with Azure Active Directory.
33
+ *
34
+ * ```ts snippet:ReadmeSampleCreateClient_ActiveDirectory
35
+ * import { DefaultAzureCredential } from "@azure/identity";
36
+ * import { ConversationAnalysisClient } from "@azure/ai-language-conversations";
37
+ *
38
+ * const endpoint = "https://<resource name>.cognitiveservices.azure.com";
39
+ * const credential = new DefaultAzureCredential();
40
+ * const client = new ConversationAnalysisClient(endpoint, credential);
41
+ * ```
42
+ */
43
+ export class ConversationAnalysisClient {
44
+ _client;
45
+ _tracing;
46
+ /**
47
+ * Initializes a new instance of the ConversationAnalysisClient class.
48
+ * @param endpoint - Supported Cognitive Services endpoint (e.g.,
49
+ * https://<resource-name>.api.cognitiveservices.azure.com).
50
+ * @param options - The parameter options
51
+ */
52
+ constructor(endpoint, credential, options = {}) {
53
+ this._client = new GeneratedClient(endpoint, options);
54
+ this._tracing = createTracingClient({
55
+ packageName: "@azure/ai-language-conversations",
56
+ packageVersion: SDK_VERSION,
57
+ namespace: "Microsoft.CognitiveServices",
58
+ });
59
+ const authPolicy = isTokenCredential(credential)
60
+ ? bearerTokenAuthenticationPolicy({ credential, scopes: DEFAULT_COGNITIVE_SCOPE })
61
+ : conversationAnalysisAzureKeyCredentialPolicy(credential);
62
+ this._client.pipeline.addPolicy(authPolicy);
63
+ }
64
+ /**
65
+ * Analyzes the input conversation utterance.
66
+ * @param task - A single conversational task to execute.
67
+ * @param options - The options parameters.
68
+ */
69
+ analyzeConversation(task, options) {
70
+ return this._tracing.withSpan("ConversationAnalysisClient.analyzeConversation", options || {}, (updatedOptions) => this._client.analyzeConversation(task, updatedOptions));
71
+ }
72
+ /**
73
+ * Submit a collection of conversations for analysis. Specify one or more unique tasks to be executed.
74
+ * @param task - The collection of conversations to analyze and one or more tasks to execute.
75
+ * @param options - The options parameters.
76
+ */
77
+ async beginConversationAnalysis(task, options) {
78
+ return this._tracing.withSpan("ConversationAnalysisClient.beginConversationAnalysis", options || {}, (updatedOptions) => this._client.beginConversationAnalysis(task, updatedOptions));
79
+ }
80
+ }
81
+ //# sourceMappingURL=conversationAnalysisClient.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"conversationAnalysisClient.js","sourceRoot":"","sources":["../../src/conversationAnalysisClient.ts"],"names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AAO,CAAC,mBAAmB,CAC9B,IAAI,EACJ,cAAc,CACyB,CAC5C,CAAC;IACJ,CAAC;IAED;;;;OAIG;IACH,KAAK,CAAC,yBAAyB,CAC7B,IAAkC,EAClC,OAA4C;QAI5C,OAAO,IAAI,CAAC,QAAQ,CAAC,QAAQ,CAC3B,sDAAsD,EACtD,OAAO,IAAI,EAAE,EACb,CAAC,cAAc,EAAE,EAAE,CACjB,IAAI,CAAC,OAAO,CAAC,yBAAyB,CAAC,IAAI,EAAE,cAAc,CAE1D,CACJ,CAAC;IACJ,CAAC;CACF","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\nimport type {\n AnalyzeConversationJobsInput,\n AnalyzeConversationOptionalParams,\n AnalyzeConversationResponse,\n AnalyzeConversationTaskUnion,\n ConversationAnalysisClientOptionalParams,\n ConversationAnalysisOptionalParams,\n ConversationAnalysisResponse,\n} from \"./models.js\";\nimport { DEFAULT_COGNITIVE_SCOPE, SDK_VERSION } from \"./constants.js\";\nimport type { KeyCredential, TokenCredential } from \"@azure/core-auth\";\nimport { isTokenCredential } from \"@azure/core-auth\";\nimport type { PollOperationState, PollerLike } from \"@azure/core-lro\";\nimport type { TracingClient } from \"@azure/core-tracing\";\nimport { createTracingClient } from \"@azure/core-tracing\";\nimport { ConversationAnalysisClient as GeneratedClient } from \"./generated/index.js\";\nimport { bearerTokenAuthenticationPolicy } from \"@azure/core-rest-pipeline\";\nimport { conversationAnalysisAzureKeyCredentialPolicy } from \"./azureKeyCredentialPolicy.js\";\n\n/**\n * A client for interacting with the conversational language understanding\n * features in Azure Cognitive Language Service.\n *\n * The client needs the endpoint of a Language resource and an authentication\n * method such as an API key or AAD. The API key and endpoint can be found in\n * the Language resource page in the Azure portal. They will be located in the\n * resource's Keys and Endpoint page, under Resource Management.\n *\n * ### Examples for authentication:\n *\n * #### API Key\n *\n * ```ts snippet:ReadmeSampleCreateClient_Key\n * import { AzureKeyCredential } from \"@azure/core-auth\";\n * import { ConversationAnalysisClient } from \"@azure/ai-language-conversations\";\n *\n * const endpoint = \"https://<resource name>.cognitiveservices.azure.com\";\n * const credential = new AzureKeyCredential(\"<api key>\");\n * const client = new ConversationAnalysisClient(endpoint, credential);\n * ```\n *\n * #### Azure Active Directory\n *\n * See the [`@azure/identity`](https://npmjs.com/package/\\@azure/identity)\n * package for more information about authenticating with Azure Active Directory.\n *\n * ```ts snippet:ReadmeSampleCreateClient_ActiveDirectory\n * import { DefaultAzureCredential } from \"@azure/identity\";\n * import { ConversationAnalysisClient } from \"@azure/ai-language-conversations\";\n *\n * const endpoint = \"https://<resource name>.cognitiveservices.azure.com\";\n * const credential = new DefaultAzureCredential();\n * const client = new ConversationAnalysisClient(endpoint, credential);\n * ```\n */\nexport class ConversationAnalysisClient {\n private readonly _client: GeneratedClient;\n private readonly _tracing: TracingClient;\n\n /**\n * Initializes a new instance of the ConversationAnalysisClient class.\n * @param endpoint - Supported Cognitive Services endpoint (e.g.,\n * https://<resource-name>.api.cognitiveservices.azure.com).\n * @param options - The parameter options\n */\n constructor(\n endpoint: string,\n credential: TokenCredential | KeyCredential,\n options: ConversationAnalysisClientOptionalParams = {},\n ) {\n this._client = new GeneratedClient(endpoint, options);\n\n this._tracing = createTracingClient({\n packageName: \"@azure/ai-language-conversations\",\n packageVersion: SDK_VERSION,\n namespace: \"Microsoft.CognitiveServices\",\n });\n\n const authPolicy = isTokenCredential(credential)\n ? bearerTokenAuthenticationPolicy({ credential, scopes: DEFAULT_COGNITIVE_SCOPE })\n : conversationAnalysisAzureKeyCredentialPolicy(credential);\n\n this._client.pipeline.addPolicy(authPolicy);\n }\n\n /**\n * Analyzes the input conversation utterance.\n * @param task - A single conversational task to execute.\n * @param options - The options parameters.\n */\n analyzeConversation(\n task: AnalyzeConversationTaskUnion,\n options?: AnalyzeConversationOptionalParams,\n ): Promise<AnalyzeConversationResponse> {\n return this._tracing.withSpan(\n \"ConversationAnalysisClient.analyzeConversation\",\n options || {},\n (updatedOptions) =>\n this._client.analyzeConversation(\n task,\n updatedOptions,\n ) as Promise<AnalyzeConversationResponse>,\n );\n }\n\n /**\n * Submit a collection of conversations for analysis. Specify one or more unique tasks to be executed.\n * @param task - The collection of conversations to analyze and one or more tasks to execute.\n * @param options - The options parameters.\n */\n async beginConversationAnalysis(\n task: AnalyzeConversationJobsInput,\n options?: ConversationAnalysisOptionalParams,\n ): Promise<\n PollerLike<PollOperationState<ConversationAnalysisResponse>, ConversationAnalysisResponse>\n > {\n return this._tracing.withSpan(\n \"ConversationAnalysisClient.beginConversationAnalysis\",\n options || {},\n (updatedOptions) =>\n this._client.beginConversationAnalysis(task, updatedOptions) as Promise<\n PollerLike<PollOperationState<ConversationAnalysisResponse>, ConversationAnalysisResponse>\n >,\n );\n }\n}\n"]}
@@ -0,0 +1,36 @@
1
+ import * as coreClient from "@azure/core-client";
2
+ import { PollerLike, PollOperationState } from "@azure/core-lro";
3
+ import { ConversationAnalysisClientOptionalParams, AnalyzeConversationTaskUnion, AnalyzeConversationOptionalParams, AnalyzeConversationResponse, AnalyzeConversationJobsInput, ConversationAnalysisOptionalParams, ConversationAnalysisResponse } from "./models/index.js";
4
+ /** @internal */
5
+ export declare class ConversationAnalysisClient extends coreClient.ServiceClient {
6
+ endpoint: string;
7
+ apiVersion: string;
8
+ /**
9
+ * Initializes a new instance of the ConversationAnalysisClient class.
10
+ * @param endpoint Supported Cognitive Services endpoint (e.g.,
11
+ * https://<resource-name>.api.cognitiveservices.azure.com).
12
+ * @param options The parameter options
13
+ */
14
+ constructor(endpoint: string, options?: ConversationAnalysisClientOptionalParams);
15
+ /** A function that adds a policy that sets the api-version (or equivalent) to reflect the library version. */
16
+ private addCustomApiVersionPolicy;
17
+ /**
18
+ * Analyzes the input conversation utterance.
19
+ * @param task A single conversational task to execute.
20
+ * @param options The options parameters.
21
+ */
22
+ analyzeConversation(task: AnalyzeConversationTaskUnion, options?: AnalyzeConversationOptionalParams): Promise<AnalyzeConversationResponse>;
23
+ /**
24
+ * Submit a collection of conversations for analysis. Specify one or more unique tasks to be executed.
25
+ * @param task The collection of conversations to analyze and one or more tasks to execute.
26
+ * @param options The options parameters.
27
+ */
28
+ beginConversationAnalysis(task: AnalyzeConversationJobsInput, options?: ConversationAnalysisOptionalParams): Promise<PollerLike<PollOperationState<ConversationAnalysisResponse>, ConversationAnalysisResponse>>;
29
+ /**
30
+ * Submit a collection of conversations for analysis. Specify one or more unique tasks to be executed.
31
+ * @param task The collection of conversations to analyze and one or more tasks to execute.
32
+ * @param options The options parameters.
33
+ */
34
+ beginConversationAnalysisAndWait(task: AnalyzeConversationJobsInput, options?: ConversationAnalysisOptionalParams): Promise<ConversationAnalysisResponse>;
35
+ }
36
+ //# sourceMappingURL=conversationAnalysisClient.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"conversationAnalysisClient.d.ts","sourceRoot":"","sources":["../../../src/generated/conversationAnalysisClient.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AAOjD,OAAO,EAAE,UAAU,EAAE,kBAAkB,EAAa,MAAM,iBAAiB,CAAC;AAI5E,OAAO,EACL,wCAAwC,EACxC,4BAA4B,EAC5B,iCAAiC,EACjC,2BAA2B,EAC3B,4BAA4B,EAC5B,kCAAkC,EAClC,4BAA4B,EAC7B,MAAM,mBAAmB,CAAC;AAE3B,gBAAgB;AAChB,qBAAa,0BAA2B,SAAQ,UAAU,CAAC,aAAa;IACtE,QAAQ,EAAE,MAAM,CAAC;IACjB,UAAU,EAAE,MAAM,CAAC;IAEnB;;;;;OAKG;gBAED,QAAQ,EAAE,MAAM,EAChB,OAAO,CAAC,EAAE,wCAAwC;IA4DpD,8GAA8G;IAC9G,OAAO,CAAC,yBAAyB;IA2BjC;;;;OAIG;IACH,mBAAmB,CACjB,IAAI,EAAE,4BAA4B,EAClC,OAAO,CAAC,EAAE,iCAAiC,GAC1C,OAAO,CAAC,2BAA2B,CAAC;IAOvC;;;;OAIG;IACG,yBAAyB,CAC7B,IAAI,EAAE,4BAA4B,EAClC,OAAO,CAAC,EAAE,kCAAkC,GAC3C,OAAO,CACR,UAAU,CACR,kBAAkB,CAAC,4BAA4B,CAAC,EAChD,4BAA4B,CAC7B,CACF;IAqDD;;;;OAIG;IACG,gCAAgC,CACpC,IAAI,EAAE,4BAA4B,EAClC,OAAO,CAAC,EAAE,kCAAkC,GAC3C,OAAO,CAAC,4BAA4B,CAAC;CAIzC"}