Skip to content

Commit 0dbf924

Browse files
committed
SDK regeneration
1 parent 383b506 commit 0dbf924

128 files changed

Lines changed: 14816 additions & 2018 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

reference.md

Lines changed: 1423 additions & 314 deletions
Large diffs are not rendered by default.

src/main/java/com/auth0/client/mgmt/AsyncClientsClient.java

Lines changed: 204 additions & 252 deletions
Large diffs are not rendered by default.

src/main/java/com/auth0/client/mgmt/AsyncDeviceCredentialsClient.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ public CompletableFuture<SyncPagingIterable<DeviceCredential>> list(
6161

6262
/**
6363
* Create a device credential public key to manage refresh token rotation for a given <code>user_id</code>. Device Credentials APIs are designed for ad-hoc administrative use only and paging is by default enabled for GET requests.
64-
* <p>When refresh token rotation is enabled, the endpoint becomes consistent. For more information, read <a href="https://auth0.com/docs/get-started/tenant-settings/signing-keys"> Signing Keys</a>.</p>
64+
* <p>When refresh token rotation is enabled, the endpoint becomes consistent. For more information, read <a href="https://auth0.com/docs/get-started/tenant-settings/signing-keys">Signing Keys</a>.</p>
6565
*/
6666
public CompletableFuture<CreatePublicKeyDeviceCredentialResponseContent> createPublicKey(
6767
CreatePublicKeyDeviceCredentialRequestContent request) {
@@ -70,7 +70,7 @@ public CompletableFuture<CreatePublicKeyDeviceCredentialResponseContent> createP
7070

7171
/**
7272
* Create a device credential public key to manage refresh token rotation for a given <code>user_id</code>. Device Credentials APIs are designed for ad-hoc administrative use only and paging is by default enabled for GET requests.
73-
* <p>When refresh token rotation is enabled, the endpoint becomes consistent. For more information, read <a href="https://auth0.com/docs/get-started/tenant-settings/signing-keys"> Signing Keys</a>.</p>
73+
* <p>When refresh token rotation is enabled, the endpoint becomes consistent. For more information, read <a href="https://auth0.com/docs/get-started/tenant-settings/signing-keys">Signing Keys</a>.</p>
7474
*/
7575
public CompletableFuture<CreatePublicKeyDeviceCredentialResponseContent> createPublicKey(
7676
CreatePublicKeyDeviceCredentialRequestContent request, RequestOptions requestOptions) {

src/main/java/com/auth0/client/mgmt/AsyncOrganizationsClient.java

Lines changed: 34 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
import com.auth0.client.mgmt.organizations.AsyncConnectionsClient;
1212
import com.auth0.client.mgmt.organizations.AsyncDiscoveryDomainsClient;
1313
import com.auth0.client.mgmt.organizations.AsyncEnabledConnectionsClient;
14+
import com.auth0.client.mgmt.organizations.AsyncGroupsClient;
1415
import com.auth0.client.mgmt.organizations.AsyncInvitationsClient;
1516
import com.auth0.client.mgmt.organizations.AsyncMembersClient;
1617
import com.auth0.client.mgmt.types.CreateOrganizationRequestContent;
@@ -41,6 +42,8 @@ public class AsyncOrganizationsClient {
4142

4243
protected final Supplier<AsyncMembersClient> membersClient;
4344

45+
protected final Supplier<AsyncGroupsClient> groupsClient;
46+
4447
public AsyncOrganizationsClient(ClientOptions clientOptions) {
4548
this.clientOptions = clientOptions;
4649
this.rawClient = new AsyncRawOrganizationsClient(clientOptions);
@@ -50,6 +53,7 @@ public AsyncOrganizationsClient(ClientOptions clientOptions) {
5053
this.enabledConnectionsClient = Suppliers.memoize(() -> new AsyncEnabledConnectionsClient(clientOptions));
5154
this.invitationsClient = Suppliers.memoize(() -> new AsyncInvitationsClient(clientOptions));
5255
this.membersClient = Suppliers.memoize(() -> new AsyncMembersClient(clientOptions));
56+
this.groupsClient = Suppliers.memoize(() -> new AsyncGroupsClient(clientOptions));
5357
}
5458

5559
/**
@@ -62,18 +66,18 @@ public AsyncRawOrganizationsClient withRawResponse() {
6266
/**
6367
* Retrieve detailed list of all Organizations available in your tenant. For more information, see Auth0 Organizations.
6468
* <p>This endpoint supports two types of pagination:</p>
65-
* <p><ul>
69+
* <ul>
6670
* <li>Offset pagination</li>
6771
* <li>Checkpoint pagination</li>
68-
* </ul></p>
72+
* </ul>
6973
* <p>Checkpoint pagination must be used if you need to retrieve more than 1000 organizations.</p>
70-
* <p><h2>Checkpoint Pagination</h2></p>
74+
* <p><strong>Checkpoint Pagination</strong></p>
7175
* <p>To search by checkpoint, use the following parameters:</p>
72-
* <p><ul>
76+
* <ul>
7377
* <li><code>from</code>: Optional id from which to start selection.</li>
7478
* <li><code>take</code>: The total number of entries to retrieve when using the <code>from</code> parameter. Defaults to 50.</li>
75-
* </ul></p>
76-
* <p><b>Note</b>: The first time you call this endpoint using checkpoint pagination, omit the <code>from</code> parameter. If there are more results, a <code>next</code> value is included in the response. You can use this for subsequent API calls. When <code>next</code> is no longer included in the response, no pages are remaining.</p>
79+
* </ul>
80+
* <p><strong>Note</strong>: The first time you call this endpoint using checkpoint pagination, omit the <code>from</code> parameter. If there are more results, a <code>next</code> value is included in the response. You can use this for subsequent API calls. When <code>next</code> is no longer included in the response, no pages are remaining.</p>
7781
*/
7882
public CompletableFuture<SyncPagingIterable<Organization>> list() {
7983
return this.rawClient.list().thenApply(response -> response.body());
@@ -82,18 +86,18 @@ public CompletableFuture<SyncPagingIterable<Organization>> list() {
8286
/**
8387
* Retrieve detailed list of all Organizations available in your tenant. For more information, see Auth0 Organizations.
8488
* <p>This endpoint supports two types of pagination:</p>
85-
* <p><ul>
89+
* <ul>
8690
* <li>Offset pagination</li>
8791
* <li>Checkpoint pagination</li>
88-
* </ul></p>
92+
* </ul>
8993
* <p>Checkpoint pagination must be used if you need to retrieve more than 1000 organizations.</p>
90-
* <p><h2>Checkpoint Pagination</h2></p>
94+
* <p><strong>Checkpoint Pagination</strong></p>
9195
* <p>To search by checkpoint, use the following parameters:</p>
92-
* <p><ul>
96+
* <ul>
9397
* <li><code>from</code>: Optional id from which to start selection.</li>
9498
* <li><code>take</code>: The total number of entries to retrieve when using the <code>from</code> parameter. Defaults to 50.</li>
95-
* </ul></p>
96-
* <p><b>Note</b>: The first time you call this endpoint using checkpoint pagination, omit the <code>from</code> parameter. If there are more results, a <code>next</code> value is included in the response. You can use this for subsequent API calls. When <code>next</code> is no longer included in the response, no pages are remaining.</p>
99+
* </ul>
100+
* <p><strong>Note</strong>: The first time you call this endpoint using checkpoint pagination, omit the <code>from</code> parameter. If there are more results, a <code>next</code> value is included in the response. You can use this for subsequent API calls. When <code>next</code> is no longer included in the response, no pages are remaining.</p>
97101
*/
98102
public CompletableFuture<SyncPagingIterable<Organization>> list(RequestOptions requestOptions) {
99103
return this.rawClient.list(requestOptions).thenApply(response -> response.body());
@@ -102,18 +106,18 @@ public CompletableFuture<SyncPagingIterable<Organization>> list(RequestOptions r
102106
/**
103107
* Retrieve detailed list of all Organizations available in your tenant. For more information, see Auth0 Organizations.
104108
* <p>This endpoint supports two types of pagination:</p>
105-
* <p><ul>
109+
* <ul>
106110
* <li>Offset pagination</li>
107111
* <li>Checkpoint pagination</li>
108-
* </ul></p>
112+
* </ul>
109113
* <p>Checkpoint pagination must be used if you need to retrieve more than 1000 organizations.</p>
110-
* <p><h2>Checkpoint Pagination</h2></p>
114+
* <p><strong>Checkpoint Pagination</strong></p>
111115
* <p>To search by checkpoint, use the following parameters:</p>
112-
* <p><ul>
116+
* <ul>
113117
* <li><code>from</code>: Optional id from which to start selection.</li>
114118
* <li><code>take</code>: The total number of entries to retrieve when using the <code>from</code> parameter. Defaults to 50.</li>
115-
* </ul></p>
116-
* <p><b>Note</b>: The first time you call this endpoint using checkpoint pagination, omit the <code>from</code> parameter. If there are more results, a <code>next</code> value is included in the response. You can use this for subsequent API calls. When <code>next</code> is no longer included in the response, no pages are remaining.</p>
119+
* </ul>
120+
* <p><strong>Note</strong>: The first time you call this endpoint using checkpoint pagination, omit the <code>from</code> parameter. If there are more results, a <code>next</code> value is included in the response. You can use this for subsequent API calls. When <code>next</code> is no longer included in the response, no pages are remaining.</p>
117121
*/
118122
public CompletableFuture<SyncPagingIterable<Organization>> list(ListOrganizationsRequestParameters request) {
119123
return this.rawClient.list(request).thenApply(response -> response.body());
@@ -122,18 +126,18 @@ public CompletableFuture<SyncPagingIterable<Organization>> list(ListOrganization
122126
/**
123127
* Retrieve detailed list of all Organizations available in your tenant. For more information, see Auth0 Organizations.
124128
* <p>This endpoint supports two types of pagination:</p>
125-
* <p><ul>
129+
* <ul>
126130
* <li>Offset pagination</li>
127131
* <li>Checkpoint pagination</li>
128-
* </ul></p>
132+
* </ul>
129133
* <p>Checkpoint pagination must be used if you need to retrieve more than 1000 organizations.</p>
130-
* <p><h2>Checkpoint Pagination</h2></p>
134+
* <p><strong>Checkpoint Pagination</strong></p>
131135
* <p>To search by checkpoint, use the following parameters:</p>
132-
* <p><ul>
136+
* <ul>
133137
* <li><code>from</code>: Optional id from which to start selection.</li>
134138
* <li><code>take</code>: The total number of entries to retrieve when using the <code>from</code> parameter. Defaults to 50.</li>
135-
* </ul></p>
136-
* <p><b>Note</b>: The first time you call this endpoint using checkpoint pagination, omit the <code>from</code> parameter. If there are more results, a <code>next</code> value is included in the response. You can use this for subsequent API calls. When <code>next</code> is no longer included in the response, no pages are remaining.</p>
139+
* </ul>
140+
* <p><strong>Note</strong>: The first time you call this endpoint using checkpoint pagination, omit the <code>from</code> parameter. If there are more results, a <code>next</code> value is included in the response. You can use this for subsequent API calls. When <code>next</code> is no longer included in the response, no pages are remaining.</p>
137141
*/
138142
public CompletableFuture<SyncPagingIterable<Organization>> list(
139143
ListOrganizationsRequestParameters request, RequestOptions requestOptions) {
@@ -186,15 +190,15 @@ public CompletableFuture<GetOrganizationResponseContent> get(String id, RequestO
186190

187191
/**
188192
* Remove an Organization from your tenant. This action cannot be undone.
189-
* <p><b>Note</b>: Members are automatically disassociated from an Organization when it is deleted. However, this action does <b>not</b> delete these users from your tenant.</p>
193+
* <p><strong>Note</strong>: Members are automatically disassociated from an Organization when it is deleted. However, this action does <strong>not</strong> delete these users from your tenant.</p>
190194
*/
191195
public CompletableFuture<Void> delete(String id) {
192196
return this.rawClient.delete(id).thenApply(response -> response.body());
193197
}
194198

195199
/**
196200
* Remove an Organization from your tenant. This action cannot be undone.
197-
* <p><b>Note</b>: Members are automatically disassociated from an Organization when it is deleted. However, this action does <b>not</b> delete these users from your tenant.</p>
201+
* <p><strong>Note</strong>: Members are automatically disassociated from an Organization when it is deleted. However, this action does <strong>not</strong> delete these users from your tenant.</p>
198202
*/
199203
public CompletableFuture<Void> delete(String id, RequestOptions requestOptions) {
200204
return this.rawClient.delete(id, requestOptions).thenApply(response -> response.body());
@@ -253,4 +257,8 @@ public AsyncInvitationsClient invitations() {
253257
public AsyncMembersClient members() {
254258
return this.membersClient.get();
255259
}
260+
261+
public AsyncGroupsClient groups() {
262+
return this.groupsClient.get();
263+
}
256264
}

0 commit comments

Comments
 (0)