Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 10 additions & 1 deletion activitysmith_openapi/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,11 @@
""" # noqa: E501


__version__ = "1.0.0"
__version__ = "1.1.0"

# import apis into sdk package
from activitysmith_openapi.api.live_activities_api import LiveActivitiesApi
from activitysmith_openapi.api.metrics_api import MetricsApi
from activitysmith_openapi.api.push_notifications_api import PushNotificationsApi

# import ApiClient
Expand Down Expand Up @@ -54,6 +55,12 @@
from activitysmith_openapi.models.live_activity_update_request import LiveActivityUpdateRequest
from activitysmith_openapi.models.live_activity_update_response import LiveActivityUpdateResponse
from activitysmith_openapi.models.live_activity_webhook_method import LiveActivityWebhookMethod
from activitysmith_openapi.models.metric_error import MetricError
from activitysmith_openapi.models.metric_format import MetricFormat
from activitysmith_openapi.models.metric_unit_spacing import MetricUnitSpacing
from activitysmith_openapi.models.metric_value_update_request import MetricValueUpdateRequest
from activitysmith_openapi.models.metric_value_update_request_value import MetricValueUpdateRequestValue
from activitysmith_openapi.models.metric_value_update_response import MetricValueUpdateResponse
from activitysmith_openapi.models.no_recipients_error import NoRecipientsError
from activitysmith_openapi.models.not_found_error import NotFoundError
from activitysmith_openapi.models.push_notification_action import PushNotificationAction
Expand All @@ -64,3 +71,5 @@
from activitysmith_openapi.models.rate_limit_error import RateLimitError
from activitysmith_openapi.models.send_push_notification429_response import SendPushNotification429Response
from activitysmith_openapi.models.stream_content_state import StreamContentState
from activitysmith_openapi.models.widget_metric import WidgetMetric
from activitysmith_openapi.models.widget_metric_latest_value import WidgetMetricLatestValue
1 change: 1 addition & 0 deletions activitysmith_openapi/api/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,6 @@

# import apis into api package
from activitysmith_openapi.api.live_activities_api import LiveActivitiesApi
from activitysmith_openapi.api.metrics_api import MetricsApi
from activitysmith_openapi.api.push_notifications_api import PushNotificationsApi

24 changes: 12 additions & 12 deletions activitysmith_openapi/api/live_activities_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ def end_live_activity(
) -> LiveActivityEndResponse:
"""End a Live Activity

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.
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.

:param live_activity_end_request: (required)
:type live_activity_end_request: LiveActivityEndRequest
Expand Down Expand Up @@ -136,7 +136,7 @@ def end_live_activity_with_http_info(
) -> ApiResponse[LiveActivityEndResponse]:
"""End a Live Activity

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.
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.

:param live_activity_end_request: (required)
:type live_activity_end_request: LiveActivityEndRequest
Expand Down Expand Up @@ -205,7 +205,7 @@ def end_live_activity_without_preload_content(
) -> RESTResponseType:
"""End a Live Activity

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.
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.

:param live_activity_end_request: (required)
:type live_activity_end_request: LiveActivityEndRequest
Expand Down Expand Up @@ -940,7 +940,7 @@ def start_live_activity(
) -> LiveActivityStartResponse:
"""Start a Live Activity

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.
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.

:param live_activity_start_request: (required)
:type live_activity_start_request: LiveActivityStartRequest
Expand Down Expand Up @@ -979,7 +979,7 @@ def start_live_activity(
'400': "BadRequestError",
'403': "ForbiddenError",
'404': "NoRecipientsError",
'429': "RateLimitError",
'429': "SendPushNotification429Response",
}
response_data = self.api_client.call_api(
*_param,
Expand Down Expand Up @@ -1011,7 +1011,7 @@ def start_live_activity_with_http_info(
) -> ApiResponse[LiveActivityStartResponse]:
"""Start a Live Activity

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.
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.

:param live_activity_start_request: (required)
:type live_activity_start_request: LiveActivityStartRequest
Expand Down Expand Up @@ -1050,7 +1050,7 @@ def start_live_activity_with_http_info(
'400': "BadRequestError",
'403': "ForbiddenError",
'404': "NoRecipientsError",
'429': "RateLimitError",
'429': "SendPushNotification429Response",
}
response_data = self.api_client.call_api(
*_param,
Expand Down Expand Up @@ -1082,7 +1082,7 @@ def start_live_activity_without_preload_content(
) -> RESTResponseType:
"""Start a Live Activity

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.
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.

:param live_activity_start_request: (required)
:type live_activity_start_request: LiveActivityStartRequest
Expand Down Expand Up @@ -1121,7 +1121,7 @@ def start_live_activity_without_preload_content(
'400': "BadRequestError",
'403': "ForbiddenError",
'404': "NoRecipientsError",
'429': "RateLimitError",
'429': "SendPushNotification429Response",
}
response_data = self.api_client.call_api(
*_param,
Expand Down Expand Up @@ -1224,7 +1224,7 @@ def update_live_activity(
) -> LiveActivityUpdateResponse:
"""Update a Live Activity

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.
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.

:param live_activity_update_request: (required)
:type live_activity_update_request: LiveActivityUpdateRequest
Expand Down Expand Up @@ -1293,7 +1293,7 @@ def update_live_activity_with_http_info(
) -> ApiResponse[LiveActivityUpdateResponse]:
"""Update a Live Activity

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.
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.

:param live_activity_update_request: (required)
:type live_activity_update_request: LiveActivityUpdateRequest
Expand Down Expand Up @@ -1362,7 +1362,7 @@ def update_live_activity_without_preload_content(
) -> RESTResponseType:
"""Update a Live Activity

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.
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.

:param live_activity_update_request: (required)
:type live_activity_update_request: LiveActivityUpdateRequest
Expand Down
Loading