From cde330b817f2f0f717d05c40ee82ed6108b8f4ec Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Thu, 14 Aug 2025 19:26:39 +0000 Subject: [PATCH 1/3] chore(ci): add build job --- .github/workflows/ci.yml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ea3a31527..ea35f9b9b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -36,6 +36,31 @@ jobs: - name: Run lints run: ./scripts/lint + + build: + timeout-minutes: 15 + name: build + runs-on: ${{ github.repository == 'stainless-sdks/increase-java' && 'depot-ubuntu-24.04' || 'ubuntu-latest' }} + if: github.event_name == 'push' || github.event.pull_request.head.repo.fork + + steps: + - uses: actions/checkout@v4 + + - name: Set up Java + uses: actions/setup-java@v4 + with: + distribution: temurin + java-version: | + 8 + 21 + cache: gradle + + - name: Set up Gradle + uses: gradle/actions/setup-gradle@v4 + + - name: Build SDK + run: ./scripts/build + test: timeout-minutes: 15 name: test From b3f1501730e237bce9e63957a5fcdff35941d950 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Fri, 15 Aug 2025 16:03:08 +0000 Subject: [PATCH 2/3] feat(api): api update --- .stats.yml | 4 ++-- .../api/models/externalaccounts/ExternalAccount.kt | 9 +++++++++ .../externalaccounts/ExternalAccountCreateParams.kt | 9 +++++++++ .../externalaccounts/ExternalAccountUpdateParams.kt | 9 +++++++++ 4 files changed, 29 insertions(+), 2 deletions(-) diff --git a/.stats.yml b/.stats.yml index 28ec9075a..2adac204c 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 214 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/increase%2Fincrease-a7861b46606a5a2d849c4403583805c1074983cffaf7acfe0a4d7bafa38c5efd.yml -openapi_spec_hash: a1cad356ebe1b02a67dbafbde7d7f1d4 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/increase%2Fincrease-70837ed2f8d4ade9021fc0f50bf3cd77cdf05f308c4ed75b2b4dcc42f1ec2378.yml +openapi_spec_hash: 09cf1c77dce2927cb41426a287a15437 config_hash: b0b366d8c705ea0efe62093bae953e5a diff --git a/increase-java-core/src/main/kotlin/com/increase/api/models/externalaccounts/ExternalAccount.kt b/increase-java-core/src/main/kotlin/com/increase/api/models/externalaccounts/ExternalAccount.kt index bec0138dd..16bb8dd68 100644 --- a/increase-java-core/src/main/kotlin/com/increase/api/models/externalaccounts/ExternalAccount.kt +++ b/increase-java-core/src/main/kotlin/com/increase/api/models/externalaccounts/ExternalAccount.kt @@ -713,6 +713,9 @@ private constructor( /** A savings account. */ @JvmField val SAVINGS = of("savings") + /** A general ledger account. */ + @JvmField val GENERAL_LEDGER = of("general_ledger") + /** A different type of account. */ @JvmField val OTHER = of("other") @@ -725,6 +728,8 @@ private constructor( CHECKING, /** A savings account. */ SAVINGS, + /** A general ledger account. */ + GENERAL_LEDGER, /** A different type of account. */ OTHER, } @@ -743,6 +748,8 @@ private constructor( CHECKING, /** A savings account. */ SAVINGS, + /** A general ledger account. */ + GENERAL_LEDGER, /** A different type of account. */ OTHER, /** An enum member indicating that [Funding] was instantiated with an unknown value. */ @@ -760,6 +767,7 @@ private constructor( when (this) { CHECKING -> Value.CHECKING SAVINGS -> Value.SAVINGS + GENERAL_LEDGER -> Value.GENERAL_LEDGER OTHER -> Value.OTHER else -> Value._UNKNOWN } @@ -777,6 +785,7 @@ private constructor( when (this) { CHECKING -> Known.CHECKING SAVINGS -> Known.SAVINGS + GENERAL_LEDGER -> Known.GENERAL_LEDGER OTHER -> Known.OTHER else -> throw IncreaseInvalidDataException("Unknown Funding: $value") } diff --git a/increase-java-core/src/main/kotlin/com/increase/api/models/externalaccounts/ExternalAccountCreateParams.kt b/increase-java-core/src/main/kotlin/com/increase/api/models/externalaccounts/ExternalAccountCreateParams.kt index 3dceeb459..96b3a0658 100644 --- a/increase-java-core/src/main/kotlin/com/increase/api/models/externalaccounts/ExternalAccountCreateParams.kt +++ b/increase-java-core/src/main/kotlin/com/increase/api/models/externalaccounts/ExternalAccountCreateParams.kt @@ -886,6 +886,9 @@ private constructor( /** A savings account. */ @JvmField val SAVINGS = of("savings") + /** A general ledger account. */ + @JvmField val GENERAL_LEDGER = of("general_ledger") + /** A different type of account. */ @JvmField val OTHER = of("other") @@ -898,6 +901,8 @@ private constructor( CHECKING, /** A savings account. */ SAVINGS, + /** A general ledger account. */ + GENERAL_LEDGER, /** A different type of account. */ OTHER, } @@ -916,6 +921,8 @@ private constructor( CHECKING, /** A savings account. */ SAVINGS, + /** A general ledger account. */ + GENERAL_LEDGER, /** A different type of account. */ OTHER, /** An enum member indicating that [Funding] was instantiated with an unknown value. */ @@ -933,6 +940,7 @@ private constructor( when (this) { CHECKING -> Value.CHECKING SAVINGS -> Value.SAVINGS + GENERAL_LEDGER -> Value.GENERAL_LEDGER OTHER -> Value.OTHER else -> Value._UNKNOWN } @@ -950,6 +958,7 @@ private constructor( when (this) { CHECKING -> Known.CHECKING SAVINGS -> Known.SAVINGS + GENERAL_LEDGER -> Known.GENERAL_LEDGER OTHER -> Known.OTHER else -> throw IncreaseInvalidDataException("Unknown Funding: $value") } diff --git a/increase-java-core/src/main/kotlin/com/increase/api/models/externalaccounts/ExternalAccountUpdateParams.kt b/increase-java-core/src/main/kotlin/com/increase/api/models/externalaccounts/ExternalAccountUpdateParams.kt index 537a5ae5c..54b33634c 100644 --- a/increase-java-core/src/main/kotlin/com/increase/api/models/externalaccounts/ExternalAccountUpdateParams.kt +++ b/increase-java-core/src/main/kotlin/com/increase/api/models/externalaccounts/ExternalAccountUpdateParams.kt @@ -768,6 +768,9 @@ private constructor( /** A savings account. */ @JvmField val SAVINGS = of("savings") + /** A general ledger account. */ + @JvmField val GENERAL_LEDGER = of("general_ledger") + /** A different type of account. */ @JvmField val OTHER = of("other") @@ -780,6 +783,8 @@ private constructor( CHECKING, /** A savings account. */ SAVINGS, + /** A general ledger account. */ + GENERAL_LEDGER, /** A different type of account. */ OTHER, } @@ -798,6 +803,8 @@ private constructor( CHECKING, /** A savings account. */ SAVINGS, + /** A general ledger account. */ + GENERAL_LEDGER, /** A different type of account. */ OTHER, /** An enum member indicating that [Funding] was instantiated with an unknown value. */ @@ -815,6 +822,7 @@ private constructor( when (this) { CHECKING -> Value.CHECKING SAVINGS -> Value.SAVINGS + GENERAL_LEDGER -> Value.GENERAL_LEDGER OTHER -> Value.OTHER else -> Value._UNKNOWN } @@ -832,6 +840,7 @@ private constructor( when (this) { CHECKING -> Known.CHECKING SAVINGS -> Known.SAVINGS + GENERAL_LEDGER -> Known.GENERAL_LEDGER OTHER -> Known.OTHER else -> throw IncreaseInvalidDataException("Unknown Funding: $value") } From 69865b4b972d5b4cadb5f6d5b8b445a3dcb555f4 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Fri, 15 Aug 2025 16:03:37 +0000 Subject: [PATCH 3/3] release: 0.283.0 --- .release-please-manifest.json | 2 +- CHANGELOG.md | 13 +++++++++++++ README.md | 10 +++++----- build.gradle.kts | 2 +- 4 files changed, 20 insertions(+), 7 deletions(-) diff --git a/.release-please-manifest.json b/.release-please-manifest.json index 633bf86d7..6dcf4e374 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,3 +1,3 @@ { - ".": "0.282.0" + ".": "0.283.0" } \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md index b9e0bca0d..2219cd83c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,18 @@ # Changelog +## 0.283.0 (2025-08-15) + +Full Changelog: [v0.282.0...v0.283.0](https://github.com/Increase/increase-java/compare/v0.282.0...v0.283.0) + +### Features + +* **api:** api update ([b3f1501](https://github.com/Increase/increase-java/commit/b3f1501730e237bce9e63957a5fcdff35941d950)) + + +### Chores + +* **ci:** add build job ([cde330b](https://github.com/Increase/increase-java/commit/cde330b817f2f0f717d05c40ee82ed6108b8f4ec)) + ## 0.282.0 (2025-08-14) Full Changelog: [v0.281.0...v0.282.0](https://github.com/Increase/increase-java/compare/v0.281.0...v0.282.0) diff --git a/README.md b/README.md index 619f4da9b..1fa22d569 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.282.0) -[![javadoc](https://javadoc.io/badge2/com.increase.api/increase-java/0.282.0/javadoc.svg)](https://javadoc.io/doc/com.increase.api/increase-java/0.282.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.283.0) +[![javadoc](https://javadoc.io/badge2/com.increase.api/increase-java/0.283.0/javadoc.svg)](https://javadoc.io/doc/com.increase.api/increase-java/0.283.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.282.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.283.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.282.0") +implementation("com.increase.api:increase-java:0.283.0") ``` ### Maven @@ -33,7 +33,7 @@ implementation("com.increase.api:increase-java:0.282.0") com.increase.api increase-java - 0.282.0 + 0.283.0 ``` diff --git a/build.gradle.kts b/build.gradle.kts index 49e16c84d..bf15b3627 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -8,7 +8,7 @@ repositories { allprojects { group = "com.increase.api" - version = "0.282.0" // x-release-please-version + version = "0.283.0" // x-release-please-version } subprojects {