@language-weaver/lw-sdk-js 1.0.0 → 1.1.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 (342) hide show
  1. package/lib/{auth → common/auth}/LanguageWeaverAuthentication.d.ts +2 -2
  2. package/lib/{auth → common/auth}/LanguageWeaverAuthentication.js +1 -1
  3. package/lib/common/auth/LanguageWeaverAuthentication.js.map +1 -0
  4. package/lib/{auth → common/auth}/domain/SelfInformation.d.ts +0 -0
  5. package/lib/{auth → common/auth}/domain/SelfInformation.js +0 -0
  6. package/lib/common/auth/domain/SelfInformation.js.map +1 -0
  7. package/lib/{auth → common/auth}/domain/Token.d.ts +0 -0
  8. package/lib/{auth → common/auth}/domain/Token.js +0 -0
  9. package/lib/common/auth/domain/Token.js.map +1 -0
  10. package/lib/{auth → common/auth}/domain/UserSelfInformation.d.ts +0 -0
  11. package/lib/{auth → common/auth}/domain/UserSelfInformation.js +0 -0
  12. package/lib/common/auth/domain/UserSelfInformation.js.map +1 -0
  13. package/lib/common/configurations/ClientConfiguration.d.ts +1 -1
  14. package/lib/common/configurations/TokenConfiguration.d.ts +2 -2
  15. package/lib/common/constants/ApprovalStatus.d.ts +7 -0
  16. package/lib/common/constants/ApprovalStatus.js +20 -0
  17. package/lib/common/constants/ApprovalStatus.js.map +1 -0
  18. package/lib/common/constants/FeedbackCategory.d.ts +4 -0
  19. package/lib/common/constants/FeedbackCategory.js +9 -0
  20. package/lib/common/constants/FeedbackCategory.js.map +1 -0
  21. package/lib/common/constants/FeedbackComment.d.ts +10 -0
  22. package/lib/common/constants/FeedbackComment.js +15 -0
  23. package/lib/common/constants/FeedbackComment.js.map +1 -0
  24. package/lib/common/constants/FileExtensions.d.ts +1 -1
  25. package/lib/common/constants/FileExtensions.js +1 -1
  26. package/lib/common/constants/FileExtensions.js.map +1 -1
  27. package/lib/{translation/common → common/constants}/Format.d.ts +0 -0
  28. package/lib/{translation/common → common/constants}/Format.js +0 -0
  29. package/lib/common/constants/Format.js.map +1 -0
  30. package/lib/common/constants/Order.d.ts +4 -0
  31. package/lib/common/constants/Order.js +9 -0
  32. package/lib/common/constants/Order.js.map +1 -0
  33. package/lib/{translation/common → common/constants}/Product.d.ts +0 -0
  34. package/lib/{translation/common → common/constants}/Product.js +0 -0
  35. package/lib/common/constants/Product.js.map +1 -0
  36. package/lib/{translation/common → common/constants}/Regions.d.ts +0 -0
  37. package/lib/{translation/common → common/constants}/Regions.js +0 -0
  38. package/lib/common/constants/Regions.js.map +1 -0
  39. package/lib/{translation/common → common/constants}/Statuses.d.ts +0 -0
  40. package/lib/{translation/common → common/constants}/Statuses.js +0 -0
  41. package/lib/common/constants/Statuses.js.map +1 -0
  42. package/lib/common/constants/TranslationConstants.d.ts +6 -0
  43. package/lib/common/constants/TranslationConstants.js +8 -2
  44. package/lib/common/constants/TranslationConstants.js.map +1 -1
  45. package/lib/common/{requests → external/communication}/RestClient.d.ts +1 -1
  46. package/lib/common/{requests → external/communication}/RestClient.js +5 -12
  47. package/lib/common/external/communication/RestClient.js.map +1 -0
  48. package/lib/common/utils/HttpUtils.d.ts +1 -1
  49. package/lib/common/utils/HttpUtils.js +1 -1
  50. package/lib/common/utils/HttpUtils.js.map +1 -1
  51. package/lib/common/utils/Utils.d.ts +2 -2
  52. package/lib/common/utils/Utils.js +1 -1
  53. package/lib/common/utils/Utils.js.map +1 -1
  54. package/lib/index.d.ts +57 -39
  55. package/lib/index.js +74 -38
  56. package/lib/index.js.map +1 -1
  57. package/lib/translation/common/LanguageWeaverClient.d.ts +18 -0
  58. package/lib/{LanguageWeaverClient.js → translation/common/LanguageWeaverClient.js} +0 -0
  59. package/lib/translation/common/LanguageWeaverClient.js.map +1 -0
  60. package/lib/{SdkFactory.d.ts → translation/common/SdkFactory.d.ts} +2 -2
  61. package/lib/{SdkFactory.js → translation/common/SdkFactory.js} +5 -5
  62. package/lib/translation/common/SdkFactory.js.map +1 -0
  63. package/lib/translation/common/cloud/CloudLanguageWeaverClient.d.ts +68 -0
  64. package/lib/{CloudLanguageWeaverClient.js → translation/common/cloud/CloudLanguageWeaverClient.js} +53 -29
  65. package/lib/translation/common/cloud/CloudLanguageWeaverClient.js.map +1 -0
  66. package/lib/translation/common/edge/EdgeLanguageWeaverClient.d.ts +67 -0
  67. package/lib/{EdgeLanguageWeaverClient.js → translation/common/edge/EdgeLanguageWeaverClient.js} +56 -26
  68. package/lib/translation/common/edge/EdgeLanguageWeaverClient.js.map +1 -0
  69. package/lib/translation/common/edge/utils/EdgeLanguagePairUtil.d.ts +2 -0
  70. package/lib/translation/common/edge/utils/EdgeLanguagePairUtil.js +24 -0
  71. package/lib/translation/common/edge/utils/EdgeLanguagePairUtil.js.map +1 -0
  72. package/lib/translation/common/result/PaginatedListResult.d.ts +11 -0
  73. package/lib/translation/common/result/PaginatedListResult.js +39 -0
  74. package/lib/translation/common/result/PaginatedListResult.js.map +1 -0
  75. package/lib/translation/feedback/cloud/api/CloudFeedbackApiModel.d.ts +63 -0
  76. package/lib/translation/feedback/cloud/api/CloudFeedbackApiModel.js +286 -0
  77. package/lib/translation/feedback/cloud/api/CloudFeedbackApiModel.js.map +1 -0
  78. package/lib/translation/feedback/cloud/api/CloudFeedbackApproval.d.ts +35 -0
  79. package/lib/translation/feedback/cloud/api/CloudFeedbackApproval.js +119 -0
  80. package/lib/translation/feedback/cloud/api/CloudFeedbackApproval.js.map +1 -0
  81. package/lib/translation/feedback/cloud/api/CloudFeedbackImprovement.d.ts +6 -0
  82. package/lib/translation/feedback/cloud/api/CloudFeedbackImprovement.js +20 -0
  83. package/lib/translation/feedback/cloud/api/CloudFeedbackImprovement.js.map +1 -0
  84. package/lib/translation/feedback/cloud/api/CloudFeedbackListResponse.d.ts +11 -0
  85. package/lib/translation/feedback/cloud/api/CloudFeedbackListResponse.js +60 -0
  86. package/lib/translation/feedback/cloud/api/CloudFeedbackListResponse.js.map +1 -0
  87. package/lib/translation/feedback/cloud/api/CloudFeedbackRating.d.ts +10 -0
  88. package/lib/translation/feedback/cloud/api/CloudFeedbackRating.js +34 -0
  89. package/lib/translation/feedback/cloud/api/CloudFeedbackRating.js.map +1 -0
  90. package/lib/translation/feedback/cloud/api/CloudFilterFeedbackApiRequest.d.ts +25 -0
  91. package/lib/translation/feedback/cloud/api/CloudFilterFeedbackApiRequest.js +111 -0
  92. package/lib/translation/feedback/cloud/api/CloudFilterFeedbackApiRequest.js.map +1 -0
  93. package/lib/translation/feedback/cloud/api/CloudTranslationFeedback.d.ts +26 -0
  94. package/lib/translation/feedback/cloud/api/CloudTranslationFeedback.js +89 -0
  95. package/lib/translation/feedback/cloud/api/CloudTranslationFeedback.js.map +1 -0
  96. package/lib/translation/feedback/cloud/model/CloudAuditData.d.ts +21 -0
  97. package/lib/translation/feedback/cloud/model/CloudAuditData.js +90 -0
  98. package/lib/translation/feedback/cloud/model/CloudAuditData.js.map +1 -0
  99. package/lib/translation/feedback/cloud/model/CloudFeedbackSortCriteria.d.ts +4 -0
  100. package/lib/translation/feedback/cloud/model/CloudFeedbackSortCriteria.js +9 -0
  101. package/lib/translation/feedback/cloud/model/CloudFeedbackSortCriteria.js.map +1 -0
  102. package/lib/translation/feedback/cloud/request/CloudFeedbackSortRequest.d.ts +10 -0
  103. package/lib/translation/feedback/cloud/request/CloudFeedbackSortRequest.js +29 -0
  104. package/lib/translation/feedback/cloud/request/CloudFeedbackSortRequest.js.map +1 -0
  105. package/lib/translation/feedback/cloud/request/CloudFilterFeedbackRequest.d.ts +14 -0
  106. package/lib/translation/feedback/cloud/request/CloudFilterFeedbackRequest.js +60 -0
  107. package/lib/translation/feedback/cloud/request/CloudFilterFeedbackRequest.js.map +1 -0
  108. package/lib/translation/feedback/cloud/result/CloudFeedbackListResult.d.ts +7 -0
  109. package/lib/translation/feedback/cloud/result/CloudFeedbackListResult.js +42 -0
  110. package/lib/translation/feedback/cloud/result/CloudFeedbackListResult.js.map +1 -0
  111. package/lib/translation/feedback/cloud/result/CloudFeedbackResult.d.ts +25 -0
  112. package/lib/translation/feedback/cloud/result/CloudFeedbackResult.js +100 -0
  113. package/lib/translation/feedback/cloud/result/CloudFeedbackResult.js.map +1 -0
  114. package/lib/translation/feedback/cloud/service/CloudFeedbackService.d.ts +20 -0
  115. package/lib/translation/feedback/cloud/service/CloudFeedbackService.js +97 -0
  116. package/lib/translation/feedback/cloud/service/CloudFeedbackService.js.map +1 -0
  117. package/lib/translation/feedback/cloud/validators/CloudFeedbackValidator.d.ts +5 -0
  118. package/lib/translation/feedback/cloud/validators/CloudFeedbackValidator.js +36 -0
  119. package/lib/translation/feedback/cloud/validators/CloudFeedbackValidator.js.map +1 -0
  120. package/lib/translation/feedback/common/model/AuditData.d.ts +14 -0
  121. package/lib/translation/feedback/common/model/AuditData.js +49 -0
  122. package/lib/translation/feedback/common/model/AuditData.js.map +1 -0
  123. package/lib/translation/feedback/common/request/FilterFeedbackRequest.d.ts +15 -0
  124. package/lib/translation/feedback/common/request/FilterFeedbackRequest.js +49 -0
  125. package/lib/translation/feedback/common/request/FilterFeedbackRequest.js.map +1 -0
  126. package/lib/translation/feedback/common/result/FeedbackCommonResult.d.ts +30 -0
  127. package/lib/translation/feedback/common/result/FeedbackCommonResult.js +100 -0
  128. package/lib/translation/feedback/common/result/FeedbackCommonResult.js.map +1 -0
  129. package/lib/translation/feedback/common/result/FeedbackListResult.d.ts +7 -0
  130. package/lib/translation/feedback/common/result/FeedbackListResult.js +42 -0
  131. package/lib/translation/feedback/common/result/FeedbackListResult.js.map +1 -0
  132. package/lib/translation/feedback/common/result/FeedbackResult.d.ts +12 -0
  133. package/lib/translation/feedback/common/result/FeedbackResult.js +59 -0
  134. package/lib/translation/feedback/common/result/FeedbackResult.js.map +1 -0
  135. package/lib/translation/feedback/common/validators/FeedbackValidator.d.ts +2 -0
  136. package/lib/translation/feedback/common/validators/FeedbackValidator.js +9 -0
  137. package/lib/translation/feedback/common/validators/FeedbackValidator.js.map +1 -0
  138. package/lib/translation/feedback/edge/api/EdgeFeedbackApiModel.d.ts +39 -0
  139. package/lib/translation/feedback/edge/api/EdgeFeedbackApiModel.js +162 -0
  140. package/lib/translation/feedback/edge/api/EdgeFeedbackApiModel.js.map +1 -0
  141. package/lib/translation/feedback/edge/api/EdgeFeedbackListResponse.d.ts +22 -0
  142. package/lib/translation/feedback/edge/api/EdgeFeedbackListResponse.js +86 -0
  143. package/lib/translation/feedback/edge/api/EdgeFeedbackListResponse.js.map +1 -0
  144. package/lib/translation/feedback/edge/api/Timestamps.d.ts +11 -0
  145. package/lib/translation/feedback/edge/api/Timestamps.js +39 -0
  146. package/lib/translation/feedback/edge/api/Timestamps.js.map +1 -0
  147. package/lib/translation/feedback/edge/request/EdgeFilterFeedbackRequest.d.ts +31 -0
  148. package/lib/translation/feedback/edge/request/EdgeFilterFeedbackRequest.js +122 -0
  149. package/lib/translation/feedback/edge/request/EdgeFilterFeedbackRequest.js.map +1 -0
  150. package/lib/translation/feedback/edge/result/EdgeFeedbackListResult.d.ts +10 -0
  151. package/lib/translation/feedback/edge/result/EdgeFeedbackListResult.js +52 -0
  152. package/lib/translation/feedback/edge/result/EdgeFeedbackListResult.js.map +1 -0
  153. package/lib/translation/feedback/edge/result/EdgeFeedbackResult.d.ts +6 -0
  154. package/lib/translation/feedback/edge/result/EdgeFeedbackResult.js +40 -0
  155. package/lib/translation/feedback/edge/result/EdgeFeedbackResult.js.map +1 -0
  156. package/lib/translation/feedback/edge/service/EdgeFeedbackService.d.ts +17 -0
  157. package/lib/translation/feedback/edge/service/EdgeFeedbackService.js +119 -0
  158. package/lib/translation/feedback/edge/service/EdgeFeedbackService.js.map +1 -0
  159. package/lib/translation/feedback/edge/validators/EdgeFeedbackValidator.d.ts +3 -0
  160. package/lib/translation/feedback/edge/validators/EdgeFeedbackValidator.js +30 -0
  161. package/lib/translation/feedback/edge/validators/EdgeFeedbackValidator.js.map +1 -0
  162. package/lib/translation/translate/{response/cloud → cloud/api}/CloudDictionaryResponse.d.ts +0 -0
  163. package/lib/translation/translate/{response/cloud → cloud/api}/CloudDictionaryResponse.js +0 -0
  164. package/lib/translation/translate/cloud/api/CloudDictionaryResponse.js.map +1 -0
  165. package/lib/translation/translate/{response/cloud → cloud/api}/CloudLanguagePair.d.ts +0 -0
  166. package/lib/translation/translate/{response/cloud → cloud/api}/CloudLanguagePair.js +0 -0
  167. package/lib/translation/translate/cloud/api/CloudLanguagePair.js.map +1 -0
  168. package/lib/translation/translate/{request/cloud → cloud/request}/CloudTranslateBatchFileRequest.d.ts +1 -1
  169. package/lib/translation/translate/{request/cloud → cloud/request}/CloudTranslateBatchFileRequest.js +1 -1
  170. package/lib/translation/translate/cloud/request/CloudTranslateBatchFileRequest.js.map +1 -0
  171. package/lib/translation/translate/{request/cloud → cloud/request}/CloudTranslateFileRequest.d.ts +1 -1
  172. package/lib/translation/translate/{request/cloud → cloud/request}/CloudTranslateFileRequest.js +1 -1
  173. package/lib/translation/translate/cloud/request/CloudTranslateFileRequest.js.map +1 -0
  174. package/lib/translation/translate/{request/cloud → cloud/request}/CloudTranslateTextRequest.d.ts +1 -1
  175. package/lib/translation/translate/{request/cloud → cloud/request}/CloudTranslateTextRequest.js +1 -1
  176. package/lib/translation/translate/cloud/request/CloudTranslateTextRequest.js.map +1 -0
  177. package/lib/translation/translate/cloud/result/CloudDictionariesResult.d.ts +10 -0
  178. package/lib/translation/translate/cloud/result/CloudDictionariesResult.js +50 -0
  179. package/lib/translation/translate/cloud/result/CloudDictionariesResult.js.map +1 -0
  180. package/lib/translation/translate/{result/cloud → cloud/result}/CloudLanguagePairsResult.d.ts +1 -1
  181. package/lib/translation/translate/{result/cloud → cloud/result}/CloudLanguagePairsResult.js +0 -0
  182. package/lib/translation/translate/{result/cloud → cloud/result}/CloudLanguagePairsResult.js.map +1 -1
  183. package/lib/translation/translate/{result/cloud → cloud/result}/CloudTranslationBatchFileResult.d.ts +1 -1
  184. package/lib/translation/translate/{result/cloud → cloud/result}/CloudTranslationBatchFileResult.js +1 -1
  185. package/lib/translation/translate/cloud/result/CloudTranslationBatchFileResult.js.map +1 -0
  186. package/lib/translation/translate/{result/cloud → cloud/result}/CloudTranslationFileResult.d.ts +3 -3
  187. package/lib/translation/translate/{result/cloud → cloud/result}/CloudTranslationFileResult.js +1 -1
  188. package/lib/translation/translate/{result/cloud → cloud/result}/CloudTranslationFileResult.js.map +1 -1
  189. package/lib/translation/translate/{result/cloud → cloud/result}/CloudTranslationTextResult.d.ts +2 -2
  190. package/lib/translation/translate/{result/cloud → cloud/result}/CloudTranslationTextResult.js +0 -0
  191. package/lib/translation/translate/{result/cloud → cloud/result}/CloudTranslationTextResult.js.map +1 -1
  192. package/lib/translation/translate/{response → common/api}/AsyncTranslationResponse.d.ts +0 -0
  193. package/lib/translation/translate/{response → common/api}/AsyncTranslationResponse.js +0 -0
  194. package/lib/translation/translate/common/api/AsyncTranslationResponse.js.map +1 -0
  195. package/lib/translation/translate/{response → common/api}/DictionaryResponse.d.ts +0 -0
  196. package/lib/translation/translate/{response → common/api}/DictionaryResponse.js +0 -0
  197. package/lib/translation/translate/common/api/DictionaryResponse.js.map +1 -0
  198. package/lib/translation/translate/{response → common/api}/LanguagePair.d.ts +0 -0
  199. package/lib/translation/translate/{response → common/api}/LanguagePair.js +0 -0
  200. package/lib/translation/translate/common/api/LanguagePair.js.map +1 -0
  201. package/lib/translation/translate/{response → common/api}/TranslationStatistics.d.ts +0 -0
  202. package/lib/translation/translate/{response → common/api}/TranslationStatistics.js +0 -0
  203. package/lib/translation/translate/common/api/TranslationStatistics.js.map +1 -0
  204. package/lib/translation/translate/{response/StatusTranslationResponse.d.ts → common/api/TranslationStatusResponse.d.ts} +2 -2
  205. package/lib/translation/translate/{response/StatusTranslationResponse.js → common/api/TranslationStatusResponse.js} +10 -10
  206. package/lib/translation/translate/common/api/TranslationStatusResponse.js.map +1 -0
  207. package/lib/translation/translate/{request → common/request}/TranslateBatchFileRequest.d.ts +0 -0
  208. package/lib/translation/translate/{request → common/request}/TranslateBatchFileRequest.js +0 -0
  209. package/lib/translation/translate/common/request/TranslateBatchFileRequest.js.map +1 -0
  210. package/lib/translation/translate/{request → common/request}/TranslateFileRequest.d.ts +0 -0
  211. package/lib/translation/translate/{request → common/request}/TranslateFileRequest.js +0 -0
  212. package/lib/translation/translate/common/request/TranslateFileRequest.js.map +1 -0
  213. package/lib/translation/translate/{request → common/request}/TranslateRequest.d.ts +1 -1
  214. package/lib/translation/translate/{request → common/request}/TranslateRequest.js +0 -0
  215. package/lib/translation/translate/common/request/TranslateRequest.js.map +1 -0
  216. package/lib/translation/translate/{request → common/request}/TranslateTextRequest.d.ts +0 -0
  217. package/lib/translation/translate/{request → common/request}/TranslateTextRequest.js +0 -0
  218. package/lib/translation/translate/common/request/TranslateTextRequest.js.map +1 -0
  219. package/lib/translation/translate/common/result/DictionariesResult.d.ts +7 -0
  220. package/lib/translation/translate/common/result/DictionariesResult.js +40 -0
  221. package/lib/translation/translate/common/result/DictionariesResult.js.map +1 -0
  222. package/lib/translation/translate/{result → common/result}/LanguagePairsResult.d.ts +1 -1
  223. package/lib/translation/translate/{result → common/result}/LanguagePairsResult.js +0 -0
  224. package/lib/translation/translate/common/result/LanguagePairsResult.js.map +1 -0
  225. package/lib/translation/translate/{result → common/result}/TranslateTextResult.d.ts +0 -0
  226. package/lib/translation/translate/{result → common/result}/TranslateTextResult.js +0 -0
  227. package/lib/translation/translate/common/result/TranslateTextResult.js.map +1 -0
  228. package/lib/translation/translate/{result → common/result}/TranslationBatchFileResult.d.ts +0 -0
  229. package/lib/translation/translate/{result → common/result}/TranslationBatchFileResult.js +0 -0
  230. package/lib/translation/translate/common/result/TranslationBatchFileResult.js.map +1 -0
  231. package/lib/translation/translate/{result → common/result}/TranslationFileResult.d.ts +0 -0
  232. package/lib/translation/translate/{result → common/result}/TranslationFileResult.js +0 -0
  233. package/lib/translation/translate/common/result/TranslationFileResult.js.map +1 -0
  234. package/lib/translation/translate/{utils → common/utils}/TranslateFileUtil.d.ts +0 -0
  235. package/lib/translation/translate/{utils → common/utils}/TranslateFileUtil.js +2 -2
  236. package/lib/translation/translate/common/utils/TranslateFileUtil.js.map +1 -0
  237. package/lib/translation/translate/{response/edge → edge/api}/EdgeAsyncTranslationResponse.d.ts +0 -0
  238. package/lib/translation/translate/{response/edge → edge/api}/EdgeAsyncTranslationResponse.js +0 -0
  239. package/lib/translation/translate/edge/api/EdgeAsyncTranslationResponse.js.map +1 -0
  240. package/lib/translation/translate/{response/edge → edge/api}/EdgeDictionaryResponse.d.ts +0 -0
  241. package/lib/translation/translate/{response/edge → edge/api}/EdgeDictionaryResponse.js +0 -0
  242. package/lib/translation/translate/edge/api/EdgeDictionaryResponse.js.map +1 -0
  243. package/lib/translation/translate/{response/edge → edge/api}/EdgeLanguagePair.d.ts +0 -0
  244. package/lib/translation/translate/{response/edge → edge/api}/EdgeLanguagePair.js +0 -0
  245. package/lib/translation/translate/edge/api/EdgeLanguagePair.js.map +1 -0
  246. package/lib/translation/translate/{response/edge → edge/api}/EdgeStatusTranslationResponse.d.ts +0 -0
  247. package/lib/translation/translate/{response/edge → edge/api}/EdgeStatusTranslationResponse.js +0 -0
  248. package/lib/translation/translate/edge/api/EdgeStatusTranslationResponse.js.map +1 -0
  249. package/lib/translation/translate/{response/edge → edge/api}/MemberPair.d.ts +0 -0
  250. package/lib/translation/translate/{response/edge → edge/api}/MemberPair.js +0 -0
  251. package/lib/translation/translate/edge/api/MemberPair.js.map +1 -0
  252. package/lib/translation/translate/{response/edge → edge/api}/Profile.d.ts +0 -0
  253. package/lib/translation/translate/{response/edge → edge/api}/Profile.js +0 -0
  254. package/lib/translation/translate/edge/api/Profile.js.map +1 -0
  255. package/lib/translation/translate/{response/edge → edge/api}/Result.d.ts +0 -0
  256. package/lib/translation/translate/{response/edge → edge/api}/Result.js +0 -0
  257. package/lib/translation/translate/edge/api/Result.js.map +1 -0
  258. package/lib/translation/translate/{response/edge → edge/api}/Timestamps.d.ts +0 -0
  259. package/lib/translation/translate/{response/edge → edge/api}/Timestamps.js +0 -0
  260. package/lib/translation/translate/edge/api/Timestamps.js.map +1 -0
  261. package/lib/translation/translate/{request/edge → edge/request}/EdgeTranslateBatchFileRequest.d.ts +2 -2
  262. package/lib/translation/translate/{request/edge → edge/request}/EdgeTranslateBatchFileRequest.js +1 -1
  263. package/lib/translation/translate/{request/edge → edge/request}/EdgeTranslateBatchFileRequest.js.map +1 -1
  264. package/lib/translation/translate/{request/edge → edge/request}/EdgeTranslateFileRequest.d.ts +2 -2
  265. package/lib/translation/translate/{request/edge → edge/request}/EdgeTranslateFileRequest.js +1 -1
  266. package/lib/translation/translate/{request/edge → edge/request}/EdgeTranslateFileRequest.js.map +1 -1
  267. package/lib/translation/translate/{request/edge → edge/request}/EdgeTranslateTextRequest.d.ts +2 -2
  268. package/lib/translation/translate/{request/edge → edge/request}/EdgeTranslateTextRequest.js +1 -1
  269. package/lib/translation/translate/{request/edge → edge/request}/EdgeTranslateTextRequest.js.map +1 -1
  270. package/lib/translation/translate/edge/result/EdgeDictionariesResult.d.ts +10 -0
  271. package/lib/translation/translate/edge/result/EdgeDictionariesResult.js +50 -0
  272. package/lib/translation/translate/edge/result/EdgeDictionariesResult.js.map +1 -0
  273. package/lib/translation/translate/{result/edge → edge/result}/EdgeLanguagePairsResult.d.ts +1 -1
  274. package/lib/translation/translate/{result/edge → edge/result}/EdgeLanguagePairsResult.js +0 -0
  275. package/lib/translation/translate/{result/edge → edge/result}/EdgeLanguagePairsResult.js.map +1 -1
  276. package/lib/translation/translate/{result/edge → edge/result}/EdgeTranslationBatchFileResult.d.ts +1 -1
  277. package/lib/translation/translate/{result/edge → edge/result}/EdgeTranslationBatchFileResult.js +1 -1
  278. package/lib/translation/translate/edge/result/EdgeTranslationBatchFileResult.js.map +1 -0
  279. package/lib/translation/translate/{result/edge → edge/result}/EdgeTranslationFileResult.d.ts +1 -1
  280. package/lib/translation/translate/{result/edge → edge/result}/EdgeTranslationFileResult.js +1 -1
  281. package/lib/translation/translate/{result/edge → edge/result}/EdgeTranslationFileResult.js.map +1 -1
  282. package/lib/translation/translate/{result/edge → edge/result}/EdgeTranslationTextResult.d.ts +1 -1
  283. package/lib/translation/translate/{result/edge → edge/result}/EdgeTranslationTextResult.js +1 -1
  284. package/lib/translation/translate/edge/result/EdgeTranslationTextResult.js.map +1 -0
  285. package/lib/version.d.ts +1 -1
  286. package/lib/version.js +1 -1
  287. package/package.json +4 -3
  288. package/lib/CloudLanguageWeaverClient.d.ts +0 -61
  289. package/lib/CloudLanguageWeaverClient.js.map +0 -1
  290. package/lib/EdgeLanguageWeaverClient.d.ts +0 -60
  291. package/lib/EdgeLanguageWeaverClient.js.map +0 -1
  292. package/lib/LanguageWeaverClient.d.ts +0 -15
  293. package/lib/LanguageWeaverClient.js.map +0 -1
  294. package/lib/SdkFactory.js.map +0 -1
  295. package/lib/auth/LanguageWeaverAuthentication.js.map +0 -1
  296. package/lib/auth/domain/SelfInformation.js.map +0 -1
  297. package/lib/auth/domain/Token.js.map +0 -1
  298. package/lib/auth/domain/UserSelfInformation.js.map +0 -1
  299. package/lib/common/requests/RestClient.js.map +0 -1
  300. package/lib/translation/common/Format.js.map +0 -1
  301. package/lib/translation/common/Product.js.map +0 -1
  302. package/lib/translation/common/Regions.js.map +0 -1
  303. package/lib/translation/common/Statuses.js.map +0 -1
  304. package/lib/translation/translate/request/TranslateBatchFileRequest.js.map +0 -1
  305. package/lib/translation/translate/request/TranslateFileRequest.js.map +0 -1
  306. package/lib/translation/translate/request/TranslateRequest.js.map +0 -1
  307. package/lib/translation/translate/request/TranslateTextRequest.js.map +0 -1
  308. package/lib/translation/translate/request/cloud/CloudTranslateBatchFileRequest.js.map +0 -1
  309. package/lib/translation/translate/request/cloud/CloudTranslateFileRequest.js.map +0 -1
  310. package/lib/translation/translate/request/cloud/CloudTranslateTextRequest.js.map +0 -1
  311. package/lib/translation/translate/response/AsyncTranslationResponse.js.map +0 -1
  312. package/lib/translation/translate/response/DictionaryResponse.js.map +0 -1
  313. package/lib/translation/translate/response/LanguagePair.js.map +0 -1
  314. package/lib/translation/translate/response/StatusTranslationResponse.js.map +0 -1
  315. package/lib/translation/translate/response/TranslationStatistics.js.map +0 -1
  316. package/lib/translation/translate/response/cloud/CloudDictionaryResponse.js.map +0 -1
  317. package/lib/translation/translate/response/cloud/CloudLanguagePair.js.map +0 -1
  318. package/lib/translation/translate/response/edge/EdgeAsyncTranslationResponse.js.map +0 -1
  319. package/lib/translation/translate/response/edge/EdgeDictionaryResponse.js.map +0 -1
  320. package/lib/translation/translate/response/edge/EdgeLanguagePair.js.map +0 -1
  321. package/lib/translation/translate/response/edge/EdgeStatusTranslationResponse.js.map +0 -1
  322. package/lib/translation/translate/response/edge/MemberPair.js.map +0 -1
  323. package/lib/translation/translate/response/edge/Profile.js.map +0 -1
  324. package/lib/translation/translate/response/edge/Result.js.map +0 -1
  325. package/lib/translation/translate/response/edge/Timestamps.js.map +0 -1
  326. package/lib/translation/translate/result/DictionariesResult.d.ts +0 -6
  327. package/lib/translation/translate/result/DictionariesResult.js +0 -19
  328. package/lib/translation/translate/result/DictionariesResult.js.map +0 -1
  329. package/lib/translation/translate/result/LanguagePairsResult.js.map +0 -1
  330. package/lib/translation/translate/result/TranslateTextResult.js.map +0 -1
  331. package/lib/translation/translate/result/TranslationBatchFileResult.js.map +0 -1
  332. package/lib/translation/translate/result/TranslationFileResult.js.map +0 -1
  333. package/lib/translation/translate/result/cloud/CloudDictionariesResult.d.ts +0 -18
  334. package/lib/translation/translate/result/cloud/CloudDictionariesResult.js +0 -59
  335. package/lib/translation/translate/result/cloud/CloudDictionariesResult.js.map +0 -1
  336. package/lib/translation/translate/result/cloud/CloudTranslationBatchFileResult.js.map +0 -1
  337. package/lib/translation/translate/result/edge/EdgeDictionariesResult.d.ts +0 -18
  338. package/lib/translation/translate/result/edge/EdgeDictionariesResult.js +0 -59
  339. package/lib/translation/translate/result/edge/EdgeDictionariesResult.js.map +0 -1
  340. package/lib/translation/translate/result/edge/EdgeTranslationBatchFileResult.js.map +0 -1
  341. package/lib/translation/translate/result/edge/EdgeTranslationTextResult.js.map +0 -1
  342. package/lib/translation/translate/utils/TranslateFileUtil.js.map +0 -1
@@ -0,0 +1,59 @@
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 FeedbackCommonResult_1 = __importDefault(require("./FeedbackCommonResult"));
22
+ var FeedbackResult = /** @class */ (function (_super) {
23
+ __extends(FeedbackResult, _super);
24
+ function FeedbackResult() {
25
+ return _super !== null && _super.apply(this, arguments) || this;
26
+ }
27
+ Object.defineProperty(FeedbackResult.prototype, "feedbackAuditData", {
28
+ get: function () {
29
+ return this._feedbackAuditData;
30
+ },
31
+ set: function (value) {
32
+ this._feedbackAuditData = value;
33
+ },
34
+ enumerable: false,
35
+ configurable: true
36
+ });
37
+ Object.defineProperty(FeedbackResult.prototype, "approvalAuditData", {
38
+ get: function () {
39
+ return this._approvalAuditData;
40
+ },
41
+ set: function (value) {
42
+ this._approvalAuditData = value;
43
+ },
44
+ enumerable: false,
45
+ configurable: true
46
+ });
47
+ FeedbackResult.prototype.addComment = function (comment) {
48
+ if (this.comments) {
49
+ this.comments.push(comment);
50
+ }
51
+ else {
52
+ this.comments = [comment];
53
+ }
54
+ return this;
55
+ };
56
+ return FeedbackResult;
57
+ }(FeedbackCommonResult_1.default));
58
+ exports.default = FeedbackResult;
59
+ //# sourceMappingURL=FeedbackResult.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"FeedbackResult.js","sourceRoot":"","sources":["../../../../../src/translation/feedback/common/result/FeedbackResult.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;AACA,gFAA0D;AAG1D;IAA4C,kCAAoB;IAAhE;;IA4BA,CAAC;IAxBG,sBAAI,6CAAiB;aAArB;YACI,OAAO,IAAI,CAAC,kBAAkB,CAAC;QACnC,CAAC;aAED,UAAsB,KAA4B;YAC9C,IAAI,CAAC,kBAAkB,GAAG,KAAK,CAAC;QACpC,CAAC;;;OAJA;IAMD,sBAAI,6CAAiB;aAArB;YACI,OAAO,IAAI,CAAC,kBAAkB,CAAC;QACnC,CAAC;aAED,UAAsB,KAA4B;YAC9C,IAAI,CAAC,kBAAkB,GAAG,KAAK,CAAC;QACpC,CAAC;;;OAJA;IAMM,mCAAU,GAAjB,UAAkB,OAAiC;QAC/C,IAAI,IAAI,CAAC,QAAQ,EAAE;YACf,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;SAC/B;aAAM;YACH,IAAI,CAAC,QAAQ,GAAG,CAAC,OAAO,CAAC,CAAC;SAC7B;QACD,OAAO,IAAI,CAAC;IAChB,CAAC;IACL,qBAAC;AAAD,CAAC,AA5BD,CAA4C,8BAAoB,GA4B/D"}
@@ -0,0 +1,2 @@
1
+ export default class FeedbackValidator {
2
+ }
@@ -0,0 +1,9 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ var FeedbackValidator = /** @class */ (function () {
4
+ function FeedbackValidator() {
5
+ }
6
+ return FeedbackValidator;
7
+ }());
8
+ exports.default = FeedbackValidator;
9
+ //# sourceMappingURL=FeedbackValidator.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"FeedbackValidator.js","sourceRoot":"","sources":["../../../../../src/translation/feedback/common/validators/FeedbackValidator.ts"],"names":[],"mappings":";;AAAA;IAAA;IAAwC,CAAC;IAAD,wBAAC;AAAD,CAAC,AAAzC,IAAyC"}
@@ -0,0 +1,39 @@
1
+ import EdgeFeedbackResult from '../result/EdgeFeedbackResult';
2
+ import FeedbackResult from '../../common/result/FeedbackResult';
3
+ import EdgeLanguagePair from '../../../translate/edge/api/EdgeLanguagePair';
4
+ import Timestamps from './Timestamps';
5
+ export default class EdgeFeedbackApiModel {
6
+ private _feedbackId;
7
+ private _languagePairId;
8
+ private _sourceText;
9
+ private _machineTranslation;
10
+ private _suggestedTranslation;
11
+ private _approvalState;
12
+ private _comment;
13
+ private _username;
14
+ private _reviewer;
15
+ private _timestamps;
16
+ constructor(feedback?: EdgeFeedbackApiModel);
17
+ get feedbackId(): string | undefined;
18
+ set feedbackId(value: string | undefined);
19
+ get languagePairId(): string | undefined;
20
+ set languagePairId(value: string | undefined);
21
+ get sourceText(): string | undefined;
22
+ set sourceText(value: string | undefined);
23
+ get machineTranslation(): string | undefined;
24
+ set machineTranslation(value: string | undefined);
25
+ get suggestedTranslation(): string | undefined;
26
+ set suggestedTranslation(value: string | undefined);
27
+ get approvalState(): string | undefined;
28
+ set approvalState(value: string | undefined);
29
+ get comment(): string | undefined;
30
+ set comment(value: string | undefined);
31
+ get username(): string | undefined;
32
+ set username(value: string | undefined);
33
+ get reviewer(): string | undefined;
34
+ set reviewer(value: string | undefined);
35
+ get timestamps(): Timestamps | undefined;
36
+ set timestamps(value: Timestamps | undefined);
37
+ toEdgeResult(): EdgeFeedbackResult;
38
+ toResult(languagePair: EdgeLanguagePair): FeedbackResult;
39
+ }
@@ -0,0 +1,162 @@
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 FeedbackResult_1 = __importDefault(require("../../common/result/FeedbackResult"));
7
+ var AuditData_1 = __importDefault(require("../../common/model/AuditData"));
8
+ var EdgeLanguagePairUtil_1 = require("../../../common/edge/utils/EdgeLanguagePairUtil");
9
+ var ApprovalStatus_1 = require("../../../../common/constants/ApprovalStatus");
10
+ var EdgeFeedbackApiModel = /** @class */ (function () {
11
+ function EdgeFeedbackApiModel(feedback) {
12
+ if (feedback) {
13
+ this.feedbackId = feedback.feedbackId;
14
+ this.languagePairId = feedback.languagePairId;
15
+ this.sourceText = feedback.sourceText;
16
+ this.machineTranslation = feedback.machineTranslation;
17
+ this.suggestedTranslation = feedback.suggestedTranslation;
18
+ this.approvalState = feedback.approvalState;
19
+ this.comment = feedback.comment;
20
+ this.username = feedback.username;
21
+ this.reviewer = feedback.reviewer;
22
+ this.timestamps = feedback.timestamps;
23
+ }
24
+ }
25
+ Object.defineProperty(EdgeFeedbackApiModel.prototype, "feedbackId", {
26
+ get: function () {
27
+ return this._feedbackId;
28
+ },
29
+ set: function (value) {
30
+ this._feedbackId = value;
31
+ },
32
+ enumerable: false,
33
+ configurable: true
34
+ });
35
+ Object.defineProperty(EdgeFeedbackApiModel.prototype, "languagePairId", {
36
+ get: function () {
37
+ return this._languagePairId;
38
+ },
39
+ set: function (value) {
40
+ this._languagePairId = value;
41
+ },
42
+ enumerable: false,
43
+ configurable: true
44
+ });
45
+ Object.defineProperty(EdgeFeedbackApiModel.prototype, "sourceText", {
46
+ get: function () {
47
+ return this._sourceText;
48
+ },
49
+ set: function (value) {
50
+ this._sourceText = value;
51
+ },
52
+ enumerable: false,
53
+ configurable: true
54
+ });
55
+ Object.defineProperty(EdgeFeedbackApiModel.prototype, "machineTranslation", {
56
+ get: function () {
57
+ return this._machineTranslation;
58
+ },
59
+ set: function (value) {
60
+ this._machineTranslation = value;
61
+ },
62
+ enumerable: false,
63
+ configurable: true
64
+ });
65
+ Object.defineProperty(EdgeFeedbackApiModel.prototype, "suggestedTranslation", {
66
+ get: function () {
67
+ return this._suggestedTranslation;
68
+ },
69
+ set: function (value) {
70
+ this._suggestedTranslation = value;
71
+ },
72
+ enumerable: false,
73
+ configurable: true
74
+ });
75
+ Object.defineProperty(EdgeFeedbackApiModel.prototype, "approvalState", {
76
+ get: function () {
77
+ return this._approvalState;
78
+ },
79
+ set: function (value) {
80
+ this._approvalState = value;
81
+ },
82
+ enumerable: false,
83
+ configurable: true
84
+ });
85
+ Object.defineProperty(EdgeFeedbackApiModel.prototype, "comment", {
86
+ get: function () {
87
+ return this._comment;
88
+ },
89
+ set: function (value) {
90
+ this._comment = value;
91
+ },
92
+ enumerable: false,
93
+ configurable: true
94
+ });
95
+ Object.defineProperty(EdgeFeedbackApiModel.prototype, "username", {
96
+ get: function () {
97
+ return this._username;
98
+ },
99
+ set: function (value) {
100
+ this._username = value;
101
+ },
102
+ enumerable: false,
103
+ configurable: true
104
+ });
105
+ Object.defineProperty(EdgeFeedbackApiModel.prototype, "reviewer", {
106
+ get: function () {
107
+ return this._reviewer;
108
+ },
109
+ set: function (value) {
110
+ this._reviewer = value;
111
+ },
112
+ enumerable: false,
113
+ configurable: true
114
+ });
115
+ Object.defineProperty(EdgeFeedbackApiModel.prototype, "timestamps", {
116
+ get: function () {
117
+ return this._timestamps;
118
+ },
119
+ set: function (value) {
120
+ this._timestamps = value;
121
+ },
122
+ enumerable: false,
123
+ configurable: true
124
+ });
125
+ EdgeFeedbackApiModel.prototype.toEdgeResult = function () {
126
+ var edgeLanguagePair = (0, EdgeLanguagePairUtil_1.getLanguageFromEdgeId)(this.languagePairId);
127
+ var edgeFeedbackResult = this.toResult(edgeLanguagePair);
128
+ edgeFeedbackResult.languagePairId = this.languagePairId;
129
+ return edgeFeedbackResult;
130
+ };
131
+ EdgeFeedbackApiModel.prototype.toResult = function (languagePair) {
132
+ var _a, _b, _c, _d;
133
+ var feedbackAuditData = new AuditData_1.default();
134
+ feedbackAuditData.creationDate = (_a = this.timestamps) === null || _a === void 0 ? void 0 : _a.created;
135
+ feedbackAuditData.createdByUserEmail = this.username;
136
+ feedbackAuditData.lastModifyDate = (_b = this.timestamps) === null || _b === void 0 ? void 0 : _b.modified;
137
+ var approvalAuditData = new AuditData_1.default();
138
+ approvalAuditData.creationDate = (_c = this.timestamps) === null || _c === void 0 ? void 0 : _c.created;
139
+ approvalAuditData.lastModifyDate = (_d = this.timestamps) === null || _d === void 0 ? void 0 : _d.reviewed;
140
+ approvalAuditData.lastModifiedByUserEmail = this.reviewer;
141
+ var result = new FeedbackResult_1.default();
142
+ result.feedbackId = this.feedbackId;
143
+ result.sourceLanguageId = languagePair.sourceLanguageId;
144
+ result.targetLanguageId = languagePair.targetLanguageId;
145
+ result.model = languagePair.domain;
146
+ result.sourceText = this.sourceText;
147
+ result.targetText = this.machineTranslation;
148
+ result.suggestedTranslation = this.suggestedTranslation;
149
+ if (this.comment) {
150
+ result.addComment(this.comment);
151
+ }
152
+ if (this.approvalState) {
153
+ result.approvalState = (0, ApprovalStatus_1.getApprovalStatusByKey)((0, ApprovalStatus_1.getApprovalStatusKeyByValue)(this.approvalState));
154
+ }
155
+ result.feedbackAuditData = feedbackAuditData;
156
+ result.approvalAuditData = approvalAuditData;
157
+ return result;
158
+ };
159
+ return EdgeFeedbackApiModel;
160
+ }());
161
+ exports.default = EdgeFeedbackApiModel;
162
+ //# sourceMappingURL=EdgeFeedbackApiModel.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"EdgeFeedbackApiModel.js","sourceRoot":"","sources":["../../../../../src/translation/feedback/edge/api/EdgeFeedbackApiModel.ts"],"names":[],"mappings":";;;;;AACA,sFAAgE;AAEhE,2EAAqD;AAErD,wFAAwF;AACxF,8EAAkH;AAElH;IAYI,8BAAY,QAA+B;QACvC,IAAI,QAAQ,EAAE;YACV,IAAI,CAAC,UAAU,GAAG,QAAQ,CAAC,UAAU,CAAC;YACtC,IAAI,CAAC,cAAc,GAAG,QAAQ,CAAC,cAAc,CAAC;YAC9C,IAAI,CAAC,UAAU,GAAG,QAAQ,CAAC,UAAU,CAAC;YACtC,IAAI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iJC"}
@@ -0,0 +1,22 @@
1
+ import EdgeFeedbackApiModel from './EdgeFeedbackApiModel';
2
+ import EdgeFeedbackListResult from '../result/EdgeFeedbackListResult';
3
+ import FeedbackListResult from '../../common/result/FeedbackListResult';
4
+ export default class EdgeFeedbackListResponse {
5
+ private _feedback;
6
+ private _page;
7
+ private _perPage;
8
+ private _totalPages;
9
+ private _totalItems;
10
+ get feedback(): EdgeFeedbackApiModel[];
11
+ set feedback(value: EdgeFeedbackApiModel[]);
12
+ get page(): number | undefined;
13
+ set page(value: number | undefined);
14
+ get perPage(): number | undefined;
15
+ set perPage(value: number | undefined);
16
+ get totalPages(): number | undefined;
17
+ set totalPages(value: number | undefined);
18
+ get totalItems(): number | undefined;
19
+ set totalItems(value: number | undefined);
20
+ toEdgeResult(): EdgeFeedbackListResult;
21
+ toResult(): FeedbackListResult;
22
+ }
@@ -0,0 +1,86 @@
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 EdgeFeedbackListResult_1 = __importDefault(require("../result/EdgeFeedbackListResult"));
7
+ var FeedbackListResult_1 = __importDefault(require("../../common/result/FeedbackListResult"));
8
+ var EdgeLanguagePairUtil_1 = require("../../../common/edge/utils/EdgeLanguagePairUtil");
9
+ var EdgeFeedbackListResponse = /** @class */ (function () {
10
+ function EdgeFeedbackListResponse() {
11
+ this._feedback = [];
12
+ }
13
+ Object.defineProperty(EdgeFeedbackListResponse.prototype, "feedback", {
14
+ get: function () {
15
+ return this._feedback;
16
+ },
17
+ set: function (value) {
18
+ this._feedback = value;
19
+ },
20
+ enumerable: false,
21
+ configurable: true
22
+ });
23
+ Object.defineProperty(EdgeFeedbackListResponse.prototype, "page", {
24
+ get: function () {
25
+ return this._page;
26
+ },
27
+ set: function (value) {
28
+ this._page = value;
29
+ },
30
+ enumerable: false,
31
+ configurable: true
32
+ });
33
+ Object.defineProperty(EdgeFeedbackListResponse.prototype, "perPage", {
34
+ get: function () {
35
+ return this._perPage;
36
+ },
37
+ set: function (value) {
38
+ this._perPage = value;
39
+ },
40
+ enumerable: false,
41
+ configurable: true
42
+ });
43
+ Object.defineProperty(EdgeFeedbackListResponse.prototype, "totalPages", {
44
+ get: function () {
45
+ return this._totalPages;
46
+ },
47
+ set: function (value) {
48
+ this._totalPages = value;
49
+ },
50
+ enumerable: false,
51
+ configurable: true
52
+ });
53
+ Object.defineProperty(EdgeFeedbackListResponse.prototype, "totalItems", {
54
+ get: function () {
55
+ return this._totalItems;
56
+ },
57
+ set: function (value) {
58
+ this._totalItems = value;
59
+ },
60
+ enumerable: false,
61
+ configurable: true
62
+ });
63
+ EdgeFeedbackListResponse.prototype.toEdgeResult = function () {
64
+ var result = new EdgeFeedbackListResult_1.default();
65
+ result.pageNumber = this.page;
66
+ result.pageSize = this.perPage;
67
+ result.totalPages = this.totalPages;
68
+ result.totalCount = this.totalItems;
69
+ result.feedbackList = this.feedback.map(function (feedbackItem) { return feedbackItem.toEdgeResult(); });
70
+ return result;
71
+ };
72
+ EdgeFeedbackListResponse.prototype.toResult = function () {
73
+ var result = new FeedbackListResult_1.default();
74
+ result.pageNumber = this.page;
75
+ result.pageSize = this.perPage;
76
+ result.totalCount = this.totalItems;
77
+ result.feedbackList = this.feedback.map(function (feedbackItem) {
78
+ var edgeLanguagePair = (0, EdgeLanguagePairUtil_1.getLanguageFromEdgeId)(feedbackItem.languagePairId);
79
+ return feedbackItem.toResult(edgeLanguagePair);
80
+ });
81
+ return result;
82
+ };
83
+ return EdgeFeedbackListResponse;
84
+ }());
85
+ exports.default = EdgeFeedbackListResponse;
86
+ //# sourceMappingURL=EdgeFeedbackListResponse.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"EdgeFeedbackListResponse.js","sourceRoot":"","sources":["../../../../../src/translation/feedback/edge/api/EdgeFeedbackListResponse.ts"],"names":[],"mappings":";;;;;AACA,4FAAsE;A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C,YAAY,IAAK,OAAA,YAAY,CAAC,YAAY,EAAE,EAA3B,CAA2B,CAAC,CAAC;QAEvF,OAAO,MAAM,CAAC;IAClB,CAAC;IAEM,2CAAQ,GAAf;QACI,IAAM,MAAM,GAAG,IAAI,4BAAkB,EAAE,CAAC;QACxC,MAAM,CAAC,UAAU,GAAG,IAAI,CAAC,IAAI,CAAC;QAC9B,MAAM,CAAC,QAAQ,GAAG,IAAI,CAAC,OAAO,CAAC;QAC/B,MAAM,CAAC,UAAU,GAAG,IAAI,CAAC,UAAU,CAAC;QACpC,MAAM,CAAC,YAAY,GAAG,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,UAAC,YAAY;YACjD,IAAM,gBAAgB,GAAG,IAAA,4CAAqB,EAAC,YAAY,CAAC,cAAc,CAAC,CAAC;YAE5E,OAAO,YAAY,CAAC,QAAQ,CAAC,gBAAgB,CAAC,CAAC;QACnD,CAAC,CAAC,CAAC;QAEH,OAAO,MAAM,CAAC;IAClB,CAAC;IACL,+BAAC;AAAD,CAAC,AAvED,IAuEC"}
@@ -0,0 +1,11 @@
1
+ export default class Timestamps {
2
+ private _reviewed;
3
+ private _created;
4
+ private _modified;
5
+ get reviewed(): string | undefined;
6
+ set reviewed(value: string | undefined);
7
+ get created(): string | undefined;
8
+ set created(value: string | undefined);
9
+ get modified(): string | undefined;
10
+ set modified(value: string | undefined);
11
+ }
@@ -0,0 +1,39 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ var Timestamps = /** @class */ (function () {
4
+ function Timestamps() {
5
+ }
6
+ Object.defineProperty(Timestamps.prototype, "reviewed", {
7
+ get: function () {
8
+ return this._reviewed;
9
+ },
10
+ set: function (value) {
11
+ this._reviewed = value;
12
+ },
13
+ enumerable: false,
14
+ configurable: true
15
+ });
16
+ Object.defineProperty(Timestamps.prototype, "created", {
17
+ get: function () {
18
+ return this._created;
19
+ },
20
+ set: function (value) {
21
+ this._created = value;
22
+ },
23
+ enumerable: false,
24
+ configurable: true
25
+ });
26
+ Object.defineProperty(Timestamps.prototype, "modified", {
27
+ get: function () {
28
+ return this._modified;
29
+ },
30
+ set: function (value) {
31
+ this._modified = value;
32
+ },
33
+ enumerable: false,
34
+ configurable: true
35
+ });
36
+ return Timestamps;
37
+ }());
38
+ exports.default = Timestamps;
39
+ //# sourceMappingURL=Timestamps.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Timestamps.js","sourceRoot":"","sources":["../../../../../src/translation/feedback/edge/api/Timestamps.ts"],"names":[],"mappings":";;AAAA;IAAA;IA4BA,CAAC;IAvBG,sBAAI,gCAAQ;aAAZ;YACI,OAAO,IAAI,CAAC,SAAS,CAAC;QAC1B,CAAC;aAED,UAAa,KAAyB;YAClC,IAAI,CAAC,SAAS,GAAG,KAAK,CAAC;QAC3B,CAAC;;;OAJA;IAMD,sBAAI,+BAAO;aAAX;YACI,OAAO,IAAI,CAAC,QAAQ,CAAC;QACzB,CAAC;aAED,UAAY,KAAyB;YACjC,IAAI,CAAC,QAAQ,GAAG,KAAK,CAAC;QAC1B,CAAC;;;OAJA;IAMD,sBAAI,gCAAQ;aAAZ;YACI,OAAO,IAAI,CAAC,SAAS,CAAC;QAC1B,CAAC;aAED,UAAa,KAAyB;YAClC,IAAI,CAAC,SAAS,GAAG,KAAK,CAAC;QAC3B,CAAC;;;OAJA;IAKL,iBAAC;AAAD,CAAC,AA5BD,IA4BC"}
@@ -0,0 +1,31 @@
1
+ import FilterFeedbackRequest from '../../common/request/FilterFeedbackRequest';
2
+ import { ApprovalStatus } from '../../../../common/constants/ApprovalStatus';
3
+ export default class EdgeFilterFeedbackRequest extends FilterFeedbackRequest {
4
+ private _languagePairId;
5
+ private _sourceLanguageId;
6
+ private _targetLanguageId;
7
+ private _sourceText;
8
+ private _machineTranslation;
9
+ private _suggestedTranslation;
10
+ private _comment;
11
+ private _approvalStatuses;
12
+ private _reviewer;
13
+ get languagePairId(): string | undefined;
14
+ set languagePairId(value: string | undefined);
15
+ get sourceLanguageId(): string | undefined;
16
+ set sourceLanguageId(value: string | undefined);
17
+ get targetLanguageId(): string | undefined;
18
+ set targetLanguageId(value: string | undefined);
19
+ get sourceText(): string | undefined;
20
+ set sourceText(value: string | undefined);
21
+ get machineTranslation(): string | undefined;
22
+ set machineTranslation(value: string | undefined);
23
+ get suggestedTranslation(): string | undefined;
24
+ set suggestedTranslation(value: string | undefined);
25
+ get comment(): string | undefined;
26
+ set comment(value: string | undefined);
27
+ get approvalStatuses(): ApprovalStatus[];
28
+ set approvalStatuses(value: ApprovalStatus[]);
29
+ get reviewer(): string | undefined;
30
+ set reviewer(value: string | undefined);
31
+ }
@@ -0,0 +1,122 @@
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 FilterFeedbackRequest_1 = __importDefault(require("../../common/request/FilterFeedbackRequest"));
22
+ var EdgeFilterFeedbackRequest = /** @class */ (function (_super) {
23
+ __extends(EdgeFilterFeedbackRequest, _super);
24
+ function EdgeFilterFeedbackRequest() {
25
+ var _this = _super !== null && _super.apply(this, arguments) || this;
26
+ _this._approvalStatuses = [];
27
+ return _this;
28
+ }
29
+ Object.defineProperty(EdgeFilterFeedbackRequest.prototype, "languagePairId", {
30
+ get: function () {
31
+ return this._languagePairId;
32
+ },
33
+ set: function (value) {
34
+ this._languagePairId = value;
35
+ },
36
+ enumerable: false,
37
+ configurable: true
38
+ });
39
+ Object.defineProperty(EdgeFilterFeedbackRequest.prototype, "sourceLanguageId", {
40
+ get: function () {
41
+ return this._sourceLanguageId;
42
+ },
43
+ set: function (value) {
44
+ this._sourceLanguageId = value;
45
+ },
46
+ enumerable: false,
47
+ configurable: true
48
+ });
49
+ Object.defineProperty(EdgeFilterFeedbackRequest.prototype, "targetLanguageId", {
50
+ get: function () {
51
+ return this._targetLanguageId;
52
+ },
53
+ set: function (value) {
54
+ this._targetLanguageId = value;
55
+ },
56
+ enumerable: false,
57
+ configurable: true
58
+ });
59
+ Object.defineProperty(EdgeFilterFeedbackRequest.prototype, "sourceText", {
60
+ get: function () {
61
+ return this._sourceText;
62
+ },
63
+ set: function (value) {
64
+ this._sourceText = value;
65
+ },
66
+ enumerable: false,
67
+ configurable: true
68
+ });
69
+ Object.defineProperty(EdgeFilterFeedbackRequest.prototype, "machineTranslation", {
70
+ get: function () {
71
+ return this._machineTranslation;
72
+ },
73
+ set: function (value) {
74
+ this._machineTranslation = value;
75
+ },
76
+ enumerable: false,
77
+ configurable: true
78
+ });
79
+ Object.defineProperty(EdgeFilterFeedbackRequest.prototype, "suggestedTranslation", {
80
+ get: function () {
81
+ return this._suggestedTranslation;
82
+ },
83
+ set: function (value) {
84
+ this._suggestedTranslation = value;
85
+ },
86
+ enumerable: false,
87
+ configurable: true
88
+ });
89
+ Object.defineProperty(EdgeFilterFeedbackRequest.prototype, "comment", {
90
+ get: function () {
91
+ return this._comment;
92
+ },
93
+ set: function (value) {
94
+ this._comment = value;
95
+ },
96
+ enumerable: false,
97
+ configurable: true
98
+ });
99
+ Object.defineProperty(EdgeFilterFeedbackRequest.prototype, "approvalStatuses", {
100
+ get: function () {
101
+ return this._approvalStatuses;
102
+ },
103
+ set: function (value) {
104
+ this._approvalStatuses = value;
105
+ },
106
+ enumerable: false,
107
+ configurable: true
108
+ });
109
+ Object.defineProperty(EdgeFilterFeedbackRequest.prototype, "reviewer", {
110
+ get: function () {
111
+ return this._reviewer;
112
+ },
113
+ set: function (value) {
114
+ this._reviewer = value;
115
+ },
116
+ enumerable: false,
117
+ configurable: true
118
+ });
119
+ return EdgeFilterFeedbackRequest;
120
+ }(FilterFeedbackRequest_1.default));
121
+ exports.default = EdgeFilterFeedbackRequest;
122
+ //# sourceMappingURL=EdgeFilterFeedbackRequest.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"EdgeFilterFeedbackRequest.js","sourceRoot":"","sources":["../../../../../src/translation/feedback/edge/request/EdgeFilterFeedbackRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA,qGAA+E;AAG/E;IAAuD,6CAAqB;IAA5E;QAAA,qEAkFC;QA1EW,uBAAiB,GAAqB,EAAE,CAAC;;IA0ErD,CAAC;IAvEG,sBAAI,qDAAc;aAAlB;YACI,OAAO,IAAI,CAAC,eAAe,CAAC;QAChC,CAAC;aAED,UAAmB,KAAyB;YACxC,IAAI,CAAC,eAAe,GAAG,KAAK,CAAC;QACjC,CAAC;;;OAJA;IAMD,sBAAI,uDAAgB;aAApB;YACI,OAAO,IAAI,CAAC,iBAAiB,CAAC;QAClC,CAAC;aAED,UAAqB,KAAyB;YAC1C,IAAI,CAAC,iBAAiB,GAAG,KAAK,CAAC;QACnC,CAAC;;;OAJA;IAMD,sBAAI,uDAAgB;aAApB;YACI,OAAO,IAAI,CAAC,iBAAiB,CAAC;QAClC,CAAC;aAED,UAAqB,KAAyB;YAC1C,IAAI,CAAC,iBAAiB,GAAG,KAAK,CAAC;QACnC,CAAC;;;OAJA;IAMD,sBAAI,iDAAU;aAAd;YACI,OAAO,IAAI,CAAC,WAAW,CAAC;QAC5B,CAAC;aAED,UAAe,KAAyB;YACpC,IAAI,CAAC,WAAW,GAAG,KAAK,CAAC;QAC7B,CAAC;;;OAJA;IAMD,sBAAI,yDAAkB;aAAtB;YACI,OAAO,IAAI,CAAC,mBAAmB,CAAC;QACpC,CAAC;aAED,UAAuB,KAAyB;YAC5C,IAAI,CAAC,mBAAmB,GAAG,KAAK,CAAC;QACrC,CAAC;;;OAJA;IAMD,sBAAI,2DAAoB;aAAxB;YACI,OAAO,IAAI,CAAC,qBAAqB,CAAC;QACtC,CAAC;aAED,UAAyB,KAAyB;YAC9C,IAAI,CAAC,qBAAqB,GAAG,KAAK,CAAC;QACvC,CAAC;;;OAJA;IAMD,sBAAI,8CAAO;aAAX;YACI,OAAO,IAAI,CAAC,QAAQ,CAAC;QACzB,CAAC;aAED,UAAY,KAAyB;YACjC,IAAI,CAAC,QAAQ,GAAG,KAAK,CAAC;QAC1B,CAAC;;;OAJA;IAMD,sBAAI,uDAAgB;aAApB;YACI,OAAO,IAAI,CAAC,iBAAiB,CAAC;QAClC,CAAC;aAED,UAAqB,KAAuB;YACxC,IAAI,CAAC,iBAAiB,GAAG,KAAK,CAAC;QACnC,CAAC;;;OAJA;IAMD,sBAAI,+CAAQ;aAAZ;YACI,OAAO,IAAI,CAAC,SAAS,CAAC;QAC1B,CAAC;aAED,UAAa,KAAyB;YAClC,IAAI,CAAC,SAAS,GAAG,KAAK,CAAC;QAC3B,CAAC;;;OAJA;IAKL,gCAAC;AAAD,CAAC,AAlFD,CAAuD,+BAAqB,GAkF3E"}
@@ -0,0 +1,10 @@
1
+ import PaginatedListResult from '../../../common/result/PaginatedListResult';
2
+ import EdgeFeedbackResult from './EdgeFeedbackResult';
3
+ export default class EdgeFeedbackListResult extends PaginatedListResult {
4
+ private _feedbackList;
5
+ private _totalPages;
6
+ get feedbackList(): EdgeFeedbackResult[];
7
+ set feedbackList(value: EdgeFeedbackResult[]);
8
+ get totalPages(): number | undefined;
9
+ set totalPages(value: number | undefined);
10
+ }