Skip to content
Open
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.1.0-alpha.36"
".": "0.1.0-alpha.37"
}
4 changes: 2 additions & 2 deletions .stats.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
configured_endpoints: 20
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/brand-dev%2Fbrand.dev-67e4ffa39d74649a6ae6b21e9f86cffa83c8a02d640ca6b4d4a3e619b54fbd38.yml
openapi_spec_hash: 762e7ea7ae23297cc6b01f600a485410
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/brand-dev%2Fbrand.dev-5fa88d5279ee91162b7b446f7612fd1e49b5c14e958aeef151e6e942af699286.yml
openapi_spec_hash: b2746128fd1c16d64946e99b2b0137b9
config_hash: 4cd3173ea1cce7183640aae49cfbb374
19 changes: 19 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,24 @@
# Changelog

## 0.1.0-alpha.37 (2026-03-20)

Full Changelog: [v0.1.0-alpha.36...v0.1.0-alpha.37](https://github.com/brand-dot-dev/java-sdk/compare/v0.1.0-alpha.36...v0.1.0-alpha.37)

### Features

* **api:** api update ([55370b0](https://github.com/brand-dot-dev/java-sdk/commit/55370b0403061c15f1d20350f4f82c12de8212bd))


### Bug Fixes

* **client:** allow updating header/query affecting fields in `toBuilder()` ([f2b664a](https://github.com/brand-dot-dev/java-sdk/commit/f2b664a8fe0a14e40d39744eb997dd977bdb8dfc))


### Chores

* **internal:** bump ktfmt ([787dd90](https://github.com/brand-dot-dev/java-sdk/commit/787dd90a803475074b3f2203e8d0b91175343460))
* **internal:** update retry delay tests ([bab2317](https://github.com/brand-dot-dev/java-sdk/commit/bab2317ae040c7bb94d252c5fc682c3898674f93))

## 0.1.0-alpha.36 (2026-03-18)

Full Changelog: [v0.1.0-alpha.35...v0.1.0-alpha.36](https://github.com/brand-dot-dev/java-sdk/compare/v0.1.0-alpha.35...v0.1.0-alpha.36)
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.branddev.api/brand-dev-java)](https://central.sonatype.com/artifact/com.branddev.api/brand-dev-java/0.1.0-alpha.36)
[![javadoc](https://javadoc.io/badge2/com.branddev.api/brand-dev-java/0.1.0-alpha.36/javadoc.svg)](https://javadoc.io/doc/com.branddev.api/brand-dev-java/0.1.0-alpha.36)
[![Maven Central](https://img.shields.io/maven-central/v/com.branddev.api/brand-dev-java)](https://central.sonatype.com/artifact/com.branddev.api/brand-dev-java/0.1.0-alpha.37)
[![javadoc](https://javadoc.io/badge2/com.branddev.api/brand-dev-java/0.1.0-alpha.37/javadoc.svg)](https://javadoc.io/doc/com.branddev.api/brand-dev-java/0.1.0-alpha.37)

<!-- x-release-please-end -->

Expand All @@ -22,7 +22,7 @@ Use the Brand Dev MCP Server to enable AI assistants to interact with this API,

<!-- x-release-please-start-version -->

The REST API documentation can be found on [docs.brand.dev](https://docs.brand.dev/). Javadocs are available on [javadoc.io](https://javadoc.io/doc/com.branddev.api/brand-dev-java/0.1.0-alpha.36).
The REST API documentation can be found on [docs.brand.dev](https://docs.brand.dev/). Javadocs are available on [javadoc.io](https://javadoc.io/doc/com.branddev.api/brand-dev-java/0.1.0-alpha.37).

<!-- x-release-please-end -->

Expand All @@ -33,7 +33,7 @@ The REST API documentation can be found on [docs.brand.dev](https://docs.brand.d
### Gradle

```kotlin
implementation("com.branddev.api:brand-dev-java:0.1.0-alpha.36")
implementation("com.branddev.api:brand-dev-java:0.1.0-alpha.37")
```

### Maven
Expand All @@ -42,7 +42,7 @@ implementation("com.branddev.api:brand-dev-java:0.1.0-alpha.36")
<dependency>
<groupId>com.branddev.api</groupId>
<artifactId>brand-dev-java</artifactId>
<version>0.1.0-alpha.36</version>
<version>0.1.0-alpha.37</version>
</dependency>
```

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -403,13 +403,14 @@ private constructor(
headers.put("X-Stainless-Runtime", "JRE")
headers.put("X-Stainless-Runtime-Version", getJavaVersion())
headers.put("X-Stainless-Kotlin-Version", KotlinVersion.CURRENT.toString())
// We replace after all the default headers to allow end-users to overwrite them.
headers.replaceAll(this.headers.build())
queryParams.replaceAll(this.queryParams.build())
apiKey.let {
if (!it.isEmpty()) {
headers.put("Authorization", "Bearer $it")
headers.replace("Authorization", "Bearer $it")
}
}
headers.replaceAll(this.headers.build())
queryParams.replaceAll(this.queryParams.build())

return ClientOptions(
httpClient,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1958,6 +1958,8 @@ private constructor(

@JvmField val BULGARIAN = of("bulgarian")

@JvmField val CANTONESE = of("cantonese")

@JvmField val CEBUANO = of("cebuano")

@JvmField val CROATIAN = of("croatian")
Expand Down Expand Up @@ -1996,6 +1998,8 @@ private constructor(

@JvmField val KAZAKH = of("kazakh")

@JvmField val KOREAN = of("korean")

@JvmField val KYRGYZ = of("kyrgyz")

@JvmField val LATIN = of("latin")
Expand Down Expand Up @@ -2040,6 +2044,8 @@ private constructor(

@JvmField val TAGALOG = of("tagalog")

@JvmField val THAI = of("thai")

@JvmField val TURKISH = of("turkish")

@JvmField val UKRAINIAN = of("ukrainian")
Expand All @@ -2062,6 +2068,7 @@ private constructor(
AZERI,
BENGALI,
BULGARIAN,
CANTONESE,
CEBUANO,
CROATIAN,
CZECH,
Expand All @@ -2081,6 +2088,7 @@ private constructor(
INDONESIAN,
ITALIAN,
KAZAKH,
KOREAN,
KYRGYZ,
LATIN,
LATVIAN,
Expand All @@ -2103,6 +2111,7 @@ private constructor(
SWAHILI,
SWEDISH,
TAGALOG,
THAI,
TURKISH,
UKRAINIAN,
URDU,
Expand All @@ -2126,6 +2135,7 @@ private constructor(
AZERI,
BENGALI,
BULGARIAN,
CANTONESE,
CEBUANO,
CROATIAN,
CZECH,
Expand All @@ -2145,6 +2155,7 @@ private constructor(
INDONESIAN,
ITALIAN,
KAZAKH,
KOREAN,
KYRGYZ,
LATIN,
LATVIAN,
Expand All @@ -2167,6 +2178,7 @@ private constructor(
SWAHILI,
SWEDISH,
TAGALOG,
THAI,
TURKISH,
UKRAINIAN,
URDU,
Expand Down Expand Up @@ -2194,6 +2206,7 @@ private constructor(
AZERI -> Value.AZERI
BENGALI -> Value.BENGALI
BULGARIAN -> Value.BULGARIAN
CANTONESE -> Value.CANTONESE
CEBUANO -> Value.CEBUANO
CROATIAN -> Value.CROATIAN
CZECH -> Value.CZECH
Expand All @@ -2213,6 +2226,7 @@ private constructor(
INDONESIAN -> Value.INDONESIAN
ITALIAN -> Value.ITALIAN
KAZAKH -> Value.KAZAKH
KOREAN -> Value.KOREAN
KYRGYZ -> Value.KYRGYZ
LATIN -> Value.LATIN
LATVIAN -> Value.LATVIAN
Expand All @@ -2235,6 +2249,7 @@ private constructor(
SWAHILI -> Value.SWAHILI
SWEDISH -> Value.SWEDISH
TAGALOG -> Value.TAGALOG
THAI -> Value.THAI
TURKISH -> Value.TURKISH
UKRAINIAN -> Value.UKRAINIAN
URDU -> Value.URDU
Expand All @@ -2260,6 +2275,7 @@ private constructor(
AZERI -> Known.AZERI
BENGALI -> Known.BENGALI
BULGARIAN -> Known.BULGARIAN
CANTONESE -> Known.CANTONESE
CEBUANO -> Known.CEBUANO
CROATIAN -> Known.CROATIAN
CZECH -> Known.CZECH
Expand All @@ -2279,6 +2295,7 @@ private constructor(
INDONESIAN -> Known.INDONESIAN
ITALIAN -> Known.ITALIAN
KAZAKH -> Known.KAZAKH
KOREAN -> Known.KOREAN
KYRGYZ -> Known.KYRGYZ
LATIN -> Known.LATIN
LATVIAN -> Known.LATVIAN
Expand All @@ -2301,6 +2318,7 @@ private constructor(
SWAHILI -> Known.SWAHILI
SWEDISH -> Known.SWEDISH
TAGALOG -> Known.TAGALOG
THAI -> Known.THAI
TURKISH -> Known.TURKISH
UKRAINIAN -> Known.UKRAINIAN
URDU -> Known.URDU
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -304,6 +304,8 @@ private constructor(

@JvmField val BULGARIAN = of("bulgarian")

@JvmField val CANTONESE = of("cantonese")

@JvmField val CEBUANO = of("cebuano")

@JvmField val CROATIAN = of("croatian")
Expand Down Expand Up @@ -342,6 +344,8 @@ private constructor(

@JvmField val KAZAKH = of("kazakh")

@JvmField val KOREAN = of("korean")

@JvmField val KYRGYZ = of("kyrgyz")

@JvmField val LATIN = of("latin")
Expand Down Expand Up @@ -386,6 +390,8 @@ private constructor(

@JvmField val TAGALOG = of("tagalog")

@JvmField val THAI = of("thai")

@JvmField val TURKISH = of("turkish")

@JvmField val UKRAINIAN = of("ukrainian")
Expand All @@ -408,6 +414,7 @@ private constructor(
AZERI,
BENGALI,
BULGARIAN,
CANTONESE,
CEBUANO,
CROATIAN,
CZECH,
Expand All @@ -427,6 +434,7 @@ private constructor(
INDONESIAN,
ITALIAN,
KAZAKH,
KOREAN,
KYRGYZ,
LATIN,
LATVIAN,
Expand All @@ -449,6 +457,7 @@ private constructor(
SWAHILI,
SWEDISH,
TAGALOG,
THAI,
TURKISH,
UKRAINIAN,
URDU,
Expand All @@ -472,6 +481,7 @@ private constructor(
AZERI,
BENGALI,
BULGARIAN,
CANTONESE,
CEBUANO,
CROATIAN,
CZECH,
Expand All @@ -491,6 +501,7 @@ private constructor(
INDONESIAN,
ITALIAN,
KAZAKH,
KOREAN,
KYRGYZ,
LATIN,
LATVIAN,
Expand All @@ -513,6 +524,7 @@ private constructor(
SWAHILI,
SWEDISH,
TAGALOG,
THAI,
TURKISH,
UKRAINIAN,
URDU,
Expand Down Expand Up @@ -540,6 +552,7 @@ private constructor(
AZERI -> Value.AZERI
BENGALI -> Value.BENGALI
BULGARIAN -> Value.BULGARIAN
CANTONESE -> Value.CANTONESE
CEBUANO -> Value.CEBUANO
CROATIAN -> Value.CROATIAN
CZECH -> Value.CZECH
Expand All @@ -559,6 +572,7 @@ private constructor(
INDONESIAN -> Value.INDONESIAN
ITALIAN -> Value.ITALIAN
KAZAKH -> Value.KAZAKH
KOREAN -> Value.KOREAN
KYRGYZ -> Value.KYRGYZ
LATIN -> Value.LATIN
LATVIAN -> Value.LATVIAN
Expand All @@ -581,6 +595,7 @@ private constructor(
SWAHILI -> Value.SWAHILI
SWEDISH -> Value.SWEDISH
TAGALOG -> Value.TAGALOG
THAI -> Value.THAI
TURKISH -> Value.TURKISH
UKRAINIAN -> Value.UKRAINIAN
URDU -> Value.URDU
Expand All @@ -606,6 +621,7 @@ private constructor(
AZERI -> Known.AZERI
BENGALI -> Known.BENGALI
BULGARIAN -> Known.BULGARIAN
CANTONESE -> Known.CANTONESE
CEBUANO -> Known.CEBUANO
CROATIAN -> Known.CROATIAN
CZECH -> Known.CZECH
Expand All @@ -625,6 +641,7 @@ private constructor(
INDONESIAN -> Known.INDONESIAN
ITALIAN -> Known.ITALIAN
KAZAKH -> Known.KAZAKH
KOREAN -> Known.KOREAN
KYRGYZ -> Known.KYRGYZ
LATIN -> Known.LATIN
LATVIAN -> Known.LATVIAN
Expand All @@ -647,6 +664,7 @@ private constructor(
SWAHILI -> Known.SWAHILI
SWEDISH -> Known.SWEDISH
TAGALOG -> Known.TAGALOG
THAI -> Known.THAI
TURKISH -> Known.TURKISH
UKRAINIAN -> Known.UKRAINIAN
URDU -> Known.URDU
Expand Down
Loading
Loading