@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,286 @@
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 CloudFeedbackResult_1 = __importDefault(require("../result/CloudFeedbackResult"));
7
+ var CloudAuditData_1 = __importDefault(require("../model/CloudAuditData"));
8
+ var FeedbackResult_1 = __importDefault(require("../../common/result/FeedbackResult"));
9
+ var AuditData_1 = __importDefault(require("../../common/model/AuditData"));
10
+ var ApprovalStatus_1 = require("../../../../common/constants/ApprovalStatus");
11
+ var CloudFeedbackApiModel = /** @class */ (function () {
12
+ function CloudFeedbackApiModel(feedback) {
13
+ if (feedback) {
14
+ this.feedbackId = feedback.feedbackId;
15
+ this.translation = feedback.translation;
16
+ this.improvement = feedback.improvement;
17
+ this.rating = feedback.rating;
18
+ this.qualityEstimationMT = feedback.qualityEstimationMT;
19
+ this.approval = feedback.approval;
20
+ this.createdByAccountId = feedback.createdByAccountId;
21
+ this.createdByClientId = feedback.createdByClientId;
22
+ this.createdByUserId = feedback.createdByUserId;
23
+ this.createdByUserEmail = feedback.createdByUserEmail;
24
+ this.creationDate = feedback.creationDate;
25
+ this.lastModifiedByAccountId = feedback.lastModifiedByAccountId;
26
+ this.lastModifiedByClientId = feedback.lastModifiedByClientId;
27
+ this.lastModifiedByUserId = feedback.lastModifiedByUserId;
28
+ this.lastModifiedByUserEmail = feedback.lastModifiedByUserEmail;
29
+ this.lastModifyDate = feedback.lastModifyDate;
30
+ }
31
+ }
32
+ CloudFeedbackApiModel.prototype.toCloudResult = function () {
33
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l;
34
+ var result = new CloudFeedbackResult_1.default();
35
+ result.feedbackId = this.feedbackId;
36
+ result.sourceLanguageId = (_a = this.translation) === null || _a === void 0 ? void 0 : _a.sourceLanguageId;
37
+ result.targetLanguageId = (_b = this.translation) === null || _b === void 0 ? void 0 : _b.targetLanguageId;
38
+ result.model = (_c = this.translation) === null || _c === void 0 ? void 0 : _c.model;
39
+ result.sourceText = (_d = this.translation) === null || _d === void 0 ? void 0 : _d.sourceText;
40
+ result.targetText = (_e = this.translation) === null || _e === void 0 ? void 0 : _e.targetMTText;
41
+ result.selectedText = (_f = this.translation) === null || _f === void 0 ? void 0 : _f.selectedText;
42
+ result.translationMetadata = (_g = this.translation) === null || _g === void 0 ? void 0 : _g.metadata;
43
+ result.numberOfSegments = (_h = this.translation) === null || _h === void 0 ? void 0 : _h.numberOfSegments;
44
+ result.suggestedTranslation = (_j = this.improvement) === null || _j === void 0 ? void 0 : _j.text;
45
+ result.ratingScore = (_k = this.rating) === null || _k === void 0 ? void 0 : _k.score;
46
+ result.comments = (_l = this.rating) === null || _l === void 0 ? void 0 : _l.comments;
47
+ result.qualityEstimation = this.qualityEstimationMT;
48
+ if (this.approval && this.approval.status) {
49
+ result.approvalState = (0, ApprovalStatus_1.getApprovalStatusByKey)(this.approval.status);
50
+ }
51
+ result.feedbackAuditData = this.getCloudFeedbackAuditData();
52
+ result.approvalAuditData = this.getCloudApprovalAuditData();
53
+ return result;
54
+ };
55
+ CloudFeedbackApiModel.prototype.toResult = function () {
56
+ var _a, _b, _c, _d, _e, _f, _g;
57
+ var result = new FeedbackResult_1.default();
58
+ result.feedbackId = this.feedbackId;
59
+ result.sourceLanguageId = (_a = this.translation) === null || _a === void 0 ? void 0 : _a.sourceLanguageId;
60
+ result.targetLanguageId = (_b = this.translation) === null || _b === void 0 ? void 0 : _b.targetLanguageId;
61
+ result.model = (_c = this.translation) === null || _c === void 0 ? void 0 : _c.model;
62
+ result.sourceText = (_d = this.translation) === null || _d === void 0 ? void 0 : _d.sourceText;
63
+ result.targetText = (_e = this.translation) === null || _e === void 0 ? void 0 : _e.targetMTText;
64
+ result.suggestedTranslation = (_f = this.improvement) === null || _f === void 0 ? void 0 : _f.text;
65
+ result.comments = (_g = this.rating) === null || _g === void 0 ? void 0 : _g.comments;
66
+ if (this.approval && this.approval.status) {
67
+ result.approvalState = (0, ApprovalStatus_1.getApprovalStatusByKey)(this.approval.status);
68
+ }
69
+ result.feedbackAuditData = this.getFeedbackAuditData();
70
+ result.approvalAuditData = this.getApprovalAuditData();
71
+ return result;
72
+ };
73
+ CloudFeedbackApiModel.prototype.getCloudFeedbackAuditData = function () {
74
+ var feedbackAuditData = new CloudAuditData_1.default();
75
+ feedbackAuditData.createdByAccountId = this.createdByAccountId;
76
+ feedbackAuditData.createdByClientId = this.createdByClientId;
77
+ feedbackAuditData.createdByUserEmail = this.createdByUserEmail;
78
+ feedbackAuditData.createdByUserId = this.createdByUserId;
79
+ feedbackAuditData.creationDate = this.creationDate;
80
+ feedbackAuditData.lastModifiedByAccountId = this.lastModifiedByAccountId;
81
+ feedbackAuditData.lastModifiedByClientId = this.lastModifiedByClientId;
82
+ feedbackAuditData.lastModifiedByUserId = this.lastModifiedByUserId;
83
+ feedbackAuditData.lastModifiedByUserEmail = this.lastModifiedByUserEmail;
84
+ feedbackAuditData.lastModifyDate = this.lastModifyDate;
85
+ return feedbackAuditData;
86
+ };
87
+ CloudFeedbackApiModel.prototype.getFeedbackAuditData = function () {
88
+ var feedbackAuditData = new AuditData_1.default();
89
+ feedbackAuditData.createdByUserEmail = this.createdByUserEmail;
90
+ feedbackAuditData.creationDate = this.creationDate;
91
+ feedbackAuditData.lastModifiedByUserEmail = this.lastModifiedByUserEmail;
92
+ feedbackAuditData.lastModifyDate = this.lastModifyDate;
93
+ return feedbackAuditData;
94
+ };
95
+ CloudFeedbackApiModel.prototype.getCloudApprovalAuditData = function () {
96
+ if (this.approval) {
97
+ var approvalAuditData = new CloudAuditData_1.default();
98
+ approvalAuditData.createdByAccountId = this.approval.createdByAccountId;
99
+ approvalAuditData.createdByClientId = this.approval.createdByClientId;
100
+ approvalAuditData.createdByUserId = this.approval.createdByUserId;
101
+ approvalAuditData.createdByUserEmail = this.approval.createdByUserEmail;
102
+ approvalAuditData.creationDate = this.approval.creationDate;
103
+ approvalAuditData.lastModifiedByAccountId = this.approval.lastModifiedByAccountId;
104
+ approvalAuditData.lastModifiedByClientId = this.approval.lastModifiedByClientId;
105
+ approvalAuditData.lastModifiedByUserId = this.approval.lastModifiedByUserId;
106
+ approvalAuditData.lastModifiedByUserEmail = this.approval.lastModifiedByUserEmail;
107
+ approvalAuditData.lastModifyDate = this.approval.lastModifyDate;
108
+ return approvalAuditData;
109
+ }
110
+ return undefined;
111
+ };
112
+ CloudFeedbackApiModel.prototype.getApprovalAuditData = function () {
113
+ if (this.approval) {
114
+ var approvalAuditData = new AuditData_1.default();
115
+ approvalAuditData.createdByUserEmail = this.approval.createdByUserEmail;
116
+ approvalAuditData.creationDate = this.approval.creationDate;
117
+ approvalAuditData.lastModifiedByUserEmail = this.approval.lastModifiedByUserEmail;
118
+ approvalAuditData.lastModifyDate = this.approval.lastModifyDate;
119
+ return approvalAuditData;
120
+ }
121
+ return undefined;
122
+ };
123
+ Object.defineProperty(CloudFeedbackApiModel.prototype, "feedbackId", {
124
+ get: function () {
125
+ return this._feedbackId;
126
+ },
127
+ set: function (value) {
128
+ this._feedbackId = value;
129
+ },
130
+ enumerable: false,
131
+ configurable: true
132
+ });
133
+ Object.defineProperty(CloudFeedbackApiModel.prototype, "translation", {
134
+ get: function () {
135
+ return this._translation;
136
+ },
137
+ set: function (value) {
138
+ this._translation = value;
139
+ },
140
+ enumerable: false,
141
+ configurable: true
142
+ });
143
+ Object.defineProperty(CloudFeedbackApiModel.prototype, "improvement", {
144
+ get: function () {
145
+ return this._improvement;
146
+ },
147
+ set: function (value) {
148
+ this._improvement = value;
149
+ },
150
+ enumerable: false,
151
+ configurable: true
152
+ });
153
+ Object.defineProperty(CloudFeedbackApiModel.prototype, "rating", {
154
+ get: function () {
155
+ return this._rating;
156
+ },
157
+ set: function (value) {
158
+ this._rating = value;
159
+ },
160
+ enumerable: false,
161
+ configurable: true
162
+ });
163
+ Object.defineProperty(CloudFeedbackApiModel.prototype, "qualityEstimationMT", {
164
+ get: function () {
165
+ return this._qualityEstimationMT;
166
+ },
167
+ set: function (value) {
168
+ this._qualityEstimationMT = value;
169
+ },
170
+ enumerable: false,
171
+ configurable: true
172
+ });
173
+ Object.defineProperty(CloudFeedbackApiModel.prototype, "approval", {
174
+ get: function () {
175
+ return this._approval;
176
+ },
177
+ set: function (value) {
178
+ this._approval = value;
179
+ },
180
+ enumerable: false,
181
+ configurable: true
182
+ });
183
+ Object.defineProperty(CloudFeedbackApiModel.prototype, "createdByAccountId", {
184
+ get: function () {
185
+ return this._createdByAccountId;
186
+ },
187
+ set: function (value) {
188
+ this._createdByAccountId = value;
189
+ },
190
+ enumerable: false,
191
+ configurable: true
192
+ });
193
+ Object.defineProperty(CloudFeedbackApiModel.prototype, "createdByClientId", {
194
+ get: function () {
195
+ return this._createdByClientId;
196
+ },
197
+ set: function (value) {
198
+ this._createdByClientId = value;
199
+ },
200
+ enumerable: false,
201
+ configurable: true
202
+ });
203
+ Object.defineProperty(CloudFeedbackApiModel.prototype, "createdByUserId", {
204
+ get: function () {
205
+ return this._createdByUserId;
206
+ },
207
+ set: function (value) {
208
+ this._createdByUserId = value;
209
+ },
210
+ enumerable: false,
211
+ configurable: true
212
+ });
213
+ Object.defineProperty(CloudFeedbackApiModel.prototype, "createdByUserEmail", {
214
+ get: function () {
215
+ return this._createdByUserEmail;
216
+ },
217
+ set: function (value) {
218
+ this._createdByUserEmail = value;
219
+ },
220
+ enumerable: false,
221
+ configurable: true
222
+ });
223
+ Object.defineProperty(CloudFeedbackApiModel.prototype, "creationDate", {
224
+ get: function () {
225
+ return this._creationDate;
226
+ },
227
+ set: function (value) {
228
+ this._creationDate = value;
229
+ },
230
+ enumerable: false,
231
+ configurable: true
232
+ });
233
+ Object.defineProperty(CloudFeedbackApiModel.prototype, "lastModifiedByAccountId", {
234
+ get: function () {
235
+ return this._lastModifiedByAccountId;
236
+ },
237
+ set: function (value) {
238
+ this._lastModifiedByAccountId = value;
239
+ },
240
+ enumerable: false,
241
+ configurable: true
242
+ });
243
+ Object.defineProperty(CloudFeedbackApiModel.prototype, "lastModifiedByClientId", {
244
+ get: function () {
245
+ return this._lastModifiedByClientId;
246
+ },
247
+ set: function (value) {
248
+ this._lastModifiedByClientId = value;
249
+ },
250
+ enumerable: false,
251
+ configurable: true
252
+ });
253
+ Object.defineProperty(CloudFeedbackApiModel.prototype, "lastModifiedByUserId", {
254
+ get: function () {
255
+ return this._lastModifiedByUserId;
256
+ },
257
+ set: function (value) {
258
+ this._lastModifiedByUserId = value;
259
+ },
260
+ enumerable: false,
261
+ configurable: true
262
+ });
263
+ Object.defineProperty(CloudFeedbackApiModel.prototype, "lastModifiedByUserEmail", {
264
+ get: function () {
265
+ return this._lastModifiedByUserEmail;
266
+ },
267
+ set: function (value) {
268
+ this._lastModifiedByUserEmail = value;
269
+ },
270
+ enumerable: false,
271
+ configurable: true
272
+ });
273
+ Object.defineProperty(CloudFeedbackApiModel.prototype, "lastModifyDate", {
274
+ get: function () {
275
+ return this._lastModifyDate;
276
+ },
277
+ set: function (value) {
278
+ this._lastModifyDate = value;
279
+ },
280
+ enumerable: false,
281
+ configurable: true
282
+ });
283
+ return CloudFeedbackApiModel;
284
+ }());
285
+ exports.default = CloudFeedbackApiModel;
286
+ //# sourceMappingURL=CloudFeedbackApiModel.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CloudFeedbackApiModel.js","sourceRoot":"","sources":["../../../../../src/translation/feedback/cloud/api/CloudFeedbackApiModel.ts"],"names":[],"mappings":";;;;;AAIA,sFAAgE;AAChE,2EAAqD;AACrD,sFAAgE;AAChE,2EAAqD;AACrD,8EAAqF;AAErF;IAmBI,+BAAY,QAAgC;QACxC,IAAI,QAAQ,EAAE;YACV,IAAI,CAAC,UAAU,GAAG,QAAQ,CAAC,UAAU,CAAC;YACtC,IAAI,CAAC,WAAW,GAAG,QAAQ,CAA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C/B,CAAC;;;OAJA;IAMD,sBAAI,0DAAuB;aAA3B;YACI,OAAO,IAAI,CAAC,wBAAwB,CAAC;QACzC,CAAC;aAED,UAA4B,KAAyB;YACjD,IAAI,CAAC,wBAAwB,GAAG,KAAK,CAAC;QAC1C,CAAC;;;OAJA;IAMD,sBAAI,yDAAsB;aAA1B;YACI,OAAO,IAAI,CAAC,uBAAuB,CAAC;QACxC,CAAC;aAED,UAA2B,KAAyB;YAChD,IAAI,CAAC,uBAAuB,GAAG,KAAK,CAAC;QACzC,CAAC;;;OAJA;IAMD,sBAAI,uDAAoB;aAAxB;YACI,OAAO,IAAI,CAAC,qBAAqB,CAAC;QACtC,CAAC;aAED,UAAyB,KAAyB;YAC9C,IAAI,CAAC,qBAAqB,GAAG,KAAK,CAAC;QACvC,CAAC;;;OAJA;IAMD,sBAAI,0DAAuB;aAA3B;YACI,OAAO,IAAI,CAAC,wBAAwB,CAAC;QACzC,CAAC;aAED,UAA4B,KAAyB;YACjD,IAAI,CAAC,wBAAwB,GAAG,KAAK,CAAC;QAC1C,CAAC;;;OAJA;IAMD,sBAAI,iDAAc;aAAlB;YACI,OAAO,IAAI,CAAC,eAAe,CAAC;QAChC,CAAC;aAED,UAAmB,KAAyB;YACxC,IAAI,CAAC,eAAe,GAAG,KAAK,CAAC;QACjC,CAAC;;;OAJA;IAKL,4BAAC;AAAD,CAAC,AA9QD,IA8QC"}
@@ -0,0 +1,35 @@
1
+ export default class CloudFeedbackApproval {
2
+ private _status;
3
+ private _createdByAccountId;
4
+ private _createdByClientId;
5
+ private _createdByUserId;
6
+ private _createdByUserEmail;
7
+ private _creationDate;
8
+ private _lastModifiedByAccountId;
9
+ private _lastModifiedByClientId;
10
+ private _lastModifiedByUserId;
11
+ private _lastModifiedByUserEmail;
12
+ private _lastModifyDate;
13
+ get status(): string | undefined;
14
+ set status(value: string | undefined);
15
+ get createdByAccountId(): string | undefined;
16
+ set createdByAccountId(value: string | undefined);
17
+ get createdByClientId(): string | undefined;
18
+ set createdByClientId(value: string | undefined);
19
+ get createdByUserId(): string | undefined;
20
+ set createdByUserId(value: string | undefined);
21
+ get createdByUserEmail(): string | undefined;
22
+ set createdByUserEmail(value: string | undefined);
23
+ get creationDate(): string | undefined;
24
+ set creationDate(value: string | undefined);
25
+ get lastModifiedByAccountId(): string | undefined;
26
+ set lastModifiedByAccountId(value: string | undefined);
27
+ get lastModifiedByClientId(): string | undefined;
28
+ set lastModifiedByClientId(value: string | undefined);
29
+ get lastModifiedByUserId(): string | undefined;
30
+ set lastModifiedByUserId(value: string | undefined);
31
+ get lastModifiedByUserEmail(): string | undefined;
32
+ set lastModifiedByUserEmail(value: string | undefined);
33
+ get lastModifyDate(): string | undefined;
34
+ set lastModifyDate(value: string | undefined);
35
+ }
@@ -0,0 +1,119 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ var CloudFeedbackApproval = /** @class */ (function () {
4
+ function CloudFeedbackApproval() {
5
+ }
6
+ Object.defineProperty(CloudFeedbackApproval.prototype, "status", {
7
+ get: function () {
8
+ return this._status;
9
+ },
10
+ set: function (value) {
11
+ this._status = value;
12
+ },
13
+ enumerable: false,
14
+ configurable: true
15
+ });
16
+ Object.defineProperty(CloudFeedbackApproval.prototype, "createdByAccountId", {
17
+ get: function () {
18
+ return this._createdByAccountId;
19
+ },
20
+ set: function (value) {
21
+ this._createdByAccountId = value;
22
+ },
23
+ enumerable: false,
24
+ configurable: true
25
+ });
26
+ Object.defineProperty(CloudFeedbackApproval.prototype, "createdByClientId", {
27
+ get: function () {
28
+ return this._createdByClientId;
29
+ },
30
+ set: function (value) {
31
+ this._createdByClientId = value;
32
+ },
33
+ enumerable: false,
34
+ configurable: true
35
+ });
36
+ Object.defineProperty(CloudFeedbackApproval.prototype, "createdByUserId", {
37
+ get: function () {
38
+ return this._createdByUserId;
39
+ },
40
+ set: function (value) {
41
+ this._createdByUserId = value;
42
+ },
43
+ enumerable: false,
44
+ configurable: true
45
+ });
46
+ Object.defineProperty(CloudFeedbackApproval.prototype, "createdByUserEmail", {
47
+ get: function () {
48
+ return this._createdByUserEmail;
49
+ },
50
+ set: function (value) {
51
+ this._createdByUserEmail = value;
52
+ },
53
+ enumerable: false,
54
+ configurable: true
55
+ });
56
+ Object.defineProperty(CloudFeedbackApproval.prototype, "creationDate", {
57
+ get: function () {
58
+ return this._creationDate;
59
+ },
60
+ set: function (value) {
61
+ this._creationDate = value;
62
+ },
63
+ enumerable: false,
64
+ configurable: true
65
+ });
66
+ Object.defineProperty(CloudFeedbackApproval.prototype, "lastModifiedByAccountId", {
67
+ get: function () {
68
+ return this._lastModifiedByAccountId;
69
+ },
70
+ set: function (value) {
71
+ this._lastModifiedByAccountId = value;
72
+ },
73
+ enumerable: false,
74
+ configurable: true
75
+ });
76
+ Object.defineProperty(CloudFeedbackApproval.prototype, "lastModifiedByClientId", {
77
+ get: function () {
78
+ return this._lastModifiedByClientId;
79
+ },
80
+ set: function (value) {
81
+ this._lastModifiedByClientId = value;
82
+ },
83
+ enumerable: false,
84
+ configurable: true
85
+ });
86
+ Object.defineProperty(CloudFeedbackApproval.prototype, "lastModifiedByUserId", {
87
+ get: function () {
88
+ return this._lastModifiedByUserId;
89
+ },
90
+ set: function (value) {
91
+ this._lastModifiedByUserId = value;
92
+ },
93
+ enumerable: false,
94
+ configurable: true
95
+ });
96
+ Object.defineProperty(CloudFeedbackApproval.prototype, "lastModifiedByUserEmail", {
97
+ get: function () {
98
+ return this._lastModifiedByUserEmail;
99
+ },
100
+ set: function (value) {
101
+ this._lastModifiedByUserEmail = value;
102
+ },
103
+ enumerable: false,
104
+ configurable: true
105
+ });
106
+ Object.defineProperty(CloudFeedbackApproval.prototype, "lastModifyDate", {
107
+ get: function () {
108
+ return this._lastModifyDate;
109
+ },
110
+ set: function (value) {
111
+ this._lastModifyDate = value;
112
+ },
113
+ enumerable: false,
114
+ configurable: true
115
+ });
116
+ return CloudFeedbackApproval;
117
+ }());
118
+ exports.default = CloudFeedbackApproval;
119
+ //# sourceMappingURL=CloudFeedbackApproval.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CloudFeedbackApproval.js","sourceRoot":"","sources":["../../../../../src/translation/feedback/cloud/api/CloudFeedbackApproval.ts"],"names":[],"mappings":";;AAAA;IAAA;IAqGA,CAAC;IAvFG,sBAAI,yCAAM;aAAV;YACI,OAAO,IAAI,CAAC,OAAO,CAAC;QACxB,CAAC;aAED,UAAW,KAAyB;YAChC,IAAI,CAAC,OAAO,GAAG,KAAK,CAAC;QACzB,CAAC;;;OAJA;IAMD,sBAAI,qDAAkB;aAAtB;YACI,OAAO,IAAI,CAAC,mBAAmB,CAAC;QACpC,CAAC;aAED,UAAuB,KAAyB;YAC5C,IAAI,CAAC,mBAAmB,GAAG,KAAK,CAAC;QACrC,CAAC;;;OAJA;IAMD,sBAAI,oDAAiB;aAArB;YACI,OAAO,IAAI,CAAC,kBAAkB,CAAC;QACnC,CAAC;aAED,UAAsB,KAAyB;YAC3C,IAAI,CAAC,kBAAkB,GAAG,KAAK,CAAC;QACpC,CAAC;;;OAJA;IAMD,sBAAI,kDAAe;aAAnB;YACI,OAAO,IAAI,CAAC,gBAAgB,CAAC;QACjC,CAAC;aAED,UAAoB,KAAyB;YACzC,IAAI,CAAC,gBAAgB,GAAG,KAAK,CAAC;QAClC,CAAC;;;OAJA;IAMD,sBAAI,qDAAkB;aAAtB;YACI,OAAO,IAAI,CAAC,mBAAmB,CAAC;QACpC,CAAC;aAED,UAAuB,KAAyB;YAC5C,IAAI,CAAC,mBAAmB,GAAG,KAAK,CAAC;QACrC,CAAC;;;OAJA;IAMD,sBAAI,+CAAY;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,0DAAuB;aAA3B;YACI,OAAO,IAAI,CAAC,wBAAwB,CAAC;QACzC,CAAC;aAED,UAA4B,KAAyB;YACjD,IAAI,CAAC,wBAAwB,GAAG,KAAK,CAAC;QAC1C,CAAC;;;OAJA;IAMD,sBAAI,yDAAsB;aAA1B;YACI,OAAO,IAAI,CAAC,uBAAuB,CAAC;QACxC,CAAC;aAED,UAA2B,KAAyB;YAChD,IAAI,CAAC,uBAAuB,GAAG,KAAK,CAAC;QACzC,CAAC;;;OAJA;IAMD,sBAAI,uDAAoB;aAAxB;YACI,OAAO,IAAI,CAAC,qBAAqB,CAAC;QACtC,CAAC;aAED,UAAyB,KAAyB;YAC9C,IAAI,CAAC,qBAAqB,GAAG,KAAK,CAAC;QACvC,CAAC;;;OAJA;IAMD,sBAAI,0DAAuB;aAA3B;YACI,OAAO,IAAI,CAAC,wBAAwB,CAAC;QACzC,CAAC;aAED,UAA4B,KAAyB;YACjD,IAAI,CAAC,wBAAwB,GAAG,KAAK,CAAC;QAC1C,CAAC;;;OAJA;IAMD,sBAAI,iDAAc;aAAlB;YACI,OAAO,IAAI,CAAC,eAAe,CAAC;QAChC,CAAC;aAED,UAAmB,KAAyB;YACxC,IAAI,CAAC,eAAe,GAAG,KAAK,CAAC;QACjC,CAAC;;;OAJA;IAKL,4BAAC;AAAD,CAAC,AArGD,IAqGC"}
@@ -0,0 +1,6 @@
1
+ export default class CloudFeedbackImprovement {
2
+ private _text;
3
+ constructor(text: string);
4
+ get text(): string | undefined;
5
+ set text(value: string | undefined);
6
+ }
@@ -0,0 +1,20 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ var CloudFeedbackImprovement = /** @class */ (function () {
4
+ function CloudFeedbackImprovement(text) {
5
+ this._text = text;
6
+ }
7
+ Object.defineProperty(CloudFeedbackImprovement.prototype, "text", {
8
+ get: function () {
9
+ return this._text;
10
+ },
11
+ set: function (value) {
12
+ this._text = value;
13
+ },
14
+ enumerable: false,
15
+ configurable: true
16
+ });
17
+ return CloudFeedbackImprovement;
18
+ }());
19
+ exports.default = CloudFeedbackImprovement;
20
+ //# sourceMappingURL=CloudFeedbackImprovement.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CloudFeedbackImprovement.js","sourceRoot":"","sources":["../../../../../src/translation/feedback/cloud/api/CloudFeedbackImprovement.ts"],"names":[],"mappings":";;AAAA;IAGI,kCAAY,IAAY;QACpB,IAAI,CAAC,KAAK,GAAG,IAAI,CAAC;IACtB,CAAC;IAED,sBAAI,0CAAI;aAAR;YACI,OAAO,IAAI,CAAC,KAAK,CAAC;QACtB,CAAC;aAED,UAAS,KAAyB;YAC9B,IAAI,CAAC,KAAK,GAAG,KAAK,CAAC;QACvB,CAAC;;;OAJA;IAKL,+BAAC;AAAD,CAAC,AAdD,IAcC"}
@@ -0,0 +1,11 @@
1
+ import CloudFeedbackApiModel from './CloudFeedbackApiModel';
2
+ import PaginatedListResult from '../../../common/result/PaginatedListResult';
3
+ import CloudFeedbackListResult from '../result/CloudFeedbackListResult';
4
+ import FeedbackListResult from '../../common/result/FeedbackListResult';
5
+ export default class CloudFeedbackListResponse extends PaginatedListResult {
6
+ private _feedbackList;
7
+ get feedbackList(): CloudFeedbackApiModel[];
8
+ set feedbackList(value: CloudFeedbackApiModel[]);
9
+ toCloudResult(): CloudFeedbackListResult;
10
+ toResult(): FeedbackListResult;
11
+ }
@@ -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 PaginatedListResult_1 = __importDefault(require("../../../common/result/PaginatedListResult"));
22
+ var CloudFeedbackListResult_1 = __importDefault(require("../result/CloudFeedbackListResult"));
23
+ var FeedbackListResult_1 = __importDefault(require("../../common/result/FeedbackListResult"));
24
+ var CloudFeedbackListResponse = /** @class */ (function (_super) {
25
+ __extends(CloudFeedbackListResponse, _super);
26
+ function CloudFeedbackListResponse() {
27
+ var _this = _super !== null && _super.apply(this, arguments) || this;
28
+ _this._feedbackList = [];
29
+ return _this;
30
+ }
31
+ Object.defineProperty(CloudFeedbackListResponse.prototype, "feedbackList", {
32
+ get: function () {
33
+ return this._feedbackList;
34
+ },
35
+ set: function (value) {
36
+ this._feedbackList = value;
37
+ },
38
+ enumerable: false,
39
+ configurable: true
40
+ });
41
+ CloudFeedbackListResponse.prototype.toCloudResult = function () {
42
+ var result = new CloudFeedbackListResult_1.default();
43
+ result.feedbackList = this.feedbackList.map(function (feedback) { return feedback.toCloudResult(); });
44
+ result.pageNumber = this.pageNumber;
45
+ result.pageSize = this.pageSize;
46
+ result.totalCount = this.totalCount;
47
+ return result;
48
+ };
49
+ CloudFeedbackListResponse.prototype.toResult = function () {
50
+ var result = new FeedbackListResult_1.default();
51
+ result.feedbackList = this.feedbackList.map(function (feedback) { return feedback.toResult(); });
52
+ result.pageNumber = this.pageNumber;
53
+ result.pageSize = this.pageSize;
54
+ result.totalCount = this.totalCount;
55
+ return result;
56
+ };
57
+ return CloudFeedbackListResponse;
58
+ }(PaginatedListResult_1.default));
59
+ exports.default = CloudFeedbackListResponse;
60
+ //# sourceMappingURL=CloudFeedbackListResponse.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CloudFeedbackListResponse.js","sourceRoot":"","sources":["../../../../../src/translation/feedback/cloud/api/CloudFeedbackListResponse.ts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,0 +1,10 @@
1
+ import FeedbackComment from '../../../../common/constants/FeedbackComment';
2
+ export default class CloudFeedbackRating {
3
+ private _score;
4
+ private _comments;
5
+ get score(): number | undefined;
6
+ set score(value: number | undefined);
7
+ get comments(): string[];
8
+ set comments(value: string[]);
9
+ addComment(comment: string | FeedbackComment): CloudFeedbackRating;
10
+ }
@@ -0,0 +1,34 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ var CloudFeedbackRating = /** @class */ (function () {
4
+ function CloudFeedbackRating() {
5
+ this._comments = [];
6
+ }
7
+ Object.defineProperty(CloudFeedbackRating.prototype, "score", {
8
+ get: function () {
9
+ return this._score;
10
+ },
11
+ set: function (value) {
12
+ this._score = value;
13
+ },
14
+ enumerable: false,
15
+ configurable: true
16
+ });
17
+ Object.defineProperty(CloudFeedbackRating.prototype, "comments", {
18
+ get: function () {
19
+ return this._comments;
20
+ },
21
+ set: function (value) {
22
+ this._comments = value;
23
+ },
24
+ enumerable: false,
25
+ configurable: true
26
+ });
27
+ CloudFeedbackRating.prototype.addComment = function (comment) {
28
+ this._comments.push(comment);
29
+ return this;
30
+ };
31
+ return CloudFeedbackRating;
32
+ }());
33
+ exports.default = CloudFeedbackRating;
34
+ //# sourceMappingURL=CloudFeedbackRating.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CloudFeedbackRating.js","sourceRoot":"","sources":["../../../../../src/translation/feedback/cloud/api/CloudFeedbackRating.ts"],"names":[],"mappings":";;AAEA;IAAA;QAEY,cAAS,GAAa,EAAE,CAAC;IAsBrC,CAAC;IApBG,sBAAI,sCAAK;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,yCAAQ;aAAZ;YACI,OAAO,IAAI,CAAC,SAAS,CAAC;QAC1B,CAAC;aAED,UAAa,KAAe;YACxB,IAAI,CAAC,SAAS,GAAG,KAAK,CAAC;QAC3B,CAAC;;;OAJA;IAMM,wCAAU,GAAjB,UAAkB,OAAiC;QAC/C,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QAC7B,OAAO,IAAI,CAAC;IAChB,CAAC;IACL,0BAAC;AAAD,CAAC,AAxBD,IAwBC"}
@@ -0,0 +1,25 @@
1
+ import CloudFilterFeedbackRequest from '../request/CloudFilterFeedbackRequest';
2
+ import FilterFeedbackRequest from '../../common/request/FilterFeedbackRequest';
3
+ export default class CloudFilterFeedbackApiRequest {
4
+ private _startDate;
5
+ private _endDate;
6
+ private _category;
7
+ private _userId;
8
+ private _feedbackId;
9
+ private _approvalStatus;
10
+ constructor(filterRequest: CloudFilterFeedbackRequest | FilterFeedbackRequest | undefined);
11
+ get startDate(): string | undefined;
12
+ set startDate(value: string | undefined);
13
+ get endDate(): string | undefined;
14
+ set endDate(value: string | undefined);
15
+ get category(): string | undefined;
16
+ set category(value: string | undefined);
17
+ get userId(): string | undefined;
18
+ set userId(value: string | undefined);
19
+ get feedbackId(): string | undefined;
20
+ set feedbackId(value: string | undefined);
21
+ get approvalStatus(): string | undefined;
22
+ set approvalStatus(value: string | undefined);
23
+ private fromCloudFilterFeedbackRequest;
24
+ private fromFilterFeedbackRequest;
25
+ }