|
2 | 2 |
|
3 | 3 | from __future__ import annotations |
4 | 4 |
|
5 | | -from typing import Iterable |
| 5 | +from typing import Iterable, Optional |
6 | 6 | from typing_extensions import Literal, overload |
7 | 7 |
|
8 | 8 | import httpx |
@@ -265,7 +265,7 @@ def calls( |
265 | 265 | status_callback_method: Literal["GET", "POST"] | Omit = omit, |
266 | 266 | supervise_call_sid: str | Omit = omit, |
267 | 267 | supervising_role: Literal["barge", "whisper", "monitor"] | Omit = omit, |
268 | | - texml: object | Omit = omit, |
| 268 | + texml: Optional[str] | Omit = omit, |
269 | 269 | time_limit: int | Omit = omit, |
270 | 270 | timeout_seconds: int | Omit = omit, |
271 | 271 | to: str | Omit = omit, |
@@ -449,7 +449,7 @@ def calls( |
449 | 449 | timeout_seconds: int | Omit = omit, |
450 | 450 | to: str | Omit = omit, |
451 | 451 | trim: Literal["trim-silence", "do-not-trim"] | Omit = omit, |
452 | | - url: object | Omit = omit, |
| 452 | + url: Optional[str] | Omit = omit, |
453 | 453 | url_method: Literal["GET", "POST"] | Omit = omit, |
454 | 454 | # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs. |
455 | 455 | # The extra values given here take precedence over values defined on the client or passed to this method. |
@@ -625,12 +625,12 @@ def calls( |
625 | 625 | status_callback_method: Literal["GET", "POST"] | Omit = omit, |
626 | 626 | supervise_call_sid: str | Omit = omit, |
627 | 627 | supervising_role: Literal["barge", "whisper", "monitor"] | Omit = omit, |
628 | | - texml: object | Omit = omit, |
| 628 | + texml: Optional[str] | Omit = omit, |
629 | 629 | time_limit: int | Omit = omit, |
630 | 630 | timeout_seconds: int | Omit = omit, |
631 | 631 | to: str | Omit = omit, |
632 | 632 | trim: Literal["trim-silence", "do-not-trim"] | Omit = omit, |
633 | | - url: object | Omit = omit, |
| 633 | + url: Optional[str] | Omit = omit, |
634 | 634 | url_method: Literal["GET", "POST"] | Omit = omit, |
635 | 635 | # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs. |
636 | 636 | # The extra values given here take precedence over values defined on the client or passed to this method. |
@@ -768,7 +768,7 @@ def calls( |
768 | 768 | self, |
769 | 769 | account_sid: str, |
770 | 770 | *, |
771 | | - url: str | object | Omit = omit, |
| 771 | + url: str | Optional[str] | Omit = omit, |
772 | 772 | application_sid: str | Omit = omit, |
773 | 773 | async_amd: bool | Omit = omit, |
774 | 774 | async_amd_status_callback: str | Omit = omit, |
@@ -806,7 +806,7 @@ def calls( |
806 | 806 | status_callback_method: Literal["GET", "POST"] | Omit = omit, |
807 | 807 | supervise_call_sid: str | Omit = omit, |
808 | 808 | supervising_role: Literal["barge", "whisper", "monitor"] | Omit = omit, |
809 | | - texml: object | str | Omit = omit, |
| 809 | + texml: Optional[str] | str | Omit = omit, |
810 | 810 | time_limit: int | Omit = omit, |
811 | 811 | timeout_seconds: int | Omit = omit, |
812 | 812 | to: str | Omit = omit, |
@@ -1328,7 +1328,7 @@ async def calls( |
1328 | 1328 | status_callback_method: Literal["GET", "POST"] | Omit = omit, |
1329 | 1329 | supervise_call_sid: str | Omit = omit, |
1330 | 1330 | supervising_role: Literal["barge", "whisper", "monitor"] | Omit = omit, |
1331 | | - texml: object | Omit = omit, |
| 1331 | + texml: Optional[str] | Omit = omit, |
1332 | 1332 | time_limit: int | Omit = omit, |
1333 | 1333 | timeout_seconds: int | Omit = omit, |
1334 | 1334 | to: str | Omit = omit, |
@@ -1512,7 +1512,7 @@ async def calls( |
1512 | 1512 | timeout_seconds: int | Omit = omit, |
1513 | 1513 | to: str | Omit = omit, |
1514 | 1514 | trim: Literal["trim-silence", "do-not-trim"] | Omit = omit, |
1515 | | - url: object | Omit = omit, |
| 1515 | + url: Optional[str] | Omit = omit, |
1516 | 1516 | url_method: Literal["GET", "POST"] | Omit = omit, |
1517 | 1517 | # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs. |
1518 | 1518 | # The extra values given here take precedence over values defined on the client or passed to this method. |
@@ -1688,12 +1688,12 @@ async def calls( |
1688 | 1688 | status_callback_method: Literal["GET", "POST"] | Omit = omit, |
1689 | 1689 | supervise_call_sid: str | Omit = omit, |
1690 | 1690 | supervising_role: Literal["barge", "whisper", "monitor"] | Omit = omit, |
1691 | | - texml: object | Omit = omit, |
| 1691 | + texml: Optional[str] | Omit = omit, |
1692 | 1692 | time_limit: int | Omit = omit, |
1693 | 1693 | timeout_seconds: int | Omit = omit, |
1694 | 1694 | to: str | Omit = omit, |
1695 | 1695 | trim: Literal["trim-silence", "do-not-trim"] | Omit = omit, |
1696 | | - url: object | Omit = omit, |
| 1696 | + url: Optional[str] | Omit = omit, |
1697 | 1697 | url_method: Literal["GET", "POST"] | Omit = omit, |
1698 | 1698 | # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs. |
1699 | 1699 | # The extra values given here take precedence over values defined on the client or passed to this method. |
@@ -1831,7 +1831,7 @@ async def calls( |
1831 | 1831 | self, |
1832 | 1832 | account_sid: str, |
1833 | 1833 | *, |
1834 | | - url: str | object | Omit = omit, |
| 1834 | + url: str | Optional[str] | Omit = omit, |
1835 | 1835 | application_sid: str | Omit = omit, |
1836 | 1836 | async_amd: bool | Omit = omit, |
1837 | 1837 | async_amd_status_callback: str | Omit = omit, |
@@ -1869,7 +1869,7 @@ async def calls( |
1869 | 1869 | status_callback_method: Literal["GET", "POST"] | Omit = omit, |
1870 | 1870 | supervise_call_sid: str | Omit = omit, |
1871 | 1871 | supervising_role: Literal["barge", "whisper", "monitor"] | Omit = omit, |
1872 | | - texml: object | str | Omit = omit, |
| 1872 | + texml: Optional[str] | str | Omit = omit, |
1873 | 1873 | time_limit: int | Omit = omit, |
1874 | 1874 | timeout_seconds: int | Omit = omit, |
1875 | 1875 | to: str | Omit = omit, |
|
0 commit comments