@alicloud/gpdb20160503 3.6.0 → 3.7.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 (122) hide show
  1. package/dist/client.d.ts +191 -2
  2. package/dist/client.js +518 -2
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/CreateBranchRequest.d.ts +150 -0
  5. package/dist/models/CreateBranchRequest.js +104 -0
  6. package/dist/models/CreateBranchRequest.js.map +1 -0
  7. package/dist/models/CreateBranchResponse.d.ts +19 -0
  8. package/dist/models/CreateBranchResponse.js +69 -0
  9. package/dist/models/CreateBranchResponse.js.map +1 -0
  10. package/dist/models/CreateBranchResponseBody.d.ts +37 -0
  11. package/dist/models/CreateBranchResponseBody.js +62 -0
  12. package/dist/models/CreateBranchResponseBody.js.map +1 -0
  13. package/dist/models/CreateSnapshotRequest.d.ts +55 -0
  14. package/dist/models/CreateSnapshotRequest.js +66 -0
  15. package/dist/models/CreateSnapshotRequest.js.map +1 -0
  16. package/dist/models/CreateSnapshotResponse.d.ts +19 -0
  17. package/dist/models/CreateSnapshotResponse.js +69 -0
  18. package/dist/models/CreateSnapshotResponse.js.map +1 -0
  19. package/dist/models/CreateSnapshotResponseBody.d.ts +45 -0
  20. package/dist/models/CreateSnapshotResponseBody.js +64 -0
  21. package/dist/models/CreateSnapshotResponseBody.js.map +1 -0
  22. package/dist/models/CreateSupabaseProjectRequest.d.ts +62 -48
  23. package/dist/models/CreateSupabaseProjectRequest.js.map +1 -1
  24. package/dist/models/CreateSupabaseProjectResponseBody.d.ts +4 -4
  25. package/dist/models/DeleteBranchRequest.d.ts +31 -0
  26. package/dist/models/DeleteBranchRequest.js +60 -0
  27. package/dist/models/DeleteBranchRequest.js.map +1 -0
  28. package/dist/models/DeleteBranchResponse.d.ts +19 -0
  29. package/dist/models/DeleteBranchResponse.js +69 -0
  30. package/dist/models/DeleteBranchResponse.js.map +1 -0
  31. package/dist/models/DeleteBranchResponseBody.d.ts +21 -0
  32. package/dist/models/DeleteBranchResponseBody.js +58 -0
  33. package/dist/models/DeleteBranchResponseBody.js.map +1 -0
  34. package/dist/models/DeleteSnapshotRequest.d.ts +34 -0
  35. package/dist/models/DeleteSnapshotRequest.js +62 -0
  36. package/dist/models/DeleteSnapshotRequest.js.map +1 -0
  37. package/dist/models/DeleteSnapshotResponse.d.ts +19 -0
  38. package/dist/models/DeleteSnapshotResponse.js +69 -0
  39. package/dist/models/DeleteSnapshotResponse.js.map +1 -0
  40. package/dist/models/DeleteSnapshotResponseBody.d.ts +18 -0
  41. package/dist/models/DeleteSnapshotResponseBody.js +58 -0
  42. package/dist/models/DeleteSnapshotResponseBody.js.map +1 -0
  43. package/dist/models/DescribeBranchRequest.d.ts +31 -0
  44. package/dist/models/DescribeBranchRequest.js +60 -0
  45. package/dist/models/DescribeBranchRequest.js.map +1 -0
  46. package/dist/models/DescribeBranchResponse.d.ts +19 -0
  47. package/dist/models/DescribeBranchResponse.js +69 -0
  48. package/dist/models/DescribeBranchResponse.js.map +1 -0
  49. package/dist/models/DescribeBranchResponseBody.d.ts +211 -0
  50. package/dist/models/DescribeBranchResponseBody.js +138 -0
  51. package/dist/models/DescribeBranchResponseBody.js.map +1 -0
  52. package/dist/models/GetBranchSchemaRequest.d.ts +51 -0
  53. package/dist/models/GetBranchSchemaRequest.js +64 -0
  54. package/dist/models/GetBranchSchemaRequest.js.map +1 -0
  55. package/dist/models/GetBranchSchemaResponse.d.ts +19 -0
  56. package/dist/models/GetBranchSchemaResponse.js +69 -0
  57. package/dist/models/GetBranchSchemaResponse.js.map +1 -0
  58. package/dist/models/GetBranchSchemaResponseBody.d.ts +29 -0
  59. package/dist/models/GetBranchSchemaResponseBody.js +60 -0
  60. package/dist/models/GetBranchSchemaResponseBody.js.map +1 -0
  61. package/dist/models/ListBranchesRequest.d.ts +106 -0
  62. package/dist/models/ListBranchesRequest.js +74 -0
  63. package/dist/models/ListBranchesRequest.js.map +1 -0
  64. package/dist/models/ListBranchesResponse.d.ts +19 -0
  65. package/dist/models/ListBranchesResponse.js +69 -0
  66. package/dist/models/ListBranchesResponse.js.map +1 -0
  67. package/dist/models/ListBranchesResponseBody.d.ts +138 -0
  68. package/dist/models/ListBranchesResponseBody.js +190 -0
  69. package/dist/models/ListBranchesResponseBody.js.map +1 -0
  70. package/dist/models/RestartSupabaseProjectRequest.d.ts +31 -0
  71. package/dist/models/RestartSupabaseProjectRequest.js +60 -0
  72. package/dist/models/RestartSupabaseProjectRequest.js.map +1 -0
  73. package/dist/models/RestartSupabaseProjectResponse.d.ts +19 -0
  74. package/dist/models/RestartSupabaseProjectResponse.js +69 -0
  75. package/dist/models/RestartSupabaseProjectResponse.js.map +1 -0
  76. package/dist/models/RestartSupabaseProjectResponseBody.d.ts +21 -0
  77. package/dist/models/RestartSupabaseProjectResponseBody.js +58 -0
  78. package/dist/models/RestartSupabaseProjectResponseBody.js.map +1 -0
  79. package/dist/models/RestoreSnapshotRequest.d.ts +73 -0
  80. package/dist/models/RestoreSnapshotRequest.js +70 -0
  81. package/dist/models/RestoreSnapshotRequest.js.map +1 -0
  82. package/dist/models/RestoreSnapshotResponse.d.ts +19 -0
  83. package/dist/models/RestoreSnapshotResponse.js +69 -0
  84. package/dist/models/RestoreSnapshotResponse.js.map +1 -0
  85. package/dist/models/RestoreSnapshotResponseBody.d.ts +37 -0
  86. package/dist/models/RestoreSnapshotResponseBody.js +62 -0
  87. package/dist/models/RestoreSnapshotResponseBody.js.map +1 -0
  88. package/dist/models/model.d.ts +34 -0
  89. package/dist/models/model.js +91 -22
  90. package/dist/models/model.js.map +1 -1
  91. package/package.json +1 -1
  92. package/src/client.ts +582 -2
  93. package/src/models/CreateBranchRequest.ts +200 -0
  94. package/src/models/CreateBranchResponse.ts +40 -0
  95. package/src/models/CreateBranchResponseBody.ts +54 -0
  96. package/src/models/CreateSnapshotRequest.ts +76 -0
  97. package/src/models/CreateSnapshotResponse.ts +40 -0
  98. package/src/models/CreateSnapshotResponseBody.ts +64 -0
  99. package/src/models/CreateSupabaseProjectRequest.ts +62 -48
  100. package/src/models/CreateSupabaseProjectResponseBody.ts +4 -4
  101. package/src/models/DeleteBranchRequest.ts +46 -0
  102. package/src/models/DeleteBranchResponse.ts +40 -0
  103. package/src/models/DeleteBranchResponseBody.ts +34 -0
  104. package/src/models/DeleteSnapshotRequest.ts +51 -0
  105. package/src/models/DeleteSnapshotResponse.ts +40 -0
  106. package/src/models/DeleteSnapshotResponseBody.ts +31 -0
  107. package/src/models/DescribeBranchRequest.ts +46 -0
  108. package/src/models/DescribeBranchResponse.ts +40 -0
  109. package/src/models/DescribeBranchResponseBody.ts +286 -0
  110. package/src/models/GetBranchSchemaRequest.ts +70 -0
  111. package/src/models/GetBranchSchemaResponse.ts +40 -0
  112. package/src/models/GetBranchSchemaResponseBody.ts +44 -0
  113. package/src/models/ListBranchesRequest.ts +135 -0
  114. package/src/models/ListBranchesResponse.ts +40 -0
  115. package/src/models/ListBranchesResponseBody.ts +247 -0
  116. package/src/models/RestartSupabaseProjectRequest.ts +46 -0
  117. package/src/models/RestartSupabaseProjectResponse.ts +40 -0
  118. package/src/models/RestartSupabaseProjectResponseBody.ts +34 -0
  119. package/src/models/RestoreSnapshotRequest.ts +98 -0
  120. package/src/models/RestoreSnapshotResponse.ts +40 -0
  121. package/src/models/RestoreSnapshotResponseBody.ts +54 -0
  122. package/src/models/model.ts +34 -0
@@ -0,0 +1,70 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class GetBranchSchemaRequest 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 database name. The system databases postgres, template0, and template1 do not support schema queries.
19
+ *
20
+ * This parameter is required.
21
+ *
22
+ * @example
23
+ * neondb
24
+ */
25
+ DBName?: string;
26
+ /**
27
+ * @remarks
28
+ * The Supabase project ID that corresponds to the primary branch.
29
+ *
30
+ * This parameter is required.
31
+ *
32
+ * @example
33
+ * spb-xxxx
34
+ */
35
+ projectId?: string;
36
+ /**
37
+ * @remarks
38
+ * The region ID. This parameter is required when you create a primary branch. When you create a sub-branch, the region of the primary branch is inherited by default.
39
+ *
40
+ * @example
41
+ * cn-beijing
42
+ */
43
+ regionId?: string;
44
+ static names(): { [key: string]: string } {
45
+ return {
46
+ branchId: 'BranchId',
47
+ DBName: 'DBName',
48
+ projectId: 'ProjectId',
49
+ regionId: 'RegionId',
50
+ };
51
+ }
52
+
53
+ static types(): { [key: string]: any } {
54
+ return {
55
+ branchId: 'string',
56
+ DBName: 'string',
57
+ projectId: 'string',
58
+ regionId: 'string',
59
+ };
60
+ }
61
+
62
+ validate() {
63
+ super.validate();
64
+ }
65
+
66
+ constructor(map?: { [key: string]: any }) {
67
+ super(map);
68
+ }
69
+ }
70
+
@@ -0,0 +1,40 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+ import { GetBranchSchemaResponseBody } from "./GetBranchSchemaResponseBody";
4
+
5
+
6
+ export class GetBranchSchemaResponse extends $dara.Model {
7
+ headers?: { [key: string]: string };
8
+ statusCode?: number;
9
+ body?: GetBranchSchemaResponseBody;
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: GetBranchSchemaResponseBody,
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,44 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class GetBranchSchemaResponseBody extends $dara.Model {
6
+ /**
7
+ * @remarks
8
+ * The request ID.
9
+ *
10
+ * @example
11
+ * ABB39CC3-4488-4857-905D-2E4A051D****
12
+ */
13
+ requestId?: string;
14
+ /**
15
+ * @remarks
16
+ * The schema SQL content.
17
+ *
18
+ * @example
19
+ * CREATE TABLE public.example(id int);
20
+ */
21
+ sql?: string;
22
+ static names(): { [key: string]: string } {
23
+ return {
24
+ requestId: 'RequestId',
25
+ sql: 'Sql',
26
+ };
27
+ }
28
+
29
+ static types(): { [key: string]: any } {
30
+ return {
31
+ requestId: 'string',
32
+ sql: 'string',
33
+ };
34
+ }
35
+
36
+ validate() {
37
+ super.validate();
38
+ }
39
+
40
+ constructor(map?: { [key: string]: any }) {
41
+ super(map);
42
+ }
43
+ }
44
+
@@ -0,0 +1,135 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class ListBranchesRequest extends $dara.Model {
6
+ /**
7
+ * @remarks
8
+ * The maximum number of records to return in this query.
9
+ *
10
+ * @example
11
+ * 20
12
+ */
13
+ maxResults?: number;
14
+ /**
15
+ * @remarks
16
+ * The pagination token. It is not required for the first query. For subsequent queries, use the NextToken returned from the previous query.
17
+ *
18
+ * @example
19
+ * caeba0bbb2be03f84eb48b699f0a4883
20
+ */
21
+ nextToken?: string;
22
+ /**
23
+ * @remarks
24
+ * The page number. The value must be greater than 0. Default value: 1.
25
+ *
26
+ * @example
27
+ * 1
28
+ */
29
+ pageNumber?: number;
30
+ /**
31
+ * @remarks
32
+ * The number of records per page.
33
+ *
34
+ * Valid values:
35
+ * - 10
36
+ * - 20
37
+ * - 50
38
+ * - 100
39
+ *
40
+ * Default value: 20.
41
+ *
42
+ * @example
43
+ * 20
44
+ */
45
+ pageSize?: number;
46
+ /**
47
+ * @remarks
48
+ * The parent branch ID, used to specify the parent branch for a new branch or as a query filter condition.
49
+ *
50
+ * @example
51
+ * br-main
52
+ */
53
+ parentBranchId?: string;
54
+ /**
55
+ * @remarks
56
+ * The region ID. Must be specified when creating a primary branch. When creating a sub-branch, it inherits the region of the primary branch by default.
57
+ *
58
+ * @example
59
+ * cn-beijing
60
+ */
61
+ regionId?: string;
62
+ /**
63
+ * @remarks
64
+ * The search keyword. Supports fuzzy search by branch ID or branch name.
65
+ *
66
+ * @example
67
+ * main
68
+ */
69
+ search?: string;
70
+ /**
71
+ * @remarks
72
+ * The sort field.
73
+ *
74
+ * Valid values:
75
+ * - BranchName: Sort by branch name.
76
+ * - CreateTime: Sort by creation time.
77
+ * - LastRunTime: Sort by last run time.
78
+ *
79
+ * Default value: CreateTime.
80
+ *
81
+ * @example
82
+ * CreateTime
83
+ */
84
+ sortBy?: string;
85
+ /**
86
+ * @remarks
87
+ * The sort direction.
88
+ *
89
+ * Valid values:
90
+ * - Asc: Ascending order.
91
+ * - Desc: Descending order.
92
+ *
93
+ * Default value: Desc.
94
+ *
95
+ * @example
96
+ * Desc
97
+ */
98
+ sortOrder?: string;
99
+ static names(): { [key: string]: string } {
100
+ return {
101
+ maxResults: 'MaxResults',
102
+ nextToken: 'NextToken',
103
+ pageNumber: 'PageNumber',
104
+ pageSize: 'PageSize',
105
+ parentBranchId: 'ParentBranchId',
106
+ regionId: 'RegionId',
107
+ search: 'Search',
108
+ sortBy: 'SortBy',
109
+ sortOrder: 'SortOrder',
110
+ };
111
+ }
112
+
113
+ static types(): { [key: string]: any } {
114
+ return {
115
+ maxResults: 'number',
116
+ nextToken: 'string',
117
+ pageNumber: 'number',
118
+ pageSize: 'number',
119
+ parentBranchId: 'string',
120
+ regionId: 'string',
121
+ search: 'string',
122
+ sortBy: 'string',
123
+ sortOrder: 'string',
124
+ };
125
+ }
126
+
127
+ validate() {
128
+ super.validate();
129
+ }
130
+
131
+ constructor(map?: { [key: string]: any }) {
132
+ super(map);
133
+ }
134
+ }
135
+
@@ -0,0 +1,40 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+ import { ListBranchesResponseBody } from "./ListBranchesResponseBody";
4
+
5
+
6
+ export class ListBranchesResponse extends $dara.Model {
7
+ headers?: { [key: string]: string };
8
+ statusCode?: number;
9
+ body?: ListBranchesResponseBody;
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: ListBranchesResponseBody,
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,247 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class ListBranchesResponseBodyBranchesBranchTagsTag extends $dara.Model {
6
+ key?: string;
7
+ value?: string;
8
+ static names(): { [key: string]: string } {
9
+ return {
10
+ key: 'Key',
11
+ value: 'Value',
12
+ };
13
+ }
14
+
15
+ static types(): { [key: string]: any } {
16
+ return {
17
+ key: 'string',
18
+ value: 'string',
19
+ };
20
+ }
21
+
22
+ validate() {
23
+ super.validate();
24
+ }
25
+
26
+ constructor(map?: { [key: string]: any }) {
27
+ super(map);
28
+ }
29
+ }
30
+
31
+ export class ListBranchesResponseBodyBranchesBranchTags extends $dara.Model {
32
+ tag?: ListBranchesResponseBodyBranchesBranchTagsTag[];
33
+ static names(): { [key: string]: string } {
34
+ return {
35
+ tag: 'Tag',
36
+ };
37
+ }
38
+
39
+ static types(): { [key: string]: any } {
40
+ return {
41
+ tag: { 'type': 'array', 'itemType': ListBranchesResponseBodyBranchesBranchTagsTag },
42
+ };
43
+ }
44
+
45
+ validate() {
46
+ if(Array.isArray(this.tag)) {
47
+ $dara.Model.validateArray(this.tag);
48
+ }
49
+ super.validate();
50
+ }
51
+
52
+ constructor(map?: { [key: string]: any }) {
53
+ super(map);
54
+ }
55
+ }
56
+
57
+ export class ListBranchesResponseBodyBranchesBranch extends $dara.Model {
58
+ branchId?: string;
59
+ branchName?: string;
60
+ createTime?: string;
61
+ description?: string;
62
+ expiresAt?: string;
63
+ initSource?: string;
64
+ isDefault?: boolean;
65
+ parentBranchId?: string;
66
+ parentBranchName?: string;
67
+ parentLSN?: string;
68
+ parentTimestamp?: string;
69
+ projectId?: string;
70
+ protected?: boolean;
71
+ serviceType?: string;
72
+ status?: string;
73
+ tags?: ListBranchesResponseBodyBranchesBranchTags;
74
+ static names(): { [key: string]: string } {
75
+ return {
76
+ branchId: 'BranchId',
77
+ branchName: 'BranchName',
78
+ createTime: 'CreateTime',
79
+ description: 'Description',
80
+ expiresAt: 'ExpiresAt',
81
+ initSource: 'InitSource',
82
+ isDefault: 'IsDefault',
83
+ parentBranchId: 'ParentBranchId',
84
+ parentBranchName: 'ParentBranchName',
85
+ parentLSN: 'ParentLSN',
86
+ parentTimestamp: 'ParentTimestamp',
87
+ projectId: 'ProjectId',
88
+ protected: 'Protected',
89
+ serviceType: 'ServiceType',
90
+ status: 'Status',
91
+ tags: 'Tags',
92
+ };
93
+ }
94
+
95
+ static types(): { [key: string]: any } {
96
+ return {
97
+ branchId: 'string',
98
+ branchName: 'string',
99
+ createTime: 'string',
100
+ description: 'string',
101
+ expiresAt: 'string',
102
+ initSource: 'string',
103
+ isDefault: 'boolean',
104
+ parentBranchId: 'string',
105
+ parentBranchName: 'string',
106
+ parentLSN: 'string',
107
+ parentTimestamp: 'string',
108
+ projectId: 'string',
109
+ protected: 'boolean',
110
+ serviceType: 'string',
111
+ status: 'string',
112
+ tags: ListBranchesResponseBodyBranchesBranchTags,
113
+ };
114
+ }
115
+
116
+ validate() {
117
+ if(this.tags && typeof (this.tags as any).validate === 'function') {
118
+ (this.tags as any).validate();
119
+ }
120
+ super.validate();
121
+ }
122
+
123
+ constructor(map?: { [key: string]: any }) {
124
+ super(map);
125
+ }
126
+ }
127
+
128
+ export class ListBranchesResponseBodyBranches extends $dara.Model {
129
+ branch?: ListBranchesResponseBodyBranchesBranch[];
130
+ static names(): { [key: string]: string } {
131
+ return {
132
+ branch: 'Branch',
133
+ };
134
+ }
135
+
136
+ static types(): { [key: string]: any } {
137
+ return {
138
+ branch: { 'type': 'array', 'itemType': ListBranchesResponseBodyBranchesBranch },
139
+ };
140
+ }
141
+
142
+ validate() {
143
+ if(Array.isArray(this.branch)) {
144
+ $dara.Model.validateArray(this.branch);
145
+ }
146
+ super.validate();
147
+ }
148
+
149
+ constructor(map?: { [key: string]: any }) {
150
+ super(map);
151
+ }
152
+ }
153
+
154
+ export class ListBranchesResponseBody extends $dara.Model {
155
+ branches?: ListBranchesResponseBodyBranches;
156
+ /**
157
+ * @remarks
158
+ * The maximum number of records returned in this query.
159
+ *
160
+ * @example
161
+ * 20
162
+ */
163
+ maxResults?: number;
164
+ /**
165
+ * @remarks
166
+ * The pagination token. It is not required for the first query. For subsequent queries, use the NextToken returned from the previous query.
167
+ *
168
+ * @example
169
+ * caeba0bbb2be03f84eb48b699f0a4883
170
+ */
171
+ nextToken?: string;
172
+ /**
173
+ * @remarks
174
+ * The page number. The value must be greater than 0. Default value: 1.
175
+ *
176
+ * @example
177
+ * 1
178
+ */
179
+ pageNumber?: number;
180
+ /**
181
+ * @remarks
182
+ * The number of records per page.
183
+ *
184
+ * Valid values:
185
+ * - 10
186
+ * - 20
187
+ * - 50
188
+ * - 100
189
+ *
190
+ * Default value: 20.
191
+ *
192
+ * @example
193
+ * 20
194
+ */
195
+ pageSize?: number;
196
+ /**
197
+ * @remarks
198
+ * The request ID.
199
+ *
200
+ * @example
201
+ * ABB39CC3-4488-4857-905D-2E4A051D****
202
+ */
203
+ requestId?: string;
204
+ /**
205
+ * @remarks
206
+ * The total number of branches that match the query conditions.
207
+ *
208
+ * @example
209
+ * 20
210
+ */
211
+ totalCount?: number;
212
+ static names(): { [key: string]: string } {
213
+ return {
214
+ branches: 'Branches',
215
+ maxResults: 'MaxResults',
216
+ nextToken: 'NextToken',
217
+ pageNumber: 'PageNumber',
218
+ pageSize: 'PageSize',
219
+ requestId: 'RequestId',
220
+ totalCount: 'TotalCount',
221
+ };
222
+ }
223
+
224
+ static types(): { [key: string]: any } {
225
+ return {
226
+ branches: ListBranchesResponseBodyBranches,
227
+ maxResults: 'number',
228
+ nextToken: 'string',
229
+ pageNumber: 'number',
230
+ pageSize: 'number',
231
+ requestId: 'string',
232
+ totalCount: 'number',
233
+ };
234
+ }
235
+
236
+ validate() {
237
+ if(this.branches && typeof (this.branches as any).validate === 'function') {
238
+ (this.branches as any).validate();
239
+ }
240
+ super.validate();
241
+ }
242
+
243
+ constructor(map?: { [key: string]: any }) {
244
+ super(map);
245
+ }
246
+ }
247
+
@@ -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 RestartSupabaseProjectRequest extends $dara.Model {
6
+ /**
7
+ * @remarks
8
+ * The Supabase project ID.
9
+ *
10
+ * This parameter is required.
11
+ *
12
+ * @example
13
+ * spb-xxxx
14
+ */
15
+ projectId?: string;
16
+ /**
17
+ * @remarks
18
+ * The region ID. Specifies the region in which to query or perform the operation.
19
+ *
20
+ * @example
21
+ * cn-hangzhou
22
+ */
23
+ regionId?: string;
24
+ static names(): { [key: string]: string } {
25
+ return {
26
+ projectId: 'ProjectId',
27
+ regionId: 'RegionId',
28
+ };
29
+ }
30
+
31
+ static types(): { [key: string]: any } {
32
+ return {
33
+ projectId: '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 { RestartSupabaseProjectResponseBody } from "./RestartSupabaseProjectResponseBody";
4
+
5
+
6
+ export class RestartSupabaseProjectResponse extends $dara.Model {
7
+ headers?: { [key: string]: string };
8
+ statusCode?: number;
9
+ body?: RestartSupabaseProjectResponseBody;
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: RestartSupabaseProjectResponseBody,
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 RestartSupabaseProjectResponseBody extends $dara.Model {
6
+ /**
7
+ * @remarks
8
+ * The request ID.
9
+ *
10
+ * @example
11
+ * B4CAF581-2AC7-41AD-8940-D56DF7AADF5B
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
+