Skip to content

Commit bf95dfd

Browse files
author
activitysmith-bot
committed
chore: regenerate SDK
1 parent 64a5663 commit bf95dfd

42 files changed

Lines changed: 1980 additions & 40 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

activitysmith_openapi/__init__.py

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

1616

17-
__version__ = "1.0.0"
17+
__version__ = "1.1.0"
1818

1919
# import apis into sdk package
2020
from activitysmith_openapi.api.live_activities_api import LiveActivitiesApi
21+
from activitysmith_openapi.api.metrics_api import MetricsApi
2122
from activitysmith_openapi.api.push_notifications_api import PushNotificationsApi
2223

2324
# import ApiClient
@@ -54,6 +55,12 @@
5455
from activitysmith_openapi.models.live_activity_update_request import LiveActivityUpdateRequest
5556
from activitysmith_openapi.models.live_activity_update_response import LiveActivityUpdateResponse
5657
from activitysmith_openapi.models.live_activity_webhook_method import LiveActivityWebhookMethod
58+
from activitysmith_openapi.models.metric_error import MetricError
59+
from activitysmith_openapi.models.metric_format import MetricFormat
60+
from activitysmith_openapi.models.metric_unit_spacing import MetricUnitSpacing
61+
from activitysmith_openapi.models.metric_value_update_request import MetricValueUpdateRequest
62+
from activitysmith_openapi.models.metric_value_update_request_value import MetricValueUpdateRequestValue
63+
from activitysmith_openapi.models.metric_value_update_response import MetricValueUpdateResponse
5764
from activitysmith_openapi.models.no_recipients_error import NoRecipientsError
5865
from activitysmith_openapi.models.not_found_error import NotFoundError
5966
from activitysmith_openapi.models.push_notification_action import PushNotificationAction
@@ -64,3 +71,5 @@
6471
from activitysmith_openapi.models.rate_limit_error import RateLimitError
6572
from activitysmith_openapi.models.send_push_notification429_response import SendPushNotification429Response
6673
from activitysmith_openapi.models.stream_content_state import StreamContentState
74+
from activitysmith_openapi.models.widget_metric import WidgetMetric
75+
from activitysmith_openapi.models.widget_metric_latest_value import WidgetMetricLatestValue

activitysmith_openapi/api/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,6 @@
22

33
# import apis into api package
44
from activitysmith_openapi.api.live_activities_api import LiveActivitiesApi
5+
from activitysmith_openapi.api.metrics_api import MetricsApi
56
from activitysmith_openapi.api.push_notifications_api import PushNotificationsApi
67

activitysmith_openapi/api/live_activities_api.py

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ def end_live_activity(
6767
) -> LiveActivityEndResponse:
6868
"""End a Live Activity
6969
70-
Ends a Live Activity and archives its lifecycle. Supports segmented_progress, progress, metrics, and the legacy counter/timer/countdown step-based activity types. For segmented_progress activities, you can send the latest number_of_steps here if the workflow changed after start.
70+
Ends a Live Activity and archives its lifecycle. Supports segmented_progress, progress, and metrics activity types. For segmented_progress activities, you can send the latest number_of_steps here if the workflow changed after start.
7171
7272
:param live_activity_end_request: (required)
7373
:type live_activity_end_request: LiveActivityEndRequest
@@ -136,7 +136,7 @@ def end_live_activity_with_http_info(
136136
) -> ApiResponse[LiveActivityEndResponse]:
137137
"""End a Live Activity
138138
139-
Ends a Live Activity and archives its lifecycle. Supports segmented_progress, progress, metrics, and the legacy counter/timer/countdown step-based activity types. For segmented_progress activities, you can send the latest number_of_steps here if the workflow changed after start.
139+
Ends a Live Activity and archives its lifecycle. Supports segmented_progress, progress, and metrics activity types. For segmented_progress activities, you can send the latest number_of_steps here if the workflow changed after start.
140140
141141
:param live_activity_end_request: (required)
142142
:type live_activity_end_request: LiveActivityEndRequest
@@ -205,7 +205,7 @@ def end_live_activity_without_preload_content(
205205
) -> RESTResponseType:
206206
"""End a Live Activity
207207
208-
Ends a Live Activity and archives its lifecycle. Supports segmented_progress, progress, metrics, and the legacy counter/timer/countdown step-based activity types. For segmented_progress activities, you can send the latest number_of_steps here if the workflow changed after start.
208+
Ends a Live Activity and archives its lifecycle. Supports segmented_progress, progress, and metrics activity types. For segmented_progress activities, you can send the latest number_of_steps here if the workflow changed after start.
209209
210210
:param live_activity_end_request: (required)
211211
:type live_activity_end_request: LiveActivityEndRequest
@@ -940,7 +940,7 @@ def start_live_activity(
940940
) -> LiveActivityStartResponse:
941941
"""Start a Live Activity
942942
943-
Starts a Live Activity on devices matched by API key scope and optional target channels. Supports segmented_progress, progress, metrics, and the legacy counter/timer/countdown step-based activity types. For segmented_progress activities, number_of_steps can be changed later during update or end calls if the workflow changes.
943+
Starts a Live Activity on devices matched by API key scope and optional target channels. Supports segmented_progress, progress, and metrics activity types. For segmented_progress activities, number_of_steps can be changed later during update or end calls if the workflow changes.
944944
945945
:param live_activity_start_request: (required)
946946
:type live_activity_start_request: LiveActivityStartRequest
@@ -979,7 +979,7 @@ def start_live_activity(
979979
'400': "BadRequestError",
980980
'403': "ForbiddenError",
981981
'404': "NoRecipientsError",
982-
'429': "RateLimitError",
982+
'429': "SendPushNotification429Response",
983983
}
984984
response_data = self.api_client.call_api(
985985
*_param,
@@ -1011,7 +1011,7 @@ def start_live_activity_with_http_info(
10111011
) -> ApiResponse[LiveActivityStartResponse]:
10121012
"""Start a Live Activity
10131013
1014-
Starts a Live Activity on devices matched by API key scope and optional target channels. Supports segmented_progress, progress, metrics, and the legacy counter/timer/countdown step-based activity types. For segmented_progress activities, number_of_steps can be changed later during update or end calls if the workflow changes.
1014+
Starts a Live Activity on devices matched by API key scope and optional target channels. Supports segmented_progress, progress, and metrics activity types. For segmented_progress activities, number_of_steps can be changed later during update or end calls if the workflow changes.
10151015
10161016
:param live_activity_start_request: (required)
10171017
:type live_activity_start_request: LiveActivityStartRequest
@@ -1050,7 +1050,7 @@ def start_live_activity_with_http_info(
10501050
'400': "BadRequestError",
10511051
'403': "ForbiddenError",
10521052
'404': "NoRecipientsError",
1053-
'429': "RateLimitError",
1053+
'429': "SendPushNotification429Response",
10541054
}
10551055
response_data = self.api_client.call_api(
10561056
*_param,
@@ -1082,7 +1082,7 @@ def start_live_activity_without_preload_content(
10821082
) -> RESTResponseType:
10831083
"""Start a Live Activity
10841084
1085-
Starts a Live Activity on devices matched by API key scope and optional target channels. Supports segmented_progress, progress, metrics, and the legacy counter/timer/countdown step-based activity types. For segmented_progress activities, number_of_steps can be changed later during update or end calls if the workflow changes.
1085+
Starts a Live Activity on devices matched by API key scope and optional target channels. Supports segmented_progress, progress, and metrics activity types. For segmented_progress activities, number_of_steps can be changed later during update or end calls if the workflow changes.
10861086
10871087
:param live_activity_start_request: (required)
10881088
:type live_activity_start_request: LiveActivityStartRequest
@@ -1121,7 +1121,7 @@ def start_live_activity_without_preload_content(
11211121
'400': "BadRequestError",
11221122
'403': "ForbiddenError",
11231123
'404': "NoRecipientsError",
1124-
'429': "RateLimitError",
1124+
'429': "SendPushNotification429Response",
11251125
}
11261126
response_data = self.api_client.call_api(
11271127
*_param,
@@ -1224,7 +1224,7 @@ def update_live_activity(
12241224
) -> LiveActivityUpdateResponse:
12251225
"""Update a Live Activity
12261226
1227-
Updates an existing Live Activity. If the per-activity token is not registered yet, the update is queued. Supports segmented_progress, progress, metrics, and the legacy counter/timer/countdown step-based activity types. For segmented_progress activities, you can increase or decrease number_of_steps here as the workflow changes.
1227+
Updates an existing Live Activity. If the per-activity token is not registered yet, the update is queued. Supports segmented_progress, progress, and metrics activity types. For segmented_progress activities, you can increase or decrease number_of_steps here as the workflow changes.
12281228
12291229
:param live_activity_update_request: (required)
12301230
:type live_activity_update_request: LiveActivityUpdateRequest
@@ -1293,7 +1293,7 @@ def update_live_activity_with_http_info(
12931293
) -> ApiResponse[LiveActivityUpdateResponse]:
12941294
"""Update a Live Activity
12951295
1296-
Updates an existing Live Activity. If the per-activity token is not registered yet, the update is queued. Supports segmented_progress, progress, metrics, and the legacy counter/timer/countdown step-based activity types. For segmented_progress activities, you can increase or decrease number_of_steps here as the workflow changes.
1296+
Updates an existing Live Activity. If the per-activity token is not registered yet, the update is queued. Supports segmented_progress, progress, and metrics activity types. For segmented_progress activities, you can increase or decrease number_of_steps here as the workflow changes.
12971297
12981298
:param live_activity_update_request: (required)
12991299
:type live_activity_update_request: LiveActivityUpdateRequest
@@ -1362,7 +1362,7 @@ def update_live_activity_without_preload_content(
13621362
) -> RESTResponseType:
13631363
"""Update a Live Activity
13641364
1365-
Updates an existing Live Activity. If the per-activity token is not registered yet, the update is queued. Supports segmented_progress, progress, metrics, and the legacy counter/timer/countdown step-based activity types. For segmented_progress activities, you can increase or decrease number_of_steps here as the workflow changes.
1365+
Updates an existing Live Activity. If the per-activity token is not registered yet, the update is queued. Supports segmented_progress, progress, and metrics activity types. For segmented_progress activities, you can increase or decrease number_of_steps here as the workflow changes.
13661366
13671367
:param live_activity_update_request: (required)
13681368
:type live_activity_update_request: LiveActivityUpdateRequest

0 commit comments

Comments
 (0)