From 60d0fa0e748a0560306854db11de52bfb72dbf2e Mon Sep 17 00:00:00 2001 From: fern-api <115122769+fern-api[bot]@users.noreply.github.com> Date: Thu, 17 Jul 2025 23:25:48 +0000 Subject: [PATCH] SDK regeneration --- .gradle/8.14.3/checksums/checksums.lock | Bin 17 -> 17 bytes .gradle/8.14.3/checksums/md5-checksums.bin | Bin 21897 -> 21897 bytes .gradle/8.14.3/checksums/sha1-checksums.bin | Bin 25679 -> 25679 bytes .../executionHistory/executionHistory.bin | Bin 64263 -> 64263 bytes .../executionHistory/executionHistory.lock | Bin 17 -> 17 bytes .gradle/8.14.3/fileHashes/fileHashes.bin | Bin 35447 -> 35447 bytes .gradle/8.14.3/fileHashes/fileHashes.lock | Bin 17 -> 17 bytes .../buildOutputCleanup.lock | Bin 17 -> 17 bytes .gradle/buildOutputCleanup/cache.properties | 2 +- README.md | 2 +- build.gradle | 5 +- .../com/pipedream/api/core/ClientOptions.java | 2 +- .../api/core/InputStreamRequestBody.java | 7 +- .../java/com/pipedream/api/StreamTest.java | 4 +- reference.md | 2883 +++++++++++++++++ .../com/pipedream/api/core/ClientOptions.java | 2 +- .../api/core/InputStreamRequestBody.java | 7 +- .../java/com/pipedream/api/StreamTest.java | 4 +- 18 files changed, 2896 insertions(+), 22 deletions(-) create mode 100644 reference.md diff --git a/.gradle/8.14.3/checksums/checksums.lock b/.gradle/8.14.3/checksums/checksums.lock index 38e96d89f78807205719608480432b04f01b0623..3559036ba86a08dfcf92f96460a6243ed276e111 100644 GIT binary patch literal 17 UcmZQRb^1*}im&-?1_-zc06cC5Z2$lO literal 17 UcmZQ}KU6mD^6`%+7$D#(072XaK>z>% diff --git a/.gradle/8.14.3/checksums/md5-checksums.bin b/.gradle/8.14.3/checksums/md5-checksums.bin index 342eb417d117ae6658ba118976cd7a6281902396..29542c0219e3685731c0d187d22b144c479094ef 100644 GIT binary patch delta 1158 zcmYk4ZAep59LBqfXbrQnnmcn@NsSnF^MmD|J-Rj za-mN~HK5yMR2uQ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vy`g@D-A0m3gCM&I6}qxqt2U*WE1Kc~Oce-~49n>hrHjLWxoQ9?FgH zSJYO|)QAa}XH*r5;+feeHO3c0nnt?6ns2!a?mgBiOJdu`MtN>6kl}SRc*tIGCgq#Dgk*0&4oc;C??Lw4N`WVr+M2o+!$LXo?NUOj-1~p>t_rNLB>EX9 z*rvexN~lyYFeFDabyb5iTBnAfzFm)qZr%eJWOa{06oUQ!<_gTaSHNae)2cu<-P|vL z(>stGf^t0)Xuvf++>DcA;b17{3ebh38BvsS@$WqYqA=vu!<`)U7jPvM&E3O&`DS*) z@-XZ%0PDiA2aXIp4ny;T?(1CPWY%Z7NF24?f2%IZ`HzF9=6@fiU;HwDiTLj&R9Z+Mh5>`KP zYay5-(R<+bwmvD~tHOKod5#Oe2Oeym>}@WXp=%$g}?y@(vWY zAppz1<~4ofUx!|GPR+$i)} z_ouSlzIO{8VR;F3Mxp+91mK|Yw#{=g!BRGszy^&sKhLR=%wk^*qG&0~w}32~ff0=m zM6f3Y&Bu=hKcpXs#rh=hip31)7^r1g78I}y#}{=Bl(0Q;J*i1& zBkqs(;}y`$#w2i!$NN-JSR(_aS~S!6LNdGKU1*F)@18r)ep)ok_(F));<`fij2Fbe zpy#E6C0_b>z0*bL(4uD=Uj)yz3@8$C{WJD^;>xYd5*dh1L|kA42NRI5zyp>eHi+|R z%}=BZN33Ds#oB{9tgDAJI-GBWN4oz%TVAqButqnTpC@Q%pUdv58?>S`nkVQa&xy`o zk{<7y$$rL0=+vXR1kAKq2CMwziw?VLN{l++u6ZAXtUYpTNxWDc5|U#2|If6AZ9>PrW0G^ZyGv ChDkaA diff --git a/.gradle/8.14.3/executionHistory/executionHistory.bin b/.gradle/8.14.3/executionHistory/executionHistory.bin index 75f022abf37af489a616ebf96edcdd926dedbaf9..de0589103119ac66179336f34f476acb549f1ce7 100644 GIT binary patch delta 2570 zcmaLYcU)6h76)*i9NUA@_@pI(;;sEDjOy1I&js{;xMSon+usiLBI z7XeXm6}u=4j3_QB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E{7wrtV}PDRX@(Oe-Zvl< zx;UuEh)nG=hYN#qPiapUmtwg_jtS z72QIJ`wMXxQA+V!w*y=lMws*%kiWW3K>qg^2S^{mbZd_YS}4x+h}fJ_derDp+>lH2 zOi61G2SXSo_1b+IF2hR1VZ7e{`2w=Bmjg9M#HUvT{}v;z^xCuC2z={UGpWS(=~SY| zrnD1S)9rHv358pq5MoXu!uoLYQe-1WC~Epda3=zx*FP6pD3lkrD1|ZBBQBcd;U>c@i%py9NI<^*#6fa2 zF5dsik$sI2i)#7!vhsMvCxxFlc3>>Z;p00&@yd{Bus!<}wtuCb57iW_)Xr>t3|)85 zh(0UDMkHO$vCqb$7pC}nVczHyiJF66j7Y0`He|&jzSh`*lwyTO2oZ6J!y0G!gW`e4 z9NH-q8vL!N5t9e3p^9ShfDlffK?Dxi!gGon12$|ALM)1*Lyo*RB>e*%+=#~-J2($o zDV7Why#C3H4F9yvW}~}v%E=Vjv*q|N5`66H3zeVqea&}g-BMlL9Wgqsx+{Em^g*A# z$?f(*=Nj6z$SNuJ_uU7}=DNNLKl^A>7)IX&T&;E)*{-v%us>r_rbV(=WRQ1YP*S-u zsTgzs=~+DGvxdQ=8A+D(+W0P? zdCRwkV;b}iVH7oOx4<*RHKDj*o#AHBQ94GX!CmS2lqDS#Csdg8b{oycNX3*S813a2 z>dyP&$>!Vb))+C%+)e-C80-2=-Cld1YQ;K?ZWx=3mOYUc8ypLg>kd92#VD>>&;N@L WCP#mqkj>@rb@puqMoa7V>Hh-AKRG7= diff --git a/.gradle/8.14.3/executionHistory/executionHistory.lock b/.gradle/8.14.3/executionHistory/executionHistory.lock index 442192978a3e96620c5711ff75bf21d940f8bdf3..803f780f8dde8379afc6e668f28c29ab837c67d6 100644 GIT binary patch literal 17 UcmZQJn3)@ROnmxD1_)pW04LtXbXb`Z>mA;=q>@vw(j!5TOO zbH9B0&b3(x6X#;9xCG_FK1mi`kV;-^Pr}=eKBm*#o!_H9ZI?RQxNN z#3>jPO8Lwg2nh9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3Nc|E--}6yX}8EYXgkT` z&`B&76L)YxObFy#^$5Nnm^h}81aZ(*=8JKue4_C+u84_GO}&-i#d5#jCT6k84Xqf0q!{H* zqsCJSTPk@68Ddm_HfS79t=O|QkHzp71Q$viZ(coC<`$YY_speOa^a^qTxe_J=)v8> zJ|-;2|3j00`!XqF{|Btlco$XbbZ)7kv|lFUGa0T%vP7+-Ozc-dy%-Zg+vUcA`$-gI znzB&i%j^^T1#?wR!DofUg~W=HcbO~p_GYiTi?7wOG+Sx%y$Tqh#*-uVEM=$0CpjmE zhVn{$t1}Tr#;|rwFEU#y%;DZrLGN&3q6Jrx*-~LCoR*rmF7QmJ|dlNc@6Sbs|M# zpMOv-_8rJ=wTh0#QrC%*V&8lU#oqtKDfY3`AV$YwS!;}XLXtSJ35&$&W9-*Bmg^c9 u(W*qo=MXPO9VcJx@h3{fuvdJeeu?)w$I05b~&SO5S3 literal 17 TcmZQBVp!dBEFs>J0Rn^pD(nM( diff --git a/.gradle/buildOutputCleanup/cache.properties b/.gradle/buildOutputCleanup/cache.properties index e022fa9..8480c0b 100644 --- a/.gradle/buildOutputCleanup/cache.properties +++ b/.gradle/buildOutputCleanup/cache.properties @@ -1,2 +1,2 @@ -#Thu Jul 17 22:51:20 UTC 2025 +#Thu Jul 17 23:24:55 UTC 2025 gradle.version=8.14.3 diff --git a/README.md b/README.md index 02a0dc5..dc0abff 100644 --- a/README.md +++ b/README.md @@ -25,7 +25,7 @@ Add the dependency in your `pom.xml` file: com.pipedream pipedream - 0.0.193 + 0.0.202 ``` diff --git a/build.gradle b/build.gradle index 444545a..75c5832 100644 --- a/build.gradle +++ b/build.gradle @@ -18,6 +18,7 @@ dependencies { api 'com.fasterxml.jackson.core:jackson-databind:2.17.2' api 'com.fasterxml.jackson.datatype:jackson-datatype-jdk8:2.17.2' api 'com.fasterxml.jackson.datatype:jackson-datatype-jsr310:2.17.2' + api 'org.apache.commons:commons-text:1.11.0' testImplementation 'org.junit.jupiter:junit-jupiter-api:5.8.2' testImplementation 'org.junit.jupiter:junit-jupiter-engine:5.8.2' } @@ -46,7 +47,7 @@ java { group = 'com.pipedream' -version = '0.0.193' +version = '0.0.202' jar { dependsOn(":generatePomFileForMavenPublication") @@ -77,7 +78,7 @@ publishing { maven(MavenPublication) { groupId = 'com.pipedream' artifactId = 'pipedream' - version = '0.0.193' + version = '0.0.202' from components.java pom { name = 'pipedream' diff --git a/build/spotless/spotlessJava/src/main/java/com/pipedream/api/core/ClientOptions.java b/build/spotless/spotlessJava/src/main/java/com/pipedream/api/core/ClientOptions.java index 2282eda..5424c0d 100644 --- a/build/spotless/spotlessJava/src/main/java/com/pipedream/api/core/ClientOptions.java +++ b/build/spotless/spotlessJava/src/main/java/com/pipedream/api/core/ClientOptions.java @@ -37,7 +37,7 @@ private ClientOptions( { put("X-Fern-Language", "JAVA"); put("X-Fern-SDK-Name", "com.pipedream.fern:api-sdk"); - put("X-Fern-SDK-Version", "0.0.193"); + put("X-Fern-SDK-Version", "0.0.202"); } }); this.headerSuppliers = headerSuppliers; diff --git a/build/spotless/spotlessJava/src/main/java/com/pipedream/api/core/InputStreamRequestBody.java b/build/spotless/spotlessJava/src/main/java/com/pipedream/api/core/InputStreamRequestBody.java index a91bea5..82c8f4f 100644 --- a/build/spotless/spotlessJava/src/main/java/com/pipedream/api/core/InputStreamRequestBody.java +++ b/build/spotless/spotlessJava/src/main/java/com/pipedream/api/core/InputStreamRequestBody.java @@ -8,7 +8,6 @@ import java.util.Objects; import okhttp3.MediaType; import okhttp3.RequestBody; -import okhttp3.internal.Util; import okio.BufferedSink; import okio.Okio; import okio.Source; @@ -68,12 +67,8 @@ public long contentLength() throws IOException { */ @Override public void writeTo(BufferedSink sink) throws IOException { - Source source = null; - try { - source = Okio.source(inputStream); + try (Source source = Okio.source(inputStream)) { sink.writeAll(source); - } finally { - Util.closeQuietly(Objects.requireNonNull(source)); } } } diff --git a/build/spotless/spotlessJava/src/test/java/com/pipedream/api/StreamTest.java b/build/spotless/spotlessJava/src/test/java/com/pipedream/api/StreamTest.java index a0f9ca9..57130cb 100644 --- a/build/spotless/spotlessJava/src/test/java/com/pipedream/api/StreamTest.java +++ b/build/spotless/spotlessJava/src/test/java/com/pipedream/api/StreamTest.java @@ -18,7 +18,7 @@ public final class StreamTest { @Test public void testJsonStream() { List messages = List.of(Map.of("message", "hello"), Map.of("message", "world")); - List jsonStrings = messages.stream().map(StreamTest::mapToJson).toList(); + List jsonStrings = messages.stream().map(StreamTest::mapToJson).collect(Collectors.toList()); String input = String.join("\n", jsonStrings); StringReader jsonInput = new StringReader(input); Stream jsonStream = Stream.fromJson(Map.class, jsonInput); @@ -34,7 +34,7 @@ public void testJsonStream() { @Test public void testSseStream() { List events = List.of(Map.of("event", "start"), Map.of("event", "end")); - List sseStrings = events.stream().map(StreamTest::mapToSse).toList(); + List sseStrings = events.stream().map(StreamTest::mapToSse).collect(Collectors.toList()); String input = String.join("\n" + "\n", sseStrings); StringReader sseInput = new StringReader(input); Stream sseStream = Stream.fromSse(Map.class, sseInput); diff --git a/reference.md b/reference.md new file mode 100644 index 0000000..d4f2874 --- /dev/null +++ b/reference.md @@ -0,0 +1,2883 @@ +# Reference +## AppCategories +
client.appCategories.list() -> List<AppCategory> +
+
+ +#### 🔌 Usage + +
+
+ +
+
+ +```java +client.appCategories().list(); +``` +
+
+
+
+ + +
+
+
+ +
client.appCategories.retrieve(id) -> AppCategory +
+
+ +#### 🔌 Usage + +
+
+ +
+
+ +```java +client.appCategories().retrieve("id"); +``` +
+
+
+
+ +#### ⚙️ Parameters + +
+
+ +
+
+ +**id:** `String` — The ID of the app category to retrieve + +
+
+
+
+ + +
+
+
+ +## Apps +
client.apps.list() -> ListAppsResponse +
+
+ +#### 🔌 Usage + +
+
+ +
+
+ +```java +client.apps().list( + AppsListRequest + .builder() + .build() +); +``` +
+
+
+
+ +#### ⚙️ Parameters + +
+
+ +
+
+ +**after:** `Optional` — The cursor to start from for pagination + +
+
+ +
+
+ +**before:** `Optional` — The cursor to end before for pagination + +
+
+ +
+
+ +**limit:** `Optional` — The maximum number of results to return + +
+
+ +
+
+ +**q:** `Optional` — A search query to filter the apps + +
+
+ +
+
+ +**sortKey:** `Optional` — The key to sort the apps by + +
+
+ +
+
+ +**sortDirection:** `Optional` — The direction to sort the apps + +
+
+ +
+
+ +**categoryIds:** `Optional` — Only return apps in these categories + +
+
+
+
+ + +
+
+
+ +
client.apps.retrieve(appId) -> GetAppResponse +
+
+ +#### 🔌 Usage + +
+
+ +
+
+ +```java +client.apps().retrieve("app_id"); +``` +
+
+
+
+ +#### ⚙️ Parameters + +
+
+ +
+
+ +**appId:** `String` — The name slug or ID of the app (e.g., 'slack', 'github') + +
+
+
+
+ + +
+
+
+ +## Accounts +
client.accounts.list(projectId) -> ListAccountsResponse +
+
+ +#### 🔌 Usage + +
+
+ +
+
+ +```java +client.accounts().list( + "project_id", + AccountsListRequest + .builder() + .build() +); +``` +
+
+
+
+ +#### ⚙️ Parameters + +
+
+ +
+
+ +**projectId:** `String` — The project ID, which starts with 'proj_'. + +
+
+ +
+
+ +**appId:** `Optional` — The app slug or ID to filter accounts by. + +
+
+ +
+
+ +**externalUserId:** `Optional` + +
+
+ +
+
+ +**oauthAppId:** `Optional` — The OAuth app ID to filter by, if applicable + +
+
+ +
+
+ +**after:** `Optional` — The cursor to start from for pagination + +
+
+ +
+
+ +**before:** `Optional` — The cursor to end before for pagination + +
+
+ +
+
+ +**limit:** `Optional` — The maximum number of results to return + +
+
+ +
+
+ +**includeCredentials:** `Optional` — Whether to retrieve the account's credentials or not + +
+
+
+
+ + +
+
+
+ +
client.accounts.create(projectId, request) -> Account +
+
+ +#### 🔌 Usage + +
+
+ +
+
+ +```java +client.accounts().create( + "project_id", + CreateAccountRequest + .builder() + .appSlug("app_slug") + .build() +); +``` +
+
+
+
+ +#### ⚙️ Parameters + +
+
+ +
+
+ +**projectId:** `String` — The project ID, which starts with 'proj_'. + +
+
+ +
+
+ +**appId:** `Optional` — The app slug or ID to filter accounts by. + +
+
+ +
+
+ +**externalUserId:** `Optional` + +
+
+ +
+
+ +**oauthAppId:** `Optional` — The OAuth app ID to filter by, if applicable + +
+
+ +
+
+ +**appSlug:** `String` — The app slug for the account + +
+
+ +
+
+ +**cfmapJson:** `Optional` — JSON string containing the custom fields mapping + +
+
+ +
+
+ +**name:** `Optional` — Optional name for the account + +
+
+
+
+ + +
+
+
+ +
client.accounts.retrieve(projectId, accountId) -> Account +
+
+ +#### 🔌 Usage + +
+
+ +
+
+ +```java +client.accounts().retrieve( + "project_id", + "account_id", + AccountsRetrieveRequest + .builder() + .build() +); +``` +
+
+
+
+ +#### ⚙️ Parameters + +
+
+ +
+
+ +**projectId:** `String` — The project ID, which starts with 'proj_'. + +
+
+ +
+
+ +**accountId:** `String` + +
+
+ +
+
+ +**includeCredentials:** `Optional` — Whether to retrieve the account's credentials or not + +
+
+
+
+ + +
+
+
+ +
client.accounts.delete(projectId, accountId) +
+
+ +#### 🔌 Usage + +
+
+ +
+
+ +```java +client.accounts().delete("project_id", "account_id"); +``` +
+
+
+
+ +#### ⚙️ Parameters + +
+
+ +
+
+ +**projectId:** `String` — The project ID, which starts with 'proj_'. + +
+
+ +
+
+ +**accountId:** `String` + +
+
+
+
+ + +
+
+
+ +
client.accounts.deleteByApp(projectId, appId) +
+
+ +#### 🔌 Usage + +
+
+ +
+
+ +```java +client.accounts().deleteByApp("project_id", "app_id"); +``` +
+
+
+
+ +#### ⚙️ Parameters + +
+
+ +
+
+ +**projectId:** `String` — The project ID, which starts with 'proj_'. + +
+
+ +
+
+ +**appId:** `String` + +
+
+
+
+ + +
+
+
+ +## Users +
client.users.deleteExternalUser(projectId, externalUserId) +
+
+ +#### 🔌 Usage + +
+
+ +
+
+ +```java +client.users().deleteExternalUser("project_id", "external_user_id"); +``` +
+
+
+
+ +#### ⚙️ Parameters + +
+
+ +
+
+ +**projectId:** `String` — The project ID, which starts with 'proj_'. + +
+
+ +
+
+ +**externalUserId:** `String` + +
+
+
+
+ + +
+
+
+ +## Components +
client.components.list(projectId) -> GetComponentsResponse +
+
+ +#### 🔌 Usage + +
+
+ +
+
+ +```java +client.components().list( + "project_id", + ComponentsListRequest + .builder() + .build() +); +``` +
+
+
+
+ +#### ⚙️ Parameters + +
+
+ +
+
+ +**projectId:** `String` — The project ID, which starts with 'proj_'. + +
+
+ +
+
+ +**after:** `Optional` — The cursor to start from for pagination + +
+
+ +
+
+ +**before:** `Optional` — The cursor to end before for pagination + +
+
+ +
+
+ +**limit:** `Optional` — The maximum number of results to return + +
+
+ +
+
+ +**q:** `Optional` — A search query to filter the components + +
+
+ +
+
+ +**app:** `Optional` — The ID or name slug of the app to filter the components + +
+
+
+
+ + +
+
+
+ +
client.components.retrieve(projectId, componentId) -> GetComponentResponse +
+
+ +#### 🔌 Usage + +
+
+ +
+
+ +```java +client.components().retrieve("project_id", "component_id"); +``` +
+
+
+
+ +#### ⚙️ Parameters + +
+
+ +
+
+ +**projectId:** `String` — The project ID, which starts with 'proj_'. + +
+
+ +
+
+ +**componentId:** `String` — The key that uniquely identifies the component (e.g., 'slack-send-message') + +
+
+
+
+ + +
+
+
+ +
client.components.configureProp(projectId, request) -> ConfigurePropResponse +
+
+ +#### 🔌 Usage + +
+
+ +
+
+ +```java +client.components().configureProp( + "project_id", + ComponentsConfigurePropRequest + .builder() + .body( + ConfigurePropOpts + .builder() + .id("id") + .externalUserId("external_user_id") + .propName("prop_name") + .build() + ) + .build() +); +``` +
+
+
+
+ +#### ⚙️ Parameters + +
+
+ +
+
+ +**projectId:** `String` — The project ID, which starts with 'proj_'. + +
+
+ +
+
+ +**asyncHandle:** `Optional` + +
+
+ +
+
+ +**request:** `ConfigurePropOpts` + +
+
+
+
+ + +
+
+
+ +
client.components.reloadProps(projectId, request) -> ReloadPropsResponse +
+
+ +#### 🔌 Usage + +
+
+ +
+
+ +```java +client.components().reloadProps( + "project_id", + ComponentsReloadPropsRequest + .builder() + .body( + ReloadPropsOpts + .builder() + .id("id") + .externalUserId("external_user_id") + .build() + ) + .build() +); +``` +
+
+
+
+ +#### ⚙️ Parameters + +
+
+ +
+
+ +**projectId:** `String` — The project ID, which starts with 'proj_'. + +
+
+ +
+
+ +**asyncHandle:** `Optional` + +
+
+ +
+
+ +**request:** `ReloadPropsOpts` + +
+
+
+
+ + +
+
+
+ +## Actions +
client.actions.list(projectId) -> GetComponentsResponse +
+
+ +#### 🔌 Usage + +
+
+ +
+
+ +```java +client.actions().list( + "project_id", + ActionsListRequest + .builder() + .build() +); +``` +
+
+
+
+ +#### ⚙️ Parameters + +
+
+ +
+
+ +**projectId:** `String` — The project ID, which starts with 'proj_'. + +
+
+ +
+
+ +**after:** `Optional` — The cursor to start from for pagination + +
+
+ +
+
+ +**before:** `Optional` — The cursor to end before for pagination + +
+
+ +
+
+ +**limit:** `Optional` — The maximum number of results to return + +
+
+ +
+
+ +**q:** `Optional` — A search query to filter the actions + +
+
+ +
+
+ +**app:** `Optional` — The ID or name slug of the app to filter the actions + +
+
+
+
+ + +
+
+
+ +
client.actions.retrieve(projectId, componentId) -> GetComponentResponse +
+
+ +#### 🔌 Usage + +
+
+ +
+
+ +```java +client.actions().retrieve("project_id", "component_id"); +``` +
+
+
+
+ +#### ⚙️ Parameters + +
+
+ +
+
+ +**projectId:** `String` — The project ID, which starts with 'proj_'. + +
+
+ +
+
+ +**componentId:** `String` — The key that uniquely identifies the component (e.g., 'slack-send-message') + +
+
+
+
+ + +
+
+
+ +
client.actions.configureProp(projectId, request) -> ConfigurePropResponse +
+
+ +#### 🔌 Usage + +
+
+ +
+
+ +```java +client.actions().configureProp( + "project_id", + ActionsConfigurePropRequest + .builder() + .body( + ConfigurePropOpts + .builder() + .id("id") + .externalUserId("external_user_id") + .propName("prop_name") + .build() + ) + .build() +); +``` +
+
+
+
+ +#### ⚙️ Parameters + +
+
+ +
+
+ +**projectId:** `String` — The project ID, which starts with 'proj_'. + +
+
+ +
+
+ +**asyncHandle:** `Optional` + +
+
+ +
+
+ +**request:** `ConfigurePropOpts` + +
+
+
+
+ + +
+
+
+ +
client.actions.reloadProps(projectId, request) -> ReloadPropsResponse +
+
+ +#### 🔌 Usage + +
+
+ +
+
+ +```java +client.actions().reloadProps( + "project_id", + ActionsReloadPropsRequest + .builder() + .body( + ReloadPropsOpts + .builder() + .id("id") + .externalUserId("external_user_id") + .build() + ) + .build() +); +``` +
+
+
+
+ +#### ⚙️ Parameters + +
+
+ +
+
+ +**projectId:** `String` — The project ID, which starts with 'proj_'. + +
+
+ +
+
+ +**asyncHandle:** `Optional` + +
+
+ +
+
+ +**request:** `ReloadPropsOpts` + +
+
+
+
+ + +
+
+
+ +
client.actions.run(projectId, request) -> RunActionResponse +
+
+ +#### 🔌 Usage + +
+
+ +
+
+ +```java +client.actions().run( + "project_id", + RunActionOpts + .builder() + .id("id") + .externalUserId("external_user_id") + .build() +); +``` +
+
+
+
+ +#### ⚙️ Parameters + +
+
+ +
+
+ +**projectId:** `String` — The project ID, which starts with 'proj_'. + +
+
+ +
+
+ +**asyncHandle:** `Optional` + +
+
+ +
+
+ +**id:** `String` — The action component ID + +
+
+ +
+
+ +**externalUserId:** `String` — The external user ID + +
+
+ +
+
+ +**configuredProps:** `Optional>` — The configured properties for the action + +
+
+ +
+
+ +**dynamicPropsId:** `Optional` — The ID for dynamic props + +
+
+
+
+ + +
+
+
+ +## Triggers +
client.triggers.list(projectId) -> GetComponentsResponse +
+
+ +#### 🔌 Usage + +
+
+ +
+
+ +```java +client.triggers().list( + "project_id", + TriggersListRequest + .builder() + .build() +); +``` +
+
+
+
+ +#### ⚙️ Parameters + +
+
+ +
+
+ +**projectId:** `String` — The project ID, which starts with 'proj_'. + +
+
+ +
+
+ +**after:** `Optional` — The cursor to start from for pagination + +
+
+ +
+
+ +**before:** `Optional` — The cursor to end before for pagination + +
+
+ +
+
+ +**limit:** `Optional` — The maximum number of results to return + +
+
+ +
+
+ +**q:** `Optional` — A search query to filter the triggers + +
+
+ +
+
+ +**app:** `Optional` — The ID or name slug of the app to filter the triggers + +
+
+
+
+ + +
+
+
+ +
client.triggers.retrieve(projectId, componentId) -> GetComponentResponse +
+
+ +#### 🔌 Usage + +
+
+ +
+
+ +```java +client.triggers().retrieve("project_id", "component_id"); +``` +
+
+
+
+ +#### ⚙️ Parameters + +
+
+ +
+
+ +**projectId:** `String` — The project ID, which starts with 'proj_'. + +
+
+ +
+
+ +**componentId:** `String` — The key that uniquely identifies the component (e.g., 'slack-send-message') + +
+
+
+
+ + +
+
+
+ +
client.triggers.configureProp(projectId, request) -> ConfigurePropResponse +
+
+ +#### 🔌 Usage + +
+
+ +
+
+ +```java +client.triggers().configureProp( + "project_id", + TriggersConfigurePropRequest + .builder() + .body( + ConfigurePropOpts + .builder() + .id("id") + .externalUserId("external_user_id") + .propName("prop_name") + .build() + ) + .build() +); +``` +
+
+
+
+ +#### ⚙️ Parameters + +
+
+ +
+
+ +**projectId:** `String` — The project ID, which starts with 'proj_'. + +
+
+ +
+
+ +**asyncHandle:** `Optional` + +
+
+ +
+
+ +**request:** `ConfigurePropOpts` + +
+
+
+
+ + +
+
+
+ +
client.triggers.reloadProps(projectId, request) -> ReloadPropsResponse +
+
+ +#### 🔌 Usage + +
+
+ +
+
+ +```java +client.triggers().reloadProps( + "project_id", + TriggersReloadPropsRequest + .builder() + .body( + ReloadPropsOpts + .builder() + .id("id") + .externalUserId("external_user_id") + .build() + ) + .build() +); +``` +
+
+
+
+ +#### ⚙️ Parameters + +
+
+ +
+
+ +**projectId:** `String` — The project ID, which starts with 'proj_'. + +
+
+ +
+
+ +**asyncHandle:** `Optional` + +
+
+ +
+
+ +**request:** `ReloadPropsOpts` + +
+
+
+
+ + +
+
+
+ +
client.triggers.deploy(projectId, request) -> DeployTriggerResponse +
+
+ +#### 🔌 Usage + +
+
+ +
+
+ +```java +client.triggers().deploy( + "project_id", + DeployTriggerOpts + .builder() + .id("id") + .externalUserId("external_user_id") + .build() +); +``` +
+
+
+
+ +#### ⚙️ Parameters + +
+
+ +
+
+ +**projectId:** `String` — The project ID, which starts with 'proj_'. + +
+
+ +
+
+ +**id:** `String` — The trigger component ID + +
+
+ +
+
+ +**externalUserId:** `String` — The external user ID + +
+
+ +
+
+ +**configuredProps:** `Optional>` — The configured properties for the trigger + +
+
+ +
+
+ +**dynamicPropsId:** `Optional` — The ID for dynamic props + +
+
+ +
+
+ +**webhookUrl:** `Optional` — Optional webhook URL to receive trigger events + +
+
+
+
+ + +
+
+
+ +## DeployedTriggers +
client.deployedTriggers.list(projectId) -> GetTriggersResponse +
+
+ +#### 🔌 Usage + +
+
+ +
+
+ +```java +client.deployedTriggers().list( + "project_id", + DeployedTriggersListRequest + .builder() + .externalUserId("external_user_id") + .build() +); +``` +
+
+
+
+ +#### ⚙️ Parameters + +
+
+ +
+
+ +**projectId:** `String` — The project ID, which starts with 'proj_'. + +
+
+ +
+
+ +**after:** `Optional` — The cursor to start from for pagination + +
+
+ +
+
+ +**before:** `Optional` — The cursor to end before for pagination + +
+
+ +
+
+ +**limit:** `Optional` — The maximum number of results to return + +
+
+ +
+
+ +**externalUserId:** `String` — Your end user ID, for whom you deployed the trigger + +
+
+
+
+ + +
+
+
+ +
client.deployedTriggers.retrieve(projectId, triggerId) -> GetTriggerResponse +
+
+ +#### 🔌 Usage + +
+
+ +
+
+ +```java +client.deployedTriggers().retrieve( + "project_id", + "trigger_id", + DeployedTriggersRetrieveRequest + .builder() + .externalUserId("external_user_id") + .build() +); +``` +
+
+
+
+ +#### ⚙️ Parameters + +
+
+ +
+
+ +**projectId:** `String` — The project ID, which starts with 'proj_'. + +
+
+ +
+
+ +**triggerId:** `String` + +
+
+ +
+
+ +**externalUserId:** `String` — Your end user ID, for whom you deployed the trigger + +
+
+
+
+ + +
+
+
+ +
client.deployedTriggers.update(projectId, triggerId, request) -> GetTriggerResponse +
+
+ +#### 🔌 Usage + +
+
+ +
+
+ +```java +client.deployedTriggers().update( + "project_id", + "trigger_id", + UpdateTriggerOpts + .builder() + .externalUserId("external_user_id") + .build() +); +``` +
+
+
+
+ +#### ⚙️ Parameters + +
+
+ +
+
+ +**projectId:** `String` — The project ID, which starts with 'proj_'. + +
+
+ +
+
+ +**triggerId:** `String` + +
+
+ +
+
+ +**externalUserId:** `String` — The external user ID who owns the trigger + +
+
+ +
+
+ +**active:** `Optional` — Whether the trigger should be active + +
+
+ +
+
+ +**configuredProps:** `Optional>` — The configured properties for the trigger + +
+
+ +
+
+ +**name:** `Optional` — The name of the trigger + +
+
+
+
+ + +
+
+
+ +
client.deployedTriggers.delete(projectId, triggerId) +
+
+ +#### 🔌 Usage + +
+
+ +
+
+ +```java +client.deployedTriggers().delete( + "project_id", + "trigger_id", + DeployedTriggersDeleteRequest + .builder() + .externalUserId("external_user_id") + .build() +); +``` +
+
+
+
+ +#### ⚙️ Parameters + +
+
+ +
+
+ +**projectId:** `String` — The project ID, which starts with 'proj_'. + +
+
+ +
+
+ +**triggerId:** `String` + +
+
+ +
+
+ +**externalUserId:** `String` — The external user ID who owns the trigger + +
+
+ +
+
+ +**ignoreHookErrors:** `Optional` — Whether to ignore errors during deactivation hook + +
+
+
+
+ + +
+
+
+ +
client.deployedTriggers.listEvents(projectId, triggerId) -> GetTriggerEventsResponse +
+
+ +#### 🔌 Usage + +
+
+ +
+
+ +```java +client.deployedTriggers().listEvents( + "project_id", + "trigger_id", + DeployedTriggersListEventsRequest + .builder() + .externalUserId("external_user_id") + .build() +); +``` +
+
+
+
+ +#### ⚙️ Parameters + +
+
+ +
+
+ +**projectId:** `String` — The project ID, which starts with 'proj_'. + +
+
+ +
+
+ +**triggerId:** `String` + +
+
+ +
+
+ +**externalUserId:** `String` — Your end user ID, for whom you deployed the trigger + +
+
+ +
+
+ +**n:** `Optional` — The number of events to retrieve (defaults to 20 if not provided) + +
+
+
+
+ + +
+
+
+ +
client.deployedTriggers.listWorkflows(projectId, triggerId) -> GetTriggerWorkflowsResponse +
+
+ +#### 🔌 Usage + +
+
+ +
+
+ +```java +client.deployedTriggers().listWorkflows( + "project_id", + "trigger_id", + DeployedTriggersListWorkflowsRequest + .builder() + .externalUserId("external_user_id") + .build() +); +``` +
+
+
+
+ +#### ⚙️ Parameters + +
+
+ +
+
+ +**projectId:** `String` — The project ID, which starts with 'proj_'. + +
+
+ +
+
+ +**triggerId:** `String` + +
+
+ +
+
+ +**externalUserId:** `String` — The external user ID who owns the trigger + +
+
+
+
+ + +
+
+
+ +
client.deployedTriggers.updateWorkflows(projectId, triggerId, request) -> GetTriggerWorkflowsResponse +
+
+ +#### 🔌 Usage + +
+
+ +
+
+ +```java +client.deployedTriggers().updateWorkflows( + "project_id", + "trigger_id", + UpdateTriggerWorkflowsOpts + .builder() + .externalUserId("external_user_id") + .workflowIds( + new ArrayList( + Arrays.asList("workflow_ids") + ) + ) + .build() +); +``` +
+
+
+
+ +#### ⚙️ Parameters + +
+
+ +
+
+ +**projectId:** `String` — The project ID, which starts with 'proj_'. + +
+
+ +
+
+ +**triggerId:** `String` + +
+
+ +
+
+ +**externalUserId:** `String` — The external user ID who owns the trigger + +
+
+ +
+
+ +**workflowIds:** `List` — Array of workflow IDs to set + +
+
+
+
+ + +
+
+
+ +
client.deployedTriggers.listWebhooks(projectId, triggerId) -> GetTriggerWebhooksResponse +
+
+ +#### 🔌 Usage + +
+
+ +
+
+ +```java +client.deployedTriggers().listWebhooks( + "project_id", + "trigger_id", + DeployedTriggersListWebhooksRequest + .builder() + .externalUserId("external_user_id") + .build() +); +``` +
+
+
+
+ +#### ⚙️ Parameters + +
+
+ +
+
+ +**projectId:** `String` — The project ID, which starts with 'proj_'. + +
+
+ +
+
+ +**triggerId:** `String` + +
+
+ +
+
+ +**externalUserId:** `String` — The external user ID who owns the trigger + +
+
+
+
+ + +
+
+
+ +
client.deployedTriggers.updateWebhooks(projectId, triggerId, request) -> GetTriggerWebhooksResponse +
+
+ +#### 🔌 Usage + +
+
+ +
+
+ +```java +client.deployedTriggers().updateWebhooks( + "project_id", + "trigger_id", + UpdateTriggerWebhooksOpts + .builder() + .externalUserId("external_user_id") + .webhookUrls( + new ArrayList( + Arrays.asList("webhook_urls") + ) + ) + .build() +); +``` +
+
+
+
+ +#### ⚙️ Parameters + +
+
+ +
+
+ +**projectId:** `String` — The project ID, which starts with 'proj_'. + +
+
+ +
+
+ +**triggerId:** `String` + +
+
+ +
+
+ +**externalUserId:** `String` — The external user ID who owns the trigger + +
+
+ +
+
+ +**webhookUrls:** `List` — Array of webhook URLs to set + +
+
+
+
+ + +
+
+
+ +## Projects +
client.projects.retrieveInfo(projectId) -> ProjectInfoResponse +
+
+ +#### 🔌 Usage + +
+
+ +
+
+ +```java +client.projects().retrieveInfo("project_id"); +``` +
+
+
+
+ +#### ⚙️ Parameters + +
+
+ +
+
+ +**projectId:** `String` — The project ID, which starts with 'proj_'. + +
+
+
+
+ + +
+
+
+ +## Proxy +
client.proxy.get(projectId, url64) -> Map<String, Object> +
+
+ +#### 🔌 Usage + +
+
+ +
+
+ +```java +client.proxy().get( + "project_id", + "url_64", + ProxyGetRequest + .builder() + .externalUserId("external_user_id") + .accountId("account_id") + .build() +); +``` +
+
+
+
+ +#### ⚙️ Parameters + +
+
+ +
+
+ +**projectId:** `String` — The project ID, which starts with 'proj_'. + +
+
+ +
+
+ +**url64:** `String` — Base64-encoded target URL + +
+
+ +
+
+ +**externalUserId:** `String` — The external user ID for the proxy request + +
+
+ +
+
+ +**accountId:** `String` — The account ID to use for authentication + +
+
+
+
+ + +
+
+
+ +
client.proxy.post(projectId, url64, request) -> Map<String, Object> +
+
+ +#### 🔌 Usage + +
+
+ +
+
+ +```java +client.proxy().post( + "project_id", + "url_64", + ProxyPostRequest + .builder() + .externalUserId("external_user_id") + .accountId("account_id") + .body( + new HashMap() {{ + put("key", "value"); + }} + ) + .build() +); +``` +
+
+
+
+ +#### ⚙️ Parameters + +
+
+ +
+
+ +**projectId:** `String` — The project ID, which starts with 'proj_'. + +
+
+ +
+
+ +**url64:** `String` — Base64-encoded target URL + +
+
+ +
+
+ +**externalUserId:** `String` — The external user ID for the proxy request + +
+
+ +
+
+ +**accountId:** `String` — The account ID to use for authentication + +
+
+ +
+
+ +**request:** `Map` — Request body to forward to the target API + +
+
+
+
+ + +
+
+
+ +
client.proxy.put(projectId, url64, request) -> Map<String, Object> +
+
+ +#### 🔌 Usage + +
+
+ +
+
+ +```java +client.proxy().put( + "project_id", + "url_64", + ProxyPutRequest + .builder() + .externalUserId("external_user_id") + .accountId("account_id") + .body( + new HashMap() {{ + put("key", "value"); + }} + ) + .build() +); +``` +
+
+
+
+ +#### ⚙️ Parameters + +
+
+ +
+
+ +**projectId:** `String` — The project ID, which starts with 'proj_'. + +
+
+ +
+
+ +**url64:** `String` — Base64-encoded target URL + +
+
+ +
+
+ +**externalUserId:** `String` — The external user ID for the proxy request + +
+
+ +
+
+ +**accountId:** `String` — The account ID to use for authentication + +
+
+ +
+
+ +**request:** `Map` — Request body to forward to the target API + +
+
+
+
+ + +
+
+
+ +
client.proxy.delete(projectId, url64) -> Map<String, Object> +
+
+ +#### 🔌 Usage + +
+
+ +
+
+ +```java +client.proxy().delete( + "project_id", + "url_64", + ProxyDeleteRequest + .builder() + .externalUserId("external_user_id") + .accountId("account_id") + .build() +); +``` +
+
+
+
+ +#### ⚙️ Parameters + +
+
+ +
+
+ +**projectId:** `String` — The project ID, which starts with 'proj_'. + +
+
+ +
+
+ +**url64:** `String` — Base64-encoded target URL + +
+
+ +
+
+ +**externalUserId:** `String` — The external user ID for the proxy request + +
+
+ +
+
+ +**accountId:** `String` — The account ID to use for authentication + +
+
+
+
+ + +
+
+
+ +
client.proxy.patch(projectId, url64, request) -> Map<String, Object> +
+
+ +#### 🔌 Usage + +
+
+ +
+
+ +```java +client.proxy().patch( + "project_id", + "url_64", + ProxyPatchRequest + .builder() + .externalUserId("external_user_id") + .accountId("account_id") + .body( + new HashMap() {{ + put("key", "value"); + }} + ) + .build() +); +``` +
+
+
+
+ +#### ⚙️ Parameters + +
+
+ +
+
+ +**projectId:** `String` — The project ID, which starts with 'proj_'. + +
+
+ +
+
+ +**url64:** `String` — Base64-encoded target URL + +
+
+ +
+
+ +**externalUserId:** `String` — The external user ID for the proxy request + +
+
+ +
+
+ +**accountId:** `String` — The account ID to use for authentication + +
+
+ +
+
+ +**request:** `Map` — Request body to forward to the target API + +
+
+
+
+ + +
+
+
+ +## Tokens +
client.tokens.create(request) -> CreateTokenResponse +
+
+ +#### 🔌 Usage + +
+
+ +
+
+ +```java +client.tokens().create( + CreateTokenRequest + .builder() + .externalUserId("external_user_id") + .projectId("project_id") + .build() +); +``` +
+
+
+
+ +#### ⚙️ Parameters + +
+
+ +
+
+ +**allowedOrigins:** `Optional>` — List of allowed origins for CORS + +
+
+ +
+
+ +**errorRedirectUri:** `Optional` — URI to redirect to on error + +
+
+ +
+
+ +**externalUserId:** `String` — Your end user ID, for whom you're creating the token + +
+
+ +
+
+ +**projectId:** `String` — The ID of the project + +
+
+ +
+
+ +**successRedirectUri:** `Optional` — URI to redirect to on success + +
+
+ +
+
+ +**webhookUri:** `Optional` — Webhook URI for notifications + +
+
+
+
+ + +
+
+
+ +
client.tokens.validate(ctok) -> ValidateTokenResponse +
+
+ +#### 🔌 Usage + +
+
+ +
+
+ +```java +client.tokens().validate( + "ctok", + TokensValidateRequest + .builder() + .build() +); +``` +
+
+
+
+ +#### ⚙️ Parameters + +
+
+ +
+
+ +**ctok:** `String` + +
+
+ +
+
+ +**params:** `Optional` + +
+
+
+
+ + +
+
+
+ +## OauthTokens +
client.oauthTokens.create(request) -> CreateOAuthTokenResponse +
+
+ +#### 🔌 Usage + +
+
+ +
+
+ +```java +client.oauthTokens().create( + CreateOAuthTokenOpts + .builder() + .grantType("client_credentials") + .clientId("client_id") + .clientSecret("client_secret") + .build() +); +``` +
+
+
+
+ +#### ⚙️ Parameters + +
+
+ +
+
+ +**grantType:** `String` + +
+
+ +
+
+ +**clientId:** `String` + +
+
+ +
+
+ +**clientSecret:** `String` + +
+
+
+
+ + +
+
+
diff --git a/src/main/java/com/pipedream/api/core/ClientOptions.java b/src/main/java/com/pipedream/api/core/ClientOptions.java index 2282eda..5424c0d 100644 --- a/src/main/java/com/pipedream/api/core/ClientOptions.java +++ b/src/main/java/com/pipedream/api/core/ClientOptions.java @@ -37,7 +37,7 @@ private ClientOptions( { put("X-Fern-Language", "JAVA"); put("X-Fern-SDK-Name", "com.pipedream.fern:api-sdk"); - put("X-Fern-SDK-Version", "0.0.193"); + put("X-Fern-SDK-Version", "0.0.202"); } }); this.headerSuppliers = headerSuppliers; diff --git a/src/main/java/com/pipedream/api/core/InputStreamRequestBody.java b/src/main/java/com/pipedream/api/core/InputStreamRequestBody.java index a91bea5..82c8f4f 100644 --- a/src/main/java/com/pipedream/api/core/InputStreamRequestBody.java +++ b/src/main/java/com/pipedream/api/core/InputStreamRequestBody.java @@ -8,7 +8,6 @@ import java.util.Objects; import okhttp3.MediaType; import okhttp3.RequestBody; -import okhttp3.internal.Util; import okio.BufferedSink; import okio.Okio; import okio.Source; @@ -68,12 +67,8 @@ public long contentLength() throws IOException { */ @Override public void writeTo(BufferedSink sink) throws IOException { - Source source = null; - try { - source = Okio.source(inputStream); + try (Source source = Okio.source(inputStream)) { sink.writeAll(source); - } finally { - Util.closeQuietly(Objects.requireNonNull(source)); } } } diff --git a/src/test/java/com/pipedream/api/StreamTest.java b/src/test/java/com/pipedream/api/StreamTest.java index a0f9ca9..57130cb 100644 --- a/src/test/java/com/pipedream/api/StreamTest.java +++ b/src/test/java/com/pipedream/api/StreamTest.java @@ -18,7 +18,7 @@ public final class StreamTest { @Test public void testJsonStream() { List messages = List.of(Map.of("message", "hello"), Map.of("message", "world")); - List jsonStrings = messages.stream().map(StreamTest::mapToJson).toList(); + List jsonStrings = messages.stream().map(StreamTest::mapToJson).collect(Collectors.toList()); String input = String.join("\n", jsonStrings); StringReader jsonInput = new StringReader(input); Stream jsonStream = Stream.fromJson(Map.class, jsonInput); @@ -34,7 +34,7 @@ public void testJsonStream() { @Test public void testSseStream() { List events = List.of(Map.of("event", "start"), Map.of("event", "end")); - List sseStrings = events.stream().map(StreamTest::mapToSse).toList(); + List sseStrings = events.stream().map(StreamTest::mapToSse).collect(Collectors.toList()); String input = String.join("\n" + "\n", sseStrings); StringReader sseInput = new StringReader(input); Stream sseStream = Stream.fromSse(Map.class, sseInput);