diff --git a/.release-please-manifest.json b/.release-please-manifest.json
index 32ac2e3af..7478ed0a4 100644
--- a/.release-please-manifest.json
+++ b/.release-please-manifest.json
@@ -1,3 +1,3 @@
{
- ".": "0.431.0"
+ ".": "0.432.0"
}
\ No newline at end of file
diff --git a/.stats.yml b/.stats.yml
index 9bcba9df2..9cbf59fe9 100644
--- a/.stats.yml
+++ b/.stats.yml
@@ -1,4 +1,4 @@
configured_endpoints: 232
-openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/increase%2Fincrease-1127bb6ee64bebab1bbf8ecbd9ec71c0deb5ca8552fd454fa2ec120fd9eac14a.yml
-openapi_spec_hash: 9fedc9dc133202e4d39bf7bffe4839d9
+openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/increase%2Fincrease-7da80155087dd9d883acaa10229e34ed5a3097f884c77b5f28c4c76a62b82432.yml
+openapi_spec_hash: c5050ba45eb587316583060c1efef8a8
config_hash: 4b562e97b3d8b4cba758a87d4927a76d
diff --git a/CHANGELOG.md b/CHANGELOG.md
index d565ddb64..ab1d6283f 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,5 +1,19 @@
# Changelog
+## 0.432.0 (2026-02-18)
+
+Full Changelog: [v0.431.0...v0.432.0](https://github.com/Increase/increase-java/compare/v0.431.0...v0.432.0)
+
+### Features
+
+* **api:** api update ([22a662d](https://github.com/Increase/increase-java/commit/22a662d82f09741e4361a702210763ccd076730d))
+
+
+### Chores
+
+* **internal:** remove unnecessary base URL ([7c309fb](https://github.com/Increase/increase-java/commit/7c309fb93123e67c60271753f5248e6fb9a34622))
+* **internal:** update `TestServerExtension` comment ([680d244](https://github.com/Increase/increase-java/commit/680d244bb1753465a3629aa51d15e51b885ea67a))
+
## 0.431.0 (2026-02-14)
Full Changelog: [v0.430.0...v0.431.0](https://github.com/Increase/increase-java/compare/v0.430.0...v0.431.0)
diff --git a/README.md b/README.md
index 6d81eda43..8ecd2ee7a 100644
--- a/README.md
+++ b/README.md
@@ -2,8 +2,8 @@
-[](https://central.sonatype.com/artifact/com.increase.api/increase-java/0.431.0)
-[](https://javadoc.io/doc/com.increase.api/increase-java/0.431.0)
+[](https://central.sonatype.com/artifact/com.increase.api/increase-java/0.432.0)
+[](https://javadoc.io/doc/com.increase.api/increase-java/0.432.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.431.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.432.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.431.0")
+implementation("com.increase.api:increase-java:0.432.0")
```
### Maven
@@ -33,7 +33,7 @@ implementation("com.increase.api:increase-java:0.431.0")
com.increase.api
increase-java
- 0.431.0
+ 0.432.0
```
diff --git a/build.gradle.kts b/build.gradle.kts
index 276321b12..5143529bd 100644
--- a/build.gradle.kts
+++ b/build.gradle.kts
@@ -8,7 +8,7 @@ repositories {
allprojects {
group = "com.increase.api"
- version = "0.431.0" // x-release-please-version
+ version = "0.432.0" // x-release-please-version
}
subprojects {
diff --git a/increase-java-core/src/main/kotlin/com/increase/api/models/simulations/checkdeposits/CheckDepositSubmitParams.kt b/increase-java-core/src/main/kotlin/com/increase/api/models/simulations/checkdeposits/CheckDepositSubmitParams.kt
index 732ea0f7b..37953a942 100644
--- a/increase-java-core/src/main/kotlin/com/increase/api/models/simulations/checkdeposits/CheckDepositSubmitParams.kt
+++ b/increase-java-core/src/main/kotlin/com/increase/api/models/simulations/checkdeposits/CheckDepositSubmitParams.kt
@@ -2,11 +2,20 @@
package com.increase.api.models.simulations.checkdeposits
+import com.fasterxml.jackson.annotation.JsonAnyGetter
+import com.fasterxml.jackson.annotation.JsonAnySetter
+import com.fasterxml.jackson.annotation.JsonCreator
+import com.fasterxml.jackson.annotation.JsonProperty
+import com.increase.api.core.ExcludeMissing
+import com.increase.api.core.JsonField
+import com.increase.api.core.JsonMissing
import com.increase.api.core.JsonValue
import com.increase.api.core.Params
+import com.increase.api.core.checkRequired
import com.increase.api.core.http.Headers
import com.increase.api.core.http.QueryParams
-import com.increase.api.core.toImmutable
+import com.increase.api.errors.IncreaseInvalidDataException
+import java.util.Collections
import java.util.Objects
import java.util.Optional
import kotlin.jvm.optionals.getOrNull
@@ -18,16 +27,30 @@ import kotlin.jvm.optionals.getOrNull
class CheckDepositSubmitParams
private constructor(
private val checkDepositId: String?,
+ private val body: Body,
private val additionalHeaders: Headers,
private val additionalQueryParams: QueryParams,
- private val additionalBodyProperties: Map,
) : Params {
/** The identifier of the Check Deposit you wish to submit. */
fun checkDepositId(): Optional = Optional.ofNullable(checkDepositId)
- /** Additional body properties to send with the request. */
- fun _additionalBodyProperties(): Map = additionalBodyProperties
+ /**
+ * If set, the simulation will use these values for the check's scanned MICR data.
+ *
+ * @throws IncreaseInvalidDataException if the JSON field has an unexpected type (e.g. if the
+ * server responded with an unexpected value).
+ */
+ fun scan(): Optional = body.scan()
+
+ /**
+ * Returns the raw JSON value of [scan].
+ *
+ * Unlike [scan], this method doesn't throw if the JSON field has an unexpected type.
+ */
+ fun _scan(): JsonField = body._scan()
+
+ fun _additionalBodyProperties(): Map = body._additionalProperties()
/** Additional headers to send with the request. */
fun _additionalHeaders(): Headers = additionalHeaders
@@ -49,17 +72,16 @@ private constructor(
class Builder internal constructor() {
private var checkDepositId: String? = null
+ private var body: Body.Builder = Body.builder()
private var additionalHeaders: Headers.Builder = Headers.builder()
private var additionalQueryParams: QueryParams.Builder = QueryParams.builder()
- private var additionalBodyProperties: MutableMap = mutableMapOf()
@JvmSynthetic
internal fun from(checkDepositSubmitParams: CheckDepositSubmitParams) = apply {
checkDepositId = checkDepositSubmitParams.checkDepositId
+ body = checkDepositSubmitParams.body.toBuilder()
additionalHeaders = checkDepositSubmitParams.additionalHeaders.toBuilder()
additionalQueryParams = checkDepositSubmitParams.additionalQueryParams.toBuilder()
- additionalBodyProperties =
- checkDepositSubmitParams.additionalBodyProperties.toMutableMap()
}
/** The identifier of the Check Deposit you wish to submit. */
@@ -69,6 +91,45 @@ private constructor(
fun checkDepositId(checkDepositId: Optional) =
checkDepositId(checkDepositId.getOrNull())
+ /**
+ * Sets the entire request body.
+ *
+ * This is generally only useful if you are already constructing the body separately.
+ * Otherwise, it's more convenient to use the top-level setters instead:
+ * - [scan]
+ */
+ fun body(body: Body) = apply { this.body = body.toBuilder() }
+
+ /** If set, the simulation will use these values for the check's scanned MICR data. */
+ fun scan(scan: Scan) = apply { body.scan(scan) }
+
+ /**
+ * Sets [Builder.scan] to an arbitrary JSON value.
+ *
+ * You should usually call [Builder.scan] with a well-typed [Scan] value instead. This
+ * method is primarily for setting the field to an undocumented or not yet supported value.
+ */
+ fun scan(scan: JsonField) = apply { body.scan(scan) }
+
+ fun additionalBodyProperties(additionalBodyProperties: Map) = apply {
+ body.additionalProperties(additionalBodyProperties)
+ }
+
+ fun putAdditionalBodyProperty(key: String, value: JsonValue) = apply {
+ body.putAdditionalProperty(key, value)
+ }
+
+ fun putAllAdditionalBodyProperties(additionalBodyProperties: Map) =
+ apply {
+ body.putAllAdditionalProperties(additionalBodyProperties)
+ }
+
+ fun removeAdditionalBodyProperty(key: String) = apply { body.removeAdditionalProperty(key) }
+
+ fun removeAllAdditionalBodyProperties(keys: Set) = apply {
+ body.removeAllAdditionalProperties(keys)
+ }
+
fun additionalHeaders(additionalHeaders: Headers) = apply {
this.additionalHeaders.clear()
putAllAdditionalHeaders(additionalHeaders)
@@ -167,28 +228,6 @@ private constructor(
additionalQueryParams.removeAll(keys)
}
- fun additionalBodyProperties(additionalBodyProperties: Map) = apply {
- this.additionalBodyProperties.clear()
- putAllAdditionalBodyProperties(additionalBodyProperties)
- }
-
- fun putAdditionalBodyProperty(key: String, value: JsonValue) = apply {
- additionalBodyProperties.put(key, value)
- }
-
- fun putAllAdditionalBodyProperties(additionalBodyProperties: Map) =
- apply {
- this.additionalBodyProperties.putAll(additionalBodyProperties)
- }
-
- fun removeAdditionalBodyProperty(key: String) = apply {
- additionalBodyProperties.remove(key)
- }
-
- fun removeAllAdditionalBodyProperties(keys: Set) = apply {
- keys.forEach(::removeAdditionalBodyProperty)
- }
-
/**
* Returns an immutable instance of [CheckDepositSubmitParams].
*
@@ -197,14 +236,13 @@ private constructor(
fun build(): CheckDepositSubmitParams =
CheckDepositSubmitParams(
checkDepositId,
+ body.build(),
additionalHeaders.build(),
additionalQueryParams.build(),
- additionalBodyProperties.toImmutable(),
)
}
- fun _body(): Optional