Skip to content

Commit ceac92d

Browse files
author
activitysmith-bot
committed
chore: regenerate SDK
1 parent ba31019 commit ceac92d

40 files changed

Lines changed: 117 additions & 78 deletions

activitysmith_openapi/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
""" # noqa: E501
1515

1616

17-
__version__ = "1.8.0"
17+
__version__ = "1.9.0"
1818

1919
# import apis into sdk package
2020
from activitysmith_openapi.api.app_icon_badges_api import AppIconBadgesApi

activitysmith_openapi/api/app_icon_badges_api.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -54,9 +54,9 @@ def update_app_icon_badge_count(
5454
_headers: Optional[Dict[StrictStr, Any]] = None,
5555
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
5656
) -> AppIconBadgeCountUpdateResponse:
57-
"""Update App Icon Badge Count
57+
"""Set App Icon Badge Count
5858
59-
Updates the App Icon Badge Count on devices matched by API key scope and optional target channels. Send `badge: 0` to clear the count. Badge updates are independent of push notifications and do not create a push notification history item.
59+
Shows a number on the ActivitySmith app icon.
6060
6161
:param app_icon_badge_count_update_request: (required)
6262
:type app_icon_badge_count_update_request: AppIconBadgeCountUpdateRequest
@@ -125,9 +125,9 @@ def update_app_icon_badge_count_with_http_info(
125125
_headers: Optional[Dict[StrictStr, Any]] = None,
126126
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
127127
) -> ApiResponse[AppIconBadgeCountUpdateResponse]:
128-
"""Update App Icon Badge Count
128+
"""Set App Icon Badge Count
129129
130-
Updates the App Icon Badge Count on devices matched by API key scope and optional target channels. Send `badge: 0` to clear the count. Badge updates are independent of push notifications and do not create a push notification history item.
130+
Shows a number on the ActivitySmith app icon.
131131
132132
:param app_icon_badge_count_update_request: (required)
133133
:type app_icon_badge_count_update_request: AppIconBadgeCountUpdateRequest
@@ -196,9 +196,9 @@ def update_app_icon_badge_count_without_preload_content(
196196
_headers: Optional[Dict[StrictStr, Any]] = None,
197197
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
198198
) -> RESTResponseType:
199-
"""Update App Icon Badge Count
199+
"""Set App Icon Badge Count
200200
201-
Updates the App Icon Badge Count on devices matched by API key scope and optional target channels. Send `badge: 0` to clear the count. Badge updates are independent of push notifications and do not create a push notification history item.
201+
Shows a number on the ActivitySmith app icon.
202202
203203
:param app_icon_badge_count_update_request: (required)
204204
:type app_icon_badge_count_update_request: AppIconBadgeCountUpdateRequest

activitysmith_openapi/api/live_activities_api.py

Lines changed: 15 additions & 15 deletions
Large diffs are not rendered by default.

activitysmith_openapi/api/push_notifications_api.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ def send_push_notification(
5656
) -> PushNotificationResponse:
5757
"""Send a push notification
5858
59-
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`.
59+
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 tags to organize and filter notification history.
6060
6161
:param push_notification_request: (required)
6262
:type push_notification_request: PushNotificationRequest
@@ -127,7 +127,7 @@ def send_push_notification_with_http_info(
127127
) -> ApiResponse[PushNotificationResponse]:
128128
"""Send a push notification
129129
130-
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`.
130+
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 tags to organize and filter notification history.
131131
132132
:param push_notification_request: (required)
133133
:type push_notification_request: PushNotificationRequest
@@ -198,7 +198,7 @@ def send_push_notification_without_preload_content(
198198
) -> RESTResponseType:
199199
"""Send a push notification
200200
201-
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`.
201+
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 tags to organize and filter notification history.
202202
203203
:param push_notification_request: (required)
204204
:type push_notification_request: PushNotificationRequest

activitysmith_openapi/api_client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ def __init__(
8888
self.default_headers[header_name] = header_value
8989
self.cookie = cookie
9090
# Set default User-Agent.
91-
self.user_agent = 'OpenAPI-Generator/1.8.0/python'
91+
self.user_agent = 'OpenAPI-Generator/1.9.0/python'
9292
self.client_side_validation = configuration.client_side_validation
9393

9494
def __enter__(self):

activitysmith_openapi/configuration.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -393,7 +393,7 @@ def to_debug_report(self):
393393
"OS: {env}\n"\
394394
"Python Version: {pyversion}\n"\
395395
"Version of the API: 1.0.0\n"\
396-
"SDK Package Version: 1.8.0".\
396+
"SDK Package Version: 1.9.0".\
397397
format(env=sys.platform, pyversion=sys.version)
398398

399399
def get_host_settings(self):

activitysmith_openapi/docs/AppIconBadgeCountUpdateRequest.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
# AppIconBadgeCountUpdateRequest
22

3-
App Icon Badge Count update. Send badge 0 to clear the count.
43

54
## Properties
65

activitysmith_openapi/docs/AppIconBadgesApi.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,15 @@ All URIs are relative to *https://activitysmith.com/api*
44

55
Method | HTTP request | Description
66
------------- | ------------- | -------------
7-
[**update_app_icon_badge_count**](AppIconBadgesApi.md#update_app_icon_badge_count) | **POST** /badge | Update App Icon Badge Count
7+
[**update_app_icon_badge_count**](AppIconBadgesApi.md#update_app_icon_badge_count) | **POST** /badge | Set App Icon Badge Count
88

99

1010
# **update_app_icon_badge_count**
1111
> AppIconBadgeCountUpdateResponse update_app_icon_badge_count(app_icon_badge_count_update_request)
1212
13-
Update App Icon Badge Count
13+
Set App Icon Badge Count
1414

15-
Updates the App Icon Badge Count on devices matched by API key scope and optional target channels. Send `badge: 0` to clear the count. Badge updates are independent of push notifications and do not create a push notification history item.
15+
Shows a number on the ActivitySmith app icon.
1616

1717
### Example
1818

@@ -45,10 +45,10 @@ configuration = activitysmith_openapi.Configuration(
4545
with activitysmith_openapi.ApiClient(configuration) as api_client:
4646
# Create an instance of the API class
4747
api_instance = activitysmith_openapi.AppIconBadgesApi(api_client)
48-
app_icon_badge_count_update_request = {"badge":12} # AppIconBadgeCountUpdateRequest |
48+
app_icon_badge_count_update_request = {"badge":8333} # AppIconBadgeCountUpdateRequest |
4949

5050
try:
51-
# Update App Icon Badge Count
51+
# Set App Icon Badge Count
5252
api_response = api_instance.update_app_icon_badge_count(app_icon_badge_count_update_request)
5353
print("The response of AppIconBadgesApi->update_app_icon_badge_count:\n")
5454
pprint(api_response)
@@ -83,8 +83,8 @@ Name | Type | Description | Notes
8383
| Status code | Description | Response headers |
8484
|-------------|-------------|------------------|
8585
**200** | App Icon Badge Count updated | - |
86-
**400** | Bad request (invalid badge value or channel targeting input) | - |
87-
**403** | Forbidden (API key scope or channel assignment violation) | - |
86+
**400** | Bad request | - |
87+
**403** | Forbidden | - |
8888
**404** | No recipients found for effective channel target | - |
8989
**429** | Rate limit exceeded | - |
9090

activitysmith_openapi/docs/LiveActivitiesApi.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ Method | HTTP request | Description
1616
1717
End a Live Activity (legacy manual lifecycle)
1818

19-
Legacy manual lifecycle endpoint. For new integrations, use DELETE /live-activity/stream/{stream_key} to end a managed Live Activity stream. This endpoint remains supported for existing integrations and advanced lifecycle control. Ends a Live Activity and archives its lifecycle. Supports segmented_progress, progress, metrics, stats, alert, and timer activity types. For segmented_progress activities, you can send the latest number_of_steps here if the workflow changed after start. Use secondary_action for a second button on alert, progress, and segmented_progress Live Activities only.
19+
Legacy manual lifecycle endpoint. For new integrations, use DELETE /live-activity/stream/{stream_key} to end a managed Live Activity stream. This endpoint remains supported for existing integrations and advanced lifecycle control. Ends a Live Activity and archives its lifecycle. Supports segmented_progress, progress, metrics, stats, alert, and timer activity types. For segmented_progress activities, you can send the latest number_of_steps here if the workflow changed after start. Use secondary_action for a second button on alert, progress, and segmented_progress Live Activities.
2020

2121
### Example
2222

@@ -97,7 +97,7 @@ Name | Type | Description | Notes
9797
9898
End a stream
9999

100-
Use this endpoint when the process you are tracking is finished and you no longer want the Live Activity on your devices. ActivitySmith ends the current Live Activity for this stream and dismisses it from devices. If you need direct lifecycle control, use /live-activity/start, /live-activity/update, and /live-activity/end instead. Use secondary_action for a second button on alert, progress, and segmented_progress Live Activities only.
100+
Use this endpoint when the process you are tracking is finished and you no longer want the Live Activity on your devices. ActivitySmith ends the current Live Activity for this stream and dismisses it from devices. If you need direct lifecycle control, use /live-activity/start, /live-activity/update, and /live-activity/end instead. Use secondary_action for a second button on alert, progress, and segmented_progress Live Activities.
101101

102102
### Example
103103

@@ -181,7 +181,7 @@ Name | Type | Description | Notes
181181
182182
Start a new Live Activity or update an existing one
183183

184-
Use a stable stream_key for each ongoing thing you want to show as a Live Activity. Send the latest content_state whenever it changes, and ActivitySmith will keep the Live Activity in sync. For timer streams, send duration_seconds to start or reset the timer; omit duration_seconds on later updates to preserve the existing timer window. Use secondary_action for a second button on alert, progress, and segmented_progress Live Activities only.
184+
Use a stable stream_key for each ongoing thing you want to show as a Live Activity. Send the latest content_state whenever it changes, and ActivitySmith will keep the Live Activity in sync. For timer streams, send duration_seconds to start or reset the timer; omit duration_seconds on later updates to preserve the existing timer window. Use secondary_action for a second button on alert, progress, and segmented_progress Live Activities. Optional tags to organize and filter notification history. On later stream updates, omit tags to keep the current tags, send tags again to replace them, or send an empty array to clear them.
185185

186186
### Example
187187

@@ -266,7 +266,7 @@ Name | Type | Description | Notes
266266
267267
Start a Live Activity (legacy manual lifecycle)
268268

269-
Legacy manual lifecycle endpoint. For new integrations, use PUT /live-activity/stream/{stream_key} so ActivitySmith can manage start, update, rotation, and end state for you. This endpoint remains supported for existing integrations and advanced lifecycle control. Starts a Live Activity on devices matched by API key scope and optional target channels. Supports segmented_progress, progress, metrics, stats, alert, and timer activity types. For segmented_progress activities, number_of_steps can be changed later during update or end calls if the workflow changes. Use secondary_action for a second button on alert, progress, and segmented_progress Live Activities only.
269+
Legacy manual lifecycle endpoint. For new integrations, use PUT /live-activity/stream/{stream_key} so ActivitySmith can manage start, update, rotation, and end state for you. This endpoint remains supported for existing integrations and advanced lifecycle control. Starts a Live Activity on devices matched by API key scope and optional target channels. Supports segmented_progress, progress, metrics, stats, alert, and timer activity types. For segmented_progress activities, number_of_steps can be changed later during update or end calls if the workflow changes. Use secondary_action for a second button on alert, progress, and segmented_progress Live Activities. Optional tags to organize and filter notification history.
270270

271271
### Example
272272

@@ -349,7 +349,7 @@ Name | Type | Description | Notes
349349
350350
Update a Live Activity (legacy manual lifecycle)
351351

352-
Legacy manual lifecycle endpoint. For new integrations, use PUT /live-activity/stream/{stream_key} so ActivitySmith can manage start, update, rotation, and end state for you. This endpoint remains supported for existing integrations and advanced lifecycle control. Updates an existing Live Activity. If the per-activity token is not registered yet, the update is queued. Supports segmented_progress, progress, metrics, stats, alert, and timer activity types. For segmented_progress activities, you can increase or decrease number_of_steps here as the workflow changes. For timer activities, send duration_seconds only when you want to reset the timer window; omit it to keep the current timer running. Use secondary_action for a second button on alert, progress, and segmented_progress Live Activities only.
352+
Legacy manual lifecycle endpoint. For new integrations, use PUT /live-activity/stream/{stream_key} so ActivitySmith can manage start, update, rotation, and end state for you. This endpoint remains supported for existing integrations and advanced lifecycle control. Updates an existing Live Activity. If the per-activity token is not registered yet, the update is queued. Supports segmented_progress, progress, metrics, stats, alert, and timer activity types. For segmented_progress activities, you can increase or decrease number_of_steps here as the workflow changes. For timer activities, send duration_seconds only when you want to reset the timer window; omit it to keep the current timer running. Use secondary_action for a second button on alert, progress, and segmented_progress Live Activities.
353353

354354
### Example
355355

activitysmith_openapi/docs/LiveActivityAction.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ Name | Type | Description | Notes
88
------------ | ------------- | ------------- | -------------
99
**title** | **str** | Button title displayed in the Live Activity UI. |
1010
**type** | [**LiveActivityActionType**](LiveActivityActionType.md) | |
11-
**url** | **str** | Action URL. For open_url, use an HTTPS URL or a shortcuts://run-shortcut?name=... URL that runs a specific iPhone Shortcut. For webhook, use an HTTPS URL called by the ActivitySmith backend. |
11+
**url** | **str** | Action URL. For open_url, use an HTTP or HTTPS URL or a shortcuts://run-shortcut?name=... URL that runs a specific iPhone Shortcut. For webhook, use an HTTPS URL called by the ActivitySmith backend. |
1212
**method** | [**LiveActivityWebhookMethod**](LiveActivityWebhookMethod.md) | Webhook HTTP method. Used only when type=webhook. | [optional] [default to LiveActivityWebhookMethod.POST]
1313
**body** | **object** | Optional webhook payload body. Used only when type=webhook. | [optional]
1414

0 commit comments

Comments
 (0)