@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,110 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
var CloudDictionaryResponse = /** @class */ (function () {
|
|
4
|
+
function CloudDictionaryResponse() {
|
|
5
|
+
this._description = '';
|
|
6
|
+
}
|
|
7
|
+
Object.defineProperty(CloudDictionaryResponse.prototype, "dictionaryId", {
|
|
8
|
+
get: function () {
|
|
9
|
+
return this._dictionaryId;
|
|
10
|
+
},
|
|
11
|
+
set: function (value) {
|
|
12
|
+
this._dictionaryId = value;
|
|
13
|
+
},
|
|
14
|
+
enumerable: false,
|
|
15
|
+
configurable: true
|
|
16
|
+
});
|
|
17
|
+
Object.defineProperty(CloudDictionaryResponse.prototype, "accountId", {
|
|
18
|
+
get: function () {
|
|
19
|
+
return this._accountId;
|
|
20
|
+
},
|
|
21
|
+
set: function (value) {
|
|
22
|
+
this._accountId = value;
|
|
23
|
+
},
|
|
24
|
+
enumerable: false,
|
|
25
|
+
configurable: true
|
|
26
|
+
});
|
|
27
|
+
Object.defineProperty(CloudDictionaryResponse.prototype, "createdBy", {
|
|
28
|
+
get: function () {
|
|
29
|
+
return this._createdBy;
|
|
30
|
+
},
|
|
31
|
+
set: function (value) {
|
|
32
|
+
this._createdBy = value;
|
|
33
|
+
},
|
|
34
|
+
enumerable: false,
|
|
35
|
+
configurable: true
|
|
36
|
+
});
|
|
37
|
+
Object.defineProperty(CloudDictionaryResponse.prototype, "creationDate", {
|
|
38
|
+
get: function () {
|
|
39
|
+
return this._creationDate;
|
|
40
|
+
},
|
|
41
|
+
set: function (value) {
|
|
42
|
+
this._creationDate = value;
|
|
43
|
+
},
|
|
44
|
+
enumerable: false,
|
|
45
|
+
configurable: true
|
|
46
|
+
});
|
|
47
|
+
Object.defineProperty(CloudDictionaryResponse.prototype, "lastModifiedBy", {
|
|
48
|
+
get: function () {
|
|
49
|
+
return this._lastModifiedBy;
|
|
50
|
+
},
|
|
51
|
+
set: function (value) {
|
|
52
|
+
this._lastModifiedBy = value;
|
|
53
|
+
},
|
|
54
|
+
enumerable: false,
|
|
55
|
+
configurable: true
|
|
56
|
+
});
|
|
57
|
+
Object.defineProperty(CloudDictionaryResponse.prototype, "lastModifyDate", {
|
|
58
|
+
get: function () {
|
|
59
|
+
return this._lastModifyDate;
|
|
60
|
+
},
|
|
61
|
+
set: function (value) {
|
|
62
|
+
this._lastModifyDate = value;
|
|
63
|
+
},
|
|
64
|
+
enumerable: false,
|
|
65
|
+
configurable: true
|
|
66
|
+
});
|
|
67
|
+
Object.defineProperty(CloudDictionaryResponse.prototype, "name", {
|
|
68
|
+
get: function () {
|
|
69
|
+
return this._name;
|
|
70
|
+
},
|
|
71
|
+
set: function (value) {
|
|
72
|
+
this._name = value;
|
|
73
|
+
},
|
|
74
|
+
enumerable: false,
|
|
75
|
+
configurable: true
|
|
76
|
+
});
|
|
77
|
+
Object.defineProperty(CloudDictionaryResponse.prototype, "description", {
|
|
78
|
+
get: function () {
|
|
79
|
+
return this._description;
|
|
80
|
+
},
|
|
81
|
+
set: function (value) {
|
|
82
|
+
this._description = value;
|
|
83
|
+
},
|
|
84
|
+
enumerable: false,
|
|
85
|
+
configurable: true
|
|
86
|
+
});
|
|
87
|
+
Object.defineProperty(CloudDictionaryResponse.prototype, "source", {
|
|
88
|
+
get: function () {
|
|
89
|
+
return this._source;
|
|
90
|
+
},
|
|
91
|
+
set: function (value) {
|
|
92
|
+
this._source = value;
|
|
93
|
+
},
|
|
94
|
+
enumerable: false,
|
|
95
|
+
configurable: true
|
|
96
|
+
});
|
|
97
|
+
Object.defineProperty(CloudDictionaryResponse.prototype, "target", {
|
|
98
|
+
get: function () {
|
|
99
|
+
return this._target;
|
|
100
|
+
},
|
|
101
|
+
set: function (value) {
|
|
102
|
+
this._target = value;
|
|
103
|
+
},
|
|
104
|
+
enumerable: false,
|
|
105
|
+
configurable: true
|
|
106
|
+
});
|
|
107
|
+
return CloudDictionaryResponse;
|
|
108
|
+
}());
|
|
109
|
+
exports.default = CloudDictionaryResponse;
|
|
110
|
+
//# sourceMappingURL=CloudDictionaryResponse.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CloudDictionaryResponse.js","sourceRoot":"","sources":["../../../../../src/translation/translate/response/cloud/CloudDictionaryResponse.ts"],"names":[],"mappings":";;AAAA;IAAA;QAQY,iBAAY,GAAW,EAAE,CAAC;IAmFtC,CAAC;IA/EG,sBAAI,iDAAY;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,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,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,KAAyB;YACtC,IAAI,CAAC,aAAa,GAAG,KAAK,CAAC;QAC/B,CAAC;;;OAJA;IAMD,sBAAI,mDAAc;aAAlB;YACI,OAAO,IAAI,CAAC,eAAe,CAAC;QAChC,CAAC;aAED,UAAmB,KAAyB;YACxC,IAAI,CAAC,eAAe,GAAG,KAAK,CAAC;QACjC,CAAC;;;OAJA;IAMD,sBAAI,mDAAc;aAAlB;YACI,OAAO,IAAI,CAAC,eAAe,CAAC;QAChC,CAAC;aAED,UAAmB,KAAyB;YACxC,IAAI,CAAC,eAAe,GAAG,KAAK,CAAC;QACjC,CAAC;;;OAJA;IAMD,sBAAI,yCAAI;aAAR;YACI,OAAO,IAAI,CAAC,KAAK,CAAC;QACtB,CAAC;aAED,UAAS,KAAyB;YAC9B,IAAI,CAAC,KAAK,GAAG,KAAK,CAAC;QACvB,CAAC;;;OAJA;IAMD,sBAAI,gDAAW;aAAf;YACI,OAAO,IAAI,CAAC,YAAY,CAAC;QAC7B,CAAC;aAED,UAAgB,KAAa;YACzB,IAAI,CAAC,YAAY,GAAG,KAAK,CAAC;QAC9B,CAAC;;;OAJA;IAMD,sBAAI,2CAAM;aAAV;YACI,OAAO,IAAI,CAAC,OAAO,CAAC;QACxB,CAAC;aAED,UAAW,KAAyB;YAChC,IAAI,CAAC,OAAO,GAAG,KAAK,CAAC;QACzB,CAAC;;;OAJA;IAMD,sBAAI,2CAAM;aAAV;YACI,OAAO,IAAI,CAAC,OAAO,CAAC;QACxB,CAAC;aAED,UAAW,KAAyB;YAChC,IAAI,CAAC,OAAO,GAAG,KAAK,CAAC;QACzB,CAAC;;;OAJA;IAKL,8BAAC;AAAD,CAAC,AA3FD,IA2FC"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
export default class CloudLanguagePair {
|
|
2
|
+
private _name;
|
|
3
|
+
private _displayName;
|
|
4
|
+
private _sourceLanguageId;
|
|
5
|
+
private _targetLanguageId;
|
|
6
|
+
private _model;
|
|
7
|
+
get name(): string | undefined;
|
|
8
|
+
set name(value: string | undefined);
|
|
9
|
+
get displayName(): string | undefined;
|
|
10
|
+
set displayName(value: string | undefined);
|
|
11
|
+
get sourceLanguageId(): string | undefined;
|
|
12
|
+
set sourceLanguageId(value: string | undefined);
|
|
13
|
+
get targetLanguageId(): string | undefined;
|
|
14
|
+
set targetLanguageId(value: string | undefined);
|
|
15
|
+
get model(): string | undefined;
|
|
16
|
+
set model(value: string | undefined);
|
|
17
|
+
}
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
var CloudLanguagePair = /** @class */ (function () {
|
|
4
|
+
function CloudLanguagePair() {
|
|
5
|
+
}
|
|
6
|
+
Object.defineProperty(CloudLanguagePair.prototype, "name", {
|
|
7
|
+
get: function () {
|
|
8
|
+
return this._name;
|
|
9
|
+
},
|
|
10
|
+
set: function (value) {
|
|
11
|
+
this._name = value;
|
|
12
|
+
},
|
|
13
|
+
enumerable: false,
|
|
14
|
+
configurable: true
|
|
15
|
+
});
|
|
16
|
+
Object.defineProperty(CloudLanguagePair.prototype, "displayName", {
|
|
17
|
+
get: function () {
|
|
18
|
+
return this._displayName;
|
|
19
|
+
},
|
|
20
|
+
set: function (value) {
|
|
21
|
+
this._displayName = value;
|
|
22
|
+
},
|
|
23
|
+
enumerable: false,
|
|
24
|
+
configurable: true
|
|
25
|
+
});
|
|
26
|
+
Object.defineProperty(CloudLanguagePair.prototype, "sourceLanguageId", {
|
|
27
|
+
get: function () {
|
|
28
|
+
return this._sourceLanguageId;
|
|
29
|
+
},
|
|
30
|
+
set: function (value) {
|
|
31
|
+
this._sourceLanguageId = value;
|
|
32
|
+
},
|
|
33
|
+
enumerable: false,
|
|
34
|
+
configurable: true
|
|
35
|
+
});
|
|
36
|
+
Object.defineProperty(CloudLanguagePair.prototype, "targetLanguageId", {
|
|
37
|
+
get: function () {
|
|
38
|
+
return this._targetLanguageId;
|
|
39
|
+
},
|
|
40
|
+
set: function (value) {
|
|
41
|
+
this._targetLanguageId = value;
|
|
42
|
+
},
|
|
43
|
+
enumerable: false,
|
|
44
|
+
configurable: true
|
|
45
|
+
});
|
|
46
|
+
Object.defineProperty(CloudLanguagePair.prototype, "model", {
|
|
47
|
+
get: function () {
|
|
48
|
+
return this._model;
|
|
49
|
+
},
|
|
50
|
+
set: function (value) {
|
|
51
|
+
this._model = value;
|
|
52
|
+
},
|
|
53
|
+
enumerable: false,
|
|
54
|
+
configurable: true
|
|
55
|
+
});
|
|
56
|
+
return CloudLanguagePair;
|
|
57
|
+
}());
|
|
58
|
+
exports.default = CloudLanguagePair;
|
|
59
|
+
//# sourceMappingURL=CloudLanguagePair.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CloudLanguagePair.js","sourceRoot":"","sources":["../../../../../src/translation/translate/response/cloud/CloudLanguagePair.ts"],"names":[],"mappings":";;AAAA;IAAA;IA8CA,CAAC;IAvCG,sBAAI,mCAAI;aAAR;YACI,OAAO,IAAI,CAAC,KAAK,CAAC;QACtB,CAAC;aAED,UAAS,KAAyB;YAC9B,IAAI,CAAC,KAAK,GAAG,KAAK,CAAC;QACvB,CAAC;;;OAJA;IAMD,sBAAI,0CAAW;aAAf;YACI,OAAO,IAAI,CAAC,YAAY,CAAC;QAC7B,CAAC;aAED,UAAgB,KAAyB;YACrC,IAAI,CAAC,YAAY,GAAG,KAAK,CAAC;QAC9B,CAAC;;;OAJA;IAMD,sBAAI,+CAAgB;aAApB;YACI,OAAO,IAAI,CAAC,iBAAiB,CAAC;QAClC,CAAC;aAED,UAAqB,KAAyB;YAC1C,IAAI,CAAC,iBAAiB,GAAG,KAAK,CAAC;QACnC,CAAC;;;OAJA;IAMD,sBAAI,+CAAgB;aAApB;YACI,OAAO,IAAI,CAAC,iBAAiB,CAAC;QAClC,CAAC;aAED,UAAqB,KAAyB;YAC1C,IAAI,CAAC,iBAAiB,GAAG,KAAK,CAAC;QACnC,CAAC;;;OAJA;IAMD,sBAAI,oCAAK;aAAT;YACI,OAAO,IAAI,CAAC,MAAM,CAAC;QACvB,CAAC;aAED,UAAU,KAAyB;YAC/B,IAAI,CAAC,MAAM,GAAG,KAAK,CAAC;QACxB,CAAC;;;OAJA;IAKL,wBAAC;AAAD,CAAC,AA9CD,IA8CC"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
var EdgeAsyncTranslationResponse = /** @class */ (function () {
|
|
4
|
+
function EdgeAsyncTranslationResponse() {
|
|
5
|
+
}
|
|
6
|
+
Object.defineProperty(EdgeAsyncTranslationResponse.prototype, "translationId", {
|
|
7
|
+
get: function () {
|
|
8
|
+
return this._translationId;
|
|
9
|
+
},
|
|
10
|
+
set: function (value) {
|
|
11
|
+
this._translationId = value;
|
|
12
|
+
},
|
|
13
|
+
enumerable: false,
|
|
14
|
+
configurable: true
|
|
15
|
+
});
|
|
16
|
+
return EdgeAsyncTranslationResponse;
|
|
17
|
+
}());
|
|
18
|
+
exports.default = EdgeAsyncTranslationResponse;
|
|
19
|
+
//# sourceMappingURL=EdgeAsyncTranslationResponse.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"EdgeAsyncTranslationResponse.js","sourceRoot":"","sources":["../../../../../src/translation/translate/response/edge/EdgeAsyncTranslationResponse.ts"],"names":[],"mappings":";;AAAA;IAAA;IAUA,CAAC;IAPG,sBAAI,uDAAa;aAAjB;YACI,OAAO,IAAI,CAAC,cAAc,CAAC;QAC/B,CAAC;aAED,UAAkB,KAAyB;YACvC,IAAI,CAAC,cAAc,GAAG,KAAK,CAAC;QAChC,CAAC;;;OAJA;IAKL,mCAAC;AAAD,CAAC,AAVD,IAUC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export default class EdgeDictionaryResponse {
|
|
2
|
+
private _dictionaryId;
|
|
3
|
+
private _sourceLanguageId;
|
|
4
|
+
private _targetLanguageId;
|
|
5
|
+
get dictionaryId(): string | undefined;
|
|
6
|
+
set dictionaryId(value: string | undefined);
|
|
7
|
+
get sourceLanguageId(): string | undefined;
|
|
8
|
+
set sourceLanguageId(value: string | undefined);
|
|
9
|
+
get targetLanguageId(): string | undefined;
|
|
10
|
+
set targetLanguageId(value: string | undefined);
|
|
11
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
var EdgeDictionaryResponse = /** @class */ (function () {
|
|
4
|
+
function EdgeDictionaryResponse() {
|
|
5
|
+
}
|
|
6
|
+
Object.defineProperty(EdgeDictionaryResponse.prototype, "dictionaryId", {
|
|
7
|
+
get: function () {
|
|
8
|
+
return this._dictionaryId;
|
|
9
|
+
},
|
|
10
|
+
set: function (value) {
|
|
11
|
+
this._dictionaryId = value;
|
|
12
|
+
},
|
|
13
|
+
enumerable: false,
|
|
14
|
+
configurable: true
|
|
15
|
+
});
|
|
16
|
+
Object.defineProperty(EdgeDictionaryResponse.prototype, "sourceLanguageId", {
|
|
17
|
+
get: function () {
|
|
18
|
+
return this._sourceLanguageId;
|
|
19
|
+
},
|
|
20
|
+
set: function (value) {
|
|
21
|
+
this._sourceLanguageId = value;
|
|
22
|
+
},
|
|
23
|
+
enumerable: false,
|
|
24
|
+
configurable: true
|
|
25
|
+
});
|
|
26
|
+
Object.defineProperty(EdgeDictionaryResponse.prototype, "targetLanguageId", {
|
|
27
|
+
get: function () {
|
|
28
|
+
return this._targetLanguageId;
|
|
29
|
+
},
|
|
30
|
+
set: function (value) {
|
|
31
|
+
this._targetLanguageId = value;
|
|
32
|
+
},
|
|
33
|
+
enumerable: false,
|
|
34
|
+
configurable: true
|
|
35
|
+
});
|
|
36
|
+
return EdgeDictionaryResponse;
|
|
37
|
+
}());
|
|
38
|
+
exports.default = EdgeDictionaryResponse;
|
|
39
|
+
//# sourceMappingURL=EdgeDictionaryResponse.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"EdgeDictionaryResponse.js","sourceRoot":"","sources":["../../../../../src/translation/translate/response/edge/EdgeDictionaryResponse.ts"],"names":[],"mappings":";;AAAA;IAAA;IA4BA,CAAC;IAvBG,sBAAI,gDAAY;aAAhB;YACI,OAAO,IAAI,CAAC,aAAa,CAAC;QAC9B,CAAC;aAED,UAAiB,KAAyB;YACtC,IAAI,CAAC,aAAa,GAAG,KAAK,CAAC;QAC/B,CAAC;;;OAJA;IAMD,sBAAI,oDAAgB;aAApB;YACI,OAAO,IAAI,CAAC,iBAAiB,CAAC;QAClC,CAAC;aAED,UAAqB,KAAyB;YAC1C,IAAI,CAAC,iBAAiB,GAAG,KAAK,CAAC;QACnC,CAAC;;;OAJA;IAMD,sBAAI,oDAAgB;aAApB;YACI,OAAO,IAAI,CAAC,iBAAiB,CAAC;QAClC,CAAC;aAED,UAAqB,KAAyB;YAC1C,IAAI,CAAC,iBAAiB,GAAG,KAAK,CAAC;QACnC,CAAC;;;OAJA;IAKL,6BAAC;AAAD,CAAC,AA5BD,IA4BC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import MemberPair from './MemberPair';
|
|
2
|
+
export default class EdgeLanguagePair extends MemberPair {
|
|
3
|
+
private _memberPairs;
|
|
4
|
+
private _isChain;
|
|
5
|
+
get memberPairs(): MemberPair[] | undefined;
|
|
6
|
+
set memberPairs(value: MemberPair[] | undefined);
|
|
7
|
+
get isChain(): boolean | undefined;
|
|
8
|
+
set isChain(value: boolean | undefined);
|
|
9
|
+
}
|
|
@@ -0,0 +1,50 @@
|
|
|
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 MemberPair_1 = __importDefault(require("./MemberPair"));
|
|
22
|
+
var EdgeLanguagePair = /** @class */ (function (_super) {
|
|
23
|
+
__extends(EdgeLanguagePair, _super);
|
|
24
|
+
function EdgeLanguagePair() {
|
|
25
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
26
|
+
}
|
|
27
|
+
Object.defineProperty(EdgeLanguagePair.prototype, "memberPairs", {
|
|
28
|
+
get: function () {
|
|
29
|
+
return this._memberPairs;
|
|
30
|
+
},
|
|
31
|
+
set: function (value) {
|
|
32
|
+
this._memberPairs = value;
|
|
33
|
+
},
|
|
34
|
+
enumerable: false,
|
|
35
|
+
configurable: true
|
|
36
|
+
});
|
|
37
|
+
Object.defineProperty(EdgeLanguagePair.prototype, "isChain", {
|
|
38
|
+
get: function () {
|
|
39
|
+
return this._isChain;
|
|
40
|
+
},
|
|
41
|
+
set: function (value) {
|
|
42
|
+
this._isChain = value;
|
|
43
|
+
},
|
|
44
|
+
enumerable: false,
|
|
45
|
+
configurable: true
|
|
46
|
+
});
|
|
47
|
+
return EdgeLanguagePair;
|
|
48
|
+
}(MemberPair_1.default));
|
|
49
|
+
exports.default = EdgeLanguagePair;
|
|
50
|
+
//# sourceMappingURL=EdgeLanguagePair.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"EdgeLanguagePair.js","sourceRoot":"","sources":["../../../../../src/translation/translate/response/edge/EdgeLanguagePair.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA,4DAAsC;AAEtC;IAA8C,oCAAU;IAAxD;;IAmBA,CAAC;IAfG,sBAAI,yCAAW;aAAf;YACI,OAAO,IAAI,CAAC,YAAY,CAAC;QAC7B,CAAC;aAED,UAAgB,KAA+B;YAC3C,IAAI,CAAC,YAAY,GAAG,KAAK,CAAC;QAC9B,CAAC;;;OAJA;IAMD,sBAAI,qCAAO;aAAX;YACI,OAAO,IAAI,CAAC,QAAQ,CAAC;QACzB,CAAC;aAED,UAAY,KAA0B;YAClC,IAAI,CAAC,QAAQ,GAAG,KAAK,CAAC;QAC1B,CAAC;;;OAJA;IAKL,uBAAC;AAAD,CAAC,AAnBD,CAA8C,oBAAU,GAmBvD"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import Profile from './Profile';
|
|
2
|
+
import Result from './Result';
|
|
3
|
+
import Timestamps from './Timestamps';
|
|
4
|
+
export default class EdgeStatusTranslationResponse {
|
|
5
|
+
private _translationId;
|
|
6
|
+
private _profile;
|
|
7
|
+
private _result;
|
|
8
|
+
private _timestamps;
|
|
9
|
+
private _errorMessage;
|
|
10
|
+
private _state;
|
|
11
|
+
private _substate;
|
|
12
|
+
get translationId(): string | undefined;
|
|
13
|
+
set translationId(value: string | undefined);
|
|
14
|
+
get profile(): Profile | undefined;
|
|
15
|
+
set profile(value: Profile | undefined);
|
|
16
|
+
get result(): Result | undefined;
|
|
17
|
+
set result(value: Result | undefined);
|
|
18
|
+
get timestamps(): Timestamps | undefined;
|
|
19
|
+
set timestamps(value: Timestamps | undefined);
|
|
20
|
+
get errorMessage(): string | undefined;
|
|
21
|
+
set errorMessage(value: string | undefined);
|
|
22
|
+
get state(): string | undefined;
|
|
23
|
+
set state(value: string | undefined);
|
|
24
|
+
get substate(): string | undefined;
|
|
25
|
+
set substate(value: string | undefined);
|
|
26
|
+
}
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
var EdgeStatusTranslationResponse = /** @class */ (function () {
|
|
4
|
+
function EdgeStatusTranslationResponse() {
|
|
5
|
+
}
|
|
6
|
+
Object.defineProperty(EdgeStatusTranslationResponse.prototype, "translationId", {
|
|
7
|
+
get: function () {
|
|
8
|
+
return this._translationId;
|
|
9
|
+
},
|
|
10
|
+
set: function (value) {
|
|
11
|
+
this._translationId = value;
|
|
12
|
+
},
|
|
13
|
+
enumerable: false,
|
|
14
|
+
configurable: true
|
|
15
|
+
});
|
|
16
|
+
Object.defineProperty(EdgeStatusTranslationResponse.prototype, "profile", {
|
|
17
|
+
get: function () {
|
|
18
|
+
return this._profile;
|
|
19
|
+
},
|
|
20
|
+
set: function (value) {
|
|
21
|
+
this._profile = value;
|
|
22
|
+
},
|
|
23
|
+
enumerable: false,
|
|
24
|
+
configurable: true
|
|
25
|
+
});
|
|
26
|
+
Object.defineProperty(EdgeStatusTranslationResponse.prototype, "result", {
|
|
27
|
+
get: function () {
|
|
28
|
+
return this._result;
|
|
29
|
+
},
|
|
30
|
+
set: function (value) {
|
|
31
|
+
this._result = value;
|
|
32
|
+
},
|
|
33
|
+
enumerable: false,
|
|
34
|
+
configurable: true
|
|
35
|
+
});
|
|
36
|
+
Object.defineProperty(EdgeStatusTranslationResponse.prototype, "timestamps", {
|
|
37
|
+
get: function () {
|
|
38
|
+
return this._timestamps;
|
|
39
|
+
},
|
|
40
|
+
set: function (value) {
|
|
41
|
+
this._timestamps = value;
|
|
42
|
+
},
|
|
43
|
+
enumerable: false,
|
|
44
|
+
configurable: true
|
|
45
|
+
});
|
|
46
|
+
Object.defineProperty(EdgeStatusTranslationResponse.prototype, "errorMessage", {
|
|
47
|
+
get: function () {
|
|
48
|
+
return this._errorMessage;
|
|
49
|
+
},
|
|
50
|
+
set: function (value) {
|
|
51
|
+
this._errorMessage = value;
|
|
52
|
+
},
|
|
53
|
+
enumerable: false,
|
|
54
|
+
configurable: true
|
|
55
|
+
});
|
|
56
|
+
Object.defineProperty(EdgeStatusTranslationResponse.prototype, "state", {
|
|
57
|
+
get: function () {
|
|
58
|
+
return this._state;
|
|
59
|
+
},
|
|
60
|
+
set: function (value) {
|
|
61
|
+
this._state = value;
|
|
62
|
+
},
|
|
63
|
+
enumerable: false,
|
|
64
|
+
configurable: true
|
|
65
|
+
});
|
|
66
|
+
Object.defineProperty(EdgeStatusTranslationResponse.prototype, "substate", {
|
|
67
|
+
get: function () {
|
|
68
|
+
return this._substate;
|
|
69
|
+
},
|
|
70
|
+
set: function (value) {
|
|
71
|
+
this._substate = value;
|
|
72
|
+
},
|
|
73
|
+
enumerable: false,
|
|
74
|
+
configurable: true
|
|
75
|
+
});
|
|
76
|
+
return EdgeStatusTranslationResponse;
|
|
77
|
+
}());
|
|
78
|
+
exports.default = EdgeStatusTranslationResponse;
|
|
79
|
+
//# sourceMappingURL=EdgeStatusTranslationResponse.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"EdgeStatusTranslationResponse.js","sourceRoot":"","sources":["../../../../../src/translation/translate/response/edge/EdgeStatusTranslationResponse.ts"],"names":[],"mappings":";;AAIA;IAAA;IAgEA,CAAC;IAvDG,sBAAI,wDAAa;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,kDAAO;aAAX;YACI,OAAO,IAAI,CAAC,QAAQ,CAAC;QACzB,CAAC;aAED,UAAY,KAA0B;YAClC,IAAI,CAAC,QAAQ,GAAG,KAAK,CAAC;QAC1B,CAAC;;;OAJA;IAMD,sBAAI,iDAAM;aAAV;YACI,OAAO,IAAI,CAAC,OAAO,CAAC;QACxB,CAAC;aAED,UAAW,KAAyB;YAChC,IAAI,CAAC,OAAO,GAAG,KAAK,CAAC;QACzB,CAAC;;;OAJA;IAMD,sBAAI,qDAAU;aAAd;YACI,OAAO,IAAI,CAAC,WAAW,CAAC;QAC5B,CAAC;aAED,UAAe,KAA6B;YACxC,IAAI,CAAC,WAAW,GAAG,KAAK,CAAC;QAC7B,CAAC;;;OAJA;IAMD,sBAAI,uDAAY;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,gDAAK;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,mDAAQ;aAAZ;YACI,OAAO,IAAI,CAAC,SAAS,CAAC;QAC1B,CAAC;aAED,UAAa,KAAyB;YAClC,IAAI,CAAC,SAAS,GAAG,KAAK,CAAC;QAC3B,CAAC;;;OAJA;IAKL,oCAAC;AAAD,CAAC,AAhED,IAgEC"}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
export default class MemberPair {
|
|
2
|
+
private _languagePairId;
|
|
3
|
+
private _sourceLanguage;
|
|
4
|
+
private _sourceLanguageId;
|
|
5
|
+
private _targetLanguage;
|
|
6
|
+
private _targetLanguageId;
|
|
7
|
+
private _domain;
|
|
8
|
+
private _platform;
|
|
9
|
+
private _technology;
|
|
10
|
+
private _version;
|
|
11
|
+
get languagePairId(): string | undefined;
|
|
12
|
+
set languagePairId(value: string | undefined);
|
|
13
|
+
get sourceLanguage(): string | undefined;
|
|
14
|
+
set sourceLanguage(value: string | undefined);
|
|
15
|
+
get sourceLanguageId(): string | undefined;
|
|
16
|
+
set sourceLanguageId(value: string | undefined);
|
|
17
|
+
get targetLanguage(): string | undefined;
|
|
18
|
+
set targetLanguage(value: string | undefined);
|
|
19
|
+
get targetLanguageId(): string | undefined;
|
|
20
|
+
set targetLanguageId(value: string | undefined);
|
|
21
|
+
get domain(): string | undefined;
|
|
22
|
+
set domain(value: string | undefined);
|
|
23
|
+
get platform(): string | undefined;
|
|
24
|
+
set platform(value: string | undefined);
|
|
25
|
+
get technology(): string | undefined;
|
|
26
|
+
set technology(value: string | undefined);
|
|
27
|
+
get version(): string | undefined;
|
|
28
|
+
set version(value: string | undefined);
|
|
29
|
+
}
|
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
var MemberPair = /** @class */ (function () {
|
|
4
|
+
function MemberPair() {
|
|
5
|
+
}
|
|
6
|
+
Object.defineProperty(MemberPair.prototype, "languagePairId", {
|
|
7
|
+
get: function () {
|
|
8
|
+
return this._languagePairId;
|
|
9
|
+
},
|
|
10
|
+
set: function (value) {
|
|
11
|
+
this._languagePairId = value;
|
|
12
|
+
},
|
|
13
|
+
enumerable: false,
|
|
14
|
+
configurable: true
|
|
15
|
+
});
|
|
16
|
+
Object.defineProperty(MemberPair.prototype, "sourceLanguage", {
|
|
17
|
+
get: function () {
|
|
18
|
+
return this._sourceLanguage;
|
|
19
|
+
},
|
|
20
|
+
set: function (value) {
|
|
21
|
+
this._sourceLanguage = value;
|
|
22
|
+
},
|
|
23
|
+
enumerable: false,
|
|
24
|
+
configurable: true
|
|
25
|
+
});
|
|
26
|
+
Object.defineProperty(MemberPair.prototype, "sourceLanguageId", {
|
|
27
|
+
get: function () {
|
|
28
|
+
return this._sourceLanguageId;
|
|
29
|
+
},
|
|
30
|
+
set: function (value) {
|
|
31
|
+
this._sourceLanguageId = value;
|
|
32
|
+
},
|
|
33
|
+
enumerable: false,
|
|
34
|
+
configurable: true
|
|
35
|
+
});
|
|
36
|
+
Object.defineProperty(MemberPair.prototype, "targetLanguage", {
|
|
37
|
+
get: function () {
|
|
38
|
+
return this._targetLanguage;
|
|
39
|
+
},
|
|
40
|
+
set: function (value) {
|
|
41
|
+
this._targetLanguage = value;
|
|
42
|
+
},
|
|
43
|
+
enumerable: false,
|
|
44
|
+
configurable: true
|
|
45
|
+
});
|
|
46
|
+
Object.defineProperty(MemberPair.prototype, "targetLanguageId", {
|
|
47
|
+
get: function () {
|
|
48
|
+
return this._targetLanguageId;
|
|
49
|
+
},
|
|
50
|
+
set: function (value) {
|
|
51
|
+
this._targetLanguageId = value;
|
|
52
|
+
},
|
|
53
|
+
enumerable: false,
|
|
54
|
+
configurable: true
|
|
55
|
+
});
|
|
56
|
+
Object.defineProperty(MemberPair.prototype, "domain", {
|
|
57
|
+
get: function () {
|
|
58
|
+
return this._domain;
|
|
59
|
+
},
|
|
60
|
+
set: function (value) {
|
|
61
|
+
this._domain = value;
|
|
62
|
+
},
|
|
63
|
+
enumerable: false,
|
|
64
|
+
configurable: true
|
|
65
|
+
});
|
|
66
|
+
Object.defineProperty(MemberPair.prototype, "platform", {
|
|
67
|
+
get: function () {
|
|
68
|
+
return this._platform;
|
|
69
|
+
},
|
|
70
|
+
set: function (value) {
|
|
71
|
+
this._platform = value;
|
|
72
|
+
},
|
|
73
|
+
enumerable: false,
|
|
74
|
+
configurable: true
|
|
75
|
+
});
|
|
76
|
+
Object.defineProperty(MemberPair.prototype, "technology", {
|
|
77
|
+
get: function () {
|
|
78
|
+
return this._technology;
|
|
79
|
+
},
|
|
80
|
+
set: function (value) {
|
|
81
|
+
this._technology = value;
|
|
82
|
+
},
|
|
83
|
+
enumerable: false,
|
|
84
|
+
configurable: true
|
|
85
|
+
});
|
|
86
|
+
Object.defineProperty(MemberPair.prototype, "version", {
|
|
87
|
+
get: function () {
|
|
88
|
+
return this._version;
|
|
89
|
+
},
|
|
90
|
+
set: function (value) {
|
|
91
|
+
this._version = value;
|
|
92
|
+
},
|
|
93
|
+
enumerable: false,
|
|
94
|
+
configurable: true
|
|
95
|
+
});
|
|
96
|
+
return MemberPair;
|
|
97
|
+
}());
|
|
98
|
+
exports.default = MemberPair;
|
|
99
|
+
//# sourceMappingURL=MemberPair.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"MemberPair.js","sourceRoot":"","sources":["../../../../../src/translation/translate/response/edge/MemberPair.ts"],"names":[],"mappings":";;AAAA;IAAA;IAwFA,CAAC;IAvEG,sBAAI,sCAAc;aAAlB;YACI,OAAO,IAAI,CAAC,eAAe,CAAC;QAChC,CAAC;aAED,UAAmB,KAAyB;YACxC,IAAI,CAAC,eAAe,GAAG,KAAK,CAAC;QACjC,CAAC;;;OAJA;IAMD,sBAAI,sCAAc;aAAlB;YACI,OAAO,IAAI,CAAC,eAAe,CAAC;QAChC,CAAC;aAED,UAAmB,KAAyB;YACxC,IAAI,CAAC,eAAe,GAAG,KAAK,CAAC;QACjC,CAAC;;;OAJA;IAMD,sBAAI,wCAAgB;aAApB;YACI,OAAO,IAAI,CAAC,iBAAiB,CAAC;QAClC,CAAC;aAED,UAAqB,KAAyB;YAC1C,IAAI,CAAC,iBAAiB,GAAG,KAAK,CAAC;QACnC,CAAC;;;OAJA;IAMD,sBAAI,sCAAc;aAAlB;YACI,OAAO,IAAI,CAAC,eAAe,CAAC;QAChC,CAAC;aAED,UAAmB,KAAyB;YACxC,IAAI,CAAC,eAAe,GAAG,KAAK,CAAC;QACjC,CAAC;;;OAJA;IAMD,sBAAI,wCAAgB;aAApB;YACI,OAAO,IAAI,CAAC,iBAAiB,CAAC;QAClC,CAAC;aAED,UAAqB,KAAyB;YAC1C,IAAI,CAAC,iBAAiB,GAAG,KAAK,CAAC;QACnC,CAAC;;;OAJA;IAMD,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,gCAAQ;aAAZ;YACI,OAAO,IAAI,CAAC,SAAS,CAAC;QAC1B,CAAC;aAED,UAAa,KAAyB;YAClC,IAAI,CAAC,SAAS,GAAG,KAAK,CAAC;QAC3B,CAAC;;;OAJA;IAMD,sBAAI,kCAAU;aAAd;YACI,OAAO,IAAI,CAAC,WAAW,CAAC;QAC5B,CAAC;aAED,UAAe,KAAyB;YACpC,IAAI,CAAC,WAAW,GAAG,KAAK,CAAC;QAC7B,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;IAKL,iBAAC;AAAD,CAAC,AAxFD,IAwFC"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
export default class Profile {
|
|
2
|
+
private _username;
|
|
3
|
+
private _title;
|
|
4
|
+
private _languagePairId;
|
|
5
|
+
private _encoding;
|
|
6
|
+
private _inputFormat;
|
|
7
|
+
private _dictionaryIds;
|
|
8
|
+
private _outputFormat;
|
|
9
|
+
private _translationMethod;
|
|
10
|
+
get username(): string | undefined;
|
|
11
|
+
set username(value: string | undefined);
|
|
12
|
+
get title(): string | undefined;
|
|
13
|
+
set title(value: string | undefined);
|
|
14
|
+
get languagePairId(): string | undefined;
|
|
15
|
+
set languagePairId(value: string | undefined);
|
|
16
|
+
get encoding(): string | undefined;
|
|
17
|
+
set encoding(value: string | undefined);
|
|
18
|
+
get inputFormat(): string | undefined;
|
|
19
|
+
set inputFormat(value: string | undefined);
|
|
20
|
+
get dictionaryIds(): string[] | undefined;
|
|
21
|
+
set dictionaryIds(value: string[] | undefined);
|
|
22
|
+
get outputFormat(): string | undefined;
|
|
23
|
+
set outputFormat(value: string | undefined);
|
|
24
|
+
get translationMethod(): string | undefined;
|
|
25
|
+
set translationMethod(value: string | undefined);
|
|
26
|
+
}
|