@alicloud/polardb20170801 8.2.0 → 8.2.1

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 (143) hide show
  1. package/dist/client.d.ts +48 -52
  2. package/dist/client.js +75 -52
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/AnswerKnowledgeBaseRequest.d.ts +31 -1
  5. package/dist/models/AnswerKnowledgeBaseRequest.js.map +1 -1
  6. package/dist/models/AnswerKnowledgeBaseResponseBody.d.ts +9 -0
  7. package/dist/models/AnswerKnowledgeBaseResponseBody.js.map +1 -1
  8. package/dist/models/CreateKbsyncLinkRequest.d.ts +3 -0
  9. package/dist/models/CreateKbsyncLinkRequest.js +6 -0
  10. package/dist/models/CreateKbsyncLinkRequest.js.map +1 -1
  11. package/dist/models/CreateStoragePlanRequest.d.ts +18 -9
  12. package/dist/models/CreateStoragePlanRequest.js.map +1 -1
  13. package/dist/models/DeleteDbclusterEndpointRequest.d.ts +4 -1
  14. package/dist/models/DeleteDbclusterEndpointRequest.js.map +1 -1
  15. package/dist/models/DeleteKnowledgeBaseFileRequest.d.ts +6 -0
  16. package/dist/models/DeleteKnowledgeBaseFileRequest.js.map +1 -1
  17. package/dist/models/DeleteKnowledgeBaseFileResponseBody.d.ts +3 -0
  18. package/dist/models/DeleteKnowledgeBaseFileResponseBody.js.map +1 -1
  19. package/dist/models/DescribeDbclusterAccessWhitelistRequest.d.ts +3 -0
  20. package/dist/models/DescribeDbclusterAccessWhitelistRequest.js.map +1 -1
  21. package/dist/models/DescribeDbclusterSslrequest.d.ts +4 -1
  22. package/dist/models/DescribeDbclusterSslrequest.js.map +1 -1
  23. package/dist/models/DescribeDbclusterSslresponseBody.d.ts +1 -1
  24. package/dist/models/DescribeDbclusterVersionRequest.d.ts +4 -6
  25. package/dist/models/DescribeDbclusterVersionRequest.js.map +1 -1
  26. package/dist/models/DescribeDbclusterVersionResponseBody.d.ts +56 -80
  27. package/dist/models/DescribeDbclusterVersionResponseBody.js.map +1 -1
  28. package/dist/models/DescribeKnowledgeBaseAnswerRequest.d.ts +6 -0
  29. package/dist/models/DescribeKnowledgeBaseAnswerRequest.js.map +1 -1
  30. package/dist/models/DescribeKnowledgeBaseAnswerResponseBody.d.ts +70 -3
  31. package/dist/models/DescribeKnowledgeBaseAnswerResponseBody.js.map +1 -1
  32. package/dist/models/DescribeKnowledgeBaseFileShardsRequest.d.ts +12 -0
  33. package/dist/models/DescribeKnowledgeBaseFileShardsRequest.js.map +1 -1
  34. package/dist/models/DescribeKnowledgeBaseFileShardsResponseBody.d.ts +33 -0
  35. package/dist/models/DescribeKnowledgeBaseFileShardsResponseBody.js.map +1 -1
  36. package/dist/models/DescribeKnowledgeBaseFilesRequest.d.ts +23 -1
  37. package/dist/models/DescribeKnowledgeBaseFilesRequest.js.map +1 -1
  38. package/dist/models/DescribeKnowledgeBaseFilesResponseBody.d.ts +117 -2
  39. package/dist/models/DescribeKnowledgeBaseFilesResponseBody.js.map +1 -1
  40. package/dist/models/DescribeKnowledgeSpaceAttributeRequest.d.ts +4 -0
  41. package/dist/models/DescribeKnowledgeSpaceAttributeRequest.js.map +1 -1
  42. package/dist/models/DescribeKnowledgeSpaceAttributeResponseBody.d.ts +113 -0
  43. package/dist/models/DescribeKnowledgeSpaceAttributeResponseBody.js.map +1 -1
  44. package/dist/models/DisableDbclusterServerlessRequest.d.ts +12 -0
  45. package/dist/models/DisableDbclusterServerlessRequest.js.map +1 -1
  46. package/dist/models/EnableDbclusterServerlessRequest.d.ts +12 -0
  47. package/dist/models/EnableDbclusterServerlessRequest.js.map +1 -1
  48. package/dist/models/ModifyDbclusterAccessWhitelistRequest.d.ts +11 -8
  49. package/dist/models/ModifyDbclusterAccessWhitelistRequest.js.map +1 -1
  50. package/dist/models/ModifyDbclusterArchRequest.d.ts +16 -9
  51. package/dist/models/ModifyDbclusterArchRequest.js.map +1 -1
  52. package/dist/models/ModifyDbclusterParametersRequest.d.ts +23 -27
  53. package/dist/models/ModifyDbclusterParametersRequest.js.map +1 -1
  54. package/dist/models/ModifyDbclusterSslrequest.d.ts +18 -9
  55. package/dist/models/ModifyDbclusterSslrequest.js.map +1 -1
  56. package/dist/models/ModifyDbclusterStoragePerformanceRequest.d.ts +22 -35
  57. package/dist/models/ModifyDbclusterStoragePerformanceRequest.js.map +1 -1
  58. package/dist/models/ModifyDbclusterStoragePerformanceResponseBody.d.ts +1 -1
  59. package/dist/models/RetrievalKnowledgeBaseRequest.d.ts +16 -1
  60. package/dist/models/RetrievalKnowledgeBaseRequest.js.map +1 -1
  61. package/dist/models/RetrievalKnowledgeBaseResponseBody.d.ts +42 -3
  62. package/dist/models/RetrievalKnowledgeBaseResponseBody.js.map +1 -1
  63. package/dist/models/RetryKnowledgeBaseFilesRequest.d.ts +6 -0
  64. package/dist/models/RetryKnowledgeBaseFilesRequest.js.map +1 -1
  65. package/dist/models/RetryKnowledgeBaseFilesResponseBody.d.ts +31 -0
  66. package/dist/models/RetryKnowledgeBaseFilesResponseBody.js.map +1 -1
  67. package/dist/models/TempModifyDbnodeRequest.d.ts +20 -13
  68. package/dist/models/TempModifyDbnodeRequest.js.map +1 -1
  69. package/dist/models/TransformDbclusterPayTypeRequest.d.ts +19 -10
  70. package/dist/models/TransformDbclusterPayTypeRequest.js.map +1 -1
  71. package/dist/models/TransformDbclusterPayTypeResponseBody.d.ts +2 -3
  72. package/dist/models/TransformDbclusterPayTypeResponseBody.js.map +1 -1
  73. package/dist/models/TriggerKnowledgeBaseSyncRequest.d.ts +7 -0
  74. package/dist/models/TriggerKnowledgeBaseSyncRequest.js.map +1 -1
  75. package/dist/models/TriggerKnowledgeBaseSyncResponseBody.d.ts +3 -0
  76. package/dist/models/TriggerKnowledgeBaseSyncResponseBody.js.map +1 -1
  77. package/dist/models/UpdateKbsyncLinkRequest.d.ts +6 -0
  78. package/dist/models/UpdateKbsyncLinkRequest.js +12 -0
  79. package/dist/models/UpdateKbsyncLinkRequest.js.map +1 -1
  80. package/dist/models/UpdateKnowledgeBaseFileShardingStrategyRequest.d.ts +57 -0
  81. package/dist/models/UpdateKnowledgeBaseFileShardingStrategyRequest.js.map +1 -1
  82. package/dist/models/UpdateKnowledgeBaseFileShardingStrategyResponseBody.d.ts +3 -0
  83. package/dist/models/UpdateKnowledgeBaseFileShardingStrategyResponseBody.js.map +1 -1
  84. package/dist/models/UpdateKnowledgeBaseFileShardingStrategyShrinkRequest.d.ts +13 -0
  85. package/dist/models/UpdateKnowledgeBaseFileShardingStrategyShrinkRequest.js.map +1 -1
  86. package/dist/models/UpdateKnowledgeBaseRequest.d.ts +19 -0
  87. package/dist/models/UpdateKnowledgeBaseRequest.js.map +1 -1
  88. package/dist/models/UpdateKnowledgeBaseResponseBody.d.ts +6 -0
  89. package/dist/models/UpdateKnowledgeBaseResponseBody.js.map +1 -1
  90. package/dist/models/UpdateKnowledgeSpaceRequest.d.ts +65 -0
  91. package/dist/models/UpdateKnowledgeSpaceRequest.js.map +1 -1
  92. package/dist/models/UpdateKnowledgeSpaceResponseBody.d.ts +9 -0
  93. package/dist/models/UpdateKnowledgeSpaceResponseBody.js.map +1 -1
  94. package/dist/models/UpdateKnowledgeSpaceShrinkRequest.d.ts +20 -0
  95. package/dist/models/UpdateKnowledgeSpaceShrinkRequest.js.map +1 -1
  96. package/package.json +1 -1
  97. package/src/client.ts +84 -52
  98. package/src/models/AnswerKnowledgeBaseRequest.ts +31 -1
  99. package/src/models/AnswerKnowledgeBaseResponseBody.ts +9 -0
  100. package/src/models/CreateKbsyncLinkRequest.ts +9 -0
  101. package/src/models/CreateStoragePlanRequest.ts +18 -9
  102. package/src/models/DeleteDbclusterEndpointRequest.ts +4 -1
  103. package/src/models/DeleteKnowledgeBaseFileRequest.ts +6 -0
  104. package/src/models/DeleteKnowledgeBaseFileResponseBody.ts +3 -0
  105. package/src/models/DescribeDbclusterAccessWhitelistRequest.ts +3 -0
  106. package/src/models/DescribeDbclusterSslrequest.ts +4 -1
  107. package/src/models/DescribeDbclusterSslresponseBody.ts +1 -1
  108. package/src/models/DescribeDbclusterVersionRequest.ts +4 -6
  109. package/src/models/DescribeDbclusterVersionResponseBody.ts +56 -80
  110. package/src/models/DescribeKnowledgeBaseAnswerRequest.ts +6 -0
  111. package/src/models/DescribeKnowledgeBaseAnswerResponseBody.ts +70 -3
  112. package/src/models/DescribeKnowledgeBaseFileShardsRequest.ts +12 -0
  113. package/src/models/DescribeKnowledgeBaseFileShardsResponseBody.ts +33 -0
  114. package/src/models/DescribeKnowledgeBaseFilesRequest.ts +23 -1
  115. package/src/models/DescribeKnowledgeBaseFilesResponseBody.ts +117 -2
  116. package/src/models/DescribeKnowledgeSpaceAttributeRequest.ts +4 -0
  117. package/src/models/DescribeKnowledgeSpaceAttributeResponseBody.ts +113 -0
  118. package/src/models/DisableDbclusterServerlessRequest.ts +12 -0
  119. package/src/models/EnableDbclusterServerlessRequest.ts +12 -0
  120. package/src/models/ModifyDbclusterAccessWhitelistRequest.ts +11 -8
  121. package/src/models/ModifyDbclusterArchRequest.ts +16 -9
  122. package/src/models/ModifyDbclusterParametersRequest.ts +24 -28
  123. package/src/models/ModifyDbclusterSslrequest.ts +18 -9
  124. package/src/models/ModifyDbclusterStoragePerformanceRequest.ts +22 -35
  125. package/src/models/ModifyDbclusterStoragePerformanceResponseBody.ts +1 -1
  126. package/src/models/RetrievalKnowledgeBaseRequest.ts +16 -1
  127. package/src/models/RetrievalKnowledgeBaseResponseBody.ts +42 -3
  128. package/src/models/RetryKnowledgeBaseFilesRequest.ts +6 -0
  129. package/src/models/RetryKnowledgeBaseFilesResponseBody.ts +31 -0
  130. package/src/models/TempModifyDbnodeRequest.ts +20 -13
  131. package/src/models/TransformDbclusterPayTypeRequest.ts +19 -10
  132. package/src/models/TransformDbclusterPayTypeResponseBody.ts +2 -3
  133. package/src/models/TriggerKnowledgeBaseSyncRequest.ts +7 -0
  134. package/src/models/TriggerKnowledgeBaseSyncResponseBody.ts +3 -0
  135. package/src/models/UpdateKbsyncLinkRequest.ts +18 -0
  136. package/src/models/UpdateKnowledgeBaseFileShardingStrategyRequest.ts +57 -0
  137. package/src/models/UpdateKnowledgeBaseFileShardingStrategyResponseBody.ts +3 -0
  138. package/src/models/UpdateKnowledgeBaseFileShardingStrategyShrinkRequest.ts +13 -0
  139. package/src/models/UpdateKnowledgeBaseRequest.ts +19 -0
  140. package/src/models/UpdateKnowledgeBaseResponseBody.ts +6 -0
  141. package/src/models/UpdateKnowledgeSpaceRequest.ts +65 -0
  142. package/src/models/UpdateKnowledgeSpaceResponseBody.ts +9 -0
  143. package/src/models/UpdateKnowledgeSpaceShrinkRequest.ts +20 -0
package/dist/client.js CHANGED
@@ -606,7 +606,7 @@ class Client extends openapi_core_1.default {
606
606
  return await this.addSQLRateLimitingRulesWithOptions(request, runtime);
607
607
  }
608
608
  /**
609
- * 知识库单轮问答
609
+ * Performs a single-round knowledge base question answering.
610
610
  *
611
611
  * @param request - AnswerKnowledgeBaseRequest
612
612
  * @param runtime - runtime options for this request RuntimeOptions
@@ -665,7 +665,7 @@ class Client extends openapi_core_1.default {
665
665
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.AnswerKnowledgeBaseResponse({}));
666
666
  }
667
667
  /**
668
- * 知识库单轮问答
668
+ * Performs a single-round knowledge base question answering.
669
669
  *
670
670
  * @param request - AnswerKnowledgeBaseRequest
671
671
  * @returns AnswerKnowledgeBaseResponse
@@ -4774,9 +4774,15 @@ class Client extends openapi_core_1.default {
4774
4774
  if (!$dara.isNull(request.linkName)) {
4775
4775
  query["LinkName"] = request.linkName;
4776
4776
  }
4777
+ if (!$dara.isNull(request.mcpEndpoint)) {
4778
+ query["McpEndpoint"] = request.mcpEndpoint;
4779
+ }
4777
4780
  if (!$dara.isNull(request.regionId)) {
4778
4781
  query["RegionId"] = request.regionId;
4779
4782
  }
4783
+ if (!$dara.isNull(request.sheetMcpEndpoint)) {
4784
+ query["SheetMcpEndpoint"] = request.sheetMcpEndpoint;
4785
+ }
4780
4786
  if (!$dara.isNull(request.sourceDir)) {
4781
4787
  query["SourceDir"] = request.sourceDir;
4782
4788
  }
@@ -4789,6 +4795,9 @@ class Client extends openapi_core_1.default {
4789
4795
  if (!$dara.isNull(request.tenantId)) {
4790
4796
  query["TenantId"] = request.tenantId;
4791
4797
  }
4798
+ if (!$dara.isNull(request.userId)) {
4799
+ query["UserId"] = request.userId;
4800
+ }
4792
4801
  let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
4793
4802
  query: openapi_core_2.OpenApiUtil.query(query),
4794
4803
  });
@@ -6992,7 +7001,7 @@ class Client extends openapi_core_1.default {
6992
7001
  return await this.deleteDBClusterWithOptions(request, runtime);
6993
7002
  }
6994
7003
  /**
6995
- * Deletes a custom cluster endpoint for a PolarDB cluster.
7004
+ * Releases a custom cluster endpoint of a PolarDB cluster.
6996
7005
  *
6997
7006
  * @param request - DeleteDBClusterEndpointRequest
6998
7007
  * @param runtime - runtime options for this request RuntimeOptions
@@ -7039,7 +7048,7 @@ class Client extends openapi_core_1.default {
7039
7048
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.DeleteDBClusterEndpointResponse({}));
7040
7049
  }
7041
7050
  /**
7042
- * Deletes a custom cluster endpoint for a PolarDB cluster.
7051
+ * Releases a custom cluster endpoint of a PolarDB cluster.
7043
7052
  *
7044
7053
  * @param request - DeleteDBClusterEndpointRequest
7045
7054
  * @returns DeleteDBClusterEndpointResponse
@@ -7880,7 +7889,7 @@ class Client extends openapi_core_1.default {
7880
7889
  return await this.deleteKnowledgeBaseWithOptions(request, runtime);
7881
7890
  }
7882
7891
  /**
7883
- * 删除知识库文件
7892
+ * Deletes a knowledge base file.
7884
7893
  *
7885
7894
  * @param request - DeleteKnowledgeBaseFileRequest
7886
7895
  * @param runtime - runtime options for this request RuntimeOptions
@@ -7915,7 +7924,7 @@ class Client extends openapi_core_1.default {
7915
7924
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.DeleteKnowledgeBaseFileResponse({}));
7916
7925
  }
7917
7926
  /**
7918
- * 删除知识库文件
7927
+ * Deletes a knowledge base file.
7919
7928
  *
7920
7929
  * @param request - DeleteKnowledgeBaseFileRequest
7921
7930
  * @returns DeleteKnowledgeBaseFileResponse
@@ -13144,10 +13153,10 @@ class Client extends openapi_core_1.default {
13144
13153
  return await this.describeDBClusterTDEWithOptions(request, runtime);
13145
13154
  }
13146
13155
  /**
13147
- * Retrieves the details of the current kernel version for a PolarDB for MySQL cluster.
13156
+ * Queries the details of the current Milvus version of a PolarDB for MySQL cluster.
13148
13157
  *
13149
13158
  * @remarks
13150
- * > For more information about the kernel versions of PolarDB for MySQL clusters, see [Kernel version guide](https://help.aliyun.com/document_detail/471239.html) and [Kernel release notes](https://help.aliyun.com/document_detail/423884.html).
13159
+ * >For more information about the minor Milvus versions and details of PolarDB for MySQL Cluster Edition, see [Minor Milvus version description](https://help.aliyun.com/document_detail/471239.html) and [Release notes](https://help.aliyun.com/document_detail/423884.html).
13151
13160
  *
13152
13161
  * @param request - DescribeDBClusterVersionRequest
13153
13162
  * @param runtime - runtime options for this request RuntimeOptions
@@ -13191,10 +13200,10 @@ class Client extends openapi_core_1.default {
13191
13200
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeDBClusterVersionResponse({}));
13192
13201
  }
13193
13202
  /**
13194
- * Retrieves the details of the current kernel version for a PolarDB for MySQL cluster.
13203
+ * Queries the details of the current Milvus version of a PolarDB for MySQL cluster.
13195
13204
  *
13196
13205
  * @remarks
13197
- * > For more information about the kernel versions of PolarDB for MySQL clusters, see [Kernel version guide](https://help.aliyun.com/document_detail/471239.html) and [Kernel release notes](https://help.aliyun.com/document_detail/423884.html).
13206
+ * >For more information about the minor Milvus versions and details of PolarDB for MySQL Cluster Edition, see [Minor Milvus version description](https://help.aliyun.com/document_detail/471239.html) and [Release notes](https://help.aliyun.com/document_detail/423884.html).
13198
13207
  *
13199
13208
  * @param request - DescribeDBClusterVersionRequest
13200
13209
  * @returns DescribeDBClusterVersionResponse
@@ -15355,7 +15364,7 @@ class Client extends openapi_core_1.default {
15355
15364
  return await this.describeKBSyncLinksWithOptions(request, runtime);
15356
15365
  }
15357
15366
  /**
15358
- * 查询知识库单轮问答结果
15367
+ * Queries the result of a single-turn Q&A task in a knowledge base.
15359
15368
  *
15360
15369
  * @param request - DescribeKnowledgeBaseAnswerRequest
15361
15370
  * @param runtime - runtime options for this request RuntimeOptions
@@ -15390,7 +15399,7 @@ class Client extends openapi_core_1.default {
15390
15399
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeKnowledgeBaseAnswerResponse({}));
15391
15400
  }
15392
15401
  /**
15393
- * 查询知识库单轮问答结果
15402
+ * Queries the result of a single-turn Q&A task in a knowledge base.
15394
15403
  *
15395
15404
  * @param request - DescribeKnowledgeBaseAnswerRequest
15396
15405
  * @returns DescribeKnowledgeBaseAnswerResponse
@@ -15442,7 +15451,7 @@ class Client extends openapi_core_1.default {
15442
15451
  return await this.describeKnowledgeBaseAttributeWithOptions(request, runtime);
15443
15452
  }
15444
15453
  /**
15445
- * 查询知识库文件分片列表
15454
+ * Queries the list of file shards in a knowledge base.
15446
15455
  *
15447
15456
  * @param request - DescribeKnowledgeBaseFileShardsRequest
15448
15457
  * @param runtime - runtime options for this request RuntimeOptions
@@ -15483,7 +15492,7 @@ class Client extends openapi_core_1.default {
15483
15492
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeKnowledgeBaseFileShardsResponse({}));
15484
15493
  }
15485
15494
  /**
15486
- * 查询知识库文件分片列表
15495
+ * Queries the list of file shards in a knowledge base.
15487
15496
  *
15488
15497
  * @param request - DescribeKnowledgeBaseFileShardsRequest
15489
15498
  * @returns DescribeKnowledgeBaseFileShardsResponse
@@ -15493,7 +15502,7 @@ class Client extends openapi_core_1.default {
15493
15502
  return await this.describeKnowledgeBaseFileShardsWithOptions(request, runtime);
15494
15503
  }
15495
15504
  /**
15496
- * 查询知识库文件列表
15505
+ * Queries the list of files in a knowledge base.
15497
15506
  *
15498
15507
  * @param request - DescribeKnowledgeBaseFilesRequest
15499
15508
  * @param runtime - runtime options for this request RuntimeOptions
@@ -15543,7 +15552,7 @@ class Client extends openapi_core_1.default {
15543
15552
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeKnowledgeBaseFilesResponse({}));
15544
15553
  }
15545
15554
  /**
15546
- * 查询知识库文件列表
15555
+ * Queries the list of files in a knowledge base.
15547
15556
  *
15548
15557
  * @param request - DescribeKnowledgeBaseFilesRequest
15549
15558
  * @returns DescribeKnowledgeBaseFilesResponse
@@ -15607,7 +15616,7 @@ class Client extends openapi_core_1.default {
15607
15616
  return await this.describeKnowledgeBasesWithOptions(request, runtime);
15608
15617
  }
15609
15618
  /**
15610
- * 查询知识空间详情
15619
+ * Queries the details of a knowledge space.
15611
15620
  *
15612
15621
  * @param request - DescribeKnowledgeSpaceAttributeRequest
15613
15622
  * @param runtime - runtime options for this request RuntimeOptions
@@ -15639,7 +15648,7 @@ class Client extends openapi_core_1.default {
15639
15648
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeKnowledgeSpaceAttributeResponse({}));
15640
15649
  }
15641
15650
  /**
15642
- * 查询知识空间详情
15651
+ * Queries the details of a knowledge space.
15643
15652
  *
15644
15653
  * @param request - DescribeKnowledgeSpaceAttributeRequest
15645
15654
  * @returns DescribeKnowledgeSpaceAttributeResponse
@@ -18742,7 +18751,7 @@ class Client extends openapi_core_1.default {
18742
18751
  return await this.disableDBClusterOrcaWithOptions(request, runtime);
18743
18752
  }
18744
18753
  /**
18745
- * Disables steady-state serverless.
18754
+ * Disables steady-state Serverless.
18746
18755
  *
18747
18756
  * @param request - DisableDBClusterServerlessRequest
18748
18757
  * @param runtime - runtime options for this request RuntimeOptions
@@ -18792,7 +18801,7 @@ class Client extends openapi_core_1.default {
18792
18801
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.DisableDBClusterServerlessResponse({}));
18793
18802
  }
18794
18803
  /**
18795
- * Disables steady-state serverless.
18804
+ * Disables steady-state Serverless.
18796
18805
  *
18797
18806
  * @param request - DisableDBClusterServerlessRequest
18798
18807
  * @returns DisableDBClusterServerlessResponse
@@ -22773,11 +22782,11 @@ class Client extends openapi_core_1.default {
22773
22782
  return await this.modifyDBClusterMonitorWithOptions(request, runtime);
22774
22783
  }
22775
22784
  /**
22776
- * Modifies the parameters of a PolarDB cluster or applies an existing parameter template to a destination cluster.
22785
+ * Modifies the parameters of a PolarDB cluster or applies an existing parameter template to the specified cluster.
22777
22786
  *
22778
22787
  * @remarks
22779
- * The parameter template feature in PolarDB lets you centrally manage parameters and apply them to your clusters. For more information, see [Use parameter templates](https://help.aliyun.com/document_detail/207009.html).
22780
- * > The parameter template feature is available only for PolarDB for MySQL.
22788
+ * PolarDB provides the parameter template feature. You can use parameter templates to centrally manage parameters and quickly apply them to clusters. For more information, see [Use parameter templates](https://help.aliyun.com/document_detail/207009.html).
22789
+ * > Currently, only PolarDB for MySQL supports the parameter template feature.
22781
22790
  *
22782
22791
  * @param request - ModifyDBClusterParametersRequest
22783
22792
  * @param runtime - runtime options for this request RuntimeOptions
@@ -22836,11 +22845,11 @@ class Client extends openapi_core_1.default {
22836
22845
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.ModifyDBClusterParametersResponse({}));
22837
22846
  }
22838
22847
  /**
22839
- * Modifies the parameters of a PolarDB cluster or applies an existing parameter template to a destination cluster.
22848
+ * Modifies the parameters of a PolarDB cluster or applies an existing parameter template to the specified cluster.
22840
22849
  *
22841
22850
  * @remarks
22842
- * The parameter template feature in PolarDB lets you centrally manage parameters and apply them to your clusters. For more information, see [Use parameter templates](https://help.aliyun.com/document_detail/207009.html).
22843
- * > The parameter template feature is available only for PolarDB for MySQL.
22851
+ * PolarDB provides the parameter template feature. You can use parameter templates to centrally manage parameters and quickly apply them to clusters. For more information, see [Use parameter templates](https://help.aliyun.com/document_detail/207009.html).
22852
+ * > Currently, only PolarDB for MySQL supports the parameter template feature.
22844
22853
  *
22845
22854
  * @param request - ModifyDBClusterParametersRequest
22846
22855
  * @returns ModifyDBClusterParametersResponse
@@ -22982,7 +22991,7 @@ class Client extends openapi_core_1.default {
22982
22991
  return await this.modifyDBClusterResourceGroupWithOptions(request, runtime);
22983
22992
  }
22984
22993
  /**
22985
- * Enables or performs shutdown of the Secure Sockets Layer (SSL) encryption feature for a PolarDB cluster, or updates the CA certificate of a PolarDB cluster.
22994
+ * Enables or shuts down the Secure Sockets Layer (SSL) encryption feature for a PolarDB cluster, or updates the CA certificate of a PolarDB cluster.
22986
22995
  *
22987
22996
  * @param request - ModifyDBClusterSSLRequest
22988
22997
  * @param runtime - runtime options for this request RuntimeOptions
@@ -23044,7 +23053,7 @@ class Client extends openapi_core_1.default {
23044
23053
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.ModifyDBClusterSSLResponse({}));
23045
23054
  }
23046
23055
  /**
23047
- * Enables or performs shutdown of the Secure Sockets Layer (SSL) encryption feature for a PolarDB cluster, or updates the CA certificate of a PolarDB cluster.
23056
+ * Enables or shuts down the Secure Sockets Layer (SSL) encryption feature for a PolarDB cluster, or updates the CA certificate of a PolarDB cluster.
23048
23057
  *
23049
23058
  * @param request - ModifyDBClusterSSLRequest
23050
23059
  * @returns ModifyDBClusterSSLResponse
@@ -26371,7 +26380,7 @@ class Client extends openapi_core_1.default {
26371
26380
  return await this.restoreTableWithOptions(request, runtime);
26372
26381
  }
26373
26382
  /**
26374
- * 检索知识库
26383
+ * Retrieves information from a knowledge base.
26375
26384
  *
26376
26385
  * @param request - RetrievalKnowledgeBaseRequest
26377
26386
  * @param runtime - runtime options for this request RuntimeOptions
@@ -26415,7 +26424,7 @@ class Client extends openapi_core_1.default {
26415
26424
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.RetrievalKnowledgeBaseResponse({}));
26416
26425
  }
26417
26426
  /**
26418
- * 检索知识库
26427
+ * Retrieves information from a knowledge base.
26419
26428
  *
26420
26429
  * @param request - RetrievalKnowledgeBaseRequest
26421
26430
  * @returns RetrievalKnowledgeBaseResponse
@@ -26425,7 +26434,7 @@ class Client extends openapi_core_1.default {
26425
26434
  return await this.retrievalKnowledgeBaseWithOptions(request, runtime);
26426
26435
  }
26427
26436
  /**
26428
- * 批量重试知识库失败文件
26437
+ * Retries failed files in a knowledge base in batches.
26429
26438
  *
26430
26439
  * @param request - RetryKnowledgeBaseFilesRequest
26431
26440
  * @param runtime - runtime options for this request RuntimeOptions
@@ -26460,7 +26469,7 @@ class Client extends openapi_core_1.default {
26460
26469
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.RetryKnowledgeBaseFilesResponse({}));
26461
26470
  }
26462
26471
  /**
26463
- * 批量重试知识库失败文件
26472
+ * Retries failed files in a knowledge base in batches.
26464
26473
  *
26465
26474
  * @param request - RetryKnowledgeBaseFilesRequest
26466
26475
  * @returns RetryKnowledgeBaseFilesResponse
@@ -26928,7 +26937,7 @@ class Client extends openapi_core_1.default {
26928
26937
  return await this.tagResourcesWithOptions(request, runtime);
26929
26938
  }
26930
26939
  /**
26931
- * Temporarily Modifies the configuration of a node.
26940
+ * Temporarily changes the specifications of a cluster.
26932
26941
  *
26933
26942
  * @param request - TempModifyDBNodeRequest
26934
26943
  * @param runtime - runtime options for this request RuntimeOptions
@@ -26990,7 +26999,7 @@ class Client extends openapi_core_1.default {
26990
26999
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.TempModifyDBNodeResponse({}));
26991
27000
  }
26992
27001
  /**
26993
- * Temporarily Modifies the configuration of a node.
27002
+ * Temporarily changes the specifications of a cluster.
26994
27003
  *
26995
27004
  * @param request - TempModifyDBNodeRequest
26996
27005
  * @returns TempModifyDBNodeResponse
@@ -27003,11 +27012,9 @@ class Client extends openapi_core_1.default {
27003
27012
  * Changes the billing method of a PolarDB cluster.
27004
27013
  *
27005
27014
  * @remarks
27006
- * > - PolarDB clusters support two billing methods: subscription and pay-as-you-go. You can change the billing method of a cluster from subscription to pay-as-you-go, or from pay-as-you-go to subscription. For more information, see [Change the billing method from subscription to pay-as-you-go](https://help.aliyun.com/document_detail/172886.html) and [Change the billing method from pay-as-you-go to subscription](https://help.aliyun.com/document_detail/84076.html).
27007
- * >
27008
- * > - You cannot change the billing method from pay-as-you-go to subscription if your Alibaba Cloud account has an insufficient balance.
27009
- * >
27010
- * > - When you change the billing method from subscription to pay-as-you-go, the system automatically refunds your remaining prepaid fees.
27015
+ * > - PolarDB clusters support subscription and pay-as-you-go billing methods. You can change the billing method from subscription to pay-as-you-go or from pay-as-you-go to subscription based on your business requirements. For more information, see [Change from subscription to pay-as-you-go](https://help.aliyun.com/document_detail/172886.html) and [Change from pay-as-you-go to subscription](https://help.aliyun.com/document_detail/84076.html).
27016
+ * >- If your Alibaba Cloud account balance is insufficient, you cannot change the pay-as-you-go billing method to subscription.
27017
+ * >- When you change the billing method from subscription to pay-as-you-go, the system automatically refunds the remaining balance of the fees that you have paid.
27011
27018
  *
27012
27019
  * @param request - TransformDBClusterPayTypeRequest
27013
27020
  * @param runtime - runtime options for this request RuntimeOptions
@@ -27075,11 +27082,9 @@ class Client extends openapi_core_1.default {
27075
27082
  * Changes the billing method of a PolarDB cluster.
27076
27083
  *
27077
27084
  * @remarks
27078
- * > - PolarDB clusters support two billing methods: subscription and pay-as-you-go. You can change the billing method of a cluster from subscription to pay-as-you-go, or from pay-as-you-go to subscription. For more information, see [Change the billing method from subscription to pay-as-you-go](https://help.aliyun.com/document_detail/172886.html) and [Change the billing method from pay-as-you-go to subscription](https://help.aliyun.com/document_detail/84076.html).
27079
- * >
27080
- * > - You cannot change the billing method from pay-as-you-go to subscription if your Alibaba Cloud account has an insufficient balance.
27081
- * >
27082
- * > - When you change the billing method from subscription to pay-as-you-go, the system automatically refunds your remaining prepaid fees.
27085
+ * > - PolarDB clusters support subscription and pay-as-you-go billing methods. You can change the billing method from subscription to pay-as-you-go or from pay-as-you-go to subscription based on your business requirements. For more information, see [Change from subscription to pay-as-you-go](https://help.aliyun.com/document_detail/172886.html) and [Change from pay-as-you-go to subscription](https://help.aliyun.com/document_detail/84076.html).
27086
+ * >- If your Alibaba Cloud account balance is insufficient, you cannot change the pay-as-you-go billing method to subscription.
27087
+ * >- When you change the billing method from subscription to pay-as-you-go, the system automatically refunds the remaining balance of the fees that you have paid.
27083
27088
  *
27084
27089
  * @param request - TransformDBClusterPayTypeRequest
27085
27090
  * @returns TransformDBClusterPayTypeResponse
@@ -27089,7 +27094,7 @@ class Client extends openapi_core_1.default {
27089
27094
  return await this.transformDBClusterPayTypeWithOptions(request, runtime);
27090
27095
  }
27091
27096
  /**
27092
- * 触发知识库同步
27097
+ * Triggers knowledge base synchronization.
27093
27098
  *
27094
27099
  * @param request - TriggerKnowledgeBaseSyncRequest
27095
27100
  * @param runtime - runtime options for this request RuntimeOptions
@@ -27124,7 +27129,7 @@ class Client extends openapi_core_1.default {
27124
27129
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.TriggerKnowledgeBaseSyncResponse({}));
27125
27130
  }
27126
27131
  /**
27127
- * 触发知识库同步
27132
+ * Triggers knowledge base synchronization.
27128
27133
  *
27129
27134
  * @param request - TriggerKnowledgeBaseSyncRequest
27130
27135
  * @returns TriggerKnowledgeBaseSyncResponse
@@ -27486,18 +27491,36 @@ class Client extends openapi_core_1.default {
27486
27491
  async updateKBSyncLinkWithOptions(request, runtime) {
27487
27492
  request.validate();
27488
27493
  let query = {};
27494
+ if (!$dara.isNull(request.clientId)) {
27495
+ query["ClientId"] = request.clientId;
27496
+ }
27497
+ if (!$dara.isNull(request.clientSecret)) {
27498
+ query["ClientSecret"] = request.clientSecret;
27499
+ }
27489
27500
  if (!$dara.isNull(request.knowledgeBaseId)) {
27490
27501
  query["KnowledgeBaseId"] = request.knowledgeBaseId;
27491
27502
  }
27492
27503
  if (!$dara.isNull(request.linkId)) {
27493
27504
  query["LinkId"] = request.linkId;
27494
27505
  }
27506
+ if (!$dara.isNull(request.mcpEndpoint)) {
27507
+ query["McpEndpoint"] = request.mcpEndpoint;
27508
+ }
27495
27509
  if (!$dara.isNull(request.regionId)) {
27496
27510
  query["RegionId"] = request.regionId;
27497
27511
  }
27512
+ if (!$dara.isNull(request.sheetMcpEndpoint)) {
27513
+ query["SheetMcpEndpoint"] = request.sheetMcpEndpoint;
27514
+ }
27515
+ if (!$dara.isNull(request.syncEnabled)) {
27516
+ query["SyncEnabled"] = request.syncEnabled;
27517
+ }
27498
27518
  if (!$dara.isNull(request.syncIntervalMinutes)) {
27499
27519
  query["SyncIntervalMinutes"] = request.syncIntervalMinutes;
27500
27520
  }
27521
+ if (!$dara.isNull(request.userId)) {
27522
+ query["UserId"] = request.userId;
27523
+ }
27501
27524
  let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
27502
27525
  query: openapi_core_2.OpenApiUtil.query(query),
27503
27526
  });
@@ -27525,7 +27548,7 @@ class Client extends openapi_core_1.default {
27525
27548
  return await this.updateKBSyncLinkWithOptions(request, runtime);
27526
27549
  }
27527
27550
  /**
27528
- * 更新知识库
27551
+ * Updates a knowledge base.
27529
27552
  *
27530
27553
  * @param request - UpdateKnowledgeBaseRequest
27531
27554
  * @param runtime - runtime options for this request RuntimeOptions
@@ -27566,7 +27589,7 @@ class Client extends openapi_core_1.default {
27566
27589
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.UpdateKnowledgeBaseResponse({}));
27567
27590
  }
27568
27591
  /**
27569
- * 更新知识库
27592
+ * Updates a knowledge base.
27570
27593
  *
27571
27594
  * @param request - UpdateKnowledgeBaseRequest
27572
27595
  * @returns UpdateKnowledgeBaseResponse
@@ -27576,7 +27599,7 @@ class Client extends openapi_core_1.default {
27576
27599
  return await this.updateKnowledgeBaseWithOptions(request, runtime);
27577
27600
  }
27578
27601
  /**
27579
- * 更新知识库文件分块策略
27602
+ * Updates the chunking strategy for a file in a knowledge base.
27580
27603
  *
27581
27604
  * @param tmpReq - UpdateKnowledgeBaseFileShardingStrategyRequest
27582
27605
  * @param runtime - runtime options for this request RuntimeOptions
@@ -27622,7 +27645,7 @@ class Client extends openapi_core_1.default {
27622
27645
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.UpdateKnowledgeBaseFileShardingStrategyResponse({}));
27623
27646
  }
27624
27647
  /**
27625
- * 更新知识库文件分块策略
27648
+ * Updates the chunking strategy for a file in a knowledge base.
27626
27649
  *
27627
27650
  * @param request - UpdateKnowledgeBaseFileShardingStrategyRequest
27628
27651
  * @returns UpdateKnowledgeBaseFileShardingStrategyResponse
@@ -27632,7 +27655,7 @@ class Client extends openapi_core_1.default {
27632
27655
  return await this.updateKnowledgeBaseFileShardingStrategyWithOptions(request, runtime);
27633
27656
  }
27634
27657
  /**
27635
- * 更新知识空间
27658
+ * Updates a knowledge space.
27636
27659
  *
27637
27660
  * @param tmpReq - UpdateKnowledgeSpaceRequest
27638
27661
  * @param runtime - runtime options for this request RuntimeOptions
@@ -27684,7 +27707,7 @@ class Client extends openapi_core_1.default {
27684
27707
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.UpdateKnowledgeSpaceResponse({}));
27685
27708
  }
27686
27709
  /**
27687
- * 更新知识空间
27710
+ * Updates a knowledge space.
27688
27711
  *
27689
27712
  * @param request - UpdateKnowledgeSpaceRequest
27690
27713
  * @returns UpdateKnowledgeSpaceResponse