@azure/ai-language-conversations 1.0.0-alpha.20241203.1 → 1.0.0-alpha.20241204.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 (231) hide show
  1. package/{types/src → dist/browser}/conversationAnalysisClient.d.ts +1 -1
  2. package/{types/src → dist/browser}/conversationAnalysisClient.d.ts.map +1 -1
  3. package/{dist-esm/src → dist/browser}/conversationAnalysisClient.js +3 -3
  4. package/dist/browser/conversationAnalysisClient.js.map +1 -0
  5. package/{types/src → dist/browser}/generated/conversationAnalysisClient.d.ts +1 -1
  6. package/dist/browser/generated/conversationAnalysisClient.d.ts.map +1 -0
  7. package/{dist-esm/src → dist/browser}/generated/conversationAnalysisClient.js +3 -3
  8. package/dist/browser/generated/conversationAnalysisClient.js.map +1 -0
  9. package/dist/browser/generated/index.d.ts +3 -0
  10. package/{types/src → dist/browser}/generated/index.d.ts.map +1 -1
  11. package/{dist-esm/src → dist/browser}/generated/index.js +2 -2
  12. package/dist/browser/generated/index.js.map +1 -0
  13. package/{dist-esm/src → dist/browser}/generated/models/parameters.js +1 -1
  14. package/{dist-esm/src → dist/browser}/generated/models/parameters.js.map +1 -1
  15. package/{types/src → dist/browser}/index.d.ts +2 -2
  16. package/{types/src → dist/browser}/index.d.ts.map +1 -1
  17. package/{dist-esm/src → dist/browser}/index.js +2 -2
  18. package/{dist-esm/src → dist/browser}/index.js.map +1 -1
  19. package/dist/browser/package.json +3 -0
  20. package/dist/commonjs/azureKeyCredentialPolicy.d.ts +9 -0
  21. package/dist/commonjs/azureKeyCredentialPolicy.d.ts.map +1 -0
  22. package/dist/commonjs/azureKeyCredentialPolicy.js +25 -0
  23. package/dist/commonjs/azureKeyCredentialPolicy.js.map +1 -0
  24. package/dist/commonjs/constants.d.ts +3 -0
  25. package/dist/commonjs/constants.d.ts.map +1 -0
  26. package/dist/commonjs/constants.js +8 -0
  27. package/dist/commonjs/constants.js.map +1 -0
  28. package/dist/commonjs/conversationAnalysisClient.d.ts +65 -0
  29. package/dist/commonjs/conversationAnalysisClient.d.ts.map +1 -0
  30. package/dist/commonjs/conversationAnalysisClient.js +87 -0
  31. package/dist/commonjs/conversationAnalysisClient.js.map +1 -0
  32. package/dist/commonjs/generated/conversationAnalysisClient.d.ts +36 -0
  33. package/dist/commonjs/generated/conversationAnalysisClient.d.ts.map +1 -0
  34. package/dist/commonjs/generated/conversationAnalysisClient.js +196 -0
  35. package/dist/commonjs/generated/conversationAnalysisClient.js.map +1 -0
  36. package/dist/commonjs/generated/index.d.ts +3 -0
  37. package/dist/commonjs/generated/index.d.ts.map +1 -0
  38. package/dist/commonjs/generated/index.js +15 -0
  39. package/dist/commonjs/generated/index.js.map +1 -0
  40. package/dist/commonjs/generated/lroImpl.d.ts +16 -0
  41. package/dist/commonjs/generated/lroImpl.d.ts.map +1 -0
  42. package/dist/commonjs/generated/lroImpl.js +29 -0
  43. package/dist/commonjs/generated/lroImpl.js.map +1 -0
  44. package/dist/commonjs/generated/models/index.d.ts +1951 -0
  45. package/dist/commonjs/generated/models/index.d.ts.map +1 -0
  46. package/dist/commonjs/generated/models/index.js +659 -0
  47. package/dist/commonjs/generated/models/index.js.map +1 -0
  48. package/dist/commonjs/generated/models/mappers.d.ts +153 -0
  49. package/dist/commonjs/generated/models/mappers.d.ts.map +1 -0
  50. package/dist/commonjs/generated/models/mappers.js +2667 -0
  51. package/dist/commonjs/generated/models/mappers.js.map +1 -0
  52. package/dist/commonjs/generated/models/parameters.d.ts +8 -0
  53. package/dist/commonjs/generated/models/parameters.d.ts.map +1 -0
  54. package/dist/commonjs/generated/models/parameters.js +64 -0
  55. package/dist/commonjs/generated/models/parameters.js.map +1 -0
  56. package/dist/commonjs/index.d.ts +13 -0
  57. package/dist/commonjs/index.d.ts.map +1 -0
  58. package/dist/commonjs/index.js +21 -0
  59. package/dist/commonjs/index.js.map +1 -0
  60. package/{types/ai-language-conversations.d.ts → dist/commonjs/models.d.ts} +1953 -2221
  61. package/dist/commonjs/models.d.ts.map +1 -0
  62. package/dist/commonjs/models.js +654 -0
  63. package/dist/commonjs/models.js.map +1 -0
  64. package/dist/commonjs/package.json +3 -0
  65. package/dist/esm/azureKeyCredentialPolicy.d.ts +9 -0
  66. package/dist/esm/azureKeyCredentialPolicy.d.ts.map +1 -0
  67. package/dist/esm/azureKeyCredentialPolicy.js +22 -0
  68. package/dist/esm/azureKeyCredentialPolicy.js.map +1 -0
  69. package/dist/esm/constants.d.ts +3 -0
  70. package/dist/esm/constants.d.ts.map +1 -0
  71. package/dist/esm/constants.js +5 -0
  72. package/dist/esm/constants.js.map +1 -0
  73. package/dist/esm/conversationAnalysisClient.d.ts +65 -0
  74. package/dist/esm/conversationAnalysisClient.d.ts.map +1 -0
  75. package/dist/esm/conversationAnalysisClient.js +83 -0
  76. package/dist/esm/conversationAnalysisClient.js.map +1 -0
  77. package/dist/esm/generated/conversationAnalysisClient.d.ts +36 -0
  78. package/dist/esm/generated/conversationAnalysisClient.d.ts.map +1 -0
  79. package/dist/esm/generated/conversationAnalysisClient.js +191 -0
  80. package/dist/esm/generated/conversationAnalysisClient.js.map +1 -0
  81. package/dist/esm/generated/index.d.ts +3 -0
  82. package/dist/esm/generated/index.d.ts.map +1 -0
  83. package/dist/esm/generated/index.js +10 -0
  84. package/dist/esm/generated/index.js.map +1 -0
  85. package/dist/esm/generated/lroImpl.d.ts +16 -0
  86. package/dist/esm/generated/lroImpl.d.ts.map +1 -0
  87. package/dist/esm/generated/lroImpl.js +25 -0
  88. package/dist/esm/generated/lroImpl.js.map +1 -0
  89. package/dist/esm/generated/models/index.d.ts +1951 -0
  90. package/dist/esm/generated/models/index.d.ts.map +1 -0
  91. package/dist/esm/generated/models/index.js +656 -0
  92. package/dist/esm/generated/models/index.js.map +1 -0
  93. package/dist/esm/generated/models/mappers.d.ts +153 -0
  94. package/dist/esm/generated/models/mappers.d.ts.map +1 -0
  95. package/dist/{index.js → esm/generated/models/mappers.js} +107 -1278
  96. package/dist/esm/generated/models/mappers.js.map +1 -0
  97. package/dist/esm/generated/models/parameters.d.ts +8 -0
  98. package/dist/esm/generated/models/parameters.d.ts.map +1 -0
  99. package/dist/esm/generated/models/parameters.js +61 -0
  100. package/dist/esm/generated/models/parameters.js.map +1 -0
  101. package/dist/esm/index.d.ts +13 -0
  102. package/dist/esm/index.d.ts.map +1 -0
  103. package/dist/esm/index.js +15 -0
  104. package/dist/esm/index.js.map +1 -0
  105. package/dist/esm/models.d.ts +1953 -0
  106. package/dist/esm/models.d.ts.map +1 -0
  107. package/dist/esm/models.js +651 -0
  108. package/dist/esm/models.js.map +1 -0
  109. package/dist/esm/package.json +3 -0
  110. package/dist/react-native/azureKeyCredentialPolicy.d.ts +9 -0
  111. package/dist/react-native/azureKeyCredentialPolicy.d.ts.map +1 -0
  112. package/dist/react-native/azureKeyCredentialPolicy.js +22 -0
  113. package/dist/react-native/azureKeyCredentialPolicy.js.map +1 -0
  114. package/dist/react-native/constants.d.ts +3 -0
  115. package/dist/react-native/constants.d.ts.map +1 -0
  116. package/dist/react-native/constants.js +5 -0
  117. package/dist/react-native/constants.js.map +1 -0
  118. package/dist/react-native/conversationAnalysisClient.d.ts +65 -0
  119. package/dist/react-native/conversationAnalysisClient.d.ts.map +1 -0
  120. package/dist/react-native/conversationAnalysisClient.js +83 -0
  121. package/dist/react-native/conversationAnalysisClient.js.map +1 -0
  122. package/dist/react-native/generated/conversationAnalysisClient.d.ts +36 -0
  123. package/dist/react-native/generated/conversationAnalysisClient.d.ts.map +1 -0
  124. package/dist/react-native/generated/conversationAnalysisClient.js +191 -0
  125. package/dist/react-native/generated/conversationAnalysisClient.js.map +1 -0
  126. package/dist/react-native/generated/index.d.ts +3 -0
  127. package/dist/react-native/generated/index.d.ts.map +1 -0
  128. package/dist/react-native/generated/index.js +10 -0
  129. package/dist/react-native/generated/index.js.map +1 -0
  130. package/dist/react-native/generated/lroImpl.d.ts +16 -0
  131. package/dist/react-native/generated/lroImpl.d.ts.map +1 -0
  132. package/dist/react-native/generated/lroImpl.js +25 -0
  133. package/dist/react-native/generated/lroImpl.js.map +1 -0
  134. package/dist/react-native/generated/models/index.d.ts +1951 -0
  135. package/dist/react-native/generated/models/index.d.ts.map +1 -0
  136. package/dist/react-native/generated/models/index.js +656 -0
  137. package/dist/react-native/generated/models/index.js.map +1 -0
  138. package/dist/react-native/generated/models/mappers.d.ts +153 -0
  139. package/dist/react-native/generated/models/mappers.d.ts.map +1 -0
  140. package/dist/react-native/generated/models/mappers.js +2662 -0
  141. package/dist/react-native/generated/models/mappers.js.map +1 -0
  142. package/dist/react-native/generated/models/parameters.d.ts +8 -0
  143. package/dist/react-native/generated/models/parameters.d.ts.map +1 -0
  144. package/dist/react-native/generated/models/parameters.js +61 -0
  145. package/dist/react-native/generated/models/parameters.js.map +1 -0
  146. package/dist/react-native/index.d.ts +13 -0
  147. package/dist/react-native/index.d.ts.map +1 -0
  148. package/dist/react-native/index.js +15 -0
  149. package/dist/react-native/index.js.map +1 -0
  150. package/dist/react-native/models.d.ts +1953 -0
  151. package/dist/react-native/models.d.ts.map +1 -0
  152. package/dist/react-native/models.js +651 -0
  153. package/dist/react-native/models.js.map +1 -0
  154. package/dist/react-native/package.json +3 -0
  155. package/package.json +69 -60
  156. package/CHANGELOG.md +0 -15
  157. package/dist/index.js.map +0 -1
  158. package/dist-esm/samples-dev/analyzeConversationApp.js +0 -74
  159. package/dist-esm/samples-dev/analyzeConversationApp.js.map +0 -1
  160. package/dist-esm/samples-dev/analyzeOrchestrationAppConvResponse.js +0 -89
  161. package/dist-esm/samples-dev/analyzeOrchestrationAppConvResponse.js.map +0 -1
  162. package/dist-esm/samples-dev/analyzeOrchestrationAppLuisResponse.js +0 -65
  163. package/dist-esm/samples-dev/analyzeOrchestrationAppLuisResponse.js.map +0 -1
  164. package/dist-esm/samples-dev/analyzeOrchestrationAppQnaResponse.js +0 -66
  165. package/dist-esm/samples-dev/analyzeOrchestrationAppQnaResponse.js.map +0 -1
  166. package/dist-esm/samples-dev/analyzeOrchestrationDirectTarget.js +0 -76
  167. package/dist-esm/samples-dev/analyzeOrchestrationDirectTarget.js.map +0 -1
  168. package/dist-esm/samples-dev/authentication.js +0 -44
  169. package/dist-esm/samples-dev/authentication.js.map +0 -1
  170. package/dist-esm/samples-dev/convPiiTranscriptInput.js +0 -112
  171. package/dist-esm/samples-dev/convPiiTranscriptInput.js.map +0 -1
  172. package/dist-esm/samples-dev/convSummarization.js +0 -95
  173. package/dist-esm/samples-dev/convSummarization.js.map +0 -1
  174. package/dist-esm/src/conversationAnalysisClient.js.map +0 -1
  175. package/dist-esm/src/generated/conversationAnalysisClient.js.map +0 -1
  176. package/dist-esm/src/generated/index.js.map +0 -1
  177. package/dist-esm/test/public/analyze.spec.js +0 -316
  178. package/dist-esm/test/public/analyze.spec.js.map +0 -1
  179. package/dist-esm/test/public/utils/recordedClient.js +0 -50
  180. package/dist-esm/test/public/utils/recordedClient.js.map +0 -1
  181. package/review/ai-language-conversations.api.md +0 -1291
  182. package/tsconfig.json +0 -11
  183. package/types/samples-dev/analyzeConversationApp.d.ts +0 -2
  184. package/types/samples-dev/analyzeConversationApp.d.ts.map +0 -1
  185. package/types/samples-dev/analyzeOrchestrationAppConvResponse.d.ts +0 -2
  186. package/types/samples-dev/analyzeOrchestrationAppConvResponse.d.ts.map +0 -1
  187. package/types/samples-dev/analyzeOrchestrationAppLuisResponse.d.ts +0 -2
  188. package/types/samples-dev/analyzeOrchestrationAppLuisResponse.d.ts.map +0 -1
  189. package/types/samples-dev/analyzeOrchestrationAppQnaResponse.d.ts +0 -2
  190. package/types/samples-dev/analyzeOrchestrationAppQnaResponse.d.ts.map +0 -1
  191. package/types/samples-dev/analyzeOrchestrationDirectTarget.d.ts +0 -2
  192. package/types/samples-dev/analyzeOrchestrationDirectTarget.d.ts.map +0 -1
  193. package/types/samples-dev/authentication.d.ts +0 -2
  194. package/types/samples-dev/authentication.d.ts.map +0 -1
  195. package/types/samples-dev/convPiiTranscriptInput.d.ts +0 -2
  196. package/types/samples-dev/convPiiTranscriptInput.d.ts.map +0 -1
  197. package/types/samples-dev/convSummarization.d.ts +0 -2
  198. package/types/samples-dev/convSummarization.d.ts.map +0 -1
  199. package/types/src/generated/conversationAnalysisClient.d.ts.map +0 -1
  200. package/types/src/generated/index.d.ts +0 -3
  201. package/types/test/public/analyze.spec.d.ts +0 -2
  202. package/types/test/public/analyze.spec.d.ts.map +0 -1
  203. package/types/test/public/utils/recordedClient.d.ts +0 -17
  204. package/types/test/public/utils/recordedClient.d.ts.map +0 -1
  205. /package/{types/src → dist/browser}/azureKeyCredentialPolicy.d.ts +0 -0
  206. /package/{types/src → dist/browser}/azureKeyCredentialPolicy.d.ts.map +0 -0
  207. /package/{dist-esm/src → dist/browser}/azureKeyCredentialPolicy.js +0 -0
  208. /package/{dist-esm/src → dist/browser}/azureKeyCredentialPolicy.js.map +0 -0
  209. /package/{types/src → dist/browser}/constants.d.ts +0 -0
  210. /package/{types/src → dist/browser}/constants.d.ts.map +0 -0
  211. /package/{dist-esm/src → dist/browser}/constants.js +0 -0
  212. /package/{dist-esm/src → dist/browser}/constants.js.map +0 -0
  213. /package/{types/src → dist/browser}/generated/lroImpl.d.ts +0 -0
  214. /package/{types/src → dist/browser}/generated/lroImpl.d.ts.map +0 -0
  215. /package/{dist-esm/src → dist/browser}/generated/lroImpl.js +0 -0
  216. /package/{dist-esm/src → dist/browser}/generated/lroImpl.js.map +0 -0
  217. /package/{types/src → dist/browser}/generated/models/index.d.ts +0 -0
  218. /package/{types/src → dist/browser}/generated/models/index.d.ts.map +0 -0
  219. /package/{dist-esm/src → dist/browser}/generated/models/index.js +0 -0
  220. /package/{dist-esm/src → dist/browser}/generated/models/index.js.map +0 -0
  221. /package/{types/src → dist/browser}/generated/models/mappers.d.ts +0 -0
  222. /package/{types/src → dist/browser}/generated/models/mappers.d.ts.map +0 -0
  223. /package/{dist-esm/src → dist/browser}/generated/models/mappers.js +0 -0
  224. /package/{dist-esm/src → dist/browser}/generated/models/mappers.js.map +0 -0
  225. /package/{types/src → dist/browser}/generated/models/parameters.d.ts +0 -0
  226. /package/{types/src → dist/browser}/generated/models/parameters.d.ts.map +0 -0
  227. /package/{types/src → dist/browser}/models.d.ts +0 -0
  228. /package/{types/src → dist/browser}/models.d.ts.map +0 -0
  229. /package/{dist-esm/src → dist/browser}/models.js +0 -0
  230. /package/{dist-esm/src → dist/browser}/models.js.map +0 -0
  231. /package/{types → dist/commonjs}/tsdoc-metadata.json +0 -0
@@ -1,63 +1,3 @@
1
- 'use strict';
2
-
3
- Object.defineProperty(exports, '__esModule', { value: true });
4
-
5
- var coreAuth = require('@azure/core-auth');
6
- var coreTracing = require('@azure/core-tracing');
7
- var coreRestPipeline = require('@azure/core-rest-pipeline');
8
- var coreClient = require('@azure/core-client');
9
- var coreLro = require('@azure/core-lro');
10
- var tslib = require('tslib');
11
-
12
- function _interopNamespaceDefault(e) {
13
- var n = Object.create(null);
14
- if (e) {
15
- Object.keys(e).forEach(function (k) {
16
- if (k !== 'default') {
17
- var d = Object.getOwnPropertyDescriptor(e, k);
18
- Object.defineProperty(n, k, d.get ? d : {
19
- enumerable: true,
20
- get: function () { return e[k]; }
21
- });
22
- }
23
- });
24
- }
25
- n.default = e;
26
- return Object.freeze(n);
27
- }
28
-
29
- var coreRestPipeline__namespace = /*#__PURE__*/_interopNamespaceDefault(coreRestPipeline);
30
- var coreClient__namespace = /*#__PURE__*/_interopNamespaceDefault(coreClient);
31
-
32
- // Copyright (c) Microsoft Corporation.
33
- // Licensed under the MIT License.
34
- const DEFAULT_COGNITIVE_SCOPE = "https://cognitiveservices.azure.com/.default";
35
- const SDK_VERSION = "1.0.0-beta.1";
36
-
37
- /*
38
- * Copyright (c) Microsoft Corporation.
39
- * Licensed under the MIT License.
40
- *
41
- * Code generated by Microsoft (R) AutoRest Code Generator.
42
- * Changes may cause incorrect behavior and will be lost if the code is regenerated.
43
- */
44
- class LroImpl {
45
- constructor(sendOperationFn, args, spec, requestPath = spec.path, requestMethod = spec.httpMethod) {
46
- this.sendOperationFn = sendOperationFn;
47
- this.args = args;
48
- this.spec = spec;
49
- this.requestPath = requestPath;
50
- this.requestMethod = requestMethod;
51
- }
52
- async sendInitialRequest() {
53
- return this.sendOperationFn(this.args, this.spec);
54
- }
55
- async sendPollRequest(path) {
56
- const _a = this.spec, restSpec = tslib.__rest(_a, ["requestBody"]);
57
- return this.sendOperationFn(this.args, Object.assign(Object.assign({}, restSpec), { path, httpMethod: "GET" }));
58
- }
59
- }
60
-
61
1
  /*
62
2
  * Copyright (c) Microsoft Corporation.
63
3
  * Licensed under the MIT License.
@@ -65,7 +5,7 @@ class LroImpl {
65
5
  * Code generated by Microsoft (R) AutoRest Code Generator.
66
6
  * Changes may cause incorrect behavior and will be lost if the code is regenerated.
67
7
  */
68
- const AnalyzeConversationTask = {
8
+ export const AnalyzeConversationTask = {
69
9
  type: {
70
10
  name: "Composite",
71
11
  className: "AnalyzeConversationTask",
@@ -85,7 +25,7 @@ const AnalyzeConversationTask = {
85
25
  }
86
26
  }
87
27
  };
88
- const AnalyzeConversationTaskResult = {
28
+ export const AnalyzeConversationTaskResult = {
89
29
  type: {
90
30
  name: "Composite",
91
31
  className: "AnalyzeConversationTaskResult",
@@ -105,7 +45,7 @@ const AnalyzeConversationTaskResult = {
105
45
  }
106
46
  }
107
47
  };
108
- const ErrorResponse = {
48
+ export const ErrorResponse = {
109
49
  type: {
110
50
  name: "Composite",
111
51
  className: "ErrorResponse",
@@ -120,7 +60,7 @@ const ErrorResponse = {
120
60
  }
121
61
  }
122
62
  };
123
- const ErrorModel = {
63
+ export const ErrorModel = {
124
64
  type: {
125
65
  name: "Composite",
126
66
  className: "ErrorModel",
@@ -168,7 +108,7 @@ const ErrorModel = {
168
108
  }
169
109
  }
170
110
  };
171
- const InnerErrorModel = {
111
+ export const InnerErrorModel = {
172
112
  type: {
173
113
  name: "Composite",
174
114
  className: "InnerErrorModel",
@@ -210,7 +150,7 @@ const InnerErrorModel = {
210
150
  }
211
151
  }
212
152
  };
213
- const AnalyzeConversationJobsInput = {
153
+ export const AnalyzeConversationJobsInput = {
214
154
  type: {
215
155
  name: "Composite",
216
156
  className: "AnalyzeConversationJobsInput",
@@ -244,7 +184,7 @@ const AnalyzeConversationJobsInput = {
244
184
  }
245
185
  }
246
186
  };
247
- const MultiLanguageConversationAnalysisInput = {
187
+ export const MultiLanguageConversationAnalysisInput = {
248
188
  type: {
249
189
  name: "Composite",
250
190
  className: "MultiLanguageConversationAnalysisInput",
@@ -265,7 +205,7 @@ const MultiLanguageConversationAnalysisInput = {
265
205
  }
266
206
  }
267
207
  };
268
- const Conversation = {
208
+ export const Conversation = {
269
209
  type: {
270
210
  name: "Composite",
271
211
  className: "Conversation",
@@ -305,7 +245,7 @@ const Conversation = {
305
245
  }
306
246
  }
307
247
  };
308
- const TaskIdentifier = {
248
+ export const TaskIdentifier = {
309
249
  type: {
310
250
  name: "Composite",
311
251
  className: "TaskIdentifier",
@@ -319,7 +259,7 @@ const TaskIdentifier = {
319
259
  }
320
260
  }
321
261
  };
322
- const JobStateAutoGenerated = {
262
+ export const JobStateAutoGenerated = {
323
263
  type: {
324
264
  name: "Composite",
325
265
  className: "JobStateAutoGenerated",
@@ -385,7 +325,7 @@ const JobStateAutoGenerated = {
385
325
  }
386
326
  }
387
327
  };
388
- const ConversationTasksState = {
328
+ export const ConversationTasksState = {
389
329
  type: {
390
330
  name: "Composite",
391
331
  className: "ConversationTasksState",
@@ -400,7 +340,7 @@ const ConversationTasksState = {
400
340
  }
401
341
  }
402
342
  };
403
- const ConversationTasksStateTasks = {
343
+ export const ConversationTasksStateTasks = {
404
344
  type: {
405
345
  name: "Composite",
406
346
  className: "ConversationTasksStateTasks",
@@ -448,7 +388,7 @@ const ConversationTasksStateTasks = {
448
388
  }
449
389
  }
450
390
  };
451
- const TaskStateAutoGenerated = {
391
+ export const TaskStateAutoGenerated = {
452
392
  type: {
453
393
  name: "Composite",
454
394
  className: "TaskStateAutoGenerated",
@@ -470,7 +410,7 @@ const TaskStateAutoGenerated = {
470
410
  }
471
411
  }
472
412
  };
473
- const AnalyzeConversationJobStatistics = {
413
+ export const AnalyzeConversationJobStatistics = {
474
414
  type: {
475
415
  name: "Composite",
476
416
  className: "AnalyzeConversationJobStatistics",
@@ -485,7 +425,7 @@ const AnalyzeConversationJobStatistics = {
485
425
  }
486
426
  }
487
427
  };
488
- const RequestStatistics = {
428
+ export const RequestStatistics = {
489
429
  type: {
490
430
  name: "Composite",
491
431
  className: "RequestStatistics",
@@ -501,7 +441,7 @@ const RequestStatistics = {
501
441
  }
502
442
  }
503
443
  };
504
- const ConversationAnalysisOptions = {
444
+ export const ConversationAnalysisOptions = {
505
445
  type: {
506
446
  name: "Composite",
507
447
  className: "ConversationAnalysisOptions",
@@ -516,7 +456,7 @@ const ConversationAnalysisOptions = {
516
456
  }
517
457
  }
518
458
  };
519
- const ConversationItemBase = {
459
+ export const ConversationItemBase = {
520
460
  type: {
521
461
  name: "Composite",
522
462
  className: "ConversationItemBase",
@@ -557,7 +497,7 @@ const ConversationItemBase = {
557
497
  }
558
498
  }
559
499
  };
560
- const ConversationTaskParameters = {
500
+ export const ConversationTaskParameters = {
561
501
  type: {
562
502
  name: "Composite",
563
503
  className: "ConversationTaskParameters",
@@ -613,7 +553,7 @@ const ConversationTaskParameters = {
613
553
  }
614
554
  }
615
555
  };
616
- const AnalysisParameters = {
556
+ export const AnalysisParameters = {
617
557
  type: {
618
558
  name: "Composite",
619
559
  className: "AnalysisParameters",
@@ -639,7 +579,7 @@ const AnalysisParameters = {
639
579
  }
640
580
  }
641
581
  };
642
- const AnalyzeConversationResult = {
582
+ export const AnalyzeConversationResult = {
643
583
  type: {
644
584
  name: "Composite",
645
585
  className: "AnalyzeConversationResult",
@@ -667,7 +607,7 @@ const AnalyzeConversationResult = {
667
607
  }
668
608
  }
669
609
  };
670
- const BasePrediction = {
610
+ export const BasePrediction = {
671
611
  type: {
672
612
  name: "Composite",
673
613
  className: "BasePrediction",
@@ -693,7 +633,7 @@ const BasePrediction = {
693
633
  }
694
634
  }
695
635
  };
696
- const ConversationResult = {
636
+ export const ConversationResult = {
697
637
  type: {
698
638
  name: "Composite",
699
639
  className: "ConversationResult",
@@ -721,7 +661,7 @@ const ConversationResult = {
721
661
  }
722
662
  }
723
663
  };
724
- const ConversationIntent = {
664
+ export const ConversationIntent = {
725
665
  type: {
726
666
  name: "Composite",
727
667
  className: "ConversationIntent",
@@ -747,7 +687,7 @@ const ConversationIntent = {
747
687
  }
748
688
  }
749
689
  };
750
- const ConversationEntity = {
690
+ export const ConversationEntity = {
751
691
  type: {
752
692
  name: "Composite",
753
693
  className: "ConversationEntity",
@@ -814,7 +754,7 @@ const ConversationEntity = {
814
754
  }
815
755
  }
816
756
  };
817
- const BaseResolution = {
757
+ export const BaseResolution = {
818
758
  type: {
819
759
  name: "Composite",
820
760
  className: "BaseResolution",
@@ -834,7 +774,7 @@ const BaseResolution = {
834
774
  }
835
775
  }
836
776
  };
837
- const BaseExtraInformation = {
777
+ export const BaseExtraInformation = {
838
778
  type: {
839
779
  name: "Composite",
840
780
  className: "BaseExtraInformation",
@@ -854,7 +794,7 @@ const BaseExtraInformation = {
854
794
  }
855
795
  }
856
796
  };
857
- const TargetIntentResult = {
797
+ export const TargetIntentResult = {
858
798
  type: {
859
799
  name: "Composite",
860
800
  className: "TargetIntentResult",
@@ -891,7 +831,7 @@ const TargetIntentResult = {
891
831
  }
892
832
  }
893
833
  };
894
- const LuisCallingOptions = {
834
+ export const LuisCallingOptions = {
895
835
  type: {
896
836
  name: "Composite",
897
837
  className: "LuisCallingOptions",
@@ -935,7 +875,7 @@ const LuisCallingOptions = {
935
875
  }
936
876
  }
937
877
  };
938
- const ConversationCallingOptions = {
878
+ export const ConversationCallingOptions = {
939
879
  type: {
940
880
  name: "Composite",
941
881
  className: "ConversationCallingOptions",
@@ -961,7 +901,7 @@ const ConversationCallingOptions = {
961
901
  }
962
902
  }
963
903
  };
964
- const AnswersOptions = {
904
+ export const AnswersOptions = {
965
905
  type: {
966
906
  name: "Composite",
967
907
  className: "AnswersOptions",
@@ -1036,7 +976,7 @@ const AnswersOptions = {
1036
976
  }
1037
977
  }
1038
978
  };
1039
- const KnowledgeBaseAnswerContext = {
979
+ export const KnowledgeBaseAnswerContext = {
1040
980
  type: {
1041
981
  name: "Composite",
1042
982
  className: "KnowledgeBaseAnswerContext",
@@ -1057,7 +997,7 @@ const KnowledgeBaseAnswerContext = {
1057
997
  }
1058
998
  }
1059
999
  };
1060
- const QueryFilters = {
1000
+ export const QueryFilters = {
1061
1001
  type: {
1062
1002
  name: "Composite",
1063
1003
  className: "QueryFilters",
@@ -1089,7 +1029,7 @@ const QueryFilters = {
1089
1029
  }
1090
1030
  }
1091
1031
  };
1092
- const MetadataFilter = {
1032
+ export const MetadataFilter = {
1093
1033
  type: {
1094
1034
  name: "Composite",
1095
1035
  className: "MetadataFilter",
@@ -1115,7 +1055,7 @@ const MetadataFilter = {
1115
1055
  }
1116
1056
  }
1117
1057
  };
1118
- const MetadataRecord = {
1058
+ export const MetadataRecord = {
1119
1059
  type: {
1120
1060
  name: "Composite",
1121
1061
  className: "MetadataRecord",
@@ -1137,7 +1077,7 @@ const MetadataRecord = {
1137
1077
  }
1138
1078
  }
1139
1079
  };
1140
- const ShortAnswerOptions = {
1080
+ export const ShortAnswerOptions = {
1141
1081
  type: {
1142
1082
  name: "Composite",
1143
1083
  className: "ShortAnswerOptions",
@@ -1173,7 +1113,7 @@ const ShortAnswerOptions = {
1173
1113
  }
1174
1114
  }
1175
1115
  };
1176
- const QuantityResolution = {
1116
+ export const QuantityResolution = {
1177
1117
  type: {
1178
1118
  name: "Composite",
1179
1119
  className: "QuantityResolution",
@@ -1188,7 +1128,7 @@ const QuantityResolution = {
1188
1128
  }
1189
1129
  }
1190
1130
  };
1191
- const AnswersResult = {
1131
+ export const AnswersResult = {
1192
1132
  type: {
1193
1133
  name: "Composite",
1194
1134
  className: "AnswersResult",
@@ -1208,7 +1148,7 @@ const AnswersResult = {
1208
1148
  }
1209
1149
  }
1210
1150
  };
1211
- const KnowledgeBaseAnswer = {
1151
+ export const KnowledgeBaseAnswer = {
1212
1152
  type: {
1213
1153
  name: "Composite",
1214
1154
  className: "KnowledgeBaseAnswer",
@@ -1276,7 +1216,7 @@ const KnowledgeBaseAnswer = {
1276
1216
  }
1277
1217
  }
1278
1218
  };
1279
- const KnowledgeBaseAnswerDialog = {
1219
+ export const KnowledgeBaseAnswerDialog = {
1280
1220
  type: {
1281
1221
  name: "Composite",
1282
1222
  className: "KnowledgeBaseAnswerDialog",
@@ -1305,7 +1245,7 @@ const KnowledgeBaseAnswerDialog = {
1305
1245
  }
1306
1246
  }
1307
1247
  };
1308
- const KnowledgeBaseAnswerPrompt = {
1248
+ export const KnowledgeBaseAnswerPrompt = {
1309
1249
  type: {
1310
1250
  name: "Composite",
1311
1251
  className: "KnowledgeBaseAnswerPrompt",
@@ -1334,7 +1274,7 @@ const KnowledgeBaseAnswerPrompt = {
1334
1274
  }
1335
1275
  }
1336
1276
  };
1337
- const AnswerSpan = {
1277
+ export const AnswerSpan = {
1338
1278
  type: {
1339
1279
  name: "Composite",
1340
1280
  className: "AnswerSpan",
@@ -1370,7 +1310,7 @@ const AnswerSpan = {
1370
1310
  }
1371
1311
  }
1372
1312
  };
1373
- const TaskParameters = {
1313
+ export const TaskParameters = {
1374
1314
  type: {
1375
1315
  name: "Composite",
1376
1316
  className: "TaskParameters",
@@ -1385,7 +1325,7 @@ const TaskParameters = {
1385
1325
  }
1386
1326
  }
1387
1327
  };
1388
- const ConversationPIIItemResult = {
1328
+ export const ConversationPIIItemResult = {
1389
1329
  type: {
1390
1330
  name: "Composite",
1391
1331
  className: "ConversationPIIItemResult",
@@ -1420,7 +1360,7 @@ const ConversationPIIItemResult = {
1420
1360
  }
1421
1361
  }
1422
1362
  };
1423
- const RedactedTranscriptContent = {
1363
+ export const RedactedTranscriptContent = {
1424
1364
  type: {
1425
1365
  name: "Composite",
1426
1366
  className: "RedactedTranscriptContent",
@@ -1464,7 +1404,7 @@ const RedactedTranscriptContent = {
1464
1404
  }
1465
1405
  }
1466
1406
  };
1467
- const AudioTiming = {
1407
+ export const AudioTiming = {
1468
1408
  type: {
1469
1409
  name: "Composite",
1470
1410
  className: "AudioTiming",
@@ -1484,7 +1424,7 @@ const AudioTiming = {
1484
1424
  }
1485
1425
  }
1486
1426
  };
1487
- const Entity = {
1427
+ export const Entity = {
1488
1428
  type: {
1489
1429
  name: "Composite",
1490
1430
  className: "Entity",
@@ -1533,7 +1473,7 @@ const Entity = {
1533
1473
  }
1534
1474
  }
1535
1475
  };
1536
- const ConversationPIIResult = {
1476
+ export const ConversationPIIResult = {
1537
1477
  type: {
1538
1478
  name: "Composite",
1539
1479
  className: "ConversationPIIResult",
@@ -1554,7 +1494,7 @@ const ConversationPIIResult = {
1554
1494
  }
1555
1495
  }
1556
1496
  };
1557
- const ConversationResultBase = {
1497
+ export const ConversationResultBase = {
1558
1498
  type: {
1559
1499
  name: "Composite",
1560
1500
  className: "ConversationResultBase",
@@ -1589,7 +1529,7 @@ const ConversationResultBase = {
1589
1529
  }
1590
1530
  }
1591
1531
  };
1592
- const InputWarning = {
1532
+ export const InputWarning = {
1593
1533
  type: {
1594
1534
  name: "Composite",
1595
1535
  className: "InputWarning",
@@ -1617,7 +1557,7 @@ const InputWarning = {
1617
1557
  }
1618
1558
  }
1619
1559
  };
1620
- const ConversationStatistics = {
1560
+ export const ConversationStatistics = {
1621
1561
  type: {
1622
1562
  name: "Composite",
1623
1563
  className: "ConversationStatistics",
@@ -1632,7 +1572,7 @@ const ConversationStatistics = {
1632
1572
  }
1633
1573
  }
1634
1574
  };
1635
- const PreBuiltResult = {
1575
+ export const PreBuiltResult = {
1636
1576
  type: {
1637
1577
  name: "Composite",
1638
1578
  className: "PreBuiltResult",
@@ -1667,7 +1607,7 @@ const PreBuiltResult = {
1667
1607
  }
1668
1608
  }
1669
1609
  };
1670
- const InputError = {
1610
+ export const InputError = {
1671
1611
  type: {
1672
1612
  name: "Composite",
1673
1613
  className: "InputError",
@@ -1689,7 +1629,7 @@ const InputError = {
1689
1629
  }
1690
1630
  }
1691
1631
  };
1692
- const ConversationsSummaryResult = {
1632
+ export const ConversationsSummaryResult = {
1693
1633
  type: {
1694
1634
  name: "Composite",
1695
1635
  className: "ConversationsSummaryResult",
@@ -1710,7 +1650,7 @@ const ConversationsSummaryResult = {
1710
1650
  }
1711
1651
  }
1712
1652
  };
1713
- const SummaryResultItem = {
1653
+ export const SummaryResultItem = {
1714
1654
  type: {
1715
1655
  name: "Composite",
1716
1656
  className: "SummaryResultItem",
@@ -1732,7 +1672,7 @@ const SummaryResultItem = {
1732
1672
  }
1733
1673
  }
1734
1674
  };
1735
- const ConversationalTask = {
1675
+ export const ConversationalTask = {
1736
1676
  serializedName: "Conversation",
1737
1677
  type: {
1738
1678
  name: "Composite",
@@ -1754,7 +1694,7 @@ const ConversationalTask = {
1754
1694
  } })
1755
1695
  }
1756
1696
  };
1757
- const ConversationalTaskResult = {
1697
+ export const ConversationalTaskResult = {
1758
1698
  serializedName: "ConversationResult",
1759
1699
  type: {
1760
1700
  name: "Composite",
@@ -1770,7 +1710,7 @@ const ConversationalTaskResult = {
1770
1710
  } })
1771
1711
  }
1772
1712
  };
1773
- const TextConversation = {
1713
+ export const TextConversation = {
1774
1714
  serializedName: "text",
1775
1715
  type: {
1776
1716
  name: "Composite",
@@ -1792,7 +1732,7 @@ const TextConversation = {
1792
1732
  } })
1793
1733
  }
1794
1734
  };
1795
- const TranscriptConversation = {
1735
+ export const TranscriptConversation = {
1796
1736
  serializedName: "transcript",
1797
1737
  type: {
1798
1738
  name: "Composite",
@@ -1814,7 +1754,7 @@ const TranscriptConversation = {
1814
1754
  } })
1815
1755
  }
1816
1756
  };
1817
- const AnalyzeConversationLROTask = {
1757
+ export const AnalyzeConversationLROTask = {
1818
1758
  serializedName: "AnalyzeConversationLROTask",
1819
1759
  type: {
1820
1760
  name: "Composite",
@@ -1833,7 +1773,7 @@ const AnalyzeConversationLROTask = {
1833
1773
  } })
1834
1774
  }
1835
1775
  };
1836
- const AnalyzeConversationJobResult = {
1776
+ export const AnalyzeConversationJobResult = {
1837
1777
  serializedName: "AnalyzeConversationJobResult",
1838
1778
  type: {
1839
1779
  name: "Composite",
@@ -1852,14 +1792,14 @@ const AnalyzeConversationJobResult = {
1852
1792
  } })
1853
1793
  }
1854
1794
  };
1855
- const AnalyzeConversationJobState = {
1795
+ export const AnalyzeConversationJobState = {
1856
1796
  type: {
1857
1797
  name: "Composite",
1858
1798
  className: "AnalyzeConversationJobState",
1859
1799
  modelProperties: Object.assign(Object.assign(Object.assign({}, JobStateAutoGenerated.type.modelProperties), ConversationTasksState.type.modelProperties), AnalyzeConversationJobStatistics.type.modelProperties)
1860
1800
  }
1861
1801
  };
1862
- const ConversationRequestStatistics = {
1802
+ export const ConversationRequestStatistics = {
1863
1803
  type: {
1864
1804
  name: "Composite",
1865
1805
  className: "ConversationRequestStatistics",
@@ -1885,7 +1825,7 @@ const ConversationRequestStatistics = {
1885
1825
  } })
1886
1826
  }
1887
1827
  };
1888
- const TextConversationItem = {
1828
+ export const TextConversationItem = {
1889
1829
  type: {
1890
1830
  name: "Composite",
1891
1831
  className: "TextConversationItem",
@@ -1899,7 +1839,7 @@ const TextConversationItem = {
1899
1839
  } })
1900
1840
  }
1901
1841
  };
1902
- const TranscriptConversationItem = {
1842
+ export const TranscriptConversationItem = {
1903
1843
  type: {
1904
1844
  name: "Composite",
1905
1845
  className: "TranscriptConversationItem",
@@ -1938,7 +1878,7 @@ const TranscriptConversationItem = {
1938
1878
  } })
1939
1879
  }
1940
1880
  };
1941
- const LuisParameters = {
1881
+ export const LuisParameters = {
1942
1882
  serializedName: "Luis",
1943
1883
  type: {
1944
1884
  name: "Composite",
@@ -1963,7 +1903,7 @@ const LuisParameters = {
1963
1903
  } })
1964
1904
  }
1965
1905
  };
1966
- const ConversationParameters = {
1906
+ export const ConversationParameters = {
1967
1907
  serializedName: "Conversation",
1968
1908
  type: {
1969
1909
  name: "Composite",
@@ -1979,7 +1919,7 @@ const ConversationParameters = {
1979
1919
  } })
1980
1920
  }
1981
1921
  };
1982
- const QuestionAnsweringParameters = {
1922
+ export const QuestionAnsweringParameters = {
1983
1923
  serializedName: "QuestionAnswering",
1984
1924
  type: {
1985
1925
  name: "Composite",
@@ -1995,7 +1935,7 @@ const QuestionAnsweringParameters = {
1995
1935
  } })
1996
1936
  }
1997
1937
  };
1998
- const ConversationPrediction = {
1938
+ export const ConversationPrediction = {
1999
1939
  serializedName: "Conversation",
2000
1940
  type: {
2001
1941
  name: "Composite",
@@ -2029,7 +1969,7 @@ const ConversationPrediction = {
2029
1969
  } })
2030
1970
  }
2031
1971
  };
2032
- const OrchestrationPrediction = {
1972
+ export const OrchestrationPrediction = {
2033
1973
  serializedName: "Orchestration",
2034
1974
  type: {
2035
1975
  name: "Composite",
@@ -2048,7 +1988,7 @@ const OrchestrationPrediction = {
2048
1988
  } })
2049
1989
  }
2050
1990
  };
2051
- const AgeResolution = {
1991
+ export const AgeResolution = {
2052
1992
  serializedName: "Age",
2053
1993
  type: {
2054
1994
  name: "Composite",
@@ -2064,7 +2004,7 @@ const AgeResolution = {
2064
2004
  } })
2065
2005
  }
2066
2006
  };
2067
- const VolumeResolution = {
2007
+ export const VolumeResolution = {
2068
2008
  serializedName: "Volume",
2069
2009
  type: {
2070
2010
  name: "Composite",
@@ -2080,7 +2020,7 @@ const VolumeResolution = {
2080
2020
  } })
2081
2021
  }
2082
2022
  };
2083
- const SpeedResolution = {
2023
+ export const SpeedResolution = {
2084
2024
  serializedName: "Speed",
2085
2025
  type: {
2086
2026
  name: "Composite",
@@ -2096,7 +2036,7 @@ const SpeedResolution = {
2096
2036
  } })
2097
2037
  }
2098
2038
  };
2099
- const AreaResolution = {
2039
+ export const AreaResolution = {
2100
2040
  serializedName: "Area",
2101
2041
  type: {
2102
2042
  name: "Composite",
@@ -2112,7 +2052,7 @@ const AreaResolution = {
2112
2052
  } })
2113
2053
  }
2114
2054
  };
2115
- const LengthResolution = {
2055
+ export const LengthResolution = {
2116
2056
  serializedName: "Length",
2117
2057
  type: {
2118
2058
  name: "Composite",
@@ -2128,7 +2068,7 @@ const LengthResolution = {
2128
2068
  } })
2129
2069
  }
2130
2070
  };
2131
- const InformationResolution = {
2071
+ export const InformationResolution = {
2132
2072
  serializedName: "Information",
2133
2073
  type: {
2134
2074
  name: "Composite",
@@ -2144,7 +2084,7 @@ const InformationResolution = {
2144
2084
  } })
2145
2085
  }
2146
2086
  };
2147
- const TemperatureResolution = {
2087
+ export const TemperatureResolution = {
2148
2088
  serializedName: "Temperature",
2149
2089
  type: {
2150
2090
  name: "Composite",
@@ -2160,7 +2100,7 @@ const TemperatureResolution = {
2160
2100
  } })
2161
2101
  }
2162
2102
  };
2163
- const WeightResolution = {
2103
+ export const WeightResolution = {
2164
2104
  serializedName: "Weight",
2165
2105
  type: {
2166
2106
  name: "Composite",
@@ -2176,7 +2116,7 @@ const WeightResolution = {
2176
2116
  } })
2177
2117
  }
2178
2118
  };
2179
- const CurrencyResolution = {
2119
+ export const CurrencyResolution = {
2180
2120
  serializedName: "Currency",
2181
2121
  type: {
2182
2122
  name: "Composite",
@@ -2197,7 +2137,7 @@ const CurrencyResolution = {
2197
2137
  } })
2198
2138
  }
2199
2139
  };
2200
- const BooleanResolution = {
2140
+ export const BooleanResolution = {
2201
2141
  serializedName: "Boolean",
2202
2142
  type: {
2203
2143
  name: "Composite",
@@ -2213,7 +2153,7 @@ const BooleanResolution = {
2213
2153
  } })
2214
2154
  }
2215
2155
  };
2216
- const DateTimeResolution = {
2156
+ export const DateTimeResolution = {
2217
2157
  serializedName: "DateTime",
2218
2158
  type: {
2219
2159
  name: "Composite",
@@ -2246,7 +2186,7 @@ const DateTimeResolution = {
2246
2186
  } })
2247
2187
  }
2248
2188
  };
2249
- const NumberResolution = {
2189
+ export const NumberResolution = {
2250
2190
  serializedName: "Number",
2251
2191
  type: {
2252
2192
  name: "Composite",
@@ -2268,7 +2208,7 @@ const NumberResolution = {
2268
2208
  } })
2269
2209
  }
2270
2210
  };
2271
- const OrdinalResolution = {
2211
+ export const OrdinalResolution = {
2272
2212
  serializedName: "Ordinal",
2273
2213
  type: {
2274
2214
  name: "Composite",
@@ -2296,7 +2236,7 @@ const OrdinalResolution = {
2296
2236
  } })
2297
2237
  }
2298
2238
  };
2299
- const TemporalSpanResolution = {
2239
+ export const TemporalSpanResolution = {
2300
2240
  serializedName: "TemporalSpan",
2301
2241
  type: {
2302
2242
  name: "Composite",
@@ -2326,7 +2266,7 @@ const TemporalSpanResolution = {
2326
2266
  } })
2327
2267
  }
2328
2268
  };
2329
- const NumericRangeResolution = {
2269
+ export const NumericRangeResolution = {
2330
2270
  serializedName: "NumericRange",
2331
2271
  type: {
2332
2272
  name: "Composite",
@@ -2354,7 +2294,7 @@ const NumericRangeResolution = {
2354
2294
  } })
2355
2295
  }
2356
2296
  };
2357
- const EntitySubtype = {
2297
+ export const EntitySubtype = {
2358
2298
  serializedName: "EntitySubtype",
2359
2299
  type: {
2360
2300
  name: "Composite",
@@ -2369,7 +2309,7 @@ const EntitySubtype = {
2369
2309
  } })
2370
2310
  }
2371
2311
  };
2372
- const ListKey = {
2312
+ export const ListKey = {
2373
2313
  serializedName: "ListKey",
2374
2314
  type: {
2375
2315
  name: "Composite",
@@ -2384,7 +2324,7 @@ const ListKey = {
2384
2324
  } })
2385
2325
  }
2386
2326
  };
2387
- const NoneLinkedTargetIntentResult = {
2327
+ export const NoneLinkedTargetIntentResult = {
2388
2328
  serializedName: "NonLinked",
2389
2329
  type: {
2390
2330
  name: "Composite",
@@ -2400,7 +2340,7 @@ const NoneLinkedTargetIntentResult = {
2400
2340
  } })
2401
2341
  }
2402
2342
  };
2403
- const ConversationTargetIntentResult = {
2343
+ export const ConversationTargetIntentResult = {
2404
2344
  serializedName: "Conversation",
2405
2345
  type: {
2406
2346
  name: "Composite",
@@ -2416,7 +2356,7 @@ const ConversationTargetIntentResult = {
2416
2356
  } })
2417
2357
  }
2418
2358
  };
2419
- const LuisTargetIntentResult = {
2359
+ export const LuisTargetIntentResult = {
2420
2360
  serializedName: "Luis",
2421
2361
  type: {
2422
2362
  name: "Composite",
@@ -2432,7 +2372,7 @@ const LuisTargetIntentResult = {
2432
2372
  } })
2433
2373
  }
2434
2374
  };
2435
- const QuestionAnsweringTargetIntentResult = {
2375
+ export const QuestionAnsweringTargetIntentResult = {
2436
2376
  serializedName: "QuestionAnswering",
2437
2377
  type: {
2438
2378
  name: "Composite",
@@ -2448,7 +2388,7 @@ const QuestionAnsweringTargetIntentResult = {
2448
2388
  } })
2449
2389
  }
2450
2390
  };
2451
- const PreBuiltTaskParameters = {
2391
+ export const PreBuiltTaskParameters = {
2452
2392
  type: {
2453
2393
  name: "Composite",
2454
2394
  className: "PreBuiltTaskParameters",
@@ -2461,7 +2401,7 @@ const PreBuiltTaskParameters = {
2461
2401
  } })
2462
2402
  }
2463
2403
  };
2464
- const WordLevelTiming = {
2404
+ export const WordLevelTiming = {
2465
2405
  type: {
2466
2406
  name: "Composite",
2467
2407
  className: "WordLevelTiming",
@@ -2473,21 +2413,21 @@ const WordLevelTiming = {
2473
2413
  } })
2474
2414
  }
2475
2415
  };
2476
- const ConversationPIIResultsConversationsItem = {
2416
+ export const ConversationPIIResultsConversationsItem = {
2477
2417
  type: {
2478
2418
  name: "Composite",
2479
2419
  className: "ConversationPIIResultsConversationsItem",
2480
2420
  modelProperties: Object.assign(Object.assign({}, ConversationPIIResult.type.modelProperties), ConversationResultBase.type.modelProperties)
2481
2421
  }
2482
2422
  };
2483
- const SummaryResultConversationsItem = {
2423
+ export const SummaryResultConversationsItem = {
2484
2424
  type: {
2485
2425
  name: "Composite",
2486
2426
  className: "SummaryResultConversationsItem",
2487
2427
  modelProperties: Object.assign(Object.assign({}, ConversationsSummaryResult.type.modelProperties), ConversationResultBase.type.modelProperties)
2488
2428
  }
2489
2429
  };
2490
- const ConversationPIIResults = {
2430
+ export const ConversationPIIResults = {
2491
2431
  type: {
2492
2432
  name: "Composite",
2493
2433
  className: "ConversationPIIResults",
@@ -2506,7 +2446,7 @@ const ConversationPIIResults = {
2506
2446
  } })
2507
2447
  }
2508
2448
  };
2509
- const SummaryResult = {
2449
+ export const SummaryResult = {
2510
2450
  type: {
2511
2451
  name: "Composite",
2512
2452
  className: "SummaryResult",
@@ -2525,14 +2465,14 @@ const SummaryResult = {
2525
2465
  } })
2526
2466
  }
2527
2467
  };
2528
- const ConversationsSummaryResultSummariesItem = {
2468
+ export const ConversationsSummaryResultSummariesItem = {
2529
2469
  type: {
2530
2470
  name: "Composite",
2531
2471
  className: "ConversationsSummaryResultSummariesItem",
2532
2472
  modelProperties: Object.assign({}, SummaryResultItem.type.modelProperties)
2533
2473
  }
2534
2474
  };
2535
- const AnalyzeConversationPIITask = {
2475
+ export const AnalyzeConversationPIITask = {
2536
2476
  serializedName: "ConversationalPIITask",
2537
2477
  type: {
2538
2478
  name: "Composite",
@@ -2548,7 +2488,7 @@ const AnalyzeConversationPIITask = {
2548
2488
  } })
2549
2489
  }
2550
2490
  };
2551
- const AnalyzeConversationSummarizationTask = {
2491
+ export const AnalyzeConversationSummarizationTask = {
2552
2492
  serializedName: "ConversationalSummarizationTask",
2553
2493
  type: {
2554
2494
  name: "Composite",
@@ -2564,7 +2504,7 @@ const AnalyzeConversationSummarizationTask = {
2564
2504
  } })
2565
2505
  }
2566
2506
  };
2567
- const AnalyzeConversationPIIResult = {
2507
+ export const AnalyzeConversationPIIResult = {
2568
2508
  serializedName: "ConversationalPIIResults",
2569
2509
  type: {
2570
2510
  name: "Composite",
@@ -2580,7 +2520,7 @@ const AnalyzeConversationPIIResult = {
2580
2520
  } })
2581
2521
  }
2582
2522
  };
2583
- const AnalyzeConversationSummarizationResult = {
2523
+ export const AnalyzeConversationSummarizationResult = {
2584
2524
  serializedName: "ConversationalSummarizationResults",
2585
2525
  type: {
2586
2526
  name: "Composite",
@@ -2596,7 +2536,7 @@ const AnalyzeConversationSummarizationResult = {
2596
2536
  } })
2597
2537
  }
2598
2538
  };
2599
- const ConversationPIITaskParameters = {
2539
+ export const ConversationPIITaskParameters = {
2600
2540
  type: {
2601
2541
  name: "Composite",
2602
2542
  className: "ConversationPIITaskParameters",
@@ -2627,7 +2567,7 @@ const ConversationPIITaskParameters = {
2627
2567
  } })
2628
2568
  }
2629
2569
  };
2630
- const ConversationSummarizationTaskParameters = {
2570
+ export const ConversationSummarizationTaskParameters = {
2631
2571
  type: {
2632
2572
  name: "Composite",
2633
2573
  className: "ConversationSummarizationTaskParameters",
@@ -2645,7 +2585,7 @@ const ConversationSummarizationTaskParameters = {
2645
2585
  } })
2646
2586
  }
2647
2587
  };
2648
- const ConversationAnalysisClientAnalyzeConversationExceptionHeaders = {
2588
+ export const ConversationAnalysisClientAnalyzeConversationExceptionHeaders = {
2649
2589
  type: {
2650
2590
  name: "Composite",
2651
2591
  className: "ConversationAnalysisClientAnalyzeConversationExceptionHeaders",
@@ -2659,7 +2599,7 @@ const ConversationAnalysisClientAnalyzeConversationExceptionHeaders = {
2659
2599
  }
2660
2600
  }
2661
2601
  };
2662
- const ConversationAnalysisClientConversationAnalysisHeaders = {
2602
+ export const ConversationAnalysisClientConversationAnalysisHeaders = {
2663
2603
  type: {
2664
2604
  name: "Composite",
2665
2605
  className: "ConversationAnalysisClientConversationAnalysisHeaders",
@@ -2673,7 +2613,7 @@ const ConversationAnalysisClientConversationAnalysisHeaders = {
2673
2613
  }
2674
2614
  }
2675
2615
  };
2676
- let discriminators = {
2616
+ export let discriminators = {
2677
2617
  AnalyzeConversationTask: AnalyzeConversationTask,
2678
2618
  AnalyzeConversationTaskResult: AnalyzeConversationTaskResult,
2679
2619
  Conversation: Conversation,
@@ -2719,1115 +2659,4 @@ let discriminators = {
2719
2659
  "TaskStateAutoGenerated.ConversationalPIIResults": AnalyzeConversationPIIResult,
2720
2660
  "TaskStateAutoGenerated.ConversationalSummarizationResults": AnalyzeConversationSummarizationResult
2721
2661
  };
2722
-
2723
- var Mappers = /*#__PURE__*/Object.freeze({
2724
- __proto__: null,
2725
- AgeResolution: AgeResolution,
2726
- AnalysisParameters: AnalysisParameters,
2727
- AnalyzeConversationJobResult: AnalyzeConversationJobResult,
2728
- AnalyzeConversationJobState: AnalyzeConversationJobState,
2729
- AnalyzeConversationJobStatistics: AnalyzeConversationJobStatistics,
2730
- AnalyzeConversationJobsInput: AnalyzeConversationJobsInput,
2731
- AnalyzeConversationLROTask: AnalyzeConversationLROTask,
2732
- AnalyzeConversationPIIResult: AnalyzeConversationPIIResult,
2733
- AnalyzeConversationPIITask: AnalyzeConversationPIITask,
2734
- AnalyzeConversationResult: AnalyzeConversationResult,
2735
- AnalyzeConversationSummarizationResult: AnalyzeConversationSummarizationResult,
2736
- AnalyzeConversationSummarizationTask: AnalyzeConversationSummarizationTask,
2737
- AnalyzeConversationTask: AnalyzeConversationTask,
2738
- AnalyzeConversationTaskResult: AnalyzeConversationTaskResult,
2739
- AnswerSpan: AnswerSpan,
2740
- AnswersOptions: AnswersOptions,
2741
- AnswersResult: AnswersResult,
2742
- AreaResolution: AreaResolution,
2743
- AudioTiming: AudioTiming,
2744
- BaseExtraInformation: BaseExtraInformation,
2745
- BasePrediction: BasePrediction,
2746
- BaseResolution: BaseResolution,
2747
- BooleanResolution: BooleanResolution,
2748
- Conversation: Conversation,
2749
- ConversationAnalysisClientAnalyzeConversationExceptionHeaders: ConversationAnalysisClientAnalyzeConversationExceptionHeaders,
2750
- ConversationAnalysisClientConversationAnalysisHeaders: ConversationAnalysisClientConversationAnalysisHeaders,
2751
- ConversationAnalysisOptions: ConversationAnalysisOptions,
2752
- ConversationCallingOptions: ConversationCallingOptions,
2753
- ConversationEntity: ConversationEntity,
2754
- ConversationIntent: ConversationIntent,
2755
- ConversationItemBase: ConversationItemBase,
2756
- ConversationPIIItemResult: ConversationPIIItemResult,
2757
- ConversationPIIResult: ConversationPIIResult,
2758
- ConversationPIIResults: ConversationPIIResults,
2759
- ConversationPIIResultsConversationsItem: ConversationPIIResultsConversationsItem,
2760
- ConversationPIITaskParameters: ConversationPIITaskParameters,
2761
- ConversationParameters: ConversationParameters,
2762
- ConversationPrediction: ConversationPrediction,
2763
- ConversationRequestStatistics: ConversationRequestStatistics,
2764
- ConversationResult: ConversationResult,
2765
- ConversationResultBase: ConversationResultBase,
2766
- ConversationStatistics: ConversationStatistics,
2767
- ConversationSummarizationTaskParameters: ConversationSummarizationTaskParameters,
2768
- ConversationTargetIntentResult: ConversationTargetIntentResult,
2769
- ConversationTaskParameters: ConversationTaskParameters,
2770
- ConversationTasksState: ConversationTasksState,
2771
- ConversationTasksStateTasks: ConversationTasksStateTasks,
2772
- ConversationalTask: ConversationalTask,
2773
- ConversationalTaskResult: ConversationalTaskResult,
2774
- ConversationsSummaryResult: ConversationsSummaryResult,
2775
- ConversationsSummaryResultSummariesItem: ConversationsSummaryResultSummariesItem,
2776
- CurrencyResolution: CurrencyResolution,
2777
- DateTimeResolution: DateTimeResolution,
2778
- Entity: Entity,
2779
- EntitySubtype: EntitySubtype,
2780
- ErrorModel: ErrorModel,
2781
- ErrorResponse: ErrorResponse,
2782
- InformationResolution: InformationResolution,
2783
- InnerErrorModel: InnerErrorModel,
2784
- InputError: InputError,
2785
- InputWarning: InputWarning,
2786
- JobStateAutoGenerated: JobStateAutoGenerated,
2787
- KnowledgeBaseAnswer: KnowledgeBaseAnswer,
2788
- KnowledgeBaseAnswerContext: KnowledgeBaseAnswerContext,
2789
- KnowledgeBaseAnswerDialog: KnowledgeBaseAnswerDialog,
2790
- KnowledgeBaseAnswerPrompt: KnowledgeBaseAnswerPrompt,
2791
- LengthResolution: LengthResolution,
2792
- ListKey: ListKey,
2793
- LuisCallingOptions: LuisCallingOptions,
2794
- LuisParameters: LuisParameters,
2795
- LuisTargetIntentResult: LuisTargetIntentResult,
2796
- MetadataFilter: MetadataFilter,
2797
- MetadataRecord: MetadataRecord,
2798
- MultiLanguageConversationAnalysisInput: MultiLanguageConversationAnalysisInput,
2799
- NoneLinkedTargetIntentResult: NoneLinkedTargetIntentResult,
2800
- NumberResolution: NumberResolution,
2801
- NumericRangeResolution: NumericRangeResolution,
2802
- OrchestrationPrediction: OrchestrationPrediction,
2803
- OrdinalResolution: OrdinalResolution,
2804
- PreBuiltResult: PreBuiltResult,
2805
- PreBuiltTaskParameters: PreBuiltTaskParameters,
2806
- QuantityResolution: QuantityResolution,
2807
- QueryFilters: QueryFilters,
2808
- QuestionAnsweringParameters: QuestionAnsweringParameters,
2809
- QuestionAnsweringTargetIntentResult: QuestionAnsweringTargetIntentResult,
2810
- RedactedTranscriptContent: RedactedTranscriptContent,
2811
- RequestStatistics: RequestStatistics,
2812
- ShortAnswerOptions: ShortAnswerOptions,
2813
- SpeedResolution: SpeedResolution,
2814
- SummaryResult: SummaryResult,
2815
- SummaryResultConversationsItem: SummaryResultConversationsItem,
2816
- SummaryResultItem: SummaryResultItem,
2817
- TargetIntentResult: TargetIntentResult,
2818
- TaskIdentifier: TaskIdentifier,
2819
- TaskParameters: TaskParameters,
2820
- TaskStateAutoGenerated: TaskStateAutoGenerated,
2821
- TemperatureResolution: TemperatureResolution,
2822
- TemporalSpanResolution: TemporalSpanResolution,
2823
- TextConversation: TextConversation,
2824
- TextConversationItem: TextConversationItem,
2825
- TranscriptConversation: TranscriptConversation,
2826
- TranscriptConversationItem: TranscriptConversationItem,
2827
- VolumeResolution: VolumeResolution,
2828
- WeightResolution: WeightResolution,
2829
- WordLevelTiming: WordLevelTiming,
2830
- discriminators: discriminators
2831
- });
2832
-
2833
- /*
2834
- * Copyright (c) Microsoft Corporation.
2835
- * Licensed under the MIT License.
2836
- *
2837
- * Code generated by Microsoft (R) AutoRest Code Generator.
2838
- * Changes may cause incorrect behavior and will be lost if the code is regenerated.
2839
- */
2840
- const contentType = {
2841
- parameterPath: ["options", "contentType"],
2842
- mapper: {
2843
- defaultValue: "application/json",
2844
- isConstant: true,
2845
- serializedName: "Content-Type",
2846
- type: {
2847
- name: "String"
2848
- }
2849
- }
2850
- };
2851
- const task = {
2852
- parameterPath: "task",
2853
- mapper: AnalyzeConversationTask
2854
- };
2855
- const accept = {
2856
- parameterPath: "accept",
2857
- mapper: {
2858
- defaultValue: "application/json",
2859
- isConstant: true,
2860
- serializedName: "Accept",
2861
- type: {
2862
- name: "String"
2863
- }
2864
- }
2865
- };
2866
- const endpoint = {
2867
- parameterPath: "endpoint",
2868
- mapper: {
2869
- serializedName: "Endpoint",
2870
- required: true,
2871
- type: {
2872
- name: "String"
2873
- }
2874
- },
2875
- skipEncoding: true
2876
- };
2877
- const apiVersion = {
2878
- parameterPath: "apiVersion",
2879
- mapper: {
2880
- defaultValue: "2022-05-15-preview",
2881
- isConstant: true,
2882
- serializedName: "api-version",
2883
- type: {
2884
- name: "String"
2885
- }
2886
- }
2887
- };
2888
- const task1 = {
2889
- parameterPath: "task",
2890
- mapper: AnalyzeConversationJobsInput
2891
- };
2892
-
2893
- /*
2894
- * Copyright (c) Microsoft Corporation.
2895
- * Licensed under the MIT License.
2896
- *
2897
- * Code generated by Microsoft (R) AutoRest Code Generator.
2898
- * Changes may cause incorrect behavior and will be lost if the code is regenerated.
2899
- */
2900
- /** @internal */
2901
- let ConversationAnalysisClient$1 = class ConversationAnalysisClient extends coreClient__namespace.ServiceClient {
2902
- /**
2903
- * Initializes a new instance of the ConversationAnalysisClient class.
2904
- * @param endpoint Supported Cognitive Services endpoint (e.g.,
2905
- * https://<resource-name>.api.cognitiveservices.azure.com).
2906
- * @param options The parameter options
2907
- */
2908
- constructor(endpoint, options) {
2909
- var _a, _b;
2910
- if (endpoint === undefined) {
2911
- throw new Error("'endpoint' cannot be null");
2912
- }
2913
- // Initializing default values for options
2914
- if (!options) {
2915
- options = {};
2916
- }
2917
- const defaults = {
2918
- requestContentType: "application/json; charset=utf-8"
2919
- };
2920
- const packageDetails = `azsdk-js-ai-language-conversations/1.0.0-beta.2`;
2921
- const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix
2922
- ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`
2923
- : `${packageDetails}`;
2924
- const optionsWithDefaults = Object.assign(Object.assign(Object.assign({}, defaults), options), { userAgentOptions: {
2925
- userAgentPrefix
2926
- }, baseUri: (_b = (_a = options.endpoint) !== null && _a !== void 0 ? _a : options.baseUri) !== null && _b !== void 0 ? _b : "{Endpoint}/language" });
2927
- super(optionsWithDefaults);
2928
- if ((options === null || options === void 0 ? void 0 : options.pipeline) && options.pipeline.getOrderedPolicies().length > 0) {
2929
- const pipelinePolicies = options.pipeline.getOrderedPolicies();
2930
- const bearerTokenAuthenticationPolicyFound = pipelinePolicies.some((pipelinePolicy) => pipelinePolicy.name ===
2931
- coreRestPipeline__namespace.bearerTokenAuthenticationPolicyName);
2932
- if (!bearerTokenAuthenticationPolicyFound) {
2933
- this.pipeline.removePolicy({
2934
- name: coreRestPipeline__namespace.bearerTokenAuthenticationPolicyName
2935
- });
2936
- this.pipeline.addPolicy(coreRestPipeline__namespace.bearerTokenAuthenticationPolicy({
2937
- scopes: `${optionsWithDefaults.baseUri}/.default`,
2938
- challengeCallbacks: {
2939
- authorizeRequestOnChallenge: coreClient__namespace.authorizeRequestOnClaimChallenge
2940
- }
2941
- }));
2942
- }
2943
- }
2944
- // Parameter assignments
2945
- this.endpoint = endpoint;
2946
- // Assigning values to Constant parameters
2947
- this.apiVersion = options.apiVersion || "2022-05-15-preview";
2948
- this.addCustomApiVersionPolicy(options.apiVersion);
2949
- }
2950
- /** A function that adds a policy that sets the api-version (or equivalent) to reflect the library version. */
2951
- addCustomApiVersionPolicy(apiVersion) {
2952
- if (!apiVersion) {
2953
- return;
2954
- }
2955
- const apiVersionPolicy = {
2956
- name: "CustomApiVersionPolicy",
2957
- async sendRequest(request, next) {
2958
- const param = request.url.split("?");
2959
- if (param.length > 1) {
2960
- const newParams = param[1].split("&").map((item) => {
2961
- if (item.indexOf("api-version") > -1) {
2962
- return "api-version=" + apiVersion;
2963
- }
2964
- else {
2965
- return item;
2966
- }
2967
- });
2968
- request.url = param[0] + "?" + newParams.join("&");
2969
- }
2970
- return next(request);
2971
- }
2972
- };
2973
- this.pipeline.addPolicy(apiVersionPolicy);
2974
- }
2975
- /**
2976
- * Analyzes the input conversation utterance.
2977
- * @param task A single conversational task to execute.
2978
- * @param options The options parameters.
2979
- */
2980
- analyzeConversation(task, options) {
2981
- return this.sendOperationRequest({ task, options }, analyzeConversationOperationSpec);
2982
- }
2983
- /**
2984
- * Submit a collection of conversations for analysis. Specify one or more unique tasks to be executed.
2985
- * @param task The collection of conversations to analyze and one or more tasks to execute.
2986
- * @param options The options parameters.
2987
- */
2988
- async beginConversationAnalysis(task, options) {
2989
- const directSendOperation = async (args, spec) => {
2990
- return this.sendOperationRequest(args, spec);
2991
- };
2992
- const sendOperation = async (args, spec) => {
2993
- var _a;
2994
- let currentRawResponse = undefined;
2995
- const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
2996
- const callback = (rawResponse, flatResponse) => {
2997
- currentRawResponse = rawResponse;
2998
- providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
2999
- };
3000
- const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
3001
- const flatResponse = await directSendOperation(updatedArgs, spec);
3002
- return {
3003
- flatResponse,
3004
- rawResponse: {
3005
- statusCode: currentRawResponse.status,
3006
- body: currentRawResponse.parsedBody,
3007
- headers: currentRawResponse.headers.toJSON()
3008
- }
3009
- };
3010
- };
3011
- const lro = new LroImpl(sendOperation, { task, options }, conversationAnalysisOperationSpec);
3012
- const poller = new coreLro.LroEngine(lro, {
3013
- resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
3014
- intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
3015
- });
3016
- await poller.poll();
3017
- return poller;
3018
- }
3019
- /**
3020
- * Submit a collection of conversations for analysis. Specify one or more unique tasks to be executed.
3021
- * @param task The collection of conversations to analyze and one or more tasks to execute.
3022
- * @param options The options parameters.
3023
- */
3024
- async beginConversationAnalysisAndWait(task, options) {
3025
- const poller = await this.beginConversationAnalysis(task, options);
3026
- return poller.pollUntilDone();
3027
- }
3028
- };
3029
- // Operation Specifications
3030
- const serializer = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
3031
- const analyzeConversationOperationSpec = {
3032
- path: "/:analyze-conversations",
3033
- httpMethod: "POST",
3034
- responses: {
3035
- 200: {
3036
- bodyMapper: AnalyzeConversationTaskResult
3037
- },
3038
- default: {
3039
- bodyMapper: ErrorResponse,
3040
- headersMapper: ConversationAnalysisClientAnalyzeConversationExceptionHeaders
3041
- }
3042
- },
3043
- requestBody: task,
3044
- queryParameters: [apiVersion],
3045
- urlParameters: [endpoint],
3046
- headerParameters: [contentType, accept],
3047
- mediaType: "json",
3048
- serializer
3049
- };
3050
- const conversationAnalysisOperationSpec = {
3051
- path: "/analyze-conversations/jobs",
3052
- httpMethod: "POST",
3053
- responses: {
3054
- 200: {
3055
- bodyMapper: AnalyzeConversationJobState
3056
- },
3057
- 201: {
3058
- bodyMapper: AnalyzeConversationJobState
3059
- },
3060
- 202: {
3061
- bodyMapper: AnalyzeConversationJobState
3062
- },
3063
- 204: {
3064
- bodyMapper: AnalyzeConversationJobState
3065
- },
3066
- default: {
3067
- bodyMapper: ErrorResponse
3068
- }
3069
- },
3070
- requestBody: task1,
3071
- queryParameters: [apiVersion],
3072
- urlParameters: [endpoint],
3073
- headerParameters: [contentType, accept],
3074
- mediaType: "json",
3075
- serializer
3076
- };
3077
-
3078
- // Copyright (c) Microsoft Corporation.
3079
- // Licensed under the MIT License.
3080
- const API_KEY_HEADER_NAME = "Ocp-Apim-Subscription-Key";
3081
- /**
3082
- * The programmatic identifier of the conversationAnalysisAzureKeyCredentialPolicy.
3083
- */
3084
- const conversationAnalysisAzureKeyCredentialPolicyName = "conversationAnalysisAzureKeyCredentialPolicy";
3085
- /**
3086
- * Create an HTTP pipeline policy to authenticate a request
3087
- * using an `AzureKeyCredential` for Conversation Analysis
3088
- * @internal
3089
- */
3090
- function conversationAnalysisAzureKeyCredentialPolicy(credential) {
3091
- return {
3092
- name: conversationAnalysisAzureKeyCredentialPolicyName,
3093
- sendRequest(request, next) {
3094
- request.headers.set(API_KEY_HEADER_NAME, credential.key);
3095
- return next(request);
3096
- },
3097
- };
3098
- }
3099
-
3100
- // Copyright (c) Microsoft Corporation.
3101
- // Licensed under the MIT License.
3102
- /**
3103
- * A client for interacting with the conversational language understanding
3104
- * features in Azure Cognitive Language Service.
3105
- *
3106
- * The client needs the endpoint of a Language resource and an authentication
3107
- * method such as an API key or AAD. The API key and endpoint can be found in
3108
- * the Language resource page in the Azure portal. They will be located in the
3109
- * resource's Keys and Endpoint page, under Resource Management.
3110
- *
3111
- * ### Examples for authentication:
3112
- *
3113
- * #### API Key
3114
- *
3115
- * ```js
3116
- * import { AzureKeyCredential } from "@azure/core-auth";
3117
- * import { ConversationAnalysisClient } from "@azure/ai-language-conversations";
3118
- *
3119
- * const endpoint = "https://<resource name>.cognitiveservices.azure.com";
3120
- * const credential = new AzureKeyCredential("<api key>");
3121
- *
3122
- * const client = new ConversationAnalysisClient(endpoint, credential);
3123
- * ```
3124
- *
3125
- * #### Azure Active Directory
3126
- *
3127
- * See the [`@azure/identity`](https://npmjs.com/package/\@azure/identity)
3128
- * package for more information about authenticating with Azure Active Directory.
3129
- *
3130
- * ```js
3131
- * import { ConversationAnalysisClient } from "@azure/ai-language-conversations";
3132
- * import { DefaultAzureCredential } from "@azure/identity";
3133
- *
3134
- * const endpoint = "https://<resource name>.cognitiveservices.azure.com";
3135
- * const credential = new DefaultAzureCredential();
3136
- *
3137
- * const client = new ConversationAnalysisClient(endpoint, credential);
3138
- * ```
3139
- */
3140
- class ConversationAnalysisClient {
3141
- /**
3142
- * Initializes a new instance of the ConversationAnalysisClient class.
3143
- * @param endpoint - Supported Cognitive Services endpoint (e.g.,
3144
- * https://<resource-name>.api.cognitiveservices.azure.com).
3145
- * @param options - The parameter options
3146
- */
3147
- constructor(endpoint, credential, options = {}) {
3148
- this._client = new ConversationAnalysisClient$1(endpoint, options);
3149
- this._tracing = coreTracing.createTracingClient({
3150
- packageName: "@azure/ai-language-conversations",
3151
- packageVersion: SDK_VERSION,
3152
- namespace: "Microsoft.CognitiveServices",
3153
- });
3154
- const authPolicy = coreAuth.isTokenCredential(credential)
3155
- ? coreRestPipeline.bearerTokenAuthenticationPolicy({ credential, scopes: DEFAULT_COGNITIVE_SCOPE })
3156
- : conversationAnalysisAzureKeyCredentialPolicy(credential);
3157
- this._client.pipeline.addPolicy(authPolicy);
3158
- }
3159
- /**
3160
- * Analyzes the input conversation utterance.
3161
- * @param task - A single conversational task to execute.
3162
- * @param options - The options parameters.
3163
- */
3164
- analyzeConversation(task, options) {
3165
- return this._tracing.withSpan("ConversationAnalysisClient.analyzeConversation", options || {}, (updatedOptions) => this._client.analyzeConversation(task, updatedOptions));
3166
- }
3167
- /**
3168
- * Submit a collection of conversations for analysis. Specify one or more unique tasks to be executed.
3169
- * @param task - The collection of conversations to analyze and one or more tasks to execute.
3170
- * @param options - The options parameters.
3171
- */
3172
- async beginConversationAnalysis(task, options) {
3173
- return this._tracing.withSpan("ConversationAnalysisClient.beginConversationAnalysis", options || {}, (updatedOptions) => this._client.beginConversationAnalysis(task, updatedOptions));
3174
- }
3175
- }
3176
-
3177
- // Copyright (c) Microsoft Corporation.
3178
- // Licensed under the MIT License.
3179
- /** Known values of {@link AnalyzeConversationTaskKind} that the service accepts. */
3180
- exports.KnownAnalyzeConversationTaskKind = void 0;
3181
- (function (KnownAnalyzeConversationTaskKind) {
3182
- /** Conversation */
3183
- KnownAnalyzeConversationTaskKind["Conversation"] = "Conversation";
3184
- })(exports.KnownAnalyzeConversationTaskKind || (exports.KnownAnalyzeConversationTaskKind = {}));
3185
- /** Known values of {@link AnalyzeConversationTaskResultsKind} that the service accepts. */
3186
- exports.KnownAnalyzeConversationTaskResultsKind = void 0;
3187
- (function (KnownAnalyzeConversationTaskResultsKind) {
3188
- /** ConversationResult */
3189
- KnownAnalyzeConversationTaskResultsKind["ConversationResult"] = "ConversationResult";
3190
- })(exports.KnownAnalyzeConversationTaskResultsKind || (exports.KnownAnalyzeConversationTaskResultsKind = {}));
3191
- /** Known values of {@link ErrorCode} that the service accepts. */
3192
- exports.KnownErrorCode = void 0;
3193
- (function (KnownErrorCode) {
3194
- /** InvalidRequest */
3195
- KnownErrorCode["InvalidRequest"] = "InvalidRequest";
3196
- /** InvalidArgument */
3197
- KnownErrorCode["InvalidArgument"] = "InvalidArgument";
3198
- /** Unauthorized */
3199
- KnownErrorCode["Unauthorized"] = "Unauthorized";
3200
- /** Forbidden */
3201
- KnownErrorCode["Forbidden"] = "Forbidden";
3202
- /** NotFound */
3203
- KnownErrorCode["NotFound"] = "NotFound";
3204
- /** ProjectNotFound */
3205
- KnownErrorCode["ProjectNotFound"] = "ProjectNotFound";
3206
- /** OperationNotFound */
3207
- KnownErrorCode["OperationNotFound"] = "OperationNotFound";
3208
- /** AzureCognitiveSearchNotFound */
3209
- KnownErrorCode["AzureCognitiveSearchNotFound"] = "AzureCognitiveSearchNotFound";
3210
- /** AzureCognitiveSearchIndexNotFound */
3211
- KnownErrorCode["AzureCognitiveSearchIndexNotFound"] = "AzureCognitiveSearchIndexNotFound";
3212
- /** TooManyRequests */
3213
- KnownErrorCode["TooManyRequests"] = "TooManyRequests";
3214
- /** AzureCognitiveSearchThrottling */
3215
- KnownErrorCode["AzureCognitiveSearchThrottling"] = "AzureCognitiveSearchThrottling";
3216
- /** AzureCognitiveSearchIndexLimitReached */
3217
- KnownErrorCode["AzureCognitiveSearchIndexLimitReached"] = "AzureCognitiveSearchIndexLimitReached";
3218
- /** InternalServerError */
3219
- KnownErrorCode["InternalServerError"] = "InternalServerError";
3220
- /** ServiceUnavailable */
3221
- KnownErrorCode["ServiceUnavailable"] = "ServiceUnavailable";
3222
- /** Timeout */
3223
- KnownErrorCode["Timeout"] = "Timeout";
3224
- /** QuotaExceeded */
3225
- KnownErrorCode["QuotaExceeded"] = "QuotaExceeded";
3226
- /** Conflict */
3227
- KnownErrorCode["Conflict"] = "Conflict";
3228
- /** Warning */
3229
- KnownErrorCode["Warning"] = "Warning";
3230
- })(exports.KnownErrorCode || (exports.KnownErrorCode = {}));
3231
- /** Known values of {@link InnerErrorCode} that the service accepts. */
3232
- exports.KnownInnerErrorCode = void 0;
3233
- (function (KnownInnerErrorCode) {
3234
- /** InvalidRequest */
3235
- KnownInnerErrorCode["InvalidRequest"] = "InvalidRequest";
3236
- /** InvalidParameterValue */
3237
- KnownInnerErrorCode["InvalidParameterValue"] = "InvalidParameterValue";
3238
- /** KnowledgeBaseNotFound */
3239
- KnownInnerErrorCode["KnowledgeBaseNotFound"] = "KnowledgeBaseNotFound";
3240
- /** AzureCognitiveSearchNotFound */
3241
- KnownInnerErrorCode["AzureCognitiveSearchNotFound"] = "AzureCognitiveSearchNotFound";
3242
- /** AzureCognitiveSearchThrottling */
3243
- KnownInnerErrorCode["AzureCognitiveSearchThrottling"] = "AzureCognitiveSearchThrottling";
3244
- /** ExtractionFailure */
3245
- KnownInnerErrorCode["ExtractionFailure"] = "ExtractionFailure";
3246
- /** InvalidRequestBodyFormat */
3247
- KnownInnerErrorCode["InvalidRequestBodyFormat"] = "InvalidRequestBodyFormat";
3248
- /** EmptyRequest */
3249
- KnownInnerErrorCode["EmptyRequest"] = "EmptyRequest";
3250
- /** MissingInputDocuments */
3251
- KnownInnerErrorCode["MissingInputDocuments"] = "MissingInputDocuments";
3252
- /** InvalidDocument */
3253
- KnownInnerErrorCode["InvalidDocument"] = "InvalidDocument";
3254
- /** ModelVersionIncorrect */
3255
- KnownInnerErrorCode["ModelVersionIncorrect"] = "ModelVersionIncorrect";
3256
- /** InvalidDocumentBatch */
3257
- KnownInnerErrorCode["InvalidDocumentBatch"] = "InvalidDocumentBatch";
3258
- /** UnsupportedLanguageCode */
3259
- KnownInnerErrorCode["UnsupportedLanguageCode"] = "UnsupportedLanguageCode";
3260
- /** InvalidCountryHint */
3261
- KnownInnerErrorCode["InvalidCountryHint"] = "InvalidCountryHint";
3262
- })(exports.KnownInnerErrorCode || (exports.KnownInnerErrorCode = {}));
3263
- /** Known values of {@link InputModality} that the service accepts. */
3264
- exports.KnownInputModality = void 0;
3265
- (function (KnownInputModality) {
3266
- /** Transcript */
3267
- KnownInputModality["Transcript"] = "transcript";
3268
- /** Text */
3269
- KnownInputModality["Text"] = "text";
3270
- })(exports.KnownInputModality || (exports.KnownInputModality = {}));
3271
- /** Known values of {@link ConversationDomain} that the service accepts. */
3272
- exports.KnownConversationDomain = void 0;
3273
- (function (KnownConversationDomain) {
3274
- /** Finance */
3275
- KnownConversationDomain["Finance"] = "finance";
3276
- /** Healthcare */
3277
- KnownConversationDomain["Healthcare"] = "healthcare";
3278
- /** Generic */
3279
- KnownConversationDomain["Generic"] = "generic";
3280
- })(exports.KnownConversationDomain || (exports.KnownConversationDomain = {}));
3281
- /** Known values of {@link AnalyzeConversationLROTaskKind} that the service accepts. */
3282
- exports.KnownAnalyzeConversationLROTaskKind = void 0;
3283
- (function (KnownAnalyzeConversationLROTaskKind) {
3284
- /** ConversationalPIITask */
3285
- KnownAnalyzeConversationLROTaskKind["ConversationalPIITask"] = "ConversationalPIITask";
3286
- /** ConversationalSummarizationTask */
3287
- KnownAnalyzeConversationLROTaskKind["ConversationalSummarizationTask"] = "ConversationalSummarizationTask";
3288
- })(exports.KnownAnalyzeConversationLROTaskKind || (exports.KnownAnalyzeConversationLROTaskKind = {}));
3289
- /** Known values of {@link JobState} that the service accepts. */
3290
- exports.KnownJobState = void 0;
3291
- (function (KnownJobState) {
3292
- /** NotStarted */
3293
- KnownJobState["NotStarted"] = "notStarted";
3294
- /** Running */
3295
- KnownJobState["Running"] = "running";
3296
- /** Succeeded */
3297
- KnownJobState["Succeeded"] = "succeeded";
3298
- /** PartiallyCompleted */
3299
- KnownJobState["PartiallyCompleted"] = "partiallyCompleted";
3300
- /** Failed */
3301
- KnownJobState["Failed"] = "failed";
3302
- /** Cancelled */
3303
- KnownJobState["Cancelled"] = "cancelled";
3304
- /** Cancelling */
3305
- KnownJobState["Cancelling"] = "cancelling";
3306
- })(exports.KnownJobState || (exports.KnownJobState = {}));
3307
- /** Known values of {@link AnalyzeConversationResultsKind} that the service accepts. */
3308
- exports.KnownAnalyzeConversationResultsKind = void 0;
3309
- (function (KnownAnalyzeConversationResultsKind) {
3310
- /** ConversationalPIIResults */
3311
- KnownAnalyzeConversationResultsKind["ConversationalPIIResults"] = "ConversationalPIIResults";
3312
- /** ConversationalSummarizationResults */
3313
- KnownAnalyzeConversationResultsKind["ConversationalSummarizationResults"] = "ConversationalSummarizationResults";
3314
- })(exports.KnownAnalyzeConversationResultsKind || (exports.KnownAnalyzeConversationResultsKind = {}));
3315
- /** Known values of {@link TaskState} that the service accepts. */
3316
- exports.KnownTaskState = void 0;
3317
- (function (KnownTaskState) {
3318
- /** NotStarted */
3319
- KnownTaskState["NotStarted"] = "notStarted";
3320
- /** Running */
3321
- KnownTaskState["Running"] = "running";
3322
- /** Succeeded */
3323
- KnownTaskState["Succeeded"] = "succeeded";
3324
- /** Failed */
3325
- KnownTaskState["Failed"] = "failed";
3326
- /** Cancelled */
3327
- KnownTaskState["Cancelled"] = "cancelled";
3328
- /** Cancelling */
3329
- KnownTaskState["Cancelling"] = "cancelling";
3330
- })(exports.KnownTaskState || (exports.KnownTaskState = {}));
3331
- /** Known values of {@link Role} that the service accepts. */
3332
- exports.KnownRole = void 0;
3333
- (function (KnownRole) {
3334
- /** Agent */
3335
- KnownRole["Agent"] = "agent";
3336
- /** Customer */
3337
- KnownRole["Customer"] = "customer";
3338
- /** Generic */
3339
- KnownRole["Generic"] = "generic";
3340
- })(exports.KnownRole || (exports.KnownRole = {}));
3341
- /** Known values of {@link StringIndexType} that the service accepts. */
3342
- exports.KnownStringIndexType = void 0;
3343
- (function (KnownStringIndexType) {
3344
- /** 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. */
3345
- KnownStringIndexType["TextElementsV8"] = "TextElements_v8";
3346
- /** 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. */
3347
- KnownStringIndexType["UnicodeCodePoint"] = "UnicodeCodePoint";
3348
- /** 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. */
3349
- KnownStringIndexType["Utf16CodeUnit"] = "Utf16CodeUnit";
3350
- })(exports.KnownStringIndexType || (exports.KnownStringIndexType = {}));
3351
- /** Known values of {@link TargetProjectKind} that the service accepts. */
3352
- exports.KnownTargetProjectKind = void 0;
3353
- (function (KnownTargetProjectKind) {
3354
- /** Luis */
3355
- KnownTargetProjectKind["Luis"] = "Luis";
3356
- /** Conversation */
3357
- KnownTargetProjectKind["Conversation"] = "Conversation";
3358
- /** QuestionAnswering */
3359
- KnownTargetProjectKind["QuestionAnswering"] = "QuestionAnswering";
3360
- /** NonLinked */
3361
- KnownTargetProjectKind["NonLinked"] = "NonLinked";
3362
- })(exports.KnownTargetProjectKind || (exports.KnownTargetProjectKind = {}));
3363
- /** Known values of {@link ProjectKind} that the service accepts. */
3364
- exports.KnownProjectKind = void 0;
3365
- (function (KnownProjectKind) {
3366
- /** Conversation */
3367
- KnownProjectKind["Conversation"] = "Conversation";
3368
- /** Orchestration */
3369
- KnownProjectKind["Orchestration"] = "Orchestration";
3370
- })(exports.KnownProjectKind || (exports.KnownProjectKind = {}));
3371
- /** Known values of {@link ResolutionKind} that the service accepts. */
3372
- exports.KnownResolutionKind = void 0;
3373
- (function (KnownResolutionKind) {
3374
- /** Boolean */
3375
- KnownResolutionKind["Boolean"] = "Boolean";
3376
- /** DateTime */
3377
- KnownResolutionKind["DateTime"] = "DateTime";
3378
- /** Number */
3379
- KnownResolutionKind["Number"] = "Number";
3380
- /** Ordinal */
3381
- KnownResolutionKind["Ordinal"] = "Ordinal";
3382
- /** Speed */
3383
- KnownResolutionKind["Speed"] = "Speed";
3384
- /** Weight */
3385
- KnownResolutionKind["Weight"] = "Weight";
3386
- /** Length */
3387
- KnownResolutionKind["Length"] = "Length";
3388
- /** Volume */
3389
- KnownResolutionKind["Volume"] = "Volume";
3390
- /** Area */
3391
- KnownResolutionKind["Area"] = "Area";
3392
- /** Age */
3393
- KnownResolutionKind["Age"] = "Age";
3394
- /** Information */
3395
- KnownResolutionKind["Information"] = "Information";
3396
- /** Temperature */
3397
- KnownResolutionKind["Temperature"] = "Temperature";
3398
- /** Currency */
3399
- KnownResolutionKind["Currency"] = "Currency";
3400
- /** NumericRange */
3401
- KnownResolutionKind["NumericRange"] = "NumericRange";
3402
- /** TemporalSpan */
3403
- KnownResolutionKind["TemporalSpan"] = "TemporalSpan";
3404
- })(exports.KnownResolutionKind || (exports.KnownResolutionKind = {}));
3405
- /** Known values of {@link ExtraInformationKind} that the service accepts. */
3406
- exports.KnownExtraInformationKind = void 0;
3407
- (function (KnownExtraInformationKind) {
3408
- /** EntitySubtype */
3409
- KnownExtraInformationKind["EntitySubtype"] = "EntitySubtype";
3410
- /** ListKey */
3411
- KnownExtraInformationKind["ListKey"] = "ListKey";
3412
- })(exports.KnownExtraInformationKind || (exports.KnownExtraInformationKind = {}));
3413
- /** Known values of {@link RankerKind} that the service accepts. */
3414
- exports.KnownRankerKind = void 0;
3415
- (function (KnownRankerKind) {
3416
- /** Question only ranker. */
3417
- KnownRankerKind["QuestionOnly"] = "QuestionOnly";
3418
- /** Default ranker. */
3419
- KnownRankerKind["Default"] = "Default";
3420
- })(exports.KnownRankerKind || (exports.KnownRankerKind = {}));
3421
- /** Known values of {@link LogicalOperationKind} that the service accepts. */
3422
- exports.KnownLogicalOperationKind = void 0;
3423
- (function (KnownLogicalOperationKind) {
3424
- /** AND */
3425
- KnownLogicalOperationKind["AND"] = "AND";
3426
- /** OR */
3427
- KnownLogicalOperationKind["OR"] = "OR";
3428
- })(exports.KnownLogicalOperationKind || (exports.KnownLogicalOperationKind = {}));
3429
- /** Known values of {@link AgeUnit} that the service accepts. */
3430
- exports.KnownAgeUnit = void 0;
3431
- (function (KnownAgeUnit) {
3432
- /** Unspecified */
3433
- KnownAgeUnit["Unspecified"] = "Unspecified";
3434
- /** Year */
3435
- KnownAgeUnit["Year"] = "Year";
3436
- /** Month */
3437
- KnownAgeUnit["Month"] = "Month";
3438
- /** Week */
3439
- KnownAgeUnit["Week"] = "Week";
3440
- /** Day */
3441
- KnownAgeUnit["Day"] = "Day";
3442
- })(exports.KnownAgeUnit || (exports.KnownAgeUnit = {}));
3443
- /** Known values of {@link VolumeUnit} that the service accepts. */
3444
- exports.KnownVolumeUnit = void 0;
3445
- (function (KnownVolumeUnit) {
3446
- /** Unspecified */
3447
- KnownVolumeUnit["Unspecified"] = "Unspecified";
3448
- /** CubicMeter */
3449
- KnownVolumeUnit["CubicMeter"] = "CubicMeter";
3450
- /** CubicCentimeter */
3451
- KnownVolumeUnit["CubicCentimeter"] = "CubicCentimeter";
3452
- /** CubicMillimeter */
3453
- KnownVolumeUnit["CubicMillimeter"] = "CubicMillimeter";
3454
- /** Hectoliter */
3455
- KnownVolumeUnit["Hectoliter"] = "Hectoliter";
3456
- /** Decaliter */
3457
- KnownVolumeUnit["Decaliter"] = "Decaliter";
3458
- /** Liter */
3459
- KnownVolumeUnit["Liter"] = "Liter";
3460
- /** Centiliter */
3461
- KnownVolumeUnit["Centiliter"] = "Centiliter";
3462
- /** Milliliter */
3463
- KnownVolumeUnit["Milliliter"] = "Milliliter";
3464
- /** CubicYard */
3465
- KnownVolumeUnit["CubicYard"] = "CubicYard";
3466
- /** CubicInch */
3467
- KnownVolumeUnit["CubicInch"] = "CubicInch";
3468
- /** CubicFoot */
3469
- KnownVolumeUnit["CubicFoot"] = "CubicFoot";
3470
- /** CubicMile */
3471
- KnownVolumeUnit["CubicMile"] = "CubicMile";
3472
- /** FluidOunce */
3473
- KnownVolumeUnit["FluidOunce"] = "FluidOunce";
3474
- /** Teaspoon */
3475
- KnownVolumeUnit["Teaspoon"] = "Teaspoon";
3476
- /** Tablespoon */
3477
- KnownVolumeUnit["Tablespoon"] = "Tablespoon";
3478
- /** Pint */
3479
- KnownVolumeUnit["Pint"] = "Pint";
3480
- /** Quart */
3481
- KnownVolumeUnit["Quart"] = "Quart";
3482
- /** Cup */
3483
- KnownVolumeUnit["Cup"] = "Cup";
3484
- /** Gill */
3485
- KnownVolumeUnit["Gill"] = "Gill";
3486
- /** Pinch */
3487
- KnownVolumeUnit["Pinch"] = "Pinch";
3488
- /** FluidDram */
3489
- KnownVolumeUnit["FluidDram"] = "FluidDram";
3490
- /** Barrel */
3491
- KnownVolumeUnit["Barrel"] = "Barrel";
3492
- /** Minim */
3493
- KnownVolumeUnit["Minim"] = "Minim";
3494
- /** Cord */
3495
- KnownVolumeUnit["Cord"] = "Cord";
3496
- /** Peck */
3497
- KnownVolumeUnit["Peck"] = "Peck";
3498
- /** Bushel */
3499
- KnownVolumeUnit["Bushel"] = "Bushel";
3500
- /** Hogshead */
3501
- KnownVolumeUnit["Hogshead"] = "Hogshead";
3502
- })(exports.KnownVolumeUnit || (exports.KnownVolumeUnit = {}));
3503
- /** Known values of {@link SpeedUnit} that the service accepts. */
3504
- exports.KnownSpeedUnit = void 0;
3505
- (function (KnownSpeedUnit) {
3506
- /** Unspecified */
3507
- KnownSpeedUnit["Unspecified"] = "Unspecified";
3508
- /** MetersPerSecond */
3509
- KnownSpeedUnit["MetersPerSecond"] = "MetersPerSecond";
3510
- /** KilometersPerHour */
3511
- KnownSpeedUnit["KilometersPerHour"] = "KilometersPerHour";
3512
- /** KilometersPerMinute */
3513
- KnownSpeedUnit["KilometersPerMinute"] = "KilometersPerMinute";
3514
- /** KilometersPerSecond */
3515
- KnownSpeedUnit["KilometersPerSecond"] = "KilometersPerSecond";
3516
- /** MilesPerHour */
3517
- KnownSpeedUnit["MilesPerHour"] = "MilesPerHour";
3518
- /** Knot */
3519
- KnownSpeedUnit["Knot"] = "Knot";
3520
- /** FootPerSecond */
3521
- KnownSpeedUnit["FootPerSecond"] = "FootPerSecond";
3522
- /** FootPerMinute */
3523
- KnownSpeedUnit["FootPerMinute"] = "FootPerMinute";
3524
- /** YardsPerMinute */
3525
- KnownSpeedUnit["YardsPerMinute"] = "YardsPerMinute";
3526
- /** YardsPerSecond */
3527
- KnownSpeedUnit["YardsPerSecond"] = "YardsPerSecond";
3528
- /** MetersPerMillisecond */
3529
- KnownSpeedUnit["MetersPerMillisecond"] = "MetersPerMillisecond";
3530
- /** CentimetersPerMillisecond */
3531
- KnownSpeedUnit["CentimetersPerMillisecond"] = "CentimetersPerMillisecond";
3532
- /** KilometersPerMillisecond */
3533
- KnownSpeedUnit["KilometersPerMillisecond"] = "KilometersPerMillisecond";
3534
- })(exports.KnownSpeedUnit || (exports.KnownSpeedUnit = {}));
3535
- /** Known values of {@link AreaUnit} that the service accepts. */
3536
- exports.KnownAreaUnit = void 0;
3537
- (function (KnownAreaUnit) {
3538
- /** Unspecified */
3539
- KnownAreaUnit["Unspecified"] = "Unspecified";
3540
- /** SquareKilometer */
3541
- KnownAreaUnit["SquareKilometer"] = "SquareKilometer";
3542
- /** SquareHectometer */
3543
- KnownAreaUnit["SquareHectometer"] = "SquareHectometer";
3544
- /** SquareDecameter */
3545
- KnownAreaUnit["SquareDecameter"] = "SquareDecameter";
3546
- /** SquareDecimeter */
3547
- KnownAreaUnit["SquareDecimeter"] = "SquareDecimeter";
3548
- /** SquareMeter */
3549
- KnownAreaUnit["SquareMeter"] = "SquareMeter";
3550
- /** SquareCentimeter */
3551
- KnownAreaUnit["SquareCentimeter"] = "SquareCentimeter";
3552
- /** SquareMillimeter */
3553
- KnownAreaUnit["SquareMillimeter"] = "SquareMillimeter";
3554
- /** SquareInch */
3555
- KnownAreaUnit["SquareInch"] = "SquareInch";
3556
- /** SquareFoot */
3557
- KnownAreaUnit["SquareFoot"] = "SquareFoot";
3558
- /** SquareMile */
3559
- KnownAreaUnit["SquareMile"] = "SquareMile";
3560
- /** SquareYard */
3561
- KnownAreaUnit["SquareYard"] = "SquareYard";
3562
- /** Acre */
3563
- KnownAreaUnit["Acre"] = "Acre";
3564
- })(exports.KnownAreaUnit || (exports.KnownAreaUnit = {}));
3565
- /** Known values of {@link LengthUnit} that the service accepts. */
3566
- exports.KnownLengthUnit = void 0;
3567
- (function (KnownLengthUnit) {
3568
- /** Unspecified */
3569
- KnownLengthUnit["Unspecified"] = "Unspecified";
3570
- /** Kilometer */
3571
- KnownLengthUnit["Kilometer"] = "Kilometer";
3572
- /** Hectometer */
3573
- KnownLengthUnit["Hectometer"] = "Hectometer";
3574
- /** Decameter */
3575
- KnownLengthUnit["Decameter"] = "Decameter";
3576
- /** Meter */
3577
- KnownLengthUnit["Meter"] = "Meter";
3578
- /** Decimeter */
3579
- KnownLengthUnit["Decimeter"] = "Decimeter";
3580
- /** Centimeter */
3581
- KnownLengthUnit["Centimeter"] = "Centimeter";
3582
- /** Millimeter */
3583
- KnownLengthUnit["Millimeter"] = "Millimeter";
3584
- /** Micrometer */
3585
- KnownLengthUnit["Micrometer"] = "Micrometer";
3586
- /** Nanometer */
3587
- KnownLengthUnit["Nanometer"] = "Nanometer";
3588
- /** Picometer */
3589
- KnownLengthUnit["Picometer"] = "Picometer";
3590
- /** Mile */
3591
- KnownLengthUnit["Mile"] = "Mile";
3592
- /** Yard */
3593
- KnownLengthUnit["Yard"] = "Yard";
3594
- /** Inch */
3595
- KnownLengthUnit["Inch"] = "Inch";
3596
- /** Foot */
3597
- KnownLengthUnit["Foot"] = "Foot";
3598
- /** LightYear */
3599
- KnownLengthUnit["LightYear"] = "LightYear";
3600
- /** Pt */
3601
- KnownLengthUnit["Pt"] = "Pt";
3602
- })(exports.KnownLengthUnit || (exports.KnownLengthUnit = {}));
3603
- /** Known values of {@link InformationUnit} that the service accepts. */
3604
- exports.KnownInformationUnit = void 0;
3605
- (function (KnownInformationUnit) {
3606
- /** Unspecified */
3607
- KnownInformationUnit["Unspecified"] = "Unspecified";
3608
- /** Bit */
3609
- KnownInformationUnit["Bit"] = "Bit";
3610
- /** Kilobit */
3611
- KnownInformationUnit["Kilobit"] = "Kilobit";
3612
- /** Megabit */
3613
- KnownInformationUnit["Megabit"] = "Megabit";
3614
- /** Gigabit */
3615
- KnownInformationUnit["Gigabit"] = "Gigabit";
3616
- /** Terabit */
3617
- KnownInformationUnit["Terabit"] = "Terabit";
3618
- /** Petabit */
3619
- KnownInformationUnit["Petabit"] = "Petabit";
3620
- /** Byte */
3621
- KnownInformationUnit["Byte"] = "Byte";
3622
- /** Kilobyte */
3623
- KnownInformationUnit["Kilobyte"] = "Kilobyte";
3624
- /** Megabyte */
3625
- KnownInformationUnit["Megabyte"] = "Megabyte";
3626
- /** Gigabyte */
3627
- KnownInformationUnit["Gigabyte"] = "Gigabyte";
3628
- /** Terabyte */
3629
- KnownInformationUnit["Terabyte"] = "Terabyte";
3630
- /** Petabyte */
3631
- KnownInformationUnit["Petabyte"] = "Petabyte";
3632
- })(exports.KnownInformationUnit || (exports.KnownInformationUnit = {}));
3633
- /** Known values of {@link TemperatureUnit} that the service accepts. */
3634
- exports.KnownTemperatureUnit = void 0;
3635
- (function (KnownTemperatureUnit) {
3636
- /** Unspecified */
3637
- KnownTemperatureUnit["Unspecified"] = "Unspecified";
3638
- /** Fahrenheit */
3639
- KnownTemperatureUnit["Fahrenheit"] = "Fahrenheit";
3640
- /** Kelvin */
3641
- KnownTemperatureUnit["Kelvin"] = "Kelvin";
3642
- /** Rankine */
3643
- KnownTemperatureUnit["Rankine"] = "Rankine";
3644
- /** Celsius */
3645
- KnownTemperatureUnit["Celsius"] = "Celsius";
3646
- })(exports.KnownTemperatureUnit || (exports.KnownTemperatureUnit = {}));
3647
- /** Known values of {@link WeightUnit} that the service accepts. */
3648
- exports.KnownWeightUnit = void 0;
3649
- (function (KnownWeightUnit) {
3650
- /** Unspecified */
3651
- KnownWeightUnit["Unspecified"] = "Unspecified";
3652
- /** Kilogram */
3653
- KnownWeightUnit["Kilogram"] = "Kilogram";
3654
- /** Gram */
3655
- KnownWeightUnit["Gram"] = "Gram";
3656
- /** Milligram */
3657
- KnownWeightUnit["Milligram"] = "Milligram";
3658
- /** Gallon */
3659
- KnownWeightUnit["Gallon"] = "Gallon";
3660
- /** MetricTon */
3661
- KnownWeightUnit["MetricTon"] = "MetricTon";
3662
- /** Ton */
3663
- KnownWeightUnit["Ton"] = "Ton";
3664
- /** Pound */
3665
- KnownWeightUnit["Pound"] = "Pound";
3666
- /** Ounce */
3667
- KnownWeightUnit["Ounce"] = "Ounce";
3668
- /** Grain */
3669
- KnownWeightUnit["Grain"] = "Grain";
3670
- /** PennyWeight */
3671
- KnownWeightUnit["PennyWeight"] = "PennyWeight";
3672
- /** LongTonBritish */
3673
- KnownWeightUnit["LongTonBritish"] = "LongTonBritish";
3674
- /** ShortTonUS */
3675
- KnownWeightUnit["ShortTonUS"] = "ShortTonUS";
3676
- /** ShortHundredWeightUS */
3677
- KnownWeightUnit["ShortHundredWeightUS"] = "ShortHundredWeightUS";
3678
- /** Stone */
3679
- KnownWeightUnit["Stone"] = "Stone";
3680
- /** Dram */
3681
- KnownWeightUnit["Dram"] = "Dram";
3682
- })(exports.KnownWeightUnit || (exports.KnownWeightUnit = {}));
3683
- /** Known values of {@link DateTimeSubKind} that the service accepts. */
3684
- exports.KnownDateTimeSubKind = void 0;
3685
- (function (KnownDateTimeSubKind) {
3686
- /** Time */
3687
- KnownDateTimeSubKind["Time"] = "Time";
3688
- /** Date */
3689
- KnownDateTimeSubKind["Date"] = "Date";
3690
- /** DateTime */
3691
- KnownDateTimeSubKind["DateTime"] = "DateTime";
3692
- /** Duration */
3693
- KnownDateTimeSubKind["Duration"] = "Duration";
3694
- /** Set */
3695
- KnownDateTimeSubKind["Set"] = "Set";
3696
- })(exports.KnownDateTimeSubKind || (exports.KnownDateTimeSubKind = {}));
3697
- /** Known values of {@link TemporalModifier} that the service accepts. */
3698
- exports.KnownTemporalModifier = void 0;
3699
- (function (KnownTemporalModifier) {
3700
- /** AfterApprox */
3701
- KnownTemporalModifier["AfterApprox"] = "AfterApprox";
3702
- /** Before */
3703
- KnownTemporalModifier["Before"] = "Before";
3704
- /** BeforeStart */
3705
- KnownTemporalModifier["BeforeStart"] = "BeforeStart";
3706
- /** Approx */
3707
- KnownTemporalModifier["Approx"] = "Approx";
3708
- /** ReferenceUndefined */
3709
- KnownTemporalModifier["ReferenceUndefined"] = "ReferenceUndefined";
3710
- /** SinceEnd */
3711
- KnownTemporalModifier["SinceEnd"] = "SinceEnd";
3712
- /** AfterMid */
3713
- KnownTemporalModifier["AfterMid"] = "AfterMid";
3714
- /** Start */
3715
- KnownTemporalModifier["Start"] = "Start";
3716
- /** After */
3717
- KnownTemporalModifier["After"] = "After";
3718
- /** BeforeEnd */
3719
- KnownTemporalModifier["BeforeEnd"] = "BeforeEnd";
3720
- /** Until */
3721
- KnownTemporalModifier["Until"] = "Until";
3722
- /** End */
3723
- KnownTemporalModifier["End"] = "End";
3724
- /** Less */
3725
- KnownTemporalModifier["Less"] = "Less";
3726
- /** Since */
3727
- KnownTemporalModifier["Since"] = "Since";
3728
- /** AfterStart */
3729
- KnownTemporalModifier["AfterStart"] = "AfterStart";
3730
- /** BeforeApprox */
3731
- KnownTemporalModifier["BeforeApprox"] = "BeforeApprox";
3732
- /** Mid */
3733
- KnownTemporalModifier["Mid"] = "Mid";
3734
- /** More */
3735
- KnownTemporalModifier["More"] = "More";
3736
- })(exports.KnownTemporalModifier || (exports.KnownTemporalModifier = {}));
3737
- /** Known values of {@link NumberKind} that the service accepts. */
3738
- exports.KnownNumberKind = void 0;
3739
- (function (KnownNumberKind) {
3740
- /** Integer */
3741
- KnownNumberKind["Integer"] = "Integer";
3742
- /** Decimal */
3743
- KnownNumberKind["Decimal"] = "Decimal";
3744
- /** Power */
3745
- KnownNumberKind["Power"] = "Power";
3746
- /** Fraction */
3747
- KnownNumberKind["Fraction"] = "Fraction";
3748
- /** Percent */
3749
- KnownNumberKind["Percent"] = "Percent";
3750
- /** Unspecified */
3751
- KnownNumberKind["Unspecified"] = "Unspecified";
3752
- })(exports.KnownNumberKind || (exports.KnownNumberKind = {}));
3753
- /** Known values of {@link RelativeTo} that the service accepts. */
3754
- exports.KnownRelativeTo = void 0;
3755
- (function (KnownRelativeTo) {
3756
- /** Current */
3757
- KnownRelativeTo["Current"] = "Current";
3758
- /** End */
3759
- KnownRelativeTo["End"] = "End";
3760
- /** Start */
3761
- KnownRelativeTo["Start"] = "Start";
3762
- })(exports.KnownRelativeTo || (exports.KnownRelativeTo = {}));
3763
- /** Known values of {@link RangeKind} that the service accepts. */
3764
- exports.KnownRangeKind = void 0;
3765
- (function (KnownRangeKind) {
3766
- /** Number */
3767
- KnownRangeKind["Number"] = "Number";
3768
- /** Speed */
3769
- KnownRangeKind["Speed"] = "Speed";
3770
- /** Weight */
3771
- KnownRangeKind["Weight"] = "Weight";
3772
- /** Length */
3773
- KnownRangeKind["Length"] = "Length";
3774
- /** Volume */
3775
- KnownRangeKind["Volume"] = "Volume";
3776
- /** Area */
3777
- KnownRangeKind["Area"] = "Area";
3778
- /** Age */
3779
- KnownRangeKind["Age"] = "Age";
3780
- /** Information */
3781
- KnownRangeKind["Information"] = "Information";
3782
- /** Temperature */
3783
- KnownRangeKind["Temperature"] = "Temperature";
3784
- /** Currency */
3785
- KnownRangeKind["Currency"] = "Currency";
3786
- })(exports.KnownRangeKind || (exports.KnownRangeKind = {}));
3787
- /** Known values of {@link ConversationPIICategory} that the service accepts. */
3788
- exports.KnownConversationPIICategory = void 0;
3789
- (function (KnownConversationPIICategory) {
3790
- /** Address */
3791
- KnownConversationPIICategory["Address"] = "Address";
3792
- /** CreditCard */
3793
- KnownConversationPIICategory["CreditCard"] = "CreditCard";
3794
- /** Email */
3795
- KnownConversationPIICategory["Email"] = "Email";
3796
- /** Name */
3797
- KnownConversationPIICategory["Name"] = "Name";
3798
- /** NumericIdentifier */
3799
- KnownConversationPIICategory["NumericIdentifier"] = "NumericIdentifier";
3800
- /** PhoneNumber */
3801
- KnownConversationPIICategory["PhoneNumber"] = "PhoneNumber";
3802
- /** All */
3803
- KnownConversationPIICategory["All"] = "All";
3804
- /** Default */
3805
- KnownConversationPIICategory["Default"] = "Default";
3806
- })(exports.KnownConversationPIICategory || (exports.KnownConversationPIICategory = {}));
3807
- /** Known values of {@link TranscriptContentType} that the service accepts. */
3808
- exports.KnownTranscriptContentType = void 0;
3809
- (function (KnownTranscriptContentType) {
3810
- /** Lexical */
3811
- KnownTranscriptContentType["Lexical"] = "lexical";
3812
- /** Itn */
3813
- KnownTranscriptContentType["Itn"] = "itn";
3814
- /** MaskedItn */
3815
- KnownTranscriptContentType["MaskedItn"] = "maskedItn";
3816
- /** Text */
3817
- KnownTranscriptContentType["Text"] = "text";
3818
- })(exports.KnownTranscriptContentType || (exports.KnownTranscriptContentType = {}));
3819
- /** Known values of {@link SummaryAspect} that the service accepts. */
3820
- exports.KnownSummaryAspect = void 0;
3821
- (function (KnownSummaryAspect) {
3822
- /** Issue */
3823
- KnownSummaryAspect["Issue"] = "issue";
3824
- /** Resolution */
3825
- KnownSummaryAspect["Resolution"] = "resolution";
3826
- })(exports.KnownSummaryAspect || (exports.KnownSummaryAspect = {}));
3827
-
3828
- Object.defineProperty(exports, "AzureKeyCredential", {
3829
- enumerable: true,
3830
- get: function () { return coreAuth.AzureKeyCredential; }
3831
- });
3832
- exports.ConversationAnalysisClient = ConversationAnalysisClient;
3833
- //# sourceMappingURL=index.js.map
2662
+ //# sourceMappingURL=mappers.js.map