From be62ef406e40c196304e793687f8f39838c5f387 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Fri, 7 Nov 2025 22:56:06 +0000 Subject: [PATCH 1/2] feat(api): api update --- .stats.yml | 4 ++-- .../api/models/checktransfers/CheckTransfer.kt | 17 +++++++++++++---- .../checktransfers/CheckTransferCreateParams.kt | 16 ++++++++-------- .../CheckTransferStopPaymentParams.kt | 9 +++++++++ 4 files changed, 32 insertions(+), 14 deletions(-) diff --git a/.stats.yml b/.stats.yml index 7a7a9db64..7ba77f512 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 228 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/increase%2Fincrease-20e1561a0d8d3d75c643376822d6e039bcc63f27fd1feff20b8b1e6aced1decd.yml -openapi_spec_hash: 225581a20e328afe5ebba8ee801e002b +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/increase%2Fincrease-8c1e7b6c76b828e1835e628850b33c7468a0db61db1df8e5b781868445ecf25c.yml +openapi_spec_hash: eff2b69771bdda576c42980ca05fdc79 config_hash: eb2035151c7b49c2f12caf55469b8f9a diff --git a/increase-java-core/src/main/kotlin/com/increase/api/models/checktransfers/CheckTransfer.kt b/increase-java-core/src/main/kotlin/com/increase/api/models/checktransfers/CheckTransfer.kt index 14af696d8..e6e351ddf 100644 --- a/increase-java-core/src/main/kotlin/com/increase/api/models/checktransfers/CheckTransfer.kt +++ b/increase-java-core/src/main/kotlin/com/increase/api/models/checktransfers/CheckTransfer.kt @@ -354,8 +354,8 @@ private constructor( /** * If set, the check will be valid on or before this date. After this date, the check transfer - * will be stopped and deposits will not be accepted. For checks printed by Increase, this date - * is included on the check as its expiry. + * will be automatically stopped and deposits will not be accepted. For checks printed by + * Increase, this date is included on the check as its expiry. * * @throws IncreaseInvalidDataException if the JSON field has an unexpected type (e.g. if the * server responded with an unexpected value). @@ -1093,8 +1093,8 @@ private constructor( /** * If set, the check will be valid on or before this date. After this date, the check - * transfer will be stopped and deposits will not be accepted. For checks printed by - * Increase, this date is included on the check as its expiry. + * transfer will be automatically stopped and deposits will not be accepted. For checks + * printed by Increase, this date is included on the check as its expiry. */ fun validUntilDate(validUntilDate: LocalDate?) = validUntilDate(JsonField.ofNullable(validUntilDate)) @@ -6002,6 +6002,9 @@ private constructor( /** The check was not authorized. */ @JvmField val NOT_AUTHORIZED = of("not_authorized") + /** The check was stopped for `valid_until_date` being in the past. */ + @JvmField val VALID_UNTIL_DATE_PASSED = of("valid_until_date_passed") + /** The check was stopped for another reason. */ @JvmField val UNKNOWN = of("unknown") @@ -6019,6 +6022,8 @@ private constructor( REJECTED_BY_INCREASE, /** The check was not authorized. */ NOT_AUTHORIZED, + /** The check was stopped for `valid_until_date` being in the past. */ + VALID_UNTIL_DATE_PASSED, /** The check was stopped for another reason. */ UNKNOWN, } @@ -6042,6 +6047,8 @@ private constructor( REJECTED_BY_INCREASE, /** The check was not authorized. */ NOT_AUTHORIZED, + /** The check was stopped for `valid_until_date` being in the past. */ + VALID_UNTIL_DATE_PASSED, /** The check was stopped for another reason. */ UNKNOWN, /** @@ -6062,6 +6069,7 @@ private constructor( MAIL_DELIVERY_FAILED -> Value.MAIL_DELIVERY_FAILED REJECTED_BY_INCREASE -> Value.REJECTED_BY_INCREASE NOT_AUTHORIZED -> Value.NOT_AUTHORIZED + VALID_UNTIL_DATE_PASSED -> Value.VALID_UNTIL_DATE_PASSED UNKNOWN -> Value.UNKNOWN else -> Value._UNKNOWN } @@ -6080,6 +6088,7 @@ private constructor( MAIL_DELIVERY_FAILED -> Known.MAIL_DELIVERY_FAILED REJECTED_BY_INCREASE -> Known.REJECTED_BY_INCREASE NOT_AUTHORIZED -> Known.NOT_AUTHORIZED + VALID_UNTIL_DATE_PASSED -> Known.VALID_UNTIL_DATE_PASSED UNKNOWN -> Known.UNKNOWN else -> throw IncreaseInvalidDataException("Unknown Reason: $value") } diff --git a/increase-java-core/src/main/kotlin/com/increase/api/models/checktransfers/CheckTransferCreateParams.kt b/increase-java-core/src/main/kotlin/com/increase/api/models/checktransfers/CheckTransferCreateParams.kt index ee943d95f..d02bf89f2 100644 --- a/increase-java-core/src/main/kotlin/com/increase/api/models/checktransfers/CheckTransferCreateParams.kt +++ b/increase-java-core/src/main/kotlin/com/increase/api/models/checktransfers/CheckTransferCreateParams.kt @@ -113,8 +113,8 @@ private constructor( /** * If provided, the check will be valid on or before this date. After this date, the check - * transfer will be stopped and deposits will not be accepted. For checks printed by Increase, - * this date is included on the check as its expiry. + * transfer will be automatically stopped and deposits will not be accepted. For checks printed + * by Increase, this date is included on the check as its expiry. * * @throws IncreaseInvalidDataException if the JSON field has an unexpected type (e.g. if the * server responded with an unexpected value). @@ -392,8 +392,8 @@ private constructor( /** * If provided, the check will be valid on or before this date. After this date, the check - * transfer will be stopped and deposits will not be accepted. For checks printed by - * Increase, this date is included on the check as its expiry. + * transfer will be automatically stopped and deposits will not be accepted. For checks + * printed by Increase, this date is included on the check as its expiry. */ fun validUntilDate(validUntilDate: LocalDate) = apply { body.validUntilDate(validUntilDate) @@ -700,8 +700,8 @@ private constructor( /** * If provided, the check will be valid on or before this date. After this date, the check - * transfer will be stopped and deposits will not be accepted. For checks printed by - * Increase, this date is included on the check as its expiry. + * transfer will be automatically stopped and deposits will not be accepted. For checks + * printed by Increase, this date is included on the check as its expiry. * * @throws IncreaseInvalidDataException if the JSON field has an unexpected type (e.g. if * the server responded with an unexpected value). @@ -1004,8 +1004,8 @@ private constructor( /** * If provided, the check will be valid on or before this date. After this date, the - * check transfer will be stopped and deposits will not be accepted. For checks printed - * by Increase, this date is included on the check as its expiry. + * check transfer will be automatically stopped and deposits will not be accepted. For + * checks printed by Increase, this date is included on the check as its expiry. */ fun validUntilDate(validUntilDate: LocalDate) = validUntilDate(JsonField.of(validUntilDate)) diff --git a/increase-java-core/src/main/kotlin/com/increase/api/models/checktransfers/CheckTransferStopPaymentParams.kt b/increase-java-core/src/main/kotlin/com/increase/api/models/checktransfers/CheckTransferStopPaymentParams.kt index b540ea922..042f40417 100644 --- a/increase-java-core/src/main/kotlin/com/increase/api/models/checktransfers/CheckTransferStopPaymentParams.kt +++ b/increase-java-core/src/main/kotlin/com/increase/api/models/checktransfers/CheckTransferStopPaymentParams.kt @@ -417,6 +417,9 @@ private constructor( /** The check was not authorized. */ @JvmField val NOT_AUTHORIZED = of("not_authorized") + /** The check was stopped for `valid_until_date` being in the past. */ + @JvmField val VALID_UNTIL_DATE_PASSED = of("valid_until_date_passed") + /** The check was stopped for another reason. */ @JvmField val UNKNOWN = of("unknown") @@ -429,6 +432,8 @@ private constructor( MAIL_DELIVERY_FAILED, /** The check was not authorized. */ NOT_AUTHORIZED, + /** The check was stopped for `valid_until_date` being in the past. */ + VALID_UNTIL_DATE_PASSED, /** The check was stopped for another reason. */ UNKNOWN, } @@ -447,6 +452,8 @@ private constructor( MAIL_DELIVERY_FAILED, /** The check was not authorized. */ NOT_AUTHORIZED, + /** The check was stopped for `valid_until_date` being in the past. */ + VALID_UNTIL_DATE_PASSED, /** The check was stopped for another reason. */ UNKNOWN, /** An enum member indicating that [Reason] was instantiated with an unknown value. */ @@ -464,6 +471,7 @@ private constructor( when (this) { MAIL_DELIVERY_FAILED -> Value.MAIL_DELIVERY_FAILED NOT_AUTHORIZED -> Value.NOT_AUTHORIZED + VALID_UNTIL_DATE_PASSED -> Value.VALID_UNTIL_DATE_PASSED UNKNOWN -> Value.UNKNOWN else -> Value._UNKNOWN } @@ -481,6 +489,7 @@ private constructor( when (this) { MAIL_DELIVERY_FAILED -> Known.MAIL_DELIVERY_FAILED NOT_AUTHORIZED -> Known.NOT_AUTHORIZED + VALID_UNTIL_DATE_PASSED -> Known.VALID_UNTIL_DATE_PASSED UNKNOWN -> Known.UNKNOWN else -> throw IncreaseInvalidDataException("Unknown Reason: $value") } From db4cf4e659cf2283632f3ffef425bc6abf42ff07 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Fri, 7 Nov 2025 22:56:31 +0000 Subject: [PATCH 2/2] release: 0.359.0 --- .release-please-manifest.json | 2 +- CHANGELOG.md | 8 ++++++++ README.md | 10 +++++----- build.gradle.kts | 2 +- 4 files changed, 15 insertions(+), 7 deletions(-) diff --git a/.release-please-manifest.json b/.release-please-manifest.json index f124d47b5..e9f340470 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,3 +1,3 @@ { - ".": "0.358.0" + ".": "0.359.0" } \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md index 66b681ae5..ce90d019d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,13 @@ # Changelog +## 0.359.0 (2025-11-07) + +Full Changelog: [v0.358.0...v0.359.0](https://github.com/Increase/increase-java/compare/v0.358.0...v0.359.0) + +### Features + +* **api:** api update ([be62ef4](https://github.com/Increase/increase-java/commit/be62ef406e40c196304e793687f8f39838c5f387)) + ## 0.358.0 (2025-11-07) Full Changelog: [v0.357.0...v0.358.0](https://github.com/Increase/increase-java/compare/v0.357.0...v0.358.0) diff --git a/README.md b/README.md index a2bf53f6c..c6507569c 100644 --- a/README.md +++ b/README.md @@ -2,8 +2,8 @@ -[![Maven Central](https://img.shields.io/maven-central/v/com.increase.api/increase-java)](https://central.sonatype.com/artifact/com.increase.api/increase-java/0.358.0) -[![javadoc](https://javadoc.io/badge2/com.increase.api/increase-java/0.358.0/javadoc.svg)](https://javadoc.io/doc/com.increase.api/increase-java/0.358.0) +[![Maven Central](https://img.shields.io/maven-central/v/com.increase.api/increase-java)](https://central.sonatype.com/artifact/com.increase.api/increase-java/0.359.0) +[![javadoc](https://javadoc.io/badge2/com.increase.api/increase-java/0.359.0/javadoc.svg)](https://javadoc.io/doc/com.increase.api/increase-java/0.359.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.358.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.359.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.358.0") +implementation("com.increase.api:increase-java:0.359.0") ``` ### Maven @@ -33,7 +33,7 @@ implementation("com.increase.api:increase-java:0.358.0") com.increase.api increase-java - 0.358.0 + 0.359.0 ``` diff --git a/build.gradle.kts b/build.gradle.kts index feeed5b21..b61d6f4d5 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -8,7 +8,7 @@ repositories { allprojects { group = "com.increase.api" - version = "0.358.0" // x-release-please-version + version = "0.359.0" // x-release-please-version } subprojects {