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.461.0"
".": "0.462.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: 236
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/increase%2Fincrease-4699565aad7b519933c0f8789762574139b2ca7ad57c008b747eebe6a3f91eec.yml
openapi_spec_hash: 3c7cf6b8f8d59763cbdac549682f61c3
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/increase%2Fincrease-010fcebf036b735c59221760be7726699913ed68102323b49939ddd880a12e32.yml
openapi_spec_hash: 92d7bc1bf2f3034735206e358249ba5c
config_hash: dda988c5565c2f15cc708122984d7691
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# Changelog

## 0.462.0 (2026-03-11)

Full Changelog: [v0.461.0...v0.462.0](https://github.com/Increase/increase-java/compare/v0.461.0...v0.462.0)

### Features

* **api:** api update ([cc74a41](https://github.com/Increase/increase-java/commit/cc74a41519ee42024ccc481b976604a356a34acb))

## 0.461.0 (2026-03-10)

Full Changelog: [v0.460.0...v0.461.0](https://github.com/Increase/increase-java/compare/v0.460.0...v0.461.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.461.0)
[![javadoc](https://javadoc.io/badge2/com.increase.api/increase-java/0.461.0/javadoc.svg)](https://javadoc.io/doc/com.increase.api/increase-java/0.461.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.462.0)
[![javadoc](https://javadoc.io/badge2/com.increase.api/increase-java/0.462.0/javadoc.svg)](https://javadoc.io/doc/com.increase.api/increase-java/0.462.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.461.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.462.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.461.0")
implementation("com.increase.api:increase-java:0.462.0")
```

### Maven
Expand All @@ -33,7 +33,7 @@ implementation("com.increase.api:increase-java:0.461.0")
<dependency>
<groupId>com.increase.api</groupId>
<artifactId>increase-java</artifactId>
<version>0.461.0</version>
<version>0.462.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.461.0" // x-release-please-version
version = "0.462.0" // x-release-please-version
}

subprojects {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3910,6 +3910,7 @@ private constructor(
private val attempts: JsonField<List<Attempt>>,
private val createdAt: JsonField<OffsetDateTime>,
private val oneTimeCode: JsonField<String>,
private val realTimeDecisionId: JsonField<String>,
private val verificationMethod: JsonField<VerificationMethod>,
private val verificationValue: JsonField<String>,
private val additionalProperties: MutableMap<String, JsonValue>,
Expand All @@ -3926,6 +3927,9 @@ private constructor(
@JsonProperty("one_time_code")
@ExcludeMissing
oneTimeCode: JsonField<String> = JsonMissing.of(),
@JsonProperty("real_time_decision_id")
@ExcludeMissing
realTimeDecisionId: JsonField<String> = JsonMissing.of(),
@JsonProperty("verification_method")
@ExcludeMissing
verificationMethod: JsonField<VerificationMethod> = JsonMissing.of(),
Expand All @@ -3936,6 +3940,7 @@ private constructor(
attempts,
createdAt,
oneTimeCode,
realTimeDecisionId,
verificationMethod,
verificationValue,
mutableMapOf(),
Expand Down Expand Up @@ -3969,6 +3974,15 @@ private constructor(
*/
fun oneTimeCode(): String = oneTimeCode.getRequired("one_time_code")

/**
* The identifier of the Real-Time Decision used to deliver this challenge.
*
* @throws IncreaseInvalidDataException if the JSON field has an unexpected type
* (e.g. if the server responded with an unexpected value).
*/
fun realTimeDecisionId(): Optional<String> =
realTimeDecisionId.getOptional("real_time_decision_id")

/**
* The method used to verify the Card Authentication Challenge.
*
Expand Down Expand Up @@ -4019,6 +4033,16 @@ private constructor(
@ExcludeMissing
fun _oneTimeCode(): JsonField<String> = oneTimeCode

/**
* Returns the raw JSON value of [realTimeDecisionId].
*
* Unlike [realTimeDecisionId], this method doesn't throw if the JSON field has an
* unexpected type.
*/
@JsonProperty("real_time_decision_id")
@ExcludeMissing
fun _realTimeDecisionId(): JsonField<String> = realTimeDecisionId

/**
* Returns the raw JSON value of [verificationMethod].
*
Expand Down Expand Up @@ -4061,6 +4085,7 @@ private constructor(
* .attempts()
* .createdAt()
* .oneTimeCode()
* .realTimeDecisionId()
* .verificationMethod()
* .verificationValue()
* ```
Expand All @@ -4074,6 +4099,7 @@ private constructor(
private var attempts: JsonField<MutableList<Attempt>>? = null
private var createdAt: JsonField<OffsetDateTime>? = null
private var oneTimeCode: JsonField<String>? = null
private var realTimeDecisionId: JsonField<String>? = null
private var verificationMethod: JsonField<VerificationMethod>? = null
private var verificationValue: JsonField<String>? = null
private var additionalProperties: MutableMap<String, JsonValue> = mutableMapOf()
Expand All @@ -4083,6 +4109,7 @@ private constructor(
attempts = challenge.attempts.map { it.toMutableList() }
createdAt = challenge.createdAt
oneTimeCode = challenge.oneTimeCode
realTimeDecisionId = challenge.realTimeDecisionId
verificationMethod = challenge.verificationMethod
verificationValue = challenge.verificationValue
additionalProperties = challenge.additionalProperties.toMutableMap()
Expand Down Expand Up @@ -4145,6 +4172,28 @@ private constructor(
this.oneTimeCode = oneTimeCode
}

/** The identifier of the Real-Time Decision used to deliver this challenge. */
fun realTimeDecisionId(realTimeDecisionId: String?) =
realTimeDecisionId(JsonField.ofNullable(realTimeDecisionId))

/**
* Alias for calling [Builder.realTimeDecisionId] with
* `realTimeDecisionId.orElse(null)`.
*/
fun realTimeDecisionId(realTimeDecisionId: Optional<String>) =
realTimeDecisionId(realTimeDecisionId.getOrNull())

/**
* Sets [Builder.realTimeDecisionId] to an arbitrary JSON value.
*
* You should usually call [Builder.realTimeDecisionId] with a well-typed
* [String] value instead. This method is primarily for setting the field to an
* undocumented or not yet supported value.
*/
fun realTimeDecisionId(realTimeDecisionId: JsonField<String>) = apply {
this.realTimeDecisionId = realTimeDecisionId
}

/** The method used to verify the Card Authentication Challenge. */
fun verificationMethod(verificationMethod: VerificationMethod) =
verificationMethod(JsonField.of(verificationMethod))
Expand Down Expand Up @@ -4218,6 +4267,7 @@ private constructor(
* .attempts()
* .createdAt()
* .oneTimeCode()
* .realTimeDecisionId()
* .verificationMethod()
* .verificationValue()
* ```
Expand All @@ -4229,6 +4279,7 @@ private constructor(
checkRequired("attempts", attempts).map { it.toImmutable() },
checkRequired("createdAt", createdAt),
checkRequired("oneTimeCode", oneTimeCode),
checkRequired("realTimeDecisionId", realTimeDecisionId),
checkRequired("verificationMethod", verificationMethod),
checkRequired("verificationValue", verificationValue),
additionalProperties.toMutableMap(),
Expand All @@ -4245,6 +4296,7 @@ private constructor(
attempts().forEach { it.validate() }
createdAt()
oneTimeCode()
realTimeDecisionId()
verificationMethod().validate()
verificationValue()
validated = true
Expand All @@ -4269,6 +4321,7 @@ private constructor(
(attempts.asKnown().getOrNull()?.sumOf { it.validity().toInt() } ?: 0) +
(if (createdAt.asKnown().isPresent) 1 else 0) +
(if (oneTimeCode.asKnown().isPresent) 1 else 0) +
(if (realTimeDecisionId.asKnown().isPresent) 1 else 0) +
(verificationMethod.asKnown().getOrNull()?.validity() ?: 0) +
(if (verificationValue.asKnown().isPresent) 1 else 0)

Expand Down Expand Up @@ -4803,6 +4856,7 @@ private constructor(
attempts == other.attempts &&
createdAt == other.createdAt &&
oneTimeCode == other.oneTimeCode &&
realTimeDecisionId == other.realTimeDecisionId &&
verificationMethod == other.verificationMethod &&
verificationValue == other.verificationValue &&
additionalProperties == other.additionalProperties
Expand All @@ -4813,6 +4867,7 @@ private constructor(
attempts,
createdAt,
oneTimeCode,
realTimeDecisionId,
verificationMethod,
verificationValue,
additionalProperties,
Expand All @@ -4822,7 +4877,7 @@ private constructor(
override fun hashCode(): Int = hashCode

override fun toString() =
"Challenge{attempts=$attempts, createdAt=$createdAt, oneTimeCode=$oneTimeCode, verificationMethod=$verificationMethod, verificationValue=$verificationValue, additionalProperties=$additionalProperties}"
"Challenge{attempts=$attempts, createdAt=$createdAt, oneTimeCode=$oneTimeCode, realTimeDecisionId=$realTimeDecisionId, verificationMethod=$verificationMethod, verificationValue=$verificationValue, additionalProperties=$additionalProperties}"
}

/** The reason why this authentication attempt was denied, if it was. */
Expand Down
Loading
Loading