@alicloud/dms20250414 1.14.3 → 1.15.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.
Files changed (57) hide show
  1. package/dist/client.d.ts +39 -24
  2. package/dist/client.js +90 -24
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/DataAgentBillingInstance.d.ts +28 -0
  5. package/dist/models/DataAgentBillingInstance.js +89 -0
  6. package/dist/models/DataAgentBillingInstance.js.map +1 -0
  7. package/dist/models/DescribeDataAgentSessionRequest.d.ts +2 -2
  8. package/dist/models/DescribeDataAgentSessionResponseBody.d.ts +160 -12
  9. package/dist/models/DescribeDataAgentSessionResponseBody.js.map +1 -1
  10. package/dist/models/GetChatContentRequest.d.ts +2 -2
  11. package/dist/models/GetChatContentResponseBody.d.ts +11 -4
  12. package/dist/models/GetChatContentResponseBody.js.map +1 -1
  13. package/dist/models/GetSqlConsoleOperationLogRequest.d.ts +85 -0
  14. package/dist/models/GetSqlConsoleOperationLogRequest.js +72 -0
  15. package/dist/models/GetSqlConsoleOperationLogRequest.js.map +1 -0
  16. package/dist/models/GetSqlConsoleOperationLogResponse.d.ts +19 -0
  17. package/dist/models/GetSqlConsoleOperationLogResponse.js +69 -0
  18. package/dist/models/GetSqlConsoleOperationLogResponse.js.map +1 -0
  19. package/dist/models/GetSqlConsoleOperationLogResponseBody.d.ts +150 -0
  20. package/dist/models/GetSqlConsoleOperationLogResponseBody.js +108 -0
  21. package/dist/models/GetSqlConsoleOperationLogResponseBody.js.map +1 -0
  22. package/dist/models/ListDataAgentSessionRequest.d.ts +11 -10
  23. package/dist/models/ListDataAgentSessionRequest.js +2 -0
  24. package/dist/models/ListDataAgentSessionRequest.js.map +1 -1
  25. package/dist/models/ListDataAgentSessionResponseBody.d.ts +36 -44
  26. package/dist/models/ListDataAgentSessionResponseBody.js.map +1 -1
  27. package/dist/models/MdbAgentInstanceVo.d.ts +28 -0
  28. package/dist/models/MdbAgentInstanceVo.js +86 -0
  29. package/dist/models/MdbAgentInstanceVo.js.map +1 -0
  30. package/dist/models/SendChatMessageRequest.d.ts +104 -21
  31. package/dist/models/SendChatMessageRequest.js +2 -0
  32. package/dist/models/SendChatMessageRequest.js.map +1 -1
  33. package/dist/models/SendChatMessageResponseBody.d.ts +11 -4
  34. package/dist/models/SendChatMessageResponseBody.js.map +1 -1
  35. package/dist/models/SendChatMessageShrinkRequest.d.ts +31 -11
  36. package/dist/models/SendChatMessageShrinkRequest.js +2 -0
  37. package/dist/models/SendChatMessageShrinkRequest.js.map +1 -1
  38. package/dist/models/model.d.ts +6 -0
  39. package/dist/models/model.js +21 -9
  40. package/dist/models/model.js.map +1 -1
  41. package/package.json +1 -1
  42. package/src/client.ts +102 -24
  43. package/src/models/DataAgentBillingInstance.ts +72 -0
  44. package/src/models/DescribeDataAgentSessionRequest.ts +2 -2
  45. package/src/models/DescribeDataAgentSessionResponseBody.ts +160 -12
  46. package/src/models/GetChatContentRequest.ts +2 -2
  47. package/src/models/GetChatContentResponseBody.ts +11 -4
  48. package/src/models/GetSqlConsoleOperationLogRequest.ts +112 -0
  49. package/src/models/GetSqlConsoleOperationLogResponse.ts +40 -0
  50. package/src/models/GetSqlConsoleOperationLogResponseBody.ts +204 -0
  51. package/src/models/ListDataAgentSessionRequest.ts +13 -10
  52. package/src/models/ListDataAgentSessionResponseBody.ts +36 -44
  53. package/src/models/MdbAgentInstanceVo.ts +69 -0
  54. package/src/models/SendChatMessageRequest.ts +106 -21
  55. package/src/models/SendChatMessageResponseBody.ts +11 -4
  56. package/src/models/SendChatMessageShrinkRequest.ts +33 -11
  57. package/src/models/model.ts +6 -0
package/dist/client.d.ts CHANGED
@@ -552,12 +552,12 @@ export default class Client extends OpenApi {
552
552
  */
553
553
  getAirflow(request: $_model.GetAirflowRequest): Promise<$_model.GetAirflowResponse>;
554
554
  /**
555
- * Retrieves chat content from a specific checkpoint by specifying a session ID and an agent ID.
555
+ * Retrieves chat content from a specific checkpoint by specifying the session ID and AgentId.
556
556
  *
557
557
  * @remarks
558
- * ## Request
559
- * - The response is an SSE stream. Each event follows the`SSEEvent` schema and includes metadata, such as the message level.
560
- * - The `content` field contains either message text or a JSON object, as determined by the `content_type` field.
558
+ * ## Request Description
559
+ * - The response is returned as an SSE stream, where each event follows the `SSEEvent` schema and contains meta-information such as the message level.
560
+ * - The `content` field in each SSE event may carry actual message text or a JSON object, depending on the value of `content_type`.
561
561
  *
562
562
  * @param request - GetChatContentRequest
563
563
  * @param runtime - runtime options for this request RuntimeOptions
@@ -565,12 +565,12 @@ export default class Client extends OpenApi {
565
565
  */
566
566
  getChatContentWithSSE(request: $_model.GetChatContentRequest, runtime: $dara.RuntimeOptions): AsyncGenerator<$_model.GetChatContentResponse, any, unknown>;
567
567
  /**
568
- * Retrieves chat content from a specific checkpoint by specifying a session ID and an agent ID.
568
+ * Retrieves chat content from a specific checkpoint by specifying the session ID and AgentId.
569
569
  *
570
570
  * @remarks
571
- * ## Request
572
- * - The response is an SSE stream. Each event follows the`SSEEvent` schema and includes metadata, such as the message level.
573
- * - The `content` field contains either message text or a JSON object, as determined by the `content_type` field.
571
+ * ## Request Description
572
+ * - The response is returned as an SSE stream, where each event follows the `SSEEvent` schema and contains meta-information such as the message level.
573
+ * - The `content` field in each SSE event may carry actual message text or a JSON object, depending on the value of `content_type`.
574
574
  *
575
575
  * @param request - GetChatContentRequest
576
576
  * @param runtime - runtime options for this request RuntimeOptions
@@ -578,12 +578,12 @@ export default class Client extends OpenApi {
578
578
  */
579
579
  getChatContentWithOptions(request: $_model.GetChatContentRequest, runtime: $dara.RuntimeOptions): Promise<$_model.GetChatContentResponse>;
580
580
  /**
581
- * Retrieves chat content from a specific checkpoint by specifying a session ID and an agent ID.
581
+ * Retrieves chat content from a specific checkpoint by specifying the session ID and AgentId.
582
582
  *
583
583
  * @remarks
584
- * ## Request
585
- * - The response is an SSE stream. Each event follows the`SSEEvent` schema and includes metadata, such as the message level.
586
- * - The `content` field contains either message text or a JSON object, as determined by the `content_type` field.
584
+ * ## Request Description
585
+ * - The response is returned as an SSE stream, where each event follows the `SSEEvent` schema and contains meta-information such as the message level.
586
+ * - The `content` field in each SSE event may carry actual message text or a JSON object, depending on the value of `content_type`.
587
587
  *
588
588
  * @param request - GetChatContentRequest
589
589
  * @returns GetChatContentResponse
@@ -724,6 +724,21 @@ export default class Client extends OpenApi {
724
724
  * @returns GetNotebookTaskStatusResponse
725
725
  */
726
726
  getNotebookTaskStatus(request: $_model.GetNotebookTaskStatusRequest): Promise<$_model.GetNotebookTaskStatusResponse>;
727
+ /**
728
+ * Queries the operation logs of the SQL window.
729
+ *
730
+ * @param request - GetSqlConsoleOperationLogRequest
731
+ * @param runtime - runtime options for this request RuntimeOptions
732
+ * @returns GetSqlConsoleOperationLogResponse
733
+ */
734
+ getSqlConsoleOperationLogWithOptions(request: $_model.GetSqlConsoleOperationLogRequest, runtime: $dara.RuntimeOptions): Promise<$_model.GetSqlConsoleOperationLogResponse>;
735
+ /**
736
+ * Queries the operation logs of the SQL window.
737
+ *
738
+ * @param request - GetSqlConsoleOperationLogRequest
739
+ * @returns GetSqlConsoleOperationLogResponse
740
+ */
741
+ getSqlConsoleOperationLog(request: $_model.GetSqlConsoleOperationLogRequest): Promise<$_model.GetSqlConsoleOperationLogResponse>;
727
742
  /**
728
743
  * Reads the content of a code file in the workspace and returns the file content along with mtime (in the header).
729
744
  *
@@ -839,7 +854,7 @@ export default class Client extends OpenApi {
839
854
  */
840
855
  listCustomAgent(request: $_model.ListCustomAgentRequest): Promise<$_model.ListCustomAgentResponse>;
841
856
  /**
842
- * Retrieve a list of Data Agent session descriptions.
857
+ * Retrieves the list of historical session descriptions for a Data Agent.
843
858
  *
844
859
  * @param request - ListDataAgentSessionRequest
845
860
  * @param runtime - runtime options for this request RuntimeOptions
@@ -847,7 +862,7 @@ export default class Client extends OpenApi {
847
862
  */
848
863
  listDataAgentSessionWithOptions(request: $_model.ListDataAgentSessionRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ListDataAgentSessionResponse>;
849
864
  /**
850
- * Retrieve a list of Data Agent session descriptions.
865
+ * Retrieves the list of historical session descriptions for a Data Agent.
851
866
  *
852
867
  * @param request - ListDataAgentSessionRequest
853
868
  * @returns ListDataAgentSessionResponse
@@ -1247,16 +1262,16 @@ export default class Client extends OpenApi {
1247
1262
  */
1248
1263
  saveWorkspaceCode(request: $_model.SaveWorkspaceCodeRequest): Promise<$_model.SaveWorkspaceCodeResponse>;
1249
1264
  /**
1250
- * Sends a user message to a specified session or cancels a session.
1265
+ * Send a user message to a specified session or cancel the session.
1251
1266
  *
1252
1267
  * @remarks
1253
1268
  * ## Request description
1254
1269
  * - `agent_id` and `session_id` are required fields.
1255
- * - `message_type` defaults to `primary`. Set it to `additional` when appending information or `cancel` when canceling a session.
1256
- * - `reply_to` indicates which Agent message this message responds to. The default value is `0`.
1270
+ * - `message_type` defaults to `primary`. When you need to append information or cancel a session, set it to `additional` or `cancel`.
1271
+ * - The `reply_to` field indicates which Agent message this message is responding to. The default value is `0`.
1257
1272
  * - When `message_type` is `additional`, the `question` field is required.
1258
- * - `quoted_message` can be used to quote the content of a previous user message.
1259
- * - `data_source`, `dms_user`, `db_metadata`, `session_config`, and other fields are optional but provide more detailed context information.
1273
+ * - `quoted_message` can be used to quote the content of the user\\"s previous message.
1274
+ * - Fields such as `data_source`, `dms_user`, `db_metadata`, and `session_config` are all optional, but provide more detailed context information.
1260
1275
  *
1261
1276
  * @param tmpReq - SendChatMessageRequest
1262
1277
  * @param runtime - runtime options for this request RuntimeOptions
@@ -1264,16 +1279,16 @@ export default class Client extends OpenApi {
1264
1279
  */
1265
1280
  sendChatMessageWithOptions(tmpReq: $_model.SendChatMessageRequest, runtime: $dara.RuntimeOptions): Promise<$_model.SendChatMessageResponse>;
1266
1281
  /**
1267
- * Sends a user message to a specified session or cancels a session.
1282
+ * Send a user message to a specified session or cancel the session.
1268
1283
  *
1269
1284
  * @remarks
1270
1285
  * ## Request description
1271
1286
  * - `agent_id` and `session_id` are required fields.
1272
- * - `message_type` defaults to `primary`. Set it to `additional` when appending information or `cancel` when canceling a session.
1273
- * - `reply_to` indicates which Agent message this message responds to. The default value is `0`.
1287
+ * - `message_type` defaults to `primary`. When you need to append information or cancel a session, set it to `additional` or `cancel`.
1288
+ * - The `reply_to` field indicates which Agent message this message is responding to. The default value is `0`.
1274
1289
  * - When `message_type` is `additional`, the `question` field is required.
1275
- * - `quoted_message` can be used to quote the content of a previous user message.
1276
- * - `data_source`, `dms_user`, `db_metadata`, `session_config`, and other fields are optional but provide more detailed context information.
1290
+ * - `quoted_message` can be used to quote the content of the user\\"s previous message.
1291
+ * - Fields such as `data_source`, `dms_user`, `db_metadata`, and `session_config` are all optional, but provide more detailed context information.
1277
1292
  *
1278
1293
  * @param request - SendChatMessageRequest
1279
1294
  * @returns SendChatMessageResponse
package/dist/client.js CHANGED
@@ -1941,12 +1941,12 @@ class Client extends openapi_core_1.default {
1941
1941
  return await this.getAirflowWithOptions(request, runtime);
1942
1942
  }
1943
1943
  /**
1944
- * Retrieves chat content from a specific checkpoint by specifying a session ID and an agent ID.
1944
+ * Retrieves chat content from a specific checkpoint by specifying the session ID and AgentId.
1945
1945
  *
1946
1946
  * @remarks
1947
- * ## Request
1948
- * - The response is an SSE stream. Each event follows the`SSEEvent` schema and includes metadata, such as the message level.
1949
- * - The `content` field contains either message text or a JSON object, as determined by the `content_type` field.
1947
+ * ## Request Description
1948
+ * - The response is returned as an SSE stream, where each event follows the `SSEEvent` schema and contains meta-information such as the message level.
1949
+ * - The `content` field in each SSE event may carry actual message text or a JSON object, depending on the value of `content_type`.
1950
1950
  *
1951
1951
  * @param request - GetChatContentRequest
1952
1952
  * @param runtime - runtime options for this request RuntimeOptions
@@ -2011,12 +2011,12 @@ class Client extends openapi_core_1.default {
2011
2011
  });
2012
2012
  }
2013
2013
  /**
2014
- * Retrieves chat content from a specific checkpoint by specifying a session ID and an agent ID.
2014
+ * Retrieves chat content from a specific checkpoint by specifying the session ID and AgentId.
2015
2015
  *
2016
2016
  * @remarks
2017
- * ## Request
2018
- * - The response is an SSE stream. Each event follows the`SSEEvent` schema and includes metadata, such as the message level.
2019
- * - The `content` field contains either message text or a JSON object, as determined by the `content_type` field.
2017
+ * ## Request Description
2018
+ * - The response is returned as an SSE stream, where each event follows the `SSEEvent` schema and contains meta-information such as the message level.
2019
+ * - The `content` field in each SSE event may carry actual message text or a JSON object, depending on the value of `content_type`.
2020
2020
  *
2021
2021
  * @param request - GetChatContentRequest
2022
2022
  * @param runtime - runtime options for this request RuntimeOptions
@@ -2054,12 +2054,12 @@ class Client extends openapi_core_1.default {
2054
2054
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetChatContentResponse({}));
2055
2055
  }
2056
2056
  /**
2057
- * Retrieves chat content from a specific checkpoint by specifying a session ID and an agent ID.
2057
+ * Retrieves chat content from a specific checkpoint by specifying the session ID and AgentId.
2058
2058
  *
2059
2059
  * @remarks
2060
- * ## Request
2061
- * - The response is an SSE stream. Each event follows the`SSEEvent` schema and includes metadata, such as the message level.
2062
- * - The `content` field contains either message text or a JSON object, as determined by the `content_type` field.
2060
+ * ## Request Description
2061
+ * - The response is returned as an SSE stream, where each event follows the `SSEEvent` schema and contains meta-information such as the message level.
2062
+ * - The `content` field in each SSE event may carry actual message text or a JSON object, depending on the value of `content_type`.
2063
2063
  *
2064
2064
  * @param request - GetChatContentRequest
2065
2065
  * @returns GetChatContentResponse
@@ -2504,6 +2504,66 @@ class Client extends openapi_core_1.default {
2504
2504
  let runtime = new $dara.RuntimeOptions({});
2505
2505
  return await this.getNotebookTaskStatusWithOptions(request, runtime);
2506
2506
  }
2507
+ /**
2508
+ * Queries the operation logs of the SQL window.
2509
+ *
2510
+ * @param request - GetSqlConsoleOperationLogRequest
2511
+ * @param runtime - runtime options for this request RuntimeOptions
2512
+ * @returns GetSqlConsoleOperationLogResponse
2513
+ */
2514
+ async getSqlConsoleOperationLogWithOptions(request, runtime) {
2515
+ request.validate();
2516
+ let query = {};
2517
+ if (!$dara.isNull(request.endTime)) {
2518
+ query["EndTime"] = request.endTime;
2519
+ }
2520
+ if (!$dara.isNull(request.instanceId)) {
2521
+ query["InstanceId"] = request.instanceId;
2522
+ }
2523
+ if (!$dara.isNull(request.pageNumber)) {
2524
+ query["PageNumber"] = request.pageNumber;
2525
+ }
2526
+ if (!$dara.isNull(request.pageSize)) {
2527
+ query["PageSize"] = request.pageSize;
2528
+ }
2529
+ if (!$dara.isNull(request.schema)) {
2530
+ query["Schema"] = request.schema;
2531
+ }
2532
+ if (!$dara.isNull(request.sqlType)) {
2533
+ query["SqlType"] = request.sqlType;
2534
+ }
2535
+ if (!$dara.isNull(request.startTime)) {
2536
+ query["StartTime"] = request.startTime;
2537
+ }
2538
+ if (!$dara.isNull(request.username)) {
2539
+ query["Username"] = request.username;
2540
+ }
2541
+ let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
2542
+ query: openapi_core_2.OpenApiUtil.query(query),
2543
+ });
2544
+ let params = new openapi_core_2.$OpenApiUtil.Params({
2545
+ action: "GetSqlConsoleOperationLog",
2546
+ version: "2025-04-14",
2547
+ protocol: "HTTPS",
2548
+ pathname: "/",
2549
+ method: "POST",
2550
+ authType: "AK",
2551
+ style: "RPC",
2552
+ reqBodyType: "formData",
2553
+ bodyType: "json",
2554
+ });
2555
+ return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetSqlConsoleOperationLogResponse({}));
2556
+ }
2557
+ /**
2558
+ * Queries the operation logs of the SQL window.
2559
+ *
2560
+ * @param request - GetSqlConsoleOperationLogRequest
2561
+ * @returns GetSqlConsoleOperationLogResponse
2562
+ */
2563
+ async getSqlConsoleOperationLog(request) {
2564
+ let runtime = new $dara.RuntimeOptions({});
2565
+ return await this.getSqlConsoleOperationLogWithOptions(request, runtime);
2566
+ }
2507
2567
  /**
2508
2568
  * Reads the content of a code file in the workspace and returns the file content along with mtime (in the header).
2509
2569
  *
@@ -2796,7 +2856,7 @@ class Client extends openapi_core_1.default {
2796
2856
  return await this.listCustomAgentWithOptions(request, runtime);
2797
2857
  }
2798
2858
  /**
2799
- * Retrieve a list of Data Agent session descriptions.
2859
+ * Retrieves the list of historical session descriptions for a Data Agent.
2800
2860
  *
2801
2861
  * @param request - ListDataAgentSessionRequest
2802
2862
  * @param runtime - runtime options for this request RuntimeOptions
@@ -2820,6 +2880,9 @@ class Client extends openapi_core_1.default {
2820
2880
  if (!$dara.isNull(request.isSaved)) {
2821
2881
  query["IsSaved"] = request.isSaved;
2822
2882
  }
2883
+ if (!$dara.isNull(request.mode)) {
2884
+ query["Mode"] = request.mode;
2885
+ }
2823
2886
  if (!$dara.isNull(request.pageNumber)) {
2824
2887
  query["PageNumber"] = request.pageNumber;
2825
2888
  }
@@ -2852,7 +2915,7 @@ class Client extends openapi_core_1.default {
2852
2915
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListDataAgentSessionResponse({}));
2853
2916
  }
2854
2917
  /**
2855
- * Retrieve a list of Data Agent session descriptions.
2918
+ * Retrieves the list of historical session descriptions for a Data Agent.
2856
2919
  *
2857
2920
  * @param request - ListDataAgentSessionRequest
2858
2921
  * @returns ListDataAgentSessionResponse
@@ -4336,16 +4399,16 @@ class Client extends openapi_core_1.default {
4336
4399
  return await this.saveWorkspaceCodeWithOptions(request, runtime);
4337
4400
  }
4338
4401
  /**
4339
- * Sends a user message to a specified session or cancels a session.
4402
+ * Send a user message to a specified session or cancel the session.
4340
4403
  *
4341
4404
  * @remarks
4342
4405
  * ## Request description
4343
4406
  * - `agent_id` and `session_id` are required fields.
4344
- * - `message_type` defaults to `primary`. Set it to `additional` when appending information or `cancel` when canceling a session.
4345
- * - `reply_to` indicates which Agent message this message responds to. The default value is `0`.
4407
+ * - `message_type` defaults to `primary`. When you need to append information or cancel a session, set it to `additional` or `cancel`.
4408
+ * - The `reply_to` field indicates which Agent message this message is responding to. The default value is `0`.
4346
4409
  * - When `message_type` is `additional`, the `question` field is required.
4347
- * - `quoted_message` can be used to quote the content of a previous user message.
4348
- * - `data_source`, `dms_user`, `db_metadata`, `session_config`, and other fields are optional but provide more detailed context information.
4410
+ * - `quoted_message` can be used to quote the content of the user\\"s previous message.
4411
+ * - Fields such as `data_source`, `dms_user`, `db_metadata`, and `session_config` are all optional, but provide more detailed context information.
4349
4412
  *
4350
4413
  * @param tmpReq - SendChatMessageRequest
4351
4414
  * @param runtime - runtime options for this request RuntimeOptions
@@ -4407,6 +4470,9 @@ class Client extends openapi_core_1.default {
4407
4470
  if (!$dara.isNull(request.taskConfigShrink)) {
4408
4471
  query["TaskConfig"] = request.taskConfigShrink;
4409
4472
  }
4473
+ if (!$dara.isNull(request.workspaceId)) {
4474
+ query["WorkspaceId"] = request.workspaceId;
4475
+ }
4410
4476
  let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
4411
4477
  query: openapi_core_2.OpenApiUtil.query(query),
4412
4478
  });
@@ -4424,16 +4490,16 @@ class Client extends openapi_core_1.default {
4424
4490
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.SendChatMessageResponse({}));
4425
4491
  }
4426
4492
  /**
4427
- * Sends a user message to a specified session or cancels a session.
4493
+ * Send a user message to a specified session or cancel the session.
4428
4494
  *
4429
4495
  * @remarks
4430
4496
  * ## Request description
4431
4497
  * - `agent_id` and `session_id` are required fields.
4432
- * - `message_type` defaults to `primary`. Set it to `additional` when appending information or `cancel` when canceling a session.
4433
- * - `reply_to` indicates which Agent message this message responds to. The default value is `0`.
4498
+ * - `message_type` defaults to `primary`. When you need to append information or cancel a session, set it to `additional` or `cancel`.
4499
+ * - The `reply_to` field indicates which Agent message this message is responding to. The default value is `0`.
4434
4500
  * - When `message_type` is `additional`, the `question` field is required.
4435
- * - `quoted_message` can be used to quote the content of a previous user message.
4436
- * - `data_source`, `dms_user`, `db_metadata`, `session_config`, and other fields are optional but provide more detailed context information.
4501
+ * - `quoted_message` can be used to quote the content of the user\\"s previous message.
4502
+ * - Fields such as `data_source`, `dms_user`, `db_metadata`, and `session_config` are all optional, but provide more detailed context information.
4437
4503
  *
4438
4504
  * @param request - SendChatMessageRequest
4439
4505
  * @returns SendChatMessageResponse