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 @@
{
".": "0.12.0"
".": "0.13.0"
}
2 changes: 1 addition & 1 deletion .stats.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
configured_endpoints: 40
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/sent%2Fsent-dm-294831f61f7890b2cdb89d181f26297732387d5e1288f446c0138e46fb1a4608.yml
openapi_spec_hash: a7f20451621ee678fbe09ff7a297b3ea
config_hash: 497506d9e2e66cd0573bd9c1f1242462
config_hash: 478a49d5520c8bb64b43272de11c2872
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# Changelog

## 0.13.0 (2026-03-12)

Full Changelog: [v0.12.0...v0.13.0](https://github.com/sentdm/sent-dm-python/compare/v0.12.0...v0.13.0)

### Features

* **api:** manual updates ([fd07a7a](https://github.com/sentdm/sent-dm-python/commit/fd07a7aa83630147e58ddd1bbbc86534aa9a9e6e))

## 0.12.0 (2026-03-12)

Full Changelog: [v0.11.0...v0.12.0](https://github.com/sentdm/sent-dm-python/compare/v0.11.0...v0.12.0)
Expand Down
2 changes: 1 addition & 1 deletion api.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ Types:

```python
from sent_dm.types import (
APIError,
APIMeta,
APIResponseWebhook,
ErrorDetail,
MutationRequest,
PaginationMeta,
WebhookResponse,
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 = "sentdm"
version = "0.12.0"
version = "0.13.0"
description = "The official Python library for the sent-dm API"
dynamic = ["readme"]
license = "Apache-2.0"
Expand Down
2 changes: 1 addition & 1 deletion src/sent_dm/_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__ = "sent_dm"
__version__ = "0.12.0" # x-release-please-version
__version__ = "0.13.0" # x-release-please-version
2 changes: 1 addition & 1 deletion src/sent_dm/types/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

from .api_meta import APIMeta as APIMeta
from .template import Template as Template
from .api_error import APIError as APIError
from .error_detail import ErrorDetail as ErrorDetail
from .tcr_vertical import TcrVertical as TcrVertical
from .user_response import UserResponse as UserResponse
from .profile_detail import ProfileDetail as ProfileDetail
Expand Down
4 changes: 2 additions & 2 deletions src/sent_dm/types/api_response_of_contact.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

from .._models import BaseModel
from .api_meta import APIMeta
from .api_error import APIError
from .error_detail import ErrorDetail
from .contact_response import ContactResponse

__all__ = ["APIResponseOfContact"]
Expand All @@ -16,7 +16,7 @@ class APIResponseOfContact(BaseModel):
data: Optional[ContactResponse] = None
"""Contact response for v3 API Uses snake_case for JSON property names"""

error: Optional[APIError] = None
error: Optional[ErrorDetail] = None
"""Error information"""

meta: Optional[APIMeta] = None
Expand Down
4 changes: 2 additions & 2 deletions src/sent_dm/types/api_response_of_profile_detail.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

from .._models import BaseModel
from .api_meta import APIMeta
from .api_error import APIError
from .error_detail import ErrorDetail
from .profile_detail import ProfileDetail

__all__ = ["APIResponseOfProfileDetail"]
Expand All @@ -16,7 +16,7 @@ class APIResponseOfProfileDetail(BaseModel):
data: Optional[ProfileDetail] = None
"""Detailed profile response for v3 API"""

error: Optional[APIError] = None
error: Optional[ErrorDetail] = None
"""Error information"""

meta: Optional[APIMeta] = None
Expand Down
4 changes: 2 additions & 2 deletions src/sent_dm/types/api_response_of_user.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

from .._models import BaseModel
from .api_meta import APIMeta
from .api_error import APIError
from .error_detail import ErrorDetail
from .user_response import UserResponse

__all__ = ["APIResponseOfUser"]
Expand All @@ -16,7 +16,7 @@ class APIResponseOfUser(BaseModel):
data: Optional[UserResponse] = None
"""User response for v3 API"""

error: Optional[APIError] = None
error: Optional[ErrorDetail] = None
"""Error information"""

meta: Optional[APIMeta] = None
Expand Down
4 changes: 2 additions & 2 deletions src/sent_dm/types/api_response_template.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
from .._models import BaseModel
from .api_meta import APIMeta
from .template import Template
from .api_error import APIError
from .error_detail import ErrorDetail

__all__ = ["APIResponseTemplate"]

Expand All @@ -16,7 +16,7 @@ class APIResponseTemplate(BaseModel):
data: Optional[Template] = None
"""Template response for v3 API"""

error: Optional[APIError] = None
error: Optional[ErrorDetail] = None
"""Error information"""

meta: Optional[APIMeta] = None
Expand Down
4 changes: 2 additions & 2 deletions src/sent_dm/types/api_response_webhook.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

from .._models import BaseModel
from .api_meta import APIMeta
from .api_error import APIError
from .error_detail import ErrorDetail
from .webhook_response import WebhookResponse

__all__ = ["APIResponseWebhook"]
Expand All @@ -16,7 +16,7 @@ class APIResponseWebhook(BaseModel):
data: Optional[WebhookResponse] = None
"""The response data (null if error)"""

error: Optional[APIError] = None
error: Optional[ErrorDetail] = None
"""Error information"""

meta: Optional[APIMeta] = None
Expand Down
4 changes: 2 additions & 2 deletions src/sent_dm/types/contact_list_response.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

from .._models import BaseModel
from .api_meta import APIMeta
from .api_error import APIError
from .error_detail import ErrorDetail
from .pagination_meta import PaginationMeta
from .contact_response import ContactResponse

Expand All @@ -27,7 +27,7 @@ class ContactListResponse(BaseModel):
data: Optional[Data] = None
"""Paginated list of contacts response"""

error: Optional[APIError] = None
error: Optional[ErrorDetail] = None
"""Error information"""

meta: Optional[APIMeta] = None
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@

from .._models import BaseModel

__all__ = ["APIError"]
__all__ = ["ErrorDetail"]


class APIError(BaseModel):
class ErrorDetail(BaseModel):
"""Error information"""

code: Optional[str] = None
Expand Down
4 changes: 2 additions & 2 deletions src/sent_dm/types/me_retrieve_response.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

from .._models import BaseModel
from .api_meta import APIMeta
from .api_error import APIError
from .error_detail import ErrorDetail
from .profile_settings import ProfileSettings

__all__ = [
Expand Down Expand Up @@ -180,7 +180,7 @@ class MeRetrieveResponse(BaseModel):
API key type. Always includes messaging channel configuration.
"""

error: Optional[APIError] = None
error: Optional[ErrorDetail] = None
"""Error information"""

meta: Optional[APIMeta] = None
Expand Down
4 changes: 2 additions & 2 deletions src/sent_dm/types/message_retrieve_activities_response.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

from .._models import BaseModel
from .api_meta import APIMeta
from .api_error import APIError
from .error_detail import ErrorDetail

__all__ = ["MessageRetrieveActivitiesResponse", "Data", "DataActivity"]

Expand Down Expand Up @@ -51,7 +51,7 @@ class MessageRetrieveActivitiesResponse(BaseModel):
data: Optional[Data] = None
"""Response for GET /messages/{id}/activities"""

error: Optional[APIError] = None
error: Optional[ErrorDetail] = None
"""Error information"""

meta: Optional[APIMeta] = None
Expand Down
4 changes: 2 additions & 2 deletions src/sent_dm/types/message_retrieve_status_response.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

from .._models import BaseModel
from .api_meta import APIMeta
from .api_error import APIError
from .error_detail import ErrorDetail

__all__ = ["MessageRetrieveStatusResponse", "Data", "DataEvent", "DataMessageBody", "DataMessageBodyButton"]

Expand Down Expand Up @@ -87,7 +87,7 @@ class MessageRetrieveStatusResponse(BaseModel):
data: Optional[Data] = None
"""Message response for v3 API — same shape as v2 with snake_case JSON conventions"""

error: Optional[APIError] = None
error: Optional[ErrorDetail] = None
"""Error information"""

meta: Optional[APIMeta] = None
Expand Down
4 changes: 2 additions & 2 deletions src/sent_dm/types/message_send_response.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

from .._models import BaseModel
from .api_meta import APIMeta
from .api_error import APIError
from .error_detail import ErrorDetail

__all__ = ["MessageSendResponse", "Data", "DataRecipient"]

Expand Down Expand Up @@ -50,7 +50,7 @@ class MessageSendResponse(BaseModel):
data: Optional[Data] = None
"""Response for the multi-recipient send message endpoint"""

error: Optional[APIError] = None
error: Optional[ErrorDetail] = None
"""Error information"""

meta: Optional[APIMeta] = None
Expand Down
4 changes: 2 additions & 2 deletions src/sent_dm/types/number_lookup_response.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

from .._models import BaseModel
from .api_meta import APIMeta
from .api_error import APIError
from .error_detail import ErrorDetail

__all__ = ["NumberLookupResponse", "Data"]

Expand Down Expand Up @@ -37,7 +37,7 @@ class NumberLookupResponse(BaseModel):
data: Optional[Data] = None
"""The response data (null if error)"""

error: Optional[APIError] = None
error: Optional[ErrorDetail] = None
"""Error information"""

meta: Optional[APIMeta] = None
Expand Down
4 changes: 2 additions & 2 deletions src/sent_dm/types/profile_list_response.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

from .._models import BaseModel
from .api_meta import APIMeta
from .api_error import APIError
from .error_detail import ErrorDetail
from .profile_detail import ProfileDetail

__all__ = ["ProfileListResponse", "Data"]
Expand All @@ -23,7 +23,7 @@ class ProfileListResponse(BaseModel):
data: Optional[Data] = None
"""List of profiles response"""

error: Optional[APIError] = None
error: Optional[ErrorDetail] = None
"""Error information"""

meta: Optional[APIMeta] = None
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

from ..._models import BaseModel
from ..api_meta import APIMeta
from ..api_error import APIError
from ..error_detail import ErrorDetail
from .tcr_campaign_with_use_cases import TcrCampaignWithUseCases

__all__ = ["APIResponseOfTcrCampaignWithUseCases"]
Expand All @@ -16,7 +16,7 @@ class APIResponseOfTcrCampaignWithUseCases(BaseModel):
data: Optional[TcrCampaignWithUseCases] = None
"""The response data (null if error)"""

error: Optional[APIError] = None
error: Optional[ErrorDetail] = None
"""Error information"""

meta: Optional[APIMeta] = None
Expand Down
4 changes: 2 additions & 2 deletions src/sent_dm/types/profiles/campaign_list_response.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

from ..._models import BaseModel
from ..api_meta import APIMeta
from ..api_error import APIError
from ..error_detail import ErrorDetail
from .tcr_campaign_with_use_cases import TcrCampaignWithUseCases

__all__ = ["CampaignListResponse"]
Expand All @@ -16,7 +16,7 @@ class CampaignListResponse(BaseModel):
data: Optional[List[TcrCampaignWithUseCases]] = None
"""The response data (null if error)"""

error: Optional[APIError] = None
error: Optional[ErrorDetail] = None
"""Error information"""

meta: Optional[APIMeta] = None
Expand Down
4 changes: 2 additions & 2 deletions src/sent_dm/types/template_list_response.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
from .._models import BaseModel
from .api_meta import APIMeta
from .template import Template
from .api_error import APIError
from .error_detail import ErrorDetail
from .pagination_meta import PaginationMeta

__all__ = ["TemplateListResponse", "Data"]
Expand All @@ -27,7 +27,7 @@ class TemplateListResponse(BaseModel):
data: Optional[Data] = None
"""Paginated list of templates"""

error: Optional[APIError] = None
error: Optional[ErrorDetail] = None
"""Error information"""

meta: Optional[APIMeta] = None
Expand Down
4 changes: 2 additions & 2 deletions src/sent_dm/types/user_list_response.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

from .._models import BaseModel
from .api_meta import APIMeta
from .api_error import APIError
from .error_detail import ErrorDetail
from .user_response import UserResponse

__all__ = ["UserListResponse", "Data"]
Expand All @@ -23,7 +23,7 @@ class UserListResponse(BaseModel):
data: Optional[Data] = None
"""List of users response"""

error: Optional[APIError] = None
error: Optional[ErrorDetail] = None
"""Error information"""

meta: Optional[APIMeta] = None
Expand Down
4 changes: 2 additions & 2 deletions src/sent_dm/types/webhook_list_event_types_response.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

from .._models import BaseModel
from .api_meta import APIMeta
from .api_error import APIError
from .error_detail import ErrorDetail

__all__ = ["WebhookListEventTypesResponse", "Data", "DataEventType"]

Expand All @@ -31,7 +31,7 @@ class WebhookListEventTypesResponse(BaseModel):
data: Optional[Data] = None
"""The response data (null if error)"""

error: Optional[APIError] = None
error: Optional[ErrorDetail] = None
"""Error information"""

meta: Optional[APIMeta] = None
Expand Down
4 changes: 2 additions & 2 deletions src/sent_dm/types/webhook_list_events_response.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

from .._models import BaseModel
from .api_meta import APIMeta
from .api_error import APIError
from .error_detail import ErrorDetail
from .pagination_meta import PaginationMeta

__all__ = ["WebhookListEventsResponse", "Data", "DataEvent"]
Expand Down Expand Up @@ -50,7 +50,7 @@ class WebhookListEventsResponse(BaseModel):
data: Optional[Data] = None
"""The response data (null if error)"""

error: Optional[APIError] = None
error: Optional[ErrorDetail] = None
"""Error information"""

meta: Optional[APIMeta] = None
Expand Down
Loading
Loading