Skip to content

Commit 52e209d

Browse files
feat: ENGDESK-48016 - document simultaneous ringing for CredentialConnections
1 parent eb0dd4b commit 52e209d

File tree

4 files changed

+12
-2
lines changed

4 files changed

+12
-2
lines changed

.stats.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
configured_endpoints: 869
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/telnyx%2Ftelnyx-9cc425dfac89dee4dc32c6c43203af8faf74b4f1d9913e8274edda7dc30d6aea.yml
3-
openapi_spec_hash: 46b35bc8bcde6d2925e1246773a43609
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/telnyx%2Ftelnyx-41b9dbd1aecf90d702bd9cb036414d59fe7c170210a590f858ab31e9bb64b5d8.yml
3+
openapi_spec_hash: 7110c460b1f1ac7e6d08dfca69f7c222
44
config_hash: b88bdc37612ae6282438570736202d47

src/telnyx/types/credential_inbound.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,9 @@ class CredentialInbound(BaseModel):
5050
transport.
5151
"""
5252

53+
simultaneous_ringing: Optional[Literal["disabled", "enabled"]] = None
54+
"""When enabled, allows multiple devices to ring simultaneously on incoming calls."""
55+
5356
sip_compact_headers_enabled: Optional[bool] = None
5457
"""Defaults to true."""
5558

src/telnyx/types/credential_inbound_param.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,9 @@ class CredentialInboundParam(TypedDict, total=False):
5151
transport.
5252
"""
5353

54+
simultaneous_ringing: Literal["disabled", "enabled"]
55+
"""When enabled, allows multiple devices to ring simultaneously on incoming calls."""
56+
5457
sip_compact_headers_enabled: bool
5558
"""Defaults to true."""
5659

tests/api_resources/test_credential_connections.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,7 @@ def test_method_create_with_all_params(self, client: Telnyx) -> None:
5858
"isup_headers_enabled": True,
5959
"prack_enabled": True,
6060
"shaken_stir_enabled": True,
61+
"simultaneous_ringing": "disabled",
6162
"sip_compact_headers_enabled": True,
6263
"timeout_1xx_secs": 10,
6364
"timeout_2xx_secs": 20,
@@ -192,6 +193,7 @@ def test_method_update_with_all_params(self, client: Telnyx) -> None:
192193
"isup_headers_enabled": True,
193194
"prack_enabled": True,
194195
"shaken_stir_enabled": True,
196+
"simultaneous_ringing": "disabled",
195197
"sip_compact_headers_enabled": True,
196198
"timeout_1xx_secs": 10,
197199
"timeout_2xx_secs": 20,
@@ -386,6 +388,7 @@ async def test_method_create_with_all_params(self, async_client: AsyncTelnyx) ->
386388
"isup_headers_enabled": True,
387389
"prack_enabled": True,
388390
"shaken_stir_enabled": True,
391+
"simultaneous_ringing": "disabled",
389392
"sip_compact_headers_enabled": True,
390393
"timeout_1xx_secs": 10,
391394
"timeout_2xx_secs": 20,
@@ -520,6 +523,7 @@ async def test_method_update_with_all_params(self, async_client: AsyncTelnyx) ->
520523
"isup_headers_enabled": True,
521524
"prack_enabled": True,
522525
"shaken_stir_enabled": True,
526+
"simultaneous_ringing": "disabled",
523527
"sip_compact_headers_enabled": True,
524528
"timeout_1xx_secs": 10,
525529
"timeout_2xx_secs": 20,

0 commit comments

Comments
 (0)