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.439.0"
".": "0.440.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: 235
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/increase%2Fincrease-e9d1e51ce8416b747bc7ee664bb2c2e2095e2c5e49bad9e3a9c9657f3fed5994.yml
openapi_spec_hash: db0318b3db534a5982ab89666b2e0117
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/increase%2Fincrease-d23465ee6dfaa64549fa617a3dd213d86a1ddbcf0d01e6595dad4dc8a72d3060.yml
openapi_spec_hash: 48b1e64041179b50d44dd4c58cb515d0
config_hash: 463c5cf7a7f13cf7db270b287814b56c
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# Changelog

## 0.440.0 (2026-03-03)

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

### Features

* **api:** api update ([072a26b](https://github.com/Increase/increase-java/commit/072a26b0019c7a6cfa2752846c4b91043f40981d))

## 0.439.0 (2026-03-02)

Full Changelog: [v0.438.0...v0.439.0](https://github.com/Increase/increase-java/compare/v0.438.0...v0.439.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.439.0)
[![javadoc](https://javadoc.io/badge2/com.increase.api/increase-java/0.439.0/javadoc.svg)](https://javadoc.io/doc/com.increase.api/increase-java/0.439.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.440.0)
[![javadoc](https://javadoc.io/badge2/com.increase.api/increase-java/0.440.0/javadoc.svg)](https://javadoc.io/doc/com.increase.api/increase-java/0.440.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.439.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.440.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.439.0")
implementation("com.increase.api:increase-java:0.440.0")
```

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

subprojects {
Expand Down

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

package com.increase.api.models.eventsubscriptions

import kotlin.jvm.optionals.getOrNull
import org.assertj.core.api.Assertions.assertThat
import org.junit.jupiter.api.Test

Expand All @@ -12,8 +13,13 @@ internal class EventSubscriptionCreateParamsTest {
EventSubscriptionCreateParams.builder()
.url("https://website.com/webhooks")
.oauthConnectionId("x")
.selectedEventCategory(
EventSubscriptionCreateParams.SelectedEventCategory.ACCOUNT_CREATED
.addSelectedEventCategory(
EventSubscriptionCreateParams.SelectedEventCategory.builder()
.eventCategory(
EventSubscriptionCreateParams.SelectedEventCategory.EventCategory
.ACCOUNT_CREATED
)
.build()
)
.sharedSecret("x")
.status(EventSubscriptionCreateParams.Status.ACTIVE)
Expand All @@ -26,8 +32,13 @@ internal class EventSubscriptionCreateParamsTest {
EventSubscriptionCreateParams.builder()
.url("https://website.com/webhooks")
.oauthConnectionId("x")
.selectedEventCategory(
EventSubscriptionCreateParams.SelectedEventCategory.ACCOUNT_CREATED
.addSelectedEventCategory(
EventSubscriptionCreateParams.SelectedEventCategory.builder()
.eventCategory(
EventSubscriptionCreateParams.SelectedEventCategory.EventCategory
.ACCOUNT_CREATED
)
.build()
)
.sharedSecret("x")
.status(EventSubscriptionCreateParams.Status.ACTIVE)
Expand All @@ -37,8 +48,15 @@ internal class EventSubscriptionCreateParamsTest {

assertThat(body.url()).isEqualTo("https://website.com/webhooks")
assertThat(body.oauthConnectionId()).contains("x")
assertThat(body.selectedEventCategory())
.contains(EventSubscriptionCreateParams.SelectedEventCategory.ACCOUNT_CREATED)
assertThat(body.selectedEventCategories().getOrNull())
.containsExactly(
EventSubscriptionCreateParams.SelectedEventCategory.builder()
.eventCategory(
EventSubscriptionCreateParams.SelectedEventCategory.EventCategory
.ACCOUNT_CREATED
)
.build()
)
assertThat(body.sharedSecret()).contains("x")
assertThat(body.status()).contains(EventSubscriptionCreateParams.Status.ACTIVE)
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,13 @@ internal class EventSubscriptionServiceAsyncTest {
EventSubscriptionCreateParams.builder()
.url("https://website.com/webhooks")
.oauthConnectionId("x")
.selectedEventCategory(
EventSubscriptionCreateParams.SelectedEventCategory.ACCOUNT_CREATED
.addSelectedEventCategory(
EventSubscriptionCreateParams.SelectedEventCategory.builder()
.eventCategory(
EventSubscriptionCreateParams.SelectedEventCategory.EventCategory
.ACCOUNT_CREATED
)
.build()
)
.sharedSecret("x")
.status(EventSubscriptionCreateParams.Status.ACTIVE)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,13 @@ internal class EventSubscriptionServiceTest {
EventSubscriptionCreateParams.builder()
.url("https://website.com/webhooks")
.oauthConnectionId("x")
.selectedEventCategory(
EventSubscriptionCreateParams.SelectedEventCategory.ACCOUNT_CREATED
.addSelectedEventCategory(
EventSubscriptionCreateParams.SelectedEventCategory.builder()
.eventCategory(
EventSubscriptionCreateParams.SelectedEventCategory.EventCategory
.ACCOUNT_CREATED
)
.build()
)
.sharedSecret("x")
.status(EventSubscriptionCreateParams.Status.ACTIVE)
Expand Down
Loading