diff --git a/.release-please-manifest.json b/.release-please-manifest.json index dfd2bb98a..bac125e6e 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,3 +1,3 @@ { - ".": "0.275.0" + ".": "0.276.0" } \ No newline at end of file diff --git a/.stats.yml b/.stats.yml index ae7a72a04..318e5b772 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-66fad62aee38079ae7b0574a128763512b551d0b0f107a056bc981123d8e348d.yml -openapi_spec_hash: 299b75e8d2f36e6fe3d2df4c10d2557c +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/increase%2Fincrease-244805b184601a0639e868cb601337a5ebe0f259576a7e22d46c881ee22e17d3.yml +openapi_spec_hash: a667a8fca7bc57f82f22ddc2a9829e19 config_hash: a185e9a72778cc4658ea73fb3a7f1354 diff --git a/CHANGELOG.md b/CHANGELOG.md index 34bc2bf61..df97ebc00 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,18 @@ # Changelog +## 0.276.0 (2025-08-07) + +Full Changelog: [v0.275.0...v0.276.0](https://github.com/Increase/increase-java/compare/v0.275.0...v0.276.0) + +### Features + +* **api:** api update ([ce9dd6a](https://github.com/Increase/increase-java/commit/ce9dd6a9721868ce23f91cf3daaf5ac3193b7871)) + + +### Chores + +* increase max gradle JVM heap to 8GB ([5530b92](https://github.com/Increase/increase-java/commit/5530b9256c2d24d12744eb6b79a0d6a6471eb65f)) + ## 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) diff --git a/README.md b/README.md index 588aab387..0db97f2df 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.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) +[![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.276.0) +[![javadoc](https://javadoc.io/badge2/com.increase.api/increase-java/0.276.0/javadoc.svg)](https://javadoc.io/doc/com.increase.api/increase-java/0.276.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.275.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.276.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.275.0") +implementation("com.increase.api:increase-java:0.276.0") ``` ### Maven @@ -33,7 +33,7 @@ implementation("com.increase.api:increase-java:0.275.0") com.increase.api increase-java - 0.275.0 + 0.276.0 ``` diff --git a/build.gradle.kts b/build.gradle.kts index 953aa314e..692da48a9 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -8,7 +8,7 @@ repositories { allprojects { group = "com.increase.api" - version = "0.275.0" // x-release-please-version + version = "0.276.0" // x-release-please-version } subprojects { diff --git a/gradle.properties b/gradle.properties index ff76593f6..6680f9ce9 100644 --- a/gradle.properties +++ b/gradle.properties @@ -4,12 +4,13 @@ org.gradle.parallel=true org.gradle.daemon=false # These options improve our compilation and test performance. They are inherited by the Kotlin daemon. org.gradle.jvmargs=\ - -Xms1g \ - -Xmx4g \ + -Xms2g \ + -Xmx8g \ -XX:+UseParallelGC \ -XX:InitialCodeCacheSize=256m \ -XX:ReservedCodeCacheSize=1G \ - -XX:MetaspaceSize=256m \ + -XX:MetaspaceSize=512m \ + -XX:MaxMetaspaceSize=2G \ -XX:TieredStopAtLevel=1 \ -XX:GCTimeRatio=4 \ -XX:CICompilerCount=4 \ diff --git a/increase-java-core/src/main/kotlin/com/increase/api/models/transactions/Transaction.kt b/increase-java-core/src/main/kotlin/com/increase/api/models/transactions/Transaction.kt index a9ce21efa..a5713492e 100644 --- a/increase-java-core/src/main/kotlin/com/increase/api/models/transactions/Transaction.kt +++ b/increase-java-core/src/main/kotlin/com/increase/api/models/transactions/Transaction.kt @@ -6773,28 +6773,27 @@ private constructor( /** The user's chargeback was submitted. */ @JvmField val CHARGEBACK_SUBMITTED = of("chargeback_submitted") - /** The user declined the merchant's request for pre-arbitration. */ + /** The user declined the merchant's pre-arbitration submission. */ @JvmField - val MERCHANT_PREARBITRATION_REQUEST_DECLINE_SUBMITTED = - of("merchant_prearbitration_request_decline_submitted") + val MERCHANT_PREARBITRATION_DECLINE_SUBMITTED = + of("merchant_prearbitration_decline_submitted") - /** The merchant's request for pre-arbitration was received. */ + /** The merchant's pre-arbitration submission was received. */ @JvmField - val MERCHANT_PREARBITRATION_REQUEST_RECEIVED = - of("merchant_prearbitration_request_received") + val MERCHANT_PREARBITRATION_RECEIVED = + of("merchant_prearbitration_received") - /** The transaction was represented by the merchant. */ + /** The transaction was re-presented by the merchant. */ @JvmField val REPRESENTED = of("represented") - /** The user's request for pre-arbitration was declined. */ + /** The user's pre-arbitration was declined by the merchant. */ @JvmField - val USER_PREARBITRATION_REQUEST_DECLINE_RECEIVED = - of("user_prearbitration_request_decline_received") + val USER_PREARBITRATION_DECLINE_RECEIVED = + of("user_prearbitration_decline_received") - /** The user's request for pre-arbitration was submitted. */ + /** The user's pre-arbitration was submitted. */ @JvmField - val USER_PREARBITRATION_REQUEST_SUBMITTED = - of("user_prearbitration_request_submitted") + val USER_PREARBITRATION_SUBMITTED = of("user_prearbitration_submitted") /** The user withdrew from the dispute. */ @JvmField val USER_WITHDRAWAL_SUBMITTED = of("user_withdrawal_submitted") @@ -6806,16 +6805,16 @@ private constructor( enum class Known { /** The user's chargeback was submitted. */ CHARGEBACK_SUBMITTED, - /** The user declined the merchant's request for pre-arbitration. */ - MERCHANT_PREARBITRATION_REQUEST_DECLINE_SUBMITTED, - /** The merchant's request for pre-arbitration was received. */ - MERCHANT_PREARBITRATION_REQUEST_RECEIVED, - /** The transaction was represented by the merchant. */ + /** The user declined the merchant's pre-arbitration submission. */ + MERCHANT_PREARBITRATION_DECLINE_SUBMITTED, + /** The merchant's pre-arbitration submission was received. */ + MERCHANT_PREARBITRATION_RECEIVED, + /** The transaction was re-presented by the merchant. */ REPRESENTED, - /** The user's request for pre-arbitration was declined. */ - USER_PREARBITRATION_REQUEST_DECLINE_RECEIVED, - /** The user's request for pre-arbitration was submitted. */ - USER_PREARBITRATION_REQUEST_SUBMITTED, + /** The user's pre-arbitration was declined by the merchant. */ + USER_PREARBITRATION_DECLINE_RECEIVED, + /** The user's pre-arbitration was submitted. */ + USER_PREARBITRATION_SUBMITTED, /** The user withdrew from the dispute. */ USER_WITHDRAWAL_SUBMITTED, } @@ -6833,16 +6832,16 @@ private constructor( enum class Value { /** The user's chargeback was submitted. */ CHARGEBACK_SUBMITTED, - /** The user declined the merchant's request for pre-arbitration. */ - MERCHANT_PREARBITRATION_REQUEST_DECLINE_SUBMITTED, - /** The merchant's request for pre-arbitration was received. */ - MERCHANT_PREARBITRATION_REQUEST_RECEIVED, - /** The transaction was represented by the merchant. */ + /** The user declined the merchant's pre-arbitration submission. */ + MERCHANT_PREARBITRATION_DECLINE_SUBMITTED, + /** The merchant's pre-arbitration submission was received. */ + MERCHANT_PREARBITRATION_RECEIVED, + /** The transaction was re-presented by the merchant. */ REPRESENTED, - /** The user's request for pre-arbitration was declined. */ - USER_PREARBITRATION_REQUEST_DECLINE_RECEIVED, - /** The user's request for pre-arbitration was submitted. */ - USER_PREARBITRATION_REQUEST_SUBMITTED, + /** The user's pre-arbitration was declined by the merchant. */ + USER_PREARBITRATION_DECLINE_RECEIVED, + /** The user's pre-arbitration was submitted. */ + USER_PREARBITRATION_SUBMITTED, /** The user withdrew from the dispute. */ USER_WITHDRAWAL_SUBMITTED, /** @@ -6862,15 +6861,14 @@ private constructor( fun value(): Value = when (this) { CHARGEBACK_SUBMITTED -> Value.CHARGEBACK_SUBMITTED - MERCHANT_PREARBITRATION_REQUEST_DECLINE_SUBMITTED -> - Value.MERCHANT_PREARBITRATION_REQUEST_DECLINE_SUBMITTED - MERCHANT_PREARBITRATION_REQUEST_RECEIVED -> - Value.MERCHANT_PREARBITRATION_REQUEST_RECEIVED + MERCHANT_PREARBITRATION_DECLINE_SUBMITTED -> + Value.MERCHANT_PREARBITRATION_DECLINE_SUBMITTED + MERCHANT_PREARBITRATION_RECEIVED -> + Value.MERCHANT_PREARBITRATION_RECEIVED REPRESENTED -> Value.REPRESENTED - USER_PREARBITRATION_REQUEST_DECLINE_RECEIVED -> - Value.USER_PREARBITRATION_REQUEST_DECLINE_RECEIVED - USER_PREARBITRATION_REQUEST_SUBMITTED -> - Value.USER_PREARBITRATION_REQUEST_SUBMITTED + USER_PREARBITRATION_DECLINE_RECEIVED -> + Value.USER_PREARBITRATION_DECLINE_RECEIVED + USER_PREARBITRATION_SUBMITTED -> Value.USER_PREARBITRATION_SUBMITTED USER_WITHDRAWAL_SUBMITTED -> Value.USER_WITHDRAWAL_SUBMITTED else -> Value._UNKNOWN } @@ -6887,15 +6885,14 @@ private constructor( fun known(): Known = when (this) { CHARGEBACK_SUBMITTED -> Known.CHARGEBACK_SUBMITTED - MERCHANT_PREARBITRATION_REQUEST_DECLINE_SUBMITTED -> - Known.MERCHANT_PREARBITRATION_REQUEST_DECLINE_SUBMITTED - MERCHANT_PREARBITRATION_REQUEST_RECEIVED -> - Known.MERCHANT_PREARBITRATION_REQUEST_RECEIVED + MERCHANT_PREARBITRATION_DECLINE_SUBMITTED -> + Known.MERCHANT_PREARBITRATION_DECLINE_SUBMITTED + MERCHANT_PREARBITRATION_RECEIVED -> + Known.MERCHANT_PREARBITRATION_RECEIVED REPRESENTED -> Known.REPRESENTED - USER_PREARBITRATION_REQUEST_DECLINE_RECEIVED -> - Known.USER_PREARBITRATION_REQUEST_DECLINE_RECEIVED - USER_PREARBITRATION_REQUEST_SUBMITTED -> - Known.USER_PREARBITRATION_REQUEST_SUBMITTED + USER_PREARBITRATION_DECLINE_RECEIVED -> + Known.USER_PREARBITRATION_DECLINE_RECEIVED + USER_PREARBITRATION_SUBMITTED -> Known.USER_PREARBITRATION_SUBMITTED USER_WITHDRAWAL_SUBMITTED -> Known.USER_WITHDRAWAL_SUBMITTED else -> throw IncreaseInvalidDataException("Unknown EventType: $value") }