Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
250 commits
Select commit Hold shift + click to select a range
e3495d0
codegen metadata
stainless-app[bot] Apr 7, 2026
4826e96
codegen metadata
stainless-app[bot] Apr 7, 2026
2f59f6d
codegen metadata
stainless-app[bot] Apr 7, 2026
043d9ae
codegen metadata
stainless-app[bot] Apr 7, 2026
b780784
codegen metadata
stainless-app[bot] Apr 7, 2026
073c541
codegen metadata
stainless-app[bot] Apr 7, 2026
10fc848
codegen metadata
stainless-app[bot] Apr 7, 2026
3d24ed5
codegen metadata
stainless-app[bot] Apr 7, 2026
d068b04
codegen metadata
stainless-app[bot] Apr 8, 2026
e4421a3
codegen metadata
stainless-app[bot] Apr 8, 2026
8424098
codegen metadata
stainless-app[bot] Apr 8, 2026
d301043
codegen metadata
stainless-app[bot] Apr 8, 2026
629cd8c
codegen metadata
stainless-app[bot] Apr 8, 2026
342acd6
codegen metadata
stainless-app[bot] Apr 8, 2026
fdac8ed
codegen metadata
stainless-app[bot] Apr 8, 2026
7ea0431
codegen metadata
stainless-app[bot] Apr 8, 2026
7b4477a
codegen metadata
stainless-app[bot] Apr 8, 2026
71b1412
codegen metadata
stainless-app[bot] Apr 8, 2026
6057610
codegen metadata
stainless-app[bot] Apr 8, 2026
3426c01
codegen metadata
stainless-app[bot] Apr 8, 2026
9903336
codegen metadata
stainless-app[bot] Apr 8, 2026
4c48947
codegen metadata
stainless-app[bot] Apr 8, 2026
724f85b
codegen metadata
stainless-app[bot] Apr 9, 2026
17fe81b
codegen metadata
stainless-app[bot] Apr 9, 2026
70d5d37
codegen metadata
stainless-app[bot] Apr 9, 2026
92fbb1c
codegen metadata
stainless-app[bot] Apr 9, 2026
cf9c091
codegen metadata
stainless-app[bot] Apr 9, 2026
ef477ae
codegen metadata
stainless-app[bot] Apr 9, 2026
001667d
codegen metadata
stainless-app[bot] Apr 9, 2026
d4c9335
codegen metadata
stainless-app[bot] Apr 9, 2026
63e444b
codegen metadata
stainless-app[bot] Apr 9, 2026
3a2fc51
codegen metadata
stainless-app[bot] Apr 9, 2026
0ac0d1b
codegen metadata
stainless-app[bot] Apr 9, 2026
3b0b9d1
codegen metadata
stainless-app[bot] Apr 9, 2026
1b9b277
codegen metadata
stainless-app[bot] Apr 9, 2026
c3978a0
codegen metadata
stainless-app[bot] Apr 9, 2026
afebdd8
codegen metadata
stainless-app[bot] Apr 10, 2026
f0a09cc
codegen metadata
stainless-app[bot] Apr 10, 2026
a56872b
codegen metadata
stainless-app[bot] Apr 10, 2026
b33e2b6
codegen metadata
stainless-app[bot] Apr 10, 2026
ebb464d
codegen metadata
stainless-app[bot] Apr 10, 2026
b3a8743
codegen metadata
stainless-app[bot] Apr 10, 2026
92f383a
codegen metadata
stainless-app[bot] Apr 10, 2026
54c20a9
codegen metadata
stainless-app[bot] Apr 10, 2026
047fa8c
codegen metadata
stainless-app[bot] Apr 10, 2026
c4ec4ba
codegen metadata
stainless-app[bot] Apr 10, 2026
403c6a6
codegen metadata
stainless-app[bot] Apr 10, 2026
a438884
codegen metadata
stainless-app[bot] Apr 10, 2026
cdca2ec
codegen metadata
stainless-app[bot] Apr 10, 2026
7f3ebdb
codegen metadata
stainless-app[bot] Apr 10, 2026
7c8fd6a
codegen metadata
stainless-app[bot] Apr 10, 2026
a9ff564
codegen metadata
stainless-app[bot] Apr 10, 2026
dca5c9e
codegen metadata
stainless-app[bot] Apr 10, 2026
a6dac25
codegen metadata
stainless-app[bot] Apr 10, 2026
a9a888d
codegen metadata
stainless-app[bot] Apr 10, 2026
a2183bd
codegen metadata
stainless-app[bot] Apr 10, 2026
f78484e
codegen metadata
stainless-app[bot] Apr 11, 2026
0536340
codegen metadata
stainless-app[bot] Apr 11, 2026
cbc66dc
codegen metadata
stainless-app[bot] Apr 11, 2026
1134327
codegen metadata
stainless-app[bot] Apr 11, 2026
681c076
codegen metadata
stainless-app[bot] Apr 11, 2026
d9a4be1
codegen metadata
stainless-app[bot] Apr 11, 2026
cad9468
codegen metadata
stainless-app[bot] Apr 11, 2026
fdc203c
codegen metadata
stainless-app[bot] Apr 11, 2026
dc5c073
codegen metadata
stainless-app[bot] Apr 11, 2026
af886be
codegen metadata
stainless-app[bot] Apr 11, 2026
7fd27e2
codegen metadata
stainless-app[bot] Apr 11, 2026
3b975fd
codegen metadata
stainless-app[bot] Apr 11, 2026
ec37e8d
codegen metadata
stainless-app[bot] Apr 11, 2026
b13cb84
codegen metadata
stainless-app[bot] Apr 11, 2026
eb5a229
codegen metadata
stainless-app[bot] Apr 11, 2026
840b0fe
codegen metadata
stainless-app[bot] Apr 11, 2026
a259961
codegen metadata
stainless-app[bot] Apr 11, 2026
6d80d17
codegen metadata
stainless-app[bot] Apr 11, 2026
7cea8bb
codegen metadata
stainless-app[bot] Apr 11, 2026
d23b671
codegen metadata
stainless-app[bot] Apr 11, 2026
64044fd
codegen metadata
stainless-app[bot] Apr 11, 2026
a8424cf
codegen metadata
stainless-app[bot] Apr 11, 2026
661d61b
codegen metadata
stainless-app[bot] Apr 11, 2026
7d73d21
codegen metadata
stainless-app[bot] Apr 12, 2026
ca61b6d
codegen metadata
stainless-app[bot] Apr 12, 2026
ea9c053
codegen metadata
stainless-app[bot] Apr 12, 2026
4d974f9
codegen metadata
stainless-app[bot] Apr 12, 2026
d81732d
codegen metadata
stainless-app[bot] Apr 12, 2026
45ce70c
codegen metadata
stainless-app[bot] Apr 12, 2026
b6fa194
codegen metadata
stainless-app[bot] Apr 12, 2026
7de36b7
codegen metadata
stainless-app[bot] Apr 12, 2026
2ab4821
codegen metadata
stainless-app[bot] Apr 12, 2026
cd243cd
codegen metadata
stainless-app[bot] Apr 12, 2026
c0a6e42
codegen metadata
stainless-app[bot] Apr 12, 2026
98325c5
codegen metadata
stainless-app[bot] Apr 12, 2026
eeb7968
codegen metadata
stainless-app[bot] Apr 12, 2026
f04c566
codegen metadata
stainless-app[bot] Apr 12, 2026
7fbe0d3
codegen metadata
stainless-app[bot] Apr 12, 2026
3f5b457
codegen metadata
stainless-app[bot] Apr 12, 2026
dfbcc34
codegen metadata
stainless-app[bot] Apr 12, 2026
9a8271c
codegen metadata
stainless-app[bot] Apr 12, 2026
d2f42d7
codegen metadata
stainless-app[bot] Apr 12, 2026
e7e12eb
codegen metadata
stainless-app[bot] Apr 12, 2026
8437b96
codegen metadata
stainless-app[bot] Apr 12, 2026
42f2e5c
codegen metadata
stainless-app[bot] Apr 12, 2026
f7c676f
codegen metadata
stainless-app[bot] Apr 13, 2026
e9f25a8
codegen metadata
stainless-app[bot] Apr 13, 2026
abe4993
codegen metadata
stainless-app[bot] Apr 13, 2026
5b52ef7
codegen metadata
stainless-app[bot] Apr 13, 2026
522c2f2
codegen metadata
stainless-app[bot] Apr 13, 2026
da5b707
codegen metadata
stainless-app[bot] Apr 13, 2026
c09fa19
codegen metadata
stainless-app[bot] Apr 13, 2026
120e0f5
codegen metadata
stainless-app[bot] Apr 13, 2026
e0b7e0a
codegen metadata
stainless-app[bot] Apr 13, 2026
0cc86ab
codegen metadata
stainless-app[bot] Apr 13, 2026
103fad1
codegen metadata
stainless-app[bot] Apr 13, 2026
6bd750e
codegen metadata
stainless-app[bot] Apr 13, 2026
f368e57
codegen metadata
stainless-app[bot] Apr 13, 2026
1a4779c
codegen metadata
stainless-app[bot] Apr 13, 2026
d53e86a
codegen metadata
stainless-app[bot] Apr 13, 2026
5483825
codegen metadata
stainless-app[bot] Apr 13, 2026
1ec4b79
codegen metadata
stainless-app[bot] Apr 13, 2026
70850b0
codegen metadata
stainless-app[bot] Apr 13, 2026
e8d6dff
codegen metadata
stainless-app[bot] Apr 13, 2026
0beb463
codegen metadata
stainless-app[bot] Apr 13, 2026
2918055
codegen metadata
stainless-app[bot] Apr 13, 2026
dfd1594
codegen metadata
stainless-app[bot] Apr 13, 2026
03c1709
codegen metadata
stainless-app[bot] Apr 14, 2026
81f7bf0
codegen metadata
stainless-app[bot] Apr 14, 2026
6afe62f
codegen metadata
stainless-app[bot] Apr 14, 2026
cbf08b0
codegen metadata
stainless-app[bot] Apr 14, 2026
1702c1b
codegen metadata
stainless-app[bot] Apr 14, 2026
09ca5f2
codegen metadata
stainless-app[bot] Apr 14, 2026
c45f75e
codegen metadata
stainless-app[bot] Apr 14, 2026
8fae26e
codegen metadata
stainless-app[bot] Apr 14, 2026
96233f4
codegen metadata
stainless-app[bot] Apr 14, 2026
ff6154a
codegen metadata
stainless-app[bot] Apr 14, 2026
6c1fef1
codegen metadata
stainless-app[bot] Apr 14, 2026
17f8cf1
codegen metadata
stainless-app[bot] Apr 14, 2026
052006d
codegen metadata
stainless-app[bot] Apr 14, 2026
6ab3834
codegen metadata
stainless-app[bot] Apr 14, 2026
9caef00
codegen metadata
stainless-app[bot] Apr 14, 2026
789c800
codegen metadata
stainless-app[bot] Apr 14, 2026
09fae62
codegen metadata
stainless-app[bot] Apr 14, 2026
a1ab28f
codegen metadata
stainless-app[bot] Apr 14, 2026
aabd887
codegen metadata
stainless-app[bot] Apr 15, 2026
3963d0c
codegen metadata
stainless-app[bot] Apr 15, 2026
0179b1b
codegen metadata
stainless-app[bot] Apr 15, 2026
070fddb
codegen metadata
stainless-app[bot] Apr 15, 2026
f3b20cc
codegen metadata
stainless-app[bot] Apr 15, 2026
c5f1f33
codegen metadata
stainless-app[bot] Apr 15, 2026
7b34d9e
codegen metadata
stainless-app[bot] Apr 15, 2026
46547b8
codegen metadata
stainless-app[bot] Apr 15, 2026
f0e752c
codegen metadata
stainless-app[bot] Apr 15, 2026
3e93e2d
codegen metadata
stainless-app[bot] Apr 15, 2026
65cd7c6
codegen metadata
stainless-app[bot] Apr 15, 2026
d5dadde
codegen metadata
stainless-app[bot] Apr 15, 2026
2903b92
codegen metadata
stainless-app[bot] Apr 15, 2026
08c3ac9
codegen metadata
stainless-app[bot] Apr 15, 2026
bd03ed2
codegen metadata
stainless-app[bot] Apr 15, 2026
741b107
codegen metadata
stainless-app[bot] Apr 15, 2026
6eb7e8c
codegen metadata
stainless-app[bot] Apr 15, 2026
d8d79ad
codegen metadata
stainless-app[bot] Apr 15, 2026
9e06815
codegen metadata
stainless-app[bot] Apr 15, 2026
953ff5a
codegen metadata
stainless-app[bot] Apr 15, 2026
58f8fe5
codegen metadata
stainless-app[bot] Apr 15, 2026
c3cb5e0
codegen metadata
stainless-app[bot] Apr 15, 2026
2536437
codegen metadata
stainless-app[bot] Apr 15, 2026
c45da6c
codegen metadata
stainless-app[bot] Apr 16, 2026
eb329e0
codegen metadata
stainless-app[bot] Apr 16, 2026
536114d
codegen metadata
stainless-app[bot] Apr 16, 2026
a7d0beb
codegen metadata
stainless-app[bot] Apr 16, 2026
ff78458
codegen metadata
stainless-app[bot] Apr 16, 2026
6afff07
codegen metadata
stainless-app[bot] Apr 16, 2026
b153b64
codegen metadata
stainless-app[bot] Apr 16, 2026
15b2096
codegen metadata
stainless-app[bot] Apr 16, 2026
bb62170
codegen metadata
stainless-app[bot] Apr 16, 2026
ac66180
codegen metadata
stainless-app[bot] Apr 16, 2026
2f94bc0
codegen metadata
stainless-app[bot] Apr 16, 2026
7964b11
codegen metadata
stainless-app[bot] Apr 16, 2026
4efc296
codegen metadata
stainless-app[bot] Apr 16, 2026
25dccc3
codegen metadata
stainless-app[bot] Apr 16, 2026
318ea7c
codegen metadata
stainless-app[bot] Apr 16, 2026
1b663c2
codegen metadata
stainless-app[bot] Apr 16, 2026
95f251b
codegen metadata
stainless-app[bot] Apr 16, 2026
f0bbbd1
codegen metadata
stainless-app[bot] Apr 16, 2026
1b0b7ad
codegen metadata
stainless-app[bot] Apr 16, 2026
fae5ba3
codegen metadata
stainless-app[bot] Apr 16, 2026
c74e2e2
codegen metadata
stainless-app[bot] Apr 17, 2026
35820dc
codegen metadata
stainless-app[bot] Apr 17, 2026
2d0156c
codegen metadata
stainless-app[bot] Apr 17, 2026
2bfbc9e
codegen metadata
stainless-app[bot] Apr 17, 2026
dc8c1d8
codegen metadata
stainless-app[bot] Apr 17, 2026
4533cf7
codegen metadata
stainless-app[bot] Apr 17, 2026
4321da1
codegen metadata
stainless-app[bot] Apr 17, 2026
78efca0
codegen metadata
stainless-app[bot] Apr 17, 2026
a773523
codegen metadata
stainless-app[bot] Apr 17, 2026
4931ebe
codegen metadata
stainless-app[bot] Apr 17, 2026
9673636
codegen metadata
stainless-app[bot] Apr 17, 2026
31f6c8d
codegen metadata
stainless-app[bot] Apr 17, 2026
04cb656
codegen metadata
stainless-app[bot] Apr 17, 2026
8691454
codegen metadata
stainless-app[bot] Apr 17, 2026
90beb67
codegen metadata
stainless-app[bot] Apr 17, 2026
f00cb79
codegen metadata
stainless-app[bot] Apr 17, 2026
82bd634
codegen metadata
stainless-app[bot] Apr 17, 2026
be6a44a
codegen metadata
stainless-app[bot] Apr 17, 2026
95f0c88
codegen metadata
stainless-app[bot] Apr 18, 2026
c67c64d
codegen metadata
stainless-app[bot] Apr 18, 2026
7c0f3df
codegen metadata
stainless-app[bot] Apr 18, 2026
befbad4
codegen metadata
stainless-app[bot] Apr 18, 2026
09140f4
codegen metadata
stainless-app[bot] Apr 18, 2026
77ee132
codegen metadata
stainless-app[bot] Apr 18, 2026
f00a870
codegen metadata
stainless-app[bot] Apr 18, 2026
8944a55
codegen metadata
stainless-app[bot] Apr 18, 2026
4398bc5
codegen metadata
stainless-app[bot] Apr 18, 2026
5fb726a
codegen metadata
stainless-app[bot] Apr 18, 2026
f9676c3
codegen metadata
stainless-app[bot] Apr 18, 2026
07699e0
codegen metadata
stainless-app[bot] Apr 18, 2026
ace55bf
codegen metadata
stainless-app[bot] Apr 18, 2026
d478889
codegen metadata
stainless-app[bot] Apr 18, 2026
c5a46a7
codegen metadata
stainless-app[bot] Apr 18, 2026
08a965a
codegen metadata
stainless-app[bot] Apr 18, 2026
42926d0
codegen metadata
stainless-app[bot] Apr 19, 2026
763577f
codegen metadata
stainless-app[bot] Apr 19, 2026
a583db9
codegen metadata
stainless-app[bot] Apr 19, 2026
1035a06
codegen metadata
stainless-app[bot] Apr 19, 2026
23602bd
codegen metadata
stainless-app[bot] Apr 19, 2026
1ca2ef1
codegen metadata
stainless-app[bot] Apr 19, 2026
ae93968
codegen metadata
stainless-app[bot] Apr 19, 2026
b9337e6
codegen metadata
stainless-app[bot] Apr 19, 2026
7c104b4
codegen metadata
stainless-app[bot] Apr 19, 2026
a0f0a02
codegen metadata
stainless-app[bot] Apr 19, 2026
ba89f7b
codegen metadata
stainless-app[bot] Apr 19, 2026
5f0ef90
codegen metadata
stainless-app[bot] Apr 19, 2026
bcea79b
codegen metadata
stainless-app[bot] Apr 19, 2026
3b87bfb
codegen metadata
stainless-app[bot] Apr 19, 2026
b24c910
codegen metadata
stainless-app[bot] Apr 19, 2026
c3b7e93
codegen metadata
stainless-app[bot] Apr 19, 2026
8adfae6
codegen metadata
stainless-app[bot] Apr 19, 2026
1b8f224
codegen metadata
stainless-app[bot] Apr 19, 2026
8ffd347
codegen metadata
stainless-app[bot] Apr 19, 2026
1867732
codegen metadata
stainless-app[bot] Apr 20, 2026
15b13e1
codegen metadata
stainless-app[bot] Apr 20, 2026
ddfc702
codegen metadata
stainless-app[bot] Apr 20, 2026
9be6f55
codegen metadata
stainless-app[bot] Apr 20, 2026
1659535
codegen metadata
stainless-app[bot] Apr 20, 2026
62e82a9
codegen metadata
stainless-app[bot] Apr 20, 2026
546c4bc
codegen metadata
stainless-app[bot] Apr 20, 2026
edbc611
codegen metadata
stainless-app[bot] Apr 20, 2026
fbb5f09
codegen metadata
stainless-app[bot] Apr 20, 2026
561d6a6
codegen metadata
stainless-app[bot] Apr 20, 2026
b08c01a
codegen metadata
stainless-app[bot] Apr 20, 2026
59c4e45
feat(api): api update
stainless-app[bot] Apr 20, 2026
258acaa
release: 0.16.0
stainless-app[bot] Apr 20, 2026
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.15.0"
".": "0.16.0"
}
4 changes: 2 additions & 2 deletions .stats.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
configured_endpoints: 40
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/sent%2Fsent-dm-a9080c0de1cdfd5f5b355e5267265eba790649d0b002cc98347b6b76e3e8f075.yml
openapi_spec_hash: ea95e4b3ebf37227b1b556f208968f62
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/sent%2Fsent-dm-f35f1b37bbee180194767c8644de479a1ce7166e863c4cc22f76115a7adac08f.yml
openapi_spec_hash: b62ddef06e729720dbae93de3efa0898
config_hash: 405ade725d72d542c60de821a127411b
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# Changelog

## 0.16.0 (2026-04-20)

Full Changelog: [v0.15.0...v0.16.0](https://github.com/sentdm/sent-dm-java/compare/v0.15.0...v0.16.0)

### Features

* **api:** api update ([59c4e45](https://github.com/sentdm/sent-dm-java/commit/59c4e45772d5f667a6cc0fdeccbda9e5c7e168fa))

## 0.15.0 (2026-04-07)

Full Changelog: [v0.14.0...v0.15.0](https://github.com/sentdm/sent-dm-java/compare/v0.14.0...v0.15.0)
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/dm.sent/sent-java)](https://central.sonatype.com/artifact/dm.sent/sent-java/0.15.0)
[![javadoc](https://javadoc.io/badge2/dm.sent/sent-java/0.15.0/javadoc.svg)](https://javadoc.io/doc/dm.sent/sent-java/0.15.0)
[![Maven Central](https://img.shields.io/maven-central/v/dm.sent/sent-java)](https://central.sonatype.com/artifact/dm.sent/sent-java/0.16.0)
[![javadoc](https://javadoc.io/badge2/dm.sent/sent-java/0.16.0/javadoc.svg)](https://javadoc.io/doc/dm.sent/sent-java/0.16.0)

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

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

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

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-java/0.15.0).
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-java/0.16.0).

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

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

```kotlin
implementation("dm.sent:sent-java:0.15.0")
implementation("dm.sent:sent-java:0.16.0")
```

### Maven
Expand All @@ -42,7 +42,7 @@ implementation("dm.sent:sent-java:0.15.0")
<dependency>
<groupId>dm.sent</groupId>
<artifactId>sent-java</artifactId>
<version>0.15.0</version>
<version>0.16.0</version>
</dependency>
```

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 = "dm.sent"
version = "0.15.0" // x-release-please-version
version = "0.16.0" // x-release-please-version
}

subprojects {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -450,6 +450,7 @@ private constructor(
private constructor(
private val activeContactPrice: JsonField<String>,
private val description: JsonField<String>,
private val from: JsonField<String>,
private val price: JsonField<String>,
private val status: JsonField<String>,
private val timestamp: JsonField<OffsetDateTime>,
Expand All @@ -464,14 +465,23 @@ private constructor(
@JsonProperty("description")
@ExcludeMissing
description: JsonField<String> = JsonMissing.of(),
@JsonProperty("from") @ExcludeMissing from: JsonField<String> = JsonMissing.of(),
@JsonProperty("price") @ExcludeMissing price: JsonField<String> = JsonMissing.of(),
@JsonProperty("status")
@ExcludeMissing
status: JsonField<String> = JsonMissing.of(),
@JsonProperty("timestamp")
@ExcludeMissing
timestamp: JsonField<OffsetDateTime> = JsonMissing.of(),
) : this(activeContactPrice, description, price, status, timestamp, mutableMapOf())
) : this(
activeContactPrice,
description,
from,
price,
status,
timestamp,
mutableMapOf(),
)

/**
* Active contact markup applied on top of the channel cost, formatted to 4 decimal
Expand All @@ -491,6 +501,15 @@ private constructor(
*/
fun description(): Optional<String> = description.getOptional("description")

/**
* Sender phone number for this activity (the customer's sending number for outbound,
* the external sender for inbound). Null when not reported by the provider.
*
* @throws SentInvalidDataException if the JSON field has an unexpected type (e.g. if
* the server responded with an unexpected value).
*/
fun from(): Optional<String> = from.getOptional("from")

/**
* Channel cost for this activity (e.g., SMS/WhatsApp provider cost), formatted to 4
* decimal places.
Expand Down Expand Up @@ -536,6 +555,13 @@ private constructor(
@ExcludeMissing
fun _description(): JsonField<String> = description

/**
* Returns the raw JSON value of [from].
*
* Unlike [from], this method doesn't throw if the JSON field has an unexpected type.
*/
@JsonProperty("from") @ExcludeMissing fun _from(): JsonField<String> = from

/**
* Returns the raw JSON value of [price].
*
Expand Down Expand Up @@ -583,6 +609,7 @@ private constructor(

private var activeContactPrice: JsonField<String> = JsonMissing.of()
private var description: JsonField<String> = JsonMissing.of()
private var from: JsonField<String> = JsonMissing.of()
private var price: JsonField<String> = JsonMissing.of()
private var status: JsonField<String> = JsonMissing.of()
private var timestamp: JsonField<OffsetDateTime> = JsonMissing.of()
Expand All @@ -592,6 +619,7 @@ private constructor(
internal fun from(activity: Activity) = apply {
activeContactPrice = activity.activeContactPrice
description = activity.description
from = activity.from
price = activity.price
status = activity.status
timestamp = activity.timestamp
Expand Down Expand Up @@ -637,6 +665,25 @@ private constructor(
this.description = description
}

/**
* Sender phone number for this activity (the customer's sending number for
* outbound, the external sender for inbound). Null when not reported by the
* provider.
*/
fun from(from: String?) = from(JsonField.ofNullable(from))

/** Alias for calling [Builder.from] with `from.orElse(null)`. */
fun from(from: Optional<String>) = from(from.getOrNull())

/**
* Sets [Builder.from] to an arbitrary JSON value.
*
* You should usually call [Builder.from] with a well-typed [String] value instead.
* This method is primarily for setting the field to an undocumented or not yet
* supported value.
*/
fun from(from: JsonField<String>) = apply { this.from = from }

/**
* Channel cost for this activity (e.g., SMS/WhatsApp provider cost), formatted to 4
* decimal places.
Expand Down Expand Up @@ -712,6 +759,7 @@ private constructor(
Activity(
activeContactPrice,
description,
from,
price,
status,
timestamp,
Expand All @@ -728,6 +776,7 @@ private constructor(

activeContactPrice()
description()
from()
price()
status()
timestamp()
Expand All @@ -752,6 +801,7 @@ private constructor(
internal fun validity(): Int =
(if (activeContactPrice.asKnown().isPresent) 1 else 0) +
(if (description.asKnown().isPresent) 1 else 0) +
(if (from.asKnown().isPresent) 1 else 0) +
(if (price.asKnown().isPresent) 1 else 0) +
(if (status.asKnown().isPresent) 1 else 0) +
(if (timestamp.asKnown().isPresent) 1 else 0)
Expand All @@ -764,6 +814,7 @@ private constructor(
return other is Activity &&
activeContactPrice == other.activeContactPrice &&
description == other.description &&
from == other.from &&
price == other.price &&
status == other.status &&
timestamp == other.timestamp &&
Expand All @@ -774,6 +825,7 @@ private constructor(
Objects.hash(
activeContactPrice,
description,
from,
price,
status,
timestamp,
Expand All @@ -784,7 +836,7 @@ private constructor(
override fun hashCode(): Int = hashCode

override fun toString() =
"Activity{activeContactPrice=$activeContactPrice, description=$description, price=$price, status=$status, timestamp=$timestamp, additionalProperties=$additionalProperties}"
"Activity{activeContactPrice=$activeContactPrice, description=$description, from=$from, price=$price, status=$status, timestamp=$timestamp, additionalProperties=$additionalProperties}"
}

override fun equals(other: Any?): Boolean {
Expand Down
Loading
Loading