From 9e9dec7022a01fb2f8f2178eb2163945a157195c Mon Sep 17 00:00:00 2001 From: "fern-api[bot]" <115122769+fern-api[bot]@users.noreply.github.com> Date: Fri, 17 Apr 2026 22:02:09 +0000 Subject: [PATCH] SDK regeneration --- README.md | 4 +- build.gradle | 4 +- .../com/pipedream/api/core/ClientOptions.java | 4 +- .../java/com/pipedream/api/types/Account.java | 46 +++++++++++++++++++ 4 files changed, 52 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 8e54fe2..69021da 100644 --- a/README.md +++ b/README.md @@ -28,7 +28,7 @@ Add the dependency in your `build.gradle` file: ```groovy dependencies { - implementation 'com.pipedream:pipedream:1.1.11' + implementation 'com.pipedream:pipedream:1.1.12' } ``` @@ -40,7 +40,7 @@ Add the dependency in your `pom.xml` file: com.pipedream pipedream - 1.1.11 + 1.1.12 ``` diff --git a/build.gradle b/build.gradle index 3425408..0a47fe9 100644 --- a/build.gradle +++ b/build.gradle @@ -49,7 +49,7 @@ java { group = 'com.pipedream' -version = '1.1.11' +version = '1.1.12' jar { dependsOn(":generatePomFileForMavenPublication") @@ -80,7 +80,7 @@ publishing { maven(MavenPublication) { groupId = 'com.pipedream' artifactId = 'pipedream' - version = '1.1.11' + version = '1.1.12' from components.java pom { name = 'pipedream' diff --git a/src/main/java/com/pipedream/api/core/ClientOptions.java b/src/main/java/com/pipedream/api/core/ClientOptions.java index 47e6838..abda75d 100644 --- a/src/main/java/com/pipedream/api/core/ClientOptions.java +++ b/src/main/java/com/pipedream/api/core/ClientOptions.java @@ -35,10 +35,10 @@ private ClientOptions( this.headers.putAll(headers); this.headers.putAll(new HashMap() { { - put("User-Agent", "com.pipedream:pipedream/1.1.11"); + put("User-Agent", "com.pipedream:pipedream/1.1.12"); put("X-Fern-Language", "JAVA"); put("X-Fern-SDK-Name", "com.pipedream.fern:api-sdk"); - put("X-Fern-SDK-Version", "1.1.11"); + put("X-Fern-SDK-Version", "1.1.12"); } }); this.headerSuppliers = headerSuppliers; diff --git a/src/main/java/com/pipedream/api/types/Account.java b/src/main/java/com/pipedream/api/types/Account.java index 90f3867..d305a39 100644 --- a/src/main/java/com/pipedream/api/types/Account.java +++ b/src/main/java/com/pipedream/api/types/Account.java @@ -14,6 +14,7 @@ import com.pipedream.api.core.ObjectMappers; import java.time.OffsetDateTime; import java.util.HashMap; +import java.util.List; import java.util.Map; import java.util.Objects; import java.util.Optional; @@ -38,6 +39,8 @@ public final class Account { private final Optional updatedAt; + private final Optional> authorizedScopes; + private final Optional credentials; private final Optional expiresAt; @@ -59,6 +62,7 @@ private Account( Optional app, Optional createdAt, Optional updatedAt, + Optional> authorizedScopes, Optional credentials, Optional expiresAt, Optional error, @@ -73,6 +77,7 @@ private Account( this.app = app; this.createdAt = createdAt; this.updatedAt = updatedAt; + this.authorizedScopes = authorizedScopes; this.credentials = credentials; this.expiresAt = expiresAt; this.error = error; @@ -139,6 +144,14 @@ public Optional getUpdatedAt() { return updatedAt; } + /** + * @return The OAuth scopes effectively granted to this account. Empty for non-OAuth apps. + */ + @JsonProperty("authorized_scopes") + public Optional> getAuthorizedScopes() { + return authorizedScopes; + } + /** * @return The credentials associated with the account, if the include_credentials parameter was set to true in the request (only applicable for BYOA apps). In addition to the well-known OAuth fields listed below, this object may contain app-specific custom fields (e.g. base_url). */ @@ -199,6 +212,7 @@ private boolean equalTo(Account other) { && app.equals(other.app) && createdAt.equals(other.createdAt) && updatedAt.equals(other.updatedAt) + && authorizedScopes.equals(other.authorizedScopes) && credentials.equals(other.credentials) && expiresAt.equals(other.expiresAt) && error.equals(other.error) @@ -217,6 +231,7 @@ public int hashCode() { this.app, this.createdAt, this.updatedAt, + this.authorizedScopes, this.credentials, this.expiresAt, this.error, @@ -288,6 +303,13 @@ public interface _FinalStage { _FinalStage updatedAt(OffsetDateTime updatedAt); + /** + *

The OAuth scopes effectively granted to this account. Empty for non-OAuth apps.

+ */ + _FinalStage authorizedScopes(Optional> authorizedScopes); + + _FinalStage authorizedScopes(List authorizedScopes); + /** *

The credentials associated with the account, if the include_credentials parameter was set to true in the request (only applicable for BYOA apps). In addition to the well-known OAuth fields listed below, this object may contain app-specific custom fields (e.g. base_url).

*/ @@ -338,6 +360,8 @@ public static final class Builder implements IdStage, _FinalStage { private Optional credentials = Optional.empty(); + private Optional> authorizedScopes = Optional.empty(); + private Optional updatedAt = Optional.empty(); private Optional createdAt = Optional.empty(); @@ -367,6 +391,7 @@ public Builder from(Account other) { app(other.getApp()); createdAt(other.getCreatedAt()); updatedAt(other.getUpdatedAt()); + authorizedScopes(other.getAuthorizedScopes()); credentials(other.getCredentials()); expiresAt(other.getExpiresAt()); error(other.getError()); @@ -482,6 +507,26 @@ public _FinalStage credentials(Optional credentials) { return this; } + /** + *

The OAuth scopes effectively granted to this account. Empty for non-OAuth apps.

+ * @return Reference to {@code this} so that method calls can be chained together. + */ + @java.lang.Override + public _FinalStage authorizedScopes(List authorizedScopes) { + this.authorizedScopes = Optional.ofNullable(authorizedScopes); + return this; + } + + /** + *

The OAuth scopes effectively granted to this account. Empty for non-OAuth apps.

+ */ + @java.lang.Override + @JsonSetter(value = "authorized_scopes", nulls = Nulls.SKIP) + public _FinalStage authorizedScopes(Optional> authorizedScopes) { + this.authorizedScopes = authorizedScopes; + return this; + } + /** *

The date and time the account was last updated, an ISO 8601 formatted string

* @return Reference to {@code this} so that method calls can be chained together. @@ -626,6 +671,7 @@ public Account build() { app, createdAt, updatedAt, + authorizedScopes, credentials, expiresAt, error,