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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (246) hide show
  1. package/LICENSE +4 -4
  2. package/README.md +15 -11
  3. package/{types/src → dist/browser}/azureKeyCredentialPolicy.d.ts +2 -2
  4. package/dist/browser/azureKeyCredentialPolicy.d.ts.map +1 -0
  5. package/{dist-esm/src → dist/browser}/azureKeyCredentialPolicy.js +1 -1
  6. package/dist/browser/azureKeyCredentialPolicy.js.map +1 -0
  7. package/{dist-esm/src → dist/browser}/constants.js +1 -1
  8. package/{dist-esm/src → dist/browser}/constants.js.map +1 -1
  9. package/{types/src → dist/browser}/conversationAnalysisClient.d.ts +6 -8
  10. package/dist/browser/conversationAnalysisClient.d.ts.map +1 -0
  11. package/{dist-esm/src → dist/browser}/conversationAnalysisClient.js +8 -10
  12. package/dist/browser/conversationAnalysisClient.js.map +1 -0
  13. package/{types/src → dist/browser}/generated/conversationAnalysisClient.d.ts +1 -1
  14. package/dist/browser/generated/conversationAnalysisClient.d.ts.map +1 -0
  15. package/{dist-esm/src → dist/browser}/generated/conversationAnalysisClient.js +25 -14
  16. package/{dist-esm/src → dist/browser}/generated/conversationAnalysisClient.js.map +1 -1
  17. package/dist/browser/generated/index.d.ts +3 -0
  18. package/{types/src → dist/browser}/generated/index.d.ts.map +1 -1
  19. package/{dist-esm/src → dist/browser}/generated/index.js +2 -2
  20. package/dist/browser/generated/index.js.map +1 -0
  21. package/{dist-esm/src → dist/browser}/generated/lroImpl.js +11 -3
  22. package/dist/browser/generated/lroImpl.js.map +1 -0
  23. package/{types/src → dist/browser}/generated/models/index.d.ts +46 -46
  24. package/dist/browser/generated/models/index.d.ts.map +1 -0
  25. package/{dist-esm/src → dist/browser}/generated/models/mappers.js +297 -117
  26. package/dist/browser/generated/models/mappers.js.map +1 -0
  27. package/{dist-esm/src → dist/browser}/generated/models/parameters.js +1 -1
  28. package/{dist-esm/src → dist/browser}/generated/models/parameters.js.map +1 -1
  29. package/{types/src → dist/browser}/index.d.ts +3 -3
  30. package/{types/src → dist/browser}/index.d.ts.map +1 -1
  31. package/{dist-esm/src → dist/browser}/index.js +4 -4
  32. package/dist/browser/index.js.map +1 -0
  33. package/{types/src → dist/browser}/models.d.ts +47 -47
  34. package/dist/browser/models.d.ts.map +1 -0
  35. package/{dist-esm/src → dist/browser}/models.js +0 -2
  36. package/dist/browser/models.js.map +1 -0
  37. package/dist/browser/package.json +3 -0
  38. package/dist/commonjs/azureKeyCredentialPolicy.d.ts +9 -0
  39. package/dist/commonjs/azureKeyCredentialPolicy.d.ts.map +1 -0
  40. package/dist/commonjs/azureKeyCredentialPolicy.js +25 -0
  41. package/dist/commonjs/azureKeyCredentialPolicy.js.map +1 -0
  42. package/dist/commonjs/constants.d.ts +3 -0
  43. package/dist/commonjs/constants.d.ts.map +1 -0
  44. package/dist/commonjs/constants.js +8 -0
  45. package/dist/commonjs/constants.js.map +1 -0
  46. package/dist/commonjs/conversationAnalysisClient.d.ts +63 -0
  47. package/dist/commonjs/conversationAnalysisClient.d.ts.map +1 -0
  48. package/dist/commonjs/conversationAnalysisClient.js +85 -0
  49. package/dist/commonjs/conversationAnalysisClient.js.map +1 -0
  50. package/dist/commonjs/generated/conversationAnalysisClient.d.ts +36 -0
  51. package/dist/commonjs/generated/conversationAnalysisClient.d.ts.map +1 -0
  52. package/dist/commonjs/generated/conversationAnalysisClient.js +207 -0
  53. package/dist/commonjs/generated/conversationAnalysisClient.js.map +1 -0
  54. package/dist/commonjs/generated/index.d.ts +3 -0
  55. package/dist/commonjs/generated/index.d.ts.map +1 -0
  56. package/dist/commonjs/generated/index.js +15 -0
  57. package/dist/commonjs/generated/index.js.map +1 -0
  58. package/dist/commonjs/generated/lroImpl.d.ts +16 -0
  59. package/dist/commonjs/generated/lroImpl.d.ts.map +1 -0
  60. package/dist/commonjs/generated/lroImpl.js +37 -0
  61. package/dist/commonjs/generated/lroImpl.js.map +1 -0
  62. package/dist/commonjs/generated/models/index.d.ts +1951 -0
  63. package/dist/commonjs/generated/models/index.d.ts.map +1 -0
  64. package/dist/commonjs/generated/models/index.js +659 -0
  65. package/dist/commonjs/generated/models/index.js.map +1 -0
  66. package/dist/commonjs/generated/models/mappers.d.ts +153 -0
  67. package/dist/commonjs/generated/models/mappers.d.ts.map +1 -0
  68. package/dist/commonjs/generated/models/mappers.js +2847 -0
  69. package/dist/commonjs/generated/models/mappers.js.map +1 -0
  70. package/dist/commonjs/generated/models/parameters.d.ts +8 -0
  71. package/dist/commonjs/generated/models/parameters.d.ts.map +1 -0
  72. package/dist/commonjs/generated/models/parameters.js +64 -0
  73. package/dist/commonjs/generated/models/parameters.js.map +1 -0
  74. package/dist/commonjs/index.d.ts +13 -0
  75. package/dist/commonjs/index.d.ts.map +1 -0
  76. package/dist/commonjs/index.js +21 -0
  77. package/dist/commonjs/index.js.map +1 -0
  78. package/{types/ai-language-conversations.d.ts → dist/commonjs/models.d.ts} +1953 -2221
  79. package/dist/commonjs/models.d.ts.map +1 -0
  80. package/dist/commonjs/models.js +652 -0
  81. package/dist/commonjs/models.js.map +1 -0
  82. package/dist/commonjs/package.json +3 -0
  83. package/{types → dist/commonjs}/tsdoc-metadata.json +11 -11
  84. package/dist/esm/azureKeyCredentialPolicy.d.ts +9 -0
  85. package/dist/esm/azureKeyCredentialPolicy.d.ts.map +1 -0
  86. package/dist/esm/azureKeyCredentialPolicy.js +22 -0
  87. package/dist/esm/azureKeyCredentialPolicy.js.map +1 -0
  88. package/dist/esm/constants.d.ts +3 -0
  89. package/dist/esm/constants.d.ts.map +1 -0
  90. package/dist/esm/constants.js +5 -0
  91. package/dist/esm/constants.js.map +1 -0
  92. package/dist/esm/conversationAnalysisClient.d.ts +63 -0
  93. package/dist/esm/conversationAnalysisClient.d.ts.map +1 -0
  94. package/dist/esm/conversationAnalysisClient.js +81 -0
  95. package/dist/esm/conversationAnalysisClient.js.map +1 -0
  96. package/dist/esm/generated/conversationAnalysisClient.d.ts +36 -0
  97. package/dist/esm/generated/conversationAnalysisClient.d.ts.map +1 -0
  98. package/dist/esm/generated/conversationAnalysisClient.js +202 -0
  99. package/dist/esm/generated/conversationAnalysisClient.js.map +1 -0
  100. package/dist/esm/generated/index.d.ts +3 -0
  101. package/dist/esm/generated/index.d.ts.map +1 -0
  102. package/dist/esm/generated/index.js +10 -0
  103. package/dist/esm/generated/index.js.map +1 -0
  104. package/dist/esm/generated/lroImpl.d.ts +16 -0
  105. package/dist/esm/generated/lroImpl.d.ts.map +1 -0
  106. package/dist/esm/generated/lroImpl.js +33 -0
  107. package/dist/esm/generated/lroImpl.js.map +1 -0
  108. package/dist/esm/generated/models/index.d.ts +1951 -0
  109. package/dist/esm/generated/models/index.d.ts.map +1 -0
  110. package/dist/esm/generated/models/index.js +656 -0
  111. package/dist/esm/generated/models/index.js.map +1 -0
  112. package/dist/esm/generated/models/mappers.d.ts +153 -0
  113. package/dist/esm/generated/models/mappers.d.ts.map +1 -0
  114. package/dist/{index.js → esm/generated/models/mappers.js} +404 -1395
  115. package/dist/esm/generated/models/mappers.js.map +1 -0
  116. package/dist/esm/generated/models/parameters.d.ts +8 -0
  117. package/dist/esm/generated/models/parameters.d.ts.map +1 -0
  118. package/dist/esm/generated/models/parameters.js +61 -0
  119. package/dist/esm/generated/models/parameters.js.map +1 -0
  120. package/dist/esm/index.d.ts +13 -0
  121. package/dist/esm/index.d.ts.map +1 -0
  122. package/dist/esm/index.js +15 -0
  123. package/dist/esm/index.js.map +1 -0
  124. package/dist/esm/models.d.ts +1953 -0
  125. package/dist/esm/models.d.ts.map +1 -0
  126. package/dist/esm/models.js +649 -0
  127. package/dist/esm/models.js.map +1 -0
  128. package/dist/esm/package.json +3 -0
  129. package/dist/react-native/azureKeyCredentialPolicy.d.ts +9 -0
  130. package/dist/react-native/azureKeyCredentialPolicy.d.ts.map +1 -0
  131. package/dist/react-native/azureKeyCredentialPolicy.js +22 -0
  132. package/dist/react-native/azureKeyCredentialPolicy.js.map +1 -0
  133. package/dist/react-native/constants.d.ts +3 -0
  134. package/dist/react-native/constants.d.ts.map +1 -0
  135. package/dist/react-native/constants.js +5 -0
  136. package/dist/react-native/constants.js.map +1 -0
  137. package/dist/react-native/conversationAnalysisClient.d.ts +63 -0
  138. package/dist/react-native/conversationAnalysisClient.d.ts.map +1 -0
  139. package/dist/react-native/conversationAnalysisClient.js +81 -0
  140. package/dist/react-native/conversationAnalysisClient.js.map +1 -0
  141. package/dist/react-native/generated/conversationAnalysisClient.d.ts +36 -0
  142. package/dist/react-native/generated/conversationAnalysisClient.d.ts.map +1 -0
  143. package/dist/react-native/generated/conversationAnalysisClient.js +202 -0
  144. package/dist/react-native/generated/conversationAnalysisClient.js.map +1 -0
  145. package/dist/react-native/generated/index.d.ts +3 -0
  146. package/dist/react-native/generated/index.d.ts.map +1 -0
  147. package/dist/react-native/generated/index.js +10 -0
  148. package/dist/react-native/generated/index.js.map +1 -0
  149. package/dist/react-native/generated/lroImpl.d.ts +16 -0
  150. package/dist/react-native/generated/lroImpl.d.ts.map +1 -0
  151. package/dist/react-native/generated/lroImpl.js +33 -0
  152. package/dist/react-native/generated/lroImpl.js.map +1 -0
  153. package/dist/react-native/generated/models/index.d.ts +1951 -0
  154. package/dist/react-native/generated/models/index.d.ts.map +1 -0
  155. package/dist/react-native/generated/models/index.js +656 -0
  156. package/dist/react-native/generated/models/index.js.map +1 -0
  157. package/dist/react-native/generated/models/mappers.d.ts +153 -0
  158. package/dist/react-native/generated/models/mappers.d.ts.map +1 -0
  159. package/dist/react-native/generated/models/mappers.js +2842 -0
  160. package/dist/react-native/generated/models/mappers.js.map +1 -0
  161. package/dist/react-native/generated/models/parameters.d.ts +8 -0
  162. package/dist/react-native/generated/models/parameters.d.ts.map +1 -0
  163. package/dist/react-native/generated/models/parameters.js +61 -0
  164. package/dist/react-native/generated/models/parameters.js.map +1 -0
  165. package/dist/react-native/index.d.ts +13 -0
  166. package/dist/react-native/index.d.ts.map +1 -0
  167. package/dist/react-native/index.js +15 -0
  168. package/dist/react-native/index.js.map +1 -0
  169. package/dist/react-native/models.d.ts +1953 -0
  170. package/dist/react-native/models.d.ts.map +1 -0
  171. package/dist/react-native/models.js +649 -0
  172. package/dist/react-native/models.js.map +1 -0
  173. package/dist/react-native/package.json +3 -0
  174. package/package.json +95 -100
  175. package/CHANGELOG.md +0 -5
  176. package/dist/index.js.map +0 -1
  177. package/dist-esm/samples-dev/sample_analyze_conversation_app.js +0 -74
  178. package/dist-esm/samples-dev/sample_analyze_conversation_app.js.map +0 -1
  179. package/dist-esm/samples-dev/sample_analyze_orchestration_app_conv_response.js +0 -89
  180. package/dist-esm/samples-dev/sample_analyze_orchestration_app_conv_response.js.map +0 -1
  181. package/dist-esm/samples-dev/sample_analyze_orchestration_app_luis_response.js +0 -65
  182. package/dist-esm/samples-dev/sample_analyze_orchestration_app_luis_response.js.map +0 -1
  183. package/dist-esm/samples-dev/sample_analyze_orchestration_app_qna_response.js +0 -66
  184. package/dist-esm/samples-dev/sample_analyze_orchestration_app_qna_response.js.map +0 -1
  185. package/dist-esm/samples-dev/sample_analyze_orchestration_direct_target.js +0 -76
  186. package/dist-esm/samples-dev/sample_analyze_orchestration_direct_target.js.map +0 -1
  187. package/dist-esm/samples-dev/sample_authentication.js +0 -44
  188. package/dist-esm/samples-dev/sample_authentication.js.map +0 -1
  189. package/dist-esm/samples-dev/sample_conv_pii_transcript_input.js +0 -112
  190. package/dist-esm/samples-dev/sample_conv_pii_transcript_input.js.map +0 -1
  191. package/dist-esm/samples-dev/sample_conv_summarization.js +0 -95
  192. package/dist-esm/samples-dev/sample_conv_summarization.js.map +0 -1
  193. package/dist-esm/src/azureKeyCredentialPolicy.js.map +0 -1
  194. package/dist-esm/src/conversationAnalysisClient.js.map +0 -1
  195. package/dist-esm/src/generated/index.js.map +0 -1
  196. package/dist-esm/src/generated/lroImpl.js.map +0 -1
  197. package/dist-esm/src/generated/models/mappers.js.map +0 -1
  198. package/dist-esm/src/index.js.map +0 -1
  199. package/dist-esm/src/models.js.map +0 -1
  200. package/dist-esm/test/public/analyze.spec.js +0 -159
  201. package/dist-esm/test/public/analyze.spec.js.map +0 -1
  202. package/dist-esm/test/public/inputs.js +0 -166
  203. package/dist-esm/test/public/inputs.js.map +0 -1
  204. package/dist-esm/test/public/utils/recordedClient.js +0 -50
  205. package/dist-esm/test/public/utils/recordedClient.js.map +0 -1
  206. package/review/ai-language-conversations.api.md +0 -1291
  207. package/rollup.config.js +0 -122
  208. package/tsconfig.json +0 -11
  209. package/types/samples-dev/sample_analyze_conversation_app.d.ts +0 -2
  210. package/types/samples-dev/sample_analyze_conversation_app.d.ts.map +0 -1
  211. package/types/samples-dev/sample_analyze_orchestration_app_conv_response.d.ts +0 -2
  212. package/types/samples-dev/sample_analyze_orchestration_app_conv_response.d.ts.map +0 -1
  213. package/types/samples-dev/sample_analyze_orchestration_app_luis_response.d.ts +0 -2
  214. package/types/samples-dev/sample_analyze_orchestration_app_luis_response.d.ts.map +0 -1
  215. package/types/samples-dev/sample_analyze_orchestration_app_qna_response.d.ts +0 -2
  216. package/types/samples-dev/sample_analyze_orchestration_app_qna_response.d.ts.map +0 -1
  217. package/types/samples-dev/sample_analyze_orchestration_direct_target.d.ts +0 -2
  218. package/types/samples-dev/sample_analyze_orchestration_direct_target.d.ts.map +0 -1
  219. package/types/samples-dev/sample_authentication.d.ts +0 -2
  220. package/types/samples-dev/sample_authentication.d.ts.map +0 -1
  221. package/types/samples-dev/sample_conv_pii_transcript_input.d.ts +0 -2
  222. package/types/samples-dev/sample_conv_pii_transcript_input.d.ts.map +0 -1
  223. package/types/samples-dev/sample_conv_summarization.d.ts +0 -2
  224. package/types/samples-dev/sample_conv_summarization.d.ts.map +0 -1
  225. package/types/src/azureKeyCredentialPolicy.d.ts.map +0 -1
  226. package/types/src/conversationAnalysisClient.d.ts.map +0 -1
  227. package/types/src/generated/conversationAnalysisClient.d.ts.map +0 -1
  228. package/types/src/generated/index.d.ts +0 -3
  229. package/types/src/generated/models/index.d.ts.map +0 -1
  230. package/types/src/models.d.ts.map +0 -1
  231. package/types/test/public/analyze.spec.d.ts +0 -2
  232. package/types/test/public/analyze.spec.d.ts.map +0 -1
  233. package/types/test/public/inputs.d.ts +0 -8
  234. package/types/test/public/inputs.d.ts.map +0 -1
  235. package/types/test/public/utils/recordedClient.d.ts +0 -16
  236. package/types/test/public/utils/recordedClient.d.ts.map +0 -1
  237. /package/{types/src → dist/browser}/constants.d.ts +0 -0
  238. /package/{types/src → dist/browser}/constants.d.ts.map +0 -0
  239. /package/{types/src → dist/browser}/generated/lroImpl.d.ts +0 -0
  240. /package/{types/src → dist/browser}/generated/lroImpl.d.ts.map +0 -0
  241. /package/{dist-esm/src → dist/browser}/generated/models/index.js +0 -0
  242. /package/{dist-esm/src → dist/browser}/generated/models/index.js.map +0 -0
  243. /package/{types/src → dist/browser}/generated/models/mappers.d.ts +0 -0
  244. /package/{types/src → dist/browser}/generated/models/mappers.d.ts.map +0 -0
  245. /package/{types/src → dist/browser}/generated/models/parameters.d.ts +0 -0
  246. /package/{types/src → dist/browser}/generated/models/parameters.d.ts.map +0 -0
@@ -1,40 +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 _interopNamespace(e) {
13
- if (e && e.__esModule) return e;
14
- var n = Object.create(null);
15
- if (e) {
16
- Object.keys(e).forEach(function (k) {
17
- if (k !== 'default') {
18
- var d = Object.getOwnPropertyDescriptor(e, k);
19
- Object.defineProperty(n, k, d.get ? d : {
20
- enumerable: true,
21
- get: function () { return e[k]; }
22
- });
23
- }
24
- });
25
- }
26
- n["default"] = e;
27
- return Object.freeze(n);
28
- }
29
-
30
- var coreRestPipeline__namespace = /*#__PURE__*/_interopNamespace(coreRestPipeline);
31
- var coreClient__namespace = /*#__PURE__*/_interopNamespace(coreClient);
32
-
33
- // Copyright (c) Microsoft Corporation.
34
- // Licensed under the MIT license.
35
- const DEFAULT_COGNITIVE_SCOPE = "https://cognitiveservices.azure.com/.default";
36
- const SDK_VERSION = "1.0.0-beta.1";
37
-
38
1
  /*
39
2
  * Copyright (c) Microsoft Corporation.
40
3
  * Licensed under the MIT License.
@@ -42,31 +5,7 @@ const SDK_VERSION = "1.0.0-beta.1";
42
5
  * Code generated by Microsoft (R) AutoRest Code Generator.
43
6
  * Changes may cause incorrect behavior and will be lost if the code is regenerated.
44
7
  */
45
- class LroImpl {
46
- constructor(sendOperationFn, args, spec, requestPath = spec.path, requestMethod = spec.httpMethod) {
47
- this.sendOperationFn = sendOperationFn;
48
- this.args = args;
49
- this.spec = spec;
50
- this.requestPath = requestPath;
51
- this.requestMethod = requestMethod;
52
- }
53
- async sendInitialRequest() {
54
- return this.sendOperationFn(this.args, this.spec);
55
- }
56
- async sendPollRequest(path) {
57
- const _a = this.spec, restSpec = tslib.__rest(_a, ["requestBody"]);
58
- return this.sendOperationFn(this.args, Object.assign(Object.assign({}, restSpec), { path, httpMethod: "GET" }));
59
- }
60
- }
61
-
62
- /*
63
- * Copyright (c) Microsoft Corporation.
64
- * Licensed under the MIT License.
65
- *
66
- * Code generated by Microsoft (R) AutoRest Code Generator.
67
- * Changes may cause incorrect behavior and will be lost if the code is regenerated.
68
- */
69
- const AnalyzeConversationTask = {
8
+ export const AnalyzeConversationTask = {
70
9
  type: {
71
10
  name: "Composite",
72
11
  className: "AnalyzeConversationTask",
@@ -86,7 +25,7 @@ const AnalyzeConversationTask = {
86
25
  }
87
26
  }
88
27
  };
89
- const AnalyzeConversationTaskResult = {
28
+ export const AnalyzeConversationTaskResult = {
90
29
  type: {
91
30
  name: "Composite",
92
31
  className: "AnalyzeConversationTaskResult",
@@ -106,7 +45,7 @@ const AnalyzeConversationTaskResult = {
106
45
  }
107
46
  }
108
47
  };
109
- const ErrorResponse = {
48
+ export const ErrorResponse = {
110
49
  type: {
111
50
  name: "Composite",
112
51
  className: "ErrorResponse",
@@ -121,7 +60,7 @@ const ErrorResponse = {
121
60
  }
122
61
  }
123
62
  };
124
- const ErrorModel = {
63
+ export const ErrorModel = {
125
64
  type: {
126
65
  name: "Composite",
127
66
  className: "ErrorModel",
@@ -169,7 +108,7 @@ const ErrorModel = {
169
108
  }
170
109
  }
171
110
  };
172
- const InnerErrorModel = {
111
+ export const InnerErrorModel = {
173
112
  type: {
174
113
  name: "Composite",
175
114
  className: "InnerErrorModel",
@@ -211,7 +150,7 @@ const InnerErrorModel = {
211
150
  }
212
151
  }
213
152
  };
214
- const AnalyzeConversationJobsInput = {
153
+ export const AnalyzeConversationJobsInput = {
215
154
  type: {
216
155
  name: "Composite",
217
156
  className: "AnalyzeConversationJobsInput",
@@ -245,7 +184,7 @@ const AnalyzeConversationJobsInput = {
245
184
  }
246
185
  }
247
186
  };
248
- const MultiLanguageConversationAnalysisInput = {
187
+ export const MultiLanguageConversationAnalysisInput = {
249
188
  type: {
250
189
  name: "Composite",
251
190
  className: "MultiLanguageConversationAnalysisInput",
@@ -266,7 +205,7 @@ const MultiLanguageConversationAnalysisInput = {
266
205
  }
267
206
  }
268
207
  };
269
- const Conversation = {
208
+ export const Conversation = {
270
209
  type: {
271
210
  name: "Composite",
272
211
  className: "Conversation",
@@ -306,7 +245,7 @@ const Conversation = {
306
245
  }
307
246
  }
308
247
  };
309
- const TaskIdentifier = {
248
+ export const TaskIdentifier = {
310
249
  type: {
311
250
  name: "Composite",
312
251
  className: "TaskIdentifier",
@@ -320,7 +259,7 @@ const TaskIdentifier = {
320
259
  }
321
260
  }
322
261
  };
323
- const JobStateAutoGenerated = {
262
+ export const JobStateAutoGenerated = {
324
263
  type: {
325
264
  name: "Composite",
326
265
  className: "JobStateAutoGenerated",
@@ -386,7 +325,7 @@ const JobStateAutoGenerated = {
386
325
  }
387
326
  }
388
327
  };
389
- const ConversationTasksState = {
328
+ export const ConversationTasksState = {
390
329
  type: {
391
330
  name: "Composite",
392
331
  className: "ConversationTasksState",
@@ -401,7 +340,7 @@ const ConversationTasksState = {
401
340
  }
402
341
  }
403
342
  };
404
- const ConversationTasksStateTasks = {
343
+ export const ConversationTasksStateTasks = {
405
344
  type: {
406
345
  name: "Composite",
407
346
  className: "ConversationTasksStateTasks",
@@ -449,7 +388,7 @@ const ConversationTasksStateTasks = {
449
388
  }
450
389
  }
451
390
  };
452
- const TaskStateAutoGenerated = {
391
+ export const TaskStateAutoGenerated = {
453
392
  type: {
454
393
  name: "Composite",
455
394
  className: "TaskStateAutoGenerated",
@@ -471,7 +410,7 @@ const TaskStateAutoGenerated = {
471
410
  }
472
411
  }
473
412
  };
474
- const AnalyzeConversationJobStatistics = {
413
+ export const AnalyzeConversationJobStatistics = {
475
414
  type: {
476
415
  name: "Composite",
477
416
  className: "AnalyzeConversationJobStatistics",
@@ -486,7 +425,7 @@ const AnalyzeConversationJobStatistics = {
486
425
  }
487
426
  }
488
427
  };
489
- const RequestStatistics = {
428
+ export const RequestStatistics = {
490
429
  type: {
491
430
  name: "Composite",
492
431
  className: "RequestStatistics",
@@ -502,7 +441,7 @@ const RequestStatistics = {
502
441
  }
503
442
  }
504
443
  };
505
- const ConversationAnalysisOptions = {
444
+ export const ConversationAnalysisOptions = {
506
445
  type: {
507
446
  name: "Composite",
508
447
  className: "ConversationAnalysisOptions",
@@ -517,7 +456,7 @@ const ConversationAnalysisOptions = {
517
456
  }
518
457
  }
519
458
  };
520
- const ConversationItemBase = {
459
+ export const ConversationItemBase = {
521
460
  type: {
522
461
  name: "Composite",
523
462
  className: "ConversationItemBase",
@@ -558,7 +497,7 @@ const ConversationItemBase = {
558
497
  }
559
498
  }
560
499
  };
561
- const ConversationTaskParameters = {
500
+ export const ConversationTaskParameters = {
562
501
  type: {
563
502
  name: "Composite",
564
503
  className: "ConversationTaskParameters",
@@ -614,7 +553,7 @@ const ConversationTaskParameters = {
614
553
  }
615
554
  }
616
555
  };
617
- const AnalysisParameters = {
556
+ export const AnalysisParameters = {
618
557
  type: {
619
558
  name: "Composite",
620
559
  className: "AnalysisParameters",
@@ -640,7 +579,7 @@ const AnalysisParameters = {
640
579
  }
641
580
  }
642
581
  };
643
- const AnalyzeConversationResult = {
582
+ export const AnalyzeConversationResult = {
644
583
  type: {
645
584
  name: "Composite",
646
585
  className: "AnalyzeConversationResult",
@@ -668,7 +607,7 @@ const AnalyzeConversationResult = {
668
607
  }
669
608
  }
670
609
  };
671
- const BasePrediction = {
610
+ export const BasePrediction = {
672
611
  type: {
673
612
  name: "Composite",
674
613
  className: "BasePrediction",
@@ -694,7 +633,7 @@ const BasePrediction = {
694
633
  }
695
634
  }
696
635
  };
697
- const ConversationResult = {
636
+ export const ConversationResult = {
698
637
  type: {
699
638
  name: "Composite",
700
639
  className: "ConversationResult",
@@ -722,7 +661,7 @@ const ConversationResult = {
722
661
  }
723
662
  }
724
663
  };
725
- const ConversationIntent = {
664
+ export const ConversationIntent = {
726
665
  type: {
727
666
  name: "Composite",
728
667
  className: "ConversationIntent",
@@ -748,7 +687,7 @@ const ConversationIntent = {
748
687
  }
749
688
  }
750
689
  };
751
- const ConversationEntity = {
690
+ export const ConversationEntity = {
752
691
  type: {
753
692
  name: "Composite",
754
693
  className: "ConversationEntity",
@@ -815,7 +754,7 @@ const ConversationEntity = {
815
754
  }
816
755
  }
817
756
  };
818
- const BaseResolution = {
757
+ export const BaseResolution = {
819
758
  type: {
820
759
  name: "Composite",
821
760
  className: "BaseResolution",
@@ -835,7 +774,7 @@ const BaseResolution = {
835
774
  }
836
775
  }
837
776
  };
838
- const BaseExtraInformation = {
777
+ export const BaseExtraInformation = {
839
778
  type: {
840
779
  name: "Composite",
841
780
  className: "BaseExtraInformation",
@@ -855,7 +794,7 @@ const BaseExtraInformation = {
855
794
  }
856
795
  }
857
796
  };
858
- const TargetIntentResult = {
797
+ export const TargetIntentResult = {
859
798
  type: {
860
799
  name: "Composite",
861
800
  className: "TargetIntentResult",
@@ -892,7 +831,7 @@ const TargetIntentResult = {
892
831
  }
893
832
  }
894
833
  };
895
- const LuisCallingOptions = {
834
+ export const LuisCallingOptions = {
896
835
  type: {
897
836
  name: "Composite",
898
837
  className: "LuisCallingOptions",
@@ -936,7 +875,7 @@ const LuisCallingOptions = {
936
875
  }
937
876
  }
938
877
  };
939
- const ConversationCallingOptions = {
878
+ export const ConversationCallingOptions = {
940
879
  type: {
941
880
  name: "Composite",
942
881
  className: "ConversationCallingOptions",
@@ -962,7 +901,7 @@ const ConversationCallingOptions = {
962
901
  }
963
902
  }
964
903
  };
965
- const AnswersOptions = {
904
+ export const AnswersOptions = {
966
905
  type: {
967
906
  name: "Composite",
968
907
  className: "AnswersOptions",
@@ -1037,7 +976,7 @@ const AnswersOptions = {
1037
976
  }
1038
977
  }
1039
978
  };
1040
- const KnowledgeBaseAnswerContext = {
979
+ export const KnowledgeBaseAnswerContext = {
1041
980
  type: {
1042
981
  name: "Composite",
1043
982
  className: "KnowledgeBaseAnswerContext",
@@ -1058,7 +997,7 @@ const KnowledgeBaseAnswerContext = {
1058
997
  }
1059
998
  }
1060
999
  };
1061
- const QueryFilters = {
1000
+ export const QueryFilters = {
1062
1001
  type: {
1063
1002
  name: "Composite",
1064
1003
  className: "QueryFilters",
@@ -1090,7 +1029,7 @@ const QueryFilters = {
1090
1029
  }
1091
1030
  }
1092
1031
  };
1093
- const MetadataFilter = {
1032
+ export const MetadataFilter = {
1094
1033
  type: {
1095
1034
  name: "Composite",
1096
1035
  className: "MetadataFilter",
@@ -1116,7 +1055,7 @@ const MetadataFilter = {
1116
1055
  }
1117
1056
  }
1118
1057
  };
1119
- const MetadataRecord = {
1058
+ export const MetadataRecord = {
1120
1059
  type: {
1121
1060
  name: "Composite",
1122
1061
  className: "MetadataRecord",
@@ -1138,7 +1077,7 @@ const MetadataRecord = {
1138
1077
  }
1139
1078
  }
1140
1079
  };
1141
- const ShortAnswerOptions = {
1080
+ export const ShortAnswerOptions = {
1142
1081
  type: {
1143
1082
  name: "Composite",
1144
1083
  className: "ShortAnswerOptions",
@@ -1174,7 +1113,7 @@ const ShortAnswerOptions = {
1174
1113
  }
1175
1114
  }
1176
1115
  };
1177
- const QuantityResolution = {
1116
+ export const QuantityResolution = {
1178
1117
  type: {
1179
1118
  name: "Composite",
1180
1119
  className: "QuantityResolution",
@@ -1189,7 +1128,7 @@ const QuantityResolution = {
1189
1128
  }
1190
1129
  }
1191
1130
  };
1192
- const AnswersResult = {
1131
+ export const AnswersResult = {
1193
1132
  type: {
1194
1133
  name: "Composite",
1195
1134
  className: "AnswersResult",
@@ -1209,7 +1148,7 @@ const AnswersResult = {
1209
1148
  }
1210
1149
  }
1211
1150
  };
1212
- const KnowledgeBaseAnswer = {
1151
+ export const KnowledgeBaseAnswer = {
1213
1152
  type: {
1214
1153
  name: "Composite",
1215
1154
  className: "KnowledgeBaseAnswer",
@@ -1277,7 +1216,7 @@ const KnowledgeBaseAnswer = {
1277
1216
  }
1278
1217
  }
1279
1218
  };
1280
- const KnowledgeBaseAnswerDialog = {
1219
+ export const KnowledgeBaseAnswerDialog = {
1281
1220
  type: {
1282
1221
  name: "Composite",
1283
1222
  className: "KnowledgeBaseAnswerDialog",
@@ -1306,7 +1245,7 @@ const KnowledgeBaseAnswerDialog = {
1306
1245
  }
1307
1246
  }
1308
1247
  };
1309
- const KnowledgeBaseAnswerPrompt = {
1248
+ export const KnowledgeBaseAnswerPrompt = {
1310
1249
  type: {
1311
1250
  name: "Composite",
1312
1251
  className: "KnowledgeBaseAnswerPrompt",
@@ -1335,7 +1274,7 @@ const KnowledgeBaseAnswerPrompt = {
1335
1274
  }
1336
1275
  }
1337
1276
  };
1338
- const AnswerSpan = {
1277
+ export const AnswerSpan = {
1339
1278
  type: {
1340
1279
  name: "Composite",
1341
1280
  className: "AnswerSpan",
@@ -1371,7 +1310,7 @@ const AnswerSpan = {
1371
1310
  }
1372
1311
  }
1373
1312
  };
1374
- const TaskParameters = {
1313
+ export const TaskParameters = {
1375
1314
  type: {
1376
1315
  name: "Composite",
1377
1316
  className: "TaskParameters",
@@ -1386,7 +1325,7 @@ const TaskParameters = {
1386
1325
  }
1387
1326
  }
1388
1327
  };
1389
- const ConversationPIIItemResult = {
1328
+ export const ConversationPIIItemResult = {
1390
1329
  type: {
1391
1330
  name: "Composite",
1392
1331
  className: "ConversationPIIItemResult",
@@ -1421,7 +1360,7 @@ const ConversationPIIItemResult = {
1421
1360
  }
1422
1361
  }
1423
1362
  };
1424
- const RedactedTranscriptContent = {
1363
+ export const RedactedTranscriptContent = {
1425
1364
  type: {
1426
1365
  name: "Composite",
1427
1366
  className: "RedactedTranscriptContent",
@@ -1465,7 +1404,7 @@ const RedactedTranscriptContent = {
1465
1404
  }
1466
1405
  }
1467
1406
  };
1468
- const AudioTiming = {
1407
+ export const AudioTiming = {
1469
1408
  type: {
1470
1409
  name: "Composite",
1471
1410
  className: "AudioTiming",
@@ -1485,7 +1424,7 @@ const AudioTiming = {
1485
1424
  }
1486
1425
  }
1487
1426
  };
1488
- const Entity = {
1427
+ export const Entity = {
1489
1428
  type: {
1490
1429
  name: "Composite",
1491
1430
  className: "Entity",
@@ -1534,7 +1473,7 @@ const Entity = {
1534
1473
  }
1535
1474
  }
1536
1475
  };
1537
- const ConversationPIIResult = {
1476
+ export const ConversationPIIResult = {
1538
1477
  type: {
1539
1478
  name: "Composite",
1540
1479
  className: "ConversationPIIResult",
@@ -1555,7 +1494,7 @@ const ConversationPIIResult = {
1555
1494
  }
1556
1495
  }
1557
1496
  };
1558
- const ConversationResultBase = {
1497
+ export const ConversationResultBase = {
1559
1498
  type: {
1560
1499
  name: "Composite",
1561
1500
  className: "ConversationResultBase",
@@ -1590,7 +1529,7 @@ const ConversationResultBase = {
1590
1529
  }
1591
1530
  }
1592
1531
  };
1593
- const InputWarning = {
1532
+ export const InputWarning = {
1594
1533
  type: {
1595
1534
  name: "Composite",
1596
1535
  className: "InputWarning",
@@ -1618,7 +1557,7 @@ const InputWarning = {
1618
1557
  }
1619
1558
  }
1620
1559
  };
1621
- const ConversationStatistics = {
1560
+ export const ConversationStatistics = {
1622
1561
  type: {
1623
1562
  name: "Composite",
1624
1563
  className: "ConversationStatistics",
@@ -1633,7 +1572,7 @@ const ConversationStatistics = {
1633
1572
  }
1634
1573
  }
1635
1574
  };
1636
- const PreBuiltResult = {
1575
+ export const PreBuiltResult = {
1637
1576
  type: {
1638
1577
  name: "Composite",
1639
1578
  className: "PreBuiltResult",
@@ -1668,7 +1607,7 @@ const PreBuiltResult = {
1668
1607
  }
1669
1608
  }
1670
1609
  };
1671
- const InputError = {
1610
+ export const InputError = {
1672
1611
  type: {
1673
1612
  name: "Composite",
1674
1613
  className: "InputError",
@@ -1690,7 +1629,7 @@ const InputError = {
1690
1629
  }
1691
1630
  }
1692
1631
  };
1693
- const ConversationsSummaryResult = {
1632
+ export const ConversationsSummaryResult = {
1694
1633
  type: {
1695
1634
  name: "Composite",
1696
1635
  className: "ConversationsSummaryResult",
@@ -1711,7 +1650,7 @@ const ConversationsSummaryResult = {
1711
1650
  }
1712
1651
  }
1713
1652
  };
1714
- const SummaryResultItem = {
1653
+ export const SummaryResultItem = {
1715
1654
  type: {
1716
1655
  name: "Composite",
1717
1656
  className: "SummaryResultItem",
@@ -1733,52 +1672,61 @@ const SummaryResultItem = {
1733
1672
  }
1734
1673
  }
1735
1674
  };
1736
- const ConversationalTask = {
1675
+ export const ConversationalTask = {
1737
1676
  serializedName: "Conversation",
1738
1677
  type: {
1739
1678
  name: "Composite",
1740
1679
  className: "ConversationalTask",
1741
1680
  uberParent: "AnalyzeConversationTask",
1742
1681
  polymorphicDiscriminator: AnalyzeConversationTask.type.polymorphicDiscriminator,
1743
- modelProperties: Object.assign(Object.assign({}, AnalyzeConversationTask.type.modelProperties), { analysisInput: {
1682
+ modelProperties: {
1683
+ ...AnalyzeConversationTask.type.modelProperties,
1684
+ analysisInput: {
1744
1685
  serializedName: "analysisInput",
1745
1686
  type: {
1746
1687
  name: "Composite",
1747
1688
  className: "ConversationAnalysisOptions"
1748
1689
  }
1749
- }, parameters: {
1690
+ },
1691
+ parameters: {
1750
1692
  serializedName: "parameters",
1751
1693
  type: {
1752
1694
  name: "Composite",
1753
1695
  className: "ConversationTaskParameters"
1754
1696
  }
1755
- } })
1697
+ }
1698
+ }
1756
1699
  }
1757
1700
  };
1758
- const ConversationalTaskResult = {
1701
+ export const ConversationalTaskResult = {
1759
1702
  serializedName: "ConversationResult",
1760
1703
  type: {
1761
1704
  name: "Composite",
1762
1705
  className: "ConversationalTaskResult",
1763
1706
  uberParent: "AnalyzeConversationTaskResult",
1764
1707
  polymorphicDiscriminator: AnalyzeConversationTaskResult.type.polymorphicDiscriminator,
1765
- modelProperties: Object.assign(Object.assign({}, AnalyzeConversationTaskResult.type.modelProperties), { result: {
1708
+ modelProperties: {
1709
+ ...AnalyzeConversationTaskResult.type.modelProperties,
1710
+ result: {
1766
1711
  serializedName: "result",
1767
1712
  type: {
1768
1713
  name: "Composite",
1769
1714
  className: "AnalyzeConversationResult"
1770
1715
  }
1771
- } })
1716
+ }
1717
+ }
1772
1718
  }
1773
1719
  };
1774
- const TextConversation = {
1720
+ export const TextConversation = {
1775
1721
  serializedName: "text",
1776
1722
  type: {
1777
1723
  name: "Composite",
1778
1724
  className: "TextConversation",
1779
1725
  uberParent: "Conversation",
1780
1726
  polymorphicDiscriminator: Conversation.type.polymorphicDiscriminator,
1781
- modelProperties: Object.assign(Object.assign({}, Conversation.type.modelProperties), { conversationItems: {
1727
+ modelProperties: {
1728
+ ...Conversation.type.modelProperties,
1729
+ conversationItems: {
1782
1730
  serializedName: "conversationItems",
1783
1731
  required: true,
1784
1732
  type: {
@@ -1790,17 +1738,20 @@ const TextConversation = {
1790
1738
  }
1791
1739
  }
1792
1740
  }
1793
- } })
1741
+ }
1742
+ }
1794
1743
  }
1795
1744
  };
1796
- const TranscriptConversation = {
1745
+ export const TranscriptConversation = {
1797
1746
  serializedName: "transcript",
1798
1747
  type: {
1799
1748
  name: "Composite",
1800
1749
  className: "TranscriptConversation",
1801
1750
  uberParent: "Conversation",
1802
1751
  polymorphicDiscriminator: Conversation.type.polymorphicDiscriminator,
1803
- modelProperties: Object.assign(Object.assign({}, Conversation.type.modelProperties), { conversationItems: {
1752
+ modelProperties: {
1753
+ ...Conversation.type.modelProperties,
1754
+ conversationItems: {
1804
1755
  serializedName: "conversationItems",
1805
1756
  required: true,
1806
1757
  type: {
@@ -1812,10 +1763,11 @@ const TranscriptConversation = {
1812
1763
  }
1813
1764
  }
1814
1765
  }
1815
- } })
1766
+ }
1767
+ }
1816
1768
  }
1817
1769
  };
1818
- const AnalyzeConversationLROTask = {
1770
+ export const AnalyzeConversationLROTask = {
1819
1771
  serializedName: "AnalyzeConversationLROTask",
1820
1772
  type: {
1821
1773
  name: "Composite",
@@ -1825,16 +1777,19 @@ const AnalyzeConversationLROTask = {
1825
1777
  serializedName: "kind",
1826
1778
  clientName: "kind"
1827
1779
  },
1828
- modelProperties: Object.assign(Object.assign({}, TaskIdentifier.type.modelProperties), { kind: {
1780
+ modelProperties: {
1781
+ ...TaskIdentifier.type.modelProperties,
1782
+ kind: {
1829
1783
  serializedName: "kind",
1830
1784
  required: true,
1831
1785
  type: {
1832
1786
  name: "String"
1833
1787
  }
1834
- } })
1788
+ }
1789
+ }
1835
1790
  }
1836
1791
  };
1837
- const AnalyzeConversationJobResult = {
1792
+ export const AnalyzeConversationJobResult = {
1838
1793
  serializedName: "AnalyzeConversationJobResult",
1839
1794
  type: {
1840
1795
  name: "Composite",
@@ -1844,88 +1799,110 @@ const AnalyzeConversationJobResult = {
1844
1799
  serializedName: "kind",
1845
1800
  clientName: "kind"
1846
1801
  },
1847
- modelProperties: Object.assign(Object.assign(Object.assign({}, TaskStateAutoGenerated.type.modelProperties), TaskIdentifier.type.modelProperties), { kind: {
1802
+ modelProperties: {
1803
+ ...TaskStateAutoGenerated.type.modelProperties,
1804
+ ...TaskIdentifier.type.modelProperties,
1805
+ kind: {
1848
1806
  serializedName: "kind",
1849
1807
  required: true,
1850
1808
  type: {
1851
1809
  name: "String"
1852
1810
  }
1853
- } })
1811
+ }
1812
+ }
1854
1813
  }
1855
1814
  };
1856
- const AnalyzeConversationJobState = {
1815
+ export const AnalyzeConversationJobState = {
1857
1816
  type: {
1858
1817
  name: "Composite",
1859
1818
  className: "AnalyzeConversationJobState",
1860
- modelProperties: Object.assign(Object.assign(Object.assign({}, JobStateAutoGenerated.type.modelProperties), ConversationTasksState.type.modelProperties), AnalyzeConversationJobStatistics.type.modelProperties)
1819
+ modelProperties: {
1820
+ ...JobStateAutoGenerated.type.modelProperties,
1821
+ ...ConversationTasksState.type.modelProperties,
1822
+ ...AnalyzeConversationJobStatistics.type.modelProperties
1823
+ }
1861
1824
  }
1862
1825
  };
1863
- const ConversationRequestStatistics = {
1826
+ export const ConversationRequestStatistics = {
1864
1827
  type: {
1865
1828
  name: "Composite",
1866
1829
  className: "ConversationRequestStatistics",
1867
1830
  additionalProperties: { type: { name: "Object" } },
1868
- modelProperties: Object.assign(Object.assign({}, RequestStatistics.type.modelProperties), { conversationsCount: {
1831
+ modelProperties: {
1832
+ ...RequestStatistics.type.modelProperties,
1833
+ conversationsCount: {
1869
1834
  serializedName: "conversationsCount",
1870
1835
  required: true,
1871
1836
  type: {
1872
1837
  name: "Number"
1873
1838
  }
1874
- }, validConversationsCount: {
1839
+ },
1840
+ validConversationsCount: {
1875
1841
  serializedName: "validConversationsCount",
1876
1842
  required: true,
1877
1843
  type: {
1878
1844
  name: "Number"
1879
1845
  }
1880
- }, erroneousConversationsCount: {
1846
+ },
1847
+ erroneousConversationsCount: {
1881
1848
  serializedName: "erroneousConversationsCount",
1882
1849
  required: true,
1883
1850
  type: {
1884
1851
  name: "Number"
1885
1852
  }
1886
- } })
1853
+ }
1854
+ }
1887
1855
  }
1888
1856
  };
1889
- const TextConversationItem = {
1857
+ export const TextConversationItem = {
1890
1858
  type: {
1891
1859
  name: "Composite",
1892
1860
  className: "TextConversationItem",
1893
1861
  additionalProperties: { type: { name: "Object" } },
1894
- modelProperties: Object.assign(Object.assign({}, ConversationItemBase.type.modelProperties), { text: {
1862
+ modelProperties: {
1863
+ ...ConversationItemBase.type.modelProperties,
1864
+ text: {
1895
1865
  serializedName: "text",
1896
1866
  required: true,
1897
1867
  type: {
1898
1868
  name: "String"
1899
1869
  }
1900
- } })
1870
+ }
1871
+ }
1901
1872
  }
1902
1873
  };
1903
- const TranscriptConversationItem = {
1874
+ export const TranscriptConversationItem = {
1904
1875
  type: {
1905
1876
  name: "Composite",
1906
1877
  className: "TranscriptConversationItem",
1907
1878
  additionalProperties: { type: { name: "Object" } },
1908
- modelProperties: Object.assign(Object.assign({}, ConversationItemBase.type.modelProperties), { itn: {
1879
+ modelProperties: {
1880
+ ...ConversationItemBase.type.modelProperties,
1881
+ itn: {
1909
1882
  serializedName: "itn",
1910
1883
  type: {
1911
1884
  name: "String"
1912
1885
  }
1913
- }, maskedItn: {
1886
+ },
1887
+ maskedItn: {
1914
1888
  serializedName: "maskedItn",
1915
1889
  type: {
1916
1890
  name: "String"
1917
1891
  }
1918
- }, text: {
1892
+ },
1893
+ text: {
1919
1894
  serializedName: "text",
1920
1895
  type: {
1921
1896
  name: "String"
1922
1897
  }
1923
- }, lexical: {
1898
+ },
1899
+ lexical: {
1924
1900
  serializedName: "lexical",
1925
1901
  type: {
1926
1902
  name: "String"
1927
1903
  }
1928
- }, audioTimings: {
1904
+ },
1905
+ audioTimings: {
1929
1906
  serializedName: "audioTimings",
1930
1907
  type: {
1931
1908
  name: "Sequence",
@@ -1936,10 +1913,11 @@ const TranscriptConversationItem = {
1936
1913
  }
1937
1914
  }
1938
1915
  }
1939
- } })
1916
+ }
1917
+ }
1940
1918
  }
1941
1919
  };
1942
- const LuisParameters = {
1920
+ export const LuisParameters = {
1943
1921
  serializedName: "Luis",
1944
1922
  type: {
1945
1923
  name: "Composite",
@@ -1947,7 +1925,9 @@ const LuisParameters = {
1947
1925
  uberParent: "AnalysisParameters",
1948
1926
  additionalProperties: { type: { name: "Object" } },
1949
1927
  polymorphicDiscriminator: AnalysisParameters.type.polymorphicDiscriminator,
1950
- modelProperties: Object.assign(Object.assign({}, AnalysisParameters.type.modelProperties), { query: {
1928
+ modelProperties: {
1929
+ ...AnalysisParameters.type.modelProperties,
1930
+ query: {
1951
1931
  constraints: {
1952
1932
  MaxLength: 500
1953
1933
  },
@@ -1955,55 +1935,65 @@ const LuisParameters = {
1955
1935
  type: {
1956
1936
  name: "String"
1957
1937
  }
1958
- }, callingOptions: {
1938
+ },
1939
+ callingOptions: {
1959
1940
  serializedName: "callingOptions",
1960
1941
  type: {
1961
1942
  name: "Composite",
1962
1943
  className: "LuisCallingOptions"
1963
1944
  }
1964
- } })
1945
+ }
1946
+ }
1965
1947
  }
1966
1948
  };
1967
- const ConversationParameters = {
1949
+ export const ConversationParameters = {
1968
1950
  serializedName: "Conversation",
1969
1951
  type: {
1970
1952
  name: "Composite",
1971
1953
  className: "ConversationParameters",
1972
1954
  uberParent: "AnalysisParameters",
1973
1955
  polymorphicDiscriminator: AnalysisParameters.type.polymorphicDiscriminator,
1974
- modelProperties: Object.assign(Object.assign({}, AnalysisParameters.type.modelProperties), { callingOptions: {
1956
+ modelProperties: {
1957
+ ...AnalysisParameters.type.modelProperties,
1958
+ callingOptions: {
1975
1959
  serializedName: "callingOptions",
1976
1960
  type: {
1977
1961
  name: "Composite",
1978
1962
  className: "ConversationCallingOptions"
1979
1963
  }
1980
- } })
1964
+ }
1965
+ }
1981
1966
  }
1982
1967
  };
1983
- const QuestionAnsweringParameters = {
1968
+ export const QuestionAnsweringParameters = {
1984
1969
  serializedName: "QuestionAnswering",
1985
1970
  type: {
1986
1971
  name: "Composite",
1987
1972
  className: "QuestionAnsweringParameters",
1988
1973
  uberParent: "AnalysisParameters",
1989
1974
  polymorphicDiscriminator: AnalysisParameters.type.polymorphicDiscriminator,
1990
- modelProperties: Object.assign(Object.assign({}, AnalysisParameters.type.modelProperties), { callingOptions: {
1975
+ modelProperties: {
1976
+ ...AnalysisParameters.type.modelProperties,
1977
+ callingOptions: {
1991
1978
  serializedName: "callingOptions",
1992
1979
  type: {
1993
1980
  name: "Composite",
1994
1981
  className: "AnswersOptions"
1995
1982
  }
1996
- } })
1983
+ }
1984
+ }
1997
1985
  }
1998
1986
  };
1999
- const ConversationPrediction = {
1987
+ export const ConversationPrediction = {
2000
1988
  serializedName: "Conversation",
2001
1989
  type: {
2002
1990
  name: "Composite",
2003
1991
  className: "ConversationPrediction",
2004
1992
  uberParent: "BasePrediction",
2005
1993
  polymorphicDiscriminator: BasePrediction.type.polymorphicDiscriminator,
2006
- modelProperties: Object.assign(Object.assign({}, BasePrediction.type.modelProperties), { intents: {
1994
+ modelProperties: {
1995
+ ...BasePrediction.type.modelProperties,
1996
+ intents: {
2007
1997
  serializedName: "intents",
2008
1998
  required: true,
2009
1999
  type: {
@@ -2015,7 +2005,8 @@ const ConversationPrediction = {
2015
2005
  }
2016
2006
  }
2017
2007
  }
2018
- }, entities: {
2008
+ },
2009
+ entities: {
2019
2010
  serializedName: "entities",
2020
2011
  required: true,
2021
2012
  type: {
@@ -2027,17 +2018,20 @@ const ConversationPrediction = {
2027
2018
  }
2028
2019
  }
2029
2020
  }
2030
- } })
2021
+ }
2022
+ }
2031
2023
  }
2032
2024
  };
2033
- const OrchestrationPrediction = {
2025
+ export const OrchestrationPrediction = {
2034
2026
  serializedName: "Orchestration",
2035
2027
  type: {
2036
2028
  name: "Composite",
2037
2029
  className: "OrchestrationPrediction",
2038
2030
  uberParent: "BasePrediction",
2039
2031
  polymorphicDiscriminator: BasePrediction.type.polymorphicDiscriminator,
2040
- modelProperties: Object.assign(Object.assign({}, BasePrediction.type.modelProperties), { intents: {
2032
+ modelProperties: {
2033
+ ...BasePrediction.type.modelProperties,
2034
+ intents: {
2041
2035
  serializedName: "intents",
2042
2036
  required: true,
2043
2037
  type: {
@@ -2046,453 +2040,552 @@ const OrchestrationPrediction = {
2046
2040
  type: { name: "Composite", className: "TargetIntentResult" }
2047
2041
  }
2048
2042
  }
2049
- } })
2043
+ }
2044
+ }
2050
2045
  }
2051
2046
  };
2052
- const AgeResolution = {
2047
+ export const AgeResolution = {
2053
2048
  serializedName: "Age",
2054
2049
  type: {
2055
2050
  name: "Composite",
2056
2051
  className: "AgeResolution",
2057
2052
  uberParent: "BaseResolution",
2058
2053
  polymorphicDiscriminator: BaseResolution.type.polymorphicDiscriminator,
2059
- modelProperties: Object.assign(Object.assign(Object.assign({}, BaseResolution.type.modelProperties), QuantityResolution.type.modelProperties), { unit: {
2054
+ modelProperties: {
2055
+ ...BaseResolution.type.modelProperties,
2056
+ ...QuantityResolution.type.modelProperties,
2057
+ unit: {
2060
2058
  serializedName: "unit",
2061
2059
  required: true,
2062
2060
  type: {
2063
2061
  name: "String"
2064
2062
  }
2065
- } })
2063
+ }
2064
+ }
2066
2065
  }
2067
2066
  };
2068
- const VolumeResolution = {
2067
+ export const VolumeResolution = {
2069
2068
  serializedName: "Volume",
2070
2069
  type: {
2071
2070
  name: "Composite",
2072
2071
  className: "VolumeResolution",
2073
2072
  uberParent: "BaseResolution",
2074
2073
  polymorphicDiscriminator: BaseResolution.type.polymorphicDiscriminator,
2075
- modelProperties: Object.assign(Object.assign(Object.assign({}, BaseResolution.type.modelProperties), QuantityResolution.type.modelProperties), { unit: {
2074
+ modelProperties: {
2075
+ ...BaseResolution.type.modelProperties,
2076
+ ...QuantityResolution.type.modelProperties,
2077
+ unit: {
2076
2078
  serializedName: "unit",
2077
2079
  required: true,
2078
2080
  type: {
2079
2081
  name: "String"
2080
2082
  }
2081
- } })
2083
+ }
2084
+ }
2082
2085
  }
2083
2086
  };
2084
- const SpeedResolution = {
2087
+ export const SpeedResolution = {
2085
2088
  serializedName: "Speed",
2086
2089
  type: {
2087
2090
  name: "Composite",
2088
2091
  className: "SpeedResolution",
2089
2092
  uberParent: "BaseResolution",
2090
2093
  polymorphicDiscriminator: BaseResolution.type.polymorphicDiscriminator,
2091
- modelProperties: Object.assign(Object.assign(Object.assign({}, BaseResolution.type.modelProperties), QuantityResolution.type.modelProperties), { unit: {
2094
+ modelProperties: {
2095
+ ...BaseResolution.type.modelProperties,
2096
+ ...QuantityResolution.type.modelProperties,
2097
+ unit: {
2092
2098
  serializedName: "unit",
2093
2099
  required: true,
2094
2100
  type: {
2095
2101
  name: "String"
2096
2102
  }
2097
- } })
2103
+ }
2104
+ }
2098
2105
  }
2099
2106
  };
2100
- const AreaResolution = {
2107
+ export const AreaResolution = {
2101
2108
  serializedName: "Area",
2102
2109
  type: {
2103
2110
  name: "Composite",
2104
2111
  className: "AreaResolution",
2105
2112
  uberParent: "BaseResolution",
2106
2113
  polymorphicDiscriminator: BaseResolution.type.polymorphicDiscriminator,
2107
- modelProperties: Object.assign(Object.assign(Object.assign({}, BaseResolution.type.modelProperties), QuantityResolution.type.modelProperties), { unit: {
2114
+ modelProperties: {
2115
+ ...BaseResolution.type.modelProperties,
2116
+ ...QuantityResolution.type.modelProperties,
2117
+ unit: {
2108
2118
  serializedName: "unit",
2109
2119
  required: true,
2110
2120
  type: {
2111
2121
  name: "String"
2112
2122
  }
2113
- } })
2123
+ }
2124
+ }
2114
2125
  }
2115
2126
  };
2116
- const LengthResolution = {
2127
+ export const LengthResolution = {
2117
2128
  serializedName: "Length",
2118
2129
  type: {
2119
2130
  name: "Composite",
2120
2131
  className: "LengthResolution",
2121
2132
  uberParent: "BaseResolution",
2122
2133
  polymorphicDiscriminator: BaseResolution.type.polymorphicDiscriminator,
2123
- modelProperties: Object.assign(Object.assign(Object.assign({}, BaseResolution.type.modelProperties), QuantityResolution.type.modelProperties), { unit: {
2134
+ modelProperties: {
2135
+ ...BaseResolution.type.modelProperties,
2136
+ ...QuantityResolution.type.modelProperties,
2137
+ unit: {
2124
2138
  serializedName: "unit",
2125
2139
  required: true,
2126
2140
  type: {
2127
2141
  name: "String"
2128
2142
  }
2129
- } })
2143
+ }
2144
+ }
2130
2145
  }
2131
2146
  };
2132
- const InformationResolution = {
2147
+ export const InformationResolution = {
2133
2148
  serializedName: "Information",
2134
2149
  type: {
2135
2150
  name: "Composite",
2136
2151
  className: "InformationResolution",
2137
2152
  uberParent: "BaseResolution",
2138
2153
  polymorphicDiscriminator: BaseResolution.type.polymorphicDiscriminator,
2139
- modelProperties: Object.assign(Object.assign(Object.assign({}, BaseResolution.type.modelProperties), QuantityResolution.type.modelProperties), { unit: {
2154
+ modelProperties: {
2155
+ ...BaseResolution.type.modelProperties,
2156
+ ...QuantityResolution.type.modelProperties,
2157
+ unit: {
2140
2158
  serializedName: "unit",
2141
2159
  required: true,
2142
2160
  type: {
2143
2161
  name: "String"
2144
2162
  }
2145
- } })
2163
+ }
2164
+ }
2146
2165
  }
2147
2166
  };
2148
- const TemperatureResolution = {
2167
+ export const TemperatureResolution = {
2149
2168
  serializedName: "Temperature",
2150
2169
  type: {
2151
2170
  name: "Composite",
2152
2171
  className: "TemperatureResolution",
2153
2172
  uberParent: "BaseResolution",
2154
2173
  polymorphicDiscriminator: BaseResolution.type.polymorphicDiscriminator,
2155
- modelProperties: Object.assign(Object.assign(Object.assign({}, BaseResolution.type.modelProperties), QuantityResolution.type.modelProperties), { unit: {
2174
+ modelProperties: {
2175
+ ...BaseResolution.type.modelProperties,
2176
+ ...QuantityResolution.type.modelProperties,
2177
+ unit: {
2156
2178
  serializedName: "unit",
2157
2179
  required: true,
2158
2180
  type: {
2159
2181
  name: "String"
2160
2182
  }
2161
- } })
2183
+ }
2184
+ }
2162
2185
  }
2163
2186
  };
2164
- const WeightResolution = {
2187
+ export const WeightResolution = {
2165
2188
  serializedName: "Weight",
2166
2189
  type: {
2167
2190
  name: "Composite",
2168
2191
  className: "WeightResolution",
2169
2192
  uberParent: "BaseResolution",
2170
2193
  polymorphicDiscriminator: BaseResolution.type.polymorphicDiscriminator,
2171
- modelProperties: Object.assign(Object.assign(Object.assign({}, BaseResolution.type.modelProperties), QuantityResolution.type.modelProperties), { unit: {
2194
+ modelProperties: {
2195
+ ...BaseResolution.type.modelProperties,
2196
+ ...QuantityResolution.type.modelProperties,
2197
+ unit: {
2172
2198
  serializedName: "unit",
2173
2199
  required: true,
2174
2200
  type: {
2175
2201
  name: "String"
2176
2202
  }
2177
- } })
2203
+ }
2204
+ }
2178
2205
  }
2179
2206
  };
2180
- const CurrencyResolution = {
2207
+ export const CurrencyResolution = {
2181
2208
  serializedName: "Currency",
2182
2209
  type: {
2183
2210
  name: "Composite",
2184
2211
  className: "CurrencyResolution",
2185
2212
  uberParent: "BaseResolution",
2186
2213
  polymorphicDiscriminator: BaseResolution.type.polymorphicDiscriminator,
2187
- modelProperties: Object.assign(Object.assign(Object.assign({}, BaseResolution.type.modelProperties), QuantityResolution.type.modelProperties), { iso4217: {
2214
+ modelProperties: {
2215
+ ...BaseResolution.type.modelProperties,
2216
+ ...QuantityResolution.type.modelProperties,
2217
+ iso4217: {
2188
2218
  serializedName: "ISO4217",
2189
2219
  type: {
2190
2220
  name: "String"
2191
2221
  }
2192
- }, unit: {
2222
+ },
2223
+ unit: {
2193
2224
  serializedName: "unit",
2194
2225
  required: true,
2195
2226
  type: {
2196
2227
  name: "String"
2197
2228
  }
2198
- } })
2229
+ }
2230
+ }
2199
2231
  }
2200
2232
  };
2201
- const BooleanResolution = {
2233
+ export const BooleanResolution = {
2202
2234
  serializedName: "Boolean",
2203
2235
  type: {
2204
2236
  name: "Composite",
2205
2237
  className: "BooleanResolution",
2206
2238
  uberParent: "BaseResolution",
2207
2239
  polymorphicDiscriminator: BaseResolution.type.polymorphicDiscriminator,
2208
- modelProperties: Object.assign(Object.assign({}, BaseResolution.type.modelProperties), { value: {
2240
+ modelProperties: {
2241
+ ...BaseResolution.type.modelProperties,
2242
+ value: {
2209
2243
  serializedName: "value",
2210
2244
  required: true,
2211
2245
  type: {
2212
2246
  name: "Boolean"
2213
2247
  }
2214
- } })
2248
+ }
2249
+ }
2215
2250
  }
2216
2251
  };
2217
- const DateTimeResolution = {
2252
+ export const DateTimeResolution = {
2218
2253
  serializedName: "DateTime",
2219
2254
  type: {
2220
2255
  name: "Composite",
2221
2256
  className: "DateTimeResolution",
2222
2257
  uberParent: "BaseResolution",
2223
2258
  polymorphicDiscriminator: BaseResolution.type.polymorphicDiscriminator,
2224
- modelProperties: Object.assign(Object.assign({}, BaseResolution.type.modelProperties), { timex: {
2259
+ modelProperties: {
2260
+ ...BaseResolution.type.modelProperties,
2261
+ timex: {
2225
2262
  serializedName: "timex",
2226
2263
  required: true,
2227
2264
  type: {
2228
2265
  name: "String"
2229
2266
  }
2230
- }, dateTimeSubKind: {
2267
+ },
2268
+ dateTimeSubKind: {
2231
2269
  serializedName: "dateTimeSubKind",
2232
2270
  required: true,
2233
2271
  type: {
2234
2272
  name: "String"
2235
2273
  }
2236
- }, value: {
2274
+ },
2275
+ value: {
2237
2276
  serializedName: "value",
2238
2277
  required: true,
2239
2278
  type: {
2240
2279
  name: "String"
2241
2280
  }
2242
- }, modifier: {
2281
+ },
2282
+ modifier: {
2243
2283
  serializedName: "modifier",
2244
2284
  type: {
2245
2285
  name: "String"
2246
2286
  }
2247
- } })
2287
+ }
2288
+ }
2248
2289
  }
2249
2290
  };
2250
- const NumberResolution = {
2291
+ export const NumberResolution = {
2251
2292
  serializedName: "Number",
2252
2293
  type: {
2253
2294
  name: "Composite",
2254
2295
  className: "NumberResolution",
2255
2296
  uberParent: "BaseResolution",
2256
2297
  polymorphicDiscriminator: BaseResolution.type.polymorphicDiscriminator,
2257
- modelProperties: Object.assign(Object.assign({}, BaseResolution.type.modelProperties), { numberKind: {
2298
+ modelProperties: {
2299
+ ...BaseResolution.type.modelProperties,
2300
+ numberKind: {
2258
2301
  serializedName: "numberKind",
2259
2302
  required: true,
2260
2303
  type: {
2261
2304
  name: "String"
2262
2305
  }
2263
- }, value: {
2306
+ },
2307
+ value: {
2264
2308
  serializedName: "value",
2265
2309
  required: true,
2266
2310
  type: {
2267
2311
  name: "String"
2268
2312
  }
2269
- } })
2313
+ }
2314
+ }
2270
2315
  }
2271
2316
  };
2272
- const OrdinalResolution = {
2317
+ export const OrdinalResolution = {
2273
2318
  serializedName: "Ordinal",
2274
2319
  type: {
2275
2320
  name: "Composite",
2276
2321
  className: "OrdinalResolution",
2277
2322
  uberParent: "BaseResolution",
2278
2323
  polymorphicDiscriminator: BaseResolution.type.polymorphicDiscriminator,
2279
- modelProperties: Object.assign(Object.assign({}, BaseResolution.type.modelProperties), { offset: {
2324
+ modelProperties: {
2325
+ ...BaseResolution.type.modelProperties,
2326
+ offset: {
2280
2327
  serializedName: "offset",
2281
2328
  required: true,
2282
2329
  type: {
2283
2330
  name: "String"
2284
2331
  }
2285
- }, relativeTo: {
2332
+ },
2333
+ relativeTo: {
2286
2334
  serializedName: "relativeTo",
2287
2335
  required: true,
2288
2336
  type: {
2289
2337
  name: "String"
2290
2338
  }
2291
- }, value: {
2339
+ },
2340
+ value: {
2292
2341
  serializedName: "value",
2293
2342
  required: true,
2294
2343
  type: {
2295
2344
  name: "String"
2296
2345
  }
2297
- } })
2346
+ }
2347
+ }
2298
2348
  }
2299
2349
  };
2300
- const TemporalSpanResolution = {
2350
+ export const TemporalSpanResolution = {
2301
2351
  serializedName: "TemporalSpan",
2302
2352
  type: {
2303
2353
  name: "Composite",
2304
2354
  className: "TemporalSpanResolution",
2305
2355
  uberParent: "BaseResolution",
2306
2356
  polymorphicDiscriminator: BaseResolution.type.polymorphicDiscriminator,
2307
- modelProperties: Object.assign(Object.assign({}, BaseResolution.type.modelProperties), { begin: {
2357
+ modelProperties: {
2358
+ ...BaseResolution.type.modelProperties,
2359
+ begin: {
2308
2360
  serializedName: "begin",
2309
2361
  type: {
2310
2362
  name: "String"
2311
2363
  }
2312
- }, end: {
2364
+ },
2365
+ end: {
2313
2366
  serializedName: "end",
2314
2367
  type: {
2315
2368
  name: "String"
2316
2369
  }
2317
- }, duration: {
2370
+ },
2371
+ duration: {
2318
2372
  serializedName: "duration",
2319
2373
  type: {
2320
2374
  name: "String"
2321
2375
  }
2322
- }, modifier: {
2376
+ },
2377
+ modifier: {
2323
2378
  serializedName: "modifier",
2324
2379
  type: {
2325
2380
  name: "String"
2326
2381
  }
2327
- } })
2382
+ }
2383
+ }
2328
2384
  }
2329
2385
  };
2330
- const NumericRangeResolution = {
2386
+ export const NumericRangeResolution = {
2331
2387
  serializedName: "NumericRange",
2332
2388
  type: {
2333
2389
  name: "Composite",
2334
2390
  className: "NumericRangeResolution",
2335
2391
  uberParent: "BaseResolution",
2336
2392
  polymorphicDiscriminator: BaseResolution.type.polymorphicDiscriminator,
2337
- modelProperties: Object.assign(Object.assign({}, BaseResolution.type.modelProperties), { rangeKind: {
2393
+ modelProperties: {
2394
+ ...BaseResolution.type.modelProperties,
2395
+ rangeKind: {
2338
2396
  serializedName: "rangeKind",
2339
2397
  required: true,
2340
2398
  type: {
2341
2399
  name: "String"
2342
2400
  }
2343
- }, minimum: {
2401
+ },
2402
+ minimum: {
2344
2403
  serializedName: "minimum",
2345
2404
  required: true,
2346
2405
  type: {
2347
2406
  name: "Number"
2348
2407
  }
2349
- }, maximum: {
2408
+ },
2409
+ maximum: {
2350
2410
  serializedName: "maximum",
2351
2411
  required: true,
2352
2412
  type: {
2353
2413
  name: "Number"
2354
2414
  }
2355
- } })
2415
+ }
2416
+ }
2356
2417
  }
2357
2418
  };
2358
- const EntitySubtype = {
2419
+ export const EntitySubtype = {
2359
2420
  serializedName: "EntitySubtype",
2360
2421
  type: {
2361
2422
  name: "Composite",
2362
2423
  className: "EntitySubtype",
2363
2424
  uberParent: "BaseExtraInformation",
2364
2425
  polymorphicDiscriminator: BaseExtraInformation.type.polymorphicDiscriminator,
2365
- modelProperties: Object.assign(Object.assign({}, BaseExtraInformation.type.modelProperties), { value: {
2426
+ modelProperties: {
2427
+ ...BaseExtraInformation.type.modelProperties,
2428
+ value: {
2366
2429
  serializedName: "value",
2367
2430
  type: {
2368
2431
  name: "String"
2369
2432
  }
2370
- } })
2433
+ }
2434
+ }
2371
2435
  }
2372
2436
  };
2373
- const ListKey = {
2437
+ export const ListKey = {
2374
2438
  serializedName: "ListKey",
2375
2439
  type: {
2376
2440
  name: "Composite",
2377
2441
  className: "ListKey",
2378
2442
  uberParent: "BaseExtraInformation",
2379
2443
  polymorphicDiscriminator: BaseExtraInformation.type.polymorphicDiscriminator,
2380
- modelProperties: Object.assign(Object.assign({}, BaseExtraInformation.type.modelProperties), { key: {
2444
+ modelProperties: {
2445
+ ...BaseExtraInformation.type.modelProperties,
2446
+ key: {
2381
2447
  serializedName: "key",
2382
2448
  type: {
2383
2449
  name: "String"
2384
2450
  }
2385
- } })
2451
+ }
2452
+ }
2386
2453
  }
2387
2454
  };
2388
- const NoneLinkedTargetIntentResult = {
2455
+ export const NoneLinkedTargetIntentResult = {
2389
2456
  serializedName: "NonLinked",
2390
2457
  type: {
2391
2458
  name: "Composite",
2392
2459
  className: "NoneLinkedTargetIntentResult",
2393
2460
  uberParent: "TargetIntentResult",
2394
2461
  polymorphicDiscriminator: TargetIntentResult.type.polymorphicDiscriminator,
2395
- modelProperties: Object.assign(Object.assign({}, TargetIntentResult.type.modelProperties), { result: {
2462
+ modelProperties: {
2463
+ ...TargetIntentResult.type.modelProperties,
2464
+ result: {
2396
2465
  serializedName: "result",
2397
2466
  type: {
2398
2467
  name: "Composite",
2399
2468
  className: "ConversationResult"
2400
2469
  }
2401
- } })
2470
+ }
2471
+ }
2402
2472
  }
2403
2473
  };
2404
- const ConversationTargetIntentResult = {
2474
+ export const ConversationTargetIntentResult = {
2405
2475
  serializedName: "Conversation",
2406
2476
  type: {
2407
2477
  name: "Composite",
2408
2478
  className: "ConversationTargetIntentResult",
2409
2479
  uberParent: "TargetIntentResult",
2410
2480
  polymorphicDiscriminator: TargetIntentResult.type.polymorphicDiscriminator,
2411
- modelProperties: Object.assign(Object.assign({}, TargetIntentResult.type.modelProperties), { result: {
2481
+ modelProperties: {
2482
+ ...TargetIntentResult.type.modelProperties,
2483
+ result: {
2412
2484
  serializedName: "result",
2413
2485
  type: {
2414
2486
  name: "Composite",
2415
2487
  className: "ConversationResult"
2416
2488
  }
2417
- } })
2489
+ }
2490
+ }
2418
2491
  }
2419
2492
  };
2420
- const LuisTargetIntentResult = {
2493
+ export const LuisTargetIntentResult = {
2421
2494
  serializedName: "Luis",
2422
2495
  type: {
2423
2496
  name: "Composite",
2424
2497
  className: "LuisTargetIntentResult",
2425
2498
  uberParent: "TargetIntentResult",
2426
2499
  polymorphicDiscriminator: TargetIntentResult.type.polymorphicDiscriminator,
2427
- modelProperties: Object.assign(Object.assign({}, TargetIntentResult.type.modelProperties), { result: {
2500
+ modelProperties: {
2501
+ ...TargetIntentResult.type.modelProperties,
2502
+ result: {
2428
2503
  serializedName: "result",
2429
2504
  type: {
2430
2505
  name: "Dictionary",
2431
2506
  value: { type: { name: "any" } }
2432
2507
  }
2433
- } })
2508
+ }
2509
+ }
2434
2510
  }
2435
2511
  };
2436
- const QuestionAnsweringTargetIntentResult = {
2512
+ export const QuestionAnsweringTargetIntentResult = {
2437
2513
  serializedName: "QuestionAnswering",
2438
2514
  type: {
2439
2515
  name: "Composite",
2440
2516
  className: "QuestionAnsweringTargetIntentResult",
2441
2517
  uberParent: "TargetIntentResult",
2442
2518
  polymorphicDiscriminator: TargetIntentResult.type.polymorphicDiscriminator,
2443
- modelProperties: Object.assign(Object.assign({}, TargetIntentResult.type.modelProperties), { result: {
2519
+ modelProperties: {
2520
+ ...TargetIntentResult.type.modelProperties,
2521
+ result: {
2444
2522
  serializedName: "result",
2445
2523
  type: {
2446
2524
  name: "Composite",
2447
2525
  className: "AnswersResult"
2448
2526
  }
2449
- } })
2527
+ }
2528
+ }
2450
2529
  }
2451
2530
  };
2452
- const PreBuiltTaskParameters = {
2531
+ export const PreBuiltTaskParameters = {
2453
2532
  type: {
2454
2533
  name: "Composite",
2455
2534
  className: "PreBuiltTaskParameters",
2456
- modelProperties: Object.assign(Object.assign({}, TaskParameters.type.modelProperties), { modelVersion: {
2535
+ modelProperties: {
2536
+ ...TaskParameters.type.modelProperties,
2537
+ modelVersion: {
2457
2538
  defaultValue: "latest",
2458
2539
  serializedName: "modelVersion",
2459
2540
  type: {
2460
2541
  name: "String"
2461
2542
  }
2462
- } })
2543
+ }
2544
+ }
2463
2545
  }
2464
2546
  };
2465
- const WordLevelTiming = {
2547
+ export const WordLevelTiming = {
2466
2548
  type: {
2467
2549
  name: "Composite",
2468
2550
  className: "WordLevelTiming",
2469
- modelProperties: Object.assign(Object.assign({}, AudioTiming.type.modelProperties), { word: {
2551
+ modelProperties: {
2552
+ ...AudioTiming.type.modelProperties,
2553
+ word: {
2470
2554
  serializedName: "word",
2471
2555
  type: {
2472
2556
  name: "String"
2473
2557
  }
2474
- } })
2558
+ }
2559
+ }
2475
2560
  }
2476
2561
  };
2477
- const ConversationPIIResultsConversationsItem = {
2562
+ export const ConversationPIIResultsConversationsItem = {
2478
2563
  type: {
2479
2564
  name: "Composite",
2480
2565
  className: "ConversationPIIResultsConversationsItem",
2481
- modelProperties: Object.assign(Object.assign({}, ConversationPIIResult.type.modelProperties), ConversationResultBase.type.modelProperties)
2566
+ modelProperties: {
2567
+ ...ConversationPIIResult.type.modelProperties,
2568
+ ...ConversationResultBase.type.modelProperties
2569
+ }
2482
2570
  }
2483
2571
  };
2484
- const SummaryResultConversationsItem = {
2572
+ export const SummaryResultConversationsItem = {
2485
2573
  type: {
2486
2574
  name: "Composite",
2487
2575
  className: "SummaryResultConversationsItem",
2488
- modelProperties: Object.assign(Object.assign({}, ConversationsSummaryResult.type.modelProperties), ConversationResultBase.type.modelProperties)
2576
+ modelProperties: {
2577
+ ...ConversationsSummaryResult.type.modelProperties,
2578
+ ...ConversationResultBase.type.modelProperties
2579
+ }
2489
2580
  }
2490
2581
  };
2491
- const ConversationPIIResults = {
2582
+ export const ConversationPIIResults = {
2492
2583
  type: {
2493
2584
  name: "Composite",
2494
2585
  className: "ConversationPIIResults",
2495
- modelProperties: Object.assign(Object.assign({}, PreBuiltResult.type.modelProperties), { conversations: {
2586
+ modelProperties: {
2587
+ ...PreBuiltResult.type.modelProperties,
2588
+ conversations: {
2496
2589
  serializedName: "conversations",
2497
2590
  required: true,
2498
2591
  type: {
@@ -2504,14 +2597,17 @@ const ConversationPIIResults = {
2504
2597
  }
2505
2598
  }
2506
2599
  }
2507
- } })
2600
+ }
2601
+ }
2508
2602
  }
2509
2603
  };
2510
- const SummaryResult = {
2604
+ export const SummaryResult = {
2511
2605
  type: {
2512
2606
  name: "Composite",
2513
2607
  className: "SummaryResult",
2514
- modelProperties: Object.assign(Object.assign({}, PreBuiltResult.type.modelProperties), { conversations: {
2608
+ modelProperties: {
2609
+ ...PreBuiltResult.type.modelProperties,
2610
+ conversations: {
2515
2611
  serializedName: "conversations",
2516
2612
  required: true,
2517
2613
  type: {
@@ -2523,85 +2619,102 @@ const SummaryResult = {
2523
2619
  }
2524
2620
  }
2525
2621
  }
2526
- } })
2622
+ }
2623
+ }
2527
2624
  }
2528
2625
  };
2529
- const ConversationsSummaryResultSummariesItem = {
2626
+ export const ConversationsSummaryResultSummariesItem = {
2530
2627
  type: {
2531
2628
  name: "Composite",
2532
2629
  className: "ConversationsSummaryResultSummariesItem",
2533
- modelProperties: Object.assign({}, SummaryResultItem.type.modelProperties)
2630
+ modelProperties: {
2631
+ ...SummaryResultItem.type.modelProperties
2632
+ }
2534
2633
  }
2535
2634
  };
2536
- const AnalyzeConversationPIITask = {
2635
+ export const AnalyzeConversationPIITask = {
2537
2636
  serializedName: "ConversationalPIITask",
2538
2637
  type: {
2539
2638
  name: "Composite",
2540
2639
  className: "AnalyzeConversationPIITask",
2541
2640
  uberParent: "TaskIdentifier",
2542
2641
  polymorphicDiscriminator: TaskIdentifier.type.polymorphicDiscriminator,
2543
- modelProperties: Object.assign(Object.assign({}, AnalyzeConversationLROTask.type.modelProperties), { parameters: {
2642
+ modelProperties: {
2643
+ ...AnalyzeConversationLROTask.type.modelProperties,
2644
+ parameters: {
2544
2645
  serializedName: "parameters",
2545
2646
  type: {
2546
2647
  name: "Composite",
2547
2648
  className: "ConversationPIITaskParameters"
2548
2649
  }
2549
- } })
2650
+ }
2651
+ }
2550
2652
  }
2551
2653
  };
2552
- const AnalyzeConversationSummarizationTask = {
2654
+ export const AnalyzeConversationSummarizationTask = {
2553
2655
  serializedName: "ConversationalSummarizationTask",
2554
2656
  type: {
2555
2657
  name: "Composite",
2556
2658
  className: "AnalyzeConversationSummarizationTask",
2557
2659
  uberParent: "TaskIdentifier",
2558
2660
  polymorphicDiscriminator: TaskIdentifier.type.polymorphicDiscriminator,
2559
- modelProperties: Object.assign(Object.assign({}, AnalyzeConversationLROTask.type.modelProperties), { parameters: {
2661
+ modelProperties: {
2662
+ ...AnalyzeConversationLROTask.type.modelProperties,
2663
+ parameters: {
2560
2664
  serializedName: "parameters",
2561
2665
  type: {
2562
2666
  name: "Composite",
2563
2667
  className: "ConversationSummarizationTaskParameters"
2564
2668
  }
2565
- } })
2669
+ }
2670
+ }
2566
2671
  }
2567
2672
  };
2568
- const AnalyzeConversationPIIResult = {
2673
+ export const AnalyzeConversationPIIResult = {
2569
2674
  serializedName: "ConversationalPIIResults",
2570
2675
  type: {
2571
2676
  name: "Composite",
2572
2677
  className: "AnalyzeConversationPIIResult",
2573
2678
  uberParent: "TaskStateAutoGenerated",
2574
2679
  polymorphicDiscriminator: TaskStateAutoGenerated.type.polymorphicDiscriminator,
2575
- modelProperties: Object.assign(Object.assign({}, AnalyzeConversationJobResult.type.modelProperties), { results: {
2680
+ modelProperties: {
2681
+ ...AnalyzeConversationJobResult.type.modelProperties,
2682
+ results: {
2576
2683
  serializedName: "results",
2577
2684
  type: {
2578
2685
  name: "Composite",
2579
2686
  className: "ConversationPIIResults"
2580
2687
  }
2581
- } })
2688
+ }
2689
+ }
2582
2690
  }
2583
2691
  };
2584
- const AnalyzeConversationSummarizationResult = {
2692
+ export const AnalyzeConversationSummarizationResult = {
2585
2693
  serializedName: "ConversationalSummarizationResults",
2586
2694
  type: {
2587
2695
  name: "Composite",
2588
2696
  className: "AnalyzeConversationSummarizationResult",
2589
2697
  uberParent: "TaskStateAutoGenerated",
2590
2698
  polymorphicDiscriminator: TaskStateAutoGenerated.type.polymorphicDiscriminator,
2591
- modelProperties: Object.assign(Object.assign({}, AnalyzeConversationJobResult.type.modelProperties), { results: {
2699
+ modelProperties: {
2700
+ ...AnalyzeConversationJobResult.type.modelProperties,
2701
+ results: {
2592
2702
  serializedName: "results",
2593
2703
  type: {
2594
2704
  name: "Composite",
2595
2705
  className: "SummaryResult"
2596
2706
  }
2597
- } })
2707
+ }
2708
+ }
2598
2709
  }
2599
2710
  };
2600
- const ConversationPIITaskParameters = {
2711
+ export const ConversationPIITaskParameters = {
2601
2712
  type: {
2602
2713
  name: "Composite",
2603
2714
  className: "ConversationPIITaskParameters",
2604
- modelProperties: Object.assign(Object.assign({}, PreBuiltTaskParameters.type.modelProperties), { piiCategories: {
2715
+ modelProperties: {
2716
+ ...PreBuiltTaskParameters.type.modelProperties,
2717
+ piiCategories: {
2605
2718
  constraints: {
2606
2719
  UniqueItems: true
2607
2720
  },
@@ -2614,25 +2727,30 @@ const ConversationPIITaskParameters = {
2614
2727
  }
2615
2728
  }
2616
2729
  }
2617
- }, includeAudioRedaction: {
2730
+ },
2731
+ includeAudioRedaction: {
2618
2732
  defaultValue: false,
2619
2733
  serializedName: "includeAudioRedaction",
2620
2734
  type: {
2621
2735
  name: "Boolean"
2622
2736
  }
2623
- }, redactionSource: {
2737
+ },
2738
+ redactionSource: {
2624
2739
  serializedName: "redactionSource",
2625
2740
  type: {
2626
2741
  name: "String"
2627
2742
  }
2628
- } })
2743
+ }
2744
+ }
2629
2745
  }
2630
2746
  };
2631
- const ConversationSummarizationTaskParameters = {
2747
+ export const ConversationSummarizationTaskParameters = {
2632
2748
  type: {
2633
2749
  name: "Composite",
2634
2750
  className: "ConversationSummarizationTaskParameters",
2635
- modelProperties: Object.assign(Object.assign({}, PreBuiltTaskParameters.type.modelProperties), { summaryAspects: {
2751
+ modelProperties: {
2752
+ ...PreBuiltTaskParameters.type.modelProperties,
2753
+ summaryAspects: {
2636
2754
  serializedName: "summaryAspects",
2637
2755
  required: true,
2638
2756
  type: {
@@ -2643,10 +2761,11 @@ const ConversationSummarizationTaskParameters = {
2643
2761
  }
2644
2762
  }
2645
2763
  }
2646
- } })
2764
+ }
2765
+ }
2647
2766
  }
2648
2767
  };
2649
- const ConversationAnalysisClientAnalyzeConversationExceptionHeaders = {
2768
+ export const ConversationAnalysisClientAnalyzeConversationExceptionHeaders = {
2650
2769
  type: {
2651
2770
  name: "Composite",
2652
2771
  className: "ConversationAnalysisClientAnalyzeConversationExceptionHeaders",
@@ -2660,7 +2779,7 @@ const ConversationAnalysisClientAnalyzeConversationExceptionHeaders = {
2660
2779
  }
2661
2780
  }
2662
2781
  };
2663
- const ConversationAnalysisClientConversationAnalysisHeaders = {
2782
+ export const ConversationAnalysisClientConversationAnalysisHeaders = {
2664
2783
  type: {
2665
2784
  name: "Composite",
2666
2785
  className: "ConversationAnalysisClientConversationAnalysisHeaders",
@@ -2674,7 +2793,7 @@ const ConversationAnalysisClientConversationAnalysisHeaders = {
2674
2793
  }
2675
2794
  }
2676
2795
  };
2677
- let discriminators = {
2796
+ export let discriminators = {
2678
2797
  AnalyzeConversationTask: AnalyzeConversationTask,
2679
2798
  AnalyzeConversationTaskResult: AnalyzeConversationTaskResult,
2680
2799
  Conversation: Conversation,
@@ -2720,1114 +2839,4 @@ let discriminators = {
2720
2839
  "TaskStateAutoGenerated.ConversationalPIIResults": AnalyzeConversationPIIResult,
2721
2840
  "TaskStateAutoGenerated.ConversationalSummarizationResults": AnalyzeConversationSummarizationResult
2722
2841
  };
2723
-
2724
- var Mappers = /*#__PURE__*/Object.freeze({
2725
- __proto__: null,
2726
- AnalyzeConversationTask: AnalyzeConversationTask,
2727
- AnalyzeConversationTaskResult: AnalyzeConversationTaskResult,
2728
- ErrorResponse: ErrorResponse,
2729
- ErrorModel: ErrorModel,
2730
- InnerErrorModel: InnerErrorModel,
2731
- AnalyzeConversationJobsInput: AnalyzeConversationJobsInput,
2732
- MultiLanguageConversationAnalysisInput: MultiLanguageConversationAnalysisInput,
2733
- Conversation: Conversation,
2734
- TaskIdentifier: TaskIdentifier,
2735
- JobStateAutoGenerated: JobStateAutoGenerated,
2736
- ConversationTasksState: ConversationTasksState,
2737
- ConversationTasksStateTasks: ConversationTasksStateTasks,
2738
- TaskStateAutoGenerated: TaskStateAutoGenerated,
2739
- AnalyzeConversationJobStatistics: AnalyzeConversationJobStatistics,
2740
- RequestStatistics: RequestStatistics,
2741
- ConversationAnalysisOptions: ConversationAnalysisOptions,
2742
- ConversationItemBase: ConversationItemBase,
2743
- ConversationTaskParameters: ConversationTaskParameters,
2744
- AnalysisParameters: AnalysisParameters,
2745
- AnalyzeConversationResult: AnalyzeConversationResult,
2746
- BasePrediction: BasePrediction,
2747
- ConversationResult: ConversationResult,
2748
- ConversationIntent: ConversationIntent,
2749
- ConversationEntity: ConversationEntity,
2750
- BaseResolution: BaseResolution,
2751
- BaseExtraInformation: BaseExtraInformation,
2752
- TargetIntentResult: TargetIntentResult,
2753
- LuisCallingOptions: LuisCallingOptions,
2754
- ConversationCallingOptions: ConversationCallingOptions,
2755
- AnswersOptions: AnswersOptions,
2756
- KnowledgeBaseAnswerContext: KnowledgeBaseAnswerContext,
2757
- QueryFilters: QueryFilters,
2758
- MetadataFilter: MetadataFilter,
2759
- MetadataRecord: MetadataRecord,
2760
- ShortAnswerOptions: ShortAnswerOptions,
2761
- QuantityResolution: QuantityResolution,
2762
- AnswersResult: AnswersResult,
2763
- KnowledgeBaseAnswer: KnowledgeBaseAnswer,
2764
- KnowledgeBaseAnswerDialog: KnowledgeBaseAnswerDialog,
2765
- KnowledgeBaseAnswerPrompt: KnowledgeBaseAnswerPrompt,
2766
- AnswerSpan: AnswerSpan,
2767
- TaskParameters: TaskParameters,
2768
- ConversationPIIItemResult: ConversationPIIItemResult,
2769
- RedactedTranscriptContent: RedactedTranscriptContent,
2770
- AudioTiming: AudioTiming,
2771
- Entity: Entity,
2772
- ConversationPIIResult: ConversationPIIResult,
2773
- ConversationResultBase: ConversationResultBase,
2774
- InputWarning: InputWarning,
2775
- ConversationStatistics: ConversationStatistics,
2776
- PreBuiltResult: PreBuiltResult,
2777
- InputError: InputError,
2778
- ConversationsSummaryResult: ConversationsSummaryResult,
2779
- SummaryResultItem: SummaryResultItem,
2780
- ConversationalTask: ConversationalTask,
2781
- ConversationalTaskResult: ConversationalTaskResult,
2782
- TextConversation: TextConversation,
2783
- TranscriptConversation: TranscriptConversation,
2784
- AnalyzeConversationLROTask: AnalyzeConversationLROTask,
2785
- AnalyzeConversationJobResult: AnalyzeConversationJobResult,
2786
- AnalyzeConversationJobState: AnalyzeConversationJobState,
2787
- ConversationRequestStatistics: ConversationRequestStatistics,
2788
- TextConversationItem: TextConversationItem,
2789
- TranscriptConversationItem: TranscriptConversationItem,
2790
- LuisParameters: LuisParameters,
2791
- ConversationParameters: ConversationParameters,
2792
- QuestionAnsweringParameters: QuestionAnsweringParameters,
2793
- ConversationPrediction: ConversationPrediction,
2794
- OrchestrationPrediction: OrchestrationPrediction,
2795
- AgeResolution: AgeResolution,
2796
- VolumeResolution: VolumeResolution,
2797
- SpeedResolution: SpeedResolution,
2798
- AreaResolution: AreaResolution,
2799
- LengthResolution: LengthResolution,
2800
- InformationResolution: InformationResolution,
2801
- TemperatureResolution: TemperatureResolution,
2802
- WeightResolution: WeightResolution,
2803
- CurrencyResolution: CurrencyResolution,
2804
- BooleanResolution: BooleanResolution,
2805
- DateTimeResolution: DateTimeResolution,
2806
- NumberResolution: NumberResolution,
2807
- OrdinalResolution: OrdinalResolution,
2808
- TemporalSpanResolution: TemporalSpanResolution,
2809
- NumericRangeResolution: NumericRangeResolution,
2810
- EntitySubtype: EntitySubtype,
2811
- ListKey: ListKey,
2812
- NoneLinkedTargetIntentResult: NoneLinkedTargetIntentResult,
2813
- ConversationTargetIntentResult: ConversationTargetIntentResult,
2814
- LuisTargetIntentResult: LuisTargetIntentResult,
2815
- QuestionAnsweringTargetIntentResult: QuestionAnsweringTargetIntentResult,
2816
- PreBuiltTaskParameters: PreBuiltTaskParameters,
2817
- WordLevelTiming: WordLevelTiming,
2818
- ConversationPIIResultsConversationsItem: ConversationPIIResultsConversationsItem,
2819
- SummaryResultConversationsItem: SummaryResultConversationsItem,
2820
- ConversationPIIResults: ConversationPIIResults,
2821
- SummaryResult: SummaryResult,
2822
- ConversationsSummaryResultSummariesItem: ConversationsSummaryResultSummariesItem,
2823
- AnalyzeConversationPIITask: AnalyzeConversationPIITask,
2824
- AnalyzeConversationSummarizationTask: AnalyzeConversationSummarizationTask,
2825
- AnalyzeConversationPIIResult: AnalyzeConversationPIIResult,
2826
- AnalyzeConversationSummarizationResult: AnalyzeConversationSummarizationResult,
2827
- ConversationPIITaskParameters: ConversationPIITaskParameters,
2828
- ConversationSummarizationTaskParameters: ConversationSummarizationTaskParameters,
2829
- ConversationAnalysisClientAnalyzeConversationExceptionHeaders: ConversationAnalysisClientAnalyzeConversationExceptionHeaders,
2830
- ConversationAnalysisClientConversationAnalysisHeaders: ConversationAnalysisClientConversationAnalysisHeaders,
2831
- discriminators: discriminators
2832
- });
2833
-
2834
- /*
2835
- * Copyright (c) Microsoft Corporation.
2836
- * Licensed under the MIT License.
2837
- *
2838
- * Code generated by Microsoft (R) AutoRest Code Generator.
2839
- * Changes may cause incorrect behavior and will be lost if the code is regenerated.
2840
- */
2841
- const contentType = {
2842
- parameterPath: ["options", "contentType"],
2843
- mapper: {
2844
- defaultValue: "application/json",
2845
- isConstant: true,
2846
- serializedName: "Content-Type",
2847
- type: {
2848
- name: "String"
2849
- }
2850
- }
2851
- };
2852
- const task = {
2853
- parameterPath: "task",
2854
- mapper: AnalyzeConversationTask
2855
- };
2856
- const accept = {
2857
- parameterPath: "accept",
2858
- mapper: {
2859
- defaultValue: "application/json",
2860
- isConstant: true,
2861
- serializedName: "Accept",
2862
- type: {
2863
- name: "String"
2864
- }
2865
- }
2866
- };
2867
- const endpoint = {
2868
- parameterPath: "endpoint",
2869
- mapper: {
2870
- serializedName: "Endpoint",
2871
- required: true,
2872
- type: {
2873
- name: "String"
2874
- }
2875
- },
2876
- skipEncoding: true
2877
- };
2878
- const apiVersion = {
2879
- parameterPath: "apiVersion",
2880
- mapper: {
2881
- defaultValue: "2022-05-15-preview",
2882
- isConstant: true,
2883
- serializedName: "api-version",
2884
- type: {
2885
- name: "String"
2886
- }
2887
- }
2888
- };
2889
- const task1 = {
2890
- parameterPath: "task",
2891
- mapper: AnalyzeConversationJobsInput
2892
- };
2893
-
2894
- /*
2895
- * Copyright (c) Microsoft Corporation.
2896
- * Licensed under the MIT License.
2897
- *
2898
- * Code generated by Microsoft (R) AutoRest Code Generator.
2899
- * Changes may cause incorrect behavior and will be lost if the code is regenerated.
2900
- */
2901
- /** @internal */
2902
- class ConversationAnalysisClient$1 extends coreClient__namespace.ServiceClient {
2903
- /**
2904
- * Initializes a new instance of the ConversationAnalysisClient class.
2905
- * @param endpoint Supported Cognitive Services endpoint (e.g.,
2906
- * https://<resource-name>.api.cognitiveservices.azure.com).
2907
- * @param options The parameter options
2908
- */
2909
- constructor(endpoint, options) {
2910
- var _a, _b;
2911
- if (endpoint === undefined) {
2912
- throw new Error("'endpoint' cannot be null");
2913
- }
2914
- // Initializing default values for options
2915
- if (!options) {
2916
- options = {};
2917
- }
2918
- const defaults = {
2919
- requestContentType: "application/json; charset=utf-8"
2920
- };
2921
- const packageDetails = `azsdk-js-ai-language-conversations/1.0.0-beta.1`;
2922
- const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix
2923
- ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`
2924
- : `${packageDetails}`;
2925
- const optionsWithDefaults = Object.assign(Object.assign(Object.assign({}, defaults), options), { userAgentOptions: {
2926
- userAgentPrefix
2927
- }, baseUri: (_b = (_a = options.endpoint) !== null && _a !== void 0 ? _a : options.baseUri) !== null && _b !== void 0 ? _b : "{Endpoint}/language" });
2928
- super(optionsWithDefaults);
2929
- if ((options === null || options === void 0 ? void 0 : options.pipeline) && options.pipeline.getOrderedPolicies().length > 0) {
2930
- const pipelinePolicies = options.pipeline.getOrderedPolicies();
2931
- const bearerTokenAuthenticationPolicyFound = pipelinePolicies.some((pipelinePolicy) => pipelinePolicy.name ===
2932
- coreRestPipeline__namespace.bearerTokenAuthenticationPolicyName);
2933
- if (!bearerTokenAuthenticationPolicyFound) {
2934
- this.pipeline.removePolicy({
2935
- name: coreRestPipeline__namespace.bearerTokenAuthenticationPolicyName
2936
- });
2937
- this.pipeline.addPolicy(coreRestPipeline__namespace.bearerTokenAuthenticationPolicy({
2938
- scopes: `${optionsWithDefaults.baseUri}/.default`,
2939
- challengeCallbacks: {
2940
- authorizeRequestOnChallenge: coreClient__namespace.authorizeRequestOnClaimChallenge
2941
- }
2942
- }));
2943
- }
2944
- }
2945
- // Parameter assignments
2946
- this.endpoint = endpoint;
2947
- // Assigning values to Constant parameters
2948
- this.apiVersion = options.apiVersion || "2022-05-15-preview";
2949
- this.addCustomApiVersionPolicy(options.apiVersion);
2950
- }
2951
- /** A function that adds a policy that sets the api-version (or equivalent) to reflect the library version. */
2952
- addCustomApiVersionPolicy(apiVersion) {
2953
- if (!apiVersion) {
2954
- return;
2955
- }
2956
- const apiVersionPolicy = {
2957
- name: "CustomApiVersionPolicy",
2958
- async sendRequest(request, next) {
2959
- const param = request.url.split("?");
2960
- if (param.length > 1) {
2961
- const newParams = param[1].split("&").map((item) => {
2962
- if (item.indexOf("api-version") > -1) {
2963
- return "api-version=" + apiVersion;
2964
- }
2965
- else {
2966
- return item;
2967
- }
2968
- });
2969
- request.url = param[0] + "?" + newParams.join("&");
2970
- }
2971
- return next(request);
2972
- }
2973
- };
2974
- this.pipeline.addPolicy(apiVersionPolicy);
2975
- }
2976
- /**
2977
- * Analyzes the input conversation utterance.
2978
- * @param task A single conversational task to execute.
2979
- * @param options The options parameters.
2980
- */
2981
- analyzeConversation(task, options) {
2982
- return this.sendOperationRequest({ task, options }, analyzeConversationOperationSpec);
2983
- }
2984
- /**
2985
- * Submit a collection of conversations for analysis. Specify one or more unique tasks to be executed.
2986
- * @param task The collection of conversations to analyze and one or more tasks to execute.
2987
- * @param options The options parameters.
2988
- */
2989
- async beginConversationAnalysis(task, options) {
2990
- const directSendOperation = async (args, spec) => {
2991
- return this.sendOperationRequest(args, spec);
2992
- };
2993
- const sendOperation = async (args, spec) => {
2994
- var _a;
2995
- let currentRawResponse = undefined;
2996
- const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
2997
- const callback = (rawResponse, flatResponse) => {
2998
- currentRawResponse = rawResponse;
2999
- providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
3000
- };
3001
- const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
3002
- const flatResponse = await directSendOperation(updatedArgs, spec);
3003
- return {
3004
- flatResponse,
3005
- rawResponse: {
3006
- statusCode: currentRawResponse.status,
3007
- body: currentRawResponse.parsedBody,
3008
- headers: currentRawResponse.headers.toJSON()
3009
- }
3010
- };
3011
- };
3012
- const lro = new LroImpl(sendOperation, { task, options }, conversationAnalysisOperationSpec);
3013
- const poller = new coreLro.LroEngine(lro, {
3014
- resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
3015
- intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
3016
- });
3017
- await poller.poll();
3018
- return poller;
3019
- }
3020
- /**
3021
- * Submit a collection of conversations for analysis. Specify one or more unique tasks to be executed.
3022
- * @param task The collection of conversations to analyze and one or more tasks to execute.
3023
- * @param options The options parameters.
3024
- */
3025
- async beginConversationAnalysisAndWait(task, options) {
3026
- const poller = await this.beginConversationAnalysis(task, options);
3027
- return poller.pollUntilDone();
3028
- }
3029
- }
3030
- // Operation Specifications
3031
- const serializer = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
3032
- const analyzeConversationOperationSpec = {
3033
- path: "/:analyze-conversations",
3034
- httpMethod: "POST",
3035
- responses: {
3036
- 200: {
3037
- bodyMapper: AnalyzeConversationTaskResult
3038
- },
3039
- default: {
3040
- bodyMapper: ErrorResponse,
3041
- headersMapper: ConversationAnalysisClientAnalyzeConversationExceptionHeaders
3042
- }
3043
- },
3044
- requestBody: task,
3045
- queryParameters: [apiVersion],
3046
- urlParameters: [endpoint],
3047
- headerParameters: [contentType, accept],
3048
- mediaType: "json",
3049
- serializer
3050
- };
3051
- const conversationAnalysisOperationSpec = {
3052
- path: "/analyze-conversations/jobs",
3053
- httpMethod: "POST",
3054
- responses: {
3055
- 200: {
3056
- bodyMapper: AnalyzeConversationJobState
3057
- },
3058
- 201: {
3059
- bodyMapper: AnalyzeConversationJobState
3060
- },
3061
- 202: {
3062
- bodyMapper: AnalyzeConversationJobState
3063
- },
3064
- 204: {
3065
- bodyMapper: AnalyzeConversationJobState
3066
- },
3067
- default: {
3068
- bodyMapper: ErrorResponse
3069
- }
3070
- },
3071
- requestBody: task1,
3072
- queryParameters: [apiVersion],
3073
- urlParameters: [endpoint],
3074
- headerParameters: [contentType, accept],
3075
- mediaType: "json",
3076
- serializer
3077
- };
3078
-
3079
- // Copyright (c) Microsoft Corporation.
3080
- // Licensed under the MIT license.
3081
- const API_KEY_HEADER_NAME = "Ocp-Apim-Subscription-Key";
3082
- /**
3083
- * The programmatic identifier of the conversationAnalysisAzureKeyCredentialPolicy.
3084
- */
3085
- const conversationAnalysisAzureKeyCredentialPolicyName = "conversationAnalysisAzureKeyCredentialPolicy";
3086
- /**
3087
- * Create an HTTP pipeline policy to authenticate a request
3088
- * using an `AzureKeyCredential` for Conversation Analysis
3089
- * @internal
3090
- */
3091
- function conversationAnalysisAzureKeyCredentialPolicy(credential) {
3092
- return {
3093
- name: conversationAnalysisAzureKeyCredentialPolicyName,
3094
- sendRequest(request, next) {
3095
- request.headers.set(API_KEY_HEADER_NAME, credential.key);
3096
- return next(request);
3097
- },
3098
- };
3099
- }
3100
-
3101
- // Copyright (c) Microsoft Corporation.
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
2842
+ //# sourceMappingURL=mappers.js.map