Skip to content

Commit cfb14e1

Browse files
authored
Merge pull request #15 from sentdm/release-please--branches--main--changes--next
release: 0.11.0
2 parents 419692c + 2523d89 commit cfb14e1

File tree

50 files changed

+437
-408
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

50 files changed

+437
-408
lines changed

.release-please-manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
".": "0.10.0"
2+
".": "0.11.0"
33
}

.stats.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
configured_endpoints: 40
22
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/sent%2Fsent-dm-294831f61f7890b2cdb89d181f26297732387d5e1288f446c0138e46fb1a4608.yml
33
openapi_spec_hash: a7f20451621ee678fbe09ff7a297b3ea
4-
config_hash: 497506d9e2e66cd0573bd9c1f1242462
4+
config_hash: 478a49d5520c8bb64b43272de11c2872

CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,13 @@
11
# Changelog
22

3+
## 0.11.0 (2026-03-12)
4+
5+
Full Changelog: [v0.10.0...v0.11.0](https://github.com/sentdm/sent-dm-java/compare/v0.10.0...v0.11.0)
6+
7+
### Features
8+
9+
* **api:** manual updates ([912031b](https://github.com/sentdm/sent-dm-java/commit/912031b83eb2747be2c9fd167ebf3858e151f47a))
10+
311
## 0.10.0 (2026-03-12)
412

513
Full Changelog: [v0.9.0...v0.10.0](https://github.com/sentdm/sent-dm-java/compare/v0.9.0...v0.10.0)

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22

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

5-
[![Maven Central](https://img.shields.io/maven-central/v/dm.sent/sent-dm-java)](https://central.sonatype.com/artifact/dm.sent/sent-dm-java/0.10.0)
6-
[![javadoc](https://javadoc.io/badge2/dm.sent/sent-dm-java/0.10.0/javadoc.svg)](https://javadoc.io/doc/dm.sent/sent-dm-java/0.10.0)
5+
[![Maven Central](https://img.shields.io/maven-central/v/dm.sent/sent-dm-java)](https://central.sonatype.com/artifact/dm.sent/sent-dm-java/0.11.0)
6+
[![javadoc](https://javadoc.io/badge2/dm.sent/sent-dm-java/0.11.0/javadoc.svg)](https://javadoc.io/doc/dm.sent/sent-dm-java/0.11.0)
77

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

@@ -22,7 +22,7 @@ Use the Sent Dm MCP Server to enable AI assistants to interact with this API, al
2222
2323
<!-- x-release-please-start-version -->
2424

25-
The REST API documentation can be found on [docs.sent.dm](https://docs.sent.dm). Javadocs are available on [javadoc.io](https://javadoc.io/doc/dm.sent/sent-dm-java/0.10.0).
25+
The REST API documentation can be found on [docs.sent.dm](https://docs.sent.dm). Javadocs are available on [javadoc.io](https://javadoc.io/doc/dm.sent/sent-dm-java/0.11.0).
2626

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

@@ -33,7 +33,7 @@ The REST API documentation can be found on [docs.sent.dm](https://docs.sent.dm).
3333
### Gradle
3434

3535
```kotlin
36-
implementation("dm.sent:sent-dm-java:0.10.0")
36+
implementation("dm.sent:sent-dm-java:0.11.0")
3737
```
3838

3939
### Maven
@@ -42,7 +42,7 @@ implementation("dm.sent:sent-dm-java:0.10.0")
4242
<dependency>
4343
<groupId>dm.sent</groupId>
4444
<artifactId>sent-dm-java</artifactId>
45-
<version>0.10.0</version>
45+
<version>0.11.0</version>
4646
</dependency>
4747
```
4848

build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ repositories {
88

99
allprojects {
1010
group = "dm.sent"
11-
version = "0.10.0" // x-release-please-version
11+
version = "0.11.0" // x-release-please-version
1212
}
1313

1414
subprojects {

sent-dm-java-core/src/main/kotlin/dm/sent/models/contacts/ApiResponseOfContact.kt

Lines changed: 12 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ import dm.sent.core.JsonField
1111
import dm.sent.core.JsonMissing
1212
import dm.sent.core.JsonValue
1313
import dm.sent.errors.SentDmInvalidDataException
14-
import dm.sent.models.webhooks.ApiError
1514
import dm.sent.models.webhooks.ApiMeta
15+
import dm.sent.models.webhooks.ErrorDetail
1616
import java.util.Collections
1717
import java.util.Objects
1818
import java.util.Optional
@@ -23,7 +23,7 @@ class ApiResponseOfContact
2323
@JsonCreator(mode = JsonCreator.Mode.DISABLED)
2424
private constructor(
2525
private val data: JsonField<ContactResponse>,
26-
private val error: JsonField<ApiError>,
26+
private val error: JsonField<ErrorDetail>,
2727
private val meta: JsonField<ApiMeta>,
2828
private val success: JsonField<Boolean>,
2929
private val additionalProperties: MutableMap<String, JsonValue>,
@@ -32,7 +32,7 @@ private constructor(
3232
@JsonCreator
3333
private constructor(
3434
@JsonProperty("data") @ExcludeMissing data: JsonField<ContactResponse> = JsonMissing.of(),
35-
@JsonProperty("error") @ExcludeMissing error: JsonField<ApiError> = JsonMissing.of(),
35+
@JsonProperty("error") @ExcludeMissing error: JsonField<ErrorDetail> = JsonMissing.of(),
3636
@JsonProperty("meta") @ExcludeMissing meta: JsonField<ApiMeta> = JsonMissing.of(),
3737
@JsonProperty("success") @ExcludeMissing success: JsonField<Boolean> = JsonMissing.of(),
3838
) : this(data, error, meta, success, mutableMapOf())
@@ -51,7 +51,7 @@ private constructor(
5151
* @throws SentDmInvalidDataException if the JSON field has an unexpected type (e.g. if the
5252
* server responded with an unexpected value).
5353
*/
54-
fun error(): Optional<ApiError> = error.getOptional("error")
54+
fun error(): Optional<ErrorDetail> = error.getOptional("error")
5555

5656
/**
5757
* Request and response metadata
@@ -81,7 +81,7 @@ private constructor(
8181
*
8282
* Unlike [error], this method doesn't throw if the JSON field has an unexpected type.
8383
*/
84-
@JsonProperty("error") @ExcludeMissing fun _error(): JsonField<ApiError> = error
84+
@JsonProperty("error") @ExcludeMissing fun _error(): JsonField<ErrorDetail> = error
8585

8686
/**
8787
* Returns the raw JSON value of [meta].
@@ -119,7 +119,7 @@ private constructor(
119119
class Builder internal constructor() {
120120

121121
private var data: JsonField<ContactResponse> = JsonMissing.of()
122-
private var error: JsonField<ApiError> = JsonMissing.of()
122+
private var error: JsonField<ErrorDetail> = JsonMissing.of()
123123
private var meta: JsonField<ApiMeta> = JsonMissing.of()
124124
private var success: JsonField<Boolean> = JsonMissing.of()
125125
private var additionalProperties: MutableMap<String, JsonValue> = mutableMapOf()
@@ -149,18 +149,19 @@ private constructor(
149149
fun data(data: JsonField<ContactResponse>) = apply { this.data = data }
150150

151151
/** Error information */
152-
fun error(error: ApiError?) = error(JsonField.ofNullable(error))
152+
fun error(error: ErrorDetail?) = error(JsonField.ofNullable(error))
153153

154154
/** Alias for calling [Builder.error] with `error.orElse(null)`. */
155-
fun error(error: Optional<ApiError>) = error(error.getOrNull())
155+
fun error(error: Optional<ErrorDetail>) = error(error.getOrNull())
156156

157157
/**
158158
* Sets [Builder.error] to an arbitrary JSON value.
159159
*
160-
* You should usually call [Builder.error] with a well-typed [ApiError] value instead. This
161-
* method is primarily for setting the field to an undocumented or not yet supported value.
160+
* You should usually call [Builder.error] with a well-typed [ErrorDetail] value instead.
161+
* This method is primarily for setting the field to an undocumented or not yet supported
162+
* value.
162163
*/
163-
fun error(error: JsonField<ApiError>) = apply { this.error = error }
164+
fun error(error: JsonField<ErrorDetail>) = apply { this.error = error }
164165

165166
/** Request and response metadata */
166167
fun meta(meta: ApiMeta) = meta(JsonField.of(meta))

sent-dm-java-core/src/main/kotlin/dm/sent/models/contacts/ContactListResponse.kt

Lines changed: 12 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ import dm.sent.core.JsonValue
1313
import dm.sent.core.checkKnown
1414
import dm.sent.core.toImmutable
1515
import dm.sent.errors.SentDmInvalidDataException
16-
import dm.sent.models.webhooks.ApiError
1716
import dm.sent.models.webhooks.ApiMeta
17+
import dm.sent.models.webhooks.ErrorDetail
1818
import dm.sent.models.webhooks.PaginationMeta
1919
import java.util.Collections
2020
import java.util.Objects
@@ -26,7 +26,7 @@ class ContactListResponse
2626
@JsonCreator(mode = JsonCreator.Mode.DISABLED)
2727
private constructor(
2828
private val data: JsonField<Data>,
29-
private val error: JsonField<ApiError>,
29+
private val error: JsonField<ErrorDetail>,
3030
private val meta: JsonField<ApiMeta>,
3131
private val success: JsonField<Boolean>,
3232
private val additionalProperties: MutableMap<String, JsonValue>,
@@ -35,7 +35,7 @@ private constructor(
3535
@JsonCreator
3636
private constructor(
3737
@JsonProperty("data") @ExcludeMissing data: JsonField<Data> = JsonMissing.of(),
38-
@JsonProperty("error") @ExcludeMissing error: JsonField<ApiError> = JsonMissing.of(),
38+
@JsonProperty("error") @ExcludeMissing error: JsonField<ErrorDetail> = JsonMissing.of(),
3939
@JsonProperty("meta") @ExcludeMissing meta: JsonField<ApiMeta> = JsonMissing.of(),
4040
@JsonProperty("success") @ExcludeMissing success: JsonField<Boolean> = JsonMissing.of(),
4141
) : this(data, error, meta, success, mutableMapOf())
@@ -54,7 +54,7 @@ private constructor(
5454
* @throws SentDmInvalidDataException if the JSON field has an unexpected type (e.g. if the
5555
* server responded with an unexpected value).
5656
*/
57-
fun error(): Optional<ApiError> = error.getOptional("error")
57+
fun error(): Optional<ErrorDetail> = error.getOptional("error")
5858

5959
/**
6060
* Request and response metadata
@@ -84,7 +84,7 @@ private constructor(
8484
*
8585
* Unlike [error], this method doesn't throw if the JSON field has an unexpected type.
8686
*/
87-
@JsonProperty("error") @ExcludeMissing fun _error(): JsonField<ApiError> = error
87+
@JsonProperty("error") @ExcludeMissing fun _error(): JsonField<ErrorDetail> = error
8888

8989
/**
9090
* Returns the raw JSON value of [meta].
@@ -122,7 +122,7 @@ private constructor(
122122
class Builder internal constructor() {
123123

124124
private var data: JsonField<Data> = JsonMissing.of()
125-
private var error: JsonField<ApiError> = JsonMissing.of()
125+
private var error: JsonField<ErrorDetail> = JsonMissing.of()
126126
private var meta: JsonField<ApiMeta> = JsonMissing.of()
127127
private var success: JsonField<Boolean> = JsonMissing.of()
128128
private var additionalProperties: MutableMap<String, JsonValue> = mutableMapOf()
@@ -151,18 +151,19 @@ private constructor(
151151
fun data(data: JsonField<Data>) = apply { this.data = data }
152152

153153
/** Error information */
154-
fun error(error: ApiError?) = error(JsonField.ofNullable(error))
154+
fun error(error: ErrorDetail?) = error(JsonField.ofNullable(error))
155155

156156
/** Alias for calling [Builder.error] with `error.orElse(null)`. */
157-
fun error(error: Optional<ApiError>) = error(error.getOrNull())
157+
fun error(error: Optional<ErrorDetail>) = error(error.getOrNull())
158158

159159
/**
160160
* Sets [Builder.error] to an arbitrary JSON value.
161161
*
162-
* You should usually call [Builder.error] with a well-typed [ApiError] value instead. This
163-
* method is primarily for setting the field to an undocumented or not yet supported value.
162+
* You should usually call [Builder.error] with a well-typed [ErrorDetail] value instead.
163+
* This method is primarily for setting the field to an undocumented or not yet supported
164+
* value.
164165
*/
165-
fun error(error: JsonField<ApiError>) = apply { this.error = error }
166+
fun error(error: JsonField<ErrorDetail>) = apply { this.error = error }
166167

167168
/** Request and response metadata */
168169
fun meta(meta: ApiMeta) = meta(JsonField.of(meta))

sent-dm-java-core/src/main/kotlin/dm/sent/models/me/MeRetrieveResponse.kt

Lines changed: 12 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ import dm.sent.core.JsonValue
1313
import dm.sent.core.checkKnown
1414
import dm.sent.core.toImmutable
1515
import dm.sent.errors.SentDmInvalidDataException
16-
import dm.sent.models.webhooks.ApiError
1716
import dm.sent.models.webhooks.ApiMeta
17+
import dm.sent.models.webhooks.ErrorDetail
1818
import java.time.OffsetDateTime
1919
import java.util.Collections
2020
import java.util.Objects
@@ -26,7 +26,7 @@ class MeRetrieveResponse
2626
@JsonCreator(mode = JsonCreator.Mode.DISABLED)
2727
private constructor(
2828
private val data: JsonField<Data>,
29-
private val error: JsonField<ApiError>,
29+
private val error: JsonField<ErrorDetail>,
3030
private val meta: JsonField<ApiMeta>,
3131
private val success: JsonField<Boolean>,
3232
private val additionalProperties: MutableMap<String, JsonValue>,
@@ -35,7 +35,7 @@ private constructor(
3535
@JsonCreator
3636
private constructor(
3737
@JsonProperty("data") @ExcludeMissing data: JsonField<Data> = JsonMissing.of(),
38-
@JsonProperty("error") @ExcludeMissing error: JsonField<ApiError> = JsonMissing.of(),
38+
@JsonProperty("error") @ExcludeMissing error: JsonField<ErrorDetail> = JsonMissing.of(),
3939
@JsonProperty("meta") @ExcludeMissing meta: JsonField<ApiMeta> = JsonMissing.of(),
4040
@JsonProperty("success") @ExcludeMissing success: JsonField<Boolean> = JsonMissing.of(),
4141
) : this(data, error, meta, success, mutableMapOf())
@@ -56,7 +56,7 @@ private constructor(
5656
* @throws SentDmInvalidDataException if the JSON field has an unexpected type (e.g. if the
5757
* server responded with an unexpected value).
5858
*/
59-
fun error(): Optional<ApiError> = error.getOptional("error")
59+
fun error(): Optional<ErrorDetail> = error.getOptional("error")
6060

6161
/**
6262
* Request and response metadata
@@ -86,7 +86,7 @@ private constructor(
8686
*
8787
* Unlike [error], this method doesn't throw if the JSON field has an unexpected type.
8888
*/
89-
@JsonProperty("error") @ExcludeMissing fun _error(): JsonField<ApiError> = error
89+
@JsonProperty("error") @ExcludeMissing fun _error(): JsonField<ErrorDetail> = error
9090

9191
/**
9292
* Returns the raw JSON value of [meta].
@@ -124,7 +124,7 @@ private constructor(
124124
class Builder internal constructor() {
125125

126126
private var data: JsonField<Data> = JsonMissing.of()
127-
private var error: JsonField<ApiError> = JsonMissing.of()
127+
private var error: JsonField<ErrorDetail> = JsonMissing.of()
128128
private var meta: JsonField<ApiMeta> = JsonMissing.of()
129129
private var success: JsonField<Boolean> = JsonMissing.of()
130130
private var additionalProperties: MutableMap<String, JsonValue> = mutableMapOf()
@@ -157,18 +157,19 @@ private constructor(
157157
fun data(data: JsonField<Data>) = apply { this.data = data }
158158

159159
/** Error information */
160-
fun error(error: ApiError?) = error(JsonField.ofNullable(error))
160+
fun error(error: ErrorDetail?) = error(JsonField.ofNullable(error))
161161

162162
/** Alias for calling [Builder.error] with `error.orElse(null)`. */
163-
fun error(error: Optional<ApiError>) = error(error.getOrNull())
163+
fun error(error: Optional<ErrorDetail>) = error(error.getOrNull())
164164

165165
/**
166166
* Sets [Builder.error] to an arbitrary JSON value.
167167
*
168-
* You should usually call [Builder.error] with a well-typed [ApiError] value instead. This
169-
* method is primarily for setting the field to an undocumented or not yet supported value.
168+
* You should usually call [Builder.error] with a well-typed [ErrorDetail] value instead.
169+
* This method is primarily for setting the field to an undocumented or not yet supported
170+
* value.
170171
*/
171-
fun error(error: JsonField<ApiError>) = apply { this.error = error }
172+
fun error(error: JsonField<ErrorDetail>) = apply { this.error = error }
172173

173174
/** Request and response metadata */
174175
fun meta(meta: ApiMeta) = meta(JsonField.of(meta))

sent-dm-java-core/src/main/kotlin/dm/sent/models/messages/MessageRetrieveActivitiesResponse.kt

Lines changed: 12 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ import dm.sent.core.JsonValue
1313
import dm.sent.core.checkKnown
1414
import dm.sent.core.toImmutable
1515
import dm.sent.errors.SentDmInvalidDataException
16-
import dm.sent.models.webhooks.ApiError
1716
import dm.sent.models.webhooks.ApiMeta
17+
import dm.sent.models.webhooks.ErrorDetail
1818
import java.time.OffsetDateTime
1919
import java.util.Collections
2020
import java.util.Objects
@@ -26,7 +26,7 @@ class MessageRetrieveActivitiesResponse
2626
@JsonCreator(mode = JsonCreator.Mode.DISABLED)
2727
private constructor(
2828
private val data: JsonField<Data>,
29-
private val error: JsonField<ApiError>,
29+
private val error: JsonField<ErrorDetail>,
3030
private val meta: JsonField<ApiMeta>,
3131
private val success: JsonField<Boolean>,
3232
private val additionalProperties: MutableMap<String, JsonValue>,
@@ -35,7 +35,7 @@ private constructor(
3535
@JsonCreator
3636
private constructor(
3737
@JsonProperty("data") @ExcludeMissing data: JsonField<Data> = JsonMissing.of(),
38-
@JsonProperty("error") @ExcludeMissing error: JsonField<ApiError> = JsonMissing.of(),
38+
@JsonProperty("error") @ExcludeMissing error: JsonField<ErrorDetail> = JsonMissing.of(),
3939
@JsonProperty("meta") @ExcludeMissing meta: JsonField<ApiMeta> = JsonMissing.of(),
4040
@JsonProperty("success") @ExcludeMissing success: JsonField<Boolean> = JsonMissing.of(),
4141
) : this(data, error, meta, success, mutableMapOf())
@@ -54,7 +54,7 @@ private constructor(
5454
* @throws SentDmInvalidDataException if the JSON field has an unexpected type (e.g. if the
5555
* server responded with an unexpected value).
5656
*/
57-
fun error(): Optional<ApiError> = error.getOptional("error")
57+
fun error(): Optional<ErrorDetail> = error.getOptional("error")
5858

5959
/**
6060
* Request and response metadata
@@ -84,7 +84,7 @@ private constructor(
8484
*
8585
* Unlike [error], this method doesn't throw if the JSON field has an unexpected type.
8686
*/
87-
@JsonProperty("error") @ExcludeMissing fun _error(): JsonField<ApiError> = error
87+
@JsonProperty("error") @ExcludeMissing fun _error(): JsonField<ErrorDetail> = error
8888

8989
/**
9090
* Returns the raw JSON value of [meta].
@@ -125,7 +125,7 @@ private constructor(
125125
class Builder internal constructor() {
126126

127127
private var data: JsonField<Data> = JsonMissing.of()
128-
private var error: JsonField<ApiError> = JsonMissing.of()
128+
private var error: JsonField<ErrorDetail> = JsonMissing.of()
129129
private var meta: JsonField<ApiMeta> = JsonMissing.of()
130130
private var success: JsonField<Boolean> = JsonMissing.of()
131131
private var additionalProperties: MutableMap<String, JsonValue> = mutableMapOf()
@@ -156,18 +156,19 @@ private constructor(
156156
fun data(data: JsonField<Data>) = apply { this.data = data }
157157

158158
/** Error information */
159-
fun error(error: ApiError?) = error(JsonField.ofNullable(error))
159+
fun error(error: ErrorDetail?) = error(JsonField.ofNullable(error))
160160

161161
/** Alias for calling [Builder.error] with `error.orElse(null)`. */
162-
fun error(error: Optional<ApiError>) = error(error.getOrNull())
162+
fun error(error: Optional<ErrorDetail>) = error(error.getOrNull())
163163

164164
/**
165165
* Sets [Builder.error] to an arbitrary JSON value.
166166
*
167-
* You should usually call [Builder.error] with a well-typed [ApiError] value instead. This
168-
* method is primarily for setting the field to an undocumented or not yet supported value.
167+
* You should usually call [Builder.error] with a well-typed [ErrorDetail] value instead.
168+
* This method is primarily for setting the field to an undocumented or not yet supported
169+
* value.
169170
*/
170-
fun error(error: JsonField<ApiError>) = apply { this.error = error }
171+
fun error(error: JsonField<ErrorDetail>) = apply { this.error = error }
171172

172173
/** Request and response metadata */
173174
fun meta(meta: ApiMeta) = meta(JsonField.of(meta))

0 commit comments

Comments
 (0)