tencentcloud-sdk-nodejs-intl-en 3.0.1432 → 3.0.1433

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,14 +16,77 @@
16
16
  */
17
17
  const models = require("./models");
18
18
  const AbstractClient = require('../../common/abstract_client')
19
- const PageByNoParams = models.PageByNoParams;
20
19
  const DescribeAlarmNotifyHistoriesRequest = models.DescribeAlarmNotifyHistoriesRequest;
20
+ const ListAIWorkbenchArtifactsRequest = models.ListAIWorkbenchArtifactsRequest;
21
+ const ListAIWorkbenchMCPsRequest = models.ListAIWorkbenchMCPsRequest;
22
+ const DescribeAIWorkbenchAgentResponse = models.DescribeAIWorkbenchAgentResponse;
23
+ const CreateAIWorkbenchAgentResponse = models.CreateAIWorkbenchAgentResponse;
24
+ const PageByNoParams = models.PageByNoParams;
25
+ const DeleteAIWorkbenchAgentRequest = models.DeleteAIWorkbenchAgentRequest;
26
+ const ListAIWorkbenchResourceInstancesRequest = models.ListAIWorkbenchResourceInstancesRequest;
27
+ const ChannelsReceivers = models.ChannelsReceivers;
28
+ const CreateAIWorkbenchTaskResponse = models.CreateAIWorkbenchTaskResponse;
29
+ const SessionInfo = models.SessionInfo;
30
+ const DescribeAIWorkbenchExecutionRequest = models.DescribeAIWorkbenchExecutionRequest;
31
+ const ExecutionInfo = models.ExecutionInfo;
32
+ const TriggerAIWorkbenchTaskResponse = models.TriggerAIWorkbenchTaskResponse;
21
33
  const PageByNoResult = models.PageByNoResult;
22
- const DescribeAlarmNotifyHistoriesResponse = models.DescribeAlarmNotifyHistoriesResponse;
34
+ const GetAIWorkbenchArtifactDownloadURLResponse = models.GetAIWorkbenchArtifactDownloadURLResponse;
35
+ const ListAIWorkbenchResourceMapsRequest = models.ListAIWorkbenchResourceMapsRequest;
36
+ const ResourceMapInfo = models.ResourceMapInfo;
37
+ const AgentInfo = models.AgentInfo;
38
+ const DescribeAIWorkbenchSkillResponse = models.DescribeAIWorkbenchSkillResponse;
23
39
  const AlarmLable = models.AlarmLable;
24
- const ChannelsReceivers = models.ChannelsReceivers;
40
+ const PageByNumResult = models.PageByNumResult;
41
+ const Tag = models.Tag;
42
+ const ListAIWorkbenchMCPsResponse = models.ListAIWorkbenchMCPsResponse;
43
+ const CreateAIWorkbenchAgentRequest = models.CreateAIWorkbenchAgentRequest;
44
+ const ListAIWorkbenchSkillsResponse = models.ListAIWorkbenchSkillsResponse;
45
+ const DeleteAIWorkbenchTaskRequest = models.DeleteAIWorkbenchTaskRequest;
46
+ const CreateAIWorkbenchTaskRequest = models.CreateAIWorkbenchTaskRequest;
47
+ const DescribeAIWorkbenchArtifactRequest = models.DescribeAIWorkbenchArtifactRequest;
48
+ const ListAIWorkbenchSkillsRequest = models.ListAIWorkbenchSkillsRequest;
49
+ const ListAIWorkbenchResourceMapsResponse = models.ListAIWorkbenchResourceMapsResponse;
50
+ const ListAIWorkbenchSessionsRequest = models.ListAIWorkbenchSessionsRequest;
51
+ const DescribeAIWorkbenchArtifactResponse = models.DescribeAIWorkbenchArtifactResponse;
52
+ const CancelAIWorkbenchChatResponse = models.CancelAIWorkbenchChatResponse;
53
+ const UpdateAIWorkbenchAgentRequest = models.UpdateAIWorkbenchAgentRequest;
54
+ const ListAIWorkbenchArtifactsResponse = models.ListAIWorkbenchArtifactsResponse;
55
+ const CancelAIWorkbenchChatRequest = models.CancelAIWorkbenchChatRequest;
56
+ const ListAIWorkbenchMessagesRequest = models.ListAIWorkbenchMessagesRequest;
57
+ const ListAIWorkbenchAgentsResponse = models.ListAIWorkbenchAgentsResponse;
58
+ const ListAIWorkbenchExecutionsResponse = models.ListAIWorkbenchExecutionsResponse;
59
+ const DescribeAIWorkbenchAgentRequest = models.DescribeAIWorkbenchAgentRequest;
60
+ const DescribeAlarmNotifyHistoriesResponse = models.DescribeAlarmNotifyHistoriesResponse;
61
+ const InstructionConfig = models.InstructionConfig;
62
+ const DeleteAIWorkbenchTaskResponse = models.DeleteAIWorkbenchTaskResponse;
63
+ const ContentBlockInfo = models.ContentBlockInfo;
64
+ const ArtifactInfo = models.ArtifactInfo;
65
+ const PageByNumParams = models.PageByNumParams;
66
+ const GetAIWorkbenchArtifactDownloadURLRequest = models.GetAIWorkbenchArtifactDownloadURLRequest;
67
+ const ListAIWorkbenchResourceInstancesResponse = models.ListAIWorkbenchResourceInstancesResponse;
68
+ const ListAIWorkbenchExecutionsRequest = models.ListAIWorkbenchExecutionsRequest;
69
+ const ListAIWorkbenchAgentsRequest = models.ListAIWorkbenchAgentsRequest;
25
70
  const NotifyRelatedNotice = models.NotifyRelatedNotice;
71
+ const SkillInfo = models.SkillInfo;
72
+ const DescribeAIWorkbenchSkillRequest = models.DescribeAIWorkbenchSkillRequest;
26
73
  const AlarmNotifyHistory = models.AlarmNotifyHistory;
74
+ const DescribeAIWorkbenchSessionResponse = models.DescribeAIWorkbenchSessionResponse;
75
+ const TaskInfo = models.TaskInfo;
76
+ const DescribeAIWorkbenchSessionRequest = models.DescribeAIWorkbenchSessionRequest;
77
+ const EnvEntry = models.EnvEntry;
78
+ const ListAIWorkbenchSessionsResponse = models.ListAIWorkbenchSessionsResponse;
79
+ const ListAIWorkbenchTasksResponse = models.ListAIWorkbenchTasksResponse;
80
+ const MessageInfo = models.MessageInfo;
81
+ const DescribeAIWorkbenchExecutionResponse = models.DescribeAIWorkbenchExecutionResponse;
82
+ const UpdateAIWorkbenchAgentResponse = models.UpdateAIWorkbenchAgentResponse;
83
+ const MCPInfo = models.MCPInfo;
84
+ const TriggerAIWorkbenchTaskRequest = models.TriggerAIWorkbenchTaskRequest;
85
+ const ListAIWorkbenchMessagesResponse = models.ListAIWorkbenchMessagesResponse;
86
+ const DeleteAIWorkbenchAgentResponse = models.DeleteAIWorkbenchAgentResponse;
87
+ const EnvVar = models.EnvVar;
88
+ const ListAIWorkbenchTasksRequest = models.ListAIWorkbenchTasksRequest;
89
+ const ResourceInstance = models.ResourceInstance;
27
90
 
28
91
 
29
92
  /**
@@ -36,6 +99,171 @@ class MonitorClient extends AbstractClient {
36
99
  super("monitor.intl.tencentcloudapi.com", "2023-06-16", credential, region, profile);
37
100
  }
38
101
 
102
+ /**
103
+ * Query execution details.
104
+ * @param {DescribeAIWorkbenchExecutionRequest} req
105
+ * @param {function(string, DescribeAIWorkbenchExecutionResponse):void} cb
106
+ * @public
107
+ */
108
+ DescribeAIWorkbenchExecution(req, cb) {
109
+ let resp = new DescribeAIWorkbenchExecutionResponse();
110
+ this.request("DescribeAIWorkbenchExecution", req, resp, cb);
111
+ }
112
+
113
+ /**
114
+ * This API is used to query message list.
115
+ * @param {ListAIWorkbenchMessagesRequest} req
116
+ * @param {function(string, ListAIWorkbenchMessagesResponse):void} cb
117
+ * @public
118
+ */
119
+ ListAIWorkbenchMessages(req, cb) {
120
+ let resp = new ListAIWorkbenchMessagesResponse();
121
+ this.request("ListAIWorkbenchMessages", req, resp, cb);
122
+ }
123
+
124
+ /**
125
+ * Query the execution list
126
+ * @param {ListAIWorkbenchExecutionsRequest} req
127
+ * @param {function(string, ListAIWorkbenchExecutionsResponse):void} cb
128
+ * @public
129
+ */
130
+ ListAIWorkbenchExecutions(req, cb) {
131
+ let resp = new ListAIWorkbenchExecutionsResponse();
132
+ this.request("ListAIWorkbenchExecutions", req, resp, cb);
133
+ }
134
+
135
+ /**
136
+ * Query the MCP list.
137
+ * @param {ListAIWorkbenchMCPsRequest} req
138
+ * @param {function(string, ListAIWorkbenchMCPsResponse):void} cb
139
+ * @public
140
+ */
141
+ ListAIWorkbenchMCPs(req, cb) {
142
+ let resp = new ListAIWorkbenchMCPsResponse();
143
+ this.request("ListAIWorkbenchMCPs", req, resp, cb);
144
+ }
145
+
146
+ /**
147
+ * This API is used to query the task list.
148
+ * @param {ListAIWorkbenchTasksRequest} req
149
+ * @param {function(string, ListAIWorkbenchTasksResponse):void} cb
150
+ * @public
151
+ */
152
+ ListAIWorkbenchTasks(req, cb) {
153
+ let resp = new ListAIWorkbenchTasksResponse();
154
+ this.request("ListAIWorkbenchTasks", req, resp, cb);
155
+ }
156
+
157
+ /**
158
+ * Query the list of resource maps
159
+ * @param {ListAIWorkbenchResourceMapsRequest} req
160
+ * @param {function(string, ListAIWorkbenchResourceMapsResponse):void} cb
161
+ * @public
162
+ */
163
+ ListAIWorkbenchResourceMaps(req, cb) {
164
+ let resp = new ListAIWorkbenchResourceMapsResponse();
165
+ this.request("ListAIWorkbenchResourceMaps", req, resp, cb);
166
+ }
167
+
168
+ /**
169
+ * Cancel dialogue execution
170
+ * @param {CancelAIWorkbenchChatRequest} req
171
+ * @param {function(string, CancelAIWorkbenchChatResponse):void} cb
172
+ * @public
173
+ */
174
+ CancelAIWorkbenchChat(req, cb) {
175
+ let resp = new CancelAIWorkbenchChatResponse();
176
+ this.request("CancelAIWorkbenchChat", req, resp, cb);
177
+ }
178
+
179
+ /**
180
+ * List resource instances.
181
+ * @param {ListAIWorkbenchResourceInstancesRequest} req
182
+ * @param {function(string, ListAIWorkbenchResourceInstancesResponse):void} cb
183
+ * @public
184
+ */
185
+ ListAIWorkbenchResourceInstances(req, cb) {
186
+ let resp = new ListAIWorkbenchResourceInstancesResponse();
187
+ this.request("ListAIWorkbenchResourceInstances", req, resp, cb);
188
+ }
189
+
190
+ /**
191
+ * Delete Agent
192
+ * @param {DeleteAIWorkbenchAgentRequest} req
193
+ * @param {function(string, DeleteAIWorkbenchAgentResponse):void} cb
194
+ * @public
195
+ */
196
+ DeleteAIWorkbenchAgent(req, cb) {
197
+ let resp = new DeleteAIWorkbenchAgentResponse();
198
+ this.request("DeleteAIWorkbenchAgent", req, resp, cb);
199
+ }
200
+
201
+ /**
202
+ * Query the skill list
203
+ * @param {ListAIWorkbenchSkillsRequest} req
204
+ * @param {function(string, ListAIWorkbenchSkillsResponse):void} cb
205
+ * @public
206
+ */
207
+ ListAIWorkbenchSkills(req, cb) {
208
+ let resp = new ListAIWorkbenchSkillsResponse();
209
+ this.request("ListAIWorkbenchSkills", req, resp, cb);
210
+ }
211
+
212
+ /**
213
+ * Query session list
214
+ * @param {ListAIWorkbenchSessionsRequest} req
215
+ * @param {function(string, ListAIWorkbenchSessionsResponse):void} cb
216
+ * @public
217
+ */
218
+ ListAIWorkbenchSessions(req, cb) {
219
+ let resp = new ListAIWorkbenchSessionsResponse();
220
+ this.request("ListAIWorkbenchSessions", req, resp, cb);
221
+ }
222
+
223
+ /**
224
+ * Query Agent details.
225
+ * @param {DescribeAIWorkbenchAgentRequest} req
226
+ * @param {function(string, DescribeAIWorkbenchAgentResponse):void} cb
227
+ * @public
228
+ */
229
+ DescribeAIWorkbenchAgent(req, cb) {
230
+ let resp = new DescribeAIWorkbenchAgentResponse();
231
+ this.request("DescribeAIWorkbenchAgent", req, resp, cb);
232
+ }
233
+
234
+ /**
235
+ * Query session details
236
+ * @param {DescribeAIWorkbenchSessionRequest} req
237
+ * @param {function(string, DescribeAIWorkbenchSessionResponse):void} cb
238
+ * @public
239
+ */
240
+ DescribeAIWorkbenchSession(req, cb) {
241
+ let resp = new DescribeAIWorkbenchSessionResponse();
242
+ this.request("DescribeAIWorkbenchSession", req, resp, cb);
243
+ }
244
+
245
+ /**
246
+ * This API is used to delete a task.
247
+ * @param {DeleteAIWorkbenchTaskRequest} req
248
+ * @param {function(string, DeleteAIWorkbenchTaskResponse):void} cb
249
+ * @public
250
+ */
251
+ DeleteAIWorkbenchTask(req, cb) {
252
+ let resp = new DeleteAIWorkbenchTaskResponse();
253
+ this.request("DeleteAIWorkbenchTask", req, resp, cb);
254
+ }
255
+
256
+ /**
257
+ * This API is used to create an Agent.
258
+ * @param {CreateAIWorkbenchAgentRequest} req
259
+ * @param {function(string, CreateAIWorkbenchAgentResponse):void} cb
260
+ * @public
261
+ */
262
+ CreateAIWorkbenchAgent(req, cb) {
263
+ let resp = new CreateAIWorkbenchAgentResponse();
264
+ this.request("CreateAIWorkbenchAgent", req, resp, cb);
265
+ }
266
+
39
267
  /**
40
268
  * Query alarm notification history as needed
41
269
  * @param {DescribeAlarmNotifyHistoriesRequest} req
@@ -47,6 +275,94 @@ class MonitorClient extends AbstractClient {
47
275
  this.request("DescribeAlarmNotifyHistories", req, resp, cb);
48
276
  }
49
277
 
278
+ /**
279
+ * Query artifact details.
280
+ * @param {DescribeAIWorkbenchArtifactRequest} req
281
+ * @param {function(string, DescribeAIWorkbenchArtifactResponse):void} cb
282
+ * @public
283
+ */
284
+ DescribeAIWorkbenchArtifact(req, cb) {
285
+ let resp = new DescribeAIWorkbenchArtifactResponse();
286
+ this.request("DescribeAIWorkbenchArtifact", req, resp, cb);
287
+ }
288
+
289
+ /**
290
+ * Query the product list
291
+ * @param {ListAIWorkbenchArtifactsRequest} req
292
+ * @param {function(string, ListAIWorkbenchArtifactsResponse):void} cb
293
+ * @public
294
+ */
295
+ ListAIWorkbenchArtifacts(req, cb) {
296
+ let resp = new ListAIWorkbenchArtifactsResponse();
297
+ this.request("ListAIWorkbenchArtifacts", req, resp, cb);
298
+ }
299
+
300
+ /**
301
+ * Manually trigger a task.
302
+ * @param {TriggerAIWorkbenchTaskRequest} req
303
+ * @param {function(string, TriggerAIWorkbenchTaskResponse):void} cb
304
+ * @public
305
+ */
306
+ TriggerAIWorkbenchTask(req, cb) {
307
+ let resp = new TriggerAIWorkbenchTaskResponse();
308
+ this.request("TriggerAIWorkbenchTask", req, resp, cb);
309
+ }
310
+
311
+ /**
312
+ * Create a task
313
+ * @param {CreateAIWorkbenchTaskRequest} req
314
+ * @param {function(string, CreateAIWorkbenchTaskResponse):void} cb
315
+ * @public
316
+ */
317
+ CreateAIWorkbenchTask(req, cb) {
318
+ let resp = new CreateAIWorkbenchTaskResponse();
319
+ this.request("CreateAIWorkbenchTask", req, resp, cb);
320
+ }
321
+
322
+ /**
323
+ * Update an Agent
324
+ * @param {UpdateAIWorkbenchAgentRequest} req
325
+ * @param {function(string, UpdateAIWorkbenchAgentResponse):void} cb
326
+ * @public
327
+ */
328
+ UpdateAIWorkbenchAgent(req, cb) {
329
+ let resp = new UpdateAIWorkbenchAgentResponse();
330
+ this.request("UpdateAIWorkbenchAgent", req, resp, cb);
331
+ }
332
+
333
+ /**
334
+ * Query the Agent list.
335
+ * @param {ListAIWorkbenchAgentsRequest} req
336
+ * @param {function(string, ListAIWorkbenchAgentsResponse):void} cb
337
+ * @public
338
+ */
339
+ ListAIWorkbenchAgents(req, cb) {
340
+ let resp = new ListAIWorkbenchAgentsResponse();
341
+ this.request("ListAIWorkbenchAgents", req, resp, cb);
342
+ }
343
+
344
+ /**
345
+ * Query skill details
346
+ * @param {DescribeAIWorkbenchSkillRequest} req
347
+ * @param {function(string, DescribeAIWorkbenchSkillResponse):void} cb
348
+ * @public
349
+ */
350
+ DescribeAIWorkbenchSkill(req, cb) {
351
+ let resp = new DescribeAIWorkbenchSkillResponse();
352
+ this.request("DescribeAIWorkbenchSkill", req, resp, cb);
353
+ }
354
+
355
+ /**
356
+ * Get the download URL of AI Workbench artifacts.
357
+ * @param {GetAIWorkbenchArtifactDownloadURLRequest} req
358
+ * @param {function(string, GetAIWorkbenchArtifactDownloadURLResponse):void} cb
359
+ * @public
360
+ */
361
+ GetAIWorkbenchArtifactDownloadURL(req, cb) {
362
+ let resp = new GetAIWorkbenchArtifactDownloadURLResponse();
363
+ this.request("GetAIWorkbenchArtifactDownloadURL", req, resp, cb);
364
+ }
365
+
50
366
 
51
367
  }
52
368
  module.exports = MonitorClient;
@@ -1942,14 +1942,14 @@ class SendStatusStatisticsRequest extends AbstractModel {
1942
1942
  super();
1943
1943
 
1944
1944
  /**
1945
- * Start time in the format of `yyyymmddhh` accurate to the hour, such as 2021050113 (13:00 on May 1, 2021).
1945
+ * Start time in the format of `yyyymmddhh` accurate to the hour, such as 2021050113 (13:00 on May 1, 2021).Note: the statistical range includes the current hour.
1946
1946
  * @type {string || null}
1947
1947
  */
1948
1948
  this.BeginTime = null;
1949
1949
 
1950
1950
  /**
1951
1951
  * End time in the format of `yyyymmddhh` accurate to the hour, such as 2021050118 (18:00 on May 1, 2021).
1952
- Note: `EndTime` must be after `BeginTime`.
1952
+ Note: `EndTime` must be after `BeginTime`, and the statistical range includes the current hour.
1953
1953
  * @type {string || null}
1954
1954
  */
1955
1955
  this.EndTime = null;
@@ -164,7 +164,6 @@ Currently, you can also [configure the callback](https://www.tencentcloud.com/do
164
164
  * This API is used to collect statistics on SMS messages sent by users.
165
165
  >- Note: because of the improved security of **TencentCloud API 3.0**, **API authentication** is more complicated. We recommend you use the Tencent Cloud SMS service with the SDK.
166
166
  >- You can run this API directly in [API 3.0 Explorer](https://console.cloud.tencent.com/api/explorer?Product=sms&Version=2021-01-11&Action=SendSms), which eliminates the signature calculation steps. After it is executed successfully, API Explorer can **automatically generate** SDK code samples.
167
-
168
167
  * @param {SendStatusStatisticsRequest} req
169
168
  * @param {function(string, SendStatusStatisticsResponse):void} cb
170
169
  * @public