@language-weaver/lw-sdk-js 1.0.0 → 1.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/{auth → common/auth}/LanguageWeaverAuthentication.d.ts +2 -2
- package/lib/{auth → common/auth}/LanguageWeaverAuthentication.js +1 -1
- package/lib/common/auth/LanguageWeaverAuthentication.js.map +1 -0
- package/lib/{auth → common/auth}/domain/SelfInformation.d.ts +0 -0
- package/lib/{auth → common/auth}/domain/SelfInformation.js +0 -0
- package/lib/common/auth/domain/SelfInformation.js.map +1 -0
- package/lib/{auth → common/auth}/domain/Token.d.ts +0 -0
- package/lib/{auth → common/auth}/domain/Token.js +0 -0
- package/lib/common/auth/domain/Token.js.map +1 -0
- package/lib/{auth → common/auth}/domain/UserSelfInformation.d.ts +0 -0
- package/lib/{auth → common/auth}/domain/UserSelfInformation.js +0 -0
- package/lib/common/auth/domain/UserSelfInformation.js.map +1 -0
- package/lib/common/configurations/ClientConfiguration.d.ts +1 -1
- package/lib/common/configurations/TokenConfiguration.d.ts +2 -2
- package/lib/common/constants/ApprovalStatus.d.ts +7 -0
- package/lib/common/constants/ApprovalStatus.js +20 -0
- package/lib/common/constants/ApprovalStatus.js.map +1 -0
- package/lib/common/constants/FeedbackCategory.d.ts +4 -0
- package/lib/common/constants/FeedbackCategory.js +9 -0
- package/lib/common/constants/FeedbackCategory.js.map +1 -0
- package/lib/common/constants/FeedbackComment.d.ts +10 -0
- package/lib/common/constants/FeedbackComment.js +15 -0
- package/lib/common/constants/FeedbackComment.js.map +1 -0
- package/lib/common/constants/FileExtensions.d.ts +1 -1
- package/lib/common/constants/FileExtensions.js +1 -1
- package/lib/common/constants/FileExtensions.js.map +1 -1
- package/lib/{translation/common → common/constants}/Format.d.ts +1 -1
- package/lib/{translation/common → common/constants}/Format.js +4 -1
- package/lib/common/constants/Format.js.map +1 -0
- package/lib/common/constants/FormatToMimeType.js +2 -0
- package/lib/common/constants/FormatToMimeType.js.map +1 -1
- package/lib/common/constants/Order.d.ts +4 -0
- package/lib/common/constants/Order.js +9 -0
- package/lib/common/constants/Order.js.map +1 -0
- 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/{translation/common → common/constants}/Product.d.ts +0 -0
- package/lib/{translation/common → common/constants}/Product.js +0 -0
- package/lib/common/constants/Product.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/{translation/common → common/constants}/Regions.d.ts +0 -0
- package/lib/{translation/common → common/constants}/Regions.js +0 -0
- package/lib/common/constants/Regions.js.map +1 -0
- package/lib/{translation/common → common/constants}/Statuses.d.ts +0 -0
- package/lib/{translation/common → common/constants}/Statuses.js +0 -0
- package/lib/common/constants/Statuses.js.map +1 -0
- package/lib/common/constants/TranslationConstants.d.ts +9 -0
- package/lib/common/constants/TranslationConstants.js +11 -2
- package/lib/common/constants/TranslationConstants.js.map +1 -1
- package/lib/common/{requests → external/communication}/RestClient.d.ts +2 -2
- package/lib/common/{requests → external/communication}/RestClient.js +19 -28
- package/lib/common/external/communication/RestClient.js.map +1 -0
- package/lib/common/utils/HttpUtils.d.ts +2 -1
- package/lib/common/utils/HttpUtils.js +14 -1
- package/lib/common/utils/HttpUtils.js.map +1 -1
- package/lib/common/utils/Utils.d.ts +2 -2
- package/lib/common/utils/Utils.js +1 -1
- package/lib/common/utils/Utils.js.map +1 -1
- package/lib/index.d.ts +72 -39
- package/lib/index.js +104 -38
- package/lib/index.js.map +1 -1
- package/lib/translation/common/LanguageWeaverClient.d.ts +27 -0
- package/lib/{LanguageWeaverClient.js → translation/common/LanguageWeaverClient.js} +0 -0
- package/lib/translation/common/LanguageWeaverClient.js.map +1 -0
- package/lib/{SdkFactory.d.ts → translation/common/SdkFactory.d.ts} +2 -2
- package/lib/{SdkFactory.js → translation/common/SdkFactory.js} +5 -5
- package/lib/translation/common/SdkFactory.js.map +1 -0
- package/lib/translation/common/cloud/CloudLanguageWeaverClient.d.ts +86 -0
- package/lib/{CloudLanguageWeaverClient.js → translation/common/cloud/CloudLanguageWeaverClient.js} +145 -39
- package/lib/translation/common/cloud/CloudLanguageWeaverClient.js.map +1 -0
- package/lib/translation/common/edge/EdgeLanguageWeaverClient.d.ts +85 -0
- package/lib/{EdgeLanguageWeaverClient.js → translation/common/edge/EdgeLanguageWeaverClient.js} +204 -76
- package/lib/translation/common/edge/EdgeLanguageWeaverClient.js.map +1 -0
- package/lib/translation/common/edge/utils/EdgeLanguagePairUtil.d.ts +2 -0
- package/lib/translation/common/edge/utils/EdgeLanguagePairUtil.js +24 -0
- package/lib/translation/common/edge/utils/EdgeLanguagePairUtil.js.map +1 -0
- package/lib/translation/common/result/PaginatedListResult.d.ts +11 -0
- package/lib/translation/common/result/PaginatedListResult.js +39 -0
- package/lib/translation/common/result/PaginatedListResult.js.map +1 -0
- package/lib/translation/feedback/cloud/api/CloudFeedbackApiModel.d.ts +64 -0
- package/lib/translation/feedback/cloud/api/CloudFeedbackApiModel.js +291 -0
- package/lib/translation/feedback/cloud/api/CloudFeedbackApiModel.js.map +1 -0
- package/lib/translation/feedback/cloud/api/CloudFeedbackApproval.d.ts +35 -0
- package/lib/translation/feedback/cloud/api/CloudFeedbackApproval.js +119 -0
- package/lib/translation/feedback/cloud/api/CloudFeedbackApproval.js.map +1 -0
- 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 +6 -0
- package/lib/translation/feedback/cloud/api/CloudFeedbackImprovement.js +20 -0
- package/lib/translation/feedback/cloud/api/CloudFeedbackImprovement.js.map +1 -0
- package/lib/translation/feedback/cloud/api/CloudFeedbackListResponse.d.ts +11 -0
- package/lib/translation/feedback/cloud/api/CloudFeedbackListResponse.js +60 -0
- package/lib/translation/feedback/cloud/api/CloudFeedbackListResponse.js.map +1 -0
- package/lib/translation/feedback/cloud/api/CloudFeedbackRating.d.ts +10 -0
- package/lib/translation/feedback/cloud/api/CloudFeedbackRating.js +39 -0
- package/lib/translation/feedback/cloud/api/CloudFeedbackRating.js.map +1 -0
- package/lib/translation/feedback/cloud/api/CloudFilterFeedbackApiRequest.d.ts +25 -0
- package/lib/translation/feedback/cloud/api/CloudFilterFeedbackApiRequest.js +111 -0
- package/lib/translation/feedback/cloud/api/CloudFilterFeedbackApiRequest.js.map +1 -0
- package/lib/translation/feedback/cloud/api/CloudTranslationFeedback.d.ts +29 -0
- package/lib/translation/feedback/cloud/api/CloudTranslationFeedback.js +99 -0
- package/lib/translation/feedback/cloud/api/CloudTranslationFeedback.js.map +1 -0
- package/lib/translation/feedback/cloud/model/CloudAuditData.d.ts +21 -0
- package/lib/translation/feedback/cloud/model/CloudAuditData.js +90 -0
- package/lib/translation/feedback/cloud/model/CloudAuditData.js.map +1 -0
- package/lib/translation/feedback/cloud/model/CloudFeedbackSortCriteria.d.ts +4 -0
- package/lib/translation/feedback/cloud/model/CloudFeedbackSortCriteria.js +9 -0
- package/lib/translation/feedback/cloud/model/CloudFeedbackSortCriteria.js.map +1 -0
- 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 +10 -0
- package/lib/translation/feedback/cloud/request/CloudFeedbackSortRequest.js +29 -0
- package/lib/translation/feedback/cloud/request/CloudFeedbackSortRequest.js.map +1 -0
- package/lib/translation/feedback/cloud/request/CloudFilterFeedbackRequest.d.ts +14 -0
- package/lib/translation/feedback/cloud/request/CloudFilterFeedbackRequest.js +60 -0
- package/lib/translation/feedback/cloud/request/CloudFilterFeedbackRequest.js.map +1 -0
- 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/result/CloudFeedbackListResult.d.ts +7 -0
- package/lib/translation/feedback/cloud/result/CloudFeedbackListResult.js +42 -0
- package/lib/translation/feedback/cloud/result/CloudFeedbackListResult.js.map +1 -0
- package/lib/translation/feedback/cloud/result/CloudFeedbackResult.d.ts +29 -0
- package/lib/translation/feedback/cloud/result/CloudFeedbackResult.js +110 -0
- package/lib/translation/feedback/cloud/result/CloudFeedbackResult.js.map +1 -0
- package/lib/translation/feedback/cloud/service/CloudFeedbackService.d.ts +41 -0
- package/lib/translation/feedback/cloud/service/CloudFeedbackService.js +207 -0
- package/lib/translation/feedback/cloud/service/CloudFeedbackService.js.map +1 -0
- package/lib/translation/feedback/cloud/validators/CloudFeedbackValidator.d.ts +9 -0
- package/lib/translation/feedback/cloud/validators/CloudFeedbackValidator.js +55 -0
- package/lib/translation/feedback/cloud/validators/CloudFeedbackValidator.js.map +1 -0
- package/lib/translation/feedback/common/model/AuditData.d.ts +14 -0
- package/lib/translation/feedback/common/model/AuditData.js +49 -0
- package/lib/translation/feedback/common/model/AuditData.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 +15 -0
- package/lib/translation/feedback/common/request/FilterFeedbackRequest.js +49 -0
- package/lib/translation/feedback/common/request/FilterFeedbackRequest.js.map +1 -0
- 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/result/FeedbackCommonResult.d.ts +30 -0
- package/lib/translation/feedback/common/result/FeedbackCommonResult.js +100 -0
- package/lib/translation/feedback/common/result/FeedbackCommonResult.js.map +1 -0
- package/lib/translation/feedback/common/result/FeedbackListResult.d.ts +7 -0
- package/lib/translation/feedback/common/result/FeedbackListResult.js +42 -0
- package/lib/translation/feedback/common/result/FeedbackListResult.js.map +1 -0
- package/lib/translation/feedback/common/result/FeedbackResult.d.ts +14 -0
- package/lib/translation/feedback/common/result/FeedbackResult.js +67 -0
- package/lib/translation/feedback/common/result/FeedbackResult.js.map +1 -0
- package/lib/translation/feedback/common/validators/FeedbackValidator.d.ts +10 -0
- package/lib/translation/feedback/common/validators/FeedbackValidator.js +38 -0
- package/lib/translation/feedback/common/validators/FeedbackValidator.js.map +1 -0
- package/lib/translation/feedback/edge/api/EdgeFeedbackApiModel.d.ts +40 -0
- package/lib/translation/feedback/edge/api/EdgeFeedbackApiModel.js +190 -0
- package/lib/translation/feedback/edge/api/EdgeFeedbackApiModel.js.map +1 -0
- package/lib/translation/feedback/edge/api/EdgeFeedbackListResponse.d.ts +22 -0
- package/lib/translation/feedback/edge/api/EdgeFeedbackListResponse.js +86 -0
- package/lib/translation/feedback/edge/api/EdgeFeedbackListResponse.js.map +1 -0
- package/lib/translation/feedback/edge/api/Timestamps.d.ts +11 -0
- package/lib/translation/feedback/edge/api/Timestamps.js +39 -0
- package/lib/translation/feedback/edge/api/Timestamps.js.map +1 -0
- 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/EdgeFilterFeedbackRequest.d.ts +31 -0
- package/lib/translation/feedback/edge/request/EdgeFilterFeedbackRequest.js +122 -0
- package/lib/translation/feedback/edge/request/EdgeFilterFeedbackRequest.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/result/EdgeFeedbackListResult.d.ts +10 -0
- package/lib/translation/feedback/edge/result/EdgeFeedbackListResult.js +52 -0
- package/lib/translation/feedback/edge/result/EdgeFeedbackListResult.js.map +1 -0
- package/lib/translation/feedback/edge/result/EdgeFeedbackResult.d.ts +6 -0
- package/lib/translation/feedback/edge/result/EdgeFeedbackResult.js +40 -0
- package/lib/translation/feedback/edge/result/EdgeFeedbackResult.js.map +1 -0
- package/lib/translation/feedback/edge/service/EdgeFeedbackService.d.ts +39 -0
- package/lib/translation/feedback/edge/service/EdgeFeedbackService.js +216 -0
- package/lib/translation/feedback/edge/service/EdgeFeedbackService.js.map +1 -0
- package/lib/translation/feedback/edge/validators/EdgeFeedbackValidator.d.ts +3 -0
- package/lib/translation/feedback/edge/validators/EdgeFeedbackValidator.js +30 -0
- package/lib/translation/feedback/edge/validators/EdgeFeedbackValidator.js.map +1 -0
- package/lib/translation/translate/{response/cloud → cloud/api}/CloudDictionaryResponse.d.ts +0 -0
- package/lib/translation/translate/{response/cloud → cloud/api}/CloudDictionaryResponse.js +0 -0
- package/lib/translation/translate/cloud/api/CloudDictionaryResponse.js.map +1 -0
- package/lib/translation/translate/{response/cloud → cloud/api}/CloudLanguagePair.d.ts +0 -0
- package/lib/translation/translate/{response/cloud → cloud/api}/CloudLanguagePair.js +0 -0
- package/lib/translation/translate/cloud/api/CloudLanguagePair.js.map +1 -0
- package/lib/translation/translate/{request/cloud → cloud/request}/CloudTranslateBatchFileRequest.d.ts +1 -1
- package/lib/translation/translate/{request/cloud → cloud/request}/CloudTranslateBatchFileRequest.js +1 -1
- package/lib/translation/translate/cloud/request/CloudTranslateBatchFileRequest.js.map +1 -0
- package/lib/translation/translate/{request/cloud → cloud/request}/CloudTranslateFileRequest.d.ts +1 -1
- package/lib/translation/translate/{request/cloud → cloud/request}/CloudTranslateFileRequest.js +1 -1
- package/lib/translation/translate/cloud/request/CloudTranslateFileRequest.js.map +1 -0
- package/lib/translation/translate/{request/cloud → cloud/request}/CloudTranslateTextRequest.d.ts +1 -1
- package/lib/translation/translate/{request/cloud → cloud/request}/CloudTranslateTextRequest.js +1 -1
- package/lib/translation/translate/cloud/request/CloudTranslateTextRequest.js.map +1 -0
- package/lib/translation/translate/cloud/result/CloudDictionariesResult.d.ts +10 -0
- package/lib/translation/translate/cloud/result/CloudDictionariesResult.js +50 -0
- package/lib/translation/translate/cloud/result/CloudDictionariesResult.js.map +1 -0
- package/lib/translation/translate/{result/cloud → cloud/result}/CloudLanguagePairsResult.d.ts +1 -1
- package/lib/translation/translate/{result/cloud → cloud/result}/CloudLanguagePairsResult.js +0 -0
- package/lib/translation/translate/{result/cloud → cloud/result}/CloudLanguagePairsResult.js.map +1 -1
- package/lib/translation/translate/{result/cloud → cloud/result}/CloudTranslationBatchFileResult.d.ts +1 -1
- package/lib/translation/translate/{result/cloud → cloud/result}/CloudTranslationBatchFileResult.js +1 -1
- package/lib/translation/translate/cloud/result/CloudTranslationBatchFileResult.js.map +1 -0
- package/lib/translation/translate/{result/cloud → cloud/result}/CloudTranslationFileResult.d.ts +3 -3
- package/lib/translation/translate/{result/cloud → cloud/result}/CloudTranslationFileResult.js +1 -1
- package/lib/translation/translate/{result/cloud → cloud/result}/CloudTranslationFileResult.js.map +1 -1
- package/lib/translation/translate/{result/cloud → cloud/result}/CloudTranslationTextResult.d.ts +2 -2
- package/lib/translation/translate/{result/cloud → cloud/result}/CloudTranslationTextResult.js +0 -0
- package/lib/translation/translate/{result/cloud → cloud/result}/CloudTranslationTextResult.js.map +1 -1
- package/lib/translation/translate/{response → common/api}/AsyncTranslationResponse.d.ts +0 -0
- package/lib/translation/translate/{response → common/api}/AsyncTranslationResponse.js +0 -0
- package/lib/translation/translate/common/api/AsyncTranslationResponse.js.map +1 -0
- package/lib/translation/translate/{response → common/api}/DictionaryResponse.d.ts +0 -0
- package/lib/translation/translate/{response → common/api}/DictionaryResponse.js +0 -0
- package/lib/translation/translate/common/api/DictionaryResponse.js.map +1 -0
- package/lib/translation/translate/{response → common/api}/LanguagePair.d.ts +0 -0
- package/lib/translation/translate/{response → common/api}/LanguagePair.js +0 -0
- package/lib/translation/translate/common/api/LanguagePair.js.map +1 -0
- package/lib/translation/translate/{response → common/api}/TranslationStatistics.d.ts +0 -0
- package/lib/translation/translate/{response → common/api}/TranslationStatistics.js +0 -0
- package/lib/translation/translate/common/api/TranslationStatistics.js.map +1 -0
- package/lib/translation/translate/{response/StatusTranslationResponse.d.ts → common/api/TranslationStatusResponse.d.ts} +2 -2
- package/lib/translation/translate/{response/StatusTranslationResponse.js → common/api/TranslationStatusResponse.js} +10 -10
- package/lib/translation/translate/common/api/TranslationStatusResponse.js.map +1 -0
- package/lib/translation/translate/{request → common/request}/TranslateBatchFileRequest.d.ts +4 -0
- package/lib/translation/translate/{request → common/request}/TranslateBatchFileRequest.js +10 -7
- package/lib/translation/translate/common/request/TranslateBatchFileRequest.js.map +1 -0
- package/lib/translation/translate/{request → common/request}/TranslateFileRequest.d.ts +4 -0
- package/lib/translation/translate/{request → common/request}/TranslateFileRequest.js +10 -0
- package/lib/translation/translate/common/request/TranslateFileRequest.js.map +1 -0
- package/lib/translation/translate/{request → common/request}/TranslateRequest.d.ts +1 -1
- package/lib/translation/translate/{request → common/request}/TranslateRequest.js +0 -0
- package/lib/translation/translate/common/request/TranslateRequest.js.map +1 -0
- package/lib/translation/translate/{request → common/request}/TranslateTextRequest.d.ts +3 -1
- package/lib/translation/translate/{request → common/request}/TranslateTextRequest.js +9 -1
- package/lib/translation/translate/common/request/TranslateTextRequest.js.map +1 -0
- package/lib/translation/translate/common/result/DictionariesResult.d.ts +7 -0
- package/lib/translation/translate/common/result/DictionariesResult.js +40 -0
- package/lib/translation/translate/common/result/DictionariesResult.js.map +1 -0
- package/lib/translation/translate/{result → common/result}/LanguagePairsResult.d.ts +1 -1
- package/lib/translation/translate/{result → common/result}/LanguagePairsResult.js +0 -0
- package/lib/translation/translate/common/result/LanguagePairsResult.js.map +1 -0
- package/lib/translation/translate/{result → common/result}/TranslateTextResult.d.ts +0 -0
- package/lib/translation/translate/{result → common/result}/TranslateTextResult.js +0 -0
- package/lib/translation/translate/common/result/TranslateTextResult.js.map +1 -0
- package/lib/translation/translate/{result → common/result}/TranslationBatchFileResult.d.ts +0 -0
- package/lib/translation/translate/{result → common/result}/TranslationBatchFileResult.js +0 -0
- package/lib/translation/translate/common/result/TranslationBatchFileResult.js.map +1 -0
- package/lib/translation/translate/{result → common/result}/TranslationFileResult.d.ts +0 -0
- package/lib/translation/translate/{result → common/result}/TranslationFileResult.js +0 -0
- package/lib/translation/translate/common/result/TranslationFileResult.js.map +1 -0
- package/lib/translation/translate/{utils → common/utils}/TranslateFileUtil.d.ts +0 -0
- package/lib/translation/translate/{utils → common/utils}/TranslateFileUtil.js +2 -2
- package/lib/translation/translate/common/utils/TranslateFileUtil.js.map +1 -0
- package/lib/translation/translate/{response/edge → edge/api}/EdgeAsyncTranslationResponse.d.ts +0 -0
- package/lib/translation/translate/{response/edge → edge/api}/EdgeAsyncTranslationResponse.js +0 -0
- package/lib/translation/translate/edge/api/EdgeAsyncTranslationResponse.js.map +1 -0
- package/lib/translation/translate/{response/edge → edge/api}/EdgeDictionaryResponse.d.ts +0 -0
- package/lib/translation/translate/{response/edge → edge/api}/EdgeDictionaryResponse.js +0 -0
- package/lib/translation/translate/edge/api/EdgeDictionaryResponse.js.map +1 -0
- package/lib/translation/translate/{response/edge → edge/api}/EdgeLanguagePair.d.ts +0 -0
- package/lib/translation/translate/{response/edge → edge/api}/EdgeLanguagePair.js +0 -0
- package/lib/translation/translate/edge/api/EdgeLanguagePair.js.map +1 -0
- package/lib/translation/translate/{response/edge → edge/api}/EdgeStatusTranslationResponse.d.ts +0 -0
- package/lib/translation/translate/{response/edge → edge/api}/EdgeStatusTranslationResponse.js +0 -0
- package/lib/translation/translate/edge/api/EdgeStatusTranslationResponse.js.map +1 -0
- package/lib/translation/translate/{response/edge → edge/api}/MemberPair.d.ts +0 -0
- package/lib/translation/translate/{response/edge → edge/api}/MemberPair.js +0 -0
- package/lib/translation/translate/edge/api/MemberPair.js.map +1 -0
- package/lib/translation/translate/{response/edge → edge/api}/Profile.d.ts +0 -0
- package/lib/translation/translate/{response/edge → edge/api}/Profile.js +0 -0
- package/lib/translation/translate/edge/api/Profile.js.map +1 -0
- package/lib/translation/translate/{response/edge → edge/api}/Result.d.ts +0 -0
- package/lib/translation/translate/{response/edge → edge/api}/Result.js +0 -0
- package/lib/translation/translate/edge/api/Result.js.map +1 -0
- package/lib/translation/translate/{response/edge → edge/api}/Timestamps.d.ts +0 -0
- package/lib/translation/translate/{response/edge → edge/api}/Timestamps.js +0 -0
- package/lib/translation/translate/edge/api/Timestamps.js.map +1 -0
- package/lib/translation/translate/edge/request/EdgeTranslateApiModel.d.ts +29 -0
- package/lib/translation/translate/edge/request/EdgeTranslateApiModel.js +109 -0
- package/lib/translation/translate/edge/request/EdgeTranslateApiModel.js.map +1 -0
- package/lib/translation/translate/{request/edge → edge/request}/EdgeTranslateBatchFileRequest.d.ts +2 -2
- package/lib/translation/translate/{request/edge → edge/request}/EdgeTranslateBatchFileRequest.js +1 -1
- package/lib/translation/translate/{request/edge → edge/request}/EdgeTranslateBatchFileRequest.js.map +1 -1
- package/lib/translation/translate/{request/edge → edge/request}/EdgeTranslateFileRequest.d.ts +4 -2
- package/lib/translation/translate/{request/edge → edge/request}/EdgeTranslateFileRequest.js +16 -1
- package/lib/translation/translate/edge/request/EdgeTranslateFileRequest.js.map +1 -0
- package/lib/translation/translate/{request/edge → edge/request}/EdgeTranslateTextRequest.d.ts +4 -2
- package/lib/translation/translate/{request/edge → edge/request}/EdgeTranslateTextRequest.js +16 -1
- package/lib/translation/translate/edge/request/EdgeTranslateTextRequest.js.map +1 -0
- package/lib/translation/translate/edge/result/EdgeDictionariesResult.d.ts +10 -0
- package/lib/translation/translate/edge/result/EdgeDictionariesResult.js +50 -0
- package/lib/translation/translate/edge/result/EdgeDictionariesResult.js.map +1 -0
- package/lib/translation/translate/{result/edge → edge/result}/EdgeLanguagePairsResult.d.ts +1 -1
- package/lib/translation/translate/{result/edge → edge/result}/EdgeLanguagePairsResult.js +0 -0
- package/lib/translation/translate/{result/edge → edge/result}/EdgeLanguagePairsResult.js.map +1 -1
- package/lib/translation/translate/{result/edge → edge/result}/EdgeTranslationBatchFileResult.d.ts +1 -1
- package/lib/translation/translate/{result/edge → edge/result}/EdgeTranslationBatchFileResult.js +1 -1
- package/lib/translation/translate/edge/result/EdgeTranslationBatchFileResult.js.map +1 -0
- package/lib/translation/translate/{result/edge → edge/result}/EdgeTranslationFileResult.d.ts +1 -1
- package/lib/translation/translate/{result/edge → edge/result}/EdgeTranslationFileResult.js +1 -1
- package/lib/translation/translate/{result/edge → edge/result}/EdgeTranslationFileResult.js.map +1 -1
- package/lib/translation/translate/{result/edge → edge/result}/EdgeTranslationTextResult.d.ts +1 -1
- package/lib/translation/translate/{result/edge → edge/result}/EdgeTranslationTextResult.js +1 -1
- package/lib/translation/translate/edge/result/EdgeTranslationTextResult.js.map +1 -0
- package/lib/version.d.ts +1 -1
- package/lib/version.js +1 -1
- package/package.json +4 -3
- package/lib/CloudLanguageWeaverClient.d.ts +0 -61
- package/lib/CloudLanguageWeaverClient.js.map +0 -1
- package/lib/EdgeLanguageWeaverClient.d.ts +0 -60
- package/lib/EdgeLanguageWeaverClient.js.map +0 -1
- package/lib/LanguageWeaverClient.d.ts +0 -15
- package/lib/LanguageWeaverClient.js.map +0 -1
- package/lib/SdkFactory.js.map +0 -1
- package/lib/auth/LanguageWeaverAuthentication.js.map +0 -1
- package/lib/auth/domain/SelfInformation.js.map +0 -1
- package/lib/auth/domain/Token.js.map +0 -1
- package/lib/auth/domain/UserSelfInformation.js.map +0 -1
- package/lib/common/requests/RestClient.js.map +0 -1
- package/lib/translation/common/Format.js.map +0 -1
- package/lib/translation/common/Product.js.map +0 -1
- package/lib/translation/common/Regions.js.map +0 -1
- package/lib/translation/common/Statuses.js.map +0 -1
- package/lib/translation/translate/request/TranslateBatchFileRequest.js.map +0 -1
- package/lib/translation/translate/request/TranslateFileRequest.js.map +0 -1
- package/lib/translation/translate/request/TranslateRequest.js.map +0 -1
- package/lib/translation/translate/request/TranslateTextRequest.js.map +0 -1
- package/lib/translation/translate/request/cloud/CloudTranslateBatchFileRequest.js.map +0 -1
- package/lib/translation/translate/request/cloud/CloudTranslateFileRequest.js.map +0 -1
- package/lib/translation/translate/request/cloud/CloudTranslateTextRequest.js.map +0 -1
- package/lib/translation/translate/request/edge/EdgeTranslateFileRequest.js.map +0 -1
- package/lib/translation/translate/request/edge/EdgeTranslateTextRequest.js.map +0 -1
- package/lib/translation/translate/response/AsyncTranslationResponse.js.map +0 -1
- package/lib/translation/translate/response/DictionaryResponse.js.map +0 -1
- package/lib/translation/translate/response/LanguagePair.js.map +0 -1
- package/lib/translation/translate/response/StatusTranslationResponse.js.map +0 -1
- package/lib/translation/translate/response/TranslationStatistics.js.map +0 -1
- package/lib/translation/translate/response/cloud/CloudDictionaryResponse.js.map +0 -1
- package/lib/translation/translate/response/cloud/CloudLanguagePair.js.map +0 -1
- package/lib/translation/translate/response/edge/EdgeAsyncTranslationResponse.js.map +0 -1
- package/lib/translation/translate/response/edge/EdgeDictionaryResponse.js.map +0 -1
- package/lib/translation/translate/response/edge/EdgeLanguagePair.js.map +0 -1
- package/lib/translation/translate/response/edge/EdgeStatusTranslationResponse.js.map +0 -1
- package/lib/translation/translate/response/edge/MemberPair.js.map +0 -1
- package/lib/translation/translate/response/edge/Profile.js.map +0 -1
- package/lib/translation/translate/response/edge/Result.js.map +0 -1
- package/lib/translation/translate/response/edge/Timestamps.js.map +0 -1
- package/lib/translation/translate/result/DictionariesResult.d.ts +0 -6
- package/lib/translation/translate/result/DictionariesResult.js +0 -19
- package/lib/translation/translate/result/DictionariesResult.js.map +0 -1
- package/lib/translation/translate/result/LanguagePairsResult.js.map +0 -1
- package/lib/translation/translate/result/TranslateTextResult.js.map +0 -1
- package/lib/translation/translate/result/TranslationBatchFileResult.js.map +0 -1
- package/lib/translation/translate/result/TranslationFileResult.js.map +0 -1
- package/lib/translation/translate/result/cloud/CloudDictionariesResult.d.ts +0 -18
- package/lib/translation/translate/result/cloud/CloudDictionariesResult.js +0 -59
- package/lib/translation/translate/result/cloud/CloudDictionariesResult.js.map +0 -1
- package/lib/translation/translate/result/cloud/CloudTranslationBatchFileResult.js.map +0 -1
- package/lib/translation/translate/result/edge/EdgeDictionariesResult.d.ts +0 -18
- package/lib/translation/translate/result/edge/EdgeDictionariesResult.js +0 -59
- package/lib/translation/translate/result/edge/EdgeDictionariesResult.js.map +0 -1
- package/lib/translation/translate/result/edge/EdgeTranslationBatchFileResult.js.map +0 -1
- package/lib/translation/translate/result/edge/EdgeTranslationTextResult.js.map +0 -1
- package/lib/translation/translate/utils/TranslateFileUtil.js.map +0 -1
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
var CloudFeedbackSortRequest = /** @class */ (function () {
|
|
4
|
+
function CloudFeedbackSortRequest() {
|
|
5
|
+
}
|
|
6
|
+
Object.defineProperty(CloudFeedbackSortRequest.prototype, "criteria", {
|
|
7
|
+
get: function () {
|
|
8
|
+
return this._criteria;
|
|
9
|
+
},
|
|
10
|
+
set: function (value) {
|
|
11
|
+
this._criteria = value;
|
|
12
|
+
},
|
|
13
|
+
enumerable: false,
|
|
14
|
+
configurable: true
|
|
15
|
+
});
|
|
16
|
+
Object.defineProperty(CloudFeedbackSortRequest.prototype, "order", {
|
|
17
|
+
get: function () {
|
|
18
|
+
return this._order;
|
|
19
|
+
},
|
|
20
|
+
set: function (value) {
|
|
21
|
+
this._order = value;
|
|
22
|
+
},
|
|
23
|
+
enumerable: false,
|
|
24
|
+
configurable: true
|
|
25
|
+
});
|
|
26
|
+
return CloudFeedbackSortRequest;
|
|
27
|
+
}());
|
|
28
|
+
exports.default = CloudFeedbackSortRequest;
|
|
29
|
+
//# sourceMappingURL=CloudFeedbackSortRequest.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CloudFeedbackSortRequest.js","sourceRoot":"","sources":["../../../../../src/translation/feedback/cloud/request/CloudFeedbackSortRequest.ts"],"names":[],"mappings":";;AAGA;IAAA;IAmBA,CAAC;IAfG,sBAAI,8CAAQ;aAAZ;YACI,OAAO,IAAI,CAAC,SAAS,CAAC;QAC1B,CAAC;aAED,UAAa,KAA4C;YACrD,IAAI,CAAC,SAAS,GAAG,KAAK,CAAC;QAC3B,CAAC;;;OAJA;IAMD,sBAAI,2CAAK;aAAT;YACI,OAAO,IAAI,CAAC,MAAM,CAAC;QACvB,CAAC;aAED,UAAU,KAAwB;YAC9B,IAAI,CAAC,MAAM,GAAG,KAAK,CAAC;QACxB,CAAC;;;OAJA;IAKL,+BAAC;AAAD,CAAC,AAnBD,IAmBC"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { FeedbackCategory } from '../../../../common/constants/FeedbackCategory';
|
|
2
|
+
import FilterFeedbackRequest from '../../common/request/FilterFeedbackRequest';
|
|
3
|
+
import CloudFeedbackSortRequest from './CloudFeedbackSortRequest';
|
|
4
|
+
export default class CloudFilterFeedbackRequest extends FilterFeedbackRequest {
|
|
5
|
+
private _feedbackId;
|
|
6
|
+
private _feedbackCategory;
|
|
7
|
+
private _sortRequest;
|
|
8
|
+
get feedbackId(): string | undefined;
|
|
9
|
+
set feedbackId(value: string | undefined);
|
|
10
|
+
get feedbackCategory(): FeedbackCategory | undefined;
|
|
11
|
+
set feedbackCategory(value: FeedbackCategory | undefined);
|
|
12
|
+
get sortRequest(): CloudFeedbackSortRequest | undefined;
|
|
13
|
+
set sortRequest(value: CloudFeedbackSortRequest | undefined);
|
|
14
|
+
}
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __extends = (this && this.__extends) || (function () {
|
|
3
|
+
var extendStatics = function (d, b) {
|
|
4
|
+
extendStatics = Object.setPrototypeOf ||
|
|
5
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
6
|
+
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
|
7
|
+
return extendStatics(d, b);
|
|
8
|
+
};
|
|
9
|
+
return function (d, b) {
|
|
10
|
+
if (typeof b !== "function" && b !== null)
|
|
11
|
+
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
12
|
+
extendStatics(d, b);
|
|
13
|
+
function __() { this.constructor = d; }
|
|
14
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
15
|
+
};
|
|
16
|
+
})();
|
|
17
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
18
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
19
|
+
};
|
|
20
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
21
|
+
var FilterFeedbackRequest_1 = __importDefault(require("../../common/request/FilterFeedbackRequest"));
|
|
22
|
+
var CloudFilterFeedbackRequest = /** @class */ (function (_super) {
|
|
23
|
+
__extends(CloudFilterFeedbackRequest, _super);
|
|
24
|
+
function CloudFilterFeedbackRequest() {
|
|
25
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
26
|
+
}
|
|
27
|
+
Object.defineProperty(CloudFilterFeedbackRequest.prototype, "feedbackId", {
|
|
28
|
+
get: function () {
|
|
29
|
+
return this._feedbackId;
|
|
30
|
+
},
|
|
31
|
+
set: function (value) {
|
|
32
|
+
this._feedbackId = value;
|
|
33
|
+
},
|
|
34
|
+
enumerable: false,
|
|
35
|
+
configurable: true
|
|
36
|
+
});
|
|
37
|
+
Object.defineProperty(CloudFilterFeedbackRequest.prototype, "feedbackCategory", {
|
|
38
|
+
get: function () {
|
|
39
|
+
return this._feedbackCategory;
|
|
40
|
+
},
|
|
41
|
+
set: function (value) {
|
|
42
|
+
this._feedbackCategory = value;
|
|
43
|
+
},
|
|
44
|
+
enumerable: false,
|
|
45
|
+
configurable: true
|
|
46
|
+
});
|
|
47
|
+
Object.defineProperty(CloudFilterFeedbackRequest.prototype, "sortRequest", {
|
|
48
|
+
get: function () {
|
|
49
|
+
return this._sortRequest;
|
|
50
|
+
},
|
|
51
|
+
set: function (value) {
|
|
52
|
+
this._sortRequest = value;
|
|
53
|
+
},
|
|
54
|
+
enumerable: false,
|
|
55
|
+
configurable: true
|
|
56
|
+
});
|
|
57
|
+
return CloudFilterFeedbackRequest;
|
|
58
|
+
}(FilterFeedbackRequest_1.default));
|
|
59
|
+
exports.default = CloudFilterFeedbackRequest;
|
|
60
|
+
//# sourceMappingURL=CloudFilterFeedbackRequest.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CloudFilterFeedbackRequest.js","sourceRoot":"","sources":["../../../../../src/translation/feedback/cloud/request/CloudFilterFeedbackRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;AACA,qGAA+E;AAG/E;IAAwD,8CAAqB;IAA7E;;IA4BA,CAAC;IAvBG,sBAAI,kDAAU;aAAd;YACI,OAAO,IAAI,CAAC,WAAW,CAAC;QAC5B,CAAC;aAED,UAAe,KAAyB;YACpC,IAAI,CAAC,WAAW,GAAG,KAAK,CAAC;QAC7B,CAAC;;;OAJA;IAMD,sBAAI,wDAAgB;aAApB;YACI,OAAO,IAAI,CAAC,iBAAiB,CAAC;QAClC,CAAC;aAED,UAAqB,KAAmC;YACpD,IAAI,CAAC,iBAAiB,GAAG,KAAK,CAAC;QACnC,CAAC;;;OAJA;IAMD,sBAAI,mDAAW;aAAf;YACI,OAAO,IAAI,CAAC,YAAY,CAAC;QAC7B,CAAC;aAED,UAAgB,KAA2C;YACvD,IAAI,CAAC,YAAY,GAAG,KAAK,CAAC;QAC9B,CAAC;;;OAJA;IAKL,iCAAC;AAAD,CAAC,AA5BD,CAAwD,+BAAqB,GA4B5E"}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __extends = (this && this.__extends) || (function () {
|
|
3
|
+
var extendStatics = function (d, b) {
|
|
4
|
+
extendStatics = Object.setPrototypeOf ||
|
|
5
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
6
|
+
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
|
7
|
+
return extendStatics(d, b);
|
|
8
|
+
};
|
|
9
|
+
return function (d, b) {
|
|
10
|
+
if (typeof b !== "function" && b !== null)
|
|
11
|
+
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
12
|
+
extendStatics(d, b);
|
|
13
|
+
function __() { this.constructor = d; }
|
|
14
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
15
|
+
};
|
|
16
|
+
})();
|
|
17
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
18
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
19
|
+
};
|
|
20
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
21
|
+
var UpdateFeedbackApprovalRequest_1 = __importDefault(require("../../common/request/UpdateFeedbackApprovalRequest"));
|
|
22
|
+
var CloudUpdateFeedbackApprovalRequest = /** @class */ (function (_super) {
|
|
23
|
+
__extends(CloudUpdateFeedbackApprovalRequest, _super);
|
|
24
|
+
function CloudUpdateFeedbackApprovalRequest() {
|
|
25
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
26
|
+
}
|
|
27
|
+
return CloudUpdateFeedbackApprovalRequest;
|
|
28
|
+
}(UpdateFeedbackApprovalRequest_1.default));
|
|
29
|
+
exports.default = CloudUpdateFeedbackApprovalRequest;
|
|
30
|
+
//# sourceMappingURL=CloudUpdateFeedbackApprovalRequest.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CloudUpdateFeedbackApprovalRequest.js","sourceRoot":"","sources":["../../../../../src/translation/feedback/cloud/request/CloudUpdateFeedbackApprovalRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA,qHAA+F;AAE/F;IAAgE,sDAA6B;IAA7F;;IAA+F,CAAC;IAAD,yCAAC;AAAD,CAAC,AAAhG,CAAgE,uCAA6B,GAAG"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import UpdateFeedbackRequest from '../../common/request/UpdateFeedbackRequest';
|
|
2
|
+
import { QualityEstimation } from '../../../../common/constants/QualityEstimation';
|
|
3
|
+
import CloudFeedbackApiModel from '../api/CloudFeedbackApiModel';
|
|
4
|
+
export default class CloudUpdateFeedbackRequest extends UpdateFeedbackRequest {
|
|
5
|
+
private _selectedText;
|
|
6
|
+
private _rating;
|
|
7
|
+
private _qualityEstimation;
|
|
8
|
+
get selectedText(): string | undefined;
|
|
9
|
+
set selectedText(value: string | undefined);
|
|
10
|
+
get rating(): number | undefined;
|
|
11
|
+
set rating(value: number | undefined);
|
|
12
|
+
get qualityEstimation(): QualityEstimation | undefined;
|
|
13
|
+
set qualityEstimation(value: QualityEstimation | undefined);
|
|
14
|
+
toCloudFeedbackApiModel(): CloudFeedbackApiModel;
|
|
15
|
+
}
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __extends = (this && this.__extends) || (function () {
|
|
3
|
+
var extendStatics = function (d, b) {
|
|
4
|
+
extendStatics = Object.setPrototypeOf ||
|
|
5
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
6
|
+
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
|
7
|
+
return extendStatics(d, b);
|
|
8
|
+
};
|
|
9
|
+
return function (d, b) {
|
|
10
|
+
if (typeof b !== "function" && b !== null)
|
|
11
|
+
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
12
|
+
extendStatics(d, b);
|
|
13
|
+
function __() { this.constructor = d; }
|
|
14
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
15
|
+
};
|
|
16
|
+
})();
|
|
17
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
18
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
19
|
+
};
|
|
20
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
21
|
+
var UpdateFeedbackRequest_1 = __importDefault(require("../../common/request/UpdateFeedbackRequest"));
|
|
22
|
+
var CloudFeedbackApiModel_1 = __importDefault(require("../api/CloudFeedbackApiModel"));
|
|
23
|
+
var CloudTranslationFeedback_1 = __importDefault(require("../api/CloudTranslationFeedback"));
|
|
24
|
+
var CloudFeedbackRating_1 = __importDefault(require("../api/CloudFeedbackRating"));
|
|
25
|
+
var CloudFeedbackImprovement_1 = __importDefault(require("../api/CloudFeedbackImprovement"));
|
|
26
|
+
var CloudUpdateFeedbackRequest = /** @class */ (function (_super) {
|
|
27
|
+
__extends(CloudUpdateFeedbackRequest, _super);
|
|
28
|
+
function CloudUpdateFeedbackRequest() {
|
|
29
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
30
|
+
}
|
|
31
|
+
Object.defineProperty(CloudUpdateFeedbackRequest.prototype, "selectedText", {
|
|
32
|
+
get: function () {
|
|
33
|
+
return this._selectedText;
|
|
34
|
+
},
|
|
35
|
+
set: function (value) {
|
|
36
|
+
this._selectedText = value;
|
|
37
|
+
},
|
|
38
|
+
enumerable: false,
|
|
39
|
+
configurable: true
|
|
40
|
+
});
|
|
41
|
+
Object.defineProperty(CloudUpdateFeedbackRequest.prototype, "rating", {
|
|
42
|
+
get: function () {
|
|
43
|
+
return this._rating;
|
|
44
|
+
},
|
|
45
|
+
set: function (value) {
|
|
46
|
+
this._rating = value;
|
|
47
|
+
},
|
|
48
|
+
enumerable: false,
|
|
49
|
+
configurable: true
|
|
50
|
+
});
|
|
51
|
+
Object.defineProperty(CloudUpdateFeedbackRequest.prototype, "qualityEstimation", {
|
|
52
|
+
get: function () {
|
|
53
|
+
return this._qualityEstimation;
|
|
54
|
+
},
|
|
55
|
+
set: function (value) {
|
|
56
|
+
this._qualityEstimation = value;
|
|
57
|
+
},
|
|
58
|
+
enumerable: false,
|
|
59
|
+
configurable: true
|
|
60
|
+
});
|
|
61
|
+
CloudUpdateFeedbackRequest.prototype.toCloudFeedbackApiModel = function () {
|
|
62
|
+
var feedbackApiModel = new CloudFeedbackApiModel_1.default();
|
|
63
|
+
var translation = new CloudTranslationFeedback_1.default();
|
|
64
|
+
translation.selectedText = this.selectedText;
|
|
65
|
+
var rating = new CloudFeedbackRating_1.default();
|
|
66
|
+
rating.score = this.rating;
|
|
67
|
+
rating.comments = this.comments;
|
|
68
|
+
feedbackApiModel.translation = translation;
|
|
69
|
+
feedbackApiModel.rating = rating;
|
|
70
|
+
feedbackApiModel.improvement = new CloudFeedbackImprovement_1.default(this.suggestedTranslation);
|
|
71
|
+
feedbackApiModel.qualityEstimation = this.qualityEstimation;
|
|
72
|
+
return feedbackApiModel;
|
|
73
|
+
};
|
|
74
|
+
return CloudUpdateFeedbackRequest;
|
|
75
|
+
}(UpdateFeedbackRequest_1.default));
|
|
76
|
+
exports.default = CloudUpdateFeedbackRequest;
|
|
77
|
+
//# sourceMappingURL=CloudUpdateFeedbackRequest.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CloudUpdateFeedbackRequest.js","sourceRoot":"","sources":["../../../../../src/translation/feedback/cloud/request/CloudUpdateFeedbackRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA,qGAA+E;AAE/E,uFAAiE;AACjE,6FAAuE;AACvE,mFAA6D;AAC7D,6FAAuE;AAEvE;IAAwD,8CAAqB;IAA7E;;IA2CA,CAAC;IAtCG,sBAAI,oDAAY;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,8CAAM;aAAV;YACI,OAAO,IAAI,CAAC,OAAO,CAAC;QACxB,CAAC;aAED,UAAW,KAAyB;YAChC,IAAI,CAAC,OAAO,GAAG,KAAK,CAAC;QACzB,CAAC;;;OAJA;IAMD,sBAAI,yDAAiB;aAArB;YACI,OAAO,IAAI,CAAC,kBAAkB,CAAC;QACnC,CAAC;aAED,UAAsB,KAAoC;YACtD,IAAI,CAAC,kBAAkB,GAAG,KAAK,CAAC;QACpC,CAAC;;;OAJA;IAMM,4DAAuB,GAA9B;QACI,IAAM,gBAAgB,GAAG,IAAI,+BAAqB,EAAE,CAAC;QACrD,IAAM,WAAW,GAAG,IAAI,kCAAwB,EAAE,CAAC;QACnD,WAAW,CAAC,YAAY,GAAG,IAAI,CAAC,YAAY,CAAC;QAC7C,IAAM,MAAM,GAAG,IAAI,6BAAmB,EAAE,CAAC;QACzC,MAAM,CAAC,KAAK,GAAG,IAAI,CAAC,MAAM,CAAC;QAC3B,MAAM,CAAC,QAAQ,GAAG,IAAI,CAAC,QAAQ,CAAC;QAChC,gBAAgB,CAAC,WAAW,GAAG,WAAW,CAAC;QAC3C,gBAAgB,CAAC,MAAM,GAAG,MAAM,CAAC;QACjC,gBAAgB,CAAC,WAAW,GAAG,IAAI,kCAAwB,CAAC,IAAI,CAAC,oBAAoB,CAAC,CAAC;QACvF,gBAAgB,CAAC,iBAAiB,GAAG,IAAI,CAAC,iBAAiB,CAAC;QAE5D,OAAO,gBAAgB,CAAC;IAC5B,CAAC;IACL,iCAAC;AAAD,CAAC,AA3CD,CAAwD,+BAAqB,GA2C5E"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import PaginatedListResult from '../../../common/result/PaginatedListResult';
|
|
2
|
+
import CloudFeedbackResult from './CloudFeedbackResult';
|
|
3
|
+
export default class CloudFeedbackListResult extends PaginatedListResult {
|
|
4
|
+
private _feedbackList;
|
|
5
|
+
get feedbackList(): CloudFeedbackResult[];
|
|
6
|
+
set feedbackList(value: CloudFeedbackResult[]);
|
|
7
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __extends = (this && this.__extends) || (function () {
|
|
3
|
+
var extendStatics = function (d, b) {
|
|
4
|
+
extendStatics = Object.setPrototypeOf ||
|
|
5
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
6
|
+
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
|
7
|
+
return extendStatics(d, b);
|
|
8
|
+
};
|
|
9
|
+
return function (d, b) {
|
|
10
|
+
if (typeof b !== "function" && b !== null)
|
|
11
|
+
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
12
|
+
extendStatics(d, b);
|
|
13
|
+
function __() { this.constructor = d; }
|
|
14
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
15
|
+
};
|
|
16
|
+
})();
|
|
17
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
18
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
19
|
+
};
|
|
20
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
21
|
+
var PaginatedListResult_1 = __importDefault(require("../../../common/result/PaginatedListResult"));
|
|
22
|
+
var CloudFeedbackListResult = /** @class */ (function (_super) {
|
|
23
|
+
__extends(CloudFeedbackListResult, _super);
|
|
24
|
+
function CloudFeedbackListResult() {
|
|
25
|
+
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
26
|
+
_this._feedbackList = [];
|
|
27
|
+
return _this;
|
|
28
|
+
}
|
|
29
|
+
Object.defineProperty(CloudFeedbackListResult.prototype, "feedbackList", {
|
|
30
|
+
get: function () {
|
|
31
|
+
return this._feedbackList;
|
|
32
|
+
},
|
|
33
|
+
set: function (value) {
|
|
34
|
+
this._feedbackList = value;
|
|
35
|
+
},
|
|
36
|
+
enumerable: false,
|
|
37
|
+
configurable: true
|
|
38
|
+
});
|
|
39
|
+
return CloudFeedbackListResult;
|
|
40
|
+
}(PaginatedListResult_1.default));
|
|
41
|
+
exports.default = CloudFeedbackListResult;
|
|
42
|
+
//# sourceMappingURL=CloudFeedbackListResult.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CloudFeedbackListResult.js","sourceRoot":"","sources":["../../../../../src/translation/feedback/cloud/result/CloudFeedbackListResult.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA,mGAA6E;AAG7E;IAAqD,2CAAmB;IAAxE;QAAA,qEAUC;QATW,mBAAa,GAA0B,EAAE,CAAC;;IAStD,CAAC;IAPG,sBAAI,iDAAY;aAAhB;YACI,OAAO,IAAI,CAAC,aAAa,CAAC;QAC9B,CAAC;aAED,UAAiB,KAA4B;YACzC,IAAI,CAAC,aAAa,GAAG,KAAK,CAAC;QAC/B,CAAC;;;OAJA;IAKL,8BAAC;AAAD,CAAC,AAVD,CAAqD,6BAAmB,GAUvE"}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import CloudAuditData from '../model/CloudAuditData';
|
|
2
|
+
import FeedbackCommonResult from '../../common/result/FeedbackCommonResult';
|
|
3
|
+
import { QualityEstimation } from '../../../../common/constants/QualityEstimation';
|
|
4
|
+
export default class CloudFeedbackResult extends FeedbackCommonResult {
|
|
5
|
+
private _selectedText;
|
|
6
|
+
private _translationMetadata;
|
|
7
|
+
private _numberOfSegments;
|
|
8
|
+
private _ratingScore;
|
|
9
|
+
private _qualityEstimation;
|
|
10
|
+
private _qualityEstimationMT;
|
|
11
|
+
private _feedbackAuditData;
|
|
12
|
+
private _approvalAuditData;
|
|
13
|
+
get selectedText(): string | undefined;
|
|
14
|
+
set selectedText(value: string | undefined);
|
|
15
|
+
get translationMetadata(): string | undefined;
|
|
16
|
+
set translationMetadata(value: string | undefined);
|
|
17
|
+
get numberOfSegments(): number | undefined;
|
|
18
|
+
set numberOfSegments(value: number | undefined);
|
|
19
|
+
get ratingScore(): number | undefined;
|
|
20
|
+
set ratingScore(value: number | undefined);
|
|
21
|
+
get qualityEstimation(): QualityEstimation | undefined;
|
|
22
|
+
set qualityEstimation(value: QualityEstimation | undefined);
|
|
23
|
+
get qualityEstimationMT(): QualityEstimation | undefined;
|
|
24
|
+
set qualityEstimationMT(value: QualityEstimation | undefined);
|
|
25
|
+
get feedbackAuditData(): CloudAuditData | undefined;
|
|
26
|
+
set feedbackAuditData(value: CloudAuditData | undefined);
|
|
27
|
+
get approvalAuditData(): CloudAuditData | undefined;
|
|
28
|
+
set approvalAuditData(value: CloudAuditData | undefined);
|
|
29
|
+
}
|
|
@@ -0,0 +1,110 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __extends = (this && this.__extends) || (function () {
|
|
3
|
+
var extendStatics = function (d, b) {
|
|
4
|
+
extendStatics = Object.setPrototypeOf ||
|
|
5
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
6
|
+
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
|
7
|
+
return extendStatics(d, b);
|
|
8
|
+
};
|
|
9
|
+
return function (d, b) {
|
|
10
|
+
if (typeof b !== "function" && b !== null)
|
|
11
|
+
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
12
|
+
extendStatics(d, b);
|
|
13
|
+
function __() { this.constructor = d; }
|
|
14
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
15
|
+
};
|
|
16
|
+
})();
|
|
17
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
18
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
19
|
+
};
|
|
20
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
21
|
+
var FeedbackCommonResult_1 = __importDefault(require("../../common/result/FeedbackCommonResult"));
|
|
22
|
+
var CloudFeedbackResult = /** @class */ (function (_super) {
|
|
23
|
+
__extends(CloudFeedbackResult, _super);
|
|
24
|
+
function CloudFeedbackResult() {
|
|
25
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
26
|
+
}
|
|
27
|
+
Object.defineProperty(CloudFeedbackResult.prototype, "selectedText", {
|
|
28
|
+
get: function () {
|
|
29
|
+
return this._selectedText;
|
|
30
|
+
},
|
|
31
|
+
set: function (value) {
|
|
32
|
+
this._selectedText = value;
|
|
33
|
+
},
|
|
34
|
+
enumerable: false,
|
|
35
|
+
configurable: true
|
|
36
|
+
});
|
|
37
|
+
Object.defineProperty(CloudFeedbackResult.prototype, "translationMetadata", {
|
|
38
|
+
get: function () {
|
|
39
|
+
return this._translationMetadata;
|
|
40
|
+
},
|
|
41
|
+
set: function (value) {
|
|
42
|
+
this._translationMetadata = value;
|
|
43
|
+
},
|
|
44
|
+
enumerable: false,
|
|
45
|
+
configurable: true
|
|
46
|
+
});
|
|
47
|
+
Object.defineProperty(CloudFeedbackResult.prototype, "numberOfSegments", {
|
|
48
|
+
get: function () {
|
|
49
|
+
return this._numberOfSegments;
|
|
50
|
+
},
|
|
51
|
+
set: function (value) {
|
|
52
|
+
this._numberOfSegments = value;
|
|
53
|
+
},
|
|
54
|
+
enumerable: false,
|
|
55
|
+
configurable: true
|
|
56
|
+
});
|
|
57
|
+
Object.defineProperty(CloudFeedbackResult.prototype, "ratingScore", {
|
|
58
|
+
get: function () {
|
|
59
|
+
return this._ratingScore;
|
|
60
|
+
},
|
|
61
|
+
set: function (value) {
|
|
62
|
+
this._ratingScore = value;
|
|
63
|
+
},
|
|
64
|
+
enumerable: false,
|
|
65
|
+
configurable: true
|
|
66
|
+
});
|
|
67
|
+
Object.defineProperty(CloudFeedbackResult.prototype, "qualityEstimation", {
|
|
68
|
+
get: function () {
|
|
69
|
+
return this._qualityEstimation;
|
|
70
|
+
},
|
|
71
|
+
set: function (value) {
|
|
72
|
+
this._qualityEstimation = value;
|
|
73
|
+
},
|
|
74
|
+
enumerable: false,
|
|
75
|
+
configurable: true
|
|
76
|
+
});
|
|
77
|
+
Object.defineProperty(CloudFeedbackResult.prototype, "qualityEstimationMT", {
|
|
78
|
+
get: function () {
|
|
79
|
+
return this._qualityEstimationMT;
|
|
80
|
+
},
|
|
81
|
+
set: function (value) {
|
|
82
|
+
this._qualityEstimationMT = value;
|
|
83
|
+
},
|
|
84
|
+
enumerable: false,
|
|
85
|
+
configurable: true
|
|
86
|
+
});
|
|
87
|
+
Object.defineProperty(CloudFeedbackResult.prototype, "feedbackAuditData", {
|
|
88
|
+
get: function () {
|
|
89
|
+
return this._feedbackAuditData;
|
|
90
|
+
},
|
|
91
|
+
set: function (value) {
|
|
92
|
+
this._feedbackAuditData = value;
|
|
93
|
+
},
|
|
94
|
+
enumerable: false,
|
|
95
|
+
configurable: true
|
|
96
|
+
});
|
|
97
|
+
Object.defineProperty(CloudFeedbackResult.prototype, "approvalAuditData", {
|
|
98
|
+
get: function () {
|
|
99
|
+
return this._approvalAuditData;
|
|
100
|
+
},
|
|
101
|
+
set: function (value) {
|
|
102
|
+
this._approvalAuditData = value;
|
|
103
|
+
},
|
|
104
|
+
enumerable: false,
|
|
105
|
+
configurable: true
|
|
106
|
+
});
|
|
107
|
+
return CloudFeedbackResult;
|
|
108
|
+
}(FeedbackCommonResult_1.default));
|
|
109
|
+
exports.default = CloudFeedbackResult;
|
|
110
|
+
//# sourceMappingURL=CloudFeedbackResult.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CloudFeedbackResult.js","sourceRoot":"","sources":["../../../../../src/translation/feedback/cloud/result/CloudFeedbackResult.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;AACA,kGAA4E;AAG5E;IAAiD,uCAAoB;IAArE;;IAyEA,CAAC;IA/DG,sBAAI,6CAAY;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,oDAAmB;aAAvB;YACI,OAAO,IAAI,CAAC,oBAAoB,CAAC;QACrC,CAAC;aAED,UAAwB,KAAyB;YAC7C,IAAI,CAAC,oBAAoB,GAAG,KAAK,CAAC;QACtC,CAAC;;;OAJA;IAMD,sBAAI,iDAAgB;aAApB;YACI,OAAO,IAAI,CAAC,iBAAiB,CAAC;QAClC,CAAC;aAED,UAAqB,KAAyB;YAC1C,IAAI,CAAC,iBAAiB,GAAG,KAAK,CAAC;QACnC,CAAC;;;OAJA;IAMD,sBAAI,4CAAW;aAAf;YACI,OAAO,IAAI,CAAC,YAAY,CAAC;QAC7B,CAAC;aAED,UAAgB,KAAyB;YACrC,IAAI,CAAC,YAAY,GAAG,KAAK,CAAC;QAC9B,CAAC;;;OAJA;IAMD,sBAAI,kDAAiB;aAArB;YACI,OAAO,IAAI,CAAC,kBAAkB,CAAC;QACnC,CAAC;aAED,UAAsB,KAAoC;YACtD,IAAI,CAAC,kBAAkB,GAAG,KAAK,CAAC;QACpC,CAAC;;;OAJA;IAMD,sBAAI,oDAAmB;aAAvB;YACI,OAAO,IAAI,CAAC,oBAAoB,CAAC;QACrC,CAAC;aAED,UAAwB,KAAoC;YACxD,IAAI,CAAC,oBAAoB,GAAG,KAAK,CAAC;QACtC,CAAC;;;OAJA;IAMD,sBAAI,kDAAiB;aAArB;YACI,OAAO,IAAI,CAAC,kBAAkB,CAAC;QACnC,CAAC;aAED,UAAsB,KAAiC;YACnD,IAAI,CAAC,kBAAkB,GAAG,KAAK,CAAC;QACpC,CAAC;;;OAJA;IAMD,sBAAI,kDAAiB;aAArB;YACI,OAAO,IAAI,CAAC,kBAAkB,CAAC;QACnC,CAAC;aAED,UAAsB,KAAiC;YACnD,IAAI,CAAC,kBAAkB,GAAG,KAAK,CAAC;QACpC,CAAC;;;OAJA;IAKL,0BAAC;AAAD,CAAC,AAzED,CAAiD,8BAAoB,GAyEpE"}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import SelfInformation from '../../../../common/auth/domain/SelfInformation';
|
|
2
|
+
import UserSelfInformation from '../../../../common/auth/domain/UserSelfInformation';
|
|
3
|
+
import RestClient from '../../../../common/external/communication/RestClient';
|
|
4
|
+
import FilterFeedbackRequest from '../../common/request/FilterFeedbackRequest';
|
|
5
|
+
import FeedbackListResult from '../../common/result/FeedbackListResult';
|
|
6
|
+
import CloudFilterFeedbackRequest from '../request/CloudFilterFeedbackRequest';
|
|
7
|
+
import CloudFeedbackListResult from '../result/CloudFeedbackListResult';
|
|
8
|
+
import Token from '../../../../common/auth/domain/Token';
|
|
9
|
+
import CreateFeedbackRequest from '../../common/request/CreateFeedbackRequest';
|
|
10
|
+
import FeedbackResult from '../../common/result/FeedbackResult';
|
|
11
|
+
import CloudCreateFeedbackRequest from '../request/CloudCreateFeedbackRequest';
|
|
12
|
+
import CloudFeedbackResult from '../result/CloudFeedbackResult';
|
|
13
|
+
import UpdateFeedbackRequest from '../../common/request/UpdateFeedbackRequest';
|
|
14
|
+
import CloudUpdateFeedbackRequest from '../request/CloudUpdateFeedbackRequest';
|
|
15
|
+
import UpdateFeedbackApprovalRequest from '../../common/request/UpdateFeedbackApprovalRequest';
|
|
16
|
+
import CloudUpdateFeedbackApprovalRequest from '../request/CloudUpdateFeedbackApprovalRequest';
|
|
17
|
+
import DeleteFeedbackRequest from '../../common/request/DeleteFeedbackRequest';
|
|
18
|
+
import CloudDeleteFeedbackRequest from '../request/CloudDeleteFeedbackRequest';
|
|
19
|
+
export default class CloudFeedbackService {
|
|
20
|
+
private readonly _selfInfo;
|
|
21
|
+
private readonly _client;
|
|
22
|
+
private readonly _token;
|
|
23
|
+
private readonly _validator;
|
|
24
|
+
constructor(client: RestClient, token: Token | undefined, selfInfo: SelfInformation | UserSelfInformation | undefined);
|
|
25
|
+
getAllFeedback(pageNumber: number, pageSize?: number, filterRequest?: FilterFeedbackRequest): Promise<FeedbackListResult>;
|
|
26
|
+
getAllCloudFeedback(pageNumber: number, pageSize?: number, filterRequest?: CloudFilterFeedbackRequest): Promise<CloudFeedbackListResult>;
|
|
27
|
+
createFeedback(feedbackRequest: CreateFeedbackRequest): Promise<FeedbackResult>;
|
|
28
|
+
createCloudFeedback(feedbackRequest: CloudCreateFeedbackRequest): Promise<CloudFeedbackResult>;
|
|
29
|
+
updateFeedback(feedbackRequest: UpdateFeedbackRequest): Promise<FeedbackResult>;
|
|
30
|
+
updateCloudFeedback(feedbackRequest: CloudUpdateFeedbackRequest): Promise<CloudFeedbackResult>;
|
|
31
|
+
updateFeedbackApproval(feedbackRequest: UpdateFeedbackApprovalRequest): Promise<FeedbackResult>;
|
|
32
|
+
updateCloudFeedbackApproval(feedbackRequest: CloudUpdateFeedbackApprovalRequest): Promise<CloudFeedbackResult>;
|
|
33
|
+
deleteFeedback(feedbackRequest: DeleteFeedbackRequest): Promise<null>;
|
|
34
|
+
deleteCloudFeedback(feedbackRequest: CloudDeleteFeedbackRequest): Promise<null>;
|
|
35
|
+
private performCreateFeedback;
|
|
36
|
+
private performUpdateFeedback;
|
|
37
|
+
private performUpdateApprovalRequest;
|
|
38
|
+
private performGetAllFeedback;
|
|
39
|
+
private getSortQueryParams;
|
|
40
|
+
private getPageQueryParams;
|
|
41
|
+
}
|