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.23.0"
".": "4.24.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: 136
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/courier/courier-47bd7f89519b4aa68b039b9a03888b689fac9d6ee763d26be0b267bbb0b2ddaa.yml
openapi_spec_hash: 67ff63b23cbfb19beac58d6e471836d3
config_hash: b30c4b3086cd9f3da06a63b256d8c189
configured_endpoints: 147
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/courier/courier-ca32540df5bca42c8113de4004e7751b74bb440e3d73267e7cbad84dd3c3e82a.yml
openapi_spec_hash: 5576c8cf8e5be1f250b5dd1eb6d30571
config_hash: c6cefb51165221f01d442a42ac4a13b9
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# Changelog

## 4.24.0 (2026-07-29)

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

### Features

* **broadcasts:** document Broadcasts CRUD REST API ([#170](https://github.com/trycourier/courier-java/issues/170)) ([a0c4ddc](https://github.com/trycourier/courier-java/commit/a0c4ddc2dd43551db2684ed6ed82f8dc4a682005))

## 4.23.0 (2026-07-29)

Full Changelog: [v4.22.0...v4.23.0](https://github.com/trycourier/courier-java/compare/v4.22.0...v4.23.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.23.0" // x-release-please-version
version = "4.24.0" // x-release-please-version
}

subprojects {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ import com.courier.services.blocking.AuditEventService
import com.courier.services.blocking.AuthService
import com.courier.services.blocking.AutomationService
import com.courier.services.blocking.BrandService
import com.courier.services.blocking.BroadcastService
import com.courier.services.blocking.DigestService
import com.courier.services.blocking.InboundService
import com.courier.services.blocking.InboxService
Expand Down Expand Up @@ -96,6 +97,8 @@ interface CourierClient {
*/
fun journeys(): JourneyService

fun broadcasts(): BroadcastService

/** Manage the logos, colors, and layout that give the templates you send a consistent look. */
fun brands(): BrandService

Expand Down Expand Up @@ -216,6 +219,8 @@ interface CourierClient {
*/
fun journeys(): JourneyService.WithRawResponse

fun broadcasts(): BroadcastService.WithRawResponse

/**
* Manage the logos, colors, and layout that give the templates you send a consistent look.
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ import com.courier.services.async.AuditEventServiceAsync
import com.courier.services.async.AuthServiceAsync
import com.courier.services.async.AutomationServiceAsync
import com.courier.services.async.BrandServiceAsync
import com.courier.services.async.BroadcastServiceAsync
import com.courier.services.async.DigestServiceAsync
import com.courier.services.async.InboundServiceAsync
import com.courier.services.async.InboxServiceAsync
Expand Down Expand Up @@ -96,6 +97,8 @@ interface CourierClientAsync {
*/
fun journeys(): JourneyServiceAsync

fun broadcasts(): BroadcastServiceAsync

/** Manage the logos, colors, and layout that give the templates you send a consistent look. */
fun brands(): BrandServiceAsync

Expand Down Expand Up @@ -220,6 +223,8 @@ interface CourierClientAsync {
*/
fun journeys(): JourneyServiceAsync.WithRawResponse

fun broadcasts(): BroadcastServiceAsync.WithRawResponse

/**
* Manage the logos, colors, and layout that give the templates you send a consistent look.
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ import com.courier.services.async.AutomationServiceAsync
import com.courier.services.async.AutomationServiceAsyncImpl
import com.courier.services.async.BrandServiceAsync
import com.courier.services.async.BrandServiceAsyncImpl
import com.courier.services.async.BroadcastServiceAsync
import com.courier.services.async.BroadcastServiceAsyncImpl
import com.courier.services.async.DigestServiceAsync
import com.courier.services.async.DigestServiceAsyncImpl
import com.courier.services.async.InboundServiceAsync
Expand Down Expand Up @@ -89,6 +91,10 @@ class CourierClientAsyncImpl(private val clientOptions: ClientOptions) : Courier
JourneyServiceAsyncImpl(clientOptionsWithUserAgent)
}

private val broadcasts: BroadcastServiceAsync by lazy {
BroadcastServiceAsyncImpl(clientOptionsWithUserAgent)
}

private val brands: BrandServiceAsync by lazy {
BrandServiceAsyncImpl(clientOptionsWithUserAgent)
}
Expand Down Expand Up @@ -182,6 +188,8 @@ class CourierClientAsyncImpl(private val clientOptions: ClientOptions) : Courier
*/
override fun journeys(): JourneyServiceAsync = journeys

override fun broadcasts(): BroadcastServiceAsync = broadcasts

/** Manage the logos, colors, and layout that give the templates you send a consistent look. */
override fun brands(): BrandServiceAsync = brands

Expand Down Expand Up @@ -276,6 +284,10 @@ class CourierClientAsyncImpl(private val clientOptions: ClientOptions) : Courier
JourneyServiceAsyncImpl.WithRawResponseImpl(clientOptions)
}

private val broadcasts: BroadcastServiceAsync.WithRawResponse by lazy {
BroadcastServiceAsyncImpl.WithRawResponseImpl(clientOptions)
}

private val brands: BrandServiceAsync.WithRawResponse by lazy {
BrandServiceAsyncImpl.WithRawResponseImpl(clientOptions)
}
Expand Down Expand Up @@ -375,6 +387,8 @@ class CourierClientAsyncImpl(private val clientOptions: ClientOptions) : Courier
*/
override fun journeys(): JourneyServiceAsync.WithRawResponse = journeys

override fun broadcasts(): BroadcastServiceAsync.WithRawResponse = broadcasts

/**
* Manage the logos, colors, and layout that give the templates you send a consistent look.
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ import com.courier.services.blocking.AutomationService
import com.courier.services.blocking.AutomationServiceImpl
import com.courier.services.blocking.BrandService
import com.courier.services.blocking.BrandServiceImpl
import com.courier.services.blocking.BroadcastService
import com.courier.services.blocking.BroadcastServiceImpl
import com.courier.services.blocking.DigestService
import com.courier.services.blocking.DigestServiceImpl
import com.courier.services.blocking.InboundService
Expand Down Expand Up @@ -87,6 +89,10 @@ class CourierClientImpl(private val clientOptions: ClientOptions) : CourierClien

private val journeys: JourneyService by lazy { JourneyServiceImpl(clientOptionsWithUserAgent) }

private val broadcasts: BroadcastService by lazy {
BroadcastServiceImpl(clientOptionsWithUserAgent)
}

private val brands: BrandService by lazy { BrandServiceImpl(clientOptionsWithUserAgent) }

private val digests: DigestService by lazy { DigestServiceImpl(clientOptionsWithUserAgent) }
Expand Down Expand Up @@ -164,6 +170,8 @@ class CourierClientImpl(private val clientOptions: ClientOptions) : CourierClien
*/
override fun journeys(): JourneyService = journeys

override fun broadcasts(): BroadcastService = broadcasts

/** Manage the logos, colors, and layout that give the templates you send a consistent look. */
override fun brands(): BrandService = brands

Expand Down Expand Up @@ -258,6 +266,10 @@ class CourierClientImpl(private val clientOptions: ClientOptions) : CourierClien
JourneyServiceImpl.WithRawResponseImpl(clientOptions)
}

private val broadcasts: BroadcastService.WithRawResponse by lazy {
BroadcastServiceImpl.WithRawResponseImpl(clientOptions)
}

private val brands: BrandService.WithRawResponse by lazy {
BrandServiceImpl.WithRawResponseImpl(clientOptions)
}
Expand Down Expand Up @@ -357,6 +369,8 @@ class CourierClientImpl(private val clientOptions: ClientOptions) : CourierClien
*/
override fun journeys(): JourneyService.WithRawResponse = journeys

override fun broadcasts(): BroadcastService.WithRawResponse = broadcasts

/**
* Manage the logos, colors, and layout that give the templates you send a consistent look.
*/
Expand Down
Loading
Loading