From 84c80048ede85a977df64caa43f742f568cf5cb2 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Thu, 7 Aug 2025 05:01:32 +0000 Subject: [PATCH 1/2] feat(api): api update --- .stats.yml | 4 ++-- .../main/kotlin/com/increase/api/models/files/File.kt | 9 +++++++++ .../com/increase/api/models/files/FileCreateParams.kt | 9 +++++++++ .../com/increase/api/models/files/FileListParams.kt | 9 +++++++++ .../com/increase/api/models/files/FileListParamsTest.kt | 6 +++--- 5 files changed, 32 insertions(+), 5 deletions(-) diff --git a/.stats.yml b/.stats.yml index f77503ab4..ae7a72a04 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 202 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/increase%2Fincrease-aca6b5e100fcf8da7f6fc67bfbf47543f197f1c3fed52d5f1147b7cbad515546.yml -openapi_spec_hash: 369011703600762a5a5d701b4e843f7b +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/increase%2Fincrease-66fad62aee38079ae7b0574a128763512b551d0b0f107a056bc981123d8e348d.yml +openapi_spec_hash: 299b75e8d2f36e6fe3d2df4c10d2557c config_hash: a185e9a72778cc4658ea73fb3a7f1354 diff --git a/increase-java-core/src/main/kotlin/com/increase/api/models/files/File.kt b/increase-java-core/src/main/kotlin/com/increase/api/models/files/File.kt index f049d357d..a08dbeb9d 100644 --- a/increase-java-core/src/main/kotlin/com/increase/api/models/files/File.kt +++ b/increase-java-core/src/main/kotlin/com/increase/api/models/files/File.kt @@ -651,6 +651,9 @@ private constructor( companion object { + /** A file to be attached to a Card Dispute. */ + @JvmField val CARD_DISPUTE_ATTACHMENT = of("card_dispute_attachment") + /** An image of the front of a check, used for check deposits. */ @JvmField val CHECK_IMAGE_FRONT = of("check_image_front") @@ -768,6 +771,8 @@ private constructor( /** An enum containing [Purpose]'s known values. */ enum class Known { + /** A file to be attached to a Card Dispute. */ + CARD_DISPUTE_ATTACHMENT, /** An image of the front of a check, used for check deposits. */ CHECK_IMAGE_FRONT, /** An image of the back of a check, used for check deposits. */ @@ -860,6 +865,8 @@ private constructor( * - It was constructed with an arbitrary value using the [of] method. */ enum class Value { + /** A file to be attached to a Card Dispute. */ + CARD_DISPUTE_ATTACHMENT, /** An image of the front of a check, used for check deposits. */ CHECK_IMAGE_FRONT, /** An image of the back of a check, used for check deposits. */ @@ -953,6 +960,7 @@ private constructor( */ fun value(): Value = when (this) { + CARD_DISPUTE_ATTACHMENT -> Value.CARD_DISPUTE_ATTACHMENT CHECK_IMAGE_FRONT -> Value.CHECK_IMAGE_FRONT CHECK_IMAGE_BACK -> Value.CHECK_IMAGE_BACK PROCESSED_CHECK_IMAGE_FRONT -> Value.PROCESSED_CHECK_IMAGE_FRONT @@ -996,6 +1004,7 @@ private constructor( */ fun known(): Known = when (this) { + CARD_DISPUTE_ATTACHMENT -> Known.CARD_DISPUTE_ATTACHMENT CHECK_IMAGE_FRONT -> Known.CHECK_IMAGE_FRONT CHECK_IMAGE_BACK -> Known.CHECK_IMAGE_BACK PROCESSED_CHECK_IMAGE_FRONT -> Known.PROCESSED_CHECK_IMAGE_FRONT diff --git a/increase-java-core/src/main/kotlin/com/increase/api/models/files/FileCreateParams.kt b/increase-java-core/src/main/kotlin/com/increase/api/models/files/FileCreateParams.kt index 3f4b26907..3dee4fca5 100644 --- a/increase-java-core/src/main/kotlin/com/increase/api/models/files/FileCreateParams.kt +++ b/increase-java-core/src/main/kotlin/com/increase/api/models/files/FileCreateParams.kt @@ -590,6 +590,9 @@ private constructor( companion object { + /** A file to be attached to a Card Dispute. */ + @JvmField val CARD_DISPUTE_ATTACHMENT = of("card_dispute_attachment") + /** An image of the front of a check, used for check deposits. */ @JvmField val CHECK_IMAGE_FRONT = of("check_image_front") @@ -664,6 +667,8 @@ private constructor( /** An enum containing [Purpose]'s known values. */ enum class Known { + /** A file to be attached to a Card Dispute. */ + CARD_DISPUTE_ATTACHMENT, /** An image of the front of a check, used for check deposits. */ CHECK_IMAGE_FRONT, /** An image of the back of a check, used for check deposits. */ @@ -726,6 +731,8 @@ private constructor( * - It was constructed with an arbitrary value using the [of] method. */ enum class Value { + /** A file to be attached to a Card Dispute. */ + CARD_DISPUTE_ATTACHMENT, /** An image of the front of a check, used for check deposits. */ CHECK_IMAGE_FRONT, /** An image of the back of a check, used for check deposits. */ @@ -789,6 +796,7 @@ private constructor( */ fun value(): Value = when (this) { + CARD_DISPUTE_ATTACHMENT -> Value.CARD_DISPUTE_ATTACHMENT CHECK_IMAGE_FRONT -> Value.CHECK_IMAGE_FRONT CHECK_IMAGE_BACK -> Value.CHECK_IMAGE_BACK MAILED_CHECK_IMAGE -> Value.MAILED_CHECK_IMAGE @@ -820,6 +828,7 @@ private constructor( */ fun known(): Known = when (this) { + CARD_DISPUTE_ATTACHMENT -> Known.CARD_DISPUTE_ATTACHMENT CHECK_IMAGE_FRONT -> Known.CHECK_IMAGE_FRONT CHECK_IMAGE_BACK -> Known.CHECK_IMAGE_BACK MAILED_CHECK_IMAGE -> Known.MAILED_CHECK_IMAGE diff --git a/increase-java-core/src/main/kotlin/com/increase/api/models/files/FileListParams.kt b/increase-java-core/src/main/kotlin/com/increase/api/models/files/FileListParams.kt index 0ba1d5f9f..f7c41ad17 100644 --- a/increase-java-core/src/main/kotlin/com/increase/api/models/files/FileListParams.kt +++ b/increase-java-core/src/main/kotlin/com/increase/api/models/files/FileListParams.kt @@ -580,6 +580,9 @@ private constructor( companion object { + /** A file to be attached to a Card Dispute. */ + @JvmField val CARD_DISPUTE_ATTACHMENT = of("card_dispute_attachment") + /** An image of the front of a check, used for check deposits. */ @JvmField val CHECK_IMAGE_FRONT = of("check_image_front") @@ -697,6 +700,8 @@ private constructor( /** An enum containing [In]'s known values. */ enum class Known { + /** A file to be attached to a Card Dispute. */ + CARD_DISPUTE_ATTACHMENT, /** An image of the front of a check, used for check deposits. */ CHECK_IMAGE_FRONT, /** An image of the back of a check, used for check deposits. */ @@ -789,6 +794,8 @@ private constructor( * - It was constructed with an arbitrary value using the [of] method. */ enum class Value { + /** A file to be attached to a Card Dispute. */ + CARD_DISPUTE_ATTACHMENT, /** An image of the front of a check, used for check deposits. */ CHECK_IMAGE_FRONT, /** An image of the back of a check, used for check deposits. */ @@ -882,6 +889,7 @@ private constructor( */ fun value(): Value = when (this) { + CARD_DISPUTE_ATTACHMENT -> Value.CARD_DISPUTE_ATTACHMENT CHECK_IMAGE_FRONT -> Value.CHECK_IMAGE_FRONT CHECK_IMAGE_BACK -> Value.CHECK_IMAGE_BACK PROCESSED_CHECK_IMAGE_FRONT -> Value.PROCESSED_CHECK_IMAGE_FRONT @@ -925,6 +933,7 @@ private constructor( */ fun known(): Known = when (this) { + CARD_DISPUTE_ATTACHMENT -> Known.CARD_DISPUTE_ATTACHMENT CHECK_IMAGE_FRONT -> Known.CHECK_IMAGE_FRONT CHECK_IMAGE_BACK -> Known.CHECK_IMAGE_BACK PROCESSED_CHECK_IMAGE_FRONT -> Known.PROCESSED_CHECK_IMAGE_FRONT diff --git a/increase-java-core/src/test/kotlin/com/increase/api/models/files/FileListParamsTest.kt b/increase-java-core/src/test/kotlin/com/increase/api/models/files/FileListParamsTest.kt index 1b4e7bf0d..a588afbe9 100644 --- a/increase-java-core/src/test/kotlin/com/increase/api/models/files/FileListParamsTest.kt +++ b/increase-java-core/src/test/kotlin/com/increase/api/models/files/FileListParamsTest.kt @@ -25,7 +25,7 @@ internal class FileListParamsTest { .limit(1L) .purpose( FileListParams.Purpose.builder() - .addIn(FileListParams.Purpose.In.CHECK_IMAGE_FRONT) + .addIn(FileListParams.Purpose.In.CARD_DISPUTE_ATTACHMENT) .build() ) .build() @@ -48,7 +48,7 @@ internal class FileListParamsTest { .limit(1L) .purpose( FileListParams.Purpose.builder() - .addIn(FileListParams.Purpose.In.CHECK_IMAGE_FRONT) + .addIn(FileListParams.Purpose.In.CARD_DISPUTE_ATTACHMENT) .build() ) .build() @@ -65,7 +65,7 @@ internal class FileListParamsTest { .put("cursor", "cursor") .put("idempotency_key", "x") .put("limit", "1") - .put("purpose.in", listOf("check_image_front").joinToString(",")) + .put("purpose.in", listOf("card_dispute_attachment").joinToString(",")) .build() ) } From 5353e52b850363336319ee61c5b6c3a8fdffd3b0 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Thu, 7 Aug 2025 05:01:57 +0000 Subject: [PATCH 2/2] release: 0.275.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 72584123a..dfd2bb98a 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,3 +1,3 @@ { - ".": "0.274.0" + ".": "0.275.0" } \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md index 1c2d9b132..34bc2bf61 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,13 @@ # Changelog +## 0.275.0 (2025-08-07) + +Full Changelog: [v0.274.0...v0.275.0](https://github.com/Increase/increase-java/compare/v0.274.0...v0.275.0) + +### Features + +* **api:** api update ([84c8004](https://github.com/Increase/increase-java/commit/84c80048ede85a977df64caa43f742f568cf5cb2)) + ## 0.274.0 (2025-08-06) Full Changelog: [v0.273.0...v0.274.0](https://github.com/Increase/increase-java/compare/v0.273.0...v0.274.0) diff --git a/README.md b/README.md index a80bb67e4..588aab387 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.274.0) -[![javadoc](https://javadoc.io/badge2/com.increase.api/increase-java/0.274.0/javadoc.svg)](https://javadoc.io/doc/com.increase.api/increase-java/0.274.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.275.0) +[![javadoc](https://javadoc.io/badge2/com.increase.api/increase-java/0.275.0/javadoc.svg)](https://javadoc.io/doc/com.increase.api/increase-java/0.275.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.274.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.275.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.274.0") +implementation("com.increase.api:increase-java:0.275.0") ``` ### Maven @@ -33,7 +33,7 @@ implementation("com.increase.api:increase-java:0.274.0") com.increase.api increase-java - 0.274.0 + 0.275.0 ``` diff --git a/build.gradle.kts b/build.gradle.kts index 62942a96d..953aa314e 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -8,7 +8,7 @@ repositories { allprojects { group = "com.increase.api" - version = "0.274.0" // x-release-please-version + version = "0.275.0" // x-release-please-version } subprojects {