Skip to content

Commit c5fa143

Browse files
Merge pull request #40 from sentdm/release-please--branches--main--changes--next
release: 0.29.0
2 parents 3823769 + f62f453 commit c5fa143

8 files changed

Lines changed: 95 additions & 11 deletions

.release-please-manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
".": "0.28.0"
2+
".": "0.29.0"
33
}

.stats.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
configured_endpoints: 40
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/sent/sent-dm-06f8010dcf4fb680abe33a8ab4fb74b3a2668edb15ef5b995436861e249957d6.yml
3-
openapi_spec_hash: 969f82ebb2d5e6be2af05c56c4dea585
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/sent/sent-dm-e0a4f9a3faa85838c6d8a83dc1676c1fefa359c2eaf09ca5cfc05942549ca596.yml
3+
openapi_spec_hash: 74ba6ccdd1a0bb875402884dc1d10a59
44
config_hash: 32929c7d4b1344f5bbf67df044a518af

CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,13 @@
11
# Changelog
22

3+
## 0.29.0 (2026-05-21)
4+
5+
Full Changelog: [v0.28.0...v0.29.0](https://github.com/sentdm/sent-dm-python/compare/v0.28.0...v0.29.0)
6+
7+
### Features
8+
9+
* **api:** api update ([eb46257](https://github.com/sentdm/sent-dm-python/commit/eb46257aba635ee4dbebd5609f5f606fccf36aab))
10+
311
## 0.28.0 (2026-05-14)
412

513
Full Changelog: [v0.27.0...v0.28.0](https://github.com/sentdm/sent-dm-python/compare/v0.27.0...v0.28.0)

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "sentdm"
3-
version = "0.28.0"
3+
version = "0.29.0"
44
description = "The official Python library for the Sent API"
55
dynamic = ["readme"]
66
license = "Apache-2.0"

src/sent_dm/_version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
22

33
__title__ = "sent_dm"
4-
__version__ = "0.28.0" # x-release-please-version
4+
__version__ = "0.29.0" # x-release-please-version

src/sent_dm/types/message_retrieve_activities_response.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,11 @@ class DataActivity(BaseModel):
3838
"""
3939

4040
status: Optional[str] = None
41-
"""Activity status (e.g., QUEUED, PROCESSED, ROUTED, SENT, DELIVERED, FAILED)"""
41+
"""Activity status.
42+
43+
Outbound: QUEUED, PROCESSED, ROUTED, SENT, DELIVERED, READ, FAILED. Inbound
44+
(from contact): RECEIVED (terminal).
45+
"""
4246

4347
timestamp: Optional[datetime] = None
4448
"""When this activity occurred"""

src/sent_dm/types/sent_dm_services_common_contracts_poc_os_template_button_props_param.py

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,11 @@
22

33
from __future__ import annotations
44

5-
from typing import Optional
5+
from typing import Iterable, Optional
66
from typing_extensions import Required, Annotated, TypedDict
77

88
from .._utils import PropertyInfo
9+
from .template_variable_param import TemplateVariableParam
910

1011
__all__ = ["SentDmServicesCommonContractsPocOsTemplateButtonPropsParam"]
1112

@@ -27,6 +28,13 @@ class SentDmServicesCommonContractsPocOsTemplateButtonPropsParam(TypedDict, tota
2728

2829
url_type: Required[Annotated[str, PropertyInfo(alias="urlType")]]
2930

31+
variables: Required[Iterable[TemplateVariableParam]]
32+
"""
33+
Variables embedded in a dynamic URL button (only when UrlType = dynamic). Count
34+
is capped by TemplateContentLimits.MaxUrlButtonVariables; the placeholder must
35+
appear at the end of Url (validated in TemplateDefinitionValidator).
36+
"""
37+
3038
autofill_text: Annotated[Optional[str], PropertyInfo(alias="autofillText")]
3139

3240
otp_type: Annotated[Optional[str], PropertyInfo(alias="otpType")]

tests/api_resources/test_templates.py

Lines changed: 68 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -142,8 +142,24 @@ def test_method_create_with_all_params(self, client: Sent) -> None:
142142
"phone_number": "x",
143143
"quick_reply_type": "x",
144144
"text": "text",
145-
"url": "x",
145+
"url": "url",
146146
"url_type": "x",
147+
"variables": [
148+
{
149+
"name": "x",
150+
"props": {
151+
"media_type": "x",
152+
"sample": "x",
153+
"url": "x",
154+
"variable_type": "x",
155+
"alt": "alt",
156+
"regex": "regex",
157+
"short_url": "shortUrl",
158+
},
159+
"type": "x",
160+
"id": 0,
161+
}
162+
],
147163
"autofill_text": "autofillText",
148164
"otp_type": "otpType",
149165
"package_name": "packageName",
@@ -386,8 +402,24 @@ def test_method_update_with_all_params(self, client: Sent) -> None:
386402
"phone_number": "x",
387403
"quick_reply_type": "x",
388404
"text": "text",
389-
"url": "x",
405+
"url": "url",
390406
"url_type": "x",
407+
"variables": [
408+
{
409+
"name": "x",
410+
"props": {
411+
"media_type": "x",
412+
"sample": "x",
413+
"url": "x",
414+
"variable_type": "x",
415+
"alt": "alt",
416+
"regex": "regex",
417+
"short_url": "shortUrl",
418+
},
419+
"type": "x",
420+
"id": 0,
421+
}
422+
],
391423
"autofill_text": "autofillText",
392424
"otp_type": "otpType",
393425
"package_name": "packageName",
@@ -714,8 +746,24 @@ async def test_method_create_with_all_params(self, async_client: AsyncSent) -> N
714746
"phone_number": "x",
715747
"quick_reply_type": "x",
716748
"text": "text",
717-
"url": "x",
749+
"url": "url",
718750
"url_type": "x",
751+
"variables": [
752+
{
753+
"name": "x",
754+
"props": {
755+
"media_type": "x",
756+
"sample": "x",
757+
"url": "x",
758+
"variable_type": "x",
759+
"alt": "alt",
760+
"regex": "regex",
761+
"short_url": "shortUrl",
762+
},
763+
"type": "x",
764+
"id": 0,
765+
}
766+
],
719767
"autofill_text": "autofillText",
720768
"otp_type": "otpType",
721769
"package_name": "packageName",
@@ -958,8 +1006,24 @@ async def test_method_update_with_all_params(self, async_client: AsyncSent) -> N
9581006
"phone_number": "x",
9591007
"quick_reply_type": "x",
9601008
"text": "text",
961-
"url": "x",
1009+
"url": "url",
9621010
"url_type": "x",
1011+
"variables": [
1012+
{
1013+
"name": "x",
1014+
"props": {
1015+
"media_type": "x",
1016+
"sample": "x",
1017+
"url": "x",
1018+
"variable_type": "x",
1019+
"alt": "alt",
1020+
"regex": "regex",
1021+
"short_url": "shortUrl",
1022+
},
1023+
"type": "x",
1024+
"id": 0,
1025+
}
1026+
],
9631027
"autofill_text": "autofillText",
9641028
"otp_type": "otpType",
9651029
"package_name": "packageName",

0 commit comments

Comments
 (0)