tencentcloud-sdk-nodejs-intl-en 3.0.1391 → 3.0.1392

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,13 +16,17 @@
16
16
  */
17
17
  const models = require("./models");
18
18
  const AbstractClient = require('../../common/abstract_client')
19
+ const GlossaryItem = models.GlossaryItem;
20
+ const BindingItem = models.BindingItem;
19
21
  const GlossaryEntryInput = models.GlossaryEntryInput;
20
22
  const DeleteGlossaryEntryInput = models.DeleteGlossaryEntryInput;
21
- const DescribeGlossariesResponse = models.DescribeGlossariesResponse;
23
+ const GlossaryEntryItem = models.GlossaryEntryItem;
22
24
  const DeleteGlossaryResponse = models.DeleteGlossaryResponse;
25
+ const QuotaInfo = models.QuotaInfo;
23
26
  const DeleteGlossaryEntriesResponse = models.DeleteGlossaryEntriesResponse;
24
- const GlossaryItem = models.GlossaryItem;
27
+ const DescribeApiKeyListResponse = models.DescribeApiKeyListResponse;
25
28
  const ModifyApiKeyInfoResponse = models.ModifyApiKeyInfoResponse;
29
+ const DescribeApiKeyListRequest = models.DescribeApiKeyListRequest;
26
30
  const CreateGlossaryRequest = models.CreateGlossaryRequest;
27
31
  const DescribeGlossaryEntriesResponse = models.DescribeGlossaryEntriesResponse;
28
32
  const DeleteGlossaryRequest = models.DeleteGlossaryRequest;
@@ -35,15 +39,18 @@ const ModifyApiKeyInfoRequest = models.ModifyApiKeyInfoRequest;
35
39
  const CreateGlossaryResponse = models.CreateGlossaryResponse;
36
40
  const ModifyGlossaryEntriesRequest = models.ModifyGlossaryEntriesRequest;
37
41
  const DescribeGlossariesRequest = models.DescribeGlossariesRequest;
42
+ const DescribeApiKeyRequest = models.DescribeApiKeyRequest;
38
43
  const ModifyApiKeyStatusRequest = models.ModifyApiKeyStatusRequest;
39
44
  const CreateGlossaryEntriesRequest = models.CreateGlossaryEntriesRequest;
40
- const GlossaryEntryItem = models.GlossaryEntryItem;
45
+ const ApiKeyDetail = models.ApiKeyDetail;
46
+ const DescribeGlossariesResponse = models.DescribeGlossariesResponse;
41
47
  const ModifyApiKeyStatusResponse = models.ModifyApiKeyStatusResponse;
42
48
  const CreateApiKeyResponse = models.CreateApiKeyResponse;
43
49
  const DeleteApiKeyRequest = models.DeleteApiKeyRequest;
44
50
  const RequestFilter = models.RequestFilter;
45
51
  const ModifyGlossaryEntriesResponse = models.ModifyGlossaryEntriesResponse;
46
52
  const RequestSort = models.RequestSort;
53
+ const DescribeApiKeyResponse = models.DescribeApiKeyResponse;
47
54
  const CreateApiKeyRequest = models.CreateApiKeyRequest;
48
55
 
49
56
 
@@ -57,6 +64,19 @@ class TokenhubClient extends AbstractClient {
57
64
  super("tokenhub.intl.tencentcloudapi.com", "2026-03-22", credential, region, profile);
58
65
  }
59
66
 
67
+ /**
68
+ * Query API key list.
69
+
70
+ Query the API key list of the current user with key values in masking display. Support pagination, filtering, and sorting.
71
+ * @param {DescribeApiKeyListRequest} req
72
+ * @param {function(string, DescribeApiKeyListResponse):void} cb
73
+ * @public
74
+ */
75
+ DescribeApiKeyList(req, cb) {
76
+ let resp = new DescribeApiKeyListResponse();
77
+ this.request("DescribeApiKeyList", req, resp, cb);
78
+ }
79
+
60
80
  /**
61
81
  * Delete terminology entries in batches.
62
82
 
@@ -120,6 +140,17 @@ Query specified entries in a Termbase. Support pagination.
120
140
  this.request("DescribeGlossaryEntries", req, resp, cb);
121
141
  }
122
142
 
143
+ /**
144
+ * 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.
145
+ * @param {DescribeApiKeyRequest} req
146
+ * @param {function(string, DescribeApiKeyResponse):void} cb
147
+ * @public
148
+ */
149
+ DescribeApiKey(req, cb) {
150
+ let resp = new DescribeApiKeyResponse();
151
+ this.request("DescribeApiKey", req, resp, cb);
152
+ }
153
+
123
154
  /**
124
155
  * Refresh API key information.
125
156