diff --git a/.release-please-manifest.json b/.release-please-manifest.json
index bfd4e4464..79c939347 100644
--- a/.release-please-manifest.json
+++ b/.release-please-manifest.json
@@ -1,3 +1,3 @@
{
- ".": "0.409.0"
+ ".": "0.410.0"
}
\ No newline at end of file
diff --git a/.stats.yml b/.stats.yml
index df82cbc8f..258e4a3f9 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-994727afca8b769c05b3531b0e560cfc71b7d2c45a49b54e09bbf73d0dbcaa1f.yml
-openapi_spec_hash: bb1c55d7e08fb038a7383976bba226d1
+openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/increase%2Fincrease-46a90f99726aa861d06ec56fb73592b4dcb4499d5a765d1a10dfc9619446306f.yml
+openapi_spec_hash: 8406b96c39c72de064a810c393c00554
config_hash: 27e44ed36b9c5617b580ead7231a594a
diff --git a/CHANGELOG.md b/CHANGELOG.md
index a96b0112a..44c3710d7 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,5 +1,13 @@
# Changelog
+## 0.410.0 (2026-01-30)
+
+Full Changelog: [v0.409.0...v0.410.0](https://github.com/Increase/increase-java/compare/v0.409.0...v0.410.0)
+
+### Features
+
+* **api:** api update ([4e2e2f8](https://github.com/Increase/increase-java/commit/4e2e2f8ebb0cbeb9b2c647f3f121c1250673279c))
+
## 0.409.0 (2026-01-30)
Full Changelog: [v0.408.0...v0.409.0](https://github.com/Increase/increase-java/compare/v0.408.0...v0.409.0)
diff --git a/README.md b/README.md
index b3f99daca..cdbb5668a 100644
--- a/README.md
+++ b/README.md
@@ -2,8 +2,8 @@
-[](https://central.sonatype.com/artifact/com.increase.api/increase-java/0.409.0)
-[](https://javadoc.io/doc/com.increase.api/increase-java/0.409.0)
+[](https://central.sonatype.com/artifact/com.increase.api/increase-java/0.410.0)
+[](https://javadoc.io/doc/com.increase.api/increase-java/0.410.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.409.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.410.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.409.0")
+implementation("com.increase.api:increase-java:0.410.0")
```
### Maven
@@ -33,7 +33,7 @@ implementation("com.increase.api:increase-java:0.409.0")
com.increase.api
increase-java
- 0.409.0
+ 0.410.0
```
diff --git a/build.gradle.kts b/build.gradle.kts
index a3bc6c537..7d9208068 100644
--- a/build.gradle.kts
+++ b/build.gradle.kts
@@ -8,7 +8,7 @@ repositories {
allprojects {
group = "com.increase.api"
- version = "0.409.0" // x-release-please-version
+ version = "0.410.0" // x-release-please-version
}
subprojects {
diff --git a/increase-java-core/src/main/kotlin/com/increase/api/models/intrafiexclusions/IntrafiExclusion.kt b/increase-java-core/src/main/kotlin/com/increase/api/models/intrafiexclusions/IntrafiExclusion.kt
index 5a6ce55ee..48b5b5b68 100644
--- a/increase-java-core/src/main/kotlin/com/increase/api/models/intrafiexclusions/IntrafiExclusion.kt
+++ b/increase-java-core/src/main/kotlin/com/increase/api/models/intrafiexclusions/IntrafiExclusion.kt
@@ -87,10 +87,10 @@ private constructor(
/**
* The name of the excluded institution.
*
- * @throws IncreaseInvalidDataException if the JSON field has an unexpected type or is
- * unexpectedly missing or null (e.g. if the server responded with an unexpected value).
+ * @throws IncreaseInvalidDataException if the JSON field has an unexpected type (e.g. if the
+ * server responded with an unexpected value).
*/
- fun bankName(): String = bankName.getRequired("bank_name")
+ fun bankName(): Optional = bankName.getOptional("bank_name")
/**
* The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time at which the exclusion
@@ -318,7 +318,10 @@ private constructor(
fun id(id: JsonField) = apply { this.id = id }
/** The name of the excluded institution. */
- fun bankName(bankName: String) = bankName(JsonField.of(bankName))
+ fun bankName(bankName: String?) = bankName(JsonField.ofNullable(bankName))
+
+ /** Alias for calling [Builder.bankName] with `bankName.orElse(null)`. */
+ fun bankName(bankName: Optional) = bankName(bankName.getOrNull())
/**
* Sets [Builder.bankName] to an arbitrary JSON value.
diff --git a/increase-java-core/src/main/kotlin/com/increase/api/models/intrafiexclusions/IntrafiExclusionCreateParams.kt b/increase-java-core/src/main/kotlin/com/increase/api/models/intrafiexclusions/IntrafiExclusionCreateParams.kt
index 42d2cdc39..4fd82f526 100644
--- a/increase-java-core/src/main/kotlin/com/increase/api/models/intrafiexclusions/IntrafiExclusionCreateParams.kt
+++ b/increase-java-core/src/main/kotlin/com/increase/api/models/intrafiexclusions/IntrafiExclusionCreateParams.kt
@@ -27,34 +27,38 @@ private constructor(
) : Params {
/**
- * The name of the financial institution to be excluded.
+ * The identifier of the Entity whose deposits will be excluded.
*
* @throws IncreaseInvalidDataException if the JSON field has an unexpected type or is
* unexpectedly missing or null (e.g. if the server responded with an unexpected value).
*/
- fun bankName(): String = body.bankName()
+ fun entityId(): String = body.entityId()
/**
- * The identifier of the Entity whose deposits will be excluded.
+ * The FDIC certificate number of the financial institution to be excluded. An FDIC certificate
+ * number uniquely identifies a financial institution, and is different than a routing number.
+ * To find one, we recommend searching by Bank Name using the
+ * [FDIC's bankfind tool](https://banks.data.fdic.gov/bankfind-suite/bankfind).
*
* @throws IncreaseInvalidDataException if the JSON field has an unexpected type or is
* unexpectedly missing or null (e.g. if the server responded with an unexpected value).
*/
- fun entityId(): String = body.entityId()
+ fun fdicCertificateNumber(): String = body.fdicCertificateNumber()
/**
- * Returns the raw JSON value of [bankName].
+ * Returns the raw JSON value of [entityId].
*
- * Unlike [bankName], this method doesn't throw if the JSON field has an unexpected type.
+ * Unlike [entityId], this method doesn't throw if the JSON field has an unexpected type.
*/
- fun _bankName(): JsonField = body._bankName()
+ fun _entityId(): JsonField = body._entityId()
/**
- * Returns the raw JSON value of [entityId].
+ * Returns the raw JSON value of [fdicCertificateNumber].
*
- * Unlike [entityId], this method doesn't throw if the JSON field has an unexpected type.
+ * Unlike [fdicCertificateNumber], this method doesn't throw if the JSON field has an unexpected
+ * type.
*/
- fun _entityId(): JsonField = body._entityId()
+ fun _fdicCertificateNumber(): JsonField = body._fdicCertificateNumber()
fun _additionalBodyProperties(): Map = body._additionalProperties()
@@ -73,8 +77,8 @@ private constructor(
*
* The following fields are required:
* ```java
- * .bankName()
* .entityId()
+ * .fdicCertificateNumber()
* ```
*/
@JvmStatic fun builder() = Builder()
@@ -99,22 +103,11 @@ 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:
- * - [bankName]
* - [entityId]
+ * - [fdicCertificateNumber]
*/
fun body(body: Body) = apply { this.body = body.toBuilder() }
- /** The name of the financial institution to be excluded. */
- fun bankName(bankName: String) = apply { body.bankName(bankName) }
-
- /**
- * Sets [Builder.bankName] to an arbitrary JSON value.
- *
- * You should usually call [Builder.bankName] with a well-typed [String] value instead. This
- * method is primarily for setting the field to an undocumented or not yet supported value.
- */
- fun bankName(bankName: JsonField) = apply { body.bankName(bankName) }
-
/** The identifier of the Entity whose deposits will be excluded. */
fun entityId(entityId: String) = apply { body.entityId(entityId) }
@@ -126,6 +119,27 @@ private constructor(
*/
fun entityId(entityId: JsonField) = apply { body.entityId(entityId) }
+ /**
+ * The FDIC certificate number of the financial institution to be excluded. An FDIC
+ * certificate number uniquely identifies a financial institution, and is different than a
+ * routing number. To find one, we recommend searching by Bank Name using the
+ * [FDIC's bankfind tool](https://banks.data.fdic.gov/bankfind-suite/bankfind).
+ */
+ fun fdicCertificateNumber(fdicCertificateNumber: String) = apply {
+ body.fdicCertificateNumber(fdicCertificateNumber)
+ }
+
+ /**
+ * Sets [Builder.fdicCertificateNumber] to an arbitrary JSON value.
+ *
+ * You should usually call [Builder.fdicCertificateNumber] with a well-typed [String] value
+ * instead. This method is primarily for setting the field to an undocumented or not yet
+ * supported value.
+ */
+ fun fdicCertificateNumber(fdicCertificateNumber: JsonField) = apply {
+ body.fdicCertificateNumber(fdicCertificateNumber)
+ }
+
fun additionalBodyProperties(additionalBodyProperties: Map) = apply {
body.additionalProperties(additionalBodyProperties)
}
@@ -250,8 +264,8 @@ private constructor(
*
* The following fields are required:
* ```java
- * .bankName()
* .entityId()
+ * .fdicCertificateNumber()
* ```
*
* @throws IllegalStateException if any required field is unset.
@@ -273,50 +287,57 @@ private constructor(
class Body
@JsonCreator(mode = JsonCreator.Mode.DISABLED)
private constructor(
- private val bankName: JsonField,
private val entityId: JsonField,
+ private val fdicCertificateNumber: JsonField,
private val additionalProperties: MutableMap,
) {
@JsonCreator
private constructor(
- @JsonProperty("bank_name")
- @ExcludeMissing
- bankName: JsonField = JsonMissing.of(),
@JsonProperty("entity_id")
@ExcludeMissing
entityId: JsonField = JsonMissing.of(),
- ) : this(bankName, entityId, mutableMapOf())
+ @JsonProperty("fdic_certificate_number")
+ @ExcludeMissing
+ fdicCertificateNumber: JsonField = JsonMissing.of(),
+ ) : this(entityId, fdicCertificateNumber, mutableMapOf())
/**
- * The name of the financial institution to be excluded.
+ * The identifier of the Entity whose deposits will be excluded.
*
* @throws IncreaseInvalidDataException if the JSON field has an unexpected type or is
* unexpectedly missing or null (e.g. if the server responded with an unexpected value).
*/
- fun bankName(): String = bankName.getRequired("bank_name")
+ fun entityId(): String = entityId.getRequired("entity_id")
/**
- * The identifier of the Entity whose deposits will be excluded.
+ * The FDIC certificate number of the financial institution to be excluded. An FDIC
+ * certificate number uniquely identifies a financial institution, and is different than a
+ * routing number. To find one, we recommend searching by Bank Name using the
+ * [FDIC's bankfind tool](https://banks.data.fdic.gov/bankfind-suite/bankfind).
*
* @throws IncreaseInvalidDataException if the JSON field has an unexpected type or is
* unexpectedly missing or null (e.g. if the server responded with an unexpected value).
*/
- fun entityId(): String = entityId.getRequired("entity_id")
+ fun fdicCertificateNumber(): String =
+ fdicCertificateNumber.getRequired("fdic_certificate_number")
/**
- * Returns the raw JSON value of [bankName].
+ * Returns the raw JSON value of [entityId].
*
- * Unlike [bankName], this method doesn't throw if the JSON field has an unexpected type.
+ * Unlike [entityId], this method doesn't throw if the JSON field has an unexpected type.
*/
- @JsonProperty("bank_name") @ExcludeMissing fun _bankName(): JsonField = bankName
+ @JsonProperty("entity_id") @ExcludeMissing fun _entityId(): JsonField = entityId
/**
- * Returns the raw JSON value of [entityId].
+ * Returns the raw JSON value of [fdicCertificateNumber].
*
- * Unlike [entityId], this method doesn't throw if the JSON field has an unexpected type.
+ * Unlike [fdicCertificateNumber], this method doesn't throw if the JSON field has an
+ * unexpected type.
*/
- @JsonProperty("entity_id") @ExcludeMissing fun _entityId(): JsonField = entityId
+ @JsonProperty("fdic_certificate_number")
+ @ExcludeMissing
+ fun _fdicCertificateNumber(): JsonField = fdicCertificateNumber
@JsonAnySetter
private fun putAdditionalProperty(key: String, value: JsonValue) {
@@ -337,8 +358,8 @@ private constructor(
*
* The following fields are required:
* ```java
- * .bankName()
* .entityId()
+ * .fdicCertificateNumber()
* ```
*/
@JvmStatic fun builder() = Builder()
@@ -347,29 +368,17 @@ private constructor(
/** A builder for [Body]. */
class Builder internal constructor() {
- private var bankName: JsonField? = null
private var entityId: JsonField? = null
+ private var fdicCertificateNumber: JsonField? = null
private var additionalProperties: MutableMap = mutableMapOf()
@JvmSynthetic
internal fun from(body: Body) = apply {
- bankName = body.bankName
entityId = body.entityId
+ fdicCertificateNumber = body.fdicCertificateNumber
additionalProperties = body.additionalProperties.toMutableMap()
}
- /** The name of the financial institution to be excluded. */
- fun bankName(bankName: String) = bankName(JsonField.of(bankName))
-
- /**
- * Sets [Builder.bankName] to an arbitrary JSON value.
- *
- * You should usually call [Builder.bankName] with a well-typed [String] value instead.
- * This method is primarily for setting the field to an undocumented or not yet
- * supported value.
- */
- fun bankName(bankName: JsonField) = apply { this.bankName = bankName }
-
/** The identifier of the Entity whose deposits will be excluded. */
fun entityId(entityId: String) = entityId(JsonField.of(entityId))
@@ -382,6 +391,26 @@ private constructor(
*/
fun entityId(entityId: JsonField) = apply { this.entityId = entityId }
+ /**
+ * The FDIC certificate number of the financial institution to be excluded. An FDIC
+ * certificate number uniquely identifies a financial institution, and is different than
+ * a routing number. To find one, we recommend searching by Bank Name using the
+ * [FDIC's bankfind tool](https://banks.data.fdic.gov/bankfind-suite/bankfind).
+ */
+ fun fdicCertificateNumber(fdicCertificateNumber: String) =
+ fdicCertificateNumber(JsonField.of(fdicCertificateNumber))
+
+ /**
+ * Sets [Builder.fdicCertificateNumber] to an arbitrary JSON value.
+ *
+ * You should usually call [Builder.fdicCertificateNumber] with a well-typed [String]
+ * value instead. This method is primarily for setting the field to an undocumented or
+ * not yet supported value.
+ */
+ fun fdicCertificateNumber(fdicCertificateNumber: JsonField) = apply {
+ this.fdicCertificateNumber = fdicCertificateNumber
+ }
+
fun additionalProperties(additionalProperties: Map) = apply {
this.additionalProperties.clear()
putAllAdditionalProperties(additionalProperties)
@@ -408,16 +437,16 @@ private constructor(
*
* The following fields are required:
* ```java
- * .bankName()
* .entityId()
+ * .fdicCertificateNumber()
* ```
*
* @throws IllegalStateException if any required field is unset.
*/
fun build(): Body =
Body(
- checkRequired("bankName", bankName),
checkRequired("entityId", entityId),
+ checkRequired("fdicCertificateNumber", fdicCertificateNumber),
additionalProperties.toMutableMap(),
)
}
@@ -429,8 +458,8 @@ private constructor(
return@apply
}
- bankName()
entityId()
+ fdicCertificateNumber()
validated = true
}
@@ -450,8 +479,8 @@ private constructor(
*/
@JvmSynthetic
internal fun validity(): Int =
- (if (bankName.asKnown().isPresent) 1 else 0) +
- (if (entityId.asKnown().isPresent) 1 else 0)
+ (if (entityId.asKnown().isPresent) 1 else 0) +
+ (if (fdicCertificateNumber.asKnown().isPresent) 1 else 0)
override fun equals(other: Any?): Boolean {
if (this === other) {
@@ -459,17 +488,19 @@ private constructor(
}
return other is Body &&
- bankName == other.bankName &&
entityId == other.entityId &&
+ fdicCertificateNumber == other.fdicCertificateNumber &&
additionalProperties == other.additionalProperties
}
- private val hashCode: Int by lazy { Objects.hash(bankName, entityId, additionalProperties) }
+ private val hashCode: Int by lazy {
+ Objects.hash(entityId, fdicCertificateNumber, additionalProperties)
+ }
override fun hashCode(): Int = hashCode
override fun toString() =
- "Body{bankName=$bankName, entityId=$entityId, additionalProperties=$additionalProperties}"
+ "Body{entityId=$entityId, fdicCertificateNumber=$fdicCertificateNumber, additionalProperties=$additionalProperties}"
}
override fun equals(other: Any?): Boolean {
diff --git a/increase-java-core/src/test/kotlin/com/increase/api/models/intrafiexclusions/IntrafiExclusionCreateParamsTest.kt b/increase-java-core/src/test/kotlin/com/increase/api/models/intrafiexclusions/IntrafiExclusionCreateParamsTest.kt
index 87b2ecdde..74a43978e 100644
--- a/increase-java-core/src/test/kotlin/com/increase/api/models/intrafiexclusions/IntrafiExclusionCreateParamsTest.kt
+++ b/increase-java-core/src/test/kotlin/com/increase/api/models/intrafiexclusions/IntrafiExclusionCreateParamsTest.kt
@@ -10,8 +10,8 @@ internal class IntrafiExclusionCreateParamsTest {
@Test
fun create() {
IntrafiExclusionCreateParams.builder()
- .bankName("Example Bank")
.entityId("entity_n8y8tnk2p9339ti393yi")
+ .fdicCertificateNumber("314159")
.build()
}
@@ -19,13 +19,13 @@ internal class IntrafiExclusionCreateParamsTest {
fun body() {
val params =
IntrafiExclusionCreateParams.builder()
- .bankName("Example Bank")
.entityId("entity_n8y8tnk2p9339ti393yi")
+ .fdicCertificateNumber("314159")
.build()
val body = params._body()
- assertThat(body.bankName()).isEqualTo("Example Bank")
assertThat(body.entityId()).isEqualTo("entity_n8y8tnk2p9339ti393yi")
+ assertThat(body.fdicCertificateNumber()).isEqualTo("314159")
}
}
diff --git a/increase-java-core/src/test/kotlin/com/increase/api/models/intrafiexclusions/IntrafiExclusionTest.kt b/increase-java-core/src/test/kotlin/com/increase/api/models/intrafiexclusions/IntrafiExclusionTest.kt
index cd717d5be..d0d4a06fd 100644
--- a/increase-java-core/src/test/kotlin/com/increase/api/models/intrafiexclusions/IntrafiExclusionTest.kt
+++ b/increase-java-core/src/test/kotlin/com/increase/api/models/intrafiexclusions/IntrafiExclusionTest.kt
@@ -27,7 +27,7 @@ internal class IntrafiExclusionTest {
.build()
assertThat(intrafiExclusion.id()).isEqualTo("intrafi_exclusion_ygfqduuzpau3jqof6jyh")
- assertThat(intrafiExclusion.bankName()).isEqualTo("Example Bank")
+ assertThat(intrafiExclusion.bankName()).contains("Example Bank")
assertThat(intrafiExclusion.createdAt())
.isEqualTo(OffsetDateTime.parse("2020-01-31T23:59:59Z"))
assertThat(intrafiExclusion.entityId()).isEqualTo("entity_n8y8tnk2p9339ti393yi")
diff --git a/increase-java-core/src/test/kotlin/com/increase/api/services/async/IntrafiExclusionServiceAsyncTest.kt b/increase-java-core/src/test/kotlin/com/increase/api/services/async/IntrafiExclusionServiceAsyncTest.kt
index cc112e5a1..cfc595977 100644
--- a/increase-java-core/src/test/kotlin/com/increase/api/services/async/IntrafiExclusionServiceAsyncTest.kt
+++ b/increase-java-core/src/test/kotlin/com/increase/api/services/async/IntrafiExclusionServiceAsyncTest.kt
@@ -23,8 +23,8 @@ internal class IntrafiExclusionServiceAsyncTest {
val intrafiExclusionFuture =
intrafiExclusionServiceAsync.create(
IntrafiExclusionCreateParams.builder()
- .bankName("Example Bank")
.entityId("entity_n8y8tnk2p9339ti393yi")
+ .fdicCertificateNumber("314159")
.build()
)
diff --git a/increase-java-core/src/test/kotlin/com/increase/api/services/blocking/IntrafiExclusionServiceTest.kt b/increase-java-core/src/test/kotlin/com/increase/api/services/blocking/IntrafiExclusionServiceTest.kt
index 7317db982..23387e3c0 100644
--- a/increase-java-core/src/test/kotlin/com/increase/api/services/blocking/IntrafiExclusionServiceTest.kt
+++ b/increase-java-core/src/test/kotlin/com/increase/api/services/blocking/IntrafiExclusionServiceTest.kt
@@ -23,8 +23,8 @@ internal class IntrafiExclusionServiceTest {
val intrafiExclusion =
intrafiExclusionService.create(
IntrafiExclusionCreateParams.builder()
- .bankName("Example Bank")
.entityId("entity_n8y8tnk2p9339ti393yi")
+ .fdicCertificateNumber("314159")
.build()
)