tencentcloud-sdk-nodejs-intl-en 3.0.1426 → 3.0.1428
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/package.json +2 -2
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/faceid/v20180301/models.js +37 -14
- package/tencentcloud/intlpartnersmgt/v20220928/intlpartnersmgt_client.js +3 -4
- package/tencentcloud/intlpartnersmgt/v20220928/models.js +112 -125
- package/tencentcloud/kms/v20190118/models.js +27 -27
- package/tencentcloud/mdc/v20200828/mdc_client.js +2 -0
- package/tencentcloud/mdc/v20200828/models.js +163 -6
- package/tencentcloud/tokenhub/v20260322/models.js +2529 -510
- package/tencentcloud/tokenhub/v20260322/tokenhub_client.js +247 -43
|
@@ -16,16 +16,28 @@
|
|
|
16
16
|
*/
|
|
17
17
|
const models = require("./models");
|
|
18
18
|
const AbstractClient = require('../../common/abstract_client')
|
|
19
|
+
const DescribeTokenPlanListResponse = models.DescribeTokenPlanListResponse;
|
|
19
20
|
const GlossaryItem = models.GlossaryItem;
|
|
20
21
|
const BindingItem = models.BindingItem;
|
|
22
|
+
const DescribeTokenPlanApiKeySecretResponse = models.DescribeTokenPlanApiKeySecretResponse;
|
|
23
|
+
const TokenPlanApiKeyListItem = models.TokenPlanApiKeyListItem;
|
|
24
|
+
const CreateApiKeysResultItem = models.CreateApiKeysResultItem;
|
|
21
25
|
const GlossaryEntryInput = models.GlossaryEntryInput;
|
|
26
|
+
const ModifyTokenPlanApiKeySecretResponse = models.ModifyTokenPlanApiKeySecretResponse;
|
|
27
|
+
const DescribeTokenPlanApiKeyListResponse = models.DescribeTokenPlanApiKeyListResponse;
|
|
22
28
|
const DeleteGlossaryEntryInput = models.DeleteGlossaryEntryInput;
|
|
29
|
+
const DescribeTokenPlanRequest = models.DescribeTokenPlanRequest;
|
|
23
30
|
const GlossaryEntryItem = models.GlossaryEntryItem;
|
|
24
31
|
const DeleteGlossaryResponse = models.DeleteGlossaryResponse;
|
|
25
|
-
const
|
|
32
|
+
const DescribeTokenPlanApiKeyResponse = models.DescribeTokenPlanApiKeyResponse;
|
|
33
|
+
const ModifyTokenPlanApiKeySecretRequest = models.ModifyTokenPlanApiKeySecretRequest;
|
|
34
|
+
const SubPackageBalance = models.SubPackageBalance;
|
|
26
35
|
const DeleteGlossaryEntriesResponse = models.DeleteGlossaryEntriesResponse;
|
|
27
36
|
const DescribeApiKeyListResponse = models.DescribeApiKeyListResponse;
|
|
37
|
+
const RenewTokenPlanTeamOrderResponse = models.RenewTokenPlanTeamOrderResponse;
|
|
38
|
+
const TokenPlanApiKeyInfo = models.TokenPlanApiKeyInfo;
|
|
28
39
|
const ModifyApiKeyInfoResponse = models.ModifyApiKeyInfoResponse;
|
|
40
|
+
const ModifyTokenPlanApiKeyResponse = models.ModifyTokenPlanApiKeyResponse;
|
|
29
41
|
const DescribeApiKeyListRequest = models.DescribeApiKeyListRequest;
|
|
30
42
|
const CreateGlossaryRequest = models.CreateGlossaryRequest;
|
|
31
43
|
const DescribeGlossaryEntriesResponse = models.DescribeGlossaryEntriesResponse;
|
|
@@ -33,24 +45,47 @@ const DeleteGlossaryRequest = models.DeleteGlossaryRequest;
|
|
|
33
45
|
const DescribeGlossaryEntriesRequest = models.DescribeGlossaryEntriesRequest;
|
|
34
46
|
const DeleteGlossaryEntriesRequest = models.DeleteGlossaryEntriesRequest;
|
|
35
47
|
const CreateGlossaryEntriesResponse = models.CreateGlossaryEntriesResponse;
|
|
48
|
+
const CreateTokenPlanApiKeysResponse = models.CreateTokenPlanApiKeysResponse;
|
|
49
|
+
const DescribeTokenPlanApiKeyRequest = models.DescribeTokenPlanApiKeyRequest;
|
|
50
|
+
const DescribeApiKeyRequest = models.DescribeApiKeyRequest;
|
|
36
51
|
const DeleteApiKeyResponse = models.DeleteApiKeyResponse;
|
|
37
52
|
const ModifyGlossaryEntryInput = models.ModifyGlossaryEntryInput;
|
|
53
|
+
const ModifyTokenPlanApiKeyRequest = models.ModifyTokenPlanApiKeyRequest;
|
|
54
|
+
const TokenSummaryBillingItem = models.TokenSummaryBillingItem;
|
|
55
|
+
const DescribeTokenPlanApiKeyUsageDetailResponse = models.DescribeTokenPlanApiKeyUsageDetailResponse;
|
|
56
|
+
const RequestSort = models.RequestSort;
|
|
38
57
|
const ModifyApiKeyInfoRequest = models.ModifyApiKeyInfoRequest;
|
|
58
|
+
const TokenPlanListItem = models.TokenPlanListItem;
|
|
39
59
|
const CreateGlossaryResponse = models.CreateGlossaryResponse;
|
|
60
|
+
const CreateTokenPlanTeamOrderAndBuyRequest = models.CreateTokenPlanTeamOrderAndBuyRequest;
|
|
40
61
|
const ModifyGlossaryEntriesRequest = models.ModifyGlossaryEntriesRequest;
|
|
62
|
+
const RenewTokenPlanTeamOrderRequest = models.RenewTokenPlanTeamOrderRequest;
|
|
41
63
|
const DescribeGlossariesRequest = models.DescribeGlossariesRequest;
|
|
42
|
-
const
|
|
64
|
+
const DeleteTokenPlanApiKeyResponse = models.DeleteTokenPlanApiKeyResponse;
|
|
65
|
+
const DescribeTokenPlanApiKeyUsageDetailRequest = models.DescribeTokenPlanApiKeyUsageDetailRequest;
|
|
66
|
+
const UpgradeTokenPlanTeamOrderRequest = models.UpgradeTokenPlanTeamOrderRequest;
|
|
43
67
|
const ModifyApiKeyStatusRequest = models.ModifyApiKeyStatusRequest;
|
|
68
|
+
const QuotaInfo = models.QuotaInfo;
|
|
44
69
|
const CreateGlossaryEntriesRequest = models.CreateGlossaryEntriesRequest;
|
|
45
70
|
const ApiKeyDetail = models.ApiKeyDetail;
|
|
46
71
|
const DescribeGlossariesResponse = models.DescribeGlossariesResponse;
|
|
47
72
|
const ModifyApiKeyStatusResponse = models.ModifyApiKeyStatusResponse;
|
|
73
|
+
const BatchCreateFailedItem = models.BatchCreateFailedItem;
|
|
48
74
|
const CreateApiKeyResponse = models.CreateApiKeyResponse;
|
|
75
|
+
const TokenPlanPackageInfo = models.TokenPlanPackageInfo;
|
|
76
|
+
const CreateTokenPlanTeamOrderAndBuyResponse = models.CreateTokenPlanTeamOrderAndBuyResponse;
|
|
49
77
|
const DeleteApiKeyRequest = models.DeleteApiKeyRequest;
|
|
50
78
|
const RequestFilter = models.RequestFilter;
|
|
79
|
+
const TokenSummary = models.TokenSummary;
|
|
80
|
+
const DescribeTokenPlanListRequest = models.DescribeTokenPlanListRequest;
|
|
81
|
+
const UpgradeTokenPlanTeamOrderResponse = models.UpgradeTokenPlanTeamOrderResponse;
|
|
51
82
|
const ModifyGlossaryEntriesResponse = models.ModifyGlossaryEntriesResponse;
|
|
52
|
-
const
|
|
83
|
+
const DescribeTokenPlanResponse = models.DescribeTokenPlanResponse;
|
|
84
|
+
const CreateTokenPlanApiKeysRequest = models.CreateTokenPlanApiKeysRequest;
|
|
85
|
+
const DeleteTokenPlanApiKeyRequest = models.DeleteTokenPlanApiKeyRequest;
|
|
53
86
|
const DescribeApiKeyResponse = models.DescribeApiKeyResponse;
|
|
87
|
+
const DescribeTokenPlanApiKeyListRequest = models.DescribeTokenPlanApiKeyListRequest;
|
|
88
|
+
const DescribeTokenPlanApiKeySecretRequest = models.DescribeTokenPlanApiKeySecretRequest;
|
|
54
89
|
const CreateApiKeyRequest = models.CreateApiKeyRequest;
|
|
55
90
|
|
|
56
91
|
|
|
@@ -64,6 +99,32 @@ class TokenhubClient extends AbstractClient {
|
|
|
64
99
|
super("tokenhub.intl.tencentcloudapi.com", "2026-03-22", credential, region, profile);
|
|
65
100
|
}
|
|
66
101
|
|
|
102
|
+
/**
|
|
103
|
+
* Renew a package.
|
|
104
|
+
|
|
105
|
+
Initiate a renewal order for an existing Token Plan package and complete payment. Return the order ID and associated sub-orders and resource information upon success.
|
|
106
|
+
* @param {RenewTokenPlanTeamOrderRequest} req
|
|
107
|
+
* @param {function(string, RenewTokenPlanTeamOrderResponse):void} cb
|
|
108
|
+
* @public
|
|
109
|
+
*/
|
|
110
|
+
RenewTokenPlanTeamOrder(req, cb) {
|
|
111
|
+
let resp = new RenewTokenPlanTeamOrderResponse();
|
|
112
|
+
this.request("RenewTokenPlanTeamOrder", req, resp, cb);
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
/**
|
|
116
|
+
* Purchase a package (This API is also used to reactivate and renew expired packages. The teamId of the expired package is required. After the renewal is successful, the total cycle count of the package will include historical cycles. The actual effective cycle of the package is determined by the effective time and expiration time.)
|
|
117
|
+
|
|
118
|
+
Initiate an order for a TokenPlan package and complete payment. Return the order ID and associated sub-orders and resource information upon success.
|
|
119
|
+
* @param {CreateTokenPlanTeamOrderAndBuyRequest} req
|
|
120
|
+
* @param {function(string, CreateTokenPlanTeamOrderAndBuyResponse):void} cb
|
|
121
|
+
* @public
|
|
122
|
+
*/
|
|
123
|
+
CreateTokenPlanTeamOrderAndBuy(req, cb) {
|
|
124
|
+
let resp = new CreateTokenPlanTeamOrderAndBuyResponse();
|
|
125
|
+
this.request("CreateTokenPlanTeamOrderAndBuy", req, resp, cb);
|
|
126
|
+
}
|
|
127
|
+
|
|
67
128
|
/**
|
|
68
129
|
* Query API key list.
|
|
69
130
|
|
|
@@ -78,27 +139,42 @@ Query the API key list of the current user with key values in masking display. S
|
|
|
78
139
|
}
|
|
79
140
|
|
|
80
141
|
/**
|
|
81
|
-
*
|
|
142
|
+
* Query TokenPlan APIKey details.
|
|
82
143
|
|
|
83
|
-
|
|
84
|
-
* @param {
|
|
85
|
-
* @param {function(string,
|
|
144
|
+
Return the complete APIKey information (including the plaintext key) and the remaining quota of the sub-quota package.
|
|
145
|
+
* @param {DescribeTokenPlanApiKeyRequest} req
|
|
146
|
+
* @param {function(string, DescribeTokenPlanApiKeyResponse):void} cb
|
|
86
147
|
* @public
|
|
87
148
|
*/
|
|
88
|
-
|
|
89
|
-
let resp = new
|
|
90
|
-
this.request("
|
|
149
|
+
DescribeTokenPlanApiKey(req, cb) {
|
|
150
|
+
let resp = new DescribeTokenPlanApiKeyResponse();
|
|
151
|
+
this.request("DescribeTokenPlanApiKey", req, resp, cb);
|
|
91
152
|
}
|
|
92
153
|
|
|
93
154
|
/**
|
|
94
|
-
*
|
|
95
|
-
|
|
96
|
-
|
|
155
|
+
* Batch create TokenPlan API Keys.
|
|
156
|
+
|
|
157
|
+
Import a name prefix and quantity to automatically generate names in the `{Api Key Name}-{serial number}` format (for example, aaa-1, aaa-2). Duplicate names are allowed. Partial success is supported for up to 100 entries.
|
|
158
|
+
* @param {CreateTokenPlanApiKeysRequest} req
|
|
159
|
+
* @param {function(string, CreateTokenPlanApiKeysResponse):void} cb
|
|
97
160
|
* @public
|
|
98
161
|
*/
|
|
99
|
-
|
|
100
|
-
let resp = new
|
|
101
|
-
this.request("
|
|
162
|
+
CreateTokenPlanApiKeys(req, cb) {
|
|
163
|
+
let resp = new CreateTokenPlanApiKeysResponse();
|
|
164
|
+
this.request("CreateTokenPlanApiKeys", req, resp, cb);
|
|
165
|
+
}
|
|
166
|
+
|
|
167
|
+
/**
|
|
168
|
+
* Query the list of Token Plan API keys.
|
|
169
|
+
|
|
170
|
+
Returns the API key list under a specified package. Keys are masked. Root accounts can view all keys, while sub-accounts can only view keys created by themselves.
|
|
171
|
+
* @param {DescribeTokenPlanApiKeyListRequest} req
|
|
172
|
+
* @param {function(string, DescribeTokenPlanApiKeyListResponse):void} cb
|
|
173
|
+
* @public
|
|
174
|
+
*/
|
|
175
|
+
DescribeTokenPlanApiKeyList(req, cb) {
|
|
176
|
+
let resp = new DescribeTokenPlanApiKeyListResponse();
|
|
177
|
+
this.request("DescribeTokenPlanApiKeyList", req, resp, cb);
|
|
102
178
|
}
|
|
103
179
|
|
|
104
180
|
/**
|
|
@@ -115,16 +191,42 @@ Create terminology entries in batches under the designated Termbase. You can cre
|
|
|
115
191
|
}
|
|
116
192
|
|
|
117
193
|
/**
|
|
118
|
-
*
|
|
194
|
+
* Query the Token Plan APIKey call detail.
|
|
119
195
|
|
|
120
|
-
This API is used to
|
|
121
|
-
* @param {
|
|
122
|
-
* @param {function(string,
|
|
196
|
+
This API is used to query call details under a package from CLS log service, filter by team_id, and support cursor-based pagination.
|
|
197
|
+
* @param {DescribeTokenPlanApiKeyUsageDetailRequest} req
|
|
198
|
+
* @param {function(string, DescribeTokenPlanApiKeyUsageDetailResponse):void} cb
|
|
123
199
|
* @public
|
|
124
200
|
*/
|
|
125
|
-
|
|
126
|
-
let resp = new
|
|
127
|
-
this.request("
|
|
201
|
+
DescribeTokenPlanApiKeyUsageDetail(req, cb) {
|
|
202
|
+
let resp = new DescribeTokenPlanApiKeyUsageDetailResponse();
|
|
203
|
+
this.request("DescribeTokenPlanApiKeyUsageDetail", req, resp, cb);
|
|
204
|
+
}
|
|
205
|
+
|
|
206
|
+
/**
|
|
207
|
+
* Query the terminology repository list.
|
|
208
|
+
|
|
209
|
+
Query the Termbase list under this application. Support paginate, filter, and sort.
|
|
210
|
+
* @param {DescribeGlossariesRequest} req
|
|
211
|
+
* @param {function(string, DescribeGlossariesResponse):void} cb
|
|
212
|
+
* @public
|
|
213
|
+
*/
|
|
214
|
+
DescribeGlossaries(req, cb) {
|
|
215
|
+
let resp = new DescribeGlossariesResponse();
|
|
216
|
+
this.request("DescribeGlossaries", req, resp, cb);
|
|
217
|
+
}
|
|
218
|
+
|
|
219
|
+
/**
|
|
220
|
+
* Refresh API key information.
|
|
221
|
+
|
|
222
|
+
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.
|
|
223
|
+
* @param {ModifyApiKeyInfoRequest} req
|
|
224
|
+
* @param {function(string, ModifyApiKeyInfoResponse):void} cb
|
|
225
|
+
* @public
|
|
226
|
+
*/
|
|
227
|
+
ModifyApiKeyInfo(req, cb) {
|
|
228
|
+
let resp = new ModifyApiKeyInfoResponse();
|
|
229
|
+
this.request("ModifyApiKeyInfo", req, resp, cb);
|
|
128
230
|
}
|
|
129
231
|
|
|
130
232
|
/**
|
|
@@ -141,27 +243,40 @@ Query specified entries in a Termbase. Support pagination.
|
|
|
141
243
|
}
|
|
142
244
|
|
|
143
245
|
/**
|
|
144
|
-
*
|
|
145
|
-
|
|
146
|
-
|
|
246
|
+
* Delete terminology entries in batches.
|
|
247
|
+
|
|
248
|
+
Delete terminology entries in batches under the specified Termbase. You can delete up to 200 entries at a time. If the Termbase is nonexistent or NOT_IN this application, it returns a ResourceNotFound error.
|
|
249
|
+
* @param {DeleteGlossaryEntriesRequest} req
|
|
250
|
+
* @param {function(string, DeleteGlossaryEntriesResponse):void} cb
|
|
147
251
|
* @public
|
|
148
252
|
*/
|
|
149
|
-
|
|
150
|
-
let resp = new
|
|
151
|
-
this.request("
|
|
253
|
+
DeleteGlossaryEntries(req, cb) {
|
|
254
|
+
let resp = new DeleteGlossaryEntriesResponse();
|
|
255
|
+
this.request("DeleteGlossaryEntries", req, resp, cb);
|
|
152
256
|
}
|
|
153
257
|
|
|
154
258
|
/**
|
|
155
|
-
*
|
|
259
|
+
* This API is used to enable or disable the status of an api key.
|
|
260
|
+
* @param {ModifyApiKeyStatusRequest} req
|
|
261
|
+
* @param {function(string, ModifyApiKeyStatusResponse):void} cb
|
|
262
|
+
* @public
|
|
263
|
+
*/
|
|
264
|
+
ModifyApiKeyStatus(req, cb) {
|
|
265
|
+
let resp = new ModifyApiKeyStatusResponse();
|
|
266
|
+
this.request("ModifyApiKeyStatus", req, resp, cb);
|
|
267
|
+
}
|
|
156
268
|
|
|
157
|
-
|
|
158
|
-
*
|
|
159
|
-
|
|
269
|
+
/**
|
|
270
|
+
* Upgrade the package.
|
|
271
|
+
|
|
272
|
+
Initiate an upgrade order for an existing Token Plan package and complete payment to expand point or token limits. Return the order ID and associated sub-orders and resource information upon success. The new limit must be greater than the current limit.
|
|
273
|
+
* @param {UpgradeTokenPlanTeamOrderRequest} req
|
|
274
|
+
* @param {function(string, UpgradeTokenPlanTeamOrderResponse):void} cb
|
|
160
275
|
* @public
|
|
161
276
|
*/
|
|
162
|
-
|
|
163
|
-
let resp = new
|
|
164
|
-
this.request("
|
|
277
|
+
UpgradeTokenPlanTeamOrder(req, cb) {
|
|
278
|
+
let resp = new UpgradeTokenPlanTeamOrderResponse();
|
|
279
|
+
this.request("UpgradeTokenPlanTeamOrder", req, resp, cb);
|
|
165
280
|
}
|
|
166
281
|
|
|
167
282
|
/**
|
|
@@ -203,6 +318,95 @@ This API is used to delete specified Termbase and ALL terminology entries under
|
|
|
203
318
|
this.request("DeleteGlossary", req, resp, cb);
|
|
204
319
|
}
|
|
205
320
|
|
|
321
|
+
/**
|
|
322
|
+
* Reset the TokenPlan API Key.
|
|
323
|
+
|
|
324
|
+
Regenerate the key value. The key version increments and the old key expires immediately. The API Key ID remains unchanged. After resetting, the new key can be queried through DescribeTokenPlanApiKeySecret.
|
|
325
|
+
* @param {ModifyTokenPlanApiKeySecretRequest} req
|
|
326
|
+
* @param {function(string, ModifyTokenPlanApiKeySecretResponse):void} cb
|
|
327
|
+
* @public
|
|
328
|
+
*/
|
|
329
|
+
ModifyTokenPlanApiKeySecret(req, cb) {
|
|
330
|
+
let resp = new ModifyTokenPlanApiKeySecretResponse();
|
|
331
|
+
this.request("ModifyTokenPlanApiKeySecret", req, resp, cb);
|
|
332
|
+
}
|
|
333
|
+
|
|
334
|
+
/**
|
|
335
|
+
* Query the TokenPlan package details.
|
|
336
|
+
|
|
337
|
+
Return the package basic info and the remaining quota of the package.
|
|
338
|
+
* @param {DescribeTokenPlanRequest} req
|
|
339
|
+
* @param {function(string, DescribeTokenPlanResponse):void} cb
|
|
340
|
+
* @public
|
|
341
|
+
*/
|
|
342
|
+
DescribeTokenPlan(req, cb) {
|
|
343
|
+
let resp = new DescribeTokenPlanResponse();
|
|
344
|
+
this.request("DescribeTokenPlan", req, resp, cb);
|
|
345
|
+
}
|
|
346
|
+
|
|
347
|
+
/**
|
|
348
|
+
* Modify the Token Plan APIKey configuration (field that the gateway focuses on).
|
|
349
|
+
|
|
350
|
+
After modification, automatically notify the gateway to update the cache and sync the limit center.
|
|
351
|
+
* @param {ModifyTokenPlanApiKeyRequest} req
|
|
352
|
+
* @param {function(string, ModifyTokenPlanApiKeyResponse):void} cb
|
|
353
|
+
* @public
|
|
354
|
+
*/
|
|
355
|
+
ModifyTokenPlanApiKey(req, cb) {
|
|
356
|
+
let resp = new ModifyTokenPlanApiKeyResponse();
|
|
357
|
+
this.request("ModifyTokenPlanApiKey", req, resp, cb);
|
|
358
|
+
}
|
|
359
|
+
|
|
360
|
+
/**
|
|
361
|
+
* Batch modify terminology entries.
|
|
362
|
+
|
|
363
|
+
This API is used to batch modify terminology entries in a designated Termbase. You can modify up to 200 entries at a time.
|
|
364
|
+
* @param {ModifyGlossaryEntriesRequest} req
|
|
365
|
+
* @param {function(string, ModifyGlossaryEntriesResponse):void} cb
|
|
366
|
+
* @public
|
|
367
|
+
*/
|
|
368
|
+
ModifyGlossaryEntries(req, cb) {
|
|
369
|
+
let resp = new ModifyGlossaryEntriesResponse();
|
|
370
|
+
this.request("ModifyGlossaryEntries", req, resp, cb);
|
|
371
|
+
}
|
|
372
|
+
|
|
373
|
+
/**
|
|
374
|
+
* Query the list of Token Plan package options.
|
|
375
|
+
|
|
376
|
+
Supports pagination, filtering, and sorting. Root accounts can view all packages, while sub-accounts can only view packages created by themselves. Returned results include the main limit package details associated with each package in the limit center.
|
|
377
|
+
* @param {DescribeTokenPlanListRequest} req
|
|
378
|
+
* @param {function(string, DescribeTokenPlanListResponse):void} cb
|
|
379
|
+
* @public
|
|
380
|
+
*/
|
|
381
|
+
DescribeTokenPlanList(req, cb) {
|
|
382
|
+
let resp = new DescribeTokenPlanListResponse();
|
|
383
|
+
this.request("DescribeTokenPlanList", req, resp, cb);
|
|
384
|
+
}
|
|
385
|
+
|
|
386
|
+
/**
|
|
387
|
+
* This API is used to query API Key details based on API Key ID or key value, and return the plaintext key. At least one of ApiKeyId and ApiKey must be input, with priority given to ApiKeyId.
|
|
388
|
+
* @param {DescribeApiKeyRequest} req
|
|
389
|
+
* @param {function(string, DescribeApiKeyResponse):void} cb
|
|
390
|
+
* @public
|
|
391
|
+
*/
|
|
392
|
+
DescribeApiKey(req, cb) {
|
|
393
|
+
let resp = new DescribeApiKeyResponse();
|
|
394
|
+
this.request("DescribeApiKey", req, resp, cb);
|
|
395
|
+
}
|
|
396
|
+
|
|
397
|
+
/**
|
|
398
|
+
* Delete the Token Plan API key.
|
|
399
|
+
|
|
400
|
+
Simultaneously delete the limit center sub-limit package and notify the Notification Gateway to purge cache.
|
|
401
|
+
* @param {DeleteTokenPlanApiKeyRequest} req
|
|
402
|
+
* @param {function(string, DeleteTokenPlanApiKeyResponse):void} cb
|
|
403
|
+
* @public
|
|
404
|
+
*/
|
|
405
|
+
DeleteTokenPlanApiKey(req, cb) {
|
|
406
|
+
let resp = new DeleteTokenPlanApiKeyResponse();
|
|
407
|
+
this.request("DeleteTokenPlanApiKey", req, resp, cb);
|
|
408
|
+
}
|
|
409
|
+
|
|
206
410
|
/**
|
|
207
411
|
* This API is used to delete specified api keys and clean up associated model binding relationships.
|
|
208
412
|
* @param {DeleteApiKeyRequest} req
|
|
@@ -215,16 +419,16 @@ This API is used to delete specified Termbase and ALL terminology entries under
|
|
|
215
419
|
}
|
|
216
420
|
|
|
217
421
|
/**
|
|
218
|
-
* Query the
|
|
422
|
+
* Query the TokenPlan APIKey (plaintext).
|
|
219
423
|
|
|
220
|
-
|
|
221
|
-
* @param {
|
|
222
|
-
* @param {function(string,
|
|
424
|
+
Return the plaintext key value of the designated APIKey. Keep it safe.
|
|
425
|
+
* @param {DescribeTokenPlanApiKeySecretRequest} req
|
|
426
|
+
* @param {function(string, DescribeTokenPlanApiKeySecretResponse):void} cb
|
|
223
427
|
* @public
|
|
224
428
|
*/
|
|
225
|
-
|
|
226
|
-
let resp = new
|
|
227
|
-
this.request("
|
|
429
|
+
DescribeTokenPlanApiKeySecret(req, cb) {
|
|
430
|
+
let resp = new DescribeTokenPlanApiKeySecretResponse();
|
|
431
|
+
this.request("DescribeTokenPlanApiKeySecret", req, resp, cb);
|
|
228
432
|
}
|
|
229
433
|
|
|
230
434
|
|