Skip to content
Closed
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
2 changes: 2 additions & 0 deletions activitysmith_openapi/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,8 @@
from activitysmith_openapi.models.app_icon_badge_count_update_request import AppIconBadgeCountUpdateRequest
from activitysmith_openapi.models.app_icon_badge_count_update_response import AppIconBadgeCountUpdateResponse
from activitysmith_openapi.models.bad_request_error import BadRequestError
from activitysmith_openapi.models.billing_blocked_error import BillingBlockedError
from activitysmith_openapi.models.billing_blocked_error_trial_period import BillingBlockedErrorTrialPeriod
from activitysmith_openapi.models.channel_target import ChannelTarget
from activitysmith_openapi.models.content_state_end import ContentStateEnd
from activitysmith_openapi.models.content_state_start import ContentStateStart
Expand Down
3 changes: 3 additions & 0 deletions activitysmith_openapi/api/app_icon_badges_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,7 @@ def update_app_icon_badge_count(
_response_types_map: Dict[str, Optional[str]] = {
'200': "AppIconBadgeCountUpdateResponse",
'400': "BadRequestError",
'402': "BillingBlockedError",
'403': "ForbiddenError",
'422': "UpdateAppIconBadgeCount422Response",
'429': "RateLimitError",
Expand Down Expand Up @@ -165,6 +166,7 @@ def update_app_icon_badge_count_with_http_info(
_response_types_map: Dict[str, Optional[str]] = {
'200': "AppIconBadgeCountUpdateResponse",
'400': "BadRequestError",
'402': "BillingBlockedError",
'403': "ForbiddenError",
'422': "UpdateAppIconBadgeCount422Response",
'429': "RateLimitError",
Expand Down Expand Up @@ -237,6 +239,7 @@ def update_app_icon_badge_count_without_preload_content(
_response_types_map: Dict[str, Optional[str]] = {
'200': "AppIconBadgeCountUpdateResponse",
'400': "BadRequestError",
'402': "BillingBlockedError",
'403': "ForbiddenError",
'422': "UpdateAppIconBadgeCount422Response",
'429': "RateLimitError",
Expand Down
18 changes: 12 additions & 6 deletions activitysmith_openapi/api/live_activities_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -682,8 +682,9 @@ def reconcile_live_activity_stream(
_response_types_map: Dict[str, Optional[str]] = {
'200': "LiveActivityStreamPutResponse",
'400': "BadRequestError",
'402': "BillingBlockedError",
'403': "ForbiddenError",
'404': "NoRecipientsError",
'422': "NoRecipientsError",
'429': "SendPushNotification429Response",
}
response_data = self.api_client.call_api(
Expand Down Expand Up @@ -757,8 +758,9 @@ def reconcile_live_activity_stream_with_http_info(
_response_types_map: Dict[str, Optional[str]] = {
'200': "LiveActivityStreamPutResponse",
'400': "BadRequestError",
'402': "BillingBlockedError",
'403': "ForbiddenError",
'404': "NoRecipientsError",
'422': "NoRecipientsError",
'429': "SendPushNotification429Response",
}
response_data = self.api_client.call_api(
Expand Down Expand Up @@ -832,8 +834,9 @@ def reconcile_live_activity_stream_without_preload_content(
_response_types_map: Dict[str, Optional[str]] = {
'200': "LiveActivityStreamPutResponse",
'400': "BadRequestError",
'402': "BillingBlockedError",
'403': "ForbiddenError",
'404': "NoRecipientsError",
'422': "NoRecipientsError",
'429': "SendPushNotification429Response",
}
response_data = self.api_client.call_api(
Expand Down Expand Up @@ -977,8 +980,9 @@ def start_live_activity(
_response_types_map: Dict[str, Optional[str]] = {
'200': "LiveActivityStartResponse",
'400': "BadRequestError",
'402': "BillingBlockedError",
'403': "ForbiddenError",
'404': "NoRecipientsError",
'422': "NoRecipientsError",
'429': "SendPushNotification429Response",
}
response_data = self.api_client.call_api(
Expand Down Expand Up @@ -1048,8 +1052,9 @@ def start_live_activity_with_http_info(
_response_types_map: Dict[str, Optional[str]] = {
'200': "LiveActivityStartResponse",
'400': "BadRequestError",
'402': "BillingBlockedError",
'403': "ForbiddenError",
'404': "NoRecipientsError",
'422': "NoRecipientsError",
'429': "SendPushNotification429Response",
}
response_data = self.api_client.call_api(
Expand Down Expand Up @@ -1119,8 +1124,9 @@ def start_live_activity_without_preload_content(
_response_types_map: Dict[str, Optional[str]] = {
'200': "LiveActivityStartResponse",
'400': "BadRequestError",
'402': "BillingBlockedError",
'403': "ForbiddenError",
'404': "NoRecipientsError",
'422': "NoRecipientsError",
'429': "SendPushNotification429Response",
}
response_data = self.api_client.call_api(
Expand Down
9 changes: 6 additions & 3 deletions activitysmith_openapi/api/push_notifications_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -93,8 +93,9 @@ def send_push_notification(
_response_types_map: Dict[str, Optional[str]] = {
'200': "PushNotificationResponse",
'400': "BadRequestError",
'402': "BillingBlockedError",
'403': "ForbiddenError",
'404': "NoRecipientsError",
'422': "NoRecipientsError",
'429': "SendPushNotification429Response",
}
response_data = self.api_client.call_api(
Expand Down Expand Up @@ -164,8 +165,9 @@ def send_push_notification_with_http_info(
_response_types_map: Dict[str, Optional[str]] = {
'200': "PushNotificationResponse",
'400': "BadRequestError",
'402': "BillingBlockedError",
'403': "ForbiddenError",
'404': "NoRecipientsError",
'422': "NoRecipientsError",
'429': "SendPushNotification429Response",
}
response_data = self.api_client.call_api(
Expand Down Expand Up @@ -235,8 +237,9 @@ def send_push_notification_without_preload_content(
_response_types_map: Dict[str, Optional[str]] = {
'200': "PushNotificationResponse",
'400': "BadRequestError",
'402': "BillingBlockedError",
'403': "ForbiddenError",
'404': "NoRecipientsError",
'422': "NoRecipientsError",
'429': "SendPushNotification429Response",
}
response_data = self.api_client.call_api(
Expand Down
1 change: 1 addition & 0 deletions activitysmith_openapi/docs/AppIconBadgesApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@ Name | Type | Description | Notes
|-------------|-------------|------------------|
**200** | App Icon Badge Count updated | * RateLimit - Current request quotas using IETF draft-8 structured fields. Each named policy includes r (remaining requests) and t (seconds until reset). Multiple policies may apply. <br> * RateLimit-Policy - Each named policy includes q (request quota) and w (window in seconds). Each feature has an independent IP limit of 600 requests per 60 seconds. Independent account limits per 60 seconds are: Push Notifications 60, badges 60, Live Activities 300, and metric updates 300. <br> |
**400** | Bad request | * RateLimit - Current request quotas using IETF draft-8 structured fields. Each named policy includes r (remaining requests) and t (seconds until reset). Multiple policies may apply. <br> * RateLimit-Policy - Each named policy includes q (request quota) and w (window in seconds). Each feature has an independent IP limit of 600 requests per 60 seconds. Independent account limits per 60 seconds are: Push Notifications 60, badges 60, Live Activities 300, and metric updates 300. <br> |
**402** | Billing access required | - |
**403** | Forbidden | * RateLimit - Current request quotas using IETF draft-8 structured fields. Each named policy includes r (remaining requests) and t (seconds until reset). Multiple policies may apply. <br> * RateLimit-Policy - Each named policy includes q (request quota) and w (window in seconds). Each feature has an independent IP limit of 600 requests per 60 seconds. Independent account limits per 60 seconds are: Push Notifications 60, badges 60, Live Activities 300, and metric updates 300. <br> |
**422** | No matching devices found, or a targeted device needs to reconnect | * RateLimit - Current request quotas using IETF draft-8 structured fields. Each named policy includes r (remaining requests) and t (seconds until reset). Multiple policies may apply. <br> * RateLimit-Policy - Each named policy includes q (request quota) and w (window in seconds). Each feature has an independent IP limit of 600 requests per 60 seconds. Independent account limits per 60 seconds are: Push Notifications 60, badges 60, Live Activities 300, and metric updates 300. <br> |
**429** | Rate limit exceeded | * RateLimit - Current request quotas using IETF draft-8 structured fields. Each named policy includes r (remaining requests) and t (seconds until reset). Multiple policies may apply. <br> * RateLimit-Policy - Each named policy includes q (request quota) and w (window in seconds). Each feature has an independent IP limit of 600 requests per 60 seconds. Independent account limits per 60 seconds are: Push Notifications 60, badges 60, Live Activities 300, and metric updates 300. <br> * Retry-After - Seconds to wait before retrying after a request-rate 429. Live Activity capacity errors are separate and require freeing device capacity; they do not provide a timed retry guarantee. <br> |
Expand Down
32 changes: 32 additions & 0 deletions activitysmith_openapi/docs/BillingBlockedError.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
# BillingBlockedError


## Properties

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**error** | **str** | |
**message** | **str** | |
**trial_period** | [**BillingBlockedErrorTrialPeriod**](BillingBlockedErrorTrialPeriod.md) | | [optional]
**upgrade_url** | **str** | |

## Example

```python
from activitysmith_openapi.models.billing_blocked_error import BillingBlockedError

# TODO update the JSON string below
json = "{}"
# create an instance of BillingBlockedError from a JSON string
billing_blocked_error_instance = BillingBlockedError.from_json(json)
# print the JSON string representation of the object
print(BillingBlockedError.to_json())

# convert the object into a dict
billing_blocked_error_dict = billing_blocked_error_instance.to_dict()
# create an instance of BillingBlockedError from a dict
billing_blocked_error_from_dict = BillingBlockedError.from_dict(billing_blocked_error_dict)
```
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)


30 changes: 30 additions & 0 deletions activitysmith_openapi/docs/BillingBlockedErrorTrialPeriod.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
# BillingBlockedErrorTrialPeriod


## Properties

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**started_at** | **datetime** | |
**ends_at** | **datetime** | |

## Example

```python
from activitysmith_openapi.models.billing_blocked_error_trial_period import BillingBlockedErrorTrialPeriod

# TODO update the JSON string below
json = "{}"
# create an instance of BillingBlockedErrorTrialPeriod from a JSON string
billing_blocked_error_trial_period_instance = BillingBlockedErrorTrialPeriod.from_json(json)
# print the JSON string representation of the object
print(BillingBlockedErrorTrialPeriod.to_json())

# convert the object into a dict
billing_blocked_error_trial_period_dict = billing_blocked_error_trial_period_instance.to_dict()
# create an instance of BillingBlockedErrorTrialPeriod from a dict
billing_blocked_error_trial_period_from_dict = BillingBlockedErrorTrialPeriod.from_dict(billing_blocked_error_trial_period_dict)
```
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)


6 changes: 4 additions & 2 deletions activitysmith_openapi/docs/LiveActivitiesApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -255,8 +255,9 @@ Name | Type | Description | Notes
|-------------|-------------|------------------|
**200** | Stream reconciled | * RateLimit - Current request quotas using IETF draft-8 structured fields. Each named policy includes r (remaining requests) and t (seconds until reset). Multiple policies may apply. <br> * RateLimit-Policy - Each named policy includes q (request quota) and w (window in seconds). Each feature has an independent IP limit of 600 requests per 60 seconds. Independent account limits per 60 seconds are: Push Notifications 60, badges 60, Live Activities 300, and metric updates 300. <br> |
**400** | Bad request (invalid stream_key, payload, action, or channel targeting input) | * RateLimit - Current request quotas using IETF draft-8 structured fields. Each named policy includes r (remaining requests) and t (seconds until reset). Multiple policies may apply. <br> * RateLimit-Policy - Each named policy includes q (request quota) and w (window in seconds). Each feature has an independent IP limit of 600 requests per 60 seconds. Independent account limits per 60 seconds are: Push Notifications 60, badges 60, Live Activities 300, and metric updates 300. <br> |
**402** | Trial expired, trial allowance exhausted, or paid usage cap reached | - |
**403** | Forbidden (API key scope or channel assignment violation) | * RateLimit - Current request quotas using IETF draft-8 structured fields. Each named policy includes r (remaining requests) and t (seconds until reset). Multiple policies may apply. <br> * RateLimit-Policy - Each named policy includes q (request quota) and w (window in seconds). Each feature has an independent IP limit of 600 requests per 60 seconds. Independent account limits per 60 seconds are: Push Notifications 60, badges 60, Live Activities 300, and metric updates 300. <br> |
**404** | No recipients found for effective channel target | * RateLimit - Current request quotas using IETF draft-8 structured fields. Each named policy includes r (remaining requests) and t (seconds until reset). Multiple policies may apply. <br> * RateLimit-Policy - Each named policy includes q (request quota) and w (window in seconds). Each feature has an independent IP limit of 600 requests per 60 seconds. Independent account limits per 60 seconds are: Push Notifications 60, badges 60, Live Activities 300, and metric updates 300. <br> |
**422** | No recipients found for effective channel target | * RateLimit - Current request quotas using IETF draft-8 structured fields. Each named policy includes r (remaining requests) and t (seconds until reset). Multiple policies may apply. <br> * RateLimit-Policy - Each named policy includes q (request quota) and w (window in seconds). Each feature has an independent IP limit of 600 requests per 60 seconds. Independent account limits per 60 seconds are: Push Notifications 60, badges 60, Live Activities 300, and metric updates 300. <br> |
**429** | Rate limit exceeded | * RateLimit - Current request quotas using IETF draft-8 structured fields. Each named policy includes r (remaining requests) and t (seconds until reset). Multiple policies may apply. <br> * RateLimit-Policy - Each named policy includes q (request quota) and w (window in seconds). Each feature has an independent IP limit of 600 requests per 60 seconds. Independent account limits per 60 seconds are: Push Notifications 60, badges 60, Live Activities 300, and metric updates 300. <br> * Retry-After - Seconds to wait before retrying after a request-rate 429. Live Activity capacity errors are separate and require freeing device capacity; they do not provide a timed retry guarantee. <br> |

[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
Expand Down Expand Up @@ -338,8 +339,9 @@ Name | Type | Description | Notes
|-------------|-------------|------------------|
**200** | Live Activity started | * RateLimit - Current request quotas using IETF draft-8 structured fields. Each named policy includes r (remaining requests) and t (seconds until reset). Multiple policies may apply. <br> * RateLimit-Policy - Each named policy includes q (request quota) and w (window in seconds). Each feature has an independent IP limit of 600 requests per 60 seconds. Independent account limits per 60 seconds are: Push Notifications 60, badges 60, Live Activities 300, and metric updates 300. <br> |
**400** | Bad request (invalid payload or channel targeting input) | * RateLimit - Current request quotas using IETF draft-8 structured fields. Each named policy includes r (remaining requests) and t (seconds until reset). Multiple policies may apply. <br> * RateLimit-Policy - Each named policy includes q (request quota) and w (window in seconds). Each feature has an independent IP limit of 600 requests per 60 seconds. Independent account limits per 60 seconds are: Push Notifications 60, badges 60, Live Activities 300, and metric updates 300. <br> |
**402** | Billing access required | - |
**403** | Forbidden (API key scope or channel assignment violation) | * RateLimit - Current request quotas using IETF draft-8 structured fields. Each named policy includes r (remaining requests) and t (seconds until reset). Multiple policies may apply. <br> * RateLimit-Policy - Each named policy includes q (request quota) and w (window in seconds). Each feature has an independent IP limit of 600 requests per 60 seconds. Independent account limits per 60 seconds are: Push Notifications 60, badges 60, Live Activities 300, and metric updates 300. <br> |
**404** | No recipients found for effective channel target | * RateLimit - Current request quotas using IETF draft-8 structured fields. Each named policy includes r (remaining requests) and t (seconds until reset). Multiple policies may apply. <br> * RateLimit-Policy - Each named policy includes q (request quota) and w (window in seconds). Each feature has an independent IP limit of 600 requests per 60 seconds. Independent account limits per 60 seconds are: Push Notifications 60, badges 60, Live Activities 300, and metric updates 300. <br> |
**422** | No recipients found for effective channel target | * RateLimit - Current request quotas using IETF draft-8 structured fields. Each named policy includes r (remaining requests) and t (seconds until reset). Multiple policies may apply. <br> * RateLimit-Policy - Each named policy includes q (request quota) and w (window in seconds). Each feature has an independent IP limit of 600 requests per 60 seconds. Independent account limits per 60 seconds are: Push Notifications 60, badges 60, Live Activities 300, and metric updates 300. <br> |
**429** | Rate limit exceeded | * RateLimit - Current request quotas using IETF draft-8 structured fields. Each named policy includes r (remaining requests) and t (seconds until reset). Multiple policies may apply. <br> * RateLimit-Policy - Each named policy includes q (request quota) and w (window in seconds). Each feature has an independent IP limit of 600 requests per 60 seconds. Independent account limits per 60 seconds are: Push Notifications 60, badges 60, Live Activities 300, and metric updates 300. <br> * Retry-After - Seconds to wait before retrying after a request-rate 429. Live Activity capacity errors are separate and require freeing device capacity; they do not provide a timed retry guarantee. <br> |

[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
Expand Down
Loading
Loading