@@ -117,8 +117,8 @@ export class ApiClient {
117
117
}
118
118
119
119
// DO NOT EDIT. This is auto-generated code.
120
- async listClustersForAllProjects ( options ?: FetchOptions < operations [ "listClustersForAllProjects " ] > ) {
121
- const { data } = await this . client . GET ( "/api/atlas/v2/clusters " , options ) ;
120
+ async listOrganizations ( options ?: FetchOptions < operations [ "listOrganizations " ] > ) {
121
+ const { data } = await this . client . GET ( "/api/atlas/v2/orgs " , options ) ;
122
122
return data ;
123
123
}
124
124
@@ -132,18 +132,13 @@ export class ApiClient {
132
132
return data ;
133
133
}
134
134
135
- async getProject ( options : FetchOptions < operations [ "getProject" ] > ) {
136
- const { data } = await this . client . GET ( "/api/atlas/v2/groups/{groupId}" , options ) ;
137
- return data ;
138
- }
139
-
140
- async listProjectIpAccessLists ( options : FetchOptions < operations [ "listProjectIpAccessLists" ] > ) {
141
- const { data } = await this . client . GET ( "/api/atlas/v2/groups/{groupId}/accessList" , options ) ;
135
+ async listClustersForAllProjects ( options ?: FetchOptions < operations [ "listClustersForAllProjects" ] > ) {
136
+ const { data } = await this . client . GET ( "/api/atlas/v2/clusters" , options ) ;
142
137
return data ;
143
138
}
144
139
145
- async createProjectIpAccessList ( options : FetchOptions < operations [ "createProjectIpAccessList " ] > ) {
146
- const { data } = await this . client . POST ( "/api/atlas/v2/groups/{groupId}/accessList " , options ) ;
140
+ async getProject ( options : FetchOptions < operations [ "getProject " ] > ) {
141
+ const { data } = await this . client . GET ( "/api/atlas/v2/groups/{groupId}" , options ) ;
147
142
return data ;
148
143
}
149
144
@@ -157,8 +152,13 @@ export class ApiClient {
157
152
return data ;
158
153
}
159
154
160
- async getCluster ( options : FetchOptions < operations [ "getCluster" ] > ) {
161
- const { data } = await this . client . GET ( "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}" , options ) ;
155
+ async listProjectIpAccessLists ( options : FetchOptions < operations [ "listProjectIpAccessLists" ] > ) {
156
+ const { data } = await this . client . GET ( "/api/atlas/v2/groups/{groupId}/accessList" , options ) ;
157
+ return data ;
158
+ }
159
+
160
+ async createProjectIpAccessList ( options : FetchOptions < operations [ "createProjectIpAccessList" ] > ) {
161
+ const { data } = await this . client . POST ( "/api/atlas/v2/groups/{groupId}/accessList" , options ) ;
162
162
return data ;
163
163
}
164
164
@@ -171,5 +171,10 @@ export class ApiClient {
171
171
const { data } = await this . client . POST ( "/api/atlas/v2/groups/{groupId}/databaseUsers" , options ) ;
172
172
return data ;
173
173
}
174
+
175
+ async getCluster ( options : FetchOptions < operations [ "getCluster" ] > ) {
176
+ const { data } = await this . client . GET ( "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}" , options ) ;
177
+ return data ;
178
+ }
174
179
// DO NOT EDIT. This is auto-generated code.
175
180
}
0 commit comments