diff --git a/reference.md b/reference.md
index eaa0149e..ee55df7f 100644
--- a/reference.md
+++ b/reference.md
@@ -3266,7 +3266,7 @@ client.connections().list(
OptionalNullable.of(true)
)
.strategy(
- Arrays.asList(Optional.of(ConnectionStrategyEnum.AD))
+ Arrays.asList(ConnectionStrategyEnum.AD)
)
.build()
);
@@ -5566,9 +5566,7 @@ client.events().subscribe(
OptionalNullable.of("from_timestamp")
)
.eventType(
- OptionalNullable.of(
- EventStreamSubscribeEventsEventTypeParam.of(EventStreamSubscribeEventsEventTypeEnum.GROUP_CREATED)
- )
+ Arrays.asList(EventStreamSubscribeEventsEventTypeEnum.GROUP_CREATED)
)
.build()
);
@@ -5602,7 +5600,7 @@ client.events().subscribe(
-
-**eventType:** `Optional` — Event type(s) to listen for. Specify multiple times for multiple types (e.g., ?event_type=user.created&event_type=user.updated). If not provided, all event types will be streamed.
+**eventType:** `Optional` — Event type(s) to listen for. Specify multiple times for multiple types (e.g., ?event_type=user.created&event_type=user.updated). If not provided, all event types will be streamed.
@@ -5644,7 +5642,7 @@ client.flows().list(
OptionalNullable.of(true)
)
.hydrate(
- Arrays.asList(Optional.of(ListFlowsRequestParametersHydrateEnum.FORM_COUNT))
+ Arrays.asList(ListFlowsRequestParametersHydrateEnum.FORM_COUNT)
)
.build()
);
@@ -5777,7 +5775,7 @@ client.flows().get(
GetFlowRequestParameters
.builder()
.hydrate(
- Arrays.asList(Optional.of(GetFlowRequestParametersHydrateEnum.FORM_COUNT))
+ Arrays.asList(GetFlowRequestParametersHydrateEnum.FORM_COUNT)
)
.build()
);
@@ -5943,7 +5941,7 @@ client.forms().list(
OptionalNullable.of(true)
)
.hydrate(
- Arrays.asList(Optional.of(FormsRequestParametersHydrateEnum.FLOW_COUNT))
+ Arrays.asList(FormsRequestParametersHydrateEnum.FLOW_COUNT)
)
.build()
);
@@ -6116,7 +6114,7 @@ client.forms().get(
GetFormRequestParameters
.builder()
.hydrate(
- Arrays.asList(Optional.of(FormsRequestParametersHydrateEnum.FLOW_COUNT))
+ Arrays.asList(FormsRequestParametersHydrateEnum.FLOW_COUNT)
)
.build()
);
@@ -9754,7 +9752,7 @@ client.resourceServers().list(
OptionalNullable.of(true)
)
.identifiers(
- Arrays.asList(Optional.of("identifiers"))
+ Arrays.asList("identifiers")
)
.build()
);
@@ -18365,7 +18363,7 @@ client.clients().connections().get(
OptionalNullable.of(true)
)
.strategy(
- Arrays.asList(Optional.of(ConnectionStrategyEnum.AD))
+ Arrays.asList(ConnectionStrategyEnum.AD)
)
.build()
);
@@ -20735,7 +20733,7 @@ client.flows().executions().get(
GetFlowExecutionRequestParameters
.builder()
.hydrate(
- Arrays.asList(Optional.of(GetFlowExecutionRequestParametersHydrateEnum.DEBUG))
+ Arrays.asList(GetFlowExecutionRequestParametersHydrateEnum.DEBUG)
)
.build()
);
@@ -24597,7 +24595,7 @@ client.organizations().clientGrants().list(
OptionalNullable.of(true)
)
.grantIds(
- Arrays.asList(Optional.of("grant_ids"))
+ Arrays.asList("grant_ids")
)
.build()
);
diff --git a/src/main/java/com/auth0/client/mgmt/AsyncRawEventsClient.java b/src/main/java/com/auth0/client/mgmt/AsyncRawEventsClient.java
index 72355b02..261c6a66 100644
--- a/src/main/java/com/auth0/client/mgmt/AsyncRawEventsClient.java
+++ b/src/main/java/com/auth0/client/mgmt/AsyncRawEventsClient.java
@@ -81,9 +81,9 @@ public CompletableFuture {
diff --git a/src/main/java/com/auth0/client/mgmt/RawEventsClient.java b/src/main/java/com/auth0/client/mgmt/RawEventsClient.java
index ddfee8cf..63ec6d1d 100644
--- a/src/main/java/com/auth0/client/mgmt/RawEventsClient.java
+++ b/src/main/java/com/auth0/client/mgmt/RawEventsClient.java
@@ -76,9 +76,9 @@ public ManagementApiHttpResponse {
diff --git a/src/main/java/com/auth0/client/mgmt/types/ConnectionAssertionDecryptionAlgorithmProfileEnum.java b/src/main/java/com/auth0/client/mgmt/types/ConnectionAssertionDecryptionAlgorithmProfileEnum.java
new file mode 100644
index 00000000..ae1a1ff0
--- /dev/null
+++ b/src/main/java/com/auth0/client/mgmt/types/ConnectionAssertionDecryptionAlgorithmProfileEnum.java
@@ -0,0 +1,75 @@
+/**
+ * This file was auto-generated by Fern from our API Definition.
+ */
+package com.auth0.client.mgmt.types;
+
+import com.fasterxml.jackson.annotation.JsonCreator;
+import com.fasterxml.jackson.annotation.JsonValue;
+
+public final class ConnectionAssertionDecryptionAlgorithmProfileEnum {
+ public static final ConnectionAssertionDecryptionAlgorithmProfileEnum V20261 =
+ new ConnectionAssertionDecryptionAlgorithmProfileEnum(Value.V20261, "v2026-1");
+
+ private final Value value;
+
+ private final String string;
+
+ ConnectionAssertionDecryptionAlgorithmProfileEnum(Value value, String string) {
+ this.value = value;
+ this.string = string;
+ }
+
+ public Value getEnumValue() {
+ return value;
+ }
+
+ @java.lang.Override
+ @JsonValue
+ public String toString() {
+ return this.string;
+ }
+
+ @java.lang.Override
+ public boolean equals(Object other) {
+ return (this == other)
+ || (other instanceof ConnectionAssertionDecryptionAlgorithmProfileEnum
+ && this.string.equals(((ConnectionAssertionDecryptionAlgorithmProfileEnum) other).string));
+ }
+
+ @java.lang.Override
+ public int hashCode() {
+ return this.string.hashCode();
+ }
+
+ public T visit(Visitor visitor) {
+ switch (value) {
+ case V20261:
+ return visitor.visitV20261();
+ case UNKNOWN:
+ default:
+ return visitor.visitUnknown(string);
+ }
+ }
+
+ @JsonCreator(mode = JsonCreator.Mode.DELEGATING)
+ public static ConnectionAssertionDecryptionAlgorithmProfileEnum valueOf(String value) {
+ switch (value) {
+ case "v2026-1":
+ return V20261;
+ default:
+ return new ConnectionAssertionDecryptionAlgorithmProfileEnum(Value.UNKNOWN, value);
+ }
+ }
+
+ public enum Value {
+ V20261,
+
+ UNKNOWN
+ }
+
+ public interface Visitor {
+ T visitV20261();
+
+ T visitUnknown(String unknownType);
+ }
+}
diff --git a/src/main/java/com/auth0/client/mgmt/types/ConnectionAssertionDecryptionSettings.java b/src/main/java/com/auth0/client/mgmt/types/ConnectionAssertionDecryptionSettings.java
new file mode 100644
index 00000000..fae616e9
--- /dev/null
+++ b/src/main/java/com/auth0/client/mgmt/types/ConnectionAssertionDecryptionSettings.java
@@ -0,0 +1,168 @@
+/**
+ * This file was auto-generated by Fern from our API Definition.
+ */
+package com.auth0.client.mgmt.types;
+
+import com.auth0.client.mgmt.core.ObjectMappers;
+import com.fasterxml.jackson.annotation.JsonAnyGetter;
+import com.fasterxml.jackson.annotation.JsonAnySetter;
+import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
+import com.fasterxml.jackson.annotation.JsonInclude;
+import com.fasterxml.jackson.annotation.JsonProperty;
+import com.fasterxml.jackson.annotation.JsonSetter;
+import com.fasterxml.jackson.annotation.Nulls;
+import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
+import java.util.HashMap;
+import java.util.List;
+import java.util.Map;
+import java.util.Objects;
+import java.util.Optional;
+import org.jetbrains.annotations.NotNull;
+
+@JsonInclude(JsonInclude.Include.NON_ABSENT)
+@JsonDeserialize(builder = ConnectionAssertionDecryptionSettings.Builder.class)
+public final class ConnectionAssertionDecryptionSettings {
+ private final ConnectionAssertionDecryptionAlgorithmProfileEnum algorithmProfile;
+
+ private final Optional> algorithmExceptions;
+
+ private final Map additionalProperties;
+
+ private ConnectionAssertionDecryptionSettings(
+ ConnectionAssertionDecryptionAlgorithmProfileEnum algorithmProfile,
+ Optional> algorithmExceptions,
+ Map additionalProperties) {
+ this.algorithmProfile = algorithmProfile;
+ this.algorithmExceptions = algorithmExceptions;
+ this.additionalProperties = additionalProperties;
+ }
+
+ @JsonProperty("algorithm_profile")
+ public ConnectionAssertionDecryptionAlgorithmProfileEnum getAlgorithmProfile() {
+ return algorithmProfile;
+ }
+
+ /**
+ * @return A list of insecure algorithms to allow for SAML assertion decryption.
+ */
+ @JsonProperty("algorithm_exceptions")
+ public Optional> getAlgorithmExceptions() {
+ return algorithmExceptions;
+ }
+
+ @java.lang.Override
+ public boolean equals(Object other) {
+ if (this == other) return true;
+ return other instanceof ConnectionAssertionDecryptionSettings
+ && equalTo((ConnectionAssertionDecryptionSettings) other);
+ }
+
+ @JsonAnyGetter
+ public Map getAdditionalProperties() {
+ return this.additionalProperties;
+ }
+
+ private boolean equalTo(ConnectionAssertionDecryptionSettings other) {
+ return algorithmProfile.equals(other.algorithmProfile) && algorithmExceptions.equals(other.algorithmExceptions);
+ }
+
+ @java.lang.Override
+ public int hashCode() {
+ return Objects.hash(this.algorithmProfile, this.algorithmExceptions);
+ }
+
+ @java.lang.Override
+ public String toString() {
+ return ObjectMappers.stringify(this);
+ }
+
+ public static AlgorithmProfileStage builder() {
+ return new Builder();
+ }
+
+ public interface AlgorithmProfileStage {
+ _FinalStage algorithmProfile(@NotNull ConnectionAssertionDecryptionAlgorithmProfileEnum algorithmProfile);
+
+ Builder from(ConnectionAssertionDecryptionSettings other);
+ }
+
+ public interface _FinalStage {
+ ConnectionAssertionDecryptionSettings build();
+
+ _FinalStage additionalProperty(String key, Object value);
+
+ _FinalStage additionalProperties(Map additionalProperties);
+
+ /**
+ * A list of insecure algorithms to allow for SAML assertion decryption.
+ */
+ _FinalStage algorithmExceptions(Optional> algorithmExceptions);
+
+ _FinalStage algorithmExceptions(List algorithmExceptions);
+ }
+
+ @JsonIgnoreProperties(ignoreUnknown = true)
+ public static final class Builder implements AlgorithmProfileStage, _FinalStage {
+ private ConnectionAssertionDecryptionAlgorithmProfileEnum algorithmProfile;
+
+ private Optional> algorithmExceptions = Optional.empty();
+
+ @JsonAnySetter
+ private Map additionalProperties = new HashMap<>();
+
+ private Builder() {}
+
+ @java.lang.Override
+ public Builder from(ConnectionAssertionDecryptionSettings other) {
+ algorithmProfile(other.getAlgorithmProfile());
+ algorithmExceptions(other.getAlgorithmExceptions());
+ return this;
+ }
+
+ @java.lang.Override
+ @JsonSetter("algorithm_profile")
+ public _FinalStage algorithmProfile(
+ @NotNull ConnectionAssertionDecryptionAlgorithmProfileEnum algorithmProfile) {
+ this.algorithmProfile = Objects.requireNonNull(algorithmProfile, "algorithmProfile must not be null");
+ return this;
+ }
+
+ /**
+ * A list of insecure algorithms to allow for SAML assertion decryption.
+ * @return Reference to {@code this} so that method calls can be chained together.
+ */
+ @java.lang.Override
+ public _FinalStage algorithmExceptions(List algorithmExceptions) {
+ this.algorithmExceptions = Optional.ofNullable(algorithmExceptions);
+ return this;
+ }
+
+ /**
+ * A list of insecure algorithms to allow for SAML assertion decryption.
+ */
+ @java.lang.Override
+ @JsonSetter(value = "algorithm_exceptions", nulls = Nulls.SKIP)
+ public _FinalStage algorithmExceptions(Optional> algorithmExceptions) {
+ this.algorithmExceptions = algorithmExceptions;
+ return this;
+ }
+
+ @java.lang.Override
+ public ConnectionAssertionDecryptionSettings build() {
+ return new ConnectionAssertionDecryptionSettings(
+ algorithmProfile, algorithmExceptions, additionalProperties);
+ }
+
+ @java.lang.Override
+ public Builder additionalProperty(String key, Object value) {
+ this.additionalProperties.put(key, value);
+ return this;
+ }
+
+ @java.lang.Override
+ public Builder additionalProperties(Map additionalProperties) {
+ this.additionalProperties.putAll(additionalProperties);
+ return this;
+ }
+ }
+}
diff --git a/src/main/java/com/auth0/client/mgmt/types/ConnectionOptionsCommonSaml.java b/src/main/java/com/auth0/client/mgmt/types/ConnectionOptionsCommonSaml.java
index 850b831e..1efb4b8c 100644
--- a/src/main/java/com/auth0/client/mgmt/types/ConnectionOptionsCommonSaml.java
+++ b/src/main/java/com/auth0/client/mgmt/types/ConnectionOptionsCommonSaml.java
@@ -24,6 +24,8 @@
@JsonInclude(JsonInclude.Include.NON_ABSENT)
@JsonDeserialize(builder = ConnectionOptionsCommonSaml.Builder.class)
public final class ConnectionOptionsCommonSaml implements IConnectionOptionsCommonSaml {
+ private final Optional assertionDecryptionSettings;
+
private final Optional cert;
private final Optional decryptionKey;
@@ -58,6 +60,7 @@ public final class ConnectionOptionsCommonSaml implements IConnectionOptionsComm
private final Map additionalProperties;
private ConnectionOptionsCommonSaml(
+ Optional assertionDecryptionSettings,
Optional cert,
Optional decryptionKey,
Optional digestAlgorithm,
@@ -74,6 +77,7 @@ private ConnectionOptionsCommonSaml(
Optional> thumbprints,
OptionalNullable