diff --git a/.release-please-manifest.json b/.release-please-manifest.json
index 120888c9f..e4c7212c2 100644
--- a/.release-please-manifest.json
+++ b/.release-please-manifest.json
@@ -1,3 +1,3 @@
{
- ".": "0.464.0"
+ ".": "0.465.0"
}
\ No newline at end of file
diff --git a/.stats.yml b/.stats.yml
index 47e153f66..84bf4fe96 100644
--- a/.stats.yml
+++ b/.stats.yml
@@ -1,4 +1,4 @@
configured_endpoints: 237
-openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/increase%2Fincrease-aceacff825bf677100a4d4554b2b3dad7ba442bbe26bc7f18b4153c54c3624e8.yml
-openapi_spec_hash: 7fa7a382bd4d1db423b5345a8535d23b
+openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/increase%2Fincrease-1a8ae6b4ff6276a68a103dca4c701c77d409afe3f08ef8435adb3527e1385ce7.yml
+openapi_spec_hash: d56da3ae77306aec4c8530fba0dfe053
config_hash: 896b006f9647a513eda3b228cf17c199
diff --git a/CHANGELOG.md b/CHANGELOG.md
index c2d5f7010..a4dcfd6dc 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,5 +1,13 @@
# Changelog
+## 0.465.0 (2026-03-12)
+
+Full Changelog: [v0.464.0...v0.465.0](https://github.com/Increase/increase-java/compare/v0.464.0...v0.465.0)
+
+### Features
+
+* **api:** api update ([e050493](https://github.com/Increase/increase-java/commit/e0504931ec94c6e7ecc69fa9e1260bc394b4ab43))
+
## 0.464.0 (2026-03-11)
Full Changelog: [v0.463.0...v0.464.0](https://github.com/Increase/increase-java/compare/v0.463.0...v0.464.0)
diff --git a/README.md b/README.md
index 32ddb8184..97ac023a7 100644
--- a/README.md
+++ b/README.md
@@ -2,8 +2,8 @@
-[](https://central.sonatype.com/artifact/com.increase.api/increase-java/0.464.0)
-[](https://javadoc.io/doc/com.increase.api/increase-java/0.464.0)
+[](https://central.sonatype.com/artifact/com.increase.api/increase-java/0.465.0)
+[](https://javadoc.io/doc/com.increase.api/increase-java/0.465.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.464.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.465.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.464.0")
+implementation("com.increase.api:increase-java:0.465.0")
```
### Maven
@@ -33,7 +33,7 @@ implementation("com.increase.api:increase-java:0.464.0")
com.increase.api
increase-java
- 0.464.0
+ 0.465.0
```
diff --git a/build.gradle.kts b/build.gradle.kts
index c7dffaa26..1bad46486 100644
--- a/build.gradle.kts
+++ b/build.gradle.kts
@@ -8,7 +8,7 @@ repositories {
allprojects {
group = "com.increase.api"
- version = "0.464.0" // x-release-please-version
+ version = "0.465.0" // x-release-please-version
}
subprojects {
diff --git a/increase-java-core/src/main/kotlin/com/increase/api/models/beneficialowners/BeneficialOwnerUpdateParams.kt b/increase-java-core/src/main/kotlin/com/increase/api/models/beneficialowners/BeneficialOwnerUpdateParams.kt
index 89ceb50ba..5ffead266 100644
--- a/increase-java-core/src/main/kotlin/com/increase/api/models/beneficialowners/BeneficialOwnerUpdateParams.kt
+++ b/increase-java-core/src/main/kotlin/com/increase/api/models/beneficialowners/BeneficialOwnerUpdateParams.kt
@@ -61,6 +61,14 @@ private constructor(
*/
fun identification(): Optional = body.identification()
+ /**
+ * The individual's legal name.
+ *
+ * @throws IncreaseInvalidDataException if the JSON field has an unexpected type (e.g. if the
+ * server responded with an unexpected value).
+ */
+ fun name(): Optional = body.name()
+
/**
* Returns the raw JSON value of [address].
*
@@ -83,6 +91,13 @@ private constructor(
*/
fun _identification(): JsonField = body._identification()
+ /**
+ * Returns the raw JSON value of [name].
+ *
+ * Unlike [name], this method doesn't throw if the JSON field has an unexpected type.
+ */
+ fun _name(): JsonField = body._name()
+
fun _additionalBodyProperties(): Map = body._additionalProperties()
/** Additional headers to send with the request. */
@@ -139,6 +154,7 @@ private constructor(
* - [address]
* - [confirmedNoUsTaxId]
* - [identification]
+ * - [name]
*/
fun body(body: Body) = apply { this.body = body.toBuilder() }
@@ -192,6 +208,17 @@ private constructor(
body.identification(identification)
}
+ /** The individual's legal name. */
+ fun name(name: String) = apply { body.name(name) }
+
+ /**
+ * Sets [Builder.name] to an arbitrary JSON value.
+ *
+ * You should usually call [Builder.name] with a well-typed [String] value instead. This
+ * method is primarily for setting the field to an undocumented or not yet supported value.
+ */
+ fun name(name: JsonField) = apply { body.name(name) }
+
fun additionalBodyProperties(additionalBodyProperties: Map) = apply {
body.additionalProperties(additionalBodyProperties)
}
@@ -341,6 +368,7 @@ private constructor(
private val address: JsonField,
private val confirmedNoUsTaxId: JsonField,
private val identification: JsonField,
+ private val name: JsonField,
private val additionalProperties: MutableMap,
) {
@@ -353,7 +381,8 @@ private constructor(
@JsonProperty("identification")
@ExcludeMissing
identification: JsonField = JsonMissing.of(),
- ) : this(address, confirmedNoUsTaxId, identification, mutableMapOf())
+ @JsonProperty("name") @ExcludeMissing name: JsonField = JsonMissing.of(),
+ ) : this(address, confirmedNoUsTaxId, identification, name, mutableMapOf())
/**
* The individual's physical address. Mail receiving locations like PO Boxes and PMB's are
@@ -384,6 +413,14 @@ private constructor(
fun identification(): Optional =
identification.getOptional("identification")
+ /**
+ * The individual's legal name.
+ *
+ * @throws IncreaseInvalidDataException if the JSON field has an unexpected type (e.g. if
+ * the server responded with an unexpected value).
+ */
+ fun name(): Optional = name.getOptional("name")
+
/**
* Returns the raw JSON value of [address].
*
@@ -411,6 +448,13 @@ private constructor(
@ExcludeMissing
fun _identification(): JsonField = identification
+ /**
+ * Returns the raw JSON value of [name].
+ *
+ * Unlike [name], this method doesn't throw if the JSON field has an unexpected type.
+ */
+ @JsonProperty("name") @ExcludeMissing fun _name(): JsonField = name
+
@JsonAnySetter
private fun putAdditionalProperty(key: String, value: JsonValue) {
additionalProperties.put(key, value)
@@ -435,6 +479,7 @@ private constructor(
private var address: JsonField = JsonMissing.of()
private var confirmedNoUsTaxId: JsonField = JsonMissing.of()
private var identification: JsonField = JsonMissing.of()
+ private var name: JsonField = JsonMissing.of()
private var additionalProperties: MutableMap = mutableMapOf()
@JvmSynthetic
@@ -442,6 +487,7 @@ private constructor(
address = body.address
confirmedNoUsTaxId = body.confirmedNoUsTaxId
identification = body.identification
+ name = body.name
additionalProperties = body.additionalProperties.toMutableMap()
}
@@ -494,6 +540,18 @@ private constructor(
this.identification = identification
}
+ /** The individual's legal name. */
+ fun name(name: String) = name(JsonField.of(name))
+
+ /**
+ * Sets [Builder.name] to an arbitrary JSON value.
+ *
+ * You should usually call [Builder.name] with a well-typed [String] value instead. This
+ * method is primarily for setting the field to an undocumented or not yet supported
+ * value.
+ */
+ fun name(name: JsonField) = apply { this.name = name }
+
fun additionalProperties(additionalProperties: Map) = apply {
this.additionalProperties.clear()
putAllAdditionalProperties(additionalProperties)
@@ -523,6 +581,7 @@ private constructor(
address,
confirmedNoUsTaxId,
identification,
+ name,
additionalProperties.toMutableMap(),
)
}
@@ -537,6 +596,7 @@ private constructor(
address().ifPresent { it.validate() }
confirmedNoUsTaxId()
identification().ifPresent { it.validate() }
+ name()
validated = true
}
@@ -558,7 +618,8 @@ private constructor(
internal fun validity(): Int =
(address.asKnown().getOrNull()?.validity() ?: 0) +
(if (confirmedNoUsTaxId.asKnown().isPresent) 1 else 0) +
- (identification.asKnown().getOrNull()?.validity() ?: 0)
+ (identification.asKnown().getOrNull()?.validity() ?: 0) +
+ (if (name.asKnown().isPresent) 1 else 0)
override fun equals(other: Any?): Boolean {
if (this === other) {
@@ -569,17 +630,18 @@ private constructor(
address == other.address &&
confirmedNoUsTaxId == other.confirmedNoUsTaxId &&
identification == other.identification &&
+ name == other.name &&
additionalProperties == other.additionalProperties
}
private val hashCode: Int by lazy {
- Objects.hash(address, confirmedNoUsTaxId, identification, additionalProperties)
+ Objects.hash(address, confirmedNoUsTaxId, identification, name, additionalProperties)
}
override fun hashCode(): Int = hashCode
override fun toString() =
- "Body{address=$address, confirmedNoUsTaxId=$confirmedNoUsTaxId, identification=$identification, additionalProperties=$additionalProperties}"
+ "Body{address=$address, confirmedNoUsTaxId=$confirmedNoUsTaxId, identification=$identification, name=$name, additionalProperties=$additionalProperties}"
}
/**
diff --git a/increase-java-core/src/test/kotlin/com/increase/api/models/beneficialowners/BeneficialOwnerUpdateParamsTest.kt b/increase-java-core/src/test/kotlin/com/increase/api/models/beneficialowners/BeneficialOwnerUpdateParamsTest.kt
index 6e4bd2e38..4e0559677 100644
--- a/increase-java-core/src/test/kotlin/com/increase/api/models/beneficialowners/BeneficialOwnerUpdateParamsTest.kt
+++ b/increase-java-core/src/test/kotlin/com/increase/api/models/beneficialowners/BeneficialOwnerUpdateParamsTest.kt
@@ -57,6 +57,7 @@ internal class BeneficialOwnerUpdateParamsTest {
)
.build()
)
+ .name("x")
.build()
}
@@ -125,6 +126,7 @@ internal class BeneficialOwnerUpdateParamsTest {
)
.build()
)
+ .name("x")
.build()
val body = params._body()
@@ -174,6 +176,7 @@ internal class BeneficialOwnerUpdateParamsTest {
)
.build()
)
+ assertThat(body.name()).contains("x")
}
@Test
diff --git a/increase-java-core/src/test/kotlin/com/increase/api/services/async/BeneficialOwnerServiceAsyncTest.kt b/increase-java-core/src/test/kotlin/com/increase/api/services/async/BeneficialOwnerServiceAsyncTest.kt
index 4d8ad0815..702924f3f 100644
--- a/increase-java-core/src/test/kotlin/com/increase/api/services/async/BeneficialOwnerServiceAsyncTest.kt
+++ b/increase-java-core/src/test/kotlin/com/increase/api/services/async/BeneficialOwnerServiceAsyncTest.kt
@@ -90,6 +90,7 @@ internal class BeneficialOwnerServiceAsyncTest {
)
.build()
)
+ .name("x")
.build()
)
diff --git a/increase-java-core/src/test/kotlin/com/increase/api/services/blocking/BeneficialOwnerServiceTest.kt b/increase-java-core/src/test/kotlin/com/increase/api/services/blocking/BeneficialOwnerServiceTest.kt
index 0a19014a3..f5e25d563 100644
--- a/increase-java-core/src/test/kotlin/com/increase/api/services/blocking/BeneficialOwnerServiceTest.kt
+++ b/increase-java-core/src/test/kotlin/com/increase/api/services/blocking/BeneficialOwnerServiceTest.kt
@@ -89,6 +89,7 @@ internal class BeneficialOwnerServiceTest {
)
.build()
)
+ .name("x")
.build()
)