@language-weaver/lw-sdk-js 1.0.0 → 1.2.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 (397) 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 +1 -1
  28. package/lib/{translation/common → common/constants}/Format.js +4 -1
  29. package/lib/common/constants/Format.js.map +1 -0
  30. package/lib/common/constants/FormatToMimeType.js +2 -0
  31. package/lib/common/constants/FormatToMimeType.js.map +1 -1
  32. package/lib/common/constants/Order.d.ts +4 -0
  33. package/lib/common/constants/Order.js +9 -0
  34. package/lib/common/constants/Order.js.map +1 -0
  35. package/lib/common/constants/PdfConverter.d.ts +15 -0
  36. package/lib/common/constants/PdfConverter.js +22 -0
  37. package/lib/common/constants/PdfConverter.js.map +1 -0
  38. package/lib/{translation/common → common/constants}/Product.d.ts +0 -0
  39. package/lib/{translation/common → common/constants}/Product.js +0 -0
  40. package/lib/common/constants/Product.js.map +1 -0
  41. package/lib/common/constants/QualityEstimation.d.ts +6 -0
  42. package/lib/common/constants/QualityEstimation.js +17 -0
  43. package/lib/common/constants/QualityEstimation.js.map +1 -0
  44. package/lib/{translation/common → common/constants}/Regions.d.ts +0 -0
  45. package/lib/{translation/common → common/constants}/Regions.js +0 -0
  46. package/lib/common/constants/Regions.js.map +1 -0
  47. package/lib/{translation/common → common/constants}/Statuses.d.ts +0 -0
  48. package/lib/{translation/common → common/constants}/Statuses.js +0 -0
  49. package/lib/common/constants/Statuses.js.map +1 -0
  50. package/lib/common/constants/TranslationConstants.d.ts +9 -0
  51. package/lib/common/constants/TranslationConstants.js +11 -2
  52. package/lib/common/constants/TranslationConstants.js.map +1 -1
  53. package/lib/common/{requests → external/communication}/RestClient.d.ts +2 -2
  54. package/lib/common/{requests → external/communication}/RestClient.js +19 -28
  55. package/lib/common/external/communication/RestClient.js.map +1 -0
  56. package/lib/common/utils/HttpUtils.d.ts +2 -1
  57. package/lib/common/utils/HttpUtils.js +14 -1
  58. package/lib/common/utils/HttpUtils.js.map +1 -1
  59. package/lib/common/utils/Utils.d.ts +2 -2
  60. package/lib/common/utils/Utils.js +1 -1
  61. package/lib/common/utils/Utils.js.map +1 -1
  62. package/lib/index.d.ts +72 -39
  63. package/lib/index.js +104 -38
  64. package/lib/index.js.map +1 -1
  65. package/lib/translation/common/LanguageWeaverClient.d.ts +27 -0
  66. package/lib/{LanguageWeaverClient.js → translation/common/LanguageWeaverClient.js} +0 -0
  67. package/lib/translation/common/LanguageWeaverClient.js.map +1 -0
  68. package/lib/{SdkFactory.d.ts → translation/common/SdkFactory.d.ts} +2 -2
  69. package/lib/{SdkFactory.js → translation/common/SdkFactory.js} +5 -5
  70. package/lib/translation/common/SdkFactory.js.map +1 -0
  71. package/lib/translation/common/cloud/CloudLanguageWeaverClient.d.ts +86 -0
  72. package/lib/{CloudLanguageWeaverClient.js → translation/common/cloud/CloudLanguageWeaverClient.js} +145 -39
  73. package/lib/translation/common/cloud/CloudLanguageWeaverClient.js.map +1 -0
  74. package/lib/translation/common/edge/EdgeLanguageWeaverClient.d.ts +85 -0
  75. package/lib/{EdgeLanguageWeaverClient.js → translation/common/edge/EdgeLanguageWeaverClient.js} +204 -76
  76. package/lib/translation/common/edge/EdgeLanguageWeaverClient.js.map +1 -0
  77. package/lib/translation/common/edge/utils/EdgeLanguagePairUtil.d.ts +2 -0
  78. package/lib/translation/common/edge/utils/EdgeLanguagePairUtil.js +24 -0
  79. package/lib/translation/common/edge/utils/EdgeLanguagePairUtil.js.map +1 -0
  80. package/lib/translation/common/result/PaginatedListResult.d.ts +11 -0
  81. package/lib/translation/common/result/PaginatedListResult.js +39 -0
  82. package/lib/translation/common/result/PaginatedListResult.js.map +1 -0
  83. package/lib/translation/feedback/cloud/api/CloudFeedbackApiModel.d.ts +64 -0
  84. package/lib/translation/feedback/cloud/api/CloudFeedbackApiModel.js +291 -0
  85. package/lib/translation/feedback/cloud/api/CloudFeedbackApiModel.js.map +1 -0
  86. package/lib/translation/feedback/cloud/api/CloudFeedbackApproval.d.ts +35 -0
  87. package/lib/translation/feedback/cloud/api/CloudFeedbackApproval.js +119 -0
  88. package/lib/translation/feedback/cloud/api/CloudFeedbackApproval.js.map +1 -0
  89. package/lib/translation/feedback/cloud/api/CloudFeedbackApprovalListUpdateRequest.d.ts +7 -0
  90. package/lib/translation/feedback/cloud/api/CloudFeedbackApprovalListUpdateRequest.js +24 -0
  91. package/lib/translation/feedback/cloud/api/CloudFeedbackApprovalListUpdateRequest.js.map +1 -0
  92. package/lib/translation/feedback/cloud/api/CloudFeedbackApprovalUpdateRequest.d.ts +9 -0
  93. package/lib/translation/feedback/cloud/api/CloudFeedbackApprovalUpdateRequest.js +31 -0
  94. package/lib/translation/feedback/cloud/api/CloudFeedbackApprovalUpdateRequest.js.map +1 -0
  95. package/lib/translation/feedback/cloud/api/CloudFeedbackImprovement.d.ts +6 -0
  96. package/lib/translation/feedback/cloud/api/CloudFeedbackImprovement.js +20 -0
  97. package/lib/translation/feedback/cloud/api/CloudFeedbackImprovement.js.map +1 -0
  98. package/lib/translation/feedback/cloud/api/CloudFeedbackListResponse.d.ts +11 -0
  99. package/lib/translation/feedback/cloud/api/CloudFeedbackListResponse.js +60 -0
  100. package/lib/translation/feedback/cloud/api/CloudFeedbackListResponse.js.map +1 -0
  101. package/lib/translation/feedback/cloud/api/CloudFeedbackRating.d.ts +10 -0
  102. package/lib/translation/feedback/cloud/api/CloudFeedbackRating.js +39 -0
  103. package/lib/translation/feedback/cloud/api/CloudFeedbackRating.js.map +1 -0
  104. package/lib/translation/feedback/cloud/api/CloudFilterFeedbackApiRequest.d.ts +25 -0
  105. package/lib/translation/feedback/cloud/api/CloudFilterFeedbackApiRequest.js +111 -0
  106. package/lib/translation/feedback/cloud/api/CloudFilterFeedbackApiRequest.js.map +1 -0
  107. package/lib/translation/feedback/cloud/api/CloudTranslationFeedback.d.ts +29 -0
  108. package/lib/translation/feedback/cloud/api/CloudTranslationFeedback.js +99 -0
  109. package/lib/translation/feedback/cloud/api/CloudTranslationFeedback.js.map +1 -0
  110. package/lib/translation/feedback/cloud/model/CloudAuditData.d.ts +21 -0
  111. package/lib/translation/feedback/cloud/model/CloudAuditData.js +90 -0
  112. package/lib/translation/feedback/cloud/model/CloudAuditData.js.map +1 -0
  113. package/lib/translation/feedback/cloud/model/CloudFeedbackSortCriteria.d.ts +4 -0
  114. package/lib/translation/feedback/cloud/model/CloudFeedbackSortCriteria.js +9 -0
  115. package/lib/translation/feedback/cloud/model/CloudFeedbackSortCriteria.js.map +1 -0
  116. package/lib/translation/feedback/cloud/request/CloudCreateFeedbackRequest.d.ts +21 -0
  117. package/lib/translation/feedback/cloud/request/CloudCreateFeedbackRequest.js +104 -0
  118. package/lib/translation/feedback/cloud/request/CloudCreateFeedbackRequest.js.map +1 -0
  119. package/lib/translation/feedback/cloud/request/CloudDeleteFeedbackRequest.d.ts +3 -0
  120. package/lib/translation/feedback/cloud/request/CloudDeleteFeedbackRequest.js +30 -0
  121. package/lib/translation/feedback/cloud/request/CloudDeleteFeedbackRequest.js.map +1 -0
  122. package/lib/translation/feedback/cloud/request/CloudFeedbackSortRequest.d.ts +10 -0
  123. package/lib/translation/feedback/cloud/request/CloudFeedbackSortRequest.js +29 -0
  124. package/lib/translation/feedback/cloud/request/CloudFeedbackSortRequest.js.map +1 -0
  125. package/lib/translation/feedback/cloud/request/CloudFilterFeedbackRequest.d.ts +14 -0
  126. package/lib/translation/feedback/cloud/request/CloudFilterFeedbackRequest.js +60 -0
  127. package/lib/translation/feedback/cloud/request/CloudFilterFeedbackRequest.js.map +1 -0
  128. package/lib/translation/feedback/cloud/request/CloudUpdateFeedbackApprovalRequest.d.ts +3 -0
  129. package/lib/translation/feedback/cloud/request/CloudUpdateFeedbackApprovalRequest.js +30 -0
  130. package/lib/translation/feedback/cloud/request/CloudUpdateFeedbackApprovalRequest.js.map +1 -0
  131. package/lib/translation/feedback/cloud/request/CloudUpdateFeedbackRequest.d.ts +15 -0
  132. package/lib/translation/feedback/cloud/request/CloudUpdateFeedbackRequest.js +77 -0
  133. package/lib/translation/feedback/cloud/request/CloudUpdateFeedbackRequest.js.map +1 -0
  134. package/lib/translation/feedback/cloud/result/CloudFeedbackListResult.d.ts +7 -0
  135. package/lib/translation/feedback/cloud/result/CloudFeedbackListResult.js +42 -0
  136. package/lib/translation/feedback/cloud/result/CloudFeedbackListResult.js.map +1 -0
  137. package/lib/translation/feedback/cloud/result/CloudFeedbackResult.d.ts +29 -0
  138. package/lib/translation/feedback/cloud/result/CloudFeedbackResult.js +110 -0
  139. package/lib/translation/feedback/cloud/result/CloudFeedbackResult.js.map +1 -0
  140. package/lib/translation/feedback/cloud/service/CloudFeedbackService.d.ts +41 -0
  141. package/lib/translation/feedback/cloud/service/CloudFeedbackService.js +207 -0
  142. package/lib/translation/feedback/cloud/service/CloudFeedbackService.js.map +1 -0
  143. package/lib/translation/feedback/cloud/validators/CloudFeedbackValidator.d.ts +9 -0
  144. package/lib/translation/feedback/cloud/validators/CloudFeedbackValidator.js +55 -0
  145. package/lib/translation/feedback/cloud/validators/CloudFeedbackValidator.js.map +1 -0
  146. package/lib/translation/feedback/common/model/AuditData.d.ts +14 -0
  147. package/lib/translation/feedback/common/model/AuditData.js +49 -0
  148. package/lib/translation/feedback/common/model/AuditData.js.map +1 -0
  149. package/lib/translation/feedback/common/request/CreateFeedbackRequest.d.ts +29 -0
  150. package/lib/translation/feedback/common/request/CreateFeedbackRequest.js +123 -0
  151. package/lib/translation/feedback/common/request/CreateFeedbackRequest.js.map +1 -0
  152. package/lib/translation/feedback/common/request/DeleteFeedbackRequest.d.ts +5 -0
  153. package/lib/translation/feedback/common/request/DeleteFeedbackRequest.js +19 -0
  154. package/lib/translation/feedback/common/request/DeleteFeedbackRequest.js.map +1 -0
  155. package/lib/translation/feedback/common/request/FilterFeedbackRequest.d.ts +15 -0
  156. package/lib/translation/feedback/common/request/FilterFeedbackRequest.js +49 -0
  157. package/lib/translation/feedback/common/request/FilterFeedbackRequest.js.map +1 -0
  158. package/lib/translation/feedback/common/request/UpdateFeedbackApprovalRequest.d.ts +9 -0
  159. package/lib/translation/feedback/common/request/UpdateFeedbackApprovalRequest.js +29 -0
  160. package/lib/translation/feedback/common/request/UpdateFeedbackApprovalRequest.js.map +1 -0
  161. package/lib/translation/feedback/common/request/UpdateFeedbackRequest.d.ts +19 -0
  162. package/lib/translation/feedback/common/request/UpdateFeedbackRequest.js +80 -0
  163. package/lib/translation/feedback/common/request/UpdateFeedbackRequest.js.map +1 -0
  164. package/lib/translation/feedback/common/result/FeedbackCommonResult.d.ts +30 -0
  165. package/lib/translation/feedback/common/result/FeedbackCommonResult.js +100 -0
  166. package/lib/translation/feedback/common/result/FeedbackCommonResult.js.map +1 -0
  167. package/lib/translation/feedback/common/result/FeedbackListResult.d.ts +7 -0
  168. package/lib/translation/feedback/common/result/FeedbackListResult.js +42 -0
  169. package/lib/translation/feedback/common/result/FeedbackListResult.js.map +1 -0
  170. package/lib/translation/feedback/common/result/FeedbackResult.d.ts +14 -0
  171. package/lib/translation/feedback/common/result/FeedbackResult.js +67 -0
  172. package/lib/translation/feedback/common/result/FeedbackResult.js.map +1 -0
  173. package/lib/translation/feedback/common/validators/FeedbackValidator.d.ts +10 -0
  174. package/lib/translation/feedback/common/validators/FeedbackValidator.js +38 -0
  175. package/lib/translation/feedback/common/validators/FeedbackValidator.js.map +1 -0
  176. package/lib/translation/feedback/edge/api/EdgeFeedbackApiModel.d.ts +40 -0
  177. package/lib/translation/feedback/edge/api/EdgeFeedbackApiModel.js +190 -0
  178. package/lib/translation/feedback/edge/api/EdgeFeedbackApiModel.js.map +1 -0
  179. package/lib/translation/feedback/edge/api/EdgeFeedbackListResponse.d.ts +22 -0
  180. package/lib/translation/feedback/edge/api/EdgeFeedbackListResponse.js +86 -0
  181. package/lib/translation/feedback/edge/api/EdgeFeedbackListResponse.js.map +1 -0
  182. package/lib/translation/feedback/edge/api/Timestamps.d.ts +11 -0
  183. package/lib/translation/feedback/edge/api/Timestamps.js +39 -0
  184. package/lib/translation/feedback/edge/api/Timestamps.js.map +1 -0
  185. package/lib/translation/feedback/edge/request/EdgeCreateFeedbackRequest.d.ts +12 -0
  186. package/lib/translation/feedback/edge/request/EdgeCreateFeedbackRequest.js +63 -0
  187. package/lib/translation/feedback/edge/request/EdgeCreateFeedbackRequest.js.map +1 -0
  188. package/lib/translation/feedback/edge/request/EdgeDeleteFeedbackRequest.d.ts +3 -0
  189. package/lib/translation/feedback/edge/request/EdgeDeleteFeedbackRequest.js +30 -0
  190. package/lib/translation/feedback/edge/request/EdgeDeleteFeedbackRequest.js.map +1 -0
  191. package/lib/translation/feedback/edge/request/EdgeFilterFeedbackRequest.d.ts +31 -0
  192. package/lib/translation/feedback/edge/request/EdgeFilterFeedbackRequest.js +122 -0
  193. package/lib/translation/feedback/edge/request/EdgeFilterFeedbackRequest.js.map +1 -0
  194. package/lib/translation/feedback/edge/request/EdgeUpdateFeedbackApprovalRequest.d.ts +3 -0
  195. package/lib/translation/feedback/edge/request/EdgeUpdateFeedbackApprovalRequest.js +30 -0
  196. package/lib/translation/feedback/edge/request/EdgeUpdateFeedbackApprovalRequest.js.map +1 -0
  197. package/lib/translation/feedback/edge/request/EdgeUpdateFeedbackRequest.d.ts +9 -0
  198. package/lib/translation/feedback/edge/request/EdgeUpdateFeedbackRequest.js +50 -0
  199. package/lib/translation/feedback/edge/request/EdgeUpdateFeedbackRequest.js.map +1 -0
  200. package/lib/translation/feedback/edge/result/EdgeFeedbackListResult.d.ts +10 -0
  201. package/lib/translation/feedback/edge/result/EdgeFeedbackListResult.js +52 -0
  202. package/lib/translation/feedback/edge/result/EdgeFeedbackListResult.js.map +1 -0
  203. package/lib/translation/feedback/edge/result/EdgeFeedbackResult.d.ts +6 -0
  204. package/lib/translation/feedback/edge/result/EdgeFeedbackResult.js +40 -0
  205. package/lib/translation/feedback/edge/result/EdgeFeedbackResult.js.map +1 -0
  206. package/lib/translation/feedback/edge/service/EdgeFeedbackService.d.ts +39 -0
  207. package/lib/translation/feedback/edge/service/EdgeFeedbackService.js +216 -0
  208. package/lib/translation/feedback/edge/service/EdgeFeedbackService.js.map +1 -0
  209. package/lib/translation/feedback/edge/validators/EdgeFeedbackValidator.d.ts +3 -0
  210. package/lib/translation/feedback/edge/validators/EdgeFeedbackValidator.js +30 -0
  211. package/lib/translation/feedback/edge/validators/EdgeFeedbackValidator.js.map +1 -0
  212. package/lib/translation/translate/{response/cloud → cloud/api}/CloudDictionaryResponse.d.ts +0 -0
  213. package/lib/translation/translate/{response/cloud → cloud/api}/CloudDictionaryResponse.js +0 -0
  214. package/lib/translation/translate/cloud/api/CloudDictionaryResponse.js.map +1 -0
  215. package/lib/translation/translate/{response/cloud → cloud/api}/CloudLanguagePair.d.ts +0 -0
  216. package/lib/translation/translate/{response/cloud → cloud/api}/CloudLanguagePair.js +0 -0
  217. package/lib/translation/translate/cloud/api/CloudLanguagePair.js.map +1 -0
  218. package/lib/translation/translate/{request/cloud → cloud/request}/CloudTranslateBatchFileRequest.d.ts +1 -1
  219. package/lib/translation/translate/{request/cloud → cloud/request}/CloudTranslateBatchFileRequest.js +1 -1
  220. package/lib/translation/translate/cloud/request/CloudTranslateBatchFileRequest.js.map +1 -0
  221. package/lib/translation/translate/{request/cloud → cloud/request}/CloudTranslateFileRequest.d.ts +1 -1
  222. package/lib/translation/translate/{request/cloud → cloud/request}/CloudTranslateFileRequest.js +1 -1
  223. package/lib/translation/translate/cloud/request/CloudTranslateFileRequest.js.map +1 -0
  224. package/lib/translation/translate/{request/cloud → cloud/request}/CloudTranslateTextRequest.d.ts +1 -1
  225. package/lib/translation/translate/{request/cloud → cloud/request}/CloudTranslateTextRequest.js +1 -1
  226. package/lib/translation/translate/cloud/request/CloudTranslateTextRequest.js.map +1 -0
  227. package/lib/translation/translate/cloud/result/CloudDictionariesResult.d.ts +10 -0
  228. package/lib/translation/translate/cloud/result/CloudDictionariesResult.js +50 -0
  229. package/lib/translation/translate/cloud/result/CloudDictionariesResult.js.map +1 -0
  230. package/lib/translation/translate/{result/cloud → cloud/result}/CloudLanguagePairsResult.d.ts +1 -1
  231. package/lib/translation/translate/{result/cloud → cloud/result}/CloudLanguagePairsResult.js +0 -0
  232. package/lib/translation/translate/{result/cloud → cloud/result}/CloudLanguagePairsResult.js.map +1 -1
  233. package/lib/translation/translate/{result/cloud → cloud/result}/CloudTranslationBatchFileResult.d.ts +1 -1
  234. package/lib/translation/translate/{result/cloud → cloud/result}/CloudTranslationBatchFileResult.js +1 -1
  235. package/lib/translation/translate/cloud/result/CloudTranslationBatchFileResult.js.map +1 -0
  236. package/lib/translation/translate/{result/cloud → cloud/result}/CloudTranslationFileResult.d.ts +3 -3
  237. package/lib/translation/translate/{result/cloud → cloud/result}/CloudTranslationFileResult.js +1 -1
  238. package/lib/translation/translate/{result/cloud → cloud/result}/CloudTranslationFileResult.js.map +1 -1
  239. package/lib/translation/translate/{result/cloud → cloud/result}/CloudTranslationTextResult.d.ts +2 -2
  240. package/lib/translation/translate/{result/cloud → cloud/result}/CloudTranslationTextResult.js +0 -0
  241. package/lib/translation/translate/{result/cloud → cloud/result}/CloudTranslationTextResult.js.map +1 -1
  242. package/lib/translation/translate/{response → common/api}/AsyncTranslationResponse.d.ts +0 -0
  243. package/lib/translation/translate/{response → common/api}/AsyncTranslationResponse.js +0 -0
  244. package/lib/translation/translate/common/api/AsyncTranslationResponse.js.map +1 -0
  245. package/lib/translation/translate/{response → common/api}/DictionaryResponse.d.ts +0 -0
  246. package/lib/translation/translate/{response → common/api}/DictionaryResponse.js +0 -0
  247. package/lib/translation/translate/common/api/DictionaryResponse.js.map +1 -0
  248. package/lib/translation/translate/{response → common/api}/LanguagePair.d.ts +0 -0
  249. package/lib/translation/translate/{response → common/api}/LanguagePair.js +0 -0
  250. package/lib/translation/translate/common/api/LanguagePair.js.map +1 -0
  251. package/lib/translation/translate/{response → common/api}/TranslationStatistics.d.ts +0 -0
  252. package/lib/translation/translate/{response → common/api}/TranslationStatistics.js +0 -0
  253. package/lib/translation/translate/common/api/TranslationStatistics.js.map +1 -0
  254. package/lib/translation/translate/{response/StatusTranslationResponse.d.ts → common/api/TranslationStatusResponse.d.ts} +2 -2
  255. package/lib/translation/translate/{response/StatusTranslationResponse.js → common/api/TranslationStatusResponse.js} +10 -10
  256. package/lib/translation/translate/common/api/TranslationStatusResponse.js.map +1 -0
  257. package/lib/translation/translate/{request → common/request}/TranslateBatchFileRequest.d.ts +4 -0
  258. package/lib/translation/translate/{request → common/request}/TranslateBatchFileRequest.js +10 -7
  259. package/lib/translation/translate/common/request/TranslateBatchFileRequest.js.map +1 -0
  260. package/lib/translation/translate/{request → common/request}/TranslateFileRequest.d.ts +4 -0
  261. package/lib/translation/translate/{request → common/request}/TranslateFileRequest.js +10 -0
  262. package/lib/translation/translate/common/request/TranslateFileRequest.js.map +1 -0
  263. package/lib/translation/translate/{request → common/request}/TranslateRequest.d.ts +1 -1
  264. package/lib/translation/translate/{request → common/request}/TranslateRequest.js +0 -0
  265. package/lib/translation/translate/common/request/TranslateRequest.js.map +1 -0
  266. package/lib/translation/translate/{request → common/request}/TranslateTextRequest.d.ts +3 -1
  267. package/lib/translation/translate/{request → common/request}/TranslateTextRequest.js +9 -1
  268. package/lib/translation/translate/common/request/TranslateTextRequest.js.map +1 -0
  269. package/lib/translation/translate/common/result/DictionariesResult.d.ts +7 -0
  270. package/lib/translation/translate/common/result/DictionariesResult.js +40 -0
  271. package/lib/translation/translate/common/result/DictionariesResult.js.map +1 -0
  272. package/lib/translation/translate/{result → common/result}/LanguagePairsResult.d.ts +1 -1
  273. package/lib/translation/translate/{result → common/result}/LanguagePairsResult.js +0 -0
  274. package/lib/translation/translate/common/result/LanguagePairsResult.js.map +1 -0
  275. package/lib/translation/translate/{result → common/result}/TranslateTextResult.d.ts +0 -0
  276. package/lib/translation/translate/{result → common/result}/TranslateTextResult.js +0 -0
  277. package/lib/translation/translate/common/result/TranslateTextResult.js.map +1 -0
  278. package/lib/translation/translate/{result → common/result}/TranslationBatchFileResult.d.ts +0 -0
  279. package/lib/translation/translate/{result → common/result}/TranslationBatchFileResult.js +0 -0
  280. package/lib/translation/translate/common/result/TranslationBatchFileResult.js.map +1 -0
  281. package/lib/translation/translate/{result → common/result}/TranslationFileResult.d.ts +0 -0
  282. package/lib/translation/translate/{result → common/result}/TranslationFileResult.js +0 -0
  283. package/lib/translation/translate/common/result/TranslationFileResult.js.map +1 -0
  284. package/lib/translation/translate/{utils → common/utils}/TranslateFileUtil.d.ts +0 -0
  285. package/lib/translation/translate/{utils → common/utils}/TranslateFileUtil.js +2 -2
  286. package/lib/translation/translate/common/utils/TranslateFileUtil.js.map +1 -0
  287. package/lib/translation/translate/{response/edge → edge/api}/EdgeAsyncTranslationResponse.d.ts +0 -0
  288. package/lib/translation/translate/{response/edge → edge/api}/EdgeAsyncTranslationResponse.js +0 -0
  289. package/lib/translation/translate/edge/api/EdgeAsyncTranslationResponse.js.map +1 -0
  290. package/lib/translation/translate/{response/edge → edge/api}/EdgeDictionaryResponse.d.ts +0 -0
  291. package/lib/translation/translate/{response/edge → edge/api}/EdgeDictionaryResponse.js +0 -0
  292. package/lib/translation/translate/edge/api/EdgeDictionaryResponse.js.map +1 -0
  293. package/lib/translation/translate/{response/edge → edge/api}/EdgeLanguagePair.d.ts +0 -0
  294. package/lib/translation/translate/{response/edge → edge/api}/EdgeLanguagePair.js +0 -0
  295. package/lib/translation/translate/edge/api/EdgeLanguagePair.js.map +1 -0
  296. package/lib/translation/translate/{response/edge → edge/api}/EdgeStatusTranslationResponse.d.ts +0 -0
  297. package/lib/translation/translate/{response/edge → edge/api}/EdgeStatusTranslationResponse.js +0 -0
  298. package/lib/translation/translate/edge/api/EdgeStatusTranslationResponse.js.map +1 -0
  299. package/lib/translation/translate/{response/edge → edge/api}/MemberPair.d.ts +0 -0
  300. package/lib/translation/translate/{response/edge → edge/api}/MemberPair.js +0 -0
  301. package/lib/translation/translate/edge/api/MemberPair.js.map +1 -0
  302. package/lib/translation/translate/{response/edge → edge/api}/Profile.d.ts +0 -0
  303. package/lib/translation/translate/{response/edge → edge/api}/Profile.js +0 -0
  304. package/lib/translation/translate/edge/api/Profile.js.map +1 -0
  305. package/lib/translation/translate/{response/edge → edge/api}/Result.d.ts +0 -0
  306. package/lib/translation/translate/{response/edge → edge/api}/Result.js +0 -0
  307. package/lib/translation/translate/edge/api/Result.js.map +1 -0
  308. package/lib/translation/translate/{response/edge → edge/api}/Timestamps.d.ts +0 -0
  309. package/lib/translation/translate/{response/edge → edge/api}/Timestamps.js +0 -0
  310. package/lib/translation/translate/edge/api/Timestamps.js.map +1 -0
  311. package/lib/translation/translate/edge/request/EdgeTranslateApiModel.d.ts +29 -0
  312. package/lib/translation/translate/edge/request/EdgeTranslateApiModel.js +109 -0
  313. package/lib/translation/translate/edge/request/EdgeTranslateApiModel.js.map +1 -0
  314. package/lib/translation/translate/{request/edge → edge/request}/EdgeTranslateBatchFileRequest.d.ts +2 -2
  315. package/lib/translation/translate/{request/edge → edge/request}/EdgeTranslateBatchFileRequest.js +1 -1
  316. package/lib/translation/translate/{request/edge → edge/request}/EdgeTranslateBatchFileRequest.js.map +1 -1
  317. package/lib/translation/translate/{request/edge → edge/request}/EdgeTranslateFileRequest.d.ts +4 -2
  318. package/lib/translation/translate/{request/edge → edge/request}/EdgeTranslateFileRequest.js +16 -1
  319. package/lib/translation/translate/edge/request/EdgeTranslateFileRequest.js.map +1 -0
  320. package/lib/translation/translate/{request/edge → edge/request}/EdgeTranslateTextRequest.d.ts +4 -2
  321. package/lib/translation/translate/{request/edge → edge/request}/EdgeTranslateTextRequest.js +16 -1
  322. package/lib/translation/translate/edge/request/EdgeTranslateTextRequest.js.map +1 -0
  323. package/lib/translation/translate/edge/result/EdgeDictionariesResult.d.ts +10 -0
  324. package/lib/translation/translate/edge/result/EdgeDictionariesResult.js +50 -0
  325. package/lib/translation/translate/edge/result/EdgeDictionariesResult.js.map +1 -0
  326. package/lib/translation/translate/{result/edge → edge/result}/EdgeLanguagePairsResult.d.ts +1 -1
  327. package/lib/translation/translate/{result/edge → edge/result}/EdgeLanguagePairsResult.js +0 -0
  328. package/lib/translation/translate/{result/edge → edge/result}/EdgeLanguagePairsResult.js.map +1 -1
  329. package/lib/translation/translate/{result/edge → edge/result}/EdgeTranslationBatchFileResult.d.ts +1 -1
  330. package/lib/translation/translate/{result/edge → edge/result}/EdgeTranslationBatchFileResult.js +1 -1
  331. package/lib/translation/translate/edge/result/EdgeTranslationBatchFileResult.js.map +1 -0
  332. package/lib/translation/translate/{result/edge → edge/result}/EdgeTranslationFileResult.d.ts +1 -1
  333. package/lib/translation/translate/{result/edge → edge/result}/EdgeTranslationFileResult.js +1 -1
  334. package/lib/translation/translate/{result/edge → edge/result}/EdgeTranslationFileResult.js.map +1 -1
  335. package/lib/translation/translate/{result/edge → edge/result}/EdgeTranslationTextResult.d.ts +1 -1
  336. package/lib/translation/translate/{result/edge → edge/result}/EdgeTranslationTextResult.js +1 -1
  337. package/lib/translation/translate/edge/result/EdgeTranslationTextResult.js.map +1 -0
  338. package/lib/version.d.ts +1 -1
  339. package/lib/version.js +1 -1
  340. package/package.json +4 -3
  341. package/lib/CloudLanguageWeaverClient.d.ts +0 -61
  342. package/lib/CloudLanguageWeaverClient.js.map +0 -1
  343. package/lib/EdgeLanguageWeaverClient.d.ts +0 -60
  344. package/lib/EdgeLanguageWeaverClient.js.map +0 -1
  345. package/lib/LanguageWeaverClient.d.ts +0 -15
  346. package/lib/LanguageWeaverClient.js.map +0 -1
  347. package/lib/SdkFactory.js.map +0 -1
  348. package/lib/auth/LanguageWeaverAuthentication.js.map +0 -1
  349. package/lib/auth/domain/SelfInformation.js.map +0 -1
  350. package/lib/auth/domain/Token.js.map +0 -1
  351. package/lib/auth/domain/UserSelfInformation.js.map +0 -1
  352. package/lib/common/requests/RestClient.js.map +0 -1
  353. package/lib/translation/common/Format.js.map +0 -1
  354. package/lib/translation/common/Product.js.map +0 -1
  355. package/lib/translation/common/Regions.js.map +0 -1
  356. package/lib/translation/common/Statuses.js.map +0 -1
  357. package/lib/translation/translate/request/TranslateBatchFileRequest.js.map +0 -1
  358. package/lib/translation/translate/request/TranslateFileRequest.js.map +0 -1
  359. package/lib/translation/translate/request/TranslateRequest.js.map +0 -1
  360. package/lib/translation/translate/request/TranslateTextRequest.js.map +0 -1
  361. package/lib/translation/translate/request/cloud/CloudTranslateBatchFileRequest.js.map +0 -1
  362. package/lib/translation/translate/request/cloud/CloudTranslateFileRequest.js.map +0 -1
  363. package/lib/translation/translate/request/cloud/CloudTranslateTextRequest.js.map +0 -1
  364. package/lib/translation/translate/request/edge/EdgeTranslateFileRequest.js.map +0 -1
  365. package/lib/translation/translate/request/edge/EdgeTranslateTextRequest.js.map +0 -1
  366. package/lib/translation/translate/response/AsyncTranslationResponse.js.map +0 -1
  367. package/lib/translation/translate/response/DictionaryResponse.js.map +0 -1
  368. package/lib/translation/translate/response/LanguagePair.js.map +0 -1
  369. package/lib/translation/translate/response/StatusTranslationResponse.js.map +0 -1
  370. package/lib/translation/translate/response/TranslationStatistics.js.map +0 -1
  371. package/lib/translation/translate/response/cloud/CloudDictionaryResponse.js.map +0 -1
  372. package/lib/translation/translate/response/cloud/CloudLanguagePair.js.map +0 -1
  373. package/lib/translation/translate/response/edge/EdgeAsyncTranslationResponse.js.map +0 -1
  374. package/lib/translation/translate/response/edge/EdgeDictionaryResponse.js.map +0 -1
  375. package/lib/translation/translate/response/edge/EdgeLanguagePair.js.map +0 -1
  376. package/lib/translation/translate/response/edge/EdgeStatusTranslationResponse.js.map +0 -1
  377. package/lib/translation/translate/response/edge/MemberPair.js.map +0 -1
  378. package/lib/translation/translate/response/edge/Profile.js.map +0 -1
  379. package/lib/translation/translate/response/edge/Result.js.map +0 -1
  380. package/lib/translation/translate/response/edge/Timestamps.js.map +0 -1
  381. package/lib/translation/translate/result/DictionariesResult.d.ts +0 -6
  382. package/lib/translation/translate/result/DictionariesResult.js +0 -19
  383. package/lib/translation/translate/result/DictionariesResult.js.map +0 -1
  384. package/lib/translation/translate/result/LanguagePairsResult.js.map +0 -1
  385. package/lib/translation/translate/result/TranslateTextResult.js.map +0 -1
  386. package/lib/translation/translate/result/TranslationBatchFileResult.js.map +0 -1
  387. package/lib/translation/translate/result/TranslationFileResult.js.map +0 -1
  388. package/lib/translation/translate/result/cloud/CloudDictionariesResult.d.ts +0 -18
  389. package/lib/translation/translate/result/cloud/CloudDictionariesResult.js +0 -59
  390. package/lib/translation/translate/result/cloud/CloudDictionariesResult.js.map +0 -1
  391. package/lib/translation/translate/result/cloud/CloudTranslationBatchFileResult.js.map +0 -1
  392. package/lib/translation/translate/result/edge/EdgeDictionariesResult.d.ts +0 -18
  393. package/lib/translation/translate/result/edge/EdgeDictionariesResult.js +0 -59
  394. package/lib/translation/translate/result/edge/EdgeDictionariesResult.js.map +0 -1
  395. package/lib/translation/translate/result/edge/EdgeTranslationBatchFileResult.js.map +0 -1
  396. package/lib/translation/translate/result/edge/EdgeTranslationTextResult.js.map +0 -1
  397. package/lib/translation/translate/utils/TranslateFileUtil.js.map +0 -1
@@ -0,0 +1,291 @@
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 QualityEstimation_1 = require("../../../../common/constants/QualityEstimation");
12
+ var CloudFeedbackApiModel = /** @class */ (function () {
13
+ function CloudFeedbackApiModel(feedback) {
14
+ if (feedback) {
15
+ this.toCloudFeedbackApiModel(feedback);
16
+ }
17
+ }
18
+ CloudFeedbackApiModel.prototype.toCloudResult = function () {
19
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m;
20
+ var result = new CloudFeedbackResult_1.default();
21
+ result.feedbackId = this.feedbackId;
22
+ result.sourceLanguageId = (_a = this.translation) === null || _a === void 0 ? void 0 : _a.sourceLanguageId;
23
+ result.targetLanguageId = (_b = this.translation) === null || _b === void 0 ? void 0 : _b.targetLanguageId;
24
+ result.model = (_c = this.translation) === null || _c === void 0 ? void 0 : _c.model;
25
+ result.sourceText = (_d = this.translation) === null || _d === void 0 ? void 0 : _d.sourceText;
26
+ result.targetText = (_e = this.translation) === null || _e === void 0 ? void 0 : _e.targetMTText;
27
+ result.selectedText = (_f = this.translation) === null || _f === void 0 ? void 0 : _f.selectedText;
28
+ result.translationMetadata = (_g = this.translation) === null || _g === void 0 ? void 0 : _g.metadata;
29
+ result.numberOfSegments = (_h = this.translation) === null || _h === void 0 ? void 0 : _h.numberOfSegments;
30
+ result.suggestedTranslation = (_j = this.improvement) === null || _j === void 0 ? void 0 : _j.text;
31
+ result.ratingScore = (_k = this.rating) === null || _k === void 0 ? void 0 : _k.score;
32
+ result.comments = (_l = this.rating) === null || _l === void 0 ? void 0 : _l.comments;
33
+ result.qualityEstimation = (0, QualityEstimation_1.getQualityEstimationByKey)(this.qualityEstimation);
34
+ result.qualityEstimationMT = (0, QualityEstimation_1.getQualityEstimationByKey)((_m = this.translation) === null || _m === void 0 ? void 0 : _m.qualityEstimationMT);
35
+ if (this.approval && this.approval.status) {
36
+ result.approvalState = (0, ApprovalStatus_1.getApprovalStatusByKey)(this.approval.status);
37
+ }
38
+ result.feedbackAuditData = this.getCloudFeedbackAuditData();
39
+ result.approvalAuditData = this.getCloudApprovalAuditData();
40
+ return result;
41
+ };
42
+ CloudFeedbackApiModel.prototype.toResult = function () {
43
+ var _a, _b, _c, _d, _e, _f, _g;
44
+ var result = new FeedbackResult_1.default();
45
+ result.feedbackId = this.feedbackId;
46
+ result.sourceLanguageId = (_a = this.translation) === null || _a === void 0 ? void 0 : _a.sourceLanguageId;
47
+ result.targetLanguageId = (_b = this.translation) === null || _b === void 0 ? void 0 : _b.targetLanguageId;
48
+ result.model = (_c = this.translation) === null || _c === void 0 ? void 0 : _c.model;
49
+ result.sourceText = (_d = this.translation) === null || _d === void 0 ? void 0 : _d.sourceText;
50
+ result.targetText = (_e = this.translation) === null || _e === void 0 ? void 0 : _e.targetMTText;
51
+ result.suggestedTranslation = (_f = this.improvement) === null || _f === void 0 ? void 0 : _f.text;
52
+ result.comments = (_g = this.rating) === null || _g === void 0 ? void 0 : _g.comments;
53
+ if (this.approval && this.approval.status) {
54
+ result.approvalState = (0, ApprovalStatus_1.getApprovalStatusByKey)(this.approval.status);
55
+ }
56
+ result.feedbackAuditData = this.getFeedbackAuditData();
57
+ result.approvalAuditData = this.getApprovalAuditData();
58
+ return result;
59
+ };
60
+ CloudFeedbackApiModel.prototype.toCloudFeedbackApiModel = function (feedback) {
61
+ this.feedbackId = feedback.feedbackId;
62
+ this.translation = feedback.translation;
63
+ this.improvement = feedback.improvement;
64
+ this.rating = feedback.rating;
65
+ this.qualityEstimation = feedback.qualityEstimation;
66
+ this.approval = feedback.approval;
67
+ this.createdByAccountId = feedback.createdByAccountId;
68
+ this.createdByClientId = feedback.createdByClientId;
69
+ this.createdByUserId = feedback.createdByUserId;
70
+ this.createdByUserEmail = feedback.createdByUserEmail;
71
+ this.creationDate = feedback.creationDate;
72
+ this.lastModifiedByAccountId = feedback.lastModifiedByAccountId;
73
+ this.lastModifiedByClientId = feedback.lastModifiedByClientId;
74
+ this.lastModifiedByUserId = feedback.lastModifiedByUserId;
75
+ this.lastModifiedByUserEmail = feedback.lastModifiedByUserEmail;
76
+ this.lastModifyDate = feedback.lastModifyDate;
77
+ };
78
+ CloudFeedbackApiModel.prototype.getCloudFeedbackAuditData = function () {
79
+ var feedbackAuditData = new CloudAuditData_1.default();
80
+ feedbackAuditData.createdByAccountId = this.createdByAccountId;
81
+ feedbackAuditData.createdByClientId = this.createdByClientId;
82
+ feedbackAuditData.createdByUserEmail = this.createdByUserEmail;
83
+ feedbackAuditData.createdByUserId = this.createdByUserId;
84
+ feedbackAuditData.creationDate = this.creationDate;
85
+ feedbackAuditData.lastModifiedByAccountId = this.lastModifiedByAccountId;
86
+ feedbackAuditData.lastModifiedByClientId = this.lastModifiedByClientId;
87
+ feedbackAuditData.lastModifiedByUserId = this.lastModifiedByUserId;
88
+ feedbackAuditData.lastModifiedByUserEmail = this.lastModifiedByUserEmail;
89
+ feedbackAuditData.lastModifyDate = this.lastModifyDate;
90
+ return feedbackAuditData;
91
+ };
92
+ CloudFeedbackApiModel.prototype.getFeedbackAuditData = function () {
93
+ var feedbackAuditData = new AuditData_1.default();
94
+ feedbackAuditData.createdByUserEmail = this.createdByUserEmail;
95
+ feedbackAuditData.creationDate = this.creationDate;
96
+ feedbackAuditData.lastModifiedByUserEmail = this.lastModifiedByUserEmail;
97
+ feedbackAuditData.lastModifyDate = this.lastModifyDate;
98
+ return feedbackAuditData;
99
+ };
100
+ CloudFeedbackApiModel.prototype.getCloudApprovalAuditData = function () {
101
+ if (this.approval) {
102
+ var approvalAuditData = new CloudAuditData_1.default();
103
+ approvalAuditData.createdByAccountId = this.approval.createdByAccountId;
104
+ approvalAuditData.createdByClientId = this.approval.createdByClientId;
105
+ approvalAuditData.createdByUserId = this.approval.createdByUserId;
106
+ approvalAuditData.createdByUserEmail = this.approval.createdByUserEmail;
107
+ approvalAuditData.creationDate = this.approval.creationDate;
108
+ approvalAuditData.lastModifiedByAccountId = this.approval.lastModifiedByAccountId;
109
+ approvalAuditData.lastModifiedByClientId = this.approval.lastModifiedByClientId;
110
+ approvalAuditData.lastModifiedByUserId = this.approval.lastModifiedByUserId;
111
+ approvalAuditData.lastModifiedByUserEmail = this.approval.lastModifiedByUserEmail;
112
+ approvalAuditData.lastModifyDate = this.approval.lastModifyDate;
113
+ return approvalAuditData;
114
+ }
115
+ return undefined;
116
+ };
117
+ CloudFeedbackApiModel.prototype.getApprovalAuditData = function () {
118
+ if (this.approval) {
119
+ var approvalAuditData = new AuditData_1.default();
120
+ approvalAuditData.createdByUserEmail = this.approval.createdByUserEmail;
121
+ approvalAuditData.creationDate = this.approval.creationDate;
122
+ approvalAuditData.lastModifiedByUserEmail = this.approval.lastModifiedByUserEmail;
123
+ approvalAuditData.lastModifyDate = this.approval.lastModifyDate;
124
+ return approvalAuditData;
125
+ }
126
+ return undefined;
127
+ };
128
+ Object.defineProperty(CloudFeedbackApiModel.prototype, "feedbackId", {
129
+ get: function () {
130
+ return this._feedbackId;
131
+ },
132
+ set: function (value) {
133
+ this._feedbackId = value;
134
+ },
135
+ enumerable: false,
136
+ configurable: true
137
+ });
138
+ Object.defineProperty(CloudFeedbackApiModel.prototype, "translation", {
139
+ get: function () {
140
+ return this._translation;
141
+ },
142
+ set: function (value) {
143
+ this._translation = value;
144
+ },
145
+ enumerable: false,
146
+ configurable: true
147
+ });
148
+ Object.defineProperty(CloudFeedbackApiModel.prototype, "improvement", {
149
+ get: function () {
150
+ return this._improvement;
151
+ },
152
+ set: function (value) {
153
+ this._improvement = value;
154
+ },
155
+ enumerable: false,
156
+ configurable: true
157
+ });
158
+ Object.defineProperty(CloudFeedbackApiModel.prototype, "rating", {
159
+ get: function () {
160
+ return this._rating;
161
+ },
162
+ set: function (value) {
163
+ this._rating = value;
164
+ },
165
+ enumerable: false,
166
+ configurable: true
167
+ });
168
+ Object.defineProperty(CloudFeedbackApiModel.prototype, "qualityEstimation", {
169
+ get: function () {
170
+ return this._qualityEstimation;
171
+ },
172
+ set: function (value) {
173
+ this._qualityEstimation = value;
174
+ },
175
+ enumerable: false,
176
+ configurable: true
177
+ });
178
+ Object.defineProperty(CloudFeedbackApiModel.prototype, "approval", {
179
+ get: function () {
180
+ return this._approval;
181
+ },
182
+ set: function (value) {
183
+ this._approval = value;
184
+ },
185
+ enumerable: false,
186
+ configurable: true
187
+ });
188
+ Object.defineProperty(CloudFeedbackApiModel.prototype, "createdByAccountId", {
189
+ get: function () {
190
+ return this._createdByAccountId;
191
+ },
192
+ set: function (value) {
193
+ this._createdByAccountId = value;
194
+ },
195
+ enumerable: false,
196
+ configurable: true
197
+ });
198
+ Object.defineProperty(CloudFeedbackApiModel.prototype, "createdByClientId", {
199
+ get: function () {
200
+ return this._createdByClientId;
201
+ },
202
+ set: function (value) {
203
+ this._createdByClientId = value;
204
+ },
205
+ enumerable: false,
206
+ configurable: true
207
+ });
208
+ Object.defineProperty(CloudFeedbackApiModel.prototype, "createdByUserId", {
209
+ get: function () {
210
+ return this._createdByUserId;
211
+ },
212
+ set: function (value) {
213
+ this._createdByUserId = value;
214
+ },
215
+ enumerable: false,
216
+ configurable: true
217
+ });
218
+ Object.defineProperty(CloudFeedbackApiModel.prototype, "createdByUserEmail", {
219
+ get: function () {
220
+ return this._createdByUserEmail;
221
+ },
222
+ set: function (value) {
223
+ this._createdByUserEmail = value;
224
+ },
225
+ enumerable: false,
226
+ configurable: true
227
+ });
228
+ Object.defineProperty(CloudFeedbackApiModel.prototype, "creationDate", {
229
+ get: function () {
230
+ return this._creationDate;
231
+ },
232
+ set: function (value) {
233
+ this._creationDate = value;
234
+ },
235
+ enumerable: false,
236
+ configurable: true
237
+ });
238
+ Object.defineProperty(CloudFeedbackApiModel.prototype, "lastModifiedByAccountId", {
239
+ get: function () {
240
+ return this._lastModifiedByAccountId;
241
+ },
242
+ set: function (value) {
243
+ this._lastModifiedByAccountId = value;
244
+ },
245
+ enumerable: false,
246
+ configurable: true
247
+ });
248
+ Object.defineProperty(CloudFeedbackApiModel.prototype, "lastModifiedByClientId", {
249
+ get: function () {
250
+ return this._lastModifiedByClientId;
251
+ },
252
+ set: function (value) {
253
+ this._lastModifiedByClientId = value;
254
+ },
255
+ enumerable: false,
256
+ configurable: true
257
+ });
258
+ Object.defineProperty(CloudFeedbackApiModel.prototype, "lastModifiedByUserId", {
259
+ get: function () {
260
+ return this._lastModifiedByUserId;
261
+ },
262
+ set: function (value) {
263
+ this._lastModifiedByUserId = value;
264
+ },
265
+ enumerable: false,
266
+ configurable: true
267
+ });
268
+ Object.defineProperty(CloudFeedbackApiModel.prototype, "lastModifiedByUserEmail", {
269
+ get: function () {
270
+ return this._lastModifiedByUserEmail;
271
+ },
272
+ set: function (value) {
273
+ this._lastModifiedByUserEmail = value;
274
+ },
275
+ enumerable: false,
276
+ configurable: true
277
+ });
278
+ Object.defineProperty(CloudFeedbackApiModel.prototype, "lastModifyDate", {
279
+ get: function () {
280
+ return this._lastModifyDate;
281
+ },
282
+ set: function (value) {
283
+ this._lastModifyDate = value;
284
+ },
285
+ enumerable: false,
286
+ configurable: true
287
+ });
288
+ return CloudFeedbackApiModel;
289
+ }());
290
+ exports.default = CloudFeedbackApiModel;
291
+ //# 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;AACrF,oFAA2F;AAE3F;IAmBI,+BAAY,QAAgC;QACxC,IAAI,QAAQ,EAAE;YACV,IAAI,CAAC,uBAAuB,CAAC,QAAQ,CAAC,CAAC;SAC1C;IACL,CAAC;IAED,6CAAa,GAAb;;QACI,IAAM,MAAM,GAAG,IAAI,6BAAmB,EAAE,CAAC;QACzC,MAAM,CAAC,UAAU,GAAG,IAAI,CAAC,UAAU,CAAC;QACpC,MAAM,CAAC,gBAAgB,GAAG,MAAA,IAAI,CAAC,WAAW,0CAAE,gBAAgB,CAAC;QAC7D,MAAM,CAAC,gBAAgB,GAAG,MAAA,IAAI,CAAC,WAAW,0CAAE,gBAAgB,CAAC;QAC7D,MAAM,CAAC,KAAK,GAAG,MAAA,IAAI,CAAC,WAAW,0CAAE,KAAK,CAAC;QACvC,MAAM,CAAC,UAAU,GAAG,MAAA,IAAI,CAAC,WAAW,0CAAE,UAAU,CAAC;QACjD,MAAM,CAAC,UAAU,GAAG,MAAA,IAAI,CAAC,WAAW,0CAAE,YAAY,CAAC;QACnD,MAAM,CAAC,YAAY,GAAG,MAAA,IAAI,CAAC,WAAW,0CAAE,YAAY,CAAC;QACrD,MAAM,CAAC,mBAAmB,GAAG,MAAA,IAAI,CAAC,WAAW,0CAAE,QAA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,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,AAnRD,IAmRC"}
@@ -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,I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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,7 @@
1
+ import CloudFeedbackApprovalUpdateRequest from './CloudFeedbackApprovalUpdateRequest';
2
+ export default class CloudFeedbackApprovalListUpdateRequest {
3
+ private _feedback;
4
+ get feedback(): CloudFeedbackApprovalUpdateRequest[];
5
+ set feedback(value: CloudFeedbackApprovalUpdateRequest[]);
6
+ addFeedback(feedback: CloudFeedbackApprovalUpdateRequest): CloudFeedbackApprovalListUpdateRequest;
7
+ }
@@ -0,0 +1,24 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ var CloudFeedbackApprovalListUpdateRequest = /** @class */ (function () {
4
+ function CloudFeedbackApprovalListUpdateRequest() {
5
+ this._feedback = [];
6
+ }
7
+ Object.defineProperty(CloudFeedbackApprovalListUpdateRequest.prototype, "feedback", {
8
+ get: function () {
9
+ return this._feedback;
10
+ },
11
+ set: function (value) {
12
+ this._feedback = value;
13
+ },
14
+ enumerable: false,
15
+ configurable: true
16
+ });
17
+ CloudFeedbackApprovalListUpdateRequest.prototype.addFeedback = function (feedback) {
18
+ this.feedback.push(feedback);
19
+ return this;
20
+ };
21
+ return CloudFeedbackApprovalListUpdateRequest;
22
+ }());
23
+ exports.default = CloudFeedbackApprovalListUpdateRequest;
24
+ //# sourceMappingURL=CloudFeedbackApprovalListUpdateRequest.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CloudFeedbackApprovalListUpdateRequest.js","sourceRoot":"","sources":["../../../../../src/translation/feedback/cloud/api/CloudFeedbackApprovalListUpdateRequest.ts"],"names":[],"mappings":";;AAEA;IAAA;QACY,cAAS,GAAyC,EAAE,CAAC;IAcjE,CAAC;IAZG,sBAAI,4DAAQ;aAAZ;YACI,OAAO,IAAI,CAAC,SAAS,CAAC;QAC1B,CAAC;aAED,UAAa,KAA2C;YACpD,IAAI,CAAC,SAAS,GAAG,KAAK,CAAC;QAC3B,CAAC;;;OAJA;IAMM,4DAAW,GAAlB,UAAmB,QAA4C;QAC3D,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC;QAC7B,OAAO,IAAI,CAAC;IAChB,CAAC;IACL,6CAAC;AAAD,CAAC,AAfD,IAeC"}
@@ -0,0 +1,9 @@
1
+ export default class CloudFeedbackApprovalUpdateRequest {
2
+ private _feedbackId;
3
+ private _status;
4
+ constructor(feedbackId: string | undefined, status: string | undefined);
5
+ get feedbackId(): string | undefined;
6
+ set feedbackId(value: string | undefined);
7
+ get status(): string | undefined;
8
+ set status(value: string | undefined);
9
+ }
@@ -0,0 +1,31 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ var CloudFeedbackApprovalUpdateRequest = /** @class */ (function () {
4
+ function CloudFeedbackApprovalUpdateRequest(feedbackId, status) {
5
+ this._feedbackId = feedbackId;
6
+ this._status = status;
7
+ }
8
+ Object.defineProperty(CloudFeedbackApprovalUpdateRequest.prototype, "feedbackId", {
9
+ get: function () {
10
+ return this._feedbackId;
11
+ },
12
+ set: function (value) {
13
+ this._feedbackId = value;
14
+ },
15
+ enumerable: false,
16
+ configurable: true
17
+ });
18
+ Object.defineProperty(CloudFeedbackApprovalUpdateRequest.prototype, "status", {
19
+ get: function () {
20
+ return this._status;
21
+ },
22
+ set: function (value) {
23
+ this._status = value;
24
+ },
25
+ enumerable: false,
26
+ configurable: true
27
+ });
28
+ return CloudFeedbackApprovalUpdateRequest;
29
+ }());
30
+ exports.default = CloudFeedbackApprovalUpdateRequest;
31
+ //# sourceMappingURL=CloudFeedbackApprovalUpdateRequest.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CloudFeedbackApprovalUpdateRequest.js","sourceRoot":"","sources":["../../../../../src/translation/feedback/cloud/api/CloudFeedbackApprovalUpdateRequest.ts"],"names":[],"mappings":";;AAAA;IAII,4CAAY,UAA8B,EAAE,MAA0B;QAClE,IAAI,CAAC,WAAW,GAAG,UAAU,CAAC;QAC9B,IAAI,CAAC,OAAO,GAAG,MAAM,CAAC;IAC1B,CAAC;IAED,sBAAI,0DAAU;aAAd;YACI,OAAO,IAAI,CAAC,WAAW,CAAC;QAC5B,CAAC;aAED,UAAe,KAAyB;YACpC,IAAI,CAAC,WAAW,GAAG,KAAK,CAAC;QAC7B,CAAC;;;OAJA;IAMD,sBAAI,sDAAM;aAAV;YACI,OAAO,IAAI,CAAC,OAAO,CAAC;QACxB,CAAC;aAED,UAAW,KAAyB;YAChC,IAAI,CAAC,OAAO,GAAG,KAAK,CAAC;QACzB,CAAC;;;OAJA;IAKL,yCAAC;AAAD,CAAC,AAxBD,IAwBC"}
@@ -0,0 +1,6 @@
1
+ export default class CloudFeedbackImprovement {
2
+ private _text;
3
+ constructor(text: string | undefined);
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,IAAwB;QAChC,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"],"names":[],"mappings":";;;;;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