diff --git a/.release-please-manifest.json b/.release-please-manifest.json index 47ff3fbc0..ea3af08e2 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,3 +1,3 @@ { - ".": "0.521.0" + ".": "0.522.0" } \ No newline at end of file diff --git a/.stats.yml b/.stats.yml index 07f7fc021..04bc1d542 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 241 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/increase%2Fincrease-aec0771e5d68377a9a6c78d552a4617290beabcb5efb2e895b18f70bde573115.yml -openapi_spec_hash: 3da305207c91d4ade84d70fd64691c88 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/increase%2Fincrease-0ade14905d5af7ea62dd4dfa6419ea74e95db9076730c5eb2316288bc3bfe8dc.yml +openapi_spec_hash: 24c41baa76ee48175d432a61d5c2ae8e config_hash: cb5b8736705c06b670f6a25484622d62 diff --git a/CHANGELOG.md b/CHANGELOG.md index c94de4468..47d540f9b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,18 @@ # Changelog +## 0.522.0 (2026-04-20) + +Full Changelog: [v0.521.0...v0.522.0](https://github.com/Increase/increase-java/compare/v0.521.0...v0.522.0) + +### Features + +* **api:** api update ([5b980ca](https://github.com/Increase/increase-java/commit/5b980ca569d1c6c3db06c88084f99d2733a3738d)) + + +### Chores + +* **tests:** bump steady to v0.22.1 ([19db1d3](https://github.com/Increase/increase-java/commit/19db1d3618779cafc6de06b8ac0f95900a27eab7)) + ## 0.521.0 (2026-04-17) Full Changelog: [v0.520.0...v0.521.0](https://github.com/Increase/increase-java/compare/v0.520.0...v0.521.0) diff --git a/README.md b/README.md index 4158a7312..c2d19581a 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.521.0) -[![javadoc](https://javadoc.io/badge2/com.increase.api/increase-java/0.521.0/javadoc.svg)](https://javadoc.io/doc/com.increase.api/increase-java/0.521.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.522.0) +[![javadoc](https://javadoc.io/badge2/com.increase.api/increase-java/0.522.0/javadoc.svg)](https://javadoc.io/doc/com.increase.api/increase-java/0.522.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.521.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.522.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.521.0") +implementation("com.increase.api:increase-java:0.522.0") ``` ### Maven @@ -33,7 +33,7 @@ implementation("com.increase.api:increase-java:0.521.0") com.increase.api increase-java - 0.521.0 + 0.522.0 ``` diff --git a/build.gradle.kts b/build.gradle.kts index 16dad00ca..22e6da935 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -8,7 +8,7 @@ repositories { allprojects { group = "com.increase.api" - version = "0.521.0" // x-release-please-version + version = "0.522.0" // x-release-please-version } subprojects { diff --git a/increase-java-core/src/main/kotlin/com/increase/api/models/inboundmailitems/InboundMailItemActionParams.kt b/increase-java-core/src/main/kotlin/com/increase/api/models/inboundmailitems/InboundMailItemActionParams.kt index 397551d15..a4419a7e2 100644 --- a/increase-java-core/src/main/kotlin/com/increase/api/models/inboundmailitems/InboundMailItemActionParams.kt +++ b/increase-java-core/src/main/kotlin/com/increase/api/models/inboundmailitems/InboundMailItemActionParams.kt @@ -477,8 +477,7 @@ private constructor( fun action(): Action = action.getRequired("action") /** - * The identifier of the Account to deposit the check into. If not provided, the check will - * be deposited into the Account associated with the Lockbox. + * The identifier of the Account to deposit the check into. * * @throws IncreaseInvalidDataException if the JSON field has an unexpected type (e.g. if * the server responded with an unexpected value). @@ -550,10 +549,7 @@ private constructor( */ fun action(action: JsonField) = apply { this.action = action } - /** - * The identifier of the Account to deposit the check into. If not provided, the check - * will be deposited into the Account associated with the Lockbox. - */ + /** The identifier of the Account to deposit the check into. */ fun accountId(accountId: String) = accountId(JsonField.of(accountId)) /** diff --git a/increase-java-core/src/test/kotlin/com/increase/api/models/inboundmailitems/InboundMailItemActionParamsTest.kt b/increase-java-core/src/test/kotlin/com/increase/api/models/inboundmailitems/InboundMailItemActionParamsTest.kt index 8871d4f20..94eded682 100644 --- a/increase-java-core/src/test/kotlin/com/increase/api/models/inboundmailitems/InboundMailItemActionParamsTest.kt +++ b/increase-java-core/src/test/kotlin/com/increase/api/models/inboundmailitems/InboundMailItemActionParamsTest.kt @@ -20,7 +20,7 @@ internal class InboundMailItemActionParamsTest { .addCheck( InboundMailItemActionParams.Check.builder() .action(InboundMailItemActionParams.Check.Action.IGNORE) - .accountId("account_id") + .accountId("account_in71c4amph0vgo2qllky") .build() ) .build() @@ -62,7 +62,7 @@ internal class InboundMailItemActionParamsTest { .addCheck( InboundMailItemActionParams.Check.builder() .action(InboundMailItemActionParams.Check.Action.IGNORE) - .accountId("account_id") + .accountId("account_in71c4amph0vgo2qllky") .build() ) .build() @@ -77,7 +77,7 @@ internal class InboundMailItemActionParamsTest { .build(), InboundMailItemActionParams.Check.builder() .action(InboundMailItemActionParams.Check.Action.IGNORE) - .accountId("account_id") + .accountId("account_in71c4amph0vgo2qllky") .build(), ) } diff --git a/increase-java-core/src/test/kotlin/com/increase/api/services/async/InboundMailItemServiceAsyncTest.kt b/increase-java-core/src/test/kotlin/com/increase/api/services/async/InboundMailItemServiceAsyncTest.kt index 65878cf42..1a7b98377 100644 --- a/increase-java-core/src/test/kotlin/com/increase/api/services/async/InboundMailItemServiceAsyncTest.kt +++ b/increase-java-core/src/test/kotlin/com/increase/api/services/async/InboundMailItemServiceAsyncTest.kt @@ -64,7 +64,7 @@ internal class InboundMailItemServiceAsyncTest { .addCheck( InboundMailItemActionParams.Check.builder() .action(InboundMailItemActionParams.Check.Action.IGNORE) - .accountId("account_id") + .accountId("account_in71c4amph0vgo2qllky") .build() ) .build() diff --git a/increase-java-core/src/test/kotlin/com/increase/api/services/blocking/InboundMailItemServiceTest.kt b/increase-java-core/src/test/kotlin/com/increase/api/services/blocking/InboundMailItemServiceTest.kt index bd983e582..bcbaff9a5 100644 --- a/increase-java-core/src/test/kotlin/com/increase/api/services/blocking/InboundMailItemServiceTest.kt +++ b/increase-java-core/src/test/kotlin/com/increase/api/services/blocking/InboundMailItemServiceTest.kt @@ -62,7 +62,7 @@ internal class InboundMailItemServiceTest { .addCheck( InboundMailItemActionParams.Check.builder() .action(InboundMailItemActionParams.Check.Action.IGNORE) - .accountId("account_id") + .accountId("account_in71c4amph0vgo2qllky") .build() ) .build() diff --git a/scripts/mock b/scripts/mock index 1aea7aabe..7ee8d158b 100755 --- a/scripts/mock +++ b/scripts/mock @@ -22,9 +22,9 @@ echo "==> Starting mock server with URL ${URL}" # Run steady mock on the given spec if [ "$1" == "--daemon" ]; then # Pre-install the package so the download doesn't eat into the startup timeout - npm exec --package=@stdy/cli@0.20.2 -- steady --version + npm exec --package=@stdy/cli@0.22.1 -- steady --version - npm exec --package=@stdy/cli@0.20.2 -- steady --host 127.0.0.1 -p 4010 --validator-query-array-format=comma --validator-form-array-format=comma --validator-query-object-format=dots --validator-form-object-format=dots "$URL" &> .stdy.log & + npm exec --package=@stdy/cli@0.22.1 -- steady --host 127.0.0.1 -p 4010 --validator-query-array-format=comma --validator-form-array-format=comma --validator-query-object-format=dots --validator-form-object-format=dots "$URL" &> .stdy.log & # Wait for server to come online via health endpoint (max 30s) echo -n "Waiting for server" @@ -48,5 +48,5 @@ if [ "$1" == "--daemon" ]; then echo else - npm exec --package=@stdy/cli@0.20.2 -- steady --host 127.0.0.1 -p 4010 --validator-query-array-format=comma --validator-form-array-format=comma --validator-query-object-format=dots --validator-form-object-format=dots "$URL" + npm exec --package=@stdy/cli@0.22.1 -- steady --host 127.0.0.1 -p 4010 --validator-query-array-format=comma --validator-form-array-format=comma --validator-query-object-format=dots --validator-form-object-format=dots "$URL" fi diff --git a/scripts/test b/scripts/test index 473c4547c..60bf7dc5e 100755 --- a/scripts/test +++ b/scripts/test @@ -43,7 +43,7 @@ elif ! steady_is_running ; then echo -e "To run the server, pass in the path or url of your OpenAPI" echo -e "spec to the steady command:" echo - echo -e " \$ ${YELLOW}npm exec --package=@stdy/cli@0.20.2 -- steady path/to/your.openapi.yml --host 127.0.0.1 -p 4010 --validator-query-array-format=comma --validator-form-array-format=comma --validator-query-object-format=dots --validator-form-object-format=dots${NC}" + echo -e " \$ ${YELLOW}npm exec --package=@stdy/cli@0.22.1 -- steady path/to/your.openapi.yml --host 127.0.0.1 -p 4010 --validator-query-array-format=comma --validator-form-array-format=comma --validator-query-object-format=dots --validator-form-object-format=dots${NC}" echo exit 1