From fa683950b661507844f9d1f22c4716daf9805810 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Wed, 8 Apr 2026 16:18:38 +0000 Subject: [PATCH 1/3] fix(api-service): add created_at and make sent_at nullable in SentMessage --- .stats.yml | 4 ++-- src/linq/types/chats/sent_message.py | 7 +++++-- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/.stats.yml b/.stats.yml index e9512d6..2120989 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 34 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/linq%2Flinq-api-v3-c5bcd9ca6063e60608524c34230d29b3d85e3d44b43edb686540e3400692fda7.yml -openapi_spec_hash: 887410236b624086a0e22a9fa8d468be +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/linq%2Flinq-api-v3-c04ef26c6f81f9ff1088ff66fdcf4105d2993305f5c09602feaeb64a18478ba1.yml +openapi_spec_hash: 9d1f11a7318ce8aacb5aa2b81da4d472 config_hash: be5410c6c4d8f36a7cd93c8950bc90d6 diff --git a/src/linq/types/chats/sent_message.py b/src/linq/types/chats/sent_message.py index 1935df5..c8231a1 100644 --- a/src/linq/types/chats/sent_message.py +++ b/src/linq/types/chats/sent_message.py @@ -24,6 +24,9 @@ class SentMessage(BaseModel): id: str """Message identifier (UUID)""" + created_at: datetime + """When the message was created""" + delivery_status: Literal["pending", "queued", "sent", "delivered", "failed"] """Current delivery status of a message""" @@ -33,8 +36,8 @@ class SentMessage(BaseModel): parts: List[Part] """Message parts in order (text, media, and link)""" - sent_at: datetime - """When the message was sent""" + sent_at: Optional[datetime] = None + """When the message was actually sent (null if still queued)""" delivered_at: Optional[datetime] = None """When the message was delivered""" From e05f1af36a6d37d13952bdad56f16b903bfccc34 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Wed, 8 Apr 2026 21:58:36 +0000 Subject: [PATCH 2/3] fix: block SMS group participant changes and fix e2e test failures --- .stats.yml | 4 ++-- src/linq/resources/attachments.py | 8 ++++++++ src/linq/types/attachment_create_params.py | 4 ++++ src/linq/types/attachment_retrieve_response.py | 4 ++++ 4 files changed, 18 insertions(+), 2 deletions(-) diff --git a/.stats.yml b/.stats.yml index 2120989..9f0a9e5 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 34 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/linq%2Flinq-api-v3-c04ef26c6f81f9ff1088ff66fdcf4105d2993305f5c09602feaeb64a18478ba1.yml -openapi_spec_hash: 9d1f11a7318ce8aacb5aa2b81da4d472 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/linq%2Flinq-api-v3-6623e8539cf7c04da673c1f276bd43b034c97681af99ce23cb2db5ec262cbd8f.yml +openapi_spec_hash: d44bf2ba899fe49d48340ed053de64d2 config_hash: be5410c6c4d8f36a7cd93c8950bc90d6 diff --git a/src/linq/resources/attachments.py b/src/linq/resources/attachments.py index 61f83ce..1f66942 100644 --- a/src/linq/resources/attachments.py +++ b/src/linq/resources/attachments.py @@ -219,6 +219,10 @@ def create( application/x-iwork-keynote-sffkey, application/epub+zip, application/zip, application/x-gzip + **Transcoded on delivery:** + + - `audio/x-caf` — CAF files are transcoded to `audio/mp4` for delivery. + **Deprecated (accepted but transcoded):** - `audio/mp3` — Deprecated. Use `audio/mpeg` instead. Files sent as audio/mp3 @@ -490,6 +494,10 @@ async def create( application/x-iwork-keynote-sffkey, application/epub+zip, application/zip, application/x-gzip + **Transcoded on delivery:** + + - `audio/x-caf` — CAF files are transcoded to `audio/mp4` for delivery. + **Deprecated (accepted but transcoded):** - `audio/mp3` — Deprecated. Use `audio/mpeg` instead. Files sent as audio/mp3 diff --git a/src/linq/types/attachment_create_params.py b/src/linq/types/attachment_create_params.py index 5c43cba..8967584 100644 --- a/src/linq/types/attachment_create_params.py +++ b/src/linq/types/attachment_create_params.py @@ -34,6 +34,10 @@ class AttachmentCreateParams(TypedDict, total=False): application/x-iwork-keynote-sffkey, application/epub+zip, application/zip, application/x-gzip + **Transcoded on delivery:** + + - `audio/x-caf` — CAF files are transcoded to `audio/mp4` for delivery. + **Deprecated (accepted but transcoded):** - `audio/mp3` — Deprecated. Use `audio/mpeg` instead. Files sent as audio/mp3 diff --git a/src/linq/types/attachment_retrieve_response.py b/src/linq/types/attachment_retrieve_response.py index 89bef5f..92e3a07 100644 --- a/src/linq/types/attachment_retrieve_response.py +++ b/src/linq/types/attachment_retrieve_response.py @@ -38,6 +38,10 @@ class AttachmentRetrieveResponse(BaseModel): application/x-iwork-keynote-sffkey, application/epub+zip, application/zip, application/x-gzip + **Transcoded on delivery:** + + - `audio/x-caf` — CAF files are transcoded to `audio/mp4` for delivery. + **Deprecated (accepted but transcoded):** - `audio/mp3` — Deprecated. Use `audio/mpeg` instead. Files sent as audio/mp3 From 28d82021e1fe5e3ae1e2901252c00d32bd3d36f3 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Wed, 8 Apr 2026 21:59:05 +0000 Subject: [PATCH 3/3] release: 0.2.3 --- .release-please-manifest.json | 2 +- CHANGELOG.md | 9 +++++++++ pyproject.toml | 2 +- src/linq/_version.py | 2 +- 4 files changed, 12 insertions(+), 3 deletions(-) diff --git a/.release-please-manifest.json b/.release-please-manifest.json index d66ca57..ccdf8aa 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,3 +1,3 @@ { - ".": "0.2.2" + ".": "0.2.3" } \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md index e73d2ec..f4dab44 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,14 @@ # Changelog +## 0.2.3 (2026-04-08) + +Full Changelog: [v0.2.2...v0.2.3](https://github.com/linq-team/linq-python/compare/v0.2.2...v0.2.3) + +### Bug Fixes + +* **api-service:** add created_at and make sent_at nullable in SentMessage ([fa68395](https://github.com/linq-team/linq-python/commit/fa683950b661507844f9d1f22c4716daf9805810)) +* block SMS group participant changes and fix e2e test failures ([e05f1af](https://github.com/linq-team/linq-python/commit/e05f1af36a6d37d13952bdad56f16b903bfccc34)) + ## 0.2.2 (2026-04-08) Full Changelog: [v0.2.1...v0.2.2](https://github.com/linq-team/linq-python/compare/v0.2.1...v0.2.2) diff --git a/pyproject.toml b/pyproject.toml index ff36f83..06172c4 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "linq-python" -version = "0.2.2" +version = "0.2.3" description = "The official Python library for the linq-api-v3 API" dynamic = ["readme"] license = "Apache-2.0" diff --git a/src/linq/_version.py b/src/linq/_version.py index 8c90f87..dfa7a81 100644 --- a/src/linq/_version.py +++ b/src/linq/_version.py @@ -1,4 +1,4 @@ # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. __title__ = "linq" -__version__ = "0.2.2" # x-release-please-version +__version__ = "0.2.3" # x-release-please-version