diff --git a/.release-please-manifest.json b/.release-please-manifest.json index f93c4039e..d4bd34171 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,3 +1,3 @@ { - ".": "0.315.0" + ".": "0.316.0" } \ No newline at end of file diff --git a/.stats.yml b/.stats.yml index 11b34180d..675fc1658 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 217 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/increase%2Fincrease-e74540ca75fc4e7a0e28d2c41c53c6131dff74e1e3c1472601db19509bb77451.yml -openapi_spec_hash: 4030ac2965b556670d1b427ffc5c554b +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/increase%2Fincrease-a91424eba488276a87e396d4172d7381d22e9ff38639a98aafdbcc2f8b53d000.yml +openapi_spec_hash: 52c779ffbbb1e3a46738d374849ca92b config_hash: e1885b38eded054b77308a024c5d80cc diff --git a/CHANGELOG.md b/CHANGELOG.md index 071f2cb3b..28dadf095 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,13 @@ # Changelog +## 0.316.0 (2025-09-05) + +Full Changelog: [v0.315.0...v0.316.0](https://github.com/Increase/increase-java/compare/v0.315.0...v0.316.0) + +### Features + +* **api:** api update ([f839d0c](https://github.com/Increase/increase-java/commit/f839d0cc70e62cb5cfa62f9d590d41ec46acf8fb)) + ## 0.315.0 (2025-09-05) Full Changelog: [v0.314.0...v0.315.0](https://github.com/Increase/increase-java/compare/v0.314.0...v0.315.0) diff --git a/README.md b/README.md index 28f544cbb..8fcadd0d1 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.315.0) -[![javadoc](https://javadoc.io/badge2/com.increase.api/increase-java/0.315.0/javadoc.svg)](https://javadoc.io/doc/com.increase.api/increase-java/0.315.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.316.0) +[![javadoc](https://javadoc.io/badge2/com.increase.api/increase-java/0.316.0/javadoc.svg)](https://javadoc.io/doc/com.increase.api/increase-java/0.316.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.315.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.316.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.315.0") +implementation("com.increase.api:increase-java:0.316.0") ``` ### Maven @@ -33,7 +33,7 @@ implementation("com.increase.api:increase-java:0.315.0") com.increase.api increase-java - 0.315.0 + 0.316.0 ``` diff --git a/build.gradle.kts b/build.gradle.kts index 57b1e49ac..ea794d305 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -8,7 +8,7 @@ repositories { allprojects { group = "com.increase.api" - version = "0.315.0" // x-release-please-version + version = "0.316.0" // x-release-please-version } subprojects { diff --git a/increase-java-core/src/main/kotlin/com/increase/api/models/entities/EntityUpdateParams.kt b/increase-java-core/src/main/kotlin/com/increase/api/models/entities/EntityUpdateParams.kt index afbd05ffc..2a3873339 100644 --- a/increase-java-core/src/main/kotlin/com/increase/api/models/entities/EntityUpdateParams.kt +++ b/increase-java-core/src/main/kotlin/com/increase/api/models/entities/EntityUpdateParams.kt @@ -35,7 +35,8 @@ private constructor( fun entityId(): Optional = Optional.ofNullable(entityId) /** - * Details of the corporation entity to update. + * Details of the corporation entity to update. If you specify this parameter and the entity is + * not a corporation, the request will fail. * * @throws IncreaseInvalidDataException if the JSON field has an unexpected type (e.g. if the * server responded with an unexpected value). @@ -43,7 +44,8 @@ private constructor( fun corporation(): Optional = body.corporation() /** - * Details of the government authority entity to update. + * Details of the government authority entity to update. If you specify this parameter and the + * entity is not a government authority, the request will fail. * * @throws IncreaseInvalidDataException if the JSON field has an unexpected type (e.g. if the * server responded with an unexpected value). @@ -51,7 +53,8 @@ private constructor( fun governmentAuthority(): Optional = body.governmentAuthority() /** - * Details of the natural person entity to update. + * Details of the natural person entity to update. If you specify this parameter and the entity + * is not a natural person, the request will fail. * * @throws IncreaseInvalidDataException if the JSON field has an unexpected type (e.g. if the * server responded with an unexpected value). @@ -77,7 +80,8 @@ private constructor( fun thirdPartyVerification(): Optional = body.thirdPartyVerification() /** - * Details of the trust entity to update. + * Details of the trust entity to update. If you specify this parameter and the entity is not a + * trust, the request will fail. * * @throws IncreaseInvalidDataException if the JSON field has an unexpected type (e.g. if the * server responded with an unexpected value). @@ -183,7 +187,10 @@ private constructor( */ fun body(body: Body) = apply { this.body = body.toBuilder() } - /** Details of the corporation entity to update. */ + /** + * Details of the corporation entity to update. If you specify this parameter and the entity + * is not a corporation, the request will fail. + */ fun corporation(corporation: Corporation) = apply { body.corporation(corporation) } /** @@ -197,7 +204,10 @@ private constructor( body.corporation(corporation) } - /** Details of the government authority entity to update. */ + /** + * Details of the government authority entity to update. If you specify this parameter and + * the entity is not a government authority, the request will fail. + */ fun governmentAuthority(governmentAuthority: GovernmentAuthority) = apply { body.governmentAuthority(governmentAuthority) } @@ -213,7 +223,10 @@ private constructor( body.governmentAuthority(governmentAuthority) } - /** Details of the natural person entity to update. */ + /** + * Details of the natural person entity to update. If you specify this parameter and the + * entity is not a natural person, the request will fail. + */ fun naturalPerson(naturalPerson: NaturalPerson) = apply { body.naturalPerson(naturalPerson) } @@ -264,7 +277,10 @@ private constructor( body.thirdPartyVerification(thirdPartyVerification) } - /** Details of the trust entity to update. */ + /** + * Details of the trust entity to update. If you specify this parameter and the entity is + * not a trust, the request will fail. + */ fun trust(trust: Trust) = apply { body.trust(trust) } /** @@ -458,7 +474,8 @@ private constructor( ) /** - * Details of the corporation entity to update. + * Details of the corporation entity to update. If you specify this parameter and the entity + * is not a corporation, the request will fail. * * @throws IncreaseInvalidDataException if the JSON field has an unexpected type (e.g. if * the server responded with an unexpected value). @@ -466,7 +483,8 @@ private constructor( fun corporation(): Optional = corporation.getOptional("corporation") /** - * Details of the government authority entity to update. + * Details of the government authority entity to update. If you specify this parameter and + * the entity is not a government authority, the request will fail. * * @throws IncreaseInvalidDataException if the JSON field has an unexpected type (e.g. if * the server responded with an unexpected value). @@ -475,7 +493,8 @@ private constructor( governmentAuthority.getOptional("government_authority") /** - * Details of the natural person entity to update. + * Details of the natural person entity to update. If you specify this parameter and the + * entity is not a natural person, the request will fail. * * @throws IncreaseInvalidDataException if the JSON field has an unexpected type (e.g. if * the server responded with an unexpected value). @@ -502,7 +521,8 @@ private constructor( thirdPartyVerification.getOptional("third_party_verification") /** - * Details of the trust entity to update. + * Details of the trust entity to update. If you specify this parameter and the entity is + * not a trust, the request will fail. * * @throws IncreaseInvalidDataException if the JSON field has an unexpected type (e.g. if * the server responded with an unexpected value). @@ -604,7 +624,10 @@ private constructor( additionalProperties = body.additionalProperties.toMutableMap() } - /** Details of the corporation entity to update. */ + /** + * Details of the corporation entity to update. If you specify this parameter and the + * entity is not a corporation, the request will fail. + */ fun corporation(corporation: Corporation) = corporation(JsonField.of(corporation)) /** @@ -618,7 +641,10 @@ private constructor( this.corporation = corporation } - /** Details of the government authority entity to update. */ + /** + * Details of the government authority entity to update. If you specify this parameter + * and the entity is not a government authority, the request will fail. + */ fun governmentAuthority(governmentAuthority: GovernmentAuthority) = governmentAuthority(JsonField.of(governmentAuthority)) @@ -633,7 +659,10 @@ private constructor( this.governmentAuthority = governmentAuthority } - /** Details of the natural person entity to update. */ + /** + * Details of the natural person entity to update. If you specify this parameter and the + * entity is not a natural person, the request will fail. + */ fun naturalPerson(naturalPerson: NaturalPerson) = naturalPerson(JsonField.of(naturalPerson)) @@ -684,7 +713,10 @@ private constructor( this.thirdPartyVerification = thirdPartyVerification } - /** Details of the trust entity to update. */ + /** + * Details of the trust entity to update. If you specify this parameter and the entity + * is not a trust, the request will fail. + */ fun trust(trust: Trust) = trust(JsonField.of(trust)) /** @@ -804,7 +836,10 @@ private constructor( "Body{corporation=$corporation, governmentAuthority=$governmentAuthority, naturalPerson=$naturalPerson, riskRating=$riskRating, thirdPartyVerification=$thirdPartyVerification, trust=$trust, additionalProperties=$additionalProperties}" } - /** Details of the corporation entity to update. */ + /** + * Details of the corporation entity to update. If you specify this parameter and the entity is + * not a corporation, the request will fail. + */ class Corporation private constructor( private val name: JsonField, @@ -945,7 +980,10 @@ private constructor( "Corporation{name=$name, additionalProperties=$additionalProperties}" } - /** Details of the government authority entity to update. */ + /** + * Details of the government authority entity to update. If you specify this parameter and the + * entity is not a government authority, the request will fail. + */ class GovernmentAuthority private constructor( private val name: JsonField, @@ -1087,7 +1125,10 @@ private constructor( "GovernmentAuthority{name=$name, additionalProperties=$additionalProperties}" } - /** Details of the natural person entity to update. */ + /** + * Details of the natural person entity to update. If you specify this parameter and the entity + * is not a natural person, the request will fail. + */ class NaturalPerson private constructor( private val name: JsonField, @@ -1930,7 +1971,10 @@ private constructor( "ThirdPartyVerification{reference=$reference, vendor=$vendor, additionalProperties=$additionalProperties}" } - /** Details of the trust entity to update. */ + /** + * Details of the trust entity to update. If you specify this parameter and the entity is not a + * trust, the request will fail. + */ class Trust private constructor( private val name: JsonField,