@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/dist/client.js CHANGED
@@ -561,14 +561,14 @@ class Client extends openapi_core_1.default {
561
561
  return await this.cancelUpsertCollectionDataJobWithOptions(request, runtime);
562
562
  }
563
563
  /**
564
- * Combines a knowledge base with a large language model for intelligent Q&A.
564
+ * Provides intelligent Q&A services by combining knowledge bases with large models.
565
565
  *
566
566
  * @remarks
567
- * 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.
568
- * - **DBInstanceId**: Required. Specifies the ID of the database instance.
569
- * - **KnowledgeParams**: Optional. Contains parameters for knowledge retrieval, such as retrieval content and merge policies.
570
- * - **ModelParams**: Required. Contains parameters for model inference, such as the message list and the model name.
571
- * - **PromptTemplate**: Optional. Specifies a custom system prompt template.
567
+ * 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.
568
+ * - **DBInstanceId**: Required. Specifies the database instance ID.
569
+ * - **KnowledgeParams**: Optional. Contains parameters related to knowledge retrieval, such as retrieval content, merge strategies, etc.
570
+ * - **ModelParams**: Required. Contains parameters related to model inference, such as message list, model name, etc.
571
+ * - **PromptTemplate**: Optional. Used to customize the system prompt template.
572
572
  *
573
573
  * @param tmpReq - ChatWithKnowledgeBaseRequest
574
574
  * @param runtime - runtime options for this request RuntimeOptions
@@ -623,14 +623,14 @@ class Client extends openapi_core_1.default {
623
623
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.ChatWithKnowledgeBaseResponse({}));
624
624
  }
625
625
  /**
626
- * Combines a knowledge base with a large language model for intelligent Q&A.
626
+ * Provides intelligent Q&A services by combining knowledge bases with large models.
627
627
  *
628
628
  * @remarks
629
- * 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.
630
- * - **DBInstanceId**: Required. Specifies the ID of the database instance.
631
- * - **KnowledgeParams**: Optional. Contains parameters for knowledge retrieval, such as retrieval content and merge policies.
632
- * - **ModelParams**: Required. Contains parameters for model inference, such as the message list and the model name.
633
- * - **PromptTemplate**: Optional. Specifies a custom system prompt template.
629
+ * 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.
630
+ * - **DBInstanceId**: Required. Specifies the database instance ID.
631
+ * - **KnowledgeParams**: Optional. Contains parameters related to knowledge retrieval, such as retrieval content, merge strategies, etc.
632
+ * - **ModelParams**: Required. Contains parameters related to model inference, such as message list, model name, etc.
633
+ * - **PromptTemplate**: Optional. Used to customize the system prompt template.
634
634
  *
635
635
  * @param request - ChatWithKnowledgeBaseRequest
636
636
  * @returns ChatWithKnowledgeBaseResponse
@@ -640,14 +640,14 @@ class Client extends openapi_core_1.default {
640
640
  return await this.chatWithKnowledgeBaseWithOptions(request, runtime);
641
641
  }
642
642
  /**
643
- * 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.
643
+ * 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.
644
644
  *
645
645
  * @remarks
646
- * 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.
647
- * - DBInstanceId: Required. The ID of the database instance.
648
- * - KnowledgeParams: Optional. Parameters for knowledge retrieval, such as retrieval content and the merge policy.
649
- * - ModelParams: Required. Parameters for model inference, such as the message list and the model name.
650
- * - PromptTemplate: Optional. A custom system prompt template.
646
+ * 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.
647
+ * - DBInstanceId: Required. Specifies the database instance ID.
648
+ * - KnowledgeParams: Optional. Contains knowledge retrieval parameters such as retrieval content and merge strategy.
649
+ * - ModelParams: Required. Contains model inference parameters such as the message list and model name.
650
+ * - PromptTemplate: Optional. Specifies a custom system prompt template.
651
651
  *
652
652
  * @param tmpReq - ChatWithKnowledgeBaseStreamRequest
653
653
  * @param runtime - runtime options for this request RuntimeOptions
@@ -729,14 +729,14 @@ class Client extends openapi_core_1.default {
729
729
  });
730
730
  }
731
731
  /**
732
- * 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.
732
+ * 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.
733
733
  *
734
734
  * @remarks
735
- * 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.
736
- * - DBInstanceId: Required. The ID of the database instance.
737
- * - KnowledgeParams: Optional. Parameters for knowledge retrieval, such as retrieval content and the merge policy.
738
- * - ModelParams: Required. Parameters for model inference, such as the message list and the model name.
739
- * - PromptTemplate: Optional. A custom system prompt template.
735
+ * 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.
736
+ * - DBInstanceId: Required. Specifies the database instance ID.
737
+ * - KnowledgeParams: Optional. Contains knowledge retrieval parameters such as retrieval content and merge strategy.
738
+ * - ModelParams: Required. Contains model inference parameters such as the message list and model name.
739
+ * - PromptTemplate: Optional. Specifies a custom system prompt template.
740
740
  *
741
741
  * @param tmpReq - ChatWithKnowledgeBaseStreamRequest
742
742
  * @param runtime - runtime options for this request RuntimeOptions
@@ -791,14 +791,14 @@ class Client extends openapi_core_1.default {
791
791
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.ChatWithKnowledgeBaseStreamResponse({}));
792
792
  }
793
793
  /**
794
- * 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.
794
+ * 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.
795
795
  *
796
796
  * @remarks
797
- * 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.
798
- * - DBInstanceId: Required. The ID of the database instance.
799
- * - KnowledgeParams: Optional. Parameters for knowledge retrieval, such as retrieval content and the merge policy.
800
- * - ModelParams: Required. Parameters for model inference, such as the message list and the model name.
801
- * - PromptTemplate: Optional. A custom system prompt template.
797
+ * 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.
798
+ * - DBInstanceId: Required. Specifies the database instance ID.
799
+ * - KnowledgeParams: Optional. Contains knowledge retrieval parameters such as retrieval content and merge strategy.
800
+ * - ModelParams: Required. Contains model inference parameters such as the message list and model name.
801
+ * - PromptTemplate: Optional. Specifies a custom system prompt template.
802
802
  *
803
803
  * @param request - ChatWithKnowledgeBaseStreamRequest
804
804
  * @returns ChatWithKnowledgeBaseStreamResponse
@@ -1197,6 +1197,84 @@ class Client extends openapi_core_1.default {
1197
1197
  let runtime = new $dara.RuntimeOptions({});
1198
1198
  return await this.createBackupWithOptions(request, runtime);
1199
1199
  }
1200
+ /**
1201
+ * Creates a Supabase project branch.
1202
+ *
1203
+ * @remarks
1204
+ * 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.
1205
+ *
1206
+ * @param request - CreateBranchRequest
1207
+ * @param runtime - runtime options for this request RuntimeOptions
1208
+ * @returns CreateBranchResponse
1209
+ */
1210
+ async createBranchWithOptions(request, runtime) {
1211
+ request.validate();
1212
+ let query = {};
1213
+ if (!$dara.isNull(request.branchName)) {
1214
+ query["BranchName"] = request.branchName;
1215
+ }
1216
+ if (!$dara.isNull(request.clientToken)) {
1217
+ query["ClientToken"] = request.clientToken;
1218
+ }
1219
+ if (!$dara.isNull(request.description)) {
1220
+ query["Description"] = request.description;
1221
+ }
1222
+ if (!$dara.isNull(request.expiresAt)) {
1223
+ query["ExpiresAt"] = request.expiresAt;
1224
+ }
1225
+ if (!$dara.isNull(request.initSource)) {
1226
+ query["InitSource"] = request.initSource;
1227
+ }
1228
+ if (!$dara.isNull(request.parentBranchId)) {
1229
+ query["ParentBranchId"] = request.parentBranchId;
1230
+ }
1231
+ if (!$dara.isNull(request.parentLsn)) {
1232
+ query["ParentLsn"] = request.parentLsn;
1233
+ }
1234
+ if (!$dara.isNull(request.parentTimestamp)) {
1235
+ query["ParentTimestamp"] = request.parentTimestamp;
1236
+ }
1237
+ if (!$dara.isNull(request.projectId)) {
1238
+ query["ProjectId"] = request.projectId;
1239
+ }
1240
+ if (!$dara.isNull(request.protected)) {
1241
+ query["Protected"] = request.protected;
1242
+ }
1243
+ if (!$dara.isNull(request.regionId)) {
1244
+ query["RegionId"] = request.regionId;
1245
+ }
1246
+ if (!$dara.isNull(request.tag)) {
1247
+ query["Tag"] = request.tag;
1248
+ }
1249
+ let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
1250
+ query: openapi_core_2.OpenApiUtil.query(query),
1251
+ });
1252
+ let params = new openapi_core_2.$OpenApiUtil.Params({
1253
+ action: "CreateBranch",
1254
+ version: "2016-05-03",
1255
+ protocol: "HTTPS",
1256
+ pathname: "/",
1257
+ method: "POST",
1258
+ authType: "AK",
1259
+ style: "RPC",
1260
+ reqBodyType: "formData",
1261
+ bodyType: "json",
1262
+ });
1263
+ return $dara.cast(await this.callApi(params, req, runtime), new $_model.CreateBranchResponse({}));
1264
+ }
1265
+ /**
1266
+ * Creates a Supabase project branch.
1267
+ *
1268
+ * @remarks
1269
+ * 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.
1270
+ *
1271
+ * @param request - CreateBranchRequest
1272
+ * @returns CreateBranchResponse
1273
+ */
1274
+ async createBranch(request) {
1275
+ let runtime = new $dara.RuntimeOptions({});
1276
+ return await this.createBranchWithOptions(request, runtime);
1277
+ }
1200
1278
  /**
1201
1279
  * Create a vector dataset.
1202
1280
  *
@@ -2586,6 +2664,63 @@ class Client extends openapi_core_1.default {
2586
2664
  let runtime = new $dara.RuntimeOptions({});
2587
2665
  return await this.createServiceLinkedRoleWithOptions(request, runtime);
2588
2666
  }
2667
+ /**
2668
+ * Creates a snapshot for a Supabase project.
2669
+ *
2670
+ * @remarks
2671
+ * 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.
2672
+ *
2673
+ * @param request - CreateSnapshotRequest
2674
+ * @param runtime - runtime options for this request RuntimeOptions
2675
+ * @returns CreateSnapshotResponse
2676
+ */
2677
+ async createSnapshotWithOptions(request, runtime) {
2678
+ request.validate();
2679
+ let query = {};
2680
+ if (!$dara.isNull(request.clientToken)) {
2681
+ query["ClientToken"] = request.clientToken;
2682
+ }
2683
+ if (!$dara.isNull(request.lsn)) {
2684
+ query["Lsn"] = request.lsn;
2685
+ }
2686
+ if (!$dara.isNull(request.projectId)) {
2687
+ query["ProjectId"] = request.projectId;
2688
+ }
2689
+ if (!$dara.isNull(request.regionId)) {
2690
+ query["RegionId"] = request.regionId;
2691
+ }
2692
+ if (!$dara.isNull(request.snapshotTimestamp)) {
2693
+ query["SnapshotTimestamp"] = request.snapshotTimestamp;
2694
+ }
2695
+ let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
2696
+ query: openapi_core_2.OpenApiUtil.query(query),
2697
+ });
2698
+ let params = new openapi_core_2.$OpenApiUtil.Params({
2699
+ action: "CreateSnapshot",
2700
+ version: "2016-05-03",
2701
+ protocol: "HTTPS",
2702
+ pathname: "/",
2703
+ method: "POST",
2704
+ authType: "AK",
2705
+ style: "RPC",
2706
+ reqBodyType: "formData",
2707
+ bodyType: "json",
2708
+ });
2709
+ return $dara.cast(await this.callApi(params, req, runtime), new $_model.CreateSnapshotResponse({}));
2710
+ }
2711
+ /**
2712
+ * Creates a snapshot for a Supabase project.
2713
+ *
2714
+ * @remarks
2715
+ * 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.
2716
+ *
2717
+ * @param request - CreateSnapshotRequest
2718
+ * @returns CreateSnapshotResponse
2719
+ */
2720
+ async createSnapshot(request) {
2721
+ let runtime = new $dara.RuntimeOptions({});
2722
+ return await this.createSnapshotWithOptions(request, runtime);
2723
+ }
2589
2724
  /**
2590
2725
  * Create External Data Source Configuration
2591
2726
  *
@@ -2814,7 +2949,7 @@ class Client extends openapi_core_1.default {
2814
2949
  * Creates a Supabase project.
2815
2950
  *
2816
2951
  * @remarks
2817
- * - This operation is used to create a Supabase instance.
2952
+ * 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.
2818
2953
  *
2819
2954
  * @param request - CreateSupabaseProjectRequest
2820
2955
  * @param runtime - runtime options for this request RuntimeOptions
@@ -2891,7 +3026,7 @@ class Client extends openapi_core_1.default {
2891
3026
  * Creates a Supabase project.
2892
3027
  *
2893
3028
  * @remarks
2894
- * - This operation is used to create a Supabase instance.
3029
+ * 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.
2895
3030
  *
2896
3031
  * @param request - CreateSupabaseProjectRequest
2897
3032
  * @returns CreateSupabaseProjectResponse
@@ -3220,6 +3355,54 @@ class Client extends openapi_core_1.default {
3220
3355
  let runtime = new $dara.RuntimeOptions({});
3221
3356
  return await this.deleteBackupWithOptions(request, runtime);
3222
3357
  }
3358
+ /**
3359
+ * Deletes a Supabase branch.
3360
+ *
3361
+ * @remarks
3362
+ * Deletes a specified Supabase branch. The default branch or branches that still have child branches cannot be deleted.
3363
+ *
3364
+ * @param request - DeleteBranchRequest
3365
+ * @param runtime - runtime options for this request RuntimeOptions
3366
+ * @returns DeleteBranchResponse
3367
+ */
3368
+ async deleteBranchWithOptions(request, runtime) {
3369
+ request.validate();
3370
+ let query = {};
3371
+ if (!$dara.isNull(request.branchId)) {
3372
+ query["BranchId"] = request.branchId;
3373
+ }
3374
+ if (!$dara.isNull(request.regionId)) {
3375
+ query["RegionId"] = request.regionId;
3376
+ }
3377
+ let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
3378
+ query: openapi_core_2.OpenApiUtil.query(query),
3379
+ });
3380
+ let params = new openapi_core_2.$OpenApiUtil.Params({
3381
+ action: "DeleteBranch",
3382
+ version: "2016-05-03",
3383
+ protocol: "HTTPS",
3384
+ pathname: "/",
3385
+ method: "POST",
3386
+ authType: "AK",
3387
+ style: "RPC",
3388
+ reqBodyType: "formData",
3389
+ bodyType: "json",
3390
+ });
3391
+ return $dara.cast(await this.callApi(params, req, runtime), new $_model.DeleteBranchResponse({}));
3392
+ }
3393
+ /**
3394
+ * Deletes a Supabase branch.
3395
+ *
3396
+ * @remarks
3397
+ * Deletes a specified Supabase branch. The default branch or branches that still have child branches cannot be deleted.
3398
+ *
3399
+ * @param request - DeleteBranchRequest
3400
+ * @returns DeleteBranchResponse
3401
+ */
3402
+ async deleteBranch(request) {
3403
+ let runtime = new $dara.RuntimeOptions({});
3404
+ return await this.deleteBranchWithOptions(request, runtime);
3405
+ }
3223
3406
  /**
3224
3407
  * Deletes chunks from a document collection.
3225
3408
  *
@@ -4288,6 +4471,57 @@ class Client extends openapi_core_1.default {
4288
4471
  let runtime = new $dara.RuntimeOptions({});
4289
4472
  return await this.deleteSecretWithOptions(request, runtime);
4290
4473
  }
4474
+ /**
4475
+ * 删除恢复点
4476
+ *
4477
+ * @remarks
4478
+ * 该接口用于按 ProjectId 和 Lsn 删除指定 Supabase 项目中的快照。
4479
+ *
4480
+ * @param request - DeleteSnapshotRequest
4481
+ * @param runtime - runtime options for this request RuntimeOptions
4482
+ * @returns DeleteSnapshotResponse
4483
+ */
4484
+ async deleteSnapshotWithOptions(request, runtime) {
4485
+ request.validate();
4486
+ let query = {};
4487
+ if (!$dara.isNull(request.lsn)) {
4488
+ query["Lsn"] = request.lsn;
4489
+ }
4490
+ if (!$dara.isNull(request.projectId)) {
4491
+ query["ProjectId"] = request.projectId;
4492
+ }
4493
+ if (!$dara.isNull(request.regionId)) {
4494
+ query["RegionId"] = request.regionId;
4495
+ }
4496
+ let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
4497
+ query: openapi_core_2.OpenApiUtil.query(query),
4498
+ });
4499
+ let params = new openapi_core_2.$OpenApiUtil.Params({
4500
+ action: "DeleteSnapshot",
4501
+ version: "2016-05-03",
4502
+ protocol: "HTTPS",
4503
+ pathname: "/",
4504
+ method: "POST",
4505
+ authType: "AK",
4506
+ style: "RPC",
4507
+ reqBodyType: "formData",
4508
+ bodyType: "json",
4509
+ });
4510
+ return $dara.cast(await this.callApi(params, req, runtime), new $_model.DeleteSnapshotResponse({}));
4511
+ }
4512
+ /**
4513
+ * 删除恢复点
4514
+ *
4515
+ * @remarks
4516
+ * 该接口用于按 ProjectId 和 Lsn 删除指定 Supabase 项目中的快照。
4517
+ *
4518
+ * @param request - DeleteSnapshotRequest
4519
+ * @returns DeleteSnapshotResponse
4520
+ */
4521
+ async deleteSnapshot(request) {
4522
+ let runtime = new $dara.RuntimeOptions({});
4523
+ return await this.deleteSnapshotWithOptions(request, runtime);
4524
+ }
4291
4525
  /**
4292
4526
  * Delete a real-time data service.
4293
4527
  *
@@ -4937,6 +5171,54 @@ class Client extends openapi_core_1.default {
4937
5171
  let runtime = new $dara.RuntimeOptions({});
4938
5172
  return await this.describeBackupPolicyWithOptions(request, runtime);
4939
5173
  }
5174
+ /**
5175
+ * Queries the details of a Supabase branch.
5176
+ *
5177
+ * @remarks
5178
+ * Queries the detailed information of a specified Supabase branch, including basic branch attributes, parent branch information, protection status, and connection information.
5179
+ *
5180
+ * @param request - DescribeBranchRequest
5181
+ * @param runtime - runtime options for this request RuntimeOptions
5182
+ * @returns DescribeBranchResponse
5183
+ */
5184
+ async describeBranchWithOptions(request, runtime) {
5185
+ request.validate();
5186
+ let query = {};
5187
+ if (!$dara.isNull(request.branchId)) {
5188
+ query["BranchId"] = request.branchId;
5189
+ }
5190
+ if (!$dara.isNull(request.regionId)) {
5191
+ query["RegionId"] = request.regionId;
5192
+ }
5193
+ let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
5194
+ query: openapi_core_2.OpenApiUtil.query(query),
5195
+ });
5196
+ let params = new openapi_core_2.$OpenApiUtil.Params({
5197
+ action: "DescribeBranch",
5198
+ version: "2016-05-03",
5199
+ protocol: "HTTPS",
5200
+ pathname: "/",
5201
+ method: "POST",
5202
+ authType: "AK",
5203
+ style: "RPC",
5204
+ reqBodyType: "formData",
5205
+ bodyType: "json",
5206
+ });
5207
+ return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeBranchResponse({}));
5208
+ }
5209
+ /**
5210
+ * Queries the details of a Supabase branch.
5211
+ *
5212
+ * @remarks
5213
+ * Queries the detailed information of a specified Supabase branch, including basic branch attributes, parent branch information, protection status, and connection information.
5214
+ *
5215
+ * @param request - DescribeBranchRequest
5216
+ * @returns DescribeBranchResponse
5217
+ */
5218
+ async describeBranch(request) {
5219
+ let runtime = new $dara.RuntimeOptions({});
5220
+ return await this.describeBranchWithOptions(request, runtime);
5221
+ }
4940
5222
  /**
4941
5223
  * Queries the information about a vector collection.
4942
5224
  *
@@ -9093,6 +9375,60 @@ class Client extends openapi_core_1.default {
9093
9375
  let runtime = new $dara.RuntimeOptions({});
9094
9376
  return await this.getAccountWithOptions(request, runtime);
9095
9377
  }
9378
+ /**
9379
+ * Retrieves the database schema of a Supabase branch.
9380
+ *
9381
+ * @remarks
9382
+ * Queries the schema SQL content of a specified database in a specified branch. The system databases postgres, template0, and template1 are not supported.
9383
+ *
9384
+ * @param request - GetBranchSchemaRequest
9385
+ * @param runtime - runtime options for this request RuntimeOptions
9386
+ * @returns GetBranchSchemaResponse
9387
+ */
9388
+ async getBranchSchemaWithOptions(request, runtime) {
9389
+ request.validate();
9390
+ let query = {};
9391
+ if (!$dara.isNull(request.branchId)) {
9392
+ query["BranchId"] = request.branchId;
9393
+ }
9394
+ if (!$dara.isNull(request.DBName)) {
9395
+ query["DBName"] = request.DBName;
9396
+ }
9397
+ if (!$dara.isNull(request.projectId)) {
9398
+ query["ProjectId"] = request.projectId;
9399
+ }
9400
+ if (!$dara.isNull(request.regionId)) {
9401
+ query["RegionId"] = request.regionId;
9402
+ }
9403
+ let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
9404
+ query: openapi_core_2.OpenApiUtil.query(query),
9405
+ });
9406
+ let params = new openapi_core_2.$OpenApiUtil.Params({
9407
+ action: "GetBranchSchema",
9408
+ version: "2016-05-03",
9409
+ protocol: "HTTPS",
9410
+ pathname: "/",
9411
+ method: "POST",
9412
+ authType: "AK",
9413
+ style: "RPC",
9414
+ reqBodyType: "formData",
9415
+ bodyType: "json",
9416
+ });
9417
+ return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetBranchSchemaResponse({}));
9418
+ }
9419
+ /**
9420
+ * Retrieves the database schema of a Supabase branch.
9421
+ *
9422
+ * @remarks
9423
+ * Queries the schema SQL content of a specified database in a specified branch. The system databases postgres, template0, and template1 are not supported.
9424
+ *
9425
+ * @param request - GetBranchSchemaRequest
9426
+ * @returns GetBranchSchemaResponse
9427
+ */
9428
+ async getBranchSchema(request) {
9429
+ let runtime = new $dara.RuntimeOptions({});
9430
+ return await this.getBranchSchemaWithOptions(request, runtime);
9431
+ }
9096
9432
  /**
9097
9433
  * Retrieves a task to build a knowledge graph.
9098
9434
  *
@@ -9943,6 +10279,75 @@ class Client extends openapi_core_1.default {
9943
10279
  let runtime = new $dara.RuntimeOptions({});
9944
10280
  return await this.listBackupJobsWithOptions(request, runtime);
9945
10281
  }
10282
+ /**
10283
+ * Query the branch list of a Supabase project.
10284
+ *
10285
+ * @remarks
10286
+ * This API is used to query all branches under a specified Supabase project with pagination, supporting filtering by parent branch, keyword, and sorting conditions.
10287
+ *
10288
+ * @param request - ListBranchesRequest
10289
+ * @param runtime - runtime options for this request RuntimeOptions
10290
+ * @returns ListBranchesResponse
10291
+ */
10292
+ async listBranchesWithOptions(request, runtime) {
10293
+ request.validate();
10294
+ let query = {};
10295
+ if (!$dara.isNull(request.maxResults)) {
10296
+ query["MaxResults"] = request.maxResults;
10297
+ }
10298
+ if (!$dara.isNull(request.nextToken)) {
10299
+ query["NextToken"] = request.nextToken;
10300
+ }
10301
+ if (!$dara.isNull(request.pageNumber)) {
10302
+ query["PageNumber"] = request.pageNumber;
10303
+ }
10304
+ if (!$dara.isNull(request.pageSize)) {
10305
+ query["PageSize"] = request.pageSize;
10306
+ }
10307
+ if (!$dara.isNull(request.parentBranchId)) {
10308
+ query["ParentBranchId"] = request.parentBranchId;
10309
+ }
10310
+ if (!$dara.isNull(request.regionId)) {
10311
+ query["RegionId"] = request.regionId;
10312
+ }
10313
+ if (!$dara.isNull(request.search)) {
10314
+ query["Search"] = request.search;
10315
+ }
10316
+ if (!$dara.isNull(request.sortBy)) {
10317
+ query["SortBy"] = request.sortBy;
10318
+ }
10319
+ if (!$dara.isNull(request.sortOrder)) {
10320
+ query["SortOrder"] = request.sortOrder;
10321
+ }
10322
+ let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
10323
+ query: openapi_core_2.OpenApiUtil.query(query),
10324
+ });
10325
+ let params = new openapi_core_2.$OpenApiUtil.Params({
10326
+ action: "ListBranches",
10327
+ version: "2016-05-03",
10328
+ protocol: "HTTPS",
10329
+ pathname: "/",
10330
+ method: "POST",
10331
+ authType: "AK",
10332
+ style: "RPC",
10333
+ reqBodyType: "formData",
10334
+ bodyType: "json",
10335
+ });
10336
+ return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListBranchesResponse({}));
10337
+ }
10338
+ /**
10339
+ * Query the branch list of a Supabase project.
10340
+ *
10341
+ * @remarks
10342
+ * This API is used to query all branches under a specified Supabase project with pagination, supporting filtering by parent branch, keyword, and sorting conditions.
10343
+ *
10344
+ * @param request - ListBranchesRequest
10345
+ * @returns ListBranchesResponse
10346
+ */
10347
+ async listBranches(request) {
10348
+ let runtime = new $dara.RuntimeOptions({});
10349
+ return await this.listBranchesWithOptions(request, runtime);
10350
+ }
9946
10351
  /**
9947
10352
  * Get document chunk details
9948
10353
  *
@@ -13204,6 +13609,54 @@ class Client extends openapi_core_1.default {
13204
13609
  let runtime = new $dara.RuntimeOptions({});
13205
13610
  return await this.pauseInstanceWithOptions(request, runtime);
13206
13611
  }
13612
+ /**
13613
+ * 暂停SaaS服务
13614
+ *
13615
+ * @remarks
13616
+ * 删除模型服务。
13617
+ *
13618
+ * @param request - PauseSaasServiceRequest
13619
+ * @param runtime - runtime options for this request RuntimeOptions
13620
+ * @returns PauseSaasServiceResponse
13621
+ */
13622
+ async pauseSaasServiceWithOptions(request, runtime) {
13623
+ request.validate();
13624
+ let query = {};
13625
+ if (!$dara.isNull(request.regionId)) {
13626
+ query["RegionId"] = request.regionId;
13627
+ }
13628
+ if (!$dara.isNull(request.serviceId)) {
13629
+ query["ServiceId"] = request.serviceId;
13630
+ }
13631
+ let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
13632
+ query: openapi_core_2.OpenApiUtil.query(query),
13633
+ });
13634
+ let params = new openapi_core_2.$OpenApiUtil.Params({
13635
+ action: "PauseSaasService",
13636
+ version: "2016-05-03",
13637
+ protocol: "HTTPS",
13638
+ pathname: "/",
13639
+ method: "POST",
13640
+ authType: "AK",
13641
+ style: "RPC",
13642
+ reqBodyType: "formData",
13643
+ bodyType: "json",
13644
+ });
13645
+ return $dara.cast(await this.callApi(params, req, runtime), new $_model.PauseSaasServiceResponse({}));
13646
+ }
13647
+ /**
13648
+ * 暂停SaaS服务
13649
+ *
13650
+ * @remarks
13651
+ * 删除模型服务。
13652
+ *
13653
+ * @param request - PauseSaasServiceRequest
13654
+ * @returns PauseSaasServiceResponse
13655
+ */
13656
+ async pauseSaasService(request) {
13657
+ let runtime = new $dara.RuntimeOptions({});
13658
+ return await this.pauseSaasServiceWithOptions(request, runtime);
13659
+ }
13207
13660
  /**
13208
13661
  * Pauses a Supabase instance.
13209
13662
  *
@@ -13368,7 +13821,7 @@ class Client extends openapi_core_1.default {
13368
13821
  return await this.queryCollectionDataWithOptions(request, runtime);
13369
13822
  }
13370
13823
  /**
13371
- * Query a document collection with natural language to retrieve vectors and metadata.
13824
+ * Retrieves vectors and metadata from a specified document collection using natural language queries.
13372
13825
  *
13373
13826
  * @param tmpReq - QueryContentRequest
13374
13827
  * @param runtime - runtime options for this request RuntimeOptions
@@ -13488,7 +13941,7 @@ class Client extends openapi_core_1.default {
13488
13941
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.QueryContentResponse({}));
13489
13942
  }
13490
13943
  /**
13491
- * Query a document collection with natural language to retrieve vectors and metadata.
13944
+ * Retrieves vectors and metadata from a specified document collection using natural language queries.
13492
13945
  *
13493
13946
  * @param request - QueryContentRequest
13494
13947
  * @returns QueryContentResponse
@@ -13579,7 +14032,7 @@ class Client extends openapi_core_1.default {
13579
14032
  return queryContentResp;
13580
14033
  }
13581
14034
  /**
13582
- * Retrieve vectors and metadata from specified knowledge bases using a natural-language query, returning the merged results from a multi-channel recall.
14035
+ * Retrieves vectors and metadata from multiple specified document collections by using natural language statements, merges multi-channel recall results, and returns the combined results.
13583
14036
  *
13584
14037
  * @param tmpReq - QueryKnowledgeBasesContentRequest
13585
14038
  * @param runtime - runtime options for this request RuntimeOptions
@@ -13646,7 +14099,7 @@ class Client extends openapi_core_1.default {
13646
14099
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.QueryKnowledgeBasesContentResponse({}));
13647
14100
  }
13648
14101
  /**
13649
- * Retrieve vectors and metadata from specified knowledge bases using a natural-language query, returning the merged results from a multi-channel recall.
14102
+ * Retrieves vectors and metadata from multiple specified document collections by using natural language statements, merges multi-channel recall results, and returns the combined results.
13650
14103
  *
13651
14104
  * @param request - QueryKnowledgeBasesContentRequest
13652
14105
  * @returns QueryKnowledgeBasesContentResponse
@@ -14005,6 +14458,117 @@ class Client extends openapi_core_1.default {
14005
14458
  let runtime = new $dara.RuntimeOptions({});
14006
14459
  return await this.restartDBInstanceWithOptions(request, runtime);
14007
14460
  }
14461
+ /**
14462
+ * Restarts a Supabase project.
14463
+ *
14464
+ * @remarks
14465
+ * Restarts a specified Supabase project. After a successful call, a request ID is returned, and the restart process is executed asynchronously in the backend.
14466
+ *
14467
+ * @param request - RestartSupabaseProjectRequest
14468
+ * @param runtime - runtime options for this request RuntimeOptions
14469
+ * @returns RestartSupabaseProjectResponse
14470
+ */
14471
+ async restartSupabaseProjectWithOptions(request, runtime) {
14472
+ request.validate();
14473
+ let query = {};
14474
+ if (!$dara.isNull(request.projectId)) {
14475
+ query["ProjectId"] = request.projectId;
14476
+ }
14477
+ if (!$dara.isNull(request.regionId)) {
14478
+ query["RegionId"] = request.regionId;
14479
+ }
14480
+ let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
14481
+ query: openapi_core_2.OpenApiUtil.query(query),
14482
+ });
14483
+ let params = new openapi_core_2.$OpenApiUtil.Params({
14484
+ action: "RestartSupabaseProject",
14485
+ version: "2016-05-03",
14486
+ protocol: "HTTPS",
14487
+ pathname: "/",
14488
+ method: "POST",
14489
+ authType: "AK",
14490
+ style: "RPC",
14491
+ reqBodyType: "formData",
14492
+ bodyType: "json",
14493
+ });
14494
+ return $dara.cast(await this.callApi(params, req, runtime), new $_model.RestartSupabaseProjectResponse({}));
14495
+ }
14496
+ /**
14497
+ * Restarts a Supabase project.
14498
+ *
14499
+ * @remarks
14500
+ * Restarts a specified Supabase project. After a successful call, a request ID is returned, and the restart process is executed asynchronously in the backend.
14501
+ *
14502
+ * @param request - RestartSupabaseProjectRequest
14503
+ * @returns RestartSupabaseProjectResponse
14504
+ */
14505
+ async restartSupabaseProject(request) {
14506
+ let runtime = new $dara.RuntimeOptions({});
14507
+ return await this.restartSupabaseProjectWithOptions(request, runtime);
14508
+ }
14509
+ /**
14510
+ * Restores a Supabase project from a snapshot.
14511
+ *
14512
+ * @remarks
14513
+ * 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.
14514
+ *
14515
+ * @param request - RestoreSnapshotRequest
14516
+ * @param runtime - runtime options for this request RuntimeOptions
14517
+ * @returns RestoreSnapshotResponse
14518
+ */
14519
+ async restoreSnapshotWithOptions(request, runtime) {
14520
+ request.validate();
14521
+ let query = {};
14522
+ if (!$dara.isNull(request.clientToken)) {
14523
+ query["ClientToken"] = request.clientToken;
14524
+ }
14525
+ if (!$dara.isNull(request.finalizeRestore)) {
14526
+ query["FinalizeRestore"] = request.finalizeRestore;
14527
+ }
14528
+ if (!$dara.isNull(request.projectId)) {
14529
+ query["ProjectId"] = request.projectId;
14530
+ }
14531
+ if (!$dara.isNull(request.regionId)) {
14532
+ query["RegionId"] = request.regionId;
14533
+ }
14534
+ if (!$dara.isNull(request.restoredBranchName)) {
14535
+ query["RestoredBranchName"] = request.restoredBranchName;
14536
+ }
14537
+ if (!$dara.isNull(request.restoredLsn)) {
14538
+ query["RestoredLsn"] = request.restoredLsn;
14539
+ }
14540
+ if (!$dara.isNull(request.targetBranchId)) {
14541
+ query["TargetBranchId"] = request.targetBranchId;
14542
+ }
14543
+ let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
14544
+ query: openapi_core_2.OpenApiUtil.query(query),
14545
+ });
14546
+ let params = new openapi_core_2.$OpenApiUtil.Params({
14547
+ action: "RestoreSnapshot",
14548
+ version: "2016-05-03",
14549
+ protocol: "HTTPS",
14550
+ pathname: "/",
14551
+ method: "POST",
14552
+ authType: "AK",
14553
+ style: "RPC",
14554
+ reqBodyType: "formData",
14555
+ bodyType: "json",
14556
+ });
14557
+ return $dara.cast(await this.callApi(params, req, runtime), new $_model.RestoreSnapshotResponse({}));
14558
+ }
14559
+ /**
14560
+ * Restores a Supabase project from a snapshot.
14561
+ *
14562
+ * @remarks
14563
+ * 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.
14564
+ *
14565
+ * @param request - RestoreSnapshotRequest
14566
+ * @returns RestoreSnapshotResponse
14567
+ */
14568
+ async restoreSnapshot(request) {
14569
+ let runtime = new $dara.RuntimeOptions({});
14570
+ return await this.restoreSnapshotWithOptions(request, runtime);
14571
+ }
14008
14572
  /**
14009
14573
  * Resumes data redistribution.
14010
14574
  *
@@ -14103,6 +14667,54 @@ class Client extends openapi_core_1.default {
14103
14667
  let runtime = new $dara.RuntimeOptions({});
14104
14668
  return await this.resumeInstanceWithOptions(request, runtime);
14105
14669
  }
14670
+ /**
14671
+ * 恢复SaaS服务
14672
+ *
14673
+ * @remarks
14674
+ * 删除模型服务。
14675
+ *
14676
+ * @param request - ResumeSaasServiceRequest
14677
+ * @param runtime - runtime options for this request RuntimeOptions
14678
+ * @returns ResumeSaasServiceResponse
14679
+ */
14680
+ async resumeSaasServiceWithOptions(request, runtime) {
14681
+ request.validate();
14682
+ let query = {};
14683
+ if (!$dara.isNull(request.regionId)) {
14684
+ query["RegionId"] = request.regionId;
14685
+ }
14686
+ if (!$dara.isNull(request.serviceId)) {
14687
+ query["ServiceId"] = request.serviceId;
14688
+ }
14689
+ let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
14690
+ query: openapi_core_2.OpenApiUtil.query(query),
14691
+ });
14692
+ let params = new openapi_core_2.$OpenApiUtil.Params({
14693
+ action: "ResumeSaasService",
14694
+ version: "2016-05-03",
14695
+ protocol: "HTTPS",
14696
+ pathname: "/",
14697
+ method: "POST",
14698
+ authType: "AK",
14699
+ style: "RPC",
14700
+ reqBodyType: "formData",
14701
+ bodyType: "json",
14702
+ });
14703
+ return $dara.cast(await this.callApi(params, req, runtime), new $_model.ResumeSaasServiceResponse({}));
14704
+ }
14705
+ /**
14706
+ * 恢复SaaS服务
14707
+ *
14708
+ * @remarks
14709
+ * 删除模型服务。
14710
+ *
14711
+ * @param request - ResumeSaasServiceRequest
14712
+ * @returns ResumeSaasServiceResponse
14713
+ */
14714
+ async resumeSaasService(request) {
14715
+ let runtime = new $dara.RuntimeOptions({});
14716
+ return await this.resumeSaasServiceWithOptions(request, runtime);
14717
+ }
14106
14718
  /**
14107
14719
  * Resumes a Supabase instance.
14108
14720
  *