@language-weaver/lw-sdk-js 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/CloudLanguageWeaverClient.d.ts +61 -0
- package/lib/CloudLanguageWeaverClient.js +514 -0
- package/lib/CloudLanguageWeaverClient.js.map +1 -0
- package/lib/EdgeLanguageWeaverClient.d.ts +60 -0
- package/lib/EdgeLanguageWeaverClient.js +580 -0
- package/lib/EdgeLanguageWeaverClient.js.map +1 -0
- package/lib/LanguageWeaverClient.d.ts +15 -0
- package/lib/LanguageWeaverClient.js +3 -0
- package/lib/LanguageWeaverClient.js.map +1 -0
- package/lib/SdkFactory.d.ts +9 -0
- package/lib/SdkFactory.js +56 -0
- package/lib/SdkFactory.js.map +1 -0
- package/lib/auth/LanguageWeaverAuthentication.d.ts +12 -0
- package/lib/auth/LanguageWeaverAuthentication.js +25 -0
- package/lib/auth/LanguageWeaverAuthentication.js.map +1 -0
- package/lib/auth/domain/SelfInformation.d.ts +8 -0
- package/lib/auth/domain/SelfInformation.js +29 -0
- package/lib/auth/domain/SelfInformation.js.map +1 -0
- package/lib/auth/domain/Token.d.ts +15 -0
- package/lib/auth/domain/Token.js +53 -0
- package/lib/auth/domain/Token.js.map +1 -0
- package/lib/auth/domain/UserSelfInformation.d.ts +38 -0
- package/lib/auth/domain/UserSelfInformation.js +129 -0
- package/lib/auth/domain/UserSelfInformation.js.map +1 -0
- package/lib/common/api/ErrorResponse.d.ts +9 -0
- package/lib/common/api/ErrorResponse.js +31 -0
- package/lib/common/api/ErrorResponse.js.map +1 -0
- package/lib/common/configurations/ClientConfiguration.d.ts +14 -0
- package/lib/common/configurations/ClientConfiguration.js +46 -0
- package/lib/common/configurations/ClientConfiguration.js.map +1 -0
- package/lib/common/configurations/CredentialsConfiguration.d.ts +9 -0
- package/lib/common/configurations/CredentialsConfiguration.js +35 -0
- package/lib/common/configurations/CredentialsConfiguration.js.map +1 -0
- package/lib/common/configurations/RetryConfiguration.d.ts +8 -0
- package/lib/common/configurations/RetryConfiguration.js +31 -0
- package/lib/common/configurations/RetryConfiguration.js.map +1 -0
- package/lib/common/configurations/TokenConfiguration.d.ts +10 -0
- package/lib/common/configurations/TokenConfiguration.js +29 -0
- package/lib/common/configurations/TokenConfiguration.js.map +1 -0
- package/lib/common/constants/EdgeFinalSubStatuses.d.ts +5 -0
- package/lib/common/constants/EdgeFinalSubStatuses.js +9 -0
- package/lib/common/constants/EdgeFinalSubStatuses.js.map +1 -0
- package/lib/common/constants/EdgeStatuses.d.ts +3 -0
- package/lib/common/constants/EdgeStatuses.js +7 -0
- package/lib/common/constants/EdgeStatuses.js.map +1 -0
- package/lib/common/constants/FileExtensions.d.ts +2 -0
- package/lib/common/constants/FileExtensions.js +52 -0
- package/lib/common/constants/FileExtensions.js.map +1 -0
- package/lib/common/constants/FormatToMimeType.d.ts +1 -0
- package/lib/common/constants/FormatToMimeType.js +33 -0
- package/lib/common/constants/FormatToMimeType.js.map +1 -0
- package/lib/common/constants/TranslationConstants.d.ts +62 -0
- package/lib/common/constants/TranslationConstants.js +69 -0
- package/lib/common/constants/TranslationConstants.js.map +1 -0
- package/lib/common/constants/languages/Iso639Mapping.d.ts +1 -0
- package/lib/common/constants/languages/Iso639Mapping.js +95 -0
- package/lib/common/constants/languages/Iso639Mapping.js.map +1 -0
- package/lib/common/exceptions/EdgeTranslationException.d.ts +3 -0
- package/lib/common/exceptions/EdgeTranslationException.js +17 -0
- package/lib/common/exceptions/EdgeTranslationException.js.map +1 -0
- package/lib/common/exceptions/TranslationException.d.ts +4 -0
- package/lib/common/exceptions/TranslationException.js +17 -0
- package/lib/common/exceptions/TranslationException.js.map +1 -0
- package/lib/common/requests/RestClient.d.ts +34 -0
- package/lib/common/requests/RestClient.js +331 -0
- package/lib/common/requests/RestClient.js.map +1 -0
- package/lib/common/requests/TraceRequestInfo.d.ts +9 -0
- package/lib/common/requests/TraceRequestInfo.js +20 -0
- package/lib/common/requests/TraceRequestInfo.js.map +1 -0
- package/lib/common/utils/HttpUtils.d.ts +5 -0
- package/lib/common/utils/HttpUtils.js +26 -0
- package/lib/common/utils/HttpUtils.js.map +1 -0
- package/lib/common/utils/Utils.d.ts +34 -0
- package/lib/common/utils/Utils.js +319 -0
- package/lib/common/utils/Utils.js.map +1 -0
- package/lib/index.d.ts +51 -0
- package/lib/index.js +99 -0
- package/lib/index.js.map +1 -0
- package/lib/translation/common/Format.d.ts +39 -0
- package/lib/translation/common/Format.js +52 -0
- package/lib/translation/common/Format.js.map +1 -0
- package/lib/translation/common/Product.d.ts +4 -0
- package/lib/translation/common/Product.js +9 -0
- package/lib/translation/common/Product.js.map +1 -0
- package/lib/translation/common/Regions.d.ts +4 -0
- package/lib/translation/common/Regions.js +9 -0
- package/lib/translation/common/Regions.js.map +1 -0
- package/lib/translation/common/Statuses.d.ts +6 -0
- package/lib/translation/common/Statuses.js +10 -0
- package/lib/translation/common/Statuses.js.map +1 -0
- package/lib/translation/translate/request/TranslateBatchFileRequest.d.ts +21 -0
- package/lib/translation/translate/request/TranslateBatchFileRequest.js +84 -0
- package/lib/translation/translate/request/TranslateBatchFileRequest.js.map +1 -0
- package/lib/translation/translate/request/TranslateFileRequest.d.ts +12 -0
- package/lib/translation/translate/request/TranslateFileRequest.js +68 -0
- package/lib/translation/translate/request/TranslateFileRequest.js.map +1 -0
- package/lib/translation/translate/request/TranslateRequest.d.ts +19 -0
- package/lib/translation/translate/request/TranslateRequest.js +67 -0
- package/lib/translation/translate/request/TranslateRequest.js.map +1 -0
- package/lib/translation/translate/request/TranslateTextRequest.d.ts +7 -0
- package/lib/translation/translate/request/TranslateTextRequest.js +46 -0
- package/lib/translation/translate/request/TranslateTextRequest.js.map +1 -0
- package/lib/translation/translate/request/cloud/CloudTranslateBatchFileRequest.d.ts +3 -0
- package/lib/translation/translate/request/cloud/CloudTranslateBatchFileRequest.js +30 -0
- package/lib/translation/translate/request/cloud/CloudTranslateBatchFileRequest.js.map +1 -0
- package/lib/translation/translate/request/cloud/CloudTranslateFileRequest.d.ts +3 -0
- package/lib/translation/translate/request/cloud/CloudTranslateFileRequest.js +30 -0
- package/lib/translation/translate/request/cloud/CloudTranslateFileRequest.js.map +1 -0
- package/lib/translation/translate/request/cloud/CloudTranslateTextRequest.d.ts +3 -0
- package/lib/translation/translate/request/cloud/CloudTranslateTextRequest.js +30 -0
- package/lib/translation/translate/request/cloud/CloudTranslateTextRequest.js.map +1 -0
- package/lib/translation/translate/request/edge/EdgeTranslateBatchFileRequest.d.ts +16 -0
- package/lib/translation/translate/request/edge/EdgeTranslateBatchFileRequest.js +70 -0
- package/lib/translation/translate/request/edge/EdgeTranslateBatchFileRequest.js.map +1 -0
- package/lib/translation/translate/request/edge/EdgeTranslateFileRequest.d.ts +16 -0
- package/lib/translation/translate/request/edge/EdgeTranslateFileRequest.js +70 -0
- package/lib/translation/translate/request/edge/EdgeTranslateFileRequest.js.map +1 -0
- package/lib/translation/translate/request/edge/EdgeTranslateTextRequest.d.ts +16 -0
- package/lib/translation/translate/request/edge/EdgeTranslateTextRequest.js +70 -0
- package/lib/translation/translate/request/edge/EdgeTranslateTextRequest.js.map +1 -0
- package/lib/translation/translate/response/AsyncTranslationResponse.d.ts +20 -0
- package/lib/translation/translate/response/AsyncTranslationResponse.js +69 -0
- package/lib/translation/translate/response/AsyncTranslationResponse.js.map +1 -0
- package/lib/translation/translate/response/DictionaryResponse.d.ts +11 -0
- package/lib/translation/translate/response/DictionaryResponse.js +39 -0
- package/lib/translation/translate/response/DictionaryResponse.js.map +1 -0
- package/lib/translation/translate/response/LanguagePair.d.ts +14 -0
- package/lib/translation/translate/response/LanguagePair.js +49 -0
- package/lib/translation/translate/response/LanguagePair.js.map +1 -0
- package/lib/translation/translate/response/StatusTranslationResponse.d.ts +19 -0
- package/lib/translation/translate/response/StatusTranslationResponse.js +59 -0
- package/lib/translation/translate/response/StatusTranslationResponse.js.map +1 -0
- package/lib/translation/translate/response/TranslationStatistics.d.ts +20 -0
- package/lib/translation/translate/response/TranslationStatistics.js +69 -0
- package/lib/translation/translate/response/TranslationStatistics.js.map +1 -0
- package/lib/translation/translate/response/cloud/CloudDictionaryResponse.d.ts +32 -0
- package/lib/translation/translate/response/cloud/CloudDictionaryResponse.js +110 -0
- package/lib/translation/translate/response/cloud/CloudDictionaryResponse.js.map +1 -0
- package/lib/translation/translate/response/cloud/CloudLanguagePair.d.ts +17 -0
- package/lib/translation/translate/response/cloud/CloudLanguagePair.js +59 -0
- package/lib/translation/translate/response/cloud/CloudLanguagePair.js.map +1 -0
- package/lib/translation/translate/response/edge/EdgeAsyncTranslationResponse.d.ts +5 -0
- package/lib/translation/translate/response/edge/EdgeAsyncTranslationResponse.js +19 -0
- package/lib/translation/translate/response/edge/EdgeAsyncTranslationResponse.js.map +1 -0
- package/lib/translation/translate/response/edge/EdgeDictionaryResponse.d.ts +11 -0
- package/lib/translation/translate/response/edge/EdgeDictionaryResponse.js +39 -0
- package/lib/translation/translate/response/edge/EdgeDictionaryResponse.js.map +1 -0
- package/lib/translation/translate/response/edge/EdgeLanguagePair.d.ts +9 -0
- package/lib/translation/translate/response/edge/EdgeLanguagePair.js +50 -0
- package/lib/translation/translate/response/edge/EdgeLanguagePair.js.map +1 -0
- package/lib/translation/translate/response/edge/EdgeStatusTranslationResponse.d.ts +26 -0
- package/lib/translation/translate/response/edge/EdgeStatusTranslationResponse.js +79 -0
- package/lib/translation/translate/response/edge/EdgeStatusTranslationResponse.js.map +1 -0
- package/lib/translation/translate/response/edge/MemberPair.d.ts +29 -0
- package/lib/translation/translate/response/edge/MemberPair.js +99 -0
- package/lib/translation/translate/response/edge/MemberPair.js.map +1 -0
- package/lib/translation/translate/response/edge/Profile.d.ts +26 -0
- package/lib/translation/translate/response/edge/Profile.js +89 -0
- package/lib/translation/translate/response/edge/Profile.js.map +1 -0
- package/lib/translation/translate/response/edge/Result.d.ts +32 -0
- package/lib/translation/translate/response/edge/Result.js +109 -0
- package/lib/translation/translate/response/edge/Result.js.map +1 -0
- package/lib/translation/translate/response/edge/Timestamps.d.ts +11 -0
- package/lib/translation/translate/response/edge/Timestamps.js +39 -0
- package/lib/translation/translate/response/edge/Timestamps.js.map +1 -0
- package/lib/translation/translate/result/DictionariesResult.d.ts +6 -0
- package/lib/translation/translate/result/DictionariesResult.js +19 -0
- package/lib/translation/translate/result/DictionariesResult.js.map +1 -0
- package/lib/translation/translate/result/LanguagePairsResult.d.ts +6 -0
- package/lib/translation/translate/result/LanguagePairsResult.js +19 -0
- package/lib/translation/translate/result/LanguagePairsResult.js.map +1 -0
- package/lib/translation/translate/result/TranslateTextResult.d.ts +5 -0
- package/lib/translation/translate/result/TranslateTextResult.js +19 -0
- package/lib/translation/translate/result/TranslateTextResult.js.map +1 -0
- package/lib/translation/translate/result/TranslationBatchFileResult.d.ts +6 -0
- package/lib/translation/translate/result/TranslationBatchFileResult.js +19 -0
- package/lib/translation/translate/result/TranslationBatchFileResult.js.map +1 -0
- package/lib/translation/translate/result/TranslationFileResult.d.ts +11 -0
- package/lib/translation/translate/result/TranslationFileResult.js +39 -0
- package/lib/translation/translate/result/TranslationFileResult.js.map +1 -0
- package/lib/translation/translate/result/cloud/CloudDictionariesResult.d.ts +18 -0
- package/lib/translation/translate/result/cloud/CloudDictionariesResult.js +59 -0
- package/lib/translation/translate/result/cloud/CloudDictionariesResult.js.map +1 -0
- package/lib/translation/translate/result/cloud/CloudLanguagePairsResult.d.ts +9 -0
- package/lib/translation/translate/result/cloud/CloudLanguagePairsResult.js +29 -0
- package/lib/translation/translate/result/cloud/CloudLanguagePairsResult.js.map +1 -0
- package/lib/translation/translate/result/cloud/CloudTranslationBatchFileResult.d.ts +3 -0
- package/lib/translation/translate/result/cloud/CloudTranslationBatchFileResult.js +30 -0
- package/lib/translation/translate/result/cloud/CloudTranslationBatchFileResult.js.map +1 -0
- package/lib/translation/translate/result/cloud/CloudTranslationFileResult.d.ts +26 -0
- package/lib/translation/translate/result/cloud/CloudTranslationFileResult.js +100 -0
- package/lib/translation/translate/result/cloud/CloudTranslationFileResult.js.map +1 -0
- package/lib/translation/translate/result/cloud/CloudTranslationTextResult.d.ts +28 -0
- package/lib/translation/translate/result/cloud/CloudTranslationTextResult.js +89 -0
- package/lib/translation/translate/result/cloud/CloudTranslationTextResult.js.map +1 -0
- package/lib/translation/translate/result/edge/EdgeDictionariesResult.d.ts +18 -0
- package/lib/translation/translate/result/edge/EdgeDictionariesResult.js +59 -0
- package/lib/translation/translate/result/edge/EdgeDictionariesResult.js.map +1 -0
- package/lib/translation/translate/result/edge/EdgeLanguagePairsResult.d.ts +6 -0
- package/lib/translation/translate/result/edge/EdgeLanguagePairsResult.js +20 -0
- package/lib/translation/translate/result/edge/EdgeLanguagePairsResult.js.map +1 -0
- package/lib/translation/translate/result/edge/EdgeTranslationBatchFileResult.d.ts +3 -0
- package/lib/translation/translate/result/edge/EdgeTranslationBatchFileResult.js +30 -0
- package/lib/translation/translate/result/edge/EdgeTranslationBatchFileResult.js.map +1 -0
- package/lib/translation/translate/result/edge/EdgeTranslationFileResult.d.ts +9 -0
- package/lib/translation/translate/result/edge/EdgeTranslationFileResult.js +50 -0
- package/lib/translation/translate/result/edge/EdgeTranslationFileResult.js.map +1 -0
- package/lib/translation/translate/result/edge/EdgeTranslationTextResult.d.ts +6 -0
- package/lib/translation/translate/result/edge/EdgeTranslationTextResult.js +40 -0
- package/lib/translation/translate/result/edge/EdgeTranslationTextResult.js.map +1 -0
- package/lib/translation/translate/utils/TranslateFileUtil.d.ts +8 -0
- package/lib/translation/translate/utils/TranslateFileUtil.js +266 -0
- package/lib/translation/translate/utils/TranslateFileUtil.js.map +1 -0
- package/lib/version.d.ts +1 -0
- package/lib/version.js +5 -0
- package/lib/version.js.map +1 -0
- package/package.json +45 -0
- package/readme.md +17 -0
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
var Profile = /** @class */ (function () {
|
|
4
|
+
function Profile() {
|
|
5
|
+
}
|
|
6
|
+
Object.defineProperty(Profile.prototype, "username", {
|
|
7
|
+
get: function () {
|
|
8
|
+
return this._username;
|
|
9
|
+
},
|
|
10
|
+
set: function (value) {
|
|
11
|
+
this._username = value;
|
|
12
|
+
},
|
|
13
|
+
enumerable: false,
|
|
14
|
+
configurable: true
|
|
15
|
+
});
|
|
16
|
+
Object.defineProperty(Profile.prototype, "title", {
|
|
17
|
+
get: function () {
|
|
18
|
+
return this._title;
|
|
19
|
+
},
|
|
20
|
+
set: function (value) {
|
|
21
|
+
this._title = value;
|
|
22
|
+
},
|
|
23
|
+
enumerable: false,
|
|
24
|
+
configurable: true
|
|
25
|
+
});
|
|
26
|
+
Object.defineProperty(Profile.prototype, "languagePairId", {
|
|
27
|
+
get: function () {
|
|
28
|
+
return this._languagePairId;
|
|
29
|
+
},
|
|
30
|
+
set: function (value) {
|
|
31
|
+
this._languagePairId = value;
|
|
32
|
+
},
|
|
33
|
+
enumerable: false,
|
|
34
|
+
configurable: true
|
|
35
|
+
});
|
|
36
|
+
Object.defineProperty(Profile.prototype, "encoding", {
|
|
37
|
+
get: function () {
|
|
38
|
+
return this._encoding;
|
|
39
|
+
},
|
|
40
|
+
set: function (value) {
|
|
41
|
+
this._encoding = value;
|
|
42
|
+
},
|
|
43
|
+
enumerable: false,
|
|
44
|
+
configurable: true
|
|
45
|
+
});
|
|
46
|
+
Object.defineProperty(Profile.prototype, "inputFormat", {
|
|
47
|
+
get: function () {
|
|
48
|
+
return this._inputFormat;
|
|
49
|
+
},
|
|
50
|
+
set: function (value) {
|
|
51
|
+
this._inputFormat = value;
|
|
52
|
+
},
|
|
53
|
+
enumerable: false,
|
|
54
|
+
configurable: true
|
|
55
|
+
});
|
|
56
|
+
Object.defineProperty(Profile.prototype, "dictionaryIds", {
|
|
57
|
+
get: function () {
|
|
58
|
+
return this._dictionaryIds;
|
|
59
|
+
},
|
|
60
|
+
set: function (value) {
|
|
61
|
+
this._dictionaryIds = value;
|
|
62
|
+
},
|
|
63
|
+
enumerable: false,
|
|
64
|
+
configurable: true
|
|
65
|
+
});
|
|
66
|
+
Object.defineProperty(Profile.prototype, "outputFormat", {
|
|
67
|
+
get: function () {
|
|
68
|
+
return this._outputFormat;
|
|
69
|
+
},
|
|
70
|
+
set: function (value) {
|
|
71
|
+
this._outputFormat = value;
|
|
72
|
+
},
|
|
73
|
+
enumerable: false,
|
|
74
|
+
configurable: true
|
|
75
|
+
});
|
|
76
|
+
Object.defineProperty(Profile.prototype, "translationMethod", {
|
|
77
|
+
get: function () {
|
|
78
|
+
return this._translationMethod;
|
|
79
|
+
},
|
|
80
|
+
set: function (value) {
|
|
81
|
+
this._translationMethod = value;
|
|
82
|
+
},
|
|
83
|
+
enumerable: false,
|
|
84
|
+
configurable: true
|
|
85
|
+
});
|
|
86
|
+
return Profile;
|
|
87
|
+
}());
|
|
88
|
+
exports.default = Profile;
|
|
89
|
+
//# sourceMappingURL=Profile.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Profile.js","sourceRoot":"","sources":["../../../../../src/translation/translate/response/edge/Profile.ts"],"names":[],"mappings":";;AAAA;IAAA;IAyEA,CAAC;IA/DG,sBAAI,6BAAQ;aAAZ;YACI,OAAO,IAAI,CAAC,SAAS,CAAC;QAC1B,CAAC;aAED,UAAa,KAAyB;YAClC,IAAI,CAAC,SAAS,GAAG,KAAK,CAAC;QAC3B,CAAC;;;OAJA;IAMD,sBAAI,0BAAK;aAAT;YACI,OAAO,IAAI,CAAC,MAAM,CAAC;QACvB,CAAC;aAED,UAAU,KAAyB;YAC/B,IAAI,CAAC,MAAM,GAAG,KAAK,CAAC;QACxB,CAAC;;;OAJA;IAMD,sBAAI,mCAAc;aAAlB;YACI,OAAO,IAAI,CAAC,eAAe,CAAC;QAChC,CAAC;aAED,UAAmB,KAAyB;YACxC,IAAI,CAAC,eAAe,GAAG,KAAK,CAAC;QACjC,CAAC;;;OAJA;IAMD,sBAAI,6BAAQ;aAAZ;YACI,OAAO,IAAI,CAAC,SAAS,CAAC;QAC1B,CAAC;aAED,UAAa,KAAyB;YAClC,IAAI,CAAC,SAAS,GAAG,KAAK,CAAC;QAC3B,CAAC;;;OAJA;IAMD,sBAAI,gCAAW;aAAf;YACI,OAAO,IAAI,CAAC,YAAY,CAAC;QAC7B,CAAC;aAED,UAAgB,KAAyB;YACrC,IAAI,CAAC,YAAY,GAAG,KAAK,CAAC;QAC9B,CAAC;;;OAJA;IAMD,sBAAI,kCAAa;aAAjB;YACI,OAAO,IAAI,CAAC,cAAc,CAAC;QAC/B,CAAC;aAED,UAAkB,KAA2B;YACzC,IAAI,CAAC,cAAc,GAAG,KAAK,CAAC;QAChC,CAAC;;;OAJA;IAMD,sBAAI,iCAAY;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,sCAAiB;aAArB;YACI,OAAO,IAAI,CAAC,kBAAkB,CAAC;QACnC,CAAC;aAED,UAAsB,KAAyB;YAC3C,IAAI,CAAC,kBAAkB,GAAG,KAAK,CAAC;QACpC,CAAC;;;OAJA;IAKL,cAAC;AAAD,CAAC,AAzED,IAyEC"}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
export default class Result {
|
|
2
|
+
private _completedSegments;
|
|
3
|
+
private _inputSize;
|
|
4
|
+
private _sourceCharacterCount;
|
|
5
|
+
private _sourceWordCount;
|
|
6
|
+
private _targetCharacterCount;
|
|
7
|
+
private _targetWordCount;
|
|
8
|
+
private _totalSegments;
|
|
9
|
+
private _outputSize;
|
|
10
|
+
private _progress;
|
|
11
|
+
private _wordsPerMinute;
|
|
12
|
+
get completedSegments(): number | undefined;
|
|
13
|
+
set completedSegments(value: number | undefined);
|
|
14
|
+
get inputSize(): number | undefined;
|
|
15
|
+
set inputSize(value: number | undefined);
|
|
16
|
+
get sourceCharacterCount(): number | undefined;
|
|
17
|
+
set sourceCharacterCount(value: number | undefined);
|
|
18
|
+
get sourceWordCount(): number | undefined;
|
|
19
|
+
set sourceWordCount(value: number | undefined);
|
|
20
|
+
get targetCharacterCount(): number | undefined;
|
|
21
|
+
set targetCharacterCount(value: number | undefined);
|
|
22
|
+
get targetWordCount(): number | undefined;
|
|
23
|
+
set targetWordCount(value: number | undefined);
|
|
24
|
+
get totalSegments(): number | undefined;
|
|
25
|
+
set totalSegments(value: number | undefined);
|
|
26
|
+
get outputSize(): number | undefined;
|
|
27
|
+
set outputSize(value: number | undefined);
|
|
28
|
+
get progress(): number | undefined;
|
|
29
|
+
set progress(value: number | undefined);
|
|
30
|
+
get wordsPerMinute(): number | undefined;
|
|
31
|
+
set wordsPerMinute(value: number | undefined);
|
|
32
|
+
}
|
|
@@ -0,0 +1,109 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
var Result = /** @class */ (function () {
|
|
4
|
+
function Result() {
|
|
5
|
+
}
|
|
6
|
+
Object.defineProperty(Result.prototype, "completedSegments", {
|
|
7
|
+
get: function () {
|
|
8
|
+
return this._completedSegments;
|
|
9
|
+
},
|
|
10
|
+
set: function (value) {
|
|
11
|
+
this._completedSegments = value;
|
|
12
|
+
},
|
|
13
|
+
enumerable: false,
|
|
14
|
+
configurable: true
|
|
15
|
+
});
|
|
16
|
+
Object.defineProperty(Result.prototype, "inputSize", {
|
|
17
|
+
get: function () {
|
|
18
|
+
return this._inputSize;
|
|
19
|
+
},
|
|
20
|
+
set: function (value) {
|
|
21
|
+
this._inputSize = value;
|
|
22
|
+
},
|
|
23
|
+
enumerable: false,
|
|
24
|
+
configurable: true
|
|
25
|
+
});
|
|
26
|
+
Object.defineProperty(Result.prototype, "sourceCharacterCount", {
|
|
27
|
+
get: function () {
|
|
28
|
+
return this._sourceCharacterCount;
|
|
29
|
+
},
|
|
30
|
+
set: function (value) {
|
|
31
|
+
this._sourceCharacterCount = value;
|
|
32
|
+
},
|
|
33
|
+
enumerable: false,
|
|
34
|
+
configurable: true
|
|
35
|
+
});
|
|
36
|
+
Object.defineProperty(Result.prototype, "sourceWordCount", {
|
|
37
|
+
get: function () {
|
|
38
|
+
return this._sourceWordCount;
|
|
39
|
+
},
|
|
40
|
+
set: function (value) {
|
|
41
|
+
this._sourceWordCount = value;
|
|
42
|
+
},
|
|
43
|
+
enumerable: false,
|
|
44
|
+
configurable: true
|
|
45
|
+
});
|
|
46
|
+
Object.defineProperty(Result.prototype, "targetCharacterCount", {
|
|
47
|
+
get: function () {
|
|
48
|
+
return this._targetCharacterCount;
|
|
49
|
+
},
|
|
50
|
+
set: function (value) {
|
|
51
|
+
this._targetCharacterCount = value;
|
|
52
|
+
},
|
|
53
|
+
enumerable: false,
|
|
54
|
+
configurable: true
|
|
55
|
+
});
|
|
56
|
+
Object.defineProperty(Result.prototype, "targetWordCount", {
|
|
57
|
+
get: function () {
|
|
58
|
+
return this._targetWordCount;
|
|
59
|
+
},
|
|
60
|
+
set: function (value) {
|
|
61
|
+
this._targetWordCount = value;
|
|
62
|
+
},
|
|
63
|
+
enumerable: false,
|
|
64
|
+
configurable: true
|
|
65
|
+
});
|
|
66
|
+
Object.defineProperty(Result.prototype, "totalSegments", {
|
|
67
|
+
get: function () {
|
|
68
|
+
return this._totalSegments;
|
|
69
|
+
},
|
|
70
|
+
set: function (value) {
|
|
71
|
+
this._totalSegments = value;
|
|
72
|
+
},
|
|
73
|
+
enumerable: false,
|
|
74
|
+
configurable: true
|
|
75
|
+
});
|
|
76
|
+
Object.defineProperty(Result.prototype, "outputSize", {
|
|
77
|
+
get: function () {
|
|
78
|
+
return this._outputSize;
|
|
79
|
+
},
|
|
80
|
+
set: function (value) {
|
|
81
|
+
this._outputSize = value;
|
|
82
|
+
},
|
|
83
|
+
enumerable: false,
|
|
84
|
+
configurable: true
|
|
85
|
+
});
|
|
86
|
+
Object.defineProperty(Result.prototype, "progress", {
|
|
87
|
+
get: function () {
|
|
88
|
+
return this._progress;
|
|
89
|
+
},
|
|
90
|
+
set: function (value) {
|
|
91
|
+
this._progress = value;
|
|
92
|
+
},
|
|
93
|
+
enumerable: false,
|
|
94
|
+
configurable: true
|
|
95
|
+
});
|
|
96
|
+
Object.defineProperty(Result.prototype, "wordsPerMinute", {
|
|
97
|
+
get: function () {
|
|
98
|
+
return this._wordsPerMinute;
|
|
99
|
+
},
|
|
100
|
+
set: function (value) {
|
|
101
|
+
this._wordsPerMinute = value;
|
|
102
|
+
},
|
|
103
|
+
enumerable: false,
|
|
104
|
+
configurable: true
|
|
105
|
+
});
|
|
106
|
+
return Result;
|
|
107
|
+
}());
|
|
108
|
+
exports.default = Result;
|
|
109
|
+
//# sourceMappingURL=Result.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Result.js","sourceRoot":"","sources":["../../../../../src/translation/translate/response/edge/Result.ts"],"names":[],"mappings":";;AAAA;IAAA;IA2FA,CAAC;IA/EG,sBAAI,qCAAiB;aAArB;YACI,OAAO,IAAI,CAAC,kBAAkB,CAAC;QACnC,CAAC;aAED,UAAsB,KAAyB;YAC3C,IAAI,CAAC,kBAAkB,GAAG,KAAK,CAAC;QACpC,CAAC;;;OAJA;IAMD,sBAAI,6BAAS;aAAb;YACI,OAAO,IAAI,CAAC,UAAU,CAAC;QAC3B,CAAC;aAED,UAAc,KAAyB;YACnC,IAAI,CAAC,UAAU,GAAG,KAAK,CAAC;QAC5B,CAAC;;;OAJA;IAMD,sBAAI,wCAAoB;aAAxB;YACI,OAAO,IAAI,CAAC,qBAAqB,CAAC;QACtC,CAAC;aAED,UAAyB,KAAyB;YAC9C,IAAI,CAAC,qBAAqB,GAAG,KAAK,CAAC;QACvC,CAAC;;;OAJA;IAMD,sBAAI,mCAAe;aAAnB;YACI,OAAO,IAAI,CAAC,gBAAgB,CAAC;QACjC,CAAC;aAED,UAAoB,KAAyB;YACzC,IAAI,CAAC,gBAAgB,GAAG,KAAK,CAAC;QAClC,CAAC;;;OAJA;IAMD,sBAAI,wCAAoB;aAAxB;YACI,OAAO,IAAI,CAAC,qBAAqB,CAAC;QACtC,CAAC;aAED,UAAyB,KAAyB;YAC9C,IAAI,CAAC,qBAAqB,GAAG,KAAK,CAAC;QACvC,CAAC;;;OAJA;IAMD,sBAAI,mCAAe;aAAnB;YACI,OAAO,IAAI,CAAC,gBAAgB,CAAC;QACjC,CAAC;aAED,UAAoB,KAAyB;YACzC,IAAI,CAAC,gBAAgB,GAAG,KAAK,CAAC;QAClC,CAAC;;;OAJA;IAMD,sBAAI,iCAAa;aAAjB;YACI,OAAO,IAAI,CAAC,cAAc,CAAC;QAC/B,CAAC;aAED,UAAkB,KAAyB;YACvC,IAAI,CAAC,cAAc,GAAG,KAAK,CAAC;QAChC,CAAC;;;OAJA;IAMD,sBAAI,8BAAU;aAAd;YACI,OAAO,IAAI,CAAC,WAAW,CAAC;QAC5B,CAAC;aAED,UAAe,KAAyB;YACpC,IAAI,CAAC,WAAW,GAAG,KAAK,CAAC;QAC7B,CAAC;;;OAJA;IAMD,sBAAI,4BAAQ;aAAZ;YACI,OAAO,IAAI,CAAC,SAAS,CAAC;QAC1B,CAAC;aAED,UAAa,KAAyB;YAClC,IAAI,CAAC,SAAS,GAAG,KAAK,CAAC;QAC3B,CAAC;;;OAJA;IAMD,sBAAI,kCAAc;aAAlB;YACI,OAAO,IAAI,CAAC,eAAe,CAAC;QAChC,CAAC;aAED,UAAmB,KAAyB;YACxC,IAAI,CAAC,eAAe,GAAG,KAAK,CAAC;QACjC,CAAC;;;OAJA;IAKL,aAAC;AAAD,CAAC,AA3FD,IA2FC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export default class Timestamps {
|
|
2
|
+
private _queued;
|
|
3
|
+
private _started;
|
|
4
|
+
private _done;
|
|
5
|
+
get queued(): string | undefined;
|
|
6
|
+
set queued(value: string | undefined);
|
|
7
|
+
get started(): string | undefined;
|
|
8
|
+
set started(value: string | undefined);
|
|
9
|
+
get done(): string | undefined;
|
|
10
|
+
set done(value: string | undefined);
|
|
11
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
var Timestamps = /** @class */ (function () {
|
|
4
|
+
function Timestamps() {
|
|
5
|
+
}
|
|
6
|
+
Object.defineProperty(Timestamps.prototype, "queued", {
|
|
7
|
+
get: function () {
|
|
8
|
+
return this._queued;
|
|
9
|
+
},
|
|
10
|
+
set: function (value) {
|
|
11
|
+
this._queued = value;
|
|
12
|
+
},
|
|
13
|
+
enumerable: false,
|
|
14
|
+
configurable: true
|
|
15
|
+
});
|
|
16
|
+
Object.defineProperty(Timestamps.prototype, "started", {
|
|
17
|
+
get: function () {
|
|
18
|
+
return this._started;
|
|
19
|
+
},
|
|
20
|
+
set: function (value) {
|
|
21
|
+
this._started = value;
|
|
22
|
+
},
|
|
23
|
+
enumerable: false,
|
|
24
|
+
configurable: true
|
|
25
|
+
});
|
|
26
|
+
Object.defineProperty(Timestamps.prototype, "done", {
|
|
27
|
+
get: function () {
|
|
28
|
+
return this._done;
|
|
29
|
+
},
|
|
30
|
+
set: function (value) {
|
|
31
|
+
this._done = value;
|
|
32
|
+
},
|
|
33
|
+
enumerable: false,
|
|
34
|
+
configurable: true
|
|
35
|
+
});
|
|
36
|
+
return Timestamps;
|
|
37
|
+
}());
|
|
38
|
+
exports.default = Timestamps;
|
|
39
|
+
//# sourceMappingURL=Timestamps.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Timestamps.js","sourceRoot":"","sources":["../../../../../src/translation/translate/response/edge/Timestamps.ts"],"names":[],"mappings":";;AAAA;IAAA;IA4BA,CAAC;IAvBG,sBAAI,8BAAM;aAAV;YACI,OAAO,IAAI,CAAC,OAAO,CAAC;QACxB,CAAC;aAED,UAAW,KAAyB;YAChC,IAAI,CAAC,OAAO,GAAG,KAAK,CAAC;QACzB,CAAC;;;OAJA;IAMD,sBAAI,+BAAO;aAAX;YACI,OAAO,IAAI,CAAC,QAAQ,CAAC;QACzB,CAAC;aAED,UAAY,KAAyB;YACjC,IAAI,CAAC,QAAQ,GAAG,KAAK,CAAC;QAC1B,CAAC;;;OAJA;IAMD,sBAAI,4BAAI;aAAR;YACI,OAAO,IAAI,CAAC,KAAK,CAAC;QACtB,CAAC;aAED,UAAS,KAAyB;YAC9B,IAAI,CAAC,KAAK,GAAG,KAAK,CAAC;QACvB,CAAC;;;OAJA;IAKL,iBAAC;AAAD,CAAC,AA5BD,IA4BC"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
var DictionariesResult = /** @class */ (function () {
|
|
4
|
+
function DictionariesResult() {
|
|
5
|
+
}
|
|
6
|
+
Object.defineProperty(DictionariesResult.prototype, "dictionaries", {
|
|
7
|
+
get: function () {
|
|
8
|
+
return this._dictionaries;
|
|
9
|
+
},
|
|
10
|
+
set: function (value) {
|
|
11
|
+
this._dictionaries = value;
|
|
12
|
+
},
|
|
13
|
+
enumerable: false,
|
|
14
|
+
configurable: true
|
|
15
|
+
});
|
|
16
|
+
return DictionariesResult;
|
|
17
|
+
}());
|
|
18
|
+
exports.default = DictionariesResult;
|
|
19
|
+
//# sourceMappingURL=DictionariesResult.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DictionariesResult.js","sourceRoot":"","sources":["../../../../src/translation/translate/result/DictionariesResult.ts"],"names":[],"mappings":";;AAEA;IAAA;IAUA,CAAC;IAPG,sBAAI,4CAAY;aAAhB;YACI,OAAO,IAAI,CAAC,aAAa,CAAC;QAC9B,CAAC;aAED,UAAiB,KAAuC;YACpD,IAAI,CAAC,aAAa,GAAG,KAAK,CAAC;QAC/B,CAAC;;;OAJA;IAKL,yBAAC;AAAD,CAAC,AAVD,IAUC"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
var LanguagePairsResult = /** @class */ (function () {
|
|
4
|
+
function LanguagePairsResult() {
|
|
5
|
+
}
|
|
6
|
+
Object.defineProperty(LanguagePairsResult.prototype, "languagePairs", {
|
|
7
|
+
get: function () {
|
|
8
|
+
return this._languagePairs;
|
|
9
|
+
},
|
|
10
|
+
set: function (value) {
|
|
11
|
+
this._languagePairs = value;
|
|
12
|
+
},
|
|
13
|
+
enumerable: false,
|
|
14
|
+
configurable: true
|
|
15
|
+
});
|
|
16
|
+
return LanguagePairsResult;
|
|
17
|
+
}());
|
|
18
|
+
exports.default = LanguagePairsResult;
|
|
19
|
+
//# sourceMappingURL=LanguagePairsResult.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"LanguagePairsResult.js","sourceRoot":"","sources":["../../../../src/translation/translate/result/LanguagePairsResult.ts"],"names":[],"mappings":";;AAEA;IAAA;IAUA,CAAC;IAPG,sBAAI,8CAAa;aAAjB;YACI,OAAO,IAAI,CAAC,cAAc,CAAC;QAC/B,CAAC;aAED,UAAkB,KAAiC;YAC/C,IAAI,CAAC,cAAc,GAAG,KAAK,CAAC;QAChC,CAAC;;;OAJA;IAKL,0BAAC;AAAD,CAAC,AAVD,IAUC"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
var TranslateTextResult = /** @class */ (function () {
|
|
4
|
+
function TranslateTextResult() {
|
|
5
|
+
}
|
|
6
|
+
Object.defineProperty(TranslateTextResult.prototype, "translation", {
|
|
7
|
+
get: function () {
|
|
8
|
+
return this._translation;
|
|
9
|
+
},
|
|
10
|
+
set: function (value) {
|
|
11
|
+
this._translation = value;
|
|
12
|
+
},
|
|
13
|
+
enumerable: false,
|
|
14
|
+
configurable: true
|
|
15
|
+
});
|
|
16
|
+
return TranslateTextResult;
|
|
17
|
+
}());
|
|
18
|
+
exports.default = TranslateTextResult;
|
|
19
|
+
//# sourceMappingURL=TranslateTextResult.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TranslateTextResult.js","sourceRoot":"","sources":["../../../../src/translation/translate/result/TranslateTextResult.ts"],"names":[],"mappings":";;AAAA;IAAA;IAUA,CAAC;IAPG,sBAAI,4CAAW;aAAf;YACI,OAAO,IAAI,CAAC,YAAY,CAAC;QAC7B,CAAC;aAED,UAAgB,KAAyB;YACrC,IAAI,CAAC,YAAY,GAAG,KAAK,CAAC;QAC9B,CAAC;;;OAJA;IAKL,0BAAC;AAAD,CAAC,AAVD,IAUC"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import TranslationFileResult from './TranslationFileResult';
|
|
2
|
+
export default class TranslationBatchFileResult {
|
|
3
|
+
private _translationFileResults;
|
|
4
|
+
get translationFileResults(): TranslationFileResult[] | undefined;
|
|
5
|
+
set translationFileResults(value: TranslationFileResult[] | undefined);
|
|
6
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
var TranslationBatchFileResult = /** @class */ (function () {
|
|
4
|
+
function TranslationBatchFileResult() {
|
|
5
|
+
}
|
|
6
|
+
Object.defineProperty(TranslationBatchFileResult.prototype, "translationFileResults", {
|
|
7
|
+
get: function () {
|
|
8
|
+
return this._translationFileResults;
|
|
9
|
+
},
|
|
10
|
+
set: function (value) {
|
|
11
|
+
this._translationFileResults = value;
|
|
12
|
+
},
|
|
13
|
+
enumerable: false,
|
|
14
|
+
configurable: true
|
|
15
|
+
});
|
|
16
|
+
return TranslationBatchFileResult;
|
|
17
|
+
}());
|
|
18
|
+
exports.default = TranslationBatchFileResult;
|
|
19
|
+
//# sourceMappingURL=TranslationBatchFileResult.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TranslationBatchFileResult.js","sourceRoot":"","sources":["../../../../src/translation/translate/result/TranslationBatchFileResult.ts"],"names":[],"mappings":";;AAEA;IAAA;IAUA,CAAC;IAPG,sBAAI,8DAAsB;aAA1B;YACI,OAAO,IAAI,CAAC,uBAAuB,CAAC;QACxC,CAAC;aAED,UAA2B,KAA0C;YACjE,IAAI,CAAC,uBAAuB,GAAG,KAAK,CAAC;QACzC,CAAC;;;OAJA;IAKL,iCAAC;AAAD,CAAC,AAVD,IAUC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export default class TranslationFileResult {
|
|
2
|
+
private _fileContent;
|
|
3
|
+
private _mimeType;
|
|
4
|
+
private _filename;
|
|
5
|
+
get fileContent(): string | ArrayBuffer | null | undefined;
|
|
6
|
+
set fileContent(value: string | ArrayBuffer | null | undefined);
|
|
7
|
+
get mimeType(): string | undefined;
|
|
8
|
+
set mimeType(value: string | undefined);
|
|
9
|
+
get filename(): string | undefined;
|
|
10
|
+
set filename(value: string | undefined);
|
|
11
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
var TranslationFileResult = /** @class */ (function () {
|
|
4
|
+
function TranslationFileResult() {
|
|
5
|
+
}
|
|
6
|
+
Object.defineProperty(TranslationFileResult.prototype, "fileContent", {
|
|
7
|
+
get: function () {
|
|
8
|
+
return this._fileContent;
|
|
9
|
+
},
|
|
10
|
+
set: function (value) {
|
|
11
|
+
this._fileContent = value;
|
|
12
|
+
},
|
|
13
|
+
enumerable: false,
|
|
14
|
+
configurable: true
|
|
15
|
+
});
|
|
16
|
+
Object.defineProperty(TranslationFileResult.prototype, "mimeType", {
|
|
17
|
+
get: function () {
|
|
18
|
+
return this._mimeType;
|
|
19
|
+
},
|
|
20
|
+
set: function (value) {
|
|
21
|
+
this._mimeType = value;
|
|
22
|
+
},
|
|
23
|
+
enumerable: false,
|
|
24
|
+
configurable: true
|
|
25
|
+
});
|
|
26
|
+
Object.defineProperty(TranslationFileResult.prototype, "filename", {
|
|
27
|
+
get: function () {
|
|
28
|
+
return this._filename;
|
|
29
|
+
},
|
|
30
|
+
set: function (value) {
|
|
31
|
+
this._filename = value;
|
|
32
|
+
},
|
|
33
|
+
enumerable: false,
|
|
34
|
+
configurable: true
|
|
35
|
+
});
|
|
36
|
+
return TranslationFileResult;
|
|
37
|
+
}());
|
|
38
|
+
exports.default = TranslationFileResult;
|
|
39
|
+
//# sourceMappingURL=TranslationFileResult.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TranslationFileResult.js","sourceRoot":"","sources":["../../../../src/translation/translate/result/TranslationFileResult.ts"],"names":[],"mappings":";;AAAA;IAAA;IA4BA,CAAC;IAvBG,sBAAI,8CAAW;aAAf;YACI,OAAO,IAAI,CAAC,YAAY,CAAC;QAC7B,CAAC;aAED,UAAgB,KAA8C;YAC1D,IAAI,CAAC,YAAY,GAAG,KAAK,CAAC;QAC9B,CAAC;;;OAJA;IAMD,sBAAI,2CAAQ;aAAZ;YACI,OAAO,IAAI,CAAC,SAAS,CAAC;QAC1B,CAAC;aAED,UAAa,KAAyB;YAClC,IAAI,CAAC,SAAS,GAAG,KAAK,CAAC;QAC3B,CAAC;;;OAJA;IAMD,sBAAI,2CAAQ;aAAZ;YACI,OAAO,IAAI,CAAC,SAAS,CAAC;QAC1B,CAAC;aAED,UAAa,KAAyB;YAClC,IAAI,CAAC,SAAS,GAAG,KAAK,CAAC;QAC3B,CAAC;;;OAJA;IAKL,4BAAC;AAAD,CAAC,AA5BD,IA4BC"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import CloudDictionaryResponse from '../../response/cloud/CloudDictionaryResponse';
|
|
2
|
+
export default class CloudDictionariesResult {
|
|
3
|
+
private _accountId;
|
|
4
|
+
private _dictionaries;
|
|
5
|
+
private _pageNumber;
|
|
6
|
+
private _pageSize;
|
|
7
|
+
private _totalCount;
|
|
8
|
+
get accountId(): number | undefined;
|
|
9
|
+
set accountId(value: number | undefined);
|
|
10
|
+
get dictionaries(): CloudDictionaryResponse[] | undefined;
|
|
11
|
+
set dictionaries(value: CloudDictionaryResponse[] | undefined);
|
|
12
|
+
get pageNumber(): number | undefined;
|
|
13
|
+
set pageNumber(value: number | undefined);
|
|
14
|
+
get pageSize(): number | undefined;
|
|
15
|
+
set pageSize(value: number | undefined);
|
|
16
|
+
get totalCount(): number | undefined;
|
|
17
|
+
set totalCount(value: number | undefined);
|
|
18
|
+
}
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
var CloudDictionariesResult = /** @class */ (function () {
|
|
4
|
+
function CloudDictionariesResult() {
|
|
5
|
+
}
|
|
6
|
+
Object.defineProperty(CloudDictionariesResult.prototype, "accountId", {
|
|
7
|
+
get: function () {
|
|
8
|
+
return this._accountId;
|
|
9
|
+
},
|
|
10
|
+
set: function (value) {
|
|
11
|
+
this._accountId = value;
|
|
12
|
+
},
|
|
13
|
+
enumerable: false,
|
|
14
|
+
configurable: true
|
|
15
|
+
});
|
|
16
|
+
Object.defineProperty(CloudDictionariesResult.prototype, "dictionaries", {
|
|
17
|
+
get: function () {
|
|
18
|
+
return this._dictionaries;
|
|
19
|
+
},
|
|
20
|
+
set: function (value) {
|
|
21
|
+
this._dictionaries = value;
|
|
22
|
+
},
|
|
23
|
+
enumerable: false,
|
|
24
|
+
configurable: true
|
|
25
|
+
});
|
|
26
|
+
Object.defineProperty(CloudDictionariesResult.prototype, "pageNumber", {
|
|
27
|
+
get: function () {
|
|
28
|
+
return this._pageNumber;
|
|
29
|
+
},
|
|
30
|
+
set: function (value) {
|
|
31
|
+
this._pageNumber = value;
|
|
32
|
+
},
|
|
33
|
+
enumerable: false,
|
|
34
|
+
configurable: true
|
|
35
|
+
});
|
|
36
|
+
Object.defineProperty(CloudDictionariesResult.prototype, "pageSize", {
|
|
37
|
+
get: function () {
|
|
38
|
+
return this._pageSize;
|
|
39
|
+
},
|
|
40
|
+
set: function (value) {
|
|
41
|
+
this._pageSize = value;
|
|
42
|
+
},
|
|
43
|
+
enumerable: false,
|
|
44
|
+
configurable: true
|
|
45
|
+
});
|
|
46
|
+
Object.defineProperty(CloudDictionariesResult.prototype, "totalCount", {
|
|
47
|
+
get: function () {
|
|
48
|
+
return this._totalCount;
|
|
49
|
+
},
|
|
50
|
+
set: function (value) {
|
|
51
|
+
this._totalCount = value;
|
|
52
|
+
},
|
|
53
|
+
enumerable: false,
|
|
54
|
+
configurable: true
|
|
55
|
+
});
|
|
56
|
+
return CloudDictionariesResult;
|
|
57
|
+
}());
|
|
58
|
+
exports.default = CloudDictionariesResult;
|
|
59
|
+
//# sourceMappingURL=CloudDictionariesResult.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CloudDictionariesResult.js","sourceRoot":"","sources":["../../../../../src/translation/translate/result/cloud/CloudDictionariesResult.ts"],"names":[],"mappings":";;AAEA;IAAA;IA8CA,CAAC;IAvCG,sBAAI,8CAAS;aAAb;YACI,OAAO,IAAI,CAAC,UAAU,CAAC;QAC3B,CAAC;aAED,UAAc,KAAyB;YACnC,IAAI,CAAC,UAAU,GAAG,KAAK,CAAC;QAC5B,CAAC;;;OAJA;IAMD,sBAAI,iDAAY;aAAhB;YACI,OAAO,IAAI,CAAC,aAAa,CAAC;QAC9B,CAAC;aAED,UAAiB,KAA4C;YACzD,IAAI,CAAC,aAAa,GAAG,KAAK,CAAC;QAC/B,CAAC;;;OAJA;IAMD,sBAAI,+CAAU;aAAd;YACI,OAAO,IAAI,CAAC,WAAW,CAAC;QAC5B,CAAC;aAED,UAAe,KAAyB;YACpC,IAAI,CAAC,WAAW,GAAG,KAAK,CAAC;QAC7B,CAAC;;;OAJA;IAMD,sBAAI,6CAAQ;aAAZ;YACI,OAAO,IAAI,CAAC,SAAS,CAAC;QAC1B,CAAC;aAED,UAAa,KAAyB;YAClC,IAAI,CAAC,SAAS,GAAG,KAAK,CAAC;QAC3B,CAAC;;;OAJA;IAMD,sBAAI,+CAAU;aAAd;YACI,OAAO,IAAI,CAAC,WAAW,CAAC;QAC5B,CAAC;aAED,UAAe,KAAyB;YACpC,IAAI,CAAC,WAAW,GAAG,KAAK,CAAC;QAC7B,CAAC;;;OAJA;IAKL,8BAAC;AAAD,CAAC,AA9CD,IA8CC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import CloudLanguagePair from '../../response/cloud/CloudLanguagePair';
|
|
2
|
+
export default class CloudLanguagePairsResult {
|
|
3
|
+
private _accountId;
|
|
4
|
+
private _languagePairs;
|
|
5
|
+
get accountId(): number | undefined;
|
|
6
|
+
set accountId(value: number | undefined);
|
|
7
|
+
get languagePairs(): CloudLanguagePair[] | undefined;
|
|
8
|
+
set languagePairs(value: CloudLanguagePair[] | undefined);
|
|
9
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
var CloudLanguagePairsResult = /** @class */ (function () {
|
|
4
|
+
function CloudLanguagePairsResult() {
|
|
5
|
+
}
|
|
6
|
+
Object.defineProperty(CloudLanguagePairsResult.prototype, "accountId", {
|
|
7
|
+
get: function () {
|
|
8
|
+
return this._accountId;
|
|
9
|
+
},
|
|
10
|
+
set: function (value) {
|
|
11
|
+
this._accountId = value;
|
|
12
|
+
},
|
|
13
|
+
enumerable: false,
|
|
14
|
+
configurable: true
|
|
15
|
+
});
|
|
16
|
+
Object.defineProperty(CloudLanguagePairsResult.prototype, "languagePairs", {
|
|
17
|
+
get: function () {
|
|
18
|
+
return this._languagePairs;
|
|
19
|
+
},
|
|
20
|
+
set: function (value) {
|
|
21
|
+
this._languagePairs = value;
|
|
22
|
+
},
|
|
23
|
+
enumerable: false,
|
|
24
|
+
configurable: true
|
|
25
|
+
});
|
|
26
|
+
return CloudLanguagePairsResult;
|
|
27
|
+
}());
|
|
28
|
+
exports.default = CloudLanguagePairsResult;
|
|
29
|
+
//# sourceMappingURL=CloudLanguagePairsResult.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CloudLanguagePairsResult.js","sourceRoot":"","sources":["../../../../../src/translation/translate/result/cloud/CloudLanguagePairsResult.ts"],"names":[],"mappings":";;AAEA;IAAA;IAmBA,CAAC;IAfG,sBAAI,+CAAS;aAAb;YACI,OAAO,IAAI,CAAC,UAAU,CAAC;QAC3B,CAAC;aAED,UAAc,KAAyB;YACnC,IAAI,CAAC,UAAU,GAAG,KAAK,CAAC;QAC5B,CAAC;;;OAJA;IAMD,sBAAI,mDAAa;aAAjB;YACI,OAAO,IAAI,CAAC,cAAc,CAAC;QAC/B,CAAC;aAED,UAAkB,KAAsC;YACpD,IAAI,CAAC,cAAc,GAAG,KAAK,CAAC;QAChC,CAAC;;;OAJA;IAKL,+BAAC;AAAD,CAAC,AAnBD,IAmBC"}
|
|
@@ -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 TranslationBatchFileResult_1 = __importDefault(require("../TranslationBatchFileResult"));
|
|
22
|
+
var CloudTranslationBatchFileResult = /** @class */ (function (_super) {
|
|
23
|
+
__extends(CloudTranslationBatchFileResult, _super);
|
|
24
|
+
function CloudTranslationBatchFileResult() {
|
|
25
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
26
|
+
}
|
|
27
|
+
return CloudTranslationBatchFileResult;
|
|
28
|
+
}(TranslationBatchFileResult_1.default));
|
|
29
|
+
exports.default = CloudTranslationBatchFileResult;
|
|
30
|
+
//# sourceMappingURL=CloudTranslationBatchFileResult.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CloudTranslationBatchFileResult.js","sourceRoot":"","sources":["../../../../../src/translation/translate/result/cloud/CloudTranslationBatchFileResult.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA,6FAAuE;AAEvE;IAA6D,mDAA0B;IAAvF;;IAAyF,CAAC;IAAD,sCAAC;AAAD,CAAC,AAA1F,CAA6D,oCAA0B,GAAG"}
|