Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .release-please-manifest.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
".": "2.1.0"
".": "2.2.0"
}
4 changes: 2 additions & 2 deletions .stats.yml
Original file line number Diff line number Diff line change
@@ -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
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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)
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -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"
Expand Down
2 changes: 1 addition & 1 deletion src/openint/_version.py
Original file line number Diff line number Diff line change
@@ -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
8 changes: 3 additions & 5 deletions src/openint/types/client_get_message_template_params.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
16 changes: 8 additions & 8 deletions tests/api_resources/test_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -329,15 +329,15 @@ 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"])

@pytest.mark.skip()
@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,
)
Expand All @@ -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
Expand All @@ -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"
Expand Down Expand Up @@ -795,15 +795,15 @@ 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"])

@pytest.mark.skip()
@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,
)
Expand All @@ -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
Expand All @@ -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"
Expand Down