@@ -153,8 +153,8 @@ export class ApiClient {
153
153
}
154
154
155
155
// DO NOT EDIT. This is auto-generated code.
156
- async listClustersForAllProjects ( options ?: FetchOptions < operations [ "listClustersForAllProjects " ] > ) {
157
- const { data } = await this . client . GET ( "/api/atlas/v2/clusters " , options ) ;
156
+ async listOrganizations ( options ?: FetchOptions < operations [ "listOrganizations " ] > ) {
157
+ const { data } = await this . client . GET ( "/api/atlas/v2/orgs " , options ) ;
158
158
return data ;
159
159
}
160
160
@@ -168,18 +168,13 @@ export class ApiClient {
168
168
return data ;
169
169
}
170
170
171
- async getProject ( options : FetchOptions < operations [ "getProject" ] > ) {
172
- const { data } = await this . client . GET ( "/api/atlas/v2/groups/{groupId}" , options ) ;
173
- return data ;
174
- }
175
-
176
- async listProjectIpAccessLists ( options : FetchOptions < operations [ "listProjectIpAccessLists" ] > ) {
177
- const { data } = await this . client . GET ( "/api/atlas/v2/groups/{groupId}/accessList" , options ) ;
171
+ async listClustersForAllProjects ( options ?: FetchOptions < operations [ "listClustersForAllProjects" ] > ) {
172
+ const { data } = await this . client . GET ( "/api/atlas/v2/clusters" , options ) ;
178
173
return data ;
179
174
}
180
175
181
- async createProjectIpAccessList ( options : FetchOptions < operations [ "createProjectIpAccessList " ] > ) {
182
- const { data } = await this . client . POST ( "/api/atlas/v2/groups/{groupId}/accessList " , options ) ;
176
+ async getProject ( options : FetchOptions < operations [ "getProject " ] > ) {
177
+ const { data } = await this . client . GET ( "/api/atlas/v2/groups/{groupId}" , options ) ;
183
178
return data ;
184
179
}
185
180
@@ -193,8 +188,13 @@ export class ApiClient {
193
188
return data ;
194
189
}
195
190
196
- async getCluster ( options : FetchOptions < operations [ "getCluster" ] > ) {
197
- const { data } = await this . client . GET ( "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}" , options ) ;
191
+ async listProjectIpAccessLists ( options : FetchOptions < operations [ "listProjectIpAccessLists" ] > ) {
192
+ const { data } = await this . client . GET ( "/api/atlas/v2/groups/{groupId}/accessList" , options ) ;
193
+ return data ;
194
+ }
195
+
196
+ async createProjectIpAccessList ( options : FetchOptions < operations [ "createProjectIpAccessList" ] > ) {
197
+ const { data } = await this . client . POST ( "/api/atlas/v2/groups/{groupId}/accessList" , options ) ;
198
198
return data ;
199
199
}
200
200
@@ -207,5 +207,10 @@ export class ApiClient {
207
207
const { data } = await this . client . POST ( "/api/atlas/v2/groups/{groupId}/databaseUsers" , options ) ;
208
208
return data ;
209
209
}
210
+
211
+ async getCluster ( options : FetchOptions < operations [ "getCluster" ] > ) {
212
+ const { data } = await this . client . GET ( "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}" , options ) ;
213
+ return data ;
214
+ }
210
215
// DO NOT EDIT. This is auto-generated code.
211
216
}
0 commit comments