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 @@
{
".": "6.29.0"
".": "6.30.0"
}
8 changes: 4 additions & 4 deletions .stats.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
configured_endpoints: 975
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/telnyx%2Ftelnyx-dd7ad9ab732796305a9df0e8d9a179ade1da3fc61481e97b5cb32fc8b994ec3e.yml
openapi_spec_hash: 181b2e53e84c5fc20c94655071723527
config_hash: 5d71cbaf27f63f9d363f3007d99d52e9
configured_endpoints: 990
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/telnyx%2Ftelnyx-c39f4809dcbdc6578bcbac6dee9201bf644b3ea726a177bad109dc1741bb1af7.yml
openapi_spec_hash: 83778fa2320ecccb46e85201c47c6a26
config_hash: b314a1db2a665ac943d39160db40c05d
18 changes: 18 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,23 @@
# Changelog

## 6.30.0 (2026-03-13)

Full Changelog: [v6.29.0...v6.30.0](https://github.com/team-telnyx/telnyx-java/compare/v6.29.0...v6.30.0)

### Features

* add public x402 payment endpoints to external specs ([b7fd2ea](https://github.com/team-telnyx/telnyx-java/commit/b7fd2ea5a9b2a0db79343811989ff18a4b3bc045))
* Add Voice Designs and Voice Clones API specification ([aa3b836](https://github.com/team-telnyx/telnyx-java/commit/aa3b83691821a2b4f6ee8b545e02790fc272d92b))
* AI-2131: Add expressive_mode boolean to VoiceSettings ([7394919](https://github.com/team-telnyx/telnyx-java/commit/7394919715a13fdb079cf5c514cbae747a0faca6))
* **api:** manual updates ([8ec5265](https://github.com/team-telnyx/telnyx-java/commit/8ec526546a542d94fdfbae12fc5a8013b37d90f4))
* **api:** Merge pull request [#29](https://github.com/team-telnyx/telnyx-java/issues/29) from stainless-sdks/fix-add-voice-model ([d23bcc4](https://github.com/team-telnyx/telnyx-java/commit/d23bcc4e2a6a8f17b0b51d622e8bd0f96676cf56))
* **api:** update OpenAPI spec or Stainless config ([d23bcc4](https://github.com/team-telnyx/telnyx-java/commit/d23bcc4e2a6a8f17b0b51d622e8bd0f96676cf56))


### Bug Fixes

* **call-recordings:** align OpenAPI spec with implementation ([57e7cae](https://github.com/team-telnyx/telnyx-java/commit/57e7cae9781f30c09498d7023b4993dfc9b0f422))

## 6.29.0 (2026-03-11)

Full Changelog: [v6.28.0...v6.29.0](https://github.com/team-telnyx/telnyx-java/compare/v6.28.0...v6.29.0)
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

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

[![Maven Central](https://img.shields.io/maven-central/v/com.telnyx.sdk/telnyx)](https://central.sonatype.com/artifact/com.telnyx.sdk/telnyx/6.29.0)
[![Maven Central](https://img.shields.io/maven-central/v/com.telnyx.sdk/telnyx)](https://central.sonatype.com/artifact/com.telnyx.sdk/telnyx/6.30.0)

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

Expand All @@ -26,7 +26,7 @@ Use the Telnyx MCP Server to enable AI assistants to interact with this API, all
### Gradle

```kotlin
implementation("com.telnyx.sdk:telnyx:6.29.0")
implementation("com.telnyx.sdk:telnyx:6.30.0")
```

### Maven
Expand All @@ -35,7 +35,7 @@ implementation("com.telnyx.sdk:telnyx:6.29.0")
<dependency>
<groupId>com.telnyx.sdk</groupId>
<artifactId>telnyx</artifactId>
<version>6.29.0</version>
<version>6.30.0</version>
</dependency>
```

Expand Down
2 changes: 1 addition & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
allprojects {
group = "com.telnyx.sdk"
version = "6.29.0" // x-release-please-version
version = "6.30.0" // x-release-please-version
}

subprojects {
Expand Down
19 changes: 19 additions & 0 deletions telnyx-core/src/main/kotlin/com/telnyx/sdk/client/TelnyxClient.kt
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,8 @@ import com.telnyx.sdk.services.blocking.VerifiedNumberService
import com.telnyx.sdk.services.blocking.VerifyProfileService
import com.telnyx.sdk.services.blocking.VirtualCrossConnectService
import com.telnyx.sdk.services.blocking.VirtualCrossConnectsCoverageService
import com.telnyx.sdk.services.blocking.VoiceCloneService
import com.telnyx.sdk.services.blocking.VoiceDesignService
import com.telnyx.sdk.services.blocking.WebhookDeliveryService
import com.telnyx.sdk.services.blocking.WebhookService
import com.telnyx.sdk.services.blocking.WellKnownService
Expand All @@ -158,6 +160,7 @@ import com.telnyx.sdk.services.blocking.WireguardPeerService
import com.telnyx.sdk.services.blocking.WirelessBlocklistService
import com.telnyx.sdk.services.blocking.WirelessBlocklistValueService
import com.telnyx.sdk.services.blocking.WirelessService
import com.telnyx.sdk.services.blocking.X402Service
import java.util.function.Consumer

/**
Expand Down Expand Up @@ -642,6 +645,14 @@ interface TelnyxClient {
/** Manage Whatsapp message templates */
fun whatsappMessageTemplates(): WhatsappMessageTemplateService

/** Capture and manage voice identities as clones for use in text-to-speech synthesis. */
fun voiceClones(): VoiceCloneService

/** Create and manage AI-generated voice designs using natural language prompts. */
fun voiceDesigns(): VoiceDesignService

fun x402(): X402Service

/**
* Closes this client, relinquishing any underlying resources.
*
Expand Down Expand Up @@ -1111,5 +1122,13 @@ interface TelnyxClient {

/** Manage Whatsapp message templates */
fun whatsappMessageTemplates(): WhatsappMessageTemplateService.WithRawResponse

/** Capture and manage voice identities as clones for use in text-to-speech synthesis. */
fun voiceClones(): VoiceCloneService.WithRawResponse

/** Create and manage AI-generated voice designs using natural language prompts. */
fun voiceDesigns(): VoiceDesignService.WithRawResponse

fun x402(): X402Service.WithRawResponse
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,8 @@ import com.telnyx.sdk.services.async.VerifiedNumberServiceAsync
import com.telnyx.sdk.services.async.VerifyProfileServiceAsync
import com.telnyx.sdk.services.async.VirtualCrossConnectServiceAsync
import com.telnyx.sdk.services.async.VirtualCrossConnectsCoverageServiceAsync
import com.telnyx.sdk.services.async.VoiceCloneServiceAsync
import com.telnyx.sdk.services.async.VoiceDesignServiceAsync
import com.telnyx.sdk.services.async.WebhookDeliveryServiceAsync
import com.telnyx.sdk.services.async.WebhookServiceAsync
import com.telnyx.sdk.services.async.WellKnownServiceAsync
Expand All @@ -158,6 +160,7 @@ import com.telnyx.sdk.services.async.WireguardPeerServiceAsync
import com.telnyx.sdk.services.async.WirelessBlocklistServiceAsync
import com.telnyx.sdk.services.async.WirelessBlocklistValueServiceAsync
import com.telnyx.sdk.services.async.WirelessServiceAsync
import com.telnyx.sdk.services.async.X402ServiceAsync
import java.util.function.Consumer

/**
Expand Down Expand Up @@ -642,6 +645,14 @@ interface TelnyxClientAsync {
/** Manage Whatsapp message templates */
fun whatsappMessageTemplates(): WhatsappMessageTemplateServiceAsync

/** Capture and manage voice identities as clones for use in text-to-speech synthesis. */
fun voiceClones(): VoiceCloneServiceAsync

/** Create and manage AI-generated voice designs using natural language prompts. */
fun voiceDesigns(): VoiceDesignServiceAsync

fun x402(): X402ServiceAsync

/**
* Closes this client, relinquishing any underlying resources.
*
Expand Down Expand Up @@ -1114,5 +1125,13 @@ interface TelnyxClientAsync {

/** Manage Whatsapp message templates */
fun whatsappMessageTemplates(): WhatsappMessageTemplateServiceAsync.WithRawResponse

/** Capture and manage voice identities as clones for use in text-to-speech synthesis. */
fun voiceClones(): VoiceCloneServiceAsync.WithRawResponse

/** Create and manage AI-generated voice designs using natural language prompts. */
fun voiceDesigns(): VoiceDesignServiceAsync.WithRawResponse

fun x402(): X402ServiceAsync.WithRawResponse
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -294,6 +294,10 @@ import com.telnyx.sdk.services.async.VirtualCrossConnectServiceAsync
import com.telnyx.sdk.services.async.VirtualCrossConnectServiceAsyncImpl
import com.telnyx.sdk.services.async.VirtualCrossConnectsCoverageServiceAsync
import com.telnyx.sdk.services.async.VirtualCrossConnectsCoverageServiceAsyncImpl
import com.telnyx.sdk.services.async.VoiceCloneServiceAsync
import com.telnyx.sdk.services.async.VoiceCloneServiceAsyncImpl
import com.telnyx.sdk.services.async.VoiceDesignServiceAsync
import com.telnyx.sdk.services.async.VoiceDesignServiceAsyncImpl
import com.telnyx.sdk.services.async.WebhookDeliveryServiceAsync
import com.telnyx.sdk.services.async.WebhookDeliveryServiceAsyncImpl
import com.telnyx.sdk.services.async.WebhookServiceAsync
Expand All @@ -314,6 +318,8 @@ import com.telnyx.sdk.services.async.WirelessBlocklistValueServiceAsync
import com.telnyx.sdk.services.async.WirelessBlocklistValueServiceAsyncImpl
import com.telnyx.sdk.services.async.WirelessServiceAsync
import com.telnyx.sdk.services.async.WirelessServiceAsyncImpl
import com.telnyx.sdk.services.async.X402ServiceAsync
import com.telnyx.sdk.services.async.X402ServiceAsyncImpl
import java.util.function.Consumer

class TelnyxClientAsyncImpl(private val clientOptions: ClientOptions) : TelnyxClientAsync {
Expand Down Expand Up @@ -938,6 +944,16 @@ class TelnyxClientAsyncImpl(private val clientOptions: ClientOptions) : TelnyxCl
WhatsappMessageTemplateServiceAsyncImpl(clientOptionsWithUserAgent)
}

private val voiceClones: VoiceCloneServiceAsync by lazy {
VoiceCloneServiceAsyncImpl(clientOptionsWithUserAgent)
}

private val voiceDesigns: VoiceDesignServiceAsync by lazy {
VoiceDesignServiceAsyncImpl(clientOptionsWithUserAgent)
}

private val x402: X402ServiceAsync by lazy { X402ServiceAsyncImpl(clientOptionsWithUserAgent) }

override fun sync(): TelnyxClient = sync

override fun withRawResponse(): TelnyxClientAsync.WithRawResponse = withRawResponse
Expand Down Expand Up @@ -1420,6 +1436,14 @@ class TelnyxClientAsyncImpl(private val clientOptions: ClientOptions) : TelnyxCl
override fun whatsappMessageTemplates(): WhatsappMessageTemplateServiceAsync =
whatsappMessageTemplates

/** Capture and manage voice identities as clones for use in text-to-speech synthesis. */
override fun voiceClones(): VoiceCloneServiceAsync = voiceClones

/** Create and manage AI-generated voice designs using natural language prompts. */
override fun voiceDesigns(): VoiceDesignServiceAsync = voiceDesigns

override fun x402(): X402ServiceAsync = x402

override fun close() = clientOptions.close()

class WithRawResponseImpl internal constructor(private val clientOptions: ClientOptions) :
Expand Down Expand Up @@ -2081,6 +2105,18 @@ class TelnyxClientAsyncImpl(private val clientOptions: ClientOptions) : TelnyxCl
WhatsappMessageTemplateServiceAsyncImpl.WithRawResponseImpl(clientOptions)
}

private val voiceClones: VoiceCloneServiceAsync.WithRawResponse by lazy {
VoiceCloneServiceAsyncImpl.WithRawResponseImpl(clientOptions)
}

private val voiceDesigns: VoiceDesignServiceAsync.WithRawResponse by lazy {
VoiceDesignServiceAsyncImpl.WithRawResponseImpl(clientOptions)
}

private val x402: X402ServiceAsync.WithRawResponse by lazy {
X402ServiceAsyncImpl.WithRawResponseImpl(clientOptions)
}

override fun withOptions(
modifier: Consumer<ClientOptions.Builder>
): TelnyxClientAsync.WithRawResponse =
Expand Down Expand Up @@ -2611,5 +2647,13 @@ class TelnyxClientAsyncImpl(private val clientOptions: ClientOptions) : TelnyxCl
/** Manage Whatsapp message templates */
override fun whatsappMessageTemplates():
WhatsappMessageTemplateServiceAsync.WithRawResponse = whatsappMessageTemplates

/** Capture and manage voice identities as clones for use in text-to-speech synthesis. */
override fun voiceClones(): VoiceCloneServiceAsync.WithRawResponse = voiceClones

/** Create and manage AI-generated voice designs using natural language prompts. */
override fun voiceDesigns(): VoiceDesignServiceAsync.WithRawResponse = voiceDesigns

override fun x402(): X402ServiceAsync.WithRawResponse = x402
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -294,6 +294,10 @@ import com.telnyx.sdk.services.blocking.VirtualCrossConnectService
import com.telnyx.sdk.services.blocking.VirtualCrossConnectServiceImpl
import com.telnyx.sdk.services.blocking.VirtualCrossConnectsCoverageService
import com.telnyx.sdk.services.blocking.VirtualCrossConnectsCoverageServiceImpl
import com.telnyx.sdk.services.blocking.VoiceCloneService
import com.telnyx.sdk.services.blocking.VoiceCloneServiceImpl
import com.telnyx.sdk.services.blocking.VoiceDesignService
import com.telnyx.sdk.services.blocking.VoiceDesignServiceImpl
import com.telnyx.sdk.services.blocking.WebhookDeliveryService
import com.telnyx.sdk.services.blocking.WebhookDeliveryServiceImpl
import com.telnyx.sdk.services.blocking.WebhookService
Expand All @@ -314,6 +318,8 @@ import com.telnyx.sdk.services.blocking.WirelessBlocklistValueService
import com.telnyx.sdk.services.blocking.WirelessBlocklistValueServiceImpl
import com.telnyx.sdk.services.blocking.WirelessService
import com.telnyx.sdk.services.blocking.WirelessServiceImpl
import com.telnyx.sdk.services.blocking.X402Service
import com.telnyx.sdk.services.blocking.X402ServiceImpl
import java.util.function.Consumer

class TelnyxClientImpl(private val clientOptions: ClientOptions) : TelnyxClient {
Expand Down Expand Up @@ -896,6 +902,16 @@ class TelnyxClientImpl(private val clientOptions: ClientOptions) : TelnyxClient
WhatsappMessageTemplateServiceImpl(clientOptionsWithUserAgent)
}

private val voiceClones: VoiceCloneService by lazy {
VoiceCloneServiceImpl(clientOptionsWithUserAgent)
}

private val voiceDesigns: VoiceDesignService by lazy {
VoiceDesignServiceImpl(clientOptionsWithUserAgent)
}

private val x402: X402Service by lazy { X402ServiceImpl(clientOptionsWithUserAgent) }

override fun async(): TelnyxClientAsync = async

override fun withRawResponse(): TelnyxClient.WithRawResponse = withRawResponse
Expand Down Expand Up @@ -1364,6 +1380,14 @@ class TelnyxClientImpl(private val clientOptions: ClientOptions) : TelnyxClient
override fun whatsappMessageTemplates(): WhatsappMessageTemplateService =
whatsappMessageTemplates

/** Capture and manage voice identities as clones for use in text-to-speech synthesis. */
override fun voiceClones(): VoiceCloneService = voiceClones

/** Create and manage AI-generated voice designs using natural language prompts. */
override fun voiceDesigns(): VoiceDesignService = voiceDesigns

override fun x402(): X402Service = x402

override fun close() = clientOptions.close()

class WithRawResponseImpl internal constructor(private val clientOptions: ClientOptions) :
Expand Down Expand Up @@ -2004,6 +2028,18 @@ class TelnyxClientImpl(private val clientOptions: ClientOptions) : TelnyxClient
WhatsappMessageTemplateServiceImpl.WithRawResponseImpl(clientOptions)
}

private val voiceClones: VoiceCloneService.WithRawResponse by lazy {
VoiceCloneServiceImpl.WithRawResponseImpl(clientOptions)
}

private val voiceDesigns: VoiceDesignService.WithRawResponse by lazy {
VoiceDesignServiceImpl.WithRawResponseImpl(clientOptions)
}

private val x402: X402Service.WithRawResponse by lazy {
X402ServiceImpl.WithRawResponseImpl(clientOptions)
}

override fun withOptions(
modifier: Consumer<ClientOptions.Builder>
): TelnyxClient.WithRawResponse =
Expand Down Expand Up @@ -2521,5 +2557,13 @@ class TelnyxClientImpl(private val clientOptions: ClientOptions) : TelnyxClient
/** Manage Whatsapp message templates */
override fun whatsappMessageTemplates(): WhatsappMessageTemplateService.WithRawResponse =
whatsappMessageTemplates

/** Capture and manage voice identities as clones for use in text-to-speech synthesis. */
override fun voiceClones(): VoiceCloneService.WithRawResponse = voiceClones

/** Create and manage AI-generated voice designs using natural language prompts. */
override fun voiceDesigns(): VoiceDesignService.WithRawResponse = voiceDesigns

override fun x402(): X402Service.WithRawResponse = x402
}
}
Loading
Loading