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 @@
{
".": "4.146.1"
".": "4.146.2"
}
4 changes: 2 additions & 2 deletions .stats.yml
Original file line number Diff line number Diff line change
@@ -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
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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)
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -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"
Expand Down
2 changes: 1 addition & 1 deletion src/telnyx/_version.py
Original file line number Diff line number Diff line change
@@ -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
8 changes: 0 additions & 8 deletions src/telnyx/resources/sip_registration_status.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand All @@ -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
Expand All @@ -90,7 +87,6 @@ def retrieve(
{
"connection_id": connection_id,
"credential_type": credential_type,
"user_id": user_id,
},
sip_registration_status_retrieve_params.SipRegistrationStatusRetrieveParams,
),
Expand Down Expand Up @@ -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,
Expand All @@ -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
Expand All @@ -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,
),
Expand Down
3 changes: 0 additions & 3 deletions src/telnyx/types/sip_registration_status_retrieve_params.py
Original file line number Diff line number Diff line change
Expand Up @@ -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."""
6 changes: 0 additions & 6 deletions tests/api_resources/test_sip_registration_status.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"])

Expand All @@ -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
Expand All @@ -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"
Expand All @@ -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"])

Expand All @@ -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
Expand All @@ -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"
Expand Down
Loading