diff --git a/.release-please-manifest.json b/.release-please-manifest.json index 656a2ef..bfc26f9 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,3 +1,3 @@ { - ".": "2.1.0" + ".": "2.2.0" } \ No newline at end of file diff --git a/.stats.yml b/.stats.yml index f71ce24..ed9e377 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 10 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/openint%2Fopenint-bacbc8c9cbe5ff0643c5413e7f1ef80fe15094393e788142b84075998fc7ad85.yml -openapi_spec_hash: 044dac4816a3a8fed6a303cf2eb65ed4 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/openint%2Fopenint-f609a321e789149b1cb414372f1268e2ac1eede19f8dc07221e3d5bec501f956.yml +openapi_spec_hash: 79a1c348d6ce94d5e6e0e23d1da456ab config_hash: be212d1ce37acf5836869f40d1654c82 diff --git a/CHANGELOG.md b/CHANGELOG.md index a9c9414..c20b079 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,13 @@ # Changelog +## 2.2.0 (2025-05-19) + +Full Changelog: [v2.1.0...v2.2.0](https://github.com/openintegrations/python-sdk/compare/v2.1.0...v2.2.0) + +### Features + +* **docs:** updating documented docs for stainless ([df87cf1](https://github.com/openintegrations/python-sdk/commit/df87cf1bd25609ff6451e4c83cb2510e9b93aac4)) + ## 2.1.0 (2025-05-19) Full Changelog: [v2.0.0...v2.1.0](https://github.com/openintegrations/python-sdk/compare/v2.0.0...v2.1.0) diff --git a/pyproject.toml b/pyproject.toml index 08aa26e..82baa29 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "openint" -version = "2.1.0" +version = "2.2.0" description = "The official Python library for the Openint API" dynamic = ["readme"] license = "Apache-2.0" diff --git a/src/openint/_version.py b/src/openint/_version.py index 4211ba2..d564584 100644 --- a/src/openint/_version.py +++ b/src/openint/_version.py @@ -1,4 +1,4 @@ # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. __title__ = "openint" -__version__ = "2.1.0" # x-release-please-version +__version__ = "2.2.0" # x-release-please-version diff --git a/src/openint/types/client_get_message_template_params.py b/src/openint/types/client_get_message_template_params.py index 348bca5..a4fd46d 100644 --- a/src/openint/types/client_get_message_template_params.py +++ b/src/openint/types/client_get_message_template_params.py @@ -2,16 +2,14 @@ from __future__ import annotations -from typing_extensions import Literal, Required, Annotated, TypedDict - -from .._utils import PropertyInfo +from typing_extensions import Literal, Required, TypedDict __all__ = ["ClientGetMessageTemplateParams"] class ClientGetMessageTemplateParams(TypedDict, total=False): - customer_id: Required[Annotated[str, PropertyInfo(alias="customerId")]] + customer_id: Required[str] language: Literal["javascript"] - use_environment_variables: Annotated[bool, PropertyInfo(alias="useEnvironmentVariables")] + use_environment_variables: bool diff --git a/tests/api_resources/test_client.py b/tests/api_resources/test_client.py index be85d30..2e09fec 100644 --- a/tests/api_resources/test_client.py +++ b/tests/api_resources/test_client.py @@ -329,7 +329,7 @@ def test_streaming_response_get_current_user(self, client: Openint) -> None: @parametrize def test_method_get_message_template(self, client: Openint) -> None: client_ = client.get_message_template( - customer_id="customerId", + customer_id="customer_id", ) assert_matches_type(GetMessageTemplateResponse, client_, path=["response"]) @@ -337,7 +337,7 @@ def test_method_get_message_template(self, client: Openint) -> None: @parametrize def test_method_get_message_template_with_all_params(self, client: Openint) -> None: client_ = client.get_message_template( - customer_id="customerId", + customer_id="customer_id", language="javascript", use_environment_variables=True, ) @@ -347,7 +347,7 @@ def test_method_get_message_template_with_all_params(self, client: Openint) -> N @parametrize def test_raw_response_get_message_template(self, client: Openint) -> None: response = client.with_raw_response.get_message_template( - customer_id="customerId", + customer_id="customer_id", ) assert response.is_closed is True @@ -359,7 +359,7 @@ def test_raw_response_get_message_template(self, client: Openint) -> None: @parametrize def test_streaming_response_get_message_template(self, client: Openint) -> None: with client.with_streaming_response.get_message_template( - customer_id="customerId", + customer_id="customer_id", ) as response: assert not response.is_closed assert response.http_request.headers.get("X-Stainless-Lang") == "python" @@ -795,7 +795,7 @@ async def test_streaming_response_get_current_user(self, async_client: AsyncOpen @parametrize async def test_method_get_message_template(self, async_client: AsyncOpenint) -> None: client = await async_client.get_message_template( - customer_id="customerId", + customer_id="customer_id", ) assert_matches_type(GetMessageTemplateResponse, client, path=["response"]) @@ -803,7 +803,7 @@ async def test_method_get_message_template(self, async_client: AsyncOpenint) -> @parametrize async def test_method_get_message_template_with_all_params(self, async_client: AsyncOpenint) -> None: client = await async_client.get_message_template( - customer_id="customerId", + customer_id="customer_id", language="javascript", use_environment_variables=True, ) @@ -813,7 +813,7 @@ async def test_method_get_message_template_with_all_params(self, async_client: A @parametrize async def test_raw_response_get_message_template(self, async_client: AsyncOpenint) -> None: response = await async_client.with_raw_response.get_message_template( - customer_id="customerId", + customer_id="customer_id", ) assert response.is_closed is True @@ -825,7 +825,7 @@ async def test_raw_response_get_message_template(self, async_client: AsyncOpenin @parametrize async def test_streaming_response_get_message_template(self, async_client: AsyncOpenint) -> None: async with async_client.with_streaming_response.get_message_template( - customer_id="customerId", + customer_id="customer_id", ) as response: assert not response.is_closed assert response.http_request.headers.get("X-Stainless-Lang") == "python"