From faf7b4e048c31b2f2ddcf88aef047e68c4593ca5 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Fri, 1 May 2026 05:04:59 +0000 Subject: [PATCH 1/3] feat(api): api update --- .stats.yml | 4 ++-- .../models/simulations/entities/EntityValidationParams.kt | 7 +++++-- .../api/services/async/simulations/EntityServiceAsync.kt | 7 +++++-- .../api/services/blocking/simulations/EntityService.kt | 7 +++++-- 4 files changed, 17 insertions(+), 8 deletions(-) diff --git a/.stats.yml b/.stats.yml index 7c1929726..e3d4bfe6e 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 238 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/increase/increase-f0841004cde131703a9fc63fec3ae9ce98b63f0e8fe8d4326d1d75142538eda3.yml -openapi_spec_hash: a5a1e052b6e09ba465311f8adfcf9429 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/increase/increase-7761a7b3900011b6b82798bdc61499235a02ed9c48fa5f20e2758f4f2e45c72b.yml +openapi_spec_hash: 39139aa45b204b3144fe560fcad8893b config_hash: 060e036e1db198f2e908364c9df7096e diff --git a/increase-java-core/src/main/kotlin/com/increase/api/models/simulations/entities/EntityValidationParams.kt b/increase-java-core/src/main/kotlin/com/increase/api/models/simulations/entities/EntityValidationParams.kt index 91330e8c0..30f22c2e2 100644 --- a/increase-java-core/src/main/kotlin/com/increase/api/models/simulations/entities/EntityValidationParams.kt +++ b/increase-java-core/src/main/kotlin/com/increase/api/models/simulations/entities/EntityValidationParams.kt @@ -24,8 +24,11 @@ import java.util.Optional import kotlin.jvm.optionals.getOrNull /** - * Simulates setting an [Entity](#entities)'s validation under the managed compliance regime. Any - * existing managed compliance validation on the Entity will be marked as no longer current. + * Set the status for an + * [Entity's validation](/documentation/api/entities#entity-object.validation). In production, Know + * Your Customer validations + * [run automatically](/documentation/entity-validation#entity-validation). While developing, it can + * be helpful to override the behavior in Sandbox. */ class EntityValidationParams private constructor( diff --git a/increase-java-core/src/main/kotlin/com/increase/api/services/async/simulations/EntityServiceAsync.kt b/increase-java-core/src/main/kotlin/com/increase/api/services/async/simulations/EntityServiceAsync.kt index 26145d20c..1d417dcaa 100644 --- a/increase-java-core/src/main/kotlin/com/increase/api/services/async/simulations/EntityServiceAsync.kt +++ b/increase-java-core/src/main/kotlin/com/increase/api/services/async/simulations/EntityServiceAsync.kt @@ -25,8 +25,11 @@ interface EntityServiceAsync { fun withOptions(modifier: Consumer): EntityServiceAsync /** - * Simulates setting an [Entity](#entities)'s validation under the managed compliance regime. - * Any existing managed compliance validation on the Entity will be marked as no longer current. + * Set the status for an + * [Entity's validation](/documentation/api/entities#entity-object.validation). In production, + * Know Your Customer validations + * [run automatically](/documentation/entity-validation#entity-validation). While developing, it + * can be helpful to override the behavior in Sandbox. */ fun validation(entityId: String, params: EntityValidationParams): CompletableFuture = validation(entityId, params, RequestOptions.none()) diff --git a/increase-java-core/src/main/kotlin/com/increase/api/services/blocking/simulations/EntityService.kt b/increase-java-core/src/main/kotlin/com/increase/api/services/blocking/simulations/EntityService.kt index ee55f3532..cf0b91670 100644 --- a/increase-java-core/src/main/kotlin/com/increase/api/services/blocking/simulations/EntityService.kt +++ b/increase-java-core/src/main/kotlin/com/increase/api/services/blocking/simulations/EntityService.kt @@ -25,8 +25,11 @@ interface EntityService { fun withOptions(modifier: Consumer): EntityService /** - * Simulates setting an [Entity](#entities)'s validation under the managed compliance regime. - * Any existing managed compliance validation on the Entity will be marked as no longer current. + * Set the status for an + * [Entity's validation](/documentation/api/entities#entity-object.validation). In production, + * Know Your Customer validations + * [run automatically](/documentation/entity-validation#entity-validation). While developing, it + * can be helpful to override the behavior in Sandbox. */ fun validation(entityId: String, params: EntityValidationParams): Entity = validation(entityId, params, RequestOptions.none()) From 07de2fec9fb0b10c393979249cf24f6fec3e978e Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Fri, 1 May 2026 07:12:16 +0000 Subject: [PATCH 2/3] feat(api): api update --- .stats.yml | 4 +-- .../entities/EntityValidationParams.kt | 28 +++++++++---------- 2 files changed, 16 insertions(+), 16 deletions(-) diff --git a/.stats.yml b/.stats.yml index e3d4bfe6e..059589835 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 238 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/increase/increase-7761a7b3900011b6b82798bdc61499235a02ed9c48fa5f20e2758f4f2e45c72b.yml -openapi_spec_hash: 39139aa45b204b3144fe560fcad8893b +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/increase/increase-dfa51d8d0b4b31cb929920acfba59c9d2e928de78fc1ac44c639ff9f735727bf.yml +openapi_spec_hash: 401f64bbe952d952c600b78c42f0ed6c config_hash: 060e036e1db198f2e908364c9df7096e diff --git a/increase-java-core/src/main/kotlin/com/increase/api/models/simulations/entities/EntityValidationParams.kt b/increase-java-core/src/main/kotlin/com/increase/api/models/simulations/entities/EntityValidationParams.kt index 30f22c2e2..d5a047e2b 100644 --- a/increase-java-core/src/main/kotlin/com/increase/api/models/simulations/entities/EntityValidationParams.kt +++ b/increase-java-core/src/main/kotlin/com/increase/api/models/simulations/entities/EntityValidationParams.kt @@ -38,11 +38,11 @@ private constructor( private val additionalQueryParams: QueryParams, ) : Params { - /** The identifier of the Entity to set the validation on. */ + /** The identifier of the Entity whose validation status to update. */ fun entityId(): Optional = Optional.ofNullable(entityId) /** - * The issues to attach to the new managed compliance validation. + * The validation issues to attach. Only allowed when `status` is `invalid`. * * @throws IncreaseInvalidDataException if the JSON field has an unexpected type or is * unexpectedly missing or null (e.g. if the server responded with an unexpected value). @@ -50,7 +50,7 @@ private constructor( fun issues(): List = body.issues() /** - * The status to set on the new managed compliance validation. + * The validation status to set on the Entity. * * @throws IncreaseInvalidDataException if the JSON field has an unexpected type or is * unexpectedly missing or null (e.g. if the server responded with an unexpected value). @@ -111,7 +111,7 @@ private constructor( additionalQueryParams = entityValidationParams.additionalQueryParams.toBuilder() } - /** The identifier of the Entity to set the validation on. */ + /** The identifier of the Entity whose validation status to update. */ fun entityId(entityId: String?) = apply { this.entityId = entityId } /** Alias for calling [Builder.entityId] with `entityId.orElse(null)`. */ @@ -127,7 +127,7 @@ private constructor( */ fun body(body: Body) = apply { this.body = body.toBuilder() } - /** The issues to attach to the new managed compliance validation. */ + /** The validation issues to attach. Only allowed when `status` is `invalid`. */ fun issues(issues: List) = apply { body.issues(issues) } /** @@ -146,7 +146,7 @@ private constructor( */ fun addIssue(issue: Issue) = apply { body.addIssue(issue) } - /** The status to set on the new managed compliance validation. */ + /** The validation status to set on the Entity. */ fun status(status: Status) = apply { body.status(status) } /** @@ -325,7 +325,7 @@ private constructor( ) : this(issues, status, mutableMapOf()) /** - * The issues to attach to the new managed compliance validation. + * The validation issues to attach. Only allowed when `status` is `invalid`. * * @throws IncreaseInvalidDataException if the JSON field has an unexpected type or is * unexpectedly missing or null (e.g. if the server responded with an unexpected value). @@ -333,7 +333,7 @@ private constructor( fun issues(): List = issues.getRequired("issues") /** - * The status to set on the new managed compliance validation. + * The validation status to set on the Entity. * * @throws IncreaseInvalidDataException if the JSON field has an unexpected type or is * unexpectedly missing or null (e.g. if the server responded with an unexpected value). @@ -394,7 +394,7 @@ private constructor( additionalProperties = body.additionalProperties.toMutableMap() } - /** The issues to attach to the new managed compliance validation. */ + /** The validation issues to attach. Only allowed when `status` is `invalid`. */ fun issues(issues: List) = issues(JsonField.of(issues)) /** @@ -420,7 +420,7 @@ private constructor( } } - /** The status to set on the new managed compliance validation. */ + /** The validation status to set on the Entity. */ fun status(status: Status) = status(JsonField.of(status)) /** @@ -537,7 +537,7 @@ private constructor( ) : this(category, mutableMapOf()) /** - * The category of the issue. + * The type of issue. * * @throws IncreaseInvalidDataException if the JSON field has an unexpected type or is * unexpectedly missing or null (e.g. if the server responded with an unexpected value). @@ -588,7 +588,7 @@ private constructor( additionalProperties = issue.additionalProperties.toMutableMap() } - /** The category of the issue. */ + /** The type of issue. */ fun category(category: Category) = category(JsonField.of(category)) /** @@ -663,7 +663,7 @@ private constructor( @JvmSynthetic internal fun validity(): Int = (category.asKnown().getOrNull()?.validity() ?: 0) - /** The category of the issue. */ + /** The type of issue. */ class Category @JsonCreator private constructor(private val value: JsonField) : Enum { @@ -875,7 +875,7 @@ private constructor( "Issue{category=$category, additionalProperties=$additionalProperties}" } - /** The status to set on the new managed compliance validation. */ + /** The validation status to set on the Entity. */ class Status @JsonCreator private constructor(private val value: JsonField) : Enum { /** From 172d8888423f2191696c22247c5f28de27c714ed Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Fri, 1 May 2026 07:12:54 +0000 Subject: [PATCH 3/3] release: 0.534.0 --- .release-please-manifest.json | 2 +- CHANGELOG.md | 9 +++++++++ README.md | 10 +++++----- build.gradle.kts | 2 +- 4 files changed, 16 insertions(+), 7 deletions(-) diff --git a/.release-please-manifest.json b/.release-please-manifest.json index fbfcf3739..b50560871 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,3 +1,3 @@ { - ".": "0.533.0" + ".": "0.534.0" } \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md index 4fcd91407..fe98ea4d7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,14 @@ # Changelog +## 0.534.0 (2026-05-01) + +Full Changelog: [v0.533.0...v0.534.0](https://github.com/Increase/increase-java/compare/v0.533.0...v0.534.0) + +### Features + +* **api:** api update ([07de2fe](https://github.com/Increase/increase-java/commit/07de2fec9fb0b10c393979249cf24f6fec3e978e)) +* **api:** api update ([faf7b4e](https://github.com/Increase/increase-java/commit/faf7b4e048c31b2f2ddcf88aef047e68c4593ca5)) + ## 0.533.0 (2026-05-01) Full Changelog: [v0.532.0...v0.533.0](https://github.com/Increase/increase-java/compare/v0.532.0...v0.533.0) diff --git a/README.md b/README.md index e8277c43a..434eeb79a 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.533.0) -[![javadoc](https://javadoc.io/badge2/com.increase.api/increase-java/0.533.0/javadoc.svg)](https://javadoc.io/doc/com.increase.api/increase-java/0.533.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.534.0) +[![javadoc](https://javadoc.io/badge2/com.increase.api/increase-java/0.534.0/javadoc.svg)](https://javadoc.io/doc/com.increase.api/increase-java/0.534.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.533.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.534.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.533.0") +implementation("com.increase.api:increase-java:0.534.0") ``` ### Maven @@ -33,7 +33,7 @@ implementation("com.increase.api:increase-java:0.533.0") com.increase.api increase-java - 0.533.0 + 0.534.0 ``` diff --git a/build.gradle.kts b/build.gradle.kts index ad1e00c33..c02cdb382 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -8,7 +8,7 @@ repositories { allprojects { group = "com.increase.api" - version = "0.533.0" // x-release-please-version + version = "0.534.0" // x-release-please-version } subprojects {