From f8af3af7bf95a2e5bb12e4bbdcaa180a8ca85fb4 Mon Sep 17 00:00:00 2001 From: activitysmith-bot Date: Sat, 10 Oct 2026 02:41:26 +0000 Subject: [PATCH] chore: regenerate SDK --- activitysmith_openapi/api/push_notifications_api.py | 6 +++--- activitysmith_openapi/docs/LiveActivityStreamPutResponse.md | 1 + activitysmith_openapi/docs/PushNotificationsApi.md | 2 +- .../models/live_activity_stream_put_response.py | 4 +++- activitysmith_openapi/openapi-source.json | 4 ++-- .../test/test_live_activity_stream_put_response.py | 1 + 6 files changed, 11 insertions(+), 7 deletions(-) diff --git a/activitysmith_openapi/api/push_notifications_api.py b/activitysmith_openapi/api/push_notifications_api.py index 4a65371..e72c6be 100644 --- a/activitysmith_openapi/api/push_notifications_api.py +++ b/activitysmith_openapi/api/push_notifications_api.py @@ -56,7 +56,7 @@ def send_push_notification( ) -> PushNotificationResponse: """Send a push notification - Sends a push notification to devices matched by API key scope and optional target channels. Supports optional redirection URL, optional media preview or playback when the notification is expanded, and up to 4 interactive actions. `media` cannot be combined with `actions`. Optional `icon` shows a custom image, such as a service logo or avatar, next to a smaller app icon. Optional `interruption_level` sets how urgently iOS presents the notification. Optional tags to organize and filter notification history. + Sends a push notification to devices matched by API key scope and optional target channels. Supports optional redirection URL, optional media preview or playback when the notification is expanded, and up to 4 interactive actions. `media` cannot be combined with `actions`. Optional `icon` shows a custom image, such as a logo or avatar, next to a smaller app icon. Optional `interruption_level` sets how urgently iOS presents the notification. Optional tags to organize and filter notification history. :param push_notification_request: (required) :type push_notification_request: PushNotificationRequest @@ -128,7 +128,7 @@ def send_push_notification_with_http_info( ) -> ApiResponse[PushNotificationResponse]: """Send a push notification - Sends a push notification to devices matched by API key scope and optional target channels. Supports optional redirection URL, optional media preview or playback when the notification is expanded, and up to 4 interactive actions. `media` cannot be combined with `actions`. Optional `icon` shows a custom image, such as a service logo or avatar, next to a smaller app icon. Optional `interruption_level` sets how urgently iOS presents the notification. Optional tags to organize and filter notification history. + Sends a push notification to devices matched by API key scope and optional target channels. Supports optional redirection URL, optional media preview or playback when the notification is expanded, and up to 4 interactive actions. `media` cannot be combined with `actions`. Optional `icon` shows a custom image, such as a logo or avatar, next to a smaller app icon. Optional `interruption_level` sets how urgently iOS presents the notification. Optional tags to organize and filter notification history. :param push_notification_request: (required) :type push_notification_request: PushNotificationRequest @@ -200,7 +200,7 @@ def send_push_notification_without_preload_content( ) -> RESTResponseType: """Send a push notification - Sends a push notification to devices matched by API key scope and optional target channels. Supports optional redirection URL, optional media preview or playback when the notification is expanded, and up to 4 interactive actions. `media` cannot be combined with `actions`. Optional `icon` shows a custom image, such as a service logo or avatar, next to a smaller app icon. Optional `interruption_level` sets how urgently iOS presents the notification. Optional tags to organize and filter notification history. + Sends a push notification to devices matched by API key scope and optional target channels. Supports optional redirection URL, optional media preview or playback when the notification is expanded, and up to 4 interactive actions. `media` cannot be combined with `actions`. Optional `icon` shows a custom image, such as a logo or avatar, next to a smaller app icon. Optional `interruption_level` sets how urgently iOS presents the notification. Optional tags to organize and filter notification history. :param push_notification_request: (required) :type push_notification_request: PushNotificationRequest diff --git a/activitysmith_openapi/docs/LiveActivityStreamPutResponse.md b/activitysmith_openapi/docs/LiveActivityStreamPutResponse.md index 682d9e8..b6f84f1 100644 --- a/activitysmith_openapi/docs/LiveActivityStreamPutResponse.md +++ b/activitysmith_openapi/docs/LiveActivityStreamPutResponse.md @@ -16,6 +16,7 @@ Name | Type | Description | Notes **users_notified** | **int** | | [optional] **effective_channel_slugs** | **List[str]** | | [optional] **tags** | **List[str]** | Optional tags to organize and filter notification history. | [optional] +**warning** | **str** | Present on `updated` responses when the current Live Activity has received more than 12 updates and has averaged more than one update every 2 minutes since it started. The update is still sent, but iOS may throttle Live Activities that update this often. | [optional] **timestamp** | **datetime** | | ## Example diff --git a/activitysmith_openapi/docs/PushNotificationsApi.md b/activitysmith_openapi/docs/PushNotificationsApi.md index ef3b424..225ba36 100644 --- a/activitysmith_openapi/docs/PushNotificationsApi.md +++ b/activitysmith_openapi/docs/PushNotificationsApi.md @@ -12,7 +12,7 @@ Method | HTTP request | Description Send a push notification -Sends a push notification to devices matched by API key scope and optional target channels. Supports optional redirection URL, optional media preview or playback when the notification is expanded, and up to 4 interactive actions. `media` cannot be combined with `actions`. Optional `icon` shows a custom image, such as a service logo or avatar, next to a smaller app icon. Optional `interruption_level` sets how urgently iOS presents the notification. Optional tags to organize and filter notification history. +Sends a push notification to devices matched by API key scope and optional target channels. Supports optional redirection URL, optional media preview or playback when the notification is expanded, and up to 4 interactive actions. `media` cannot be combined with `actions`. Optional `icon` shows a custom image, such as a logo or avatar, next to a smaller app icon. Optional `interruption_level` sets how urgently iOS presents the notification. Optional tags to organize and filter notification history. ### Example diff --git a/activitysmith_openapi/models/live_activity_stream_put_response.py b/activitysmith_openapi/models/live_activity_stream_put_response.py index d64c3ea..e060e0e 100644 --- a/activitysmith_openapi/models/live_activity_stream_put_response.py +++ b/activitysmith_openapi/models/live_activity_stream_put_response.py @@ -38,8 +38,9 @@ class LiveActivityStreamPutResponse(BaseModel): users_notified: Optional[StrictInt] = None effective_channel_slugs: Optional[List[StrictStr]] = None tags: Optional[List[Annotated[str, Field(min_length=1, strict=True, max_length=64)]]] = Field(default=None, description="Optional tags to organize and filter notification history.") + warning: Optional[StrictStr] = Field(default=None, description="Present on `updated` responses when the current Live Activity has received more than 12 updates and has averaged more than one update every 2 minutes since it started. The update is still sent, but iOS may throttle Live Activities that update this often.") timestamp: datetime - __properties: ClassVar[List[str]] = ["success", "operation", "stream_key", "activity_id", "previous_activity_id", "devices_notified", "devices_queued", "users_notified", "effective_channel_slugs", "tags", "timestamp"] + __properties: ClassVar[List[str]] = ["success", "operation", "stream_key", "activity_id", "previous_activity_id", "devices_notified", "devices_queued", "users_notified", "effective_channel_slugs", "tags", "warning", "timestamp"] @field_validator('operation') def operation_validate_enum(cls, value): @@ -114,6 +115,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: "users_notified": obj.get("users_notified"), "effective_channel_slugs": obj.get("effective_channel_slugs"), "tags": obj.get("tags"), + "warning": obj.get("warning"), "timestamp": obj.get("timestamp") }) return _obj diff --git a/activitysmith_openapi/openapi-source.json b/activitysmith_openapi/openapi-source.json index a320213..0352bc6 100644 --- a/activitysmith_openapi/openapi-source.json +++ b/activitysmith_openapi/openapi-source.json @@ -1,6 +1,6 @@ { "repository": "ActivitySmithHQ/activitysmith-backend", - "commit": "ce15d69eeb25776a3ae395e77d8b907ff7ba0709", + "commit": "b1dbf8cd72c375f8f79d4bb9bfb7654f16e18f70", "path": "openapi.json", - "sha256": "b113d50e06d6581707d9472dda6e371b996441f58dceba87a88f79cb96508a7d" + "sha256": "ffe823b1c9af1b42f340b386ef712fc5deffa1b8e7d92b9ed4724d6eb72a92ed" } diff --git a/activitysmith_openapi/test/test_live_activity_stream_put_response.py b/activitysmith_openapi/test/test_live_activity_stream_put_response.py index 8db94ca..5bbe6d4 100644 --- a/activitysmith_openapi/test/test_live_activity_stream_put_response.py +++ b/activitysmith_openapi/test/test_live_activity_stream_put_response.py @@ -49,6 +49,7 @@ def make_instance(self, include_optional) -> LiveActivityStreamPutResponse: tags = [ 'gB:9JLe6iL71-aa-.Ctq:dcsc.3-8:1gAa8Xa6u61ArrlGpCQjkQVRmfnjddwcDM0' ], + warning = '', timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f') ) else: