@language-weaver/lw-sdk-js 1.2.0 → 2.0.0

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 (340) hide show
  1. package/lib/{translation/feedback/cloud/model → common/constants}/CloudFeedbackSortCriteria.d.ts +0 -0
  2. package/lib/{translation/feedback/cloud/model → common/constants}/CloudFeedbackSortCriteria.js +0 -0
  3. package/lib/common/constants/CloudFeedbackSortCriteria.js.map +1 -0
  4. package/lib/common/constants/Statuses.d.ts +6 -0
  5. package/lib/common/constants/Statuses.js +7 -1
  6. package/lib/common/constants/Statuses.js.map +1 -1
  7. package/lib/common/constants/TranslationConstants.d.ts +17 -3
  8. package/lib/common/constants/TranslationConstants.js +22 -5
  9. package/lib/common/constants/TranslationConstants.js.map +1 -1
  10. package/lib/common/exceptions/ContentInsightsException.d.ts +4 -0
  11. package/lib/common/exceptions/ContentInsightsException.js +17 -0
  12. package/lib/common/exceptions/ContentInsightsException.js.map +1 -0
  13. package/lib/common/utils/Utils.d.ts +7 -0
  14. package/lib/common/utils/Utils.js +127 -0
  15. package/lib/common/utils/Utils.js.map +1 -1
  16. package/lib/index.d.ts +45 -17
  17. package/lib/index.js +74 -20
  18. package/lib/index.js.map +1 -1
  19. package/lib/translation/common/LanguageWeaverClient.d.ts +10 -2
  20. package/lib/translation/common/cloud/CloudLanguageWeaverClient.d.ts +27 -4
  21. package/lib/translation/common/cloud/CloudLanguageWeaverClient.js +149 -92
  22. package/lib/translation/common/cloud/CloudLanguageWeaverClient.js.map +1 -1
  23. package/lib/translation/common/edge/EdgeLanguageWeaverClient.d.ts +25 -6
  24. package/lib/translation/common/edge/EdgeLanguageWeaverClient.js +162 -123
  25. package/lib/translation/common/edge/EdgeLanguageWeaverClient.js.map +1 -1
  26. package/lib/translation/common/edge/utils/EdgeLanguagePairUtil.d.ts +1 -1
  27. package/lib/translation/common/edge/utils/EdgeLanguagePairUtil.js +1 -1
  28. package/lib/translation/common/edge/utils/EdgeLanguagePairUtil.js.map +1 -1
  29. package/lib/translation/content-insights/cloud/api/CloudContentInsightsResponse.d.ts +23 -0
  30. package/lib/translation/content-insights/cloud/api/CloudContentInsightsResponse.js +69 -0
  31. package/lib/translation/content-insights/cloud/api/CloudContentInsightsResponse.js.map +1 -0
  32. package/lib/translation/content-insights/cloud/api/CloudContentInsightsStatisticsApiModel.d.ts +10 -0
  33. package/lib/translation/content-insights/cloud/api/CloudContentInsightsStatisticsApiModel.js +39 -0
  34. package/lib/translation/content-insights/cloud/api/CloudContentInsightsStatisticsApiModel.js.map +1 -0
  35. package/lib/translation/content-insights/cloud/api/CloudCreateContentInsightsResponse.d.ts +12 -0
  36. package/lib/translation/content-insights/cloud/api/CloudCreateContentInsightsResponse.js +32 -0
  37. package/lib/translation/content-insights/cloud/api/CloudCreateContentInsightsResponse.js.map +1 -0
  38. package/lib/translation/content-insights/cloud/api/CloudCreateContentInsightsStatusResponse.d.ts +16 -0
  39. package/lib/translation/content-insights/cloud/api/CloudCreateContentInsightsStatusResponse.js +42 -0
  40. package/lib/translation/content-insights/cloud/api/CloudCreateContentInsightsStatusResponse.js.map +1 -0
  41. package/lib/translation/content-insights/cloud/api/CloudDocumentApiModel.d.ts +12 -0
  42. package/lib/translation/content-insights/cloud/api/CloudDocumentApiModel.js +39 -0
  43. package/lib/translation/content-insights/cloud/api/CloudDocumentApiModel.js.map +1 -0
  44. package/lib/translation/content-insights/cloud/api/CloudSegmentApiModel.d.ts +15 -0
  45. package/lib/translation/content-insights/cloud/api/CloudSegmentApiModel.js +57 -0
  46. package/lib/translation/content-insights/cloud/api/CloudSegmentApiModel.js.map +1 -0
  47. package/lib/translation/content-insights/cloud/api/CloudSummarizationApiModel.d.ts +13 -0
  48. package/lib/translation/content-insights/cloud/api/CloudSummarizationApiModel.js +46 -0
  49. package/lib/translation/content-insights/cloud/api/CloudSummarizationApiModel.js.map +1 -0
  50. package/lib/translation/content-insights/cloud/request/CloudContentInsightsRequest.d.ts +3 -0
  51. package/lib/translation/content-insights/cloud/request/CloudContentInsightsRequest.js +30 -0
  52. package/lib/translation/content-insights/cloud/request/CloudContentInsightsRequest.js.map +1 -0
  53. package/lib/translation/content-insights/cloud/request/CloudFileContentInsightsRequest.d.ts +8 -0
  54. package/lib/translation/content-insights/cloud/request/CloudFileContentInsightsRequest.js +29 -0
  55. package/lib/translation/content-insights/cloud/request/CloudFileContentInsightsRequest.js.map +1 -0
  56. package/lib/translation/content-insights/cloud/result/CloudContentInsightsResult.d.ts +16 -0
  57. package/lib/translation/content-insights/cloud/result/CloudContentInsightsResult.js +49 -0
  58. package/lib/translation/content-insights/cloud/result/CloudContentInsightsResult.js.map +1 -0
  59. package/lib/translation/content-insights/cloud/result/CloudContentInsightsStatistics.d.ts +8 -0
  60. package/lib/translation/content-insights/cloud/result/CloudContentInsightsStatistics.js +29 -0
  61. package/lib/translation/content-insights/cloud/result/CloudContentInsightsStatistics.js.map +1 -0
  62. package/lib/translation/content-insights/cloud/result/CloudSegment.d.ts +6 -0
  63. package/lib/translation/content-insights/cloud/result/CloudSegment.js +40 -0
  64. package/lib/translation/content-insights/cloud/result/CloudSegment.js.map +1 -0
  65. package/lib/translation/content-insights/cloud/result/CloudSummarization.d.ts +6 -0
  66. package/lib/translation/content-insights/cloud/result/CloudSummarization.js +19 -0
  67. package/lib/translation/content-insights/cloud/result/CloudSummarization.js.map +1 -0
  68. package/lib/translation/content-insights/cloud/service/CloudContentInsightsService.d.ts +20 -0
  69. package/lib/translation/content-insights/cloud/service/CloudContentInsightsService.js +248 -0
  70. package/lib/translation/content-insights/cloud/service/CloudContentInsightsService.js.map +1 -0
  71. package/lib/translation/content-insights/common/request/ContentInsightsRequest.d.ts +7 -0
  72. package/lib/translation/content-insights/common/request/ContentInsightsRequest.js +23 -0
  73. package/lib/translation/content-insights/common/request/ContentInsightsRequest.js.map +1 -0
  74. package/lib/translation/content-insights/common/result/ContentInsightsResult.d.ts +6 -0
  75. package/lib/translation/content-insights/common/result/ContentInsightsResult.js +19 -0
  76. package/lib/translation/content-insights/common/result/ContentInsightsResult.js.map +1 -0
  77. package/lib/translation/content-insights/common/result/Segment.d.ts +8 -0
  78. package/lib/translation/content-insights/common/result/Segment.js +29 -0
  79. package/lib/translation/content-insights/common/result/Segment.js.map +1 -0
  80. package/lib/translation/content-insights/common/result/Summarization.d.ts +8 -0
  81. package/lib/translation/content-insights/common/result/Summarization.js +25 -0
  82. package/lib/translation/content-insights/common/result/Summarization.js.map +1 -0
  83. package/lib/translation/content-insights/common/utils/ContentInsightsUtils.d.ts +4 -0
  84. package/lib/translation/content-insights/common/utils/ContentInsightsUtils.js +145 -0
  85. package/lib/translation/content-insights/common/utils/ContentInsightsUtils.js.map +1 -0
  86. package/lib/translation/content-insights/edge/api/EdgeContentInsightsResponse.d.ts +13 -0
  87. package/lib/translation/content-insights/edge/api/EdgeContentInsightsResponse.js +53 -0
  88. package/lib/translation/content-insights/edge/api/EdgeContentInsightsResponse.js.map +1 -0
  89. package/lib/translation/content-insights/edge/api/EdgeSegmentApiModel.d.ts +12 -0
  90. package/lib/translation/content-insights/edge/api/EdgeSegmentApiModel.js +46 -0
  91. package/lib/translation/content-insights/edge/api/EdgeSegmentApiModel.js.map +1 -0
  92. package/lib/translation/content-insights/edge/request/EdgeContentInsightsRequest.d.ts +5 -0
  93. package/lib/translation/content-insights/edge/request/EdgeContentInsightsRequest.js +19 -0
  94. package/lib/translation/content-insights/edge/request/EdgeContentInsightsRequest.js.map +1 -0
  95. package/lib/translation/content-insights/edge/result/EdgeContentInsightsResult.d.ts +9 -0
  96. package/lib/translation/content-insights/edge/result/EdgeContentInsightsResult.js +29 -0
  97. package/lib/translation/content-insights/edge/result/EdgeContentInsightsResult.js.map +1 -0
  98. package/lib/translation/content-insights/edge/result/EdgeSegment.d.ts +3 -0
  99. package/lib/translation/content-insights/edge/result/EdgeSegment.js +30 -0
  100. package/lib/translation/content-insights/edge/result/EdgeSegment.js.map +1 -0
  101. package/lib/translation/content-insights/edge/result/EdgeSummarization.d.ts +6 -0
  102. package/lib/translation/content-insights/edge/result/EdgeSummarization.js +19 -0
  103. package/lib/translation/content-insights/edge/result/EdgeSummarization.js.map +1 -0
  104. package/lib/translation/content-insights/edge/service/EdgeContentInsightsService.d.ts +14 -0
  105. package/lib/translation/content-insights/edge/service/EdgeContentInsightsService.js +96 -0
  106. package/lib/translation/content-insights/edge/service/EdgeContentInsightsService.js.map +1 -0
  107. package/lib/translation/dictionaries/cloud/api/CloudDictionariesResponse.d.ts +14 -0
  108. package/lib/translation/dictionaries/cloud/api/CloudDictionariesResponse.js +72 -0
  109. package/lib/translation/dictionaries/cloud/api/CloudDictionariesResponse.js.map +1 -0
  110. package/lib/translation/dictionaries/cloud/api/CloudDictionaryApiModel.d.ts +36 -0
  111. package/lib/translation/dictionaries/cloud/api/CloudDictionaryApiModel.js +136 -0
  112. package/lib/translation/dictionaries/cloud/api/CloudDictionaryApiModel.js.map +1 -0
  113. package/lib/translation/{translate → dictionaries}/cloud/result/CloudDictionariesResult.d.ts +3 -3
  114. package/lib/translation/{translate → dictionaries}/cloud/result/CloudDictionariesResult.js +0 -0
  115. package/lib/translation/dictionaries/cloud/result/CloudDictionariesResult.js.map +1 -0
  116. package/lib/translation/{translate/cloud/api/CloudDictionaryResponse.d.ts → dictionaries/cloud/result/CloudDictionary.d.ts} +1 -1
  117. package/lib/translation/{translate/cloud/api/CloudDictionaryResponse.js → dictionaries/cloud/result/CloudDictionary.js} +15 -15
  118. package/lib/translation/dictionaries/cloud/result/CloudDictionary.js.map +1 -0
  119. package/lib/translation/dictionaries/cloud/service/CloudDictionariesService.d.ts +15 -0
  120. package/lib/translation/dictionaries/cloud/service/CloudDictionariesService.js +51 -0
  121. package/lib/translation/dictionaries/cloud/service/CloudDictionariesService.js.map +1 -0
  122. package/lib/translation/dictionaries/common/result/DictionariesResult.d.ts +7 -0
  123. package/lib/translation/{translate → dictionaries}/common/result/DictionariesResult.js +0 -0
  124. package/lib/translation/dictionaries/common/result/DictionariesResult.js.map +1 -0
  125. package/lib/translation/{translate/common/api/DictionaryResponse.d.ts → dictionaries/common/result/Dictionary.d.ts} +1 -1
  126. package/lib/translation/{translate/common/api/DictionaryResponse.js → dictionaries/common/result/Dictionary.js} +8 -8
  127. package/lib/translation/dictionaries/common/result/Dictionary.js.map +1 -0
  128. package/lib/translation/dictionaries/edge/api/EdgeDictionariesResponse.d.ts +22 -0
  129. package/lib/translation/dictionaries/edge/api/EdgeDictionariesResponse.js +84 -0
  130. package/lib/translation/dictionaries/edge/api/EdgeDictionariesResponse.js.map +1 -0
  131. package/lib/translation/dictionaries/edge/api/EdgeDictionaryApiModel.d.ts +15 -0
  132. package/lib/translation/dictionaries/edge/api/EdgeDictionaryApiModel.js +58 -0
  133. package/lib/translation/dictionaries/edge/api/EdgeDictionaryApiModel.js.map +1 -0
  134. package/lib/translation/{translate → dictionaries}/edge/result/EdgeDictionariesResult.d.ts +3 -3
  135. package/lib/translation/{translate → dictionaries}/edge/result/EdgeDictionariesResult.js +0 -0
  136. package/lib/translation/dictionaries/edge/result/EdgeDictionariesResult.js.map +1 -0
  137. package/lib/translation/{translate/edge/api/EdgeDictionaryResponse.d.ts → dictionaries/edge/result/EdgeDictionary.d.ts} +1 -1
  138. package/lib/translation/{translate/edge/api/EdgeDictionaryResponse.js → dictionaries/edge/result/EdgeDictionary.js} +8 -8
  139. package/lib/translation/dictionaries/edge/result/EdgeDictionary.js.map +1 -0
  140. package/lib/translation/dictionaries/edge/service/EdgeDictionariesService.d.ts +12 -0
  141. package/lib/translation/dictionaries/edge/service/EdgeDictionariesService.js +51 -0
  142. package/lib/translation/dictionaries/edge/service/EdgeDictionariesService.js.map +1 -0
  143. package/lib/translation/feedback/cloud/api/CloudFeedbackApiModel.js +2 -2
  144. package/lib/translation/feedback/cloud/api/CloudFeedbackApiModel.js.map +1 -1
  145. package/lib/translation/feedback/cloud/request/CloudFeedbackSortRequest.d.ts +1 -1
  146. package/lib/translation/feedback/cloud/{model → result}/CloudAuditData.d.ts +1 -1
  147. package/lib/translation/feedback/cloud/{model → result}/CloudAuditData.js +1 -1
  148. package/lib/translation/feedback/cloud/result/CloudAuditData.js.map +1 -0
  149. package/lib/translation/feedback/cloud/result/CloudFeedbackResult.d.ts +1 -1
  150. package/lib/translation/feedback/cloud/service/CloudFeedbackService.js +1 -1
  151. package/lib/translation/feedback/cloud/service/CloudFeedbackService.js.map +1 -1
  152. package/lib/translation/feedback/cloud/{validators → validator}/CloudFeedbackValidator.d.ts +1 -1
  153. package/lib/translation/feedback/cloud/{validators → validator}/CloudFeedbackValidator.js +1 -1
  154. package/lib/translation/feedback/cloud/validator/CloudFeedbackValidator.js.map +1 -0
  155. package/lib/translation/feedback/common/{model → result}/AuditData.d.ts +0 -0
  156. package/lib/translation/feedback/common/{model → result}/AuditData.js +0 -0
  157. package/lib/translation/feedback/common/result/AuditData.js.map +1 -0
  158. package/lib/translation/feedback/common/result/FeedbackResult.d.ts +1 -1
  159. package/lib/translation/feedback/common/{validators → validator}/FeedbackValidator.d.ts +0 -0
  160. package/lib/translation/feedback/common/{validators → validator}/FeedbackValidator.js +0 -0
  161. package/lib/translation/feedback/common/validator/FeedbackValidator.js.map +1 -0
  162. package/lib/translation/feedback/edge/api/EdgeFeedbackApiModel.d.ts +1 -1
  163. package/lib/translation/feedback/edge/api/EdgeFeedbackApiModel.js +1 -1
  164. package/lib/translation/feedback/edge/api/EdgeFeedbackApiModel.js.map +1 -1
  165. package/lib/translation/feedback/edge/service/EdgeFeedbackService.d.ts +1 -1
  166. package/lib/translation/feedback/edge/service/EdgeFeedbackService.js +1 -1
  167. package/lib/translation/feedback/edge/service/EdgeFeedbackService.js.map +1 -1
  168. package/lib/translation/feedback/edge/validator/EdgeFeedbackValidator.d.ts +3 -0
  169. package/lib/translation/feedback/edge/{validators → validator}/EdgeFeedbackValidator.js +1 -1
  170. package/lib/translation/feedback/edge/validator/EdgeFeedbackValidator.js.map +1 -0
  171. package/lib/translation/language-pairs/cloud/api/CloudLanguagePairApiModel.d.ts +21 -0
  172. package/lib/translation/language-pairs/cloud/api/CloudLanguagePairApiModel.js +81 -0
  173. package/lib/translation/language-pairs/cloud/api/CloudLanguagePairApiModel.js.map +1 -0
  174. package/lib/translation/language-pairs/cloud/api/CloudLanguagePairsResponse.d.ts +13 -0
  175. package/lib/translation/language-pairs/cloud/api/CloudLanguagePairsResponse.js +47 -0
  176. package/lib/translation/language-pairs/cloud/api/CloudLanguagePairsResponse.js.map +1 -0
  177. package/lib/translation/{translate/cloud/api → language-pairs/cloud/result}/CloudLanguagePair.d.ts +2 -0
  178. package/lib/translation/{translate/cloud/api → language-pairs/cloud/result}/CloudLanguagePair.js +11 -0
  179. package/lib/translation/language-pairs/cloud/result/CloudLanguagePair.js.map +1 -0
  180. package/lib/translation/{translate → language-pairs}/cloud/result/CloudLanguagePairsResult.d.ts +1 -1
  181. package/lib/translation/{translate → language-pairs}/cloud/result/CloudLanguagePairsResult.js +0 -0
  182. package/lib/translation/language-pairs/cloud/result/CloudLanguagePairsResult.js.map +1 -0
  183. package/lib/translation/language-pairs/cloud/service/CloudLanguagePairsService.d.ts +15 -0
  184. package/lib/translation/language-pairs/cloud/service/CloudLanguagePairsService.js +45 -0
  185. package/lib/translation/language-pairs/cloud/service/CloudLanguagePairsService.js.map +1 -0
  186. package/lib/translation/language-pairs/common/result/LanguagePair.d.ts +16 -0
  187. package/lib/translation/{translate/common/api → language-pairs/common/result}/LanguagePair.js +11 -0
  188. package/lib/translation/language-pairs/common/result/LanguagePair.js.map +1 -0
  189. package/lib/translation/{translate → language-pairs}/common/result/LanguagePairsResult.d.ts +1 -1
  190. package/lib/translation/{translate → language-pairs}/common/result/LanguagePairsResult.js +0 -0
  191. package/lib/translation/language-pairs/common/result/LanguagePairsResult.js.map +1 -0
  192. package/lib/translation/language-pairs/edge/api/EdgeLanguagePairApiModel.d.ts +17 -0
  193. package/lib/translation/language-pairs/edge/api/EdgeLanguagePairApiModel.js +89 -0
  194. package/lib/translation/language-pairs/edge/api/EdgeLanguagePairApiModel.js.map +1 -0
  195. package/lib/translation/language-pairs/edge/api/EdgeLanguagePairsApiModel.d.ts +10 -0
  196. package/lib/translation/language-pairs/edge/api/EdgeLanguagePairsApiModel.js +37 -0
  197. package/lib/translation/language-pairs/edge/api/EdgeLanguagePairsApiModel.js.map +1 -0
  198. package/lib/translation/language-pairs/edge/api/MemberPairApiModel.d.ts +31 -0
  199. package/lib/translation/language-pairs/edge/api/MemberPairApiModel.js +116 -0
  200. package/lib/translation/language-pairs/edge/api/MemberPairApiModel.js.map +1 -0
  201. package/lib/translation/language-pairs/edge/result/EdgeLanguagePair.d.ts +15 -0
  202. package/lib/translation/{translate/edge/api → language-pairs/edge/result}/EdgeLanguagePair.js +20 -0
  203. package/lib/translation/language-pairs/edge/result/EdgeLanguagePair.js.map +1 -0
  204. package/lib/translation/{translate → language-pairs}/edge/result/EdgeLanguagePairsResult.d.ts +1 -1
  205. package/lib/translation/{translate → language-pairs}/edge/result/EdgeLanguagePairsResult.js +0 -0
  206. package/lib/translation/language-pairs/edge/result/EdgeLanguagePairsResult.js.map +1 -0
  207. package/lib/translation/{translate/edge/api → language-pairs/edge/result}/MemberPair.d.ts +0 -0
  208. package/lib/translation/{translate/edge/api → language-pairs/edge/result}/MemberPair.js +0 -0
  209. package/lib/translation/language-pairs/edge/result/MemberPair.js.map +1 -0
  210. package/lib/translation/language-pairs/edge/service/EdgeLanguagePairsService.d.ts +14 -0
  211. package/lib/translation/language-pairs/edge/service/EdgeLanguagePairsService.js +80 -0
  212. package/lib/translation/language-pairs/edge/service/EdgeLanguagePairsService.js.map +1 -0
  213. package/lib/translation/linguistic-options/cloud/api/CloudLinguisticOptionApiModel.d.ts +13 -0
  214. package/lib/translation/linguistic-options/cloud/api/CloudLinguisticOptionApiModel.js +68 -0
  215. package/lib/translation/linguistic-options/cloud/api/CloudLinguisticOptionApiModel.js.map +1 -0
  216. package/lib/translation/linguistic-options/cloud/api/CloudLinguisticOptionsResponse.d.ts +6 -0
  217. package/lib/translation/linguistic-options/cloud/api/CloudLinguisticOptionsResponse.js +19 -0
  218. package/lib/translation/linguistic-options/cloud/api/CloudLinguisticOptionsResponse.js.map +1 -0
  219. package/lib/translation/linguistic-options/cloud/request/CloudGetLinguisticOptionsRequest.d.ts +3 -0
  220. package/lib/translation/linguistic-options/cloud/request/CloudGetLinguisticOptionsRequest.js +30 -0
  221. package/lib/translation/linguistic-options/cloud/request/CloudGetLinguisticOptionsRequest.js.map +1 -0
  222. package/lib/translation/linguistic-options/cloud/result/CloudLinguisticOption.d.ts +10 -0
  223. package/lib/translation/linguistic-options/cloud/result/CloudLinguisticOption.js +57 -0
  224. package/lib/translation/linguistic-options/cloud/result/CloudLinguisticOption.js.map +1 -0
  225. package/lib/translation/linguistic-options/cloud/result/CloudLinguisticOptionsResult.d.ts +6 -0
  226. package/lib/translation/linguistic-options/cloud/result/CloudLinguisticOptionsResult.js +19 -0
  227. package/lib/translation/linguistic-options/cloud/result/CloudLinguisticOptionsResult.js.map +1 -0
  228. package/lib/translation/linguistic-options/cloud/service/CloudLinguisticOptionsService.d.ts +19 -0
  229. package/lib/translation/linguistic-options/cloud/service/CloudLinguisticOptionsService.js +72 -0
  230. package/lib/translation/linguistic-options/cloud/service/CloudLinguisticOptionsService.js.map +1 -0
  231. package/lib/translation/linguistic-options/cloud/validator/CloudLinguisticOptionsValidator.d.ts +3 -0
  232. package/lib/translation/linguistic-options/cloud/validator/CloudLinguisticOptionsValidator.js +30 -0
  233. package/lib/translation/linguistic-options/cloud/validator/CloudLinguisticOptionsValidator.js.map +1 -0
  234. package/lib/translation/linguistic-options/common/api/LinguisticOptionApiModel.d.ts +11 -0
  235. package/lib/translation/linguistic-options/common/api/LinguisticOptionApiModel.js +39 -0
  236. package/lib/translation/linguistic-options/common/api/LinguisticOptionApiModel.js.map +1 -0
  237. package/lib/translation/{translate/common/api/LanguagePair.d.ts → linguistic-options/common/request/GetLinguisticOptionsRequest.d.ts} +1 -4
  238. package/lib/translation/linguistic-options/common/request/GetLinguisticOptionsRequest.js +39 -0
  239. package/lib/translation/linguistic-options/common/request/GetLinguisticOptionsRequest.js.map +1 -0
  240. package/lib/translation/linguistic-options/common/result/LinguisticOption.d.ts +11 -0
  241. package/lib/translation/linguistic-options/common/result/LinguisticOption.js +39 -0
  242. package/lib/translation/linguistic-options/common/result/LinguisticOption.js.map +1 -0
  243. package/lib/translation/linguistic-options/common/result/LinguisticOptionsResult.d.ts +6 -0
  244. package/lib/translation/linguistic-options/common/result/LinguisticOptionsResult.js +19 -0
  245. package/lib/translation/linguistic-options/common/result/LinguisticOptionsResult.js.map +1 -0
  246. package/lib/translation/linguistic-options/common/validator/LinguisticOptionsValidator.d.ts +4 -0
  247. package/lib/translation/linguistic-options/common/validator/LinguisticOptionsValidator.js +25 -0
  248. package/lib/translation/linguistic-options/common/validator/LinguisticOptionsValidator.js.map +1 -0
  249. package/lib/translation/linguistic-options/edge/api/EdgeLinguisticOptionApiModel.d.ts +7 -0
  250. package/lib/translation/linguistic-options/edge/api/EdgeLinguisticOptionApiModel.js +46 -0
  251. package/lib/translation/linguistic-options/edge/api/EdgeLinguisticOptionApiModel.js.map +1 -0
  252. package/lib/translation/linguistic-options/edge/api/EdgeLinguisticOptionsResponse.d.ts +6 -0
  253. package/lib/translation/linguistic-options/edge/api/EdgeLinguisticOptionsResponse.js +19 -0
  254. package/lib/translation/linguistic-options/edge/api/EdgeLinguisticOptionsResponse.js.map +1 -0
  255. package/lib/translation/linguistic-options/edge/request/EdgeGetLinguisticOptionsRequest.d.ts +9 -0
  256. package/lib/translation/linguistic-options/edge/request/EdgeGetLinguisticOptionsRequest.js +50 -0
  257. package/lib/translation/linguistic-options/edge/request/EdgeGetLinguisticOptionsRequest.js.map +1 -0
  258. package/lib/translation/linguistic-options/edge/result/EdgeLinguisticOption.d.ts +4 -0
  259. package/lib/translation/linguistic-options/edge/result/EdgeLinguisticOption.js +37 -0
  260. package/lib/translation/linguistic-options/edge/result/EdgeLinguisticOption.js.map +1 -0
  261. package/lib/translation/linguistic-options/edge/result/EdgeLinguisticOptionsResult.d.ts +6 -0
  262. package/lib/translation/linguistic-options/edge/result/EdgeLinguisticOptionsResult.js +19 -0
  263. package/lib/translation/linguistic-options/edge/result/EdgeLinguisticOptionsResult.js.map +1 -0
  264. package/lib/translation/linguistic-options/edge/service/EdgeLinguisticOptionsService.d.ts +18 -0
  265. package/lib/translation/linguistic-options/edge/service/EdgeLinguisticOptionsService.js +101 -0
  266. package/lib/translation/linguistic-options/edge/service/EdgeLinguisticOptionsService.js.map +1 -0
  267. package/lib/translation/linguistic-options/edge/validator/EdgeLinguisticOptionsValidator.d.ts +3 -0
  268. package/lib/translation/linguistic-options/edge/validator/EdgeLinguisticOptionsValidator.js +30 -0
  269. package/lib/translation/linguistic-options/edge/validator/EdgeLinguisticOptionsValidator.js.map +1 -0
  270. package/lib/translation/translate/cloud/request/CloudRetrieveFileRequest.d.ts +3 -0
  271. package/lib/translation/translate/cloud/request/CloudRetrieveFileRequest.js +30 -0
  272. package/lib/translation/translate/cloud/request/CloudRetrieveFileRequest.js.map +1 -0
  273. package/lib/translation/translate/cloud/request/CloudTranslateTextRequest.d.ts +3 -0
  274. package/lib/translation/translate/cloud/request/CloudTranslateTextRequest.js +21 -0
  275. package/lib/translation/translate/cloud/request/CloudTranslateTextRequest.js.map +1 -1
  276. package/lib/translation/translate/cloud/request/CloudTranslateTextRequestApiModel.d.ts +26 -0
  277. package/lib/translation/translate/cloud/request/CloudTranslateTextRequestApiModel.js +80 -0
  278. package/lib/translation/translate/cloud/request/CloudTranslateTextRequestApiModel.js.map +1 -0
  279. package/lib/translation/translate/cloud/result/CloudTranslationFileResult.d.ts +0 -3
  280. package/lib/translation/translate/cloud/result/CloudTranslationFileResult.js +0 -10
  281. package/lib/translation/translate/cloud/result/CloudTranslationFileResult.js.map +1 -1
  282. package/lib/translation/translate/cloud/result/CloudTranslationTextResult.d.ts +3 -3
  283. package/lib/translation/translate/cloud/result/CloudTranslationTextResult.js +3 -3
  284. package/lib/translation/translate/cloud/result/CloudTranslationTextResult.js.map +1 -1
  285. package/lib/translation/translate/common/request/RetrieveFileRequest.d.ts +11 -0
  286. package/lib/translation/translate/common/request/RetrieveFileRequest.js +39 -0
  287. package/lib/translation/translate/common/request/RetrieveFileRequest.js.map +1 -0
  288. package/lib/translation/translate/common/request/TranslateBatchFileRequest.d.ts +3 -0
  289. package/lib/translation/translate/common/request/TranslateBatchFileRequest.js +10 -0
  290. package/lib/translation/translate/common/request/TranslateBatchFileRequest.js.map +1 -1
  291. package/lib/translation/translate/common/request/TranslateRequest.d.ts +3 -0
  292. package/lib/translation/translate/common/request/TranslateRequest.js +10 -0
  293. package/lib/translation/translate/common/request/TranslateRequest.js.map +1 -1
  294. package/lib/translation/translate/common/result/TranslationFileResult.d.ts +6 -0
  295. package/lib/translation/translate/common/result/TranslationFileResult.js +20 -0
  296. package/lib/translation/translate/common/result/TranslationFileResult.js.map +1 -1
  297. package/lib/translation/translate/common/utils/TranslateFileUtil.d.ts +3 -1
  298. package/lib/translation/translate/common/utils/TranslateFileUtil.js +26 -53
  299. package/lib/translation/translate/common/utils/TranslateFileUtil.js.map +1 -1
  300. package/lib/translation/translate/edge/request/EdgeRetrieveFileRequest.d.ts +7 -0
  301. package/lib/translation/translate/edge/request/EdgeRetrieveFileRequest.js +40 -0
  302. package/lib/translation/translate/edge/request/EdgeRetrieveFileRequest.js.map +1 -0
  303. package/lib/translation/translate/edge/request/EdgeTranslateFileRequest.d.ts +2 -2
  304. package/lib/translation/translate/edge/request/EdgeTranslateFileRequest.js +15 -14
  305. package/lib/translation/translate/edge/request/EdgeTranslateFileRequest.js.map +1 -1
  306. package/lib/translation/translate/edge/request/{EdgeTranslateApiModel.d.ts → EdgeTranslateRequest.d.ts} +1 -1
  307. package/lib/translation/translate/edge/request/{EdgeTranslateApiModel.js → EdgeTranslateRequest.js} +14 -14
  308. package/lib/translation/translate/edge/request/EdgeTranslateRequest.js.map +1 -0
  309. package/lib/translation/translate/edge/request/EdgeTranslateTextRequest.d.ts +2 -2
  310. package/lib/translation/translate/edge/request/EdgeTranslateTextRequest.js +15 -14
  311. package/lib/translation/translate/edge/request/EdgeTranslateTextRequest.js.map +1 -1
  312. package/lib/translation/translate/edge/result/EdgeTranslationFileResult.d.ts +0 -3
  313. package/lib/translation/translate/edge/result/EdgeTranslationFileResult.js +0 -10
  314. package/lib/translation/translate/edge/result/EdgeTranslationFileResult.js.map +1 -1
  315. package/lib/version.d.ts +1 -1
  316. package/lib/version.js +1 -1
  317. package/package.json +2 -2
  318. package/lib/translation/feedback/cloud/model/CloudAuditData.js.map +0 -1
  319. package/lib/translation/feedback/cloud/model/CloudFeedbackSortCriteria.js.map +0 -1
  320. package/lib/translation/feedback/cloud/validators/CloudFeedbackValidator.js.map +0 -1
  321. package/lib/translation/feedback/common/model/AuditData.js.map +0 -1
  322. package/lib/translation/feedback/common/validators/FeedbackValidator.js.map +0 -1
  323. package/lib/translation/feedback/edge/validators/EdgeFeedbackValidator.d.ts +0 -3
  324. package/lib/translation/feedback/edge/validators/EdgeFeedbackValidator.js.map +0 -1
  325. package/lib/translation/translate/cloud/api/CloudDictionaryResponse.js.map +0 -1
  326. package/lib/translation/translate/cloud/api/CloudLanguagePair.js.map +0 -1
  327. package/lib/translation/translate/cloud/result/CloudDictionariesResult.js.map +0 -1
  328. package/lib/translation/translate/cloud/result/CloudLanguagePairsResult.js.map +0 -1
  329. package/lib/translation/translate/common/api/DictionaryResponse.js.map +0 -1
  330. package/lib/translation/translate/common/api/LanguagePair.js.map +0 -1
  331. package/lib/translation/translate/common/result/DictionariesResult.d.ts +0 -7
  332. package/lib/translation/translate/common/result/DictionariesResult.js.map +0 -1
  333. package/lib/translation/translate/common/result/LanguagePairsResult.js.map +0 -1
  334. package/lib/translation/translate/edge/api/EdgeDictionaryResponse.js.map +0 -1
  335. package/lib/translation/translate/edge/api/EdgeLanguagePair.d.ts +0 -9
  336. package/lib/translation/translate/edge/api/EdgeLanguagePair.js.map +0 -1
  337. package/lib/translation/translate/edge/api/MemberPair.js.map +0 -1
  338. package/lib/translation/translate/edge/request/EdgeTranslateApiModel.js.map +0 -1
  339. package/lib/translation/translate/edge/result/EdgeDictionariesResult.js.map +0 -1
  340. package/lib/translation/translate/edge/result/EdgeLanguagePairsResult.js.map +0 -1
@@ -1 +1 @@
1
- {"version":3,"file":"EdgeLanguagePairUtil.js","sourceRoot":"","sources":["../../../../../src/translation/common/edge/utils/EdgeLanguagePairUtil.ts"],"names":[],"mappings":";;;;;;AAAA,kGAA4E;AAE5E,IAAM,YAAY,GAAG,CAAC,CAAC;AACvB,IAAM,UAAU,GAAG,CAAC,CAAC;AACrB,IAAM,YAAY,GAAG,CAAC,CAAC;AACvB,IAAM,UAAU,GAAG,CAAC,CAAC;AAEd,IAAM,qBAAqB,GAAG,UAAC,cAAkC;IACpE,IAAM,gBAAgB,GAAG,IAAI,0BAAgB,EAAE,CAAC;IAEhD,IAAI,cAAc,EAAE;QAChB,gBAAgB,CAAC,gBAAgB,GAAG,cAAc,CAAC,SAAS,CAAC,YAAY,EAAE,UAAU,CAAC,CAAC;QACvF,gBAAgB,CAAC,gBAAgB,GAAG,cAAc,CAAC,SAAS,CAAC,YAAY,EAAE,UAAU,CAAC,CAAC;QACvF,gBAAgB,CAAC,MAAM,GAAG,cAAc;aACnC,SAAS,CAAC,cAAc,CAAC,OAAO,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;aAC1C,SAAS,CAAC,CAAC,EAAE,cAAc,CAAC,OAAO,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC,CAAC;KACtD;IAED,OAAO,gBAAgB,CAAC;AAC5B,CAAC,CAAC;AAZW,QAAA,qBAAqB,yBAYhC"}
1
+ {"version":3,"file":"EdgeLanguagePairUtil.js","sourceRoot":"","sources":["../../../../../src/translation/common/edge/utils/EdgeLanguagePairUtil.ts"],"names":[],"mappings":";;;;;;AAAA,0GAAoF;AAEpF,IAAM,YAAY,GAAG,CAAC,CAAC;AACvB,IAAM,UAAU,GAAG,CAAC,CAAC;AACrB,IAAM,YAAY,GAAG,CAAC,CAAC;AACvB,IAAM,UAAU,GAAG,CAAC,CAAC;AAEd,IAAM,qBAAqB,GAAG,UAAC,cAAkC;IACpE,IAAM,gBAAgB,GAAG,IAAI,0BAAgB,EAAE,CAAC;IAEhD,IAAI,cAAc,EAAE;QAChB,gBAAgB,CAAC,gBAAgB,GAAG,cAAc,CAAC,SAAS,CAAC,YAAY,EAAE,UAAU,CAAC,CAAC;QACvF,gBAAgB,CAAC,gBAAgB,GAAG,cAAc,CAAC,SAAS,CAAC,YAAY,EAAE,UAAU,CAAC,CAAC;QACvF,gBAAgB,CAAC,MAAM,GAAG,cAAc;aACnC,SAAS,CAAC,cAAc,CAAC,OAAO,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;aAC1C,SAAS,CAAC,CAAC,EAAE,cAAc,CAAC,OAAO,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC,CAAC;KACtD;IAED,OAAO,gBAAgB,CAAC;AAC5B,CAAC,CAAC;AAZW,QAAA,qBAAqB,yBAYhC"}
@@ -0,0 +1,23 @@
1
+ /**
2
+ * Used to retrieve the content insights API response
3
+ */
4
+ import CloudSummarizationApiModel from './CloudSummarizationApiModel';
5
+ import CloudContentInsightsStatisticsApiModel from './CloudContentInsightsStatisticsApiModel';
6
+ import CloudContentInsightsResult from '../result/CloudContentInsightsResult';
7
+ import ContentInsightsResult from '../../common/result/ContentInsightsResult';
8
+ export default class CloudContentInsightsResponse {
9
+ private _summarization;
10
+ private _contentInsightsId;
11
+ private _sourceLanguage;
12
+ private _stats;
13
+ get summarization(): CloudSummarizationApiModel | undefined;
14
+ set summarization(value: CloudSummarizationApiModel | undefined);
15
+ get contentInsightsId(): string | undefined;
16
+ set contentInsightsId(value: string | undefined);
17
+ get sourceLanguage(): string | undefined;
18
+ set sourceLanguage(value: string | undefined);
19
+ get stats(): CloudContentInsightsStatisticsApiModel | undefined;
20
+ set stats(value: CloudContentInsightsStatisticsApiModel | undefined);
21
+ toCloudResult(): CloudContentInsightsResult;
22
+ toResult(): ContentInsightsResult;
23
+ }
@@ -0,0 +1,69 @@
1
+ "use strict";
2
+ var __importDefault = (this && this.__importDefault) || function (mod) {
3
+ return (mod && mod.__esModule) ? mod : { "default": mod };
4
+ };
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ var CloudContentInsightsResult_1 = __importDefault(require("../result/CloudContentInsightsResult"));
7
+ var ContentInsightsResult_1 = __importDefault(require("../../common/result/ContentInsightsResult"));
8
+ var CloudContentInsightsResponse = /** @class */ (function () {
9
+ function CloudContentInsightsResponse() {
10
+ }
11
+ Object.defineProperty(CloudContentInsightsResponse.prototype, "summarization", {
12
+ get: function () {
13
+ return this._summarization;
14
+ },
15
+ set: function (value) {
16
+ this._summarization = value;
17
+ },
18
+ enumerable: false,
19
+ configurable: true
20
+ });
21
+ Object.defineProperty(CloudContentInsightsResponse.prototype, "contentInsightsId", {
22
+ get: function () {
23
+ return this._contentInsightsId;
24
+ },
25
+ set: function (value) {
26
+ this._contentInsightsId = value;
27
+ },
28
+ enumerable: false,
29
+ configurable: true
30
+ });
31
+ Object.defineProperty(CloudContentInsightsResponse.prototype, "sourceLanguage", {
32
+ get: function () {
33
+ return this._sourceLanguage;
34
+ },
35
+ set: function (value) {
36
+ this._sourceLanguage = value;
37
+ },
38
+ enumerable: false,
39
+ configurable: true
40
+ });
41
+ Object.defineProperty(CloudContentInsightsResponse.prototype, "stats", {
42
+ get: function () {
43
+ return this._stats;
44
+ },
45
+ set: function (value) {
46
+ this._stats = value;
47
+ },
48
+ enumerable: false,
49
+ configurable: true
50
+ });
51
+ CloudContentInsightsResponse.prototype.toCloudResult = function () {
52
+ var _a, _b;
53
+ var result = new CloudContentInsightsResult_1.default();
54
+ result.summarization = (_a = this.summarization) === null || _a === void 0 ? void 0 : _a.toCloudSummarization();
55
+ result.contentInsightsId = this.contentInsightsId;
56
+ result.stats = (_b = this.stats) === null || _b === void 0 ? void 0 : _b.toCloudContentInsightsStatistics();
57
+ result.sourceLanguage = this.sourceLanguage;
58
+ return result;
59
+ };
60
+ CloudContentInsightsResponse.prototype.toResult = function () {
61
+ var _a;
62
+ var result = new ContentInsightsResult_1.default();
63
+ result.summarization = (_a = this.summarization) === null || _a === void 0 ? void 0 : _a.toSummarization();
64
+ return result;
65
+ };
66
+ return CloudContentInsightsResponse;
67
+ }());
68
+ exports.default = CloudContentInsightsResponse;
69
+ //# sourceMappingURL=CloudContentInsightsResponse.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CloudContentInsightsResponse.js","sourceRoot":"","sources":["../../../../../src/translation/content-insights/cloud/api/CloudContentInsightsResponse.ts"],"names":[],"mappings":";;;;;AAKA,oGAA8E;AAC9E,oGAA8E;AAE9E;IAAA;IAsDA,CAAC;IAhDG,sBAAI,uDAAa;aAAjB;YACI,OAAO,IAAI,CAAC,cAAc,CAAC;QAC/B,CAAC;aAED,UAAkB,KAA6C;YAC3D,IAAI,CAAC,cAAc,GAAG,KAAK,CAAC;QAChC,CAAC;;;OAJA;IAMD,sBAAI,2DAAiB;aAArB;YACI,OAAO,IAAI,CAAC,kBAAkB,CAAC;QACnC,CAAC;aAED,UAAsB,KAAyB;YAC3C,IAAI,CAAC,kBAAkB,GAAG,KAAK,CAAC;QACpC,CAAC;;;OAJA;IAMD,sBAAI,wDAAc;aAAlB;YACI,OAAO,IAAI,CAAC,eAAe,CAAC;QAChC,CAAC;aAED,UAAmB,KAAyB;YACxC,IAAI,CAAC,eAAe,GAAG,KAAK,CAAC;QACjC,CAAC;;;OAJA;IAMD,sBAAI,+CAAK;aAAT;YACI,OAAO,IAAI,CAAC,MAAM,CAAC;QACvB,CAAC;aAED,UAAU,KAAyD;YAC/D,IAAI,CAAC,MAAM,GAAG,KAAK,CAAC;QACxB,CAAC;;;OAJA;IAMD,oDAAa,GAAb;;QACI,IAAM,MAAM,GAAG,IAAI,oCAA0B,EAAE,CAAC;QAChD,MAAM,CAAC,aAAa,GAAG,MAAA,IAAI,CAAC,aAAa,0CAAE,oBAAoB,EAAE,CAAC;QAClE,MAAM,CAAC,iBAAiB,GAAG,IAAI,CAAC,iBAAiB,CAAC;QAClD,MAAM,CAAC,KAAK,GAAG,MAAA,IAAI,CAAC,KAAK,0CAAE,gCAAgC,EAAE,CAAC;QAC9D,MAAM,CAAC,cAAc,GAAG,IAAI,CAAC,cAAc,CAAC;QAE5C,OAAO,MAAM,CAAC;IAClB,CAAC;IAED,+CAAQ,GAAR;;QACI,IAAM,MAAM,GAAG,IAAI,+BAAqB,EAAE,CAAC;QAC3C,MAAM,CAAC,aAAa,GAAG,MAAA,IAAI,CAAC,aAAa,0CAAE,eAAe,EAAE,CAAC;QAE7D,OAAO,MAAM,CAAC;IAClB,CAAC;IACL,mCAAC;AAAD,CAAC,AAtDD,IAsDC"}
@@ -0,0 +1,10 @@
1
+ import CloudContentInsightsStatistics from '../result/CloudContentInsightsStatistics';
2
+ export default class CloudContentInsightsStatisticsApiModel {
3
+ private _inputWordCount;
4
+ private _inputCharCount;
5
+ get inputWordCount(): number | undefined;
6
+ set inputWordCount(value: number | undefined);
7
+ get inputCharCount(): number | undefined;
8
+ set inputCharCount(value: number | undefined);
9
+ toCloudContentInsightsStatistics(): CloudContentInsightsStatistics;
10
+ }
@@ -0,0 +1,39 @@
1
+ "use strict";
2
+ var __importDefault = (this && this.__importDefault) || function (mod) {
3
+ return (mod && mod.__esModule) ? mod : { "default": mod };
4
+ };
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ var CloudContentInsightsStatistics_1 = __importDefault(require("../result/CloudContentInsightsStatistics"));
7
+ var CloudContentInsightsStatisticsApiModel = /** @class */ (function () {
8
+ function CloudContentInsightsStatisticsApiModel() {
9
+ }
10
+ Object.defineProperty(CloudContentInsightsStatisticsApiModel.prototype, "inputWordCount", {
11
+ get: function () {
12
+ return this._inputWordCount;
13
+ },
14
+ set: function (value) {
15
+ this._inputWordCount = value;
16
+ },
17
+ enumerable: false,
18
+ configurable: true
19
+ });
20
+ Object.defineProperty(CloudContentInsightsStatisticsApiModel.prototype, "inputCharCount", {
21
+ get: function () {
22
+ return this._inputCharCount;
23
+ },
24
+ set: function (value) {
25
+ this._inputCharCount = value;
26
+ },
27
+ enumerable: false,
28
+ configurable: true
29
+ });
30
+ CloudContentInsightsStatisticsApiModel.prototype.toCloudContentInsightsStatistics = function () {
31
+ var cloudStatistics = new CloudContentInsightsStatistics_1.default();
32
+ cloudStatistics.inputCharCount = this.inputCharCount;
33
+ cloudStatistics.inputWordCount = this.inputWordCount;
34
+ return cloudStatistics;
35
+ };
36
+ return CloudContentInsightsStatisticsApiModel;
37
+ }());
38
+ exports.default = CloudContentInsightsStatisticsApiModel;
39
+ //# sourceMappingURL=CloudContentInsightsStatisticsApiModel.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CloudContentInsightsStatisticsApiModel.js","sourceRoot":"","sources":["../../../../../src/translation/content-insights/cloud/api/CloudContentInsightsStatisticsApiModel.ts"],"names":[],"mappings":";;;;;AAAA,4GAAsF;AAEtF;IAAA;IA2BA,CAAC;IAvBG,sBAAI,kEAAc;aAAlB;YACI,OAAO,IAAI,CAAC,eAAe,CAAC;QAChC,CAAC;aAED,UAAmB,KAAyB;YACxC,IAAI,CAAC,eAAe,GAAG,KAAK,CAAC;QACjC,CAAC;;;OAJA;IAMD,sBAAI,kEAAc;aAAlB;YACI,OAAO,IAAI,CAAC,eAAe,CAAC;QAChC,CAAC;aAED,UAAmB,KAAyB;YACxC,IAAI,CAAC,eAAe,GAAG,KAAK,CAAC;QACjC,CAAC;;;OAJA;IAMD,iFAAgC,GAAhC;QACI,IAAM,eAAe,GAAG,IAAI,wCAA8B,EAAE,CAAC;QAC7D,eAAe,CAAC,cAAc,GAAG,IAAI,CAAC,cAAc,CAAC;QACrD,eAAe,CAAC,cAAc,GAAG,IAAI,CAAC,cAAc,CAAC;QAErD,OAAO,eAAe,CAAC;IAC3B,CAAC;IACL,6CAAC;AAAD,CAAC,AA3BD,IA2BC"}
@@ -0,0 +1,12 @@
1
+ import CloudDocumentApiModel from './CloudDocumentApiModel';
2
+ /**
3
+ * Used to init the content insights API request
4
+ */
5
+ export default class CloudCreateContentInsightsResponse {
6
+ private _contentInsightsId;
7
+ private _documents;
8
+ get contentInsightsId(): string | undefined;
9
+ set contentInsightsId(value: string | undefined);
10
+ get documents(): CloudDocumentApiModel[] | undefined;
11
+ set documents(value: CloudDocumentApiModel[] | undefined);
12
+ }
@@ -0,0 +1,32 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ /**
4
+ * Used to init the content insights API request
5
+ */
6
+ var CloudCreateContentInsightsResponse = /** @class */ (function () {
7
+ function CloudCreateContentInsightsResponse() {
8
+ }
9
+ Object.defineProperty(CloudCreateContentInsightsResponse.prototype, "contentInsightsId", {
10
+ get: function () {
11
+ return this._contentInsightsId;
12
+ },
13
+ set: function (value) {
14
+ this._contentInsightsId = value;
15
+ },
16
+ enumerable: false,
17
+ configurable: true
18
+ });
19
+ Object.defineProperty(CloudCreateContentInsightsResponse.prototype, "documents", {
20
+ get: function () {
21
+ return this._documents;
22
+ },
23
+ set: function (value) {
24
+ this._documents = value;
25
+ },
26
+ enumerable: false,
27
+ configurable: true
28
+ });
29
+ return CloudCreateContentInsightsResponse;
30
+ }());
31
+ exports.default = CloudCreateContentInsightsResponse;
32
+ //# sourceMappingURL=CloudCreateContentInsightsResponse.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CloudCreateContentInsightsResponse.js","sourceRoot":"","sources":["../../../../../src/translation/content-insights/cloud/api/CloudCreateContentInsightsResponse.ts"],"names":[],"mappings":";;AAEA;;GAEG;AACH;IAAA;IAmBA,CAAC;IAfG,sBAAI,iEAAiB;aAArB;YACI,OAAO,IAAI,CAAC,kBAAkB,CAAC;QACnC,CAAC;aAED,UAAsB,KAAyB;YAC3C,IAAI,CAAC,kBAAkB,GAAG,KAAK,CAAC;QACpC,CAAC;;;OAJA;IAMD,sBAAI,yDAAS;aAAb;YACI,OAAO,IAAI,CAAC,UAAU,CAAC;QAC3B,CAAC;aAED,UAAc,KAA0C;YACpD,IAAI,CAAC,UAAU,GAAG,KAAK,CAAC;QAC5B,CAAC;;;OAJA;IAKL,yCAAC;AAAD,CAAC,AAnBD,IAmBC"}
@@ -0,0 +1,16 @@
1
+ import ErrorResponse from '../../../../common/api/ErrorResponse';
2
+ import CloudDocumentApiModel from './CloudDocumentApiModel';
3
+ /**
4
+ * Used to retrieve the content insights API status
5
+ */
6
+ export default class CloudCreateContentInsightsStatusResponse {
7
+ private _contentInsightsStatus;
8
+ private _documents;
9
+ private _errors;
10
+ get contentInsightsStatus(): string | undefined;
11
+ set contentInsightsStatus(value: string | undefined);
12
+ get documents(): CloudDocumentApiModel[] | undefined;
13
+ set documents(value: CloudDocumentApiModel[] | undefined);
14
+ get errors(): ErrorResponse[] | undefined;
15
+ set errors(value: ErrorResponse[] | undefined);
16
+ }
@@ -0,0 +1,42 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ /**
4
+ * Used to retrieve the content insights API status
5
+ */
6
+ var CloudCreateContentInsightsStatusResponse = /** @class */ (function () {
7
+ function CloudCreateContentInsightsStatusResponse() {
8
+ }
9
+ Object.defineProperty(CloudCreateContentInsightsStatusResponse.prototype, "contentInsightsStatus", {
10
+ get: function () {
11
+ return this._contentInsightsStatus;
12
+ },
13
+ set: function (value) {
14
+ this._contentInsightsStatus = value;
15
+ },
16
+ enumerable: false,
17
+ configurable: true
18
+ });
19
+ Object.defineProperty(CloudCreateContentInsightsStatusResponse.prototype, "documents", {
20
+ get: function () {
21
+ return this._documents;
22
+ },
23
+ set: function (value) {
24
+ this._documents = value;
25
+ },
26
+ enumerable: false,
27
+ configurable: true
28
+ });
29
+ Object.defineProperty(CloudCreateContentInsightsStatusResponse.prototype, "errors", {
30
+ get: function () {
31
+ return this._errors;
32
+ },
33
+ set: function (value) {
34
+ this._errors = value;
35
+ },
36
+ enumerable: false,
37
+ configurable: true
38
+ });
39
+ return CloudCreateContentInsightsStatusResponse;
40
+ }());
41
+ exports.default = CloudCreateContentInsightsStatusResponse;
42
+ //# sourceMappingURL=CloudCreateContentInsightsStatusResponse.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CloudCreateContentInsightsStatusResponse.js","sourceRoot":"","sources":["../../../../../src/translation/content-insights/cloud/api/CloudCreateContentInsightsStatusResponse.ts"],"names":[],"mappings":";;AAGA;;GAEG;AACH;IAAA;IA4BA,CAAC;IAvBG,sBAAI,2EAAqB;aAAzB;YACI,OAAO,IAAI,CAAC,sBAAsB,CAAC;QACvC,CAAC;aAED,UAA0B,KAAyB;YAC/C,IAAI,CAAC,sBAAsB,GAAG,KAAK,CAAC;QACxC,CAAC;;;OAJA;IAMD,sBAAI,+DAAS;aAAb;YACI,OAAO,IAAI,CAAC,UAAU,CAAC;QAC3B,CAAC;aAED,UAAc,KAA0C;YACpD,IAAI,CAAC,UAAU,GAAG,KAAK,CAAC;QAC5B,CAAC;;;OAJA;IAMD,sBAAI,4DAAM;aAAV;YACI,OAAO,IAAI,CAAC,OAAO,CAAC;QACxB,CAAC;aAED,UAAW,KAAkC;YACzC,IAAI,CAAC,OAAO,GAAG,KAAK,CAAC;QACzB,CAAC;;;OAJA;IAKL,+CAAC;AAAD,CAAC,AA5BD,IA4BC"}
@@ -0,0 +1,12 @@
1
+ import CloudSummarizationApiModel from './CloudSummarizationApiModel';
2
+ export default class CloudDocumentApiModel {
3
+ private _fileId;
4
+ private _fileName;
5
+ private _summarization;
6
+ get fileId(): string | undefined;
7
+ set fileId(value: string | undefined);
8
+ get fileName(): string | undefined;
9
+ set fileName(value: string | undefined);
10
+ get summarization(): CloudSummarizationApiModel | undefined;
11
+ set summarization(value: CloudSummarizationApiModel | undefined);
12
+ }
@@ -0,0 +1,39 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ var CloudDocumentApiModel = /** @class */ (function () {
4
+ function CloudDocumentApiModel() {
5
+ }
6
+ Object.defineProperty(CloudDocumentApiModel.prototype, "fileId", {
7
+ get: function () {
8
+ return this._fileId;
9
+ },
10
+ set: function (value) {
11
+ this._fileId = value;
12
+ },
13
+ enumerable: false,
14
+ configurable: true
15
+ });
16
+ Object.defineProperty(CloudDocumentApiModel.prototype, "fileName", {
17
+ get: function () {
18
+ return this.fileName;
19
+ },
20
+ set: function (value) {
21
+ this._fileName = value;
22
+ },
23
+ enumerable: false,
24
+ configurable: true
25
+ });
26
+ Object.defineProperty(CloudDocumentApiModel.prototype, "summarization", {
27
+ get: function () {
28
+ return this._summarization;
29
+ },
30
+ set: function (value) {
31
+ this._summarization = value;
32
+ },
33
+ enumerable: false,
34
+ configurable: true
35
+ });
36
+ return CloudDocumentApiModel;
37
+ }());
38
+ exports.default = CloudDocumentApiModel;
39
+ //# sourceMappingURL=CloudDocumentApiModel.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CloudDocumentApiModel.js","sourceRoot":"","sources":["../../../../../src/translation/content-insights/cloud/api/CloudDocumentApiModel.ts"],"names":[],"mappings":";;AAEA;IAAA;IA4BA,CAAC;IAvBG,sBAAI,yCAAM;aAAV;YACI,OAAO,IAAI,CAAC,OAAO,CAAC;QACxB,CAAC;aAED,UAAW,KAAyB;YAChC,IAAI,CAAC,OAAO,GAAG,KAAK,CAAC;QACzB,CAAC;;;OAJA;IAMD,sBAAI,2CAAQ;aAAZ;YACI,OAAO,IAAI,CAAC,QAAQ,CAAC;QACzB,CAAC;aAED,UAAa,KAAyB;YAClC,IAAI,CAAC,SAAS,GAAG,KAAK,CAAC;QAC3B,CAAC;;;OAJA;IAMD,sBAAI,gDAAa;aAAjB;YACI,OAAO,IAAI,CAAC,cAAc,CAAC;QAC/B,CAAC;aAED,UAAkB,KAA6C;YAC3D,IAAI,CAAC,cAAc,GAAG,KAAK,CAAC;QAChC,CAAC;;;OAJA;IAKL,4BAAC;AAAD,CAAC,AA5BD,IA4BC"}
@@ -0,0 +1,15 @@
1
+ import Segment from '../../common/result/Segment';
2
+ import CloudSegment from '../result/CloudSegment';
3
+ export default class CloudSegmentApiModel {
4
+ private _text;
5
+ private _score;
6
+ private _lineNumber;
7
+ get text(): string | undefined;
8
+ set text(value: string | undefined);
9
+ get score(): number | undefined;
10
+ set score(value: number | undefined);
11
+ get lineNumber(): number | undefined;
12
+ set lineNumber(value: number | undefined);
13
+ toCloudSegment(): CloudSegment;
14
+ toSegment(): Segment;
15
+ }
@@ -0,0 +1,57 @@
1
+ "use strict";
2
+ var __importDefault = (this && this.__importDefault) || function (mod) {
3
+ return (mod && mod.__esModule) ? mod : { "default": mod };
4
+ };
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ var Segment_1 = __importDefault(require("../../common/result/Segment"));
7
+ var CloudSegment_1 = __importDefault(require("../result/CloudSegment"));
8
+ var CloudSegmentApiModel = /** @class */ (function () {
9
+ function CloudSegmentApiModel() {
10
+ }
11
+ Object.defineProperty(CloudSegmentApiModel.prototype, "text", {
12
+ get: function () {
13
+ return this._text;
14
+ },
15
+ set: function (value) {
16
+ this._text = value;
17
+ },
18
+ enumerable: false,
19
+ configurable: true
20
+ });
21
+ Object.defineProperty(CloudSegmentApiModel.prototype, "score", {
22
+ get: function () {
23
+ return this._score;
24
+ },
25
+ set: function (value) {
26
+ this._score = value;
27
+ },
28
+ enumerable: false,
29
+ configurable: true
30
+ });
31
+ Object.defineProperty(CloudSegmentApiModel.prototype, "lineNumber", {
32
+ get: function () {
33
+ return this._lineNumber;
34
+ },
35
+ set: function (value) {
36
+ this._lineNumber = value;
37
+ },
38
+ enumerable: false,
39
+ configurable: true
40
+ });
41
+ CloudSegmentApiModel.prototype.toCloudSegment = function () {
42
+ var cloudSegment = new CloudSegment_1.default();
43
+ cloudSegment.text = this.text;
44
+ cloudSegment.score = this.score;
45
+ cloudSegment.lineNumber = this.lineNumber;
46
+ return cloudSegment;
47
+ };
48
+ CloudSegmentApiModel.prototype.toSegment = function () {
49
+ var segment = new Segment_1.default();
50
+ segment.score = this.score;
51
+ segment.text = this.text;
52
+ return segment;
53
+ };
54
+ return CloudSegmentApiModel;
55
+ }());
56
+ exports.default = CloudSegmentApiModel;
57
+ //# sourceMappingURL=CloudSegmentApiModel.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CloudSegmentApiModel.js","sourceRoot":"","sources":["../../../../../src/translation/content-insights/cloud/api/CloudSegmentApiModel.ts"],"names":[],"mappings":";;;;;AAAA,wEAAkD;AAClD,wEAAkD;AAElD;IAAA;IA6CA,CAAC;IAxCG,sBAAI,sCAAI;aAAR;YACI,OAAO,IAAI,CAAC,KAAK,CAAC;QACtB,CAAC;aAED,UAAS,KAAyB;YAC9B,IAAI,CAAC,KAAK,GAAG,KAAK,CAAC;QACvB,CAAC;;;OAJA;IAMD,sBAAI,uCAAK;aAAT;YACI,OAAO,IAAI,CAAC,MAAM,CAAC;QACvB,CAAC;aAED,UAAU,KAAyB;YAC/B,IAAI,CAAC,MAAM,GAAG,KAAK,CAAC;QACxB,CAAC;;;OAJA;IAMD,sBAAI,4CAAU;aAAd;YACI,OAAO,IAAI,CAAC,WAAW,CAAC;QAC5B,CAAC;aAED,UAAe,KAAyB;YACpC,IAAI,CAAC,WAAW,GAAG,KAAK,CAAC;QAC7B,CAAC;;;OAJA;IAMD,6CAAc,GAAd;QACI,IAAM,YAAY,GAAG,IAAI,sBAAY,EAAE,CAAC;QACxC,YAAY,CAAC,IAAI,GAAG,IAAI,CAAC,IAAI,CAAC;QAC9B,YAAY,CAAC,KAAK,GAAG,IAAI,CAAC,KAAK,CAAC;QAChC,YAAY,CAAC,UAAU,GAAG,IAAI,CAAC,UAAU,CAAC;QAE1C,OAAO,YAAY,CAAC;IACxB,CAAC;IAED,wCAAS,GAAT;QACI,IAAM,OAAO,GAAG,IAAI,iBAAO,EAAE,CAAC;QAC9B,OAAO,CAAC,KAAK,GAAG,IAAI,CAAC,KAAK,CAAC;QAC3B,OAAO,CAAC,IAAI,GAAG,IAAI,CAAC,IAAI,CAAC;QAEzB,OAAO,OAAO,CAAC;IACnB,CAAC;IACL,2BAAC;AAAD,CAAC,AA7CD,IA6CC"}
@@ -0,0 +1,13 @@
1
+ import CloudSegmentApiModel from './CloudSegmentApiModel';
2
+ import Summarization from '../../common/result/Summarization';
3
+ import CloudSummarization from '../result/CloudSummarization';
4
+ export default class CloudSummarizationApiModel {
5
+ private _status;
6
+ private _segments;
7
+ get status(): string | undefined;
8
+ set status(value: string | undefined);
9
+ get segments(): CloudSegmentApiModel[] | undefined;
10
+ set segments(value: CloudSegmentApiModel[] | undefined);
11
+ toCloudSummarization(): CloudSummarization;
12
+ toSummarization(): Summarization;
13
+ }
@@ -0,0 +1,46 @@
1
+ "use strict";
2
+ var __importDefault = (this && this.__importDefault) || function (mod) {
3
+ return (mod && mod.__esModule) ? mod : { "default": mod };
4
+ };
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ var Summarization_1 = __importDefault(require("../../common/result/Summarization"));
7
+ var CloudSummarization_1 = __importDefault(require("../result/CloudSummarization"));
8
+ var CloudSummarizationApiModel = /** @class */ (function () {
9
+ function CloudSummarizationApiModel() {
10
+ }
11
+ Object.defineProperty(CloudSummarizationApiModel.prototype, "status", {
12
+ get: function () {
13
+ return this._status;
14
+ },
15
+ set: function (value) {
16
+ this._status = value;
17
+ },
18
+ enumerable: false,
19
+ configurable: true
20
+ });
21
+ Object.defineProperty(CloudSummarizationApiModel.prototype, "segments", {
22
+ get: function () {
23
+ return this._segments;
24
+ },
25
+ set: function (value) {
26
+ this._segments = value;
27
+ },
28
+ enumerable: false,
29
+ configurable: true
30
+ });
31
+ CloudSummarizationApiModel.prototype.toCloudSummarization = function () {
32
+ var _a;
33
+ var cloudSummarization = new CloudSummarization_1.default();
34
+ cloudSummarization.segments = (_a = this.segments) === null || _a === void 0 ? void 0 : _a.map(function (segment) { return segment.toCloudSegment(); });
35
+ return cloudSummarization;
36
+ };
37
+ CloudSummarizationApiModel.prototype.toSummarization = function () {
38
+ var _a;
39
+ var summarization = new Summarization_1.default();
40
+ summarization.segments = (_a = this.segments) === null || _a === void 0 ? void 0 : _a.map(function (segment) { return segment.toSegment(); });
41
+ return summarization;
42
+ };
43
+ return CloudSummarizationApiModel;
44
+ }());
45
+ exports.default = CloudSummarizationApiModel;
46
+ //# sourceMappingURL=CloudSummarizationApiModel.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CloudSummarizationApiModel.js","sourceRoot":"","sources":["../../../../../src/translation/content-insights/cloud/api/CloudSummarizationApiModel.ts"],"names":[],"mappings":";;;;;AACA,oFAA8D;AAC9D,oFAA8D;AAE9D;IAAA;IAiCA,CAAC;IA7BG,sBAAI,8CAAM;aAAV;YACI,OAAO,IAAI,CAAC,OAAO,CAAC;QACxB,CAAC;aAED,UAAW,KAAyB;YAChC,IAAI,CAAC,OAAO,GAAG,KAAK,CAAC;QACzB,CAAC;;;OAJA;IAMD,sBAAI,gDAAQ;aAAZ;YACI,OAAO,IAAI,CAAC,SAAS,CAAC;QAC1B,CAAC;aAED,UAAa,KAAyC;YAClD,IAAI,CAAC,SAAS,GAAG,KAAK,CAAC;QAC3B,CAAC;;;OAJA;IAMD,yDAAoB,GAApB;;QACI,IAAM,kBAAkB,GAAG,IAAI,4BAAkB,EAAE,CAAC;QACpD,kBAAkB,CAAC,QAAQ,GAAG,MAAA,IAAI,CAAC,QAAQ,0CAAE,GAAG,CAAC,UAAC,OAAO,IAAK,OAAA,OAAO,CAAC,cAAc,EAAE,EAAxB,CAAwB,CAAC,CAAC;QAExF,OAAO,kBAAkB,CAAC;IAC9B,CAAC;IAED,oDAAe,GAAf;;QACI,IAAM,aAAa,GAAG,IAAI,uBAAa,EAAE,CAAC;QAC1C,aAAa,CAAC,QAAQ,GAAG,MAAA,IAAI,CAAC,QAAQ,0CAAE,GAAG,CAAC,UAAC,OAAO,IAAK,OAAA,OAAO,CAAC,SAAS,EAAE,EAAnB,CAAmB,CAAC,CAAC;QAE9E,OAAO,aAAa,CAAC;IACzB,CAAC;IACL,iCAAC;AAAD,CAAC,AAjCD,IAiCC"}
@@ -0,0 +1,3 @@
1
+ import ContentInsightsRequest from '../../common/request/ContentInsightsRequest';
2
+ export default class CloudContentInsightsRequest extends ContentInsightsRequest {
3
+ }
@@ -0,0 +1,30 @@
1
+ "use strict";
2
+ var __extends = (this && this.__extends) || (function () {
3
+ var extendStatics = function (d, b) {
4
+ extendStatics = Object.setPrototypeOf ||
5
+ ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
6
+ function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
7
+ return extendStatics(d, b);
8
+ };
9
+ return function (d, b) {
10
+ if (typeof b !== "function" && b !== null)
11
+ throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
12
+ extendStatics(d, b);
13
+ function __() { this.constructor = d; }
14
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
15
+ };
16
+ })();
17
+ var __importDefault = (this && this.__importDefault) || function (mod) {
18
+ return (mod && mod.__esModule) ? mod : { "default": mod };
19
+ };
20
+ Object.defineProperty(exports, "__esModule", { value: true });
21
+ var ContentInsightsRequest_1 = __importDefault(require("../../common/request/ContentInsightsRequest"));
22
+ var CloudContentInsightsRequest = /** @class */ (function (_super) {
23
+ __extends(CloudContentInsightsRequest, _super);
24
+ function CloudContentInsightsRequest() {
25
+ return _super !== null && _super.apply(this, arguments) || this;
26
+ }
27
+ return CloudContentInsightsRequest;
28
+ }(ContentInsightsRequest_1.default));
29
+ exports.default = CloudContentInsightsRequest;
30
+ //# sourceMappingURL=CloudContentInsightsRequest.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CloudContentInsightsRequest.js","sourceRoot":"","sources":["../../../../../src/translation/content-insights/cloud/request/CloudContentInsightsRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA,uGAAiF;AAEjF;IAAyD,+CAAsB;IAA/E;;IAAiF,CAAC;IAAD,kCAAC;AAAD,CAAC,AAAlF,CAAyD,gCAAsB,GAAG"}
@@ -0,0 +1,8 @@
1
+ export default class CloudFileContentInsightsRequest {
2
+ private _sourceLanguage;
3
+ private _files;
4
+ get sourceLanguage(): string | undefined;
5
+ set sourceLanguage(value: string | undefined);
6
+ get files(): string | File | File[] | undefined;
7
+ set files(value: string | File | File[] | undefined);
8
+ }
@@ -0,0 +1,29 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ var CloudFileContentInsightsRequest = /** @class */ (function () {
4
+ function CloudFileContentInsightsRequest() {
5
+ }
6
+ Object.defineProperty(CloudFileContentInsightsRequest.prototype, "sourceLanguage", {
7
+ get: function () {
8
+ return this._sourceLanguage;
9
+ },
10
+ set: function (value) {
11
+ this._sourceLanguage = value;
12
+ },
13
+ enumerable: false,
14
+ configurable: true
15
+ });
16
+ Object.defineProperty(CloudFileContentInsightsRequest.prototype, "files", {
17
+ get: function () {
18
+ return this._files;
19
+ },
20
+ set: function (value) {
21
+ this._files = value;
22
+ },
23
+ enumerable: false,
24
+ configurable: true
25
+ });
26
+ return CloudFileContentInsightsRequest;
27
+ }());
28
+ exports.default = CloudFileContentInsightsRequest;
29
+ //# sourceMappingURL=CloudFileContentInsightsRequest.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CloudFileContentInsightsRequest.js","sourceRoot":"","sources":["../../../../../src/translation/content-insights/cloud/request/CloudFileContentInsightsRequest.ts"],"names":[],"mappings":";;AAAA;IAAA;IAmBA,CAAC;IAfG,sBAAI,2DAAc;aAAlB;YACI,OAAO,IAAI,CAAC,eAAe,CAAC;QAChC,CAAC;aAED,UAAmB,KAAyB;YACxC,IAAI,CAAC,eAAe,GAAG,KAAK,CAAC;QACjC,CAAC;;;OAJA;IAMD,sBAAI,kDAAK;aAAT;YACI,OAAO,IAAI,CAAC,MAAM,CAAC;QACvB,CAAC;aAED,UAAU,KAAyC;YAC/C,IAAI,CAAC,MAAM,GAAG,KAAK,CAAC;QACxB,CAAC;;;OAJA;IAKL,sCAAC;AAAD,CAAC,AAnBD,IAmBC"}
@@ -0,0 +1,16 @@
1
+ import CloudContentInsightsStatistics from './CloudContentInsightsStatistics';
2
+ import CloudSummarization from './CloudSummarization';
3
+ export default class CloudContentInsightsResult {
4
+ private _contentInsightsId;
5
+ private _sourceLanguage;
6
+ private _summarization;
7
+ private _stats;
8
+ get contentInsightsId(): string | undefined;
9
+ set contentInsightsId(value: string | undefined);
10
+ get sourceLanguage(): string | undefined;
11
+ set sourceLanguage(value: string | undefined);
12
+ get summarization(): CloudSummarization | undefined;
13
+ set summarization(value: CloudSummarization | undefined);
14
+ get stats(): CloudContentInsightsStatistics | undefined;
15
+ set stats(value: CloudContentInsightsStatistics | undefined);
16
+ }
@@ -0,0 +1,49 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ var CloudContentInsightsResult = /** @class */ (function () {
4
+ function CloudContentInsightsResult() {
5
+ }
6
+ Object.defineProperty(CloudContentInsightsResult.prototype, "contentInsightsId", {
7
+ get: function () {
8
+ return this._contentInsightsId;
9
+ },
10
+ set: function (value) {
11
+ this._contentInsightsId = value;
12
+ },
13
+ enumerable: false,
14
+ configurable: true
15
+ });
16
+ Object.defineProperty(CloudContentInsightsResult.prototype, "sourceLanguage", {
17
+ get: function () {
18
+ return this._sourceLanguage;
19
+ },
20
+ set: function (value) {
21
+ this._sourceLanguage = value;
22
+ },
23
+ enumerable: false,
24
+ configurable: true
25
+ });
26
+ Object.defineProperty(CloudContentInsightsResult.prototype, "summarization", {
27
+ get: function () {
28
+ return this._summarization;
29
+ },
30
+ set: function (value) {
31
+ this._summarization = value;
32
+ },
33
+ enumerable: false,
34
+ configurable: true
35
+ });
36
+ Object.defineProperty(CloudContentInsightsResult.prototype, "stats", {
37
+ get: function () {
38
+ return this._stats;
39
+ },
40
+ set: function (value) {
41
+ this._stats = value;
42
+ },
43
+ enumerable: false,
44
+ configurable: true
45
+ });
46
+ return CloudContentInsightsResult;
47
+ }());
48
+ exports.default = CloudContentInsightsResult;
49
+ //# sourceMappingURL=CloudContentInsightsResult.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CloudContentInsightsResult.js","sourceRoot":"","sources":["../../../../../src/translation/content-insights/cloud/result/CloudContentInsightsResult.ts"],"names":[],"mappings":";;AAGA;IAAA;IAqCA,CAAC;IA/BG,sBAAI,yDAAiB;aAArB;YACI,OAAO,IAAI,CAAC,kBAAkB,CAAC;QACnC,CAAC;aAED,UAAsB,KAAyB;YAC3C,IAAI,CAAC,kBAAkB,GAAG,KAAK,CAAC;QACpC,CAAC;;;OAJA;IAMD,sBAAI,sDAAc;aAAlB;YACI,OAAO,IAAI,CAAC,eAAe,CAAC;QAChC,CAAC;aAED,UAAmB,KAAyB;YACxC,IAAI,CAAC,eAAe,GAAG,KAAK,CAAC;QACjC,CAAC;;;OAJA;IAMD,sBAAI,qDAAa;aAAjB;YACI,OAAO,IAAI,CAAC,cAAc,CAAC;QAC/B,CAAC;aAED,UAAkB,KAAqC;YACnD,IAAI,CAAC,cAAc,GAAG,KAAK,CAAC;QAChC,CAAC;;;OAJA;IAMD,sBAAI,6CAAK;aAAT;YACI,OAAO,IAAI,CAAC,MAAM,CAAC;QACvB,CAAC;aAED,UAAU,KAAiD;YACvD,IAAI,CAAC,MAAM,GAAG,KAAK,CAAC;QACxB,CAAC;;;OAJA;IAKL,iCAAC;AAAD,CAAC,AArCD,IAqCC"}
@@ -0,0 +1,8 @@
1
+ export default class CloudContentInsightsStatistics {
2
+ private _inputWordCount;
3
+ private _inputCharCount;
4
+ get inputWordCount(): number | undefined;
5
+ set inputWordCount(value: number | undefined);
6
+ get inputCharCount(): number | undefined;
7
+ set inputCharCount(value: number | undefined);
8
+ }