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 @@
{
".": "4.17.0"
".": "4.18.0"
}
8 changes: 4 additions & 4 deletions .stats.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
configured_endpoints: 123
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/courier/courier-f54bd32a07b6d85cfda75812728f86aa295b0f3fb662ead7670179f809195896.yml
openapi_spec_hash: 0a283754d97445ef84d50720ba47081a
config_hash: 3536872b17998fc451577505e15afb3d
configured_endpoints: 134
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/courier/courier-e0c54fd2a28d7beec2c18a6c7abb833e0dd9b14e99c48cf1cfd126f664f1dc62.yml
openapi_spec_hash: 713a396d0875e2000de918032b499b2e
config_hash: 83c79a6ad0a0b5dcce3b85208026343b
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# Changelog

## 4.18.0 (2026-06-24)

Full Changelog: [v4.17.0...v4.18.0](https://github.com/trycourier/courier-java/compare/v4.17.0...v4.18.0)

### Features

* **preferences:** workspace preference sections & nested topics endpoints ([a2e9d20](https://github.com/trycourier/courier-java/commit/a2e9d20128590a3a1487ef3ac17a53c647d9ea14))

## 4.17.0 (2026-06-23)

Full Changelog: [v4.16.0...v4.17.0](https://github.com/trycourier/courier-java/compare/v4.16.0...v4.17.0)
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.courier"
version = "4.17.0" // x-release-please-version
version = "4.18.0" // x-release-please-version
}

subprojects {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ import com.courier.services.blocking.JourneyService
import com.courier.services.blocking.ListService
import com.courier.services.blocking.MessageService
import com.courier.services.blocking.NotificationService
import com.courier.services.blocking.PreferenceSectionService
import com.courier.services.blocking.ProfileService
import com.courier.services.blocking.ProviderService
import com.courier.services.blocking.RequestService
Expand Down Expand Up @@ -93,6 +94,8 @@ interface CourierClient {

fun routingStrategies(): RoutingStrategyService

fun preferenceSections(): PreferenceSectionService

fun profiles(): ProfileService

fun tenants(): TenantService
Expand Down Expand Up @@ -156,6 +159,8 @@ interface CourierClient {

fun routingStrategies(): RoutingStrategyService.WithRawResponse

fun preferenceSections(): PreferenceSectionService.WithRawResponse

fun profiles(): ProfileService.WithRawResponse

fun tenants(): TenantService.WithRawResponse
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ import com.courier.services.async.JourneyServiceAsync
import com.courier.services.async.ListServiceAsync
import com.courier.services.async.MessageServiceAsync
import com.courier.services.async.NotificationServiceAsync
import com.courier.services.async.PreferenceSectionServiceAsync
import com.courier.services.async.ProfileServiceAsync
import com.courier.services.async.ProviderServiceAsync
import com.courier.services.async.RequestServiceAsync
Expand Down Expand Up @@ -93,6 +94,8 @@ interface CourierClientAsync {

fun routingStrategies(): RoutingStrategyServiceAsync

fun preferenceSections(): PreferenceSectionServiceAsync

fun profiles(): ProfileServiceAsync

fun tenants(): TenantServiceAsync
Expand Down Expand Up @@ -160,6 +163,8 @@ interface CourierClientAsync {

fun routingStrategies(): RoutingStrategyServiceAsync.WithRawResponse

fun preferenceSections(): PreferenceSectionServiceAsync.WithRawResponse

fun profiles(): ProfileServiceAsync.WithRawResponse

fun tenants(): TenantServiceAsync.WithRawResponse
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@ import com.courier.services.async.MessageServiceAsync
import com.courier.services.async.MessageServiceAsyncImpl
import com.courier.services.async.NotificationServiceAsync
import com.courier.services.async.NotificationServiceAsyncImpl
import com.courier.services.async.PreferenceSectionServiceAsync
import com.courier.services.async.PreferenceSectionServiceAsyncImpl
import com.courier.services.async.ProfileServiceAsync
import com.courier.services.async.ProfileServiceAsyncImpl
import com.courier.services.async.ProviderServiceAsync
Expand Down Expand Up @@ -119,6 +121,10 @@ class CourierClientAsyncImpl(private val clientOptions: ClientOptions) : Courier
RoutingStrategyServiceAsyncImpl(clientOptionsWithUserAgent)
}

private val preferenceSections: PreferenceSectionServiceAsync by lazy {
PreferenceSectionServiceAsyncImpl(clientOptionsWithUserAgent)
}

private val profiles: ProfileServiceAsync by lazy {
ProfileServiceAsyncImpl(clientOptionsWithUserAgent)
}
Expand Down Expand Up @@ -172,6 +178,8 @@ class CourierClientAsyncImpl(private val clientOptions: ClientOptions) : Courier

override fun routingStrategies(): RoutingStrategyServiceAsync = routingStrategies

override fun preferenceSections(): PreferenceSectionServiceAsync = preferenceSections

override fun profiles(): ProfileServiceAsync = profiles

override fun tenants(): TenantServiceAsync = tenants
Expand Down Expand Up @@ -249,6 +257,10 @@ class CourierClientAsyncImpl(private val clientOptions: ClientOptions) : Courier
RoutingStrategyServiceAsyncImpl.WithRawResponseImpl(clientOptions)
}

private val preferenceSections: PreferenceSectionServiceAsync.WithRawResponse by lazy {
PreferenceSectionServiceAsyncImpl.WithRawResponseImpl(clientOptions)
}

private val profiles: ProfileServiceAsync.WithRawResponse by lazy {
ProfileServiceAsyncImpl.WithRawResponseImpl(clientOptions)
}
Expand Down Expand Up @@ -305,6 +317,9 @@ class CourierClientAsyncImpl(private val clientOptions: ClientOptions) : Courier
override fun routingStrategies(): RoutingStrategyServiceAsync.WithRawResponse =
routingStrategies

override fun preferenceSections(): PreferenceSectionServiceAsync.WithRawResponse =
preferenceSections

override fun profiles(): ProfileServiceAsync.WithRawResponse = profiles

override fun tenants(): TenantServiceAsync.WithRawResponse = tenants
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@ import com.courier.services.blocking.MessageService
import com.courier.services.blocking.MessageServiceImpl
import com.courier.services.blocking.NotificationService
import com.courier.services.blocking.NotificationServiceImpl
import com.courier.services.blocking.PreferenceSectionService
import com.courier.services.blocking.PreferenceSectionServiceImpl
import com.courier.services.blocking.ProfileService
import com.courier.services.blocking.ProfileServiceImpl
import com.courier.services.blocking.ProviderService
Expand Down Expand Up @@ -107,6 +109,10 @@ class CourierClientImpl(private val clientOptions: ClientOptions) : CourierClien
RoutingStrategyServiceImpl(clientOptionsWithUserAgent)
}

private val preferenceSections: PreferenceSectionService by lazy {
PreferenceSectionServiceImpl(clientOptionsWithUserAgent)
}

private val profiles: ProfileService by lazy { ProfileServiceImpl(clientOptionsWithUserAgent) }

private val tenants: TenantService by lazy { TenantServiceImpl(clientOptionsWithUserAgent) }
Expand Down Expand Up @@ -156,6 +162,8 @@ class CourierClientImpl(private val clientOptions: ClientOptions) : CourierClien

override fun routingStrategies(): RoutingStrategyService = routingStrategies

override fun preferenceSections(): PreferenceSectionService = preferenceSections

override fun profiles(): ProfileService = profiles

override fun tenants(): TenantService = tenants
Expand Down Expand Up @@ -233,6 +241,10 @@ class CourierClientImpl(private val clientOptions: ClientOptions) : CourierClien
RoutingStrategyServiceImpl.WithRawResponseImpl(clientOptions)
}

private val preferenceSections: PreferenceSectionService.WithRawResponse by lazy {
PreferenceSectionServiceImpl.WithRawResponseImpl(clientOptions)
}

private val profiles: ProfileService.WithRawResponse by lazy {
ProfileServiceImpl.WithRawResponseImpl(clientOptions)
}
Expand Down Expand Up @@ -288,6 +300,9 @@ class CourierClientImpl(private val clientOptions: ClientOptions) : CourierClien

override fun routingStrategies(): RoutingStrategyService.WithRawResponse = routingStrategies

override fun preferenceSections(): PreferenceSectionService.WithRawResponse =
preferenceSections

override fun profiles(): ProfileService.WithRawResponse = profiles

override fun tenants(): TenantService.WithRawResponse = tenants
Expand Down
Loading
Loading