@language-weaver/lw-sdk-js 1.1.0 → 2.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/common/constants/ApprovalStatus.d.ts +1 -1
- package/lib/common/constants/ApprovalStatus.js.map +1 -1
- package/lib/{translation/feedback/cloud/model → common/constants}/CloudFeedbackSortCriteria.d.ts +0 -0
- package/lib/{translation/feedback/cloud/model → common/constants}/CloudFeedbackSortCriteria.js +0 -0
- package/lib/common/constants/CloudFeedbackSortCriteria.js.map +1 -0
- package/lib/common/constants/Format.d.ts +1 -1
- package/lib/common/constants/Format.js +4 -1
- package/lib/common/constants/Format.js.map +1 -1
- package/lib/common/constants/FormatToMimeType.js +2 -0
- package/lib/common/constants/FormatToMimeType.js.map +1 -1
- package/lib/common/constants/PdfConverter.d.ts +15 -0
- package/lib/common/constants/PdfConverter.js +22 -0
- package/lib/common/constants/PdfConverter.js.map +1 -0
- package/lib/common/constants/QualityEstimation.d.ts +6 -0
- package/lib/common/constants/QualityEstimation.js +17 -0
- package/lib/common/constants/QualityEstimation.js.map +1 -0
- package/lib/common/constants/Statuses.d.ts +6 -0
- package/lib/common/constants/Statuses.js +7 -1
- package/lib/common/constants/Statuses.js.map +1 -1
- package/lib/common/constants/TranslationConstants.d.ts +20 -3
- package/lib/common/constants/TranslationConstants.js +25 -5
- package/lib/common/constants/TranslationConstants.js.map +1 -1
- package/lib/common/exceptions/ContentInsightsException.d.ts +4 -0
- package/lib/common/exceptions/ContentInsightsException.js +17 -0
- package/lib/common/exceptions/ContentInsightsException.js.map +1 -0
- package/lib/common/external/communication/RestClient.d.ts +1 -1
- package/lib/common/external/communication/RestClient.js +14 -16
- package/lib/common/external/communication/RestClient.js.map +1 -1
- package/lib/common/utils/HttpUtils.d.ts +1 -0
- package/lib/common/utils/HttpUtils.js +13 -0
- package/lib/common/utils/HttpUtils.js.map +1 -1
- package/lib/common/utils/Utils.d.ts +7 -0
- package/lib/common/utils/Utils.js +127 -0
- package/lib/common/utils/Utils.js.map +1 -1
- package/lib/index.d.ts +62 -19
- package/lib/index.js +104 -20
- package/lib/index.js.map +1 -1
- package/lib/translation/common/LanguageWeaverClient.d.ts +19 -2
- package/lib/translation/common/cloud/CloudLanguageWeaverClient.d.ts +45 -4
- package/lib/translation/common/cloud/CloudLanguageWeaverClient.js +239 -100
- package/lib/translation/common/cloud/CloudLanguageWeaverClient.js.map +1 -1
- package/lib/translation/common/edge/EdgeLanguageWeaverClient.d.ts +43 -6
- package/lib/translation/common/edge/EdgeLanguageWeaverClient.js +287 -150
- package/lib/translation/common/edge/EdgeLanguageWeaverClient.js.map +1 -1
- package/lib/translation/common/edge/utils/EdgeLanguagePairUtil.d.ts +1 -1
- package/lib/translation/common/edge/utils/EdgeLanguagePairUtil.js +1 -1
- package/lib/translation/common/edge/utils/EdgeLanguagePairUtil.js.map +1 -1
- package/lib/translation/content-insights/cloud/api/CloudContentInsightsResponse.d.ts +23 -0
- package/lib/translation/content-insights/cloud/api/CloudContentInsightsResponse.js +69 -0
- package/lib/translation/content-insights/cloud/api/CloudContentInsightsResponse.js.map +1 -0
- package/lib/translation/content-insights/cloud/api/CloudContentInsightsStatisticsApiModel.d.ts +10 -0
- package/lib/translation/content-insights/cloud/api/CloudContentInsightsStatisticsApiModel.js +39 -0
- package/lib/translation/content-insights/cloud/api/CloudContentInsightsStatisticsApiModel.js.map +1 -0
- package/lib/translation/content-insights/cloud/api/CloudCreateContentInsightsResponse.d.ts +12 -0
- package/lib/translation/content-insights/cloud/api/CloudCreateContentInsightsResponse.js +32 -0
- package/lib/translation/content-insights/cloud/api/CloudCreateContentInsightsResponse.js.map +1 -0
- package/lib/translation/content-insights/cloud/api/CloudCreateContentInsightsStatusResponse.d.ts +16 -0
- package/lib/translation/content-insights/cloud/api/CloudCreateContentInsightsStatusResponse.js +42 -0
- package/lib/translation/content-insights/cloud/api/CloudCreateContentInsightsStatusResponse.js.map +1 -0
- package/lib/translation/content-insights/cloud/api/CloudDocumentApiModel.d.ts +12 -0
- package/lib/translation/content-insights/cloud/api/CloudDocumentApiModel.js +39 -0
- package/lib/translation/content-insights/cloud/api/CloudDocumentApiModel.js.map +1 -0
- package/lib/translation/content-insights/cloud/api/CloudSegmentApiModel.d.ts +15 -0
- package/lib/translation/content-insights/cloud/api/CloudSegmentApiModel.js +57 -0
- package/lib/translation/content-insights/cloud/api/CloudSegmentApiModel.js.map +1 -0
- package/lib/translation/content-insights/cloud/api/CloudSummarizationApiModel.d.ts +13 -0
- package/lib/translation/content-insights/cloud/api/CloudSummarizationApiModel.js +46 -0
- package/lib/translation/content-insights/cloud/api/CloudSummarizationApiModel.js.map +1 -0
- package/lib/translation/content-insights/cloud/request/CloudContentInsightsRequest.d.ts +3 -0
- package/lib/translation/content-insights/cloud/request/CloudContentInsightsRequest.js +30 -0
- package/lib/translation/content-insights/cloud/request/CloudContentInsightsRequest.js.map +1 -0
- package/lib/translation/content-insights/cloud/request/CloudFileContentInsightsRequest.d.ts +8 -0
- package/lib/translation/content-insights/cloud/request/CloudFileContentInsightsRequest.js +29 -0
- package/lib/translation/content-insights/cloud/request/CloudFileContentInsightsRequest.js.map +1 -0
- package/lib/translation/content-insights/cloud/result/CloudContentInsightsResult.d.ts +16 -0
- package/lib/translation/content-insights/cloud/result/CloudContentInsightsResult.js +49 -0
- package/lib/translation/content-insights/cloud/result/CloudContentInsightsResult.js.map +1 -0
- package/lib/translation/content-insights/cloud/result/CloudContentInsightsStatistics.d.ts +8 -0
- package/lib/translation/content-insights/cloud/result/CloudContentInsightsStatistics.js +29 -0
- package/lib/translation/content-insights/cloud/result/CloudContentInsightsStatistics.js.map +1 -0
- package/lib/translation/content-insights/cloud/result/CloudSegment.d.ts +6 -0
- package/lib/translation/content-insights/cloud/result/CloudSegment.js +40 -0
- package/lib/translation/content-insights/cloud/result/CloudSegment.js.map +1 -0
- package/lib/translation/content-insights/cloud/result/CloudSummarization.d.ts +6 -0
- package/lib/translation/content-insights/cloud/result/CloudSummarization.js +19 -0
- package/lib/translation/content-insights/cloud/result/CloudSummarization.js.map +1 -0
- package/lib/translation/content-insights/cloud/service/CloudContentInsightsService.d.ts +20 -0
- package/lib/translation/content-insights/cloud/service/CloudContentInsightsService.js +248 -0
- package/lib/translation/content-insights/cloud/service/CloudContentInsightsService.js.map +1 -0
- package/lib/translation/content-insights/common/request/ContentInsightsRequest.d.ts +7 -0
- package/lib/translation/content-insights/common/request/ContentInsightsRequest.js +23 -0
- package/lib/translation/content-insights/common/request/ContentInsightsRequest.js.map +1 -0
- package/lib/translation/content-insights/common/result/ContentInsightsResult.d.ts +6 -0
- package/lib/translation/content-insights/common/result/ContentInsightsResult.js +19 -0
- package/lib/translation/content-insights/common/result/ContentInsightsResult.js.map +1 -0
- package/lib/translation/content-insights/common/result/Segment.d.ts +8 -0
- package/lib/translation/content-insights/common/result/Segment.js +29 -0
- package/lib/translation/content-insights/common/result/Segment.js.map +1 -0
- package/lib/translation/content-insights/common/result/Summarization.d.ts +8 -0
- package/lib/translation/content-insights/common/result/Summarization.js +25 -0
- package/lib/translation/content-insights/common/result/Summarization.js.map +1 -0
- package/lib/translation/content-insights/common/utils/ContentInsightsUtils.d.ts +4 -0
- package/lib/translation/content-insights/common/utils/ContentInsightsUtils.js +145 -0
- package/lib/translation/content-insights/common/utils/ContentInsightsUtils.js.map +1 -0
- package/lib/translation/content-insights/edge/api/EdgeContentInsightsResponse.d.ts +13 -0
- package/lib/translation/content-insights/edge/api/EdgeContentInsightsResponse.js +53 -0
- package/lib/translation/content-insights/edge/api/EdgeContentInsightsResponse.js.map +1 -0
- package/lib/translation/content-insights/edge/api/EdgeSegmentApiModel.d.ts +12 -0
- package/lib/translation/content-insights/edge/api/EdgeSegmentApiModel.js +46 -0
- package/lib/translation/content-insights/edge/api/EdgeSegmentApiModel.js.map +1 -0
- package/lib/translation/content-insights/edge/request/EdgeContentInsightsRequest.d.ts +5 -0
- package/lib/translation/content-insights/edge/request/EdgeContentInsightsRequest.js +19 -0
- package/lib/translation/content-insights/edge/request/EdgeContentInsightsRequest.js.map +1 -0
- package/lib/translation/content-insights/edge/result/EdgeContentInsightsResult.d.ts +9 -0
- package/lib/translation/content-insights/edge/result/EdgeContentInsightsResult.js +29 -0
- package/lib/translation/content-insights/edge/result/EdgeContentInsightsResult.js.map +1 -0
- package/lib/translation/content-insights/edge/result/EdgeSegment.d.ts +3 -0
- package/lib/translation/content-insights/edge/result/EdgeSegment.js +30 -0
- package/lib/translation/content-insights/edge/result/EdgeSegment.js.map +1 -0
- package/lib/translation/content-insights/edge/result/EdgeSummarization.d.ts +6 -0
- package/lib/translation/content-insights/edge/result/EdgeSummarization.js +19 -0
- package/lib/translation/content-insights/edge/result/EdgeSummarization.js.map +1 -0
- package/lib/translation/content-insights/edge/service/EdgeContentInsightsService.d.ts +14 -0
- package/lib/translation/content-insights/edge/service/EdgeContentInsightsService.js +96 -0
- package/lib/translation/content-insights/edge/service/EdgeContentInsightsService.js.map +1 -0
- package/lib/translation/dictionaries/cloud/api/CloudDictionariesResponse.d.ts +14 -0
- package/lib/translation/dictionaries/cloud/api/CloudDictionariesResponse.js +72 -0
- package/lib/translation/dictionaries/cloud/api/CloudDictionariesResponse.js.map +1 -0
- package/lib/translation/dictionaries/cloud/api/CloudDictionaryApiModel.d.ts +36 -0
- package/lib/translation/dictionaries/cloud/api/CloudDictionaryApiModel.js +136 -0
- package/lib/translation/dictionaries/cloud/api/CloudDictionaryApiModel.js.map +1 -0
- package/lib/translation/{translate → dictionaries}/cloud/result/CloudDictionariesResult.d.ts +3 -3
- package/lib/translation/{translate → dictionaries}/cloud/result/CloudDictionariesResult.js +0 -0
- package/lib/translation/dictionaries/cloud/result/CloudDictionariesResult.js.map +1 -0
- package/lib/translation/{translate/cloud/api/CloudDictionaryResponse.d.ts → dictionaries/cloud/result/CloudDictionary.d.ts} +1 -1
- package/lib/translation/{translate/cloud/api/CloudDictionaryResponse.js → dictionaries/cloud/result/CloudDictionary.js} +15 -15
- package/lib/translation/dictionaries/cloud/result/CloudDictionary.js.map +1 -0
- package/lib/translation/dictionaries/cloud/service/CloudDictionariesService.d.ts +15 -0
- package/lib/translation/dictionaries/cloud/service/CloudDictionariesService.js +51 -0
- package/lib/translation/dictionaries/cloud/service/CloudDictionariesService.js.map +1 -0
- package/lib/translation/dictionaries/common/result/DictionariesResult.d.ts +7 -0
- package/lib/translation/{translate → dictionaries}/common/result/DictionariesResult.js +0 -0
- package/lib/translation/dictionaries/common/result/DictionariesResult.js.map +1 -0
- package/lib/translation/{translate/common/api/DictionaryResponse.d.ts → dictionaries/common/result/Dictionary.d.ts} +1 -1
- package/lib/translation/{translate/common/api/DictionaryResponse.js → dictionaries/common/result/Dictionary.js} +8 -8
- package/lib/translation/dictionaries/common/result/Dictionary.js.map +1 -0
- package/lib/translation/dictionaries/edge/api/EdgeDictionariesResponse.d.ts +22 -0
- package/lib/translation/dictionaries/edge/api/EdgeDictionariesResponse.js +84 -0
- package/lib/translation/dictionaries/edge/api/EdgeDictionariesResponse.js.map +1 -0
- package/lib/translation/dictionaries/edge/api/EdgeDictionaryApiModel.d.ts +15 -0
- package/lib/translation/dictionaries/edge/api/EdgeDictionaryApiModel.js +58 -0
- package/lib/translation/dictionaries/edge/api/EdgeDictionaryApiModel.js.map +1 -0
- package/lib/translation/{translate → dictionaries}/edge/result/EdgeDictionariesResult.d.ts +3 -3
- package/lib/translation/{translate → dictionaries}/edge/result/EdgeDictionariesResult.js +0 -0
- package/lib/translation/dictionaries/edge/result/EdgeDictionariesResult.js.map +1 -0
- package/lib/translation/{translate/edge/api/EdgeDictionaryResponse.d.ts → dictionaries/edge/result/EdgeDictionary.d.ts} +1 -1
- package/lib/translation/{translate/edge/api/EdgeDictionaryResponse.js → dictionaries/edge/result/EdgeDictionary.js} +8 -8
- package/lib/translation/dictionaries/edge/result/EdgeDictionary.js.map +1 -0
- package/lib/translation/dictionaries/edge/service/EdgeDictionariesService.d.ts +12 -0
- package/lib/translation/dictionaries/edge/service/EdgeDictionariesService.js +51 -0
- package/lib/translation/dictionaries/edge/service/EdgeDictionariesService.js.map +1 -0
- package/lib/translation/feedback/cloud/api/CloudFeedbackApiModel.d.ts +4 -3
- package/lib/translation/feedback/cloud/api/CloudFeedbackApiModel.js +28 -23
- package/lib/translation/feedback/cloud/api/CloudFeedbackApiModel.js.map +1 -1
- package/lib/translation/feedback/cloud/api/CloudFeedbackApprovalListUpdateRequest.d.ts +7 -0
- package/lib/translation/feedback/cloud/api/CloudFeedbackApprovalListUpdateRequest.js +24 -0
- package/lib/translation/feedback/cloud/api/CloudFeedbackApprovalListUpdateRequest.js.map +1 -0
- package/lib/translation/feedback/cloud/api/CloudFeedbackApprovalUpdateRequest.d.ts +9 -0
- package/lib/translation/feedback/cloud/api/CloudFeedbackApprovalUpdateRequest.js +31 -0
- package/lib/translation/feedback/cloud/api/CloudFeedbackApprovalUpdateRequest.js.map +1 -0
- package/lib/translation/feedback/cloud/api/CloudFeedbackImprovement.d.ts +1 -1
- package/lib/translation/feedback/cloud/api/CloudFeedbackImprovement.js.map +1 -1
- package/lib/translation/feedback/cloud/api/CloudFeedbackRating.js +6 -1
- package/lib/translation/feedback/cloud/api/CloudFeedbackRating.js.map +1 -1
- package/lib/translation/feedback/cloud/api/CloudFilterFeedbackApiRequest.js +4 -4
- package/lib/translation/feedback/cloud/api/CloudFilterFeedbackApiRequest.js.map +1 -1
- package/lib/translation/feedback/cloud/api/CloudTranslationFeedback.d.ts +3 -0
- package/lib/translation/feedback/cloud/api/CloudTranslationFeedback.js +10 -0
- package/lib/translation/feedback/cloud/api/CloudTranslationFeedback.js.map +1 -1
- package/lib/translation/feedback/cloud/request/CloudCreateFeedbackRequest.d.ts +21 -0
- package/lib/translation/feedback/cloud/request/CloudCreateFeedbackRequest.js +104 -0
- package/lib/translation/feedback/cloud/request/CloudCreateFeedbackRequest.js.map +1 -0
- package/lib/translation/feedback/cloud/request/CloudDeleteFeedbackRequest.d.ts +3 -0
- package/lib/translation/feedback/cloud/request/CloudDeleteFeedbackRequest.js +30 -0
- package/lib/translation/feedback/cloud/request/CloudDeleteFeedbackRequest.js.map +1 -0
- package/lib/translation/feedback/cloud/request/CloudFeedbackSortRequest.d.ts +1 -1
- package/lib/translation/feedback/cloud/request/CloudUpdateFeedbackApprovalRequest.d.ts +3 -0
- package/lib/translation/feedback/cloud/request/CloudUpdateFeedbackApprovalRequest.js +30 -0
- package/lib/translation/feedback/cloud/request/CloudUpdateFeedbackApprovalRequest.js.map +1 -0
- package/lib/translation/feedback/cloud/request/CloudUpdateFeedbackRequest.d.ts +15 -0
- package/lib/translation/feedback/cloud/request/CloudUpdateFeedbackRequest.js +77 -0
- package/lib/translation/feedback/cloud/request/CloudUpdateFeedbackRequest.js.map +1 -0
- package/lib/translation/feedback/cloud/{model → result}/CloudAuditData.d.ts +1 -1
- package/lib/translation/feedback/cloud/{model → result}/CloudAuditData.js +1 -1
- package/lib/translation/feedback/cloud/result/CloudAuditData.js.map +1 -0
- package/lib/translation/feedback/cloud/result/CloudFeedbackResult.d.ts +7 -3
- package/lib/translation/feedback/cloud/result/CloudFeedbackResult.js +10 -0
- package/lib/translation/feedback/cloud/result/CloudFeedbackResult.js.map +1 -1
- package/lib/translation/feedback/cloud/service/CloudFeedbackService.d.ts +21 -0
- package/lib/translation/feedback/cloud/service/CloudFeedbackService.js +111 -1
- package/lib/translation/feedback/cloud/service/CloudFeedbackService.js.map +1 -1
- package/lib/translation/feedback/cloud/validator/CloudFeedbackValidator.d.ts +9 -0
- package/lib/translation/feedback/cloud/{validators → validator}/CloudFeedbackValidator.js +20 -1
- package/lib/translation/feedback/cloud/validator/CloudFeedbackValidator.js.map +1 -0
- package/lib/translation/feedback/common/request/CreateFeedbackRequest.d.ts +29 -0
- package/lib/translation/feedback/common/request/CreateFeedbackRequest.js +123 -0
- package/lib/translation/feedback/common/request/CreateFeedbackRequest.js.map +1 -0
- package/lib/translation/feedback/common/request/DeleteFeedbackRequest.d.ts +5 -0
- package/lib/translation/feedback/common/request/DeleteFeedbackRequest.js +19 -0
- package/lib/translation/feedback/common/request/DeleteFeedbackRequest.js.map +1 -0
- package/lib/translation/feedback/common/request/FilterFeedbackRequest.d.ts +4 -4
- package/lib/translation/feedback/common/request/FilterFeedbackRequest.js.map +1 -1
- package/lib/translation/feedback/common/request/UpdateFeedbackApprovalRequest.d.ts +9 -0
- package/lib/translation/feedback/common/request/UpdateFeedbackApprovalRequest.js +29 -0
- package/lib/translation/feedback/common/request/UpdateFeedbackApprovalRequest.js.map +1 -0
- package/lib/translation/feedback/common/request/UpdateFeedbackRequest.d.ts +19 -0
- package/lib/translation/feedback/common/request/UpdateFeedbackRequest.js +80 -0
- package/lib/translation/feedback/common/request/UpdateFeedbackRequest.js.map +1 -0
- package/lib/translation/feedback/common/{model → result}/AuditData.d.ts +0 -0
- package/lib/translation/feedback/common/{model → result}/AuditData.js +0 -0
- package/lib/translation/feedback/common/result/AuditData.js.map +1 -0
- package/lib/translation/feedback/common/result/FeedbackResult.d.ts +3 -1
- package/lib/translation/feedback/common/result/FeedbackResult.js +8 -0
- package/lib/translation/feedback/common/result/FeedbackResult.js.map +1 -1
- package/lib/translation/feedback/common/validator/FeedbackValidator.d.ts +10 -0
- package/lib/translation/feedback/common/validator/FeedbackValidator.js +38 -0
- package/lib/translation/feedback/common/validator/FeedbackValidator.js.map +1 -0
- package/lib/translation/feedback/edge/api/EdgeFeedbackApiModel.d.ts +3 -2
- package/lib/translation/feedback/edge/api/EdgeFeedbackApiModel.js +43 -15
- package/lib/translation/feedback/edge/api/EdgeFeedbackApiModel.js.map +1 -1
- package/lib/translation/feedback/edge/request/EdgeCreateFeedbackRequest.d.ts +12 -0
- package/lib/translation/feedback/edge/request/EdgeCreateFeedbackRequest.js +63 -0
- package/lib/translation/feedback/edge/request/EdgeCreateFeedbackRequest.js.map +1 -0
- package/lib/translation/feedback/edge/request/EdgeDeleteFeedbackRequest.d.ts +3 -0
- package/lib/translation/feedback/edge/request/EdgeDeleteFeedbackRequest.js +30 -0
- package/lib/translation/feedback/edge/request/EdgeDeleteFeedbackRequest.js.map +1 -0
- package/lib/translation/feedback/edge/request/EdgeUpdateFeedbackApprovalRequest.d.ts +3 -0
- package/lib/translation/feedback/edge/request/EdgeUpdateFeedbackApprovalRequest.js +30 -0
- package/lib/translation/feedback/edge/request/EdgeUpdateFeedbackApprovalRequest.js.map +1 -0
- package/lib/translation/feedback/edge/request/EdgeUpdateFeedbackRequest.d.ts +9 -0
- package/lib/translation/feedback/edge/request/EdgeUpdateFeedbackRequest.js +50 -0
- package/lib/translation/feedback/edge/request/EdgeUpdateFeedbackRequest.js.map +1 -0
- package/lib/translation/feedback/edge/service/EdgeFeedbackService.d.ts +22 -0
- package/lib/translation/feedback/edge/service/EdgeFeedbackService.js +100 -3
- package/lib/translation/feedback/edge/service/EdgeFeedbackService.js.map +1 -1
- package/lib/translation/feedback/edge/validator/EdgeFeedbackValidator.d.ts +3 -0
- package/lib/translation/feedback/edge/{validators → validator}/EdgeFeedbackValidator.js +1 -1
- package/lib/translation/feedback/edge/validator/EdgeFeedbackValidator.js.map +1 -0
- package/lib/translation/language-pairs/cloud/api/CloudLanguagePairApiModel.d.ts +21 -0
- package/lib/translation/language-pairs/cloud/api/CloudLanguagePairApiModel.js +81 -0
- package/lib/translation/language-pairs/cloud/api/CloudLanguagePairApiModel.js.map +1 -0
- package/lib/translation/language-pairs/cloud/api/CloudLanguagePairsResponse.d.ts +13 -0
- package/lib/translation/language-pairs/cloud/api/CloudLanguagePairsResponse.js +47 -0
- package/lib/translation/language-pairs/cloud/api/CloudLanguagePairsResponse.js.map +1 -0
- package/lib/translation/{translate/cloud/api → language-pairs/cloud/result}/CloudLanguagePair.d.ts +2 -0
- package/lib/translation/{translate/cloud/api → language-pairs/cloud/result}/CloudLanguagePair.js +11 -0
- package/lib/translation/language-pairs/cloud/result/CloudLanguagePair.js.map +1 -0
- package/lib/translation/{translate → language-pairs}/cloud/result/CloudLanguagePairsResult.d.ts +1 -1
- package/lib/translation/{translate → language-pairs}/cloud/result/CloudLanguagePairsResult.js +0 -0
- package/lib/translation/language-pairs/cloud/result/CloudLanguagePairsResult.js.map +1 -0
- package/lib/translation/language-pairs/cloud/service/CloudLanguagePairsService.d.ts +15 -0
- package/lib/translation/language-pairs/cloud/service/CloudLanguagePairsService.js +45 -0
- package/lib/translation/language-pairs/cloud/service/CloudLanguagePairsService.js.map +1 -0
- package/lib/translation/language-pairs/common/result/LanguagePair.d.ts +16 -0
- package/lib/translation/{translate/common/api → language-pairs/common/result}/LanguagePair.js +11 -0
- package/lib/translation/language-pairs/common/result/LanguagePair.js.map +1 -0
- package/lib/translation/{translate → language-pairs}/common/result/LanguagePairsResult.d.ts +1 -1
- package/lib/translation/{translate → language-pairs}/common/result/LanguagePairsResult.js +0 -0
- package/lib/translation/language-pairs/common/result/LanguagePairsResult.js.map +1 -0
- package/lib/translation/language-pairs/edge/api/EdgeLanguagePairApiModel.d.ts +17 -0
- package/lib/translation/language-pairs/edge/api/EdgeLanguagePairApiModel.js +89 -0
- package/lib/translation/language-pairs/edge/api/EdgeLanguagePairApiModel.js.map +1 -0
- package/lib/translation/language-pairs/edge/api/EdgeLanguagePairsApiModel.d.ts +10 -0
- package/lib/translation/language-pairs/edge/api/EdgeLanguagePairsApiModel.js +37 -0
- package/lib/translation/language-pairs/edge/api/EdgeLanguagePairsApiModel.js.map +1 -0
- package/lib/translation/language-pairs/edge/api/MemberPairApiModel.d.ts +31 -0
- package/lib/translation/language-pairs/edge/api/MemberPairApiModel.js +116 -0
- package/lib/translation/language-pairs/edge/api/MemberPairApiModel.js.map +1 -0
- package/lib/translation/language-pairs/edge/result/EdgeLanguagePair.d.ts +15 -0
- package/lib/translation/{translate/edge/api → language-pairs/edge/result}/EdgeLanguagePair.js +20 -0
- package/lib/translation/language-pairs/edge/result/EdgeLanguagePair.js.map +1 -0
- package/lib/translation/{translate → language-pairs}/edge/result/EdgeLanguagePairsResult.d.ts +1 -1
- package/lib/translation/{translate → language-pairs}/edge/result/EdgeLanguagePairsResult.js +0 -0
- package/lib/translation/language-pairs/edge/result/EdgeLanguagePairsResult.js.map +1 -0
- package/lib/translation/{translate/edge/api → language-pairs/edge/result}/MemberPair.d.ts +0 -0
- package/lib/translation/{translate/edge/api → language-pairs/edge/result}/MemberPair.js +0 -0
- package/lib/translation/language-pairs/edge/result/MemberPair.js.map +1 -0
- package/lib/translation/language-pairs/edge/service/EdgeLanguagePairsService.d.ts +14 -0
- package/lib/translation/language-pairs/edge/service/EdgeLanguagePairsService.js +80 -0
- package/lib/translation/language-pairs/edge/service/EdgeLanguagePairsService.js.map +1 -0
- package/lib/translation/linguistic-options/cloud/api/CloudLinguisticOptionApiModel.d.ts +13 -0
- package/lib/translation/linguistic-options/cloud/api/CloudLinguisticOptionApiModel.js +68 -0
- package/lib/translation/linguistic-options/cloud/api/CloudLinguisticOptionApiModel.js.map +1 -0
- package/lib/translation/linguistic-options/cloud/api/CloudLinguisticOptionsResponse.d.ts +6 -0
- package/lib/translation/linguistic-options/cloud/api/CloudLinguisticOptionsResponse.js +19 -0
- package/lib/translation/linguistic-options/cloud/api/CloudLinguisticOptionsResponse.js.map +1 -0
- package/lib/translation/linguistic-options/cloud/request/CloudGetLinguisticOptionsRequest.d.ts +3 -0
- package/lib/translation/linguistic-options/cloud/request/CloudGetLinguisticOptionsRequest.js +30 -0
- package/lib/translation/linguistic-options/cloud/request/CloudGetLinguisticOptionsRequest.js.map +1 -0
- package/lib/translation/linguistic-options/cloud/result/CloudLinguisticOption.d.ts +10 -0
- package/lib/translation/linguistic-options/cloud/result/CloudLinguisticOption.js +57 -0
- package/lib/translation/linguistic-options/cloud/result/CloudLinguisticOption.js.map +1 -0
- package/lib/translation/linguistic-options/cloud/result/CloudLinguisticOptionsResult.d.ts +6 -0
- package/lib/translation/linguistic-options/cloud/result/CloudLinguisticOptionsResult.js +19 -0
- package/lib/translation/linguistic-options/cloud/result/CloudLinguisticOptionsResult.js.map +1 -0
- package/lib/translation/linguistic-options/cloud/service/CloudLinguisticOptionsService.d.ts +19 -0
- package/lib/translation/linguistic-options/cloud/service/CloudLinguisticOptionsService.js +72 -0
- package/lib/translation/linguistic-options/cloud/service/CloudLinguisticOptionsService.js.map +1 -0
- package/lib/translation/linguistic-options/cloud/validator/CloudLinguisticOptionsValidator.d.ts +3 -0
- package/lib/translation/linguistic-options/cloud/validator/CloudLinguisticOptionsValidator.js +30 -0
- package/lib/translation/linguistic-options/cloud/validator/CloudLinguisticOptionsValidator.js.map +1 -0
- package/lib/translation/linguistic-options/common/api/LinguisticOptionApiModel.d.ts +11 -0
- package/lib/translation/linguistic-options/common/api/LinguisticOptionApiModel.js +39 -0
- package/lib/translation/linguistic-options/common/api/LinguisticOptionApiModel.js.map +1 -0
- package/lib/translation/{translate/common/api/LanguagePair.d.ts → linguistic-options/common/request/GetLinguisticOptionsRequest.d.ts} +1 -4
- package/lib/translation/linguistic-options/common/request/GetLinguisticOptionsRequest.js +39 -0
- package/lib/translation/linguistic-options/common/request/GetLinguisticOptionsRequest.js.map +1 -0
- package/lib/translation/linguistic-options/common/result/LinguisticOption.d.ts +11 -0
- package/lib/translation/linguistic-options/common/result/LinguisticOption.js +39 -0
- package/lib/translation/linguistic-options/common/result/LinguisticOption.js.map +1 -0
- package/lib/translation/linguistic-options/common/result/LinguisticOptionsResult.d.ts +6 -0
- package/lib/translation/linguistic-options/common/result/LinguisticOptionsResult.js +19 -0
- package/lib/translation/linguistic-options/common/result/LinguisticOptionsResult.js.map +1 -0
- package/lib/translation/linguistic-options/common/validator/LinguisticOptionsValidator.d.ts +4 -0
- package/lib/translation/linguistic-options/common/validator/LinguisticOptionsValidator.js +25 -0
- package/lib/translation/linguistic-options/common/validator/LinguisticOptionsValidator.js.map +1 -0
- package/lib/translation/linguistic-options/edge/api/EdgeLinguisticOptionApiModel.d.ts +7 -0
- package/lib/translation/linguistic-options/edge/api/EdgeLinguisticOptionApiModel.js +46 -0
- package/lib/translation/linguistic-options/edge/api/EdgeLinguisticOptionApiModel.js.map +1 -0
- package/lib/translation/linguistic-options/edge/api/EdgeLinguisticOptionsResponse.d.ts +6 -0
- package/lib/translation/linguistic-options/edge/api/EdgeLinguisticOptionsResponse.js +19 -0
- package/lib/translation/linguistic-options/edge/api/EdgeLinguisticOptionsResponse.js.map +1 -0
- package/lib/translation/linguistic-options/edge/request/EdgeGetLinguisticOptionsRequest.d.ts +9 -0
- package/lib/translation/linguistic-options/edge/request/EdgeGetLinguisticOptionsRequest.js +50 -0
- package/lib/translation/linguistic-options/edge/request/EdgeGetLinguisticOptionsRequest.js.map +1 -0
- package/lib/translation/linguistic-options/edge/result/EdgeLinguisticOption.d.ts +4 -0
- package/lib/translation/linguistic-options/edge/result/EdgeLinguisticOption.js +37 -0
- package/lib/translation/linguistic-options/edge/result/EdgeLinguisticOption.js.map +1 -0
- package/lib/translation/linguistic-options/edge/result/EdgeLinguisticOptionsResult.d.ts +6 -0
- package/lib/translation/linguistic-options/edge/result/EdgeLinguisticOptionsResult.js +19 -0
- package/lib/translation/linguistic-options/edge/result/EdgeLinguisticOptionsResult.js.map +1 -0
- package/lib/translation/linguistic-options/edge/service/EdgeLinguisticOptionsService.d.ts +18 -0
- package/lib/translation/linguistic-options/edge/service/EdgeLinguisticOptionsService.js +101 -0
- package/lib/translation/linguistic-options/edge/service/EdgeLinguisticOptionsService.js.map +1 -0
- package/lib/translation/linguistic-options/edge/validator/EdgeLinguisticOptionsValidator.d.ts +3 -0
- package/lib/translation/linguistic-options/edge/validator/EdgeLinguisticOptionsValidator.js +30 -0
- package/lib/translation/linguistic-options/edge/validator/EdgeLinguisticOptionsValidator.js.map +1 -0
- package/lib/translation/translate/cloud/request/CloudRetrieveFileRequest.d.ts +3 -0
- package/lib/translation/translate/cloud/request/CloudRetrieveFileRequest.js +30 -0
- package/lib/translation/translate/cloud/request/CloudRetrieveFileRequest.js.map +1 -0
- package/lib/translation/translate/cloud/request/CloudTranslateTextRequest.d.ts +3 -0
- package/lib/translation/translate/cloud/request/CloudTranslateTextRequest.js +21 -0
- package/lib/translation/translate/cloud/request/CloudTranslateTextRequest.js.map +1 -1
- package/lib/translation/translate/cloud/request/CloudTranslateTextRequestApiModel.d.ts +26 -0
- package/lib/translation/translate/cloud/request/CloudTranslateTextRequestApiModel.js +80 -0
- package/lib/translation/translate/cloud/request/CloudTranslateTextRequestApiModel.js.map +1 -0
- package/lib/translation/translate/cloud/result/CloudTranslationFileResult.d.ts +0 -3
- package/lib/translation/translate/cloud/result/CloudTranslationFileResult.js +0 -10
- package/lib/translation/translate/cloud/result/CloudTranslationFileResult.js.map +1 -1
- package/lib/translation/translate/cloud/result/CloudTranslationTextResult.d.ts +3 -3
- package/lib/translation/translate/cloud/result/CloudTranslationTextResult.js +3 -3
- package/lib/translation/translate/cloud/result/CloudTranslationTextResult.js.map +1 -1
- package/lib/translation/translate/common/request/RetrieveFileRequest.d.ts +11 -0
- package/lib/translation/translate/common/request/RetrieveFileRequest.js +39 -0
- package/lib/translation/translate/common/request/RetrieveFileRequest.js.map +1 -0
- package/lib/translation/translate/common/request/TranslateBatchFileRequest.d.ts +7 -0
- package/lib/translation/translate/common/request/TranslateBatchFileRequest.js +20 -7
- package/lib/translation/translate/common/request/TranslateBatchFileRequest.js.map +1 -1
- package/lib/translation/translate/common/request/TranslateFileRequest.d.ts +4 -0
- package/lib/translation/translate/common/request/TranslateFileRequest.js +10 -0
- package/lib/translation/translate/common/request/TranslateFileRequest.js.map +1 -1
- package/lib/translation/translate/common/request/TranslateRequest.d.ts +3 -0
- package/lib/translation/translate/common/request/TranslateRequest.js +10 -0
- package/lib/translation/translate/common/request/TranslateRequest.js.map +1 -1
- package/lib/translation/translate/common/request/TranslateTextRequest.d.ts +3 -1
- package/lib/translation/translate/common/request/TranslateTextRequest.js +9 -1
- package/lib/translation/translate/common/request/TranslateTextRequest.js.map +1 -1
- package/lib/translation/translate/common/result/TranslationFileResult.d.ts +6 -0
- package/lib/translation/translate/common/result/TranslationFileResult.js +20 -0
- package/lib/translation/translate/common/result/TranslationFileResult.js.map +1 -1
- package/lib/translation/translate/common/utils/TranslateFileUtil.d.ts +3 -1
- package/lib/translation/translate/common/utils/TranslateFileUtil.js +26 -53
- package/lib/translation/translate/common/utils/TranslateFileUtil.js.map +1 -1
- package/lib/translation/translate/edge/request/EdgeRetrieveFileRequest.d.ts +7 -0
- package/lib/translation/translate/edge/request/EdgeRetrieveFileRequest.js +40 -0
- package/lib/translation/translate/edge/request/EdgeRetrieveFileRequest.js.map +1 -0
- package/lib/translation/translate/edge/request/EdgeTranslateFileRequest.d.ts +2 -0
- package/lib/translation/translate/edge/request/EdgeTranslateFileRequest.js +16 -0
- package/lib/translation/translate/edge/request/EdgeTranslateFileRequest.js.map +1 -1
- package/lib/translation/translate/edge/request/EdgeTranslateRequest.d.ts +29 -0
- package/lib/translation/translate/edge/request/EdgeTranslateRequest.js +109 -0
- package/lib/translation/translate/edge/request/EdgeTranslateRequest.js.map +1 -0
- package/lib/translation/translate/edge/request/EdgeTranslateTextRequest.d.ts +2 -0
- package/lib/translation/translate/edge/request/EdgeTranslateTextRequest.js +16 -0
- package/lib/translation/translate/edge/request/EdgeTranslateTextRequest.js.map +1 -1
- package/lib/translation/translate/edge/result/EdgeTranslationFileResult.d.ts +0 -3
- package/lib/translation/translate/edge/result/EdgeTranslationFileResult.js +0 -10
- package/lib/translation/translate/edge/result/EdgeTranslationFileResult.js.map +1 -1
- package/lib/version.d.ts +1 -1
- package/lib/version.js +1 -1
- package/package.json +2 -2
- package/lib/translation/feedback/cloud/model/CloudAuditData.js.map +0 -1
- package/lib/translation/feedback/cloud/model/CloudFeedbackSortCriteria.js.map +0 -1
- package/lib/translation/feedback/cloud/validators/CloudFeedbackValidator.d.ts +0 -5
- package/lib/translation/feedback/cloud/validators/CloudFeedbackValidator.js.map +0 -1
- package/lib/translation/feedback/common/model/AuditData.js.map +0 -1
- package/lib/translation/feedback/common/validators/FeedbackValidator.d.ts +0 -2
- package/lib/translation/feedback/common/validators/FeedbackValidator.js +0 -9
- package/lib/translation/feedback/common/validators/FeedbackValidator.js.map +0 -1
- package/lib/translation/feedback/edge/validators/EdgeFeedbackValidator.d.ts +0 -3
- package/lib/translation/feedback/edge/validators/EdgeFeedbackValidator.js.map +0 -1
- package/lib/translation/translate/cloud/api/CloudDictionaryResponse.js.map +0 -1
- package/lib/translation/translate/cloud/api/CloudLanguagePair.js.map +0 -1
- package/lib/translation/translate/cloud/result/CloudDictionariesResult.js.map +0 -1
- package/lib/translation/translate/cloud/result/CloudLanguagePairsResult.js.map +0 -1
- package/lib/translation/translate/common/api/DictionaryResponse.js.map +0 -1
- package/lib/translation/translate/common/api/LanguagePair.js.map +0 -1
- package/lib/translation/translate/common/result/DictionariesResult.d.ts +0 -7
- package/lib/translation/translate/common/result/DictionariesResult.js.map +0 -1
- package/lib/translation/translate/common/result/LanguagePairsResult.js.map +0 -1
- package/lib/translation/translate/edge/api/EdgeDictionaryResponse.js.map +0 -1
- package/lib/translation/translate/edge/api/EdgeLanguagePair.d.ts +0 -9
- package/lib/translation/translate/edge/api/EdgeLanguagePair.js.map +0 -1
- package/lib/translation/translate/edge/api/MemberPair.js.map +0 -1
- package/lib/translation/translate/edge/result/EdgeDictionariesResult.js.map +0 -1
- package/lib/translation/translate/edge/result/EdgeLanguagePairsResult.js.map +0 -1
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import EdgeDictionary from '../result/EdgeDictionary';
|
|
2
|
+
import Dictionary from '../../common/result/Dictionary';
|
|
3
|
+
export default class EdgeDictionaryApiModel {
|
|
4
|
+
private _dictionaryId;
|
|
5
|
+
private _sourceLanguageId;
|
|
6
|
+
private _targetLanguageId;
|
|
7
|
+
get dictionaryId(): string | undefined;
|
|
8
|
+
set dictionaryId(value: string | undefined);
|
|
9
|
+
get sourceLanguageId(): string | undefined;
|
|
10
|
+
set sourceLanguageId(value: string | undefined);
|
|
11
|
+
get targetLanguageId(): string | undefined;
|
|
12
|
+
set targetLanguageId(value: string | undefined);
|
|
13
|
+
toEdgeDictionary(): EdgeDictionary;
|
|
14
|
+
toDictionary(): Dictionary;
|
|
15
|
+
}
|
|
@@ -0,0 +1,58 @@
|
|
|
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 EdgeDictionary_1 = __importDefault(require("../result/EdgeDictionary"));
|
|
7
|
+
var Dictionary_1 = __importDefault(require("../../common/result/Dictionary"));
|
|
8
|
+
var EdgeDictionaryApiModel = /** @class */ (function () {
|
|
9
|
+
function EdgeDictionaryApiModel() {
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(EdgeDictionaryApiModel.prototype, "dictionaryId", {
|
|
12
|
+
get: function () {
|
|
13
|
+
return this._dictionaryId;
|
|
14
|
+
},
|
|
15
|
+
set: function (value) {
|
|
16
|
+
this._dictionaryId = value;
|
|
17
|
+
},
|
|
18
|
+
enumerable: false,
|
|
19
|
+
configurable: true
|
|
20
|
+
});
|
|
21
|
+
Object.defineProperty(EdgeDictionaryApiModel.prototype, "sourceLanguageId", {
|
|
22
|
+
get: function () {
|
|
23
|
+
return this._sourceLanguageId;
|
|
24
|
+
},
|
|
25
|
+
set: function (value) {
|
|
26
|
+
this._sourceLanguageId = value;
|
|
27
|
+
},
|
|
28
|
+
enumerable: false,
|
|
29
|
+
configurable: true
|
|
30
|
+
});
|
|
31
|
+
Object.defineProperty(EdgeDictionaryApiModel.prototype, "targetLanguageId", {
|
|
32
|
+
get: function () {
|
|
33
|
+
return this._targetLanguageId;
|
|
34
|
+
},
|
|
35
|
+
set: function (value) {
|
|
36
|
+
this._targetLanguageId = value;
|
|
37
|
+
},
|
|
38
|
+
enumerable: false,
|
|
39
|
+
configurable: true
|
|
40
|
+
});
|
|
41
|
+
EdgeDictionaryApiModel.prototype.toEdgeDictionary = function () {
|
|
42
|
+
var edgeDictionary = new EdgeDictionary_1.default();
|
|
43
|
+
edgeDictionary.dictionaryId = this.dictionaryId;
|
|
44
|
+
edgeDictionary.sourceLanguageId = this.sourceLanguageId;
|
|
45
|
+
edgeDictionary.targetLanguageId = this.targetLanguageId;
|
|
46
|
+
return edgeDictionary;
|
|
47
|
+
};
|
|
48
|
+
EdgeDictionaryApiModel.prototype.toDictionary = function () {
|
|
49
|
+
var dictionary = new Dictionary_1.default();
|
|
50
|
+
dictionary.id = this.dictionaryId;
|
|
51
|
+
dictionary.source = this.sourceLanguageId;
|
|
52
|
+
dictionary.target = this.targetLanguageId;
|
|
53
|
+
return dictionary;
|
|
54
|
+
};
|
|
55
|
+
return EdgeDictionaryApiModel;
|
|
56
|
+
}());
|
|
57
|
+
exports.default = EdgeDictionaryApiModel;
|
|
58
|
+
//# sourceMappingURL=EdgeDictionaryApiModel.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"EdgeDictionaryApiModel.js","sourceRoot":"","sources":["../../../../../src/translation/dictionaries/edge/api/EdgeDictionaryApiModel.ts"],"names":[],"mappings":";;;;;AAAA,4EAAsD;AACtD,8EAAwD;AAExD;IAAA;IA8CA,CAAC;IAzCG,sBAAI,gDAAY;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,oDAAgB;aAApB;YACI,OAAO,IAAI,CAAC,iBAAiB,CAAC;QAClC,CAAC;aAED,UAAqB,KAAyB;YAC1C,IAAI,CAAC,iBAAiB,GAAG,KAAK,CAAC;QACnC,CAAC;;;OAJA;IAMD,sBAAI,oDAAgB;aAApB;YACI,OAAO,IAAI,CAAC,iBAAiB,CAAC;QAClC,CAAC;aAED,UAAqB,KAAyB;YAC1C,IAAI,CAAC,iBAAiB,GAAG,KAAK,CAAC;QACnC,CAAC;;;OAJA;IAMD,iDAAgB,GAAhB;QACI,IAAM,cAAc,GAAG,IAAI,wBAAc,EAAE,CAAC;QAC5C,cAAc,CAAC,YAAY,GAAG,IAAI,CAAC,YAAY,CAAC;QAChD,cAAc,CAAC,gBAAgB,GAAG,IAAI,CAAC,gBAAgB,CAAC;QACxD,cAAc,CAAC,gBAAgB,GAAG,IAAI,CAAC,gBAAgB,CAAC;QAExD,OAAO,cAAc,CAAC;IAC1B,CAAC;IAED,6CAAY,GAAZ;QACI,IAAM,UAAU,GAAG,IAAI,oBAAU,EAAE,CAAC;QACpC,UAAU,CAAC,EAAE,GAAG,IAAI,CAAC,YAAY,CAAC;QAClC,UAAU,CAAC,MAAM,GAAG,IAAI,CAAC,gBAAgB,CAAC;QAC1C,UAAU,CAAC,MAAM,GAAG,IAAI,CAAC,gBAAgB,CAAC;QAE1C,OAAO,UAAU,CAAC;IACtB,CAAC;IACL,6BAAC;AAAD,CAAC,AA9CD,IA8CC"}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import EdgeDictionaryResponse from '../api/EdgeDictionaryResponse';
|
|
2
1
|
import PaginatedListResult from '../../../common/result/PaginatedListResult';
|
|
2
|
+
import EdgeDictionary from './EdgeDictionary';
|
|
3
3
|
export default class EdgeDictionariesResult extends PaginatedListResult {
|
|
4
4
|
private _dictionaries;
|
|
5
5
|
private _totalPages;
|
|
6
|
-
get dictionaries():
|
|
7
|
-
set dictionaries(value:
|
|
6
|
+
get dictionaries(): EdgeDictionary[] | undefined;
|
|
7
|
+
set dictionaries(value: EdgeDictionary[] | undefined);
|
|
8
8
|
get totalPages(): number | undefined;
|
|
9
9
|
set totalPages(value: number | undefined);
|
|
10
10
|
}
|
|
File without changes
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"EdgeDictionariesResult.js","sourceRoot":"","sources":["../../../../../src/translation/dictionaries/edge/result/EdgeDictionariesResult.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA,mGAA6E;AAG7E;IAAoD,0CAAmB;IAAvE;;IAmBA,CAAC;IAfG,sBAAI,gDAAY;aAAhB;YACI,OAAO,IAAI,CAAC,aAAa,CAAC;QAC9B,CAAC;aAED,UAAiB,KAAmC;YAChD,IAAI,CAAC,aAAa,GAAG,KAAK,CAAC;QAC/B,CAAC;;;OAJA;IAMD,sBAAI,8CAAU;aAAd;YACI,OAAO,IAAI,CAAC,WAAW,CAAC;QAC5B,CAAC;aAED,UAAe,KAAyB;YACpC,IAAI,CAAC,WAAW,GAAG,KAAK,CAAC;QAC7B,CAAC;;;OAJA;IAKL,6BAAC;AAAD,CAAC,AAnBD,CAAoD,6BAAmB,GAmBtE"}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
var
|
|
4
|
-
function
|
|
3
|
+
var EdgeDictionary = /** @class */ (function () {
|
|
4
|
+
function EdgeDictionary() {
|
|
5
5
|
}
|
|
6
|
-
Object.defineProperty(
|
|
6
|
+
Object.defineProperty(EdgeDictionary.prototype, "dictionaryId", {
|
|
7
7
|
get: function () {
|
|
8
8
|
return this._dictionaryId;
|
|
9
9
|
},
|
|
@@ -13,7 +13,7 @@ var EdgeDictionaryResponse = /** @class */ (function () {
|
|
|
13
13
|
enumerable: false,
|
|
14
14
|
configurable: true
|
|
15
15
|
});
|
|
16
|
-
Object.defineProperty(
|
|
16
|
+
Object.defineProperty(EdgeDictionary.prototype, "sourceLanguageId", {
|
|
17
17
|
get: function () {
|
|
18
18
|
return this._sourceLanguageId;
|
|
19
19
|
},
|
|
@@ -23,7 +23,7 @@ var EdgeDictionaryResponse = /** @class */ (function () {
|
|
|
23
23
|
enumerable: false,
|
|
24
24
|
configurable: true
|
|
25
25
|
});
|
|
26
|
-
Object.defineProperty(
|
|
26
|
+
Object.defineProperty(EdgeDictionary.prototype, "targetLanguageId", {
|
|
27
27
|
get: function () {
|
|
28
28
|
return this._targetLanguageId;
|
|
29
29
|
},
|
|
@@ -33,7 +33,7 @@ var EdgeDictionaryResponse = /** @class */ (function () {
|
|
|
33
33
|
enumerable: false,
|
|
34
34
|
configurable: true
|
|
35
35
|
});
|
|
36
|
-
return
|
|
36
|
+
return EdgeDictionary;
|
|
37
37
|
}());
|
|
38
|
-
exports.default =
|
|
39
|
-
//# sourceMappingURL=
|
|
38
|
+
exports.default = EdgeDictionary;
|
|
39
|
+
//# sourceMappingURL=EdgeDictionary.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"EdgeDictionary.js","sourceRoot":"","sources":["../../../../../src/translation/dictionaries/edge/result/EdgeDictionary.ts"],"names":[],"mappings":";;AAAA;IAAA;IA4BA,CAAC;IAvBG,sBAAI,wCAAY;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,4CAAgB;aAApB;YACI,OAAO,IAAI,CAAC,iBAAiB,CAAC;QAClC,CAAC;aAED,UAAqB,KAAyB;YAC1C,IAAI,CAAC,iBAAiB,GAAG,KAAK,CAAC;QACnC,CAAC;;;OAJA;IAMD,sBAAI,4CAAgB;aAApB;YACI,OAAO,IAAI,CAAC,iBAAiB,CAAC;QAClC,CAAC;aAED,UAAqB,KAAyB;YAC1C,IAAI,CAAC,iBAAiB,GAAG,KAAK,CAAC;QACnC,CAAC;;;OAJA;IAKL,qBAAC;AAAD,CAAC,AA5BD,IA4BC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import RestClient from '../../../../common/external/communication/RestClient';
|
|
2
|
+
import Token from '../../../../common/auth/domain/Token';
|
|
3
|
+
import EdgeDictionariesResult from '../result/EdgeDictionariesResult';
|
|
4
|
+
import DictionariesResult from '../../common/result/DictionariesResult';
|
|
5
|
+
export default class EdgeDictionariesService {
|
|
6
|
+
private readonly _client;
|
|
7
|
+
private readonly _token;
|
|
8
|
+
constructor(client: RestClient, token: Token | undefined);
|
|
9
|
+
getDictionaries(page: number, perPage?: number): Promise<DictionariesResult>;
|
|
10
|
+
getEdgeDictionaries(page: number, perPage?: number): Promise<EdgeDictionariesResult>;
|
|
11
|
+
private getDictionariesResponse;
|
|
12
|
+
}
|
|
@@ -0,0 +1,51 @@
|
|
|
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 TranslationConstants_1 = require("../../../../common/constants/TranslationConstants");
|
|
7
|
+
var EdgeDictionariesResponse_1 = __importDefault(require("../api/EdgeDictionariesResponse"));
|
|
8
|
+
var EdgeDictionaryApiModel_1 = __importDefault(require("../api/EdgeDictionaryApiModel"));
|
|
9
|
+
var EdgeDictionariesService = /** @class */ (function () {
|
|
10
|
+
function EdgeDictionariesService(client, token) {
|
|
11
|
+
this._client = client;
|
|
12
|
+
this._token = token;
|
|
13
|
+
}
|
|
14
|
+
EdgeDictionariesService.prototype.getDictionaries = function (page, perPage) {
|
|
15
|
+
if (perPage === void 0) { perPage = TranslationConstants_1.DEFAULT_DICTIONARIES_PAGE_SIZE; }
|
|
16
|
+
return this.getDictionariesResponse(page, perPage)
|
|
17
|
+
.then(function (response) { return Promise.resolve(response.toDictionariesResult()); })
|
|
18
|
+
.catch(function (e) { return Promise.reject(e); });
|
|
19
|
+
};
|
|
20
|
+
EdgeDictionariesService.prototype.getEdgeDictionaries = function (page, perPage) {
|
|
21
|
+
if (perPage === void 0) { perPage = TranslationConstants_1.DEFAULT_DICTIONARIES_PAGE_SIZE; }
|
|
22
|
+
return this.getDictionariesResponse(page, perPage)
|
|
23
|
+
.then(function (response) { return Promise.resolve(response.toEdgeDictionariesResult()); })
|
|
24
|
+
.catch(function (e) { return Promise.reject(e); });
|
|
25
|
+
};
|
|
26
|
+
EdgeDictionariesService.prototype.getDictionariesResponse = function (page, perPage) {
|
|
27
|
+
if (perPage === void 0) { perPage = TranslationConstants_1.DEFAULT_DICTIONARIES_PAGE_SIZE; }
|
|
28
|
+
return this._client
|
|
29
|
+
.requestJson(this._token, 'GET', TranslationConstants_1.EDGE_GET_ALL_DICTIONARIES_PATH, undefined, { page: page, perPage: perPage })
|
|
30
|
+
.then(function (response) {
|
|
31
|
+
var _a;
|
|
32
|
+
var edgeDictionariesResponse = new EdgeDictionariesResponse_1.default();
|
|
33
|
+
edgeDictionariesResponse.dictionaries = (_a = response === null || response === void 0 ? void 0 : response.dictionaries) === null || _a === void 0 ? void 0 : _a.map(function (dictionary) {
|
|
34
|
+
var edgeDictionary = new EdgeDictionaryApiModel_1.default();
|
|
35
|
+
Object.assign(edgeDictionary, dictionary);
|
|
36
|
+
return edgeDictionary;
|
|
37
|
+
});
|
|
38
|
+
edgeDictionariesResponse.totalPages = response.totalPages;
|
|
39
|
+
edgeDictionariesResponse.perPage = response.perPage;
|
|
40
|
+
edgeDictionariesResponse.page = response.page;
|
|
41
|
+
edgeDictionariesResponse.totalItems = response.totalItems;
|
|
42
|
+
return Promise.resolve(edgeDictionariesResponse);
|
|
43
|
+
})
|
|
44
|
+
.catch(function (e) {
|
|
45
|
+
return Promise.reject(e);
|
|
46
|
+
});
|
|
47
|
+
};
|
|
48
|
+
return EdgeDictionariesService;
|
|
49
|
+
}());
|
|
50
|
+
exports.default = EdgeDictionariesService;
|
|
51
|
+
//# sourceMappingURL=EdgeDictionariesService.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"EdgeDictionariesService.js","sourceRoot":"","sources":["../../../../../src/translation/dictionaries/edge/service/EdgeDictionariesService.ts"],"names":[],"mappings":";;;;;AAEA,0FAG2D;AAC3D,6FAAuE;AAEvE,yFAAmE;AAGnE;IAII,iCAAY,MAAkB,EAAE,KAAwB;QACpD,IAAI,CAAC,OAAO,GAAG,MAAM,CAAC;QACtB,IAAI,CAAC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AAC,UAAC,UAAe;gBAChF,IAAM,cAAc,GAAG,IAAI,gCAAsB,EAAE,CAAC;gBACpD,MAAM,CAAC,MAAM,CAAC,cAAc,EAAE,UAAU,CAAC,CAAC;gBAE1C,OAAO,cAAc,CAAC;YAC1B,CAAC,CAAC,CAAC;YACH,wBAAwB,CAAC,UAAU,GAAG,QAAQ,CAAC,UAAU,CAAC;YAC1D,wBAAwB,CAAC,OAAO,GAAG,QAAQ,CAAC,OAAO,CAAC;YACpD,wBAAwB,CAAC,IAAI,GAAG,QAAQ,CAAC,IAAI,CAAC;YAC9C,wBAAwB,CAAC,UAAU,GAAG,QAAQ,CAAC,UAAU,CAAC;YAE1D,OAAO,OAAO,CAAC,OAAO,CAAC,wBAAwB,CAAC,CAAC;QACrD,CAAC,CAAC;aACD,KAAK,CAAC,UAAC,CAAC;YACL,OAAO,OAAO,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC;QAC7B,CAAC,CAAC,CAAC;IACX,CAAC;IACL,8BAAC;AAAD,CAAC,AApDD,IAoDC"}
|
|
@@ -9,7 +9,7 @@ export default class CloudFeedbackApiModel {
|
|
|
9
9
|
private _translation;
|
|
10
10
|
private _improvement;
|
|
11
11
|
private _rating;
|
|
12
|
-
private
|
|
12
|
+
private _qualityEstimation;
|
|
13
13
|
private _approval;
|
|
14
14
|
private _createdByAccountId;
|
|
15
15
|
private _createdByClientId;
|
|
@@ -24,6 +24,7 @@ export default class CloudFeedbackApiModel {
|
|
|
24
24
|
constructor(feedback?: CloudFeedbackApiModel);
|
|
25
25
|
toCloudResult(): CloudFeedbackResult;
|
|
26
26
|
toResult(): FeedbackResult;
|
|
27
|
+
private toCloudFeedbackApiModel;
|
|
27
28
|
private getCloudFeedbackAuditData;
|
|
28
29
|
private getFeedbackAuditData;
|
|
29
30
|
private getCloudApprovalAuditData;
|
|
@@ -36,8 +37,8 @@ export default class CloudFeedbackApiModel {
|
|
|
36
37
|
set improvement(value: CloudFeedbackImprovement | undefined);
|
|
37
38
|
get rating(): CloudFeedbackRating | undefined;
|
|
38
39
|
set rating(value: CloudFeedbackRating | undefined);
|
|
39
|
-
get
|
|
40
|
-
set
|
|
40
|
+
get qualityEstimation(): string | undefined;
|
|
41
|
+
set qualityEstimation(value: string | undefined);
|
|
41
42
|
get approval(): CloudFeedbackApproval | undefined;
|
|
42
43
|
set approval(value: CloudFeedbackApproval | undefined);
|
|
43
44
|
get createdByAccountId(): string | undefined;
|
|
@@ -4,33 +4,19 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
4
4
|
};
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
6
|
var CloudFeedbackResult_1 = __importDefault(require("../result/CloudFeedbackResult"));
|
|
7
|
-
var CloudAuditData_1 = __importDefault(require("../
|
|
7
|
+
var CloudAuditData_1 = __importDefault(require("../result/CloudAuditData"));
|
|
8
8
|
var FeedbackResult_1 = __importDefault(require("../../common/result/FeedbackResult"));
|
|
9
|
-
var AuditData_1 = __importDefault(require("../../common/
|
|
9
|
+
var AuditData_1 = __importDefault(require("../../common/result/AuditData"));
|
|
10
10
|
var ApprovalStatus_1 = require("../../../../common/constants/ApprovalStatus");
|
|
11
|
+
var QualityEstimation_1 = require("../../../../common/constants/QualityEstimation");
|
|
11
12
|
var CloudFeedbackApiModel = /** @class */ (function () {
|
|
12
13
|
function CloudFeedbackApiModel(feedback) {
|
|
13
14
|
if (feedback) {
|
|
14
|
-
this.
|
|
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;
|
|
15
|
+
this.toCloudFeedbackApiModel(feedback);
|
|
30
16
|
}
|
|
31
17
|
}
|
|
32
18
|
CloudFeedbackApiModel.prototype.toCloudResult = function () {
|
|
33
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l;
|
|
19
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m;
|
|
34
20
|
var result = new CloudFeedbackResult_1.default();
|
|
35
21
|
result.feedbackId = this.feedbackId;
|
|
36
22
|
result.sourceLanguageId = (_a = this.translation) === null || _a === void 0 ? void 0 : _a.sourceLanguageId;
|
|
@@ -44,7 +30,8 @@ var CloudFeedbackApiModel = /** @class */ (function () {
|
|
|
44
30
|
result.suggestedTranslation = (_j = this.improvement) === null || _j === void 0 ? void 0 : _j.text;
|
|
45
31
|
result.ratingScore = (_k = this.rating) === null || _k === void 0 ? void 0 : _k.score;
|
|
46
32
|
result.comments = (_l = this.rating) === null || _l === void 0 ? void 0 : _l.comments;
|
|
47
|
-
result.qualityEstimation = this.
|
|
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);
|
|
48
35
|
if (this.approval && this.approval.status) {
|
|
49
36
|
result.approvalState = (0, ApprovalStatus_1.getApprovalStatusByKey)(this.approval.status);
|
|
50
37
|
}
|
|
@@ -70,6 +57,24 @@ var CloudFeedbackApiModel = /** @class */ (function () {
|
|
|
70
57
|
result.approvalAuditData = this.getApprovalAuditData();
|
|
71
58
|
return result;
|
|
72
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
|
+
};
|
|
73
78
|
CloudFeedbackApiModel.prototype.getCloudFeedbackAuditData = function () {
|
|
74
79
|
var feedbackAuditData = new CloudAuditData_1.default();
|
|
75
80
|
feedbackAuditData.createdByAccountId = this.createdByAccountId;
|
|
@@ -160,12 +165,12 @@ var CloudFeedbackApiModel = /** @class */ (function () {
|
|
|
160
165
|
enumerable: false,
|
|
161
166
|
configurable: true
|
|
162
167
|
});
|
|
163
|
-
Object.defineProperty(CloudFeedbackApiModel.prototype, "
|
|
168
|
+
Object.defineProperty(CloudFeedbackApiModel.prototype, "qualityEstimation", {
|
|
164
169
|
get: function () {
|
|
165
|
-
return this.
|
|
170
|
+
return this._qualityEstimation;
|
|
166
171
|
},
|
|
167
172
|
set: function (value) {
|
|
168
|
-
this.
|
|
173
|
+
this._qualityEstimation = value;
|
|
169
174
|
},
|
|
170
175
|
enumerable: false,
|
|
171
176
|
configurable: true
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CloudFeedbackApiModel.js","sourceRoot":"","sources":["../../../../../src/translation/feedback/cloud/api/CloudFeedbackApiModel.ts"],"names":[],"mappings":";;;;;AAIA,sFAAgE;AAChE,
|
|
1
|
+
{"version":3,"file":"CloudFeedbackApiModel.js","sourceRoot":"","sources":["../../../../../src/translation/feedback/cloud/api/CloudFeedbackApiModel.ts"],"names":[],"mappings":";;;;;AAIA,sFAAgE;AAChE,4EAAsD;AACtD,sFAAgE;AAChE,4EAAsD;AACtD,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,QAAQ,CAAC;QACxD,MAAM,CAAC,gBAAgB,GA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;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,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"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CloudFeedbackImprovement.js","sourceRoot":"","sources":["../../../../../src/translation/feedback/cloud/api/CloudFeedbackImprovement.ts"],"names":[],"mappings":";;AAAA;IAGI,kCAAY,
|
|
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"}
|
|
@@ -25,7 +25,12 @@ var CloudFeedbackRating = /** @class */ (function () {
|
|
|
25
25
|
configurable: true
|
|
26
26
|
});
|
|
27
27
|
CloudFeedbackRating.prototype.addComment = function (comment) {
|
|
28
|
-
this.
|
|
28
|
+
if (this.comments) {
|
|
29
|
+
this.comments.push(comment);
|
|
30
|
+
}
|
|
31
|
+
else {
|
|
32
|
+
this.comments = [comment];
|
|
33
|
+
}
|
|
29
34
|
return this;
|
|
30
35
|
};
|
|
31
36
|
return CloudFeedbackRating;
|
|
@@ -1 +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;
|
|
1
|
+
{"version":3,"file":"CloudFeedbackRating.js","sourceRoot":"","sources":["../../../../../src/translation/feedback/cloud/api/CloudFeedbackRating.ts"],"names":[],"mappings":";;AAEA;IAAA;QAEY,cAAS,GAAa,EAAE,CAAC;IA0BrC,CAAC;IAxBG,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,IAAI,CAAC,QAAQ,EAAE;YACf,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;SAC/B;aAAM;YACH,IAAI,CAAC,QAAQ,GAAG,CAAC,OAAO,CAAC,CAAC;SAC7B;QACD,OAAO,IAAI,CAAC;IAChB,CAAC;IACL,0BAAC;AAAD,CAAC,AA5BD,IA4BC"}
|
|
@@ -79,10 +79,10 @@ var CloudFilterFeedbackApiRequest = /** @class */ (function () {
|
|
|
79
79
|
});
|
|
80
80
|
CloudFilterFeedbackApiRequest.prototype.fromCloudFilterFeedbackRequest = function (filterRequest) {
|
|
81
81
|
if (filterRequest.startDate) {
|
|
82
|
-
this.startDate = (0, moment_1.default)(filterRequest.startDate).format(TranslationConstants_1.CLOUD_DATE_FORMAT);
|
|
82
|
+
this.startDate = (0, moment_1.default)(filterRequest.startDate, TranslationConstants_1.SUPPORTED_INPUT_DATE_FORMATS).format(TranslationConstants_1.CLOUD_DATE_FORMAT);
|
|
83
83
|
}
|
|
84
84
|
if (filterRequest.endDate) {
|
|
85
|
-
this.endDate = (0, moment_1.default)(filterRequest.endDate).format(TranslationConstants_1.CLOUD_DATE_FORMAT);
|
|
85
|
+
this.endDate = (0, moment_1.default)(filterRequest.endDate, TranslationConstants_1.SUPPORTED_INPUT_DATE_FORMATS).format(TranslationConstants_1.CLOUD_DATE_FORMAT);
|
|
86
86
|
}
|
|
87
87
|
if (filterRequest.feedbackCategory) {
|
|
88
88
|
this.category = filterRequest.feedbackCategory.toLowerCase();
|
|
@@ -95,10 +95,10 @@ var CloudFilterFeedbackApiRequest = /** @class */ (function () {
|
|
|
95
95
|
};
|
|
96
96
|
CloudFilterFeedbackApiRequest.prototype.fromFilterFeedbackRequest = function (filterRequest) {
|
|
97
97
|
if (filterRequest.startDate) {
|
|
98
|
-
this.startDate = (0, moment_1.default)(filterRequest.startDate).format(TranslationConstants_1.CLOUD_DATE_FORMAT);
|
|
98
|
+
this.startDate = (0, moment_1.default)(filterRequest.startDate, TranslationConstants_1.SUPPORTED_INPUT_DATE_FORMATS).format(TranslationConstants_1.CLOUD_DATE_FORMAT);
|
|
99
99
|
}
|
|
100
100
|
if (filterRequest.endDate) {
|
|
101
|
-
this.endDate = (0, moment_1.default)(filterRequest.endDate).format(TranslationConstants_1.CLOUD_DATE_FORMAT);
|
|
101
|
+
this.endDate = (0, moment_1.default)(filterRequest.endDate, TranslationConstants_1.SUPPORTED_INPUT_DATE_FORMATS).format(TranslationConstants_1.CLOUD_DATE_FORMAT);
|
|
102
102
|
}
|
|
103
103
|
if (filterRequest.approvalStatus) {
|
|
104
104
|
this.approvalStatus = (0, ApprovalStatus_1.getApprovalStatusKeyByValue)(filterRequest.approvalStatus);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CloudFilterFeedbackApiRequest.js","sourceRoot":"","sources":["../../../../../src/translation/feedback/cloud/api/CloudFilterFeedbackApiRequest.ts"],"names":[],"mappings":";;;;;AAAA,qGAA+E;AAC/E,qGAA+E;AAC/E,kDAA4B;AAC5B,
|
|
1
|
+
{"version":3,"file":"CloudFilterFeedbackApiRequest.js","sourceRoot":"","sources":["../../../../../src/translation/feedback/cloud/api/Cloud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4CAA2B,EAAC,aAAa,CAAC,cAAc,CAAC,CAAC;SACnF;QAED,IAAI,CAAC,MAAM,GAAG,aAAa,CAAC,IAAI,CAAC;IACrC,CAAC;IACL,oCAAC;AAAD,CAAC,AApGD,IAoGC"}
|
|
@@ -7,6 +7,7 @@ export default class CloudTranslationFeedback {
|
|
|
7
7
|
private _selectedText;
|
|
8
8
|
private _metadata;
|
|
9
9
|
private _numberOfSegments;
|
|
10
|
+
private _qualityEstimationMT;
|
|
10
11
|
get sourceLanguageId(): string | undefined;
|
|
11
12
|
set sourceLanguageId(value: string | undefined);
|
|
12
13
|
get targetLanguageId(): string | undefined;
|
|
@@ -23,4 +24,6 @@ export default class CloudTranslationFeedback {
|
|
|
23
24
|
set metadata(value: string | undefined);
|
|
24
25
|
get numberOfSegments(): number | undefined;
|
|
25
26
|
set numberOfSegments(value: number | undefined);
|
|
27
|
+
get qualityEstimationMT(): string | undefined;
|
|
28
|
+
set qualityEstimationMT(value: string | undefined);
|
|
26
29
|
}
|
|
@@ -83,6 +83,16 @@ var CloudTranslationFeedback = /** @class */ (function () {
|
|
|
83
83
|
enumerable: false,
|
|
84
84
|
configurable: true
|
|
85
85
|
});
|
|
86
|
+
Object.defineProperty(CloudTranslationFeedback.prototype, "qualityEstimationMT", {
|
|
87
|
+
get: function () {
|
|
88
|
+
return this._qualityEstimationMT;
|
|
89
|
+
},
|
|
90
|
+
set: function (value) {
|
|
91
|
+
this._qualityEstimationMT = value;
|
|
92
|
+
},
|
|
93
|
+
enumerable: false,
|
|
94
|
+
configurable: true
|
|
95
|
+
});
|
|
86
96
|
return CloudTranslationFeedback;
|
|
87
97
|
}());
|
|
88
98
|
exports.default = CloudTranslationFeedback;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CloudTranslationFeedback.js","sourceRoot":"","sources":["../../../../../src/translation/feedback/cloud/api/CloudTranslationFeedback.ts"],"names":[],"mappings":";;AAAA;IAAA;
|
|
1
|
+
{"version":3,"file":"CloudTranslationFeedback.js","sourceRoot":"","sources":["../../../../../src/translation/feedback/cloud/api/CloudTranslationFeedback.ts"],"names":[],"mappings":";;AAAA;IAAA;IAkFA,CAAC;IAvEG,sBAAI,sDAAgB;aAApB;YACI,OAAO,IAAI,CAAC,iBAAiB,CAAC;QAClC,CAAC;aAED,UAAqB,KAAyB;YAC1C,IAAI,CAAC,iBAAiB,GAAG,KAAK,CAAC;QACnC,CAAC;;;OAJA;IAMD,sBAAI,sDAAgB;aAApB;YACI,OAAO,IAAI,CAAC,iBAAiB,CAAC;QAClC,CAAC;aAED,UAAqB,KAAyB;YAC1C,IAAI,CAAC,iBAAiB,GAAG,KAAK,CAAC;QACnC,CAAC;;;OAJA;IAMD,sBAAI,2CAAK;aAAT;YACI,OAAO,IAAI,CAAC,MAAM,CAAC;QACvB,CAAC;aAED,UAAU,KAAyB;YAC/B,IAAI,CAAC,MAAM,GAAG,KAAK,CAAC;QACxB,CAAC;;;OAJA;IAMD,sBAAI,gDAAU;aAAd;YACI,OAAO,IAAI,CAAC,WAAW,CAAC;QAC5B,CAAC;aAED,UAAe,KAAyB;YACpC,IAAI,CAAC,WAAW,GAAG,KAAK,CAAC;QAC7B,CAAC;;;OAJA;IAMD,sBAAI,kDAAY;aAAhB;YACI,OAAO,IAAI,CAAC,aAAa,CAAC;QAC9B,CAAC;aAED,UAAiB,KAAyB;YACtC,IAAI,CAAC,aAAa,GAAG,KAAK,CAAC;QAC/B,CAAC;;;OAJA;IAMD,sBAAI,kDAAY;aAAhB;YACI,OAAO,IAAI,CAAC,aAAa,CAAC;QAC9B,CAAC;aAED,UAAiB,KAAyB;YACtC,IAAI,CAAC,aAAa,GAAG,KAAK,CAAC;QAC/B,CAAC;;;OAJA;IAMD,sBAAI,8CAAQ;aAAZ;YACI,OAAO,IAAI,CAAC,SAAS,CAAC;QAC1B,CAAC;aAED,UAAa,KAAyB;YAClC,IAAI,CAAC,SAAS,GAAG,KAAK,CAAC;QAC3B,CAAC;;;OAJA;IAMD,sBAAI,sDAAgB;aAApB;YACI,OAAO,IAAI,CAAC,iBAAiB,CAAC;QAClC,CAAC;aAED,UAAqB,KAAyB;YAC1C,IAAI,CAAC,iBAAiB,GAAG,KAAK,CAAC;QACnC,CAAC;;;OAJA;IAMD,sBAAI,yDAAmB;aAAvB;YACI,OAAO,IAAI,CAAC,oBAAoB,CAAC;QACrC,CAAC;aAED,UAAwB,KAAyB;YAC7C,IAAI,CAAC,oBAAoB,GAAG,KAAK,CAAC;QACtC,CAAC;;;OAJA;IAKL,+BAAC;AAAD,CAAC,AAlFD,IAkFC"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import CreateFeedbackRequest from '../../common/request/CreateFeedbackRequest';
|
|
2
|
+
import { QualityEstimation } from '../../../../common/constants/QualityEstimation';
|
|
3
|
+
import CloudFeedbackApiModel from '../api/CloudFeedbackApiModel';
|
|
4
|
+
export default class CloudCreateFeedbackRequest extends CreateFeedbackRequest {
|
|
5
|
+
private _translationMetadata;
|
|
6
|
+
private _numberOfSegments;
|
|
7
|
+
private _rating;
|
|
8
|
+
private _qualityEstimationMT;
|
|
9
|
+
private _qualityEstimation;
|
|
10
|
+
get translationMetadata(): string | undefined;
|
|
11
|
+
set translationMetadata(value: string | undefined);
|
|
12
|
+
get numberOfSegments(): number | undefined;
|
|
13
|
+
set numberOfSegments(value: number | undefined);
|
|
14
|
+
get rating(): number | undefined;
|
|
15
|
+
set rating(value: number | undefined);
|
|
16
|
+
get qualityEstimationMT(): QualityEstimation | undefined;
|
|
17
|
+
set qualityEstimationMT(value: QualityEstimation | undefined);
|
|
18
|
+
get qualityEstimation(): QualityEstimation | undefined;
|
|
19
|
+
set qualityEstimation(value: QualityEstimation | undefined);
|
|
20
|
+
toCloudFeedbackApiModel(): CloudFeedbackApiModel;
|
|
21
|
+
}
|