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.20.1"
".": "4.20.2"
}
4 changes: 2 additions & 2 deletions .stats.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
configured_endpoints: 138
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/courier/courier-e8d4bd51bf260b8a6cb9875718e36eab95d4e8d9490cd6c5c669eb69b82c2bf8.yml
openapi_spec_hash: bf321581a238ae891debcc5bb59dd501
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/courier/courier-11e1931d767cef402bbed5a965746d1933ae72db0f41881860593a0b1424fd80.yml
openapi_spec_hash: 9def941805f233f8761c4bdae88f6137
config_hash: 6c3a754258f0f77e9032a90a478ab76d
9 changes: 9 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
# Changelog

## 4.20.2 (2026-07-10)

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

### Documentation

* **openapi:** canonical type-id prefixes across all examples ([#162](https://github.com/trycourier/courier-java/issues/162)) ([b1dacb2](https://github.com/trycourier/courier-java/commit/b1dacb2964d6575f6b8749f2ede2cc24a1626743))
* **openapi:** use canonical type-id prefixes in id examples ([#160](https://github.com/trycourier/courier-java/issues/160)) ([94930d2](https://github.com/trycourier/courier-java/commit/94930d2713a1fe2dadaa64409b469ba3fac29f2f))

## 4.20.1 (2026-07-09)

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

subprojects {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,9 @@ internal class NotificationCreateParamsTest {
.notification(
NotificationTemplatePayload.builder()
.brand(
NotificationTemplatePayload.Brand.builder().id("brand_abc").build()
NotificationTemplatePayload.Brand.builder()
.id("bnd_01kx4mrd0pfzw8wt7pn7p2fzag")
.build()
)
.content(
ElementalContent.builder()
Expand All @@ -33,12 +35,12 @@ internal class NotificationCreateParamsTest {
.name("Welcome Email")
.routing(
NotificationTemplatePayload.Routing.builder()
.strategyId("rs_123")
.strategyId("rs_01kx4h2jdafq8bk9amzvy6hbv0")
.build()
)
.subscription(
NotificationTemplatePayload.Subscription.builder()
.topicId("marketing")
.topicId("pt_01kx4h2jdafq8bk9a26x0kvd1t")
.build()
)
.addTag("onboarding")
Expand All @@ -61,7 +63,7 @@ internal class NotificationCreateParamsTest {
NotificationTemplatePayload.builder()
.brand(
NotificationTemplatePayload.Brand.builder()
.id("brand_abc")
.id("bnd_01kx4mrd0pfzw8wt7pn7p2fzag")
.build()
)
.content(
Expand All @@ -77,12 +79,12 @@ internal class NotificationCreateParamsTest {
.name("Welcome Email")
.routing(
NotificationTemplatePayload.Routing.builder()
.strategyId("rs_123")
.strategyId("rs_01kx4h2jdafq8bk9amzvy6hbv0")
.build()
)
.subscription(
NotificationTemplatePayload.Subscription.builder()
.topicId("marketing")
.topicId("pt_01kx4h2jdafq8bk9a26x0kvd1t")
.build()
)
.addTag("onboarding")
Expand All @@ -102,7 +104,9 @@ internal class NotificationCreateParamsTest {
.notification(
NotificationTemplatePayload.builder()
.brand(
NotificationTemplatePayload.Brand.builder().id("brand_abc").build()
NotificationTemplatePayload.Brand.builder()
.id("bnd_01kx4mrd0pfzw8wt7pn7p2fzag")
.build()
)
.content(
ElementalContent.builder()
Expand All @@ -117,12 +121,12 @@ internal class NotificationCreateParamsTest {
.name("Welcome Email")
.routing(
NotificationTemplatePayload.Routing.builder()
.strategyId("rs_123")
.strategyId("rs_01kx4h2jdafq8bk9amzvy6hbv0")
.build()
)
.subscription(
NotificationTemplatePayload.Subscription.builder()
.topicId("marketing")
.topicId("pt_01kx4h2jdafq8bk9a26x0kvd1t")
.build()
)
.addTag("onboarding")
Expand All @@ -144,7 +148,7 @@ internal class NotificationCreateParamsTest {
NotificationTemplatePayload.builder()
.brand(
NotificationTemplatePayload.Brand.builder()
.id("brand_abc")
.id("bnd_01kx4mrd0pfzw8wt7pn7p2fzag")
.build()
)
.content(
Expand All @@ -156,12 +160,12 @@ internal class NotificationCreateParamsTest {
.name("Welcome Email")
.routing(
NotificationTemplatePayload.Routing.builder()
.strategyId("rs_123")
.strategyId("rs_01kx4h2jdafq8bk9amzvy6hbv0")
.build()
)
.subscription(
NotificationTemplatePayload.Subscription.builder()
.topicId("marketing")
.topicId("pt_01kx4h2jdafq8bk9a26x0kvd1t")
.build()
)
.addTag("onboarding")
Expand All @@ -180,7 +184,9 @@ internal class NotificationCreateParamsTest {
.notification(
NotificationTemplatePayload.builder()
.brand(
NotificationTemplatePayload.Brand.builder().id("brand_abc").build()
NotificationTemplatePayload.Brand.builder()
.id("bnd_01kx4mrd0pfzw8wt7pn7p2fzag")
.build()
)
.content(
ElementalContent.builder()
Expand All @@ -191,12 +197,12 @@ internal class NotificationCreateParamsTest {
.name("Welcome Email")
.routing(
NotificationTemplatePayload.Routing.builder()
.strategyId("rs_123")
.strategyId("rs_01kx4h2jdafq8bk9amzvy6hbv0")
.build()
)
.subscription(
NotificationTemplatePayload.Subscription.builder()
.topicId("marketing")
.topicId("pt_01kx4h2jdafq8bk9a26x0kvd1t")
.build()
)
.addTag("onboarding")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ internal class PreferenceBulkReplaceParamsTest {
.addTopic(
PreferenceBulkReplaceParams.Topic.builder()
.status(PreferenceBulkReplaceParams.Topic.Status.OPTED_IN)
.topicId("74Q4QGFBEX481DP6JRPMV751H4XT")
.topicId("pt_01kx4h2jdafq8bk996nn92357r")
.addCustomRouting(ChannelClassification.INBOX)
.addCustomRouting(ChannelClassification.EMAIL)
.hasCustomRouting(true)
Expand All @@ -34,7 +34,7 @@ internal class PreferenceBulkReplaceParamsTest {
.addTopic(
PreferenceBulkReplaceParams.Topic.builder()
.status(PreferenceBulkReplaceParams.Topic.Status.OPTED_IN)
.topicId("74Q4QGFBEX481DP6JRPMV751H4XT")
.topicId("pt_01kx4h2jdafq8bk996nn92357r")
.build()
)
.build()
Expand All @@ -53,7 +53,7 @@ internal class PreferenceBulkReplaceParamsTest {
.addTopic(
PreferenceBulkReplaceParams.Topic.builder()
.status(PreferenceBulkReplaceParams.Topic.Status.OPTED_IN)
.topicId("74Q4QGFBEX481DP6JRPMV751H4XT")
.topicId("pt_01kx4h2jdafq8bk996nn92357r")
.addCustomRouting(ChannelClassification.INBOX)
.addCustomRouting(ChannelClassification.EMAIL)
.hasCustomRouting(true)
Expand All @@ -75,7 +75,7 @@ internal class PreferenceBulkReplaceParamsTest {
.addTopic(
PreferenceBulkReplaceParams.Topic.builder()
.status(PreferenceBulkReplaceParams.Topic.Status.OPTED_IN)
.topicId("74Q4QGFBEX481DP6JRPMV751H4XT")
.topicId("pt_01kx4h2jdafq8bk996nn92357r")
.build()
)
.build()
Expand All @@ -94,7 +94,7 @@ internal class PreferenceBulkReplaceParamsTest {
.addTopic(
PreferenceBulkReplaceParams.Topic.builder()
.status(PreferenceBulkReplaceParams.Topic.Status.OPTED_IN)
.topicId("74Q4QGFBEX481DP6JRPMV751H4XT")
.topicId("pt_01kx4h2jdafq8bk996nn92357r")
.addCustomRouting(ChannelClassification.INBOX)
.addCustomRouting(ChannelClassification.EMAIL)
.hasCustomRouting(true)
Expand All @@ -108,7 +108,7 @@ internal class PreferenceBulkReplaceParamsTest {
.containsExactly(
PreferenceBulkReplaceParams.Topic.builder()
.status(PreferenceBulkReplaceParams.Topic.Status.OPTED_IN)
.topicId("74Q4QGFBEX481DP6JRPMV751H4XT")
.topicId("pt_01kx4h2jdafq8bk996nn92357r")
.addCustomRouting(ChannelClassification.INBOX)
.addCustomRouting(ChannelClassification.EMAIL)
.hasCustomRouting(true)
Expand All @@ -124,7 +124,7 @@ internal class PreferenceBulkReplaceParamsTest {
.addTopic(
PreferenceBulkReplaceParams.Topic.builder()
.status(PreferenceBulkReplaceParams.Topic.Status.OPTED_IN)
.topicId("74Q4QGFBEX481DP6JRPMV751H4XT")
.topicId("pt_01kx4h2jdafq8bk996nn92357r")
.build()
)
.build()
Expand All @@ -135,7 +135,7 @@ internal class PreferenceBulkReplaceParamsTest {
.containsExactly(
PreferenceBulkReplaceParams.Topic.builder()
.status(PreferenceBulkReplaceParams.Topic.Status.OPTED_IN)
.topicId("74Q4QGFBEX481DP6JRPMV751H4XT")
.topicId("pt_01kx4h2jdafq8bk996nn92357r")
.build()
)
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ internal class PreferenceBulkUpdateParamsTest {
.addTopic(
PreferenceBulkUpdateParams.Topic.builder()
.status(PreferenceBulkUpdateParams.Topic.Status.OPTED_IN)
.topicId("74Q4QGFBEX481DP6JRPMV751H4XT")
.topicId("pt_01kx4h2jdafq8bk996nn92357r")
.addCustomRouting(ChannelClassification.INBOX)
.addCustomRouting(ChannelClassification.EMAIL)
.hasCustomRouting(true)
Expand All @@ -26,7 +26,7 @@ internal class PreferenceBulkUpdateParamsTest {
.addTopic(
PreferenceBulkUpdateParams.Topic.builder()
.status(PreferenceBulkUpdateParams.Topic.Status.OPTED_OUT)
.topicId("5Q4QGFBEX481DP6JRPMV751H4YU")
.topicId("pt_01kx4h2jdafq8bk99eyt3dx43x")
.addCustomRouting(ChannelClassification.DIRECT_MESSAGE)
.hasCustomRouting(true)
.build()
Expand All @@ -42,13 +42,13 @@ internal class PreferenceBulkUpdateParamsTest {
.addTopic(
PreferenceBulkUpdateParams.Topic.builder()
.status(PreferenceBulkUpdateParams.Topic.Status.OPTED_IN)
.topicId("74Q4QGFBEX481DP6JRPMV751H4XT")
.topicId("pt_01kx4h2jdafq8bk996nn92357r")
.build()
)
.addTopic(
PreferenceBulkUpdateParams.Topic.builder()
.status(PreferenceBulkUpdateParams.Topic.Status.OPTED_OUT)
.topicId("5Q4QGFBEX481DP6JRPMV751H4YU")
.topicId("pt_01kx4h2jdafq8bk99eyt3dx43x")
.build()
)
.build()
Expand All @@ -67,7 +67,7 @@ internal class PreferenceBulkUpdateParamsTest {
.addTopic(
PreferenceBulkUpdateParams.Topic.builder()
.status(PreferenceBulkUpdateParams.Topic.Status.OPTED_IN)
.topicId("74Q4QGFBEX481DP6JRPMV751H4XT")
.topicId("pt_01kx4h2jdafq8bk996nn92357r")
.addCustomRouting(ChannelClassification.INBOX)
.addCustomRouting(ChannelClassification.EMAIL)
.hasCustomRouting(true)
Expand All @@ -76,7 +76,7 @@ internal class PreferenceBulkUpdateParamsTest {
.addTopic(
PreferenceBulkUpdateParams.Topic.builder()
.status(PreferenceBulkUpdateParams.Topic.Status.OPTED_OUT)
.topicId("5Q4QGFBEX481DP6JRPMV751H4YU")
.topicId("pt_01kx4h2jdafq8bk99eyt3dx43x")
.addCustomRouting(ChannelClassification.DIRECT_MESSAGE)
.hasCustomRouting(true)
.build()
Expand All @@ -97,13 +97,13 @@ internal class PreferenceBulkUpdateParamsTest {
.addTopic(
PreferenceBulkUpdateParams.Topic.builder()
.status(PreferenceBulkUpdateParams.Topic.Status.OPTED_IN)
.topicId("74Q4QGFBEX481DP6JRPMV751H4XT")
.topicId("pt_01kx4h2jdafq8bk996nn92357r")
.build()
)
.addTopic(
PreferenceBulkUpdateParams.Topic.builder()
.status(PreferenceBulkUpdateParams.Topic.Status.OPTED_OUT)
.topicId("5Q4QGFBEX481DP6JRPMV751H4YU")
.topicId("pt_01kx4h2jdafq8bk99eyt3dx43x")
.build()
)
.build()
Expand All @@ -122,7 +122,7 @@ internal class PreferenceBulkUpdateParamsTest {
.addTopic(
PreferenceBulkUpdateParams.Topic.builder()
.status(PreferenceBulkUpdateParams.Topic.Status.OPTED_IN)
.topicId("74Q4QGFBEX481DP6JRPMV751H4XT")
.topicId("pt_01kx4h2jdafq8bk996nn92357r")
.addCustomRouting(ChannelClassification.INBOX)
.addCustomRouting(ChannelClassification.EMAIL)
.hasCustomRouting(true)
Expand All @@ -131,7 +131,7 @@ internal class PreferenceBulkUpdateParamsTest {
.addTopic(
PreferenceBulkUpdateParams.Topic.builder()
.status(PreferenceBulkUpdateParams.Topic.Status.OPTED_OUT)
.topicId("5Q4QGFBEX481DP6JRPMV751H4YU")
.topicId("pt_01kx4h2jdafq8bk99eyt3dx43x")
.addCustomRouting(ChannelClassification.DIRECT_MESSAGE)
.hasCustomRouting(true)
.build()
Expand All @@ -144,14 +144,14 @@ internal class PreferenceBulkUpdateParamsTest {
.containsExactly(
PreferenceBulkUpdateParams.Topic.builder()
.status(PreferenceBulkUpdateParams.Topic.Status.OPTED_IN)
.topicId("74Q4QGFBEX481DP6JRPMV751H4XT")
.topicId("pt_01kx4h2jdafq8bk996nn92357r")
.addCustomRouting(ChannelClassification.INBOX)
.addCustomRouting(ChannelClassification.EMAIL)
.hasCustomRouting(true)
.build(),
PreferenceBulkUpdateParams.Topic.builder()
.status(PreferenceBulkUpdateParams.Topic.Status.OPTED_OUT)
.topicId("5Q4QGFBEX481DP6JRPMV751H4YU")
.topicId("pt_01kx4h2jdafq8bk99eyt3dx43x")
.addCustomRouting(ChannelClassification.DIRECT_MESSAGE)
.hasCustomRouting(true)
.build(),
Expand All @@ -166,13 +166,13 @@ internal class PreferenceBulkUpdateParamsTest {
.addTopic(
PreferenceBulkUpdateParams.Topic.builder()
.status(PreferenceBulkUpdateParams.Topic.Status.OPTED_IN)
.topicId("74Q4QGFBEX481DP6JRPMV751H4XT")
.topicId("pt_01kx4h2jdafq8bk996nn92357r")
.build()
)
.addTopic(
PreferenceBulkUpdateParams.Topic.builder()
.status(PreferenceBulkUpdateParams.Topic.Status.OPTED_OUT)
.topicId("5Q4QGFBEX481DP6JRPMV751H4YU")
.topicId("pt_01kx4h2jdafq8bk99eyt3dx43x")
.build()
)
.build()
Expand All @@ -183,11 +183,11 @@ internal class PreferenceBulkUpdateParamsTest {
.containsExactly(
PreferenceBulkUpdateParams.Topic.builder()
.status(PreferenceBulkUpdateParams.Topic.Status.OPTED_IN)
.topicId("74Q4QGFBEX481DP6JRPMV751H4XT")
.topicId("pt_01kx4h2jdafq8bk996nn92357r")
.build(),
PreferenceBulkUpdateParams.Topic.builder()
.status(PreferenceBulkUpdateParams.Topic.Status.OPTED_OUT)
.topicId("5Q4QGFBEX481DP6JRPMV751H4YU")
.topicId("pt_01kx4h2jdafq8bk99eyt3dx43x")
.build(),
)
}
Expand Down
Loading
Loading