diff --git a/.release-please-manifest.json b/.release-please-manifest.json index aa7ef4a4..2e3bd0d6 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,3 +1,3 @@ { - ".": "4.146.1" + ".": "4.146.2" } \ No newline at end of file diff --git a/.stats.yml b/.stats.yml index 56b725eb..662fb481 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 1048 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/telnyx/telnyx-2d16e8777760510f6411babaad407053d8487c862437bca39a3a5ce41ec6c2b3.yml -openapi_spec_hash: fe275d18d2083fd01d5b7c4b14f57e70 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/telnyx/telnyx-ff4bad1b0bef55cf28aae22bd3eca935b145d2e270e4aede59ac184addc91146.yml +openapi_spec_hash: 57f8603ee841f5815dccb919f254833e config_hash: 9945c62dfb3a12050cc6f6e981ae5422 diff --git a/CHANGELOG.md b/CHANGELOG.md index b77d7047..9a7b144c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,13 @@ # Changelog +## 4.146.2 (2026-06-02) + +Full Changelog: [v4.146.1...v4.146.2](https://github.com/team-telnyx/telnyx-python/compare/v4.146.1...v4.146.2) + +### Bug Fixes + +* **sip-registration-status:** drop user_id query param ([8d01d62](https://github.com/team-telnyx/telnyx-python/commit/8d01d62e7f94df2a184dca5a597075b44885543d)) + ## 4.146.1 (2026-06-01) Full Changelog: [v4.146.0...v4.146.1](https://github.com/team-telnyx/telnyx-python/compare/v4.146.0...v4.146.1) diff --git a/pyproject.toml b/pyproject.toml index 2e473096..4ba47eb1 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "telnyx" -version = "4.146.1" +version = "4.146.2" description = "The official Python library for the telnyx API" dynamic = ["readme"] license = "MIT" diff --git a/src/telnyx/_version.py b/src/telnyx/_version.py index 3984e363..97a1f966 100644 --- a/src/telnyx/_version.py +++ b/src/telnyx/_version.py @@ -1,4 +1,4 @@ # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. __title__ = "telnyx" -__version__ = "4.146.1" # x-release-please-version +__version__ = "4.146.2" # x-release-please-version diff --git a/src/telnyx/resources/sip_registration_status.py b/src/telnyx/resources/sip_registration_status.py index 5e0f3d18..ed09bc18 100644 --- a/src/telnyx/resources/sip_registration_status.py +++ b/src/telnyx/resources/sip_registration_status.py @@ -50,7 +50,6 @@ def retrieve( *, connection_id: str, credential_type: Literal["uac_external_credential"], - user_id: str, # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs. # The extra values given here take precedence over values defined on the client or passed to this method. extra_headers: Headers | None = None, @@ -69,8 +68,6 @@ def retrieve( credential_type: The kind of credential to look up. Only `uac_external_credential` is supported today. - user_id: Owner of the connection. Used to authorize the lookup. - extra_headers: Send extra headers extra_query: Add additional query parameters to the request @@ -90,7 +87,6 @@ def retrieve( { "connection_id": connection_id, "credential_type": credential_type, - "user_id": user_id, }, sip_registration_status_retrieve_params.SipRegistrationStatusRetrieveParams, ), @@ -126,7 +122,6 @@ async def retrieve( *, connection_id: str, credential_type: Literal["uac_external_credential"], - user_id: str, # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs. # The extra values given here take precedence over values defined on the client or passed to this method. extra_headers: Headers | None = None, @@ -145,8 +140,6 @@ async def retrieve( credential_type: The kind of credential to look up. Only `uac_external_credential` is supported today. - user_id: Owner of the connection. Used to authorize the lookup. - extra_headers: Send extra headers extra_query: Add additional query parameters to the request @@ -166,7 +159,6 @@ async def retrieve( { "connection_id": connection_id, "credential_type": credential_type, - "user_id": user_id, }, sip_registration_status_retrieve_params.SipRegistrationStatusRetrieveParams, ), diff --git a/src/telnyx/types/sip_registration_status_retrieve_params.py b/src/telnyx/types/sip_registration_status_retrieve_params.py index 19e92ddf..af3843d5 100644 --- a/src/telnyx/types/sip_registration_status_retrieve_params.py +++ b/src/telnyx/types/sip_registration_status_retrieve_params.py @@ -16,6 +16,3 @@ class SipRegistrationStatusRetrieveParams(TypedDict, total=False): Only `uac_external_credential` is supported today. """ - - user_id: Required[str] - """Owner of the connection. Used to authorize the lookup.""" diff --git a/tests/api_resources/test_sip_registration_status.py b/tests/api_resources/test_sip_registration_status.py index dd18a683..8c81715b 100644 --- a/tests/api_resources/test_sip_registration_status.py +++ b/tests/api_resources/test_sip_registration_status.py @@ -23,7 +23,6 @@ def test_method_retrieve(self, client: Telnyx) -> None: sip_registration_status = client.sip_registration_status.retrieve( connection_id="connection_id", credential_type="uac_external_credential", - user_id="user_id", ) assert_matches_type(SipRegistrationStatusRetrieveResponse, sip_registration_status, path=["response"]) @@ -33,7 +32,6 @@ def test_raw_response_retrieve(self, client: Telnyx) -> None: response = client.sip_registration_status.with_raw_response.retrieve( connection_id="connection_id", credential_type="uac_external_credential", - user_id="user_id", ) assert response.is_closed is True @@ -47,7 +45,6 @@ def test_streaming_response_retrieve(self, client: Telnyx) -> None: with client.sip_registration_status.with_streaming_response.retrieve( connection_id="connection_id", credential_type="uac_external_credential", - user_id="user_id", ) as response: assert not response.is_closed assert response.http_request.headers.get("X-Stainless-Lang") == "python" @@ -69,7 +66,6 @@ async def test_method_retrieve(self, async_client: AsyncTelnyx) -> None: sip_registration_status = await async_client.sip_registration_status.retrieve( connection_id="connection_id", credential_type="uac_external_credential", - user_id="user_id", ) assert_matches_type(SipRegistrationStatusRetrieveResponse, sip_registration_status, path=["response"]) @@ -79,7 +75,6 @@ async def test_raw_response_retrieve(self, async_client: AsyncTelnyx) -> None: response = await async_client.sip_registration_status.with_raw_response.retrieve( connection_id="connection_id", credential_type="uac_external_credential", - user_id="user_id", ) assert response.is_closed is True @@ -93,7 +88,6 @@ async def test_streaming_response_retrieve(self, async_client: AsyncTelnyx) -> N async with async_client.sip_registration_status.with_streaming_response.retrieve( connection_id="connection_id", credential_type="uac_external_credential", - user_id="user_id", ) as response: assert not response.is_closed assert response.http_request.headers.get("X-Stainless-Lang") == "python"