From a563478b74310fe9c891988bb7d6bc535bb54490 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Fri, 5 Dec 2025 02:41:38 +0000 Subject: [PATCH 1/2] feat(api): api update --- .stats.yml | 4 ++-- .../pendingtransactions/PendingTransactionCreateParams.kt | 6 +++--- .../api/services/async/PendingTransactionServiceAsync.kt | 6 +++--- .../api/services/blocking/PendingTransactionService.kt | 6 +++--- 4 files changed, 11 insertions(+), 11 deletions(-) diff --git a/.stats.yml b/.stats.yml index 5c11eef91..9130f4384 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 229 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/increase%2Fincrease-d3646347697623deab851a220ce4b217e923bde3b3108af9eceb4da6df0534e2.yml -openapi_spec_hash: 516fabeef616c695941d3a4aa4051f76 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/increase%2Fincrease-979679fb897563997cb8d20590ac73729287354524a0c2579f4dfd41fa8b63d9.yml +openapi_spec_hash: 22eae96401c4a0de1d135e18133924d1 config_hash: b6f365add90e618b2174634df140826e diff --git a/increase-java-core/src/main/kotlin/com/increase/api/models/pendingtransactions/PendingTransactionCreateParams.kt b/increase-java-core/src/main/kotlin/com/increase/api/models/pendingtransactions/PendingTransactionCreateParams.kt index da4f1d36c..42050acf7 100644 --- a/increase-java-core/src/main/kotlin/com/increase/api/models/pendingtransactions/PendingTransactionCreateParams.kt +++ b/increase-java-core/src/main/kotlin/com/increase/api/models/pendingtransactions/PendingTransactionCreateParams.kt @@ -21,9 +21,9 @@ import java.util.Optional /** * Creates a pending transaction on an account. This can be useful to hold funds for an external - * payment or known future transaction outside of Increase. The resulting Pending Transaction will - * have a `category` of `user_initiated_hold` and can be released via the API to unlock the held - * funds. + * payment or known future transaction outside of Increase (only negative amounts are supported). + * The resulting Pending Transaction will have a `category` of `user_initiated_hold` and can be + * released via the API to unlock the held funds. */ class PendingTransactionCreateParams private constructor( diff --git a/increase-java-core/src/main/kotlin/com/increase/api/services/async/PendingTransactionServiceAsync.kt b/increase-java-core/src/main/kotlin/com/increase/api/services/async/PendingTransactionServiceAsync.kt index 89147a5a6..d174d64d3 100644 --- a/increase-java-core/src/main/kotlin/com/increase/api/services/async/PendingTransactionServiceAsync.kt +++ b/increase-java-core/src/main/kotlin/com/increase/api/services/async/PendingTransactionServiceAsync.kt @@ -30,9 +30,9 @@ interface PendingTransactionServiceAsync { /** * Creates a pending transaction on an account. This can be useful to hold funds for an external - * payment or known future transaction outside of Increase. The resulting Pending Transaction - * will have a `category` of `user_initiated_hold` and can be released via the API to unlock the - * held funds. + * payment or known future transaction outside of Increase (only negative amounts are + * supported). The resulting Pending Transaction will have a `category` of `user_initiated_hold` + * and can be released via the API to unlock the held funds. */ fun create(params: PendingTransactionCreateParams): CompletableFuture = create(params, RequestOptions.none()) diff --git a/increase-java-core/src/main/kotlin/com/increase/api/services/blocking/PendingTransactionService.kt b/increase-java-core/src/main/kotlin/com/increase/api/services/blocking/PendingTransactionService.kt index ed95d6335..e6babc5b1 100644 --- a/increase-java-core/src/main/kotlin/com/increase/api/services/blocking/PendingTransactionService.kt +++ b/increase-java-core/src/main/kotlin/com/increase/api/services/blocking/PendingTransactionService.kt @@ -30,9 +30,9 @@ interface PendingTransactionService { /** * Creates a pending transaction on an account. This can be useful to hold funds for an external - * payment or known future transaction outside of Increase. The resulting Pending Transaction - * will have a `category` of `user_initiated_hold` and can be released via the API to unlock the - * held funds. + * payment or known future transaction outside of Increase (only negative amounts are + * supported). The resulting Pending Transaction will have a `category` of `user_initiated_hold` + * and can be released via the API to unlock the held funds. */ fun create(params: PendingTransactionCreateParams): PendingTransaction = create(params, RequestOptions.none()) From fcf8b342a9a6e8c931a12033bae6ec8ed4a36c5c Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Fri, 5 Dec 2025 02:42:09 +0000 Subject: [PATCH 2/2] release: 0.373.0 --- .release-please-manifest.json | 2 +- CHANGELOG.md | 8 ++++++++ README.md | 10 +++++----- build.gradle.kts | 2 +- 4 files changed, 15 insertions(+), 7 deletions(-) diff --git a/.release-please-manifest.json b/.release-please-manifest.json index 9a91926af..211b9f1a0 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,3 +1,3 @@ { - ".": "0.372.0" + ".": "0.373.0" } \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md index 6c1ee97fd..d9f5cd0de 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,13 @@ # Changelog +## 0.373.0 (2025-12-05) + +Full Changelog: [v0.372.0...v0.373.0](https://github.com/Increase/increase-java/compare/v0.372.0...v0.373.0) + +### Features + +* **api:** api update ([a563478](https://github.com/Increase/increase-java/commit/a563478b74310fe9c891988bb7d6bc535bb54490)) + ## 0.372.0 (2025-12-04) Full Changelog: [v0.371.0...v0.372.0](https://github.com/Increase/increase-java/compare/v0.371.0...v0.372.0) diff --git a/README.md b/README.md index 1a4d02638..d726f805c 100644 --- a/README.md +++ b/README.md @@ -2,8 +2,8 @@ -[![Maven Central](https://img.shields.io/maven-central/v/com.increase.api/increase-java)](https://central.sonatype.com/artifact/com.increase.api/increase-java/0.372.0) -[![javadoc](https://javadoc.io/badge2/com.increase.api/increase-java/0.372.0/javadoc.svg)](https://javadoc.io/doc/com.increase.api/increase-java/0.372.0) +[![Maven Central](https://img.shields.io/maven-central/v/com.increase.api/increase-java)](https://central.sonatype.com/artifact/com.increase.api/increase-java/0.373.0) +[![javadoc](https://javadoc.io/badge2/com.increase.api/increase-java/0.373.0/javadoc.svg)](https://javadoc.io/doc/com.increase.api/increase-java/0.373.0) @@ -13,7 +13,7 @@ The Increase Java SDK is similar to the Increase Kotlin SDK but with minor diffe -The REST API documentation can be found on [increase.com](https://increase.com/documentation). Javadocs are available on [javadoc.io](https://javadoc.io/doc/com.increase.api/increase-java/0.372.0). +The REST API documentation can be found on [increase.com](https://increase.com/documentation). Javadocs are available on [javadoc.io](https://javadoc.io/doc/com.increase.api/increase-java/0.373.0). @@ -24,7 +24,7 @@ The REST API documentation can be found on [increase.com](https://increase.com/d ### Gradle ```kotlin -implementation("com.increase.api:increase-java:0.372.0") +implementation("com.increase.api:increase-java:0.373.0") ``` ### Maven @@ -33,7 +33,7 @@ implementation("com.increase.api:increase-java:0.372.0") com.increase.api increase-java - 0.372.0 + 0.373.0 ``` diff --git a/build.gradle.kts b/build.gradle.kts index a46178b99..eb385a9a1 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -8,7 +8,7 @@ repositories { allprojects { group = "com.increase.api" - version = "0.372.0" // x-release-please-version + version = "0.373.0" // x-release-please-version } subprojects {