From 7b1064648a9837cf914743b538789dd228f3753b Mon Sep 17 00:00:00 2001 From: fern-api <115122769+fern-api[bot]@users.noreply.github.com> Date: Sat, 6 Jun 2026 00:40:46 +0000 Subject: [PATCH] [fern-generated] Update SDK Generated by Fern CLI Version: unknown Generators: - fernapi/fern-java-sdk: 4.8.4 --- .fern/metadata.json | 4 +- README.md | 4 +- build.gradle | 4 +- .../com/pipedream/api/core/ClientOptions.java | 4 +- .../actions/requests/ActionsListRequest.java | 4 +- .../requests/ActionsRetrieveRequest.java | 4 +- .../actions/requests/RunActionOpts.java | 8 +-- .../requests/ComponentsListRequest.java | 4 +- .../requests/ComponentsRetrieveRequest.java | 4 +- .../triggers/requests/DeployTriggerOpts.java | 8 +-- .../requests/TriggersListRequest.java | 4 +- .../requests/TriggersRetrieveRequest.java | 4 +- .../com/pipedream/api/types/Component.java | 16 +++--- .../api/types/ConfigurablePropApp.java | 8 +-- .../api/types/ConfigurePropOpts.java | 8 +-- .../com/pipedream/api/types/EmittedEvent.java | 56 +++++++++++++++++-- .../pipedream/api/types/ReloadPropsOpts.java | 8 +-- 17 files changed, 100 insertions(+), 52 deletions(-) diff --git a/.fern/metadata.json b/.fern/metadata.json index 3430f57..3c51ad8 100644 --- a/.fern/metadata.json +++ b/.fern/metadata.json @@ -10,9 +10,9 @@ ], "retry-status-codes": "legacy" }, - "originGitCommit": "fa2fad94474bee68b5a4c87f25775ff6701a0fe6", + "originGitCommit": "0154aca6f568afe2b2c183a43a8454aa86412754", "originGitCommitIsDirty": false, "invokedBy": "ci", "ciProvider": "github", - "sdkVersion": "2.0.4" + "sdkVersion": "2.0.5" } \ No newline at end of file diff --git a/README.md b/README.md index 5ee2fb3..3e9bf5c 100644 --- a/README.md +++ b/README.md @@ -30,7 +30,7 @@ Add the dependency in your `build.gradle` file: ```groovy dependencies { - implementation 'com.pipedream:pipedream:2.0.4' + implementation 'com.pipedream:pipedream:2.0.5' } ``` @@ -42,7 +42,7 @@ Add the dependency in your `pom.xml` file: com.pipedream pipedream - 2.0.4 + 2.0.5 ``` diff --git a/build.gradle b/build.gradle index d037e3f..8c6b958 100644 --- a/build.gradle +++ b/build.gradle @@ -48,7 +48,7 @@ java { group = 'com.pipedream' -version = '2.0.4' +version = '2.0.5' jar { dependsOn(":generatePomFileForMavenPublication") @@ -79,7 +79,7 @@ publishing { maven(MavenPublication) { groupId = 'com.pipedream' artifactId = 'pipedream' - version = '2.0.4' + version = '2.0.5' 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 09c0bdf..2b7f8c0 100644 --- a/src/main/java/com/pipedream/api/core/ClientOptions.java +++ b/src/main/java/com/pipedream/api/core/ClientOptions.java @@ -41,10 +41,10 @@ private ClientOptions( this.headers.putAll(headers); this.headers.putAll(new HashMap() { { - put("User-Agent", "com.pipedream:pipedream/2.0.4"); + put("User-Agent", "com.pipedream:pipedream/2.0.5"); put("X-Fern-Language", "JAVA"); put("X-Fern-SDK-Name", "com.pipedream.fern:api-sdk"); - put("X-Fern-SDK-Version", "2.0.4"); + put("X-Fern-SDK-Version", "2.0.5"); } }); this.headerSuppliers = headerSuppliers; diff --git a/src/main/java/com/pipedream/api/resources/actions/requests/ActionsListRequest.java b/src/main/java/com/pipedream/api/resources/actions/requests/ActionsListRequest.java index e5cb48a..ee082e4 100644 --- a/src/main/java/com/pipedream/api/resources/actions/requests/ActionsListRequest.java +++ b/src/main/java/com/pipedream/api/resources/actions/requests/ActionsListRequest.java @@ -93,7 +93,7 @@ public Optional getApp() { } /** - * @return The registry to retrieve actions from. Defaults to 'all' ('public', 'private', or 'all') + * @return The registry to retrieve actions from */ @JsonProperty("registry") public Optional getRegistry() { @@ -234,7 +234,7 @@ public Builder app(String app) { } /** - *

The registry to retrieve actions from. Defaults to 'all' ('public', 'private', or 'all')

+ *

The registry to retrieve actions from

*/ @JsonSetter(value = "registry", nulls = Nulls.SKIP) public Builder registry(Optional registry) { diff --git a/src/main/java/com/pipedream/api/resources/actions/requests/ActionsRetrieveRequest.java b/src/main/java/com/pipedream/api/resources/actions/requests/ActionsRetrieveRequest.java index 0d2e8a7..2ec58e0 100644 --- a/src/main/java/com/pipedream/api/resources/actions/requests/ActionsRetrieveRequest.java +++ b/src/main/java/com/pipedream/api/resources/actions/requests/ActionsRetrieveRequest.java @@ -30,7 +30,7 @@ private ActionsRetrieveRequest(Optional version, Map add } /** - * @return Optional semantic version of the component to retrieve (for example '1.0.0') + * @return Optional semantic version of the component to retrieve */ @JsonProperty("version") public Optional getVersion() { @@ -81,7 +81,7 @@ public Builder from(ActionsRetrieveRequest other) { } /** - *

Optional semantic version of the component to retrieve (for example '1.0.0')

+ *

Optional semantic version of the component to retrieve

*/ @JsonSetter(value = "version", nulls = Nulls.SKIP) public Builder version(Optional version) { diff --git a/src/main/java/com/pipedream/api/resources/actions/requests/RunActionOpts.java b/src/main/java/com/pipedream/api/resources/actions/requests/RunActionOpts.java index c2d5067..5e1ad3b 100644 --- a/src/main/java/com/pipedream/api/resources/actions/requests/RunActionOpts.java +++ b/src/main/java/com/pipedream/api/resources/actions/requests/RunActionOpts.java @@ -63,7 +63,7 @@ public String getId() { } /** - * @return Optional action component version (in SemVer format, for example '1.0.0'), defaults to latest + * @return Action component semantic version */ @JsonProperty("version") public Optional getVersion() { @@ -155,7 +155,7 @@ public interface _FinalStage { _FinalStage additionalProperties(Map additionalProperties); /** - *

Optional action component version (in SemVer format, for example '1.0.0'), defaults to latest

+ *

Action component semantic version

*/ _FinalStage version(Optional version); @@ -278,7 +278,7 @@ public _FinalStage configuredProps(Optional> co } /** - *

Optional action component version (in SemVer format, for example '1.0.0'), defaults to latest

+ *

Action component semantic version

* @return Reference to {@code this} so that method calls can be chained together. */ @java.lang.Override @@ -288,7 +288,7 @@ public _FinalStage version(String version) { } /** - *

Optional action component version (in SemVer format, for example '1.0.0'), defaults to latest

+ *

Action component semantic version

*/ @java.lang.Override @JsonSetter(value = "version", nulls = Nulls.SKIP) diff --git a/src/main/java/com/pipedream/api/resources/components/requests/ComponentsListRequest.java b/src/main/java/com/pipedream/api/resources/components/requests/ComponentsListRequest.java index 65203cf..5c6ee31 100644 --- a/src/main/java/com/pipedream/api/resources/components/requests/ComponentsListRequest.java +++ b/src/main/java/com/pipedream/api/resources/components/requests/ComponentsListRequest.java @@ -98,7 +98,7 @@ public Optional getApp() { } /** - * @return The registry to retrieve components from. Defaults to 'all' ('public', 'private', or 'all') + * @return The registry to retrieve components from */ @JsonProperty("registry") public Optional getRegistry() { @@ -251,7 +251,7 @@ public Builder app(String app) { } /** - *

The registry to retrieve components from. Defaults to 'all' ('public', 'private', or 'all')

+ *

The registry to retrieve components from

*/ @JsonSetter(value = "registry", nulls = Nulls.SKIP) public Builder registry(Optional registry) { diff --git a/src/main/java/com/pipedream/api/resources/components/requests/ComponentsRetrieveRequest.java b/src/main/java/com/pipedream/api/resources/components/requests/ComponentsRetrieveRequest.java index 3d214fb..e9aabd4 100644 --- a/src/main/java/com/pipedream/api/resources/components/requests/ComponentsRetrieveRequest.java +++ b/src/main/java/com/pipedream/api/resources/components/requests/ComponentsRetrieveRequest.java @@ -30,7 +30,7 @@ private ComponentsRetrieveRequest(Optional version, Map } /** - * @return Optional semantic version of the component to retrieve (for example '1.0.0') + * @return Optional semantic version of the component to retrieve */ @JsonProperty("version") public Optional getVersion() { @@ -81,7 +81,7 @@ public Builder from(ComponentsRetrieveRequest other) { } /** - *

Optional semantic version of the component to retrieve (for example '1.0.0')

+ *

Optional semantic version of the component to retrieve

*/ @JsonSetter(value = "version", nulls = Nulls.SKIP) public Builder version(Optional version) { diff --git a/src/main/java/com/pipedream/api/resources/triggers/requests/DeployTriggerOpts.java b/src/main/java/com/pipedream/api/resources/triggers/requests/DeployTriggerOpts.java index 2510538..b5211de 100644 --- a/src/main/java/com/pipedream/api/resources/triggers/requests/DeployTriggerOpts.java +++ b/src/main/java/com/pipedream/api/resources/triggers/requests/DeployTriggerOpts.java @@ -70,7 +70,7 @@ public String getId() { } /** - * @return Optional trigger component version (in SemVer format, for example '1.0.0'), defaults to latest + * @return Trigger component semantic version */ @JsonProperty("version") public Optional getVersion() { @@ -190,7 +190,7 @@ public interface _FinalStage { _FinalStage additionalProperties(Map additionalProperties); /** - *

Optional trigger component version (in SemVer format, for example '1.0.0'), defaults to latest

+ *

Trigger component semantic version

*/ _FinalStage version(Optional version); @@ -383,7 +383,7 @@ public _FinalStage configuredProps(Optional> co } /** - *

Optional trigger component version (in SemVer format, for example '1.0.0'), defaults to latest

+ *

Trigger component semantic version

* @return Reference to {@code this} so that method calls can be chained together. */ @java.lang.Override @@ -393,7 +393,7 @@ public _FinalStage version(String version) { } /** - *

Optional trigger component version (in SemVer format, for example '1.0.0'), defaults to latest

+ *

Trigger component semantic version

*/ @java.lang.Override @JsonSetter(value = "version", nulls = Nulls.SKIP) diff --git a/src/main/java/com/pipedream/api/resources/triggers/requests/TriggersListRequest.java b/src/main/java/com/pipedream/api/resources/triggers/requests/TriggersListRequest.java index 4639302..3834d35 100644 --- a/src/main/java/com/pipedream/api/resources/triggers/requests/TriggersListRequest.java +++ b/src/main/java/com/pipedream/api/resources/triggers/requests/TriggersListRequest.java @@ -93,7 +93,7 @@ public Optional getApp() { } /** - * @return The registry to retrieve triggers from. Defaults to 'all' ('public', 'private', or 'all') + * @return The registry to retrieve triggers from */ @JsonProperty("registry") public Optional getRegistry() { @@ -234,7 +234,7 @@ public Builder app(String app) { } /** - *

The registry to retrieve triggers from. Defaults to 'all' ('public', 'private', or 'all')

+ *

The registry to retrieve triggers from

*/ @JsonSetter(value = "registry", nulls = Nulls.SKIP) public Builder registry(Optional registry) { diff --git a/src/main/java/com/pipedream/api/resources/triggers/requests/TriggersRetrieveRequest.java b/src/main/java/com/pipedream/api/resources/triggers/requests/TriggersRetrieveRequest.java index 8190eb7..31445de 100644 --- a/src/main/java/com/pipedream/api/resources/triggers/requests/TriggersRetrieveRequest.java +++ b/src/main/java/com/pipedream/api/resources/triggers/requests/TriggersRetrieveRequest.java @@ -30,7 +30,7 @@ private TriggersRetrieveRequest(Optional version, Map ad } /** - * @return Optional semantic version of the component to retrieve (for example '1.0.0') + * @return Optional semantic version of the component to retrieve */ @JsonProperty("version") public Optional getVersion() { @@ -81,7 +81,7 @@ public Builder from(TriggersRetrieveRequest other) { } /** - *

Optional semantic version of the component to retrieve (for example '1.0.0')

+ *

Optional semantic version of the component to retrieve

*/ @JsonSetter(value = "version", nulls = Nulls.SKIP) public Builder version(Optional version) { diff --git a/src/main/java/com/pipedream/api/types/Component.java b/src/main/java/com/pipedream/api/types/Component.java index a6922b2..5d2d911 100644 --- a/src/main/java/com/pipedream/api/types/Component.java +++ b/src/main/java/com/pipedream/api/types/Component.java @@ -71,7 +71,7 @@ public String getKey() { } /** - * @return The human-readable name of the component, e.g. 'GitLab: List Commits' + * @return The human-readable name of the component */ @JsonProperty("name") public String getName() { @@ -79,7 +79,7 @@ public String getName() { } /** - * @return The latest version of the component, in SemVer format. + * @return The latest version of the component, in semantic versioning format. */ @JsonProperty("version") public String getVersion() { @@ -172,14 +172,14 @@ public interface KeyStage { public interface NameStage { /** - *

The human-readable name of the component, e.g. 'GitLab: List Commits'

+ *

The human-readable name of the component

*/ VersionStage name(@NotNull String name); } public interface VersionStage { /** - *

The latest version of the component, in SemVer format.

+ *

The latest version of the component, in semantic versioning format.

*/ _FinalStage version(@NotNull String version); } @@ -269,8 +269,8 @@ public NameStage key(@NotNull String key) { } /** - *

The human-readable name of the component, e.g. 'GitLab: List Commits'

- *

The human-readable name of the component, e.g. 'GitLab: List Commits'

+ *

The human-readable name of the component

+ *

The human-readable name of the component

* @return Reference to {@code this} so that method calls can be chained together. */ @java.lang.Override @@ -281,8 +281,8 @@ public VersionStage name(@NotNull String name) { } /** - *

The latest version of the component, in SemVer format.

- *

The latest version of the component, in SemVer format.

+ *

The latest version of the component, in semantic versioning format.

+ *

The latest version of the component, in semantic versioning format.

* @return Reference to {@code this} so that method calls can be chained together. */ @java.lang.Override diff --git a/src/main/java/com/pipedream/api/types/ConfigurablePropApp.java b/src/main/java/com/pipedream/api/types/ConfigurablePropApp.java index 7168acb..01d61ba 100644 --- a/src/main/java/com/pipedream/api/types/ConfigurablePropApp.java +++ b/src/main/java/com/pipedream/api/types/ConfigurablePropApp.java @@ -83,7 +83,7 @@ public String getType() { } /** - * @return The name slug of the app, e.g. 'github', 'slack', etc. This is used to identify the app for which the account is being configured. + * @return The name slug of the app, used to identify the app for which the account is being configured. */ @JsonProperty("app") public String getApp() { @@ -232,7 +232,7 @@ public static AppStage builder() { public interface AppStage { /** - *

The name slug of the app, e.g. 'github', 'slack', etc. This is used to identify the app for which the account is being configured.

+ *

The name slug of the app, used to identify the app for which the account is being configured.

*/ NameStage app(@NotNull String app); @@ -373,8 +373,8 @@ public Builder from(ConfigurablePropApp other) { } /** - *

The name slug of the app, e.g. 'github', 'slack', etc. This is used to identify the app for which the account is being configured.

- *

The name slug of the app, e.g. 'github', 'slack', etc. This is used to identify the app for which the account is being configured.

+ *

The name slug of the app, used to identify the app for which the account is being configured.

+ *

The name slug of the app, used to identify the app for which the account is being configured.

* @return Reference to {@code this} so that method calls can be chained together. */ @java.lang.Override diff --git a/src/main/java/com/pipedream/api/types/ConfigurePropOpts.java b/src/main/java/com/pipedream/api/types/ConfigurePropOpts.java index e55d5a8..0bb8d0a 100644 --- a/src/main/java/com/pipedream/api/types/ConfigurePropOpts.java +++ b/src/main/java/com/pipedream/api/types/ConfigurePropOpts.java @@ -77,7 +77,7 @@ public String getId() { } /** - * @return Optional component version (in SemVer format, for example '1.0.0'), defaults to latest + * @return Component semantic version */ @JsonProperty("version") public Optional getVersion() { @@ -224,7 +224,7 @@ public interface _FinalStage { _FinalStage additionalProperties(Map additionalProperties); /** - *

Optional component version (in SemVer format, for example '1.0.0'), defaults to latest

+ *

Component semantic version

*/ _FinalStage version(Optional version); @@ -462,7 +462,7 @@ public _FinalStage blocking(Optional blocking) { } /** - *

Optional component version (in SemVer format, for example '1.0.0'), defaults to latest

+ *

Component semantic version

* @return Reference to {@code this} so that method calls can be chained together. */ @java.lang.Override @@ -472,7 +472,7 @@ public _FinalStage version(String version) { } /** - *

Optional component version (in SemVer format, for example '1.0.0'), defaults to latest

+ *

Component semantic version

*/ @java.lang.Override @JsonSetter(value = "version", nulls = Nulls.SKIP) diff --git a/src/main/java/com/pipedream/api/types/EmittedEvent.java b/src/main/java/com/pipedream/api/types/EmittedEvent.java index 1010d5e..da9a74f 100644 --- a/src/main/java/com/pipedream/api/types/EmittedEvent.java +++ b/src/main/java/com/pipedream/api/types/EmittedEvent.java @@ -16,6 +16,7 @@ import java.util.LinkedHashMap; import java.util.Map; import java.util.Objects; +import java.util.Optional; import org.jetbrains.annotations.NotNull; @JsonInclude(JsonInclude.Include.NON_ABSENT) @@ -29,13 +30,22 @@ public final class EmittedEvent { private final String id; + private final Optional sum; + private final Map additionalProperties; - private EmittedEvent(Map e, String k, int ts, String id, Map additionalProperties) { + private EmittedEvent( + Map e, + String k, + int ts, + String id, + Optional sum, + Map additionalProperties) { this.e = e; this.k = k; this.ts = ts; this.id = id; + this.sum = sum; this.additionalProperties = additionalProperties; } @@ -71,6 +81,14 @@ public String getId() { return id; } + /** + * @return A short summary of the event's payload + */ + @JsonProperty("sum") + public Optional getSum() { + return sum; + } + @java.lang.Override public boolean equals(Object other) { if (this == other) return true; @@ -83,12 +101,12 @@ public Map getAdditionalProperties() { } private boolean equalTo(EmittedEvent other) { - return e.equals(other.e) && k.equals(other.k) && ts == other.ts && id.equals(other.id); + return e.equals(other.e) && k.equals(other.k) && ts == other.ts && id.equals(other.id) && sum.equals(other.sum); } @java.lang.Override public int hashCode() { - return Objects.hash(this.e, this.k, this.ts, this.id); + return Objects.hash(this.e, this.k, this.ts, this.id, this.sum); } @java.lang.Override @@ -138,6 +156,13 @@ public interface _FinalStage { _FinalStage putAllE(Map e); _FinalStage e(String key, Object value); + + /** + *

A short summary of the event's payload

+ */ + _FinalStage sum(Optional sum); + + _FinalStage sum(String sum); } @JsonIgnoreProperties(ignoreUnknown = true) @@ -148,6 +173,8 @@ public static final class Builder implements KStage, TsStage, IdStage, _FinalSta private String id; + private Optional sum = Optional.empty(); + private Map e = new LinkedHashMap<>(); @JsonAnySetter @@ -161,6 +188,7 @@ public Builder from(EmittedEvent other) { k(other.getK()); ts(other.getTs()); id(other.getId()); + sum(other.getSum()); return this; } @@ -200,6 +228,26 @@ public _FinalStage id(@NotNull String id) { return this; } + /** + *

A short summary of the event's payload

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

A short summary of the event's payload

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

The event's payload

* @return Reference to {@code this} so that method calls can be chained together. @@ -237,7 +285,7 @@ public _FinalStage e(Map e) { @java.lang.Override public EmittedEvent build() { - return new EmittedEvent(e, k, ts, id, additionalProperties); + return new EmittedEvent(e, k, ts, id, sum, additionalProperties); } @java.lang.Override diff --git a/src/main/java/com/pipedream/api/types/ReloadPropsOpts.java b/src/main/java/com/pipedream/api/types/ReloadPropsOpts.java index bf74760..e2b0ae4 100644 --- a/src/main/java/com/pipedream/api/types/ReloadPropsOpts.java +++ b/src/main/java/com/pipedream/api/types/ReloadPropsOpts.java @@ -61,7 +61,7 @@ public String getId() { } /** - * @return Optional component version (in SemVer format, for example '1.0.0'), defaults to latest + * @return Component semantic version */ @JsonProperty("version") public Optional getVersion() { @@ -156,7 +156,7 @@ public interface _FinalStage { _FinalStage additionalProperties(Map additionalProperties); /** - *

Optional component version (in SemVer format, for example '1.0.0'), defaults to latest

+ *

Component semantic version

*/ _FinalStage version(Optional version); @@ -289,7 +289,7 @@ public _FinalStage blocking(Optional blocking) { } /** - *

Optional component version (in SemVer format, for example '1.0.0'), defaults to latest

+ *

Component semantic version

* @return Reference to {@code this} so that method calls can be chained together. */ @java.lang.Override @@ -299,7 +299,7 @@ public _FinalStage version(String version) { } /** - *

Optional component version (in SemVer format, for example '1.0.0'), defaults to latest

+ *

Component semantic version

*/ @java.lang.Override @JsonSetter(value = "version", nulls = Nulls.SKIP)