@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
@@ -0,0 +1,76 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class CreateSnapshotRequest extends $dara.Model {
6
+ /**
7
+ * @remarks
8
+ * The idempotence token. Ensures that repeated requests do not result in duplicate operations.
9
+ *
10
+ * @example
11
+ * 123e4567-e89b-12d3-a456-426655440000
12
+ */
13
+ clientToken?: string;
14
+ /**
15
+ * @remarks
16
+ * The LSN for the snapshot. You must specify either this parameter or SnapshotTimestamp. If this parameter is specified, the snapshot is created based on the specified LSN.
17
+ *
18
+ * @example
19
+ * 0/3522648
20
+ */
21
+ lsn?: string;
22
+ /**
23
+ * @remarks
24
+ * The Supabase project ID.
25
+ *
26
+ * This parameter is required.
27
+ *
28
+ * @example
29
+ * spb-xxxx
30
+ */
31
+ projectId?: string;
32
+ /**
33
+ * @remarks
34
+ * The region ID. Specifies the region in which to perform the operation.
35
+ *
36
+ * @example
37
+ * cn-hangzhou
38
+ */
39
+ regionId?: string;
40
+ /**
41
+ * @remarks
42
+ * The point in time for the snapshot. You must specify either this parameter or Lsn. If this parameter is specified, the snapshot is created based on the specified point in time.
43
+ *
44
+ * @example
45
+ * 2026-04-08T09:11:12Z
46
+ */
47
+ snapshotTimestamp?: string;
48
+ static names(): { [key: string]: string } {
49
+ return {
50
+ clientToken: 'ClientToken',
51
+ lsn: 'Lsn',
52
+ projectId: 'ProjectId',
53
+ regionId: 'RegionId',
54
+ snapshotTimestamp: 'SnapshotTimestamp',
55
+ };
56
+ }
57
+
58
+ static types(): { [key: string]: any } {
59
+ return {
60
+ clientToken: 'string',
61
+ lsn: 'string',
62
+ projectId: 'string',
63
+ regionId: 'string',
64
+ snapshotTimestamp: 'string',
65
+ };
66
+ }
67
+
68
+ validate() {
69
+ super.validate();
70
+ }
71
+
72
+ constructor(map?: { [key: string]: any }) {
73
+ super(map);
74
+ }
75
+ }
76
+
@@ -0,0 +1,40 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+ import { CreateSnapshotResponseBody } from "./CreateSnapshotResponseBody";
4
+
5
+
6
+ export class CreateSnapshotResponse extends $dara.Model {
7
+ headers?: { [key: string]: string };
8
+ statusCode?: number;
9
+ body?: CreateSnapshotResponseBody;
10
+ static names(): { [key: string]: string } {
11
+ return {
12
+ headers: 'headers',
13
+ statusCode: 'statusCode',
14
+ body: 'body',
15
+ };
16
+ }
17
+
18
+ static types(): { [key: string]: any } {
19
+ return {
20
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
21
+ statusCode: 'number',
22
+ body: CreateSnapshotResponseBody,
23
+ };
24
+ }
25
+
26
+ validate() {
27
+ if(this.headers) {
28
+ $dara.Model.validateMap(this.headers);
29
+ }
30
+ if(this.body && typeof (this.body as any).validate === 'function') {
31
+ (this.body as any).validate();
32
+ }
33
+ super.validate();
34
+ }
35
+
36
+ constructor(map?: { [key: string]: any }) {
37
+ super(map);
38
+ }
39
+ }
40
+
@@ -0,0 +1,64 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class CreateSnapshotResponseBody extends $dara.Model {
6
+ /**
7
+ * @remarks
8
+ * The branch ID to which the snapshot belongs.
9
+ *
10
+ * @example
11
+ * br-xxxx
12
+ */
13
+ branchId?: string;
14
+ /**
15
+ * @remarks
16
+ * The LSN for the snapshot. You must specify either this parameter or SnapshotTimestamp. If this parameter is specified, the snapshot is created based on the specified LSN.
17
+ *
18
+ * @example
19
+ * 0/3522648
20
+ */
21
+ lsn?: string;
22
+ /**
23
+ * @remarks
24
+ * The request ID.
25
+ *
26
+ * @example
27
+ * B4CAF581-2AC7-41AD-8940-D56DF7AADF5B
28
+ */
29
+ requestId?: string;
30
+ /**
31
+ * @remarks
32
+ * The actual point in time that corresponds to the created snapshot.
33
+ *
34
+ * @example
35
+ * 2026-04-08T09:11:12Z
36
+ */
37
+ timestamp?: string;
38
+ static names(): { [key: string]: string } {
39
+ return {
40
+ branchId: 'BranchId',
41
+ lsn: 'Lsn',
42
+ requestId: 'RequestId',
43
+ timestamp: 'Timestamp',
44
+ };
45
+ }
46
+
47
+ static types(): { [key: string]: any } {
48
+ return {
49
+ branchId: 'string',
50
+ lsn: 'string',
51
+ requestId: 'string',
52
+ timestamp: 'string',
53
+ };
54
+ }
55
+
56
+ validate() {
57
+ super.validate();
58
+ }
59
+
60
+ constructor(map?: { [key: string]: any }) {
61
+ super(map);
62
+ }
63
+ }
64
+
@@ -7,57 +7,84 @@ export class CreateSupabaseProjectRequest extends $dara.Model {
7
7
  * @remarks
8
8
  * The password of the initial account.
9
9
  *
10
- * - The password must contain at least three of the following character types: uppercase letters, lowercase letters, digits, and special characters.
11
- * - The following special characters are supported: `!@#$%^&*()_+-=`
10
+ * Password rules:
11
+ *
12
12
  * - The password must be 8 to 32 characters in length.
13
+ * - The password must contain at least three of the following character types: uppercase letters, lowercase letters, digits, and special characters.
14
+ * - Supported special characters include !@#$%^&*()_+-=.
13
15
  *
14
16
  * This parameter is required.
15
17
  *
16
18
  * @example
17
- * Pw123456
19
+ * TestPassword123!
18
20
  */
19
21
  accountPassword?: string;
22
+ /**
23
+ * @remarks
24
+ * Specifies whether to enable auto start/stop. If this parameter is not specified, the default value is false.
25
+ *
26
+ * @example
27
+ * false
28
+ */
20
29
  autoScale?: boolean;
21
30
  /**
22
31
  * @remarks
23
- * The client token that is used to ensure the idempotence of the request. For more information, see [How to ensure idempotence](https://help.aliyun.com/document_detail/327176.html).
32
+ * The idempotency token. This token ensures that duplicate requests do not trigger the same operation more than once.
24
33
  *
25
34
  * @example
26
- * 0c593ea1-3bea-11e9-b96b-88888888****
35
+ * 123e4567-e89b-12d3-a456-426655440000
27
36
  */
28
37
  clientToken?: string;
29
38
  /**
30
39
  * @remarks
31
- * The performance level (PL) of the cloud disk. Default value: PL0. Valid values:
40
+ * The performance level (PL) of the cloud disk. If this parameter is not specified, the default value PL0 is used.
41
+ *
42
+ * Valid values:
43
+ *
32
44
  * - PL0
33
45
  * - PL1
46
+ * - PL2
47
+ * - PL3.
34
48
  *
35
49
  * @example
36
50
  * PL0
37
51
  */
38
52
  diskPerformanceLevel?: string;
53
+ /**
54
+ * @remarks
55
+ * The DPI engine version. If this parameter is not specified, the default value PG15 is used.
56
+ *
57
+ * Valid values:
58
+ *
59
+ * - PG15: PostgreSQL 15.
60
+ * - PG17: PostgreSQL 17.
61
+ *
62
+ * @example
63
+ * PG15
64
+ */
39
65
  engineVersion?: string;
40
66
  /**
41
67
  * @remarks
42
- * The billing method. Valid values:
68
+ * The billing method. If this parameter is not specified, the default value Free is used.
43
69
  *
44
- * - **Postpaid**: pay-as-you-go.
45
- * - **Prepaid**: subscription.
70
+ * Valid values:
46
71
  *
47
- * > - If you do not specify this parameter, an instance of the Free type is created by default.
48
- * > - If you select the subscription billing method, you can receive discounts when you purchase a one-year or longer subscription. We recommend that you select a billing method based on your business requirements.
72
+ * - Free: free tier.
73
+ * - Postpaid: pay-as-you-go.
74
+ * - Prepaid: subscription.
49
75
  *
50
76
  * @example
51
- * Postpaid
77
+ * Free
52
78
  */
53
79
  payType?: string;
54
80
  /**
55
81
  * @remarks
56
- * The unit of the subscription duration. Valid values:
57
- * - **Month**: month.
58
- * - **Year**: year.
82
+ * The unit of the subscription duration. This parameter takes effect only when PayType is set to PrePay. If this parameter is not specified, the default value Month is used.
83
+ *
84
+ * Valid values:
59
85
  *
60
- * > This parameter is required when you create a subscription instance.
86
+ * - Month: month.
87
+ * - Year: year.
61
88
  *
62
89
  * @example
63
90
  * Month
@@ -65,33 +92,33 @@ export class CreateSupabaseProjectRequest extends $dara.Model {
65
92
  period?: string;
66
93
  /**
67
94
  * @remarks
68
- * The project name. The naming rules are as follows:
69
- *
70
- * - The name must be 1 to 128 characters in length.
95
+ * The name of the Supabase project.
71
96
  *
72
- * - The name can contain only letters, digits, hyphens (-), and underscores (_).
97
+ * Naming rules:
73
98
  *
99
+ * - The name must be 1 to 128 characters in length.
100
+ * - The name can contain letters, digits, hyphens (-), and underscores (_).
74
101
  * - The name must start with a letter or an underscore (_).
75
102
  *
76
103
  * This parameter is required.
77
104
  *
78
105
  * @example
79
- * saas_iot_x86_modbustcp_lqt01
106
+ * supabase_demo
80
107
  */
81
108
  projectName?: string;
82
109
  /**
83
110
  * @remarks
84
- * The Supabase instance specification. The default specification for the Free type is 1C1G. The specifications for paid types are consistent with those available on the console.
111
+ * The specifications of the Supabase project. The Free billing type uses free-tier specifications. For paid billing types, the specifications must match those available on the console.
85
112
  *
86
113
  * This parameter is required.
87
114
  *
88
115
  * @example
89
- * 1C1G
116
+ * 2C4G
90
117
  */
91
118
  projectSpec?: string;
92
119
  /**
93
120
  * @remarks
94
- * The region ID. You can call [DescribeRegions](https://help.aliyun.com/document_detail/86912.html) to view the available region IDs.
121
+ * The region ID. Specifies the region in which to create the project.
95
122
  *
96
123
  * @example
97
124
  * cn-hangzhou
@@ -99,31 +126,25 @@ export class CreateSupabaseProjectRequest extends $dara.Model {
99
126
  regionId?: string;
100
127
  /**
101
128
  * @remarks
102
- * The IP address whitelist.
103
- *
104
- * The value 127.0.0.1 indicates that no external IP addresses are allowed to access the instance. After the instance is created, you can call [ModifySecurityIps](https://help.aliyun.com/document_detail/86928.html) to modify the IP address whitelist.
129
+ * The IP address whitelist. Separate multiple IP addresses or CIDR blocks with commas (,). If this parameter is not specified, the default value 0.0.0.0/0 is used.
105
130
  *
106
131
  * This parameter is required.
107
132
  *
108
133
  * @example
109
- * 127.0.0.1
134
+ * 0.0.0.0/0
110
135
  */
111
136
  securityIPList?: string;
112
137
  /**
113
138
  * @remarks
114
- * The storage size. Unit: GB. Default value: 1.
139
+ * The storage size. Unit: GB. If this parameter is not specified for non-Free billing types, the default value is 1 GB.
115
140
  *
116
141
  * @example
117
- * 2
142
+ * 50
118
143
  */
119
144
  storageSize?: number;
120
145
  /**
121
146
  * @remarks
122
- * The subscription duration. Valid values:
123
- * - If **Period** is set to **Month**, the valid values are 1 to 11.
124
- * - If **Period** is set to **Year**, the valid values are 1 to 3.
125
- *
126
- * > This parameter is required when you create a subscription instance.
147
+ * The subscription duration of the resource. This parameter takes effect only when PayType is set to PrePay. If this parameter is not specified, the default value is 1.
127
148
  *
128
149
  * @example
129
150
  * 1
@@ -131,39 +152,32 @@ export class CreateSupabaseProjectRequest extends $dara.Model {
131
152
  usedTime?: string;
132
153
  /**
133
154
  * @remarks
134
- * The vSwitch ID.
135
- *
136
- * > - The **vSwitchId** parameter is required.
137
- * > - The zone of the **vSwitch** must be the same as the value of **ZoneId**.
155
+ * The vSwitch ID. This parameter is required. The zone of the vSwitch must be the same as the value of ZoneId.
138
156
  *
139
157
  * This parameter is required.
140
158
  *
141
159
  * @example
142
- * vsw-bp1cpq8mr64paltkb****
160
+ * vsw-bp1234567890
143
161
  */
144
162
  vSwitchId?: string;
145
163
  /**
146
164
  * @remarks
147
- * The VPC ID.
148
- * > - You can call [DescribeRdsVpcs](https://help.aliyun.com/document_detail/208327.html) to view the available VPC IDs.
149
- * > - This parameter is required.
165
+ * The ID of the virtual private cloud (VPC). This parameter is required.
150
166
  *
151
167
  * This parameter is required.
152
168
  *
153
169
  * @example
154
- * vpc-bp*******************
170
+ * vpc-bp1234567890
155
171
  */
156
172
  vpcId?: string;
157
173
  /**
158
174
  * @remarks
159
- * The zone ID.
160
- *
161
- * > You can call [DescribeRegions](https://help.aliyun.com/document_detail/86912.html) to view the available zone IDs.
175
+ * The zone ID. The zone of the vSwitch specified by VSwitchId must be the same as the value of this parameter.
162
176
  *
163
177
  * This parameter is required.
164
178
  *
165
179
  * @example
166
- * cn-hangzhou-h
180
+ * cn-hangzhou-i
167
181
  */
168
182
  zoneId?: string;
169
183
  static names(): { [key: string]: string } {
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
5
5
  export class CreateSupabaseProjectResponseBody extends $dara.Model {
6
6
  /**
7
7
  * @remarks
8
- * The order ID.
8
+ * The ID of the associated order.
9
9
  *
10
10
  * @example
11
11
  * 278880417310796
@@ -13,10 +13,10 @@ export class CreateSupabaseProjectResponseBody extends $dara.Model {
13
13
  orderId?: string;
14
14
  /**
15
15
  * @remarks
16
- * The Supabase instance ID.
16
+ * The instance ID of the Supabase project.
17
17
  *
18
18
  * @example
19
- * sbp-180****
19
+ * spb-xxxx
20
20
  */
21
21
  projectId?: string;
22
22
  /**
@@ -24,7 +24,7 @@ export class CreateSupabaseProjectResponseBody extends $dara.Model {
24
24
  * The request ID.
25
25
  *
26
26
  * @example
27
- * ABB39CC3-4488-4857-905D-2E4A051D****
27
+ * B4CAF581-2AC7-41AD-8940-D56DF7AADF5B
28
28
  */
29
29
  requestId?: string;
30
30
  static names(): { [key: string]: string } {
@@ -0,0 +1,46 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class DeleteBranchRequest extends $dara.Model {
6
+ /**
7
+ * @remarks
8
+ * The branch ID that uniquely identifies a Supabase branch.
9
+ *
10
+ * This parameter is required.
11
+ *
12
+ * @example
13
+ * br-xxxx
14
+ */
15
+ branchId?: string;
16
+ /**
17
+ * @remarks
18
+ * The region ID. This parameter is required when you create a primary branch. When you create a child branch, the region is inherited from the primary branch by default.
19
+ *
20
+ * @example
21
+ * cn-beijing
22
+ */
23
+ regionId?: string;
24
+ static names(): { [key: string]: string } {
25
+ return {
26
+ branchId: 'BranchId',
27
+ regionId: 'RegionId',
28
+ };
29
+ }
30
+
31
+ static types(): { [key: string]: any } {
32
+ return {
33
+ branchId: 'string',
34
+ regionId: 'string',
35
+ };
36
+ }
37
+
38
+ validate() {
39
+ super.validate();
40
+ }
41
+
42
+ constructor(map?: { [key: string]: any }) {
43
+ super(map);
44
+ }
45
+ }
46
+
@@ -0,0 +1,40 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+ import { DeleteBranchResponseBody } from "./DeleteBranchResponseBody";
4
+
5
+
6
+ export class DeleteBranchResponse extends $dara.Model {
7
+ headers?: { [key: string]: string };
8
+ statusCode?: number;
9
+ body?: DeleteBranchResponseBody;
10
+ static names(): { [key: string]: string } {
11
+ return {
12
+ headers: 'headers',
13
+ statusCode: 'statusCode',
14
+ body: 'body',
15
+ };
16
+ }
17
+
18
+ static types(): { [key: string]: any } {
19
+ return {
20
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
21
+ statusCode: 'number',
22
+ body: DeleteBranchResponseBody,
23
+ };
24
+ }
25
+
26
+ validate() {
27
+ if(this.headers) {
28
+ $dara.Model.validateMap(this.headers);
29
+ }
30
+ if(this.body && typeof (this.body as any).validate === 'function') {
31
+ (this.body as any).validate();
32
+ }
33
+ super.validate();
34
+ }
35
+
36
+ constructor(map?: { [key: string]: any }) {
37
+ super(map);
38
+ }
39
+ }
40
+
@@ -0,0 +1,34 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class DeleteBranchResponseBody extends $dara.Model {
6
+ /**
7
+ * @remarks
8
+ * The request ID.
9
+ *
10
+ * @example
11
+ * ABB39CC3-4488-4857-905D-2E4A051D****
12
+ */
13
+ requestId?: string;
14
+ static names(): { [key: string]: string } {
15
+ return {
16
+ requestId: 'RequestId',
17
+ };
18
+ }
19
+
20
+ static types(): { [key: string]: any } {
21
+ return {
22
+ requestId: 'string',
23
+ };
24
+ }
25
+
26
+ validate() {
27
+ super.validate();
28
+ }
29
+
30
+ constructor(map?: { [key: string]: any }) {
31
+ super(map);
32
+ }
33
+ }
34
+
@@ -0,0 +1,51 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class DeleteSnapshotRequest extends $dara.Model {
6
+ /**
7
+ * @remarks
8
+ * This parameter is required.
9
+ *
10
+ * @example
11
+ * 0/3522648
12
+ */
13
+ lsn?: string;
14
+ /**
15
+ * @remarks
16
+ * This parameter is required.
17
+ *
18
+ * @example
19
+ * spb-xxxx
20
+ */
21
+ projectId?: string;
22
+ /**
23
+ * @example
24
+ * cn-hangzhou
25
+ */
26
+ regionId?: string;
27
+ static names(): { [key: string]: string } {
28
+ return {
29
+ lsn: 'Lsn',
30
+ projectId: 'ProjectId',
31
+ regionId: 'RegionId',
32
+ };
33
+ }
34
+
35
+ static types(): { [key: string]: any } {
36
+ return {
37
+ lsn: 'string',
38
+ projectId: 'string',
39
+ regionId: 'string',
40
+ };
41
+ }
42
+
43
+ validate() {
44
+ super.validate();
45
+ }
46
+
47
+ constructor(map?: { [key: string]: any }) {
48
+ super(map);
49
+ }
50
+ }
51
+
@@ -0,0 +1,40 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+ import { DeleteSnapshotResponseBody } from "./DeleteSnapshotResponseBody";
4
+
5
+
6
+ export class DeleteSnapshotResponse extends $dara.Model {
7
+ headers?: { [key: string]: string };
8
+ statusCode?: number;
9
+ body?: DeleteSnapshotResponseBody;
10
+ static names(): { [key: string]: string } {
11
+ return {
12
+ headers: 'headers',
13
+ statusCode: 'statusCode',
14
+ body: 'body',
15
+ };
16
+ }
17
+
18
+ static types(): { [key: string]: any } {
19
+ return {
20
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
21
+ statusCode: 'number',
22
+ body: DeleteSnapshotResponseBody,
23
+ };
24
+ }
25
+
26
+ validate() {
27
+ if(this.headers) {
28
+ $dara.Model.validateMap(this.headers);
29
+ }
30
+ if(this.body && typeof (this.body as any).validate === 'function') {
31
+ (this.body as any).validate();
32
+ }
33
+ super.validate();
34
+ }
35
+
36
+ constructor(map?: { [key: string]: any }) {
37
+ super(map);
38
+ }
39
+ }
40
+
@@ -0,0 +1,31 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class DeleteSnapshotResponseBody extends $dara.Model {
6
+ /**
7
+ * @example
8
+ * B4CAF581-2AC7-41AD-8940-D56DF7AADF5B
9
+ */
10
+ requestId?: string;
11
+ static names(): { [key: string]: string } {
12
+ return {
13
+ requestId: 'RequestId',
14
+ };
15
+ }
16
+
17
+ static types(): { [key: string]: any } {
18
+ return {
19
+ requestId: 'string',
20
+ };
21
+ }
22
+
23
+ validate() {
24
+ super.validate();
25
+ }
26
+
27
+ constructor(map?: { [key: string]: any }) {
28
+ super(map);
29
+ }
30
+ }
31
+