@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.d.ts CHANGED
@@ -142,14 +142,14 @@ export default class Client extends OpenApi {
142
142
  */
143
143
  cancelUpsertCollectionDataJob(request: $_model.CancelUpsertCollectionDataJobRequest): Promise<$_model.CancelUpsertCollectionDataJobResponse>;
144
144
  /**
145
- * Combines a knowledge base with a large language model for intelligent Q&A.
145
+ * Provides intelligent Q&A services by combining knowledge bases with large models.
146
146
  *
147
147
  * @remarks
148
- * 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.
149
- * - **DBInstanceId**: Required. Specifies the ID of the database instance.
150
- * - **KnowledgeParams**: Optional. Contains parameters for knowledge retrieval, such as retrieval content and merge policies.
151
- * - **ModelParams**: Required. Contains parameters for model inference, such as the message list and the model name.
152
- * - **PromptTemplate**: Optional. Specifies a custom system prompt template.
148
+ * 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.
149
+ * - **DBInstanceId**: Required. Specifies the database instance ID.
150
+ * - **KnowledgeParams**: Optional. Contains parameters related to knowledge retrieval, such as retrieval content, merge strategies, etc.
151
+ * - **ModelParams**: Required. Contains parameters related to model inference, such as message list, model name, etc.
152
+ * - **PromptTemplate**: Optional. Used to customize the system prompt template.
153
153
  *
154
154
  * @param tmpReq - ChatWithKnowledgeBaseRequest
155
155
  * @param runtime - runtime options for this request RuntimeOptions
@@ -157,28 +157,28 @@ export default class Client extends OpenApi {
157
157
  */
158
158
  chatWithKnowledgeBaseWithOptions(tmpReq: $_model.ChatWithKnowledgeBaseRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ChatWithKnowledgeBaseResponse>;
159
159
  /**
160
- * Combines a knowledge base with a large language model for intelligent Q&A.
160
+ * Provides intelligent Q&A services by combining knowledge bases with large models.
161
161
  *
162
162
  * @remarks
163
- * 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.
164
- * - **DBInstanceId**: Required. Specifies the ID of the database instance.
165
- * - **KnowledgeParams**: Optional. Contains parameters for knowledge retrieval, such as retrieval content and merge policies.
166
- * - **ModelParams**: Required. Contains parameters for model inference, such as the message list and the model name.
167
- * - **PromptTemplate**: Optional. Specifies a custom system prompt template.
163
+ * 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.
164
+ * - **DBInstanceId**: Required. Specifies the database instance ID.
165
+ * - **KnowledgeParams**: Optional. Contains parameters related to knowledge retrieval, such as retrieval content, merge strategies, etc.
166
+ * - **ModelParams**: Required. Contains parameters related to model inference, such as message list, model name, etc.
167
+ * - **PromptTemplate**: Optional. Used to customize the system prompt template.
168
168
  *
169
169
  * @param request - ChatWithKnowledgeBaseRequest
170
170
  * @returns ChatWithKnowledgeBaseResponse
171
171
  */
172
172
  chatWithKnowledgeBase(request: $_model.ChatWithKnowledgeBaseRequest): Promise<$_model.ChatWithKnowledgeBaseResponse>;
173
173
  /**
174
- * 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.
174
+ * 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.
175
175
  *
176
176
  * @remarks
177
- * 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.
178
- * - DBInstanceId: Required. The ID of the database instance.
179
- * - KnowledgeParams: Optional. Parameters for knowledge retrieval, such as retrieval content and the merge policy.
180
- * - ModelParams: Required. Parameters for model inference, such as the message list and the model name.
181
- * - PromptTemplate: Optional. A custom system prompt template.
177
+ * 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.
178
+ * - DBInstanceId: Required. Specifies the database instance ID.
179
+ * - KnowledgeParams: Optional. Contains knowledge retrieval parameters such as retrieval content and merge strategy.
180
+ * - ModelParams: Required. Contains model inference parameters such as the message list and model name.
181
+ * - PromptTemplate: Optional. Specifies a custom system prompt template.
182
182
  *
183
183
  * @param tmpReq - ChatWithKnowledgeBaseStreamRequest
184
184
  * @param runtime - runtime options for this request RuntimeOptions
@@ -186,14 +186,14 @@ export default class Client extends OpenApi {
186
186
  */
187
187
  chatWithKnowledgeBaseStreamWithSSE(tmpReq: $_model.ChatWithKnowledgeBaseStreamRequest, runtime: $dara.RuntimeOptions): AsyncGenerator<$_model.ChatWithKnowledgeBaseStreamResponse, any, unknown>;
188
188
  /**
189
- * 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.
189
+ * 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.
190
190
  *
191
191
  * @remarks
192
- * 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.
193
- * - DBInstanceId: Required. The ID of the database instance.
194
- * - KnowledgeParams: Optional. Parameters for knowledge retrieval, such as retrieval content and the merge policy.
195
- * - ModelParams: Required. Parameters for model inference, such as the message list and the model name.
196
- * - PromptTemplate: Optional. A custom system prompt template.
192
+ * 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.
193
+ * - DBInstanceId: Required. Specifies the database instance ID.
194
+ * - KnowledgeParams: Optional. Contains knowledge retrieval parameters such as retrieval content and merge strategy.
195
+ * - ModelParams: Required. Contains model inference parameters such as the message list and model name.
196
+ * - PromptTemplate: Optional. Specifies a custom system prompt template.
197
197
  *
198
198
  * @param tmpReq - ChatWithKnowledgeBaseStreamRequest
199
199
  * @param runtime - runtime options for this request RuntimeOptions
@@ -201,14 +201,14 @@ export default class Client extends OpenApi {
201
201
  */
202
202
  chatWithKnowledgeBaseStreamWithOptions(tmpReq: $_model.ChatWithKnowledgeBaseStreamRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ChatWithKnowledgeBaseStreamResponse>;
203
203
  /**
204
- * 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.
204
+ * 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.
205
205
  *
206
206
  * @remarks
207
- * 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.
208
- * - DBInstanceId: Required. The ID of the database instance.
209
- * - KnowledgeParams: Optional. Parameters for knowledge retrieval, such as retrieval content and the merge policy.
210
- * - ModelParams: Required. Parameters for model inference, such as the message list and the model name.
211
- * - PromptTemplate: Optional. A custom system prompt template.
207
+ * 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.
208
+ * - DBInstanceId: Required. Specifies the database instance ID.
209
+ * - KnowledgeParams: Optional. Contains knowledge retrieval parameters such as retrieval content and merge strategy.
210
+ * - ModelParams: Required. Contains model inference parameters such as the message list and model name.
211
+ * - PromptTemplate: Optional. Specifies a custom system prompt template.
212
212
  *
213
213
  * @param request - ChatWithKnowledgeBaseStreamRequest
214
214
  * @returns ChatWithKnowledgeBaseStreamResponse
@@ -346,6 +346,27 @@ export default class Client extends OpenApi {
346
346
  * @returns CreateBackupResponse
347
347
  */
348
348
  createBackup(request: $_model.CreateBackupRequest): Promise<$_model.CreateBackupResponse>;
349
+ /**
350
+ * Creates a Supabase project branch.
351
+ *
352
+ * @remarks
353
+ * 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.
354
+ *
355
+ * @param request - CreateBranchRequest
356
+ * @param runtime - runtime options for this request RuntimeOptions
357
+ * @returns CreateBranchResponse
358
+ */
359
+ createBranchWithOptions(request: $_model.CreateBranchRequest, runtime: $dara.RuntimeOptions): Promise<$_model.CreateBranchResponse>;
360
+ /**
361
+ * Creates a Supabase project branch.
362
+ *
363
+ * @remarks
364
+ * 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.
365
+ *
366
+ * @param request - CreateBranchRequest
367
+ * @returns CreateBranchResponse
368
+ */
369
+ createBranch(request: $_model.CreateBranchRequest): Promise<$_model.CreateBranchResponse>;
349
370
  /**
350
371
  * Create a vector dataset.
351
372
  *
@@ -669,6 +690,27 @@ export default class Client extends OpenApi {
669
690
  * @returns CreateServiceLinkedRoleResponse
670
691
  */
671
692
  createServiceLinkedRole(request: $_model.CreateServiceLinkedRoleRequest): Promise<$_model.CreateServiceLinkedRoleResponse>;
693
+ /**
694
+ * Creates a snapshot for a Supabase project.
695
+ *
696
+ * @remarks
697
+ * 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.
698
+ *
699
+ * @param request - CreateSnapshotRequest
700
+ * @param runtime - runtime options for this request RuntimeOptions
701
+ * @returns CreateSnapshotResponse
702
+ */
703
+ createSnapshotWithOptions(request: $_model.CreateSnapshotRequest, runtime: $dara.RuntimeOptions): Promise<$_model.CreateSnapshotResponse>;
704
+ /**
705
+ * Creates a snapshot for a Supabase project.
706
+ *
707
+ * @remarks
708
+ * 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.
709
+ *
710
+ * @param request - CreateSnapshotRequest
711
+ * @returns CreateSnapshotResponse
712
+ */
713
+ createSnapshot(request: $_model.CreateSnapshotRequest): Promise<$_model.CreateSnapshotResponse>;
672
714
  /**
673
715
  * Create External Data Source Configuration
674
716
  *
@@ -718,7 +760,7 @@ export default class Client extends OpenApi {
718
760
  * Creates a Supabase project.
719
761
  *
720
762
  * @remarks
721
- * - This operation is used to create a Supabase instance.
763
+ * 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.
722
764
  *
723
765
  * @param request - CreateSupabaseProjectRequest
724
766
  * @param runtime - runtime options for this request RuntimeOptions
@@ -729,7 +771,7 @@ export default class Client extends OpenApi {
729
771
  * Creates a Supabase project.
730
772
  *
731
773
  * @remarks
732
- * - This operation is used to create a Supabase instance.
774
+ * 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.
733
775
  *
734
776
  * @param request - CreateSupabaseProjectRequest
735
777
  * @returns CreateSupabaseProjectResponse
@@ -839,6 +881,27 @@ export default class Client extends OpenApi {
839
881
  * @returns DeleteBackupResponse
840
882
  */
841
883
  deleteBackup(request: $_model.DeleteBackupRequest): Promise<$_model.DeleteBackupResponse>;
884
+ /**
885
+ * Deletes a Supabase branch.
886
+ *
887
+ * @remarks
888
+ * Deletes a specified Supabase branch. The default branch or branches that still have child branches cannot be deleted.
889
+ *
890
+ * @param request - DeleteBranchRequest
891
+ * @param runtime - runtime options for this request RuntimeOptions
892
+ * @returns DeleteBranchResponse
893
+ */
894
+ deleteBranchWithOptions(request: $_model.DeleteBranchRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DeleteBranchResponse>;
895
+ /**
896
+ * Deletes a Supabase branch.
897
+ *
898
+ * @remarks
899
+ * Deletes a specified Supabase branch. The default branch or branches that still have child branches cannot be deleted.
900
+ *
901
+ * @param request - DeleteBranchRequest
902
+ * @returns DeleteBranchResponse
903
+ */
904
+ deleteBranch(request: $_model.DeleteBranchRequest): Promise<$_model.DeleteBranchResponse>;
842
905
  /**
843
906
  * Deletes chunks from a document collection.
844
907
  *
@@ -1188,6 +1251,27 @@ export default class Client extends OpenApi {
1188
1251
  * @returns DeleteSecretResponse
1189
1252
  */
1190
1253
  deleteSecret(request: $_model.DeleteSecretRequest): Promise<$_model.DeleteSecretResponse>;
1254
+ /**
1255
+ * 删除恢复点
1256
+ *
1257
+ * @remarks
1258
+ * 该接口用于按 ProjectId 和 Lsn 删除指定 Supabase 项目中的快照。
1259
+ *
1260
+ * @param request - DeleteSnapshotRequest
1261
+ * @param runtime - runtime options for this request RuntimeOptions
1262
+ * @returns DeleteSnapshotResponse
1263
+ */
1264
+ deleteSnapshotWithOptions(request: $_model.DeleteSnapshotRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DeleteSnapshotResponse>;
1265
+ /**
1266
+ * 删除恢复点
1267
+ *
1268
+ * @remarks
1269
+ * 该接口用于按 ProjectId 和 Lsn 删除指定 Supabase 项目中的快照。
1270
+ *
1271
+ * @param request - DeleteSnapshotRequest
1272
+ * @returns DeleteSnapshotResponse
1273
+ */
1274
+ deleteSnapshot(request: $_model.DeleteSnapshotRequest): Promise<$_model.DeleteSnapshotResponse>;
1191
1275
  /**
1192
1276
  * Delete a real-time data service.
1193
1277
  *
@@ -1429,6 +1513,27 @@ export default class Client extends OpenApi {
1429
1513
  * @returns DescribeBackupPolicyResponse
1430
1514
  */
1431
1515
  describeBackupPolicy(request: $_model.DescribeBackupPolicyRequest): Promise<$_model.DescribeBackupPolicyResponse>;
1516
+ /**
1517
+ * Queries the details of a Supabase branch.
1518
+ *
1519
+ * @remarks
1520
+ * Queries the detailed information of a specified Supabase branch, including basic branch attributes, parent branch information, protection status, and connection information.
1521
+ *
1522
+ * @param request - DescribeBranchRequest
1523
+ * @param runtime - runtime options for this request RuntimeOptions
1524
+ * @returns DescribeBranchResponse
1525
+ */
1526
+ describeBranchWithOptions(request: $_model.DescribeBranchRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeBranchResponse>;
1527
+ /**
1528
+ * Queries the details of a Supabase branch.
1529
+ *
1530
+ * @remarks
1531
+ * Queries the detailed information of a specified Supabase branch, including basic branch attributes, parent branch information, protection status, and connection information.
1532
+ *
1533
+ * @param request - DescribeBranchRequest
1534
+ * @returns DescribeBranchResponse
1535
+ */
1536
+ describeBranch(request: $_model.DescribeBranchRequest): Promise<$_model.DescribeBranchResponse>;
1432
1537
  /**
1433
1538
  * Queries the information about a vector collection.
1434
1539
  *
@@ -2853,6 +2958,27 @@ export default class Client extends OpenApi {
2853
2958
  * @returns GetAccountResponse
2854
2959
  */
2855
2960
  getAccount(request: $_model.GetAccountRequest): Promise<$_model.GetAccountResponse>;
2961
+ /**
2962
+ * Retrieves the database schema of a Supabase branch.
2963
+ *
2964
+ * @remarks
2965
+ * Queries the schema SQL content of a specified database in a specified branch. The system databases postgres, template0, and template1 are not supported.
2966
+ *
2967
+ * @param request - GetBranchSchemaRequest
2968
+ * @param runtime - runtime options for this request RuntimeOptions
2969
+ * @returns GetBranchSchemaResponse
2970
+ */
2971
+ getBranchSchemaWithOptions(request: $_model.GetBranchSchemaRequest, runtime: $dara.RuntimeOptions): Promise<$_model.GetBranchSchemaResponse>;
2972
+ /**
2973
+ * Retrieves the database schema of a Supabase branch.
2974
+ *
2975
+ * @remarks
2976
+ * Queries the schema SQL content of a specified database in a specified branch. The system databases postgres, template0, and template1 are not supported.
2977
+ *
2978
+ * @param request - GetBranchSchemaRequest
2979
+ * @returns GetBranchSchemaResponse
2980
+ */
2981
+ getBranchSchema(request: $_model.GetBranchSchemaRequest): Promise<$_model.GetBranchSchemaResponse>;
2856
2982
  /**
2857
2983
  * Retrieves a task to build a knowledge graph.
2858
2984
  *
@@ -3153,6 +3279,27 @@ export default class Client extends OpenApi {
3153
3279
  * @returns ListBackupJobsResponse
3154
3280
  */
3155
3281
  listBackupJobs(request: $_model.ListBackupJobsRequest): Promise<$_model.ListBackupJobsResponse>;
3282
+ /**
3283
+ * Query the branch list of a Supabase project.
3284
+ *
3285
+ * @remarks
3286
+ * This API is used to query all branches under a specified Supabase project with pagination, supporting filtering by parent branch, keyword, and sorting conditions.
3287
+ *
3288
+ * @param request - ListBranchesRequest
3289
+ * @param runtime - runtime options for this request RuntimeOptions
3290
+ * @returns ListBranchesResponse
3291
+ */
3292
+ listBranchesWithOptions(request: $_model.ListBranchesRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ListBranchesResponse>;
3293
+ /**
3294
+ * Query the branch list of a Supabase project.
3295
+ *
3296
+ * @remarks
3297
+ * This API is used to query all branches under a specified Supabase project with pagination, supporting filtering by parent branch, keyword, and sorting conditions.
3298
+ *
3299
+ * @param request - ListBranchesRequest
3300
+ * @returns ListBranchesResponse
3301
+ */
3302
+ listBranches(request: $_model.ListBranchesRequest): Promise<$_model.ListBranchesResponse>;
3156
3303
  /**
3157
3304
  * Get document chunk details
3158
3305
  *
@@ -4196,6 +4343,27 @@ export default class Client extends OpenApi {
4196
4343
  * @returns PauseInstanceResponse
4197
4344
  */
4198
4345
  pauseInstance(request: $_model.PauseInstanceRequest): Promise<$_model.PauseInstanceResponse>;
4346
+ /**
4347
+ * 暂停SaaS服务
4348
+ *
4349
+ * @remarks
4350
+ * 删除模型服务。
4351
+ *
4352
+ * @param request - PauseSaasServiceRequest
4353
+ * @param runtime - runtime options for this request RuntimeOptions
4354
+ * @returns PauseSaasServiceResponse
4355
+ */
4356
+ pauseSaasServiceWithOptions(request: $_model.PauseSaasServiceRequest, runtime: $dara.RuntimeOptions): Promise<$_model.PauseSaasServiceResponse>;
4357
+ /**
4358
+ * 暂停SaaS服务
4359
+ *
4360
+ * @remarks
4361
+ * 删除模型服务。
4362
+ *
4363
+ * @param request - PauseSaasServiceRequest
4364
+ * @returns PauseSaasServiceResponse
4365
+ */
4366
+ pauseSaasService(request: $_model.PauseSaasServiceRequest): Promise<$_model.PauseSaasServiceResponse>;
4199
4367
  /**
4200
4368
  * Pauses a Supabase instance.
4201
4369
  *
@@ -4233,7 +4401,7 @@ export default class Client extends OpenApi {
4233
4401
  */
4234
4402
  queryCollectionData(request: $_model.QueryCollectionDataRequest): Promise<$_model.QueryCollectionDataResponse>;
4235
4403
  /**
4236
- * Query a document collection with natural language to retrieve vectors and metadata.
4404
+ * Retrieves vectors and metadata from a specified document collection using natural language queries.
4237
4405
  *
4238
4406
  * @param tmpReq - QueryContentRequest
4239
4407
  * @param runtime - runtime options for this request RuntimeOptions
@@ -4241,7 +4409,7 @@ export default class Client extends OpenApi {
4241
4409
  */
4242
4410
  queryContentWithOptions(tmpReq: $_model.QueryContentRequest, runtime: $dara.RuntimeOptions): Promise<$_model.QueryContentResponse>;
4243
4411
  /**
4244
- * Query a document collection with natural language to retrieve vectors and metadata.
4412
+ * Retrieves vectors and metadata from a specified document collection using natural language queries.
4245
4413
  *
4246
4414
  * @param request - QueryContentRequest
4247
4415
  * @returns QueryContentResponse
@@ -4249,7 +4417,7 @@ export default class Client extends OpenApi {
4249
4417
  queryContent(request: $_model.QueryContentRequest): Promise<$_model.QueryContentResponse>;
4250
4418
  queryContentAdvance(request: $_model.QueryContentAdvanceRequest, runtime: $dara.RuntimeOptions): Promise<$_model.QueryContentResponse>;
4251
4419
  /**
4252
- * Retrieve vectors and metadata from specified knowledge bases using a natural-language query, returning the merged results from a multi-channel recall.
4420
+ * Retrieves vectors and metadata from multiple specified document collections by using natural language statements, merges multi-channel recall results, and returns the combined results.
4253
4421
  *
4254
4422
  * @param tmpReq - QueryKnowledgeBasesContentRequest
4255
4423
  * @param runtime - runtime options for this request RuntimeOptions
@@ -4257,7 +4425,7 @@ export default class Client extends OpenApi {
4257
4425
  */
4258
4426
  queryKnowledgeBasesContentWithOptions(tmpReq: $_model.QueryKnowledgeBasesContentRequest, runtime: $dara.RuntimeOptions): Promise<$_model.QueryKnowledgeBasesContentResponse>;
4259
4427
  /**
4260
- * Retrieve vectors and metadata from specified knowledge bases using a natural-language query, returning the merged results from a multi-channel recall.
4428
+ * Retrieves vectors and metadata from multiple specified document collections by using natural language statements, merges multi-channel recall results, and returns the combined results.
4261
4429
  *
4262
4430
  * @param request - QueryKnowledgeBasesContentRequest
4263
4431
  * @returns QueryKnowledgeBasesContentResponse
@@ -4384,6 +4552,48 @@ export default class Client extends OpenApi {
4384
4552
  * @returns RestartDBInstanceResponse
4385
4553
  */
4386
4554
  restartDBInstance(request: $_model.RestartDBInstanceRequest): Promise<$_model.RestartDBInstanceResponse>;
4555
+ /**
4556
+ * Restarts a Supabase project.
4557
+ *
4558
+ * @remarks
4559
+ * Restarts a specified Supabase project. After a successful call, a request ID is returned, and the restart process is executed asynchronously in the backend.
4560
+ *
4561
+ * @param request - RestartSupabaseProjectRequest
4562
+ * @param runtime - runtime options for this request RuntimeOptions
4563
+ * @returns RestartSupabaseProjectResponse
4564
+ */
4565
+ restartSupabaseProjectWithOptions(request: $_model.RestartSupabaseProjectRequest, runtime: $dara.RuntimeOptions): Promise<$_model.RestartSupabaseProjectResponse>;
4566
+ /**
4567
+ * Restarts a Supabase project.
4568
+ *
4569
+ * @remarks
4570
+ * Restarts a specified Supabase project. After a successful call, a request ID is returned, and the restart process is executed asynchronously in the backend.
4571
+ *
4572
+ * @param request - RestartSupabaseProjectRequest
4573
+ * @returns RestartSupabaseProjectResponse
4574
+ */
4575
+ restartSupabaseProject(request: $_model.RestartSupabaseProjectRequest): Promise<$_model.RestartSupabaseProjectResponse>;
4576
+ /**
4577
+ * Restores a Supabase project from a snapshot.
4578
+ *
4579
+ * @remarks
4580
+ * 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.
4581
+ *
4582
+ * @param request - RestoreSnapshotRequest
4583
+ * @param runtime - runtime options for this request RuntimeOptions
4584
+ * @returns RestoreSnapshotResponse
4585
+ */
4586
+ restoreSnapshotWithOptions(request: $_model.RestoreSnapshotRequest, runtime: $dara.RuntimeOptions): Promise<$_model.RestoreSnapshotResponse>;
4587
+ /**
4588
+ * Restores a Supabase project from a snapshot.
4589
+ *
4590
+ * @remarks
4591
+ * 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.
4592
+ *
4593
+ * @param request - RestoreSnapshotRequest
4594
+ * @returns RestoreSnapshotResponse
4595
+ */
4596
+ restoreSnapshot(request: $_model.RestoreSnapshotRequest): Promise<$_model.RestoreSnapshotResponse>;
4387
4597
  /**
4388
4598
  * Resumes data redistribution.
4389
4599
  *
@@ -4428,6 +4638,27 @@ export default class Client extends OpenApi {
4428
4638
  * @returns ResumeInstanceResponse
4429
4639
  */
4430
4640
  resumeInstance(request: $_model.ResumeInstanceRequest): Promise<$_model.ResumeInstanceResponse>;
4641
+ /**
4642
+ * 恢复SaaS服务
4643
+ *
4644
+ * @remarks
4645
+ * 删除模型服务。
4646
+ *
4647
+ * @param request - ResumeSaasServiceRequest
4648
+ * @param runtime - runtime options for this request RuntimeOptions
4649
+ * @returns ResumeSaasServiceResponse
4650
+ */
4651
+ resumeSaasServiceWithOptions(request: $_model.ResumeSaasServiceRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ResumeSaasServiceResponse>;
4652
+ /**
4653
+ * 恢复SaaS服务
4654
+ *
4655
+ * @remarks
4656
+ * 删除模型服务。
4657
+ *
4658
+ * @param request - ResumeSaasServiceRequest
4659
+ * @returns ResumeSaasServiceResponse
4660
+ */
4661
+ resumeSaasService(request: $_model.ResumeSaasServiceRequest): Promise<$_model.ResumeSaasServiceResponse>;
4431
4662
  /**
4432
4663
  * Resumes a Supabase instance.
4433
4664
  *