Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
52 changes: 38 additions & 14 deletions reference.md
Original file line number Diff line number Diff line change
Expand Up @@ -5232,7 +5232,7 @@ client.eventStreams().test(

```java
client.flows().list(
FlowsListRequest
ListFlowsRequestParameters
.builder()
.page(
OptionalNullable.of(1)
Expand Down Expand Up @@ -5286,7 +5286,7 @@ client.flows().list(
<dl>
<dd>

**hydrate:** `Optional<FlowsListRequestHydrateItem>` — hydration param
**hydrate:** `Optional<ListFlowsRequestParametersHydrateEnum>` — hydration param

</dd>
</dl>
Expand Down Expand Up @@ -13738,7 +13738,7 @@ client.actions().versions().deploy(
<dl>
<dd>

**request:** `Optional<DeployActionVersionRequestBodyParams>`
**request:** `Optional<DeployActionVersionRequestContent>`

</dd>
</dl>
Expand Down Expand Up @@ -14359,7 +14359,7 @@ client.actions().triggers().list();
</details>

## Actions Modules Versions
<details><summary><code>client.actions.modules.versions.list(id) -> GetActionModuleVersionsResponseContent</code></summary>
<details><summary><code>client.actions.modules.versions.list(id) -> SyncPagingIterable&amp;lt;ActionModuleVersion&amp;gt;</code></summary>
<dl>
<dd>

Expand All @@ -14386,7 +14386,18 @@ List all published versions of a specific Actions Module.
<dd>

```java
client.actions().modules().versions().list("id");
client.actions().modules().versions().list(
"id",
GetActionModuleVersionsRequestParameters
.builder()
.page(
OptionalNullable.of(1)
)
.perPage(
OptionalNullable.of(1)
)
.build()
);
```
</dd>
</dl>
Expand All @@ -14403,6 +14414,22 @@ client.actions().modules().versions().list("id");

**id:** `String` — The unique ID of the module.

</dd>
</dl>

<dl>
<dd>

**page:** `Optional<Integer>` — Use this field to request a specific page of the list results.

</dd>
</dl>

<dl>
<dd>

**perPage:** `Optional<Integer>` — The maximum number of results to be returned by the server in a single response. 20 by default.

</dd>
</dl>
</dd>
Expand Down Expand Up @@ -15155,7 +15182,7 @@ client.attackProtection().bruteForceProtection().update(
<dl>
<dd>

**shields:** `Optional<List<UpdateBruteForceSettingsRequestContentShieldsItem>>`
**shields:** `Optional<List<BruteForceProtectionShieldsEnum>>`

Action to take when a brute force protection threshold is violated.
Possible values: <code>block</code>, <code>user_notification</code>.
Expand All @@ -15174,10 +15201,7 @@ Action to take when a brute force protection threshold is violated.
<dl>
<dd>

**mode:** `Optional<UpdateBruteForceSettingsRequestContentMode>`

Account Lockout: Determines whether or not IP address is used when counting failed attempts.
Possible values: <code>count_per_identifier_and_ip</code>, <code>count_per_identifier</code>.
**mode:** `Optional<BruteForceProtectionModeEnum>`

</dd>
</dl>
Expand Down Expand Up @@ -19473,7 +19497,7 @@ client.eventStreams().redeliveries().createById("id", "event_id");
```java
client.flows().executions().list(
"flow_id",
ExecutionsListRequest
ListFlowExecutionsRequestParameters
.builder()
.from(
OptionalNullable.of("from")
Expand Down Expand Up @@ -19541,7 +19565,7 @@ client.flows().executions().list(
client.flows().executions().get(
"flow_id",
"execution_id",
ExecutionsGetRequest
GetFlowExecutionRequestParameters
.builder()
.build()
);
Expand Down Expand Up @@ -19575,7 +19599,7 @@ client.flows().executions().get(
<dl>
<dd>

**hydrate:** `Optional<ExecutionsGetRequestHydrateItem>` — Hydration param
**hydrate:** `Optional<GetFlowExecutionRequestParametersHydrateEnum>` — Hydration param

</dd>
</dl>
Expand Down Expand Up @@ -27217,7 +27241,7 @@ client.tenants().settings().update(
<dl>
<dd>

**enabledLocales:** `Optional<List<UpdateTenantSettingsRequestContentEnabledLocalesItem>>` — Supported locales for the user interface
**enabledLocales:** `Optional<List<TenantSettingsSupportedLocalesEnum>>` — Supported locales for the user interface

</dd>
</dl>
Expand Down
6 changes: 3 additions & 3 deletions src/main/java/com/auth0/client/mgmt/AsyncFlowsClient.java
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@
import com.auth0.client.mgmt.types.CreateFlowRequestContent;
import com.auth0.client.mgmt.types.CreateFlowResponseContent;
import com.auth0.client.mgmt.types.FlowSummary;
import com.auth0.client.mgmt.types.FlowsListRequest;
import com.auth0.client.mgmt.types.GetFlowRequestParameters;
import com.auth0.client.mgmt.types.GetFlowResponseContent;
import com.auth0.client.mgmt.types.ListFlowsRequestParameters;
import com.auth0.client.mgmt.types.UpdateFlowRequestContent;
import com.auth0.client.mgmt.types.UpdateFlowResponseContent;
import java.util.concurrent.CompletableFuture;
Expand Down Expand Up @@ -47,12 +47,12 @@ public CompletableFuture<SyncPagingIterable<FlowSummary>> list() {
return this.rawClient.list().thenApply(response -> response.body());
}

public CompletableFuture<SyncPagingIterable<FlowSummary>> list(FlowsListRequest request) {
public CompletableFuture<SyncPagingIterable<FlowSummary>> list(ListFlowsRequestParameters request) {
return this.rawClient.list(request).thenApply(response -> response.body());
}

public CompletableFuture<SyncPagingIterable<FlowSummary>> list(
FlowsListRequest request, RequestOptions requestOptions) {
ListFlowsRequestParameters request, RequestOptions requestOptions) {
return this.rawClient.list(request, requestOptions).thenApply(response -> response.body());
}

Expand Down
10 changes: 5 additions & 5 deletions src/main/java/com/auth0/client/mgmt/AsyncRawFlowsClient.java
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,10 @@
import com.auth0.client.mgmt.types.CreateFlowRequestContent;
import com.auth0.client.mgmt.types.CreateFlowResponseContent;
import com.auth0.client.mgmt.types.FlowSummary;
import com.auth0.client.mgmt.types.FlowsListRequest;
import com.auth0.client.mgmt.types.GetFlowRequestParameters;
import com.auth0.client.mgmt.types.GetFlowResponseContent;
import com.auth0.client.mgmt.types.ListFlowsOffsetPaginatedResponseContent;
import com.auth0.client.mgmt.types.ListFlowsRequestParameters;
import com.auth0.client.mgmt.types.UpdateFlowRequestContent;
import com.auth0.client.mgmt.types.UpdateFlowResponseContent;
import com.fasterxml.jackson.core.JsonProcessingException;
Expand Down Expand Up @@ -51,16 +51,16 @@ public AsyncRawFlowsClient(ClientOptions clientOptions) {
}

public CompletableFuture<ManagementApiHttpResponse<SyncPagingIterable<FlowSummary>>> list() {
return list(FlowsListRequest.builder().build());
return list(ListFlowsRequestParameters.builder().build());
}

public CompletableFuture<ManagementApiHttpResponse<SyncPagingIterable<FlowSummary>>> list(
FlowsListRequest request) {
ListFlowsRequestParameters request) {
return list(request, null);
}

public CompletableFuture<ManagementApiHttpResponse<SyncPagingIterable<FlowSummary>>> list(
FlowsListRequest request, RequestOptions requestOptions) {
ListFlowsRequestParameters request, RequestOptions requestOptions) {
HttpUrl.Builder httpUrl = HttpUrl.parse(this.clientOptions.environment().getUrl())
.newBuilder()
.addPathSegments("flows");
Expand Down Expand Up @@ -100,7 +100,7 @@ public void onResponse(@NotNull Call call, @NotNull Response response) throws IO
int newPageNumber = request.getPage()
.map((Integer page) -> page + 1)
.orElse(1);
FlowsListRequest nextRequest = FlowsListRequest.builder()
ListFlowsRequestParameters nextRequest = ListFlowsRequestParameters.builder()
.from(request)
.page(newPageNumber)
.build();
Expand Down
6 changes: 3 additions & 3 deletions src/main/java/com/auth0/client/mgmt/FlowsClient.java
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@
import com.auth0.client.mgmt.types.CreateFlowRequestContent;
import com.auth0.client.mgmt.types.CreateFlowResponseContent;
import com.auth0.client.mgmt.types.FlowSummary;
import com.auth0.client.mgmt.types.FlowsListRequest;
import com.auth0.client.mgmt.types.GetFlowRequestParameters;
import com.auth0.client.mgmt.types.GetFlowResponseContent;
import com.auth0.client.mgmt.types.ListFlowsRequestParameters;
import com.auth0.client.mgmt.types.UpdateFlowRequestContent;
import com.auth0.client.mgmt.types.UpdateFlowResponseContent;
import java.util.function.Supplier;
Expand Down Expand Up @@ -46,11 +46,11 @@ public SyncPagingIterable<FlowSummary> list() {
return this.rawClient.list().body();
}

public SyncPagingIterable<FlowSummary> list(FlowsListRequest request) {
public SyncPagingIterable<FlowSummary> list(ListFlowsRequestParameters request) {
return this.rawClient.list(request).body();
}

public SyncPagingIterable<FlowSummary> list(FlowsListRequest request, RequestOptions requestOptions) {
public SyncPagingIterable<FlowSummary> list(ListFlowsRequestParameters request, RequestOptions requestOptions) {
return this.rawClient.list(request, requestOptions).body();
}

Expand Down
10 changes: 5 additions & 5 deletions src/main/java/com/auth0/client/mgmt/RawFlowsClient.java
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,10 @@
import com.auth0.client.mgmt.types.CreateFlowRequestContent;
import com.auth0.client.mgmt.types.CreateFlowResponseContent;
import com.auth0.client.mgmt.types.FlowSummary;
import com.auth0.client.mgmt.types.FlowsListRequest;
import com.auth0.client.mgmt.types.GetFlowRequestParameters;
import com.auth0.client.mgmt.types.GetFlowResponseContent;
import com.auth0.client.mgmt.types.ListFlowsOffsetPaginatedResponseContent;
import com.auth0.client.mgmt.types.ListFlowsRequestParameters;
import com.auth0.client.mgmt.types.UpdateFlowRequestContent;
import com.auth0.client.mgmt.types.UpdateFlowResponseContent;
import com.fasterxml.jackson.core.JsonProcessingException;
Expand All @@ -46,15 +46,15 @@ public RawFlowsClient(ClientOptions clientOptions) {
}

public ManagementApiHttpResponse<SyncPagingIterable<FlowSummary>> list() {
return list(FlowsListRequest.builder().build());
return list(ListFlowsRequestParameters.builder().build());
}

public ManagementApiHttpResponse<SyncPagingIterable<FlowSummary>> list(FlowsListRequest request) {
public ManagementApiHttpResponse<SyncPagingIterable<FlowSummary>> list(ListFlowsRequestParameters request) {
return list(request, null);
}

public ManagementApiHttpResponse<SyncPagingIterable<FlowSummary>> list(
FlowsListRequest request, RequestOptions requestOptions) {
ListFlowsRequestParameters request, RequestOptions requestOptions) {
HttpUrl.Builder httpUrl = HttpUrl.parse(this.clientOptions.environment().getUrl())
.newBuilder()
.addPathSegments("flows");
Expand Down Expand Up @@ -89,7 +89,7 @@ public ManagementApiHttpResponse<SyncPagingIterable<FlowSummary>> list(
responseBodyString, ListFlowsOffsetPaginatedResponseContent.class);
int newPageNumber =
request.getPage().map((Integer page) -> page + 1).orElse(1);
FlowsListRequest nextRequest = FlowsListRequest.builder()
ListFlowsRequestParameters nextRequest = ListFlowsRequestParameters.builder()
.from(request)
.page(newPageNumber)
.build();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
import com.auth0.client.mgmt.errors.TooManyRequestsError;
import com.auth0.client.mgmt.errors.UnauthorizedError;
import com.auth0.client.mgmt.types.ActionVersion;
import com.auth0.client.mgmt.types.DeployActionVersionRequestBodyParams;
import com.auth0.client.mgmt.types.DeployActionVersionRequestContent;
import com.auth0.client.mgmt.types.DeployActionVersionResponseContent;
import com.auth0.client.mgmt.types.GetActionVersionResponseContent;
import com.auth0.client.mgmt.types.ListActionVersionsPaginatedResponseContent;
Expand Down Expand Up @@ -258,14 +258,14 @@ public void onFailure(@NotNull Call call, @NotNull IOException e) {
*/
public CompletableFuture<ManagementApiHttpResponse<DeployActionVersionResponseContent>> deploy(
String actionId, String id) {
return deploy(actionId, id, OptionalNullable.<DeployActionVersionRequestBodyParams>absent());
return deploy(actionId, id, OptionalNullable.<DeployActionVersionRequestContent>absent());
}

/**
* Performs the equivalent of a roll-back of an action to an earlier, specified version. Creates a new, deployed action version that is identical to the specified version. If this action is currently bound to a trigger, the system will begin executing the newly-created version immediately.
*/
public CompletableFuture<ManagementApiHttpResponse<DeployActionVersionResponseContent>> deploy(
String actionId, String id, OptionalNullable<DeployActionVersionRequestBodyParams> request) {
String actionId, String id, OptionalNullable<DeployActionVersionRequestContent> request) {
return deploy(actionId, id, request, null);
}

Expand All @@ -275,7 +275,7 @@ public CompletableFuture<ManagementApiHttpResponse<DeployActionVersionResponseCo
public CompletableFuture<ManagementApiHttpResponse<DeployActionVersionResponseContent>> deploy(
String actionId,
String id,
OptionalNullable<DeployActionVersionRequestBodyParams> request,
OptionalNullable<DeployActionVersionRequestContent> request,
RequestOptions requestOptions) {
HttpUrl httpUrl = HttpUrl.parse(this.clientOptions.environment().getUrl())
.newBuilder()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
import com.auth0.client.mgmt.core.RequestOptions;
import com.auth0.client.mgmt.core.SyncPagingIterable;
import com.auth0.client.mgmt.types.ActionVersion;
import com.auth0.client.mgmt.types.DeployActionVersionRequestBodyParams;
import com.auth0.client.mgmt.types.DeployActionVersionRequestContent;
import com.auth0.client.mgmt.types.DeployActionVersionResponseContent;
import com.auth0.client.mgmt.types.GetActionVersionResponseContent;
import java.util.concurrent.CompletableFuture;
Expand Down Expand Up @@ -80,7 +80,7 @@ public CompletableFuture<DeployActionVersionResponseContent> deploy(String actio
* Performs the equivalent of a roll-back of an action to an earlier, specified version. Creates a new, deployed action version that is identical to the specified version. If this action is currently bound to a trigger, the system will begin executing the newly-created version immediately.
*/
public CompletableFuture<DeployActionVersionResponseContent> deploy(
String actionId, String id, OptionalNullable<DeployActionVersionRequestBodyParams> request) {
String actionId, String id, OptionalNullable<DeployActionVersionRequestContent> request) {
return this.rawClient.deploy(actionId, id, request).thenApply(response -> response.body());
}

Expand All @@ -90,7 +90,7 @@ public CompletableFuture<DeployActionVersionResponseContent> deploy(
public CompletableFuture<DeployActionVersionResponseContent> deploy(
String actionId,
String id,
OptionalNullable<DeployActionVersionRequestBodyParams> request,
OptionalNullable<DeployActionVersionRequestContent> request,
RequestOptions requestOptions) {
return this.rawClient.deploy(actionId, id, request, requestOptions).thenApply(response -> response.body());
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
import com.auth0.client.mgmt.errors.TooManyRequestsError;
import com.auth0.client.mgmt.errors.UnauthorizedError;
import com.auth0.client.mgmt.types.ActionVersion;
import com.auth0.client.mgmt.types.DeployActionVersionRequestBodyParams;
import com.auth0.client.mgmt.types.DeployActionVersionRequestContent;
import com.auth0.client.mgmt.types.DeployActionVersionResponseContent;
import com.auth0.client.mgmt.types.GetActionVersionResponseContent;
import com.auth0.client.mgmt.types.ListActionVersionsPaginatedResponseContent;
Expand Down Expand Up @@ -196,14 +196,14 @@ public ManagementApiHttpResponse<GetActionVersionResponseContent> get(
* Performs the equivalent of a roll-back of an action to an earlier, specified version. Creates a new, deployed action version that is identical to the specified version. If this action is currently bound to a trigger, the system will begin executing the newly-created version immediately.
*/
public ManagementApiHttpResponse<DeployActionVersionResponseContent> deploy(String actionId, String id) {
return deploy(actionId, id, OptionalNullable.<DeployActionVersionRequestBodyParams>absent());
return deploy(actionId, id, OptionalNullable.<DeployActionVersionRequestContent>absent());
}

/**
* Performs the equivalent of a roll-back of an action to an earlier, specified version. Creates a new, deployed action version that is identical to the specified version. If this action is currently bound to a trigger, the system will begin executing the newly-created version immediately.
*/
public ManagementApiHttpResponse<DeployActionVersionResponseContent> deploy(
String actionId, String id, OptionalNullable<DeployActionVersionRequestBodyParams> request) {
String actionId, String id, OptionalNullable<DeployActionVersionRequestContent> request) {
return deploy(actionId, id, request, null);
}

Expand All @@ -213,7 +213,7 @@ public ManagementApiHttpResponse<DeployActionVersionResponseContent> deploy(
public ManagementApiHttpResponse<DeployActionVersionResponseContent> deploy(
String actionId,
String id,
OptionalNullable<DeployActionVersionRequestBodyParams> request,
OptionalNullable<DeployActionVersionRequestContent> request,
RequestOptions requestOptions) {
HttpUrl httpUrl = HttpUrl.parse(this.clientOptions.environment().getUrl())
.newBuilder()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
import com.auth0.client.mgmt.core.RequestOptions;
import com.auth0.client.mgmt.core.SyncPagingIterable;
import com.auth0.client.mgmt.types.ActionVersion;
import com.auth0.client.mgmt.types.DeployActionVersionRequestBodyParams;
import com.auth0.client.mgmt.types.DeployActionVersionRequestContent;
import com.auth0.client.mgmt.types.DeployActionVersionResponseContent;
import com.auth0.client.mgmt.types.GetActionVersionResponseContent;

Expand Down Expand Up @@ -77,7 +77,7 @@ public DeployActionVersionResponseContent deploy(String actionId, String id) {
* Performs the equivalent of a roll-back of an action to an earlier, specified version. Creates a new, deployed action version that is identical to the specified version. If this action is currently bound to a trigger, the system will begin executing the newly-created version immediately.
*/
public DeployActionVersionResponseContent deploy(
String actionId, String id, OptionalNullable<DeployActionVersionRequestBodyParams> request) {
String actionId, String id, OptionalNullable<DeployActionVersionRequestContent> request) {
return this.rawClient.deploy(actionId, id, request).body();
}

Expand All @@ -87,7 +87,7 @@ public DeployActionVersionResponseContent deploy(
public DeployActionVersionResponseContent deploy(
String actionId,
String id,
OptionalNullable<DeployActionVersionRequestBodyParams> request,
OptionalNullable<DeployActionVersionRequestContent> request,
RequestOptions requestOptions) {
return this.rawClient.deploy(actionId, id, request, requestOptions).body();
}
Expand Down
Loading
Loading