@@ -153,8 +153,8 @@ export class ApiClient {
153153 }
154154
155155 // 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 ) ;
158158 return data ;
159159 }
160160
@@ -168,18 +168,13 @@ export class ApiClient {
168168 return data ;
169169 }
170170
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 ) ;
178173 return data ;
179174 }
180175
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 ) ;
183178 return data ;
184179 }
185180
@@ -193,8 +188,13 @@ export class ApiClient {
193188 return data ;
194189 }
195190
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 ) ;
198198 return data ;
199199 }
200200
@@ -207,5 +207,10 @@ export class ApiClient {
207207 const { data } = await this . client . POST ( "/api/atlas/v2/groups/{groupId}/databaseUsers" , options ) ;
208208 return data ;
209209 }
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+ }
210215 // DO NOT EDIT. This is auto-generated code.
211216}
0 commit comments