@alicloud/polardb20170801 8.2.0 → 8.2.2

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 (163) hide show
  1. package/dist/client.d.ts +56 -60
  2. package/dist/client.js +83 -82
  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 +47 -0
  9. package/dist/models/CreateKbsyncLinkRequest.js +6 -0
  10. package/dist/models/CreateKbsyncLinkRequest.js.map +1 -1
  11. package/dist/models/CreateKbsyncLinkResponseBody.d.ts +36 -0
  12. package/dist/models/CreateKbsyncLinkResponseBody.js.map +1 -1
  13. package/dist/models/CreateStoragePlanRequest.d.ts +18 -9
  14. package/dist/models/CreateStoragePlanRequest.js.map +1 -1
  15. package/dist/models/DeleteDbclusterEndpointRequest.d.ts +4 -1
  16. package/dist/models/DeleteDbclusterEndpointRequest.js.map +1 -1
  17. package/dist/models/DeleteKbsyncLinkRequest.d.ts +6 -0
  18. package/dist/models/DeleteKbsyncLinkRequest.js.map +1 -1
  19. package/dist/models/DeleteKbsyncLinkResponseBody.d.ts +3 -0
  20. package/dist/models/DeleteKbsyncLinkResponseBody.js.map +1 -1
  21. package/dist/models/DeleteKnowledgeBaseFileRequest.d.ts +6 -0
  22. package/dist/models/DeleteKnowledgeBaseFileRequest.js.map +1 -1
  23. package/dist/models/DeleteKnowledgeBaseFileResponseBody.d.ts +3 -0
  24. package/dist/models/DeleteKnowledgeBaseFileResponseBody.js.map +1 -1
  25. package/dist/models/DescribeDbclusterAccessWhitelistRequest.d.ts +3 -0
  26. package/dist/models/DescribeDbclusterAccessWhitelistRequest.js.map +1 -1
  27. package/dist/models/DescribeDbclusterSslrequest.d.ts +4 -1
  28. package/dist/models/DescribeDbclusterSslrequest.js.map +1 -1
  29. package/dist/models/DescribeDbclusterSslresponseBody.d.ts +1 -1
  30. package/dist/models/DescribeDbclusterVersionRequest.d.ts +4 -6
  31. package/dist/models/DescribeDbclusterVersionRequest.js.map +1 -1
  32. package/dist/models/DescribeDbclusterVersionResponseBody.d.ts +56 -80
  33. package/dist/models/DescribeDbclusterVersionResponseBody.js.map +1 -1
  34. package/dist/models/DescribeKbsyncLinksRequest.d.ts +7 -0
  35. package/dist/models/DescribeKbsyncLinksRequest.js.map +1 -1
  36. package/dist/models/DescribeKbsyncLinksResponseBody.d.ts +38 -0
  37. package/dist/models/DescribeKbsyncLinksResponseBody.js.map +1 -1
  38. package/dist/models/DescribeKnowledgeBaseAnswerRequest.d.ts +6 -0
  39. package/dist/models/DescribeKnowledgeBaseAnswerRequest.js.map +1 -1
  40. package/dist/models/DescribeKnowledgeBaseAnswerResponseBody.d.ts +70 -3
  41. package/dist/models/DescribeKnowledgeBaseAnswerResponseBody.js.map +1 -1
  42. package/dist/models/DescribeKnowledgeBaseFileShardsRequest.d.ts +12 -0
  43. package/dist/models/DescribeKnowledgeBaseFileShardsRequest.js.map +1 -1
  44. package/dist/models/DescribeKnowledgeBaseFileShardsResponseBody.d.ts +33 -0
  45. package/dist/models/DescribeKnowledgeBaseFileShardsResponseBody.js.map +1 -1
  46. package/dist/models/DescribeKnowledgeBaseFilesRequest.d.ts +23 -1
  47. package/dist/models/DescribeKnowledgeBaseFilesRequest.js.map +1 -1
  48. package/dist/models/DescribeKnowledgeBaseFilesResponseBody.d.ts +117 -2
  49. package/dist/models/DescribeKnowledgeBaseFilesResponseBody.js.map +1 -1
  50. package/dist/models/DescribeKnowledgeSpaceAttributeRequest.d.ts +4 -0
  51. package/dist/models/DescribeKnowledgeSpaceAttributeRequest.js.map +1 -1
  52. package/dist/models/DescribeKnowledgeSpaceAttributeResponseBody.d.ts +113 -0
  53. package/dist/models/DescribeKnowledgeSpaceAttributeResponseBody.js.map +1 -1
  54. package/dist/models/DisableDbclusterServerlessRequest.d.ts +12 -0
  55. package/dist/models/DisableDbclusterServerlessRequest.js.map +1 -1
  56. package/dist/models/EnableDbclusterServerlessRequest.d.ts +12 -0
  57. package/dist/models/EnableDbclusterServerlessRequest.js.map +1 -1
  58. package/dist/models/ModifyDbclusterAccessWhitelistRequest.d.ts +11 -8
  59. package/dist/models/ModifyDbclusterAccessWhitelistRequest.js.map +1 -1
  60. package/dist/models/ModifyDbclusterArchRequest.d.ts +16 -9
  61. package/dist/models/ModifyDbclusterArchRequest.js.map +1 -1
  62. package/dist/models/ModifyDbclusterParametersRequest.d.ts +23 -27
  63. package/dist/models/ModifyDbclusterParametersRequest.js.map +1 -1
  64. package/dist/models/ModifyDbclusterSslrequest.d.ts +18 -9
  65. package/dist/models/ModifyDbclusterSslrequest.js.map +1 -1
  66. package/dist/models/ModifyDbclusterStoragePerformanceRequest.d.ts +22 -35
  67. package/dist/models/ModifyDbclusterStoragePerformanceRequest.js.map +1 -1
  68. package/dist/models/ModifyDbclusterStoragePerformanceResponseBody.d.ts +1 -1
  69. package/dist/models/ModifyPolarFsMappingAuthRequest.d.ts +2 -2
  70. package/dist/models/RetrievalKnowledgeBaseRequest.d.ts +16 -1
  71. package/dist/models/RetrievalKnowledgeBaseRequest.js.map +1 -1
  72. package/dist/models/RetrievalKnowledgeBaseResponseBody.d.ts +42 -3
  73. package/dist/models/RetrievalKnowledgeBaseResponseBody.js.map +1 -1
  74. package/dist/models/RetryKnowledgeBaseFilesRequest.d.ts +6 -0
  75. package/dist/models/RetryKnowledgeBaseFilesRequest.js.map +1 -1
  76. package/dist/models/RetryKnowledgeBaseFilesResponseBody.d.ts +31 -0
  77. package/dist/models/RetryKnowledgeBaseFilesResponseBody.js.map +1 -1
  78. package/dist/models/TempModifyDbnodeRequest.d.ts +20 -13
  79. package/dist/models/TempModifyDbnodeRequest.js.map +1 -1
  80. package/dist/models/TransformDbclusterPayTypeRequest.d.ts +19 -10
  81. package/dist/models/TransformDbclusterPayTypeRequest.js.map +1 -1
  82. package/dist/models/TransformDbclusterPayTypeResponseBody.d.ts +2 -3
  83. package/dist/models/TransformDbclusterPayTypeResponseBody.js.map +1 -1
  84. package/dist/models/TriggerKnowledgeBaseSyncRequest.d.ts +7 -0
  85. package/dist/models/TriggerKnowledgeBaseSyncRequest.js.map +1 -1
  86. package/dist/models/TriggerKnowledgeBaseSyncResponseBody.d.ts +3 -0
  87. package/dist/models/TriggerKnowledgeBaseSyncResponseBody.js.map +1 -1
  88. package/dist/models/UpdateKbsyncLinkRequest.d.ts +57 -0
  89. package/dist/models/UpdateKbsyncLinkRequest.js +12 -0
  90. package/dist/models/UpdateKbsyncLinkRequest.js.map +1 -1
  91. package/dist/models/UpdateKbsyncLinkResponseBody.d.ts +10 -0
  92. package/dist/models/UpdateKbsyncLinkResponseBody.js.map +1 -1
  93. package/dist/models/UpdateKnowledgeBaseFileShardingStrategyRequest.d.ts +57 -0
  94. package/dist/models/UpdateKnowledgeBaseFileShardingStrategyRequest.js.map +1 -1
  95. package/dist/models/UpdateKnowledgeBaseFileShardingStrategyResponseBody.d.ts +3 -0
  96. package/dist/models/UpdateKnowledgeBaseFileShardingStrategyResponseBody.js.map +1 -1
  97. package/dist/models/UpdateKnowledgeBaseFileShardingStrategyShrinkRequest.d.ts +13 -0
  98. package/dist/models/UpdateKnowledgeBaseFileShardingStrategyShrinkRequest.js.map +1 -1
  99. package/dist/models/UpdateKnowledgeBaseRequest.d.ts +19 -0
  100. package/dist/models/UpdateKnowledgeBaseRequest.js.map +1 -1
  101. package/dist/models/UpdateKnowledgeBaseResponseBody.d.ts +6 -0
  102. package/dist/models/UpdateKnowledgeBaseResponseBody.js.map +1 -1
  103. package/dist/models/UpdateKnowledgeSpaceRequest.d.ts +65 -0
  104. package/dist/models/UpdateKnowledgeSpaceRequest.js.map +1 -1
  105. package/dist/models/UpdateKnowledgeSpaceResponseBody.d.ts +9 -0
  106. package/dist/models/UpdateKnowledgeSpaceResponseBody.js.map +1 -1
  107. package/dist/models/UpdateKnowledgeSpaceShrinkRequest.d.ts +20 -0
  108. package/dist/models/UpdateKnowledgeSpaceShrinkRequest.js.map +1 -1
  109. package/package.json +1 -1
  110. package/src/client.ts +92 -82
  111. package/src/models/AnswerKnowledgeBaseRequest.ts +31 -1
  112. package/src/models/AnswerKnowledgeBaseResponseBody.ts +9 -0
  113. package/src/models/CreateKbsyncLinkRequest.ts +53 -0
  114. package/src/models/CreateKbsyncLinkResponseBody.ts +36 -0
  115. package/src/models/CreateStoragePlanRequest.ts +18 -9
  116. package/src/models/DeleteDbclusterEndpointRequest.ts +4 -1
  117. package/src/models/DeleteKbsyncLinkRequest.ts +6 -0
  118. package/src/models/DeleteKbsyncLinkResponseBody.ts +3 -0
  119. package/src/models/DeleteKnowledgeBaseFileRequest.ts +6 -0
  120. package/src/models/DeleteKnowledgeBaseFileResponseBody.ts +3 -0
  121. package/src/models/DescribeDbclusterAccessWhitelistRequest.ts +3 -0
  122. package/src/models/DescribeDbclusterSslrequest.ts +4 -1
  123. package/src/models/DescribeDbclusterSslresponseBody.ts +1 -1
  124. package/src/models/DescribeDbclusterVersionRequest.ts +4 -6
  125. package/src/models/DescribeDbclusterVersionResponseBody.ts +56 -80
  126. package/src/models/DescribeKbsyncLinksRequest.ts +7 -0
  127. package/src/models/DescribeKbsyncLinksResponseBody.ts +38 -0
  128. package/src/models/DescribeKnowledgeBaseAnswerRequest.ts +6 -0
  129. package/src/models/DescribeKnowledgeBaseAnswerResponseBody.ts +70 -3
  130. package/src/models/DescribeKnowledgeBaseFileShardsRequest.ts +12 -0
  131. package/src/models/DescribeKnowledgeBaseFileShardsResponseBody.ts +33 -0
  132. package/src/models/DescribeKnowledgeBaseFilesRequest.ts +23 -1
  133. package/src/models/DescribeKnowledgeBaseFilesResponseBody.ts +117 -2
  134. package/src/models/DescribeKnowledgeSpaceAttributeRequest.ts +4 -0
  135. package/src/models/DescribeKnowledgeSpaceAttributeResponseBody.ts +113 -0
  136. package/src/models/DisableDbclusterServerlessRequest.ts +12 -0
  137. package/src/models/EnableDbclusterServerlessRequest.ts +12 -0
  138. package/src/models/ModifyDbclusterAccessWhitelistRequest.ts +11 -8
  139. package/src/models/ModifyDbclusterArchRequest.ts +16 -9
  140. package/src/models/ModifyDbclusterParametersRequest.ts +24 -28
  141. package/src/models/ModifyDbclusterSslrequest.ts +18 -9
  142. package/src/models/ModifyDbclusterStoragePerformanceRequest.ts +22 -35
  143. package/src/models/ModifyDbclusterStoragePerformanceResponseBody.ts +1 -1
  144. package/src/models/ModifyPolarFsMappingAuthRequest.ts +2 -2
  145. package/src/models/RetrievalKnowledgeBaseRequest.ts +16 -1
  146. package/src/models/RetrievalKnowledgeBaseResponseBody.ts +42 -3
  147. package/src/models/RetryKnowledgeBaseFilesRequest.ts +6 -0
  148. package/src/models/RetryKnowledgeBaseFilesResponseBody.ts +31 -0
  149. package/src/models/TempModifyDbnodeRequest.ts +20 -13
  150. package/src/models/TransformDbclusterPayTypeRequest.ts +19 -10
  151. package/src/models/TransformDbclusterPayTypeResponseBody.ts +2 -3
  152. package/src/models/TriggerKnowledgeBaseSyncRequest.ts +7 -0
  153. package/src/models/TriggerKnowledgeBaseSyncResponseBody.ts +3 -0
  154. package/src/models/UpdateKbsyncLinkRequest.ts +69 -0
  155. package/src/models/UpdateKbsyncLinkResponseBody.ts +10 -0
  156. package/src/models/UpdateKnowledgeBaseFileShardingStrategyRequest.ts +57 -0
  157. package/src/models/UpdateKnowledgeBaseFileShardingStrategyResponseBody.ts +3 -0
  158. package/src/models/UpdateKnowledgeBaseFileShardingStrategyShrinkRequest.ts +13 -0
  159. package/src/models/UpdateKnowledgeBaseRequest.ts +19 -0
  160. package/src/models/UpdateKnowledgeBaseResponseBody.ts +6 -0
  161. package/src/models/UpdateKnowledgeSpaceRequest.ts +65 -0
  162. package/src/models/UpdateKnowledgeSpaceResponseBody.ts +9 -0
  163. package/src/models/UpdateKnowledgeSpaceShrinkRequest.ts +20 -0
package/src/client.ts CHANGED
@@ -52,28 +52,6 @@ export default class Client extends OpenApi {
52
52
  'cn-zhengzhou-nebula-1': "polardb.aliyuncs.com",
53
53
  'eu-west-1-oxs': "polardb.aliyuncs.com",
54
54
  'rus-west-1-pop': "polardb.aliyuncs.com",
55
- 'cn-hongkong': "polardb.cn-hongkong.aliyuncs.com",
56
- 'cn-zhangjiakou': "polardb.cn-zhangjiakou.aliyuncs.com",
57
- 'cn-shenzhen': "polardb.cn-shenzhen.aliyuncs.com",
58
- 'ap-northeast-2': "polardb.ap-northeast-2.aliyuncs.com",
59
- 'ap-northeast-1': "polardb.ap-northeast-1.aliyuncs.com",
60
- 'cn-chengdu': "polardb.cn-chengdu.aliyuncs.com",
61
- 'cn-guangzhou': "polardb.cn-guangzhou.aliyuncs.com",
62
- 'ap-southeast-1': "polardb.ap-southeast-1.aliyuncs.com",
63
- 'ap-southeast-3': "polardb.ap-southeast-3.aliyuncs.com",
64
- 'cn-huhehaote': "polardb.cn-huhehaote.aliyuncs.com",
65
- 'ap-southeast-5': "polardb.ap-southeast-5.aliyuncs.com",
66
- 'ap-southeast-6': "polardb.ap-southeast-6.aliyuncs.com",
67
- 'ap-southeast-7': "polardb.ap-southeast-7.aliyuncs.com",
68
- 'ap-southeast-8': "polardb.ap-southeast-8.aliyuncs.com",
69
- 'na-south-1': "polardb.na-south-1.aliyuncs.com",
70
- 'eu-central-1': "polardb.eu-central-1.aliyuncs.com",
71
- 'us-west-1': "polardb.us-west-1.aliyuncs.com",
72
- 'eu-west-1': "polardb.eu-west-1.aliyuncs.com",
73
- 'us-east-1': "polardb.us-east-1.aliyuncs.com",
74
- 'me-east-1': "polardb.me-east-1.aliyuncs.com",
75
- 'cn-shanghai-finance-1': "polardb.cn-shanghai-finance-1.aliyuncs.com",
76
- 'cn-shenzhen-finance-1': "polardb.cn-shenzhen-finance-1.aliyuncs.com",
77
55
  };
78
56
  this.checkConfig(config);
79
57
  this._endpoint = this.getEndpoint("polardb", this._regionId, this._endpointRule, this._network, this._suffix, this._endpointMap, this._endpoint);
@@ -613,7 +591,7 @@ export default class Client extends OpenApi {
613
591
  }
614
592
 
615
593
  /**
616
- * 知识库单轮问答
594
+ * Performs a single-round knowledge base question answering.
617
595
  *
618
596
  * @param request - AnswerKnowledgeBaseRequest
619
597
  * @param runtime - runtime options for this request RuntimeOptions
@@ -684,7 +662,7 @@ export default class Client extends OpenApi {
684
662
  }
685
663
 
686
664
  /**
687
- * 知识库单轮问答
665
+ * Performs a single-round knowledge base question answering.
688
666
  *
689
667
  * @param request - AnswerKnowledgeBaseRequest
690
668
  * @returns AnswerKnowledgeBaseResponse
@@ -5487,7 +5465,7 @@ export default class Client extends OpenApi {
5487
5465
  }
5488
5466
 
5489
5467
  /**
5490
- * 创建知识库同步链路
5468
+ * Creates a knowledge base synchronization link.
5491
5469
  *
5492
5470
  * @param request - CreateKBSyncLinkRequest
5493
5471
  * @param runtime - runtime options for this request RuntimeOptions
@@ -5516,10 +5494,18 @@ export default class Client extends OpenApi {
5516
5494
  query["LinkName"] = request.linkName;
5517
5495
  }
5518
5496
 
5497
+ if (!$dara.isNull(request.mcpEndpoint)) {
5498
+ query["McpEndpoint"] = request.mcpEndpoint;
5499
+ }
5500
+
5519
5501
  if (!$dara.isNull(request.regionId)) {
5520
5502
  query["RegionId"] = request.regionId;
5521
5503
  }
5522
5504
 
5505
+ if (!$dara.isNull(request.sheetMcpEndpoint)) {
5506
+ query["SheetMcpEndpoint"] = request.sheetMcpEndpoint;
5507
+ }
5508
+
5523
5509
  if (!$dara.isNull(request.sourceDir)) {
5524
5510
  query["SourceDir"] = request.sourceDir;
5525
5511
  }
@@ -5536,6 +5522,10 @@ export default class Client extends OpenApi {
5536
5522
  query["TenantId"] = request.tenantId;
5537
5523
  }
5538
5524
 
5525
+ if (!$dara.isNull(request.userId)) {
5526
+ query["UserId"] = request.userId;
5527
+ }
5528
+
5539
5529
  let req = new $OpenApiUtil.OpenApiRequest({
5540
5530
  query: OpenApiUtil.query(query),
5541
5531
  });
@@ -5554,7 +5544,7 @@ export default class Client extends OpenApi {
5554
5544
  }
5555
5545
 
5556
5546
  /**
5557
- * 创建知识库同步链路
5547
+ * Creates a knowledge base synchronization link.
5558
5548
  *
5559
5549
  * @param request - CreateKBSyncLinkRequest
5560
5550
  * @returns CreateKBSyncLinkResponse
@@ -8063,7 +8053,7 @@ export default class Client extends OpenApi {
8063
8053
  }
8064
8054
 
8065
8055
  /**
8066
- * Deletes a custom cluster endpoint for a PolarDB cluster.
8056
+ * Releases a custom cluster endpoint of a PolarDB cluster.
8067
8057
  *
8068
8058
  * @param request - DeleteDBClusterEndpointRequest
8069
8059
  * @param runtime - runtime options for this request RuntimeOptions
@@ -8118,7 +8108,7 @@ export default class Client extends OpenApi {
8118
8108
  }
8119
8109
 
8120
8110
  /**
8121
- * Deletes a custom cluster endpoint for a PolarDB cluster.
8111
+ * Releases a custom cluster endpoint of a PolarDB cluster.
8122
8112
  *
8123
8113
  * @param request - DeleteDBClusterEndpointRequest
8124
8114
  * @returns DeleteDBClusterEndpointResponse
@@ -8981,7 +8971,7 @@ export default class Client extends OpenApi {
8981
8971
  }
8982
8972
 
8983
8973
  /**
8984
- * 删除知识库同步链路
8974
+ * Deletes a knowledge base synchronization link.
8985
8975
  *
8986
8976
  * @param request - DeleteKBSyncLinkRequest
8987
8977
  * @param runtime - runtime options for this request RuntimeOptions
@@ -9020,7 +9010,7 @@ export default class Client extends OpenApi {
9020
9010
  }
9021
9011
 
9022
9012
  /**
9023
- * 删除知识库同步链路
9013
+ * Deletes a knowledge base synchronization link.
9024
9014
  *
9025
9015
  * @param request - DeleteKBSyncLinkRequest
9026
9016
  * @returns DeleteKBSyncLinkResponse
@@ -9077,7 +9067,7 @@ export default class Client extends OpenApi {
9077
9067
  }
9078
9068
 
9079
9069
  /**
9080
- * 删除知识库文件
9070
+ * Deletes a knowledge base file.
9081
9071
  *
9082
9072
  * @param request - DeleteKnowledgeBaseFileRequest
9083
9073
  * @param runtime - runtime options for this request RuntimeOptions
@@ -9116,7 +9106,7 @@ export default class Client extends OpenApi {
9116
9106
  }
9117
9107
 
9118
9108
  /**
9119
- * 删除知识库文件
9109
+ * Deletes a knowledge base file.
9120
9110
  *
9121
9111
  * @param request - DeleteKnowledgeBaseFileRequest
9122
9112
  * @returns DeleteKnowledgeBaseFileResponse
@@ -15111,10 +15101,10 @@ export default class Client extends OpenApi {
15111
15101
  }
15112
15102
 
15113
15103
  /**
15114
- * Retrieves the details of the current kernel version for a PolarDB for MySQL cluster.
15104
+ * Queries the details of the current Milvus version of a PolarDB for MySQL cluster.
15115
15105
  *
15116
15106
  * @remarks
15117
- * > 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).
15107
+ * >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).
15118
15108
  *
15119
15109
  * @param request - DescribeDBClusterVersionRequest
15120
15110
  * @param runtime - runtime options for this request RuntimeOptions
@@ -15165,10 +15155,10 @@ export default class Client extends OpenApi {
15165
15155
  }
15166
15156
 
15167
15157
  /**
15168
- * Retrieves the details of the current kernel version for a PolarDB for MySQL cluster.
15158
+ * Queries the details of the current Milvus version of a PolarDB for MySQL cluster.
15169
15159
  *
15170
15160
  * @remarks
15171
- * > 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).
15161
+ * >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).
15172
15162
  *
15173
15163
  * @param request - DescribeDBClusterVersionRequest
15174
15164
  * @returns DescribeDBClusterVersionResponse
@@ -17639,7 +17629,7 @@ export default class Client extends OpenApi {
17639
17629
  }
17640
17630
 
17641
17631
  /**
17642
- * 查询知识库同步列表
17632
+ * Queries the synchronization list of a knowledge base.
17643
17633
  *
17644
17634
  * @param request - DescribeKBSyncLinksRequest
17645
17635
  * @param runtime - runtime options for this request RuntimeOptions
@@ -17678,7 +17668,7 @@ export default class Client extends OpenApi {
17678
17668
  }
17679
17669
 
17680
17670
  /**
17681
- * 查询知识库同步列表
17671
+ * Queries the synchronization list of a knowledge base.
17682
17672
  *
17683
17673
  * @param request - DescribeKBSyncLinksRequest
17684
17674
  * @returns DescribeKBSyncLinksResponse
@@ -17689,7 +17679,7 @@ export default class Client extends OpenApi {
17689
17679
  }
17690
17680
 
17691
17681
  /**
17692
- * 查询知识库单轮问答结果
17682
+ * Queries the result of a single-turn Q&A task in a knowledge base.
17693
17683
  *
17694
17684
  * @param request - DescribeKnowledgeBaseAnswerRequest
17695
17685
  * @param runtime - runtime options for this request RuntimeOptions
@@ -17728,7 +17718,7 @@ export default class Client extends OpenApi {
17728
17718
  }
17729
17719
 
17730
17720
  /**
17731
- * 查询知识库单轮问答结果
17721
+ * Queries the result of a single-turn Q&A task in a knowledge base.
17732
17722
  *
17733
17723
  * @param request - DescribeKnowledgeBaseAnswerRequest
17734
17724
  * @returns DescribeKnowledgeBaseAnswerResponse
@@ -17785,7 +17775,7 @@ export default class Client extends OpenApi {
17785
17775
  }
17786
17776
 
17787
17777
  /**
17788
- * 查询知识库文件分片列表
17778
+ * Queries the list of file shards in a knowledge base.
17789
17779
  *
17790
17780
  * @param request - DescribeKnowledgeBaseFileShardsRequest
17791
17781
  * @param runtime - runtime options for this request RuntimeOptions
@@ -17832,7 +17822,7 @@ export default class Client extends OpenApi {
17832
17822
  }
17833
17823
 
17834
17824
  /**
17835
- * 查询知识库文件分片列表
17825
+ * Queries the list of file shards in a knowledge base.
17836
17826
  *
17837
17827
  * @param request - DescribeKnowledgeBaseFileShardsRequest
17838
17828
  * @returns DescribeKnowledgeBaseFileShardsResponse
@@ -17843,7 +17833,7 @@ export default class Client extends OpenApi {
17843
17833
  }
17844
17834
 
17845
17835
  /**
17846
- * 查询知识库文件列表
17836
+ * Queries the list of files in a knowledge base.
17847
17837
  *
17848
17838
  * @param request - DescribeKnowledgeBaseFilesRequest
17849
17839
  * @param runtime - runtime options for this request RuntimeOptions
@@ -17902,7 +17892,7 @@ export default class Client extends OpenApi {
17902
17892
  }
17903
17893
 
17904
17894
  /**
17905
- * 查询知识库文件列表
17895
+ * Queries the list of files in a knowledge base.
17906
17896
  *
17907
17897
  * @param request - DescribeKnowledgeBaseFilesRequest
17908
17898
  * @returns DescribeKnowledgeBaseFilesResponse
@@ -17975,7 +17965,7 @@ export default class Client extends OpenApi {
17975
17965
  }
17976
17966
 
17977
17967
  /**
17978
- * 查询知识空间详情
17968
+ * Queries the details of a knowledge space.
17979
17969
  *
17980
17970
  * @param request - DescribeKnowledgeSpaceAttributeRequest
17981
17971
  * @param runtime - runtime options for this request RuntimeOptions
@@ -18010,7 +18000,7 @@ export default class Client extends OpenApi {
18010
18000
  }
18011
18001
 
18012
18002
  /**
18013
- * 查询知识空间详情
18003
+ * Queries the details of a knowledge space.
18014
18004
  *
18015
18005
  * @param request - DescribeKnowledgeSpaceAttributeRequest
18016
18006
  * @returns DescribeKnowledgeSpaceAttributeResponse
@@ -21570,7 +21560,7 @@ export default class Client extends OpenApi {
21570
21560
  }
21571
21561
 
21572
21562
  /**
21573
- * Disables steady-state serverless.
21563
+ * Disables steady-state Serverless.
21574
21564
  *
21575
21565
  * @param request - DisableDBClusterServerlessRequest
21576
21566
  * @param runtime - runtime options for this request RuntimeOptions
@@ -21629,7 +21619,7 @@ export default class Client extends OpenApi {
21629
21619
  }
21630
21620
 
21631
21621
  /**
21632
- * Disables steady-state serverless.
21622
+ * Disables steady-state Serverless.
21633
21623
  *
21634
21624
  * @param request - DisableDBClusterServerlessRequest
21635
21625
  * @returns DisableDBClusterServerlessResponse
@@ -26211,11 +26201,11 @@ export default class Client extends OpenApi {
26211
26201
  }
26212
26202
 
26213
26203
  /**
26214
- * Modifies the parameters of a PolarDB cluster or applies an existing parameter template to a destination cluster.
26204
+ * Modifies the parameters of a PolarDB cluster or applies an existing parameter template to the specified cluster.
26215
26205
  *
26216
26206
  * @remarks
26217
- * 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).
26218
- * > The parameter template feature is available only for PolarDB for MySQL.
26207
+ * 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).
26208
+ * > Currently, only PolarDB for MySQL supports the parameter template feature.
26219
26209
  *
26220
26210
  * @param request - ModifyDBClusterParametersRequest
26221
26211
  * @param runtime - runtime options for this request RuntimeOptions
@@ -26286,11 +26276,11 @@ export default class Client extends OpenApi {
26286
26276
  }
26287
26277
 
26288
26278
  /**
26289
- * Modifies the parameters of a PolarDB cluster or applies an existing parameter template to a destination cluster.
26279
+ * Modifies the parameters of a PolarDB cluster or applies an existing parameter template to the specified cluster.
26290
26280
  *
26291
26281
  * @remarks
26292
- * 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).
26293
- * > The parameter template feature is available only for PolarDB for MySQL.
26282
+ * 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).
26283
+ * > Currently, only PolarDB for MySQL supports the parameter template feature.
26294
26284
  *
26295
26285
  * @param request - ModifyDBClusterParametersRequest
26296
26286
  * @returns ModifyDBClusterParametersResponse
@@ -26457,7 +26447,7 @@ export default class Client extends OpenApi {
26457
26447
  }
26458
26448
 
26459
26449
  /**
26460
- * 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.
26450
+ * Enables or shuts down the Secure Sockets Layer (SSL) encryption feature for a PolarDB cluster, or updates the CA certificate of a PolarDB cluster.
26461
26451
  *
26462
26452
  * @param request - ModifyDBClusterSSLRequest
26463
26453
  * @param runtime - runtime options for this request RuntimeOptions
@@ -26532,7 +26522,7 @@ export default class Client extends OpenApi {
26532
26522
  }
26533
26523
 
26534
26524
  /**
26535
- * 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.
26525
+ * Enables or shuts down the Secure Sockets Layer (SSL) encryption feature for a PolarDB cluster, or updates the CA certificate of a PolarDB cluster.
26536
26526
  *
26537
26527
  * @param request - ModifyDBClusterSSLRequest
26538
26528
  * @returns ModifyDBClusterSSLResponse
@@ -30387,7 +30377,7 @@ export default class Client extends OpenApi {
30387
30377
  }
30388
30378
 
30389
30379
  /**
30390
- * 检索知识库
30380
+ * Retrieves information from a knowledge base.
30391
30381
  *
30392
30382
  * @param request - RetrievalKnowledgeBaseRequest
30393
30383
  * @param runtime - runtime options for this request RuntimeOptions
@@ -30438,7 +30428,7 @@ export default class Client extends OpenApi {
30438
30428
  }
30439
30429
 
30440
30430
  /**
30441
- * 检索知识库
30431
+ * Retrieves information from a knowledge base.
30442
30432
  *
30443
30433
  * @param request - RetrievalKnowledgeBaseRequest
30444
30434
  * @returns RetrievalKnowledgeBaseResponse
@@ -30449,7 +30439,7 @@ export default class Client extends OpenApi {
30449
30439
  }
30450
30440
 
30451
30441
  /**
30452
- * 批量重试知识库失败文件
30442
+ * Retries failed files in a knowledge base in batches.
30453
30443
  *
30454
30444
  * @param request - RetryKnowledgeBaseFilesRequest
30455
30445
  * @param runtime - runtime options for this request RuntimeOptions
@@ -30488,7 +30478,7 @@ export default class Client extends OpenApi {
30488
30478
  }
30489
30479
 
30490
30480
  /**
30491
- * 批量重试知识库失败文件
30481
+ * Retries failed files in a knowledge base in batches.
30492
30482
  *
30493
30483
  * @param request - RetryKnowledgeBaseFilesRequest
30494
30484
  * @returns RetryKnowledgeBaseFilesResponse
@@ -31025,7 +31015,7 @@ export default class Client extends OpenApi {
31025
31015
  }
31026
31016
 
31027
31017
  /**
31028
- * Temporarily Modifies the configuration of a node.
31018
+ * Temporarily changes the specifications of a cluster.
31029
31019
  *
31030
31020
  * @param request - TempModifyDBNodeRequest
31031
31021
  * @param runtime - runtime options for this request RuntimeOptions
@@ -31100,7 +31090,7 @@ export default class Client extends OpenApi {
31100
31090
  }
31101
31091
 
31102
31092
  /**
31103
- * Temporarily Modifies the configuration of a node.
31093
+ * Temporarily changes the specifications of a cluster.
31104
31094
  *
31105
31095
  * @param request - TempModifyDBNodeRequest
31106
31096
  * @returns TempModifyDBNodeResponse
@@ -31114,11 +31104,9 @@ export default class Client extends OpenApi {
31114
31104
  * Changes the billing method of a PolarDB cluster.
31115
31105
  *
31116
31106
  * @remarks
31117
- * > - 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).
31118
- * >
31119
- * > - You cannot change the billing method from pay-as-you-go to subscription if your Alibaba Cloud account has an insufficient balance.
31120
- * >
31121
- * > - When you change the billing method from subscription to pay-as-you-go, the system automatically refunds your remaining prepaid fees.
31107
+ * > - 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).
31108
+ * >- If your Alibaba Cloud account balance is insufficient, you cannot change the pay-as-you-go billing method to subscription.
31109
+ * >- 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.
31122
31110
  *
31123
31111
  * @param request - TransformDBClusterPayTypeRequest
31124
31112
  * @param runtime - runtime options for this request RuntimeOptions
@@ -31200,11 +31188,9 @@ export default class Client extends OpenApi {
31200
31188
  * Changes the billing method of a PolarDB cluster.
31201
31189
  *
31202
31190
  * @remarks
31203
- * > - 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).
31204
- * >
31205
- * > - You cannot change the billing method from pay-as-you-go to subscription if your Alibaba Cloud account has an insufficient balance.
31206
- * >
31207
- * > - When you change the billing method from subscription to pay-as-you-go, the system automatically refunds your remaining prepaid fees.
31191
+ * > - 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).
31192
+ * >- If your Alibaba Cloud account balance is insufficient, you cannot change the pay-as-you-go billing method to subscription.
31193
+ * >- 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.
31208
31194
  *
31209
31195
  * @param request - TransformDBClusterPayTypeRequest
31210
31196
  * @returns TransformDBClusterPayTypeResponse
@@ -31215,7 +31201,7 @@ export default class Client extends OpenApi {
31215
31201
  }
31216
31202
 
31217
31203
  /**
31218
- * 触发知识库同步
31204
+ * Triggers knowledge base synchronization.
31219
31205
  *
31220
31206
  * @param request - TriggerKnowledgeBaseSyncRequest
31221
31207
  * @param runtime - runtime options for this request RuntimeOptions
@@ -31254,7 +31240,7 @@ export default class Client extends OpenApi {
31254
31240
  }
31255
31241
 
31256
31242
  /**
31257
- * 触发知识库同步
31243
+ * Triggers knowledge base synchronization.
31258
31244
  *
31259
31245
  * @param request - TriggerKnowledgeBaseSyncRequest
31260
31246
  * @returns TriggerKnowledgeBaseSyncResponse
@@ -31657,7 +31643,7 @@ export default class Client extends OpenApi {
31657
31643
  }
31658
31644
 
31659
31645
  /**
31660
- * 更新知识库同步链路
31646
+ * Updates a knowledge base synchronization link.
31661
31647
  *
31662
31648
  * @param request - UpdateKBSyncLinkRequest
31663
31649
  * @param runtime - runtime options for this request RuntimeOptions
@@ -31666,6 +31652,14 @@ export default class Client extends OpenApi {
31666
31652
  async updateKBSyncLinkWithOptions(request: $_model.UpdateKBSyncLinkRequest, runtime: $dara.RuntimeOptions): Promise<$_model.UpdateKBSyncLinkResponse> {
31667
31653
  request.validate();
31668
31654
  let query = { };
31655
+ if (!$dara.isNull(request.clientId)) {
31656
+ query["ClientId"] = request.clientId;
31657
+ }
31658
+
31659
+ if (!$dara.isNull(request.clientSecret)) {
31660
+ query["ClientSecret"] = request.clientSecret;
31661
+ }
31662
+
31669
31663
  if (!$dara.isNull(request.knowledgeBaseId)) {
31670
31664
  query["KnowledgeBaseId"] = request.knowledgeBaseId;
31671
31665
  }
@@ -31674,14 +31668,30 @@ export default class Client extends OpenApi {
31674
31668
  query["LinkId"] = request.linkId;
31675
31669
  }
31676
31670
 
31671
+ if (!$dara.isNull(request.mcpEndpoint)) {
31672
+ query["McpEndpoint"] = request.mcpEndpoint;
31673
+ }
31674
+
31677
31675
  if (!$dara.isNull(request.regionId)) {
31678
31676
  query["RegionId"] = request.regionId;
31679
31677
  }
31680
31678
 
31679
+ if (!$dara.isNull(request.sheetMcpEndpoint)) {
31680
+ query["SheetMcpEndpoint"] = request.sheetMcpEndpoint;
31681
+ }
31682
+
31683
+ if (!$dara.isNull(request.syncEnabled)) {
31684
+ query["SyncEnabled"] = request.syncEnabled;
31685
+ }
31686
+
31681
31687
  if (!$dara.isNull(request.syncIntervalMinutes)) {
31682
31688
  query["SyncIntervalMinutes"] = request.syncIntervalMinutes;
31683
31689
  }
31684
31690
 
31691
+ if (!$dara.isNull(request.userId)) {
31692
+ query["UserId"] = request.userId;
31693
+ }
31694
+
31685
31695
  let req = new $OpenApiUtil.OpenApiRequest({
31686
31696
  query: OpenApiUtil.query(query),
31687
31697
  });
@@ -31700,7 +31710,7 @@ export default class Client extends OpenApi {
31700
31710
  }
31701
31711
 
31702
31712
  /**
31703
- * 更新知识库同步链路
31713
+ * Updates a knowledge base synchronization link.
31704
31714
  *
31705
31715
  * @param request - UpdateKBSyncLinkRequest
31706
31716
  * @returns UpdateKBSyncLinkResponse
@@ -31711,7 +31721,7 @@ export default class Client extends OpenApi {
31711
31721
  }
31712
31722
 
31713
31723
  /**
31714
- * 更新知识库
31724
+ * Updates a knowledge base.
31715
31725
  *
31716
31726
  * @param request - UpdateKnowledgeBaseRequest
31717
31727
  * @param runtime - runtime options for this request RuntimeOptions
@@ -31758,7 +31768,7 @@ export default class Client extends OpenApi {
31758
31768
  }
31759
31769
 
31760
31770
  /**
31761
- * 更新知识库
31771
+ * Updates a knowledge base.
31762
31772
  *
31763
31773
  * @param request - UpdateKnowledgeBaseRequest
31764
31774
  * @returns UpdateKnowledgeBaseResponse
@@ -31769,7 +31779,7 @@ export default class Client extends OpenApi {
31769
31779
  }
31770
31780
 
31771
31781
  /**
31772
- * 更新知识库文件分块策略
31782
+ * Updates the chunking strategy for a file in a knowledge base.
31773
31783
  *
31774
31784
  * @param tmpReq - UpdateKnowledgeBaseFileShardingStrategyRequest
31775
31785
  * @param runtime - runtime options for this request RuntimeOptions
@@ -31822,7 +31832,7 @@ export default class Client extends OpenApi {
31822
31832
  }
31823
31833
 
31824
31834
  /**
31825
- * 更新知识库文件分块策略
31835
+ * Updates the chunking strategy for a file in a knowledge base.
31826
31836
  *
31827
31837
  * @param request - UpdateKnowledgeBaseFileShardingStrategyRequest
31828
31838
  * @returns UpdateKnowledgeBaseFileShardingStrategyResponse
@@ -31833,7 +31843,7 @@ export default class Client extends OpenApi {
31833
31843
  }
31834
31844
 
31835
31845
  /**
31836
- * 更新知识空间
31846
+ * Updates a knowledge space.
31837
31847
  *
31838
31848
  * @param tmpReq - UpdateKnowledgeSpaceRequest
31839
31849
  * @param runtime - runtime options for this request RuntimeOptions
@@ -31894,7 +31904,7 @@ export default class Client extends OpenApi {
31894
31904
  }
31895
31905
 
31896
31906
  /**
31897
- * 更新知识空间
31907
+ * Updates a knowledge space.
31898
31908
  *
31899
31909
  * @param request - UpdateKnowledgeSpaceRequest
31900
31910
  * @returns UpdateKnowledgeSpaceResponse
@@ -5,6 +5,8 @@ import * as $dara from '@darabonba/typescript';
5
5
  export class AnswerKnowledgeBaseRequest extends $dara.Model {
6
6
  /**
7
7
  * @remarks
8
+ * The unique ID of the knowledge base.
9
+ *
8
10
  * This parameter is required.
9
11
  *
10
12
  * @example
@@ -12,20 +14,27 @@ export class AnswerKnowledgeBaseRequest extends $dara.Model {
12
14
  */
13
15
  knowledgeBaseId?: string;
14
16
  /**
17
+ * @remarks
18
+ * The maximum number of context characters. Valid values: 1000 to 32000.
19
+ *
15
20
  * @example
16
21
  * 16000
17
22
  */
18
23
  maxContextChars?: number;
19
24
  /**
20
25
  * @remarks
26
+ * The user query text.
27
+ *
21
28
  * This parameter is required.
22
29
  *
23
30
  * @example
24
- * 总结下今年财报
31
+ * Summarize this year\\"s financial report
25
32
  */
26
33
  queryText?: string;
27
34
  /**
28
35
  * @remarks
36
+ * The region ID.
37
+ *
29
38
  * This parameter is required.
30
39
  *
31
40
  * @example
@@ -33,36 +42,57 @@ export class AnswerKnowledgeBaseRequest extends $dara.Model {
33
42
  */
34
43
  regionId?: string;
35
44
  /**
45
+ * @remarks
46
+ * Specifies whether to enable reranking. Default value: false.
47
+ *
36
48
  * @example
37
49
  * false
38
50
  */
39
51
  rerankEnabled?: boolean;
40
52
  /**
53
+ * @remarks
54
+ * Specifies whether to return citation sources. Default value: true.
55
+ *
41
56
  * @example
42
57
  * true
43
58
  */
44
59
  returnSources?: boolean;
45
60
  /**
61
+ * @remarks
62
+ * The similarity score threshold.
63
+ *
46
64
  * @example
47
65
  * 0.7
48
66
  */
49
67
  scoreThreshold?: number;
50
68
  /**
69
+ * @remarks
70
+ * The search mode. Valid values: knn, rrf, precise, semantic, and balanced.
71
+ *
51
72
  * @example
52
73
  * semantic
53
74
  */
54
75
  searchMode?: string;
55
76
  /**
77
+ * @remarks
78
+ * The system prompt.
79
+ *
56
80
  * @example
57
81
  * This is a minimal test prompt for security verification.
58
82
  */
59
83
  systemPrompt?: string;
60
84
  /**
85
+ * @remarks
86
+ * The number of results to recall during retrieval.
87
+ *
61
88
  * @example
62
89
  * 10
63
90
  */
64
91
  topK?: number;
65
92
  /**
93
+ * @remarks
94
+ * The supplementary user instructions.
95
+ *
66
96
  * @example
67
97
  * Return a short summary and test result.
68
98
  */
@@ -4,16 +4,25 @@ import * as $dara from '@darabonba/typescript';
4
4
 
5
5
  export class AnswerKnowledgeBaseResponseBody extends $dara.Model {
6
6
  /**
7
+ * @remarks
8
+ * The unique ID of the Q&A task.
9
+ *
7
10
  * @example
8
11
  * R3BGbnBqcXN******.2a5a23c9-******-179970533d30
9
12
  */
10
13
  queryId?: string;
11
14
  /**
15
+ * @remarks
16
+ * Id of the request
17
+ *
12
18
  * @example
13
19
  * A7E6A8FD-C50B-46B2-BA85-D8B8D3******
14
20
  */
15
21
  requestId?: string;
16
22
  /**
23
+ * @remarks
24
+ * The status of the Q&A task.
25
+ *
17
26
  * @example
18
27
  * Running
19
28
  */