Skip to content

Commit 29af6d0

Browse files
[fern-generated] Update SDK
Generated by Fern CLI Version: unknown Generators: - fernapi/fern-java-sdk: 4.11.1
1 parent 484f9bb commit 29af6d0

270 files changed

Lines changed: 21005 additions & 5217 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: 905 additions & 134 deletions
Large diffs are not rendered by default.

‎src/main/java/com/auth0/client/mgmt/AsyncClientGrantsClient.java‎

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
import com.auth0.client.mgmt.types.CreateClientGrantResponseContent;
1414
import com.auth0.client.mgmt.types.GetClientGrantResponseContent;
1515
import com.auth0.client.mgmt.types.ListClientGrantsRequestParameters;
16+
import com.auth0.client.mgmt.types.SearchClientGrantsRequestParameters;
1617
import com.auth0.client.mgmt.types.UpdateClientGrantRequestContent;
1718
import com.auth0.client.mgmt.types.UpdateClientGrantResponseContent;
1819
import java.util.concurrent.CompletableFuture;
@@ -83,6 +84,40 @@ public CompletableFuture<CreateClientGrantResponseContent> create(
8384
return this.rawClient.create(request, requestOptions).thenApply(response -> response.body());
8485
}
8586

87+
/**
88+
* Search client grants using SCIM or Lucene filter syntax with low-latency, eventually consistent results. Use the parser parameter to specify &quot;scim&quot; or &quot;lucene&quot; syntax (default: &quot;lucene&quot;). This endpoint provides an alternative to the standard GET /client-grants endpoint with better performance for complex queries.
89+
* Results may not reflect recent updates immediately.
90+
*/
91+
public CompletableFuture<SyncPagingIterable<ClientGrantResponseContent>> search() {
92+
return this.rawClient.search().thenApply(response -> response.body());
93+
}
94+
95+
/**
96+
* Search client grants using SCIM or Lucene filter syntax with low-latency, eventually consistent results. Use the parser parameter to specify &quot;scim&quot; or &quot;lucene&quot; syntax (default: &quot;lucene&quot;). This endpoint provides an alternative to the standard GET /client-grants endpoint with better performance for complex queries.
97+
* Results may not reflect recent updates immediately.
98+
*/
99+
public CompletableFuture<SyncPagingIterable<ClientGrantResponseContent>> search(RequestOptions requestOptions) {
100+
return this.rawClient.search(requestOptions).thenApply(response -> response.body());
101+
}
102+
103+
/**
104+
* Search client grants using SCIM or Lucene filter syntax with low-latency, eventually consistent results. Use the parser parameter to specify &quot;scim&quot; or &quot;lucene&quot; syntax (default: &quot;lucene&quot;). This endpoint provides an alternative to the standard GET /client-grants endpoint with better performance for complex queries.
105+
* Results may not reflect recent updates immediately.
106+
*/
107+
public CompletableFuture<SyncPagingIterable<ClientGrantResponseContent>> search(
108+
SearchClientGrantsRequestParameters request) {
109+
return this.rawClient.search(request).thenApply(response -> response.body());
110+
}
111+
112+
/**
113+
* Search client grants using SCIM or Lucene filter syntax with low-latency, eventually consistent results. Use the parser parameter to specify &quot;scim&quot; or &quot;lucene&quot; syntax (default: &quot;lucene&quot;). This endpoint provides an alternative to the standard GET /client-grants endpoint with better performance for complex queries.
114+
* Results may not reflect recent updates immediately.
115+
*/
116+
public CompletableFuture<SyncPagingIterable<ClientGrantResponseContent>> search(
117+
SearchClientGrantsRequestParameters request, RequestOptions requestOptions) {
118+
return this.rawClient.search(request, requestOptions).thenApply(response -> response.body());
119+
}
120+
86121
/**
87122
* Retrieve a single <a href="https://auth0.com/docs/get-started/applications/application-access-to-apis-client-grants">client grant</a>, including the
88123
* scopes associated with the application/API pair.
Lines changed: 132 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,132 @@
1+
/**
2+
* This file was auto-generated by Fern from our API Definition.
3+
*/
4+
package com.auth0.client.mgmt;
5+
6+
import com.auth0.client.mgmt.core.ClientOptions;
7+
import com.auth0.client.mgmt.core.RequestOptions;
8+
import com.auth0.client.mgmt.core.SyncPagingIterable;
9+
import com.auth0.client.mgmt.types.ClientProfile;
10+
import com.auth0.client.mgmt.types.CreateClientProfileRequestContent;
11+
import com.auth0.client.mgmt.types.ListClientProfilesRequestParameters;
12+
import com.auth0.client.mgmt.types.UpdateClientProfileRequestContent;
13+
import java.util.concurrent.CompletableFuture;
14+
15+
public class AsyncClientProfilesClient {
16+
protected final ClientOptions clientOptions;
17+
18+
private final AsyncRawClientProfilesClient rawClient;
19+
20+
public AsyncClientProfilesClient(ClientOptions clientOptions) {
21+
this.clientOptions = clientOptions;
22+
this.rawClient = new AsyncRawClientProfilesClient(clientOptions);
23+
}
24+
25+
/**
26+
* Get responses with HTTP metadata like headers
27+
*/
28+
public AsyncRawClientProfilesClient withRawResponse() {
29+
return this.rawClient;
30+
}
31+
32+
/**
33+
* Retrieve a paginated list of client profiles for the tenant. Uses checkpoint pagination: pass the <code>next</code> cursor from a previous response as the <code>from</code> query parameter to retrieve the following page.
34+
*/
35+
public CompletableFuture<SyncPagingIterable<ClientProfile>> list() {
36+
return this.rawClient.list().thenApply(response -> response.body());
37+
}
38+
39+
/**
40+
* Retrieve a paginated list of client profiles for the tenant. Uses checkpoint pagination: pass the <code>next</code> cursor from a previous response as the <code>from</code> query parameter to retrieve the following page.
41+
*/
42+
public CompletableFuture<SyncPagingIterable<ClientProfile>> list(RequestOptions requestOptions) {
43+
return this.rawClient.list(requestOptions).thenApply(response -> response.body());
44+
}
45+
46+
/**
47+
* Retrieve a paginated list of client profiles for the tenant. Uses checkpoint pagination: pass the <code>next</code> cursor from a previous response as the <code>from</code> query parameter to retrieve the following page.
48+
*/
49+
public CompletableFuture<SyncPagingIterable<ClientProfile>> list(ListClientProfilesRequestParameters request) {
50+
return this.rawClient.list(request).thenApply(response -> response.body());
51+
}
52+
53+
/**
54+
* Retrieve a paginated list of client profiles for the tenant. Uses checkpoint pagination: pass the <code>next</code> cursor from a previous response as the <code>from</code> query parameter to retrieve the following page.
55+
*/
56+
public CompletableFuture<SyncPagingIterable<ClientProfile>> list(
57+
ListClientProfilesRequestParameters request, RequestOptions requestOptions) {
58+
return this.rawClient.list(request, requestOptions).thenApply(response -> response.body());
59+
}
60+
61+
/**
62+
* Create a client profile. At most one profile is allowed per tenant in this release; attempting to create a second returns <code>409 Conflict</code>. The profile governs Dynamic CIMD clients matched by its <code>apply_policy</code> at runtime.
63+
*/
64+
public CompletableFuture<ClientProfile> create(CreateClientProfileRequestContent request) {
65+
return this.rawClient.create(request).thenApply(response -> response.body());
66+
}
67+
68+
/**
69+
* Create a client profile. At most one profile is allowed per tenant in this release; attempting to create a second returns <code>409 Conflict</code>. The profile governs Dynamic CIMD clients matched by its <code>apply_policy</code> at runtime.
70+
*/
71+
public CompletableFuture<ClientProfile> create(
72+
CreateClientProfileRequestContent request, RequestOptions requestOptions) {
73+
return this.rawClient.create(request, requestOptions).thenApply(response -> response.body());
74+
}
75+
76+
/**
77+
* Retrieve a single client profile by its identifier. Returns <code>404</code> if no profile with the given ID exists for the tenant.
78+
*/
79+
public CompletableFuture<ClientProfile> get(String id) {
80+
return this.rawClient.get(id).thenApply(response -> response.body());
81+
}
82+
83+
/**
84+
* Retrieve a single client profile by its identifier. Returns <code>404</code> if no profile with the given ID exists for the tenant.
85+
*/
86+
public CompletableFuture<ClientProfile> get(String id, RequestOptions requestOptions) {
87+
return this.rawClient.get(id, requestOptions).thenApply(response -> response.body());
88+
}
89+
90+
/**
91+
* Delete a client profile. Idempotent: returns <code>204 No Content</code> whether or not a profile with the given ID existed. Deleting the profile removes fleet governance for matched clients immediately.
92+
*/
93+
public CompletableFuture<Void> delete(String id) {
94+
return this.rawClient.delete(id).thenApply(response -> response.body());
95+
}
96+
97+
/**
98+
* Delete a client profile. Idempotent: returns <code>204 No Content</code> whether or not a profile with the given ID existed. Deleting the profile removes fleet governance for matched clients immediately.
99+
*/
100+
public CompletableFuture<Void> delete(String id, RequestOptions requestOptions) {
101+
return this.rawClient.delete(id, requestOptions).thenApply(response -> response.body());
102+
}
103+
104+
/**
105+
* Update a client profile. Supports partial updates at the top level (JSON Merge Patch); omitted top-level fields remain unchanged. Nested objects such as <code>client_configuration</code> must be supplied in full.
106+
*/
107+
public CompletableFuture<ClientProfile> update(String id) {
108+
return this.rawClient.update(id).thenApply(response -> response.body());
109+
}
110+
111+
/**
112+
* Update a client profile. Supports partial updates at the top level (JSON Merge Patch); omitted top-level fields remain unchanged. Nested objects such as <code>client_configuration</code> must be supplied in full.
113+
*/
114+
public CompletableFuture<ClientProfile> update(String id, RequestOptions requestOptions) {
115+
return this.rawClient.update(id, requestOptions).thenApply(response -> response.body());
116+
}
117+
118+
/**
119+
* Update a client profile. Supports partial updates at the top level (JSON Merge Patch); omitted top-level fields remain unchanged. Nested objects such as <code>client_configuration</code> must be supplied in full.
120+
*/
121+
public CompletableFuture<ClientProfile> update(String id, UpdateClientProfileRequestContent request) {
122+
return this.rawClient.update(id, request).thenApply(response -> response.body());
123+
}
124+
125+
/**
126+
* Update a client profile. Supports partial updates at the top level (JSON Merge Patch); omitted top-level fields remain unchanged. Nested objects such as <code>client_configuration</code> must be supplied in full.
127+
*/
128+
public CompletableFuture<ClientProfile> update(
129+
String id, UpdateClientProfileRequestContent request, RequestOptions requestOptions) {
130+
return this.rawClient.update(id, request, requestOptions).thenApply(response -> response.body());
131+
}
132+
}

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

Lines changed: 91 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
import com.auth0.client.mgmt.core.Suppliers;
1111
import com.auth0.client.mgmt.core.SyncPagingIterable;
1212
import com.auth0.client.mgmt.types.Client;
13+
import com.auth0.client.mgmt.types.ClientSearchResponse;
1314
import com.auth0.client.mgmt.types.CreateClientRequestContent;
1415
import com.auth0.client.mgmt.types.CreateClientResponseContent;
1516
import com.auth0.client.mgmt.types.GetClientRequestParameters;
@@ -20,6 +21,7 @@
2021
import com.auth0.client.mgmt.types.RegisterCimdClientRequestContent;
2122
import com.auth0.client.mgmt.types.RegisterCimdClientResponseContent;
2223
import com.auth0.client.mgmt.types.RotateClientSecretResponseContent;
24+
import com.auth0.client.mgmt.types.SearchClientsRequestParameters;
2325
import com.auth0.client.mgmt.types.UpdateClientRequestContent;
2426
import com.auth0.client.mgmt.types.UpdateClientResponseContent;
2527
import java.util.concurrent.CompletableFuture;
@@ -274,6 +276,95 @@ public CompletableFuture<RegisterCimdClientResponseContent> registerCimdClient(
274276
return this.rawClient.registerCimdClient(request, requestOptions).thenApply(response -> response.body());
275277
}
276278

279+
/**
280+
* Search clients using SCIM or Lucene filter syntax with low-latency, eventually consistent results.
281+
* Use the parser parameter to specify &quot;scim&quot; or &quot;lucene&quot; syntax (default: &quot;lucene&quot;).
282+
* This endpoint provides an alternative to the standard GET /clients endpoint with better performance
283+
* for complex queries. Results may not reflect recent updates immediately.
284+
* <ul>
285+
* <li>This endpoint only supports <code>read:clients</code> and <code>read:client_summary</code> scopes. The <code>read:client_keys</code> and <code>read:client_credentials</code> scopes are not supported.</li>
286+
* <li>The following fields are never returned by this endpoint:
287+
* <ul>
288+
* <li><code>client_secret</code></li>
289+
* <li><code>encryption_key</code></li>
290+
* <li><code>signing_keys</code></li>
291+
* <li><code>owners</code></li>
292+
* <li><code>addons</code></li>
293+
* </ul>
294+
* </li>
295+
* </ul>
296+
*/
297+
public CompletableFuture<SyncPagingIterable<ClientSearchResponse>> search() {
298+
return this.rawClient.search().thenApply(response -> response.body());
299+
}
300+
301+
/**
302+
* Search clients using SCIM or Lucene filter syntax with low-latency, eventually consistent results.
303+
* Use the parser parameter to specify &quot;scim&quot; or &quot;lucene&quot; syntax (default: &quot;lucene&quot;).
304+
* This endpoint provides an alternative to the standard GET /clients endpoint with better performance
305+
* for complex queries. Results may not reflect recent updates immediately.
306+
* <ul>
307+
* <li>This endpoint only supports <code>read:clients</code> and <code>read:client_summary</code> scopes. The <code>read:client_keys</code> and <code>read:client_credentials</code> scopes are not supported.</li>
308+
* <li>The following fields are never returned by this endpoint:
309+
* <ul>
310+
* <li><code>client_secret</code></li>
311+
* <li><code>encryption_key</code></li>
312+
* <li><code>signing_keys</code></li>
313+
* <li><code>owners</code></li>
314+
* <li><code>addons</code></li>
315+
* </ul>
316+
* </li>
317+
* </ul>
318+
*/
319+
public CompletableFuture<SyncPagingIterable<ClientSearchResponse>> search(RequestOptions requestOptions) {
320+
return this.rawClient.search(requestOptions).thenApply(response -> response.body());
321+
}
322+
323+
/**
324+
* Search clients using SCIM or Lucene filter syntax with low-latency, eventually consistent results.
325+
* Use the parser parameter to specify &quot;scim&quot; or &quot;lucene&quot; syntax (default: &quot;lucene&quot;).
326+
* This endpoint provides an alternative to the standard GET /clients endpoint with better performance
327+
* for complex queries. Results may not reflect recent updates immediately.
328+
* <ul>
329+
* <li>This endpoint only supports <code>read:clients</code> and <code>read:client_summary</code> scopes. The <code>read:client_keys</code> and <code>read:client_credentials</code> scopes are not supported.</li>
330+
* <li>The following fields are never returned by this endpoint:
331+
* <ul>
332+
* <li><code>client_secret</code></li>
333+
* <li><code>encryption_key</code></li>
334+
* <li><code>signing_keys</code></li>
335+
* <li><code>owners</code></li>
336+
* <li><code>addons</code></li>
337+
* </ul>
338+
* </li>
339+
* </ul>
340+
*/
341+
public CompletableFuture<SyncPagingIterable<ClientSearchResponse>> search(SearchClientsRequestParameters request) {
342+
return this.rawClient.search(request).thenApply(response -> response.body());
343+
}
344+
345+
/**
346+
* Search clients using SCIM or Lucene filter syntax with low-latency, eventually consistent results.
347+
* Use the parser parameter to specify &quot;scim&quot; or &quot;lucene&quot; syntax (default: &quot;lucene&quot;).
348+
* This endpoint provides an alternative to the standard GET /clients endpoint with better performance
349+
* for complex queries. Results may not reflect recent updates immediately.
350+
* <ul>
351+
* <li>This endpoint only supports <code>read:clients</code> and <code>read:client_summary</code> scopes. The <code>read:client_keys</code> and <code>read:client_credentials</code> scopes are not supported.</li>
352+
* <li>The following fields are never returned by this endpoint:
353+
* <ul>
354+
* <li><code>client_secret</code></li>
355+
* <li><code>encryption_key</code></li>
356+
* <li><code>signing_keys</code></li>
357+
* <li><code>owners</code></li>
358+
* <li><code>addons</code></li>
359+
* </ul>
360+
* </li>
361+
* </ul>
362+
*/
363+
public CompletableFuture<SyncPagingIterable<ClientSearchResponse>> search(
364+
SearchClientsRequestParameters request, RequestOptions requestOptions) {
365+
return this.rawClient.search(request, requestOptions).thenApply(response -> response.body());
366+
}
367+
277368
/**
278369
* Retrieve client details by ID. Clients are SSO connections or Applications linked with your Auth0 tenant. A list of fields to include or exclude may also be specified.
279370
* For more information, read <a href="https://www.auth0.com/docs/get-started/applications">Applications in Auth0</a> and <a href="https://www.auth0.com/docs/authenticate/single-sign-on">Single Sign-On</a>.

‎src/main/java/com/auth0/client/mgmt/AsyncManagementApi.java‎

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,8 @@ public class AsyncManagementApi {
2626

2727
protected final Supplier<AsyncClientGrantsClient> clientGrantsClient;
2828

29+
protected final Supplier<AsyncClientProfilesClient> clientProfilesClient;
30+
2931
protected final Supplier<AsyncClientsClient> clientsClient;
3032

3133
protected final Supplier<AsyncConnectionProfilesClient> connectionProfilesClient;
@@ -118,6 +120,7 @@ public AsyncManagementApi(ClientOptions clientOptions) {
118120
this.agentsClient = Suppliers.memoize(() -> new AsyncAgentsClient(clientOptions));
119121
this.brandingClient = Suppliers.memoize(() -> new AsyncBrandingClient(clientOptions));
120122
this.clientGrantsClient = Suppliers.memoize(() -> new AsyncClientGrantsClient(clientOptions));
123+
this.clientProfilesClient = Suppliers.memoize(() -> new AsyncClientProfilesClient(clientOptions));
121124
this.clientsClient = Suppliers.memoize(() -> new AsyncClientsClient(clientOptions));
122125
this.connectionProfilesClient = Suppliers.memoize(() -> new AsyncConnectionProfilesClient(clientOptions));
123126
this.connectionsClient = Suppliers.memoize(() -> new AsyncConnectionsClient(clientOptions));
@@ -179,6 +182,10 @@ public AsyncClientGrantsClient clientGrants() {
179182
return this.clientGrantsClient.get();
180183
}
181184

185+
public AsyncClientProfilesClient clientProfiles() {
186+
return this.clientProfilesClient.get();
187+
}
188+
182189
public AsyncClientsClient clients() {
183190
return this.clientsClient.get();
184191
}

0 commit comments

Comments
 (0)