Skip to content

Commit 72f106e

Browse files
committed
SDK regeneration
1 parent fd6995d commit 72f106e

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

48 files changed

+1104
-1833
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ Add the dependency in your `pom.xml` file:
2525
<dependency>
2626
<groupId>com.pipedream</groupId>
2727
<artifactId>pipedream</artifactId>
28-
<version>1.0.5</version>
28+
<version>1.0.6</version>
2929
</dependency>
3030
```
3131

build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ java {
4848

4949
group = 'com.pipedream'
5050

51-
version = '1.0.5'
51+
version = '1.0.6'
5252

5353
jar {
5454
dependsOn(":generatePomFileForMavenPublication")
@@ -79,7 +79,7 @@ publishing {
7979
maven(MavenPublication) {
8080
groupId = 'com.pipedream'
8181
artifactId = 'pipedream'
82-
version = '1.0.5'
82+
version = '1.0.6'
8383
from components.java
8484
pom {
8585
name = 'pipedream'

src/main/java/com/pipedream/api/core/ClientOptions.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,10 +35,10 @@ private ClientOptions(
3535
this.headers.putAll(headers);
3636
this.headers.putAll(new HashMap<String, String>() {
3737
{
38-
put("User-Agent", "com.pipedream:pipedream/1.0.5");
38+
put("User-Agent", "com.pipedream:pipedream/1.0.6");
3939
put("X-Fern-Language", "JAVA");
4040
put("X-Fern-SDK-Name", "com.pipedream.fern:api-sdk");
41-
put("X-Fern-SDK-Version", "1.0.5");
41+
put("X-Fern-SDK-Version", "1.0.6");
4242
}
4343
});
4444
this.headerSuppliers = headerSuppliers;

src/main/java/com/pipedream/api/resources/actions/requests/RunActionOpts.java

Lines changed: 21 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212
import com.fasterxml.jackson.annotation.Nulls;
1313
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
1414
import com.pipedream.api.core.ObjectMappers;
15-
import com.pipedream.api.types.ConfiguredPropValue;
1615
import com.pipedream.api.types.RunActionOptsStashId;
1716
import java.util.HashMap;
1817
import java.util.Map;
@@ -27,7 +26,7 @@ public final class RunActionOpts {
2726

2827
private final String externalUserId;
2928

30-
private final Optional<Map<String, ConfiguredPropValue>> configuredProps;
29+
private final Optional<Map<String, Object>> configuredProps;
3130

3231
private final Optional<String> dynamicPropsId;
3332

@@ -38,7 +37,7 @@ public final class RunActionOpts {
3837
private RunActionOpts(
3938
String id,
4039
String externalUserId,
41-
Optional<Map<String, ConfiguredPropValue>> configuredProps,
40+
Optional<Map<String, Object>> configuredProps,
4241
Optional<String> dynamicPropsId,
4342
Optional<RunActionOptsStashId> stashId,
4443
Map<String, Object> additionalProperties) {
@@ -66,8 +65,11 @@ public String getExternalUserId() {
6665
return externalUserId;
6766
}
6867

68+
/**
69+
* @return The configured properties for the action
70+
*/
6971
@JsonProperty("configured_props")
70-
public Optional<Map<String, ConfiguredPropValue>> getConfiguredProps() {
72+
public Optional<Map<String, Object>> getConfiguredProps() {
7173
return configuredProps;
7274
}
7375

@@ -136,9 +138,12 @@ public interface ExternalUserIdStage {
136138
public interface _FinalStage {
137139
RunActionOpts build();
138140

139-
_FinalStage configuredProps(Optional<Map<String, ConfiguredPropValue>> configuredProps);
141+
/**
142+
* <p>The configured properties for the action</p>
143+
*/
144+
_FinalStage configuredProps(Optional<Map<String, Object>> configuredProps);
140145

141-
_FinalStage configuredProps(Map<String, ConfiguredPropValue> configuredProps);
146+
_FinalStage configuredProps(Map<String, Object> configuredProps);
142147

143148
/**
144149
* <p>The ID for dynamic props</p>
@@ -162,7 +167,7 @@ public static final class Builder implements IdStage, ExternalUserIdStage, _Fina
162167

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

165-
private Optional<Map<String, ConfiguredPropValue>> configuredProps = Optional.empty();
170+
private Optional<Map<String, Object>> configuredProps = Optional.empty();
166171

167172
@JsonAnySetter
168173
private Map<String, Object> additionalProperties = new HashMap<>();
@@ -236,15 +241,22 @@ public _FinalStage dynamicPropsId(Optional<String> dynamicPropsId) {
236241
return this;
237242
}
238243

244+
/**
245+
* <p>The configured properties for the action</p>
246+
* @return Reference to {@code this} so that method calls can be chained together.
247+
*/
239248
@java.lang.Override
240-
public _FinalStage configuredProps(Map<String, ConfiguredPropValue> configuredProps) {
249+
public _FinalStage configuredProps(Map<String, Object> configuredProps) {
241250
this.configuredProps = Optional.ofNullable(configuredProps);
242251
return this;
243252
}
244253

254+
/**
255+
* <p>The configured properties for the action</p>
256+
*/
245257
@java.lang.Override
246258
@JsonSetter(value = "configured_props", nulls = Nulls.SKIP)
247-
public _FinalStage configuredProps(Optional<Map<String, ConfiguredPropValue>> configuredProps) {
259+
public _FinalStage configuredProps(Optional<Map<String, Object>> configuredProps) {
248260
this.configuredProps = configuredProps;
249261
return this;
250262
}

src/main/java/com/pipedream/api/resources/components/AsyncRawComponentsClient.java

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -88,10 +88,6 @@ public CompletableFuture<BaseClientHttpResponse<SyncPagingIterable<Component>>>
8888
if (request.getApp().isPresent()) {
8989
QueryStringMapper.addQueryParameter(httpUrl, "app", request.getApp().get(), false);
9090
}
91-
if (request.getComponentType().isPresent()) {
92-
QueryStringMapper.addQueryParameter(
93-
httpUrl, "component_type", request.getComponentType().get(), false);
94-
}
9591
Request.Builder _requestBuilder = new Request.Builder()
9692
.url(httpUrl.build())
9793
.method("GET", null)

src/main/java/com/pipedream/api/resources/components/RawComponentsClient.java

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -82,10 +82,6 @@ public BaseClientHttpResponse<SyncPagingIterable<Component>> list(
8282
if (request.getApp().isPresent()) {
8383
QueryStringMapper.addQueryParameter(httpUrl, "app", request.getApp().get(), false);
8484
}
85-
if (request.getComponentType().isPresent()) {
86-
QueryStringMapper.addQueryParameter(
87-
httpUrl, "component_type", request.getComponentType().get(), false);
88-
}
8985
Request.Builder _requestBuilder = new Request.Builder()
9086
.url(httpUrl.build())
9187
.method("GET", null)

src/main/java/com/pipedream/api/resources/components/requests/ComponentsListRequest.java

Lines changed: 3 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212
import com.fasterxml.jackson.annotation.Nulls;
1313
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
1414
import com.pipedream.api.core.ObjectMappers;
15-
import com.pipedream.api.types.ComponentType;
1615
import java.util.HashMap;
1716
import java.util.Map;
1817
import java.util.Objects;
@@ -31,8 +30,6 @@ public final class ComponentsListRequest {
3130

3231
private final Optional<String> app;
3332

34-
private final Optional<ComponentType> componentType;
35-
3633
private final Map<String, Object> additionalProperties;
3734

3835
private ComponentsListRequest(
@@ -41,14 +38,12 @@ private ComponentsListRequest(
4138
Optional<Integer> limit,
4239
Optional<String> q,
4340
Optional<String> app,
44-
Optional<ComponentType> componentType,
4541
Map<String, Object> additionalProperties) {
4642
this.after = after;
4743
this.before = before;
4844
this.limit = limit;
4945
this.q = q;
5046
this.app = app;
51-
this.componentType = componentType;
5247
this.additionalProperties = additionalProperties;
5348
}
5449

@@ -92,14 +87,6 @@ public Optional<String> getApp() {
9287
return app;
9388
}
9489

95-
/**
96-
* @return The type of the component to filter the components
97-
*/
98-
@JsonProperty("component_type")
99-
public Optional<ComponentType> getComponentType() {
100-
return componentType;
101-
}
102-
10390
@java.lang.Override
10491
public boolean equals(Object other) {
10592
if (this == other) return true;
@@ -116,13 +103,12 @@ private boolean equalTo(ComponentsListRequest other) {
116103
&& before.equals(other.before)
117104
&& limit.equals(other.limit)
118105
&& q.equals(other.q)
119-
&& app.equals(other.app)
120-
&& componentType.equals(other.componentType);
106+
&& app.equals(other.app);
121107
}
122108

123109
@java.lang.Override
124110
public int hashCode() {
125-
return Objects.hash(this.after, this.before, this.limit, this.q, this.app, this.componentType);
111+
return Objects.hash(this.after, this.before, this.limit, this.q, this.app);
126112
}
127113

128114
@java.lang.Override
@@ -146,8 +132,6 @@ public static final class Builder {
146132

147133
private Optional<String> app = Optional.empty();
148134

149-
private Optional<ComponentType> componentType = Optional.empty();
150-
151135
@JsonAnySetter
152136
private Map<String, Object> additionalProperties = new HashMap<>();
153137

@@ -159,7 +143,6 @@ public Builder from(ComponentsListRequest other) {
159143
limit(other.getLimit());
160144
q(other.getQ());
161145
app(other.getApp());
162-
componentType(other.getComponentType());
163146
return this;
164147
}
165148

@@ -233,22 +216,8 @@ public Builder app(String app) {
233216
return this;
234217
}
235218

236-
/**
237-
* <p>The type of the component to filter the components</p>
238-
*/
239-
@JsonSetter(value = "component_type", nulls = Nulls.SKIP)
240-
public Builder componentType(Optional<ComponentType> componentType) {
241-
this.componentType = componentType;
242-
return this;
243-
}
244-
245-
public Builder componentType(ComponentType componentType) {
246-
this.componentType = Optional.ofNullable(componentType);
247-
return this;
248-
}
249-
250219
public ComponentsListRequest build() {
251-
return new ComponentsListRequest(after, before, limit, q, app, componentType, additionalProperties);
220+
return new ComponentsListRequest(after, before, limit, q, app, additionalProperties);
252221
}
253222
}
254223
}

src/main/java/com/pipedream/api/resources/deployedtriggers/requests/UpdateTriggerOpts.java

Lines changed: 21 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212
import com.fasterxml.jackson.annotation.Nulls;
1313
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
1414
import com.pipedream.api.core.ObjectMappers;
15-
import com.pipedream.api.types.ConfiguredPropValue;
1615
import java.util.HashMap;
1716
import java.util.Map;
1817
import java.util.Objects;
@@ -26,7 +25,7 @@ public final class UpdateTriggerOpts {
2625

2726
private final Optional<Boolean> active;
2827

29-
private final Optional<Map<String, ConfiguredPropValue>> configuredProps;
28+
private final Optional<Map<String, Object>> configuredProps;
3029

3130
private final Optional<String> name;
3231

@@ -35,7 +34,7 @@ public final class UpdateTriggerOpts {
3534
private UpdateTriggerOpts(
3635
String externalUserId,
3736
Optional<Boolean> active,
38-
Optional<Map<String, ConfiguredPropValue>> configuredProps,
37+
Optional<Map<String, Object>> configuredProps,
3938
Optional<String> name,
4039
Map<String, Object> additionalProperties) {
4140
this.externalUserId = externalUserId;
@@ -61,8 +60,11 @@ public Optional<Boolean> getActive() {
6160
return active;
6261
}
6362

63+
/**
64+
* @return The configured properties for the trigger
65+
*/
6466
@JsonProperty("configured_props")
65-
public Optional<Map<String, ConfiguredPropValue>> getConfiguredProps() {
67+
public Optional<Map<String, Object>> getConfiguredProps() {
6668
return configuredProps;
6769
}
6870

@@ -125,9 +127,12 @@ public interface _FinalStage {
125127

126128
_FinalStage active(Boolean active);
127129

128-
_FinalStage configuredProps(Optional<Map<String, ConfiguredPropValue>> configuredProps);
130+
/**
131+
* <p>The configured properties for the trigger</p>
132+
*/
133+
_FinalStage configuredProps(Optional<Map<String, Object>> configuredProps);
129134

130-
_FinalStage configuredProps(Map<String, ConfiguredPropValue> configuredProps);
135+
_FinalStage configuredProps(Map<String, Object> configuredProps);
131136

132137
/**
133138
* <p>The name of the trigger</p>
@@ -143,7 +148,7 @@ public static final class Builder implements ExternalUserIdStage, _FinalStage {
143148

144149
private Optional<String> name = Optional.empty();
145150

146-
private Optional<Map<String, ConfiguredPropValue>> configuredProps = Optional.empty();
151+
private Optional<Map<String, Object>> configuredProps = Optional.empty();
147152

148153
private Optional<Boolean> active = Optional.empty();
149154

@@ -193,15 +198,22 @@ public _FinalStage name(Optional<String> name) {
193198
return this;
194199
}
195200

201+
/**
202+
* <p>The configured properties for the trigger</p>
203+
* @return Reference to {@code this} so that method calls can be chained together.
204+
*/
196205
@java.lang.Override
197-
public _FinalStage configuredProps(Map<String, ConfiguredPropValue> configuredProps) {
206+
public _FinalStage configuredProps(Map<String, Object> configuredProps) {
198207
this.configuredProps = Optional.ofNullable(configuredProps);
199208
return this;
200209
}
201210

211+
/**
212+
* <p>The configured properties for the trigger</p>
213+
*/
202214
@java.lang.Override
203215
@JsonSetter(value = "configured_props", nulls = Nulls.SKIP)
204-
public _FinalStage configuredProps(Optional<Map<String, ConfiguredPropValue>> configuredProps) {
216+
public _FinalStage configuredProps(Optional<Map<String, Object>> configuredProps) {
205217
this.configuredProps = configuredProps;
206218
return this;
207219
}

0 commit comments

Comments
 (0)