diff --git a/.release-please-manifest.json b/.release-please-manifest.json
index da9608d70..db5791310 100644
--- a/.release-please-manifest.json
+++ b/.release-please-manifest.json
@@ -1,3 +1,3 @@
{
- ".": "0.320.0"
+ ".": "0.321.0"
}
\ No newline at end of file
diff --git a/.stats.yml b/.stats.yml
index dc28c5ae5..0ece17005 100644
--- a/.stats.yml
+++ b/.stats.yml
@@ -1,4 +1,4 @@
configured_endpoints: 217
-openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/increase%2Fincrease-5d85239e5d724254ab22d922c6cad05e1c361c791ef4a578e1165158bd967753.yml
-openapi_spec_hash: b2c90485c02d643ad09954f4d88dbc25
+openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/increase%2Fincrease-387c9e5ff5305d470ddf290a424b9d0f087fa295b56cf82265f2dfe8355a589a.yml
+openapi_spec_hash: 2c624b8535be90329028f6b10281a313
config_hash: e1885b38eded054b77308a024c5d80cc
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 7127dc7a1..ed12b4755 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,5 +1,13 @@
# Changelog
+## 0.321.0 (2025-09-08)
+
+Full Changelog: [v0.320.0...v0.321.0](https://github.com/Increase/increase-java/compare/v0.320.0...v0.321.0)
+
+### Features
+
+* **api:** api update ([2868e76](https://github.com/Increase/increase-java/commit/2868e76c6099c395932c7fc5cee620b4a6e22edf))
+
## 0.320.0 (2025-09-08)
Full Changelog: [v0.319.0...v0.320.0](https://github.com/Increase/increase-java/compare/v0.319.0...v0.320.0)
diff --git a/README.md b/README.md
index 35213648a..2785439e1 100644
--- a/README.md
+++ b/README.md
@@ -2,8 +2,8 @@
-[](https://central.sonatype.com/artifact/com.increase.api/increase-java/0.320.0)
-[](https://javadoc.io/doc/com.increase.api/increase-java/0.320.0)
+[](https://central.sonatype.com/artifact/com.increase.api/increase-java/0.321.0)
+[](https://javadoc.io/doc/com.increase.api/increase-java/0.321.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.320.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.321.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.320.0")
+implementation("com.increase.api:increase-java:0.321.0")
```
### Maven
@@ -33,7 +33,7 @@ implementation("com.increase.api:increase-java:0.320.0")
com.increase.api
increase-java
- 0.320.0
+ 0.321.0
```
diff --git a/build.gradle.kts b/build.gradle.kts
index 26153526c..deecf5363 100644
--- a/build.gradle.kts
+++ b/build.gradle.kts
@@ -8,7 +8,7 @@ repositories {
allprojects {
group = "com.increase.api"
- version = "0.320.0" // x-release-please-version
+ version = "0.321.0" // x-release-please-version
}
subprojects {
diff --git a/increase-java-core/src/main/kotlin/com/increase/api/models/entities/EntityUpdateParams.kt b/increase-java-core/src/main/kotlin/com/increase/api/models/entities/EntityUpdateParams.kt
index d377c6cf0..cf0692b58 100644
--- a/increase-java-core/src/main/kotlin/com/increase/api/models/entities/EntityUpdateParams.kt
+++ b/increase-java-core/src/main/kotlin/com/increase/api/models/entities/EntityUpdateParams.kt
@@ -43,6 +43,15 @@ private constructor(
*/
fun corporation(): Optional = body.corporation()
+ /**
+ * When your user last confirmed the Entity's details. Depending on your program, you may be
+ * required to affirmatively confirm details with your users on an annual basis.
+ *
+ * @throws IncreaseInvalidDataException if the JSON field has an unexpected type (e.g. if the
+ * server responded with an unexpected value).
+ */
+ fun detailsConfirmedAt(): Optional = body.detailsConfirmedAt()
+
/**
* Details of the government authority entity to update. If you specify this parameter and the
* entity is not a government authority, the request will fail.
@@ -95,6 +104,14 @@ private constructor(
*/
fun _corporation(): JsonField = body._corporation()
+ /**
+ * Returns the raw JSON value of [detailsConfirmedAt].
+ *
+ * Unlike [detailsConfirmedAt], this method doesn't throw if the JSON field has an unexpected
+ * type.
+ */
+ fun _detailsConfirmedAt(): JsonField = body._detailsConfirmedAt()
+
/**
* Returns the raw JSON value of [governmentAuthority].
*
@@ -179,10 +196,10 @@ private constructor(
* 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:
* - [corporation]
+ * - [detailsConfirmedAt]
* - [governmentAuthority]
* - [naturalPerson]
* - [riskRating]
- * - [thirdPartyVerification]
* - etc.
*/
fun body(body: Body) = apply { this.body = body.toBuilder() }
@@ -204,6 +221,25 @@ private constructor(
body.corporation(corporation)
}
+ /**
+ * When your user last confirmed the Entity's details. Depending on your program, you may be
+ * required to affirmatively confirm details with your users on an annual basis.
+ */
+ fun detailsConfirmedAt(detailsConfirmedAt: OffsetDateTime) = apply {
+ body.detailsConfirmedAt(detailsConfirmedAt)
+ }
+
+ /**
+ * Sets [Builder.detailsConfirmedAt] to an arbitrary JSON value.
+ *
+ * You should usually call [Builder.detailsConfirmedAt] with a well-typed [OffsetDateTime]
+ * value instead. This method is primarily for setting the field to an undocumented or not
+ * yet supported value.
+ */
+ fun detailsConfirmedAt(detailsConfirmedAt: JsonField) = apply {
+ body.detailsConfirmedAt(detailsConfirmedAt)
+ }
+
/**
* Details of the government authority entity to update. If you specify this parameter and
* the entity is not a government authority, the request will fail.
@@ -437,6 +473,7 @@ private constructor(
class Body
private constructor(
private val corporation: JsonField,
+ private val detailsConfirmedAt: JsonField,
private val governmentAuthority: JsonField,
private val naturalPerson: JsonField,
private val riskRating: JsonField,
@@ -450,6 +487,9 @@ private constructor(
@JsonProperty("corporation")
@ExcludeMissing
corporation: JsonField = JsonMissing.of(),
+ @JsonProperty("details_confirmed_at")
+ @ExcludeMissing
+ detailsConfirmedAt: JsonField = JsonMissing.of(),
@JsonProperty("government_authority")
@ExcludeMissing
governmentAuthority: JsonField = JsonMissing.of(),
@@ -465,6 +505,7 @@ private constructor(
@JsonProperty("trust") @ExcludeMissing trust: JsonField = JsonMissing.of(),
) : this(
corporation,
+ detailsConfirmedAt,
governmentAuthority,
naturalPerson,
riskRating,
@@ -482,6 +523,16 @@ private constructor(
*/
fun corporation(): Optional = corporation.getOptional("corporation")
+ /**
+ * When your user last confirmed the Entity's details. Depending on your program, you may be
+ * required to affirmatively confirm details with your users on an annual basis.
+ *
+ * @throws IncreaseInvalidDataException if the JSON field has an unexpected type (e.g. if
+ * the server responded with an unexpected value).
+ */
+ fun detailsConfirmedAt(): Optional =
+ detailsConfirmedAt.getOptional("details_confirmed_at")
+
/**
* Details of the government authority entity to update. If you specify this parameter and
* the entity is not a government authority, the request will fail.
@@ -538,6 +589,16 @@ private constructor(
@ExcludeMissing
fun _corporation(): JsonField = corporation
+ /**
+ * Returns the raw JSON value of [detailsConfirmedAt].
+ *
+ * Unlike [detailsConfirmedAt], this method doesn't throw if the JSON field has an
+ * unexpected type.
+ */
+ @JsonProperty("details_confirmed_at")
+ @ExcludeMissing
+ fun _detailsConfirmedAt(): JsonField = detailsConfirmedAt
+
/**
* Returns the raw JSON value of [governmentAuthority].
*
@@ -606,6 +667,7 @@ private constructor(
class Builder internal constructor() {
private var corporation: JsonField = JsonMissing.of()
+ private var detailsConfirmedAt: JsonField = JsonMissing.of()
private var governmentAuthority: JsonField = JsonMissing.of()
private var naturalPerson: JsonField = JsonMissing.of()
private var riskRating: JsonField = JsonMissing.of()
@@ -616,6 +678,7 @@ private constructor(
@JvmSynthetic
internal fun from(body: Body) = apply {
corporation = body.corporation
+ detailsConfirmedAt = body.detailsConfirmedAt
governmentAuthority = body.governmentAuthority
naturalPerson = body.naturalPerson
riskRating = body.riskRating
@@ -641,6 +704,24 @@ private constructor(
this.corporation = corporation
}
+ /**
+ * When your user last confirmed the Entity's details. Depending on your program, you
+ * may be required to affirmatively confirm details with your users on an annual basis.
+ */
+ fun detailsConfirmedAt(detailsConfirmedAt: OffsetDateTime) =
+ detailsConfirmedAt(JsonField.of(detailsConfirmedAt))
+
+ /**
+ * Sets [Builder.detailsConfirmedAt] to an arbitrary JSON value.
+ *
+ * You should usually call [Builder.detailsConfirmedAt] with a well-typed
+ * [OffsetDateTime] value instead. This method is primarily for setting the field to an
+ * undocumented or not yet supported value.
+ */
+ fun detailsConfirmedAt(detailsConfirmedAt: JsonField) = apply {
+ this.detailsConfirmedAt = detailsConfirmedAt
+ }
+
/**
* Details of the government authority entity to update. If you specify this parameter
* and the entity is not a government authority, the request will fail.
@@ -756,6 +837,7 @@ private constructor(
fun build(): Body =
Body(
corporation,
+ detailsConfirmedAt,
governmentAuthority,
naturalPerson,
riskRating,
@@ -773,6 +855,7 @@ private constructor(
}
corporation().ifPresent { it.validate() }
+ detailsConfirmedAt()
governmentAuthority().ifPresent { it.validate() }
naturalPerson().ifPresent { it.validate() }
riskRating().ifPresent { it.validate() }
@@ -798,6 +881,7 @@ private constructor(
@JvmSynthetic
internal fun validity(): Int =
(corporation.asKnown().getOrNull()?.validity() ?: 0) +
+ (if (detailsConfirmedAt.asKnown().isPresent) 1 else 0) +
(governmentAuthority.asKnown().getOrNull()?.validity() ?: 0) +
(naturalPerson.asKnown().getOrNull()?.validity() ?: 0) +
(riskRating.asKnown().getOrNull()?.validity() ?: 0) +
@@ -811,6 +895,7 @@ private constructor(
return other is Body &&
corporation == other.corporation &&
+ detailsConfirmedAt == other.detailsConfirmedAt &&
governmentAuthority == other.governmentAuthority &&
naturalPerson == other.naturalPerson &&
riskRating == other.riskRating &&
@@ -822,6 +907,7 @@ private constructor(
private val hashCode: Int by lazy {
Objects.hash(
corporation,
+ detailsConfirmedAt,
governmentAuthority,
naturalPerson,
riskRating,
@@ -834,7 +920,7 @@ private constructor(
override fun hashCode(): Int = hashCode
override fun toString() =
- "Body{corporation=$corporation, governmentAuthority=$governmentAuthority, naturalPerson=$naturalPerson, riskRating=$riskRating, thirdPartyVerification=$thirdPartyVerification, trust=$trust, additionalProperties=$additionalProperties}"
+ "Body{corporation=$corporation, detailsConfirmedAt=$detailsConfirmedAt, governmentAuthority=$governmentAuthority, naturalPerson=$naturalPerson, riskRating=$riskRating, thirdPartyVerification=$thirdPartyVerification, trust=$trust, additionalProperties=$additionalProperties}"
}
/**
diff --git a/increase-java-core/src/test/kotlin/com/increase/api/models/entities/EntityUpdateParamsTest.kt b/increase-java-core/src/test/kotlin/com/increase/api/models/entities/EntityUpdateParamsTest.kt
index d8056ab03..89e16c51e 100644
--- a/increase-java-core/src/test/kotlin/com/increase/api/models/entities/EntityUpdateParamsTest.kt
+++ b/increase-java-core/src/test/kotlin/com/increase/api/models/entities/EntityUpdateParamsTest.kt
@@ -27,6 +27,7 @@ internal class EntityUpdateParamsTest {
.name("x")
.build()
)
+ .detailsConfirmedAt(OffsetDateTime.parse("2019-12-27T18:11:19.117Z"))
.governmentAuthority(
EntityUpdateParams.GovernmentAuthority.builder()
.address(
@@ -113,6 +114,7 @@ internal class EntityUpdateParamsTest {
.name("x")
.build()
)
+ .detailsConfirmedAt(OffsetDateTime.parse("2019-12-27T18:11:19.117Z"))
.governmentAuthority(
EntityUpdateParams.GovernmentAuthority.builder()
.address(
@@ -187,6 +189,8 @@ internal class EntityUpdateParamsTest {
.name("x")
.build()
)
+ assertThat(body.detailsConfirmedAt())
+ .contains(OffsetDateTime.parse("2019-12-27T18:11:19.117Z"))
assertThat(body.governmentAuthority())
.contains(
EntityUpdateParams.GovernmentAuthority.builder()
diff --git a/increase-java-core/src/test/kotlin/com/increase/api/services/async/EntityServiceAsyncTest.kt b/increase-java-core/src/test/kotlin/com/increase/api/services/async/EntityServiceAsyncTest.kt
index 5b019b050..516c84c32 100644
--- a/increase-java-core/src/test/kotlin/com/increase/api/services/async/EntityServiceAsyncTest.kt
+++ b/increase-java-core/src/test/kotlin/com/increase/api/services/async/EntityServiceAsyncTest.kt
@@ -498,6 +498,7 @@ internal class EntityServiceAsyncTest {
.name("x")
.build()
)
+ .detailsConfirmedAt(OffsetDateTime.parse("2019-12-27T18:11:19.117Z"))
.governmentAuthority(
EntityUpdateParams.GovernmentAuthority.builder()
.address(
diff --git a/increase-java-core/src/test/kotlin/com/increase/api/services/blocking/EntityServiceTest.kt b/increase-java-core/src/test/kotlin/com/increase/api/services/blocking/EntityServiceTest.kt
index baad98adc..fb0a01cf1 100644
--- a/increase-java-core/src/test/kotlin/com/increase/api/services/blocking/EntityServiceTest.kt
+++ b/increase-java-core/src/test/kotlin/com/increase/api/services/blocking/EntityServiceTest.kt
@@ -496,6 +496,7 @@ internal class EntityServiceTest {
.name("x")
.build()
)
+ .detailsConfirmedAt(OffsetDateTime.parse("2019-12-27T18:11:19.117Z"))
.governmentAuthority(
EntityUpdateParams.GovernmentAuthority.builder()
.address(