authType) {
- this.authType = authType;
- return this;
- }
-
- public Builder authType(HTTPAuthType authType) {
- this.authType = Optional.ofNullable(authType);
- return this;
- }
-
- public InvokeWorkflowOpts build() {
- return new InvokeWorkflowOpts(urlOrEndpoint, body, headers, method, authType);
- }
- }
-}
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/HTTPAuthType.java b/src/main/java/com/pipedream/api/types/HTTPAuthType.java
deleted file mode 100644
index d4e4d15..0000000
--- a/src/main/java/com/pipedream/api/types/HTTPAuthType.java
+++ /dev/null
@@ -1,42 +0,0 @@
-/**
- * This file was manually created to add workflow invocation support.
- */
-package com.pipedream.api.types;
-
-import com.fasterxml.jackson.annotation.JsonCreator;
-import com.fasterxml.jackson.annotation.JsonValue;
-
-/**
- * Authentication types for workflow invocation
- */
-public enum HTTPAuthType {
- NONE("none"),
- STATIC_BEARER("static_bearer_token"),
- OAUTH("oauth");
-
- private final String value;
-
- HTTPAuthType(String value) {
- this.value = value;
- }
-
- @JsonValue
- public String getValue() {
- return value;
- }
-
- @JsonCreator
- public static HTTPAuthType fromValue(String value) {
- for (HTTPAuthType type : HTTPAuthType.values()) {
- if (type.value.equals(value)) {
- return type;
- }
- }
- throw new IllegalArgumentException("Unknown HTTPAuthType: " + value);
- }
-
- @Override
- public String toString() {
- return value;
- }
-}
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