tencentcloud-sdk-nodejs-intl-en 3.0.1389 → 3.0.1391
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.
|
@@ -16,27 +16,35 @@
|
|
|
16
16
|
*/
|
|
17
17
|
const models = require("./models");
|
|
18
18
|
const AbstractClient = require('../../common/abstract_client')
|
|
19
|
-
const
|
|
19
|
+
const GlossaryEntryInput = models.GlossaryEntryInput;
|
|
20
|
+
const DeleteGlossaryEntryInput = models.DeleteGlossaryEntryInput;
|
|
21
|
+
const DescribeGlossariesResponse = models.DescribeGlossariesResponse;
|
|
22
|
+
const DeleteGlossaryResponse = models.DeleteGlossaryResponse;
|
|
23
|
+
const DeleteGlossaryEntriesResponse = models.DeleteGlossaryEntriesResponse;
|
|
24
|
+
const GlossaryItem = models.GlossaryItem;
|
|
25
|
+
const ModifyApiKeyInfoResponse = models.ModifyApiKeyInfoResponse;
|
|
20
26
|
const CreateGlossaryRequest = models.CreateGlossaryRequest;
|
|
21
27
|
const DescribeGlossaryEntriesResponse = models.DescribeGlossaryEntriesResponse;
|
|
22
28
|
const DeleteGlossaryRequest = models.DeleteGlossaryRequest;
|
|
23
29
|
const DescribeGlossaryEntriesRequest = models.DescribeGlossaryEntriesRequest;
|
|
24
|
-
const DescribeGlossariesRequest = models.DescribeGlossariesRequest;
|
|
25
|
-
const RequestFilter = models.RequestFilter;
|
|
26
30
|
const DeleteGlossaryEntriesRequest = models.DeleteGlossaryEntriesRequest;
|
|
27
31
|
const CreateGlossaryEntriesResponse = models.CreateGlossaryEntriesResponse;
|
|
28
|
-
const
|
|
29
|
-
const GlossaryEntryItem = models.GlossaryEntryItem;
|
|
30
|
-
const DeleteGlossaryResponse = models.DeleteGlossaryResponse;
|
|
31
|
-
const CreateGlossaryEntriesRequest = models.CreateGlossaryEntriesRequest;
|
|
32
|
-
const RequestSort = models.RequestSort;
|
|
33
|
-
const ModifyGlossaryEntriesResponse = models.ModifyGlossaryEntriesResponse;
|
|
32
|
+
const DeleteApiKeyResponse = models.DeleteApiKeyResponse;
|
|
34
33
|
const ModifyGlossaryEntryInput = models.ModifyGlossaryEntryInput;
|
|
35
|
-
const
|
|
36
|
-
const DescribeGlossariesResponse = models.DescribeGlossariesResponse;
|
|
37
|
-
const GlossaryItem = models.GlossaryItem;
|
|
38
|
-
const GlossaryEntryInput = models.GlossaryEntryInput;
|
|
34
|
+
const ModifyApiKeyInfoRequest = models.ModifyApiKeyInfoRequest;
|
|
39
35
|
const CreateGlossaryResponse = models.CreateGlossaryResponse;
|
|
36
|
+
const ModifyGlossaryEntriesRequest = models.ModifyGlossaryEntriesRequest;
|
|
37
|
+
const DescribeGlossariesRequest = models.DescribeGlossariesRequest;
|
|
38
|
+
const ModifyApiKeyStatusRequest = models.ModifyApiKeyStatusRequest;
|
|
39
|
+
const CreateGlossaryEntriesRequest = models.CreateGlossaryEntriesRequest;
|
|
40
|
+
const GlossaryEntryItem = models.GlossaryEntryItem;
|
|
41
|
+
const ModifyApiKeyStatusResponse = models.ModifyApiKeyStatusResponse;
|
|
42
|
+
const CreateApiKeyResponse = models.CreateApiKeyResponse;
|
|
43
|
+
const DeleteApiKeyRequest = models.DeleteApiKeyRequest;
|
|
44
|
+
const RequestFilter = models.RequestFilter;
|
|
45
|
+
const ModifyGlossaryEntriesResponse = models.ModifyGlossaryEntriesResponse;
|
|
46
|
+
const RequestSort = models.RequestSort;
|
|
47
|
+
const CreateApiKeyRequest = models.CreateApiKeyRequest;
|
|
40
48
|
|
|
41
49
|
|
|
42
50
|
/**
|
|
@@ -62,6 +70,17 @@ Delete terminology entries in batches under the specified Termbase. You can dele
|
|
|
62
70
|
this.request("DeleteGlossaryEntries", req, resp, cb);
|
|
63
71
|
}
|
|
64
72
|
|
|
73
|
+
/**
|
|
74
|
+
* This API is used to enable or disable the status of an api key.
|
|
75
|
+
* @param {ModifyApiKeyStatusRequest} req
|
|
76
|
+
* @param {function(string, ModifyApiKeyStatusResponse):void} cb
|
|
77
|
+
* @public
|
|
78
|
+
*/
|
|
79
|
+
ModifyApiKeyStatus(req, cb) {
|
|
80
|
+
let resp = new ModifyApiKeyStatusResponse();
|
|
81
|
+
this.request("ModifyApiKeyStatus", req, resp, cb);
|
|
82
|
+
}
|
|
83
|
+
|
|
65
84
|
/**
|
|
66
85
|
* Create terminology entries in batches.
|
|
67
86
|
|
|
@@ -89,16 +108,42 @@ This API is used to batch modify terminology entries in a designated Termbase. Y
|
|
|
89
108
|
}
|
|
90
109
|
|
|
91
110
|
/**
|
|
92
|
-
* Query the terminology
|
|
111
|
+
* Query the terminology entry list.
|
|
93
112
|
|
|
94
|
-
Query
|
|
95
|
-
* @param {
|
|
96
|
-
* @param {function(string,
|
|
113
|
+
Query specified entries in a Termbase. Support pagination.
|
|
114
|
+
* @param {DescribeGlossaryEntriesRequest} req
|
|
115
|
+
* @param {function(string, DescribeGlossaryEntriesResponse):void} cb
|
|
97
116
|
* @public
|
|
98
117
|
*/
|
|
99
|
-
|
|
100
|
-
let resp = new
|
|
101
|
-
this.request("
|
|
118
|
+
DescribeGlossaryEntries(req, cb) {
|
|
119
|
+
let resp = new DescribeGlossaryEntriesResponse();
|
|
120
|
+
this.request("DescribeGlossaryEntries", req, resp, cb);
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
/**
|
|
124
|
+
* Refresh API key information.
|
|
125
|
+
|
|
126
|
+
This API is used to update the remark information, IP allowlist and Token quota of an API key (recommended to use QuotaDesired parameter for quota modification). Passing no optional parameters means no modification.
|
|
127
|
+
* @param {ModifyApiKeyInfoRequest} req
|
|
128
|
+
* @param {function(string, ModifyApiKeyInfoResponse):void} cb
|
|
129
|
+
* @public
|
|
130
|
+
*/
|
|
131
|
+
ModifyApiKeyInfo(req, cb) {
|
|
132
|
+
let resp = new ModifyApiKeyInfoResponse();
|
|
133
|
+
this.request("ModifyApiKeyInfo", req, resp, cb);
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
/**
|
|
137
|
+
* Create an API key.
|
|
138
|
+
|
|
139
|
+
Create a new API key. Upon successful creation, return the API Key ID. Specify the platform kind, binding method, and initial state.
|
|
140
|
+
* @param {CreateApiKeyRequest} req
|
|
141
|
+
* @param {function(string, CreateApiKeyResponse):void} cb
|
|
142
|
+
* @public
|
|
143
|
+
*/
|
|
144
|
+
CreateApiKey(req, cb) {
|
|
145
|
+
let resp = new CreateApiKeyResponse();
|
|
146
|
+
this.request("CreateApiKey", req, resp, cb);
|
|
102
147
|
}
|
|
103
148
|
|
|
104
149
|
/**
|
|
@@ -128,16 +173,27 @@ This API is used to delete specified Termbase and ALL terminology entries under
|
|
|
128
173
|
}
|
|
129
174
|
|
|
130
175
|
/**
|
|
131
|
-
*
|
|
176
|
+
* This API is used to delete specified api keys and clean up associated model binding relationships.
|
|
177
|
+
* @param {DeleteApiKeyRequest} req
|
|
178
|
+
* @param {function(string, DeleteApiKeyResponse):void} cb
|
|
179
|
+
* @public
|
|
180
|
+
*/
|
|
181
|
+
DeleteApiKey(req, cb) {
|
|
182
|
+
let resp = new DeleteApiKeyResponse();
|
|
183
|
+
this.request("DeleteApiKey", req, resp, cb);
|
|
184
|
+
}
|
|
132
185
|
|
|
133
|
-
|
|
134
|
-
*
|
|
135
|
-
|
|
186
|
+
/**
|
|
187
|
+
* Query the terminology repository list.
|
|
188
|
+
|
|
189
|
+
Query the Termbase list under this application. Support paginate, filter, and sort.
|
|
190
|
+
* @param {DescribeGlossariesRequest} req
|
|
191
|
+
* @param {function(string, DescribeGlossariesResponse):void} cb
|
|
136
192
|
* @public
|
|
137
193
|
*/
|
|
138
|
-
|
|
139
|
-
let resp = new
|
|
140
|
-
this.request("
|
|
194
|
+
DescribeGlossaries(req, cb) {
|
|
195
|
+
let resp = new DescribeGlossariesResponse();
|
|
196
|
+
this.request("DescribeGlossaries", req, resp, cb);
|
|
141
197
|
}
|
|
142
198
|
|
|
143
199
|
|