diff --git a/.release-please-manifest.json b/.release-please-manifest.json
index 59acac47..8935e932 100644
--- a/.release-please-manifest.json
+++ b/.release-please-manifest.json
@@ -1,3 +1,3 @@
{
- ".": "0.27.0"
+ ".": "0.28.0"
}
\ No newline at end of file
diff --git a/.stats.yml b/.stats.yml
index 7340c7e7..29369549 100644
--- a/.stats.yml
+++ b/.stats.yml
@@ -1,4 +1,4 @@
configured_endpoints: 40
-openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/sent/sent-dm-e0a4f9a3faa85838c6d8a83dc1676c1fefa359c2eaf09ca5cfc05942549ca596.yml
-openapi_spec_hash: 74ba6ccdd1a0bb875402884dc1d10a59
+openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/sent/sent-dm-1f14fb3b9372f7c7891979f4fc7b488e31f067f85b3ab81b1bee6b75d347a817.yml
+openapi_spec_hash: 150d05bdd0774d067d48bbf45e199336
config_hash: 32929c7d4b1344f5bbf67df044a518af
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 9015bf81..0d091b70 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,5 +1,14 @@
# Changelog
+## 0.28.0 (2026-06-29)
+
+Full Changelog: [v0.27.0...v0.28.0](https://github.com/sentdm/sent-dm-java/compare/v0.27.0...v0.28.0)
+
+### Features
+
+* **api:** api update ([8482ea3](https://github.com/sentdm/sent-dm-java/commit/8482ea352da3a92a90a6d9ac796070f319040d8a))
+* **api:** api update ([f7449ba](https://github.com/sentdm/sent-dm-java/commit/f7449bab72db6cfaf7fbe6281430cb8dca66000e))
+
## 0.27.0 (2026-05-21)
Full Changelog: [v0.26.0...v0.27.0](https://github.com/sentdm/sent-dm-java/compare/v0.26.0...v0.27.0)
diff --git a/README.md b/README.md
index 91f77e83..daea7477 100644
--- a/README.md
+++ b/README.md
@@ -2,8 +2,8 @@
-[](https://central.sonatype.com/artifact/dm.sent/sent-java/0.27.0)
-[](https://javadoc.io/doc/dm.sent/sent-java/0.27.0)
+[](https://central.sonatype.com/artifact/dm.sent/sent-java/0.28.0)
+[](https://javadoc.io/doc/dm.sent/sent-java/0.28.0)
@@ -13,7 +13,7 @@ It is generated with [Stainless](https://www.stainless.com/).
-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.27.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.28.0).
@@ -24,7 +24,7 @@ The REST API documentation can be found on [docs.sent.dm](https://docs.sent.dm).
### Gradle
```kotlin
-implementation("dm.sent:sent-java:0.27.0")
+implementation("dm.sent:sent-java:0.28.0")
```
### Maven
@@ -33,7 +33,7 @@ implementation("dm.sent:sent-java:0.27.0")
dm.sent
sent-java
- 0.27.0
+ 0.28.0
```
diff --git a/build.gradle.kts b/build.gradle.kts
index 71d5d34b..9e1fe627 100644
--- a/build.gradle.kts
+++ b/build.gradle.kts
@@ -8,7 +8,7 @@ repositories {
allprojects {
group = "dm.sent"
- version = "0.27.0" // x-release-please-version
+ version = "0.28.0" // x-release-please-version
}
subprojects {
diff --git a/sent-java-core/src/main/kotlin/dm/sent/models/messages/MessageSendParams.kt b/sent-java-core/src/main/kotlin/dm/sent/models/messages/MessageSendParams.kt
index eb804203..1702a197 100644
--- a/sent-java-core/src/main/kotlin/dm/sent/models/messages/MessageSendParams.kt
+++ b/sent-java-core/src/main/kotlin/dm/sent/models/messages/MessageSendParams.kt
@@ -67,6 +67,14 @@ private constructor(
*/
fun template(): Optional = body.template()
+ /**
+ * Plain-text (free-form) message body. Provide either Template or this.
+ *
+ * @throws SentInvalidDataException if the JSON field has an unexpected type (e.g. if the server
+ * responded with an unexpected value).
+ */
+ fun text(): Optional = body.text()
+
/**
* List of recipient phone numbers in E.164 format (multi-recipient fan-out)
*
@@ -96,6 +104,13 @@ private constructor(
*/
fun _template(): JsonField = body._template()
+ /**
+ * Returns the raw JSON value of [text].
+ *
+ * Unlike [text], this method doesn't throw if the JSON field has an unexpected type.
+ */
+ fun _text(): JsonField = body._text()
+
/**
* Returns the raw JSON value of [to].
*
@@ -158,7 +173,9 @@ private constructor(
* - [sandbox]
* - [channel]
* - [template]
+ * - [text]
* - [to]
+ * - etc.
*/
fun body(body: Body) = apply { this.body = body.toBuilder() }
@@ -203,7 +220,10 @@ private constructor(
fun addChannel(channel: String) = apply { body.addChannel(channel) }
/** SDK-style template reference: resolve by ID or by name, with optional parameters. */
- fun template(template: Template) = apply { body.template(template) }
+ fun template(template: Template?) = apply { body.template(template) }
+
+ /** Alias for calling [Builder.template] with `template.orElse(null)`. */
+ fun template(template: Optional) = template(template.getOrNull())
/**
* Sets [Builder.template] to an arbitrary JSON value.
@@ -214,6 +234,20 @@ private constructor(
*/
fun template(template: JsonField) = apply { body.template(template) }
+ /** Plain-text (free-form) message body. Provide either Template or this. */
+ fun text(text: String?) = apply { body.text(text) }
+
+ /** Alias for calling [Builder.text] with `text.orElse(null)`. */
+ fun text(text: Optional) = text(text.getOrNull())
+
+ /**
+ * Sets [Builder.text] to an arbitrary JSON value.
+ *
+ * You should usually call [Builder.text] with a well-typed [String] value instead. This
+ * method is primarily for setting the field to an undocumented or not yet supported value.
+ */
+ fun text(text: JsonField) = apply { body.text(text) }
+
/** List of recipient phone numbers in E.164 format (multi-recipient fan-out) */
fun to(to: List) = apply { body.to(to) }
@@ -384,6 +418,7 @@ private constructor(
private val sandbox: JsonField,
private val channel: JsonField>,
private val template: JsonField,
+ private val text: JsonField,
private val to: JsonField>,
private val additionalProperties: MutableMap,
) {
@@ -397,8 +432,9 @@ private constructor(
@JsonProperty("template")
@ExcludeMissing
template: JsonField = JsonMissing.of(),
+ @JsonProperty("text") @ExcludeMissing text: JsonField = JsonMissing.of(),
@JsonProperty("to") @ExcludeMissing to: JsonField> = JsonMissing.of(),
- ) : this(sandbox, channel, template, to, mutableMapOf())
+ ) : this(sandbox, channel, template, text, to, mutableMapOf())
fun toMutationRequest(): MutationRequest =
MutationRequest.builder().sandbox(sandbox).build()
@@ -430,6 +466,14 @@ private constructor(
*/
fun template(): Optional = template.getOptional("template")
+ /**
+ * Plain-text (free-form) message body. Provide either Template or this.
+ *
+ * @throws SentInvalidDataException if the JSON field has an unexpected type (e.g. if the
+ * server responded with an unexpected value).
+ */
+ fun text(): Optional = text.getOptional("text")
+
/**
* List of recipient phone numbers in E.164 format (multi-recipient fan-out)
*
@@ -459,6 +503,13 @@ private constructor(
*/
@JsonProperty("template") @ExcludeMissing fun _template(): JsonField = template
+ /**
+ * Returns the raw JSON value of [text].
+ *
+ * Unlike [text], this method doesn't throw if the JSON field has an unexpected type.
+ */
+ @JsonProperty("text") @ExcludeMissing fun _text(): JsonField = text
+
/**
* Returns the raw JSON value of [to].
*
@@ -490,6 +541,7 @@ private constructor(
private var sandbox: JsonField = JsonMissing.of()
private var channel: JsonField>? = null
private var template: JsonField = JsonMissing.of()
+ private var text: JsonField = JsonMissing.of()
private var to: JsonField>? = null
private var additionalProperties: MutableMap = mutableMapOf()
@@ -498,6 +550,7 @@ private constructor(
sandbox = body.sandbox
channel = body.channel.map { it.toMutableList() }
template = body.template
+ text = body.text
to = body.to.map { it.toMutableList() }
additionalProperties = body.additionalProperties.toMutableMap()
}
@@ -551,7 +604,10 @@ private constructor(
}
/** SDK-style template reference: resolve by ID or by name, with optional parameters. */
- fun template(template: Template) = template(JsonField.of(template))
+ fun template(template: Template?) = template(JsonField.ofNullable(template))
+
+ /** Alias for calling [Builder.template] with `template.orElse(null)`. */
+ fun template(template: Optional) = template(template.getOrNull())
/**
* Sets [Builder.template] to an arbitrary JSON value.
@@ -562,6 +618,21 @@ private constructor(
*/
fun template(template: JsonField) = apply { this.template = template }
+ /** Plain-text (free-form) message body. Provide either Template or this. */
+ fun text(text: String?) = text(JsonField.ofNullable(text))
+
+ /** Alias for calling [Builder.text] with `text.orElse(null)`. */
+ fun text(text: Optional) = text(text.getOrNull())
+
+ /**
+ * Sets [Builder.text] to an arbitrary JSON value.
+ *
+ * You should usually call [Builder.text] with a well-typed [String] value instead. This
+ * method is primarily for setting the field to an undocumented or not yet supported
+ * value.
+ */
+ fun text(text: JsonField) = apply { this.text = text }
+
/** List of recipient phone numbers in E.164 format (multi-recipient fan-out) */
fun to(to: List) = to(JsonField.of(to))
@@ -613,6 +684,7 @@ private constructor(
sandbox,
(channel ?: JsonMissing.of()).map { it.toImmutable() },
template,
+ text,
(to ?: JsonMissing.of()).map { it.toImmutable() },
additionalProperties.toMutableMap(),
)
@@ -637,6 +709,7 @@ private constructor(
sandbox()
channel()
template().ifPresent { it.validate() }
+ text()
to()
validated = true
}
@@ -660,6 +733,7 @@ private constructor(
(if (sandbox.asKnown().isPresent) 1 else 0) +
(channel.asKnown().getOrNull()?.size ?: 0) +
(template.asKnown().getOrNull()?.validity() ?: 0) +
+ (if (text.asKnown().isPresent) 1 else 0) +
(to.asKnown().getOrNull()?.size ?: 0)
override fun equals(other: Any?): Boolean {
@@ -671,18 +745,19 @@ private constructor(
sandbox == other.sandbox &&
channel == other.channel &&
template == other.template &&
+ text == other.text &&
to == other.to &&
additionalProperties == other.additionalProperties
}
private val hashCode: Int by lazy {
- Objects.hash(sandbox, channel, template, to, additionalProperties)
+ Objects.hash(sandbox, channel, template, text, to, additionalProperties)
}
override fun hashCode(): Int = hashCode
override fun toString() =
- "Body{sandbox=$sandbox, channel=$channel, template=$template, to=$to, additionalProperties=$additionalProperties}"
+ "Body{sandbox=$sandbox, channel=$channel, template=$template, text=$text, to=$to, additionalProperties=$additionalProperties}"
}
/** SDK-style template reference: resolve by ID or by name, with optional parameters. */
diff --git a/sent-java-core/src/main/kotlin/dm/sent/models/profiles/campaigns/TcrCampaignWithUseCases.kt b/sent-java-core/src/main/kotlin/dm/sent/models/profiles/campaigns/TcrCampaignWithUseCases.kt
index 18606079..5a8dd6e2 100644
--- a/sent-java-core/src/main/kotlin/dm/sent/models/profiles/campaigns/TcrCampaignWithUseCases.kt
+++ b/sent-java-core/src/main/kotlin/dm/sent/models/profiles/campaigns/TcrCampaignWithUseCases.kt
@@ -34,6 +34,7 @@ private constructor(
private val dcaElectionsComplete: JsonField,
private val dcaElectionsCompletedAt: JsonField,
private val description: JsonField,
+ private val hasSubmissionTransaction: JsonField,
private val helpKeywords: JsonField,
private val helpMessage: JsonField,
private val kycSubmissionFormId: JsonField,
@@ -86,6 +87,9 @@ private constructor(
@JsonProperty("description")
@ExcludeMissing
description: JsonField = JsonMissing.of(),
+ @JsonProperty("hasSubmissionTransaction")
+ @ExcludeMissing
+ hasSubmissionTransaction: JsonField = JsonMissing.of(),
@JsonProperty("helpKeywords")
@ExcludeMissing
helpKeywords: JsonField = JsonMissing.of(),
@@ -158,6 +162,7 @@ private constructor(
dcaElectionsComplete,
dcaElectionsCompletedAt,
description,
+ hasSubmissionTransaction,
helpKeywords,
helpMessage,
kycSubmissionFormId,
@@ -256,6 +261,17 @@ private constructor(
*/
fun description(): Optional = description.getOptional("description")
+ /**
+ * True when this campaign already has a billing transaction of reference type
+ * TCR_CAMPAIGN_SUBMISSION (the one-time submission fee was charged). Populated only by the
+ * campaigns-list path; defaults false on other responses.
+ *
+ * @throws SentInvalidDataException if the JSON field has an unexpected type (e.g. if the server
+ * responded with an unexpected value).
+ */
+ fun hasSubmissionTransaction(): Optional =
+ hasSubmissionTransaction.getOptional("hasSubmissionTransaction")
+
/**
* @throws SentInvalidDataException if the JSON field has an unexpected type (e.g. if the server
* responded with an unexpected value).
@@ -479,6 +495,16 @@ private constructor(
*/
@JsonProperty("description") @ExcludeMissing fun _description(): JsonField = description
+ /**
+ * Returns the raw JSON value of [hasSubmissionTransaction].
+ *
+ * Unlike [hasSubmissionTransaction], this method doesn't throw if the JSON field has an
+ * unexpected type.
+ */
+ @JsonProperty("hasSubmissionTransaction")
+ @ExcludeMissing
+ fun _hasSubmissionTransaction(): JsonField = hasSubmissionTransaction
+
/**
* Returns the raw JSON value of [helpKeywords].
*
@@ -699,6 +725,7 @@ private constructor(
private var dcaElectionsComplete: JsonField = JsonMissing.of()
private var dcaElectionsCompletedAt: JsonField = JsonMissing.of()
private var description: JsonField = JsonMissing.of()
+ private var hasSubmissionTransaction: JsonField = JsonMissing.of()
private var helpKeywords: JsonField = JsonMissing.of()
private var helpMessage: JsonField = JsonMissing.of()
private var kycSubmissionFormId: JsonField = JsonMissing.of()
@@ -736,6 +763,7 @@ private constructor(
dcaElectionsComplete = tcrCampaignWithUseCases.dcaElectionsComplete
dcaElectionsCompletedAt = tcrCampaignWithUseCases.dcaElectionsCompletedAt
description = tcrCampaignWithUseCases.description
+ hasSubmissionTransaction = tcrCampaignWithUseCases.hasSubmissionTransaction
helpKeywords = tcrCampaignWithUseCases.helpKeywords
helpMessage = tcrCampaignWithUseCases.helpMessage
kycSubmissionFormId = tcrCampaignWithUseCases.kycSubmissionFormId
@@ -931,6 +959,25 @@ private constructor(
*/
fun description(description: JsonField) = apply { this.description = description }
+ /**
+ * True when this campaign already has a billing transaction of reference type
+ * TCR_CAMPAIGN_SUBMISSION (the one-time submission fee was charged). Populated only by the
+ * campaigns-list path; defaults false on other responses.
+ */
+ fun hasSubmissionTransaction(hasSubmissionTransaction: Boolean) =
+ hasSubmissionTransaction(JsonField.of(hasSubmissionTransaction))
+
+ /**
+ * Sets [Builder.hasSubmissionTransaction] to an arbitrary JSON value.
+ *
+ * You should usually call [Builder.hasSubmissionTransaction] with a well-typed [Boolean]
+ * value instead. This method is primarily for setting the field to an undocumented or not
+ * yet supported value.
+ */
+ fun hasSubmissionTransaction(hasSubmissionTransaction: JsonField) = apply {
+ this.hasSubmissionTransaction = hasSubmissionTransaction
+ }
+
fun helpKeywords(helpKeywords: String?) = helpKeywords(JsonField.ofNullable(helpKeywords))
/** Alias for calling [Builder.helpKeywords] with `helpKeywords.orElse(null)`. */
@@ -1332,6 +1379,7 @@ private constructor(
dcaElectionsComplete,
dcaElectionsCompletedAt,
description,
+ hasSubmissionTransaction,
helpKeywords,
helpMessage,
kycSubmissionFormId,
@@ -1384,6 +1432,7 @@ private constructor(
dcaElectionsComplete()
dcaElectionsCompletedAt()
description()
+ hasSubmissionTransaction()
helpKeywords()
helpMessage()
kycSubmissionFormId()
@@ -1435,6 +1484,7 @@ private constructor(
(if (dcaElectionsComplete.asKnown().isPresent) 1 else 0) +
(if (dcaElectionsCompletedAt.asKnown().isPresent) 1 else 0) +
(if (description.asKnown().isPresent) 1 else 0) +
+ (if (hasSubmissionTransaction.asKnown().isPresent) 1 else 0) +
(if (helpKeywords.asKnown().isPresent) 1 else 0) +
(if (helpMessage.asKnown().isPresent) 1 else 0) +
(if (kycSubmissionFormId.asKnown().isPresent) 1 else 0) +
@@ -2180,6 +2230,7 @@ private constructor(
dcaElectionsComplete == other.dcaElectionsComplete &&
dcaElectionsCompletedAt == other.dcaElectionsCompletedAt &&
description == other.description &&
+ hasSubmissionTransaction == other.hasSubmissionTransaction &&
helpKeywords == other.helpKeywords &&
helpMessage == other.helpMessage &&
kycSubmissionFormId == other.kycSubmissionFormId &&
@@ -2218,6 +2269,7 @@ private constructor(
dcaElectionsComplete,
dcaElectionsCompletedAt,
description,
+ hasSubmissionTransaction,
helpKeywords,
helpMessage,
kycSubmissionFormId,
@@ -2247,5 +2299,5 @@ private constructor(
override fun hashCode(): Int = hashCode
override fun toString() =
- "TcrCampaignWithUseCases{id=$id, createdAt=$createdAt, updatedAt=$updatedAt, billedDate=$billedDate, brandId=$brandId, cost=$cost, cspId=$cspId, customerId=$customerId, dcaElectionsComplete=$dcaElectionsComplete, dcaElectionsCompletedAt=$dcaElectionsCompletedAt, description=$description, helpKeywords=$helpKeywords, helpMessage=$helpMessage, kycSubmissionFormId=$kycSubmissionFormId, messageFlow=$messageFlow, name=$name, optinKeywords=$optinKeywords, optinMessage=$optinMessage, optoutKeywords=$optoutKeywords, optoutMessage=$optoutMessage, privacyPolicyLink=$privacyPolicyLink, resellerId=$resellerId, sharingStatus=$sharingStatus, status=$status, submittedAt=$submittedAt, submittedToTcr=$submittedToTcr, tcrCampaignId=$tcrCampaignId, tcrSyncError=$tcrSyncError, telnyxCampaignId=$telnyxCampaignId, termsAndConditionsLink=$termsAndConditionsLink, type=$type, upstreamCnpId=$upstreamCnpId, useCases=$useCases, additionalProperties=$additionalProperties}"
+ "TcrCampaignWithUseCases{id=$id, createdAt=$createdAt, updatedAt=$updatedAt, billedDate=$billedDate, brandId=$brandId, cost=$cost, cspId=$cspId, customerId=$customerId, dcaElectionsComplete=$dcaElectionsComplete, dcaElectionsCompletedAt=$dcaElectionsCompletedAt, description=$description, hasSubmissionTransaction=$hasSubmissionTransaction, helpKeywords=$helpKeywords, helpMessage=$helpMessage, kycSubmissionFormId=$kycSubmissionFormId, messageFlow=$messageFlow, name=$name, optinKeywords=$optinKeywords, optinMessage=$optinMessage, optoutKeywords=$optoutKeywords, optoutMessage=$optoutMessage, privacyPolicyLink=$privacyPolicyLink, resellerId=$resellerId, sharingStatus=$sharingStatus, status=$status, submittedAt=$submittedAt, submittedToTcr=$submittedToTcr, tcrCampaignId=$tcrCampaignId, tcrSyncError=$tcrSyncError, telnyxCampaignId=$telnyxCampaignId, termsAndConditionsLink=$termsAndConditionsLink, type=$type, upstreamCnpId=$upstreamCnpId, useCases=$useCases, additionalProperties=$additionalProperties}"
}
diff --git a/sent-java-core/src/test/kotlin/dm/sent/models/messages/MessageSendParamsTest.kt b/sent-java-core/src/test/kotlin/dm/sent/models/messages/MessageSendParamsTest.kt
index c9b4aad7..7a2a4d03 100644
--- a/sent-java-core/src/test/kotlin/dm/sent/models/messages/MessageSendParamsTest.kt
+++ b/sent-java-core/src/test/kotlin/dm/sent/models/messages/MessageSendParamsTest.kt
@@ -30,6 +30,7 @@ internal class MessageSendParamsTest {
)
.build()
)
+ .text(null)
.addTo("+14155551234")
.addTo("+14155555678")
.build()
@@ -56,6 +57,7 @@ internal class MessageSendParamsTest {
)
.build()
)
+ .text(null)
.addTo("+14155551234")
.addTo("+14155555678")
.build()
@@ -101,6 +103,7 @@ internal class MessageSendParamsTest {
)
.build()
)
+ .text(null)
.addTo("+14155551234")
.addTo("+14155555678")
.build()
@@ -122,6 +125,7 @@ internal class MessageSendParamsTest {
)
.build()
)
+ assertThat(body.text()).isEmpty
assertThat(body.to().getOrNull()).containsExactly("+14155551234", "+14155555678")
}
diff --git a/sent-java-core/src/test/kotlin/dm/sent/models/profiles/campaigns/ApiResponseOfTcrCampaignWithUseCasesTest.kt b/sent-java-core/src/test/kotlin/dm/sent/models/profiles/campaigns/ApiResponseOfTcrCampaignWithUseCasesTest.kt
index fbe41a06..ebe39cfd 100644
--- a/sent-java-core/src/test/kotlin/dm/sent/models/profiles/campaigns/ApiResponseOfTcrCampaignWithUseCasesTest.kt
+++ b/sent-java-core/src/test/kotlin/dm/sent/models/profiles/campaigns/ApiResponseOfTcrCampaignWithUseCasesTest.kt
@@ -30,6 +30,7 @@ internal class ApiResponseOfTcrCampaignWithUseCasesTest {
.dcaElectionsComplete(true)
.dcaElectionsCompletedAt(OffsetDateTime.parse("2019-12-27T18:11:19.117Z"))
.description("description")
+ .hasSubmissionTransaction(true)
.helpKeywords("helpKeywords")
.helpMessage("helpMessage")
.kycSubmissionFormId("182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e")
@@ -100,6 +101,7 @@ internal class ApiResponseOfTcrCampaignWithUseCasesTest {
.dcaElectionsComplete(true)
.dcaElectionsCompletedAt(OffsetDateTime.parse("2019-12-27T18:11:19.117Z"))
.description("description")
+ .hasSubmissionTransaction(true)
.helpKeywords("helpKeywords")
.helpMessage("helpMessage")
.kycSubmissionFormId("182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e")
@@ -176,6 +178,7 @@ internal class ApiResponseOfTcrCampaignWithUseCasesTest {
.dcaElectionsComplete(true)
.dcaElectionsCompletedAt(OffsetDateTime.parse("2019-12-27T18:11:19.117Z"))
.description("description")
+ .hasSubmissionTransaction(true)
.helpKeywords("helpKeywords")
.helpMessage("helpMessage")
.kycSubmissionFormId("182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e")
diff --git a/sent-java-core/src/test/kotlin/dm/sent/models/profiles/campaigns/CampaignListResponseTest.kt b/sent-java-core/src/test/kotlin/dm/sent/models/profiles/campaigns/CampaignListResponseTest.kt
index f5d93351..41ec2764 100644
--- a/sent-java-core/src/test/kotlin/dm/sent/models/profiles/campaigns/CampaignListResponseTest.kt
+++ b/sent-java-core/src/test/kotlin/dm/sent/models/profiles/campaigns/CampaignListResponseTest.kt
@@ -31,6 +31,7 @@ internal class CampaignListResponseTest {
.dcaElectionsComplete(true)
.dcaElectionsCompletedAt(OffsetDateTime.parse("2019-12-27T18:11:19.117Z"))
.description("description")
+ .hasSubmissionTransaction(true)
.helpKeywords("helpKeywords")
.helpMessage("helpMessage")
.kycSubmissionFormId("182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e")
@@ -101,6 +102,7 @@ internal class CampaignListResponseTest {
.dcaElectionsComplete(true)
.dcaElectionsCompletedAt(OffsetDateTime.parse("2019-12-27T18:11:19.117Z"))
.description("description")
+ .hasSubmissionTransaction(true)
.helpKeywords("helpKeywords")
.helpMessage("helpMessage")
.kycSubmissionFormId("182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e")
@@ -177,6 +179,7 @@ internal class CampaignListResponseTest {
.dcaElectionsComplete(true)
.dcaElectionsCompletedAt(OffsetDateTime.parse("2019-12-27T18:11:19.117Z"))
.description("description")
+ .hasSubmissionTransaction(true)
.helpKeywords("helpKeywords")
.helpMessage("helpMessage")
.kycSubmissionFormId("182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e")
diff --git a/sent-java-core/src/test/kotlin/dm/sent/models/profiles/campaigns/TcrCampaignWithUseCasesTest.kt b/sent-java-core/src/test/kotlin/dm/sent/models/profiles/campaigns/TcrCampaignWithUseCasesTest.kt
index 663b8568..6b08f603 100644
--- a/sent-java-core/src/test/kotlin/dm/sent/models/profiles/campaigns/TcrCampaignWithUseCasesTest.kt
+++ b/sent-java-core/src/test/kotlin/dm/sent/models/profiles/campaigns/TcrCampaignWithUseCasesTest.kt
@@ -26,6 +26,7 @@ internal class TcrCampaignWithUseCasesTest {
.dcaElectionsComplete(true)
.dcaElectionsCompletedAt(OffsetDateTime.parse("2019-12-27T18:11:19.117Z"))
.description("description")
+ .hasSubmissionTransaction(true)
.helpKeywords("helpKeywords")
.helpMessage("helpMessage")
.kycSubmissionFormId("182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e")
@@ -77,6 +78,7 @@ internal class TcrCampaignWithUseCasesTest {
assertThat(tcrCampaignWithUseCases.dcaElectionsCompletedAt())
.contains(OffsetDateTime.parse("2019-12-27T18:11:19.117Z"))
assertThat(tcrCampaignWithUseCases.description()).contains("description")
+ assertThat(tcrCampaignWithUseCases.hasSubmissionTransaction()).contains(true)
assertThat(tcrCampaignWithUseCases.helpKeywords()).contains("helpKeywords")
assertThat(tcrCampaignWithUseCases.helpMessage()).contains("helpMessage")
assertThat(tcrCampaignWithUseCases.kycSubmissionFormId())
@@ -133,6 +135,7 @@ internal class TcrCampaignWithUseCasesTest {
.dcaElectionsComplete(true)
.dcaElectionsCompletedAt(OffsetDateTime.parse("2019-12-27T18:11:19.117Z"))
.description("description")
+ .hasSubmissionTransaction(true)
.helpKeywords("helpKeywords")
.helpMessage("helpMessage")
.kycSubmissionFormId("182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e")
diff --git a/sent-java-core/src/test/kotlin/dm/sent/services/ErrorHandlingTest.kt b/sent-java-core/src/test/kotlin/dm/sent/services/ErrorHandlingTest.kt
index 64fb2a55..908934a1 100644
--- a/sent-java-core/src/test/kotlin/dm/sent/services/ErrorHandlingTest.kt
+++ b/sent-java-core/src/test/kotlin/dm/sent/services/ErrorHandlingTest.kt
@@ -89,6 +89,7 @@ internal class ErrorHandlingTest {
)
.build()
)
+ .text(null)
.addTo("+14155551234")
.addTo("+14155555678")
.build()
@@ -131,6 +132,7 @@ internal class ErrorHandlingTest {
)
.build()
)
+ .text(null)
.addTo("+14155551234")
.addTo("+14155555678")
.build()
@@ -173,6 +175,7 @@ internal class ErrorHandlingTest {
)
.build()
)
+ .text(null)
.addTo("+14155551234")
.addTo("+14155555678")
.build()
@@ -215,6 +218,7 @@ internal class ErrorHandlingTest {
)
.build()
)
+ .text(null)
.addTo("+14155551234")
.addTo("+14155555678")
.build()
@@ -257,6 +261,7 @@ internal class ErrorHandlingTest {
)
.build()
)
+ .text(null)
.addTo("+14155551234")
.addTo("+14155555678")
.build()
@@ -299,6 +304,7 @@ internal class ErrorHandlingTest {
)
.build()
)
+ .text(null)
.addTo("+14155551234")
.addTo("+14155555678")
.build()
@@ -341,6 +347,7 @@ internal class ErrorHandlingTest {
)
.build()
)
+ .text(null)
.addTo("+14155551234")
.addTo("+14155555678")
.build()
@@ -383,6 +390,7 @@ internal class ErrorHandlingTest {
)
.build()
)
+ .text(null)
.addTo("+14155551234")
.addTo("+14155555678")
.build()
@@ -425,6 +433,7 @@ internal class ErrorHandlingTest {
)
.build()
)
+ .text(null)
.addTo("+14155551234")
.addTo("+14155555678")
.build()
@@ -467,6 +476,7 @@ internal class ErrorHandlingTest {
)
.build()
)
+ .text(null)
.addTo("+14155551234")
.addTo("+14155555678")
.build()
@@ -509,6 +519,7 @@ internal class ErrorHandlingTest {
)
.build()
)
+ .text(null)
.addTo("+14155551234")
.addTo("+14155555678")
.build()
@@ -551,6 +562,7 @@ internal class ErrorHandlingTest {
)
.build()
)
+ .text(null)
.addTo("+14155551234")
.addTo("+14155555678")
.build()
@@ -593,6 +605,7 @@ internal class ErrorHandlingTest {
)
.build()
)
+ .text(null)
.addTo("+14155551234")
.addTo("+14155555678")
.build()
@@ -635,6 +648,7 @@ internal class ErrorHandlingTest {
)
.build()
)
+ .text(null)
.addTo("+14155551234")
.addTo("+14155555678")
.build()
@@ -677,6 +691,7 @@ internal class ErrorHandlingTest {
)
.build()
)
+ .text(null)
.addTo("+14155551234")
.addTo("+14155555678")
.build()
@@ -719,6 +734,7 @@ internal class ErrorHandlingTest {
)
.build()
)
+ .text(null)
.addTo("+14155551234")
.addTo("+14155555678")
.build()
@@ -759,6 +775,7 @@ internal class ErrorHandlingTest {
)
.build()
)
+ .text(null)
.addTo("+14155551234")
.addTo("+14155555678")
.build()
diff --git a/sent-java-core/src/test/kotlin/dm/sent/services/ServiceParamsTest.kt b/sent-java-core/src/test/kotlin/dm/sent/services/ServiceParamsTest.kt
index c9029953..860f3a0f 100644
--- a/sent-java-core/src/test/kotlin/dm/sent/services/ServiceParamsTest.kt
+++ b/sent-java-core/src/test/kotlin/dm/sent/services/ServiceParamsTest.kt
@@ -61,6 +61,7 @@ internal class ServiceParamsTest {
)
.build()
)
+ .text(null)
.addTo("+14155551234")
.addTo("+14155555678")
.putAdditionalHeader("Secret-Header", "42")
diff --git a/sent-java-core/src/test/kotlin/dm/sent/services/async/MessageServiceAsyncTest.kt b/sent-java-core/src/test/kotlin/dm/sent/services/async/MessageServiceAsyncTest.kt
index 15e31a7a..e226f562 100644
--- a/sent-java-core/src/test/kotlin/dm/sent/services/async/MessageServiceAsyncTest.kt
+++ b/sent-java-core/src/test/kotlin/dm/sent/services/async/MessageServiceAsyncTest.kt
@@ -74,6 +74,7 @@ internal class MessageServiceAsyncTest {
)
.build()
)
+ .text(null)
.addTo("+14155551234")
.addTo("+14155555678")
.build()
diff --git a/sent-java-core/src/test/kotlin/dm/sent/services/blocking/MessageServiceTest.kt b/sent-java-core/src/test/kotlin/dm/sent/services/blocking/MessageServiceTest.kt
index 7287504c..094ca13b 100644
--- a/sent-java-core/src/test/kotlin/dm/sent/services/blocking/MessageServiceTest.kt
+++ b/sent-java-core/src/test/kotlin/dm/sent/services/blocking/MessageServiceTest.kt
@@ -72,6 +72,7 @@ internal class MessageServiceTest {
)
.build()
)
+ .text(null)
.addTo("+14155551234")
.addTo("+14155555678")
.build()