@language-weaver/lw-sdk-js 1.2.0 → 2.0.1
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/configurations/ClientConfiguration.d.ts +2 -2
- package/lib/common/configurations/ClientConfiguration.js +0 -2
- package/lib/common/configurations/ClientConfiguration.js.map +1 -1
- package/lib/common/configurations/CredentialsConfiguration.js +2 -6
- package/lib/common/configurations/CredentialsConfiguration.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/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 +17 -8
- package/lib/common/constants/TranslationConstants.js +22 -11
- 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.js +9 -7
- package/lib/common/external/communication/RestClient.js.map +1 -1
- package/lib/common/utils/Utils.d.ts +8 -1
- package/lib/common/utils/Utils.js +133 -31
- package/lib/common/utils/Utils.js.map +1 -1
- package/lib/index.d.ts +45 -17
- package/lib/index.js +74 -20
- package/lib/index.js.map +1 -1
- package/lib/translation/common/LanguageWeaverClient.d.ts +10 -2
- package/lib/translation/common/cloud/CloudLanguageWeaverClient.d.ts +28 -4
- package/lib/translation/common/cloud/CloudLanguageWeaverClient.js +209 -112
- package/lib/translation/common/cloud/CloudLanguageWeaverClient.js.map +1 -1
- package/lib/translation/common/edge/EdgeLanguageWeaverClient.d.ts +26 -6
- package/lib/translation/common/edge/EdgeLanguageWeaverClient.js +204 -132
- 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.js +2 -2
- package/lib/translation/feedback/cloud/api/CloudFeedbackApiModel.js.map +1 -1
- package/lib/translation/feedback/cloud/request/CloudFeedbackSortRequest.d.ts +1 -1
- 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 +1 -1
- package/lib/translation/feedback/cloud/service/CloudFeedbackService.js +1 -1
- package/lib/translation/feedback/cloud/service/CloudFeedbackService.js.map +1 -1
- package/lib/translation/feedback/cloud/{validators → validator}/CloudFeedbackValidator.d.ts +1 -1
- package/lib/translation/feedback/cloud/{validators → validator}/CloudFeedbackValidator.js +1 -1
- package/lib/translation/feedback/cloud/validator/CloudFeedbackValidator.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 +1 -1
- package/lib/translation/feedback/common/{validators → validator}/FeedbackValidator.d.ts +0 -0
- package/lib/translation/feedback/common/{validators → validator}/FeedbackValidator.js +0 -0
- package/lib/translation/feedback/common/validator/FeedbackValidator.js.map +1 -0
- package/lib/translation/feedback/edge/api/EdgeFeedbackApiModel.d.ts +1 -1
- package/lib/translation/feedback/edge/api/EdgeFeedbackApiModel.js +1 -1
- package/lib/translation/feedback/edge/api/EdgeFeedbackApiModel.js.map +1 -1
- package/lib/translation/feedback/edge/service/EdgeFeedbackService.d.ts +1 -1
- package/lib/translation/feedback/edge/service/EdgeFeedbackService.js +1 -1
- 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 +3 -0
- package/lib/translation/translate/common/request/TranslateBatchFileRequest.js +10 -0
- package/lib/translation/translate/common/request/TranslateBatchFileRequest.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/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 -2
- package/lib/translation/translate/edge/request/EdgeTranslateFileRequest.js +15 -14
- package/lib/translation/translate/edge/request/EdgeTranslateFileRequest.js.map +1 -1
- package/lib/translation/translate/edge/request/{EdgeTranslateApiModel.d.ts → EdgeTranslateRequest.d.ts} +1 -1
- package/lib/translation/translate/edge/request/{EdgeTranslateApiModel.js → EdgeTranslateRequest.js} +14 -14
- package/lib/translation/translate/edge/request/EdgeTranslateRequest.js.map +1 -0
- package/lib/translation/translate/edge/request/EdgeTranslateTextRequest.d.ts +2 -2
- package/lib/translation/translate/edge/request/EdgeTranslateTextRequest.js +15 -14
- 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.js.map +0 -1
- package/lib/translation/feedback/common/model/AuditData.js.map +0 -1
- 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/request/EdgeTranslateApiModel.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,84 @@
|
|
|
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 EdgeDictionariesResult_1 = __importDefault(require("../result/EdgeDictionariesResult"));
|
|
7
|
+
var DictionariesResult_1 = __importDefault(require("../../common/result/DictionariesResult"));
|
|
8
|
+
var EdgeDictionariesResponse = /** @class */ (function () {
|
|
9
|
+
function EdgeDictionariesResponse() {
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(EdgeDictionariesResponse.prototype, "dictionaries", {
|
|
12
|
+
get: function () {
|
|
13
|
+
return this._dictionaries;
|
|
14
|
+
},
|
|
15
|
+
set: function (value) {
|
|
16
|
+
this._dictionaries = value;
|
|
17
|
+
},
|
|
18
|
+
enumerable: false,
|
|
19
|
+
configurable: true
|
|
20
|
+
});
|
|
21
|
+
Object.defineProperty(EdgeDictionariesResponse.prototype, "totalPages", {
|
|
22
|
+
get: function () {
|
|
23
|
+
return this._totalPages;
|
|
24
|
+
},
|
|
25
|
+
set: function (value) {
|
|
26
|
+
this._totalPages = value;
|
|
27
|
+
},
|
|
28
|
+
enumerable: false,
|
|
29
|
+
configurable: true
|
|
30
|
+
});
|
|
31
|
+
Object.defineProperty(EdgeDictionariesResponse.prototype, "totalItems", {
|
|
32
|
+
get: function () {
|
|
33
|
+
return this._totalItems;
|
|
34
|
+
},
|
|
35
|
+
set: function (value) {
|
|
36
|
+
this._totalItems = value;
|
|
37
|
+
},
|
|
38
|
+
enumerable: false,
|
|
39
|
+
configurable: true
|
|
40
|
+
});
|
|
41
|
+
Object.defineProperty(EdgeDictionariesResponse.prototype, "perPage", {
|
|
42
|
+
get: function () {
|
|
43
|
+
return this._perPage;
|
|
44
|
+
},
|
|
45
|
+
set: function (value) {
|
|
46
|
+
this._perPage = value;
|
|
47
|
+
},
|
|
48
|
+
enumerable: false,
|
|
49
|
+
configurable: true
|
|
50
|
+
});
|
|
51
|
+
Object.defineProperty(EdgeDictionariesResponse.prototype, "page", {
|
|
52
|
+
get: function () {
|
|
53
|
+
return this._page;
|
|
54
|
+
},
|
|
55
|
+
set: function (value) {
|
|
56
|
+
this._page = value;
|
|
57
|
+
},
|
|
58
|
+
enumerable: false,
|
|
59
|
+
configurable: true
|
|
60
|
+
});
|
|
61
|
+
EdgeDictionariesResponse.prototype.toEdgeDictionariesResult = function () {
|
|
62
|
+
var _a;
|
|
63
|
+
var edgeDictionariesResult = new EdgeDictionariesResult_1.default();
|
|
64
|
+
edgeDictionariesResult.pageSize = this.perPage;
|
|
65
|
+
edgeDictionariesResult.pageNumber = this.page;
|
|
66
|
+
edgeDictionariesResult.totalCount = this.totalItems;
|
|
67
|
+
edgeDictionariesResult.totalPages = this.totalPages;
|
|
68
|
+
edgeDictionariesResult.dictionaries =
|
|
69
|
+
((_a = this.dictionaries) === null || _a === void 0 ? void 0 : _a.map(function (dictionary) { return dictionary.toEdgeDictionary(); })) || [];
|
|
70
|
+
return edgeDictionariesResult;
|
|
71
|
+
};
|
|
72
|
+
EdgeDictionariesResponse.prototype.toDictionariesResult = function () {
|
|
73
|
+
var _a;
|
|
74
|
+
var dictionariesResult = new DictionariesResult_1.default();
|
|
75
|
+
dictionariesResult.pageSize = this.perPage;
|
|
76
|
+
dictionariesResult.pageNumber = this.page;
|
|
77
|
+
dictionariesResult.totalCount = this.totalItems;
|
|
78
|
+
dictionariesResult.dictionaries = ((_a = this.dictionaries) === null || _a === void 0 ? void 0 : _a.map(function (dictionary) { return dictionary.toDictionary(); })) || [];
|
|
79
|
+
return dictionariesResult;
|
|
80
|
+
};
|
|
81
|
+
return EdgeDictionariesResponse;
|
|
82
|
+
}());
|
|
83
|
+
exports.default = EdgeDictionariesResponse;
|
|
84
|
+
//# sourceMappingURL=EdgeDictionariesResponse.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"EdgeDictionariesResponse.js","sourceRoot":"","sources":["../../../../../src/translation/dictionaries/edge/api/EdgeDictionariesResponse.ts"],"names":[],"mappings":";;;;;AACA,4FAAsE;AACtE,8FAAwE;AAExE;IAAA;IAkEA,CAAC;IA3DG,sBAAI,kDAAY;aAAhB;YACI,OAAO,IAAI,CAAC,aAAa,CAAC;QAC9B,CAAC;aAED,UAAiB,KAA2C;YACxD,IAAI,CAAC,aAAa,GAAG,KAAK,CAAC;QAC/B,CAAC;;;OAJA;IAMD,sBAAI,gDAAU;aAAd;YACI,OAAO,IAAI,CAAC,WAAW,CAAC;QAC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AU,GAAG,IAAI,CAAC,IAAI,CAAC;QAC1C,kBAAkB,CAAC,UAAU,GAAG,IAAI,CAAC,UAAU,CAAC;QAChD,kBAAkB,CAAC,YAAY,GAAG,CAAA,MAAA,IAAI,CAAC,YAAY,0CAAE,GAAG,CAAC,UAAC,UAAU,IAAK,OAAA,UAAU,CAAC,YAAY,EAAE,EAAzB,CAAyB,CAAC,KAAI,EAAE,CAAC;QAE1G,OAAO,kBAAkB,CAAC;IAC9B,CAAC;IACL,+BAAC;AAAD,CAAC,AAlED,IAkEC"}
|
|
@@ -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,MAAM,GAAG,KAAK,CAAC;IACxB,CAAC;IAEM,iDAAe,GAAtB,UACI,IAAY,EACZ,OAAgD;QAAhD,wBAAA,EAAA,UAAkB,qDAA8B;QAEhD,OAAO,IAAI,CAAC,uBAAuB,CAAC,IAAI,EAAE,OAAO,CAAC;aAC7C,IAAI,CAAC,UAAC,QAAkC,IAAK,OAAA,OAAO,CAAC,OAAO,CAAC,QAAQ,CAAC,oBAAoB,EAAE,CAAC,EAAhD,CAAgD,CAAC;aAC9F,KAAK,CAAC,UAAC,CAAC,IAAK,OAAA,OAAO,CAAC,MAAM,CAAC,CAAC,CAAC,EAAjB,CAAiB,CAAC,CAAC;IACzC,CAAC;IAEM,qDAAmB,GAA1B,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,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"}
|
|
@@ -4,9 +4,9 @@ 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
11
|
var QualityEstimation_1 = require("../../../../common/constants/QualityEstimation");
|
|
12
12
|
var CloudFeedbackApiModel = /** @class */ (function () {
|
|
@@ -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;SAC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ortCriteria } from '
|
|
2
|
+
import { CloudFeedbackSortCriteria } from '../../../../common/constants/CloudFeedbackSortCriteria';
|
|
3
3
|
export default class CloudFeedbackSortRequest {
|
|
4
4
|
private _criteria;
|
|
5
5
|
private _order;
|
|
@@ -18,7 +18,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
18
18
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
19
19
|
};
|
|
20
20
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
21
|
-
var AuditData_1 = __importDefault(require("../../common/
|
|
21
|
+
var AuditData_1 = __importDefault(require("../../common/result/AuditData"));
|
|
22
22
|
var CloudAuditData = /** @class */ (function (_super) {
|
|
23
23
|
__extends(CloudAuditData, _super);
|
|
24
24
|
function CloudAuditData() {
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CloudAuditData.js","sourceRoot":"","sources":["../../../../../src/translation/feedback/cloud/result/CloudAuditData.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA,4EAAsD;AAEtD;IAA4C,kCAAS;IAArD;;IAuDA,CAAC;IA/CG,sBAAI,8CAAkB;aAAtB;YACI,OAAO,IAAI,CAAC,mBAAmB,CAAC;QACpC,CAAC;aAED,UAAuB,KAAyB;YAC5C,IAAI,CAAC,mBAAmB,GAAG,KAAK,CAAC;QACrC,CAAC;;;OAJA;IAMD,sBAAI,6CAAiB;aAArB;YACI,OAAO,IAAI,CAAC,kBAAkB,CAAC;QACnC,CAAC;aAED,UAAsB,KAAyB;YAC3C,IAAI,CAAC,kBAAkB,GAAG,KAAK,CAAC;QACpC,CAAC;;;OAJA;IAMD,sBAAI,2CAAe;aAAnB;YACI,OAAO,IAAI,CAAC,gBAAgB,CAAC;QACjC,CAAC;aAED,UAAoB,KAAyB;YACzC,IAAI,CAAC,gBAAgB,GAAG,KAAK,CAAC;QAClC,CAAC;;;OAJA;IAMD,sBAAI,mDAAuB;aAA3B;YACI,OAAO,IAAI,CAAC,wBAAwB,CAAC;QACzC,CAAC;aAED,UAA4B,KAAyB;YACjD,IAAI,CAAC,wBAAwB,GAAG,KAAK,CAAC;QAC1C,CAAC;;;OAJA;IAMD,sBAAI,kDAAsB;aAA1B;YACI,OAAO,IAAI,CAAC,uBAAuB,CAAC;QACxC,CAAC;aAED,UAA2B,KAAyB;YAChD,IAAI,CAAC,uBAAuB,GAAG,KAAK,CAAC;QACzC,CAAC;;;OAJA;IAMD,sBAAI,gDAAoB;aAAxB;YACI,OAAO,IAAI,CAAC,qBAAqB,CAAC;QACtC,CAAC;aAED,UAAyB,KAAyB;YAC9C,IAAI,CAAC,qBAAqB,GAAG,KAAK,CAAC;QACvC,CAAC;;;OAJA;IAKL,qBAAC;AAAD,CAAC,AAvDD,CAA4C,mBAAS,GAuDpD"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import CloudAuditData from '
|
|
1
|
+
import CloudAuditData from './CloudAuditData';
|
|
2
2
|
import FeedbackCommonResult from '../../common/result/FeedbackCommonResult';
|
|
3
3
|
import { QualityEstimation } from '../../../../common/constants/QualityEstimation';
|
|
4
4
|
export default class CloudFeedbackResult extends FeedbackCommonResult {
|
|
@@ -17,7 +17,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
17
17
|
var CloudFeedbackListResponse_1 = __importDefault(require("../api/CloudFeedbackListResponse"));
|
|
18
18
|
var CloudFilterFeedbackRequest_1 = __importDefault(require("../request/CloudFilterFeedbackRequest"));
|
|
19
19
|
var CloudFilterFeedbackApiRequest_1 = __importDefault(require("../api/CloudFilterFeedbackApiRequest"));
|
|
20
|
-
var CloudFeedbackValidator_1 = __importDefault(require("../
|
|
20
|
+
var CloudFeedbackValidator_1 = __importDefault(require("../validator/CloudFeedbackValidator"));
|
|
21
21
|
var TranslationConstants_1 = require("../../../../common/constants/TranslationConstants");
|
|
22
22
|
var CloudFeedbackApiModel_1 = __importDefault(require("../api/CloudFeedbackApiModel"));
|
|
23
23
|
var CloudCreateFeedbackRequest_1 = __importDefault(require("../request/CloudCreateFeedbackRequest"));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CloudFeedbackService.js","sourceRoot":"","sources":["../../../../../src/translation/feedback/cloud/service/CloudFeedbackService.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAKA,+FAAyE;AACzE,qGAA+E;AAG/E,uGAAiF;AACjF
|
|
1
|
+
{"version":3,"file":"CloudFeedbackService.js","sourceRoot":"","sources":["../../../../../src/translation/feedback/cloud/service/CloudFeedbackService.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAKA,+FAAyE;AACzE,qGAA+E;AAG/E,uGAAiF;AACjF,+FAAyE;AAEzE,0FAAwH;AACxH,uFAAiE;AAGjE,qGAA+E;AAG/E,qGAA+E;AAG/E,yHAAmG;AACnG,iHAA2F;AAC3F,8EAA0F;AAE1F,qGAA+E;AAE/E,IAAM,qBAAqB,GAAG,UAAU,CAAC;AACzC,IAAM,gBAAgB,GAAG,MAAM,CAAC;AAEhC;IAMI,8BACI,MAAkB,EAClB,KAAwB,EACxB,QAA2D;QAL9C,eAAU,GAA2B,IAAI,gCAAsB,EAAE,CAAC;QAO/E,IAAI,CAAC,OAAO,GAAG,MAAM,CAAC;QACtB,IAAI,CAAC,MAAM,GAAG,KAAK,CAAC;QACpB,IAAI,CAAC,SAAS,GAAG,QAAQ,CAAC;IAC9B,CAAC;IAEM,6CAAc,GAArB,UACI,UAAkB,EAClB,QAAiB,EACjB,aAAqC;QAErC,OAAO,IAAI,CAAC,qBAAqB,CAAC,UAAU,EAAE,QAAQ,EAAE,aAAa,CAAC;aACjE,IAAI,CAAC,UAAC,QAAmC,IAAK,OAAA,OAAO,CAAC,OAAO,CAAC,QAAQ,CAAC,QAAQ,EAAE,CAAC,EAApC,CAAoC,CAAC;aACnF,KAAK,CAAC,UAAC,CAAC,IAAK,OAAA,OAAO,CAAC,MAAM,CAAC,CAAC,CAAC,EAAjB,CAAiB,CAAC,CAAC;IACz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AAM,CAAC,CAAC,CAAC,EAAjB,CAAiB,CAAC,CAAC;IACzC,CAAC;IAEO,iDAAkB,GAA1B,UAA2B,aAAyC;;QAChE,IAAI,WAAW,GAAG,EAAE,CAAC;QAErB,IAAI,aAAa,CAAC,WAAW,EAAE;YAC3B,IAAM,WAAW,GAA6B,aAAa,CAAC,WAAW,CAAC;YAExE,IAAI,WAAW,CAAC,QAAQ,IAAI,WAAW,CAAC,KAAK,EAAE;gBAC3C,WAAW,yBAAQ,WAAW,gBAAG,gBAAgB,IAAG,UAAG,WAAW,CAAC,QAAQ,cAAI,WAAW,CAAC,KAAK,CAAE,MAAE,CAAC;aACxG;SACJ;QAED,OAAO,WAAW,CAAC;IACvB,CAAC;IAEO,iDAAkB,GAA1B,UAA2B,UAAkB,EAAE,QAAiB;;QAC5D,IAAI,WAAW,GAAG,EAAE,CAAC;QAErB,IAAI,UAAU,EAAE;YACZ,WAAW,yBAAQ,WAAW,gBAAG,8CAAuB,IAAG,UAAU,MAAE,CAAC;SAC3E;QAED,WAAW,yBAAQ,WAAW,gBAAG,qBAAqB,IAAG,QAAQ,IAAI,iDAA0B,MAAE,CAAC;QAElG,OAAO,WAAW,CAAC;IACvB,CAAC;IACL,2BAAC;AAAD,CAAC,AA9PD,IA8PC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import FeedbackValidator from '../../common/
|
|
1
|
+
import FeedbackValidator from '../../common/validator/FeedbackValidator';
|
|
2
2
|
import CloudFeedbackSortRequest from '../request/CloudFeedbackSortRequest';
|
|
3
3
|
import CloudCreateFeedbackRequest from '../request/CloudCreateFeedbackRequest';
|
|
4
4
|
import UpdateFeedbackRequest from '../../common/request/UpdateFeedbackRequest';
|
|
@@ -18,7 +18,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
18
18
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
19
19
|
};
|
|
20
20
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
21
|
-
var FeedbackValidator_1 = __importDefault(require("../../common/
|
|
21
|
+
var FeedbackValidator_1 = __importDefault(require("../../common/validator/FeedbackValidator"));
|
|
22
22
|
var CloudUpdateFeedbackRequest_1 = __importDefault(require("../request/CloudUpdateFeedbackRequest"));
|
|
23
23
|
var CloudFeedbackValidator = /** @class */ (function (_super) {
|
|
24
24
|
__extends(CloudFeedbackValidator, _super);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CloudFeedbackValidator.js","sourceRoot":"","sources":["../../../../../src/translation/feedback/cloud/validator/CloudFeedbackValidator.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA,+FAAyE;AAGzE,qGAA+E;AAG/E;IAAoD,0CAAiB;IAArE;;IAkCA,CAAC;IAjCU,iEAAgC,GAAvC,UAAwC,WAAiD;QACrF,IAAI,WAAW,IAAI,CAAC,CAAC,WAAW,CAAC,KAAK,IAAI,CAAC,WAAW,CAAC,QAAQ,CAAC,EAAE;YAC9D,OAAO,kEAAkE,CAAC;SAC7E;QAED,OAAO,IAAI,CAAC;IAChB,CAAC;IAEM,8DAA6B,GAApC,UAAqC,qBAAiD;QAClF,IACI,qBAAqB,CAAC,MAAM,KAAK,SAAS;YAC1C,CAAC,qBAAqB,CAAC,MAAM,GAAG,CAAC,IAAI,qBAAqB,CAAC,MAAM,GAAG,CAAC,CAAC,EACxE;YACE,OAAO,gCAAgC,CAAC;SAC3C;IACL,CAAC;IAEM,8DAA6B,GAApC,UAAqC,qBAA4C;QAC7E,IAAI,qBAAqB,YAAY,oCAA0B,EAAE;YAC7D,IACI,qBAAqB,CAAC,MAAM,KAAK,SAAS;gBAC1C,CAAC,qBAAqB,CAAC,MAAM,GAAG,CAAC,IAAI,qBAAqB,CAAC,MAAM,GAAG,CAAC,CAAC,EACxE;gBACE,OAAO,gCAAgC,CAAC;aAC3C;SACJ;QAED,IAAI,CAAC,qBAAqB,CAAC,UAAU,EAAE;YACnC,OAAO,8CAA8C,CAAC;SACzD;QAED,OAAO,IAAI,CAAC;IAChB,CAAC;IACL,6BAAC;AAAD,CAAC,AAlCD,CAAoD,2BAAiB,GAkCpE"}
|
|
File without changes
|
|
File without changes
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AuditData.js","sourceRoot":"","sources":["../../../../../src/translation/feedback/common/result/AuditData.ts"],"names":[],"mappings":";;AAAA;IAAA;IAqCA,CAAC;IA/BG,sBAAI,yCAAkB;aAAtB;YACI,OAAO,IAAI,CAAC,mBAAmB,CAAC;QACpC,CAAC;aAED,UAAuB,KAAyB;YAC5C,IAAI,CAAC,mBAAmB,GAAG,KAAK,CAAC;QACrC,CAAC;;;OAJA;IAMD,sBAAI,mCAAY;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,8CAAuB;aAA3B;YACI,OAAO,IAAI,CAAC,wBAAwB,CAAC;QACzC,CAAC;aAED,UAA4B,KAAyB;YACjD,IAAI,CAAC,wBAAwB,GAAG,KAAK,CAAC;QAC1C,CAAC;;;OAJA;IAMD,sBAAI,qCAAc;aAAlB;YACI,OAAO,IAAI,CAAC,eAAe,CAAC;QAChC,CAAC;aAED,UAAmB,KAAyB;YACxC,IAAI,CAAC,eAAe,GAAG,KAAK,CAAC;QACjC,CAAC;;;OAJA;IAKL,gBAAC;AAAD,CAAC,AArCD,IAqCC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import AuditData from '
|
|
1
|
+
import AuditData from './AuditData';
|
|
2
2
|
import FeedbackCommonResult from './FeedbackCommonResult';
|
|
3
3
|
import FeedbackComment from '../../../../common/constants/FeedbackComment';
|
|
4
4
|
export default class FeedbackResult extends FeedbackCommonResult {
|
|
File without changes
|
|
File without changes
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FeedbackValidator.js","sourceRoot":"","sources":["../../../../../src/translation/feedback/common/validator/FeedbackValidator.ts"],"names":[],"mappings":";;AAKA;IAAA;IAyCA,CAAC;IAxCU,yDAA6B,GAApC,UAAqC,qBAA4C;QAC7E,IAAI,CAAC,qBAAqB,CAAC,UAAU,EAAE;YACnC,OAAO,8CAA8C,CAAC;SACzD;QAED,OAAO,IAAI,CAAC,qBAAqB,CAAC,qBAAqB,CAAC,CAAC;IAC7D,CAAC;IAEM,iDAAqB,GAA5B,UAA6B,eAA8D;QACvF,IAAM,QAAQ,GAAG,eAAe,CAAC,QAAQ,CAAC;QAE1C,IAAI,QAAQ,IAAI,QAAQ,CAAC,MAAM,GAAG,CAAC,EAAE;YACjC,OAAO,CACH,mFAAmF;gBACnF,mEAAmE,CACtE,CAAC;SACL;QAED,OAAO,IAAI,CAAC;IAChB,CAAC;IAEM,iEAAqC,GAA5C,UAA6C,eAA8C;QACvF,IAAI,CAAC,eAAe,CAAC,UAAU,EAAE;YAC7B,OAAO,uDAAuD,CAAC;SAClE;QAED,IAAI,CAAC,eAAe,CAAC,cAAc,EAAE;YACjC,OAAO,2DAA2D,CAAC;SACtE;QAED,OAAO,IAAI,CAAC;IAChB,CAAC;IAEM,yDAA6B,GAApC,UAAqC,eAAsC;QACvE,IAAI,CAAC,eAAe,CAAC,UAAU,EAAE;YAC7B,OAAO,8CAA8C,CAAC;SACzD;QAED,OAAO,IAAI,CAAC;IAChB,CAAC;IACL,wBAAC;AAAD,CAAC,AAzCD,IAyCC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import EdgeFeedbackResult from '../result/EdgeFeedbackResult';
|
|
2
2
|
import FeedbackResult from '../../common/result/FeedbackResult';
|
|
3
|
-
import EdgeLanguagePair from '../../../translate/edge/api/EdgeLanguagePair';
|
|
4
3
|
import Timestamps from './Timestamps';
|
|
4
|
+
import EdgeLanguagePair from '../../../language-pairs/edge/result/EdgeLanguagePair';
|
|
5
5
|
export default class EdgeFeedbackApiModel {
|
|
6
6
|
private _feedbackId;
|
|
7
7
|
private _languagePairId;
|
|
@@ -5,7 +5,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
6
|
var EdgeFeedbackResult_1 = __importDefault(require("../result/EdgeFeedbackResult"));
|
|
7
7
|
var FeedbackResult_1 = __importDefault(require("../../common/result/FeedbackResult"));
|
|
8
|
-
var AuditData_1 = __importDefault(require("../../common/
|
|
8
|
+
var AuditData_1 = __importDefault(require("../../common/result/AuditData"));
|
|
9
9
|
var EdgeLanguagePairUtil_1 = require("../../../common/edge/utils/EdgeLanguagePairUtil");
|
|
10
10
|
var ApprovalStatus_1 = require("../../../../common/constants/ApprovalStatus");
|
|
11
11
|
var EdgeFeedbackApiModel = /** @class */ (function () {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"EdgeFeedbackApiModel.js","sourceRoot":"","sources":["../../../../../src/translation/feedback/edge/api/EdgeFeedbackApiModel.ts"],"names":[],"mappings":";;;;;AAAA,oFAA8D;AAC9D,sFAAgE;
|
|
1
|
+
{"version":3,"file":"EdgeFeedbackApiModel.js","sourceRoot":"","sources":["../../../../../src/translation/feedback/edge/api/EdgeFeedbackApiModel.ts"],"names":[],"mappings":";;;;;AAAA,oFAA8D;AAC9D,sFAAgE;AAChE,4EAAsD;AAEtD,wFAAwF;AACxF,8EAAkH;AAGlH;IAYI,8BAAY,QAA+B;QACvC,IAAI,QAAQ,EAAE;YACV,IAAI,CAAC,sBAAsB,CAAC,QAAQ,CAAC,CAAC;SACzC;IACL,CAAC;IAED,sBAAI,4CAAU;aAAd;YACI,OAAO,IAAI,CAAC,WAAW,CAAC;QAC5B,CAAC;aAED,UAAe,KAAyB;YACpC,IAAI,CAAC,WAAW,GAAG,KAAK,CAAC;QAC7B,CAAC;;;OAJA;IAMD,sBAAI,gDAAc;aAAlB;YACI,OAAO,IAAI,CAAC,eAAe,CAAC;QAChC,CAAC;aAED,UAAmB,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AI,CAAC,QAAQ,GAAG,QAAQ,CAAC,QAAQ,CAAC;QAClC,IAAI,CAAC,QAAQ,GAAG,QAAQ,CAAC,QAAQ,CAAC;QAClC,IAAI,CAAC,UAAU,GAAG,QAAQ,CAAC,UAAU,CAAC;IAC1C,CAAC;IACL,2BAAC;AAAD,CAAC,AA/KD,IA+KC"}
|
|
@@ -6,7 +6,6 @@ import EdgeFilterFeedbackRequest from '../request/EdgeFilterFeedbackRequest';
|
|
|
6
6
|
import EdgeFeedbackListResult from '../result/EdgeFeedbackListResult';
|
|
7
7
|
import CreateFeedbackRequest from '../../common/request/CreateFeedbackRequest';
|
|
8
8
|
import FeedbackResult from '../../common/result/FeedbackResult';
|
|
9
|
-
import EdgeLanguagePair from '../../../translate/edge/api/EdgeLanguagePair';
|
|
10
9
|
import EdgeFeedbackResult from '../result/EdgeFeedbackResult';
|
|
11
10
|
import EdgeCreateFeedbackRequest from '../request/EdgeCreateFeedbackRequest';
|
|
12
11
|
import UpdateFeedbackRequest from '../../common/request/UpdateFeedbackRequest';
|
|
@@ -15,6 +14,7 @@ import UpdateFeedbackApprovalRequest from '../../common/request/UpdateFeedbackAp
|
|
|
15
14
|
import EdgeUpdateFeedbackApprovalRequest from '../request/EdgeUpdateFeedbackApprovalRequest';
|
|
16
15
|
import DeleteFeedbackRequest from '../../common/request/DeleteFeedbackRequest';
|
|
17
16
|
import EdgeDeleteFeedbackRequest from '../request/EdgeDeleteFeedbackRequest';
|
|
17
|
+
import EdgeLanguagePair from '../../../language-pairs/edge/result/EdgeLanguagePair';
|
|
18
18
|
export default class EdgeFeedbackService {
|
|
19
19
|
private readonly _client;
|
|
20
20
|
private readonly _token;
|
|
@@ -15,7 +15,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
var moment_1 = __importDefault(require("moment"));
|
|
18
|
-
var EdgeFeedbackValidator_1 = __importDefault(require("../
|
|
18
|
+
var EdgeFeedbackValidator_1 = __importDefault(require("../validator/EdgeFeedbackValidator"));
|
|
19
19
|
var EdgeFeedbackListResponse_1 = __importDefault(require("../api/EdgeFeedbackListResponse"));
|
|
20
20
|
var EdgeFilterFeedbackRequest_1 = __importDefault(require("../request/EdgeFilterFeedbackRequest"));
|
|
21
21
|
var TranslationConstants_1 = require("../../../../common/constants/TranslationConstants");
|