From afc2b19de1794f845c49db2d1d67812b57dde981 Mon Sep 17 00:00:00 2001 From: "fern-api[bot]" <115122769+fern-api[bot]@users.noreply.github.com> Date: Mon, 27 Apr 2026 22:43:22 +0000 Subject: [PATCH] SDK regeneration --- README.md | 4 +- build.gradle | 4 +- .../com/pipedream/api/core/ClientOptions.java | 4 +- .../tokens/requests/CreateTokenOpts.java | 49 ++++++++++++++++++- 4 files changed, 53 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index 69021da..cfa97c3 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.12' + implementation 'com.pipedream:pipedream:1.1.13' } ``` @@ -40,7 +40,7 @@ Add the dependency in your `pom.xml` file: com.pipedream pipedream - 1.1.12 + 1.1.13 ``` diff --git a/build.gradle b/build.gradle index 0a47fe9..566b8cf 100644 --- a/build.gradle +++ b/build.gradle @@ -49,7 +49,7 @@ java { group = 'com.pipedream' -version = '1.1.12' +version = '1.1.13' jar { dependsOn(":generatePomFileForMavenPublication") @@ -80,7 +80,7 @@ publishing { maven(MavenPublication) { groupId = 'com.pipedream' artifactId = 'pipedream' - version = '1.1.12' + version = '1.1.13' 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 abda75d..f9585df 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.12"); + put("User-Agent", "com.pipedream:pipedream/1.1.13"); put("X-Fern-Language", "JAVA"); put("X-Fern-SDK-Name", "com.pipedream.fern:api-sdk"); - put("X-Fern-SDK-Version", "1.1.12"); + put("X-Fern-SDK-Version", "1.1.13"); } }); this.headerSuppliers = headerSuppliers; diff --git a/src/main/java/com/pipedream/api/resources/tokens/requests/CreateTokenOpts.java b/src/main/java/com/pipedream/api/resources/tokens/requests/CreateTokenOpts.java index f3839af..b6daa73 100644 --- a/src/main/java/com/pipedream/api/resources/tokens/requests/CreateTokenOpts.java +++ b/src/main/java/com/pipedream/api/resources/tokens/requests/CreateTokenOpts.java @@ -36,6 +36,8 @@ public final class CreateTokenOpts { private final Optional webhookUri; + private final Optional allowProgressiveScopes; + private final Map additionalProperties; private CreateTokenOpts( @@ -46,6 +48,7 @@ private CreateTokenOpts( Optional scope, Optional successRedirectUri, Optional webhookUri, + Optional allowProgressiveScopes, Map additionalProperties) { this.allowedOrigins = allowedOrigins; this.errorRedirectUri = errorRedirectUri; @@ -54,6 +57,7 @@ private CreateTokenOpts( this.scope = scope; this.successRedirectUri = successRedirectUri; this.webhookUri = webhookUri; + this.allowProgressiveScopes = allowProgressiveScopes; this.additionalProperties = additionalProperties; } @@ -113,6 +117,14 @@ public Optional getWebhookUri() { return webhookUri; } + /** + * @return When true, end users may authorize a subset of the app's OAuth scopes; only the app's functional scopes (needed for the post-OAuth test request) are enforced. Defaults to false. + */ + @JsonProperty("allow_progressive_scopes") + public Optional getAllowProgressiveScopes() { + return allowProgressiveScopes; + } + @java.lang.Override public boolean equals(Object other) { if (this == other) return true; @@ -131,7 +143,8 @@ private boolean equalTo(CreateTokenOpts other) { && externalUserId.equals(other.externalUserId) && scope.equals(other.scope) && successRedirectUri.equals(other.successRedirectUri) - && webhookUri.equals(other.webhookUri); + && webhookUri.equals(other.webhookUri) + && allowProgressiveScopes.equals(other.allowProgressiveScopes); } @java.lang.Override @@ -143,7 +156,8 @@ public int hashCode() { this.externalUserId, this.scope, this.successRedirectUri, - this.webhookUri); + this.webhookUri, + this.allowProgressiveScopes); } @java.lang.Override @@ -208,12 +222,21 @@ public interface _FinalStage { _FinalStage webhookUri(Optional webhookUri); _FinalStage webhookUri(String webhookUri); + + /** + *

When true, end users may authorize a subset of the app's OAuth scopes; only the app's functional scopes (needed for the post-OAuth test request) are enforced. Defaults to false.

+ */ + _FinalStage allowProgressiveScopes(Optional allowProgressiveScopes); + + _FinalStage allowProgressiveScopes(Boolean allowProgressiveScopes); } @JsonIgnoreProperties(ignoreUnknown = true) public static final class Builder implements ExternalUserIdStage, _FinalStage { private String externalUserId; + private Optional allowProgressiveScopes = Optional.empty(); + private Optional webhookUri = Optional.empty(); private Optional successRedirectUri = Optional.empty(); @@ -240,6 +263,7 @@ public Builder from(CreateTokenOpts other) { scope(other.getScope()); successRedirectUri(other.getSuccessRedirectUri()); webhookUri(other.getWebhookUri()); + allowProgressiveScopes(other.getAllowProgressiveScopes()); return this; } @@ -255,6 +279,26 @@ public _FinalStage externalUserId(@NotNull String externalUserId) { return this; } + /** + *

When true, end users may authorize a subset of the app's OAuth scopes; only the app's functional scopes (needed for the post-OAuth test request) are enforced. Defaults to false.

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

When true, end users may authorize a subset of the app's OAuth scopes; only the app's functional scopes (needed for the post-OAuth test request) are enforced. Defaults to false.

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

Webhook URI for notifications

* @return Reference to {@code this} so that method calls can be chained together. @@ -385,6 +429,7 @@ public CreateTokenOpts build() { scope, successRedirectUri, webhookUri, + allowProgressiveScopes, additionalProperties); } }