diff --git a/poetry.lock b/poetry.lock index 37d349a..d8769c1 100644 --- a/poetry.lock +++ b/poetry.lock @@ -16,13 +16,13 @@ typing-extensions = {version = ">=4.0.0", markers = "python_version < \"3.9\""} [[package]] name = "anyio" -version = "4.5.0" +version = "4.5.2" description = "High level compatibility layer for multiple asynchronous event loop implementations" optional = false python-versions = ">=3.8" files = [ - {file = "anyio-4.5.0-py3-none-any.whl", hash = "sha256:fdeb095b7cc5a5563175eedd926ec4ae55413bb4be5770c424af0ba46ccb4a78"}, - {file = "anyio-4.5.0.tar.gz", hash = "sha256:c5a275fe5ca0afd788001f58fca1e69e29ce706d746e317d660e21f70c530ef9"}, + {file = "anyio-4.5.2-py3-none-any.whl", hash = "sha256:c011ee36bc1e8ba40e5a81cb9df91925c218fe9b778554e0b56a21e1b5d4716f"}, + {file = "anyio-4.5.2.tar.gz", hash = "sha256:23009af4ed04ce05991845451e11ef02fc7c5ed29179ac9a420e5ad0ac7ddc5b"}, ] [package.dependencies] @@ -33,7 +33,7 @@ typing-extensions = {version = ">=4.1", markers = "python_version < \"3.11\""} [package.extras] doc = ["Sphinx (>=7.4,<8.0)", "packaging", "sphinx-autodoc-typehints (>=1.2.0)", "sphinx-rtd-theme"] -test = ["anyio[trio]", "coverage[toml] (>=7)", "exceptiongroup (>=1.2.0)", "hypothesis (>=4.0)", "psutil (>=5.9)", "pytest (>=7.0)", "pytest-mock (>=3.6.1)", "trustme", "uvloop (>=0.21.0b1)"] +test = ["anyio[trio]", "coverage[toml] (>=7)", "exceptiongroup (>=1.2.0)", "hypothesis (>=4.0)", "psutil (>=5.9)", "pytest (>=7.0)", "pytest-mock (>=3.6.1)", "trustme", "truststore (>=0.9.1)", "uvloop (>=0.21.0b1)"] trio = ["trio (>=0.26.1)"] [[package]] diff --git a/pyproject.toml b/pyproject.toml index d1204f0..3f62c21 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "vapi_server_sdk" -version = "0.0.0-alpha6" +version = "0.0.0-alpha7" description = "" readme = "README.md" authors = [] diff --git a/reference.md b/reference.md index 05a7373..f2e7f97 100644 --- a/reference.md +++ b/reference.md @@ -3560,7 +3560,7 @@ for page in response.iter_pages():
-**page:** `typing.Optional[float]` — This is the page number to return. Defaults to 1. +**page:** `typing.Optional[int]` — This is the page number to return. Defaults to 1.
diff --git a/src/vapi/core/client_wrapper.py b/src/vapi/core/client_wrapper.py index c184bae..92a4ecd 100644 --- a/src/vapi/core/client_wrapper.py +++ b/src/vapi/core/client_wrapper.py @@ -22,7 +22,7 @@ def get_headers(self) -> typing.Dict[str, str]: headers: typing.Dict[str, str] = { "X-Fern-Language": "Python", "X-Fern-SDK-Name": "vapi_server_sdk", - "X-Fern-SDK-Version": "0.0.0-alpha6", + "X-Fern-SDK-Version": "0.0.0-alpha7", } headers["Authorization"] = f"Bearer {self._get_token()}" return headers diff --git a/src/vapi/logs/client.py b/src/vapi/logs/client.py index 2af9a92..e51acec 100644 --- a/src/vapi/logs/client.py +++ b/src/vapi/logs/client.py @@ -31,7 +31,7 @@ def get( customer_id: typing.Optional[str] = None, squad_id: typing.Optional[str] = None, call_id: typing.Optional[str] = None, - page: typing.Optional[float] = None, + page: typing.Optional[int] = None, sort_order: typing.Optional[LogsGetRequestSortOrder] = None, limit: typing.Optional[float] = None, created_at_gt: typing.Optional[dt.datetime] = None, @@ -68,7 +68,7 @@ def get( call_id : typing.Optional[str] This is the ID of the call. - page : typing.Optional[float] + page : typing.Optional[int] This is the page number to return. Defaults to 1. sort_order : typing.Optional[LogsGetRequestSortOrder] @@ -202,7 +202,7 @@ async def get( customer_id: typing.Optional[str] = None, squad_id: typing.Optional[str] = None, call_id: typing.Optional[str] = None, - page: typing.Optional[float] = None, + page: typing.Optional[int] = None, sort_order: typing.Optional[LogsGetRequestSortOrder] = None, limit: typing.Optional[float] = None, created_at_gt: typing.Optional[dt.datetime] = None, @@ -239,7 +239,7 @@ async def get( call_id : typing.Optional[str] This is the ID of the call. - page : typing.Optional[float] + page : typing.Optional[int] This is the page number to return. Defaults to 1. sort_order : typing.Optional[LogsGetRequestSortOrder]