Skip to content

Commit a325790

Browse files
author
stlc-bot
committed
ci(sdk): rebuild after a pipeline change
Stainless-Generated-From: 748dcb5
1 parent 25807df commit a325790

2 files changed

Lines changed: 21 additions & 0 deletions

File tree

‎src/sent_dm/resources/channels/voice.py‎

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -319,6 +319,13 @@ def update(
319319
ignoring case. Turning the default line off is refused while other active voice
320320
numbers remain.
321321
322+
- `ACTIVE` - Turns calls on for the number again. The callback URL and the
323+
signing secret it had are kept; send `callback_url` in the same call to
324+
replace the URL.
325+
- `INACTIVE` - Turns calls off for the number. Refused while the number is the
326+
default line for app calls and other active voice numbers remain; move the
327+
default first. The callback URL and the secret stay on the number.
328+
322329
extra_headers: Send extra headers
323330
324331
extra_query: Add additional query parameters to the request
@@ -803,6 +810,13 @@ async def update(
803810
ignoring case. Turning the default line off is refused while other active voice
804811
numbers remain.
805812
813+
- `ACTIVE` - Turns calls on for the number again. The callback URL and the
814+
signing secret it had are kept; send `callback_url` in the same call to
815+
replace the URL.
816+
- `INACTIVE` - Turns calls off for the number. Refused while the number is the
817+
default line for app calls and other active voice numbers remain; move the
818+
default first. The callback URL and the secret stay on the number.
819+
806820
extra_headers: Send extra headers
807821
808822
extra_query: Add additional query parameters to the request

‎src/sent_dm/types/channels/voice_update_params.py‎

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,13 @@ class VoiceUpdateParams(TypedDict, total=False):
4444
4545
Matched ignoring case. Turning the default line off is refused while other
4646
active voice numbers remain.
47+
48+
- `ACTIVE` - Turns calls on for the number again. The callback URL and the
49+
signing secret it had are kept; send `callback_url` in the same call to
50+
replace the URL.
51+
- `INACTIVE` - Turns calls off for the number. Refused while the number is the
52+
default line for app calls and other active voice numbers remain; move the
53+
default first. The callback URL and the secret stay on the number.
4754
"""
4855

4956
idempotency_key: Annotated[str, PropertyInfo(alias="Idempotency-Key")]

0 commit comments

Comments
 (0)