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.513.0"
".": "0.514.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: 241
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/increase%2Fincrease-a507102e6e65ff03ce152e53c8ca9ed97959b797ac87b00eca5d78be3c553502.yml
openapi_spec_hash: 442ee94177455e035d8e84c85f5006f7
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/increase%2Fincrease-ec147e2dbcccb835ada48a743903d43ab228330e476558ba74dc87f248345303.yml
openapi_spec_hash: 333fdaec2de515a123cc44401b432aa2
config_hash: d48e9f65bcf642f92610034d6c43f07a
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# Changelog

## 0.514.0 (2026-04-13)

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

### Features

* **api:** api update ([953132b](https://github.com/Increase/increase-java/commit/953132be899bec311a6cacb17957029d19812a5f))

## 0.513.0 (2026-04-12)

Full Changelog: [v0.512.0...v0.513.0](https://github.com/Increase/increase-java/compare/v0.512.0...v0.513.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.513.0)
[![javadoc](https://javadoc.io/badge2/com.increase.api/increase-java/0.513.0/javadoc.svg)](https://javadoc.io/doc/com.increase.api/increase-java/0.513.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.514.0)
[![javadoc](https://javadoc.io/badge2/com.increase.api/increase-java/0.514.0/javadoc.svg)](https://javadoc.io/doc/com.increase.api/increase-java/0.514.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.513.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.514.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.513.0")
implementation("com.increase.api:increase-java:0.514.0")
```

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

subprojects {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ private constructor(
private val id: JsonField<String>,
private val corporation: JsonField<Corporation>,
private val createdAt: JsonField<OffsetDateTime>,
private val creatingEntityOnboardingSessionId: JsonField<String>,
private val description: JsonField<String>,
private val detailsConfirmedAt: JsonField<OffsetDateTime>,
private val governmentAuthority: JsonField<GovernmentAuthority>,
Expand Down Expand Up @@ -61,6 +62,9 @@ private constructor(
@JsonProperty("created_at")
@ExcludeMissing
createdAt: JsonField<OffsetDateTime> = JsonMissing.of(),
@JsonProperty("creating_entity_onboarding_session_id")
@ExcludeMissing
creatingEntityOnboardingSessionId: JsonField<String> = JsonMissing.of(),
@JsonProperty("description")
@ExcludeMissing
description: JsonField<String> = JsonMissing.of(),
Expand Down Expand Up @@ -102,6 +106,7 @@ private constructor(
id,
corporation,
createdAt,
creatingEntityOnboardingSessionId,
description,
detailsConfirmedAt,
governmentAuthority,
Expand Down Expand Up @@ -144,6 +149,15 @@ private constructor(
*/
fun createdAt(): OffsetDateTime = createdAt.getRequired("created_at")

/**
* The identifier of the Entity Onboarding Session that was used to create this Entity, if any.
*
* @throws IncreaseInvalidDataException if the JSON field has an unexpected type (e.g. if the
* server responded with an unexpected value).
*/
fun creatingEntityOnboardingSessionId(): Optional<String> =
creatingEntityOnboardingSessionId.getOptional("creating_entity_onboarding_session_id")

/**
* The entity's description for display purposes.
*
Expand Down Expand Up @@ -303,6 +317,16 @@ private constructor(
@ExcludeMissing
fun _createdAt(): JsonField<OffsetDateTime> = createdAt

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

/**
* Returns the raw JSON value of [description].
*
Expand Down Expand Up @@ -453,6 +477,7 @@ private constructor(
* .id()
* .corporation()
* .createdAt()
* .creatingEntityOnboardingSessionId()
* .description()
* .detailsConfirmedAt()
* .governmentAuthority()
Expand All @@ -479,6 +504,7 @@ private constructor(
private var id: JsonField<String>? = null
private var corporation: JsonField<Corporation>? = null
private var createdAt: JsonField<OffsetDateTime>? = null
private var creatingEntityOnboardingSessionId: JsonField<String>? = null
private var description: JsonField<String>? = null
private var detailsConfirmedAt: JsonField<OffsetDateTime>? = null
private var governmentAuthority: JsonField<GovernmentAuthority>? = null
Expand All @@ -502,6 +528,7 @@ private constructor(
id = entity.id
corporation = entity.corporation
createdAt = entity.createdAt
creatingEntityOnboardingSessionId = entity.creatingEntityOnboardingSessionId
description = entity.description
detailsConfirmedAt = entity.detailsConfirmedAt
governmentAuthority = entity.governmentAuthority
Expand Down Expand Up @@ -566,6 +593,33 @@ private constructor(
*/
fun createdAt(createdAt: JsonField<OffsetDateTime>) = apply { this.createdAt = createdAt }

/**
* The identifier of the Entity Onboarding Session that was used to create this Entity, if
* any.
*/
fun creatingEntityOnboardingSessionId(creatingEntityOnboardingSessionId: String?) =
creatingEntityOnboardingSessionId(
JsonField.ofNullable(creatingEntityOnboardingSessionId)
)

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

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

/** The entity's description for display purposes. */
fun description(description: String?) = description(JsonField.ofNullable(description))

Expand Down Expand Up @@ -889,6 +943,7 @@ private constructor(
* .id()
* .corporation()
* .createdAt()
* .creatingEntityOnboardingSessionId()
* .description()
* .detailsConfirmedAt()
* .governmentAuthority()
Expand All @@ -913,6 +968,10 @@ private constructor(
checkRequired("id", id),
checkRequired("corporation", corporation),
checkRequired("createdAt", createdAt),
checkRequired(
"creatingEntityOnboardingSessionId",
creatingEntityOnboardingSessionId,
),
checkRequired("description", description),
checkRequired("detailsConfirmedAt", detailsConfirmedAt),
checkRequired("governmentAuthority", governmentAuthority),
Expand Down Expand Up @@ -944,6 +1003,7 @@ private constructor(
id()
corporation().ifPresent { it.validate() }
createdAt()
creatingEntityOnboardingSessionId()
description()
detailsConfirmedAt()
governmentAuthority().ifPresent { it.validate() }
Expand Down Expand Up @@ -980,6 +1040,7 @@ private constructor(
(if (id.asKnown().isPresent) 1 else 0) +
(corporation.asKnown().getOrNull()?.validity() ?: 0) +
(if (createdAt.asKnown().isPresent) 1 else 0) +
(if (creatingEntityOnboardingSessionId.asKnown().isPresent) 1 else 0) +
(if (description.asKnown().isPresent) 1 else 0) +
(if (detailsConfirmedAt.asKnown().isPresent) 1 else 0) +
(governmentAuthority.asKnown().getOrNull()?.validity() ?: 0) +
Expand Down Expand Up @@ -14197,6 +14258,7 @@ private constructor(
id == other.id &&
corporation == other.corporation &&
createdAt == other.createdAt &&
creatingEntityOnboardingSessionId == other.creatingEntityOnboardingSessionId &&
description == other.description &&
detailsConfirmedAt == other.detailsConfirmedAt &&
governmentAuthority == other.governmentAuthority &&
Expand All @@ -14220,6 +14282,7 @@ private constructor(
id,
corporation,
createdAt,
creatingEntityOnboardingSessionId,
description,
detailsConfirmedAt,
governmentAuthority,
Expand All @@ -14242,5 +14305,5 @@ private constructor(
override fun hashCode(): Int = hashCode

override fun toString() =
"Entity{id=$id, corporation=$corporation, createdAt=$createdAt, description=$description, detailsConfirmedAt=$detailsConfirmedAt, governmentAuthority=$governmentAuthority, idempotencyKey=$idempotencyKey, joint=$joint, naturalPerson=$naturalPerson, riskRating=$riskRating, status=$status, structure=$structure, supplementalDocuments=$supplementalDocuments, termsAgreements=$termsAgreements, thirdPartyVerification=$thirdPartyVerification, trust=$trust, type=$type, validation=$validation, additionalProperties=$additionalProperties}"
"Entity{id=$id, corporation=$corporation, createdAt=$createdAt, creatingEntityOnboardingSessionId=$creatingEntityOnboardingSessionId, description=$description, detailsConfirmedAt=$detailsConfirmedAt, governmentAuthority=$governmentAuthority, idempotencyKey=$idempotencyKey, joint=$joint, naturalPerson=$naturalPerson, riskRating=$riskRating, status=$status, structure=$structure, supplementalDocuments=$supplementalDocuments, termsAgreements=$termsAgreements, thirdPartyVerification=$thirdPartyVerification, trust=$trust, type=$type, validation=$validation, additionalProperties=$additionalProperties}"
}
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,7 @@ internal class EntityListPageResponseTest {
.build()
)
.createdAt(OffsetDateTime.parse("2020-01-31T23:59:59Z"))
.creatingEntityOnboardingSessionId(null)
.description(null)
.detailsConfirmedAt(null)
.governmentAuthority(
Expand Down Expand Up @@ -399,6 +400,7 @@ internal class EntityListPageResponseTest {
.build()
)
.createdAt(OffsetDateTime.parse("2020-01-31T23:59:59Z"))
.creatingEntityOnboardingSessionId(null)
.description(null)
.detailsConfirmedAt(null)
.governmentAuthority(
Expand Down Expand Up @@ -712,6 +714,7 @@ internal class EntityListPageResponseTest {
.build()
)
.createdAt(OffsetDateTime.parse("2020-01-31T23:59:59Z"))
.creatingEntityOnboardingSessionId(null)
.description(null)
.detailsConfirmedAt(null)
.governmentAuthority(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@ internal class EntityTest {
.build()
)
.createdAt(OffsetDateTime.parse("2020-01-31T23:59:59Z"))
.creatingEntityOnboardingSessionId(null)
.description(null)
.detailsConfirmedAt(null)
.governmentAuthority(
Expand Down Expand Up @@ -377,6 +378,7 @@ internal class EntityTest {
.build()
)
assertThat(entity.createdAt()).isEqualTo(OffsetDateTime.parse("2020-01-31T23:59:59Z"))
assertThat(entity.creatingEntityOnboardingSessionId()).isEmpty
assertThat(entity.description()).isEmpty
assertThat(entity.detailsConfirmedAt()).isEmpty
assertThat(entity.governmentAuthority())
Expand Down Expand Up @@ -682,6 +684,7 @@ internal class EntityTest {
.build()
)
.createdAt(OffsetDateTime.parse("2020-01-31T23:59:59Z"))
.creatingEntityOnboardingSessionId(null)
.description(null)
.detailsConfirmedAt(null)
.governmentAuthority(
Expand Down
Loading