Skip to content
Merged
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.85.0"
".": "6.86.0"
}
2 changes: 1 addition & 1 deletion .stats.yml
Original file line number Diff line number Diff line change
@@ -1 +1 @@
configured_endpoints: 1222
configured_endpoints: 1233
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# Changelog

## [6.86.0](https://github.com/team-telnyx/telnyx-java/compare/v6.85.0...v6.86.0) (2026-08-14)


### Features

* promote from staging 4b164ce ([63147f6](https://github.com/team-telnyx/telnyx-java/commit/63147f69840b04f8e5d5901efce4f3f460275142))

## [6.85.0](https://github.com/team-telnyx/telnyx-java/compare/v6.84.0...v6.85.0) (2026-08-11)


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.85.0)
[![Maven Central](https://img.shields.io/maven-central/v/com.telnyx.sdk/telnyx)](https://central.sonatype.com/artifact/com.telnyx.sdk/telnyx/6.86.0)

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

Expand All @@ -17,7 +17,7 @@ It is generated with [Stainless](https://www.stainless.com/).
### Gradle

```kotlin
implementation("com.telnyx.sdk:telnyx:6.85.0")
implementation("com.telnyx.sdk:telnyx:6.86.0")
```

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

Expand Down
3,074 changes: 3,074 additions & 0 deletions api.md

Large diffs are not rendered by default.

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.85.0" // x-release-please-version
version = "6.86.0" // x-release-please-version
}

subprojects {
Expand Down
4 changes: 2 additions & 2 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ org.gradle.parallel=true
org.gradle.daemon=false
# These options improve our compilation and test performance. They are inherited by the Kotlin daemon.
org.gradle.jvmargs=\
-Xms2g \
-Xmx8g \
-Xms12g \
-Xmx12g \
-XX:+UseParallelGC \
-XX:InitialCodeCacheSize=256m \
-XX:ReservedCodeCacheSize=1G \
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -172,6 +172,7 @@ 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.VoiceSdkCallReportService
import com.telnyx.sdk.services.blocking.WebSearchService
import com.telnyx.sdk.services.blocking.WebhookDeliveryService
import com.telnyx.sdk.services.blocking.WebhookService
import com.telnyx.sdk.services.blocking.WellKnownService
Expand Down Expand Up @@ -750,6 +751,8 @@ interface TelnyxClient {

fun pricing(): PricingService

fun webSearch(): WebSearchService

/**
* Closes this client, relinquishing any underlying resources.
*
Expand Down Expand Up @@ -1305,5 +1308,7 @@ interface TelnyxClient {
fun emailValidations(): EmailValidationService.WithRawResponse

fun pricing(): PricingService.WithRawResponse

fun webSearch(): WebSearchService.WithRawResponse
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -172,6 +172,7 @@ 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.VoiceSdkCallReportServiceAsync
import com.telnyx.sdk.services.async.WebSearchServiceAsync
import com.telnyx.sdk.services.async.WebhookDeliveryServiceAsync
import com.telnyx.sdk.services.async.WebhookServiceAsync
import com.telnyx.sdk.services.async.WellKnownServiceAsync
Expand Down Expand Up @@ -750,6 +751,8 @@ interface TelnyxClientAsync {

fun pricing(): PricingServiceAsync

fun webSearch(): WebSearchServiceAsync

/**
* Closes this client, relinquishing any underlying resources.
*
Expand Down Expand Up @@ -1308,5 +1311,7 @@ interface TelnyxClientAsync {
fun emailValidations(): EmailValidationServiceAsync.WithRawResponse

fun pricing(): PricingServiceAsync.WithRawResponse

fun webSearch(): WebSearchServiceAsync.WithRawResponse
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -342,6 +342,8 @@ import com.telnyx.sdk.services.async.VoiceDesignServiceAsync
import com.telnyx.sdk.services.async.VoiceDesignServiceAsyncImpl
import com.telnyx.sdk.services.async.VoiceSdkCallReportServiceAsync
import com.telnyx.sdk.services.async.VoiceSdkCallReportServiceAsyncImpl
import com.telnyx.sdk.services.async.WebSearchServiceAsync
import com.telnyx.sdk.services.async.WebSearchServiceAsyncImpl
import com.telnyx.sdk.services.async.WebhookDeliveryServiceAsync
import com.telnyx.sdk.services.async.WebhookDeliveryServiceAsyncImpl
import com.telnyx.sdk.services.async.WebhookServiceAsync
Expand Down Expand Up @@ -1082,6 +1084,10 @@ class TelnyxClientAsyncImpl(private val clientOptions: ClientOptions) : TelnyxCl
PricingServiceAsyncImpl(clientOptionsWithUserAgent)
}

private val webSearch: WebSearchServiceAsync by lazy {
WebSearchServiceAsyncImpl(clientOptionsWithUserAgent)
}

override fun sync(): TelnyxClient = sync

override fun withRawResponse(): TelnyxClientAsync.WithRawResponse = withRawResponse
Expand Down Expand Up @@ -1648,6 +1654,8 @@ class TelnyxClientAsyncImpl(private val clientOptions: ClientOptions) : TelnyxCl

override fun pricing(): PricingServiceAsync = pricing

override fun webSearch(): WebSearchServiceAsync = webSearch

override fun close() = clientOptions.close()

class WithRawResponseImpl internal constructor(private val clientOptions: ClientOptions) :
Expand Down Expand Up @@ -2412,6 +2420,10 @@ class TelnyxClientAsyncImpl(private val clientOptions: ClientOptions) : TelnyxCl
PricingServiceAsyncImpl.WithRawResponseImpl(clientOptions)
}

private val webSearch: WebSearchServiceAsync.WithRawResponse by lazy {
WebSearchServiceAsyncImpl.WithRawResponseImpl(clientOptions)
}

override fun withOptions(
modifier: Consumer<ClientOptions.Builder>
): TelnyxClientAsync.WithRawResponse =
Expand Down Expand Up @@ -3035,5 +3047,7 @@ class TelnyxClientAsyncImpl(private val clientOptions: ClientOptions) : TelnyxCl
emailValidations

override fun pricing(): PricingServiceAsync.WithRawResponse = pricing

override fun webSearch(): WebSearchServiceAsync.WithRawResponse = webSearch
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -342,6 +342,8 @@ import com.telnyx.sdk.services.blocking.VoiceDesignService
import com.telnyx.sdk.services.blocking.VoiceDesignServiceImpl
import com.telnyx.sdk.services.blocking.VoiceSdkCallReportService
import com.telnyx.sdk.services.blocking.VoiceSdkCallReportServiceImpl
import com.telnyx.sdk.services.blocking.WebSearchService
import com.telnyx.sdk.services.blocking.WebSearchServiceImpl
import com.telnyx.sdk.services.blocking.WebhookDeliveryService
import com.telnyx.sdk.services.blocking.WebhookDeliveryServiceImpl
import com.telnyx.sdk.services.blocking.WebhookService
Expand Down Expand Up @@ -1038,6 +1040,10 @@ class TelnyxClientImpl(private val clientOptions: ClientOptions) : TelnyxClient

private val pricing: PricingService by lazy { PricingServiceImpl(clientOptionsWithUserAgent) }

private val webSearch: WebSearchService by lazy {
WebSearchServiceImpl(clientOptionsWithUserAgent)
}

override fun async(): TelnyxClientAsync = async

override fun withRawResponse(): TelnyxClient.WithRawResponse = withRawResponse
Expand Down Expand Up @@ -1589,6 +1595,8 @@ class TelnyxClientImpl(private val clientOptions: ClientOptions) : TelnyxClient

override fun pricing(): PricingService = pricing

override fun webSearch(): WebSearchService = webSearch

override fun close() = clientOptions.close()

class WithRawResponseImpl internal constructor(private val clientOptions: ClientOptions) :
Expand Down Expand Up @@ -2329,6 +2337,10 @@ class TelnyxClientImpl(private val clientOptions: ClientOptions) : TelnyxClient
PricingServiceImpl.WithRawResponseImpl(clientOptions)
}

private val webSearch: WebSearchService.WithRawResponse by lazy {
WebSearchServiceImpl.WithRawResponseImpl(clientOptions)
}

override fun withOptions(
modifier: Consumer<ClientOptions.Builder>
): TelnyxClient.WithRawResponse =
Expand Down Expand Up @@ -2938,5 +2950,7 @@ class TelnyxClientImpl(private val clientOptions: ClientOptions) : TelnyxClient
override fun emailValidations(): EmailValidationService.WithRawResponse = emailValidations

override fun pricing(): PricingService.WithRawResponse = pricing

override fun webSearch(): WebSearchService.WithRawResponse = webSearch
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -655,9 +655,9 @@ private constructor(
fun webhookUrlMethod(): Optional<WebhookUrlMethod> = body.webhookUrlMethod()

/**
* A map of event types to webhook URLs. When an event of the specified type occurs, the webhook
* URL associated with that event type will be called instead of the default webhook URL. Events
* not mapped here will use the default webhook URL.
* A map of event types to arrays of webhook URLs. When an event of the specified type occurs,
* the webhook URLs associated with that event type will be called instead of the default
* webhook URL. Events not mapped here will use the default webhook URL.
*
* @throws TelnyxInvalidDataException if the JSON field has an unexpected type (e.g. if the
* server responded with an unexpected value).
Expand Down Expand Up @@ -2309,9 +2309,9 @@ private constructor(
}

/**
* A map of event types to webhook URLs. When an event of the specified type occurs, the
* webhook URL associated with that event type will be called instead of the default webhook
* URL. Events not mapped here will use the default webhook URL.
* A map of event types to arrays of webhook URLs. When an event of the specified type
* occurs, the webhook URLs associated with that event type will be called instead of the
* default webhook URL. Events not mapped here will use the default webhook URL.
*/
fun webhookUrls(webhookUrls: WebhookUrls) = apply { body.webhookUrls(webhookUrls) }

Expand Down Expand Up @@ -3426,9 +3426,9 @@ private constructor(
webhookUrlMethod.getOptional("webhook_url_method")

/**
* A map of event types to webhook URLs. When an event of the specified type occurs, the
* webhook URL associated with that event type will be called instead of the default webhook
* URL. Events not mapped here will use the default webhook URL.
* A map of event types to arrays of webhook URLs. When an event of the specified type
* occurs, the webhook URLs associated with that event type will be called instead of the
* default webhook URL. Events not mapped here will use the default webhook URL.
*
* @throws TelnyxInvalidDataException if the JSON field has an unexpected type (e.g. if the
* server responded with an unexpected value).
Expand Down Expand Up @@ -5328,9 +5328,9 @@ private constructor(
}

/**
* A map of event types to webhook URLs. When an event of the specified type occurs, the
* webhook URL associated with that event type will be called instead of the default
* webhook URL. Events not mapped here will use the default webhook URL.
* A map of event types to arrays of webhook URLs. When an event of the specified type
* occurs, the webhook URLs associated with that event type will be called instead of
* the default webhook URL. Events not mapped here will use the default webhook URL.
*/
fun webhookUrls(webhookUrls: WebhookUrls) = webhookUrls(JsonField.of(webhookUrls))

Expand Down Expand Up @@ -10005,9 +10005,9 @@ private constructor(
}

/**
* A map of event types to webhook URLs. When an event of the specified type occurs, the webhook
* URL associated with that event type will be called instead of the default webhook URL. Events
* not mapped here will use the default webhook URL.
* A map of event types to arrays of webhook URLs. When an event of the specified type occurs,
* the webhook URLs associated with that event type will be called instead of the default
* webhook URL. Events not mapped here will use the default webhook URL.
*/
class WebhookUrls
@JsonCreator
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -323,9 +323,9 @@ private constructor(
fun webhookUrlMethod(): Optional<WebhookUrlMethod> = body.webhookUrlMethod()

/**
* A map of event types to webhook URLs. When an event of the specified type occurs, the webhook
* URL associated with that event type will be called instead of `webhook_url`. Events not
* mapped here will use the default `webhook_url`.
* A map of event types to arrays of webhook URLs. When an event of the specified type occurs,
* the webhook URLs associated with that event type will be called instead of `webhook_url`.
* Events not mapped here will use the default `webhook_url`.
*
* @throws TelnyxInvalidDataException if the JSON field has an unexpected type (e.g. if the
* server responded with an unexpected value).
Expand Down Expand Up @@ -1155,9 +1155,9 @@ private constructor(
}

/**
* A map of event types to webhook URLs. When an event of the specified type occurs, the
* webhook URL associated with that event type will be called instead of `webhook_url`.
* Events not mapped here will use the default `webhook_url`.
* A map of event types to arrays of webhook URLs. When an event of the specified type
* occurs, the webhook URLs associated with that event type will be called instead of
* `webhook_url`. Events not mapped here will use the default `webhook_url`.
*/
fun webhookUrls(webhookUrls: WebhookUrls) = apply { body.webhookUrls(webhookUrls) }

Expand Down Expand Up @@ -1783,9 +1783,9 @@ private constructor(
webhookUrlMethod.getOptional("webhook_url_method")

/**
* A map of event types to webhook URLs. When an event of the specified type occurs, the
* webhook URL associated with that event type will be called instead of `webhook_url`.
* Events not mapped here will use the default `webhook_url`.
* A map of event types to arrays of webhook URLs. When an event of the specified type
* occurs, the webhook URLs associated with that event type will be called instead of
* `webhook_url`. Events not mapped here will use the default `webhook_url`.
*
* @throws TelnyxInvalidDataException if the JSON field has an unexpected type (e.g. if the
* server responded with an unexpected value).
Expand Down Expand Up @@ -2723,9 +2723,9 @@ private constructor(
}

/**
* A map of event types to webhook URLs. When an event of the specified type occurs, the
* webhook URL associated with that event type will be called instead of `webhook_url`.
* Events not mapped here will use the default `webhook_url`.
* A map of event types to arrays of webhook URLs. When an event of the specified type
* occurs, the webhook URLs associated with that event type will be called instead of
* `webhook_url`. Events not mapped here will use the default `webhook_url`.
*/
fun webhookUrls(webhookUrls: WebhookUrls) = webhookUrls(JsonField.of(webhookUrls))

Expand Down Expand Up @@ -4481,9 +4481,9 @@ private constructor(
}

/**
* A map of event types to webhook URLs. When an event of the specified type occurs, the webhook
* URL associated with that event type will be called instead of `webhook_url`. Events not
* mapped here will use the default `webhook_url`.
* A map of event types to arrays of webhook URLs. When an event of the specified type occurs,
* the webhook URLs associated with that event type will be called instead of `webhook_url`.
* Events not mapped here will use the default `webhook_url`.
*/
class WebhookUrls
@JsonCreator
Expand Down
Loading
Loading