From 047aff6322017759afbf57624b0827609474fa73 Mon Sep 17 00:00:00 2001 From: "revanth.p" Date: Mon, 27 Jul 2026 17:44:53 +0530 Subject: [PATCH 1/2] feat: add internal flag to Endpoint create params (VT-9534) Adds an optional `internal` boolean field to `EndpointCreator` so callers can mark newly created SIP endpoints as internal at creation time. Trace already accepts the `internal` column on the endpoint model and defaults the List API to hide internal endpoints. This SDK change unblocks Plivo CX (Contacto) from tagging auto-created browser-SDK endpoints so they stop leaking into the customer's Endpoints tab (Pylon #2460). When `internal` is not set, Jackson omits it from the serialized JSON, so existing callers see identical wire behavior. --- .../com/plivo/api/models/endpoint/EndpointCreator.java | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/main/java/com/plivo/api/models/endpoint/EndpointCreator.java b/src/main/java/com/plivo/api/models/endpoint/EndpointCreator.java index 44cd7b9b..faf009a8 100644 --- a/src/main/java/com/plivo/api/models/endpoint/EndpointCreator.java +++ b/src/main/java/com/plivo/api/models/endpoint/EndpointCreator.java @@ -9,6 +9,7 @@ public class EndpointCreator extends VoiceCreator { private final String password; private final String alias; private String appId; + private Boolean internal; public EndpointCreator(String username, String password, String alias) { this.username = username; @@ -25,6 +26,15 @@ public EndpointCreator appId(final String appId) { return this; } + public Boolean internal() { + return this.internal; + } + + public EndpointCreator internal(final Boolean internal) { + this.internal = internal; + return this; + } + @Override protected Call obtainCall() { return client().getVoiceApiService().endpointCreate(client().getAuthId(), this); From 600631bdeb40e7b3387d28f0040fd8628531fa2d Mon Sep 17 00:00:00 2001 From: "revanth.p" Date: Mon, 27 Jul 2026 17:46:04 +0530 Subject: [PATCH 2/2] chore: bump version to 5.50.1 and update changelog --- CHANGELOG.md | 6 ++++++ pom.xml | 2 +- src/main/resources/com/plivo/api/version.txt | 2 +- 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 7d6087eb..87e882e6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,11 @@ # Change Log +## [5.50.1](https://github.com/plivo/plivo-java/tree/v5.50.1) (2026-07-27) +**Feature - internal flag on Endpoint create** +- Added an optional `internal` builder param to `EndpointCreator`, serialized to the `internal` wire param on endpoint create +- Lets Plivo CX (Contacto) mark auto-created browser-SDK endpoints as internal so they are hidden from the customer's Endpoints tab +- Backward-compatible additive builder method + ## [5.49.0](https://github.com/plivo/plivo-java/tree/v5.49.0) (2026-06-11) **Feature - complianceApplicationId on phone number buy** - Added an optional `complianceApplicationId` builder param to `PhoneNumberCreator`, serialized to the `compliance_application_id` wire param on phone number buy diff --git a/pom.xml b/pom.xml index a28af048..3eaa5ea3 100644 --- a/pom.xml +++ b/pom.xml @@ -4,7 +4,7 @@ 4.0.0 com.plivo plivo-java - 5.49.0 + 5.50.1 plivo-java A Java SDK to make voice calls & send SMS using Plivo and to generate Plivo XML diff --git a/src/main/resources/com/plivo/api/version.txt b/src/main/resources/com/plivo/api/version.txt index 357e1c72..f2bf578c 100644 --- a/src/main/resources/com/plivo/api/version.txt +++ b/src/main/resources/com/plivo/api/version.txt @@ -1 +1 @@ -5.49.0 +5.50.1