@alicloud/gpdb20160503 3.7.0 → 3.9.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 (124) hide show
  1. package/dist/client.d.ts +160 -34
  2. package/dist/client.js +367 -34
  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/PauseSaasServiceRequest.d.ts +26 -0
  18. package/dist/models/PauseSaasServiceRequest.js +60 -0
  19. package/dist/models/PauseSaasServiceRequest.js.map +1 -0
  20. package/dist/models/PauseSaasServiceResponse.d.ts +19 -0
  21. package/dist/models/PauseSaasServiceResponse.js +69 -0
  22. package/dist/models/PauseSaasServiceResponse.js.map +1 -0
  23. package/dist/models/PauseSaasServiceResponseBody.d.ts +23 -0
  24. package/dist/models/PauseSaasServiceResponseBody.js +60 -0
  25. package/dist/models/PauseSaasServiceResponseBody.js.map +1 -0
  26. package/dist/models/QueryContentAdvanceRequest.d.ts +57 -70
  27. package/dist/models/QueryContentAdvanceRequest.js +2 -0
  28. package/dist/models/QueryContentAdvanceRequest.js.map +1 -1
  29. package/dist/models/QueryContentRequest.d.ts +57 -70
  30. package/dist/models/QueryContentRequest.js +2 -0
  31. package/dist/models/QueryContentRequest.js.map +1 -1
  32. package/dist/models/QueryContentResponseBody.d.ts +10 -11
  33. package/dist/models/QueryContentResponseBody.js.map +1 -1
  34. package/dist/models/QueryContentShrinkRequest.d.ts +52 -66
  35. package/dist/models/QueryContentShrinkRequest.js.map +1 -1
  36. package/dist/models/QueryKnowledgeBasesContentRequest.d.ts +62 -78
  37. package/dist/models/QueryKnowledgeBasesContentRequest.js +2 -0
  38. package/dist/models/QueryKnowledgeBasesContentRequest.js.map +1 -1
  39. package/dist/models/QueryKnowledgeBasesContentResponseBody.d.ts +11 -25
  40. package/dist/models/QueryKnowledgeBasesContentResponseBody.js.map +1 -1
  41. package/dist/models/QueryKnowledgeBasesContentShrinkRequest.d.ts +11 -15
  42. package/dist/models/QueryKnowledgeBasesContentShrinkRequest.js.map +1 -1
  43. package/dist/models/ResetBranchRequest.d.ts +41 -0
  44. package/dist/models/ResetBranchRequest.js +62 -0
  45. package/dist/models/ResetBranchRequest.js.map +1 -0
  46. package/dist/models/ResetBranchResponse.d.ts +19 -0
  47. package/dist/models/ResetBranchResponse.js +69 -0
  48. package/dist/models/ResetBranchResponse.js.map +1 -0
  49. package/dist/models/ResetBranchResponseBody.d.ts +21 -0
  50. package/dist/models/ResetBranchResponseBody.js +58 -0
  51. package/dist/models/ResetBranchResponseBody.js.map +1 -0
  52. package/dist/models/RestoreBranchRequest.d.ts +83 -0
  53. package/dist/models/RestoreBranchRequest.js +72 -0
  54. package/dist/models/RestoreBranchRequest.js.map +1 -0
  55. package/dist/models/RestoreBranchResponse.d.ts +19 -0
  56. package/dist/models/RestoreBranchResponse.js +69 -0
  57. package/dist/models/RestoreBranchResponse.js.map +1 -0
  58. package/dist/models/RestoreBranchResponseBody.d.ts +29 -0
  59. package/dist/models/RestoreBranchResponseBody.js +60 -0
  60. package/dist/models/RestoreBranchResponseBody.js.map +1 -0
  61. package/dist/models/ResumeSaasServiceRequest.d.ts +26 -0
  62. package/dist/models/ResumeSaasServiceRequest.js +60 -0
  63. package/dist/models/ResumeSaasServiceRequest.js.map +1 -0
  64. package/dist/models/ResumeSaasServiceResponse.d.ts +19 -0
  65. package/dist/models/ResumeSaasServiceResponse.js +69 -0
  66. package/dist/models/ResumeSaasServiceResponse.js.map +1 -0
  67. package/dist/models/ResumeSaasServiceResponseBody.d.ts +23 -0
  68. package/dist/models/ResumeSaasServiceResponseBody.js +60 -0
  69. package/dist/models/ResumeSaasServiceResponseBody.js.map +1 -0
  70. package/dist/models/SetAsDefaultBranchRequest.d.ts +41 -0
  71. package/dist/models/SetAsDefaultBranchRequest.js +62 -0
  72. package/dist/models/SetAsDefaultBranchRequest.js.map +1 -0
  73. package/dist/models/SetAsDefaultBranchResponse.d.ts +19 -0
  74. package/dist/models/SetAsDefaultBranchResponse.js +69 -0
  75. package/dist/models/SetAsDefaultBranchResponse.js.map +1 -0
  76. package/dist/models/SetAsDefaultBranchResponseBody.d.ts +21 -0
  77. package/dist/models/SetAsDefaultBranchResponseBody.js +58 -0
  78. package/dist/models/SetAsDefaultBranchResponseBody.js.map +1 -0
  79. package/dist/models/UpdateBranchRequest.d.ts +126 -0
  80. package/dist/models/UpdateBranchRequest.js +98 -0
  81. package/dist/models/UpdateBranchRequest.js.map +1 -0
  82. package/dist/models/UpdateBranchResponse.d.ts +19 -0
  83. package/dist/models/UpdateBranchResponse.js +69 -0
  84. package/dist/models/UpdateBranchResponse.js.map +1 -0
  85. package/dist/models/UpdateBranchResponseBody.d.ts +21 -0
  86. package/dist/models/UpdateBranchResponseBody.js +58 -0
  87. package/dist/models/UpdateBranchResponseBody.js.map +1 -0
  88. package/dist/models/model.d.ts +19 -0
  89. package/dist/models/model.js +56 -18
  90. package/dist/models/model.js.map +1 -1
  91. package/package.json +1 -1
  92. package/src/client.ts +406 -34
  93. package/src/models/ChatWithKnowledgeBaseRequest.ts +70 -111
  94. package/src/models/ChatWithKnowledgeBaseResponseBody.ts +45 -52
  95. package/src/models/ChatWithKnowledgeBaseShrinkRequest.ts +5 -6
  96. package/src/models/ChatWithKnowledgeBaseStreamRequest.ts +73 -87
  97. package/src/models/ChatWithKnowledgeBaseStreamResponseBody.ts +44 -50
  98. package/src/models/ChatWithKnowledgeBaseStreamShrinkRequest.ts +6 -6
  99. package/src/models/PauseSaasServiceRequest.ts +41 -0
  100. package/src/models/PauseSaasServiceResponse.ts +40 -0
  101. package/src/models/PauseSaasServiceResponseBody.ts +38 -0
  102. package/src/models/QueryContentAdvanceRequest.ts +60 -71
  103. package/src/models/QueryContentRequest.ts +60 -71
  104. package/src/models/QueryContentResponseBody.ts +10 -11
  105. package/src/models/QueryContentShrinkRequest.ts +53 -67
  106. package/src/models/QueryKnowledgeBasesContentRequest.ts +64 -78
  107. package/src/models/QueryKnowledgeBasesContentResponseBody.ts +11 -25
  108. package/src/models/QueryKnowledgeBasesContentShrinkRequest.ts +11 -15
  109. package/src/models/ResetBranchRequest.ts +58 -0
  110. package/src/models/ResetBranchResponse.ts +40 -0
  111. package/src/models/ResetBranchResponseBody.ts +34 -0
  112. package/src/models/RestoreBranchRequest.ts +110 -0
  113. package/src/models/RestoreBranchResponse.ts +40 -0
  114. package/src/models/RestoreBranchResponseBody.ts +44 -0
  115. package/src/models/ResumeSaasServiceRequest.ts +41 -0
  116. package/src/models/ResumeSaasServiceResponse.ts +40 -0
  117. package/src/models/ResumeSaasServiceResponseBody.ts +38 -0
  118. package/src/models/SetAsDefaultBranchRequest.ts +58 -0
  119. package/src/models/SetAsDefaultBranchResponse.ts +40 -0
  120. package/src/models/SetAsDefaultBranchResponseBody.ts +34 -0
  121. package/src/models/UpdateBranchRequest.ts +170 -0
  122. package/src/models/UpdateBranchResponse.ts +40 -0
  123. package/src/models/UpdateBranchResponseBody.ts +34 -0
  124. package/src/models/model.ts +19 -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
@@ -4343,6 +4343,27 @@ export default class Client extends OpenApi {
4343
4343
  * @returns PauseInstanceResponse
4344
4344
  */
4345
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>;
4346
4367
  /**
4347
4368
  * Pauses a Supabase instance.
4348
4369
  *
@@ -4380,7 +4401,7 @@ export default class Client extends OpenApi {
4380
4401
  */
4381
4402
  queryCollectionData(request: $_model.QueryCollectionDataRequest): Promise<$_model.QueryCollectionDataResponse>;
4382
4403
  /**
4383
- * 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.
4384
4405
  *
4385
4406
  * @param tmpReq - QueryContentRequest
4386
4407
  * @param runtime - runtime options for this request RuntimeOptions
@@ -4388,7 +4409,7 @@ export default class Client extends OpenApi {
4388
4409
  */
4389
4410
  queryContentWithOptions(tmpReq: $_model.QueryContentRequest, runtime: $dara.RuntimeOptions): Promise<$_model.QueryContentResponse>;
4390
4411
  /**
4391
- * 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.
4392
4413
  *
4393
4414
  * @param request - QueryContentRequest
4394
4415
  * @returns QueryContentResponse
@@ -4396,7 +4417,7 @@ export default class Client extends OpenApi {
4396
4417
  queryContent(request: $_model.QueryContentRequest): Promise<$_model.QueryContentResponse>;
4397
4418
  queryContentAdvance(request: $_model.QueryContentAdvanceRequest, runtime: $dara.RuntimeOptions): Promise<$_model.QueryContentResponse>;
4398
4419
  /**
4399
- * 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.
4400
4421
  *
4401
4422
  * @param tmpReq - QueryKnowledgeBasesContentRequest
4402
4423
  * @param runtime - runtime options for this request RuntimeOptions
@@ -4404,7 +4425,7 @@ export default class Client extends OpenApi {
4404
4425
  */
4405
4426
  queryKnowledgeBasesContentWithOptions(tmpReq: $_model.QueryKnowledgeBasesContentRequest, runtime: $dara.RuntimeOptions): Promise<$_model.QueryKnowledgeBasesContentResponse>;
4406
4427
  /**
4407
- * 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.
4408
4429
  *
4409
4430
  * @param request - QueryKnowledgeBasesContentRequest
4410
4431
  * @returns QueryKnowledgeBasesContentResponse
@@ -4470,6 +4491,27 @@ export default class Client extends OpenApi {
4470
4491
  * @returns ResetAccountPasswordResponse
4471
4492
  */
4472
4493
  resetAccountPassword(request: $_model.ResetAccountPasswordRequest): Promise<$_model.ResetAccountPasswordResponse>;
4494
+ /**
4495
+ * Resets a Supabase branch.
4496
+ *
4497
+ * @remarks
4498
+ * Resets a child branch to the latest data of its parent branch. The main branch, branches without a parent branch, branches with child branches, and protected branches cannot be reset.
4499
+ *
4500
+ * @param request - ResetBranchRequest
4501
+ * @param runtime - runtime options for this request RuntimeOptions
4502
+ * @returns ResetBranchResponse
4503
+ */
4504
+ resetBranchWithOptions(request: $_model.ResetBranchRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ResetBranchResponse>;
4505
+ /**
4506
+ * Resets a Supabase branch.
4507
+ *
4508
+ * @remarks
4509
+ * Resets a child branch to the latest data of its parent branch. The main branch, branches without a parent branch, branches with child branches, and protected branches cannot be reset.
4510
+ *
4511
+ * @param request - ResetBranchRequest
4512
+ * @returns ResetBranchResponse
4513
+ */
4514
+ resetBranch(request: $_model.ResetBranchRequest): Promise<$_model.ResetBranchResponse>;
4473
4515
  /**
4474
4516
  * Resets the IMV statistics.
4475
4517
  *
@@ -4552,6 +4594,27 @@ export default class Client extends OpenApi {
4552
4594
  * @returns RestartSupabaseProjectResponse
4553
4595
  */
4554
4596
  restartSupabaseProject(request: $_model.RestartSupabaseProjectRequest): Promise<$_model.RestartSupabaseProjectResponse>;
4597
+ /**
4598
+ * Recovers a Supabase branch.
4599
+ *
4600
+ * @remarks
4601
+ * Recovers a target branch to a specified point in time or LSN of the source branch. Before recovery, you can specify a backup branch name to preserve the original target branch.
4602
+ *
4603
+ * @param request - RestoreBranchRequest
4604
+ * @param runtime - runtime options for this request RuntimeOptions
4605
+ * @returns RestoreBranchResponse
4606
+ */
4607
+ restoreBranchWithOptions(request: $_model.RestoreBranchRequest, runtime: $dara.RuntimeOptions): Promise<$_model.RestoreBranchResponse>;
4608
+ /**
4609
+ * Recovers a Supabase branch.
4610
+ *
4611
+ * @remarks
4612
+ * Recovers a target branch to a specified point in time or LSN of the source branch. Before recovery, you can specify a backup branch name to preserve the original target branch.
4613
+ *
4614
+ * @param request - RestoreBranchRequest
4615
+ * @returns RestoreBranchResponse
4616
+ */
4617
+ restoreBranch(request: $_model.RestoreBranchRequest): Promise<$_model.RestoreBranchResponse>;
4555
4618
  /**
4556
4619
  * Restores a Supabase project from a snapshot.
4557
4620
  *
@@ -4617,6 +4680,27 @@ export default class Client extends OpenApi {
4617
4680
  * @returns ResumeInstanceResponse
4618
4681
  */
4619
4682
  resumeInstance(request: $_model.ResumeInstanceRequest): Promise<$_model.ResumeInstanceResponse>;
4683
+ /**
4684
+ * 恢复SaaS服务
4685
+ *
4686
+ * @remarks
4687
+ * 删除模型服务。
4688
+ *
4689
+ * @param request - ResumeSaasServiceRequest
4690
+ * @param runtime - runtime options for this request RuntimeOptions
4691
+ * @returns ResumeSaasServiceResponse
4692
+ */
4693
+ resumeSaasServiceWithOptions(request: $_model.ResumeSaasServiceRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ResumeSaasServiceResponse>;
4694
+ /**
4695
+ * 恢复SaaS服务
4696
+ *
4697
+ * @remarks
4698
+ * 删除模型服务。
4699
+ *
4700
+ * @param request - ResumeSaasServiceRequest
4701
+ * @returns ResumeSaasServiceResponse
4702
+ */
4703
+ resumeSaasService(request: $_model.ResumeSaasServiceRequest): Promise<$_model.ResumeSaasServiceResponse>;
4620
4704
  /**
4621
4705
  * Resumes a Supabase instance.
4622
4706
  *
@@ -4638,6 +4722,27 @@ export default class Client extends OpenApi {
4638
4722
  * @returns ResumeSupabaseProjectResponse
4639
4723
  */
4640
4724
  resumeSupabaseProject(request: $_model.ResumeSupabaseProjectRequest): Promise<$_model.ResumeSupabaseProjectResponse>;
4725
+ /**
4726
+ * Sets the default branch for a Supabase project.
4727
+ *
4728
+ * @remarks
4729
+ * Sets a specified branch as the default branch for a Supabase project.
4730
+ *
4731
+ * @param request - SetAsDefaultBranchRequest
4732
+ * @param runtime - runtime options for this request RuntimeOptions
4733
+ * @returns SetAsDefaultBranchResponse
4734
+ */
4735
+ setAsDefaultBranchWithOptions(request: $_model.SetAsDefaultBranchRequest, runtime: $dara.RuntimeOptions): Promise<$_model.SetAsDefaultBranchResponse>;
4736
+ /**
4737
+ * Sets the default branch for a Supabase project.
4738
+ *
4739
+ * @remarks
4740
+ * Sets a specified branch as the default branch for a Supabase project.
4741
+ *
4742
+ * @param request - SetAsDefaultBranchRequest
4743
+ * @returns SetAsDefaultBranchResponse
4744
+ */
4745
+ setAsDefaultBranch(request: $_model.SetAsDefaultBranchRequest): Promise<$_model.SetAsDefaultBranchResponse>;
4641
4746
  /**
4642
4747
  * Enables or disables a plan for an AnalyticDB for PostgreSQL instance.
4643
4748
  *
@@ -4832,6 +4937,27 @@ export default class Client extends OpenApi {
4832
4937
  * @returns UntagSupabaseProjectResponse
4833
4938
  */
4834
4939
  untagSupabaseProject(request: $_model.UntagSupabaseProjectRequest): Promise<$_model.UntagSupabaseProjectResponse>;
4940
+ /**
4941
+ * Updates Supabase branch information.
4942
+ *
4943
+ * @remarks
4944
+ * This operation modifies the branch name, description, tags, protection status, and automatic deletion time upon expiration.
4945
+ *
4946
+ * @param request - UpdateBranchRequest
4947
+ * @param runtime - runtime options for this request RuntimeOptions
4948
+ * @returns UpdateBranchResponse
4949
+ */
4950
+ updateBranchWithOptions(request: $_model.UpdateBranchRequest, runtime: $dara.RuntimeOptions): Promise<$_model.UpdateBranchResponse>;
4951
+ /**
4952
+ * Updates Supabase branch information.
4953
+ *
4954
+ * @remarks
4955
+ * This operation modifies the branch name, description, tags, protection status, and automatic deletion time upon expiration.
4956
+ *
4957
+ * @param request - UpdateBranchRequest
4958
+ * @returns UpdateBranchResponse
4959
+ */
4960
+ updateBranch(request: $_model.UpdateBranchRequest): Promise<$_model.UpdateBranchResponse>;
4835
4961
  /**
4836
4962
  * Update Metadata of Collection Data
4837
4963
  *