@alicloud/gpdb20160503 3.6.0 → 3.8.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 (189) hide show
  1. package/dist/client.d.ts +267 -36
  2. package/dist/client.js +648 -36
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/ChatWithKnowledgeBaseRequest.d.ts +68 -111
  5. package/dist/models/ChatWithKnowledgeBaseRequest.js +2 -0
  6. package/dist/models/ChatWithKnowledgeBaseRequest.js.map +1 -1
  7. package/dist/models/ChatWithKnowledgeBaseResponseBody.d.ts +45 -52
  8. package/dist/models/ChatWithKnowledgeBaseResponseBody.js.map +1 -1
  9. package/dist/models/ChatWithKnowledgeBaseShrinkRequest.d.ts +5 -6
  10. package/dist/models/ChatWithKnowledgeBaseShrinkRequest.js.map +1 -1
  11. package/dist/models/ChatWithKnowledgeBaseStreamRequest.d.ts +71 -87
  12. package/dist/models/ChatWithKnowledgeBaseStreamRequest.js +2 -0
  13. package/dist/models/ChatWithKnowledgeBaseStreamRequest.js.map +1 -1
  14. package/dist/models/ChatWithKnowledgeBaseStreamResponseBody.d.ts +44 -50
  15. package/dist/models/ChatWithKnowledgeBaseStreamResponseBody.js.map +1 -1
  16. package/dist/models/ChatWithKnowledgeBaseStreamShrinkRequest.d.ts +6 -6
  17. package/dist/models/CreateBranchRequest.d.ts +150 -0
  18. package/dist/models/CreateBranchRequest.js +104 -0
  19. package/dist/models/CreateBranchRequest.js.map +1 -0
  20. package/dist/models/CreateBranchResponse.d.ts +19 -0
  21. package/dist/models/CreateBranchResponse.js +69 -0
  22. package/dist/models/CreateBranchResponse.js.map +1 -0
  23. package/dist/models/CreateBranchResponseBody.d.ts +37 -0
  24. package/dist/models/CreateBranchResponseBody.js +62 -0
  25. package/dist/models/CreateBranchResponseBody.js.map +1 -0
  26. package/dist/models/CreateSnapshotRequest.d.ts +55 -0
  27. package/dist/models/CreateSnapshotRequest.js +66 -0
  28. package/dist/models/CreateSnapshotRequest.js.map +1 -0
  29. package/dist/models/CreateSnapshotResponse.d.ts +19 -0
  30. package/dist/models/CreateSnapshotResponse.js +69 -0
  31. package/dist/models/CreateSnapshotResponse.js.map +1 -0
  32. package/dist/models/CreateSnapshotResponseBody.d.ts +45 -0
  33. package/dist/models/CreateSnapshotResponseBody.js +64 -0
  34. package/dist/models/CreateSnapshotResponseBody.js.map +1 -0
  35. package/dist/models/CreateSupabaseProjectRequest.d.ts +62 -48
  36. package/dist/models/CreateSupabaseProjectRequest.js.map +1 -1
  37. package/dist/models/CreateSupabaseProjectResponseBody.d.ts +4 -4
  38. package/dist/models/DeleteBranchRequest.d.ts +31 -0
  39. package/dist/models/DeleteBranchRequest.js +60 -0
  40. package/dist/models/DeleteBranchRequest.js.map +1 -0
  41. package/dist/models/DeleteBranchResponse.d.ts +19 -0
  42. package/dist/models/DeleteBranchResponse.js +69 -0
  43. package/dist/models/DeleteBranchResponse.js.map +1 -0
  44. package/dist/models/DeleteBranchResponseBody.d.ts +21 -0
  45. package/dist/models/DeleteBranchResponseBody.js +58 -0
  46. package/dist/models/DeleteBranchResponseBody.js.map +1 -0
  47. package/dist/models/DeleteSnapshotRequest.d.ts +34 -0
  48. package/dist/models/DeleteSnapshotRequest.js +62 -0
  49. package/dist/models/DeleteSnapshotRequest.js.map +1 -0
  50. package/dist/models/DeleteSnapshotResponse.d.ts +19 -0
  51. package/dist/models/DeleteSnapshotResponse.js +69 -0
  52. package/dist/models/DeleteSnapshotResponse.js.map +1 -0
  53. package/dist/models/DeleteSnapshotResponseBody.d.ts +18 -0
  54. package/dist/models/DeleteSnapshotResponseBody.js +58 -0
  55. package/dist/models/DeleteSnapshotResponseBody.js.map +1 -0
  56. package/dist/models/DescribeBranchRequest.d.ts +31 -0
  57. package/dist/models/DescribeBranchRequest.js +60 -0
  58. package/dist/models/DescribeBranchRequest.js.map +1 -0
  59. package/dist/models/DescribeBranchResponse.d.ts +19 -0
  60. package/dist/models/DescribeBranchResponse.js +69 -0
  61. package/dist/models/DescribeBranchResponse.js.map +1 -0
  62. package/dist/models/DescribeBranchResponseBody.d.ts +211 -0
  63. package/dist/models/DescribeBranchResponseBody.js +138 -0
  64. package/dist/models/DescribeBranchResponseBody.js.map +1 -0
  65. package/dist/models/GetBranchSchemaRequest.d.ts +51 -0
  66. package/dist/models/GetBranchSchemaRequest.js +64 -0
  67. package/dist/models/GetBranchSchemaRequest.js.map +1 -0
  68. package/dist/models/GetBranchSchemaResponse.d.ts +19 -0
  69. package/dist/models/GetBranchSchemaResponse.js +69 -0
  70. package/dist/models/GetBranchSchemaResponse.js.map +1 -0
  71. package/dist/models/GetBranchSchemaResponseBody.d.ts +29 -0
  72. package/dist/models/GetBranchSchemaResponseBody.js +60 -0
  73. package/dist/models/GetBranchSchemaResponseBody.js.map +1 -0
  74. package/dist/models/ListBranchesRequest.d.ts +106 -0
  75. package/dist/models/ListBranchesRequest.js +74 -0
  76. package/dist/models/ListBranchesRequest.js.map +1 -0
  77. package/dist/models/ListBranchesResponse.d.ts +19 -0
  78. package/dist/models/ListBranchesResponse.js +69 -0
  79. package/dist/models/ListBranchesResponse.js.map +1 -0
  80. package/dist/models/ListBranchesResponseBody.d.ts +138 -0
  81. package/dist/models/ListBranchesResponseBody.js +190 -0
  82. package/dist/models/ListBranchesResponseBody.js.map +1 -0
  83. package/dist/models/PauseSaasServiceRequest.d.ts +26 -0
  84. package/dist/models/PauseSaasServiceRequest.js +60 -0
  85. package/dist/models/PauseSaasServiceRequest.js.map +1 -0
  86. package/dist/models/PauseSaasServiceResponse.d.ts +19 -0
  87. package/dist/models/PauseSaasServiceResponse.js +69 -0
  88. package/dist/models/PauseSaasServiceResponse.js.map +1 -0
  89. package/dist/models/PauseSaasServiceResponseBody.d.ts +23 -0
  90. package/dist/models/PauseSaasServiceResponseBody.js +60 -0
  91. package/dist/models/PauseSaasServiceResponseBody.js.map +1 -0
  92. package/dist/models/QueryContentAdvanceRequest.d.ts +57 -70
  93. package/dist/models/QueryContentAdvanceRequest.js +2 -0
  94. package/dist/models/QueryContentAdvanceRequest.js.map +1 -1
  95. package/dist/models/QueryContentRequest.d.ts +57 -70
  96. package/dist/models/QueryContentRequest.js +2 -0
  97. package/dist/models/QueryContentRequest.js.map +1 -1
  98. package/dist/models/QueryContentResponseBody.d.ts +10 -11
  99. package/dist/models/QueryContentResponseBody.js.map +1 -1
  100. package/dist/models/QueryContentShrinkRequest.d.ts +52 -66
  101. package/dist/models/QueryContentShrinkRequest.js.map +1 -1
  102. package/dist/models/QueryKnowledgeBasesContentRequest.d.ts +62 -78
  103. package/dist/models/QueryKnowledgeBasesContentRequest.js +2 -0
  104. package/dist/models/QueryKnowledgeBasesContentRequest.js.map +1 -1
  105. package/dist/models/QueryKnowledgeBasesContentResponseBody.d.ts +11 -25
  106. package/dist/models/QueryKnowledgeBasesContentResponseBody.js.map +1 -1
  107. package/dist/models/QueryKnowledgeBasesContentShrinkRequest.d.ts +11 -15
  108. package/dist/models/QueryKnowledgeBasesContentShrinkRequest.js.map +1 -1
  109. package/dist/models/RestartSupabaseProjectRequest.d.ts +31 -0
  110. package/dist/models/RestartSupabaseProjectRequest.js +60 -0
  111. package/dist/models/RestartSupabaseProjectRequest.js.map +1 -0
  112. package/dist/models/RestartSupabaseProjectResponse.d.ts +19 -0
  113. package/dist/models/RestartSupabaseProjectResponse.js +69 -0
  114. package/dist/models/RestartSupabaseProjectResponse.js.map +1 -0
  115. package/dist/models/RestartSupabaseProjectResponseBody.d.ts +21 -0
  116. package/dist/models/RestartSupabaseProjectResponseBody.js +58 -0
  117. package/dist/models/RestartSupabaseProjectResponseBody.js.map +1 -0
  118. package/dist/models/RestoreSnapshotRequest.d.ts +73 -0
  119. package/dist/models/RestoreSnapshotRequest.js +70 -0
  120. package/dist/models/RestoreSnapshotRequest.js.map +1 -0
  121. package/dist/models/RestoreSnapshotResponse.d.ts +19 -0
  122. package/dist/models/RestoreSnapshotResponse.js +69 -0
  123. package/dist/models/RestoreSnapshotResponse.js.map +1 -0
  124. package/dist/models/RestoreSnapshotResponseBody.d.ts +37 -0
  125. package/dist/models/RestoreSnapshotResponseBody.js +62 -0
  126. package/dist/models/RestoreSnapshotResponseBody.js.map +1 -0
  127. package/dist/models/ResumeSaasServiceRequest.d.ts +26 -0
  128. package/dist/models/ResumeSaasServiceRequest.js +60 -0
  129. package/dist/models/ResumeSaasServiceRequest.js.map +1 -0
  130. package/dist/models/ResumeSaasServiceResponse.d.ts +19 -0
  131. package/dist/models/ResumeSaasServiceResponse.js +69 -0
  132. package/dist/models/ResumeSaasServiceResponse.js.map +1 -0
  133. package/dist/models/ResumeSaasServiceResponseBody.d.ts +23 -0
  134. package/dist/models/ResumeSaasServiceResponseBody.js +60 -0
  135. package/dist/models/ResumeSaasServiceResponseBody.js.map +1 -0
  136. package/dist/models/model.d.ts +40 -0
  137. package/dist/models/model.js +103 -22
  138. package/dist/models/model.js.map +1 -1
  139. package/package.json +1 -1
  140. package/src/client.ts +720 -36
  141. package/src/models/ChatWithKnowledgeBaseRequest.ts +70 -111
  142. package/src/models/ChatWithKnowledgeBaseResponseBody.ts +45 -52
  143. package/src/models/ChatWithKnowledgeBaseShrinkRequest.ts +5 -6
  144. package/src/models/ChatWithKnowledgeBaseStreamRequest.ts +73 -87
  145. package/src/models/ChatWithKnowledgeBaseStreamResponseBody.ts +44 -50
  146. package/src/models/ChatWithKnowledgeBaseStreamShrinkRequest.ts +6 -6
  147. package/src/models/CreateBranchRequest.ts +200 -0
  148. package/src/models/CreateBranchResponse.ts +40 -0
  149. package/src/models/CreateBranchResponseBody.ts +54 -0
  150. package/src/models/CreateSnapshotRequest.ts +76 -0
  151. package/src/models/CreateSnapshotResponse.ts +40 -0
  152. package/src/models/CreateSnapshotResponseBody.ts +64 -0
  153. package/src/models/CreateSupabaseProjectRequest.ts +62 -48
  154. package/src/models/CreateSupabaseProjectResponseBody.ts +4 -4
  155. package/src/models/DeleteBranchRequest.ts +46 -0
  156. package/src/models/DeleteBranchResponse.ts +40 -0
  157. package/src/models/DeleteBranchResponseBody.ts +34 -0
  158. package/src/models/DeleteSnapshotRequest.ts +51 -0
  159. package/src/models/DeleteSnapshotResponse.ts +40 -0
  160. package/src/models/DeleteSnapshotResponseBody.ts +31 -0
  161. package/src/models/DescribeBranchRequest.ts +46 -0
  162. package/src/models/DescribeBranchResponse.ts +40 -0
  163. package/src/models/DescribeBranchResponseBody.ts +286 -0
  164. package/src/models/GetBranchSchemaRequest.ts +70 -0
  165. package/src/models/GetBranchSchemaResponse.ts +40 -0
  166. package/src/models/GetBranchSchemaResponseBody.ts +44 -0
  167. package/src/models/ListBranchesRequest.ts +135 -0
  168. package/src/models/ListBranchesResponse.ts +40 -0
  169. package/src/models/ListBranchesResponseBody.ts +247 -0
  170. package/src/models/PauseSaasServiceRequest.ts +41 -0
  171. package/src/models/PauseSaasServiceResponse.ts +40 -0
  172. package/src/models/PauseSaasServiceResponseBody.ts +38 -0
  173. package/src/models/QueryContentAdvanceRequest.ts +60 -71
  174. package/src/models/QueryContentRequest.ts +60 -71
  175. package/src/models/QueryContentResponseBody.ts +10 -11
  176. package/src/models/QueryContentShrinkRequest.ts +53 -67
  177. package/src/models/QueryKnowledgeBasesContentRequest.ts +64 -78
  178. package/src/models/QueryKnowledgeBasesContentResponseBody.ts +11 -25
  179. package/src/models/QueryKnowledgeBasesContentShrinkRequest.ts +11 -15
  180. package/src/models/RestartSupabaseProjectRequest.ts +46 -0
  181. package/src/models/RestartSupabaseProjectResponse.ts +40 -0
  182. package/src/models/RestartSupabaseProjectResponseBody.ts +34 -0
  183. package/src/models/RestoreSnapshotRequest.ts +98 -0
  184. package/src/models/RestoreSnapshotResponse.ts +40 -0
  185. package/src/models/RestoreSnapshotResponseBody.ts +54 -0
  186. package/src/models/ResumeSaasServiceRequest.ts +41 -0
  187. package/src/models/ResumeSaasServiceResponse.ts +40 -0
  188. package/src/models/ResumeSaasServiceResponseBody.ts +38 -0
  189. package/src/models/model.ts +40 -0
package/src/client.ts CHANGED
@@ -568,14 +568,14 @@ export default class Client extends OpenApi {
568
568
  }
569
569
 
570
570
  /**
571
- * Combines a knowledge base with a large language model for intelligent Q&A.
571
+ * Provides intelligent Q&A services by combining knowledge bases with large models.
572
572
  *
573
573
  * @remarks
574
- * This API lets you interact with a large language model using specific knowledge base collections to ensure responses are grounded in their content. You can customize requests by configuring parameters, including the database instance ID, knowledge retrieval parameters, and model inference parameters. The API provides a default system prompt template and supports custom system prompts.
575
- * - **DBInstanceId**: Required. Specifies the ID of the database instance.
576
- * - **KnowledgeParams**: Optional. Contains parameters for knowledge retrieval, such as retrieval content and merge policies.
577
- * - **ModelParams**: Required. Contains parameters for model inference, such as the message list and the model name.
578
- * - **PromptTemplate**: Optional. Specifies a custom system prompt template.
574
+ * This API allows users to interact with a large model through specified knowledge base collections to obtain answers based on knowledge base content. It supports configuring various parameters to customize requests, including but not limited to database instance ID, knowledge retrieval parameters, model inference parameters, etc. Additionally, it provides a default system prompt template and allows users to customize system prompts.
575
+ * - **DBInstanceId**: Required. Specifies the database instance ID.
576
+ * - **KnowledgeParams**: Optional. Contains parameters related to knowledge retrieval, such as retrieval content, merge strategies, etc.
577
+ * - **ModelParams**: Required. Contains parameters related to model inference, such as message list, model name, etc.
578
+ * - **PromptTemplate**: Optional. Used to customize the system prompt template.
579
579
  *
580
580
  * @param tmpReq - ChatWithKnowledgeBaseRequest
581
581
  * @param runtime - runtime options for this request RuntimeOptions
@@ -640,14 +640,14 @@ export default class Client extends OpenApi {
640
640
  }
641
641
 
642
642
  /**
643
- * Combines a knowledge base with a large language model for intelligent Q&A.
643
+ * Provides intelligent Q&A services by combining knowledge bases with large models.
644
644
  *
645
645
  * @remarks
646
- * This API lets you interact with a large language model using specific knowledge base collections to ensure responses are grounded in their content. You can customize requests by configuring parameters, including the database instance ID, knowledge retrieval parameters, and model inference parameters. The API provides a default system prompt template and supports custom system prompts.
647
- * - **DBInstanceId**: Required. Specifies the ID of the database instance.
648
- * - **KnowledgeParams**: Optional. Contains parameters for knowledge retrieval, such as retrieval content and merge policies.
649
- * - **ModelParams**: Required. Contains parameters for model inference, such as the message list and the model name.
650
- * - **PromptTemplate**: Optional. Specifies a custom system prompt template.
646
+ * This API allows users to interact with a large model through specified knowledge base collections to obtain answers based on knowledge base content. It supports configuring various parameters to customize requests, including but not limited to database instance ID, knowledge retrieval parameters, model inference parameters, etc. Additionally, it provides a default system prompt template and allows users to customize system prompts.
647
+ * - **DBInstanceId**: Required. Specifies the database instance ID.
648
+ * - **KnowledgeParams**: Optional. Contains parameters related to knowledge retrieval, such as retrieval content, merge strategies, etc.
649
+ * - **ModelParams**: Required. Contains parameters related to model inference, such as message list, model name, etc.
650
+ * - **PromptTemplate**: Optional. Used to customize the system prompt template.
651
651
  *
652
652
  * @param request - ChatWithKnowledgeBaseRequest
653
653
  * @returns ChatWithKnowledgeBaseResponse
@@ -658,14 +658,14 @@ export default class Client extends OpenApi {
658
658
  }
659
659
 
660
660
  /**
661
- * This service combines a knowledge base with a large model to provide intelligent Q&A. You can access the streaming interface using Server-Sent Events (SSE) or the Java asynchronous SDK.
661
+ * Provides AI chat services by combining knowledge bases with large language models. This is a streaming API called through SSE or the Java asynchronous SDK.
662
662
  *
663
663
  * @remarks
664
- * Use this API to retrieve answers from a large language model based on content from a specified knowledge base. You can customize the request by configuring various parameters, including the database instance ID, knowledge retrieval parameters, and model inference parameters. The API includes a default system prompt template, and you can also specify a custom one.
665
- * - DBInstanceId: Required. The ID of the database instance.
666
- * - KnowledgeParams: Optional. Parameters for knowledge retrieval, such as retrieval content and the merge policy.
667
- * - ModelParams: Required. Parameters for model inference, such as the message list and the model name.
668
- * - PromptTemplate: Optional. A custom system prompt template.
664
+ * This API allows you to interact with a large language model by using specified knowledge base collections to obtain answers based on knowledge base content. You can configure various parameters to customize requests, including but not limited to the database instance ID, knowledge retrieval parameters, and model inference parameters. A default system prompt template is provided, and you can also customize the system prompt.
665
+ * - DBInstanceId: Required. Specifies the database instance ID.
666
+ * - KnowledgeParams: Optional. Contains knowledge retrieval parameters such as retrieval content and merge strategy.
667
+ * - ModelParams: Required. Contains model inference parameters such as the message list and model name.
668
+ * - PromptTemplate: Optional. Specifies a custom system prompt template.
669
669
  *
670
670
  * @param tmpReq - ChatWithKnowledgeBaseStreamRequest
671
671
  * @param runtime - runtime options for this request RuntimeOptions
@@ -744,14 +744,14 @@ export default class Client extends OpenApi {
744
744
  }
745
745
 
746
746
  /**
747
- * This service combines a knowledge base with a large model to provide intelligent Q&A. You can access the streaming interface using Server-Sent Events (SSE) or the Java asynchronous SDK.
747
+ * Provides AI chat services by combining knowledge bases with large language models. This is a streaming API called through SSE or the Java asynchronous SDK.
748
748
  *
749
749
  * @remarks
750
- * Use this API to retrieve answers from a large language model based on content from a specified knowledge base. You can customize the request by configuring various parameters, including the database instance ID, knowledge retrieval parameters, and model inference parameters. The API includes a default system prompt template, and you can also specify a custom one.
751
- * - DBInstanceId: Required. The ID of the database instance.
752
- * - KnowledgeParams: Optional. Parameters for knowledge retrieval, such as retrieval content and the merge policy.
753
- * - ModelParams: Required. Parameters for model inference, such as the message list and the model name.
754
- * - PromptTemplate: Optional. A custom system prompt template.
750
+ * This API allows you to interact with a large language model by using specified knowledge base collections to obtain answers based on knowledge base content. You can configure various parameters to customize requests, including but not limited to the database instance ID, knowledge retrieval parameters, and model inference parameters. A default system prompt template is provided, and you can also customize the system prompt.
751
+ * - DBInstanceId: Required. Specifies the database instance ID.
752
+ * - KnowledgeParams: Optional. Contains knowledge retrieval parameters such as retrieval content and merge strategy.
753
+ * - ModelParams: Required. Contains model inference parameters such as the message list and model name.
754
+ * - PromptTemplate: Optional. Specifies a custom system prompt template.
755
755
  *
756
756
  * @param tmpReq - ChatWithKnowledgeBaseStreamRequest
757
757
  * @param runtime - runtime options for this request RuntimeOptions
@@ -816,14 +816,14 @@ export default class Client extends OpenApi {
816
816
  }
817
817
 
818
818
  /**
819
- * This service combines a knowledge base with a large model to provide intelligent Q&A. You can access the streaming interface using Server-Sent Events (SSE) or the Java asynchronous SDK.
819
+ * Provides AI chat services by combining knowledge bases with large language models. This is a streaming API called through SSE or the Java asynchronous SDK.
820
820
  *
821
821
  * @remarks
822
- * Use this API to retrieve answers from a large language model based on content from a specified knowledge base. You can customize the request by configuring various parameters, including the database instance ID, knowledge retrieval parameters, and model inference parameters. The API includes a default system prompt template, and you can also specify a custom one.
823
- * - DBInstanceId: Required. The ID of the database instance.
824
- * - KnowledgeParams: Optional. Parameters for knowledge retrieval, such as retrieval content and the merge policy.
825
- * - ModelParams: Required. Parameters for model inference, such as the message list and the model name.
826
- * - PromptTemplate: Optional. A custom system prompt template.
822
+ * This API allows you to interact with a large language model by using specified knowledge base collections to obtain answers based on knowledge base content. You can configure various parameters to customize requests, including but not limited to the database instance ID, knowledge retrieval parameters, and model inference parameters. A default system prompt template is provided, and you can also customize the system prompt.
823
+ * - DBInstanceId: Required. Specifies the database instance ID.
824
+ * - KnowledgeParams: Optional. Contains knowledge retrieval parameters such as retrieval content and merge strategy.
825
+ * - ModelParams: Required. Contains model inference parameters such as the message list and model name.
826
+ * - PromptTemplate: Optional. Specifies a custom system prompt template.
827
827
  *
828
828
  * @param request - ChatWithKnowledgeBaseStreamRequest
829
829
  * @returns ChatWithKnowledgeBaseStreamResponse
@@ -1269,6 +1269,98 @@ export default class Client extends OpenApi {
1269
1269
  return await this.createBackupWithOptions(request, runtime);
1270
1270
  }
1271
1271
 
1272
+ /**
1273
+ * Creates a Supabase project branch.
1274
+ *
1275
+ * @remarks
1276
+ * Creates a new Supabase branch based on a specified parent branch. By default, a child branch inherits the region, network, storage, and other resource configurations from the primary branch.
1277
+ *
1278
+ * @param request - CreateBranchRequest
1279
+ * @param runtime - runtime options for this request RuntimeOptions
1280
+ * @returns CreateBranchResponse
1281
+ */
1282
+ async createBranchWithOptions(request: $_model.CreateBranchRequest, runtime: $dara.RuntimeOptions): Promise<$_model.CreateBranchResponse> {
1283
+ request.validate();
1284
+ let query = { };
1285
+ if (!$dara.isNull(request.branchName)) {
1286
+ query["BranchName"] = request.branchName;
1287
+ }
1288
+
1289
+ if (!$dara.isNull(request.clientToken)) {
1290
+ query["ClientToken"] = request.clientToken;
1291
+ }
1292
+
1293
+ if (!$dara.isNull(request.description)) {
1294
+ query["Description"] = request.description;
1295
+ }
1296
+
1297
+ if (!$dara.isNull(request.expiresAt)) {
1298
+ query["ExpiresAt"] = request.expiresAt;
1299
+ }
1300
+
1301
+ if (!$dara.isNull(request.initSource)) {
1302
+ query["InitSource"] = request.initSource;
1303
+ }
1304
+
1305
+ if (!$dara.isNull(request.parentBranchId)) {
1306
+ query["ParentBranchId"] = request.parentBranchId;
1307
+ }
1308
+
1309
+ if (!$dara.isNull(request.parentLsn)) {
1310
+ query["ParentLsn"] = request.parentLsn;
1311
+ }
1312
+
1313
+ if (!$dara.isNull(request.parentTimestamp)) {
1314
+ query["ParentTimestamp"] = request.parentTimestamp;
1315
+ }
1316
+
1317
+ if (!$dara.isNull(request.projectId)) {
1318
+ query["ProjectId"] = request.projectId;
1319
+ }
1320
+
1321
+ if (!$dara.isNull(request.protected)) {
1322
+ query["Protected"] = request.protected;
1323
+ }
1324
+
1325
+ if (!$dara.isNull(request.regionId)) {
1326
+ query["RegionId"] = request.regionId;
1327
+ }
1328
+
1329
+ if (!$dara.isNull(request.tag)) {
1330
+ query["Tag"] = request.tag;
1331
+ }
1332
+
1333
+ let req = new $OpenApiUtil.OpenApiRequest({
1334
+ query: OpenApiUtil.query(query),
1335
+ });
1336
+ let params = new $OpenApiUtil.Params({
1337
+ action: "CreateBranch",
1338
+ version: "2016-05-03",
1339
+ protocol: "HTTPS",
1340
+ pathname: "/",
1341
+ method: "POST",
1342
+ authType: "AK",
1343
+ style: "RPC",
1344
+ reqBodyType: "formData",
1345
+ bodyType: "json",
1346
+ });
1347
+ return $dara.cast<$_model.CreateBranchResponse>(await this.callApi(params, req, runtime), new $_model.CreateBranchResponse({}));
1348
+ }
1349
+
1350
+ /**
1351
+ * Creates a Supabase project branch.
1352
+ *
1353
+ * @remarks
1354
+ * Creates a new Supabase branch based on a specified parent branch. By default, a child branch inherits the region, network, storage, and other resource configurations from the primary branch.
1355
+ *
1356
+ * @param request - CreateBranchRequest
1357
+ * @returns CreateBranchResponse
1358
+ */
1359
+ async createBranch(request: $_model.CreateBranchRequest): Promise<$_model.CreateBranchResponse> {
1360
+ let runtime = new $dara.RuntimeOptions({ });
1361
+ return await this.createBranchWithOptions(request, runtime);
1362
+ }
1363
+
1272
1364
  /**
1273
1365
  * Create a vector dataset.
1274
1366
  *
@@ -2915,6 +3007,70 @@ export default class Client extends OpenApi {
2915
3007
  return await this.createServiceLinkedRoleWithOptions(request, runtime);
2916
3008
  }
2917
3009
 
3010
+ /**
3011
+ * Creates a snapshot for a Supabase project.
3012
+ *
3013
+ * @remarks
3014
+ * Creates a snapshot for a Supabase project based on a specified point in time or Log Sequence Number (LSN). You must specify either SnapshotTimestamp or Lsn. ClientToken is used to ensure idempotence of the request.
3015
+ *
3016
+ * @param request - CreateSnapshotRequest
3017
+ * @param runtime - runtime options for this request RuntimeOptions
3018
+ * @returns CreateSnapshotResponse
3019
+ */
3020
+ async createSnapshotWithOptions(request: $_model.CreateSnapshotRequest, runtime: $dara.RuntimeOptions): Promise<$_model.CreateSnapshotResponse> {
3021
+ request.validate();
3022
+ let query = { };
3023
+ if (!$dara.isNull(request.clientToken)) {
3024
+ query["ClientToken"] = request.clientToken;
3025
+ }
3026
+
3027
+ if (!$dara.isNull(request.lsn)) {
3028
+ query["Lsn"] = request.lsn;
3029
+ }
3030
+
3031
+ if (!$dara.isNull(request.projectId)) {
3032
+ query["ProjectId"] = request.projectId;
3033
+ }
3034
+
3035
+ if (!$dara.isNull(request.regionId)) {
3036
+ query["RegionId"] = request.regionId;
3037
+ }
3038
+
3039
+ if (!$dara.isNull(request.snapshotTimestamp)) {
3040
+ query["SnapshotTimestamp"] = request.snapshotTimestamp;
3041
+ }
3042
+
3043
+ let req = new $OpenApiUtil.OpenApiRequest({
3044
+ query: OpenApiUtil.query(query),
3045
+ });
3046
+ let params = new $OpenApiUtil.Params({
3047
+ action: "CreateSnapshot",
3048
+ version: "2016-05-03",
3049
+ protocol: "HTTPS",
3050
+ pathname: "/",
3051
+ method: "POST",
3052
+ authType: "AK",
3053
+ style: "RPC",
3054
+ reqBodyType: "formData",
3055
+ bodyType: "json",
3056
+ });
3057
+ return $dara.cast<$_model.CreateSnapshotResponse>(await this.callApi(params, req, runtime), new $_model.CreateSnapshotResponse({}));
3058
+ }
3059
+
3060
+ /**
3061
+ * Creates a snapshot for a Supabase project.
3062
+ *
3063
+ * @remarks
3064
+ * Creates a snapshot for a Supabase project based on a specified point in time or Log Sequence Number (LSN). You must specify either SnapshotTimestamp or Lsn. ClientToken is used to ensure idempotence of the request.
3065
+ *
3066
+ * @param request - CreateSnapshotRequest
3067
+ * @returns CreateSnapshotResponse
3068
+ */
3069
+ async createSnapshot(request: $_model.CreateSnapshotRequest): Promise<$_model.CreateSnapshotResponse> {
3070
+ let runtime = new $dara.RuntimeOptions({ });
3071
+ return await this.createSnapshotWithOptions(request, runtime);
3072
+ }
3073
+
2918
3074
  /**
2919
3075
  * Create External Data Source Configuration
2920
3076
  *
@@ -3187,7 +3343,7 @@ export default class Client extends OpenApi {
3187
3343
  * Creates a Supabase project.
3188
3344
  *
3189
3345
  * @remarks
3190
- * - This operation is used to create a Supabase instance.
3346
+ * Creates a Supabase project in a specified region and zone. This operation supports Free, pay-as-you-go, and subscription billing methods. You can specify the network, specifications, storage, access IP address whitelist, DPI engine version, and auto start/stop configurations.
3191
3347
  *
3192
3348
  * @param request - CreateSupabaseProjectRequest
3193
3349
  * @param runtime - runtime options for this request RuntimeOptions
@@ -3281,7 +3437,7 @@ export default class Client extends OpenApi {
3281
3437
  * Creates a Supabase project.
3282
3438
  *
3283
3439
  * @remarks
3284
- * - This operation is used to create a Supabase instance.
3440
+ * Creates a Supabase project in a specified region and zone. This operation supports Free, pay-as-you-go, and subscription billing methods. You can specify the network, specifications, storage, access IP address whitelist, DPI engine version, and auto start/stop configurations.
3285
3441
  *
3286
3442
  * @param request - CreateSupabaseProjectRequest
3287
3443
  * @returns CreateSupabaseProjectResponse
@@ -3653,6 +3809,58 @@ export default class Client extends OpenApi {
3653
3809
  return await this.deleteBackupWithOptions(request, runtime);
3654
3810
  }
3655
3811
 
3812
+ /**
3813
+ * Deletes a Supabase branch.
3814
+ *
3815
+ * @remarks
3816
+ * Deletes a specified Supabase branch. The default branch or branches that still have child branches cannot be deleted.
3817
+ *
3818
+ * @param request - DeleteBranchRequest
3819
+ * @param runtime - runtime options for this request RuntimeOptions
3820
+ * @returns DeleteBranchResponse
3821
+ */
3822
+ async deleteBranchWithOptions(request: $_model.DeleteBranchRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DeleteBranchResponse> {
3823
+ request.validate();
3824
+ let query = { };
3825
+ if (!$dara.isNull(request.branchId)) {
3826
+ query["BranchId"] = request.branchId;
3827
+ }
3828
+
3829
+ if (!$dara.isNull(request.regionId)) {
3830
+ query["RegionId"] = request.regionId;
3831
+ }
3832
+
3833
+ let req = new $OpenApiUtil.OpenApiRequest({
3834
+ query: OpenApiUtil.query(query),
3835
+ });
3836
+ let params = new $OpenApiUtil.Params({
3837
+ action: "DeleteBranch",
3838
+ version: "2016-05-03",
3839
+ protocol: "HTTPS",
3840
+ pathname: "/",
3841
+ method: "POST",
3842
+ authType: "AK",
3843
+ style: "RPC",
3844
+ reqBodyType: "formData",
3845
+ bodyType: "json",
3846
+ });
3847
+ return $dara.cast<$_model.DeleteBranchResponse>(await this.callApi(params, req, runtime), new $_model.DeleteBranchResponse({}));
3848
+ }
3849
+
3850
+ /**
3851
+ * Deletes a Supabase branch.
3852
+ *
3853
+ * @remarks
3854
+ * Deletes a specified Supabase branch. The default branch or branches that still have child branches cannot be deleted.
3855
+ *
3856
+ * @param request - DeleteBranchRequest
3857
+ * @returns DeleteBranchResponse
3858
+ */
3859
+ async deleteBranch(request: $_model.DeleteBranchRequest): Promise<$_model.DeleteBranchResponse> {
3860
+ let runtime = new $dara.RuntimeOptions({ });
3861
+ return await this.deleteBranchWithOptions(request, runtime);
3862
+ }
3863
+
3656
3864
  /**
3657
3865
  * Deletes chunks from a document collection.
3658
3866
  *
@@ -4855,6 +5063,62 @@ export default class Client extends OpenApi {
4855
5063
  return await this.deleteSecretWithOptions(request, runtime);
4856
5064
  }
4857
5065
 
5066
+ /**
5067
+ * 删除恢复点
5068
+ *
5069
+ * @remarks
5070
+ * 该接口用于按 ProjectId 和 Lsn 删除指定 Supabase 项目中的快照。
5071
+ *
5072
+ * @param request - DeleteSnapshotRequest
5073
+ * @param runtime - runtime options for this request RuntimeOptions
5074
+ * @returns DeleteSnapshotResponse
5075
+ */
5076
+ async deleteSnapshotWithOptions(request: $_model.DeleteSnapshotRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DeleteSnapshotResponse> {
5077
+ request.validate();
5078
+ let query = { };
5079
+ if (!$dara.isNull(request.lsn)) {
5080
+ query["Lsn"] = request.lsn;
5081
+ }
5082
+
5083
+ if (!$dara.isNull(request.projectId)) {
5084
+ query["ProjectId"] = request.projectId;
5085
+ }
5086
+
5087
+ if (!$dara.isNull(request.regionId)) {
5088
+ query["RegionId"] = request.regionId;
5089
+ }
5090
+
5091
+ let req = new $OpenApiUtil.OpenApiRequest({
5092
+ query: OpenApiUtil.query(query),
5093
+ });
5094
+ let params = new $OpenApiUtil.Params({
5095
+ action: "DeleteSnapshot",
5096
+ version: "2016-05-03",
5097
+ protocol: "HTTPS",
5098
+ pathname: "/",
5099
+ method: "POST",
5100
+ authType: "AK",
5101
+ style: "RPC",
5102
+ reqBodyType: "formData",
5103
+ bodyType: "json",
5104
+ });
5105
+ return $dara.cast<$_model.DeleteSnapshotResponse>(await this.callApi(params, req, runtime), new $_model.DeleteSnapshotResponse({}));
5106
+ }
5107
+
5108
+ /**
5109
+ * 删除恢复点
5110
+ *
5111
+ * @remarks
5112
+ * 该接口用于按 ProjectId 和 Lsn 删除指定 Supabase 项目中的快照。
5113
+ *
5114
+ * @param request - DeleteSnapshotRequest
5115
+ * @returns DeleteSnapshotResponse
5116
+ */
5117
+ async deleteSnapshot(request: $_model.DeleteSnapshotRequest): Promise<$_model.DeleteSnapshotResponse> {
5118
+ let runtime = new $dara.RuntimeOptions({ });
5119
+ return await this.deleteSnapshotWithOptions(request, runtime);
5120
+ }
5121
+
4858
5122
  /**
4859
5123
  * Delete a real-time data service.
4860
5124
  *
@@ -5575,6 +5839,58 @@ export default class Client extends OpenApi {
5575
5839
  return await this.describeBackupPolicyWithOptions(request, runtime);
5576
5840
  }
5577
5841
 
5842
+ /**
5843
+ * Queries the details of a Supabase branch.
5844
+ *
5845
+ * @remarks
5846
+ * Queries the detailed information of a specified Supabase branch, including basic branch attributes, parent branch information, protection status, and connection information.
5847
+ *
5848
+ * @param request - DescribeBranchRequest
5849
+ * @param runtime - runtime options for this request RuntimeOptions
5850
+ * @returns DescribeBranchResponse
5851
+ */
5852
+ async describeBranchWithOptions(request: $_model.DescribeBranchRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeBranchResponse> {
5853
+ request.validate();
5854
+ let query = { };
5855
+ if (!$dara.isNull(request.branchId)) {
5856
+ query["BranchId"] = request.branchId;
5857
+ }
5858
+
5859
+ if (!$dara.isNull(request.regionId)) {
5860
+ query["RegionId"] = request.regionId;
5861
+ }
5862
+
5863
+ let req = new $OpenApiUtil.OpenApiRequest({
5864
+ query: OpenApiUtil.query(query),
5865
+ });
5866
+ let params = new $OpenApiUtil.Params({
5867
+ action: "DescribeBranch",
5868
+ version: "2016-05-03",
5869
+ protocol: "HTTPS",
5870
+ pathname: "/",
5871
+ method: "POST",
5872
+ authType: "AK",
5873
+ style: "RPC",
5874
+ reqBodyType: "formData",
5875
+ bodyType: "json",
5876
+ });
5877
+ return $dara.cast<$_model.DescribeBranchResponse>(await this.callApi(params, req, runtime), new $_model.DescribeBranchResponse({}));
5878
+ }
5879
+
5880
+ /**
5881
+ * Queries the details of a Supabase branch.
5882
+ *
5883
+ * @remarks
5884
+ * Queries the detailed information of a specified Supabase branch, including basic branch attributes, parent branch information, protection status, and connection information.
5885
+ *
5886
+ * @param request - DescribeBranchRequest
5887
+ * @returns DescribeBranchResponse
5888
+ */
5889
+ async describeBranch(request: $_model.DescribeBranchRequest): Promise<$_model.DescribeBranchResponse> {
5890
+ let runtime = new $dara.RuntimeOptions({ });
5891
+ return await this.describeBranchWithOptions(request, runtime);
5892
+ }
5893
+
5578
5894
  /**
5579
5895
  * Queries the information about a vector collection.
5580
5896
  *
@@ -10269,6 +10585,66 @@ export default class Client extends OpenApi {
10269
10585
  return await this.getAccountWithOptions(request, runtime);
10270
10586
  }
10271
10587
 
10588
+ /**
10589
+ * Retrieves the database schema of a Supabase branch.
10590
+ *
10591
+ * @remarks
10592
+ * Queries the schema SQL content of a specified database in a specified branch. The system databases postgres, template0, and template1 are not supported.
10593
+ *
10594
+ * @param request - GetBranchSchemaRequest
10595
+ * @param runtime - runtime options for this request RuntimeOptions
10596
+ * @returns GetBranchSchemaResponse
10597
+ */
10598
+ async getBranchSchemaWithOptions(request: $_model.GetBranchSchemaRequest, runtime: $dara.RuntimeOptions): Promise<$_model.GetBranchSchemaResponse> {
10599
+ request.validate();
10600
+ let query = { };
10601
+ if (!$dara.isNull(request.branchId)) {
10602
+ query["BranchId"] = request.branchId;
10603
+ }
10604
+
10605
+ if (!$dara.isNull(request.DBName)) {
10606
+ query["DBName"] = request.DBName;
10607
+ }
10608
+
10609
+ if (!$dara.isNull(request.projectId)) {
10610
+ query["ProjectId"] = request.projectId;
10611
+ }
10612
+
10613
+ if (!$dara.isNull(request.regionId)) {
10614
+ query["RegionId"] = request.regionId;
10615
+ }
10616
+
10617
+ let req = new $OpenApiUtil.OpenApiRequest({
10618
+ query: OpenApiUtil.query(query),
10619
+ });
10620
+ let params = new $OpenApiUtil.Params({
10621
+ action: "GetBranchSchema",
10622
+ version: "2016-05-03",
10623
+ protocol: "HTTPS",
10624
+ pathname: "/",
10625
+ method: "POST",
10626
+ authType: "AK",
10627
+ style: "RPC",
10628
+ reqBodyType: "formData",
10629
+ bodyType: "json",
10630
+ });
10631
+ return $dara.cast<$_model.GetBranchSchemaResponse>(await this.callApi(params, req, runtime), new $_model.GetBranchSchemaResponse({}));
10632
+ }
10633
+
10634
+ /**
10635
+ * Retrieves the database schema of a Supabase branch.
10636
+ *
10637
+ * @remarks
10638
+ * Queries the schema SQL content of a specified database in a specified branch. The system databases postgres, template0, and template1 are not supported.
10639
+ *
10640
+ * @param request - GetBranchSchemaRequest
10641
+ * @returns GetBranchSchemaResponse
10642
+ */
10643
+ async getBranchSchema(request: $_model.GetBranchSchemaRequest): Promise<$_model.GetBranchSchemaResponse> {
10644
+ let runtime = new $dara.RuntimeOptions({ });
10645
+ return await this.getBranchSchemaWithOptions(request, runtime);
10646
+ }
10647
+
10272
10648
  /**
10273
10649
  * Retrieves a task to build a knowledge graph.
10274
10650
  *
@@ -11221,6 +11597,86 @@ export default class Client extends OpenApi {
11221
11597
  return await this.listBackupJobsWithOptions(request, runtime);
11222
11598
  }
11223
11599
 
11600
+ /**
11601
+ * Query the branch list of a Supabase project.
11602
+ *
11603
+ * @remarks
11604
+ * This API is used to query all branches under a specified Supabase project with pagination, supporting filtering by parent branch, keyword, and sorting conditions.
11605
+ *
11606
+ * @param request - ListBranchesRequest
11607
+ * @param runtime - runtime options for this request RuntimeOptions
11608
+ * @returns ListBranchesResponse
11609
+ */
11610
+ async listBranchesWithOptions(request: $_model.ListBranchesRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ListBranchesResponse> {
11611
+ request.validate();
11612
+ let query = { };
11613
+ if (!$dara.isNull(request.maxResults)) {
11614
+ query["MaxResults"] = request.maxResults;
11615
+ }
11616
+
11617
+ if (!$dara.isNull(request.nextToken)) {
11618
+ query["NextToken"] = request.nextToken;
11619
+ }
11620
+
11621
+ if (!$dara.isNull(request.pageNumber)) {
11622
+ query["PageNumber"] = request.pageNumber;
11623
+ }
11624
+
11625
+ if (!$dara.isNull(request.pageSize)) {
11626
+ query["PageSize"] = request.pageSize;
11627
+ }
11628
+
11629
+ if (!$dara.isNull(request.parentBranchId)) {
11630
+ query["ParentBranchId"] = request.parentBranchId;
11631
+ }
11632
+
11633
+ if (!$dara.isNull(request.regionId)) {
11634
+ query["RegionId"] = request.regionId;
11635
+ }
11636
+
11637
+ if (!$dara.isNull(request.search)) {
11638
+ query["Search"] = request.search;
11639
+ }
11640
+
11641
+ if (!$dara.isNull(request.sortBy)) {
11642
+ query["SortBy"] = request.sortBy;
11643
+ }
11644
+
11645
+ if (!$dara.isNull(request.sortOrder)) {
11646
+ query["SortOrder"] = request.sortOrder;
11647
+ }
11648
+
11649
+ let req = new $OpenApiUtil.OpenApiRequest({
11650
+ query: OpenApiUtil.query(query),
11651
+ });
11652
+ let params = new $OpenApiUtil.Params({
11653
+ action: "ListBranches",
11654
+ version: "2016-05-03",
11655
+ protocol: "HTTPS",
11656
+ pathname: "/",
11657
+ method: "POST",
11658
+ authType: "AK",
11659
+ style: "RPC",
11660
+ reqBodyType: "formData",
11661
+ bodyType: "json",
11662
+ });
11663
+ return $dara.cast<$_model.ListBranchesResponse>(await this.callApi(params, req, runtime), new $_model.ListBranchesResponse({}));
11664
+ }
11665
+
11666
+ /**
11667
+ * Query the branch list of a Supabase project.
11668
+ *
11669
+ * @remarks
11670
+ * This API is used to query all branches under a specified Supabase project with pagination, supporting filtering by parent branch, keyword, and sorting conditions.
11671
+ *
11672
+ * @param request - ListBranchesRequest
11673
+ * @returns ListBranchesResponse
11674
+ */
11675
+ async listBranches(request: $_model.ListBranchesRequest): Promise<$_model.ListBranchesResponse> {
11676
+ let runtime = new $dara.RuntimeOptions({ });
11677
+ return await this.listBranchesWithOptions(request, runtime);
11678
+ }
11679
+
11224
11680
  /**
11225
11681
  * Get document chunk details
11226
11682
  *
@@ -14925,6 +15381,58 @@ export default class Client extends OpenApi {
14925
15381
  return await this.pauseInstanceWithOptions(request, runtime);
14926
15382
  }
14927
15383
 
15384
+ /**
15385
+ * 暂停SaaS服务
15386
+ *
15387
+ * @remarks
15388
+ * 删除模型服务。
15389
+ *
15390
+ * @param request - PauseSaasServiceRequest
15391
+ * @param runtime - runtime options for this request RuntimeOptions
15392
+ * @returns PauseSaasServiceResponse
15393
+ */
15394
+ async pauseSaasServiceWithOptions(request: $_model.PauseSaasServiceRequest, runtime: $dara.RuntimeOptions): Promise<$_model.PauseSaasServiceResponse> {
15395
+ request.validate();
15396
+ let query = { };
15397
+ if (!$dara.isNull(request.regionId)) {
15398
+ query["RegionId"] = request.regionId;
15399
+ }
15400
+
15401
+ if (!$dara.isNull(request.serviceId)) {
15402
+ query["ServiceId"] = request.serviceId;
15403
+ }
15404
+
15405
+ let req = new $OpenApiUtil.OpenApiRequest({
15406
+ query: OpenApiUtil.query(query),
15407
+ });
15408
+ let params = new $OpenApiUtil.Params({
15409
+ action: "PauseSaasService",
15410
+ version: "2016-05-03",
15411
+ protocol: "HTTPS",
15412
+ pathname: "/",
15413
+ method: "POST",
15414
+ authType: "AK",
15415
+ style: "RPC",
15416
+ reqBodyType: "formData",
15417
+ bodyType: "json",
15418
+ });
15419
+ return $dara.cast<$_model.PauseSaasServiceResponse>(await this.callApi(params, req, runtime), new $_model.PauseSaasServiceResponse({}));
15420
+ }
15421
+
15422
+ /**
15423
+ * 暂停SaaS服务
15424
+ *
15425
+ * @remarks
15426
+ * 删除模型服务。
15427
+ *
15428
+ * @param request - PauseSaasServiceRequest
15429
+ * @returns PauseSaasServiceResponse
15430
+ */
15431
+ async pauseSaasService(request: $_model.PauseSaasServiceRequest): Promise<$_model.PauseSaasServiceResponse> {
15432
+ let runtime = new $dara.RuntimeOptions({ });
15433
+ return await this.pauseSaasServiceWithOptions(request, runtime);
15434
+ }
15435
+
14928
15436
  /**
14929
15437
  * Pauses a Supabase instance.
14930
15438
  *
@@ -15120,7 +15628,7 @@ export default class Client extends OpenApi {
15120
15628
  }
15121
15629
 
15122
15630
  /**
15123
- * Query a document collection with natural language to retrieve vectors and metadata.
15631
+ * Retrieves vectors and metadata from a specified document collection using natural language queries.
15124
15632
  *
15125
15633
  * @param tmpReq - QueryContentRequest
15126
15634
  * @param runtime - runtime options for this request RuntimeOptions
@@ -15271,7 +15779,7 @@ export default class Client extends OpenApi {
15271
15779
  }
15272
15780
 
15273
15781
  /**
15274
- * Query a document collection with natural language to retrieve vectors and metadata.
15782
+ * Retrieves vectors and metadata from a specified document collection using natural language queries.
15275
15783
  *
15276
15784
  * @param request - QueryContentRequest
15277
15785
  * @returns QueryContentResponse
@@ -15368,7 +15876,7 @@ export default class Client extends OpenApi {
15368
15876
  }
15369
15877
 
15370
15878
  /**
15371
- * Retrieve vectors and metadata from specified knowledge bases using a natural-language query, returning the merged results from a multi-channel recall.
15879
+ * Retrieves vectors and metadata from multiple specified document collections by using natural language statements, merges multi-channel recall results, and returns the combined results.
15372
15880
  *
15373
15881
  * @param tmpReq - QueryKnowledgeBasesContentRequest
15374
15882
  * @param runtime - runtime options for this request RuntimeOptions
@@ -15449,7 +15957,7 @@ export default class Client extends OpenApi {
15449
15957
  }
15450
15958
 
15451
15959
  /**
15452
- * Retrieve vectors and metadata from specified knowledge bases using a natural-language query, returning the merged results from a multi-channel recall.
15960
+ * Retrieves vectors and metadata from multiple specified document collections by using natural language statements, merges multi-channel recall results, and returns the combined results.
15453
15961
  *
15454
15962
  * @param request - QueryKnowledgeBasesContentRequest
15455
15963
  * @returns QueryKnowledgeBasesContentResponse
@@ -15849,6 +16357,130 @@ export default class Client extends OpenApi {
15849
16357
  return await this.restartDBInstanceWithOptions(request, runtime);
15850
16358
  }
15851
16359
 
16360
+ /**
16361
+ * Restarts a Supabase project.
16362
+ *
16363
+ * @remarks
16364
+ * Restarts a specified Supabase project. After a successful call, a request ID is returned, and the restart process is executed asynchronously in the backend.
16365
+ *
16366
+ * @param request - RestartSupabaseProjectRequest
16367
+ * @param runtime - runtime options for this request RuntimeOptions
16368
+ * @returns RestartSupabaseProjectResponse
16369
+ */
16370
+ async restartSupabaseProjectWithOptions(request: $_model.RestartSupabaseProjectRequest, runtime: $dara.RuntimeOptions): Promise<$_model.RestartSupabaseProjectResponse> {
16371
+ request.validate();
16372
+ let query = { };
16373
+ if (!$dara.isNull(request.projectId)) {
16374
+ query["ProjectId"] = request.projectId;
16375
+ }
16376
+
16377
+ if (!$dara.isNull(request.regionId)) {
16378
+ query["RegionId"] = request.regionId;
16379
+ }
16380
+
16381
+ let req = new $OpenApiUtil.OpenApiRequest({
16382
+ query: OpenApiUtil.query(query),
16383
+ });
16384
+ let params = new $OpenApiUtil.Params({
16385
+ action: "RestartSupabaseProject",
16386
+ version: "2016-05-03",
16387
+ protocol: "HTTPS",
16388
+ pathname: "/",
16389
+ method: "POST",
16390
+ authType: "AK",
16391
+ style: "RPC",
16392
+ reqBodyType: "formData",
16393
+ bodyType: "json",
16394
+ });
16395
+ return $dara.cast<$_model.RestartSupabaseProjectResponse>(await this.callApi(params, req, runtime), new $_model.RestartSupabaseProjectResponse({}));
16396
+ }
16397
+
16398
+ /**
16399
+ * Restarts a Supabase project.
16400
+ *
16401
+ * @remarks
16402
+ * Restarts a specified Supabase project. After a successful call, a request ID is returned, and the restart process is executed asynchronously in the backend.
16403
+ *
16404
+ * @param request - RestartSupabaseProjectRequest
16405
+ * @returns RestartSupabaseProjectResponse
16406
+ */
16407
+ async restartSupabaseProject(request: $_model.RestartSupabaseProjectRequest): Promise<$_model.RestartSupabaseProjectResponse> {
16408
+ let runtime = new $dara.RuntimeOptions({ });
16409
+ return await this.restartSupabaseProjectWithOptions(request, runtime);
16410
+ }
16411
+
16412
+ /**
16413
+ * Restores a Supabase project from a snapshot.
16414
+ *
16415
+ * @remarks
16416
+ * Restores to a target branch based on a snapshot LSN. You can specify the restored branch name and target branch. FinalizeRestore controls whether to complete the restoration immediately.
16417
+ *
16418
+ * @param request - RestoreSnapshotRequest
16419
+ * @param runtime - runtime options for this request RuntimeOptions
16420
+ * @returns RestoreSnapshotResponse
16421
+ */
16422
+ async restoreSnapshotWithOptions(request: $_model.RestoreSnapshotRequest, runtime: $dara.RuntimeOptions): Promise<$_model.RestoreSnapshotResponse> {
16423
+ request.validate();
16424
+ let query = { };
16425
+ if (!$dara.isNull(request.clientToken)) {
16426
+ query["ClientToken"] = request.clientToken;
16427
+ }
16428
+
16429
+ if (!$dara.isNull(request.finalizeRestore)) {
16430
+ query["FinalizeRestore"] = request.finalizeRestore;
16431
+ }
16432
+
16433
+ if (!$dara.isNull(request.projectId)) {
16434
+ query["ProjectId"] = request.projectId;
16435
+ }
16436
+
16437
+ if (!$dara.isNull(request.regionId)) {
16438
+ query["RegionId"] = request.regionId;
16439
+ }
16440
+
16441
+ if (!$dara.isNull(request.restoredBranchName)) {
16442
+ query["RestoredBranchName"] = request.restoredBranchName;
16443
+ }
16444
+
16445
+ if (!$dara.isNull(request.restoredLsn)) {
16446
+ query["RestoredLsn"] = request.restoredLsn;
16447
+ }
16448
+
16449
+ if (!$dara.isNull(request.targetBranchId)) {
16450
+ query["TargetBranchId"] = request.targetBranchId;
16451
+ }
16452
+
16453
+ let req = new $OpenApiUtil.OpenApiRequest({
16454
+ query: OpenApiUtil.query(query),
16455
+ });
16456
+ let params = new $OpenApiUtil.Params({
16457
+ action: "RestoreSnapshot",
16458
+ version: "2016-05-03",
16459
+ protocol: "HTTPS",
16460
+ pathname: "/",
16461
+ method: "POST",
16462
+ authType: "AK",
16463
+ style: "RPC",
16464
+ reqBodyType: "formData",
16465
+ bodyType: "json",
16466
+ });
16467
+ return $dara.cast<$_model.RestoreSnapshotResponse>(await this.callApi(params, req, runtime), new $_model.RestoreSnapshotResponse({}));
16468
+ }
16469
+
16470
+ /**
16471
+ * Restores a Supabase project from a snapshot.
16472
+ *
16473
+ * @remarks
16474
+ * Restores to a target branch based on a snapshot LSN. You can specify the restored branch name and target branch. FinalizeRestore controls whether to complete the restoration immediately.
16475
+ *
16476
+ * @param request - RestoreSnapshotRequest
16477
+ * @returns RestoreSnapshotResponse
16478
+ */
16479
+ async restoreSnapshot(request: $_model.RestoreSnapshotRequest): Promise<$_model.RestoreSnapshotResponse> {
16480
+ let runtime = new $dara.RuntimeOptions({ });
16481
+ return await this.restoreSnapshotWithOptions(request, runtime);
16482
+ }
16483
+
15852
16484
  /**
15853
16485
  * Resumes data redistribution.
15854
16486
  *
@@ -15955,6 +16587,58 @@ export default class Client extends OpenApi {
15955
16587
  return await this.resumeInstanceWithOptions(request, runtime);
15956
16588
  }
15957
16589
 
16590
+ /**
16591
+ * 恢复SaaS服务
16592
+ *
16593
+ * @remarks
16594
+ * 删除模型服务。
16595
+ *
16596
+ * @param request - ResumeSaasServiceRequest
16597
+ * @param runtime - runtime options for this request RuntimeOptions
16598
+ * @returns ResumeSaasServiceResponse
16599
+ */
16600
+ async resumeSaasServiceWithOptions(request: $_model.ResumeSaasServiceRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ResumeSaasServiceResponse> {
16601
+ request.validate();
16602
+ let query = { };
16603
+ if (!$dara.isNull(request.regionId)) {
16604
+ query["RegionId"] = request.regionId;
16605
+ }
16606
+
16607
+ if (!$dara.isNull(request.serviceId)) {
16608
+ query["ServiceId"] = request.serviceId;
16609
+ }
16610
+
16611
+ let req = new $OpenApiUtil.OpenApiRequest({
16612
+ query: OpenApiUtil.query(query),
16613
+ });
16614
+ let params = new $OpenApiUtil.Params({
16615
+ action: "ResumeSaasService",
16616
+ version: "2016-05-03",
16617
+ protocol: "HTTPS",
16618
+ pathname: "/",
16619
+ method: "POST",
16620
+ authType: "AK",
16621
+ style: "RPC",
16622
+ reqBodyType: "formData",
16623
+ bodyType: "json",
16624
+ });
16625
+ return $dara.cast<$_model.ResumeSaasServiceResponse>(await this.callApi(params, req, runtime), new $_model.ResumeSaasServiceResponse({}));
16626
+ }
16627
+
16628
+ /**
16629
+ * 恢复SaaS服务
16630
+ *
16631
+ * @remarks
16632
+ * 删除模型服务。
16633
+ *
16634
+ * @param request - ResumeSaasServiceRequest
16635
+ * @returns ResumeSaasServiceResponse
16636
+ */
16637
+ async resumeSaasService(request: $_model.ResumeSaasServiceRequest): Promise<$_model.ResumeSaasServiceResponse> {
16638
+ let runtime = new $dara.RuntimeOptions({ });
16639
+ return await this.resumeSaasServiceWithOptions(request, runtime);
16640
+ }
16641
+
15958
16642
  /**
15959
16643
  * Resumes a Supabase instance.
15960
16644
  *