@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,111 @@
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 CloudFilterFeedbackRequest_1 = __importDefault(require("../request/CloudFilterFeedbackRequest"));
7
+ var FilterFeedbackRequest_1 = __importDefault(require("../../common/request/FilterFeedbackRequest"));
8
+ var moment_1 = __importDefault(require("moment"));
9
+ var TranslationConstants_1 = require("../../../../common/constants/TranslationConstants");
10
+ var ApprovalStatus_1 = require("../../../../common/constants/ApprovalStatus");
11
+ var CloudFilterFeedbackApiRequest = /** @class */ (function () {
12
+ function CloudFilterFeedbackApiRequest(filterRequest) {
13
+ if (filterRequest instanceof CloudFilterFeedbackRequest_1.default) {
14
+ this.fromCloudFilterFeedbackRequest(filterRequest);
15
+ }
16
+ else if (filterRequest instanceof FilterFeedbackRequest_1.default) {
17
+ this.fromFilterFeedbackRequest(filterRequest);
18
+ }
19
+ }
20
+ Object.defineProperty(CloudFilterFeedbackApiRequest.prototype, "startDate", {
21
+ get: function () {
22
+ return this._startDate;
23
+ },
24
+ set: function (value) {
25
+ this._startDate = value;
26
+ },
27
+ enumerable: false,
28
+ configurable: true
29
+ });
30
+ Object.defineProperty(CloudFilterFeedbackApiRequest.prototype, "endDate", {
31
+ get: function () {
32
+ return this._endDate;
33
+ },
34
+ set: function (value) {
35
+ this._endDate = value;
36
+ },
37
+ enumerable: false,
38
+ configurable: true
39
+ });
40
+ Object.defineProperty(CloudFilterFeedbackApiRequest.prototype, "category", {
41
+ get: function () {
42
+ return this._category;
43
+ },
44
+ set: function (value) {
45
+ this._category = value;
46
+ },
47
+ enumerable: false,
48
+ configurable: true
49
+ });
50
+ Object.defineProperty(CloudFilterFeedbackApiRequest.prototype, "userId", {
51
+ get: function () {
52
+ return this._userId;
53
+ },
54
+ set: function (value) {
55
+ this._userId = value;
56
+ },
57
+ enumerable: false,
58
+ configurable: true
59
+ });
60
+ Object.defineProperty(CloudFilterFeedbackApiRequest.prototype, "feedbackId", {
61
+ get: function () {
62
+ return this._feedbackId;
63
+ },
64
+ set: function (value) {
65
+ this._feedbackId = value;
66
+ },
67
+ enumerable: false,
68
+ configurable: true
69
+ });
70
+ Object.defineProperty(CloudFilterFeedbackApiRequest.prototype, "approvalStatus", {
71
+ get: function () {
72
+ return this._approvalStatus;
73
+ },
74
+ set: function (value) {
75
+ this._approvalStatus = value;
76
+ },
77
+ enumerable: false,
78
+ configurable: true
79
+ });
80
+ CloudFilterFeedbackApiRequest.prototype.fromCloudFilterFeedbackRequest = function (filterRequest) {
81
+ if (filterRequest.startDate) {
82
+ this.startDate = (0, moment_1.default)(filterRequest.startDate).format(TranslationConstants_1.CLOUD_DATE_FORMAT);
83
+ }
84
+ if (filterRequest.endDate) {
85
+ this.endDate = (0, moment_1.default)(filterRequest.endDate).format(TranslationConstants_1.CLOUD_DATE_FORMAT);
86
+ }
87
+ if (filterRequest.feedbackCategory) {
88
+ this.category = filterRequest.feedbackCategory.toLowerCase();
89
+ }
90
+ if (filterRequest.approvalStatus) {
91
+ this.approvalStatus = (0, ApprovalStatus_1.getApprovalStatusKeyByValue)(filterRequest.approvalStatus);
92
+ }
93
+ this.userId = filterRequest.user;
94
+ this.feedbackId = filterRequest.feedbackId;
95
+ };
96
+ CloudFilterFeedbackApiRequest.prototype.fromFilterFeedbackRequest = function (filterRequest) {
97
+ if (filterRequest.startDate) {
98
+ this.startDate = (0, moment_1.default)(filterRequest.startDate).format(TranslationConstants_1.CLOUD_DATE_FORMAT);
99
+ }
100
+ if (filterRequest.endDate) {
101
+ this.endDate = (0, moment_1.default)(filterRequest.endDate).format(TranslationConstants_1.CLOUD_DATE_FORMAT);
102
+ }
103
+ if (filterRequest.approvalStatus) {
104
+ this.approvalStatus = (0, ApprovalStatus_1.getApprovalStatusKeyByValue)(filterRequest.approvalStatus);
105
+ }
106
+ this.userId = filterRequest.user;
107
+ };
108
+ return CloudFilterFeedbackApiRequest;
109
+ }());
110
+ exports.default = CloudFilterFeedbackApiRequest;
111
+ //# sourceMappingURL=CloudFilterFeedbackApiRequest.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CloudFilterFeedbackApiRequest.js","sourceRoot":"","sources":["../../../../../src/translation/feedback/cloud/api/CloudFilterFeedbackApiRequest.ts"],"names":[],"mappings":";;;;;AAAA,qGAA+E;AAC/E,qGAA+E;AAC/E,kDAA4B;AAC5B,0FAAsF;AACtF,8EAA0F;AAE1F;IAQI,uCAAY,aAA6E;QACrF,IAAI,aAAa,YAAY,oCAA0B,EAAE;YACrD,IAAI,CAAC,8BAA8B,CAAC,aAAa,CAAC,CAAC;SACtD;aAAM,IAAI,aAAa,YAAY,+BAAqB,EAAE;YACvD,IAAI,CAAC,yBAAyB,CAAC,aAAa,CAAC,CAAC;SACjD;IACL,CAAC;IAED,sBAAI,oDAAS;aAAb;YACI,OAAO,IAAI,CAAC,UAAU,CAAC;QAC3B,CAAC;aAED,UAAc,KAAyB;YACnC,IAAI,CAAC,UAAU,GAAG,KAAK,CAAC;QAC5B,CAAC;;;OAJA;IAMD,sBAAI,kDAAO;aAAX;YACI,OAAO,IAAI,CAAC,QAAQ,CAAC;QACzB,CAAC;aAED,UAAY,KAAyB;YACjC,IAAI,CAAC,QAAQ,GAAG,KAAK,CAAC;QAC1B,CAAC;;;OAJA;IAMD,sBAAI,mDAAQ;aAAZ;YACI,OAAO,IAAI,CAAC,SAAS,CAAC;QAC1B,CAAC;aAED,UAAa,KAAyB;YAClC,IAAI,CAAC,SAAS,GAAG,KAAK,CAAC;QAC3B,CAAC;;;OAJA;IAMD,sBAAI,iDAAM;aAAV;YACI,OAAO,IAAI,CAAC,OAAO,CAAC;QACxB,CAAC;aAED,UAAW,KAAyB;YAChC,IAAI,CAAC,OAAO,GAAG,KAAK,CAAC;QACzB,CAAC;;;OAJA;IAMD,sBAAI,qDAAU;aAAd;YACI,OAAO,IAAI,CAAC,WAAW,CAAC;QAC5B,CAAC;aAED,UAAe,KAAyB;YACpC,IAAI,CAAC,WAAW,GAAG,KAAK,CAAC;QAC7B,CAAC;;;OAJA;IAMD,sBAAI,yDAAc;aAAlB;YACI,OAAO,IAAI,CAAC,eAAe,CAAC;QAChC,CAAC;aAED,UAAmB,KAAyB;YACxC,IAAI,CAAC,eAAe,GAAG,KAAK,CAAC;QACjC,CAAC;;;OAJA;IAMO,sEAA8B,GAAtC,UAAuC,aAAyC;QAC5E,IAAI,aAAa,CAAC,SAAS,EAAE;YACzB,IAAI,CAAC,SAAS,GAAG,IAAA,gBAAM,EAAC,aAAa,CAAC,SAAS,CAAC,CAAC,MAAM,CAAC,wCAAiB,CAAC,CAAC;SAC9E;QAED,IAAI,aAAa,CAAC,OAAO,EAAE;YACvB,IAAI,CAAC,OAAO,GAAG,IAAA,gBAAM,EAAC,aAAa,CAAC,OAAO,CAAC,CAAC,MAAM,CAAC,wCAAiB,CAAC,CAAC;SAC1E;QAED,IAAI,aAAa,CAAC,gBAAgB,EAAE;YAChC,IAAI,CAAC,QAAQ,GAAG,aAAa,CAAC,gBAAgB,CAAC,WAAW,EAAE,CAAC;SAChE;QAED,IAAI,aAAa,CAAC,cAAc,EAAE;YAC9B,IAAI,CAAC,cAAc,GAAG,IAAA,4CAA2B,EAAC,aAAa,CAAC,cAAc,CAAC,CAAC;SACnF;QAED,IAAI,CAAC,MAAM,GAAG,aAAa,CAAC,IAAI,CAAC;QACjC,IAAI,CAAC,UAAU,GAAG,aAAa,CAAC,UAAU,CAAC;IAC/C,CAAC;IAEO,iEAAyB,GAAjC,UAAkC,aAAoC;QAClE,IAAI,aAAa,CAAC,SAAS,EAAE;YACzB,IAAI,CAAC,SAAS,GAAG,IAAA,gBAAM,EAAC,aAAa,CAAC,SAAS,CAAC,CAAC,MAAM,CAAC,wCAAiB,CAAC,CAAC;SAC9E;QAED,IAAI,aAAa,CAAC,OAAO,EAAE;YACvB,IAAI,CAAC,OAAO,GAAG,IAAA,gBAAM,EAAC,aAAa,CAAC,OAAO,CAAC,CAAC,MAAM,CAAC,wCAAiB,CAAC,CAAC;SAC1E;QAED,IAAI,aAAa,CAAC,cAAc,EAAE;YAC9B,IAAI,CAAC,cAAc,GAAG,IAAA,4CAA2B,EAAC,aAAa,CAAC,cAAc,CAAC,CAAC;SACnF;QAED,IAAI,CAAC,MAAM,GAAG,aAAa,CAAC,IAAI,CAAC;IACrC,CAAC;IACL,oCAAC;AAAD,CAAC,AApGD,IAoGC"}
@@ -0,0 +1,26 @@
1
+ export default class CloudTranslationFeedback {
2
+ private _sourceLanguageId;
3
+ private _targetLanguageId;
4
+ private _model;
5
+ private _sourceText;
6
+ private _targetMTText;
7
+ private _selectedText;
8
+ private _metadata;
9
+ private _numberOfSegments;
10
+ get sourceLanguageId(): string | undefined;
11
+ set sourceLanguageId(value: string | undefined);
12
+ get targetLanguageId(): string | undefined;
13
+ set targetLanguageId(value: string | undefined);
14
+ get model(): string | undefined;
15
+ set model(value: string | undefined);
16
+ get sourceText(): string | undefined;
17
+ set sourceText(value: string | undefined);
18
+ get targetMTText(): string | undefined;
19
+ set targetMTText(value: string | undefined);
20
+ get selectedText(): string | undefined;
21
+ set selectedText(value: string | undefined);
22
+ get metadata(): string | undefined;
23
+ set metadata(value: string | undefined);
24
+ get numberOfSegments(): number | undefined;
25
+ set numberOfSegments(value: number | undefined);
26
+ }
@@ -0,0 +1,89 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ var CloudTranslationFeedback = /** @class */ (function () {
4
+ function CloudTranslationFeedback() {
5
+ }
6
+ Object.defineProperty(CloudTranslationFeedback.prototype, "sourceLanguageId", {
7
+ get: function () {
8
+ return this._sourceLanguageId;
9
+ },
10
+ set: function (value) {
11
+ this._sourceLanguageId = value;
12
+ },
13
+ enumerable: false,
14
+ configurable: true
15
+ });
16
+ Object.defineProperty(CloudTranslationFeedback.prototype, "targetLanguageId", {
17
+ get: function () {
18
+ return this._targetLanguageId;
19
+ },
20
+ set: function (value) {
21
+ this._targetLanguageId = value;
22
+ },
23
+ enumerable: false,
24
+ configurable: true
25
+ });
26
+ Object.defineProperty(CloudTranslationFeedback.prototype, "model", {
27
+ get: function () {
28
+ return this._model;
29
+ },
30
+ set: function (value) {
31
+ this._model = value;
32
+ },
33
+ enumerable: false,
34
+ configurable: true
35
+ });
36
+ Object.defineProperty(CloudTranslationFeedback.prototype, "sourceText", {
37
+ get: function () {
38
+ return this._sourceText;
39
+ },
40
+ set: function (value) {
41
+ this._sourceText = value;
42
+ },
43
+ enumerable: false,
44
+ configurable: true
45
+ });
46
+ Object.defineProperty(CloudTranslationFeedback.prototype, "targetMTText", {
47
+ get: function () {
48
+ return this._targetMTText;
49
+ },
50
+ set: function (value) {
51
+ this._targetMTText = value;
52
+ },
53
+ enumerable: false,
54
+ configurable: true
55
+ });
56
+ Object.defineProperty(CloudTranslationFeedback.prototype, "selectedText", {
57
+ get: function () {
58
+ return this._selectedText;
59
+ },
60
+ set: function (value) {
61
+ this._selectedText = value;
62
+ },
63
+ enumerable: false,
64
+ configurable: true
65
+ });
66
+ Object.defineProperty(CloudTranslationFeedback.prototype, "metadata", {
67
+ get: function () {
68
+ return this._metadata;
69
+ },
70
+ set: function (value) {
71
+ this._metadata = value;
72
+ },
73
+ enumerable: false,
74
+ configurable: true
75
+ });
76
+ Object.defineProperty(CloudTranslationFeedback.prototype, "numberOfSegments", {
77
+ get: function () {
78
+ return this._numberOfSegments;
79
+ },
80
+ set: function (value) {
81
+ this._numberOfSegments = value;
82
+ },
83
+ enumerable: false,
84
+ configurable: true
85
+ });
86
+ return CloudTranslationFeedback;
87
+ }());
88
+ exports.default = CloudTranslationFeedback;
89
+ //# sourceMappingURL=CloudTranslationFeedback.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CloudTranslationFeedback.js","sourceRoot":"","sources":["../../../../../src/translation/feedback/cloud/api/CloudTranslationFeedback.ts"],"names":[],"mappings":";;AAAA;IAAA;IAyEA,CAAC;IA/DG,sBAAI,sDAAgB;aAApB;YACI,OAAO,IAAI,CAAC,iBAAiB,CAAC;QAClC,CAAC;aAED,UAAqB,KAAyB;YAC1C,IAAI,CAAC,iBAAiB,GAAG,KAAK,CAAC;QACnC,CAAC;;;OAJA;IAMD,sBAAI,sDAAgB;aAApB;YACI,OAAO,IAAI,CAAC,iBAAiB,CAAC;QAClC,CAAC;aAED,UAAqB,KAAyB;YAC1C,IAAI,CAAC,iBAAiB,GAAG,KAAK,CAAC;QACnC,CAAC;;;OAJA;IAMD,sBAAI,2CAAK;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,gDAAU;aAAd;YACI,OAAO,IAAI,CAAC,WAAW,CAAC;QAC5B,CAAC;aAED,UAAe,KAAyB;YACpC,IAAI,CAAC,WAAW,GAAG,KAAK,CAAC;QAC7B,CAAC;;;OAJA;IAMD,sBAAI,kDAAY;aAAhB;YACI,OAAO,IAAI,CAAC,aAAa,CAAC;QAC9B,CAAC;aAED,UAAiB,KAAyB;YACtC,IAAI,CAAC,aAAa,GAAG,KAAK,CAAC;QAC/B,CAAC;;;OAJA;IAMD,sBAAI,kDAAY;aAAhB;YACI,OAAO,IAAI,CAAC,aAAa,CAAC;QAC9B,CAAC;aAED,UAAiB,KAAyB;YACtC,IAAI,CAAC,aAAa,GAAG,KAAK,CAAC;QAC/B,CAAC;;;OAJA;IAMD,sBAAI,8CAAQ;aAAZ;YACI,OAAO,IAAI,CAAC,SAAS,CAAC;QAC1B,CAAC;aAED,UAAa,KAAyB;YAClC,IAAI,CAAC,SAAS,GAAG,KAAK,CAAC;QAC3B,CAAC;;;OAJA;IAMD,sBAAI,sDAAgB;aAApB;YACI,OAAO,IAAI,CAAC,iBAAiB,CAAC;QAClC,CAAC;aAED,UAAqB,KAAyB;YAC1C,IAAI,CAAC,iBAAiB,GAAG,KAAK,CAAC;QACnC,CAAC;;;OAJA;IAKL,+BAAC;AAAD,CAAC,AAzED,IAyEC"}
@@ -0,0 +1,21 @@
1
+ import AuditData from '../../common/model/AuditData';
2
+ export default class CloudAuditData extends AuditData {
3
+ private _createdByAccountId;
4
+ private _createdByClientId;
5
+ private _createdByUserId;
6
+ private _lastModifiedByAccountId;
7
+ private _lastModifiedByClientId;
8
+ private _lastModifiedByUserId;
9
+ get createdByAccountId(): string | undefined;
10
+ set createdByAccountId(value: string | undefined);
11
+ get createdByClientId(): string | undefined;
12
+ set createdByClientId(value: string | undefined);
13
+ get createdByUserId(): string | undefined;
14
+ set createdByUserId(value: string | undefined);
15
+ get lastModifiedByAccountId(): string | undefined;
16
+ set lastModifiedByAccountId(value: string | undefined);
17
+ get lastModifiedByClientId(): string | undefined;
18
+ set lastModifiedByClientId(value: string | undefined);
19
+ get lastModifiedByUserId(): string | undefined;
20
+ set lastModifiedByUserId(value: string | undefined);
21
+ }
@@ -0,0 +1,90 @@
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 AuditData_1 = __importDefault(require("../../common/model/AuditData"));
22
+ var CloudAuditData = /** @class */ (function (_super) {
23
+ __extends(CloudAuditData, _super);
24
+ function CloudAuditData() {
25
+ return _super !== null && _super.apply(this, arguments) || this;
26
+ }
27
+ Object.defineProperty(CloudAuditData.prototype, "createdByAccountId", {
28
+ get: function () {
29
+ return this._createdByAccountId;
30
+ },
31
+ set: function (value) {
32
+ this._createdByAccountId = value;
33
+ },
34
+ enumerable: false,
35
+ configurable: true
36
+ });
37
+ Object.defineProperty(CloudAuditData.prototype, "createdByClientId", {
38
+ get: function () {
39
+ return this._createdByClientId;
40
+ },
41
+ set: function (value) {
42
+ this._createdByClientId = value;
43
+ },
44
+ enumerable: false,
45
+ configurable: true
46
+ });
47
+ Object.defineProperty(CloudAuditData.prototype, "createdByUserId", {
48
+ get: function () {
49
+ return this._createdByUserId;
50
+ },
51
+ set: function (value) {
52
+ this._createdByUserId = value;
53
+ },
54
+ enumerable: false,
55
+ configurable: true
56
+ });
57
+ Object.defineProperty(CloudAuditData.prototype, "lastModifiedByAccountId", {
58
+ get: function () {
59
+ return this._lastModifiedByAccountId;
60
+ },
61
+ set: function (value) {
62
+ this._lastModifiedByAccountId = value;
63
+ },
64
+ enumerable: false,
65
+ configurable: true
66
+ });
67
+ Object.defineProperty(CloudAuditData.prototype, "lastModifiedByClientId", {
68
+ get: function () {
69
+ return this._lastModifiedByClientId;
70
+ },
71
+ set: function (value) {
72
+ this._lastModifiedByClientId = value;
73
+ },
74
+ enumerable: false,
75
+ configurable: true
76
+ });
77
+ Object.defineProperty(CloudAuditData.prototype, "lastModifiedByUserId", {
78
+ get: function () {
79
+ return this._lastModifiedByUserId;
80
+ },
81
+ set: function (value) {
82
+ this._lastModifiedByUserId = value;
83
+ },
84
+ enumerable: false,
85
+ configurable: true
86
+ });
87
+ return CloudAuditData;
88
+ }(AuditData_1.default));
89
+ exports.default = CloudAuditData;
90
+ //# sourceMappingURL=CloudAuditData.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CloudAuditData.js","sourceRoot":"","sources":["../../../../../src/translation/feedback/cloud/model/CloudAuditData.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA,2EAAqD;AAErD;IAA4C,kCAAS;IAArD;;IAuDA,CAAC;IA/CG,sBAAI,8CAAkB;aAAtB;YACI,OAAO,IAAI,CAAC,mBAAmB,CAAC;QACpC,CAAC;aAED,UAAuB,KAAyB;YAC5C,IAAI,CAAC,mBAAmB,GAAG,KAAK,CAAC;QACrC,CAAC;;;OAJA;IAMD,sBAAI,6CAAiB;aAArB;YACI,OAAO,IAAI,CAAC,kBAAkB,CAAC;QACnC,CAAC;aAED,UAAsB,KAAyB;YAC3C,IAAI,CAAC,kBAAkB,GAAG,KAAK,CAAC;QACpC,CAAC;;;OAJA;IAMD,sBAAI,2CAAe;aAAnB;YACI,OAAO,IAAI,CAAC,gBAAgB,CAAC;QACjC,CAAC;aAED,UAAoB,KAAyB;YACzC,IAAI,CAAC,gBAAgB,GAAG,KAAK,CAAC;QAClC,CAAC;;;OAJA;IAMD,sBAAI,mDAAuB;aAA3B;YACI,OAAO,IAAI,CAAC,wBAAwB,CAAC;QACzC,CAAC;aAED,UAA4B,KAAyB;YACjD,IAAI,CAAC,wBAAwB,GAAG,KAAK,CAAC;QAC1C,CAAC;;;OAJA;IAMD,sBAAI,kDAAsB;aAA1B;YACI,OAAO,IAAI,CAAC,uBAAuB,CAAC;QACxC,CAAC;aAED,UAA2B,KAAyB;YAChD,IAAI,CAAC,uBAAuB,GAAG,KAAK,CAAC;QACzC,CAAC;;;OAJA;IAMD,sBAAI,gDAAoB;aAAxB;YACI,OAAO,IAAI,CAAC,qBAAqB,CAAC;QACtC,CAAC;aAED,UAAyB,KAAyB;YAC9C,IAAI,CAAC,qBAAqB,GAAG,KAAK,CAAC;QACvC,CAAC;;;OAJA;IAKL,qBAAC;AAAD,CAAC,AAvDD,CAA4C,mBAAS,GAuDpD"}
@@ -0,0 +1,4 @@
1
+ export declare enum CloudFeedbackSortCriteria {
2
+ DATE = "date",
3
+ LANGUAGE_PAIR = "lp"
4
+ }
@@ -0,0 +1,9 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.CloudFeedbackSortCriteria = void 0;
4
+ var CloudFeedbackSortCriteria;
5
+ (function (CloudFeedbackSortCriteria) {
6
+ CloudFeedbackSortCriteria["DATE"] = "date";
7
+ CloudFeedbackSortCriteria["LANGUAGE_PAIR"] = "lp";
8
+ })(CloudFeedbackSortCriteria = exports.CloudFeedbackSortCriteria || (exports.CloudFeedbackSortCriteria = {}));
9
+ //# sourceMappingURL=CloudFeedbackSortCriteria.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CloudFeedbackSortCriteria.js","sourceRoot":"","sources":["../../../../../src/translation/feedback/cloud/model/CloudFeedbackSortCriteria.ts"],"names":[],"mappings":";;;AAAA,IAAY,yBAGX;AAHD,WAAY,yBAAyB;IACjC,0CAAa,CAAA;IACb,iDAAoB,CAAA;AACxB,CAAC,EAHW,yBAAyB,GAAzB,iCAAyB,KAAzB,iCAAyB,QAGpC"}
@@ -0,0 +1,10 @@
1
+ import { Order } from '../../../../common/constants/Order';
2
+ import { CloudFeedbackSortCriteria } from '../model/CloudFeedbackSortCriteria';
3
+ export default class CloudFeedbackSortRequest {
4
+ private _criteria;
5
+ private _order;
6
+ get criteria(): CloudFeedbackSortCriteria | undefined;
7
+ set criteria(value: CloudFeedbackSortCriteria | undefined);
8
+ get order(): Order | undefined;
9
+ set order(value: Order | undefined);
10
+ }
@@ -0,0 +1,29 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ var CloudFeedbackSortRequest = /** @class */ (function () {
4
+ function CloudFeedbackSortRequest() {
5
+ }
6
+ Object.defineProperty(CloudFeedbackSortRequest.prototype, "criteria", {
7
+ get: function () {
8
+ return this._criteria;
9
+ },
10
+ set: function (value) {
11
+ this._criteria = value;
12
+ },
13
+ enumerable: false,
14
+ configurable: true
15
+ });
16
+ Object.defineProperty(CloudFeedbackSortRequest.prototype, "order", {
17
+ get: function () {
18
+ return this._order;
19
+ },
20
+ set: function (value) {
21
+ this._order = value;
22
+ },
23
+ enumerable: false,
24
+ configurable: true
25
+ });
26
+ return CloudFeedbackSortRequest;
27
+ }());
28
+ exports.default = CloudFeedbackSortRequest;
29
+ //# sourceMappingURL=CloudFeedbackSortRequest.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CloudFeedbackSortRequest.js","sourceRoot":"","sources":["../../../../../src/translation/feedback/cloud/request/CloudFeedbackSortRequest.ts"],"names":[],"mappings":";;AAGA;IAAA;IAmBA,CAAC;IAfG,sBAAI,8CAAQ;aAAZ;YACI,OAAO,IAAI,CAAC,SAAS,CAAC;QAC1B,CAAC;aAED,UAAa,KAA4C;YACrD,IAAI,CAAC,SAAS,GAAG,KAAK,CAAC;QAC3B,CAAC;;;OAJA;IAMD,sBAAI,2CAAK;aAAT;YACI,OAAO,IAAI,CAAC,MAAM,CAAC;QACvB,CAAC;aAED,UAAU,KAAwB;YAC9B,IAAI,CAAC,MAAM,GAAG,KAAK,CAAC;QACxB,CAAC;;;OAJA;IAKL,+BAAC;AAAD,CAAC,AAnBD,IAmBC"}
@@ -0,0 +1,14 @@
1
+ import { FeedbackCategory } from '../../../../common/constants/FeedbackCategory';
2
+ import FilterFeedbackRequest from '../../common/request/FilterFeedbackRequest';
3
+ import CloudFeedbackSortRequest from './CloudFeedbackSortRequest';
4
+ export default class CloudFilterFeedbackRequest extends FilterFeedbackRequest {
5
+ private _feedbackId;
6
+ private _feedbackCategory;
7
+ private _sortRequest;
8
+ get feedbackId(): string | undefined;
9
+ set feedbackId(value: string | undefined);
10
+ get feedbackCategory(): FeedbackCategory | undefined;
11
+ set feedbackCategory(value: FeedbackCategory | undefined);
12
+ get sortRequest(): CloudFeedbackSortRequest | undefined;
13
+ set sortRequest(value: CloudFeedbackSortRequest | undefined);
14
+ }
@@ -0,0 +1,60 @@
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 CloudFilterFeedbackRequest = /** @class */ (function (_super) {
23
+ __extends(CloudFilterFeedbackRequest, _super);
24
+ function CloudFilterFeedbackRequest() {
25
+ return _super !== null && _super.apply(this, arguments) || this;
26
+ }
27
+ Object.defineProperty(CloudFilterFeedbackRequest.prototype, "feedbackId", {
28
+ get: function () {
29
+ return this._feedbackId;
30
+ },
31
+ set: function (value) {
32
+ this._feedbackId = value;
33
+ },
34
+ enumerable: false,
35
+ configurable: true
36
+ });
37
+ Object.defineProperty(CloudFilterFeedbackRequest.prototype, "feedbackCategory", {
38
+ get: function () {
39
+ return this._feedbackCategory;
40
+ },
41
+ set: function (value) {
42
+ this._feedbackCategory = value;
43
+ },
44
+ enumerable: false,
45
+ configurable: true
46
+ });
47
+ Object.defineProperty(CloudFilterFeedbackRequest.prototype, "sortRequest", {
48
+ get: function () {
49
+ return this._sortRequest;
50
+ },
51
+ set: function (value) {
52
+ this._sortRequest = value;
53
+ },
54
+ enumerable: false,
55
+ configurable: true
56
+ });
57
+ return CloudFilterFeedbackRequest;
58
+ }(FilterFeedbackRequest_1.default));
59
+ exports.default = CloudFilterFeedbackRequest;
60
+ //# sourceMappingURL=CloudFilterFeedbackRequest.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CloudFilterFeedbackRequest.js","sourceRoot":"","sources":["../../../../../src/translation/feedback/cloud/request/CloudFilterFeedbackRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;AACA,qGAA+E;AAG/E;IAAwD,8CAAqB;IAA7E;;IA4BA,CAAC;IAvBG,sBAAI,kDAAU;aAAd;YACI,OAAO,IAAI,CAAC,WAAW,CAAC;QAC5B,CAAC;aAED,UAAe,KAAyB;YACpC,IAAI,CAAC,WAAW,GAAG,KAAK,CAAC;QAC7B,CAAC;;;OAJA;IAMD,sBAAI,wDAAgB;aAApB;YACI,OAAO,IAAI,CAAC,iBAAiB,CAAC;QAClC,CAAC;aAED,UAAqB,KAAmC;YACpD,IAAI,CAAC,iBAAiB,GAAG,KAAK,CAAC;QACnC,CAAC;;;OAJA;IAMD,sBAAI,mDAAW;aAAf;YACI,OAAO,IAAI,CAAC,YAAY,CAAC;QAC7B,CAAC;aAED,UAAgB,KAA2C;YACvD,IAAI,CAAC,YAAY,GAAG,KAAK,CAAC;QAC9B,CAAC;;;OAJA;IAKL,iCAAC;AAAD,CAAC,AA5BD,CAAwD,+BAAqB,GA4B5E"}
@@ -0,0 +1,7 @@
1
+ import PaginatedListResult from '../../../common/result/PaginatedListResult';
2
+ import CloudFeedbackResult from './CloudFeedbackResult';
3
+ export default class CloudFeedbackListResult extends PaginatedListResult {
4
+ private _feedbackList;
5
+ get feedbackList(): CloudFeedbackResult[];
6
+ set feedbackList(value: CloudFeedbackResult[]);
7
+ }
@@ -0,0 +1,42 @@
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 PaginatedListResult_1 = __importDefault(require("../../../common/result/PaginatedListResult"));
22
+ var CloudFeedbackListResult = /** @class */ (function (_super) {
23
+ __extends(CloudFeedbackListResult, _super);
24
+ function CloudFeedbackListResult() {
25
+ var _this = _super !== null && _super.apply(this, arguments) || this;
26
+ _this._feedbackList = [];
27
+ return _this;
28
+ }
29
+ Object.defineProperty(CloudFeedbackListResult.prototype, "feedbackList", {
30
+ get: function () {
31
+ return this._feedbackList;
32
+ },
33
+ set: function (value) {
34
+ this._feedbackList = value;
35
+ },
36
+ enumerable: false,
37
+ configurable: true
38
+ });
39
+ return CloudFeedbackListResult;
40
+ }(PaginatedListResult_1.default));
41
+ exports.default = CloudFeedbackListResult;
42
+ //# sourceMappingURL=CloudFeedbackListResult.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CloudFeedbackListResult.js","sourceRoot":"","sources":["../../../../../src/translation/feedback/cloud/result/CloudFeedbackListResult.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA,mGAA6E;AAG7E;IAAqD,2CAAmB;IAAxE;QAAA,qEAUC;QATW,mBAAa,GAA0B,EAAE,CAAC;;IAStD,CAAC;IAPG,sBAAI,iDAAY;aAAhB;YACI,OAAO,IAAI,CAAC,aAAa,CAAC;QAC9B,CAAC;aAED,UAAiB,KAA4B;YACzC,IAAI,CAAC,aAAa,GAAG,KAAK,CAAC;QAC/B,CAAC;;;OAJA;IAKL,8BAAC;AAAD,CAAC,AAVD,CAAqD,6BAAmB,GAUvE"}
@@ -0,0 +1,25 @@
1
+ import CloudAuditData from '../model/CloudAuditData';
2
+ import FeedbackCommonResult from '../../common/result/FeedbackCommonResult';
3
+ export default class CloudFeedbackResult extends FeedbackCommonResult {
4
+ private _selectedText;
5
+ private _translationMetadata;
6
+ private _numberOfSegments;
7
+ private _ratingScore;
8
+ private _qualityEstimation;
9
+ private _feedbackAuditData;
10
+ private _approvalAuditData;
11
+ get selectedText(): string | undefined;
12
+ set selectedText(value: string | undefined);
13
+ get translationMetadata(): string | undefined;
14
+ set translationMetadata(value: string | undefined);
15
+ get numberOfSegments(): number | undefined;
16
+ set numberOfSegments(value: number | undefined);
17
+ get ratingScore(): number | undefined;
18
+ set ratingScore(value: number | undefined);
19
+ get qualityEstimation(): string | undefined;
20
+ set qualityEstimation(value: string | undefined);
21
+ get feedbackAuditData(): CloudAuditData | undefined;
22
+ set feedbackAuditData(value: CloudAuditData | undefined);
23
+ get approvalAuditData(): CloudAuditData | undefined;
24
+ set approvalAuditData(value: CloudAuditData | undefined);
25
+ }