Skip to content

🌿 Fern Regeneration -- August 11, 2025 #41

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from
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
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -343,9 +343,6 @@ public CompletableFuture<BaseClientHttpResponse<RunActionResponse>> run(
if (request.getDynamicPropsId().isPresent()) {
properties.put("dynamic_props_id", request.getDynamicPropsId());
}
if (request.getStashId().isPresent()) {
properties.put("stash_id", request.getStashId());
}
RequestBody body;
try {
body = RequestBody.create(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -275,9 +275,6 @@ public BaseClientHttpResponse<RunActionResponse> run(RunActionOpts request, Requ
if (request.getDynamicPropsId().isPresent()) {
properties.put("dynamic_props_id", request.getDynamicPropsId());
}
if (request.getStashId().isPresent()) {
properties.put("stash_id", request.getStashId());
}
RequestBody body;
try {
body = RequestBody.create(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
import com.fasterxml.jackson.annotation.Nulls;
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.pipedream.api.core.ObjectMappers;
import com.pipedream.api.types.RunActionOptsStashId;
import java.util.HashMap;
import java.util.Map;
import java.util.Objects;
Expand All @@ -32,8 +31,6 @@ public final class RunActionOpts {

private final Optional<String> dynamicPropsId;

private final Optional<RunActionOptsStashId> stashId;

private final Map<String, Object> additionalProperties;

private RunActionOpts(
Expand All @@ -42,14 +39,12 @@ private RunActionOpts(
String externalUserId,
Optional<Map<String, Object>> configuredProps,
Optional<String> dynamicPropsId,
Optional<RunActionOptsStashId> stashId,
Map<String, Object> additionalProperties) {
this.asyncHandle = asyncHandle;
this.id = id;
this.externalUserId = externalUserId;
this.configuredProps = configuredProps;
this.dynamicPropsId = dynamicPropsId;
this.stashId = stashId;
this.additionalProperties = additionalProperties;
}

Expand Down Expand Up @@ -90,11 +85,6 @@ public Optional<String> getDynamicPropsId() {
return dynamicPropsId;
}

@JsonProperty("stash_id")
public Optional<RunActionOptsStashId> getStashId() {
return stashId;
}

@java.lang.Override
public boolean equals(Object other) {
if (this == other) return true;
Expand All @@ -111,19 +101,12 @@ private boolean equalTo(RunActionOpts other) {
&& id.equals(other.id)
&& externalUserId.equals(other.externalUserId)
&& configuredProps.equals(other.configuredProps)
&& dynamicPropsId.equals(other.dynamicPropsId)
&& stashId.equals(other.stashId);
&& dynamicPropsId.equals(other.dynamicPropsId);
}

@java.lang.Override
public int hashCode() {
return Objects.hash(
this.asyncHandle,
this.id,
this.externalUserId,
this.configuredProps,
this.dynamicPropsId,
this.stashId);
return Objects.hash(this.asyncHandle, this.id, this.externalUserId, this.configuredProps, this.dynamicPropsId);
}

@java.lang.Override
Expand Down Expand Up @@ -171,10 +154,6 @@ public interface _FinalStage {
_FinalStage dynamicPropsId(Optional<String> dynamicPropsId);

_FinalStage dynamicPropsId(String dynamicPropsId);

_FinalStage stashId(Optional<RunActionOptsStashId> stashId);

_FinalStage stashId(RunActionOptsStashId stashId);
}

@JsonIgnoreProperties(ignoreUnknown = true)
Expand All @@ -183,8 +162,6 @@ public static final class Builder implements IdStage, ExternalUserIdStage, _Fina

private String externalUserId;

private Optional<RunActionOptsStashId> stashId = Optional.empty();

private Optional<String> dynamicPropsId = Optional.empty();

private Optional<Map<String, Object>> configuredProps = Optional.empty();
Expand All @@ -203,7 +180,6 @@ public Builder from(RunActionOpts other) {
externalUserId(other.getExternalUserId());
configuredProps(other.getConfiguredProps());
dynamicPropsId(other.getDynamicPropsId());
stashId(other.getStashId());
return this;
}

Expand Down Expand Up @@ -231,19 +207,6 @@ public _FinalStage externalUserId(@NotNull String externalUserId) {
return this;
}

@java.lang.Override
public _FinalStage stashId(RunActionOptsStashId stashId) {
this.stashId = Optional.ofNullable(stashId);
return this;
}

@java.lang.Override
@JsonSetter(value = "stash_id", nulls = Nulls.SKIP)
public _FinalStage stashId(Optional<RunActionOptsStashId> stashId) {
this.stashId = stashId;
return this;
}

/**
* <p>The ID for dynamic props</p>
* @return Reference to {@code this} so that method calls can be chained together.
Expand Down Expand Up @@ -300,7 +263,7 @@ public _FinalStage asyncHandle(Optional<String> asyncHandle) {
@java.lang.Override
public RunActionOpts build() {
return new RunActionOpts(
asyncHandle, id, externalUserId, configuredProps, dynamicPropsId, stashId, additionalProperties);
asyncHandle, id, externalUserId, configuredProps, dynamicPropsId, additionalProperties);
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,9 @@ public CompletableFuture<BaseClientHttpResponse<ValidateTokenResponse>> validate
String ctok, TokensValidateRequest request, RequestOptions requestOptions) {
HttpUrl.Builder httpUrl = HttpUrl.parse(this.clientOptions.environment().getUrl())
.newBuilder()
.addPathSegments("v1/connect/tokens")
.addPathSegments("v1/connect")
.addPathSegment(clientOptions.projectId())
.addPathSegments("tokens")
.addPathSegment(ctok)
.addPathSegments("validate");
if (request.getParams().isPresent()) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,9 @@ public BaseClientHttpResponse<ValidateTokenResponse> validate(
String ctok, TokensValidateRequest request, RequestOptions requestOptions) {
HttpUrl.Builder httpUrl = HttpUrl.parse(this.clientOptions.environment().getUrl())
.newBuilder()
.addPathSegments("v1/connect/tokens")
.addPathSegments("v1/connect")
.addPathSegment(clientOptions.projectId())
.addPathSegments("tokens")
.addPathSegment(ctok)
.addPathSegments("validate");
if (request.getParams().isPresent()) {
Expand Down
13 changes: 13 additions & 0 deletions src/main/java/com/pipedream/api/types/App.java
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,9 @@ public String getName() {
return name;
}

/**
* @return The authentication type used by the app
*/
@JsonProperty("auth_type")
public Optional<AppAuthType> getAuthType() {
return authType;
Expand Down Expand Up @@ -221,6 +224,9 @@ public interface _FinalStage {

_FinalStage id(String id);

/**
* <p>The authentication type used by the app</p>
*/
_FinalStage authType(Optional<AppAuthType> authType);

_FinalStage authType(AppAuthType authType);
Expand Down Expand Up @@ -408,12 +414,19 @@ public _FinalStage description(Optional<String> description) {
return this;
}

/**
* <p>The authentication type used by the app</p>
* @return Reference to {@code this} so that method calls can be chained together.
*/
@java.lang.Override
public _FinalStage authType(AppAuthType authType) {
this.authType = Optional.ofNullable(authType);
return this;
}

/**
* <p>The authentication type used by the app</p>
*/
@java.lang.Override
@JsonSetter(value = "auth_type", nulls = Nulls.SKIP)
public _FinalStage authType(Optional<AppAuthType> authType) {
Expand Down
13 changes: 13 additions & 0 deletions src/main/java/com/pipedream/api/types/Component.java
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,9 @@ public Optional<String> getComponentType() {
return componentType;
}

/**
* @return Indicates if a File Stash ID is optional or required to run the component
*/
@JsonProperty("stash")
public Optional<ComponentStash> getStash() {
return stash;
Expand Down Expand Up @@ -196,6 +199,9 @@ public interface _FinalStage {

_FinalStage componentType(String componentType);

/**
* <p>Indicates if a File Stash ID is optional or required to run the component</p>
*/
_FinalStage stash(Optional<ComponentStash> stash);

_FinalStage stash(ComponentStash stash);
Expand Down Expand Up @@ -270,12 +276,19 @@ public _FinalStage version(@NotNull String version) {
return this;
}

/**
* <p>Indicates if a File Stash ID is optional or required to run the component</p>
* @return Reference to {@code this} so that method calls can be chained together.
*/
@java.lang.Override
public _FinalStage stash(ComponentStash stash) {
this.stash = Optional.ofNullable(stash);
return this;
}

/**
* <p>Indicates if a File Stash ID is optional or required to run the component</p>
*/
@java.lang.Override
@JsonSetter(value = "stash", nulls = Nulls.SKIP)
public _FinalStage stash(Optional<ComponentStash> stash) {
Expand Down
Loading