diff --git a/CHANGELOG.md b/CHANGELOG.md index 83ac2169..1b972a7f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,4 +1,8 @@ # Change Log +## [4.62.1](https://github.com/plivo/plivo-python/tree/v4.62.1) (2026-07-27) +**Feature - Internal flag support on Endpoint create** +- Added `internal` optional parameter to Endpoint `create` method to mark newly created SIP endpoints as internal at creation time + ## [4.61.0](https://github.com/plivo/plivo-python/tree/v4.61.0) (2026-06-11) **Feature - PhoneNumber buy compliance application support** - Added optional `compliance_application_id` parameter to `numbers.buy()`, sent as the `compliance_application_id` wire param. Lets regulated numbers (e.g. India) be purchased with an approved regulatory compliance application linked at purchase time. Backward-compatible trailing optional argument. diff --git a/plivo/resources/endpoints.py b/plivo/resources/endpoints.py index 72557c00..5ec8e473 100644 --- a/plivo/resources/endpoints.py +++ b/plivo/resources/endpoints.py @@ -32,8 +32,9 @@ class Endpoints(PlivoResourceInterface): app_id=[optional(of_type(six.text_type))], callback_url=[optional(is_url())], callback_method=[optional(of_type(six.text_type))], + internal=[optional(of_type(bool))], ) - def create(self, username, password, alias, app_id=None, callback_url=None, callback_method=None): + def create(self, username, password, alias, app_id=None, callback_url=None, callback_method=None, internal=None): return self.client.request('POST', ('Endpoint', ), to_param_dict(self.create, locals()), is_voice_request=True) diff --git a/plivo/version.py b/plivo/version.py index be3e91c2..9ae573d1 100644 --- a/plivo/version.py +++ b/plivo/version.py @@ -1,2 +1,2 @@ # -*- coding: utf-8 -*- -__version__ = '4.61.0' +__version__ = '4.62.1' diff --git a/setup.py b/setup.py index 18f23075..5b401aa8 100644 --- a/setup.py +++ b/setup.py @@ -10,7 +10,7 @@ setup( name='plivo', - version='4.61.0', + version='4.62.1', description='A Python SDK to make voice calls & send SMS using Plivo and to generate Plivo XML', long_description=long_description, url='https://github.com/plivo/plivo-python',