diff --git a/.release-please-manifest.json b/.release-please-manifest.json
index bfd395f2e..269cfb5d4 100644
--- a/.release-please-manifest.json
+++ b/.release-please-manifest.json
@@ -1,3 +1,3 @@
{
- ".": "0.310.0"
+ ".": "0.311.0"
}
\ No newline at end of file
diff --git a/.stats.yml b/.stats.yml
index 76d80ce71..a123afd0f 100644
--- a/.stats.yml
+++ b/.stats.yml
@@ -1,4 +1,4 @@
configured_endpoints: 216
-openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/increase%2Fincrease-a3db5141ad8a06aca3ec4fbc0a4414af61ffea1bbd6470b4a9ad13f8b24ed9eb.yml
-openapi_spec_hash: 1192108447914f9233f6e0933dd36033
+openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/increase%2Fincrease-4951789bd74367647a7109ac527206883115628aac13b8131b0bc046ead9cc5c.yml
+openapi_spec_hash: 924a557a551c40624e4fe4703dec71cc
config_hash: 632b628b59d8f0b717153b3d8133f6cb
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 52957a899..98f0dcc59 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,5 +1,13 @@
# Changelog
+## 0.311.0 (2025-08-29)
+
+Full Changelog: [v0.310.0...v0.311.0](https://github.com/Increase/increase-java/compare/v0.310.0...v0.311.0)
+
+### Features
+
+* **api:** api update ([7d419b8](https://github.com/Increase/increase-java/commit/7d419b884d0fa4ed0b52ae8322726aa2f556390a))
+
## 0.310.0 (2025-08-29)
Full Changelog: [v0.309.0...v0.310.0](https://github.com/Increase/increase-java/compare/v0.309.0...v0.310.0)
diff --git a/README.md b/README.md
index 06aca42c3..4cdace222 100644
--- a/README.md
+++ b/README.md
@@ -2,8 +2,8 @@
-[](https://central.sonatype.com/artifact/com.increase.api/increase-java/0.310.0)
-[](https://javadoc.io/doc/com.increase.api/increase-java/0.310.0)
+[](https://central.sonatype.com/artifact/com.increase.api/increase-java/0.311.0)
+[](https://javadoc.io/doc/com.increase.api/increase-java/0.311.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.310.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.311.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.310.0")
+implementation("com.increase.api:increase-java:0.311.0")
```
### Maven
@@ -33,7 +33,7 @@ implementation("com.increase.api:increase-java:0.310.0")
com.increase.api
increase-java
- 0.310.0
+ 0.311.0
```
diff --git a/build.gradle.kts b/build.gradle.kts
index c245ca5dd..c750798e4 100644
--- a/build.gradle.kts
+++ b/build.gradle.kts
@@ -8,7 +8,7 @@ repositories {
allprojects {
group = "com.increase.api"
- version = "0.310.0" // x-release-please-version
+ version = "0.311.0" // x-release-please-version
}
subprojects {
diff --git a/increase-java-core/src/main/kotlin/com/increase/api/models/achtransfers/AchTransferCreateParams.kt b/increase-java-core/src/main/kotlin/com/increase/api/models/achtransfers/AchTransferCreateParams.kt
index 07fb33965..8acea2e0b 100644
--- a/increase-java-core/src/main/kotlin/com/increase/api/models/achtransfers/AchTransferCreateParams.kt
+++ b/increase-java-core/src/main/kotlin/com/increase/api/models/achtransfers/AchTransferCreateParams.kt
@@ -1918,7 +1918,8 @@ private constructor(
fun category(): Category = category.getRequired("category")
/**
- * Unstructured `payment_related_information` passed through with the transfer.
+ * Unstructured `payment_related_information` passed through with the transfer. Required if
+ * and only if `category` is `freeform`.
*
* @throws IncreaseInvalidDataException if the JSON field has an unexpected type (e.g. if
* the server responded with an unexpected value).
@@ -1927,7 +1928,8 @@ private constructor(
/**
* Structured ASC X12 820 remittance advice records. Please reach out to
- * [support@increase.com](mailto:support@increase.com) for more information.
+ * [support@increase.com](mailto:support@increase.com) for more information. Required if and
+ * only if `category` is `payment_order_remittance_advice`.
*
* @throws IncreaseInvalidDataException if the JSON field has an unexpected type (e.g. if
* the server responded with an unexpected value).
@@ -2014,7 +2016,10 @@ private constructor(
*/
fun category(category: JsonField) = apply { this.category = category }
- /** Unstructured `payment_related_information` passed through with the transfer. */
+ /**
+ * Unstructured `payment_related_information` passed through with the transfer. Required
+ * if and only if `category` is `freeform`.
+ */
fun freeform(freeform: Freeform) = freeform(JsonField.of(freeform))
/**
@@ -2028,7 +2033,8 @@ private constructor(
/**
* Structured ASC X12 820 remittance advice records. Please reach out to
- * [support@increase.com](mailto:support@increase.com) for more information.
+ * [support@increase.com](mailto:support@increase.com) for more information. Required if
+ * and only if `category` is `payment_order_remittance_advice`.
*/
fun paymentOrderRemittanceAdvice(
paymentOrderRemittanceAdvice: PaymentOrderRemittanceAdvice
@@ -2265,7 +2271,10 @@ private constructor(
override fun toString() = value.toString()
}
- /** Unstructured `payment_related_information` passed through with the transfer. */
+ /**
+ * Unstructured `payment_related_information` passed through with the transfer. Required if
+ * and only if `category` is `freeform`.
+ */
class Freeform
private constructor(
private val entries: JsonField>,
@@ -2635,7 +2644,8 @@ private constructor(
/**
* Structured ASC X12 820 remittance advice records. Please reach out to
- * [support@increase.com](mailto:support@increase.com) for more information.
+ * [support@increase.com](mailto:support@increase.com) for more information. Required if and
+ * only if `category` is `payment_order_remittance_advice`.
*/
class PaymentOrderRemittanceAdvice
private constructor(
diff --git a/increase-java-core/src/main/kotlin/com/increase/api/models/documents/DocumentCreateParams.kt b/increase-java-core/src/main/kotlin/com/increase/api/models/documents/DocumentCreateParams.kt
index de84b0eab..59b709309 100644
--- a/increase-java-core/src/main/kotlin/com/increase/api/models/documents/DocumentCreateParams.kt
+++ b/increase-java-core/src/main/kotlin/com/increase/api/models/documents/DocumentCreateParams.kt
@@ -39,7 +39,8 @@ private constructor(
fun category(): Category = body.category()
/**
- * An account verification letter.
+ * An account verification letter. Required if and only if `category` is
+ * `account_verification_letter`.
*
* @throws IncreaseInvalidDataException if the JSON field has an unexpected type (e.g. if the
* server responded with an unexpected value).
@@ -48,7 +49,7 @@ private constructor(
body.accountVerificationLetter()
/**
- * Funding instructions.
+ * Funding instructions. Required if and only if `category` is `funding_instructions`.
*
* @throws IncreaseInvalidDataException if the JSON field has an unexpected type (e.g. if the
* server responded with an unexpected value).
@@ -139,7 +140,10 @@ private constructor(
*/
fun category(category: JsonField) = apply { body.category(category) }
- /** An account verification letter. */
+ /**
+ * An account verification letter. Required if and only if `category` is
+ * `account_verification_letter`.
+ */
fun accountVerificationLetter(accountVerificationLetter: AccountVerificationLetter) =
apply {
body.accountVerificationLetter(accountVerificationLetter)
@@ -156,7 +160,7 @@ private constructor(
accountVerificationLetter: JsonField
) = apply { body.accountVerificationLetter(accountVerificationLetter) }
- /** Funding instructions. */
+ /** Funding instructions. Required if and only if `category` is `funding_instructions`. */
fun fundingInstructions(fundingInstructions: FundingInstructions) = apply {
body.fundingInstructions(fundingInstructions)
}
@@ -345,7 +349,8 @@ private constructor(
fun category(): Category = category.getRequired("category")
/**
- * An account verification letter.
+ * An account verification letter. Required if and only if `category` is
+ * `account_verification_letter`.
*
* @throws IncreaseInvalidDataException if the JSON field has an unexpected type (e.g. if
* the server responded with an unexpected value).
@@ -354,7 +359,7 @@ private constructor(
accountVerificationLetter.getOptional("account_verification_letter")
/**
- * Funding instructions.
+ * Funding instructions. Required if and only if `category` is `funding_instructions`.
*
* @throws IncreaseInvalidDataException if the JSON field has an unexpected type (e.g. if
* the server responded with an unexpected value).
@@ -444,7 +449,10 @@ private constructor(
*/
fun category(category: JsonField) = apply { this.category = category }
- /** An account verification letter. */
+ /**
+ * An account verification letter. Required if and only if `category` is
+ * `account_verification_letter`.
+ */
fun accountVerificationLetter(accountVerificationLetter: AccountVerificationLetter) =
accountVerificationLetter(JsonField.of(accountVerificationLetter))
@@ -459,7 +467,9 @@ private constructor(
accountVerificationLetter: JsonField
) = apply { this.accountVerificationLetter = accountVerificationLetter }
- /** Funding instructions. */
+ /**
+ * Funding instructions. Required if and only if `category` is `funding_instructions`.
+ */
fun fundingInstructions(fundingInstructions: FundingInstructions) =
fundingInstructions(JsonField.of(fundingInstructions))
@@ -708,7 +718,10 @@ private constructor(
override fun toString() = value.toString()
}
- /** An account verification letter. */
+ /**
+ * An account verification letter. Required if and only if `category` is
+ * `account_verification_letter`.
+ */
class AccountVerificationLetter
private constructor(
private val accountNumberId: JsonField,
@@ -921,7 +934,7 @@ private constructor(
"AccountVerificationLetter{accountNumberId=$accountNumberId, balanceDate=$balanceDate, additionalProperties=$additionalProperties}"
}
- /** Funding instructions. */
+ /** Funding instructions. Required if and only if `category` is `funding_instructions`. */
class FundingInstructions
private constructor(
private val accountNumberId: JsonField,
diff --git a/increase-java-core/src/main/kotlin/com/increase/api/models/entities/EntityCreateParams.kt b/increase-java-core/src/main/kotlin/com/increase/api/models/entities/EntityCreateParams.kt
index 580a4b5af..9171eb6c9 100644
--- a/increase-java-core/src/main/kotlin/com/increase/api/models/entities/EntityCreateParams.kt
+++ b/increase-java-core/src/main/kotlin/com/increase/api/models/entities/EntityCreateParams.kt
@@ -59,7 +59,7 @@ private constructor(
/**
* Details of the Government Authority entity to create. Required if `structure` is equal to
- * `Government Authority`.
+ * `government_authority`.
*
* @throws IncreaseInvalidDataException if the JSON field has an unexpected type (e.g. if the
* server responded with an unexpected value).
@@ -271,7 +271,7 @@ private constructor(
/**
* Details of the Government Authority entity to create. Required if `structure` is equal to
- * `Government Authority`.
+ * `government_authority`.
*/
fun governmentAuthority(governmentAuthority: GovernmentAuthority) = apply {
body.governmentAuthority(governmentAuthority)
@@ -599,7 +599,7 @@ private constructor(
/**
* Details of the Government Authority entity to create. Required if `structure` is equal to
- * `Government Authority`.
+ * `government_authority`.
*
* @throws IncreaseInvalidDataException if the JSON field has an unexpected type (e.g. if
* the server responded with an unexpected value).
@@ -832,7 +832,7 @@ private constructor(
/**
* Details of the Government Authority entity to create. Required if `structure` is
- * equal to `Government Authority`.
+ * equal to `government_authority`.
*/
fun governmentAuthority(governmentAuthority: GovernmentAuthority) =
governmentAuthority(JsonField.of(governmentAuthority))
@@ -4931,7 +4931,7 @@ private constructor(
/**
* Details of the Government Authority entity to create. Required if `structure` is equal to
- * `Government Authority`.
+ * `government_authority`.
*/
class GovernmentAuthority
private constructor(
@@ -11893,8 +11893,8 @@ private constructor(
fun structure(): Structure = structure.getRequired("structure")
/**
- * Details of the individual trustee. Required when the trustee `structure` is equal to
- * `individual`.
+ * Details of the individual trustee. Within the trustee object, this is required if
+ * `structure` is equal to `individual`.
*
* @throws IncreaseInvalidDataException if the JSON field has an unexpected type (e.g.
* if the server responded with an unexpected value).
@@ -11975,8 +11975,8 @@ private constructor(
}
/**
- * Details of the individual trustee. Required when the trustee `structure` is equal
- * to `individual`.
+ * Details of the individual trustee. Within the trustee object, this is required if
+ * `structure` is equal to `individual`.
*/
fun individual(individual: Individual) = individual(JsonField.of(individual))
@@ -12194,8 +12194,8 @@ private constructor(
}
/**
- * Details of the individual trustee. Required when the trustee `structure` is equal to
- * `individual`.
+ * Details of the individual trustee. Within the trustee object, this is required if
+ * `structure` is equal to `individual`.
*/
class Individual
private constructor(