diff --git a/.release-please-manifest.json b/.release-please-manifest.json
index 3a1207b62..e34e55c0b 100644
--- a/.release-please-manifest.json
+++ b/.release-please-manifest.json
@@ -1,3 +1,3 @@
{
- ".": "0.444.0"
+ ".": "0.445.0"
}
\ No newline at end of file
diff --git a/.stats.yml b/.stats.yml
index e70311539..88642e07a 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-a72ddcd1864b9ba3aecab707aaaa5a3269d034eb70222d6909e4fe768da46dc2.yml
-openapi_spec_hash: 99aa469f8a1c21a5418f1fcf41f9475b
+openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/increase%2Fincrease-56234b020a54052fccd4039cb771fbc9065afc95cf2b15d559c4a91d4e745ca1.yml
+openapi_spec_hash: 1254ab532c5dd4c23fb035149006f802
config_hash: d15ecbf4dc8a7a0ef99397d11b557444
diff --git a/CHANGELOG.md b/CHANGELOG.md
index cad09c75c..37747534a 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,5 +1,13 @@
# Changelog
+## 0.445.0 (2026-03-04)
+
+Full Changelog: [v0.444.0...v0.445.0](https://github.com/Increase/increase-java/compare/v0.444.0...v0.445.0)
+
+### Features
+
+* **api:** api update ([819253c](https://github.com/Increase/increase-java/commit/819253c63569118674f5404bc129abfd5aed1e50))
+
## 0.444.0 (2026-03-03)
Full Changelog: [v0.443.0...v0.444.0](https://github.com/Increase/increase-java/compare/v0.443.0...v0.444.0)
diff --git a/README.md b/README.md
index 77c84fdc7..44702a0d1 100644
--- a/README.md
+++ b/README.md
@@ -2,8 +2,8 @@
-[](https://central.sonatype.com/artifact/com.increase.api/increase-java/0.444.0)
-[](https://javadoc.io/doc/com.increase.api/increase-java/0.444.0)
+[](https://central.sonatype.com/artifact/com.increase.api/increase-java/0.445.0)
+[](https://javadoc.io/doc/com.increase.api/increase-java/0.445.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.444.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.445.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.444.0")
+implementation("com.increase.api:increase-java:0.445.0")
```
### Maven
@@ -33,7 +33,7 @@ implementation("com.increase.api:increase-java:0.444.0")
com.increase.api
increase-java
- 0.444.0
+ 0.445.0
```
diff --git a/build.gradle.kts b/build.gradle.kts
index 8121f0cbd..7518c5790 100644
--- a/build.gradle.kts
+++ b/build.gradle.kts
@@ -8,7 +8,7 @@ repositories {
allprojects {
group = "com.increase.api"
- version = "0.444.0" // x-release-please-version
+ version = "0.445.0" // x-release-please-version
}
subprojects {
diff --git a/increase-java-core/src/main/kotlin/com/increase/api/models/entities/Entity.kt b/increase-java-core/src/main/kotlin/com/increase/api/models/entities/Entity.kt
index 4a8858d71..1b6b59109 100644
--- a/increase-java-core/src/main/kotlin/com/increase/api/models/entities/Entity.kt
+++ b/increase-java-core/src/main/kotlin/com/increase/api/models/entities/Entity.kt
@@ -1765,7 +1765,7 @@ private constructor(
private val beneficialOwnerId: JsonField,
private val companyTitle: JsonField,
private val individual: JsonField,
- private val prong: JsonField,
+ private val prongs: JsonField>,
private val additionalProperties: MutableMap,
) {
@@ -1780,8 +1780,10 @@ private constructor(
@JsonProperty("individual")
@ExcludeMissing
individual: JsonField = JsonMissing.of(),
- @JsonProperty("prong") @ExcludeMissing prong: JsonField = JsonMissing.of(),
- ) : this(beneficialOwnerId, companyTitle, individual, prong, mutableMapOf())
+ @JsonProperty("prongs")
+ @ExcludeMissing
+ prongs: JsonField> = JsonMissing.of(),
+ ) : this(beneficialOwnerId, companyTitle, individual, prongs, mutableMapOf())
/**
* The identifier of this beneficial owner.
@@ -1816,7 +1818,7 @@ private constructor(
* unexpectedly missing or null (e.g. if the server responded with an unexpected
* value).
*/
- fun prong(): Prong = prong.getRequired("prong")
+ fun prongs(): List = prongs.getRequired("prongs")
/**
* Returns the raw JSON value of [beneficialOwnerId].
@@ -1849,11 +1851,11 @@ private constructor(
fun _individual(): JsonField = individual
/**
- * Returns the raw JSON value of [prong].
+ * Returns the raw JSON value of [prongs].
*
- * Unlike [prong], this method doesn't throw if the JSON field has an unexpected type.
+ * Unlike [prongs], this method doesn't throw if the JSON field has an unexpected type.
*/
- @JsonProperty("prong") @ExcludeMissing fun _prong(): JsonField = prong
+ @JsonProperty("prongs") @ExcludeMissing fun _prongs(): JsonField> = prongs
@JsonAnySetter
private fun putAdditionalProperty(key: String, value: JsonValue) {
@@ -1877,7 +1879,7 @@ private constructor(
* .beneficialOwnerId()
* .companyTitle()
* .individual()
- * .prong()
+ * .prongs()
* ```
*/
@JvmStatic fun builder() = Builder()
@@ -1889,7 +1891,7 @@ private constructor(
private var beneficialOwnerId: JsonField? = null
private var companyTitle: JsonField? = null
private var individual: JsonField? = null
- private var prong: JsonField? = null
+ private var prongs: JsonField>? = null
private var additionalProperties: MutableMap = mutableMapOf()
@JvmSynthetic
@@ -1897,7 +1899,7 @@ private constructor(
beneficialOwnerId = beneficialOwner.beneficialOwnerId
companyTitle = beneficialOwner.companyTitle
individual = beneficialOwner.individual
- prong = beneficialOwner.prong
+ prongs = beneficialOwner.prongs.map { it.toMutableList() }
additionalProperties = beneficialOwner.additionalProperties.toMutableMap()
}
@@ -1950,16 +1952,30 @@ private constructor(
}
/** Why this person is considered a beneficial owner of the entity. */
- fun prong(prong: Prong) = prong(JsonField.of(prong))
+ fun prongs(prongs: List) = prongs(JsonField.of(prongs))
/**
- * Sets [Builder.prong] to an arbitrary JSON value.
+ * Sets [Builder.prongs] to an arbitrary JSON value.
*
- * You should usually call [Builder.prong] with a well-typed [Prong] value instead.
- * This method is primarily for setting the field to an undocumented or not yet
- * supported value.
+ * You should usually call [Builder.prongs] with a well-typed `List` value
+ * instead. This method is primarily for setting the field to an undocumented or not
+ * yet supported value.
+ */
+ fun prongs(prongs: JsonField>) = apply {
+ this.prongs = prongs.map { it.toMutableList() }
+ }
+
+ /**
+ * Adds a single [Prong] to [prongs].
+ *
+ * @throws IllegalStateException if the field was previously set to a non-list.
*/
- fun prong(prong: JsonField) = apply { this.prong = prong }
+ fun addProng(prong: Prong) = apply {
+ prongs =
+ (prongs ?: JsonField.of(mutableListOf())).also {
+ checkKnown("prongs", it).add(prong)
+ }
+ }
fun additionalProperties(additionalProperties: Map) = apply {
this.additionalProperties.clear()
@@ -1993,7 +2009,7 @@ private constructor(
* .beneficialOwnerId()
* .companyTitle()
* .individual()
- * .prong()
+ * .prongs()
* ```
*
* @throws IllegalStateException if any required field is unset.
@@ -2003,7 +2019,7 @@ private constructor(
checkRequired("beneficialOwnerId", beneficialOwnerId),
checkRequired("companyTitle", companyTitle),
checkRequired("individual", individual),
- checkRequired("prong", prong),
+ checkRequired("prongs", prongs).map { it.toImmutable() },
additionalProperties.toMutableMap(),
)
}
@@ -2018,7 +2034,7 @@ private constructor(
beneficialOwnerId()
companyTitle()
individual().validate()
- prong().validate()
+ prongs().forEach { it.validate() }
validated = true
}
@@ -2041,7 +2057,7 @@ private constructor(
(if (beneficialOwnerId.asKnown().isPresent) 1 else 0) +
(if (companyTitle.asKnown().isPresent) 1 else 0) +
(individual.asKnown().getOrNull()?.validity() ?: 0) +
- (prong.asKnown().getOrNull()?.validity() ?: 0)
+ (prongs.asKnown().getOrNull()?.sumOf { it.validity().toInt() } ?: 0)
/** Personal details for the beneficial owner. */
class Individual
@@ -3139,7 +3155,6 @@ private constructor(
"Individual{address=$address, dateOfBirth=$dateOfBirth, identification=$identification, name=$name, additionalProperties=$additionalProperties}"
}
- /** Why this person is considered a beneficial owner of the entity. */
class Prong @JsonCreator private constructor(private val value: JsonField) :
Enum {
@@ -3286,7 +3301,7 @@ private constructor(
beneficialOwnerId == other.beneficialOwnerId &&
companyTitle == other.companyTitle &&
individual == other.individual &&
- prong == other.prong &&
+ prongs == other.prongs &&
additionalProperties == other.additionalProperties
}
@@ -3295,7 +3310,7 @@ private constructor(
beneficialOwnerId,
companyTitle,
individual,
- prong,
+ prongs,
additionalProperties,
)
}
@@ -3303,7 +3318,7 @@ private constructor(
override fun hashCode(): Int = hashCode
override fun toString() =
- "BeneficialOwner{beneficialOwnerId=$beneficialOwnerId, companyTitle=$companyTitle, individual=$individual, prong=$prong, additionalProperties=$additionalProperties}"
+ "BeneficialOwner{beneficialOwnerId=$beneficialOwnerId, companyTitle=$companyTitle, individual=$individual, prongs=$prongs, additionalProperties=$additionalProperties}"
}
override fun equals(other: Any?): Boolean {
diff --git a/increase-java-core/src/test/kotlin/com/increase/api/models/entities/EntityListPageResponseTest.kt b/increase-java-core/src/test/kotlin/com/increase/api/models/entities/EntityListPageResponseTest.kt
index 6319eb4f0..3f272c994 100644
--- a/increase-java-core/src/test/kotlin/com/increase/api/models/entities/EntityListPageResponseTest.kt
+++ b/increase-java-core/src/test/kotlin/com/increase/api/models/entities/EntityListPageResponseTest.kt
@@ -68,7 +68,7 @@ internal class EntityListPageResponseTest {
.name("Ian Crease")
.build()
)
- .prong(Entity.Corporation.BeneficialOwner.Prong.CONTROL)
+ .addProng(Entity.Corporation.BeneficialOwner.Prong.CONTROL)
.build()
)
.email(null)
@@ -323,7 +323,7 @@ internal class EntityListPageResponseTest {
.name("Ian Crease")
.build()
)
- .prong(Entity.Corporation.BeneficialOwner.Prong.CONTROL)
+ .addProng(Entity.Corporation.BeneficialOwner.Prong.CONTROL)
.build()
)
.email(null)
@@ -581,7 +581,7 @@ internal class EntityListPageResponseTest {
.name("Ian Crease")
.build()
)
- .prong(Entity.Corporation.BeneficialOwner.Prong.CONTROL)
+ .addProng(Entity.Corporation.BeneficialOwner.Prong.CONTROL)
.build()
)
.email(null)
diff --git a/increase-java-core/src/test/kotlin/com/increase/api/models/entities/EntityTest.kt b/increase-java-core/src/test/kotlin/com/increase/api/models/entities/EntityTest.kt
index 4e9c1278b..a440ea7c3 100644
--- a/increase-java-core/src/test/kotlin/com/increase/api/models/entities/EntityTest.kt
+++ b/increase-java-core/src/test/kotlin/com/increase/api/models/entities/EntityTest.kt
@@ -64,7 +64,7 @@ internal class EntityTest {
.name("Ian Crease")
.build()
)
- .prong(Entity.Corporation.BeneficialOwner.Prong.CONTROL)
+ .addProng(Entity.Corporation.BeneficialOwner.Prong.CONTROL)
.build()
)
.email(null)
@@ -308,7 +308,7 @@ internal class EntityTest {
.name("Ian Crease")
.build()
)
- .prong(Entity.Corporation.BeneficialOwner.Prong.CONTROL)
+ .addProng(Entity.Corporation.BeneficialOwner.Prong.CONTROL)
.build()
)
.email(null)
@@ -564,7 +564,7 @@ internal class EntityTest {
.name("Ian Crease")
.build()
)
- .prong(Entity.Corporation.BeneficialOwner.Prong.CONTROL)
+ .addProng(Entity.Corporation.BeneficialOwner.Prong.CONTROL)
.build()
)
.email(null)