Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .release-please-manifest.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
".": "0.358.0"
".": "0.359.0"
}
4 changes: 2 additions & 2 deletions .stats.yml
Original file line number Diff line number Diff line change
@@ -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
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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)
Expand Down
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

<!-- x-release-please-start-version -->

[![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)

<!-- x-release-please-end -->

Expand All @@ -13,7 +13,7 @@ The Increase Java SDK is similar to the Increase Kotlin SDK but with minor diffe

<!-- x-release-please-start-version -->

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).

<!-- x-release-please-end -->

Expand All @@ -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
Expand All @@ -33,7 +33,7 @@ implementation("com.increase.api:increase-java:0.358.0")
<dependency>
<groupId>com.increase.api</groupId>
<artifactId>increase-java</artifactId>
<version>0.358.0</version>
<version>0.359.0</version>
</dependency>
```

Expand Down
2 changes: 1 addition & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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).
Expand Down Expand Up @@ -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))
Expand Down Expand Up @@ -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")

Expand All @@ -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,
}
Expand All @@ -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,
/**
Expand All @@ -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
}
Expand All @@ -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")
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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).
Expand Down Expand Up @@ -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)
Expand Down Expand Up @@ -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).
Expand Down Expand Up @@ -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))
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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")

Expand All @@ -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,
}
Expand All @@ -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. */
Expand All @@ -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
}
Expand All @@ -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")
}
Expand Down
Loading