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 @@
{
".": "1.0.3"
".": "1.0.4"
}
13 changes: 13 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,18 @@
# Changelog

## 1.0.4 (2025-12-09)

Full Changelog: [v1.0.3...v1.0.4](https://github.com/Blooio/blooio-python-sdk/compare/v1.0.3...v1.0.4)

### Bug Fixes

* **types:** allow pyright to infer TypedDict types within SequenceNotStr ([eee935c](https://github.com/Blooio/blooio-python-sdk/commit/eee935c823f2d2df52d1baa7c64f2ba4d037a6d4))


### Chores

* add missing docstrings ([13eb515](https://github.com/Blooio/blooio-python-sdk/commit/13eb515f29ad4b006df09013e4a491c65c00e6cd))

## 1.0.3 (2025-12-03)

Full Changelog: [v1.0.2...v1.0.3](https://github.com/Blooio/blooio-python-sdk/compare/v1.0.2...v1.0.3)
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 = "blooio"
version = "1.0.3"
version = "1.0.4"
description = "The official Python library for the blooio API"
dynamic = ["readme"]
license = "Apache-2.0"
Expand Down
5 changes: 3 additions & 2 deletions src/blooio/_types.py
Original file line number Diff line number Diff line change
Expand Up @@ -243,6 +243,9 @@ class HttpxSendArgs(TypedDict, total=False):
if TYPE_CHECKING:
# This works because str.__contains__ does not accept object (either in typeshed or at runtime)
# https://github.com/hauntsaninja/useful_types/blob/5e9710f3875107d068e7679fd7fec9cfab0eff3b/useful_types/__init__.py#L285
#
# Note: index() and count() methods are intentionally omitted to allow pyright to properly
# infer TypedDict types when dict literals are used in lists assigned to SequenceNotStr.
class SequenceNotStr(Protocol[_T_co]):
@overload
def __getitem__(self, index: SupportsIndex, /) -> _T_co: ...
Expand All @@ -251,8 +254,6 @@ def __getitem__(self, index: slice, /) -> Sequence[_T_co]: ...
def __contains__(self, value: object, /) -> bool: ...
def __len__(self) -> int: ...
def __iter__(self) -> Iterator[_T_co]: ...
def index(self, value: Any, start: int = 0, stop: int = ..., /) -> int: ...
def count(self, value: Any, /) -> int: ...
def __reversed__(self) -> Iterator[_T_co]: ...
else:
# just point this to a normal `Sequence` at runtime to avoid having to special case
Expand Down
2 changes: 1 addition & 1 deletion src/blooio/_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__ = "blooio"
__version__ = "1.0.3" # x-release-please-version
__version__ = "1.0.4" # x-release-please-version
2 changes: 2 additions & 0 deletions src/blooio/types/contact_check_capabilities_response.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@


class Capabilities(BaseModel):
"""Messaging capabilities for this contact."""

imessage: Optional[bool] = None
"""Whether this contact supports iMessage."""

Expand Down
4 changes: 4 additions & 0 deletions src/blooio/types/me_retrieve_response.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ class Device(BaseModel):


class IntegrationDetails(BaseModel):
"""Integration-specific details (GHL or API integration)."""

customer_webhook_url: Optional[str] = None
"""Webhook URL for API integrations."""

Expand All @@ -30,6 +32,8 @@ class IntegrationDetails(BaseModel):


class Usage(BaseModel):
"""Usage statistics for this API key."""

inbound_messages: Optional[int] = None
"""Total number of inbound messages."""

Expand Down
Loading